Repository navigation
Conversation
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.
What Changed
Why
T3 Code users currently have to discover, inspect, and manage extensions independently in each provider. The providers expose different catalog schemas, installation identifiers, package layouts, and authentication commands, so there was no shared model the clients could render without flattening away provider-specific behavior.
This change keeps that complexity at the server adapter boundary. The web client consumes one typed environment API, while Codex, Claude, and Cursor continue to own their installation and credential stores. That makes the marketplace usable through local, desktop-hosted, and remote environments without copying OAuth tokens into T3 state.
The PR is intentionally opened as a draft because this is a large vertical slice. The implementation stays scoped to plugin discovery, package inspection, provider-native lifecycle management, authentication, and making installed Codex skills available to turns. Maintainer direction on decomposition is welcome before review for merge.
UI Changes
After:

Plugins page

Plugin details

Oauth authentication

Package information

Validation
pnpm --dir apps/server exec vitest run src/plugins/McpOAuthRuntime.test.ts src/plugins/CodexPluginMarketplace.test.ts src/provider/Layers/CodexSessionRuntime.test.ts src/server.test.ts— 166 passedpnpm --dir apps/web exec vitest run src/components/settings/pluginMarketplace/PluginMarketplacePresentation.test.tsx src/pluginMarketplace/filter.test.ts src/pluginMarketplace/store.test.ts src/components/settings/settingsSearch.test.ts— 19 passedpnpm exec vp test run apps/desktop/scripts/electron-launcher.test.mjs— 5 passedThe full desktop-artifact file has one existing Apple-Silicon-local failure in the unrelated
skips the primary native probe for cross-architecture Windows payloadstest. The Windows probe implementation is unchanged from upstream; the two macOS packaging cases changed here pass.Checklist
Generated with GPT-5.6 using the Codex harness.
Note
High Risk
Large new surface area spanning subprocess/CLI orchestration, OAuth callback handling, and macOS codesigning/entitlements; mistakes could affect install state, auth flows, or local dev bundle security posture.
Overview
Adds a server-side unified plugin marketplace that merges Codex, Claude Code, and Cursor catalogs into one environment API: catalog/detail/logo, install/remove via native CLIs (with a separate Codex app-server runtime for curated-remote plugins), GitHub/Cursor HTML remote previews, sanitized metadata, and Computer Use macOS setup that opens the bundled app and System Settings.
Introduces
McpOAuthRuntimefor provider-native remote MCP auth—Codex via app-server OAuth login, Claude viamcp loginand callback validation, Cursor reported as externally managed—with strict callback URL/state checks.On desktop macOS dev, replaces the shell Electron launcher with a compiled C stub (
execv), adds Apple Events usage text and dev entitlements, and ad-hoc codesigns nested frameworks and the app bundle so Automation permissions work for Computer Use.Reviewed by Cursor Bugbot for commit 328b8da. Configure here.
Note
Add unified plugin marketplace with catalog browsing, MCP OAuth flows, and plugin skill injection
/settings/pluginswith search, harness/kind/category filtering, discovery sections, and per-plugin detail pages viaPluginMarketplaceandPluginDetailcomponents./api/pluginsfor catalog, detail, logo, install/remove/setup, and MCP OAuth start/complete/disconnect flows defined inpackages/contracts/src/pluginMarketplace.ts.McpOAuthRuntime, a DI service that orchestrates OAuth login sessions against Codex, Claude Code, and Cursor CLIs/app-server, with typed error classes and per-provider status parsing.usePluginMarketplaceStore(Zustand) to manage catalog loading, search, per-plugin detail caching, and install/uninstall with in-flight request deduplication.makeCodexSessionRuntimeto resolve$-mention plugin skills from a user's prompt and inject them asskillinputs into Codex turn start parameters.Macroscope summarized 731d43d.