Commit Graph
10690 Commits
Author SHA1 Message Date
Michael Bolin 11bdc7eff3 merge commit for archive created by Sapling 2026-03-30 17:35:57 -07:00
Michael Bolin 218221b9f2 core: support dynamic auth tokens for model providers 2026-03-30 17:35:48 -07:00
Michael Bolin 1ec469265f merge commit for archive created by Sapling 2026-03-30 17:33:27 -07:00
Michael Bolin 0c6a595d1d auth: let AuthManager own external bearer auth 2026-03-30 17:33:19 -07:00
Michael Bolin d6c965ac5e core: support dynamic auth tokens for model providers 2026-03-30 17:33:19 -07:00
Michael Bolin 86131560f0 merge commit for archive created by Sapling 2026-03-30 17:24:40 -07:00
Michael Bolin 4e7d4648ef auth: generalize external auth tokens for bearer-only sources 2026-03-30 17:24:10 -07:00
Michael Bolin c0dac22598 core: support dynamic auth tokens for model providers 2026-03-30 17:24:10 -07:00
Michael Bolin 3da331840c auth: let AuthManager own external bearer auth 2026-03-30 17:24:10 -07:00
Michael Bolin 4b438b7b82 Merge c1c63e8f83 into sapling-pr-archive-bolinfest 2026-03-30 16:56:54 -07:00
Michael Bolin c1c63e8f83 core: support dynamic auth tokens for model providers 2026-03-30 16:55:43 -07:00
Michael Bolin 0cca7998a8 merge commit for archive created by Sapling 2026-03-30 16:51:54 -07:00
Michael Bolin 770ed064cf core: support dynamic auth tokens for model providers 2026-03-30 16:51:30 -07:00
Michael Bolin 4127419694 auth: let AuthManager own external bearer auth 2026-03-30 16:27:55 -07:00
Michael Bolin b397919da1 auth: generalize external auth tokens for bearer-only sources 2026-03-30 16:20:45 -07:00
Michael Bolin 2f37a8058d merge commit for archive created by Sapling 2026-03-30 15:41:21 -07:00
Michael Bolin 7c5ddebcae core: support dynamic auth tokens for model providers 2026-03-30 15:41:07 -07:00
Michael Bolin e953180be9 auth: generalize ExternalAuthTokens for bearer-only refreshers 2026-03-30 15:40:51 -07:00
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