Commit Graph
2366 Commits
Author SHA1 Message Date
GitHub Action 97bd3c3b49 chore(release): 0.2.136 [skip ci] v0.2.136 2025-09-12 13:21:10 +00:00
James Peter b4c8255c05 Merge origin/main: keep our proxy debug toggles 2025-09-12 23:11:43 +10:00
James Peter 2229e79d7f chore(proxy): add debug toggles and error-body logging\n\n- Options: DISABLE_KEEPALIVE, FORCE_CLOSE, NO_GZIP, STRIP_SESSION_ID, IDEMPOTENCY_KEY=auto, LOG_ERROR_BODY(+_BYTES)\n- Helps isolate Responses API 500s on subsequent requests 2025-09-12 23:11:31 +10:00
GitHub Action 5f9154476f chore(release): 0.2.135 [skip ci] v0.2.135 2025-09-12 12:53:09 +00:00
James Peter d35014fa57 Merge origin/main: adopt remote version bumps; keep ours elsewhere (centralized proxy + triage cleanup) 2025-09-12 22:43:19 +10:00
James Peter 9d8b93befb ci(proxy): centralize OpenAI proxy to scripts/openai-proxy.js and use across workflows\n\n- Replace inline JS proxies in upstream-merge, issue-code, issue-comment, release\n- Shared behavior: SSE defaults, allowlist, header scrubbing, structured logs\n- Supports PORT/OPENAI_BASE_URL/LOG_DEST/EXIT_ON_5XX via env\n- Keeps existing port assignments (5055/5056/5057/5058)\n 2025-09-12 22:43:05 +10:00
GitHub Action 66ff6ccc39 chore(release): 0.2.134 [skip ci] v0.2.134 2025-09-12 12:28:58 +00:00
James Peter c0ba904d83 chore(dev): add local OpenAI proxy script replicating upstream-merge settings\n\n- scripts/openai-proxy.js mirrors CI proxy (allowlist, SSE defaults, header scrubbing)\n- Usage docs in file header; supports PORT and OPENAI_BASE_URL\n- For local runs: set proxy with real OPENAI_API_KEY; run code with OPENAI_BASE_URL=http://127.0.0.1:<port>/v1 and dummy key 2025-09-12 22:18:08 +10:00
James Peter 5344898a77 fix(ci/triage): remove OpenAI proxy and Rust/Code caches; call API directly in safety screen\n\n- Drop local proxy step and OPENAI_BASE_URL override\n- Strip unused Rust toolchain/cache and Code binary cache\n- Keep Node setup only; triage doesn’t build or run Rust\n- Keeps safety screen using Responses API (gpt-5→gpt-4o-mini fallback) 2025-09-12 21:54:27 +10:00
James Peter 94c7a8fd4e Merge origin/main: keep local release script resilience; adopt upstream changes [skip ci] 2025-09-12 21:51:23 +10:00
James Peter e835613c53 fix(release/homebrew): use local artifacts for sha256; add retry/backoff on remote fetch; avoid failing on CDN propagation
- Prefer release-assets/* when present to compute sha256 for Homebrew formula.\n- Retry curl with backoff if local file missing; print warnings instead of failing.\n- Keep formula URLs pointing to GitHub Releases; add best-effort HEAD checks.\n- Eliminates 404-induced failures right after uploading assets.
2025-09-12 21:51:05 +10:00
GitHub Action c1e1b05741 chore(release): 0.2.133 [skip ci] v0.2.133 2025-09-12 11:28:27 +00:00
James PeterandGitHub ce4951a8d5 Merge pull request #139 from just-every/upstream-merge
Upstream merge: openai/codex@main into main
2025-09-12 21:18:28 +10:00
just-every-code b9060ce27a merge(upstream): selective bucketed merge from openai/codex@main
- Adopt upstream in common/file-search and add TUI popup/types
- Preserve fork invariants in core (browser/agent/web_fetch gating, UA/version)
- Keep our TUI and CLI flows; resolve conflicts per policy
- Protocol: align mcp_protocol to upstream; add TS for Verbosity
- file-search: provide run_streaming shim to satisfy TUI usage
- common: make sandbox summary robust to new fields

Verification:
- scripts/upstream-merge/verify.sh: PASS (build-fast + API checks)
2025-09-12 10:45:24 +00:00
GitHub Action bde047551a chore(release): 0.2.132 [skip ci] v0.2.132 2025-09-12 10:34:49 +00:00
James Peter 8ba7707901 ci: remove chat-completions fallback; use Responses API only via hardened proxies; fix release proxy mkdir; keep failure assertions 2025-09-12 20:25:39 +10:00
just-every-code d18ce9a51f Merge remote-tracking branch 'origin/main' into upstream-merge 2025-09-12 10:13:42 +00:00
James Peter c30869012d ci(proxy): harden OpenAI proxy and assert failures across workflows (issue-code, issue-comment, issue-triage, release); add chat-completions fallback provider; and disable upstream-merge concurrency cancellation 2025-09-12 20:11:55 +10:00
just-every-code a13f6a40d5 Merge remote-tracking branch 'origin/main' into upstream-merge 2025-09-12 09:02:16 +00:00
James Peter 98ef0e6d7f Merge origin/main: adopt remote trivial changes; keep ours for upstream-merge workflow updates 2025-09-12 18:59:25 +10:00
James Peter 651bd4bedc ci(upstream-merge): add chat-completions fallback provider and force it via -c model_provider=openai_chat to avoid Responses API 500s via proxy; keep proxy for both paths 2025-09-12 18:59:12 +10:00
GitHub Action 36db4561be Merge origin/main: adopt remote workflow changes; keep release changes [skip ci] v0.2.131 2025-09-12 08:58:57 +00:00
GitHub Action 6a26c5bfe0 chore(release): 0.2.131 [skip ci] 2025-09-12 08:57:38 +00:00
just-every-code 3d4e9ffd36 Merge remote-tracking branch 'origin/main' into upstream-merge 2025-09-12 08:55:58 +00:00
James Peter dccf32a6e9 ci(upstream-merge): fail job if Code agent logs contain streaming/server errors or proxy logs show 5xx/upstream_error; ensures failures are visible when agent exits 0 2025-09-12 18:54:13 +10:00
just-every-code 61a578a190 Merge remote-tracking branch 'origin/main' into upstream-merge 2025-09-12 08:50:03 +00:00
James Peter 845e34940a fix(proxy+exec): harden proxy TLS forwarding (set servername, reset Host, normalize hop-by-hop headers) and make exec exit non-zero on agent Error events so workflows fail fast when streaming fails 2025-09-12 18:48:18 +10:00
just-every-code 7726e0e770 Merge remote-tracking branch 'origin/main' into upstream-merge 2025-09-12 08:27:14 +00:00
James Peter 4a53a4387f fix(core/http): set explicit Host header from target URL to avoid proxy TLS SNI handshake failures when using HTTP(S)_PROXY with /v1/responses streaming 2025-09-12 18:25:06 +10:00
just-every-code 6f96b4dfba Merge remote-tracking branch 'origin/main' into upstream-merge 2025-09-12 07:30:12 +00:00
James Peter f3e414ba25 Merge origin/main: adopt remote version bumps; keep ours elsewhere (proxy logging, server error diagnostics) 2025-09-12 17:27:49 +10:00
James Peter 4e3dcd9526 ci(upstream-merge): add verbose OpenAI proxy with streaming-safe pass-through and rich JSON logs; upload/tail logs\n\n- Forward exact client signature (Accept: text/event-stream, OpenAI-Beta: responses=experimental, originator, UA)\n- Replace only Authorization with secret API key; preserve all other headers\n- Stream SSE verbatim; avoid buffering; generous timeouts\n- Structured JSON logs: request/response headers (redacted), status, x-request-id, byte counts\n- Print log tail in job summary and upload full log as artifact\n\nContext: diagnose intermittent 5xx seen in Code runs; ensure proxy cannot mask origin responses and provides correlation data. 2025-09-12 17:26:56 +10:00
just-every-code 0178ca0899 Merge remote-tracking branch 'origin/main' into upstream-merge 2025-09-12 06:46:59 +00:00
Michael BolinandGitHub 59f794dcd8 feat: added SetDefaultModel to JSON-RPC server (#3512)
This adds `SetDefaultModel`, which takes `model` and `reasoning_effort`
as optional fields. If set, the field will overwrite what is in the
user's `config.toml`.

This reuses logic that was added to support the `/model` command in the
TUI: https://github.com/openai/codex/pull/2799.
2025-09-11 23:44:17 -07:00
GitHub Action 9725556f42 chore(release): 0.2.130 [skip ci] v0.2.130 2025-09-12 06:33:45 +00:00
James Peter c15bb53cc1 Merge origin/main: integrate upstream changes; keep local TUI Left/Right navigation enhancements 2025-09-12 16:21:57 +10:00
James Peter 858dfaa116 feat(tui/theme): allow Left/Right to mirror Up/Down; enable Save/Retry navigation via arrows
- Treat Left/Right as Up/Down across Theme/Spinner views, including Create flows.\n- In review screens, Left focuses preview toggle (themes) and cycles buttons; Right moves to Save/Retry.\n- Update title hint to display 'â–˛ â–Ľ â—€ â–¶ select'.\n\nAlso includes other local TUI/core adjustments present in the working tree. Verified with ./build-fast.sh.
2025-09-12 16:21:45 +10:00
Michael BolinandGitHub 9dec100d0c feat: include reasoning_effort in NewConversationResponse (#3506)
`ClientRequest::NewConversation` picks up the reasoning level from the user's defaults in `config.toml`, so it should be reported in `NewConversationResponse`.
2025-09-11 21:04:40 -07:00
just-every-code 251dcc4089 Merge remote-tracking branch 'origin/main' into upstream-merge 2025-09-12 01:01:23 +00:00
GitHub Action b489515c8e chore(release): 0.2.129 [skip ci] v0.2.129 2025-09-12 00:57:31 +00:00
James PeterandGitHub 5ee3a8ab21 Merge pull request #134 from sstehniy/fix/tui-spinner-hide-when-agents-complete
hide tui spinner when mutli-agent work is finished and in idle state
2025-09-12 10:47:56 +10:00
Fouad MatinandGitHub a4c12e205e add(readme): IDE (#3494)
update copy in readme to add link to IDE
2025-09-11 17:46:20 -07:00
pakrym-oaiandGitHub 3ff7975380 Log cf-ray header in client traces (#3488)
## Summary
- log the `cf-ray` header when tracing HTTP responses in the Codex
client
- keep existing response status logging unchanged

## Testing
- just fmt
- just fix -p codex-core
- cargo test -p codex-core *(fails:
suite::client::azure_overrides_assign_properties_used_for_responses_url,
suite::client::env_var_overrides_loaded_auth)*

------
https://chatgpt.com/codex/tasks/task_i_68c31640dacc83209be131baf91611cd
2025-09-11 17:42:44 -07:00
Stanislav Stehniy 64b7877e63 chore: formatting 2025-09-12 01:41:17 +02:00
Stanislav Stehniy 20a625c34b fix(tui/spinner): hide spinner after agents finish; refine gating
- Add agents_are_actively_running() and use in maybe_hide_spinner + TaskComplete
- Re-evaluate spinner on AgentStatusUpdate
- Mark Answer stream id closed on final; prevent late deltas
- Add focused tests for spinner stay/hide conditions
- Preserve strict per-stream ordering and existing UX
2025-09-12 01:23:19 +02:00
just-every-code 9542393daf Merge remote-tracking branch 'origin/main' into upstream-merge 2025-09-11 23:14:04 +00:00
jif-oaiandGitHub 6d9caa8100 bug: default to image (#3501)
Default the MIME type to image
2025-09-11 23:10:24 +00:00
James Peter 355825e947 fix(core/client): surface rich server error context on final retry (status, request-id, body excerpt); replace generic 500 mapping\n\n- Replace with carrying a preformatted, actionable message\n- Include HTTP status, , and a trimmed body excerpt in the error string\n- Log event to debug logger and close request log\n- Parse 429 bodies from cached text to avoid consuming response twice\n\nMotivation: All Code workflows showed a vague "high demand" stream error for ~24h. This change makes permanent failures diagnosable from the UI and logs. 2025-09-12 09:09:38 +10:00
GitHub Action e8a71b0a07 chore(release): 0.2.128 [skip ci] v0.2.128 2025-09-11 23:07:54 +00:00
James Peter 9e63d861f1 Merge origin/main: adopt remote version bumps; keep ours elsewhere (MCP per-server timeouts, non-fatal listing) 2025-09-12 08:57:48 +10:00