@wirecat/drive-cli 0.49.0 → 0.51.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 (148) hide show
  1. package/dist/bin/drive.js +2 -2
  2. package/dist/bundle/{all-profiles-WK2XXGPU.js → all-profiles-H3APJWSO.js} +8 -8
  3. package/dist/bundle/{anthropic-R354D7GT.js → anthropic-P7DXFYFE.js} +5 -5
  4. package/dist/bundle/{app-server-3YHJ757G.js → app-server-IQUR7ZC2.js} +52 -52
  5. package/dist/bundle/{bun-JVDJVDHL.js → bun-LZUEW2ML.js} +2 -2
  6. package/dist/bundle/{bun-sqlite-KZCZWSRZ.js → bun-sqlite-6LUE7UA6.js} +4 -4
  7. package/dist/bundle/{chunk-NFU3OBCC.js → chunk-2TPENYCK.js} +4 -4
  8. package/dist/bundle/{chunk-SSD2V4HR.js → chunk-35IHF562.js} +280 -259
  9. package/dist/bundle/{chunk-U77RLMOK.js → chunk-3KTDFSSK.js} +2 -2
  10. package/dist/bundle/{chunk-463NMG57.js → chunk-4GFAOETW.js} +3 -3
  11. package/dist/bundle/{chunk-EOZPMJJP.js → chunk-4YG2FZ53.js} +7 -7
  12. package/dist/bundle/{chunk-JMRHDZMV.js → chunk-5C7RKU7O.js} +33 -32
  13. package/dist/bundle/{chunk-75VCGSNB.js → chunk-6FXFYXTR.js} +15 -15
  14. package/dist/bundle/{chunk-QEM3MOSB.js → chunk-7LYVWMKD.js} +8 -8
  15. package/dist/bundle/{chunk-467AQO7E.js → chunk-7ZNM6KXP.js} +7 -7
  16. package/dist/bundle/{chunk-P7INAZIT.js → chunk-AKW5MNQP.js} +5 -5
  17. package/dist/bundle/{chunk-HD3TFIT4.js → chunk-AUW45JPI.js} +6 -6
  18. package/dist/bundle/{chunk-JZ3SUK2M.js → chunk-BMI5VCR4.js} +5 -5
  19. package/dist/bundle/{chunk-22LTNYO2.js → chunk-BVDAP3FQ.js} +9 -9
  20. package/dist/bundle/{chunk-CCLDCM7J.js → chunk-CT6Z6Z64.js} +410 -244
  21. package/dist/bundle/{chunk-ABVFH76X.js → chunk-CX7HQ6KK.js} +5 -5
  22. package/dist/bundle/{chunk-MC77UZVA.js → chunk-D222O57O.js} +6 -6
  23. package/dist/bundle/{chunk-HF2T7E67.js → chunk-D3UFQC7K.js} +49 -49
  24. package/dist/bundle/{chunk-KK3BA4IS.js → chunk-DDD3FS6G.js} +2 -2
  25. package/dist/bundle/{chunk-254VYUWN.js → chunk-DEVPGI27.js} +17 -17
  26. package/dist/bundle/{chunk-BJ3JRO34.js → chunk-EY4CUQW2.js} +7 -7
  27. package/dist/bundle/{chunk-RAAI3JLI.js → chunk-F3PPSIKI.js} +3 -3
  28. package/dist/bundle/{chunk-6Z3W7LTD.js → chunk-FCZ762RV.js} +8 -8
  29. package/dist/bundle/{chunk-Y2AUB4TJ.js → chunk-FV5WG4WU.js} +80 -33
  30. package/dist/bundle/{chunk-R2QRP7EJ.js → chunk-G75FZQAZ.js} +13 -9
  31. package/dist/bundle/{chunk-2BADVV4A.js → chunk-GK2VUKQY.js} +2 -2
  32. package/dist/bundle/{chunk-3UHJC6HH.js → chunk-HBRTKJ3J.js} +7 -7
  33. package/dist/bundle/{chunk-VHT2WI4I.js → chunk-HGWMX7BM.js} +101 -73
  34. package/dist/bundle/{chunk-XVXXWNAA.js → chunk-HYT3FJVB.js} +4 -4
  35. package/dist/bundle/{chunk-HIAO4MPA.js → chunk-I7EP3VPJ.js} +1 -1
  36. package/dist/bundle/{chunk-P4OU3OVF.js → chunk-J2S7QDOP.js} +14 -14
  37. package/dist/bundle/{chunk-FB7I5JWC.js → chunk-JI5KFKTL.js} +6 -6
  38. package/dist/bundle/{chunk-IRDGH7DV.js → chunk-K3EK4MTU.js} +3 -3
  39. package/dist/bundle/{chunk-5KR7BKDV.js → chunk-K6JSVXDN.js} +5 -5
  40. package/dist/bundle/{chunk-5ISHP4TK.js → chunk-LLMHJE5Q.js} +2 -2
  41. package/dist/bundle/{chunk-7BA3HL7N.js → chunk-LZKPT7GY.js} +35 -35
  42. package/dist/bundle/{chunk-CB5NGX6E.js → chunk-MPTD5P53.js} +2 -2
  43. package/dist/bundle/{chunk-MP2UCK3Z.js → chunk-N33EOINW.js} +4 -4
  44. package/dist/bundle/{chunk-KYJYOZYG.js → chunk-NO34DAIB.js} +6 -6
  45. package/dist/bundle/{chunk-PPXNEHYX.js → chunk-NRWDEBJB.js} +8 -8
  46. package/dist/bundle/{chunk-FZQSGLHU.js → chunk-NVHPYKYC.js} +11 -11
  47. package/dist/bundle/{chunk-2ZFR67KY.js → chunk-OASIFIXM.js} +2 -2
  48. package/dist/bundle/{chunk-MFS52LTZ.js → chunk-OKSS7YUN.js} +1 -1
  49. package/dist/bundle/{chunk-HVM5LS5Z.js → chunk-OQVJQSEH.js} +3 -3
  50. package/dist/bundle/{chunk-MAXN7COO.js → chunk-P3T2SZW2.js} +1 -1
  51. package/dist/bundle/{chunk-A3FU4RR6.js → chunk-PNUS224S.js} +4 -4
  52. package/dist/bundle/{chunk-FUJZ5S2Q.js → chunk-POFLDSTX.js} +10 -10
  53. package/dist/bundle/{chunk-R235IRSJ.js → chunk-PQGIV36R.js} +2 -2
  54. package/dist/bundle/{chunk-ZK7Y5K63.js → chunk-PRBPVOW4.js} +1 -1
  55. package/dist/bundle/{chunk-ITZI7T2X.js → chunk-PT6XDCOY.js} +2 -2
  56. package/dist/bundle/{chunk-2CKGGIWF.js → chunk-Q5CLTK5R.js} +3 -3
  57. package/dist/bundle/{chunk-NVHB2MHX.js → chunk-SRIPLP7N.js} +4 -4
  58. package/dist/bundle/{chunk-46X7Z4FD.js → chunk-SRONUWOM.js} +343 -282
  59. package/dist/bundle/{chunk-E2Y6GJZX.js → chunk-SZWQFR5X.js} +4 -4
  60. package/dist/bundle/{chunk-IRNX4CO5.js → chunk-TEH76MZK.js} +27 -27
  61. package/dist/bundle/{chunk-45TPBTR3.js → chunk-TSZJXI4N.js} +21 -21
  62. package/dist/bundle/{chunk-7WEISHFA.js → chunk-TVJU245P.js} +2 -2
  63. package/dist/bundle/{chunk-JMOX454R.js → chunk-U3OS6V6S.js} +1 -1
  64. package/dist/bundle/{chunk-AN7HENGZ.js → chunk-U7DPS46V.js} +108 -96
  65. package/dist/bundle/{chunk-XLJV3ZOH.js → chunk-UM4E2OFL.js} +1 -1
  66. package/dist/bundle/{chunk-DKJGYYCP.js → chunk-UMY4IQE2.js} +46 -46
  67. package/dist/bundle/{chunk-L5RZI2M5.js → chunk-UW7VXKKZ.js} +19 -19
  68. package/dist/bundle/{chunk-4ORK4UAY.js → chunk-VCPS7Q2W.js} +3 -3
  69. package/dist/bundle/{chunk-KKZYZ32J.js → chunk-VH4GVA2N.js} +2 -2
  70. package/dist/bundle/{chunk-IEAZAPC3.js → chunk-WACVI3CS.js} +42 -17
  71. package/dist/bundle/{chunk-LF7ACSTK.js → chunk-WX2NQO2D.js} +1 -1
  72. package/dist/bundle/{chunk-HBYE4EP2.js → chunk-WYWXOIGT.js} +1 -1
  73. package/dist/bundle/{chunk-P4NOTS3U.js → chunk-XBENRRBS.js} +2 -2
  74. package/dist/bundle/{chunk-W5IDHD6C.js → chunk-XCXUP76D.js} +27 -27
  75. package/dist/bundle/{chunk-NXFEZQDL.js → chunk-XE2GEE3E.js} +26 -26
  76. package/dist/bundle/{chunk-BQV3WYXW.js → chunk-XXLTVVMT.js} +31 -21
  77. package/dist/bundle/{chunk-YYMHFXHK.js → chunk-Y4YBW5S4.js} +2 -2
  78. package/dist/bundle/{chunk-VAGF723Z.js → chunk-Y73IZWRI.js} +1 -1
  79. package/dist/bundle/{chunk-624B6G64.js → chunk-YLC4JVQZ.js} +5 -5
  80. package/dist/bundle/{chunk-2DLAJGRN.js → chunk-YOABRW2M.js} +1 -1
  81. package/dist/bundle/{chunk-YOF5BC4G.js → chunk-YVQJPLPU.js} +2 -2
  82. package/dist/bundle/{chunk-EF2RCQ3L.js → chunk-YXHMEFL7.js} +1 -1
  83. package/dist/bundle/{chunk-W5EUHV3J.js → chunk-Z3GWVRW3.js} +1 -1
  84. package/dist/bundle/{chunk-65AW2AEQ.js → chunk-Z6KTSXE3.js} +2 -2
  85. package/dist/bundle/{chunk-HQ2PGEOK.js → chunk-ZKAAFY4C.js} +11 -11
  86. package/dist/bundle/command-contract-R6CGYG7L.js +38 -0
  87. package/dist/bundle/{decode-BE3VDYTJ.js → decode-4EENADOV.js} +4 -4
  88. package/dist/bundle/drive.js +7 -7
  89. package/dist/bundle/{echarts-4OQHS575.js → echarts-ZFC37XW7.js} +2 -2
  90. package/dist/bundle/{embed-QR76SJDI.js → embed-UZMNP26C.js} +5 -5
  91. package/dist/bundle/{embedder-EMIDKBYV.js → embedder-7VDWDBKF.js} +8 -8
  92. package/dist/bundle/{entry-FE4REJDO.js → entry-JJKCHVIK.js} +6 -6
  93. package/dist/bundle/failure-VBQBKCD5.js +37 -0
  94. package/dist/bundle/{first-run-ALPI62PX.js → first-run-FJTEUJBF.js} +9 -9
  95. package/dist/bundle/first-screen-NSPQWNMQ.js +36 -0
  96. package/dist/bundle/{google-NV75VSCD.js → google-JBJASYKY.js} +9 -9
  97. package/dist/bundle/google-api-2FKF4UUN.js +82 -0
  98. package/dist/bundle/{identity-NZ7SP6OL.js → identity-XE73ALJH.js} +2 -2
  99. package/dist/bundle/{instructions-3QZBKKPF.js → instructions-Q4ASITKO.js} +1 -1
  100. package/dist/bundle/{login-KNBM6XUX.js → login-BD2WQT5F.js} +62 -62
  101. package/dist/bundle/{mcp-XY2FGGUM.js → mcp-G6U2Q63E.js} +76 -76
  102. package/dist/bundle/mcp-H3XD47NW.js +95 -0
  103. package/dist/bundle/{mcp-OQBZXELQ.js → mcp-ZYZ4DFW2.js} +2 -2
  104. package/dist/bundle/{node-R2BLYUSB.js → node-CYM7VXFR.js} +2 -2
  105. package/dist/bundle/{node-sqlite-PMRVP442.js → node-sqlite-RK4MHW57.js} +4 -4
  106. package/dist/bundle/{oauth-NM2AKRRT.js → oauth-CQXQRHJR.js} +6 -6
  107. package/dist/bundle/{open-XZH5ZNDA.js → open-WSE4NBD2.js} +3 -3
  108. package/dist/bundle/{process-IX5YWGDP.js → process-7HHZZZLA.js} +1 -1
  109. package/dist/bundle/{program-MDWQHGBY.js → program-ZMQYZNV5.js} +95 -88
  110. package/dist/bundle/{prompt-5K6XGWSK.js → prompt-YSBBQJGF.js} +4 -4
  111. package/dist/bundle/{reasons-GF2TYGX6.js → reasons-366PI7OV.js} +3 -3
  112. package/dist/bundle/{recognize-U7GDD6T2.js → recognize-AZKGPCAS.js} +3 -3
  113. package/dist/bundle/{remote-ZWXOGNQX.js → remote-EYSK3XKD.js} +6 -6
  114. package/dist/bundle/{rerank-YRQBCS63.js → rerank-LOW6VIDF.js} +6 -6
  115. package/dist/bundle/{serve-6PQ7K5RK.js → serve-UJ52HGA7.js} +8 -8
  116. package/dist/bundle/server-CA2VLY25.js +56 -0
  117. package/dist/bundle/server-TW75RDEP.js +69 -0
  118. package/dist/bundle/{services-QBIQX236.js → services-B4QUSCFN.js} +28 -28
  119. package/dist/bundle/{sqlite-runtime-7Q5UD2VR.js → sqlite-runtime-GEURBVK5.js} +4 -4
  120. package/dist/bundle/{state-U72TC26L.js → state-OJNSKOXO.js} +5 -5
  121. package/dist/bundle/{store-B4RAJ63G.js → store-62SBP45X.js} +14 -14
  122. package/dist/bundle/{store-FYABCSIH.js → store-FTS2HVVB.js} +16 -16
  123. package/dist/bundle/store-maintenance-command-FQMB3R4E.js +57 -0
  124. package/dist/bundle/tokens-JALZUGEM.js +103 -0
  125. package/dist/commands/search.js +1 -1
  126. package/dist/commands/search.js.map +1 -1
  127. package/dist/commands/session.d.ts.map +1 -1
  128. package/dist/commands/session.js +10 -2
  129. package/dist/commands/session.js.map +1 -1
  130. package/dist/contract-overrides.js +1 -1
  131. package/dist/contract-overrides.js.map +1 -1
  132. package/dist/tokens.d.ts.map +1 -1
  133. package/dist/tokens.js +2 -2
  134. package/dist/tokens.js.map +1 -1
  135. package/dist/version.d.ts +1 -1
  136. package/dist/version.js +1 -1
  137. package/package.json +3 -3
  138. package/dist/bundle/command-contract-AEA45IX7.js +0 -38
  139. package/dist/bundle/failure-GYOTW6NN.js +0 -37
  140. package/dist/bundle/first-screen-JLS57PIT.js +0 -36
  141. package/dist/bundle/google-api-6623OUF2.js +0 -82
  142. package/dist/bundle/mcp-4NPK6BM3.js +0 -95
  143. package/dist/bundle/server-O7SS6NAY.js +0 -56
  144. package/dist/bundle/server-WT57TF6S.js +0 -69
  145. package/dist/bundle/store-maintenance-command-DAF5NI3T.js +0 -57
  146. package/dist/bundle/tokens-DISQJKDM.js +0 -103
  147. /package/dist/bundle/{chunk-O5EHUB2V.js → chunk-2WNDZFGG.js} +0 -0
  148. /package/dist/bundle/{chunk-YLBNPI7H.js → chunk-UO5O3665.js} +0 -0
@@ -2,15 +2,15 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  wirecatDirectory
5
- } from "./chunk-65AW2AEQ.js";
5
+ } from "./chunk-Z6KTSXE3.js";
6
6
  import {
7
7
  CliError
8
- } from "./chunk-BJ3JRO34.js";
8
+ } from "./chunk-EY4CUQW2.js";
9
9
  import {
10
10
  __name
11
11
  } from "./chunk-ZVVMGPBJ.js";
12
12
 
13
- // node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/speech/install.js
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/speech/install.js
14
14
  import { createHash, randomUUID } from "node:crypto";
15
15
  import { createReadStream, createWriteStream, mkdirSync, statSync } from "node:fs";
16
16
  import { rename, rm } from "node:fs/promises";
@@ -18,7 +18,7 @@ import { dirname, join } from "node:path";
18
18
  import { Readable, Transform } from "node:stream";
19
19
  import { pipeline } from "node:stream/promises";
20
20
 
21
- // node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/speech/models.js
21
+ // 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/speech/models.js
22
22
  var huggingFace = /* @__PURE__ */ __name((repository, commit) => (name) => `https://huggingface.co/csukuangfj/${repository}/resolve/${commit}/${name}`, "huggingFace");
23
23
  var gigaam = huggingFace("sherpa-onnx-nemo-transducer-punct-giga-am-v3-russian-2025-12-16", "a6039be7cee829a9044a69ac0ebaf1c191217c97");
24
24
  var gigaamCtc = huggingFace("sherpa-onnx-nemo-ctc-punct-giga-am-v3-russian-2025-12-16", "4fb5407ff028a69fec516cdf4c10fac9ddea7c16");
@@ -142,7 +142,7 @@ var speechModel = /* @__PURE__ */ __name((id) => {
142
142
  return model;
143
143
  }, "speechModel");
144
144
 
145
- // node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/speech/install.js
145
+ // 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/speech/install.js
146
146
  var sharedModelsDirectory = /* @__PURE__ */ __name((kind, env = process.env) => join(wirecatDirectory(env), "models", kind), "sharedModelsDirectory");
147
147
  var modelsDirectory = /* @__PURE__ */ __name((env = process.env) => sharedModelsDirectory("audio", env), "modelsDirectory");
148
148
  var STALL_MS = 6e4;
@@ -2,13 +2,13 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  failureContext
5
- } from "./chunk-IRDGH7DV.js";
5
+ } from "./chunk-K3EK4MTU.js";
6
6
  import {
7
7
  VERSION
8
- } from "./chunk-JMOX454R.js";
8
+ } from "./chunk-U3OS6V6S.js";
9
9
  import {
10
10
  REASONS
11
- } from "./chunk-MAXN7COO.js";
11
+ } from "./chunk-P3T2SZW2.js";
12
12
  import {
13
13
  interactiveOf,
14
14
  optionsOf
@@ -16,18 +16,18 @@ import {
16
16
  import {
17
17
  CommanderError,
18
18
  metaOf
19
- } from "./chunk-22LTNYO2.js";
19
+ } from "./chunk-BVDAP3FQ.js";
20
20
  import {
21
21
  errorObjectOf,
22
22
  errorRecordOf,
23
23
  exitCodeOfError,
24
24
  mcpErrorResult,
25
25
  renderError
26
- } from "./chunk-VHT2WI4I.js";
26
+ } from "./chunk-HGWMX7BM.js";
27
27
  import {
28
28
  CliError,
29
29
  defineSteps
30
- } from "./chunk-BJ3JRO34.js";
30
+ } from "./chunk-EY4CUQW2.js";
31
31
  import {
32
32
  __name
33
33
  } from "./chunk-ZVVMGPBJ.js";
@@ -3,7 +3,7 @@ const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  answerOf,
5
5
  messengerContext
6
- } from "./chunk-W5IDHD6C.js";
6
+ } from "./chunk-XCXUP76D.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-L5RZI2M5.js";
15
+ } from "./chunk-UW7VXKKZ.js";
16
16
  import {
17
17
  renderMessages
18
- } from "./chunk-2ZFR67KY.js";
18
+ } from "./chunk-OASIFIXM.js";
19
19
  import {
20
20
  holdLock,
21
21
  lockPath,
22
22
  releaseLock,
23
23
  servingProfiles,
24
24
  takeLock
25
- } from "./chunk-463NMG57.js";
25
+ } from "./chunk-4GFAOETW.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-CCLDCM7J.js";
35
+ } from "./chunk-CT6Z6Z64.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-JMRHDZMV.js";
57
+ } from "./chunk-5C7RKU7O.js";
58
58
  import {
59
59
  Command,
60
60
  annotate
61
- } from "./chunk-22LTNYO2.js";
61
+ } from "./chunk-BVDAP3FQ.js";
62
62
  import {
63
63
  holdersOf
64
- } from "./chunk-W5EUHV3J.js";
64
+ } from "./chunk-Z3GWVRW3.js";
65
65
  import {
66
66
  codeOf,
67
67
  currentRun
68
- } from "./chunk-BQV3WYXW.js";
68
+ } from "./chunk-XXLTVVMT.js";
69
69
  import {
70
70
  failureKey
71
- } from "./chunk-5ISHP4TK.js";
71
+ } from "./chunk-LLMHJE5Q.js";
72
72
  import {
73
73
  levelFor
74
- } from "./chunk-YYMHFXHK.js";
74
+ } from "./chunk-Y4YBW5S4.js";
75
75
  import {
76
76
  envName
77
- } from "./chunk-KK3BA4IS.js";
77
+ } from "./chunk-DDD3FS6G.js";
78
78
  import {
79
79
  readSecret
80
- } from "./chunk-4ORK4UAY.js";
80
+ } from "./chunk-VCPS7Q2W.js";
81
81
  import {
82
82
  checkedOptions,
83
83
  range
84
- } from "./chunk-ITZI7T2X.js";
84
+ } from "./chunk-PT6XDCOY.js";
85
85
  import {
86
86
  messagesFor,
87
87
  systemFor,
88
88
  validateImages
89
- } from "./chunk-R235IRSJ.js";
89
+ } from "./chunk-PQGIV36R.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-46X7Z4FD.js";
116
+ } from "./chunk-SRONUWOM.js";
117
117
  import {
118
118
  formatLocator,
119
119
  parseLocator
120
- } from "./chunk-467AQO7E.js";
120
+ } from "./chunk-7ZNM6KXP.js";
121
121
  import {
122
122
  queryFieldsOf
123
- } from "./chunk-R2QRP7EJ.js";
123
+ } from "./chunk-G75FZQAZ.js";
124
124
  import {
125
125
  storePath
126
- } from "./chunk-65AW2AEQ.js";
126
+ } from "./chunk-Z6KTSXE3.js";
127
127
  import {
128
128
  openCache
129
- } from "./chunk-KYJYOZYG.js";
129
+ } from "./chunk-NO34DAIB.js";
130
130
  import {
131
131
  Credentials,
132
132
  pathsAreOverridden,
133
133
  resolvePaths,
134
134
  writeSecurely
135
- } from "./chunk-VHT2WI4I.js";
135
+ } from "./chunk-HGWMX7BM.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-BJ3JRO34.js";
160
+ } from "./chunk-EY4CUQW2.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.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/cli/messenger/store-maintenance-command.js
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
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.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/sealed.js
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
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.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/store/compatibility.js
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
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.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/store/repair.js
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
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.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/cli/store-info.js
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
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.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/cli/messenger/password.js
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
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.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/replies/rules.js
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
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.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/replies/state.js
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
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.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/replies/decide.js
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
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.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/replies/template.js
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
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.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/replies/dry-run.js
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
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.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/embeddings/keys.js
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
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.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/models/openai.js
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
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.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/models/index.js
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
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-R354D7GT.js")).anthropic;
6654
+ adapter = (await import("./anthropic-P7DXFYFE.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.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/replies/consents.js
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
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.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/replies/rendering.js
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
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.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/replies/serve.js
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
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.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/cli/messenger/serve-members.js
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
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.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/cli/messenger/serve-notice.js
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
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.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/cli/messenger/serve-stems.js
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
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.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/cli/messenger/message-items.js
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
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.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/cli/messenger/watch-answers.js
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
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.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/cli/messenger/watch-command.js
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
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.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/cli/messenger/serve-command.js
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
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.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/cli/messenger/store-tables-command.js
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
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.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/cli/messenger/store-maintenance-command.js
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
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) => {
@@ -2,12 +2,12 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  CliError
5
- } from "./chunk-BJ3JRO34.js";
5
+ } from "./chunk-EY4CUQW2.js";
6
6
  import {
7
7
  __name
8
8
  } from "./chunk-ZVVMGPBJ.js";
9
9
 
10
- // node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/ports/app.js
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/ports/app.js
11
11
  var envName = /* @__PURE__ */ __name((app, name) => `${app.envPrefix}_${name}`, "envName");
12
12
  var readOnlyLockOf = /* @__PURE__ */ __name((app, env) => {
13
13
  const name = envName(app, "READ_ONLY");
@@ -4,7 +4,7 @@ import {
4
4
  organization,
5
5
  project,
6
6
  reminder
7
- } from "./chunk-E2Y6GJZX.js";
7
+ } from "./chunk-SZWQFR5X.js";
8
8
  import {
9
9
  MIGRATIONS,
10
10
  SnapshotBudget,
@@ -28,31 +28,31 @@ import {
28
28
  tagMemberIds,
29
29
  thingOf,
30
30
  write
31
- } from "./chunk-46X7Z4FD.js";
31
+ } from "./chunk-SRONUWOM.js";
32
32
  import {
33
33
  filesAccountSql,
34
34
  folderProviderOf,
35
35
  folderProviderSql,
36
36
  isDocumentAccountProvider
37
- } from "./chunk-467AQO7E.js";
37
+ } from "./chunk-7ZNM6KXP.js";
38
38
  import {
39
39
  queryFieldsOf
40
- } from "./chunk-R2QRP7EJ.js";
40
+ } from "./chunk-G75FZQAZ.js";
41
41
  import {
42
42
  fold
43
- } from "./chunk-6Z3W7LTD.js";
43
+ } from "./chunk-FCZ762RV.js";
44
44
  import {
45
45
  CliError
46
- } from "./chunk-BJ3JRO34.js";
46
+ } from "./chunk-EY4CUQW2.js";
47
47
  import {
48
48
  __name
49
49
  } from "./chunk-ZVVMGPBJ.js";
50
50
 
51
- // node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/store/document-transfer/index.js
51
+ // 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/document-transfer/index.js
52
52
  import { realpathSync, statSync } from "node:fs";
53
53
  import { resolve } from "node:path";
54
54
 
55
- // node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/store/sqlite/document-transfer/people.js
55
+ // 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/document-transfer/people.js
56
56
  var planPeople = /* @__PURE__ */ __name((database, snapshot, mappings, bindings, conflicts) => {
57
57
  const creatable = /* @__PURE__ */ new Set();
58
58
  let people = 0, identities = 0;
@@ -115,11 +115,11 @@ var copyPeople = /* @__PURE__ */ __name((database, snapshot, mappings, now) => {
115
115
  }
116
116
  }, "copyPeople");
117
117
 
118
- // node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/store/document-transfer/digest.js
118
+ // 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/document-transfer/digest.js
119
119
  import { createHash } from "node:crypto";
120
120
  var digest = /* @__PURE__ */ __name((value) => createHash("sha256").update(JSON.stringify(value)).digest("hex"), "digest");
121
121
 
122
- // node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/store/sqlite/document-transfer/collection.js
122
+ // 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/document-transfer/collection.js
123
123
  var documentsKeyOf = /* @__PURE__ */ __name((collection) => {
124
124
  const colon = collection.indexOf(":");
125
125
  const provider = collection.slice(0, colon);
@@ -163,7 +163,7 @@ var currentCollection = /* @__PURE__ */ __name((row) => {
163
163
  };
164
164
  }, "currentCollection");
165
165
 
166
- // node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/store/sqlite/document-transfer/plan.js
166
+ // 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/document-transfer/plan.js
167
167
  var planTransfer = /* @__PURE__ */ __name((database, snapshot, sourceKey, bindings) => {
168
168
  const mappings = /* @__PURE__ */ new Map();
169
169
  const missing = /* @__PURE__ */ new Set(), conflicts = /* @__PURE__ */ new Set();
@@ -330,7 +330,7 @@ var planTransfer = /* @__PURE__ */ __name((database, snapshot, sourceKey, bindin
330
330
  };
331
331
  }, "planTransfer");
332
332
 
333
- // node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/store/sqlite/document-transfer/snapshot.js
333
+ // 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/document-transfer/snapshot.js
334
334
  var TRANSFER_TABLES = { document: "documents", note: "notes", memory: "memories", fact: "facts" };
335
335
  var MAX_ENTITIES = 1e3;
336
336
  var MAX_AUXILIARY = 1e4;
@@ -492,7 +492,7 @@ var transferSnapshot = /* @__PURE__ */ __name((database, collection) => read(dat
492
492
  };
493
493
  }), "transferSnapshot");
494
494
 
495
- // node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/store/sqlite/document-transfer/apply.js
495
+ // 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/document-transfer/apply.js
496
496
  var providerHere = /* @__PURE__ */ __name(({ provider, name, settings }) => {
497
497
  if (provider !== "folder" || String(name ?? "").startsWith("google-drive:"))
498
498
  return provider ?? null;
@@ -664,7 +664,7 @@ var remapEntity = /* @__PURE__ */ __name((database, entity, id, mappings) => {
664
664
  database.prepare(`UPDATE ${TRANSFER_TABLES[entity.kind]} SET ${columns.join(",")} WHERE id=?`).run(...values, id);
665
665
  }, "remapEntity");
666
666
 
667
- // node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/store/document-transfer/index.js
667
+ // 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/document-transfer/index.js
668
668
  var locations = /* @__PURE__ */ __name((options) => {
669
669
  for (const value of [options.source, options.destination, options.collection])
670
670
  if (typeof value !== "string" || !value.trim())
@@ -760,7 +760,7 @@ var applyDocumentTransfer = /* @__PURE__ */ __name(async (options) => {
760
760
  }
761
761
  }, "applyDocumentTransfer");
762
762
 
763
- // node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/store/knowledge-query.js
763
+ // 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/knowledge-query.js
764
764
  var ORGANIZATIONS_QUERY = {
765
765
  entity: "organization",
766
766
  backend: "sql",
@@ -795,7 +795,7 @@ var REMINDERS_QUERY = {
795
795
  })
796
796
  };
797
797
 
798
- // node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/store/project-transfer/preview.js
798
+ // 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/project-transfer/preview.js
799
799
  var previewProjectAnnotationSnapshot = /* @__PURE__ */ __name(async (options) => {
800
800
  if (!options || typeof options !== "object" || Array.isArray(options))
801
801
  throw new CliError("validation_error", "project preview options are required");
@@ -817,7 +817,7 @@ var previewProjectAnnotationSnapshot = /* @__PURE__ */ __name(async (options) =>
817
817
  }
818
818
  }, "previewProjectAnnotationSnapshot");
819
819
 
820
- // node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/store/project-transfer/snapshot.js
820
+ // 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/project-transfer/snapshot.js
821
821
  var snapshotProjectAnnotations = /* @__PURE__ */ __name(async (options) => {
822
822
  if (!options || typeof options !== "object" || Array.isArray(options))
823
823
  throw new CliError("validation_error", "snapshot options are required");