@introspection-ai/recipes 0.26.0 → 0.27.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/api/mcp.d.ts +3 -3
- package/dist/api/mcp.d.ts.map +1 -1
- package/dist/api/mcp.js +1 -1
- package/dist/api/mcp.js.map +1 -1
- package/dist/{child-agent-completions.d.ts → child/agent-completions.d.ts} +2 -2
- package/dist/child/agent-completions.d.ts.map +1 -0
- package/dist/{child-agent-completions.js → child/agent-completions.js} +1 -1
- package/dist/child/agent-completions.js.map +1 -0
- package/dist/{child-agent-store.d.ts → child/agent-store.d.ts} +1 -1
- package/dist/child/agent-store.d.ts.map +1 -0
- package/dist/{child-agent-store.js → child/agent-store.js} +1 -1
- package/dist/child/agent-store.js.map +1 -0
- package/dist/{child-agent.d.ts → child/agent.d.ts} +2 -2
- package/dist/child/agent.d.ts.map +1 -0
- package/dist/{child-agent.js → child/agent.js} +5 -5
- package/dist/child/agent.js.map +1 -0
- package/dist/{child-session.d.ts → child/session.d.ts} +4 -4
- package/dist/child/session.d.ts.map +1 -0
- package/dist/{child-session.js → child/session.js} +2 -2
- package/dist/child/session.js.map +1 -0
- package/dist/connector-tools.d.ts +1 -1
- package/dist/connector-tools.js +2 -2
- package/dist/inspect.d.ts +1 -1
- package/dist/inspect.js +1 -1
- package/dist/{mcp-catalog.d.ts → mcp/catalog.d.ts} +3 -3
- package/dist/mcp/catalog.d.ts.map +1 -0
- package/dist/{mcp-catalog.js → mcp/catalog.js} +2 -2
- package/dist/mcp/catalog.js.map +1 -0
- package/dist/{mcp-command-context.d.ts → mcp/cli/command-context.d.ts} +1 -1
- package/dist/mcp/cli/command-context.d.ts.map +1 -0
- package/dist/{mcp-command-context.js → mcp/cli/command-context.js} +1 -1
- package/dist/mcp/cli/command-context.js.map +1 -0
- package/dist/{mcp-cli-core.d.ts → mcp/cli/core.d.ts} +14 -8
- package/dist/mcp/cli/core.d.ts.map +1 -0
- package/dist/{mcp-cli-core.js → mcp/cli/core.js} +105 -146
- package/dist/mcp/cli/core.js.map +1 -0
- package/dist/mcp/cli/help.d.ts +6 -0
- package/dist/mcp/cli/help.d.ts.map +1 -0
- package/dist/mcp/cli/help.js +116 -0
- package/dist/mcp/cli/help.js.map +1 -0
- package/dist/mcp/cli/index.d.ts +3 -0
- package/dist/mcp/cli/index.d.ts.map +1 -0
- package/dist/{mcp-cli.js → mcp/cli/index.js} +4 -4
- package/dist/mcp/cli/index.js.map +1 -0
- package/dist/{mcp-cli-policy.d.ts → mcp/cli/policy.d.ts} +2 -2
- package/dist/mcp/cli/policy.d.ts.map +1 -0
- package/dist/{mcp-cli-policy.js → mcp/cli/policy.js} +2 -2
- package/dist/mcp/cli/policy.js.map +1 -0
- package/dist/mcp/cli/run-worker.d.ts +2 -0
- package/dist/mcp/cli/run-worker.d.ts.map +1 -0
- package/dist/mcp/cli/run-worker.js +54 -0
- package/dist/mcp/cli/run-worker.js.map +1 -0
- package/dist/mcp/client-entry.d.ts +3 -0
- package/dist/mcp/client-entry.d.ts.map +1 -0
- package/dist/{mcp-client.js → mcp/client-entry.js} +3 -3
- package/dist/mcp/client-entry.js.map +1 -0
- package/dist/{mcp-contract.d.ts → mcp/contract.d.ts} +2 -2
- package/dist/mcp/contract.d.ts.map +1 -0
- package/dist/{mcp-contract.js → mcp/contract.js} +1 -1
- package/dist/mcp/contract.js.map +1 -0
- package/dist/{mcp-daemon-client.d.ts → mcp/daemon/client.d.ts} +3 -2
- package/dist/mcp/daemon/client.d.ts.map +1 -0
- package/dist/{mcp-daemon-client.js → mcp/daemon/client.js} +12 -8
- package/dist/mcp/daemon/client.js.map +1 -0
- package/dist/mcp/daemon/index.d.ts +3 -0
- package/dist/mcp/daemon/index.d.ts.map +1 -0
- package/dist/mcp/daemon/index.js +453 -0
- package/dist/{mcp-daemon.js.map → mcp/daemon/index.js.map} +1 -1
- package/dist/{mcp-daemon-protocol.d.ts → mcp/daemon/protocol.d.ts} +2 -2
- package/dist/mcp/daemon/protocol.d.ts.map +1 -0
- package/dist/{mcp-daemon-protocol.js → mcp/daemon/protocol.js} +1 -1
- package/dist/mcp/daemon/protocol.js.map +1 -0
- package/dist/{mcp.d.ts → mcp/index.d.ts} +5 -5
- package/dist/mcp/index.d.ts.map +1 -0
- package/dist/{mcp.js → mcp/index.js} +16 -10
- package/dist/mcp/index.js.map +1 -0
- package/dist/{mcp-policy.d.ts → mcp/policy.d.ts} +3 -3
- package/dist/mcp/policy.d.ts.map +1 -0
- package/dist/{mcp-policy.js → mcp/policy.js} +1 -1
- package/dist/mcp/policy.js.map +1 -0
- package/dist/{mcp-tools.d.ts → mcp/tools.d.ts} +4 -4
- package/dist/mcp/tools.d.ts.map +1 -0
- package/dist/{mcp-tools.js → mcp/tools.js} +4 -4
- package/dist/mcp/tools.js.map +1 -0
- package/dist/{mcp-trace-context.d.ts → mcp/trace-context.d.ts} +2 -2
- package/dist/mcp/trace-context.d.ts.map +1 -0
- package/dist/{mcp-trace-context.js → mcp/trace-context.js} +1 -1
- package/dist/mcp/trace-context.js.map +1 -0
- package/dist/mcp-chunks/{auth-command-JBYNHHMV.js → auth-command-GQFV6QYP.js} +22 -21
- package/dist/mcp-chunks/call-arguments-VT7JLNJY.js +16 -0
- package/dist/mcp-chunks/{call-command-467BVXTE.js → call-command-LMAREWKD.js} +45 -44
- package/dist/mcp-chunks/{chunk-I7JR2GIC.js → chunk-2HOMVWSA.js} +2 -2
- package/dist/mcp-chunks/{chunk-CZ43ZITK.js → chunk-2P2HVZ3G.js} +1 -1
- package/dist/mcp-chunks/{chunk-SUNOYTQJ.js → chunk-34QXE62Y.js} +175 -147
- package/dist/mcp-chunks/{chunk-TFU4NKFJ.js → chunk-5B7GRMUK.js} +1 -1
- package/dist/mcp-chunks/{chunk-LG3GLOSA.js → chunk-5BMCVE2J.js} +14 -11
- package/dist/mcp-chunks/{chunk-MJHMXYMO.js → chunk-6QZQZXDJ.js} +3 -3
- package/dist/mcp-chunks/{chunk-DMBE47LM.js → chunk-6RG6AD5X.js} +6 -6
- package/dist/mcp-chunks/{chunk-UCJ7YDFN.js → chunk-77BZYP72.js} +1 -1
- package/dist/mcp-chunks/{chunk-NTABJCUL.js → chunk-7PFJCLXL.js} +10 -10
- package/dist/mcp-chunks/{chunk-66P5FXP3.js → chunk-7WL4TMON.js} +4 -4
- package/dist/mcp-chunks/{chunk-HKZZGSDV.js → chunk-C2VLY7ED.js} +4 -4
- package/dist/mcp-chunks/{chunk-XCNWICLD.js → chunk-CLR6DJV3.js} +1 -1
- package/dist/mcp-chunks/{chunk-REEFOL44.js → chunk-D6B2M5V7.js} +1 -1
- package/dist/mcp-chunks/{chunk-EP22XMWK.js → chunk-D6SVCPN6.js} +1 -1
- package/dist/mcp-chunks/{chunk-BTU34BUG.js → chunk-FBVRU4Y3.js} +43 -30
- package/dist/mcp-chunks/{chunk-TGPIW6F6.js → chunk-FONFU4G5.js} +1 -1
- package/dist/mcp-chunks/chunk-H4KL74PV.js +2073 -0
- package/dist/mcp-chunks/{chunk-QIBGY4IX.js → chunk-H7ARMBV7.js} +4 -9
- package/dist/mcp-chunks/{chunk-OABFKFSL.js → chunk-HZ2SX5U6.js} +39 -34
- package/dist/mcp-chunks/{chunk-HTXQPQPB.js → chunk-I6UMKX5E.js} +4 -4
- package/dist/mcp-chunks/{chunk-Z6QEOUMK.js → chunk-IF6LRV3J.js} +8 -14
- package/dist/mcp-chunks/{chunk-HBN3ESMH.js → chunk-JVYCENPP.js} +4 -4
- package/dist/mcp-chunks/{chunk-IO2IMWYS.js → chunk-KOWNVUL2.js} +34 -7
- package/dist/mcp-chunks/{chunk-AS27BTCS.js → chunk-KQCLM7R7.js} +4 -4
- package/dist/mcp-chunks/{chunk-AP5VHS73.js → chunk-L6OOGZVA.js} +2 -2
- package/dist/mcp-chunks/{chunk-BC2HDCYV.js → chunk-LCBDVFVA.js} +1 -1
- package/dist/mcp-chunks/{chunk-EUDC3ICZ.js → chunk-LIEFPSSB.js} +5 -5
- package/dist/mcp-chunks/{chunk-YPTN46JQ.js → chunk-LQIE4PKL.js} +2 -2
- package/dist/mcp-chunks/{chunk-GK4LA4E6.js → chunk-LXHPDKEF.js} +1 -1
- package/dist/mcp-chunks/{chunk-XFQSUC7T.js → chunk-MJFZM5EV.js} +5 -5
- package/dist/mcp-chunks/{chunk-WUEDIOR5.js → chunk-NQW3ES2G.js} +2 -8
- package/dist/mcp-chunks/{chunk-3Q2Q7SBU.js → chunk-O2VOMKAS.js} +13 -13
- package/dist/mcp-chunks/{chunk-GL4AA5QV.js → chunk-O4JIUOWF.js} +2 -2
- package/dist/mcp-chunks/{chunk-GEVQ2GJW.js → chunk-P3UVILEW.js} +2 -2
- package/dist/mcp-chunks/{chunk-N7ZWX3WW.js → chunk-P463YBJM.js} +1 -1
- package/dist/mcp-chunks/{chunk-Y3L5LWBY.js → chunk-PJCMJ65D.js} +277 -2110
- package/dist/mcp-chunks/{chunk-LTR626QF.js → chunk-QALB3DRW.js} +1 -1
- package/dist/mcp-chunks/{chunk-D2P2IV4H.js → chunk-QJNF3A3F.js} +1 -1
- package/dist/mcp-chunks/{chunk-KJNNO5Z6.js → chunk-RIHPVCGI.js} +1 -1
- package/dist/mcp-chunks/{chunk-J2WP6ERZ.js → chunk-RZIJUJGL.js} +44 -1055
- package/dist/mcp-chunks/{chunk-L2LGMX5P.js → chunk-S2YF442K.js} +2 -2
- package/dist/mcp-chunks/{chunk-CN5YF3IQ.js → chunk-S5F3HEZZ.js} +1848 -1046
- package/dist/mcp-chunks/{chunk-6DVS7RBO.js → chunk-S6GJ42I2.js} +1 -1
- package/dist/mcp-chunks/chunk-T4MQCFIK.js +982 -0
- package/dist/mcp-chunks/{chunk-OB256NMD.js → chunk-TUQGOYK6.js} +1 -1
- package/dist/mcp-chunks/{chunk-M62ESEOY.js → chunk-TYYSBILI.js} +10 -22
- package/dist/mcp-chunks/{chunk-LYWEATXZ.js → chunk-UHO6KIUJ.js} +2 -2
- package/dist/mcp-chunks/{chunk-BSCNF4NY.js → chunk-UIPG6W7N.js} +2 -2
- package/dist/mcp-chunks/{chunk-AK5ZEDEF.js → chunk-UKM35J67.js} +2 -2
- package/dist/mcp-chunks/{chunk-G4H535MI.js → chunk-UYJZJXC2.js} +21 -3
- package/dist/mcp-chunks/{chunk-GA4ZYSRX.js → chunk-VJIAHZZG.js} +4 -4
- package/dist/mcp-chunks/{chunk-OZQTZWW4.js → chunk-WHJUDBPR.js} +1 -1
- package/dist/mcp-chunks/{chunk-YI5SMRFH.js → chunk-XNHGMWN2.js} +7 -7
- package/dist/mcp-chunks/{cli-TN6JTLTS.js → cli-JI7MEAAX.js} +70 -69
- package/dist/mcp-chunks/client-QU7ABSNB.js +30 -0
- package/dist/mcp-chunks/{config-command-LICU56ZH.js → config-command-GRZLKD3R.js} +36 -28
- package/dist/mcp-chunks/daemon-command-3266CYHO.js +30 -0
- package/dist/mcp-chunks/{dist-MFAWSKGH.js → dist-USMCQ22V.js} +71 -47
- package/dist/mcp-chunks/{emit-ts-command-FVX3JMSN.js → emit-ts-command-7VLESP7H.js} +18 -17
- package/dist/mcp-chunks/{generate-cli-runner-L2L7VMCA.js → generate-cli-runner-SSW2B72K.js} +43 -42
- package/dist/mcp-chunks/generated-daemon-runtime-7CFVWLC7.js +30 -0
- package/dist/mcp-chunks/{inspect-cli-command-Y5D3GRE2.js → inspect-cli-command-NCGCMOIS.js} +9 -9
- package/dist/mcp-chunks/{launch-ZFY6CM2A.js → launch-NBONSPNK.js} +1 -1
- package/dist/mcp-chunks/{lifecycle-H7DIW5DM.js → lifecycle-CXAKUCN4.js} +1 -1
- package/dist/mcp-chunks/{list-command-55LCLW4S.js → list-command-5T4UF4PF.js} +56 -69
- package/dist/mcp-chunks/{output-utils-YYHI637S.js → output-utils-YFTWQZ5V.js} +3 -3
- package/dist/mcp-chunks/{prompt-CH6TK0bC-DZLFAAPK.js → prompt-CH6TK0bC-6DI4RA4E.js} +1 -1
- package/dist/mcp-chunks/{record-command-PWIBYC5J.js → record-command-TE5O7WBL.js} +5 -5
- package/dist/mcp-chunks/{replay-command-QHZZZMXF.js → replay-command-QCUL5ASR.js} +6 -6
- package/dist/mcp-chunks/{resource-command-HMR2KXWK.js → resource-command-XMGF7EAK.js} +9 -9
- package/dist/mcp-chunks/{result-utils-UGCQSRJ4.js → result-utils-HKB42M7Y.js} +3 -3
- package/dist/mcp-chunks/runtime-3X2XVS6X.js +37 -0
- package/dist/mcp-chunks/{runtime-wrapper-I4B3OROR.js → runtime-wrapper-MI3HF45J.js} +3 -3
- package/dist/mcp-chunks/{serve-command-NTDI3YPN.js → serve-command-5HV3ZE25.js} +25 -24
- package/dist/mcp-chunks/{timeouts-35UDWFA7.js → timeouts-YBFBTLV2.js} +8 -5
- package/dist/mcp-chunks/{vault-command-D5QZL4FI.js → vault-command-FC2PD5U6.js} +4 -4
- package/dist/mcp-chunks/webapi-IFUPO72B.js +2481 -0
- package/dist/mcp-daemon.js +35 -28
- package/dist/mcp-run-worker.js +28 -27
- package/dist/pi-extension.d.ts +1 -1
- package/dist/pi-extension.d.ts.map +1 -1
- package/dist/pi-extension.js +10 -9
- package/dist/pi-extension.js.map +1 -1
- package/dist/{recipe-agent.d.ts → recipe/agent.d.ts} +3 -3
- package/dist/recipe/agent.d.ts.map +1 -0
- package/dist/{recipe-agent.js → recipe/agent.js} +5 -5
- package/dist/recipe/agent.js.map +1 -0
- package/dist/{recipe-extensions.d.ts → recipe/extensions.d.ts} +1 -1
- package/dist/recipe/extensions.d.ts.map +1 -0
- package/dist/{recipe-extensions.js → recipe/extensions.js} +1 -1
- package/dist/recipe/extensions.js.map +1 -0
- package/dist/{recipe-mcp-config.d.ts → recipe/mcp-config.d.ts} +2 -2
- package/dist/recipe/mcp-config.d.ts.map +1 -0
- package/dist/{recipe-mcp-config.js → recipe/mcp-config.js} +1 -1
- package/dist/recipe/mcp-config.js.map +1 -0
- package/dist/{recipe-model.d.ts → recipe/model.d.ts} +1 -1
- package/dist/recipe/model.d.ts.map +1 -0
- package/dist/{recipe-model.js → recipe/model.js} +1 -1
- package/dist/recipe/model.js.map +1 -0
- package/dist/{recipe-package.d.ts → recipe/package.d.ts} +1 -1
- package/dist/recipe/package.d.ts.map +1 -0
- package/dist/{recipe-package.js → recipe/package.js} +1 -1
- package/dist/recipe/package.js.map +1 -0
- package/dist/recipe/resolve.d.ts +6 -6
- package/dist/recipe/resolve.d.ts.map +1 -1
- package/dist/recipe/resolve.js +4 -4
- package/dist/recipe/resolve.js.map +1 -1
- package/dist/{recipe-session.d.ts → recipe/session.d.ts} +1 -1
- package/dist/recipe/session.d.ts.map +1 -0
- package/dist/{recipe-session.js → recipe/session.js} +1 -1
- package/dist/recipe/session.js.map +1 -0
- package/dist/recipe/skills-prompt.d.ts +30 -0
- package/dist/recipe/skills-prompt.d.ts.map +1 -0
- package/dist/recipe/skills-prompt.js +28 -0
- package/dist/recipe/skills-prompt.js.map +1 -0
- package/dist/{recipe-skills.d.ts → recipe/skills.d.ts} +1 -1
- package/dist/recipe/skills.d.ts.map +1 -0
- package/dist/{recipe-skills.js → recipe/skills.js} +2 -2
- package/dist/recipe/skills.js.map +1 -0
- package/dist/run-controller.js +2 -2
- package/dist/session.d.ts +1 -1
- package/dist/session.d.ts.map +1 -1
- package/dist/session.js +5 -5
- package/dist/session.js.map +1 -1
- package/docs/agent-composition.md +4 -1
- package/docs/channels.md +1 -1
- package/docs/recipe-format.md +4 -2
- package/docs/slack.md +1 -1
- package/package.json +6 -6
- package/dist/child-agent-completions.d.ts.map +0 -1
- package/dist/child-agent-completions.js.map +0 -1
- package/dist/child-agent-store.d.ts.map +0 -1
- package/dist/child-agent-store.js.map +0 -1
- package/dist/child-agent.d.ts.map +0 -1
- package/dist/child-agent.js.map +0 -1
- package/dist/child-session.d.ts.map +0 -1
- package/dist/child-session.js.map +0 -1
- package/dist/mcp-catalog.d.ts.map +0 -1
- package/dist/mcp-catalog.js.map +0 -1
- package/dist/mcp-chunks/call-arguments-S4EGFKUQ.js +0 -15
- package/dist/mcp-chunks/chunk-YVH36MGQ.js +0 -92
- package/dist/mcp-chunks/client-G33HPQAC.js +0 -29
- package/dist/mcp-chunks/daemon-command-JLVHGWHB.js +0 -29
- package/dist/mcp-chunks/generated-daemon-runtime-DC6IL7E7.js +0 -29
- package/dist/mcp-chunks/runtime-ZNFPZXKE.js +0 -36
- package/dist/mcp-chunks/webapi-4GWO2UBA.js +0 -3508
- package/dist/mcp-cli-core.d.ts.map +0 -1
- package/dist/mcp-cli-core.js.map +0 -1
- package/dist/mcp-cli-help.d.ts +0 -2
- package/dist/mcp-cli-help.d.ts.map +0 -1
- package/dist/mcp-cli-help.js +0 -36
- package/dist/mcp-cli-help.js.map +0 -1
- package/dist/mcp-cli-policy.d.ts.map +0 -1
- package/dist/mcp-cli-policy.js.map +0 -1
- package/dist/mcp-cli.d.ts +0 -3
- package/dist/mcp-cli.d.ts.map +0 -1
- package/dist/mcp-cli.js.map +0 -1
- package/dist/mcp-client.d.ts +0 -3
- package/dist/mcp-client.d.ts.map +0 -1
- package/dist/mcp-client.js.map +0 -1
- package/dist/mcp-command-context.d.ts.map +0 -1
- package/dist/mcp-command-context.js.map +0 -1
- package/dist/mcp-contract.d.ts.map +0 -1
- package/dist/mcp-contract.js.map +0 -1
- package/dist/mcp-daemon-client.d.ts.map +0 -1
- package/dist/mcp-daemon-client.js.map +0 -1
- package/dist/mcp-daemon-protocol.d.ts.map +0 -1
- package/dist/mcp-daemon-protocol.js.map +0 -1
- package/dist/mcp-daemon.d.ts +0 -3
- package/dist/mcp-daemon.d.ts.map +0 -1
- package/dist/mcp-policy.d.ts.map +0 -1
- package/dist/mcp-policy.js.map +0 -1
- package/dist/mcp-run-worker.d.ts +0 -2
- package/dist/mcp-run-worker.d.ts.map +0 -1
- package/dist/mcp-run-worker.js.map +0 -1
- package/dist/mcp-tools.d.ts.map +0 -1
- package/dist/mcp-tools.js.map +0 -1
- package/dist/mcp-trace-context.d.ts.map +0 -1
- package/dist/mcp-trace-context.js.map +0 -1
- package/dist/mcp.d.ts.map +0 -1
- package/dist/mcp.js.map +0 -1
- package/dist/recipe-agent.d.ts.map +0 -1
- package/dist/recipe-agent.js.map +0 -1
- package/dist/recipe-extensions.d.ts.map +0 -1
- package/dist/recipe-extensions.js.map +0 -1
- package/dist/recipe-mcp-config.d.ts.map +0 -1
- package/dist/recipe-mcp-config.js.map +0 -1
- package/dist/recipe-model.d.ts.map +0 -1
- package/dist/recipe-model.js.map +0 -1
- package/dist/recipe-package.d.ts.map +0 -1
- package/dist/recipe-package.js.map +0 -1
- package/dist/recipe-session.d.ts.map +0 -1
- package/dist/recipe-session.js.map +0 -1
- package/dist/recipe-skills.d.ts.map +0 -1
- package/dist/recipe-skills.js.map +0 -1
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { createRequire as __createRequire } from "node:module"; const require = __createRequire(import.meta.url);
|
|
2
2
|
import {
|
|
3
3
|
createKeepAliveRuntime
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-6QZQZXDJ.js";
|
|
5
5
|
import {
|
|
6
6
|
DaemonClient
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-FBVRU4Y3.js";
|
|
8
8
|
import {
|
|
9
9
|
isKeepAliveServer
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-QJNF3A3F.js";
|
|
11
11
|
|
|
12
|
-
// node_modules/.pnpm/mcporter@0.13.
|
|
12
|
+
// node_modules/.pnpm/mcporter@0.13.13/node_modules/mcporter/dist/generated-daemon-runtime.js
|
|
13
13
|
async function createGeneratedKeepAliveRuntime(base, server) {
|
|
14
14
|
if (!isKeepAliveServer(server)) {
|
|
15
15
|
return {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { createRequire as __createRequire } from "node:module"; const require = __createRequire(import.meta.url);
|
|
2
2
|
import {
|
|
3
3
|
pickSharedDefinitionFields
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-WHJUDBPR.js";
|
|
5
5
|
|
|
6
|
-
// node_modules/.pnpm/mcporter@0.13.
|
|
6
|
+
// node_modules/.pnpm/mcporter@0.13.13/node_modules/mcporter/dist/cli-metadata.js
|
|
7
7
|
import { spawn } from "node:child_process";
|
|
8
8
|
import fs from "node:fs/promises";
|
|
9
9
|
function metadataPathForArtifact(artifactPath) {
|
|
@@ -92,7 +92,7 @@ function serializeDefinition(definition) {
|
|
|
92
92
|
};
|
|
93
93
|
}
|
|
94
94
|
|
|
95
|
-
// node_modules/.pnpm/mcporter@0.13.
|
|
95
|
+
// node_modules/.pnpm/mcporter@0.13.13/node_modules/mcporter/dist/cli/generate/tool-selection.js
|
|
96
96
|
function validateToolSelection(includeTools, excludeTools, context) {
|
|
97
97
|
if (includeTools && excludeTools) {
|
|
98
98
|
throw new Error(context.mutuallyExclusiveMessage);
|
|
@@ -105,7 +105,7 @@ function validateToolSelection(includeTools, excludeTools, context) {
|
|
|
105
105
|
}
|
|
106
106
|
}
|
|
107
107
|
|
|
108
|
-
// node_modules/.pnpm/mcporter@0.13.
|
|
108
|
+
// node_modules/.pnpm/mcporter@0.13.13/node_modules/mcporter/dist/cli/generate/template-data.js
|
|
109
109
|
function buildGenerateCliCommand(invocation, definition, globalFlags = {}) {
|
|
110
110
|
const tokens = ["mcporter"];
|
|
111
111
|
const configPath = invocation.configPath ?? globalFlags["--config"];
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { createRequire as __createRequire } from "node:module"; const require = __createRequire(import.meta.url);
|
|
2
2
|
|
|
3
|
-
// node_modules/.pnpm/mcporter@0.13.
|
|
3
|
+
// node_modules/.pnpm/mcporter@0.13.13/node_modules/mcporter/dist/cli/record-replay-env.js
|
|
4
4
|
var KEEP_ALIVE_DISABLED_FOR_MODE = "*";
|
|
5
5
|
function buildRecordCommandEnv(sessionName, server) {
|
|
6
6
|
return buildModeEnv({
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { createRequire as __createRequire } from "node:module"; const require = __createRequire(import.meta.url);
|
|
2
2
|
|
|
3
|
-
// node_modules/.pnpm/mcporter@0.13.
|
|
3
|
+
// node_modules/.pnpm/mcporter@0.13.13/node_modules/mcporter/dist/runtime/elicitation.js
|
|
4
4
|
import readline from "node:readline";
|
|
5
5
|
var NON_INTERACTIVE_ELICITATION_HINT = "Server requested interactive input; run mcporter in a terminal.";
|
|
6
6
|
function createInteractiveElicitationResponder(options = {}) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { createRequire as __createRequire } from "node:module"; const require = __createRequire(import.meta.url);
|
|
2
2
|
|
|
3
|
-
// node_modules/.pnpm/mcporter@0.13.
|
|
3
|
+
// node_modules/.pnpm/mcporter@0.13.13/node_modules/mcporter/dist/env.js
|
|
4
4
|
import os from "node:os";
|
|
5
5
|
import path from "node:path";
|
|
6
6
|
var ENV_DEFAULT_PATTERN = /^\$\{([A-Za-z_][A-Za-z0-9_]*)(?::-|:|-)?([^}]*)\}$/;
|
|
@@ -1,66 +1,67 @@
|
|
|
1
1
|
import { createRequire as __createRequire } from "node:module"; const require = __createRequire(import.meta.url);
|
|
2
2
|
import {
|
|
3
3
|
BrowserOwner,
|
|
4
|
+
BrowserOwnerConflict,
|
|
4
5
|
authorizeBrokerDefinition,
|
|
5
6
|
connectionIdentity,
|
|
6
7
|
createRuntime,
|
|
7
8
|
daemonRunDir,
|
|
8
9
|
effectiveDefinition,
|
|
9
10
|
filterTools,
|
|
10
|
-
getChromeDevtoolsRelayDecision,
|
|
11
11
|
getDaemonMetadataPath,
|
|
12
12
|
getDaemonSocketPath,
|
|
13
13
|
inspectLegacyDaemonDirectory,
|
|
14
|
-
|
|
14
|
+
isExistingChromeDefinition,
|
|
15
15
|
isToolAllowed,
|
|
16
16
|
resolveSystemPowerShellPath,
|
|
17
17
|
secureDaemonDirectory,
|
|
18
18
|
upgradeLegacyDaemonDirectory
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-PJCMJ65D.js";
|
|
20
20
|
import {
|
|
21
21
|
NON_INTERACTIVE_ELICITATION_HINT,
|
|
22
22
|
createNonInteractiveElicitationResponder
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-D6B2M5V7.js";
|
|
24
24
|
import {
|
|
25
25
|
isOAuthFlowError,
|
|
26
26
|
resolveOAuthTimeoutFromEnv
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-TYYSBILI.js";
|
|
28
28
|
import {
|
|
29
29
|
withRuntimeEnvironment
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-XNHGMWN2.js";
|
|
31
31
|
import {
|
|
32
32
|
MCPORTER_VERSION
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-7PFJCLXL.js";
|
|
34
34
|
import {
|
|
35
|
+
getChromeDevtoolsRelayDecision,
|
|
35
36
|
normalizeTimeout
|
|
36
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-H4KL74PV.js";
|
|
37
38
|
import {
|
|
38
39
|
RawEntrySchema,
|
|
39
40
|
loadServerDefinitions
|
|
40
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-RZIJUJGL.js";
|
|
41
42
|
import {
|
|
42
43
|
isProcessRunning,
|
|
43
44
|
withFileLock,
|
|
44
45
|
writeJsonFile
|
|
45
|
-
} from "./chunk-
|
|
46
|
+
} from "./chunk-H7ARMBV7.js";
|
|
46
47
|
import {
|
|
47
48
|
mcporterDir
|
|
48
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-UHO6KIUJ.js";
|
|
49
50
|
import {
|
|
50
51
|
isKeepAliveServer
|
|
51
|
-
} from "./chunk-
|
|
52
|
+
} from "./chunk-QJNF3A3F.js";
|
|
52
53
|
import {
|
|
53
54
|
SdkErrorCode,
|
|
54
55
|
external_exports
|
|
55
|
-
} from "./chunk-
|
|
56
|
+
} from "./chunk-S5F3HEZZ.js";
|
|
56
57
|
|
|
57
|
-
// node_modules/.pnpm/mcporter@0.13.
|
|
58
|
+
// node_modules/.pnpm/mcporter@0.13.13/node_modules/mcporter/dist/daemon/socket-rpc.js
|
|
58
59
|
import { createHmac, randomBytes, timingSafeEqual } from "node:crypto";
|
|
59
60
|
import fs from "node:fs/promises";
|
|
60
61
|
import net from "node:net";
|
|
61
62
|
import path from "node:path";
|
|
62
63
|
|
|
63
|
-
// node_modules/.pnpm/mcporter@0.13.
|
|
64
|
+
// node_modules/.pnpm/mcporter@0.13.13/node_modules/mcporter/dist/daemon/protocol.js
|
|
64
65
|
var DAEMON_PROTOCOL_VERSION = 3;
|
|
65
66
|
var MAX_DAEMON_PAYLOAD_BYTES = 4 * 1024 * 1024;
|
|
66
67
|
var DAEMON_PROGRESS_INTERVAL_MS = 250;
|
|
@@ -85,7 +86,7 @@ function resolveProgressTiming(requestedIdleTimeoutMs) {
|
|
|
85
86
|
};
|
|
86
87
|
}
|
|
87
88
|
|
|
88
|
-
// node_modules/.pnpm/mcporter@0.13.
|
|
89
|
+
// node_modules/.pnpm/mcporter@0.13.13/node_modules/mcporter/dist/daemon/socket-rpc.js
|
|
89
90
|
async function daemonKey() {
|
|
90
91
|
await secureDaemonDirectory();
|
|
91
92
|
const file = path.join(daemonRunDir(), "user.key");
|
|
@@ -224,11 +225,11 @@ async function requestDaemon(socketPath, request, idleTimeoutMs) {
|
|
|
224
225
|
}
|
|
225
226
|
}
|
|
226
227
|
|
|
227
|
-
// node_modules/.pnpm/mcporter@0.13.
|
|
228
|
+
// node_modules/.pnpm/mcporter@0.13.13/node_modules/mcporter/dist/daemon/client.js
|
|
228
229
|
import { randomUUID as randomUUID3 } from "node:crypto";
|
|
229
230
|
import fs3 from "node:fs/promises";
|
|
230
231
|
|
|
231
|
-
// node_modules/.pnpm/mcporter@0.13.
|
|
232
|
+
// node_modules/.pnpm/mcporter@0.13.13/node_modules/mcporter/dist/daemon/process-retirement.js
|
|
232
233
|
import { execFile } from "node:child_process";
|
|
233
234
|
import { promisify } from "node:util";
|
|
234
235
|
var exec = promisify(execFile);
|
|
@@ -420,24 +421,24 @@ async function awaitRetirement(identities) {
|
|
|
420
421
|
throw new Error("Verified legacy processes have not retired; cutover remains blocked. No process was signalled.");
|
|
421
422
|
}
|
|
422
423
|
|
|
423
|
-
// node_modules/.pnpm/mcporter@0.13.
|
|
424
|
+
// node_modules/.pnpm/mcporter@0.13.13/node_modules/mcporter/dist/daemon/migration.js
|
|
424
425
|
import fs2 from "node:fs/promises";
|
|
425
426
|
import net2 from "node:net";
|
|
426
427
|
import path2 from "node:path";
|
|
427
428
|
import { randomUUID as randomUUID2 } from "node:crypto";
|
|
428
429
|
|
|
429
|
-
// node_modules/.pnpm/mcporter@0.13.
|
|
430
|
+
// node_modules/.pnpm/mcporter@0.13.13/node_modules/mcporter/dist/daemon/idle-timer.js
|
|
430
431
|
var MAX_NATIVE_TIMER_MS = 2147483647;
|
|
431
432
|
function idleTimerDelay(timeoutMs, lastActivity) {
|
|
432
433
|
const remaining = timeoutMs - (Date.now() - lastActivity);
|
|
433
434
|
return Math.min(MAX_NATIVE_TIMER_MS, Math.max(1, remaining > 0 ? remaining : timeoutMs));
|
|
434
435
|
}
|
|
435
436
|
|
|
436
|
-
// node_modules/.pnpm/mcporter@0.13.
|
|
437
|
+
// node_modules/.pnpm/mcporter@0.13.13/node_modules/mcporter/dist/daemon/broker.js
|
|
437
438
|
import { AsyncLocalStorage } from "node:async_hooks";
|
|
438
439
|
import { randomUUID } from "node:crypto";
|
|
439
440
|
|
|
440
|
-
// node_modules/.pnpm/mcporter@0.13.
|
|
441
|
+
// node_modules/.pnpm/mcporter@0.13.13/node_modules/mcporter/dist/daemon/view-codec.js
|
|
441
442
|
var command = external_exports.discriminatedUnion("kind", [
|
|
442
443
|
external_exports.object({
|
|
443
444
|
kind: external_exports.literal("stdio"),
|
|
@@ -477,7 +478,7 @@ function decodeView(value) {
|
|
|
477
478
|
return { definitions, clientInfo: parsed.clientInfo };
|
|
478
479
|
}
|
|
479
480
|
|
|
480
|
-
// node_modules/.pnpm/mcporter@0.13.
|
|
481
|
+
// node_modules/.pnpm/mcporter@0.13.13/node_modules/mcporter/dist/daemon/broker.js
|
|
481
482
|
var notices = new AsyncLocalStorage();
|
|
482
483
|
var BrokerError = class extends Error {
|
|
483
484
|
code;
|
|
@@ -560,9 +561,9 @@ var DaemonBroker = class {
|
|
|
560
561
|
throw new BrokerError("tool_not_allowed", "Tool is not accessible in this config view (blocked by configuration).");
|
|
561
562
|
if (params.timeoutMs !== void 0 && (!Number.isFinite(params.timeoutMs) || params.timeoutMs <= 0))
|
|
562
563
|
throw new BrokerError("invalid_params", "Invalid timeout.");
|
|
563
|
-
const chrome =
|
|
564
|
+
const chrome = isExistingChromeDefinition(viewDefinition);
|
|
564
565
|
if (chrome && JSON.stringify(view.clientInfo) !== JSON.stringify({ name: "mcporter", version: MCPORTER_VERSION }))
|
|
565
|
-
throw new
|
|
566
|
+
throw new BrowserOwnerConflict("existing Chrome requires the canonical MCP client identity");
|
|
566
567
|
const definition2 = this.owner.reserve(viewDefinition);
|
|
567
568
|
const identity = connectionIdentity(definition2);
|
|
568
569
|
view.active++;
|
|
@@ -625,6 +626,18 @@ var DaemonBroker = class {
|
|
|
625
626
|
context2.client.onclose = () => {
|
|
626
627
|
if (target.generation === generation && target.state !== "retirement-failed") {
|
|
627
628
|
target.state = "disconnected";
|
|
629
|
+
if (target.chrome && !this.draining) {
|
|
630
|
+
target.serial = target.serial.then(async () => {
|
|
631
|
+
if (this.draining || target.generation !== generation || target.state !== "disconnected")
|
|
632
|
+
return;
|
|
633
|
+
try {
|
|
634
|
+
await this.retire(target);
|
|
635
|
+
target.state = "idle";
|
|
636
|
+
} catch {
|
|
637
|
+
target.state = "retirement-failed";
|
|
638
|
+
}
|
|
639
|
+
});
|
|
640
|
+
}
|
|
628
641
|
}
|
|
629
642
|
previous?.();
|
|
630
643
|
};
|
|
@@ -725,7 +738,7 @@ var DaemonBroker = class {
|
|
|
725
738
|
lastUsedAt: entry.lastUsed,
|
|
726
739
|
idleTimeoutMs: entry.definition.lifecycle?.mode === "keep-alive" ? entry.definition.lifecycle.idleTimeoutMs : void 0,
|
|
727
740
|
idleBlocked: entry.chrome ? "browser-owner" : entry.uncertain ? "unknown-outcome" : void 0,
|
|
728
|
-
chromeDevtoolsRelay: getChromeDevtoolsRelayDecision(entry.definition.name)
|
|
741
|
+
chromeDevtoolsRelay: (entry.chrome ? this.owner.discoveryDecision : void 0) ?? getChromeDevtoolsRelayDecision(entry.definition.name)
|
|
729
742
|
})),
|
|
730
743
|
browserOwner: owner ? { connectionId: owner.id, state: owner.state } : void 0
|
|
731
744
|
};
|
|
@@ -789,7 +802,7 @@ var DaemonBroker = class {
|
|
|
789
802
|
}
|
|
790
803
|
};
|
|
791
804
|
|
|
792
|
-
// node_modules/.pnpm/mcporter@0.13.
|
|
805
|
+
// node_modules/.pnpm/mcporter@0.13.13/node_modules/mcporter/dist/daemon/migration.js
|
|
793
806
|
async function probeDaemon(socketPath, method = "status") {
|
|
794
807
|
return new Promise((resolve) => {
|
|
795
808
|
const socket = net2.createConnection(socketPath);
|
|
@@ -895,7 +908,7 @@ async function stopVerifiedLegacyDaemons() {
|
|
|
895
908
|
}
|
|
896
909
|
}
|
|
897
910
|
|
|
898
|
-
// node_modules/.pnpm/mcporter@0.13.
|
|
911
|
+
// node_modules/.pnpm/mcporter@0.13.13/node_modules/mcporter/dist/daemon/startup-readiness.js
|
|
899
912
|
var DAEMON_STARTUP_TIMEOUT_MS = 45e3;
|
|
900
913
|
var DAEMON_STARTUP_SLOW_NOTICE_MS = 5e3;
|
|
901
914
|
var DAEMON_STARTUP_POLL_INTERVAL_MS = 100;
|
|
@@ -942,7 +955,7 @@ function delay(ms) {
|
|
|
942
955
|
});
|
|
943
956
|
}
|
|
944
957
|
|
|
945
|
-
// node_modules/.pnpm/mcporter@0.13.
|
|
958
|
+
// node_modules/.pnpm/mcporter@0.13.13/node_modules/mcporter/dist/daemon/client.js
|
|
946
959
|
var DEFAULT_DAEMON_TIMEOUT_MS = 3e4;
|
|
947
960
|
function resolveDaemonPaths(configPath) {
|
|
948
961
|
const key = "user";
|
|
@@ -1080,7 +1093,7 @@ var DaemonClient = class {
|
|
|
1080
1093
|
if (previous && !isProcessRunning(previous.pid))
|
|
1081
1094
|
throw new Error("Previous daemon exited unexpectedly; verify retirement of its transports before deliberate recovery. No replacement was launched.");
|
|
1082
1095
|
this.startingPromise ??= (async () => {
|
|
1083
|
-
const { launchDaemonDetached } = await import("./launch-
|
|
1096
|
+
const { launchDaemonDetached } = await import("./launch-NBONSPNK.js");
|
|
1084
1097
|
await launchDaemonDetached({
|
|
1085
1098
|
configPath: this.options.configPath,
|
|
1086
1099
|
metadataPath: this.metadataPath,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { createRequire as __createRequire } from "node:module"; const require = __createRequire(import.meta.url);
|
|
2
2
|
|
|
3
|
-
// node_modules/.pnpm/mcporter@0.13.
|
|
3
|
+
// node_modules/.pnpm/mcporter@0.13.13/node_modules/mcporter/dist/sdk-stdio-logging.js
|
|
4
4
|
var STDIO_LOGS_FORCED = process.env.MCPORTER_STDIO_LOGS === "1";
|
|
5
5
|
var STDIO_TRACE_ENABLED = process.env.MCPORTER_STDIO_TRACE === "1";
|
|
6
6
|
var stdioLogMode = STDIO_LOGS_FORCED ? "always" : "auto";
|