an open-source alternative to the dots, bots and muses of the world, run an office of claude code/codex like agents on your laptop, sandboxes or anywhere, uses your existing subscriptions
HTML agent-harnessagent-orchestrationagentsai-agentsautonomous-agentsclaude-codecodexcoding-agentsdesktop-appdeveloper-toolselectrongemini-cliharnessharness-engineeringlocal-firstmemorymulti-agentopencodeorchestrationtypescript
merge: Codex provider preset (#47)
Chaitanya Giri4825e5af8a93
diff --cc src/main/index.tsindex 07396bfe,0acef987..15899bf4--- a/src/main/index.ts+++ b/src/main/index.ts@@@ -25,7 -25,7 +25,8 @@@ import { listIssues, listCIRuns } fromimport { SlackWebhookServer } from './slack';import { TelemetryCollector } from './telemetry';import { ControlRegistry } from './control';+import { ClosingTimeController } from './closingTime';+ import { inferAgentProvider, isClaudeProvider, type AgentProvider } from '../shared/agentProvider';const isDev = !!process.env.ELECTRON_RENDERER_URL;const ptyManager = new PtyManager();diff --cc src/renderer/src/components/CommandCenterPanel.tsxindex f51e6111,2b756746..f52491b0--- a/src/renderer/src/components/CommandCenterPanel.tsx+++ b/src/renderer/src/components/CommandCenterPanel.tsx@@@ -497,38 -485,7 +498,39 @@@ function FloorTab({ seed }: { seed: { t</div><span style={{ fontFamily: 'var(--cth-font-mono)', fontSize: 11, color: 'var(--cth-ink-500)', width: 30, textAlign: 'right' }}>{pct}%</span></div>+ {/* Context window — the SAME exact statusLine-fed numbers as the+ avatar-card gauge (tokens currently in the window vs the real+ 200k/1M size). Distinct from the cumulative budget meter above,+ which keeps growing forever and pins at 100% — that one is+ spend, this one is headroom before compaction. */}+ <div style={{ display: 'flex', alignItems: 'center', gap: 6 }}>+ <span style={{ flex: 1 }} />+ <span style={{ fontFamily: 'var(--cth-font-mono)', fontSize: 10, color: 'var(--cth-ink-300)', flexShrink: 0 }}>ctx</span>+ {a.contextTokens !== undefined && a.contextLimit ? (() => {+ const cpct = Math.min(100, Math.round((a.contextTokens! / a.contextLimit!) * 100));+ const ccolor = cpct >= 88 ? 'var(--cth-coral)' : cpct >= 75 ? 'var(--cth-lemon)' : `var(--cth-${a.accent})`;+ return (+ <>+ <span style={{ fontFamily: 'var(--cth-font-mono)', fontSize: 11, color: 'var(--cth-ink-900)', width: 56, textAlign: 'right' }}>+ {fmtTokens(a.contextTokens!)}+ </span>+ <div+ title={`Context window: ${a.contextTokens!.toLocaleString()} of ${a.contextLimit!.toLocaleString()} tokens (${cpct}%)`}+ style={{ width: 96, height: 8, background: 'var(--cth-cream-200)', boxShadow: 'inset 0 0 0 1px var(--cth-ink-300)', flexShrink: 0 }}+ >+ <div style={{ width: `${cpct}%`, height: '100%', background: ccolor }} />+ </div>+ <span style={{ fontFamily: 'var(--cth-font-mono)', fontSize: 11, color: 'var(--cth-ink-500)', width: 30, textAlign: 'right' }}>{cpct}%</span>+ </>+ );+ })() : (+ <span style={{ fontFamily: 'var(--cth-font-mono)', fontSize: 11, color: 'var(--cth-ink-300)' }}>+ no status tick yet+ </span>+ )}+ </div>- <div style={{ display: 'flex', alignItems: 'center', gap: 6 }}>+ {isClaudeProvider(inferAgentProvider(a.command, a.provider)) ? <div style={{ display: 'flex', alignItems: 'center', gap: 6 }}>++<Selectvalue={a.model ?? ''}disabled={restarting === a.id}