Commit Graph
1121 Commits
Author SHA1 Message Date
zeekay c75bff5e66 Merge remote-tracking branch 'just-every-local/main'
# Conflicts:
#	.github/workflows/Dockerfile.bazel
#	.github/workflows/bazel.yml
#	.github/workflows/ci.yml
#	.github/workflows/issue-deduplicator.yml
#	.github/workflows/rust-ci.yml
#	.github/workflows/rust-release-windows.yml
#	.github/workflows/rust-release.yml
#	.github/workflows/shell-tool-mcp.yml
#	.vscode/settings.json
#	AGENTS.md
#	CHANGELOG.md
#	README.md
#	code-rs/app-server-protocol/schema/json/ClientRequest.json
#	code-rs/app-server-protocol/schema/json/CommandExecutionRequestApprovalParams.json
#	code-rs/app-server-protocol/schema/json/EventMsg.json
#	code-rs/app-server-protocol/schema/json/ExecCommandApprovalParams.json
#	code-rs/app-server-protocol/schema/json/ServerNotification.json
#	code-rs/app-server-protocol/schema/json/ServerRequest.json
#	code-rs/app-server-protocol/schema/json/codex_app_server_protocol.schemas.json
#	code-rs/app-server-protocol/schema/json/v1/ForkConversationParams.json
#	code-rs/app-server-protocol/schema/json/v1/ForkConversationResponse.json
#	code-rs/app-server-protocol/schema/json/v1/GetUserSavedConfigResponse.json
#	code-rs/app-server-protocol/schema/json/v1/NewConversationParams.json
#	code-rs/app-server-protocol/schema/json/v1/ResumeConversationParams.json
#	code-rs/app-server-protocol/schema/json/v1/ResumeConversationResponse.json
#	code-rs/app-server-protocol/schema/json/v1/SendUserTurnParams.json
#	code-rs/app-server-protocol/schema/json/v1/SessionConfiguredNotification.json
#	code-rs/app-server-protocol/schema/json/v2/ConfigReadResponse.json
#	code-rs/app-server-protocol/schema/json/v2/ConfigRequirementsReadResponse.json
#	code-rs/app-server-protocol/schema/json/v2/ModelListResponse.json
#	code-rs/app-server-protocol/schema/json/v2/RawResponseItemCompletedNotification.json
#	code-rs/app-server-protocol/schema/json/v2/ThreadForkParams.json
#	code-rs/app-server-protocol/schema/json/v2/ThreadForkResponse.json
#	code-rs/app-server-protocol/schema/json/v2/ThreadResumeParams.json
#	code-rs/app-server-protocol/schema/json/v2/ThreadResumeResponse.json
#	code-rs/app-server-protocol/schema/json/v2/ThreadStartParams.json
#	code-rs/app-server-protocol/schema/json/v2/ThreadStartResponse.json
#	code-rs/app-server-protocol/schema/json/v2/TurnStartParams.json
#	code-rs/app-server-protocol/schema/typescript/AskForApproval.ts
#	code-rs/app-server-protocol/schema/typescript/ClientRequest.ts
#	code-rs/app-server-protocol/schema/typescript/EventMsg.ts
#	code-rs/app-server-protocol/schema/typescript/ExecApprovalRequestEvent.ts
#	code-rs/app-server-protocol/schema/typescript/ExecCommandApprovalParams.ts
#	code-rs/app-server-protocol/schema/typescript/FunctionCallOutputContentItem.ts
#	code-rs/app-server-protocol/schema/typescript/ResponseItem.ts
#	code-rs/app-server-protocol/schema/typescript/index.ts
#	code-rs/app-server-protocol/schema/typescript/v2/AskForApproval.ts
#	code-rs/app-server-protocol/schema/typescript/v2/CommandExecutionRequestApprovalParams.ts
#	code-rs/app-server-protocol/schema/typescript/v2/Model.ts
#	code-rs/app-server-protocol/schema/typescript/v2/index.ts
#	code-rs/app-server-protocol/src/protocol/common.rs
#	code-rs/app-server-protocol/src/protocol/v1.rs
#	code-rs/app-server-protocol/src/protocol/v2.rs
#	code-rs/app-server/src/code_message_processor.rs
#	code-rs/app-server/src/lib.rs
#	code-rs/app-server/src/message_processor.rs
#	code-rs/protocol/src/approvals.rs
#	code-rs/protocol/src/config_types.rs
#	code-rs/protocol/src/models.rs
#	code-rs/protocol/src/openai_models.rs
#	code-rs/protocol/src/prompts/permissions/approval_policy/on_request_rule.md
#	code-rs/protocol/src/protocol.rs
#	code-rs/tui/tests/snapshots/vt100_chatwidget_snapshot__settings_help_overlay_open.snap
#	code-rs/tui/tests/snapshots/vt100_chatwidget_snapshot__settings_help_overlay_section_open.snap
#	codex-cli/package.json
#	docs/agents.md
#	docs/config.md
#	docs/faq.md
#	docs/install.md
#	docs/release-notes/RELEASE_NOTES.md
#	docs/slash-commands.md
#	hanzo-dev/Cargo.lock
#	hanzo-dev/code-auto-drive-core/src/auto_compact.rs
#	hanzo-dev/code-auto-drive-core/src/auto_drive_history.rs
#	hanzo-dev/core/src/agent_tool.rs
#	hanzo-dev/core/src/chat_completions.rs
#	hanzo-dev/core/src/client.rs
#	hanzo-dev/core/src/client_common.rs
#	hanzo-dev/core/src/codex.rs
#	hanzo-dev/core/src/codex/compact.rs
#	hanzo-dev/core/src/codex/compact_remote.rs
#	hanzo-dev/core/src/codex/session.rs
#	hanzo-dev/core/src/codex/streaming.rs
#	hanzo-dev/core/src/config.rs
#	hanzo-dev/core/src/config/sources.rs
#	hanzo-dev/core/src/config/validation.rs
#	hanzo-dev/core/src/config_profile.rs
#	hanzo-dev/core/src/config_types.rs
#	hanzo-dev/core/src/event_mapping.rs
#	hanzo-dev/core/src/exec_command/exec_command_params.rs
#	hanzo-dev/core/src/external_agent_config.rs
#	hanzo-dev/core/src/memories/citations.rs
#	hanzo-dev/core/src/memories/mod.rs
#	hanzo-dev/core/src/memories/storage.rs
#	hanzo-dev/core/src/model_family.rs
#	hanzo-dev/core/src/openai_tools.rs
#	hanzo-dev/core/src/protocol.rs
#	hanzo-dev/core/src/remote_models/mod.rs
#	hanzo-dev/core/src/rollout/policy.rs
#	hanzo-dev/core/src/slash_commands.rs
#	hanzo-dev/exec/src/lib.rs
#	hanzo-dev/protocol/src/mcp_protocol.rs
#	hanzo-dev/tui/Cargo.toml
#	hanzo-dev/tui/src/app/events.rs
#	hanzo-dev/tui/src/app_event.rs
#	hanzo-dev/tui/src/bottom_pane/chat_composer.rs
#	hanzo-dev/tui/src/bottom_pane/memories_settings_view.rs
#	hanzo-dev/tui/src/bottom_pane/mod.rs
#	hanzo-dev/tui/src/bottom_pane/model_selection_view.rs
#	hanzo-dev/tui/src/bottom_pane/settings_overlay.rs
#	hanzo-dev/tui/src/chatwidget.rs
#	hanzo-dev/tui/src/chatwidget/agent_summary.rs
#	hanzo-dev/tui/src/chatwidget/settings_overlay.rs
#	hanzo-dev/tui/src/history_cell/plain.rs
#	hanzo-dev/tui/src/lib.rs
#	hanzo-dev/tui/src/memory_citation.rs
#	hanzo-dev/tui/src/streaming/controller.rs
#	hanzo-dev/tui/tests/snapshots/vt100_chatwidget_snapshot__settings_help_overlay_closed.snap
#	hanzo-dev/tui/tests/snapshots/vt100_chatwidget_snapshot__settings_help_overlay_section_closed.snap
#	hanzo-dev/tui/tests/snapshots/vt100_chatwidget_snapshot__settings_overlay_overview_layout.snap
#	hanzo-dev/tui/tests/snapshots/vt100_chatwidget_snapshot__settings_overlay_overview_truncates.snap
#	hanzo-dev/tui/tests/snapshots/vt100_chatwidget_snapshot__settings_overview_hints_clean.snap
#	hanzo-dev/tui/tests/ui_smoke.rs
2026-03-09 12:02:13 -07:00
James Peter 5b19049047 fix(protocol): use untagged macOS automation values 2026-03-09 00:58:48 +10:00
James Peter 0229b3c805 fix(app-server): refresh macOS automation schema 2026-03-09 00:11:27 +10:00
James Peter a7f457f738 feat(core): update MCP auth and auto-review handling 2026-03-08 22:44:17 +10:00
James Peter 93c8c99ac0 Merge upstream/main: keep local docs and workflows 2026-03-08 16:54:26 +10:00
James Peter c9fcbbe592 fix(memories): recover from malformed stage1 state 2026-03-08 14:56:24 +10:00
James Peter 2a9e6435f5 fix(memories): skip MCP sessions and preserve usage updates 2026-03-08 14:45:33 +10:00
James Peter fd06adb030 refactor(core/streaming): centralize auto-context judge prompt 2026-03-08 09:35:10 +10:00
James Peter 58f501959b test(tui): refresh settings snapshot for auto context 2026-03-08 00:45:17 +10:00
James Peter c99bb77d2a fix(tui/context): persist disabled 1M mode explicitly 2026-03-08 00:07:04 +10:00
James Peter 9a24bc7106 feat(core/config): default session context mode to auto 2026-03-07 23:41:52 +10:00
James Peter fde6650266 feat(auto-context): add richer 1m judge risk context 2026-03-07 23:13:19 +10:00
James Peter 7184844f58 test(tui): restore background review op receivers 2026-03-07 22:26:48 +10:00
James Peter f14b87c8ea fix(auto-context): fall back to codex-mini judge 2026-03-07 22:15:56 +10:00
James Peter fd6e289c7f fix(tui): preserve mid-turn spinner and settings help copy 2026-03-07 21:18:29 +10:00
James Peter dd0db29b09 fix(tui): stabilize auto-context idle state and tests
Keep the bottom-pane spinner alive across short mid-turn idle gaps, update TUI tests to match the current footer and approval-history behavior, and regenerate app-server protocol schemas for auto_context_check.
2026-03-07 20:24:43 +10:00
James Peter 2f37405fb6 fix(tui/history): slow snapshot flushes while active 2026-03-07 19:38:04 +10:00
James Peter f182a0e1f2 feat(core): queue post-turn review input and add memory guard 2026-03-07 19:18:41 +10:00
James Peter 91b2f33393 fix(tui): keep spinner alive across mid-turn updates 2026-03-07 12:33:09 +10:00
James Peter 745b1cbfc3 fix(tui): surface auto-context state and persist service tier 2026-03-07 11:47:30 +10:00
James Peter 6d859ee6f1 feat(context): add auto 1M mode and default to gpt-5.4
Persist session context_mode through core, MCP, and TUI flows, and teach auto-compaction to react to context pressure.

Refresh built-in agent/model defaults and documentation to use code-gpt-5.4 while keeping legacy aliases working.
2026-03-07 08:52:38 +10:00
James Peter 9a93870361 feat(tui/context): persist and surface 1m mode 2026-03-06 19:39:32 +10:00
James Peter 6c0a231be9 fix(tui/model): accept supported non-curated presets 2026-03-06 17:15:47 +10:00
James Peter 5082189656 feat(models): add GPT-5.4 fast mode support 2026-03-06 10:51:21 +10:00
James Peter fe65fa5543 fix(protocol): sync model metadata and auth scopes upstream 2026-03-06 06:37:29 +10:00
James Peter d2e048c470 Merge upstream/main: sync Bazel deps and installer docs 2026-03-06 06:22:59 +10:00
James Peter be4e7f3c8f feat(memories): add settings pane and safer compaction fallback 2026-03-06 06:20:03 +10:00
James Peter f3d848a08a chore(core): align memory prompt caveats with upstream 2026-03-01 16:45:40 +10:00
James Peter 5d17a7ed69 feat(core): add memory config and model metadata updates 2026-03-01 16:41:21 +10:00
James Peter ff004db917 fix(tui/auto-review): keep review non-blocking and bound notes 2026-02-28 21:56:46 +10:00
James Peter 114e4003b4 fix(tui/auto-review): drop redundant developer history note 2026-02-27 15:06:06 +10:00
James Peter 8cc2ba1846 fix(tui/auto-review): avoid dumping raw review logs 2026-02-27 14:08:36 +10:00
James Peter 293514206f test(tui/auto-review): align idle dispatch expectations 2026-02-27 11:15:26 +10:00
James Peter e57a1e0f21 fix(tui/auto-review): dispatch idle findings back to model 2026-02-27 10:37:10 +10:00
James Peter f7a4b22637 test(app-server-protocol): refresh schema fixtures 2026-02-27 10:01:39 +10:00
James Peter 1a8bd1ac5b feat(agents): import config migration API and depth guard 2026-02-27 09:24:52 +10:00
James Peter 44980b6473 test(sync): refresh schema fixtures and settings snapshots
Regenerate app-server protocol schemas for updated approval types and refresh VT100 settings snapshots to reflect the gpt-5.3-codex default model label.
2026-02-27 08:04:49 +10:00
James Peter d5909f3b58 feat(sync): add websocket fallback and approval parity
Add websocket v1/v2 selection with sticky HTTP fallback, expand app-server approval payloads for network/additional permissions, and cap/exclude auto-review diff path lists to prevent oversized review prompts.
2026-02-27 07:21:52 +10:00
James Peter 7e53c5785e feat(sync): backport vital protocol and model parity updates 2026-02-27 03:32:57 +10:00
James Peter b083585d69 chore(sync): checkpoint local changes before upstream refresh 2026-02-27 02:48:04 +10:00
James Peter 425794868a Merge upstream/main: keep local workflows and tooling 2026-02-21 11:35:52 +10:00
James Peter d1cb5d9494 fix(tui/auto): rebuild history before resuming after review 2026-02-17 13:27:36 +10:00
James Peter 11b064dc15 fix(core/streaming): drop gpt-4.1 context fallback
Choose larger-context retry models from remote model metadata only, and ignore deprecated gpt-4.1* candidates.

When context windows tie, prefer the higher-priority model from the remote model list.
2026-02-17 00:00:30 +10:00
James Peter d827c2d8dc fix(linux-sandbox): allow GPU device paths in landlock
Add GPU device path exceptions for /dev/dri, /dev/kfd, and /dev/nvidia* when present so sandboxed commands can access GPU devices without granting broad /dev write access.

Include deterministic unit regression tests for GPU path discovery to keep behavior stable on hosts with and without GPUs.

fixes #546
2026-02-16 14:43:40 +10:00
James Peter 81a2a7ebfc fix(core/search): persist search selection and warn fallback 2026-02-16 14:28:49 +10:00
James Peter 2be7be994e feat(auto-drive): add configurable CLI routing entries 2026-02-16 14:02:38 +10:00
James Peter 726ba18532 chore(app-server-protocol): regenerate schema fixtures 2026-02-15 16:37:55 +10:00
James Peter 2a4c39fd00 fix(auto-review): fallback from spark on usage-limit errors 2026-02-15 16:18:42 +10:00
James Peter a541f404e7 fix(protocol): backport approval and model-list parity updates 2026-02-15 14:51:13 +10:00
James Peter 7973a79063 fix(core/streaming): add model fallback for overflow and spark limits 2026-02-15 14:21:45 +10:00