-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpyproject.toml
More file actions
97 lines (86 loc) · 3.15 KB
/
Copy pathpyproject.toml
File metadata and controls
97 lines (86 loc) · 3.15 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
[build-system]
requires = ["setuptools>=61.0", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "langstage-cli"
version = "0.6.19"
description = "The terminal stage for your LangGraph agent — Claude Code-style CLI for any CompiledGraph"
readme = "README.md"
requires-python = ">=3.11"
license = "MIT"
authors = [
{name = "Kedar Dabhadkar", email = "kdabhadk@gmail.com"}
]
keywords = ["langgraph", "langchain", "langstage", "cli", "agents", "llm", "ai"]
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14"
]
dependencies = [
"langgraph>=0.2.0",
# Since core 1.0 (ADR 0003) the CLI streams every turn ONLY through the
# in-process AG-UI adapter — there is no built-in parser fallback — so the
# AG-UI runtime (ag-ui-langgraph[fastapi] + uvicorn, via core's [agui] extra)
# is a HARD dep. A bare `pip install langstage-cli` must be able to run a turn.
# >=1.0.6 for the shared preflight primitive core.verify() used by --verify.
# >=1.0.14 for describe(configurable=) — the single complete config diagnostic.
"langstage-core[agui]>=1.0.14",
"click>=8.0.0",
"python-dotenv",
]
[project.optional-dependencies]
dev = [
"pytest>=7.0.0",
"pytest-asyncio>=0.21.0",
"black>=23.0.0",
"ruff==0.15.15",
"mypy>=1.0.0",
# Only the bundled `examples/agent.py` (a dev sample, not shipped in the
# wheel) uses deepagents — the CLI itself never imports it. Keep it here so
# the example/tests run, but don't make every `pip install langstage-cli`
# pull deepagents + langchain + langgraph.
"deepagents>=0.3",
# The experimental --agui path (ADR 0002); pulled into dev so CI exercises
# tests/test_agui_stream.py instead of skipping it.
"ag-ui-langgraph>=0.0.41",
"fastapi",
]
# Redundant since AG-UI moved into base deps (core 1.0); kept as a no-op alias so
# existing `pip install langstage-cli[agui]` scripts/READMEs still resolve.
agui = ["langstage-core[agui]>=1.0.7"]
[project.scripts]
langstage-cli = "langstage_cli.cli:main"
# Deprecated alias command — kept for one transition window.
deepagent-code = "langstage_cli.cli:main"
[project.urls]
Homepage = "https://github.com/dkedar7/langstage-cli"
Repository = "https://github.com/dkedar7/langstage-cli"
Issues = "https://github.com/dkedar7/langstage-cli/issues"
[tool.setuptools.packages.find]
where = ["."]
include = ["langstage_cli*", "deepagent_code*"]
[tool.black]
line-length = 100
target-version = ['py313']
[tool.ruff]
line-length = 100
target-version = "py313"
[tool.ruff.lint.per-file-ignores]
# Example scripts call load_dotenv() before importing modules that read env.
"examples/*" = ["E402"]
[tool.mypy]
python_version = "3.13"
warn_return_any = true
warn_unused_configs = true
disallow_untyped_defs = false
[tool.pytest.ini_options]
testpaths = ["tests"]
python_files = ["test_*.py"]
python_classes = ["Test*"]
python_functions = ["test_*"]
asyncio_mode = "auto"