@wirecat/drive-cli 0.53.0 → 0.54.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 (126) hide show
  1. package/dist/bin/drive.js +2 -2
  2. package/dist/bundle/{all-profiles-WRN35CUF.js → all-profiles-LFIPUPZI.js} +9 -9
  3. package/dist/bundle/{anthropic-DZASXWG3.js → anthropic-G5ZRRWG4.js} +5 -5
  4. package/dist/bundle/{app-server-4VHT7QZN.js → app-server-UVWATOQC.js} +46 -46
  5. package/dist/bundle/{bun-7SYKSCLA.js → bun-DNEFTPTR.js} +2 -2
  6. package/dist/bundle/{bun-sqlite-2GOM5PM3.js → bun-sqlite-FWBYHIXB.js} +4 -4
  7. package/dist/bundle/{chunk-PC4UA6UN.js → chunk-2CQT2WWN.js} +5 -5
  8. package/dist/bundle/{chunk-DZMK255Y.js → chunk-2D6AAGBP.js} +41 -31
  9. package/dist/bundle/{chunk-FG4XXZZE.js → chunk-2FFXRWI2.js} +2 -2
  10. package/dist/bundle/{chunk-MK3N7WX7.js → chunk-2HQPJ366.js} +3 -3
  11. package/dist/bundle/{chunk-54BYJQ77.js → chunk-2HWOGSTA.js} +25 -25
  12. package/dist/bundle/{chunk-7XKAVMCF.js → chunk-2MSJVFAS.js} +8 -8
  13. package/dist/bundle/{chunk-NSIFQ5OP.js → chunk-2NWFZ43Q.js} +1 -1
  14. package/dist/bundle/{chunk-6XYGTRMQ.js → chunk-2Q3S47BC.js} +523 -268
  15. package/dist/bundle/{chunk-KPBCGUJC.js → chunk-47MEPBWG.js} +21 -21
  16. package/dist/bundle/{chunk-3RYX7IB6.js → chunk-4RDXCE45.js} +39 -38
  17. package/dist/bundle/{chunk-7IUMHMTP.js → chunk-5BPOAHVD.js} +2 -2
  18. package/dist/bundle/{chunk-VZ2I62HN.js → chunk-5LNOVPOR.js} +2 -2
  19. package/dist/bundle/{chunk-EKFEY3KP.js → chunk-5WQN2TUM.js} +1 -1
  20. package/dist/bundle/{chunk-ALJWBGD5.js → chunk-6MGSFYGL.js} +1 -1
  21. package/dist/bundle/{chunk-WUX7AUOQ.js → chunk-6RAEXK7Y.js} +26 -26
  22. package/dist/bundle/{chunk-RNIHKIQP.js → chunk-6SOQJRGI.js} +4 -4
  23. package/dist/bundle/{chunk-CKBHR7QO.js → chunk-75DSLCPC.js} +1 -1
  24. package/dist/bundle/{chunk-YLKQSVLI.js → chunk-76JIVDKC.js} +2 -2
  25. package/dist/bundle/{chunk-LSGAJYVN.js → chunk-7WCZ2OZ5.js} +6 -6
  26. package/dist/bundle/{chunk-OQMK6WXQ.js → chunk-7XU3TR7K.js} +2 -2
  27. package/dist/bundle/{chunk-7SH4JHYW.js → chunk-A4FTLORC.js} +12 -12
  28. package/dist/bundle/{chunk-CITFEQ6S.js → chunk-AACQA2CO.js} +1 -1
  29. package/dist/bundle/{chunk-PSNHPFSK.js → chunk-AAHIBA36.js} +1 -1
  30. package/dist/bundle/{chunk-GPJEYW2J.js → chunk-BWBVBW5T.js} +8 -8
  31. package/dist/bundle/{chunk-HM352LJR.js → chunk-CVALO727.js} +24 -24
  32. package/dist/bundle/{chunk-E6XDFMRZ.js → chunk-FHW4ENRF.js} +32 -32
  33. package/dist/bundle/{chunk-2HHOMN2G.js → chunk-HAHARAJD.js} +23 -23
  34. package/dist/bundle/{chunk-SQHPJBNO.js → chunk-IBRXVPBI.js} +95 -95
  35. package/dist/bundle/{chunk-YQOVVCIA.js → chunk-IKODUUQG.js} +17 -16
  36. package/dist/bundle/{chunk-IJFZKQC4.js → chunk-IOMSC4ZG.js} +3 -3
  37. package/dist/bundle/{chunk-YKZ4IPLB.js → chunk-JKEAZBEZ.js} +7 -7
  38. package/dist/bundle/{chunk-VTWADVEQ.js → chunk-KIQIF5M7.js} +2 -2
  39. package/dist/bundle/{chunk-IAQ4L6SM.js → chunk-KT5G3KVS.js} +3 -3
  40. package/dist/bundle/{chunk-BEL4XZ3M.js → chunk-L3RV42O3.js} +16 -16
  41. package/dist/bundle/{chunk-NHBUTCNR.js → chunk-LQXLWHKM.js} +9 -9
  42. package/dist/bundle/{chunk-PR3DA7KA.js → chunk-MATUQFYL.js} +11 -11
  43. package/dist/bundle/{chunk-F3KHUJEE.js → chunk-MULPNGM2.js} +10 -10
  44. package/dist/bundle/{chunk-FJW3DDCF.js → chunk-N4OO3SPQ.js} +5 -5
  45. package/dist/bundle/{chunk-6DHQTUB2.js → chunk-NDWWGBSM.js} +1 -1
  46. package/dist/bundle/{chunk-DLAFGSTN.js → chunk-NHDSJMAR.js} +1 -1
  47. package/dist/bundle/{chunk-CNKILAWA.js → chunk-O6YYFVDD.js} +30 -23
  48. package/dist/bundle/{chunk-FXWBUTR7.js → chunk-OYGEBFFO.js} +7 -7
  49. package/dist/bundle/{chunk-DOZOLBXE.js → chunk-P7E7K467.js} +3 -3
  50. package/dist/bundle/{chunk-GE4DP24O.js → chunk-PKNTBZXN.js} +51 -51
  51. package/dist/bundle/{chunk-PIMMF67N.js → chunk-PU4GANCD.js} +2 -2
  52. package/dist/bundle/{chunk-UFWK3L5Z.js → chunk-Q46JLJ5O.js} +6 -6
  53. package/dist/bundle/{chunk-R276546S.js → chunk-QKHFQHE7.js} +1 -1
  54. package/dist/bundle/{chunk-6BNALDGA.js → chunk-QUJCD5U7.js} +4 -4
  55. package/dist/bundle/{chunk-CL4GVCXS.js → chunk-RIYXQFKU.js} +46 -46
  56. package/dist/bundle/{chunk-DT2YCB2V.js → chunk-RWEFKLXJ.js} +24 -22
  57. package/dist/bundle/{chunk-R4TE4ZSD.js → chunk-SBOTSSYV.js} +342 -296
  58. package/dist/bundle/{chunk-SIWBUGBU.js → chunk-U3BOQ63L.js} +8 -8
  59. package/dist/bundle/{chunk-QXYGK6G5.js → chunk-UBJX5D2O.js} +2 -2
  60. package/dist/bundle/{chunk-WJRJBQIM.js → chunk-VCGQMTHW.js} +549 -288
  61. package/dist/bundle/{chunk-ZG6X24ON.js → chunk-VKYCMXEQ.js} +5 -5
  62. package/dist/bundle/{chunk-ZSXRDF6I.js → chunk-VX4RAT3A.js} +1 -1
  63. package/dist/bundle/{chunk-2PVDFLJJ.js → chunk-W5SYBHRX.js} +2 -2
  64. package/dist/bundle/{chunk-KXMJE3XC.js → chunk-WGSTTWM5.js} +6 -6
  65. package/dist/bundle/{chunk-T334CFU4.js → chunk-WJRE45Z6.js} +4 -4
  66. package/dist/bundle/{chunk-TZLO3ZZF.js → chunk-WQPTZHHR.js} +17 -26
  67. package/dist/bundle/{chunk-JEOYFKUK.js → chunk-WSX5UQNT.js} +2 -2
  68. package/dist/bundle/{chunk-LJAX6YCF.js → chunk-WYDYSQ7T.js} +2 -2
  69. package/dist/bundle/{chunk-C6Z25IBJ.js → chunk-XCUUYQN7.js} +4 -4
  70. package/dist/bundle/{chunk-GVCN3GLZ.js → chunk-YOHOQ6ZR.js} +4 -4
  71. package/dist/bundle/{chunk-SVTYS36O.js → chunk-YZ5VMR2S.js} +3 -3
  72. package/dist/bundle/{chunk-ZDLIO76S.js → chunk-ZMMOVTUB.js} +2 -2
  73. package/dist/bundle/command-contract-VZ3ZJLEF.js +35 -0
  74. package/dist/bundle/{decode-WAPM2VBH.js → decode-DN2DDFET.js} +4 -4
  75. package/dist/bundle/drive.js +6 -6
  76. package/dist/bundle/{echarts-GXY34GHA.js → echarts-VMHZ2UYP.js} +2 -2
  77. package/dist/bundle/{embed-HW3N3KNP.js → embed-MDN7R7BA.js} +5 -5
  78. package/dist/bundle/{embedder-7WNFXYYP.js → embedder-KEVEDNDJ.js} +8 -8
  79. package/dist/bundle/{entry-J7YIRDPD.js → entry-HTNK5TJQ.js} +6 -6
  80. package/dist/bundle/{first-run-53CL2IYH.js → first-run-QNMCMP67.js} +9 -9
  81. package/dist/bundle/first-screen-RQBEHUQC.js +33 -0
  82. package/dist/bundle/{google-5NNVARNR.js → google-QAKMV57Q.js} +9 -9
  83. package/dist/bundle/{google-api-EQQH53QD.js → google-api-UJJS7ECO.js} +51 -51
  84. package/dist/bundle/grants-VMPKFEC2.js +98 -0
  85. package/dist/bundle/{identity-LBTXDMTA.js → identity-UODE3QAL.js} +4 -4
  86. package/dist/bundle/{instructions-K5BEQM4C.js → instructions-IWLHCDC7.js} +1 -1
  87. package/dist/bundle/{login-Y6ENYKC3.js → login-GIZXEN7I.js} +58 -60
  88. package/dist/bundle/{mcp-WSGVVZWI.js → mcp-RUYPQVYS.js} +2 -2
  89. package/dist/bundle/{node-ZYWB7IET.js → node-25IJLDBZ.js} +2 -2
  90. package/dist/bundle/{node-sqlite-FSQIKGED.js → node-sqlite-DYR4FEI4.js} +4 -4
  91. package/dist/bundle/{oauth-HF5USWXY.js → oauth-FLHXEDDY.js} +6 -6
  92. package/dist/bundle/{open-NHGJENCX.js → open-FWDZB7KX.js} +3 -3
  93. package/dist/bundle/{openai-3JCJYKNX.js → openai-HB7UGKPW.js} +13 -13
  94. package/dist/bundle/{process-ZXO2MWRJ.js → process-P6TW37HQ.js} +1 -1
  95. package/dist/bundle/{program-QAJ66K3Z.js → program-DVUNLXXS.js} +73 -73
  96. package/dist/bundle/{prompt-LQJBCCUF.js → prompt-MKWMYO3B.js} +4 -4
  97. package/dist/bundle/{reasons-J57GSRWN.js → reasons-25BEO2NE.js} +3 -3
  98. package/dist/bundle/{recognize-QM3LN4ZF.js → recognize-VXGNPROM.js} +3 -3
  99. package/dist/bundle/{remote-WREGEZJQ.js → remote-H5ZWLJHR.js} +6 -6
  100. package/dist/bundle/{rerank-YFUB6J6M.js → rerank-5A3JDK7O.js} +6 -6
  101. package/dist/bundle/{serve-7NFEZ564.js → serve-QNPNEZVR.js} +8 -8
  102. package/dist/bundle/{server-KBCFZ2AU.js → server-GWBVIRLY.js} +38 -38
  103. package/dist/bundle/server-QJU3HEGM.js +63 -0
  104. package/dist/bundle/{services-C3XWRA2W.js → services-PFXEWHJG.js} +29 -25
  105. package/dist/bundle/{sqlite-runtime-H3TSAMIN.js → sqlite-runtime-RGFISYXM.js} +4 -4
  106. package/dist/bundle/{state-S2Q53L6L.js → state-BUSX5BXF.js} +5 -5
  107. package/dist/bundle/{store-I27LAJPU.js → store-FIEE5HHG.js} +14 -14
  108. package/dist/bundle/{store-H345VQHP.js → store-HFF5KQ44.js} +12 -12
  109. package/dist/bundle/store-maintenance-command-Z4SPEQUM.js +52 -0
  110. package/dist/bundle/tokens-B6MUZRFM.js +96 -0
  111. package/dist/login.d.ts.map +1 -1
  112. package/dist/login.js +2 -4
  113. package/dist/login.js.map +1 -1
  114. package/dist/tokens.d.ts.map +1 -1
  115. package/dist/tokens.js +0 -9
  116. package/dist/tokens.js.map +1 -1
  117. package/dist/version.d.ts +1 -1
  118. package/dist/version.js +1 -1
  119. package/package.json +3 -3
  120. package/dist/bundle/command-contract-D4UG3D33.js +0 -35
  121. package/dist/bundle/first-screen-2KT7HM2K.js +0 -33
  122. package/dist/bundle/grants-4NETZ4MR.js +0 -98
  123. package/dist/bundle/server-UYVL2CFI.js +0 -63
  124. package/dist/bundle/store-maintenance-command-3XA73XMC.js +0 -52
  125. package/dist/bundle/tokens-7MUGKFEM.js +0 -96
  126. /package/dist/bundle/{chunk-62EDJKGP.js → chunk-HEA3XVAJ.js} +0 -0
@@ -3,7 +3,7 @@ const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  answerOf,
5
5
  messengerContext
6
- } from "./chunk-54BYJQ77.js";
6
+ } from "./chunk-2HWOGSTA.js";
7
7
  import {
8
8
  chatEventAnswer,
9
9
  memberAnswer,
@@ -12,14 +12,14 @@ import {
12
12
  serveRelay,
13
13
  typedQuery,
14
14
  withQuery
15
- } from "./chunk-DT2YCB2V.js";
15
+ } from "./chunk-RWEFKLXJ.js";
16
16
  import {
17
17
  holdLock,
18
18
  lockPath,
19
19
  releaseLock,
20
20
  servingProfiles,
21
21
  takeLock
22
- } from "./chunk-IAQ4L6SM.js";
22
+ } from "./chunk-KT5G3KVS.js";
23
23
  import {
24
24
  RULES_VERSION,
25
25
  applyTaskRulesOnArrival,
@@ -29,7 +29,7 @@ import {
29
29
  senderIsMe,
30
30
  servicesFor,
31
31
  syncsOneChat
32
- } from "./chunk-6XYGTRMQ.js";
32
+ } from "./chunk-2Q3S47BC.js";
33
33
  import {
34
34
  stringWidth,
35
35
  wrapAnsi
@@ -57,33 +57,33 @@ import {
57
57
  snakeKeys,
58
58
  storeTable,
59
59
  withoutProviderRefs
60
- } from "./chunk-3RYX7IB6.js";
60
+ } from "./chunk-4RDXCE45.js";
61
61
  import {
62
62
  holdersOf
63
- } from "./chunk-NSIFQ5OP.js";
63
+ } from "./chunk-2NWFZ43Q.js";
64
64
  import {
65
65
  codeOf,
66
66
  currentRun,
67
67
  levelFor
68
- } from "./chunk-2HHOMN2G.js";
68
+ } from "./chunk-HAHARAJD.js";
69
69
  import {
70
70
  failureKey
71
- } from "./chunk-YLKQSVLI.js";
71
+ } from "./chunk-76JIVDKC.js";
72
72
  import {
73
73
  envName
74
- } from "./chunk-ZDLIO76S.js";
74
+ } from "./chunk-ZMMOVTUB.js";
75
75
  import {
76
76
  readSecret
77
- } from "./chunk-IJFZKQC4.js";
77
+ } from "./chunk-IOMSC4ZG.js";
78
78
  import {
79
79
  checkedOptions,
80
80
  range
81
- } from "./chunk-LJAX6YCF.js";
81
+ } from "./chunk-WYDYSQ7T.js";
82
82
  import {
83
83
  messagesFor,
84
84
  systemFor,
85
85
  validateImages
86
- } from "./chunk-VZ2I62HN.js";
86
+ } from "./chunk-5LNOVPOR.js";
87
87
  import {
88
88
  MIGRATIONS,
89
89
  drainNoteIndex,
@@ -112,16 +112,16 @@ import {
112
112
  storeClients,
113
113
  storeContents,
114
114
  vectorIndexCounts
115
- } from "./chunk-R4TE4ZSD.js";
115
+ } from "./chunk-SBOTSSYV.js";
116
116
  import {
117
117
  queryFieldsOf
118
- } from "./chunk-NHBUTCNR.js";
118
+ } from "./chunk-LQXLWHKM.js";
119
119
  import {
120
120
  storePath
121
- } from "./chunk-QXYGK6G5.js";
121
+ } from "./chunk-UBJX5D2O.js";
122
122
  import {
123
123
  openCache
124
- } from "./chunk-LSGAJYVN.js";
124
+ } from "./chunk-7WCZ2OZ5.js";
125
125
  import {
126
126
  Credentials,
127
127
  pathsAreOverridden,
@@ -129,7 +129,7 @@ import {
129
129
  singleLine,
130
130
  visibleControls,
131
131
  writeSecurely
132
- } from "./chunk-DZMK255Y.js";
132
+ } from "./chunk-2D6AAGBP.js";
133
133
  import {
134
134
  CliError,
135
135
  array,
@@ -154,7 +154,7 @@ import {
154
154
  transform,
155
155
  trim,
156
156
  union
157
- } from "./chunk-YKZ4IPLB.js";
157
+ } from "./chunk-JKEAZBEZ.js";
158
158
  import {
159
159
  __commonJS,
160
160
  __name,
@@ -5494,11 +5494,11 @@ var require_liquid_node = __commonJS({
5494
5494
  }
5495
5495
  });
5496
5496
 
5497
- // node_modules/.pnpm/@wirecat+cli-core@0.501.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e6af10c98f87b1454255e560646d3ddf/node_modules/@wirecat/cli-core/dist/cli/messenger/store-maintenance-command.js
5497
+ // node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.0_commander@15.0.0_esbuild@0.28.2_type_438c1bd9283d857a9e801e9b977bafec/node_modules/@wirecat/cli-core/dist/cli/messenger/store-maintenance-command.js
5498
5498
  import { chmodSync, constants, copyFileSync, existsSync as existsSync7, mkdirSync, realpathSync, renameSync as renameSync2, rmSync as rmSync2, statfsSync, statSync as statSync3, writeFileSync } from "node:fs";
5499
5499
  import { dirname, resolve } from "node:path";
5500
5500
 
5501
- // node_modules/.pnpm/@wirecat+cli-core@0.501.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e6af10c98f87b1454255e560646d3ddf/node_modules/@wirecat/cli-core/dist/sealed.js
5501
+ // node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.0_commander@15.0.0_esbuild@0.28.2_type_438c1bd9283d857a9e801e9b977bafec/node_modules/@wirecat/cli-core/dist/sealed.js
5502
5502
  import { createCipheriv, createDecipheriv, createHash, randomBytes, scrypt, timingSafeEqual } from "node:crypto";
5503
5503
  import { closeSync, createReadStream, createWriteStream, existsSync, openSync, readSync, renameSync, rmSync, statSync } from "node:fs";
5504
5504
  import { Transform } from "node:stream";
@@ -5605,7 +5605,7 @@ var unsealFile = /* @__PURE__ */ __name(async (from, to, password) => {
5605
5605
  renameSync(pending, to);
5606
5606
  }, "unsealFile");
5607
5607
 
5608
- // node_modules/.pnpm/@wirecat+cli-core@0.501.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e6af10c98f87b1454255e560646d3ddf/node_modules/@wirecat/cli-core/dist/store/compatibility.js
5608
+ // node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.0_commander@15.0.0_esbuild@0.28.2_type_438c1bd9283d857a9e801e9b977bafec/node_modules/@wirecat/cli-core/dist/store/compatibility.js
5609
5609
  var SPEAKS = MIGRATIONS.at(-1)?.version ?? 0;
5610
5610
  var fileSchemaOf = /* @__PURE__ */ __name((database) => {
5611
5611
  const tracked = database.prepare("SELECT 1 FROM sqlite_master WHERE name = 'schema_migrations'").get();
@@ -5629,7 +5629,7 @@ var compatibilityOf = /* @__PURE__ */ __name((file2, migrations = MIGRATIONS) =>
5629
5629
  };
5630
5630
  }, "compatibilityOf");
5631
5631
 
5632
- // node_modules/.pnpm/@wirecat+cli-core@0.501.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e6af10c98f87b1454255e560646d3ddf/node_modules/@wirecat/cli-core/dist/store/repair.js
5632
+ // node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.0_commander@15.0.0_esbuild@0.28.2_type_438c1bd9283d857a9e801e9b977bafec/node_modules/@wirecat/cli-core/dist/store/repair.js
5633
5633
  import { createHash as createHash2 } from "node:crypto";
5634
5634
  var COPY_MARK = "__repair_";
5635
5635
  var COPY_NAME = /__repair_[0-9a-f]{8}(_\d+)?$/;
@@ -5883,7 +5883,7 @@ var deleteCopy = /* @__PURE__ */ __name((database, name) => {
5883
5883
  return found;
5884
5884
  }, "deleteCopy");
5885
5885
 
5886
- // node_modules/.pnpm/@wirecat+cli-core@0.501.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e6af10c98f87b1454255e560646d3ddf/node_modules/@wirecat/cli-core/dist/cli/store-info.js
5886
+ // node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.0_commander@15.0.0_esbuild@0.28.2_type_438c1bd9283d857a9e801e9b977bafec/node_modules/@wirecat/cli-core/dist/cli/store-info.js
5887
5887
  import { existsSync as existsSync2, statSync as statSync2 } from "node:fs";
5888
5888
  var pendingIfKnown = /* @__PURE__ */ __name((database) => database.prepare("SELECT 1 FROM pragma_table_info('messages') WHERE name = 'normalized_text'").get() ? pendingNormalization(database) : null, "pendingIfKnown");
5889
5889
  var bytesOf = /* @__PURE__ */ __name((path) => existsSync2(path) ? statSync2(path).size : 0, "bytesOf");
@@ -5930,7 +5930,7 @@ var storeInfoCommand = /* @__PURE__ */ __name(() => annotate(new Command("info")
5930
5930
  renderAnswer(this, outputFor(this), itemOf(answer));
5931
5931
  }), "storeInfoCommand");
5932
5932
 
5933
- // node_modules/.pnpm/@wirecat+cli-core@0.501.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e6af10c98f87b1454255e560646d3ddf/node_modules/@wirecat/cli-core/dist/cli/messenger/password.js
5933
+ // node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.0_commander@15.0.0_esbuild@0.28.2_type_438c1bd9283d857a9e801e9b977bafec/node_modules/@wirecat/cli-core/dist/cli/messenger/password.js
5934
5934
  var ENCRYPT_OPTION = [
5935
5935
  "--encrypt",
5936
5936
  "compress and encrypt with a password, typed at a hidden prompt or piped on stdin; it is never kept \u2014 lose it and the file cannot be opened"
@@ -5949,7 +5949,7 @@ var passwordOf = /* @__PURE__ */ __name(async (command, { twice }) => {
5949
5949
  return password;
5950
5950
  }, "passwordOf");
5951
5951
 
5952
- // node_modules/.pnpm/@wirecat+cli-core@0.501.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e6af10c98f87b1454255e560646d3ddf/node_modules/@wirecat/cli-core/dist/replies/rules.js
5952
+ // node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.0_commander@15.0.0_esbuild@0.28.2_type_438c1bd9283d857a9e801e9b977bafec/node_modules/@wirecat/cli-core/dist/replies/rules.js
5953
5953
  import { existsSync as existsSync3, readFileSync } from "node:fs";
5954
5954
  import { join } from "node:path";
5955
5955
  var REPLY_ACTIONS = ["reply", "task"];
@@ -6120,7 +6120,7 @@ var problem = /* @__PURE__ */ __name((issue) => {
6120
6120
  }, "problem");
6121
6121
  var broken = /* @__PURE__ */ __name((path, why) => new CliError("configuration_error", `the reply rules ${path} cannot be read (${why}) \u2014 fix the file`), "broken");
6122
6122
 
6123
- // node_modules/.pnpm/@wirecat+cli-core@0.501.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e6af10c98f87b1454255e560646d3ddf/node_modules/@wirecat/cli-core/dist/replies/state.js
6123
+ // node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.0_commander@15.0.0_esbuild@0.28.2_type_438c1bd9283d857a9e801e9b977bafec/node_modules/@wirecat/cli-core/dist/replies/state.js
6124
6124
  import { existsSync as existsSync4, readFileSync as readFileSync2 } from "node:fs";
6125
6125
  import { join as join2 } from "node:path";
6126
6126
  var ANSWERED_KEPT = 1e3;
@@ -6173,7 +6173,7 @@ var recordReply = /* @__PURE__ */ __name((state, rule2, message, now) => {
6173
6173
  }, "recordReply");
6174
6174
  var broken2 = /* @__PURE__ */ __name((path, why) => new CliError("configuration_error", `the reply state ${path} cannot be read (${why}) \u2014 fix or move the file`), "broken");
6175
6175
 
6176
- // node_modules/.pnpm/@wirecat+cli-core@0.501.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e6af10c98f87b1454255e560646d3ddf/node_modules/@wirecat/cli-core/dist/replies/decide.js
6176
+ // node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.0_commander@15.0.0_esbuild@0.28.2_type_438c1bd9283d857a9e801e9b977bafec/node_modules/@wirecat/cli-core/dist/replies/decide.js
6177
6177
  var skip = /* @__PURE__ */ __name((why) => ({ skip: why }), "skip");
6178
6178
  var decide = /* @__PURE__ */ __name((rule2, incoming, state, now) => {
6179
6179
  const { message, chat, owner, sender } = incoming;
@@ -6279,7 +6279,7 @@ var filled = /* @__PURE__ */ __name((template2, senderName) => {
6279
6279
  return template2.replaceAll("{firstName}", name.split(/\s+/)[0] ?? name).replaceAll("{name}", name);
6280
6280
  }, "filled");
6281
6281
 
6282
- // node_modules/.pnpm/@wirecat+cli-core@0.501.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e6af10c98f87b1454255e560646d3ddf/node_modules/@wirecat/cli-core/dist/replies/template.js
6282
+ // node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.0_commander@15.0.0_esbuild@0.28.2_type_438c1bd9283d857a9e801e9b977bafec/node_modules/@wirecat/cli-core/dist/replies/template.js
6283
6283
  var import_liquidjs = __toESM(require_liquid_node(), 1);
6284
6284
  var TEMPLATE_LIMITS = {
6285
6285
  parse: 32768,
@@ -6439,7 +6439,7 @@ var renderReplyTemplate = /* @__PURE__ */ __name(async (reply, input) => {
6439
6439
  }
6440
6440
  }, "renderReplyTemplate");
6441
6441
 
6442
- // node_modules/.pnpm/@wirecat+cli-core@0.501.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e6af10c98f87b1454255e560646d3ddf/node_modules/@wirecat/cli-core/dist/replies/dry-run.js
6442
+ // node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.0_commander@15.0.0_esbuild@0.28.2_type_438c1bd9283d857a9e801e9b977bafec/node_modules/@wirecat/cli-core/dist/replies/dry-run.js
6443
6443
  var DRY_RUN_DAYS = 7;
6444
6444
  var PAGE = 500;
6445
6445
  var dryRun = /* @__PURE__ */ __name(async (store, account, rules, { since, until = Date.now(), only, audience, render }) => {
@@ -6553,7 +6553,7 @@ var storedSince = /* @__PURE__ */ __name(async (store, account, chat, since) =>
6553
6553
  }
6554
6554
  }, "storedSince");
6555
6555
 
6556
- // node_modules/.pnpm/@wirecat+cli-core@0.501.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e6af10c98f87b1454255e560646d3ddf/node_modules/@wirecat/cli-core/dist/embeddings/keys.js
6556
+ // node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.0_commander@15.0.0_esbuild@0.28.2_type_438c1bd9283d857a9e801e9b977bafec/node_modules/@wirecat/cli-core/dist/embeddings/keys.js
6557
6557
  var endpointKeyName = /* @__PURE__ */ __name((baseUrl) => {
6558
6558
  const host = new URL(baseUrl).host;
6559
6559
  return ["openai", "anthropic"].includes(host) ? `endpoint:${host}` : host;
@@ -6584,7 +6584,7 @@ var embeddingKeys = /* @__PURE__ */ __name((app, env = process.env, keyring) =>
6584
6584
  };
6585
6585
  }, "embeddingKeys");
6586
6586
 
6587
- // node_modules/.pnpm/@wirecat+cli-core@0.501.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e6af10c98f87b1454255e560646d3ddf/node_modules/@wirecat/cli-core/dist/models/openai.js
6587
+ // node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.0_commander@15.0.0_esbuild@0.28.2_type_438c1bd9283d857a9e801e9b977bafec/node_modules/@wirecat/cli-core/dist/models/openai.js
6588
6588
  var options = strictObject({
6589
6589
  temperature: range(0, 2),
6590
6590
  top_p: range(0, 1),
@@ -6633,7 +6633,7 @@ var openai = {
6633
6633
  }, "complete")
6634
6634
  };
6635
6635
 
6636
- // node_modules/.pnpm/@wirecat+cli-core@0.501.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e6af10c98f87b1454255e560646d3ddf/node_modules/@wirecat/cli-core/dist/models/index.js
6636
+ // node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.0_commander@15.0.0_esbuild@0.28.2_type_438c1bd9283d857a9e801e9b977bafec/node_modules/@wirecat/cli-core/dist/models/index.js
6637
6637
  var modelGateway = /* @__PURE__ */ __name((deps) => ({
6638
6638
  complete: /* @__PURE__ */ __name(async (request) => {
6639
6639
  if (deps.signal?.aborted)
@@ -6648,7 +6648,7 @@ var modelGateway = /* @__PURE__ */ __name((deps) => ({
6648
6648
  if (!adapter && target.provider === "openai")
6649
6649
  adapter = openai;
6650
6650
  if (!adapter && target.provider === "anthropic")
6651
- adapter = (await import("./anthropic-DZASXWG3.js")).anthropic;
6651
+ adapter = (await import("./anthropic-G5ZRRWG4.js")).anthropic;
6652
6652
  if (!adapter)
6653
6653
  throw new CliError("validation_error", `no model adapter for ${target.provider}`);
6654
6654
  if (request.images !== void 0 && adapter.images !== true)
@@ -6689,7 +6689,7 @@ var modelGateway = /* @__PURE__ */ __name((deps) => ({
6689
6689
  }, "complete")
6690
6690
  }), "modelGateway");
6691
6691
 
6692
- // node_modules/.pnpm/@wirecat+cli-core@0.501.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e6af10c98f87b1454255e560646d3ddf/node_modules/@wirecat/cli-core/dist/replies/consents.js
6692
+ // node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.0_commander@15.0.0_esbuild@0.28.2_type_438c1bd9283d857a9e801e9b977bafec/node_modules/@wirecat/cli-core/dist/replies/consents.js
6693
6693
  import { existsSync as existsSync5, readFileSync as readFileSync3 } from "node:fs";
6694
6694
  import { join as join3 } from "node:path";
6695
6695
  var shape = strictObject({
@@ -6714,7 +6714,7 @@ var mayModelReply = /* @__PURE__ */ __name((path, provider, chat) => {
6714
6714
  return consent.provider === provider && !consent.deniedChats.includes(chat);
6715
6715
  }, "mayModelReply");
6716
6716
 
6717
- // node_modules/.pnpm/@wirecat+cli-core@0.501.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e6af10c98f87b1454255e560646d3ddf/node_modules/@wirecat/cli-core/dist/replies/rendering.js
6717
+ // node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.0_commander@15.0.0_esbuild@0.28.2_type_438c1bd9283d857a9e801e9b977bafec/node_modules/@wirecat/cli-core/dist/replies/rendering.js
6718
6718
  var replyRenderer = /* @__PURE__ */ __name((app, profile, settings, env, warn, options2 = {
6719
6719
  ai: true
6720
6720
  }) => async (rule2, message, chat, now) => {
@@ -6761,7 +6761,7 @@ var replyRenderer = /* @__PURE__ */ __name((app, profile, settings, env, warn, o
6761
6761
  return result2;
6762
6762
  }, "replyRenderer");
6763
6763
 
6764
- // node_modules/.pnpm/@wirecat+cli-core@0.501.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e6af10c98f87b1454255e560646d3ddf/node_modules/@wirecat/cli-core/dist/replies/serve.js
6764
+ // node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.0_commander@15.0.0_esbuild@0.28.2_type_438c1bd9283d857a9e801e9b977bafec/node_modules/@wirecat/cli-core/dist/replies/serve.js
6765
6765
  var NOT_ALLOWED = "replies.send is not allow";
6766
6766
  var NO_RULES = "no rules";
6767
6767
  var ONLY_TASK = "opened a task, sent nothing";
@@ -6854,7 +6854,7 @@ var replyTo = /* @__PURE__ */ __name(async (deps, message) => {
6854
6854
  return { skip: why };
6855
6855
  }, "replyTo");
6856
6856
 
6857
- // node_modules/.pnpm/@wirecat+cli-core@0.501.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e6af10c98f87b1454255e560646d3ddf/node_modules/@wirecat/cli-core/dist/cli/messenger/serve-members.js
6857
+ // node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.0_commander@15.0.0_esbuild@0.28.2_type_438c1bd9283d857a9e801e9b977bafec/node_modules/@wirecat/cli-core/dist/cli/messenger/serve-members.js
6858
6858
  var FIRST_FETCH_MS = 6e4;
6859
6859
  var DAY_MS = 864e5;
6860
6860
  var memberFetches = /* @__PURE__ */ __name(({ withStore, fetch: fetch2, warn, firstMs = FIRST_FETCH_MS, everyMs = DAY_MS }) => {
@@ -6908,7 +6908,7 @@ var memberFetches = /* @__PURE__ */ __name(({ withStore, fetch: fetch2, warn, fi
6908
6908
  };
6909
6909
  }, "memberFetches");
6910
6910
 
6911
- // node_modules/.pnpm/@wirecat+cli-core@0.501.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e6af10c98f87b1454255e560646d3ddf/node_modules/@wirecat/cli-core/dist/cli/messenger/serve-notice.js
6911
+ // node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.0_commander@15.0.0_esbuild@0.28.2_type_438c1bd9283d857a9e801e9b977bafec/node_modules/@wirecat/cli-core/dist/cli/messenger/serve-notice.js
6912
6912
  var record2 = /* @__PURE__ */ __name((context, app, severity, attributes) => recordLogFor(context.streams.diagnostic, app, { command: currentRun().command || "serve" })[severity](attributes), "record");
6913
6913
  var noticeFor = /* @__PURE__ */ __name((context, app, severity = "warn") => ({ text, ...attributes }) => {
6914
6914
  if (context.format === "pretty") {
@@ -6941,7 +6941,7 @@ var recordDiagnostics = /* @__PURE__ */ __name((context, app) => {
6941
6941
  return context;
6942
6942
  }, "recordDiagnostics");
6943
6943
 
6944
- // node_modules/.pnpm/@wirecat+cli-core@0.501.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e6af10c98f87b1454255e560646d3ddf/node_modules/@wirecat/cli-core/dist/cli/messenger/serve-stems.js
6944
+ // node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.0_commander@15.0.0_esbuild@0.28.2_type_438c1bd9283d857a9e801e9b977bafec/node_modules/@wirecat/cli-core/dist/cli/messenger/serve-stems.js
6945
6945
  var STEMS_EVERY_MS = 3e4;
6946
6946
  var STEMS_SLICE_MS = 2e3;
6947
6947
  var stemFills = /* @__PURE__ */ __name(({ withStore, warn, everyMs = STEMS_EVERY_MS, sliceMs = STEMS_SLICE_MS }) => {
@@ -6981,7 +6981,7 @@ var stemFills = /* @__PURE__ */ __name(({ withStore, warn, everyMs = STEMS_EVERY
6981
6981
  };
6982
6982
  }, "stemFills");
6983
6983
 
6984
- // node_modules/.pnpm/@wirecat+cli-core@0.501.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e6af10c98f87b1454255e560646d3ddf/node_modules/@wirecat/cli-core/dist/render/messages.js
6984
+ // node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.0_commander@15.0.0_esbuild@0.28.2_type_438c1bd9283d857a9e801e9b977bafec/node_modules/@wirecat/cli-core/dist/render/messages.js
6985
6985
  import { styleText } from "node:util";
6986
6986
  var TIME_WIDTH = 8;
6987
6987
  var INDENT = " ".repeat(TIME_WIDTH + 2);
@@ -7157,7 +7157,7 @@ var editedAt = /* @__PURE__ */ __name((message, options2) => {
7157
7157
  return day(edited) === day(message.timestamp) ? time : `${day(edited)} ${time}`;
7158
7158
  }, "editedAt");
7159
7159
 
7160
- // node_modules/.pnpm/@wirecat+cli-core@0.501.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e6af10c98f87b1454255e560646d3ddf/node_modules/@wirecat/cli-core/dist/cli/messenger/message-items.js
7160
+ // node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.0_commander@15.0.0_esbuild@0.28.2_type_438c1bd9283d857a9e801e9b977bafec/node_modules/@wirecat/cli-core/dist/cli/messenger/message-items.js
7161
7161
  var defined = /* @__PURE__ */ __name((value) => Object.fromEntries(Object.entries(value).filter(([, one]) => one !== void 0)), "defined");
7162
7162
  var attachmentItem = /* @__PURE__ */ __name((attachment) => defined({
7163
7163
  kind: attachment.kind,
@@ -7252,7 +7252,7 @@ var viewOf = /* @__PURE__ */ __name((context, messenger) => ({
7252
7252
  locale: messenger.app.locale
7253
7253
  }), "viewOf");
7254
7254
 
7255
- // node_modules/.pnpm/@wirecat+cli-core@0.501.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e6af10c98f87b1454255e560646d3ddf/node_modules/@wirecat/cli-core/dist/cli/messenger/watch-answers.js
7255
+ // node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.0_commander@15.0.0_esbuild@0.28.2_type_438c1bd9283d857a9e801e9b977bafec/node_modules/@wirecat/cli-core/dist/cli/messenger/watch-answers.js
7256
7256
  var observed = /* @__PURE__ */ __name((value) => ({
7257
7257
  value: value.value,
7258
7258
  observed_at: value.observedAt,
@@ -7319,7 +7319,7 @@ var watchEventItem = /* @__PURE__ */ __name((value, account) => {
7319
7319
  }
7320
7320
  }, "watchEventItem");
7321
7321
 
7322
- // node_modules/.pnpm/@wirecat+cli-core@0.501.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e6af10c98f87b1454255e560646d3ddf/node_modules/@wirecat/cli-core/dist/cli/messenger/watch-command.js
7322
+ // node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.0_commander@15.0.0_esbuild@0.28.2_type_438c1bd9283d857a9e801e9b977bafec/node_modules/@wirecat/cli-core/dist/cli/messenger/watch-command.js
7323
7323
  var watchCommand = /* @__PURE__ */ __name((messenger) => annotate(new Command("watch"), {
7324
7324
  output: { entity: "watch_item" },
7325
7325
  effects: REMOTE_READ,
@@ -7474,7 +7474,7 @@ var describe = /* @__PURE__ */ __name((event, render) => {
7474
7474
  }
7475
7475
  }, "describe");
7476
7476
 
7477
- // node_modules/.pnpm/@wirecat+cli-core@0.501.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e6af10c98f87b1454255e560646d3ddf/node_modules/@wirecat/cli-core/dist/cli/messenger/serve-command.js
7477
+ // node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.0_commander@15.0.0_esbuild@0.28.2_type_438c1bd9283d857a9e801e9b977bafec/node_modules/@wirecat/cli-core/dist/cli/messenger/serve-command.js
7478
7478
  var serveCommand = /* @__PURE__ */ __name((messenger) => {
7479
7479
  const command = annotate(new Command("serve"), {
7480
7480
  output: { entity: "serve_summary" },
@@ -7690,7 +7690,7 @@ var tasking = /* @__PURE__ */ __name((context, warn) => {
7690
7690
  };
7691
7691
  }, "tasking");
7692
7692
 
7693
- // node_modules/.pnpm/@wirecat+cli-core@0.501.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e6af10c98f87b1454255e560646d3ddf/node_modules/@wirecat/cli-core/dist/cli/messenger/store-tables-command.js
7693
+ // node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.0_commander@15.0.0_esbuild@0.28.2_type_438c1bd9283d857a9e801e9b977bafec/node_modules/@wirecat/cli-core/dist/cli/messenger/store-tables-command.js
7694
7694
  import { existsSync as existsSync6 } from "node:fs";
7695
7695
  var PATH = "store tables list";
7696
7696
  var STORE_TABLES_QUERY = {
@@ -7733,7 +7733,7 @@ var storeTablesCommand = /* @__PURE__ */ __name((messenger) => {
7733
7733
  return tables;
7734
7734
  }, "storeTablesCommand");
7735
7735
 
7736
- // node_modules/.pnpm/@wirecat+cli-core@0.501.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e6af10c98f87b1454255e560646d3ddf/node_modules/@wirecat/cli-core/dist/cli/messenger/store-maintenance-command.js
7736
+ // node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.0_commander@15.0.0_esbuild@0.28.2_type_438c1bd9283d857a9e801e9b977bafec/node_modules/@wirecat/cli-core/dist/cli/messenger/store-maintenance-command.js
7737
7737
  var SEARCH_INDEXES = ["messages_fts", "chats_fts", "identities_fts"];
7738
7738
  var WORD_INDEX = "message_words";
7739
7739
  var schemaOf = /* @__PURE__ */ __name((database) => {
@@ -3,7 +3,7 @@ const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  AUDIT_MIN_SCORE,
5
5
  throughWrapper
6
- } from "./chunk-6XYGTRMQ.js";
6
+ } from "./chunk-2Q3S47BC.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-3RYX7IB6.js";
19
+ } from "./chunk-4RDXCE45.js";
20
20
  import {
21
21
  readOnlyLockOf
22
- } from "./chunk-ZDLIO76S.js";
22
+ } from "./chunk-ZMMOVTUB.js";
23
23
  import {
24
24
  formatReference
25
- } from "./chunk-R4TE4ZSD.js";
25
+ } from "./chunk-SBOTSSYV.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-GE4DP24O.js";
48
+ } from "./chunk-PKNTBZXN.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-NHBUTCNR.js";
61
+ } from "./chunk-LQXLWHKM.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-YKZ4IPLB.js";
72
+ } from "./chunk-JKEAZBEZ.js";
73
73
  import {
74
74
  __name
75
75
  } from "./chunk-ZVVMGPBJ.js";
76
76
 
77
- // node_modules/.pnpm/@wirecat+cli-core@0.501.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e6af10c98f87b1454255e560646d3ddf/node_modules/@wirecat/cli-core/dist/cli/messenger/lacks.js
77
+ // node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.0_commander@15.0.0_esbuild@0.28.2_type_438c1bd9283d857a9e801e9b977bafec/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.501.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e6af10c98f87b1454255e560646d3ddf/node_modules/@wirecat/cli-core/dist/meetings/cli/query-options.js
127
+ // node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.0_commander@15.0.0_esbuild@0.28.2_type_438c1bd9283d857a9e801e9b977bafec/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.501.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e6af10c98f87b1454255e560646d3ddf/node_modules/@wirecat/cli-core/dist/meetings/cli/passage.js
147
+ // node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.0_commander@15.0.0_esbuild@0.28.2_type_438c1bd9283d857a9e801e9b977bafec/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.501.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e6af10c98f87b1454255e560646d3ddf/node_modules/@wirecat/cli-core/dist/meetings/cli/project-evidence.js
189
+ // node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.0_commander@15.0.0_esbuild@0.28.2_type_438c1bd9283d857a9e801e9b977bafec/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.501.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e6af10c98f87b1454255e560646d3ddf/node_modules/@wirecat/cli-core/dist/meetings/cli/search.js
212
+ // node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.0_commander@15.0.0_esbuild@0.28.2_type_438c1bd9283d857a9e801e9b977bafec/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.501.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e6af10c98f87b1454255e560646d3ddf/node_modules/@wirecat/cli-core/dist/meetings/cli/index.js
298
+ // node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.0_commander@15.0.0_esbuild@0.28.2_type_438c1bd9283d857a9e801e9b977bafec/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,7 +415,7 @@ ${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.501.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e6af10c98f87b1454255e560646d3ddf/node_modules/@wirecat/cli-core/dist/cli/list-query.js
418
+ // node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.0_commander@15.0.0_esbuild@0.28.2_type_438c1bd9283d857a9e801e9b977bafec/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
420
  var withQuery = /* @__PURE__ */ __name((command, registry) => {
421
421
  const query = defineQuery(registry);
@@ -465,7 +465,8 @@ var pagedList = /* @__PURE__ */ __name((command, { limit, page, all }, { items,
465
465
  page
466
466
  }), "pagedList");
467
467
  var askable = /* @__PURE__ */ __name((registry) => registry.backend === "native" ? registry.fields.filter((field) => field.native) : registry.fields, "askable");
468
- var nativeTerms = /* @__PURE__ */ __name((ast, command) => {
468
+ 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 = []) => {
469
470
  const terms = /* @__PURE__ */ new Map();
470
471
  if (!ast)
471
472
  return terms;
@@ -479,13 +480,14 @@ var nativeTerms = /* @__PURE__ */ __name((ast, command) => {
479
480
  }
480
481
  return;
481
482
  }
482
- if (terms.has(node.field))
483
+ const held = terms.get(node.field);
484
+ if (held && !repeatable.includes(node.field))
483
485
  queryError("query.unsupported-placement", node.span, `${node.field} only once here`, context);
484
- terms.set(node.field, node);
486
+ terms.set(node.field, [...held ?? [], node]);
485
487
  }, "add");
486
488
  add(ast.root);
487
489
  return terms;
488
- }, "nativeTerms");
490
+ }, "nativeTermLists");
489
491
  var queryTerms = /* @__PURE__ */ __name((words, registry, command) => {
490
492
  const terms = /* @__PURE__ */ new Map();
491
493
  for (const [field, node] of nativeTerms(listQuery(typedQuery(words), registry, command), command)) {
@@ -529,7 +531,7 @@ var termField = /* @__PURE__ */ __name((name, type, example, more = {}) => nativ
529
531
  var queryHelp = /* @__PURE__ */ __name((registry) => `
530
532
  ${fieldsHelp(registry, LIST_QUERY_GUIDE)}`, "queryHelp");
531
533
 
532
- // node_modules/.pnpm/@wirecat+cli-core@0.501.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e6af10c98f87b1454255e560646d3ddf/node_modules/@wirecat/cli-core/dist/cli/paging.js
534
+ // node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.0_commander@15.0.0_esbuild@0.28.2_type_438c1bd9283d857a9e801e9b977bafec/node_modules/@wirecat/cli-core/dist/cli/paging.js
533
535
  var positiveCount = /* @__PURE__ */ __name((flag) => (value) => {
534
536
  if (!/^\d+$/.test(value.trim()) || Number(value) < 1)
535
537
  throw new CliError("validation_error", `${flag} takes a whole number from 1 upwards, not "${value}"`);
@@ -538,7 +540,7 @@ var positiveCount = /* @__PURE__ */ __name((flag) => (value) => {
538
540
  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");
539
541
  var window = /* @__PURE__ */ __name(({ limit, page, all }) => all ? { offset: 0 } : { limit, offset: (page - 1) * limit }, "window");
540
542
 
541
- // node_modules/.pnpm/@wirecat+cli-core@0.501.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e6af10c98f87b1454255e560646d3ddf/node_modules/@wirecat/cli-core/dist/cli/messenger/chat-answers.js
543
+ // node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.0_commander@15.0.0_esbuild@0.28.2_type_438c1bd9283d857a9e801e9b977bafec/node_modules/@wirecat/cli-core/dist/cli/messenger/chat-answers.js
542
544
  var defined = /* @__PURE__ */ __name((record2) => Object.fromEntries(Object.entries(record2).filter(([, value]) => value !== void 0)), "defined");
543
545
  var chatRef = /* @__PURE__ */ __name((account, chat) => formatReference({ type: "chat", provider: account.provider, account: account.account, chat }), "chatRef");
544
546
  var settingsOf = /* @__PURE__ */ __name((settings) => defined({
@@ -800,7 +802,7 @@ var sessionAnswer = /* @__PURE__ */ __name(({ current, client, device, location,
800
802
  ...createdAt === void 0 ? {} : { created_at: createdAt }
801
803
  }), "sessionAnswer");
802
804
 
803
- // node_modules/.pnpm/@wirecat+cli-core@0.501.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e6af10c98f87b1454255e560646d3ddf/node_modules/@wirecat/cli-core/dist/background/relay.js
805
+ // node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.0_commander@15.0.0_esbuild@0.28.2_type_438c1bd9283d857a9e801e9b977bafec/node_modules/@wirecat/cli-core/dist/background/relay.js
804
806
  import { createHash } from "node:crypto";
805
807
  import { chmodSync, lstatSync, mkdirSync, rmSync } from "node:fs";
806
808
  import { createConnection, createServer } from "node:net";
@@ -1021,7 +1023,7 @@ var relayCommand = /* @__PURE__ */ __name((path, request, options) => new Promis
1021
1023
  }, () => finish({ error: stopped() }));
1022
1024
  }), "relayCommand");
1023
1025
 
1024
- // node_modules/.pnpm/@wirecat+cli-core@0.501.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e6af10c98f87b1454255e560646d3ddf/node_modules/@wirecat/cli-core/dist/cli/messenger/serve-relay.js
1026
+ // node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.0_commander@15.0.0_esbuild@0.28.2_type_438c1bd9283d857a9e801e9b977bafec/node_modules/@wirecat/cli-core/dist/cli/messenger/serve-relay.js
1025
1027
  var lentConnection = /* @__PURE__ */ __name((connection, watchers) => throughWrapper(connection, {
1026
1028
  close: /* @__PURE__ */ __name(async () => {
1027
1029
  }, "close"),