[codex] Add extension tool contract catalog - #205
Draft
MiguelsPizza wants to merge 10 commits into
Draft
Conversation
MiguelsPizza
force-pushed
the
codex/extension-tools-direct-actions
branch
from
May 8, 2026 00:04
940de3b to
873a98f
Compare
MiguelsPizza
force-pushed
the
codex/extension-tools-direct-actions
branch
4 times, most recently
from
May 8, 2026 15:28
286d0c3 to
1b7232e
Compare
MiguelsPizza
force-pushed
the
codex/extension-tools-direct-actions
branch
from
May 8, 2026 15:30
1b7232e to
bba8de8
Compare
MiguelsPizza
force-pushed
the
codex/extension-tools-direct-actions
branch
from
May 8, 2026 17:35
bba8de8 to
4823286
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds side-effect-free, MCP-complete contract exports for the direct-action
@mcp-b/extension-toolssurface covering bookmarks, history, storage, tab groups, tabs, and windows.What changed
@mcp-b/extension-tools/contractsplus targeted group subpaths.mcp-b/extension-toolsmetadata.Validation
pnpm --filter @mcp-b/extension-tools run checkpnpm --filter @mcp-b/extension-tools testpnpm --filter @mcp-b/extension-tools run typecheckpnpm --filter @mcp-b/extension-tools run buildpnpm --filter @mcp-b/extension-tools run test:e2enode --input-type=module -e "delete globalThis.chrome; const m = await import('./packages/extension-tools/dist/contracts/index.js'); console.log(m.EXTENSION_TOOL_CONTRACTS.length);"Notes
This completes the contract/source-of-truth work for the current direct-action Chrome tool groups. The remaining generated Chrome API wrappers still use their existing registration style and should be migrated with the same contract pattern in follow-up slices.