ed645d1faf32a3e7c268f8fbc40c33866d1f2daf
11
Commits
| Author | SHA1 | Message | Date | |
|---|---|---|---|---|
|
|
ed645d1faf |
fix(web/claw): keep the stream watchdog quiet on a tab switch
android / debug (push) Successful in 2m29s
android / release (push) Successful in 2m37s
ci / checks (push) Successful in 1m11s
ci / test (push) Successful in 43s
ci / chart (push) Successful in 5s
ci / docker (push) Successful in 1m32s
ci / web (push) Successful in 13s
ci / publish-edge-images (deploy/docker/claw.Dockerfile, rhema-claw) (push) Successful in 1m39s
ci / publish-edge-images (deploy/docker/ui.Dockerfile, rhema-claw-ui) (push) Successful in 14s
ci / publish-edge-chart (push) Successful in 4s
A hidden tab throttles timers and can stall the SSE reader. The 45s silence watchdog kept counting that time, aborted the stream, and pushed "the event stream went quiet" on every tab switch even though the connection was fine. The watchdog now pauses while the page is hidden and re-arms from zero when it becomes visible. The attempt also remembers whether it crossed a hidden period: if the browser held or dropped the connection there, the reconnect stays silent. A keep-alive or frame clears that mark, so a stream that really dies while visible still reports itself. Tested in headless Chromium against the dev mock: 50s hidden, then visible, no notice, and the stream went back to live. |
||
|
|
51456f5b4c |
build: bump the chart base version past the 0.2.3 release
android / debug (push) Successful in 2m37s
android / release (push) Successful in 2m21s
ci / checks (push) Successful in 1m14s
ci / test (push) Successful in 54s
ci / chart (push) Successful in 6s
ci / docker (push) Successful in 1m26s
ci / web (push) Successful in 14s
ci / publish-edge-images (deploy/docker/claw.Dockerfile, rhema-claw) (push) Successful in 1m31s
ci / publish-edge-images (deploy/docker/ui.Dockerfile, rhema-claw-ui) (push) Successful in 10s
ci / publish-edge-chart (push) Successful in 5s
CI publishes every main push as a timestamped pre-release of the chart's base version. The base stayed at 0.1.0 through the 0.3.0 framework move, but the package repository also holds a 0.2.3 chart from the old release line. SemVer ranks 0.2.3 above every 0.1.0 pre-release, so a HelmRelease with `>=0.1.0-0` resolves to 0.2.3 and never sees a newer edge chart. The base is 0.3.0 now, matching the workspace version. Edge charts sort above 0.2.3 again, and the release tag check already expects 0.3.0. |
||
|
|
ea4810a576 |
feat(claw): choose where bash runs, this host or a remote sandbox
android / debug (push) Successful in 2m42s
android / release (push) Successful in 5m2s
ci / checks (push) Successful in 1m22s
ci / test (push) Successful in 1m5s
ci / chart (push) Successful in 7s
ci / docker (push) Successful in 1m42s
ci / web (push) Successful in 13s
ci / publish-edge-images (deploy/docker/claw.Dockerfile, rhema-claw) (push) Successful in 1m34s
ci / publish-edge-images (deploy/docker/ui.Dockerfile, rhema-claw-ui) (push) Successful in 14s
ci / publish-edge-chart (push) Successful in 4s
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. |
||
|
|
68671c76ce |
build: move the claw to rhema 0.3.0
android / debug (push) Successful in 2m51s
android / release (push) Successful in 2m37s
ci / checks (push) Successful in 1m32s
ci / test (push) Successful in 1m0s
ci / chart (push) Successful in 6s
ci / docker (push) Successful in 1m33s
ci / web (push) Successful in 13s
ci / publish-edge-images (deploy/docker/claw.Dockerfile, rhema-claw) (push) Successful in 1m32s
ci / publish-edge-images (deploy/docker/ui.Dockerfile, rhema-claw-ui) (push) Successful in 14s
ci / publish-edge-chart (push) Successful in 4s
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. |
||
|
|
c56f544993 |
feat(web/claw): render the reply, not the tool calls or the thinking
android / debug (push) Successful in 2m17s
android / release (push) Successful in 2m5s
ci / checks (push) Successful in 1m0s
ci / test (push) Successful in 37s
ci / chart (push) Successful in 5s
ci / docker (push) Successful in 1m21s
ci / web (push) Successful in 13s
ci / publish-edge-images (deploy/docker/claw.Dockerfile, rhema-claw) (push) Successful in 1m23s
ci / publish-edge-images (deploy/docker/ui.Dockerfile, rhema-claw-ui) (push) Successful in 13s
ci / publish-edge-chart (push) Successful in 3s
The web transcript was built to mirror the TUI: every tool call as a shell line or a glyph row, the thinking trace between them, each at the position the stream delivered it. That is the right shape for a terminal session you sit and watch. On the web it reads as machinery in front of the answer, and the answer is what the page is for. `TurnEntries` now keeps only the two entries the reader must handle: a consent card (the agent is waiting on an answer, so hiding it would stall the turn) and an attachment card (the file it handed over). Everything else in the turn renders as the reply, through `AppMarkdown`. The mirror in `useTranscript` still folds tool and thinking events; only the render ignores them. Replay, the pending-echo dedupe and consent placement keep working unchanged, and the bottom-pin watch loses the thinking-length term it only needed while that block took height. `TurnToolRow` had no other caller and goes with it. |
||
|
|
268917646e |
docs: add the tools spec, carried from the rhema repository
android / debug (push) Successful in 2m12s
android / release (push) Successful in 2m3s
ci / checks (push) Successful in 59s
ci / test (push) Successful in 40s
ci / chart (push) Successful in 6s
ci / docker (push) Successful in 1m26s
ci / web (push) Successful in 15s
ci / publish-edge-images (deploy/docker/claw.Dockerfile, rhema-claw) (push) Successful in 1m23s
ci / publish-edge-images (deploy/docker/ui.Dockerfile, rhema-claw-ui) (push) Successful in 9s
ci / publish-edge-chart (push) Successful in 4s
The spec describes this tree now: ClawExtension, the tools/ project (contract, common, notify), the daemon's axum router. It stayed behind when the claw cut loose, and a design record belongs beside its subject. |
||
|
|
504330b1b5 |
test(claw): the github mock answers since, as the forge does
android / debug (push) Successful in 2m24s
android / release (push) Successful in 3m5s
ci / checks (push) Successful in 1m6s
ci / test (push) Successful in 42s
ci / chart (push) Successful in 6s
ci / docker (push) Successful in 1m23s
ci / web (push) Successful in 14s
ci / publish-edge-images (deploy/docker/claw.Dockerfile, rhema-claw) (push) Successful in 1m28s
ci / publish-edge-images (deploy/docker/ui.Dockerfile, rhema-claw-ui) (push) Successful in 9s
ci / publish-edge-chart (push) Successful in 3s
android / debug (pull_request) Canceled after 0s
android / release (pull_request) Canceled after 0s
ci / checks (pull_request) Canceled after 0s
ci / test (pull_request) Canceled after 0s
ci / chart (pull_request) Canceled after 0s
ci / docker (pull_request) Canceled after 0s
ci / web (pull_request) Canceled after 0s
ci / publish-edge-images (deploy/docker/claw.Dockerfile, rhema-claw) (pull_request) Canceled after 0s
ci / publish-edge-images (deploy/docker/ui.Dockerfile, rhema-claw-ui) (pull_request) Canceled after 0s
ci / publish-edge-chart (pull_request) Canceled after 0s
The fresh-watch pass now seeds its cursor at *now*, and the issues feed is where GitHub applies `since` server-side. The mock always answered the whole history, so the seeding pass fed an issue the real forge would have filtered out and the new "a fresh watch seeds its cursor" assertion saw one event. The mock now returns the issue row only for the rewound cursor the test sets, and nothing for any other `since`. |
||
|
|
00037993af |
chore: carry dev.sh over — the claw+UI debug loop from the old tree
android / debug (push) Successful in 2m20s
android / release (push) Successful in 2m13s
ci / checks (push) Successful in 1m4s
ci / test (push) Successful in 37s
ci / chart (push) Successful in 5s
ci / docker (push) Successful in 1m22s
ci / web (push) Successful in 13s
ci / publish-edge-images (deploy/docker/claw.Dockerfile, rhema-claw) (push) Successful in 1m29s
ci / publish-edge-images (deploy/docker/ui.Dockerfile, rhema-claw-ui) (push) Successful in 9s
ci / publish-edge-chart (push) Successful in 4s
Unchanged: the paths are root-relative, so the script works as-is in the standalone workspace. |
||
|
|
95e2fcfd57 |
ci: port the rust, chart, docker, web and edge-publish gates from the rhema repository
android / debug (push) Successful in 2m20s
ci / checks (push) Successful in 2m1s
ci / test (push) Successful in 57s
ci / chart (push) Successful in 6s
ci / web (push) Successful in 13s
ci / docker (push) Successful in 1m44s
android / release (push) Successful in 2m7s
ci / publish-edge-images (deploy/docker/claw.Dockerfile, rhema-claw) (push) Successful in 1m25s
ci / publish-edge-images (deploy/docker/ui.Dockerfile, rhema-claw-ui) (push) Successful in 10s
ci / publish-edge-chart (push) Successful in 3s
The android workflow came over with the tree; the rest of the old repo's CI was framework-shaped. What the claw needs is the rust gate (fmt, clippy, release build with the binary artifact, offline tests), the chart lint/render suite, the daemon image smoke test, the web bundle, and the edge + release publishing pair (latest/sha images on main, exact-version images and chart on a v* tag). Dropped on the way: the crates.io publish-order and claw-boundary checks (nothing here publishes to crates.io; the boundary is enforced by the tree layout now), the cloudflare wasm gate, the binary release legs, and the manifest/crates.io release jobs — all framework concerns that stayed in the rhema repository. Release tags are checked against the workspace version by a verify-tag job that the image legs wait on. |
||
|
|
12ba97c8f1 |
build: resolve the image manifests from crates.io
The Dockerfiles copied every framework crate's manifest because the old root workspace path-patched crossterm and carried in-tree resolution. The claw resolves from crates.io now, so the builder copies only the claw's own manifests, and the vendored-crossterm COPY (and its explanation) is gone. |
||
|
|
552a76ba99 |
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. |