-
Notifications
You must be signed in to change notification settings - Fork 56
Expand file tree
/
Copy pathpyproject.toml
More file actions
147 lines (137 loc) · 5.21 KB
/
Copy pathpyproject.toml
File metadata and controls
147 lines (137 loc) · 5.21 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
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
[project]
name = "conductor-cli"
version = "0.1.36"
description = "A CLI tool for defining and running multi-agent workflows with the GitHub Copilot SDK"
readme = "README.md"
requires-python = ">=3.12"
license = "MIT"
authors = [
{ name = "Conductor Team" }
]
keywords = [
"cli",
"copilot",
"multi-agent",
"workflow",
"orchestration",
"ai",
"llm",
]
classifiers = [
"Development Status :: 4 - Beta",
"Environment :: Console",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"Typing :: Typed",
]
dependencies = [
"typer>=0.12.0",
"rich>=13.0.0",
"pydantic>=2.0.0",
"ruamel.yaml>=0.18.0",
"jinja2>=3.1.0",
"simpleeval>=1.0.0",
"github-copilot-sdk>=1.0.9",
"anthropic>=0.77.0,<1.0.0",
"pydantic-ai-slim[anthropic,openai]>=2.28.0,<3",
# Upper-bounded below 0.25: the compaction wrapper relies on harness
# internals that are private contract, not public API — `TieredCompaction.
# _escalate` calls each tier's compact directly without catching
# exceptions, the `max_messages=1` placeholder is used for outer-gated
# tiers, and `estimate_context_tokens` anchoring semantics are load-bearing.
"pydantic-ai-harness>=0.22.0,<0.25",
# Direct dependency: imported at runtime by
# `providers/_pydantic_ai/compaction_window.py` but previously arrived only
# transitively via pydantic-ai-harness.
"genai-prices>=0.1.4",
"openai>=2.48.0,<3.0.0",
# Upper-bounded below 2.0.0: 2.0.0 renamed the camelCase attributes
# (e.g. `Tool.inputSchema` -> `input_schema`) that the existing MCP
# client (`mcp/manager.py:207`) reads, which would raise AttributeError
# on every server connection with no ImportError to catch it.
"mcp>=1.28.1,<2",
"fastapi>=0.115.0",
"uvicorn>=0.30.0",
"websockets>=12.0",
"httpx>=0.27.0",
"packaging>=21.0",
# Timeout-bounded regex matching for output field constraints and provider
# response normalization. Ships typed stubs and supports per-match deadlines.
"regex>=2024.11.6",
]
[project.optional-dependencies]
claude-agent-sdk = [
# `strict_mcp_config` (which the provider always sets, so ambient MCP
# config cannot attach undeclared servers) has existed since 0.1.74, but
# the 0.2.x line is what Conductor tests against.
"claude-agent-sdk>=0.2.82",
]
aca = [
"azure-identity>=1.19.0",
# azure.identity.aio.DefaultAzureCredential builds an async pipeline
# that requires an async HTTP transport; azure-core only vendors one
# via its own "aio" extra (aiohttp). Without it, constructing the
# async credential raises ImportError at runtime (see aca.py).
"azure-core[aio]>=1.29.0",
]
tui = [
# Floor is 8.x, not a looser bound: `BlockFooter` (fleet/tui/widgets.py)
# is written against 8.x `Footer` group rendering, and the
# `App.run_test()` / `Pilot` behavior every TUI pilot test depends on
# changed before it.
"textual>=8.0",
]
[project.urls]
Homepage = "https://github.com/microsoft/conductor"
Documentation = "https://github.com/microsoft/conductor#readme"
Repository = "https://github.com/microsoft/conductor"
Issues = "https://github.com/microsoft/conductor/issues"
Changelog = "https://github.com/microsoft/conductor/releases"
[project.scripts]
conductor = "conductor.cli.app:app"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["src/conductor"]
exclude = [
"src/conductor/web/frontend",
]
[tool.hatch.build.targets.wheel.force-include]
"plugins/conductor/skills/conductor" = "plugins/conductor/skills/conductor"
# The plugin manifest, not just the skill body: the claude-agent-sdk provider
# loads skills by registering `plugins/conductor` as a Claude Code plugin
# (`--plugin-dir`), which requires `.claude-plugin/plugin.json` to be present.
# Without it no plugin root resolves, so the skill works from a source checkout
# and every skills-enabled agent fails with a ProviderError on a wheel install.
"plugins/conductor/.claude-plugin" = "plugins/conductor/.claude-plugin"
[dependency-groups]
dev = [
"pytest>=9.0.3",
"pytest-asyncio>=0.24.0",
"pytest-cov>=5.0.0",
"ruff>=0.8.0",
"ty>=0.0.1a0",
# So Fleet Manager TUI pilot tests (App.run_test()) run in CI/dev without
# requiring an end user to install the `tui` extra just to run the suite.
"textual>=8.0",
]
[tool.ruff]
line-length = 100
target-version = "py312"
[tool.ruff.lint]
select = ["E", "W", "F", "I", "B", "C4", "UP", "SIM"]
[tool.pytest.ini_options]
asyncio_mode = "auto"
testpaths = ["tests"]
markers = [
"performance: marks tests as performance tests (deselect with '-m \"not performance\"')",
"real_api: marks tests that make real API calls to external services (deselect with '-m \"not real_api\"')",
"install_scripts: marks tests that exercise install.ps1/install.sh end-to-end (slow; opt-in via '-m install_scripts')",
]