@wirecat/drive-cli 0.55.0 → 0.56.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 (132) hide show
  1. package/dist/bin/drive.js +2 -2
  2. package/dist/bundle/{all-profiles-I5KJKZPF.js → all-profiles-7LSZ3CC3.js} +9 -9
  3. package/dist/bundle/{anthropic-DPM7BRKX.js → anthropic-3QRM4QXB.js} +5 -5
  4. package/dist/bundle/{app-server-FTGLOZ2K.js → app-server-WWNMUHID.js} +48 -48
  5. package/dist/bundle/{bun-XRO6XJHQ.js → bun-NIIYUR5F.js} +2 -2
  6. package/dist/bundle/{bun-sqlite-7JJX6OUT.js → bun-sqlite-GSLSN3OT.js} +4 -4
  7. package/dist/bundle/{chunk-NPMVPKBD.js → chunk-2QLLKDE5.js} +48 -47
  8. package/dist/bundle/{chunk-P4ABC6C4.js → chunk-2ULJW5BA.js} +2 -2
  9. package/dist/bundle/{chunk-AR2HRFQO.js → chunk-373WJIHE.js} +2 -2
  10. package/dist/bundle/{chunk-K2DMCTTF.js → chunk-3BXSLNWW.js} +129 -97
  11. package/dist/bundle/{chunk-BO7ZKZCH.js → chunk-4F2VRJZE.js} +121 -46
  12. package/dist/bundle/{chunk-CP6M5P4X.js → chunk-4MJA4MLV.js} +3 -3
  13. package/dist/bundle/{chunk-NDUYK676.js → chunk-4UQLL6RJ.js} +10 -9
  14. package/dist/bundle/{chunk-NFOUG7ES.js → chunk-566W4Q6L.js} +2 -2
  15. package/dist/bundle/chunk-5E67RIXD.js +247 -0
  16. package/dist/bundle/{chunk-E7RDXCV2.js → chunk-5KNIVHP6.js} +5 -5
  17. package/dist/bundle/{chunk-VXZULAWV.js → chunk-64E6QXXQ.js} +14 -13
  18. package/dist/bundle/{chunk-FNDQFFLP.js → chunk-6CFSDU56.js} +11 -11
  19. package/dist/bundle/{chunk-ORRQDSDH.js → chunk-6ZA4NR5H.js} +3 -3
  20. package/dist/bundle/{chunk-PFTIYWOK.js → chunk-7SNS443B.js} +4 -4
  21. package/dist/bundle/{chunk-JPFF6MNK.js → chunk-AHBUTDS7.js} +8 -8
  22. package/dist/bundle/{chunk-TIEEVT2Z.js → chunk-AKPFH3KC.js} +1 -1
  23. package/dist/bundle/{chunk-FDCGTODC.js → chunk-AL7MY7MW.js} +1 -1
  24. package/dist/bundle/{chunk-RMQGFLT2.js → chunk-B3TPS7BW.js} +6 -6
  25. package/dist/bundle/{chunk-2DZMGPUC.js → chunk-B64EY2SC.js} +123 -34
  26. package/dist/bundle/{chunk-2OGANEKA.js → chunk-CD736BG3.js} +2 -2
  27. package/dist/bundle/{chunk-C4QKY33N.js → chunk-CGCQNYB3.js} +2 -2
  28. package/dist/bundle/{chunk-D6SRTPCV.js → chunk-DJ75AG3K.js} +2 -2
  29. package/dist/bundle/{chunk-2KARCTUU.js → chunk-EE7R457T.js} +949 -581
  30. package/dist/bundle/{chunk-TQFCPUIM.js → chunk-EFEI724Z.js} +1 -1
  31. package/dist/bundle/{chunk-JBBZCTTF.js → chunk-EFX6FIDM.js} +1 -1
  32. package/dist/bundle/{chunk-DNJ43DT5.js → chunk-ELIYJXIY.js} +2 -2
  33. package/dist/bundle/{chunk-NPKFXGYG.js → chunk-EN7OZ5JH.js} +41 -23
  34. package/dist/bundle/{chunk-IXXVCKWL.js → chunk-G34Y5RAC.js} +26 -26
  35. package/dist/bundle/{chunk-TBD362SJ.js → chunk-GIQFBXQN.js} +11 -7
  36. package/dist/bundle/{chunk-KWKRTYRL.js → chunk-GKHUHRSL.js} +4 -4
  37. package/dist/bundle/{chunk-VGTDXEYD.js → chunk-HNUSPNUQ.js} +26 -13
  38. package/dist/bundle/{chunk-XTNEYXAQ.js → chunk-IJ2S53WJ.js} +5 -5
  39. package/dist/bundle/{chunk-FUKJQZED.js → chunk-ISK4K7UE.js} +1 -1
  40. package/dist/bundle/{chunk-YP5FDMTG.js → chunk-J2HGHSLX.js} +2 -2
  41. package/dist/bundle/{chunk-ULPS2OAL.js → chunk-JIGMCW4C.js} +4 -4
  42. package/dist/bundle/{chunk-ALMQEGYO.js → chunk-JLKNUFL2.js} +2 -2
  43. package/dist/bundle/{chunk-UDWMRZL6.js → chunk-JUKVJ7M2.js} +21 -21
  44. package/dist/bundle/{chunk-LAVWTS4P.js → chunk-KHNDZNQA.js} +5333 -5108
  45. package/dist/bundle/{chunk-GB5YM5HK.js → chunk-KM4Y55ZE.js} +5 -5
  46. package/dist/bundle/{chunk-4XRLPQ3N.js → chunk-L4BBK7UX.js} +2 -2
  47. package/dist/bundle/{chunk-EOEDICIE.js → chunk-LSSIVBQI.js} +1 -1
  48. package/dist/bundle/{chunk-6OJMA4ZT.js → chunk-NL2KXCFT.js} +389 -255
  49. package/dist/bundle/{chunk-2LLNPNMB.js → chunk-OOR6PEHV.js} +1 -1
  50. package/dist/bundle/{chunk-UIPT6IAU.js → chunk-OYNSFQ7K.js} +1 -1
  51. package/dist/bundle/{chunk-67A2YFAT.js → chunk-OZJMZSFB.js} +4 -4
  52. package/dist/bundle/{chunk-GC4JNVYF.js → chunk-Q3TMNETS.js} +98 -37
  53. package/dist/bundle/{chunk-5DEEBWDI.js → chunk-QAT6UXZZ.js} +38 -37
  54. package/dist/bundle/{chunk-VY3TYRCK.js → chunk-R5GJZPRF.js} +114 -59
  55. package/dist/bundle/{chunk-4I7EBJJV.js → chunk-RAEKC6TV.js} +6 -6
  56. package/dist/bundle/{chunk-HNR2BJJU.js → chunk-RB674T6L.js} +75 -17
  57. package/dist/bundle/{chunk-NCCL4QWR.js → chunk-SRNXTXJN.js} +3 -3
  58. package/dist/bundle/{chunk-TD4RAOMZ.js → chunk-TKVSJV5P.js} +3 -3
  59. package/dist/bundle/{chunk-W6DMCGMK.js → chunk-TR5656OS.js} +47 -22
  60. package/dist/bundle/{chunk-VY2AUZMJ.js → chunk-TZHCS5MG.js} +2 -2
  61. package/dist/bundle/{chunk-KM7Q67Z3.js → chunk-U2RSVKR5.js} +1 -1
  62. package/dist/bundle/{chunk-IDK5QUBJ.js → chunk-UKMFPBAO.js} +4 -4
  63. package/dist/bundle/{chunk-GIRVMZD3.js → chunk-VTJF2L5E.js} +16 -16
  64. package/dist/bundle/{chunk-AQNY57J2.js → chunk-W5FOPSJZ.js} +7 -7
  65. package/dist/bundle/{chunk-FKHWVVMV.js → chunk-W6FYYQ2J.js} +3 -3
  66. package/dist/bundle/{chunk-VVMCGF5X.js → chunk-WAVJWGUC.js} +1811 -883
  67. package/dist/bundle/{chunk-FDM3JMQZ.js → chunk-WBYCUBYM.js} +89 -36
  68. package/dist/bundle/{chunk-TIVC4DB5.js → chunk-WJOKTIOJ.js} +2 -2
  69. package/dist/bundle/{chunk-7MVKSPEG.js → chunk-WJPVGXKA.js} +6 -6
  70. package/dist/bundle/{chunk-N4VNUOOD.js → chunk-XGNADVIA.js} +18 -18
  71. package/dist/bundle/{chunk-J6XLM4QW.js → chunk-XJVK7ETL.js} +28 -10
  72. package/dist/bundle/{chunk-3K4H2DTA.js → chunk-YZ6SYLDC.js} +12 -3
  73. package/dist/bundle/command-contract-XIACCAZL.js +35 -0
  74. package/dist/bundle/{decode-3LX3BLZM.js → decode-5MHMPYKE.js} +4 -4
  75. package/dist/bundle/drive.js +6 -6
  76. package/dist/bundle/{echarts-YNGCOYHW.js → echarts-CLB22SZS.js} +2 -2
  77. package/dist/bundle/{embed-FICTRZJL.js → embed-TF66ODAR.js} +5 -5
  78. package/dist/bundle/{embedder-DSMRCRSH.js → embedder-EDWOIAC2.js} +8 -8
  79. package/dist/bundle/{entry-4ZX3BNXK.js → entry-CWYCQ53A.js} +8 -6
  80. package/dist/bundle/{first-run-GRBQ3SQ5.js → first-run-YIH7EHJI.js} +9 -9
  81. package/dist/bundle/first-screen-THH3XD5Y.js +33 -0
  82. package/dist/bundle/{google-QV2B2KZA.js → google-A4F2WFO4.js} +9 -9
  83. package/dist/bundle/{google-api-EVO7F3WB.js → google-api-ZXGQOJUI.js} +51 -51
  84. package/dist/bundle/grants-B3HZRRAQ.js +98 -0
  85. package/dist/bundle/{identity-TKAX75OT.js → identity-6DGQA6DX.js} +4 -4
  86. package/dist/bundle/{instructions-GJHHFV64.js → instructions-BXZZNAMS.js} +1 -1
  87. package/dist/bundle/{login-R2YEAKEM.js → login-OUOGSTPH.js} +57 -57
  88. package/dist/bundle/{mcp-EMNFFY4N.js → mcp-VVMPUDSL.js} +2 -2
  89. package/dist/bundle/{node-GFOH6FKP.js → node-R6ZNQ3NT.js} +2 -2
  90. package/dist/bundle/{node-sqlite-NZIBED3C.js → node-sqlite-AFQTE4XZ.js} +4 -4
  91. package/dist/bundle/{oauth-WUHT2JII.js → oauth-46XBJBML.js} +6 -6
  92. package/dist/bundle/{open-INBNHORD.js → open-WJCRBIP7.js} +3 -3
  93. package/dist/bundle/{openai-BMREUGJP.js → openai-3TIBDWZA.js} +13 -13
  94. package/dist/bundle/{process-XVDX4SPD.js → process-P36JP33R.js} +1 -1
  95. package/dist/bundle/{program-DUWFQOSL.js → program-7FRXMZNK.js} +85 -77
  96. package/dist/bundle/{prompt-S7GHCPGR.js → prompt-FFGBIT4A.js} +4 -4
  97. package/dist/bundle/{reasons-T24V3AYS.js → reasons-VHCVYH54.js} +3 -3
  98. package/dist/bundle/{recognize-T3DABMW5.js → recognize-4EAKIMON.js} +3 -3
  99. package/dist/bundle/{remote-ASYGFT6E.js → remote-HX3JP4EH.js} +6 -6
  100. package/dist/bundle/{rerank-BQ5U252K.js → rerank-BW3A4PUU.js} +6 -6
  101. package/dist/bundle/{serve-JMLNKCUZ.js → serve-YYOOLIBS.js} +8 -8
  102. package/dist/bundle/{server-5E6RC7GZ.js → server-G6XTEEFI.js} +38 -38
  103. package/dist/bundle/server-YKYEUIJT.js +63 -0
  104. package/dist/bundle/{services-NFB3XSON.js → services-OAPILZOW.js} +45 -25
  105. package/dist/bundle/{sqlite-runtime-TAMYMQFR.js → sqlite-runtime-GTXDK4PE.js} +4 -4
  106. package/dist/bundle/{state-DS4G3ZXV.js → state-XG335LGZ.js} +5 -5
  107. package/dist/bundle/{store-MLMKYJLC.js → store-7KOXJNQP.js} +14 -12
  108. package/dist/bundle/{store-HAS2LRFE.js → store-N53SJOPS.js} +33 -15
  109. package/dist/bundle/store-maintenance-command-W3TI52X2.js +52 -0
  110. package/dist/bundle/tokens-CG3A5KS4.js +96 -0
  111. package/dist/commands/knowledge.d.ts.map +1 -1
  112. package/dist/commands/knowledge.js +10 -2
  113. package/dist/commands/knowledge.js.map +1 -1
  114. package/dist/config.d.ts +6 -0
  115. package/dist/config.d.ts.map +1 -1
  116. package/dist/config.js +4 -12
  117. package/dist/config.js.map +1 -1
  118. package/dist/profile-lock.js +2 -2
  119. package/dist/profile-lock.js.map +1 -1
  120. package/dist/reasons.js +1 -1
  121. package/dist/reasons.js.map +1 -1
  122. package/dist/version.d.ts +1 -1
  123. package/dist/version.js +1 -1
  124. package/package.json +3 -3
  125. package/dist/bundle/chunk-3NAVOBGH.js +0 -331
  126. package/dist/bundle/command-contract-VXLGE6NV.js +0 -35
  127. package/dist/bundle/first-screen-JK3MZVCU.js +0 -33
  128. package/dist/bundle/grants-B642KK5M.js +0 -98
  129. package/dist/bundle/server-QI4C3CQT.js +0 -63
  130. package/dist/bundle/store-maintenance-command-LI3JR22B.js +0 -52
  131. package/dist/bundle/tokens-UMSAYGOH.js +0 -96
  132. /package/dist/bundle/{chunk-NPGVOZVK.js → chunk-HPXYN7F3.js} +0 -0
@@ -4,7 +4,7 @@ import {
4
4
  __name
5
5
  } from "./chunk-ZVVMGPBJ.js";
6
6
 
7
- // 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/instructions.js
7
+ // node_modules/.pnpm/@wirecat+cli-core@0.546.0_@wirecat+cli-base@0.73.0_commander@15.0.0_esbuild@0.28.2_type_6245070bff0a7c29971e74a96fde145c/node_modules/@wirecat/cli-core/dist/mcp/instructions.js
8
8
  var instructions = /* @__PURE__ */ __name(({ command, name, profile, writes, skill }) => {
9
9
  const all = typeof profile !== "string";
10
10
  const offers = /* @__PURE__ */ __name((key) => all || writes.includes(key), "offers");
@@ -4,7 +4,7 @@ import {
4
4
  __name
5
5
  } from "./chunk-ZVVMGPBJ.js";
6
6
 
7
- // 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/stdio-wire.js
7
+ // node_modules/.pnpm/@wirecat+cli-core@0.546.0_@wirecat+cli-base@0.73.0_commander@15.0.0_esbuild@0.28.2_type_6245070bff0a7c29971e74a96fde145c/node_modules/@wirecat/cli-core/dist/mcp/stdio-wire.js
8
8
  import { PassThrough, Writable } from "node:stream";
9
9
  var lineReader = /* @__PURE__ */ __name((onMessage) => {
10
10
  let rest = "";
@@ -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-TBD362SJ.js";
5
+ } from "./chunk-GIQFBXQN.js";
6
6
  import {
7
7
  __name
8
8
  } from "./chunk-ZVVMGPBJ.js";
9
9
 
10
- // 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/models/types.js
10
+ // node_modules/.pnpm/@wirecat+cli-core@0.546.0_@wirecat+cli-base@0.73.0_commander@15.0.0_esbuild@0.28.2_type_6245070bff0a7c29971e74a96fde145c/node_modules/@wirecat/cli-core/dist/models/types.js
11
11
  var MAX_MODEL_IMAGE_BYTES = 4 * 1024 * 1024;
12
12
  var validateImages = /* @__PURE__ */ __name((images) => {
13
13
  if (images === void 0)
@@ -3,7 +3,7 @@ const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  AUDIT_MIN_SCORE,
5
5
  throughWrapper
6
- } from "./chunk-LAVWTS4P.js";
6
+ } from "./chunk-KHNDZNQA.js";
7
7
  import {
8
8
  Command,
9
9
  InvalidArgumentError,
@@ -16,13 +16,13 @@ import {
16
16
  renderAnswer,
17
17
  sharedCommand,
18
18
  snakeKeys
19
- } from "./chunk-BO7ZKZCH.js";
19
+ } from "./chunk-4F2VRJZE.js";
20
20
  import {
21
21
  readOnlyLockOf
22
- } from "./chunk-ALMQEGYO.js";
22
+ } from "./chunk-JLKNUFL2.js";
23
23
  import {
24
24
  formatReference
25
- } from "./chunk-VVMCGF5X.js";
25
+ } from "./chunk-WAVJWGUC.js";
26
26
  import {
27
27
  EVENT_QUERY,
28
28
  MEETING_PROJECT_EVIDENCE_QUERY,
@@ -45,7 +45,7 @@ import {
45
45
  readMeetingProjectEvidence,
46
46
  validateMeetingHitSearch,
47
47
  validateMeetingPassage
48
- } from "./chunk-VY3TYRCK.js";
48
+ } from "./chunk-R5GJZPRF.js";
49
49
  import {
50
50
  OPERATORS_BY_TYPE,
51
51
  dateRange,
@@ -58,7 +58,7 @@ import {
58
58
  timezoneOf,
59
59
  validateQuery,
60
60
  zonedMoment
61
- } from "./chunk-J6XLM4QW.js";
61
+ } from "./chunk-XJVK7ETL.js";
62
62
  import {
63
63
  CliError,
64
64
  array,
@@ -69,12 +69,12 @@ import {
69
69
  safeParse,
70
70
  strictObject,
71
71
  string
72
- } from "./chunk-TBD362SJ.js";
72
+ } from "./chunk-GIQFBXQN.js";
73
73
  import {
74
74
  __name
75
75
  } from "./chunk-ZVVMGPBJ.js";
76
76
 
77
- // 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/cli/messenger/lacks.js
77
+ // node_modules/.pnpm/@wirecat+cli-core@0.546.0_@wirecat+cli-base@0.73.0_commander@15.0.0_esbuild@0.28.2_type_6245070bff0a7c29971e74a96fde145c/node_modules/@wirecat/cli-core/dist/cli/messenger/lacks.js
78
78
  var COMMAND_NEEDS = {
79
79
  "account update": ["updateProfile", "change the profile"],
80
80
  "account sessions list": ["sessions", "list the account's sessions"],
@@ -124,7 +124,7 @@ var hideNever = /* @__PURE__ */ __name((messenger, group) => {
124
124
  return group;
125
125
  }, "hideNever");
126
126
 
127
- // 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/meetings/cli/query-options.js
127
+ // node_modules/.pnpm/@wirecat+cli-core@0.546.0_@wirecat+cli-base@0.73.0_commander@15.0.0_esbuild@0.28.2_type_6245070bff0a7c29971e74a96fde145c/node_modules/@wirecat/cli-core/dist/meetings/cli/query-options.js
128
128
  var queryWordsAfterOptions = /* @__PURE__ */ __name((command) => {
129
129
  command.allowUnknownOption();
130
130
  const parse = command.parseOptions.bind(command);
@@ -144,7 +144,7 @@ var queryWordsAfterOptions = /* @__PURE__ */ __name((command) => {
144
144
  return command;
145
145
  }, "queryWordsAfterOptions");
146
146
 
147
- // 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/meetings/cli/passage.js
147
+ // node_modules/.pnpm/@wirecat+cli-core@0.546.0_@wirecat+cli-base@0.73.0_commander@15.0.0_esbuild@0.28.2_type_6245070bff0a7c29971e74a96fde145c/node_modules/@wirecat/cli-core/dist/meetings/cli/passage.js
148
148
  var count = /* @__PURE__ */ __name((value) => {
149
149
  if (!/^(0|[1-9]\d*)$/.test(value) || !Number.isSafeInteger(Number(value)))
150
150
  throw new CliError("validation_error", "expected a nonnegative safe integer");
@@ -186,7 +186,7 @@ var addMeetingPassageCommandDefinition = /* @__PURE__ */ __name((program, deps)
186
186
  var createMeetingPassageCommand = sharedCommand(createMeetingPassageCommandDefinition);
187
187
  var addMeetingPassageCommand = sharedCommand(addMeetingPassageCommandDefinition);
188
188
 
189
- // 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/meetings/cli/project-evidence.js
189
+ // node_modules/.pnpm/@wirecat+cli-core@0.546.0_@wirecat+cli-base@0.73.0_commander@15.0.0_esbuild@0.28.2_type_6245070bff0a7c29971e74a96fde145c/node_modules/@wirecat/cli-core/dist/meetings/cli/project-evidence.js
190
190
  var integer = /* @__PURE__ */ __name((value) => {
191
191
  if (!/^[1-9]\d*$/.test(value) || !Number.isSafeInteger(Number(value)))
192
192
  throw new CliError("validation_error", "expected a positive safe integer");
@@ -209,7 +209,7 @@ ${fieldsHelp(MEETING_PROJECT_EVIDENCE_QUERY)}`).option("--limit <n>", "hits in o
209
209
  }, "addMeetingProjectEvidenceCommandDefinition");
210
210
  var addMeetingProjectEvidenceCommand = sharedCommand(addMeetingProjectEvidenceCommandDefinition);
211
211
 
212
- // 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/meetings/cli/search.js
212
+ // node_modules/.pnpm/@wirecat+cli-core@0.546.0_@wirecat+cli-base@0.73.0_commander@15.0.0_esbuild@0.28.2_type_6245070bff0a7c29971e74a96fde145c/node_modules/@wirecat/cli-core/dist/meetings/cli/search.js
213
213
  var ZONED = /(?:Z|[+-]\d{2}:?\d{2})$/i;
214
214
  var moment = /* @__PURE__ */ __name((flag, end, readIn) => (value) => {
215
215
  const zone = timezoneOf();
@@ -295,7 +295,7 @@ var addMeetingSearchCommandDefinition = /* @__PURE__ */ __name((program, deps) =
295
295
  var createMeetingSearchCommand = sharedCommand(createMeetingSearchCommandDefinition);
296
296
  var addMeetingSearchCommand = sharedCommand(addMeetingSearchCommandDefinition);
297
297
 
298
- // 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/meetings/cli/index.js
298
+ // node_modules/.pnpm/@wirecat+cli-core@0.546.0_@wirecat+cli-base@0.73.0_commander@15.0.0_esbuild@0.28.2_type_6245070bff0a7c29971e74a96fde145c/node_modules/@wirecat/cli-core/dist/meetings/cli/index.js
299
299
  var integer3 = /* @__PURE__ */ __name((text) => {
300
300
  if (!/^[1-9]\d*$/.test(text) || !Number.isSafeInteger(Number(text)))
301
301
  throw new InvalidArgumentError("expected a positive integer");
@@ -415,13 +415,14 @@ ${fieldsHelp(EVENT_QUERY, MEETING_QUERY_GUIDE)}`);
415
415
  }, "addMeetingCommandsDefinition");
416
416
  var addMeetingCommands = sharedCommand(addMeetingCommandsDefinition);
417
417
 
418
- // 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/cli/list-query.js
418
+ // node_modules/.pnpm/@wirecat+cli-core@0.546.0_@wirecat+cli-base@0.73.0_commander@15.0.0_esbuild@0.28.2_type_6245070bff0a7c29971e74a96fde145c/node_modules/@wirecat/cli-core/dist/cli/list-query.js
419
419
  var LIST_QUERY_GUIDE = "https://github.com/WireCatLabs/cli-core/blob/main/docs/search/query-language.md";
420
+ var QUERY_ARGUMENT = "field:value terms that narrow the list \u2014 the fields are below";
420
421
  var withQuery = /* @__PURE__ */ __name((command, registry) => {
421
422
  const query = defineQuery(registry);
422
423
  annotate(command, { query, output: { entity: registry.entity } });
423
424
  const shown = askable(query);
424
- queryWordsAfterOptions(command).argument("[query...]", shown.length > 0 ? "field:value terms that narrow the list \u2014 the fields are below" : "field:value terms; this list filters by none yet");
425
+ queryWordsAfterOptions(command).argument("[query...]", shown.length > 0 ? QUERY_ARGUMENT : "field:value terms; this list filters by none yet");
425
426
  if (shown.length > 0)
426
427
  command.addHelpText("after", `
427
428
  ${fieldsHelp({ ...query, fields: shown }, LIST_QUERY_GUIDE)}`);
@@ -432,9 +433,19 @@ var unfilteredQuery = /* @__PURE__ */ __name((entity, schema) => ({
432
433
  backend: "native",
433
434
  fields: queryFieldsOf(schema, {})
434
435
  }), "unfilteredQuery");
435
- var listQuery = /* @__PURE__ */ __name((text, registry, command) => {
436
+ var withTomorrow = /* @__PURE__ */ __name((query, registry, zone = timezoneOf(), now = Date.now()) => {
437
+ const times = new Set(registry.fields.filter(({ type }) => type === "time").map(({ name }) => name));
438
+ const date2 = /* @__PURE__ */ new Date(`${new Intl.DateTimeFormat("en-CA", { timeZone: zone }).format(now)}T00:00:00Z`);
439
+ date2.setUTCDate(date2.getUTCDate() + 1);
440
+ const tomorrow = date2.toISOString().slice(0, 10);
441
+ const day = /* @__PURE__ */ __name((value) => value.toLowerCase() === "tomorrow" ? tomorrow : value, "day");
442
+ const map = /* @__PURE__ */ __name((node) => node.kind === "predicate" ? times.has(node.field) ? { ...node, value: day(node.value), ...node.upper === void 0 ? {} : { upper: day(node.upper) } } : node : { ...node, clauses: node.clauses.map((clause) => ({ ...clause, node: map(clause.node) })) }, "map");
443
+ return { ...query, root: map(query.root) };
444
+ }, "withTomorrow");
445
+ var listQuery = /* @__PURE__ */ __name((text, registry, command, { defaultField = "none" } = {}) => {
436
446
  const context = { command, guide: LIST_QUERY_GUIDE };
437
- const typed = text.trim() === "" ? void 0 : parseLucene(text, { defaultField: "none", ...context });
447
+ const parsed = text.trim() === "" ? void 0 : parseLucene(text, { defaultField, ...context });
448
+ const typed = parsed && withTomorrow(parsed, registry);
438
449
  if (typed)
439
450
  validateQuery(typed, registry, context);
440
451
  const named = typed ? fieldsNamed(typed) : /* @__PURE__ */ new Set();
@@ -466,7 +477,7 @@ var pagedList = /* @__PURE__ */ __name((command, { limit, page, all }, { items,
466
477
  }), "pagedList");
467
478
  var askable = /* @__PURE__ */ __name((registry) => registry.backend === "native" ? registry.fields.filter((field) => field.native) : registry.fields, "askable");
468
479
  var nativeTerms = /* @__PURE__ */ __name((ast, command) => new Map([...nativeTermLists(ast, command)].map(([field, [node]]) => [field, node])), "nativeTerms");
469
- var nativeTermLists = /* @__PURE__ */ __name((ast, command, repeatable = []) => {
480
+ var nativeTermLists = /* @__PURE__ */ __name((ast, command, repeatable = [], negatable = []) => {
470
481
  const terms = /* @__PURE__ */ new Map();
471
482
  if (!ast)
472
483
  return terms;
@@ -474,8 +485,14 @@ var nativeTermLists = /* @__PURE__ */ __name((ast, command, repeatable = []) =>
474
485
  const add = /* @__PURE__ */ __name((node) => {
475
486
  if (node.kind === "boolean") {
476
487
  for (const clause of node.clauses) {
488
+ const excluded = clause.occur === "must_not" && clause.node.kind === "predicate" && negatable.includes(clause.node.field);
489
+ if (excluded && clause.node.kind === "predicate") {
490
+ const key = `-${clause.node.field}`;
491
+ terms.set(key, [...terms.get(key) ?? [], clause.node]);
492
+ continue;
493
+ }
477
494
  if (clause.occur !== "must")
478
- queryError("query.unsupported-placement", clause.node.span, "this list takes only field:value terms joined by AND", context);
495
+ queryError("query.unsupported-placement", clause.node.span, negatable.length ? `this list takes only field:value terms joined by AND, and -field:value for ${negatable.join(", ")}` : "this list takes only field:value terms joined by AND", context);
479
496
  add(clause.node);
480
497
  }
481
498
  return;
@@ -531,7 +548,7 @@ var termField = /* @__PURE__ */ __name((name, type, example, more = {}) => nativ
531
548
  var queryHelp = /* @__PURE__ */ __name((registry) => `
532
549
  ${fieldsHelp(registry, LIST_QUERY_GUIDE)}`, "queryHelp");
533
550
 
534
- // 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/cli/paging.js
551
+ // node_modules/.pnpm/@wirecat+cli-core@0.546.0_@wirecat+cli-base@0.73.0_commander@15.0.0_esbuild@0.28.2_type_6245070bff0a7c29971e74a96fde145c/node_modules/@wirecat/cli-core/dist/cli/paging.js
535
552
  var positiveCount = /* @__PURE__ */ __name((flag) => (value) => {
536
553
  if (!/^\d+$/.test(value.trim()) || Number(value) < 1)
537
554
  throw new CliError("validation_error", `${flag} takes a whole number from 1 upwards, not "${value}"`);
@@ -540,7 +557,7 @@ var positiveCount = /* @__PURE__ */ __name((flag) => (value) => {
540
557
  var withPaging = /* @__PURE__ */ __name((command) => command.option("--limit <n>", "how many to show", positiveCount("--limit")).option("--page <n>", "which page, starting at 1", positiveCount("--page")).option("--all", "every row, no paging"), "withPaging");
541
558
  var window = /* @__PURE__ */ __name(({ limit, page, all }) => all ? { offset: 0 } : { limit, offset: (page - 1) * limit }, "window");
542
559
 
543
- // 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/cli/messenger/chat-answers.js
560
+ // node_modules/.pnpm/@wirecat+cli-core@0.546.0_@wirecat+cli-base@0.73.0_commander@15.0.0_esbuild@0.28.2_type_6245070bff0a7c29971e74a96fde145c/node_modules/@wirecat/cli-core/dist/cli/messenger/chat-answers.js
544
561
  var defined = /* @__PURE__ */ __name((record2) => Object.fromEntries(Object.entries(record2).filter(([, value]) => value !== void 0)), "defined");
545
562
  var chatRef = /* @__PURE__ */ __name((account, chat) => formatReference({ type: "chat", provider: account.provider, account: account.account, chat }), "chatRef");
546
563
  var settingsOf = /* @__PURE__ */ __name((settings) => defined({
@@ -802,7 +819,7 @@ var sessionAnswer = /* @__PURE__ */ __name(({ current, client, device, location,
802
819
  ...createdAt === void 0 ? {} : { created_at: createdAt }
803
820
  }), "sessionAnswer");
804
821
 
805
- // 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/background/relay.js
822
+ // node_modules/.pnpm/@wirecat+cli-core@0.546.0_@wirecat+cli-base@0.73.0_commander@15.0.0_esbuild@0.28.2_type_6245070bff0a7c29971e74a96fde145c/node_modules/@wirecat/cli-core/dist/background/relay.js
806
823
  import { createHash } from "node:crypto";
807
824
  import { chmodSync, lstatSync, mkdirSync, rmSync } from "node:fs";
808
825
  import { createConnection, createServer } from "node:net";
@@ -1023,7 +1040,7 @@ var relayCommand = /* @__PURE__ */ __name((path, request, options) => new Promis
1023
1040
  }, () => finish({ error: stopped() }));
1024
1041
  }), "relayCommand");
1025
1042
 
1026
- // 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/cli/messenger/serve-relay.js
1043
+ // node_modules/.pnpm/@wirecat+cli-core@0.546.0_@wirecat+cli-base@0.73.0_commander@15.0.0_esbuild@0.28.2_type_6245070bff0a7c29971e74a96fde145c/node_modules/@wirecat/cli-core/dist/cli/messenger/serve-relay.js
1027
1044
  var lentConnection = /* @__PURE__ */ __name((connection, watchers) => throughWrapper(connection, {
1028
1045
  close: /* @__PURE__ */ __name(async () => {
1029
1046
  }, "close"),
@@ -1124,6 +1141,7 @@ export {
1124
1141
  createMeetingSearchCommand,
1125
1142
  addMeetingCommands,
1126
1143
  LIST_QUERY_GUIDE,
1144
+ QUERY_ARGUMENT,
1127
1145
  withQuery,
1128
1146
  unfilteredQuery,
1129
1147
  listQuery,
@@ -8,11 +8,11 @@ import {
8
8
  MAX_FILE_BYTES,
9
9
  MAX_TEXT_CHARS,
10
10
  attachmentMaxBytes
11
- } from "./chunk-AR2HRFQO.js";
11
+ } from "./chunk-373WJIHE.js";
12
12
  import {
13
13
  CliError,
14
14
  isCliError
15
- } from "./chunk-TBD362SJ.js";
15
+ } from "./chunk-GIQFBXQN.js";
16
16
  import {
17
17
  importFrom,
18
18
  resolveFrom
@@ -16632,20 +16632,20 @@ var require_lib3 = __commonJS({
16632
16632
  }
16633
16633
  });
16634
16634
 
16635
- // 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/attachments/extract.js
16635
+ // node_modules/.pnpm/@wirecat+cli-core@0.546.0_@wirecat+cli-base@0.73.0_commander@15.0.0_esbuild@0.28.2_type_6245070bff0a7c29971e74a96fde145c/node_modules/@wirecat/cli-core/dist/attachments/extract.js
16636
16636
  import { extname as extname2 } from "node:path";
16637
16637
 
16638
- // 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/readers/engine.js
16638
+ // node_modules/.pnpm/@wirecat+cli-core@0.546.0_@wirecat+cli-base@0.73.0_commander@15.0.0_esbuild@0.28.2_type_6245070bff0a7c29971e74a96fde145c/node_modules/@wirecat/cli-core/dist/readers/engine.js
16639
16639
  import { readFileSync } from "node:fs";
16640
16640
  import { dirname, extname, join } from "node:path";
16641
16641
  import { fileURLToPath } from "node:url";
16642
16642
 
16643
- // 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/attachments/container.js
16643
+ // node_modules/.pnpm/@wirecat+cli-core@0.546.0_@wirecat+cli-base@0.73.0_commander@15.0.0_esbuild@0.28.2_type_6245070bff0a7c29971e74a96fde145c/node_modules/@wirecat/cli-core/dist/attachments/container.js
16644
16644
  import { setImmediate as tick } from "node:timers/promises";
16645
16645
  import { crc32 } from "node:zlib";
16646
16646
  var import_xmldom = __toESM(require_lib(), 1);
16647
16647
 
16648
- // 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/attachments/encoding.js
16648
+ // node_modules/.pnpm/@wirecat+cli-core@0.546.0_@wirecat+cli-base@0.73.0_commander@15.0.0_esbuild@0.28.2_type_6245070bff0a7c29971e74a96fde145c/node_modules/@wirecat/cli-core/dist/attachments/encoding.js
16649
16649
  var import_chardet = __toESM(require_lib2(), 1);
16650
16650
  var import_iconv_lite = __toESM(require_lib3(), 1);
16651
16651
  var SAMPLE = 65536;
@@ -16747,7 +16747,7 @@ var decodeXml = /* @__PURE__ */ __name((bytes) => {
16747
16747
  return result.text;
16748
16748
  }, "decodeXml");
16749
16749
 
16750
- // 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/attachments/container.js
16750
+ // node_modules/.pnpm/@wirecat+cli-core@0.546.0_@wirecat+cli-base@0.73.0_commander@15.0.0_esbuild@0.28.2_type_6245070bff0a7c29971e74a96fde145c/node_modules/@wirecat/cli-core/dist/attachments/container.js
16751
16751
  var MAX_PART = 10 * 1024 * 1024;
16752
16752
  var MAX_ENTRIES = 1e3;
16753
16753
  var decoder = new TextDecoder("utf-8", { fatal: true });
@@ -16962,7 +16962,7 @@ var elements = /* @__PURE__ */ __name((node, name, namespace) => {
16962
16962
  return found;
16963
16963
  }, "elements");
16964
16964
 
16965
- // 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/readers/engine.js
16965
+ // node_modules/.pnpm/@wirecat+cli-core@0.546.0_@wirecat+cli-base@0.73.0_commander@15.0.0_esbuild@0.28.2_type_6245070bff0a7c29971e74a96fde145c/node_modules/@wirecat/cli-core/dist/readers/engine.js
16966
16966
  var BUILT_IN = ["unpdf", "mammoth", "word-extractor", "linkedom", "defuddle/node"];
16967
16967
  var ENGINES = [...BUILT_IN, "@napi-rs/canvas"];
16968
16968
  var isMissing = /* @__PURE__ */ __name((error, name) => error?.code === "ERR_MODULE_NOT_FOUND" && String(error.message).includes(name), "isMissing");
@@ -17020,7 +17020,7 @@ var derived = /* @__PURE__ */ __name((bytes, extractor, read) => {
17020
17020
  }
17021
17021
  }, "derived");
17022
17022
 
17023
- // 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/readers/image/index.js
17023
+ // node_modules/.pnpm/@wirecat+cli-core@0.546.0_@wirecat+cli-base@0.73.0_commander@15.0.0_esbuild@0.28.2_type_6245070bff0a7c29971e74a96fde145c/node_modules/@wirecat/cli-core/dist/readers/image/index.js
17024
17024
  var IMAGES = /* @__PURE__ */ new Set([".jpg", ".jpeg", ".png", ".webp", ".gif", ".heic", ".tif", ".tiff", ".bmp"]);
17025
17025
  var image = {
17026
17026
  id: "image",
@@ -17029,7 +17029,7 @@ var image = {
17029
17029
  read: /* @__PURE__ */ __name(async () => ({ status: "needs-agent" }), "read")
17030
17030
  };
17031
17031
 
17032
- // 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/readers/doc/index.js
17032
+ // node_modules/.pnpm/@wirecat+cli-core@0.546.0_@wirecat+cli-base@0.73.0_commander@15.0.0_esbuild@0.28.2_type_6245070bff0a7c29971e74a96fde145c/node_modules/@wirecat/cli-core/dist/readers/doc/index.js
17033
17033
  var OLE = "\xD0\xCF\xE0\xA1\xB1\xE1";
17034
17034
  var doc = {
17035
17035
  id: "doc",
@@ -17041,7 +17041,7 @@ var doc = {
17041
17041
  }), "read")
17042
17042
  };
17043
17043
 
17044
- // 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/readers/docx/index.js
17044
+ // node_modules/.pnpm/@wirecat+cli-core@0.546.0_@wirecat+cli-base@0.73.0_commander@15.0.0_esbuild@0.28.2_type_6245070bff0a7c29971e74a96fde145c/node_modules/@wirecat/cli-core/dist/readers/docx/index.js
17045
17045
  var DOCX = "application/vnd.openxmlformats-officedocument.wordprocessingml.document";
17046
17046
  var docx = {
17047
17047
  id: "docx",
@@ -17054,7 +17054,7 @@ var docx = {
17054
17054
  }), "read")
17055
17055
  };
17056
17056
 
17057
- // 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/attachments/markup.js
17057
+ // node_modules/.pnpm/@wirecat+cli-core@0.546.0_@wirecat+cli-base@0.73.0_commander@15.0.0_esbuild@0.28.2_type_6245070bff0a7c29971e74a96fde145c/node_modules/@wirecat/cli-core/dist/attachments/markup.js
17058
17058
  var import_iconv_lite2 = __toESM(require_lib3(), 1);
17059
17059
  var RTF_SKIPPED = /* @__PURE__ */ new Set([
17060
17060
  "fonttbl",
@@ -17230,7 +17230,7 @@ var htmlText = /* @__PURE__ */ __name((source) => {
17230
17230
  }, "htmlText");
17231
17231
  var safeChar = /* @__PURE__ */ __name((code, fallback) => code > 0 && code <= 1114111 ? String.fromCodePoint(code) : fallback, "safeChar");
17232
17232
 
17233
- // 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/readers/html/page.js
17233
+ // node_modules/.pnpm/@wirecat+cli-core@0.546.0_@wirecat+cli-base@0.73.0_commander@15.0.0_esbuild@0.28.2_type_6245070bff0a7c29971e74a96fde145c/node_modules/@wirecat/cli-core/dist/readers/html/page.js
17234
17234
  var clean = /* @__PURE__ */ __name((value) => typeof value === "string" ? value.replace(/\s+/g, " ").trim() : "", "clean");
17235
17235
  var namesIn = /* @__PURE__ */ __name((value) => [value].flat().map((entry) => typeof entry === "string" ? clean(entry) : clean(entry?.name)).filter(Boolean).join(", "), "namesIn");
17236
17236
  var jsonLdNodes = /* @__PURE__ */ __name((document) => {
@@ -17286,7 +17286,7 @@ var markdownSections = /* @__PURE__ */ __name((text) => {
17286
17286
  return found.map((section, index) => ({ ...section, end: found[index + 1]?.start ?? text.length }));
17287
17287
  }, "markdownSections");
17288
17288
 
17289
- // 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/readers/html/index.js
17289
+ // node_modules/.pnpm/@wirecat+cli-core@0.546.0_@wirecat+cli-base@0.73.0_commander@15.0.0_esbuild@0.28.2_type_6245070bff0a7c29971e74a96fde145c/node_modules/@wirecat/cli-core/dist/readers/html/index.js
17290
17290
  var HTML = /* @__PURE__ */ new Set([".html", ".htm", ".xhtml"]);
17291
17291
  var first = /* @__PURE__ */ __name((...values) => values.find((value) => typeof value === "string" && value !== ""), "first");
17292
17292
  var loaded = /* @__PURE__ */ __name(async (load, name) => {
@@ -17357,10 +17357,10 @@ var html = {
17357
17357
  }, "read")
17358
17358
  };
17359
17359
 
17360
- // 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/attachments/documents.js
17360
+ // node_modules/.pnpm/@wirecat+cli-core@0.546.0_@wirecat+cli-base@0.73.0_commander@15.0.0_esbuild@0.28.2_type_6245070bff0a7c29971e74a96fde145c/node_modules/@wirecat/cli-core/dist/attachments/documents.js
17361
17361
  import { posix } from "node:path";
17362
17362
 
17363
- // 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/attachments/sheets.js
17363
+ // node_modules/.pnpm/@wirecat+cli-core@0.546.0_@wirecat+cli-base@0.73.0_commander@15.0.0_esbuild@0.28.2_type_6245070bff0a7c29971e74a96fde145c/node_modules/@wirecat/cli-core/dist/attachments/sheets.js
17364
17364
  var columnName = /* @__PURE__ */ __name((column) => {
17365
17365
  let name = "";
17366
17366
  for (let rest = column; rest > 0; rest = Math.floor((rest - 1) / 26))
@@ -17415,7 +17415,7 @@ var sheetText = /* @__PURE__ */ __name((sheets2, maxChars = MAX_TEXT_CHARS) => {
17415
17415
  return { text: parts.join("").trim(), truncated: false };
17416
17416
  }, "sheetText");
17417
17417
 
17418
- // 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/attachments/documents.js
17418
+ // node_modules/.pnpm/@wirecat+cli-core@0.546.0_@wirecat+cli-base@0.73.0_commander@15.0.0_esbuild@0.28.2_type_6245070bff0a7c29971e74a96fde145c/node_modules/@wirecat/cli-core/dist/attachments/documents.js
17419
17419
  var OFFICE = "urn:oasis:names:tc:opendocument:xmlns:office:1.0";
17420
17420
  var TEXT = "urn:oasis:names:tc:opendocument:xmlns:text:1.0";
17421
17421
  var TABLE = "urn:oasis:names:tc:opendocument:xmlns:table:1.0";
@@ -17830,7 +17830,7 @@ var readDocument = /* @__PURE__ */ __name(async (bytes, kind, signal) => {
17830
17830
  }
17831
17831
  }, "readDocument");
17832
17832
 
17833
- // 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/readers/office/index.js
17833
+ // node_modules/.pnpm/@wirecat+cli-core@0.546.0_@wirecat+cli-base@0.73.0_commander@15.0.0_esbuild@0.28.2_type_6245070bff0a7c29971e74a96fde145c/node_modules/@wirecat/cli-core/dist/readers/office/index.js
17834
17834
  var office = {
17835
17835
  id: "office",
17836
17836
  version: documentExtractor("odt"),
@@ -17841,7 +17841,7 @@ var office = {
17841
17841
  }, "read")
17842
17842
  };
17843
17843
 
17844
- // 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/readers/pdf/index.js
17844
+ // node_modules/.pnpm/@wirecat+cli-core@0.546.0_@wirecat+cli-base@0.73.0_commander@15.0.0_esbuild@0.28.2_type_6245070bff0a7c29971e74a96fde145c/node_modules/@wirecat/cli-core/dist/readers/pdf/index.js
17845
17845
  var pdf = {
17846
17846
  id: "pdf",
17847
17847
  version: "unpdf",
@@ -17908,7 +17908,7 @@ var pdf = {
17908
17908
  }), "read")
17909
17909
  };
17910
17910
 
17911
- // 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/readers/plain/index.js
17911
+ // node_modules/.pnpm/@wirecat+cli-core@0.546.0_@wirecat+cli-base@0.73.0_commander@15.0.0_esbuild@0.28.2_type_6245070bff0a7c29971e74a96fde145c/node_modules/@wirecat/cli-core/dist/readers/plain/index.js
17912
17912
  var PLAIN = /* @__PURE__ */ new Set([".txt", ".md", ".markdown", ".csv", ".tsv", ".json", ".log"]);
17913
17913
  var isPlain = /* @__PURE__ */ __name((hint) => PLAIN.has(extensionOf(hint)) || hint.mime?.startsWith("text/") || hint.mime === "application/json", "isPlain");
17914
17914
  var readPlain = /* @__PURE__ */ __name((bytes) => {
@@ -17928,7 +17928,7 @@ var plain = {
17928
17928
  read: /* @__PURE__ */ __name(async (bytes) => readPlain(bytes), "read")
17929
17929
  };
17930
17930
 
17931
- // 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/readers/rtf/index.js
17931
+ // node_modules/.pnpm/@wirecat+cli-core@0.546.0_@wirecat+cli-base@0.73.0_commander@15.0.0_esbuild@0.28.2_type_6245070bff0a7c29971e74a96fde145c/node_modules/@wirecat/cli-core/dist/readers/rtf/index.js
17932
17932
  var rtf = {
17933
17933
  id: "rtf",
17934
17934
  version: "v1",
@@ -17936,10 +17936,10 @@ var rtf = {
17936
17936
  read: /* @__PURE__ */ __name(async (bytes) => derived(bytes, "rtf:v1", rtfText), "read")
17937
17937
  };
17938
17938
 
17939
- // 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/readers/sheets/index.js
17939
+ // node_modules/.pnpm/@wirecat+cli-core@0.546.0_@wirecat+cli-base@0.73.0_commander@15.0.0_esbuild@0.28.2_type_6245070bff0a7c29971e74a96fde145c/node_modules/@wirecat/cli-core/dist/readers/sheets/index.js
17940
17940
  import { basename } from "node:path";
17941
17941
 
17942
- // 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/attachments/csv-spans.js
17942
+ // node_modules/.pnpm/@wirecat+cli-core@0.546.0_@wirecat+cli-base@0.73.0_commander@15.0.0_esbuild@0.28.2_type_6245070bff0a7c29971e74a96fde145c/node_modules/@wirecat/cli-core/dist/attachments/csv-spans.js
17943
17943
  var delimitedSpans = /* @__PURE__ */ __name((text, delimiter, maxCells = 1e4) => {
17944
17944
  const cells = [];
17945
17945
  let row = 1, column = 1, start = 0, quoted = false, truncated = false;
@@ -17977,7 +17977,7 @@ var delimitedSpans = /* @__PURE__ */ __name((text, delimiter, maxCells = 1e4) =>
17977
17977
  return { cells, truncated };
17978
17978
  }, "delimitedSpans");
17979
17979
 
17980
- // 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/readers/sheets/index.js
17980
+ // node_modules/.pnpm/@wirecat+cli-core@0.546.0_@wirecat+cli-base@0.73.0_commander@15.0.0_esbuild@0.28.2_type_6245070bff0a7c29971e74a96fde145c/node_modules/@wirecat/cli-core/dist/readers/sheets/index.js
17981
17981
  var DELIMITED = {
17982
17982
  ".csv": ",",
17983
17983
  ".tsv": " ",
@@ -18016,7 +18016,7 @@ var sheets = {
18016
18016
  }, "read")
18017
18017
  };
18018
18018
 
18019
- // 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/readers/registry.js
18019
+ // node_modules/.pnpm/@wirecat+cli-core@0.546.0_@wirecat+cli-base@0.73.0_commander@15.0.0_esbuild@0.28.2_type_6245070bff0a7c29971e74a96fde145c/node_modules/@wirecat/cli-core/dist/readers/registry.js
18020
18020
  var BUILT_INS = [office, pdf, docx, doc, rtf, html, sheets, plain, image];
18021
18021
  var HEAD_BYTES = 1024;
18022
18022
  var readers = [...BUILT_INS];
@@ -18026,7 +18026,7 @@ var readWithRegistry = /* @__PURE__ */ __name(async (bytes, hint, context) => {
18026
18026
  return reader ? reader.read(bytes, hint, context) : { status: "unsupported" };
18027
18027
  }, "readWithRegistry");
18028
18028
 
18029
- // 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/attachments/extract.js
18029
+ // node_modules/.pnpm/@wirecat+cli-core@0.546.0_@wirecat+cli-base@0.73.0_commander@15.0.0_esbuild@0.28.2_type_6245070bff0a7c29971e74a96fde145c/node_modules/@wirecat/cli-core/dist/attachments/extract.js
18030
18030
  var importEngine = /* @__PURE__ */ __name((name) => importFrom(new URL("attachments/extract.js", import.meta.resolve("@wirecat/cli-core")).href, name), "importEngine");
18031
18031
  var extensionOf2 = /* @__PURE__ */ __name(({ name, path }) => extname2(name ?? path).toLowerCase(), "extensionOf");
18032
18032
  var extractText = /* @__PURE__ */ __name(async (bytes, hint, load, signal, env = process.env) => {
@@ -4,7 +4,7 @@ import {
4
4
  __name
5
5
  } from "./chunk-ZVVMGPBJ.js";
6
6
 
7
- // 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/errors.js
7
+ // node_modules/.pnpm/@wirecat+cli-base@0.73.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/errors.js
8
8
  var errorCodes = [
9
9
  "validation_error",
10
10
  "configuration_error",
@@ -1272,7 +1272,7 @@ function unwrap(schema) {
1272
1272
  }
1273
1273
  __name(unwrap, "unwrap");
1274
1274
 
1275
- // 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/effects.js
1275
+ // node_modules/.pnpm/@wirecat+cli-base@0.73.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/effects.js
1276
1276
  var EFFECT_LEVELS = ["none", "read", "write"];
1277
1277
  var effectsSchema = strictObject({
1278
1278
  remote: picklist(EFFECT_LEVELS),
@@ -1909,7 +1909,7 @@ function toStandardJsonSchema(schema) {
1909
1909
  }
1910
1910
  __name(toStandardJsonSchema, "toStandardJsonSchema");
1911
1911
 
1912
- // 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/registry.js
1912
+ // node_modules/.pnpm/@wirecat+cli-base@0.73.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/registry.js
1913
1913
  var word = pipe(string(), regex(/^[a-z][a-z0-9]*(-[a-z0-9]+)*$/, "a lower-case word, words joined by -"));
1914
1914
  var SNAKE_CASE = /^[a-z][a-z0-9]*(_[a-z0-9]+)*$/;
1915
1915
  var text = pipe(string(), regex(/\S/, "must not be empty"));
@@ -1951,9 +1951,10 @@ var fill = /* @__PURE__ */ __name((template, values) => template.replace(PLACEHO
1951
1951
  return String(value);
1952
1952
  }), "fill");
1953
1953
 
1954
- // 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/output.js
1954
+ // node_modules/.pnpm/@wirecat+cli-base@0.73.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/output.js
1955
1955
  var MAX_NEXT_STEPS = 2;
1956
1956
  var isoTime = pipe(string(), isoTimestamp("an ISO 8601 time in UTC"), endsWith("Z", "an ISO 8601 time in UTC, ending in `Z`"));
1957
+ var localTime = pipe(string(), regex(/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}\.\d{3}[+-]\d{2}:\d{2}$/, "an ISO 8601 time with its offset"));
1957
1958
  var reference = pipe(string(), regex(/^[a-z]+:\S+$/, "a reference such as `note:42`"));
1958
1959
  var nextStepSchema = variant("kind", [
1959
1960
  strictObject({
@@ -2020,6 +2021,9 @@ var metaSchema = strictObject({
2020
2021
  issues: optional(array(issueSchema)),
2021
2022
  truncated: optional(boolean()),
2022
2023
  timezone: optional(text),
2024
+ /** When the command answered, for an agent that plans from "now" (WC-TIME-7); `timezone` names the zone of `now_local`. */
2025
+ now: optional(isoTime),
2026
+ now_local: optional(localTime),
2023
2027
  window: optional(strictObject({ since: optional(isoTime), until: optional(isoTime) }))
2024
2028
  });
2025
2029
  var nextSteps = optional(pipe(array(nextStepSchema), maxLength(MAX_NEXT_STEPS)));
@@ -2047,7 +2051,7 @@ var jsonlOf = /* @__PURE__ */ __name(({ items, page, meta }) => [
2047
2051
  JSON.stringify({ type: "end", complete: meta.complete, ...meta.issues ? { issues: meta.issues } : {}, page })
2048
2052
  ].join("\n"), "jsonlOf");
2049
2053
 
2050
- // 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/errors.js
2054
+ // node_modules/.pnpm/@wirecat+cli-base@0.73.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/errors.js
2051
2055
  var CRASH_CODE = "internal_error";
2052
2056
  var CRASH_REASON = "command.crashed";
2053
2057
  var errorObjectSchema = strictObject({
@@ -2134,7 +2138,7 @@ var BASE_REASONS = defineReasons([
2134
2138
  { reason: CRASH_REASON, code: CRASH_CODE, message: "the command failed; this is a bug", details: [] }
2135
2139
  ]);
2136
2140
 
2137
- // 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/steps.js
2141
+ // node_modules/.pnpm/@wirecat+cli-base@0.73.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/steps.js
2138
2142
  var SAME_COMMAND = "*";
2139
2143
  var commandPath = pipe(string(), regex(/^[a-z][a-z0-9-]*( [a-z][a-z0-9-]*)*$/, "a command path such as `messages sync`"));
2140
2144
  var stepSchema = union([
@@ -2213,7 +2217,7 @@ var STEPS = defineSteps([
2213
2217
  }
2214
2218
  ]);
2215
2219
 
2216
- // 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/log.js
2220
+ // node_modules/.pnpm/@wirecat+cli-base@0.73.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/log.js
2217
2221
  var LOG_SEVERITIES = ["trace", "debug", "info", "warn", "error", "fatal"];
2218
2222
  var logRecordSchema = strictObject({
2219
2223
  time: isoTime,
@@ -5,15 +5,15 @@ import {
5
5
  readLock,
6
6
  releaseLock,
7
7
  takeLock
8
- } from "./chunk-NCCL4QWR.js";
8
+ } from "./chunk-SRNXTXJN.js";
9
9
  import {
10
10
  __name
11
11
  } from "./chunk-ZVVMGPBJ.js";
12
12
 
13
- // 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/http/state.js
13
+ // node_modules/.pnpm/@wirecat+cli-core@0.546.0_@wirecat+cli-base@0.73.0_commander@15.0.0_esbuild@0.28.2_type_6245070bff0a7c29971e74a96fde145c/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.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/http/activity.js
16
+ // node_modules/.pnpm/@wirecat+cli-core@0.546.0_@wirecat+cli-base@0.73.0_commander@15.0.0_esbuild@0.28.2_type_6245070bff0a7c29971e74a96fde145c/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.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/http/state.js
89
+ // node_modules/.pnpm/@wirecat+cli-core@0.546.0_@wirecat+cli-base@0.73.0_commander@15.0.0_esbuild@0.28.2_type_6245070bff0a7c29971e74a96fde145c/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");