@wirecat/cli-template 0.17.0 → 0.18.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 (92) hide show
  1. package/CHANGELOG.md +25 -0
  2. package/bin/release +10 -3
  3. package/dist/bin/clidev.js +2 -2
  4. package/dist/bundle/{all-profiles-CCT2XPJL.js → all-profiles-I2I5Y47S.js} +7 -7
  5. package/dist/bundle/{anthropic-QLLP7EE4.js → anthropic-6KWLOH3O.js} +4 -4
  6. package/dist/bundle/{app-server-ELI5TGL7.js → app-server-WDHIM77I.js} +42 -39
  7. package/dist/bundle/{bun-C7JS2V7G.js → bun-NQS22GBW.js} +2 -2
  8. package/dist/bundle/{bun-sqlite-OM72TCYT.js → bun-sqlite-ZHYZDAFU.js} +3 -3
  9. package/dist/bundle/{chunk-6VCFDEHT.js → chunk-43KXTQB6.js} +1 -1
  10. package/dist/bundle/{chunk-RGKXMVOZ.js → chunk-4DHYD37E.js} +3 -3
  11. package/dist/bundle/{chunk-2Y5NBD7U.js → chunk-64DNKCG6.js} +4 -4
  12. package/dist/bundle/{chunk-XKL5FRH3.js → chunk-6HV2ZUJ7.js} +3 -3
  13. package/dist/bundle/{chunk-ASO23RNM.js → chunk-6K7LOCZA.js} +76 -24
  14. package/dist/bundle/{chunk-LN53L2V5.js → chunk-ALOTPATU.js} +11 -11
  15. package/dist/bundle/{chunk-EQDVQN4E.js → chunk-AQGUIORH.js} +224 -223
  16. package/dist/bundle/{chunk-QLBS6OC2.js → chunk-CAX65NS4.js} +400 -295
  17. package/dist/bundle/{chunk-RUHNHEAF.js → chunk-CZB5RLXN.js} +3 -3
  18. package/dist/bundle/{chunk-SQOXYNKF.js → chunk-E5O6R3NL.js} +1 -1
  19. package/dist/bundle/{chunk-GG5PXNMH.js → chunk-EMPBFRAG.js} +28 -25
  20. package/dist/bundle/{chunk-FF3AGTHY.js → chunk-ERHKHYWL.js} +6 -6
  21. package/dist/bundle/{chunk-S465TCR3.js → chunk-F2KGCZQP.js} +8 -8
  22. package/dist/bundle/{chunk-QJS4WWYK.js → chunk-FGQC6DQK.js} +63 -63
  23. package/dist/bundle/{chunk-AUVPTFUS.js → chunk-FPC4ESDC.js} +1 -1
  24. package/dist/bundle/{chunk-BXZRTMXA.js → chunk-G7JA7YXK.js} +5 -5
  25. package/dist/bundle/{chunk-BOCIYBBO.js → chunk-GBXTIWAE.js} +20 -20
  26. package/dist/bundle/{chunk-O6PBO4BU.js → chunk-HMP5CI4F.js} +4 -2
  27. package/dist/bundle/{chunk-R5IY4O25.js → chunk-I5HN34YA.js} +4 -4
  28. package/dist/bundle/{chunk-WRLOK7XC.js → chunk-IKFNRGSZ.js} +3 -3
  29. package/dist/bundle/{chunk-KRXN3FV3.js → chunk-IKGARE4J.js} +1 -1
  30. package/dist/bundle/{chunk-YIH3PYWJ.js → chunk-JECGG4TM.js} +1 -1
  31. package/dist/bundle/{chunk-MLSN3UP4.js → chunk-KMYKWHFH.js} +26 -26
  32. package/dist/bundle/{chunk-WKUJCPSP.js → chunk-KSABL7M2.js} +43 -43
  33. package/dist/bundle/{chunk-GUCMIUNB.js → chunk-KWQSDU3D.js} +2 -2
  34. package/dist/bundle/{chunk-6PHTRAZA.js → chunk-L4U3V7OU.js} +1 -1
  35. package/dist/bundle/{chunk-UW4PJZVJ.js → chunk-MJSZEF7M.js} +167 -156
  36. package/dist/bundle/{chunk-R5CPFSPI.js → chunk-MVWHCXYA.js} +7 -7
  37. package/dist/bundle/{chunk-XS56LIQ7.js → chunk-NVALUKZU.js} +4 -4
  38. package/dist/bundle/{chunk-AKUMR7PE.js → chunk-Q5J3LKRL.js} +2 -2
  39. package/dist/bundle/{chunk-33JGD2CR.js → chunk-QHXHJ3BK.js} +3 -3
  40. package/dist/bundle/{chunk-7OQF5ZMN.js → chunk-RKZJ7ZKU.js} +1 -1
  41. package/dist/bundle/{chunk-3VVIEZRY.js → chunk-RQPDYAHW.js} +2 -2
  42. package/dist/bundle/{chunk-HVAEHUSZ.js → chunk-RSCHWXF5.js} +2 -2
  43. package/dist/bundle/{chunk-WQBBSVZM.js → chunk-RYBCV3CX.js} +2 -2
  44. package/dist/bundle/{chunk-RT46AWIH.js → chunk-T6ZLWN7E.js} +1 -1
  45. package/dist/bundle/{chunk-QVPTZDRA.js → chunk-T7657XL5.js} +2 -2
  46. package/dist/bundle/{chunk-DVLM23HB.js → chunk-TH6AVNNH.js} +2 -2
  47. package/dist/bundle/{chunk-X44ZT64I.js → chunk-TMFSNTR2.js} +3 -3
  48. package/dist/bundle/{chunk-J2RUBXCI.js → chunk-UESBF7HN.js} +6 -6
  49. package/dist/bundle/{chunk-ZRNBKTPP.js → chunk-UGPJDNVX.js} +26 -26
  50. package/dist/bundle/{chunk-LFLN6PVS.js → chunk-UXLB5I2B.js} +4 -4
  51. package/dist/bundle/{chunk-ITPFCKCL.js → chunk-VDV3WS4O.js} +13 -13
  52. package/dist/bundle/{chunk-URPKIONS.js → chunk-VDXS7GR7.js} +8 -8
  53. package/dist/bundle/{chunk-E4KQOKQ5.js → chunk-YLN6DBJV.js} +1 -1
  54. package/dist/bundle/{chunk-SQKP6V4S.js → chunk-YMGJJG3W.js} +17 -13
  55. package/dist/bundle/clidev.js +3 -3
  56. package/dist/bundle/{command-contract-RV5ZOEAT.js → command-contract-JGOS34WS.js} +11 -11
  57. package/dist/bundle/{decode-V7HNHZBC.js → decode-HHZMCEZF.js} +3 -3
  58. package/dist/bundle/{echarts-Y42YP2OL.js → echarts-LYV2DLKU.js} +2 -2
  59. package/dist/bundle/{embed-JSQZL7JF.js → embed-BPN3SCZ7.js} +4 -4
  60. package/dist/bundle/{embedder-7BHRCXWL.js → embedder-NZAL7DVD.js} +7 -7
  61. package/dist/bundle/{first-run-BJ36KGST.js → first-run-OKN7MVLP.js} +8 -8
  62. package/dist/bundle/first-screen-6XGF2AKF.js +26 -0
  63. package/dist/bundle/{instructions-UWERND54.js → instructions-N2HYCEWN.js} +1 -1
  64. package/dist/bundle/{mcp-P4FSBSRS.js → mcp-OGWFYUDR.js} +2 -2
  65. package/dist/bundle/{node-PZDNPKN7.js → node-MIHFH7T4.js} +2 -2
  66. package/dist/bundle/{node-sqlite-4F5NLRNT.js → node-sqlite-FF2SFXPZ.js} +4 -4
  67. package/dist/bundle/{oauth-VDXNA3DK.js → oauth-72XUHG3K.js} +5 -5
  68. package/dist/bundle/{open-EUJRQQNS.js → open-HL6SSRKY.js} +3 -3
  69. package/dist/bundle/{openai-EIBV2K72.js → openai-DSWDZHQA.js} +12 -12
  70. package/dist/bundle/{process-XD5ZIFIL.js → process-5EQF2SZN.js} +1 -1
  71. package/dist/bundle/{program-TJTVMIOX.js → program-QPXFRATG.js} +386 -290
  72. package/dist/bundle/{prompt-LYUZNHDK.js → prompt-VVRJDKQK.js} +3 -3
  73. package/dist/bundle/{recognize-LQMHLOD5.js → recognize-T6RIVTQL.js} +2 -2
  74. package/dist/bundle/{remote-34HUWSZI.js → remote-7Z3C3FOG.js} +5 -5
  75. package/dist/bundle/{rerank-ONBASQ5Z.js → rerank-RUFDP7NP.js} +5 -5
  76. package/dist/bundle/{serve-UJ7FDYAM.js → serve-YZQDRGZW.js} +7 -7
  77. package/dist/bundle/server-NDSKEME6.js +52 -0
  78. package/dist/bundle/{server-GNT76BXM.js → server-WSFS656N.js} +28 -28
  79. package/dist/bundle/{state-IW5OO6IZ.js → state-GOQ4J5RS.js} +4 -4
  80. package/dist/bundle/{store-55UB27H2.js → store-KRGXTPKQ.js} +10 -10
  81. package/dist/bundle/store-maintenance-command-FNNZ5YCX.js +42 -0
  82. package/dist/version.d.ts +1 -1
  83. package/dist/version.js +1 -1
  84. package/docs/dev/skills/release/SKILL.md +3 -2
  85. package/kit/dist/new.js +2 -2
  86. package/package.json +4 -4
  87. package/pnpm-workspace.yaml +2 -0
  88. package/src/run-scope.test.ts +31 -0
  89. package/src/version.ts +1 -1
  90. package/dist/bundle/first-screen-5YHQVNY4.js +0 -26
  91. package/dist/bundle/server-J4YIXKMI.js +0 -52
  92. package/dist/bundle/store-maintenance-command-BLDKUZ3L.js +0 -42
@@ -7,10 +7,10 @@ import {
7
7
  agentJson,
8
8
  commandAvailability,
9
9
  failureContext
10
- } from "./chunk-SQKP6V4S.js";
10
+ } from "./chunk-YMGJJG3W.js";
11
11
  import {
12
12
  callerOf
13
- } from "./chunk-3VVIEZRY.js";
13
+ } from "./chunk-RQPDYAHW.js";
14
14
  import {
15
15
  QUERY_ARGUMENT,
16
16
  lentConnection,
@@ -18,10 +18,10 @@ import {
18
18
  refuseLacking,
19
19
  servicesFor,
20
20
  storeModeDeps
21
- } from "./chunk-EQDVQN4E.js";
21
+ } from "./chunk-AQGUIORH.js";
22
22
  import {
23
23
  MAX_BUFFERED_INPUT
24
- } from "./chunk-QVPTZDRA.js";
24
+ } from "./chunk-T7657XL5.js";
25
25
  import {
26
26
  DEFAULT_OUTPUT_BYTES,
27
27
  ENTITIES,
@@ -45,16 +45,16 @@ import {
45
45
  sealed,
46
46
  startRecording,
47
47
  traceOf
48
- } from "./chunk-UW4PJZVJ.js";
48
+ } from "./chunk-MJSZEF7M.js";
49
49
  import {
50
50
  currentCaller,
51
51
  keepsSuccess,
52
52
  runContextOf,
53
53
  withCaller
54
- } from "./chunk-S465TCR3.js";
54
+ } from "./chunk-F2KGCZQP.js";
55
55
  import {
56
56
  queryDescription
57
- } from "./chunk-QJS4WWYK.js";
57
+ } from "./chunk-FGQC6DQK.js";
58
58
  import {
59
59
  COMPACT_FLAG,
60
60
  CliError,
@@ -97,15 +97,15 @@ import {
97
97
  unknown,
98
98
  word,
99
99
  writes
100
- } from "./chunk-MLSN3UP4.js";
100
+ } from "./chunk-KMYKWHFH.js";
101
101
  import {
102
102
  __name
103
103
  } from "./chunk-ZVVMGPBJ.js";
104
104
 
105
- // node_modules/.pnpm/@wirecat+cli-core@0.595.0_@wirecat+cli-base@0.80.3_commander@15.0.0_esbuild@0.28.2_type_2c96d170c489856a39cafd5889a9e4ba/node_modules/@wirecat/cli-core/dist/mcp/agent.js
105
+ // node_modules/.pnpm/@wirecat+cli-core@0.598.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_273187b89e8ba0142d0426b4a9bc937e/node_modules/@wirecat/cli-core/dist/mcp/agent.js
106
106
  import { Readable } from "node:stream";
107
107
 
108
- // node_modules/.pnpm/@wirecat+cli-base@0.80.3_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
108
+ // node_modules/.pnpm/@wirecat+cli-base@0.80.8_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
109
109
  var LINT_SEVERITIES = ["high", "medium", "low"];
110
110
  var lintRuleSchema = strictObject({
111
111
  id: word,
@@ -233,7 +233,7 @@ var overrideSchema = strictObject({
233
233
  });
234
234
  var overridesSchema = array(overrideSchema);
235
235
 
236
- // node_modules/.pnpm/@wirecat+cli-base@0.80.3_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
236
+ // node_modules/.pnpm/@wirecat+cli-base@0.80.8_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
237
237
  var auditRuleSchema = strictObject({ id: word, severity: picklist(LINT_SEVERITIES), summary: text });
238
238
  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");
239
239
  var AUDIT_RULES = defineAuditRules([
@@ -329,6 +329,14 @@ var PARITY_GROUPS = defineParityGroups([
329
329
  members: ["tg", "max", "memo", "drive", "zm", "wa", "gcal"],
330
330
  covers: ["commands", "upgrade", "notes", "meetings"],
331
331
  differences: []
332
+ },
333
+ // bitrix24-cli's search is cli-core's CRM `search all`, and beeline-cli's meetings take call recordings, not
334
+ // zoom-cli's: both are compared on the root commands every CLI shares, the way gcal and mail are on theirs.
335
+ {
336
+ name: "shared-roots",
337
+ members: ["tg", "max", "memo", "drive", "zm", "wa", "b24", "beeline"],
338
+ covers: ["commands", "doctor", "skill", "mcp", "upgrade"],
339
+ differences: MEMO_HAS_NO_PROFILES
332
340
  }
333
341
  ]);
334
342
  var requiredRootSchema = strictObject({ path: pipe(array(segment), minLength(1)), meaning: text });
@@ -342,7 +350,7 @@ var REQUIRED_ROOTS = defineRequiredRoots([
342
350
  { path: ["upgrade"], meaning: "updates the CLI" }
343
351
  ]);
344
352
 
345
- // node_modules/.pnpm/@wirecat+cli-base@0.80.3_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
353
+ // node_modules/.pnpm/@wirecat+cli-base@0.80.8_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
346
354
  var fieldRuleSchema = strictObject({ id: word, rule: text });
347
355
  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");
348
356
  var FIELD_RULES = defineFieldRules([
@@ -358,7 +366,7 @@ var FIELD_RULES = defineFieldRules([
358
366
  }
359
367
  ]);
360
368
 
361
- // node_modules/.pnpm/@wirecat+cli-base@0.80.3_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
369
+ // node_modules/.pnpm/@wirecat+cli-base@0.80.8_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
362
370
  var key = pipe(string(), regex(SNAKE_CASE, "a snake_case key"));
363
371
  var identifierSchema = strictObject({ key, meaning: text, replaces: optional(array(key)) });
364
372
  var defineIdentifiers = /* @__PURE__ */ __name((input) => parseRegistry("identifiers", array(identifierSchema), input, (identifiers) => {
@@ -380,7 +388,7 @@ var IDENTIFIERS = defineIdentifiers([
380
388
  { key: "trace_id", meaning: "the distributed trace a run belongs to, from `traceparent`" }
381
389
  ]);
382
390
 
383
- // node_modules/.pnpm/@wirecat+cli-base@0.80.3_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
391
+ // node_modules/.pnpm/@wirecat+cli-base@0.80.8_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
384
392
  var CALENDAR_FLAGS = [
385
393
  { name: "--end-time", value: "<time>", role: "value", type: "time", meaning: "when it ends" },
386
394
  {
@@ -454,7 +462,7 @@ var CALENDAR_FLAGS = [
454
462
  }
455
463
  ];
456
464
 
457
- // node_modules/.pnpm/@wirecat+cli-base@0.80.3_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-crm.js
465
+ // node_modules/.pnpm/@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-crm.js
458
466
  var CRM_FLAGS = [
459
467
  {
460
468
  name: "--pipeline",
@@ -494,7 +502,7 @@ var CRM_FLAGS = [
494
502
  }
495
503
  ];
496
504
 
497
- // node_modules/.pnpm/@wirecat+cli-base@0.80.3_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
505
+ // node_modules/.pnpm/@wirecat+cli-base@0.80.8_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
498
506
  var HOW_FLAGS = [
499
507
  {
500
508
  name: "--limit",
@@ -819,6 +827,7 @@ var HOW_FLAGS = [
819
827
  meaning: "tell the people it concerns about it: the chat's members, or an event's attendees"
820
828
  },
821
829
  { name: "--no-notify", role: "mode", type: "switch", meaning: "tell nobody about it" },
830
+ { name: "--open-new", role: "mode", type: "switch", meaning: "a read again for tasks also opens new tasks" },
822
831
  { name: "--offline", role: "mode", type: "switch", meaning: "answer from what was recorded and never connect" },
823
832
  {
824
833
  name: "--operation-id",
@@ -1488,7 +1497,7 @@ var HOW_FLAGS = [
1488
1497
  }
1489
1498
  ];
1490
1499
 
1491
- // node_modules/.pnpm/@wirecat+cli-base@0.80.3_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-mail.js
1500
+ // node_modules/.pnpm/@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-mail.js
1492
1501
  var MAIL_FLAGS = [
1493
1502
  {
1494
1503
  name: "--cc",
@@ -1518,7 +1527,7 @@ var MAIL_FLAGS = [
1518
1527
  }
1519
1528
  ];
1520
1529
 
1521
- // node_modules/.pnpm/@wirecat+cli-base@0.80.3_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-privacy.js
1530
+ // node_modules/.pnpm/@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-privacy.js
1522
1531
  var PRIVACY_FLAGS = [
1523
1532
  {
1524
1533
  name: "--about-text",
@@ -1579,7 +1588,33 @@ var PRIVACY_FLAGS = [
1579
1588
  { name: "--read-receipts", value: "<on|off>", role: "value", type: "choice", meaning: "send read receipts" }
1580
1589
  ];
1581
1590
 
1582
- // node_modules/.pnpm/@wirecat+cli-base@0.80.3_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
1591
+ // node_modules/.pnpm/@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-schedule.js
1592
+ var SCHEDULE_FLAGS = [
1593
+ {
1594
+ name: "--notify-on",
1595
+ value: "<when>",
1596
+ role: "value",
1597
+ type: "choice",
1598
+ meaning: "when a scheduled run tells the owner: always, failures or never"
1599
+ },
1600
+ {
1601
+ name: "--deliver-to",
1602
+ value: "<route>",
1603
+ role: "value",
1604
+ type: "string",
1605
+ meaning: "where a scheduled run's result also goes, by the owner's own CLI: telegram-bot:<profile>/<chat> or email:<profile>/<address>; repeat it for more. Not --to, which names who a message is for"
1606
+ },
1607
+ {
1608
+ name: "--max-cost-per-day",
1609
+ value: "<usd>",
1610
+ role: "budget",
1611
+ type: "number",
1612
+ meaning: "start no run for the rest of the day once the day's runs cost this much; 0 for no cap",
1613
+ unit: "US dollars"
1614
+ }
1615
+ ];
1616
+
1617
+ // node_modules/.pnpm/@wirecat+cli-base@0.80.8_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
1583
1618
  var WHAT_FLAGS = [
1584
1619
  {
1585
1620
  name: "--analysis-provider",
@@ -2002,6 +2037,13 @@ var WHAT_FLAGS = [
2002
2037
  meaning: "look again from this day, for what arrived late"
2003
2038
  },
2004
2039
  { name: "--run", value: "<id>", role: "target", type: "id", meaning: "the run it is about" },
2040
+ {
2041
+ name: "--who",
2042
+ value: "<side>",
2043
+ role: "target",
2044
+ type: "choice",
2045
+ meaning: "whose replies are measured: me (the owner's) or others (the other side's)"
2046
+ },
2005
2047
  {
2006
2048
  name: "--write",
2007
2049
  value: "<id>",
@@ -2534,7 +2576,7 @@ var WHAT_FLAGS = [
2534
2576
  }
2535
2577
  ];
2536
2578
 
2537
- // node_modules/.pnpm/@wirecat+cli-base@0.80.3_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
2579
+ // node_modules/.pnpm/@wirecat+cli-base@0.80.8_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
2538
2580
  var FLAG_TYPES = [
2539
2581
  "switch",
2540
2582
  "count",
@@ -2884,6 +2926,7 @@ var views = [
2884
2926
  ["newcomers", "members observed joining during the selected time window"],
2885
2927
  ["retention", "whether members of a selected cohort remain or return over time"],
2886
2928
  ["responses", "observed replies between participants and the time taken to answer"],
2929
+ ["waiting", "chats whose newest message waits on the owner's reply"],
2887
2930
  ["discussion", "source posts compared by known views and observed discussion replies"],
2888
2931
  ["unanswered", "questions without an observed qualifying answer"],
2889
2932
  ["me", "the account a profile's token belongs to"],
@@ -2898,6 +2941,7 @@ var roots = [
2898
2941
  ["serve", "the long-running process"],
2899
2942
  ["setup", "the guided first run: log in or link the account, then install the agent skill"],
2900
2943
  ["doctor", "check this machine's setup"],
2944
+ ["recover", "repair a damaged store: what it would do, then its run subcommand does it"],
2901
2945
  ["upgrade", "install a newer version of this tool"],
2902
2946
  ["commands", "the command tree as data"],
2903
2947
  ["guide", "scenarios: the commands for a common task, in order, and why each"],
@@ -2919,10 +2963,18 @@ var VOCABULARY = defineVocabulary({
2919
2963
  ],
2920
2964
  views: views.map(([entry, meaning]) => ({ word: entry, meaning })),
2921
2965
  roots: roots.map(([entry, meaning]) => ({ word: entry, meaning })),
2922
- flags: [...HOW_FLAGS, ...WHAT_FLAGS, ...PRIVACY_FLAGS, ...CALENDAR_FLAGS, ...MAIL_FLAGS, ...CRM_FLAGS]
2966
+ flags: [
2967
+ ...HOW_FLAGS,
2968
+ ...WHAT_FLAGS,
2969
+ ...PRIVACY_FLAGS,
2970
+ ...CALENDAR_FLAGS,
2971
+ ...MAIL_FLAGS,
2972
+ ...CRM_FLAGS,
2973
+ ...SCHEDULE_FLAGS
2974
+ ]
2923
2975
  });
2924
2976
 
2925
- // node_modules/.pnpm/@wirecat+cli-core@0.595.0_@wirecat+cli-base@0.80.3_commander@15.0.0_esbuild@0.28.2_type_2c96d170c489856a39cafd5889a9e4ba/node_modules/@wirecat/cli-core/dist/mcp/agent.js
2977
+ // node_modules/.pnpm/@wirecat+cli-core@0.598.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_273187b89e8ba0142d0426b4a9bc937e/node_modules/@wirecat/cli-core/dist/mcp/agent.js
2926
2978
  var TYPES = new Map(VOCABULARY.flags.map((flag) => [flag.name, flag.type]));
2927
2979
  var snake = /* @__PURE__ */ __name((name) => name.replaceAll("|", "_or_").replace(/[^a-z0-9]+/gi, "_"), "snake");
2928
2980
  var longOf = /* @__PURE__ */ __name((option) => option.flags.match(/--[a-z0-9][a-z0-9-]*/)?.[0], "longOf");
@@ -3145,7 +3197,7 @@ var runCommandForAgent = /* @__PURE__ */ __name(async (program, path, input, ctx
3145
3197
  }
3146
3198
  }, "runCommandForAgent");
3147
3199
 
3148
- // node_modules/.pnpm/@wirecat+cli-core@0.595.0_@wirecat+cli-base@0.80.3_commander@15.0.0_esbuild@0.28.2_type_2c96d170c489856a39cafd5889a9e4ba/node_modules/@wirecat/cli-core/dist/mcp/tool.js
3200
+ // node_modules/.pnpm/@wirecat+cli-core@0.598.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_273187b89e8ba0142d0426b4a9bc937e/node_modules/@wirecat/cli-core/dist/mcp/tool.js
3149
3201
  var limit = optional(pipe(number(), integer(), minValue(1), maxValue(100), description("how many")));
3150
3202
  var page = optional(pipe(number(), integer(), minValue(1), description("which page, from 1")));
3151
3203
  var message = pipe(
@@ -3404,7 +3456,7 @@ var failed = /* @__PURE__ */ __name((error, errors, effects) => {
3404
3456
  return mcpErrorResult(JSON.parse(agentJson(errorObjectOf(error, context))));
3405
3457
  }, "failed");
3406
3458
 
3407
- // node_modules/.pnpm/@wirecat+cli-core@0.595.0_@wirecat+cli-base@0.80.3_commander@15.0.0_esbuild@0.28.2_type_2c96d170c489856a39cafd5889a9e4ba/node_modules/@wirecat/cli-core/dist/mcp/surface.js
3459
+ // node_modules/.pnpm/@wirecat+cli-core@0.598.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_273187b89e8ba0142d0426b4a9bc937e/node_modules/@wirecat/cli-core/dist/mcp/surface.js
3408
3460
  import { randomUUID } from "node:crypto";
3409
3461
  var MATCHES = 8;
3410
3462
  var ANSWER = answerSchema();
@@ -3,28 +3,28 @@ const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  installerOf,
5
5
  updateCommand
6
- } from "./chunk-R5IY4O25.js";
6
+ } from "./chunk-I5HN34YA.js";
7
7
  import {
8
8
  QUESTIONS,
9
9
  readSetupAnswers,
10
10
  unanswered,
11
11
  writeSetupAnswers
12
- } from "./chunk-XKL5FRH3.js";
12
+ } from "./chunk-6HV2ZUJ7.js";
13
13
  import {
14
14
  DEFAULT_STEMMERS,
15
15
  LANGUAGES
16
- } from "./chunk-URPKIONS.js";
16
+ } from "./chunk-VDXS7GR7.js";
17
17
  import {
18
18
  sharedConfigPath
19
- } from "./chunk-BXZRTMXA.js";
19
+ } from "./chunk-G7JA7YXK.js";
20
20
  import {
21
21
  storePath
22
- } from "./chunk-AKUMR7PE.js";
22
+ } from "./chunk-Q5J3LKRL.js";
23
23
  import {
24
24
  __name
25
25
  } from "./chunk-ZVVMGPBJ.js";
26
26
 
27
- // node_modules/.pnpm/@wirecat+cli-core@0.595.0_@wirecat+cli-base@0.80.3_commander@15.0.0_esbuild@0.28.2_type_2c96d170c489856a39cafd5889a9e4ba/node_modules/@wirecat/cli-core/dist/cli/first-run.js
27
+ // node_modules/.pnpm/@wirecat+cli-core@0.598.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_273187b89e8ba0142d0426b4a9bc937e/node_modules/@wirecat/cli-core/dist/cli/first-run.js
28
28
  import { spawnSync } from "node:child_process";
29
29
  import { accessSync, constants, realpathSync } from "node:fs";
30
30
  import { delimiter, join } from "node:path";
@@ -82,7 +82,7 @@ var suggested = /* @__PURE__ */ __name((env, contentLanguages) => {
82
82
  return (own.length ? own : LANGUAGES.filter(({ code }) => code === "en" || code === system)).map(({ name }) => name);
83
83
  }, "suggested");
84
84
  var askLanguages = /* @__PURE__ */ __name(async ({ command, env, io, contentLanguages }) => {
85
- const { openStore } = await import("./store-55UB27H2.js");
85
+ const { openStore } = await import("./store-KRGXTPKQ.js");
86
86
  const store = await openStore({ env });
87
87
  let rebuild = false;
88
88
  try {
@@ -111,8 +111,8 @@ var askLanguages = /* @__PURE__ */ __name(async ({ command, env, io, contentLang
111
111
  if (!rebuild)
112
112
  return;
113
113
  const [{ openCache }, { buildStems }] = await Promise.all([
114
- import("./open-EUJRQQNS.js"),
115
- import("./store-maintenance-command-BLDKUZ3L.js")
114
+ import("./open-HL6SSRKY.js"),
115
+ import("./store-maintenance-command-FNNZ5YCX.js")
116
116
  ]);
117
117
  const database = await openCache(storePath(env));
118
118
  try {
@@ -124,7 +124,7 @@ var askLanguages = /* @__PURE__ */ __name(async ({ command, env, io, contentLang
124
124
  var askTools = /* @__PURE__ */ __name(async (run) => {
125
125
  const { command, env, io } = run;
126
126
  const installed = run.installed ?? ((name) => onPath(name, env));
127
- const { WIRECAT_TOOLS } = await import("./first-screen-5YHQVNY4.js");
127
+ const { WIRECAT_TOOLS } = await import("./first-screen-6XGF2AKF.js");
128
128
  const others = WIRECAT_TOOLS.filter((tool) => tool.command !== command);
129
129
  const missing = others.filter((tool) => !installed(tool.command));
130
130
  io.say("Other WireCat tools \u2014 they share this store, so one search finds everything:");
@@ -197,7 +197,7 @@ var setupAtStart = /* @__PURE__ */ __name(async (start) => {
197
197
  contentLanguages: start.contentLanguages,
198
198
  all: start.path[0] === "setup",
199
199
  io: {
200
- ask: /* @__PURE__ */ __name(async (prompt) => (await import("./prompt-LYUZNHDK.js")).readSecret(prompt, { input, echo: true }), "ask"),
200
+ ask: /* @__PURE__ */ __name(async (prompt) => (await import("./prompt-VVRJDKQK.js")).readSecret(prompt, { input, echo: true }), "ask"),
201
201
  say: /* @__PURE__ */ __name((text) => process.stderr.write(`${text}
202
202
  `), "say")
203
203
  }