Skip to content

Allow injecting the Codex Apps tools cache - #33113

Merged
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/f52f4f27c425a8d84ad0d0987b30a6fc3c14d702
Jul 14, 2026
Merged

Allow injecting the Codex Apps tools cache#33113
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/f52f4f27c425a8d84ad0d0987b30a6fc3c14d702

Conversation

@copyberry

@copyberry copyberry Bot commented Jul 14, 2026

Copy link
Copy Markdown

Allow injecting the Codex Apps tools cache

What changed

  • Accept a caller-provided CodexAppsToolsCache when constructing a ThreadManager and pass it through to the MCP manager.
  • Add ConnectorRuntimeManager::new_without_cache() for an in-memory runtime that neither loads nor persists connector state on disk.
  • Re-export CodexAppsToolsCache from codex-core and codex-core-api for embedders.

Testing

  • Verify that a cache-disabled connector runtime ignores existing disk state and publishes live tools without creating cache files.

## What changed

- Accept a caller-provided `CodexAppsToolsCache` when constructing a `ThreadManager` and pass it through to the MCP manager.
- Add `ConnectorRuntimeManager::new_without_cache()` for an in-memory runtime that neither loads nor persists connector state on disk.
- Re-export `CodexAppsToolsCache` from `codex-core` and `codex-core-api` for embedders.

## Testing

- Verify that a cache-disabled connector runtime ignores existing disk state and publishes live tools without creating cache files.

GitOrigin-RevId: f52f4f27c425a8d84ad0d0987b30a6fc3c14d702
@copyberry
copyberry Bot force-pushed the copyberry/codex-internal-to-codex-oss/f52f4f27c425a8d84ad0d0987b30a6fc3c14d702 branch from e823dab to 8604689 Compare July 14, 2026 17:11
@copyberry
copyberry Bot merged commit 8604689 into main Jul 14, 2026
14 of 32 checks passed
@copyberry
copyberry Bot deleted the copyberry/codex-internal-to-codex-oss/f52f4f27c425a8d84ad0d0987b30a6fc3c14d702 branch July 14, 2026 17:12
@github-actions github-actions Bot locked and limited conversation to collaborators Jul 14, 2026
@rrha
rrha temporarily deployed to issue-triage July 14, 2026 17:19 — with GitHub Actions Inactive
@rrha
rrha temporarily deployed to issue-triage July 14, 2026 17:19 — with GitHub Actions Inactive
@rrha
rrha temporarily deployed to issue-triage July 14, 2026 17:19 — with GitHub Actions Inactive
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants