Files
marqdo-cli/Cargo.toml
T
cflmy d713aa068a
ci/woodpecker/pr/main Pipeline is pending
ci/woodpecker/push/main Pipeline was canceled
refactor: extract neutral host contract and decouple plugin ABI (issue #13)
Implements the core M0-M3 boundary work from issue #13 / ADR-0071 without
changing language semantics or any public protocol:

- add marqdo-host-contract owning Host/HostOp/ExecutionContext/ResourceRead
  and the runtime observation facts; the engine depends on it only.
- marqdo-runtime no longer links marqdo-host; the native host implements the
  contract and has no reverse edge to runtime/frontend/IR.
- reduce marqdo-plugin-abi to the public C ABI/wire/error contract; move
  manifest/artifact/loader/worker execution into marqdo-host::plugin so the
  SDK carries no loader/worker/host dependency.
- add a real independent consumer (tests/embedding, own workspace+lock) that
  runs Markdown -> frontend -> IR -> runtime with bounded budgets and explicit
  effect refusal, plus differential CLI comparison.
- add an SDK-only third-party plugin fixture and real CLI invocation gate.
- replace the frozen-crate architecture test with a reviewed responsibility
  graph enforced from Cargo metadata, with negative unit cases.
- consolidate current docs/entry: ADR-0071, CURRENT responsibility map,
  developers/architecture indexes, historical banners, STATUS and evidence.
- record keep-in-workspace for Engine/Native Host; no empty candidate repo.

Evidence: docs/evidence/2026-11-26-issue-13-engine-host-boundary.md
Refs #13
2026-11-26 18:35:31 +08:00

72 lines
2.2 KiB
TOML

[workspace]
resolver = "2"
members = [
"crates/marqdo-span",
"crates/marqdo-value",
"crates/marqdo-expression",
"crates/marqdo-markdown",
"crates/marqdo-ir",
"crates/marqdo-frontend",
"crates/marqdo-foreign",
"crates/marqdo-plugin-abi",
"crates/marqdo-provider-worker",
"crates/marqdo-worker-ipc",
"crates/marqdo-plugin-sdk",
"crates/marqdo-host",
"crates/marqdo-host-contract",
"crates/marqdo-runtime",
"crates/marqdo-package",
"crates/marqdo-sandbox",
"crates/cli",
]
[workspace.package]
version = "3.0.0-rc.4"
edition = "2021"
rust-version = "1.89"
license = "Apache-2.0"
repository = "https://github.com/cflmy/marqdo-cli"
authors = ["Marqdo contributors"]
[workspace.dependencies]
marqdo-span = { path = "crates/marqdo-span" }
marqdo-value = { path = "crates/marqdo-value" }
marqdo-expression = { path = "crates/marqdo-expression" }
marqdo-markdown = { path = "crates/marqdo-markdown" }
marqdo-ir = { path = "crates/marqdo-ir" }
marqdo-frontend = { path = "crates/marqdo-frontend" }
marqdo-foreign = { path = "crates/marqdo-foreign" }
marqdo-plugin-abi = { path = "crates/marqdo-plugin-abi" }
marqdo-worker-ipc = { path = "crates/marqdo-worker-ipc" }
marqdo-host = { path = "crates/marqdo-host" }
marqdo-host-contract = { path = "crates/marqdo-host-contract" }
marqdo-runtime = { path = "crates/marqdo-runtime" }
marqdo-package = { path = "crates/marqdo-package" }
marqdo-sandbox = { path = "crates/marqdo-sandbox" }
comrak = { version = "=1.0.0", default-features = false }
serde = { version = "1", features = ["derive"] }
serde_json = { version = "1", features = ["float_roundtrip"] }
serde_yaml = "0.9"
num-bigint = { version = "0.4", features = ["serde"] }
num-rational = { version = "0.4", features = ["serde"] }
num-traits = "0.2"
sha2 = "0.10"
semver = "1"
hex = "0.4"
libloading = "0.8"
tempfile = "3"
flate2 = "1"
getrandom = "0.4"
rustls = { version = "0.23", default-features = false, features = ["ring", "std", "tls12"] }
rustls-native-certs = "0.8"
rustls-pemfile = "2"
rcgen = "0.13"
regex = "1"
thiserror = "2"
clap = { version = "4", features = ["derive"] }
walkdir = "2"
glob = "0.3"
libc = "0.2"
unicode-normalization = "0.1"
unicode-ident = "1"