@wirecat/drive-cli 0.47.0 → 0.50.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 (160) hide show
  1. package/dist/age.d.ts +36 -0
  2. package/dist/age.d.ts.map +1 -1
  3. package/dist/age.js +17 -0
  4. package/dist/age.js.map +1 -1
  5. package/dist/bin/drive.js +2 -2
  6. package/dist/bundle/{all-profiles-O7CNQ7FO.js → all-profiles-WQTVOCIS.js} +8 -8
  7. package/dist/bundle/{anthropic-6T67J2CE.js → anthropic-YCA2AWIJ.js} +5 -5
  8. package/dist/bundle/{app-server-BVBZT3UY.js → app-server-ZQOYUQJH.js} +52 -52
  9. package/dist/bundle/{bun-O6RL6LRQ.js → bun-5NFIDHGM.js} +2 -2
  10. package/dist/bundle/{bun-sqlite-54W7JUY3.js → bun-sqlite-OAQE4M2E.js} +4 -4
  11. package/dist/bundle/{chunk-NLEB26GA.js → chunk-24TOKSZE.js} +2 -2
  12. package/dist/bundle/{chunk-DL7D6Y3B.js → chunk-2M5XEGVE.js} +3413 -3293
  13. package/dist/bundle/{chunk-4NGLRHWO.js → chunk-3CQNJKJT.js} +1 -1
  14. package/dist/bundle/{chunk-CYCQBQBH.js → chunk-3HNUH632.js} +6 -6
  15. package/dist/bundle/{chunk-5TC3NCAF.js → chunk-3XX52F42.js} +2 -2
  16. package/dist/bundle/{chunk-R2A3K7ZF.js → chunk-4J7UGHPK.js} +5 -5
  17. package/dist/bundle/{chunk-GHOWRW7E.js → chunk-4OLWMHS6.js} +10 -3
  18. package/dist/bundle/{chunk-NDNTLUPS.js → chunk-4SSUKRO4.js} +2 -2
  19. package/dist/bundle/{chunk-CVIKKIGE.js → chunk-4VLUX3V5.js} +1 -1
  20. package/dist/bundle/{chunk-AIXLOMH4.js → chunk-53UWCVSU.js} +1 -1
  21. package/dist/bundle/{chunk-3Z7WSD2A.js → chunk-5OMLYNYB.js} +8 -8
  22. package/dist/bundle/{chunk-VCYFEWPD.js → chunk-5WN7JHQE.js} +26 -26
  23. package/dist/bundle/{chunk-GQW4GRYR.js → chunk-5Z63NTC7.js} +6 -6
  24. package/dist/bundle/{chunk-D67JGWSC.js → chunk-5ZJHQ4TN.js} +7 -4
  25. package/dist/bundle/{chunk-XF5MFUEB.js → chunk-652YTDT5.js} +15 -15
  26. package/dist/bundle/{chunk-PJ7IQVOM.js → chunk-6DDXB5WB.js} +2 -2
  27. package/dist/bundle/{chunk-DXKVEOSS.js → chunk-6E4PFCQ4.js} +1 -1
  28. package/dist/bundle/{chunk-G3FAOS52.js → chunk-7SYSC7KX.js} +2 -2
  29. package/dist/bundle/{chunk-BQUPOB5H.js → chunk-AO3NCZNT.js} +8 -8
  30. package/dist/bundle/{chunk-U2OD7MKK.js → chunk-BUALWXBT.js} +1 -1
  31. package/dist/bundle/{chunk-OWXTPXIQ.js → chunk-C4PNAHI4.js} +11 -11
  32. package/dist/bundle/{recognize-IFXOJHEA.js → chunk-CCEVICWU.js} +7 -7
  33. package/dist/bundle/{chunk-IGMRWQP3.js → chunk-CEUEXMIR.js} +86 -35
  34. package/dist/bundle/{chunk-5MGIL5LW.js → chunk-CTIQ77AB.js} +20 -17
  35. package/dist/bundle/{chunk-VHQNVG3J.js → chunk-DTHWL5YU.js} +5 -5
  36. package/dist/bundle/{chunk-67BQ3XMH.js → chunk-E656DAZT.js} +1 -1
  37. package/dist/bundle/{chunk-WUFCYDKB.js → chunk-EXYEDKTX.js} +2 -2
  38. package/dist/bundle/{chunk-BJ3JRO34.js → chunk-EY4CUQW2.js} +7 -7
  39. package/dist/bundle/{chunk-QW36EOAM.js → chunk-FABKIQ24.js} +2 -2
  40. package/dist/bundle/{chunk-SMHQA5J6.js → chunk-FSAM4Y2S.js} +15 -8
  41. package/dist/bundle/{chunk-R2QRP7EJ.js → chunk-G75FZQAZ.js} +13 -9
  42. package/dist/bundle/{chunk-VHT2WI4I.js → chunk-HGWMX7BM.js} +101 -73
  43. package/dist/bundle/{chunk-44FV5JAS.js → chunk-HURI56SB.js} +21 -21
  44. package/dist/bundle/{chunk-GWPKIRNQ.js → chunk-IA6LNKCF.js} +5 -5
  45. package/dist/bundle/{chunk-LHIL46I3.js → chunk-IFM2APQB.js} +2 -2
  46. package/dist/bundle/{chunk-BEXHAGXH.js → chunk-IGG4RBIZ.js} +170 -146
  47. package/dist/bundle/{chunk-PDBBBUY7.js → chunk-INVF3GXW.js} +10 -10
  48. package/dist/bundle/{chunk-KADPV4YA.js → chunk-IUZ4PT2V.js} +2 -2
  49. package/dist/bundle/{chunk-K74PQVQZ.js → chunk-JA2YY7D4.js} +7 -7
  50. package/dist/bundle/{chunk-K7FRUB33.js → chunk-JHBX53SK.js} +35 -35
  51. package/dist/bundle/{chunk-QTJUH3LS.js → chunk-JSMPSOEM.js} +3 -3
  52. package/dist/bundle/{chunk-PH74B2VZ.js → chunk-KEQ35HQQ.js} +3 -3
  53. package/dist/bundle/{chunk-NW7IMGRR.js → chunk-KYMGVMOS.js} +1 -1
  54. package/dist/bundle/{chunk-AOOD3RMK.js → chunk-KZEOWOZV.js} +7 -7
  55. package/dist/bundle/{chunk-VYBOYBLX.js → chunk-LNWRRK2H.js} +6 -6
  56. package/dist/bundle/{chunk-RCS2SCX5.js → chunk-M2D4FXKY.js} +5 -5
  57. package/dist/bundle/{chunk-KJMBV574.js → chunk-M6FQOGUW.js} +392 -319
  58. package/dist/bundle/{chunk-GOR3Z2FR.js → chunk-MMOG7ZVF.js} +2 -2
  59. package/dist/bundle/{chunk-RJ633GFA.js → chunk-NHRJW3PH.js} +2 -2
  60. package/dist/bundle/{chunk-MFS52LTZ.js → chunk-OKSS7YUN.js} +1 -1
  61. package/dist/bundle/{chunk-ZBM4GEV2.js → chunk-OL22OOIW.js} +4 -4
  62. package/dist/bundle/{chunk-BHE7ZY2N.js → chunk-OQEBGY74.js} +74 -46
  63. package/dist/bundle/{chunk-MAXN7COO.js → chunk-P3T2SZW2.js} +1 -1
  64. package/dist/bundle/{chunk-LJARCTGL.js → chunk-P6VN5UB4.js} +4 -4
  65. package/dist/bundle/{chunk-A3FU4RR6.js → chunk-PNUS224S.js} +4 -4
  66. package/dist/bundle/{chunk-JVTVAZ5X.js → chunk-POD2GHQB.js} +58 -19
  67. package/dist/bundle/{chunk-FEULDMWM.js → chunk-Q27HCATD.js} +1980 -1557
  68. package/dist/bundle/{chunk-4DW6QGEV.js → chunk-Q3VG3UYV.js} +11 -11
  69. package/dist/bundle/{chunk-AUS6TKP5.js → chunk-QBECV7NO.js} +33 -32
  70. package/dist/bundle/{chunk-DORXXBFC.js → chunk-QNLD7Y6Z.js} +7 -7
  71. package/dist/bundle/{chunk-3HRDEJJW.js → chunk-QSDXVUJG.js} +4 -4
  72. package/dist/bundle/{chunk-GNFHZZ55.js → chunk-QY3LK3OT.js} +5 -5
  73. package/dist/bundle/{chunk-CFZWPIVC.js → chunk-R7XMCREL.js} +39 -21
  74. package/dist/bundle/{chunk-NP3XLLN3.js → chunk-RTIMGPLN.js} +3 -3
  75. package/dist/bundle/{chunk-SWMMR3FR.js → chunk-T7UZHKAS.js} +2 -2
  76. package/dist/bundle/{chunk-IKNU5A5Y.js → chunk-TATRMMOG.js} +3 -3
  77. package/dist/bundle/{chunk-QWSRPXCJ.js → chunk-UVPKSZSC.js} +4 -4
  78. package/dist/bundle/{chunk-CKR3DVUK.js → chunk-VAETCXRI.js} +54 -26
  79. package/dist/bundle/{chunk-6T7NSOYC.js → chunk-VAK2Q2XG.js} +14 -14
  80. package/dist/bundle/{chunk-DDYR6DYL.js → chunk-XEETGCOC.js} +1 -1
  81. package/dist/bundle/{chunk-XAZQTJXR.js → chunk-XGJUEH5C.js} +27 -27
  82. package/dist/bundle/{chunk-VAGF723Z.js → chunk-Y73IZWRI.js} +1 -1
  83. package/dist/bundle/{chunk-2DLAJGRN.js → chunk-YOABRW2M.js} +1 -1
  84. package/dist/bundle/{chunk-TRMIV3OA.js → chunk-YROVFHPJ.js} +2 -2
  85. package/dist/bundle/{chunk-NB2N6L3R.js → chunk-Z54E5LKF.js} +6 -6
  86. package/dist/bundle/{chunk-IAW5A7OR.js → chunk-ZJBRKR42.js} +32 -28
  87. package/dist/bundle/{chunk-LOTQ2HMT.js → chunk-ZKGYW63J.js} +9 -9
  88. package/dist/bundle/{chunk-XEBFFKXO.js → chunk-ZP735UUT.js} +3 -3
  89. package/dist/bundle/{chunk-HEPIOCHN.js → chunk-ZXD2I5ZQ.js} +58 -51
  90. package/dist/bundle/command-contract-TAWVO2G3.js +38 -0
  91. package/dist/bundle/decode-YZRTP54O.js +159 -0
  92. package/dist/bundle/drive.js +7 -7
  93. package/dist/bundle/{echarts-LD3AI55P.js → echarts-C6HUK2FL.js} +2 -2
  94. package/dist/bundle/{embed-FJKIIM43.js → embed-QRQ7ITFC.js} +5 -5
  95. package/dist/bundle/{embedder-NNQ5ZC25.js → embedder-EZDB3JPA.js} +8 -8
  96. package/dist/bundle/{entry-ZYSNPDSD.js → entry-4WQQKSYG.js} +6 -6
  97. package/dist/bundle/failure-EEJGMWEP.js +37 -0
  98. package/dist/bundle/{first-run-KA2UPZAU.js → first-run-ZAS4OV3T.js} +9 -9
  99. package/dist/bundle/first-screen-6ICWD2N3.js +36 -0
  100. package/dist/bundle/{google-ZYDFTHLN.js → google-KNILTIDW.js} +9 -9
  101. package/dist/bundle/google-api-CZACYX5T.js +82 -0
  102. package/dist/bundle/{identity-7JM62OER.js → identity-VBCGUXT5.js} +2 -2
  103. package/dist/bundle/{instructions-RZMSW3OC.js → instructions-II4M2WL3.js} +1 -1
  104. package/dist/bundle/{login-JU6NKW5P.js → login-4JACQVMD.js} +62 -62
  105. package/dist/bundle/mcp-2BR2EX7L.js +95 -0
  106. package/dist/bundle/{mcp-KWXNBIAI.js → mcp-6ZIAWU3N.js} +76 -76
  107. package/dist/bundle/{mcp-OQBZXELQ.js → mcp-ZYZ4DFW2.js} +2 -2
  108. package/dist/bundle/{node-ZRLYQL7J.js → node-LIN7L4VQ.js} +2 -2
  109. package/dist/bundle/node-sqlite-VAH4KZN3.js +62 -0
  110. package/dist/bundle/{oauth-NAIBKERJ.js → oauth-QUE3VCTU.js} +6 -6
  111. package/dist/bundle/{open-3P5EPXPV.js → open-DQ3EVYPB.js} +3 -3
  112. package/dist/bundle/{process-LL77573L.js → process-46XDWPVW.js} +1 -1
  113. package/dist/bundle/{program-VKHR42BF.js → program-X3CZ4XDN.js} +141 -99
  114. package/dist/bundle/{prompt-3TX2SWOY.js → prompt-SAZYCZV3.js} +4 -4
  115. package/dist/bundle/{reasons-GF2TYGX6.js → reasons-366PI7OV.js} +3 -3
  116. package/dist/bundle/recognize-SSBOHOTW.js +22 -0
  117. package/dist/bundle/{remote-663M42Y5.js → remote-EL3FWCQE.js} +6 -6
  118. package/dist/bundle/{rerank-OT2F2DBV.js → rerank-RPIQRJIW.js} +6 -6
  119. package/dist/bundle/{serve-PDNNI6O6.js → serve-AX44DIKK.js} +8 -8
  120. package/dist/bundle/server-DCJIGUW2.js +56 -0
  121. package/dist/bundle/server-WWQSQBFT.js +69 -0
  122. package/dist/bundle/{services-5MCTECBU.js → services-K4UOEMQD.js} +28 -28
  123. package/dist/bundle/{sqlite-runtime-BF3KDM7W.js → sqlite-runtime-N7N3EYGH.js} +4 -4
  124. package/dist/bundle/{state-SZX65E74.js → state-C3S5FD7V.js} +5 -5
  125. package/dist/bundle/{store-TCWNLA3V.js → store-4N3NBUGX.js} +14 -14
  126. package/dist/bundle/{store-UKPGGAPW.js → store-QV4ZNEQ3.js} +16 -16
  127. package/dist/bundle/store-maintenance-command-QL4AECBD.js +57 -0
  128. package/dist/bundle/tokens-Y7HCOXOA.js +103 -0
  129. package/dist/commands/documents.d.ts +5 -1
  130. package/dist/commands/documents.d.ts.map +1 -1
  131. package/dist/commands/documents.js +11 -5
  132. package/dist/commands/documents.js.map +1 -1
  133. package/dist/commands/remote.d.ts +8 -0
  134. package/dist/commands/remote.d.ts.map +1 -1
  135. package/dist/commands/remote.js +16 -0
  136. package/dist/commands/remote.js.map +1 -1
  137. package/dist/commands/session.d.ts.map +1 -1
  138. package/dist/commands/session.js +10 -2
  139. package/dist/commands/session.js.map +1 -1
  140. package/dist/program.d.ts.map +1 -1
  141. package/dist/program.js +4 -1
  142. package/dist/program.js.map +1 -1
  143. package/dist/tokens.d.ts.map +1 -1
  144. package/dist/tokens.js +2 -2
  145. package/dist/tokens.js.map +1 -1
  146. package/dist/version.d.ts +1 -1
  147. package/dist/version.js +1 -1
  148. package/package.json +3 -3
  149. package/dist/bundle/command-contract-MXCBV3GJ.js +0 -38
  150. package/dist/bundle/failure-KZDBSYBR.js +0 -37
  151. package/dist/bundle/first-screen-VQ3RXDMF.js +0 -36
  152. package/dist/bundle/google-api-2GT5PAW2.js +0 -82
  153. package/dist/bundle/mcp-JOQMFGBC.js +0 -95
  154. package/dist/bundle/node-sqlite-TXPSRROT.js +0 -46
  155. package/dist/bundle/server-BFOEPMR7.js +0 -56
  156. package/dist/bundle/server-K566PJ7H.js +0 -69
  157. package/dist/bundle/store-maintenance-command-QHLUVBTJ.js +0 -57
  158. package/dist/bundle/tokens-DFCFRF7I.js +0 -103
  159. /package/dist/bundle/{chunk-O5EHUB2V.js → chunk-2WNDZFGG.js} +0 -0
  160. /package/dist/bundle/{chunk-Q2Z3VCM4.js → chunk-VDZZ46RT.js} +0 -0
@@ -2,10 +2,10 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  walkQuery
5
- } from "./chunk-R2QRP7EJ.js";
5
+ } from "./chunk-G75FZQAZ.js";
6
6
  import {
7
7
  writeSecurely
8
- } from "./chunk-VHT2WI4I.js";
8
+ } from "./chunk-HGWMX7BM.js";
9
9
  import {
10
10
  CliError,
11
11
  array,
@@ -23,12 +23,12 @@ import {
23
23
  safeParse,
24
24
  string,
25
25
  trim
26
- } from "./chunk-BJ3JRO34.js";
26
+ } from "./chunk-EY4CUQW2.js";
27
27
  import {
28
28
  __name
29
29
  } from "./chunk-ZVVMGPBJ.js";
30
30
 
31
- // node_modules/.pnpm/@wirecat+cli-core@0.473.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_39633e3162553a2c86dde989a9811fcb/node_modules/@wirecat/cli-core/dist/documents/blocks.js
31
+ // node_modules/.pnpm/@wirecat+cli-core@0.494.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_231e74d5ae3bca45b1b0de971f6f7b9a/node_modules/@wirecat/cli-core/dist/documents/blocks.js
32
32
  var MARKS = ["bold", "italic", "strike", "code", "link"];
33
33
  var sameMarks = /* @__PURE__ */ __name((a, b) => MARKS.every((mark) => a[mark] === b[mark]), "sameMarks");
34
34
  var normalizeInlines = /* @__PURE__ */ __name((inlines) => {
@@ -76,7 +76,7 @@ var key = /* @__PURE__ */ __name((block, withChecked) => {
76
76
  var blockKey = /* @__PURE__ */ __name((block) => JSON.stringify(key(block, true)), "blockKey");
77
77
  var blockShape = /* @__PURE__ */ __name((block) => JSON.stringify(key(block, false)), "blockShape");
78
78
 
79
- // node_modules/.pnpm/@wirecat+cli-core@0.473.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_39633e3162553a2c86dde989a9811fcb/node_modules/@wirecat/cli-core/dist/services/documents/block-diff.js
79
+ // node_modules/.pnpm/@wirecat+cli-core@0.494.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_231e74d5ae3bca45b1b0de971f6f7b9a/node_modules/@wirecat/cli-core/dist/services/documents/block-diff.js
80
80
  var MAX_CELLS = 4e6;
81
81
  var matches = /* @__PURE__ */ __name((a, b, keyOf) => {
82
82
  const ka = a.map(keyOf);
@@ -222,7 +222,7 @@ var mergeBlocks = /* @__PURE__ */ __name((baseLocal, baseRemote, local, remote,
222
222
  return { status: "clean", blocks, conflicts };
223
223
  }, "mergeBlocks");
224
224
 
225
- // node_modules/.pnpm/@wirecat+cli-core@0.473.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_39633e3162553a2c86dde989a9811fcb/node_modules/@wirecat/cli-core/dist/services/documents/extraction.js
225
+ // node_modules/.pnpm/@wirecat+cli-core@0.494.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_231e74d5ae3bca45b1b0de971f6f7b9a/node_modules/@wirecat/cli-core/dist/services/documents/extraction.js
226
226
  var Proposal = object({
227
227
  kind: picklist(["summary", "digest", "fact", "preference"]),
228
228
  body: pipe(string(), trim(), minLength(1), maxLength(15e3)),
@@ -257,7 +257,7 @@ var extractMemories = /* @__PURE__ */ __name(async (text, complete) => {
257
257
  return { ...proposals, provider: answer.provider, model: answer.model, tokens: answer.tokens };
258
258
  }, "extractMemories");
259
259
 
260
- // node_modules/.pnpm/@wirecat+cli-core@0.473.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_39633e3162553a2c86dde989a9811fcb/node_modules/@wirecat/cli-core/dist/services/documents/ingestion.js
260
+ // node_modules/.pnpm/@wirecat+cli-core@0.494.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_231e74d5ae3bca45b1b0de971f6f7b9a/node_modules/@wirecat/cli-core/dist/services/documents/ingestion.js
261
261
  var documentIngestion = /* @__PURE__ */ __name((store, options) => {
262
262
  const folder = /* @__PURE__ */ __name(async (principal, create) => {
263
263
  if (options.provider)
@@ -384,7 +384,7 @@ var documentIngestion = /* @__PURE__ */ __name((store, options) => {
384
384
  };
385
385
  }, "documentIngestion");
386
386
 
387
- // node_modules/.pnpm/@wirecat+cli-core@0.473.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_39633e3162553a2c86dde989a9811fcb/node_modules/@wirecat/cli-core/dist/services/documents/knowledge.js
387
+ // node_modules/.pnpm/@wirecat+cli-core@0.494.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_231e74d5ae3bca45b1b0de971f6f7b9a/node_modules/@wirecat/cli-core/dist/services/documents/knowledge.js
388
388
  var documentKnowledge = /* @__PURE__ */ __name((store, folder) => {
389
389
  const document = /* @__PURE__ */ __name(async (principal, ref) => {
390
390
  const note = await store.notes.resolveNote(ref);
@@ -526,7 +526,7 @@ var documentKnowledge = /* @__PURE__ */ __name((store, folder) => {
526
526
  return port;
527
527
  }, "documentKnowledge");
528
528
 
529
- // node_modules/.pnpm/@wirecat+cli-core@0.473.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_39633e3162553a2c86dde989a9811fcb/node_modules/@wirecat/cli-core/dist/documents/markdown-blocks.js
529
+ // node_modules/.pnpm/@wirecat+cli-core@0.494.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_231e74d5ae3bca45b1b0de971f6f7b9a/node_modules/@wirecat/cli-core/dist/documents/markdown-blocks.js
530
530
  var parser;
531
531
  var loadParser = /* @__PURE__ */ __name(() => parser ??= Promise.all([
532
532
  import("./mdast-util-from-markdown-FXEPSNER.js"),
@@ -651,7 +651,7 @@ var placedMarkdownBlocks = /* @__PURE__ */ __name(async (markdown) => {
651
651
  return blocks(tree.children);
652
652
  }, "placedMarkdownBlocks");
653
653
 
654
- // node_modules/.pnpm/@wirecat+cli-core@0.473.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_39633e3162553a2c86dde989a9811fcb/node_modules/@wirecat/cli-core/dist/services/documents/markdown-splice.js
654
+ // node_modules/.pnpm/@wirecat+cli-core@0.494.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_231e74d5ae3bca45b1b0de971f6f7b9a/node_modules/@wirecat/cli-core/dist/services/documents/markdown-splice.js
655
655
  var escapeText = /* @__PURE__ */ __name((text) => text.replace(/[\\`*_[\]<>~|]/g, "\\$&"), "escapeText");
656
656
  var codeSpan = /* @__PURE__ */ __name((text) => {
657
657
  const longest = (text.match(/`+/g) ?? []).reduce((most, run) => Math.max(most, run.length), 0);
@@ -837,15 +837,15 @@ var columnsBefore = /* @__PURE__ */ __name((placed, index) => {
837
837
  return columns;
838
838
  }, "columnsBefore");
839
839
 
840
- // node_modules/.pnpm/@wirecat+cli-core@0.473.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_39633e3162553a2c86dde989a9811fcb/node_modules/@wirecat/cli-core/dist/services/documents/mirror-watch.js
840
+ // node_modules/.pnpm/@wirecat+cli-core@0.494.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_231e74d5ae3bca45b1b0de971f6f7b9a/node_modules/@wirecat/cli-core/dist/services/documents/mirror-watch.js
841
841
  import { watch } from "node:fs";
842
842
 
843
- // node_modules/.pnpm/@wirecat+cli-core@0.473.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_39633e3162553a2c86dde989a9811fcb/node_modules/@wirecat/cli-core/dist/services/documents/mirrors.js
843
+ // node_modules/.pnpm/@wirecat+cli-core@0.494.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_231e74d5ae3bca45b1b0de971f6f7b9a/node_modules/@wirecat/cli-core/dist/services/documents/mirrors.js
844
844
  import { createHash as createHash2 } from "node:crypto";
845
845
  import { mkdirSync, readFileSync } from "node:fs";
846
846
  import { join as join2 } from "node:path";
847
847
 
848
- // node_modules/.pnpm/@wirecat+cli-core@0.473.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_39633e3162553a2c86dde989a9811fcb/node_modules/@wirecat/cli-core/dist/services/documents/push.js
848
+ // node_modules/.pnpm/@wirecat+cli-core@0.494.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_231e74d5ae3bca45b1b0de971f6f7b9a/node_modules/@wirecat/cli-core/dist/services/documents/push.js
849
849
  import { createHash, randomUUID } from "node:crypto";
850
850
  import { createReadStream } from "node:fs";
851
851
  import { chmod, readdir, rename, rm, stat, writeFile } from "node:fs/promises";
@@ -1097,7 +1097,7 @@ var pushDocuments = /* @__PURE__ */ __name(async (options) => {
1097
1097
  return result;
1098
1098
  }, "pushDocuments");
1099
1099
 
1100
- // node_modules/.pnpm/@wirecat+cli-core@0.473.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_39633e3162553a2c86dde989a9811fcb/node_modules/@wirecat/cli-core/dist/services/documents/mirrors.js
1100
+ // node_modules/.pnpm/@wirecat+cli-core@0.494.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_231e74d5ae3bca45b1b0de971f6f7b9a/node_modules/@wirecat/cli-core/dist/services/documents/mirrors.js
1101
1101
  var mirrorId = /* @__PURE__ */ __name((root, folder) => createHash2("sha256").update(JSON.stringify([root, folder])).digest("hex").slice(0, 8), "mirrorId");
1102
1102
  var ID = pipe(string(), regex(/^[A-Za-z0-9_-]{1,200}$/));
1103
1103
  var stateSchema = /* @__PURE__ */ __name((kinds) => object({
@@ -1219,7 +1219,7 @@ var syncMirrors = /* @__PURE__ */ __name(async (options) => {
1219
1219
  };
1220
1220
  }, "syncMirrors");
1221
1221
 
1222
- // node_modules/.pnpm/@wirecat+cli-core@0.473.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_39633e3162553a2c86dde989a9811fcb/node_modules/@wirecat/cli-core/dist/services/documents/mirror-watch.js
1222
+ // node_modules/.pnpm/@wirecat+cli-core@0.494.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_231e74d5ae3bca45b1b0de971f6f7b9a/node_modules/@wirecat/cli-core/dist/services/documents/mirror-watch.js
1223
1223
  var sleep = /* @__PURE__ */ __name((milliseconds, signal) => new Promise((resolve) => {
1224
1224
  const finish = /* @__PURE__ */ __name(() => {
1225
1225
  clearTimeout(timer);
@@ -1358,7 +1358,7 @@ async function* watchMirrors(sync, options) {
1358
1358
  }
1359
1359
  __name(watchMirrors, "watchMirrors");
1360
1360
 
1361
- // node_modules/.pnpm/@wirecat+cli-core@0.473.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_39633e3162553a2c86dde989a9811fcb/node_modules/@wirecat/cli-core/dist/services/documents/proposals.js
1361
+ // node_modules/.pnpm/@wirecat+cli-core@0.494.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_231e74d5ae3bca45b1b0de971f6f7b9a/node_modules/@wirecat/cli-core/dist/services/documents/proposals.js
1362
1362
  var extractDocumentMemories = /* @__PURE__ */ __name(async (options) => {
1363
1363
  const source = options.read();
1364
1364
  const text = options.tab ? source.snapshot.tabs.find((tab) => tab.id === options.tab)?.text : source.snapshot.text;
@@ -1408,10 +1408,10 @@ Snapshot: ${source.hash}`;
1408
1408
  };
1409
1409
  }, "extractDocumentMemories");
1410
1410
 
1411
- // node_modules/.pnpm/@wirecat+cli-core@0.473.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_39633e3162553a2c86dde989a9811fcb/node_modules/@wirecat/cli-core/dist/services/documents/sync.js
1411
+ // node_modules/.pnpm/@wirecat+cli-core@0.494.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_231e74d5ae3bca45b1b0de971f6f7b9a/node_modules/@wirecat/cli-core/dist/services/documents/sync.js
1412
1412
  import { createHash as createHash4 } from "node:crypto";
1413
1413
 
1414
- // node_modules/.pnpm/@wirecat+cli-core@0.473.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_39633e3162553a2c86dde989a9811fcb/node_modules/@wirecat/cli-core/dist/documents/scope.js
1414
+ // node_modules/.pnpm/@wirecat+cli-core@0.494.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_231e74d5ae3bca45b1b0de971f6f7b9a/node_modules/@wirecat/cli-core/dist/documents/scope.js
1415
1415
  var within = /* @__PURE__ */ __name((file, roots, folders, seen = /* @__PURE__ */ new Set()) => {
1416
1416
  if (file.trashed)
1417
1417
  return false;
@@ -1426,7 +1426,7 @@ var within = /* @__PURE__ */ __name((file, roots, folders, seen = /* @__PURE__ *
1426
1426
  });
1427
1427
  }, "within");
1428
1428
 
1429
- // node_modules/.pnpm/@wirecat+cli-core@0.473.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_39633e3162553a2c86dde989a9811fcb/node_modules/@wirecat/cli-core/dist/documents/catalog.js
1429
+ // node_modules/.pnpm/@wirecat+cli-core@0.494.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_231e74d5ae3bca45b1b0de971f6f7b9a/node_modules/@wirecat/cli-core/dist/documents/catalog.js
1430
1430
  var catalogFiles = /* @__PURE__ */ __name((state, roots) => {
1431
1431
  const folders = state.pending?.folders ?? state.folders;
1432
1432
  const files = new Map(Object.values(state.documents).map((doc) => [doc.metadata.id, doc.metadata]));
@@ -1444,7 +1444,7 @@ var catalogFiles = /* @__PURE__ */ __name((state, roots) => {
1444
1444
  return [...files.values()].filter((file) => within(file, roots, folders));
1445
1445
  }, "catalogFiles");
1446
1446
 
1447
- // node_modules/.pnpm/@wirecat+cli-core@0.473.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_39633e3162553a2c86dde989a9811fcb/node_modules/@wirecat/cli-core/dist/services/documents/plan.js
1447
+ // node_modules/.pnpm/@wirecat+cli-core@0.494.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_231e74d5ae3bca45b1b0de971f6f7b9a/node_modules/@wirecat/cli-core/dist/services/documents/plan.js
1448
1448
  import { createHash as createHash3 } from "node:crypto";
1449
1449
  var scopeHash = /* @__PURE__ */ __name((roots) => createHash3("sha256").update(JSON.stringify([...roots].sort())).digest("hex"), "scopeHash");
1450
1450
  var changedSince = /* @__PURE__ */ __name((previous, file) => previous.version !== file.version || previous.modifiedAt !== file.modifiedAt || previous.name !== file.name || previous.canDownload !== file.canDownload || JSON.stringify(previous.parents) !== JSON.stringify(file.parents), "changedSince");
@@ -1628,7 +1628,7 @@ var planDocuments = /* @__PURE__ */ __name(async (options, source, state, roots,
1628
1628
  return { scope, cursor: finalCursor, folders: scopedFolders, jobs, skipped };
1629
1629
  }, "planDocuments");
1630
1630
 
1631
- // node_modules/.pnpm/@wirecat+cli-core@0.473.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_39633e3162553a2c86dde989a9811fcb/node_modules/@wirecat/cli-core/dist/services/documents/sync.js
1631
+ // node_modules/.pnpm/@wirecat+cli-core@0.494.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_231e74d5ae3bca45b1b0de971f6f7b9a/node_modules/@wirecat/cli-core/dist/services/documents/sync.js
1632
1632
  var MAX_PICTURE_BYTES = 25 * 1024 * 1024;
1633
1633
  var SAVE_EVERY_MS2 = 2e3;
1634
1634
  var SAVE_EVERY_ITEMS = 25;
@@ -5,17 +5,17 @@ import {
5
5
  checkConfigText,
6
6
  issueMessage,
7
7
  usableProfileName
8
- } from "./chunk-AUS6TKP5.js";
8
+ } from "./chunk-QBECV7NO.js";
9
9
  import {
10
10
  LEVELS
11
- } from "./chunk-PJ7IQVOM.js";
11
+ } from "./chunk-6DDXB5WB.js";
12
12
  import {
13
13
  MAX_TEXT_CHARS
14
- } from "./chunk-5TC3NCAF.js";
14
+ } from "./chunk-3XX52F42.js";
15
15
  import {
16
16
  resolvePaths,
17
17
  saveConfigFile
18
- } from "./chunk-VHT2WI4I.js";
18
+ } from "./chunk-HGWMX7BM.js";
19
19
  import {
20
20
  CliError,
21
21
  array,
@@ -36,7 +36,7 @@ import {
36
36
  strictObject,
37
37
  string,
38
38
  union
39
- } from "./chunk-BJ3JRO34.js";
39
+ } from "./chunk-EY4CUQW2.js";
40
40
  import {
41
41
  __name
42
42
  } from "./chunk-ZVVMGPBJ.js";
@@ -10,12 +10,12 @@ import {
10
10
  optional,
11
11
  pipe,
12
12
  safeParse
13
- } from "./chunk-BJ3JRO34.js";
13
+ } from "./chunk-EY4CUQW2.js";
14
14
  import {
15
15
  __name
16
16
  } from "./chunk-ZVVMGPBJ.js";
17
17
 
18
- // node_modules/.pnpm/@wirecat+cli-core@0.473.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_39633e3162553a2c86dde989a9811fcb/node_modules/@wirecat/cli-core/dist/models/options.js
18
+ // node_modules/.pnpm/@wirecat+cli-core@0.494.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_231e74d5ae3bca45b1b0de971f6f7b9a/node_modules/@wirecat/cli-core/dist/models/options.js
19
19
  var checkedOptions = /* @__PURE__ */ __name((provider, schema, options) => {
20
20
  const parsed = safeParse(schema, options);
21
21
  if (!parsed.success) {