Commit Graph
9 Commits
Author SHA1 Message Date
vhaudiquet 5e7e2dcfe7 build: take the published rhema 0.5.1
android / release (push) Successful in 2m4s
ci / checks (push) Successful in 3m44s
ci / chart (push) Successful in 6s
android / debug (push) Successful in 2m14s
ci / test (push) Successful in 2m9s
ci / docker (push) Successful in 1m55s
ci / web (push) Successful in 12s
ci / publish-edge-images (deploy/docker/claw.Dockerfile, rhema-claw) (push) Successful in 2m0s
ci / publish-edge-images (deploy/docker/ui.Dockerfile, rhema-claw-ui) (push) Successful in 19s
ci / publish-edge-chart (push) Successful in 4s
0.5.1 reached crates.io, so the workspace drops the temporary
`[patch.crates-io]` onto the v0.5.0 tag and resolves the 28 framework
crates from the registry. The lock pins their checksums now instead of
a git rev. The claw's own version travels with the framework again:
the workspace and the chart become 0.5.1.

The graph resolves slightly older transitive versions than the tag's
workspace did (nom 7 instead of 8, fluent 0.16 instead of 0.17, bech32
0.9 instead of 0.11), because the tag unified versions across crates
the claw never links, and the published crates carry their own
narrower requirements.

No source changes: this is the manifests and the lock. Of what 0.5.1
adds, only `Usage::cost_usd` reaches the claw's graph, and the claw
keeps counting tokens without it.

fmt, clippy with -D warnings over all features and targets, the 488
workspace tests, and the doc build pass.
2026-11-28 20:19:53 +01:00
vhaudiquet 9ac559616c build: move the claw to rhema 0.5.0
The 0.5.0 line renames what the claw imports and deletes what it
wrapped. The autonomous agent is rhema-rsd now, driver and handler
trait included, so every import moves with the name. The MCP bridge is
gone outright: no crate, no socket, no generated bash functions. The
claw's mcp module stops proxying. It names the client's config file and
media directory in the shell env, runs `mcp prompt` once, and renders
that text as the prompt section. A session with no client on PATH
advertises no servers, which is the 0.5 rule.

The config follows. `host_agent.mcp_servers` is gone, `config.mcp` is
the client's rendered section, and the bare `claw mcp` subcommand gives
way to the standalone `mcp` binary. Secrets leave the OS keyring for
the encrypted file store the frontends write. The keyring is copied
into that store once, under the service name the claw used, so a
deployment that predates the file keeps its logins. rusqlite follows
rhema-identity to 0.43, because the framework links libsqlite3-sys 0.40
and two `links = "sqlite3"` packages cannot share a graph.

The image carries the toolbox the sessions' habits assume: ripgrep, fd,
jq, sd, python3, yq (the Go v4, not Debian's), the mcp client, and
lightpanda. Each release binary is pinned by version and by the
checksum of every arch's artifact, and the boot report inventories
them, so a session knows what it has. gob was already there.

0.5.0 is tagged but not on crates.io, since publishing is retried with
0.5.1, so the workspace carries a `[patch.crates-io]` onto the tag and
the lock pins its rev. Deleting the block and running `cargo update` is
the whole follow-up once 0.5.1 lands. The claw's own version travels
with the framework: the workspace and the chart become 0.5.0.

fmt, clippy with -D warnings over all features and targets, the
workspace tests, and the doc build pass.
2026-11-27 18:18:45 +01:00
vhaudiquet 23aea1195d refactor(claw): carry the tool seam the 0.4.2 line removed
android / debug (push) Successful in 2m18s
android / release (push) Successful in 2m10s
ci / checks (push) Successful in 2m25s
ci / test (push) Successful in 1m1s
ci / chart (push) Successful in 6s
ci / docker (push) Successful in 1m56s
ci / web (push) Successful in 12s
ci / publish-edge-images (deploy/docker/claw.Dockerfile, rhema-claw) (push) Successful in 1m52s
ci / publish-edge-images (deploy/docker/ui.Dockerfile, rhema-claw-ui) (push) Successful in 18s
ci / publish-edge-chart (push) Successful in 3s
The 0.4.2 line deletes the resident tool machinery from
rhema-autonomous-agent. The claw was its only consumer, so the
registry, the TOOL.yaml loader, the allowlist, and the resolver chain
now live in `toolkit`, beside the manifests and builtins that feed
them. The shapes do not change; only the owner does.

The compiler marked the rest of the release's edges:

- The resolver seam grew `resolve_streaming`, so the chain returns the
  shell's output as deltas and a filtered registry still answers the
  plain call.
- `ShellExecutor::run` now takes a `RunRequest` and a `ToolProgress`
  sink. The sandbox adapter re-roots the request for the wrapped
  sandbox and relays its `RunOutcome`; `Sandbox::exec` became
  `Sandbox::run`, so the seed probe follows.
- `SandboxError::OutOfMemory` joins the error mapping.
- `rhema_core::paste` left the engine with the display encodings, so
  `paste` here carries the span record, the annotation, and the legacy
  migration. A stash from either line loads unchanged.
- `rhema_bash::exec` no longer re-exports `async_trait`; the tool
  modules import it from the crate.

The dependency pins and both integrations move to 0.4.2 together; the
lock refreshes with them.
2026-11-24 20:02:46 +01:00
vhaudiquet 4887e1c6d3 build: release 0.4.1 and refresh the dependencies
The workspace moves to 0.4.1 and the helm chart's version and
appVersion follow.

cargo update takes every compatible refresh the index offers (24
patch bumps across the tree). Three direct requirements move a
semver line: reqwest 0.12 to 0.13, quick-xml 0.41 to 0.42, base64
0.22 to 0.23.

reqwest 0.13 gates the query builder behind a feature of its own,
so the claw's dev dependency and both integrations carry query
beside json. The 0.12 line stays in the tree: the published rhema
crates still require it, and semver-incompatible dependencies
coexist where links allows.

quick-xml 0.42 makes LocalName hold a &str and xml10_content
infallible, so the CalDAV multistatus parser drops its from_utf8
unwrap and the map_err on a Result that no longer exists.

rusqlite stays on 0.40. The published rhema-identity 0.4.1 still
requires ^0.40, and libsqlite3-sys declares links = sqlite3, which
the resolver allows exactly once per binary: two versions cannot
coexist the way reqwest's do. The requirement moves when the
published family publishes a rusqlite 0.43 build.

Verified with fmt, clippy -D warnings, and the full workspace test
suite with all features (449 tests).
2026-11-22 14:22:12 +01:00
vhaudiquet 473a7765e7 feat(claw): run bash on an ssh login, no daemon on the far end
The framework ships rhema-sandbox-ssh; the claw's sandbox seam now
wires it as a third kind beside local and http. The ssh choice carries
a host (any destination the local ssh config resolves) and a workspace
base, default /root, with one directory per claw workspace under it so
two sessions never share a root. The seed probe makes the root first
and quotes it for the remote bash. The settings screen gains the SSH
host card, and /v1/sandbox carries host and workspace.

The rhema family moves to 0.4.1 in lockstep to pick the crate up.
2026-11-22 02:39:00 +01:00
vhaudiquet 22c502a9eb build: move the claw to rhema 0.4.0
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.
2026-11-19 23:25:16 +01:00
vhaudiquet 1aa8d5578e feat(claw): choose where bash runs, this host or a remote sandbox
The daemon's `bash` always ran on its own host. A deployment that wants
the shell isolated, or on a machine with the project's toolchain, had no
way to say so, and the web settings had no surface for it.

A sandbox choice now persists in the settings table, and the daemon can
be seeded from `sandbox` in claw.yaml. `local` keeps the existing shell;
`http` wraps `rhema-sandbox-http` in a `ShellSandbox` and gives every
handler a `ShellTools` built over it. Chat turns, forge turns, and coding
jobs all read the choice per dispatch, so a switch applies on the next
turn without a restart.

A remote sandbox starts empty. The first command for a workspace probes
`/workspace` and, when it is empty, sends the host workspace as a tarball
through the protocol's seed route. Later edits stay in the sandbox; the
claw does not copy them back.

The web settings gain a System > Sandbox page: the two kinds, the URL and
a write-only token, a forget-token action, and the effective workspace.
`GET /v1/sandbox` never returns the token; `PUT` validates and persists
the choice.

Tests: the sandbox state and config validation, the HTTP route round
trip, and a remote turn that seeds a fresh sandbox and runs its shell
there. fmt, clippy with -D warnings, the workspace tests, and the web
typecheck and build pass.
2026-11-18 21:00:50 +01:00
vhaudiquet 5dc8402107 build: move the claw to rhema 0.3.0
The framework releases 0.3.0, so every rhema dependency moves with it: the workspace version, the daemon's crates, and the two integrations. The only new transitive package is webpki-roots, pulled by the provider crates' TLS stack.

The agent constructors changed shape. CodingAgentConfig::new takes the provider, model, workspace, and approval, and keeps both handles: CodingAgent::new and CodingAgent::from_session take the config alone, and turn no longer takes an approval argument. The claw's forge and job paths build one config each and pass AllowAll there, the policy every turn ran under before.

The vision and mcp tests build their config through the same constructor, so they hand it a MockProvider.

fmt, clippy with -D warnings, the workspace tests, and a locked check pass.
2026-11-18 20:25:22 +01:00
vhaudiquet 5d32588410 build: the claw stands alone
The claw product (the daemon, the feed integrations, the client
tools, and the web and android trees) extracted from the framework
repository, keeping its history. The framework crates the product
pulls are all on crates.io at 0.2.3, so the in-tree path
dependencies became versions and the workspace resolves without the
framework checkout.
2026-11-12 17:43:08 +01:00