Commit Graph
677 Commits
Author SHA1 Message Date
James Peter 9f9aeb58d0 docs(agents): clarify Windows PATH guidance and error messaging (refs discussion #435) 2025-11-27 08:11:28 +10:00
James Peter 35e49f97da fix(compaction): add emergency fallback when compact exceeds budget (fixes #436) 2025-11-27 08:11:10 +10:00
James Peter c6bb73317b fix(agents): run code-family agents with current binary (fixes #429) 2025-11-27 08:00:33 +10:00
James Peter e7f9d5a771 chore: add pre-release script and refresh encoding tests 2025-11-27 07:19:50 +10:00
James Peter e003f9efde Revert "fix(core/text_encoding): prefer correct legacy decodes on short inputs"
This reverts commit 4ed6a472aa.
2025-11-27 05:57:17 +10:00
James Peter 4ed6a472aa fix(core/text_encoding): prefer correct legacy decodes on short inputs 2025-11-26 21:21:40 +10:00
James Peter 32775993b7 fix(execpolicy/tests): use codex_execpolicy crate name 2025-11-26 17:27:37 +10:00
James Peter 6d531666cf fix(auto-drive): force read-only agents without git repos 2025-11-26 16:59:44 +10:00
James Peter 05755b07e8 fix(core/exec): decode shell output via detected encoding 2025-11-26 14:08:49 +10:00
James Peter 872bd8f0b3 Merge upstream/main: keep local workflows 2025-11-26 13:55:47 +10:00
James Peter ab9f18ffb9 fix(tui/agents): align built-in status text with enabled state 2025-11-26 09:43:47 +10:00
James Peter 924cfc766c fix(tui/agents): show built-ins as available and skip install prompts
- mark built-in agents that resolve to the current binary as "available" and remove install hints in Agents UI
- thread self-resolved status through overview rendering for consistent labeling in overlay and bottom pane
- add regression test for available status copy

Refs #429
2025-11-26 09:36:51 +10:00
James Peter 97f1e454d4 fix(auto-drive): durable retries and coordinator stability
- keep failed overlong coordinator outputs in the conversation, suppress compaction notices, and surface a retry action in the Auto Drive card so follow-up requests retain the error context
- add explicit Action app event, pass compaction notice intent through to the TUI, and raise the coordinator worker stack to 1 MiB with an opt-in backtrace hook for debugging validation overflows
- simplify bottom_spacer_hysteresis_requests_followup_frame to a known viewport pair to avoid FD exhaustion during repeated harness setup

Fixes #432
Fixes #430
Fixes #433
Fixes #429
2025-11-26 09:09:46 +10:00
James Peter 0191e98bb4 chore(auto-drive): user-facing retry note without guidance
Replace the retry Thinking event text with a neutral message so the Auto Drive card shows the retry without exposing prompt-length guidance to the user. Build fast remains green.

fixes #432
2025-11-26 08:34:44 +10:00
James Peter b399614869 chore(auto-drive): persist retry note into action history
Add assistant retry note into the conversation so the Auto Drive card shows context while retrying overlong prompt_sent_to_cli errors. Developer guidance string remains in the conversation; raw model output stays in assistant message.

fixes #432
2025-11-26 07:45:50 +10:00
James Peter 678cb4da16 fix(core/agents): don't skip built-ins when coder missing
Resolve command check for code/codex/cloud so they are treated as built-in when using the default CLI, even if coder is absent or overridden; prevents skipping agents and avoids running PATH coder when current exe should be used.

fixes #429
2025-11-26 07:42:48 +10:00
James Peter 6e1c620d50 chore(auto-drive): place overlong prompt error in developer note
Assistant message now keeps the raw model output; developer note carries the fixed guidance string so the coordinator sees both the failure context and the explicit <=600 notice. Build fast remains green.

fixes #432
2025-11-26 07:38:57 +10:00
James Peter dd677f395e fix(core/agents): prefer current exe for code/codex/cloud
- Always use the running binary for built-in code/codex/cloud agents unless the user set a custom command; keep model args when self-spawning so labels stay accurate.
- Add tests for the new current-exe preference and preserve custom overrides.

fixes #429
2025-11-26 07:36:27 +10:00
James Peter a3ecceb97b chore(auto-drive): clarify overlong prompt retry messaging
Replace the retry assistant insert with a fixed error string so the CLI clearly sees the overlong prompt error without echoing the long prompt. Persist the message in the conversation and simplify developer notes.

fixes #432
2025-11-26 07:33:31 +10:00
James Peter 63297e0751 fix(auto-drive): show failed coordinator output when retrying
Surface the invalid assistant JSON as an assistant message before retrying recoverable validation errors (e.g., overlong prompt_sent_to_cli) so the coordinator can see what failed. Retains existing retry guidance path.

Refs #432
2025-11-26 07:21:47 +10:00
James Peter c86288b098 fix(core): agent dedupe and windows cmd resolution
- auto-drive retries overlong prompt_sent_to_cli instead of failing
- agents: canonical alias dedupe + PATHEXT-aware cmd resolution and Gemini config fallback

fixes #430
fixes #432
fixes #433
2025-11-26 06:56:15 +10:00
James Peter 47be2b176c fix(tui): refresh settings snapshots and clear stale execs 2025-11-26 02:05:26 +10:00
James Peter 8d76531795 fix(auto-drive): restore 600-char CLI prompts and handle cutoffs 2025-11-26 01:15:06 +10:00
James Peter 4d509bbabb fix(tui/turns): clear lingering execs when assistant responds 2025-11-26 00:31:52 +10:00
James Peter badfdcb7a0 fix(tui/turns): clear lingering execs when next turn starts 2025-11-26 00:25:27 +10:00
James Peter 0b567269a6 Merge branch 'code-branch-20251125-124511' 2025-11-26 00:17:48 +10:00
James Peter bca2572c0c fix(tui/prompts): keep /prompts selectable and wrap title 2025-11-26 00:16:19 +10:00
James Peter 58bf646fa3 Merge branch 'code-branch-20251125-131026' 2025-11-25 23:36:11 +10:00
James Peter 61308e39b2 fix(tui/prompts): open prompts settings from slash command 2025-11-25 23:35:32 +10:00
James Peter a2bdfde778 fix(agents/auto-drive): fallback to current binary, keep disabled mini (fixes #429, fixes #430, fixes #431) 2025-11-25 23:30:34 +10:00
James Peter fdafd45dae Merge branch 'code-branch-20251125-124828' 2025-11-25 23:28:45 +10:00
James Peter aeda4168af fix(auto-drive): enforce 4-140 char cli prompts 2025-11-25 23:18:37 +10:00
James Peter 2aa69540d7 feat(exec): append test guidance to auto drive goals 2025-11-25 23:06:15 +10:00
James Peter 220523702f chore(tui/prompts): inline note in list panel 2025-11-25 22:43:57 +10:00
James Peter 2e0623c305 chore(tui/prompts): keep note without extra list border offset 2025-11-25 22:18:56 +10:00
James Peter d77d52503a docs(tui/prompts): add usage note above prompts list 2025-11-25 22:13:51 +10:00
James Peter 2a38844b56 fix(tui/agents+prompts): Esc stays inside section and add overview note 2025-11-25 22:10:31 +10:00
James Peter 4e15e1690b fix(tui/settings): let section content handle Esc before overlay 2025-11-25 22:02:21 +10:00
James Peter 74116eb1eb style(tui/prompts): align selection colors with agents and keep borders 2025-11-25 21:58:56 +10:00
James Peter b975bfe759 style(tui/prompts): match agents layout, keep single header 2025-11-25 21:49:21 +10:00
James Peter 1779cc22bc fix(tui/prompts): single header, add cancel/delete, keep overlay order clean 2025-11-25 20:38:29 +10:00
James Peter fa036327b3 chore(tui/prompts): remove duplicate list title and keep warnings 2025-11-25 20:33:03 +10:00
James Peter 08fd24bd35 chore(tui/settings): simplify prompts list/edit flow and keep ordering 2025-11-25 20:26:31 +10:00
James Peter c05d373a78 fix(tui/settings): align prompts section order and two-step UX 2025-11-25 20:06:46 +10:00
James Peter a9f1a8bdf7 feat(tui/settings): add prompts management section with save and reload 2025-11-25 19:43:58 +10:00
James Peter 00e9bedaaa fix(tui/prompts): preload custom prompts into slash popup 2025-11-25 19:20:38 +10:00
James Peter f87995a941 feat(tui/prompts): autocomplete custom prompt aliases with snippets 2025-11-25 17:48:36 +10:00
James Peter 72c4f3004d fix(mcp-client): keep Windows env vars for MCP servers
Fixes #426.
2025-11-25 16:12:05 +10:00
James Peter f9fb73c2b9 chore(core/agents): refresh default model specs 2025-11-25 15:46:25 +10:00
James Peter fad337d2e1 chore(agents): streamline guide to frontline only 2025-11-25 14:59:15 +10:00