Skip to content

feat: add codex support and optimize runtime transport#10

Open
pallyoung wants to merge 70 commits intomainfrom
develop
Open

feat: add codex support and optimize runtime transport#10
pallyoung wants to merge 70 commits intomainfrom
develop

Conversation

@pallyoung
Copy link
Copy Markdown
Contributor

Summary

  • add Codex agent support aligned with the existing Claude session/runtime flow
  • unify agent config to the current runtime environment instead of splitting native vs WSL settings
  • introduce an agent-client abstraction layer so Claude and Codex share the same upper-layer session/UI logic
  • optimize websocket/runtime reload hot paths to reduce duplicate attach work, request fanout, and frontend churn
  • collapse backend DB critical sections on runtime attach/controller guard/disconnect paths
  • reduce runtime snapshot session scans during attach assembly

Validation

  • node --test tests/runtime-attach.test.ts tests/workspace-artifact-refresh.test.ts
  • node --test tests/workspace-runtime-controller.test.ts tests/workspace-view-persistence.test.ts
  • pnpm build:web
  • cargo test --manifest-path apps/server/Cargo.toml
  • CODER_STUDIO_DEV_BACKEND_PORT=43123 CODER_STUDIO_DEV_FRONTEND_PORT=5378 pnpm test:e2e --grep "reload keeps automatic workspace runtime attaches bounded|reload defers session history loading until the drawer is opened|reload replays agent lifecycle history into running and idle browser state|interrupted sessions show an explicit resume entry and reuse the saved claude session id"
  • CODER_STUDIO_DEV_BACKEND_PORT=43123 CODER_STUDIO_DEV_FRONTEND_PORT=5378 pnpm test:e2e --grep "reload keeps automatic workspace runtime attaches bounded|observer follows controller and takeover succeeds after timeout|same-device new client takes over immediately after controller disconnects"
  • CODER_STUDIO_DEV_BACKEND_PORT=43123 CODER_STUDIO_DEV_FRONTEND_PORT=5378 pnpm test:e2e --grep "reload keeps automatic workspace runtime attaches bounded|interrupted sessions show an explicit resume entry and reuse the saved claude session id"

pallyoung added 30 commits April 4, 2026 16:35
Persist nullable slot bindings, surface unavailable history entries, and align the history UI so stale provider sessions can be removed without misleading restore actions.
Replace browser-native supervisor prompts with an in-app dialog, refine the supervisor controls UI, and show generated context preview in the objective editor.
Introduce server-side supervisor/session runtime support and update the test/runtime tooling to use isolated provider homes and safer restore flows.
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.

1 participant