Commit Graph
848 Commits
Author SHA1 Message Date
James Peter a807ee4b0f fix(tui/status): restore Every Code header title 2025-12-18 16:59:50 +10:00
James Peter d7b218a8f3 Merge branch 'code-branch-20251217-230845' 2025-12-18 15:59:23 +10:00
James Peter cb87fbefe4 feat(tui/cards): set ANSI-16 card backgrounds
When PaletteMode::Ansi16, render tool cards with solid ANSI backgrounds and force high-contrast text (white on dark, black on light).

Mappings:
- Auto Drive: magenta / light magenta
- Agent (read): green / light green
- Agent (write): yellow / light yellow
- Browser: red / light red

Also extend /demo to accept 'auto drive card' for quickly previewing all ANSI-16 backgrounds.
2025-12-18 15:52:59 +10:00
James Peter 1caa156118 test(tui): refresh auto drive snapshots
Update VT100 snapshots for Auto Drive hint spacing.
2025-12-18 09:37:22 +10:00
James Peter e7227b72d2 feat(agents): make gemini-3-flash the default
Replace gemini-2.5-flash with gemini-3-flash and treat gemini as the primary Gemini alias.

Update docs, examples, and legacy upgrade paths.
2025-12-18 09:00:29 +10:00
James Peter 3e6540d413 fix(tui/auto-drive): normalize footer hint spacing 2025-12-18 06:27:28 +10:00
James Peter f045d3f7e1 fix(core/retention): avoid cloning large history during cleanup 2025-12-17 20:26:22 +10:00
James Peter 0c65cf28d4 fix(core/exec): sanitize log paths; reap killed children 2025-12-17 18:55:43 +10:00
James Peter 31592c39f6 feat(core/tui): add remote models; harden exec memory
Add best-effort remote /models parity with on-disk cache + TUI preset merge.

Harden exec handling by spooling output to disk, avoiding unbounded in-memory buffering, and using best-effort Linux cgroup limits + explicit OOM surfacing so child failures don’t kill the parent.
2025-12-17 18:23:40 +10:00
James Peter 52a7c21e7c fix(core): align apply_patch parsing and exec timeout output 2025-12-17 13:40:51 +10:00
James Peter 1f4ba19db1 Merge branch 'code-branch-20251216-194649' 2025-12-17 12:56:14 +10:00
James Peter c6db2d2597 feat(tui/auto-drive): summarize last session on completion 2025-12-17 12:55:04 +10:00
James Peter a9b5b80569 fix(core): auto-retry turns after usage limits
When the provider returns usage_limit_reached, keep the turn alive by waiting until the reset window (or 5 minutes when unknown) and retrying. Apply the same behavior to compaction tasks and show a generic retrying status in the TUI.
2025-12-17 12:22:41 +10:00
James Peter 4c2b376735 fix(tb2): harden exec env/shell; gate auto drive rails
- Add non-interactive env defaults to reduce hangs\n- Suppress bash job control for bash -lc exec\n- Make Auto Drive turn cap opt-in (default unlimited); add --turn-cap\n- Only bias coordinator finishing when --max-seconds is set
2025-12-17 05:37:54 +10:00
James Peter a546f60e6a fix(core/config): warn on unknown CLI config overrides 2025-12-16 08:39:15 +10:00
James Peter d2e1727131 feat(exec): add max-seconds budget with countdown nudges 2025-12-16 08:01:48 +10:00
James Peter ee7992d581 fix(core/wait): interrupt background wait on user input 2025-12-16 05:54:42 +10:00
James Peter a3e00bfb22 fix(tui): keep header title stable for snapshots 2025-12-15 11:41:40 +10:00
James Peter 21c882d371 fix(apply-patch): preserve CRLF line endings 2025-12-15 07:30:11 +10:00
James Peter 32398b5bd5 fix(core/instructions): sync prompts and sandbox_permissions 2025-12-15 07:18:10 +10:00
James Peter 0f94f92f5c Merge upstream/main: refresh mirror and keep fork defaults 2025-12-15 06:56:16 +10:00
James Peter f4b501e40f fix(tui/history): clear stale task state on TaskStarted 2025-12-14 12:43:23 +10:00
James Peter b3c9fc4f4d feat(tui/status): show Every Code title 2025-12-13 23:00:32 +10:00
James Peter 5085c590f8 fix(browser): guard internal Chromium launch against EAGAIN 2025-12-13 16:13:33 +10:00
James Peter 63ec7237db fix(tui/intro): fade welcome on typing and keep it hidden 2025-12-13 15:16:50 +10:00
James Peter f5b5af6d94 fix(cli/tests): allow extra MultitoolCli fields 2025-12-13 13:13:08 +10:00
James Peter 206dd840fc fix(tui/tests): add demo_developer_message to Cli 2025-12-13 12:54:56 +10:00
James Peter f375045194 Merge origin/fix/tui-background-auto-review-notes: demo + TUI fixes 2025-12-13 10:13:26 +10:00
James Peter 8a32e65fdb feat(tui): default hidden-preface injections to silent 2025-12-13 10:09:00 +10:00
James Peter bc7919792f feat(tui): allow silent hidden-preface submissions 2025-12-13 09:44:30 +10:00
James Peter 0028de90ef fix(tui/chatwidget): clarify background auto-review notes 2025-12-13 09:11:41 +10:00
James Peter ad929c3263 fix(tui/history): dim mid-turn assistant output 2025-12-12 17:58:41 +10:00
James Peter 059ed77bf6 fix(exec): grace delay before shutdown when auto-review enabled 2025-12-12 17:24:46 +10:00
James Peter 3aac8975ab fix(tui/status): hide directory label in demo mode 2025-12-12 17:24:35 +10:00
James Peter 32294693bd fix(tui/theme): improve plan and cursor contrast in dark mode 2025-12-12 17:15:18 +10:00
James Peter b92f784ade feat(cli/demo): add --demo developer message injection 2025-12-12 17:00:54 +10:00
James Peter c8460d4b43 fix(tui/history): handle background wait call_id
Only treat wait/kill call_id as ExecCallId when that exec is still running, preventing orphaned Waiting cells for background waits.
2025-12-12 16:40:06 +10:00
James Peter 9aeea85847 fix(tui/onboarding): match trust directory prompt styling 2025-12-12 15:51:15 +10:00
James Peter 22a4dbcefb fix(core/tests): allow missing code-linux-sandbox binary
Also document .githooks pre-push pre-release hook.
2025-12-12 15:02:57 +10:00
James Peter 2885bf8b58 Merge origin/main: sync latest main changes 2025-12-12 13:18:40 +10:00
James Peter d4afe51361 fix(tui/history): hide gutter on mid-turn answers 2025-12-12 13:17:35 +10:00
James Peter d379ee86f7 fix(tui/review): reclaim stale background auto reviews 2025-12-12 13:02:09 +10:00
James Peter db06d7fe15 test(tui): accept updated vt100 snapshots 2025-12-12 12:57:06 +10:00
James Peter b791f61aab fix(tui/history): track mid-turn answer streams 2025-12-12 12:42:25 +10:00
James Peter 06d9640932 Merge branch 'code-branch-20251212-015939' 2025-12-12 12:30:33 +10:00
James Peter a2cf01d503 fix(tui/history): demote earlier Answer outputs mid-turn
Add `mid_turn` to assistant history records and cells, and retroactively mark previous Answer streams as mid‑turn when a new Answer id arrives so only the final output gets gutter/bold styling.

Also upgrade legacy `gpt-5-codex` slugs to `gpt-5.1-codex`, bump GPT‑5 profile/review defaults to `gpt-5.2`, and refresh related TUI snapshots.
2025-12-12 12:29:43 +10:00
James Peter 34f08700d7 fix(tui/history): collapse consecutive reasoning cells 2025-12-12 12:17:25 +10:00
James Peter 2d20c99a8a feat(models): add GPT-5.2 defaults and preserve effort preference
Add GPT-5.2 to presets/agents and upgrade prompts. Persist preferred reasoning effort separately from effective clamped effort, and keep the TUI spinner running until TaskComplete for multi-message turns.
2025-12-12 11:58:09 +10:00
Code Snapshot 122bec2335 auto review snapshot 2025-12-12 10:54:15 +10:00
James Peter c866e3cb26 Merge auto-review worktree: apply auto-review fixes 2025-12-12 10:53:59 +10:00