Skip to content

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

Merge origin/main into Codex provider preset

Piotr Durlej79472c54e6d1
diff --cc README.md
index 90ea0052,b6f35d20..efb3b6b7
--- a/README.md
+++ b/README.md
@@@ -138,9 -138,7 +138,10 @@@ terminal/event plane, and [`DESIGN.md`]
xcode-select --install
```
- **[Claude Code](https://claude.com/claude-code)** on your `PATH` so agents can run `claude`
- (the default command). Any other command works too.
+ (the default command). Add Agent also includes a Codex preset that runs `codex`
+ without Claude-only flags; initial Codex support is terminal spawning with shared
- workspace/env, not Claude telemetry or hook parity.
++ workspace/env, not Claude telemetry, hook parity, or hive inbox delivery (direct
++ hive mail to Codex/custom agents bounces to the god agent).
- *Optional:* the semantic memory index for instant cross-session recall (the app works without it —
markdown memory still functions).
diff --cc src/renderer/src/components/CommandCenterPanel.tsx
index 2b756746,30a2073f..206d4c06
--- a/src/renderer/src/components/CommandCenterPanel.tsx
+++ b/src/renderer/src/components/CommandCenterPanel.tsx
@@@ -485,7 -488,38 +489,38 @@@ 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 }}>
<Select
value={a.model ?? ''}
disabled={restarting === a.id}