@wirecat/cli-memo 0.131.26 → 0.131.27
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.
- package/dist/bin/memo.js +2 -2
- package/dist/bundle/{all-profiles-VULFSNYE.js → all-profiles-647KYOE7.js} +5 -5
- package/dist/bundle/{anthropic-VXQ6ST2U.js → anthropic-NOWJG7LX.js} +3 -3
- package/dist/bundle/{app-server-HQPELIPY.js → app-server-4TSS6HOH.js} +35 -35
- package/dist/bundle/auto-SMKS3KCQ.js +86 -0
- package/dist/bundle/{bun-2NMWL5YB.js → bun-SWGUWWHN.js} +2 -2
- package/dist/bundle/{bun-sqlite-CT544OXO.js → bun-sqlite-KUF25XNM.js} +2 -2
- package/dist/bundle/{chunk-Z3YGDBBS.js → chunk-277JL5QO.js} +2 -2
- package/dist/bundle/{chunk-TXANQZEG.js → chunk-2HRV2SUN.js} +2 -2
- package/dist/bundle/{chunk-KTDNFSXC.js → chunk-2KFZT2MK.js} +20 -20
- package/dist/bundle/{chunk-IUM5XZWV.js → chunk-3H63BAA7.js} +5 -5
- package/dist/bundle/{chunk-GJBK3M6X.js → chunk-3RTD2FXB.js} +4 -4
- package/dist/bundle/{chunk-H6O6IQND.js → chunk-4GTDOWNP.js} +3 -3
- package/dist/bundle/{chunk-KFDPW2AR.js → chunk-4PTLLGIF.js} +2 -2
- package/dist/bundle/{chunk-IJ34FAES.js → chunk-4XVTVA5Z.js} +11 -11
- package/dist/bundle/{chunk-QKQ7A4L7.js → chunk-6PO6LLZN.js} +43 -43
- package/dist/bundle/{chunk-WRZ7JDA2.js → chunk-7ABYQEQY.js} +5 -5
- package/dist/bundle/{chunk-TPFWNOPG.js → chunk-7HXD23I5.js} +4 -4
- package/dist/bundle/{chunk-7ISENDNK.js → chunk-7PP2OPRA.js} +10 -10
- package/dist/bundle/{chunk-PWA3RNXN.js → chunk-ALCQJ2D6.js} +256 -256
- package/dist/bundle/{chunk-MQAHMAJB.js → chunk-AQXN7AWH.js} +1 -1
- package/dist/bundle/{chunk-GOEHJK2R.js → chunk-AVYITNNS.js} +4 -4
- package/dist/bundle/{chunk-YFBKS5BW.js → chunk-D7UEU66D.js} +2 -2
- package/dist/bundle/{chunk-OYB3FUYQ.js → chunk-FTT5JNPN.js} +1 -1
- package/dist/bundle/{chunk-KMZRXGTF.js → chunk-FVBTAXCS.js} +1 -1
- package/dist/bundle/{chunk-DUHXWFCB.js → chunk-GZ2HIVBB.js} +4 -4
- package/dist/bundle/{chunk-VL3YCTZD.js → chunk-INCTLKHJ.js} +6 -6
- package/dist/bundle/{chunk-BO4FN4UB.js → chunk-IVYNJMBN.js} +2 -2
- package/dist/bundle/{chunk-CW3NJ764.js → chunk-JLYGDM36.js} +4 -4
- package/dist/bundle/{chunk-3ZJE5TIG.js → chunk-JQTPWAJM.js} +1 -1
- package/dist/bundle/{chunk-ARDUJR5Z.js → chunk-JRQUM4HZ.js} +1 -1
- package/dist/bundle/{chunk-4ENVJFRM.js → chunk-K2ZWI2KJ.js} +27 -27
- package/dist/bundle/{chunk-254TXVLA.js → chunk-KDIDLXLG.js} +1 -1
- package/dist/bundle/{chunk-7LMTWOTP.js → chunk-L57US5PR.js} +1 -1
- package/dist/bundle/{chunk-A4NZ2XOG.js → chunk-LAWSSPON.js} +7 -7
- package/dist/bundle/{chunk-CRC3AW6N.js → chunk-NA3MERUP.js} +2 -2
- package/dist/bundle/{chunk-2ND2XYME.js → chunk-NANQLIUH.js} +24 -16
- package/dist/bundle/{chunk-NH2JSH24.js → chunk-NBHAXVJA.js} +4 -4
- package/dist/bundle/{chunk-HN3EDDVX.js → chunk-NKS7MU3Z.js} +12 -12
- package/dist/bundle/{chunk-FHY664YS.js → chunk-OGWZPUAJ.js} +3 -3
- package/dist/bundle/{chunk-A6PITALJ.js → chunk-OQA75YT2.js} +1 -1
- package/dist/bundle/{chunk-UZXCBBDC.js → chunk-PNMBUOAD.js} +9 -9
- package/dist/bundle/{chunk-5FPQGUJA.js → chunk-QALA4JZO.js} +1 -1
- package/dist/bundle/{chunk-HVVBSM2C.js → chunk-QDXZCKBH.js} +245 -245
- package/dist/bundle/{chunk-6TJCRDNZ.js → chunk-QTKL3E4W.js} +3 -3
- package/dist/bundle/{chunk-BELLQAWL.js → chunk-RCGI5XSZ.js} +7 -7
- package/dist/bundle/{chunk-DKKWZMR7.js → chunk-RO44PMBO.js} +1 -1
- package/dist/bundle/{chunk-SY7M2DLJ.js → chunk-RXRKPXFI.js} +8 -8
- package/dist/bundle/{chunk-3CVDHJER.js → chunk-SASHDBYJ.js} +1 -1
- package/dist/bundle/{chunk-AGMYCYSG.js → chunk-T3T4LL6R.js} +150 -150
- package/dist/bundle/{chunk-LJZFMXDC.js → chunk-T5FFN7L2.js} +20 -20
- package/dist/bundle/{chunk-S3RBWUUA.js → chunk-UM5T2ENH.js} +5 -5
- package/dist/bundle/{chunk-XKGXVVYV.js → chunk-VTNQI5LA.js} +4 -4
- package/dist/bundle/{chunk-ZR3BPBS6.js → chunk-VUEIWP2Z.js} +7 -7
- package/dist/bundle/{chunk-QFW4MJIH.js → chunk-WQ7A4VOG.js} +51 -51
- package/dist/bundle/{chunk-NAM2Y63Z.js → chunk-WYUAAPPV.js} +2 -2
- package/dist/bundle/{chunk-M6O4DH5F.js → chunk-X3JNTSNP.js} +1 -1
- package/dist/bundle/{chunk-J57DDKF4.js → chunk-XA3WEWYH.js} +1 -1
- package/dist/bundle/{chunk-GPYGMETC.js → chunk-XPVDHJTX.js} +445 -300
- package/dist/bundle/{chunk-CUWI6JIX.js → chunk-YEO3ZQ5M.js} +5 -5
- package/dist/bundle/{chunk-TKVRZZE3.js → chunk-YMER5NPZ.js} +1 -1
- package/dist/bundle/{chunk-M4QN77GH.js → chunk-Z3GKXASH.js} +3 -3
- package/dist/bundle/{chunk-6PRRZC7Z.js → chunk-ZAEDCOUL.js} +1 -1
- package/dist/bundle/{chunk-LMN7SYX4.js → chunk-ZQKHD3GK.js} +1 -1
- package/dist/bundle/{command-contract-RQMIQKBS.js → command-contract-YC6GN4LE.js} +11 -11
- package/dist/bundle/{decode-7VB3CHK2.js → decode-JK4V5ELR.js} +2 -2
- package/dist/bundle/{echarts-45D6USAX.js → echarts-6ATB3IFR.js} +2 -2
- package/dist/bundle/{embed-KU2RGB24.js → embed-ILN7JTHX.js} +3 -3
- package/dist/bundle/{embedder-E7YZDZ5Y.js → embedder-AJTL34NF.js} +6 -6
- package/dist/bundle/{entry-N42HJMIN.js → entry-L4LM4I5G.js} +4 -4
- package/dist/bundle/failure-D2CAKLEH.js +66 -0
- package/dist/bundle/{first-run-Y5YNAAO3.js → first-run-TRHR3KN2.js} +5 -5
- package/dist/bundle/{first-screen-SNPGBQFZ.js → first-screen-NMXBV2SG.js} +12 -12
- package/dist/bundle/{instructions-6EFSPC7C.js → instructions-UMFMBSXN.js} +1 -1
- package/dist/bundle/{mcp-6Z7UKX7E.js → mcp-I6LDWXA6.js} +35 -35
- package/dist/bundle/memo.js +6 -6
- package/dist/bundle/{node-OXC26QXO.js → node-MFZOUE2C.js} +2 -2
- package/dist/bundle/{node-sqlite-FNTICDEN.js → node-sqlite-DRRK6O26.js} +3 -3
- package/dist/bundle/{oauth-4JFOFCBB.js → oauth-FZNU6S32.js} +4 -4
- package/dist/bundle/{open-WXFCCY7S.js → open-GZGUXW5N.js} +2 -2
- package/dist/bundle/{openai-TPQKQNM7.js → openai-KGGTVDRL.js} +7 -7
- package/dist/bundle/{process-YWPAOI6G.js → process-VDZ2QZQD.js} +1 -1
- package/dist/bundle/{program-WFUPN7XO.js → program-VEY6JNB2.js} +77 -77
- package/dist/bundle/{prompt-HJUH4EP4.js → prompt-TQ6WRJWG.js} +2 -2
- package/dist/bundle/{recognize-DAIRHALM.js → recognize-ZVSPBMV2.js} +1 -1
- package/dist/bundle/{remote-MJLWTLAX.js → remote-XYRV66J3.js} +4 -4
- package/dist/bundle/{rerank-VAK5HSJE.js → rerank-C3OK7FEJ.js} +4 -4
- package/dist/bundle/{serve-M2A66WOW.js → serve-DUV2FO4T.js} +6 -6
- package/dist/bundle/server-5NDIMIA5.js +48 -0
- package/dist/bundle/{server-NN2CBVSX.js → server-E5YAVN5F.js} +50 -50
- package/dist/bundle/server-VZ7LFLS6.js +61 -0
- package/dist/bundle/{state-6TBUXJOX.js → state-NLAZ7OYD.js} +3 -3
- package/dist/bundle/{store-TJCL3QBY.js → store-Y4BME65D.js} +9 -9
- package/dist/bundle/store-maintenance-command-BOITCFBL.js +48 -0
- package/dist/bundle/update-ZUYIFRFD.js +69 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +2 -2
- package/dist/bundle/auto-3R4RFJGK.js +0 -86
- package/dist/bundle/failure-R355OCVE.js +0 -66
- package/dist/bundle/server-33FB7QXW.js +0 -48
- package/dist/bundle/server-AIPDQO57.js +0 -61
- package/dist/bundle/store-maintenance-command-NKJV5A3G.js +0 -48
- package/dist/bundle/update-OXR3SNM2.js +0 -69
- /package/dist/bundle/{chunk-DF7NE4ZG.js → chunk-DDUSDQJ6.js} +0 -0
|
@@ -6,17 +6,17 @@ import {
|
|
|
6
6
|
autoState,
|
|
7
7
|
lastAutoRun,
|
|
8
8
|
recordAutoRun
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-VTNQI5LA.js";
|
|
10
10
|
import {
|
|
11
11
|
installer,
|
|
12
12
|
latest,
|
|
13
13
|
upgradeCommand
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-7ABYQEQY.js";
|
|
15
15
|
import {
|
|
16
16
|
mcpOwnerAllowed,
|
|
17
17
|
readOnlyAvailability,
|
|
18
18
|
refuseWritesUnderLock
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-UM5T2ENH.js";
|
|
20
20
|
import {
|
|
21
21
|
answers,
|
|
22
22
|
atDetail as atDetail2,
|
|
@@ -26,7 +26,7 @@ import {
|
|
|
26
26
|
trackAnswers,
|
|
27
27
|
wholeList,
|
|
28
28
|
withStore
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-AVYITNNS.js";
|
|
30
30
|
import {
|
|
31
31
|
DIALECTS,
|
|
32
32
|
MEMO_SETTINGS,
|
|
@@ -45,15 +45,15 @@ import {
|
|
|
45
45
|
scheduleLimits,
|
|
46
46
|
unsetConfigKey,
|
|
47
47
|
updateConfig
|
|
48
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-3RTD2FXB.js";
|
|
49
49
|
import "./chunk-QP3KNC5D.js";
|
|
50
|
-
import "./chunk-
|
|
51
|
-
import "./chunk-
|
|
52
|
-
import "./chunk-
|
|
50
|
+
import "./chunk-2HRV2SUN.js";
|
|
51
|
+
import "./chunk-VUEIWP2Z.js";
|
|
52
|
+
import "./chunk-OGWZPUAJ.js";
|
|
53
53
|
import {
|
|
54
54
|
errorObject,
|
|
55
55
|
recognisable
|
|
56
|
-
} from "./chunk-
|
|
56
|
+
} from "./chunk-4GTDOWNP.js";
|
|
57
57
|
import {
|
|
58
58
|
DISCOVERY_DESCRIPTIONS,
|
|
59
59
|
SUMMARY_UNTRUSTED,
|
|
@@ -100,9 +100,9 @@ import {
|
|
|
100
100
|
tasksStatsCommand,
|
|
101
101
|
unansweredHours,
|
|
102
102
|
withSqliteSidecars
|
|
103
|
-
} from "./chunk-
|
|
104
|
-
import "./chunk-
|
|
105
|
-
import "./chunk-
|
|
103
|
+
} from "./chunk-QDXZCKBH.js";
|
|
104
|
+
import "./chunk-X3JNTSNP.js";
|
|
105
|
+
import "./chunk-FTT5JNPN.js";
|
|
106
106
|
import {
|
|
107
107
|
MAIL_HIT_UNTRUSTED,
|
|
108
108
|
allHitItem,
|
|
@@ -112,21 +112,21 @@ import {
|
|
|
112
112
|
noteHitItem,
|
|
113
113
|
offsetOf,
|
|
114
114
|
shownOf
|
|
115
|
-
} from "./chunk-
|
|
116
|
-
import "./chunk-
|
|
115
|
+
} from "./chunk-2KFZT2MK.js";
|
|
116
|
+
import "./chunk-KDIDLXLG.js";
|
|
117
117
|
import {
|
|
118
118
|
SKILL_TARGETS,
|
|
119
119
|
skillCommand,
|
|
120
120
|
skillPath,
|
|
121
121
|
skillVersion
|
|
122
|
-
} from "./chunk-
|
|
122
|
+
} from "./chunk-NANQLIUH.js";
|
|
123
123
|
import {
|
|
124
124
|
messageItem,
|
|
125
125
|
modelGateway,
|
|
126
126
|
storeInfo,
|
|
127
127
|
storeSummary
|
|
128
|
-
} from "./chunk-
|
|
129
|
-
import "./chunk-
|
|
128
|
+
} from "./chunk-6PO6LLZN.js";
|
|
129
|
+
import "./chunk-T5FFN7L2.js";
|
|
130
130
|
import {
|
|
131
131
|
AGENDA_DEFAULTS,
|
|
132
132
|
DEFAULT_BACKEND,
|
|
@@ -192,18 +192,18 @@ import {
|
|
|
192
192
|
termField,
|
|
193
193
|
typedQuery,
|
|
194
194
|
withQuery
|
|
195
|
-
} from "./chunk-
|
|
195
|
+
} from "./chunk-ALCQJ2D6.js";
|
|
196
196
|
import {
|
|
197
197
|
readBoundedUtf8File,
|
|
198
198
|
writeFileAtomic
|
|
199
|
-
} from "./chunk-
|
|
199
|
+
} from "./chunk-NKS7MU3Z.js";
|
|
200
200
|
import {
|
|
201
201
|
commandsText,
|
|
202
202
|
inSection,
|
|
203
203
|
installHelp
|
|
204
|
-
} from "./chunk-
|
|
204
|
+
} from "./chunk-INCTLKHJ.js";
|
|
205
205
|
import "./chunk-HTQTIKWP.js";
|
|
206
|
-
import "./chunk-
|
|
206
|
+
import "./chunk-NA3MERUP.js";
|
|
207
207
|
import {
|
|
208
208
|
Command,
|
|
209
209
|
FETCH,
|
|
@@ -244,25 +244,25 @@ import {
|
|
|
244
244
|
text,
|
|
245
245
|
time,
|
|
246
246
|
untrusted
|
|
247
|
-
} from "./chunk-
|
|
248
|
-
import "./chunk-
|
|
249
|
-
import "./chunk-
|
|
247
|
+
} from "./chunk-T3T4LL6R.js";
|
|
248
|
+
import "./chunk-RCGI5XSZ.js";
|
|
249
|
+
import "./chunk-7PP2OPRA.js";
|
|
250
250
|
import {
|
|
251
251
|
isNewer
|
|
252
252
|
} from "./chunk-I7PL5WX2.js";
|
|
253
253
|
import "./chunk-YPF6OS37.js";
|
|
254
|
-
import "./chunk-
|
|
255
|
-
import "./chunk-
|
|
254
|
+
import "./chunk-QTKL3E4W.js";
|
|
255
|
+
import "./chunk-PNMBUOAD.js";
|
|
256
256
|
import {
|
|
257
257
|
mailHolderVariable,
|
|
258
258
|
readOnlyLockOf
|
|
259
|
-
} from "./chunk-
|
|
260
|
-
import "./chunk-
|
|
259
|
+
} from "./chunk-OQA75YT2.js";
|
|
260
|
+
import "./chunk-JLYGDM36.js";
|
|
261
261
|
import {
|
|
262
262
|
releaseLock,
|
|
263
263
|
takeLock
|
|
264
|
-
} from "./chunk-
|
|
265
|
-
import "./chunk-
|
|
264
|
+
} from "./chunk-IVYNJMBN.js";
|
|
265
|
+
import "./chunk-SASHDBYJ.js";
|
|
266
266
|
import {
|
|
267
267
|
EVIDENCE_FINDINGS_KIND,
|
|
268
268
|
FINANCE_REVIEWS,
|
|
@@ -303,7 +303,7 @@ import {
|
|
|
303
303
|
queryFilter,
|
|
304
304
|
refLabel,
|
|
305
305
|
validateFields
|
|
306
|
-
} from "./chunk-
|
|
306
|
+
} from "./chunk-XPVDHJTX.js";
|
|
307
307
|
import {
|
|
308
308
|
FACT_STATUSES,
|
|
309
309
|
FACT_TYPES,
|
|
@@ -330,22 +330,22 @@ import {
|
|
|
330
330
|
timezoneOf,
|
|
331
331
|
validateQuery,
|
|
332
332
|
walkQuery
|
|
333
|
-
} from "./chunk-
|
|
334
|
-
import "./chunk-
|
|
335
|
-
import "./chunk-
|
|
336
|
-
import "./chunk-
|
|
337
|
-
import "./chunk-
|
|
338
|
-
import "./chunk-
|
|
339
|
-
import "./chunk-
|
|
340
|
-
import "./chunk-
|
|
341
|
-
import "./chunk-
|
|
342
|
-
import "./chunk-
|
|
333
|
+
} from "./chunk-WQ7A4VOG.js";
|
|
334
|
+
import "./chunk-XA3WEWYH.js";
|
|
335
|
+
import "./chunk-LAWSSPON.js";
|
|
336
|
+
import "./chunk-NBHAXVJA.js";
|
|
337
|
+
import "./chunk-WYUAAPPV.js";
|
|
338
|
+
import "./chunk-RO44PMBO.js";
|
|
339
|
+
import "./chunk-ZAEDCOUL.js";
|
|
340
|
+
import "./chunk-JQTPWAJM.js";
|
|
341
|
+
import "./chunk-D7UEU66D.js";
|
|
342
|
+
import "./chunk-3H63BAA7.js";
|
|
343
343
|
import {
|
|
344
344
|
sharedModelsDirectory
|
|
345
|
-
} from "./chunk-
|
|
345
|
+
} from "./chunk-Z3GKXASH.js";
|
|
346
346
|
import {
|
|
347
347
|
storePath
|
|
348
|
-
} from "./chunk-
|
|
348
|
+
} from "./chunk-AQXN7AWH.js";
|
|
349
349
|
import {
|
|
350
350
|
provideTerminal,
|
|
351
351
|
terminalOf
|
|
@@ -355,12 +355,12 @@ import {
|
|
|
355
355
|
REASONS,
|
|
356
356
|
STORE_CLIENT,
|
|
357
357
|
VERSION
|
|
358
|
-
} from "./chunk-
|
|
358
|
+
} from "./chunk-YMER5NPZ.js";
|
|
359
359
|
import "./chunk-KV4267S4.js";
|
|
360
360
|
import "./chunk-LU3WKZBA.js";
|
|
361
361
|
import "./chunk-D72URWJE.js";
|
|
362
|
-
import "./chunk-
|
|
363
|
-
import "./chunk-
|
|
362
|
+
import "./chunk-YEO3ZQ5M.js";
|
|
363
|
+
import "./chunk-FVBTAXCS.js";
|
|
364
364
|
import {
|
|
365
365
|
createDeadline,
|
|
366
366
|
createRenderer,
|
|
@@ -401,7 +401,7 @@ import {
|
|
|
401
401
|
errorCodes,
|
|
402
402
|
isCliError
|
|
403
403
|
} from "./chunk-EB2IULWB.js";
|
|
404
|
-
import "./chunk-
|
|
404
|
+
import "./chunk-ZQKHD3GK.js";
|
|
405
405
|
import {
|
|
406
406
|
__commonJS,
|
|
407
407
|
__name,
|
|
@@ -10422,10 +10422,10 @@ var collect = /* @__PURE__ */ __name((value, previous = []) => [...previous, val
|
|
|
10422
10422
|
var readScope = /* @__PURE__ */ __name((command, help = ONE_ACCOUNT_HELP) => sourceOptions(command, help).option("--json", "print JSON; --json=id,title keeps only those fields"), "readScope");
|
|
10423
10423
|
var writeScope = /* @__PURE__ */ __name((command, help) => writeOptions(command, help).option("--json", "print JSON; --json=id,title keeps only those fields"), "writeScope");
|
|
10424
10424
|
|
|
10425
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10425
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.571.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_e6a0f361d2c41c5f0da836c3b597144a/node_modules/@wirecat/cli-core/dist/mail/account-key.js
|
|
10426
10426
|
var mailAccountKey = /* @__PURE__ */ __name((address) => ({ provider: "email", account: address.toLowerCase() }), "mailAccountKey");
|
|
10427
10427
|
|
|
10428
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10428
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.571.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_e6a0f361d2c41c5f0da836c3b597144a/node_modules/@wirecat/cli-core/dist/mail/attachments.js
|
|
10429
10429
|
var MAX_ATTACHMENT_CHARS = 2e5;
|
|
10430
10430
|
var DEFAULT_ATTACHMENT_POLICY = { read: true, maxBytes: 10 * 1024 * 1024 };
|
|
10431
10431
|
var POLICY_SKIPS = ["not-read", "too-large"];
|
|
@@ -10464,11 +10464,11 @@ var readAttachments = /* @__PURE__ */ __name(async (mail, messageId, { loadEngin
|
|
|
10464
10464
|
return files;
|
|
10465
10465
|
}, "readAttachments");
|
|
10466
10466
|
|
|
10467
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10467
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.571.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_e6a0f361d2c41c5f0da836c3b597144a/node_modules/@wirecat/cli-core/dist/mail/bulk.js
|
|
10468
10468
|
var BULK = "bulk";
|
|
10469
10469
|
var bulkBox = { externalId: "memo:bulk", name: "bulk", kind: BULK };
|
|
10470
10470
|
|
|
10471
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10471
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.571.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_e6a0f361d2c41c5f0da836c3b597144a/node_modules/@wirecat/cli-core/dist/mail/score.js
|
|
10472
10472
|
var import_disposable_email_domains_js = __toESM(require_dist(), 1);
|
|
10473
10473
|
var import_tldts = __toESM(require_cjs(), 1);
|
|
10474
10474
|
var WEIGHTS = {
|
|
@@ -10576,7 +10576,7 @@ var scoreGroup = /* @__PURE__ */ __name((items, context) => {
|
|
|
10576
10576
|
return { score: kept.reduce((sum, signal) => sum + WEIGHTS[signal], 0), signals: kept };
|
|
10577
10577
|
}, "scoreGroup");
|
|
10578
10578
|
|
|
10579
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10579
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.571.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_e6a0f361d2c41c5f0da836c3b597144a/node_modules/@wirecat/cli-core/dist/mail/presets.js
|
|
10580
10580
|
var PRESETS = {
|
|
10581
10581
|
social: {
|
|
10582
10582
|
about: "notifications from social networks",
|
|
@@ -10668,7 +10668,7 @@ var presetMatches = /* @__PURE__ */ __name((name, facts) => {
|
|
|
10668
10668
|
return false;
|
|
10669
10669
|
}, "presetMatches");
|
|
10670
10670
|
|
|
10671
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10671
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.571.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_e6a0f361d2c41c5f0da836c3b597144a/node_modules/@wirecat/cli-core/dist/mail/probe.js
|
|
10672
10672
|
var share = /* @__PURE__ */ __name((part, whole2) => Math.round(part / whole2 * 100) / 100, "share");
|
|
10673
10673
|
var isSent = /* @__PURE__ */ __name((item) => item.labels?.includes("Sent") || /(^|\/)sent\b/i.test(item.folder ?? ""), "isSent");
|
|
10674
10674
|
var groupKey = /* @__PURE__ */ __name((headers) => headers.listId === void 0 ? `from:${headers.from}` : `list:${headers.listId}`, "groupKey");
|
|
@@ -10736,7 +10736,7 @@ var probeMail = /* @__PURE__ */ __name((items, limit, ages = /* @__PURE__ */ new
|
|
|
10736
10736
|
};
|
|
10737
10737
|
}, "probeMail");
|
|
10738
10738
|
|
|
10739
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10739
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.571.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_e6a0f361d2c41c5f0da836c3b597144a/node_modules/@wirecat/cli-core/dist/mail/facts.js
|
|
10740
10740
|
var factsOf = /* @__PURE__ */ __name((listed, rules, ages = /* @__PURE__ */ new Map()) => {
|
|
10741
10741
|
const grouped = rules.some(({ match }) => match.score_at_least !== void 0 || match.preset !== void 0);
|
|
10742
10742
|
if (!grouped)
|
|
@@ -16007,7 +16007,7 @@ var PostalMime = class _PostalMime {
|
|
|
16007
16007
|
}
|
|
16008
16008
|
};
|
|
16009
16009
|
|
|
16010
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
16010
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.571.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_e6a0f361d2c41c5f0da836c3b597144a/node_modules/@wirecat/cli-core/dist/mail/headers.js
|
|
16011
16011
|
var unfold = /* @__PURE__ */ __name((text3) => text3.replace(/\r?\n[ \t]+/g, " "), "unfold");
|
|
16012
16012
|
var field = /* @__PURE__ */ __name((unfolded, name) => new RegExp(`^${name}:[ \\t]*(.*?)\\r?$`, "im").exec(unfolded)?.[1], "field");
|
|
16013
16013
|
var fieldsOf2 = /* @__PURE__ */ __name((unfolded, name) => [...unfolded.matchAll(new RegExp(`^${name}:[ \\t]*(.*?)\\r?$`, "gim"))].map(([, value]) => value), "fieldsOf");
|
|
@@ -16054,7 +16054,7 @@ var mailHeadersOf = /* @__PURE__ */ __name((raw) => {
|
|
|
16054
16054
|
};
|
|
16055
16055
|
}, "mailHeadersOf");
|
|
16056
16056
|
|
|
16057
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
16057
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.571.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_e6a0f361d2c41c5f0da836c3b597144a/node_modules/@wirecat/cli-core/dist/mail/parse.js
|
|
16058
16058
|
var MAX_BODY_CHARS = 1e6;
|
|
16059
16059
|
var MAX_ATTACHMENTS = 50;
|
|
16060
16060
|
var BRACKETED_ID = /<[^<>\s]+>/g;
|
|
@@ -16119,7 +16119,7 @@ var parseMail = /* @__PURE__ */ __name(async (raw, maxBodyChars = MAX_BODY_CHARS
|
|
|
16119
16119
|
};
|
|
16120
16120
|
}, "parseMail");
|
|
16121
16121
|
|
|
16122
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
16122
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.571.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_e6a0f361d2c41c5f0da836c3b597144a/node_modules/@wirecat/cli-core/dist/mail/email-input.js
|
|
16123
16123
|
var sentAtOf = /* @__PURE__ */ __name((date, receivedAt) => {
|
|
16124
16124
|
const sent = date === null ? Number.NaN : Date.parse(date);
|
|
16125
16125
|
return Number.isNaN(sent) ? Date.parse(receivedAt) : sent;
|
|
@@ -16139,10 +16139,10 @@ var parsedEmail = /* @__PURE__ */ __name((mail, item, header, address) => ({
|
|
|
16139
16139
|
outgoing: mail.from === null ? null : mail.from.email === address
|
|
16140
16140
|
}), "parsedEmail");
|
|
16141
16141
|
|
|
16142
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
16142
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.571.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_e6a0f361d2c41c5f0da836c3b597144a/node_modules/@wirecat/cli-core/dist/mail/partial.js
|
|
16143
16143
|
var PARTIAL = "partial";
|
|
16144
16144
|
|
|
16145
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
16145
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.571.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_e6a0f361d2c41c5f0da836c3b597144a/node_modules/@wirecat/cli-core/dist/mail/read.js
|
|
16146
16146
|
var lowerSuspicious = /* @__PURE__ */ __name((items, suspicious) => [
|
|
16147
16147
|
...items.filter((item) => !suspicious(item)),
|
|
16148
16148
|
...items.filter(suspicious)
|
|
@@ -16229,7 +16229,7 @@ var attachmentsText = /* @__PURE__ */ __name((hit) => (hit.attachments ?? []).ma
|
|
|
16229
16229
|
${file.text.replace(/\n/g, "\n ")}`;
|
|
16230
16230
|
}).join("\n"), "attachmentsText");
|
|
16231
16231
|
|
|
16232
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
16232
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.571.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_e6a0f361d2c41c5f0da836c3b597144a/node_modules/@wirecat/cli-core/dist/mail/review.js
|
|
16233
16233
|
var REVIEW_THREADS = 50;
|
|
16234
16234
|
var REVIEW_PER_THREAD = 50;
|
|
16235
16235
|
var OWED_DAYS = 30;
|
|
@@ -16327,7 +16327,7 @@ var reviewMail = /* @__PURE__ */ __name(async (store, mailbox, options) => {
|
|
|
16327
16327
|
};
|
|
16328
16328
|
}, "reviewMail");
|
|
16329
16329
|
|
|
16330
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
16330
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.571.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_e6a0f361d2c41c5f0da836c3b597144a/node_modules/@wirecat/cli-core/dist/mail/rules.js
|
|
16331
16331
|
var DAY_MS2 = 24 * 60 * 60 * 1e3;
|
|
16332
16332
|
var domainOf = /* @__PURE__ */ __name((address) => address.slice(address.lastIndexOf("@") + 1), "domainOf");
|
|
16333
16333
|
var domainMatches = /* @__PURE__ */ __name((wanted2, sender) => {
|
|
@@ -16399,7 +16399,7 @@ var tagsOf = /* @__PURE__ */ __name((rules, facts) => {
|
|
|
16399
16399
|
}, "tagsOf");
|
|
16400
16400
|
var conditionKeys = /* @__PURE__ */ __name((match) => Object.keys(match).filter((key) => match[key] !== void 0).sort(), "conditionKeys");
|
|
16401
16401
|
|
|
16402
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
16402
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.571.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_e6a0f361d2c41c5f0da836c3b597144a/node_modules/@wirecat/cli-core/dist/mail/rule-input.js
|
|
16403
16403
|
var STORE_ACTION = { keep: "full", envelope: "envelope", skip: "skip" };
|
|
16404
16404
|
var LOWER = ["from", "domain", "list_id", "subject"];
|
|
16405
16405
|
var conditionsOf = /* @__PURE__ */ __name((match) => Object.fromEntries(conditionKeys(match).map((key) => {
|
|
@@ -16429,7 +16429,7 @@ var ruleInput = /* @__PURE__ */ __name((rule, source = rule.source ?? "owner") =
|
|
|
16429
16429
|
decidedAt: decidedAtOf(rule.decided_at)
|
|
16430
16430
|
}), "ruleInput");
|
|
16431
16431
|
|
|
16432
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
16432
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.571.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_e6a0f361d2c41c5f0da836c3b597144a/node_modules/@wirecat/cli-core/dist/mail/rule-stored.js
|
|
16433
16433
|
var ACTION_OF = { full: "keep", envelope: "envelope", skip: "skip" };
|
|
16434
16434
|
var KINDS = {
|
|
16435
16435
|
from: "string",
|
|
@@ -16498,7 +16498,7 @@ var storedMailRuleSet = /* @__PURE__ */ __name(async (store, account2, query) =>
|
|
|
16498
16498
|
}, "storedMailRuleSet");
|
|
16499
16499
|
var storedMailRules = /* @__PURE__ */ __name(async (store, account2, query) => (await storedMailRuleSet(store, account2, query)).rules, "storedMailRules");
|
|
16500
16500
|
|
|
16501
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
16501
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.571.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_e6a0f361d2c41c5f0da836c3b597144a/node_modules/@wirecat/cli-core/dist/mail/rule-tags.js
|
|
16502
16502
|
var reuseOf = /* @__PURE__ */ __name((error) => {
|
|
16503
16503
|
const { details } = error;
|
|
16504
16504
|
return details?.reason === "tag-review.required" ? details.candidates?.[0]?.name : void 0;
|
|
@@ -16559,7 +16559,7 @@ var settleRuleTags = /* @__PURE__ */ __name(async (store, accountId, rules, outc
|
|
|
16559
16559
|
}
|
|
16560
16560
|
}, "settleRuleTags");
|
|
16561
16561
|
|
|
16562
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
16562
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.571.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_e6a0f361d2c41c5f0da836c3b597144a/node_modules/@wirecat/cli-core/dist/mail/sender-scores.js
|
|
16563
16563
|
var SCORED = "mail_sender_scores";
|
|
16564
16564
|
var DAY = 864e5;
|
|
16565
16565
|
var RECENT = 2 * 365 * DAY;
|
|
@@ -16575,7 +16575,7 @@ var demotedSenders = /* @__PURE__ */ __name(async (store) => {
|
|
|
16575
16575
|
return senders;
|
|
16576
16576
|
}, "demotedSenders");
|
|
16577
16577
|
|
|
16578
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
16578
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.571.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_e6a0f361d2c41c5f0da836c3b597144a/node_modules/@wirecat/cli-core/dist/mail/server-query.js
|
|
16579
16579
|
var DAY2 = 864e5;
|
|
16580
16580
|
var empty = /* @__PURE__ */ __name(() => ({ words: [], from: [], to: [], cc: [], subject: [], body: [] }), "empty");
|
|
16581
16581
|
var narrows = /* @__PURE__ */ __name((criteria) => criteria.words.length + criteria.from.length + criteria.to.length + criteria.cc.length + criteria.subject.length + criteria.body.length > 0 || criteria.since !== void 0 || criteria.before !== void 0 || criteria.seen !== void 0 || criteria.flagged !== void 0, "narrows");
|
|
@@ -16648,7 +16648,7 @@ var mailCriteriaOf = /* @__PURE__ */ __name((text3, { exact, timezone } = {}) =>
|
|
|
16648
16648
|
};
|
|
16649
16649
|
}, "mailCriteriaOf");
|
|
16650
16650
|
|
|
16651
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
16651
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.571.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_e6a0f361d2c41c5f0da836c3b597144a/node_modules/@wirecat/cli-core/dist/mail/server-search.js
|
|
16652
16652
|
var refusal = {
|
|
16653
16653
|
unsupported: "this mailbox's server cannot be searched \u2014 use --backend archive",
|
|
16654
16654
|
offline: "--backend server needs the network \u2014 not with --offline",
|
|
@@ -16863,7 +16863,7 @@ var searchMailServer = /* @__PURE__ */ __name(async (store, mailbox, access, req
|
|
|
16863
16863
|
return { report, sources };
|
|
16864
16864
|
}, "searchMailServer");
|
|
16865
16865
|
|
|
16866
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
16866
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.571.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_e6a0f361d2c41c5f0da836c3b597144a/node_modules/@wirecat/cli-core/dist/mail/sync.js
|
|
16867
16867
|
var DAY3 = 864e5;
|
|
16868
16868
|
var EDGE = 2 * DAY3;
|
|
16869
16869
|
|
|
@@ -18090,7 +18090,7 @@ import { createHash } from "node:crypto";
|
|
|
18090
18090
|
import { existsSync, readFileSync as readFileSync2, statSync } from "node:fs";
|
|
18091
18091
|
import { basename, extname, relative, sep } from "node:path";
|
|
18092
18092
|
|
|
18093
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
18093
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.571.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_e6a0f361d2c41c5f0da836c3b597144a/node_modules/@wirecat/cli-core/dist/services/documents/extraction.js
|
|
18094
18094
|
var Proposal = object({
|
|
18095
18095
|
kind: picklist(["summary", "digest", "fact", "preference"]),
|
|
18096
18096
|
body: pipe(string(), trim(), minLength(1), maxLength(15e3)),
|
|
@@ -18098,10 +18098,10 @@ var Proposal = object({
|
|
|
18098
18098
|
});
|
|
18099
18099
|
var Proposals = object({ items: pipe(array(Proposal), maxLength(20)) });
|
|
18100
18100
|
|
|
18101
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
18101
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.571.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_e6a0f361d2c41c5f0da836c3b597144a/node_modules/@wirecat/cli-core/dist/services/documents/mirrors.js
|
|
18102
18102
|
var ID = pipe(string(), regex(/^[A-Za-z0-9_-]{1,200}$/));
|
|
18103
18103
|
|
|
18104
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
18104
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.571.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_e6a0f361d2c41c5f0da836c3b597144a/node_modules/@wirecat/cli-core/dist/services/documents/sync.js
|
|
18105
18105
|
var MAX_PICTURE_BYTES = 25 * 1024 * 1024;
|
|
18106
18106
|
|
|
18107
18107
|
// dist/notes/links.js
|
|
@@ -18407,7 +18407,7 @@ var importNotesMap = /* @__PURE__ */ __name(async (store, env, folders) => {
|
|
|
18407
18407
|
return linked2;
|
|
18408
18408
|
}, "importNotesMap");
|
|
18409
18409
|
|
|
18410
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
18410
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.571.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_e6a0f361d2c41c5f0da836c3b597144a/node_modules/@wirecat/cli-core/dist/mail/cli/marks.js
|
|
18411
18411
|
var iso = /* @__PURE__ */ __name((ms) => ms === null ? null : new Date(ms).toISOString(), "iso");
|
|
18412
18412
|
var mailMark = strictObject({
|
|
18413
18413
|
holder: string(),
|
|
@@ -18451,7 +18451,7 @@ var acknowledgeCommand = /* @__PURE__ */ __name((mail) => answerEntity(proposesO
|
|
|
18451
18451
|
renderAnswer(this, outputFor(this), itemOf(markItem(mark)), () => markText(mark));
|
|
18452
18452
|
}), "acknowledgeCommand");
|
|
18453
18453
|
|
|
18454
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
18454
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.571.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_e6a0f361d2c41c5f0da836c3b597144a/node_modules/@wirecat/cli-core/dist/mail/cli/review.js
|
|
18455
18455
|
var DAY4 = 864e5;
|
|
18456
18456
|
var REVIEW_UNTRUSTED = [...SUMMARY_UNTRUSTED, ...MAIL_HIT_UNTRUSTED];
|
|
18457
18457
|
var MAIL_REVIEW_QUERY = defineQuery({
|
|
@@ -18681,7 +18681,7 @@ an agent over MCP, and each scheduled run.`).action(async function(query) {
|
|
|
18681
18681
|
saved?.save(found.checked ?? {}, found.complete ? { through: found.until } : {});
|
|
18682
18682
|
}), "mailReviewCommand");
|
|
18683
18683
|
|
|
18684
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
18684
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.571.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_e6a0f361d2c41c5f0da836c3b597144a/node_modules/@wirecat/cli-core/dist/mail/cli/index.js
|
|
18685
18685
|
var absentAccount = /* @__PURE__ */ __name((error) => {
|
|
18686
18686
|
if (error instanceof CliError && error.code === "not_found")
|
|
18687
18687
|
return void 0;
|
|
@@ -23092,10 +23092,10 @@ var mcpCommandDefinition = /* @__PURE__ */ __name((program, streams, env, create
|
|
|
23092
23092
|
}).summary("serve this profile's commands to an AI agent").description("serve memo commands over MCP on stdio or authenticated HTTP, limited by saved permissions").option("--permission <key=level>", "tighten one saved permission for this server; repeat for more keys", (value, previous = []) => [...previous, value]).option("--http", "serve on 127.0.0.1 behind an HTTPS tunnel with an owner access-code login").option("--port <port>", `local HTTP port (default ${DEFAULT_PORT}); requires --http`).option("--public-url <url>", "tunnel's HTTPS address without /mcp, or a path of it such as https://<name>.ts.net/memo; requires --http").action(async (options) => {
|
|
23093
23093
|
if (!options.http && (options.port !== void 0 || options.publicUrl !== void 0))
|
|
23094
23094
|
throw new CliError("validation_error", "--port and --public-url require --http");
|
|
23095
|
-
const { createMemoServer } = await import("./server-
|
|
23095
|
+
const { createMemoServer } = await import("./server-E5YAVN5F.js");
|
|
23096
23096
|
const build = /* @__PURE__ */ __name(() => createMemoServer(env, createProgram2, options.permission), "build");
|
|
23097
23097
|
if (options.http) {
|
|
23098
|
-
const { httpLockFile, mcpUrlOf, portOf, publicUrlOf, serveOverHttp } = await import("./mcp-
|
|
23098
|
+
const { httpLockFile, mcpUrlOf, portOf, publicUrlOf, serveOverHttp } = await import("./mcp-I6LDWXA6.js");
|
|
23099
23099
|
const publicUrl = publicUrlOf(options.publicUrl, {
|
|
23100
23100
|
missing: "--http",
|
|
23101
23101
|
reaches: "the browser apps reach memo",
|
|
@@ -23147,7 +23147,7 @@ var mcpCommandDefinition = /* @__PURE__ */ __name((program, streams, env, create
|
|
|
23147
23147
|
});
|
|
23148
23148
|
});
|
|
23149
23149
|
annotate(mcp2.command("revoke"), { effects: LOCAL_WRITE, mcp: false, examples: ["memo mcp revoke --json"] }).summary("forget every login given to a browser app").description("forget every login `memo mcp serve --http` gave a browser app; each app must log in again").option("--json", "print JSON").action(async function() {
|
|
23150
|
-
const { revokeAll } = await import("./mcp-
|
|
23150
|
+
const { revokeAll } = await import("./mcp-I6LDWXA6.js");
|
|
23151
23151
|
revokeAll(httpTokenFile(env));
|
|
23152
23152
|
out.print(this.opts().json, itemAnswer({ revoked: true }));
|
|
23153
23153
|
});
|
|
@@ -2,8 +2,8 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
readSecret
|
|
5
|
-
} from "./chunk-
|
|
6
|
-
import "./chunk-
|
|
5
|
+
} from "./chunk-WYUAAPPV.js";
|
|
6
|
+
import "./chunk-RO44PMBO.js";
|
|
7
7
|
import "./chunk-TZ7WDQPD.js";
|
|
8
8
|
import "./chunk-G2BB5WY5.js";
|
|
9
9
|
import "./chunk-Y5E2WNWB.js";
|
|
@@ -8,10 +8,10 @@ import {
|
|
|
8
8
|
openRemote,
|
|
9
9
|
remoteKey,
|
|
10
10
|
remoteModel
|
|
11
|
-
} from "./chunk-
|
|
12
|
-
import "./chunk-
|
|
13
|
-
import "./chunk-
|
|
14
|
-
import "./chunk-
|
|
11
|
+
} from "./chunk-D7UEU66D.js";
|
|
12
|
+
import "./chunk-3H63BAA7.js";
|
|
13
|
+
import "./chunk-Z3GKXASH.js";
|
|
14
|
+
import "./chunk-AQXN7AWH.js";
|
|
15
15
|
import "./chunk-TZ7WDQPD.js";
|
|
16
16
|
import "./chunk-G2BB5WY5.js";
|
|
17
17
|
import "./chunk-Y5E2WNWB.js";
|
|
@@ -4,9 +4,9 @@ import {
|
|
|
4
4
|
defaultThreads,
|
|
5
5
|
loadModel,
|
|
6
6
|
truncated
|
|
7
|
-
} from "./chunk-
|
|
8
|
-
import "./chunk-
|
|
9
|
-
import "./chunk-
|
|
7
|
+
} from "./chunk-3H63BAA7.js";
|
|
8
|
+
import "./chunk-Z3GKXASH.js";
|
|
9
|
+
import "./chunk-AQXN7AWH.js";
|
|
10
10
|
import "./chunk-TZ7WDQPD.js";
|
|
11
11
|
import "./chunk-G2BB5WY5.js";
|
|
12
12
|
import "./chunk-Y5E2WNWB.js";
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
__name
|
|
16
16
|
} from "./chunk-ZVVMGPBJ.js";
|
|
17
17
|
|
|
18
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
18
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.571.0_@wirecat+cli-base@0.77.1_commander@15.0.0_esbuild@0.28.2_type_e6a0f361d2c41c5f0da836c3b597144a/node_modules/@wirecat/cli-core/dist/embeddings/rerank.js
|
|
19
19
|
var openReranker = /* @__PURE__ */ __name(async (model, directory, { threads = defaultThreads() } = {}) => {
|
|
20
20
|
const { ort, tokenizer, session } = await loadModel(model, directory, threads);
|
|
21
21
|
const typeIds = session.inputNames.includes("token_type_ids");
|
|
@@ -3,14 +3,14 @@ const require = __bundleRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
MCP_PATH,
|
|
5
5
|
serveOverHttp
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import "./chunk-
|
|
8
|
-
import "./chunk-
|
|
6
|
+
} from "./chunk-GZ2HIVBB.js";
|
|
7
|
+
import "./chunk-FTT5JNPN.js";
|
|
8
|
+
import "./chunk-277JL5QO.js";
|
|
9
9
|
import "./chunk-3X4JM3ZR.js";
|
|
10
10
|
import "./chunk-H3ZN4YLB.js";
|
|
11
|
-
import "./chunk-
|
|
12
|
-
import "./chunk-
|
|
13
|
-
import "./chunk-
|
|
11
|
+
import "./chunk-JLYGDM36.js";
|
|
12
|
+
import "./chunk-IVYNJMBN.js";
|
|
13
|
+
import "./chunk-SASHDBYJ.js";
|
|
14
14
|
import "./chunk-TZ7WDQPD.js";
|
|
15
15
|
import "./chunk-G2BB5WY5.js";
|
|
16
16
|
import "./chunk-Y5E2WNWB.js";
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { createRequire as __bundleRequire } from "node:module";
|
|
2
|
+
const require = __bundleRequire(import.meta.url);
|
|
3
|
+
import {
|
|
4
|
+
createBotServer,
|
|
5
|
+
serveBotOverStdio
|
|
6
|
+
} from "./chunk-RXRKPXFI.js";
|
|
7
|
+
import "./chunk-X3JNTSNP.js";
|
|
8
|
+
import "./chunk-4XVTVA5Z.js";
|
|
9
|
+
import "./chunk-NANQLIUH.js";
|
|
10
|
+
import "./chunk-4PTLLGIF.js";
|
|
11
|
+
import "./chunk-MM5NVP7F.js";
|
|
12
|
+
import "./chunk-3X4JM3ZR.js";
|
|
13
|
+
import "./chunk-H3ZN4YLB.js";
|
|
14
|
+
import "./chunk-ALCQJ2D6.js";
|
|
15
|
+
import "./chunk-NKS7MU3Z.js";
|
|
16
|
+
import "./chunk-T3T4LL6R.js";
|
|
17
|
+
import "./chunk-RCGI5XSZ.js";
|
|
18
|
+
import "./chunk-I7PL5WX2.js";
|
|
19
|
+
import "./chunk-YPF6OS37.js";
|
|
20
|
+
import "./chunk-QTKL3E4W.js";
|
|
21
|
+
import "./chunk-OQA75YT2.js";
|
|
22
|
+
import "./chunk-SASHDBYJ.js";
|
|
23
|
+
import "./chunk-XPVDHJTX.js";
|
|
24
|
+
import "./chunk-WQ7A4VOG.js";
|
|
25
|
+
import "./chunk-XA3WEWYH.js";
|
|
26
|
+
import "./chunk-LAWSSPON.js";
|
|
27
|
+
import "./chunk-NBHAXVJA.js";
|
|
28
|
+
import "./chunk-RO44PMBO.js";
|
|
29
|
+
import "./chunk-JQTPWAJM.js";
|
|
30
|
+
import "./chunk-D7UEU66D.js";
|
|
31
|
+
import "./chunk-3H63BAA7.js";
|
|
32
|
+
import "./chunk-Z3GKXASH.js";
|
|
33
|
+
import "./chunk-AQXN7AWH.js";
|
|
34
|
+
import "./chunk-KV4267S4.js";
|
|
35
|
+
import "./chunk-LU3WKZBA.js";
|
|
36
|
+
import "./chunk-D72URWJE.js";
|
|
37
|
+
import "./chunk-YEO3ZQ5M.js";
|
|
38
|
+
import "./chunk-FVBTAXCS.js";
|
|
39
|
+
import "./chunk-TZ7WDQPD.js";
|
|
40
|
+
import "./chunk-G2BB5WY5.js";
|
|
41
|
+
import "./chunk-Y5E2WNWB.js";
|
|
42
|
+
import "./chunk-EB2IULWB.js";
|
|
43
|
+
import "./chunk-ZQKHD3GK.js";
|
|
44
|
+
import "./chunk-ZVVMGPBJ.js";
|
|
45
|
+
export {
|
|
46
|
+
createBotServer,
|
|
47
|
+
serveBotOverStdio
|
|
48
|
+
};
|