Skip to content

feat: add unified plugin marketplace - #7134

Closed
zortos293 wants to merge 24 commits into
pingdotgg:mainfrom
zortos293:t3code/build-unified-marketplace-prototype
Closed

zortos293 wants to merge 24 commits into
pingdotgg:mainfrom
zortos293:t3code/build-unified-marketplace-prototype

Conversation

@zortos293

@zortos293 zortos293 commented Aug 15, 2026 •

Copy link
Copy Markdown
Contributor

What Changed

  • Adds a unified Plugins marketplace to Settings, the command palette, and the desktop sidebar.
  • Normalizes Codex, Claude Code, and Cursor marketplace entries into one environment-scoped contract while preserving each provider's native installation model.
  • Groups equivalent packages across harnesses, presents provider support badges and real package metadata, and exposes MCP servers, skills, apps, commands, subagents, hooks, rules, and language servers in a settings-style detail view.
  • Supports per-harness install and removal for Codex and Claude, delegates Cursor changes to Cursor, and verifies Codex removal against the native runtime before reporting success.
  • Adds native remote-HTTP MCP authentication state and controls: Codex OAuth through app-server, Claude's browser/callback flow, and externally managed Cursor authentication. Credentials remain in each provider's native store; stdio servers are excluded.
  • Resolves enabled skills from explicitly mentioned installed Codex plugins when a turn starts, so a newly installed package is usable in a new chat.
  • Adds the macOS Automation description and entitlement required by the Computer Use permission setup.
  • Documents the marketplace, installation semantics, package inventory, and MCP authentication behavior.

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:
image

Plugins page
image

Plugin details
image

Oauth authentication
image

Package information
image

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 passed
  • pnpm --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 passed
  • pnpm exec vp test run apps/desktop/scripts/electron-launcher.test.mjs — 5 passed
  • Changed desktop packaging cases — 2 passed
  • Contracts, web, and desktop typechecks passed
  • Integrated desktop pass covered marketplace routing/back navigation, search and filters, multi-harness details, native MCP status, and five-item package expansion

The full desktop-artifact file has one existing Apple-Silicon-local failure in the unrelated skips the primary native probe for cross-architecture Windows payloads test. The Windows probe implementation is unchanged from upstream; the two macOS packaging cases changed here pass.

Checklist

  • This PR is small and focused
  • I explained what changed and why
  • I included before/after screenshots for any UI changes
  • I included a video for animation/interaction changes

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 McpOAuthRuntime for provider-native remote MCP auth—Codex via app-server OAuth login, Claude via mcp login and 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

  • Adds a full plugin marketplace UI at /settings/plugins with search, harness/kind/category filtering, discovery sections, and per-plugin detail pages via PluginMarketplace and PluginDetail components.
  • Exposes new authenticated HTTP API endpoints under /api/plugins for catalog, detail, logo, install/remove/setup, and MCP OAuth start/complete/disconnect flows defined in packages/contracts/src/pluginMarketplace.ts.
  • Introduces 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.
  • Adds usePluginMarketplaceStore (Zustand) to manage catalog loading, search, per-plugin detail caching, and install/uninstall with in-flight request deduplication.
  • Extends makeCodexSessionRuntime to resolve $-mention plugin skills from a user's prompt and inject them as skill inputs into Codex turn start parameters.
  • Adds sidebar footer and command palette entries for quick navigation to the plugin marketplace.
  • Risk: MCP OAuth for Cursor is explicitly unsupported and will return an error; Codex plugin skill resolution failures are logged and silently skipped rather than surfacing errors to the user.

Macroscope summarized 731d43d.

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:XXL 1,000+ changed lines (additions + deletions). vouch:unvouched Author is not yet trusted in the VOUCHED list.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants