[build-system]
requires = ["setuptools>=68.0", "wheel"]
build-backend = "setuptools.build_meta"

[project]
name = "mindos-cli"
version = "0.3.0"
description = "MindOS NEXT 拾音采集端 — 实时流式推送 Cloud ASR（内容枢纽时代）"
readme = "README.md"
requires-python = ">=3.10"
license = {text = "MIT"}
authors = [
    {name = "MindOS Team"},
]

dependencies = [
    # 拾音采集端最小依赖（chat/tunnel 相关依赖已随 2026-08 瘦身移除）
    "websockets>=12.0",
    "click>=8.0",
]

[project.optional-dependencies]
# macOS 系统拾音（Phase 4）
audio = [
    "pyobjc-core>=10.0",
    "pyobjc-framework-Quartz>=10.0",
    "pyobjc-framework-ScreenCaptureKit>=10.0",
    "pyobjc-framework-CoreMedia>=10.0",
    "pyobjc-framework-AVFoundation>=10.0",
    "pyobjc-framework-libdispatch>=10.0",
    "sounddevice>=0.4",
    "numpy>=1.24",
]

[project.scripts]
mind = "mindcli.cli:main"

[tool.setuptools.packages.find]
include = ["mindcli*"]

[tool.setuptools.package-data]
# 确保 _vendor/ 下的非 .py 文件（VENDOR_COMMIT 等）被打包
mindcli = ["_vendor/VENDOR_COMMIT", "_vendor/**/*"]
