Commit Graph
10672 Commits
Author SHA1 Message Date
Michael Bolin e9eff3f36d merge commit for archive created by Sapling 2026-03-30 15:12:22 -07:00
Michael Bolin 0110a82808 core: support dynamic auth tokens for model providers 2026-03-30 15:12:15 -07:00
Michael Bolin 6475f6e229 merge commit for archive created by Sapling 2026-03-30 14:41:48 -07:00
Michael Bolin 84ed96f3f7 core: support dynamic auth tokens for model providers 2026-03-30 14:41:33 -07:00
Michael Bolin f06f0a7f3e auth: generalize ExternalAuthTokens for bearer-only refreshers 2026-03-30 14:32:02 -07:00
Michael Bolin db6c7f9c4c merge commit for archive created by Sapling 2026-03-30 14:02:46 -07:00
Michael Bolin d4cf2faae8 core: unify request auth and 401 recovery plumbing 2026-03-30 14:02:34 -07:00
Michael Bolin 056d9e482b core: support dynamic auth tokens for model providers 2026-03-30 14:02:34 -07:00
Michael Bolin 19c6336f57 Merge c75c3ab31a into sapling-pr-archive-bolinfest 2026-03-30 13:59:58 -07:00
Michael Bolin c75c3ab31a core: support dynamic auth tokens for model providers 2026-03-30 13:59:49 -07:00
Michael Bolin 65a3e63f1c core: unify request auth and 401 recovery plumbing 2026-03-30 13:59:49 -07:00
Michael Bolin 47954f929e merge commit for archive created by Sapling 2026-03-30 13:59:22 -07:00
Michael Bolin 46c6201955 core: support dynamic auth tokens for model providers 2026-03-30 13:59:02 -07:00
Michael Bolin 99f4516bac core: unify request auth and 401 recovery plumbing 2026-03-30 13:59:02 -07:00
Michael Bolin a18f9c883f Merge bcacd8dc8a into sapling-pr-archive-bolinfest 2026-03-30 13:50:09 -07:00
Michael Bolin bcacd8dc8a core: support dynamic auth tokens for model providers 2026-03-30 13:49:43 -07:00
Michael Bolin 74fb048777 core: unify request auth and 401 recovery plumbing 2026-03-30 13:49:13 -07:00
Michael Bolin dd2520cd06 merge commit for archive created by Sapling 2026-03-30 13:20:36 -07:00
Michael Bolin 807527f9e7 core: support dynamic auth tokens for model providers 2026-03-30 13:20:28 -07:00
Michael Bolin 1ac9b70fd4 merge commit for archive created by Sapling 2026-03-30 12:47:07 -07:00
Michael Bolin f0677065e2 add support for dynamic auth token for model provider 2026-03-30 12:46:44 -07:00
Michael Bolin da3f36bca7 Merge be08ad0e4b into sapling-pr-archive-bolinfest 2026-03-30 12:13:13 -07:00
Michael Bolin be08ad0e4b add support for dynamic auth token for model provider 2026-03-30 12:13:05 -07:00
Michael Bolin 0822eddb34 merge commit for archive created by Sapling 2026-03-30 11:40:57 -07:00
Michael Bolin cb2f809c0a fix: address coverage gap in argument-comment-lint 2026-03-30 11:40:51 -07:00
Michael Bolin 0532d91efd merge commit for archive created by Sapling 2026-03-30 11:35:59 -07:00
Michael Bolin 172ae48e90 fix: address coverage gap in argument-comment-lint 2026-03-30 11:35:53 -07:00
Michael Bolin 68935eaae7 merge commit for archive created by Sapling 2026-03-30 11:11:02 -07:00
Michael Bolin 481dcac051 fix: address coverage gap in argument-comment-lint 2026-03-30 11:10:52 -07:00
Michael Bolin f56789fd70 Merge 81ac8343be into sapling-pr-archive-bolinfest 2026-03-30 10:57:25 -07:00
Michael Bolin 81ac8343be fix: address coverage gap in argument-comment-lint 2026-03-30 10:57:21 -07:00
Michael Bolin 258ba436f1 codex-tools: extract discoverable tool models (#16254)
## Why

`#16193` moved the pure `tool_search` and `tool_suggest` spec builders
into `codex-tools`, but `codex-core` still owned the shared
discoverable-tool model that those builders and the `tool_suggest`
runtime both depend on. This change continues the migration by moving
that reusable model boundary out of `codex-core` as well, so the
discovery/suggestion stack uses one shared set of types and
`core/src/tools` no longer needs its own `discoverable.rs` module.

## What changed

- Moved `DiscoverableTool`, `DiscoverablePluginInfo`, and
`filter_tool_suggest_discoverable_tools_for_client()` into
`codex-rs/tools/src/tool_discovery.rs` alongside the extracted
discovery/suggestion spec builders.
- Added `codex-app-server-protocol` as a `codex-tools` dependency so the
shared discoverable-tool model can own the connector-side `AppInfo`
variant directly.
- Updated `core/src/tools/handlers/tool_suggest.rs`,
`core/src/tools/spec.rs`, `core/src/tools/router.rs`,
`core/src/connectors.rs`, and `core/src/codex.rs` to consume the shared
`codex-tools` model instead of the old core-local declarations.
- Changed `core/src/plugins/discoverable.rs` to return
`DiscoverablePluginInfo` directly, moved the pure client-filter coverage
into `tool_discovery_tests.rs`, and deleted the old
`core/src/tools/discoverable.rs` module.
- Updated `codex-rs/tools/README.md` so the crate boundary documents
that `codex-tools` now owns the discoverable-tool models in addition to
the discovery/suggestion spec builders.

## Test plan

- `cargo test -p codex-tools`
- `CARGO_TARGET_DIR=/tmp/codex-core-discoverable-model cargo test -p
codex-core --lib tools::handlers::tool_suggest::`
- `CARGO_TARGET_DIR=/tmp/codex-core-discoverable-model cargo test -p
codex-core --lib tools::spec::`
- `CARGO_TARGET_DIR=/tmp/codex-core-discoverable-model cargo test -p
codex-core --lib plugins::discoverable::`
- `just bazel-lock-check`
- `just argument-comment-lint`

## References

- #16193
- #16154
- #15923
- #15928
- #15944
- #15953
- #16031
- #16047
- #16129
- #16132
- #16138
- #16141
2026-03-30 10:48:49 -07:00
Michael Bolin 72e2ebb96b merge commit for archive created by Sapling 2026-03-30 10:46:55 -07:00
Michael Bolin ed35242bd3 fix: address coverage gap in argument-comment-lint 2026-03-30 10:46:48 -07:00
Michael Bolin 8cdd2027d4 merge commit for archive created by Sapling 2026-03-30 10:40:01 -07:00
Michael Bolin 8928ca61a3 fix: address coverage gap in argument-comment-lint 2026-03-30 10:39:51 -07:00
Michael Bolin ad5b400f9d Merge 3062345125 into sapling-pr-archive-bolinfest 2026-03-30 10:25:46 -07:00
Michael Bolin 3062345125 fix: address coverage gap in argument-comment-lint 2026-03-30 10:25:42 -07:00
Michael Bolin 45a651e880 Merge fc496ed698 into sapling-pr-archive-bolinfest 2026-03-30 08:58:57 -07:00
Michael Bolin d309430f49 Merge 7791ad5c24 into sapling-pr-archive-bolinfest 2026-03-30 08:57:24 -07:00
Michael Bolin 7791ad5c24 fix: address coverage gap in argument-comment-lint 2026-03-30 08:57:16 -07:00
Michael Bolin fe63844e42 Merge 8423981666 into sapling-pr-archive-bolinfest 2026-03-30 08:50:40 -07:00
Michael Bolin 8423981666 fix: address coverage gap in argument-comment-lint 2026-03-30 08:50:31 -07:00
Michael Bolin fc496ed698 codex-tools: extract discoverable tool models 2026-03-30 08:42:23 -07:00
Michael Bolin 716f7b0428 codex-tools: extract discovery tool specs (#16193)
## Why

`core/src/tools/spec.rs` still owned the pure `tool_search` and
`tool_suggest` spec builders even though that logic no longer needed
`codex-core` runtime state. This change continues the `codex-tools`
migration by moving the reusable discovery and suggestion spec
construction out of `codex-core` so `spec.rs` is left with the
core-owned policy decisions about when these tools are exposed and what
metadata is available.

## What changed

- Added `codex-rs/tools/src/tool_discovery.rs` with the shared
`tool_search` and `tool_suggest` spec builders, plus focused unit tests
in `tool_discovery_tests.rs`.
- Moved the shared `DiscoverableToolAction` and `DiscoverableToolType`
declarations into `codex-tools` so the `tool_suggest` handler and the
extracted spec builders use the same wire-model enums.
- Updated `core/src/tools/spec.rs` to translate `ToolInfo` and
`DiscoverableTool` values into neutral `codex-tools` inputs and delegate
the actual spec building there.
- Removed the old template-based description rendering helpers from
`core/src/tools/spec.rs` and deleted the now-dead helper methods in
`core/src/tools/discoverable.rs`.
- Updated `codex-rs/tools/README.md` to document that discovery and
suggestion models/spec builders now live in `codex-tools`.

## Test plan

- `cargo test -p codex-tools`
- `CARGO_TARGET_DIR=/tmp/codex-core-discovery-specs cargo test -p
codex-core --lib tools::spec::`
- `CARGO_TARGET_DIR=/tmp/codex-core-discovery-specs cargo test -p
codex-core --lib tools::handlers::tool_suggest::`
- `just argument-comment-lint`

## References

- #16154
- #15923
- #15928
- #15944
- #15953
- #16031
- #16047
- #16129
- #16132
- #16138
- #16141
2026-03-30 08:15:12 -07:00
jif-oai c74190a622 fix: ma1 (#16237) 2026-03-30 15:42:17 +02:00
jif-oai 213756c9ab feat: add mailbox concept for wait (#16010)
Add a mailbox we can use for inter-agent communication
`wait` is now based on it and don't take target anymore
2026-03-30 11:47:20 +02:00
Eric Traut bb95ec3ec6 [codex] Normalize Windows path in MCP startup snapshot test (#16204)
## Summary
A Windows-only snapshot assertion in the app-server MCP startup warning
test compared the raw rendered path, so CI saw `C:\tmp\project` instead
of the normalized `/tmp/project` snapshot fixture.

## Fix
Route that snapshot assertion through the existing
`normalize_snapshot_paths(...)` helper so the test remains
platform-stable.
2026-03-29 17:54:17 -06:00
Michael Bolin ea5b616bed merge commit for archive created by Sapling 2026-03-29 14:48:13 -07:00
Michael Bolin 20c7b1d854 codex-tools: extract discovery tool specs 2026-03-29 14:48:00 -07:00