A readable TypeScript monorepo for local Chromium control from Codex on Linux. It contains only the new bridge implementation; the extracted Web Store extension is not imported or modified.
packages/extension— MV3 Chromium extension usingchrome.debuggerand native messaging.packages/mcp— authenticated Unix-socket broker, native host, MCP server, and origin policy.packages/plugin— Codex plugin metadata, browser skill, artifact assembly, and local installer.
Dependency versions are centralized in the named runtime and tooling catalogs in
pnpm-workspace.yaml.
- Start with
docs/index.mdfor architecture, installation, tools, protocol, security, development, and troubleshooting. - Use
skills/chrome-browserfor safe browser operation. - Use
skills/chromex-developmentfor workspace maintenance and plugin updates.
pnpm install
pnpm verifyBuild outputs:
packages/extension/dist— load this directory fromchrome://extensionsin Developer mode.packages/plugin/dist/chrome-browser-bridge— personal Codex plugin artifact.
After building, run pnpm install:local. The installer copies the assembled plugin to
~/plugins/chrome-browser-bridge, preserves or creates a user-only bridge token, and registers the
Chromium native-messaging host.
The extension ID is enbcklgjkjddndpkedgfhoeagcbogfdb. Loopback sites and about:blank are
allowed automatically. Every other page is hidden until its exact origin is explicitly allowed.