@wirecat/mail-cli 0.19.0 → 0.20.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 (96) hide show
  1. package/CHANGELOG.md +9 -0
  2. package/dist/bin/mail.js +2 -2
  3. package/dist/bundle/{all-profiles-MRNWJSXX.js → all-profiles-DTUWUCQQ.js} +7 -6
  4. package/dist/bundle/{anthropic-OUV5B4ZR.js → anthropic-YJAEQSNT.js} +3 -3
  5. package/dist/bundle/{app-server-TLZPGT53.js → app-server-3ZXSTBA3.js} +41 -40
  6. package/dist/bundle/{bun-IDEPIM6S.js → bun-34VBM7C5.js} +2 -2
  7. package/dist/bundle/{bun-sqlite-DW4XMJOP.js → bun-sqlite-GCT7ROCK.js} +2 -2
  8. package/dist/bundle/{chunk-ETZFPIDO.js → chunk-2PPEDB67.js} +31 -29
  9. package/dist/bundle/{chunk-HUOAAQU7.js → chunk-3DSYLE5N.js} +2 -2
  10. package/dist/bundle/{chunk-RYRR5NFB.js → chunk-3HDQVTND.js} +4 -4
  11. package/dist/bundle/{chunk-H3KB77WL.js → chunk-4FWJNIPH.js} +1 -1
  12. package/dist/bundle/{chunk-NA63ZIYN.js → chunk-4WIEVQ2Q.js} +8 -14
  13. package/dist/bundle/{chunk-EWXCMKLM.js → chunk-566MEXK5.js} +2 -2
  14. package/dist/bundle/{chunk-GZAETQ6X.js → chunk-72N26BQM.js} +24 -22
  15. package/dist/bundle/{chunk-DC6BXHWF.js → chunk-7XLOWYGD.js} +93 -6
  16. package/dist/bundle/{chunk-RYE5SRUM.js → chunk-AF62BPIW.js} +5 -5
  17. package/dist/bundle/{chunk-GAPH7GET.js → chunk-B74SOC4R.js} +9 -20
  18. package/dist/bundle/{chunk-BQM4ROFB.js → chunk-FTI73RLC.js} +2 -2
  19. package/dist/bundle/{chunk-OUMXW53I.js → chunk-GAPQENMY.js} +2 -2
  20. package/dist/bundle/{chunk-4EMXLDQ6.js → chunk-HJ2CXDKJ.js} +130 -11
  21. package/dist/bundle/{chunk-2ZDKZGES.js → chunk-HN43G27G.js} +30 -22
  22. package/dist/bundle/{chunk-VVHEB3M3.js → chunk-HRRSTIGP.js} +4 -4
  23. package/dist/bundle/{chunk-QC6QDORL.js → chunk-HSBGNVEL.js} +202 -171
  24. package/dist/bundle/{chunk-CQVRBZGP.js → chunk-I2SDXWLR.js} +173 -48
  25. package/dist/bundle/{chunk-3CJVUCDZ.js → chunk-J2U6LUT5.js} +3 -3
  26. package/dist/bundle/{chunk-WJQWEKZL.js → chunk-J4UZXBEV.js} +1 -1
  27. package/dist/bundle/{chunk-57KFWOMH.js → chunk-KMQAHDBM.js} +7170 -13496
  28. package/dist/bundle/{chunk-7H45FPAT.js → chunk-LF5XM4HE.js} +1 -1
  29. package/dist/bundle/chunk-LTXYJAJK.js +12211 -0
  30. package/dist/bundle/{chunk-YJMQWOPH.js → chunk-MD64ITYO.js} +1 -1
  31. package/dist/bundle/{chunk-WELIANTW.js → chunk-MDDB7M7Z.js} +1 -1
  32. package/dist/bundle/{chunk-ZXQDJMWD.js → chunk-NOVBK4SY.js} +12 -12
  33. package/dist/bundle/{chunk-YL5WH6XH.js → chunk-O3M2S62X.js} +3 -3
  34. package/dist/bundle/{chunk-H4MWBB4X.js → chunk-ODFHIXMA.js} +1 -1
  35. package/dist/bundle/{chunk-HCRMPNSO.js → chunk-OKO2Q6H6.js} +2 -2
  36. package/dist/bundle/{chunk-FBSDRNW5.js → chunk-P2QJA7S5.js} +1 -1
  37. package/dist/bundle/{chunk-VIXEQPVE.js → chunk-P6FT6YYT.js} +17 -14
  38. package/dist/bundle/{chunk-QU3JH3GB.js → chunk-QE72KTS7.js} +1 -1
  39. package/dist/bundle/{chunk-W3PU5XGE.js → chunk-QPRXTLMD.js} +1 -1
  40. package/dist/bundle/{chunk-EQWYG3QN.js → chunk-QTMVGOSF.js} +298 -266
  41. package/dist/bundle/{chunk-HTNWOOA2.js → chunk-R3WPMQYZ.js} +105 -61
  42. package/dist/bundle/{chunk-SOZXI7I3.js → chunk-RFB27ACZ.js} +2 -2
  43. package/dist/bundle/{chunk-P2RSKCY4.js → chunk-RPCKBXKN.js} +1 -1
  44. package/dist/bundle/{chunk-QXZTVB5I.js → chunk-RT6SLZBI.js} +1 -1
  45. package/dist/bundle/{chunk-TX2TTMK4.js → chunk-RY7PBP4F.js} +45 -29
  46. package/dist/bundle/{chunk-7ERCJWNL.js → chunk-SCIC2CJS.js} +4 -4
  47. package/dist/bundle/{chunk-33BOFLDQ.js → chunk-SFC46MP2.js} +249 -8
  48. package/dist/bundle/chunk-SYEICLTR.js +66 -0
  49. package/dist/bundle/{chunk-NBHMSEN4.js → chunk-T2GQA2E4.js} +1 -1
  50. package/dist/bundle/{chunk-HOGJNJ3T.js → chunk-T3DTYJTG.js} +1 -1
  51. package/dist/bundle/{chunk-MQISDBH2.js → chunk-TCCN5TON.js} +1 -1
  52. package/dist/bundle/{chunk-KO2DA7CN.js → chunk-V6OIIVH3.js} +10 -10
  53. package/dist/bundle/{chunk-A5A6MPIX.js → chunk-VDUGE6TH.js} +2 -2
  54. package/dist/bundle/{chunk-LCP2DMBD.js → chunk-VINSQR4X.js} +7 -7
  55. package/dist/bundle/{chunk-42QY6DIG.js → chunk-VQZCIDSO.js} +2 -2
  56. package/dist/bundle/{chunk-OYYEY3UE.js → chunk-WBAA2X3E.js} +9 -9
  57. package/dist/bundle/{chunk-2WORM2E3.js → chunk-Z75WYAX6.js} +6 -6
  58. package/dist/bundle/{chunk-POWHDZIC.js → chunk-Z7N4MGOQ.js} +5 -5
  59. package/dist/bundle/{chunk-R2ETE3SX.js → chunk-ZKLXSVIO.js} +1 -1
  60. package/dist/bundle/{chunk-OBSV2GUJ.js → chunk-ZZSHGCRC.js} +3 -3
  61. package/dist/bundle/{command-contract-36ASI4YI.js → command-contract-Y4ZQAJEC.js} +14 -13
  62. package/dist/bundle/{decode-Z37HTJ53.js → decode-BIOOL5E4.js} +2 -2
  63. package/dist/bundle/{dist-E3UUAOWA.js → dist-TJVIRLE5.js} +77 -17
  64. package/dist/bundle/{echarts-TSRD7GVA.js → echarts-ECPGMKXO.js} +2 -2
  65. package/dist/bundle/{embed-Z5GZUUCK.js → embed-F7JFSLHN.js} +3 -3
  66. package/dist/bundle/{embedder-SYWZ6JW2.js → embedder-U4G74HV3.js} +6 -6
  67. package/dist/bundle/{first-run-I5GMVVX5.js → first-run-JTYPUYQP.js} +5 -5
  68. package/dist/bundle/first-screen-W6RWTAU7.js +33 -0
  69. package/dist/bundle/{instructions-IMW3LWMS.js → instructions-WNCGZ7OJ.js} +1 -1
  70. package/dist/bundle/mail.js +2 -2
  71. package/dist/bundle/{node-V6SRRJ2F.js → node-UIRGGMGT.js} +2 -2
  72. package/dist/bundle/{node-sqlite-HN2P6PY2.js → node-sqlite-4ZM7OPRF.js} +3 -3
  73. package/dist/bundle/{oauth-7FIIKNXY.js → oauth-5RAJZPBW.js} +4 -4
  74. package/dist/bundle/{open-6XPAHITO.js → open-7ORCHOAI.js} +2 -2
  75. package/dist/bundle/{openai-B5MSVUDL.js → openai-XSJNXJA7.js} +10 -10
  76. package/dist/bundle/{process-LNEAZMJV.js → process-ZLO72UVZ.js} +1 -1
  77. package/dist/bundle/{program-BDB3D2HE.js → program-PFVJDKM4.js} +1722 -1650
  78. package/dist/bundle/{prompt-ZXS7F7OS.js → prompt-IDUPCUGM.js} +2 -2
  79. package/dist/bundle/{recognize-ONHYBE77.js → recognize-OS3EZKIM.js} +1 -1
  80. package/dist/bundle/{remote-IBZTKGBQ.js → remote-PF4LZR65.js} +4 -4
  81. package/dist/bundle/{rerank-TWODAEGK.js → rerank-CQNZF3JI.js} +4 -4
  82. package/dist/bundle/{serve-PPJIP254.js → serve-Y2DDLGBT.js} +6 -6
  83. package/dist/bundle/server-I3IALQMC.js +65 -0
  84. package/dist/bundle/{server-VG7EAG5C.js → server-TVRT7YEY.js} +33 -32
  85. package/dist/bundle/{sqlite-runtime-JZFSB33U.js → sqlite-runtime-5343C3OE.js} +3 -3
  86. package/dist/bundle/{state-2FUXS6RU.js → state-4GBTMPIV.js} +3 -3
  87. package/dist/bundle/{store-VURW3NE7.js → store-OLBLTQPT.js} +44 -13
  88. package/dist/bundle/{store-PYAP6NYK.js → store-QA6QJ5BB.js} +20 -11
  89. package/dist/bundle/store-maintenance-command-LB6CMGP4.js +55 -0
  90. package/dist/version.d.ts +1 -1
  91. package/dist/version.js +1 -1
  92. package/package.json +2 -2
  93. package/dist/bundle/chunk-IRY3ZFPW.js +0 -656
  94. package/dist/bundle/first-screen-R3LHPHU3.js +0 -32
  95. package/dist/bundle/server-JBV7NTAA.js +0 -64
  96. package/dist/bundle/store-maintenance-command-EHWGMBEA.js +0 -54
@@ -1,75 +1,88 @@
1
1
  import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
- CRM_KINDS,
5
4
  PASTE_QR,
6
5
  atTerminal,
7
6
  bareCheck,
8
7
  checkWords,
9
8
  countedPoll,
10
- isItemKind,
11
9
  loginQr,
12
10
  parseMarkdown,
13
11
  parseMarkdownSpans,
14
12
  plainQr,
15
13
  terminalQr
16
- } from "./chunk-NA63ZIYN.js";
14
+ } from "./chunk-4WIEVQ2Q.js";
17
15
  import {
18
16
  DETAILS,
19
17
  REASONS,
20
18
  failureContext
21
- } from "./chunk-DC6BXHWF.js";
19
+ } from "./chunk-7XLOWYGD.js";
22
20
  import {
23
21
  pollLines,
24
22
  renderMessage,
25
23
  renderMessages
26
- } from "./chunk-R2ETE3SX.js";
24
+ } from "./chunk-ZKLXSVIO.js";
27
25
  import {
28
26
  ModerationRules,
29
27
  act,
30
28
  defaultRules,
29
+ envelopeOfVcard,
31
30
  foldName,
32
31
  isId,
32
+ isVcard,
33
33
  judge,
34
34
  moderationPathFor,
35
35
  pickChat,
36
36
  pickPerson,
37
37
  validateFormattedText
38
- } from "./chunk-33BOFLDQ.js";
38
+ } from "./chunk-SFC46MP2.js";
39
39
  import {
40
40
  readSecret
41
- } from "./chunk-OUMXW53I.js";
42
- import "./chunk-WELIANTW.js";
41
+ } from "./chunk-GAPQENMY.js";
42
+ import "./chunk-MDDB7M7Z.js";
43
43
  import "./chunk-HTQTIKWP.js";
44
44
  import {
45
45
  resolveOutput
46
- } from "./chunk-VVHEB3M3.js";
46
+ } from "./chunk-HRRSTIGP.js";
47
47
  import {
48
+ ADDED_ACCOUNT,
49
+ ADDED_PROVIDER,
50
+ CATALOG_KINDS,
51
+ CONTRACT_KINDS,
52
+ CONTRACT_STATUSES,
48
53
  COUNTER_FIELDS,
54
+ CRM_KINDS,
49
55
  CRM_OPENS,
50
- DEAL_KINDS,
51
- DEAL_ROLES,
52
- DEAL_STATUSES,
53
56
  FOLDER_PROVIDERS,
54
57
  KINDS,
58
+ ORDER_DIRECTIONS,
59
+ PERIOD_UNITS,
55
60
  PROVIDERS,
56
61
  RECORDS_ENVELOPE_SCHEMA,
57
62
  RECORDS_SCHEMA_VERSION,
58
63
  RECORD_ENTITY_TYPES,
59
64
  RECORD_OPERATIONS,
60
65
  REF_KINDS,
61
- STAGE_OUTCOMES,
66
+ SUBSCRIPTION_STATUSES,
67
+ TRANSACTION_STATUSES,
62
68
  UNKNOWN_PROVIDER,
69
+ WALLET_KINDS,
63
70
  canonicalReference,
64
71
  counterValue,
65
72
  envelopeOfJsonl,
73
+ envelopeOfText,
66
74
  formatLocator,
67
75
  formatReference,
76
+ holdsKind,
77
+ intervalOf,
78
+ intervalText,
68
79
  isFolderProvider,
80
+ isItemKind,
69
81
  isKind,
70
82
  isLocator,
71
83
  kindIn,
72
84
  kindOf,
85
+ kindsIn,
73
86
  looksLikeReference,
74
87
  observedCounters,
75
88
  parseLocator,
@@ -78,26 +91,43 @@ import {
78
91
  providers,
79
92
  rankingOptions,
80
93
  useProviders
81
- } from "./chunk-IRY3ZFPW.js";
94
+ } from "./chunk-LTXYJAJK.js";
82
95
  import {
83
96
  CURRENCY_SCALES,
97
+ DEAL_KINDS,
98
+ DEAL_ROLES,
99
+ DEAL_STATUSES,
84
100
  FINANCE_REVIEWS,
85
101
  INVOICE_DIRECTIONS,
86
102
  INVOICE_STATUSES,
87
103
  MONEY_DIRECTIONS,
88
104
  ORDER_PURPOSES,
89
105
  ORDER_STATUSES,
106
+ ORGANIZATION_ROLES,
107
+ PROJECT_ROLES,
108
+ RELATIONS,
109
+ RELATION_KINDS,
110
+ ROLE_LISTS,
111
+ STAGE_OUTCOMES,
112
+ STANDINGS,
90
113
  TAG_TYPES,
91
114
  canonicalMeetingReference,
92
115
  currencyOf,
116
+ formatDecimal,
93
117
  formatMeetingReference,
118
+ inverseOf,
119
+ isUsable,
94
120
  minorUnits,
95
121
  moneyLabel,
96
122
  moneyOf,
97
123
  normalizeTag,
98
- parseMeetingReference
99
- } from "./chunk-CQVRBZGP.js";
100
- import "./chunk-H3KB77WL.js";
124
+ parseMeetingReference,
125
+ rolesOf,
126
+ signedMinorUnits,
127
+ standingOf,
128
+ usableLink
129
+ } from "./chunk-I2SDXWLR.js";
130
+ import "./chunk-4FWJNIPH.js";
101
131
  import "./chunk-QZLK2ISN.js";
102
132
  import "./chunk-BMV56JCL.js";
103
133
  import "./chunk-BHNBWFT5.js";
@@ -105,6 +135,11 @@ import "./chunk-Y5E2WNWB.js";
105
135
  import "./chunk-DALBYUPC.js";
106
136
  import "./chunk-ZVVMGPBJ.js";
107
137
  export {
138
+ ADDED_ACCOUNT,
139
+ ADDED_PROVIDER,
140
+ CATALOG_KINDS,
141
+ CONTRACT_KINDS,
142
+ CONTRACT_STATUSES,
108
143
  DETAILS as CORE_DETAILS,
109
144
  REASONS as CORE_REASONS,
110
145
  COUNTER_FIELDS,
@@ -121,18 +156,29 @@ export {
121
156
  KINDS,
122
157
  MONEY_DIRECTIONS,
123
158
  ModerationRules,
159
+ ORDER_DIRECTIONS,
124
160
  ORDER_PURPOSES,
125
161
  ORDER_STATUSES,
162
+ ORGANIZATION_ROLES,
126
163
  PASTE_QR,
164
+ PERIOD_UNITS,
165
+ PROJECT_ROLES,
127
166
  PROVIDERS,
128
167
  RECORDS_ENVELOPE_SCHEMA,
129
168
  RECORDS_SCHEMA_VERSION,
130
169
  RECORD_ENTITY_TYPES,
131
170
  RECORD_OPERATIONS,
132
171
  REF_KINDS,
172
+ RELATIONS,
173
+ RELATION_KINDS,
174
+ ROLE_LISTS,
133
175
  STAGE_OUTCOMES,
176
+ STANDINGS,
177
+ SUBSCRIPTION_STATUSES,
134
178
  TAG_TYPES,
179
+ TRANSACTION_STATUSES,
135
180
  UNKNOWN_PROVIDER,
181
+ WALLET_KINDS,
136
182
  act,
137
183
  atTerminal,
138
184
  bareCheck,
@@ -144,19 +190,29 @@ export {
144
190
  currencyOf,
145
191
  defaultRules,
146
192
  envelopeOfJsonl,
193
+ envelopeOfText,
194
+ envelopeOfVcard,
147
195
  failureContext,
148
196
  foldName,
197
+ formatDecimal,
149
198
  formatLocator,
150
199
  formatMeetingReference,
151
200
  formatReference,
201
+ holdsKind,
202
+ intervalOf,
203
+ intervalText,
204
+ inverseOf,
152
205
  isFolderProvider,
153
206
  isId,
154
207
  isItemKind,
155
208
  isKind,
156
209
  isLocator,
210
+ isUsable,
211
+ isVcard,
157
212
  judge,
158
213
  kindIn,
159
214
  kindOf,
215
+ kindsIn,
160
216
  loginQr,
161
217
  looksLikeReference,
162
218
  minorUnits,
@@ -181,7 +237,11 @@ export {
181
237
  renderMessage,
182
238
  renderMessages,
183
239
  resolveOutput,
240
+ rolesOf,
241
+ signedMinorUnits,
242
+ standingOf,
184
243
  terminalQr,
244
+ usableLink,
185
245
  useProviders,
186
246
  validateFormattedText
187
247
  };
@@ -42399,7 +42399,7 @@ function install11(registers) {
42399
42399
  }
42400
42400
  __name(install11, "install");
42401
42401
 
42402
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_53afa6060d8ea71d32941ef81a17e026/node_modules/@wirecat/cli-core/dist/charts/echarts-option.js
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
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.604.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_53afa6060d8ea71d32941ef81a17e026/node_modules/@wirecat/cli-core/dist/charts/echarts.js
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
42451
42451
  use([install2, install, install6, install5, install10, install7, install11]);
42452
42452
  var echartsRenderer = {
42453
42453
  render: /* @__PURE__ */ __name(async (chart, size) => {
@@ -13,9 +13,9 @@ import {
13
13
  truncated,
14
14
  unit,
15
15
  warmEmbedders
16
- } from "./chunk-POWHDZIC.js";
17
- import "./chunk-YL5WH6XH.js";
18
- import "./chunk-P2RSKCY4.js";
16
+ } from "./chunk-Z7N4MGOQ.js";
17
+ import "./chunk-O3M2S62X.js";
18
+ import "./chunk-RPCKBXKN.js";
19
19
  import "./chunk-BMV56JCL.js";
20
20
  import "./chunk-BHNBWFT5.js";
21
21
  import "./chunk-Y5E2WNWB.js";
@@ -4,9 +4,9 @@ import {
4
4
  openSession,
5
5
  truncated,
6
6
  unit
7
- } from "./chunk-POWHDZIC.js";
8
- import "./chunk-YL5WH6XH.js";
9
- import "./chunk-P2RSKCY4.js";
7
+ } from "./chunk-Z7N4MGOQ.js";
8
+ import "./chunk-O3M2S62X.js";
9
+ import "./chunk-RPCKBXKN.js";
10
10
  import "./chunk-BMV56JCL.js";
11
11
  import "./chunk-BHNBWFT5.js";
12
12
  import {
@@ -19,11 +19,11 @@ import {
19
19
  __name
20
20
  } from "./chunk-ZVVMGPBJ.js";
21
21
 
22
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_53afa6060d8ea71d32941ef81a17e026/node_modules/@wirecat/cli-core/dist/images/picture/embedder.js
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
23
23
  import { readFileSync } from "node:fs";
24
24
  import { join } from "node:path";
25
25
 
26
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_53afa6060d8ea71d32941ef81a17e026/node_modules/@wirecat/cli-core/dist/images/picture/preprocess.js
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
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.604.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_53afa6060d8ea71d32941ef81a17e026/node_modules/@wirecat/cli-core/dist/images/picture/embedder.js
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
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");
@@ -5,13 +5,13 @@ import {
5
5
  asksAtStart,
6
6
  setupAtStart,
7
7
  systemLanguage
8
- } from "./chunk-KO2DA7CN.js";
8
+ } from "./chunk-V6OIIVH3.js";
9
9
  import "./chunk-UWL2IOII.js";
10
10
  import "./chunk-3DQYO7FB.js";
11
- import "./chunk-A5A6MPIX.js";
12
- import "./chunk-LCP2DMBD.js";
13
- import "./chunk-RYRR5NFB.js";
14
- import "./chunk-P2RSKCY4.js";
11
+ import "./chunk-VDUGE6TH.js";
12
+ import "./chunk-VINSQR4X.js";
13
+ import "./chunk-3HDQVTND.js";
14
+ import "./chunk-RPCKBXKN.js";
15
15
  import "./chunk-UHC5I3JV.js";
16
16
  import "./chunk-D72URWJE.js";
17
17
  import "./chunk-BMV56JCL.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-Z75WYAX6.js";
8
+ import "./chunk-ZZSHGCRC.js";
9
+ import "./chunk-HTQTIKWP.js";
10
+ import "./chunk-HSBGNVEL.js";
11
+ import "./chunk-HRRSTIGP.js";
12
+ import "./chunk-B74SOC4R.js";
13
+ import "./chunk-VDUGE6TH.js";
14
+ import "./chunk-T3DTYJTG.js";
15
+ import "./chunk-566MEXK5.js";
16
+ import "./chunk-HJ2CXDKJ.js";
17
+ import "./chunk-I2SDXWLR.js";
18
+ import "./chunk-SYEICLTR.js";
19
+ import "./chunk-4FWJNIPH.js";
20
+ import "./chunk-3HDQVTND.js";
21
+ import "./chunk-O3M2S62X.js";
22
+ import "./chunk-RPCKBXKN.js";
23
+ import "./chunk-QZLK2ISN.js";
24
+ import "./chunk-BMV56JCL.js";
25
+ import "./chunk-BHNBWFT5.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-FBSDRNW5.js";
6
+ } from "./chunk-P2QJA7S5.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-NBHMSEN4.js";
6
+ } from "./chunk-T2GQA2E4.js";
7
7
  import {
8
8
  installerOf
9
9
  } from "./chunk-UHC5I3JV.js";
@@ -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-BDB3D2HE.js");
161
+ const { run } = await import("./program-PFVJDKM4.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-QXZTVB5I.js";
21
+ } from "./chunk-RT6SLZBI.js";
22
22
  import {
23
23
  __name
24
24
  } from "./chunk-ZVVMGPBJ.js";
25
25
 
26
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_53afa6060d8ea71d32941ef81a17e026/node_modules/@wirecat/cli-core/dist/store/sqlite/drizzle/node.js
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
27
27
  import { DatabaseSync } from "node:sqlite";
28
28
  var nodeSQLiteCodecs = refineSqliteCodecs({
29
29
  "integer:boolean": { normalize: booleanFromInteger },
@@ -3,11 +3,11 @@ const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  loadVectorExtension,
5
5
  vectorExtension
6
- } from "./chunk-7H45FPAT.js";
6
+ } from "./chunk-LF5XM4HE.js";
7
7
  import {
8
8
  TIME_LIMIT_FUNCTION,
9
9
  beforeTimeLimit
10
- } from "./chunk-H4MWBB4X.js";
10
+ } from "./chunk-ODFHIXMA.js";
11
11
  import "./chunk-BMV56JCL.js";
12
12
  import "./chunk-BHNBWFT5.js";
13
13
  import "./chunk-Y5E2WNWB.js";
@@ -16,7 +16,7 @@ import {
16
16
  __name
17
17
  } from "./chunk-ZVVMGPBJ.js";
18
18
 
19
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_53afa6060d8ea71d32941ef81a17e026/node_modules/@wirecat/cli-core/dist/store/drivers/node-sqlite.js
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
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,11 +3,11 @@ const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  ownerLogin,
5
5
  revokeAll
6
- } from "./chunk-SOZXI7I3.js";
6
+ } from "./chunk-RFB27ACZ.js";
7
7
  import "./chunk-5D4AEUVA.js";
8
- import "./chunk-7ERCJWNL.js";
9
- import "./chunk-42QY6DIG.js";
10
- import "./chunk-HOGJNJ3T.js";
8
+ import "./chunk-SCIC2CJS.js";
9
+ import "./chunk-VQZCIDSO.js";
10
+ import "./chunk-T3DTYJTG.js";
11
11
  import "./chunk-BMV56JCL.js";
12
12
  import "./chunk-BHNBWFT5.js";
13
13
  import "./chunk-Y5E2WNWB.js";
@@ -6,8 +6,8 @@ import {
6
6
  openCache,
7
7
  openFile,
8
8
  storeCapable
9
- } from "./chunk-RYE5SRUM.js";
10
- import "./chunk-H4MWBB4X.js";
9
+ } from "./chunk-AF62BPIW.js";
10
+ import "./chunk-ODFHIXMA.js";
11
11
  import "./chunk-BMV56JCL.js";
12
12
  import "./chunk-BHNBWFT5.js";
13
13
  import "./chunk-Y5E2WNWB.js";
@@ -3,20 +3,20 @@ const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  SAMPLE_RATE,
5
5
  toModelRate
6
- } from "./chunk-3CJVUCDZ.js";
7
- import "./chunk-ZXQDJMWD.js";
6
+ } from "./chunk-J2U6LUT5.js";
7
+ import "./chunk-NOVBK4SY.js";
8
8
  import {
9
9
  OPENAI_URL
10
- } from "./chunk-HCRMPNSO.js";
11
- import "./chunk-POWHDZIC.js";
10
+ } from "./chunk-OKO2Q6H6.js";
11
+ import "./chunk-Z7N4MGOQ.js";
12
12
  import {
13
13
  OPENAI_TRANSCRIBE_MODEL,
14
14
  VAD,
15
15
  filesPresent,
16
16
  modelsDirectory,
17
17
  vadPath
18
- } from "./chunk-YL5WH6XH.js";
19
- import "./chunk-P2RSKCY4.js";
18
+ } from "./chunk-O3M2S62X.js";
19
+ import "./chunk-RPCKBXKN.js";
20
20
  import {
21
21
  DEFAULT_RETRY,
22
22
  backoffMs
@@ -30,7 +30,7 @@ import {
30
30
  __name
31
31
  } from "./chunk-ZVVMGPBJ.js";
32
32
 
33
- // node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_53afa6060d8ea71d32941ef81a17e026/node_modules/@wirecat/cli-core/dist/speech/openai.js
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
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.604.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_53afa6060d8ea71d32941ef81a17e026/node_modules/@wirecat/cli-core/dist/speech/wav.js
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
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.604.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_53afa6060d8ea71d32941ef81a17e026/node_modules/@wirecat/cli-core/dist/speech/openai.js
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
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-ONHYBE77.js");
203
+ const { openSpeechCutter } = await import("./recognize-OS3EZKIM.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.604.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_53afa6060d8ea71d32941ef81a17e026/node_modules/@wirecat/cli-core/dist/embeddings/process.js
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
9
9
  import { spawn } from "node:child_process";
10
10
  import { createInterface } from "node:readline";
11
11
  import { fileURLToPath } from "node:url";