@wirecat/drive-cli 0.58.0 → 0.59.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 (163) hide show
  1. package/dist/bin/drive.js +6 -2
  2. package/dist/bundle/{all-profiles-ANDWOJDL.js → all-profiles-CVISDGMF.js} +14 -13
  3. package/dist/bundle/{anthropic-EZPZUWGS.js → anthropic-WLNQC23G.js} +9 -9
  4. package/dist/bundle/{app-server-67WL423B.js → app-server-P2VOONXF.js} +53 -51
  5. package/dist/bundle/{bun-NIIYUR5F.js → bun-CDFBNTKV.js} +2 -2
  6. package/dist/bundle/{bun-sqlite-A5ZKTIYC.js → bun-sqlite-MNZICITP.js} +8 -8
  7. package/dist/bundle/{chunk-NYINLKWT.js → chunk-2AXA5SKP.js} +1 -1
  8. package/dist/bundle/{chunk-EFEI724Z.js → chunk-36B7AIGP.js} +1 -1
  9. package/dist/bundle/{chunk-4GZLX2ME.js → chunk-3KJTJDDT.js} +40 -33
  10. package/dist/bundle/{chunk-4UU4ONKY.js → chunk-3KNZADHJ.js} +5086 -640
  11. package/dist/bundle/{chunk-O3K46QRL.js → chunk-3U22QTU6.js} +8 -6
  12. package/dist/bundle/chunk-3VSUT6BD.js +35 -0
  13. package/dist/bundle/{chunk-U2RSVKR5.js → chunk-5C7K6XIT.js} +1 -1
  14. package/dist/bundle/{chunk-JEMKSWVI.js → chunk-6C6255U6.js} +12 -12
  15. package/dist/bundle/{chunk-UBZ2LH7N.js → chunk-6CQO2FIN.js} +1403 -581
  16. package/dist/bundle/{chunk-4EEOJ54H.js → chunk-7QTVIZII.js} +5400 -2996
  17. package/dist/bundle/{chunk-TCJRJ3TE.js → chunk-A6EG7ZDS.js} +13 -13
  18. package/dist/bundle/{chunk-SPVPKHBQ.js → chunk-A6SLYOP2.js} +35 -30
  19. package/dist/bundle/{chunk-TIXIB32T.js → chunk-AD62XJKO.js} +153 -101
  20. package/dist/bundle/{chunk-GDRO4YMH.js → chunk-B5GBJ35N.js} +4 -4
  21. package/dist/bundle/{chunk-LSSIVBQI.js → chunk-BSGOM3BD.js} +1 -1
  22. package/dist/bundle/{chunk-ALTG7BZQ.js → chunk-CBM2XAEZ.js} +19 -19
  23. package/dist/bundle/{chunk-2TASMYGM.js → chunk-DI5Z4SH5.js} +3 -3
  24. package/dist/bundle/{chunk-ITD7WI23.js → chunk-EBLA7GXY.js} +1 -1
  25. package/dist/bundle/{chunk-P5MCZ635.js → chunk-EHEZSV6I.js} +11 -88
  26. package/dist/bundle/{chunk-QVIJMV22.js → chunk-EORMZCVF.js} +3 -3
  27. package/dist/bundle/{chunk-OZEJA67C.js → chunk-EVETU3TF.js} +8 -8
  28. package/dist/bundle/{chunk-7YUZAEBG.js → chunk-F3FOL42A.js} +2 -2
  29. package/dist/bundle/{chunk-AFZ33AC7.js → chunk-FICVPYE4.js} +179 -50
  30. package/dist/bundle/{chunk-6THTUYPT.js → chunk-FVQCM7IQ.js} +1 -1
  31. package/dist/bundle/{chunk-TNX77VPM.js → chunk-GI5JBGXH.js} +4589 -1510
  32. package/dist/bundle/{chunk-7VFD3UJQ.js → chunk-GJ4ZCIOP.js} +3 -3
  33. package/dist/bundle/{chunk-7AL57FCK.js → chunk-GT5KTGCN.js} +4 -4
  34. package/dist/bundle/{chunk-BAEIAQWH.js → chunk-H2BKXPBL.js} +2 -2
  35. package/dist/bundle/chunk-HIOJRPCT.js +93 -0
  36. package/dist/bundle/{chunk-ASPIEEXN.js → chunk-HIP43OGZ.js} +1 -1
  37. package/dist/bundle/{chunk-UMJLXAJI.js → chunk-HMZAMHKN.js} +2 -2
  38. package/dist/bundle/{chunk-ESF2B22R.js → chunk-HWLLVLAB.js} +10 -10
  39. package/dist/bundle/{chunk-X5XWUQNU.js → chunk-IADOBOKB.js} +2 -2
  40. package/dist/bundle/{chunk-4ICWGMHN.js → chunk-IBZ3IBO4.js} +7 -7
  41. package/dist/bundle/{chunk-MBNKNWOG.js → chunk-IGF6EXBR.js} +35 -34
  42. package/dist/bundle/{chunk-I4VUHZSD.js → chunk-II7LST64.js} +3 -3
  43. package/dist/bundle/{chunk-Z5GDNCTJ.js → chunk-IIP43FQJ.js} +2 -2
  44. package/dist/bundle/{chunk-UTDL7MKT.js → chunk-JSDVK3JA.js} +2 -2
  45. package/dist/bundle/{chunk-X4F3M6L6.js → chunk-JW2CVCUH.js} +4 -4
  46. package/dist/bundle/{chunk-IBJOO5FG.js → chunk-K4LXGZTE.js} +16 -16
  47. package/dist/bundle/{chunk-WICYDOVL.js → chunk-KFZUODXB.js} +70 -18
  48. package/dist/bundle/chunk-KPRGTTJH.js +34 -0
  49. package/dist/bundle/{chunk-SWFA36F3.js → chunk-L5SE2XZP.js} +20 -14
  50. package/dist/bundle/{chunk-OOR6PEHV.js → chunk-LJ7E4HLQ.js} +1 -1
  51. package/dist/bundle/{chunk-34XHR5FL.js → chunk-LPHMAQJQ.js} +16 -16
  52. package/dist/bundle/{chunk-6SARLV3Z.js → chunk-M6I2SQN7.js} +4 -4
  53. package/dist/bundle/{chunk-OG5ERX4S.js → chunk-MEAPA4EZ.js} +2 -2
  54. package/dist/bundle/{chunk-IH4UCM5K.js → chunk-MKCNUI72.js} +2 -2
  55. package/dist/bundle/{chunk-XQMMB6ST.js → chunk-MUUHUHWC.js} +2 -1
  56. package/dist/bundle/{chunk-NKL5XXOM.js → chunk-OKXSTWKW.js} +8 -8
  57. package/dist/bundle/{chunk-BKM2CGG2.js → chunk-OMMEQJOB.js} +3 -3
  58. package/dist/bundle/{chunk-EFX6FIDM.js → chunk-OZH4ALTI.js} +1 -1
  59. package/dist/bundle/{chunk-TMW526H3.js → chunk-P3ZTW2ZM.js} +5 -5
  60. package/dist/bundle/{chunk-FD7A6745.js → chunk-P7WPYKSB.js} +4 -4
  61. package/dist/bundle/{chunk-OUQVZTF5.js → chunk-PAEVBAM3.js} +7 -42
  62. package/dist/bundle/{chunk-W6KMNO3C.js → chunk-PGKIOSN3.js} +6 -6
  63. package/dist/bundle/{chunk-KCBHOYNZ.js → chunk-QTM7USFA.js} +8 -13
  64. package/dist/bundle/{chunk-IXXQZCNK.js → chunk-TFH5X46A.js} +32 -19
  65. package/dist/bundle/{chunk-YHRJUZ3O.js → chunk-TI55J3BA.js} +6 -4
  66. package/dist/bundle/{chunk-J36Z6BDZ.js → chunk-TJXPJ3A5.js} +570 -366
  67. package/dist/bundle/{chunk-RRHC5SBB.js → chunk-UQPKAY6I.js} +2 -2
  68. package/dist/bundle/{chunk-A4DHPOFQ.js → chunk-UWVNRPT7.js} +53 -39
  69. package/dist/bundle/{chunk-3RG27IWA.js → chunk-V36RIXFA.js} +5 -5
  70. package/dist/bundle/{chunk-3GXNODTB.js → chunk-V42KAPU3.js} +4 -4
  71. package/dist/bundle/{chunk-D72FL3L3.js → chunk-VT6GZAF4.js} +35 -35
  72. package/dist/bundle/{chunk-VXI67T7U.js → chunk-VVCZS42A.js} +1 -1
  73. package/dist/bundle/{chunk-A7FMNTCK.js → chunk-W62CON5K.js} +4 -4
  74. package/dist/bundle/{chunk-PYPLD7JO.js → chunk-XCOCPXCM.js} +2 -2
  75. package/dist/bundle/{chunk-BLJVCJZU.js → chunk-YADXWQHV.js} +26 -26
  76. package/dist/bundle/{chunk-AL7MY7MW.js → chunk-YU3PTU3D.js} +1 -1
  77. package/dist/bundle/{chunk-5NPFHWLP.js → chunk-YV4ABH6J.js} +5 -5
  78. package/dist/bundle/{chunk-ED5JNYN5.js → chunk-ZSMCJKGP.js} +27 -26
  79. package/dist/bundle/{chunk-JZ67M3HR.js → chunk-ZYCLPJ7U.js} +1 -1
  80. package/dist/bundle/command-contract-LQDNHZJU.js +39 -0
  81. package/dist/bundle/{decode-2R6DTGRX.js → decode-XTOMXMGN.js} +8 -8
  82. package/dist/bundle/{dispatch-DEXAEMIN.js → dispatch-T6TW2JJB.js} +9 -9
  83. package/dist/bundle/drive.js +11 -11
  84. package/dist/bundle/{echarts-CLB22SZS.js → echarts-RKKIOYVV.js} +2 -2
  85. package/dist/bundle/{embed-RJJWOLKN.js → embed-STHKKA6G.js} +9 -9
  86. package/dist/bundle/{embedder-DWYS5JYJ.js → embedder-3XZEWHRO.js} +12 -12
  87. package/dist/bundle/entry-CNOYSSSD.js +22 -0
  88. package/dist/bundle/{failure-GBZ4L5QO.js → failure-DNQYXP2T.js} +4 -4
  89. package/dist/bundle/first-run-F2SI24PK.js +30 -0
  90. package/dist/bundle/first-screen-TYYF6VXY.js +37 -0
  91. package/dist/bundle/{google-L776ETP4.js → google-BYNSAIQI.js} +13 -13
  92. package/dist/bundle/{google-api-AI5ZJJ2M.js → google-api-4VTZH7OP.js} +57 -56
  93. package/dist/bundle/grants-EUQXSICG.js +105 -0
  94. package/dist/bundle/{identity-MDLWK2TX.js → identity-ARDPFYV5.js} +6 -6
  95. package/dist/bundle/{instructions-BXZZNAMS.js → instructions-N3OH5X2Y.js} +1 -1
  96. package/dist/bundle/{login-6HHQLRHY.js → login-4VQEC7VI.js} +63 -62
  97. package/dist/bundle/{mcp-ZZUYI44D.js → mcp-WBHKX5E3.js} +2 -2
  98. package/dist/bundle/{node-R6ZNQ3NT.js → node-YU5JBNAA.js} +2 -2
  99. package/dist/bundle/{node-sqlite-AVNHGMVL.js → node-sqlite-3C6PSBIW.js} +14 -8
  100. package/dist/bundle/oauth-D6NJFPYU.js +22 -0
  101. package/dist/bundle/{open-BXPLXJC2.js → open-M2V2VYXO.js} +8 -7
  102. package/dist/bundle/{openai-CRO5GDBY.js → openai-ST2IWNUX.js} +17 -17
  103. package/dist/bundle/{process-P36JP33R.js → process-PYNNBBTV.js} +1 -1
  104. package/dist/bundle/{program-4DWVWSGQ.js → program-Q4VWV2MR.js} +132 -94
  105. package/dist/bundle/prompt-MFIOJMAF.js +17 -0
  106. package/dist/bundle/{reasons-IHPNUP5W.js → reasons-LOQ5J73F.js} +5 -5
  107. package/dist/bundle/{recognize-NAISVA56.js → recognize-FBLMWXNE.js} +7 -7
  108. package/dist/bundle/{remote-KCUHG5HV.js → remote-XC3OXE4T.js} +10 -10
  109. package/dist/bundle/{rerank-Q3POCDSK.js → rerank-2XMKKF4S.js} +10 -10
  110. package/dist/bundle/{serve-5CUOYLSG.js → serve-Q2BQHNZB.js} +14 -13
  111. package/dist/bundle/{server-FXW3GARV.js → server-42HPV3AH.js} +44 -43
  112. package/dist/bundle/server-EWZYN323.js +70 -0
  113. package/dist/bundle/{services-PEYBXZ3R.js → services-WU22S2MU.js} +99 -31
  114. package/dist/bundle/{sqlite-runtime-YMPWN5PM.js → sqlite-runtime-CSO6K6B2.js} +9 -8
  115. package/dist/bundle/{start-PFWEF44R.js → start-TZWKM4AH.js} +7 -7
  116. package/dist/bundle/{state-5TQ7IOJH.js → state-FLUT7U7R.js} +9 -9
  117. package/dist/bundle/{store-E2VWY4O6.js → store-HDWMJ44E.js} +42 -21
  118. package/dist/bundle/{store-P4OYYFW5.js → store-TG6622NG.js} +20 -16
  119. package/dist/bundle/store-maintenance-command-RHWRUREJ.js +60 -0
  120. package/dist/bundle/tokens-TXYURU4S.js +103 -0
  121. package/dist/commands/documents.d.ts +1 -0
  122. package/dist/commands/documents.d.ts.map +1 -1
  123. package/dist/commands/documents.js +14 -1
  124. package/dist/commands/documents.js.map +1 -1
  125. package/dist/commands/knowledge.d.ts +4 -0
  126. package/dist/commands/knowledge.d.ts.map +1 -1
  127. package/dist/commands/knowledge.js +8 -7
  128. package/dist/commands/knowledge.js.map +1 -1
  129. package/dist/contract-overrides.js +5 -5
  130. package/dist/contract-overrides.js.map +1 -1
  131. package/dist/knowledge-query.d.ts +2 -0
  132. package/dist/knowledge-query.d.ts.map +1 -1
  133. package/dist/program.d.ts.map +1 -1
  134. package/dist/program.js +8 -3
  135. package/dist/program.js.map +1 -1
  136. package/dist/provider-json.d.ts +2 -0
  137. package/dist/provider-json.d.ts.map +1 -1
  138. package/dist/provider-json.js +13 -0
  139. package/dist/provider-json.js.map +1 -1
  140. package/dist/reasons.d.ts.map +1 -1
  141. package/dist/reasons.js +1 -0
  142. package/dist/reasons.js.map +1 -1
  143. package/dist/store.d.ts +2 -0
  144. package/dist/store.d.ts.map +1 -1
  145. package/dist/store.js +9 -0
  146. package/dist/store.js.map +1 -1
  147. package/dist/version.d.ts +1 -1
  148. package/dist/version.js +1 -1
  149. package/package.json +3 -3
  150. package/skills/drive-cli/SKILL.md +2 -1
  151. package/dist/bundle/chunk-7VUHY5LP.js +0 -18
  152. package/dist/bundle/chunk-Y6M2G7JK.js +0 -3609
  153. package/dist/bundle/command-contract-ZCXFT764.js +0 -39
  154. package/dist/bundle/entry-E6H7IUPV.js +0 -21
  155. package/dist/bundle/first-run-DI2JIG44.js +0 -30
  156. package/dist/bundle/first-screen-X5N4TCKD.js +0 -37
  157. package/dist/bundle/grants-HKGYAWL6.js +0 -104
  158. package/dist/bundle/oauth-UVU52X57.js +0 -22
  159. package/dist/bundle/prompt-AFWVGRDG.js +0 -17
  160. package/dist/bundle/server-FTLPSLRU.js +0 -69
  161. package/dist/bundle/store-maintenance-command-MWVERNK7.js +0 -58
  162. package/dist/bundle/tokens-OVG4CJO4.js +0 -102
  163. /package/dist/bundle/{chunk-HPXYN7F3.js → chunk-LK2E2ELG.js} +0 -0
@@ -3,28 +3,28 @@ const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  filesPresent,
5
5
  sharedModelsDirectory
6
- } from "./chunk-YHRJUZ3O.js";
6
+ } from "./chunk-TI55J3BA.js";
7
7
  import {
8
8
  count,
9
9
  id,
10
10
  text,
11
11
  time
12
- } from "./chunk-D72FL3L3.js";
12
+ } from "./chunk-VT6GZAF4.js";
13
13
  import {
14
14
  PRIORITY_LABELS,
15
15
  TAG_TYPES,
16
16
  TASK_ORIGINS,
17
17
  TASK_STATES,
18
18
  TASK_TYPES
19
- } from "./chunk-J36Z6BDZ.js";
19
+ } from "./chunk-TJXPJ3A5.js";
20
20
  import {
21
21
  createRecordLog,
22
22
  resolvePaths,
23
23
  writeSecurely
24
- } from "./chunk-ALTG7BZQ.js";
24
+ } from "./chunk-CBM2XAEZ.js";
25
25
  import {
26
26
  traceIdOf
27
- } from "./chunk-RRHC5SBB.js";
27
+ } from "./chunk-UQPKAY6I.js";
28
28
  import {
29
29
  array,
30
30
  boolean,
@@ -34,26 +34,26 @@ import {
34
34
  picklist,
35
35
  reference,
36
36
  strictObject
37
- } from "./chunk-O3K46QRL.js";
37
+ } from "./chunk-3U22QTU6.js";
38
38
  import {
39
39
  CliError,
40
40
  isCliError
41
- } from "./chunk-ITD7WI23.js";
41
+ } from "./chunk-EBLA7GXY.js";
42
42
  import {
43
43
  __name
44
44
  } from "./chunk-ZVVMGPBJ.js";
45
45
 
46
- // node_modules/.pnpm/@wirecat+cli-core@0.546.0_@wirecat+cli-base@0.73.0_commander@15.0.0_esbuild@0.28.2_type_6245070bff0a7c29971e74a96fde145c/node_modules/@wirecat/cli-core/dist/runs/scope.js
46
+ // node_modules/.pnpm/@wirecat+cli-core@0.561.0_@wirecat+cli-base@0.75.2_commander@15.0.0_esbuild@0.28.2_type_ef328e5cd047e3c19bb2231542618c08/node_modules/@wirecat/cli-core/dist/runs/scope.js
47
47
  import { AsyncLocalStorage } from "node:async_hooks";
48
48
  import { randomBytes } from "node:crypto";
49
49
 
50
- // node_modules/.pnpm/@wirecat+cli-core@0.546.0_@wirecat+cli-base@0.73.0_commander@15.0.0_esbuild@0.28.2_type_6245070bff0a7c29971e74a96fde145c/node_modules/@wirecat/cli-core/dist/runs/run.js
50
+ // node_modules/.pnpm/@wirecat+cli-core@0.561.0_@wirecat+cli-base@0.75.2_commander@15.0.0_esbuild@0.28.2_type_ef328e5cd047e3c19bb2231542618c08/node_modules/@wirecat/cli-core/dist/runs/run.js
51
51
  import { randomUUID } from "node:crypto";
52
52
  import { appendFileSync, mkdirSync, readdirSync, readFileSync, rmSync, statSync, writeFileSync } from "node:fs";
53
53
  import { userInfo } from "node:os";
54
54
  import { join, sep } from "node:path";
55
55
 
56
- // node_modules/.pnpm/@wirecat+cli-core@0.546.0_@wirecat+cli-base@0.73.0_commander@15.0.0_esbuild@0.28.2_type_6245070bff0a7c29971e74a96fde145c/node_modules/@wirecat/cli-core/dist/runs/log-keys.js
56
+ // node_modules/.pnpm/@wirecat+cli-core@0.561.0_@wirecat+cli-base@0.75.2_commander@15.0.0_esbuild@0.28.2_type_ef328e5cd047e3c19bb2231542618c08/node_modules/@wirecat/cli-core/dist/runs/log-keys.js
57
57
  var snake = /* @__PURE__ */ __name((key) => key.replace(/[A-Z]/g, (letter) => `_${letter.toLowerCase()}`), "snake");
58
58
  var camel = /* @__PURE__ */ __name((key) => key.replace(/_([a-z0-9])/g, (_, letter) => letter.toUpperCase()), "camel");
59
59
  var renamed = /* @__PURE__ */ __name((record, name) => Object.fromEntries(Object.entries(record).map(([key, value]) => [name(key), value])), "renamed");
@@ -66,7 +66,7 @@ var snakeLogger = /* @__PURE__ */ __name((logger) => ({
66
66
  error: /* @__PURE__ */ __name((event, message) => logger.error(logAttributes(event), message), "error")
67
67
  }), "snakeLogger");
68
68
 
69
- // node_modules/.pnpm/@wirecat+cli-core@0.546.0_@wirecat+cli-base@0.73.0_commander@15.0.0_esbuild@0.28.2_type_6245070bff0a7c29971e74a96fde145c/node_modules/@wirecat/cli-core/dist/runs/log-attributes.js
69
+ // node_modules/.pnpm/@wirecat+cli-core@0.561.0_@wirecat+cli-base@0.75.2_commander@15.0.0_esbuild@0.28.2_type_ef328e5cd047e3c19bb2231542618c08/node_modules/@wirecat/cli-core/dist/runs/log-attributes.js
70
70
  var diagnostic = {
71
71
  event: true,
72
72
  operation: true,
@@ -136,7 +136,7 @@ var LOG_ATTRIBUTES = [
136
136
  ...new Set([...Object.keys(diagnostic), ...Object.keys(send), ...background, ...crash, ...dropped].map((key) => Object.keys(logAttributes({ [key]: true }))[0]))
137
137
  ].sort();
138
138
 
139
- // node_modules/.pnpm/@wirecat+cli-core@0.546.0_@wirecat+cli-base@0.73.0_commander@15.0.0_esbuild@0.28.2_type_6245070bff0a7c29971e74a96fde145c/node_modules/@wirecat/cli-core/dist/runs/run.js
139
+ // node_modules/.pnpm/@wirecat+cli-core@0.561.0_@wirecat+cli-base@0.75.2_commander@15.0.0_esbuild@0.28.2_type_ef328e5cd047e3c19bb2231542618c08/node_modules/@wirecat/cli-core/dist/runs/run.js
140
140
  var KEEP_RUNS_FOR_DAYS = 30;
141
141
  var KEEP_SUCCESSFUL_RUNS_FOR_DAYS = 7;
142
142
  var RUNS_SIZE_LIMIT_MB = 200;
@@ -489,7 +489,7 @@ var metadataOf = /* @__PURE__ */ __name((parsed) => {
489
489
  };
490
490
  }, "metadataOf");
491
491
 
492
- // node_modules/.pnpm/@wirecat+cli-core@0.546.0_@wirecat+cli-base@0.73.0_commander@15.0.0_esbuild@0.28.2_type_6245070bff0a7c29971e74a96fde145c/node_modules/@wirecat/cli-core/dist/runs/scope.js
492
+ // node_modules/.pnpm/@wirecat+cli-core@0.561.0_@wirecat+cli-base@0.75.2_commander@15.0.0_esbuild@0.28.2_type_ef328e5cd047e3c19bb2231542618c08/node_modules/@wirecat/cli-core/dist/runs/scope.js
493
493
  var scopes = new AsyncLocalStorage();
494
494
  var processScope;
495
495
  var currentRun = /* @__PURE__ */ __name(() => {
@@ -525,7 +525,7 @@ var attempts = new AsyncLocalStorage();
525
525
  var withAttempt = /* @__PURE__ */ __name((attempt, work) => attempts.run(attempt, work), "withAttempt");
526
526
  var currentAttempt = /* @__PURE__ */ __name(() => attempts.getStore(), "currentAttempt");
527
527
 
528
- // node_modules/.pnpm/@wirecat+cli-core@0.546.0_@wirecat+cli-base@0.73.0_commander@15.0.0_esbuild@0.28.2_type_6245070bff0a7c29971e74a96fde145c/node_modules/@wirecat/cli-core/dist/domain/duration.js
528
+ // node_modules/.pnpm/@wirecat+cli-core@0.561.0_@wirecat+cli-base@0.75.2_commander@15.0.0_esbuild@0.28.2_type_ef328e5cd047e3c19bb2231542618c08/node_modules/@wirecat/cli-core/dist/domain/duration.js
529
529
  var DURATION = /^(\d+)(ms|s|m|h|d)$/;
530
530
  var UNIT_MS = { ms: 1, s: 1e3, m: 6e4, h: 36e5, d: 864e5 };
531
531
  var parseDuration = /* @__PURE__ */ __name((value, source) => {
@@ -539,7 +539,7 @@ var parseDuration = /* @__PURE__ */ __name((value, source) => {
539
539
  return ms;
540
540
  }, "parseDuration");
541
541
 
542
- // node_modules/.pnpm/@wirecat+cli-core@0.546.0_@wirecat+cli-base@0.73.0_commander@15.0.0_esbuild@0.28.2_type_6245070bff0a7c29971e74a96fde145c/node_modules/@wirecat/cli-core/dist/sends/permissions.js
542
+ // node_modules/.pnpm/@wirecat+cli-core@0.561.0_@wirecat+cli-base@0.75.2_commander@15.0.0_esbuild@0.28.2_type_ef328e5cd047e3c19bb2231542618c08/node_modules/@wirecat/cli-core/dist/sends/permissions.js
543
543
  var LEVELS = ["deny", "readonly", "ask", "allow"];
544
544
  var DANGEROUS = /* @__PURE__ */ new Set(["messages.delete", "bot.messages.delete", "topics.delete", "chats.delete", "chats.clear"]);
545
545
  var skipFlagFor = /* @__PURE__ */ __name((key) => DANGEROUS.has(key) ? "--allow-dangerous" : "--yes", "skipFlagFor");
@@ -785,6 +785,7 @@ var NAMED_WRITE_KEYS = [
785
785
  "mentions.reject",
786
786
  "tags.add",
787
787
  "tags.remove",
788
+ "tasks.acknowledge",
788
789
  "tasks.add",
789
790
  "tasks.claim",
790
791
  "tasks.close",
@@ -934,7 +935,7 @@ var assertRetentionEvidenceRead = /* @__PURE__ */ __name((permissions) => {
934
935
  }
935
936
  }, "assertRetentionEvidenceRead");
936
937
 
937
- // node_modules/.pnpm/@wirecat+cli-core@0.546.0_@wirecat+cli-base@0.73.0_commander@15.0.0_esbuild@0.28.2_type_6245070bff0a7c29971e74a96fde145c/node_modules/@wirecat/cli-core/dist/sends/guarded.js
938
+ // node_modules/.pnpm/@wirecat+cli-core@0.561.0_@wirecat+cli-base@0.75.2_commander@15.0.0_esbuild@0.28.2_type_ef328e5cd047e3c19bb2231542618c08/node_modules/@wirecat/cli-core/dist/sends/guarded.js
938
939
  import { AsyncLocalStorage as AsyncLocalStorage2 } from "node:async_hooks";
939
940
  var sentIds = /* @__PURE__ */ __name((typed, message) => ({
940
941
  messageId: message.id,
@@ -1040,7 +1041,7 @@ var guardedWrite = /* @__PURE__ */ __name(async (guard, attempt, act, settled =
1040
1041
  }, "guardedWrite");
1041
1042
  var codeOf = /* @__PURE__ */ __name((error) => typeof error?.code === "string" ? error.code : "unknown", "codeOf");
1042
1043
 
1043
- // node_modules/.pnpm/@wirecat+cli-core@0.546.0_@wirecat+cli-base@0.73.0_commander@15.0.0_esbuild@0.28.2_type_6245070bff0a7c29971e74a96fde145c/node_modules/@wirecat/cli-core/dist/embeddings/models.js
1044
+ // node_modules/.pnpm/@wirecat+cli-core@0.561.0_@wirecat+cli-base@0.75.2_commander@15.0.0_esbuild@0.28.2_type_ef328e5cd047e3c19bb2231542618c08/node_modules/@wirecat/cli-core/dist/embeddings/models.js
1044
1045
  var huggingFace = /* @__PURE__ */ __name((repository, commit) => (name) => `https://huggingface.co/${repository}/resolve/${commit}/${name}`, "huggingFace");
1045
1046
  var e5 = huggingFace("Xenova/multilingual-e5-small", "761b726dd34fb83930e26aab4e9ac3899aa1fa78");
1046
1047
  var gemma = huggingFace("onnx-community/embeddinggemma-300m-ONNX", "5090578d9565bb06545b4552f76e6bc2c93e4a66");
@@ -1199,61 +1200,54 @@ var rerankModel = /* @__PURE__ */ __name((id2) => {
1199
1200
  var vectorModelKey = /* @__PURE__ */ __name((model) => `local:${model.id}:${model.dims}`, "vectorModelKey");
1200
1201
  var meaningFloor = /* @__PURE__ */ __name((key) => key === "local:e5-small:384" ? 0.8 : 0, "meaningFloor");
1201
1202
 
1202
- // node_modules/.pnpm/@wirecat+cli-core@0.546.0_@wirecat+cli-base@0.73.0_commander@15.0.0_esbuild@0.28.2_type_6245070bff0a7c29971e74a96fde145c/node_modules/@wirecat/cli-core/dist/images/picture/models.js
1203
- import { join as join2 } from "node:path";
1204
- var clip = /* @__PURE__ */ __name((name) => `https://huggingface.co/Xenova/clip-vit-base-patch32/resolve/d15189d7028b43f1d3e65039190477f6af591c2a/${name}`, "clip");
1205
- var IMAGE_MODELS = [
1206
- {
1207
- id: "clip-b32",
1208
- title: "CLIP ViT-B/32, 8-bit",
1209
- languages: "English only: translate a query before searching",
1210
- licence: "MIT",
1211
- dims: 512,
1212
- key: "local:clip-b32:512",
1213
- maxTokens: 77,
1214
- vision: "onnx/vision_model_quantized.onnx",
1215
- text: "onnx/text_model_quantized.onnx",
1216
- files: [
1217
- {
1218
- name: "onnx/vision_model_quantized.onnx",
1219
- url: clip("onnx/vision_model_quantized.onnx"),
1220
- sha256: "583fd1110a514667812fee7d684952aaf82a99b959760c8d7dca7e0ab9839299",
1221
- bytes: 89117001
1222
- },
1223
- {
1224
- name: "onnx/text_model_quantized.onnx",
1225
- url: clip("onnx/text_model_quantized.onnx"),
1226
- sha256: "73baab855d406190da9faa498cfedf65f15cf309f4cc7385b7b032e6d08e5c3a",
1227
- bytes: 64504507
1228
- },
1229
- {
1230
- name: "tokenizer.json",
1231
- url: clip("tokenizer.json"),
1232
- sha256: "f7f3b7af117d467b58374797691a6438d3e6b9e9cef800dfd5dced7f697a90cd",
1233
- bytes: 2224119
1234
- },
1235
- {
1236
- name: "tokenizer_config.json",
1237
- url: clip("tokenizer_config.json"),
1238
- sha256: "60ba2912bc6344c94bc16bbdec27fa1209409167b6f2fdf3cfe9e65462ea3967",
1239
- bytes: 775
1240
- }
1241
- ]
1242
- }
1243
- ];
1244
- var DEFAULT_IMAGE_MODEL = "clip-b32";
1245
- var imageModel = /* @__PURE__ */ __name((id2) => {
1246
- const found = IMAGE_MODELS.find((model) => model.id === id2);
1247
- if (!found) {
1248
- throw new CliError("validation_error", `no image model ${id2} \u2014 one of: ${IMAGE_MODELS.map((model) => model.id).join(", ")}`);
1249
- }
1250
- return found;
1251
- }, "imageModel");
1252
- var imageModelsDirectory = /* @__PURE__ */ __name((env = process.env) => sharedModelsDirectory("image", env), "imageModelsDirectory");
1253
- var placedImage = /* @__PURE__ */ __name((model, directory) => model.files.map((file) => [file, join2(directory, model.id, file.name)]), "placedImage");
1254
- var isImageModelInstalled = /* @__PURE__ */ __name((model, directory) => filesPresent(placedImage(model, directory)), "isImageModelInstalled");
1203
+ // node_modules/.pnpm/@wirecat+cli-core@0.561.0_@wirecat+cli-base@0.75.2_commander@15.0.0_esbuild@0.28.2_type_ef328e5cd047e3c19bb2231542618c08/node_modules/@wirecat/cli-core/dist/services/history-limits.js
1204
+ var HISTORY_MAX_DAYS = 1095;
1205
+ var DEFAULT_HISTORY_LIMITS = { dialogDays: 1095, groupDays: 365, groupMembersMax: 50 };
1206
+ var DAY_MS2 = 24 * 60 * 60 * 1e3;
1207
+ var historyWindow = /* @__PURE__ */ __name((shape, limits, now) => {
1208
+ const group = shape !== void 0 && shape.kind !== "dialog" && shape.kind !== "saved";
1209
+ if (group && (shape.participantsCount ?? 0) > limits.groupMembersMax)
1210
+ return { skip: "group_too_large", members: shape.participantsCount ?? 0 };
1211
+ const days2 = group ? limits.groupDays : limits.dialogDays;
1212
+ return { keepFrom: now - Math.min(days2, HISTORY_MAX_DAYS) * DAY_MS2 };
1213
+ }, "historyWindow");
1214
+ var limitBatch = /* @__PURE__ */ __name((batch, shapes, included, limits, now = Date.now()) => {
1215
+ const skipped = /* @__PURE__ */ new Map();
1216
+ if (!batch.messages?.length)
1217
+ return { batch, skipped };
1218
+ const named = new Map((batch.chats ?? []).map((chat) => [chat.id, chat]));
1219
+ const windows = /* @__PURE__ */ new Map();
1220
+ const windowOf = /* @__PURE__ */ __name((chatId) => {
1221
+ if (!windows.has(chatId)) {
1222
+ const chat = named.get(chatId);
1223
+ const shape = chat ? { kind: chat.kind, participantsCount: chat.participantsCount ?? null } : shapes(chatId);
1224
+ windows.set(chatId, included(chatId) ? void 0 : historyWindow(shape, limits, now));
1225
+ }
1226
+ return windows.get(chatId);
1227
+ }, "windowOf");
1228
+ const messages = batch.messages.filter((message) => {
1229
+ const window = windowOf(message.chatId);
1230
+ if (window === void 0)
1231
+ return true;
1232
+ const at = Date.parse(message.timestamp);
1233
+ if ("keepFrom" in window && !(at < window.keepFrom))
1234
+ return true;
1235
+ const reason = "skip" in window ? window.skip : "older_than_window";
1236
+ const held = skipped.get(message.chatId);
1237
+ const iso = new Date(at).toISOString();
1238
+ skipped.set(message.chatId, {
1239
+ reason,
1240
+ messages: (held?.messages ?? 0) + 1,
1241
+ oldestAt: held && held.oldestAt < iso ? held.oldestAt : iso,
1242
+ newestAt: held && held.newestAt > iso ? held.newestAt : iso,
1243
+ ..."skip" in window ? { members: window.members } : { keptFrom: new Date(window.keepFrom).toISOString() }
1244
+ });
1245
+ return false;
1246
+ });
1247
+ return { batch: { ...batch, messages }, skipped };
1248
+ }, "limitBatch");
1255
1249
 
1256
- // node_modules/.pnpm/@wirecat+cli-core@0.546.0_@wirecat+cli-base@0.73.0_commander@15.0.0_esbuild@0.28.2_type_6245070bff0a7c29971e74a96fde145c/node_modules/@wirecat/cli-core/dist/entities/task.js
1250
+ // node_modules/.pnpm/@wirecat+cli-core@0.561.0_@wirecat+cli-base@0.75.2_commander@15.0.0_esbuild@0.28.2_type_ef328e5cd047e3c19bb2231542618c08/node_modules/@wirecat/cli-core/dist/entities/task.js
1257
1251
  var closeSuggestion = strictObject({
1258
1252
  as: picklist(["done", "dismissed"]),
1259
1253
  /** The agent's name. */
@@ -1311,7 +1305,7 @@ var task = strictObject({
1311
1305
  updated_at: optional(time)
1312
1306
  });
1313
1307
 
1314
- // node_modules/.pnpm/@wirecat+cli-core@0.546.0_@wirecat+cli-base@0.73.0_commander@15.0.0_esbuild@0.28.2_type_6245070bff0a7c29971e74a96fde145c/node_modules/@wirecat/cli-core/dist/entities/agenda.js
1308
+ // node_modules/.pnpm/@wirecat+cli-core@0.561.0_@wirecat+cli-base@0.75.2_commander@15.0.0_esbuild@0.28.2_type_ef328e5cd047e3c19bb2231542618c08/node_modules/@wirecat/cli-core/dist/entities/agenda.js
1315
1309
  var agendaChat = strictObject({
1316
1310
  chat: reference,
1317
1311
  title: nullable(text),
@@ -1381,22 +1375,7 @@ var agenda = strictObject({
1381
1375
  unlisted_categories: array(strictObject({ name: text, open_tasks: number() }))
1382
1376
  });
1383
1377
 
1384
- // node_modules/.pnpm/@wirecat+cli-core@0.546.0_@wirecat+cli-base@0.73.0_commander@15.0.0_esbuild@0.28.2_type_6245070bff0a7c29971e74a96fde145c/node_modules/@wirecat/cli-core/dist/entities/conversation.js
1385
- var conversation = strictObject({
1386
- id,
1387
- chat: reference,
1388
- /** The message it starts with. */
1389
- first_message: reference,
1390
- started_at: time,
1391
- ended_at: time,
1392
- messages_count: count,
1393
- /** How many people wrote in it. */
1394
- senders_count: count,
1395
- built_at: time,
1396
- rules_version: count
1397
- });
1398
-
1399
- // node_modules/.pnpm/@wirecat+cli-core@0.546.0_@wirecat+cli-base@0.73.0_commander@15.0.0_esbuild@0.28.2_type_6245070bff0a7c29971e74a96fde145c/node_modules/@wirecat/cli-core/dist/entities/attachment.js
1378
+ // node_modules/.pnpm/@wirecat+cli-core@0.561.0_@wirecat+cli-base@0.75.2_commander@15.0.0_esbuild@0.28.2_type_ef328e5cd047e3c19bb2231542618c08/node_modules/@wirecat/cli-core/dist/entities/attachment.js
1400
1379
  var attachment = strictObject({
1401
1380
  /** The message it came with, as a locator; absent inside that message. */
1402
1381
  message: optional(reference),
@@ -1434,7 +1413,22 @@ var attachment = strictObject({
1434
1413
  });
1435
1414
  var hitFile = strictObject({ position: count, kind: text, name: optional(text), size: optional(count) });
1436
1415
 
1437
- // node_modules/.pnpm/@wirecat+cli-core@0.546.0_@wirecat+cli-base@0.73.0_commander@15.0.0_esbuild@0.28.2_type_6245070bff0a7c29971e74a96fde145c/node_modules/@wirecat/cli-core/dist/entities/tagging.js
1416
+ // node_modules/.pnpm/@wirecat+cli-core@0.561.0_@wirecat+cli-base@0.75.2_commander@15.0.0_esbuild@0.28.2_type_ef328e5cd047e3c19bb2231542618c08/node_modules/@wirecat/cli-core/dist/entities/conversation.js
1417
+ var conversation = strictObject({
1418
+ id,
1419
+ chat: reference,
1420
+ /** The message it starts with. */
1421
+ first_message: reference,
1422
+ started_at: time,
1423
+ ended_at: time,
1424
+ messages_count: count,
1425
+ /** How many people wrote in it. */
1426
+ senders_count: count,
1427
+ built_at: time,
1428
+ rules_version: count
1429
+ });
1430
+
1431
+ // node_modules/.pnpm/@wirecat+cli-core@0.561.0_@wirecat+cli-base@0.75.2_commander@15.0.0_esbuild@0.28.2_type_ef328e5cd047e3c19bb2231542618c08/node_modules/@wirecat/cli-core/dist/entities/tagging.js
1438
1432
  var tagging = strictObject({
1439
1433
  tag: text,
1440
1434
  type: picklist(TAG_TYPES),
@@ -1447,7 +1441,61 @@ var tagging = strictObject({
1447
1441
  created_at: time
1448
1442
  });
1449
1443
 
1450
- // node_modules/.pnpm/@wirecat+cli-core@0.546.0_@wirecat+cli-base@0.73.0_commander@15.0.0_esbuild@0.28.2_type_6245070bff0a7c29971e74a96fde145c/node_modules/@wirecat/cli-core/dist/botcheck/reasons.js
1444
+ // node_modules/.pnpm/@wirecat+cli-core@0.561.0_@wirecat+cli-base@0.75.2_commander@15.0.0_esbuild@0.28.2_type_ef328e5cd047e3c19bb2231542618c08/node_modules/@wirecat/cli-core/dist/images/picture/models.js
1445
+ import { join as join2 } from "node:path";
1446
+ var clip = /* @__PURE__ */ __name((name) => `https://huggingface.co/Xenova/clip-vit-base-patch32/resolve/d15189d7028b43f1d3e65039190477f6af591c2a/${name}`, "clip");
1447
+ var IMAGE_MODELS = [
1448
+ {
1449
+ id: "clip-b32",
1450
+ title: "CLIP ViT-B/32, 8-bit",
1451
+ languages: "English only: translate a query before searching",
1452
+ licence: "MIT",
1453
+ dims: 512,
1454
+ key: "local:clip-b32:512",
1455
+ maxTokens: 77,
1456
+ vision: "onnx/vision_model_quantized.onnx",
1457
+ text: "onnx/text_model_quantized.onnx",
1458
+ files: [
1459
+ {
1460
+ name: "onnx/vision_model_quantized.onnx",
1461
+ url: clip("onnx/vision_model_quantized.onnx"),
1462
+ sha256: "583fd1110a514667812fee7d684952aaf82a99b959760c8d7dca7e0ab9839299",
1463
+ bytes: 89117001
1464
+ },
1465
+ {
1466
+ name: "onnx/text_model_quantized.onnx",
1467
+ url: clip("onnx/text_model_quantized.onnx"),
1468
+ sha256: "73baab855d406190da9faa498cfedf65f15cf309f4cc7385b7b032e6d08e5c3a",
1469
+ bytes: 64504507
1470
+ },
1471
+ {
1472
+ name: "tokenizer.json",
1473
+ url: clip("tokenizer.json"),
1474
+ sha256: "f7f3b7af117d467b58374797691a6438d3e6b9e9cef800dfd5dced7f697a90cd",
1475
+ bytes: 2224119
1476
+ },
1477
+ {
1478
+ name: "tokenizer_config.json",
1479
+ url: clip("tokenizer_config.json"),
1480
+ sha256: "60ba2912bc6344c94bc16bbdec27fa1209409167b6f2fdf3cfe9e65462ea3967",
1481
+ bytes: 775
1482
+ }
1483
+ ]
1484
+ }
1485
+ ];
1486
+ var DEFAULT_IMAGE_MODEL = "clip-b32";
1487
+ var imageModel = /* @__PURE__ */ __name((id2) => {
1488
+ const found = IMAGE_MODELS.find((model) => model.id === id2);
1489
+ if (!found) {
1490
+ throw new CliError("validation_error", `no image model ${id2} \u2014 one of: ${IMAGE_MODELS.map((model) => model.id).join(", ")}`);
1491
+ }
1492
+ return found;
1493
+ }, "imageModel");
1494
+ var imageModelsDirectory = /* @__PURE__ */ __name((env = process.env) => sharedModelsDirectory("image", env), "imageModelsDirectory");
1495
+ var placedImage = /* @__PURE__ */ __name((model, directory) => model.files.map((file) => [file, join2(directory, model.id, file.name)]), "placedImage");
1496
+ var isImageModelInstalled = /* @__PURE__ */ __name((model, directory) => filesPresent(placedImage(model, directory)), "isImageModelInstalled");
1497
+
1498
+ // node_modules/.pnpm/@wirecat+cli-core@0.561.0_@wirecat+cli-base@0.75.2_commander@15.0.0_esbuild@0.28.2_type_ef328e5cd047e3c19bb2231542618c08/node_modules/@wirecat/cli-core/dist/botcheck/reasons.js
1451
1499
  var WEIGHTS = {
1452
1500
  bot: 3,
1453
1501
  scam: 3,
@@ -1535,20 +1583,24 @@ export {
1535
1583
  permissionOverrides,
1536
1584
  assertOverridesTighten,
1537
1585
  assertRetentionEvidenceRead,
1538
- IMAGE_MODELS,
1539
- DEFAULT_IMAGE_MODEL,
1540
- imageModel,
1541
- imageModelsDirectory,
1542
- placedImage,
1543
- isImageModelInstalled,
1544
- WEIGHTS,
1545
- LINK,
1546
- oddName,
1586
+ HISTORY_MAX_DAYS,
1587
+ DEFAULT_HISTORY_LIMITS,
1588
+ historyWindow,
1589
+ limitBatch,
1547
1590
  closeSuggestion,
1548
1591
  task,
1549
1592
  agenda,
1550
- conversation,
1551
1593
  attachment,
1552
1594
  hitFile,
1553
- tagging
1595
+ WEIGHTS,
1596
+ LINK,
1597
+ oddName,
1598
+ conversation,
1599
+ tagging,
1600
+ IMAGE_MODELS,
1601
+ DEFAULT_IMAGE_MODEL,
1602
+ imageModel,
1603
+ imageModelsDirectory,
1604
+ placedImage,
1605
+ isImageModelInstalled
1554
1606
  };
@@ -11,7 +11,7 @@ import {
11
11
  checkApiParameter,
12
12
  operations,
13
13
  parseApiJson
14
- } from "./chunk-UBZ2LH7N.js";
14
+ } from "./chunk-6CQO2FIN.js";
15
15
  import {
16
16
  array,
17
17
  boolean,
@@ -27,15 +27,15 @@ import {
27
27
  string,
28
28
  transform,
29
29
  unknown
30
- } from "./chunk-O3K46QRL.js";
30
+ } from "./chunk-3U22QTU6.js";
31
31
  import {
32
32
  CliError
33
- } from "./chunk-ITD7WI23.js";
33
+ } from "./chunk-EBLA7GXY.js";
34
34
  import {
35
35
  __name
36
36
  } from "./chunk-ZVVMGPBJ.js";
37
37
 
38
- // node_modules/.pnpm/@wirecat+cli-base@0.73.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/codegen/runtime.js
38
+ // node_modules/.pnpm/@wirecat+cli-base@0.75.2_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/codegen/runtime.js
39
39
  var isLossless = /* @__PURE__ */ __name((input) => typeof input === "object" && input !== null && input.isLosslessNumber === true && typeof input.value === "string", "isLossless");
40
40
  var INTEGER = /^-?\d+$/;
41
41
  var INT64_MIN = -(2n ** 63n);
@@ -4,7 +4,7 @@ import {
4
4
  __name
5
5
  } from "./chunk-ZVVMGPBJ.js";
6
6
 
7
- // node_modules/.pnpm/@wirecat+cli-core@0.546.0_@wirecat+cli-base@0.73.0_commander@15.0.0_esbuild@0.28.2_type_6245070bff0a7c29971e74a96fde145c/node_modules/@wirecat/cli-core/dist/store/sqlite/drizzle/shared-55XJMTPA.js
7
+ // node_modules/.pnpm/@wirecat+cli-core@0.561.0_@wirecat+cli-base@0.75.2_commander@15.0.0_esbuild@0.28.2_type_ef328e5cd047e3c19bb2231542618c08/node_modules/@wirecat/cli-core/dist/store/sqlite/drizzle/shared-55XJMTPA.js
8
8
  var entityKind = /* @__PURE__ */ Symbol.for("drizzle:entityKind");
9
9
  var kindsByConstructor = /* @__PURE__ */ new WeakMap();
10
10
  function collectKinds(ctor) {
@@ -2,21 +2,21 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  errorObjectOf
5
- } from "./chunk-3RG27IWA.js";
5
+ } from "./chunk-V36RIXFA.js";
6
6
  import {
7
7
  visibleControls
8
- } from "./chunk-ASPIEEXN.js";
8
+ } from "./chunk-HIP43OGZ.js";
9
9
  import {
10
10
  LOG_ATTRIBUTE_KEYS,
11
11
  isContentKey
12
- } from "./chunk-RRHC5SBB.js";
12
+ } from "./chunk-UQPKAY6I.js";
13
13
  import {
14
14
  getDotPath,
15
15
  safeParse
16
- } from "./chunk-O3K46QRL.js";
16
+ } from "./chunk-3U22QTU6.js";
17
17
  import {
18
18
  CliError
19
- } from "./chunk-ITD7WI23.js";
19
+ } from "./chunk-EBLA7GXY.js";
20
20
  import {
21
21
  __commonJS,
22
22
  __name,
@@ -1889,7 +1889,7 @@ var require_cli_table3 = __commonJS({
1889
1889
  }
1890
1890
  });
1891
1891
 
1892
- // node_modules/.pnpm/@wirecat+cli-base@0.73.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/keyring.js
1892
+ // node_modules/.pnpm/@wirecat+cli-base@0.75.2_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/keyring.js
1893
1893
  import { createRequire } from "node:module";
1894
1894
  var ENTRY_OPTIONS = { linux: { store: "secret-service" } };
1895
1895
  var require2 = createRequire(new URL("keyring.js", import.meta.resolve("@wirecat/cli-base")).href);
@@ -1909,7 +1909,7 @@ var systemKeyring = {
1909
1909
  delete: /* @__PURE__ */ __name((service, account) => entry(service, account).deletePassword(), "delete")
1910
1910
  };
1911
1911
 
1912
- // node_modules/.pnpm/@wirecat+cli-base@0.73.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/paths.js
1912
+ // node_modules/.pnpm/@wirecat+cli-base@0.75.2_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/paths.js
1913
1913
  import { homedir, userInfo } from "node:os";
1914
1914
  import { join, posix, win32 } from "node:path";
1915
1915
  var PATH_KINDS = ["config", "state", "cache"];
@@ -1961,11 +1961,11 @@ var homeIsMoved = /* @__PURE__ */ __name(({ env = process.env, platform = proces
1961
1961
  var isMovedRun = /* @__PURE__ */ __name((options) => pathsAreOverridden(options) || homeIsMoved(options), "isMovedRun");
1962
1962
  var configFilePath = /* @__PURE__ */ __name((configDir, fileName = "config.json") => join(configDir, fileName), "configFilePath");
1963
1963
 
1964
- // node_modules/.pnpm/@wirecat+cli-base@0.73.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/credentials.js
1964
+ // node_modules/.pnpm/@wirecat+cli-base@0.75.2_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/credentials.js
1965
1965
  import { readFileSync as readFileSync2 } from "node:fs";
1966
1966
  import { join as join3, resolve } from "node:path";
1967
1967
 
1968
- // node_modules/.pnpm/@wirecat+cli-base@0.73.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/config.js
1968
+ // node_modules/.pnpm/@wirecat+cli-base@0.75.2_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/config.js
1969
1969
  import { randomBytes } from "node:crypto";
1970
1970
  import { mkdirSync, readFileSync, renameSync, rmSync, writeFileSync } from "node:fs";
1971
1971
  import { dirname, join as join2 } from "node:path";
@@ -2009,7 +2009,7 @@ var saveConfigFile = /* @__PURE__ */ __name((path, config) => {
2009
2009
  `, 384);
2010
2010
  }, "saveConfigFile");
2011
2011
 
2012
- // node_modules/.pnpm/@wirecat+cli-base@0.73.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/credentials.js
2012
+ // node_modules/.pnpm/@wirecat+cli-base@0.75.2_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/credentials.js
2013
2013
  var keyringService = /* @__PURE__ */ __name((service, _configDir, _isolated) => service, "keyringService");
2014
2014
  var movedRunService = /* @__PURE__ */ __name((service, configDir) => `${service}:${resolve(configDir)}`, "movedRunService");
2015
2015
  var warnedRuns = /* @__PURE__ */ new WeakSet();
@@ -2145,7 +2145,7 @@ var Credentials = class {
2145
2145
  }
2146
2146
  };
2147
2147
 
2148
- // node_modules/.pnpm/@wirecat+cli-base@0.73.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/drain.js
2148
+ // node_modules/.pnpm/@wirecat+cli-base@0.75.2_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/drain.js
2149
2149
  var waitForDrain = /* @__PURE__ */ __name((stream, signal) => {
2150
2150
  if (signal?.aborted)
2151
2151
  return Promise.reject(signal.reason);
@@ -2173,7 +2173,7 @@ var waitForDrain = /* @__PURE__ */ __name((stream, signal) => {
2173
2173
  });
2174
2174
  }, "waitForDrain");
2175
2175
 
2176
- // node_modules/.pnpm/@wirecat+cli-base@0.73.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/streams.js
2176
+ // node_modules/.pnpm/@wirecat+cli-base@0.75.2_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/streams.js
2177
2177
  var processStreams = {
2178
2178
  drain: /* @__PURE__ */ __name(async (signal) => {
2179
2179
  await Promise.all([waitForDrain(process.stdout, signal), waitForDrain(process.stderr, signal)]);
@@ -2202,7 +2202,7 @@ var captureStreams = /* @__PURE__ */ __name(() => {
2202
2202
  };
2203
2203
  }, "captureStreams");
2204
2204
 
2205
- // node_modules/.pnpm/@wirecat+cli-base@0.73.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/retry.js
2205
+ // node_modules/.pnpm/@wirecat+cli-base@0.75.2_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/retry.js
2206
2206
  var DEFAULT_RETRY = {
2207
2207
  retries: 1,
2208
2208
  baseDelayMs: 250,
@@ -2214,7 +2214,7 @@ var backoffMs = /* @__PURE__ */ __name((attempt, config, random) => {
2214
2214
  return Math.round(random() * ceiling);
2215
2215
  }, "backoffMs");
2216
2216
 
2217
- // node_modules/.pnpm/@wirecat+cli-base@0.73.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/result-fields.js
2217
+ // node_modules/.pnpm/@wirecat+cli-base@0.75.2_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/result-fields.js
2218
2218
  var forbidden = /* @__PURE__ */ new Set(["__proto__", "prototype", "constructor"]);
2219
2219
  var validate = /* @__PURE__ */ __name((paths) => {
2220
2220
  if (paths.length === 0 || paths.length > 128 || paths.some((path) => path.length > 256 || !/^[A-Za-z][A-Za-z0-9_]*(?:\.[A-Za-z][A-Za-z0-9_]*)*$/.test(path) || path.split(".").some((part) => forbidden.has(part))))
@@ -2279,7 +2279,7 @@ var projectFields = /* @__PURE__ */ __name((value, fields) => {
2279
2279
  return project(value, fields);
2280
2280
  }, "projectFields");
2281
2281
 
2282
- // node_modules/.pnpm/@wirecat+cli-base@0.73.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/batch.js
2282
+ // node_modules/.pnpm/@wirecat+cli-base@0.75.2_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/batch.js
2283
2283
  var BATCH_LIMITS = Object.freeze({
2284
2284
  requests: 32,
2285
2285
  input_bytes: 262144,
@@ -2406,7 +2406,7 @@ var runBatch = /* @__PURE__ */ __name(async (requests, options = {}) => {
2406
2406
  };
2407
2407
  }, "runBatch");
2408
2408
 
2409
- // node_modules/.pnpm/@wirecat+cli-base@0.73.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/time.js
2409
+ // node_modules/.pnpm/@wirecat+cli-base@0.75.2_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/time.js
2410
2410
  var abortError = /* @__PURE__ */ __name(() => new DOMException("The operation was aborted.", "AbortError"), "abortError");
2411
2411
  var realSleep = /* @__PURE__ */ __name((ms, signal) => new Promise((resolve2, reject) => {
2412
2412
  if (signal?.aborted) {
@@ -2420,7 +2420,7 @@ var realSleep = /* @__PURE__ */ __name((ms, signal) => new Promise((resolve2, re
2420
2420
  }, { once: true });
2421
2421
  }), "realSleep");
2422
2422
 
2423
- // node_modules/.pnpm/@wirecat+cli-base@0.73.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/logging.js
2423
+ // node_modules/.pnpm/@wirecat+cli-base@0.75.2_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/logging.js
2424
2424
  import { appendFileSync } from "node:fs";
2425
2425
  var REDACTED_FIELDS = [
2426
2426
  "authorization",
@@ -2515,7 +2515,7 @@ var silent = {
2515
2515
  }, "error")
2516
2516
  };
2517
2517
 
2518
- // node_modules/.pnpm/@wirecat+cli-base@0.73.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/pretty.js
2518
+ // node_modules/.pnpm/@wirecat+cli-base@0.75.2_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/pretty.js
2519
2519
  var import_cli_table3 = __toESM(require_cli_table3(), 1);
2520
2520
  import { styleText } from "node:util";
2521
2521
  var renderPretty = /* @__PURE__ */ __name((value, options) => {
@@ -2589,7 +2589,7 @@ var BORDERLESS = {
2589
2589
  middle: ""
2590
2590
  };
2591
2591
 
2592
- // node_modules/.pnpm/@wirecat+cli-base@0.73.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/renderer.js
2592
+ // node_modules/.pnpm/@wirecat+cli-base@0.75.2_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/renderer.js
2593
2593
  var createRenderer = /* @__PURE__ */ __name(({ format, color, streams = processStreams, quiet = false }) => {
2594
2594
  const mark = /* @__PURE__ */ __name((symbol, message) => format === "pretty" ? `${symbol} ${visibleControls(message)}` : visibleControls(message), "mark");
2595
2595
  const say = /* @__PURE__ */ __name((symbol) => (message) => {
@@ -9,15 +9,15 @@ import {
9
9
  optional,
10
10
  pipe,
11
11
  safeParse
12
- } from "./chunk-O3K46QRL.js";
12
+ } from "./chunk-3U22QTU6.js";
13
13
  import {
14
14
  CliError
15
- } from "./chunk-ITD7WI23.js";
15
+ } from "./chunk-EBLA7GXY.js";
16
16
  import {
17
17
  __name
18
18
  } from "./chunk-ZVVMGPBJ.js";
19
19
 
20
- // node_modules/.pnpm/@wirecat+cli-core@0.546.0_@wirecat+cli-base@0.73.0_commander@15.0.0_esbuild@0.28.2_type_6245070bff0a7c29971e74a96fde145c/node_modules/@wirecat/cli-core/dist/models/options.js
20
+ // node_modules/.pnpm/@wirecat+cli-core@0.561.0_@wirecat+cli-base@0.75.2_commander@15.0.0_esbuild@0.28.2_type_ef328e5cd047e3c19bb2231542618c08/node_modules/@wirecat/cli-core/dist/models/options.js
21
21
  var checkedOptions = /* @__PURE__ */ __name((provider, schema, options) => {
22
22
  const parsed = safeParse(schema, options);
23
23
  if (!parsed.success) {
@@ -4,7 +4,7 @@ import {
4
4
  __name
5
5
  } from "./chunk-ZVVMGPBJ.js";
6
6
 
7
- // node_modules/.pnpm/@wirecat+cli-base@0.73.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/errors.js
7
+ // node_modules/.pnpm/@wirecat+cli-base@0.75.2_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/errors.js
8
8
  var errorCodes = [
9
9
  "validation_error",
10
10
  "configuration_error",