@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
|
@@ -5,68 +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-
|
|
37
|
+
} from "./chunk-2P2HVZ3G.js";
|
|
38
38
|
import {
|
|
39
39
|
createRuntime
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-PJCMJ65D.js";
|
|
41
41
|
import {
|
|
42
42
|
stableJsonStringify
|
|
43
|
-
} from "./chunk-
|
|
44
|
-
import "./chunk-
|
|
45
|
-
import "./chunk-
|
|
46
|
-
import "./chunk-
|
|
47
|
-
import "./chunk-
|
|
48
|
-
import "./chunk-
|
|
49
|
-
import "./chunk-
|
|
50
|
-
import "./chunk-
|
|
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-
|
|
53
|
+
} from "./chunk-7PFJCLXL.js";
|
|
54
|
+
import "./chunk-H4KL74PV.js";
|
|
55
55
|
import {
|
|
56
56
|
loadServerDefinitions
|
|
57
|
-
} from "./chunk-
|
|
58
|
-
import "./chunk-
|
|
59
|
-
import "./chunk-
|
|
60
|
-
import "./chunk-
|
|
61
|
-
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";
|
|
62
63
|
import {
|
|
63
64
|
resolveLifecycle
|
|
64
|
-
} from "./chunk-
|
|
65
|
-
import "./chunk-
|
|
66
|
-
import "./chunk-
|
|
65
|
+
} from "./chunk-QJNF3A3F.js";
|
|
66
|
+
import "./chunk-O4JIUOWF.js";
|
|
67
|
+
import "./chunk-S5F3HEZZ.js";
|
|
67
68
|
import "./chunk-LRKZP7DJ.js";
|
|
68
69
|
|
|
69
|
-
// node_modules/.pnpm/mcporter@0.13.
|
|
70
|
+
// node_modules/.pnpm/mcporter@0.13.13/node_modules/mcporter/dist/cli/generate/name-utils.js
|
|
70
71
|
function inferNameFromCommand(command) {
|
|
71
72
|
if (typeof command === "string") {
|
|
72
73
|
const normalizedHttp = normalizeHttpUrlCandidate(command);
|
|
@@ -225,7 +226,7 @@ function deriveNameFromUrl(url) {
|
|
|
225
226
|
return void 0;
|
|
226
227
|
}
|
|
227
228
|
|
|
228
|
-
// node_modules/.pnpm/mcporter@0.13.
|
|
229
|
+
// node_modules/.pnpm/mcporter@0.13.13/node_modules/mcporter/dist/cli/generate/flags.js
|
|
229
230
|
function parseGenerateFlags(args) {
|
|
230
231
|
const common = extractGeneratorFlags(args);
|
|
231
232
|
let server;
|
|
@@ -408,12 +409,12 @@ function normalizeCommandInput2(value) {
|
|
|
408
409
|
return command;
|
|
409
410
|
}
|
|
410
411
|
|
|
411
|
-
// node_modules/.pnpm/mcporter@0.13.
|
|
412
|
+
// node_modules/.pnpm/mcporter@0.13.13/node_modules/mcporter/dist/generate-cli.js
|
|
412
413
|
import fs3 from "node:fs/promises";
|
|
413
414
|
import { createHash } from "node:crypto";
|
|
414
415
|
import path3 from "node:path";
|
|
415
416
|
|
|
416
|
-
// node_modules/.pnpm/mcporter@0.13.
|
|
417
|
+
// node_modules/.pnpm/mcporter@0.13.13/node_modules/mcporter/dist/cli/generate/artifacts.js
|
|
417
418
|
import { execFile as execFile2 } from "node:child_process";
|
|
418
419
|
import fsSync from "node:fs";
|
|
419
420
|
import fs from "node:fs/promises";
|
|
@@ -421,7 +422,7 @@ import { builtinModules, createRequire } from "node:module";
|
|
|
421
422
|
import path from "node:path";
|
|
422
423
|
import { fileURLToPath } from "node:url";
|
|
423
424
|
|
|
424
|
-
// node_modules/.pnpm/mcporter@0.13.
|
|
425
|
+
// node_modules/.pnpm/mcporter@0.13.13/node_modules/mcporter/dist/cli/generate/runtime.js
|
|
425
426
|
import { execFile } from "node:child_process";
|
|
426
427
|
async function resolveRuntimeKind(runtimeOption, compileOption) {
|
|
427
428
|
if (runtimeOption) {
|
|
@@ -455,7 +456,7 @@ async function isBunAvailable() {
|
|
|
455
456
|
}
|
|
456
457
|
}
|
|
457
458
|
|
|
458
|
-
// node_modules/.pnpm/mcporter@0.13.
|
|
459
|
+
// node_modules/.pnpm/mcporter@0.13.13/node_modules/mcporter/dist/cli/generate/artifacts.js
|
|
459
460
|
var localRequire = createRequire(import.meta.url);
|
|
460
461
|
var packageRoot = fileURLToPath(new URL("../../..", import.meta.url));
|
|
461
462
|
var BUNDLED_DEPENDENCIES = ["commander", "mcporter", "jsonc-parser"];
|
|
@@ -470,7 +471,7 @@ async function bundleOutput({ sourcePath, targetPath, runtimeKind, minify, bundl
|
|
|
470
471
|
async function bundleWithRolldown({ sourcePath, targetPath, runtimeKind, minify }) {
|
|
471
472
|
let rolldownImpl;
|
|
472
473
|
try {
|
|
473
|
-
({ rolldown: rolldownImpl } = await import("./dist-
|
|
474
|
+
({ rolldown: rolldownImpl } = await import("./dist-USMCQ22V.js"));
|
|
474
475
|
} catch (error) {
|
|
475
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.";
|
|
476
477
|
if (error instanceof Error) {
|
|
@@ -755,7 +756,7 @@ function resolveUniquePath(directory, baseName) {
|
|
|
755
756
|
return attempt;
|
|
756
757
|
}
|
|
757
758
|
|
|
758
|
-
// node_modules/.pnpm/mcporter@0.13.
|
|
759
|
+
// node_modules/.pnpm/mcporter@0.13.13/node_modules/mcporter/dist/cli/generate/definition.js
|
|
759
760
|
import fs2 from "node:fs/promises";
|
|
760
761
|
import path2 from "node:path";
|
|
761
762
|
function ensureInvocationDefaults(invocation, definition) {
|
|
@@ -836,7 +837,7 @@ async function fetchTools(definition, serverName, configPath, rootDir) {
|
|
|
836
837
|
rootDir,
|
|
837
838
|
servers: [definition]
|
|
838
839
|
});
|
|
839
|
-
const { createGeneratedKeepAliveRuntime } = await import("./generated-daemon-runtime-
|
|
840
|
+
const { createGeneratedKeepAliveRuntime } = await import("./generated-daemon-runtime-7CFVWLC7.js");
|
|
840
841
|
const context = await createGeneratedKeepAliveRuntime(base, definition);
|
|
841
842
|
const runtime = context.runtime;
|
|
842
843
|
try {
|
|
@@ -1109,7 +1110,7 @@ function toStringRecord(value) {
|
|
|
1109
1110
|
return Object.keys(result).length > 0 ? result : void 0;
|
|
1110
1111
|
}
|
|
1111
1112
|
|
|
1112
|
-
// node_modules/.pnpm/mcporter@0.13.
|
|
1113
|
+
// node_modules/.pnpm/mcporter@0.13.13/node_modules/mcporter/dist/generate-cli.js
|
|
1113
1114
|
var REPRODUCIBLE_GENERATED_AT = "1970-01-01T00:00:00.000Z";
|
|
1114
1115
|
async function generateCli(options) {
|
|
1115
1116
|
const runtimeKind = await resolveRuntimeKind(options.runtime, options.compile);
|
|
@@ -1307,7 +1308,7 @@ function applyToolFilters(tools, includeTools, excludeTools) {
|
|
|
1307
1308
|
}
|
|
1308
1309
|
var __test = { ...toolsTestHelpers, applyToolFilters };
|
|
1309
1310
|
|
|
1310
|
-
// node_modules/.pnpm/mcporter@0.13.
|
|
1311
|
+
// node_modules/.pnpm/mcporter@0.13.13/node_modules/mcporter/dist/cli/generate/output.js
|
|
1311
1312
|
async function performGenerateFromArtifact(metadata, request) {
|
|
1312
1313
|
const { outputPath, bundlePath, compilePath } = await generateCli(request);
|
|
1313
1314
|
if (metadata.artifact.kind === "binary" && compilePath) {
|
|
@@ -1331,7 +1332,7 @@ async function performGenerateFromRequest(request) {
|
|
|
1331
1332
|
}
|
|
1332
1333
|
}
|
|
1333
1334
|
|
|
1334
|
-
// node_modules/.pnpm/mcporter@0.13.
|
|
1335
|
+
// node_modules/.pnpm/mcporter@0.13.13/node_modules/mcporter/dist/cli/generate/server-utils.js
|
|
1335
1336
|
function buildInlineServerDefinition(name, command, description) {
|
|
1336
1337
|
if (typeof command === "string") {
|
|
1337
1338
|
const url = normalizeHttpUrlCandidate(command) ?? command;
|
|
@@ -1364,7 +1365,7 @@ function buildInlineServerDefinition(name, command, description) {
|
|
|
1364
1365
|
};
|
|
1365
1366
|
}
|
|
1366
1367
|
|
|
1367
|
-
// node_modules/.pnpm/mcporter@0.13.
|
|
1368
|
+
// node_modules/.pnpm/mcporter@0.13.13/node_modules/mcporter/dist/cli/generate-cli-runner.js
|
|
1368
1369
|
async function handleGenerateCli(args, globalFlags) {
|
|
1369
1370
|
const parsed = parseGenerateFlags(args);
|
|
1370
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,24 +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-
|
|
18
|
+
} from "./chunk-5B7GRMUK.js";
|
|
19
|
+
import "./chunk-O4JIUOWF.js";
|
|
20
|
+
import "./chunk-S5F3HEZZ.js";
|
|
21
21
|
import "./chunk-LRKZP7DJ.js";
|
|
22
22
|
|
|
23
|
-
// node_modules/.pnpm/mcporter@0.13.
|
|
23
|
+
// node_modules/.pnpm/mcporter@0.13.13/node_modules/mcporter/dist/cli/inspect-cli-command.js
|
|
24
24
|
async function handleInspectCli(args) {
|
|
25
25
|
const parsed = parseInspectFlags(args);
|
|
26
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,66 +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
5
|
import {
|
|
6
6
|
loadToolMetadata
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-UIPG6W7N.js";
|
|
8
8
|
import {
|
|
9
9
|
chooseClosestIdentifier,
|
|
10
10
|
renderIdentifierResolutionMessages
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-RIHPVCGI.js";
|
|
12
12
|
import {
|
|
13
13
|
buildToolDoc,
|
|
14
14
|
formatExampleBlock
|
|
15
|
-
} from "./chunk-
|
|
16
|
-
import "./chunk-
|
|
15
|
+
} from "./chunk-MJFZM5EV.js";
|
|
16
|
+
import "./chunk-NQW3ES2G.js";
|
|
17
17
|
import {
|
|
18
18
|
classifyListError,
|
|
19
19
|
formatSourceSuffix,
|
|
20
20
|
renderServerListRow
|
|
21
|
-
} from "./chunk-
|
|
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-
|
|
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";
|
|
64
65
|
import {
|
|
65
66
|
__export
|
|
66
67
|
} from "./chunk-LRKZP7DJ.js";
|
|
@@ -2779,7 +2780,7 @@ function stripAnsi(string) {
|
|
|
2779
2780
|
return string.replace(regex, "");
|
|
2780
2781
|
}
|
|
2781
2782
|
|
|
2782
|
-
// 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
|
|
2783
2784
|
var ambiguousMinimalCodePoint = 161;
|
|
2784
2785
|
var ambiguousMaximumCodePoint = 1114109;
|
|
2785
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];
|
|
@@ -2788,9 +2789,9 @@ var fullwidthMaximumCodePoint = 65510;
|
|
|
2788
2789
|
var fullwidthRanges = [12288, 12288, 65281, 65376, 65504, 65510];
|
|
2789
2790
|
var wideMinimalCodePoint = 4352;
|
|
2790
2791
|
var wideMaximumCodePoint = 262141;
|
|
2791
|
-
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];
|
|
2792
2793
|
|
|
2793
|
-
// 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
|
|
2794
2795
|
var isInRange = (ranges, codePoint) => {
|
|
2795
2796
|
let low = 0;
|
|
2796
2797
|
let high = Math.floor(ranges.length / 2) - 1;
|
|
@@ -2808,7 +2809,7 @@ var isInRange = (ranges, codePoint) => {
|
|
|
2808
2809
|
return false;
|
|
2809
2810
|
};
|
|
2810
2811
|
|
|
2811
|
-
// 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
|
|
2812
2813
|
var commonCjkCodePoint = 19968;
|
|
2813
2814
|
var [wideFastPathStart, wideFastPathEnd] = /* @__PURE__ */ findWideFastPathRange(wideRanges);
|
|
2814
2815
|
function findWideFastPathRange(ranges) {
|
|
@@ -2833,7 +2834,7 @@ var isAmbiguous = (codePoint) => {
|
|
|
2833
2834
|
}
|
|
2834
2835
|
return isInRange(ambiguousRanges, codePoint);
|
|
2835
2836
|
};
|
|
2836
|
-
var
|
|
2837
|
+
var isFullwidth = (codePoint) => {
|
|
2837
2838
|
if (codePoint < fullwidthMinimalCodePoint || codePoint > fullwidthMaximumCodePoint) {
|
|
2838
2839
|
return false;
|
|
2839
2840
|
}
|
|
@@ -2849,7 +2850,7 @@ var isWide = (codePoint) => {
|
|
|
2849
2850
|
return isInRange(wideRanges, codePoint);
|
|
2850
2851
|
};
|
|
2851
2852
|
|
|
2852
|
-
// 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
|
|
2853
2854
|
function validate(codePoint) {
|
|
2854
2855
|
if (!Number.isSafeInteger(codePoint)) {
|
|
2855
2856
|
throw new TypeError(`Expected a code point, got \`${typeof codePoint}\`.`);
|
|
@@ -2857,7 +2858,7 @@ function validate(codePoint) {
|
|
|
2857
2858
|
}
|
|
2858
2859
|
function eastAsianWidth(codePoint, { ambiguousAsWide = false } = {}) {
|
|
2859
2860
|
validate(codePoint);
|
|
2860
|
-
if (
|
|
2861
|
+
if (isFullwidth(codePoint) || isWide(codePoint) || ambiguousAsWide && isAmbiguous(codePoint)) {
|
|
2861
2862
|
return 2;
|
|
2862
2863
|
}
|
|
2863
2864
|
return 1;
|
|
@@ -3523,7 +3524,7 @@ function ora(options) {
|
|
|
3523
3524
|
return new Ora(options);
|
|
3524
3525
|
}
|
|
3525
3526
|
|
|
3526
|
-
// node_modules/.pnpm/mcporter@0.13.
|
|
3527
|
+
// node_modules/.pnpm/mcporter@0.13.13/node_modules/mcporter/dist/cli/transport-utils.js
|
|
3527
3528
|
function formatTransportSummary(definition) {
|
|
3528
3529
|
if (definition.command.kind === "http") {
|
|
3529
3530
|
const url = definition.command.url instanceof URL ? definition.command.url.href : String(definition.command.url);
|
|
@@ -3533,7 +3534,7 @@ function formatTransportSummary(definition) {
|
|
|
3533
3534
|
return `STDIO ${rendered}`;
|
|
3534
3535
|
}
|
|
3535
3536
|
|
|
3536
|
-
// node_modules/.pnpm/mcporter@0.13.
|
|
3537
|
+
// node_modules/.pnpm/mcporter@0.13.13/node_modules/mcporter/dist/cli/list-output.js
|
|
3537
3538
|
function printSingleServerHeader(definition, toolCount, durationMs, transportSummary, sourcePath, options) {
|
|
3538
3539
|
const prefix = boldText(definition.name);
|
|
3539
3540
|
if (definition.description) {
|
|
@@ -3686,14 +3687,6 @@ function buildJsonListEntry(result, timeoutSeconds, options) {
|
|
|
3686
3687
|
error: formatErrorMessage(result.error)
|
|
3687
3688
|
};
|
|
3688
3689
|
}
|
|
3689
|
-
function createUnknownResult(server) {
|
|
3690
|
-
return {
|
|
3691
|
-
status: "error",
|
|
3692
|
-
server,
|
|
3693
|
-
error: new Error("Unknown server result"),
|
|
3694
|
-
durationMs: 0
|
|
3695
|
-
};
|
|
3696
|
-
}
|
|
3697
3690
|
function buildAuthCommandHint(definition) {
|
|
3698
3691
|
if (definition.source?.kind === "local" && definition.source.path === "<adhoc>") {
|
|
3699
3692
|
if (definition.command.kind === "http") {
|
|
@@ -3718,7 +3711,7 @@ function quoteCommandSegment(segment) {
|
|
|
3718
3711
|
return `'${segment.replace(/'/g, `'\\''`)}'`;
|
|
3719
3712
|
}
|
|
3720
3713
|
|
|
3721
|
-
// node_modules/.pnpm/mcporter@0.13.
|
|
3714
|
+
// node_modules/.pnpm/mcporter@0.13.13/node_modules/mcporter/dist/cli/list-command.js
|
|
3722
3715
|
async function handleList(runtime, args) {
|
|
3723
3716
|
const flags = extractListFlags(args);
|
|
3724
3717
|
let target = args.shift();
|
|
@@ -3743,7 +3736,11 @@ async function handleList(runtime, args) {
|
|
|
3743
3736
|
const previousStdioLogMode2 = setStdioLogMode("silent");
|
|
3744
3737
|
try {
|
|
3745
3738
|
const servers = runtime.getDefinitions();
|
|
3746
|
-
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
|
+
}));
|
|
3747
3744
|
const perServerTimeoutSeconds = Math.round(perServerTimeoutMs / 1e3);
|
|
3748
3745
|
if (servers.length === 0) {
|
|
3749
3746
|
if (flags.quiet) {
|
|
@@ -3762,17 +3759,14 @@ async function handleList(runtime, args) {
|
|
|
3762
3759
|
return;
|
|
3763
3760
|
}
|
|
3764
3761
|
if (!flags.quiet && flags.format === "text") {
|
|
3765
|
-
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` : ""})`);
|
|
3766
3763
|
}
|
|
3767
3764
|
const spinner = !flags.quiet && flags.format === "text" && supportsSpinner ? ora(`Discovering ${servers.length} server(s)\u2026`).start() : void 0;
|
|
3768
|
-
const
|
|
3769
|
-
const summaryResults = Array.from({ length: servers.length }, () => void 0);
|
|
3765
|
+
const renderResults = !flags.quiet && flags.format === "text";
|
|
3770
3766
|
let completedCount = 0;
|
|
3771
|
-
const tasks =
|
|
3772
|
-
|
|
3773
|
-
|
|
3774
|
-
const rendered = renderServerListRow(result, perServerTimeoutMs, { verbose: flags.verbose });
|
|
3775
|
-
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 });
|
|
3776
3770
|
completedCount += 1;
|
|
3777
3771
|
if (spinner) {
|
|
3778
3772
|
spinner.stop();
|
|
@@ -3786,21 +3780,14 @@ async function handleList(runtime, args) {
|
|
|
3786
3780
|
console.log(rendered.line);
|
|
3787
3781
|
}
|
|
3788
3782
|
}
|
|
3789
|
-
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
|
|
3790
3790
|
}));
|
|
3791
|
-
await Promise.all(tasks);
|
|
3792
|
-
const jsonEntries = summaryResults.map((entry, index) => {
|
|
3793
|
-
const serverDefinition = servers[index] ?? entry?.server ?? servers[0];
|
|
3794
|
-
if (!serverDefinition) {
|
|
3795
|
-
throw new Error("Unable to resolve server definition for JSON output.");
|
|
3796
|
-
}
|
|
3797
|
-
const normalizedEntry = entry ?? createUnknownResult(serverDefinition);
|
|
3798
|
-
return buildJsonListEntry(normalizedEntry, perServerTimeoutSeconds, {
|
|
3799
|
-
includeSchemas: Boolean(flags.schema),
|
|
3800
|
-
includeSources: Boolean(flags.verbose || flags.includeSources),
|
|
3801
|
-
includeConnectionInfo: flags.verbose
|
|
3802
|
-
});
|
|
3803
|
-
});
|
|
3804
3791
|
const counts = summarizeStatusCounts(jsonEntries);
|
|
3805
3792
|
maybeSetListExitCode(jsonEntries, flags);
|
|
3806
3793
|
if (flags.quiet) {
|
|
@@ -3844,7 +3831,7 @@ async function handleList(runtime, args) {
|
|
|
3844
3831
|
}
|
|
3845
3832
|
target = resolved.name;
|
|
3846
3833
|
const definition = resolved.definition;
|
|
3847
|
-
const timeoutMs = flags.timeoutMs
|
|
3834
|
+
const timeoutMs = resolveListTimeout(flags.timeoutMs, definition);
|
|
3848
3835
|
const sourcePath = definition.sources?.length || definition.source ? formatSourceSuffix(definition.sources ?? definition.source, true, { verbose: flags.verbose }) : void 0;
|
|
3849
3836
|
const transportSummary = formatTransportSummary(definition);
|
|
3850
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,
|
|
@@ -4,18 +4,18 @@ import {
|
|
|
4
4
|
parseReplayArgs,
|
|
5
5
|
runRecordReplayCommand,
|
|
6
6
|
writeRecordReplayConfig
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-JVYCENPP.js";
|
|
8
8
|
import {
|
|
9
9
|
buildReplayCommandEnv
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-CLR6DJV3.js";
|
|
11
11
|
import {
|
|
12
12
|
resolveRecordingPath
|
|
13
|
-
} from "./chunk-
|
|
14
|
-
import "./chunk-
|
|
15
|
-
import "./chunk-
|
|
13
|
+
} from "./chunk-L6OOGZVA.js";
|
|
14
|
+
import "./chunk-UHO6KIUJ.js";
|
|
15
|
+
import "./chunk-D6SVCPN6.js";
|
|
16
16
|
import "./chunk-LRKZP7DJ.js";
|
|
17
17
|
|
|
18
|
-
// node_modules/.pnpm/mcporter@0.13.
|
|
18
|
+
// node_modules/.pnpm/mcporter@0.13.13/node_modules/mcporter/dist/cli/replay-command.js
|
|
19
19
|
async function handleReplayCli(args) {
|
|
20
20
|
const parsed = parseReplayArgs(args);
|
|
21
21
|
const replayPath = resolveRecordingPath(parsed.sessionName);
|