-
Notifications
You must be signed in to change notification settings - Fork 14
Expand file tree
/
Copy pathpyproject.toml
More file actions
105 lines (97 loc) · 2.59 KB
/
Copy pathpyproject.toml
File metadata and controls
105 lines (97 loc) · 2.59 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
[project]
name = "ghoshell-moss"
version = "0.1.0-beta1"
description = "LLM-oriented operating system with streaming interpreting shell, and Intelligent Ghost inside it"
authors = [{ name = "thirdgerb" }, { name = "17wang" }]
license = { text = "Apache License 2.0" }
readme = "README.md"
requires-python = ">=3.10"
dependencies = [
"anyio>=4.12.1",
"numpy>=2.0.0",
"ghoshell-common>=0.5.0",
"ghoshell-container>=0.3.1",
"janus>=2.0.0",
"jsonargparse>=4.48.0",
"orjson>=3.11.8",
"pillow>=12.1.0",
"python-dateutil>=2.9.0.post0",
"python-ulid>=3.1.0",
"regex>=2024.0.0",
"python-frontmatter>=1.1.0",
"psutil>=7.2.1",
]
[project.optional-dependencies]
# Core layers — each includes all deps of the layer below
cli = [
"typer>=0.24.1",
"rich", # was implicit via typer
"python-dotenv>=1.0.0", # was in [matrix], needed by Project.bootstrap()
]
matrix = [
"typer>=0.24.1",
"rich",
"python-dotenv>=1.0.0",
"eclipse-zenoh>=1.8.0", # matrix 唯一新增
]
host = [
"typer>=0.24.1",
"rich",
"python-dotenv>=1.0.0",
"eclipse-zenoh>=1.8.0",
"prompt-toolkit>=3.0.52",
"pexpect>=4.9.0",
"miniaudio>=0.67",
"uvloop>=0.22.1",
"websockets>=15.0.1",
"httpx>=0.28.0",
"fastmcp>=3.1.1",
"loadenv>=0.1.1",
]
ghost = [
"pydantic-ai>=1.90.0",
"anthropic>=0.84.0",
]
# Bridges — optional transport backends
zmq = ["zmq>=0.0.0", "aiozmq>=1.0.0"]
redis = ["fakeredis>=2.32.1", "redis>=7.0.1"]
[project.scripts]
moss = "ghoshell_moss.cli:main_entry"
moss-shell = 'ghoshell_moss.cli.moss_debug_repl:moss_debug_repl_main'
moss-ghost = 'ghoshell_moss.cli.ghost_run:ghost_run_main'
moss-mcp = 'ghoshell_moss.cli.moss_as_mcp:main'
[tool.setuptools.packages.find]
where = ["src"]
exclude = ["test_*", ".discuss*", ".design", ".memory"]
[tool.setuptools.package-data]
# 简化匹配逻辑,专注于非代码资源. by gemini 3
"ghoshell_moss.core.codex" = ["_features_templates/*.md"]
"ghoshell_moss.cli.docs" = ["**/*.md"]
"ghoshell_moss.stubs" = [
"**/*.md",
"**/.env.example",
"**/.gitignore",
"**/*.ini",
"**/*.yaml",
"**/*.toml", # 建议加上,万一以后有子配置
"**/*.json",
"**/*.jsonl",
]
[tool.pdm.build]
includes = []
[build-system]
requires = ["pdm-backend"]
build-backend = "pdm.backend"
[dependency-groups]
dev = [
"ruff>=0.15.0",
"pytest>=8.3.5",
"pytest-asyncio>=1.1.0",
"anyio>=4.10.0",
"mcp>=1.21.0",
"fastapi>=0.121.1",
"uvicorn>=0.37.0",
"mdformat>=1.0.0",
"mdformat-gfm>=1.0.0",
"pre-commit>=4.6.0",
]