Home

mweinbach / agent-coworker

publicmweinbach/agent-coworker
Overview Code History Branches Pull requestsIssuesInsights
main
HomeOverview Code PRsIssues

Add composer reasoning-effort toggle and wiring

3 months ago

187c664
Authored
Max Weinbach6/27/2026, 3:36:32 AM
Add a ComposerReasoningToggle UI and persist optimistic composerReasoningEffort on thread runtime. Wire setThreadReasoningEffort action to update runtime state and send session config to the server for OpenAI/codex-cli. Extend workspace-default apply flow to include reasoningEffort, add reasoning metadata to provider/connection catalogs and JSON-RPC schemas, and surface provider-model reasoning defaults. Update Codex app-server developer instructions and dynamic tool descriptions. Include new/updated tests for the toggle, model selection, and JSON-RPC behavior.

Parent34477f1

26 files changed
  • apps/desktop/src/app/store.actions/thread.ts+52−0
  • apps/desktop/src/app/store.actions/workspaceDefaults.ts+11−2
  • apps/desktop/src/app/store.helpers.ts+9−1
  • apps/desktop/src/app/store.helpers/runtimeState.ts+3−0
  • apps/desktop/src/app/store.helpers/threadEventReducer/handlers/lifecycleHandlers.ts+8−2
  • apps/desktop/src/app/types.ts+6−1
  • apps/desktop/src/lib/modelChoices.ts+20−0
  • apps/desktop/src/ui/ChatView.tsx+43
−4
  • apps/desktop/src/ui/chat/ChatComposer.tsx+13−0
  • apps/desktop/src/ui/chat/ComposerReasoningToggle.tsx+39−0
  • apps/desktop/src/ui/chat/NewChatLanding.tsx+56−11
  • apps/desktop/test/chat-view.stability.test.tsx+53−1
  • apps/desktop/test/composer-reasoning-toggle.test.tsx+54−0
  • apps/desktop/test/jsonrpc-single-connection.test.ts+54−3
  • apps/desktop/test/modelChoices.test.ts+45−0
  • docs/generated/websocket-jsonrpc.d.ts+1−1
  • docs/generated/websocket-jsonrpc.schema.json+1−1
  • src/providers/catalog.ts+18−1
  • src/providers/connectionCatalog.ts+30−7
  • src/runtime/codexAppServer/config.ts+7−2
  • src/runtime/codexAppServer/runTurn.ts+4−2
  • src/shared/jsonrpcControlSchemas.ts+6−0
  • test/providers/connection-catalog.test.ts+17−0
  • test/runtime.codex-app-server.test.ts+10−8
  • test/runtime/codex-app-server/turn.test.ts+7−2
  • test/tools/tools.createTools.test.ts+5−1