@introspection-ai/recipes 0.25.1 → 0.27.1
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-4WFRNU2I.js → auth-command-GQFV6QYP.js} +24 -27
- package/dist/mcp-chunks/call-arguments-VT7JLNJY.js +16 -0
- package/dist/mcp-chunks/{call-command-JBIKXOGC.js → call-command-LMAREWKD.js} +45 -45
- package/dist/mcp-chunks/{chunk-3JGS7LQB.js → chunk-2HOMVWSA.js} +2 -2
- package/dist/mcp-chunks/{chunk-G6OMDUNG.js → chunk-2P2HVZ3G.js} +1 -1
- package/dist/mcp-chunks/{chunk-ED2WN5BI.js → chunk-34QXE62Y.js} +175 -147
- package/dist/mcp-chunks/{chunk-Y3EDWN2P.js → chunk-5B7GRMUK.js} +1 -1
- package/dist/mcp-chunks/chunk-5BMCVE2J.js +516 -0
- package/dist/mcp-chunks/{chunk-V5AYEKSL.js → chunk-6QZQZXDJ.js} +52 -81
- package/dist/mcp-chunks/{chunk-3R2WK3NB.js → chunk-6RG6AD5X.js} +6 -6
- package/dist/mcp-chunks/{chunk-SNKXMWDB.js → chunk-77BZYP72.js} +1 -1
- package/dist/mcp-chunks/chunk-7PFJCLXL.js +123 -0
- package/dist/mcp-chunks/chunk-7WL4TMON.js +31 -0
- package/dist/mcp-chunks/{chunk-ELA77TDC.js → chunk-C2VLY7ED.js} +4 -4
- package/dist/mcp-chunks/{chunk-FAJPJTOC.js → chunk-CLR6DJV3.js} +1 -1
- package/dist/mcp-chunks/{chunk-ZOAQDFAO.js → chunk-D6B2M5V7.js} +1 -1
- package/dist/mcp-chunks/{chunk-WTMJMM3B.js → chunk-D6SVCPN6.js} +3 -30
- package/dist/mcp-chunks/chunk-FBVRU4Y3.js +1195 -0
- package/dist/mcp-chunks/{chunk-EMSNQHZZ.js → chunk-FONFU4G5.js} +1 -1
- package/dist/mcp-chunks/{chunk-BWW4XRUC.js → chunk-H4KL74PV.js} +303 -161
- package/dist/mcp-chunks/{chunk-ITR7FQM3.js → chunk-H7ARMBV7.js} +4 -9
- package/dist/mcp-chunks/{chunk-EPT4MYOF.js → chunk-HZ2SX5U6.js} +39 -34
- package/dist/mcp-chunks/{chunk-36VIJRYY.js → chunk-I6UMKX5E.js} +4 -4
- package/dist/mcp-chunks/{chunk-ASG4OY3M.js → chunk-IF6LRV3J.js} +21 -28
- package/dist/mcp-chunks/{chunk-KW3ANJ36.js → chunk-JVYCENPP.js} +4 -4
- package/dist/mcp-chunks/{chunk-AIKLVBYU.js → chunk-KOWNVUL2.js} +34 -7
- package/dist/mcp-chunks/{chunk-B2LNXGAP.js → chunk-KQCLM7R7.js} +4 -4
- package/dist/mcp-chunks/{chunk-OP3IW2V6.js → chunk-L6OOGZVA.js} +2 -2
- package/dist/mcp-chunks/{chunk-MOEZ43ZL.js → chunk-LCBDVFVA.js} +1 -1
- package/dist/mcp-chunks/{chunk-ITCCROID.js → chunk-LIEFPSSB.js} +5 -5
- package/dist/mcp-chunks/{chunk-GUXMP7QB.js → chunk-LQIE4PKL.js} +2 -2
- package/dist/mcp-chunks/{chunk-WYLHHXI6.js → chunk-LXHPDKEF.js} +26 -11
- package/dist/mcp-chunks/{chunk-6YZW3XAE.js → chunk-MJFZM5EV.js} +5 -5
- package/dist/mcp-chunks/{chunk-TPHPAEDH.js → chunk-NQW3ES2G.js} +2 -8
- package/dist/mcp-chunks/{chunk-IPNSPKQK.js → chunk-O2VOMKAS.js} +15 -17
- package/dist/mcp-chunks/{chunk-QZUC2T72.js → chunk-O4JIUOWF.js} +2 -2
- package/dist/mcp-chunks/{chunk-C2KNLFZR.js → chunk-P3UVILEW.js} +2 -2
- package/dist/mcp-chunks/{chunk-7WOKCV6Q.js → chunk-P463YBJM.js} +1 -1
- package/dist/mcp-chunks/{chunk-GQ6NSIDS.js → chunk-PJCMJ65D.js} +1175 -718
- package/dist/mcp-chunks/{chunk-CZKDJZER.js → chunk-QALB3DRW.js} +1 -1
- package/dist/mcp-chunks/{chunk-JG4TRUPF.js → chunk-QJNF3A3F.js} +1 -1
- package/dist/mcp-chunks/{chunk-HLRCUHNO.js → chunk-RIHPVCGI.js} +1 -1
- package/dist/mcp-chunks/{chunk-RD7NHCRK.js → chunk-RZIJUJGL.js} +60 -1074
- package/dist/mcp-chunks/{chunk-4ZNBWL65.js → chunk-S2YF442K.js} +2 -2
- package/dist/mcp-chunks/chunk-S5F3HEZZ.js +37060 -0
- package/dist/mcp-chunks/{chunk-TF2YTYE4.js → chunk-S6GJ42I2.js} +1 -1
- package/dist/mcp-chunks/chunk-T4MQCFIK.js +982 -0
- package/dist/mcp-chunks/{chunk-SCOMDV54.js → chunk-TUQGOYK6.js} +1 -1
- package/dist/mcp-chunks/{chunk-YIRGLKDA.js → chunk-TYYSBILI.js} +46 -27
- package/dist/mcp-chunks/{chunk-FS5JIKT6.js → chunk-UHO6KIUJ.js} +6 -6
- package/dist/mcp-chunks/{chunk-RSTKSBVF.js → chunk-UIPG6W7N.js} +2 -2
- package/dist/mcp-chunks/{chunk-IME7DGLJ.js → chunk-UKM35J67.js} +2 -2
- package/dist/mcp-chunks/{chunk-FX5NYWBH.js → chunk-UYJZJXC2.js} +3 -3
- package/dist/mcp-chunks/{chunk-HCOKLSOB.js → chunk-VJIAHZZG.js} +4 -4
- package/dist/mcp-chunks/{chunk-IYWYVHHD.js → chunk-WHJUDBPR.js} +1 -1
- package/dist/mcp-chunks/{chunk-53NRFMB3.js → chunk-XNHGMWN2.js} +46 -25
- package/dist/mcp-chunks/{cli-XU26MUCN.js → cli-JI7MEAAX.js} +111 -79
- package/dist/mcp-chunks/client-QU7ABSNB.js +30 -0
- package/dist/mcp-chunks/{config-command-UQMMIK2U.js → config-command-GRZLKD3R.js} +36 -29
- package/dist/mcp-chunks/daemon-command-3266CYHO.js +30 -0
- package/dist/mcp-chunks/{dist-DM2RXZMU.js → dist-USMCQ22V.js} +105 -47
- package/dist/mcp-chunks/{emit-ts-command-KAOL6DAN.js → emit-ts-command-7VLESP7H.js} +20 -19
- package/dist/mcp-chunks/{generate-cli-runner-AK6XNRTK.js → generate-cli-runner-SSW2B72K.js} +54 -51
- package/dist/mcp-chunks/generated-daemon-runtime-7CFVWLC7.js +30 -0
- package/dist/mcp-chunks/{inspect-cli-command-6FVJO7H2.js → inspect-cli-command-NCGCMOIS.js} +9 -10
- package/dist/mcp-chunks/{launch-EIT73HX4.js → launch-NBONSPNK.js} +1 -1
- package/dist/mcp-chunks/{lifecycle-QH4TUI3K.js → lifecycle-CXAKUCN4.js} +1 -1
- package/dist/mcp-chunks/{list-command-UOB2XZK7.js → list-command-5T4UF4PF.js} +61 -75
- package/dist/mcp-chunks/{output-utils-6YXH23T7.js → output-utils-YFTWQZ5V.js} +3 -3
- package/dist/mcp-chunks/{prompt-CH6TK0bC-ZB6RFAXR.js → prompt-CH6TK0bC-6DI4RA4E.js} +1 -1
- package/dist/mcp-chunks/{record-command-FO5TTERC.js → record-command-TE5O7WBL.js} +5 -5
- package/dist/mcp-chunks/{replay-command-SCBPCGQ7.js → replay-command-QCUL5ASR.js} +6 -6
- package/dist/mcp-chunks/{resource-command-S2J7XEMV.js → resource-command-XMGF7EAK.js} +9 -10
- package/dist/mcp-chunks/{result-utils-OME6HGS6.js → result-utils-HKB42M7Y.js} +3 -4
- package/dist/mcp-chunks/runtime-3X2XVS6X.js +37 -0
- package/dist/mcp-chunks/runtime-wrapper-MI3HF45J.js +10 -0
- package/dist/mcp-chunks/{serve-command-DDBZZSG6.js → serve-command-5HV3ZE25.js} +30 -34
- package/dist/mcp-chunks/{timeouts-HNGNKDQN.js → timeouts-YBFBTLV2.js} +8 -5
- package/dist/mcp-chunks/{vault-command-TJZYS3YI.js → vault-command-FC2PD5U6.js} +4 -6
- package/dist/mcp-chunks/webapi-IFUPO72B.js +2481 -0
- package/dist/mcp-daemon.js +35 -33
- package/dist/mcp-run-worker.js +28 -32
- package/dist/pi-extension.d.ts +1 -1
- package/dist/pi-extension.js +8 -8
- 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.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/channels.md +1 -1
- package/docs/pi-extension.md +1 -1
- package/docs/recipe-format.md +8 -4
- package/docs/recipe-templates.md +46 -0
- package/docs/slack.md +1 -1
- package/package.json +14 -14
- 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-4DWPBLQP.js +0 -15
- package/dist/mcp-chunks/chunk-3Z7MFS6K.js +0 -86
- package/dist/mcp-chunks/chunk-AD3FQ73K.js +0 -39
- package/dist/mcp-chunks/chunk-DTZHEVKC.js +0 -12
- package/dist/mcp-chunks/chunk-H3JCYHGS.js +0 -1018
- package/dist/mcp-chunks/chunk-HN7WPMCA.js +0 -18904
- package/dist/mcp-chunks/chunk-I5GI2A2D.js +0 -92
- package/dist/mcp-chunks/chunk-IRTJXFWA.js +0 -28
- package/dist/mcp-chunks/chunk-NTHUNCXJ.js +0 -526
- package/dist/mcp-chunks/chunk-OD3MSMXY.js +0 -15
- package/dist/mcp-chunks/chunk-PZ323CXI.js +0 -17394
- package/dist/mcp-chunks/client-OT34CKRH.js +0 -21
- package/dist/mcp-chunks/daemon-command-YCIOZGPZ.js +0 -35
- package/dist/mcp-chunks/runtime-QIPMLIJI.js +0 -39
- package/dist/mcp-chunks/runtime-wrapper-X4YFKMJI.js +0 -16
- 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
|
@@ -5,72 +5,69 @@ import {
|
|
|
5
5
|
readPackageMetadata,
|
|
6
6
|
safeCopyFile,
|
|
7
7
|
writeTemplate
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-O2VOMKAS.js";
|
|
9
9
|
import {
|
|
10
10
|
buildGenerateCliCommand,
|
|
11
11
|
readCliMetadata,
|
|
12
12
|
resolveGenerateRequestFromArtifact,
|
|
13
13
|
serializeDefinition,
|
|
14
14
|
validateToolSelection
|
|
15
|
-
} from "./chunk-
|
|
16
|
-
import "./chunk-
|
|
15
|
+
} from "./chunk-C2VLY7ED.js";
|
|
16
|
+
import "./chunk-WHJUDBPR.js";
|
|
17
17
|
import {
|
|
18
18
|
expectValue
|
|
19
|
-
} from "./chunk-
|
|
20
|
-
import "./chunk-
|
|
19
|
+
} from "./chunk-S6GJ42I2.js";
|
|
20
|
+
import "./chunk-MJFZM5EV.js";
|
|
21
21
|
import {
|
|
22
22
|
buildToolMetadataList,
|
|
23
23
|
toolsTestHelpers
|
|
24
|
-
} from "./chunk-
|
|
25
|
-
import "./chunk-
|
|
26
|
-
import "./chunk-
|
|
24
|
+
} from "./chunk-NQW3ES2G.js";
|
|
25
|
+
import "./chunk-TUQGOYK6.js";
|
|
26
|
+
import "./chunk-KOWNVUL2.js";
|
|
27
27
|
import {
|
|
28
28
|
splitCommandLine,
|
|
29
29
|
toAsciiSlug
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-6RG6AD5X.js";
|
|
31
31
|
import {
|
|
32
32
|
extractHttpServerTarget,
|
|
33
33
|
looksLikeHttpUrl,
|
|
34
34
|
normalizeHttpUrl,
|
|
35
35
|
normalizeHttpUrlCandidate,
|
|
36
36
|
splitHttpToolSelector
|
|
37
|
-
} from "./chunk-
|
|
38
|
-
import {
|
|
39
|
-
stableJsonStringify
|
|
40
|
-
} from "./chunk-B2LNXGAP.js";
|
|
37
|
+
} from "./chunk-2P2HVZ3G.js";
|
|
41
38
|
import {
|
|
42
39
|
createRuntime
|
|
43
|
-
} from "./chunk-
|
|
44
|
-
import
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
import "./chunk-
|
|
48
|
-
import "./chunk-
|
|
49
|
-
import "./chunk-
|
|
50
|
-
import "./chunk-
|
|
40
|
+
} from "./chunk-PJCMJ65D.js";
|
|
41
|
+
import {
|
|
42
|
+
stableJsonStringify
|
|
43
|
+
} from "./chunk-KQCLM7R7.js";
|
|
44
|
+
import "./chunk-D6B2M5V7.js";
|
|
45
|
+
import "./chunk-L6OOGZVA.js";
|
|
46
|
+
import "./chunk-TYYSBILI.js";
|
|
47
|
+
import "./chunk-IF6LRV3J.js";
|
|
48
|
+
import "./chunk-XNHGMWN2.js";
|
|
49
|
+
import "./chunk-P463YBJM.js";
|
|
50
|
+
import "./chunk-FONFU4G5.js";
|
|
51
51
|
import {
|
|
52
52
|
MCPORTER_VERSION
|
|
53
|
-
} from "./chunk-
|
|
54
|
-
import "./chunk-
|
|
55
|
-
import "./chunk-QZUC2T72.js";
|
|
56
|
-
import "./chunk-PZ323CXI.js";
|
|
57
|
-
import "./chunk-BWW4XRUC.js";
|
|
58
|
-
import "./chunk-DTZHEVKC.js";
|
|
59
|
-
import "./chunk-I5GI2A2D.js";
|
|
53
|
+
} from "./chunk-7PFJCLXL.js";
|
|
54
|
+
import "./chunk-H4KL74PV.js";
|
|
60
55
|
import {
|
|
61
56
|
loadServerDefinitions
|
|
62
|
-
} from "./chunk-
|
|
63
|
-
import "./chunk-
|
|
64
|
-
import "./chunk-
|
|
65
|
-
import "./chunk-
|
|
66
|
-
import "./chunk-
|
|
57
|
+
} from "./chunk-RZIJUJGL.js";
|
|
58
|
+
import "./chunk-H7ARMBV7.js";
|
|
59
|
+
import "./chunk-UYJZJXC2.js";
|
|
60
|
+
import "./chunk-UHO6KIUJ.js";
|
|
61
|
+
import "./chunk-T4MQCFIK.js";
|
|
62
|
+
import "./chunk-D6SVCPN6.js";
|
|
67
63
|
import {
|
|
68
64
|
resolveLifecycle
|
|
69
|
-
} from "./chunk-
|
|
70
|
-
import "./chunk-
|
|
65
|
+
} from "./chunk-QJNF3A3F.js";
|
|
66
|
+
import "./chunk-O4JIUOWF.js";
|
|
67
|
+
import "./chunk-S5F3HEZZ.js";
|
|
71
68
|
import "./chunk-LRKZP7DJ.js";
|
|
72
69
|
|
|
73
|
-
// node_modules/.pnpm/mcporter@0.13.
|
|
70
|
+
// node_modules/.pnpm/mcporter@0.13.13/node_modules/mcporter/dist/cli/generate/name-utils.js
|
|
74
71
|
function inferNameFromCommand(command) {
|
|
75
72
|
if (typeof command === "string") {
|
|
76
73
|
const normalizedHttp = normalizeHttpUrlCandidate(command);
|
|
@@ -229,7 +226,7 @@ function deriveNameFromUrl(url) {
|
|
|
229
226
|
return void 0;
|
|
230
227
|
}
|
|
231
228
|
|
|
232
|
-
// node_modules/.pnpm/mcporter@0.13.
|
|
229
|
+
// node_modules/.pnpm/mcporter@0.13.13/node_modules/mcporter/dist/cli/generate/flags.js
|
|
233
230
|
function parseGenerateFlags(args) {
|
|
234
231
|
const common = extractGeneratorFlags(args);
|
|
235
232
|
let server;
|
|
@@ -412,12 +409,12 @@ function normalizeCommandInput2(value) {
|
|
|
412
409
|
return command;
|
|
413
410
|
}
|
|
414
411
|
|
|
415
|
-
// node_modules/.pnpm/mcporter@0.13.
|
|
412
|
+
// node_modules/.pnpm/mcporter@0.13.13/node_modules/mcporter/dist/generate-cli.js
|
|
416
413
|
import fs3 from "node:fs/promises";
|
|
417
414
|
import { createHash } from "node:crypto";
|
|
418
415
|
import path3 from "node:path";
|
|
419
416
|
|
|
420
|
-
// node_modules/.pnpm/mcporter@0.13.
|
|
417
|
+
// node_modules/.pnpm/mcporter@0.13.13/node_modules/mcporter/dist/cli/generate/artifacts.js
|
|
421
418
|
import { execFile as execFile2 } from "node:child_process";
|
|
422
419
|
import fsSync from "node:fs";
|
|
423
420
|
import fs from "node:fs/promises";
|
|
@@ -425,7 +422,7 @@ import { builtinModules, createRequire } from "node:module";
|
|
|
425
422
|
import path from "node:path";
|
|
426
423
|
import { fileURLToPath } from "node:url";
|
|
427
424
|
|
|
428
|
-
// node_modules/.pnpm/mcporter@0.13.
|
|
425
|
+
// node_modules/.pnpm/mcporter@0.13.13/node_modules/mcporter/dist/cli/generate/runtime.js
|
|
429
426
|
import { execFile } from "node:child_process";
|
|
430
427
|
async function resolveRuntimeKind(runtimeOption, compileOption) {
|
|
431
428
|
if (runtimeOption) {
|
|
@@ -459,7 +456,7 @@ async function isBunAvailable() {
|
|
|
459
456
|
}
|
|
460
457
|
}
|
|
461
458
|
|
|
462
|
-
// node_modules/.pnpm/mcporter@0.13.
|
|
459
|
+
// node_modules/.pnpm/mcporter@0.13.13/node_modules/mcporter/dist/cli/generate/artifacts.js
|
|
463
460
|
var localRequire = createRequire(import.meta.url);
|
|
464
461
|
var packageRoot = fileURLToPath(new URL("../../..", import.meta.url));
|
|
465
462
|
var BUNDLED_DEPENDENCIES = ["commander", "mcporter", "jsonc-parser"];
|
|
@@ -474,7 +471,7 @@ async function bundleOutput({ sourcePath, targetPath, runtimeKind, minify, bundl
|
|
|
474
471
|
async function bundleWithRolldown({ sourcePath, targetPath, runtimeKind, minify }) {
|
|
475
472
|
let rolldownImpl;
|
|
476
473
|
try {
|
|
477
|
-
({ rolldown: rolldownImpl } = await import("./dist-
|
|
474
|
+
({ rolldown: rolldownImpl } = await import("./dist-USMCQ22V.js"));
|
|
478
475
|
} catch (error) {
|
|
479
476
|
const message = "Rolldown bundling is unavailable in this build of mcporter; rerun with --bundler bun or install mcporter via npm (Node.js) to use the Rolldown bundler.";
|
|
480
477
|
if (error instanceof Error) {
|
|
@@ -759,7 +756,7 @@ function resolveUniquePath(directory, baseName) {
|
|
|
759
756
|
return attempt;
|
|
760
757
|
}
|
|
761
758
|
|
|
762
|
-
// node_modules/.pnpm/mcporter@0.13.
|
|
759
|
+
// node_modules/.pnpm/mcporter@0.13.13/node_modules/mcporter/dist/cli/generate/definition.js
|
|
763
760
|
import fs2 from "node:fs/promises";
|
|
764
761
|
import path2 from "node:path";
|
|
765
762
|
function ensureInvocationDefaults(invocation, definition) {
|
|
@@ -835,22 +832,28 @@ async function resolveServerDefinition(serverRef, configPath, rootDir) {
|
|
|
835
832
|
throw new Error(`Unknown MCP server '${trimmed}'. Provide a name from config, a JSON file, inline JSON, or an HTTP URL that matches a configured server.`);
|
|
836
833
|
}
|
|
837
834
|
async function fetchTools(definition, serverName, configPath, rootDir) {
|
|
838
|
-
const
|
|
835
|
+
const base = await createRuntime({
|
|
839
836
|
configPath,
|
|
840
837
|
rootDir,
|
|
841
|
-
servers:
|
|
838
|
+
servers: [definition]
|
|
842
839
|
});
|
|
840
|
+
const { createGeneratedKeepAliveRuntime } = await import("./generated-daemon-runtime-7CFVWLC7.js");
|
|
841
|
+
const context = await createGeneratedKeepAliveRuntime(base, definition);
|
|
842
|
+
const runtime = context.runtime;
|
|
843
843
|
try {
|
|
844
844
|
const tools = await runtime.listTools(serverName, { includeSchema: true });
|
|
845
845
|
const derivedDescription = definition.description ? void 0 : await deriveDefinitionDescription(runtime, serverName);
|
|
846
846
|
return { tools, derivedDescription };
|
|
847
847
|
} finally {
|
|
848
|
-
await
|
|
849
|
-
});
|
|
848
|
+
await context.close(serverName);
|
|
850
849
|
}
|
|
851
850
|
}
|
|
852
851
|
async function deriveDefinitionDescription(runtime, serverName) {
|
|
853
852
|
try {
|
|
853
|
+
if (runtime.getServerMetadata) {
|
|
854
|
+
const { instructions: instructions2, serverInfo: serverInfo2 } = await runtime.getServerMetadata(serverName);
|
|
855
|
+
return pickDescription(instructions2, serverInfo2);
|
|
856
|
+
}
|
|
854
857
|
const context = await runtime.connect(serverName);
|
|
855
858
|
const instructions = typeof context.client.getInstructions === "function" ? context.client.getInstructions() : void 0;
|
|
856
859
|
const serverInfo = typeof context.client.getServerVersion === "function" ? context.client.getServerVersion() : void 0;
|
|
@@ -1107,7 +1110,7 @@ function toStringRecord(value) {
|
|
|
1107
1110
|
return Object.keys(result).length > 0 ? result : void 0;
|
|
1108
1111
|
}
|
|
1109
1112
|
|
|
1110
|
-
// node_modules/.pnpm/mcporter@0.13.
|
|
1113
|
+
// node_modules/.pnpm/mcporter@0.13.13/node_modules/mcporter/dist/generate-cli.js
|
|
1111
1114
|
var REPRODUCIBLE_GENERATED_AT = "1970-01-01T00:00:00.000Z";
|
|
1112
1115
|
async function generateCli(options) {
|
|
1113
1116
|
const runtimeKind = await resolveRuntimeKind(options.runtime, options.compile);
|
|
@@ -1305,7 +1308,7 @@ function applyToolFilters(tools, includeTools, excludeTools) {
|
|
|
1305
1308
|
}
|
|
1306
1309
|
var __test = { ...toolsTestHelpers, applyToolFilters };
|
|
1307
1310
|
|
|
1308
|
-
// node_modules/.pnpm/mcporter@0.13.
|
|
1311
|
+
// node_modules/.pnpm/mcporter@0.13.13/node_modules/mcporter/dist/cli/generate/output.js
|
|
1309
1312
|
async function performGenerateFromArtifact(metadata, request) {
|
|
1310
1313
|
const { outputPath, bundlePath, compilePath } = await generateCli(request);
|
|
1311
1314
|
if (metadata.artifact.kind === "binary" && compilePath) {
|
|
@@ -1329,7 +1332,7 @@ async function performGenerateFromRequest(request) {
|
|
|
1329
1332
|
}
|
|
1330
1333
|
}
|
|
1331
1334
|
|
|
1332
|
-
// node_modules/.pnpm/mcporter@0.13.
|
|
1335
|
+
// node_modules/.pnpm/mcporter@0.13.13/node_modules/mcporter/dist/cli/generate/server-utils.js
|
|
1333
1336
|
function buildInlineServerDefinition(name, command, description) {
|
|
1334
1337
|
if (typeof command === "string") {
|
|
1335
1338
|
const url = normalizeHttpUrlCandidate(command) ?? command;
|
|
@@ -1362,7 +1365,7 @@ function buildInlineServerDefinition(name, command, description) {
|
|
|
1362
1365
|
};
|
|
1363
1366
|
}
|
|
1364
1367
|
|
|
1365
|
-
// node_modules/.pnpm/mcporter@0.13.
|
|
1368
|
+
// node_modules/.pnpm/mcporter@0.13.13/node_modules/mcporter/dist/cli/generate-cli-runner.js
|
|
1366
1369
|
async function handleGenerateCli(args, globalFlags) {
|
|
1367
1370
|
const parsed = parseGenerateFlags(args);
|
|
1368
1371
|
validateToolSelection(parsed.includeTools, parsed.excludeTools, {
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { createRequire as __createRequire } from "node:module"; const require = __createRequire(import.meta.url);
|
|
2
|
+
import {
|
|
3
|
+
createGeneratedKeepAliveRuntime
|
|
4
|
+
} from "./chunk-7WL4TMON.js";
|
|
5
|
+
import "./chunk-6QZQZXDJ.js";
|
|
6
|
+
import "./chunk-FBVRU4Y3.js";
|
|
7
|
+
import "./chunk-PJCMJ65D.js";
|
|
8
|
+
import "./chunk-KQCLM7R7.js";
|
|
9
|
+
import "./chunk-D6B2M5V7.js";
|
|
10
|
+
import "./chunk-L6OOGZVA.js";
|
|
11
|
+
import "./chunk-TYYSBILI.js";
|
|
12
|
+
import "./chunk-IF6LRV3J.js";
|
|
13
|
+
import "./chunk-XNHGMWN2.js";
|
|
14
|
+
import "./chunk-P463YBJM.js";
|
|
15
|
+
import "./chunk-FONFU4G5.js";
|
|
16
|
+
import "./chunk-7PFJCLXL.js";
|
|
17
|
+
import "./chunk-H4KL74PV.js";
|
|
18
|
+
import "./chunk-RZIJUJGL.js";
|
|
19
|
+
import "./chunk-H7ARMBV7.js";
|
|
20
|
+
import "./chunk-UYJZJXC2.js";
|
|
21
|
+
import "./chunk-UHO6KIUJ.js";
|
|
22
|
+
import "./chunk-T4MQCFIK.js";
|
|
23
|
+
import "./chunk-D6SVCPN6.js";
|
|
24
|
+
import "./chunk-QJNF3A3F.js";
|
|
25
|
+
import "./chunk-O4JIUOWF.js";
|
|
26
|
+
import "./chunk-S5F3HEZZ.js";
|
|
27
|
+
import "./chunk-LRKZP7DJ.js";
|
|
28
|
+
export {
|
|
29
|
+
createGeneratedKeepAliveRuntime
|
|
30
|
+
};
|
|
@@ -3,25 +3,24 @@ import {
|
|
|
3
3
|
buildGenerateCliCommand,
|
|
4
4
|
readCliMetadata,
|
|
5
5
|
shellQuote
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import "./chunk-
|
|
6
|
+
} from "./chunk-C2VLY7ED.js";
|
|
7
|
+
import "./chunk-WHJUDBPR.js";
|
|
8
8
|
import {
|
|
9
9
|
expectValue
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-S6GJ42I2.js";
|
|
11
11
|
import {
|
|
12
12
|
formatPathForDisplay,
|
|
13
13
|
formatSourceSuffix
|
|
14
|
-
} from "./chunk-
|
|
15
|
-
import "./chunk-
|
|
14
|
+
} from "./chunk-VJIAHZZG.js";
|
|
15
|
+
import "./chunk-TUQGOYK6.js";
|
|
16
16
|
import {
|
|
17
17
|
consumeOutputFormat
|
|
18
|
-
} from "./chunk-
|
|
19
|
-
import "./chunk-
|
|
20
|
-
import "./chunk-
|
|
21
|
-
import "./chunk-HN7WPMCA.js";
|
|
18
|
+
} from "./chunk-5B7GRMUK.js";
|
|
19
|
+
import "./chunk-O4JIUOWF.js";
|
|
20
|
+
import "./chunk-S5F3HEZZ.js";
|
|
22
21
|
import "./chunk-LRKZP7DJ.js";
|
|
23
22
|
|
|
24
|
-
// node_modules/.pnpm/mcporter@0.13.
|
|
23
|
+
// node_modules/.pnpm/mcporter@0.13.13/node_modules/mcporter/dist/cli/inspect-cli-command.js
|
|
25
24
|
async function handleInspectCli(args) {
|
|
26
25
|
const parsed = parseInspectFlags(args);
|
|
27
26
|
const metadata = await readCliMetadata(parsed.artifactPath);
|
|
@@ -2,7 +2,7 @@ import { createRequire as __createRequire } from "node:module"; const require =
|
|
|
2
2
|
import {
|
|
3
3
|
buildDaemonLaunchInvocation,
|
|
4
4
|
launchDaemonDetached
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-LXHPDKEF.js";
|
|
6
6
|
import "./chunk-LRKZP7DJ.js";
|
|
7
7
|
export {
|
|
8
8
|
buildDaemonLaunchInvocation,
|
|
@@ -1,67 +1,67 @@
|
|
|
1
1
|
import { createRequire as __createRequire } from "node:module"; const require = __createRequire(import.meta.url);
|
|
2
2
|
import {
|
|
3
3
|
extractListFlags
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-I6UMKX5E.js";
|
|
5
|
+
import {
|
|
6
|
+
loadToolMetadata
|
|
7
|
+
} from "./chunk-UIPG6W7N.js";
|
|
8
|
+
import {
|
|
9
|
+
chooseClosestIdentifier,
|
|
10
|
+
renderIdentifierResolutionMessages
|
|
11
|
+
} from "./chunk-RIHPVCGI.js";
|
|
5
12
|
import {
|
|
6
13
|
buildToolDoc,
|
|
7
14
|
formatExampleBlock
|
|
8
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-MJFZM5EV.js";
|
|
16
|
+
import "./chunk-NQW3ES2G.js";
|
|
9
17
|
import {
|
|
10
18
|
classifyListError,
|
|
11
19
|
formatSourceSuffix,
|
|
12
20
|
renderServerListRow
|
|
13
|
-
} from "./chunk-
|
|
14
|
-
import {
|
|
15
|
-
loadToolMetadata
|
|
16
|
-
} from "./chunk-RSTKSBVF.js";
|
|
17
|
-
import {
|
|
18
|
-
chooseClosestIdentifier,
|
|
19
|
-
renderIdentifierResolutionMessages
|
|
20
|
-
} from "./chunk-HLRCUHNO.js";
|
|
21
|
-
import "./chunk-TPHPAEDH.js";
|
|
21
|
+
} from "./chunk-VJIAHZZG.js";
|
|
22
22
|
import {
|
|
23
23
|
boldText,
|
|
24
24
|
dimText,
|
|
25
25
|
extraDimText,
|
|
26
26
|
supportsSpinner,
|
|
27
27
|
yellowText
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-TUQGOYK6.js";
|
|
29
29
|
import {
|
|
30
|
-
|
|
30
|
+
resolveListTimeout,
|
|
31
31
|
withTimeout
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-KOWNVUL2.js";
|
|
33
33
|
import {
|
|
34
34
|
persistPreparedEphemeralServer,
|
|
35
35
|
prepareEphemeralServerTarget,
|
|
36
36
|
renderAdhocServerHelpLines
|
|
37
|
-
} from "./chunk-
|
|
38
|
-
import "./chunk-
|
|
39
|
-
import "./chunk-
|
|
37
|
+
} from "./chunk-LIEFPSSB.js";
|
|
38
|
+
import "./chunk-UKM35J67.js";
|
|
39
|
+
import "./chunk-6RG6AD5X.js";
|
|
40
40
|
import {
|
|
41
41
|
formatErrorMessage,
|
|
42
42
|
serializeConnectionIssue
|
|
43
|
-
} from "./chunk-
|
|
44
|
-
import "./chunk-
|
|
43
|
+
} from "./chunk-77BZYP72.js";
|
|
44
|
+
import "./chunk-LCBDVFVA.js";
|
|
45
45
|
import {
|
|
46
46
|
splitHttpToolSelector
|
|
47
|
-
} from "./chunk-
|
|
48
|
-
import "./chunk-
|
|
47
|
+
} from "./chunk-2P2HVZ3G.js";
|
|
48
|
+
import "./chunk-5B7GRMUK.js";
|
|
49
49
|
import {
|
|
50
50
|
setStdioLogMode
|
|
51
|
-
} from "./chunk-
|
|
51
|
+
} from "./chunk-FONFU4G5.js";
|
|
52
52
|
import {
|
|
53
53
|
MCPORTER_VERSION
|
|
54
|
-
} from "./chunk-
|
|
55
|
-
import "./chunk-
|
|
56
|
-
import "./chunk-
|
|
57
|
-
import "./chunk-
|
|
58
|
-
import "./chunk-
|
|
59
|
-
import "./chunk-
|
|
60
|
-
import "./chunk-
|
|
61
|
-
import "./chunk-
|
|
62
|
-
import "./chunk-
|
|
63
|
-
import "./chunk-
|
|
64
|
-
import "./chunk-
|
|
54
|
+
} from "./chunk-7PFJCLXL.js";
|
|
55
|
+
import "./chunk-H4KL74PV.js";
|
|
56
|
+
import "./chunk-RZIJUJGL.js";
|
|
57
|
+
import "./chunk-H7ARMBV7.js";
|
|
58
|
+
import "./chunk-UYJZJXC2.js";
|
|
59
|
+
import "./chunk-UHO6KIUJ.js";
|
|
60
|
+
import "./chunk-T4MQCFIK.js";
|
|
61
|
+
import "./chunk-D6SVCPN6.js";
|
|
62
|
+
import "./chunk-QJNF3A3F.js";
|
|
63
|
+
import "./chunk-O4JIUOWF.js";
|
|
64
|
+
import "./chunk-S5F3HEZZ.js";
|
|
65
65
|
import {
|
|
66
66
|
__export
|
|
67
67
|
} from "./chunk-LRKZP7DJ.js";
|
|
@@ -2780,7 +2780,7 @@ function stripAnsi(string) {
|
|
|
2780
2780
|
return string.replace(regex, "");
|
|
2781
2781
|
}
|
|
2782
2782
|
|
|
2783
|
-
// node_modules/.pnpm/get-east-asian-width@1.
|
|
2783
|
+
// node_modules/.pnpm/get-east-asian-width@1.7.0/node_modules/get-east-asian-width/lookup-data.js
|
|
2784
2784
|
var ambiguousMinimalCodePoint = 161;
|
|
2785
2785
|
var ambiguousMaximumCodePoint = 1114109;
|
|
2786
2786
|
var ambiguousRanges = [161, 161, 164, 164, 167, 168, 170, 170, 173, 174, 176, 180, 182, 186, 188, 191, 198, 198, 208, 208, 215, 216, 222, 225, 230, 230, 232, 234, 236, 237, 240, 240, 242, 243, 247, 250, 252, 252, 254, 254, 257, 257, 273, 273, 275, 275, 283, 283, 294, 295, 299, 299, 305, 307, 312, 312, 319, 322, 324, 324, 328, 331, 333, 333, 338, 339, 358, 359, 363, 363, 462, 462, 464, 464, 466, 466, 468, 468, 470, 470, 472, 472, 474, 474, 476, 476, 593, 593, 609, 609, 708, 708, 711, 711, 713, 715, 717, 717, 720, 720, 728, 731, 733, 733, 735, 735, 768, 879, 913, 929, 931, 937, 945, 961, 963, 969, 1025, 1025, 1040, 1103, 1105, 1105, 8208, 8208, 8211, 8214, 8216, 8217, 8220, 8221, 8224, 8226, 8228, 8231, 8240, 8240, 8242, 8243, 8245, 8245, 8251, 8251, 8254, 8254, 8308, 8308, 8319, 8319, 8321, 8324, 8364, 8364, 8451, 8451, 8453, 8453, 8457, 8457, 8467, 8467, 8470, 8470, 8481, 8482, 8486, 8486, 8491, 8491, 8531, 8532, 8539, 8542, 8544, 8555, 8560, 8569, 8585, 8585, 8592, 8601, 8632, 8633, 8658, 8658, 8660, 8660, 8679, 8679, 8704, 8704, 8706, 8707, 8711, 8712, 8715, 8715, 8719, 8719, 8721, 8721, 8725, 8725, 8730, 8730, 8733, 8736, 8739, 8739, 8741, 8741, 8743, 8748, 8750, 8750, 8756, 8759, 8764, 8765, 8776, 8776, 8780, 8780, 8786, 8786, 8800, 8801, 8804, 8807, 8810, 8811, 8814, 8815, 8834, 8835, 8838, 8839, 8853, 8853, 8857, 8857, 8869, 8869, 8895, 8895, 8978, 8978, 9312, 9449, 9451, 9547, 9552, 9587, 9600, 9615, 9618, 9621, 9632, 9633, 9635, 9641, 9650, 9651, 9654, 9655, 9660, 9661, 9664, 9665, 9670, 9672, 9675, 9675, 9678, 9681, 9698, 9701, 9711, 9711, 9733, 9734, 9737, 9737, 9742, 9743, 9756, 9756, 9758, 9758, 9792, 9792, 9794, 9794, 9824, 9825, 9827, 9829, 9831, 9834, 9836, 9837, 9839, 9839, 9886, 9887, 9919, 9919, 9926, 9933, 9935, 9939, 9941, 9953, 9955, 9955, 9960, 9961, 9963, 9969, 9972, 9972, 9974, 9977, 9979, 9980, 9982, 9983, 10045, 10045, 10102, 10111, 11094, 11097, 12872, 12879, 57344, 63743, 65024, 65039, 65533, 65533, 127232, 127242, 127248, 127277, 127280, 127337, 127344, 127373, 127375, 127376, 127387, 127404, 917760, 917999, 983040, 1048573, 1048576, 1114109];
|
|
@@ -2789,9 +2789,9 @@ var fullwidthMaximumCodePoint = 65510;
|
|
|
2789
2789
|
var fullwidthRanges = [12288, 12288, 65281, 65376, 65504, 65510];
|
|
2790
2790
|
var wideMinimalCodePoint = 4352;
|
|
2791
2791
|
var wideMaximumCodePoint = 262141;
|
|
2792
|
-
var wideRanges = [4352, 4447, 8986, 8987, 9001, 9002, 9193, 9196, 9200, 9200, 9203, 9203, 9725, 9726, 9748, 9749, 9776, 9783, 9800, 9811, 9855, 9855, 9866, 9871, 9875, 9875, 9889, 9889, 9898, 9899, 9917, 9918, 9924, 9925, 9934, 9934, 9940, 9940, 9962, 9962, 9970, 9971, 9973, 9973, 9978, 9978, 9981, 9981, 9989, 9989, 9994, 9995, 10024, 10024, 10060, 10060, 10062, 10062, 10067, 10069, 10071, 10071, 10133, 10135, 10160, 10160, 10175, 10175, 11035, 11036, 11088, 11088, 11093, 11093, 11904, 11929, 11931, 12019, 12032, 12245, 12272, 12287, 12289, 12350, 12353, 12438, 12441, 12543, 12549, 12591, 12593, 12686, 12688, 12773, 12783, 12830, 12832, 12871, 12880, 42124, 42128, 42182, 43360, 43388, 44032, 55203, 63744, 64255, 65040, 65049, 65072, 65106, 65108, 65126, 65128, 65131, 94176, 94180, 94192, 94198, 94208,
|
|
2792
|
+
var wideRanges = [4352, 4447, 8986, 8987, 9001, 9002, 9193, 9196, 9200, 9200, 9203, 9203, 9725, 9726, 9748, 9749, 9776, 9783, 9800, 9811, 9855, 9855, 9866, 9871, 9875, 9875, 9889, 9889, 9898, 9899, 9917, 9918, 9924, 9925, 9934, 9934, 9940, 9940, 9962, 9962, 9970, 9971, 9973, 9973, 9978, 9978, 9981, 9981, 9989, 9989, 9994, 9995, 10024, 10024, 10060, 10060, 10062, 10062, 10067, 10069, 10071, 10071, 10133, 10135, 10160, 10160, 10175, 10175, 11035, 11036, 11088, 11088, 11093, 11093, 11904, 11929, 11931, 12019, 12032, 12245, 12272, 12287, 12289, 12350, 12353, 12438, 12441, 12543, 12549, 12591, 12593, 12686, 12688, 12773, 12783, 12830, 12832, 12871, 12880, 42124, 42128, 42182, 43360, 43388, 44032, 55203, 63744, 64255, 65040, 65049, 65072, 65106, 65108, 65126, 65128, 65131, 94176, 94180, 94192, 94198, 94208, 101594, 101631, 101664, 101760, 101874, 101888, 102801, 102816, 102866, 110576, 110579, 110581, 110587, 110589, 110590, 110592, 110888, 110898, 110898, 110928, 110930, 110933, 110933, 110948, 110952, 110960, 111355, 119552, 119638, 119648, 119670, 126980, 126980, 127183, 127183, 127374, 127374, 127377, 127386, 127406, 127406, 127488, 127490, 127504, 127547, 127552, 127560, 127568, 127569, 127584, 127589, 127744, 127776, 127789, 127797, 127799, 127868, 127870, 127891, 127904, 127946, 127951, 127955, 127968, 127984, 127988, 127988, 127992, 128062, 128064, 128064, 128066, 128252, 128255, 128317, 128331, 128334, 128336, 128359, 128378, 128378, 128405, 128406, 128420, 128420, 128507, 128591, 128640, 128709, 128716, 128716, 128720, 128722, 128725, 128729, 128732, 128735, 128747, 128748, 128756, 128764, 128986, 128986, 128992, 129003, 129008, 129008, 129292, 129338, 129340, 129349, 129351, 129535, 129648, 129660, 129664, 129734, 129736, 129736, 129740, 129757, 129759, 129771, 129775, 129786, 131072, 196605, 196608, 262141];
|
|
2793
2793
|
|
|
2794
|
-
// node_modules/.pnpm/get-east-asian-width@1.
|
|
2794
|
+
// node_modules/.pnpm/get-east-asian-width@1.7.0/node_modules/get-east-asian-width/utilities.js
|
|
2795
2795
|
var isInRange = (ranges, codePoint) => {
|
|
2796
2796
|
let low = 0;
|
|
2797
2797
|
let high = Math.floor(ranges.length / 2) - 1;
|
|
@@ -2809,7 +2809,7 @@ var isInRange = (ranges, codePoint) => {
|
|
|
2809
2809
|
return false;
|
|
2810
2810
|
};
|
|
2811
2811
|
|
|
2812
|
-
// node_modules/.pnpm/get-east-asian-width@1.
|
|
2812
|
+
// node_modules/.pnpm/get-east-asian-width@1.7.0/node_modules/get-east-asian-width/lookup.js
|
|
2813
2813
|
var commonCjkCodePoint = 19968;
|
|
2814
2814
|
var [wideFastPathStart, wideFastPathEnd] = /* @__PURE__ */ findWideFastPathRange(wideRanges);
|
|
2815
2815
|
function findWideFastPathRange(ranges) {
|
|
@@ -2834,7 +2834,7 @@ var isAmbiguous = (codePoint) => {
|
|
|
2834
2834
|
}
|
|
2835
2835
|
return isInRange(ambiguousRanges, codePoint);
|
|
2836
2836
|
};
|
|
2837
|
-
var
|
|
2837
|
+
var isFullwidth = (codePoint) => {
|
|
2838
2838
|
if (codePoint < fullwidthMinimalCodePoint || codePoint > fullwidthMaximumCodePoint) {
|
|
2839
2839
|
return false;
|
|
2840
2840
|
}
|
|
@@ -2850,7 +2850,7 @@ var isWide = (codePoint) => {
|
|
|
2850
2850
|
return isInRange(wideRanges, codePoint);
|
|
2851
2851
|
};
|
|
2852
2852
|
|
|
2853
|
-
// node_modules/.pnpm/get-east-asian-width@1.
|
|
2853
|
+
// node_modules/.pnpm/get-east-asian-width@1.7.0/node_modules/get-east-asian-width/index.js
|
|
2854
2854
|
function validate(codePoint) {
|
|
2855
2855
|
if (!Number.isSafeInteger(codePoint)) {
|
|
2856
2856
|
throw new TypeError(`Expected a code point, got \`${typeof codePoint}\`.`);
|
|
@@ -2858,7 +2858,7 @@ function validate(codePoint) {
|
|
|
2858
2858
|
}
|
|
2859
2859
|
function eastAsianWidth(codePoint, { ambiguousAsWide = false } = {}) {
|
|
2860
2860
|
validate(codePoint);
|
|
2861
|
-
if (
|
|
2861
|
+
if (isFullwidth(codePoint) || isWide(codePoint) || ambiguousAsWide && isAmbiguous(codePoint)) {
|
|
2862
2862
|
return 2;
|
|
2863
2863
|
}
|
|
2864
2864
|
return 1;
|
|
@@ -3524,7 +3524,7 @@ function ora(options) {
|
|
|
3524
3524
|
return new Ora(options);
|
|
3525
3525
|
}
|
|
3526
3526
|
|
|
3527
|
-
// node_modules/.pnpm/mcporter@0.13.
|
|
3527
|
+
// node_modules/.pnpm/mcporter@0.13.13/node_modules/mcporter/dist/cli/transport-utils.js
|
|
3528
3528
|
function formatTransportSummary(definition) {
|
|
3529
3529
|
if (definition.command.kind === "http") {
|
|
3530
3530
|
const url = definition.command.url instanceof URL ? definition.command.url.href : String(definition.command.url);
|
|
@@ -3534,7 +3534,7 @@ function formatTransportSummary(definition) {
|
|
|
3534
3534
|
return `STDIO ${rendered}`;
|
|
3535
3535
|
}
|
|
3536
3536
|
|
|
3537
|
-
// node_modules/.pnpm/mcporter@0.13.
|
|
3537
|
+
// node_modules/.pnpm/mcporter@0.13.13/node_modules/mcporter/dist/cli/list-output.js
|
|
3538
3538
|
function printSingleServerHeader(definition, toolCount, durationMs, transportSummary, sourcePath, options) {
|
|
3539
3539
|
const prefix = boldText(definition.name);
|
|
3540
3540
|
if (definition.description) {
|
|
@@ -3687,14 +3687,6 @@ function buildJsonListEntry(result, timeoutSeconds, options) {
|
|
|
3687
3687
|
error: formatErrorMessage(result.error)
|
|
3688
3688
|
};
|
|
3689
3689
|
}
|
|
3690
|
-
function createUnknownResult(server) {
|
|
3691
|
-
return {
|
|
3692
|
-
status: "error",
|
|
3693
|
-
server,
|
|
3694
|
-
error: new Error("Unknown server result"),
|
|
3695
|
-
durationMs: 0
|
|
3696
|
-
};
|
|
3697
|
-
}
|
|
3698
3690
|
function buildAuthCommandHint(definition) {
|
|
3699
3691
|
if (definition.source?.kind === "local" && definition.source.path === "<adhoc>") {
|
|
3700
3692
|
if (definition.command.kind === "http") {
|
|
@@ -3719,7 +3711,7 @@ function quoteCommandSegment(segment) {
|
|
|
3719
3711
|
return `'${segment.replace(/'/g, `'\\''`)}'`;
|
|
3720
3712
|
}
|
|
3721
3713
|
|
|
3722
|
-
// node_modules/.pnpm/mcporter@0.13.
|
|
3714
|
+
// node_modules/.pnpm/mcporter@0.13.13/node_modules/mcporter/dist/cli/list-command.js
|
|
3723
3715
|
async function handleList(runtime, args) {
|
|
3724
3716
|
const flags = extractListFlags(args);
|
|
3725
3717
|
let target = args.shift();
|
|
@@ -3744,7 +3736,11 @@ async function handleList(runtime, args) {
|
|
|
3744
3736
|
const previousStdioLogMode2 = setStdioLogMode("silent");
|
|
3745
3737
|
try {
|
|
3746
3738
|
const servers = runtime.getDefinitions();
|
|
3747
|
-
const perServerTimeoutMs = flags.timeoutMs
|
|
3739
|
+
const perServerTimeoutMs = resolveListTimeout(flags.timeoutMs);
|
|
3740
|
+
const serverChecks = servers.map((server) => ({
|
|
3741
|
+
server,
|
|
3742
|
+
timeoutMs: resolveListTimeout(flags.timeoutMs, server)
|
|
3743
|
+
}));
|
|
3748
3744
|
const perServerTimeoutSeconds = Math.round(perServerTimeoutMs / 1e3);
|
|
3749
3745
|
if (servers.length === 0) {
|
|
3750
3746
|
if (flags.quiet) {
|
|
@@ -3763,17 +3759,14 @@ async function handleList(runtime, args) {
|
|
|
3763
3759
|
return;
|
|
3764
3760
|
}
|
|
3765
3761
|
if (!flags.quiet && flags.format === "text") {
|
|
3766
|
-
console.log(`mcporter ${MCPORTER_VERSION} \u2014 Listing ${servers.length} server(s) (per-server timeout: ${perServerTimeoutSeconds}s)`);
|
|
3762
|
+
console.log(`mcporter ${MCPORTER_VERSION} \u2014 Listing ${servers.length} server(s) (per-server timeout: ${perServerTimeoutSeconds}s${serverChecks.some(({ timeoutMs: timeoutMs2 }) => timeoutMs2 !== perServerTimeoutMs) ? `; Chrome auto-connect: ${Math.max(...serverChecks.map(({ timeoutMs: timeoutMs2 }) => timeoutMs2)) / 1e3}s` : ""})`);
|
|
3767
3763
|
}
|
|
3768
3764
|
const spinner = !flags.quiet && flags.format === "text" && supportsSpinner ? ora(`Discovering ${servers.length} server(s)\u2026`).start() : void 0;
|
|
3769
|
-
const
|
|
3770
|
-
const summaryResults = Array.from({ length: servers.length }, () => void 0);
|
|
3765
|
+
const renderResults = !flags.quiet && flags.format === "text";
|
|
3771
3766
|
let completedCount = 0;
|
|
3772
|
-
const tasks =
|
|
3773
|
-
|
|
3774
|
-
|
|
3775
|
-
const rendered = renderServerListRow(result, perServerTimeoutMs, { verbose: flags.verbose });
|
|
3776
|
-
renderedResults[index] = rendered;
|
|
3767
|
+
const tasks = serverChecks.map(({ server, timeoutMs: timeoutMs2 }) => checkListServer(runtime, server, timeoutMs2, flags.disableOAuth).then((result) => {
|
|
3768
|
+
if (renderResults) {
|
|
3769
|
+
const rendered = renderServerListRow(result, timeoutMs2, { verbose: flags.verbose });
|
|
3777
3770
|
completedCount += 1;
|
|
3778
3771
|
if (spinner) {
|
|
3779
3772
|
spinner.stop();
|
|
@@ -3787,21 +3780,14 @@ async function handleList(runtime, args) {
|
|
|
3787
3780
|
console.log(rendered.line);
|
|
3788
3781
|
}
|
|
3789
3782
|
}
|
|
3790
|
-
return result;
|
|
3783
|
+
return { result, timeoutMs: timeoutMs2 };
|
|
3784
|
+
}));
|
|
3785
|
+
const results = await Promise.all(tasks);
|
|
3786
|
+
const jsonEntries = results.map(({ result, timeoutMs: timeoutMs2 }) => buildJsonListEntry(result, Math.round(timeoutMs2 / 1e3), {
|
|
3787
|
+
includeSchemas: Boolean(flags.schema),
|
|
3788
|
+
includeSources: Boolean(flags.verbose || flags.includeSources),
|
|
3789
|
+
includeConnectionInfo: flags.verbose
|
|
3791
3790
|
}));
|
|
3792
|
-
await Promise.all(tasks);
|
|
3793
|
-
const jsonEntries = summaryResults.map((entry, index) => {
|
|
3794
|
-
const serverDefinition = servers[index] ?? entry?.server ?? servers[0];
|
|
3795
|
-
if (!serverDefinition) {
|
|
3796
|
-
throw new Error("Unable to resolve server definition for JSON output.");
|
|
3797
|
-
}
|
|
3798
|
-
const normalizedEntry = entry ?? createUnknownResult(serverDefinition);
|
|
3799
|
-
return buildJsonListEntry(normalizedEntry, perServerTimeoutSeconds, {
|
|
3800
|
-
includeSchemas: Boolean(flags.schema),
|
|
3801
|
-
includeSources: Boolean(flags.verbose || flags.includeSources),
|
|
3802
|
-
includeConnectionInfo: flags.verbose
|
|
3803
|
-
});
|
|
3804
|
-
});
|
|
3805
3791
|
const counts = summarizeStatusCounts(jsonEntries);
|
|
3806
3792
|
maybeSetListExitCode(jsonEntries, flags);
|
|
3807
3793
|
if (flags.quiet) {
|
|
@@ -3845,7 +3831,7 @@ async function handleList(runtime, args) {
|
|
|
3845
3831
|
}
|
|
3846
3832
|
target = resolved.name;
|
|
3847
3833
|
const definition = resolved.definition;
|
|
3848
|
-
const timeoutMs = flags.timeoutMs
|
|
3834
|
+
const timeoutMs = resolveListTimeout(flags.timeoutMs, definition);
|
|
3849
3835
|
const sourcePath = definition.sources?.length || definition.source ? formatSourceSuffix(definition.sources ?? definition.source, true, { verbose: flags.verbose }) : void 0;
|
|
3850
3836
|
const transportSummary = formatTransportSummary(definition);
|
|
3851
3837
|
const startedAt = Date.now();
|
|
@@ -2,9 +2,9 @@ import { createRequire as __createRequire } from "node:module"; const require =
|
|
|
2
2
|
import {
|
|
3
3
|
printCallOutput,
|
|
4
4
|
tailLogIfRequested
|
|
5
|
-
} from "./chunk-
|
|
6
|
-
import "./chunk-
|
|
7
|
-
import "./chunk-
|
|
5
|
+
} from "./chunk-P3UVILEW.js";
|
|
6
|
+
import "./chunk-LQIE4PKL.js";
|
|
7
|
+
import "./chunk-P463YBJM.js";
|
|
8
8
|
import "./chunk-LRKZP7DJ.js";
|
|
9
9
|
export {
|
|
10
10
|
printCallOutput,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { createRequire as __createRequire } from "node:module"; const require = __createRequire(import.meta.url);
|
|
2
2
|
import "./chunk-LRKZP7DJ.js";
|
|
3
3
|
|
|
4
|
-
// node_modules/.pnpm/rolldown@1.2.
|
|
4
|
+
// node_modules/.pnpm/rolldown@1.2.8/node_modules/rolldown/dist/shared/prompt-CH6TK0bC.mjs
|
|
5
5
|
import g$1, { stdin, stdout } from "node:process";
|
|
6
6
|
import { WriteStream } from "node:tty";
|
|
7
7
|
import f from "node:readline";
|
|
@@ -4,11 +4,11 @@ import {
|
|
|
4
4
|
parseRecordArgs,
|
|
5
5
|
parseReplayArgs,
|
|
6
6
|
printRecordHelp
|
|
7
|
-
} from "./chunk-
|
|
8
|
-
import "./chunk-
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import "./chunk-
|
|
7
|
+
} from "./chunk-JVYCENPP.js";
|
|
8
|
+
import "./chunk-CLR6DJV3.js";
|
|
9
|
+
import "./chunk-L6OOGZVA.js";
|
|
10
|
+
import "./chunk-UHO6KIUJ.js";
|
|
11
|
+
import "./chunk-D6SVCPN6.js";
|
|
12
12
|
import "./chunk-LRKZP7DJ.js";
|
|
13
13
|
export {
|
|
14
14
|
handleRecordCli,
|