@wirecat/cli-memo 0.131.20 → 0.131.21

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 (179) hide show
  1. package/README.md +2 -3
  2. package/dist/actions/command.d.ts +1 -1
  3. package/dist/actions/command.d.ts.map +1 -1
  4. package/dist/actions/command.js +12 -1
  5. package/dist/actions/command.js.map +1 -1
  6. package/dist/bin/memo.js +2 -2
  7. package/dist/bin/memo.js.map +1 -1
  8. package/dist/bundle/{all-profiles-MVF2XGZK.js → all-profiles-EZLU6CY7.js} +9 -7
  9. package/dist/bundle/{anthropic-OPFHMF2S.js → anthropic-XC34PJH5.js} +6 -4
  10. package/dist/bundle/{app-server-VHVC55S3.js → app-server-26YPLJ7M.js} +53 -48
  11. package/dist/bundle/auto-QHTPHGNA.js +86 -0
  12. package/dist/bundle/{bun-P6TMDZGU.js → bun-CKGKUKW5.js} +2 -2
  13. package/dist/bundle/{bun-sqlite-3G3NLK4O.js → bun-sqlite-S6KUSMTC.js} +5 -3
  14. package/dist/bundle/{chunk-XZWUBDBG.js → chunk-2NJUPIAO.js} +1 -1
  15. package/dist/bundle/{chunk-RFB5LOYR.js → chunk-2TBIVKBH.js} +8 -6
  16. package/dist/bundle/{chunk-3DVKC2XM.js → chunk-3V4WIGWC.js} +8 -19
  17. package/dist/bundle/{chunk-BMHSGZNE.js → chunk-5RBLNI6C.js} +4 -4
  18. package/dist/bundle/{chunk-LKYHSVQL.js → chunk-7F6FGMCC.js} +8 -8
  19. package/dist/bundle/{chunk-FMSA2X3E.js → chunk-7MLWSUEK.js} +1 -1
  20. package/dist/bundle/{chunk-3BMUVKC7.js → chunk-7NEWBM2O.js} +13 -9
  21. package/dist/bundle/{chunk-SO6VNTF6.js → chunk-AIIQ7YU4.js} +1 -1
  22. package/dist/bundle/{chunk-G7TF4E7B.js → chunk-B3YV6Z7Y.js} +8 -2
  23. package/dist/bundle/{chunk-IW3U6XXI.js → chunk-BB2MGFOZ.js} +6 -6
  24. package/dist/bundle/chunk-CCHHEMPM.js +71 -0
  25. package/dist/bundle/{chunk-6DG7VK3H.js → chunk-CCOYC6HL.js} +5 -5
  26. package/dist/bundle/{chunk-MXP4J6BJ.js → chunk-CDZZ2DZO.js} +70 -2517
  27. package/dist/bundle/{chunk-VUWUSGSN.js → chunk-CP5N3KH3.js} +4 -4
  28. package/dist/bundle/{chunk-NKTAEBCU.js → chunk-CRZSJHAK.js} +13 -9
  29. package/dist/bundle/{chunk-LPUFOWL3.js → chunk-D72URWJE.js} +1 -39
  30. package/dist/bundle/{chunk-BINR6MJ5.js → chunk-DNGHE2Q4.js} +1 -1
  31. package/dist/bundle/{chunk-KVVDRD7M.js → chunk-DZSWKA3K.js} +2 -2
  32. package/dist/bundle/{chunk-63XICXGM.js → chunk-E5FQ7U7L.js} +5 -3
  33. package/dist/bundle/{chunk-BPYQYZXA.js → chunk-EAYYWS67.js} +14 -12
  34. package/dist/bundle/chunk-EG2OMKWH.js +2423 -0
  35. package/dist/bundle/chunk-EW3XTUPB.js +166 -0
  36. package/dist/bundle/{chunk-KIEBEYKH.js → chunk-FFWK5NEZ.js} +10 -8
  37. package/dist/bundle/{chunk-3ORDQ62F.js → chunk-GV2FSWFS.js} +10 -8
  38. package/dist/bundle/chunk-ILHTNOIV.js +23 -0
  39. package/dist/bundle/{chunk-VQGVPDMH.js → chunk-INURBEAO.js} +20 -16
  40. package/dist/bundle/{chunk-OVFMY6ZP.js → chunk-IRDGD3QQ.js} +1 -1
  41. package/dist/bundle/{chunk-D6G23NFJ.js → chunk-J4GC33JU.js} +2 -2
  42. package/dist/bundle/{chunk-XWS4PTES.js → chunk-J55Z6EJ3.js} +363 -278
  43. package/dist/bundle/{chunk-TQNQS6TR.js → chunk-JJ3C5AYK.js} +64 -60
  44. package/dist/bundle/{chunk-LQJ4KHXK.js → chunk-JXH22ZGA.js} +15 -15
  45. package/dist/bundle/{chunk-5KUPVC5M.js → chunk-KUNA6MQZ.js} +2 -2
  46. package/dist/bundle/{chunk-LDVU22MF.js → chunk-LGNS4JVK.js} +8 -8
  47. package/dist/bundle/{chunk-57Q6NXQT.js → chunk-LR5EY5JY.js} +4 -4
  48. package/dist/bundle/{chunk-ZYM4M62Q.js → chunk-MCPDL5YU.js} +4 -4
  49. package/dist/bundle/{chunk-V7DZG62U.js → chunk-MHDLZCEO.js} +11 -9
  50. package/dist/bundle/{chunk-SHDZVM3B.js → chunk-NELE7AIX.js} +2 -2
  51. package/dist/bundle/{chunk-WRPRPVZF.js → chunk-NOG5O2NS.js} +44 -42
  52. package/dist/bundle/{chunk-FRB4UXJG.js → chunk-NWB5NAGB.js} +6 -6
  53. package/dist/bundle/{chunk-UC4IL2P7.js → chunk-OJRLTJRS.js} +1 -1
  54. package/dist/bundle/{chunk-OTHEM74Z.js → chunk-OUF6RCRZ.js} +6 -6
  55. package/dist/bundle/{chunk-JDJDNMCP.js → chunk-PF3ALSAV.js} +1 -1
  56. package/dist/bundle/{chunk-GJKM32WA.js → chunk-PO5C7VNC.js} +24 -22
  57. package/dist/bundle/chunk-PQLBPYJR.js +46 -0
  58. package/dist/bundle/{chunk-66YZUX2C.js → chunk-QMMUPDRK.js} +10 -10
  59. package/dist/bundle/{chunk-2MNEM2CH.js → chunk-R26CXR5Z.js} +9 -7
  60. package/dist/bundle/{chunk-F5CQ2NVA.js → chunk-RC7TIYUZ.js} +11 -9
  61. package/dist/bundle/{chunk-P22V2OLJ.js → chunk-RG6ITTLQ.js} +22 -16
  62. package/dist/bundle/{chunk-T557KUST.js → chunk-RHJC4PHV.js} +3 -3
  63. package/dist/bundle/{chunk-Z54GPSVH.js → chunk-RNXYDBQO.js} +186 -162
  64. package/dist/bundle/{chunk-YVECM7XA.js → chunk-SMDWUPXE.js} +4 -4
  65. package/dist/bundle/{chunk-KO455254.js → chunk-SXGAIQ5X.js} +13 -13
  66. package/dist/bundle/{chunk-EMKFG5BP.js → chunk-THGFFQCK.js} +3 -3
  67. package/dist/bundle/{chunk-2R25UBIH.js → chunk-TMNHNZVA.js} +26 -24
  68. package/dist/bundle/{chunk-WOIRWVDJ.js → chunk-UXCSNSUU.js} +563 -351
  69. package/dist/bundle/{chunk-EFKEG2BA.js → chunk-VECICKTE.js} +5 -5
  70. package/dist/bundle/{chunk-4MIPN37I.js → chunk-VQM3H422.js} +266 -176
  71. package/dist/bundle/chunk-VXHN3SWW.js +35 -0
  72. package/dist/bundle/{chunk-EL4ZKQUN.js → chunk-WEOFWTWZ.js} +6 -4
  73. package/dist/bundle/{chunk-LEUNYKL6.js → chunk-WUCQ56RP.js} +3 -3
  74. package/dist/bundle/{chunk-SJLVBJ2L.js → chunk-XA6YO24S.js} +2 -2
  75. package/dist/bundle/{chunk-36ULPM2W.js → chunk-XPRYBLTS.js} +6 -6
  76. package/dist/bundle/{chunk-2KOVYXWK.js → chunk-YAUDFROV.js} +1243 -743
  77. package/dist/bundle/{chunk-4G46QFK5.js → chunk-YUFUUQUO.js} +7 -5
  78. package/dist/bundle/{chunk-JHKTN6NL.js → chunk-ZCKU6WMX.js} +13 -11
  79. package/dist/bundle/{chunk-5XDYV2YT.js → chunk-ZD3STMY7.js} +1 -1
  80. package/dist/bundle/command-contract-TMVGYSQQ.js +32 -0
  81. package/dist/bundle/{decode-BUTF6VGO.js → decode-6XSZIZAA.js} +5 -3
  82. package/dist/bundle/dispatch-VUMQPYMA.js +411 -0
  83. package/dist/bundle/{echarts-KH3YOWMK.js → echarts-NGS4QG4E.js} +2 -2
  84. package/dist/bundle/{embed-WBVM7KQ2.js → embed-YNH5M6UL.js} +6 -4
  85. package/dist/bundle/{embedder-27HQIFHM.js → embedder-LLNK4JF4.js} +11 -9
  86. package/dist/bundle/{entry-K2WWMF2B.js → entry-DO6ZBFIS.js} +7 -5
  87. package/dist/bundle/failure-LHMJNFY6.js +66 -0
  88. package/dist/bundle/failure-Z2FXWIBY.js +24 -0
  89. package/dist/bundle/first-run-BXFQN6M5.js +27 -0
  90. package/dist/bundle/first-screen-56KZKY77.js +30 -0
  91. package/dist/bundle/{instructions-POJKHKRZ.js → instructions-4EJ4BBWD.js} +1 -1
  92. package/dist/bundle/mcp-A4HPKQK5.js +90 -0
  93. package/dist/bundle/{mcp-FUSDPAOL.js → mcp-MNI62HHE.js} +4 -2
  94. package/dist/bundle/memo.js +182 -39
  95. package/dist/bundle/{node-W245R2OP.js → node-QQXKQWNC.js} +2 -2
  96. package/dist/bundle/{node-sqlite-FUYOXFW5.js → node-sqlite-GJI2GMLW.js} +6 -4
  97. package/dist/bundle/{oauth-ATB3NWQA.js → oauth-Q5VGUPUR.js} +7 -5
  98. package/dist/bundle/{open-HEBEWCYB.js → open-NSXIYF3N.js} +5 -3
  99. package/dist/bundle/{openai-DN7NA2IU.js → openai-LHH7MSGQ.js} +10 -8
  100. package/dist/bundle/{process-QTIDOJMF.js → process-PI6XUJWP.js} +1 -1
  101. package/dist/bundle/{program-62ISSWCE.js → program-3ZTQ5FEM.js} +8288 -8293
  102. package/dist/bundle/{prompt-RQXVPJ4A.js → prompt-VFXA7IKL.js} +5 -3
  103. package/dist/bundle/{recognize-G7NIZ3IT.js → recognize-UWAARXOH.js} +4 -2
  104. package/dist/bundle/{remote-H452UBSK.js → remote-KGEVCB2Q.js} +7 -5
  105. package/dist/bundle/{rerank-77UYD2UD.js → rerank-SCBTCBPO.js} +7 -5
  106. package/dist/bundle/{serve-L6R4ODZV.js → serve-WPVKVR24.js} +9 -7
  107. package/dist/bundle/{server-NB3U4PPW.js → server-BMQBWBBN.js} +69 -63
  108. package/dist/bundle/server-NQK5EX7P.js +48 -0
  109. package/dist/bundle/server-UN43Y6BY.js +61 -0
  110. package/dist/bundle/{setup-ZGH5OZ7A.js → setup-FGSVWQ32.js} +47 -43
  111. package/dist/bundle/{state-KHMYDV4I.js → state-KGHS4C6J.js} +6 -4
  112. package/dist/bundle/{store-M7KGTLUG.js → store-VCVOIQES.js} +12 -10
  113. package/dist/bundle/store-maintenance-command-QTEWWDST.js +48 -0
  114. package/dist/bundle/update-XC6KAVCK.js +69 -0
  115. package/dist/config.d.ts +1 -1
  116. package/dist/config.d.ts.map +1 -1
  117. package/dist/config.js +2 -2
  118. package/dist/config.js.map +1 -1
  119. package/dist/contract-overrides/skill.d.ts.map +1 -1
  120. package/dist/contract-overrides/skill.js +14 -0
  121. package/dist/contract-overrides/skill.js.map +1 -1
  122. package/dist/examples.d.ts.map +1 -1
  123. package/dist/examples.js +26 -0
  124. package/dist/examples.js.map +1 -1
  125. package/dist/knowledge/project-actions-command.js +1 -1
  126. package/dist/knowledge/project-actions-command.js.map +1 -1
  127. package/dist/mail/command.d.ts.map +1 -1
  128. package/dist/mail/command.js +11 -1
  129. package/dist/mail/command.js.map +1 -1
  130. package/dist/mail/findings-command.d.ts +8 -0
  131. package/dist/mail/findings-command.d.ts.map +1 -0
  132. package/dist/mail/findings-command.js +80 -0
  133. package/dist/mail/findings-command.js.map +1 -0
  134. package/dist/mail/messages-command.d.ts.map +1 -1
  135. package/dist/mail/messages-command.js +27 -3
  136. package/dist/mail/messages-command.js.map +1 -1
  137. package/dist/mail/review-command.d.ts +12 -0
  138. package/dist/mail/review-command.d.ts.map +1 -0
  139. package/dist/mail/review-command.js +46 -0
  140. package/dist/mail/review-command.js.map +1 -0
  141. package/dist/mcp/catalogue.d.ts.map +1 -1
  142. package/dist/mcp/catalogue.js +1 -1
  143. package/dist/mcp/catalogue.js.map +1 -1
  144. package/dist/mcp/server.js +1 -1
  145. package/dist/mcp/server.js.map +1 -1
  146. package/dist/program.d.ts.map +1 -1
  147. package/dist/program.js +1 -1
  148. package/dist/program.js.map +1 -1
  149. package/dist/read-only.d.ts +1 -1
  150. package/dist/reasons.d.ts.map +1 -1
  151. package/dist/reasons.js +6 -0
  152. package/dist/reasons.js.map +1 -1
  153. package/dist/review/kinds.d.ts +0 -6
  154. package/dist/review/kinds.d.ts.map +1 -1
  155. package/dist/review/kinds.js +14 -45
  156. package/dist/review/kinds.js.map +1 -1
  157. package/dist/review/status.d.ts +1 -0
  158. package/dist/review/status.d.ts.map +1 -1
  159. package/dist/schedule/command.d.ts +3 -1
  160. package/dist/schedule/command.d.ts.map +1 -1
  161. package/dist/schedule/command.js +6 -1
  162. package/dist/schedule/command.js.map +1 -1
  163. package/dist/version.d.ts +1 -1
  164. package/dist/version.js +1 -1
  165. package/package.json +4 -3
  166. package/skills/cli-memo/SKILL.md +12 -4
  167. package/skills/mail-triage/SKILL.md +120 -0
  168. package/dist/bundle/auto-GDLRYDYK.js +0 -82
  169. package/dist/bundle/chunk-7J5HTZCM.js +0 -18
  170. package/dist/bundle/command-contract-NMJKYTS4.js +0 -30
  171. package/dist/bundle/failure-OJI6C5JA.js +0 -62
  172. package/dist/bundle/first-run-7P5N72VR.js +0 -23
  173. package/dist/bundle/first-screen-3GM5HC4Y.js +0 -28
  174. package/dist/bundle/mcp-YGWNSJUH.js +0 -86
  175. package/dist/bundle/server-SWUSQSRW.js +0 -44
  176. package/dist/bundle/server-W4IKTTUY.js +0 -57
  177. package/dist/bundle/store-maintenance-command-ZPN2ZUL4.js +0 -44
  178. package/dist/bundle/update-2IYA7RJU.js +0 -65
  179. /package/dist/bundle/{chunk-7YF2MSEC.js → chunk-YYQN5ES2.js} +0 -0
@@ -5,15 +5,15 @@ import {
5
5
  readLock,
6
6
  releaseLock,
7
7
  takeLock
8
- } from "./chunk-T557KUST.js";
8
+ } from "./chunk-RHJC4PHV.js";
9
9
  import {
10
10
  __name
11
11
  } from "./chunk-ZVVMGPBJ.js";
12
12
 
13
- // node_modules/.pnpm/@wirecat+cli-core@0.559.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_907a8c00de2c01e4b50d7050f36772c6/node_modules/@wirecat/cli-core/dist/mcp/http/state.js
13
+ // node_modules/.pnpm/@wirecat+cli-core@0.560.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5702f943a9224d209a94753f662cf36c/node_modules/@wirecat/cli-core/dist/mcp/http/state.js
14
14
  import { existsSync as existsSync2, readFileSync as readFileSync2 } from "node:fs";
15
15
 
16
- // node_modules/.pnpm/@wirecat+cli-core@0.559.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_907a8c00de2c01e4b50d7050f36772c6/node_modules/@wirecat/cli-core/dist/mcp/http/activity.js
16
+ // node_modules/.pnpm/@wirecat+cli-core@0.560.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5702f943a9224d209a94753f662cf36c/node_modules/@wirecat/cli-core/dist/mcp/http/activity.js
17
17
  import { randomBytes } from "node:crypto";
18
18
  import { chmodSync, existsSync, mkdirSync, readFileSync, renameSync, writeFileSync } from "node:fs";
19
19
  import { dirname } from "node:path";
@@ -86,7 +86,7 @@ var activityRecorder = /* @__PURE__ */ __name((path, now = Date.now) => {
86
86
  };
87
87
  }, "activityRecorder");
88
88
 
89
- // node_modules/.pnpm/@wirecat+cli-core@0.559.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_907a8c00de2c01e4b50d7050f36772c6/node_modules/@wirecat/cli-core/dist/mcp/http/state.js
89
+ // node_modules/.pnpm/@wirecat+cli-core@0.560.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5702f943a9224d209a94753f662cf36c/node_modules/@wirecat/cli-core/dist/mcp/http/state.js
90
90
  var ACCESS_SECONDS = 60 * 60;
91
91
  var REFRESH_SECONDS = 30 * 24 * 60 * 60;
92
92
  var readStored = /* @__PURE__ */ __name((path) => existsSync2(path) ? JSON.parse(readFileSync2(path, "utf8")) : { clients: [], tokens: [] }, "readStored");
@@ -5,7 +5,7 @@ import {
5
5
  } from "./chunk-QP3KNC5D.js";
6
6
  import {
7
7
  knownPermissionKeys
8
- } from "./chunk-GJKM32WA.js";
8
+ } from "./chunk-PO5C7VNC.js";
9
9
  import {
10
10
  checkConfigText,
11
11
  issueMessage,
@@ -13,15 +13,18 @@ import {
13
13
  readConfigText,
14
14
  settingPathOf,
15
15
  withoutSetting
16
- } from "./chunk-4MIPN37I.js";
16
+ } from "./chunk-VQM3H422.js";
17
17
  import {
18
18
  DEFAULT_DECISION_POLICY
19
- } from "./chunk-2KOVYXWK.js";
19
+ } from "./chunk-YAUDFROV.js";
20
+ import {
21
+ configFilePath,
22
+ resolvePaths,
23
+ saveConfigFile
24
+ } from "./chunk-CDZZ2DZO.js";
20
25
  import {
21
- CliError,
22
26
  array,
23
27
  boolean,
24
- configFilePath,
25
28
  integer,
26
29
  literal,
27
30
  minLength,
@@ -31,12 +34,13 @@ import {
31
34
  picklist,
32
35
  pipe,
33
36
  record,
34
- resolvePaths,
35
- saveConfigFile,
36
37
  strictObject,
37
38
  string,
38
39
  union
39
- } from "./chunk-MXP4J6BJ.js";
40
+ } from "./chunk-EG2OMKWH.js";
41
+ import {
42
+ CliError
43
+ } from "./chunk-CCHHEMPM.js";
40
44
  import {
41
45
  __name,
42
46
  __toESM
@@ -352,7 +356,7 @@ var loadConfig = /* @__PURE__ */ __name((env = process.env) => {
352
356
  var decisionPolicy = /* @__PURE__ */ __name((env) => {
353
357
  let agentDecisions = false;
354
358
  try {
355
- agentDecisions = loadConfig(env).agent_decisions !== false;
359
+ agentDecisions = loadConfig(env).agent_decisions === true;
356
360
  } catch {
357
361
  }
358
362
  return { ...DEFAULT_DECISION_POLICY, agentDecisions };
@@ -527,44 +527,6 @@ var require_cross_spawn = __commonJS({
527
527
  }
528
528
  });
529
529
 
530
- // node_modules/.pnpm/@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/executable.js
531
- import { existsSync } from "node:fs";
532
- import { win32 } from "node:path";
533
- var variable = /* @__PURE__ */ __name((env, name) => Object.entries(env).find(([key]) => key.toUpperCase() === name)?.[1], "variable");
534
- var executableOnPath = /* @__PURE__ */ __name((command, env, platform = process.platform, exists = existsSync) => {
535
- if (platform !== "win32" || win32.isAbsolute(command))
536
- return command;
537
- if (/[\\/]/.test(command))
538
- return command;
539
- const extensions = win32.extname(command) ? [""] : (variable(env, "PATHEXT") ?? ".EXE;.COM;.CMD;.BAT").split(";").filter((ext) => /^\.[a-z0-9]+$/i.test(ext));
540
- for (const entry of (variable(env, "PATH") ?? "").split(";")) {
541
- const directory = entry.replace(/^"(.*)"$/, "$1");
542
- for (const extension of extensions) {
543
- const candidate = win32.join(directory, command + extension);
544
- if (exists(candidate))
545
- return candidate;
546
- }
547
- }
548
- return command;
549
- }, "executableOnPath");
550
- var executableEnvironment = /* @__PURE__ */ __name((env, platform = process.platform) => {
551
- if (platform !== "win32")
552
- return env;
553
- const configured = variable(env, "COMSPEC");
554
- const system = variable(env, "SYSTEMROOT");
555
- const shell = configured ? configured : system && win32.isAbsolute(system) ? win32.join(system, "System32", "cmd.exe") : void 0;
556
- if (!shell)
557
- return env;
558
- const result = { ...env };
559
- for (const key of Object.keys(result))
560
- if (key.toUpperCase() === "COMSPEC")
561
- delete result[key];
562
- result.comspec = shell;
563
- return result;
564
- }, "executableEnvironment");
565
-
566
530
  export {
567
- require_cross_spawn,
568
- executableOnPath,
569
- executableEnvironment
531
+ require_cross_spawn
570
532
  };
@@ -4,7 +4,7 @@ import {
4
4
  __name
5
5
  } from "./chunk-ZVVMGPBJ.js";
6
6
 
7
- // node_modules/.pnpm/@wirecat+cli-core@0.559.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_907a8c00de2c01e4b50d7050f36772c6/node_modules/@wirecat/cli-core/dist/http/listen.js
7
+ // node_modules/.pnpm/@wirecat+cli-core@0.560.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5702f943a9224d209a94753f662cf36c/node_modules/@wirecat/cli-core/dist/http/listen.js
8
8
  import { createServer } from "node:http";
9
9
  import { Readable } from "node:stream";
10
10
  var MAX_BODY = 4 * 1024 * 1024;
@@ -2,12 +2,12 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  CliError
5
- } from "./chunk-MXP4J6BJ.js";
5
+ } from "./chunk-CCHHEMPM.js";
6
6
  import {
7
7
  __name
8
8
  } from "./chunk-ZVVMGPBJ.js";
9
9
 
10
- // node_modules/.pnpm/@wirecat+cli-core@0.559.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_907a8c00de2c01e4b50d7050f36772c6/node_modules/@wirecat/cli-core/dist/cli/input-policy.js
10
+ // node_modules/.pnpm/@wirecat+cli-core@0.560.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5702f943a9224d209a94753f662cf36c/node_modules/@wirecat/cli-core/dist/cli/input-policy.js
11
11
  var MAX_BUFFERED_INPUT = 16 * 1024 * 1024;
12
12
  var MAX_SECRET_INPUT = 64 * 1024;
13
13
  var policies = /* @__PURE__ */ new WeakMap();
@@ -1,7 +1,6 @@
1
1
  import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
- CliError,
5
4
  finite,
6
5
  getDotPath,
7
6
  maxValue,
@@ -10,12 +9,15 @@ import {
10
9
  optional,
11
10
  pipe,
12
11
  safeParse
13
- } from "./chunk-MXP4J6BJ.js";
12
+ } from "./chunk-EG2OMKWH.js";
13
+ import {
14
+ CliError
15
+ } from "./chunk-CCHHEMPM.js";
14
16
  import {
15
17
  __name
16
18
  } from "./chunk-ZVVMGPBJ.js";
17
19
 
18
- // node_modules/.pnpm/@wirecat+cli-core@0.559.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_907a8c00de2c01e4b50d7050f36772c6/node_modules/@wirecat/cli-core/dist/models/options.js
20
+ // node_modules/.pnpm/@wirecat+cli-core@0.560.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5702f943a9224d209a94753f662cf36c/node_modules/@wirecat/cli-core/dist/models/options.js
19
21
  var checkedOptions = /* @__PURE__ */ __name((provider, schema, options) => {
20
22
  const parsed = safeParse(schema, options);
21
23
  if (!parsed.success) {
@@ -1,30 +1,32 @@
1
1
  import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
- installerOf,
5
4
  updateCommand
6
- } from "./chunk-3DVKC2XM.js";
5
+ } from "./chunk-3V4WIGWC.js";
7
6
  import {
8
7
  QUESTIONS,
9
8
  readSetupAnswers,
10
9
  unanswered,
11
10
  writeSetupAnswers
12
- } from "./chunk-YVECM7XA.js";
11
+ } from "./chunk-SMDWUPXE.js";
13
12
  import {
14
13
  DEFAULT_STEMMERS,
15
14
  LANGUAGES
16
- } from "./chunk-LKYHSVQL.js";
15
+ } from "./chunk-7F6FGMCC.js";
17
16
  import {
18
17
  sharedConfigPath
19
- } from "./chunk-RFB5LOYR.js";
18
+ } from "./chunk-2TBIVKBH.js";
20
19
  import {
21
20
  storePath
22
- } from "./chunk-7J5HTZCM.js";
21
+ } from "./chunk-VXHN3SWW.js";
22
+ import {
23
+ installerOf
24
+ } from "./chunk-ILHTNOIV.js";
23
25
  import {
24
26
  __name
25
27
  } from "./chunk-ZVVMGPBJ.js";
26
28
 
27
- // node_modules/.pnpm/@wirecat+cli-core@0.559.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_907a8c00de2c01e4b50d7050f36772c6/node_modules/@wirecat/cli-core/dist/cli/first-run.js
29
+ // node_modules/.pnpm/@wirecat+cli-core@0.560.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5702f943a9224d209a94753f662cf36c/node_modules/@wirecat/cli-core/dist/cli/first-run.js
28
30
  import { spawnSync } from "node:child_process";
29
31
  import { accessSync, constants, realpathSync } from "node:fs";
30
32
  import { delimiter, join } from "node:path";
@@ -82,7 +84,7 @@ var suggested = /* @__PURE__ */ __name((env, contentLanguages) => {
82
84
  return (own.length ? own : LANGUAGES.filter(({ code }) => code === "en" || code === system)).map(({ name }) => name);
83
85
  }, "suggested");
84
86
  var askLanguages = /* @__PURE__ */ __name(async ({ command, env, io, contentLanguages }) => {
85
- const { openStore } = await import("./store-M7KGTLUG.js");
87
+ const { openStore } = await import("./store-VCVOIQES.js");
86
88
  const store = await openStore({ env });
87
89
  let rebuild = false;
88
90
  try {
@@ -111,8 +113,8 @@ var askLanguages = /* @__PURE__ */ __name(async ({ command, env, io, contentLang
111
113
  if (!rebuild)
112
114
  return;
113
115
  const [{ openCache }, { buildStems }] = await Promise.all([
114
- import("./open-HEBEWCYB.js"),
115
- import("./store-maintenance-command-ZPN2ZUL4.js")
116
+ import("./open-NSXIYF3N.js"),
117
+ import("./store-maintenance-command-QTEWWDST.js")
116
118
  ]);
117
119
  const database = await openCache(storePath(env));
118
120
  try {
@@ -124,7 +126,7 @@ var askLanguages = /* @__PURE__ */ __name(async ({ command, env, io, contentLang
124
126
  var askTools = /* @__PURE__ */ __name(async (run) => {
125
127
  const { command, env, io } = run;
126
128
  const installed = run.installed ?? ((name) => onPath(name, env));
127
- const { WIRECAT_TOOLS } = await import("./first-screen-3GM5HC4Y.js");
129
+ const { WIRECAT_TOOLS } = await import("./first-screen-56KZKY77.js");
128
130
  const others = WIRECAT_TOOLS.filter((tool) => tool.command !== command);
129
131
  const missing = others.filter((tool) => !installed(tool.command));
130
132
  io.say("Other WireCat tools \u2014 they share this store, so one search finds everything:");
@@ -197,7 +199,7 @@ var setupAtStart = /* @__PURE__ */ __name(async (start) => {
197
199
  contentLanguages: start.contentLanguages,
198
200
  all: start.path[0] === "setup",
199
201
  io: {
200
- ask: /* @__PURE__ */ __name(async (prompt) => (await import("./prompt-RQXVPJ4A.js")).readSecret(prompt, { input, echo: true }), "ask"),
202
+ ask: /* @__PURE__ */ __name(async (prompt) => (await import("./prompt-VFXA7IKL.js")).readSecret(prompt, { input, echo: true }), "ask"),
201
203
  say: /* @__PURE__ */ __name((text) => process.stderr.write(`${text}
202
204
  `), "say")
203
205
  }