Skip to content

[codex] capture local CLI seats in gateway#65

Merged
LightDriverCS merged 5 commits into
mainfrom
codex/local-seat-capture-bridge
Jun 11, 2026
Merged

[codex] capture local CLI seats in gateway#65
LightDriverCS merged 5 commits into
mainfrom
codex/local-seat-capture-bridge

Conversation

@LightDriverCS

Copy link
Copy Markdown

Summary

  • Adds local-seat.capture as a core gateway write method for BenchAGI desktop/local CLI seats.
  • Persists local Claude/Codex seat captures under the OpenClaw state dir and queues bounded untrusted context to the selected agent main session.
  • Adds stale Vite dynamic asset recovery for Control UI chunk URLs like /assets/nodes-*.js.
  • Regenerates shared Swift gateway protocol models for the new local-seat schemas.

Why

BenchAGI launcher local Claude Code and Codex CLI modes need a durable bridge back into the selected OpenClaw agent harness, so local desktop sessions can keep agent identity and memory capture without pretending to be Flyway sessions themselves.

Validation

  • node scripts/run-vitest.mjs run --config test/vitest/vitest.gateway.config.ts src/gateway/server-methods/local-seat.test.ts passed.
  • pnpm --dir ui test asset-reload.test.ts passed.
  • pnpm protocol:gen passed.
  • pnpm protocol:gen:swift passed.
  • pnpm --filter @openclaw/gateway-protocol build passed.
  • git diff --check passed.

Notes / Risk

  • Root NODE_OPTIONS=--max-old-space-size=8192 pnpm exec tsc --noEmit --pretty false was attempted on this clean worktree and hit a V8 heap OOM. Targeted protocol build and focused gateway/UI tests passed.
  • No merge, package release, or production rollout claim is made by this PR.

@LightDriverCS
LightDriverCS marked this pull request as ready for review June 11, 2026 05:23
@LightDriverCS
LightDriverCS merged commit 6f0b58b into main Jun 11, 2026
153 checks passed
@LightDriverCS
LightDriverCS deleted the codex/local-seat-capture-bridge branch June 11, 2026 06:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants