@wirecat/mail-cli 0.35.0 → 0.36.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 (140) hide show
  1. package/CHANGELOG.md +20 -0
  2. package/dist/bin/mail.js +2 -2
  3. package/dist/bundle/agent-MW7YWUIY.js +39 -0
  4. package/dist/bundle/{all-profiles-6BDSMVOO.js → all-profiles-RS6OV3YO.js} +11 -11
  5. package/dist/bundle/{anthropic-C3XUXUCJ.js → anthropic-PPQ7DTXN.js} +5 -5
  6. package/dist/bundle/{app-server-GUHDK4OR.js → app-server-EBFBMFQC.js} +67 -67
  7. package/dist/bundle/{bun-FN7AM4AG.js → bun-J7HAT7MW.js} +2 -2
  8. package/dist/bundle/{bun-sqlite-56IVBF22.js → bun-sqlite-PCSNAXIQ.js} +6 -6
  9. package/dist/bundle/{chunk-DREU6TN6.js → chunk-2RV4V55B.js} +18 -18
  10. package/dist/bundle/{chunk-CMGZXBJW.js → chunk-2UNZ3L2H.js} +6 -6
  11. package/dist/bundle/{chunk-5WYBI35N.js → chunk-2VEFNFYZ.js} +3 -3
  12. package/dist/bundle/{chunk-XQNKAM26.js → chunk-3BYKGMRM.js} +6 -6
  13. package/dist/bundle/{chunk-ZMYRPMAJ.js → chunk-3NOXZZJV.js} +1 -1
  14. package/dist/bundle/{chunk-UWDRU3R6.js → chunk-3ZKNXKM7.js} +2 -2
  15. package/dist/bundle/{chunk-GG634DR3.js → chunk-42XY6D5C.js} +5 -5
  16. package/dist/bundle/{chunk-4IASS7NQ.js → chunk-437UHSIO.js} +69 -5
  17. package/dist/bundle/{chunk-6Q5THDNW.js → chunk-4WSTWZUB.js} +2 -2
  18. package/dist/bundle/{chunk-46SBNO67.js → chunk-5G4MDFZ2.js} +7 -7
  19. package/dist/bundle/{chunk-TP766H4O.js → chunk-5JEKBYIH.js} +14 -14
  20. package/dist/bundle/{chunk-6VARUB3J.js → chunk-5TIWO6AR.js} +12 -12
  21. package/dist/bundle/{chunk-DFHUJTP5.js → chunk-5VPLQS4S.js} +2 -2
  22. package/dist/bundle/{chunk-G662S2M4.js → chunk-645FQC4G.js} +16 -16
  23. package/dist/bundle/{chunk-OTP2HJ67.js → chunk-6FZPFNEU.js} +9 -9
  24. package/dist/bundle/{chunk-YTI533XF.js → chunk-6LJIENVT.js} +2 -2
  25. package/dist/bundle/{chunk-W7ICCFG5.js → chunk-6NDPOY4N.js} +1 -1
  26. package/dist/bundle/{chunk-3ACF6TIV.js → chunk-6PKMUKUF.js} +1 -1
  27. package/dist/bundle/{chunk-DZHEVVXA.js → chunk-6TT62IUW.js} +25 -25
  28. package/dist/bundle/{chunk-EU4J6GCJ.js → chunk-6UYIWQLU.js} +4 -4
  29. package/dist/bundle/{chunk-W4JYGMTU.js → chunk-6VMJLOYO.js} +12 -12
  30. package/dist/bundle/{chunk-CDGVYQXG.js → chunk-774VG5WZ.js} +1 -1
  31. package/dist/bundle/{chunk-MCJYJIH5.js → chunk-AVR4FPYG.js} +8 -8
  32. package/dist/bundle/{chunk-WDEVKKAD.js → chunk-BBQERXQX.js} +3 -3
  33. package/dist/bundle/{chunk-YA44BG3N.js → chunk-C3JSQ7UJ.js} +23 -10
  34. package/dist/bundle/{chunk-6B4WZVLN.js → chunk-CJHO6B3M.js} +26 -26
  35. package/dist/bundle/{chunk-ODQCRZX5.js → chunk-CJMZQ2MZ.js} +8 -8
  36. package/dist/bundle/{chunk-2UNQTKRH.js → chunk-CMOO4INK.js} +1 -1
  37. package/dist/bundle/{chunk-7PXAUMK5.js → chunk-DVJPEZGV.js} +13 -13
  38. package/dist/bundle/{chunk-7JVKQ6NM.js → chunk-EGR3YUWD.js} +4 -4
  39. package/dist/bundle/{chunk-RQJGX7F7.js → chunk-GBZIWCEP.js} +3 -3
  40. package/dist/bundle/{chunk-635AFLZO.js → chunk-GCTHVCJU.js} +4 -4
  41. package/dist/bundle/{chunk-DD2P67NP.js → chunk-GEU3WR75.js} +3 -3
  42. package/dist/bundle/{chunk-ILEKGH44.js → chunk-GI6DNX7Q.js} +35 -35
  43. package/dist/bundle/{chunk-Q5U2HIBJ.js → chunk-HH34WRQE.js} +7 -7
  44. package/dist/bundle/{chunk-AV2ZJ4WX.js → chunk-HPSESLOZ.js} +1 -1
  45. package/dist/bundle/{chunk-EHAXFDDP.js → chunk-IBOWSQ7X.js} +3 -4
  46. package/dist/bundle/{chunk-RJNKM3CQ.js → chunk-JCILSTFK.js} +1 -1
  47. package/dist/bundle/{chunk-4U5ODZO7.js → chunk-KLPFPNZP.js} +11 -11
  48. package/dist/bundle/{chunk-PQDQCCGG.js → chunk-KP7JHJVP.js} +17 -17
  49. package/dist/bundle/{chunk-3EV2B7KZ.js → chunk-KTVQIKU5.js} +13 -13
  50. package/dist/bundle/{chunk-YCIWSKOH.js → chunk-KVFBSOCV.js} +9 -9
  51. package/dist/bundle/{chunk-7YMLEWTX.js → chunk-L4QLZDBZ.js} +6 -6
  52. package/dist/bundle/{chunk-2B67TUIF.js → chunk-LQQIYBHN.js} +64 -60
  53. package/dist/bundle/{chunk-J5ULUTWE.js → chunk-MQ6DQRRI.js} +4 -4
  54. package/dist/bundle/{chunk-HKWZG7CZ.js → chunk-MRWV5VNQ.js} +6 -6
  55. package/dist/bundle/{chunk-EX4Z7CCO.js → chunk-MT3LYU4T.js} +379 -379
  56. package/dist/bundle/{chunk-TP2BCK2Z.js → chunk-NCY55XIT.js} +8 -8
  57. package/dist/bundle/{chunk-5XQI7WCJ.js → chunk-NJZR3OFK.js} +1 -1
  58. package/dist/bundle/{chunk-YRAJFTFU.js → chunk-NSH2UHJR.js} +8 -8
  59. package/dist/bundle/{chunk-3KAJCOJP.js → chunk-NTUP5RCP.js} +8 -1
  60. package/dist/bundle/{chunk-OO4OKMNB.js → chunk-NYR7PIAG.js} +3 -3
  61. package/dist/bundle/{chunk-TARNPINT.js → chunk-NYYMMIVW.js} +3 -3
  62. package/dist/bundle/{chunk-YQTRKNZQ.js → chunk-OEL4DQTT.js} +4 -4
  63. package/dist/bundle/{chunk-E6HSSKRX.js → chunk-PF7ZNIVP.js} +2 -2
  64. package/dist/bundle/{chunk-HM6AMYHR.js → chunk-PMGAU6AP.js} +2 -2
  65. package/dist/bundle/{chunk-UHGKN5US.js → chunk-PMSZBUC7.js} +8 -8
  66. package/dist/bundle/{chunk-7KMI47AP.js → chunk-PPIMXOBT.js} +6 -6
  67. package/dist/bundle/{chunk-WZKM5I7B.js → chunk-Q6TPXXOS.js} +16 -16
  68. package/dist/bundle/{chunk-CFQQTDSA.js → chunk-QDNYJOWJ.js} +1 -1
  69. package/dist/bundle/{chunk-AISQNKT7.js → chunk-QI2XGTFH.js} +8 -8
  70. package/dist/bundle/{chunk-OOQFBRNR.js → chunk-REWV37HQ.js} +6 -6
  71. package/dist/bundle/{chunk-HF5QWKK2.js → chunk-RJUVWJTA.js} +7 -7
  72. package/dist/bundle/{chunk-XKKYRMGG.js → chunk-RMWS7IQ4.js} +4 -4
  73. package/dist/bundle/{chunk-QYCMB7JY.js → chunk-ROK7Z5LQ.js} +162 -157
  74. package/dist/bundle/{chunk-QFMKCU42.js → chunk-SCJVKWMV.js} +265 -264
  75. package/dist/bundle/{chunk-3WAZKCDF.js → chunk-SJNFPBPF.js} +2 -2
  76. package/dist/bundle/{chunk-RBV2AM52.js → chunk-TV634B6T.js} +1 -1
  77. package/dist/bundle/{chunk-L4RCWRWS.js → chunk-U3BO342P.js} +1 -1
  78. package/dist/bundle/{chunk-V4O47JV6.js → chunk-U67XMAEE.js} +3 -3
  79. package/dist/bundle/{chunk-HJDIMVFW.js → chunk-V5I7QP4T.js} +2 -2
  80. package/dist/bundle/{chunk-ZYEU35MB.js → chunk-VIDPFLFM.js} +2 -2
  81. package/dist/bundle/{chunk-HVXOA4FO.js → chunk-VIJV474N.js} +1 -1
  82. package/dist/bundle/{chunk-AXKIXVQA.js → chunk-WNQECDIP.js} +61 -61
  83. package/dist/bundle/{chunk-RQHWSNX4.js → chunk-WPPPO427.js} +4 -4
  84. package/dist/bundle/{chunk-7FXZKQAC.js → chunk-WZFGZBGD.js} +19 -19
  85. package/dist/bundle/{chunk-ZX7HZDD6.js → chunk-XRVZMM5B.js} +46 -32
  86. package/dist/bundle/{chunk-NEDS4ORI.js → chunk-YPB5BEAD.js} +2 -2
  87. package/dist/bundle/{chunk-I3QZCQJT.js → chunk-ZRSLG3B3.js} +6 -6
  88. package/dist/bundle/{chunk-GU3PYIV2.js → chunk-ZV57PIPE.js} +2 -2
  89. package/dist/bundle/command-contract-WFTIRPL5.js +39 -0
  90. package/dist/bundle/{command-server-entry-TPJ47FYS.js → command-server-entry-73RJELAV.js} +28 -28
  91. package/dist/bundle/{decode-XHUASXQK.js → decode-7BUWBDPT.js} +5 -5
  92. package/dist/bundle/{dispatch-MQZHGGVP.js → dispatch-IBOMVWZA.js} +8 -8
  93. package/dist/bundle/{dist-BAE4IQ52.js → dist-MULVCVSR.js} +20 -18
  94. package/dist/bundle/{echarts-U7Z2PKIG.js → echarts-VLWFC322.js} +2 -2
  95. package/dist/bundle/{embed-W7GPB6EI.js → embed-W3VH4HPY.js} +6 -6
  96. package/dist/bundle/{embedder-T72XLFQ5.js → embedder-I7ERQZJV.js} +9 -9
  97. package/dist/bundle/{failure-MP6VKL5Y.js → failure-QMAPSQ7X.js} +2 -2
  98. package/dist/bundle/{first-run-C44TJXRI.js → first-run-LCVER6QN.js} +12 -12
  99. package/dist/bundle/first-screen-DCTHI4NQ.js +39 -0
  100. package/dist/bundle/{instructions-WGMWQNPP.js → instructions-BNCVLSYQ.js} +1 -1
  101. package/dist/bundle/mail.js +12 -12
  102. package/dist/bundle/{mcp-YGOAUNC3.js → mcp-Z2KZNCXB.js} +2 -2
  103. package/dist/bundle/meeting-combined-ITU7SZ7E.js +24 -0
  104. package/dist/bundle/{meeting-model-QVHLD4WI.js → meeting-model-BWLSTNXA.js} +11 -11
  105. package/dist/bundle/{meeting-semantic-QKQHUHXX.js → meeting-semantic-ZIEHXN2R.js} +6 -6
  106. package/dist/bundle/{node-WANDMJJQ.js → node-RYFTRSG4.js} +2 -2
  107. package/dist/bundle/{node-sqlite-NM5XA4DR.js → node-sqlite-XCHVNTGQ.js} +7 -7
  108. package/dist/bundle/{oauth-6E63ELEE.js → oauth-FNUJSKKJ.js} +7 -7
  109. package/dist/bundle/{open-5542RTLE.js → open-WVWSJ3WI.js} +5 -5
  110. package/dist/bundle/{openai-NOYNPFB5.js → openai-QOUTYYTF.js} +15 -15
  111. package/dist/bundle/{process-7AEXXSBX.js → process-W5KPID53.js} +1 -1
  112. package/dist/bundle/{program-VMA5CGNR.js → program-L5UANM3I.js} +662 -505
  113. package/dist/bundle/{prompt-WYYO4AJL.js → prompt-JSBAPNJE.js} +5 -5
  114. package/dist/bundle/{recognize-UGCCOMAS.js → recognize-FDX4SJ6Q.js} +4 -4
  115. package/dist/bundle/{remote-VZS6BNQB.js → remote-MYOXOQHM.js} +9 -9
  116. package/dist/bundle/{rerank-O46D5GJ2.js → rerank-NY5MSZCR.js} +7 -7
  117. package/dist/bundle/{serve-QAAF2LCW.js → serve-URI6NZA3.js} +9 -9
  118. package/dist/bundle/{server-Q3PUZLLX.js → server-HQ25RHQM.js} +59 -59
  119. package/dist/bundle/server-UVYFU2JN.js +84 -0
  120. package/dist/bundle/{sqlite-runtime-EQBCDO2U.js → sqlite-runtime-6UUPSSKG.js} +6 -6
  121. package/dist/bundle/{state-XIOHYXCR.js → state-NDDVFPCI.js} +6 -6
  122. package/dist/bundle/{store-VJBL5XKR.js → store-2RDOICVN.js} +24 -24
  123. package/dist/bundle/{store-OXJZZUR7.js → store-PKYWPKKR.js} +22 -22
  124. package/dist/bundle/store-maintenance-command-Y5XTO47X.js +71 -0
  125. package/dist/bundle/surface-3XKM3MQ2.js +70 -0
  126. package/dist/commands/session-start.js +1 -1
  127. package/dist/commands/session-start.js.map +1 -1
  128. package/dist/oauth.d.ts.map +1 -1
  129. package/dist/oauth.js +2 -1
  130. package/dist/oauth.js.map +1 -1
  131. package/dist/version.d.ts +1 -1
  132. package/dist/version.js +1 -1
  133. package/package.json +3 -3
  134. package/dist/bundle/agent-KWLCQCSC.js +0 -39
  135. package/dist/bundle/command-contract-D5UXWHMS.js +0 -39
  136. package/dist/bundle/first-screen-IESI7DAU.js +0 -39
  137. package/dist/bundle/meeting-combined-XGZBSWIQ.js +0 -24
  138. package/dist/bundle/server-456MYK3X.js +0 -84
  139. package/dist/bundle/store-maintenance-command-D7XYIX52.js +0 -71
  140. package/dist/bundle/surface-N7LK7PKN.js +0 -70
@@ -12,31 +12,31 @@ import {
12
12
  refuseWriteBeforeConnecting,
13
13
  registerPrompts,
14
14
  syncsFirst
15
- } from "./chunk-6B4WZVLN.js";
15
+ } from "./chunk-CJHO6B3M.js";
16
16
  import {
17
17
  skillResources
18
- } from "./chunk-7KMI47AP.js";
18
+ } from "./chunk-PPIMXOBT.js";
19
19
  import {
20
20
  StdioServerTransport,
21
21
  answeredWire,
22
22
  serveStdio
23
- } from "./chunk-RBV2AM52.js";
23
+ } from "./chunk-TV634B6T.js";
24
24
  import {
25
25
  stdinFieldOf
26
- } from "./chunk-CDGVYQXG.js";
26
+ } from "./chunk-774VG5WZ.js";
27
27
  import {
28
28
  connectedFor
29
- } from "./chunk-WZKM5I7B.js";
29
+ } from "./chunk-Q6TPXXOS.js";
30
30
  import {
31
31
  wholeList
32
- } from "./chunk-YRAJFTFU.js";
32
+ } from "./chunk-NSH2UHJR.js";
33
33
  import {
34
34
  runCommandForAgent,
35
35
  toolsFromCommands
36
- } from "./chunk-ZX7HZDD6.js";
36
+ } from "./chunk-XRVZMM5B.js";
37
37
  import {
38
38
  instructions
39
- } from "./chunk-RJNKM3CQ.js";
39
+ } from "./chunk-JCILSTFK.js";
40
40
  import {
41
41
  BinaryResource,
42
42
  Picture,
@@ -55,35 +55,35 @@ import {
55
55
  tierOf,
56
56
  tool,
57
57
  toolKey
58
- } from "./chunk-G662S2M4.js";
58
+ } from "./chunk-645FQC4G.js";
59
59
  import {
60
60
  agentJson
61
- } from "./chunk-MCJYJIH5.js";
61
+ } from "./chunk-AVR4FPYG.js";
62
62
  import {
63
63
  guardFor,
64
64
  imageSize,
65
65
  lackedNeed,
66
66
  servicesFor,
67
67
  storedDeps
68
- } from "./chunk-QFMKCU42.js";
68
+ } from "./chunk-SCJVKWMV.js";
69
69
  import {
70
70
  callerOf,
71
71
  callingAgent
72
- } from "./chunk-HJDIMVFW.js";
72
+ } from "./chunk-V5I7QP4T.js";
73
73
  import {
74
74
  capability,
75
75
  dateWindow
76
- } from "./chunk-3EV2B7KZ.js";
76
+ } from "./chunk-KTVQIKU5.js";
77
77
  import {
78
78
  McpServer,
79
79
  ResourceTemplate
80
80
  } from "./chunk-PL5P7UKW.js";
81
81
  import {
82
82
  mcpHttpMarker
83
- } from "./chunk-YQTRKNZQ.js";
83
+ } from "./chunk-OEL4DQTT.js";
84
84
  import {
85
85
  findCommand
86
- } from "./chunk-GG634DR3.js";
86
+ } from "./chunk-42XY6D5C.js";
87
87
  import {
88
88
  DEFAULT_OUTPUT_BYTES,
89
89
  changesAuthorityAt,
@@ -98,31 +98,31 @@ import {
98
98
  rootOf2 as rootOf,
99
99
  sealed,
100
100
  snakeKeys
101
- } from "./chunk-QYCMB7JY.js";
101
+ } from "./chunk-ROK7Z5LQ.js";
102
102
  import {
103
103
  fetchesAt,
104
104
  levelFor,
105
105
  readKeysForCommand
106
- } from "./chunk-HF5QWKK2.js";
106
+ } from "./chunk-RJUVWJTA.js";
107
107
  import {
108
108
  withCaller
109
- } from "./chunk-UHGKN5US.js";
109
+ } from "./chunk-PMSZBUC7.js";
110
110
  import {
111
111
  openStore,
112
112
  pdfPreviewLimits
113
- } from "./chunk-EX4Z7CCO.js";
113
+ } from "./chunk-MT3LYU4T.js";
114
114
  import {
115
115
  typedCommand
116
- } from "./chunk-DZHEVVXA.js";
116
+ } from "./chunk-6TT62IUW.js";
117
117
  import {
118
118
  isCliFailure
119
- } from "./chunk-UWDRU3R6.js";
119
+ } from "./chunk-3ZKNXKM7.js";
120
120
  import {
121
121
  timezoneOf
122
- } from "./chunk-AXKIXVQA.js";
122
+ } from "./chunk-WNQECDIP.js";
123
123
  import {
124
124
  warmEmbedders
125
- } from "./chunk-7YMLEWTX.js";
125
+ } from "./chunk-L4QLZDBZ.js";
126
126
  import {
127
127
  description,
128
128
  errorObjectOf,
@@ -139,19 +139,19 @@ import {
139
139
  regex,
140
140
  strictObject,
141
141
  string
142
- } from "./chunk-YA44BG3N.js";
142
+ } from "./chunk-C3JSQ7UJ.js";
143
143
  import {
144
144
  CliError,
145
145
  visibleControls
146
- } from "./chunk-HM6AMYHR.js";
146
+ } from "./chunk-PMGAU6AP.js";
147
147
  import {
148
148
  __name
149
149
  } from "./chunk-ZVVMGPBJ.js";
150
150
 
151
- // node_modules/.pnpm/@wirecat+cli-core@0.709.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_d98198650466e0f5373009c2596db072/node_modules/@wirecat/cli-core/dist/mcp/server.js
151
+ // node_modules/.pnpm/@wirecat+cli-core@0.713.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_29dc9b659505b9f83a43774498347dd2/node_modules/@wirecat/cli-core/dist/mcp/server.js
152
152
  import { randomUUID } from "node:crypto";
153
153
 
154
- // node_modules/.pnpm/@wirecat+cli-core@0.709.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_d98198650466e0f5373009c2596db072/node_modules/@wirecat/cli-core/dist/mcp/agent-log.js
154
+ // node_modules/.pnpm/@wirecat+cli-core@0.713.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_29dc9b659505b9f83a43774498347dd2/node_modules/@wirecat/cli-core/dist/mcp/agent-log.js
155
155
  var agentLog = /* @__PURE__ */ __name((open) => {
156
156
  let held;
157
157
  return {
@@ -170,7 +170,7 @@ var agentLog = /* @__PURE__ */ __name((open) => {
170
170
  };
171
171
  }, "agentLog");
172
172
 
173
- // node_modules/.pnpm/@wirecat+cli-core@0.709.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_d98198650466e0f5373009c2596db072/node_modules/@wirecat/cli-core/dist/mcp/resources.js
173
+ // node_modules/.pnpm/@wirecat+cli-core@0.713.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_29dc9b659505b9f83a43774498347dd2/node_modules/@wirecat/cli-core/dist/mcp/resources.js
174
174
  var LISTED = 100;
175
175
  var registerResources = /* @__PURE__ */ __name((server, session, { command, name, limit, recorded, withStore, messenger, guard, assertRead }) => {
176
176
  server.registerResource("chat", new ResourceTemplate(`${command}://chat/{id}`, {
@@ -208,7 +208,7 @@ var registerResources = /* @__PURE__ */ __name((server, session, { command, name
208
208
  });
209
209
  }, "registerResources");
210
210
 
211
- // node_modules/.pnpm/@wirecat+cli-core@0.709.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_d98198650466e0f5373009c2596db072/node_modules/@wirecat/cli-core/dist/mcp/session.js
211
+ // node_modules/.pnpm/@wirecat+cli-core@0.713.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_29dc9b659505b9f83a43774498347dd2/node_modules/@wirecat/cli-core/dist/mcp/session.js
212
212
  var HARMLESS = /* @__PURE__ */ new Set(["validation_error", "not_found", "permission_error", "confirmation_required", "rate_limited"]);
213
213
  var harmless = /* @__PURE__ */ __name((code) => HARMLESS.has(code), "harmless");
214
214
  var MessengerSession = class {
@@ -283,7 +283,7 @@ var MessengerSession = class {
283
283
  }
284
284
  };
285
285
 
286
- // node_modules/.pnpm/@wirecat+cli-core@0.709.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_d98198650466e0f5373009c2596db072/node_modules/@wirecat/cli-core/dist/mcp/tools/attachments.js
286
+ // node_modules/.pnpm/@wirecat+cli-core@0.713.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_29dc9b659505b9f83a43774498347dd2/node_modules/@wirecat/cli-core/dist/mcp/tools/attachments.js
287
287
  var attachmentsTools = /* @__PURE__ */ __name((messenger) => {
288
288
  const _command = messenger.app.command;
289
289
  return {
@@ -337,7 +337,7 @@ var attachmentsTools = /* @__PURE__ */ __name((messenger) => {
337
337
  };
338
338
  }, "attachmentsTools");
339
339
 
340
- // node_modules/.pnpm/@wirecat+cli-core@0.709.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_d98198650466e0f5373009c2596db072/node_modules/@wirecat/cli-core/dist/mcp/tools/messages-photo.js
340
+ // node_modules/.pnpm/@wirecat+cli-core@0.713.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_29dc9b659505b9f83a43774498347dd2/node_modules/@wirecat/cli-core/dist/mcp/tools/messages-photo.js
341
341
  var PHOTO_LIMIT = 512 * 1024;
342
342
  var IMAGE_TYPES = [
343
343
  ["image/jpeg", (b) => b[0] === 255 && b[1] === 216 && b[2] === 255],
@@ -393,7 +393,7 @@ var readUpTo = /* @__PURE__ */ __name(async (file, limit, saveIt) => {
393
393
  return new Uint8Array(Buffer.concat(chunks));
394
394
  }, "readUpTo");
395
395
 
396
- // node_modules/.pnpm/@wirecat+cli-core@0.709.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_d98198650466e0f5373009c2596db072/node_modules/@wirecat/cli-core/dist/mcp/tools/stats.js
396
+ // node_modules/.pnpm/@wirecat+cli-core@0.713.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_29dc9b659505b9f83a43774498347dd2/node_modules/@wirecat/cli-core/dist/mcp/tools/stats.js
397
397
  var statsTools = /* @__PURE__ */ __name((messenger) => ({
398
398
  stats_charts: tool({
399
399
  title: "A chart from a chat's statistics",
@@ -430,14 +430,14 @@ var statsTools = /* @__PURE__ */ __name((messenger) => ({
430
430
  })
431
431
  }), "statsTools");
432
432
 
433
- // node_modules/.pnpm/@wirecat+cli-core@0.709.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_d98198650466e0f5373009c2596db072/node_modules/@wirecat/cli-core/dist/mcp/tools.js
433
+ // node_modules/.pnpm/@wirecat+cli-core@0.713.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_29dc9b659505b9f83a43774498347dd2/node_modules/@wirecat/cli-core/dist/mcp/tools.js
434
434
  var pictureTools = /* @__PURE__ */ __name((messenger) => Object.fromEntries(Object.entries({
435
435
  ...messagesPhotoTools(messenger),
436
436
  ...attachmentsTools(messenger),
437
437
  ...statsTools(messenger)
438
438
  }).map(([name, definition]) => [name, { ...definition, input: strictObject(definition.input.entries) }])), "pictureTools");
439
439
 
440
- // node_modules/.pnpm/@wirecat+cli-core@0.709.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_d98198650466e0f5373009c2596db072/node_modules/@wirecat/cli-core/dist/mcp/server.js
440
+ // node_modules/.pnpm/@wirecat+cli-core@0.713.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_29dc9b659505b9f83a43774498347dd2/node_modules/@wirecat/cli-core/dist/mcp/server.js
441
441
  var PER_RUN = /* @__PURE__ */ new Set([
442
442
  "streams",
443
443
  "stdin",
@@ -753,7 +753,7 @@ var serveOverStdio = /* @__PURE__ */ __name(async (command, context, messenger,
753
753
  }, "serveOverStdio");
754
754
  var serveOverHttpUntilStopped = /* @__PURE__ */ __name(async (command, context, messenger, options, http) => {
755
755
  const { session, embedders, build, log } = createServer(command, context, messenger, options);
756
- const { serveOverHttp } = await import("./serve-QAAF2LCW.js");
756
+ const { serveOverHttp } = await import("./serve-URI6NZA3.js");
757
757
  const appName = messenger.app.command;
758
758
  const appEnvPrefix = messenger.app.envPrefix;
759
759
  const listening = await serveOverHttp(build, {
@@ -2,24 +2,24 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  storePath
5
- } from "./chunk-ZYEU35MB.js";
5
+ } from "./chunk-VIDPFLFM.js";
6
6
  import {
7
7
  resolvePaths,
8
8
  writeSecurely
9
- } from "./chunk-7FXZKQAC.js";
9
+ } from "./chunk-WZFGZBGD.js";
10
10
  import {
11
11
  CliError,
12
12
  singleLine
13
- } from "./chunk-HM6AMYHR.js";
13
+ } from "./chunk-PMGAU6AP.js";
14
14
  import {
15
15
  __name
16
16
  } from "./chunk-ZVVMGPBJ.js";
17
17
 
18
- // node_modules/.pnpm/@wirecat+cli-core@0.709.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_d98198650466e0f5373009c2596db072/node_modules/@wirecat/cli-core/dist/store/shared-config.js
18
+ // node_modules/.pnpm/@wirecat+cli-core@0.713.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_29dc9b659505b9f83a43774498347dd2/node_modules/@wirecat/cli-core/dist/store/shared-config.js
19
19
  import { existsSync, mkdirSync, readFileSync, renameSync, statSync, writeFileSync } from "node:fs";
20
20
  import { dirname, join, resolve } from "node:path";
21
21
 
22
- // node_modules/.pnpm/@wirecat+cli-core@0.709.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_d98198650466e0f5373009c2596db072/node_modules/@wirecat/cli-core/dist/domain/config-repair.js
22
+ // node_modules/.pnpm/@wirecat+cli-core@0.713.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_29dc9b659505b9f83a43774498347dd2/node_modules/@wirecat/cli-core/dist/domain/config-repair.js
23
23
  var REPAIR_WORDS = {
24
24
  byte_order_mark: "an invisible byte-order mark at the start",
25
25
  comment: "a comment, which JSON does not allow",
@@ -303,7 +303,7 @@ var explainBrokenJson = /* @__PURE__ */ __name((text, result) => {
303
303
  return `line ${line}, column ${column}: ${why}${around(line)}; likely fix: ${fix ?? "correct that part by hand"}`;
304
304
  }, "explainBrokenJson");
305
305
 
306
- // node_modules/.pnpm/@wirecat+cli-core@0.709.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_d98198650466e0f5373009c2596db072/node_modules/@wirecat/cli-core/dist/domain/task-categories.js
306
+ // node_modules/.pnpm/@wirecat+cli-core@0.713.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_29dc9b659505b9f83a43774498347dd2/node_modules/@wirecat/cli-core/dist/domain/task-categories.js
307
307
  var DEFAULT_TASK_CATEGORIES = [
308
308
  {
309
309
  name: "taxes",
@@ -1058,7 +1058,7 @@ var storedTaskCategories = /* @__PURE__ */ __name((json) => {
1058
1058
  }
1059
1059
  }, "storedTaskCategories");
1060
1060
 
1061
- // node_modules/.pnpm/@wirecat+cli-core@0.709.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_d98198650466e0f5373009c2596db072/node_modules/@wirecat/cli-core/dist/store/shared-config.js
1061
+ // node_modules/.pnpm/@wirecat+cli-core@0.713.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_29dc9b659505b9f83a43774498347dd2/node_modules/@wirecat/cli-core/dist/store/shared-config.js
1062
1062
  var SECTION = "task_categories";
1063
1063
  var sharedConfigPath = /* @__PURE__ */ __name((store, env = process.env) => {
1064
1064
  const paths = resolvePaths({ appName: "WireCat", prefix: "WIRECAT", env });
@@ -1,7 +1,7 @@
1
1
  import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
 
4
- // node_modules/.pnpm/@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/monthly.js
4
+ // node_modules/.pnpm/@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/monthly.js
5
5
  import { dirname, join } from "node:path";
6
6
  import { fileURLToPath } from "node:url";
7
7
  var CI_PAGE = join(dirname(fileURLToPath(new URL("standards/monthly.js", import.meta.resolve("@wirecat/cli-base")).href)), "../../docs/standards/ci.md");
@@ -4,9 +4,9 @@ import {
4
4
  __name
5
5
  } from "./chunk-ZVVMGPBJ.js";
6
6
 
7
- // node_modules/.pnpm/@wirecat+cli-core@0.709.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_d98198650466e0f5373009c2596db072/node_modules/@wirecat/cli-core/dist/http/listen.js
7
+ // node_modules/.pnpm/@wirecat+cli-core@0.713.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_29dc9b659505b9f83a43774498347dd2/node_modules/@wirecat/cli-core/dist/http/listen.js
8
8
  import { createServer } from "node:http";
9
- import { Readable } from "node:stream";
9
+ import { pipeline, Readable } from "node:stream";
10
10
  var MAX_BODY = 4 * 1024 * 1024;
11
11
  var TooLarge = class extends Error {
12
12
  static {
@@ -49,8 +49,7 @@ var send = /* @__PURE__ */ __name(async (response, outgoing) => {
49
49
  if (!response.body)
50
50
  return void outgoing.end();
51
51
  const body = Readable.fromWeb(response.body);
52
- outgoing.once("close", () => body.destroy());
53
- body.pipe(outgoing);
52
+ pipeline(body, outgoing, () => void 0);
54
53
  }, "send");
55
54
  var listen = /* @__PURE__ */ __name((handle, { host, port, maxBody = MAX_BODY }) => new Promise((resolve, reject) => {
56
55
  const server = createServer((incoming, outgoing) => {
@@ -4,7 +4,7 @@ import {
4
4
  __name
5
5
  } from "./chunk-ZVVMGPBJ.js";
6
6
 
7
- // node_modules/.pnpm/@wirecat+cli-core@0.709.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_d98198650466e0f5373009c2596db072/node_modules/@wirecat/cli-core/dist/mcp/instructions.js
7
+ // node_modules/.pnpm/@wirecat+cli-core@0.713.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_29dc9b659505b9f83a43774498347dd2/node_modules/@wirecat/cli-core/dist/mcp/instructions.js
8
8
  var instructions = /* @__PURE__ */ __name(({ command, name, profile, writes, skill }) => {
9
9
  const all = typeof profile !== "string";
10
10
  const offers = /* @__PURE__ */ __name((key) => all || writes.includes(key), "offers");
@@ -2,19 +2,19 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  validateVector
5
- } from "./chunk-RQJGX7F7.js";
5
+ } from "./chunk-GBZIWCEP.js";
6
6
  import {
7
7
  meaningFloor
8
- } from "./chunk-HKWZG7CZ.js";
8
+ } from "./chunk-MRWV5VNQ.js";
9
9
  import {
10
10
  RRF_K
11
- } from "./chunk-TP2BCK2Z.js";
11
+ } from "./chunk-NCY55XIT.js";
12
12
  import {
13
13
  MESSAGE_PARSING
14
- } from "./chunk-V4O47JV6.js";
14
+ } from "./chunk-U67XMAEE.js";
15
15
  import {
16
16
  normalize
17
- } from "./chunk-L4RCWRWS.js";
17
+ } from "./chunk-U3BO342P.js";
18
18
  import {
19
19
  formatMeetingReference,
20
20
  implicitTextTerms,
@@ -23,18 +23,18 @@ import {
23
23
  parseMeetingReference,
24
24
  refreshMeetingIndex,
25
25
  walkQuery
26
- } from "./chunk-AXKIXVQA.js";
26
+ } from "./chunk-WNQECDIP.js";
27
27
  import {
28
28
  CliError
29
- } from "./chunk-HM6AMYHR.js";
29
+ } from "./chunk-PMGAU6AP.js";
30
30
  import {
31
31
  __name
32
32
  } from "./chunk-ZVVMGPBJ.js";
33
33
 
34
- // node_modules/.pnpm/@wirecat+cli-core@0.709.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_d98198650466e0f5373009c2596db072/node_modules/@wirecat/cli-core/dist/services/meeting-combined.js
34
+ // node_modules/.pnpm/@wirecat+cli-core@0.713.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_29dc9b659505b9f83a43774498347dd2/node_modules/@wirecat/cli-core/dist/services/meeting-combined.js
35
35
  import { createHash } from "node:crypto";
36
36
 
37
- // node_modules/.pnpm/@wirecat+cli-core@0.709.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_d98198650466e0f5373009c2596db072/node_modules/@wirecat/cli-core/dist/search/question-plan.js
37
+ // node_modules/.pnpm/@wirecat+cli-core@0.713.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_29dc9b659505b9f83a43774498347dd2/node_modules/@wirecat/cli-core/dist/search/question-plan.js
38
38
  var words = /* @__PURE__ */ __name((text) => normalize(text).match(/[\p{L}\p{N}]+/gu) ?? [], "words");
39
39
  var joinedHyphens = /* @__PURE__ */ __name((text) => (normalize(text).match(new RegExp("(?<![:\\p{L}\\p{N}-])\\p{L}[\\p{L}\\p{N}]*(?:-\\p{L}[\\p{L}\\p{N}]*)+", "gu")) ?? []).map((word) => word.replaceAll("-", "")), "joinedHyphens");
40
40
  var scaffolding = new Set(words("what which how many much who where when is are was were do does did can could should we the a an for of to under from in on at has have \u0441\u043A\u043E\u043B\u044C\u043A\u043E \u043A\u0430\u043A\u043E\u0439 \u043A\u0430\u043A\u0430\u044F \u043A\u0430\u043A\u0438\u0435 \u043A\u0430\u043A\u043E\u0435 \u043A\u0442\u043E \u043A\u043E\u043C\u0443 \u043A\u0435\u043C \u0433\u0434\u0435 \u043A\u043E\u0433\u0434\u0430 \u043A\u0430\u043A \u0447\u0442\u043E \u0432\u043E \u043F\u043E \u043D\u0430 \u0432 \u043A \u0441 \u0443 \u0447\u0435\u0440\u0435\u0437 \u043B\u0438 \u0434\u043E\u043B\u0436\u0435\u043D \u0434\u043E\u043B\u0436\u043D\u0430 \u043D\u0443\u0436\u043D\u043E \u0438\u0434\u0451\u0442 \u0438\u0434\u0435\u0442 \u043C\u043E\u0436\u043D\u043E \u043C\u043E\u0436\u0435\u0442 \u043C\u043E\u0433\u0443\u0442"));
@@ -171,7 +171,7 @@ var questionLookup = /* @__PURE__ */ __name((text) => {
171
171
  return terms.length ? anyOfTerms(terms, plan.scope) : void 0;
172
172
  }, "questionLookup");
173
173
 
174
- // node_modules/.pnpm/@wirecat+cli-core@0.709.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_d98198650466e0f5373009c2596db072/node_modules/@wirecat/cli-core/dist/services/meeting-hit-search.js
174
+ // node_modules/.pnpm/@wirecat+cli-core@0.713.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_29dc9b659505b9f83a43774498347dd2/node_modules/@wirecat/cli-core/dist/services/meeting-hit-search.js
175
175
  var resolveMeetingSelection = /* @__PURE__ */ __name(async (store, request) => {
176
176
  const { project, tag, topic, ...input } = request;
177
177
  input.signal?.throwIfAborted();
@@ -209,7 +209,7 @@ var resolveMeetingSelection = /* @__PURE__ */ __name(async (store, request) => {
209
209
  return { input, selection };
210
210
  }, "resolveMeetingSelection");
211
211
 
212
- // node_modules/.pnpm/@wirecat+cli-core@0.709.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_d98198650466e0f5373009c2596db072/node_modules/@wirecat/cli-core/dist/services/meeting-combined.js
212
+ // node_modules/.pnpm/@wirecat+cli-core@0.713.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_29dc9b659505b9f83a43774498347dd2/node_modules/@wirecat/cli-core/dist/services/meeting-combined.js
213
213
  var DEPTH = 200;
214
214
  var cursorOf = /* @__PURE__ */ __name((value, key) => {
215
215
  if (value === void 0)
@@ -23,28 +23,28 @@ import {
23
23
  tagMemberIds,
24
24
  thingOf,
25
25
  write
26
- } from "./chunk-EX4Z7CCO.js";
26
+ } from "./chunk-MT3LYU4T.js";
27
27
  import {
28
28
  fold
29
- } from "./chunk-L4RCWRWS.js";
29
+ } from "./chunk-U3BO342P.js";
30
30
  import {
31
31
  ADDED_PROVIDER,
32
32
  filesAccountSql,
33
33
  folderProviderOf,
34
34
  folderProviderSql,
35
35
  isDocumentAccountProvider
36
- } from "./chunk-6VARUB3J.js";
36
+ } from "./chunk-5TIWO6AR.js";
37
37
  import {
38
38
  damagedFile
39
- } from "./chunk-UWDRU3R6.js";
39
+ } from "./chunk-3ZKNXKM7.js";
40
40
  import {
41
41
  CliError
42
- } from "./chunk-HM6AMYHR.js";
42
+ } from "./chunk-PMGAU6AP.js";
43
43
  import {
44
44
  __name
45
45
  } from "./chunk-ZVVMGPBJ.js";
46
46
 
47
- // node_modules/.pnpm/@wirecat+cli-core@0.709.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_d98198650466e0f5373009c2596db072/node_modules/@wirecat/cli-core/dist/store/damage.js
47
+ // node_modules/.pnpm/@wirecat+cli-core@0.713.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_29dc9b659505b9f83a43774498347dd2/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.709.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_d98198650466e0f5373009c2596db072/node_modules/@wirecat/cli-core/dist/store/document-transfer/index.js
150
+ // node_modules/.pnpm/@wirecat+cli-core@0.713.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_29dc9b659505b9f83a43774498347dd2/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.709.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_d98198650466e0f5373009c2596db072/node_modules/@wirecat/cli-core/dist/store/sqlite/document-transfer/people.js
154
+ // node_modules/.pnpm/@wirecat+cli-core@0.713.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_29dc9b659505b9f83a43774498347dd2/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.709.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_d98198650466e0f5373009c2596db072/node_modules/@wirecat/cli-core/dist/store/document-transfer/digest.js
217
+ // node_modules/.pnpm/@wirecat+cli-core@0.713.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_29dc9b659505b9f83a43774498347dd2/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.709.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_d98198650466e0f5373009c2596db072/node_modules/@wirecat/cli-core/dist/store/sqlite/document-transfer/collection.js
221
+ // node_modules/.pnpm/@wirecat+cli-core@0.713.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_29dc9b659505b9f83a43774498347dd2/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.709.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_d98198650466e0f5373009c2596db072/node_modules/@wirecat/cli-core/dist/store/sqlite/document-transfer/plan.js
265
+ // node_modules/.pnpm/@wirecat+cli-core@0.713.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_29dc9b659505b9f83a43774498347dd2/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.709.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_d98198650466e0f5373009c2596db072/node_modules/@wirecat/cli-core/dist/store/sqlite/document-transfer/snapshot.js
432
+ // node_modules/.pnpm/@wirecat+cli-core@0.713.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_29dc9b659505b9f83a43774498347dd2/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.709.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_d98198650466e0f5373009c2596db072/node_modules/@wirecat/cli-core/dist/store/sqlite/document-transfer/apply.js
594
+ // node_modules/.pnpm/@wirecat+cli-core@0.713.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_29dc9b659505b9f83a43774498347dd2/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.709.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_d98198650466e0f5373009c2596db072/node_modules/@wirecat/cli-core/dist/store/document-transfer/index.js
766
+ // node_modules/.pnpm/@wirecat+cli-core@0.713.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_29dc9b659505b9f83a43774498347dd2/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.709.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_d98198650466e0f5373009c2596db072/node_modules/@wirecat/cli-core/dist/store/health.js
868
+ // node_modules/.pnpm/@wirecat+cli-core@0.713.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_29dc9b659505b9f83a43774498347dd2/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.709.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_d98198650466e0f5373009c2596db072/node_modules/@wirecat/cli-core/dist/store/project-transfer/preview.js
1010
+ // node_modules/.pnpm/@wirecat+cli-core@0.713.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_29dc9b659505b9f83a43774498347dd2/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.709.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_d98198650466e0f5373009c2596db072/node_modules/@wirecat/cli-core/dist/store/project-transfer/snapshot.js
1036
+ // node_modules/.pnpm/@wirecat+cli-core@0.713.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_29dc9b659505b9f83a43774498347dd2/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");
@@ -8,10 +8,10 @@ import {
8
8
  annotateOption,
9
9
  listOf,
10
10
  sharedCommand
11
- } from "./chunk-QYCMB7JY.js";
11
+ } from "./chunk-ROK7Z5LQ.js";
12
12
  import {
13
13
  readMoment
14
- } from "./chunk-OO4OKMNB.js";
14
+ } from "./chunk-NYR7PIAG.js";
15
15
  import {
16
16
  BACKENDS,
17
17
  EVENT_QUERY,
@@ -51,15 +51,15 @@ import {
51
51
  validateMeetingHitSearch,
52
52
  validateMeetingPassage,
53
53
  validateQuery
54
- } from "./chunk-AXKIXVQA.js";
54
+ } from "./chunk-WNQECDIP.js";
55
55
  import {
56
56
  CliError
57
- } from "./chunk-HM6AMYHR.js";
57
+ } from "./chunk-PMGAU6AP.js";
58
58
  import {
59
59
  __name
60
60
  } from "./chunk-ZVVMGPBJ.js";
61
61
 
62
- // node_modules/.pnpm/@wirecat+cli-core@0.709.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_d98198650466e0f5373009c2596db072/node_modules/@wirecat/cli-core/dist/services/moment.js
62
+ // node_modules/.pnpm/@wirecat+cli-core@0.713.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_29dc9b659505b9f83a43774498347dd2/node_modules/@wirecat/cli-core/dist/services/moment.js
63
63
  var read = /* @__PURE__ */ __name((reference, flag, now, at) => {
64
64
  const found = readMoment(reference, flag, { ...at, now });
65
65
  if (found === void 0)
@@ -88,7 +88,7 @@ var dateWindow = /* @__PURE__ */ __name(({ sinceTime, untilTime, zone, now = Dat
88
88
  };
89
89
  }, "dateWindow");
90
90
 
91
- // node_modules/.pnpm/@wirecat+cli-core@0.709.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_d98198650466e0f5373009c2596db072/node_modules/@wirecat/cli-core/dist/meetings/cli/management.js
91
+ // node_modules/.pnpm/@wirecat+cli-core@0.713.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_29dc9b659505b9f83a43774498347dd2/node_modules/@wirecat/cli-core/dist/meetings/cli/management.js
92
92
  var REMOTE_READ = { remote: "read", local: "read" };
93
93
  var REMOTE_WRITE = { remote: "write", local: "write" };
94
94
  var minutes = /* @__PURE__ */ __name((text) => {
@@ -193,7 +193,7 @@ var addMeetingManagementCommands = /* @__PURE__ */ __name((group, deps) => {
193
193
  }).description("the invitation text the service writes for a meeting"))).action(async (id, _flags, command) => inRun(command, async () => print({ item: { ...await management.invitation(id, signalled()), untrusted: ["invitation"] } }, command)));
194
194
  }, "addMeetingManagementCommands");
195
195
 
196
- // node_modules/.pnpm/@wirecat+cli-core@0.709.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_d98198650466e0f5373009c2596db072/node_modules/@wirecat/cli-core/dist/meetings/cli/query-options.js
196
+ // node_modules/.pnpm/@wirecat+cli-core@0.713.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_29dc9b659505b9f83a43774498347dd2/node_modules/@wirecat/cli-core/dist/meetings/cli/query-options.js
197
197
  var queryWordsAfterOptions = /* @__PURE__ */ __name((command) => {
198
198
  command.allowUnknownOption();
199
199
  const parse = command.parseOptions.bind(command);
@@ -213,7 +213,7 @@ var queryWordsAfterOptions = /* @__PURE__ */ __name((command) => {
213
213
  return command;
214
214
  }, "queryWordsAfterOptions");
215
215
 
216
- // node_modules/.pnpm/@wirecat+cli-core@0.709.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_d98198650466e0f5373009c2596db072/node_modules/@wirecat/cli-core/dist/meetings/cli/passage.js
216
+ // node_modules/.pnpm/@wirecat+cli-core@0.713.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_29dc9b659505b9f83a43774498347dd2/node_modules/@wirecat/cli-core/dist/meetings/cli/passage.js
217
217
  var count = /* @__PURE__ */ __name((value) => {
218
218
  if (!/^(0|[1-9]\d*)$/.test(value) || !Number.isSafeInteger(Number(value)))
219
219
  throw new CliError("validation_error", "expected a nonnegative safe integer");
@@ -255,7 +255,7 @@ var addMeetingPassageCommandDefinition = /* @__PURE__ */ __name((program, deps)
255
255
  var createMeetingPassageCommand = sharedCommand(createMeetingPassageCommandDefinition);
256
256
  var addMeetingPassageCommand = sharedCommand(addMeetingPassageCommandDefinition);
257
257
 
258
- // node_modules/.pnpm/@wirecat+cli-core@0.709.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_d98198650466e0f5373009c2596db072/node_modules/@wirecat/cli-core/dist/meetings/cli/project-evidence.js
258
+ // node_modules/.pnpm/@wirecat+cli-core@0.713.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_29dc9b659505b9f83a43774498347dd2/node_modules/@wirecat/cli-core/dist/meetings/cli/project-evidence.js
259
259
  var integer = /* @__PURE__ */ __name((value) => {
260
260
  if (!/^[1-9]\d*$/.test(value) || !Number.isSafeInteger(Number(value)))
261
261
  throw new CliError("validation_error", "expected a positive safe integer");
@@ -278,7 +278,7 @@ ${fieldsHelp(MEETING_PROJECT_EVIDENCE_QUERY)}`).option("--limit <n>", "hits in o
278
278
  }, "addMeetingProjectEvidenceCommandDefinition");
279
279
  var addMeetingProjectEvidenceCommand = sharedCommand(addMeetingProjectEvidenceCommandDefinition);
280
280
 
281
- // node_modules/.pnpm/@wirecat+cli-core@0.709.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_d98198650466e0f5373009c2596db072/node_modules/@wirecat/cli-core/dist/meetings/cli/search.js
281
+ // node_modules/.pnpm/@wirecat+cli-core@0.713.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_29dc9b659505b9f83a43774498347dd2/node_modules/@wirecat/cli-core/dist/meetings/cli/search.js
282
282
  var moment = /* @__PURE__ */ __name((flag, end, readIn) => (value) => {
283
283
  const { since, until, meta } = dateWindow(end ? { untilTime: value, names: [flag, flag] } : { sinceTime: value, names: [flag, flag] });
284
284
  if (meta.timezone)
@@ -357,7 +357,7 @@ var addMeetingSearchCommandDefinition = /* @__PURE__ */ __name((program, deps) =
357
357
  var createMeetingSearchCommand = sharedCommand(createMeetingSearchCommandDefinition);
358
358
  var addMeetingSearchCommand = sharedCommand(addMeetingSearchCommandDefinition);
359
359
 
360
- // node_modules/.pnpm/@wirecat+cli-core@0.709.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_d98198650466e0f5373009c2596db072/node_modules/@wirecat/cli-core/dist/meetings/cli/index.js
360
+ // node_modules/.pnpm/@wirecat+cli-core@0.713.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_29dc9b659505b9f83a43774498347dd2/node_modules/@wirecat/cli-core/dist/meetings/cli/index.js
361
361
  var EVENT_UNTRUSTED = ["title", "description", "location"];
362
362
  var integer3 = /* @__PURE__ */ __name((text) => {
363
363
  if (!/^[1-9]\d*$/.test(text) || !Number.isSafeInteger(Number(text)))
@@ -543,7 +543,7 @@ ${fieldsHelp(EVENT_QUERY, MEETING_QUERY_GUIDE)}`);
543
543
  }, "addMeetingCommandsDefinition");
544
544
  var addMeetingCommands = sharedCommand(addMeetingCommandsDefinition);
545
545
 
546
- // node_modules/.pnpm/@wirecat+cli-core@0.709.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_d98198650466e0f5373009c2596db072/node_modules/@wirecat/cli-core/dist/cli/list-query.js
546
+ // node_modules/.pnpm/@wirecat+cli-core@0.713.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_29dc9b659505b9f83a43774498347dd2/node_modules/@wirecat/cli-core/dist/cli/list-query.js
547
547
  var LIST_QUERY_GUIDE = "https://github.com/WireCatLabs/cli-core/blob/main/docs/search/query-language.md";
548
548
  var QUERY_ARGUMENT = "field:value terms that narrow the list \u2014 the fields are below";
549
549
  var withQuery = /* @__PURE__ */ __name((command, registry) => {
@@ -679,7 +679,7 @@ var termField = /* @__PURE__ */ __name((name, type, example, more = {}) => nativ
679
679
  var queryHelp = /* @__PURE__ */ __name((registry) => `
680
680
  ${fieldsHelp(registry, LIST_QUERY_GUIDE)}`, "queryHelp");
681
681
 
682
- // node_modules/.pnpm/@wirecat+cli-core@0.709.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_d98198650466e0f5373009c2596db072/node_modules/@wirecat/cli-core/dist/ports/messenger.js
682
+ // node_modules/.pnpm/@wirecat+cli-core@0.713.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_29dc9b659505b9f83a43774498347dd2/node_modules/@wirecat/cli-core/dist/ports/messenger.js
683
683
  var throughWrapper = /* @__PURE__ */ __name((inner, handled, wrap = (_, call) => call) => new Proxy(handled, {
684
684
  get: /* @__PURE__ */ __name((own, key) => {
685
685
  if (key in own)