Files
clawmates/crates/cm-orchestrator/Cargo.toml
T
Omar SobhandClaude Opus 4.8 60d6493751
ci / gates (push) Has been cancelled
ci / rust (push) Has been cancelled
ci / sandbox-k8s (push) Has been cancelled
ci / frontend (push) Has been cancelled
ci / e2e (push) Has been cancelled
feat(topology): cm-llm-backed ProviderExecutor (Phase 2b)
Add a real TurnExecutor (behind the `provider` feature) that runs each
topology turn as a single tool-free LLM call via any cm-llm provider
(Anthropic / OpenAI-compat / scripted). Topologies now execute real model
calls and produce real metrics (tokens), feeding the comparison harness.

- ProviderExecutor builds a per-role system prompt + threads upstream context
  into the user message; collects TextDelta → output, Usage → tokens.
- Tool-free reasoning turns take no sandbox-leaving actions (gated = []); §15
  remains satisfied. Tool-using turns will route through a cm-runtime adapter.
- Core crate stays dependency-light; cm-llm/futures are optional (feature).
- Tests: pipeline + hierarchical run over the deterministic scripted provider
  (7 tests with --features provider). Clippy clean.

Co-Authored-By: Claude Opus 4.8 <[email protected]>
2026-06-15 20:36:52 -07:00

27 lines
626 B
TOML

[package]
name = "cm-orchestrator"
version = "0.1.0"
edition.workspace = true
rust-version.workspace = true
license.workspace = true
publish.workspace = true
[features]
default = []
# Real LLM-backed turn executor (tool-free reasoning turns) over cm-llm.
provider = ["dep:cm-llm", "dep:futures"]
[dependencies]
cm-topology = { path = "../cm-topology" }
cm-domain = { path = "../cm-domain" }
cm-llm = { path = "../cm-llm", optional = true }
futures = { version = "0.3", optional = true }
serde = { workspace = true }
thiserror = { workspace = true }
[dev-dependencies]
tokio = { workspace = true }
[lints]
workspace = true