@wirecat/mail-cli 0.29.0 → 0.30.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 (99) hide show
  1. package/CHANGELOG.md +13 -0
  2. package/dist/bin/mail.js +2 -2
  3. package/dist/bundle/{all-profiles-Q4E2LPB4.js → all-profiles-523GLORJ.js} +7 -7
  4. package/dist/bundle/{anthropic-S3N4JDJU.js → anthropic-KKYGROQR.js} +2 -2
  5. package/dist/bundle/{app-server-E44CAPPI.js → app-server-RJR7U5NT.js} +44 -44
  6. package/dist/bundle/{bun-RDYA5FCZ.js → bun-EBQHHLKR.js} +2 -2
  7. package/dist/bundle/{bun-sqlite-FPVHKI24.js → bun-sqlite-LTG2RRSL.js} +3 -3
  8. package/dist/bundle/{chunk-UUM7AF32.js → chunk-26H2HVJD.js} +2 -2
  9. package/dist/bundle/{chunk-3RBUACSJ.js → chunk-2M7PPII5.js} +71 -71
  10. package/dist/bundle/{chunk-FOZXPSHA.js → chunk-3ECFSRLQ.js} +3 -3
  11. package/dist/bundle/{chunk-DIOHJT2W.js → chunk-3HCEKXXB.js} +6 -6
  12. package/dist/bundle/{chunk-FHQ32JKS.js → chunk-4F7WQHDO.js} +1 -1
  13. package/dist/bundle/{chunk-TXDA437R.js → chunk-54JKDFOV.js} +1 -1
  14. package/dist/bundle/{chunk-5ZJ6IHVE.js → chunk-5X5A3CAX.js} +1 -1
  15. package/dist/bundle/{chunk-RFM3AAK5.js → chunk-6C7SA4LD.js} +52 -52
  16. package/dist/bundle/{chunk-7AO73MJZ.js → chunk-A3YXTDTP.js} +15 -15
  17. package/dist/bundle/{chunk-WSHPLO4Q.js → chunk-B3NXAN6J.js} +147 -391
  18. package/dist/bundle/{chunk-7ESXP4TG.js → chunk-BOGGQOVO.js} +1 -1
  19. package/dist/bundle/{chunk-MT5KDBOM.js → chunk-CWAA73PJ.js} +5 -5
  20. package/dist/bundle/{chunk-HKC6ZJA5.js → chunk-D3J4T5OZ.js} +12 -12
  21. package/dist/bundle/{chunk-NWA7JS74.js → chunk-DBI22GQL.js} +378 -293
  22. package/dist/bundle/{chunk-FDGCTY6J.js → chunk-E2SL7HIZ.js} +9 -9
  23. package/dist/bundle/{chunk-45ET53MO.js → chunk-ENKZEQ4Y.js} +2 -2
  24. package/dist/bundle/{chunk-IKTBM64M.js → chunk-F22PLRCG.js} +7 -7
  25. package/dist/bundle/{chunk-7E4KECG4.js → chunk-FL2TKSZY.js} +1 -1
  26. package/dist/bundle/{chunk-ATJANIQR.js → chunk-FYXGD6R6.js} +2 -2
  27. package/dist/bundle/{chunk-2MTIGJHQ.js → chunk-GCSFZTRI.js} +9 -8
  28. package/dist/bundle/{chunk-YAQGWHMH.js → chunk-GDFJKUMK.js} +6 -6
  29. package/dist/bundle/{chunk-YSR2XBDO.js → chunk-GXKFRZUP.js} +3 -3
  30. package/dist/bundle/{chunk-VERUQQZS.js → chunk-HVJ2WQI7.js} +10 -10
  31. package/dist/bundle/{chunk-ODPYXNHI.js → chunk-HZUUVNWC.js} +1 -1
  32. package/dist/bundle/{chunk-KBTVVHFP.js → chunk-IIV43UIC.js} +12 -12
  33. package/dist/bundle/{chunk-VFRI6RF7.js → chunk-IJONJTST.js} +1 -1
  34. package/dist/bundle/{chunk-3AH7UEM6.js → chunk-J5PUHGK2.js} +1 -1
  35. package/dist/bundle/{chunk-NUHUTJTM.js → chunk-JKWNPRZD.js} +1 -1
  36. package/dist/bundle/{chunk-PIKOQWTL.js → chunk-K5FTIIYR.js} +4 -4
  37. package/dist/bundle/{chunk-WZNQ2P7H.js → chunk-KE2RQUQO.js} +1307 -1307
  38. package/dist/bundle/{chunk-Z5D6CRY6.js → chunk-KIZYN3NG.js} +322 -11
  39. package/dist/bundle/{chunk-FM4B357N.js → chunk-L2D5QYI3.js} +2 -2
  40. package/dist/bundle/{chunk-UH7FYLFL.js → chunk-LM4K6K2R.js} +4 -4
  41. package/dist/bundle/{chunk-KSFPMRH6.js → chunk-LN2LWPN2.js} +1 -1
  42. package/dist/bundle/{chunk-UQZJ2GFQ.js → chunk-MP572GP7.js} +2 -2
  43. package/dist/bundle/{chunk-ZPVVSA5R.js → chunk-MVDP7VL6.js} +1 -1
  44. package/dist/bundle/{chunk-BPHLFSUO.js → chunk-NMN7RTX5.js} +15 -15
  45. package/dist/bundle/{chunk-OLTJB5PW.js → chunk-NV2REPY6.js} +1 -1
  46. package/dist/bundle/{chunk-MVGFB7IS.js → chunk-ONA3UI3R.js} +2 -2
  47. package/dist/bundle/{chunk-5PDWUD3W.js → chunk-Q23EEGPC.js} +1 -1
  48. package/dist/bundle/{chunk-ZIFB6KGQ.js → chunk-QGIQ62KV.js} +1554 -940
  49. package/dist/bundle/{chunk-PYOM4J73.js → chunk-R3IFRHZ2.js} +2 -2
  50. package/dist/bundle/{chunk-XEMARUGS.js → chunk-RLPWLGP6.js} +7 -7
  51. package/dist/bundle/{chunk-YRER6N3Y.js → chunk-S2KKQA7O.js} +29 -29
  52. package/dist/bundle/{chunk-VXHL3XI6.js → chunk-SN5V6CKH.js} +2 -2
  53. package/dist/bundle/{chunk-IZEK7JI7.js → chunk-SNZFQ5SS.js} +6 -2
  54. package/dist/bundle/{chunk-D4QALV67.js → chunk-SPWKGRTO.js} +1 -1
  55. package/dist/bundle/{chunk-RGIEG4XK.js → chunk-T7A6HSBF.js} +1 -1
  56. package/dist/bundle/{chunk-6B2BBL35.js → chunk-TIMBTN5Z.js} +5 -5
  57. package/dist/bundle/{chunk-44IAJV2T.js → chunk-U7VYDTXN.js} +16 -16
  58. package/dist/bundle/{chunk-KNTAOY5J.js → chunk-WHS3CTTM.js} +7 -7
  59. package/dist/bundle/{chunk-W32UQL5I.js → chunk-WXQK5RO5.js} +21 -21
  60. package/dist/bundle/{chunk-DMW6J2P3.js → chunk-XGEPAJBY.js} +1 -1
  61. package/dist/bundle/{chunk-BDWOTD7E.js → chunk-YMJXGIYG.js} +80 -80
  62. package/dist/bundle/{chunk-PCYTU7HS.js → chunk-YNI57LTZ.js} +1 -1
  63. package/dist/bundle/{chunk-KTLJ6F2B.js → chunk-ZG2XBWFT.js} +3 -3
  64. package/dist/bundle/{command-contract-TMLXLGVT.js → command-contract-ETECA2AC.js} +15 -15
  65. package/dist/bundle/{command-server-entry-PFUR2W7X.js → command-server-entry-BFXRYTBC.js} +21 -21
  66. package/dist/bundle/{decode-SIVT4JWX.js → decode-4QRYNPD5.js} +2 -2
  67. package/dist/bundle/{dist-YWSF5MHP.js → dist-MHJPECI4.js} +11 -11
  68. package/dist/bundle/{echarts-CABLIXX7.js → echarts-EJXBKCJT.js} +2 -2
  69. package/dist/bundle/{embed-OHENS6RB.js → embed-46WZZMUQ.js} +3 -3
  70. package/dist/bundle/{embedder-JINT4Y4O.js → embedder-56WHJKJE.js} +6 -6
  71. package/dist/bundle/{first-run-LU2MAK2B.js → first-run-CATDBOBV.js} +6 -6
  72. package/dist/bundle/first-screen-WCDR3QUR.js +34 -0
  73. package/dist/bundle/{instructions-3D22PA4T.js → instructions-Z7GVGWXS.js} +1 -1
  74. package/dist/bundle/mail.js +2 -2
  75. package/dist/bundle/{node-42G4RGMW.js → node-L2PVEW3N.js} +2 -2
  76. package/dist/bundle/{node-sqlite-KQZM5M3N.js → node-sqlite-RIGII7U7.js} +4 -4
  77. package/dist/bundle/{oauth-7BNCNKQV.js → oauth-OWT6NYRS.js} +4 -4
  78. package/dist/bundle/{open-ULOQOP7K.js → open-D3SPYL7O.js} +2 -2
  79. package/dist/bundle/{openai-O5AH6VGT.js → openai-IPTZDMFD.js} +12 -12
  80. package/dist/bundle/{process-6D767IDN.js → process-MNZTQ2DA.js} +1 -1
  81. package/dist/bundle/{program-OE7MFRMJ.js → program-QCHTCOCR.js} +1210 -1019
  82. package/dist/bundle/{prompt-WN7EBVKT.js → prompt-BN6AKRWN.js} +2 -2
  83. package/dist/bundle/{recognize-IX33XEXZ.js → recognize-I5TH7OEW.js} +1 -1
  84. package/dist/bundle/{remote-22N3FQUC.js → remote-R324LAUL.js} +6 -6
  85. package/dist/bundle/{rerank-IGX4EFA2.js → rerank-ZMGZCUJV.js} +4 -4
  86. package/dist/bundle/{serve-XWIRR2QZ.js → serve-YUFZSNJC.js} +6 -6
  87. package/dist/bundle/{server-DBS4WC6T.js → server-54ULZ3RA.js} +35 -35
  88. package/dist/bundle/server-UD75CYDG.js +68 -0
  89. package/dist/bundle/{sqlite-runtime-WFBTXXXJ.js → sqlite-runtime-AYQTUQXM.js} +3 -3
  90. package/dist/bundle/{state-4J5ERHJA.js → state-PHEBOYYI.js} +3 -3
  91. package/dist/bundle/{store-YRBX7XLM.js → store-4PHDSXEV.js} +13 -13
  92. package/dist/bundle/{store-YSP2NPRJ.js → store-NGX3A5XT.js} +19 -15
  93. package/dist/bundle/store-maintenance-command-WHBIV6HC.js +58 -0
  94. package/dist/version.d.ts +1 -1
  95. package/dist/version.js +1 -1
  96. package/package.json +2 -2
  97. package/dist/bundle/first-screen-KZNLKRRQ.js +0 -34
  98. package/dist/bundle/server-D5OTVERP.js +0 -68
  99. package/dist/bundle/store-maintenance-command-SH6IB7S6.js +0 -58
@@ -4,7 +4,7 @@ import {
4
4
  MAX_SECRET_INPUT,
5
5
  bufferedInput,
6
6
  inputPolicy
7
- } from "./chunk-FHQ32JKS.js";
7
+ } from "./chunk-4F7WQHDO.js";
8
8
  import {
9
9
  CliError
10
10
  } from "./chunk-7KCBPAQS.js";
@@ -12,7 +12,7 @@ import {
12
12
  __name
13
13
  } from "./chunk-ZVVMGPBJ.js";
14
14
 
15
- // node_modules/.pnpm/@wirecat+cli-core@0.657.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_6ef853dd58e888f20a16b5fe978b097f/node_modules/@wirecat/cli-core/dist/terminal/prompt.js
15
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_2476fb045fb1ee08e5e46f4aab8c07fa/node_modules/@wirecat/cli-core/dist/terminal/prompt.js
16
16
  import { createInterface } from "node:readline";
17
17
  import { Writable } from "node:stream";
18
18
  var EMPTY_TRIES = 3;
@@ -2,11 +2,11 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  isCliFailure
5
- } from "./chunk-NUHUTJTM.js";
5
+ } from "./chunk-JKWNPRZD.js";
6
6
  import {
7
7
  secretNamed,
8
8
  withoutSecrets
9
- } from "./chunk-ZPVVSA5R.js";
9
+ } from "./chunk-MVDP7VL6.js";
10
10
  import {
11
11
  isContentKey
12
12
  } from "./chunk-7MEVD5PI.js";
@@ -14,14 +14,14 @@ import {
14
14
  __name
15
15
  } from "./chunk-ZVVMGPBJ.js";
16
16
 
17
- // node_modules/.pnpm/@wirecat+cli-core@0.657.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_6ef853dd58e888f20a16b5fe978b097f/node_modules/@wirecat/cli-core/dist/runs/run-context.js
17
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_2476fb045fb1ee08e5e46f4aab8c07fa/node_modules/@wirecat/cli-core/dist/runs/run-context.js
18
18
  import { AsyncLocalStorage } from "node:async_hooks";
19
19
  import { createHash } from "node:crypto";
20
20
 
21
- // node_modules/.pnpm/@wirecat+cli-core@0.657.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_6ef853dd58e888f20a16b5fe978b097f/node_modules/@wirecat/cli-core/dist/runs/error-detail.js
21
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_2476fb045fb1ee08e5e46f4aab8c07fa/node_modules/@wirecat/cli-core/dist/runs/error-detail.js
22
22
  import { homedir } from "node:os";
23
23
 
24
- // node_modules/.pnpm/@wirecat+cli-core@0.657.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_6ef853dd58e888f20a16b5fe978b097f/node_modules/@wirecat/cli-core/dist/runs/events.js
24
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_2476fb045fb1ee08e5e46f4aab8c07fa/node_modules/@wirecat/cli-core/dist/runs/events.js
25
25
  var providerErrorKey = /* @__PURE__ */ __name((value) => typeof value === "string" && /^[A-Za-z][A-Za-z0-9._-]{0,63}$/.test(value) ? value : void 0, "providerErrorKey");
26
26
  var renderEvent = /* @__PURE__ */ __name((event) => {
27
27
  if (event.event === "store")
@@ -73,7 +73,7 @@ var MARK = { request: "\u2192", response: "\u2190", cache: "\u2022", warning: "!
73
73
  var age = /* @__PURE__ */ __name((ms) => ms < 1e3 ? `${ms}ms` : `${Math.round(ms / 1e3)}s`, "age");
74
74
  var size = /* @__PURE__ */ __name((bytes) => bytes < 1e3 ? `${bytes} B` : `${(bytes / 1e3).toFixed(1)} kB`, "size");
75
75
 
76
- // node_modules/.pnpm/@wirecat+cli-core@0.657.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_6ef853dd58e888f20a16b5fe978b097f/node_modules/@wirecat/cli-core/dist/runs/error-detail.js
76
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_2476fb045fb1ee08e5e46f4aab8c07fa/node_modules/@wirecat/cli-core/dist/runs/error-detail.js
77
77
  var MESSAGE_AT_MOST = 500;
78
78
  var CAUSES_AT_MOST = 5;
79
79
  var FRAMES_AT_MOST = 15;
@@ -185,7 +185,7 @@ var redactText = /* @__PURE__ */ __name((text) => {
185
185
  return out.length > MESSAGE_AT_MOST ? `${out.slice(0, MESSAGE_AT_MOST)}\u2026` : out;
186
186
  }, "redactText");
187
187
 
188
- // node_modules/.pnpm/@wirecat+cli-core@0.657.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_6ef853dd58e888f20a16b5fe978b097f/node_modules/@wirecat/cli-core/dist/runs/run-context.js
188
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_2476fb045fb1ee08e5e46f4aab8c07fa/node_modules/@wirecat/cli-core/dist/runs/run-context.js
189
189
  var REDACTED = "[redacted]";
190
190
  var keepsSuccess = /* @__PURE__ */ __name(({ record, fromFlag, env, caller, persistent = false }) => {
191
191
  if (!record)
@@ -12,10 +12,10 @@ import {
12
12
  refuseWriteBeforeConnecting,
13
13
  registerPrompts,
14
14
  syncsFirst
15
- } from "./chunk-W32UQL5I.js";
15
+ } from "./chunk-WXQK5RO5.js";
16
16
  import {
17
17
  stdinFieldOf
18
- } from "./chunk-ODPYXNHI.js";
18
+ } from "./chunk-HZUUVNWC.js";
19
19
  import {
20
20
  BinaryResource,
21
21
  Picture,
@@ -36,33 +36,33 @@ import {
36
36
  tool,
37
37
  toolKey,
38
38
  toolsFromCommands
39
- } from "./chunk-BPHLFSUO.js";
39
+ } from "./chunk-NMN7RTX5.js";
40
40
  import {
41
41
  agentJson,
42
42
  skillResource
43
- } from "./chunk-FDGCTY6J.js";
43
+ } from "./chunk-E2SL7HIZ.js";
44
44
  import {
45
45
  instructions
46
- } from "./chunk-7E4KECG4.js";
46
+ } from "./chunk-FL2TKSZY.js";
47
47
  import {
48
48
  answeredWire
49
- } from "./chunk-VFRI6RF7.js";
49
+ } from "./chunk-IJONJTST.js";
50
50
  import {
51
51
  StdioServerTransport,
52
52
  callerOf,
53
53
  callingAgent,
54
54
  serveStdio
55
- } from "./chunk-VXHL3XI6.js";
55
+ } from "./chunk-SN5V6CKH.js";
56
56
  import {
57
57
  McpServer,
58
58
  ResourceTemplate
59
59
  } from "./chunk-5D4AEUVA.js";
60
60
  import {
61
61
  mcpHttpMarker
62
- } from "./chunk-PIKOQWTL.js";
62
+ } from "./chunk-K5FTIIYR.js";
63
63
  import {
64
64
  connectedFor
65
- } from "./chunk-7AO73MJZ.js";
65
+ } from "./chunk-A3YXTDTP.js";
66
66
  import {
67
67
  capability,
68
68
  dateWindow,
@@ -72,10 +72,10 @@ import {
72
72
  servicesFor,
73
73
  storedDeps,
74
74
  wholeList
75
- } from "./chunk-NWA7JS74.js";
75
+ } from "./chunk-DBI22GQL.js";
76
76
  import {
77
77
  findCommand
78
- } from "./chunk-KTLJ6F2B.js";
78
+ } from "./chunk-ZG2XBWFT.js";
79
79
  import {
80
80
  DEFAULT_OUTPUT_BYTES,
81
81
  changesAuthorityAt,
@@ -90,30 +90,30 @@ import {
90
90
  rootOf2 as rootOf,
91
91
  sealed,
92
92
  snakeKeys
93
- } from "./chunk-WSHPLO4Q.js";
93
+ } from "./chunk-B3NXAN6J.js";
94
94
  import {
95
95
  levelFor,
96
96
  readKeysForCommand
97
- } from "./chunk-2MTIGJHQ.js";
97
+ } from "./chunk-GCSFZTRI.js";
98
98
  import {
99
99
  withCaller
100
- } from "./chunk-XEMARUGS.js";
100
+ } from "./chunk-RLPWLGP6.js";
101
101
  import {
102
102
  openStore,
103
103
  pdfPreviewLimits
104
- } from "./chunk-ZIFB6KGQ.js";
104
+ } from "./chunk-QGIQ62KV.js";
105
105
  import {
106
106
  typedCommand
107
- } from "./chunk-BDWOTD7E.js";
107
+ } from "./chunk-YMJXGIYG.js";
108
108
  import {
109
109
  timezoneOf
110
- } from "./chunk-3RBUACSJ.js";
110
+ } from "./chunk-2M7PPII5.js";
111
111
  import {
112
112
  isCliFailure
113
- } from "./chunk-NUHUTJTM.js";
113
+ } from "./chunk-JKWNPRZD.js";
114
114
  import {
115
115
  warmEmbedders
116
- } from "./chunk-MT5KDBOM.js";
116
+ } from "./chunk-CWAA73PJ.js";
117
117
  import {
118
118
  description,
119
119
  integer,
@@ -138,10 +138,10 @@ import {
138
138
  __name
139
139
  } from "./chunk-ZVVMGPBJ.js";
140
140
 
141
- // node_modules/.pnpm/@wirecat+cli-core@0.657.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_6ef853dd58e888f20a16b5fe978b097f/node_modules/@wirecat/cli-core/dist/mcp/server.js
141
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_2476fb045fb1ee08e5e46f4aab8c07fa/node_modules/@wirecat/cli-core/dist/mcp/server.js
142
142
  import { randomUUID } from "node:crypto";
143
143
 
144
- // node_modules/.pnpm/@wirecat+cli-core@0.657.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_6ef853dd58e888f20a16b5fe978b097f/node_modules/@wirecat/cli-core/dist/mcp/agent-log.js
144
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_2476fb045fb1ee08e5e46f4aab8c07fa/node_modules/@wirecat/cli-core/dist/mcp/agent-log.js
145
145
  var agentLog = /* @__PURE__ */ __name((open) => {
146
146
  let held;
147
147
  return {
@@ -160,7 +160,7 @@ var agentLog = /* @__PURE__ */ __name((open) => {
160
160
  };
161
161
  }, "agentLog");
162
162
 
163
- // node_modules/.pnpm/@wirecat+cli-core@0.657.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_6ef853dd58e888f20a16b5fe978b097f/node_modules/@wirecat/cli-core/dist/mcp/resources.js
163
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_2476fb045fb1ee08e5e46f4aab8c07fa/node_modules/@wirecat/cli-core/dist/mcp/resources.js
164
164
  var LISTED = 100;
165
165
  var registerResources = /* @__PURE__ */ __name((server, session, { command, name, limit, recorded, withStore, messenger, guard, assertRead }) => {
166
166
  server.registerResource("chat", new ResourceTemplate(`${command}://chat/{id}`, {
@@ -198,7 +198,7 @@ var registerResources = /* @__PURE__ */ __name((server, session, { command, name
198
198
  });
199
199
  }, "registerResources");
200
200
 
201
- // node_modules/.pnpm/@wirecat+cli-core@0.657.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_6ef853dd58e888f20a16b5fe978b097f/node_modules/@wirecat/cli-core/dist/mcp/session.js
201
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_2476fb045fb1ee08e5e46f4aab8c07fa/node_modules/@wirecat/cli-core/dist/mcp/session.js
202
202
  var HARMLESS = /* @__PURE__ */ new Set(["validation_error", "not_found", "permission_error", "confirmation_required", "rate_limited"]);
203
203
  var harmless = /* @__PURE__ */ __name((code) => HARMLESS.has(code), "harmless");
204
204
  var MessengerSession = class {
@@ -273,7 +273,7 @@ var MessengerSession = class {
273
273
  }
274
274
  };
275
275
 
276
- // node_modules/.pnpm/@wirecat+cli-core@0.657.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_6ef853dd58e888f20a16b5fe978b097f/node_modules/@wirecat/cli-core/dist/mcp/tools/attachments.js
276
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_2476fb045fb1ee08e5e46f4aab8c07fa/node_modules/@wirecat/cli-core/dist/mcp/tools/attachments.js
277
277
  var attachmentsTools = /* @__PURE__ */ __name((messenger) => {
278
278
  const _command = messenger.app.command;
279
279
  return {
@@ -327,7 +327,7 @@ var attachmentsTools = /* @__PURE__ */ __name((messenger) => {
327
327
  };
328
328
  }, "attachmentsTools");
329
329
 
330
- // node_modules/.pnpm/@wirecat+cli-core@0.657.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_6ef853dd58e888f20a16b5fe978b097f/node_modules/@wirecat/cli-core/dist/mcp/tools/messages-photo.js
330
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_2476fb045fb1ee08e5e46f4aab8c07fa/node_modules/@wirecat/cli-core/dist/mcp/tools/messages-photo.js
331
331
  var PHOTO_LIMIT = 512 * 1024;
332
332
  var IMAGE_TYPES = [
333
333
  ["image/jpeg", (b) => b[0] === 255 && b[1] === 216 && b[2] === 255],
@@ -381,7 +381,7 @@ var readUpTo = /* @__PURE__ */ __name(async (file, limit, saveIt) => {
381
381
  return new Uint8Array(Buffer.concat(chunks));
382
382
  }, "readUpTo");
383
383
 
384
- // node_modules/.pnpm/@wirecat+cli-core@0.657.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_6ef853dd58e888f20a16b5fe978b097f/node_modules/@wirecat/cli-core/dist/mcp/tools/stats.js
384
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_2476fb045fb1ee08e5e46f4aab8c07fa/node_modules/@wirecat/cli-core/dist/mcp/tools/stats.js
385
385
  var statsTools = /* @__PURE__ */ __name((messenger) => ({
386
386
  stats_charts: tool({
387
387
  title: "A chart from a chat's statistics",
@@ -418,14 +418,14 @@ var statsTools = /* @__PURE__ */ __name((messenger) => ({
418
418
  })
419
419
  }), "statsTools");
420
420
 
421
- // node_modules/.pnpm/@wirecat+cli-core@0.657.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_6ef853dd58e888f20a16b5fe978b097f/node_modules/@wirecat/cli-core/dist/mcp/tools.js
421
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_2476fb045fb1ee08e5e46f4aab8c07fa/node_modules/@wirecat/cli-core/dist/mcp/tools.js
422
422
  var pictureTools = /* @__PURE__ */ __name((messenger) => Object.fromEntries(Object.entries({
423
423
  ...messagesPhotoTools(messenger),
424
424
  ...attachmentsTools(messenger),
425
425
  ...statsTools(messenger)
426
426
  }).map(([name, definition]) => [name, { ...definition, input: strictObject(definition.input.entries) }])), "pictureTools");
427
427
 
428
- // node_modules/.pnpm/@wirecat+cli-core@0.657.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_6ef853dd58e888f20a16b5fe978b097f/node_modules/@wirecat/cli-core/dist/mcp/server.js
428
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_2476fb045fb1ee08e5e46f4aab8c07fa/node_modules/@wirecat/cli-core/dist/mcp/server.js
429
429
  var PER_RUN = /* @__PURE__ */ new Set([
430
430
  "streams",
431
431
  "stdin",
@@ -752,7 +752,7 @@ var serveOverStdio = /* @__PURE__ */ __name(async (command, context, messenger,
752
752
  }, "serveOverStdio");
753
753
  var serveOverHttpUntilStopped = /* @__PURE__ */ __name(async (command, context, messenger, options, http) => {
754
754
  const { session, embedders, build, log } = createServer(command, context, messenger, options);
755
- const { serveOverHttp } = await import("./serve-XWIRR2QZ.js");
755
+ const { serveOverHttp } = await import("./serve-YUFZSNJC.js");
756
756
  const appName = messenger.app.command;
757
757
  const appEnvPrefix = messenger.app.envPrefix;
758
758
  const listening = await serveOverHttp(build, {
@@ -29,7 +29,7 @@ import {
29
29
  agentOf,
30
30
  clientHash,
31
31
  currentCaller
32
- } from "./chunk-XEMARUGS.js";
32
+ } from "./chunk-RLPWLGP6.js";
33
33
  import {
34
34
  __name
35
35
  } from "./chunk-ZVVMGPBJ.js";
@@ -541,7 +541,7 @@ function toError(value) {
541
541
  }
542
542
  __name(toError, "toError");
543
543
 
544
- // node_modules/.pnpm/@wirecat+cli-core@0.657.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_6ef853dd58e888f20a16b5fe978b097f/node_modules/@wirecat/cli-core/dist/mcp/caller.js
544
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_2476fb045fb1ee08e5e46f4aab8c07fa/node_modules/@wirecat/cli-core/dist/mcp/caller.js
545
545
  var callingAgent = /* @__PURE__ */ __name((fallback, caller = currentCaller()) => {
546
546
  const client = caller?.agent?.client?.name;
547
547
  if (client && client !== "unknown")
@@ -2,7 +2,7 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  QUERY_REASONS
5
- } from "./chunk-3RBUACSJ.js";
5
+ } from "./chunk-2M7PPII5.js";
6
6
  import {
7
7
  defineReasons
8
8
  } from "./chunk-ECZSYLSL.js";
@@ -10,7 +10,7 @@ import {
10
10
  __name
11
11
  } from "./chunk-ZVVMGPBJ.js";
12
12
 
13
- // node_modules/.pnpm/@wirecat+cli-core@0.657.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_6ef853dd58e888f20a16b5fe978b097f/node_modules/@wirecat/cli-core/dist/errors/reasons.js
13
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_2476fb045fb1ee08e5e46f4aab8c07fa/node_modules/@wirecat/cli-core/dist/errors/reasons.js
14
14
  var validation = /* @__PURE__ */ __name((reason, message) => [reason, "validation_error", message], "validation");
15
15
  var QUERY = [
16
16
  ["query.aborted", "the search was stopped before it finished"],
@@ -160,6 +160,10 @@ var OTHERS = [
160
160
  validation("agent.cost-unknown", "the agent reports no cost, so a cost cap cannot stop it"),
161
161
  validation("document.changed", "the document changed while it was read; nothing was saved"),
162
162
  ["document.not-imported", "not_found", "the document is not imported in this source account"],
163
+ ["document.not-found", "not_found", "no listed document has that reference"],
164
+ ["meeting.not-found", "not_found", "no meeting row has that event or meeting reference"],
165
+ ["listing.source-not-found", "not_found", "a source: term names no account holding what is listed"],
166
+ validation("query.empty-window", "the time window ends before it starts, so no row can fall in it"),
163
167
  ["extraction.invalid-proposals", "invalid_response", "the model's memory proposals could not be used"],
164
168
  validation("extraction.text-too-long", "the text is too long for memory extraction"),
165
169
  validation("file.locked", "another process holds the file's lock"),
@@ -4,7 +4,7 @@ import {
4
4
  __name
5
5
  } from "./chunk-ZVVMGPBJ.js";
6
6
 
7
- // node_modules/.pnpm/@wirecat+cli-core@0.657.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_6ef853dd58e888f20a16b5fe978b097f/node_modules/@wirecat/cli-core/dist/store/normalize.js
7
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_2476fb045fb1ee08e5e46f4aab8c07fa/node_modules/@wirecat/cli-core/dist/store/normalize.js
8
8
  var NORMALIZER_VERSION = 1;
9
9
  var fold = /* @__PURE__ */ __name((text) => text.normalize("NFKD").replace(new RegExp("\\p{M}+", "gu"), "").normalize("NFC").toLowerCase(), "fold");
10
10
  var normalize = /* @__PURE__ */ __name((text) => fold(text).replace(new RegExp("\\p{Cc}", "gu"), " ").replace(/\s+/gu, " ").trim(), "normalize");
@@ -58,7 +58,7 @@ var ENTRIES = [
58
58
  var REASONS = defineReasons(ENTRIES.map(([reason, code, message]) => ({ reason, code, message, details: [] })));
59
59
 
60
60
  // dist/version.js
61
- var VERSION = "0.29.0";
61
+ var VERSION = "0.30.0";
62
62
 
63
63
  // dist/identity.js
64
64
  var PACKAGE = "@wirecat/mail-cli";
@@ -2,7 +2,7 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  PRAGMAS
5
- } from "./chunk-OLTJB5PW.js";
5
+ } from "./chunk-NV2REPY6.js";
6
6
  import {
7
7
  CliError
8
8
  } from "./chunk-7KCBPAQS.js";
@@ -10,7 +10,7 @@ import {
10
10
  __name
11
11
  } from "./chunk-ZVVMGPBJ.js";
12
12
 
13
- // node_modules/.pnpm/@wirecat+cli-core@0.657.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_6ef853dd58e888f20a16b5fe978b097f/node_modules/@wirecat/cli-core/dist/store/sqlite-warning.js
13
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_2476fb045fb1ee08e5e46f4aab8c07fa/node_modules/@wirecat/cli-core/dist/store/sqlite-warning.js
14
14
  var SQLITE_WARNING = "SQLite is an experimental feature";
15
15
  var quieted = /* @__PURE__ */ new WeakSet();
16
16
  var quietSqliteWarning = /* @__PURE__ */ __name((host = process) => {
@@ -31,7 +31,7 @@ var isSqliteWarning = /* @__PURE__ */ __name((warning, options) => {
31
31
  return name === "ExperimentalWarning" && message.startsWith(SQLITE_WARNING);
32
32
  }, "isSqliteWarning");
33
33
 
34
- // node_modules/.pnpm/@wirecat+cli-core@0.657.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_6ef853dd58e888f20a16b5fe978b097f/node_modules/@wirecat/cli-core/dist/store/open.js
34
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_2476fb045fb1ee08e5e46f4aab8c07fa/node_modules/@wirecat/cli-core/dist/store/open.js
35
35
  var openCache = /* @__PURE__ */ __name(async (path) => {
36
36
  const database = await openFile(path);
37
37
  try {
@@ -44,12 +44,12 @@ var openCache = /* @__PURE__ */ __name(async (path) => {
44
44
  }, "openCache");
45
45
  var openFile = /* @__PURE__ */ __name((path) => "Bun" in globalThis ? openUnderBun(path) : openUnderNode(path), "openFile");
46
46
  var openUnderBun = /* @__PURE__ */ __name(async (path) => {
47
- const { openWithBunSqlite } = await import("./bun-sqlite-FPVHKI24.js");
47
+ const { openWithBunSqlite } = await import("./bun-sqlite-LTG2RRSL.js");
48
48
  return await openWithBunSqlite(path);
49
49
  }, "openUnderBun");
50
50
  var openUnderNode = /* @__PURE__ */ __name(async (path) => {
51
51
  quietSqliteWarning();
52
- const { openWithNodeSqlite } = await import("./node-sqlite-KQZM5M3N.js");
52
+ const { openWithNodeSqlite } = await import("./node-sqlite-RIGII7U7.js");
53
53
  return openWithNodeSqlite(path);
54
54
  }, "openUnderNode");
55
55
  var runtime = /* @__PURE__ */ __name(() => {
@@ -23,20 +23,20 @@ import {
23
23
  tagMemberIds,
24
24
  thingOf,
25
25
  write
26
- } from "./chunk-ZIFB6KGQ.js";
26
+ } from "./chunk-QGIQ62KV.js";
27
27
  import {
28
28
  ADDED_PROVIDER,
29
29
  filesAccountSql,
30
30
  folderProviderOf,
31
31
  folderProviderSql,
32
32
  isDocumentAccountProvider
33
- } from "./chunk-3RBUACSJ.js";
33
+ } from "./chunk-2M7PPII5.js";
34
34
  import {
35
35
  damagedFile
36
- } from "./chunk-NUHUTJTM.js";
36
+ } from "./chunk-JKWNPRZD.js";
37
37
  import {
38
38
  fold
39
- } from "./chunk-D4QALV67.js";
39
+ } from "./chunk-SPWKGRTO.js";
40
40
  import {
41
41
  CliError
42
42
  } from "./chunk-7KCBPAQS.js";
@@ -44,7 +44,7 @@ import {
44
44
  __name
45
45
  } from "./chunk-ZVVMGPBJ.js";
46
46
 
47
- // node_modules/.pnpm/@wirecat+cli-core@0.657.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_6ef853dd58e888f20a16b5fe978b097f/node_modules/@wirecat/cli-core/dist/store/damage.js
47
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_2476fb045fb1ee08e5e46f4aab8c07fa/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.657.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_6ef853dd58e888f20a16b5fe978b097f/node_modules/@wirecat/cli-core/dist/store/document-transfer/index.js
150
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_2476fb045fb1ee08e5e46f4aab8c07fa/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.657.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_6ef853dd58e888f20a16b5fe978b097f/node_modules/@wirecat/cli-core/dist/store/sqlite/document-transfer/people.js
154
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_2476fb045fb1ee08e5e46f4aab8c07fa/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.657.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_6ef853dd58e888f20a16b5fe978b097f/node_modules/@wirecat/cli-core/dist/store/document-transfer/digest.js
217
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_2476fb045fb1ee08e5e46f4aab8c07fa/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.657.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_6ef853dd58e888f20a16b5fe978b097f/node_modules/@wirecat/cli-core/dist/store/sqlite/document-transfer/collection.js
221
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_2476fb045fb1ee08e5e46f4aab8c07fa/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.657.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_6ef853dd58e888f20a16b5fe978b097f/node_modules/@wirecat/cli-core/dist/store/sqlite/document-transfer/plan.js
265
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_2476fb045fb1ee08e5e46f4aab8c07fa/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.657.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_6ef853dd58e888f20a16b5fe978b097f/node_modules/@wirecat/cli-core/dist/store/sqlite/document-transfer/snapshot.js
432
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_2476fb045fb1ee08e5e46f4aab8c07fa/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.657.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_6ef853dd58e888f20a16b5fe978b097f/node_modules/@wirecat/cli-core/dist/store/sqlite/document-transfer/apply.js
594
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_2476fb045fb1ee08e5e46f4aab8c07fa/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.657.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_6ef853dd58e888f20a16b5fe978b097f/node_modules/@wirecat/cli-core/dist/store/document-transfer/index.js
766
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_2476fb045fb1ee08e5e46f4aab8c07fa/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.657.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_6ef853dd58e888f20a16b5fe978b097f/node_modules/@wirecat/cli-core/dist/store/health.js
868
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_2476fb045fb1ee08e5e46f4aab8c07fa/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.657.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_6ef853dd58e888f20a16b5fe978b097f/node_modules/@wirecat/cli-core/dist/store/project-transfer/preview.js
1010
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_2476fb045fb1ee08e5e46f4aab8c07fa/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.657.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_6ef853dd58e888f20a16b5fe978b097f/node_modules/@wirecat/cli-core/dist/store/project-transfer/snapshot.js
1036
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_2476fb045fb1ee08e5e46f4aab8c07fa/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");
@@ -4,18 +4,18 @@ import {
4
4
  PLAIN_HTTP_REFUSED,
5
5
  modelAddressAllowed,
6
6
  onThisComputer
7
- } from "./chunk-5PDWUD3W.js";
7
+ } from "./chunk-Q23EEGPC.js";
8
8
  import {
9
9
  readSharedSection,
10
10
  sharedConfigPath,
11
11
  writeSharedSection
12
- } from "./chunk-Z5D6CRY6.js";
12
+ } from "./chunk-KIZYN3NG.js";
13
13
  import {
14
14
  unit
15
- } from "./chunk-MT5KDBOM.js";
15
+ } from "./chunk-CWAA73PJ.js";
16
16
  import {
17
17
  storePath
18
- } from "./chunk-TXDA437R.js";
18
+ } from "./chunk-54JKDFOV.js";
19
19
  import {
20
20
  boolean,
21
21
  isoTimestamp,
@@ -31,10 +31,10 @@ import {
31
31
  __name
32
32
  } from "./chunk-ZVVMGPBJ.js";
33
33
 
34
- // node_modules/.pnpm/@wirecat+cli-core@0.657.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_6ef853dd58e888f20a16b5fe978b097f/node_modules/@wirecat/cli-core/dist/embeddings/remote.js
34
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_2476fb045fb1ee08e5e46f4aab8c07fa/node_modules/@wirecat/cli-core/dist/embeddings/remote.js
35
35
  import { setTimeout } from "node:timers/promises";
36
36
 
37
- // node_modules/.pnpm/@wirecat+cli-core@0.657.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_6ef853dd58e888f20a16b5fe978b097f/node_modules/@wirecat/cli-core/dist/models/local-only.js
37
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_2476fb045fb1ee08e5e46f4aab8c07fa/node_modules/@wirecat/cli-core/dist/models/local-only.js
38
38
  var SECTION = "local_only";
39
39
  var Setting = strictObject({
40
40
  on: boolean(),
@@ -68,7 +68,7 @@ var refuseModelAddress = /* @__PURE__ */ __name((env, address, what) => {
68
68
  refuseOffComputer(env, address, what);
69
69
  }, "refuseModelAddress");
70
70
 
71
- // node_modules/.pnpm/@wirecat+cli-core@0.657.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_6ef853dd58e888f20a16b5fe978b097f/node_modules/@wirecat/cli-core/dist/embeddings/remote.js
71
+ // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_2476fb045fb1ee08e5e46f4aab8c07fa/node_modules/@wirecat/cli-core/dist/embeddings/remote.js
72
72
  var OPENAI_URL = "https://api.openai.com/v1";
73
73
  var OPENAI_MODELS = {
74
74
  "text-embedding-3-small": { dims: 1536, perMillion: 0.02 },