d2254d1e8c
## 概要 - 抽取通用 `agent-runtime-orchestration` crate,承接多 Agent DAG 的构图校验、ready/wave、下游闭包和全量/返工选择。 - 保留 `platform-agent` 的游戏领域任务与语义路由,避免把 Runtime、Provider、ToolHost 和持久化职责下沉到公共编排层。 - 增加 `GraphProposal` / `TaskProposal` / `GraphEdge` / `GraphLimits`,允许宿主在执行中安全应用 LLM 提出的新增节点和边。 - 扩图采用候选图原子校验:未知 Agent/端点、重复边、自依赖、环及节点/边/深度/扇出预算都会拒绝,失败时原图保持不变;新增节点默认为 `Pending`。 ## 验证 - `npm run agent-runtime-orchestration:check`(15 项通过) - `cargo test --manifest-path server-rs/crates/platform-agent/Cargo.toml`(19 项通过) - `npm run agc:skill-pack:check` - `npm run check:encoding` - `git diff --check` 前端 typecheck 本轮未执行:当前工作树未安装 `node_modules/tsc`,命令会报 `tsc is not recognized`。 Reviewed-on: http://192.168.35.82/git/GenarrativeAI/Genarrative/pulls/207
23 lines
731 B
TOML
23 lines
731 B
TOML
[package]
|
|
name = "platform-agent"
|
|
edition = "2024"
|
|
version = "0.1.0"
|
|
license = "UNLICENSED"
|
|
|
|
[features]
|
|
default = []
|
|
legacy-creative-agent = ["dep:async-trait", "dep:langchainrust", "dep:tokio"]
|
|
|
|
[dependencies]
|
|
agent-runtime-core = { path = "../agent-runtime-core" }
|
|
agent-runtime-orchestration = { path = "../agent-runtime-orchestration" }
|
|
async-trait = { version = "0.1", optional = true }
|
|
langchainrust = { version = "0.2.20", optional = true }
|
|
platform-llm = { path = "../platform-llm", default-features = false }
|
|
serde = { version = "1", features = ["derive"] }
|
|
serde_json = "1"
|
|
tokio = { version = "1", features = ["time"], optional = true }
|
|
|
|
[dev-dependencies]
|
|
tokio = { version = "1", features = ["macros", "rt", "time"] }
|