MindOS_CLI/pyproject.toml
lidf 64e2480da6 feat: v0.2.1 — bridge 版本号日志 + VENDOR_COMMIT 打包修复 + vendor 字段解析
- mindcli_bridge.py 能力报告日志增加 cli_version/vendor/platform 字段
  服务器端可观测连接的 CLI 版本号
- pyproject.toml 增加 package-data 声明,VENDOR_COMMIT 打包进 pipx
- health.py _get_vendor_commit 只返回 commit hash 而非整个文件
- 版本号 0.2.0 → 0.2.1
2026-07-01 15:36:07 +08:00

57 lines
1.3 KiB
TOML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

[build-system]
requires = ["setuptools>=68.0", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "mindos-cli"
version = "0.2.1"
description = "MindOS NEXT 本地执行体 — Cloud Hermes 的受管理执行节点"
readme = "README.md"
requires-python = ">=3.10"
license = {text = "MIT"}
authors = [
{name = "MindOS Team"},
]
dependencies = [
# Hermes 核心依赖
"litellm>=1.30",
"openai>=1.0",
"rich>=13.0",
"prompt-toolkit>=3.0",
"tiktoken>=0.5",
"fire>=0.5",
"pyyaml>=6.0",
"aiohttp>=3.9",
# MCP 协议
"mcp>=1.0",
# Mind CLI 专属
"websockets>=12.0",
"click>=8.0",
# Hermes _vendor 隐性依赖
"python-dotenv>=1.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/**/*"]