@wirecat/drive-cli 0.51.0 → 0.52.1

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 (157) hide show
  1. package/README.md +2 -2
  2. package/dist/bin/drive.js +2 -2
  3. package/dist/bundle/{all-profiles-H3APJWSO.js → all-profiles-CYW6XBBS.js} +8 -8
  4. package/dist/bundle/{anthropic-P7DXFYFE.js → anthropic-KW6KU36Y.js} +5 -5
  5. package/dist/bundle/{app-server-IQUR7ZC2.js → app-server-TCJZ333E.js} +53 -52
  6. package/dist/bundle/{bun-LZUEW2ML.js → bun-7SYKSCLA.js} +2 -2
  7. package/dist/bundle/{bun-sqlite-6LUE7UA6.js → bun-sqlite-RI7DR6RZ.js} +4 -4
  8. package/dist/bundle/{chunk-7ZNM6KXP.js → chunk-234MHU76.js} +7 -7
  9. package/dist/bundle/{chunk-U7DPS46V.js → chunk-2623YE5I.js} +107 -96
  10. package/dist/bundle/{chunk-UW7VXKKZ.js → chunk-2AUXBJRX.js} +19 -19
  11. package/dist/bundle/{chunk-OQVJQSEH.js → chunk-2UIMEMWU.js} +3 -3
  12. package/dist/bundle/{chunk-NO34DAIB.js → chunk-33NVQGUY.js} +6 -6
  13. package/dist/bundle/{chunk-D3UFQC7K.js → chunk-43QVYW3K.js} +49 -49
  14. package/dist/bundle/{chunk-POFLDSTX.js → chunk-54O62JWP.js} +10 -10
  15. package/dist/bundle/{chunk-HBRTKJ3J.js → chunk-5PLJKSG4.js} +7 -7
  16. package/dist/bundle/{chunk-PRBPVOW4.js → chunk-6DHQTUB2.js} +1 -1
  17. package/dist/bundle/{chunk-BVDAP3FQ.js → chunk-725OHXKR.js} +9 -9
  18. package/dist/bundle/chunk-7SH4JHYW.js +379 -0
  19. package/dist/bundle/{chunk-FCZ762RV.js → chunk-7XKAVMCF.js} +8 -8
  20. package/dist/bundle/{chunk-PNUS224S.js → chunk-7YMDL4JQ.js} +8 -6
  21. package/dist/bundle/{chunk-FV5WG4WU.js → chunk-A4UNTWAX.js} +29 -25
  22. package/dist/bundle/{chunk-I7EP3VPJ.js → chunk-ALJWBGD5.js} +1 -1
  23. package/dist/bundle/{chunk-U3OS6V6S.js → chunk-BBYD2FA3.js} +1 -1
  24. package/dist/bundle/{chunk-CX7HQ6KK.js → chunk-BSSCTWWK.js} +12 -12
  25. package/dist/bundle/{chunk-HYT3FJVB.js → chunk-C6Z25IBJ.js} +49 -24
  26. package/dist/bundle/{chunk-XCXUP76D.js → chunk-CB7SBYLO.js} +27 -27
  27. package/dist/bundle/{chunk-YXHMEFL7.js → chunk-CITFEQ6S.js} +1 -1
  28. package/dist/bundle/{chunk-Y73IZWRI.js → chunk-CKBHR7QO.js} +1 -1
  29. package/dist/bundle/{chunk-AKW5MNQP.js → chunk-CM7GAXGD.js} +5 -5
  30. package/dist/bundle/{chunk-OKSS7YUN.js → chunk-DLAFGSTN.js} +1 -1
  31. package/dist/bundle/{chunk-MPTD5P53.js → chunk-DO4PDQY5.js} +2 -2
  32. package/dist/bundle/{chunk-P3T2SZW2.js → chunk-EKFEY3KP.js} +2 -2
  33. package/dist/bundle/{chunk-ZKAAFY4C.js → chunk-F7UUZATI.js} +11 -11
  34. package/dist/bundle/{chunk-XBENRRBS.js → chunk-FCJAHD4R.js} +2 -2
  35. package/dist/bundle/{chunk-5C7RKU7O.js → chunk-FDWYPONW.js} +46 -34
  36. package/dist/bundle/{chunk-TVJU245P.js → chunk-FG4XXZZE.js} +2 -2
  37. package/dist/bundle/{chunk-BMI5VCR4.js → chunk-FJW3DDCF.js} +5 -5
  38. package/dist/bundle/{chunk-LZKPT7GY.js → chunk-G6QF5KWF.js} +35 -35
  39. package/dist/bundle/{chunk-K6JSVXDN.js → chunk-G7DCVJ4F.js} +5 -5
  40. package/dist/bundle/{chunk-J2S7QDOP.js → chunk-GJN5B5JK.js} +16 -16
  41. package/dist/bundle/{chunk-Q5CLTK5R.js → chunk-GR5GGZKH.js} +3 -3
  42. package/dist/bundle/{chunk-SZWQFR5X.js → chunk-GVCN3GLZ.js} +16 -4
  43. package/dist/bundle/{chunk-CT6Z6Z64.js → chunk-H47W2J6S.js} +523 -778
  44. package/dist/bundle/{chunk-HGWMX7BM.js → chunk-HQVJK5E7.js} +44 -22
  45. package/dist/bundle/{chunk-35IHF562.js → chunk-HX7Y2ASG.js} +350 -281
  46. package/dist/bundle/{chunk-7LYVWMKD.js → chunk-I7UH5CTA.js} +8 -8
  47. package/dist/bundle/{chunk-YVQJPLPU.js → chunk-IDUNJCFO.js} +2 -2
  48. package/dist/bundle/{chunk-WACVI3CS.js → chunk-IEXPOEEO.js} +24 -24
  49. package/dist/bundle/{chunk-6FXFYXTR.js → chunk-IWFBAWZK.js} +15 -15
  50. package/dist/bundle/{chunk-3KTDFSSK.js → chunk-JEOYFKUK.js} +2 -2
  51. package/dist/bundle/{chunk-4GFAOETW.js → chunk-KYVXMEBC.js} +3 -3
  52. package/dist/bundle/{chunk-PT6XDCOY.js → chunk-LJAX6YCF.js} +2 -2
  53. package/dist/bundle/{chunk-XXLTVVMT.js → chunk-LONV6HIK.js} +20 -20
  54. package/dist/bundle/{chunk-G75FZQAZ.js → chunk-NHBUTCNR.js} +10 -10
  55. package/dist/bundle/{chunk-OASIFIXM.js → chunk-NPSZPUK6.js} +2 -2
  56. package/dist/bundle/{chunk-Z3GWVRW3.js → chunk-NSIFQ5OP.js} +1 -1
  57. package/dist/bundle/{chunk-WX2NQO2D.js → chunk-NYOPEHEU.js} +1 -1
  58. package/dist/bundle/{chunk-TSZJXI4N.js → chunk-O6IOL6RX.js} +21 -21
  59. package/dist/bundle/{chunk-YLC4JVQZ.js → chunk-PAXKALHV.js} +5 -5
  60. package/dist/bundle/{chunk-AUW45JPI.js → chunk-PDGECM5D.js} +7 -7
  61. package/dist/bundle/{chunk-NRWDEBJB.js → chunk-PEOCBV2Z.js} +8 -8
  62. package/dist/bundle/{chunk-VCPS7Q2W.js → chunk-PQJYM5ES.js} +3 -3
  63. package/dist/bundle/{chunk-TEH76MZK.js → chunk-PQYVPCJ2.js} +26 -26
  64. package/dist/bundle/{chunk-WYWXOIGT.js → chunk-PSNHPFSK.js} +1 -1
  65. package/dist/bundle/{chunk-Y4YBW5S4.js → chunk-Q765VPZY.js} +2 -2
  66. package/dist/bundle/{chunk-D222O57O.js → chunk-QYUHS6DE.js} +6 -6
  67. package/dist/bundle/{chunk-YOABRW2M.js → chunk-R276546S.js} +1 -1
  68. package/dist/bundle/{chunk-SRIPLP7N.js → chunk-RNSP57TC.js} +4 -4
  69. package/dist/bundle/{chunk-VH4GVA2N.js → chunk-UR32UWTQ.js} +2 -2
  70. package/dist/bundle/{chunk-Z6KTSXE3.js → chunk-VJZST5RD.js} +2 -2
  71. package/dist/bundle/{chunk-LLMHJE5Q.js → chunk-VSOLLTYT.js} +2 -2
  72. package/dist/bundle/{chunk-PQGIV36R.js → chunk-VZ2I62HN.js} +2 -2
  73. package/dist/bundle/{chunk-DEVPGI27.js → chunk-W7IK7E4B.js} +17 -17
  74. package/dist/bundle/{chunk-NVHPYKYC.js → chunk-WBTVGFXI.js} +11 -11
  75. package/dist/bundle/{chunk-2TPENYCK.js → chunk-WLFUBNFX.js} +4 -4
  76. package/dist/bundle/{chunk-SRONUWOM.js → chunk-WQJBAWQP.js} +515 -344
  77. package/dist/bundle/{chunk-K3EK4MTU.js → chunk-WQRGA75U.js} +15 -3
  78. package/dist/bundle/{chunk-XE2GEE3E.js → chunk-WUX7AUOQ.js} +26 -26
  79. package/dist/bundle/{chunk-JI5KFKTL.js → chunk-XOLQSCMF.js} +6 -6
  80. package/dist/bundle/{chunk-EY4CUQW2.js → chunk-YKZ4IPLB.js} +26 -9
  81. package/dist/bundle/{chunk-GK2VUKQY.js → chunk-YNFELLNQ.js} +2 -2
  82. package/dist/bundle/{chunk-F3PPSIKI.js → chunk-YVPHJHIL.js} +3 -3
  83. package/dist/bundle/{chunk-4YG2FZ53.js → chunk-Z47LOJUS.js} +7 -7
  84. package/dist/bundle/{chunk-DDD3FS6G.js → chunk-ZDLIO76S.js} +2 -2
  85. package/dist/bundle/{chunk-UMY4IQE2.js → chunk-ZNZUZGSV.js} +54 -47
  86. package/dist/bundle/{chunk-UM4E2OFL.js → chunk-ZSXRDF6I.js} +1 -1
  87. package/dist/bundle/{chunk-N33EOINW.js → chunk-ZWSG7OCA.js} +4 -4
  88. package/dist/bundle/command-contract-I2YB5IXI.js +38 -0
  89. package/dist/bundle/{decode-4EENADOV.js → decode-EDN2ARXZ.js} +19 -17
  90. package/dist/bundle/drive.js +7 -7
  91. package/dist/bundle/{echarts-ZFC37XW7.js → echarts-GXY34GHA.js} +2 -2
  92. package/dist/bundle/{embed-UZMNP26C.js → embed-3GSQIQXE.js} +5 -5
  93. package/dist/bundle/{embedder-7VDWDBKF.js → embedder-6ULWRG3R.js} +8 -8
  94. package/dist/bundle/{entry-JJKCHVIK.js → entry-IPRJLFHO.js} +6 -6
  95. package/dist/bundle/failure-IXS2ZHA5.js +37 -0
  96. package/dist/bundle/{first-run-FJTEUJBF.js → first-run-FGHGWHC2.js} +9 -9
  97. package/dist/bundle/first-screen-M62KTPZG.js +36 -0
  98. package/dist/bundle/{google-JBJASYKY.js → google-BD3ZNFVJ.js} +9 -9
  99. package/dist/bundle/google-api-BDUWZMRV.js +83 -0
  100. package/dist/bundle/{identity-XE73ALJH.js → identity-U7IHZEMR.js} +2 -2
  101. package/dist/bundle/{instructions-Q4ASITKO.js → instructions-K5BEQM4C.js} +1 -1
  102. package/dist/bundle/{login-BD2WQT5F.js → login-7HRYPZMM.js} +71 -66
  103. package/dist/bundle/{mcp-G6U2Q63E.js → mcp-F67RATLF.js} +82 -81
  104. package/dist/bundle/mcp-JZSYPQA4.js +96 -0
  105. package/dist/bundle/{mcp-ZYZ4DFW2.js → mcp-WSGVVZWI.js} +2 -2
  106. package/dist/bundle/{node-CYM7VXFR.js → node-ZYWB7IET.js} +2 -2
  107. package/dist/bundle/{node-sqlite-RK4MHW57.js → node-sqlite-J3OODPYK.js} +4 -4
  108. package/dist/bundle/{oauth-CQXQRHJR.js → oauth-L4VTCBLF.js} +6 -6
  109. package/dist/bundle/{open-WSE4NBD2.js → open-SGUN7ZVF.js} +3 -3
  110. package/dist/bundle/openai-RLVISEDH.js +251 -0
  111. package/dist/bundle/{process-7HHZZZLA.js → process-ZXO2MWRJ.js} +1 -1
  112. package/dist/bundle/{program-ZMQYZNV5.js → program-YVLXSKZV.js} +104 -102
  113. package/dist/bundle/{prompt-YSBBQJGF.js → prompt-AUWTBLO7.js} +4 -4
  114. package/dist/bundle/{reasons-366PI7OV.js → reasons-J57GSRWN.js} +3 -3
  115. package/dist/bundle/{recognize-AZKGPCAS.js → recognize-ORX2UBQW.js} +5 -3
  116. package/dist/bundle/{remote-EYSK3XKD.js → remote-AGIJY73X.js} +6 -6
  117. package/dist/bundle/{rerank-LOW6VIDF.js → rerank-R6PE44M5.js} +6 -6
  118. package/dist/bundle/{serve-UJ52HGA7.js → serve-VOBAQHAQ.js} +8 -8
  119. package/dist/bundle/server-24PS4M7U.js +70 -0
  120. package/dist/bundle/server-G6HFZ2CK.js +57 -0
  121. package/dist/bundle/{services-B4QUSCFN.js → services-HZFTTZSF.js} +35 -28
  122. package/dist/bundle/{sqlite-runtime-GEURBVK5.js → sqlite-runtime-DTGPR2T2.js} +4 -4
  123. package/dist/bundle/{state-OJNSKOXO.js → state-WG3JKJM3.js} +5 -5
  124. package/dist/bundle/{store-62SBP45X.js → store-33VHIMEO.js} +14 -14
  125. package/dist/bundle/{store-FTS2HVVB.js → store-EV72MT5U.js} +16 -16
  126. package/dist/bundle/store-maintenance-command-ZTUEI4EC.js +58 -0
  127. package/dist/bundle/tokens-XMOGQFI6.js +102 -0
  128. package/dist/commands/session.d.ts.map +1 -1
  129. package/dist/commands/session.js +2 -1
  130. package/dist/commands/session.js.map +1 -1
  131. package/dist/knowledge-query.d.ts +1 -1
  132. package/dist/login.d.ts.map +1 -1
  133. package/dist/login.js +7 -3
  134. package/dist/login.js.map +1 -1
  135. package/dist/reasons.js +1 -1
  136. package/dist/reasons.js.map +1 -1
  137. package/dist/store.d.ts.map +1 -1
  138. package/dist/store.js +1 -0
  139. package/dist/store.js.map +1 -1
  140. package/dist/tokens.d.ts +0 -2
  141. package/dist/tokens.d.ts.map +1 -1
  142. package/dist/tokens.js +12 -13
  143. package/dist/tokens.js.map +1 -1
  144. package/dist/version.d.ts +1 -1
  145. package/dist/version.js +1 -1
  146. package/package.json +3 -3
  147. package/dist/bundle/command-contract-R6CGYG7L.js +0 -38
  148. package/dist/bundle/failure-VBQBKCD5.js +0 -37
  149. package/dist/bundle/first-screen-NSPQWNMQ.js +0 -36
  150. package/dist/bundle/google-api-2FKF4UUN.js +0 -82
  151. package/dist/bundle/mcp-H3XD47NW.js +0 -95
  152. package/dist/bundle/server-CA2VLY25.js +0 -56
  153. package/dist/bundle/server-TW75RDEP.js +0 -69
  154. package/dist/bundle/store-maintenance-command-FQMB3R4E.js +0 -57
  155. package/dist/bundle/tokens-JALZUGEM.js +0 -103
  156. /package/dist/bundle/{chunk-2WNDZFGG.js → chunk-62EDJKGP.js} +0 -0
  157. /package/dist/bundle/{chunk-UO5O3665.js → chunk-FQRJWVEB.js} +0 -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-CT6Z6Z64.js";
6
+ } from "./chunk-H47W2J6S.js";
7
7
  import {
8
8
  environmentOf,
9
9
  itemOf,
@@ -11,20 +11,20 @@ import {
11
11
  nextStep,
12
12
  renderAnswer,
13
13
  snakeKeys
14
- } from "./chunk-5C7RKU7O.js";
14
+ } from "./chunk-FDWYPONW.js";
15
15
  import {
16
16
  Command,
17
17
  InvalidArgumentError,
18
18
  Option,
19
19
  annotate,
20
20
  sharedCommand
21
- } from "./chunk-BVDAP3FQ.js";
21
+ } from "./chunk-725OHXKR.js";
22
22
  import {
23
23
  readOnlyLockOf
24
- } from "./chunk-DDD3FS6G.js";
24
+ } from "./chunk-ZDLIO76S.js";
25
25
  import {
26
26
  formatReference
27
- } from "./chunk-7ZNM6KXP.js";
27
+ } from "./chunk-234MHU76.js";
28
28
  import {
29
29
  EVENT_QUERY,
30
30
  MEETING_PROJECT_EVIDENCE_QUERY,
@@ -47,7 +47,7 @@ import {
47
47
  readMeetingProjectEvidence,
48
48
  validateMeetingHitSearch,
49
49
  validateMeetingPassage
50
- } from "./chunk-UMY4IQE2.js";
50
+ } from "./chunk-ZNZUZGSV.js";
51
51
  import {
52
52
  OPERATORS_BY_TYPE,
53
53
  dateRange,
@@ -60,7 +60,7 @@ import {
60
60
  timezoneOf,
61
61
  validateQuery,
62
62
  zonedMoment
63
- } from "./chunk-G75FZQAZ.js";
63
+ } from "./chunk-NHBUTCNR.js";
64
64
  import {
65
65
  CliError,
66
66
  array,
@@ -71,12 +71,12 @@ import {
71
71
  safeParse,
72
72
  strictObject,
73
73
  string
74
- } from "./chunk-EY4CUQW2.js";
74
+ } from "./chunk-YKZ4IPLB.js";
75
75
  import {
76
76
  __name
77
77
  } from "./chunk-ZVVMGPBJ.js";
78
78
 
79
- // node_modules/.pnpm/@wirecat+cli-core@0.496.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_dcbd09250bc4763d29eff57ceeaf10b7/node_modules/@wirecat/cli-core/dist/cli/messenger/lacks.js
79
+ // 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
80
80
  var COMMAND_NEEDS = {
81
81
  "account update": ["updateProfile", "change the profile"],
82
82
  "account sessions list": ["sessions", "list the account's sessions"],
@@ -126,7 +126,7 @@ var hideNever = /* @__PURE__ */ __name((messenger, group) => {
126
126
  return group;
127
127
  }, "hideNever");
128
128
 
129
- // node_modules/.pnpm/@wirecat+cli-core@0.496.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_dcbd09250bc4763d29eff57ceeaf10b7/node_modules/@wirecat/cli-core/dist/meetings/cli/query-options.js
129
+ // 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
130
130
  var queryWordsAfterOptions = /* @__PURE__ */ __name((command) => {
131
131
  command.allowUnknownOption();
132
132
  const parse = command.parseOptions.bind(command);
@@ -146,7 +146,7 @@ var queryWordsAfterOptions = /* @__PURE__ */ __name((command) => {
146
146
  return command;
147
147
  }, "queryWordsAfterOptions");
148
148
 
149
- // node_modules/.pnpm/@wirecat+cli-core@0.496.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_dcbd09250bc4763d29eff57ceeaf10b7/node_modules/@wirecat/cli-core/dist/meetings/cli/passage.js
149
+ // 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
150
150
  var count = /* @__PURE__ */ __name((value) => {
151
151
  if (!/^(0|[1-9]\d*)$/.test(value) || !Number.isSafeInteger(Number(value)))
152
152
  throw new CliError("validation_error", "expected a nonnegative safe integer");
@@ -188,7 +188,7 @@ var addMeetingPassageCommandDefinition = /* @__PURE__ */ __name((program, deps)
188
188
  var createMeetingPassageCommand = sharedCommand(createMeetingPassageCommandDefinition);
189
189
  var addMeetingPassageCommand = sharedCommand(addMeetingPassageCommandDefinition);
190
190
 
191
- // node_modules/.pnpm/@wirecat+cli-core@0.496.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_dcbd09250bc4763d29eff57ceeaf10b7/node_modules/@wirecat/cli-core/dist/meetings/cli/project-evidence.js
191
+ // 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
192
192
  var integer = /* @__PURE__ */ __name((value) => {
193
193
  if (!/^[1-9]\d*$/.test(value) || !Number.isSafeInteger(Number(value)))
194
194
  throw new CliError("validation_error", "expected a positive safe integer");
@@ -211,7 +211,7 @@ ${fieldsHelp(MEETING_PROJECT_EVIDENCE_QUERY)}`).option("--limit <n>", "hits in o
211
211
  }, "addMeetingProjectEvidenceCommandDefinition");
212
212
  var addMeetingProjectEvidenceCommand = sharedCommand(addMeetingProjectEvidenceCommandDefinition);
213
213
 
214
- // node_modules/.pnpm/@wirecat+cli-core@0.496.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_dcbd09250bc4763d29eff57ceeaf10b7/node_modules/@wirecat/cli-core/dist/meetings/cli/search.js
214
+ // 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
215
215
  var ZONED = /(?:Z|[+-]\d{2}:?\d{2})$/i;
216
216
  var moment = /* @__PURE__ */ __name((flag, end, readIn) => (value) => {
217
217
  const zone = timezoneOf();
@@ -297,7 +297,7 @@ var addMeetingSearchCommandDefinition = /* @__PURE__ */ __name((program, deps) =
297
297
  var createMeetingSearchCommand = sharedCommand(createMeetingSearchCommandDefinition);
298
298
  var addMeetingSearchCommand = sharedCommand(addMeetingSearchCommandDefinition);
299
299
 
300
- // node_modules/.pnpm/@wirecat+cli-core@0.496.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_dcbd09250bc4763d29eff57ceeaf10b7/node_modules/@wirecat/cli-core/dist/meetings/cli/index.js
300
+ // 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
301
301
  var integer3 = /* @__PURE__ */ __name((text) => {
302
302
  if (!/^[1-9]\d*$/.test(text) || !Number.isSafeInteger(Number(text)))
303
303
  throw new InvalidArgumentError("expected a positive integer");
@@ -417,7 +417,7 @@ ${fieldsHelp(EVENT_QUERY, MEETING_QUERY_GUIDE)}`);
417
417
  }, "addMeetingCommandsDefinition");
418
418
  var addMeetingCommands = sharedCommand(addMeetingCommandsDefinition);
419
419
 
420
- // node_modules/.pnpm/@wirecat+cli-core@0.496.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_dcbd09250bc4763d29eff57ceeaf10b7/node_modules/@wirecat/cli-core/dist/cli/list-query.js
420
+ // 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
421
421
  var LIST_QUERY_GUIDE = "https://github.com/WireCatLabs/cli-core/blob/main/docs/search/query-language.md";
422
422
  var withQuery = /* @__PURE__ */ __name((command, registry) => {
423
423
  const query = defineQuery(registry);
@@ -531,7 +531,7 @@ var termField = /* @__PURE__ */ __name((name, type, example, more = {}) => nativ
531
531
  var queryHelp = /* @__PURE__ */ __name((registry) => `
532
532
  ${fieldsHelp(registry, LIST_QUERY_GUIDE)}`, "queryHelp");
533
533
 
534
- // node_modules/.pnpm/@wirecat+cli-core@0.496.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_dcbd09250bc4763d29eff57ceeaf10b7/node_modules/@wirecat/cli-core/dist/cli/paging.js
534
+ // 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
535
535
  var positiveCount = /* @__PURE__ */ __name((flag) => (value) => {
536
536
  if (!/^\d+$/.test(value.trim()) || Number(value) < 1)
537
537
  throw new CliError("validation_error", `${flag} takes a whole number from 1 upwards, not "${value}"`);
@@ -540,7 +540,7 @@ var positiveCount = /* @__PURE__ */ __name((flag) => (value) => {
540
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");
541
541
  var window = /* @__PURE__ */ __name(({ limit, page, all }) => all ? { offset: 0 } : { limit, offset: (page - 1) * limit }, "window");
542
542
 
543
- // node_modules/.pnpm/@wirecat+cli-core@0.496.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_dcbd09250bc4763d29eff57ceeaf10b7/node_modules/@wirecat/cli-core/dist/cli/messenger/chat-answers.js
543
+ // 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
544
544
  var defined = /* @__PURE__ */ __name((record2) => Object.fromEntries(Object.entries(record2).filter(([, value]) => value !== void 0)), "defined");
545
545
  var chatRef = /* @__PURE__ */ __name((account, chat) => formatReference({ type: "chat", provider: account.provider, account: account.account, chat }), "chatRef");
546
546
  var settingsOf = /* @__PURE__ */ __name((settings) => defined({
@@ -802,7 +802,7 @@ var sessionAnswer = /* @__PURE__ */ __name(({ current, client, device, location,
802
802
  ...createdAt === void 0 ? {} : { created_at: createdAt }
803
803
  }), "sessionAnswer");
804
804
 
805
- // node_modules/.pnpm/@wirecat+cli-core@0.496.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_dcbd09250bc4763d29eff57ceeaf10b7/node_modules/@wirecat/cli-core/dist/background/relay.js
805
+ // 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
806
806
  import { createHash } from "node:crypto";
807
807
  import { chmodSync, lstatSync, mkdirSync, rmSync } from "node:fs";
808
808
  import { createConnection, createServer } from "node:net";
@@ -950,7 +950,7 @@ var serve = /* @__PURE__ */ __name(async (socket, request, stdin, signal, run) =
950
950
  }
951
951
  }, "serve");
952
952
 
953
- // node_modules/.pnpm/@wirecat+cli-core@0.496.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_dcbd09250bc4763d29eff57ceeaf10b7/node_modules/@wirecat/cli-core/dist/cli/messenger/serve-relay.js
953
+ // 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
954
954
  var lentConnection = /* @__PURE__ */ __name((connection, watchers) => throughWrapper(connection, {
955
955
  close: /* @__PURE__ */ __name(async () => {
956
956
  }, "close"),
@@ -2,15 +2,15 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  unit
5
- } from "./chunk-AKW5MNQP.js";
5
+ } from "./chunk-CM7GAXGD.js";
6
6
  import {
7
7
  CliError
8
- } from "./chunk-EY4CUQW2.js";
8
+ } from "./chunk-YKZ4IPLB.js";
9
9
  import {
10
10
  __name
11
11
  } from "./chunk-ZVVMGPBJ.js";
12
12
 
13
- // node_modules/.pnpm/@wirecat+cli-core@0.496.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_dcbd09250bc4763d29eff57ceeaf10b7/node_modules/@wirecat/cli-core/dist/embeddings/remote.js
13
+ // 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/remote.js
14
14
  import { setTimeout } from "node:timers/promises";
15
15
  var OPENAI_URL = "https://api.openai.com/v1";
16
16
  var OPENAI_MODELS = {
@@ -2,19 +2,19 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  CliError
5
- } from "./chunk-EY4CUQW2.js";
5
+ } from "./chunk-YKZ4IPLB.js";
6
6
  import {
7
7
  __name
8
8
  } from "./chunk-ZVVMGPBJ.js";
9
9
 
10
- // node_modules/.pnpm/@wirecat+cli-core@0.496.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_dcbd09250bc4763d29eff57ceeaf10b7/node_modules/@wirecat/cli-core/dist/store/driver.js
10
+ // 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/driver.js
11
11
  var PRAGMAS = `
12
12
  PRAGMA busy_timeout = 5000;
13
13
  PRAGMA journal_mode = WAL;
14
14
  PRAGMA foreign_keys = ON;
15
15
  `;
16
16
 
17
- // node_modules/.pnpm/@wirecat+cli-core@0.496.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_dcbd09250bc4763d29eff57ceeaf10b7/node_modules/@wirecat/cli-core/dist/store/sqlite-warning.js
17
+ // 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/sqlite-warning.js
18
18
  var SQLITE_WARNING = "SQLite is an experimental feature";
19
19
  var quieted = /* @__PURE__ */ new WeakSet();
20
20
  var quietSqliteWarning = /* @__PURE__ */ __name((host = process) => {
@@ -35,7 +35,7 @@ var isSqliteWarning = /* @__PURE__ */ __name((warning, options) => {
35
35
  return name === "ExperimentalWarning" && message.startsWith(SQLITE_WARNING);
36
36
  }, "isSqliteWarning");
37
37
 
38
- // node_modules/.pnpm/@wirecat+cli-core@0.496.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_dcbd09250bc4763d29eff57ceeaf10b7/node_modules/@wirecat/cli-core/dist/store/open.js
38
+ // 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/open.js
39
39
  var openCache = /* @__PURE__ */ __name(async (path) => {
40
40
  const database = await openFile(path);
41
41
  try {
@@ -48,12 +48,12 @@ var openCache = /* @__PURE__ */ __name(async (path) => {
48
48
  }, "openCache");
49
49
  var openFile = /* @__PURE__ */ __name((path) => "Bun" in globalThis ? openUnderBun(path) : openUnderNode(path), "openFile");
50
50
  var openUnderBun = /* @__PURE__ */ __name(async (path) => {
51
- const { openWithBunSqlite } = await import("./bun-sqlite-6LUE7UA6.js");
51
+ const { openWithBunSqlite } = await import("./bun-sqlite-RI7DR6RZ.js");
52
52
  return await openWithBunSqlite(path);
53
53
  }, "openUnderBun");
54
54
  var openUnderNode = /* @__PURE__ */ __name(async (path) => {
55
55
  quietSqliteWarning();
56
- const { openWithNodeSqlite } = await import("./node-sqlite-RK4MHW57.js");
56
+ const { openWithNodeSqlite } = await import("./node-sqlite-J3OODPYK.js");
57
57
  return openWithNodeSqlite(path);
58
58
  }, "openUnderNode");
59
59
  var runtime = /* @__PURE__ */ __name(() => {
@@ -3,7 +3,7 @@ const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  answerOf,
5
5
  messengerContext
6
- } from "./chunk-XCXUP76D.js";
6
+ } from "./chunk-CB7SBYLO.js";
7
7
  import {
8
8
  chatEventAnswer,
9
9
  memberAnswer,
@@ -12,17 +12,17 @@ import {
12
12
  serveRelay,
13
13
  typedQuery,
14
14
  withQuery
15
- } from "./chunk-UW7VXKKZ.js";
15
+ } from "./chunk-2AUXBJRX.js";
16
16
  import {
17
17
  renderMessages
18
- } from "./chunk-OASIFIXM.js";
18
+ } from "./chunk-NPSZPUK6.js";
19
19
  import {
20
20
  holdLock,
21
21
  lockPath,
22
22
  releaseLock,
23
23
  servingProfiles,
24
24
  takeLock
25
- } from "./chunk-4GFAOETW.js";
25
+ } from "./chunk-KYVXMEBC.js";
26
26
  import {
27
27
  RULES_VERSION,
28
28
  applyTaskRulesOnArrival,
@@ -32,7 +32,7 @@ import {
32
32
  senderIsMe,
33
33
  servicesFor,
34
34
  syncsOneChat
35
- } from "./chunk-CT6Z6Z64.js";
35
+ } from "./chunk-H47W2J6S.js";
36
36
  import {
37
37
  LOCAL_READ,
38
38
  LOCAL_WRITE,
@@ -54,39 +54,39 @@ import {
54
54
  snakeKeys,
55
55
  storeTable,
56
56
  withoutProviderRefs
57
- } from "./chunk-5C7RKU7O.js";
57
+ } from "./chunk-FDWYPONW.js";
58
58
  import {
59
59
  Command,
60
60
  annotate
61
- } from "./chunk-BVDAP3FQ.js";
61
+ } from "./chunk-725OHXKR.js";
62
62
  import {
63
63
  holdersOf
64
- } from "./chunk-Z3GWVRW3.js";
64
+ } from "./chunk-NSIFQ5OP.js";
65
65
  import {
66
66
  codeOf,
67
67
  currentRun
68
- } from "./chunk-XXLTVVMT.js";
68
+ } from "./chunk-LONV6HIK.js";
69
69
  import {
70
70
  failureKey
71
- } from "./chunk-LLMHJE5Q.js";
71
+ } from "./chunk-VSOLLTYT.js";
72
72
  import {
73
73
  levelFor
74
- } from "./chunk-Y4YBW5S4.js";
74
+ } from "./chunk-Q765VPZY.js";
75
75
  import {
76
76
  envName
77
- } from "./chunk-DDD3FS6G.js";
77
+ } from "./chunk-ZDLIO76S.js";
78
78
  import {
79
79
  readSecret
80
- } from "./chunk-VCPS7Q2W.js";
80
+ } from "./chunk-PQJYM5ES.js";
81
81
  import {
82
82
  checkedOptions,
83
83
  range
84
- } from "./chunk-PT6XDCOY.js";
84
+ } from "./chunk-LJAX6YCF.js";
85
85
  import {
86
86
  messagesFor,
87
87
  systemFor,
88
88
  validateImages
89
- } from "./chunk-PQGIV36R.js";
89
+ } from "./chunk-VZ2I62HN.js";
90
90
  import {
91
91
  MIGRATIONS,
92
92
  drainNoteIndex,
@@ -113,26 +113,26 @@ import {
113
113
  storeClients,
114
114
  storeContents,
115
115
  vectorIndexCounts
116
- } from "./chunk-SRONUWOM.js";
116
+ } from "./chunk-WQJBAWQP.js";
117
117
  import {
118
118
  formatLocator,
119
119
  parseLocator
120
- } from "./chunk-7ZNM6KXP.js";
120
+ } from "./chunk-234MHU76.js";
121
121
  import {
122
122
  queryFieldsOf
123
- } from "./chunk-G75FZQAZ.js";
123
+ } from "./chunk-NHBUTCNR.js";
124
124
  import {
125
125
  storePath
126
- } from "./chunk-Z6KTSXE3.js";
126
+ } from "./chunk-VJZST5RD.js";
127
127
  import {
128
128
  openCache
129
- } from "./chunk-NO34DAIB.js";
129
+ } from "./chunk-33NVQGUY.js";
130
130
  import {
131
131
  Credentials,
132
132
  pathsAreOverridden,
133
133
  resolvePaths,
134
134
  writeSecurely
135
- } from "./chunk-HGWMX7BM.js";
135
+ } from "./chunk-HQVJK5E7.js";
136
136
  import {
137
137
  CliError,
138
138
  array,
@@ -157,7 +157,7 @@ import {
157
157
  transform,
158
158
  trim,
159
159
  union
160
- } from "./chunk-EY4CUQW2.js";
160
+ } from "./chunk-YKZ4IPLB.js";
161
161
  import {
162
162
  __commonJS,
163
163
  __name,
@@ -5497,11 +5497,11 @@ var require_liquid_node = __commonJS({
5497
5497
  }
5498
5498
  });
5499
5499
 
5500
- // node_modules/.pnpm/@wirecat+cli-core@0.496.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_dcbd09250bc4763d29eff57ceeaf10b7/node_modules/@wirecat/cli-core/dist/cli/messenger/store-maintenance-command.js
5500
+ // 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
5501
5501
  import { chmodSync, constants, copyFileSync, existsSync as existsSync7, mkdirSync, realpathSync, renameSync as renameSync2, rmSync as rmSync2, statfsSync, statSync as statSync3, writeFileSync } from "node:fs";
5502
5502
  import { dirname, resolve } from "node:path";
5503
5503
 
5504
- // node_modules/.pnpm/@wirecat+cli-core@0.496.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_dcbd09250bc4763d29eff57ceeaf10b7/node_modules/@wirecat/cli-core/dist/sealed.js
5504
+ // 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
5505
5505
  import { createCipheriv, createDecipheriv, createHash, randomBytes, scrypt, timingSafeEqual } from "node:crypto";
5506
5506
  import { closeSync, createReadStream, createWriteStream, existsSync, openSync, readSync, renameSync, rmSync, statSync } from "node:fs";
5507
5507
  import { Transform } from "node:stream";
@@ -5608,7 +5608,7 @@ var unsealFile = /* @__PURE__ */ __name(async (from, to, password) => {
5608
5608
  renameSync(pending, to);
5609
5609
  }, "unsealFile");
5610
5610
 
5611
- // node_modules/.pnpm/@wirecat+cli-core@0.496.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_dcbd09250bc4763d29eff57ceeaf10b7/node_modules/@wirecat/cli-core/dist/store/compatibility.js
5611
+ // 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
5612
5612
  var SPEAKS = MIGRATIONS.at(-1)?.version ?? 0;
5613
5613
  var fileSchemaOf = /* @__PURE__ */ __name((database) => {
5614
5614
  const tracked = database.prepare("SELECT 1 FROM sqlite_master WHERE name = 'schema_migrations'").get();
@@ -5632,7 +5632,7 @@ var compatibilityOf = /* @__PURE__ */ __name((file2, migrations = MIGRATIONS) =>
5632
5632
  };
5633
5633
  }, "compatibilityOf");
5634
5634
 
5635
- // node_modules/.pnpm/@wirecat+cli-core@0.496.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_dcbd09250bc4763d29eff57ceeaf10b7/node_modules/@wirecat/cli-core/dist/store/repair.js
5635
+ // 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
5636
5636
  import { createHash as createHash2 } from "node:crypto";
5637
5637
  var COPY_MARK = "__repair_";
5638
5638
  var COPY_NAME = /__repair_[0-9a-f]{8}(_\d+)?$/;
@@ -5886,7 +5886,7 @@ var deleteCopy = /* @__PURE__ */ __name((database, name) => {
5886
5886
  return found;
5887
5887
  }, "deleteCopy");
5888
5888
 
5889
- // node_modules/.pnpm/@wirecat+cli-core@0.496.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_dcbd09250bc4763d29eff57ceeaf10b7/node_modules/@wirecat/cli-core/dist/cli/store-info.js
5889
+ // 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
5890
5890
  import { existsSync as existsSync2, statSync as statSync2 } from "node:fs";
5891
5891
  var pendingIfKnown = /* @__PURE__ */ __name((database) => database.prepare("SELECT 1 FROM pragma_table_info('messages') WHERE name = 'normalized_text'").get() ? pendingNormalization(database) : null, "pendingIfKnown");
5892
5892
  var bytesOf = /* @__PURE__ */ __name((path) => existsSync2(path) ? statSync2(path).size : 0, "bytesOf");
@@ -5933,7 +5933,7 @@ var storeInfoCommand = /* @__PURE__ */ __name(() => annotate(new Command("info")
5933
5933
  renderAnswer(this, outputFor(this), itemOf(answer));
5934
5934
  }), "storeInfoCommand");
5935
5935
 
5936
- // node_modules/.pnpm/@wirecat+cli-core@0.496.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_dcbd09250bc4763d29eff57ceeaf10b7/node_modules/@wirecat/cli-core/dist/cli/messenger/password.js
5936
+ // 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
5937
5937
  var ENCRYPT_OPTION = [
5938
5938
  "--encrypt",
5939
5939
  "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"
@@ -5952,7 +5952,7 @@ var passwordOf = /* @__PURE__ */ __name(async (command, { twice }) => {
5952
5952
  return password;
5953
5953
  }, "passwordOf");
5954
5954
 
5955
- // node_modules/.pnpm/@wirecat+cli-core@0.496.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_dcbd09250bc4763d29eff57ceeaf10b7/node_modules/@wirecat/cli-core/dist/replies/rules.js
5955
+ // 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
5956
5956
  import { existsSync as existsSync3, readFileSync } from "node:fs";
5957
5957
  import { join } from "node:path";
5958
5958
  var REPLY_ACTIONS = ["reply", "task"];
@@ -6123,7 +6123,7 @@ var problem = /* @__PURE__ */ __name((issue) => {
6123
6123
  }, "problem");
6124
6124
  var broken = /* @__PURE__ */ __name((path, why) => new CliError("configuration_error", `the reply rules ${path} cannot be read (${why}) \u2014 fix the file`), "broken");
6125
6125
 
6126
- // node_modules/.pnpm/@wirecat+cli-core@0.496.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_dcbd09250bc4763d29eff57ceeaf10b7/node_modules/@wirecat/cli-core/dist/replies/state.js
6126
+ // 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
6127
6127
  import { existsSync as existsSync4, readFileSync as readFileSync2 } from "node:fs";
6128
6128
  import { join as join2 } from "node:path";
6129
6129
  var ANSWERED_KEPT = 1e3;
@@ -6176,7 +6176,7 @@ var recordReply = /* @__PURE__ */ __name((state, rule2, message, now) => {
6176
6176
  }, "recordReply");
6177
6177
  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");
6178
6178
 
6179
- // node_modules/.pnpm/@wirecat+cli-core@0.496.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_dcbd09250bc4763d29eff57ceeaf10b7/node_modules/@wirecat/cli-core/dist/replies/decide.js
6179
+ // 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
6180
6180
  var skip = /* @__PURE__ */ __name((why) => ({ skip: why }), "skip");
6181
6181
  var decide = /* @__PURE__ */ __name((rule2, incoming, state, now) => {
6182
6182
  const { message, chat, owner, sender } = incoming;
@@ -6282,7 +6282,7 @@ var filled = /* @__PURE__ */ __name((template2, senderName) => {
6282
6282
  return template2.replaceAll("{firstName}", name.split(/\s+/)[0] ?? name).replaceAll("{name}", name);
6283
6283
  }, "filled");
6284
6284
 
6285
- // node_modules/.pnpm/@wirecat+cli-core@0.496.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_dcbd09250bc4763d29eff57ceeaf10b7/node_modules/@wirecat/cli-core/dist/replies/template.js
6285
+ // 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
6286
6286
  var import_liquidjs = __toESM(require_liquid_node(), 1);
6287
6287
  var TEMPLATE_LIMITS = {
6288
6288
  parse: 32768,
@@ -6442,7 +6442,7 @@ var renderReplyTemplate = /* @__PURE__ */ __name(async (reply, input) => {
6442
6442
  }
6443
6443
  }, "renderReplyTemplate");
6444
6444
 
6445
- // node_modules/.pnpm/@wirecat+cli-core@0.496.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_dcbd09250bc4763d29eff57ceeaf10b7/node_modules/@wirecat/cli-core/dist/replies/dry-run.js
6445
+ // 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
6446
6446
  var DRY_RUN_DAYS = 7;
6447
6447
  var PAGE = 500;
6448
6448
  var dryRun = /* @__PURE__ */ __name(async (store, account, rules, { since, until = Date.now(), only, audience, render }) => {
@@ -6556,7 +6556,7 @@ var storedSince = /* @__PURE__ */ __name(async (store, account, chat, since) =>
6556
6556
  }
6557
6557
  }, "storedSince");
6558
6558
 
6559
- // node_modules/.pnpm/@wirecat+cli-core@0.496.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_dcbd09250bc4763d29eff57ceeaf10b7/node_modules/@wirecat/cli-core/dist/embeddings/keys.js
6559
+ // 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
6560
6560
  var endpointKeyName = /* @__PURE__ */ __name((baseUrl) => {
6561
6561
  const host = new URL(baseUrl).host;
6562
6562
  return ["openai", "anthropic"].includes(host) ? `endpoint:${host}` : host;
@@ -6587,7 +6587,7 @@ var embeddingKeys = /* @__PURE__ */ __name((app, env = process.env, keyring) =>
6587
6587
  };
6588
6588
  }, "embeddingKeys");
6589
6589
 
6590
- // node_modules/.pnpm/@wirecat+cli-core@0.496.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_dcbd09250bc4763d29eff57ceeaf10b7/node_modules/@wirecat/cli-core/dist/models/openai.js
6590
+ // 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
6591
6591
  var options = strictObject({
6592
6592
  temperature: range(0, 2),
6593
6593
  top_p: range(0, 1),
@@ -6636,7 +6636,7 @@ var openai = {
6636
6636
  }, "complete")
6637
6637
  };
6638
6638
 
6639
- // node_modules/.pnpm/@wirecat+cli-core@0.496.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_dcbd09250bc4763d29eff57ceeaf10b7/node_modules/@wirecat/cli-core/dist/models/index.js
6639
+ // 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
6640
6640
  var modelGateway = /* @__PURE__ */ __name((deps) => ({
6641
6641
  complete: /* @__PURE__ */ __name(async (request) => {
6642
6642
  if (deps.signal?.aborted)
@@ -6651,7 +6651,7 @@ var modelGateway = /* @__PURE__ */ __name((deps) => ({
6651
6651
  if (!adapter && target.provider === "openai")
6652
6652
  adapter = openai;
6653
6653
  if (!adapter && target.provider === "anthropic")
6654
- adapter = (await import("./anthropic-P7DXFYFE.js")).anthropic;
6654
+ adapter = (await import("./anthropic-KW6KU36Y.js")).anthropic;
6655
6655
  if (!adapter)
6656
6656
  throw new CliError("validation_error", `no model adapter for ${target.provider}`);
6657
6657
  if (request.images !== void 0 && adapter.images !== true)
@@ -6692,7 +6692,7 @@ var modelGateway = /* @__PURE__ */ __name((deps) => ({
6692
6692
  }, "complete")
6693
6693
  }), "modelGateway");
6694
6694
 
6695
- // node_modules/.pnpm/@wirecat+cli-core@0.496.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_dcbd09250bc4763d29eff57ceeaf10b7/node_modules/@wirecat/cli-core/dist/replies/consents.js
6695
+ // 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
6696
6696
  import { existsSync as existsSync5, readFileSync as readFileSync3 } from "node:fs";
6697
6697
  import { join as join3 } from "node:path";
6698
6698
  var shape = strictObject({
@@ -6717,7 +6717,7 @@ var mayModelReply = /* @__PURE__ */ __name((path, provider, chat) => {
6717
6717
  return consent.provider === provider && !consent.deniedChats.includes(chat);
6718
6718
  }, "mayModelReply");
6719
6719
 
6720
- // node_modules/.pnpm/@wirecat+cli-core@0.496.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_dcbd09250bc4763d29eff57ceeaf10b7/node_modules/@wirecat/cli-core/dist/replies/rendering.js
6720
+ // 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
6721
6721
  var replyRenderer = /* @__PURE__ */ __name((app, profile, settings, env, warn, options2 = {
6722
6722
  ai: true
6723
6723
  }) => async (rule2, message, chat, now) => {
@@ -6764,7 +6764,7 @@ var replyRenderer = /* @__PURE__ */ __name((app, profile, settings, env, warn, o
6764
6764
  return result2;
6765
6765
  }, "replyRenderer");
6766
6766
 
6767
- // node_modules/.pnpm/@wirecat+cli-core@0.496.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_dcbd09250bc4763d29eff57ceeaf10b7/node_modules/@wirecat/cli-core/dist/replies/serve.js
6767
+ // 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
6768
6768
  var NOT_ALLOWED = "replies.send is not allow";
6769
6769
  var NO_RULES = "no rules";
6770
6770
  var ONLY_TASK = "opened a task, sent nothing";
@@ -6857,7 +6857,7 @@ var replyTo = /* @__PURE__ */ __name(async (deps, message) => {
6857
6857
  return { skip: why };
6858
6858
  }, "replyTo");
6859
6859
 
6860
- // node_modules/.pnpm/@wirecat+cli-core@0.496.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_dcbd09250bc4763d29eff57ceeaf10b7/node_modules/@wirecat/cli-core/dist/cli/messenger/serve-members.js
6860
+ // 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
6861
6861
  var FIRST_FETCH_MS = 6e4;
6862
6862
  var DAY_MS = 864e5;
6863
6863
  var memberFetches = /* @__PURE__ */ __name(({ withStore, fetch: fetch2, warn, firstMs = FIRST_FETCH_MS, everyMs = DAY_MS }) => {
@@ -6911,7 +6911,7 @@ var memberFetches = /* @__PURE__ */ __name(({ withStore, fetch: fetch2, warn, fi
6911
6911
  };
6912
6912
  }, "memberFetches");
6913
6913
 
6914
- // node_modules/.pnpm/@wirecat+cli-core@0.496.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_dcbd09250bc4763d29eff57ceeaf10b7/node_modules/@wirecat/cli-core/dist/cli/messenger/serve-notice.js
6914
+ // 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
6915
6915
  var record2 = /* @__PURE__ */ __name((context, app, severity, attributes) => recordLogFor(context.streams.diagnostic, app, { command: currentRun().command || "serve" })[severity](attributes), "record");
6916
6916
  var noticeFor = /* @__PURE__ */ __name((context, app, severity = "warn") => ({ text, ...attributes }) => {
6917
6917
  if (context.format === "pretty") {
@@ -6944,7 +6944,7 @@ var recordDiagnostics = /* @__PURE__ */ __name((context, app) => {
6944
6944
  return context;
6945
6945
  }, "recordDiagnostics");
6946
6946
 
6947
- // node_modules/.pnpm/@wirecat+cli-core@0.496.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_dcbd09250bc4763d29eff57ceeaf10b7/node_modules/@wirecat/cli-core/dist/cli/messenger/serve-stems.js
6947
+ // 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
6948
6948
  var STEMS_EVERY_MS = 3e4;
6949
6949
  var STEMS_SLICE_MS = 2e3;
6950
6950
  var stemFills = /* @__PURE__ */ __name(({ withStore, warn, everyMs = STEMS_EVERY_MS, sliceMs = STEMS_SLICE_MS }) => {
@@ -6984,7 +6984,7 @@ var stemFills = /* @__PURE__ */ __name(({ withStore, warn, everyMs = STEMS_EVERY
6984
6984
  };
6985
6985
  }, "stemFills");
6986
6986
 
6987
- // node_modules/.pnpm/@wirecat+cli-core@0.496.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_dcbd09250bc4763d29eff57ceeaf10b7/node_modules/@wirecat/cli-core/dist/cli/messenger/message-items.js
6987
+ // 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
6988
6988
  var defined = /* @__PURE__ */ __name((value) => Object.fromEntries(Object.entries(value).filter(([, one]) => one !== void 0)), "defined");
6989
6989
  var attachmentItem = /* @__PURE__ */ __name((attachment) => defined({
6990
6990
  kind: attachment.kind,
@@ -7079,7 +7079,7 @@ var viewOf = /* @__PURE__ */ __name((context, messenger) => ({
7079
7079
  locale: messenger.app.locale
7080
7080
  }), "viewOf");
7081
7081
 
7082
- // node_modules/.pnpm/@wirecat+cli-core@0.496.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_dcbd09250bc4763d29eff57ceeaf10b7/node_modules/@wirecat/cli-core/dist/cli/messenger/watch-answers.js
7082
+ // 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
7083
7083
  var observed = /* @__PURE__ */ __name((value) => ({
7084
7084
  value: value.value,
7085
7085
  observed_at: value.observedAt,
@@ -7146,7 +7146,7 @@ var watchEventItem = /* @__PURE__ */ __name((value, account) => {
7146
7146
  }
7147
7147
  }, "watchEventItem");
7148
7148
 
7149
- // node_modules/.pnpm/@wirecat+cli-core@0.496.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_dcbd09250bc4763d29eff57ceeaf10b7/node_modules/@wirecat/cli-core/dist/cli/messenger/watch-command.js
7149
+ // 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
7150
7150
  var watchCommand = /* @__PURE__ */ __name((messenger) => annotate(new Command("watch"), {
7151
7151
  output: { entity: "watch_item" },
7152
7152
  effects: REMOTE_READ,
@@ -7301,7 +7301,7 @@ var describe = /* @__PURE__ */ __name((event, render) => {
7301
7301
  }
7302
7302
  }, "describe");
7303
7303
 
7304
- // node_modules/.pnpm/@wirecat+cli-core@0.496.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_dcbd09250bc4763d29eff57ceeaf10b7/node_modules/@wirecat/cli-core/dist/cli/messenger/serve-command.js
7304
+ // 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
7305
7305
  var serveCommand = /* @__PURE__ */ __name((messenger) => {
7306
7306
  const command = annotate(new Command("serve"), {
7307
7307
  output: { entity: "serve_summary" },
@@ -7517,7 +7517,7 @@ var tasking = /* @__PURE__ */ __name((context, warn) => {
7517
7517
  };
7518
7518
  }, "tasking");
7519
7519
 
7520
- // node_modules/.pnpm/@wirecat+cli-core@0.496.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_dcbd09250bc4763d29eff57ceeaf10b7/node_modules/@wirecat/cli-core/dist/cli/messenger/store-tables-command.js
7520
+ // 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
7521
7521
  import { existsSync as existsSync6 } from "node:fs";
7522
7522
  var PATH = "store tables list";
7523
7523
  var STORE_TABLES_QUERY = {
@@ -7560,7 +7560,7 @@ var storeTablesCommand = /* @__PURE__ */ __name((messenger) => {
7560
7560
  return tables;
7561
7561
  }, "storeTablesCommand");
7562
7562
 
7563
- // node_modules/.pnpm/@wirecat+cli-core@0.496.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_dcbd09250bc4763d29eff57ceeaf10b7/node_modules/@wirecat/cli-core/dist/cli/messenger/store-maintenance-command.js
7563
+ // 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
7564
7564
  var SEARCH_INDEXES = ["messages_fts", "chats_fts", "identities_fts"];
7565
7565
  var WORD_INDEX = "message_words";
7566
7566
  var schemaOf = /* @__PURE__ */ __name((database) => {