{"version":3,"file":"mcp.cjs","names":["defineMcpSkill","defineMcpPlugin","skillTeam"],"sources":["../../src/constants/remoteTeam.ts","../../src/extensions/workspaces/sessions/(backend)/skill/team.mcp.ts","../../generated/mcp.ts"],"sourcesContent":["export const REMOTE_TEAM_GUIDANCE = `# Remote Team capabilities\n\nUse only tools exposed by the bound DoomPi session. A Team skill does not establish\nthat subagent, intercom, or agent discovery operations are available. Do not guess\nagent names, run IDs, or tool arguments.\n\nBackground subagents can outlive a remote tool call. Do not delegate unless a\ncompletion path into the originating conversation or a bounded status/result\nworkflow has been demonstrated for that client. Do not assume local DoomPi\ncompletion notifications wake a ChatGPT conversation. Without that path, perform\nthe scoped work with the existing repository tools instead.\n\nDo not launch equivalent background delegation through Bash, task assignment, or\nan upstream gateway as a workaround. Existing runs may be inspected through an\nexposed, authorized result operation when the user requests it. Do not relaunch\na run merely because its result is not yet available.\n\nSession identity comes from the authenticated connection. Routing identifiers do\nnot grant authority; never disclose private channel capability tokens.`;\n","import { defineMcpSkill } from '@agimon-ai/doompi-core/mcpFacet';\n\nimport { REMOTE_TEAM_GUIDANCE } from '../../../../../constants/remoteTeam';\n\nexport default defineMcpSkill({\n  name: 'doompi-team',\n  description:\n    'Understand the bound session Team capabilities and remote result-delivery limits before considering delegation.',\n  read: () => REMOTE_TEAM_GUIDANCE,\n});\n","// Generated by @agimon-ai/doompi-build. Do not edit by hand.\nimport { defineMcpPlugin, type DoomMcpSessionPlugin } from '@agimon-ai/doompi-core/mcpFacet';\n\nimport skillTeam from '../src/extensions/workspaces/sessions/(backend)/skill/team.mcp';\n\ntype Factory<T, C> = (context: C) => T;\nconst at = <T, C>(value: T | Factory<T, C>, context: C): T =>\n  typeof value === 'function' ? (value as Factory<T, C>)(context) : value;\n\nexport const mcp = defineMcpPlugin({\n  name: '@agimon-ai/doompi-team',\n  session: (context) => ({\n    get skills(): DoomMcpSessionPlugin['skills'] { return [at(skillTeam, context)]; },\n  }) satisfies DoomMcpSessionPlugin,\n});\n\nexport default mcp;\n"],"mappings":";;;;;;AAAA,MAAa,uBAAuB;;;;;;;;;;;;;;;;;;;;;ACIpC,IAAA,oBAAA,GAAeA,gCAAAA,eAAAA,CAAe;CAC5B,MAAM;CACN,aACE;CACF,YAAY;AACd,CAAC;;;ACHD,MAAM,MAAY,OAA0B,YAC1C,OAAO,UAAU,aAAc,MAAwB,OAAO,IAAI;AAEpE,MAAa,OAAA,GAAMC,gCAAAA,gBAAAA,CAAgB;CACjC,MAAM;CACN,UAAU,aAAa,EACrB,IAAI,SAAyC;EAAE,OAAO,CAAC,GAAGC,kBAAW,OAAO,CAAC;CAAG,EAClF;AACF,CAAC"}