@introspection-ai/recipes 0.36.2 → 0.37.0

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.
Files changed (135) hide show
  1. package/dist/ask-user-question.d.ts +82 -0
  2. package/dist/ask-user-question.d.ts.map +1 -0
  3. package/dist/ask-user-question.js +314 -0
  4. package/dist/ask-user-question.js.map +1 -0
  5. package/dist/connector-tools.d.ts.map +1 -1
  6. package/dist/connector-tools.js +10 -2
  7. package/dist/connector-tools.js.map +1 -1
  8. package/dist/documents/index.d.ts +6 -0
  9. package/dist/documents/index.d.ts.map +1 -0
  10. package/dist/documents/index.js +3 -0
  11. package/dist/documents/index.js.map +1 -0
  12. package/dist/documents/module.d.ts +51 -0
  13. package/dist/documents/module.d.ts.map +1 -0
  14. package/dist/documents/module.js +116 -0
  15. package/dist/documents/module.js.map +1 -0
  16. package/dist/documents/tools.d.ts +40 -0
  17. package/dist/documents/tools.d.ts.map +1 -0
  18. package/dist/documents/tools.js +327 -0
  19. package/dist/documents/tools.js.map +1 -0
  20. package/dist/documents/types.d.ts +144 -0
  21. package/dist/documents/types.d.ts.map +1 -0
  22. package/dist/documents/types.js +10 -0
  23. package/dist/documents/types.js.map +1 -0
  24. package/dist/extensions.d.ts +2 -0
  25. package/dist/extensions.d.ts.map +1 -1
  26. package/dist/extensions.js +3 -0
  27. package/dist/extensions.js.map +1 -1
  28. package/dist/interaction-tui.d.ts +1 -1
  29. package/dist/interaction-tui.d.ts.map +1 -1
  30. package/dist/interaction-tui.js +2 -2
  31. package/dist/interaction-tui.js.map +1 -1
  32. package/dist/mcp-chunks/{auth-command-GMMLBU24.js → auth-command-M7TQE3AL.js} +26 -23
  33. package/dist/mcp-chunks/call-arguments-GCXZA4HC.js +16 -0
  34. package/dist/mcp-chunks/{call-command-2VF6IKAZ.js → call-command-7LD7UEFK.js} +33 -33
  35. package/dist/mcp-chunks/{chunk-TYL2NVXI.js → chunk-2AKSS7WR.js} +2 -2
  36. package/dist/mcp-chunks/{chunk-LZUKBEQZ.js → chunk-2YV72LUA.js} +12 -12
  37. package/dist/mcp-chunks/{chunk-2JTXIMGE.js → chunk-3ETUDW7N.js} +1 -1
  38. package/dist/mcp-chunks/{chunk-5UK2JLTN.js → chunk-3FRLDHVD.js} +5 -5
  39. package/dist/mcp-chunks/{chunk-ENBJFQ6H.js → chunk-3HSC6NHZ.js} +1 -1
  40. package/dist/mcp-chunks/{chunk-IHOU2BEL.js → chunk-3LENTPGE.js} +2 -2
  41. package/dist/mcp-chunks/{chunk-ZJWZY54X.js → chunk-3P3KGT4H.js} +2 -2
  42. package/dist/mcp-chunks/{chunk-IMXPLUKE.js → chunk-3SXP4S2A.js} +2 -2
  43. package/dist/mcp-chunks/{chunk-22WCLO4D.js → chunk-5Z6WSV5D.js} +5 -5
  44. package/dist/mcp-chunks/{chunk-QNZGFUKC.js → chunk-63L6SHK3.js} +2 -2
  45. package/dist/mcp-chunks/{chunk-OI3RTQXY.js → chunk-66VSGFXA.js} +1 -1
  46. package/dist/mcp-chunks/{chunk-DUBQHYW4.js → chunk-6O42UGLI.js} +9 -9
  47. package/dist/mcp-chunks/{chunk-R4OYHQ4V.js → chunk-6P3KAQ5N.js} +1 -1
  48. package/dist/mcp-chunks/{chunk-5OO6WVPL.js → chunk-7U5NSQ5T.js} +1 -1
  49. package/dist/mcp-chunks/{chunk-O2C3HXGS.js → chunk-B6S43WID.js} +1 -1
  50. package/dist/mcp-chunks/{chunk-VWPKJFK4.js → chunk-BHXCAVFP.js} +1 -1
  51. package/dist/mcp-chunks/{chunk-WXNGATQ7.js → chunk-BUOGKTKK.js} +2 -1
  52. package/dist/mcp-chunks/{chunk-4U4BUXQD.js → chunk-CXST5CVH.js} +33 -17
  53. package/dist/mcp-chunks/{chunk-YWFQPA4D.js → chunk-DU4SDPEV.js} +2 -2
  54. package/dist/mcp-chunks/{chunk-ZI5XYM4C.js → chunk-E76ZUBOJ.js} +4 -4
  55. package/dist/mcp-chunks/{chunk-D2SZ7KRY.js → chunk-ELHS763C.js} +1 -1
  56. package/dist/mcp-chunks/{chunk-RHXZKYM7.js → chunk-F2X4Y2TQ.js} +1 -1
  57. package/dist/mcp-chunks/{chunk-6XC5JJWD.js → chunk-GTETFUPQ.js} +28 -25
  58. package/dist/mcp-chunks/{chunk-UQUM7ICD.js → chunk-GZ53GNFP.js} +10 -10
  59. package/dist/mcp-chunks/{chunk-LUVLTUKR.js → chunk-H5PBSJP3.js} +1 -1
  60. package/dist/mcp-chunks/{chunk-FLUF2FRN.js → chunk-HNQSUT44.js} +3 -3
  61. package/dist/mcp-chunks/{chunk-CN5KSNWG.js → chunk-I6UFV7RW.js} +1 -1
  62. package/dist/mcp-chunks/{chunk-OSTHIELS.js → chunk-IRARVOUM.js} +1 -1
  63. package/dist/mcp-chunks/{webapi-NNCZGUMZ.js → chunk-IRSL7JRH.js} +255 -249
  64. package/dist/mcp-chunks/{chunk-ZXIF7MKN.js → chunk-IWCVZ46B.js} +2 -2
  65. package/dist/mcp-chunks/{chunk-RZZO3ZD4.js → chunk-JEHI2YU4.js} +3 -3
  66. package/dist/mcp-chunks/{chunk-ANNJGB6F.js → chunk-JTPTAO4M.js} +13 -13
  67. package/dist/mcp-chunks/{chunk-U5QZHPCC.js → chunk-KJ5FPQF6.js} +1 -1
  68. package/dist/mcp-chunks/{chunk-7IVXKYTI.js → chunk-L2MSWQDL.js} +1 -1
  69. package/dist/mcp-chunks/{chunk-DBNBEWRX.js → chunk-MEQXX43K.js} +1 -1
  70. package/dist/mcp-chunks/{chunk-3AAF3FSI.js → chunk-MHUMLEBO.js} +1 -1
  71. package/dist/mcp-chunks/{chunk-HFHIY5TO.js → chunk-N2U2FODH.js} +4 -4
  72. package/dist/mcp-chunks/{chunk-YFCNRWLV.js → chunk-N6YUOYDS.js} +2 -2
  73. package/dist/mcp-chunks/{chunk-C4TJGC4F.js → chunk-O3RTM5HD.js} +1 -1
  74. package/dist/mcp-chunks/{chunk-35LLRCRA.js → chunk-O7SIXJM6.js} +1308 -912
  75. package/dist/mcp-chunks/{chunk-QDFL757K.js → chunk-PSE442BC.js} +91 -77
  76. package/dist/mcp-chunks/{chunk-YPSODIQX.js → chunk-QNXOIF5U.js} +15 -14
  77. package/dist/mcp-chunks/{chunk-RKQC2EE6.js → chunk-RUF27IUF.js} +2 -2
  78. package/dist/mcp-chunks/{chunk-SS7V7GVT.js → chunk-S2F7DDP5.js} +4 -4
  79. package/dist/mcp-chunks/{chunk-D65GOMYV.js → chunk-TC2JPBFB.js} +2 -2
  80. package/dist/mcp-chunks/{chunk-7BVYBZ4J.js → chunk-THRMUZZD.js} +39 -14
  81. package/dist/mcp-chunks/{chunk-P5YLK5G2.js → chunk-UFV6SVQG.js} +11 -11
  82. package/dist/mcp-chunks/{chunk-LISNXOIQ.js → chunk-US63Y6XE.js} +1 -1
  83. package/dist/mcp-chunks/{chunk-BIVX2WFX.js → chunk-UVEZNUN3.js} +285 -322
  84. package/dist/mcp-chunks/{chunk-HI6VG5LR.js → chunk-UVRJ3AAD.js} +2 -2
  85. package/dist/mcp-chunks/{chunk-6TIU2CDB.js → chunk-V42T3QNK.js} +456 -64
  86. package/dist/mcp-chunks/{chunk-347GOMV4.js → chunk-WDWSA7RL.js} +4 -4
  87. package/dist/mcp-chunks/{chunk-4PN2J74H.js → chunk-WQL7FJQ3.js} +4 -4
  88. package/dist/mcp-chunks/{chunk-LRGMFF5S.js → chunk-ZEA3Y5ZD.js} +7 -7
  89. package/dist/mcp-chunks/{cli-4OQD3H4N.js → cli-IYD7Y7MO.js} +67 -67
  90. package/dist/mcp-chunks/client-5MNBV3Z7.js +32 -0
  91. package/dist/mcp-chunks/{config-command-72TCIWPV.js → config-command-6DXILFNO.js} +129 -34
  92. package/dist/mcp-chunks/daemon-command-V3B3EMXD.js +32 -0
  93. package/dist/mcp-chunks/{dist-74UCKZK5.js → dist-Q7WSCBBK.js} +74 -55
  94. package/dist/mcp-chunks/{emit-ts-command-KD4ON2SE.js → emit-ts-command-NDCDFDRM.js} +17 -17
  95. package/dist/mcp-chunks/{generate-cli-runner-HWGI6HPL.js → generate-cli-runner-PW5WJ7KI.js} +136 -92
  96. package/dist/mcp-chunks/generated-daemon-runtime-3C4NWGAU.js +32 -0
  97. package/dist/mcp-chunks/{inspect-cli-command-FT5JSB7V.js → inspect-cli-command-4MGF5CPP.js} +9 -9
  98. package/dist/mcp-chunks/{launch-AHLKP2VM.js → launch-UG7IH27P.js} +1 -1
  99. package/dist/mcp-chunks/{lifecycle-BJDITFWN.js → lifecycle-QBYGUHQ3.js} +1 -1
  100. package/dist/mcp-chunks/{list-command-YKF7RN6Y.js → list-command-SDITI3ZM.js} +36 -35
  101. package/dist/mcp-chunks/{output-utils-LYB5IJRD.js → output-utils-YTMZTA7J.js} +3 -3
  102. package/dist/mcp-chunks/{prompt-CH6TK0bC-B3USYOND.js → prompt-DkftHXS7-N7UENQ4C.js} +1 -1
  103. package/dist/mcp-chunks/{record-command-MJW3Z5E5.js → record-command-JGTMATYI.js} +5 -5
  104. package/dist/mcp-chunks/{replay-command-5ZHBUOLE.js → replay-command-S2VAC4RW.js} +6 -6
  105. package/dist/mcp-chunks/{resource-command-L4I24AX5.js → resource-command-SRFQQROJ.js} +9 -9
  106. package/dist/mcp-chunks/{result-utils-5WRI66KV.js → result-utils-JASGNHXK.js} +3 -3
  107. package/dist/mcp-chunks/runtime-RMI3XCYJ.js +39 -0
  108. package/dist/mcp-chunks/{runtime-wrapper-WFMNIHD5.js → runtime-wrapper-7HYO3NM5.js} +3 -3
  109. package/dist/mcp-chunks/{serve-command-KNCSJUXS.js → serve-command-UF5SVREV.js} +1111 -697
  110. package/dist/mcp-chunks/{timeouts-2ZHGSB3R.js → timeouts-BJWDJEMH.js} +3 -3
  111. package/dist/mcp-chunks/{vault-command-7EDL45AA.js → vault-command-EYOIFWEY.js} +5 -4
  112. package/dist/mcp-chunks/webapi-WMMA3OEC.js +82 -0
  113. package/dist/mcp-daemon.js +28 -27
  114. package/dist/mcp-run-worker.js +28 -27
  115. package/dist/pi-extension.d.ts.map +1 -1
  116. package/dist/pi-extension.js +6 -0
  117. package/dist/pi-extension.js.map +1 -1
  118. package/dist/recipe/package.d.ts +7 -0
  119. package/dist/recipe/package.d.ts.map +1 -1
  120. package/dist/recipe/package.js +69 -0
  121. package/dist/recipe/package.js.map +1 -1
  122. package/dist/session.d.ts.map +1 -1
  123. package/dist/session.js +6 -0
  124. package/dist/session.js.map +1 -1
  125. package/docs/documents.md +249 -0
  126. package/docs/index.md +1 -0
  127. package/docs/interactions.md +76 -8
  128. package/docs/mcp-configuration.md +10 -5
  129. package/docs/recipe-format.md +69 -1
  130. package/package.json +10 -6
  131. package/dist/mcp-chunks/call-arguments-WSURHOLV.js +0 -16
  132. package/dist/mcp-chunks/client-LXKCCVMT.js +0 -31
  133. package/dist/mcp-chunks/daemon-command-QHS3ACBM.js +0 -31
  134. package/dist/mcp-chunks/generated-daemon-runtime-7ORS5KBR.js +0 -31
  135. package/dist/mcp-chunks/runtime-IKWDQLZF.js +0 -38
@@ -1,61 +1,73 @@
1
1
  import { createRequire as __createRequire } from "node:module"; const require = __createRequire(import.meta.url);
2
2
  import {
3
3
  pickSharedDefinitionFields
4
- } from "./chunk-WXNGATQ7.js";
4
+ } from "./chunk-BUOGKTKK.js";
5
5
  import {
6
6
  consumeMatchingTokens
7
- } from "./chunk-CN5KSNWG.js";
7
+ } from "./chunk-I6UFV7RW.js";
8
8
  import {
9
9
  CliUsageError
10
- } from "./chunk-LUVLTUKR.js";
10
+ } from "./chunk-H5PBSJP3.js";
11
11
  import {
12
12
  chooseClosestIdentifier,
13
13
  renderIdentifierResolutionMessages
14
- } from "./chunk-OI3RTQXY.js";
14
+ } from "./chunk-66VSGFXA.js";
15
15
  import {
16
16
  boldText,
17
17
  dimText,
18
18
  extraDimText,
19
19
  supportsAnsiColor
20
- } from "./chunk-OSTHIELS.js";
20
+ } from "./chunk-IRARVOUM.js";
21
21
  import {
22
22
  clearOAuthCaches
23
- } from "./chunk-7BVYBZ4J.js";
24
- import "./chunk-6TIU2CDB.js";
23
+ } from "./chunk-THRMUZZD.js";
24
+ import {
25
+ VAULT_ENCRYPTION_POLICY_ENV,
26
+ VAULT_PASSWORD_ENV,
27
+ VaultEncryptionError,
28
+ describeTokenCacheDir,
29
+ describeVaultSecrets,
30
+ getOAuthVaultPath,
31
+ hasVaultEncryptionMarker,
32
+ readVaultEncryptionSettings
33
+ } from "./chunk-V42T3QNK.js";
25
34
  import {
26
35
  MCPORTER_VERSION
27
- } from "./chunk-YPSODIQX.js";
36
+ } from "./chunk-QNXOIF5U.js";
28
37
  import {
29
38
  OAuthRequestedScopeSchema,
30
39
  listConfigLayerPaths,
40
+ loadConfigSnapshot,
31
41
  loadRawConfig,
32
42
  loadServerDefinitions,
33
43
  pathsForImport,
34
44
  readExternalEntries,
35
45
  resolveConfigPath,
36
46
  writeRawConfig
37
- } from "./chunk-4U4BUXQD.js";
38
- import "./chunk-5OO6WVPL.js";
47
+ } from "./chunk-CXST5CVH.js";
48
+ import "./chunk-7U5NSQ5T.js";
39
49
  import {
50
+ readJsonFile,
40
51
  withFileLock
41
- } from "./chunk-IHOU2BEL.js";
42
- import "./chunk-RZZO3ZD4.js";
52
+ } from "./chunk-3LENTPGE.js";
53
+ import "./chunk-JEHI2YU4.js";
43
54
  import {
44
55
  mcporterConfigCandidates,
45
56
  mcporterDir
46
- } from "./chunk-ZXIF7MKN.js";
57
+ } from "./chunk-IWCVZ46B.js";
47
58
  import "./chunk-T4MQCFIK.js";
48
59
  import {
49
60
  expandHome
50
- } from "./chunk-VWPKJFK4.js";
51
- import "./chunk-3AAF3FSI.js";
52
- import "./chunk-35LLRCRA.js";
61
+ } from "./chunk-BHXCAVFP.js";
62
+ import "./chunk-MHUMLEBO.js";
63
+ import "./chunk-IRSL7JRH.js";
64
+ import "./chunk-O7SIXJM6.js";
53
65
  import "./chunk-LRKZP7DJ.js";
54
66
 
55
- // node_modules/.pnpm/mcporter@0.15.0/node_modules/mcporter/dist/cli/config/add.js
67
+ // node_modules/.pnpm/mcporter@0.16.1/node_modules/mcporter/dist/cli/config/add.js
56
68
  import path2 from "node:path";
57
69
 
58
- // node_modules/.pnpm/mcporter@0.15.0/node_modules/mcporter/dist/cli/config/shared.js
70
+ // node_modules/.pnpm/mcporter@0.16.1/node_modules/mcporter/dist/cli/config/shared.js
59
71
  import fs from "node:fs/promises";
60
72
  import path from "node:path";
61
73
  var COLOR_ENABLED = () => Boolean(supportsAnsiColor && process.stdout.isTTY);
@@ -184,7 +196,7 @@ function isErrno(error, code) {
184
196
  return Boolean(error && typeof error === "object" && error.code === code);
185
197
  }
186
198
 
187
- // node_modules/.pnpm/mcporter@0.15.0/node_modules/mcporter/dist/cli/config/add.js
199
+ // node_modules/.pnpm/mcporter@0.16.1/node_modules/mcporter/dist/cli/config/add.js
188
200
  async function handleAddCommand(options, args) {
189
201
  const name = args.shift();
190
202
  if (!name) {
@@ -477,7 +489,7 @@ function looksLikeHttp(value) {
477
489
  return value.startsWith("http://") || value.startsWith("https://");
478
490
  }
479
491
 
480
- // node_modules/.pnpm/mcporter@0.15.0/node_modules/mcporter/dist/cli/config/auth.js
492
+ // node_modules/.pnpm/mcporter@0.16.1/node_modules/mcporter/dist/cli/config/auth.js
481
493
  async function handleLoginCommand(options, args) {
482
494
  if (args.length === 0) {
483
495
  throw new CliUsageError("Usage: mcporter config login <name|url>");
@@ -495,31 +507,114 @@ async function handleLogoutCommand(options, args) {
495
507
  console.log(`Cleared cached credentials for '${target.name}'`);
496
508
  }
497
509
 
498
- // node_modules/.pnpm/mcporter@0.15.0/node_modules/mcporter/dist/cli/config/doctor.js
510
+ // node_modules/.pnpm/mcporter@0.16.1/node_modules/mcporter/dist/cli/config/doctor.js
499
511
  import path3 from "node:path";
512
+ function isVaultDocument(document) {
513
+ if (!document || typeof document !== "object")
514
+ return false;
515
+ const { version, entries } = document;
516
+ return (version === 1 || version === 2) && !!entries && typeof entries === "object";
517
+ }
518
+ async function reportVault(issues, configuredPolicy) {
519
+ const vaultPath = getOAuthVaultPath();
520
+ let stats;
521
+ let problem;
522
+ let encrypted = false;
523
+ try {
524
+ const document = await readJsonFile(vaultPath);
525
+ encrypted = hasVaultEncryptionMarker(document && typeof document === "object" ? document.encryption : void 0, vaultPath);
526
+ if (document === void 0) {
527
+ stats = "absent";
528
+ } else if (isVaultDocument(document)) {
529
+ stats = describeVaultSecrets(document.entries);
530
+ } else {
531
+ stats = "unreadable";
532
+ problem = "The OAuth vault is not a valid OAuth vault document; mcporter will rewrite it on the next credential write.";
533
+ }
534
+ } catch (error) {
535
+ if (!(error instanceof SyntaxError) && !(error instanceof VaultEncryptionError))
536
+ throw error;
537
+ stats = "unreadable";
538
+ problem = error instanceof VaultEncryptionError ? error.message : "The OAuth vault is not valid JSON; mcporter will rewrite it on the next credential write.";
539
+ }
540
+ const label = typeof stats === "string" ? stats : `${stats.entries} entries, ${stats.sealed} sealed values, ${stats.plaintext} plaintext values`;
541
+ console.log(`OAuth vault: ${vaultPath} (${label})`);
542
+ if (problem)
543
+ issues.push(problem);
544
+ try {
545
+ const settings = readVaultEncryptionSettings(process.env, configuredPolicy);
546
+ console.log(`Vault encryption: policy ${settings.policy}, ${VAULT_PASSWORD_ENV} ${settings.password === void 0 ? "unset" : "set"}`);
547
+ if (typeof stats === "string")
548
+ return;
549
+ if ((encrypted || stats.sealed > 0) && settings.password === void 0) {
550
+ issues.push(`The OAuth vault ${encrypted ? "is marked encrypted" : `holds ${stats.sealed} sealed values`} but ${VAULT_PASSWORD_ENV} is unset; OAuth-backed servers will fail until it is set.`);
551
+ }
552
+ if (stats.plaintext > 0 && settings.password !== void 0) {
553
+ const source = process.env[VAULT_ENCRYPTION_POLICY_ENV] ? `${VAULT_ENCRYPTION_POLICY_ENV}=required` : 'oauthVaultEncryption "required"';
554
+ issues.push(`The OAuth vault holds ${stats.plaintext} plaintext secret values${settings.policy === "required" ? ` under ${source}` : ""}; they are sealed on the next vault write.`);
555
+ }
556
+ } catch (error) {
557
+ if (!(error instanceof VaultEncryptionError))
558
+ throw error;
559
+ issues.push(error.message);
560
+ }
561
+ }
562
+ async function reportTokenCaches(issues, servers, configuredPolicy) {
563
+ let password;
564
+ try {
565
+ password = readVaultEncryptionSettings(process.env, configuredPolicy).password;
566
+ } catch (error) {
567
+ if (!(error instanceof VaultEncryptionError))
568
+ throw error;
569
+ }
570
+ for (const server of servers) {
571
+ if (!server.tokenCacheDir)
572
+ continue;
573
+ const dir = server.tokenCacheDir;
574
+ let stats;
575
+ try {
576
+ stats = await describeTokenCacheDir(dir);
577
+ } catch (error) {
578
+ if (!(error instanceof VaultEncryptionError))
579
+ throw error;
580
+ issues.push(error.message);
581
+ continue;
582
+ }
583
+ const label = stats === "absent" ? "absent" : `${stats.sealed} sealed values, ${stats.plaintext} plaintext values`;
584
+ console.log(`Token cache ${dir} (${server.name}): ${label}`);
585
+ if (stats === "absent")
586
+ continue;
587
+ if ((stats.encrypted || stats.sealed > 0) && password === void 0) {
588
+ issues.push(`Token cache ${dir} ${stats.encrypted ? "is marked encrypted" : `holds ${stats.sealed} sealed values`} but ${VAULT_PASSWORD_ENV} is unset; '${server.name}' will fail until it is set.`);
589
+ }
590
+ if (stats.plaintext > 0 && password !== void 0) {
591
+ issues.push(`Token cache ${dir} holds ${stats.plaintext} plaintext secret values; they are sealed on the next write.`);
592
+ }
593
+ }
594
+ }
500
595
  async function handleDoctorCommand(options, _args) {
501
596
  console.log(`MCPorter ${MCPORTER_VERSION}`);
502
- const configLocations = await resolveConfigLocations(options.loadOptions);
503
- logConfigLocations(configLocations, { leadingNewline: false });
597
+ logConfigLocations(await resolveConfigLocations(options.loadOptions), { leadingNewline: false });
504
598
  console.log("");
505
- const servers = await loadServerDefinitions(options.loadOptions);
506
599
  const issues = [];
507
- for (const server of servers) {
600
+ const snapshot = await loadConfigSnapshot(options.loadOptions);
601
+ for (const server of snapshot.servers) {
508
602
  if (server.command.kind === "stdio" && !path3.isAbsolute(server.command.cwd)) {
509
603
  issues.push(`Server '${server.name}' has a non-absolute working directory.`);
510
604
  }
511
605
  }
606
+ await reportVault(issues, snapshot.vaultEncryption);
607
+ await reportTokenCaches(issues, snapshot.servers, snapshot.vaultEncryption);
512
608
  if (issues.length === 0) {
513
609
  console.log("Config looks good.");
514
610
  return;
515
611
  }
516
612
  console.log("Config issues detected:");
517
- for (const issue of issues) {
613
+ for (const issue of issues)
518
614
  console.log(` - ${issue}`);
519
- }
520
615
  }
521
616
 
522
- // node_modules/.pnpm/mcporter@0.15.0/node_modules/mcporter/dist/cli/config/render.js
617
+ // node_modules/.pnpm/mcporter@0.16.1/node_modules/mcporter/dist/cli/config/render.js
523
618
  function serializeDefinition(definition) {
524
619
  const origin = definition.source ?? { kind: "local", path: "" };
525
620
  const sharedFields = pickSharedDefinitionFields(definition);
@@ -614,7 +709,7 @@ function printConfigUsageExamples() {
614
709
  ];
615
710
  }
616
711
 
617
- // node_modules/.pnpm/mcporter@0.15.0/node_modules/mcporter/dist/cli/config/get.js
712
+ // node_modules/.pnpm/mcporter@0.16.1/node_modules/mcporter/dist/cli/config/get.js
618
713
  async function handleGetCommand(options, args) {
619
714
  const flags = extractGetFlags(args);
620
715
  const name = args.shift();
@@ -656,7 +751,7 @@ function extractGetFlags(args) {
656
751
  return { format };
657
752
  }
658
753
 
659
- // node_modules/.pnpm/mcporter@0.15.0/node_modules/mcporter/dist/cli/config/help.js
754
+ // node_modules/.pnpm/mcporter@0.16.1/node_modules/mcporter/dist/cli/config/help.js
660
755
  var CONFIG_HELP_ENTRIES = {
661
756
  list: {
662
757
  name: "list [options] [filter]",
@@ -862,7 +957,7 @@ function printSubcommandHelp(subcommand, colorize) {
862
957
  console.log(lines.join("\n"));
863
958
  }
864
959
 
865
- // node_modules/.pnpm/mcporter@0.15.0/node_modules/mcporter/dist/cli/config/import.js
960
+ // node_modules/.pnpm/mcporter@0.16.1/node_modules/mcporter/dist/cli/config/import.js
866
961
  import path4 from "node:path";
867
962
  async function handleImportCommand(options, args) {
868
963
  const kind = args.shift();
@@ -961,7 +1056,7 @@ function extractImportFlags(args) {
961
1056
  return flags;
962
1057
  }
963
1058
 
964
- // node_modules/.pnpm/mcporter@0.15.0/node_modules/mcporter/dist/cli/config/list.js
1059
+ // node_modules/.pnpm/mcporter@0.16.1/node_modules/mcporter/dist/cli/config/list.js
965
1060
  async function handleListCommand(options, args) {
966
1061
  const flags = extractListFlags(args);
967
1062
  const filter = args.shift();
@@ -1047,7 +1142,7 @@ function filterMatches(filter, server) {
1047
1142
  return server.name.includes(filter);
1048
1143
  }
1049
1144
 
1050
- // node_modules/.pnpm/mcporter@0.15.0/node_modules/mcporter/dist/cli/config/remove.js
1145
+ // node_modules/.pnpm/mcporter@0.16.1/node_modules/mcporter/dist/cli/config/remove.js
1051
1146
  async function handleRemoveCommand(options, args) {
1052
1147
  const name = args.shift();
1053
1148
  if (!name) {
@@ -1072,7 +1167,7 @@ async function handleRemoveCommand(options, args) {
1072
1167
  console.log(`Removed '${targetName}' from ${configPath}`);
1073
1168
  }
1074
1169
 
1075
- // node_modules/.pnpm/mcporter@0.15.0/node_modules/mcporter/dist/cli/config-command.js
1170
+ // node_modules/.pnpm/mcporter@0.16.1/node_modules/mcporter/dist/cli/config-command.js
1076
1171
  async function handleConfigCli(options, args) {
1077
1172
  const initialToken = args[0];
1078
1173
  if (args.length === 0 || initialToken && isHelpToken(initialToken)) {
@@ -0,0 +1,32 @@
1
+ import { createRequire as __createRequire } from "node:module"; const require = __createRequire(import.meta.url);
2
+ import {
3
+ handleDaemonCli
4
+ } from "./chunk-UFV6SVQG.js";
5
+ import "./chunk-B6S43WID.js";
6
+ import "./chunk-GTETFUPQ.js";
7
+ import "./chunk-PSE442BC.js";
8
+ import "./chunk-6P3KAQ5N.js";
9
+ import "./chunk-F2X4Y2TQ.js";
10
+ import "./chunk-2AKSS7WR.js";
11
+ import "./chunk-2YV72LUA.js";
12
+ import "./chunk-THRMUZZD.js";
13
+ import "./chunk-V42T3QNK.js";
14
+ import "./chunk-O3RTM5HD.js";
15
+ import "./chunk-3ETUDW7N.js";
16
+ import "./chunk-QNXOIF5U.js";
17
+ import "./chunk-6O42UGLI.js";
18
+ import "./chunk-CXST5CVH.js";
19
+ import "./chunk-7U5NSQ5T.js";
20
+ import "./chunk-3LENTPGE.js";
21
+ import "./chunk-JEHI2YU4.js";
22
+ import "./chunk-IWCVZ46B.js";
23
+ import "./chunk-T4MQCFIK.js";
24
+ import "./chunk-BHXCAVFP.js";
25
+ import "./chunk-MHUMLEBO.js";
26
+ import "./chunk-IRSL7JRH.js";
27
+ import "./chunk-UVRJ3AAD.js";
28
+ import "./chunk-O7SIXJM6.js";
29
+ import "./chunk-LRKZP7DJ.js";
30
+ export {
31
+ handleDaemonCli
32
+ };