@wirecat/mail-cli 0.22.0 → 0.23.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 (125) hide show
  1. package/CHANGELOG.md +34 -0
  2. package/README.md +2 -1
  3. package/dist/bin/mail.js +2 -2
  4. package/dist/bundle/{all-profiles-DTUWUCQQ.js → all-profiles-FJHJCGRU.js} +9 -9
  5. package/dist/bundle/{anthropic-YJAEQSNT.js → anthropic-AFL7NKVZ.js} +9 -7
  6. package/dist/bundle/{app-server-3ZXSTBA3.js → app-server-WKCBJMHI.js} +46 -46
  7. package/dist/bundle/{bun-34VBM7C5.js → bun-HQATAQJQ.js} +2 -2
  8. package/dist/bundle/{bun-sqlite-GCT7ROCK.js → bun-sqlite-4ECAV7OU.js} +4 -4
  9. package/dist/bundle/{chunk-RFB27ACZ.js → chunk-2HXHAFRP.js} +2 -2
  10. package/dist/bundle/{chunk-MD64ITYO.js → chunk-34743C4C.js} +1 -1
  11. package/dist/bundle/{chunk-Z75WYAX6.js → chunk-3OZKDC6Y.js} +8 -7
  12. package/dist/bundle/{chunk-UWL2IOII.js → chunk-3QVGB2CI.js} +2 -2
  13. package/dist/bundle/{chunk-3HDQVTND.js → chunk-3UFD76IR.js} +5 -5
  14. package/dist/bundle/{chunk-SCIC2CJS.js → chunk-4IFX4HV2.js} +4 -4
  15. package/dist/bundle/{chunk-QE72KTS7.js → chunk-4IWJARFA.js} +1 -1
  16. package/dist/bundle/{chunk-ZZSHGCRC.js → chunk-4YJJQNNJ.js} +4 -4
  17. package/dist/bundle/{chunk-RPCKBXKN.js → chunk-5UKBUI4I.js} +2 -2
  18. package/dist/bundle/{chunk-J4UZXBEV.js → chunk-76RTQYJQ.js} +1 -1
  19. package/dist/bundle/{chunk-I2SDXWLR.js → chunk-7YRKUEYE.js} +118 -54
  20. package/dist/bundle/{chunk-ZKLXSVIO.js → chunk-AGNAT7CM.js} +1 -1
  21. package/dist/bundle/{chunk-HSBGNVEL.js → chunk-B6QMMRIM.js} +361 -188
  22. package/dist/bundle/{chunk-WBAA2X3E.js → chunk-BVJQBAGL.js} +11 -11
  23. package/dist/bundle/{chunk-TCCN5TON.js → chunk-CBWA2T3N.js} +24 -2
  24. package/dist/bundle/{chunk-P6FT6YYT.js → chunk-CCYHBNRL.js} +16 -16
  25. package/dist/bundle/{chunk-B74SOC4R.js → chunk-CUOCDJFI.js} +8 -8
  26. package/dist/bundle/{chunk-RY7PBP4F.js → chunk-CYQVWITQ.js} +16 -16
  27. package/dist/bundle/{chunk-566MEXK5.js → chunk-E7ZVKQHG.js} +3 -3
  28. package/dist/bundle/{chunk-HJ2CXDKJ.js → chunk-EXPR6QAX.js} +26 -12
  29. package/dist/bundle/{chunk-LTXYJAJK.js → chunk-FWFNUJQD.js} +24 -63
  30. package/dist/bundle/{chunk-VINSQR4X.js → chunk-GJNFNC76.js} +7 -7
  31. package/dist/bundle/{chunk-BHNBWFT5.js → chunk-GOMJNH56.js} +44 -0
  32. package/dist/bundle/{chunk-7XLOWYGD.js → chunk-HOKGIYUO.js} +39 -4
  33. package/dist/bundle/{chunk-FTI73RLC.js → chunk-KKGX7JMX.js} +2 -2
  34. package/dist/bundle/{chunk-BMV56JCL.js → chunk-LLYVBO3R.js} +1 -1
  35. package/dist/bundle/{chunk-QTMVGOSF.js → chunk-LQDMUMA2.js} +1336 -796
  36. package/dist/bundle/{chunk-VQZCIDSO.js → chunk-M7RGG3UU.js} +3 -3
  37. package/dist/bundle/{chunk-R3WPMQYZ.js → chunk-MBKNL5TX.js} +632 -435
  38. package/dist/bundle/{chunk-AF62BPIW.js → chunk-MUDHCYN4.js} +5 -5
  39. package/dist/bundle/{chunk-25PD6FZY.js → chunk-NKBAZ4VC.js} +2 -2
  40. package/dist/bundle/{chunk-2PPEDB67.js → chunk-NMGF3UOZ.js} +30 -30
  41. package/dist/bundle/{chunk-KMQAHDBM.js → chunk-NOA6E6MM.js} +2173 -1297
  42. package/dist/bundle/{chunk-J2U6LUT5.js → chunk-OJCUSHZG.js} +3 -3
  43. package/dist/bundle/{chunk-T3DTYJTG.js → chunk-OU5CWCG2.js} +1 -1
  44. package/dist/bundle/{chunk-OKO2Q6H6.js → chunk-PMIKRELC.js} +2 -2
  45. package/dist/bundle/{chunk-RT6SLZBI.js → chunk-QR7JZM3D.js} +1 -1
  46. package/dist/bundle/{chunk-O3M2S62X.js → chunk-QUKD5SO2.js} +3 -3
  47. package/dist/bundle/{chunk-SFC46MP2.js → chunk-QV3M2MHG.js} +10 -10
  48. package/dist/bundle/{chunk-SYEICLTR.js → chunk-R554W7ZO.js} +1 -1
  49. package/dist/bundle/{chunk-NOVBK4SY.js → chunk-R5MYOLQP.js} +12 -12
  50. package/dist/bundle/{chunk-4FWJNIPH.js → chunk-ROKTS7WM.js} +1 -1
  51. package/dist/bundle/{chunk-GAPQENMY.js → chunk-S5OTP7XS.js} +22 -4
  52. package/dist/bundle/{chunk-HRRSTIGP.js → chunk-SBGXKM4U.js} +10 -6
  53. package/dist/bundle/{chunk-ODFHIXMA.js → chunk-SNTLN2QT.js} +1 -1
  54. package/dist/bundle/{chunk-VDUGE6TH.js → chunk-SR3ADLGX.js} +2 -2
  55. package/dist/bundle/{chunk-4WIEVQ2Q.js → chunk-UMXVQIGD.js} +137 -9
  56. package/dist/bundle/{chunk-HN43G27G.js → chunk-V3TDQUXD.js} +45 -27
  57. package/dist/bundle/{chunk-3DSYLE5N.js → chunk-V7CFZ773.js} +2 -2
  58. package/dist/bundle/{chunk-LF5XM4HE.js → chunk-VAMCRP47.js} +1 -1
  59. package/dist/bundle/{chunk-Z7N4MGOQ.js → chunk-VFKX5UMJ.js} +5 -5
  60. package/dist/bundle/{chunk-72N26BQM.js → chunk-VYHIX3OP.js} +88 -88
  61. package/dist/bundle/{chunk-P2QJA7S5.js → chunk-VYIIX6VN.js} +1 -1
  62. package/dist/bundle/{chunk-V6OIIVH3.js → chunk-WN4HP7IZ.js} +11 -11
  63. package/dist/bundle/{chunk-MDDB7M7Z.js → chunk-ZXIPJF3Y.js} +1 -1
  64. package/dist/bundle/command-contract-IIHBNF7J.js +35 -0
  65. package/dist/bundle/{decode-BIOOL5E4.js → decode-QXKTMOTH.js} +4 -4
  66. package/dist/bundle/{dispatch-R5OF2FVZ.js → dispatch-G4CYFWQ2.js} +1 -1
  67. package/dist/bundle/{dist-TJVIRLE5.js → dist-5FX36DAW.js} +44 -22
  68. package/dist/bundle/{echarts-ECPGMKXO.js → echarts-HHUM43TU.js} +2 -2
  69. package/dist/bundle/{embed-F7JFSLHN.js → embed-SRZSDZVI.js} +5 -5
  70. package/dist/bundle/{embedder-U4G74HV3.js → embedder-WZIZCWLX.js} +8 -8
  71. package/dist/bundle/{failure-WYKVF6RH.js → failure-FFPK2WYB.js} +1 -1
  72. package/dist/bundle/{first-run-JTYPUYQP.js → first-run-6DVWZ3JQ.js} +8 -8
  73. package/dist/bundle/first-screen-SRZ7NYHZ.js +33 -0
  74. package/dist/bundle/{instructions-WNCGZ7OJ.js → instructions-UWONE6UT.js} +1 -1
  75. package/dist/bundle/mail.js +5 -5
  76. package/dist/bundle/{node-UIRGGMGT.js → node-HLAOYJDB.js} +2 -2
  77. package/dist/bundle/{node-sqlite-4ZM7OPRF.js → node-sqlite-RO66I7W6.js} +5 -5
  78. package/dist/bundle/{oauth-5RAJZPBW.js → oauth-VNLB2TET.js} +6 -6
  79. package/dist/bundle/{open-7ORCHOAI.js → open-QQSG343L.js} +4 -4
  80. package/dist/bundle/{openai-XSJNXJA7.js → openai-JTFC7OGF.js} +12 -12
  81. package/dist/bundle/{process-ZLO72UVZ.js → process-3CZAXR6P.js} +1 -1
  82. package/dist/bundle/{program-MXGQFQJG.js → program-XTOS4RAM.js} +4528 -2579
  83. package/dist/bundle/{prompt-IDUPCUGM.js → prompt-HGQ6GPYL.js} +6 -4
  84. package/dist/bundle/{recognize-OS3EZKIM.js → recognize-2SHMNEIZ.js} +3 -3
  85. package/dist/bundle/{remote-PF4LZR65.js → remote-GBQC3433.js} +6 -6
  86. package/dist/bundle/{rerank-CQNZF3JI.js → rerank-FQHQXFNR.js} +6 -6
  87. package/dist/bundle/{serve-Y2DDLGBT.js → serve-THU67QUZ.js} +8 -8
  88. package/dist/bundle/{server-TVRT7YEY.js → server-LOT3CLYX.js} +36 -36
  89. package/dist/bundle/server-VKMUX7ZT.js +65 -0
  90. package/dist/bundle/{sqlite-runtime-5343C3OE.js → sqlite-runtime-NOOUMBC4.js} +5 -5
  91. package/dist/bundle/{state-4GBTMPIV.js → state-KSKZCV2U.js} +5 -5
  92. package/dist/bundle/{store-QA6QJ5BB.js → store-BAKSHTKF.js} +37 -14
  93. package/dist/bundle/{store-OLBLTQPT.js → store-OHNZOQ7U.js} +30 -18
  94. package/dist/bundle/store-maintenance-command-ROQHJVEA.js +54 -0
  95. package/dist/commands/account-remove.d.ts +3 -0
  96. package/dist/commands/account-remove.d.ts.map +1 -0
  97. package/dist/commands/account-remove.js +65 -0
  98. package/dist/commands/account-remove.js.map +1 -0
  99. package/dist/commands/account.d.ts.map +1 -1
  100. package/dist/commands/account.js +3 -1
  101. package/dist/commands/account.js.map +1 -1
  102. package/dist/commands/context.d.ts +3 -1
  103. package/dist/commands/context.d.ts.map +1 -1
  104. package/dist/commands/context.js.map +1 -1
  105. package/dist/commands/rules.d.ts.map +1 -1
  106. package/dist/commands/rules.js +29 -7
  107. package/dist/commands/rules.js.map +1 -1
  108. package/dist/commands/sync.d.ts +0 -1
  109. package/dist/commands/sync.d.ts.map +1 -1
  110. package/dist/commands/sync.js +8 -2
  111. package/dist/commands/sync.js.map +1 -1
  112. package/dist/mail/changes.d.ts +1 -0
  113. package/dist/mail/changes.d.ts.map +1 -1
  114. package/dist/mail/changes.js +1 -1
  115. package/dist/mail/changes.js.map +1 -1
  116. package/dist/providers.js +2 -2
  117. package/dist/providers.js.map +1 -1
  118. package/dist/version.d.ts +1 -1
  119. package/dist/version.js +1 -1
  120. package/package.json +3 -3
  121. package/dist/bundle/chunk-QPRXTLMD.js +0 -33
  122. package/dist/bundle/command-contract-Y4ZQAJEC.js +0 -35
  123. package/dist/bundle/first-screen-W6RWTAU7.js +0 -33
  124. package/dist/bundle/server-I3IALQMC.js +0 -65
  125. package/dist/bundle/store-maintenance-command-LB6CMGP4.js +0 -55
@@ -1,27 +1,35 @@
1
1
  import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
+ DEFAULT_LINK_CONFIG,
5
+ LINK_VERSION,
4
6
  PASTE_QR,
5
7
  atTerminal,
6
8
  bareCheck,
7
9
  checkWords,
8
10
  countedPoll,
11
+ formatLink,
12
+ linkConfigOf,
13
+ linkFor,
14
+ linkTargetOf,
9
15
  loginQr,
16
+ parseLink,
10
17
  parseMarkdown,
11
18
  parseMarkdownSpans,
12
19
  plainQr,
20
+ refsForLink,
13
21
  terminalQr
14
- } from "./chunk-4WIEVQ2Q.js";
22
+ } from "./chunk-UMXVQIGD.js";
15
23
  import {
16
24
  DETAILS,
17
25
  REASONS,
18
26
  failureContext
19
- } from "./chunk-7XLOWYGD.js";
27
+ } from "./chunk-HOKGIYUO.js";
20
28
  import {
21
29
  pollLines,
22
30
  renderMessage,
23
31
  renderMessages
24
- } from "./chunk-ZKLXSVIO.js";
32
+ } from "./chunk-AGNAT7CM.js";
25
33
  import {
26
34
  ModerationRules,
27
35
  act,
@@ -35,38 +43,30 @@ import {
35
43
  pickChat,
36
44
  pickPerson,
37
45
  validateFormattedText
38
- } from "./chunk-SFC46MP2.js";
46
+ } from "./chunk-QV3M2MHG.js";
39
47
  import {
40
48
  readSecret
41
- } from "./chunk-GAPQENMY.js";
42
- import "./chunk-MDDB7M7Z.js";
49
+ } from "./chunk-S5OTP7XS.js";
50
+ import "./chunk-ZXIPJF3Y.js";
43
51
  import "./chunk-HTQTIKWP.js";
44
52
  import {
45
53
  resolveOutput
46
- } from "./chunk-HRRSTIGP.js";
54
+ } from "./chunk-SBGXKM4U.js";
47
55
  import {
48
56
  ADDED_ACCOUNT,
49
57
  ADDED_PROVIDER,
50
- CATALOG_KINDS,
51
- CONTRACT_KINDS,
52
- CONTRACT_STATUSES,
53
58
  COUNTER_FIELDS,
54
59
  CRM_KINDS,
55
60
  CRM_OPENS,
56
61
  FOLDER_PROVIDERS,
57
62
  KINDS,
58
- ORDER_DIRECTIONS,
59
- PERIOD_UNITS,
60
63
  PROVIDERS,
61
64
  RECORDS_ENVELOPE_SCHEMA,
62
65
  RECORDS_SCHEMA_VERSION,
63
66
  RECORD_ENTITY_TYPES,
64
67
  RECORD_OPERATIONS,
65
68
  REF_KINDS,
66
- SUBSCRIPTION_STATUSES,
67
- TRANSACTION_STATUSES,
68
69
  UNKNOWN_PROVIDER,
69
- WALLET_KINDS,
70
70
  canonicalReference,
71
71
  counterValue,
72
72
  envelopeOfJsonl,
@@ -74,8 +74,6 @@ import {
74
74
  formatLocator,
75
75
  formatReference,
76
76
  holdsKind,
77
- intervalOf,
78
- intervalText,
79
77
  isFolderProvider,
80
78
  isItemKind,
81
79
  isKind,
@@ -91,30 +89,43 @@ import {
91
89
  providers,
92
90
  rankingOptions,
93
91
  useProviders
94
- } from "./chunk-LTXYJAJK.js";
92
+ } from "./chunk-FWFNUJQD.js";
95
93
  import {
94
+ CATALOG_KINDS,
95
+ CONTRACT_KINDS,
96
+ CONTRACT_STATUSES,
96
97
  CURRENCY_SCALES,
97
98
  DEAL_KINDS,
98
99
  DEAL_ROLES,
99
100
  DEAL_STATUSES,
101
+ ENGAGEMENT_LEVELS,
100
102
  FINANCE_REVIEWS,
101
103
  INVOICE_DIRECTIONS,
102
104
  INVOICE_STATUSES,
103
105
  MONEY_DIRECTIONS,
106
+ ORDER_DIRECTIONS,
104
107
  ORDER_PURPOSES,
105
108
  ORDER_STATUSES,
106
109
  ORGANIZATION_ROLES,
110
+ PERIOD_UNITS,
107
111
  PROJECT_ROLES,
108
112
  RELATIONS,
109
113
  RELATION_KINDS,
110
114
  ROLE_LISTS,
111
115
  STAGE_OUTCOMES,
112
116
  STANDINGS,
117
+ SUBSCRIPTION_STATUSES,
113
118
  TAG_TYPES,
119
+ TRANSACTION_STATUSES,
120
+ WALLET_KINDS,
121
+ byEngagement,
114
122
  canonicalMeetingReference,
115
123
  currencyOf,
124
+ engagementRank,
116
125
  formatDecimal,
117
126
  formatMeetingReference,
127
+ intervalOf,
128
+ intervalText,
118
129
  inverseOf,
119
130
  isUsable,
120
131
  minorUnits,
@@ -126,11 +137,11 @@ import {
126
137
  signedMinorUnits,
127
138
  standingOf,
128
139
  usableLink
129
- } from "./chunk-I2SDXWLR.js";
130
- import "./chunk-4FWJNIPH.js";
140
+ } from "./chunk-7YRKUEYE.js";
141
+ import "./chunk-ROKTS7WM.js";
131
142
  import "./chunk-QZLK2ISN.js";
132
- import "./chunk-BMV56JCL.js";
133
- import "./chunk-BHNBWFT5.js";
143
+ import "./chunk-LLYVBO3R.js";
144
+ import "./chunk-GOMJNH56.js";
134
145
  import "./chunk-Y5E2WNWB.js";
135
146
  import "./chunk-DALBYUPC.js";
136
147
  import "./chunk-ZVVMGPBJ.js";
@@ -149,11 +160,14 @@ export {
149
160
  DEAL_KINDS,
150
161
  DEAL_ROLES,
151
162
  DEAL_STATUSES,
163
+ DEFAULT_LINK_CONFIG,
164
+ ENGAGEMENT_LEVELS,
152
165
  FINANCE_REVIEWS,
153
166
  FOLDER_PROVIDERS,
154
167
  INVOICE_DIRECTIONS,
155
168
  INVOICE_STATUSES,
156
169
  KINDS,
170
+ LINK_VERSION,
157
171
  MONEY_DIRECTIONS,
158
172
  ModerationRules,
159
173
  ORDER_DIRECTIONS,
@@ -182,6 +196,7 @@ export {
182
196
  act,
183
197
  atTerminal,
184
198
  bareCheck,
199
+ byEngagement,
185
200
  canonicalMeetingReference,
186
201
  canonicalReference,
187
202
  checkWords,
@@ -189,12 +204,14 @@ export {
189
204
  counterValue,
190
205
  currencyOf,
191
206
  defaultRules,
207
+ engagementRank,
192
208
  envelopeOfJsonl,
193
209
  envelopeOfText,
194
210
  envelopeOfVcard,
195
211
  failureContext,
196
212
  foldName,
197
213
  formatDecimal,
214
+ formatLink,
198
215
  formatLocator,
199
216
  formatMeetingReference,
200
217
  formatReference,
@@ -213,6 +230,9 @@ export {
213
230
  kindIn,
214
231
  kindOf,
215
232
  kindsIn,
233
+ linkConfigOf,
234
+ linkFor,
235
+ linkTargetOf,
216
236
  loginQr,
217
237
  looksLikeReference,
218
238
  minorUnits,
@@ -221,6 +241,7 @@ export {
221
241
  moneyOf,
222
242
  normalizeTag,
223
243
  observedCounters,
244
+ parseLink,
224
245
  parseLocator,
225
246
  parseMarkdown,
226
247
  parseMarkdownSpans,
@@ -234,6 +255,7 @@ export {
234
255
  providers,
235
256
  rankingOptions,
236
257
  readSecret,
258
+ refsForLink,
237
259
  renderMessage,
238
260
  renderMessages,
239
261
  resolveOutput,
@@ -42399,7 +42399,7 @@ function install11(registers) {
42399
42399
  }
42400
42400
  __name(install11, "install");
42401
42401
 
42402
- // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/charts/echarts-option.js
42402
+ // node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_89df442a19027064da492ef27322716d/node_modules/@wirecat/cli-core/dist/charts/echarts-option.js
42403
42403
  var echartsOption = /* @__PURE__ */ __name((chart) => ({
42404
42404
  animation: false,
42405
42405
  backgroundColor: "#111827",
@@ -42447,7 +42447,7 @@ var echartsOption = /* @__PURE__ */ __name((chart) => ({
42447
42447
  } : {}
42448
42448
  }), "echartsOption");
42449
42449
 
42450
- // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/charts/echarts.js
42450
+ // node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_89df442a19027064da492ef27322716d/node_modules/@wirecat/cli-core/dist/charts/echarts.js
42451
42451
  use([install2, install, install6, install5, install10, install7, install11]);
42452
42452
  var echartsRenderer = {
42453
42453
  render: /* @__PURE__ */ __name(async (chart, size) => {
@@ -13,11 +13,11 @@ import {
13
13
  truncated,
14
14
  unit,
15
15
  warmEmbedders
16
- } from "./chunk-Z7N4MGOQ.js";
17
- import "./chunk-O3M2S62X.js";
18
- import "./chunk-RPCKBXKN.js";
19
- import "./chunk-BMV56JCL.js";
20
- import "./chunk-BHNBWFT5.js";
16
+ } from "./chunk-VFKX5UMJ.js";
17
+ import "./chunk-QUKD5SO2.js";
18
+ import "./chunk-5UKBUI4I.js";
19
+ import "./chunk-LLYVBO3R.js";
20
+ import "./chunk-GOMJNH56.js";
21
21
  import "./chunk-Y5E2WNWB.js";
22
22
  import "./chunk-DALBYUPC.js";
23
23
  import "./chunk-ZVVMGPBJ.js";
@@ -4,11 +4,11 @@ import {
4
4
  openSession,
5
5
  truncated,
6
6
  unit
7
- } from "./chunk-Z7N4MGOQ.js";
8
- import "./chunk-O3M2S62X.js";
9
- import "./chunk-RPCKBXKN.js";
10
- import "./chunk-BMV56JCL.js";
11
- import "./chunk-BHNBWFT5.js";
7
+ } from "./chunk-VFKX5UMJ.js";
8
+ import "./chunk-QUKD5SO2.js";
9
+ import "./chunk-5UKBUI4I.js";
10
+ import "./chunk-LLYVBO3R.js";
11
+ import "./chunk-GOMJNH56.js";
12
12
  import {
13
13
  importFrom
14
14
  } from "./chunk-Y5E2WNWB.js";
@@ -19,11 +19,11 @@ import {
19
19
  __name
20
20
  } from "./chunk-ZVVMGPBJ.js";
21
21
 
22
- // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/images/picture/embedder.js
22
+ // node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_89df442a19027064da492ef27322716d/node_modules/@wirecat/cli-core/dist/images/picture/embedder.js
23
23
  import { readFileSync } from "node:fs";
24
24
  import { join } from "node:path";
25
25
 
26
- // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/images/picture/preprocess.js
26
+ // node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_89df442a19027064da492ef27322716d/node_modules/@wirecat/cli-core/dist/images/picture/preprocess.js
27
27
  var SIZE = 224;
28
28
  var MEAN = [0.48145466, 0.4578275, 0.40821073];
29
29
  var STD = [0.26862954, 0.26130258, 0.27577711];
@@ -62,7 +62,7 @@ var preprocess = /* @__PURE__ */ __name(async (bytes, load = importCanvas) => {
62
62
  return pixels;
63
63
  }, "preprocess");
64
64
 
65
- // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/images/picture/embedder.js
65
+ // node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_89df442a19027064da492ef27322716d/node_modules/@wirecat/cli-core/dist/images/picture/embedder.js
66
66
  var openPictureEmbedder = /* @__PURE__ */ __name(async (model, directory, { threads = 4, canvas } = {}) => {
67
67
  const { Tokenizer } = await importFrom(new URL("images/picture/embedder.js", import.meta.resolve("@wirecat/cli-core")).href, "@huggingface/tokenizers");
68
68
  const path = /* @__PURE__ */ __name((name) => join(directory, model.id, name), "path");
@@ -9,7 +9,7 @@ import {
9
9
  mcpErrorResult,
10
10
  renderError,
11
11
  retryOf
12
- } from "./chunk-BHNBWFT5.js";
12
+ } from "./chunk-GOMJNH56.js";
13
13
  import "./chunk-DALBYUPC.js";
14
14
  import "./chunk-ZVVMGPBJ.js";
15
15
  export {
@@ -5,17 +5,17 @@ import {
5
5
  asksAtStart,
6
6
  setupAtStart,
7
7
  systemLanguage
8
- } from "./chunk-V6OIIVH3.js";
9
- import "./chunk-UWL2IOII.js";
8
+ } from "./chunk-WN4HP7IZ.js";
9
+ import "./chunk-3QVGB2CI.js";
10
10
  import "./chunk-3DQYO7FB.js";
11
- import "./chunk-VDUGE6TH.js";
12
- import "./chunk-VINSQR4X.js";
13
- import "./chunk-3HDQVTND.js";
14
- import "./chunk-RPCKBXKN.js";
11
+ import "./chunk-SR3ADLGX.js";
12
+ import "./chunk-GJNFNC76.js";
13
+ import "./chunk-3UFD76IR.js";
14
+ import "./chunk-5UKBUI4I.js";
15
15
  import "./chunk-UHC5I3JV.js";
16
16
  import "./chunk-D72URWJE.js";
17
- import "./chunk-BMV56JCL.js";
18
- import "./chunk-BHNBWFT5.js";
17
+ import "./chunk-LLYVBO3R.js";
18
+ import "./chunk-GOMJNH56.js";
19
19
  import "./chunk-Y5E2WNWB.js";
20
20
  import "./chunk-DALBYUPC.js";
21
21
  import "./chunk-ZVVMGPBJ.js";
@@ -0,0 +1,33 @@
1
+ import { createRequire as __bundleRequire } from "node:module";
2
+ const require = __bundleRequire(import.meta.url);
3
+ import {
4
+ WIRECAT_TOOLS,
5
+ firstScreen,
6
+ installHelp
7
+ } from "./chunk-3OZKDC6Y.js";
8
+ import "./chunk-4YJJQNNJ.js";
9
+ import "./chunk-HTQTIKWP.js";
10
+ import "./chunk-B6QMMRIM.js";
11
+ import "./chunk-SBGXKM4U.js";
12
+ import "./chunk-CUOCDJFI.js";
13
+ import "./chunk-OU5CWCG2.js";
14
+ import "./chunk-SR3ADLGX.js";
15
+ import "./chunk-E7ZVKQHG.js";
16
+ import "./chunk-EXPR6QAX.js";
17
+ import "./chunk-7YRKUEYE.js";
18
+ import "./chunk-R554W7ZO.js";
19
+ import "./chunk-ROKTS7WM.js";
20
+ import "./chunk-3UFD76IR.js";
21
+ import "./chunk-QUKD5SO2.js";
22
+ import "./chunk-5UKBUI4I.js";
23
+ import "./chunk-QZLK2ISN.js";
24
+ import "./chunk-LLYVBO3R.js";
25
+ import "./chunk-GOMJNH56.js";
26
+ import "./chunk-Y5E2WNWB.js";
27
+ import "./chunk-DALBYUPC.js";
28
+ import "./chunk-ZVVMGPBJ.js";
29
+ export {
30
+ WIRECAT_TOOLS,
31
+ firstScreen,
32
+ installHelp
33
+ };
@@ -3,7 +3,7 @@ const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  appInstructions,
5
5
  instructions
6
- } from "./chunk-P2QJA7S5.js";
6
+ } from "./chunk-VYIIX6VN.js";
7
7
  import "./chunk-ZVVMGPBJ.js";
8
8
  export {
9
9
  appInstructions,
@@ -3,7 +3,7 @@ import { createRequire as __bundleRequire } from "node:module";
3
3
  const require = __bundleRequire(import.meta.url);
4
4
  import {
5
5
  IDENTITY
6
- } from "./chunk-25PD6FZY.js";
6
+ } from "./chunk-NKBAZ4VC.js";
7
7
  import {
8
8
  installerOf
9
9
  } from "./chunk-UHC5I3JV.js";
@@ -19,10 +19,10 @@ import {
19
19
  shimFiles,
20
20
  writeShim
21
21
  } from "./chunk-7SWWVDEZ.js";
22
- import "./chunk-BMV56JCL.js";
22
+ import "./chunk-LLYVBO3R.js";
23
23
  import {
24
24
  catchCrashes
25
- } from "./chunk-BHNBWFT5.js";
25
+ } from "./chunk-GOMJNH56.js";
26
26
  import "./chunk-Y5E2WNWB.js";
27
27
  import "./chunk-DALBYUPC.js";
28
28
  import {
@@ -132,7 +132,7 @@ var wcatStart = /* @__PURE__ */ __name(async (tool, io = {}) => {
132
132
  return { code: 0 };
133
133
  }
134
134
  if (first === DISPATCH_FLAG) {
135
- const { runWcat } = await import("./dispatch-R5OF2FVZ.js");
135
+ const { runWcat } = await import("./dispatch-G4CYFWQ2.js");
136
136
  const code = await runWcat(rest, { env, platform, stdout, stderr: io.stderr ?? process.stderr, self: tool });
137
137
  return { code };
138
138
  }
@@ -158,7 +158,7 @@ if (wcat.code !== void 0) {
158
158
  process.exitCode = wcat.code;
159
159
  } else {
160
160
  const stopCatching = catchCrashes({ cli: IDENTITY.command, interactive: process.stdout.isTTY === true });
161
- const { run } = await import("./program-MXGQFQJG.js");
161
+ const { run } = await import("./program-XTOS4RAM.js");
162
162
  try {
163
163
  process.exitCode = await run(process.argv.slice(2));
164
164
  } finally {
@@ -18,12 +18,12 @@ import {
18
18
  jitCompatCheck,
19
19
  refineSqliteCodecs,
20
20
  sql
21
- } from "./chunk-RT6SLZBI.js";
21
+ } from "./chunk-QR7JZM3D.js";
22
22
  import {
23
23
  __name
24
24
  } from "./chunk-ZVVMGPBJ.js";
25
25
 
26
- // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/store/sqlite/drizzle/node.js
26
+ // node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_89df442a19027064da492ef27322716d/node_modules/@wirecat/cli-core/dist/store/sqlite/drizzle/node.js
27
27
  import { DatabaseSync } from "node:sqlite";
28
28
  var nodeSQLiteCodecs = refineSqliteCodecs({
29
29
  "integer:boolean": { normalize: booleanFromInteger },
@@ -3,20 +3,20 @@ const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  loadVectorExtension,
5
5
  vectorExtension
6
- } from "./chunk-LF5XM4HE.js";
6
+ } from "./chunk-VAMCRP47.js";
7
7
  import {
8
8
  TIME_LIMIT_FUNCTION,
9
9
  beforeTimeLimit
10
- } from "./chunk-ODFHIXMA.js";
11
- import "./chunk-BMV56JCL.js";
12
- import "./chunk-BHNBWFT5.js";
10
+ } from "./chunk-SNTLN2QT.js";
11
+ import "./chunk-LLYVBO3R.js";
12
+ import "./chunk-GOMJNH56.js";
13
13
  import "./chunk-Y5E2WNWB.js";
14
14
  import "./chunk-DALBYUPC.js";
15
15
  import {
16
16
  __name
17
17
  } from "./chunk-ZVVMGPBJ.js";
18
18
 
19
- // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/store/drivers/node-sqlite.js
19
+ // node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_89df442a19027064da492ef27322716d/node_modules/@wirecat/cli-core/dist/store/drivers/node-sqlite.js
20
20
  import { DatabaseSync } from "node:sqlite";
21
21
  var openWithNodeSqlite = /* @__PURE__ */ __name(async (path) => cacheOverNodeSqlite(await nodeClient(path)), "openWithNodeSqlite");
22
22
  var nodeClient = /* @__PURE__ */ __name(async (path, { readOnly = false } = {}) => {
@@ -3,13 +3,13 @@ const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  ownerLogin,
5
5
  revokeAll
6
- } from "./chunk-RFB27ACZ.js";
6
+ } from "./chunk-2HXHAFRP.js";
7
7
  import "./chunk-5D4AEUVA.js";
8
- import "./chunk-SCIC2CJS.js";
9
- import "./chunk-VQZCIDSO.js";
10
- import "./chunk-T3DTYJTG.js";
11
- import "./chunk-BMV56JCL.js";
12
- import "./chunk-BHNBWFT5.js";
8
+ import "./chunk-4IFX4HV2.js";
9
+ import "./chunk-M7RGG3UU.js";
10
+ import "./chunk-OU5CWCG2.js";
11
+ import "./chunk-LLYVBO3R.js";
12
+ import "./chunk-GOMJNH56.js";
13
13
  import "./chunk-Y5E2WNWB.js";
14
14
  import "./chunk-DALBYUPC.js";
15
15
  import "./chunk-ZVVMGPBJ.js";
@@ -6,10 +6,10 @@ import {
6
6
  openCache,
7
7
  openFile,
8
8
  storeCapable
9
- } from "./chunk-AF62BPIW.js";
10
- import "./chunk-ODFHIXMA.js";
11
- import "./chunk-BMV56JCL.js";
12
- import "./chunk-BHNBWFT5.js";
9
+ } from "./chunk-MUDHCYN4.js";
10
+ import "./chunk-SNTLN2QT.js";
11
+ import "./chunk-LLYVBO3R.js";
12
+ import "./chunk-GOMJNH56.js";
13
13
  import "./chunk-Y5E2WNWB.js";
14
14
  import "./chunk-DALBYUPC.js";
15
15
  import "./chunk-ZVVMGPBJ.js";
@@ -3,25 +3,25 @@ const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  SAMPLE_RATE,
5
5
  toModelRate
6
- } from "./chunk-J2U6LUT5.js";
7
- import "./chunk-NOVBK4SY.js";
6
+ } from "./chunk-OJCUSHZG.js";
7
+ import "./chunk-R5MYOLQP.js";
8
8
  import {
9
9
  OPENAI_URL
10
- } from "./chunk-OKO2Q6H6.js";
11
- import "./chunk-Z7N4MGOQ.js";
10
+ } from "./chunk-PMIKRELC.js";
11
+ import "./chunk-VFKX5UMJ.js";
12
12
  import {
13
13
  OPENAI_TRANSCRIBE_MODEL,
14
14
  VAD,
15
15
  filesPresent,
16
16
  modelsDirectory,
17
17
  vadPath
18
- } from "./chunk-O3M2S62X.js";
19
- import "./chunk-RPCKBXKN.js";
18
+ } from "./chunk-QUKD5SO2.js";
19
+ import "./chunk-5UKBUI4I.js";
20
20
  import {
21
21
  DEFAULT_RETRY,
22
22
  backoffMs
23
- } from "./chunk-BMV56JCL.js";
24
- import "./chunk-BHNBWFT5.js";
23
+ } from "./chunk-LLYVBO3R.js";
24
+ import "./chunk-GOMJNH56.js";
25
25
  import "./chunk-Y5E2WNWB.js";
26
26
  import {
27
27
  CliError
@@ -30,7 +30,7 @@ import {
30
30
  __name
31
31
  } from "./chunk-ZVVMGPBJ.js";
32
32
 
33
- // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/speech/openai.js
33
+ // node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_89df442a19027064da492ef27322716d/node_modules/@wirecat/cli-core/dist/speech/openai.js
34
34
  import { setTimeout as wait } from "node:timers/promises";
35
35
 
36
36
  // node_modules/.pnpm/@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/http/index.js
@@ -57,7 +57,7 @@ var parseRateLimitReset = /* @__PURE__ */ __name((header, now) => {
57
57
  }, "parseRateLimitReset");
58
58
  var providerWaitMs = /* @__PURE__ */ __name((headers, now) => parseRetryAfter(headers.get("retry-after"), now) ?? parseRateLimitReset(headers.get("x-ratelimit-reset"), now), "providerWaitMs");
59
59
 
60
- // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/speech/wav.js
60
+ // node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_89df442a19027064da492ef27322716d/node_modules/@wirecat/cli-core/dist/speech/wav.js
61
61
  var encodeWav = /* @__PURE__ */ __name((samples, sampleRate = 16e3) => {
62
62
  const bytes = Buffer.alloc(44 + samples.length * 2);
63
63
  bytes.write("RIFF", 0, "ascii");
@@ -78,7 +78,7 @@ var encodeWav = /* @__PURE__ */ __name((samples, sampleRate = 16e3) => {
78
78
  return new Uint8Array(bytes.buffer, bytes.byteOffset, bytes.length);
79
79
  }, "encodeWav");
80
80
 
81
- // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/speech/openai.js
81
+ // node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_89df442a19027064da492ef27322716d/node_modules/@wirecat/cli-core/dist/speech/openai.js
82
82
  var LONGEST_REQUEST_SECONDS = 600;
83
83
  var JOINED_SECONDS = 0.2;
84
84
  var PAD_SECONDS = 0.2;
@@ -200,7 +200,7 @@ var piecesOf = /* @__PURE__ */ __name((spans, limit) => {
200
200
  return pieces;
201
201
  }, "piecesOf");
202
202
  var openCutter = /* @__PURE__ */ __name(async (vadModel) => {
203
- const { openSpeechCutter } = await import("./recognize-OS3EZKIM.js");
203
+ const { openSpeechCutter } = await import("./recognize-2SHMNEIZ.js");
204
204
  return openSpeechCutter(vadModel);
205
205
  }, "openCutter");
206
206
  var checkKeywords = /* @__PURE__ */ __name((keywords = []) => {
@@ -5,7 +5,7 @@ import {
5
5
  __name
6
6
  } from "./chunk-ZVVMGPBJ.js";
7
7
 
8
- // node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/embeddings/process.js
8
+ // node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_89df442a19027064da492ef27322716d/node_modules/@wirecat/cli-core/dist/embeddings/process.js
9
9
  import { spawn } from "node:child_process";
10
10
  import { createInterface } from "node:readline";
11
11
  import { fileURLToPath } from "node:url";