/** * Canonical "built-in agent-native app -> MCP server" descriptor registry. * * This is a dependency-free mirror of the manifest data encoded in * `@agent-native/core`'s `BUILT_IN_APP_SKILLS` object * (`packages/core/src/cli/skills.ts`, around line 1711+). The standalone * `@agent-native/skills` installer uses this to know which skill name maps to * which hosted MCP server without importing the (much heavier) core CLI module. * * IMPORTANT: every URL / serverName / alias / authMode below MUST stay byte-for-byte * identical to core's `BUILT_IN_APP_SKILLS`. The provenance of each value is noted * inline as `packages/core/src/cli/skills.ts:`. If core changes, update here too * (a future sync guard test should compare the two). */ /** Auth modes mirrored from core's `auth.mode` on each app-skill manifest. */ export type BuiltInAppAuthMode = "oauth" | "device" | "none"; /** * Descriptor for a single built-in agent-native app and the hosted MCP server * its skills connect to. */ export interface BuiltInAppMcp { /** Stable app id (matches the manifest `id` in core). */ appId: string; /** Human-facing display name. */ displayName: string; /** Skill names this app exports (a skill name resolves back to this app). */ skillNames: string[]; /** MCP server name used when registering the connector. */ serverName: string; /** Hosted MCP endpoint URL (`hosted.mcpUrl`). */ mcpUrl: string; /** Hosted app base URL (`hosted.url`). */ hostedUrl: string; /** Alternate server names accepted for this app (`mcp.aliases`). */ aliases?: string[]; /** Auth mode for connecting the MCP server (`auth.mode`). */ authMode: BuiltInAppAuthMode; /** True when the app ships only as a local command (no remote refresh). */ localOnly?: boolean; /** True when the app provides a PR Visual Recap GitHub Action workflow. */ hasGithubAction?: boolean; } /** * The built-in app -> MCP registry. * * Each entry's values are copied verbatim from core. Provenance per field is * cited inline using the `packages/core/src/cli/skills.ts` line numbers. */ export declare const BUILT_IN_APP_MCP: BuiltInAppMcp[]; /** * Resolve the built-in app whose `skillNames` contains `skillName` * (case-insensitive). Returns `undefined` when no built-in app exports it. */ export declare function resolveAppForSkill(skillName: string): BuiltInAppMcp | undefined; /** * True when the given skill name maps to a built-in app with a hosted MCP * server. */ export declare function appHasMcp(skillName: string): boolean; //# sourceMappingURL=built-in-apps.d.ts.map