@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
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { createRequire as __createRequire } from "node:module"; const require = __createRequire(import.meta.url);
|
|
2
|
+
import {
|
|
3
|
+
DaemonClient,
|
|
4
|
+
resolveDaemonPaths
|
|
5
|
+
} from "./chunk-FBVRU4Y3.js";
|
|
6
|
+
import "./chunk-PJCMJ65D.js";
|
|
7
|
+
import "./chunk-KQCLM7R7.js";
|
|
8
|
+
import "./chunk-D6B2M5V7.js";
|
|
9
|
+
import "./chunk-L6OOGZVA.js";
|
|
10
|
+
import "./chunk-TYYSBILI.js";
|
|
11
|
+
import "./chunk-IF6LRV3J.js";
|
|
12
|
+
import "./chunk-XNHGMWN2.js";
|
|
13
|
+
import "./chunk-P463YBJM.js";
|
|
14
|
+
import "./chunk-FONFU4G5.js";
|
|
15
|
+
import "./chunk-7PFJCLXL.js";
|
|
16
|
+
import "./chunk-H4KL74PV.js";
|
|
17
|
+
import "./chunk-RZIJUJGL.js";
|
|
18
|
+
import "./chunk-H7ARMBV7.js";
|
|
19
|
+
import "./chunk-UYJZJXC2.js";
|
|
20
|
+
import "./chunk-UHO6KIUJ.js";
|
|
21
|
+
import "./chunk-T4MQCFIK.js";
|
|
22
|
+
import "./chunk-D6SVCPN6.js";
|
|
23
|
+
import "./chunk-QJNF3A3F.js";
|
|
24
|
+
import "./chunk-O4JIUOWF.js";
|
|
25
|
+
import "./chunk-S5F3HEZZ.js";
|
|
26
|
+
import "./chunk-LRKZP7DJ.js";
|
|
27
|
+
export {
|
|
28
|
+
DaemonClient,
|
|
29
|
+
resolveDaemonPaths
|
|
30
|
+
};
|
|
@@ -1,57 +1,59 @@
|
|
|
1
1
|
import { createRequire as __createRequire } from "node:module"; const require = __createRequire(import.meta.url);
|
|
2
2
|
import {
|
|
3
3
|
pickSharedDefinitionFields
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-WHJUDBPR.js";
|
|
5
5
|
import {
|
|
6
6
|
consumeMatchingTokens
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-S6GJ42I2.js";
|
|
8
8
|
import {
|
|
9
9
|
CliUsageError
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-QALB3DRW.js";
|
|
11
11
|
import {
|
|
12
12
|
chooseClosestIdentifier,
|
|
13
13
|
renderIdentifierResolutionMessages
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-RIHPVCGI.js";
|
|
15
15
|
import {
|
|
16
16
|
boldText,
|
|
17
17
|
dimText,
|
|
18
18
|
extraDimText,
|
|
19
19
|
supportsAnsiColor
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-TUQGOYK6.js";
|
|
21
21
|
import {
|
|
22
22
|
clearOAuthCaches
|
|
23
|
-
} from "./chunk-
|
|
24
|
-
import "./chunk-
|
|
23
|
+
} from "./chunk-IF6LRV3J.js";
|
|
24
|
+
import "./chunk-XNHGMWN2.js";
|
|
25
25
|
import {
|
|
26
26
|
MCPORTER_VERSION
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-7PFJCLXL.js";
|
|
28
28
|
import {
|
|
29
|
+
listConfigLayerPaths,
|
|
29
30
|
loadRawConfig,
|
|
30
31
|
loadServerDefinitions,
|
|
31
32
|
pathsForImport,
|
|
32
33
|
readExternalEntries,
|
|
33
34
|
resolveConfigPath,
|
|
34
35
|
writeRawConfig
|
|
35
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-RZIJUJGL.js";
|
|
36
37
|
import {
|
|
37
38
|
withFileLock
|
|
38
|
-
} from "./chunk-
|
|
39
|
-
import "./chunk-
|
|
39
|
+
} from "./chunk-H7ARMBV7.js";
|
|
40
|
+
import "./chunk-UYJZJXC2.js";
|
|
40
41
|
import {
|
|
41
42
|
mcporterConfigCandidates,
|
|
42
43
|
mcporterDir
|
|
43
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-UHO6KIUJ.js";
|
|
45
|
+
import "./chunk-T4MQCFIK.js";
|
|
44
46
|
import {
|
|
45
47
|
expandHome
|
|
46
|
-
} from "./chunk-
|
|
47
|
-
import "./chunk-
|
|
48
|
-
import "./chunk-
|
|
48
|
+
} from "./chunk-D6SVCPN6.js";
|
|
49
|
+
import "./chunk-QJNF3A3F.js";
|
|
50
|
+
import "./chunk-S5F3HEZZ.js";
|
|
49
51
|
import "./chunk-LRKZP7DJ.js";
|
|
50
52
|
|
|
51
|
-
// node_modules/.pnpm/mcporter@0.13.
|
|
53
|
+
// node_modules/.pnpm/mcporter@0.13.13/node_modules/mcporter/dist/cli/config/add.js
|
|
52
54
|
import path2 from "node:path";
|
|
53
55
|
|
|
54
|
-
// node_modules/.pnpm/mcporter@0.13.
|
|
56
|
+
// node_modules/.pnpm/mcporter@0.13.13/node_modules/mcporter/dist/cli/config/shared.js
|
|
55
57
|
import fs from "node:fs/promises";
|
|
56
58
|
import path from "node:path";
|
|
57
59
|
var COLOR_ENABLED = () => Boolean(supportsAnsiColor && process.stdout.isTTY);
|
|
@@ -77,11 +79,14 @@ async function loadOrCreateConfig(loadOptions) {
|
|
|
77
79
|
}
|
|
78
80
|
async function resolveConfigLocations(loadOptions) {
|
|
79
81
|
const rootDir = loadOptions.rootDir ?? process.cwd();
|
|
82
|
+
const explicitPath = loadOptions.configPath ?? process.env.MCPORTER_CONFIG;
|
|
83
|
+
const selectedPath = explicitPath ? (await listConfigLayerPaths(loadOptions, rootDir))[0] : void 0;
|
|
80
84
|
const projectPath = path.resolve(rootDir, "config", "mcporter.json");
|
|
81
85
|
const projectExists = await pathExists(projectPath);
|
|
82
86
|
const systemCandidates = buildSystemConfigCandidates();
|
|
83
87
|
const systemResolved = await resolveFirstExisting(systemCandidates);
|
|
84
88
|
return {
|
|
89
|
+
...selectedPath ? { selectedPath, selectedExists: await pathExists(selectedPath) } : {},
|
|
85
90
|
projectPath,
|
|
86
91
|
projectExists,
|
|
87
92
|
systemPath: systemResolved.path,
|
|
@@ -93,6 +98,9 @@ function logConfigLocations(summary, options) {
|
|
|
93
98
|
if (shouldAddNewline) {
|
|
94
99
|
console.log("");
|
|
95
100
|
}
|
|
101
|
+
if (summary.selectedPath) {
|
|
102
|
+
console.log(`Selected config: ${formatPath(summary.selectedPath, summary.selectedExists ?? false)}`);
|
|
103
|
+
}
|
|
96
104
|
console.log(`Project config: ${formatPath(summary.projectPath, summary.projectExists)}`);
|
|
97
105
|
console.log(`System config: ${formatPath(summary.systemPath, summary.systemExists)}`);
|
|
98
106
|
}
|
|
@@ -174,7 +182,7 @@ function isErrno(error, code) {
|
|
|
174
182
|
return Boolean(error && typeof error === "object" && error.code === code);
|
|
175
183
|
}
|
|
176
184
|
|
|
177
|
-
// node_modules/.pnpm/mcporter@0.13.
|
|
185
|
+
// node_modules/.pnpm/mcporter@0.13.13/node_modules/mcporter/dist/cli/config/add.js
|
|
178
186
|
async function handleAddCommand(options, args) {
|
|
179
187
|
const name = args.shift();
|
|
180
188
|
if (!name) {
|
|
@@ -456,7 +464,7 @@ function looksLikeHttp(value) {
|
|
|
456
464
|
return value.startsWith("http://") || value.startsWith("https://");
|
|
457
465
|
}
|
|
458
466
|
|
|
459
|
-
// node_modules/.pnpm/mcporter@0.13.
|
|
467
|
+
// node_modules/.pnpm/mcporter@0.13.13/node_modules/mcporter/dist/cli/config/auth.js
|
|
460
468
|
async function handleLoginCommand(options, args) {
|
|
461
469
|
if (args.length === 0) {
|
|
462
470
|
throw new CliUsageError("Usage: mcporter config login <name|url>");
|
|
@@ -474,7 +482,7 @@ async function handleLogoutCommand(options, args) {
|
|
|
474
482
|
console.log(`Cleared cached credentials for '${target.name}'`);
|
|
475
483
|
}
|
|
476
484
|
|
|
477
|
-
// node_modules/.pnpm/mcporter@0.13.
|
|
485
|
+
// node_modules/.pnpm/mcporter@0.13.13/node_modules/mcporter/dist/cli/config/doctor.js
|
|
478
486
|
import path3 from "node:path";
|
|
479
487
|
async function handleDoctorCommand(options, _args) {
|
|
480
488
|
console.log(`MCPorter ${MCPORTER_VERSION}`);
|
|
@@ -498,7 +506,7 @@ async function handleDoctorCommand(options, _args) {
|
|
|
498
506
|
}
|
|
499
507
|
}
|
|
500
508
|
|
|
501
|
-
// node_modules/.pnpm/mcporter@0.13.
|
|
509
|
+
// node_modules/.pnpm/mcporter@0.13.13/node_modules/mcporter/dist/cli/config/render.js
|
|
502
510
|
function serializeDefinition(definition) {
|
|
503
511
|
const origin = definition.source ?? { kind: "local", path: "" };
|
|
504
512
|
const sharedFields = pickSharedDefinitionFields(definition);
|
|
@@ -593,7 +601,7 @@ function printConfigUsageExamples() {
|
|
|
593
601
|
];
|
|
594
602
|
}
|
|
595
603
|
|
|
596
|
-
// node_modules/.pnpm/mcporter@0.13.
|
|
604
|
+
// node_modules/.pnpm/mcporter@0.13.13/node_modules/mcporter/dist/cli/config/get.js
|
|
597
605
|
async function handleGetCommand(options, args) {
|
|
598
606
|
const flags = extractGetFlags(args);
|
|
599
607
|
const name = args.shift();
|
|
@@ -635,7 +643,7 @@ function extractGetFlags(args) {
|
|
|
635
643
|
return { format };
|
|
636
644
|
}
|
|
637
645
|
|
|
638
|
-
// node_modules/.pnpm/mcporter@0.13.
|
|
646
|
+
// node_modules/.pnpm/mcporter@0.13.13/node_modules/mcporter/dist/cli/config/help.js
|
|
639
647
|
var CONFIG_HELP_ENTRIES = {
|
|
640
648
|
list: {
|
|
641
649
|
name: "list [options] [filter]",
|
|
@@ -744,7 +752,7 @@ var CONFIG_HELP_ENTRIES = {
|
|
|
744
752
|
name: "logout <name>",
|
|
745
753
|
summary: "Clear cached credentials",
|
|
746
754
|
usage: "mcporter config logout <name>",
|
|
747
|
-
description: "
|
|
755
|
+
description: "Removes recognized OAuth credential files for a server. The token cache directory and unrelated files stay.",
|
|
748
756
|
examples: ["pnpm mcporter config logout linear"]
|
|
749
757
|
},
|
|
750
758
|
doctor: {
|
|
@@ -840,7 +848,7 @@ function printSubcommandHelp(subcommand, colorize) {
|
|
|
840
848
|
console.log(lines.join("\n"));
|
|
841
849
|
}
|
|
842
850
|
|
|
843
|
-
// node_modules/.pnpm/mcporter@0.13.
|
|
851
|
+
// node_modules/.pnpm/mcporter@0.13.13/node_modules/mcporter/dist/cli/config/import.js
|
|
844
852
|
import path4 from "node:path";
|
|
845
853
|
async function handleImportCommand(options, args) {
|
|
846
854
|
const kind = args.shift();
|
|
@@ -934,7 +942,7 @@ function extractImportFlags(args) {
|
|
|
934
942
|
return flags;
|
|
935
943
|
}
|
|
936
944
|
|
|
937
|
-
// node_modules/.pnpm/mcporter@0.13.
|
|
945
|
+
// node_modules/.pnpm/mcporter@0.13.13/node_modules/mcporter/dist/cli/config/list.js
|
|
938
946
|
async function handleListCommand(options, args) {
|
|
939
947
|
const flags = extractListFlags(args);
|
|
940
948
|
const filter = args.shift();
|
|
@@ -998,7 +1006,7 @@ function filterMatches(filter, server) {
|
|
|
998
1006
|
return server.name.includes(filter);
|
|
999
1007
|
}
|
|
1000
1008
|
|
|
1001
|
-
// node_modules/.pnpm/mcporter@0.13.
|
|
1009
|
+
// node_modules/.pnpm/mcporter@0.13.13/node_modules/mcporter/dist/cli/config/remove.js
|
|
1002
1010
|
async function handleRemoveCommand(options, args) {
|
|
1003
1011
|
const name = args.shift();
|
|
1004
1012
|
if (!name) {
|
|
@@ -1023,7 +1031,7 @@ async function handleRemoveCommand(options, args) {
|
|
|
1023
1031
|
console.log(`Removed '${targetName}' from ${configPath}`);
|
|
1024
1032
|
}
|
|
1025
1033
|
|
|
1026
|
-
// node_modules/.pnpm/mcporter@0.13.
|
|
1034
|
+
// node_modules/.pnpm/mcporter@0.13.13/node_modules/mcporter/dist/cli/config-command.js
|
|
1027
1035
|
async function handleConfigCli(options, args) {
|
|
1028
1036
|
const initialToken = args[0];
|
|
1029
1037
|
if (args.length === 0 || initialToken && isHelpToken(initialToken)) {
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { createRequire as __createRequire } from "node:module"; const require = __createRequire(import.meta.url);
|
|
2
|
+
import {
|
|
3
|
+
handleDaemonCli
|
|
4
|
+
} from "./chunk-5BMCVE2J.js";
|
|
5
|
+
import "./chunk-LXHPDKEF.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
|
+
handleDaemonCli
|
|
30
|
+
};
|