Commit Graph
3282 Commits
Author SHA1 Message Date
James Peter a49cd2cdcb fix(core/config): allow overriding OpenAI wire API via env
Fixes #234
2025-09-25 15:28:39 +10:00
James Peter 3302d501f7 fix(ci/release): add explicit rustup target install 2025-09-25 14:02:07 +10:00
James Peter a2102509b6 Merge branch 'code-branch-20250925-033737' into main 2025-09-25 13:58:41 +10:00
James Peter 34ad796752 merge main into code-branch-20250925-033737 before merge 2025-09-25 13:58:41 +10:00
James Peter 11afe5d935 feat(tui/theme): autodetect terminal background 2025-09-25 13:56:16 +10:00
James Peter 192a985e64 chore(ci): defer log fetch until run stops 2025-09-25 13:53:51 +10:00
James Peter e92e819ac2 fix(ci): exit wait script on first failed job 2025-09-25 13:49:40 +10:00
James Peter d2522c907f fix(tui/agents): ensure esc closes agents overlay 2025-09-25 13:36:51 +10:00
James Peter 1fb475eafe fix(tui): polish agents overlay focus and HUD override 2025-09-25 13:32:08 +10:00
James Peter d3211d761a feat(tui/agents): surface batch groups and detail focus 2025-09-25 13:10:38 +10:00
James Peter 46f9598d02 Merge branch 'code-branch-20250925-015312' into main 2025-09-25 12:23:01 +10:00
James Peter 0c7f77cf36 merge local main into code-branch-20250925-015312 before merge 2025-09-25 12:23:01 +10:00
James Peter c6a62dcede Merge origin/upstream-merge: reconcile rate limit snapshot schema 2025-09-25 12:19:17 +10:00
James Peter 6e9d4a0c70 Merge branch 'code-branch-20250925-020835' into main 2025-09-25 12:18:56 +10:00
James Peter 9ca5ba0c14 fix(tui/hud): hide pro panel when disabled 2025-09-25 12:18:44 +10:00
James Peter 03a85a5572 fix(tui/slash): restrict /pro to dev and pref builds 2025-09-25 11:52:42 +10:00
James Peter 4f67587e75 Merge branch 'code-branch-20250925-010716' into main 2025-09-25 11:47:03 +10:00
James Peter d0abbc28d5 merge local main into code-branch-20250925-010716 before merge 2025-09-25 11:47:03 +10:00
James Peter 60791f02c7 fix(core/compact): queue manual compaction when turns are running 2025-09-25 11:46:41 +10:00
James Peter ecca1857aa fix(tui/history): restore warning cell output 2025-09-25 11:43:32 +10:00
James Peter 7fe8b78633 docs(tui/history): clarify exec/diff breakout plan 2025-09-25 11:42:05 +10:00
James Peter 8eb473e34a docs(prompt_coder): streamline web tool guidance 2025-09-25 11:35:13 +10:00
James Peter c9107e2651 Merge branch 'code-branch-20250924-124541' 2025-09-25 11:28:05 +10:00
James Peter 1a96bda414 docs(tui/history): refresh progress tracker 2025-09-25 11:14:19 +10:00
James Peter dfd34f9ed8 feat(tui/history): extract deterministic cell state modules 2025-09-25 11:09:47 +10:00
James Peter 5666798384 fix(core/compact): surface summary message in history 2025-09-25 10:43:13 +10:00
James Peter 94a1e1d907 Merge branch 'code-branch-20250924-055538' into main 2025-09-25 10:18:44 +10:00
James Peter b88be00e71 merge code-branch-20250924-055538 via /merge 2025-09-25 10:18:31 +10:00
James Peter eab74e10e2 feat(tui/limits): show account usage overlay with tabs 2025-09-25 10:14:32 +10:00
James Peter af0a6f6717 Merge branch 'code-branch-20250924-061421' into main 2025-09-25 09:57:13 +10:00
James Peter bd196cc83d merge local main into code-branch-20250924-061421 before merge 2025-09-25 09:57:13 +10:00
James Peter a42e0cc56d feat(tui/agents): add terminal overlay for agent logs 2025-09-25 09:52:29 +10:00
James Peter cc3b686be0 Merge branch 'code-branch-20250924-223537' into main 2025-09-25 09:34:49 +10:00
James Peter de276ebb2e feat(tui/slash): add /demo history generator 2025-09-25 09:31:21 +10:00
just-every-code 46e5e7774c merge(upstream): reconcile Responses text param
- Adopt upstream text.verbosity gating for GPT-5; omit for others
- Allow text.format via output schema; keep ChatGPT gating
- Implement custom Serialize for Text to omit verbosity when format present
- Preserve fork invariants (browser/agent tools, UA/version)

Build: ./build-fast.sh OK; verify.sh guards passed
2025-09-24 22:43:28 +00:00
pakrym-oaiandGitHub e85742635f Send text parameter for non-gpt-5 models (#4195)
We had a hardcoded check for gpt-5 before.

Fixes: https://github.com/openai/codex/issues/4181
2025-09-24 22:00:06 +00:00
just-every-code 1236e8dbee merge(upstream): merge upstream/main into upstream-merge by policy buckets; keep fork TUI/core invariants; adopt upstream command_safety; verify.sh+build-fast ok 2025-09-24 21:50:43 +00:00
James Peter b04cc9213f Merge branch 'code-branch-20250924-064406' into main 2025-09-25 07:47:09 +10:00
James Peter 01eebbf289 merge code-branch-20250924-064406 via /merge 2025-09-25 07:46:02 +10:00
Michael BolinandGitHub 87b299aa3f chore: drop unused values from env_flags (#4188)
For the most part, we try to avoid environment variables in favor of
config options so the environment variables do not leak into child
processes. These environment variables are no longer honored, so let's
delete them to be clear.

Ultimately, I would also like to eliminate `CODEX_RS_SSE_FIXTURE` in
favor of something cleaner.
2025-09-24 14:29:51 -07:00
iceweasel-oaiandGitHub 0e58870634 adds a windows-specific method to check if a command is safe (#4119)
refactors command_safety files into its own package, so we can add
platform-specific ones
Also creates a windows-specific of `is_known_safe_command` that just
returns false always, since that is what happens today.
2025-09-24 14:03:43 -07:00
just-every-code 0468d4107c merge(upstream): merge openai/codex main into upstream-merge (by-bucket)
- Prefer ours: TUI + core tool wiring and UA/version helpers
- Prefer theirs: common/exec/file-search where compatible
- Purge: no reintroduced codex-cli images present
- verify.sh: OK; ./build-fast.sh: success (0 warnings)
2025-09-24 20:50:26 +00:00
Jeremy RoseandGitHub 42847baaf7 pageless session list (#3194) 2025-09-24 13:44:48 -07:00
Jeremy RoseandGitHub 6032d784ee improve MCP tool call styling (#3871)
<img width="760" height="213" alt="Screenshot 2025-09-18 at 12 29 15 PM"
src="https://github.com/user-attachments/assets/48a205b7-b95a-4988-8c76-efceb998dee7"
/>
2025-09-24 13:36:01 -07:00
Jeremy RoseandGitHub 7bff8df10e hide the status indicator when the answer stream starts (#4101)
This eliminates a "bounce" at the end of streaming where we hide the
status indicator at the end of the turn and the composer moves up two
lines.

Also, simplify streaming further by removing the HistorySink and
inverting control, and collapsing a few single-element structures.
2025-09-24 11:51:48 -07:00
just-every-code 92c2bfa003 merge(upstream): by-bucket sync into upstream-merge; preserve core tool wiring and TUI; adopt upstream exec improvements where safe
- Keep ours in core: codex.rs, plan_tool.rs, apply_patch.rs (browser/agent/web_fetch tools, ordering, UA/version)
- Harmonize exec session: retain upstream truncation/tests; restore result_into_payload + stable alias
- Resolve conflicts per policy; purge no-op assets
- Verify guards + build-fast.sh: ok, zero warnings
2025-09-24 18:04:15 +00:00
pakrym-oaiandGitHub addc946d13 Simplify tool implemetations (#4160)
Use Result<String, FunctionCallError> for all tool handling code and
rely on error propagation instead of creating failed items everywhere.
2025-09-24 17:27:35 +00:00
just-every-code b4a84a49ba merge(upstream): sync with openai/codex main; build + guards OK
- Resolve merge conflict in codex-rs/Cargo.lock by adopting upstream version (outside prefer-ours globs).
- Add RUSTUP_HOME export in scripts/upstream-merge/verify.sh to avoid CI HOME permission issues during cargo check.
- Verified via scripts/upstream-merge/verify.sh: build-fast OK, API check OK, static guards OK, branding clean.
2025-09-24 17:21:07 +00:00
just-every-code ae71991179 merge(core,apply-patch): adopt upstream apply-patch API; preserve core FS shim and TUI policy
- Merged upstream/main into upstream-merge with policy buckets
- Kept our TUI, CLI, and core openai_tools/codex.rs/agent_tool.rs
- Adopted upstream for apply-patch crate (parser + API)
- Added minimal FileSystem/StdFileSystem shim to apply-patch for core
- Updated core apply_patch + codex to new API
- Adjusted arg0 apply_patch invocation
- Purged reintroduced .github/codex-cli-*.png assets

build-fast.sh: OK (0 errors, no warnings)
2025-09-24 16:57:51 +00:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
bffdbec2c5 chore(deps): bump chrono from 0.4.41 to 0.4.42 in /codex-rs (#4028)
Bumps [chrono](https://github.com/chronotope/chrono) from 0.4.41 to
0.4.42.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/chronotope/chrono/releases">chrono's
releases</a>.</em></p>
<blockquote>
<h2>0.4.42</h2>
<h2>What's Changed</h2>
<ul>
<li>Add fuzzer for DateTime::parse_from_str by <a
href="https://github.com/tyler92"><code>@​tyler92</code></a> in <a
href="https://redirect.github.com/chronotope/chrono/pull/1700">chronotope/chrono#1700</a></li>
<li>Fix wrong amount of micro/milliseconds by <a
href="https://github.com/nmlt"><code>@​nmlt</code></a> in <a
href="https://redirect.github.com/chronotope/chrono/pull/1703">chronotope/chrono#1703</a></li>
<li>Add warning about MappedLocalTime and wasm by <a
href="https://github.com/lutzky"><code>@​lutzky</code></a> in <a
href="https://redirect.github.com/chronotope/chrono/pull/1702">chronotope/chrono#1702</a></li>
<li>Fix incorrect parsing of fixed-length second fractions by <a
href="https://github.com/chris-leach"><code>@​chris-leach</code></a> in
<a
href="https://redirect.github.com/chronotope/chrono/pull/1705">chronotope/chrono#1705</a></li>
<li>Fix cfgs for <code>wasm32-linux</code> support by <a
href="https://github.com/arjunr2"><code>@​arjunr2</code></a> in <a
href="https://redirect.github.com/chronotope/chrono/pull/1707">chronotope/chrono#1707</a></li>
<li>Fix OpenHarmony's <code>tzdata</code> parsing by <a
href="https://github.com/ldm0"><code>@​ldm0</code></a> in <a
href="https://redirect.github.com/chronotope/chrono/pull/1679">chronotope/chrono#1679</a></li>
<li>Convert NaiveDate to/from days since unix epoch by <a
href="https://github.com/findepi"><code>@​findepi</code></a> in <a
href="https://redirect.github.com/chronotope/chrono/pull/1715">chronotope/chrono#1715</a></li>
<li>Add <code>?Sized</code> bound to related methods of
<code>DelayedFormat::write_to</code> by <a
href="https://github.com/Huliiiiii"><code>@​Huliiiiii</code></a> in <a
href="https://redirect.github.com/chronotope/chrono/pull/1721">chronotope/chrono#1721</a></li>
<li>Add <code>from_timestamp_secs</code> method to <code>DateTime</code>
by <a href="https://github.com/jasonaowen"><code>@​jasonaowen</code></a>
in <a
href="https://redirect.github.com/chronotope/chrono/pull/1719">chronotope/chrono#1719</a></li>
<li>Migrate to core::error::Error by <a
href="https://github.com/benbrittain"><code>@​benbrittain</code></a> in
<a
href="https://redirect.github.com/chronotope/chrono/pull/1704">chronotope/chrono#1704</a></li>
<li>Upgrade to windows-bindgen 0.63 by <a
href="https://github.com/djc"><code>@​djc</code></a> in <a
href="https://redirect.github.com/chronotope/chrono/pull/1730">chronotope/chrono#1730</a></li>
<li>strftime: simplify error handling by <a
href="https://github.com/djc"><code>@​djc</code></a> in <a
href="https://redirect.github.com/chronotope/chrono/pull/1731">chronotope/chrono#1731</a></li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/chronotope/chrono/commit/f3fd15f976c8c8e56d97eda6237af4d485ba2297"><code>f3fd15f</code></a>
Bump version to 0.4.42</li>
<li><a
href="https://github.com/chronotope/chrono/commit/5cf56035007f291b1b8f457fa3bfc79fb367419a"><code>5cf5603</code></a>
strftime: add regression test case</li>
<li><a
href="https://github.com/chronotope/chrono/commit/a6231701ee934cbbeb595fe71328fcbbf1b584d5"><code>a623170</code></a>
strftime: simplify error handling</li>
<li><a
href="https://github.com/chronotope/chrono/commit/36fbfb1221da05b1482eb9dd18254e6bd736cb31"><code>36fbfb1</code></a>
strftime: move specifier handling out of match to reduce rightward
drift</li>
<li><a
href="https://github.com/chronotope/chrono/commit/7f413c363b74e293d495dc6109335c02dda9d629"><code>7f413c3</code></a>
strftime: yield None early</li>
<li><a
href="https://github.com/chronotope/chrono/commit/9d5dfe164098186bfff8af7d5eecbb05d7712d4d"><code>9d5dfe1</code></a>
strftime: outline constants</li>
<li><a
href="https://github.com/chronotope/chrono/commit/e5f6be7db4a0c2756cad0a7c8186a5a180873f7a"><code>e5f6be7</code></a>
strftime: move error() method below caller</li>
<li><a
href="https://github.com/chronotope/chrono/commit/d516c2764d74e467fa37e25e8e88d5633478bafa"><code>d516c27</code></a>
strftime: merge impl blocks</li>
<li><a
href="https://github.com/chronotope/chrono/commit/0ee2172fb92df4e0be4cf7a733c860226eec37a0"><code>0ee2172</code></a>
strftime: re-order items to keep impls together</li>
<li><a
href="https://github.com/chronotope/chrono/commit/757a8b0226e9c0a23b5334c7dc0986f1e487b8ac"><code>757a8b0</code></a>
Upgrade to windows-bindgen 0.63</li>
<li>Additional commits viewable in <a
href="https://github.com/chronotope/chrono/compare/v0.4.41...v0.4.42">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=chrono&package-manager=cargo&previous-version=0.4.41&new-version=0.4.42)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-09-24 16:53:26 +00:00