Commit Graph
5175 Commits
Author SHA1 Message Date
James Peter 27ed88a633 test(tui): accept new settings overlay snapshots 2025-11-13 14:32:16 +10:00
James Peter 7219714483 Merge origin/main: adopt remote package metadata 2025-11-13 13:52:53 +10:00
James Peter 26bb270b9c fix(agents): enable external copilot command 2025-11-13 13:43:42 +10:00
James Peter 4dbae974d6 docs: clarify /merge non-destructive update 2025-11-13 08:16:23 +10:00
James Peter d29ba606cb fix(agents): force read-only validation and include alias guides 2025-11-13 06:14:04 +10:00
James Peter a8e5749b91 fix(agents): preserve config fields and keep editor editable 2025-11-13 05:35:54 +10:00
James Peter 969dc67825 fix(agents): preserve config fields and validate per attempt 2025-11-13 04:56:57 +10:00
James Peter f53c8e2722 fix(agents): async validation and reopen editor on failure 2025-11-13 04:39:21 +10:00
James Peter c118da737d fix(agents): allow dots in IDs and abort timed-out smoke tests 2025-11-13 04:06:04 +10:00
James Peter 311d2ce7f1 fix(agents): support write-mode smoke test and filter guides 2025-11-13 03:46:12 +10:00
James Peter 06f7cc60c7 fix(agents): hide gated cloud model in guide 2025-11-13 03:32:45 +10:00
James Peter 59b0d9aef0 fix(agents): avoid nested runtime and restore qwen args 2025-11-13 03:12:37 +10:00
James Peter c8a2a102e9 fix(agents): tighten validation and overlay clamp 2025-11-13 02:35:52 +10:00
James Peter f2b49b4a72 feat(agents): validate new configs with smoke test 2025-11-12 22:09:46 +10:00
James Peter e63646ed50 feat(agents): require descriptions and use custom guides 2025-11-12 21:49:51 +10:00
James Peter c059b69a6e fix(agents): keep navigation within form 2025-11-12 14:12:34 +10:00
James Peter 798c2a0b33 fix(agents): keep new agent form when empty 2025-11-12 13:52:55 +10:00
James Peter 3607cd3194 feat(agents): allow custom agent additions 2025-11-12 13:40:54 +10:00
James Peter a4d6699009 tui(agents): hide hint when description visible 2025-11-12 13:20:40 +10:00
James Peter 7ee2ca16e5 qwen model tweak 2025-11-12 13:17:24 +10:00
James Peter a228432012 fix(qwen): clear OPENAI_API_KEY 2025-11-12 13:14:59 +10:00
James Peter 1b78f5cb70 feat(agents): surface descriptions in settings 2025-11-12 13:07:25 +10:00
James Peter 3da2823748 refactor(agent-models): canonicalize model guide 2025-11-12 12:51:12 +10:00
James Peter 97cd41890e added gpt-5-mini agent 2025-11-12 11:56:54 +10:00
James Peter 5a127efd94 improve compaction 2025-11-12 11:06:32 +10:00
James Peter 52bfedd15f fixes 2025-11-11 11:53:01 +10:00
James Peter cc1478ee74 fix(tui/browser): decouple screenshot gating from submit 2025-11-10 17:01:36 +10:00
James Peter ad6c163b1b fix(browser): pause screenshots instead of blocking 2025-11-10 10:57:32 +10:00
James Peter 105219c9ce fix(browser): auto stop idle browser 2025-11-10 08:49:41 +10:00
GitHub Action b7e0457c32 chore(release): 0.4.12 [skip ci] v0.4.12 2025-11-08 15:05:56 +00:00
James Peter 60ee656c15 test(tui): update browser session snapshot 2025-11-09 00:47:44 +10:00
James Peter b309129dde Merge origin/main: adopt v0.4.11 release metadata 2025-11-09 00:13:47 +10:00
James Peter 9f1dff317d compact update 2025-11-09 00:08:19 +10:00
James Peter 26ba48e29b fix(core/compact): sync compaction prompt with upstream 2025-11-08 15:19:33 +10:00
James Peter 38c6dbca62 prompt tweaks 2025-11-08 14:10:05 +10:00
James Peter fb31082dea row spacer 2025-11-08 13:46:19 +10:00
James Peter 9b1506d9bd fix(auto-drive): shorten rate-limit waits 2025-11-08 11:50:47 +10:00
James Peter 51b5ea070b fix(tui/browser): keep foreign background events out of console 2025-11-08 10:56:03 +10:00
GitHub Action a959a8c151 docs(changelog): update for v0.4.11 [skip ci] 2025-11-07 22:46:24 +00:00
GitHub Action d7c308c20f chore(release): 0.4.11 [skip ci] v0.4.11 2025-11-07 22:41:41 +00:00
James Peter ef6952a6c5 test(tui): refresh settings help overlay snapshots 2025-11-08 08:22:37 +10:00
James Peter 730fdaf963 Merge remote-tracking branch 'origin/main' into main 2025-11-08 08:01:37 +10:00
James Peter 0a7d0be5a8 chore(upstream): virtual sync with codex-rs (196c342ba) 2025-11-08 07:58:56 +10:00
James Peter c67051ded7 docs(upstream): record parity through c76528ca1 2025-11-08 07:58:52 +10:00
James Peter d3542eaabe feat(model): add gpt-5-codex-mini presets 2025-11-08 07:57:41 +10:00
196c342ba5 [SDK] Add network_access and web_search options to TypeScript SDK (#6367)
## Summary

This PR adds two new optional boolean fields to `ThreadOptions` in the
TypeScript SDK:

- **`networkAccess`**: Enables network access in the sandbox by setting
`sandbox_workspace_write.network_access` config
- **`webSearch`**: Enables the web search tool by setting
`tools.web_search` config

These options map to existing Codex configuration options and are
properly threaded through the SDK layers:
1. `ThreadOptions` (threadOptions.ts) - User-facing API
2. `CodexExecArgs` (exec.ts) - Internal execution args  
3. CLI flags via `--config` in the `codex exec` command

## Changes

- `sdk/typescript/src/threadOptions.ts`: Added `networkAccess` and
`webSearch` fields to `ThreadOptions` type
- `sdk/typescript/src/exec.ts`: Added fields to `CodexExecArgs` and CLI
flag generation
- `sdk/typescript/src/thread.ts`: Pass options through to exec layer

## Test Plan

- [x] Build succeeds (`pnpm build`)
- [x] Linter passes (`pnpm lint`)
- [x] Type definitions are properly exported
- [ ] Manual testing with sample code (to be done by reviewer)

---------

Co-authored-by: Claude <[email protected]>
2025-11-07 13:19:34 -08:00
James Peter 6274142e38 chore(upstream): virtual sync with codex-rs (3cc05ddf0) 2025-11-08 06:55:41 +10:00
James Peter 4a24f12bff docs(upstream): record parity through 2030b2808
Document that upstream tip is openai/codex@2030b2808 (Nov 7 2025) while code-rs/main currently includes upstream through 759bca2f9 (Oct 27 2025).
2025-11-08 06:23:17 +10:00
Michael BolinandGitHub c79a3ac9a9 feat: add --promote-alpha option to create_github_release script (#6370)
Historically, running `create_github_release --publish-release` would
always publish a new release from latest `main`, which isn't always the
best idea. We should really publish an alpha, let it bake, and then
promote it.

This PR introduces a new flag, `--promote-alpha`, which does exactly
that. It also works with `--dry-run`, so you can sanity check the commit
it will use as the base commit for the new release before running it for
real.

```shell
$ ./codex-rs/scripts/create_github_release --dry-run --promote-alpha 0.56.0-alpha.2
Publishing version 0.56.0
Running gh api GET /repos/openai/codex/git/refs/tags/rust-v0.56.0-alpha.2
Running gh api GET /repos/openai/codex/git/tags/7d4ef77bc35b011aa0c76c5cbe6cd7d3e53f1dfe
Running gh api GET /repos/openai/codex/compare/main...8b49211e67d3c863df5ecc13fc5f88516a20fa69
Would publish version 0.56.0 using base commit 915bc09f74 derived from rust-v0.56.0-alpha.2.
```
2025-11-07 20:05:22 +00:00
Jeremy RoseandGitHub 468ed06c79 tui: add comments to tui.rs (#6369) 2025-11-07 18:17:52 +00:00