@wirecat/drive-cli 0.72.0 → 0.72.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (176) hide show
  1. package/dist/bin/drive.js +2 -2
  2. package/dist/bundle/agent-GOCD4ZW2.js +46 -0
  3. package/dist/bundle/{all-profiles-GXGDVNQJ.js → all-profiles-PZVP3G73.js} +14 -14
  4. package/dist/bundle/{anthropic-H5C4GQHC.js → anthropic-PUOTKSYV.js} +8 -8
  5. package/dist/bundle/{app-server-EQ3UK4C7.js → app-server-MKDCXRZM.js} +79 -79
  6. package/dist/bundle/{bun-DTJVSRY3.js → bun-NS5YLOQT.js} +2 -2
  7. package/dist/bundle/{bun-sqlite-JIFY7MAE.js → bun-sqlite-KSKWRLLO.js} +9 -9
  8. package/dist/bundle/{chunk-KF3ZBQJV.js → chunk-2CG3LUQS.js} +4 -4
  9. package/dist/bundle/{chunk-4HPXWYTE.js → chunk-2TVHFJKV.js} +1 -1
  10. package/dist/bundle/{chunk-ASTKHB6B.js → chunk-35GROSBS.js} +41 -41
  11. package/dist/bundle/{chunk-UWG3PRY7.js → chunk-3CH7I452.js} +7 -7
  12. package/dist/bundle/{chunk-OAONP6KI.js → chunk-3QBRS3JT.js} +8 -8
  13. package/dist/bundle/{chunk-2Q325BBD.js → chunk-3T7JIHSO.js} +8 -8
  14. package/dist/bundle/{chunk-77OBW43F.js → chunk-3VIEGRBA.js} +6 -6
  15. package/dist/bundle/{chunk-CIFE4KPX.js → chunk-3YCUYFTD.js} +45 -45
  16. package/dist/bundle/{chunk-6CCO3JCM.js → chunk-3ZGWJYSG.js} +20 -20
  17. package/dist/bundle/{chunk-BPA3R4KN.js → chunk-43PCMVTZ.js} +1 -1
  18. package/dist/bundle/{chunk-XQZEMRCU.js → chunk-4DK55MLP.js} +10 -10
  19. package/dist/bundle/{chunk-DOQMH4DC.js → chunk-4P6D6CUS.js} +12 -10
  20. package/dist/bundle/{chunk-E3VWZC3K.js → chunk-54O5NJRC.js} +12 -12
  21. package/dist/bundle/{chunk-5KWCO56H.js → chunk-5BHP4FVM.js} +2 -2
  22. package/dist/bundle/{chunk-GUMKKRE6.js → chunk-6JU4KLAZ.js} +63 -63
  23. package/dist/bundle/{chunk-ZFDSJ5YJ.js → chunk-6KND2DYT.js} +6 -6
  24. package/dist/bundle/{chunk-UIQ35CA5.js → chunk-7YPZPJTB.js} +1 -1
  25. package/dist/bundle/{chunk-GU6ICH53.js → chunk-A5XNUMW7.js} +2 -2
  26. package/dist/bundle/{chunk-TTPWKTVR.js → chunk-AG34MPVN.js} +1 -1
  27. package/dist/bundle/{chunk-KLPFDFLI.js → chunk-B5V2U7IS.js} +9 -9
  28. package/dist/bundle/{chunk-DCPWZIOV.js → chunk-B6JC5RS3.js} +11 -11
  29. package/dist/bundle/{chunk-O7CZZ36M.js → chunk-BDZXGDGI.js} +3 -3
  30. package/dist/bundle/{chunk-NBMGDRP4.js → chunk-BMTMGMGE.js} +1 -1
  31. package/dist/bundle/{chunk-OPIPG6AP.js → chunk-CP2TZXAG.js} +8 -8
  32. package/dist/bundle/{chunk-ZJKXSMXK.js → chunk-DOEP4EPW.js} +42 -42
  33. package/dist/bundle/{chunk-4IUNYYYL.js → chunk-E2TMWONO.js} +395 -395
  34. package/dist/bundle/{chunk-N4GTCPML.js → chunk-E5EYJU5R.js} +1 -1
  35. package/dist/bundle/{chunk-SPNPJ3FZ.js → chunk-EXHTGQR2.js} +1 -1
  36. package/dist/bundle/{chunk-AA4LKC6W.js → chunk-FJQO5OHR.js} +47 -30
  37. package/dist/bundle/{chunk-COJTCEZP.js → chunk-FKP4T7A4.js} +15 -15
  38. package/dist/bundle/{chunk-NNGA4QDR.js → chunk-FTL3WXZB.js} +12 -12
  39. package/dist/bundle/{chunk-KWDZ3KVH.js → chunk-G2CH4FRW.js} +4 -4
  40. package/dist/bundle/{chunk-PRYMT3OG.js → chunk-G2KKMQRN.js} +2 -2
  41. package/dist/bundle/{chunk-FBEZSA76.js → chunk-G7SKXAVZ.js} +5 -5
  42. package/dist/bundle/{chunk-GIEZYBRC.js → chunk-GFI3UUIU.js} +1 -1
  43. package/dist/bundle/{chunk-VQPT3Y7W.js → chunk-GTROGY74.js} +12 -12
  44. package/dist/bundle/{chunk-R64OSDOD.js → chunk-GYAPDUF5.js} +5 -5
  45. package/dist/bundle/{chunk-RSPBVKOC.js → chunk-HCMEU7AF.js} +8 -8
  46. package/dist/bundle/{chunk-CWPYDT73.js → chunk-HDGJ7IDE.js} +4 -4
  47. package/dist/bundle/{chunk-WMG3H2VK.js → chunk-HMN26CVU.js} +2 -2
  48. package/dist/bundle/{chunk-4JS32SRX.js → chunk-HOICQNJX.js} +5 -5
  49. package/dist/bundle/{chunk-J4NUHSM7.js → chunk-HPS2YGSZ.js} +1 -1
  50. package/dist/bundle/{chunk-ZFUZEFU6.js → chunk-HSASPXRW.js} +3 -3
  51. package/dist/bundle/{chunk-EVG3AA5M.js → chunk-IABPGOMT.js} +2 -2
  52. package/dist/bundle/{chunk-OLCU7Q2B.js → chunk-IBQZT2YD.js} +1 -1
  53. package/dist/bundle/{chunk-DHMNCOQI.js → chunk-IE3R46YN.js} +57 -57
  54. package/dist/bundle/{chunk-QUZFDU4K.js → chunk-IE6O7463.js} +4 -4
  55. package/dist/bundle/{chunk-R32DHS6J.js → chunk-IPBYU43F.js} +19 -14
  56. package/dist/bundle/{chunk-3FRQ6V4T.js → chunk-IS7STZEB.js} +3 -3
  57. package/dist/bundle/{chunk-VPQSI5IU.js → chunk-IV77ZFF4.js} +2 -2
  58. package/dist/bundle/{chunk-5H747A76.js → chunk-JDGF3YYS.js} +445 -1387
  59. package/dist/bundle/{chunk-FRCJHGZM.js → chunk-JHAACT4I.js} +2 -2
  60. package/dist/bundle/{chunk-YAIOEPKU.js → chunk-JRED7BNX.js} +160 -160
  61. package/dist/bundle/{chunk-K652FYCO.js → chunk-JSYUB4SM.js} +2 -2
  62. package/dist/bundle/{chunk-YWOLQEDV.js → chunk-JVM75M4H.js} +3 -3
  63. package/dist/bundle/{chunk-IMAWQC5K.js → chunk-JZ65CQWK.js} +6 -6
  64. package/dist/bundle/{chunk-KX4C32WD.js → chunk-KBR7OC5S.js} +2 -2
  65. package/dist/bundle/{chunk-OHR6IZNH.js → chunk-KI6OOW6D.js} +8 -1
  66. package/dist/bundle/{chunk-SQHDSIFL.js → chunk-KOI5G7NM.js} +6 -6
  67. package/dist/bundle/{chunk-QKBPCX7Y.js → chunk-KPBUJQKT.js} +1 -1
  68. package/dist/bundle/{chunk-M2ZWYVWO.js → chunk-KVBGIZ2C.js} +1 -1
  69. package/dist/bundle/{chunk-UJY26HW4.js → chunk-LKUWH6KU.js} +1 -1
  70. package/dist/bundle/{chunk-QDUIVMEW.js → chunk-MA6U4XH2.js} +1 -1
  71. package/dist/bundle/{chunk-U7VEJ3CW.js → chunk-MA7ETVTZ.js} +29 -190
  72. package/dist/bundle/{chunk-FUDUXIVG.js → chunk-MDJUYCHT.js} +1 -1
  73. package/dist/bundle/{chunk-FIZOPJYY.js → chunk-MGC2BAD2.js} +1 -1
  74. package/dist/bundle/{chunk-GXGSC622.js → chunk-OBDPKDGB.js} +6 -6
  75. package/dist/bundle/{chunk-OESP4PHB.js → chunk-ODTBJGWQ.js} +17 -17
  76. package/dist/bundle/{chunk-KFZCHJRT.js → chunk-PB6ACIME.js} +2 -2
  77. package/dist/bundle/{chunk-XZ7MO6EU.js → chunk-PMAV3RNP.js} +7 -7
  78. package/dist/bundle/{chunk-FNAYSZWK.js → chunk-PSY67L73.js} +23 -23
  79. package/dist/bundle/{chunk-5BNMWSU2.js → chunk-PUVQOZ2N.js} +30 -30
  80. package/dist/bundle/{chunk-OLDQLEPA.js → chunk-QB7K6PIP.js} +6 -6
  81. package/dist/bundle/{chunk-HAGXTGJC.js → chunk-QK7GKFKB.js} +4 -4
  82. package/dist/bundle/{chunk-X5BGAZC5.js → chunk-QMUWHKP5.js} +6 -6
  83. package/dist/bundle/{chunk-ZPUY3COZ.js → chunk-QURQ2OU2.js} +13 -13
  84. package/dist/bundle/{chunk-BM6V7456.js → chunk-R3EDZWXF.js} +5 -5
  85. package/dist/bundle/{chunk-GWCDOYSC.js → chunk-RM4DO2WZ.js} +1 -1
  86. package/dist/bundle/{chunk-CKB4XZZJ.js → chunk-S27UKJVL.js} +14 -14
  87. package/dist/bundle/{chunk-ZKWT6HXT.js → chunk-S3SLDYTU.js} +1 -1
  88. package/dist/bundle/{chunk-7EFM6AW3.js → chunk-SAEBHENE.js} +4 -4
  89. package/dist/bundle/{chunk-K6ZWNTXY.js → chunk-SM7Z2BQF.js} +17 -17
  90. package/dist/bundle/{chunk-QSLOACDT.js → chunk-SODB63MR.js} +36 -36
  91. package/dist/bundle/{chunk-N24YSLED.js → chunk-SSFGSY77.js} +1707 -575
  92. package/dist/bundle/{chunk-D4JNCXS7.js → chunk-SUQT4KI2.js} +7 -7
  93. package/dist/bundle/{chunk-ST35FIUG.js → chunk-SWQDKO6D.js} +3 -3
  94. package/dist/bundle/{chunk-55FH6IEL.js → chunk-T3OK6AYZ.js} +5 -5
  95. package/dist/bundle/{chunk-IVGVVSPW.js → chunk-TFIAD57H.js} +4 -4
  96. package/dist/bundle/{chunk-A3S7QM5L.js → chunk-TUL6MCTY.js} +2 -2
  97. package/dist/bundle/{chunk-DWRUOLBF.js → chunk-UL5HSHFU.js} +4 -4
  98. package/dist/bundle/{chunk-ML2QIWX2.js → chunk-UT64BBEP.js} +4 -4
  99. package/dist/bundle/{chunk-6ZW2ZJYC.js → chunk-VBIZD5V5.js} +2 -2
  100. package/dist/bundle/{chunk-BO6EDBYJ.js → chunk-VHTELRUA.js} +3 -3
  101. package/dist/bundle/{chunk-47L262VI.js → chunk-VOQICE3G.js} +7 -7
  102. package/dist/bundle/{chunk-5U3NCE5R.js → chunk-WDJRUNQN.js} +8 -8
  103. package/dist/bundle/{chunk-XC6TRWLZ.js → chunk-X5CXANSA.js} +3 -3
  104. package/dist/bundle/{chunk-FTG5QBSD.js → chunk-X6HPQKAI.js} +31 -31
  105. package/dist/bundle/{chunk-75DAHQOV.js → chunk-XKWQDQ4B.js} +3 -3
  106. package/dist/bundle/{chunk-R57QUYBG.js → chunk-XZEVHUKI.js} +3 -3
  107. package/dist/bundle/{chunk-VAR3MJU6.js → chunk-YE7DJB3F.js} +3 -3
  108. package/dist/bundle/{chunk-FBQJN74J.js → chunk-YJVQ5GST.js} +1 -1
  109. package/dist/bundle/{chunk-MUFF2YTH.js → chunk-YRCGFSRR.js} +2 -2
  110. package/dist/bundle/{chunk-KP2XMCNT.js → chunk-ZNFXKFGF.js} +6 -6
  111. package/dist/bundle/{cli-2P5FW2RL.js → cli-KXRWXGTS.js} +107 -107
  112. package/dist/bundle/command-contract-BGNT7MTQ.js +45 -0
  113. package/dist/bundle/{command-server-entry-KP2UDGLA.js → command-server-entry-7FZX74T6.js} +35 -35
  114. package/dist/bundle/{decode-K2JZ5D6V.js → decode-SZ6W34U3.js} +8 -8
  115. package/dist/bundle/{dispatch-KOQZA74A.js → dispatch-4KNSZ3PI.js} +9 -9
  116. package/dist/bundle/drive.js +11 -11
  117. package/dist/bundle/{echarts-URO3QGCG.js → echarts-ISH62J4E.js} +2 -2
  118. package/dist/bundle/{embed-JLIPWTNN.js → embed-6ODGTZPK.js} +9 -9
  119. package/dist/bundle/{embedder-LUTDO3HS.js → embedder-6FY67FTQ.js} +12 -12
  120. package/dist/bundle/entry-2SA6ZX7E.js +25 -0
  121. package/dist/bundle/{failure-GJMQLM7O.js → failure-V3ILKUTX.js} +4 -4
  122. package/dist/bundle/first-run-ZNKPPD6M.js +31 -0
  123. package/dist/bundle/first-screen-WF6GYLPN.js +45 -0
  124. package/dist/bundle/google-QCADNPCQ.js +46 -0
  125. package/dist/bundle/{google-api-RFXKRLL4.js → google-api-ZTI3NKZX.js} +85 -85
  126. package/dist/bundle/grants-BPN5AGDK.js +133 -0
  127. package/dist/bundle/{identity-FXPB5EMT.js → identity-YX4IPGOO.js} +6 -6
  128. package/dist/bundle/{instructions-IROIUVZI.js → instructions-G5ZGHVFB.js} +1 -1
  129. package/dist/bundle/{login-WIY5VQU7.js → login-CVX5VJX6.js} +91 -91
  130. package/dist/bundle/{mcp-NJIOKW3E.js → mcp-MQ2L5IIM.js} +2 -2
  131. package/dist/bundle/meeting-combined-HKZJMJ6Q.js +28 -0
  132. package/dist/bundle/meeting-model-DSE4GRVE.js +29 -0
  133. package/dist/bundle/{meeting-semantic-62QNQMOM.js → meeting-semantic-OHG2QN2G.js} +10 -10
  134. package/dist/bundle/{node-IACCI2CW.js → node-NLJINXVQ.js} +2 -2
  135. package/dist/bundle/{node-sqlite-WYIRC7C7.js → node-sqlite-KDFQDYVZ.js} +10 -10
  136. package/dist/bundle/notes-search-3VBVSQ3R.js +70 -0
  137. package/dist/bundle/oauth-M3E62ZHC.js +22 -0
  138. package/dist/bundle/{open-H32B6BCT.js → open-WVRUVBIZ.js} +8 -8
  139. package/dist/bundle/{openai-VHMPJJUG.js → openai-JJWOSJMV.js} +20 -20
  140. package/dist/bundle/{process-RNHPF5OK.js → process-LPVAYRO7.js} +1 -1
  141. package/dist/bundle/{program-GYMJ3DDH.js → program-ZJRIP25J.js} +108 -108
  142. package/dist/bundle/{prompt-TOG2CRCE.js → prompt-XCDHTEAO.js} +8 -8
  143. package/dist/bundle/{reasons-TLFQ45YX.js → reasons-REEEQDAZ.js} +5 -5
  144. package/dist/bundle/{recognize-GYGY45EY.js → recognize-OZLFDJAT.js} +7 -7
  145. package/dist/bundle/{remote-6XN2QLI5.js → remote-MDPYVCZB.js} +13 -13
  146. package/dist/bundle/{rerank-HJO3O4TW.js → rerank-FLZWJNHA.js} +10 -10
  147. package/dist/bundle/{serve-XPCNLHCR.js → serve-5UV5VLRV.js} +12 -12
  148. package/dist/bundle/{server-WPT3NC5B.js → server-53A2X2MK.js} +71 -71
  149. package/dist/bundle/server-5GMURMDE.js +97 -0
  150. package/dist/bundle/{services-253KKKVU.js → services-XSMH7BXB.js} +58 -58
  151. package/dist/bundle/{sqlite-runtime-EZASGJXW.js → sqlite-runtime-E3L7ENFU.js} +9 -9
  152. package/dist/bundle/{start-UHI35JFL.js → start-4S2VNR4J.js} +7 -7
  153. package/dist/bundle/{state-KJTSPFGK.js → state-TQI4JSH7.js} +9 -9
  154. package/dist/bundle/{store-G5B7T7M7.js → store-GS7PU6PJ.js} +26 -26
  155. package/dist/bundle/{store-62J2H2A3.js → store-VYJPL7MW.js} +28 -28
  156. package/dist/bundle/store-maintenance-command-JJVYUZMG.js +85 -0
  157. package/dist/bundle/surface-JC4XVMZR.js +83 -0
  158. package/dist/bundle/tokens-KJQ5EAPW.js +133 -0
  159. package/dist/version.d.ts +1 -1
  160. package/dist/version.js +1 -1
  161. package/package.json +3 -3
  162. package/dist/bundle/agent-23OB2NZP.js +0 -46
  163. package/dist/bundle/command-contract-BMQT2G5X.js +0 -45
  164. package/dist/bundle/entry-AVF6LMG7.js +0 -25
  165. package/dist/bundle/first-run-VYTIEUDA.js +0 -31
  166. package/dist/bundle/first-screen-QVZPF7KL.js +0 -45
  167. package/dist/bundle/google-VX7IPACN.js +0 -46
  168. package/dist/bundle/grants-4XWJFVD6.js +0 -133
  169. package/dist/bundle/meeting-combined-JUNV35GM.js +0 -28
  170. package/dist/bundle/meeting-model-XY4UNWWK.js +0 -29
  171. package/dist/bundle/notes-search-DEDUJKSN.js +0 -70
  172. package/dist/bundle/oauth-HXBXF4VI.js +0 -22
  173. package/dist/bundle/server-UBJZ66XE.js +0 -97
  174. package/dist/bundle/store-maintenance-command-C6T4YLVF.js +0 -85
  175. package/dist/bundle/surface-3OT64BHS.js +0 -83
  176. package/dist/bundle/tokens-EHYO6D2X.js +0 -133
@@ -23,28 +23,28 @@ import {
23
23
  tagMemberIds,
24
24
  thingOf,
25
25
  write
26
- } from "./chunk-4IUNYYYL.js";
26
+ } from "./chunk-E2TMWONO.js";
27
27
  import {
28
28
  fold
29
- } from "./chunk-TTPWKTVR.js";
29
+ } from "./chunk-AG34MPVN.js";
30
30
  import {
31
31
  ADDED_PROVIDER,
32
32
  filesAccountSql,
33
33
  folderProviderOf,
34
34
  folderProviderSql,
35
35
  isDocumentAccountProvider
36
- } from "./chunk-COJTCEZP.js";
36
+ } from "./chunk-FKP4T7A4.js";
37
37
  import {
38
38
  damagedFile
39
- } from "./chunk-6ZW2ZJYC.js";
39
+ } from "./chunk-VBIZD5V5.js";
40
40
  import {
41
41
  CliError
42
- } from "./chunk-OLCU7Q2B.js";
42
+ } from "./chunk-IBQZT2YD.js";
43
43
  import {
44
44
  __name
45
45
  } from "./chunk-ZVVMGPBJ.js";
46
46
 
47
- // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.128.0_commander@15.0.0_esbuild@0.28.2_typ_a55806ccf2eb39d6be3eaf4c54d1a60a/node_modules/@wirecat/cli-core/dist/store/damage.js
47
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/store/damage.js
48
48
  var DERIVED = /* @__PURE__ */ new Set(["mentions", "involvements", "embeddings"]);
49
49
  var named = /* @__PURE__ */ __name((tables) => tables.length <= 5 ? tables.join(", ") : `${tables.slice(0, 5).join(", ")} and ${tables.length - 5} more`, "named");
50
50
  var isDerivedTable = /* @__PURE__ */ __name((table, searchIndexes) => DERIVED.has(table) || table.startsWith("vector_index_") || searchIndexes.some((index) => table === index || table.startsWith(`${index}_`)), "isDerivedTable");
@@ -147,11 +147,11 @@ var storeDamageReport = /* @__PURE__ */ __name(({ health, command, mark = null,
147
147
  };
148
148
  }, "storeDamageReport");
149
149
 
150
- // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.128.0_commander@15.0.0_esbuild@0.28.2_typ_a55806ccf2eb39d6be3eaf4c54d1a60a/node_modules/@wirecat/cli-core/dist/store/document-transfer/index.js
150
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/store/document-transfer/index.js
151
151
  import { realpathSync, statSync } from "node:fs";
152
152
  import { resolve } from "node:path";
153
153
 
154
- // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.128.0_commander@15.0.0_esbuild@0.28.2_typ_a55806ccf2eb39d6be3eaf4c54d1a60a/node_modules/@wirecat/cli-core/dist/store/sqlite/document-transfer/people.js
154
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/store/sqlite/document-transfer/people.js
155
155
  var planPeople = /* @__PURE__ */ __name((database, snapshot, mappings, bindings, conflicts) => {
156
156
  const creatable = /* @__PURE__ */ new Set();
157
157
  let people = 0, identities = 0;
@@ -214,11 +214,11 @@ var copyPeople = /* @__PURE__ */ __name((database, snapshot, mappings, now) => {
214
214
  }
215
215
  }, "copyPeople");
216
216
 
217
- // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.128.0_commander@15.0.0_esbuild@0.28.2_typ_a55806ccf2eb39d6be3eaf4c54d1a60a/node_modules/@wirecat/cli-core/dist/store/document-transfer/digest.js
217
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/store/document-transfer/digest.js
218
218
  import { createHash } from "node:crypto";
219
219
  var digest = /* @__PURE__ */ __name((value) => createHash("sha256").update(JSON.stringify(value)).digest("hex"), "digest");
220
220
 
221
- // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.128.0_commander@15.0.0_esbuild@0.28.2_typ_a55806ccf2eb39d6be3eaf4c54d1a60a/node_modules/@wirecat/cli-core/dist/store/sqlite/document-transfer/collection.js
221
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/store/sqlite/document-transfer/collection.js
222
222
  var documentsKeyOf = /* @__PURE__ */ __name((collection) => {
223
223
  const colon = collection.indexOf(":");
224
224
  const provider = collection.slice(0, colon);
@@ -262,7 +262,7 @@ var currentCollection = /* @__PURE__ */ __name((row) => {
262
262
  };
263
263
  }, "currentCollection");
264
264
 
265
- // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.128.0_commander@15.0.0_esbuild@0.28.2_typ_a55806ccf2eb39d6be3eaf4c54d1a60a/node_modules/@wirecat/cli-core/dist/store/sqlite/document-transfer/plan.js
265
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/store/sqlite/document-transfer/plan.js
266
266
  var planTransfer = /* @__PURE__ */ __name((database, snapshot, sourceKey, bindings) => {
267
267
  const mappings = /* @__PURE__ */ new Map();
268
268
  const missing = /* @__PURE__ */ new Set(), conflicts = /* @__PURE__ */ new Set();
@@ -429,7 +429,7 @@ var planTransfer = /* @__PURE__ */ __name((database, snapshot, sourceKey, bindin
429
429
  };
430
430
  }, "planTransfer");
431
431
 
432
- // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.128.0_commander@15.0.0_esbuild@0.28.2_typ_a55806ccf2eb39d6be3eaf4c54d1a60a/node_modules/@wirecat/cli-core/dist/store/sqlite/document-transfer/snapshot.js
432
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/store/sqlite/document-transfer/snapshot.js
433
433
  var TRANSFER_TABLES = { document: "documents", note: "notes", memory: "memories", fact: "facts" };
434
434
  var MAX_ENTITIES = 1e3;
435
435
  var MAX_AUXILIARY = 1e4;
@@ -591,7 +591,7 @@ var transferSnapshot = /* @__PURE__ */ __name((database, collection) => read(dat
591
591
  };
592
592
  }), "transferSnapshot");
593
593
 
594
- // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.128.0_commander@15.0.0_esbuild@0.28.2_typ_a55806ccf2eb39d6be3eaf4c54d1a60a/node_modules/@wirecat/cli-core/dist/store/sqlite/document-transfer/apply.js
594
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/store/sqlite/document-transfer/apply.js
595
595
  var providerHere = /* @__PURE__ */ __name(({ provider, name, settings }) => {
596
596
  if (provider !== "folder" || String(name ?? "").startsWith("google-drive:"))
597
597
  return provider ?? null;
@@ -763,7 +763,7 @@ var remapEntity = /* @__PURE__ */ __name((database, entity, id, mappings) => {
763
763
  database.prepare(`UPDATE ${TRANSFER_TABLES[entity.kind]} SET ${columns.join(",")} WHERE id=?`).run(...values, id);
764
764
  }, "remapEntity");
765
765
 
766
- // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.128.0_commander@15.0.0_esbuild@0.28.2_typ_a55806ccf2eb39d6be3eaf4c54d1a60a/node_modules/@wirecat/cli-core/dist/store/document-transfer/index.js
766
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/store/document-transfer/index.js
767
767
  var locations = /* @__PURE__ */ __name((options) => {
768
768
  for (const value of [options.source, options.destination, options.collection])
769
769
  if (typeof value !== "string" || !value.trim())
@@ -865,7 +865,7 @@ var applyWith = /* @__PURE__ */ __name(async (location, options) => {
865
865
  }
866
866
  }, "applyWith");
867
867
 
868
- // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.128.0_commander@15.0.0_esbuild@0.28.2_typ_a55806ccf2eb39d6be3eaf4c54d1a60a/node_modules/@wirecat/cli-core/dist/store/health.js
868
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/store/health.js
869
869
  import { existsSync, statSync as statSync2 } from "node:fs";
870
870
  var JSON_COLUMNS = {
871
871
  accounts: ["settings"],
@@ -1007,7 +1007,7 @@ var storeHealth = /* @__PURE__ */ __name(async (path, { deep = false } = {}) =>
1007
1007
  }
1008
1008
  }, "storeHealth");
1009
1009
 
1010
- // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.128.0_commander@15.0.0_esbuild@0.28.2_typ_a55806ccf2eb39d6be3eaf4c54d1a60a/node_modules/@wirecat/cli-core/dist/store/project-transfer/preview.js
1010
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/store/project-transfer/preview.js
1011
1011
  var previewProjectAnnotationSnapshot = /* @__PURE__ */ __name(async (options) => {
1012
1012
  if (!options || typeof options !== "object" || Array.isArray(options))
1013
1013
  throw new CliError("validation_error", "project preview options are required");
@@ -1033,7 +1033,7 @@ var previewProjectAnnotationSnapshot = /* @__PURE__ */ __name(async (options) =>
1033
1033
  });
1034
1034
  }, "previewProjectAnnotationSnapshot");
1035
1035
 
1036
- // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.128.0_commander@15.0.0_esbuild@0.28.2_typ_a55806ccf2eb39d6be3eaf4c54d1a60a/node_modules/@wirecat/cli-core/dist/store/project-transfer/snapshot.js
1036
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/store/project-transfer/snapshot.js
1037
1037
  var snapshotProjectAnnotations = /* @__PURE__ */ __name(async (options) => {
1038
1038
  if (!options || typeof options !== "object" || Array.isArray(options))
1039
1039
  throw new CliError("validation_error", "snapshot options are required");
@@ -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-OLCU7Q2B.js";
5
+ } from "./chunk-IBQZT2YD.js";
6
6
  import {
7
7
  __name
8
8
  } from "./chunk-ZVVMGPBJ.js";
9
9
 
10
- // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.128.0_commander@15.0.0_esbuild@0.28.2_typ_a55806ccf2eb39d6be3eaf4c54d1a60a/node_modules/@wirecat/cli-core/dist/cli/messenger/lacks.js
10
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/cli/messenger/lacks.js
11
11
  var COMMAND_NEEDS = {
12
12
  "account update": ["updateProfile", "change the profile"],
13
13
  "account sessions list": ["sessions", "list the account's sessions"],
@@ -3,18 +3,18 @@ const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  secretNamed,
5
5
  withoutSecrets
6
- } from "./chunk-UJY26HW4.js";
6
+ } from "./chunk-LKUWH6KU.js";
7
7
  import {
8
8
  isCliFailure
9
- } from "./chunk-6ZW2ZJYC.js";
9
+ } from "./chunk-VBIZD5V5.js";
10
10
  import {
11
11
  isContentKey
12
- } from "./chunk-EVG3AA5M.js";
12
+ } from "./chunk-IABPGOMT.js";
13
13
  import {
14
14
  __name
15
15
  } from "./chunk-ZVVMGPBJ.js";
16
16
 
17
- // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.128.0_commander@15.0.0_esbuild@0.28.2_typ_a55806ccf2eb39d6be3eaf4c54d1a60a/node_modules/@wirecat/cli-core/dist/runs/events.js
17
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/runs/events.js
18
18
  var providerErrorKey = /* @__PURE__ */ __name((value) => typeof value === "string" && /^[A-Za-z][A-Za-z0-9._-]{0,63}$/.test(value) ? value : void 0, "providerErrorKey");
19
19
  var renderEvent = /* @__PURE__ */ __name((event) => {
20
20
  if (event.event === "store")
@@ -66,11 +66,11 @@ var MARK = { request: "\u2192", response: "\u2190", cache: "\u2022", warning: "!
66
66
  var age = /* @__PURE__ */ __name((ms) => ms < 1e3 ? `${ms}ms` : `${Math.round(ms / 1e3)}s`, "age");
67
67
  var size = /* @__PURE__ */ __name((bytes) => bytes < 1e3 ? `${bytes} B` : `${(bytes / 1e3).toFixed(1)} kB`, "size");
68
68
 
69
- // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.128.0_commander@15.0.0_esbuild@0.28.2_typ_a55806ccf2eb39d6be3eaf4c54d1a60a/node_modules/@wirecat/cli-core/dist/runs/run-context.js
69
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/runs/run-context.js
70
70
  import { AsyncLocalStorage } from "node:async_hooks";
71
71
  import { createHash } from "node:crypto";
72
72
 
73
- // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.128.0_commander@15.0.0_esbuild@0.28.2_typ_a55806ccf2eb39d6be3eaf4c54d1a60a/node_modules/@wirecat/cli-core/dist/runs/error-detail.js
73
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/runs/error-detail.js
74
74
  import { homedir } from "node:os";
75
75
  var MESSAGE_AT_MOST = 500;
76
76
  var CAUSES_AT_MOST = 5;
@@ -183,7 +183,7 @@ var redactText = /* @__PURE__ */ __name((text) => {
183
183
  return out.length > MESSAGE_AT_MOST ? `${out.slice(0, MESSAGE_AT_MOST)}\u2026` : out;
184
184
  }, "redactText");
185
185
 
186
- // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.128.0_commander@15.0.0_esbuild@0.28.2_typ_a55806ccf2eb39d6be3eaf4c54d1a60a/node_modules/@wirecat/cli-core/dist/runs/run-context.js
186
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/runs/run-context.js
187
187
  var REDACTED = "[redacted]";
188
188
  var keepsSuccess = /* @__PURE__ */ __name(({ record, fromFlag, env, caller, persistent = false }) => {
189
189
  if (!record)
@@ -3,10 +3,10 @@ const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  isCliFailure,
5
5
  isStoreDamage
6
- } from "./chunk-6ZW2ZJYC.js";
6
+ } from "./chunk-VBIZD5V5.js";
7
7
  import {
8
8
  refuseOwnerStoreInTests
9
- } from "./chunk-WMG3H2VK.js";
9
+ } from "./chunk-HMN26CVU.js";
10
10
  import {
11
11
  array,
12
12
  boolean,
@@ -26,22 +26,22 @@ import {
26
26
  strictObject,
27
27
  string,
28
28
  unknown
29
- } from "./chunk-GXGSC622.js";
29
+ } from "./chunk-OBDPKDGB.js";
30
30
  import {
31
31
  CliError
32
- } from "./chunk-OLCU7Q2B.js";
32
+ } from "./chunk-IBQZT2YD.js";
33
33
  import {
34
34
  __name
35
35
  } from "./chunk-ZVVMGPBJ.js";
36
36
 
37
- // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.128.0_commander@15.0.0_esbuild@0.28.2_typ_a55806ccf2eb39d6be3eaf4c54d1a60a/node_modules/@wirecat/cli-core/dist/store/source-review.js
37
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/store/source-review.js
38
38
  var SOURCE_REVIEW_KIND = "memory_source_review";
39
39
  var SOURCE_REVIEW_CAUSES = ["changed", "outdated", "deleted", "contradicted"];
40
40
  var ERASED_TEXT = "[source erased]";
41
41
  var severity = /* @__PURE__ */ __name((cause) => SOURCE_REVIEW_CAUSES.indexOf(cause), "severity");
42
42
  var graver = /* @__PURE__ */ __name((a, b) => severity(b) > severity(a) ? b : a, "graver");
43
43
 
44
- // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.128.0_commander@15.0.0_esbuild@0.28.2_typ_a55806ccf2eb39d6be3eaf4c54d1a60a/node_modules/@wirecat/cli-core/dist/tasks/model.js
44
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/tasks/model.js
45
45
  var TASK_KINDS = ["question", "request", "mention", "promise"];
46
46
  var TASK_STATES = ["open", "todo", "in_progress", "done", "dismissed"];
47
47
  var CLOSED_STATES = ["done", "dismissed"];
@@ -56,7 +56,7 @@ function closeTask(task, state, by, at, reason) {
56
56
  }
57
57
  __name(closeTask, "closeTask");
58
58
 
59
- // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.128.0_commander@15.0.0_esbuild@0.28.2_typ_a55806ccf2eb39d6be3eaf4c54d1a60a/node_modules/@wirecat/cli-core/dist/tasks/priority.js
59
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/tasks/priority.js
60
60
  var PRIORITY_LABELS = ["low", "medium", "high", "critical"];
61
61
  var MIDDLE = { low: 0.125, medium: 0.375, high: 0.625, critical: 0.875 };
62
62
  var LEGACY_PRIORITY_SCORES = [0.875, 0.625, 0.375, 0.1875, 0.0625];
@@ -85,7 +85,7 @@ var priorityOf = /* @__PURE__ */ __name((value) => {
85
85
  }, "priorityOf");
86
86
  var priorityOption = /* @__PURE__ */ __name((value) => priorityOf(value) ?? "none", "priorityOption");
87
87
 
88
- // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.128.0_commander@15.0.0_esbuild@0.28.2_typ_a55806ccf2eb39d6be3eaf4c54d1a60a/node_modules/@wirecat/cli-core/dist/tasks/service.js
88
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/tasks/service.js
89
89
  function createTaskService({ store, now = /* @__PURE__ */ __name(() => /* @__PURE__ */ new Date(), "now"), newId = /* @__PURE__ */ __name(() => crypto.randomUUID(), "newId") }) {
90
90
  async function find(id2) {
91
91
  const task = await store.get(id2);
@@ -145,13 +145,13 @@ function median(values) {
145
145
  }
146
146
  __name(median, "median");
147
147
 
148
- // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.128.0_commander@15.0.0_esbuild@0.28.2_typ_a55806ccf2eb39d6be3eaf4c54d1a60a/node_modules/@wirecat/cli-core/dist/tasks/store.js
148
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/tasks/store.js
149
149
  function matches(task, filter) {
150
150
  return (filter.account === void 0 || task.account === filter.account) && (filter.state === void 0 || task.state === filter.state) && (filter.group === void 0 || task.group === filter.group) && (filter.kind === void 0 || task.kind === filter.kind) && (filter.createdBefore === void 0 || task.createdAt < filter.createdBefore);
151
151
  }
152
152
  __name(matches, "matches");
153
153
 
154
- // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.128.0_commander@15.0.0_esbuild@0.28.2_typ_a55806ccf2eb39d6be3eaf4c54d1a60a/node_modules/@wirecat/cli-core/dist/domain/knowledge.js
154
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/domain/knowledge.js
155
155
  var FACT_STATUSES = ["proposed", "accepted", "superseded", "reversed", "rejected"];
156
156
  var MEMORY_KINDS = ["summary", "digest", "preference"];
157
157
  var MEMORY_STATUSES = ["proposed", "confirmed", "stale", "superseded"];
@@ -159,10 +159,10 @@ var MEMORY_SCOPES = ["personal", "work"];
159
159
  var WORK_TASK_TYPES = ["bug", "feature", "chore"];
160
160
  var TASK_TYPES = [...WORK_TASK_TYPES, ...TASK_KINDS];
161
161
 
162
- // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.128.0_commander@15.0.0_esbuild@0.28.2_typ_a55806ccf2eb39d6be3eaf4c54d1a60a/node_modules/@wirecat/cli-core/dist/domain/categories.js
162
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/domain/categories.js
163
163
  var CATEGORIES = ["client", "supplier", "partner", "employer"];
164
164
 
165
- // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.128.0_commander@15.0.0_esbuild@0.28.2_typ_a55806ccf2eb39d6be3eaf4c54d1a60a/node_modules/@wirecat/cli-core/dist/entities/fields.js
165
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/entities/fields.js
166
166
  var text = string();
167
167
  var id = pipe(string(), minLength(1));
168
168
  var time = isoTime;
@@ -187,7 +187,7 @@ var author = strictObject({
187
187
  name: nullable(text)
188
188
  });
189
189
 
190
- // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.128.0_commander@15.0.0_esbuild@0.28.2_typ_a55806ccf2eb39d6be3eaf4c54d1a60a/node_modules/@wirecat/cli-core/dist/entities/knowledge-lists.js
190
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/entities/knowledge-lists.js
191
191
  var organization = strictObject({
192
192
  id,
193
193
  ref: reference,
@@ -217,7 +217,7 @@ var reminder = strictObject({
217
217
  receipt: nullable(text)
218
218
  });
219
219
 
220
- // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.128.0_commander@15.0.0_esbuild@0.28.2_typ_a55806ccf2eb39d6be3eaf4c54d1a60a/node_modules/@wirecat/cli-core/dist/domain/money.js
220
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/domain/money.js
221
221
  var CURRENCY_SCALES = {
222
222
  AED: 2,
223
223
  AMD: 2,
@@ -311,7 +311,7 @@ var quantityOf = /* @__PURE__ */ __name((text2) => {
311
311
  }, "quantityOf");
312
312
  var lineUnits = /* @__PURE__ */ __name((thousandths, unitPrice) => Number((thousandths * BigInt(unitPrice) + 500n) / 1000n), "lineUnits");
313
313
 
314
- // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.128.0_commander@15.0.0_esbuild@0.28.2_typ_a55806ccf2eb39d6be3eaf4c54d1a60a/node_modules/@wirecat/cli-core/dist/domain/finance.js
314
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/domain/finance.js
315
315
  var INVOICE_DIRECTIONS = ["receivable", "payable"];
316
316
  var INVOICE_STATUSES = ["draft", "issued", "partly_paid", "paid", "void"];
317
317
  var MONEY_DIRECTIONS = ["in", "out"];
@@ -340,7 +340,7 @@ var paymentLine = /* @__PURE__ */ __name((payment) => {
340
340
  var invoiceTitle = /* @__PURE__ */ __name((invoice) => `Invoice ${invoiceLine(invoice)}`, "invoiceTitle");
341
341
  var paymentEntryTitle = /* @__PURE__ */ __name((payment) => `Payment \xB7 ${paymentLine(payment)}`, "paymentEntryTitle");
342
342
 
343
- // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.128.0_commander@15.0.0_esbuild@0.28.2_typ_a55806ccf2eb39d6be3eaf4c54d1a60a/node_modules/@wirecat/cli-core/dist/domain/business.js
343
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/domain/business.js
344
344
  var CATALOG_KINDS = ["product", "service"];
345
345
  var BUSINESS_KINDS = ["invoice", "payment", "order", "contract", "subscription", "product", "wallet"];
346
346
  var CONTRACT_KINDS = ["sale", "purchase", "service", "lease", "employment", "nda", "license", "other"];
@@ -368,7 +368,7 @@ var subscriptionLine = /* @__PURE__ */ __name((subscription) => `${subscription.
368
368
  var walletLine = /* @__PURE__ */ __name((wallet) => `${wallet.name} \xB7 ${wallet.kind}, ${wallet.currency}${wallet.numberHint === null ? "" : `, \u2026${wallet.numberHint}`}` + notes(wallet.closed ? "closed" : null), "walletLine");
369
369
  var transactionLine = /* @__PURE__ */ __name((transaction) => `${moneyLabel(transaction.amount, transaction.currency)} ${transaction.direction}${transaction.label === null ? "" : ` \xB7 ${transaction.label}`}, ${dayMonth(transaction.date)}` + notes(transaction.status === "pending" ? "pending" : null, pending(transaction.review)), "transactionLine");
370
370
 
371
- // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.128.0_commander@15.0.0_esbuild@0.28.2_typ_a55806ccf2eb39d6be3eaf4c54d1a60a/node_modules/@wirecat/cli-core/dist/store/marks.js
371
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/store/marks.js
372
372
  import { readFileSync, rmSync, statSync, writeFileSync } from "node:fs";
373
373
  var damageMarkPath = /* @__PURE__ */ __name((store) => `${store}.damaged.json`, "damageMarkPath");
374
374
  var healthMarkPath = /* @__PURE__ */ __name((store) => `${store}.health.json`, "healthMarkPath");
@@ -489,7 +489,7 @@ var recordDeepCheck = /* @__PURE__ */ __name((store, health, { cli, version, sch
489
489
  return { previous, cleared };
490
490
  }, "recordDeepCheck");
491
491
 
492
- // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.128.0_commander@15.0.0_esbuild@0.28.2_typ_a55806ccf2eb39d6be3eaf4c54d1a60a/node_modules/@wirecat/cli-core/dist/domain/deals.js
492
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/domain/deals.js
493
493
  var DEAL_KINDS = ["deal", "lead"];
494
494
  var DEAL_STATUSES = ["open", "won", "lost"];
495
495
  var STAGE_OUTCOMES = DEAL_STATUSES;
@@ -499,7 +499,7 @@ var dealLine = /* @__PURE__ */ __name((deal) => {
499
499
  return `${deal.title} \xB7 ${deal.stage}${money}${deal.status === "open" ? "" : ` (${deal.status})`}`;
500
500
  }, "dealLine");
501
501
 
502
- // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.128.0_commander@15.0.0_esbuild@0.28.2_typ_a55806ccf2eb39d6be3eaf4c54d1a60a/node_modules/@wirecat/cli-core/dist/domain/orders.js
502
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/domain/orders.js
503
503
  var ORDER_STATUSES = ["placed", "shipped", "delivered", "cancelled", "returned"];
504
504
  var ORDER_PURPOSES = ["personal", "business", "client", "other"];
505
505
  var orderLine = /* @__PURE__ */ __name((order) => {
@@ -510,7 +510,7 @@ var orderLine = /* @__PURE__ */ __name((order) => {
510
510
  }, "orderLine");
511
511
  var orderTitle = /* @__PURE__ */ __name((order) => `Order ${orderLine(order)}`, "orderTitle");
512
512
 
513
- // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.128.0_commander@15.0.0_esbuild@0.28.2_typ_a55806ccf2eb39d6be3eaf4c54d1a60a/node_modules/@wirecat/cli-core/dist/domain/relations.js
513
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/domain/relations.js
514
514
  var ORGANIZATION_ROLES = [
515
515
  "employee",
516
516
  "contractor",
@@ -613,7 +613,7 @@ var KEYED = "kind IN ('member-of', 'related-to', 'reports-to', 'customer-of', 'p
613
613
  var notOverriddenSql = /* @__PURE__ */ __name((alias) => `NOT EXISTS (SELECT 1 FROM links override WHERE ${KEYED} AND override.kind = ${alias}.kind AND override.from_type = ${alias}.from_type AND override.from_id = ${alias}.from_id AND override.to_type = ${alias}.to_type AND override.to_id = ${alias}.to_id AND json_extract(override.metadata, '$.overrides') = ${alias}.id)`, "notOverriddenSql");
614
614
  var usableLinkSql = /* @__PURE__ */ __name((alias, now) => `(${alias}.confirmed = 1 OR (${alias}.account_id IS NOT NULL AND ${alias}.deleted_at IS NULL))` + (now === void 0 ? "" : ` AND (${alias}.ends_at IS NULL OR ${alias}.ends_at > ${Math.trunc(now)})`), "usableLinkSql");
615
615
 
616
- // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.128.0_commander@15.0.0_esbuild@0.28.2_typ_a55806ccf2eb39d6be3eaf4c54d1a60a/node_modules/@wirecat/cli-core/dist/domain/crm.js
616
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/domain/crm.js
617
617
  var CRM_KINDS = ["organization", "person", "deal", "lead"];
618
618
  var CRM_ACTIVITY_KINDS = ["call", "email", "meeting", "todo", "task", "comment", "other"];
619
619
  var isCrmUserId = /* @__PURE__ */ __name((id2) => /^\d{1,20}$/.test(id2), "isCrmUserId");
@@ -623,7 +623,7 @@ var normalCrmUserId = /* @__PURE__ */ __name((id2) => {
623
623
  }, "normalCrmUserId");
624
624
  var isItemKind = /* @__PURE__ */ __name((kind) => kind === "deal" || kind === "lead", "isItemKind");
625
625
 
626
- // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.128.0_commander@15.0.0_esbuild@0.28.2_typ_a55806ccf2eb39d6be3eaf4c54d1a60a/node_modules/@wirecat/cli-core/dist/store/sqlite/link-source.js
626
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/store/sqlite/link-source.js
627
627
  var REPORTER_SQL = "(SELECT provider || ':' || external_id FROM accounts r WHERE r.id = links.account_id) AS reporter";
628
628
  var sourceOf = /* @__PURE__ */ __name((database, row, metadata) => {
629
629
  const reporter = row.account_id == null ? void 0 : "reporter" in row ? row.reporter : database.prepare("SELECT provider || ':' || external_id AS key FROM accounts WHERE id = ?").get(Number(row.account_id))?.key;
@@ -633,7 +633,7 @@ var sourceOf = /* @__PURE__ */ __name((database, row, metadata) => {
633
633
  };
634
634
  }, "sourceOf");
635
635
 
636
- // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.128.0_commander@15.0.0_esbuild@0.28.2_typ_a55806ccf2eb39d6be3eaf4c54d1a60a/node_modules/@wirecat/cli-core/dist/store/sqlite/link-kinds.js
636
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/store/sqlite/link-kinds.js
637
637
  var LINK_KINDS = [
638
638
  "links-to",
639
639
  "blocked-by",
@@ -2,13 +2,13 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  deadlineMargin
5
- } from "./chunk-4JS32SRX.js";
5
+ } from "./chunk-HOICQNJX.js";
6
6
  import {
7
7
  walkQuery
8
- } from "./chunk-XQZEMRCU.js";
8
+ } from "./chunk-4DK55MLP.js";
9
9
  import {
10
10
  writeSecurely
11
- } from "./chunk-6CCO3JCM.js";
11
+ } from "./chunk-3ZGWJYSG.js";
12
12
  import {
13
13
  array,
14
14
  boolean,
@@ -27,16 +27,16 @@ import {
27
27
  safeParse,
28
28
  string,
29
29
  trim
30
- } from "./chunk-GXGSC622.js";
30
+ } from "./chunk-OBDPKDGB.js";
31
31
  import {
32
32
  CliError,
33
33
  isCliError
34
- } from "./chunk-OLCU7Q2B.js";
34
+ } from "./chunk-IBQZT2YD.js";
35
35
  import {
36
36
  __name
37
37
  } from "./chunk-ZVVMGPBJ.js";
38
38
 
39
- // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.128.0_commander@15.0.0_esbuild@0.28.2_typ_a55806ccf2eb39d6be3eaf4c54d1a60a/node_modules/@wirecat/cli-core/dist/documents/blocks.js
39
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/documents/blocks.js
40
40
  var MARKS = ["bold", "italic", "strike", "code", "link"];
41
41
  var sameMarks = /* @__PURE__ */ __name((a, b) => MARKS.every((mark) => a[mark] === b[mark]), "sameMarks");
42
42
  var normalizeInlines = /* @__PURE__ */ __name((inlines) => {
@@ -84,7 +84,7 @@ var key = /* @__PURE__ */ __name((block, withChecked) => {
84
84
  var blockKey = /* @__PURE__ */ __name((block) => JSON.stringify(key(block, true)), "blockKey");
85
85
  var blockShape = /* @__PURE__ */ __name((block) => JSON.stringify(key(block, false)), "blockShape");
86
86
 
87
- // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.128.0_commander@15.0.0_esbuild@0.28.2_typ_a55806ccf2eb39d6be3eaf4c54d1a60a/node_modules/@wirecat/cli-core/dist/services/documents/block-diff.js
87
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/services/documents/block-diff.js
88
88
  var MAX_CELLS = 4e6;
89
89
  var matches = /* @__PURE__ */ __name((a, b, keyOf) => {
90
90
  const ka = a.map(keyOf);
@@ -231,7 +231,7 @@ var mergeBlocks = /* @__PURE__ */ __name((baseLocal, baseRemote, local, remote,
231
231
  return { status: "clean", blocks, conflicts };
232
232
  }, "mergeBlocks");
233
233
 
234
- // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.128.0_commander@15.0.0_esbuild@0.28.2_typ_a55806ccf2eb39d6be3eaf4c54d1a60a/node_modules/@wirecat/cli-core/dist/services/documents/extraction.js
234
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/services/documents/extraction.js
235
235
  var Proposal = object({
236
236
  kind: picklist(["summary", "digest", "fact", "preference"]),
237
237
  body: pipe(string(), trim(), minLength(1), maxLength(15e3)),
@@ -266,7 +266,7 @@ var extractMemories = /* @__PURE__ */ __name(async (text, complete) => {
266
266
  return { ...proposals, provider: answer.provider, model: answer.model, tokens: answer.tokens };
267
267
  }, "extractMemories");
268
268
 
269
- // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.128.0_commander@15.0.0_esbuild@0.28.2_typ_a55806ccf2eb39d6be3eaf4c54d1a60a/node_modules/@wirecat/cli-core/dist/services/documents/ingestion.js
269
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/services/documents/ingestion.js
270
270
  var documentIngestion = /* @__PURE__ */ __name((store, options) => {
271
271
  const folder = /* @__PURE__ */ __name(async (principal, create) => {
272
272
  if (options.provider)
@@ -406,7 +406,7 @@ var documentIngestion = /* @__PURE__ */ __name((store, options) => {
406
406
  };
407
407
  }, "documentIngestion");
408
408
 
409
- // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.128.0_commander@15.0.0_esbuild@0.28.2_typ_a55806ccf2eb39d6be3eaf4c54d1a60a/node_modules/@wirecat/cli-core/dist/services/documents/knowledge.js
409
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/services/documents/knowledge.js
410
410
  var writer = /* @__PURE__ */ __name((by) => {
411
411
  if (by === void 0)
412
412
  throw new CliError("validation_error", "name who writes it: the owner or an agent; there is no default", {
@@ -573,7 +573,7 @@ var documentKnowledge = /* @__PURE__ */ __name((store, folder) => {
573
573
  return port;
574
574
  }, "documentKnowledge");
575
575
 
576
- // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.128.0_commander@15.0.0_esbuild@0.28.2_typ_a55806ccf2eb39d6be3eaf4c54d1a60a/node_modules/@wirecat/cli-core/dist/documents/markdown-blocks.js
576
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/documents/markdown-blocks.js
577
577
  var parser;
578
578
  var loadParser = /* @__PURE__ */ __name(() => parser ??= Promise.all([
579
579
  import("./mdast-util-from-markdown-HEZF7KJ4.js"),
@@ -698,7 +698,7 @@ var placedMarkdownBlocks = /* @__PURE__ */ __name(async (markdown) => {
698
698
  return blocks(tree.children);
699
699
  }, "placedMarkdownBlocks");
700
700
 
701
- // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.128.0_commander@15.0.0_esbuild@0.28.2_typ_a55806ccf2eb39d6be3eaf4c54d1a60a/node_modules/@wirecat/cli-core/dist/services/documents/markdown-splice.js
701
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/services/documents/markdown-splice.js
702
702
  var escapeText = /* @__PURE__ */ __name((text) => text.replace(/[\\`*_[\]<>~|]/g, "\\$&"), "escapeText");
703
703
  var codeSpan = /* @__PURE__ */ __name((text) => {
704
704
  const longest = (text.match(/`+/g) ?? []).reduce((most, run) => Math.max(most, run.length), 0);
@@ -884,15 +884,15 @@ var columnsBefore = /* @__PURE__ */ __name((placed, index) => {
884
884
  return columns;
885
885
  }, "columnsBefore");
886
886
 
887
- // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.128.0_commander@15.0.0_esbuild@0.28.2_typ_a55806ccf2eb39d6be3eaf4c54d1a60a/node_modules/@wirecat/cli-core/dist/services/documents/mirror-watch.js
887
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/services/documents/mirror-watch.js
888
888
  import { watch } from "node:fs";
889
889
 
890
- // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.128.0_commander@15.0.0_esbuild@0.28.2_typ_a55806ccf2eb39d6be3eaf4c54d1a60a/node_modules/@wirecat/cli-core/dist/services/documents/mirrors.js
890
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/services/documents/mirrors.js
891
891
  import { createHash as createHash2 } from "node:crypto";
892
892
  import { mkdirSync, readFileSync } from "node:fs";
893
893
  import { dirname as dirname2, join as join2 } from "node:path";
894
894
 
895
- // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.128.0_commander@15.0.0_esbuild@0.28.2_typ_a55806ccf2eb39d6be3eaf4c54d1a60a/node_modules/@wirecat/cli-core/dist/services/documents/push.js
895
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/services/documents/push.js
896
896
  import { createHash, randomUUID } from "node:crypto";
897
897
  import { createReadStream, createWriteStream } from "node:fs";
898
898
  import { chmod, link, lstat, readdir, rename, rm, stat, writeFile } from "node:fs/promises";
@@ -1217,7 +1217,7 @@ var pushDocuments = /* @__PURE__ */ __name(async (options) => {
1217
1217
  return result;
1218
1218
  }, "pushDocuments");
1219
1219
 
1220
- // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.128.0_commander@15.0.0_esbuild@0.28.2_typ_a55806ccf2eb39d6be3eaf4c54d1a60a/node_modules/@wirecat/cli-core/dist/services/documents/mirrors.js
1220
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/services/documents/mirrors.js
1221
1221
  var mirrorId = /* @__PURE__ */ __name((root, folder) => createHash2("sha256").update(JSON.stringify([root, folder])).digest("hex").slice(0, 8), "mirrorId");
1222
1222
  var ID = pipe(string(), regex(/^[A-Za-z0-9_-]{1,200}$/));
1223
1223
  var stateSchema = /* @__PURE__ */ __name((kinds) => object({
@@ -1334,7 +1334,7 @@ var syncMirrors = /* @__PURE__ */ __name((options) => eachMirror(options.mirrors
1334
1334
  ...options.signal ? { signal: options.signal } : {}
1335
1335
  })), "syncMirrors");
1336
1336
 
1337
- // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.128.0_commander@15.0.0_esbuild@0.28.2_typ_a55806ccf2eb39d6be3eaf4c54d1a60a/node_modules/@wirecat/cli-core/dist/services/documents/mirror-watch.js
1337
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/services/documents/mirror-watch.js
1338
1338
  var sleep = /* @__PURE__ */ __name((milliseconds, signal) => new Promise((resolve) => {
1339
1339
  const finish = /* @__PURE__ */ __name(() => {
1340
1340
  clearTimeout(timer);
@@ -1475,7 +1475,7 @@ async function* watchMirrors(sync, options) {
1475
1475
  }
1476
1476
  __name(watchMirrors, "watchMirrors");
1477
1477
 
1478
- // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.128.0_commander@15.0.0_esbuild@0.28.2_typ_a55806ccf2eb39d6be3eaf4c54d1a60a/node_modules/@wirecat/cli-core/dist/services/documents/proposals.js
1478
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/services/documents/proposals.js
1479
1479
  var extractDocumentMemories = /* @__PURE__ */ __name(async (options) => {
1480
1480
  const source = options.read();
1481
1481
  const text = options.tab ? source.snapshot.tabs.find((tab) => tab.id === options.tab)?.text : source.snapshot.text;
@@ -1525,10 +1525,10 @@ Snapshot: ${source.hash}`;
1525
1525
  };
1526
1526
  }, "extractDocumentMemories");
1527
1527
 
1528
- // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.128.0_commander@15.0.0_esbuild@0.28.2_typ_a55806ccf2eb39d6be3eaf4c54d1a60a/node_modules/@wirecat/cli-core/dist/services/documents/sync.js
1528
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/services/documents/sync.js
1529
1529
  import { createHash as createHash4 } from "node:crypto";
1530
1530
 
1531
- // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.128.0_commander@15.0.0_esbuild@0.28.2_typ_a55806ccf2eb39d6be3eaf4c54d1a60a/node_modules/@wirecat/cli-core/dist/documents/scope.js
1531
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/documents/scope.js
1532
1532
  var within = /* @__PURE__ */ __name((file, roots, folders, seen = /* @__PURE__ */ new Set(), cut) => {
1533
1533
  if (file.trashed)
1534
1534
  return false;
@@ -1553,7 +1553,7 @@ var inScope = /* @__PURE__ */ __name((file, roots, folders, matched = /* @__PURE
1553
1553
  return matched.has(file.id) || within(file, roots, folders, /* @__PURE__ */ new Set(), excluded);
1554
1554
  }, "inScope");
1555
1555
 
1556
- // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.128.0_commander@15.0.0_esbuild@0.28.2_typ_a55806ccf2eb39d6be3eaf4c54d1a60a/node_modules/@wirecat/cli-core/dist/documents/catalog.js
1556
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/documents/catalog.js
1557
1557
  var catalogFiles = /* @__PURE__ */ __name((state, roots, query) => {
1558
1558
  const folders = state.pending?.folders ?? state.folders;
1559
1559
  const matched = new Set(state.pending?.matched ?? state.matched ?? []);
@@ -1572,13 +1572,13 @@ var catalogFiles = /* @__PURE__ */ __name((state, roots, query) => {
1572
1572
  return [...files.values()].filter((file) => inScope(file, roots, folders, matched, query));
1573
1573
  }, "catalogFiles");
1574
1574
 
1575
- // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.128.0_commander@15.0.0_esbuild@0.28.2_typ_a55806ccf2eb39d6be3eaf4c54d1a60a/node_modules/@wirecat/cli-core/dist/services/documents/plan.js
1575
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/services/documents/plan.js
1576
1576
  import { createHash as createHash3 } from "node:crypto";
1577
1577
 
1578
- // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.128.0_commander@15.0.0_esbuild@0.28.2_typ_a55806ccf2eb39d6be3eaf4c54d1a60a/node_modules/@wirecat/cli-core/dist/documents/model.js
1578
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/documents/model.js
1579
1579
  var feedOf = /* @__PURE__ */ __name((source) => "changes" in source && typeof source.changes === "function" ? source : void 0, "feedOf");
1580
1580
 
1581
- // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.128.0_commander@15.0.0_esbuild@0.28.2_typ_a55806ccf2eb39d6be3eaf4c54d1a60a/node_modules/@wirecat/cli-core/dist/services/documents/plan.js
1581
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/services/documents/plan.js
1582
1582
  var scopeHash = /* @__PURE__ */ __name((roots, query, pages = false) => createHash3("sha256").update(JSON.stringify(query || pages ? [[...roots].sort(), query?.mode, query?.key, ...pages ? ["pages"] : []] : [...roots].sort())).digest("hex"), "scopeHash");
1583
1583
  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");
1584
1584
  var SAVE_EVERY_MS = 2e3;
@@ -1917,7 +1917,7 @@ var planDocuments = /* @__PURE__ */ __name(async (options, source, state, roots,
1917
1917
  };
1918
1918
  }, "planDocuments");
1919
1919
 
1920
- // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.128.0_commander@15.0.0_esbuild@0.28.2_typ_a55806ccf2eb39d6be3eaf4c54d1a60a/node_modules/@wirecat/cli-core/dist/services/documents/sync.js
1920
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/services/documents/sync.js
1921
1921
  var MAX_PICTURE_BYTES = 25 * 1024 * 1024;
1922
1922
  var SAVE_EVERY_MS2 = 2e3;
1923
1923
  var SAVE_EVERY_ITEMS = 25;
@@ -2173,10 +2173,10 @@ var syncDocuments = /* @__PURE__ */ __name(async (options) => {
2173
2173
  }
2174
2174
  }, "syncDocuments");
2175
2175
 
2176
- // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.128.0_commander@15.0.0_esbuild@0.28.2_typ_a55806ccf2eb39d6be3eaf4c54d1a60a/node_modules/@wirecat/cli-core/dist/services/files/text-merge.js
2176
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/services/files/text-merge.js
2177
2177
  var MAX_MERGE_BYTES = 1024 * 1024;
2178
2178
 
2179
- // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.128.0_commander@15.0.0_esbuild@0.28.2_typ_a55806ccf2eb39d6be3eaf4c54d1a60a/node_modules/@wirecat/cli-core/dist/services/files/guarded-write.js
2179
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/services/files/guarded-write.js
2180
2180
  var remoteChanged = /* @__PURE__ */ __name((path, why, reread) => new CliError("conflict", `${path} ${why}; nothing was written. Read it again: ${reread}`, {
2181
2181
  reason: "mirror.remote-changed"
2182
2182
  }), "remoteChanged");
@@ -2212,7 +2212,7 @@ var guardedFileWrite = /* @__PURE__ */ __name(async (write) => {
2212
2212
  return { file, replaced: { sha256: kept } };
2213
2213
  }, "guardedFileWrite");
2214
2214
 
2215
- // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.128.0_commander@15.0.0_esbuild@0.28.2_typ_a55806ccf2eb39d6be3eaf4c54d1a60a/node_modules/@wirecat/cli-core/dist/services/files/listing.js
2215
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/services/files/listing.js
2216
2216
  var MAX_LISTING_AGE_MS = 7 * 24 * 36e5;
2217
2217
  var remoteFileSchema = object({
2218
2218
  path: string(),
@@ -2229,7 +2229,7 @@ var listingSchema = object({
2229
2229
  files: array(remoteFileSchema)
2230
2230
  });
2231
2231
 
2232
- // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.128.0_commander@15.0.0_esbuild@0.28.2_typ_a55806ccf2eb39d6be3eaf4c54d1a60a/node_modules/@wirecat/cli-core/dist/services/files/mirror-state.js
2232
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/services/files/mirror-state.js
2233
2233
  var entrySchema = object({
2234
2234
  id: string(),
2235
2235
  size: number(),
@@ -2261,7 +2261,7 @@ var stateSchema2 = object({
2261
2261
  })))
2262
2262
  });
2263
2263
 
2264
- // node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.128.0_commander@15.0.0_esbuild@0.28.2_typ_a55806ccf2eb39d6be3eaf4c54d1a60a/node_modules/@wirecat/cli-core/dist/services/files/versions.js
2264
+ // node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/services/files/versions.js
2265
2265
  var RETAIN_MS = 30 * 24 * 60 * 60 * 1e3;
2266
2266
 
2267
2267
  // dist/model.js