How giwon4197/codex-gemini-worker-dashboard works
This repository provides a local Codex–Gemini worker dashboard, shared orchestration logic, and a VS Code extension. The user-facing workflow is to configure worker preferences, submit a conversation or run, review its plan, and monitor execution, verification, and usage. Shared modules handle run state, workspace contracts, safety, and usage; the extension presents related controls in VS Code. Some dashboard and extension source was not sampled, so edges are limited to relationships visible in excerpts, the source index, or README statements.
Main entry points: codex-conversation.ts Codex conversation planning · workspace-store.ts Run and workspace store · workspace-node-bridge.ts Workspace bridge · core-host.ts Extension core host
Components 24
Web dashboard
- Dashboard pages
gemini-dashboard/app/page.tsx - Conversation workspace
gemini-dashboard/components/conversation-workspace.tsx - Run API
gemini-dashboard/app/api/runs/route.ts - Retry API
gemini-dashboard/app/api/runs/[runId]/retry/route.ts - Conversation API
gemini-dashboard/app/api/conversations/route.ts - Workspace bridge
gemini-dashboard/lib/workspace-node-bridge.ts
Orchestration core
- Run and workspace store
packages/orchestrator-core/workspace-store.ts - Run data contract
packages/orchestrator-core/workspace-contract.ts - Run tracking
packages/orchestrator-core/run-tracking.ts - Process liveness
packages/orchestrator-core/process-liveness.ts - Codex conversation planning
packages/orchestrator-core/codex-conversation.ts - Worker preferences
packages/orchestrator-core/worker-settings.ts - Workspace sanitization
packages/orchestrator-core/workspace-sanitize.ts - Repository memory
packages/orchestrator-core/repository-memory.ts - Project event graph
packages/orchestrator-core/project-event-graph.ts
Usage and history
- Usage handlers
packages/orchestrator-core/usage-handlers.ts - Codex usage tracking
packages/orchestrator-core/codex-usage.ts - Gemini quota tracking
packages/orchestrator-core/gemini-quota.ts
VS Code extension
- Conversation webview
vscode-extension/src/webview/conversation-view.ts - Extension core host
vscode-extension/src/core-host.ts - Workspace context
vscode-extension/src/workspace-context.ts
Other components
- Local user
- Antigravity CLI
- Codex CLI
Connections 24
- Local user → Dashboard pages: uses
README.md - Dashboard pages → Conversation workspace: opens
- Conversation workspace → Conversation API: submits conversations
- Run API → Workspace bridge: dispatches requests
gemini-dashboard/app/api/runs/route.ts - Retry API → Workspace bridge: dispatches requests
gemini-dashboard/app/api/runs/[runId]/retry/route.ts - Conversation API → Workspace bridge: dispatches requests
gemini-dashboard/app/api/conversations/route.ts - Workspace bridge → Run and workspace store: creates and reads runs
gemini-dashboard/lib/workspace-node-bridge.ts - Workspace bridge → Codex conversation planning: evaluates plans
gemini-dashboard/lib/workspace-node-bridge.ts - Run and workspace store → Process liveness: checks processes
packages/orchestrator-core/workspace-store.ts - Run and workspace store → Run data contract: normalizes state
packages/orchestrator-core/workspace-store.ts - Codex conversation planning → Repository memory: reads evidence
packages/orchestrator-core/codex-conversation.ts - Codex conversation planning → Worker preferences: reads preferences
packages/orchestrator-core/codex-conversation.ts - Codex conversation planning → Run and workspace store: loads sessions
packages/orchestrator-core/codex-conversation.ts - Repository memory → Run and workspace store: reads run history
packages/orchestrator-core/repository-memory.ts - Worker preferences → Workspace sanitization: validates values
packages/orchestrator-core/worker-settings.ts - Project event graph → Workspace sanitization: sanitizes paths
packages/orchestrator-core/project-event-graph.ts - Usage handlers → Codex usage tracking: queries usage
packages/orchestrator-core/usage-handlers.ts - Usage handlers → Gemini quota tracking: queries quota
packages/orchestrator-core/usage-handlers.ts - Conversation webview → Extension core host: sends requests
vscode-extension/src/webview/conversation-view.ts - Extension core host → Run and workspace store: uses shared state
vscode-extension/src/core-host.ts - Extension core host → Codex conversation planning: uses conversation logic
vscode-extension/src/core-host.ts - Extension core host → Workspace context: uses workspace context
vscode-extension/src/core-host.ts - Codex conversation planning → Codex CLI: invokes Codex
- Local user → Antigravity CLI: runs workers with
README.md