Files
marqdo-cli/crates/cli/Cargo.toml
T
cflmy 9bceac910b feat(tool): negotiate protocols and verify the whole tool bundle (B-09 B-10)
- replace the hand-rolled version matcher with semver; require valid tool
  versions and marqdo ranges
- declare SupportedProtocols (tool 1, analysis 2, trace 2) and negotiate tool
  Analysis/Trace declarations at install and dispatch; disjoint/empty sets fail
  closed with tool.protocol_incompatible
- record a v2 whole-bundle manifest (path/size/sha256 + deterministic bundle
  digest), copy exactly that bundle into staging, re-verify it, and recompute it
  before every dispatch
- reject auxiliary-file, extra-file, missing-file and entrypoint tampering,
  record/command mismatches, traversal and a source root record.json
- remove tools by detaching with rename before deletion
- expose negotiated protocol environment variables to declared tools
- update tool-v1 and STATUS; add negotiation/bundle tests
2026-11-20 13:02:55 +08:00

36 lines
1008 B
TOML

[package]
name = "marqdo-cli"
description = "Marqdo command line interface (composition root)"
version.workspace = true
edition.workspace = true
rust-version.workspace = true
license.workspace = true
repository.workspace = true
authors.workspace = true
[dependencies]
marqdo-span = { workspace = true }
marqdo-value = { workspace = true }
marqdo-expression = { workspace = true }
marqdo-markdown = { workspace = true }
marqdo-ir = { workspace = true }
marqdo-frontend = { workspace = true }
marqdo-math = { workspace = true }
marqdo-foreign = { workspace = true }
marqdo-plugin-abi = { workspace = true }
marqdo-host = { workspace = true }
marqdo-runtime = { workspace = true }
marqdo-package = { workspace = true }
marqdo-sandbox = { workspace = true }
clap = { workspace = true }
serde = { workspace = true }
serde_json = { workspace = true }
walkdir = { workspace = true }
hex = { workspace = true }
sha2 = { workspace = true }
semver = { workspace = true }
[[bin]]
name = "marqdo"
path = "src/main.rs"