@wirecat/zoom-cli 0.75.0 → 0.76.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 (161) hide show
  1. package/dist/bin/zm.js +2 -2
  2. package/dist/bundle/{all-profiles-WFLKFKJC.js → all-profiles-AAMFP7IN.js} +11 -11
  3. package/dist/bundle/answer-policy-ETAELI4A.js +110 -0
  4. package/dist/bundle/{anthropic-H45W4P22.js → anthropic-6KIS53QB.js} +6 -6
  5. package/dist/bundle/{app-server-I4FPLBIX.js → app-server-6QYNNYEU.js} +57 -57
  6. package/dist/bundle/{bun-V5QLYBZU.js → bun-QVVCH4MJ.js} +2 -2
  7. package/dist/bundle/{bun-sqlite-X2YZPHDS.js → bun-sqlite-Y2ZFMNQ3.js} +7 -7
  8. package/dist/bundle/{chunk-P4ZQQLZF.js → chunk-25GMFXPF.js} +707 -698
  9. package/dist/bundle/{chunk-PX4IMYVB.js → chunk-2HKUQ7DR.js} +3 -3
  10. package/dist/bundle/{chunk-M4OP5ASJ.js → chunk-35AH33VJ.js} +1 -1
  11. package/dist/bundle/{chunk-4RJL32PF.js → chunk-3D5PETD2.js} +26 -9
  12. package/dist/bundle/{chunk-C5WQ57AB.js → chunk-4ERYXY4Y.js} +1 -1
  13. package/dist/bundle/{chunk-HKPNQL52.js → chunk-4JPOELCT.js} +4 -4
  14. package/dist/bundle/{chunk-QBKKTTA3.js → chunk-55SWKR6Y.js} +181 -158
  15. package/dist/bundle/{chunk-2PYZTRRC.js → chunk-5EII5RIL.js} +1 -1
  16. package/dist/bundle/{chunk-F6RB5FHZ.js → chunk-5T7TBK5Y.js} +1 -1
  17. package/dist/bundle/{chunk-NU4FSSMN.js → chunk-64N7MY3I.js} +3 -3
  18. package/dist/bundle/{chunk-532H3KT3.js → chunk-65VRWNDP.js} +4 -4
  19. package/dist/bundle/{chunk-T25PR26L.js → chunk-6SXCGS3A.js} +7 -7
  20. package/dist/bundle/{chunk-CAQ5GW3A.js → chunk-6VCQ4CTK.js} +1 -1
  21. package/dist/bundle/{chunk-MNVT7EJS.js → chunk-7RORMNKP.js} +2 -2
  22. package/dist/bundle/{chunk-IDGWBKMH.js → chunk-B7ZREOBD.js} +12 -12
  23. package/dist/bundle/{chunk-LRCSDAYK.js → chunk-CE5Y7PQU.js} +4 -4
  24. package/dist/bundle/{chunk-IW245Q5B.js → chunk-CPOFLYPU.js} +33 -29
  25. package/dist/bundle/{chunk-HNWDEDMU.js → chunk-CS62FET6.js} +21 -21
  26. package/dist/bundle/{chunk-DUPFAY35.js → chunk-CXHUOPN5.js} +7 -7
  27. package/dist/bundle/{chunk-DQBLDZ7M.js → chunk-D2TGXSHQ.js} +5 -5
  28. package/dist/bundle/{chunk-ELD5AC7Q.js → chunk-DQHS336B.js} +6 -6
  29. package/dist/bundle/{chunk-VUPWDCYV.js → chunk-EBIK5Q73.js} +1 -1
  30. package/dist/bundle/{chunk-3YRPDNWK.js → chunk-ELW3LMJZ.js} +803 -359
  31. package/dist/bundle/{chunk-HCZYJMBP.js → chunk-EPPE6ZTS.js} +1 -1
  32. package/dist/bundle/{chunk-K5E5MB4C.js → chunk-EZJSAYWZ.js} +21 -21
  33. package/dist/bundle/{chunk-7ZVWV33Z.js → chunk-EZXW3ZCR.js} +35 -13
  34. package/dist/bundle/{chunk-IO3BQ6JU.js → chunk-FBVJGJDM.js} +29 -28
  35. package/dist/bundle/{chunk-ZMHZ6CQS.js → chunk-FGRFIXG2.js} +2 -2
  36. package/dist/bundle/{chunk-3HTJBGNP.js → chunk-FMJ4QSSU.js} +21 -16
  37. package/dist/bundle/{chunk-NE4GYKQA.js → chunk-GB5LI5RM.js} +6 -6
  38. package/dist/bundle/{chunk-W2AC2RAG.js → chunk-GPIQY4YB.js} +14 -14
  39. package/dist/bundle/{chunk-2Q4CB4EI.js → chunk-GYTAHH5Y.js} +2 -2
  40. package/dist/bundle/{chunk-SEJBS7SI.js → chunk-GZYICXO4.js} +1 -1
  41. package/dist/bundle/{chunk-GPVSGZ4R.js → chunk-HUHH25AG.js} +434 -410
  42. package/dist/bundle/{chunk-X2FILY5F.js → chunk-HWYSJ4SL.js} +3 -3
  43. package/dist/bundle/{chunk-XCJGDPMN.js → chunk-IUSY4ZJK.js} +6109 -5958
  44. package/dist/bundle/{chunk-RBYVQE3S.js → chunk-IVFNHIU4.js} +5 -5
  45. package/dist/bundle/{chunk-V3UK6E5B.js → chunk-IXPBSDKB.js} +4 -4
  46. package/dist/bundle/{chunk-3URYKAJP.js → chunk-JADBHKBP.js} +1 -1
  47. package/dist/bundle/{chunk-WUWF4EXZ.js → chunk-JWMOHEDL.js} +22 -12
  48. package/dist/bundle/{chunk-EA2OB75T.js → chunk-K3K3WKDB.js} +1 -1
  49. package/dist/bundle/{chunk-F7K2V6OA.js → chunk-KEFDP6NL.js} +12 -12
  50. package/dist/bundle/{chunk-NQQVNLO6.js → chunk-LEVOI6Z3.js} +12 -12
  51. package/dist/bundle/{chunk-VLK3X53X.js → chunk-LGBLYFKI.js} +2 -2
  52. package/dist/bundle/{chunk-AVCYD4WQ.js → chunk-LOEK6IFQ.js} +44 -36
  53. package/dist/bundle/{chunk-PCJRHC5Y.js → chunk-M7WYBGQT.js} +8 -8
  54. package/dist/bundle/{chunk-JDTZCZ5K.js → chunk-MDTEAKA5.js} +5 -5
  55. package/dist/bundle/{chunk-GU4FVTJV.js → chunk-NQ356ERO.js} +3 -4
  56. package/dist/bundle/{chunk-T4FMXDDV.js → chunk-OFODCJ2A.js} +3 -3
  57. package/dist/bundle/{chunk-FBYGBR4Q.js → chunk-OINDAHXC.js} +4 -4
  58. package/dist/bundle/{chunk-OUM4ZO53.js → chunk-OOYIPK4F.js} +1 -1
  59. package/dist/bundle/{chunk-NL6AZ6S2.js → chunk-ORM73DZO.js} +2 -2
  60. package/dist/bundle/{chunk-P6MQ6FS4.js → chunk-OWZETMRE.js} +8 -8
  61. package/dist/bundle/{chunk-VPSQZ2YR.js → chunk-PFLJJQWW.js} +33 -33
  62. package/dist/bundle/{chunk-TSHUBGN4.js → chunk-QLUU3BV2.js} +2 -2
  63. package/dist/bundle/{chunk-ZBYKCVSV.js → chunk-QY6GE7CL.js} +2 -2
  64. package/dist/bundle/{chunk-QEO3XTIE.js → chunk-R47GYLNN.js} +29 -32
  65. package/dist/bundle/{chunk-EOZAJGB4.js → chunk-RJK5ADMH.js} +16 -16
  66. package/dist/bundle/{chunk-FIVFP53N.js → chunk-RXUVXAMM.js} +1 -1
  67. package/dist/bundle/{chunk-BY2YPKZZ.js → chunk-T2QVWRJF.js} +13 -13
  68. package/dist/bundle/{chunk-4YNUQGDP.js → chunk-TK77DCE5.js} +1 -1
  69. package/dist/bundle/{chunk-IMDTC4MD.js → chunk-TYAFL66K.js} +21 -18
  70. package/dist/bundle/{chunk-MHXZ62CU.js → chunk-UAV74EY4.js} +1 -1
  71. package/dist/bundle/{chunk-WQOGHND4.js → chunk-UG2QDGAH.js} +1 -1
  72. package/dist/bundle/{chunk-6XNTELM5.js → chunk-UYZDH5LK.js} +1 -1
  73. package/dist/bundle/{chunk-B6Q53CVA.js → chunk-VABYJQYE.js} +10 -10
  74. package/dist/bundle/{chunk-IJCUAKR5.js → chunk-VCFSUGPE.js} +4 -4
  75. package/dist/bundle/{chunk-3YKAFLXY.js → chunk-VG63EXRC.js} +2 -2
  76. package/dist/bundle/{chunk-RABCFGT3.js → chunk-VJANMYEC.js} +3 -3
  77. package/dist/bundle/{chunk-ZVVRRMLW.js → chunk-VRA4RVQU.js} +3 -3
  78. package/dist/bundle/{chunk-L5UILROP.js → chunk-WKT5RPSY.js} +8 -8
  79. package/dist/bundle/{chunk-JTYWSXJG.js → chunk-WNXC42IU.js} +9 -9
  80. package/dist/bundle/{chunk-FT7X74RT.js → chunk-WZJ7ZYR4.js} +4 -4
  81. package/dist/bundle/{chunk-PPM7UTCT.js → chunk-X73YEFQE.js} +18 -18
  82. package/dist/bundle/{chunk-Y5J5CAG2.js → chunk-XC4V6YCS.js} +1 -1
  83. package/dist/bundle/{chunk-A3Q3PG54.js → chunk-XHVFX74L.js} +2 -2
  84. package/dist/bundle/{chunk-NQLL4KRN.js → chunk-XRH2NKW4.js} +6 -6
  85. package/dist/bundle/{chunk-3U3W6YY5.js → chunk-XWQKRKMT.js} +58 -58
  86. package/dist/bundle/{chunk-RKI4BGWG.js → chunk-Y2BGABXP.js} +3 -3
  87. package/dist/bundle/{chunk-XUHQ7DVT.js → chunk-Y4WEAWU7.js} +1 -1
  88. package/dist/bundle/{chunk-4XDWV6VJ.js → chunk-YEBWRWE3.js} +17 -17
  89. package/dist/bundle/{chunk-4J5GJJ2I.js → chunk-YESHGC3M.js} +2 -2
  90. package/dist/bundle/{chunk-SR5X7YKB.js → chunk-YGKM2ZWF.js} +3 -3
  91. package/dist/bundle/{chunk-QXQUANWE.js → chunk-ZETM63M6.js} +6 -6
  92. package/dist/bundle/{chunk-MAE5UGRQ.js → chunk-ZFYNJERV.js} +6 -6
  93. package/dist/bundle/{cli-NPRYCWFH.js → cli-FHMLYHUZ.js} +69 -65
  94. package/dist/bundle/command-contract-HUZ4I23S.js +41 -0
  95. package/dist/bundle/{command-server-entry-BV4SUPUI.js → command-server-entry-YEZM52R5.js} +31 -31
  96. package/dist/bundle/config-KVTWN7QZ.js +97 -0
  97. package/dist/bundle/{decode-PRMKCHHC.js → decode-SIYRMJOK.js} +6 -6
  98. package/dist/bundle/{dispatch-EU67WGME.js → dispatch-SMER3WDX.js} +9 -9
  99. package/dist/bundle/{dist-HGLDGKUW.js → dist-BSJETSFE.js} +19 -19
  100. package/dist/bundle/{echarts-QIXLXS3G.js → echarts-UZJ6AREV.js} +2 -2
  101. package/dist/bundle/{embed-OZN2BIJY.js → embed-A7DSHVI7.js} +7 -7
  102. package/dist/bundle/{embedder-RBDHO6Z6.js → embedder-WQBR4UGS.js} +10 -10
  103. package/dist/bundle/{failure-CTJLEB2R.js → failure-73UQXQTW.js} +3 -3
  104. package/dist/bundle/first-run-SY6XSUZ3.js +29 -0
  105. package/dist/bundle/first-screen-ZDMODGWS.js +39 -0
  106. package/dist/bundle/{folders-MSBTAPAG.js → folders-BH4SV6SI.js} +5 -5
  107. package/dist/bundle/{instructions-MD2RZT5Z.js → instructions-SDDUBGH4.js} +1 -1
  108. package/dist/bundle/{main-FPMCCRIQ.js → main-KL4FN5F3.js} +24 -24
  109. package/dist/bundle/{mcp-TDKGDB4V.js → mcp-GN4FTJX5.js} +2 -2
  110. package/dist/bundle/{meetings-WYCVHAIP.js → meetings-URPXBHV7.js} +25 -7
  111. package/dist/bundle/{node-IEVT2FSJ.js → node-ELCNUOCE.js} +2 -2
  112. package/dist/bundle/{node-sqlite-O4C6IWSM.js → node-sqlite-QLSNHZBM.js} +8 -8
  113. package/dist/bundle/{oauth-6VXOUXSE.js → oauth-LZ64S7Y3.js} +8 -8
  114. package/dist/bundle/{open-AMUIWV3Y.js → open-WB4HUPQT.js} +6 -6
  115. package/dist/bundle/openai-KN6JE4QU.js +28 -0
  116. package/dist/bundle/{output-file-VDOCYH2G.js → output-file-AHPQA5LR.js} +6 -6
  117. package/dist/bundle/{process-6Q23D3TO.js → process-67DAKAAQ.js} +1 -1
  118. package/dist/bundle/{program-CF2NKA2A.js → program-CIMACIBE.js} +87 -81
  119. package/dist/bundle/{prompt-N3UZE4ZR.js → prompt-GG53UBDJ.js} +6 -6
  120. package/dist/bundle/{recognize-I5F3K3CZ.js → recognize-CFJ3CAEH.js} +5 -5
  121. package/dist/bundle/{remote-CJF5KMMY.js → remote-BLEM7C3Q.js} +11 -11
  122. package/dist/bundle/{rerank-6WLY6MKY.js → rerank-ERN6PC66.js} +8 -8
  123. package/dist/bundle/run-log-S67YPJF6.js +124 -0
  124. package/dist/bundle/{serve-FOQJ3WMX.js → serve-FJPPTJXH.js} +10 -10
  125. package/dist/bundle/{server-OEEGRSQD.js → server-FLUSDUGM.js} +49 -49
  126. package/dist/bundle/server-UNJY3TSJ.js +74 -0
  127. package/dist/bundle/{services-Q6SFESMS.js → services-LXC6DVUQ.js} +43 -41
  128. package/dist/bundle/{speech-PBVEIG4N.js → speech-WFEZTKXA.js} +17 -17
  129. package/dist/bundle/{sqlite-runtime-IWR65V6I.js → sqlite-runtime-KN33VSP7.js} +7 -7
  130. package/dist/bundle/{state-G54C2N6U.js → state-TXS4ZHIT.js} +7 -7
  131. package/dist/bundle/{store-7EWMPTTW.js → store-MUOXLVL4.js} +22 -22
  132. package/dist/bundle/{store-D5OLXIFW.js → store-ZUREZYZB.js} +20 -20
  133. package/dist/bundle/store-connection-NRNEBUPU.js +90 -0
  134. package/dist/bundle/store-maintenance-command-OBOPYFZ5.js +65 -0
  135. package/dist/bundle/{streaming-PQEXKTE5.js → streaming-ZSCHRC5S.js} +7 -7
  136. package/dist/bundle/{tokens-J7TFHLEG.js → tokens-YVDOY4EV.js} +10 -10
  137. package/dist/bundle/zm.js +9 -9
  138. package/dist/bundle/{zoom-app-SULPMVN4.js → zoom-app-O6GIMB7Y.js} +8 -8
  139. package/dist/meeting-search-commands.d.ts.map +1 -1
  140. package/dist/meeting-search-commands.js +6 -5
  141. package/dist/meeting-search-commands.js.map +1 -1
  142. package/dist/program-bindings.d.ts.map +1 -1
  143. package/dist/program-bindings.js +2 -1
  144. package/dist/program-bindings.js.map +1 -1
  145. package/dist/run.d.ts.map +1 -1
  146. package/dist/run.js +3 -1
  147. package/dist/run.js.map +1 -1
  148. package/dist/version.d.ts +1 -1
  149. package/dist/version.js +1 -1
  150. package/package.json +3 -3
  151. package/dist/bundle/answer-policy-XCKC2LLN.js +0 -110
  152. package/dist/bundle/command-contract-OJYRKQHR.js +0 -41
  153. package/dist/bundle/config-UMEV24OE.js +0 -97
  154. package/dist/bundle/first-run-HNCD7U3B.js +0 -29
  155. package/dist/bundle/first-screen-374BBMO6.js +0 -39
  156. package/dist/bundle/openai-MEDN6FSK.js +0 -28
  157. package/dist/bundle/run-log-FKF4ZX4M.js +0 -124
  158. package/dist/bundle/server-BAGY5HEZ.js +0 -74
  159. package/dist/bundle/store-connection-34747SCC.js +0 -90
  160. package/dist/bundle/store-maintenance-command-QBO67F7Z.js +0 -65
  161. /package/dist/bundle/{chunk-XWBPP2HX.js → chunk-BDCC2J2Z.js} +0 -0
@@ -19,16 +19,16 @@ import {
19
19
  reference,
20
20
  string,
21
21
  variant
22
- } from "./chunk-4RJL32PF.js";
22
+ } from "./chunk-3D5PETD2.js";
23
23
  import {
24
24
  CliError,
25
25
  isCliError
26
- } from "./chunk-EA2OB75T.js";
26
+ } from "./chunk-K3K3WKDB.js";
27
27
  import {
28
28
  __name
29
29
  } from "./chunk-ZVVMGPBJ.js";
30
30
 
31
- // node_modules/.pnpm/@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/query/fields.js
31
+ // node_modules/.pnpm/@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/query/fields.js
32
32
  var FIELD_TYPES = ["kw", "txt", "enum", "num", "time", "bool", "ref"];
33
33
  var OPERATORS_BY_TYPE = {
34
34
  kw: ["term", "phrase", "wildcard"],
@@ -107,7 +107,7 @@ var queryFieldsOf = /* @__PURE__ */ __name((schema, annotations = {}) => {
107
107
  return [...own, ...relations, ...states];
108
108
  }, "queryFieldsOf");
109
109
 
110
- // node_modules/.pnpm/@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/query/types.js
110
+ // node_modules/.pnpm/@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/query/types.js
111
111
  var QUERY_LIMITS = {
112
112
  bytes: 8192,
113
113
  depth: 32,
@@ -151,7 +151,7 @@ function queryError(reason, span, alternative, context = {}, details = {}) {
151
151
  __name(queryError, "queryError");
152
152
  var walkQuery = /* @__PURE__ */ __name((node) => node.kind === "predicate" ? [node] : node.clauses.flatMap(({ node: node2 }) => walkQuery(node2)), "walkQuery");
153
153
 
154
- // node_modules/.pnpm/@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/query/parser.js
154
+ // node_modules/.pnpm/@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/query/parser.js
155
155
  var whitespace = /* @__PURE__ */ __name((c) => /[ \t\n\r\u3000]/u.test(c), "whitespace");
156
156
  var reserved = /* @__PURE__ */ new Set([
157
157
  "+",
@@ -460,7 +460,7 @@ var implicitTextTerms = /* @__PURE__ */ __name((text) => {
460
460
  return new Set(tokens.flatMap((token, index) => (token.kind === "term" || token.kind === "number") && ![":", "=", "<", ">", "<=", ">="].includes(tokens[index - 1]?.kind ?? "") && ![":", "=", "<", ">", "<=", ">="].includes(tokens[index + 1]?.kind ?? "") ? [token.span.start] : []));
461
461
  }, "implicitTextTerms");
462
462
 
463
- // node_modules/.pnpm/@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/query/dates.js
463
+ // node_modules/.pnpm/@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/query/dates.js
464
464
  var timezoneOf = /* @__PURE__ */ __name((given) => {
465
465
  const zone = given ?? Intl.DateTimeFormat().resolvedOptions().timeZone ?? "UTC";
466
466
  try {
@@ -472,7 +472,7 @@ var timezoneOf = /* @__PURE__ */ __name((given) => {
472
472
  }, "timezoneOf");
473
473
  var calendar = /* @__PURE__ */ __name((value, span) => {
474
474
  if (!/^\d{4}-\d{2}-\d{2}$/u.test(value))
475
- queryError("query.invalid-date", span, "use an ISO date or a quoted timestamp with offset");
475
+ queryError("query.invalid-date", span, "use an ISO date such as 2026-10-01");
476
476
  const year = Number(value.slice(0, 4)), month = Number(value.slice(5, 7)), day = Number(value.slice(8, 10));
477
477
  const date = /* @__PURE__ */ new Date(0);
478
478
  date.setUTCFullYear(year, month - 1, day);
@@ -557,6 +557,7 @@ var zonedMoment = /* @__PURE__ */ __name((value, zone, span, { end = false } = {
557
557
  return time;
558
558
  }, "zonedMoment");
559
559
  var AGO = /^(\d+)(m|h|d)$/u;
560
+ var MOMENT = /^(\d{4}-\d{2}-\d{2})[T ](\d{2}):(\d{2})(?::(\d{2})(?:\.\d{1,3})?)?(Z|[+-]\d{2}:\d{2})?$/u;
560
561
  var AGO_MS = { m: 6e4, h: 36e5, d: 864e5 };
561
562
  var dayOf = /* @__PURE__ */ __name((word, zone, now, span) => {
562
563
  const today = new Intl.DateTimeFormat("en-CA", {
@@ -585,11 +586,15 @@ var dateEndpoint = /* @__PURE__ */ __name((value, zone, side, inclusive, span, n
585
586
  time: dayBoundary(value, zone, side === "lower" ? !inclusive : inclusive, span),
586
587
  inclusive: side === "lower"
587
588
  };
588
- if (!/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(?:\.\d{1,3})?(?:Z|[+-]\d{2}:\d{2})$/u.test(value))
589
- queryError("query.invalid-date", span, "use an ISO date, today, yesterday, 30m/2h/7d ago, or a quoted timestamp with offset");
590
- calendar(value.slice(0, 10), span);
591
- const time = Date.parse(value);
592
- if (!Number.isFinite(time) || Number(value.slice(11, 13)) > 23 || Number(value.slice(14, 16)) > 59 || Number(value.slice(17, 19)) > 59)
589
+ const [, day, hour, minute, second = "0", offset] = MOMENT.exec(value) ?? [];
590
+ if (day === void 0)
591
+ queryError("query.invalid-date", span, "use an ISO date, a date and time such as 2026-10-01T09:00 (optional seconds and offset), today, yesterday or 30m/2h/7d ago");
592
+ const moment = value.replace(" ", "T");
593
+ if (offset === void 0)
594
+ return { time: wallTime(moment, zone, span), inclusive };
595
+ calendar(day, span);
596
+ const time = Date.parse(moment);
597
+ if (!Number.isFinite(time) || Number(hour) > 23 || Number(minute) > 59 || Number(second) > 59)
593
598
  queryError("query.invalid-date", span);
594
599
  return { time, inclusive };
595
600
  }, "dateEndpoint");
@@ -605,7 +610,7 @@ var dateRange = /* @__PURE__ */ __name((lower, upper, lowerInclusive, upperInclu
605
610
  };
606
611
  }, "dateRange");
607
612
 
608
- // node_modules/.pnpm/@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/query/validate.js
613
+ // node_modules/.pnpm/@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/query/validate.js
609
614
  var inContext = /* @__PURE__ */ __name((context, run) => {
610
615
  try {
611
616
  run();
@@ -680,7 +685,7 @@ var validateQuery = /* @__PURE__ */ __name((ast, registry, options = {}) => {
680
685
  }, "validateQuery");
681
686
  var fieldsNamed = /* @__PURE__ */ __name((ast) => new Set(walkQuery(ast.root).map((node) => node.field)), "fieldsNamed");
682
687
 
683
- // node_modules/.pnpm/@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/query/registry.js
688
+ // node_modules/.pnpm/@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/query/registry.js
684
689
  var describeQuery = /* @__PURE__ */ __name((registry) => ({
685
690
  entity: registry.entity,
686
691
  backend: registry.backend,
@@ -751,7 +756,7 @@ var QUERY_REASONS = defineReasons([
751
756
  details: [...SPAN, ...details]
752
757
  })));
753
758
 
754
- // node_modules/.pnpm/@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/query/help.js
759
+ // node_modules/.pnpm/@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/query/help.js
755
760
  var shownOf = /* @__PURE__ */ __name((registry) => registry.backend === "native" ? registry.fields.filter((field) => field.native) : registry.fields, "shownOf");
756
761
  var leftOut = /* @__PURE__ */ __name((fields) => fields.filter((field) => field.negatable).map((field) => field.name), "leftOut");
757
762
  var has = /* @__PURE__ */ __name((fields, operator) => fields.some((field) => field.operators.includes(operator)), "has");
@@ -788,7 +793,7 @@ var queryDescription = /* @__PURE__ */ __name((registry) => {
788
793
  return `${terms}; fields: ${fields.join(", ")}; e.g. ${shown[0]?.example ?? ""}${defaults}`;
789
794
  }, "queryDescription");
790
795
 
791
- // node_modules/.pnpm/@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/query/evaluate.js
796
+ // node_modules/.pnpm/@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/query/evaluate.js
792
797
  var wordsOf = /* @__PURE__ */ __name((text) => text.toLowerCase().match(/[\p{L}\p{N}]+/gu) ?? [], "wordsOf");
793
798
  var pattern = /* @__PURE__ */ __name((value) => new RegExp(`^${[...value].map((char) => char === "*" ? ".*" : char === "?" ? "." : char.replace(/[.+^${}()|[\]\\]/, "\\$&")).join("")}$`, "iu"), "pattern");
794
799
  var present = /* @__PURE__ */ __name((value) => value !== void 0 && value !== null && value !== "", "present");
@@ -5,23 +5,23 @@ import {
5
5
  installFiles,
6
6
  megabytes,
7
7
  sharedModelsDirectory
8
- } from "./chunk-FBYGBR4Q.js";
8
+ } from "./chunk-OINDAHXC.js";
9
9
  import {
10
10
  importFrom
11
11
  } from "./chunk-Y5E2WNWB.js";
12
12
  import {
13
13
  CliError
14
- } from "./chunk-EA2OB75T.js";
14
+ } from "./chunk-K3K3WKDB.js";
15
15
  import {
16
16
  __name
17
17
  } from "./chunk-ZVVMGPBJ.js";
18
18
 
19
- // node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/embeddings/embed.js
19
+ // node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/embeddings/embed.js
20
20
  import { readFileSync as readFileSync2 } from "node:fs";
21
21
  import { availableParallelism } from "node:os";
22
22
  import { basename, join as join2 } from "node:path";
23
23
 
24
- // node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/embeddings/onnx-runtime.js
24
+ // node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/embeddings/onnx-runtime.js
25
25
  import { createHash } from "node:crypto";
26
26
  import { copyFileSync, mkdirSync, mkdtempSync, readFileSync, renameSync, rmSync, statSync, writeFileSync } from "node:fs";
27
27
  import { join } from "node:path";
@@ -678,7 +678,7 @@ var Unzip = /* @__PURE__ */ (function() {
678
678
  return Unzip2;
679
679
  })();
680
680
 
681
- // node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/embeddings/onnx-runtime.js
681
+ // node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/embeddings/onnx-runtime.js
682
682
  var ONNX_RUNTIME_VERSION = "1.30.0";
683
683
  var release = /* @__PURE__ */ __name((name, sha256, bytes) => ({
684
684
  name,
@@ -858,7 +858,7 @@ var openSession = /* @__PURE__ */ __name(async (bytes, threads, options = {}) =>
858
858
  return { ort, session: await ort.InferenceSession.create(bytes, options) };
859
859
  }, "openSession");
860
860
 
861
- // node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/embeddings/embed.js
861
+ // node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/embeddings/embed.js
862
862
  var textModelsDirectory = /* @__PURE__ */ __name((env = process.env) => sharedModelsDirectory("text", env), "textModelsDirectory");
863
863
  var placedText = /* @__PURE__ */ __name((model, directory) => model.files.map((file) => [file, join2(directory, model.id, file.name)]), "placedText");
864
864
  var isTextModelInstalled = /* @__PURE__ */ __name((model, directory) => filesPresent(placedText(model, directory)), "isTextModelInstalled");
@@ -2,29 +2,29 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  CliError
5
- } from "./chunk-EA2OB75T.js";
5
+ } from "./chunk-K3K3WKDB.js";
6
6
  import {
7
7
  __name
8
8
  } from "./chunk-ZVVMGPBJ.js";
9
9
 
10
- // node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/files/lock.js
10
+ // node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/files/lock.js
11
11
  import { mkdir as mkdir2 } from "node:fs/promises";
12
12
  import { basename, dirname } from "node:path";
13
13
 
14
- // node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/files/native-writer-lease.js
14
+ // node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/files/native-writer-lease.js
15
15
  import { randomUUID } from "node:crypto";
16
16
  import { lstat as lstat3, mkdir, open as open2, realpath as realpath2, rmdir as rmdir2, unlink as unlink3 } from "node:fs/promises";
17
17
  import { hostname as hostname2 } from "node:os";
18
18
  import { join as join2 } from "node:path";
19
19
 
20
- // node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/files/native-lease-inspection.js
20
+ // node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/files/native-lease-inspection.js
21
21
  import { lstat as lstat2, readdir, realpath, unlink } from "node:fs/promises";
22
22
  import { join } from "node:path";
23
23
 
24
- // node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/files/native-lease-owner.js
24
+ // node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/files/native-lease-owner.js
25
25
  import { hostname } from "node:os";
26
26
 
27
- // node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/files/ordinary-file.js
27
+ // node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/files/ordinary-file.js
28
28
  import { constants } from "node:fs";
29
29
  import { lstat, open } from "node:fs/promises";
30
30
  var deviceOf = /* @__PURE__ */ __name((dev) => process.platform === "win32" ? BigInt.asUintN(32, dev) : dev, "deviceOf");
@@ -90,7 +90,7 @@ var syncDirectory = /* @__PURE__ */ __name(async (path) => {
90
90
  }
91
91
  }, "syncDirectory");
92
92
 
93
- // node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/files/native-lease-owner.js
93
+ // node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/files/native-lease-owner.js
94
94
  var missingLeaseFile = /* @__PURE__ */ __name((error) => typeof error === "object" && error !== null && "code" in error && error.code === "ENOENT", "missingLeaseFile");
95
95
  var readLeaseOwner = /* @__PURE__ */ __name(async (path, name, signal) => {
96
96
  signal?.throwIfAborted();
@@ -134,7 +134,7 @@ var leaseOwnerStatus = /* @__PURE__ */ __name((owner) => {
134
134
  }
135
135
  }, "leaseOwnerStatus");
136
136
 
137
- // node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/files/native-lease-inspection.js
137
+ // node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/files/native-lease-inspection.js
138
138
  var leaseInspection = /* @__PURE__ */ __name((markerDirectory) => {
139
139
  const inspect = /* @__PURE__ */ __name(async (destination, options = {}) => {
140
140
  options.signal?.throwIfAborted();
@@ -193,7 +193,7 @@ var leaseInspection = /* @__PURE__ */ __name((markerDirectory) => {
193
193
  return { inspect, recover };
194
194
  }, "leaseInspection");
195
195
 
196
- // node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/files/native-lease-release.js
196
+ // node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/files/native-lease-release.js
197
197
  import { rmdir, unlink as unlink2 } from "node:fs/promises";
198
198
  var ownedNativeLease = /* @__PURE__ */ __name((path, name, owner, folder, identity) => {
199
199
  let releasing;
@@ -218,7 +218,7 @@ var ownedNativeLease = /* @__PURE__ */ __name((path, name, owner, folder, identi
218
218
  };
219
219
  }, "ownedNativeLease");
220
220
 
221
- // node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/files/native-writer-lease.js
221
+ // node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/files/native-writer-lease.js
222
222
  var validName = /* @__PURE__ */ __name((value) => typeof value === "string" && value.length > 0 && value !== "." && value !== ".." && !/[\\/\0:]/.test(value), "validName");
223
223
  var nativeWriterLeaseStore = /* @__PURE__ */ __name((layout) => {
224
224
  const { markerDirectory, legacyMarker } = layout;
@@ -289,7 +289,7 @@ var nativeWriterLeaseStore = /* @__PURE__ */ __name((layout) => {
289
289
  };
290
290
  }, "nativeWriterLeaseStore");
291
291
 
292
- // node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/files/lock.js
292
+ // node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/files/lock.js
293
293
  var acquireLock = /* @__PURE__ */ __name(async (path, { signal } = {}) => {
294
294
  const folder = dirname(path);
295
295
  await mkdir2(folder, { recursive: true, mode: 448 });
@@ -304,7 +304,7 @@ var acquireLock = /* @__PURE__ */ __name(async (path, { signal } = {}) => {
304
304
  });
305
305
  }, "acquireLock");
306
306
 
307
- // node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/files/atomic-write.js
307
+ // node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/files/atomic-write.js
308
308
  import { randomUUID as randomUUID2 } from "node:crypto";
309
309
  import { constants as constants2 } from "node:fs";
310
310
  import { link, open as open3, realpath as realpath3, rename, unlink as unlink4 } from "node:fs/promises";
@@ -342,7 +342,7 @@ var writeFileAtomic = /* @__PURE__ */ __name(async (path, content, { mode = 384,
342
342
  }
343
343
  }, "writeFileAtomic");
344
344
 
345
- // node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/files/bounded-utf8.js
345
+ // node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/files/bounded-utf8.js
346
346
  var readBoundedUtf8File = /* @__PURE__ */ __name(async (path, { maxBytes }) => {
347
347
  if (!Number.isSafeInteger(maxBytes) || maxBytes < 1 || maxBytes > 16 * 1024 * 1024)
348
348
  throw new CliError("validation_error", "file maxBytes takes 1\u201316777216 bytes");
@@ -371,7 +371,7 @@ var readBoundedUtf8File = /* @__PURE__ */ __name(async (path, { maxBytes }) => {
371
371
  }
372
372
  }, "readBoundedUtf8File");
373
373
 
374
- // node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/files/safe-name.js
374
+ // node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/files/safe-name.js
375
375
  import { basename as basename3 } from "node:path";
376
376
  var safeName = /* @__PURE__ */ __name((name, platform = process.platform) => {
377
377
  let plain = name === void 0 ? "" : basename3(name.replaceAll("\\", "/")).replace(/[\p{Cc}​-‏‪-‮⁦-⁩]/gu, "").replace(/^\.+/, "");
@@ -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-EA2OB75T.js";
5
+ } from "./chunk-K3K3WKDB.js";
6
6
  import {
7
7
  __name
8
8
  } from "./chunk-ZVVMGPBJ.js";
9
9
 
10
- // node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/cli/input-policy.js
10
+ // node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/cli/input-policy.js
11
11
  var MAX_BUFFERED_INPUT = 16 * 1024 * 1024;
12
12
  var MAX_SECRET_INPUT = 64 * 1024;
13
13
  var policies = /* @__PURE__ */ new WeakMap();
@@ -4,7 +4,7 @@ import {
4
4
  __name
5
5
  } from "./chunk-ZVVMGPBJ.js";
6
6
 
7
- // node_modules/.pnpm/@wirecat+cli-core@0.662.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_b96f03b0a44798bffec19d0b8a7273db/node_modules/@wirecat/cli-core/dist/mcp/bot/instructions.js
7
+ // node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/mcp/bot/instructions.js
8
8
  var botInstructions = /* @__PURE__ */ __name(({ command, name, profile, writes, skill }) => [
9
9
  `The owner's ${name} bot "${profile}", through the official Bot API \u2014 not the owner's personal account. What it writes, people see as the bot.`,
10
10
  "Use these tools to read the chats this bot is in, find a message or a person, and \u2014 when the profile allows \u2014 write as the bot.",