A new bin of eureka-state, crates/eureka-state/src/bin/huginn/: the agents' shell door to the mind. Text out, typed exit codes, strict decode of agent-written JSON (unknown key paths refused, never values), the named campaign-state recipes, and a read-back after every committed admission. lib.rs, main.rs and tests/mcp.rs are untouched. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
35 lines
1.3 KiB
TOML
35 lines
1.3 KiB
TOML
[package]
|
|
name = "eureka-state"
|
|
version = "0.1.0"
|
|
edition.workspace = true
|
|
license.workspace = true
|
|
publish.workspace = true
|
|
|
|
# The client core (`lib.rs`): one call over CultNet to a Huginn daemon. It owns
|
|
# the transport and nothing of the mind. The operation envelope, the wire
|
|
# vocabulary and the deferred-body bound are `huginn-mind`'s, so the client and
|
|
# the daemon cannot spell them differently; the content fetch and its
|
|
# verification are `cultnet-rs`'s.
|
|
#
|
|
# The crate is the client core (`lib.rs`) and its consumers: the `huginn` CLI
|
|
# (`src/bin/huginn/`), the shell door every agent uses, and until
|
|
# delete-eureka-state-mcp the MCP server (`main.rs`, the `eureka-state` binary).
|
|
# Both hold no state.
|
|
[dependencies]
|
|
anyhow = "1"
|
|
clap = { version = "4", features = ["derive"] }
|
|
cultnet-rs.workspace = true
|
|
huginn-mind = { path = "../huginn-mind" }
|
|
rmcp = { version = "2.2.0", default-features = false, features = ["server", "macros", "transport-io"] }
|
|
rmp-serde = "1"
|
|
schemars = "1"
|
|
serde = { version = "1", features = ["derive"] }
|
|
serde_json = "1"
|
|
tokio = { version = "1", features = ["rt", "macros", "io-std"] }
|
|
|
|
# Tests run a real daemon in-process against a temporary mind, and the real
|
|
# binary against it.
|
|
[dev-dependencies]
|
|
chrono = "0.4.44"
|
|
huginn-daemon = { path = "../huginn-daemon" }
|
|
tempfile = "3"
|