@wirecat/zoom-cli 0.61.0 → 0.62.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 (136) hide show
  1. package/dist/bin/zm.js +2 -2
  2. package/dist/bundle/{all-profiles-HZLIU6RZ.js → all-profiles-CGGNBINU.js} +8 -8
  3. package/dist/bundle/answer-policy-D46SGQ35.js +96 -0
  4. package/dist/bundle/{anthropic-O2YYPCVK.js → anthropic-KVWPIHFG.js} +4 -4
  5. package/dist/bundle/{app-server-YYCANTUE.js → app-server-NKKFBTQN.js} +50 -50
  6. package/dist/bundle/{bun-UEFRULAT.js → bun-XRO6XJHQ.js} +2 -2
  7. package/dist/bundle/{bun-sqlite-VVYKOY7S.js → bun-sqlite-FWNCLOAR.js} +3 -3
  8. package/dist/bundle/{chunk-IKZFR645.js → chunk-2DPMYUWQ.js} +10 -10
  9. package/dist/bundle/{chunk-LX6DO44O.js → chunk-2LLNPNMB.js} +1 -1
  10. package/dist/bundle/{chunk-P2NRA7E5.js → chunk-2NAM2XQG.js} +2 -2
  11. package/dist/bundle/{chunk-KXYURHVE.js → chunk-2T7MUSDB.js} +95 -95
  12. package/dist/bundle/{chunk-S726LZCH.js → chunk-3YBDRVOG.js} +6 -6
  13. package/dist/bundle/{chunk-4XI4PDEH.js → chunk-4OQVRDTG.js} +20 -20
  14. package/dist/bundle/{chunk-RSXLI5GP.js → chunk-4OTXE6CF.js} +52 -52
  15. package/dist/bundle/{chunk-VARX3SBT.js → chunk-4UUQEQ5D.js} +1 -1
  16. package/dist/bundle/{chunk-UYAKSUT5.js → chunk-5LMQTEU5.js} +5 -5
  17. package/dist/bundle/{chunk-BNUNZTOU.js → chunk-5MYLM6SU.js} +44 -26
  18. package/dist/bundle/{chunk-YESOQEOB.js → chunk-5NLFQ644.js} +543 -288
  19. package/dist/bundle/{chunk-5NRBNGR3.js → chunk-6R3GMSLR.js} +2 -2
  20. package/dist/bundle/{chunk-MTAVA2LS.js → chunk-6SK5SHCR.js} +2 -2
  21. package/dist/bundle/{chunk-H5EAHMQN.js → chunk-6SPWQCJF.js} +11 -11
  22. package/dist/bundle/{chunk-E4T7IJJO.js → chunk-6URISMGR.js} +26 -26
  23. package/dist/bundle/{chunk-XZ4OVTA5.js → chunk-72S5TXFN.js} +9 -9
  24. package/dist/bundle/{chunk-XX2PDQ54.js → chunk-73BAQ7PH.js} +24 -24
  25. package/dist/bundle/{chunk-F32GKBMF.js → chunk-7AY3ADNV.js} +5 -5
  26. package/dist/bundle/{chunk-COU66X3X.js → chunk-7CNRZSAV.js} +4 -4
  27. package/dist/bundle/{chunk-77GJITSU.js → chunk-7LQLJ7LW.js} +2 -2
  28. package/dist/bundle/{chunk-KGZHRJ7H.js → chunk-AMIIU3UZ.js} +4 -4
  29. package/dist/bundle/{chunk-HTGBUE2U.js → chunk-BJPFWPKH.js} +2 -2
  30. package/dist/bundle/{chunk-2M2U43IF.js → chunk-BNTAQADF.js} +2 -2
  31. package/dist/bundle/{chunk-PCUPOGKR.js → chunk-BPMKLWHV.js} +4 -4
  32. package/dist/bundle/{chunk-JKWYXBGK.js → chunk-CXPHUOJR.js} +12 -12
  33. package/dist/bundle/{chunk-NVN4O5IC.js → chunk-D6FTCPXA.js} +9 -9
  34. package/dist/bundle/{chunk-KZGHGU2M.js → chunk-DIXC56OU.js} +4 -4
  35. package/dist/bundle/{chunk-TD4Y5LXG.js → chunk-ECXRRW7J.js} +18 -18
  36. package/dist/bundle/{chunk-M3EVVGR6.js → chunk-EG7HC4EC.js} +2 -2
  37. package/dist/bundle/{chunk-B45MFBBF.js → chunk-EJFSS65P.js} +6 -6
  38. package/dist/bundle/{chunk-FQ54A7GI.js → chunk-EOEDICIE.js} +1 -1
  39. package/dist/bundle/{chunk-7ATLKYBN.js → chunk-FAOLCUKV.js} +17 -17
  40. package/dist/bundle/{chunk-KPZIQKOF.js → chunk-FDCGTODC.js} +1 -1
  41. package/dist/bundle/{chunk-OU46OTTE.js → chunk-GOESXUJQ.js} +3 -3
  42. package/dist/bundle/{chunk-CUSGSXSR.js → chunk-HIZQYFY3.js} +3 -3
  43. package/dist/bundle/{chunk-MBMDF5EL.js → chunk-IK2OSV5C.js} +6 -6
  44. package/dist/bundle/{chunk-6SLGIPLT.js → chunk-IOCS5FXW.js} +2 -2
  45. package/dist/bundle/{chunk-AOSIU5T6.js → chunk-IOUPXUFH.js} +37 -36
  46. package/dist/bundle/{chunk-KZV5GU7G.js → chunk-IR73ZZY6.js} +8 -8
  47. package/dist/bundle/{chunk-FBJC7OCI.js → chunk-JBBZCTTF.js} +1 -1
  48. package/dist/bundle/{chunk-QHT2LZRW.js → chunk-JDJDVYGS.js} +6 -6
  49. package/dist/bundle/{chunk-SVBM6F4Z.js → chunk-JYVFFUIX.js} +1 -1
  50. package/dist/bundle/{chunk-4XPIOW5L.js → chunk-KM7Q67Z3.js} +1 -1
  51. package/dist/bundle/{chunk-U4Y2QQ2D.js → chunk-KMQUZ4YM.js} +3 -3
  52. package/dist/bundle/{chunk-CMG54Q4X.js → chunk-LXYC75D3.js} +25 -25
  53. package/dist/bundle/{chunk-E4QPLXZT.js → chunk-M2WQWF3I.js} +47 -47
  54. package/dist/bundle/{chunk-T7IQMYPW.js → chunk-M6FCCVYZ.js} +4 -3
  55. package/dist/bundle/{chunk-O3WVOAT7.js → chunk-M7YNOK4D.js} +10 -10
  56. package/dist/bundle/{chunk-HF233RN4.js → chunk-MI3JK6MW.js} +10 -10
  57. package/dist/bundle/{chunk-FXY45HU7.js → chunk-MIUPH3WA.js} +6 -6
  58. package/dist/bundle/{chunk-7DMMNCY2.js → chunk-MLNC5N7H.js} +3 -3
  59. package/dist/bundle/{chunk-OLZE27RS.js → chunk-N3KQ7XND.js} +2 -2
  60. package/dist/bundle/{chunk-XOJGXWTK.js → chunk-NQCFUYC2.js} +8 -8
  61. package/dist/bundle/{chunk-6LHTWR3X.js → chunk-Q4ZE2LXE.js} +2 -2
  62. package/dist/bundle/{chunk-67WW33JB.js → chunk-QLQ7VVLK.js} +4 -4
  63. package/dist/bundle/{chunk-6RV7KXDF.js → chunk-QUWMFBMS.js} +6 -6
  64. package/dist/bundle/{chunk-WVYSOV3C.js → chunk-RWG44LQD.js} +4 -4
  65. package/dist/bundle/{chunk-L7VIPVHL.js → chunk-SB47UAW2.js} +49 -39
  66. package/dist/bundle/{chunk-LXOSBFWW.js → chunk-SEH7DBAM.js} +7 -7
  67. package/dist/bundle/{chunk-FAOVUALC.js → chunk-SPJJCD2A.js} +13 -13
  68. package/dist/bundle/{chunk-UPWHCUVA.js → chunk-TILW3EJY.js} +334 -293
  69. package/dist/bundle/{chunk-LPJ3S6GE.js → chunk-TQFCPUIM.js} +1 -1
  70. package/dist/bundle/{chunk-BPQNTYLN.js → chunk-TZE6WXID.js} +565 -297
  71. package/dist/bundle/{chunk-OMUX4LSS.js → chunk-UD4FKICZ.js} +4 -4
  72. package/dist/bundle/{chunk-DLAFGSTN.js → chunk-UIPT6IAU.js} +1 -1
  73. package/dist/bundle/{chunk-35X6G276.js → chunk-URJZK4GX.js} +1 -1
  74. package/dist/bundle/{chunk-RGOBGHWE.js → chunk-VFJ3MOIR.js} +3 -3
  75. package/dist/bundle/{chunk-GNHPYQMM.js → chunk-XAXXEZZ5.js} +2 -2
  76. package/dist/bundle/{chunk-OVVDOVLN.js → chunk-YBMOFCY5.js} +2 -2
  77. package/dist/bundle/{chunk-3TGR4RDD.js → chunk-YF2PT5KA.js} +31 -31
  78. package/dist/bundle/{chunk-ABCHE4YP.js → chunk-YFIUXE25.js} +3 -3
  79. package/dist/bundle/{chunk-MVRCLMQL.js → chunk-YI6ZNDPC.js} +22 -12
  80. package/dist/bundle/{chunk-B3PTSX5D.js → chunk-YJN4XYNA.js} +2 -2
  81. package/dist/bundle/{cli-O4LAGYXI.js → cli-AHPIESAC.js} +63 -53
  82. package/dist/bundle/command-contract-HVLI3OKU.js +38 -0
  83. package/dist/bundle/config-UW6W34I2.js +78 -0
  84. package/dist/bundle/{decode-WRMZJJCR.js → decode-ZU7WLMMV.js} +3 -3
  85. package/dist/bundle/{dist-SQK4GIJT.js → dist-LTS7VI3S.js} +14 -14
  86. package/dist/bundle/{echarts-3DOOJSQR.js → echarts-YNGCOYHW.js} +2 -2
  87. package/dist/bundle/{embed-OYRHTMFI.js → embed-VWWOW7PP.js} +4 -4
  88. package/dist/bundle/{embedder-ZAYCL22W.js → embedder-T5GJC7M2.js} +7 -7
  89. package/dist/bundle/{first-run-QXSPIXOQ.js → first-run-PX3SHPUU.js} +8 -8
  90. package/dist/bundle/first-screen-RAPEZG57.js +36 -0
  91. package/dist/bundle/{folders-EXQLKXVK.js → folders-VXMDFC2D.js} +2 -2
  92. package/dist/bundle/{instructions-GFEOB7XJ.js → instructions-GJHHFV64.js} +1 -1
  93. package/dist/bundle/{main-RADF3CRI.js → main-IYCD6MBH.js} +16 -16
  94. package/dist/bundle/{mcp-WSGVVZWI.js → mcp-EMNFFY4N.js} +2 -2
  95. package/dist/bundle/{meetings-6BIIT42H.js → meetings-GHYNIOHG.js} +4 -4
  96. package/dist/bundle/{node-A3B2YRQI.js → node-GFOH6FKP.js} +2 -2
  97. package/dist/bundle/{node-sqlite-XRP5FUDY.js → node-sqlite-QXKSPHTP.js} +3 -3
  98. package/dist/bundle/{oauth-YICY4AN4.js → oauth-A6I2OMDD.js} +5 -5
  99. package/dist/bundle/{open-4CNKSQRB.js → open-TQKCU447.js} +2 -2
  100. package/dist/bundle/{openai-YYRO3X7I.js → openai-XE3BJXOI.js} +9 -9
  101. package/dist/bundle/{output-file-7BXYV6OL.js → output-file-FQNFCUKE.js} +3 -3
  102. package/dist/bundle/{process-A45QXKID.js → process-XVDX4SPD.js} +1 -1
  103. package/dist/bundle/{program-DTP7BRTW.js → program-UYK4AD2W.js} +69 -69
  104. package/dist/bundle/{prompt-5LMKO7SE.js → prompt-ISYG5RWM.js} +3 -3
  105. package/dist/bundle/{recognize-MB6WRGUD.js → recognize-KENPECLZ.js} +2 -2
  106. package/dist/bundle/{remote-PD7WMTTS.js → remote-ZP5XTDCC.js} +5 -5
  107. package/dist/bundle/{rerank-7E6GQ5Y6.js → rerank-SG653RHT.js} +5 -5
  108. package/dist/bundle/{run-log-TCFK4LEC.js → run-log-HYKGQ42E.js} +53 -53
  109. package/dist/bundle/{serve-JBT2BWHK.js → serve-6UJCZD7Z.js} +7 -7
  110. package/dist/bundle/server-AXE37E6Q.js +66 -0
  111. package/dist/bundle/{server-H2UPGGBI.js → server-ZAYEDPFR.js} +42 -42
  112. package/dist/bundle/{services-SJOTKL5V.js → services-KMH7XZPY.js} +31 -27
  113. package/dist/bundle/{speech-4SL25GSC.js → speech-LINBLG5E.js} +11 -11
  114. package/dist/bundle/{state-FVMTDZ6B.js → state-4RKZNHE7.js} +4 -4
  115. package/dist/bundle/{store-TI77SCNL.js → store-253N7NUC.js} +15 -15
  116. package/dist/bundle/{store-DNPKBUVO.js → store-JTBHRQZK.js} +13 -13
  117. package/dist/bundle/store-connection-PWLUMCP7.js +76 -0
  118. package/dist/bundle/store-maintenance-command-XRNECVDU.js +55 -0
  119. package/dist/bundle/{streaming-UHAHGPH5.js → streaming-YW64OKKQ.js} +4 -4
  120. package/dist/bundle/{tokens-Y2MX6JBL.js → tokens-DPBC2P3I.js} +4 -4
  121. package/dist/bundle/zm.js +1 -1
  122. package/dist/tokens.d.ts +6 -1
  123. package/dist/tokens.d.ts.map +1 -1
  124. package/dist/tokens.js +21 -10
  125. package/dist/tokens.js.map +1 -1
  126. package/dist/version.d.ts +1 -1
  127. package/dist/version.js +1 -1
  128. package/package.json +3 -3
  129. package/dist/bundle/answer-policy-GRODO2DY.js +0 -96
  130. package/dist/bundle/command-contract-67QKBY6M.js +0 -38
  131. package/dist/bundle/config-ABURZDD2.js +0 -78
  132. package/dist/bundle/first-screen-MD6HWIJW.js +0 -36
  133. package/dist/bundle/server-CFIKEPLG.js +0 -66
  134. package/dist/bundle/store-connection-GIFWWMNO.js +0 -76
  135. package/dist/bundle/store-maintenance-command-WBKGF2CZ.js +0 -55
  136. /package/dist/bundle/{chunk-62EDJKGP.js → chunk-NPGVOZVK.js} +0 -0
@@ -6,22 +6,22 @@ import {
6
6
  agentArguments,
7
7
  agentJson,
8
8
  commandAvailability
9
- } from "./chunk-FAOVUALC.js";
9
+ } from "./chunk-SPJJCD2A.js";
10
10
  import {
11
11
  callerOf
12
- } from "./chunk-2M2U43IF.js";
12
+ } from "./chunk-BNTAQADF.js";
13
13
  import {
14
14
  lentConnection,
15
15
  refuseLacking
16
- } from "./chunk-TD4Y5LXG.js";
16
+ } from "./chunk-ECXRRW7J.js";
17
17
  import {
18
18
  onlineDeps,
19
19
  servicesFor,
20
20
  storeModeDeps
21
- } from "./chunk-YESOQEOB.js";
21
+ } from "./chunk-5NLFQ644.js";
22
22
  import {
23
23
  ENTITIES
24
- } from "./chunk-KXYURHVE.js";
24
+ } from "./chunk-2T7MUSDB.js";
25
25
  import {
26
26
  DEFAULT_OUTPUT_BYTES,
27
27
  LOCAL_WRITE,
@@ -35,32 +35,32 @@ import {
35
35
  refuseStoreChange,
36
36
  sealed,
37
37
  startRecording
38
- } from "./chunk-AOSIU5T6.js";
38
+ } from "./chunk-IOUPXUFH.js";
39
39
  import {
40
40
  currentCaller,
41
41
  keepsSuccess,
42
42
  runContextOf,
43
43
  withCaller
44
- } from "./chunk-XOJGXWTK.js";
44
+ } from "./chunk-NQCFUYC2.js";
45
45
  import {
46
46
  enclosingTraceId,
47
47
  inRun,
48
48
  newRunId,
49
49
  traceOf
50
- } from "./chunk-4XI4PDEH.js";
50
+ } from "./chunk-4OQVRDTG.js";
51
51
  import {
52
52
  failureContext
53
- } from "./chunk-T7IQMYPW.js";
53
+ } from "./chunk-M6FCCVYZ.js";
54
54
  import {
55
55
  authorityAllowed,
56
56
  botApiAllowed,
57
57
  keyForCommand,
58
58
  levelFor,
59
59
  readKeysForCommand
60
- } from "./chunk-CUSGSXSR.js";
60
+ } from "./chunk-HIZQYFY3.js";
61
61
  import {
62
62
  MAX_BUFFERED_INPUT
63
- } from "./chunk-MTAVA2LS.js";
63
+ } from "./chunk-6SK5SHCR.js";
64
64
  import {
65
65
  CliError,
66
66
  SNAKE_CASE,
@@ -102,15 +102,15 @@ import {
102
102
  unknown,
103
103
  word,
104
104
  writes
105
- } from "./chunk-L7VIPVHL.js";
105
+ } from "./chunk-SB47UAW2.js";
106
106
  import {
107
107
  __name
108
108
  } from "./chunk-ZVVMGPBJ.js";
109
109
 
110
- // node_modules/.pnpm/@wirecat+cli-core@0.503.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e5d4ab9592406842b4a214ba16b749bd/node_modules/@wirecat/cli-core/dist/mcp/agent.js
110
+ // node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/mcp/agent.js
111
111
  import { Readable } from "node:stream";
112
112
 
113
- // node_modules/.pnpm/@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/lint.js
113
+ // node_modules/.pnpm/@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/lint.js
114
114
  var LINT_SEVERITIES = ["high", "medium", "low"];
115
115
  var lintRuleSchema = strictObject({
116
116
  id: word,
@@ -237,7 +237,7 @@ var overridesSchema = array(strictObject({
237
237
  review_after: pipe(string(), isoDate("a date, YYYY-MM-DD"))
238
238
  }));
239
239
 
240
- // node_modules/.pnpm/@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/audit.js
240
+ // node_modules/.pnpm/@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/audit.js
241
241
  var auditRuleSchema = strictObject({ id: word, severity: picklist(LINT_SEVERITIES), summary: text });
242
242
  var defineAuditRules = /* @__PURE__ */ __name((input) => parseRegistry("audit rules", array(auditRuleSchema), input, (rules) => duplicates(rules.map((rule) => rule.id)).map((id) => `"${id}" is listed twice`)), "defineAuditRules");
243
243
  var AUDIT_RULES = defineAuditRules([
@@ -282,14 +282,20 @@ var parityGroupSchema = strictObject({
282
282
  /** Permanent differences, each with its reason; they count against the override budget of the group. */
283
283
  differences: array(strictObject({
284
284
  rule: word,
285
+ /** `<clis> <path> <flag>`; with `absent`, only `<path> <flag>`: the CLI list is whoever else has it. */
285
286
  target: text,
286
287
  expected: optional(text),
288
+ /** The CLI that lacks the path or flag by design; the rest must agree, so other CLIs joining do not stale it. */
289
+ absent: optional(word),
287
290
  reason: pipe(text, minLength(10, "say why, in a sentence"))
288
291
  }))
289
292
  });
290
293
  var defineParityGroups = /* @__PURE__ */ __name((input) => parseRegistry("parity groups", array(parityGroupSchema), input, (groups) => [
291
294
  ...duplicates(groups.map((group) => group.name)).map((name) => `"${name}" is listed twice`),
292
- ...groups.flatMap((group) => duplicates(group.differences.map((entry) => `${entry.rule} ${entry.target}`)).map((both) => `${group.name}: "${both}" is listed twice`))
295
+ ...groups.flatMap((group) => [
296
+ ...duplicates(group.differences.map((entry) => `${entry.rule} ${entry.target}`)).map((both) => `${group.name}: "${both}" is listed twice`),
297
+ ...group.differences.filter((entry) => entry.absent && entry.expected).map((entry) => `${group.name}: "${entry.target}" has \`absent\`, which measures the values itself; drop \`expected\``)
298
+ ])
293
299
  ]), "defineParityGroups");
294
300
  var PARITY_GROUPS = defineParityGroups([
295
301
  { name: "messengers", members: ["tg", "max"], covers: "tree", differences: [] },
@@ -297,7 +303,12 @@ var PARITY_GROUPS = defineParityGroups([
297
303
  name: "all",
298
304
  members: ["tg", "max", "memo", "drive", "zm", "wa", "mail"],
299
305
  covers: ["commands", "doctor", "skill", "mcp", "upgrade", "search", "notes", "meetings"],
300
- differences: []
306
+ differences: ["mcp serve", "mcp revoke", "mcp server start", "mcp server status", "mcp server stop"].map((path) => ({
307
+ rule: "same-path-contract",
308
+ target: `${path} --profiles`,
309
+ absent: "memo",
310
+ reason: "memo has no profiles: it reads other CLIs' stores and selects their accounts with --source and --account (https://github.com/WireCatLabs/cli-base/issues/390)"
311
+ }))
301
312
  },
302
313
  // gcal is compared on what it already shares with every CLI; doctor, mcp, search and skill wait until the published
303
314
  // CLIs agree there (https://github.com/WireCatLabs/cli-base/issues/390), then gcal moves back into "all".
@@ -319,7 +330,7 @@ var REQUIRED_ROOTS = defineRequiredRoots([
319
330
  { path: ["upgrade"], meaning: "updates the CLI" }
320
331
  ]);
321
332
 
322
- // node_modules/.pnpm/@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/fields.js
333
+ // node_modules/.pnpm/@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/fields.js
323
334
  var fieldRuleSchema = strictObject({ id: word, rule: text });
324
335
  var defineFieldRules = /* @__PURE__ */ __name((input) => parseRegistry("output field rules", array(fieldRuleSchema), input, (rules) => duplicates(rules.map((rule) => rule.id)).map((id) => `"${id}" is listed twice`)), "defineFieldRules");
325
336
  var FIELD_RULES = defineFieldRules([
@@ -335,7 +346,7 @@ var FIELD_RULES = defineFieldRules([
335
346
  }
336
347
  ]);
337
348
 
338
- // node_modules/.pnpm/@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/identifiers.js
349
+ // node_modules/.pnpm/@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/identifiers.js
339
350
  var key = pipe(string(), regex(SNAKE_CASE, "a snake_case key"));
340
351
  var identifierSchema = strictObject({ key, meaning: text, replaces: optional(array(key)) });
341
352
  var defineIdentifiers = /* @__PURE__ */ __name((input) => parseRegistry("identifiers", array(identifierSchema), input, (identifiers) => {
@@ -357,7 +368,7 @@ var IDENTIFIERS = defineIdentifiers([
357
368
  { key: "trace_id", meaning: "the distributed trace a run belongs to, from `traceparent`" }
358
369
  ]);
359
370
 
360
- // node_modules/.pnpm/@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-calendar.js
371
+ // node_modules/.pnpm/@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-calendar.js
361
372
  var CALENDAR_FLAGS = [
362
373
  { name: "--end-time", value: "<time>", role: "value", type: "time", meaning: "when it ends" },
363
374
  {
@@ -431,7 +442,7 @@ var CALENDAR_FLAGS = [
431
442
  }
432
443
  ];
433
444
 
434
- // node_modules/.pnpm/@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-how.js
445
+ // node_modules/.pnpm/@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-how.js
435
446
  var HOW_FLAGS = [
436
447
  {
437
448
  name: "--limit",
@@ -809,6 +820,13 @@ var HOW_FLAGS = [
809
820
  type: "string",
810
821
  meaning: "the browser program to open for sign-in"
811
822
  },
823
+ {
824
+ name: "--credential-storage",
825
+ value: "<storage>",
826
+ role: "mode",
827
+ type: "choice",
828
+ meaning: "where a sign-in is kept: keyring, which falls back to a private file by itself, or file (WC-SECR-4)"
829
+ },
812
830
  { name: "--checkpoint", value: "<file>", role: "mode", type: "path", meaning: "keep resume progress in this file" },
813
831
  {
814
832
  name: "--expected-event-id",
@@ -1411,7 +1429,7 @@ var HOW_FLAGS = [
1411
1429
  }
1412
1430
  ];
1413
1431
 
1414
- // node_modules/.pnpm/@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-what.js
1432
+ // node_modules/.pnpm/@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-what.js
1415
1433
  var WHAT_FLAGS = [
1416
1434
  {
1417
1435
  name: "--analysis-provider",
@@ -2401,7 +2419,7 @@ var WHAT_FLAGS = [
2401
2419
  }
2402
2420
  ];
2403
2421
 
2404
- // node_modules/.pnpm/@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/vocabulary.js
2422
+ // node_modules/.pnpm/@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/vocabulary.js
2405
2423
  var FLAG_TYPES = [
2406
2424
  "switch",
2407
2425
  "count",
@@ -2755,7 +2773,7 @@ var VOCABULARY = defineVocabulary({
2755
2773
  flags: [...HOW_FLAGS, ...WHAT_FLAGS, ...CALENDAR_FLAGS]
2756
2774
  });
2757
2775
 
2758
- // node_modules/.pnpm/@wirecat+cli-core@0.503.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e5d4ab9592406842b4a214ba16b749bd/node_modules/@wirecat/cli-core/dist/mcp/agent.js
2776
+ // node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/mcp/agent.js
2759
2777
  var TYPES = new Map(VOCABULARY.flags.map((flag) => [flag.name, flag.type]));
2760
2778
  var snake = /* @__PURE__ */ __name((name) => name.replaceAll("|", "_or_").replace(/[^a-z0-9]+/gi, "_"), "snake");
2761
2779
  var longOf = /* @__PURE__ */ __name((option) => option.flags.match(/--[a-z0-9][a-z0-9-]*/)?.[0], "longOf");
@@ -2976,7 +2994,7 @@ var runCommandForAgent = /* @__PURE__ */ __name(async (program, path, input, ctx
2976
2994
  }
2977
2995
  }, "runCommandForAgent");
2978
2996
 
2979
- // node_modules/.pnpm/@wirecat+cli-core@0.503.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e5d4ab9592406842b4a214ba16b749bd/node_modules/@wirecat/cli-core/dist/mcp/tool.js
2997
+ // node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/mcp/tool.js
2980
2998
  var limit = optional(pipe(number(), integer(), minValue(1), maxValue(100), description("how many")));
2981
2999
  var page = optional(pipe(number(), integer(), minValue(1), description("which page, from 1")));
2982
3000
  var message = pipe(
@@ -3235,7 +3253,7 @@ var failed = /* @__PURE__ */ __name((error, errors, effects) => {
3235
3253
  return mcpErrorResult(JSON.parse(agentJson(errorObjectOf(error, context))));
3236
3254
  }, "failed");
3237
3255
 
3238
- // node_modules/.pnpm/@wirecat+cli-core@0.503.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e5d4ab9592406842b4a214ba16b749bd/node_modules/@wirecat/cli-core/dist/mcp/surface.js
3256
+ // node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/mcp/surface.js
3239
3257
  import { randomUUID } from "node:crypto";
3240
3258
  var MATCHES = 8;
3241
3259
  var ANSWER = answerSchema();