forked from vhaudiquet/rhema-claw
The framework 0.4.0 split the toolkit: rhema-agent-tools becomes rhema-bash plus rhema-prompt, and the facade crate is deleted from the workspace this time, so the 0.3 facades never publish. The driver changes name with its types: rhema-coding-agent and its CodingAgent, CodingAgentConfig, and CodingAgentError become rhema-host-agent with HostAgent, HostAgentConfig, and HostAgentError. The claw imports the split crates directly, which drops its own vision once-lock: rhema-bash's wire already caches the process-wide answer. The paste expansion moved off the provider seam. Chips travel as the message's spans note now, and ExpandPastes is deleted: the dispatch input migrates its embedded form into plain text plus the note at run_turn, and a restashed session migrates the same way on restore, one rewrite on the way in exactly as the driver's from_session does. The transcript events keep the raw chip form, the record the web UI owns, and a migration test pins the restore path. max_turn_steps is NonZeroU32, the engine's own budget shape: a config naming zero is refused at load instead of cutting every round dead. The engine's Event and the sandbox error enum are non-exhaustive now, so the hub sink and the protocol error map carry wildcard arms that drop and fail in-band the way their neighbors do. The claw's own version travels with the framework, as the 0.3.0 move carried 0.2.3 to 0.3.0: the workspace and the chart base become 0.4.0, so the edge channel's pre-releases order above the 0.3.x line. fmt, clippy with -D warnings over all features and targets, the workspace tests, and the doc build pass.
35 lines
1000 B
TOML
35 lines
1000 B
TOML
[workspace]
|
|
resolver = "2"
|
|
members = ["crates/*", "integrations/*"]
|
|
|
|
[workspace.package]
|
|
version = "0.4.0"
|
|
edition = "2024"
|
|
rust-version = "1.89"
|
|
license = "MIT"
|
|
repository = "https://git.vhaudiquet.fr/vhaudiquet/rhema-claw"
|
|
authors = ["Valentin Haudiquet"]
|
|
|
|
[workspace.lints.rust]
|
|
missing_docs = "deny"
|
|
|
|
[workspace.dependencies]
|
|
# Serialization: session and message types must round-trip for checkpointing
|
|
serde = { version = "1.0", features = ["derive"] }
|
|
serde_json = "1.0"
|
|
# Typed library errors
|
|
thiserror = "2"
|
|
# Async traits must stay object-safe (dyn ModelProvider, dyn ToolResolver)
|
|
async-trait = "0.1"
|
|
# Config file format (flat scalar fields; see the rhema-config crate)
|
|
serde_yaml = "0.9"
|
|
# Test runtime
|
|
tokio = { version = "1", features = ["macros", "rt"] }
|
|
# The claw's HTTP surface: native routes plus SSE, and the OpenAI shim
|
|
axum = { version = "0.8", features = ["json"] }
|
|
tokio-stream = { version = "0.1", features = ["sync"] }
|
|
|
|
[profile.release]
|
|
strip = "symbols"
|
|
codegen-units = 1
|