Open-source Grok Bot alternative for named AI teammates. Local-first desktop, web, and mobile clients with per-bot tools, instructions, and memory. Independent fork of T3 Code.
feat(plugins): ship the curated plugin directory (#20)
Leo98480c5c295b
diff --git a/.depot/workflows/ci.yml b/.depot/workflows/ci.ymlindex b73bfb577..11f09ee57 100644--- a/.depot/workflows/ci.yml+++ b/.depot/workflows/ci.yml@@ -60,6 +60,9 @@ jobs:- name: Ensure Electron runtime is installedrun: vp run --filter @t3tools/desktop ensure:electron+ - name: Validate plugin catalog+ run: node scripts/validate-plugin-catalog.ts+- name: Lintrun: vp run lintdiff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.ymlindex 3ba13e0ce..f39a5640e 100644--- a/.github/ISSUE_TEMPLATE/config.yml+++ b/.github/ISSUE_TEMPLATE/config.yml@@ -1 +1,8 @@blank_issues_enabled: false+contact_links:+ - name: Feature request+ url: https://github.com/pingdotgg/t3code/discussions/categories/ideas+ about: Suggest an improvement or new capability in Discussions.+ - name: Custom MCP setup+ url: https://github.com/opencoredev/akeru-bot/blob/main/docs/user/plugins.md+ about: Connect an experimental, duplicate, generic, or narrow MCP server without a directory proposal.diff --git a/.github/ISSUE_TEMPLATE/plugin_proposal.yml b/.github/ISSUE_TEMPLATE/plugin_proposal.ymlnew file mode 100644index 000000000..e47c64c66--- /dev/null+++ b/.github/ISSUE_TEMPLATE/plugin_proposal.yml@@ -0,0 +1,106 @@+name: Plugin proposal+description: Propose an MCP plugin for the curated Akeru Bot directory.+title: "[Plugin]: "+labels:+ - "type:plugin"+ - "status:needs-triage"+body:+ - type: markdown+ attributes:+ value: |+ Read the [admission rules](https://github.com/opencoredev/akeru-bot/blob/main/plugins/README.md) first. A valid manifest does not guarantee acceptance.+ Use Custom MCP for experimental apps, wrappers, duplicates, and narrow utilities.++ - type: input+ id: product+ attributes:+ label: Product and publisher+ description: Name the product, accountable publisher, and public publisher URL.+ placeholder: Acme Search, published by Acme Inc., https://acme.example+ validations:+ required: true++ - type: textarea+ id: demand+ attributes:+ label: Active use and request+ description: Link evidence of active use and the real user or maintainer request for this integration.+ validations:+ required: true++ - type: textarea+ id: akeru_job+ attributes:+ label: Akeru Bot job+ description: Describe one specific job this plugin completes in Akeru Bot.+ validations:+ required: true++ - type: textarea+ id: mcp_ownership+ attributes:+ label: MCP ownership+ description: Link the official MCP server, or explain why its maintained source and owner are trusted.+ validations:+ required: true++ - type: textarea+ id: lifecycle+ attributes:+ label: Add and remove test+ description: Give repeatable steps to add, connect, use, disable, re-enable, and remove the plugin.+ validations:+ required: true++ - type: textarea+ id: logo+ attributes:+ label: Logo provenance+ description: Link the official light and dark logo sources and state the license or permission to use them.+ validations:+ required: true++ - type: input+ id: documentation+ attributes:+ label: Current documentation+ description: Link current setup and reference documentation.+ placeholder: https://docs.example.com/mcp+ validations:+ required: true++ - type: dropdown+ id: health+ attributes:+ label: Current connection health+ description: Choose the state that works today. Explain an approval blocker below.+ options:+ - available+ - approval-pending+ - deprecated+ validations:+ required: true++ - type: textarea+ id: blocker+ attributes:+ label: Health evidence and approval blocker+ description: Link the latest connection evidence. If health is approval-pending, name the vendor approval or access that blocks a real connection.+ validations:+ required: true++ - type: textarea+ id: permissions+ attributes:+ label: Permissions and approvals+ description: List each permission. Mark read-only actions as read. Mark every applicable send, pay, delete, production, secrets, publishing, signatures, refunds, and account-wide action for approval.+ validations:+ required: true++ - type: checkboxes+ id: credential_safety+ attributes:+ label: Credential safety+ options:+ - label: The manifest contains no token or secret, and the MCP server does not require Akeru Bot to export a provider token or secret.+ required: truediff --git a/.github/ISSUE_TEMPLATE/provider_proposal.yml b/.github/ISSUE_TEMPLATE/provider_proposal.ymlnew file mode 100644index 000000000..6c966abcf--- /dev/null+++ b/.github/ISSUE_TEMPLATE/provider_proposal.yml@@ -0,0 +1,104 @@+name: Provider proposal+description: Propose an agent provider for Akeru Bot.+title: "[Provider]: "+labels:+ - "type:provider"+ - "status:needs-triage"+body:+ - type: markdown+ attributes:+ value: |+ A provider needs a maintained runtime, a specific Akeru Bot job, and a testable connection lifecycle.+ Describe what works today. Do not include tokens or secrets.++ - type: input+ id: provider+ attributes:+ label: Provider and publisher+ description: Name the provider, accountable publisher, and public publisher URL.+ validations:+ required: true++ - type: textarea+ id: demand+ attributes:+ label: Active use and request+ description: Link evidence of active use and the real user or maintainer request for this provider.+ validations:+ required: true++ - type: textarea+ id: akeru_job+ attributes:+ label: Akeru Bot job+ description: Describe one specific job this provider completes in Akeru Bot.+ validations:+ required: true++ - type: textarea+ id: runtime+ attributes:+ label: Official runtime+ description: Link the official CLI, agent runtime, protocol documentation, and maintained source when public.+ validations:+ required: true++ - type: textarea+ id: lifecycle+ attributes:+ label: Add and remove test+ description: Give repeatable steps to install, authenticate, start a turn, reconnect, sign out, and remove the provider.+ validations:+ required: true++ - type: textarea+ id: logo+ attributes:+ label: Logo provenance+ description: Link the official light and dark logo sources and state the license or permission to use them.+ validations:+ required: true++ - type: input+ id: documentation+ attributes:+ label: Current documentation+ description: Link current installation, authentication, and runtime documentation.+ validations:+ required: true++ - type: dropdown+ id: health+ attributes:+ label: Current connection health+ description: Choose the state that works today. Explain an approval blocker below.+ options:+ - available+ - approval-pending+ - experimental+ validations:+ required: true++ - type: textarea+ id: blocker+ attributes:+ label: Health evidence and approval blocker+ description: Link the latest connection evidence. If health is approval-pending, name the vendor approval or access that blocks a real connection.+ validations:+ required: true++ - type: textarea+ id: approvals+ attributes:+ label: Consequential actions+ description: Explain how the provider requests approval before send, pay, delete, production, secrets, publishing, signatures, refunds, or account-wide changes.+ validations:+ required: true++ - type: checkboxes+ id: credential_safety+ attributes:+ label: Credential safety+ options:+ - label: This proposal contains no token or secret and does not require Akeru Bot to export a provider token or secret.+ required: truediff --git a/.github/path-labels.yml b/.github/path-labels.ymlnew file mode 100644index 000000000..6688355f8--- /dev/null+++ b/.github/path-labels.yml@@ -0,0 +1,40 @@+"type:plugin":+ - changed-files:+ - any-glob-to-any-file: "plugins/**"++"type:provider":+ - changed-files:+ - any-glob-to-any-file:+ - "apps/server/src/provider/builtInDrivers.ts"+ - "apps/server/src/provider/builtInProviderCatalog.ts"+ - "apps/server/src/provider/Drivers/**"+ - "apps/server/src/provider/Layers/**"+ - "apps/server/src/provider/Services/**"+ - "apps/server/src/subscription-auth/providers/**"++"area:directory":+ - changed-files:+ - any-glob-to-any-file:+ - "apps/web/src/components/plugins/**"+ - "apps/web/src/components/settings/PluginsSettings.*"+ - "apps/web/src/components/sidebar/SidebarChrome.*"+ - "apps/web/src/components/roster/BotToolsSheet.*"+ - "apps/web/src/pluginsDialogStore.ts"+ - "apps/web/src/pluginsDialogStore.test.ts"+ - "docs/user/plugins.md"++"area:connectors":+ - changed-files:+ - any-glob-to-any-file:+ - "apps/server/src/provider/McpServerConfig.*"+ - "apps/server/src/provider/Layers/AgentController.*"+ - "apps/server/src/provider/Services/AgentController.ts"+ - "apps/server/src/orchestration/Layers/McpServerRegistry.test.ts"+ - "apps/server/src/bot-inbox/connectorIncidents.*"+ - "apps/server/src/persistence/Layers/ProjectionMcpServers.ts"+ - "apps/server/src/persistence/Services/ProjectionMcpServers.ts"+ - "apps/server/src/persistence/Migrations/047_ProjectionMcpServers.ts"+ - "apps/server/src/persistence/Migrations/051_BotDisabledMcpServers.ts"+ - "packages/contracts/src/mcpServer.*"+ - "packages/client-runtime/src/state/mcpServerCommands.ts"+ - "apps/web/src/state/mcpServers.ts"diff --git a/.github/pull_request_template.md b/.github/pull_request_template.mdindex 76aac7e4d..5e156d4ca 100644--- a/.github/pull_request_template.md+++ b/.github/pull_request_template.md@@ -7,7 +7,7 @@ You can still open a PR, but please do so knowing there is a high chancewe may close it without merging it, or never review it.- Small, focused PRs are strongly preferred. Bug fixes are most likely to be merged.-- New features will most likely just annoy us.+- New features will most likely just annoy us. Plugin and provider additions need an accepted proposal issue.- 1,000+ line PRs with a bunch of new features will probably get you banned from the repo.-->@@ -29,5 +29,6 @@ we may close it without merging it, or never review it.- [ ] This PR is small and focused- [ ] I explained what changed and why+- [ ] I linked the accepted plugin or provider proposal in **Why**, or this PR does not add one- [ ] I included before/after screenshots for any UI changes- [ ] I included a video for animation/interaction changesdiff --git a/.github/workflows/issue-labels.yml b/.github/workflows/issue-labels.ymlindex 92406f894..25c009c55 100644--- a/.github/workflows/issue-labels.yml+++ b/.github/workflows/issue-labels.yml@@ -7,6 +7,8 @@ on:paths:- .github/ISSUE_TEMPLATE/**- .github/workflows/issue-labels.yml+ pull_request_target:+ types: [opened, reopened, synchronize]workflow_dispatch:permissions:@@ -14,6 +16,7 @@ permissions:jobs:sync:+ if: github.event_name != 'pull_request_target'name: Sync issue labelsruns-on: ubuntu-24.04steps:@@ -42,6 +45,31 @@ jobs:color: "5319E7",description: "Prepared through Akeru agent triage and approved by the user",},+ {+ name: "type:plugin",+ color: "5319e7",+ description: "Plugin catalog contribution.",+ },+ {+ name: "type:provider",+ color: "0969da",+ description: "Agent provider contribution.",+ },+ {+ name: "status:needs-triage",+ color: "fbca04",+ description: "Proposal needs maintainer review.",+ },+ {+ name: "area:directory",+ color: "bfdadc",+ description: "Plugin directory and its user interface.",+ },+ {+ name: "area:connectors",+ color: "c5def5",+ description: "Plugin and MCP connector runtime.",+ },];for (const label of managedLabels) {@@ -78,3 +106,17 @@ jobs:});}}++ label-paths:+ if: github.event_name == 'pull_request_target'+ name: Label changed paths+ runs-on: ubuntu-24.04+ permissions:+ contents: read+ pull-requests: write+ steps:+ - uses: actions/labeler@v6+ with:+ repo-token: ${{ secrets.GITHUB_TOKEN }}+ configuration-path: .github/path-labels.yml+ sync-labels: truediff --git a/CONTRIBUTING.md b/CONTRIBUTING.mdindex e8e2f9b11..6d8bebe04 100644--- a/CONTRIBUTING.md+++ b/CONTRIBUTING.md@@ -6,7 +6,7 @@ We are not actively accepting contributions right now.You can still report a bug or open a PR, but please do so knowing there is a high chance we close it, defer it forever, or never look at it.-Feature requests and proposals belong in [Ideas discussions](https://github.com/pingdotgg/t3code/discussions/categories/ideas), not issues.+Feature requests and proposals belong in [Ideas discussions](https://github.com/pingdotgg/t3code/discussions/categories/ideas), not issues. Plugin and provider contributions are the exception: start with the matching proposal form, and read the [plugin directory admission rules](plugins/README.md) before you submit a plugin.If that sounds annoying, that is because it is. This project is still early and we are trying to keep scope, quality, and direction under control.@@ -54,7 +54,7 @@ If we have to guess what changed, we are much less likely to review it.## Discuss Changes First-If you are thinking about a non-trivial change, start a discussion first. Issues are reserved for bug reports.+If you are thinking about a non-trivial change, start a discussion first. Issues are reserved for bug reports and the plugin and provider proposal forms.That still does not mean we will want the PR, but it gives you a chance to avoid wasting your time.diff --git a/apps/mobile/src/features/settings/SettingsRouteScreen.tsx b/apps/mobile/src/features/settings/SettingsRouteScreen.tsxindex b0e851b59..39fe4234b 100644--- a/apps/mobile/src/features/settings/SettingsRouteScreen.tsx+++ b/apps/mobile/src/features/settings/SettingsRouteScreen.tsx@@ -1,5 +1,6 @@import { useAuth, useUser } from "@clerk/expo";import { useAtomSet, useAtomValue } from "@effect/atom-react";+import type { EnvironmentId } from "@t3tools/contracts";import Constants from "expo-constants";import * as Notifications from "expo-notifications";import { useNavigation } from "@react-navigation/native";@@ -103,7 +104,8 @@ export function SettingsRouteScreen() {function LocalSettingsRouteScreen() {const insets = useSafeAreaInsets();const { savedConnectionsById } = useSavedRemoteConnections();- const environmentCount = Object.keys(savedConnectionsById).length;+ const connections = Object.values(savedConnectionsById);+ const environmentCount = connections.length;return (<View collapsable={false} className="flex-1 bg-sheet">@@ -125,6 +127,8 @@ function LocalSettingsRouteScreen() {/></SettingsSection>+ <ErrorsSettingsSection environmentId={connections[0]?.environmentId ?? null} />+<GeneralSettingsSection /><SettingsSection title="Appearance">@@ -511,6 +515,8 @@ function ConfiguredSettingsRouteScreen() {/></SettingsSection>+ <ErrorsSettingsSection environmentId={connections[0]?.environmentId ?? null} />+<GeneralSettingsSection /><SettingsSection title="Appearance">@@ -527,6 +533,32 @@ function ConfiguredSettingsRouteScreen() {);}+function ErrorsSettingsSection({+ environmentId,+}: {+ readonly environmentId: EnvironmentId | null;+}) {+ const navigation = useNavigation();+ if (environmentId === null) return null;+ return (+ <SettingsSection title="Health">+ <SettingsRow+ icon="exclamationmark.triangle"+ label="Errors"+ onPress={() =>+ navigation.navigate("SettingsSheet", {+ screen: "SettingsContent",+ params: {+ screen: "SettingsProviderHealth",+ params: { environmentId, target: "bot-inbox" },+ },+ })+ }+ />+ </SettingsSection>+ );+}+function GeneralSettingsSection() {const preferencesResult = useAtomValue(mobilePreferencesAtom);const savePreferences = useAtomSet(updateMobilePreferencesAtom);diff --git a/apps/server/src/auth/RpcAuthorization.ts b/apps/server/src/auth/RpcAuthorization.tsindex 3a5a4bcdd..678ae4b08 100644--- a/apps/server/src/auth/RpcAuthorization.ts+++ b/apps/server/src/auth/RpcAuthorization.ts@@ -60,6 +60,9 @@ export const RPC_REQUIRED_SCOPES = {[WS_METHODS.serverReportClientActivity]: AuthOrchestrationReadScope,[WS_METHODS.serverReportHostPowerState]: AuthOrchestrationOperateScope,[WS_METHODS.serverGetBackgroundPolicy]: AuthOrchestrationReadScope,+ [WS_METHODS.portabilityExport]: AuthOrchestrationReadScope,+ [WS_METHODS.portabilityPreviewImport]: AuthOrchestrationReadScope,+ [WS_METHODS.portabilityApplyImport]: AuthOrchestrationOperateScope,[WS_METHODS.cloudGetRelayClientStatus]: AuthRelayReadScope,[WS_METHODS.cloudInstallRelayClient]: AuthRelayWriteScope,[WS_METHODS.sourceControlLookupRepository]: AuthOrchestrationReadScope,diff --git a/apps/server/src/cli/triagePrompt.test.ts b/apps/server/src/cli/triagePrompt.test.tsindex 22d0438f9..39729d70a 100644--- a/apps/server/src/cli/triagePrompt.test.ts+++ b/apps/server/src/cli/triagePrompt.test.ts@@ -31,15 +31,11 @@ it("keeps the GitHub triage flow Akeru-only and labeled via-triage", () => {NodePath.join(repoRoot, ".github/ISSUE_TEMPLATE/bug_report.yml"),"utf8",);- const issueConfig = NodeFS.readFileSync(- NodePath.join(repoRoot, ".github/ISSUE_TEMPLATE/config.yml"),- "utf8",- );const issueLabelWorkflow = NodeFS.readFileSync(NodePath.join(repoRoot, ".github/workflows/issue-labels.yml"),"utf8",);- const githubTriage = `${issueTemplate}\n${bugTemplate}\n${issueConfig}`;+ const githubTriage = `${issueTemplate}\n${bugTemplate}`;assert.include(issueTemplate, "`npx akeru-bot triage`");assert.match(issueTemplate, /labels:\n - via-triage\nbody:/u);diff --git a/apps/server/src/entrypoint.ts b/apps/server/src/entrypoint.tsindex 1ac083ec5..22f1e3ce6 100644--- a/apps/server/src/entrypoint.ts+++ b/apps/server/src/entrypoint.ts@@ -31,7 +31,10 @@ export const isEntrypoint = (input: {// module URL is the resolved real path while `process.argv[1]` keeps the link// path, so the comparison above misses.try {- return input.moduleUrl === NodeURL.pathToFileURL(NodeFS.realpathSync(input.entryPath)).href;+ return (+ NodeFS.realpathSync(NodeURL.fileURLToPath(input.moduleUrl)) ===+ NodeFS.realpathSync(input.entryPath)+ );} catch {return false;}diff --git a/apps/server/src/orchestration/Layers/CheckpointReactor.test.ts b/apps/server/src/orchestration/Layers/CheckpointReactor.test.tsindex e959ce9df..b3b45f863 100644--- a/apps/server/src/orchestration/Layers/CheckpointReactor.test.ts+++ b/apps/server/src/orchestration/Layers/CheckpointReactor.test.ts@@ -839,6 +839,49 @@ describe("CheckpointReactor", () => {).toBe("v1\n");});+ it("does not capture a checkpoint for imported conversation history", async () => {+ const harness = await createHarness({+ hasSession: false,+ seedFilesystemCheckpoints: false,+ threadWorktreePath: null,+ });+ const createdAt = "2026-01-01T00:00:00.000Z";++ await runtime!.runPromise(+ harness.engine.dispatch({+ type: "thread.history.restore",+ commandId: CommandId.make("cmd-import-history"),+ threadId: ThreadId.make("thread-1"),+ messages: [+ {+ id: MessageId.make("message-imported"),+ role: "user",+ text: "Imported history",+ turnId: null,+ streaming: false,+ createdAt,+ updatedAt: createdAt,+ },+ ],+ proposedPlans: [],+ activities: [],+ settledOverride: null,+ settledAt: null,+ snoozedUntil: null,+ snoozedAt: null,+ pinnedAt: null,+ pinOrderKey: null,+ archivedAt: null,+ updatedAt: createdAt,+ }),+ );+ await harness.drain();++ expect(+ gitRefExists(harness.cwd, checkpointRefForThreadTurn(ThreadId.make("thread-1"), 0)),+ ).toBe(false);+ });+it("captures turn completion checkpoint from project workspace root when provider session cwd is unavailable", async () => {const harness = await createHarness({hasSession: false,@@ -1043,7 +1086,7 @@ describe("CheckpointReactor", () => {}),);- await Effect.runPromise(+ await runtime!.runPromise(harness.engine.dispatch({type: "thread.checkpoint.revert",commandId: CommandId.make("cmd-revert-request"),diff --git a/apps/server/src/orchestration/Layers/CheckpointReactor.ts b/apps/server/src/orchestration/Layers/CheckpointReactor.tsindex 3a7e7425d..46ec0f21a 100644--- a/apps/server/src/orchestration/Layers/CheckpointReactor.ts+++ b/apps/server/src/orchestration/Layers/CheckpointReactor.ts@@ -635,6 +635,7 @@ const make = Effect.gen(function* () {>,) {if (event.type === "thread.message-sent") {+ if (event.metadata?.importedHistory === true) return;if (event.payload.role !== "user" ||event.payload.streaming ||diff --git a/apps/server/src/orchestration/Layers/McpServerRegistry.test.ts b/apps/server/src/orchestration/Layers/McpServerRegistry.test.tsindex 2de4c3eb8..ddd33fb3c 100644--- a/apps/server/src/orchestration/Layers/McpServerRegistry.test.ts+++ b/apps/server/src/orchestration/Layers/McpServerRegistry.test.ts@@ -37,6 +37,33 @@ const registryLayer = it.layer();registryLayer("MCP server registry", (it) => {+ it.effect("creates a disabled MCP server when requested", () =>+ Effect.gen(function* () {+ const engine = yield* OrchestrationEngineService;+ const snapshots = yield* ProjectionSnapshotQuery;+ const mcpServerId = McpServerId.make("mcp-disabled-import");++ yield* engine.dispatch({+ type: "mcp-server.create",+ commandId: CommandId.make("cmd-mcp-disabled-import"),+ mcpServerId,+ name: "Disabled import",+ transport: "url",+ url: "https://mcp.example.com/import",+ enabled: false,+ createdAt: "2026-08-30T12:00:00.000Z",+ });++ const snapshot = yield* snapshots.getShellSnapshot();+ assert.equal(snapshot.mcpServers?.[0]?.enabled, false);+ yield* engine.dispatch({+ type: "mcp-server.delete",+ commandId: CommandId.make("cmd-mcp-disabled-import-delete"),+ mcpServerId,+ });+ }),+ );+it.effect("round-trips create, update, disable, enable, and delete through the shell projection",() =>diff --git a/apps/server/src/orchestration/decider.ts b/apps/server/src/orchestration/decider.tsindex bae56647d..31ea4c8ba 100644--- a/apps/server/src/orchestration/decider.ts+++ b/apps/server/src/orchestration/decider.ts@@ -214,7 +214,7 @@ type DecideOrchestrationCommandResult =| PlannedOrchestrationEvent| ReadonlyArray<PlannedOrchestrationEvent>;-const decideCommandSequence = Effect.fn("decideCommandSequence")(function* ({+export const decideCommandSequence = Effect.fn("decideCommandSequence")(function* ({commands,readModel,}: {@@ -864,7 +864,7 @@ export const decideOrchestrationCommand = Effect.fn("decideOrchestrationCommand"transport: command.transport,command: command.command,...(command.args !== undefined ? { args: command.args } : {}),- enabled: true,+ enabled: command.enabled ?? true,createdAt: command.createdAt,updatedAt: command.createdAt,}@@ -873,7 +873,7 @@ export const decideOrchestrationCommand = Effect.fn("decideOrchestrationCommand"name: command.name,transport: command.transport,url: command.url,- enabled: true,+ enabled: command.enabled ?? true,createdAt: command.createdAt,updatedAt: command.createdAt,};@@ -2130,6 +2130,153 @@ export const decideOrchestrationCommand = Effect.fn("decideOrchestrationCommand"return [unsettledEvent, activityAppendedEvent];}+ case "thread.history.restore": {+ const thread = yield* requireThread({+ readModel,+ command,+ threadId: command.threadId,+ });+ const events: Array<Omit<OrchestrationEvent, "sequence">> = [];+ const eventBase = (occurredAt: string) =>+ withEventBase({+ aggregateKind: "thread",+ aggregateId: command.threadId,+ occurredAt,+ commandId: command.commandId,+ metadata: { importedHistory: true },+ });++ for (const message of command.messages) {+ events.push({+ ...(yield* eventBase(message.updatedAt)),+ type: "thread.message-sent",+ payload: {+ threadId: command.threadId,+ messageId: message.id,+ role: message.role,+ text: message.text,+ turnId: null,+ ...(message.respondingBotId !== undefined+ ? { respondingBotId: message.respondingBotId }+ : {}),+ streaming: false,+ createdAt: message.createdAt,+ updatedAt: message.updatedAt,+ },+ });+ }+ for (const proposedPlan of command.proposedPlans) {+ events.push({+ ...(yield* eventBase(proposedPlan.updatedAt)),+ type: "thread.proposed-plan-upserted",+ payload: { threadId: command.threadId, proposedPlan },+ });+ }+ for (const activity of command.activities) {+ events.push({+ ...(yield* eventBase(activity.createdAt)),+ type: "thread.activity-appended",+ payload: { threadId: command.threadId, activity },+ });+ }++ if (+ command.settledOverride !== thread.settledOverride ||+ command.settledAt !== thread.settledAt+ ) {+ if (command.settledOverride === "settled") {+ const settledAt = command.settledAt ?? command.updatedAt;+ events.push({+ ...(yield* eventBase(settledAt)),+ type: "thread.settled",+ payload: { threadId: command.threadId, settledAt, updatedAt: command.updatedAt },+ });+ } else {+ events.push({+ ...(yield* eventBase(command.updatedAt)),+ type: "thread.unsettled",+ payload: {+ threadId: command.threadId,+ reason: command.settledOverride === "active" ? "user" : "activity",+ updatedAt: command.updatedAt,+ },+ });+ }+ }+ if (+ command.snoozedUntil !== (thread.snoozedUntil ?? null) ||+ command.snoozedAt !== (thread.snoozedAt ?? null)+ ) {+ if (command.snoozedUntil !== null) {+ events.push({+ ...(yield* eventBase(command.snoozedAt ?? command.updatedAt)),+ type: "thread.snoozed",+ payload: {+ threadId: command.threadId,+ snoozedUntil: command.snoozedUntil,+ snoozedAt: command.snoozedAt ?? command.updatedAt,+ updatedAt: command.updatedAt,+ },+ });+ } else {+ events.push({+ ...(yield* eventBase(command.updatedAt)),+ type: "thread.unsnoozed",+ payload: { threadId: command.threadId, reason: "user", updatedAt: command.updatedAt },+ });+ }+ }+ if (+ command.pinnedAt !== (thread.pinnedAt ?? null) ||+ command.pinOrderKey !== (thread.pinOrderKey ?? null)+ ) {+ if (command.pinnedAt !== null) {+ events.push({+ ...(yield* eventBase(command.pinnedAt)),+ type: "thread.pinned",+ payload: {+ threadId: command.threadId,+ pinnedAt: command.pinnedAt,+ ...(command.pinOrderKey !== null ? { pinOrderKey: command.pinOrderKey } : {}),+ updatedAt: command.updatedAt,+ },+ });+ } else {+ events.push({+ ...(yield* eventBase(command.updatedAt)),+ type: "thread.unpinned",+ payload: { threadId: command.threadId, updatedAt: command.updatedAt },+ });+ }+ }+ if (command.archivedAt !== thread.archivedAt) {+ if (command.archivedAt !== null) {+ events.push({+ ...(yield* eventBase(command.archivedAt)),+ type: "thread.archived",+ payload: {+ threadId: command.threadId,+ archivedAt: command.archivedAt,+ updatedAt: command.updatedAt,+ },+ });+ } else {+ events.push({+ ...(yield* eventBase(command.updatedAt)),+ type: "thread.unarchived",+ payload: { threadId: command.threadId, updatedAt: command.updatedAt },+ });+ }+ }+ if (events.length === 0) {+ return yield* new OrchestrationCommandInvariantError({+ commandType: command.type,+ detail: `Thread '${command.threadId}' history already matches the restore command.`,+ });+ }+ return events;+ }+default: {command satisfies never;const fallback = command as never as { type: string };diff --git a/apps/server/src/portability.test.ts b/apps/server/src/portability.test.tsnew file mode 100644index 000000000..9abddfab2--- /dev/null+++ b/apps/server/src/portability.test.ts@@ -0,0 +1,1153 @@+import {+ BotId,+ DEFAULT_SERVER_SETTINGS,+ EventId,+ GroupId,+ McpServerId,+ MessageId,+ ProjectId,+ ProviderDriverKind,+ ProviderInstanceId,+ ThreadId,+ type OrchestrationReadModel,+ type PortabilityArchive,+ type PortabilityArchiveRecord,+ type ServerSettings,+} from "@t3tools/contracts";+import * as NodeServices from "@effect/platform-node/NodeServices";+import { it as effectIt } from "@effect/vitest";+import * as Effect from "effect/Effect";+import { describe, expect, it } from "vite-plus/test";++import { decideCommandSequence } from "./orchestration/decider.ts";+import { createEmptyReadModel } from "./orchestration/projector.ts";+import {+ canonicalJson,+ commandsForPortabilityImport,+ createPortabilityArchive,+ isPortabilityPreviewCurrent,+ parsePortabilityArchive,+ portabilityChecksum,+ portableRecords,+ previewPortabilityImport,+ serializePortabilityArchive,+ summarizePortabilityApply,+} from "./portability.ts";++const NOW = "2026-08-30T12:00:00.000Z";+const LATER = "2026-08-30T13:00:00.000Z";+const PROJECT_ID = ProjectId.make("project-portable");+const THREAD_ID = ThreadId.make("thread-portable");+const BOT_ID = BotId.make("bot-portable");+const GROUP_ID = GroupId.make("group-portable");+const URL_MCP_ID = McpServerId.make("builtin-search");+const STDIO_MCP_ID = McpServerId.make("local-tool");+const AVAILABLE_PROVIDER_IDS = new Set(["codex", "private"]);++function makeSnapshot(overrides: Partial<OrchestrationReadModel> = {}): OrchestrationReadModel {+ return {+ ...createEmptyReadModel(NOW),+ snapshotSequence: 7,+ projects: [+ {+ id: PROJECT_ID,+ title: "Portable project",+ workspaceRoot: "/Users/leo/work/portable-project",+ repositoryIdentity: {+ canonicalKey: "github.com/example/private",+ locator: {+ source: "git-remote",+ remoteName: "origin",+ remoteUrl: "[email protected]:example/private.git",+ },+ rootPath: "/Users/leo/work/portable-project",+ displayName: "example/private",+ provider: "github",+ owner: "example",+ name: "private",+ },+ defaultModelSelection: {+ instanceId: ProviderInstanceId.make("codex"),+ model: "gpt-5.6-sol",+ },+ scripts: [+ {+ id: "secret-script",+ name: "Deploy",+ command: "printenv TOKEN",+ icon: "build",+ runOnWorktreeCreate: false,+ },+ ],+ faviconPath: "/Users/leo/work/portable-project/icon.png",+ createdAt: NOW,+ updatedAt: NOW,+ deletedAt: null,+ },+ ],+ mcpServers: [+ {+ id: URL_MCP_ID,+ name: "Search",+ transport: "url",+ url: "https://user:[email protected]/mcp?token=secret#private",+ enabled: true,+ createdAt: NOW,+ updatedAt: NOW,+ },+ {+ id: STDIO_MCP_ID,+ name: "Local tool",+ transport: "stdio",+ command: "/Users/leo/.local/bin/local-tool",+ args: [+ "serve",+ "--config",+ "/Users/leo/.config/local-tool.json",+ "API_KEY=secret",+ "--token",+ "secret-value",+ "postgres://user:[email protected]/database",+ '{"apiKey":"json-secret-value"}',+ "--safe",+ ],+ enabled: true,+ createdAt: NOW,+ updatedAt: NOW,+ },+ ],+ bots: [+ {+ id: BOT_ID,+ name: "Akeru",+ title: "Builder",+ label: null,+ description: [+ "Builds the project",+ '{"apiKey":"json-secret-value"}',+ "-----BEGIN PRIVATE KEY-----\nprivate-key-value\n-----END PRIVATE KEY-----",+ "postgres://user:[email protected]/database",+ "xai-private-value",+ "eyJhbGciOiJIUzI1NiJ9.cHJpdmF0ZQ.c2lnbmF0dXJl",+ "npm_private-package-token",+ "glpat-private-gitlab-token",+ "sk_live_private-stripe-token",+ "~/.ssh/id_rsa",+ ].join("\n"),+ disabledMcpServerIds: [STDIO_MCP_ID, McpServerId.make("deleted-server")],+ avatar: {+ kind: "image",+ assetPath: "/Users/leo/.akeru/avatars/private.png",+ dithered: true,+ },+ engine: { provider: "codex", model: "gpt-5.6-sol" },+ sandbox: "local",+ runtimeMode: "full-access",+ usageCap: null,+ voiceEnabled: true,+ groupId: GROUP_ID,+ archivedAt: null,+ createdAt: NOW,+ updatedAt: NOW,+ },+ ],+ groups: [+ {+ id: GROUP_ID,+ name: "Builders",+ bossBotId: BOT_ID,+ members: [{ botId: BOT_ID, role: "boss" }],+ createdAt: NOW,+ updatedAt: NOW,+ },+ ],+ threads: [+ {+ id: THREAD_ID,+ projectId: PROJECT_ID,+ botId: BOT_ID,+ groupId: null,+ respondingBotId: BOT_ID,+ title: "Portable thread",+ modelSelection: {+ instanceId: ProviderInstanceId.make("codex"),+ model: "gpt-5.6-sol",+ },+ runtimeMode: "full-access",+ interactionMode: "default",+ branch: "refs/heads/private-branch",+ worktreePath: "/Users/leo/work/portable-project",+ latestTurn: null,+ createdAt: NOW,+ updatedAt: NOW,+ archivedAt: null,+ settledOverride: null,+ settledAt: null,+ snoozedUntil: LATER,+ snoozedAt: NOW,+ pinnedAt: NOW,+ deletedAt: null,+ messages: [+ {+ id: MessageId.make("message-secret"),+ role: "user",+ text: [+ "Authorization: Bearer private-token",+ "COOKIE=session-secret",+ "CODEX_HOME=/Users/leo/.codex",+ "refs/heads/private-branch",+ "/Users/leo/work/portable-project/private.txt",+ ].join("\n"),+ turnId: null,+ streaming: false,+ createdAt: NOW,+ updatedAt: NOW,+ },+ {+ id: MessageId.make("message-diff"),+ role: "assistant",+ text: "diff --git a/private.ts b/private.ts\n+secret\n-public",+ turnId: null,+ streaming: false,+ createdAt: NOW,+ updatedAt: NOW,+ },+ ],+ proposedPlans: [+ {+ id: "plan-private",+ turnId: null,+ planMarkdown: "Read /Users/leo/private.txt with token=private-plan-token",+ implementedAt: null,+ implementationThreadId: null,+ createdAt: NOW,+ updatedAt: NOW,+ },+ ],+ activities: [+ {+ id: EventId.make("event-private"),+ tone: "approval",+ kind: "approval.requested",+ summary: "Contains private payload",+ payload: { token: "approval-secret" },+ turnId: null,+ sequence: 991,+ createdAt: NOW,+ },+ ],+ checkpoints: [],+ session: null,+ },+ ],+ ...overrides,+ };+}++function makeSettings(): ServerSettings {+ return {+ ...DEFAULT_SERVER_SETTINGS,+ enableProviderUpdateChecks: false,+ enableAgentBrowserAccess: false,+ providers: {+ ...DEFAULT_SERVER_SETTINGS.providers,+ codex: {+ ...DEFAULT_SERVER_SETTINGS.providers.codex,+ binaryPath: "/Users/leo/.local/bin/codex",+ homePath: "/Users/leo/.codex",+ launchArgs: "--token provider-secret",+ },+ },+ providerInstances: {+ [ProviderInstanceId.make("private")]: {+ driver: ProviderDriverKind.make("codex"),+ environment: [{ name: "OPENAI_API_KEY", value: "provider-secret", sensitive: true }],+ config: { opaqueSecret: "provider-secret" },+ },+ },+ };+}++function resignArchive(+ archive: PortabilityArchive,+ records: readonly PortabilityArchiveRecord[],+): PortabilityArchive {+ const signedRecords = records.map((record) => {+ const { checksum: _checksum, ...core } = record;+ return { ...core, checksum: portabilityChecksum(core) } as PortabilityArchiveRecord;+ });+ const body = { ...archive, records: signedRecords };+ const { checksum: _checksum, ...unsigned } = body;+ return { ...unsigned, checksum: portabilityChecksum(unsigned) };+}++describe("portability archive", () => {+ it("creates deterministic sorted records and an exact manifest", () => {+ const snapshot = makeSnapshot();+ const settings = makeSettings();+ const first = createPortabilityArchive(snapshot, settings, NOW);+ const second = createPortabilityArchive(snapshot, settings, NOW);++ expect(canonicalJson(first)).toBe(canonicalJson(second));+ expect(first.records.map((record) => `${record.type}:${record.id}`)).toEqual(+ [...first.records]+ .sort((left, right) =>+ left.type === right.type+ ? left.id.localeCompare(right.id)+ : left.type.localeCompare(right.type),+ )+ .map((record) => `${record.type}:${record.id}`),+ );+ expect(first.manifest.recordCounts).toEqual({+ bot: 1,+ group: 1,+ "mcp-server": 2,+ project: 1,+ "server-settings": 1,+ thread: 1,+ });+ expect(parsePortabilityArchive(serializePortabilityArchive(first))).toEqual(first);+ });++ it("removes credentials, local state, Git state, and event internals", () => {+ const text = serializePortabilityArchive(+ createPortabilityArchive(makeSnapshot(), makeSettings(), NOW),+ );++ for (const excluded of [+ "private-token",+ "session-secret",+ "provider-secret",+ "OPENAI_API_KEY",+ "/Users/leo",+ "refs/heads/private-branch",+ "diff --git",+ "message-secret",+ "event-private",+ "plan-private",+ "private-plan-token",+ "approval-secret",+ '"sequence": 991',+ "private-branch",+ "secret-script",+ "[email protected]",+ "json-secret-value",+ "private-key-value",+ "hunter2",+ "xai-private-value",+ "eyJhbGciOiJIUzI1NiJ9",+ "npm_private-package-token",+ "glpat-private-gitlab-token",+ "sk_live_private-stripe-token",+ "~/.ssh/id_rsa",+ ]) {+ expect(text).not.toContain(excluded);+ }+ expect(text).toContain('"command": "local-tool"');+ expect(text).toContain('"serve"');+ expect(text).toContain('"--safe"');+ expect(text).toContain('"url": "https://example.com/mcp"');+ expect(text).toContain('"avatar": {\n "kind": "dither"');+ expect(text).toContain('"approvalHistory"');+ expect(text).toContain('"messages"');+ expect(text).toContain('"proposedPlans"');+ });++ it("omits deleted threads and projects and does not restore over them", () => {+ const base = makeSnapshot();+ const deletedProjectId = ProjectId.make("project-deleted");+ const deletedThreadId = ThreadId.make("thread-deleted");+ const snapshot = {+ ...base,+ projects: [+ ...base.projects,+ {+ ...base.projects[0]!,+ id: deletedProjectId,+ title: "Deleted secret project",+ deletedAt: NOW,+ },+ ],+ threads: [+ ...base.threads,+ {+ ...base.threads[0]!,+ id: deletedThreadId,+ title: "Deleted secret thread",+ deletedAt: NOW,+ },+ ],+ };+ const text = serializePortabilityArchive(+ createPortabilityArchive(snapshot, makeSettings(), NOW),+ );+ expect(text).not.toContain("Deleted secret project");+ expect(text).not.toContain("Deleted secret thread");+ expect(text).not.toContain("project-deleted");+ expect(text).not.toContain("thread-deleted");++ const archive = createPortabilityArchive(makeSnapshot(), makeSettings(), NOW);+ const target = {+ ...base,+ threads: [{ ...base.threads[0]!, deletedAt: NOW }],+ };+ const preview = previewPortabilityImport(+ archive,+ target,+ makeSettings(),+ AVAILABLE_PROVIDER_IDS,+ );+ expect(preview.conflicts.map((entry) => `${entry.recordType}:${entry.id}`)).toContain(+ "thread:thread-portable",+ );+ const plan = commandsForPortabilityImport(+ archive,+ target,+ makeSettings(),+ AVAILABLE_PROVIDER_IDS,+ );+ expect(plan.commands.filter((command) => command.type.startsWith("thread."))).toEqual([]);+ });++ it("rejects tampering, unsafe MCP recipes, bad counts, and broken references", () => {+ const archive = createPortabilityArchive(makeSnapshot(), makeSettings(), NOW);+ const changed = {+ ...archive,+ records: archive.records.map((record, index) =>+ index === 0 ? { ...record, updatedAt: LATER } : record,+ ),+ };+ expect(() => parsePortabilityArchive(JSON.stringify(changed))).toThrow("Checksum failed");++ const badMcp = resignArchive(+ archive,+ archive.records.map((record) =>+ record.type === "mcp-server" && record.data.configuration.transport === "stdio"+ ? {+ ...record,+ data: {+ ...record.data,+ configuration: {+ ...record.data.configuration,+ args: ["--config=/Users/leo/private.json"],+ },+ },+ }+ : record,+ ),+ );+ expect(() => parsePortabilityArchive(JSON.stringify(badMcp))).toThrow("local path");++ const badCountsBody = {+ ...archive,+ manifest: {+ ...archive.manifest,+ recordCounts: { ...archive.manifest.recordCounts, bot: 99 },+ },+ };+ const { checksum: _badCountsChecksum, ...badCountsUnsigned } = badCountsBody;+ const badCounts = {+ ...badCountsUnsigned,+ checksum: portabilityChecksum(badCountsUnsigned),+ };+ expect(() => parsePortabilityArchive(JSON.stringify(badCounts))).toThrow("record counts");++ const broken = resignArchive(+ archive,+ archive.records.map((record) =>+ record.type === "thread"+ ? { ...record, data: { ...record.data, projectId: ProjectId.make("missing-project") } }+ : record,+ ),+ );+ expect(() => parsePortabilityArchive(JSON.stringify(broken))).toThrow("missing project");++ const unsafeAvatar = resignArchive(+ archive,+ archive.records.map((record) =>+ record.type === "bot"+ ? {+ ...record,+ data: {+ ...record.data,+ avatar: {+ kind: "image" as const,+ assetPath: "/Users/leo/.ssh/id_rsa",+ dithered: false,+ },+ },+ }+ : record,+ ),+ );+ expect(() => parsePortabilityArchive(JSON.stringify(unsafeAvatar))).toThrow(+ "image avatar path",+ );++ const unsafeText = resignArchive(+ archive,+ archive.records.map((record) =>+ record.type === "bot"+ ? { ...record, data: { ...record.data, description: '{"apiKey":"secret"}' } }+ : record,+ ),+ );+ expect(() => parsePortabilityArchive(JSON.stringify(unsafeText))).toThrow("unsafe text");+ });+});++describe("portability import", () => {+ it("previews additions, conflicts, missing providers, skipped secrets, and unsupported state", () => {+ const source = makeSnapshot({+ bots: [+ {+ ...makeSnapshot().bots[0]!,+ engine: { provider: "missing-provider", model: "missing-model" },+ },+ ],+ threads: [+ {+ ...makeSnapshot().threads[0]!,+ modelSelection: {+ instanceId: ProviderInstanceId.make("missing-instance"),+ model: "missing-model",+ },+ },+ ],+ });+ const archive = createPortabilityArchive(source, makeSettings(), NOW);+ const target = makeSnapshot({+ snapshotSequence: 8,+ bots: [],+ groups: [],+ mcpServers: [],+ threads: [],+ });+ const preview = previewPortabilityImport(+ archive,+ target,+ DEFAULT_SERVER_SETTINGS,+ AVAILABLE_PROVIDER_IDS,+ );++ expect(preview.additions.map((entry) => entry.recordType)).toEqual([+ "mcp-server",+ "mcp-server",+ ]);+ expect(preview.changes.map((entry) => entry.recordType)).toEqual(["server-settings"]);+ expect(preview.conflicts.map((entry) => entry.recordType)).toEqual(["bot", "group", "thread"]);+ expect(preview.missingProviders).toEqual(["missing-instance", "missing-provider"]);+ expect(preview.skippedSecrets).toHaveLength(3);+ expect(preview.unsupported).toEqual(+ expect.arrayContaining([+ expect.objectContaining({ kind: "jobs", count: 0 }),+ expect.objectContaining({ kind: "memory", count: 0 }),+ expect.objectContaining({ kind: "routines", count: 0 }),+ expect.objectContaining({ kind: "skill-assignments", count: 0 }),+ expect.objectContaining({ kind: "usage-history", count: 0 }),+ ]),+ );+ });++ it("uses live provider availability instead of static settings keys", () => {+ const archive = createPortabilityArchive(makeSnapshot(), makeSettings(), NOW);+ const target = makeSnapshot({ bots: [], groups: [], mcpServers: [], threads: [] });+ const preview = previewPortabilityImport(archive, target, makeSettings(), new Set());++ expect(preview.missingProviders).toEqual(["codex"]);+ expect(preview.additions.map((entry) => entry.recordType)).toEqual([+ "mcp-server",+ "mcp-server",+ ]);+ expect(preview.conflicts.map((entry) => entry.recordType)).toEqual([+ "bot",+ "group",+ "project",+ "server-settings",+ "thread",+ ]);+ });++ it("reports newer target records and unrestorable groups as conflicts", () => {+ const archive = createPortabilityArchive(makeSnapshot(), makeSettings(), NOW);+ const newerTarget = makeSnapshot({+ mcpServers: [+ {+ ...makeSnapshot().mcpServers![0]!,+ name: "Target search",+ updatedAt: LATER,+ },+ ],+ groups: [{ ...makeSnapshot().groups[0]!, bossBotId: null, members: [] }],+ });+ const groupWithoutBoss = resignArchive(+ archive,+ archive.records.map((record) =>+ record.type === "group"+ ? { ...record, data: { ...record.data, bossBotId: null, members: [] } }+ : record,+ ),+ );+ const preview = previewPortabilityImport(+ groupWithoutBoss,+ newerTarget,+ makeSettings(),+ AVAILABLE_PROVIDER_IDS,+ );++ expect(preview.conflicts.map((entry) => `${entry.recordType}:${entry.id}`)).toEqual([+ `group:${GROUP_ID}`,+ `mcp-server:${URL_MCP_ID}`,+ ]);+ });++ it("conflicts with different existing conversation history", () => {+ const source = makeSnapshot();+ const target = makeSnapshot({+ threads: [+ {+ ...makeSnapshot().threads[0]!,+ messages: [+ {+ ...makeSnapshot().threads[0]!.messages[0]!,+ text: "Target-only conversation",+ },+ ],+ proposedPlans: [],+ activities: [],+ },+ ],+ });+ const archive = createPortabilityArchive(source, makeSettings(), NOW);+ const preview = previewPortabilityImport(+ archive,+ target,+ makeSettings(),+ AVAILABLE_PROVIDER_IDS,+ );++ expect(preview.conflicts).toContainEqual(+ expect.objectContaining({ recordType: "thread", id: THREAD_ID }),+ );+ expect(+ commandsForPortabilityImport(archive, target, makeSettings(), AVAILABLE_PROVIDER_IDS)+ .commands,+ ).not.toContainEqual(expect.objectContaining({ type: "thread.history.restore" }));+ });++ it("conflicts a group whose member belongs to another target group", () => {+ const otherGroupId = GroupId.make("group-other");+ const snapshot = makeSnapshot({+ bots: [{ ...makeSnapshot().bots[0]!, groupId: otherGroupId }],+ groups: [+ {+ ...makeSnapshot().groups[0]!,+ id: otherGroupId,+ bossBotId: BOT_ID,+ members: [{ botId: BOT_ID, role: "boss" }],+ },+ ],+ });+ const preview = previewPortabilityImport(+ createPortabilityArchive(makeSnapshot(), makeSettings(), NOW),+ snapshot,+ makeSettings(),+ AVAILABLE_PROVIDER_IDS,+ );++ expect(preview.conflicts).toContainEqual(+ expect.objectContaining({ recordType: "group", id: GROUP_ID }),+ );+ });++ it("does not overwrite newer server settings", () => {+ const preview = previewPortabilityImport(+ createPortabilityArchive(makeSnapshot(), makeSettings(), NOW),+ makeSnapshot({ updatedAt: LATER }),+ DEFAULT_SERVER_SETTINGS,+ AVAILABLE_PROVIDER_IDS,+ );++ expect(preview.conflicts).toContainEqual({+ recordType: "server-settings",+ id: "server-settings",+ title: "Server settings",+ });+ });++ it("updates safe project fields only when the workspace reference matches", () => {+ const sourceProject = {+ ...makeSnapshot().projects[0]!,+ title: "Renamed portable project",+ defaultThreadEnvMode: "worktree" as const,+ updatedAt: LATER,+ };+ const source = makeSnapshot({ projects: [sourceProject], updatedAt: LATER });+ const archive = createPortabilityArchive(source, makeSettings(), LATER);+ const target = makeSnapshot();+ const preview = previewPortabilityImport(+ archive,+ target,+ makeSettings(),+ AVAILABLE_PROVIDER_IDS,+ );+ const plan = commandsForPortabilityImport(+ archive,+ target,+ makeSettings(),+ AVAILABLE_PROVIDER_IDS,+ );++ expect(preview.changes).toContainEqual(+ expect.objectContaining({ recordType: "project", id: PROJECT_ID }),+ );+ expect(plan.commands).toContainEqual({+ type: "project.meta.update",+ commandId: expect.any(String),+ projectId: PROJECT_ID,+ title: "Renamed portable project",+ defaultModelSelection: sourceProject.defaultModelSelection,+ defaultThreadEnvMode: "worktree",+ });+ expect(plan.commands).not.toContainEqual(+ expect.objectContaining({ type: "project.meta.update", workspaceRoot: expect.anything() }),+ );+ });++ it("maps projects and threads to a different target project ID by repository identity", () => {+ const targetProjectId = ProjectId.make("project-target");+ const sourceProject = {+ ...makeSnapshot().projects[0]!,+ title: "Renamed portable project",+ updatedAt: LATER,+ };+ const archive = createPortabilityArchive(+ makeSnapshot({ projects: [sourceProject], updatedAt: LATER }),+ makeSettings(),+ LATER,+ );+ const target = makeSnapshot({+ projects: [+ {+ ...makeSnapshot().projects[0]!,+ id: targetProjectId,+ title: "Local project",+ workspaceRoot: "/Volumes/code/private-clone",+ },+ ],+ threads: [],+ });++ const preview = previewPortabilityImport(+ archive,+ target,+ makeSettings(),+ AVAILABLE_PROVIDER_IDS,+ );+ const plan = commandsForPortabilityImport(+ archive,+ target,+ makeSettings(),+ AVAILABLE_PROVIDER_IDS,+ );++ expect(preview.changes).toContainEqual(+ expect.objectContaining({ recordType: "project", id: PROJECT_ID }),+ );+ expect(preview.additions).toContainEqual(+ expect.objectContaining({ recordType: "thread", id: THREAD_ID }),+ );+ expect(plan.commands).toContainEqual(+ expect.objectContaining({ type: "project.meta.update", projectId: targetProjectId }),+ );+ expect(plan.commands).toContainEqual(+ expect.objectContaining({ type: "thread.create", projectId: targetProjectId }),+ );+ expect(plan.commandItems).toContainEqual(+ expect.objectContaining({ recordType: "project", id: PROJECT_ID }),+ );+ });++ it("uses an unambiguous workspace name when repository identity is unavailable", () => {+ const targetProjectId = ProjectId.make("project-target");+ const source = makeSnapshot({+ projects: [{ ...makeSnapshot().projects[0]!, repositoryIdentity: null }],+ });+ const target = makeSnapshot({+ projects: [+ {+ ...makeSnapshot().projects[0]!,+ id: targetProjectId,+ workspaceRoot: "/Volumes/code/portable-project",+ repositoryIdentity: null,+ },+ ],+ threads: [],+ });+ const archive = createPortabilityArchive(source, makeSettings(), NOW);+ const plan = commandsForPortabilityImport(+ archive,+ target,+ makeSettings(),+ AVAILABLE_PROVIDER_IDS,+ );++ expect(plan.commands).toContainEqual(+ expect.objectContaining({ type: "thread.create", projectId: targetProjectId }),+ );+ });++ it("reports ambiguous project matches as conflicts", () => {+ const source = makeSnapshot();+ const baseProject = source.projects[0]!;+ const target = makeSnapshot({+ projects: [+ {+ ...baseProject,+ id: ProjectId.make("project-target-a"),+ workspaceRoot: "/Volumes/a/portable-project",+ },+ {+ ...baseProject,+ id: ProjectId.make("project-target-b"),+ workspaceRoot: "/Volumes/b/portable-project",+ },+ ],+ threads: [],+ });+ const archive = createPortabilityArchive(source, makeSettings(), NOW);+ const preview = previewPortabilityImport(+ archive,+ target,+ makeSettings(),+ AVAILABLE_PROVIDER_IDS,+ );+ const plan = commandsForPortabilityImport(+ archive,+ target,+ makeSettings(),+ AVAILABLE_PROVIDER_IDS,+ );++ expect(preview.conflicts).toEqual(+ expect.arrayContaining([+ expect.objectContaining({ recordType: "project", id: PROJECT_ID }),+ expect.objectContaining({ recordType: "thread", id: THREAD_ID }),+ ]),+ );+ expect(plan.commands.some((command) => command.type.startsWith("project."))).toBe(false);+ expect(plan.commands.some((command) => command.type.startsWith("thread."))).toBe(false);+ });++ it("reports missing project matches as unsupported", () => {+ const archive = createPortabilityArchive(makeSnapshot(), makeSettings(), NOW);+ const target = makeSnapshot({ projects: [], threads: [] });+ const preview = previewPortabilityImport(+ archive,+ target,+ makeSettings(),+ AVAILABLE_PROVIDER_IDS,+ );+ const plan = commandsForPortabilityImport(+ archive,+ target,+ makeSettings(),+ AVAILABLE_PROVIDER_IDS,+ );++ expect(preview.unsupported).toEqual(+ expect.arrayContaining([+ expect.objectContaining({ kind: "project", count: 1 }),+ expect.objectContaining({ kind: "thread", count: 1 }),+ ]),+ );+ expect(plan.commands.some((command) => command.type.startsWith("project."))).toBe(false);+ expect(plan.commands.some((command) => command.type.startsWith("thread."))).toBe(false);+ });++ it("rejects a stale preview token when projection state changes", () => {+ const snapshot = makeSnapshot();+ const settings = makeSettings();+ const archive = createPortabilityArchive(snapshot, settings, NOW);+ const preview = previewPortabilityImport(archive, snapshot, settings, AVAILABLE_PROVIDER_IDS);++ expect(isPortabilityPreviewCurrent(snapshot, settings, AVAILABLE_PROVIDER_IDS, preview)).toBe(+ true,+ );+ expect(+ isPortabilityPreviewCurrent(+ { ...snapshot, snapshotSequence: 8 },+ settings,+ AVAILABLE_PROVIDER_IDS,+ preview,+ ),+ ).toBe(false);+ expect(+ isPortabilityPreviewCurrent(+ snapshot,+ { ...settings, enableProviderUpdateChecks: !settings.enableProviderUpdateChecks },+ AVAILABLE_PROVIDER_IDS,+ preview,+ ),+ ).toBe(false);+ expect(isPortabilityPreviewCurrent(snapshot, settings, new Set(), preview)).toBe(false);+ });++ it("previews forced MCP disable as a change", () => {+ const snapshot = makeSnapshot();+ const settings = makeSettings();+ const preview = previewPortabilityImport(+ createPortabilityArchive(snapshot, settings, NOW),+ snapshot,+ settings,+ AVAILABLE_PROVIDER_IDS,+ );++ expect(preview.changes.map((entry) => entry.id)).toEqual([URL_MCP_ID, STDIO_MCP_ID]);+ });++ it("plans valid orchestration commands and keeps every restored MCP server disabled", () => {+ const source = makeSnapshot();+ const archive = createPortabilityArchive(source, makeSettings(), NOW);+ const target = makeSnapshot({+ bots: [],+ groups: [],+ mcpServers: [+ {+ id: URL_MCP_ID,+ name: "Old search",+ transport: "url" as const,+ url: "https://example.com/mcp",+ enabled: true,+ createdAt: NOW,+ updatedAt: NOW,+ },+ ],+ threads: [],+ });+ const first = commandsForPortabilityImport(+ archive,+ target,+ makeSettings(),+ AVAILABLE_PROVIDER_IDS,+ );+ const second = commandsForPortabilityImport(+ archive,+ target,+ makeSettings(),+ AVAILABLE_PROVIDER_IDS,+ );++ expect(first.commands.map((command) => command.type)).toEqual(+ expect.arrayContaining([+ "mcp-server.update",+ "mcp-server.disable",+ "mcp-server.create",+ "bot.create",+ "group.create",+ "thread.create",+ "thread.history.restore",+ ]),+ );+ expect(first.commands).toContainEqual(+ expect.objectContaining({+ type: "mcp-server.create",+ mcpServerId: STDIO_MCP_ID,+ enabled: false,+ }),+ );+ expect(first.commands).toContainEqual(+ expect.objectContaining({ type: "mcp-server.disable", mcpServerId: URL_MCP_ID }),+ );+ expect(first.commands).not.toContainEqual(+ expect.objectContaining({ type: "mcp-server.disable", mcpServerId: STDIO_MCP_ID }),+ );+ expect(+ first.commands.findIndex(+ (command) => command.type === "mcp-server.disable" && command.mcpServerId === URL_MCP_ID,+ ),+ ).toBeLessThan(+ first.commands.findIndex(+ (command) => command.type === "mcp-server.update" && command.mcpServerId === URL_MCP_ID,+ ),+ );+ expect(first.commands).not.toContainEqual(expect.objectContaining({ type: "bot.restore" }));+ expect(first.commands.map((command) => command.commandId)).not.toEqual(+ second.commands.map((command) => command.commandId),+ );+ expect(first.applied).toBeGreaterThan(0);+ });++ effectIt.effect("preflights the complete restore plan through the decider", () => {+ const source = makeSnapshot();+ const target = makeSnapshot({ bots: [], groups: [], mcpServers: [], threads: [] });+ const commands = commandsForPortabilityImport(+ createPortabilityArchive(source, makeSettings(), NOW),+ target,+ makeSettings(),+ AVAILABLE_PROVIDER_IDS,+ ).commands;+ const historyCommand = commands.find((command) => command.type === "thread.history.restore");++ return decideCommandSequence({ commands, readModel: target }).pipe(+ Effect.tap((events) =>+ Effect.sync(() => {+ expect(events.length).toBeGreaterThan(0);+ expect(events.map((event) => event.type)).toEqual(+ expect.arrayContaining([+ "thread.message-sent",+ "thread.proposed-plan-upserted",+ "thread.activity-appended",+ "thread.snoozed",+ "thread.pinned",+ ]),+ );+ expect(+ events.find((event) => event.type === "thread.activity-appended")?.payload,+ ).toEqual(+ expect.objectContaining({+ activity: expect.objectContaining({ kind: "approval.history" }),+ }),+ );+ expect(+ events+ .filter((event) => event.commandId === historyCommand?.commandId)+ .every((event) => event.metadata.importedHistory === true),+ ).toBe(true);+ }),+ ),+ Effect.provide(NodeServices.layer),+ );+ });++ it("sets a replacement boss before changing the remaining membership", () => {+ const secondBotId = BotId.make("bot-second");+ const source = makeSnapshot({+ bots: [+ makeSnapshot().bots[0]!,+ {+ ...makeSnapshot().bots[0]!,+ id: secondBotId,+ name: "Second",+ avatar: { kind: "dither", seed: secondBotId },+ },+ ],+ groups: [+ {+ ...makeSnapshot().groups[0]!,+ bossBotId: secondBotId,+ members: [+ { botId: secondBotId, role: "boss" },+ { botId: BOT_ID, role: "specialist" },+ ],+ },+ ],+ });+ const target = makeSnapshot({+ bots: source.bots,+ groups: makeSnapshot().groups,+ });+ const commands = commandsForPortabilityImport(+ createPortabilityArchive(source, makeSettings(), NOW),+ target,+ makeSettings(),+ AVAILABLE_PROVIDER_IDS,+ ).commands;+ const bossIndex = commands.findIndex((command) => command.type === "group.boss.set");+ const memberIndex = commands.findIndex((command) => command.type.startsWith("group.member."));++ expect(bossIndex).toBeGreaterThanOrEqual(0);+ expect(memberIndex === -1 || bossIndex < memberIndex).toBe(true);+ });++ it("temporarily restores an archived bot before restoring its thread", () => {+ const archivedBot = {+ ...makeSnapshot().bots[0]!,+ groupId: null,+ archivedAt: NOW,+ };+ const source = makeSnapshot({ bots: [archivedBot], groups: [] });+ const target = makeSnapshot({ bots: [archivedBot], groups: [], threads: [] });+ const commands = commandsForPortabilityImport(+ createPortabilityArchive(source, makeSettings(), NOW),+ target,+ makeSettings(),+ AVAILABLE_PROVIDER_IDS,+ ).commands;+ const restoreIndex = commands.findIndex((command) => command.type === "bot.restore");+ const threadIndex = commands.findIndex((command) => command.type === "thread.create");+ const archiveIndex = commands.findIndex((command) => command.type === "bot.archive");++ expect(restoreIndex).toBeGreaterThanOrEqual(0);+ expect(threadIndex).toBeGreaterThan(restoreIndex);+ expect(archiveIndex).toBeGreaterThan(threadIndex);+ });++ it("restores conversation history and lifecycle without starting a provider turn", () => {+ const archivedThread = { ...makeSnapshot().threads[0]!, archivedAt: NOW, pinnedAt: NOW };+ const source = makeSnapshot({ threads: [archivedThread] });+ const target = makeSnapshot({+ threads: [+ { ...archivedThread, pinnedAt: null, messages: [], proposedPlans: [], activities: [] },+ ],+ });+ const commands = commandsForPortabilityImport(+ createPortabilityArchive(source, makeSettings(), NOW),+ target,+ makeSettings(),+ AVAILABLE_PROVIDER_IDS,+ ).commands;+ const restore = commands.find((command) => command.type === "thread.history.restore");++ expect(restore).toMatchObject({+ type: "thread.history.restore",+ archivedAt: NOW,+ pinnedAt: NOW,+ snoozedUntil: LATER,+ });+ expect(restore?.messages).toHaveLength(2);+ expect(restore?.proposedPlans).toHaveLength(1);+ expect(restore?.activities).toEqual([+ expect.objectContaining({ kind: "approval.history", payload: expect.any(Object) }),+ ]);+ expect(commands).not.toContainEqual(expect.objectContaining({ type: "thread.turn.start" }));+ });++ it("reports failed and partly applied records separately", () => {+ const botItem = { recordType: "bot" as const, id: BOT_ID, title: "Akeru" };+ const groupItem = { recordType: "group" as const, id: GROUP_ID, title: "Builders" };++ expect(+ summarizePortabilityApply(+ [+ { item: botItem, succeeded: true },+ { item: botItem, succeeded: false, message: "Archive step failed." },+ { item: groupItem, succeeded: false, message: "Group restore failed." },+ ],+ 2,+ ),+ ).toEqual({+ applied: 0,+ skipped: 2,+ failed: 1,+ partial: 1,+ failures: [+ { ...botItem, partial: true, message: "Archive step failed." },+ { ...groupItem, partial: false, message: "Group restore failed." },+ ],+ });+ });++ it("derives the current projection only from safe records", () => {+ const records = portableRecords(makeSnapshot(), makeSettings());+ expect(records.map((record) => record.type)).toEqual([+ "bot",+ "group",+ "mcp-server",+ "mcp-server",+ "project",+ "server-settings",+ "thread",+ ]);+ });+});diff --git a/apps/server/src/portability.ts b/apps/server/src/portability.tsnew file mode 100644index 000000000..bfc7460df--- /dev/null+++ b/apps/server/src/portability.ts@@ -0,0 +1,1638 @@+import * as NodeCrypto from "node:crypto";++import {+ AKERU_ARCHIVE_FORMAT,+ AKERU_ARCHIVE_VERSION,+ BotId,+ CommandId,+ EventId,+ GroupId,+ MessageId,+ McpServerId,+ PortabilityArchive,+ ProjectId,+ ThreadId,+ type PortabilityArchiveRecord,+ type PortabilityImportItem,+ type PortabilityImportPreview,+ type PortabilityProjectData,+ type PortabilitySafeServerSettings,+ type OrchestrationCommand,+ type OrchestrationReadModel,+ type ServerSettings,+ type ServerSettingsPatch,+} from "@t3tools/contracts";+import * as Duration from "effect/Duration";+import * as Schema from "effect/Schema";++const decodeArchive = Schema.decodeUnknownSync(PortabilityArchive);+const BUILTIN_MCP_PREFIX = "builtin-";+const SECRET_ARGUMENT =+ /(?:api[-_]?key|authorization|bearer|cookie|credential|password|secret|token)/i;+const ARCHIVE_RECORD_TYPES = [+ "bot",+ "group",+ "mcp-server",+ "project",+ "server-settings",+ "thread",+] as const;+const ARCHIVE_EXCLUSIONS = [+ "Access tokens, cookies, passwords, secret values, environment variables, pairing and relay credentials",+ "Absolute local paths, project scripts, attachments, image avatar files, Git refs, pull request links, and diff blobs",+ "Event identifiers, event sequences, command receipts, provider sessions, and opaque provider configuration",+ "Conversation attachments, raw approval payloads, provider request details, and deleted threads and projects",+] as const;++function canonicalValue(value: unknown): unknown {+ if (Array.isArray(value)) return value.map(canonicalValue);+ if (value === null || typeof value !== "object") return value;+ return Object.fromEntries(+ Object.entries(value)+ .filter(([, entry]) => entry !== undefined)+ .sort(([left], [right]) => left.localeCompare(right))+ .map(([key, entry]) => [key, canonicalValue(entry)]),+ );+}++export function canonicalJson(value: unknown): string {+ return JSON.stringify(canonicalValue(value));+}++export function portabilityChecksum(value: unknown): string {+ return NodeCrypto.createHash("sha256").update(canonicalJson(value)).digest("hex");+}++function hasAbsolutePath(value: string): boolean {+ return value.startsWith("/") || /^[a-z]:[\\/]/i.test(value) || value.startsWith("file://");+}++function containsAbsolutePath(value: string): boolean {+ return hasAbsolutePath(value) || /(?:^|[=:"'])(?:\/(?!\/)|[a-z]:[\\/]|file:\/\/)/i.test(value);+}++function basename(value: string): string {+ return value.replaceAll("\\", "/").split("/").at(-1) ?? value;+}++function safeMcpCommand(command: string): string {+ const executable = command.trim().split(/\s+/)[0] ?? command;+ if (SECRET_ARGUMENT.test(executable) || /^[A-Za-z_][A-Za-z0-9_]*=/.test(executable)) {+ return "mcp-server";+ }+ return hasAbsolutePath(executable) ? basename(executable) : executable;+}++function safeText(value: string): string {+ if (/^diff --git /m.test(value)) return "[diff removed]";+ return value+ .replace(/-----BEGIN [A-Z0-9 ]+-----[\s\S]*?-----END [A-Z0-9 ]+-----/g, "[private key removed]")+ .replace(+ /(["']?(?:api[-_]?key|authorization|cookie|credential|password|secret|token)["']?\s*:\s*)["'][^"'\r\n]+["']/gi,+ '$1"[secret removed]"',+ )+ .replace(/\b([a-z][a-z0-9+.-]*:\/\/)[^/\s:@]+:[^@\s/]+@/gi, "$1[credentials removed]@")+ .replace(/\bBearer\s+\S+/gi, "[secret removed]")+ .replace(/\b(?:sk|ghp|github_pat|xox[baprs])-[_A-Za-z0-9-]+\b/gi, "[secret removed]")+ .replace(/\b(?:glpat-|npm_)[_A-Za-z0-9-]+\b/gi, "[secret removed]")+ .replace(/\b(?:sk|rk)_(?:live|test)_[_A-Za-z0-9-]+\b/gi, "[secret removed]")+ .replace(/\bAIza[_A-Za-z0-9-]{20,}\b/g, "[secret removed]")+ .replace(/\beyJ[A-Za-z0-9_-]+\.[A-Za-z0-9_-]+\.[A-Za-z0-9_-]+\b/g, "[secret removed]")+ .replace(/\bxai-[_A-Za-z0-9-]+\b/gi, "[secret removed]")+ .replace(/\b(?:AKIA|ASIA)[A-Z0-9]{16}\b/g, "[secret removed]")+ .replace(/\b(?:authorization|cookie|set-cookie)\s*:\s*[^\r\n]+/gi, "[secret removed]")+ .replace(+ /\b(?:api[-_]?key|pairing[-_]?token|password|relay[-_]?token|secret|token)\s*[:=]\s*\S+/gi,+ "[secret removed]",+ )+ .replace(/\b[A-Z][A-Z0-9_]{1,}\s*=\s*\S+/g, "[environment variable removed]")+ .replace(/\brefs\/(?:heads|remotes|tags)\/\S+/g, "[Git ref removed]")+ .replace(/(^|[\s"'`(])\/(?:[^/\s"'`)]+\/)*[^/\s"'`)]+/gm, "$1[local path removed]")+ .replace(/(^|[\s"'`(])~\/(?:[^/\s"'`)]+\/)*[^/\s"'`)]+/gm, "$1[local path removed]")+ .replace(/[A-Za-z]:\\(?:[^\s\\]+\\)+[^\s\\]+/g, "[local path removed]");+}++function portableProjectData(+ project: OrchestrationReadModel["projects"][number],+): PortabilityProjectData {+ const repository = project.repositoryIdentity+ ? Object.fromEntries(+ Object.entries({+ displayName:+ project.repositoryIdentity.displayName === undefined+ ? undefined+ : safeText(project.repositoryIdentity.displayName),+ provider:+ project.repositoryIdentity.provider === undefined+ ? undefined+ : safeText(project.repositoryIdentity.provider),+ owner:+ project.repositoryIdentity.owner === undefined+ ? undefined+ : safeText(project.repositoryIdentity.owner),+ name:+ project.repositoryIdentity.name === undefined+ ? undefined+ : safeText(project.repositoryIdentity.name),+ }).filter(([, value]) => value !== undefined),+ )+ : undefined;+ return {+ title: safeText(project.title),+ workspaceName: safeText(basename(project.workspaceRoot) || project.title),+ ...(repository && Object.keys(repository).length > 0 ? { repository } : {}),+ defaultModelSelection: project.defaultModelSelection,+ ...(project.defaultThreadEnvMode !== undefined+ ? { defaultThreadEnvMode: project.defaultThreadEnvMode }+ : {}),+ };+}++function safeMcpArgs(args: readonly string[] | undefined): string[] | undefined {+ if (args === undefined) return undefined;+ const safe: string[] = [];+ for (let index = 0; index < args.length; index += 1) {+ const argument = args[index]!;+ const next = args[index + 1];+ if (argument.startsWith("-") && next && containsAbsolutePath(next)) {+ index += 1;+ continue;+ }+ if (+ containsAbsolutePath(argument) ||+ /^[A-Za-z_][A-Za-z0-9_]*=/.test(argument) ||+ safeText(argument) !== argument+ )+ continue;+ if (SECRET_ARGUMENT.test(argument)) {+ if (!argument.includes("=") && args[index + 1] && !args[index + 1]!.startsWith("-")) {+ index += 1;+ }+ continue;+ }+ safe.push(argument);+ }+ return safe.length > 0 ? safe : undefined;+}++function safeMcpConfiguration(server: NonNullable<OrchestrationReadModel["mcpServers"]>[number]) {+ if (server.transport === "stdio") {+ const args = safeMcpArgs(server.args);+ return {+ name: safeText(server.name),+ transport: server.transport,+ command: safeMcpCommand(server.command),+ ...(args ? { args } : {}),+ } as const;+ }+ const url = new URL(server.url);+ url.username = "";+ url.password = "";+ url.search = "";+ url.hash = "";+ return { name: safeText(server.name), transport: server.transport, url: url.toString() } as const;+}++export function safeServerSettings(settings: ServerSettings): PortabilitySafeServerSettings {+ const overrides = settings.backgroundActivity.overrides;+ return {+ enableLegacyTokenStreaming: settings.enableLegacyTokenStreaming,+ enableProviderUpdateChecks: settings.enableProviderUpdateChecks,+ enableAgentBrowserAccess: settings.enableAgentBrowserAccess,+ backgroundActivity: {+ schemaVersion: 1,+ profile: settings.backgroundActivity.profile,+ ...(settings.backgroundActivity.baseProfile+ ? { baseProfile: settings.backgroundActivity.baseProfile }+ : {}),+ overrides: {+ ...(overrides.automaticGitFetchInterval+ ? {+ automaticGitFetchIntervalMs: Duration.toMillis(overrides.automaticGitFetchInterval),+ }+ : {}),+ ...(overrides.providerHealthRefreshInterval+ ? {+ providerHealthRefreshIntervalMs: Duration.toMillis(+ overrides.providerHealthRefreshInterval,+ ),+ }+ : {}),+ ...(overrides.hostPowerMonitorActiveInterval+ ? {+ hostPowerMonitorActiveIntervalMs: Duration.toMillis(+ overrides.hostPowerMonitorActiveInterval,+ ),+ }+ : {}),+ ...(overrides.hostPowerMonitorIdleInterval+ ? {+ hostPowerMonitorIdleIntervalMs: Duration.toMillis(+ overrides.hostPowerMonitorIdleInterval,+ ),+ }+ : {}),+ ...(overrides.idleClientTtl+ ? { idleClientTtlMs: Duration.toMillis(overrides.idleClientTtl) }+ : {}),+ ...(overrides.pauseWhenHostLocked !== undefined+ ? { pauseWhenHostLocked: overrides.pauseWhenHostLocked }+ : {}),+ ...(overrides.pauseWhenHostLowPower !== undefined+ ? { pauseWhenHostLowPower: overrides.pauseWhenHostLowPower }+ : {}),+ ...(overrides.pauseWhenClientLowPower !== undefined+ ? { pauseWhenClientLowPower: overrides.pauseWhenClientLowPower }+ : {}),+ ...(overrides.pauseWhenOnBattery !== undefined+ ? { pauseWhenOnBattery: overrides.pauseWhenOnBattery }+ : {}),+ },+ },+ automaticGitFetchIntervalMs: Duration.toMillis(settings.automaticGitFetchInterval),+ providerHealthRefreshIntervalMs: Duration.toMillis(settings.providerHealthRefreshInterval),+ backgroundActivityProfile: settings.backgroundActivityProfile,+ defaultThreadEnvMode: settings.defaultThreadEnvMode,+ newWorktreesStartFromOrigin: settings.newWorktreesStartFromOrigin,+ textGenerationModelSelection: settings.textGenerationModelSelection,+ sourceControlWritingStyle: {+ ...settings.sourceControlWritingStyle,+ customInstructions: safeText(settings.sourceControlWritingStyle.customInstructions),+ },+ sourceControlWriterModelSelection: settings.sourceControlWriterModelSelection,+ };+}++function settingsPatchFromPortable(settings: PortabilitySafeServerSettings): ServerSettingsPatch {+ const overrides = settings.backgroundActivity.overrides;+ return {+ enableLegacyTokenStreaming: settings.enableLegacyTokenStreaming,+ enableProviderUpdateChecks: settings.enableProviderUpdateChecks,+ enableAgentBrowserAccess: settings.enableAgentBrowserAccess,+ backgroundActivity: {+ schemaVersion: 1,+ profile: settings.backgroundActivity.profile,+ ...(settings.backgroundActivity.baseProfile+ ? { baseProfile: settings.backgroundActivity.baseProfile }+ : {}),+ overrides: {+ ...(overrides.automaticGitFetchIntervalMs !== undefined+ ? {+ automaticGitFetchInterval: Duration.millis(overrides.automaticGitFetchIntervalMs),+ }+ : {}),+ ...(overrides.providerHealthRefreshIntervalMs !== undefined+ ? {+ providerHealthRefreshInterval: Duration.millis(+ overrides.providerHealthRefreshIntervalMs,+ ),+ }+ : {}),+ ...(overrides.hostPowerMonitorActiveIntervalMs !== undefined+ ? {+ hostPowerMonitorActiveInterval: Duration.millis(+ overrides.hostPowerMonitorActiveIntervalMs,+ ),+ }+ : {}),+ ...(overrides.hostPowerMonitorIdleIntervalMs !== undefined+ ? {+ hostPowerMonitorIdleInterval: Duration.millis(+ overrides.hostPowerMonitorIdleIntervalMs,+ ),+ }+ : {}),+ ...(overrides.idleClientTtlMs !== undefined+ ? { idleClientTtl: Duration.millis(overrides.idleClientTtlMs) }+ : {}),+ ...(overrides.pauseWhenHostLocked !== undefined+ ? { pauseWhenHostLocked: overrides.pauseWhenHostLocked }+ : {}),+ ...(overrides.pauseWhenHostLowPower !== undefined+ ? { pauseWhenHostLowPower: overrides.pauseWhenHostLowPower }+ : {}),+ ...(overrides.pauseWhenClientLowPower !== undefined+ ? { pauseWhenClientLowPower: overrides.pauseWhenClientLowPower }+ : {}),+ ...(overrides.pauseWhenOnBattery !== undefined+ ? { pauseWhenOnBattery: overrides.pauseWhenOnBattery }+ : {}),+ },+ },+ automaticGitFetchInterval: Duration.millis(settings.automaticGitFetchIntervalMs),+ providerHealthRefreshInterval: Duration.millis(settings.providerHealthRefreshIntervalMs),+ backgroundActivityProfile: settings.backgroundActivityProfile,+ defaultThreadEnvMode: settings.defaultThreadEnvMode,+ newWorktreesStartFromOrigin: settings.newWorktreesStartFromOrigin,+ textGenerationModelSelection: settings.textGenerationModelSelection,+ sourceControlWritingStyle: settings.sourceControlWritingStyle,+ sourceControlWriterModelSelection: settings.sourceControlWriterModelSelection,+ };+}++type RecordCore = Omit<PortabilityArchiveRecord, "checksum">;++function withChecksum(record: RecordCore): PortabilityArchiveRecord {+ return { ...record, checksum: portabilityChecksum(record) } as PortabilityArchiveRecord;+}++function portableId(prefix: string, value: unknown): string {+ return `${prefix}-${portabilityChecksum(value).slice(0, 32)}`;+}++const APPROVAL_ACTIVITY_KINDS = new Set([+ "approval.requested",+ "approval.resolved",+ "provider.approval.respond.failed",+]);++function stringField(payload: unknown, key: string): string | undefined {+ if (typeof payload !== "object" || payload === null) return undefined;+ const value = (payload as Record<string, unknown>)[key];+ return typeof value === "string" && value.trim().length > 0 ? safeText(value) : undefined;+}++export function portableRecords(+ snapshot: OrchestrationReadModel,+ settings: ServerSettings,+): PortabilityArchiveRecord[] {+ const mcpServerIds = new Set((snapshot.mcpServers ?? []).map((server) => server.id));+ const threadIds = new Set(snapshot.threads.map((thread) => thread.id));+ const records: RecordCore[] = [+ {+ type: "server-settings",+ id: "server-settings",+ updatedAt: snapshot.updatedAt,+ data: safeServerSettings(settings),+ },+ ...(snapshot.mcpServers ?? []).map((server) => ({+ type: "mcp-server" as const,+ id: server.id,+ updatedAt: server.updatedAt,+ data: {+ ...(server.id.startsWith(BUILTIN_MCP_PREFIX)+ ? { catalogId: server.id.slice(BUILTIN_MCP_PREFIX.length) }+ : {}),+ configuration: safeMcpConfiguration(server),+ },+ })),+ ...snapshot.bots.map((bot) => ({+ type: "bot" as const,+ id: bot.id,+ updatedAt: bot.updatedAt,+ data: {+ name: safeText(bot.name),+ title: safeText(bot.title),+ label: bot.label === null ? null : safeText(bot.label),+ description: bot.description === null ? null : safeText(bot.description),+ disabledMcpServerIds: bot.disabledMcpServerIds+ .filter((id) => mcpServerIds.has(id))+ .toSorted(),+ avatar:+ bot.avatar.kind === "image" ? ({ kind: "dither", seed: bot.id } as const) : bot.avatar,+ engine: bot.engine,+ sandbox: bot.sandbox,+ runtimeMode: bot.runtimeMode,+ usageCap: bot.usageCap,+ voiceEnabled: bot.voiceEnabled,+ archived: bot.archivedAt !== null,+ },+ })),+ ...snapshot.groups.map((group) => ({+ type: "group" as const,+ id: group.id,+ updatedAt: group.updatedAt,+ data: {+ name: safeText(group.name),+ bossBotId: group.bossBotId,+ members: [...group.members].sort((left, right) => left.botId.localeCompare(right.botId)),+ },+ })),+ ...snapshot.projects+ .filter((project) => project.deletedAt === null)+ .map((project) => ({+ type: "project" as const,+ id: project.id,+ updatedAt: project.updatedAt,+ data: portableProjectData(project),+ })),+ ...snapshot.threads+ .filter((thread) => thread.deletedAt === null)+ .map((thread) => {+ const messages = [...thread.messages]+ .toSorted(+ (left, right) =>+ left.createdAt.localeCompare(right.createdAt) || left.id.localeCompare(right.id),+ )+ .map((message, index) => {+ const data = {+ role: message.role,+ text: safeText(message.text),+ ...(message.respondingBotId !== undefined &&+ (message.respondingBotId === null ||+ snapshot.bots.some((bot) => bot.id === message.respondingBotId))+ ? { respondingBotId: message.respondingBotId }+ : {}),+ createdAt: message.createdAt,+ updatedAt: message.updatedAt,+ };+ return {+ id: MessageId.make(portableId("message", { threadId: thread.id, index, ...data })),+ ...data,+ };+ });+ const proposedPlans = [...thread.proposedPlans]+ .toSorted(+ (left, right) =>+ left.createdAt.localeCompare(right.createdAt) || left.id.localeCompare(right.id),+ )+ .map((plan, index) => {+ const data = {+ planMarkdown: safeText(plan.planMarkdown),+ implementedAt: plan.implementedAt,+ implementationThreadId:+ plan.implementationThreadId !== null && threadIds.has(plan.implementationThreadId)+ ? plan.implementationThreadId+ : null,+ createdAt: plan.createdAt,+ updatedAt: plan.updatedAt,+ };+ return {+ id: portableId("plan", { threadId: thread.id, index, ...data }),+ ...data,+ };+ });+ const approvalHistory = thread.activities+ .flatMap((activity) => {+ const archivedKind = stringField(activity.payload, "originalKind");+ const originalKind = APPROVAL_ACTIVITY_KINDS.has(activity.kind)+ ? activity.kind+ : activity.kind === "approval.history" &&+ archivedKind !== undefined &&+ APPROVAL_ACTIVITY_KINDS.has(archivedKind)+ ? archivedKind+ : undefined;+ if (originalKind === undefined) return [];+ const requestId = stringField(activity.payload, "requestId");+ const requestKind = stringField(activity.payload, "requestKind");+ const requestType = stringField(activity.payload, "requestType");+ const decision = stringField(activity.payload, "decision");+ return [+ {+ originalKind: originalKind as+ | "approval.requested"+ | "approval.resolved"+ | "provider.approval.respond.failed",+ summary: safeText(activity.summary),+ ...(requestId ? { requestId } : {}),+ ...(requestKind ? { requestKind } : {}),+ ...(requestType ? { requestType } : {}),+ ...(decision ? { decision } : {}),+ provider:+ stringField(activity.payload, "provider") ?? thread.modelSelection.instanceId,+ createdAt: activity.createdAt,+ },+ ];+ })+ .toSorted(+ (left, right) =>+ left.createdAt.localeCompare(right.createdAt) ||+ canonicalJson(left).localeCompare(canonicalJson(right)),+ )+ .map((activity, index) => ({+ id: EventId.make(portableId("approval", { threadId: thread.id, index, ...activity })),+ ...activity,+ }));+ return {+ type: "thread" as const,+ id: thread.id,+ updatedAt: thread.updatedAt,+ data: {+ projectId: thread.projectId,+ ...(thread.botId !== undefined ? { botId: thread.botId } : {}),+ ...(thread.groupId !== undefined ? { groupId: thread.groupId } : {}),+ title: safeText(thread.title),+ modelSelection: thread.modelSelection,+ runtimeMode: thread.runtimeMode,+ interactionMode: thread.interactionMode,+ createdAt: thread.createdAt,+ archivedAt: thread.archivedAt,+ settledOverride:+ thread.settledOverride === "settled" || thread.settledAt !== null+ ? ("settled" as const)+ : thread.settledOverride === "active"+ ? ("active" as const)+ : null,+ settledAt:+ thread.settledOverride === "settled" || thread.settledAt !== null+ ? (thread.settledAt ?? thread.updatedAt)+ : null,+ snoozedUntil: thread.snoozedUntil && thread.snoozedAt ? thread.snoozedUntil : null,+ snoozedAt: thread.snoozedUntil && thread.snoozedAt ? thread.snoozedAt : null,+ pinnedAt: thread.pinnedAt ?? null,+ pinOrderKey: thread.pinOrderKey ?? null,+ messages,+ proposedPlans,+ approvalHistory,+ },+ };+ }),+ ];+ return records+ .sort((left, right) =>+ left.type === right.type+ ? left.id.localeCompare(right.id)+ : left.type.localeCompare(right.type),+ )+ .map(withChecksum);+}++export function createPortabilityArchive(+ snapshot: OrchestrationReadModel,+ settings: ServerSettings,+ exportedAt: string,+) {+ const records = portableRecords(snapshot, settings);+ const body = {+ format: AKERU_ARCHIVE_FORMAT,+ version: AKERU_ARCHIVE_VERSION,+ exportedAt,+ manifest: {+ recordCounts: Object.fromEntries(+ ARCHIVE_RECORD_TYPES.map((type) => [+ type,+ records.filter((record) => record.type === type).length,+ ]),+ ),+ excluded: [...ARCHIVE_EXCLUSIONS],+ },+ records,+ } as const;+ return { ...body, checksum: portabilityChecksum(body) };+}++export function serializePortabilityArchive(archive: ReturnType<typeof createPortabilityArchive>) {+ return `${JSON.stringify(canonicalValue(archive), null, 2)}\n`;+}++function assertSafeImportedMcp(record: Extract<PortabilityArchiveRecord, { type: "mcp-server" }>) {+ if (+ record.data.catalogId !== undefined &&+ record.id !== `${BUILTIN_MCP_PREFIX}${record.data.catalogId}`+ ) {+ throw new Error(`MCP server '${record.id}' has an inconsistent catalog ID.`);+ }+ const config = record.data.configuration;+ if (config.transport === "stdio") {+ if (+ safeMcpCommand(config.command) !== config.command ||+ canonicalJson(safeMcpArgs(config.args) ?? []) !== canonicalJson(config.args ?? [])+ ) {+ throw new Error(`MCP server '${record.id}' contains a local path or credential argument.`);+ }+ return;+ }+ const url = new URL(config.url);+ if (url.username || url.password || url.search || url.hash) {+ throw new Error(`MCP server '${record.id}' contains URL credentials or query data.`);+ }+}++function assertSafeImportedText(label: string, value: string): void {+ if (safeText(value) !== value) throw new Error(`${label} contains unsafe text.`);+}++function assertSafeImportedRecord(record: PortabilityArchiveRecord): void {+ if (record.type === "server-settings") {+ assertSafeImportedText(+ "Source control custom instructions",+ record.data.sourceControlWritingStyle.customInstructions,+ );+ return;+ }+ if (record.type === "mcp-server") {+ assertSafeImportedText(`MCP server '${record.id}' name`, record.data.configuration.name);+ assertSafeImportedMcp(record);+ return;+ }+ if (record.type === "bot") {+ assertSafeImportedText(`Bot '${record.id}' name`, record.data.name);+ assertSafeImportedText(`Bot '${record.id}' title`, record.data.title);+ if (record.data.label !== null)+ assertSafeImportedText(`Bot '${record.id}' label`, record.data.label);+ if (record.data.description !== null)+ assertSafeImportedText(`Bot '${record.id}' description`, record.data.description);+ if (record.data.avatar.kind === "image") {+ throw new Error(`Bot '${record.id}' contains an image avatar path.`);+ }+ return;+ }+ if (record.type === "group") {+ assertSafeImportedText(`Group '${record.id}' name`, record.data.name);+ return;+ }+ if (record.type === "project") {+ assertSafeImportedText(`Project '${record.id}' title`, record.data.title);+ assertSafeImportedText(`Project '${record.id}' workspace name`, record.data.workspaceName);+ for (const value of Object.values(record.data.repository ?? {})) {+ if (value !== undefined) assertSafeImportedText(`Project '${record.id}' repository`, value);+ }+ return;+ }+ if (record.type === "thread") {+ assertSafeImportedText(`Thread '${record.id}' title`, record.data.title);+ for (const message of record.data.messages) {+ assertSafeImportedText(`Thread '${record.id}' message`, message.text);+ }+ for (const plan of record.data.proposedPlans) {+ assertSafeImportedText(`Thread '${record.id}' proposed plan`, plan.planMarkdown);+ }+ for (const approval of record.data.approvalHistory) {+ assertSafeImportedText(`Thread '${record.id}' approval summary`, approval.summary);+ assertSafeImportedText(`Thread '${record.id}' approval provider`, approval.provider);+ for (const value of [+ approval.requestId,+ approval.requestKind,+ approval.requestType,+ approval.decision,+ ]) {+ if (value !== undefined)+ assertSafeImportedText(`Thread '${record.id}' approval field`, value);+ }+ }+ if (+ (record.data.settledOverride === "settled") !== (record.data.settledAt !== null) ||+ (record.data.snoozedUntil === null) !== (record.data.snoozedAt === null)+ ) {+ throw new Error(`Thread '${record.id}' has inconsistent lifecycle timestamps.`);+ }+ }+}++export function parsePortabilityArchive(contents: string) {+ const archive = decodeArchive(JSON.parse(contents));+ const sorted = [...archive.records].sort((left, right) =>+ left.type === right.type+ ? left.id.localeCompare(right.id)+ : left.type.localeCompare(right.type),+ );+ if (archive.records.some((record, index) => record !== sorted[index])) {+ throw new Error("Archive records are not sorted.");+ }+ const keys = new Set<string>();+ for (const record of archive.records) {+ const key = `${record.type}:${record.id}`;+ if (keys.has(key)) throw new Error(`Archive contains duplicate record '${key}'.`);+ keys.add(key);+ const { checksum, ...core } = record;+ if (portabilityChecksum(core) !== checksum) throw new Error(`Checksum failed for '${key}'.`);+ assertSafeImportedRecord(record);+ }+ const { checksum, ...body } = archive;+ if (portabilityChecksum(body) !== checksum) throw new Error("Archive checksum failed.");+ const recordCounts = Object.fromEntries(+ ARCHIVE_RECORD_TYPES.map((type) => [+ type,+ archive.records.filter((record) => record.type === type).length,+ ]),+ );+ if (canonicalJson(archive.manifest.recordCounts) !== canonicalJson(recordCounts)) {+ throw new Error("Archive manifest record counts do not match its records.");+ }++ const botIds = new Set(+ archive.records.filter((record) => record.type === "bot").map((record) => record.id),+ );+ const mcpIds = new Set(+ archive.records.filter((record) => record.type === "mcp-server").map((record) => record.id),+ );+ const projectIds = new Set(+ archive.records.filter((record) => record.type === "project").map((record) => record.id),+ );+ const threadIds = new Set(+ archive.records.filter((record) => record.type === "thread").map((record) => record.id),+ );+ const groupIds = new Set(+ archive.records.filter((record) => record.type === "group").map((record) => record.id),+ );+ const groupByBotId = new Map<string, string>();+ for (const record of archive.records) {+ if (record.type === "bot") {+ const missing = record.data.disabledMcpServerIds.find((id) => !mcpIds.has(id));+ if (missing)+ throw new Error(`Bot '${record.id}' references missing MCP server '${missing}'.`);+ }+ if (record.type === "group") {+ const memberIds = record.data.members.map((member) => member.botId);+ if (new Set(memberIds).size !== memberIds.length) {+ throw new Error(`Group '${record.id}' contains duplicate members.`);+ }+ const bosses = record.data.members.filter((member) => member.role === "boss");+ if (+ bosses.length > 1 ||+ (record.data.bossBotId === null && bosses.length !== 0) ||+ (record.data.bossBotId !== null &&+ (bosses.length !== 1 || bosses[0]!.botId !== record.data.bossBotId))+ ) {+ throw new Error(`Group '${record.id}' has inconsistent boss membership.`);+ }+ const referenced = [+ record.data.bossBotId,+ ...record.data.members.map((member) => member.botId),+ ];+ const missing = referenced.find((id) => id !== null && !botIds.has(id));+ if (missing) throw new Error(`Group '${record.id}' references missing bot '${missing}'.`);+ for (const member of record.data.members) {+ const existingGroupId = groupByBotId.get(member.botId);+ if (existingGroupId && existingGroupId !== record.id) {+ throw new Error(+ `Bot '${member.botId}' belongs to both group '${existingGroupId}' and '${record.id}'.`,+ );+ }+ groupByBotId.set(member.botId, record.id);+ }+ }+ if (record.type === "thread") {+ if (!projectIds.has(record.data.projectId)) {+ throw new Error(+ `Thread '${record.id}' references missing project '${record.data.projectId}'.`,+ );+ }+ if (record.data.botId && !botIds.has(record.data.botId)) {+ throw new Error(`Thread '${record.id}' references missing bot '${record.data.botId}'.`);+ }+ if (record.data.groupId && !groupIds.has(record.data.groupId)) {+ throw new Error(`Thread '${record.id}' references missing group '${record.data.groupId}'.`);+ }+ const missingRespondingBot = record.data.messages.find(+ (message) => message.respondingBotId && !botIds.has(message.respondingBotId),+ )?.respondingBotId;+ if (missingRespondingBot) {+ throw new Error(+ `Thread '${record.id}' message references missing bot '${missingRespondingBot}'.`,+ );+ }+ const missingImplementationThread = record.data.proposedPlans.find(+ (plan) =>+ plan.implementationThreadId !== null && !threadIds.has(plan.implementationThreadId),+ )?.implementationThreadId;+ if (missingImplementationThread) {+ throw new Error(+ `Thread '${record.id}' plan references missing thread '${missingImplementationThread}'.`,+ );+ }+ }+ }+ return archive;+}++function item(record: PortabilityArchiveRecord): PortabilityImportItem {+ const title =+ record.type === "server-settings"+ ? "Server settings"+ : record.type === "mcp-server"+ ? record.data.configuration.name+ : record.type === "bot" || record.type === "group"+ ? record.data.name+ : record.data.title;+ return { recordType: record.type, id: record.id, title };+}++type ProjectRestoreMatch =+ | { readonly kind: "matched"; readonly targetId: ProjectId }+ | { readonly kind: "conflict" }+ | { readonly kind: "unsupported"; readonly reason: string };++function normalizedIdentityPart(value: string | undefined): string | undefined {+ return value?.trim().toLocaleLowerCase("en-US");+}++function repositoriesMatch(+ source: PortabilityProjectData["repository"],+ target: PortabilityProjectData["repository"],+): boolean {+ if (!source || !target) return false;+ const sourceProvider = normalizedIdentityPart(source.provider);+ const targetProvider = normalizedIdentityPart(target.provider);+ if (sourceProvider !== targetProvider) return false;+ const sourceOwner = normalizedIdentityPart(source.owner);+ const targetOwner = normalizedIdentityPart(target.owner);+ const sourceName = normalizedIdentityPart(source.name);+ const targetName = normalizedIdentityPart(target.name);+ if (sourceOwner && targetOwner && sourceName && targetName) {+ return sourceOwner === targetOwner && sourceName === targetName;+ }+ const sourceDisplayName = normalizedIdentityPart(source.displayName);+ const targetDisplayName = normalizedIdentityPart(target.displayName);+ return sourceDisplayName !== undefined && sourceDisplayName === targetDisplayName;+}++function resolveProjectRestoreMatches(+ archive: PortabilityArchive,+ snapshot: OrchestrationReadModel,+): Map<string, ProjectRestoreMatch> {+ const sourceProjects = archive.records.filter((record) => record.type === "project");+ const targets = snapshot.projects+ .filter((project) => project.deletedAt === null)+ .map((project) => ({ project, data: portableProjectData(project) }));+ const matches = new Map<string, ProjectRestoreMatch>();++ for (const source of sourceProjects) {+ const repositoryCandidates = source.data.repository+ ? targets.filter((target) =>+ repositoriesMatch(source.data.repository, target.data.repository),+ )+ : [];+ if (repositoryCandidates.length === 1) {+ matches.set(source.id, {+ kind: "matched",+ targetId: repositoryCandidates[0]!.project.id,+ });+ continue;+ }+ if (repositoryCandidates.length > 1) {+ const workspaceCandidates = repositoryCandidates.filter(+ (target) => target.data.workspaceName === source.data.workspaceName,+ );+ if (workspaceCandidates.length === 1) {+ matches.set(source.id, {+ kind: "matched",+ targetId: workspaceCandidates[0]!.project.id,+ });+ } else {+ matches.set(source.id, {+ kind: "conflict",+ });+ }+ continue;+ }++ const workspaceCandidates = targets.filter(+ (target) =>+ target.data.workspaceName === source.data.workspaceName &&+ (source.data.repository === undefined || target.data.repository === undefined),+ );+ if (workspaceCandidates.length === 1) {+ matches.set(source.id, {+ kind: "matched",+ targetId: workspaceCandidates[0]!.project.id,+ });+ } else if (workspaceCandidates.length > 1) {+ matches.set(source.id, {+ kind: "conflict",+ });+ } else {+ matches.set(source.id, {+ kind: "unsupported",+ reason: "No existing target project matches this repository or workspace name.",+ });+ }+ }++ const sourceIdsByTarget = new Map<string, string[]>();+ for (const [sourceId, match] of matches) {+ if (match.kind !== "matched") continue;+ const sourceIds = sourceIdsByTarget.get(match.targetId) ?? [];+ sourceIds.push(sourceId);+ sourceIdsByTarget.set(match.targetId, sourceIds);+ }+ for (const [targetId, sourceIds] of sourceIdsByTarget) {+ if (sourceIds.length < 2) continue;+ const exactId = sourceIds.find((sourceId) => sourceId === targetId);+ for (const sourceId of sourceIds) {+ if (sourceId === exactId) continue;+ matches.set(sourceId, {+ kind: "conflict",+ });+ }+ }++ return matches;+}++function mutableProjectData(data: PortabilityProjectData) {+ return {+ title: data.title,+ defaultModelSelection: data.defaultModelSelection,+ defaultThreadEnvMode: data.defaultThreadEnvMode ?? null,+ };+}++export function portabilityStateChecksum(+ snapshot: OrchestrationReadModel,+ settings: ServerSettings,+ availableProviderIds: ReadonlySet<string>,+): string {+ return portabilityChecksum({+ snapshotSequence: snapshot.snapshotSequence,+ availableProviderIds: [...availableProviderIds].sort(),+ records: portableRecords(snapshot, settings),+ });+}++export function isPortabilityPreviewCurrent(+ snapshot: OrchestrationReadModel,+ settings: ServerSettings,+ availableProviderIds: ReadonlySet<string>,+ preview: Pick<PortabilityImportPreview, "snapshotSequence" | "stateChecksum">,+): boolean {+ return (+ snapshot.snapshotSequence === preview.snapshotSequence &&+ portabilityStateChecksum(snapshot, settings, availableProviderIds) === preview.stateChecksum+ );+}++export function previewPortabilityImport(+ archive: PortabilityArchive,+ snapshot: OrchestrationReadModel,+ settings: ServerSettings,+ availableProviderIds: ReadonlySet<string>,+): PortabilityImportPreview {+ const current = new Map(+ portableRecords(snapshot, settings).map((record) => [`${record.type}:${record.id}`, record]),+ );+ const projectMatches = resolveProjectRestoreMatches(archive, snapshot);+ const additions: PortabilityImportItem[] = [];+ const changes: PortabilityImportItem[] = [];+ const conflicts: PortabilityImportItem[] = [];+ const deletedThreadIds = new Set<string>(+ snapshot.threads.filter((thread) => thread.deletedAt !== null).map((thread) => thread.id),+ );+ const currentBotGroupIds = new Map(snapshot.bots.map((bot) => [bot.id, bot.groupId]));+ const enabledMcpServerIds = new Set(+ (snapshot.mcpServers ?? []).filter((server) => server.enabled).map((server) => server.id),+ );+ const missingProviders = [+ ...new Set(+ archive.records.flatMap((record) =>+ (record.type === "bot" && record.data.engine+ ? [record.data.engine.provider]+ : record.type === "thread"+ ? [record.data.modelSelection.instanceId]+ : record.type === "project" && record.data.defaultModelSelection+ ? [record.data.defaultModelSelection.instanceId]+ : record.type === "server-settings"+ ? [+ record.data.textGenerationModelSelection.instanceId,+ ...(record.data.sourceControlWriterModelSelection+ ? [record.data.sourceControlWriterModelSelection.instanceId]+ : []),+ ]+ : []+ ).filter((provider) => !availableProviderIds.has(provider)),+ ),+ ),+ ].sort();+ const missingProviderIds = new Set(missingProviders);+ const unavailableBotIds = new Set(+ archive.records.flatMap((record) =>+ record.type === "bot" &&+ record.data.engine &&+ missingProviderIds.has(record.data.engine.provider)+ ? [record.id]+ : [],+ ),+ );+ const unavailableGroupIds = new Set(+ archive.records.flatMap((record) => {+ if (record.type !== "group") return [];+ const hasUnavailableMember = record.data.members.some((member) =>+ unavailableBotIds.has(member.botId),+ );+ const hasAssignedMember = record.data.members.some((member) => {+ const groupId = currentBotGroupIds.get(member.botId);+ return groupId !== undefined && groupId !== null && groupId !== record.id;+ });+ return record.data.bossBotId === null || hasUnavailableMember || hasAssignedMember+ ? [record.id]+ : [];+ }),+ );+ const unsupportedCounts = new Map<+ string,+ { kind: "project" | "thread"; count: number; reason: string }+ >();+ const addUnsupported = (kind: "project" | "thread", reason: string) => {+ const key = `${kind}:${reason}`;+ const existing = unsupportedCounts.get(key);+ unsupportedCounts.set(key, { kind, count: (existing?.count ?? 0) + 1, reason });+ };+ for (const record of archive.records) {+ const projectMatch =+ record.type === "project"+ ? projectMatches.get(record.id)+ : record.type === "thread"+ ? projectMatches.get(record.data.projectId)+ : undefined;+ if (projectMatch?.kind === "unsupported") {+ addUnsupported(record.type as "project" | "thread", projectMatch.reason);+ continue;+ }+ if (projectMatch?.kind === "conflict") {+ conflicts.push(item(record));+ continue;+ }+ if (+ (record.type === "bot" && unavailableBotIds.has(record.id)) ||+ (record.type === "server-settings" &&+ (missingProviderIds.has(record.data.textGenerationModelSelection.instanceId) ||+ (record.data.sourceControlWriterModelSelection !== null &&+ missingProviderIds.has(record.data.sourceControlWriterModelSelection.instanceId)))) ||+ (record.type === "project" &&+ record.data.defaultModelSelection !== null &&+ missingProviderIds.has(record.data.defaultModelSelection.instanceId)) ||+ (record.type === "group" && unavailableGroupIds.has(record.id)) ||+ (record.type === "thread" &&+ (deletedThreadIds.has(record.id) ||+ missingProviderIds.has(record.data.modelSelection.instanceId) ||+ (record.data.botId !== undefined &&+ record.data.botId !== null &&+ unavailableBotIds.has(record.data.botId)) ||+ (record.data.groupId !== undefined &&+ record.data.groupId !== null &&+ unavailableGroupIds.has(record.data.groupId))))+ ) {+ conflicts.push(item(record));+ continue;+ }+ const existingKey =+ record.type === "project" && projectMatch?.kind === "matched"+ ? `project:${projectMatch.targetId}`+ : `${record.type}:${record.id}`;+ const existing = current.get(existingKey);+ const importedData =+ record.type === "thread" && projectMatch?.kind === "matched"+ ? { ...record.data, projectId: projectMatch.targetId }+ : record.data;+ if (!existing) additions.push(item(record));+ else if (+ record.type === "project" &&+ existing.type === "project" &&+ canonicalJson(mutableProjectData(existing.data)) ===+ canonicalJson(mutableProjectData(record.data))+ ) {+ continue;+ } else if (canonicalJson(existing.data) === canonicalJson(importedData)) {+ if (record.type === "mcp-server" && enabledMcpServerIds.has(McpServerId.make(record.id))) {+ changes.push(item(record));+ }+ continue;+ } else if (+ record.type === "thread" &&+ existing.type === "thread" &&+ (existing.data.projectId !==+ (projectMatch?.kind === "matched" ? projectMatch.targetId : record.data.projectId) ||+ existing.data.botId !== record.data.botId ||+ existing.data.groupId !== record.data.groupId ||+ ((existing.data.messages.length > 0 ||+ existing.data.proposedPlans.length > 0 ||+ existing.data.approvalHistory.length > 0) &&+ canonicalJson({+ messages: existing.data.messages,+ proposedPlans: existing.data.proposedPlans,+ approvalHistory: existing.data.approvalHistory,+ }) !==+ canonicalJson({+ messages: record.data.messages,+ proposedPlans: record.data.proposedPlans,+ approvalHistory: record.data.approvalHistory,+ })))+ ) {+ conflicts.push(item(record));+ } else if (existing.updatedAt > record.updatedAt) {+ conflicts.push(item(record));+ } else changes.push(item(record));+ }+ return {+ snapshotSequence: snapshot.snapshotSequence,+ stateChecksum: portabilityStateChecksum(snapshot, settings, availableProviderIds),+ additions,+ changes,+ conflicts,+ missingProviders,+ skippedSecrets: [+ "Provider credentials and opaque provider configuration",+ "MCP credentials and environment variables",+ "Local paths, image avatar files, Git state, and event identifiers",+ ],+ unsupported: [+ ...unsupportedCounts.values(),+ {+ kind: "jobs" as const,+ count: 0,+ reason: "The Akeru read model has no jobs collection or repository.",+ },+ {+ kind: "memory" as const,+ count: 0,+ reason: "The Akeru read model has no durable memory collection or repository.",+ },+ {+ kind: "routines" as const,+ count: 0,+ reason: "The Akeru read model has no routines collection or repository.",+ },+ {+ kind: "skill-assignments" as const,+ count: 0,+ reason: "Provider skill discovery exists, but Akeru has no persisted skill assignments.",+ },+ {+ kind: "usage-history" as const,+ count: 0,+ reason:+ "Usage is read from provider-owned transcripts. Akeru has no usage import repository.",+ },+ ],+ };+}++function nextCommandId(): CommandId {+ return CommandId.make(`portability-${NodeCrypto.randomUUID()}`);+}++function mcpCommand(+ type: "mcp-server.create" | "mcp-server.update",+ record: Extract<PortabilityArchiveRecord, { type: "mcp-server" }>,+): OrchestrationCommand {+ const config = record.data.configuration;+ return {+ type,+ commandId: nextCommandId(),+ mcpServerId: McpServerId.make(record.id),+ ...config,+ ...(type === "mcp-server.create" ? { enabled: false, createdAt: record.updatedAt } : {}),+ } as OrchestrationCommand;+}++function itemForCommand(+ command: OrchestrationCommand,+ records: readonly PortabilityArchiveRecord[],+ projectSourceIdByTarget: ReadonlyMap<string, string>,+): PortabilityImportItem {+ const key = (() => {+ switch (command.type) {+ case "project.create":+ case "project.meta.update":+ case "project.delete":+ return `project:${projectSourceIdByTarget.get(command.projectId) ?? command.projectId}`;+ case "bot.create":+ case "bot.update":+ case "bot.archive":+ case "bot.restore":+ return `bot:${command.botId}`;+ case "group.create":+ case "group.rename":+ case "group.delete":+ case "group.member.assign":+ case "group.member.unassign":+ case "group.boss.set":+ return `group:${command.groupId}`;+ case "mcp-server.create":+ case "mcp-server.update":+ case "mcp-server.delete":+ case "mcp-server.enable":+ case "mcp-server.disable":+ return `mcp-server:${command.mcpServerId}`;+ default:+ return `thread:${command.threadId}`;+ }+ })();+ const record = records.find((entry) => `${entry.type}:${entry.id}` === key);+ if (!record) throw new Error(`Restore command '${command.type}' has no archive record.`);+ return item(record);+}++export interface PortabilityApplyOutcome {+ readonly item: PortabilityImportItem;+ readonly succeeded: boolean;+ readonly message?: string;+}++export function summarizePortabilityApply(+ outcomes: readonly PortabilityApplyOutcome[],+ skipped: number,+) {+ const byRecord = new Map<+ string,+ { item: PortabilityImportItem; succeeded: number; messages: string[] }+ >();+ for (const outcome of outcomes) {+ const key = `${outcome.item.recordType}:${outcome.item.id}`;+ const state = byRecord.get(key) ?? { item: outcome.item, succeeded: 0, messages: [] };+ if (outcome.succeeded) state.succeeded += 1;+ else state.messages.push(outcome.message ?? "Restore operation failed.");+ byRecord.set(key, state);+ }+ const failures = [...byRecord.values()]+ .filter((state) => state.messages.length > 0)+ .map((state) => ({+ ...state.item,+ partial: state.succeeded > 0,+ message: state.messages.join(" "),+ }));+ return {+ applied: [...byRecord.values()].filter((state) => state.messages.length === 0).length,+ skipped,+ failed: failures.filter((failure) => !failure.partial).length,+ partial: failures.filter((failure) => failure.partial).length,+ failures,+ };+}++export function commandsForPortabilityImport(+ archive: PortabilityArchive,+ snapshot: OrchestrationReadModel,+ settings: ServerSettings,+ availableProviderIds: ReadonlySet<string>,+): {+ commands: OrchestrationCommand[];+ commandItems: PortabilityImportItem[];+ settingsPatch?: ServerSettingsPatch;+ settingsItem?: PortabilityImportItem;+ applied: number;+ skipped: number;+} {+ const preview = previewPortabilityImport(archive, snapshot, settings, availableProviderIds);+ const projectMatches = resolveProjectRestoreMatches(archive, snapshot);+ const projectSourceIdByTarget = new Map(+ [...projectMatches.entries()].flatMap(([sourceId, match]) =>+ match.kind === "matched" ? [[match.targetId, sourceId] as const] : [],+ ),+ );+ const conflictKeys = new Set(preview.conflicts.map((entry) => `${entry.recordType}:${entry.id}`));+ const mcpById = new Map((snapshot.mcpServers ?? []).map((server) => [server.id, server]));+ const projectsById = new Map(snapshot.projects.map((project) => [project.id, project]));+ const botsById = new Map(snapshot.bots.map((bot) => [bot.id, bot]));+ const groupsById = new Map(snapshot.groups.map((group) => [group.id, group]));+ const threadsById = new Map(snapshot.threads.map((thread) => [thread.id, thread]));+ const currentRecords = new Map(+ portableRecords(snapshot, settings).map((record) => [`${record.type}:${record.id}`, record]),+ );+ const referencedBotIds = new Set(+ archive.records.flatMap((record) =>+ record.type === "group"+ ? record.data.members.map((member) => member.botId)+ : record.type === "thread" && record.data.botId+ ? [record.data.botId]+ : [],+ ),+ );+ const commands: OrchestrationCommand[] = [];+ const deferredBotArchiveCommands: OrchestrationCommand[] = [];+ let settingsPatch: ServerSettingsPatch | undefined;+ let applied = 0;+ let skipped =+ preview.conflicts.length + preview.unsupported.reduce((total, entry) => total + entry.count, 0);++ for (const record of archive.records) {+ if (conflictKeys.has(`${record.type}:${record.id}`)) continue;+ if (record.type === "server-settings") {+ if (canonicalJson(safeServerSettings(settings)) !== canonicalJson(record.data)) {+ settingsPatch = settingsPatchFromPortable(record.data);+ applied += 1;+ }+ continue;+ }+ if (record.type !== "mcp-server") continue;+ const existing = mcpById.get(McpServerId.make(record.id));+ const currentConfig = existing ? safeMcpConfiguration(existing) : undefined;+ const configurationChanged =+ canonicalJson(currentConfig) !== canonicalJson(record.data.configuration);+ if (existing?.enabled) {+ commands.push({+ type: "mcp-server.disable",+ commandId: nextCommandId(),+ mcpServerId: McpServerId.make(record.id),+ });+ }+ if (!existing) commands.push(mcpCommand("mcp-server.create", record));+ else if (configurationChanged) {+ commands.push(mcpCommand("mcp-server.update", record));+ }+ if (!existing || configurationChanged || existing.enabled) {+ applied += 1;+ }+ }++ for (const record of archive.records) {+ if (record.type !== "project" || conflictKeys.has(`project:${record.id}`)) continue;+ const match = projectMatches.get(record.id);+ if (match?.kind !== "matched") continue;+ const existing = projectsById.get(match.targetId);+ if (!existing) continue;+ const defaultThreadEnvMode = record.data.defaultThreadEnvMode ?? null;+ if (+ existing.title !== record.data.title ||+ canonicalJson(existing.defaultModelSelection) !==+ canonicalJson(record.data.defaultModelSelection) ||+ (existing.defaultThreadEnvMode ?? null) !== defaultThreadEnvMode+ ) {+ commands.push({+ type: "project.meta.update",+ commandId: nextCommandId(),+ projectId: existing.id,+ title: record.data.title,+ defaultModelSelection: record.data.defaultModelSelection,+ defaultThreadEnvMode,+ });+ applied += 1;+ }+ }++ for (const record of archive.records) {+ if (record.type !== "bot" || conflictKeys.has(`bot:${record.id}`)) continue;+ const existing = botsById.get(BotId.make(record.id));+ const fields = {+ name: record.data.name,+ title: record.data.title,+ label: record.data.label,+ description: record.data.description,+ disabledMcpServerIds: record.data.disabledMcpServerIds,+ avatar: record.data.avatar,+ engine: record.data.engine,+ sandbox: record.data.sandbox,+ runtimeMode: record.data.runtimeMode,+ usageCap: record.data.usageCap,+ voiceEnabled: record.data.voiceEnabled,+ } as const;+ const changed =+ !existing ||+ canonicalJson(currentRecords.get(`bot:${record.id}`)?.data) !== canonicalJson(record.data);+ if (!existing) {+ commands.push({+ type: "bot.create",+ commandId: nextCommandId(),+ botId: BotId.make(record.id),+ ...fields,+ groupId: null,+ createdAt: record.updatedAt,+ });+ } else if (changed) {+ commands.push({+ type: "bot.update",+ commandId: nextCommandId(),+ botId: BotId.make(record.id),+ ...fields,+ });+ }+ const archived = existing ? existing.archivedAt !== null : false;+ if (archived && (!record.data.archived || referencedBotIds.has(BotId.make(record.id)))) {+ commands.push({+ type: "bot.restore",+ commandId: nextCommandId(),+ botId: BotId.make(record.id),+ });+ }+ if (record.data.archived && (!archived || referencedBotIds.has(BotId.make(record.id)))) {+ deferredBotArchiveCommands.push({+ type: "bot.archive",+ commandId: nextCommandId(),+ botId: BotId.make(record.id),+ });+ }+ if (changed) applied += 1;+ }++ for (const record of archive.records) {+ if (record.type !== "group" || conflictKeys.has(`group:${record.id}`)) continue;+ const existing = groupsById.get(GroupId.make(record.id));+ if (!existing) {+ commands.push({+ type: "group.create",+ commandId: nextCommandId(),+ groupId: GroupId.make(record.id),+ name: record.data.name,+ ...(record.data.bossBotId ? { bossBotId: BotId.make(record.data.bossBotId) } : {}),+ specialistBotIds: record.data.members+ .filter((member) => member.role === "specialist")+ .map((member) => member.botId),+ createdAt: record.updatedAt,+ });+ applied += 1;+ continue;+ }+ if (existing.name !== record.data.name) {+ commands.push({+ type: "group.rename",+ commandId: nextCommandId(),+ groupId: GroupId.make(record.id),+ name: record.data.name,+ });+ }+ const desired = new Map(record.data.members.map((member) => [member.botId, member.role]));+ const predicted = new Map(existing.members.map((member) => [member.botId, member.role]));+ if (record.data.bossBotId && existing.bossBotId !== record.data.bossBotId) {+ const unassignPreviousBoss = existing.bossBotId !== null && !desired.has(existing.bossBotId);+ commands.push({+ type: "group.boss.set",+ commandId: nextCommandId(),+ groupId: GroupId.make(record.id),+ bossBotId: record.data.bossBotId,+ unassignPreviousBoss,+ });+ if (existing.bossBotId !== null) {+ if (unassignPreviousBoss) predicted.delete(existing.bossBotId);+ else predicted.set(existing.bossBotId, "specialist");+ }+ predicted.set(record.data.bossBotId, "boss");+ }+ for (const [botId, role] of predicted) {+ if (role !== "boss" && desired.get(botId) !== role) {+ commands.push({+ type: "group.member.unassign",+ commandId: nextCommandId(),+ groupId: GroupId.make(record.id),+ botId,+ });+ }+ }+ for (const member of record.data.members) {+ if (member.role !== "boss" && predicted.get(member.botId) !== member.role) {+ commands.push({+ type: "group.member.assign",+ commandId: nextCommandId(),+ groupId: GroupId.make(record.id),+ botId: member.botId,+ role: member.role,+ });+ }+ }+ if (+ canonicalJson(currentRecords.get(`group:${record.id}`)?.data) !== canonicalJson(record.data)+ ) {+ applied += 1;+ }+ }++ for (const record of archive.records) {+ const projectMatch =+ record.type === "thread" ? projectMatches.get(record.data.projectId) : undefined;+ if (+ record.type !== "thread" ||+ conflictKeys.has(`thread:${record.id}`) ||+ projectMatch?.kind !== "matched"+ ) {+ continue;+ }+ const existing = threadsById.get(ThreadId.make(record.id));+ const existingRecord = existing ? currentRecords.get(`thread:${record.id}`) : undefined;+ if (!existing) {+ commands.push({+ type: "thread.create",+ commandId: nextCommandId(),+ threadId: ThreadId.make(record.id),+ projectId: projectMatch.targetId,+ ...(record.data.botId !== undefined ? { botId: record.data.botId } : {}),+ ...(record.data.groupId !== undefined ? { groupId: record.data.groupId } : {}),+ title: record.data.title,+ modelSelection: record.data.modelSelection,+ runtimeMode: record.data.runtimeMode,+ interactionMode: record.data.interactionMode,+ branch: null,+ worktreePath: null,+ createdAt: record.data.createdAt,+ });+ } else {+ if (+ existing.title !== record.data.title ||+ canonicalJson(existing.modelSelection) !== canonicalJson(record.data.modelSelection)+ ) {+ commands.push({+ type: "thread.meta.update",+ commandId: nextCommandId(),+ threadId: existing.id,+ title: record.data.title,+ modelSelection: record.data.modelSelection,+ });+ }+ if (existing.runtimeMode !== record.data.runtimeMode) {+ commands.push({+ type: "thread.runtime-mode.set",+ commandId: nextCommandId(),+ threadId: existing.id,+ runtimeMode: record.data.runtimeMode,+ createdAt: record.updatedAt,+ });+ }+ if (existing.interactionMode !== record.data.interactionMode) {+ commands.push({+ type: "thread.interaction-mode.set",+ commandId: nextCommandId(),+ threadId: existing.id,+ interactionMode: record.data.interactionMode,+ createdAt: record.updatedAt,+ });+ }+ }+ const historyData = {+ messages: record.data.messages,+ proposedPlans: record.data.proposedPlans,+ approvalHistory: record.data.approvalHistory,+ settledOverride: record.data.settledOverride,+ settledAt: record.data.settledAt,+ snoozedUntil: record.data.snoozedUntil,+ snoozedAt: record.data.snoozedAt,+ pinnedAt: record.data.pinnedAt ?? null,+ pinOrderKey: record.data.pinOrderKey ?? null,+ archivedAt: record.data.archivedAt,+ };+ const existingHistoryData =+ existingRecord?.type === "thread"+ ? {+ messages: existingRecord.data.messages,+ proposedPlans: existingRecord.data.proposedPlans,+ approvalHistory: existingRecord.data.approvalHistory,+ settledOverride: existingRecord.data.settledOverride,+ settledAt: existingRecord.data.settledAt,+ snoozedUntil: existingRecord.data.snoozedUntil,+ snoozedAt: existingRecord.data.snoozedAt,+ pinnedAt: existingRecord.data.pinnedAt ?? null,+ pinOrderKey: existingRecord.data.pinOrderKey ?? null,+ archivedAt: existingRecord.data.archivedAt,+ }+ : undefined;+ const hasHistoryState =+ record.data.messages.length > 0 ||+ record.data.proposedPlans.length > 0 ||+ record.data.approvalHistory.length > 0 ||+ record.data.settledOverride !== null ||+ record.data.snoozedUntil !== null ||+ record.data.pinnedAt != null ||+ record.data.archivedAt !== null;+ const restoreConversation =+ existing === undefined ||+ (existing.messages.length === 0 &&+ existing.proposedPlans.length === 0 &&+ existing.activities.every((activity) => activity.kind !== "approval.history"));+ if (+ (existingHistoryData === undefined && hasHistoryState) ||+ (existingHistoryData !== undefined &&+ canonicalJson(existingHistoryData) !== canonicalJson(historyData))+ ) {+ commands.push({+ type: "thread.history.restore",+ commandId: nextCommandId(),+ threadId: ThreadId.make(record.id),+ messages: restoreConversation+ ? record.data.messages.map((message) => ({+ ...message,+ turnId: null,+ streaming: false,+ }))+ : [],+ proposedPlans: restoreConversation+ ? record.data.proposedPlans.map((plan) => ({+ ...plan,+ turnId: null,+ }))+ : [],+ activities: restoreConversation+ ? record.data.approvalHistory.map((approval) => ({+ id: approval.id,+ tone: "approval" as const,+ kind: "approval.history",+ summary: approval.summary,+ payload: {+ originalKind: approval.originalKind,+ ...(approval.requestId ? { requestId: approval.requestId } : {}),+ ...(approval.requestKind ? { requestKind: approval.requestKind } : {}),+ ...(approval.requestType ? { requestType: approval.requestType } : {}),+ ...(approval.decision ? { decision: approval.decision } : {}),+ provider: approval.provider,+ },+ turnId: null,+ createdAt: approval.createdAt,+ }))+ : [],+ settledOverride: record.data.settledOverride,+ settledAt: record.data.settledAt,+ snoozedUntil: record.data.snoozedUntil,+ snoozedAt: record.data.snoozedAt,+ pinnedAt: record.data.pinnedAt ?? null,+ pinOrderKey: record.data.pinOrderKey ?? null,+ archivedAt: record.data.archivedAt,+ updatedAt: record.updatedAt,+ });+ }+ const importedData = { ...record.data, projectId: projectMatch.targetId };+ if (!existing || canonicalJson(existingRecord?.data) !== canonicalJson(importedData))+ applied += 1;+ }++ commands.push(...deferredBotArchiveCommands);+ return {+ commands,+ commandItems: commands.map((command) =>+ itemForCommand(command, archive.records, projectSourceIdByTarget),+ ),+ ...(settingsPatch+ ? {+ settingsPatch,+ settingsItem: item(archive.records.find((record) => record.type === "server-settings")!),+ }+ : {}),+ applied,+ skipped,+ };+}diff --git a/apps/server/src/provider/AkeruMastraHarness.ts b/apps/server/src/provider/AkeruMastraHarness.tsindex e8305fa24..9c4026a97 100644--- a/apps/server/src/provider/AkeruMastraHarness.ts+++ b/apps/server/src/provider/AkeruMastraHarness.ts@@ -127,7 +127,137 @@ export async function resolveAkeruTools(};}-function toolCategory(toolName: string): "read" | "edit" | "execute" | "mcp" | "other" {+export type AkeruToolCategory = "read" | "edit" | "execute" | "mcp" | "other";+export type AkeruCriticalAction =+ | "send"+ | "pay"+ | "delete"+ | "production"+ | "secrets"+ | "publish"+ | "sign"+ | "refund"+ | "account";++const CRITICAL_ACTION_TOKENS: ReadonlyArray<readonly [AkeruCriticalAction, ReadonlySet<string>]> = [+ ["send", new Set(["send", "reply", "dispatch", "deliver"])],+ ["pay", new Set(["pay", "charge", "purchase", "checkout", "transfer"])],+ ["delete", new Set(["delete", "remove", "destroy", "erase", "purge"])],+ ["production", new Set(["deploy", "release", "promote", "prod", "production"])],+ ["secrets", new Set(["secret", "secrets", "credential", "credentials", "password", "token"])],+ ["publish", new Set(["publish", "post", "broadcast"])],+ ["sign", new Set(["sign", "signature", "countersign"])],+ ["refund", new Set(["refund", "reimburse", "reimbursement"])],+];++const ACCOUNT_SCOPE_TOKENS = new Set(["account", "organization", "workspace", "tenant"]);+const CHANGE_TOKENS = new Set([+ "change",+ "create",+ "disable",+ "enable",+ "invite",+ "remove",+ "rename",+ "reset",+ "set",+ "update",+]);+const MUTATING_INTENT_KEYS = new Set([+ "action",+ "intent",+ "method",+ "operation",+ "requesttype",+ "verb",+]);+const ACTION_TEXT_KEYS = new Set([...MUTATING_INTENT_KEYS, "command", "deliverymode"]);+const READ_ONLY_INTENT_TOKENS = new Set([+ "find",+ "get",+ "inspect",+ "list",+ "read",+ "search",+ "stat",+ "status",+ "view",+]);++function textTokens(value: string): ReadonlySet<string> {+ return new Set(+ value+ .replace(/([a-z0-9])([A-Z])/g, "$1 $2")+ .toLowerCase()+ .split(/[^a-z0-9]+/)+ .filter(Boolean),+ );+}++function criticalActionFromText(value: string): AkeruCriticalAction | null {+ const tokens = textTokens(value);+ for (const [action, actionTokens] of CRITICAL_ACTION_TOKENS) {+ if ([...actionTokens].some((token) => tokens.has(token))) return action;+ }+ if (+ [...ACCOUNT_SCOPE_TOKENS].some((token) => tokens.has(token)) &&+ [...CHANGE_TOKENS].some((token) => tokens.has(token))+ ) {+ return "account";+ }+ return null;+}++type AkeruActionInspection = {+ readonly action: AkeruCriticalAction | null;+ readonly hasUnclassifiedIntent: boolean;+};++function inspectAkeruAction(toolName: string, args?: unknown): AkeruActionInspection {+ const namedAction = criticalActionFromText(toolName);+ if (namedAction) return { action: namedAction, hasUnclassifiedIntent: false };++ const pending: unknown[] = [args];+ let inspected = 0;+ let hasUnclassifiedIntent = false;+ while (pending.length > 0 && inspected < 100) {+ const value = pending.pop();+ inspected += 1;+ if (Array.isArray(value)) {+ pending.push(...value.filter((entry) => typeof entry === "object" && entry !== null));+ continue;+ }+ if (typeof value !== "object" || value === null) continue;+ for (const [key, entry] of Object.entries(value)) {+ const normalizedKey = key.toLowerCase();+ const keyedAction = criticalActionFromText(key);+ if (keyedAction) return { action: keyedAction, hasUnclassifiedIntent: false };+ if (ACTION_TEXT_KEYS.has(normalizedKey) && typeof entry === "string") {+ const action = criticalActionFromText(entry);+ if (action) return { action, hasUnclassifiedIntent: false };+ if (MUTATING_INTENT_KEYS.has(normalizedKey)) {+ const tokens = textTokens(entry);+ if (![...tokens].some((token) => READ_ONLY_INTENT_TOKENS.has(token))) {+ hasUnclassifiedIntent = true;+ }+ }+ }+ if (typeof entry === "object" && entry !== null) pending.push(entry);+ }+ }+ return { action: null, hasUnclassifiedIntent };+}++export function criticalAkeruAction(toolName: string, args?: unknown): AkeruCriticalAction | null {+ return inspectAkeruAction(toolName, args).action;+}++export function akeruActionNeedsApproval(toolName: string, args?: unknown): boolean {+ const inspection = inspectAkeruAction(toolName, args);+ return inspection.action !== null || inspection.hasUnclassifiedIntent;+}++export function akeruToolCategory(toolName: string): AkeruToolCategory {if (/read|view|grep|search|find|list|stat/i.test(toolName)) return "read";if (/edit|write|delete|mkdir|move|rename/i.test(toolName)) return "edit";if (/execute|command|shell|process|terminal/i.test(toolName)) return "execute";@@ -171,7 +301,7 @@ export async function createAkeruMastraHarness("task_check","subagent",],- toolCategoryResolver: toolCategory,+ toolCategoryResolver: akeruToolCategory,intervalHandlers: [],});diff --git a/apps/server/src/provider/Layers/ClaudeAdapter.ts b/apps/server/src/provider/Layers/ClaudeAdapter.tsindex df48ae473..1546eff4f 100644--- a/apps/server/src/provider/Layers/ClaudeAdapter.ts+++ b/apps/server/src/provider/Layers/ClaudeAdapter.ts@@ -3753,7 +3753,7 @@ export const makeClaudeAdapter = Effect.fn("makeClaudeAdapter")(function* (// Same reason as the approvals above: a request nobody can answer any more// must not stay open, or the thread can never be settled.- for (const pending of [...context.pendingUserInputs.values()]) {+ for (const pending of context.pendingUserInputs.values()) {yield* pending.cancel;}@@ -4162,11 +4162,6 @@ export const makeClaudeAdapter = Effect.fn("makeClaudeAdapter")(function* (payload: {requestType,detail,- args: {- toolName,- input: toolInput,- ...(callbackOptions.toolUseID ? { toolUseId: callbackOptions.toolUseID } : {}),- },},providerRefs: nativeProviderRefs(context, {providerItemId: callbackOptions.toolUseID,diff --git a/apps/server/src/provider/Layers/CodexAdapter.ts b/apps/server/src/provider/Layers/CodexAdapter.tsindex 0f7d99966..7a2d71674 100644--- a/apps/server/src/provider/Layers/CodexAdapter.ts+++ b/apps/server/src/provider/Layers/CodexAdapter.ts@@ -867,7 +867,6 @@ function mapToRuntimeEvents(options: elicitationApproval.options,}: {}),- ...(event.payload !== undefined ? { args: event.payload } : {}),},},];diff --git a/apps/server/src/provider/Layers/CursorAdapter.ts b/apps/server/src/provider/Layers/CursorAdapter.tsindex 502e2673d..3d57d07b7 100644--- a/apps/server/src/provider/Layers/CursorAdapter.ts+++ b/apps/server/src/provider/Layers/CursorAdapter.ts@@ -706,7 +706,6 @@ export function makeCursorAdapter(permissionRequest.detail ??encodeJsonStringForDiagnostics(params)?.slice(0, 2000) ??"[unserializable params]",- args: params,source: "acp.jsonrpc",method: "session/request_permission",rawPayload: params,diff --git a/apps/server/src/provider/Layers/GrokAdapter.ts b/apps/server/src/provider/Layers/GrokAdapter.tsindex d04cd908a..3be105555 100644--- a/apps/server/src/provider/Layers/GrokAdapter.ts+++ b/apps/server/src/provider/Layers/GrokAdapter.ts@@ -699,7 +699,6 @@ export function makeGrokAdapter(grokSettings: GrokSettings, options?: GrokAdaptepermissionRequest.detail ??encodeJsonStringForDiagnostics(params)?.slice(0, 2000) ??"[unserializable params]",- args: params,source: "acp.jsonrpc",method: "session/request_permission",rawPayload: params,diff --git a/apps/server/src/provider/Layers/OpenCodeAdapter.ts b/apps/server/src/provider/Layers/OpenCodeAdapter.tsindex 6902253a7..a428a3635 100644--- a/apps/server/src/provider/Layers/OpenCodeAdapter.ts+++ b/apps/server/src/provider/Layers/OpenCodeAdapter.ts@@ -971,7 +971,6 @@ export function makeOpenCodeAdapter(event.properties.patterns.length > 0? event.properties.patterns.join("\n"): event.properties.permission,- args: event.properties.metadata,},});break;diff --git a/apps/server/src/provider/acp/AcpCoreRuntimeEvents.test.ts b/apps/server/src/provider/acp/AcpCoreRuntimeEvents.test.tsindex 394ada83f..9f58d9ce2 100644--- a/apps/server/src/provider/acp/AcpCoreRuntimeEvents.test.ts+++ b/apps/server/src/provider/acp/AcpCoreRuntimeEvents.test.ts@@ -36,7 +36,6 @@ describe("AcpCoreRuntimeEvents", () => {requestId: RuntimeRequestId.make("request-1"),permissionRequest,detail: "cat package.json",- args: { command: ["cat", "package.json"] },source: "acp.jsonrpc",method: "session/request_permission",rawPayload: { sessionId: "session-1" },@@ -86,7 +85,6 @@ describe("AcpCoreRuntimeEvents", () => {makeAcpRequestOpenedEvent({...request,detail: kind,- args: {},source: "acp.jsonrpc",method: "session/request_permission",rawPayload: { sessionId: "session-1" },diff --git a/apps/server/src/provider/acp/AcpCoreRuntimeEvents.ts b/apps/server/src/provider/acp/AcpCoreRuntimeEvents.tsindex bd25e9815..fddd3baa0 100644--- a/apps/server/src/provider/acp/AcpCoreRuntimeEvents.ts+++ b/apps/server/src/provider/acp/AcpCoreRuntimeEvents.ts@@ -84,7 +84,6 @@ export function makeAcpRequestOpenedEvent(input: {readonly requestId: RuntimeRequestId;readonly permissionRequest: AcpPermissionRequest;readonly detail: string;- readonly args: unknown;readonly source: AcpAdapterRawSource;readonly method: string;readonly rawPayload: unknown;@@ -99,7 +98,6 @@ export function makeAcpRequestOpenedEvent(input: {payload: {requestType: canonicalRequestTypeFromAcpKind(input.permissionRequest.kind),detail: input.detail,- args: input.args,},raw: {source: input.source,diff --git a/apps/server/src/relay/AgentAwarenessRelay.test.ts b/apps/server/src/relay/AgentAwarenessRelay.test.tsindex 62ee2b417..20892adcd 100644--- a/apps/server/src/relay/AgentAwarenessRelay.test.ts+++ b/apps/server/src/relay/AgentAwarenessRelay.test.ts@@ -182,6 +182,14 @@ describe.sequential("signRelayAgentActivityPublishProof", () => {},} as unknown as OrchestrationEvent),).toBe(true);+ expect(+ AgentAwarenessRelay.shouldPublishAgentAwarenessEvent({+ ...base,+ metadata: { importedHistory: true },+ type: "thread.archived",+ payload: { threadId: "thread-1" as ThreadId },+ } as unknown as OrchestrationEvent),+ ).toBe(false);expect(AgentAwarenessRelay.shouldPublishAgentAwarenessEvent({...base,diff --git a/apps/server/src/relay/AgentAwarenessRelay.ts b/apps/server/src/relay/AgentAwarenessRelay.tsindex 637c51579..768926401 100644--- a/apps/server/src/relay/AgentAwarenessRelay.ts+++ b/apps/server/src/relay/AgentAwarenessRelay.ts@@ -67,6 +67,7 @@ export function eventThreadId(event: OrchestrationEvent): ThreadId | null {}export function shouldPublishAgentAwarenessEvent(event: OrchestrationEvent): boolean {+ if (event.metadata?.importedHistory === true) return false;switch (event.type) {case "thread.message-sent":case "thread.turn-start-requested":diff --git a/apps/server/src/subscription-auth/snapshot.ts b/apps/server/src/subscription-auth/snapshot.tsindex 9d3881c43..228562a28 100644--- a/apps/server/src/subscription-auth/snapshot.ts+++ b/apps/server/src/subscription-auth/snapshot.ts@@ -71,6 +71,8 @@ export function buildProviderAccessCapabilities(: status?.connected? "Check OAuth, then send a provider request to verify access.": `Connect ${entry.label} in Settings.`,+ dependentBots: status?.dependentBots ?? [],+ dependentRoutines: status?.dependentRoutines ?? [],};});@@ -186,5 +188,5 @@ export function buildProviderAccessCapabilities(temporary: true,repairAction: "Add a calendar or booking connector when Akeru supports one.",},- ];+ ].map((row) => ({ dependentBots: [], dependentRoutines: [], ...row }));}diff --git a/apps/server/src/ws.ts b/apps/server/src/ws.tsindex 2bd622275..78d1d16e0 100644--- a/apps/server/src/ws.ts+++ b/apps/server/src/ws.ts@@ -36,6 +36,7 @@ import {OrchestrationGetSnapshotError,OrchestrationSearchThreadsError,OrchestrationGetTurnDiffError,+ PortabilityArchiveError,ORCHESTRATION_WS_METHODS,type ProjectId,type ProjectEntriesFailure,@@ -51,6 +52,7 @@ import {type RelayClientInstallProgressEvent,type ServerSelfUpdateError,type ServerSelfUpdateProgressEvent,+ type ServerProvider,type FilesystemBrowseFailure,FilesystemBrowseError,AssetWorkspaceContextNotFoundError,@@ -89,6 +91,7 @@ import {cleanupFailedUploadedAttachments,normalizeDispatchCommand,} from "./orchestration/Normalizer.ts";+import { decideCommandSequence } from "./orchestration/decider.ts";import * as OrchestrationEngine from "./orchestration/Services/OrchestrationEngine.ts";import * as ProjectionSnapshotQuery from "./orchestration/Services/ProjectionSnapshotQuery.ts";import * as ProjectionBots from "./persistence/Services/ProjectionBots.ts";@@ -130,6 +133,7 @@ import * as ProcessResourceMonitor from "./diagnostics/ProcessResourceMonitor.tsimport * as ResourceTelemetry from "./resourceTelemetry/ResourceTelemetry.ts";import * as AnalyticsService from "./telemetry/AnalyticsService.ts";import * as UsageService from "./usage/UsageService.ts";+import * as Portability from "./portability.ts";import * as VoiceCallManager from "./voiceCall/VoiceCallManager.ts";import * as TraceDiagnostics from "./diagnostics/TraceDiagnostics.ts";import * as SourceControlDiscovery from "./sourceControl/SourceControlDiscovery.ts";@@ -152,6 +156,25 @@ const isOrchestrationDispatchCommandError = Schema.is(OrchestrationDispatchCommaconst nowIso = Effect.map(DateTime.now, DateTime.formatIso);const CONFIG_DISCOVERY_TIMEOUT = Duration.seconds(5);+const portabilityError = (operation: "export" | "preview" | "apply", cause: unknown) =>+ new PortabilityArchiveError({+ operation,+ message: cause instanceof Error ? cause.message : String(cause),+ });++const availablePortabilityProviderIds = (providers: ReadonlyArray<ServerProvider>) =>+ new Set(+ providers+ .filter(+ (provider) =>+ provider.enabled &&+ provider.installed &&+ provider.availability !== "unavailable" &&+ provider.auth.status !== "unauthenticated",+ )+ .map((provider) => provider.instanceId),+ );+const resolveDiscoveryForConfig = <A, E, R>(discovery: Effect.Effect<A, E, R>,onTimeout: () => A,@@ -1834,6 +1857,131 @@ const makeWsRpcLayer = ("rpc.aggregate": "server",},),+ [WS_METHODS.portabilityExport]: (_input) =>+ observeRpcEffect(+ WS_METHODS.portabilityExport,+ Effect.gen(function* () {+ const [snapshot, settings, exportedAt] = yield* Effect.all([+ projectionSnapshotQuery.getSnapshot(),+ serverSettings.getSettings,+ nowIso,+ ]);+ return yield* Effect.try({+ try: () => {+ const archive = Portability.createPortabilityArchive(+ snapshot,+ settings,+ exportedAt,+ );+ return {+ filename: `akeru-${exportedAt.slice(0, 10)}.akeru.archive`,+ contents: Portability.serializePortabilityArchive(archive),+ };+ },+ catch: (cause) => portabilityError("export", cause),+ });+ }).pipe(Effect.mapError((cause) => portabilityError("export", cause))),+ { "rpc.aggregate": "portability" },+ ),+ [WS_METHODS.portabilityPreviewImport]: ({ contents }) =>+ observeRpcEffect(+ WS_METHODS.portabilityPreviewImport,+ Effect.gen(function* () {+ const archive = yield* Effect.try({+ try: () => Portability.parsePortabilityArchive(contents),+ catch: (cause) => portabilityError("preview", cause),+ });+ const [snapshot, settings, providers] = yield* Effect.all([+ projectionSnapshotQuery.getSnapshot(),+ serverSettings.getSettings,+ providerRegistry.getProviders,+ ]);+ return Portability.previewPortabilityImport(+ archive,+ snapshot,+ settings,+ availablePortabilityProviderIds(providers),+ );+ }).pipe(Effect.mapError((cause) => portabilityError("preview", cause))),+ { "rpc.aggregate": "portability" },+ ),+ [WS_METHODS.portabilityApplyImport]: ({+ contents,+ expectedSnapshotSequence,+ expectedStateChecksum,+ }) =>+ observeRpcEffect(+ WS_METHODS.portabilityApplyImport,+ Effect.gen(function* () {+ const archive = yield* Effect.try({+ try: () => Portability.parsePortabilityArchive(contents),+ catch: (cause) => portabilityError("apply", cause),+ });+ const [snapshot, settings, providers] = yield* Effect.all([+ projectionSnapshotQuery.getSnapshot(),+ serverSettings.getSettings,+ providerRegistry.getProviders,+ ]);+ const availableProviderIds = availablePortabilityProviderIds(providers);+ if (+ !Portability.isPortabilityPreviewCurrent(snapshot, settings, availableProviderIds, {+ snapshotSequence: expectedSnapshotSequence,+ stateChecksum: expectedStateChecksum,+ })+ ) {+ return yield* portabilityError(+ "apply",+ new Error("Akeru state changed after the preview. Review the archive again."),+ );+ }+ const plan = Portability.commandsForPortabilityImport(+ archive,+ snapshot,+ settings,+ availableProviderIds,+ );+ yield* decideCommandSequence({ commands: plan.commands, readModel: snapshot }).pipe(+ Effect.provideService(Crypto.Crypto, crypto),+ );+ const outcomes = yield* Effect.forEach(+ plan.commands,+ (command, index) =>+ dispatchFromClient(command).pipe(+ Effect.match({+ onFailure: (cause) => ({+ item: plan.commandItems[index]!,+ succeeded: false,+ message: cause.message,+ }),+ onSuccess: () => ({+ item: plan.commandItems[index]!,+ succeeded: true,+ }),+ }),+ ),+ { concurrency: 1 },+ );+ if (plan.settingsPatch && plan.settingsItem) {+ outcomes.push(+ yield* serverSettings.updateSettings(plan.settingsPatch).pipe(+ Effect.match({+ onFailure: (cause) => ({+ item: plan.settingsItem!,+ succeeded: false,+ message: cause.message,+ }),+ onSuccess: () => ({+ item: plan.settingsItem!,+ succeeded: true,+ }),+ }),+ ),+ );+ }+ return Portability.summarizePortabilityApply(outcomes, plan.skipped);+ }).pipe(Effect.mapError((cause) => portabilityError("apply", cause))),+ { "rpc.aggregate": "portability" },+ ),[WS_METHODS.subscriptionAuthList]: (_input) =>observeRpcEffect(WS_METHODS.subscriptionAuthList, getAccessHealthSnapshot(), {"rpc.aggregate": "server",diff --git a/apps/web/src/components/plugins/PluginDetails.tsx b/apps/web/src/components/plugins/PluginDetails.tsxindex a04678664..e960a0b66 100644--- a/apps/web/src/components/plugins/PluginDetails.tsx+++ b/apps/web/src/components/plugins/PluginDetails.tsx@@ -1,35 +1,47 @@-import { ArrowUpRightIcon, CheckIcon, ChevronLeftIcon, LinkIcon } from "lucide-react";-import type { PluginDefinition, PluginSkill } from "../../../../../plugins";+import type { McpServer } from "@t3tools/contracts";+import { ArrowUpRightIcon, ChevronLeftIcon } from "lucide-react";+import type { PluginDirectoryDefinition, PluginSkill } from "../../../../../plugins";import { Button } from "../ui/button";import { DialogHeader, DialogPanel, DialogTitle } from "../ui/dialog";import { PluginLogoImage } from "./PluginsCatalog";--function connectorAccess(plugin: PluginDefinition): string {- if (plugin.kind !== "mcp-url") return "Local";- if (plugin.authentication === "oauth") return "OAuth";- if (plugin.authentication === "optional-oauth") return "Optional OAuth";- return "Public";-}+import {+ pluginBlocker,+ pluginConnectionLabel,+ pluginExecutionLabel,+ pluginPrimaryAction,+} from "./pluginPresentation";interface PluginDetailsContentProps {- readonly plugin: PluginDefinition;- readonly installed: boolean;+ readonly plugin: PluginDirectoryDefinition;+ readonly server: McpServer | undefined;+ readonly activeDependentBotNames: readonly string[];readonly pending: boolean;readonly onToggle: (enabled: boolean) => void;- readonly onCopySource: () => void;+ readonly onRemove: () => void;+ readonly onViewDocumentation: () => void;readonly onViewSource: () => void;readonly onOpenSkill: (skill: PluginSkill) => void;}+function transportLabel(plugin: PluginDirectoryDefinition): string {+ if (plugin.kind === "mcp-url") return "Remote URL";+ if (plugin.kind === "mcp-stdio") return "Local command";+ return "Unavailable";+}+export function PluginDetailsContent({plugin,- installed,+ server,+ activeDependentBotNames,pending,onToggle,- onCopySource,+ onRemove,+ onViewDocumentation,onViewSource,onOpenSkill,}: PluginDetailsContentProps) {+ const action = pluginPrimaryAction(plugin, server);+ const blocker = pluginBlocker(plugin);return (<DialogPanel className="px-6 pt-6! pb-6 sm:px-8"><div className="mx-auto max-w-3xl space-y-6">@@ -46,54 +58,142 @@ export function PluginDetailsContent({<p className="mt-2 max-w-2xl text-sm leading-6 text-muted-foreground">{plugin.description}</p>+ <p className="mt-1 text-xs text-muted-foreground">By {plugin.publisher.name}</p></div>- <Button- aria-label={`${installed ? "Remove" : "Add"} ${plugin.title}`}- className="h-8 min-w-16 rounded-full px-3 text-xs"- size="sm"- variant={installed ? "secondary" : "default"}- disabled={pending}- onClick={() => onToggle(!installed)}- >- {installed ? <CheckIcon className="size-3.5" /> : null}- {installed ? "Added" : "Add"}- </Button>- </div>- {plugin.docsUrl ? (- <div className="mt-4 flex items-center gap-1 border-t pt-3">- <Button size="sm" variant="ghost-muted" onClick={onViewSource}>- Documentation- <ArrowUpRightIcon className="size-3.5" />- </Button>+ <div className="flex shrink-0 gap-2">+ {server ? (+ <Button+ aria-label={`Remove ${plugin.title}`}+ className="h-8 rounded-full px-3 text-xs"+ size="sm"+ variant="ghost-muted"+ disabled={pending}+ onClick={onRemove}+ >+ Remove+ </Button>+ ) : null}<Button- aria-label={`Copy ${plugin.title} source link`}+ aria-label={`${action.label} ${plugin.title}`}+ className="h-8 min-w-16 rounded-full px-3 text-xs"size="sm"- variant="ghost-muted"- onClick={onCopySource}+ variant={server?.enabled ? "secondary" : "default"}+ disabled={pending || action.enable === null}+ title={action.blocker}+ onClick={() => action.enable !== null && onToggle(action.enable)}>- <LinkIcon className="size-3.5" />- Copy link+ {action.label}</Button></div>+ </div>+ {blocker ? (+ <p className="mt-4 rounded-lg bg-destructive/10 px-3 py-2 text-sm text-destructive-foreground">+ {blocker}+ </p>+ ) : null}+ <div className="mt-4 flex items-center gap-1 border-t pt-3">+ <Button size="sm" variant="ghost-muted" onClick={onViewDocumentation}>+ Documentation+ <ArrowUpRightIcon className="size-3.5" />+ </Button>+ <Button size="sm" variant="ghost-muted" onClick={onViewSource}>+ Source+ <ArrowUpRightIcon className="size-3.5" />+ </Button>+ </div>+ </section>++ <section aria-labelledby="plugin-connection-title">+ <h3+ className="mb-2 px-1 text-xs font-medium text-muted-foreground"+ id="plugin-connection-title"+ >+ Connection+ </h3>+ <dl className="grid grid-cols-2 gap-px overflow-hidden rounded-xl border bg-border text-sm sm:grid-cols-3">+ {[+ ["Authentication", pluginConnectionLabel(plugin)],+ ["Execution", pluginExecutionLabel(plugin)],+ ["Transport", transportLabel(plugin)],+ ["Status", server ? (server.enabled ? "Enabled" : "Disabled") : "Not installed"],+ ["Health", "Not checked"],+ ["Platforms", plugin.platforms.join(", ")],+ ["License", plugin.license],+ ].map(([label, value]) => (+ <div className="bg-background px-4 py-3" key={label}>+ <dt className="text-xs text-muted-foreground">{label}</dt>+ <dd className="mt-1 font-medium">{value}</dd>+ </div>+ ))}+ </dl>+ {plugin.connection.type === "brokered" ? (+ <p className="mt-2 px-1 text-xs text-muted-foreground">+ Brokered by {plugin.connection.broker.name}+ </p>) : null}</section>- <section aria-labelledby="plugin-connectors-title">+ <section aria-labelledby="plugin-dependents-title">+ <h3+ className="mb-2 px-1 text-xs font-medium text-muted-foreground"+ id="plugin-dependents-title"+ >+ Dependents+ </h3>+ <dl className="overflow-hidden rounded-xl border bg-muted/35 text-sm">+ <div className="flex items-center justify-between gap-4 border-b px-4 py-3">+ <dt className="text-muted-foreground">Active bots</dt>+ <dd className="text-end font-medium">+ {activeDependentBotNames.length > 0 ? activeDependentBotNames.join(", ") : "None"}+ </dd>+ </div>+ <div className="flex items-center justify-between gap-4 px-4 py-3">+ <dt className="text-muted-foreground">Routines</dt>+ <dd className="font-medium">Unavailable until routines ship</dd>+ </div>+ </dl>+ </section>++ <section aria-labelledby="plugin-setup-title">+ <h3+ className="mb-2 px-1 text-xs font-medium text-muted-foreground"+ id="plugin-setup-title"+ >+ Setup+ </h3>+ <div className="space-y-2 rounded-xl border bg-muted/35 px-4 py-3.5 text-sm">+ {plugin.requiredCredentials.length > 0 ? (+ <p>Keys: {plugin.requiredCredentials.join(", ")}</p>+ ) : null}+ {plugin.setup.map((step) => (+ <p className="text-muted-foreground" key={step}>+ {step}+ </p>+ ))}+ </div>+ </section>++ <section aria-labelledby="plugin-permissions-title"><div className="mb-2 flex items-center justify-between px-1">- <h3 className="text-xs font-medium text-muted-foreground" id="plugin-connectors-title">- Connector+ <h3 className="text-xs font-medium text-muted-foreground" id="plugin-permissions-title">+ Permissions</h3>- <span className="text-[11px] text-muted-foreground">1 available</span>- </div>- <div className="flex items-center justify-between gap-4 rounded-xl border bg-muted/35 px-4 py-3.5">- <div className="min-w-0">- <p className="truncate text-sm font-medium">{plugin.title}</p>- <p className="mt-0.5 text-xs text-muted-foreground">MCP connector</p>- </div>- <span className="shrink-0 rounded-full bg-muted px-2.5 py-1 text-xs text-muted-foreground">- {connectorAccess(plugin)}+ <span className="text-[11px] text-muted-foreground">+ Approvals: {plugin.approvals.length > 0 ? plugin.approvals.join(", ") : "None"}</span></div>+ <div className="overflow-hidden rounded-xl border bg-muted/35">+ {plugin.permissions.map((permission) => (+ <div className="border-b px-4 py-3 last:border-b-0" key={permission.id}>+ <div className="flex items-start justify-between gap-4">+ <p className="text-sm">{permission.description}</p>+ <span className="shrink-0 text-xs text-muted-foreground">+ {permission.approval === "read" ? "Read" : permission.approval}+ </span>+ </div>+ </div>+ ))}+ </div></section>{plugin.skills?.length ? (@@ -131,11 +231,13 @@ export function PluginDetailsContent({export function PluginDetails({plugin,- installed,+ server,+ activeDependentBotNames,pending,onBack,onToggle,- onCopySource,+ onRemove,+ onViewDocumentation,onViewSource,onOpenSkill,}: PluginDetailsContentProps & { readonly onBack: () => void }) {@@ -151,10 +253,12 @@ export function PluginDetails({</DialogHeader><PluginDetailsContentplugin={plugin}- installed={installed}+ server={server}+ activeDependentBotNames={activeDependentBotNames}pending={pending}onToggle={onToggle}- onCopySource={onCopySource}+ onRemove={onRemove}+ onViewDocumentation={onViewDocumentation}onViewSource={onViewSource}onOpenSkill={onOpenSkill}/>diff --git a/apps/web/src/components/plugins/PluginsCatalog.tsx b/apps/web/src/components/plugins/PluginsCatalog.tsxindex 381880953..2cfe279c1 100644--- a/apps/web/src/components/plugins/PluginsCatalog.tsx+++ b/apps/web/src/components/plugins/PluginsCatalog.tsx@@ -1,15 +1,19 @@import type { McpServer } from "@t3tools/contracts";-import { CheckIcon, ChevronRightIcon, PencilIcon, Trash2Icon } from "lucide-react";-import type { PluginDefinition } from "../../../../../plugins";+import { CheckIcon, ChevronRightIcon, PencilIcon, PlusIcon, Trash2Icon } from "lucide-react";+import type { PluginDirectoryDefinition } from "../../../../../plugins";import { Button } from "../ui/button";import { findPluginServer, pluginMcpServerId } from "./pluginRegistry";-import type { PluginFilter, PluginSection } from "./pluginPresentation";+import {+ pluginConnectionLabel,+ pluginPrimaryAction,+ type PluginSection,+} from "./pluginPresentation";export function PluginLogoImage({plugin,className = "size-10",}: {- readonly plugin: PluginDefinition;+ readonly plugin: PluginDirectoryDefinition;readonly className?: string;}) {return (@@ -37,9 +41,8 @@ interface PluginsCatalogProps {readonly sections: readonly PluginSection[];readonly servers: readonly McpServer[];readonly pendingServerId: string | null;- readonly onToggle: (plugin: PluginDefinition, enabled: boolean) => void;- readonly onOpen: (plugin: PluginDefinition) => void;- readonly onViewAll: (filter: PluginFilter) => void;+ readonly onToggle: (plugin: PluginDirectoryDefinition, enabled: boolean) => void;+ readonly onOpen: (plugin: PluginDirectoryDefinition) => void;}function PluginRow({@@ -48,16 +51,14 @@ function PluginRow({pending,onToggle,onOpen,- showCategory,}: {- readonly plugin: PluginDefinition;+ readonly plugin: PluginDirectoryDefinition;readonly server: McpServer | undefined;readonly pending: boolean;readonly onToggle: (enabled: boolean) => void;readonly onOpen: () => void;- readonly showCategory: boolean;}) {- const installed = server?.enabled ?? false;+ const action = pluginPrimaryAction(plugin, server);return (<articleclassName="group flex min-w-0 items-center rounded-xl pe-2.5 transition-colors hover:bg-muted/45"@@ -73,8 +74,12 @@ function PluginRow({<div className="min-w-0 flex-1"><div className="flex min-w-0 items-center gap-2"><h3 className="truncate text-sm font-medium leading-5">{plugin.title}</h3>- {showCategory ? (- <span className="shrink-0 text-[11px] text-muted-foreground">{plugin.category}</span>+ <span className="shrink-0 text-[11px] text-muted-foreground">{plugin.category}</span>+ {plugin.connection.type === "approval-pending" ||+ plugin.connection.type === "verification-pending" ? (+ <span className="shrink-0 text-[11px] text-warning-foreground">+ {pluginConnectionLabel(plugin)}+ </span>) : null}</div><p className="truncate text-xs leading-5 text-muted-foreground">{plugin.description}</p>@@ -85,15 +90,15 @@ function PluginRow({/></button><Button- aria-label={`${installed ? "Remove" : "Add"} ${plugin.title}`}+ aria-label={`${action.label} ${plugin.title}`}className="h-7 min-w-14 rounded-full px-3 text-xs"size="sm"variant="secondary"- disabled={pending}- onClick={() => onToggle(!installed)}+ disabled={pending || action.enable === null}+ title={action.blocker}+ onClick={() => action.enable !== null && onToggle(action.enable)}>- {installed ? <CheckIcon className="size-3.5" /> : null}- {installed ? "Added" : "Add"}+ {action.label}</Button></article>);@@ -105,11 +110,12 @@ export function PluginsCatalog({pendingServerId,onToggle,onOpen,- onViewAll,}: PluginsCatalogProps) {const resultCount = sections.reduce((count, section) => count + section.plugins.length, 0);if (resultCount === 0) {- return <p className="py-14 text-center text-sm text-muted-foreground">No plugins match.</p>;+ return (+ <p className="py-14 text-center text-sm text-muted-foreground">No directory plugins match.</p>+ );}return (<div className="space-y-7">@@ -117,15 +123,6 @@ export function PluginsCatalog({<section aria-label={section.title} key={section.title}><div className="mb-2 flex items-center justify-between px-2"><h2 className="text-xs font-medium text-muted-foreground">{section.title}</h2>- {section.showViewAll ? (- <button- className="cursor-pointer rounded text-xs text-muted-foreground outline-hidden hover:text-foreground focus-visible:ring-2 focus-visible:ring-ring"- type="button"- onClick={() => onViewAll(section.filter)}- >- View all- </button>- ) : null}</div><div className="grid grid-cols-1 gap-x-7 md:grid-cols-2">{section.plugins.map((plugin) => {@@ -138,7 +135,6 @@ export function PluginsCatalog({pending={pendingServerId === pluginMcpServerId(plugin)}onToggle={(enabled) => onToggle(plugin, enabled)}onOpen={() => onOpen(plugin)}- showCategory={section.title === "Search results"}/>);})}@@ -149,6 +145,56 @@ export function PluginsCatalog({);}+export function RemovedBuiltinServers({+ servers,+ pendingServerId,+ onDelete,+}: {+ readonly servers: readonly McpServer[];+ readonly pendingServerId: string | null;+ readonly onDelete: (server: McpServer) => void;+}) {+ if (servers.length === 0) return null;+ return (+ <section aria-labelledby="removed-plugins-title">+ <div className="mb-2 flex items-center justify-between px-2">+ <h2 className="text-xs font-medium text-muted-foreground" id="removed-plugins-title">+ Removed plugins+ </h2>+ <span className="text-xs text-muted-foreground">{servers.length}</span>+ </div>+ <div className="grid grid-cols-1 gap-x-7 md:grid-cols-2">+ {servers.map((server) => (+ <div className="flex min-w-0 items-center gap-3 rounded-xl px-2.5 py-2.5" key={server.id}>+ <span+ aria-hidden="true"+ className="flex size-10 shrink-0 items-center justify-center overflow-hidden rounded-lg bg-muted p-2"+ >+ <img alt="" className="size-full object-contain" src="/plugin-logos/mcp.svg" />+ </span>+ <div className="min-w-0 flex-1">+ <p className="truncate text-sm font-medium">{server.name}</p>+ <p className="truncate text-xs leading-5 text-muted-foreground">+ No longer in the directory · {server.enabled ? "Enabled" : "Disabled"}+ </p>+ </div>+ <Button+ aria-label={`Remove ${server.name}`}+ className="h-7 rounded-full px-3 text-xs"+ size="sm"+ variant="secondary"+ disabled={pendingServerId === server.id}+ onClick={() => onDelete(server)}+ >+ Remove+ </Button>+ </div>+ ))}+ </div>+ </section>+ );+}+function serverDescription(server: McpServer): string {return server.transport === "url"? server.url@@ -158,6 +204,7 @@ function serverDescription(server: McpServer): string {interface CustomMcpServersProps {readonly servers: readonly McpServer[];readonly pendingServerId: string | null;+ readonly onCreate: () => void;readonly onToggle: (server: McpServer, enabled: boolean) => void;readonly onEdit: (server: McpServer) => void;readonly onDelete: (server: McpServer) => void;@@ -166,18 +213,24 @@ interface CustomMcpServersProps {export function CustomMcpServers({servers,pendingServerId,+ onCreate,onToggle,onEdit,onDelete,}: CustomMcpServersProps) {- if (servers.length === 0) return null;return (<section aria-labelledby="custom-mcp-title"><div className="mb-2 flex items-center justify-between px-2"><h2 className="text-xs font-medium text-muted-foreground" id="custom-mcp-title">Custom MCP servers</h2>- <span className="text-xs text-muted-foreground">{servers.length}</span>+ <div className="flex items-center gap-2">+ <span className="text-xs text-muted-foreground">{servers.length}</span>+ <Button size="sm" variant="ghost-muted" onClick={onCreate}>+ <PlusIcon className="size-3.5" />+ Add server+ </Button>+ </div></div><div className="grid grid-cols-1 gap-x-7 md:grid-cols-2">{servers.map((server) => {diff --git a/apps/web/src/components/plugins/PluginsDialog.test.tsx b/apps/web/src/components/plugins/PluginsDialog.test.tsxindex 410a83466..0b0e7794b 100644--- a/apps/web/src/components/plugins/PluginsDialog.test.tsx+++ b/apps/web/src/components/plugins/PluginsDialog.test.tsx@@ -1,24 +1,55 @@import { McpServerId, type McpServer } from "@t3tools/contracts";import { renderToStaticMarkup } from "react-dom/server";import { describe, expect, it } from "vite-plus/test";-import { loadCatalog } from "../../../../../plugins";+import {+ isInstallablePlugin,+ loadDirectoryCatalog,+ PLUGIN_CATEGORIES,+ type PluginDirectoryDefinition,+} from "../../../../../plugins";import { PluginDetailsContent } from "./PluginDetails";import {EMPTY_MCP_SERVER_DRAFT,+ PLUGIN_DIRECTORY_FILTERS,PLUGIN_DIALOG_CLASS_NAME,PLUGIN_DIRECTORY_HEADER_CLASS_NAME,PLUGIN_DIRECTORY_PANEL_CLASS_NAME,- PLUGIN_DIRECTORY_SCROLL_CLASS_NAME,resolvePluginDialogServers,validateMcpServerDraft,} from "./PluginsDialog";-import { CustomMcpServers, PluginsCatalog } from "./PluginsCatalog";+import { CustomMcpServers, PluginsCatalog, RemovedBuiltinServers } from "./PluginsCatalog";import { buildPluginSections } from "./pluginPresentation";import { planPluginToggle, pluginMcpServerId } from "./pluginRegistry";-const catalog = loadCatalog();+const catalog = loadDirectoryCatalog();const firecrawl = catalog.find((plugin) => plugin.id === "firecrawl");-if (!firecrawl) throw new TypeError("Firecrawl is missing from the plugin catalog.");+const executor = catalog.find((plugin) => plugin.id === "executor");+if (!firecrawl || !isInstallablePlugin(firecrawl) || firecrawl.kind !== "mcp-url" || !executor) {+ throw new TypeError("Required plugins are missing from the directory.");+}+const { kind: _kind, transport: _transport, url: _url, ...pendingBase } = firecrawl;+const pendingPlugin = {+ ...pendingBase,+ id: "pending-vendor",+ name: "Pending Vendor",+ title: "Pending Vendor",+ kind: "mcp-unavailable",+ transport: { type: "unavailable" },+ connection: {+ type: "approval-pending",+ blocker: "The vendor must approve Akeru as an OAuth client.",+ },+ catalogStatus: "approval-pending",+} satisfies PluginDirectoryDefinition;+const apiKeyPlugin = {+ ...firecrawl,+ id: "key-vendor",+ name: "Key Vendor",+ title: "Key Vendor",+ authentication: "api-key",+ connection: { type: "api-key" },+ requiredCredentials: ["key-vendor-api-key"],+} satisfies PluginDirectoryDefinition;const rawServer: McpServer = {id: McpServerId.make("raw-filesystem"),@@ -30,120 +61,204 @@ const rawServer: McpServer = {createdAt: "2026-08-27T00:00:00.000Z",updatedAt: "2026-08-27T00:00:00.000Z",};-+const firecrawlServer: McpServer = {+ ...rawServer,+ id: pluginMcpServerId(firecrawl),+ name: "Firecrawl",+ transport: "url",+ url: firecrawl.url,+};const removedBuiltinServer: McpServer = {...rawServer,id: McpServerId.make("builtin-removed-vendor"),name: "Removed Vendor",};+const noop = () => undefined;+describe("Plugins dialog content", () => {- it("keeps the marketplace and plugin details at one fixed size", () => {+ it("keeps the directory and details at one fixed size", () => {expect(PLUGIN_DIALOG_CLASS_NAME).toContain("h-[min(48rem,90dvh)]");- expect(PLUGIN_DIALOG_CLASS_NAME).not.toContain("has-");- });-- it("keeps section labels clear of the directory header", () => {expect(PLUGIN_DIRECTORY_HEADER_CLASS_NAME).not.toContain("border-b");+ expect(PLUGIN_DIRECTORY_HEADER_CLASS_NAME).not.toContain("overflow-y-auto");expect(PLUGIN_DIRECTORY_PANEL_CLASS_NAME).toContain("pt-5!");+ expect(PLUGIN_DIRECTORY_FILTERS.slice(3)).toEqual(+ PLUGIN_CATEGORIES.filter((category) =>+ catalog.some((plugin) => plugin.category === category),+ ),+ );});- it("keeps the complete filter row visible above the scrolling catalog", () => {- expect(PLUGIN_DIRECTORY_HEADER_CLASS_NAME).toContain("shrink-0");- expect(PLUGIN_DIRECTORY_SCROLL_CLASS_NAME).toContain("min-h-0");- expect(PLUGIN_DIRECTORY_SCROLL_CLASS_NAME).toContain("flex-1");- expect(PLUGIN_DIRECTORY_SCROLL_CLASS_NAME).toContain("overflow-hidden");+ it("renders official logos, short jobs, and state-correct directory actions", () => {+ const markup = renderToStaticMarkup(+ <PluginsCatalog+ sections={buildPluginSections({+ plugins: [...catalog, pendingPlugin],+ query: "",+ filter: "All",+ })}+ servers={[firecrawlServer]}+ pendingServerId={null}+ onToggle={noop}+ onOpen={noop}+ />,+ );+ expect(markup).toContain("Disable Firecrawl");+ expect(markup).toContain("Add Executor");+ expect(markup).toContain("Connect Pending Vendor");+ expect(markup).toContain(pendingPlugin.description.replaceAll("'", "'"));+ expect(markup).toContain("Approval pending");+ expect(markup).toContain("Verification pending");+ expect(markup).toContain('title="The vendor must approve Akeru as an OAuth client."');+ expect(markup).not.toContain(">The vendor must approve Akeru as an OAuth client.<");+ expect(markup).not.toContain(">Added<");+ for (const plugin of catalog) {+ expect(markup).toContain(plugin.logo.src.replaceAll("'", "'"));+ expect(markup).toContain(`data-plugin-id="${plugin.id}"`);+ expect(markup).toContain(plugin.description.replaceAll("'", "'"));+ }});- it("renders a categorized directory with compact add and configure controls", () => {+ it("groups the unfiltered directory under one heading per populated category", () => {const markup = renderToStaticMarkup(<PluginsCatalogsections={buildPluginSections({ plugins: catalog, query: "", filter: "All" })}servers={[]}pendingServerId={null}- onToggle={() => undefined}- onOpen={() => undefined}- onViewAll={() => undefined}+ onToggle={noop}+ onOpen={noop}/>,);- expect(markup).toContain("Featured");- expect(markup).toContain("Web");- expect(markup).toContain("Work");- expect(markup).toContain("Add Firecrawl");- expect(markup).toContain("Open Firecrawl");- expect(markup).toContain("cursor-pointer");- expect(markup).not.toContain("Configure Firecrawl");- for (const plugin of catalog) {- expect(markup).toContain(plugin.logo.src.replaceAll("'", "'"));- expect(markup).toContain(`data-plugin-id="${plugin.id}"`);+ const populated = PLUGIN_CATEGORIES.filter((category) =>+ catalog.some((plugin) => !plugin.featured && plugin.category === category),+ );+ expect(markup).toContain('aria-label="Featured"');+ for (const category of populated) {+ expect(markup).toContain(`aria-label="${category}"`);}+ expect(markup).not.toContain('aria-label="All"');+ expect(markup).not.toMatch(/Akeru (?:has|must|needs)/);});- it("shows plugin information instead of transport configuration", () => {+ it("shows publisher, transport, authentication, permissions, approvals, platforms, and honest health", () => {const markup = renderToStaticMarkup(<PluginDetailsContent- plugin={firecrawl}- installed={false}+ plugin={executor}+ server={undefined}+ activeDependentBotNames={[]}pending={false}- onToggle={() => undefined}- onCopySource={() => undefined}- onViewSource={() => undefined}- onOpenSkill={() => undefined}+ onToggle={noop}+ onRemove={noop}+ onViewDocumentation={noop}+ onViewSource={noop}+ onOpenSkill={noop}/>,);+ expect(markup).toContain("By Useful Software Co.");+ expect(markup).toContain("Authentication");+ expect(markup).toContain("Local");+ expect(markup).toContain("Local command");+ expect(markup).toContain("Not checked");+ expect(markup).toContain("macos, windows, linux");+ expect(markup).toContain("Submit a payment.");+ expect(markup).toContain("account-wide");expect(markup).toContain("Documentation");- expect(markup).toContain("Copy link");- expect(markup).toContain("Connector");- expect(markup).toContain("1 available");- expect(markup).toContain("MCP connector");- expect(markup).toContain("pt-6!");- expect(markup).not.toContain("Transport");- expect(markup).not.toContain("Arguments, one per line");+ expect(markup).toContain("Source");+ expect(markup).not.toContain("Connected");+ });++ it("blocks approval-pending connection and names the blocker in details", () => {+ const markup = renderToStaticMarkup(+ <PluginDetailsContent+ plugin={pendingPlugin}+ server={undefined}+ activeDependentBotNames={[]}+ pending={false}+ onToggle={noop}+ onRemove={noop}+ onViewDocumentation={noop}+ onViewSource={noop}+ onOpenSkill={noop}+ />,+ );+ expect(markup).toContain('aria-label="Connect Pending Vendor"');+ expect(markup).toContain("disabled");+ expect(markup).toContain("Approval pending");+ expect(markup).toContain("The vendor must approve Akeru as an OAuth client.");+ });++ it("shows key setup without storing a credential in the registry", () => {+ const markup = renderToStaticMarkup(+ <PluginDetailsContent+ plugin={apiKeyPlugin}+ server={undefined}+ activeDependentBotNames={[]}+ pending={false}+ onToggle={noop}+ onRemove={noop}+ onViewDocumentation={noop}+ onViewSource={noop}+ onOpenSkill={noop}+ />,+ );+ expect(markup).toContain('aria-label="Add key Key Vendor"');+ expect(markup).toContain("key-vendor-api-key");});- it("shows official skills as separate installs", () => {+ it("shows Remove for installed catalog plugins", () => {const markup = renderToStaticMarkup(<PluginDetailsContentplugin={firecrawl}- installed={false}+ server={firecrawlServer}+ activeDependentBotNames={[]}pending={false}- onToggle={() => undefined}- onCopySource={() => undefined}- onViewSource={() => undefined}- onOpenSkill={() => undefined}+ onToggle={noop}+ onRemove={noop}+ onViewDocumentation={noop}+ onViewSource={noop}+ onOpenSkill={noop}/>,);- expect(markup).toContain("Skills");- expect(markup).toContain("Installed separately");- expect(markup).toContain("Firecrawl CLI");+ expect(markup).toContain('aria-label="Remove Firecrawl"');+ expect(markup).toContain('aria-label="Disable Firecrawl"');});- it("plans the Firecrawl switch through the MCP registry", () => {- expect(planPluginToggle(firecrawl, [], true)).toEqual({- action: "create",- mcpServerId: pluginMcpServerId(firecrawl),- configuration: {- name: "Firecrawl",- transport: "url",- url: "https://mcp.firecrawl.dev/v2/mcp-oauth",- },- });+ it("shows active dependent bots and honest routine availability", () => {+ const markup = renderToStaticMarkup(+ <PluginDetailsContent+ plugin={firecrawl}+ server={firecrawlServer}+ activeDependentBotNames={["Research", "Writer"]}+ pending={false}+ onToggle={noop}+ onRemove={noop}+ onViewDocumentation={noop}+ onViewSource={noop}+ onOpenSkill={noop}+ />,+ );+ expect(markup).toContain("Active bots");+ expect(markup).toContain("Research, Writer");+ expect(markup).toContain("Routines");+ expect(markup).toContain("Unavailable until routines ship");});- it("keeps existing custom MCP controls and validates editor input", () => {+ it("keeps Custom MCP edit, disable, and delete behavior", () => {const markup = renderToStaticMarkup(<CustomMcpServersservers={[rawServer]}pendingServerId={null}- onToggle={() => undefined}- onEdit={() => undefined}- onDelete={() => undefined}+ onCreate={noop}+ onToggle={noop}+ onEdit={noop}+ onDelete={noop}/>,);expect(markup).toContain("Raw filesystem");expect(markup).toContain("Disable Raw filesystem");expect(markup).toContain("Edit Raw filesystem");expect(markup).toContain("Delete Raw filesystem");+ expect(markup).toContain("Add server");expect(validateMcpServerDraft(EMPTY_MCP_SERVER_DRAFT)).toBe("Name is required.");expect(validateMcpServerDraft({@@ -155,24 +270,59 @@ describe("Plugins dialog content", () => {).toBeNull();});- it("keeps removed builtins editable without absorbing current catalog entries", () => {- const currentBuiltinServer: McpServer = {- ...rawServer,- id: McpServerId.make("builtin-firecrawl"),- name: "Firecrawl",- transport: "url",- url: "https://mcp.firecrawl.dev/v2/mcp-oauth",- };- const resolved = resolvePluginDialogServers([- currentBuiltinServer,- removedBuiltinServer,- rawServer,- ]);+ it("keeps Custom MCP creation reachable when none are installed", () => {+ const markup = renderToStaticMarkup(+ <CustomMcpServers+ servers={[]}+ pendingServerId={null}+ onCreate={noop}+ onToggle={noop}+ onEdit={noop}+ onDelete={noop}+ />,+ );+ expect(markup).toContain("Custom MCP servers");+ expect(markup).toContain("Add server");+ });+ it("keeps removed builtins separate from Custom MCP and makes them removable", () => {+ const resolved = resolvePluginDialogServers([firecrawlServer, removedBuiltinServer, rawServer]);expect(resolved.installedPlugins.map((plugin) => plugin.id)).toEqual(["firecrawl"]);- expect(resolved.customServers.map((server) => server.id)).toEqual([+ expect(resolved.customServers.map((server) => server.id)).toEqual(["raw-filesystem"]);+ expect(resolved.removedBuiltinServers.map((server) => server.id)).toEqual(["builtin-removed-vendor",- "raw-filesystem",]);+ const markup = renderToStaticMarkup(+ <RemovedBuiltinServers+ servers={resolved.removedBuiltinServers}+ pendingServerId={null}+ onDelete={noop}+ />,+ );+ expect(markup).toContain("Removed plugins");+ expect(markup).toContain("No longer in the directory");+ expect(markup).toContain('aria-label="Remove Removed Vendor"');+ });++ it("uses the existing MCP registry plan", () => {+ expect(planPluginToggle(firecrawl, [], true)).toEqual({+ action: "create",+ mcpServerId: pluginMcpServerId(firecrawl),+ configuration: {+ name: "Firecrawl",+ transport: "url",+ url: "https://mcp.firecrawl.dev/v2/mcp-oauth",+ },+ });+ });+ it("rejects credentials embedded in custom MCP URLs", () => {+ expect(+ validateMcpServerDraft({+ ...EMPTY_MCP_SERVER_DRAFT,+ name: "Remote tools",+ transport: "url",+ url: "https://user:[email protected]/mcp",+ }),+ ).toBe("Store credentials outside the server URL.");});});diff --git a/apps/web/src/components/plugins/PluginsDialog.tsx b/apps/web/src/components/plugins/PluginsDialog.tsxindex 433c4bf10..7a97480de 100644--- a/apps/web/src/components/plugins/PluginsDialog.tsx+++ b/apps/web/src/components/plugins/PluginsDialog.tsx@@ -3,18 +3,19 @@ import {isAtomCommandInterrupted,squashAtomCommandFailure,} from "@t3tools/client-runtime/state/runtime";-import type { EnvironmentId, McpServer } from "@t3tools/contracts";-import { ChevronLeftIcon, ChevronRightIcon, SearchIcon } from "lucide-react";-import { useMemo, useState } from "react";+import { McpServerId, type EnvironmentId, type McpServer } from "@t3tools/contracts";+import { SearchIcon } from "lucide-react";+import { useState } from "react";import {- loadCatalog,- resolveCatalogInstallations,- type PluginDefinition,+ isInstallablePlugin,+ loadDirectoryCatalog,+ type PluginDirectoryDefinition,type PluginSkill,} from "../../../../../plugins";import { ensureLocalApi } from "../../localApi";-import { cn } from "../../lib/utils";+import { cn, randomUUID } from "../../lib/utils";import { closePlugins, usePluginsDialogStore } from "../../pluginsDialogStore";+import { environmentBotsAtom } from "../../state/bots";import { usePrimaryEnvironmentId } from "../../state/environments";import { environmentMcpServersAtom, mcpServerEnvironment } from "../../state/mcpServers";import { useAtomCommand } from "../../state/use-atom-command";@@ -33,7 +34,7 @@ import { Input } from "../ui/input";import { Select, SelectItem, SelectPopup, SelectTrigger, SelectValue } from "../ui/select";import { Textarea } from "../ui/textarea";import { toastManager } from "../ui/toast";-import { CustomMcpServers, PluginLogoImage, PluginsCatalog } from "./PluginsCatalog";+import { CustomMcpServers, PluginsCatalog, RemovedBuiltinServers } from "./PluginsCatalog";import { PluginDetails } from "./PluginDetails";import {findPluginServer,@@ -42,38 +43,35 @@ import {pluginMcpServerId,} from "./pluginRegistry";import {- buildInstalledPluginSection,+ buildPluginFilters,buildPluginSections,- PLUGIN_FILTERS,+ pluginActiveDependentBotNames,type PluginFilter,} from "./pluginPresentation";-const CATALOG = loadCatalog();+const CATALOG = loadDirectoryCatalog();+export const PLUGIN_DIRECTORY_FILTERS = buildPluginFilters(CATALOG);export function resolvePluginDialogServers(servers: readonly McpServer[],- catalog: readonly PluginDefinition[] = CATALOG,+ catalog: readonly PluginDirectoryDefinition[] = CATALOG,): {- readonly installedPlugins: readonly PluginDefinition[];+ readonly installedPlugins: readonly PluginDirectoryDefinition[];readonly customServers: readonly McpServer[];+ readonly removedBuiltinServers: readonly McpServer[];} {- const legacyIds = new Set(- resolveCatalogInstallations(servers, catalog).flatMap((installation) =>- installation.kind === "legacy" ? [installation.serverId] : [],- ),- );+ const catalogServerIds = new Set(catalog.map(pluginMcpServerId));return {- installedPlugins: catalog.filter((plugin) => findPluginServer(plugin, servers)?.enabled),- customServers: servers.filter(- (server) => !isBuiltinMcpServer(server) || legacyIds.has(server.id),+ installedPlugins: catalog.filter((plugin) => findPluginServer(plugin, servers)),+ customServers: servers.filter((server) => !isBuiltinMcpServer(server)),+ removedBuiltinServers: servers.filter(+ (server) => isBuiltinMcpServer(server) && !catalogServerIds.has(server.id),),};}export const PLUGIN_DIALOG_CLASS_NAME = "h-[min(48rem,90dvh)] max-w-5xl flex-col overflow-hidden";-export const PLUGIN_DIRECTORY_HEADER_CLASS_NAME =- "max-h-[45%] min-h-0 shrink-0 gap-3 overflow-y-auto overscroll-contain px-6 py-5";-export const PLUGIN_DIRECTORY_SCROLL_CLASS_NAME = "min-h-0 flex-1 overflow-hidden";+export const PLUGIN_DIRECTORY_HEADER_CLASS_NAME = "shrink-0 gap-3 px-6 pt-5 pb-4";export const PLUGIN_DIRECTORY_PANEL_CLASS_NAME = "space-y-8 px-5 pt-5! pb-5 sm:px-6";export interface McpServerDraft {@@ -92,16 +90,7 @@ export const EMPTY_MCP_SERVER_DRAFT: McpServerDraft = {url: "",};-type EditorTarget = { readonly server: McpServer };--type DirectoryView =- | { readonly kind: "catalog" }- | { readonly kind: "installed" }- | {- readonly kind: "plugin";- readonly plugin: PluginDefinition;- readonly back: "catalog" | "installed";- };+type EditorTarget = { readonly server: McpServer | null };function draftFromServer(server: McpServer): McpServerDraft {return server.transport === "stdio"@@ -128,9 +117,10 @@ export function validateMcpServerDraft(draft: McpServerDraft): string | null {}try {const url = new URL(draft.url.trim());- return url.protocol === "http:" || url.protocol === "https:"- ? null- : "URL must start with http:// or https://.";+ if (url.protocol !== "http:" && url.protocol !== "https:") {+ return "URL must start with http:// or https://.";+ }+ return url.username || url.password ? "Store credentials outside the server URL." : null;} catch {return "Enter a valid HTTP or HTTPS URL.";}@@ -138,6 +128,7 @@ export function validateMcpServerDraft(draft: McpServerDraft): string | null {function PluginsDialogForEnvironment({ environmentId }: { readonly environmentId: EnvironmentId }) {const servers = useAtomValue(environmentMcpServersAtom(environmentId));+ const bots = useAtomValue(environmentBotsAtom(environmentId));const createServer = useAtomCommand(mcpServerEnvironment.create, { reportFailure: false });const updateServer = useAtomCommand(mcpServerEnvironment.update, { reportFailure: false });const deleteServer = useAtomCommand(mcpServerEnvironment.delete, { reportFailure: false });@@ -145,18 +136,23 @@ function PluginsDialogForEnvironment({ environmentId }: { readonly environmentIdconst disableServer = useAtomCommand(mcpServerEnvironment.disable, { reportFailure: false });const [query, setQuery] = useState("");const [filter, setFilter] = useState<PluginFilter>("All");- const [view, setView] = useState<DirectoryView>({ kind: "catalog" });+ const [selectedPlugin, setSelectedPlugin] = useState<PluginDirectoryDefinition | null>(null);const [editorTarget, setEditorTarget] = useState<EditorTarget | null>(null);const [draft, setDraft] = useState(EMPTY_MCP_SERVER_DRAFT);const [submitAttempted, setSubmitAttempted] = useState(false);const [pendingServerId, setPendingServerId] = useState<string | null>(null);- const sections = useMemo(- () => buildPluginSections({ plugins: CATALOG, query, filter }),- [filter, query],- );- const { customServers, installedPlugins } = resolvePluginDialogServers(servers);- const installedSections = buildInstalledPluginSection({ plugins: installedPlugins, query });+ const { customServers, installedPlugins, removedBuiltinServers } =+ resolvePluginDialogServers(servers);+ const sections = buildPluginSections({+ plugins: CATALOG,+ query,+ filter,+ installedPluginIds: new Set(installedPlugins.map((plugin) => plugin.id)),+ });const validationError = validateMcpServerDraft(draft);+ const selectedPluginServer = selectedPlugin+ ? findPluginServer(selectedPlugin, servers)+ : undefined;const reportFailure = (title: string,@@ -178,12 +174,19 @@ function PluginsDialogForEnvironment({ environmentId }: { readonly environmentIdsetSubmitAttempted(false);};+ const openCustomCreator = () => {+ setEditorTarget({ server: null });+ setDraft(EMPTY_MCP_SERVER_DRAFT);+ setSubmitAttempted(false);+ };+const closeEditor = () => {setEditorTarget(null);setSubmitAttempted(false);};- const togglePlugin = async (plugin: PluginDefinition, enabled: boolean) => {+ const togglePlugin = async (plugin: PluginDirectoryDefinition, enabled: boolean) => {+ if (!isInstallablePlugin(plugin)) return;const plan = planPluginToggle(plugin, servers, enabled);setPendingServerId(plan.mcpServerId);if (plan.action === "refresh-and-enable") {@@ -226,7 +229,7 @@ function PluginsDialogForEnvironment({ environmentId }: { readonly environmentIdconst saveEditor = async () => {setSubmitAttempted(true);if (!editorTarget || validationError) return;- const mcpServerId = editorTarget.server.id;+ const mcpServerId = editorTarget.server?.id ?? McpServerId.make(randomUUID());const configuration =draft.transport === "stdio"? {@@ -240,41 +243,22 @@ function PluginsDialogForEnvironment({ environmentId }: { readonly environmentId}: { name: draft.name.trim(), transport: "url" as const, url: draft.url.trim() };setPendingServerId(mcpServerId);- const result = await updateServer({- environmentId,- input: { mcpServerId, ...configuration },- });+ const result = editorTarget.server+ ? await updateServer({ environmentId, input: { mcpServerId, ...configuration } })+ : await createServer({ environmentId, input: { mcpServerId, ...configuration } });setPendingServerId(null);- if (!reportFailure("Could not update MCP server", result)) closeEditor();- };-- const openPlugin = (plugin: PluginDefinition) => {- setView({- kind: "plugin",- plugin,- back: view.kind === "installed" ? "installed" : "catalog",- });- };-- const openCatalog = () => {- setQuery("");- setFilter("All");- setView({ kind: "catalog" });- };-- const openInstalled = () => {- setQuery("");- setView({ kind: "installed" });+ if (+ !reportFailure(+ editorTarget.server ? "Could not update MCP server" : "Could not add MCP server",+ result,+ )+ ) {+ closeEditor();+ }};- const copyPluginSource = async (plugin: PluginDefinition) => {- if (!plugin.docsUrl) return;- try {- await navigator.clipboard.writeText(plugin.docsUrl);- toastManager.add({ type: "success", title: "Source link copied" });- } catch {- toastManager.add({ type: "error", title: "Could not copy source link" });- }+ const openPlugin = (plugin: PluginDirectoryDefinition) => {+ setSelectedPlugin(plugin);};const openExternal = (url: string, failureTitle: string) => {@@ -283,76 +267,46 @@ function PluginsDialogForEnvironment({ environmentId }: { readonly environmentId.catch(() => toastManager.add({ type: "error", title: failureTitle }));};- const viewPluginSource = (plugin: PluginDefinition) => {- if (plugin.docsUrl) openExternal(plugin.docsUrl, "Could not open documentation");- };-const openPluginSkill = (skill: PluginSkill) => {openExternal(skill.url, "Could not open skill");};- const removeCustom = async (server: McpServer) => {- const confirmed = await ensureLocalApi().dialogs.confirm(- `Delete the MCP server '${server.name}'?`,- { variant: "destructive" },- );+ const removeServer = async (server: McpServer) => {+ const confirmed = await ensureLocalApi().dialogs.confirm(`Remove '${server.name}'?`, {+ variant: "destructive",+ });if (!confirmed) return;setPendingServerId(server.id);const result = await deleteServer({ environmentId, input: { mcpServerId: server.id } });setPendingServerId(null);- reportFailure("Could not delete MCP server", result);+ reportFailure("Could not remove MCP server", result);};return (<>- {view.kind === "plugin" ? (+ {selectedPlugin ? (<PluginDetails- plugin={view.plugin}- installed={findPluginServer(view.plugin, servers)?.enabled ?? false}- pending={pendingServerId === pluginMcpServerId(view.plugin)}- onBack={() => setView({ kind: view.back })}- onToggle={(enabled) => void togglePlugin(view.plugin, enabled)}- onCopySource={() => void copyPluginSource(view.plugin)}- onViewSource={() => viewPluginSource(view.plugin)}+ plugin={selectedPlugin}+ server={selectedPluginServer}+ activeDependentBotNames={pluginActiveDependentBotNames(selectedPluginServer, bots)}+ pending={pendingServerId === pluginMcpServerId(selectedPlugin)}+ onBack={() => setSelectedPlugin(null)}+ onToggle={(enabled) => void togglePlugin(selectedPlugin, enabled)}+ onRemove={() => {+ const server = findPluginServer(selectedPlugin, servers);+ if (server) void removeServer(server);+ }}+ onViewDocumentation={() =>+ openExternal(selectedPlugin.documentationUrl, "Could not open documentation")+ }+ onViewSource={() => openExternal(selectedPlugin.sourceUrl, "Could not open source")}onOpenSkill={openPluginSkill}/>) : (<><DialogHeader className={PLUGIN_DIRECTORY_HEADER_CLASS_NAME}>- <div className="flex items-start justify-between gap-4 pe-8">- <div className="min-w-0">- <DialogTitle>Plugins</DialogTitle>- {view.kind === "catalog" ? (- <button- className="group -ms-2 mt-2 flex min-h-11 cursor-pointer items-center gap-2.5 rounded-xl px-2 py-1.5 text-start outline-hidden transition-colors hover:bg-muted/50 focus-visible:ring-2 focus-visible:ring-ring"- type="button"- onClick={openInstalled}- >- {installedPlugins.length > 0 ? (- <span className="flex -space-x-2" aria-hidden="true">- {installedPlugins.slice(0, 3).map((plugin) => (- <PluginLogoImage className="size-9" key={plugin.id} plugin={plugin} />- ))}- </span>- ) : null}- <span className="min-w-0">- <span className="block text-sm font-medium text-foreground">- {installedPlugins.length} installed- </span>- <span className="block text-xs text-muted-foreground">- {customServers.length} custom{" "}- {customServers.length === 1 ? "server" : "servers"}- </span>- </span>- <ChevronRightIcon className="size-4 text-muted-foreground transition-transform group-hover:translate-x-0.5 group-hover:text-foreground" />- </button>- ) : (- <Button className="mt-3 -ms-2" size="sm" variant="ghost" onClick={openCatalog}>- <ChevronLeftIcon className="size-4" />- Back to marketplace- </Button>- )}- </div>+ <div className="pe-8">+ <DialogTitle>Plugins</DialogTitle></div><div className="relative"><SearchIcon@@ -360,63 +314,67 @@ function PluginsDialogForEnvironment({ environmentId }: { readonly environmentIdclassName="pointer-events-none absolute start-3 top-1/2 size-4 -translate-y-1/2 text-muted-foreground"/><Input- aria-label={- view.kind === "installed" ? "Search installed plugins" : "Search plugins"- }+ aria-label="Search plugins"value={query}onChange={(event) => setQuery(event.currentTarget.value)}- placeholder={view.kind === "installed" ? "Search installed" : "Search plugins"}+ placeholder="Search plugins"className="h-9 ps-9"/></div>- {view.kind === "catalog" ? (- <div className="flex flex-wrap gap-1.5" aria-label="Plugin categories">- {PLUGIN_FILTERS.map((item) => (- <button- aria-pressed={filter === item}- className={cn(- "cursor-pointer rounded-md border px-2.5 py-1 text-xs outline-hidden transition-colors focus-visible:ring-2 focus-visible:ring-ring",- filter === item- ? "border-transparent bg-accent text-accent-foreground"- : "border-border/70 text-muted-foreground hover:bg-muted/60 hover:text-foreground",- )}- key={item}- type="button"- onClick={() => setFilter(item)}- >- {item}- </button>- ))}- </div>- ) : null}+ <div+ className="flex gap-1.5 overflow-x-auto pb-1"+ aria-label="Plugin sections and categories"+ >+ {PLUGIN_DIRECTORY_FILTERS.map((item) => (+ <button+ aria-pressed={filter === item}+ className={cn(+ "shrink-0 cursor-pointer rounded-full border px-2.5 py-1 text-xs outline-hidden transition-colors focus-visible:ring-2 focus-visible:ring-ring",+ filter === item+ ? "border-transparent bg-accent text-accent-foreground"+ : "border-border/70 text-muted-foreground hover:bg-muted/60 hover:text-foreground",+ )}+ key={item}+ type="button"+ onClick={() => setFilter(item)}+ >+ {item}+ </button>+ ))}+ </div></DialogHeader>- <div className={PLUGIN_DIRECTORY_SCROLL_CLASS_NAME}>- <DialogPanel className={PLUGIN_DIRECTORY_PANEL_CLASS_NAME}>- <PluginsCatalog- sections={view.kind === "installed" ? installedSections : sections}- servers={servers}- pendingServerId={pendingServerId}- onToggle={(plugin, enabled) => void togglePlugin(plugin, enabled)}- onOpen={openPlugin}- onViewAll={setFilter}- />- {view.kind === "installed" ? (+ <DialogPanel className={PLUGIN_DIRECTORY_PANEL_CLASS_NAME}>+ <PluginsCatalog+ sections={sections}+ servers={servers}+ pendingServerId={pendingServerId}+ onToggle={(plugin, enabled) => void togglePlugin(plugin, enabled)}+ onOpen={openPlugin}+ />+ {filter === "Installed" ? (+ <>+ <RemovedBuiltinServers+ servers={removedBuiltinServers}+ pendingServerId={pendingServerId}+ onDelete={(server) => void removeServer(server)}+ /><CustomMcpServersservers={customServers}pendingServerId={pendingServerId}+ onCreate={openCustomCreator}onToggle={(server, enabled) => void toggleCustom(server, enabled)}onEdit={openCustomEditor}- onDelete={(server) => void removeCustom(server)}+ onDelete={(server) => void removeServer(server)}/>- ) : null}- </DialogPanel>- </div>+ </>+ ) : null}+ </DialogPanel></>)}<Dialog open={editorTarget !== null} onOpenChange={(open) => !open && closeEditor()}><DialogPopup className="max-h-[min(36rem,90dvh)] max-w-lg flex-col overflow-hidden"><DialogHeader className="shrink-0 border-b px-6 py-5">- <DialogTitle>Edit MCP server</DialogTitle>+ <DialogTitle>{editorTarget?.server ? "Edit MCP server" : "Add MCP server"}</DialogTitle></DialogHeader><DialogPanel className="space-y-4 px-6 py-5"><Field>@@ -485,7 +443,7 @@ function PluginsDialogForEnvironment({ environmentId }: { readonly environmentIdCancel</Button><Button disabled={pendingServerId !== null} onClick={() => void saveEditor()}>- Save+ {editorTarget?.server ? "Save" : "Add server"}</Button></DialogFooter></DialogPopup>diff --git a/apps/web/src/components/plugins/pluginPresentation.test.ts b/apps/web/src/components/plugins/pluginPresentation.test.tsindex 29bd8ca69..97eb3cbc0 100644--- a/apps/web/src/components/plugins/pluginPresentation.test.ts+++ b/apps/web/src/components/plugins/pluginPresentation.test.ts@@ -1,29 +1,78 @@+import { McpServerId, type McpServer } from "@t3tools/contracts";import { describe, expect, it } from "vite-plus/test";-import { loadCatalog } from "../../../../../plugins";import {- buildInstalledPluginSection,+ loadDirectoryCatalog,+ PLUGIN_CATEGORIES,+ type PluginDirectoryDefinition,+} from "../../../../../plugins";+import {+ buildPluginFilters,buildPluginSections,- PLUGIN_FILTERS,+ pluginActiveDependentBotNames,+ pluginConnectionLabel,+ pluginMatchesQuery,+ pluginPrimaryAction,} from "./pluginPresentation";-const catalog = loadCatalog();+const catalog = loadDirectoryCatalog();+const firecrawl = catalog.find((plugin) => plugin.id === "firecrawl");+if (!firecrawl || firecrawl.kind !== "mcp-url") {+ throw new TypeError("Firecrawl is missing from the plugin directory.");+}+const firecrawlUrl = firecrawl.url;+const { kind: _kind, transport: _transport, url: _url, ...pendingBase } = firecrawl;+const pendingPlugin = {+ ...pendingBase,+ id: "pending-vendor",+ name: "Pending Vendor",+ title: "Pending Vendor",+ kind: "mcp-unavailable",+ transport: { type: "unavailable" },+ connection: {+ type: "approval-pending",+ blocker: "The vendor must approve Akeru as an OAuth client.",+ },+ catalogStatus: "approval-pending",+} satisfies PluginDirectoryDefinition;+const verificationPlugin = {+ ...firecrawl,+ id: "verification-vendor",+ name: "Verification Vendor",+ title: "Verification Vendor",+ connection: {+ type: "verification-pending",+ blocker: "The connection lifecycle still needs verification.",+ },+ catalogStatus: "verification-pending",+} satisfies PluginDirectoryDefinition;+const apiKeyPlugin = {+ ...firecrawl,+ id: "key-vendor",+ name: "Key Vendor",+ title: "Key Vendor",+ authentication: "api-key",+ connection: { type: "api-key" },+ requiredCredentials: ["key-vendor-api-key"],+} satisfies PluginDirectoryDefinition;++function server(enabled: boolean): McpServer {+ return {+ id: McpServerId.make("builtin-firecrawl"),+ name: "Firecrawl",+ transport: "url",+ url: firecrawlUrl,+ enabled,+ createdAt: "2026-08-27T00:00:00.000Z",+ updatedAt: "2026-08-27T00:00:00.000Z",+ };+}describe("plugin presentation", () => {- it("builds a featured directory with the available categories", () => {- const sections = buildPluginSections({ plugins: catalog, query: "", filter: "All" });- expect(sections[0]?.title).toBe("Featured");- expect(sections[0]?.plugins.map((plugin) => plugin.id)).toEqual([- "context",- "firecrawl",- "exa",- "parallel-search",- "executor",- ]);- expect(sections.some((section) => section.title === "Web")).toBe(true);- expect(sections.some((section) => section.title === "Work")).toBe(true);- expect(PLUGIN_FILTERS).toEqual([+ it("shows only populated directory categories and keeps pending categories discoverable", () => {+ expect(buildPluginFilters(catalog)).toEqual(["All","Featured",+ "Installed","Work","Web","Marketing",@@ -33,34 +82,128 @@ describe("plugin presentation", () => {"Support","Commerce",]);+ expect(+ buildPluginFilters([+ ...catalog.filter((plugin) => ["Work", "Web"].includes(plugin.primaryCategory)),+ { ...pendingPlugin, primaryCategory: "Marketing", category: "Marketing" },+ ]),+ ).toEqual(["All", "Featured", "Installed", "Work", "Web", "Marketing"]);+ expect(+ buildPluginSections({ plugins: catalog, query: "", filter: "All" }).flatMap((section) =>+ section.plugins.map((plugin) => plugin.id),+ ),+ ).toHaveLength(51);+ expect(+ buildPluginSections({+ plugins: catalog,+ query: "",+ filter: "Installed",+ installedPluginIds: new Set(["firecrawl"]),+ })[0]?.plugins.map((plugin) => plugin.id),+ ).toEqual(["firecrawl"]);+ expect(+ buildPluginSections({ plugins: catalog, query: "", filter: "Featured" })[0]?.plugins.map(+ (plugin) => plugin.id,+ ),+ ).toEqual(["context", "zernio"]);+ expect(+ buildPluginSections({ plugins: catalog, query: "", filter: "Web" })[0]?.plugins.map(+ (plugin) => plugin.id,+ ),+ ).toEqual(["context", "apify", "exa", "firecrawl", "parallel-search", "tavily"]);});- it("builds a single searchable installed section", () => {- const installed = catalog.filter((plugin) => plugin.id === "firecrawl" || plugin.id === "exa");- const sections = buildInstalledPluginSection({ plugins: installed, query: "Exa" });- expect(sections).toHaveLength(1);- expect(sections[0]?.title).toBe("Installed");- expect(sections[0]?.plugins.map((plugin) => plugin.id)).toEqual(["exa"]);+ it("groups the unfiltered directory into populated category sections", () => {+ const sections = buildPluginSections({ plugins: catalog, query: "", filter: "All" });+ expect(sections.map((section) => section.title)).toEqual([+ "Featured",+ ...PLUGIN_CATEGORIES.filter((category) =>+ catalog.some((plugin) => !plugin.featured && plugin.category === category),+ ),+ ]);+ expect(sections.every((section) => section.plugins.length > 0)).toBe(true);+ expect(sections[0]?.plugins.map((plugin) => plugin.id)).toEqual(["context", "zernio"]);+ for (const section of sections.slice(1)) {+ expect(+ section.plugins.every((plugin) => !plugin.featured && plugin.category === section.title),+ ).toBe(true);+ }+ expect(+ buildPluginSections({ plugins: catalog, query: "firecrawl", filter: "All" }).map(+ (section) => section.title,+ ),+ ).toEqual(["Search results"]);});- it("filters by category and search text", () => {- const webPlugins = buildPluginSections({- plugins: catalog,- query: "",- filter: "Web",+ it("searches only the directory discovery fields", () => {+ const executor = catalog.find((plugin) => plugin.id === "executor");+ if (!executor) throw new TypeError("Executor is missing from the plugin directory.");+ const searchPlugin = {+ ...firecrawl,+ name: "Manifest name token",+ title: "Display title token",+ description: "Description token",+ tags: ["tag token"],+ capabilities: ["capability token"],+ publisher: { ...firecrawl.publisher, name: "Publisher token" },+ } satisfies PluginDirectoryDefinition;+ for (const query of [+ "Manifest name token",+ "Display title token",+ "Description token",+ "Web",+ "tag token",+ "capability token",+ "Publisher token",+ ]) {+ expect(pluginMatchesQuery(searchPlugin, query)).toBe(true);+ }+ for (const query of [searchPlugin.url, "available", "mobile", "oauth"]) {+ expect(pluginMatchesQuery(searchPlugin, query)).toBe(false);+ }+ expect(pluginMatchesQuery(executor, "bunx")).toBe(false);+ });++ it("shows active bot dependents only for an enabled installation", () => {+ const enabledServer = server(true);+ const bots = [+ { name: "Research", archivedAt: null, disabledMcpServerIds: [] },+ { name: "Writer", archivedAt: null, disabledMcpServerIds: [enabledServer.id] },+ {+ name: "Archived",+ archivedAt: "2026-08-01T00:00:00.000Z",+ disabledMcpServerIds: [],+ },+ ];+ expect(pluginActiveDependentBotNames(enabledServer, bots)).toEqual(["Research"]);+ expect(pluginActiveDependentBotNames(server(false), bots)).toEqual([]);+ expect(pluginActiveDependentBotNames(undefined, bots)).toEqual([]);+ });++ it("uses state-correct actions without claiming a successful connection", () => {+ expect(pluginPrimaryAction(firecrawl, undefined).label).toBe("Connect");+ expect(pluginPrimaryAction(apiKeyPlugin, undefined)).toEqual({+ label: "Add key",+ enable: true,});- expect(webPlugins[0]?.plugins.map((plugin) => plugin.id)).toEqual([- "context",- "firecrawl",- "exa",- "parallel-search",- ]);+ expect(pluginPrimaryAction(firecrawl, server(true)).label).toBe("Disable");+ expect(pluginPrimaryAction(firecrawl, server(false)).label).toBe("Reconnect");+ expect(pluginConnectionLabel(firecrawl)).toBe("OAuth");+ });- const extraction = buildPluginSections({- plugins: catalog,- query: "scrape",- filter: "All",+ it("blocks unavailable plugins and names the approval blocker", () => {+ expect(pluginPrimaryAction(pendingPlugin, undefined)).toEqual({+ label: "Connect",+ enable: null,+ blocker: "The vendor must approve Akeru as an OAuth client.",+ });+ expect(pluginPrimaryAction(pendingPlugin, server(true)).label).toBe("Disable");+ expect(pluginConnectionLabel(pendingPlugin)).toBe("Approval pending");+ expect(pluginPrimaryAction(verificationPlugin, undefined)).toEqual({+ label: "Connect",+ enable: null,+ blocker: "The connection lifecycle still needs verification.",});- expect(extraction[0]?.plugins.map((plugin) => plugin.id)).toEqual(["context", "firecrawl"]);+ expect(pluginConnectionLabel(verificationPlugin)).toBe("Verification pending");});});diff --git a/apps/web/src/components/plugins/pluginPresentation.ts b/apps/web/src/components/plugins/pluginPresentation.tsindex 221416141..b0ba21e4e 100644--- a/apps/web/src/components/plugins/pluginPresentation.ts+++ b/apps/web/src/components/plugins/pluginPresentation.ts@@ -1,94 +1,124 @@+import type { McpServer, OrchestrationBot } from "@t3tools/contracts";import {PLUGIN_CATEGORIES,type PluginCategory,- type PluginDefinition,+ type PluginDirectoryDefinition,} from "../../../../../plugins";-export type PluginFilter = "All" | "Featured" | PluginCategory;+export type PluginFilter = "All" | "Featured" | "Installed" | PluginCategory;-export const PLUGIN_FILTERS: readonly PluginFilter[] = ["All", "Featured", ...PLUGIN_CATEGORIES];+export function buildPluginFilters(+ plugins: readonly PluginDirectoryDefinition[],+): readonly PluginFilter[] {+ const categories = new Set(plugins.map((plugin) => plugin.category));+ return [+ "All",+ "Featured",+ "Installed",+ ...PLUGIN_CATEGORIES.filter((category) => categories.has(category)),+ ];+}export interface PluginSection {readonly title: string;- readonly filter: PluginFilter;- readonly plugins: readonly PluginDefinition[];- readonly showViewAll: boolean;+ readonly plugins: readonly PluginDirectoryDefinition[];}-export function buildInstalledPluginSection(input: {- readonly plugins: readonly PluginDefinition[];- readonly query: string;-}): readonly PluginSection[] {- const query = input.query.trim().toLocaleLowerCase();- const plugins = input.plugins.filter((plugin) =>- `${plugin.title}\n${plugin.description}\n${plugin.category}`- .toLocaleLowerCase()- .includes(query),- );- return [{ title: "Installed", filter: "All", plugins, showViewAll: false }];+export interface PluginPrimaryAction {+ readonly label: "Add" | "Connect" | "Add key" | "Disable" | "Reconnect";+ readonly enable: boolean | null;+ readonly blocker?: string;+}++export function pluginMatchesQuery(plugin: PluginDirectoryDefinition, query: string): boolean {+ return [+ plugin.name,+ plugin.title,+ plugin.description,+ plugin.category,+ ...plugin.tags,+ ...plugin.capabilities,+ plugin.publisher.name,+ ]+ .join("\n")+ .toLocaleLowerCase()+ .includes(query.trim().toLocaleLowerCase());+}++type DependentBot = Pick<OrchestrationBot, "name" | "archivedAt" | "disabledMcpServerIds">;++export function pluginActiveDependentBotNames(+ server: McpServer | undefined,+ bots: readonly DependentBot[],+): readonly string[] {+ if (!server?.enabled) return [];+ return bots+ .filter((bot) => bot.archivedAt === null && !bot.disabledMcpServerIds.includes(server.id))+ .map((bot) => bot.name);}export function buildPluginSections(input: {- readonly plugins: readonly PluginDefinition[];+ readonly plugins: readonly PluginDirectoryDefinition[];readonly query: string;readonly filter: PluginFilter;+ readonly installedPluginIds?: ReadonlySet<string>;}): readonly PluginSection[] {- const query = input.query.trim().toLocaleLowerCase();- const matching = input.plugins.filter((plugin) =>- `${plugin.title}\n${plugin.description}\n${plugin.category}`- .toLocaleLowerCase()- .includes(query),- );+ const plugins = input.plugins+ .filter((plugin) => pluginMatchesQuery(plugin, input.query))+ .filter((plugin) => {+ if (input.filter === "All") return true;+ if (input.filter === "Featured") return plugin.featured === true;+ if (input.filter === "Installed") return input.installedPluginIds?.has(plugin.id) ?? false;+ return plugin.category === input.filter;+ });+ if (input.query.trim()) return [{ title: "Search results", plugins }];+ if (input.filter !== "All") return [{ title: input.filter, plugins }];+ const featured = plugins.filter((plugin) => plugin.featured);+ const sections = PLUGIN_CATEGORIES.map((category) => ({+ title: category,+ plugins: plugins.filter((plugin) => !plugin.featured && plugin.category === category),+ })).filter((section) => section.plugins.length > 0);+ return featured.length > 0 ? [{ title: "Featured", plugins: featured }, ...sections] : sections;+}- if (query) {- const filtered =- input.filter === "All"- ? matching- : matching.filter((plugin) =>- input.filter === "Featured"- ? plugin.featured === true- : plugin.category === input.filter,- );- return [- { title: "Search results", filter: input.filter, plugins: filtered, showViewAll: false },- ];+export function pluginBlocker(plugin: PluginDirectoryDefinition): string | null {+ if (+ plugin.connection.type === "approval-pending" ||+ plugin.connection.type === "verification-pending"+ ) {+ return plugin.connection.blocker;}+ if (plugin.kind === "mcp-unavailable") return `${plugin.title} has no available connector.`;+ return null;+}- if (input.filter === "Featured") {- return [- {- title: "Featured",- filter: "Featured",- plugins: matching.filter((plugin) => plugin.featured === true),- showViewAll: false,- },- ];+export function pluginPrimaryAction(+ plugin: PluginDirectoryDefinition,+ server: McpServer | undefined,+): PluginPrimaryAction {+ if (server?.enabled) return { label: "Disable", enable: false };+ const blocker = pluginBlocker(plugin);+ if (blocker) return { label: "Connect", enable: null, blocker };+ if (server) return { label: "Reconnect", enable: true };+ if (plugin.authentication === "api-key") return { label: "Add key", enable: true };+ if (plugin.connection.type === "local" || plugin.authentication === "none") {+ return { label: "Add", enable: true };}+ return { label: "Connect", enable: true };+}- if (input.filter !== "All") {- return [- {- title: input.filter,- filter: input.filter,- plugins: matching.filter((plugin) => plugin.category === input.filter),- showViewAll: false,- },- ];+export function pluginConnectionLabel(plugin: PluginDirectoryDefinition): string {+ if (plugin.connection.type === "approval-pending") return "Approval pending";+ if (plugin.connection.type === "verification-pending") return "Verification pending";+ if (plugin.connection.type === "local") return "Local";+ if (plugin.authentication === "api-key") return "API key";+ if (plugin.authentication === "oauth" || plugin.authentication === "optional-oauth") {+ return "OAuth";}+ return "No sign-in";+}- const sections: PluginSection[] = [- {- title: "Featured",- filter: "Featured",- plugins: matching.filter((plugin) => plugin.featured === true),- showViewAll: true,- },- ];- for (const category of PLUGIN_CATEGORIES) {- const plugins = matching.filter((plugin) => plugin.category === category);- if (plugins.length > 0) {- sections.push({ title: category, filter: category, plugins, showViewAll: true });- }- }- return sections;+export function pluginExecutionLabel(plugin: PluginDirectoryDefinition): string {+ if (plugin.kind === "mcp-unavailable") return "Unavailable";+ return plugin.kind === "mcp-stdio" || plugin.connection.type === "local" ? "Local" : "Hosted";}diff --git a/apps/web/src/components/plugins/pluginRegistry.ts b/apps/web/src/components/plugins/pluginRegistry.tsindex 4e84c6c4d..a1c52ec20 100644--- a/apps/web/src/components/plugins/pluginRegistry.ts+++ b/apps/web/src/components/plugins/pluginRegistry.ts@@ -1,9 +1,9 @@import { McpServerId, type McpServer, type McpServerConfiguration } from "@t3tools/contracts";-import type { PluginDefinition } from "../../../../../plugins";+import type { PluginDefinition, PluginDirectoryDefinition } from "../../../../../plugins";const BUILTIN_PREFIX = "builtin-";-export function pluginMcpServerId(plugin: PluginDefinition): McpServerId {+export function pluginMcpServerId(plugin: Pick<PluginDirectoryDefinition, "id">): McpServerId {return McpServerId.make(`${BUILTIN_PREFIX}${plugin.id}`);}@@ -12,7 +12,7 @@ export function isBuiltinMcpServer(server: McpServer): boolean {}export function findPluginServer(- plugin: PluginDefinition,+ plugin: Pick<PluginDirectoryDefinition, "id">,servers: readonly McpServer[],): McpServer | undefined {const id = pluginMcpServerId(plugin);diff --git a/apps/web/src/components/roster/BotThreadLanding.markdown.test.ts b/apps/web/src/components/roster/BotThreadLanding.markdown.test.tsindex e734616a3..40ae80bfb 100644--- a/apps/web/src/components/roster/BotThreadLanding.markdown.test.ts+++ b/apps/web/src/components/roster/BotThreadLanding.markdown.test.ts@@ -5,12 +5,16 @@ import { describe, expect, it } from "vite-plus/test";describe("BotThreadLanding message formatting", () => {it("renders assistant messages with the shared rich markdown component", () => {- const source = NodeFS.readFileSync(new URL("./BotThreadLanding.tsx", import.meta.url), "utf8");+ const sources = ["BotThreadLanding.tsx", "GroupThreadLanding.tsx"].map((file) =>+ NodeFS.readFileSync(new URL(`./${file}`, import.meta.url), "utf8"),+ );- expect(source).toContain('import ChatMarkdown from "../ChatMarkdown"');- expect(source).toContain("<ChatMarkdown");- expect(source).toContain("cwd={runtime.defaultProject?.workspaceRoot}");- expect(source).toContain("threadRef={runtime.linkedThreadRef ?? undefined}");+ for (const source of sources) {+ expect(source).toContain('import ChatMarkdown from "../ChatMarkdown"');+ expect(source).toContain("<ChatMarkdown");+ expect(source).toContain("cwd={runtime.defaultProject?.workspaceRoot}");+ expect(source).toContain("threadRef={runtime.linkedThreadRef ?? undefined}");+ }});it("uses the free-scrolling conversation area instead of end-justified overflow", () => {diff --git a/apps/web/src/components/roster/GroupThreadLanding.tsx b/apps/web/src/components/roster/GroupThreadLanding.tsxindex 3f521f316..05b10075a 100644--- a/apps/web/src/components/roster/GroupThreadLanding.tsx+++ b/apps/web/src/components/roster/GroupThreadLanding.tsx@@ -7,6 +7,7 @@ import { usePrimaryEnvironmentId } from "../../state/environments";import { useEnvironmentQuery } from "../../state/query";import { serverEnvironment } from "../../state/server";import { SidebarInset } from "../ui/sidebar";+import ChatMarkdown from "../ChatMarkdown";import { WorkspacePageHeader } from "../WorkspacePageHeader";import { ThreadErrorBanner } from "../chat/ThreadErrorBanner";import { BotActivityStatus } from "./BotActivityStatus";@@ -105,9 +106,12 @@ export function GroupThreadLanding({ groupId }: { readonly groupId: string }) {/><div className="min-w-0 max-w-[85%]"><div className="text-sm font-medium">{respondingBot.name}</div>- <p className="mt-1 whitespace-pre-wrap text-sm leading-6 text-foreground/90">- {message.text}- </p>+ <ChatMarkdown+ className="mt-1"+ cwd={runtime.defaultProject?.workspaceRoot}+ text={message.text}+ threadRef={runtime.linkedThreadRef ?? undefined}+ /></div></div>);diff --git a/apps/web/src/components/settings/InboxPanel.test.ts b/apps/web/src/components/settings/InboxPanel.test.tsnew file mode 100644index 000000000..4942ef2e0--- /dev/null+++ b/apps/web/src/components/settings/InboxPanel.test.ts@@ -0,0 +1,39 @@+import { BotId } from "@t3tools/contracts";+import type { BotInboxItem } from "@t3tools/client-runtime/bot-inbox";+import { describe, expect, it } from "vite-plus/test";++import { inboxRepairDestination } from "./InboxPanel";++function incident(incidentKey: string): BotInboxItem {+ return {+ id: "incident-1",+ incidentKey,+ kind: "connector-failure",+ status: "open",+ botId: BotId.make("bot-1"),+ botName: "Akeru",+ taskOrRoutine: "Provider access",+ lastFailure: "The request failed.",+ nextAction: "Reconnect the provider.",+ firstSeenAt: "2026-08-30T10:00:00.000Z",+ lastSeenAt: "2026-08-30T10:00:00.000Z",+ occurrenceCount: 1,+ };+}++describe("inbox repair destinations", () => {+ it("opens Plugins for MCP incidents", () => {+ expect(inboxRepairDestination(incident("access:mcp-builtin-exa:bot-1"))).toBe("plugins");+ });++ it.each(["connector:anthropic:bot-1", "access:cursor-acp:bot-1"])(+ "opens Providers for %s",+ (incidentKey) => {+ expect(inboxRepairDestination(incident(incidentKey))).toBe("providers");+ },+ );++ it("does not add a dead action for approval requests", () => {+ expect(inboxRepairDestination(incident("approval:req-1"))).toBeNull();+ });+});diff --git a/apps/web/src/components/settings/InboxPanel.tsx b/apps/web/src/components/settings/InboxPanel.tsxindex 4d553bb84..45ec4ad2c 100644--- a/apps/web/src/components/settings/InboxPanel.tsx+++ b/apps/web/src/components/settings/InboxPanel.tsx@@ -1,12 +1,25 @@import { CircleAlertIcon } from "lucide-react";-import { selectOpenBotInboxItems } from "../../botInbox";+import { selectOpenBotInboxItems, type BotInboxItem } from "@t3tools/client-runtime/bot-inbox";+import { openPlugins } from "../../pluginsDialogStore";+import { openSettings } from "../../settingsDialogStore";import { useSettingsEnvironmentId } from "../../settingsDialogStore";import { useEnvironmentQuery } from "../../state/query";import { serverEnvironment } from "../../state/server";import { Badge } from "../ui/badge";+import { Button } from "../ui/button";import { SettingsPageContainer, SettingsRow, SettingsSection } from "./settingsLayout";+export type InboxRepairDestination = "providers" | "plugins";++export function inboxRepairDestination(item: BotInboxItem): InboxRepairDestination | null {+ if (item.incidentKey.startsWith("access:mcp-")) return "plugins";+ if (item.incidentKey.startsWith("connector:") || item.incidentKey.startsWith("access:")) {+ return "providers";+ }+ return null;+}+export function InboxPanel() {const environmentId = useSettingsEnvironmentId();const inboxQuery = useEnvironmentQuery(@@ -35,25 +48,51 @@ export function InboxPanel() {/>) : (openItems.map((item) => (- <SettingsRow- key={item.id}- title={- <span className="flex items-center gap-2">- <CircleAlertIcon className="size-4 text-destructive" />- {item.botName} · {item.taskOrRoutine}- </span>- }- description={item.lastFailure}- status={`Next: ${item.nextAction}`}- control={- <Badge variant="error">- {item.occurrenceCount > 1 ? `${item.occurrenceCount} events` : "Action needed"}- </Badge>- }- />+ <InboxIncidentRow key={item.id} item={item} environmentId={environmentId} />)))}</SettingsSection></SettingsPageContainer>);}++function InboxIncidentRow({+ item,+ environmentId,+}: {+ readonly item: BotInboxItem;+ readonly environmentId: ReturnType<typeof useSettingsEnvironmentId>;+}) {+ const destination = inboxRepairDestination(item);+ const openRepair = () => {+ if (destination === "plugins") {+ openPlugins();+ return;+ }+ if (destination === "providers") openSettings("providers", null, environmentId);+ };++ return (+ <SettingsRow+ title={+ <span className="flex items-center gap-2">+ <CircleAlertIcon className="size-4 text-destructive" />+ {item.botName} · {item.taskOrRoutine}+ </span>+ }+ description={item.lastFailure}+ status={item.nextAction}+ control={+ destination ? (+ <Button size="xs" variant="outline" onClick={openRepair}>+ {destination === "plugins" ? "Open Plugins" : "Open Providers"}+ </Button>+ ) : (+ <Badge variant="error">+ {item.occurrenceCount > 1 ? `${item.occurrenceCount} events` : "Action needed"}+ </Badge>+ )+ }+ />+ );+}diff --git a/apps/web/src/components/settings/PortabilitySettings.logic.test.ts b/apps/web/src/components/settings/PortabilitySettings.logic.test.tsnew file mode 100644index 000000000..5c2a20bd5--- /dev/null+++ b/apps/web/src/components/settings/PortabilitySettings.logic.test.ts@@ -0,0 +1,47 @@+import type { PortabilityImportPreview } from "@t3tools/contracts";+import { describe, expect, it } from "vite-plus/test";++import { PORTABILITY_ARCHIVE_MAX_CHARS } from "@t3tools/contracts";++import {+ canApplyPortabilityPreview,+ portabilityArchiveFileError,+} from "./PortabilitySettings.logic";++const preview: PortabilityImportPreview = {+ snapshotSequence: 1,+ stateChecksum: "0".repeat(64),+ additions: [],+ changes: [],+ conflicts: [],+ missingProviders: [],+ skippedSecrets: [],+ unsupported: [],+};++describe("canApplyPortabilityPreview", () => {+ it("allows only previews with safe additions or changes", () => {+ expect(canApplyPortabilityPreview(preview)).toBe(false);+ expect(+ canApplyPortabilityPreview({+ ...preview,+ conflicts: [{ recordType: "bot", id: "bot-1", title: "Bot" }],+ }),+ ).toBe(false);+ expect(+ canApplyPortabilityPreview({+ ...preview,+ changes: [{ recordType: "mcp-server", id: "mcp-1", title: "MCP server" }],+ }),+ ).toBe(true);+ });+});++describe("portabilityArchiveFileError", () => {+ it("rejects files larger than the archive limit before reading them", () => {+ expect(portabilityArchiveFileError(PORTABILITY_ARCHIVE_MAX_CHARS)).toBeNull();+ expect(portabilityArchiveFileError(PORTABILITY_ARCHIVE_MAX_CHARS + 1)).toBe(+ "Archives must be 20 MB or smaller.",+ );+ });+});diff --git a/apps/web/src/components/settings/PortabilitySettings.logic.ts b/apps/web/src/components/settings/PortabilitySettings.logic.tsnew file mode 100644index 000000000..d54d4d817--- /dev/null+++ b/apps/web/src/components/settings/PortabilitySettings.logic.ts@@ -0,0 +1,9 @@+import { PORTABILITY_ARCHIVE_MAX_CHARS, type PortabilityImportPreview } from "@t3tools/contracts";++export function portabilityArchiveFileError(size: number): string | null {+ return size > PORTABILITY_ARCHIVE_MAX_CHARS ? "Archives must be 20 MB or smaller." : null;+}++export function canApplyPortabilityPreview(preview: PortabilityImportPreview): boolean {+ return preview.additions.length + preview.changes.length > 0;+}diff --git a/apps/web/src/components/settings/PortabilitySettings.tsx b/apps/web/src/components/settings/PortabilitySettings.tsxnew file mode 100644index 000000000..4d5921a74--- /dev/null+++ b/apps/web/src/components/settings/PortabilitySettings.tsx@@ -0,0 +1,322 @@+import {+ type AtomCommandResult,+ isAtomCommandInterrupted,+ squashAtomCommandFailure,+} from "@t3tools/client-runtime/state/runtime";+import type {+ PortabilityApplyImportResult,+ PortabilityImportItem,+ PortabilityImportPreview,+} from "@t3tools/contracts";+import { useRef, useState } from "react";++import { usePrimaryEnvironmentId } from "../../state/environments";+import { portabilityEnvironment } from "../../state/portability";+import { useAtomCommand } from "../../state/use-atom-command";+import { Button } from "../ui/button";+import {+ Dialog,+ DialogDescription,+ DialogFooter,+ DialogHeader,+ DialogPanel,+ DialogPopup,+ DialogTitle,+} from "../ui/dialog";+import { toastManager } from "../ui/toast";+import {+ canApplyPortabilityPreview,+ portabilityArchiveFileError,+} from "./PortabilitySettings.logic";+import { SettingsRow } from "./settingsLayout";+import { searchableSetting } from "./settingsSearch";++interface ImportPreviewState {+ readonly contents: string;+ readonly filename: string;+ readonly preview: PortabilityImportPreview;+}++function downloadArchive(filename: string, contents: string): void {+ const url = URL.createObjectURL(new Blob([contents], { type: "application/json" }));+ const anchor = document.createElement("a");+ anchor.href = url;+ anchor.download = filename;+ anchor.click();+ setTimeout(() => URL.revokeObjectURL(url), 30_000);+}++function reportFailure(title: string, result: AtomCommandResult<unknown, unknown>): void {+ if (result._tag !== "Failure" || isAtomCommandInterrupted(result)) return;+ const error = squashAtomCommandFailure(result);+ toastManager.add({+ type: "error",+ title,+ description: error instanceof Error ? error.message : "The command failed.",+ });+}++function ImportItems({+ title,+ items,+}: {+ readonly title: string;+ readonly items: readonly PortabilityImportItem[];+}) {+ return (+ <section className="space-y-1.5">+ <h3 className="text-xs font-semibold text-foreground">+ {title} <span className="text-muted-foreground">{items.length}</span>+ </h3>+ {items.length > 0 ? (+ <ul className="space-y-1 text-xs text-muted-foreground">+ {items.map((item) => (+ <li key={`${item.recordType}:${item.id}`} className="flex justify-between gap-4">+ <span className="truncate text-foreground/80">{item.title}</span>+ <span className="shrink-0">{item.recordType}</span>+ </li>+ ))}+ </ul>+ ) : null}+ </section>+ );+}++function ImportPreview({ preview }: { readonly preview: PortabilityImportPreview }) {+ return (+ <div className="space-y-5">+ <div className="grid grid-cols-1 gap-4 sm:grid-cols-3">+ <ImportItems title="Additions" items={preview.additions} />+ <ImportItems title="Changes" items={preview.changes} />+ <ImportItems title="Conflicts" items={preview.conflicts} />+ </div>++ <section className="space-y-1.5">+ <h3 className="text-xs font-semibold text-foreground">+ Missing providers{" "}+ <span className="text-muted-foreground">{preview.missingProviders.length}</span>+ </h3>+ {preview.missingProviders.length > 0 ? (+ <p className="text-xs text-muted-foreground">{preview.missingProviders.join(", ")}</p>+ ) : null}+ </section>++ <section className="space-y-1.5">+ <h3 className="text-xs font-semibold text-foreground">Secrets not included</h3>+ <ul className="space-y-1 text-xs text-muted-foreground">+ {preview.skippedSecrets.map((item) => (+ <li key={item}>{item}</li>+ ))}+ </ul>+ </section>++ <section className="space-y-1.5">+ <h3 className="text-xs font-semibold text-foreground">Unsupported</h3>+ <ul className="space-y-2 text-xs text-muted-foreground">+ {preview.unsupported.map((item) => (+ <li key={item.kind}>+ <span className="font-medium text-foreground/80">+ {item.kind} ({item.count})+ </span>+ <span className="block">{item.reason}</span>+ </li>+ ))}+ </ul>+ </section>+ </div>+ );+}++function importResultDescription(result: PortabilityApplyImportResult): string {+ const counts = [+ `${result.applied} applied`,+ ...(result.skipped > 0 ? [`${result.skipped} skipped`] : []),+ ...(result.failed > 0 ? [`${result.failed} failed`] : []),+ ...(result.partial > 0 ? [`${result.partial} partly applied`] : []),+ ];+ const firstFailure = result.failures[0];+ return `${counts.join(". ")}.${firstFailure ? ` ${firstFailure.title}: ${firstFailure.message}` : ""}`;+}++export function PortabilitySettings() {+ const environmentId = usePrimaryEnvironmentId();+ const fileInputRef = useRef<HTMLInputElement>(null);+ const exportArchive = useAtomCommand(portabilityEnvironment.exportArchive, {+ reportFailure: false,+ });+ const previewImport = useAtomCommand(portabilityEnvironment.previewImport, {+ reportFailure: false,+ });+ const applyImport = useAtomCommand(portabilityEnvironment.applyImport, {+ reportFailure: false,+ });+ const [pending, setPending] = useState<"export" | "preview" | "apply" | null>(null);+ const [importState, setImportState] = useState<ImportPreviewState | null>(null);+ const [applyResult, setApplyResult] = useState<PortabilityApplyImportResult | null>(null);++ const handleExport = async () => {+ if (environmentId === null) return;+ setPending("export");+ const result = await exportArchive({ environmentId, input: {} });+ setPending(null);+ if (result._tag === "Failure") {+ reportFailure("Could not export archive", result);+ return;+ }+ downloadArchive(result.value.filename, result.value.contents);+ toastManager.add({ type: "success", title: "Archive exported" });+ };++ const handleFile = async (file: File) => {+ if (environmentId === null) return;+ setApplyResult(null);+ const fileError = portabilityArchiveFileError(file.size);+ if (fileError) {+ toastManager.add({ type: "error", title: "Could not read archive", description: fileError });+ return;+ }+ setPending("preview");+ try {+ const contents = await file.text();+ const result = await previewImport({ environmentId, input: { contents } });+ setPending(null);+ if (result._tag === "Failure") {+ reportFailure("Could not preview archive", result);+ return;+ }+ setImportState({ contents, filename: file.name, preview: result.value });+ } catch (error) {+ setPending(null);+ toastManager.add({+ type: "error",+ title: "Could not read archive",+ description: error instanceof Error ? error.message : "The file could not be read.",+ });+ }+ };++ const handleApply = async () => {+ if (environmentId === null || importState === null) return;+ setPending("apply");+ const result = await applyImport({+ environmentId,+ input: {+ contents: importState.contents,+ expectedSnapshotSequence: importState.preview.snapshotSequence,+ expectedStateChecksum: importState.preview.stateChecksum,+ },+ });+ setPending(null);+ if (result._tag === "Failure") {+ reportFailure("Could not import archive", result);+ return;+ }+ const hasFailures = result.value.failed > 0 || result.value.partial > 0;+ if (hasFailures) setApplyResult(result.value);+ else setImportState(null);+ toastManager.add({+ type: hasFailures ? "error" : "success",+ title: hasFailures ? "Archive partly imported" : "Archive imported",+ description: importResultDescription(result.value),+ });+ };++ return (+ <>+ <SettingsRow+ {...searchableSetting("data-portability")}+ description="Export safe settings, workspaces, and conversation history, or preview an archive before import."+ control={+ <div className="flex items-center gap-1.5">+ <Button+ size="xs"+ variant="outline"+ disabled={environmentId === null || pending !== null}+ onClick={() => fileInputRef.current?.click()}+ >+ {pending === "preview" ? "Reading..." : "Import"}+ </Button>+ <Button+ size="xs"+ variant="outline"+ disabled={environmentId === null || pending !== null}+ onClick={() => void handleExport()}+ >+ {pending === "export" ? "Exporting..." : "Export"}+ </Button>+ <input+ ref={fileInputRef}+ className="sr-only"+ type="file"+ accept=".archive,application/json"+ aria-label="Import Akeru archive"+ onChange={(event) => {+ const file = event.currentTarget.files?.[0];+ event.currentTarget.value = "";+ if (file) void handleFile(file);+ }}+ />+ </div>+ }+ />++ <Dialog+ open={importState !== null}+ onOpenChange={(open) => {+ if (!open && pending !== "apply") {+ setImportState(null);+ setApplyResult(null);+ }+ }}+ >+ <DialogPopup className="max-w-2xl">+ <DialogHeader>+ <DialogTitle>Import preview</DialogTitle>+ <DialogDescription>+ {importState?.filename}. MCP servers stay disabled until you reconnect their secrets.+ </DialogDescription>+ </DialogHeader>+ <DialogPanel>+ {importState ? <ImportPreview preview={importState.preview} /> : null}+ {applyResult && applyResult.failures.length > 0 ? (+ <section className="mt-5 space-y-1.5">+ <h3 className="text-xs font-semibold text-destructive">Restore failures</h3>+ <ul className="space-y-2 text-xs text-muted-foreground">+ {applyResult.failures.map((failure) => (+ <li key={`${failure.recordType}:${failure.id}`}>+ <span className="font-medium text-foreground/80">{failure.title}</span>+ <span className="block">+ {failure.partial ? "Partly applied. " : "Not applied. "}+ {failure.message}+ </span>+ </li>+ ))}+ </ul>+ </section>+ ) : null}+ </DialogPanel>+ <DialogFooter>+ <Button+ variant="ghost"+ disabled={pending === "apply"}+ onClick={() => setImportState(null)}+ >+ Cancel+ </Button>+ <Button+ disabled={+ importState === null ||+ pending === "apply" ||+ applyResult !== null ||+ !canApplyPortabilityPreview(importState.preview)+ }+ onClick={() => void handleApply()}+ >+ {pending === "apply" ? "Applying..." : "Apply safe changes"}+ </Button>+ </DialogFooter>+ </DialogPopup>+ </Dialog>+ </>+ );+}diff --git a/apps/web/src/components/settings/ProvidersPanel.test.tsx b/apps/web/src/components/settings/ProvidersPanel.test.tsxnew file mode 100644index 000000000..e98b16acb--- /dev/null+++ b/apps/web/src/components/settings/ProvidersPanel.test.tsx@@ -0,0 +1,60 @@+import { renderToStaticMarkup } from "react-dom/server";+import { BotId, type ProviderAccessStatus } from "@t3tools/contracts";+import { describe, expect, it } from "vite-plus/test";++import { ProviderAccessSection, selectVisibleProviderAccess } from "./ProvidersPanel";++function access(overrides: Partial<ProviderAccessStatus>): ProviderAccessStatus {+ return {+ id: "api-key-custom",+ label: "Custom API key",+ accessMethod: "api-key",+ health: "detected",+ apiAccess: "included",+ nextAction: "Send a provider request to verify the key.",+ dependentBots: [],+ dependentRoutines: [],+ ...overrides,+ };+}++describe("provider access rows", () => {+ it("keeps non-subscription access and unsupported plan rows", () => {+ const visible = selectVisibleProviderAccess([+ access({ id: "chatgpt", accessMethod: "subscription-oauth" }),+ access({ id: "supergrok", accessMethod: "subscription-oauth", health: "unsupported" }),+ access({ id: "cursor-acp", accessMethod: "acp-cli" }),+ access({ id: "builtin-exa", accessMethod: "mcp" }),+ access({ id: "email-browser", accessMethod: "browser", health: "unsupported" }),+ ]);++ expect(visible.map((item) => item.id)).toEqual([+ "supergrok",+ "cursor-acp",+ "builtin-exa",+ "email-browser",+ ]);+ });++ it("renders repair instructions and dependent bots", () => {+ const markup = renderToStaticMarkup(+ <ProviderAccessSection+ access={[+ access({+ id: "email-browser",+ label: "Email browser session",+ accessMethod: "browser",+ health: "unsupported",+ repairAction: "Add an email connector.",+ dependentBots: [{ id: BotId.make("bot-1"), name: "Research bot" }],+ }),+ ]}+ />,+ );++ expect(markup).toContain("Email browser session");+ expect(markup).toContain("Unsupported");+ expect(markup).toContain("Add an email connector.");+ expect(markup).toContain("Research bot");+ });+});diff --git a/apps/web/src/components/settings/ProvidersPanel.tsx b/apps/web/src/components/settings/ProvidersPanel.tsxindex e5322c520..ff247b0de 100644--- a/apps/web/src/components/settings/ProvidersPanel.tsx+++ b/apps/web/src/components/settings/ProvidersPanel.tsx@@ -10,6 +10,7 @@ import { useCallback, useEffect, useMemo, useState } from "react";import type {SubscriptionAuthLoginProgress,SubscriptionAuthStartResult,+ ProviderAccessStatus,SubscriptionProviderId,SubscriptionProviderStatus,} from "@t3tools/contracts";@@ -62,8 +63,8 @@ const SUBSCRIPTION_PROVIDERS: readonly SubscriptionProviderDefinition[] = [{id: "xai",label: "Grok",- subscription: "SuperGrok or X Premium+",- description: "Use Grok through your xAI subscription.",+ subscription: "Shared xAI login",+ description: "Connect an xAI login for Grok. Akeru cannot verify SuperGrok or X Premium+.",icon: "/provider-icons/xai.svg",},{@@ -89,11 +90,14 @@ const healthLabels: Readonly<Record<NonNullable<SubscriptionProviderStatus["healrevoked: "Revoked",failed: "Failed",unsupported: "Unsupported",+ disabled: "Disabled","failed-first-request": "First request failed",recovered: "Recovered",};-function healthBadgeVariant(health: SubscriptionProviderStatus["health"] | undefined) {+function healthBadgeVariant(+ health: SubscriptionProviderStatus["health"] | ProviderAccessStatus["health"] | undefined,+) {if (health === "healthy" || health === "recovered") return "success" as const;if (health === "expired" ||@@ -107,6 +111,76 @@ function healthBadgeVariant(health: SubscriptionProviderStatus["health"] | undefreturn "secondary" as const;}+const accessMethodLabels: Readonly<Record<ProviderAccessStatus["accessMethod"], string>> = {+ "subscription-oauth": "Subscription plan",+ "api-key": "API key",+ "acp-cli": "CLI",+ browser: "Browser",+ mcp: "MCP",+};++export function selectVisibleProviderAccess(+ access: ReadonlyArray<ProviderAccessStatus>,+): ReadonlyArray<ProviderAccessStatus> {+ return access.filter(+ (item) => item.accessMethod !== "subscription-oauth" || item.health === "unsupported",+ );+}++export function ProviderAccessSection({+ access,+}: {+ readonly access: ReadonlyArray<ProviderAccessStatus>;+}) {+ const rows = selectVisibleProviderAccess(access);+ if (rows.length === 0) return null;++ return (+ <SettingsSection title="Provider access">+ {rows.map((item) => (+ <SettingsRow+ key={item.id}+ title={+ <span className="flex items-center gap-2">+ {item.label}+ <Badge variant={healthBadgeVariant(item.health)} className="h-4 px-1.5 text-[10px]">+ {healthLabels[item.health]}+ </Badge>+ </span>+ }+ description={item.nextAction}+ status={accessMethodLabels[item.accessMethod]}+ >+ {item.repairAction || item.lastFailedRequest || item.dependentBots.length > 0 ? (+ <dl className="grid gap-x-6 gap-y-2 border-t border-border/50 py-3 text-xs sm:grid-cols-2">+ {item.repairAction ? (+ <div>+ <dt className="text-muted-foreground">Repair</dt>+ <dd>{item.repairAction}</dd>+ </div>+ ) : null}+ {item.lastFailedRequest ? (+ <div>+ <dt className="text-muted-foreground">Last failed request</dt>+ <dd>+ {formatTimestamp(item.lastFailedRequest.at)} · {item.lastFailedRequest.message}+ </dd>+ </div>+ ) : null}+ {item.dependentBots.length > 0 ? (+ <div>+ <dt className="text-muted-foreground">Dependent bots</dt>+ <dd>{item.dependentBots.map((bot) => bot.name).join(", ")}</dd>+ </div>+ ) : null}+ </dl>+ ) : null}+ </SettingsRow>+ ))}+ </SettingsSection>+ );+}+function formatTimestamp(value: string | number | undefined): string {if (value === undefined) return "Never";const date = new Date(value);@@ -351,6 +425,7 @@ export function ProvidersPanel() {() => new Map(statusQuery.data?.providers.map((status) => [status.provider, status]) ?? []),[statusQuery.data],);+ const providerAccess = statusQuery.data?.access ?? [];const settleLogin = useCallback((progress: SubscriptionAuthLoginProgress) => {@@ -460,9 +535,9 @@ export function ProvidersPanel() {if (result._tag === "Success") statusQuery.refresh();};- return (- <SettingsPageContainer>- {activeLogin ? (+ if (activeLogin) {+ return (+ <SettingsPageContainer><SettingsSection title={`Connect ${activeLogin.providerLabel}`}><ActiveLoginPanellogin={activeLogin}@@ -473,7 +548,12 @@ export function ProvidersPanel() {completing={completing}/></SettingsSection>- ) : null}+ </SettingsPageContainer>+ );+ }++ return (+ <SettingsPageContainer><SettingsSection title="Subscriptions"><div className="px-3 pb-2 text-[13px] leading-[1.45] text-muted-foreground sm:px-4">Connect accounts you already pay for. Akeru uses the coding access included with each@@ -499,6 +579,8 @@ export function ProvidersPanel() {))}</SettingsSection>+ <ProviderAccessSection access={providerAccess} />+<SettingsSection title="How credentials are used"><SettingsRowtitle={diff --git a/apps/web/src/components/settings/SettingsPanels.tsx b/apps/web/src/components/settings/SettingsPanels.tsxindex 753363708..e057b8b92 100644--- a/apps/web/src/components/settings/SettingsPanels.tsx+++ b/apps/web/src/components/settings/SettingsPanels.tsx@@ -149,6 +149,7 @@ import {} from "./settingsLayout";import { searchableSetting } from "./settingsSearch";import { ProjectFavicon } from "../ProjectFavicon";+import { PortabilitySettings } from "./PortabilitySettings";const ENVIRONMENT_IDENTIFICATION_LABELS: Record<EnvironmentIdentificationMode, string> = {artwork: "Artwork",@@ -2515,6 +2516,7 @@ export function GeneralSettingsPanel() {</div>}/>+ <PortabilitySettings /></SettingsSection><SettingsSection title="About">diff --git a/apps/web/src/components/settings/settingsSearch.ts b/apps/web/src/components/settings/settingsSearch.tsindex b05e31568..80daa75a5 100644--- a/apps/web/src/components/settings/settingsSearch.ts+++ b/apps/web/src/components/settings/settingsSearch.ts@@ -200,6 +200,11 @@ export const SETTINGS_SEARCH_ITEMS = [title: "Text generation model",to: "/settings/general",},+ {+ id: "data-portability",+ title: "Data portability",+ to: "/settings/general",+ },{id: "diagnostics",title: "Diagnostics",diff --git a/apps/web/src/routeTree.gen.ts b/apps/web/src/routeTree.gen.tsindex e32076ace..638b173ed 100644--- a/apps/web/src/routeTree.gen.ts+++ b/apps/web/src/routeTree.gen.ts@@ -15,6 +15,7 @@ import { Route as PairRouteImport } from './routes/pair'import { Route as ConnectRouteImport } from './routes/connect'import { Route as ChatRouteImport } from './routes/_chat'import { Route as ChatIndexRouteImport } from './routes/_chat.index'+import { Route as SettingsSplatRouteImport } from './routes/settings.$'import { Route as ProjectsProjectKeyRouteImport } from './routes/projects.$projectKey'import { Route as ConnectCallbackRouteImport } from './routes/connect_.callback'import { Route as ChatGroupsGroupIdRouteImport } from './routes/_chat.groups.$groupId'@@ -51,6 +52,11 @@ const ChatIndexRoute = ChatIndexRouteImport.update({path: '/',getParentRoute: () => ChatRoute,} as any)+const SettingsSplatRoute = SettingsSplatRouteImport.update({+ id: '/$',+ path: '/$',+ getParentRoute: () => SettingsRoute,+} as any)const ProjectsProjectKeyRoute = ProjectsProjectKeyRouteImport.update({id: '/projects/$projectKey',path: '/projects/$projectKey',@@ -87,10 +93,11 @@ export interface FileRoutesByFullPath {'/': typeof ChatIndexRoute'/connect': typeof ConnectRoute'/pair': typeof PairRoute- '/settings': typeof SettingsRoute+ '/settings': typeof SettingsRouteWithChildren'/usage': typeof UsageRoute'/connect/callback': typeof ConnectCallbackRoute'/projects/$projectKey': typeof ProjectsProjectKeyRoute+ '/settings/$': typeof SettingsSplatRoute'/$environmentId/$threadId': typeof ChatEnvironmentIdThreadIdRoute'/bots/$botId': typeof ChatBotsBotIdRoute'/draft/$draftId': typeof ChatDraftDraftIdRoute@@ -99,10 +106,11 @@ export interface FileRoutesByFullPath {export interface FileRoutesByTo {'/connect': typeof ConnectRoute'/pair': typeof PairRoute- '/settings': typeof SettingsRoute+ '/settings': typeof SettingsRouteWithChildren'/usage': typeof UsageRoute'/connect/callback': typeof ConnectCallbackRoute'/projects/$projectKey': typeof ProjectsProjectKeyRoute+ '/settings/$': typeof SettingsSplatRoute'/': typeof ChatIndexRoute'/$environmentId/$threadId': typeof ChatEnvironmentIdThreadIdRoute'/bots/$botId': typeof ChatBotsBotIdRoute@@ -114,10 +122,11 @@ export interface FileRoutesById {'/_chat': typeof ChatRouteWithChildren'/connect': typeof ConnectRoute'/pair': typeof PairRoute- '/settings': typeof SettingsRoute+ '/settings': typeof SettingsRouteWithChildren'/usage': typeof UsageRoute'/connect_/callback': typeof ConnectCallbackRoute'/projects/$projectKey': typeof ProjectsProjectKeyRoute+ '/settings/$': typeof SettingsSplatRoute'/_chat/': typeof ChatIndexRoute'/_chat/$environmentId/$threadId': typeof ChatEnvironmentIdThreadIdRoute'/_chat/bots/$botId': typeof ChatBotsBotIdRoute@@ -134,6 +143,7 @@ export interface FileRouteTypes {| '/usage'| '/connect/callback'| '/projects/$projectKey'+ | '/settings/$'| '/$environmentId/$threadId'| '/bots/$botId'| '/draft/$draftId'@@ -146,6 +156,7 @@ export interface FileRouteTypes {| '/usage'| '/connect/callback'| '/projects/$projectKey'+ | '/settings/$'| '/'| '/$environmentId/$threadId'| '/bots/$botId'@@ -160,6 +171,7 @@ export interface FileRouteTypes {| '/usage'| '/connect_/callback'| '/projects/$projectKey'+ | '/settings/$'| '/_chat/'| '/_chat/$environmentId/$threadId'| '/_chat/bots/$botId'@@ -171,7 +183,7 @@ export interface RootRouteChildren {ChatRoute: typeof ChatRouteWithChildrenConnectRoute: typeof ConnectRoutePairRoute: typeof PairRoute- SettingsRoute: typeof SettingsRoute+ SettingsRoute: typeof SettingsRouteWithChildrenUsageRoute: typeof UsageRouteConnectCallbackRoute: typeof ConnectCallbackRouteProjectsProjectKeyRoute: typeof ProjectsProjectKeyRoute@@ -221,6 +233,13 @@ declare module '@tanstack/react-router' {preLoaderRoute: typeof ChatIndexRouteImportparentRoute: typeof ChatRoute}+ '/settings/$': {+ id: '/settings/$'+ path: '/$'+ fullPath: '/settings/$'+ preLoaderRoute: typeof SettingsSplatRouteImport+ parentRoute: typeof SettingsRoute+ }'/projects/$projectKey': {id: '/projects/$projectKey'path: '/projects/$projectKey'@@ -284,11 +303,23 @@ const ChatRouteChildren: ChatRouteChildren = {const ChatRouteWithChildren = ChatRoute._addFileChildren(ChatRouteChildren)+interface SettingsRouteChildren {+ SettingsSplatRoute: typeof SettingsSplatRoute+}++const SettingsRouteChildren: SettingsRouteChildren = {+ SettingsSplatRoute: SettingsSplatRoute,+}++const SettingsRouteWithChildren = SettingsRoute._addFileChildren(+ SettingsRouteChildren,+)+const rootRouteChildren: RootRouteChildren = {ChatRoute: ChatRouteWithChildren,ConnectRoute: ConnectRoute,PairRoute: PairRoute,- SettingsRoute: SettingsRoute,+ SettingsRoute: SettingsRouteWithChildren,UsageRoute: UsageRoute,ConnectCallbackRoute: ConnectCallbackRoute,ProjectsProjectKeyRoute: ProjectsProjectKeyRoute,diff --git a/apps/web/src/routes/settings.$.tsx b/apps/web/src/routes/settings.$.tsxnew file mode 100644index 000000000..397505666--- /dev/null+++ b/apps/web/src/routes/settings.$.tsx@@ -0,0 +1,4 @@+import { createFileRoute } from "@tanstack/react-router";++/** Let the parent Settings route handle legacy nested deep links. */+export const Route = createFileRoute("/settings/$")({});diff --git a/apps/web/src/state/portability.ts b/apps/web/src/state/portability.tsnew file mode 100644index 000000000..83dbdd6e4--- /dev/null+++ b/apps/web/src/state/portability.ts@@ -0,0 +1,19 @@+import { createEnvironmentRpcCommand } from "@t3tools/client-runtime/state/runtime";+import { WS_METHODS } from "@t3tools/contracts";++import { connectionAtomRuntime } from "../connection/runtime";++export const portabilityEnvironment = {+ exportArchive: createEnvironmentRpcCommand(connectionAtomRuntime, {+ label: "web:portability:export",+ tag: WS_METHODS.portabilityExport,+ }),+ previewImport: createEnvironmentRpcCommand(connectionAtomRuntime, {+ label: "web:portability:preview-import",+ tag: WS_METHODS.portabilityPreviewImport,+ }),+ applyImport: createEnvironmentRpcCommand(connectionAtomRuntime, {+ label: "web:portability:apply-import",+ tag: WS_METHODS.portabilityApplyImport,+ }),+};diff --git a/docs/internals/data-portability.md b/docs/internals/data-portability.mdnew file mode 100644index 000000000..eca54c8b2--- /dev/null+++ b/docs/internals/data-portability.md@@ -0,0 +1,11 @@+# Data portability model coverage++The `akeru.archive` format mirrors data that Akeru owns and can restore without credentials or local paths.++`packages/contracts/src/orchestration.ts` defines the durable read model. It contains projects, bots, groups, MCP servers, and threads. Thread records carry messages, proposed plans, approval activities, avatars, lifecycle state, and workspace or sandbox references. The portability layer restores approval activities as inert `approval.history` rows so an import cannot reopen a provider request.++The same read model has no jobs, routines, or durable memory collection. Provider memory events belong to provider sessions and do not form an Akeru repository. `ServerProvider.skills` in `packages/contracts/src/server.ts` reports discovered provider skills, but Akeru has no persisted skill-assignment model.++`packages/contracts/src/usage.ts` defines a read result, not an Akeru repository. `apps/server/src/usage/UsageService.ts` scans provider-owned Claude and Codex transcript files. It has no write or import operation. The archive preview keeps usage history explicit as unsupported until Akeru owns a durable usage repository.++Restore preflights the full command list before the first write. Each command still has its own SQLite transaction. Apply results therefore report failed and partly applied records instead of claiming the whole archive succeeded.diff --git a/docs/internals/plugin-lifecycle-verification.md b/docs/internals/plugin-lifecycle-verification.mdnew file mode 100644index 000000000..cf0a3e99b--- /dev/null+++ b/docs/internals/plugin-lifecycle-verification.md@@ -0,0 +1,23 @@+# Plugin lifecycle verification++Milestone 13 keeps catalog discovery separate from connection verification. An entry stays non-installable until its real install, authentication, safe read, approved write, disable, reconnect, and removal lifecycle passes. `verification-pending` means that local lifecycle proof is missing. `approval-pending` means an external vendor, administrator, allowlist, or first-party connector is still required.++`plugins/lifecycle-matrix.test.ts` is the catalog gate. It fixes the directory at 51 IDs, preserves the five existing `builtin-<id>` recipes, and keeps the other 46 entries pending. It also checks Featured order, consequential approval coverage, broker identity, Custom MCP independence, legacy built-in display, and the Typefully, Paper, and PayPal blockers.++## Runtime proof++The lifecycle matrix does not copy runtime tests. These focused tests own the runtime behavior:++- `apps/server/src/orchestration/Layers/McpServerRegistry.test.ts` covers create, update, disable, enable, delete, missing IDs, and independent raw MCP state.+- `apps/server/src/provider/Layers/AgentController.test.ts` covers selected built-in installation, MCP startup and disconnect, protected actions, exact one-use approvals, secret redaction, and built-in plugin attribution.+- `apps/server/src/subscription-auth/service.test.ts` records MCP failure and recovery only from real tool requests.+- `apps/server/src/subscription-auth/snapshot.test.ts` keeps a built-in MCP detected until a real request passes, reports healthy and disabled state, and lists dependent bots.+- `apps/server/src/bot-inbox/connectorIncidents.test.ts` covers first-request failure, reconnect or request recovery, and removal of a dependent bot or provider status.++Run the matrix with the catalog, schema, runtime, and validator checks. Do not call a vendor endpoint from automated tests.++## Vendor status++This local run did not perform a real Context.dev or Zernio connection lifecycle. Context.dev keeps its existing available identity; this run does not recertify it. Zernio stays Featured rank 2 and `verification-pending` until its OAuth and connection lifecycle passes.++Typefully stays pending until its OAuth lifecycle passes. Paper stays pending until its loopback desktop lifecycle passes. PayPal stays pending until its first-party OAuth and payment lifecycle passes. No entry can move to available based on a manifest check, HTTP probe, or vendor documentation alone.diff --git a/docs/internals/providers.md b/docs/internals/providers.mdindex 8bc743074..d19252c75 100644--- a/docs/internals/providers.md+++ b/docs/internals/providers.md@@ -44,6 +44,13 @@ resolves the selected Codex model through an explicit subscription `AuthStorage`maps Mastra message, tool, approval, usage, completion, and error events to`ProviderRuntimeEvent`.+Mastra keeps approval callbacks enabled in every runtime mode. `AgentController` auto-approves only+the routine actions allowed by the selected mode. It always asks before an MCP tool call or an action+that sends, pays, deletes, changes production, exposes secrets, publishes, signs, refunds, or changes+an account. Unknown mutating intent also asks. The pending approval map binds the response to the+exact tool-call ID, deletes that entry before execution, and treats session-wide or permanent answers+as one-use approval.+Claude, Cursor, Grok, and OpenCode keep their existing adapters. [`LegacyProviderBridge`][bridge]routes those providers through `ProviderService` and forwards their canonical runtime events. Claudereceives the same general-purpose Akeru instructions and enabled MCP servers. A provider change stopsdiff --git a/docs/user/data-portability.md b/docs/user/data-portability.mdnew file mode 100644index 000000000..c52862cbf--- /dev/null+++ b/docs/user/data-portability.md@@ -0,0 +1,17 @@+# Data portability++Open **Settings > General**, then find **Data portability**.++Choose **Export** to download an `akeru.archive` file. The archive includes safe server settings, MCP recipes, bots, groups, mapped project references, thread metadata, conversation text, plans, and approval history.++The archive removes credentials, local paths, project scripts, attachments, image files, Git state, provider sessions, receipts, tool arguments, raw approval payloads, and deleted threads and projects. It replaces image avatars with generated avatars. MCP recipes do not include secrets.++Imported approval rows are history only. An import does not reopen a request or approve an action. Imported MCP servers stay disabled until you reconnect their credentials.++Choose **Import** and select an archive to see a preview. The preview lists additions, changes, conflicts, missing providers, excluded secrets, and records that this environment cannot restore. Review this list before you apply the import.++Akeru Bot can update a project when its existing workspace reference matches the archive. A missing workspace stays unsupported because an archive does not carry an absolute project path. The preview reports this case before import.++Import skips records that need a missing provider. It also skips conflicts when the target has a newer record. If the environment changes after the preview, Akeru Bot stops the import and requires a new preview.++The apply result lists failed records. A partly applied record means at least one write succeeded before another write failed. Review the archive again after any failed or partly applied result.diff --git a/docs/user/permission-modes.md b/docs/user/permission-modes.mdindex 0648bafc8..27ccf1877 100644--- a/docs/user/permission-modes.md+++ b/docs/user/permission-modes.md@@ -24,7 +24,9 @@ Supervised.unattended until it finishes or asks a question of its own.Approvals appear inline in the conversation. Approve or reject one and the agent continues from-there.+there. The Codex runtime still asks before every MCP tool call and actions that send, pay, delete,+deploy, publish, expose secrets, sign, refund, or change an account. This applies in every mode.+Each approval applies only to the pending action.## Choosing a Mode@@ -41,7 +43,7 @@ shell commands.Each provider maps these modes onto its own approval and sandbox settings. Codex, for example,translates the mode into its approval policy and sandbox level, so **Supervised** runs the CLIwith prompting enabled and a restricted workspace while **Full access** disables both. The-labels above describe what you get; the exact per-provider translation is internal and may-change.+protected-action gate still applies after this provider mapping. The exact per-provider translation+is internal and may change.Mobile offers the same four modes with the same labels and descriptions.diff --git a/docs/user/plugins.md b/docs/user/plugins.mdindex 29c073c12..d5b429c88 100644--- a/docs/user/plugins.md+++ b/docs/user/plugins.md@@ -1,11 +1,20 @@# Plugins-Open **Plugins** from the sidebar or command palette. Browse focused sections such as **Web** and **Work**, or search by plugin name, description, or category. Select a plugin to see what it does, inspect its connector, copy its source link, or open its documentation. Choose **Add** to install it for the current environment and enable it for every bot by default. Use a bot's **Plugins** setting to disable it for that bot. Choose **Added** to disable it for the environment.+Open **Plugins** from the sidebar or command palette. Use **All**, **Featured**, **Installed**, or one of the eight categories. Search checks the plugin name, title, description, category, tags, capabilities, and publisher name.-Select the installed and custom count below the title to review active plugins and custom MCP servers. Builtin plugins use their catalog configuration and do not expose transport editing. Akeru Bot stores no plugin credentials in the catalog or MCP registry. Keep credentials in the host environment or the service sign-in flow.+Select a plugin to review its publisher, authentication, hosted or local execution, transport, platform support, permissions, approval classes, setup, documentation, source, and active dependent bots. Routines are unavailable until routines ship. Health shows **Not checked** until Akeru completes a real request. An enabled plugin does not imply a healthy connection.-Hosted plugins use their public MCP URL. Context.dev, Firecrawl, and Parallel Search start browser-based OAuth. Exa works anonymously and supports optional OAuth for higher limits. Executor starts its official local MCP command through Bun and exposes integrations from the user's Executor account. Plugin details link to verified agent skills when the service publishes them. Akeru Bot does not install separate skill packages when you add an MCP connector.+The available action matches the current state:-Akeru adds every enabled plugin to each bot unless that bot disables it. A provider change starts a fresh provider session with the same enabled plugins. Re-enabling a builtin plugin refreshes its stored connection recipe before the next session starts.+- **Add** installs a public or local plugin.+- **Connect** starts an OAuth connection.+- **Add key** installs a plugin whose key stays in the host environment.+- **Disable** stops an enabled plugin without deleting its registration.+- **Reconnect** refreshes and enables a disabled plugin.+- **Remove** deletes the plugin registration.-Ask the agent to add a custom MCP server. The agent can configure a local command or remote URL for the current environment. Existing custom servers appear in the installed directory, where you can edit, disable, or delete them. Custom servers operate independently from builtin plugins.+Approval-pending plugins remain visible, but Akeru disables **Connect** and shows the vendor blocker. Plugins removed from the directory remain under **Installed** until you remove them.++Akeru enables each installed plugin for every bot by default. Use a bot's **Plugins** setting to disable it for that bot. A provider change starts a fresh provider session with the same enabled plugins.++Ask the agent to add a Custom MCP server when a connector is not in the directory. Existing Custom MCP servers remain under **Installed**, where you can edit, disable, or delete them. Akeru stores no plugin credentials in the directory or MCP registry. Keep credentials in the host environment or the service sign-in flow.diff --git a/packages/client-runtime/package.json b/packages/client-runtime/package.jsonindex dae772c99..8628e4b4a 100644--- a/packages/client-runtime/package.json+++ b/packages/client-runtime/package.json@@ -47,6 +47,10 @@"types": "./src/settingsDeepLink.ts","default": "./src/settingsDeepLink.ts"},+ "./bot-inbox": {+ "types": "./src/botInbox.ts",+ "default": "./src/botInbox.ts"+ },"./relay": {"types": "./src/relay/index.ts","default": "./src/relay/index.ts"diff --git a/packages/client-runtime/src/botInbox.test.ts b/packages/client-runtime/src/botInbox.test.tsnew file mode 100644index 000000000..1cb3f123d--- /dev/null+++ b/packages/client-runtime/src/botInbox.test.ts@@ -0,0 +1,38 @@+import { BotId } from "@t3tools/contracts";+import { describe, expect, it } from "vite-plus/test";++import { selectOpenBotInboxItems, type BotInboxItem } from "./botInbox.js";++function incident(overrides: Partial<BotInboxItem> = {}): BotInboxItem {+ return {+ id: "incident-1",+ incidentKey: "connector:anthropic:bot-1",+ kind: "connector-failure",+ status: "open",+ botId: BotId.make("bot-1"),+ botName: "Akeru",+ taskOrRoutine: "Provider access",+ lastFailure: "The request failed.",+ nextAction: "Reconnect the provider.",+ firstSeenAt: "2026-08-30T10:00:00.000Z",+ lastSeenAt: "2026-08-30T10:00:00.000Z",+ occurrenceCount: 1,+ ...overrides,+ };+}++describe("selectOpenBotInboxItems", () => {+ it("filters resolved and unrelated bot items, then sorts newest first", () => {+ const selected = selectOpenBotInboxItems(+ [+ incident({ id: "older" }),+ incident({ id: "resolved", status: "resolved" }),+ incident({ id: "other", botId: BotId.make("bot-2") }),+ incident({ id: "newer", lastSeenAt: "2026-08-30T11:00:00.000Z" }),+ ],+ new Set(["bot-1"]),+ );++ expect(selected.map((item) => item.id)).toEqual(["newer", "older"]);+ });+});diff --git a/packages/client-runtime/src/botInbox.ts b/packages/client-runtime/src/botInbox.tsnew file mode 100644index 000000000..389089484--- /dev/null+++ b/packages/client-runtime/src/botInbox.ts@@ -0,0 +1,12 @@+import type { SubscriptionAuthStatuses } from "@t3tools/contracts";++export type BotInboxItem = SubscriptionAuthStatuses["inbox"][number];++export function selectOpenBotInboxItems(+ inbox: ReadonlyArray<BotInboxItem>,+ botIds?: ReadonlySet<string>,+): ReadonlyArray<BotInboxItem> {+ return inbox+ .filter((item) => item.status === "open" && (botIds === undefined || botIds.has(item.botId)))+ .toSorted((left, right) => right.lastSeenAt.localeCompare(left.lastSeenAt));+}diff --git a/packages/client-runtime/src/rpc/index.ts b/packages/client-runtime/src/rpc/index.tsindex 76608388f..b7d385519 100644--- a/packages/client-runtime/src/rpc/index.ts+++ b/packages/client-runtime/src/rpc/index.ts@@ -1,4 +1,5 @@export * from "./client.ts";export * from "./http.ts";export * from "./protocol.ts";+export * from "./portability.ts";export { type RpcSession, RpcSessionFactory } from "./session.ts";diff --git a/packages/client-runtime/src/rpc/portability.ts b/packages/client-runtime/src/rpc/portability.tsnew file mode 100644index 000000000..e82cfbcf0--- /dev/null+++ b/packages/client-runtime/src/rpc/portability.ts@@ -0,0 +1,18 @@+import { WS_METHODS, type PortabilityImportPreview } from "@t3tools/contracts";++import { request } from "./client.ts";++export const exportPortabilityArchive = () => request(WS_METHODS.portabilityExport, {});++export const previewPortabilityArchive = (contents: string) =>+ request(WS_METHODS.portabilityPreviewImport, { contents });++export const applyPortabilityArchive = (+ contents: string,+ preview: Pick<PortabilityImportPreview, "snapshotSequence" | "stateChecksum">,+) =>+ request(WS_METHODS.portabilityApplyImport, {+ contents,+ expectedSnapshotSequence: preview.snapshotSequence,+ expectedStateChecksum: preview.stateChecksum,+ });diff --git a/packages/contracts/src/index.ts b/packages/contracts/src/index.tsindex 7bcce8acb..759b87fdf 100644--- a/packages/contracts/src/index.ts+++ b/packages/contracts/src/index.ts@@ -33,4 +33,5 @@ export * from "./previewAutomation.ts";export * from "./resourceTelemetry.ts";export * from "./usage.ts";export * from "./voiceCall.ts";+export * from "./portability.ts";export * from "./rpc.ts";diff --git a/packages/contracts/src/orchestration.ts b/packages/contracts/src/orchestration.tsindex 8fe0e68a8..5f884ff8f 100644--- a/packages/contracts/src/orchestration.ts+++ b/packages/contracts/src/orchestration.ts@@ -932,6 +932,7 @@ const McpServerCreateCommand = Schema.Union([transport: Schema.Literal("stdio"),command: TrimmedNonEmptyString,args: Schema.optional(Schema.Array(Schema.String)),+ enabled: Schema.optional(Schema.Boolean),createdAt: IsoDateTime,}),Schema.Struct({@@ -941,6 +942,7 @@ const McpServerCreateCommand = Schema.Union([name: TrimmedNonEmptyString,transport: Schema.Literal("url"),url: McpServerUrl,+ enabled: Schema.optional(Schema.Boolean),createdAt: IsoDateTime,}),]);@@ -1400,6 +1402,23 @@ const ThreadActivityAppendCommand = Schema.Struct({createdAt: IsoDateTime,});+const ThreadHistoryRestoreCommand = Schema.Struct({+ type: Schema.Literal("thread.history.restore"),+ commandId: CommandId,+ threadId: ThreadId,+ messages: Schema.Array(OrchestrationMessage),+ proposedPlans: Schema.Array(OrchestrationProposedPlan),+ activities: Schema.Array(OrchestrationThreadActivity),+ settledOverride: Schema.NullOr(Schema.Literals(["settled", "active"])),+ settledAt: Schema.NullOr(IsoDateTime),+ snoozedUntil: Schema.NullOr(IsoDateTime),+ snoozedAt: Schema.NullOr(IsoDateTime),+ pinnedAt: Schema.NullOr(IsoDateTime),+ pinOrderKey: Schema.NullOr(TrimmedNonEmptyString),+ archivedAt: Schema.NullOr(IsoDateTime),+ updatedAt: IsoDateTime,+});+const ThreadRevertCompleteCommand = Schema.Struct({type: Schema.Literal("thread.revert.complete"),commandId: CommandId,@@ -1423,6 +1442,7 @@ const InternalOrchestrationCommand = Schema.Union([ThreadProposedPlanUpsertCommand,ThreadTurnDiffCompleteCommand,ThreadActivityAppendCommand,+ ThreadHistoryRestoreCommand,ThreadRevertCompleteCommand,ThreadTitleRegenerationCompleteCommand,]);@@ -1855,6 +1875,7 @@ export const OrchestrationEventMetadata = Schema.Struct({requestId: Schema.optional(ApprovalRequestId),ingestedAt: Schema.optional(IsoDateTime),origin: Schema.optional(OrchestrationClientOrigin),+ importedHistory: Schema.optional(Schema.Boolean),});export type OrchestrationEventMetadata = typeof OrchestrationEventMetadata.Type;diff --git a/packages/contracts/src/portability.ts b/packages/contracts/src/portability.tsnew file mode 100644index 000000000..d623e2b80--- /dev/null+++ b/packages/contracts/src/portability.ts@@ -0,0 +1,316 @@+import * as Schema from "effect/Schema";++import {+ BotId,+ EventId,+ GroupId,+ IsoDateTime,+ MessageId,+ NonNegativeInt,+ ProjectId,+ ThreadId,+ TrimmedNonEmptyString,+} from "./baseSchemas.ts";+import { ThreadEnvMode } from "./environment.ts";+import { McpServerConfiguration, McpServerId } from "./mcpServer.ts";+import {+ BotAvatar,+ BotEngine,+ BotSandbox,+ BotUsageCap,+ GroupMembership,+ ModelSelection,+ OrchestrationMessageRole,+ OrchestrationProposedPlanId,+ ProviderInteractionMode,+ RuntimeMode,+} from "./orchestration.ts";+import {+ BackgroundActivityProfile,+ BackgroundActivityProfileSelection,+ ServerSettings,+} from "./settings.ts";++export const AKERU_ARCHIVE_FORMAT = "akeru.archive" as const;+export const AKERU_ARCHIVE_VERSION = 1 as const;+export const PORTABILITY_ARCHIVE_MAX_CHARS = 20 * 1024 * 1024;++const PortabilityBackgroundActivityOverrides = Schema.Struct({+ automaticGitFetchIntervalMs: Schema.optional(NonNegativeInt),+ providerHealthRefreshIntervalMs: Schema.optional(NonNegativeInt),+ hostPowerMonitorActiveIntervalMs: Schema.optional(NonNegativeInt),+ hostPowerMonitorIdleIntervalMs: Schema.optional(NonNegativeInt),+ idleClientTtlMs: Schema.optional(NonNegativeInt),+ pauseWhenHostLocked: Schema.optional(Schema.Boolean),+ pauseWhenHostLowPower: Schema.optional(Schema.Boolean),+ pauseWhenClientLowPower: Schema.optional(Schema.Boolean),+ pauseWhenOnBattery: Schema.optional(Schema.Boolean),+});++const PortabilityBackgroundActivitySettings = Schema.Struct({+ schemaVersion: Schema.Literal(1),+ profile: BackgroundActivityProfileSelection,+ baseProfile: Schema.optional(BackgroundActivityProfile),+ overrides: PortabilityBackgroundActivityOverrides,+});++export const PortabilitySafeServerSettings = Schema.Struct({+ enableLegacyTokenStreaming: ServerSettings.fields.enableLegacyTokenStreaming,+ enableProviderUpdateChecks: ServerSettings.fields.enableProviderUpdateChecks,+ enableAgentBrowserAccess: ServerSettings.fields.enableAgentBrowserAccess,+ backgroundActivity: PortabilityBackgroundActivitySettings,+ automaticGitFetchIntervalMs: NonNegativeInt,+ providerHealthRefreshIntervalMs: NonNegativeInt,+ backgroundActivityProfile: ServerSettings.fields.backgroundActivityProfile,+ defaultThreadEnvMode: ServerSettings.fields.defaultThreadEnvMode,+ newWorktreesStartFromOrigin: ServerSettings.fields.newWorktreesStartFromOrigin,+ textGenerationModelSelection: ServerSettings.fields.textGenerationModelSelection,+ sourceControlWritingStyle: ServerSettings.fields.sourceControlWritingStyle,+ sourceControlWriterModelSelection: ServerSettings.fields.sourceControlWriterModelSelection,+});+export type PortabilitySafeServerSettings = typeof PortabilitySafeServerSettings.Type;++const ArchiveChecksum = Schema.String.check(Schema.isPattern(/^[a-f0-9]{64}$/));+const ArchiveRecordBase = {+ id: TrimmedNonEmptyString,+ updatedAt: IsoDateTime,+ checksum: ArchiveChecksum,+};++export const PortabilityBotData = Schema.Struct({+ name: TrimmedNonEmptyString,+ title: TrimmedNonEmptyString,+ label: Schema.NullOr(TrimmedNonEmptyString),+ description: Schema.NullOr(Schema.String),+ disabledMcpServerIds: Schema.Array(McpServerId),+ avatar: BotAvatar,+ engine: Schema.NullOr(BotEngine),+ sandbox: Schema.NullOr(BotSandbox),+ runtimeMode: RuntimeMode,+ usageCap: Schema.NullOr(BotUsageCap),+ voiceEnabled: Schema.Boolean,+ archived: Schema.Boolean,+});+export type PortabilityBotData = typeof PortabilityBotData.Type;++export const PortabilityGroupData = Schema.Struct({+ name: TrimmedNonEmptyString,+ bossBotId: Schema.NullOr(BotId),+ members: Schema.Array(GroupMembership),+});+export type PortabilityGroupData = typeof PortabilityGroupData.Type;++export const PortabilityMcpServerData = Schema.Struct({+ catalogId: Schema.optional(TrimmedNonEmptyString),+ configuration: McpServerConfiguration,+});+export type PortabilityMcpServerData = typeof PortabilityMcpServerData.Type;++export const PortabilityProjectData = Schema.Struct({+ title: TrimmedNonEmptyString,+ workspaceName: TrimmedNonEmptyString,+ repository: Schema.optional(+ Schema.Struct({+ displayName: Schema.optional(TrimmedNonEmptyString),+ provider: Schema.optional(TrimmedNonEmptyString),+ owner: Schema.optional(TrimmedNonEmptyString),+ name: Schema.optional(TrimmedNonEmptyString),+ }),+ ),+ defaultModelSelection: Schema.NullOr(ModelSelection),+ defaultThreadEnvMode: Schema.optional(Schema.NullOr(ThreadEnvMode)),+});+export type PortabilityProjectData = typeof PortabilityProjectData.Type;++export const PortabilityThreadData = Schema.Struct({+ projectId: ProjectId,+ botId: Schema.optional(Schema.NullOr(BotId)),+ groupId: Schema.optional(Schema.NullOr(GroupId)),+ title: TrimmedNonEmptyString,+ modelSelection: ModelSelection,+ runtimeMode: RuntimeMode,+ interactionMode: ProviderInteractionMode,+ createdAt: IsoDateTime,+ archivedAt: Schema.NullOr(IsoDateTime),+ settledOverride: Schema.NullOr(Schema.Literals(["settled", "active"])),+ settledAt: Schema.NullOr(IsoDateTime),+ snoozedUntil: Schema.NullOr(IsoDateTime),+ snoozedAt: Schema.NullOr(IsoDateTime),+ pinnedAt: Schema.optional(Schema.NullOr(IsoDateTime)),+ pinOrderKey: Schema.optional(Schema.NullOr(TrimmedNonEmptyString)),+ messages: Schema.Array(+ Schema.Struct({+ id: MessageId,+ role: OrchestrationMessageRole,+ text: Schema.String,+ respondingBotId: Schema.optional(Schema.NullOr(BotId)),+ createdAt: IsoDateTime,+ updatedAt: IsoDateTime,+ }),+ ),+ proposedPlans: Schema.Array(+ Schema.Struct({+ id: OrchestrationProposedPlanId,+ planMarkdown: TrimmedNonEmptyString,+ implementedAt: Schema.NullOr(IsoDateTime),+ implementationThreadId: Schema.NullOr(ThreadId),+ createdAt: IsoDateTime,+ updatedAt: IsoDateTime,+ }),+ ),+ approvalHistory: Schema.Array(+ Schema.Struct({+ id: EventId,+ originalKind: Schema.Literals([+ "approval.requested",+ "approval.resolved",+ "provider.approval.respond.failed",+ ]),+ summary: TrimmedNonEmptyString,+ requestId: Schema.optional(TrimmedNonEmptyString),+ requestKind: Schema.optional(TrimmedNonEmptyString),+ requestType: Schema.optional(TrimmedNonEmptyString),+ decision: Schema.optional(TrimmedNonEmptyString),+ provider: TrimmedNonEmptyString,+ createdAt: IsoDateTime,+ }),+ ),+});+export type PortabilityThreadData = typeof PortabilityThreadData.Type;++export const PortabilityArchiveRecord = Schema.Union([+ Schema.Struct({+ ...ArchiveRecordBase,+ type: Schema.Literal("server-settings"),+ id: Schema.Literal("server-settings"),+ data: PortabilitySafeServerSettings,+ }),+ Schema.Struct({+ ...ArchiveRecordBase,+ type: Schema.Literal("mcp-server"),+ data: PortabilityMcpServerData,+ }),+ Schema.Struct({+ ...ArchiveRecordBase,+ type: Schema.Literal("bot"),+ data: PortabilityBotData,+ }),+ Schema.Struct({+ ...ArchiveRecordBase,+ type: Schema.Literal("group"),+ data: PortabilityGroupData,+ }),+ Schema.Struct({+ ...ArchiveRecordBase,+ type: Schema.Literal("project"),+ data: PortabilityProjectData,+ }),+ Schema.Struct({+ ...ArchiveRecordBase,+ type: Schema.Literal("thread"),+ data: PortabilityThreadData,+ }),+]);+export type PortabilityArchiveRecord = typeof PortabilityArchiveRecord.Type;+export type PortabilityArchiveRecordType = PortabilityArchiveRecord["type"];++export const PortabilityArchive = Schema.Struct({+ format: Schema.Literal(AKERU_ARCHIVE_FORMAT),+ version: Schema.Literal(AKERU_ARCHIVE_VERSION),+ exportedAt: IsoDateTime,+ manifest: Schema.Struct({+ recordCounts: Schema.Record(TrimmedNonEmptyString, NonNegativeInt),+ excluded: Schema.Array(TrimmedNonEmptyString),+ }),+ records: Schema.Array(PortabilityArchiveRecord),+ checksum: ArchiveChecksum,+});+export type PortabilityArchive = typeof PortabilityArchive.Type;++export const PortabilityArchiveText = Schema.String.check(+ Schema.isMaxLength(PORTABILITY_ARCHIVE_MAX_CHARS),+);++export const PortabilityImportItem = Schema.Struct({+ recordType: Schema.Literals([+ "server-settings",+ "mcp-server",+ "bot",+ "group",+ "project",+ "thread",+ ]),+ id: TrimmedNonEmptyString,+ title: TrimmedNonEmptyString,+});+export type PortabilityImportItem = typeof PortabilityImportItem.Type;++export const PortabilityUnsupportedItem = Schema.Struct({+ kind: Schema.Literals([+ "project",+ "thread",+ "jobs",+ "memory",+ "routines",+ "skill-assignments",+ "usage-history",+ ]),+ count: NonNegativeInt,+ reason: TrimmedNonEmptyString,+});+export type PortabilityUnsupportedItem = typeof PortabilityUnsupportedItem.Type;++export const PortabilityImportPreview = Schema.Struct({+ snapshotSequence: NonNegativeInt,+ stateChecksum: ArchiveChecksum,+ additions: Schema.Array(PortabilityImportItem),+ changes: Schema.Array(PortabilityImportItem),+ conflicts: Schema.Array(PortabilityImportItem),+ missingProviders: Schema.Array(TrimmedNonEmptyString),+ skippedSecrets: Schema.Array(TrimmedNonEmptyString),+ unsupported: Schema.Array(PortabilityUnsupportedItem),+});+export type PortabilityImportPreview = typeof PortabilityImportPreview.Type;++export const PortabilityExportResult = Schema.Struct({+ filename: TrimmedNonEmptyString,+ contents: PortabilityArchiveText,+});+export type PortabilityExportResult = typeof PortabilityExportResult.Type;++export const PortabilityPreviewImportInput = Schema.Struct({+ contents: PortabilityArchiveText,+});+export type PortabilityPreviewImportInput = typeof PortabilityPreviewImportInput.Type;++export const PortabilityApplyImportInput = Schema.Struct({+ contents: PortabilityArchiveText,+ expectedSnapshotSequence: NonNegativeInt,+ expectedStateChecksum: ArchiveChecksum,+});+export type PortabilityApplyImportInput = typeof PortabilityApplyImportInput.Type;++export const PortabilityApplyImportResult = Schema.Struct({+ applied: NonNegativeInt,+ skipped: NonNegativeInt,+ failed: NonNegativeInt,+ partial: NonNegativeInt,+ failures: Schema.Array(+ Schema.Struct({+ recordType: PortabilityImportItem.fields.recordType,+ id: TrimmedNonEmptyString,+ title: TrimmedNonEmptyString,+ partial: Schema.Boolean,+ message: TrimmedNonEmptyString,+ }),+ ),+});+export type PortabilityApplyImportResult = typeof PortabilityApplyImportResult.Type;++export class PortabilityArchiveError extends Schema.TaggedErrorClass<PortabilityArchiveError>()(+ "PortabilityArchiveError",+ {+ operation: Schema.Literals(["export", "preview", "apply"]),+ message: Schema.String,+ },+) {}diff --git a/packages/contracts/src/providerRuntime.ts b/packages/contracts/src/providerRuntime.tsindex c431ded52..9a0060505 100644--- a/packages/contracts/src/providerRuntime.ts+++ b/packages/contracts/src/providerRuntime.ts@@ -1,6 +1,7 @@import * as Effect from "effect/Effect";import * as Schema from "effect/Schema";import {+ EnvironmentId,EventId,IsoDateTime,NonNegativeInt,@@ -256,6 +257,7 @@ const ProviderRuntimeEventBase = Schema.Struct({// for the routing-key-vs-driver-id distinction. Once every emitter// populates it (post-slice-4), routing flips to instance-id-only.providerInstanceId: Schema.optional(ProviderInstanceId),+ environmentId: Schema.optional(EnvironmentId),threadId: ThreadId,createdAt: IsoDateTime,turnId: Schema.optional(TurnId),@@ -432,10 +434,13 @@ export type ContentDeltaPayload = typeof ContentDeltaPayload.Type;const RequestOpenedPayload = Schema.Struct({requestType: CanonicalRequestType,- toolName: Schema.optional(TrimmedNonEmptyStringSchema),detail: Schema.optional(TrimmedNonEmptyStringSchema),appName: Schema.optional(TrimmedNonEmptyStringSchema),options: Schema.optional(Schema.Array(ProviderApprovalOption)),+ toolName: Schema.optional(TrimmedNonEmptyStringSchema),+ serverId: Schema.optional(TrimmedNonEmptyStringSchema),+ pluginId: Schema.optional(TrimmedNonEmptyStringSchema),+ action: Schema.optional(TrimmedNonEmptyStringSchema),args: Schema.optional(Schema.Unknown),});export type RequestOpenedPayload = typeof RequestOpenedPayload.Type;diff --git a/packages/contracts/src/rpc.ts b/packages/contracts/src/rpc.tsindex bfc3da0f5..18900c2e8 100644--- a/packages/contracts/src/rpc.ts+++ b/packages/contracts/src/rpc.ts@@ -197,6 +197,14 @@ import {VoiceCallStartInput,VoiceCallStartResult,} from "./voiceCall.ts";+import {+ PortabilityApplyImportInput,+ PortabilityApplyImportResult,+ PortabilityArchiveError,+ PortabilityExportResult,+ PortabilityImportPreview,+ PortabilityPreviewImportInput,+} from "./portability.ts";export const WS_METHODS = {// Project registry methods@@ -293,6 +301,9 @@ export const WS_METHODS = {serverReportHostPowerState: "server.reportHostPowerState",serverGetBackgroundPolicy: "server.getBackgroundPolicy",serverGetUsageSummary: "server.getUsageSummary",+ portabilityExport: "portability.export",+ portabilityPreviewImport: "portability.previewImport",+ portabilityApplyImport: "portability.applyImport",// Cloud environment methodscloudGetRelayClientStatus: "cloud.getRelayClientStatus",@@ -531,6 +542,24 @@ export const WsServerGetBackgroundPolicyRpc = Rpc.make(WS_METHODS.serverGetBackgerror: EnvironmentAuthorizationError,});+export const WsPortabilityExportRpc = Rpc.make(WS_METHODS.portabilityExport, {+ payload: Schema.Struct({}),+ success: PortabilityExportResult,+ error: Schema.Union([PortabilityArchiveError, EnvironmentAuthorizationError]),+});++export const WsPortabilityPreviewImportRpc = Rpc.make(WS_METHODS.portabilityPreviewImport, {+ payload: PortabilityPreviewImportInput,+ success: PortabilityImportPreview,+ error: Schema.Union([PortabilityArchiveError, EnvironmentAuthorizationError]),+});++export const WsPortabilityApplyImportRpc = Rpc.make(WS_METHODS.portabilityApplyImport, {+ payload: PortabilityApplyImportInput,+ success: PortabilityApplyImportResult,+ error: Schema.Union([PortabilityArchiveError, EnvironmentAuthorizationError]),+});+export const WsSourceControlLookupRepositoryRpc = Rpc.make(WS_METHODS.sourceControlLookupRepository,{@@ -968,6 +997,9 @@ export const WsRpcGroup = RpcGroup.make(WsServerReportClientActivityRpc,WsServerReportHostPowerStateRpc,WsServerGetBackgroundPolicyRpc,+ WsPortabilityExportRpc,+ WsPortabilityPreviewImportRpc,+ WsPortabilityApplyImportRpc,WsCloudGetRelayClientStatusRpc,WsCloudInstallRelayClientRpc,WsSourceControlLookupRepositoryRpc,diff --git a/packages/contracts/src/subscriptionAuth.ts b/packages/contracts/src/subscriptionAuth.tsindex 690d44f71..4edad013f 100644--- a/packages/contracts/src/subscriptionAuth.ts+++ b/packages/contracts/src/subscriptionAuth.ts@@ -33,6 +33,7 @@ export const SubscriptionProviderStatus = Schema.Struct({"revoked","failed","unsupported",+ "disabled","failed-first-request","recovered",]),@@ -67,31 +68,47 @@ export const SubscriptionProviderStatus = Schema.Struct({});export type SubscriptionProviderStatus = typeof SubscriptionProviderStatus.Type;+export const ProviderAccessStatus = Schema.Struct({+ id: TrimmedNonEmptyString,+ label: TrimmedNonEmptyString,+ accessMethod: Schema.Literals(["subscription-oauth", "api-key", "acp-cli", "browser", "mcp"]),+ health: Schema.Literals([+ "missing",+ "detected",+ "healthy",+ "expired",+ "revoked",+ "failed",+ "unsupported",+ "disabled",+ "failed-first-request",+ "recovered",+ ]),+ apiAccess: Schema.Literals(["separate", "included", "not-applicable"]),+ nextAction: TrimmedNonEmptyString,+ publishedLimit: Schema.optional(TrimmedNonEmptyString),+ temporary: Schema.optional(Schema.Boolean),+ repairAction: Schema.optional(TrimmedNonEmptyString),+ serverId: Schema.optional(TrimmedNonEmptyString),+ pluginId: Schema.optional(TrimmedNonEmptyString),+ lastSuccessfulRequestAt: Schema.optional(IsoDateTime),+ lastFailedRequest: Schema.optional(+ Schema.Struct({ at: IsoDateTime, message: TrimmedNonEmptyString }),+ ),+ nextRetryAt: Schema.optional(IsoDateTime),+ reconnectAction: Schema.optional(TrimmedNonEmptyString),+ dependentBots: Schema.Array(Schema.Struct({ id: BotId, name: TrimmedNonEmptyString })).pipe(+ Schema.withDecodingDefault(Effect.succeed([])),+ ),+ dependentRoutines: Schema.Array(TrimmedNonEmptyString).pipe(+ Schema.withDecodingDefault(Effect.succeed([])),+ ),+});+export type ProviderAccessStatus = typeof ProviderAccessStatus.Type;+export const SubscriptionAuthStatuses = Schema.Struct({providers: Schema.Array(SubscriptionProviderStatus),- access: Schema.Array(- Schema.Struct({- id: TrimmedNonEmptyString,- label: TrimmedNonEmptyString,- accessMethod: Schema.Literals(["subscription-oauth", "api-key", "acp-cli", "browser"]),- health: Schema.Literals([- "missing",- "detected",- "healthy",- "expired",- "revoked",- "failed",- "unsupported",- "failed-first-request",- "recovered",- ]),- apiAccess: Schema.Literals(["separate", "included", "not-applicable"]),- nextAction: TrimmedNonEmptyString,- publishedLimit: Schema.optional(TrimmedNonEmptyString),- temporary: Schema.optional(Schema.Boolean),- repairAction: Schema.optional(TrimmedNonEmptyString),- }),- ).pipe(Schema.withDecodingDefault(Effect.succeed([]))),+ access: Schema.Array(ProviderAccessStatus).pipe(Schema.withDecodingDefault(Effect.succeed([]))),inbox: Schema.Array(Schema.Struct({id: TrimmedNonEmptyString,diff --git a/plugins/AGENTS.md b/plugins/AGENTS.mdindex 47abf2cca..cf83d86cc 100644--- a/plugins/AGENTS.md+++ b/plugins/AGENTS.md@@ -1,9 +1,19 @@# Plugin catalog+- This is a curated directory, not a complete MCP registry. A valid manifest does not guarantee acceptance.+- Use Custom MCP for experimental apps, wrappers, duplicates, and narrow utilities.+- Admit a plugin only when people actively use the product and a user or maintainer requested the integration.+- Require a real Akeru Bot job, an official or trusted MCP server, and an accountable publisher.+- Require current setup and reference documentation, official logo provenance, and licensing.+- Test add, connect, use, disable, re-enable, and remove behavior before acceptance.+- Keep PostgreSQL, SQLite, Redis, Docker, Playwright, time, fetch, filesystem, and generic memory servers in Custom MCP.- Keep one plugin in each `entries/<id>/` directory.- Each directory contains `plugin.json`, `logo.svg`, and `logo-dark.svg`. Do not add generated catalog files.- Preserve an existing plugin `id`. Its MCP server ID remains `builtin-<id>`.-- Mark a plugin `available` only after its real connection lifecycle passes.+- Record the current publisher, documentation, logo source, license, and connection health. A valid manifest does not guarantee directory acceptance.+- Mark a plugin `available` only after its real add, connect, use, disable, re-enable, and remove lifecycle passes in Akeru Bot.+- Use `verification-pending` when a connection recipe exists but the real lifecycle has not passed.- Use `approval-pending` with an explicit blocker when a vendor must approve access.-- Declare an approval for send, pay, delete, production, secrets, publishing, signatures, refunds, and account-wide changes.+- Keep tokens and secrets in the host environment or service sign-in flow. Never put them in a manifest or ask an MCP server to export a provider token or secret.+- Declare an approval for every applicable send, pay, delete, production, secrets, publishing, signatures, refunds, and account-wide action.- Run `bun run plugins:check` and the focused catalog tests after each entry change.diff --git a/plugins/README.md b/plugins/README.mdindex 637f73ee0..ead9c054d 100644--- a/plugins/README.md+++ b/plugins/README.md@@ -1,8 +1,35 @@# Plugin directory-The live `entries/` tree is the plugin catalog. Each `entries/<id>/` directory owns one `plugin.json` manifest plus official `logo.svg` and `logo-dark.svg` assets. The loader preserves the manifest ID as `builtin-<id>` and orders featured entries by `featuredRank`.+This is a curated directory, not a complete MCP registry. A valid manifest passes the file contract. It does not guarantee acceptance.-An available entry needs a real HTTPS URL or stdio command. A blocked vendor entry uses an unavailable transport, `approval-pending` connection and catalog status, and a concrete blocker. Permission declarations must name each consequential approval class that the plugin can require.+Use Custom MCP for experimental apps, wrappers, duplicates, and narrow utilities. This includes PostgreSQL, SQLite, Redis, Docker, Playwright, time, fetch, filesystem, and generic memory servers. Users can install those servers without a directory entry.++## Admission++A proposal must provide evidence for every item:++- People actively use the product, and a user or maintainer requested the integration.+- The plugin completes a real Akeru Bot job. A list of generic MCP tools is not enough.+- The plugin uses an official or trusted MCP server with a maintained source and accountable publisher.+- A maintainer can test add, connect, use, disable, re-enable, and remove behavior.+- `logo.svg` and `logo-dark.svg` come from an official source. Record the source URL and license.+- Setup and reference documentation is current.+- The publisher and maintainer have public names and URLs.++Describe health honestly. Use `available` only after the real connection lifecycle passes. Use `verification-pending` when a connection recipe exists but the real lifecycle has not passed. Use `approval-pending` with a concrete blocker when a vendor must approve Akeru Bot. Keep a verified official URL or local loopback recipe visible when one exists. Use an `unavailable` transport only when no trusted recipe exists. Use `deprecated` when an existing entry should remain visible but should not receive new installs.++The catalog stores no token or secret. Credentials stay in the host environment or the service sign-in flow. An MCP server must not require Akeru Bot to export a provider token or secret.++Declare an approval for each permission that can send, pay, delete, change production, access secrets, publish, create a signature, issue a refund, or change account-wide settings. Read-only actions use `read`.++## Add an entry++1. Open a Plugin proposal issue and attach the admission evidence.+2. Wait for a maintainer to confirm that the plugin fits the directory.+3. Add one `entries/<id>/` directory with `plugin.json`, `logo.svg`, and `logo-dark.svg`.+4. Run the validator and focused tests.++The loader preserves the manifest ID as `builtin-<id>` and orders featured entries by `featuredRank`.Run the catalog validator before review:diff --git a/plugins/catalog.test.ts b/plugins/catalog.test.tsindex add7bc20d..6b1b12a5d 100644--- a/plugins/catalog.test.ts+++ b/plugins/catalog.test.ts@@ -10,7 +10,67 @@ import {} from "./catalog";import { parsePluginManifestJson } from "./schema";-const EXPECTED_IDS = ["context", "firecrawl", "exa", "parallel-search", "executor"];+const EXPECTED_DIRECTORY_IDS = [+ "ahrefs",+ "apify",+ "apollo",+ "asana",+ "atlassian",+ "attio",+ "canva",+ "cloudflare",+ "coda",+ "context",+ "customer-io",+ "datadog",+ "docusign",+ "dropbox",+ "exa",+ "executor",+ "figma",+ "firecrawl",+ "framer",+ "github",+ "help-scout",+ "hubspot",+ "intercom",+ "lemon-squeezy",+ "linear",+ "mobbin",+ "monday",+ "netlify",+ "notion",+ "paddle",+ "paper",+ "parallel-search",+ "paypal",+ "pipedrive",+ "posthog",+ "railway",+ "render",+ "salesforce",+ "semrush",+ "sentry",+ "sequenzy",+ "shopify",+ "slack",+ "stripe",+ "superside",+ "tavily",+ "typefully",+ "vercel",+ "webflow",+ "zendesk",+ "zernio",+] as const;++const EXPECTED_INSTALLABLE_IDS = [+ "context",+ "exa",+ "executor",+ "firecrawl",+ "parallel-search",+] as const;function manifest(id: string) {return parsePluginManifestJson(@@ -107,14 +167,33 @@ describe("plugin catalog loader", () => {]);});- it("migrates the five identities and working recipes", () => {+ it("loads the complete directory with only the five verified recipes installable", () => {+ const directory = loadDirectoryCatalog();const catalog = loadCatalog();- expect(catalog.map((plugin) => plugin.id)).toEqual(EXPECTED_IDS);+ expect(directory.map((plugin) => plugin.id).toSorted()).toEqual(EXPECTED_DIRECTORY_IDS);+ expect(new Set(directory.map((plugin) => plugin.id)).size).toBe(51);+ expect(catalog.map((plugin) => plugin.id)).toEqual(EXPECTED_INSTALLABLE_IDS);expect(catalog.map((plugin) => `builtin-${plugin.id}`)).toEqual(- EXPECTED_IDS.map((id) => `builtin-${id}`),+ EXPECTED_INSTALLABLE_IDS.map((id) => `builtin-${id}`),+ );+ expect(directory.filter(isInstallablePlugin).map((plugin) => plugin.id)).toEqual(+ EXPECTED_INSTALLABLE_IDS,);- expect(catalog.map((plugin) => plugin.featuredRank)).toEqual([1, 2, 3, 4, 5]);- expect(catalog.map((plugin) => plugin.category)).toEqual(["Web", "Web", "Web", "Web", "Work"]);+ expect(+ directory+ .filter((plugin) => plugin.featuredRank !== undefined)+ .map((plugin) => ({ id: plugin.id, rank: plugin.featuredRank })),+ ).toEqual([+ { id: "context", rank: 1 },+ { id: "zernio", rank: 2 },+ ]);+ expect(+ new Set(+ directory.flatMap((plugin) =>+ plugin.featuredRank === undefined ? [] : [plugin.featuredRank],+ ),+ ).size,+ ).toBe(2);expect(catalog.every((plugin) => plugin.logo.src.length > 0)).toBe(true);const byId = new Map(catalog.map((plugin) => [plugin.id, plugin]));@@ -145,6 +224,73 @@ describe("plugin catalog loader", () => {});});+ it("keeps every unverified entry pending with complete approval coverage", () => {+ const pending = loadDirectoryCatalog().filter(+ (plugin) => !EXPECTED_INSTALLABLE_IDS.some((id) => id === plugin.id),+ );+ expect(pending).toHaveLength(46);+ expect(pending.filter((plugin) => plugin.catalogStatus === "approval-pending")).toHaveLength(+ 16,+ );+ expect(+ pending.filter((plugin) => plugin.catalogStatus === "verification-pending"),+ ).toHaveLength(30);+ for (const plugin of pending) {+ expect(["approval-pending", "verification-pending"]).toContain(plugin.catalogStatus);+ expect(plugin.connection).toMatchObject({+ type: plugin.catalogStatus,+ blocker: expect.stringMatching(/\S/),+ });+ expect(isInstallablePlugin(plugin)).toBe(false);+ expect(new Set(plugin.approvals)).toEqual(+ new Set(+ plugin.permissions.flatMap((permission) =>+ permission.approval === "read" ? [] : [permission.approval],+ ),+ ),+ );+ }+ });++ it("keeps official vendor endpoints visible while their connection blockers remain", () => {+ const byId = new Map(loadDirectoryCatalog().map((plugin) => [plugin.id, plugin]));+ for (const [id, url, status] of [+ ["github", "https://api.githubcopilot.com/mcp/", "verification-pending"],+ ["hubspot", "https://mcp.hubspot.com", "approval-pending"],+ ["vercel", "https://mcp.vercel.com", "approval-pending"],+ ] as const) {+ const plugin = byId.get(id);+ expect(plugin).toMatchObject({+ kind: "mcp-url",+ url,+ connection: { type: status, blocker: expect.stringMatching(/\S/) },+ });+ expect(plugin && isInstallablePlugin(plugin)).toBe(false);+ }+ });++ it("keeps the key, local-loopback, and payment connectors pending", () => {+ const byId = new Map(loadDirectoryCatalog().map((plugin) => [plugin.id, plugin]));+ expect(byId.get("typefully")).toMatchObject({+ authentication: "oauth",+ requiredCredentials: [],+ transport: { type: "url", url: "https://mcp.typefully.com/mcp" },+ connection: { type: "verification-pending" },+ catalogStatus: "verification-pending",+ });+ expect(byId.get("paper")).toMatchObject({+ transport: { type: "url", url: "http://127.0.0.1:29979/mcp" },+ connection: { type: "verification-pending" },+ catalogStatus: "verification-pending",+ });+ expect(byId.get("paypal")).toMatchObject({+ transport: { type: "url", url: "https://mcp.paypal.com/mcp" },+ connection: { type: "verification-pending" },+ approvals: expect.arrayContaining(["send", "pay", "production", "refunds"]),+ catalogStatus: "verification-pending",+ });+ });+it("rejects duplicate ids and mismatched isolated directories", () => {const context = manifest("context");const assets = {@@ -169,6 +315,8 @@ describe("plugin catalog loader", () => {it("keeps removed builtins visible and Custom MCP independent", () => {const catalog = loadCatalog();+ const exa = catalog.find((plugin) => plugin.id === "exa");+ if (!exa) throw new TypeError("Exa is missing from the catalog.");expect(resolveCatalogInstallations([@@ -179,7 +327,7 @@ describe("plugin catalog loader", () => {catalog,),).toEqual([- { kind: "catalog", serverId: "builtin-exa", plugin: catalog[2] },+ { kind: "catalog", serverId: "builtin-exa", plugin: exa },{kind: "legacy",serverId: "builtin-removed-vendor",@@ -188,4 +336,16 @@ describe("plugin catalog loader", () => {},]);});++ it("states blockers and setup as vendor or lifecycle facts, not as host work", () => {+ const hostActor = /\bAkeru\b/;+ for (const plugin of loadDirectoryCatalog()) {+ if (plugin.connection.type === "approval-pending") {+ expect(plugin.connection.blocker).not.toMatch(hostActor);+ }+ for (const step of plugin.setup) {+ expect(step).not.toMatch(/\bAkeru (?:has|must|needs|completes|to)\b/);+ }+ }+ });});diff --git a/plugins/catalog.ts b/plugins/catalog.tsindex 022b36cfa..caca0c478 100644--- a/plugins/catalog.ts+++ b/plugins/catalog.ts@@ -34,7 +34,7 @@ interface DirectoryStdioPlugin extends CatalogPluginBase {type InstallableConnection = Exclude<PluginManifest["connection"],- { readonly type: "approval-pending" }+ { readonly type: "approval-pending" | "verification-pending" }>;export type CatalogPluginDefinition = (DirectoryUrlPlugin | DirectoryStdioPlugin) & {@@ -167,7 +167,8 @@ export function isInstallablePlugin(plugin: PluginDirectoryDefinition): plugin ireturn (plugin.catalogStatus === "available" &&plugin.kind !== "mcp-unavailable" &&- plugin.connection.type !== "approval-pending"+ plugin.connection.type !== "approval-pending" &&+ plugin.connection.type !== "verification-pending");}diff --git a/plugins/entries/ahrefs/logo-dark.svg b/plugins/entries/ahrefs/logo-dark.svgnew file mode 100644index 000000000..58b3cc7b2--- /dev/null+++ b/plugins/entries/ahrefs/logo-dark.svg@@ -0,0 +1,3 @@+<svg width="429" height="512" viewBox="0 0 429 512" fill="none" xmlns="http://www.w3.org/2000/svg">+<path d="M47.6279 0V95.2558L303.628 95.0467V202.419L161.255 202.628C58.4102 202.628 0 256.524 0 355.168C0 453.813 58.4102 512 161.255 512H168.657C225.429 512 269.083 489.18 303.628 455.47V500.093H428.651V0H47.6279ZM200.734 419.294C148.068 419.294 124.223 398.741 124.223 355.168C124.223 311.596 148.088 292.679 200.734 291.871H304.408C304.408 363.394 271.502 415.192 200.734 419.294Z" fill="#FF8D00"/>+</svg>diff --git a/plugins/entries/ahrefs/logo.svg b/plugins/entries/ahrefs/logo.svgnew file mode 100644index 000000000..58b3cc7b2--- /dev/null+++ b/plugins/entries/ahrefs/logo.svg@@ -0,0 +1,3 @@+<svg width="429" height="512" viewBox="0 0 429 512" fill="none" xmlns="http://www.w3.org/2000/svg">+<path d="M47.6279 0V95.2558L303.628 95.0467V202.419L161.255 202.628C58.4102 202.628 0 256.524 0 355.168C0 453.813 58.4102 512 161.255 512H168.657C225.429 512 269.083 489.18 303.628 455.47V500.093H428.651V0H47.6279ZM200.734 419.294C148.068 419.294 124.223 398.741 124.223 355.168C124.223 311.596 148.088 292.679 200.734 291.871H304.408C304.408 363.394 271.502 415.192 200.734 419.294Z" fill="#FF8D00"/>+</svg>diff --git a/plugins/entries/ahrefs/plugin.json b/plugins/entries/ahrefs/plugin.jsonnew file mode 100644index 000000000..781a56aa9--- /dev/null+++ b/plugins/entries/ahrefs/plugin.json@@ -0,0 +1,47 @@+{+ "schemaVersion": 1,+ "id": "ahrefs",+ "name": "Ahrefs",+ "description": "Query SEO, backlink, keyword, and competitor data.",+ "primaryCategory": "Marketing",+ "tags": ["seo", "keywords", "backlinks"],+ "capabilities": ["analyze backlinks", "research keywords", "compare competitors"],+ "publisher": {+ "name": "Ahrefs",+ "url": "https://ahrefs.com"+ },+ "maintainer": {+ "name": "Ahrefs",+ "url": "https://ahrefs.com"+ },+ "documentationUrl": "https://docs.ahrefs.com/en/mcp/docs/introduction",+ "sourceUrl": "https://docs.ahrefs.com/en/mcp/docs/introduction",+ "license": "Proprietary",+ "logo": {+ "provenance": {+ "sourceUrl": "https://static.ahrefs.com/favicon.svg?v=2",+ "license": "Ahrefs brand asset"+ }+ },+ "platforms": ["web", "desktop", "mobile"],+ "transport": {+ "type": "url",+ "url": "https://api.ahrefs.com/mcp/mcp"+ },+ "connection": {+ "type": "verification-pending",+ "blocker": "Connection lifecycle not verified: install, OAuth, safe read, approved write, disable, reconnect, and removal."+ },+ "authentication": "oauth",+ "requiredCredentials": [],+ "setup": ["Wait for the Ahrefs connection lifecycle to pass."],+ "permissions": [+ {+ "id": "read-seo-data",+ "description": "Read SEO, backlink, keyword, and competitor data.",+ "approval": "read"+ }+ ],+ "approvals": [],+ "catalogStatus": "verification-pending"+}diff --git a/plugins/entries/apify/logo-dark.svg b/plugins/entries/apify/logo-dark.svgnew file mode 100644index 000000000..b032bb032--- /dev/null+++ b/plugins/entries/apify/logo-dark.svg@@ -0,0 +1 @@+<svg viewBox="0 0 87 86" xmlns="http://www.w3.org/2000/svg"><path fill="#246DFF" d="M49.398 0h35.434c.72 0 1.305.583 1.305 1.302v54.015c0 1.293-1.687 1.795-2.397.712L48.306 2.015C47.738 1.149 48.36 0 49.398 0Z"/><path fill="#20A34E" d="M36.74 0H1.305C.584 0 0 .583 0 1.302v54.015c0 1.293 1.687 1.795 2.397.712L37.832 2.015C38.4 1.149 37.777 0 36.739 0Z"/><path fill="#F86606" d="M42.462 43.246 2.208 83.699c-.817.822-.234 2.219.926 2.219h79.902c1.155 0 1.741-1.387.934-2.212L44.32 43.253a1.305 1.305 0 0 0-1.86-.007Z"/></svg>diff --git a/plugins/entries/apify/logo.svg b/plugins/entries/apify/logo.svgnew file mode 100644index 000000000..b032bb032--- /dev/null+++ b/plugins/entries/apify/logo.svg@@ -0,0 +1 @@+<svg viewBox="0 0 87 86" xmlns="http://www.w3.org/2000/svg"><path fill="#246DFF" d="M49.398 0h35.434c.72 0 1.305.583 1.305 1.302v54.015c0 1.293-1.687 1.795-2.397.712L48.306 2.015C47.738 1.149 48.36 0 49.398 0Z"/><path fill="#20A34E" d="M36.74 0H1.305C.584 0 0 .583 0 1.302v54.015c0 1.293 1.687 1.795 2.397.712L37.832 2.015C38.4 1.149 37.777 0 36.739 0Z"/><path fill="#F86606" d="M42.462 43.246 2.208 83.699c-.817.822-.234 2.219.926 2.219h79.902c1.155 0 1.741-1.387.934-2.212L44.32 43.253a1.305 1.305 0 0 0-1.86-.007Z"/></svg>diff --git a/plugins/entries/apify/plugin.json b/plugins/entries/apify/plugin.jsonnew file mode 100644index 000000000..9cdbe2f3c--- /dev/null+++ b/plugins/entries/apify/plugin.json@@ -0,0 +1,39 @@+{+ "schemaVersion": 1,+ "id": "apify",+ "name": "Apify",+ "description": "Find and run Apify Actors for web data tasks.",+ "primaryCategory": "Web",+ "tags": ["scraping", "actors", "automation", "datasets"],+ "capabilities": ["search Actors", "run Actors", "read Actor datasets"],+ "publisher": { "name": "Apify", "url": "https://apify.com" },+ "maintainer": { "name": "Apify", "url": "https://apify.com" },+ "documentationUrl": "https://docs.apify.com/platform/integrations/mcp",+ "sourceUrl": "https://github.com/apify/actors-mcp-server",+ "license": "Apache-2.0",+ "logo": {+ "provenance": {+ "sourceUrl": "https://media.brand.dev/6350f7b3-4297-45ba-8e3d-63bde60c0a7a.svg",+ "license": "Apify trademark; retrieved by Brand.dev"+ }+ },+ "platforms": ["web", "desktop", "mobile"],+ "transport": { "type": "url", "url": "https://mcp.apify.com" },+ "connection": {+ "type": "verification-pending",+ "blocker": "Connection lifecycle not verified: installation, OAuth, safe reads and paid Actor runs, disable, reconnect, and removal."+ },+ "authentication": "oauth",+ "requiredCredentials": [],+ "setup": ["Wait for the Apify connection lifecycle to pass."],+ "permissions": [+ { "id": "read-apify-data", "description": "Read Actor and dataset data.", "approval": "read" },+ {+ "id": "run-paid-actor",+ "description": "Run an Actor that can incur charges.",+ "approval": "pay"+ }+ ],+ "approvals": ["pay"],+ "catalogStatus": "verification-pending"+}diff --git a/plugins/entries/apollo/logo-dark.svg b/plugins/entries/apollo/logo-dark.svgnew file mode 100644index 000000000..56b754a2c--- /dev/null+++ b/plugins/entries/apollo/logo-dark.svg@@ -0,0 +1,5 @@+<svg viewBox="0 0 128 128" xmlns="http://www.w3.org/2000/svg" width="128" height="128" fill="none">+ <rect width="128" height="128" fill="#FECF40" rx="8" />+ <path fill="#000"+ d="M91.044 36.135H78.489l6.51 11.134 6.045-11.134ZM108.494 98.987 63.922 25 19.5 98.832h23.792c3.174 0 6.297-.8 9.058-2.316 2.98-1.638 5.23-4.012 6.989-6.89 2.056-3.367 4.053-6.773 6.077-10.16l5.178-8.67-6.678-11.167-2.961 4.755c-3.375 5.631-6.569 11.392-10.066 16.947-1.759 2.786-4.054 5.418-7.442 6.096a9.686 9.686 0 0 1-1.558.174c-.698.026-1.397.013-2.088.013l24.121-40.99 30.975 52.363h13.597Z" />+</svg>diff --git a/plugins/entries/apollo/logo.svg b/plugins/entries/apollo/logo.svgnew file mode 100644index 000000000..56b754a2c--- /dev/null+++ b/plugins/entries/apollo/logo.svg@@ -0,0 +1,5 @@+<svg viewBox="0 0 128 128" xmlns="http://www.w3.org/2000/svg" width="128" height="128" fill="none">+ <rect width="128" height="128" fill="#FECF40" rx="8" />+ <path fill="#000"+ d="M91.044 36.135H78.489l6.51 11.134 6.045-11.134ZM108.494 98.987 63.922 25 19.5 98.832h23.792c3.174 0 6.297-.8 9.058-2.316 2.98-1.638 5.23-4.012 6.989-6.89 2.056-3.367 4.053-6.773 6.077-10.16l5.178-8.67-6.678-11.167-2.961 4.755c-3.375 5.631-6.569 11.392-10.066 16.947-1.759 2.786-4.054 5.418-7.442 6.096a9.686 9.686 0 0 1-1.558.174c-.698.026-1.397.013-2.088.013l24.121-40.99 30.975 52.363h13.597Z" />+</svg>diff --git a/plugins/entries/apollo/plugin.json b/plugins/entries/apollo/plugin.jsonnew file mode 100644index 000000000..52f60da74--- /dev/null+++ b/plugins/entries/apollo/plugin.json@@ -0,0 +1,62 @@+{+ "schemaVersion": 1,+ "id": "apollo",+ "name": "Apollo",+ "description": "Research prospects and manage Apollo sales workflows.",+ "primaryCategory": "Sales",+ "tags": ["sales-intelligence", "prospecting", "outreach"],+ "capabilities": ["search prospects", "enrich contacts", "manage outreach"],+ "publisher": {+ "name": "Apollo.io",+ "url": "https://www.apollo.io"+ },+ "maintainer": {+ "name": "Apollo.io",+ "url": "https://www.apollo.io"+ },+ "documentationUrl": "https://docs.apollo.io/docs/apollo-mcp",+ "sourceUrl": "https://docs.apollo.io/docs/apollo-mcp",+ "license": "Proprietary",+ "logo": {+ "provenance": {+ "sourceUrl": "https://svgl.app/library/apollo-io.svg",+ "license": "Apollo.io trademark"+ }+ },+ "platforms": ["web", "desktop", "mobile"],+ "transport": {+ "type": "url",+ "url": "https://mcp.apollo.io/mcp"+ },+ "connection": {+ "type": "verification-pending",+ "blocker": "Hosted MCP lifecycle not verified: OAuth, a real request, and removal."+ },+ "authentication": "oauth",+ "requiredCredentials": [],+ "setup": ["Turn off model training in the AI client, then connect Apollo through OAuth."],+ "permissions": [+ {+ "id": "read-sales-data",+ "description": "Search and read people, companies, contacts, and campaigns.",+ "approval": "read"+ },+ {+ "id": "send-outreach",+ "description": "Send emails and enroll contacts in outreach campaigns.",+ "approval": "send"+ },+ {+ "id": "purchase-services",+ "description": "Purchase email accounts, domains, or other Apollo services.",+ "approval": "pay"+ },+ {+ "id": "write-sales-data",+ "description": "Create or update production contacts, opportunities, and campaigns.",+ "approval": "production"+ }+ ],+ "approvals": ["send", "pay", "production"],+ "catalogStatus": "verification-pending"+}diff --git a/plugins/entries/asana/logo-dark.svg b/plugins/entries/asana/logo-dark.svgnew file mode 100644index 000000000..11ad60c64--- /dev/null+++ b/plugins/entries/asana/logo-dark.svg@@ -0,0 +1 @@+<svg fill="#F06A6A" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M18.78 12.653c-2.882 0-5.22 2.336-5.22 5.22s2.338 5.22 5.22 5.22 5.22-2.34 5.22-5.22-2.336-5.22-5.22-5.22zm-13.56 0c-2.88 0-5.22 2.337-5.22 5.22s2.338 5.22 5.22 5.22 5.22-2.338 5.22-5.22-2.336-5.22-5.22-5.22zm12-6.525c0 2.883-2.337 5.22-5.22 5.22-2.882 0-5.22-2.337-5.22-5.22 0-2.88 2.338-5.22 5.22-5.22 2.883 0 5.22 2.34 5.22 5.22z"/></svg>diff --git a/plugins/entries/asana/logo.svg b/plugins/entries/asana/logo.svgnew file mode 100644index 000000000..11ad60c64--- /dev/null+++ b/plugins/entries/asana/logo.svg@@ -0,0 +1 @@+<svg fill="#F06A6A" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M18.78 12.653c-2.882 0-5.22 2.336-5.22 5.22s2.338 5.22 5.22 5.22 5.22-2.34 5.22-5.22-2.336-5.22-5.22-5.22zm-13.56 0c-2.88 0-5.22 2.337-5.22 5.22s2.338 5.22 5.22 5.22 5.22-2.338 5.22-5.22-2.336-5.22-5.22-5.22zm12-6.525c0 2.883-2.337 5.22-5.22 5.22-2.882 0-5.22-2.337-5.22-5.22 0-2.88 2.338-5.22 5.22-5.22 2.883 0 5.22 2.34 5.22 5.22z"/></svg>diff --git a/plugins/entries/asana/plugin.json b/plugins/entries/asana/plugin.jsonnew file mode 100644index 000000000..37440f3d5--- /dev/null+++ b/plugins/entries/asana/plugin.json@@ -0,0 +1,42 @@+{+ "schemaVersion": 1,+ "id": "asana",+ "name": "Asana",+ "description": "Read, create, update, and delete Asana projects and tasks.",+ "primaryCategory": "Work",+ "tags": ["projects", "tasks", "work-management"],+ "capabilities": [+ "read projects and tasks",+ "create projects and tasks",+ "update tasks",+ "delete tasks",+ "add comments and status updates"+ ],+ "publisher": { "name": "Asana", "url": "https://asana.com" },+ "maintainer": { "name": "Asana", "url": "https://asana.com" },+ "documentationUrl": "https://developers.asana.com/docs/mcp-tools-reference",+ "sourceUrl": "https://developers.asana.com/docs/mcp-server",+ "license": "Proprietary",+ "logo": {+ "provenance": { "sourceUrl": "https://simpleicons.org/?q=asana", "license": "CC0-1.0" }+ },+ "platforms": ["web", "desktop", "mobile"],+ "transport": { "type": "url", "url": "https://mcp.asana.com/v2/mcp" },+ "connection": {+ "type": "approval-pending",+ "blocker": "Asana V2 MCP app registration and OAuth lifecycle are not complete."+ },+ "authentication": "oauth",+ "requiredCredentials": [],+ "setup": ["Wait for an Asana V2 MCP app registration to pass verification."],+ "permissions": [+ { "id": "read-asana-data", "description": "Read Asana workspace data.", "approval": "read" },+ {+ "id": "delete-asana-task",+ "description": "Permanently delete an Asana task.",+ "approval": "delete"+ }+ ],+ "approvals": ["delete"],+ "catalogStatus": "approval-pending"+}diff --git a/plugins/entries/atlassian/logo-dark.svg b/plugins/entries/atlassian/logo-dark.svgnew file mode 100644index 000000000..50c93749a--- /dev/null+++ b/plugins/entries/atlassian/logo-dark.svg@@ -0,0 +1 @@+<svg fill="#579DFF" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M7.12 11.084a.683.683 0 0 0-1.16.126L.075 22.974a.703.703 0 0 0 .63 1.018h8.19a.678.678 0 0 0 .63-.39c1.767-3.65.696-9.203-2.406-12.52zM11.434.386a15.515 15.515 0 0 0-.906 15.317l3.95 7.9a.703.703 0 0 0 .628.388h8.19a.703.703 0 0 0 .63-1.017L12.63.38a.664.664 0 0 0-1.196.006z"/></svg>diff --git a/plugins/entries/atlassian/logo.svg b/plugins/entries/atlassian/logo.svgnew file mode 100644index 000000000..f274e8156--- /dev/null+++ b/plugins/entries/atlassian/logo.svg@@ -0,0 +1 @@+<svg fill="#0052CC" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M7.12 11.084a.683.683 0 0 0-1.16.126L.075 22.974a.703.703 0 0 0 .63 1.018h8.19a.678.678 0 0 0 .63-.39c1.767-3.65.696-9.203-2.406-12.52zM11.434.386a15.515 15.515 0 0 0-.906 15.317l3.95 7.9a.703.703 0 0 0 .628.388h8.19a.703.703 0 0 0 .63-1.017L12.63.38a.664.664 0 0 0-1.196.006z"/></svg>diff --git a/plugins/entries/atlassian/plugin.json b/plugins/entries/atlassian/plugin.jsonnew file mode 100644index 000000000..2f50991cc--- /dev/null+++ b/plugins/entries/atlassian/plugin.json@@ -0,0 +1,40 @@+{+ "schemaVersion": 1,+ "id": "atlassian",+ "name": "Atlassian",+ "description": "Read, create, and update Jira and Confluence work.",+ "primaryCategory": "Work",+ "tags": ["jira", "confluence", "issues", "knowledge"],+ "capabilities": [+ "search Jira and Confluence",+ "read Jira issues and Confluence pages",+ "create and update Jira issues",+ "create and update Confluence pages and comments"+ ],+ "publisher": { "name": "Atlassian", "url": "https://www.atlassian.com" },+ "maintainer": { "name": "Atlassian", "url": "https://www.atlassian.com" },+ "documentationUrl": "https://support.atlassian.com/atlassian-rovo-mcp-server/docs/supported-tools/",+ "sourceUrl": "https://www.atlassian.com/platform/remote-mcp-server",+ "license": "Proprietary",+ "logo": {+ "provenance": { "sourceUrl": "https://simpleicons.org/?q=atlassian", "license": "CC0-1.0" }+ },+ "platforms": ["web", "desktop", "mobile"],+ "transport": { "type": "url", "url": "https://mcp.atlassian.com/v1/mcp/authv2" },+ "connection": {+ "type": "verification-pending",+ "blocker": "Connection lifecycle not verified: OAuth, safe read, approved write, disable, reconnect, and removal."+ },+ "authentication": "oauth",+ "requiredCredentials": [],+ "setup": ["Wait for the Atlassian connection lifecycle to pass."],+ "permissions": [+ {+ "id": "read-atlassian-data",+ "description": "Read Jira and Confluence data.",+ "approval": "read"+ }+ ],+ "approvals": [],+ "catalogStatus": "verification-pending"+}diff --git a/plugins/entries/attio/logo-dark.svg b/plugins/entries/attio/logo-dark.svgnew file mode 100644index 000000000..69ac7292f--- /dev/null+++ b/plugins/entries/attio/logo-dark.svg@@ -0,0 +1,6 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 31 31" fill="none">+ <g transform="translate(0 2.75)" fill="#FFFFFF">+ <path d="M30.6468 17.7823 28.0599 13.6422l-.0192-.025-.2002-.3253a2.09 2.09 0 0 0-1.7785-.9894l-4.1671-.0134-.2907.4658-4.9793 7.9685-.2753.4408 2.0865 3.3336a2.088 2.088 0 0 0 1.7842.9894h5.8397c.7199 0 1.4013-.3792 1.7824-.9874l.2059-.3292.0097-.0134 2.5907-4.146c.4254-.6775.4254-1.5533 0-2.2289h-.0019Zm-.7892 1.7343-2.5907 4.1459-.0366.05a.349.349 0 0 1-.2598.1155.355.355 0 0 1-.3003-.1674l-2.5907-4.146a1.334 1.334 0 0 1-.1338-.2983 1.201 1.201 0 0 1 0-.639 1.31 1.31 0 0 1 .1308-.2964l2.5869-4.1421.0058-.0097a.354.354 0 0 1 .2059-.1482l.0693-.0134h.0289a.356.356 0 0 1 .3003.1693l2.5869 4.1402c.2367.3773.2367.8623-.0039 1.2399Z"/>+ <path d="M22.9913 7.7644c.4235-.6794.4235-1.5533 0-2.2289l-2.5869-4.1401-.2155-.3484A2.09 2.09 0 0 0 18.4046.0596h-5.8397a2.09 2.09 0 0 0-1.7843.9893L.3234 17.7847A2.111 2.111 0 0 0 0 18.8992c0 .3926.1116.7795.3214 1.1125l2.8044 4.4905a2.088 2.088 0 0 0 1.7823.9874h5.8398a2.09 2.09 0 0 0 1.7842-.9894l.2137-.3387.0038-.0116 2.0846-3.3337 6.1785-9.8875 1.9748-3.1624.0038-.0019Zm-.6101-1.1144c0 .2136-.0597.4292-.181.6198L11.9566 23.6649a.355.355 0 0 1-.3002.1655.355.355 0 0 1-.3003-.1655l-2.5888-4.1479a1.176 1.176 0 0 1 0-1.2376L19.0109 1.8881a.356.356 0 0 1 .3003-.1675c.0596 0 .2078.0174.3022.1694L22.2002 6.03c.1213.1908.181.4063.181.62Z"/>+ </g>+</svg>diff --git a/plugins/entries/attio/logo.svg b/plugins/entries/attio/logo.svgnew file mode 100644index 000000000..3adf13e96--- /dev/null+++ b/plugins/entries/attio/logo.svg@@ -0,0 +1,6 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 31 31" fill="none">+ <g transform="translate(0 2.75)" fill="#111827">+ <path d="M30.6468 17.7823 28.0599 13.6422l-.0192-.025-.2002-.3253a2.09 2.09 0 0 0-1.7785-.9894l-4.1671-.0134-.2907.4658-4.9793 7.9685-.2753.4408 2.0865 3.3336a2.088 2.088 0 0 0 1.7842.9894h5.8397c.7199 0 1.4013-.3792 1.7824-.9874l.2059-.3292.0097-.0134 2.5907-4.146c.4254-.6775.4254-1.5533 0-2.2289h-.0019Zm-.7892 1.7343-2.5907 4.1459-.0366.05a.349.349 0 0 1-.2598.1155.355.355 0 0 1-.3003-.1674l-2.5907-4.146a1.334 1.334 0 0 1-.1338-.2983 1.201 1.201 0 0 1 0-.639 1.31 1.31 0 0 1 .1308-.2964l2.5869-4.1421.0058-.0097a.354.354 0 0 1 .2059-.1482l.0693-.0134h.0289a.356.356 0 0 1 .3003.1693l2.5869 4.1402c.2367.3773.2367.8623-.0039 1.2399Z"/>+ <path d="M22.9913 7.7644c.4235-.6794.4235-1.5533 0-2.2289l-2.5869-4.1401-.2155-.3484A2.09 2.09 0 0 0 18.4046.0596h-5.8397a2.09 2.09 0 0 0-1.7843.9893L.3234 17.7847A2.111 2.111 0 0 0 0 18.8992c0 .3926.1116.7795.3214 1.1125l2.8044 4.4905a2.088 2.088 0 0 0 1.7823.9874h5.8398a2.09 2.09 0 0 0 1.7842-.9894l.2137-.3387.0038-.0116 2.0846-3.3337 6.1785-9.8875 1.9748-3.1624.0038-.0019Zm-.6101-1.1144c0 .2136-.0597.4292-.181.6198L11.9566 23.6649a.355.355 0 0 1-.3002.1655.355.355 0 0 1-.3003-.1655l-2.5888-4.1479a1.176 1.176 0 0 1 0-1.2376L19.0109 1.8881a.356.356 0 0 1 .3003-.1675c.0596 0 .2078.0174.3022.1694L22.2002 6.03c.1213.1908.181.4063.181.62Z"/>+ </g>+</svg>diff --git a/plugins/entries/attio/plugin.json b/plugins/entries/attio/plugin.jsonnew file mode 100644index 000000000..7a04cb3c0--- /dev/null+++ b/plugins/entries/attio/plugin.json@@ -0,0 +1,67 @@+{+ "schemaVersion": 1,+ "id": "attio",+ "name": "Attio",+ "description": "Search and manage records, notes, tasks, and pipelines in Attio.",+ "primaryCategory": "Sales",+ "tags": ["crm", "pipeline", "tasks"],+ "capabilities": ["search CRM records", "update CRM records", "manage sales tasks"],+ "publisher": {+ "name": "Attio",+ "url": "https://attio.com"+ },+ "maintainer": {+ "name": "Attio",+ "url": "https://attio.com"+ },+ "documentationUrl": "https://docs.attio.com/mcp/overview",+ "sourceUrl": "https://docs.attio.com/mcp/overview",+ "license": "Proprietary",+ "logo": {+ "provenance": {+ "sourceUrl": "https://media.brand.dev/4ec826c2-b0a0-4c5e-a25e-ad2c5367ee78.svg",+ "license": "Attio trademark"+ }+ },+ "platforms": ["web", "desktop", "mobile"],+ "transport": {+ "type": "url",+ "url": "https://mcp.attio.com/mcp"+ },+ "connection": {+ "type": "verification-pending",+ "blocker": "Hosted MCP lifecycle not verified: OAuth, a real request, and removal."+ },+ "authentication": "oauth",+ "requiredCredentials": [],+ "setup": ["Connect an Attio workspace through the hosted OAuth flow."],+ "permissions": [+ {+ "id": "read-workspace",+ "description": "Read records, notes, tasks, and workspace metadata.",+ "approval": "read"+ },+ {+ "id": "write-records",+ "description": "Create or update production CRM records, notes, and tasks.",+ "approval": "production"+ },+ {+ "id": "post-comments",+ "description": "Post comments or replies in Attio.",+ "approval": "send"+ },+ {+ "id": "delete-comments",+ "description": "Delete comments and their replies.",+ "approval": "delete"+ },+ {+ "id": "manage-workspace",+ "description": "Change workspace lists, fields, or permissions.",+ "approval": "account-wide"+ }+ ],+ "approvals": ["send", "delete", "production", "account-wide"],+ "catalogStatus": "verification-pending"+}diff --git a/plugins/entries/canva/logo-dark.svg b/plugins/entries/canva/logo-dark.svgnew file mode 100644index 000000000..a0b5e15c6--- /dev/null+++ b/plugins/entries/canva/logo-dark.svg@@ -0,0 +1,32 @@+<svg width="80" height="80" viewBox="0 0 80 80" fill="none" xmlns="http://www.w3.org/2000/svg">+<g clip-path="url(#clip0_905_1790)">+<path d="M40 80C62.0914 80 80 62.0914 80 40C80 17.9086 62.0914 0 40 0C17.9086 0 0 17.9086 0 40C0 62.0914 17.9086 80 40 80Z" fill="#7D2AE7"/>+<path d="M40 80C62.0914 80 80 62.0914 80 40C80 17.9086 62.0914 0 40 0C17.9086 0 0 17.9086 0 40C0 62.0914 17.9086 80 40 80Z" fill="url(#paint0_radial_905_1790)"/>+<path d="M40 80C62.0914 80 80 62.0914 80 40C80 17.9086 62.0914 0 40 0C17.9086 0 0 17.9086 0 40C0 62.0914 17.9086 80 40 80Z" fill="url(#paint1_radial_905_1790)"/>+<path d="M40 80C62.0914 80 80 62.0914 80 40C80 17.9086 62.0914 0 40 0C17.9086 0 0 17.9086 0 40C0 62.0914 17.9086 80 40 80Z" fill="url(#paint2_radial_905_1790)"/>+<path d="M40 80C62.0914 80 80 62.0914 80 40C80 17.9086 62.0914 0 40 0C17.9086 0 0 17.9086 0 40C0 62.0914 17.9086 80 40 80Z" fill="url(#paint3_radial_905_1790)"/>+<path d="M57.2691 48.2052C56.939 48.2052 56.6485 48.484 56.3462 49.0928C52.9323 56.0153 47.0358 60.9134 40.2125 60.9134C32.3228 60.9134 27.437 53.7913 27.437 43.9522C27.437 27.2855 36.7232 17.6491 44.8796 17.6491C48.691 17.6491 51.0186 20.0443 51.0186 23.8559C51.0186 28.3796 48.4485 30.7748 48.4485 32.3702C48.4485 33.0864 48.8939 33.5201 49.7773 33.5201C53.3264 33.5201 57.4918 29.4419 57.4918 23.6808C57.4918 18.0947 52.63 13.9888 44.4737 13.9888C30.994 13.9888 19.0142 26.4858 19.0142 43.777C19.0142 57.1614 26.6572 66.0061 38.45 66.0061C50.9668 66.0061 58.2043 53.5526 58.2043 49.5105C58.2043 48.6153 57.7466 48.2052 57.2691 48.2052Z" fill="white"/>+</g>+<defs>+<radialGradient id="paint0_radial_905_1790" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" gradientTransform="translate(15.453 70.9057) rotate(-49.416) scale(61.8733)">+<stop stop-color="#6420FF"/>+<stop offset="1" stop-color="#6420FF" stop-opacity="0"/>+</radialGradient>+<radialGradient id="paint1_radial_905_1790" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" gradientTransform="translate(21.1788 9.09457) rotate(54.703) scale(69.7735)">+<stop stop-color="#00C4CC"/>+<stop offset="1" stop-color="#00C4CC" stop-opacity="0"/>+</radialGradient>+<radialGradient id="paint2_radial_905_1790" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" gradientTransform="translate(15.4526 70.9053) rotate(-45.1954) scale(61.1242 28.1118)">+<stop stop-color="#6420FF"/>+<stop offset="1" stop-color="#6420FF" stop-opacity="0"/>+</radialGradient>+<radialGradient id="paint3_radial_905_1790" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" gradientTransform="translate(32.7158 10.7789) rotate(66.5198) scale(62.9836 105.512)">+<stop stop-color="#00C4CC" stop-opacity="0.725916"/>+<stop offset="0.0001" stop-color="#00C4CC"/>+<stop offset="1" stop-color="#00C4CC" stop-opacity="0"/>+</radialGradient>+<clipPath id="clip0_905_1790">+<rect width="80" height="80" fill="white"/>+</clipPath>+</defs>+</svg>diff --git a/plugins/entries/canva/logo.svg b/plugins/entries/canva/logo.svgnew file mode 100644index 000000000..a0b5e15c6--- /dev/null+++ b/plugins/entries/canva/logo.svg@@ -0,0 +1,32 @@+<svg width="80" height="80" viewBox="0 0 80 80" fill="none" xmlns="http://www.w3.org/2000/svg">+<g clip-path="url(#clip0_905_1790)">+<path d="M40 80C62.0914 80 80 62.0914 80 40C80 17.9086 62.0914 0 40 0C17.9086 0 0 17.9086 0 40C0 62.0914 17.9086 80 40 80Z" fill="#7D2AE7"/>+<path d="M40 80C62.0914 80 80 62.0914 80 40C80 17.9086 62.0914 0 40 0C17.9086 0 0 17.9086 0 40C0 62.0914 17.9086 80 40 80Z" fill="url(#paint0_radial_905_1790)"/>+<path d="M40 80C62.0914 80 80 62.0914 80 40C80 17.9086 62.0914 0 40 0C17.9086 0 0 17.9086 0 40C0 62.0914 17.9086 80 40 80Z" fill="url(#paint1_radial_905_1790)"/>+<path d="M40 80C62.0914 80 80 62.0914 80 40C80 17.9086 62.0914 0 40 0C17.9086 0 0 17.9086 0 40C0 62.0914 17.9086 80 40 80Z" fill="url(#paint2_radial_905_1790)"/>+<path d="M40 80C62.0914 80 80 62.0914 80 40C80 17.9086 62.0914 0 40 0C17.9086 0 0 17.9086 0 40C0 62.0914 17.9086 80 40 80Z" fill="url(#paint3_radial_905_1790)"/>+<path d="M57.2691 48.2052C56.939 48.2052 56.6485 48.484 56.3462 49.0928C52.9323 56.0153 47.0358 60.9134 40.2125 60.9134C32.3228 60.9134 27.437 53.7913 27.437 43.9522C27.437 27.2855 36.7232 17.6491 44.8796 17.6491C48.691 17.6491 51.0186 20.0443 51.0186 23.8559C51.0186 28.3796 48.4485 30.7748 48.4485 32.3702C48.4485 33.0864 48.8939 33.5201 49.7773 33.5201C53.3264 33.5201 57.4918 29.4419 57.4918 23.6808C57.4918 18.0947 52.63 13.9888 44.4737 13.9888C30.994 13.9888 19.0142 26.4858 19.0142 43.777C19.0142 57.1614 26.6572 66.0061 38.45 66.0061C50.9668 66.0061 58.2043 53.5526 58.2043 49.5105C58.2043 48.6153 57.7466 48.2052 57.2691 48.2052Z" fill="white"/>+</g>+<defs>+<radialGradient id="paint0_radial_905_1790" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" gradientTransform="translate(15.453 70.9057) rotate(-49.416) scale(61.8733)">+<stop stop-color="#6420FF"/>+<stop offset="1" stop-color="#6420FF" stop-opacity="0"/>+</radialGradient>+<radialGradient id="paint1_radial_905_1790" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" gradientTransform="translate(21.1788 9.09457) rotate(54.703) scale(69.7735)">+<stop stop-color="#00C4CC"/>+<stop offset="1" stop-color="#00C4CC" stop-opacity="0"/>+</radialGradient>+<radialGradient id="paint2_radial_905_1790" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" gradientTransform="translate(15.4526 70.9053) rotate(-45.1954) scale(61.1242 28.1118)">+<stop stop-color="#6420FF"/>+<stop offset="1" stop-color="#6420FF" stop-opacity="0"/>+</radialGradient>+<radialGradient id="paint3_radial_905_1790" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" gradientTransform="translate(32.7158 10.7789) rotate(66.5198) scale(62.9836 105.512)">+<stop stop-color="#00C4CC" stop-opacity="0.725916"/>+<stop offset="0.0001" stop-color="#00C4CC"/>+<stop offset="1" stop-color="#00C4CC" stop-opacity="0"/>+</radialGradient>+<clipPath id="clip0_905_1790">+<rect width="80" height="80" fill="white"/>+</clipPath>+</defs>+</svg>diff --git a/plugins/entries/canva/plugin.json b/plugins/entries/canva/plugin.jsonnew file mode 100644index 000000000..740438a3d--- /dev/null+++ b/plugins/entries/canva/plugin.json@@ -0,0 +1,57 @@+{+ "schemaVersion": 1,+ "id": "canva",+ "name": "Canva",+ "description": "Read and edit Canva designs and brand assets.",+ "primaryCategory": "Design",+ "tags": ["brand-assets", "presentations", "prototyping"],+ "capabilities": ["read designs", "create design content", "manage design assets"],+ "publisher": {+ "name": "Canva",+ "url": "https://www.canva.com"+ },+ "maintainer": {+ "name": "Canva",+ "url": "https://www.canva.com"+ },+ "documentationUrl": "https://www.canva.dev/docs/mcp/",+ "sourceUrl": "https://www.canva.dev/docs/mcp/",+ "license": "Proprietary",+ "logo": {+ "provenance": {+ "sourceUrl": "https://svgl.app/library/canva.svg",+ "license": "Canva trademark"+ }+ },+ "platforms": ["web", "desktop", "mobile"],+ "transport": {+ "type": "url",+ "url": "https://mcp.canva.com/mcp"+ },+ "connection": {+ "type": "approval-pending",+ "blocker": "Canva must approve this client's OAuth redirect registration."+ },+ "authentication": "oauth",+ "requiredCredentials": [],+ "setup": ["Wait for Canva to approve this OAuth registration, then connect a Canva account."],+ "permissions": [+ {+ "id": "read-designs",+ "description": "Read designs, folders, assets, and brand kits.",+ "approval": "read"+ },+ {+ "id": "comment-on-designs",+ "description": "Post comments on Canva designs.",+ "approval": "send"+ },+ {+ "id": "edit-designs",+ "description": "Create or update Canva designs and assets.",+ "approval": "publishing"+ }+ ],+ "approvals": ["send", "publishing"],+ "catalogStatus": "approval-pending"+}diff --git a/plugins/entries/cloudflare/logo-dark.svg b/plugins/entries/cloudflare/logo-dark.svgnew file mode 100644index 000000000..480ea1e5a--- /dev/null+++ b/plugins/entries/cloudflare/logo-dark.svg@@ -0,0 +1,11 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 341 156" fill="none">+ <title>Cloudflare logo</title>+ <path+ d="M275.125 68.25C311.507 68.25 341 97.9335 341 134.55C341 141.077 340.063 147.385 338.317 153.343C337.848 154.943 336.363 156 334.706 156H243.056C241.697 156 240.76 154.628 241.247 153.351L242.999 148.76C248.595 134.03 264.56 121.963 279.331 121.256L307.33 119.813C308.826 119.736 310 118.492 310 116.985C310 115.485 308.838 114.245 307.351 114.157L281.059 112.601C266.924 111.877 260.018 99.2932 263.82 86.179L268.195 71.0866C268.64 69.5514 269.971 68.4343 271.557 68.3476C272.738 68.2831 273.928 68.25 275.125 68.25Z"+ fill="#FAAE40"+ />+ <path+ d="M184.062 0C222 0 253.868 26.1297 262.882 61.4824C263.26 62.967 263.142 64.5333 262.601 65.9662L255.383 85.0897C249.787 99.8196 235.406 112.593 219.134 112.593L93.7928 114.043C92.2801 114.061 91.063 115.3 91.0625 116.823C91.0625 118.344 92.2776 119.585 93.789 119.605L217.365 121.248C231.531 121.248 238.406 134.556 234.606 147.671L233.011 153.189C232.53 154.855 231.014 156 229.291 156H3.90889C1.98075 156 0.330745 154.574 0.17634 152.64C0.0594555 151.175 0 149.695 0 148.2C0 119.723 21.6617 96.3403 49.306 93.8266C48.7387 91.2419 48.4375 88.5564 48.4375 85.8C48.4375 65.3379 64.919 48.75 85.25 48.75C93.3413 48.75 100.822 51.3789 106.897 55.8321C117.716 23.3806 148.176 0 184.062 0Z"+ fill="#F38020"+ />+</svg>diff --git a/plugins/entries/cloudflare/logo.svg b/plugins/entries/cloudflare/logo.svgnew file mode 100644index 000000000..480ea1e5a--- /dev/null+++ b/plugins/entries/cloudflare/logo.svg@@ -0,0 +1,11 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 341 156" fill="none">+ <title>Cloudflare logo</title>+ <path+ d="M275.125 68.25C311.507 68.25 341 97.9335 341 134.55C341 141.077 340.063 147.385 338.317 153.343C337.848 154.943 336.363 156 334.706 156H243.056C241.697 156 240.76 154.628 241.247 153.351L242.999 148.76C248.595 134.03 264.56 121.963 279.331 121.256L307.33 119.813C308.826 119.736 310 118.492 310 116.985C310 115.485 308.838 114.245 307.351 114.157L281.059 112.601C266.924 111.877 260.018 99.2932 263.82 86.179L268.195 71.0866C268.64 69.5514 269.971 68.4343 271.557 68.3476C272.738 68.2831 273.928 68.25 275.125 68.25Z"+ fill="#FAAE40"+ />+ <path+ d="M184.062 0C222 0 253.868 26.1297 262.882 61.4824C263.26 62.967 263.142 64.5333 262.601 65.9662L255.383 85.0897C249.787 99.8196 235.406 112.593 219.134 112.593L93.7928 114.043C92.2801 114.061 91.063 115.3 91.0625 116.823C91.0625 118.344 92.2776 119.585 93.789 119.605L217.365 121.248C231.531 121.248 238.406 134.556 234.606 147.671L233.011 153.189C232.53 154.855 231.014 156 229.291 156H3.90889C1.98075 156 0.330745 154.574 0.17634 152.64C0.0594555 151.175 0 149.695 0 148.2C0 119.723 21.6617 96.3403 49.306 93.8266C48.7387 91.2419 48.4375 88.5564 48.4375 85.8C48.4375 65.3379 64.919 48.75 85.25 48.75C93.3413 48.75 100.822 51.3789 106.897 55.8321C117.716 23.3806 148.176 0 184.062 0Z"+ fill="#F38020"+ />+</svg>diff --git a/plugins/entries/cloudflare/plugin.json b/plugins/entries/cloudflare/plugin.jsonnew file mode 100644index 000000000..c010f6caa--- /dev/null+++ b/plugins/entries/cloudflare/plugin.json@@ -0,0 +1,67 @@+{+ "schemaVersion": 1,+ "id": "cloudflare",+ "name": "Cloudflare",+ "description": "Manage Cloudflare zones, Workers, storage, and account services.",+ "primaryCategory": "Build",+ "tags": ["edge", "dns", "workers"],+ "capabilities": ["manage zones and DNS", "deploy Workers", "manage Cloudflare storage"],+ "publisher": {+ "name": "Cloudflare",+ "url": "https://www.cloudflare.com"+ },+ "maintainer": {+ "name": "Cloudflare",+ "url": "https://www.cloudflare.com"+ },+ "documentationUrl": "https://developers.cloudflare.com/agents/model-context-protocol/cloudflare/servers-for-cloudflare/",+ "sourceUrl": "https://github.com/cloudflare/mcp-server-cloudflare",+ "license": "Apache-2.0",+ "logo": {+ "provenance": {+ "sourceUrl": "https://www.cloudflare.com/logo.svg",+ "license": "Cloudflare brand asset"+ }+ },+ "platforms": ["web", "desktop", "mobile"],+ "transport": {+ "type": "url",+ "url": "https://mcp.cloudflare.com/mcp"+ },+ "connection": {+ "type": "verification-pending",+ "blocker": "Connection lifecycle not verified: install, OAuth, safe read, approved write, disable, reconnect, and removal."+ },+ "authentication": "oauth",+ "requiredCredentials": [],+ "setup": ["Wait for the Cloudflare connection lifecycle to pass."],+ "permissions": [+ {+ "id": "read-cloudflare-data",+ "description": "Read zones, Workers, storage, logs, and account data.",+ "approval": "read"+ },+ {+ "id": "change-cloudflare-services",+ "description": "Change production zones, Workers, storage, and security services.",+ "approval": "production"+ },+ {+ "id": "manage-cloudflare-secrets",+ "description": "Read or change Workers secrets and credentials.",+ "approval": "secrets"+ },+ {+ "id": "delete-cloudflare-resources",+ "description": "Delete zones, Workers, storage, or other resources.",+ "approval": "delete"+ },+ {+ "id": "change-cloudflare-account",+ "description": "Change account-wide settings and access.",+ "approval": "account-wide"+ }+ ],+ "approvals": ["production", "secrets", "delete", "account-wide"],+ "catalogStatus": "verification-pending"+}diff --git a/plugins/entries/coda/logo-dark.svg b/plugins/entries/coda/logo-dark.svgnew file mode 100644index 000000000..c3dee1470--- /dev/null+++ b/plugins/entries/coda/logo-dark.svg@@ -0,0 +1 @@+<svg fill="#F46A54" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M21.194 0H2.806A2.01 2.01 0 0 0 .8 2v20c0 1.1.903 2 2.006 2h18.388a2.01 2.01 0 0 0 2.006-2v-.933c-.033-1.2-.067-3.7-.067-4.834 0-.633-.468-1.166-1.07-1.166-.668 0-1.103.4-1.437.733-1.003.9-2.508 1.067-3.812.833-.601-.133-1.17-.3-1.638-.6-1.438-.833-2.374-2.4-2.374-4.066 0-1.667.936-3.2 2.374-4.067.502-.3 1.07-.467 1.638-.6 1.27-.233 2.809-.067 3.812.833.367.334.802.734 1.437.734.602 0 1.07-.534 1.07-1.167 0-1.1.034-3.633.067-4.833V2c0-1.1-.903-2-2.006-2Z"/></svg>diff --git a/plugins/entries/coda/logo.svg b/plugins/entries/coda/logo.svgnew file mode 100644index 000000000..c3dee1470--- /dev/null+++ b/plugins/entries/coda/logo.svg@@ -0,0 +1 @@+<svg fill="#F46A54" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M21.194 0H2.806A2.01 2.01 0 0 0 .8 2v20c0 1.1.903 2 2.006 2h18.388a2.01 2.01 0 0 0 2.006-2v-.933c-.033-1.2-.067-3.7-.067-4.834 0-.633-.468-1.166-1.07-1.166-.668 0-1.103.4-1.437.733-1.003.9-2.508 1.067-3.812.833-.601-.133-1.17-.3-1.638-.6-1.438-.833-2.374-2.4-2.374-4.066 0-1.667.936-3.2 2.374-4.067.502-.3 1.07-.467 1.638-.6 1.27-.233 2.809-.067 3.812.833.367.334.802.734 1.437.734.602 0 1.07-.534 1.07-1.167 0-1.1.034-3.633.067-4.833V2c0-1.1-.903-2-2.006-2Z"/></svg>diff --git a/plugins/entries/coda/plugin.json b/plugins/entries/coda/plugin.jsonnew file mode 100644index 000000000..6bbf6d479--- /dev/null+++ b/plugins/entries/coda/plugin.json@@ -0,0 +1,37 @@+{+ "schemaVersion": 1,+ "id": "coda",+ "name": "Coda",+ "description": "Read, create, update, and delete content in Coda docs.",+ "primaryCategory": "Work",+ "tags": ["documents", "tables", "knowledge"],+ "capabilities": [+ "read docs and tables",+ "create Coda content",+ "update Coda content",+ "delete Coda content"+ ],+ "publisher": { "name": "Coda", "url": "https://coda.io" },+ "maintainer": { "name": "Coda", "url": "https://coda.io" },+ "documentationUrl": "https://coda.io/developers/apis/v1",+ "sourceUrl": "https://coda.io/developers/apis/v1",+ "license": "Proprietary",+ "logo": {+ "provenance": { "sourceUrl": "https://simpleicons.org/?q=coda", "license": "CC0-1.0" }+ },+ "platforms": ["web", "desktop", "mobile"],+ "transport": { "type": "url", "url": "https://coda.io/apis/mcp" },+ "connection": {+ "type": "verification-pending",+ "blocker": "Connection lifecycle not verified: installation, OAuth, safe read and write, disable, reconnect, and removal."+ },+ "authentication": "oauth",+ "requiredCredentials": [],+ "setup": ["Wait for the Coda connection lifecycle to pass."],+ "permissions": [+ { "id": "read-coda-data", "description": "Read Coda docs and tables.", "approval": "read" },+ { "id": "delete-coda-data", "description": "Delete Coda content.", "approval": "delete" }+ ],+ "approvals": ["delete"],+ "catalogStatus": "verification-pending"+}diff --git a/plugins/entries/customer-io/logo-dark.svg b/plugins/entries/customer-io/logo-dark.svgnew file mode 100644index 000000000..89af4e96f--- /dev/null+++ b/plugins/entries/customer-io/logo-dark.svg@@ -0,0 +1,25 @@+<svg xmlns="http://www.w3.org/2000/svg" version="1.1" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svgjs="http://svgjs.dev/svgjs" width="1000" height="1000"><style>+ #light-icon {+ display: inline;+ }+ #dark-icon {+ display: none;+ }++ @media (prefers-color-scheme: dark) {+ #light-icon {+ display: none;+ }+ #dark-icon {+ display: inline;+ }+ }+ </style><g id="light-icon"><svg xmlns="http://www.w3.org/2000/svg" version="1.1" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svgjs="http://svgjs.dev/svgjs" width="1000" height="1000"><g clip-path="url(#SvgjsClipPath1191)"><rect width="1000" height="1000" fill="#0b353b"></rect><g transform="matrix(3.5398230088495577,0,0,3.5398230088495577,100,100)"><svg xmlns="http://www.w3.org/2000/svg" version="1.1" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svgjs="http://svgjs.dev/svgjs" width="226" height="226"><svg width="226" height="226" viewBox="0 0 226 226" fill="none" xmlns="http://www.w3.org/2000/svg">+<path d="M70.8125 113L113 155.188L70.8125 197.375H28.625V155.188L70.8125 113Z" fill="#E4FFCE"></path>+<path d="M70.8125 113L113 70.8125L70.8125 28.625H28.625V70.8125L70.8125 113Z" fill="#E4FFCE"></path>+<path d="M197.375 70.8125L155.188 28.625H113V70.8125L155.188 113L113 155.188V197.375H155.188L197.375 155.188V70.8125Z" fill="#E4FFCE"></path>+</svg></svg></g></g><defs><clipPath id="SvgjsClipPath1191"><rect width="1000" height="1000" x="0" y="0" rx="150" ry="150"></rect></clipPath></defs></svg></g><g id="dark-icon"><svg xmlns="http://www.w3.org/2000/svg" version="1.1" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svgjs="http://svgjs.dev/svgjs" width="1000" height="1000"><g clip-path="url(#SvgjsClipPath1192)"><rect width="1000" height="1000" fill="#e4ffce"></rect><g transform="matrix(3.5398230088495577,0,0,3.5398230088495577,100,100)"><svg xmlns="http://www.w3.org/2000/svg" version="1.1" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svgjs="http://svgjs.dev/svgjs" width="226" height="226"><svg width="226" height="226" viewBox="0 0 226 226" fill="none" xmlns="http://www.w3.org/2000/svg">+<path d="M70.8125 113L113 155.188L70.8125 197.375H28.625V155.188L70.8125 113Z" fill="#0B353B"></path>+<path d="M70.8125 113L113 70.8125L70.8125 28.625H28.625V70.8125L70.8125 113Z" fill="#0B353B"></path>+<path d="M197.375 70.8125L155.188 28.625H113V70.8125L155.188 113L113 155.188V197.375H155.188L197.375 155.188V70.8125Z" fill="#0B353B"></path>+</svg></svg></g></g><defs><clipPath id="SvgjsClipPath1192"><rect width="1000" height="1000" x="0" y="0" rx="150" ry="150"></rect></clipPath></defs></svg></g></svg>diff --git a/plugins/entries/customer-io/logo.svg b/plugins/entries/customer-io/logo.svgnew file mode 100644index 000000000..89af4e96f--- /dev/null+++ b/plugins/entries/customer-io/logo.svg@@ -0,0 +1,25 @@+<svg xmlns="http://www.w3.org/2000/svg" version="1.1" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svgjs="http://svgjs.dev/svgjs" width="1000" height="1000"><style>+ #light-icon {+ display: inline;+ }+ #dark-icon {+ display: none;+ }++ @media (prefers-color-scheme: dark) {+ #light-icon {+ display: none;+ }+ #dark-icon {+ display: inline;+ }+ }+ </style><g id="light-icon"><svg xmlns="http://www.w3.org/2000/svg" version="1.1" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svgjs="http://svgjs.dev/svgjs" width="1000" height="1000"><g clip-path="url(#SvgjsClipPath1191)"><rect width="1000" height="1000" fill="#0b353b"></rect><g transform="matrix(3.5398230088495577,0,0,3.5398230088495577,100,100)"><svg xmlns="http://www.w3.org/2000/svg" version="1.1" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svgjs="http://svgjs.dev/svgjs" width="226" height="226"><svg width="226" height="226" viewBox="0 0 226 226" fill="none" xmlns="http://www.w3.org/2000/svg">+<path d="M70.8125 113L113 155.188L70.8125 197.375H28.625V155.188L70.8125 113Z" fill="#E4FFCE"></path>+<path d="M70.8125 113L113 70.8125L70.8125 28.625H28.625V70.8125L70.8125 113Z" fill="#E4FFCE"></path>+<path d="M197.375 70.8125L155.188 28.625H113V70.8125L155.188 113L113 155.188V197.375H155.188L197.375 155.188V70.8125Z" fill="#E4FFCE"></path>+</svg></svg></g></g><defs><clipPath id="SvgjsClipPath1191"><rect width="1000" height="1000" x="0" y="0" rx="150" ry="150"></rect></clipPath></defs></svg></g><g id="dark-icon"><svg xmlns="http://www.w3.org/2000/svg" version="1.1" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svgjs="http://svgjs.dev/svgjs" width="1000" height="1000"><g clip-path="url(#SvgjsClipPath1192)"><rect width="1000" height="1000" fill="#e4ffce"></rect><g transform="matrix(3.5398230088495577,0,0,3.5398230088495577,100,100)"><svg xmlns="http://www.w3.org/2000/svg" version="1.1" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svgjs="http://svgjs.dev/svgjs" width="226" height="226"><svg width="226" height="226" viewBox="0 0 226 226" fill="none" xmlns="http://www.w3.org/2000/svg">+<path d="M70.8125 113L113 155.188L70.8125 197.375H28.625V155.188L70.8125 113Z" fill="#0B353B"></path>+<path d="M70.8125 113L113 70.8125L70.8125 28.625H28.625V70.8125L70.8125 113Z" fill="#0B353B"></path>+<path d="M197.375 70.8125L155.188 28.625H113V70.8125L155.188 113L113 155.188V197.375H155.188L197.375 155.188V70.8125Z" fill="#0B353B"></path>+</svg></svg></g></g><defs><clipPath id="SvgjsClipPath1192"><rect width="1000" height="1000" x="0" y="0" rx="150" ry="150"></rect></clipPath></defs></svg></g></svg>diff --git a/plugins/entries/customer-io/plugin.json b/plugins/entries/customer-io/plugin.jsonnew file mode 100644index 000000000..114e974c4--- /dev/null+++ b/plugins/entries/customer-io/plugin.json@@ -0,0 +1,77 @@+{+ "schemaVersion": 1,+ "id": "customer-io",+ "name": "Customer.io",+ "description": "Manage customer profiles, campaigns, and messages.",+ "primaryCategory": "Marketing",+ "tags": ["email", "automation", "support"],+ "capabilities": ["manage customer profiles", "build campaigns", "send customer messages"],+ "publisher": {+ "name": "Customer.io",+ "url": "https://customer.io"+ },+ "maintainer": {+ "name": "Customer.io",+ "url": "https://customer.io"+ },+ "documentationUrl": "https://docs.customer.io/ai/mcp/get-started/",+ "sourceUrl": "https://docs.customer.io/ai/mcp/get-started/",+ "license": "Proprietary",+ "logo": {+ "provenance": {+ "sourceUrl": "https://customer.io/favicon.svg",+ "license": "Customer.io brand asset"+ }+ },+ "platforms": ["web", "desktop", "mobile"],+ "transport": {+ "type": "url",+ "url": "https://mcp.customer.io/mcp"+ },+ "connection": {+ "type": "verification-pending",+ "blocker": "Connection lifecycle not verified: install, OAuth, safe read, approved write, disable, reconnect, and removal."+ },+ "authentication": "oauth",+ "requiredCredentials": [],+ "setup": ["Wait for the Customer.io connection lifecycle to pass."],+ "permissions": [+ {+ "id": "read-customer-data",+ "description": "Read profiles, segments, campaigns, and delivery results.",+ "approval": "read"+ },+ {+ "id": "send-customer-messages",+ "description": "Send email, push, SMS, or in-app messages.",+ "approval": "send"+ },+ {+ "id": "publish-campaigns",+ "description": "Publish customer campaigns.",+ "approval": "publishing"+ },+ {+ "id": "change-live-workflows",+ "description": "Change live campaign and automation workflows.",+ "approval": "production"+ },+ {+ "id": "manage-credentials",+ "description": "Change webhook and integration credentials.",+ "approval": "secrets"+ },+ {+ "id": "delete-customer-data",+ "description": "Delete profiles, campaigns, or content.",+ "approval": "delete"+ },+ {+ "id": "change-workspace",+ "description": "Change workspace-wide settings.",+ "approval": "account-wide"+ }+ ],+ "approvals": ["send", "publishing", "production", "secrets", "delete", "account-wide"],+ "catalogStatus": "verification-pending"+}diff --git a/plugins/entries/datadog/logo-dark.svg b/plugins/entries/datadog/logo-dark.svgnew file mode 100644index 000000000..71bda0bdf--- /dev/null+++ b/plugins/entries/datadog/logo-dark.svg@@ -0,0 +1,51 @@+<svg version="1.0" xmlns="http://www.w3.org/2000/svg"+ width="229.000000pt" height="229.000000pt" viewBox="0 0 229.000000 229.000000"+ preserveAspectRatio="xMidYMid meet">+<metadata>+Created by potrace 1.11, written by Peter Selinger 2001-2013+</metadata>+<g transform="translate(0.000000,229.000000) scale(0.100000,-0.100000)"+fill="#000000" stroke="none">+<path d="M970 2173 c-492 -58 -897 -106 -899 -108 -5 -6 223 -1845 231 -1857+7 -13 205 9 214 24 3 5 -19 32 -50 62 -63 60 -80 96 -71 146 11 62 53 118 151+202 127 110 167 164 172 237 5 64 -8 121 -39 170 -15 25 -23 31 -29 21 -6 -9+-10 -6 -15 11 -10 31 -35 60 -47 53 -5 -3 -12 3 -15 14 -3 13 -11 18 -19 15+-10 -4 -14 3 -14 23 0 16 -6 50 -14 75 -8 25 -17 75 -21 112 l-7 66 68 -5 c59+-5 76 -2 114 18 25 13 51 34 57 48 17 34 16 113 -2 185 -16 63 -105 288 -111+282 -3 -2 12 -66 31 -141 39 -153 42 -188 20 -244 -20 -48 -84 -92 -136 -92+-58 0 -145 66 -199 150 -42 66 -46 92 -20 141 14 29 18 44 10 49 -6 4 5 18 30+35 22 15 39 33 37 39 -2 6 8 16 22 23 l26 11 -25 1 c-42 2 124 71 171 71 35 0+46 -6 77 -41 39 -43 98 -79 130 -79 30 0 123 41 163 72 44 34 49 34 41 6 -5+-23 -5 -23 16 -4 20 17 22 17 22 2 0 -15 2 -15 30 -1 26 13 29 14 24 0 -5 -12+5 -15 61 -15 88 0 125 19 181 91 74 97 131 93 233 -16 66 -71 121 -172 121+-222 0 -112 -161 30 -205 180 -9 31 -25 67 -36 79 -20 23 -20 23 -14 1 3 -11+10 -55 14 -96 5 -41 16 -89 24 -107 9 -17 13 -38 10 -46 -4 -11 -11 -9 -35 11+-17 14 -49 35 -72 47 -38 19 -33 13 50 -73 107 -110 133 -155 141 -247 6 -60+12 -75 58 -142 29 -41 58 -93 65 -114 15 -48 8 -146 -15 -203 -16 -40 -18 -41+-77 -48 -68 -8 -86 1 -68 35 20 38 1 35 -43 -7 -98 -93 -166 -116 -262 -88+-65 19 -166 68 -235 114 -25 17 -47 26 -48 21 -5 -15 12 -34 94 -99 l72 -59+-36 -6 c-21 -3 -52 -6 -69 -6 -18 0 -33 -4 -33 -8 0 -4 16 -129 35 -277 19+-149 35 -273 35 -277 0 -5 -15 -8 -32 -8 -30 0 -35 5 -56 54 -30 69 -81 129+-139 163 -36 21 -63 27 -123 31 -51 3 -80 1 -84 -7 -5 -7 8 -11 41 -11 126 0+225 -101 269 -274 28 -112 -3 -210 -81 -250 -51 -26 -145 -28 -192 -3 -45 24+-41 7 7 -37 39 -35 43 -36 115 -36 86 0 141 21 173 67 26 39 32 57 46 143 11+70 14 75 38 78 25 3 26 1 38 -84 l12 -86 37 5 c20 3 272 33 561 68 289 34 526+63 527 64 2 1 -17 197 -42 435 -25 239 -45 441 -45 448 0 10 -9 13 -30 10 -16+-3 -30 -4 -30 -2 0 12 -101 1050 -105 1082 -6 41 -7 42 -43 41 -20 -1 -440+-49 -932 -106z m1103 -1452 c15 -189 26 -346 23 -348 -2 -3 -222 -44 -488 -92+l-483 -87 -7 30 c-11 53 -81 666 -77 671 3 2 32 8 66 14 47 7 72 6 109 -5 93+-28 166 -15 232 41 30 25 59 33 290 76 141 26 268 47 282 46 l25 -2 28 -344z"/>+<path d="M1941 865 c-29 -60 -62 -129 -73 -152 l-19 -43 -89 60 c-49 33 -93+60 -97 60 -4 0 -32 -42 -62 -93 -30 -50 -65 -108 -77 -128 l-23 -37 -82 24+c-46 13 -88 24 -94 24 -6 0 -45 -53 -88 -118 -69 -106 -77 -124 -77 -166 0+-40 3 -47 18 -42 9 3 208 40 442 82 234 43 426 78 427 79 3 2 -45 520 -50 545+-2 8 -27 -34 -56 -95z"/>+<path d="M1424 1664 c-24 -10 9 -129 39 -139 7 -2 29 -6 51 -9 l38 -5 -4 51+c-4 42 -11 57 -37 80 -29 26 -59 33 -87 22z"/>+<path d="M1015 1595 c-22 -8 -48 -24 -57 -36 -24 -28 -23 -97 1 -128 l18 -24+69 18 c38 10 75 23 82 28 15 12 16 93 1 102 -6 4 -8 14 -4 23 12 33 -42 41+-110 17z"/>+<path d="M1502 1309 c-122 -20 -147 -67 -66 -119 86 -54 129 -49 164 20 24 47+26 95 4 104 -19 7 -32 6 -102 -5z"/>+</g>+</svg>diff --git a/plugins/entries/datadog/logo.svg b/plugins/entries/datadog/logo.svgnew file mode 100644index 000000000..71bda0bdf--- /dev/null+++ b/plugins/entries/datadog/logo.svg@@ -0,0 +1,51 @@+<svg version="1.0" xmlns="http://www.w3.org/2000/svg"+ width="229.000000pt" height="229.000000pt" viewBox="0 0 229.000000 229.000000"+ preserveAspectRatio="xMidYMid meet">+<metadata>+Created by potrace 1.11, written by Peter Selinger 2001-2013+</metadata>+<g transform="translate(0.000000,229.000000) scale(0.100000,-0.100000)"+fill="#000000" stroke="none">+<path d="M970 2173 c-492 -58 -897 -106 -899 -108 -5 -6 223 -1845 231 -1857+7 -13 205 9 214 24 3 5 -19 32 -50 62 -63 60 -80 96 -71 146 11 62 53 118 151+202 127 110 167 164 172 237 5 64 -8 121 -39 170 -15 25 -23 31 -29 21 -6 -9+-10 -6 -15 11 -10 31 -35 60 -47 53 -5 -3 -12 3 -15 14 -3 13 -11 18 -19 15+-10 -4 -14 3 -14 23 0 16 -6 50 -14 75 -8 25 -17 75 -21 112 l-7 66 68 -5 c59+-5 76 -2 114 18 25 13 51 34 57 48 17 34 16 113 -2 185 -16 63 -105 288 -111+282 -3 -2 12 -66 31 -141 39 -153 42 -188 20 -244 -20 -48 -84 -92 -136 -92+-58 0 -145 66 -199 150 -42 66 -46 92 -20 141 14 29 18 44 10 49 -6 4 5 18 30+35 22 15 39 33 37 39 -2 6 8 16 22 23 l26 11 -25 1 c-42 2 124 71 171 71 35 0+46 -6 77 -41 39 -43 98 -79 130 -79 30 0 123 41 163 72 44 34 49 34 41 6 -5+-23 -5 -23 16 -4 20 17 22 17 22 2 0 -15 2 -15 30 -1 26 13 29 14 24 0 -5 -12+5 -15 61 -15 88 0 125 19 181 91 74 97 131 93 233 -16 66 -71 121 -172 121+-222 0 -112 -161 30 -205 180 -9 31 -25 67 -36 79 -20 23 -20 23 -14 1 3 -11+10 -55 14 -96 5 -41 16 -89 24 -107 9 -17 13 -38 10 -46 -4 -11 -11 -9 -35 11+-17 14 -49 35 -72 47 -38 19 -33 13 50 -73 107 -110 133 -155 141 -247 6 -60+12 -75 58 -142 29 -41 58 -93 65 -114 15 -48 8 -146 -15 -203 -16 -40 -18 -41+-77 -48 -68 -8 -86 1 -68 35 20 38 1 35 -43 -7 -98 -93 -166 -116 -262 -88+-65 19 -166 68 -235 114 -25 17 -47 26 -48 21 -5 -15 12 -34 94 -99 l72 -59+-36 -6 c-21 -3 -52 -6 -69 -6 -18 0 -33 -4 -33 -8 0 -4 16 -129 35 -277 19+-149 35 -273 35 -277 0 -5 -15 -8 -32 -8 -30 0 -35 5 -56 54 -30 69 -81 129+-139 163 -36 21 -63 27 -123 31 -51 3 -80 1 -84 -7 -5 -7 8 -11 41 -11 126 0+225 -101 269 -274 28 -112 -3 -210 -81 -250 -51 -26 -145 -28 -192 -3 -45 24+-41 7 7 -37 39 -35 43 -36 115 -36 86 0 141 21 173 67 26 39 32 57 46 143 11+70 14 75 38 78 25 3 26 1 38 -84 l12 -86 37 5 c20 3 272 33 561 68 289 34 526+63 527 64 2 1 -17 197 -42 435 -25 239 -45 441 -45 448 0 10 -9 13 -30 10 -16+-3 -30 -4 -30 -2 0 12 -101 1050 -105 1082 -6 41 -7 42 -43 41 -20 -1 -440+-49 -932 -106z m1103 -1452 c15 -189 26 -346 23 -348 -2 -3 -222 -44 -488 -92+l-483 -87 -7 30 c-11 53 -81 666 -77 671 3 2 32 8 66 14 47 7 72 6 109 -5 93+-28 166 -15 232 41 30 25 59 33 290 76 141 26 268 47 282 46 l25 -2 28 -344z"/>+<path d="M1941 865 c-29 -60 -62 -129 -73 -152 l-19 -43 -89 60 c-49 33 -93+60 -97 60 -4 0 -32 -42 -62 -93 -30 -50 -65 -108 -77 -128 l-23 -37 -82 24+c-46 13 -88 24 -94 24 -6 0 -45 -53 -88 -118 -69 -106 -77 -124 -77 -166 0+-40 3 -47 18 -42 9 3 208 40 442 82 234 43 426 78 427 79 3 2 -45 520 -50 545+-2 8 -27 -34 -56 -95z"/>+<path d="M1424 1664 c-24 -10 9 -129 39 -139 7 -2 29 -6 51 -9 l38 -5 -4 51+c-4 42 -11 57 -37 80 -29 26 -59 33 -87 22z"/>+<path d="M1015 1595 c-22 -8 -48 -24 -57 -36 -24 -28 -23 -97 1 -128 l18 -24+69 18 c38 10 75 23 82 28 15 12 16 93 1 102 -6 4 -8 14 -4 23 12 33 -42 41+-110 17z"/>+<path d="M1502 1309 c-122 -20 -147 -67 -66 -119 86 -54 129 -49 164 20 24 47+26 95 4 104 -19 7 -32 6 -102 -5z"/>+</g>+</svg>diff --git a/plugins/entries/datadog/plugin.json b/plugins/entries/datadog/plugin.jsonnew file mode 100644index 000000000..60ed5a443--- /dev/null+++ b/plugins/entries/datadog/plugin.json@@ -0,0 +1,66 @@+{+ "schemaVersion": 1,+ "id": "datadog",+ "name": "Datadog",+ "description": "Query telemetry and manage monitors, dashboards, incidents, and flags.",+ "primaryCategory": "Build",+ "tags": ["observability", "metrics", "incidents"],+ "capabilities": [+ "query logs and metrics",+ "investigate traces and incidents",+ "manage monitors and dashboards"+ ],+ "publisher": {+ "name": "Datadog",+ "url": "https://www.datadoghq.com"+ },+ "maintainer": {+ "name": "Datadog",+ "url": "https://www.datadoghq.com"+ },+ "documentationUrl": "https://docs.datadoghq.com/mcp_server/setup/",+ "sourceUrl": "https://github.com/datadog-labs/mcp-server",+ "license": "MIT",+ "logo": {+ "provenance": {+ "sourceUrl": "https://corp.dd-static.net/img/favicons/safari-pinned-tab.svg",+ "license": "Datadog brand asset"+ }+ },+ "platforms": ["web", "desktop", "mobile"],+ "transport": {+ "type": "url",+ "url": "https://mcp.datadoghq.com/v1/mcp"+ },+ "connection": {+ "type": "verification-pending",+ "blocker": "Connection lifecycle not verified: install, OAuth, safe read, approved write, disable, reconnect, and removal."+ },+ "authentication": "oauth",+ "requiredCredentials": [],+ "setup": ["Wait for the Datadog connection lifecycle to pass."],+ "permissions": [+ {+ "id": "read-observability-data",+ "description": "Read logs, metrics, traces, incidents, and service data.",+ "approval": "read"+ },+ {+ "id": "change-datadog-resources",+ "description": "Change production monitors, dashboards, incidents, notebooks, or flags.",+ "approval": "production"+ },+ {+ "id": "delete-datadog-resources",+ "description": "Delete dashboards or other shared resources.",+ "approval": "delete"+ },+ {+ "id": "change-datadog-organization",+ "description": "Change organization-wide monitoring configuration.",+ "approval": "account-wide"+ }+ ],+ "approvals": ["production", "delete", "account-wide"],+ "catalogStatus": "verification-pending"+}diff --git a/plugins/entries/docusign/logo-dark.svg b/plugins/entries/docusign/logo-dark.svgnew file mode 100644index 000000000..67b4758df--- /dev/null+++ b/plugins/entries/docusign/logo-dark.svg@@ -0,0 +1,5 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 194 194" fill="none">+ <path fill="#4C00FF" d="M139.5 139.5V189a4.7 4.7 0 0 1-4.7 4.7H4.7A4.7 4.7 0 0 1 0 189V59a4.7 4.7 0 0 1 4.7-4.7h49.4v80.5a4.7 4.7 0 0 0 4.7 4.7h80.7Z"/>+ <path fill="#FF5252" d="M193.7 69.7c0 41.6-24.3 69.7-54.2 69.8V87.1c0-1.5-.6-3-1.7-4l-27.2-27.2a5.6 5.6 0 0 0-4-1.7H54.2V4.8A4.7 4.7 0 0 1 58.9.1h73.3c34.8-.1 61.5 27.9 61.5 69.6Z"/>+ <path fill="#FFFFFF" d="M137.8 83a5.6 5.6 0 0 1 1.7 4v52.4H58.9a4.7 4.7 0 0 1-4.7-4.7V54.2h52.4c1.5 0 3 .6 4 1.7L137.8 83Z"/>+</svg>diff --git a/plugins/entries/docusign/logo.svg b/plugins/entries/docusign/logo.svgnew file mode 100644index 000000000..d68011631--- /dev/null+++ b/plugins/entries/docusign/logo.svg@@ -0,0 +1,5 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 194 194" fill="none">+ <path fill="#4C00FF" d="M139.5 139.5V189a4.7 4.7 0 0 1-4.7 4.7H4.7A4.7 4.7 0 0 1 0 189V59a4.7 4.7 0 0 1 4.7-4.7h49.4v80.5a4.7 4.7 0 0 0 4.7 4.7h80.7Z"/>+ <path fill="#FF5252" d="M193.7 69.7c0 41.6-24.3 69.7-54.2 69.8V87.1c0-1.5-.6-3-1.7-4l-27.2-27.2a5.6 5.6 0 0 0-4-1.7H54.2V4.8A4.7 4.7 0 0 1 58.9.1h73.3c34.8-.1 61.5 27.9 61.5 69.6Z"/>+ <path fill="#111827" d="M137.8 83a5.6 5.6 0 0 1 1.7 4v52.4H58.9a4.7 4.7 0 0 1-4.7-4.7V54.2h52.4c1.5 0 3 .6 4 1.7L137.8 83Z"/>+</svg>diff --git a/plugins/entries/docusign/plugin.json b/plugins/entries/docusign/plugin.jsonnew file mode 100644index 000000000..aeef6c559--- /dev/null+++ b/plugins/entries/docusign/plugin.json@@ -0,0 +1,78 @@+{+ "schemaVersion": 1,+ "id": "docusign",+ "name": "DocuSign",+ "description": "Prepare, send, sign, and manage DocuSign agreements.",+ "primaryCategory": "Commerce",+ "tags": ["agreements", "esignature", "contracts"],+ "capabilities": ["read agreements", "send envelopes", "apply signatures"],+ "publisher": {+ "name": "DocuSign",+ "url": "https://www.docusign.com"+ },+ "maintainer": {+ "name": "DocuSign",+ "url": "https://www.docusign.com"+ },+ "documentationUrl": "https://developers.docusign.com",+ "sourceUrl": "https://developers.docusign.com",+ "license": "Proprietary",+ "logo": {+ "provenance": {+ "sourceUrl": "https://media.brand.dev/ac000986-f6e8-4b6e-b389-8df5b5ae3873.svg",+ "license": "DocuSign trademark"+ }+ },+ "platforms": ["web", "desktop", "mobile"],+ "transport": {+ "type": "unavailable"+ },+ "connection": {+ "type": "approval-pending",+ "blocker": "DocuSign has not published a compatible first-party MCP endpoint or approved this OAuth integration."+ },+ "authentication": "oauth",+ "requiredCredentials": [],+ "setup": [+ "Wait for DocuSign to publish a supported MCP endpoint and approve this OAuth integration."+ ],+ "permissions": [+ {+ "id": "read-agreements",+ "description": "Read envelopes, templates, recipients, and agreement status.",+ "approval": "read"+ },+ {+ "id": "send-envelopes",+ "description": "Send envelopes or recipient reminders.",+ "approval": "send"+ },+ {+ "id": "write-live-agreements",+ "description": "Create or update production agreements and templates.",+ "approval": "production"+ },+ {+ "id": "delete-agreements",+ "description": "Delete or void envelopes and templates.",+ "approval": "delete"+ },+ {+ "id": "manage-integration-secrets",+ "description": "Change integration keys or other secret settings.",+ "approval": "secrets"+ },+ {+ "id": "apply-signatures",+ "description": "Apply, request, or complete electronic signatures.",+ "approval": "signatures"+ },+ {+ "id": "manage-account",+ "description": "Change account-wide DocuSign settings.",+ "approval": "account-wide"+ }+ ],+ "approvals": ["send", "delete", "production", "secrets", "signatures", "account-wide"],+ "catalogStatus": "approval-pending"+}diff --git a/plugins/entries/dropbox/logo-dark.svg b/plugins/entries/dropbox/logo-dark.svgnew file mode 100644index 000000000..b5c9c92da--- /dev/null+++ b/plugins/entries/dropbox/logo-dark.svg@@ -0,0 +1 @@+<svg fill="#3984FF" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M6 1.807 0 5.629l6 3.822 6.001-3.822L6 1.807zm12 0-6 3.822 6 3.822 6-3.822-6-3.822zM0 13.274l6 3.822 6.001-3.822L6 9.452l-6 3.822zm18-3.822-6 3.822 6 3.822 6-3.822-6-3.822zM6 18.371l6.001 3.822 6-3.822-6-3.822L6 18.371z"/></svg>diff --git a/plugins/entries/dropbox/logo.svg b/plugins/entries/dropbox/logo.svgnew file mode 100644index 000000000..f728adfbf--- /dev/null+++ b/plugins/entries/dropbox/logo.svg@@ -0,0 +1 @@+<svg fill="#0061FF" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M6 1.807 0 5.629l6 3.822 6.001-3.822L6 1.807zm12 0-6 3.822 6 3.822 6-3.822-6-3.822zM0 13.274l6 3.822 6.001-3.822L6 9.452l-6 3.822zm18-3.822-6 3.822 6 3.822 6-3.822-6-3.822zM6 18.371l6.001 3.822 6-3.822-6-3.822L6 18.371z"/></svg>diff --git a/plugins/entries/dropbox/plugin.json b/plugins/entries/dropbox/plugin.jsonnew file mode 100644index 000000000..004046114--- /dev/null+++ b/plugins/entries/dropbox/plugin.json@@ -0,0 +1,36 @@+{+ "schemaVersion": 1,+ "id": "dropbox",+ "name": "Dropbox",+ "description": "Read and delete files in Dropbox.",+ "primaryCategory": "Work",+ "tags": ["files", "storage", "documents"],+ "capabilities": ["identify the user", "read files", "delete files"],+ "publisher": { "name": "Dropbox", "url": "https://www.dropbox.com" },+ "maintainer": { "name": "Dropbox", "url": "https://www.dropbox.com" },+ "documentationUrl": "https://www.dropbox.com/developers",+ "sourceUrl": "https://www.dropbox.com/developers",+ "license": "Proprietary",+ "logo": {+ "provenance": { "sourceUrl": "https://simpleicons.org/?q=dropbox", "license": "CC0-1.0" }+ },+ "platforms": ["web", "desktop", "mobile"],+ "transport": { "type": "url", "url": "https://mcp.dropbox.com/mcp" },+ "connection": {+ "type": "approval-pending",+ "blocker": "Dropbox must approve and allowlist this app before Connect can be enabled."+ },+ "authentication": "oauth",+ "requiredCredentials": [],+ "setup": ["Wait for Dropbox to approve and allowlist this app."],+ "permissions": [+ {+ "id": "read-dropbox-data",+ "description": "Read Dropbox account and file data.",+ "approval": "read"+ },+ { "id": "delete-dropbox-file", "description": "Delete a Dropbox file.", "approval": "delete" }+ ],+ "approvals": ["delete"],+ "catalogStatus": "approval-pending"+}diff --git a/plugins/entries/exa/plugin.json b/plugins/entries/exa/plugin.jsonindex cc6aeef73..5c998b697 100644--- a/plugins/entries/exa/plugin.json+++ b/plugins/entries/exa/plugin.json@@ -6,7 +6,6 @@"primaryCategory": "Web","tags": ["search", "research", "code-search"],"capabilities": ["search the web", "find code", "research topics"],- "featuredRank": 3,"publisher": { "name": "Exa Labs", "url": "https://exa.ai" },"maintainer": { "name": "Exa Labs", "url": "https://exa.ai" },"documentationUrl": "https://exa.ai/mcp",diff --git a/plugins/entries/executor/plugin.json b/plugins/entries/executor/plugin.jsonindex 5d1c2f803..6c3545043 100644--- a/plugins/entries/executor/plugin.json+++ b/plugins/entries/executor/plugin.json@@ -6,7 +6,6 @@"primaryCategory": "Work","tags": ["integrations", "automation", "local"],"capabilities": ["use configured integrations", "run local integration tools"],- "featuredRank": 5,"publisher": { "name": "Useful Software Co.", "url": "https://executor.sh" },"maintainer": { "name": "Useful Software Co.", "url": "https://executor.sh" },"documentationUrl": "https://executor.sh/docs",diff --git a/plugins/entries/figma/logo-dark.svg b/plugins/entries/figma/logo-dark.svgnew file mode 100644index 000000000..b02bacf98--- /dev/null+++ b/plugins/entries/figma/logo-dark.svg@@ -0,0 +1 @@+<svg fill="#fff" role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>Figma</title><path d="M15.852 8.981h-4.588V0h4.588c2.476 0 4.49 2.014 4.49 4.49s-2.014 4.491-4.49 4.491zM12.735 7.51h3.117c1.665 0 3.019-1.355 3.019-3.019s-1.355-3.019-3.019-3.019h-3.117V7.51zm0 1.471H8.148c-2.476 0-4.49-2.014-4.49-4.49S5.672 0 8.148 0h4.588v8.981zm-4.587-7.51c-1.665 0-3.019 1.355-3.019 3.019s1.354 3.02 3.019 3.02h3.117V1.471H8.148zm4.587 15.019H8.148c-2.476 0-4.49-2.014-4.49-4.49s2.014-4.49 4.49-4.49h4.588v8.98zM8.148 8.981c-1.665 0-3.019 1.355-3.019 3.019s1.355 3.019 3.019 3.019h3.117V8.981H8.148zM8.172 24c-2.489 0-4.515-2.014-4.515-4.49s2.014-4.49 4.49-4.49h4.588v4.441c0 2.503-2.047 4.539-4.563 4.539zm-.024-7.51a3.023 3.023 0 0 0-3.019 3.019c0 1.665 1.365 3.019 3.044 3.019 1.705 0 3.093-1.376 3.093-3.068v-2.97H8.148zm7.704 0h-.098c-2.476 0-4.49-2.014-4.49-4.49s2.014-4.49 4.49-4.49h.098c2.476 0 4.49 2.014 4.49 4.49s-2.014 4.49-4.49 4.49zm-.097-7.509c-1.665 0-3.019 1.355-3.019 3.019s1.355 3.019 3.019 3.019h.098c1.665 0 3.019-1.355 3.019-3.019s-1.355-3.019-3.019-3.019h-.098z"/></svg>diff --git a/plugins/entries/figma/logo.svg b/plugins/entries/figma/logo.svgnew file mode 100644index 000000000..2bcf9f299--- /dev/null+++ b/plugins/entries/figma/logo.svg@@ -0,0 +1 @@+<svg role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>Figma</title><path d="M15.852 8.981h-4.588V0h4.588c2.476 0 4.49 2.014 4.49 4.49s-2.014 4.491-4.49 4.491zM12.735 7.51h3.117c1.665 0 3.019-1.355 3.019-3.019s-1.355-3.019-3.019-3.019h-3.117V7.51zm0 1.471H8.148c-2.476 0-4.49-2.014-4.49-4.49S5.672 0 8.148 0h4.588v8.981zm-4.587-7.51c-1.665 0-3.019 1.355-3.019 3.019s1.354 3.02 3.019 3.02h3.117V1.471H8.148zm4.587 15.019H8.148c-2.476 0-4.49-2.014-4.49-4.49s2.014-4.49 4.49-4.49h4.588v8.98zM8.148 8.981c-1.665 0-3.019 1.355-3.019 3.019s1.355 3.019 3.019 3.019h3.117V8.981H8.148zM8.172 24c-2.489 0-4.515-2.014-4.515-4.49s2.014-4.49 4.49-4.49h4.588v4.441c0 2.503-2.047 4.539-4.563 4.539zm-.024-7.51a3.023 3.023 0 0 0-3.019 3.019c0 1.665 1.365 3.019 3.044 3.019 1.705 0 3.093-1.376 3.093-3.068v-2.97H8.148zm7.704 0h-.098c-2.476 0-4.49-2.014-4.49-4.49s2.014-4.49 4.49-4.49h.098c2.476 0 4.49 2.014 4.49 4.49s-2.014 4.49-4.49 4.49zm-.097-7.509c-1.665 0-3.019 1.355-3.019 3.019s1.355 3.019 3.019 3.019h.098c1.665 0 3.019-1.355 3.019-3.019s-1.355-3.019-3.019-3.019h-.098z"/></svg>diff --git a/plugins/entries/figma/plugin.json b/plugins/entries/figma/plugin.jsonnew file mode 100644index 000000000..6c0d2d8b3--- /dev/null+++ b/plugins/entries/figma/plugin.json@@ -0,0 +1,57 @@+{+ "schemaVersion": 1,+ "id": "figma",+ "name": "Figma",+ "description": "Read design context and edit Figma canvases.",+ "primaryCategory": "Design",+ "tags": ["prototyping", "figjam", "design-systems"],+ "capabilities": ["read design context", "create Figma content", "edit Figma content"],+ "publisher": {+ "name": "Figma",+ "url": "https://www.figma.com"+ },+ "maintainer": {+ "name": "Figma",+ "url": "https://www.figma.com"+ },+ "documentationUrl": "https://developers.figma.com/docs/figma-mcp-server/remote-server-installation/",+ "sourceUrl": "https://github.com/figma/mcp-server-guide",+ "license": "Proprietary",+ "logo": {+ "provenance": {+ "sourceUrl": "https://raw.githubusercontent.com/simple-icons/simple-icons/develop/icons/figma.svg",+ "license": "CC0-1.0"+ }+ },+ "platforms": ["web", "desktop", "mobile"],+ "transport": {+ "type": "url",+ "url": "https://mcp.figma.com/mcp"+ },+ "connection": {+ "type": "approval-pending",+ "blocker": "Figma must add this client to the Figma MCP Catalog before its OAuth server accepts this client."+ },+ "authentication": "oauth",+ "requiredCredentials": [],+ "setup": ["Wait for Figma to approve this client, then connect through Figma OAuth."],+ "permissions": [+ {+ "id": "read-designs",+ "description": "Read files, components, variables, and design context.",+ "approval": "read"+ },+ {+ "id": "edit-designs",+ "description": "Create or update Figma and FigJam content.",+ "approval": "publishing"+ },+ {+ "id": "delete-designs",+ "description": "Delete Figma or FigJam content.",+ "approval": "delete"+ }+ ],+ "approvals": ["delete", "publishing"],+ "catalogStatus": "approval-pending"+}diff --git a/plugins/entries/firecrawl/plugin.json b/plugins/entries/firecrawl/plugin.jsonindex e7400f721..5cb79a439 100644--- a/plugins/entries/firecrawl/plugin.json+++ b/plugins/entries/firecrawl/plugin.json@@ -6,7 +6,6 @@"primaryCategory": "Web","tags": ["search", "scraping", "crawling", "extraction"],"capabilities": ["search the web", "crawl sites", "extract structured data"],- "featuredRank": 2,"publisher": { "name": "Firecrawl", "url": "https://www.firecrawl.dev" },"maintainer": { "name": "Firecrawl", "url": "https://www.firecrawl.dev" },"documentationUrl": "https://docs.firecrawl.dev/mcp-server/oauth",diff --git a/plugins/entries/framer/logo-dark.svg b/plugins/entries/framer/logo-dark.svgnew file mode 100644index 000000000..1c9ccaa60--- /dev/null+++ b/plugins/entries/framer/logo-dark.svg@@ -0,0 +1 @@+<svg fill="#fff" role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>Framer</title><path d="M4 0h16v8h-8zM4 8h8l8 8H4zM4 16h8v8z"/></svg>diff --git a/plugins/entries/framer/logo.svg b/plugins/entries/framer/logo.svgnew file mode 100644index 000000000..fadaf2a87--- /dev/null+++ b/plugins/entries/framer/logo.svg@@ -0,0 +1 @@+<svg role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>Framer</title><path d="M4 0h16v8h-8zM4 8h8l8 8H4zM4 16h8v8z"/></svg>diff --git a/plugins/entries/framer/plugin.json b/plugins/entries/framer/plugin.jsonnew file mode 100644index 000000000..f99dffeed--- /dev/null+++ b/plugins/entries/framer/plugin.json@@ -0,0 +1,61 @@+{+ "schemaVersion": 1,+ "id": "framer",+ "name": "Framer",+ "description": "Manage Framer sites when a first-party operator MCP becomes available.",+ "primaryCategory": "Design",+ "tags": ["websites", "cms", "publishing"],+ "capabilities": ["read site content", "edit site content", "publish sites"],+ "publisher": {+ "name": "Framer",+ "url": "https://www.framer.com"+ },+ "maintainer": {+ "name": "Framer",+ "url": "https://www.framer.com"+ },+ "documentationUrl": "https://www.framer.com/agents/external/",+ "sourceUrl": "https://www.framer.com/agents/external/",+ "license": "Proprietary",+ "logo": {+ "provenance": {+ "sourceUrl": "https://raw.githubusercontent.com/simple-icons/simple-icons/develop/icons/framer.svg",+ "license": "CC0-1.0"+ }+ },+ "platforms": ["web", "desktop", "mobile"],+ "transport": {+ "type": "unavailable"+ },+ "connection": {+ "type": "approval-pending",+ "blocker": "Framer's native External Agent setup does not expose a verified MCP transport."+ },+ "authentication": "none",+ "requiredCredentials": [],+ "setup": ["Wait for Framer to expose a verified MCP transport."],+ "permissions": [+ {+ "id": "read-sites",+ "description": "Read Framer projects and site content.",+ "approval": "read"+ },+ {+ "id": "change-sites",+ "description": "Change live Framer content or CMS data.",+ "approval": "production"+ },+ {+ "id": "delete-site-data",+ "description": "Delete Framer CMS data.",+ "approval": "delete"+ },+ {+ "id": "publish-sites",+ "description": "Publish a Framer site.",+ "approval": "publishing"+ }+ ],+ "approvals": ["delete", "production", "publishing"],+ "catalogStatus": "approval-pending"+}diff --git a/plugins/entries/github/logo-dark.svg b/plugins/entries/github/logo-dark.svgnew file mode 100644index 000000000..b52278ca9--- /dev/null+++ b/plugins/entries/github/logo-dark.svg@@ -0,0 +1,3 @@+<svg width="32" height="32" viewBox="0 0 32 32" fill="#fff" xmlns="http://www.w3.org/2000/svg">+<path fill-rule="evenodd" clip-rule="evenodd" d="M16 0C7.16 0 0 7.16 0 16C0 23.08 4.58 29.06 10.94 31.18C11.74 31.32 12.04 30.84 12.04 30.42C12.04 30.04 12.02 28.78 12.02 27.44C8 28.18 6.96 26.46 6.64 25.56C6.46 25.1 5.68 23.68 5 23.3C4.44 23 3.64 22.26 4.98 22.24C6.24 22.22 7.14 23.4 7.44 23.88C8.88 26.3 11.18 25.62 12.1 25.2C12.24 24.16 12.66 23.46 13.12 23.06C9.56 22.66 5.84 21.28 5.84 15.16C5.84 13.42 6.46 11.98 7.48 10.86C7.32 10.46 6.76 8.82 7.64 6.62C7.64 6.62 8.98 6.2 12.04 8.26C13.32 7.9 14.68 7.72 16.04 7.72C17.4 7.72 18.76 7.9 20.04 8.26C23.1 6.18 24.44 6.62 24.44 6.62C25.32 8.82 24.76 10.46 24.6 10.86C25.62 11.98 26.24 13.4 26.24 15.16C26.24 21.3 22.5 22.66 18.94 23.06C19.52 23.56 20.02 24.52 20.02 26.02C20.02 28.16 20 29.88 20 30.42C20 30.84 20.3 31.34 21.1 31.18C27.42 29.06 32 23.06 32 16C32 7.16 24.84 0 16 0V0Z" fill="#24292E"/>+</svg>diff --git a/plugins/entries/github/logo.svg b/plugins/entries/github/logo.svgnew file mode 100644index 000000000..bf1081a0e--- /dev/null+++ b/plugins/entries/github/logo.svg@@ -0,0 +1,3 @@+<svg width="32" height="32" viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg">+<path fill-rule="evenodd" clip-rule="evenodd" d="M16 0C7.16 0 0 7.16 0 16C0 23.08 4.58 29.06 10.94 31.18C11.74 31.32 12.04 30.84 12.04 30.42C12.04 30.04 12.02 28.78 12.02 27.44C8 28.18 6.96 26.46 6.64 25.56C6.46 25.1 5.68 23.68 5 23.3C4.44 23 3.64 22.26 4.98 22.24C6.24 22.22 7.14 23.4 7.44 23.88C8.88 26.3 11.18 25.62 12.1 25.2C12.24 24.16 12.66 23.46 13.12 23.06C9.56 22.66 5.84 21.28 5.84 15.16C5.84 13.42 6.46 11.98 7.48 10.86C7.32 10.46 6.76 8.82 7.64 6.62C7.64 6.62 8.98 6.2 12.04 8.26C13.32 7.9 14.68 7.72 16.04 7.72C17.4 7.72 18.76 7.9 20.04 8.26C23.1 6.18 24.44 6.62 24.44 6.62C25.32 8.82 24.76 10.46 24.6 10.86C25.62 11.98 26.24 13.4 26.24 15.16C26.24 21.3 22.5 22.66 18.94 23.06C19.52 23.56 20.02 24.52 20.02 26.02C20.02 28.16 20 29.88 20 30.42C20 30.84 20.3 31.34 21.1 31.18C27.42 29.06 32 23.06 32 16C32 7.16 24.84 0 16 0V0Z" fill="#24292E"/>+</svg>diff --git a/plugins/entries/github/plugin.json b/plugins/entries/github/plugin.jsonnew file mode 100644index 000000000..9a163bc0e--- /dev/null+++ b/plugins/entries/github/plugin.json@@ -0,0 +1,81 @@+{+ "schemaVersion": 1,+ "id": "github",+ "name": "GitHub",+ "description": "Work with repositories, issues, pull requests, actions, and releases.",+ "primaryCategory": "Build",+ "tags": ["git", "code", "collaboration"],+ "capabilities": [+ "read repositories",+ "manage issues and pull requests",+ "run repository actions"+ ],+ "publisher": {+ "name": "GitHub",+ "url": "https://github.com"+ },+ "maintainer": {+ "name": "GitHub",+ "url": "https://github.com"+ },+ "documentationUrl": "https://docs.github.com/en/copilot/how-tos/provide-context/use-mcp/set-up-the-github-mcp-server",+ "sourceUrl": "https://github.com/github/github-mcp-server",+ "license": "MIT",+ "logo": {+ "provenance": {+ "sourceUrl": "https://github.githubassets.com/favicons/favicon.svg",+ "license": "GitHub brand asset"+ }+ },+ "platforms": ["web", "desktop", "mobile"],+ "transport": {+ "type": "url",+ "url": "https://api.githubcopilot.com/mcp/"+ },+ "connection": {+ "type": "verification-pending",+ "blocker": "OAuth and connection lifecycle not verified."+ },+ "authentication": "oauth",+ "requiredCredentials": [],+ "setup": ["Complete GitHub OAuth and connection lifecycle verification."],+ "permissions": [+ {+ "id": "read-repository-data",+ "description": "Read repositories, issues, pull requests, actions, and releases.",+ "approval": "read"+ },+ {+ "id": "send-github-content",+ "description": "Create issues, comments, reviews, or discussions.",+ "approval": "send"+ },+ {+ "id": "publish-releases",+ "description": "Publish releases or packages.",+ "approval": "publishing"+ },+ {+ "id": "change-repositories",+ "description": "Change production code, branches, workflows, or settings.",+ "approval": "production"+ },+ {+ "id": "manage-repository-secrets",+ "description": "Read or change repository and action secrets.",+ "approval": "secrets"+ },+ {+ "id": "delete-repository-data",+ "description": "Delete repository data or resources.",+ "approval": "delete"+ },+ {+ "id": "change-organization",+ "description": "Change organization-wide repositories, teams, or access.",+ "approval": "account-wide"+ }+ ],+ "approvals": ["send", "publishing", "production", "secrets", "delete", "account-wide"],+ "catalogStatus": "verification-pending"+}diff --git a/plugins/entries/help-scout/logo-dark.svg b/plugins/entries/help-scout/logo-dark.svgnew file mode 100644index 000000000..95d36c2b7--- /dev/null+++ b/plugins/entries/help-scout/logo-dark.svg@@ -0,0 +1 @@+<svg fill="#fff" role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>Help Scout</title><path d="m3.497 14.044 7.022-7.021a4.946 4.946 0 0 0 1.474-3.526A4.99 4.99 0 0 0 10.563 0L3.54 7.024a4.945 4.945 0 0 0-1.473 3.525c0 1.373.55 2.6 1.43 3.496zm17.007-4.103-7.023 7.022a4.946 4.946 0 0 0-1.473 3.525c0 1.36.55 2.601 1.43 3.497l7.022-7.022a4.943 4.943 0 0 0 1.474-3.526c0-1.373-.55-2.6-1.43-3.496zm-.044-2.904a4.944 4.944 0 0 0 1.474-3.525c0-1.36-.55-2.6-1.43-3.497L3.54 16.965A4.986 4.986 0 0 0 3.497 24Z"/></svg>diff --git a/plugins/entries/help-scout/logo.svg b/plugins/entries/help-scout/logo.svgnew file mode 100644index 000000000..68f15b71f--- /dev/null+++ b/plugins/entries/help-scout/logo.svg@@ -0,0 +1 @@+<svg role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>Help Scout</title><path d="m3.497 14.044 7.022-7.021a4.946 4.946 0 0 0 1.474-3.526A4.99 4.99 0 0 0 10.563 0L3.54 7.024a4.945 4.945 0 0 0-1.473 3.525c0 1.373.55 2.6 1.43 3.496zm17.007-4.103-7.023 7.022a4.946 4.946 0 0 0-1.473 3.525c0 1.36.55 2.601 1.43 3.497l7.022-7.022a4.943 4.943 0 0 0 1.474-3.526c0-1.373-.55-2.6-1.43-3.496zm-.044-2.904a4.944 4.944 0 0 0 1.474-3.525c0-1.36-.55-2.6-1.43-3.497L3.54 16.965A4.986 4.986 0 0 0 3.497 24Z"/></svg>diff --git a/plugins/entries/help-scout/plugin.json b/plugins/entries/help-scout/plugin.jsonnew file mode 100644index 000000000..ad9569a73--- /dev/null+++ b/plugins/entries/help-scout/plugin.json@@ -0,0 +1,73 @@+{+ "schemaVersion": 1,+ "id": "help-scout",+ "name": "Help Scout",+ "description": "Manage Help Scout support work when a verified MCP becomes available.",+ "primaryCategory": "Support",+ "tags": ["customer-support", "mailbox", "docs"],+ "capabilities": ["read conversations", "reply to customers", "manage docs"],+ "publisher": {+ "name": "Help Scout",+ "url": "https://www.helpscout.com"+ },+ "maintainer": {+ "name": "Help Scout",+ "url": "https://www.helpscout.com"+ },+ "documentationUrl": "https://developer.helpscout.com",+ "sourceUrl": "https://developer.helpscout.com",+ "license": "Proprietary",+ "logo": {+ "provenance": {+ "sourceUrl": "https://raw.githubusercontent.com/simple-icons/simple-icons/develop/icons/helpscout.svg",+ "license": "CC0-1.0"+ }+ },+ "platforms": ["web", "desktop", "mobile"],+ "transport": {+ "type": "unavailable"+ },+ "connection": {+ "type": "approval-pending",+ "blocker": "Help Scout has no verified first-party or maintainer-approved MCP server."+ },+ "authentication": "none",+ "requiredCredentials": [],+ "setup": [+ "Wait for Help Scout or an approved maintainer to publish a verified MCP connection recipe."+ ],+ "permissions": [+ {+ "id": "read-support-data",+ "description": "Read mailboxes, conversations, customers, reports, and docs.",+ "approval": "read"+ },+ {+ "id": "reply-to-customers",+ "description": "Send replies, notes, or new conversations.",+ "approval": "send"+ },+ {+ "id": "write-support-data",+ "description": "Create or update production support data and workflows.",+ "approval": "production"+ },+ {+ "id": "delete-support-data",+ "description": "Delete conversations, customers, or docs.",+ "approval": "delete"+ },+ {+ "id": "publish-docs",+ "description": "Create or publish Help Scout Docs content.",+ "approval": "publishing"+ },+ {+ "id": "manage-account",+ "description": "Change account-wide Help Scout settings.",+ "approval": "account-wide"+ }+ ],+ "approvals": ["send", "delete", "production", "publishing", "account-wide"],+ "catalogStatus": "approval-pending"+}diff --git a/plugins/entries/hubspot/logo-dark.svg b/plugins/entries/hubspot/logo-dark.svgnew file mode 100644index 000000000..346d01db1--- /dev/null+++ b/plugins/entries/hubspot/logo-dark.svg@@ -0,0 +1,39 @@+<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 585.44 165.95" width="106px" height="30px">+ <defs>+ <style>+ .cls-1 {+ fill:none;+ }+ .cls-2,+ .cls-3 {+ fill: #ffffff;+ }+ .cls-2 {+ clip-path:url(#clip-path);+ }+ .cls-3 {+ clip-path:url(#clip-path-2);+ }+ </style>+ <clipPath id="clip-path" transform="translate(0 0)">+ <rect class="cls-1" width="585.44" height="165.96"/>+ </clipPath>+ <clipPath id="clip-path-2" transform="translate(0 0)">+ <rect class="cls-1" x="376.04" width="156.14" height="163.62"/>+ </clipPath>+ </defs>+ <title>Logo - Full (White)</title>+ <g id="Layer_2" data-name="Layer 2">+ <g class="cls-2">+ <polygon points="63.4 27.47 63.4 74.28 20.41 74.28 20.41 27.47 0 27.47 0 139.21 20.41 139.21 20.41 93.92 63.4 93.92 63.4 139.21 83.81 139.21 83.81 27.47 63.4 27.47"/>+ <path d="M149.13,103.09a16.88,16.88,0,0,1-33.77,0V55.23H96v47.86a36.21,36.21,0,0,0,72.42,0V55.23H149.13Z" transform="translate(0 0)"/>+ <path d="M292.57,60.16c0-9.81,6.49-12.92,13.6-12.92,5.73,0,13.3,4.36,18.25,9.65L337.1,41.95c-6.33-8.56-19.17-14.48-29.68-14.48-21,0-36.19,12.3-36.19,32.69,0,37.83,46.24,25.83,46.24,47,0,6.53-6.34,12.3-13.6,12.3-11.45,0-15.16-5.6-20.42-11.52l-14.07,14.63c9,11.05,20.1,16.66,33.4,16.66,19.95,0,36-12.45,36-31.91,0-42-46.24-28.95-46.24-47.16" transform="translate(0 0)"/>+ <path d="M578.63,121.36c-11.44,0-14.69-4.95-14.69-12.53V75.28h17.78v-17H563.94V35.85l-19.63,8.81V113c0,17.48,12.06,26.29,28.6,26.29a39.62,39.62,0,0,0,7.74-.62l4.79-17.63c-2.16.15-4.64.3-6.81.3" transform="translate(0 0)"/>+ <path d="M222.82,55.79c-9.59,0-16.28,2.78-22.75,9.13V28.14H180.68V96.31c0,25.52,18.45,43,39.18,43,23,0,43.23-17.79,43.23-41.75,0-23.66-18.62-41.76-40.27-41.76m-.12,64a22,22,0,1,1,22-22,22,22,0,0,1-22,22" transform="translate(0 0)"/>+ <path d="M433.36,96.54c0-24-20.19-41.75-43.23-41.75-20.73,0-39.18,17.48-39.18,43V166h19.39V129.17c6.46,6.34,13.16,9.13,22.74,9.13,21.65,0,40.27-18.09,40.27-41.76M415,96.3a22,22,0,1,1-22-22,22,22,0,0,1,22,22" transform="translate(0 0)"/>+ </g>+ <g class="cls-3">+ <path d="M496,53.85V34.37a15,15,0,0,0,8.65-13.52v-.45a15,15,0,0,0-15-15h-.45a15,15,0,0,0-15,15v.45a15,15,0,0,0,8.65,13.52V53.85a42.48,42.48,0,0,0-20.2,8.89L409.23,21.13a16.75,16.75,0,0,0,.6-4.21,16.9,16.9,0,1,0-16.92,16.87,16.72,16.72,0,0,0,8.32-2.26l52.61,40.93a42.61,42.61,0,0,0,.65,48l-16,16a13.74,13.74,0,0,0-4-.65,13.88,13.88,0,1,0,13.89,13.89,13.7,13.7,0,0,0-.65-4l15.83-15.83A42.68,42.68,0,1,0,496,53.85m-6.56,64.06A21.9,21.9,0,1,1,511.36,96a21.9,21.9,0,0,1-21.9,21.9" transform="translate(0 0)"/>+ </g>+ </g>+</svg>diff --git a/plugins/entries/hubspot/logo.svg b/plugins/entries/hubspot/logo.svgnew file mode 100644index 000000000..4a5701c2d--- /dev/null+++ b/plugins/entries/hubspot/logo.svg@@ -0,0 +1,20 @@+<svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1913.298 542.363" width="106" height="30">+ <defs>+ <style>+ .cls-1 {+ fill: #ff2f00;+ }+ </style>+ </defs>+ <g id="HubSpot_Logo" data-name="HubSpot Logo">+ <g>+ <polygon class="cls-1" points="207.213 306.956 66.717 306.956 66.717 454.956 0 454.956 0 89.777 66.717 89.777 66.717 242.77 207.213 242.77 207.213 89.777 273.915 89.777 273.915 454.956 207.213 454.956 207.213 306.956"/>+ <path class="cls-1" d="M487.389,336.922c0,30.414-24.775,55.161-55.183,55.161s-55.175-24.747-55.175-55.161v-156.409h-63.176v156.409c0,65.254,53.093,118.334,118.351,118.334s118.337-53.08,118.337-118.334v-156.409h-63.154v156.409Z"/>+ <path class="cls-1" d="M956.173,196.617c0-32.068,21.226-42.237,44.464-42.237,18.712,0,43.472,14.241,59.627,31.545l41.43-48.838c-20.703-27.972-62.642-47.311-97.008-47.311-68.741,0-118.268,40.193-118.268,106.84,0,123.616,151.117,84.432,151.117,153.636,0,21.342-20.714,40.182-44.459,40.182-37.41,0-49.545-18.315-66.721-37.649l-45.998,47.811c29.328,36.122,65.706,54.447,109.171,54.447,65.194,0,117.756-40.7,117.756-104.3,0-137.35-151.112-94.612-151.112-154.127Z"/>+ <path class="cls-1" d="M1891.044,396.619c-37.384,0-47.994-16.163-47.994-40.937v-109.66h58.105v-55.586h-58.105v-73.29l-64.167,28.803v223.382c0,57.114,39.404,85.926,93.46,85.926,8.086,0,19.216-.522,25.286-2.021l15.67-57.609c-7.073.488-15.156.992-22.255.992Z"/>+ <path class="cls-1" d="M728.198,182.343c-31.337,0-53.21,9.096-74.334,29.83v-120.215h-63.378v222.795c0,83.391,60.291,140.504,128.034,140.504,75.304,0,141.284-58.129,141.284-136.451,0-77.33-60.842-136.462-131.606-136.462ZM727.804,391.472c-39.703,0-71.884-32.183-71.884-71.883s32.181-71.883,71.884-71.883,71.882,32.184,71.882,71.883-32.184,71.883-71.882,71.883Z"/>+ <path class="cls-1" d="M1416.266,315.515c0-78.323-65.98-136.451-141.284-136.451-67.743,0-128.034,57.113-128.034,140.504v222.795h63.378v-120.215c21.124,20.734,42.997,29.83,74.334,29.83,70.764,0,131.606-59.132,131.606-136.462ZM1356.148,314.733c0,39.699-32.184,71.883-71.882,71.883s-71.884-32.184-71.884-71.883,32.181-71.883,71.884-71.883,71.882,32.183,71.882,71.883Z"/>+ <path class="cls-1" d="M1621.06,175.994v-63.662c16.616-7.85,28.259-24.661,28.259-44.172v-1.471c0-26.924-22.03-48.953-48.953-48.953h-1.47c-26.925,0-48.955,22.029-48.955,48.953v1.471c0,19.51,11.645,36.324,28.262,44.173v63.662c-24.741,3.822-47.348,14.026-66,29.043l-174.793-135.972c1.15-4.428,1.957-8.99,1.962-13.778C1339.412,24.793,1314.722.039,1284.225,0c-30.497-.038-55.251,24.652-55.29,55.149-.037,30.496,24.652,55.249,55.15,55.288,9.939.012,19.137-2.81,27.201-7.396l171.944,133.759c-14.625,22.072-23.188,48.512-23.188,76.973,0,29.799,9.412,57.359,25.322,80.031l-52.291,52.291c-4.134-1.24-8.425-2.108-12.965-2.108-25.059,0-45.375,20.316-45.375,45.375s20.317,45.375,45.375,45.375,45.375-20.316,45.375-45.375c0-4.538-.867-8.83-2.108-12.964l51.725-51.724c23.478,17.924,52.715,28.689,84.534,28.689,77.092,0,139.588-62.498,139.588-139.592,0-69.789-51.27-127.446-118.163-137.778ZM1599.635,385.339c-39.526,0-71.572-32.041-71.572-71.567s32.046-71.567,71.572-71.567,71.567,32.042,71.567,71.567-32.046,71.567-71.567,71.567Z"/>+ </g>+ </g>+</svg>diff --git a/plugins/entries/hubspot/plugin.json b/plugins/entries/hubspot/plugin.jsonnew file mode 100644index 000000000..03ec8451d--- /dev/null+++ b/plugins/entries/hubspot/plugin.json@@ -0,0 +1,52 @@+{+ "schemaVersion": 1,+ "id": "hubspot",+ "name": "HubSpot",+ "description": "Read and update CRM records, deals, tickets, and engagements.",+ "primaryCategory": "Marketing",+ "tags": ["crm", "sales", "marketing"],+ "capabilities": ["read CRM records", "update CRM records", "create tasks and notes"],+ "publisher": {+ "name": "HubSpot",+ "url": "https://www.hubspot.com"+ },+ "maintainer": {+ "name": "HubSpot",+ "url": "https://www.hubspot.com"+ },+ "documentationUrl": "https://developers.hubspot.com/docs/apps/developer-platform/build-apps/integrate-with-the-remote-hubspot-mcp-server",+ "sourceUrl": "https://developers.hubspot.com/ai-tools/mcp",+ "license": "Proprietary",+ "logo": {+ "provenance": {+ "sourceUrl": "https://www.hubspot.com/hubfs/HubSpot_Logos/HSLogo_color.svg",+ "license": "HubSpot brand asset"+ }+ },+ "platforms": ["web", "desktop", "mobile"],+ "transport": {+ "type": "url",+ "url": "https://mcp.hubspot.com"+ },+ "connection": {+ "type": "approval-pending",+ "blocker": "Needs a HubSpot MCP authorization app before OAuth can complete."+ },+ "authentication": "oauth",+ "requiredCredentials": [],+ "setup": ["Wait for a HubSpot MCP authorization app."],+ "permissions": [+ {+ "id": "read-crm-data",+ "description": "Read CRM records, owners, teams, and marketing data.",+ "approval": "read"+ },+ {+ "id": "change-crm-records",+ "description": "Create or update shared CRM records and engagements.",+ "approval": "account-wide"+ }+ ],+ "approvals": ["account-wide"],+ "catalogStatus": "approval-pending"+}diff --git a/plugins/entries/intercom/logo-dark.svg b/plugins/entries/intercom/logo-dark.svgnew file mode 100644index 000000000..1803aba08--- /dev/null+++ b/plugins/entries/intercom/logo-dark.svg@@ -0,0 +1 @@+<svg fill="#fff" role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>Intercom</title><path d="M21 0H3C1.343 0 0 1.343 0 3v18c0 1.658 1.343 3 3 3h18c1.658 0 3-1.342 3-3V3c0-1.657-1.342-3-3-3zm-5.801 4.399c0-.44.36-.8.802-.8.44 0 .8.36.8.8v10.688c0 .442-.36.801-.8.801-.443 0-.802-.359-.802-.801V4.399zM11.2 3.994c0-.44.357-.799.8-.799s.8.359.8.799v11.602c0 .44-.357.8-.8.8s-.8-.36-.8-.8V3.994zm-4 .405c0-.44.359-.8.799-.8.443 0 .802.36.802.8v10.688c0 .442-.36.801-.802.801-.44 0-.799-.359-.799-.801V4.399zM3.199 6c0-.442.36-.8.802-.8.44 0 .799.358.799.8v7.195c0 .441-.359.8-.799.8-.443 0-.802-.36-.802-.8V6zM20.52 18.202c-.123.105-3.086 2.593-8.52 2.593-5.433 0-8.397-2.486-8.521-2.593-.335-.288-.375-.792-.086-1.128.285-.334.79-.375 1.125-.09.047.041 2.693 2.211 7.481 2.211 4.848 0 7.456-2.186 7.479-2.207.334-.289.839-.25 1.128.086.289.336.25.84-.086 1.128zm.281-5.007c0 .441-.36.8-.801.8-.441 0-.801-.36-.801-.8V6c0-.442.361-.8.801-.8.441 0 .801.357.801.8v7.195z"/></svg>diff --git a/plugins/entries/intercom/logo.svg b/plugins/entries/intercom/logo.svgnew file mode 100644index 000000000..9c66ccddc--- /dev/null+++ b/plugins/entries/intercom/logo.svg@@ -0,0 +1 @@+<svg role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>Intercom</title><path d="M21 0H3C1.343 0 0 1.343 0 3v18c0 1.658 1.343 3 3 3h18c1.658 0 3-1.342 3-3V3c0-1.657-1.342-3-3-3zm-5.801 4.399c0-.44.36-.8.802-.8.44 0 .8.36.8.8v10.688c0 .442-.36.801-.8.801-.443 0-.802-.359-.802-.801V4.399zM11.2 3.994c0-.44.357-.799.8-.799s.8.359.8.799v11.602c0 .44-.357.8-.8.8s-.8-.36-.8-.8V3.994zm-4 .405c0-.44.359-.8.799-.8.443 0 .802.36.802.8v10.688c0 .442-.36.801-.802.801-.44 0-.799-.359-.799-.801V4.399zM3.199 6c0-.442.36-.8.802-.8.44 0 .799.358.799.8v7.195c0 .441-.359.8-.799.8-.443 0-.802-.36-.802-.8V6zM20.52 18.202c-.123.105-3.086 2.593-8.52 2.593-5.433 0-8.397-2.486-8.521-2.593-.335-.288-.375-.792-.086-1.128.285-.334.79-.375 1.125-.09.047.041 2.693 2.211 7.481 2.211 4.848 0 7.456-2.186 7.479-2.207.334-.289.839-.25 1.128.086.289.336.25.84-.086 1.128zm.281-5.007c0 .441-.36.8-.801.8-.441 0-.801-.36-.801-.8V6c0-.442.361-.8.801-.8.441 0 .801.357.801.8v7.195z"/></svg>diff --git a/plugins/entries/intercom/plugin.json b/plugins/entries/intercom/plugin.jsonnew file mode 100644index 000000000..876ede504--- /dev/null+++ b/plugins/entries/intercom/plugin.json@@ -0,0 +1,57 @@+{+ "schemaVersion": 1,+ "id": "intercom",+ "name": "Intercom",+ "description": "Read customer conversations and manage help content in Intercom.",+ "primaryCategory": "Support",+ "tags": ["customer-support", "inbox", "help-center"],+ "capabilities": ["search conversations", "read customer records", "manage help content"],+ "publisher": {+ "name": "Intercom",+ "url": "https://www.intercom.com"+ },+ "maintainer": {+ "name": "Intercom",+ "url": "https://www.intercom.com"+ },+ "documentationUrl": "https://developers.intercom.com/docs/guides/mcp",+ "sourceUrl": "https://github.com/intercom/intercom-mcp-server",+ "license": "Proprietary",+ "logo": {+ "provenance": {+ "sourceUrl": "https://raw.githubusercontent.com/simple-icons/simple-icons/develop/icons/intercom.svg",+ "license": "CC0-1.0"+ }+ },+ "platforms": ["web", "desktop", "mobile"],+ "transport": {+ "type": "url",+ "url": "https://mcp.intercom.com/mcp"+ },+ "connection": {+ "type": "verification-pending",+ "blocker": "Hosted MCP lifecycle not verified: OAuth, a real request, and removal."+ },+ "authentication": "oauth",+ "requiredCredentials": [],+ "setup": ["Connect an Intercom workspace through the hosted OAuth flow."],+ "permissions": [+ {+ "id": "read-support-data",+ "description": "Read conversations, contacts, companies, and help content.",+ "approval": "read"+ },+ {+ "id": "write-help-content",+ "description": "Create or update production help center articles.",+ "approval": "production"+ },+ {+ "id": "publish-help-content",+ "description": "Publish help center articles.",+ "approval": "publishing"+ }+ ],+ "approvals": ["production", "publishing"],+ "catalogStatus": "verification-pending"+}diff --git a/plugins/entries/lemon-squeezy/logo-dark.svg b/plugins/entries/lemon-squeezy/logo-dark.svgnew file mode 100644index 000000000..4fedce686--- /dev/null+++ b/plugins/entries/lemon-squeezy/logo-dark.svg@@ -0,0 +1 @@+<svg fill="#fff" role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>Lemon Squeezy</title><path d="m7.4916 10.835 2.3748-6.5114a3.1497 3.1497 0 0 0-.065-2.3418C9.0315.183 6.9427-.398 5.2928.265 3.643.929 2.71 2.4348 3.512 4.3046l2.8197 6.5615c.219.509.97.489 1.16-.03m1.6798 1.0969 6.5334-2.7758c2.1699-.9219 2.7218-3.6907 1.022-5.2905l-.068-.063c-1.6669-1.5469-4.4217-1.002-5.3706 1.0359L8.3566 11.135c-.234.503.295 1.0199.8159.7979m.373.87 6.6454-2.5119c2.2078-.8349 4.6206.745 4.5886 3.0398l-.002.09c-.048 2.2358-2.3938 3.7376-4.5536 2.9467l-6.6724-2.4418a.595.595 0 0 1-.006-1.1229m-.386 1.9269 6.4375 2.9767a3.2997 3.2997 0 0 1 1.6658 1.6989c.769 1.7998-.283 3.6396-1.9328 4.3016-1.6499.662-3.4097.235-4.2097-1.6359l-2.8027-6.5694c-.217-.509.328-1.009.8419-.772"/></svg>diff --git a/plugins/entries/lemon-squeezy/logo.svg b/plugins/entries/lemon-squeezy/logo.svgnew file mode 100644index 000000000..b216cc083--- /dev/null+++ b/plugins/entries/lemon-squeezy/logo.svg@@ -0,0 +1 @@+<svg role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>Lemon Squeezy</title><path d="m7.4916 10.835 2.3748-6.5114a3.1497 3.1497 0 0 0-.065-2.3418C9.0315.183 6.9427-.398 5.2928.265 3.643.929 2.71 2.4348 3.512 4.3046l2.8197 6.5615c.219.509.97.489 1.16-.03m1.6798 1.0969 6.5334-2.7758c2.1699-.9219 2.7218-3.6907 1.022-5.2905l-.068-.063c-1.6669-1.5469-4.4217-1.002-5.3706 1.0359L8.3566 11.135c-.234.503.295 1.0199.8159.7979m.373.87 6.6454-2.5119c2.2078-.8349 4.6206.745 4.5886 3.0398l-.002.09c-.048 2.2358-2.3938 3.7376-4.5536 2.9467l-6.6724-2.4418a.595.595 0 0 1-.006-1.1229m-.386 1.9269 6.4375 2.9767a3.2997 3.2997 0 0 1 1.6658 1.6989c.769 1.7998-.283 3.6396-1.9328 4.3016-1.6499.662-3.4097.235-4.2097-1.6359l-2.8027-6.5694c-.217-.509.328-1.009.8419-.772"/></svg>diff --git a/plugins/entries/lemon-squeezy/plugin.json b/plugins/entries/lemon-squeezy/plugin.jsonnew file mode 100644index 000000000..d8af3f8b2--- /dev/null+++ b/plugins/entries/lemon-squeezy/plugin.json@@ -0,0 +1,95 @@+{+ "schemaVersion": 1,+ "id": "lemon-squeezy",+ "name": "Lemon Squeezy",+ "description": "Manage Lemon Squeezy stores when an operator MCP becomes available.",+ "primaryCategory": "Commerce",+ "tags": ["payments", "subscriptions", "digital-products"],+ "capabilities": ["read store data", "manage subscriptions", "issue refunds"],+ "publisher": {+ "name": "Lemon Squeezy",+ "url": "https://www.lemonsqueezy.com"+ },+ "maintainer": {+ "name": "Lemon Squeezy",+ "url": "https://www.lemonsqueezy.com"+ },+ "documentationUrl": "https://docs.lemonsqueezy.com/api",+ "sourceUrl": "https://docs.lemonsqueezy.com/api",+ "license": "Proprietary",+ "logo": {+ "provenance": {+ "sourceUrl": "https://raw.githubusercontent.com/simple-icons/simple-icons/develop/icons/lemonsqueezy.svg",+ "license": "CC0-1.0"+ }+ },+ "platforms": ["web", "desktop", "mobile"],+ "transport": {+ "type": "unavailable"+ },+ "connection": {+ "type": "approval-pending",+ "blocker": "Lemon Squeezy does not publish a first-party operator MCP endpoint or supported local command."+ },+ "authentication": "none",+ "requiredCredentials": [],+ "setup": ["Wait for Lemon Squeezy to publish a first-party operator MCP connection recipe."],+ "permissions": [+ {+ "id": "read-store-data",+ "description": "Read products, orders, customers, subscriptions, and licenses.",+ "approval": "read"+ },+ {+ "id": "create-billing-actions",+ "description": "Create checkout or other billing actions.",+ "approval": "pay"+ },+ {+ "id": "send-store-messages",+ "description": "Send customer or order communication.",+ "approval": "send"+ },+ {+ "id": "write-live-store",+ "description": "Change live products, subscriptions, or store data.",+ "approval": "production"+ },+ {+ "id": "delete-store-data",+ "description": "Delete Lemon Squeezy resources.",+ "approval": "delete"+ },+ {+ "id": "manage-secrets",+ "description": "Manage license keys, webhooks, or other secret-backed settings.",+ "approval": "secrets"+ },+ {+ "id": "publish-products",+ "description": "Publish products or checkout content.",+ "approval": "publishing"+ },+ {+ "id": "issue-refunds",+ "description": "Issue order or payment refunds.",+ "approval": "refunds"+ },+ {+ "id": "manage-store",+ "description": "Change store-wide Lemon Squeezy settings.",+ "approval": "account-wide"+ }+ ],+ "approvals": [+ "send",+ "pay",+ "delete",+ "production",+ "secrets",+ "publishing",+ "refunds",+ "account-wide"+ ],+ "catalogStatus": "approval-pending"+}diff --git a/plugins/entries/linear/logo-dark.svg b/plugins/entries/linear/logo-dark.svgnew file mode 100644index 000000000..c8951a7e5--- /dev/null+++ b/plugins/entries/linear/logo-dark.svg@@ -0,0 +1 @@+<svg fill="#5E6AD2" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M2.886 4.18A11.982 11.982 0 0 1 11.99 0C18.624 0 24 5.376 24 12.009c0 3.64-1.62 6.903-4.18 9.105L2.887 4.18ZM1.817 5.626l16.556 16.556c-.524.33-1.075.62-1.65.866L.951 7.277c.247-.575.537-1.126.866-1.65ZM.322 9.163l14.515 14.515c-.71.172-1.443.282-2.195.322L0 11.358a12 12 0 0 1 .322-2.195Zm-.17 4.862 9.823 9.824a12.02 12.02 0 0 1-9.824-9.824Z"/></svg>diff --git a/plugins/entries/linear/logo.svg b/plugins/entries/linear/logo.svgnew file mode 100644index 000000000..c8951a7e5--- /dev/null+++ b/plugins/entries/linear/logo.svg@@ -0,0 +1 @@+<svg fill="#5E6AD2" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M2.886 4.18A11.982 11.982 0 0 1 11.99 0C18.624 0 24 5.376 24 12.009c0 3.64-1.62 6.903-4.18 9.105L2.887 4.18ZM1.817 5.626l16.556 16.556c-.524.33-1.075.62-1.65.866L.951 7.277c.247-.575.537-1.126.866-1.65ZM.322 9.163l14.515 14.515c-.71.172-1.443.282-2.195.322L0 11.358a12 12 0 0 1 .322-2.195Zm-.17 4.862 9.823 9.824a12.02 12.02 0 0 1-9.824-9.824Z"/></svg>diff --git a/plugins/entries/linear/plugin.json b/plugins/entries/linear/plugin.jsonnew file mode 100644index 000000000..27cca67bc--- /dev/null+++ b/plugins/entries/linear/plugin.json@@ -0,0 +1,36 @@+{+ "schemaVersion": 1,+ "id": "linear",+ "name": "Linear",+ "description": "Read, create, and update Linear issues, projects, and comments.",+ "primaryCategory": "Work",+ "tags": ["issues", "projects", "support", "customer-feedback"],+ "capabilities": [+ "search issues",+ "read teams and the viewer profile",+ "create issues, projects, and comments",+ "update issues, projects, and comments"+ ],+ "publisher": { "name": "Linear", "url": "https://linear.app" },+ "maintainer": { "name": "Linear", "url": "https://linear.app" },+ "documentationUrl": "https://linear.app/docs/mcp",+ "sourceUrl": "https://linear.app/docs/mcp",+ "license": "Proprietary",+ "logo": {+ "provenance": { "sourceUrl": "https://simpleicons.org/?q=linear", "license": "CC0-1.0" }+ },+ "platforms": ["web", "desktop", "mobile"],+ "transport": { "type": "url", "url": "https://mcp.linear.app/mcp" },+ "connection": {+ "type": "verification-pending",+ "blocker": "Connection lifecycle not verified: installation, OAuth, safe read and write, disable, reconnect, and removal."+ },+ "authentication": "oauth",+ "requiredCredentials": [],+ "setup": ["Wait for the Linear connection lifecycle to pass."],+ "permissions": [+ { "id": "read-linear-data", "description": "Read Linear workspace data.", "approval": "read" }+ ],+ "approvals": [],+ "catalogStatus": "verification-pending"+}diff --git a/plugins/entries/mobbin/logo-dark.svg b/plugins/entries/mobbin/logo-dark.svgnew file mode 100644index 000000000..8d480bac9--- /dev/null+++ b/plugins/entries/mobbin/logo-dark.svg@@ -0,0 +1,3 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 136.306 136.306" fill="none">+ <path transform="translate(0 36.448)" fill="#FFFFFF" d="M47.2358 63.4093h35.4797l14.4796-15.4598v15.4598h39.1109V26.3921h-21.973V.7556H81.0854L66.1366 16.3421V.7556H27.7613L0 30.077v33.3167l31.9377.0145 15.2981-16.3329v16.334Z"/>+</svg>diff --git a/plugins/entries/mobbin/logo.svg b/plugins/entries/mobbin/logo.svgnew file mode 100644index 000000000..d263ee2b9--- /dev/null+++ b/plugins/entries/mobbin/logo.svg@@ -0,0 +1,3 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 136.306 136.306" fill="none">+ <path transform="translate(0 36.448)" fill="#0A0A0A" d="M47.2358 63.4093h35.4797l14.4796-15.4598v15.4598h39.1109V26.3921h-21.973V.7556H81.0854L66.1366 16.3421V.7556H27.7613L0 30.077v33.3167l31.9377.0145 15.2981-16.3329v16.334Z"/>+</svg>diff --git a/plugins/entries/mobbin/plugin.json b/plugins/entries/mobbin/plugin.jsonnew file mode 100644index 000000000..1f7a361fb--- /dev/null+++ b/plugins/entries/mobbin/plugin.json@@ -0,0 +1,47 @@+{+ "schemaVersion": 1,+ "id": "mobbin",+ "name": "Mobbin",+ "description": "Search real product screens, flows, and design patterns.",+ "primaryCategory": "Design",+ "tags": ["design-research", "screens", "user-flows"],+ "capabilities": ["search product screens", "browse user flows", "find design patterns"],+ "publisher": {+ "name": "Mobbin",+ "url": "https://mobbin.com"+ },+ "maintainer": {+ "name": "Mobbin",+ "url": "https://mobbin.com"+ },+ "documentationUrl": "https://docs.mobbin.com/mcp/introduction",+ "sourceUrl": "https://github.com/mobbin/mobbin-mcp-server",+ "license": "MIT",+ "logo": {+ "provenance": {+ "sourceUrl": "https://mintcdn.com/mobbin-552e5a20/noBj4ZCi1k9sXNQO/logo/light.svg",+ "license": "Mobbin trademark"+ }+ },+ "platforms": ["web", "desktop", "mobile"],+ "transport": {+ "type": "url",+ "url": "https://api.mobbin.com/mcp"+ },+ "connection": {+ "type": "verification-pending",+ "blocker": "Hosted MCP lifecycle not verified: authentication, a real request, and removal."+ },+ "authentication": "oauth",+ "requiredCredentials": [],+ "setup": ["Connect a paid Mobbin account through the hosted OAuth flow."],+ "permissions": [+ {+ "id": "read-design-library",+ "description": "Search and read Mobbin screens, flows, and metadata.",+ "approval": "read"+ }+ ],+ "approvals": [],+ "catalogStatus": "verification-pending"+}diff --git a/plugins/entries/monday/logo-dark.svg b/plugins/entries/monday/logo-dark.svgnew file mode 100644index 000000000..1c1e31b96--- /dev/null+++ b/plugins/entries/monday/logo-dark.svg@@ -0,0 +1 @@+<svg viewBox="0 0 64 64" xmlns="http://www.w3.org/2000/svg"><g transform="matrix(3.208255 0 0 3.208255 -35.559129 -63.587202)"><path fill="#FF3D57" d="M13.513 35.76a2.433 2.433 0 0 1-2.059-3.723l4.377-6.99a2.432 2.432 0 1 1 4.123 2.582l-4.378 6.99a2.43 2.43 0 0 1-2.063 1.141z"/><path fill="#FFCB00" d="M21.056 35.76a2.433 2.433 0 0 1-2.063-3.723l4.38-6.99a2.432 2.432 0 1 1 4.117 2.582l-4.372 6.99a2.43 2.43 0 0 1-2.063 1.141z"/><ellipse fill="#00D647" cx="28.597" cy="33.384" rx="2.436" ry="2.375"/></g></svg>diff --git a/plugins/entries/monday/logo.svg b/plugins/entries/monday/logo.svgnew file mode 100644index 000000000..1c1e31b96--- /dev/null+++ b/plugins/entries/monday/logo.svg@@ -0,0 +1 @@+<svg viewBox="0 0 64 64" xmlns="http://www.w3.org/2000/svg"><g transform="matrix(3.208255 0 0 3.208255 -35.559129 -63.587202)"><path fill="#FF3D57" d="M13.513 35.76a2.433 2.433 0 0 1-2.059-3.723l4.377-6.99a2.432 2.432 0 1 1 4.123 2.582l-4.378 6.99a2.43 2.43 0 0 1-2.063 1.141z"/><path fill="#FFCB00" d="M21.056 35.76a2.433 2.433 0 0 1-2.063-3.723l4.38-6.99a2.432 2.432 0 1 1 4.117 2.582l-4.372 6.99a2.43 2.43 0 0 1-2.063 1.141z"/><ellipse fill="#00D647" cx="28.597" cy="33.384" rx="2.436" ry="2.375"/></g></svg>diff --git a/plugins/entries/monday/plugin.json b/plugins/entries/monday/plugin.jsonnew file mode 100644index 000000000..6d4e879ec--- /dev/null+++ b/plugins/entries/monday/plugin.json@@ -0,0 +1,38 @@+{+ "schemaVersion": 1,+ "id": "monday",+ "name": "monday.com",+ "description": "Read monday.com boards and items.",+ "primaryCategory": "Work",+ "tags": ["boards", "projects", "work-management"],+ "capabilities": ["list boards", "read board items"],+ "publisher": { "name": "monday.com", "url": "https://monday.com" },+ "maintainer": { "name": "monday.com", "url": "https://monday.com" },+ "documentationUrl": "https://developer.monday.com/apps/docs/mondaycom-mcp-integration",+ "sourceUrl": "https://developer.monday.com/apps/docs/mondaycom-mcp-integration",+ "license": "Proprietary",+ "logo": {+ "provenance": {+ "sourceUrl": "https://www.vectorlogo.zone/logos/monday/monday-icon.svg",+ "license": "monday.com trademark; vector from VectorLogoZone"+ }+ },+ "platforms": ["web", "desktop", "mobile"],+ "transport": { "type": "url", "url": "https://mcp.monday.com/mcp" },+ "connection": {+ "type": "approval-pending",+ "blocker": "monday.com must approve public dynamic client registration before Connect can be enabled."+ },+ "authentication": "oauth",+ "requiredCredentials": [],+ "setup": ["Wait for monday.com to approve public dynamic client registration."],+ "permissions": [+ {+ "id": "read-monday-data",+ "description": "Read monday.com workspace data.",+ "approval": "read"+ }+ ],+ "approvals": [],+ "catalogStatus": "approval-pending"+}diff --git a/plugins/entries/netlify/logo-dark.svg b/plugins/entries/netlify/logo-dark.svgnew file mode 100644index 000000000..5e766e64b--- /dev/null+++ b/plugins/entries/netlify/logo-dark.svg@@ -0,0 +1,30 @@+<svg width="32" height="32" viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg">+ <style>+ .favicon-center-dot {+ fill: #014847;+ }++ .favicon-lines {+ fill: #05BDBA;+ }++ @media (prefers-color-scheme: dark) {+ .favicon-center-dot {+ fill: #fff;+ }++ .favicon-lines {+ fill: #05BDBA;+ }+ }+ </style>+ <path class="favicon-center-dot" stroke="none" d="M17.9922 18.3225H14.005L13.6746 17.9921V14.005L14.005 13.6746H17.9922L18.3226 14.005V17.9921L17.9922 18.3225Z" />+ <g class="favicon-lines" stroke="none">+ <path d="M9.6958 24.3311H9.35705L7.6661 22.6401V22.3041L10.2511 19.7164L12.042 19.7191L12.2808 19.9552V21.7461L9.6958 24.3311Z" />+ <path d="M7.6661 9.69576V9.35701L9.35705 7.66606H9.6958L12.2808 10.2511V12.0392L12.042 12.2808H10.2511L7.6661 9.69576Z" />+ <path d="M10.0457 17.4369H0.205466L0 17.2314V14.7658L0.205466 14.5603H10.0457L10.2511 14.7658V17.2314L10.0457 17.4369Z" />+ <path d="M31.7945 17.4369H21.9544L21.7489 17.2314V14.7658L21.9544 14.5603H31.7945L32 14.7658V17.2314L31.7945 17.4369Z" />+ <path d="M14.5631 10.0456V2.66547L14.7686 2.46001H17.2343L17.4396 2.66547V10.0456L17.2343 10.2511H14.7686L14.5631 10.0456Z" />+ <path d="M14.5631 29.3316V21.9515L14.7686 21.746H17.2343L17.4396 21.9515V29.3316L17.2343 29.5371H14.7686L14.5631 29.3316Z" />+ </g>+</svg>diff --git a/plugins/entries/netlify/logo.svg b/plugins/entries/netlify/logo.svgnew file mode 100644index 000000000..5e766e64b--- /dev/null+++ b/plugins/entries/netlify/logo.svg@@ -0,0 +1,30 @@+<svg width="32" height="32" viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg">+ <style>+ .favicon-center-dot {+ fill: #014847;+ }++ .favicon-lines {+ fill: #05BDBA;+ }++ @media (prefers-color-scheme: dark) {+ .favicon-center-dot {+ fill: #fff;+ }++ .favicon-lines {+ fill: #05BDBA;+ }+ }+ </style>+ <path class="favicon-center-dot" stroke="none" d="M17.9922 18.3225H14.005L13.6746 17.9921V14.005L14.005 13.6746H17.9922L18.3226 14.005V17.9921L17.9922 18.3225Z" />+ <g class="favicon-lines" stroke="none">+ <path d="M9.6958 24.3311H9.35705L7.6661 22.6401V22.3041L10.2511 19.7164L12.042 19.7191L12.2808 19.9552V21.7461L9.6958 24.3311Z" />+ <path d="M7.6661 9.69576V9.35701L9.35705 7.66606H9.6958L12.2808 10.2511V12.0392L12.042 12.2808H10.2511L7.6661 9.69576Z" />+ <path d="M10.0457 17.4369H0.205466L0 17.2314V14.7658L0.205466 14.5603H10.0457L10.2511 14.7658V17.2314L10.0457 17.4369Z" />+ <path d="M31.7945 17.4369H21.9544L21.7489 17.2314V14.7658L21.9544 14.5603H31.7945L32 14.7658V17.2314L31.7945 17.4369Z" />+ <path d="M14.5631 10.0456V2.66547L14.7686 2.46001H17.2343L17.4396 2.66547V10.0456L17.2343 10.2511H14.7686L14.5631 10.0456Z" />+ <path d="M14.5631 29.3316V21.9515L14.7686 21.746H17.2343L17.4396 21.9515V29.3316L17.2343 29.5371H14.7686L14.5631 29.3316Z" />+ </g>+</svg>diff --git a/plugins/entries/netlify/plugin.json b/plugins/entries/netlify/plugin.jsonnew file mode 100644index 000000000..282e22d4e--- /dev/null+++ b/plugins/entries/netlify/plugin.json@@ -0,0 +1,67 @@+{+ "schemaVersion": 1,+ "id": "netlify",+ "name": "Netlify",+ "description": "Manage sites, builds, deploys, logs, and environment settings.",+ "primaryCategory": "Build",+ "tags": ["deployments", "hosting", "sites"],+ "capabilities": ["manage sites", "inspect builds and logs", "deploy projects"],+ "publisher": {+ "name": "Netlify",+ "url": "https://www.netlify.com"+ },+ "maintainer": {+ "name": "Netlify",+ "url": "https://www.netlify.com"+ },+ "documentationUrl": "https://docs.netlify.com/build/build-with-ai/netlify-mcp-server/",+ "sourceUrl": "https://docs.netlify.com/build/build-with-ai/netlify-mcp-server/",+ "license": "Proprietary",+ "logo": {+ "provenance": {+ "sourceUrl": "https://www.netlify.com/favicon/icon.svg",+ "license": "Netlify brand asset"+ }+ },+ "platforms": ["web", "desktop", "mobile"],+ "transport": {+ "type": "url",+ "url": "https://netlify-mcp.netlify.app/mcp"+ },+ "connection": {+ "type": "verification-pending",+ "blocker": "Connection lifecycle not verified: install, OAuth, safe read, approved write, disable, reconnect, and removal."+ },+ "authentication": "oauth",+ "requiredCredentials": [],+ "setup": ["Wait for the Netlify connection lifecycle to pass."],+ "permissions": [+ {+ "id": "read-netlify-data",+ "description": "Read sites, builds, deploys, logs, and account data.",+ "approval": "read"+ },+ {+ "id": "deploy-sites",+ "description": "Build or deploy production sites and functions.",+ "approval": "production"+ },+ {+ "id": "manage-environment-variables",+ "description": "Read or change environment variables and secrets.",+ "approval": "secrets"+ },+ {+ "id": "delete-netlify-resources",+ "description": "Delete sites, deploys, or account resources.",+ "approval": "delete"+ },+ {+ "id": "change-netlify-account",+ "description": "Change team-wide sites, access, and settings.",+ "approval": "account-wide"+ }+ ],+ "approvals": ["production", "secrets", "delete", "account-wide"],+ "catalogStatus": "verification-pending"+}diff --git a/plugins/entries/notion/logo-dark.svg b/plugins/entries/notion/logo-dark.svgnew file mode 100644index 000000000..8a52ef3ed--- /dev/null+++ b/plugins/entries/notion/logo-dark.svg@@ -0,0 +1 @@+<svg fill="#fff" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M4.459 4.208c.746.606 1.026.56 2.428.466l13.215-.793c.28 0 .047-.28-.046-.326L17.86 1.968c-.42-.326-.981-.7-2.055-.607L3.01 2.295c-.466.046-.56.28-.374.466zm.793 3.08v13.904c0 .747.373 1.027 1.214.98l14.523-.84c.841-.046.935-.56.935-1.167V6.354c0-.606-.233-.933-.748-.887l-15.177.887c-.56.047-.747.327-.747.933zm14.337.745c.093.42 0 .84-.42.888l-.7.14v10.264c-.608.327-1.168.514-1.635.514-.748 0-.935-.234-1.495-.933l-4.577-7.186v6.952L12.21 19s0 .84-1.168.84l-3.222.186c-.093-.186 0-.653.327-.746l.84-.233V9.854L7.822 9.76c-.094-.42.14-1.026.793-1.073l3.456-.233 4.764 7.279v-6.44l-1.215-.139c-.093-.514.28-.887.747-.933zM1.936 1.035l13.31-.98c1.634-.14 2.055-.047 3.082.7l4.249 2.986c.7.513.934.653.934 1.213v16.378c0 1.026-.373 1.634-1.68 1.726l-15.458.934c-.98.047-1.448-.093-1.962-.747l-3.129-4.06c-.56-.747-.793-1.306-.793-1.96V2.667c0-.839.374-1.54 1.447-1.632z"/></svg>diff --git a/plugins/entries/notion/logo.svg b/plugins/entries/notion/logo.svgnew file mode 100644index 000000000..8444b9194--- /dev/null+++ b/plugins/entries/notion/logo.svg@@ -0,0 +1 @@+<svg fill="#000" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M4.459 4.208c.746.606 1.026.56 2.428.466l13.215-.793c.28 0 .047-.28-.046-.326L17.86 1.968c-.42-.326-.981-.7-2.055-.607L3.01 2.295c-.466.046-.56.28-.374.466zm.793 3.08v13.904c0 .747.373 1.027 1.214.98l14.523-.84c.841-.046.935-.56.935-1.167V6.354c0-.606-.233-.933-.748-.887l-15.177.887c-.56.047-.747.327-.747.933zm14.337.745c.093.42 0 .84-.42.888l-.7.14v10.264c-.608.327-1.168.514-1.635.514-.748 0-.935-.234-1.495-.933l-4.577-7.186v6.952L12.21 19s0 .84-1.168.84l-3.222.186c-.093-.186 0-.653.327-.746l.84-.233V9.854L7.822 9.76c-.094-.42.14-1.026.793-1.073l3.456-.233 4.764 7.279v-6.44l-1.215-.139c-.093-.514.28-.887.747-.933zM1.936 1.035l13.31-.98c1.634-.14 2.055-.047 3.082.7l4.249 2.986c.7.513.934.653.934 1.213v16.378c0 1.026-.373 1.634-1.68 1.726l-15.458.934c-.98.047-1.448-.093-1.962-.747l-3.129-4.06c-.56-.747-.793-1.306-.793-1.96V2.667c0-.839.374-1.54 1.447-1.632z"/></svg>diff --git a/plugins/entries/notion/plugin.json b/plugins/entries/notion/plugin.jsonnew file mode 100644index 000000000..abf162f44--- /dev/null+++ b/plugins/entries/notion/plugin.json@@ -0,0 +1,37 @@+{+ "schemaVersion": 1,+ "id": "notion",+ "name": "Notion",+ "description": "Search, read, create, and update Notion pages and databases.",+ "primaryCategory": "Work",+ "tags": ["documents", "knowledge", "databases"],+ "capabilities": [+ "search a workspace",+ "read pages and databases",+ "create pages and databases",+ "update pages and data sources",+ "create comments"+ ],+ "publisher": { "name": "Notion Labs", "url": "https://www.notion.com" },+ "maintainer": { "name": "Notion Labs", "url": "https://www.notion.com" },+ "documentationUrl": "https://developers.notion.com/guides/mcp/mcp-supported-tools",+ "sourceUrl": "https://github.com/makenotion/notion-mcp-server",+ "license": "MIT",+ "logo": {+ "provenance": { "sourceUrl": "https://simpleicons.org/?q=notion", "license": "CC0-1.0" }+ },+ "platforms": ["web", "desktop", "mobile"],+ "transport": { "type": "url", "url": "https://mcp.notion.com/mcp" },+ "connection": {+ "type": "verification-pending",+ "blocker": "Connection lifecycle not verified: installation, OAuth, safe read and write, disable, reconnect, and removal."+ },+ "authentication": "oauth",+ "requiredCredentials": [],+ "setup": ["Wait for the Notion connection lifecycle to pass."],+ "permissions": [+ { "id": "read-notion-data", "description": "Read Notion workspace data.", "approval": "read" }+ ],+ "approvals": [],+ "catalogStatus": "verification-pending"+}diff --git a/plugins/entries/paddle/logo-dark.svg b/plugins/entries/paddle/logo-dark.svgnew file mode 100644index 000000000..c3075bf34--- /dev/null+++ b/plugins/entries/paddle/logo-dark.svg@@ -0,0 +1 @@+<svg fill="#fff" role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>Paddle</title><path d="M2.363 7.904v.849a3.95 3.95 0 0 1 3.65 2.425c.198.476.3.987.299 1.502h.791c0-1.04.416-2.037 1.157-2.772a3.962 3.962 0 0 1 2.792-1.149V7.91a3.959 3.959 0 0 1-3.65-2.425 3.893 3.893 0 0 1-.299-1.502h-.791c0 1.04-.416 2.037-1.157 2.772a3.96 3.96 0 0 1-2.792 1.149M13.105 2.51H6.312V0h6.793c4.772 0 8.532 3.735 8.532 8.314 0 4.58-3.76 8.314-8.532 8.314H9.156V24H6.312v-9.882h6.793c3.319 0 5.688-2.352 5.688-5.804 0-3.451-2.37-5.804-5.688-5.804"/></svg>diff --git a/plugins/entries/paddle/logo.svg b/plugins/entries/paddle/logo.svgnew file mode 100644index 000000000..aaee5e64b--- /dev/null+++ b/plugins/entries/paddle/logo.svg@@ -0,0 +1 @@+<svg role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>Paddle</title><path d="M2.363 7.904v.849a3.95 3.95 0 0 1 3.65 2.425c.198.476.3.987.299 1.502h.791c0-1.04.416-2.037 1.157-2.772a3.962 3.962 0 0 1 2.792-1.149V7.91a3.959 3.959 0 0 1-3.65-2.425 3.893 3.893 0 0 1-.299-1.502h-.791c0 1.04-.416 2.037-1.157 2.772a3.96 3.96 0 0 1-2.792 1.149M13.105 2.51H6.312V0h6.793c4.772 0 8.532 3.735 8.532 8.314 0 4.58-3.76 8.314-8.532 8.314H9.156V24H6.312v-9.882h6.793c3.319 0 5.688-2.352 5.688-5.804 0-3.451-2.37-5.804-5.688-5.804"/></svg>diff --git a/plugins/entries/paddle/plugin.json b/plugins/entries/paddle/plugin.jsonnew file mode 100644index 000000000..98c7618ea--- /dev/null+++ b/plugins/entries/paddle/plugin.json@@ -0,0 +1,77 @@+{+ "schemaVersion": 1,+ "id": "paddle",+ "name": "Paddle",+ "description": "Read and manage Paddle billing, subscriptions, and transactions.",+ "primaryCategory": "Commerce",+ "tags": ["payments", "billing", "subscriptions"],+ "capabilities": ["read billing data", "manage subscriptions", "issue refunds"],+ "publisher": {+ "name": "Paddle",+ "url": "https://www.paddle.com"+ },+ "maintainer": {+ "name": "Paddle",+ "url": "https://www.paddle.com"+ },+ "documentationUrl": "https://developer.paddle.com/sdks/ai/paddle-mcp",+ "sourceUrl": "https://github.com/PaddleHQ/paddle-mcp-server",+ "license": "Apache-2.0",+ "logo": {+ "provenance": {+ "sourceUrl": "https://raw.githubusercontent.com/simple-icons/simple-icons/develop/icons/paddle.svg",+ "license": "CC0-1.0"+ }+ },+ "platforms": ["web", "desktop", "mobile"],+ "transport": {+ "type": "url",+ "url": "https://mcp.paddle.com/mcp"+ },+ "connection": {+ "type": "verification-pending",+ "blocker": "Hosted MCP lifecycle not verified: OAuth, a real request, and removal."+ },+ "authentication": "oauth",+ "requiredCredentials": [],+ "setup": ["Connect a live Paddle account through OAuth."],+ "permissions": [+ {+ "id": "read-commerce-data",+ "description": "Read products, prices, customers, subscriptions, and transactions.",+ "approval": "read"+ },+ {+ "id": "create-billing-actions",+ "description": "Create transactions or other billing actions.",+ "approval": "pay"+ },+ {+ "id": "write-live-data",+ "description": "Create or update live Paddle billing data.",+ "approval": "production"+ },+ {+ "id": "delete-commerce-data",+ "description": "Delete Paddle resources when the API permits it.",+ "approval": "delete"+ },+ {+ "id": "manage-secrets",+ "description": "Create notification destinations or secret-backed settings.",+ "approval": "secrets"+ },+ {+ "id": "issue-refunds",+ "description": "Issue Paddle transaction refunds.",+ "approval": "refunds"+ },+ {+ "id": "manage-account",+ "description": "Change account-wide Paddle settings.",+ "approval": "account-wide"+ }+ ],+ "approvals": ["pay", "delete", "production", "secrets", "refunds", "account-wide"],+ "catalogStatus": "verification-pending"+}diff --git a/plugins/entries/paper/logo-dark.svg b/plugins/entries/paper/logo-dark.svgnew file mode 100644index 000000000..143b90523--- /dev/null+++ b/plugins/entries/paper/logo-dark.svg@@ -0,0 +1 @@+<svg width="39" height="39" viewBox="0 0 39 39" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M39 24H24V6H6V24H24V39H0V6H6V0H39V24Z" fill="#81ADEC"/></svg>diff --git a/plugins/entries/paper/logo.svg b/plugins/entries/paper/logo.svgnew file mode 100644index 000000000..143b90523--- /dev/null+++ b/plugins/entries/paper/logo.svg@@ -0,0 +1 @@+<svg width="39" height="39" viewBox="0 0 39 39" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M39 24H24V6H6V24H24V39H0V6H6V0H39V24Z" fill="#81ADEC"/></svg>diff --git a/plugins/entries/paper/plugin.json b/plugins/entries/paper/plugin.jsonnew file mode 100644index 000000000..6a6c3ec14--- /dev/null+++ b/plugins/entries/paper/plugin.json@@ -0,0 +1,57 @@+{+ "schemaVersion": 1,+ "id": "paper",+ "name": "Paper",+ "description": "Read and edit designs in the Paper desktop app.",+ "primaryCategory": "Design",+ "tags": ["canvas", "prototyping", "local"],+ "capabilities": ["read design canvases", "create design elements", "edit design elements"],+ "publisher": {+ "name": "Paper",+ "url": "https://paper.design"+ },+ "maintainer": {+ "name": "Paper",+ "url": "https://paper.design"+ },+ "documentationUrl": "https://paper.design/docs/mcp",+ "sourceUrl": "https://github.com/paper-design",+ "license": "Proprietary",+ "logo": {+ "provenance": {+ "sourceUrl": "https://svgl.app/library/paper.svg",+ "license": "Paper trademark"+ }+ },+ "platforms": ["macos", "windows"],+ "transport": {+ "type": "url",+ "url": "http://127.0.0.1:29979/mcp"+ },+ "connection": {+ "type": "verification-pending",+ "blocker": "Local MCP lifecycle not verified: desktop server connection, a real request, and removal."+ },+ "authentication": "none",+ "requiredCredentials": [],+ "setup": ["Open a file in Paper Desktop, then connect to its local MCP server."],+ "permissions": [+ {+ "id": "read-designs",+ "description": "Read canvases and design details.",+ "approval": "read"+ },+ {+ "id": "edit-designs",+ "description": "Create or update canvas elements and styles.",+ "approval": "publishing"+ },+ {+ "id": "delete-designs",+ "description": "Delete nodes from a Paper canvas.",+ "approval": "delete"+ }+ ],+ "approvals": ["delete", "publishing"],+ "catalogStatus": "verification-pending"+}diff --git a/plugins/entries/parallel-search/plugin.json b/plugins/entries/parallel-search/plugin.jsonindex c80695bc6..179971745 100644--- a/plugins/entries/parallel-search/plugin.json+++ b/plugins/entries/parallel-search/plugin.json@@ -6,7 +6,6 @@"primaryCategory": "Web","tags": ["search", "research", "extraction"],"capabilities": ["search the web", "extract URL content", "rank search results"],- "featuredRank": 4,"publisher": { "name": "Parallel", "url": "https://parallel.ai" },"maintainer": { "name": "Parallel", "url": "https://parallel.ai" },"documentationUrl": "https://docs.parallel.ai/integrations/mcp/search-mcp",diff --git a/plugins/entries/paypal/logo-dark.svg b/plugins/entries/paypal/logo-dark.svgnew file mode 100644index 000000000..3ecabe495--- /dev/null+++ b/plugins/entries/paypal/logo-dark.svg@@ -0,0 +1 @@+<svg fill="#fff" role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>PayPal</title><path d="M15.607 4.653H8.941L6.645 19.251H1.82L4.862 0h7.995c3.754 0 6.375 2.294 6.473 5.513-.648-.478-2.105-.86-3.722-.86m6.57 5.546c0 3.41-3.01 6.853-6.958 6.853h-2.493L11.595 24H6.74l1.845-11.538h3.592c4.208 0 7.346-3.634 7.153-6.949a5.24 5.24 0 0 1 2.848 4.686M9.653 5.546h6.408c.907 0 1.942.222 2.363.541-.195 2.741-2.655 5.483-6.441 5.483H8.714Z"/></svg>diff --git a/plugins/entries/paypal/logo.svg b/plugins/entries/paypal/logo.svgnew file mode 100644index 000000000..956964c95--- /dev/null+++ b/plugins/entries/paypal/logo.svg@@ -0,0 +1 @@+<svg role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>PayPal</title><path d="M15.607 4.653H8.941L6.645 19.251H1.82L4.862 0h7.995c3.754 0 6.375 2.294 6.473 5.513-.648-.478-2.105-.86-3.722-.86m6.57 5.546c0 3.41-3.01 6.853-6.958 6.853h-2.493L11.595 24H6.74l1.845-11.538h3.592c4.208 0 7.346-3.634 7.153-6.949a5.24 5.24 0 0 1 2.848 4.686M9.653 5.546h6.408c.907 0 1.942.222 2.363.541-.195 2.741-2.655 5.483-6.441 5.483H8.714Z"/></svg>diff --git a/plugins/entries/paypal/plugin.json b/plugins/entries/paypal/plugin.jsonnew file mode 100644index 000000000..68f6a94e2--- /dev/null+++ b/plugins/entries/paypal/plugin.json@@ -0,0 +1,67 @@+{+ "schemaVersion": 1,+ "id": "paypal",+ "name": "PayPal",+ "description": "Read and manage PayPal payments, orders, and refunds.",+ "primaryCategory": "Commerce",+ "tags": ["payments", "checkout", "refunds"],+ "capabilities": ["read payment data", "send payment requests", "issue refunds"],+ "publisher": {+ "name": "PayPal",+ "url": "https://www.paypal.com"+ },+ "maintainer": {+ "name": "PayPal",+ "url": "https://www.paypal.com"+ },+ "documentationUrl": "https://github.com/paypal/paypal-mcp-server",+ "sourceUrl": "https://github.com/paypal/paypal-mcp-server",+ "license": "Apache-2.0",+ "logo": {+ "provenance": {+ "sourceUrl": "https://raw.githubusercontent.com/simple-icons/simple-icons/develop/icons/paypal.svg",+ "license": "CC0-1.0"+ }+ },+ "platforms": ["web", "desktop", "mobile"],+ "transport": {+ "type": "url",+ "url": "https://mcp.paypal.com/mcp"+ },+ "connection": {+ "type": "verification-pending",+ "blocker": "OAuth connection lifecycle not verified against the first-party hosted MCP server."+ },+ "authentication": "oauth",+ "requiredCredentials": [],+ "setup": ["Wait for PayPal OAuth lifecycle validation to pass, then connect a PayPal account."],+ "permissions": [+ {+ "id": "read-payment-data",+ "description": "Read orders, payments, disputes, and transaction details.",+ "approval": "read"+ },+ {+ "id": "create-payments",+ "description": "Create or capture PayPal payments and orders.",+ "approval": "pay"+ },+ {+ "id": "send-payment-requests",+ "description": "Send invoices, payment links, or other requests.",+ "approval": "send"+ },+ {+ "id": "write-live-data",+ "description": "Create or update live PayPal commerce data.",+ "approval": "production"+ },+ {+ "id": "issue-refunds",+ "description": "Issue PayPal payment refunds.",+ "approval": "refunds"+ }+ ],+ "approvals": ["send", "pay", "production", "refunds"],+ "catalogStatus": "verification-pending"+}diff --git a/plugins/entries/pipedrive/logo-dark.svg b/plugins/entries/pipedrive/logo-dark.svgnew file mode 100644index 000000000..8aaffb5be--- /dev/null+++ b/plugins/entries/pipedrive/logo-dark.svg@@ -0,0 +1,3 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 26 26" fill="none">+ <path transform="translate(4)" fill="#FFFFFF" fill-rule="evenodd" clip-rule="evenodd" d="M17.4027 12.9716c0 4.4287-2.8595 7.4577-6.9482 7.4577-1.9438 0-3.5457-.8004-4.1455-1.8006l.0284 1.0285V26H2.1636V9.5998c0-.2281-.0568-.2861-.3148-.2861H.4184V5.8285h3.489c1.6006 0 2.0018 1.3714 2.1153 1.972.6294-1.0569 2.2868-2.2852 4.6317-2.2852 4.0319-.0013 6.7483 2.998 6.7483 7.4563Zm-4.2603.0284c0-2.3716-1.5439-3.9995-3.4889-3.9995-1.6007 0-3.4025 1.0569-3.4025 4.0291 0 1.9424 1.086 3.9712 3.3457 3.9712 1.6587-.0013 3.5457-1.2013 3.5457-4.0008Z"/>+</svg>diff --git a/plugins/entries/pipedrive/logo.svg b/plugins/entries/pipedrive/logo.svgnew file mode 100644index 000000000..36adbd4f1--- /dev/null+++ b/plugins/entries/pipedrive/logo.svg@@ -0,0 +1,3 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 26 26" fill="none">+ <path transform="translate(4)" fill="#111827" fill-rule="evenodd" clip-rule="evenodd" d="M17.4027 12.9716c0 4.4287-2.8595 7.4577-6.9482 7.4577-1.9438 0-3.5457-.8004-4.1455-1.8006l.0284 1.0285V26H2.1636V9.5998c0-.2281-.0568-.2861-.3148-.2861H.4184V5.8285h3.489c1.6006 0 2.0018 1.3714 2.1153 1.972.6294-1.0569 2.2868-2.2852 4.6317-2.2852 4.0319-.0013 6.7483 2.998 6.7483 7.4563Zm-4.2603.0284c0-2.3716-1.5439-3.9995-3.4889-3.9995-1.6007 0-3.4025 1.0569-3.4025 4.0291 0 1.9424 1.086 3.9712 3.3457 3.9712 1.6587-.0013 3.5457-1.2013 3.5457-4.0008Z"/>+</svg>diff --git a/plugins/entries/pipedrive/plugin.json b/plugins/entries/pipedrive/plugin.jsonnew file mode 100644index 000000000..f3c2df367--- /dev/null+++ b/plugins/entries/pipedrive/plugin.json@@ -0,0 +1,52 @@+{+ "schemaVersion": 1,+ "id": "pipedrive",+ "name": "Pipedrive",+ "description": "Read and manage deals, contacts, and activities in Pipedrive.",+ "primaryCategory": "Sales",+ "tags": ["crm", "deals", "pipeline"],+ "capabilities": ["read CRM data", "manage deals", "manage sales activities"],+ "publisher": {+ "name": "Pipedrive",+ "url": "https://www.pipedrive.com"+ },+ "maintainer": {+ "name": "Pipedrive",+ "url": "https://www.pipedrive.com"+ },+ "documentationUrl": "https://www.pipedrive.com/en/features/mcp-server",+ "sourceUrl": "https://www.pipedrive.com/en/features/mcp-server",+ "license": "Proprietary",+ "logo": {+ "provenance": {+ "sourceUrl": "https://media.brand.dev/c3162eab-3550-4698-84e0-1fbe536f45d1.svg",+ "license": "Pipedrive trademark"+ }+ },+ "platforms": ["web", "desktop", "mobile"],+ "transport": {+ "type": "url",+ "url": "https://mcp.pipedrive.ai/mcp"+ },+ "connection": {+ "type": "verification-pending",+ "blocker": "Hosted MCP lifecycle not verified: OAuth, a real request, and removal."+ },+ "authentication": "oauth",+ "requiredCredentials": [],+ "setup": ["Connect a Pipedrive account through the hosted OAuth flow."],+ "permissions": [+ {+ "id": "read-crm",+ "description": "Read deals, contacts, activities, and pipelines.",+ "approval": "read"+ },+ {+ "id": "write-crm",+ "description": "Create or update production deals, contacts, and activities.",+ "approval": "production"+ }+ ],+ "approvals": ["production"],+ "catalogStatus": "verification-pending"+}diff --git a/plugins/entries/posthog/logo-dark.svg b/plugins/entries/posthog/logo-dark.svgnew file mode 100644index 000000000..4b3c817ee--- /dev/null+++ b/plugins/entries/posthog/logo-dark.svg@@ -0,0 +1 @@+<svg xmlns="http://www.w3.org/2000/svg" width="300" height="300" fill="none" viewBox="0 0 300 300"><rect width="300" height="300" fill="#000"/><path fill="#fff" d="M33 179.379L72.0038 218.33H33V179.379ZM33 169.641L81.7548 218.33H120.759L33 130.689V169.641ZM33 120.951L130.51 218.33H169.513L33 82V120.951ZM81.7548 120.951L179.264 218.33V179.379L81.7548 82V120.951ZM130.51 82V120.951L179.264 169.641V130.689L130.51 82Z"/><path fill="#fff" d="M266.863 203.174C256.87 203.174 247.291 199.208 240.231 192.158L186 138V218.754H266.863V203.174Z"/><path fill="#000" d="M209.563 202.75C213.871 202.75 217.363 199.262 217.363 194.959C217.363 190.657 213.871 187.169 209.563 187.169C205.254 187.169 201.762 190.657 201.762 194.959C201.762 199.262 205.254 202.75 209.563 202.75Z"/><path fill="#fff" d="M33 218.33H72.0038L33 179.379V218.33Z"/><path fill="#fff" d="M81.7548 130.689L33 82V120.951L81.7548 169.641V130.689Z"/><path fill="#fff" d="M33 130.689V169.641L81.7548 218.33V179.379L33 130.689Z"/><path fill="#fff" d="M130.51 130.689L81.7548 82V120.951L130.51 169.641V130.689Z"/><path fill="#fff" d="M81.7548 218.33H120.759L81.7548 179.379V218.33Z"/><path fill="#fff" d="M81.7548 130.689V169.641L130.51 218.33V179.379L81.7548 130.689Z"/></svg>diff --git a/plugins/entries/posthog/logo.svg b/plugins/entries/posthog/logo.svgnew file mode 100644index 000000000..4b3c817ee--- /dev/null+++ b/plugins/entries/posthog/logo.svg@@ -0,0 +1 @@+<svg xmlns="http://www.w3.org/2000/svg" width="300" height="300" fill="none" viewBox="0 0 300 300"><rect width="300" height="300" fill="#000"/><path fill="#fff" d="M33 179.379L72.0038 218.33H33V179.379ZM33 169.641L81.7548 218.33H120.759L33 130.689V169.641ZM33 120.951L130.51 218.33H169.513L33 82V120.951ZM81.7548 120.951L179.264 218.33V179.379L81.7548 82V120.951ZM130.51 82V120.951L179.264 169.641V130.689L130.51 82Z"/><path fill="#fff" d="M266.863 203.174C256.87 203.174 247.291 199.208 240.231 192.158L186 138V218.754H266.863V203.174Z"/><path fill="#000" d="M209.563 202.75C213.871 202.75 217.363 199.262 217.363 194.959C217.363 190.657 213.871 187.169 209.563 187.169C205.254 187.169 201.762 190.657 201.762 194.959C201.762 199.262 205.254 202.75 209.563 202.75Z"/><path fill="#fff" d="M33 218.33H72.0038L33 179.379V218.33Z"/><path fill="#fff" d="M81.7548 130.689L33 82V120.951L81.7548 169.641V130.689Z"/><path fill="#fff" d="M33 130.689V169.641L81.7548 218.33V179.379L33 130.689Z"/><path fill="#fff" d="M130.51 130.689L81.7548 82V120.951L130.51 169.641V130.689Z"/><path fill="#fff" d="M81.7548 218.33H120.759L81.7548 179.379V218.33Z"/><path fill="#fff" d="M81.7548 130.689V169.641L130.51 218.33V179.379L81.7548 130.689Z"/></svg>diff --git a/plugins/entries/posthog/plugin.json b/plugins/entries/posthog/plugin.jsonnew file mode 100644index 000000000..7bcb26fbd--- /dev/null+++ b/plugins/entries/posthog/plugin.json@@ -0,0 +1,71 @@+{+ "schemaVersion": 1,+ "id": "posthog",+ "name": "PostHog",+ "description": "Query product data and manage analytics, flags, experiments, and errors.",+ "primaryCategory": "Marketing",+ "tags": ["analytics", "experiments", "feature-flags"],+ "capabilities": [+ "query product analytics",+ "manage feature flags and experiments",+ "triage errors"+ ],+ "publisher": {+ "name": "PostHog",+ "url": "https://posthog.com"+ },+ "maintainer": {+ "name": "PostHog",+ "url": "https://posthog.com"+ },+ "documentationUrl": "https://posthog.com/docs/model-context-protocol",+ "sourceUrl": "https://github.com/PostHog/posthog/tree/master/services/mcp",+ "license": "Proprietary",+ "logo": {+ "provenance": {+ "sourceUrl": "https://posthog.com/favicon.svg",+ "license": "PostHog brand asset"+ }+ },+ "platforms": ["web", "desktop", "mobile"],+ "transport": {+ "type": "url",+ "url": "https://mcp.posthog.com/mcp"+ },+ "connection": {+ "type": "verification-pending",+ "blocker": "Connection lifecycle not verified: install, OAuth, safe read, approved write, disable, reconnect, and removal."+ },+ "authentication": "oauth",+ "requiredCredentials": [],+ "setup": ["Wait for the PostHog connection lifecycle to pass."],+ "permissions": [+ {+ "id": "read-product-data",+ "description": "Read analytics, recordings, errors, and product settings.",+ "approval": "read"+ },+ {+ "id": "change-feature-flags",+ "description": "Create or change feature flags and experiments.",+ "approval": "production"+ },+ {+ "id": "manage-destinations",+ "description": "Change destinations and their credentials.",+ "approval": "secrets"+ },+ {+ "id": "delete-product-settings",+ "description": "Delete shared analytics configuration.",+ "approval": "delete"+ },+ {+ "id": "change-organization",+ "description": "Change organization-wide settings.",+ "approval": "account-wide"+ }+ ],+ "approvals": ["production", "secrets", "delete", "account-wide"],+ "catalogStatus": "verification-pending"+}diff --git a/plugins/entries/railway/logo-dark.svg b/plugins/entries/railway/logo-dark.svgnew file mode 100644index 000000000..e8f24ffb9--- /dev/null+++ b/plugins/entries/railway/logo-dark.svg@@ -0,0 +1,5 @@+<svg width="48" height="48" viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg">+ <path+ d="M45.8145 33.9521C42.0252 42.2343 33.6829 48 23.9746 48C7.77693 47.7555 2.14169 34.0288 2.11035 33.9521H45.8145ZM23.9746 0C37.2436 0.000109469 48.0002 10.7508 48 24.0098C47.9977 26.5692 47.5844 29.1123 46.7764 31.541H1.27832C0.982736 30.6187 0.784825 29.7825 0.782227 29.7715H34.1133C36.2427 29.7715 38.002 28.682 38.8193 26.8555C39.7073 24.8679 39.3314 22.7929 38.0254 20.9883C36.6127 19.0372 34.2429 16.2984 32.6016 15.0576C29.5778 12.7699 25.7349 12.4343 22.6084 12.3301L21.7109 12.2969C20.2613 12.2364 19.9852 12.2031 12.5645 12.2031V12.2061H12.5635C12.5635 12.2061 6.2852 12.2091 3.06152 12.2158C7.18662 4.92919 14.9981 0 23.9746 0ZM36.7471 25.3916C36.4723 26.4557 35.6258 27.3134 34.1143 27.3135H0.205078C0.117655 26.6816 0.0569871 26.0407 0.0185547 25.3916H36.7471ZM12.5576 14.6123C18.9227 14.6123 20.0074 14.6393 21.6064 14.7051C26.4026 14.9096 29.7555 14.2113 35.9883 22.2637C36.1607 22.483 36.3317 22.7075 36.459 22.9561H0C0.0341962 22.1473 0.108319 21.3404 0.222656 20.5391H19.3877V18.1064H0.704102C0.923341 17.1128 1.37398 15.891 1.84082 14.6309C5.44734 14.6213 9.15093 14.6123 12.5576 14.6123Z"+ fill="#FFFFFF" />+</svg>diff --git a/plugins/entries/railway/logo.svg b/plugins/entries/railway/logo.svgnew file mode 100644index 000000000..d7ea651b2--- /dev/null+++ b/plugins/entries/railway/logo.svg@@ -0,0 +1,5 @@+<svg width="48" height="48" viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg">+ <path+ d="M45.8145 33.9521C42.0252 42.2343 33.6829 48 23.9746 48C7.77693 47.7555 2.14169 34.0288 2.11035 33.9521H45.8145ZM23.9746 0C37.2436 0.000109469 48.0002 10.7508 48 24.0098C47.9977 26.5692 47.5844 29.1123 46.7764 31.541H1.27832C0.982736 30.6187 0.784825 29.7825 0.782227 29.7715H34.1133C36.2427 29.7715 38.002 28.682 38.8193 26.8555C39.7073 24.8679 39.3314 22.7929 38.0254 20.9883C36.6127 19.0372 34.2429 16.2984 32.6016 15.0576C29.5778 12.7699 25.7349 12.4343 22.6084 12.3301L21.7109 12.2969C20.2613 12.2364 19.9852 12.2031 12.5645 12.2031V12.2061H12.5635C12.5635 12.2061 6.2852 12.2091 3.06152 12.2158C7.18662 4.92919 14.9981 0 23.9746 0ZM36.7471 25.3916C36.4723 26.4557 35.6258 27.3134 34.1143 27.3135H0.205078C0.117655 26.6816 0.0569871 26.0407 0.0185547 25.3916H36.7471ZM12.5576 14.6123C18.9227 14.6123 20.0074 14.6393 21.6064 14.7051C26.4026 14.9096 29.7555 14.2113 35.9883 22.2637C36.1607 22.483 36.3317 22.7075 36.459 22.9561H0C0.0341962 22.1473 0.108319 21.3404 0.222656 20.5391H19.3877V18.1064H0.704102C0.923341 17.1128 1.37398 15.891 1.84082 14.6309C5.44734 14.6213 9.15093 14.6123 12.5576 14.6123Z"+ fill="#1C1A28" />+</svg>diff --git a/plugins/entries/railway/plugin.json b/plugins/entries/railway/plugin.jsonnew file mode 100644index 000000000..bea6c068b--- /dev/null+++ b/plugins/entries/railway/plugin.json@@ -0,0 +1,67 @@+{+ "schemaVersion": 1,+ "id": "railway",+ "name": "Railway",+ "description": "Manage projects, services, environments, deploys, and databases.",+ "primaryCategory": "Build",+ "tags": ["deployments", "hosting", "infrastructure"],+ "capabilities": ["manage projects and services", "deploy applications", "provision databases"],+ "publisher": {+ "name": "Railway",+ "url": "https://railway.com"+ },+ "maintainer": {+ "name": "Railway",+ "url": "https://railway.com"+ },+ "documentationUrl": "https://docs.railway.com/ai/mcp-server",+ "sourceUrl": "https://github.com/railwayapp/railway-mcp-server",+ "license": "MIT",+ "logo": {+ "provenance": {+ "sourceUrl": "https://raw.githubusercontent.com/railwayapp/railway-design/master/app/icon.svg",+ "license": "Railway brand asset"+ }+ },+ "platforms": ["web", "desktop", "mobile"],+ "transport": {+ "type": "url",+ "url": "https://mcp.railway.com"+ },+ "connection": {+ "type": "verification-pending",+ "blocker": "Connection lifecycle not verified: install, OAuth, safe read, approved write, disable, reconnect, and removal."+ },+ "authentication": "oauth",+ "requiredCredentials": [],+ "setup": ["Wait for the Railway connection lifecycle to pass."],+ "permissions": [+ {+ "id": "read-railway-data",+ "description": "Read projects, services, environments, deploys, and logs.",+ "approval": "read"+ },+ {+ "id": "change-railway-services",+ "description": "Change or deploy production services and databases.",+ "approval": "production"+ },+ {+ "id": "manage-railway-secrets",+ "description": "Read or change environment variables and secrets.",+ "approval": "secrets"+ },+ {+ "id": "delete-railway-resources",+ "description": "Delete projects, services, environments, or databases.",+ "approval": "delete"+ },+ {+ "id": "change-railway-workspace",+ "description": "Change workspace-wide projects and settings.",+ "approval": "account-wide"+ }+ ],+ "approvals": ["production", "secrets", "delete", "account-wide"],+ "catalogStatus": "verification-pending"+}diff --git a/plugins/entries/render/logo-dark.svg b/plugins/entries/render/logo-dark.svgnew file mode 100644index 000000000..240389dc5--- /dev/null+++ b/plugins/entries/render/logo-dark.svg@@ -0,0 +1 @@+<svg xmlns="http://www.w3.org/2000/svg" baseProfile="tiny-ps" version="1.2" viewBox="0 0 96 96"><title>Render</title><!-- Generator: Adobe Illustrator 29.1.0, SVG Export Plug-In . SVG Version: 2.1.0 Build 142) --><rect width="96" height="96"></rect><path d="M62.6,24c-6.3-.3-11.5,4.2-12.4,10.2-1.5,8.6-8.1,13.6-15.8,13.8s-7.9-3.2-8.3-1.6v25.6h24v-18c0-3.3,2.7-6,6-6h6c6.8,0,12.3-5.6,12-12.5-.2-6.2-5.2-11.2-11.4-11.5h0Z" fill="#fff"></path></svg>diff --git a/plugins/entries/render/logo.svg b/plugins/entries/render/logo.svgnew file mode 100644index 000000000..240389dc5--- /dev/null+++ b/plugins/entries/render/logo.svg@@ -0,0 +1 @@+<svg xmlns="http://www.w3.org/2000/svg" baseProfile="tiny-ps" version="1.2" viewBox="0 0 96 96"><title>Render</title><!-- Generator: Adobe Illustrator 29.1.0, SVG Export Plug-In . SVG Version: 2.1.0 Build 142) --><rect width="96" height="96"></rect><path d="M62.6,24c-6.3-.3-11.5,4.2-12.4,10.2-1.5,8.6-8.1,13.6-15.8,13.8s-7.9-3.2-8.3-1.6v25.6h24v-18c0-3.3,2.7-6,6-6h6c6.8,0,12.3-5.6,12-12.5-.2-6.2-5.2-11.2-11.4-11.5h0Z" fill="#fff"></path></svg>diff --git a/plugins/entries/render/plugin.json b/plugins/entries/render/plugin.jsonnew file mode 100644index 000000000..b169d9944--- /dev/null+++ b/plugins/entries/render/plugin.json@@ -0,0 +1,67 @@+{+ "schemaVersion": 1,+ "id": "render",+ "name": "Render",+ "description": "Manage services, deploys, jobs, databases, and logs.",+ "primaryCategory": "Build",+ "tags": ["deployments", "hosting", "databases"],+ "capabilities": ["manage services", "deploy applications", "inspect logs and metrics"],+ "publisher": {+ "name": "Render",+ "url": "https://render.com"+ },+ "maintainer": {+ "name": "Render",+ "url": "https://render.com"+ },+ "documentationUrl": "https://render.com/docs/mcp-server",+ "sourceUrl": "https://render.com/docs/mcp-server",+ "license": "Proprietary",+ "logo": {+ "provenance": {+ "sourceUrl": "https://render.com/brand/render_1105076560.svg",+ "license": "Render brand asset"+ }+ },+ "platforms": ["web", "desktop", "mobile"],+ "transport": {+ "type": "url",+ "url": "https://mcp.render.com/mcp"+ },+ "connection": {+ "type": "verification-pending",+ "blocker": "Connection lifecycle not verified: install, OAuth, safe read, approved write, disable, reconnect, and removal."+ },+ "authentication": "oauth",+ "requiredCredentials": [],+ "setup": ["Wait for the Render connection lifecycle to pass."],+ "permissions": [+ {+ "id": "read-render-data",+ "description": "Read services, deploys, jobs, databases, logs, and metrics.",+ "approval": "read"+ },+ {+ "id": "change-render-services",+ "description": "Change or deploy production services, jobs, and databases.",+ "approval": "production"+ },+ {+ "id": "manage-render-secrets",+ "description": "Read or change environment variables and secrets.",+ "approval": "secrets"+ },+ {+ "id": "delete-render-resources",+ "description": "Delete services, deploys, jobs, or databases.",+ "approval": "delete"+ },+ {+ "id": "change-render-workspace",+ "description": "Change workspace-wide services and settings.",+ "approval": "account-wide"+ }+ ],+ "approvals": ["production", "secrets", "delete", "account-wide"],+ "catalogStatus": "verification-pending"+}diff --git a/plugins/entries/salesforce/logo-dark.svg b/plugins/entries/salesforce/logo-dark.svgnew file mode 100644index 000000000..7e19da87c--- /dev/null+++ b/plugins/entries/salesforce/logo-dark.svg@@ -0,0 +1,3 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 -150 1000 1000" fill="none">+ <path fill="#00A1E0" d="M416.224 76.763c32.219-33.57 77.074-54.391 126.682-54.391 65.946 0 123.48 36.772 154.12 91.361 26.626-11.896 56.098-18.514 87.106-18.514 118.94 0 215.368 97.268 215.368 217.247 0 119.993-96.428 217.261-215.368 217.261a213.735 213.735 0 0 1-42.422-4.227c-26.981 48.128-78.397 80.646-137.412 80.646-24.705 0-48.072-5.706-68.877-15.853-27.352 64.337-91.077 109.448-165.348 109.448-77.344 0-143.261-48.939-168.563-117.574-11.057 2.348-22.513 3.572-34.268 3.572C75.155 585.74.5 510.317.5 417.262c0-62.359 33.542-116.807 83.378-145.937-10.26-23.608-15.967-49.665-15.967-77.06C67.911 87.25 154.79.5 261.948.5c62.914 0 118.827 29.913 154.276 76.263Z"/>+</svg>diff --git a/plugins/entries/salesforce/logo.svg b/plugins/entries/salesforce/logo.svgnew file mode 100644index 000000000..7e19da87c--- /dev/null+++ b/plugins/entries/salesforce/logo.svg@@ -0,0 +1,3 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 -150 1000 1000" fill="none">+ <path fill="#00A1E0" d="M416.224 76.763c32.219-33.57 77.074-54.391 126.682-54.391 65.946 0 123.48 36.772 154.12 91.361 26.626-11.896 56.098-18.514 87.106-18.514 118.94 0 215.368 97.268 215.368 217.247 0 119.993-96.428 217.261-215.368 217.261a213.735 213.735 0 0 1-42.422-4.227c-26.981 48.128-78.397 80.646-137.412 80.646-24.705 0-48.072-5.706-68.877-15.853-27.352 64.337-91.077 109.448-165.348 109.448-77.344 0-143.261-48.939-168.563-117.574-11.057 2.348-22.513 3.572-34.268 3.572C75.155 585.74.5 510.317.5 417.262c0-62.359 33.542-116.807 83.378-145.937-10.26-23.608-15.967-49.665-15.967-77.06C67.911 87.25 154.79.5 261.948.5c62.914 0 118.827 29.913 154.276 76.263Z"/>+</svg>diff --git a/plugins/entries/salesforce/plugin.json b/plugins/entries/salesforce/plugin.jsonnew file mode 100644index 000000000..ec20884f2--- /dev/null+++ b/plugins/entries/salesforce/plugin.json@@ -0,0 +1,78 @@+{+ "schemaVersion": 1,+ "id": "salesforce",+ "name": "Salesforce",+ "description": "Read and manage Salesforce CRM data and workflows.",+ "primaryCategory": "Sales",+ "tags": ["crm", "pipeline", "customer-data"],+ "capabilities": ["read CRM records", "update CRM records", "run Salesforce workflows"],+ "publisher": {+ "name": "Salesforce",+ "url": "https://www.salesforce.com"+ },+ "maintainer": {+ "name": "Salesforce",+ "url": "https://www.salesforce.com"+ },+ "documentationUrl": "https://developer.salesforce.com/docs/platform/hosted-mcp-servers/guide/client-connection-overview.html",+ "sourceUrl": "https://github.com/forcedotcom/mcp-hosted",+ "license": "Proprietary",+ "logo": {+ "provenance": {+ "sourceUrl": "https://svgl.app/library/salesforce.svg",+ "license": "Salesforce trademark"+ }+ },+ "platforms": ["web", "desktop", "mobile"],+ "transport": {+ "type": "unavailable"+ },+ "connection": {+ "type": "approval-pending",+ "blocker": "A Salesforce administrator must enable MCP and register this client as an External Client App in each organization."+ },+ "authentication": "oauth",+ "requiredCredentials": [],+ "setup": [+ "Ask a Salesforce administrator to enable an MCP server and register this client as an External Client App."+ ],+ "permissions": [+ {+ "id": "read-crm",+ "description": "Read Salesforce records, reports, and metadata.",+ "approval": "read"+ },+ {+ "id": "write-crm",+ "description": "Create or update production Salesforce records and workflows.",+ "approval": "production"+ },+ {+ "id": "delete-crm",+ "description": "Delete Salesforce records or configuration.",+ "approval": "delete"+ },+ {+ "id": "send-campaigns",+ "description": "Send messages or launch Salesforce campaigns.",+ "approval": "send"+ },+ {+ "id": "publish-campaigns",+ "description": "Publish or activate Salesforce campaigns.",+ "approval": "publishing"+ },+ {+ "id": "manage-client-app",+ "description": "Change connected-app credentials or secret settings.",+ "approval": "secrets"+ },+ {+ "id": "manage-organization",+ "description": "Change organization-wide Salesforce settings.",+ "approval": "account-wide"+ }+ ],+ "approvals": ["send", "delete", "production", "secrets", "publishing", "account-wide"],+ "catalogStatus": "approval-pending"+}diff --git a/plugins/entries/semrush/logo-dark.svg b/plugins/entries/semrush/logo-dark.svgnew file mode 100644index 000000000..942a74d9c--- /dev/null+++ b/plugins/entries/semrush/logo-dark.svg@@ -0,0 +1,3 @@+<svg xmlns="http://www.w3.org/2000/svg" width="48" height="48" fill="none" viewBox="0 0 48 48">+ <path fill="#c190ff" d="M32.54 9c-2.22 0-4.65.81-7.35 2.23L11 19h12L0 31h25l-13 7.06L32.9 38c7.84-.2 14.1-6.6 14.1-14.5S40.5 9 32.54 9"/>+</svg>diff --git a/plugins/entries/semrush/logo.svg b/plugins/entries/semrush/logo.svgnew file mode 100644index 000000000..942a74d9c--- /dev/null+++ b/plugins/entries/semrush/logo.svg@@ -0,0 +1,3 @@+<svg xmlns="http://www.w3.org/2000/svg" width="48" height="48" fill="none" viewBox="0 0 48 48">+ <path fill="#c190ff" d="M32.54 9c-2.22 0-4.65.81-7.35 2.23L11 19h12L0 31h25l-13 7.06L32.9 38c7.84-.2 14.1-6.6 14.1-14.5S40.5 9 32.54 9"/>+</svg>diff --git a/plugins/entries/semrush/plugin.json b/plugins/entries/semrush/plugin.jsonnew file mode 100644index 000000000..8ef9bb6ee--- /dev/null+++ b/plugins/entries/semrush/plugin.json@@ -0,0 +1,47 @@+{+ "schemaVersion": 1,+ "id": "semrush",+ "name": "Semrush",+ "description": "Query SEO, traffic, keyword, and market data.",+ "primaryCategory": "Marketing",+ "tags": ["seo", "traffic", "market-research"],+ "capabilities": ["research keywords", "analyze traffic", "compare market competitors"],+ "publisher": {+ "name": "Semrush",+ "url": "https://www.semrush.com"+ },+ "maintainer": {+ "name": "Semrush",+ "url": "https://www.semrush.com"+ },+ "documentationUrl": "https://developer.semrush.com/api/v4/introduction/semrush-mcp/",+ "sourceUrl": "https://developer.semrush.com/api/v4/introduction/semrush-mcp/",+ "license": "Proprietary",+ "logo": {+ "provenance": {+ "sourceUrl": "https://www.semrush.com/__static__/favicon.37cab19e6995.svg",+ "license": "Semrush brand asset"+ }+ },+ "platforms": ["web", "desktop", "mobile"],+ "transport": {+ "type": "url",+ "url": "https://mcp.semrush.com/v2/mcp"+ },+ "connection": {+ "type": "verification-pending",+ "blocker": "Connection lifecycle not verified: install, OAuth, safe read, approved write, disable, reconnect, and removal."+ },+ "authentication": "oauth",+ "requiredCredentials": [],+ "setup": ["Wait for the Semrush connection lifecycle to pass."],+ "permissions": [+ {+ "id": "read-marketing-data",+ "description": "Read SEO, traffic, keyword, and market data.",+ "approval": "read"+ }+ ],+ "approvals": [],+ "catalogStatus": "verification-pending"+}diff --git a/plugins/entries/sentry/logo-dark.svg b/plugins/entries/sentry/logo-dark.svgnew file mode 100644index 000000000..5b028b07e--- /dev/null+++ b/plugins/entries/sentry/logo-dark.svg@@ -0,0 +1 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 50 50"><path fill="#ffffff" d="M29,2.26a4.67,4.67,0,0,0-8,0L14.42,13.53A32.21,32.21,0,0,1,32.17,40.19H27.55A27.68,27.68,0,0,0,12.09,17.47L6,28a15.92,15.92,0,0,1,9.23,12.17H4.62A.76.76,0,0,1,4,39.06l2.94-5a10.74,10.74,0,0,0-3.36-1.9l-2.91,5a4.54,4.54,0,0,0,1.69,6.24A4.66,4.66,0,0,0,4.62,44H19.15a19.4,19.4,0,0,0-8-17.31l2.31-4A23.87,23.87,0,0,1,23.76,44H36.07a35.88,35.88,0,0,0-16.41-31.8l4.67-8a.77.77,0,0,1,1.05-.27c.53.29,20.29,34.77,20.66,35.17a.76.76,0,0,1-.68,1.13H40.6q.09,1.91,0,3.81h4.78A4.59,4.59,0,0,0,50,39.43a4.49,4.49,0,0,0-.62-2.28Z"/></svg>diff --git a/plugins/entries/sentry/logo.svg b/plugins/entries/sentry/logo.svgnew file mode 100644index 000000000..5a51531ab--- /dev/null+++ b/plugins/entries/sentry/logo.svg@@ -0,0 +1 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 50 50"><path fill="#181225" d="M29,2.26a4.67,4.67,0,0,0-8,0L14.42,13.53A32.21,32.21,0,0,1,32.17,40.19H27.55A27.68,27.68,0,0,0,12.09,17.47L6,28a15.92,15.92,0,0,1,9.23,12.17H4.62A.76.76,0,0,1,4,39.06l2.94-5a10.74,10.74,0,0,0-3.36-1.9l-2.91,5a4.54,4.54,0,0,0,1.69,6.24A4.66,4.66,0,0,0,4.62,44H19.15a19.4,19.4,0,0,0-8-17.31l2.31-4A23.87,23.87,0,0,1,23.76,44H36.07a35.88,35.88,0,0,0-16.41-31.8l4.67-8a.77.77,0,0,1,1.05-.27c.53.29,20.29,34.77,20.66,35.17a.76.76,0,0,1-.68,1.13H40.6q.09,1.91,0,3.81h4.78A4.59,4.59,0,0,0,50,39.43a4.49,4.49,0,0,0-.62-2.28Z"/></svg>diff --git a/plugins/entries/sentry/plugin.json b/plugins/entries/sentry/plugin.jsonnew file mode 100644index 000000000..3a3a7aec1--- /dev/null+++ b/plugins/entries/sentry/plugin.json@@ -0,0 +1,62 @@+{+ "schemaVersion": 1,+ "id": "sentry",+ "name": "Sentry",+ "description": "Investigate errors, traces, releases, and project health.",+ "primaryCategory": "Build",+ "tags": ["errors", "observability", "tracing"],+ "capabilities": ["investigate errors", "analyze traces", "manage projects"],+ "publisher": {+ "name": "Sentry",+ "url": "https://sentry.io"+ },+ "maintainer": {+ "name": "Sentry",+ "url": "https://sentry.io"+ },+ "documentationUrl": "https://docs.sentry.io/product/sentry-mcp/",+ "sourceUrl": "https://github.com/getsentry/sentry-mcp",+ "license": "Proprietary",+ "logo": {+ "provenance": {+ "sourceUrl": "https://sentry.io/branding/",+ "license": "Sentry brand asset"+ }+ },+ "platforms": ["web", "desktop", "mobile"],+ "transport": {+ "type": "url",+ "url": "https://mcp.sentry.dev/mcp"+ },+ "connection": {+ "type": "verification-pending",+ "blocker": "Connection lifecycle not verified: install, OAuth, safe read, approved write, disable, reconnect, and removal."+ },+ "authentication": "oauth",+ "requiredCredentials": [],+ "setup": ["Wait for the Sentry connection lifecycle to pass."],+ "permissions": [+ {+ "id": "read-observability-data",+ "description": "Read issues, traces, releases, projects, and teams.",+ "approval": "read"+ },+ {+ "id": "change-sentry-projects",+ "description": "Create or change production projects and issue state.",+ "approval": "production"+ },+ {+ "id": "manage-dsns",+ "description": "Read or change project DSNs.",+ "approval": "secrets"+ },+ {+ "id": "change-organization",+ "description": "Change organization-wide teams and access.",+ "approval": "account-wide"+ }+ ],+ "approvals": ["production", "secrets", "account-wide"],+ "catalogStatus": "verification-pending"+}diff --git a/plugins/entries/sequenzy/logo-dark.svg b/plugins/entries/sequenzy/logo-dark.svgnew file mode 100644index 000000000..4c943f0f5--- /dev/null+++ b/plugins/entries/sequenzy/logo-dark.svg@@ -0,0 +1,27 @@+<svg version="1.0" xmlns="http://www.w3.org/2000/svg"+ width="468.782829pt" height="323.009211pt" viewBox="0 0 468.782829 323.009211"+ preserveAspectRatio="xMidYMid meet">+<g transform="translate(-30.545705,403.943770) scale(0.100000,-0.100000)"+fill="#ff5c5c" stroke="none">+<path d="M2960 4031 c-50 -15 -89 -41 -124 -82 -46 -54 -59 -96 -54 -174 7+-116 86 -202 207 -225 59 -11 1459 -14 1524 -4 20 4 61 21 89 38 138 82 158+266 43 381 -78 78 -42 75 -899 74 -419 0 -772 -4 -786 -8z M1510 3834 c-14 -2+-59 -9 -100 -15 -342 -51 -672 -265 -876 -570 -161 -242 -228 -473 -229 -799+0 -212 15 -316 72 -495 82 -256 197 -447 387 -644 237 -244 506 -393 858 -474+92 -21 111 -21 1208 -24 l1116 -4 44 24 c25 13 59 43 75 66 27 39 30 50 30+121 0 71 -3 82 -30 122 -17 23 -51 54 -75 68 l-45 25 -1090 6 c-1080 5 -1091+5 -1188 27 -415 94 -735 377 -875 772 -52 148 -66 237 -65 415 0 140 4 173 27+260 72 272 235 478 476 600 216 109 460 128 687 53 398 -131 647 -537 553+-902 -63 -249 -271 -416 -515 -416 -210 0 -387 135 -411 314 -8 53 17 134 49+163 51 47 98 40 127 -17 76 -149 291 -158 360 -15 19 39 22 58 18 123 -6 99+-47 180 -127 254 -83 76 -165 111 -271 116 -164 8 -295 -43 -411 -158 -121+-121 -174 -267 -167 -455 5 -124 38 -239 99 -342 48 -82 190 -222 275 -271+299 -176 676 -169 969 19 93 60 210 169 270 254 250 349 235 855 -37 1252 -67+99 -221 253 -318 319 -151 104 -330 178 -505 209 -89 16 -316 28 -365 19z+M3695 3120 c-360 -6 -351 -4 -423 -85 -68 -78 -79 -177 -30 -273 27 -53 91+-106 146 -122 24 -6 280 -10 718 -10 759 0 735 -2 808 68 126 120 98 320 -55+398 l-48 24 -398 3 c-219 1 -542 0 -718 -3z M3227 2176 c-131 -47 -199 -174+-162 -302 12 -42 28 -68 65 -104 82 -83 66 -81 746 -78 l589 3 53 29 c191 106+169 381 -37 451 -63 21 -1194 22 -1254 1z"/>+</g>+</svg>diff --git a/plugins/entries/sequenzy/logo.svg b/plugins/entries/sequenzy/logo.svgnew file mode 100644index 000000000..4c943f0f5--- /dev/null+++ b/plugins/entries/sequenzy/logo.svg@@ -0,0 +1,27 @@+<svg version="1.0" xmlns="http://www.w3.org/2000/svg"+ width="468.782829pt" height="323.009211pt" viewBox="0 0 468.782829 323.009211"+ preserveAspectRatio="xMidYMid meet">+<g transform="translate(-30.545705,403.943770) scale(0.100000,-0.100000)"+fill="#ff5c5c" stroke="none">+<path d="M2960 4031 c-50 -15 -89 -41 -124 -82 -46 -54 -59 -96 -54 -174 7+-116 86 -202 207 -225 59 -11 1459 -14 1524 -4 20 4 61 21 89 38 138 82 158+266 43 381 -78 78 -42 75 -899 74 -419 0 -772 -4 -786 -8z M1510 3834 c-14 -2+-59 -9 -100 -15 -342 -51 -672 -265 -876 -570 -161 -242 -228 -473 -229 -799+0 -212 15 -316 72 -495 82 -256 197 -447 387 -644 237 -244 506 -393 858 -474+92 -21 111 -21 1208 -24 l1116 -4 44 24 c25 13 59 43 75 66 27 39 30 50 30+121 0 71 -3 82 -30 122 -17 23 -51 54 -75 68 l-45 25 -1090 6 c-1080 5 -1091+5 -1188 27 -415 94 -735 377 -875 772 -52 148 -66 237 -65 415 0 140 4 173 27+260 72 272 235 478 476 600 216 109 460 128 687 53 398 -131 647 -537 553+-902 -63 -249 -271 -416 -515 -416 -210 0 -387 135 -411 314 -8 53 17 134 49+163 51 47 98 40 127 -17 76 -149 291 -158 360 -15 19 39 22 58 18 123 -6 99+-47 180 -127 254 -83 76 -165 111 -271 116 -164 8 -295 -43 -411 -158 -121+-121 -174 -267 -167 -455 5 -124 38 -239 99 -342 48 -82 190 -222 275 -271+299 -176 676 -169 969 19 93 60 210 169 270 254 250 349 235 855 -37 1252 -67+99 -221 253 -318 319 -151 104 -330 178 -505 209 -89 16 -316 28 -365 19z+M3695 3120 c-360 -6 -351 -4 -423 -85 -68 -78 -79 -177 -30 -273 27 -53 91+-106 146 -122 24 -6 280 -10 718 -10 759 0 735 -2 808 68 126 120 98 320 -55+398 l-48 24 -398 3 c-219 1 -542 0 -718 -3z M3227 2176 c-131 -47 -199 -174+-162 -302 12 -42 28 -68 65 -104 82 -83 66 -81 746 -78 l589 3 53 29 c191 106+169 381 -37 451 -63 21 -1194 22 -1254 1z"/>+</g>+</svg>diff --git a/plugins/entries/sequenzy/plugin.json b/plugins/entries/sequenzy/plugin.jsonnew file mode 100644index 000000000..86b64cc1f--- /dev/null+++ b/plugins/entries/sequenzy/plugin.json@@ -0,0 +1,72 @@+{+ "schemaVersion": 1,+ "id": "sequenzy",+ "name": "Sequenzy",+ "description": "Manage audiences, campaigns, and email delivery.",+ "primaryCategory": "Marketing",+ "tags": ["email", "campaigns", "automation"],+ "capabilities": ["manage email audiences", "build campaigns", "send email"],+ "publisher": {+ "name": "Sequenzy",+ "url": "https://www.sequenzy.com"+ },+ "maintainer": {+ "name": "Sequenzy",+ "url": "https://www.sequenzy.com"+ },+ "documentationUrl": "https://docs.sequenzy.com/concepts/mcp",+ "sourceUrl": "https://github.com/Sequenzy/mcp",+ "license": "Proprietary",+ "logo": {+ "provenance": {+ "sourceUrl": "https://raw.githubusercontent.com/Sequenzy/mcp/main/assets/logo.png",+ "license": "Sequenzy brand asset"+ }+ },+ "platforms": ["web", "desktop", "mobile"],+ "transport": {+ "type": "url",+ "url": "https://api.sequenzy.com/v1/mcp"+ },+ "connection": {+ "type": "verification-pending",+ "blocker": "Connection lifecycle not verified: install, OAuth, safe read, approved write, disable, reconnect, and removal."+ },+ "authentication": "oauth",+ "requiredCredentials": [],+ "setup": ["Wait for the Sequenzy connection lifecycle to pass."],+ "permissions": [+ {+ "id": "read-marketing-data",+ "description": "Read audiences, campaigns, and delivery results.",+ "approval": "read"+ },+ {+ "id": "send-email",+ "description": "Send transactional and campaign email.",+ "approval": "send"+ },+ {+ "id": "publish-campaigns",+ "description": "Publish email campaigns.",+ "approval": "publishing"+ },+ {+ "id": "delete-marketing-data",+ "description": "Delete audiences, campaigns, or templates.",+ "approval": "delete"+ },+ {+ "id": "manage-api-keys",+ "description": "Create or revoke API keys.",+ "approval": "secrets"+ },+ {+ "id": "change-workspace",+ "description": "Change shared workspace settings.",+ "approval": "account-wide"+ }+ ],+ "approvals": ["send", "publishing", "delete", "secrets", "account-wide"],+ "catalogStatus": "verification-pending"+}diff --git a/plugins/entries/shopify/logo-dark.svg b/plugins/entries/shopify/logo-dark.svgnew file mode 100644index 000000000..796d128ef--- /dev/null+++ b/plugins/entries/shopify/logo-dark.svg@@ -0,0 +1 @@+<svg fill="#fff" role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>Shopify</title><path d="M15.337 23.979l7.216-1.561s-2.604-17.613-2.625-17.73c-.018-.116-.114-.192-.211-.192s-1.929-.136-1.929-.136-1.275-1.274-1.439-1.411c-.045-.037-.075-.057-.121-.074l-.914 21.104h.023zM11.71 11.305s-.81-.424-1.774-.424c-1.447 0-1.504.906-1.504 1.141 0 1.232 3.24 1.715 3.24 4.629 0 2.295-1.44 3.76-3.406 3.76-2.354 0-3.54-1.465-3.54-1.465l.646-2.086s1.245 1.066 2.28 1.066c.675 0 .975-.545.975-.932 0-1.619-2.654-1.694-2.654-4.359-.034-2.237 1.571-4.416 4.827-4.416 1.257 0 1.875.361 1.875.361l-.945 2.715-.02.01zM11.17.83c.136 0 .271.038.405.135-.984.465-2.064 1.639-2.508 3.992-.656.213-1.293.405-1.889.578C7.697 3.75 8.951.84 11.17.84V.83zm1.235 2.949v.135c-.754.232-1.583.484-2.394.736.466-1.777 1.333-2.645 2.085-2.971.193.501.309 1.176.309 2.1zm.539-2.234c.694.074 1.141.867 1.429 1.755-.349.114-.735.231-1.158.366v-.252c0-.752-.096-1.371-.271-1.871v.002zm2.992 1.289c-.02 0-.06.021-.078.021s-.289.075-.714.21c-.423-1.233-1.176-2.37-2.508-2.37h-.115C12.135.209 11.669 0 11.265 0 8.159 0 6.675 3.877 6.21 5.846c-1.194.365-2.063.636-2.16.674-.675.213-.694.232-.772.87-.075.462-1.83 14.063-1.83 14.063L15.009 24l.927-21.166z"/></svg>diff --git a/plugins/entries/shopify/logo.svg b/plugins/entries/shopify/logo.svgnew file mode 100644index 000000000..25a6f3c56--- /dev/null+++ b/plugins/entries/shopify/logo.svg@@ -0,0 +1 @@+<svg role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>Shopify</title><path d="M15.337 23.979l7.216-1.561s-2.604-17.613-2.625-17.73c-.018-.116-.114-.192-.211-.192s-1.929-.136-1.929-.136-1.275-1.274-1.439-1.411c-.045-.037-.075-.057-.121-.074l-.914 21.104h.023zM11.71 11.305s-.81-.424-1.774-.424c-1.447 0-1.504.906-1.504 1.141 0 1.232 3.24 1.715 3.24 4.629 0 2.295-1.44 3.76-3.406 3.76-2.354 0-3.54-1.465-3.54-1.465l.646-2.086s1.245 1.066 2.28 1.066c.675 0 .975-.545.975-.932 0-1.619-2.654-1.694-2.654-4.359-.034-2.237 1.571-4.416 4.827-4.416 1.257 0 1.875.361 1.875.361l-.945 2.715-.02.01zM11.17.83c.136 0 .271.038.405.135-.984.465-2.064 1.639-2.508 3.992-.656.213-1.293.405-1.889.578C7.697 3.75 8.951.84 11.17.84V.83zm1.235 2.949v.135c-.754.232-1.583.484-2.394.736.466-1.777 1.333-2.645 2.085-2.971.193.501.309 1.176.309 2.1zm.539-2.234c.694.074 1.141.867 1.429 1.755-.349.114-.735.231-1.158.366v-.252c0-.752-.096-1.371-.271-1.871v.002zm2.992 1.289c-.02 0-.06.021-.078.021s-.289.075-.714.21c-.423-1.233-1.176-2.37-2.508-2.37h-.115C12.135.209 11.669 0 11.265 0 8.159 0 6.675 3.877 6.21 5.846c-1.194.365-2.063.636-2.16.674-.675.213-.694.232-.772.87-.075.462-1.83 14.063-1.83 14.063L15.009 24l.927-21.166z"/></svg>diff --git a/plugins/entries/shopify/plugin.json b/plugins/entries/shopify/plugin.jsonnew file mode 100644index 000000000..f44736017--- /dev/null+++ b/plugins/entries/shopify/plugin.json@@ -0,0 +1,81 @@+{+ "schemaVersion": 1,+ "id": "shopify",+ "name": "Shopify Admin",+ "description": "Manage Shopify stores when a merchant operator MCP becomes available.",+ "primaryCategory": "Commerce",+ "tags": ["ecommerce", "storefront", "orders"],+ "capabilities": ["read store data", "manage products and orders", "publish storefront content"],+ "publisher": {+ "name": "Shopify",+ "url": "https://www.shopify.com"+ },+ "maintainer": {+ "name": "Shopify",+ "url": "https://www.shopify.com"+ },+ "documentationUrl": "https://shopify.dev/docs/api/admin",+ "sourceUrl": "https://shopify.dev/docs/api/admin",+ "license": "Proprietary",+ "logo": {+ "provenance": {+ "sourceUrl": "https://raw.githubusercontent.com/simple-icons/simple-icons/develop/icons/shopify.svg",+ "license": "CC0-1.0"+ }+ },+ "platforms": ["web", "desktop", "mobile"],+ "transport": {+ "type": "unavailable"+ },+ "connection": {+ "type": "approval-pending",+ "blocker": "Shopify does not publish a first-party merchant Admin MCP with a stable connection recipe."+ },+ "authentication": "none",+ "requiredCredentials": [],+ "setup": ["Wait for Shopify to publish a first-party merchant Admin MCP connection recipe."],+ "permissions": [+ {+ "id": "read-store-data",+ "description": "Read products, customers, orders, inventory, and store settings.",+ "approval": "read"+ },+ {+ "id": "charge-customers",+ "description": "Create payment or order charges.",+ "approval": "pay"+ },+ {+ "id": "send-store-messages",+ "description": "Send customer or order messages.",+ "approval": "send"+ },+ {+ "id": "write-live-store",+ "description": "Change products, orders, inventory, or live store settings.",+ "approval": "production"+ },+ {+ "id": "delete-store-data",+ "description": "Delete Shopify Admin resources.",+ "approval": "delete"+ },+ {+ "id": "publish-store-content",+ "description": "Publish products, pages, or storefront content.",+ "approval": "publishing"+ },+ {+ "id": "issue-refunds",+ "description": "Issue order or payment refunds.",+ "approval": "refunds"+ },+ {+ "id": "manage-store",+ "description": "Change store-wide Shopify settings.",+ "approval": "account-wide"+ }+ ],+ "approvals": ["send", "pay", "delete", "production", "publishing", "refunds", "account-wide"],+ "catalogStatus": "approval-pending"+}diff --git a/plugins/entries/slack/logo-dark.svg b/plugins/entries/slack/logo-dark.svgnew file mode 100644index 000000000..275172a55--- /dev/null+++ b/plugins/entries/slack/logo-dark.svg@@ -0,0 +1 @@+<svg viewBox="0 0 64 64" xmlns="http://www.w3.org/2000/svg"><path fill="#E01E5A" d="M17.78 40.31a6.32 6.73 0 0 1 12.64 0v16.56a6.32 6.73 0 0 1-12.64 0z"/><path fill="#ECB22D" d="M40.31 46.22a6.73 6.32 0 0 1 0-12.64h16.56a6.73 6.32 0 0 1 0 12.64z"/><path fill="#2FB67C" d="M33.58 7.12a6.32 6.73 0 0 1 12.64 0v16.57a6.32 6.73 0 0 1-12.64 0z"/><path fill="#36C5F1" d="M7.12 30.42a6.73 6.32 0 0 1 0-12.64h16.57a6.73 6.32 0 0 1 0 12.64z"/><path fill="#ECB22D" d="M33.58 51.21a6.32 6.32 0 0 1 12.64 0v6.32H39.9a6.32 6.32 0 0 1-6.32-6.32z"/><path fill="#2FB67C" d="M51.21 30.42a6.32 6.32 0 0 1 0-12.64h6.32v6.32a6.32 6.32 0 0 1-6.32 6.32z"/><path fill="#E01E5A" d="M12.79 33.58a6.32 6.32 0 0 1 0 12.64H6.47V39.9a6.32 6.32 0 0 1 6.32-6.32z"/><path fill="#36C5F1" d="M30.42 12.79a6.32 6.32 0 0 1-12.64 0V6.47h6.32a6.32 6.32 0 0 1 6.32 6.32z"/></svg>diff --git a/plugins/entries/slack/logo.svg b/plugins/entries/slack/logo.svgnew file mode 100644index 000000000..275172a55--- /dev/null+++ b/plugins/entries/slack/logo.svg@@ -0,0 +1 @@+<svg viewBox="0 0 64 64" xmlns="http://www.w3.org/2000/svg"><path fill="#E01E5A" d="M17.78 40.31a6.32 6.73 0 0 1 12.64 0v16.56a6.32 6.73 0 0 1-12.64 0z"/><path fill="#ECB22D" d="M40.31 46.22a6.73 6.32 0 0 1 0-12.64h16.56a6.73 6.32 0 0 1 0 12.64z"/><path fill="#2FB67C" d="M33.58 7.12a6.32 6.73 0 0 1 12.64 0v16.57a6.32 6.73 0 0 1-12.64 0z"/><path fill="#36C5F1" d="M7.12 30.42a6.73 6.32 0 0 1 0-12.64h16.57a6.73 6.32 0 0 1 0 12.64z"/><path fill="#ECB22D" d="M33.58 51.21a6.32 6.32 0 0 1 12.64 0v6.32H39.9a6.32 6.32 0 0 1-6.32-6.32z"/><path fill="#2FB67C" d="M51.21 30.42a6.32 6.32 0 0 1 0-12.64h6.32v6.32a6.32 6.32 0 0 1-6.32 6.32z"/><path fill="#E01E5A" d="M12.79 33.58a6.32 6.32 0 0 1 0 12.64H6.47V39.9a6.32 6.32 0 0 1 6.32-6.32z"/><path fill="#36C5F1" d="M30.42 12.79a6.32 6.32 0 0 1-12.64 0V6.47h6.32a6.32 6.32 0 0 1 6.32 6.32z"/></svg>diff --git a/plugins/entries/slack/plugin.json b/plugins/entries/slack/plugin.jsonnew file mode 100644index 000000000..a37965731--- /dev/null+++ b/plugins/entries/slack/plugin.json@@ -0,0 +1,35 @@+{+ "schemaVersion": 1,+ "id": "slack",+ "name": "Slack",+ "description": "Search Slack conversations and send messages.",+ "primaryCategory": "Work",+ "tags": ["messaging", "channels", "collaboration"],+ "capabilities": ["search messages", "read channels", "send messages"],+ "publisher": { "name": "Slack", "url": "https://slack.com" },+ "maintainer": { "name": "Slack", "url": "https://slack.com" },+ "documentationUrl": "https://docs.slack.dev/ai/slack-mcp-server/",+ "sourceUrl": "https://docs.slack.dev/ai/slack-mcp-server/",+ "license": "Proprietary",+ "logo": {+ "provenance": {+ "sourceUrl": "https://www.vectorlogo.zone/logos/slack/slack-icon.svg",+ "license": "Slack trademark; vector from VectorLogoZone"+ }+ },+ "platforms": ["web", "desktop", "mobile"],+ "transport": { "type": "url", "url": "https://mcp.slack.com/mcp" },+ "connection": {+ "type": "approval-pending",+ "blocker": "Slack must approve and register this OAuth app before Connect can be enabled."+ },+ "authentication": "oauth",+ "requiredCredentials": [],+ "setup": ["Wait for Slack to approve this OAuth app."],+ "permissions": [+ { "id": "read-slack-data", "description": "Read Slack workspace data.", "approval": "read" },+ { "id": "send-slack-message", "description": "Send a Slack message.", "approval": "send" }+ ],+ "approvals": ["send"],+ "catalogStatus": "approval-pending"+}diff --git a/plugins/entries/stripe/logo-dark.svg b/plugins/entries/stripe/logo-dark.svgnew file mode 100644index 000000000..61879f263--- /dev/null+++ b/plugins/entries/stripe/logo-dark.svg@@ -0,0 +1 @@+<svg fill="#fff" role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>Stripe</title><path d="M13.976 9.15c-2.172-.806-3.356-1.426-3.356-2.409 0-.831.683-1.305 1.901-1.305 2.227 0 4.515.858 6.09 1.631l.89-5.494C18.252.975 15.697 0 12.165 0 9.667 0 7.589.654 6.104 1.872 4.56 3.147 3.757 4.992 3.757 7.218c0 4.039 2.467 5.76 6.476 7.219 2.585.92 3.445 1.574 3.445 2.583 0 .98-.84 1.545-2.354 1.545-1.875 0-4.965-.921-6.99-2.109l-.9 5.555C5.175 22.99 8.385 24 11.714 24c2.641 0 4.843-.624 6.328-1.813 1.664-1.305 2.525-3.236 2.525-5.732 0-4.128-2.524-5.851-6.594-7.305h.003z"/></svg>diff --git a/plugins/entries/stripe/logo.svg b/plugins/entries/stripe/logo.svgnew file mode 100644index 000000000..059900997--- /dev/null+++ b/plugins/entries/stripe/logo.svg@@ -0,0 +1 @@+<svg role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>Stripe</title><path d="M13.976 9.15c-2.172-.806-3.356-1.426-3.356-2.409 0-.831.683-1.305 1.901-1.305 2.227 0 4.515.858 6.09 1.631l.89-5.494C18.252.975 15.697 0 12.165 0 9.667 0 7.589.654 6.104 1.872 4.56 3.147 3.757 4.992 3.757 7.218c0 4.039 2.467 5.76 6.476 7.219 2.585.92 3.445 1.574 3.445 2.583 0 .98-.84 1.545-2.354 1.545-1.875 0-4.965-.921-6.99-2.109l-.9 5.555C5.175 22.99 8.385 24 11.714 24c2.641 0 4.843-.624 6.328-1.813 1.664-1.305 2.525-3.236 2.525-5.732 0-4.128-2.524-5.851-6.594-7.305h.003z"/></svg>diff --git a/plugins/entries/stripe/plugin.json b/plugins/entries/stripe/plugin.jsonnew file mode 100644index 000000000..1c586758e--- /dev/null+++ b/plugins/entries/stripe/plugin.json@@ -0,0 +1,82 @@+{+ "schemaVersion": 1,+ "id": "stripe",+ "name": "Stripe",+ "description": "Read and manage Stripe payments, billing, and account data.",+ "primaryCategory": "Commerce",+ "tags": ["payments", "billing", "subscriptions"],+ "capabilities": ["read payment data", "manage billing records", "issue refunds"],+ "publisher": {+ "name": "Stripe",+ "url": "https://stripe.com"+ },+ "maintainer": {+ "name": "Stripe",+ "url": "https://stripe.com"+ },+ "documentationUrl": "https://docs.stripe.com/mcp",+ "sourceUrl": "https://docs.stripe.com/mcp",+ "license": "Proprietary",+ "logo": {+ "provenance": {+ "sourceUrl": "https://raw.githubusercontent.com/simple-icons/simple-icons/develop/icons/stripe.svg",+ "license": "CC0-1.0"+ }+ },+ "platforms": ["web", "desktop", "mobile"],+ "transport": {+ "type": "url",+ "url": "https://mcp.stripe.com"+ },+ "connection": {+ "type": "verification-pending",+ "blocker": "Hosted MCP lifecycle not verified: OAuth, a real request, and removal."+ },+ "authentication": "oauth",+ "requiredCredentials": [],+ "setup": ["Connect a Stripe account through OAuth and choose sandbox or live mode."],+ "permissions": [+ {+ "id": "read-commerce-data",+ "description": "Read customers, payments, products, subscriptions, and reports.",+ "approval": "read"+ },+ {+ "id": "create-payments",+ "description": "Create payment, invoice, payout, or billing actions.",+ "approval": "pay"+ },+ {+ "id": "send-billing",+ "description": "Send invoices or other billing communication.",+ "approval": "send"+ },+ {+ "id": "write-live-data",+ "description": "Create or update live Stripe data.",+ "approval": "production"+ },+ {+ "id": "delete-commerce-data",+ "description": "Delete Stripe resources when the API permits it.",+ "approval": "delete"+ },+ {+ "id": "manage-secrets",+ "description": "Create webhook endpoints or other secret-backed settings.",+ "approval": "secrets"+ },+ {+ "id": "issue-refunds",+ "description": "Issue Stripe refunds.",+ "approval": "refunds"+ },+ {+ "id": "manage-account",+ "description": "Change account-wide Stripe resources or settings.",+ "approval": "account-wide"+ }+ ],+ "approvals": ["send", "pay", "delete", "production", "secrets", "refunds", "account-wide"],+ "catalogStatus": "verification-pending"+}diff --git a/plugins/entries/superside/logo-dark.svg b/plugins/entries/superside/logo-dark.svgnew file mode 100644index 000000000..35139647a--- /dev/null+++ b/plugins/entries/superside/logo-dark.svg@@ -0,0 +1,4 @@+<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 48 48" height="48" width="48">+<rect fill="#0A211F" rx="10" height="48" width="48"></rect>+<path fill="#D8FF85" d="M32.4937 30.8352C32.8477 36.0924 28.2785 39.0085 24.7499 39C23.0607 38.9963 21.2142 38.3151 19.6776 37.2232L17.235 35.4904C15.3456 34.1718 14.8044 33.9452 14.0915 33.9427C12.3654 33.9378 11.2472 35.1747 11.3557 36.7894C11.3938 37.3524 11.4141 37.8033 11.91 38.4809L6.66601 38.4674C6.2774 37.7156 6.06759 36.8138 6.01395 36.0253C5.76361 32.3085 8.90713 28.8245 13.5598 28.8355C15.4743 28.8404 17.4651 29.446 19.0446 30.6134L22.5183 33.175C23.1871 33.6271 23.7271 33.8538 24.4781 33.8562C26.6549 33.8611 27.4237 31.9113 27.3379 30.6342C27.2819 29.8079 26.8563 29.0561 26.1458 28.5284L19.2699 23.3675C17.3352 21.9357 16.1657 19.6057 16.0012 17.1648C15.6484 11.9076 20.2164 8.99149 23.745 9.00002C25.4342 9.00367 27.2807 9.68488 28.8173 10.7768L31.2599 12.5096C33.1493 13.8282 33.6905 14.0549 34.4034 14.0561C36.1295 14.0609 37.0474 12.824 36.939 11.2094C36.9008 10.6464 36.8805 10.1955 36.3846 9.51793L41.6286 9.53134C42.0172 10.2832 42.7837 14.8859 39.6104 17.5084C35.3308 21.0449 31.0274 18.5528 29.4491 17.3841L25.9754 14.8226C25.3066 14.3705 24.7666 14.1438 24.0156 14.1414C21.8388 14.1365 21.0699 16.0863 21.1534 17.3256C21.2094 18.1518 21.6374 18.9415 22.3109 19.468L29.2238 24.6288C31.1562 26.0229 32.3304 28.4285 32.4925 30.8316L32.4937 30.8352Z"></path>+</svg>diff --git a/plugins/entries/superside/logo.svg b/plugins/entries/superside/logo.svgnew file mode 100644index 000000000..35139647a--- /dev/null+++ b/plugins/entries/superside/logo.svg@@ -0,0 +1,4 @@+<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 48 48" height="48" width="48">+<rect fill="#0A211F" rx="10" height="48" width="48"></rect>+<path fill="#D8FF85" d="M32.4937 30.8352C32.8477 36.0924 28.2785 39.0085 24.7499 39C23.0607 38.9963 21.2142 38.3151 19.6776 37.2232L17.235 35.4904C15.3456 34.1718 14.8044 33.9452 14.0915 33.9427C12.3654 33.9378 11.2472 35.1747 11.3557 36.7894C11.3938 37.3524 11.4141 37.8033 11.91 38.4809L6.66601 38.4674C6.2774 37.7156 6.06759 36.8138 6.01395 36.0253C5.76361 32.3085 8.90713 28.8245 13.5598 28.8355C15.4743 28.8404 17.4651 29.446 19.0446 30.6134L22.5183 33.175C23.1871 33.6271 23.7271 33.8538 24.4781 33.8562C26.6549 33.8611 27.4237 31.9113 27.3379 30.6342C27.2819 29.8079 26.8563 29.0561 26.1458 28.5284L19.2699 23.3675C17.3352 21.9357 16.1657 19.6057 16.0012 17.1648C15.6484 11.9076 20.2164 8.99149 23.745 9.00002C25.4342 9.00367 27.2807 9.68488 28.8173 10.7768L31.2599 12.5096C33.1493 13.8282 33.6905 14.0549 34.4034 14.0561C36.1295 14.0609 37.0474 12.824 36.939 11.2094C36.9008 10.6464 36.8805 10.1955 36.3846 9.51793L41.6286 9.53134C42.0172 10.2832 42.7837 14.8859 39.6104 17.5084C35.3308 21.0449 31.0274 18.5528 29.4491 17.3841L25.9754 14.8226C25.3066 14.3705 24.7666 14.1438 24.0156 14.1414C21.8388 14.1365 21.0699 16.0863 21.1534 17.3256C21.2094 18.1518 21.6374 18.9415 22.3109 19.468L29.2238 24.6288C31.1562 26.0229 32.3304 28.4285 32.4925 30.8316L32.4937 30.8352Z"></path>+</svg>diff --git a/plugins/entries/superside/plugin.json b/plugins/entries/superside/plugin.jsonnew file mode 100644index 000000000..61ff93d79--- /dev/null+++ b/plugins/entries/superside/plugin.json@@ -0,0 +1,56 @@+{+ "schemaVersion": 1,+ "id": "superside",+ "name": "Superside",+ "description": "Work with Superside projects when an operator MCP becomes available.",+ "primaryCategory": "Design",+ "tags": ["creative-services", "projects", "brand-assets"],+ "capabilities": ["read creative projects", "send creative briefs", "manage delivered assets"],+ "publisher": {+ "name": "Superside",+ "url": "https://www.superside.com"+ },+ "maintainer": {+ "name": "Superside",+ "url": "https://www.superside.com"+ },+ "documentationUrl": "https://www.superside.com",+ "sourceUrl": "https://www.superside.com",+ "license": "Proprietary",+ "logo": {+ "provenance": {+ "sourceUrl": "https://media.brand.dev/d061da3b-f414-4fa4-9232-9b3ff1676cc4.svg",+ "license": "Superside trademark"+ }+ },+ "platforms": ["web", "desktop", "mobile"],+ "transport": {+ "type": "unavailable"+ },+ "connection": {+ "type": "approval-pending",+ "blocker": "Superside does not publish a first-party operator MCP endpoint or supported local command."+ },+ "authentication": "none",+ "requiredCredentials": [],+ "setup": ["Wait for Superside to publish a first-party operator MCP connection recipe."],+ "permissions": [+ {+ "id": "read-projects",+ "description": "Read creative projects, briefs, and delivered assets.",+ "approval": "read"+ },+ {+ "id": "send-briefs",+ "description": "Send creative briefs or project messages.",+ "approval": "send"+ },+ {+ "id": "publish-assets",+ "description": "Approve or publish delivered creative assets.",+ "approval": "publishing"+ }+ ],+ "approvals": ["send", "publishing"],+ "catalogStatus": "approval-pending"+}diff --git a/plugins/entries/tavily/logo-dark.svg b/plugins/entries/tavily/logo-dark.svgnew file mode 100644index 000000000..591fa5e09--- /dev/null+++ b/plugins/entries/tavily/logo-dark.svg@@ -0,0 +1 @@+<svg viewBox="0 0 56 56" xmlns="http://www.w3.org/2000/svg"><path fill="#F5F4F2" d="M39.514 0C45.284 0 48.17 0 50.374 1.123a10.31 10.31 0 0 1 4.503 4.503C56 7.83 56 10.715 56 16.485v23.03c0 5.77 0 8.655-1.123 10.859a10.31 10.31 0 0 1-4.503 4.503C48.17 56 45.284 56 39.514 56H16.485c-5.77 0-8.656 0-10.86-1.123a10.31 10.31 0 0 1-4.502-4.503C0 48.17 0 45.285 0 39.515v-23.03C0 10.715 0 7.83 1.123 5.626a10.31 10.31 0 0 1 4.502-4.503C7.83 0 10.715 0 16.485 0h23.029ZM23.81 30.958a2.3 2.3 0 0 0-1.631.679l-4.409 4.425-1.171-1.175c-.861-.864-2.334-.437-2.602.756l-1.67 7.428a1.55 1.55 0 0 0 .412 1.438 1.54 1.54 0 0 0 1.433.418l7.399-1.677c1.188-.269 1.614-1.748.753-2.612l-1.172-1.176 4.41-4.425a2.32 2.32 0 0 0 0-3.278l-.119-.122a2.3 2.3 0 0 0-1.633-.679Zm15.904-2.789c-1.03-.653-2.371.091-2.371 1.313v1.663h-9.447c.315.605.496 1.294.496 2.025a4.39 4.39 0 0 1-.996 2.782h9.946v1.662c0 1.223 1.342 1.966 2.372 1.313l6.414-4.066a1.55 1.55 0 0 0-.002-2.626l-6.412-4.066ZM24.039 10.406a1.54 1.54 0 0 0-1.309.725l-4.051 6.437c-.651 1.034.09 2.382 1.308 2.382h1.657v9.564a4.35 4.35 0 0 1 4.789.001V19.95h1.657c1.218 0 1.957-1.347 1.307-2.382l-4.051-6.437a1.54 1.54 0 0 0-1.307-.725Z"/></svg>diff --git a/plugins/entries/tavily/logo.svg b/plugins/entries/tavily/logo.svgnew file mode 100644index 000000000..5eb1ae0ce--- /dev/null+++ b/plugins/entries/tavily/logo.svg@@ -0,0 +1 @@+<svg viewBox="0 0 56 56" xmlns="http://www.w3.org/2000/svg"><path fill="#3C3A39" d="M39.514 0C45.284 0 48.17 0 50.374 1.123a10.31 10.31 0 0 1 4.503 4.503C56 7.83 56 10.715 56 16.485v23.03c0 5.77 0 8.655-1.123 10.859a10.31 10.31 0 0 1-4.503 4.503C48.17 56 45.284 56 39.514 56H16.485c-5.77 0-8.656 0-10.86-1.123a10.31 10.31 0 0 1-4.502-4.503C0 48.17 0 45.285 0 39.515v-23.03C0 10.715 0 7.83 1.123 5.626a10.31 10.31 0 0 1 4.502-4.503C7.83 0 10.715 0 16.485 0h23.029ZM23.81 30.958a2.3 2.3 0 0 0-1.631.679l-4.409 4.425-1.171-1.175c-.861-.864-2.334-.437-2.602.756l-1.67 7.428a1.55 1.55 0 0 0 .412 1.438 1.54 1.54 0 0 0 1.433.418l7.399-1.677c1.188-.269 1.614-1.748.753-2.612l-1.172-1.176 4.41-4.425a2.32 2.32 0 0 0 0-3.278l-.119-.122a2.3 2.3 0 0 0-1.633-.679Zm15.904-2.789c-1.03-.653-2.371.091-2.371 1.313v1.663h-9.447c.315.605.496 1.294.496 2.025a4.39 4.39 0 0 1-.996 2.782h9.946v1.662c0 1.223 1.342 1.966 2.372 1.313l6.414-4.066a1.55 1.55 0 0 0-.002-2.626l-6.412-4.066ZM24.039 10.406a1.54 1.54 0 0 0-1.309.725l-4.051 6.437c-.651 1.034.09 2.382 1.308 2.382h1.657v9.564a4.35 4.35 0 0 1 4.789.001V19.95h1.657c1.218 0 1.957-1.347 1.307-2.382l-4.051-6.437a1.54 1.54 0 0 0-1.307-.725Z"/></svg>diff --git a/plugins/entries/tavily/plugin.json b/plugins/entries/tavily/plugin.jsonnew file mode 100644index 000000000..01ac9f936--- /dev/null+++ b/plugins/entries/tavily/plugin.json@@ -0,0 +1,34 @@+{+ "schemaVersion": 1,+ "id": "tavily",+ "name": "Tavily",+ "description": "Search, extract, and crawl public web content.",+ "primaryCategory": "Web",+ "tags": ["search", "research", "extraction", "crawling"],+ "capabilities": ["search the web", "extract page content", "crawl sites"],+ "publisher": { "name": "Tavily", "url": "https://www.tavily.com" },+ "maintainer": { "name": "Tavily", "url": "https://www.tavily.com" },+ "documentationUrl": "https://docs.tavily.com/documentation/mcp",+ "sourceUrl": "https://github.com/tavily-ai/tavily-mcp",+ "license": "MIT",+ "logo": {+ "provenance": {+ "sourceUrl": "https://media.brand.dev/b1c22310-072a-4d37-ae5b-221a55ea3a99.svg",+ "license": "Tavily trademark; retrieved by Brand.dev"+ }+ },+ "platforms": ["web", "desktop", "mobile"],+ "transport": { "type": "url", "url": "https://mcp.tavily.com/mcp/" },+ "connection": {+ "type": "verification-pending",+ "blocker": "Connection lifecycle not verified: installation, OAuth, safe search, extraction, and crawl, disable, reconnect, and removal."+ },+ "authentication": "oauth",+ "requiredCredentials": [],+ "setup": ["Wait for the Tavily connection lifecycle to pass."],+ "permissions": [+ { "id": "read-web-data", "description": "Read public web content.", "approval": "read" }+ ],+ "approvals": [],+ "catalogStatus": "verification-pending"+}diff --git a/plugins/entries/typefully/logo-dark.svg b/plugins/entries/typefully/logo-dark.svgnew file mode 100644index 000000000..ed945cf8b--- /dev/null+++ b/plugins/entries/typefully/logo-dark.svg@@ -0,0 +1 @@+<svg fill="none" height="32" viewBox="0 0 32 32" width="32" xmlns="http://www.w3.org/2000/svg"><path d="m22.0781 28.9919c1.3619 0 2.4613-1.0884 2.4613-2.4368 0-1.3483-1.0994-2.4367-2.4613-2.4367-1.362 0-2.4613 1.0884-2.4613 2.4367 0 1.3484 1.0993 2.4368 2.4613 2.4368zm-3.0356-11.5745c.3117-.0894.402 0 .2871.3086-.5825 1.6326-1.9855 3.647-4.7175 4.3699-1.2963.3412-2.5516.3087-3.5607.5767-.599.1543-1.08302.4549-1.56708 1.0965-1.21426 1.6002-2.65823 5.2228-4.0858 5.2309-.28715 0-.42663-.1949-.39381-.4305.04923-.3817.40202-.9828.7466-1.7138 7.00659-14.7667 9.41869-23.8557 19.08349-23.8557 1.8624 0 1.0173.60106.6727.99094-3.3802 3.87441-3.1505 8.37426-5.4969 10.75416-1.7886 1.8275-5.5134 2.2824-7.0722 2.388-.3364.0244-.3774.2355-.0575.3655 1.9855.8122 4.8078.2924 6.1616-.0894z" fill="#fff"/></svg>diff --git a/plugins/entries/typefully/logo.svg b/plugins/entries/typefully/logo.svgnew file mode 100644index 000000000..e07b8cdd0--- /dev/null+++ b/plugins/entries/typefully/logo.svg@@ -0,0 +1 @@+<svg fill="none" height="32" viewBox="0 0 32 32" width="32" xmlns="http://www.w3.org/2000/svg"><path d="m22.0781 28.9919c1.3619 0 2.4613-1.0884 2.4613-2.4368 0-1.3483-1.0994-2.4367-2.4613-2.4367-1.362 0-2.4613 1.0884-2.4613 2.4367 0 1.3484 1.0993 2.4368 2.4613 2.4368zm-3.0356-11.5745c.3117-.0894.402 0 .2871.3086-.5825 1.6326-1.9855 3.647-4.7175 4.3699-1.2963.3412-2.5516.3087-3.5607.5767-.599.1543-1.08302.4549-1.56708 1.0965-1.21426 1.6002-2.65823 5.2228-4.0858 5.2309-.28715 0-.42663-.1949-.39381-.4305.04923-.3817.40202-.9828.7466-1.7138 7.00659-14.7667 9.41869-23.8557 19.08349-23.8557 1.8624 0 1.0173.60106.6727.99094-3.3802 3.87441-3.1505 8.37426-5.4969 10.75416-1.7886 1.8275-5.5134 2.2824-7.0722 2.388-.3364.0244-.3774.2355-.0575.3655 1.9855.8122 4.8078.2924 6.1616-.0894z" fill="#000"/></svg>diff --git a/plugins/entries/typefully/plugin.json b/plugins/entries/typefully/plugin.jsonnew file mode 100644index 000000000..176015022--- /dev/null+++ b/plugins/entries/typefully/plugin.json@@ -0,0 +1,57 @@+{+ "schemaVersion": 1,+ "id": "typefully",+ "name": "Typefully",+ "description": "Draft, schedule, and publish social posts.",+ "primaryCategory": "Marketing",+ "tags": ["social", "writing", "scheduling"],+ "capabilities": ["draft social posts", "schedule posts", "publish posts"],+ "publisher": {+ "name": "Typefully",+ "url": "https://typefully.com"+ },+ "maintainer": {+ "name": "Typefully",+ "url": "https://typefully.com"+ },+ "documentationUrl": "https://typefully.com/ai-agents",+ "sourceUrl": "https://typefully.com/ai-agents",+ "license": "Proprietary",+ "logo": {+ "provenance": {+ "sourceUrl": "https://typefully.com/icon/safari-pinned-tab.svg",+ "license": "Typefully brand asset"+ }+ },+ "platforms": ["web", "desktop", "mobile"],+ "transport": {+ "type": "url",+ "url": "https://mcp.typefully.com/mcp"+ },+ "connection": {+ "type": "verification-pending",+ "blocker": "Connection lifecycle not verified: OAuth, safe read, approved write, disable, reconnect, and removal."+ },+ "authentication": "oauth",+ "requiredCredentials": [],+ "setup": ["Wait for the Typefully OAuth connection lifecycle to pass."],+ "permissions": [+ {+ "id": "read-social-content",+ "description": "Read drafts, scheduled posts, and publishing results.",+ "approval": "read"+ },+ {+ "id": "publish-social-content",+ "description": "Schedule or publish social posts.",+ "approval": "publishing"+ },+ {+ "id": "delete-social-content",+ "description": "Delete drafts or scheduled posts.",+ "approval": "delete"+ }+ ],+ "approvals": ["publishing", "delete"],+ "catalogStatus": "verification-pending"+}diff --git a/plugins/entries/vercel/logo-dark.svg b/plugins/entries/vercel/logo-dark.svgnew file mode 100644index 000000000..38bf3d22f--- /dev/null+++ b/plugins/entries/vercel/logo-dark.svg@@ -0,0 +1 @@+<svg xmlns="http://www.w3.org/2000/svg" width="115" height="100" fill="none" viewBox="0 0 115 100"><path fill="white" fill-rule="evenodd" d="M57.5 0 115 100H0z" clip-rule="evenodd" style="fill:white;fill-opacity:1;"/></svg>diff --git a/plugins/entries/vercel/logo.svg b/plugins/entries/vercel/logo.svgnew file mode 100644index 000000000..892d64dfa--- /dev/null+++ b/plugins/entries/vercel/logo.svg@@ -0,0 +1 @@+<svg xmlns="http://www.w3.org/2000/svg" width="115" height="100" fill="none" viewBox="0 0 115 100"><path fill="black" fill-rule="evenodd" d="M57.5 0 115 100H0z" clip-rule="evenodd" style="fill:black;fill-opacity:1;"/></svg>diff --git a/plugins/entries/vercel/plugin.json b/plugins/entries/vercel/plugin.jsonnew file mode 100644index 000000000..bac99a1a2--- /dev/null+++ b/plugins/entries/vercel/plugin.json@@ -0,0 +1,67 @@+{+ "schemaVersion": 1,+ "id": "vercel",+ "name": "Vercel",+ "description": "Inspect projects and deployments, query logs, and deploy code.",+ "primaryCategory": "Build",+ "tags": ["deployments", "hosting", "frontend"],+ "capabilities": ["inspect deployments", "query logs", "deploy projects"],+ "publisher": {+ "name": "Vercel",+ "url": "https://vercel.com"+ },+ "maintainer": {+ "name": "Vercel",+ "url": "https://vercel.com"+ },+ "documentationUrl": "https://vercel.com/docs/agent-resources/vercel-mcp",+ "sourceUrl": "https://vercel.com/docs/agent-resources/vercel-mcp",+ "license": "Proprietary",+ "logo": {+ "provenance": {+ "sourceUrl": "https://vercel.com/vc-ap-vercel-marketing/_next/static/immutable/media/vercel-light.3_gxxexgi1nmy.svg",+ "license": "Vercel brand asset"+ }+ },+ "platforms": ["web", "desktop", "mobile"],+ "transport": {+ "type": "url",+ "url": "https://mcp.vercel.com"+ },+ "connection": {+ "type": "approval-pending",+ "blocker": "Vercel must add this OAuth client to its supported client allowlist."+ },+ "authentication": "oauth",+ "requiredCredentials": [],+ "setup": ["Wait for Vercel to approve this OAuth client."],+ "permissions": [+ {+ "id": "read-project-data",+ "description": "Read projects, deployments, logs, and analytics.",+ "approval": "read"+ },+ {+ "id": "deploy-projects",+ "description": "Deploy code to production projects.",+ "approval": "production"+ },+ {+ "id": "manage-environment-variables",+ "description": "Read or change project secrets and environment variables.",+ "approval": "secrets"+ },+ {+ "id": "delete-project-data",+ "description": "Delete projects, deployments, or domains.",+ "approval": "delete"+ },+ {+ "id": "change-team",+ "description": "Change team-wide projects and settings.",+ "approval": "account-wide"+ }+ ],+ "approvals": ["production", "secrets", "delete", "account-wide"],+ "catalogStatus": "approval-pending"+}diff --git a/plugins/entries/webflow/logo-dark.svg b/plugins/entries/webflow/logo-dark.svgnew file mode 100644index 000000000..6c98db47c--- /dev/null+++ b/plugins/entries/webflow/logo-dark.svg@@ -0,0 +1,3 @@+<svg width="1080" height="674" viewBox="0 0 1080 674" fill="none" xmlns="http://www.w3.org/2000/svg">+<path fill-rule="evenodd" clip-rule="evenodd" d="M1080 0L735.386 673.684H411.695L555.916 394.481H549.445C430.464 548.934 252.942 650.61 -0.000488281 673.684V398.344C-0.000488281 398.344 161.813 388.787 256.938 288.776H-0.000488281V0.0053214H288.771V237.515L295.252 237.489L413.254 0.0053214H631.644V236.009L638.126 235.999L760.555 0H1080Z" fill="#146EF5"/>+</svg>diff --git a/plugins/entries/webflow/logo.svg b/plugins/entries/webflow/logo.svgnew file mode 100644index 000000000..6c98db47c--- /dev/null+++ b/plugins/entries/webflow/logo.svg@@ -0,0 +1,3 @@+<svg width="1080" height="674" viewBox="0 0 1080 674" fill="none" xmlns="http://www.w3.org/2000/svg">+<path fill-rule="evenodd" clip-rule="evenodd" d="M1080 0L735.386 673.684H411.695L555.916 394.481H549.445C430.464 548.934 252.942 650.61 -0.000488281 673.684V398.344C-0.000488281 398.344 161.813 388.787 256.938 288.776H-0.000488281V0.0053214H288.771V237.515L295.252 237.489L413.254 0.0053214H631.644V236.009L638.126 235.999L760.555 0H1080Z" fill="#146EF5"/>+</svg>diff --git a/plugins/entries/webflow/plugin.json b/plugins/entries/webflow/plugin.jsonnew file mode 100644index 000000000..ddd898e4a--- /dev/null+++ b/plugins/entries/webflow/plugin.json@@ -0,0 +1,62 @@+{+ "schemaVersion": 1,+ "id": "webflow",+ "name": "Webflow",+ "description": "Build, manage, and publish Webflow sites.",+ "primaryCategory": "Marketing",+ "tags": ["sites", "cms", "design"],+ "capabilities": ["edit site designs", "manage CMS content", "publish sites"],+ "publisher": {+ "name": "Webflow",+ "url": "https://webflow.com"+ },+ "maintainer": {+ "name": "Webflow",+ "url": "https://webflow.com"+ },+ "documentationUrl": "https://developers.webflow.com/mcp/reference/getting-started",+ "sourceUrl": "https://github.com/webflow/mcp-server",+ "license": "MIT",+ "logo": {+ "provenance": {+ "sourceUrl": "https://dhygzobemt712.cloudfront.net/Mark/Mark_Logo_Blue.svg",+ "license": "Webflow brand asset"+ }+ },+ "platforms": ["web", "desktop", "mobile"],+ "transport": {+ "type": "url",+ "url": "https://mcp.webflow.com/mcp"+ },+ "connection": {+ "type": "verification-pending",+ "blocker": "Connection lifecycle not verified: install, OAuth, safe read, approved write, disable, reconnect, and removal."+ },+ "authentication": "oauth",+ "requiredCredentials": [],+ "setup": ["Wait for the Webflow connection lifecycle to pass."],+ "permissions": [+ {+ "id": "read-site-data",+ "description": "Read sites, CMS content, assets, and analytics.",+ "approval": "read"+ },+ {+ "id": "change-sites",+ "description": "Change site designs, code, settings, and CMS content.",+ "approval": "production"+ },+ {+ "id": "publish-sites",+ "description": "Publish site changes.",+ "approval": "publishing"+ },+ {+ "id": "delete-site-data",+ "description": "Delete pages, CMS content, assets, or branches.",+ "approval": "delete"+ }+ ],+ "approvals": ["production", "publishing", "delete"],+ "catalogStatus": "verification-pending"+}diff --git a/plugins/entries/zendesk/logo-dark.svg b/plugins/entries/zendesk/logo-dark.svgnew file mode 100644index 000000000..7c5d4289e--- /dev/null+++ b/plugins/entries/zendesk/logo-dark.svg@@ -0,0 +1 @@+<svg fill="#fff" role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>Zendesk</title><path d="M12.914 2.904V16.29L24 2.905H12.914zM0 2.906C0 5.966 2.483 8.45 5.543 8.45s5.542-2.484 5.543-5.544H0zm11.086 4.807L0 21.096h11.086V7.713zm7.37 7.84c-3.063 0-5.542 2.48-5.542 5.543H24c0-3.06-2.48-5.543-5.543-5.543z"/></svg>diff --git a/plugins/entries/zendesk/logo.svg b/plugins/entries/zendesk/logo.svgnew file mode 100644index 000000000..e5b8de78c--- /dev/null+++ b/plugins/entries/zendesk/logo.svg@@ -0,0 +1 @@+<svg role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>Zendesk</title><path d="M12.914 2.904V16.29L24 2.905H12.914zM0 2.906C0 5.966 2.483 8.45 5.543 8.45s5.542-2.484 5.543-5.544H0zm11.086 4.807L0 21.096h11.086V7.713zm7.37 7.84c-3.063 0-5.542 2.48-5.542 5.543H24c0-3.06-2.48-5.543-5.543-5.543z"/></svg>diff --git a/plugins/entries/zendesk/plugin.json b/plugins/entries/zendesk/plugin.jsonnew file mode 100644index 000000000..7dce2de8a--- /dev/null+++ b/plugins/entries/zendesk/plugin.json@@ -0,0 +1,71 @@+{+ "schemaVersion": 1,+ "id": "zendesk",+ "name": "Zendesk",+ "description": "Manage Zendesk support work when an operator MCP becomes available.",+ "primaryCategory": "Support",+ "tags": ["customer-support", "tickets", "help-center"],+ "capabilities": ["read tickets", "reply to customers", "manage help content"],+ "publisher": {+ "name": "Zendesk",+ "url": "https://www.zendesk.com"+ },+ "maintainer": {+ "name": "Zendesk",+ "url": "https://www.zendesk.com"+ },+ "documentationUrl": "https://developer.zendesk.com/documentation/",+ "sourceUrl": "https://developer.zendesk.com/api-reference/",+ "license": "Proprietary",+ "logo": {+ "provenance": {+ "sourceUrl": "https://raw.githubusercontent.com/simple-icons/simple-icons/develop/icons/zendesk.svg",+ "license": "CC0-1.0"+ }+ },+ "platforms": ["web", "desktop", "mobile"],+ "transport": {+ "type": "unavailable"+ },+ "connection": {+ "type": "approval-pending",+ "blocker": "Zendesk does not publish a first-party operator MCP endpoint or supported local command."+ },+ "authentication": "none",+ "requiredCredentials": [],+ "setup": ["Wait for Zendesk to publish a first-party operator MCP connection recipe."],+ "permissions": [+ {+ "id": "read-support-data",+ "description": "Read tickets, users, organizations, and help content.",+ "approval": "read"+ },+ {+ "id": "reply-to-customers",+ "description": "Send ticket replies or proactive messages.",+ "approval": "send"+ },+ {+ "id": "write-support-data",+ "description": "Create or update production support data.",+ "approval": "production"+ },+ {+ "id": "delete-support-data",+ "description": "Delete tickets, users, or help content.",+ "approval": "delete"+ },+ {+ "id": "publish-help-content",+ "description": "Publish Zendesk help center content.",+ "approval": "publishing"+ },+ {+ "id": "manage-account",+ "description": "Change account-wide Zendesk settings.",+ "approval": "account-wide"+ }+ ],+ "approvals": ["send", "delete", "production", "publishing", "account-wide"],+ "catalogStatus": "approval-pending"+}diff --git a/plugins/entries/zernio/logo-dark.svg b/plugins/entries/zernio/logo-dark.svgnew file mode 100644index 000000000..266f81856--- /dev/null+++ b/plugins/entries/zernio/logo-dark.svg@@ -0,0 +1,4 @@+<svg width="1000" height="1000" viewBox="0 0 1000 1000" fill="none" xmlns="http://www.w3.org/2000/svg">+ <rect width="1000" height="1000" rx="161.29" fill="#EB3514"/>+ <path d="M253.803 294.019L253.803 478.63L540.935 403.248C576.717 393.854 609.198 426.823 599.272 462.46L519.204 749.918L702.287 749.918L740.228 563.688C743.395 548.144 738.664 532.039 727.593 520.677L483.105 269.754C471.726 258.076 455.189 252.984 439.212 256.24L253.803 294.019Z" fill="white"/>+</svg>diff --git a/plugins/entries/zernio/logo.svg b/plugins/entries/zernio/logo.svgnew file mode 100644index 000000000..266f81856--- /dev/null+++ b/plugins/entries/zernio/logo.svg@@ -0,0 +1,4 @@+<svg width="1000" height="1000" viewBox="0 0 1000 1000" fill="none" xmlns="http://www.w3.org/2000/svg">+ <rect width="1000" height="1000" rx="161.29" fill="#EB3514"/>+ <path d="M253.803 294.019L253.803 478.63L540.935 403.248C576.717 393.854 609.198 426.823 599.272 462.46L519.204 749.918L702.287 749.918L740.228 563.688C743.395 548.144 738.664 532.039 727.593 520.677L483.105 269.754C471.726 258.076 455.189 252.984 439.212 256.24L253.803 294.019Z" fill="white"/>+</svg>diff --git a/plugins/entries/zernio/plugin.json b/plugins/entries/zernio/plugin.jsonnew file mode 100644index 000000000..5e126b2b3--- /dev/null+++ b/plugins/entries/zernio/plugin.json@@ -0,0 +1,83 @@+{+ "schemaVersion": 1,+ "id": "zernio",+ "name": "Zernio",+ "description": "Publish, schedule, and manage social content across connected accounts.",+ "primaryCategory": "Marketing",+ "tags": ["social", "publishing", "scheduling"],+ "capabilities": ["publish social posts", "schedule social posts", "manage connected accounts"],+ "featuredRank": 2,+ "publisher": {+ "name": "Zernio",+ "url": "https://zernio.com"+ },+ "maintainer": {+ "name": "Zernio",+ "url": "https://zernio.com"+ },+ "documentationUrl": "https://docs.zernio.com/mcp",+ "sourceUrl": "https://docs.zernio.com/mcp",+ "license": "Proprietary",+ "logo": {+ "provenance": {+ "sourceUrl": "https://docs.zernio.com/icon.svg",+ "license": "Zernio brand asset"+ }+ },+ "platforms": ["web", "desktop", "mobile"],+ "transport": {+ "type": "url",+ "url": "https://mcp.zernio.com/mcp"+ },+ "connection": {+ "type": "verification-pending",+ "blocker": "OAuth and connection lifecycle not verified."+ },+ "authentication": "oauth",+ "requiredCredentials": [],+ "setup": ["Wait for Zernio OAuth and lifecycle verification to pass."],+ "permissions": [+ {+ "id": "read-social-data",+ "description": "Read connected accounts, posts, analytics, campaigns, and inbox conversations.",+ "approval": "read"+ },+ {+ "id": "publish-social-content",+ "description": "Publish or schedule content on connected social accounts.",+ "approval": "publishing"+ },+ {+ "id": "send-messages",+ "description": "Send messages or broadcasts to connected audiences.",+ "approval": "send"+ },+ {+ "id": "delete-social-data",+ "description": "Delete posts, campaigns, messages, or connected resources.",+ "approval": "delete"+ },+ {+ "id": "manage-billing",+ "description": "Change paid plans or other billed Zernio services.",+ "approval": "pay"+ },+ {+ "id": "manage-integration-secrets",+ "description": "Read or change API keys, webhooks, or other integration secrets.",+ "approval": "secrets"+ },+ {+ "id": "change-workspace",+ "description": "Change workspace-wide accounts, members, or settings.",+ "approval": "account-wide"+ },+ {+ "id": "change-production-automation",+ "description": "Change live automations, campaigns, or production integrations.",+ "approval": "production"+ }+ ],+ "approvals": ["publishing", "send", "delete", "pay", "secrets", "account-wide", "production"],+ "catalogStatus": "verification-pending"+}diff --git a/plugins/index.ts b/plugins/index.tsindex 37db5b328..75ef3de2b 100644--- a/plugins/index.ts+++ b/plugins/index.ts@@ -1,4 +1,5 @@export {+ isInstallablePlugin,loadCatalog,loadDirectoryCatalog,resolveCatalogInstallations,diff --git a/plugins/lifecycle-matrix.test.ts b/plugins/lifecycle-matrix.test.tsnew file mode 100644index 000000000..ebadb4494--- /dev/null+++ b/plugins/lifecycle-matrix.test.ts@@ -0,0 +1,112 @@+import { describe, expect, it } from "vite-plus/test";++import { PLUGIN_APPROVAL_CLASSES } from "./categories";+import {+ isInstallablePlugin,+ loadCatalog,+ loadDirectoryCatalog,+ resolveCatalogInstallations,+} from "./catalog";++const EXPECTED_IDS =+ "ahrefs apify apollo asana atlassian attio canva cloudflare coda context customer-io datadog docusign dropbox exa executor figma firecrawl framer github help-scout hubspot intercom lemon-squeezy linear mobbin monday netlify notion paddle paper parallel-search paypal pipedrive posthog railway render salesforce semrush sentry sequenzy shopify slack stripe superside tavily typefully vercel webflow zendesk zernio".split(+ " ",+ );+const INSTALLABLE_IDS = ["context", "exa", "executor", "firecrawl", "parallel-search"];++describe("milestone 13 plugin lifecycle matrix", () => {+ it("keeps verified plugins installable and every unverified plugin blocked", () => {+ const directory = loadDirectoryCatalog();+ const installable = loadCatalog();+ const byId = new Map(directory.map((plugin) => [plugin.id, plugin]));++ expect(directory.map((plugin) => plugin.id).toSorted()).toEqual(EXPECTED_IDS);+ expect(installable.map((plugin) => plugin.id)).toEqual(INSTALLABLE_IDS);+ expect(installable.map((plugin) => `builtin-${plugin.id}`)).toEqual(+ INSTALLABLE_IDS.map((id) => `builtin-${id}`),+ );+ expect(+ directory+ .filter((plugin) => plugin.featuredRank !== undefined)+ .map((plugin) => [plugin.id, plugin.featuredRank]),+ ).toEqual([+ ["context", 1],+ ["zernio", 2],+ ]);++ const pending = directory.filter((plugin) => !INSTALLABLE_IDS.includes(plugin.id));+ expect(pending).toHaveLength(46);+ expect(pending.filter((plugin) => plugin.catalogStatus === "approval-pending")).toHaveLength(+ 16,+ );+ expect(+ pending.filter((plugin) => plugin.catalogStatus === "verification-pending"),+ ).toHaveLength(30);+ for (const plugin of pending) {+ expect(["approval-pending", "verification-pending"]).toContain(plugin.catalogStatus);+ expect(plugin.connection).toMatchObject({+ type: plugin.catalogStatus,+ blocker: expect.stringMatching(/\S/),+ });+ expect(isInstallablePlugin(plugin)).toBe(false);+ }++ expect(byId.get("typefully")).toMatchObject({+ authentication: "oauth",+ requiredCredentials: [],+ connection: { type: "verification-pending" },+ });+ expect(byId.get("github")).toMatchObject({+ transport: { type: "url", url: "https://api.githubcopilot.com/mcp/" },+ connection: { type: "verification-pending" },+ });+ expect(byId.get("paper")).toMatchObject({+ transport: { type: "url", url: "http://127.0.0.1:29979/mcp" },+ connection: { type: "verification-pending" },+ });+ expect(byId.get("paypal")).toMatchObject({+ connection: { type: "verification-pending" },+ approvals: expect.arrayContaining(["send", "pay", "production", "refunds"]),+ });++ for (const plugin of directory) {+ if (plugin.connection.type === "brokered") {+ expect(plugin.connection.broker).toMatchObject({+ name: expect.stringMatching(/\S/),+ url: expect.stringMatching(/^https:\/\//),+ });+ }+ for (const permission of plugin.permissions) {+ if (permission.approval !== "read") {+ expect(plugin.approvals).toContain(permission.approval);+ }+ }+ }+ expect(+ [+ ...new Set(+ directory+ .flatMap((plugin) => plugin.permissions.map((permission) => permission.approval))+ .filter((approval) => approval !== "read"),+ ),+ ].toSorted(),+ ).toEqual(PLUGIN_APPROVAL_CLASSES.toSorted());++ expect(+ resolveCatalogInstallations(+ [+ { id: "builtin-context", name: "Context.dev" },+ { id: "builtin-removed-vendor", name: "Removed vendor" },+ { id: "custom-mcp", name: "Custom MCP" },+ ],+ directory,+ ).map((installation) => ({+ kind: installation.kind,+ serverId: installation.serverId,+ })),+ ).toEqual([+ { kind: "catalog", serverId: "builtin-context" },+ { kind: "legacy", serverId: "builtin-removed-vendor" },+ ]);+ });+});diff --git a/plugins/schema.test.ts b/plugins/schema.test.tsindex 43edbcfe3..8ee9332a0 100644--- a/plugins/schema.test.ts+++ b/plugins/schema.test.ts@@ -90,6 +90,90 @@ describe("plugin catalog schema", () => {).toThrow("broker");});+ it("allows pending API key recipes and still requires their credentials", () => {+ const pendingApiKey = {+ ...VALID_MANIFEST,+ connection: {+ type: "verification-pending",+ blocker: "The vendor must verify its API key MCP endpoint.",+ },+ authentication: "api-key",+ requiredCredentials: ["example-api-key"],+ catalogStatus: "verification-pending",+ } as const;+ expect(parsePluginManifest(pendingApiKey).connection).toEqual(pendingApiKey.connection);+ expect(() => parsePluginManifest({ ...pendingApiKey, requiredCredentials: [] })).toThrow(+ "must name its required API key credentials",+ );+ expect(() =>+ parsePluginManifest({+ ...pendingApiKey,+ connection: { type: "local" },+ catalogStatus: "available",+ }),+ ).toThrow("must label its API key connection");+ });++ it("allows pending loopback recipes but rejects other insecure connections", () => {+ const pendingLoopback = {+ ...VALID_MANIFEST,+ transport: { type: "url", url: "http://127.0.0.1:29979/mcp" },+ connection: {+ type: "verification-pending",+ blocker: "The local MCP recipe still needs verification.",+ },+ authentication: "none",+ catalogStatus: "verification-pending",+ } as const;+ expect(parsePluginManifest(pendingLoopback).connection).toEqual(pendingLoopback.connection);+ expect(() =>+ parsePluginManifest({+ ...pendingLoopback,+ transport: { type: "url", url: "http://example.com/mcp" },+ }),+ ).toThrow("endpoint must use HTTPS");+ expect(() =>+ parsePluginManifest({+ ...pendingLoopback,+ connection: { type: "ready" },+ catalogStatus: "available",+ }),+ ).toThrow("endpoint must use HTTPS");+ });++ it("requires pending connection and catalog statuses to agree", () => {+ const pending = {+ ...VALID_MANIFEST,+ connection: {+ type: "approval-pending",+ blocker: "The vendor must verify its HTTPS MCP endpoint.",+ },+ catalogStatus: "approval-pending",+ } as const;+ expect(parsePluginManifest(pending).catalogStatus).toBe("approval-pending");+ expect(() => parsePluginManifest({ ...pending, catalogStatus: "available" })).toThrow(+ "must use approval-pending catalog status",+ );+ expect(() =>+ parsePluginManifest({ ...VALID_MANIFEST, catalogStatus: "approval-pending" }),+ ).toThrow("must label its connection as approval-pending");+ const verificationPending = {+ ...pending,+ connection: {+ type: "verification-pending",+ blocker: "The connection lifecycle still needs verification.",+ },+ catalogStatus: "verification-pending",+ } as const;+ expect(parsePluginManifest(verificationPending).catalogStatus).toBe("verification-pending");+ expect(() =>+ parsePluginManifest({ ...verificationPending, catalogStatus: "available" }),+ ).toThrow("must use verification-pending catalog status");+ expect(() =>+ parsePluginManifest({ ...VALID_MANIFEST, catalogStatus: "verification-pending" }),+ ).toThrow("must label its connection as verification-pending");+ });+it("rejects stdio recipes that expose local paths or credentials", () => {const local = {...VALID_MANIFEST,diff --git a/plugins/schema.ts b/plugins/schema.tsindex c716765db..26ac8579a 100644--- a/plugins/schema.ts+++ b/plugins/schema.ts@@ -9,7 +9,7 @@ export const PLUGIN_SCHEMA_VERSION = 1 as const;type PluginPlatform = "web" | "desktop" | "mobile" | "macos" | "windows" | "linux";type PluginAuthentication = "none" | "oauth" | "optional-oauth" | "api-key";-type PluginCatalogStatus = "available" | "approval-pending" | "deprecated";+type PluginCatalogStatus = "available" | "approval-pending" | "verification-pending" | "deprecated";interface Party {readonly name: string;@@ -30,7 +30,8 @@ type PluginConnection =| { readonly type: "api-key" }| { readonly type: "local" }| { readonly type: "brokered"; readonly broker: Party }- | { readonly type: "approval-pending"; readonly blocker: string };+ | { readonly type: "approval-pending"; readonly blocker: string }+ | { readonly type: "verification-pending"; readonly blocker: string };export interface PluginSkill {readonly title: string;@@ -92,6 +93,7 @@ const AUTHENTICATION: readonly PluginAuthentication[] = [const CATALOG_STATUSES: readonly PluginCatalogStatus[] = ["available","approval-pending",+ "verification-pending","deprecated",];@@ -218,10 +220,10 @@ function connection(value: unknown, path: string): PluginConnection {exactKeys(input, ["type", "broker"], path);return { type: "brokered", broker: party(input.broker, `${path}.broker`) };}- if (input.type === "approval-pending") {+ if (input.type === "approval-pending" || input.type === "verification-pending") {exactKeys(input, ["type", "blocker"], path);return {- type: "approval-pending",+ type: input.type,blocker: nonEmptyString(input.blocker, `${path}.blocker`),};}@@ -378,7 +380,12 @@ function validateManifest(manifest: PluginManifest): PluginManifest {`Plugin '${manifest.id}' declares credentials without API key authentication.`,);}- if (manifest.authentication === "api-key" && manifest.connection.type !== "api-key") {+ if (+ manifest.authentication === "api-key" &&+ manifest.connection.type !== "api-key" &&+ manifest.connection.type !== "approval-pending" &&+ manifest.connection.type !== "verification-pending"+ ) {throw new TypeError(`Plugin '${manifest.id}' must label its API key connection.`);}if (manifest.connection.type === "api-key" && manifest.authentication !== "api-key") {@@ -412,6 +419,20 @@ function validateManifest(manifest: PluginManifest): PluginManifest {) {throw new TypeError(`Plugin '${manifest.id}' must label its connection as approval-pending.`);}+ if (+ manifest.connection.type === "verification-pending" &&+ manifest.catalogStatus !== "verification-pending"+ ) {+ throw new TypeError(`Plugin '${manifest.id}' must use verification-pending catalog status.`);+ }+ if (+ manifest.catalogStatus === "verification-pending" &&+ manifest.connection.type !== "verification-pending"+ ) {+ throw new TypeError(+ `Plugin '${manifest.id}' must label its connection as verification-pending.`,+ );+ }if (manifest.transport.type === "stdio" &&manifest.transport.command.trim() !== manifest.transport.command@@ -438,7 +459,13 @@ function validateManifest(manifest: PluginManifest): PluginManifest {const local = ["localhost", "127.0.0.1", "[::1]"].includes(endpoint.hostname);if (endpoint.protocol !== "https:" &&- !(endpoint.protocol === "http:" && local && manifest.connection.type === "local")+ !(+ endpoint.protocol === "http:" &&+ local &&+ (manifest.connection.type === "local" ||+ manifest.connection.type === "approval-pending" ||+ manifest.connection.type === "verification-pending")+ )) {throw new TypeError(`Plugin '${manifest.id}' endpoint must use HTTPS unless it is a local loopback connection.`,diff --git a/scripts/plugin-contribution-policy.test.ts b/scripts/plugin-contribution-policy.test.tsnew file mode 100644index 000000000..ff771d702--- /dev/null+++ b/scripts/plugin-contribution-policy.test.ts@@ -0,0 +1,191 @@+// @effect-diagnostics nodeBuiltinImport:off - Tests inspect repository policy files.+import * as NodeFS from "node:fs";+import * as NodePath from "node:path";+import { describe, expect, it } from "vite-plus/test";+import { parse } from "yaml";++type PathLabelConfig = Record<+ string,+ Array<{+ "changed-files": Array<{ "any-glob-to-any-file": string | string[] }>;+ }>+>;++function text(path: string): string {+ return NodeFS.readFileSync(new URL(`../${path}`, import.meta.url), "utf8");+}++function yaml(path: string): Record<string, unknown> {+ return parse(text(path)) as Record<string, unknown>;+}++function labelsForPath(config: PathLabelConfig, path: string): string[] {+ return Object.entries(config).flatMap(([label, rules]) =>+ rules.some((rule) =>+ rule["changed-files"].some((condition) => {+ const patterns = condition["any-glob-to-any-file"];+ return (typeof patterns === "string" ? [patterns] : patterns).some((pattern) =>+ NodePath.matchesGlob(path, pattern),+ );+ }),+ )+ ? [label]+ : [],+ );+}++describe("plugin contribution policy", () => {+ it.each([+ ["plugin_proposal.yml", "type:plugin", ["product", "mcp_ownership", "logo", "permissions"]],+ ["provider_proposal.yml", "type:provider", ["provider", "runtime", "logo", "approvals"]],+ ])("collects admission evidence in %s", (file, typeLabel, specificFields) => {+ const form = yaml(`.github/ISSUE_TEMPLATE/${file}`) as {+ labels: string[];+ body: Array<{+ id?: string;+ attributes?: { options?: Array<{ required?: boolean }> };+ validations?: { required?: boolean };+ }>;+ };+ const required = form.body+ .filter((field) => field.validations?.required)+ .map((field) => field.id);++ expect(form.labels).toEqual([typeLabel, "status:needs-triage"]);+ expect(required).toEqual(+ expect.arrayContaining([+ "demand",+ "akeru_job",+ "lifecycle",+ "documentation",+ "health",+ "blocker",+ ...specificFields,+ ]),+ );+ expect(+ form.body.find((field) => field.id === "credential_safety")?.attributes?.options,+ ).toEqual([expect.objectContaining({ required: true })]);+ });++ it.each([+ ["plugins/entries/exa/plugin.json", ["type:plugin"]],+ ["apps/server/src/provider/builtInDrivers.ts", ["type:provider"]],+ ["apps/server/src/provider/builtInProviderCatalog.ts", ["type:provider"]],+ ["apps/server/src/provider/Drivers/ClaudeDriver.ts", ["type:provider"]],+ ["apps/server/src/provider/Layers/CodexAdapter.ts", ["type:provider"]],+ ["apps/server/src/provider/Services/ClaudeAdapter.ts", ["type:provider"]],+ ["apps/server/src/subscription-auth/providers/openaiCodex.ts", ["type:provider"]],+ ["apps/web/src/components/plugins/PluginsDialog.tsx", ["area:directory"]],+ ["apps/web/src/components/settings/PluginsSettings.tsx", ["area:directory"]],+ ["apps/web/src/pluginsDialogStore.ts", ["area:directory"]],+ ["docs/user/plugins.md", ["area:directory"]],+ ["apps/web/src/components/sidebar/SidebarChrome.tsx", ["area:directory"]],+ ["apps/web/src/components/roster/BotToolsSheet.tsx", ["area:directory"]],+ ["apps/server/src/provider/McpServerConfig.ts", ["area:connectors"]],+ ["apps/server/src/provider/Layers/AgentController.ts", ["type:provider", "area:connectors"]],+ ["apps/server/src/persistence/Layers/ProjectionMcpServers.ts", ["area:connectors"]],+ ["apps/server/src/persistence/Services/ProjectionMcpServers.ts", ["area:connectors"]],+ ["apps/server/src/orchestration/Layers/McpServerRegistry.test.ts", ["area:connectors"]],+ ["apps/server/src/bot-inbox/connectorIncidents.ts", ["area:connectors"]],+ ["apps/server/src/bot-inbox/connectorIncidents.test.ts", ["area:connectors"]],+ ["packages/contracts/src/mcpServer.ts", ["area:connectors"]],+ ["packages/client-runtime/src/state/mcpServerCommands.ts", ["area:connectors"]],+ ["apps/web/src/state/mcpServers.ts", ["area:connectors"]],+ ["apps/server/src/mcp/McpHttpServer.ts", []],+ ["apps/mobile/plugins/withAndroidCleartextTraffic.cjs", []],+ ])("maps %s to its contribution labels", (path, expected) => {+ const config = yaml(".github/path-labels.yml") as PathLabelConfig;++ expect(NodeFS.existsSync(new URL(`../${path}`, import.meta.url))).toBe(true);+ expect(labelsForPath(config, path)).toEqual(expected);+ });++ it("uses one path-label job and mints no auth or category labels", () => {+ const pathLabels = yaml(".github/path-labels.yml") as PathLabelConfig;+ const issueLabelWorkflow = yaml(".github/workflows/issue-labels.yml") as {+ jobs: Record<string, unknown>;+ };+ const issueLabels = text(".github/workflows/issue-labels.yml");+ const mintedLabels = [...issueLabels.matchAll(/name: "([^"]+)"/g)].map((match) => match[1]);++ expect(+ NodeFS.existsSync(new URL("../.github/workflows/contribution-labels.yml", import.meta.url)),+ ).toBe(false);+ expect(Object.keys(issueLabelWorkflow.jobs)).toEqual(["sync", "label-paths"]);+ expect(issueLabels).toContain("uses: actions/labeler@v6");+ expect(issueLabels).toContain("configuration-path: .github/path-labels.yml");+ expect(mintedLabels).toEqual(+ expect.arrayContaining([+ "type:plugin",+ "type:provider",+ "status:needs-triage",+ "area:directory",+ "area:connectors",+ ]),+ );+ expect([...Object.keys(pathLabels), ...mintedLabels]).not.toEqual(+ expect.arrayContaining([expect.stringMatching(/^(?:auth|category):/)]),+ );+ expect(labelsForPath(pathLabels, "apps/server/src/mcp/McpHttpServer.ts")).toEqual([]);+ });++ it("documents the admission and safety rules", () => {+ const contributorRules = text("plugins/AGENTS.md");+ const publicRules = text("plugins/README.md");++ for (const requirement of [+ "curated directory",+ "not a complete MCP registry",+ "does not guarantee acceptance",+ "Custom MCP",+ "experimental apps, wrappers, duplicates, and narrow utilities",+ "PostgreSQL, SQLite, Redis, Docker, Playwright, time, fetch, filesystem, and generic memory",+ "actively use the product",+ "user or maintainer requested",+ "real Akeru Bot job",+ "official or trusted MCP server",+ "current setup and reference documentation",+ "approval-pending",+ "accountable publisher",+ "logo",+ "add, connect, use, disable, re-enable, and remove",+ "export a provider token or secret",+ "send, pay, delete, production, secrets, publishing, signatures, refunds, and account-wide",+ ]) {+ expect(contributorRules).toContain(requirement);+ }++ expect(publicRules).toContain("This is a curated directory, not a complete MCP registry");+ expect(publicRules).toContain("experimental apps, wrappers, duplicates, and narrow utilities");+ expect(text(".github/ISSUE_TEMPLATE/plugin_proposal.yml")).toContain(+ "experimental apps, wrappers, duplicates, and narrow utilities",+ );+ });++ it("runs the existing catalog validator in CI", () => {+ const ci = yaml(".depot/workflows/ci.yml") as {+ jobs: Record<string, { steps?: Array<{ run?: string }> }>;+ };+ const commands = Object.values(ci.jobs).flatMap(+ (job) => job.steps?.map((step) => step.run) ?? [],+ );++ expect(commands).toContain("node scripts/validate-plugin-catalog.ts");+ });++ it("keeps issue routing and the accepted-proposal PR exception coherent", () => {+ const issueConfig = yaml(".github/ISSUE_TEMPLATE/config.yml") as {+ contact_links: Array<{ name: string; url: string }>;+ };+ const contributionGuide = text("CONTRIBUTING.md");+ const pullRequestTemplate = text(".github/pull_request_template.md");++ expect(issueConfig.contact_links.find((link) => link.name === "Feature request")?.url).toBe(+ "https://github.com/pingdotgg/t3code/discussions/categories/ideas",+ );+ expect(contributionGuide).not.toContain("opencoredev/akeru-bot/discussions");+ expect(contributionGuide).toContain("plugin and provider proposal forms");+ expect(pullRequestTemplate).toContain("accepted plugin or provider proposal");+ });+});diff --git a/scripts/validate-plugin-catalog.test.ts b/scripts/validate-plugin-catalog.test.tsindex 5662b5752..4a8d19401 100644--- a/scripts/validate-plugin-catalog.test.ts+++ b/scripts/validate-plugin-catalog.test.ts@@ -29,13 +29,7 @@ afterEach(() => {describe("plugin catalog validation", () => {it("validates the live plugin directory", () => {- expect(validatePluginCatalog().map((entry) => entry.manifest.id)).toEqual([- "context",- "exa",- "executor",- "firecrawl",- "parallel-search",- ]);+ expect(validatePluginCatalog()).toHaveLength(51);});it("validates isolated manifests and official local assets", () => {