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.
This commit is contained in:
vhaudiquet committed 2026-11-22 02:39:00 +01:00
1 parent f779415b2b
commit cdeb5c3994
13 files changed
+548 -139

No files matched your search

+5 -1
View File
@@ -523,7 +523,11 @@ async function saveSandbox(choice: SandboxSelection): Promise<void> {
try {
sandboxState.value = await claw.setSandbox(choice)
pushNotice(
choice.kind === 'http' ? 'sandbox: remote host' : 'sandbox: this machine',
choice.kind === 'http'
? 'sandbox: remote host'
: choice.kind === 'ssh'
? 'sandbox: ssh host'
: 'sandbox: this machine',
)
apiError.value = null
} catch (err) {