@wirecat/cli-memo 0.131.60 → 0.131.61
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-NUBT2FJI.js → all-profiles-WPBMSWJF.js} +5 -5
- package/dist/bundle/{anthropic-QNTKWSQT.js → anthropic-FZRVISSX.js} +7 -5
- package/dist/bundle/{app-server-6TXXVCSE.js → app-server-QGIZPU4R.js} +35 -35
- package/dist/bundle/auto-5VPCO4DD.js +85 -0
- package/dist/bundle/{bun-3NYKD7YB.js → bun-AO76624P.js} +2 -2
- package/dist/bundle/{bun-sqlite-IIJSZ5I2.js → bun-sqlite-HYBE66QU.js} +2 -2
- package/dist/bundle/{chunk-XBSLZQY4.js → chunk-233N77WN.js} +1283 -797
- package/dist/bundle/{chunk-25N2ZCXV.js → chunk-2Q55K5HY.js} +2 -2
- package/dist/bundle/{chunk-RC2NAT7T.js → chunk-2UXFM5GE.js} +12 -12
- package/dist/bundle/{chunk-EMU7UIUA.js → chunk-2VMZLQ5K.js} +2 -2
- package/dist/bundle/{chunk-LXQ56N66.js → chunk-35OBIX5A.js} +8 -8
- package/dist/bundle/{chunk-HF2W6622.js → chunk-37ILRM2G.js} +4 -4
- package/dist/bundle/{chunk-L3G5UY2P.js → chunk-3FDJSMLJ.js} +4 -4
- package/dist/bundle/{chunk-TLZEAHCB.js → chunk-3FPF5DBU.js} +5 -5
- package/dist/bundle/{chunk-B6R7O3U5.js → chunk-4HLYKLGJ.js} +1 -1
- package/dist/bundle/{chunk-O55ELCFO.js → chunk-4WKZ3UIZ.js} +1 -1
- package/dist/bundle/{chunk-LZFQZOAL.js → chunk-5SD4CV2D.js} +354 -266
- package/dist/bundle/{chunk-RU34XFKL.js → chunk-5ZVWDMDT.js} +1 -1
- package/dist/bundle/{chunk-NSEX4YST.js → chunk-6AEQACVV.js} +7 -7
- package/dist/bundle/{chunk-PNIAEDGJ.js → chunk-6NHJ4TTJ.js} +515 -356
- package/dist/bundle/{chunk-67L6BQOD.js → chunk-6YK3RZZJ.js} +4 -4
- package/dist/bundle/{chunk-SYJMQIIJ.js → chunk-7CKXTTZG.js} +2 -2
- package/dist/bundle/{chunk-NX4XCS64.js → chunk-7DPHHUSZ.js} +21 -21
- package/dist/bundle/{chunk-BYIKFYRY.js → chunk-7E46JN6V.js} +2 -2
- package/dist/bundle/{chunk-SU2EPGGH.js → chunk-7ETYPYIN.js} +12 -12
- package/dist/bundle/{chunk-6NYZ32K5.js → chunk-7NKBX7FC.js} +2 -2
- package/dist/bundle/{chunk-67CIUJO6.js → chunk-B4VCZOLF.js} +1 -1
- package/dist/bundle/{chunk-3M237SBK.js → chunk-CTRVHHBK.js} +5 -5
- package/dist/bundle/{chunk-4RSPI6OR.js → chunk-D4PK5OXW.js} +1 -1
- package/dist/bundle/{chunk-NXV3USUU.js → chunk-ETYD55QD.js} +3 -3
- package/dist/bundle/{chunk-DZKTPOTJ.js → chunk-F6E7DSJO.js} +31 -31
- package/dist/bundle/{chunk-CZUMANL4.js → chunk-HLTGPK6P.js} +4 -4
- package/dist/bundle/{chunk-VGLDBSGN.js → chunk-I6LNI45S.js} +5 -5
- package/dist/bundle/{chunk-MYVP4IFW.js → chunk-IZZU4NS6.js} +3 -3
- package/dist/bundle/{chunk-FH56EHWA.js → chunk-JAJSTFBB.js} +6 -6
- package/dist/bundle/{chunk-AEATD5XH.js → chunk-K6FQVROA.js} +21 -21
- package/dist/bundle/{chunk-WUOQ7CQU.js → chunk-KGZM5WYK.js} +4 -4
- package/dist/bundle/{chunk-FXXXBLZD.js → chunk-KZRBIHQL.js} +5 -5
- package/dist/bundle/{chunk-MV6M3VR3.js → chunk-LIW42UCX.js} +9 -9
- package/dist/bundle/{chunk-SSKSRETJ.js → chunk-MQCBJGXA.js} +10 -9
- package/dist/bundle/{chunk-XXZ3WQSW.js → chunk-OEPBIWHI.js} +150 -150
- package/dist/bundle/{chunk-MCPHBBJL.js → chunk-OFERGS4J.js} +23 -1
- package/dist/bundle/{chunk-GGGIUXKD.js → chunk-OIHKFGHK.js} +3 -3
- package/dist/bundle/{chunk-KMA63WO5.js → chunk-OQSOQYSQ.js} +4 -4
- package/dist/bundle/{chunk-VUJANY4X.js → chunk-OWVHNTY6.js} +6 -6
- package/dist/bundle/{chunk-PMGGNQHL.js → chunk-PSYZ33UQ.js} +1 -1
- package/dist/bundle/{chunk-Z3SASH3J.js → chunk-R7ZD7TNI.js} +1 -1
- package/dist/bundle/{chunk-LZQ7QENQ.js → chunk-RRHSJ7CR.js} +62 -62
- package/dist/bundle/{chunk-S2VXXF4H.js → chunk-RRPUM4RS.js} +2 -2
- package/dist/bundle/{chunk-S56CC44R.js → chunk-RT476OFI.js} +7 -7
- package/dist/bundle/{chunk-G6P5NWIZ.js → chunk-SSX6S3EG.js} +1 -1
- package/dist/bundle/{chunk-NMWIWQ7J.js → chunk-STXMSLU6.js} +1 -1
- package/dist/bundle/{chunk-CZPAYIQR.js → chunk-UTSMQ7KI.js} +1 -1
- package/dist/bundle/{chunk-BZZRBJ2C.js → chunk-UTUUXAPS.js} +28 -28
- package/dist/bundle/{chunk-ND2PQA4X.js → chunk-WFDGEREJ.js} +2 -2
- package/dist/bundle/{chunk-XW4NE2NW.js → chunk-WMRR2SNG.js} +1 -1
- package/dist/bundle/{chunk-GLPSPFTP.js → chunk-XT7EJLA4.js} +4 -4
- package/dist/bundle/{chunk-4II6DM7L.js → chunk-XU7UER3B.js} +10 -10
- package/dist/bundle/{chunk-636FK3A6.js → chunk-XYFYZP2N.js} +1 -1
- package/dist/bundle/{chunk-IJKXX7LB.js → chunk-Y264FW55.js} +1 -1
- package/dist/bundle/{chunk-4VAKZH56.js → chunk-YRHLPKTG.js} +2 -2
- package/dist/bundle/{chunk-KOBVPWMU.js → chunk-YVCNJKDA.js} +210 -364
- package/dist/bundle/{command-contract-KE77NBYG.js → command-contract-4TGN6GSP.js} +11 -11
- package/dist/bundle/{decode-AD352TI2.js → decode-S3PPQHID.js} +2 -2
- package/dist/bundle/{echarts-VCQEG6RB.js → echarts-AH6U7X2S.js} +2 -2
- package/dist/bundle/{embed-A2YCI5TM.js → embed-4NSZECMB.js} +3 -3
- package/dist/bundle/{embedder-G35OKUR5.js → embedder-EGRA7YEY.js} +6 -6
- package/dist/bundle/{entry-3Y2C4AAL.js → entry-O3V72WZP.js} +4 -4
- package/dist/bundle/failure-CFGWWTV5.js +65 -0
- package/dist/bundle/{first-run-RDQFQ5MD.js → first-run-S7RRDIGX.js} +5 -5
- package/dist/bundle/{first-screen-XWHL4AEK.js → first-screen-YKJAQUVE.js} +12 -12
- package/dist/bundle/{instructions-VWX5TPRM.js → instructions-ETUUZKBM.js} +1 -1
- package/dist/bundle/{mcp-JHDRZPSO.js → mcp-J3K7RC5W.js} +35 -35
- package/dist/bundle/memo.js +6 -6
- package/dist/bundle/{node-OCRAUHTJ.js → node-O4XVOEGO.js} +2 -2
- package/dist/bundle/{node-sqlite-UIZIEENG.js → node-sqlite-PC3K43U7.js} +3 -3
- package/dist/bundle/{oauth-WZOYRQA4.js → oauth-MBJUEG2Z.js} +4 -4
- package/dist/bundle/{open-ITE5EG22.js → open-5FAYV6JM.js} +2 -2
- package/dist/bundle/{openai-S4TD7H5G.js → openai-57CRSGLH.js} +7 -7
- package/dist/bundle/{process-Z7OS65OQ.js → process-NAW4COYH.js} +1 -1
- package/dist/bundle/{program-PYCRRMXK.js → program-CFJAGFYD.js} +158 -71
- package/dist/bundle/{prompt-NW2KOEQS.js → prompt-FT2MMVS7.js} +2 -2
- package/dist/bundle/{recognize-65IM7MS4.js → recognize-PEYPOI3Q.js} +1 -1
- package/dist/bundle/{remote-4EOO533Z.js → remote-FQAXACFW.js} +4 -4
- package/dist/bundle/{rerank-LKRFHRN6.js → rerank-4KEB4X6T.js} +4 -4
- package/dist/bundle/{serve-SIB2TBOF.js → serve-LCTIHO37.js} +6 -6
- package/dist/bundle/server-AQTWRRAJ.js +61 -0
- package/dist/bundle/server-JIFODLCU.js +48 -0
- package/dist/bundle/{server-JZAL3SRH.js → server-XQLRMM73.js} +49 -50
- package/dist/bundle/{state-245GTWCO.js → state-YF4M4RHC.js} +3 -3
- package/dist/bundle/{store-2QSJI77T.js → store-EQEMYMCC.js} +11 -9
- package/dist/bundle/store-maintenance-command-7IC3LTYY.js +47 -0
- package/dist/bundle/update-T237KLFA.js +68 -0
- package/dist/examples.d.ts.map +1 -1
- package/dist/examples.js +6 -0
- package/dist/examples.js.map +1 -1
- package/dist/models/command.d.ts +2 -2
- package/dist/models/command.d.ts.map +1 -1
- package/dist/models/command.js +4 -1
- package/dist/models/command.js.map +1 -1
- package/dist/notes/embed.d.ts +25 -2
- package/dist/notes/embed.d.ts.map +1 -1
- package/dist/notes/embed.js +80 -6
- package/dist/notes/embed.js.map +1 -1
- package/dist/program.d.ts +4 -2
- package/dist/program.d.ts.map +1 -1
- package/dist/program.js +3 -3
- package/dist/program.js.map +1 -1
- package/dist/run/import.d.ts +5 -3
- package/dist/run/import.d.ts.map +1 -1
- package/dist/run/import.js +17 -4
- package/dist/run/import.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +2 -2
- package/dist/bundle/auto-4VLWHDG7.js +0 -86
- package/dist/bundle/chunk-YXBMP74S.js +0 -33
- package/dist/bundle/failure-GHNN2IIX.js +0 -66
- package/dist/bundle/server-DO3J7CR5.js +0 -48
- package/dist/bundle/server-NQLMHLMU.js +0 -61
- package/dist/bundle/store-maintenance-command-F7FSHWHW.js +0 -48
- package/dist/bundle/update-NENHRNFS.js +0 -69
- /package/dist/bundle/{chunk-GK2FRFM6.js → chunk-GFNWVGLD.js} +0 -0
|
@@ -6,17 +6,17 @@ import {
|
|
|
6
6
|
autoState,
|
|
7
7
|
lastAutoRun,
|
|
8
8
|
recordAutoRun
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-6YK3RZZJ.js";
|
|
10
10
|
import {
|
|
11
11
|
installer,
|
|
12
12
|
latest,
|
|
13
13
|
upgradeCommand
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-KZRBIHQL.js";
|
|
15
15
|
import {
|
|
16
16
|
mcpOwnerAllowed,
|
|
17
17
|
readOnlyAvailability,
|
|
18
18
|
refuseWritesUnderLock
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-CTRVHHBK.js";
|
|
20
20
|
import {
|
|
21
21
|
answers,
|
|
22
22
|
atDetail,
|
|
@@ -26,7 +26,7 @@ import {
|
|
|
26
26
|
trackAnswers,
|
|
27
27
|
wholeList,
|
|
28
28
|
withStore
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-3FDJSMLJ.js";
|
|
30
30
|
import {
|
|
31
31
|
ATTACHMENT_CHARS,
|
|
32
32
|
DIALECTS,
|
|
@@ -56,15 +56,15 @@ import {
|
|
|
56
56
|
showMail,
|
|
57
57
|
unsetConfigKey,
|
|
58
58
|
updateConfig
|
|
59
|
-
} from "./chunk-
|
|
59
|
+
} from "./chunk-F6E7DSJO.js";
|
|
60
60
|
import "./chunk-QP3KNC5D.js";
|
|
61
|
-
import "./chunk-
|
|
62
|
-
import "./chunk-
|
|
63
|
-
import "./chunk-
|
|
61
|
+
import "./chunk-7CKXTTZG.js";
|
|
62
|
+
import "./chunk-6AEQACVV.js";
|
|
63
|
+
import "./chunk-OIHKFGHK.js";
|
|
64
64
|
import {
|
|
65
65
|
errorObject,
|
|
66
66
|
recognisable
|
|
67
|
-
} from "./chunk-
|
|
67
|
+
} from "./chunk-XT7EJLA4.js";
|
|
68
68
|
import {
|
|
69
69
|
AGENT_INPUT_MAX_CHARS,
|
|
70
70
|
DISCOVERY_DESCRIPTIONS,
|
|
@@ -102,32 +102,31 @@ import {
|
|
|
102
102
|
tasksCommand,
|
|
103
103
|
tasksStatsCommand,
|
|
104
104
|
withSqliteSidecars
|
|
105
|
-
} from "./chunk-
|
|
106
|
-
import "./chunk-
|
|
107
|
-
import "./chunk-
|
|
105
|
+
} from "./chunk-5SD4CV2D.js";
|
|
106
|
+
import "./chunk-UTSMQ7KI.js";
|
|
107
|
+
import "./chunk-4HLYKLGJ.js";
|
|
108
108
|
import {
|
|
109
109
|
allHitItem,
|
|
110
110
|
coverageGaps,
|
|
111
111
|
messageHitItem,
|
|
112
112
|
noteHitItem,
|
|
113
113
|
shownOf
|
|
114
|
-
} from "./chunk-
|
|
115
|
-
import "./chunk-
|
|
114
|
+
} from "./chunk-K6FQVROA.js";
|
|
115
|
+
import "./chunk-SSX6S3EG.js";
|
|
116
116
|
import {
|
|
117
117
|
SKILL_TARGETS,
|
|
118
118
|
skillCommand,
|
|
119
119
|
skillPath,
|
|
120
120
|
skillVersion
|
|
121
|
-
} from "./chunk-
|
|
121
|
+
} from "./chunk-MQCBJGXA.js";
|
|
122
122
|
import {
|
|
123
|
-
modelGateway,
|
|
124
123
|
recoveryNotes,
|
|
125
124
|
storeInfo,
|
|
126
125
|
storeRecoveryCheck,
|
|
127
126
|
storeRecoveryRun,
|
|
128
127
|
storeSummary
|
|
129
|
-
} from "./chunk-
|
|
130
|
-
import "./chunk-
|
|
128
|
+
} from "./chunk-YVCNJKDA.js";
|
|
129
|
+
import "./chunk-7DPHHUSZ.js";
|
|
131
130
|
import {
|
|
132
131
|
LIST_QUERY_GUIDE,
|
|
133
132
|
STATUS_SIGNALS,
|
|
@@ -152,6 +151,7 @@ import {
|
|
|
152
151
|
meetingPassageRequest,
|
|
153
152
|
meetingSearchArguments,
|
|
154
153
|
meetingSearchMeta,
|
|
154
|
+
modelGateway,
|
|
155
155
|
parseProposalIds,
|
|
156
156
|
personContext,
|
|
157
157
|
pickPerson,
|
|
@@ -179,18 +179,18 @@ import {
|
|
|
179
179
|
termField,
|
|
180
180
|
typedQuery,
|
|
181
181
|
withQuery
|
|
182
|
-
} from "./chunk-
|
|
182
|
+
} from "./chunk-233N77WN.js";
|
|
183
183
|
import {
|
|
184
184
|
readBoundedUtf8File,
|
|
185
185
|
writeFileAtomic
|
|
186
|
-
} from "./chunk-
|
|
186
|
+
} from "./chunk-2UXFM5GE.js";
|
|
187
187
|
import {
|
|
188
188
|
commandsText,
|
|
189
189
|
inSection,
|
|
190
190
|
installHelp
|
|
191
|
-
} from "./chunk-
|
|
191
|
+
} from "./chunk-OWVHNTY6.js";
|
|
192
192
|
import "./chunk-HTQTIKWP.js";
|
|
193
|
-
import "./chunk-
|
|
193
|
+
import "./chunk-RRPUM4RS.js";
|
|
194
194
|
import {
|
|
195
195
|
Command,
|
|
196
196
|
DEFAULT_TEXT_MODEL,
|
|
@@ -225,22 +225,22 @@ import {
|
|
|
225
225
|
snakeKeys,
|
|
226
226
|
textModels,
|
|
227
227
|
textModelsFile
|
|
228
|
-
} from "./chunk-
|
|
229
|
-
import "./chunk-
|
|
230
|
-
import "./chunk-
|
|
228
|
+
} from "./chunk-OEPBIWHI.js";
|
|
229
|
+
import "./chunk-JAJSTFBB.js";
|
|
230
|
+
import "./chunk-XU7UER3B.js";
|
|
231
231
|
import {
|
|
232
232
|
isNewer
|
|
233
233
|
} from "./chunk-ASWLM74P.js";
|
|
234
234
|
import "./chunk-6G53ZFUT.js";
|
|
235
|
-
import "./chunk-
|
|
236
|
-
import "./chunk-
|
|
237
|
-
import "./chunk-
|
|
238
|
-
import "./chunk-
|
|
235
|
+
import "./chunk-ETYD55QD.js";
|
|
236
|
+
import "./chunk-LIW42UCX.js";
|
|
237
|
+
import "./chunk-PSYZ33UQ.js";
|
|
238
|
+
import "./chunk-37ILRM2G.js";
|
|
239
239
|
import {
|
|
240
240
|
releaseLock,
|
|
241
241
|
takeLock
|
|
242
|
-
} from "./chunk-
|
|
243
|
-
import "./chunk-
|
|
242
|
+
} from "./chunk-2Q55K5HY.js";
|
|
243
|
+
import "./chunk-Y264FW55.js";
|
|
244
244
|
import {
|
|
245
245
|
EVIDENCE_FINDINGS_KIND,
|
|
246
246
|
MAIL_FINDINGS_KIND,
|
|
@@ -276,7 +276,7 @@ import {
|
|
|
276
276
|
plainQuery,
|
|
277
277
|
providerNamed,
|
|
278
278
|
refLabel
|
|
279
|
-
} from "./chunk-
|
|
279
|
+
} from "./chunk-6NHJ4TTJ.js";
|
|
280
280
|
import {
|
|
281
281
|
DEAL_KINDS,
|
|
282
282
|
DEAL_ROLES,
|
|
@@ -314,22 +314,21 @@ import {
|
|
|
314
314
|
timezoneOf,
|
|
315
315
|
validateQuery,
|
|
316
316
|
walkQuery
|
|
317
|
-
} from "./chunk-
|
|
318
|
-
import "./chunk-
|
|
319
|
-
import "./chunk-
|
|
320
|
-
import "./chunk-
|
|
321
|
-
import "./chunk-
|
|
322
|
-
import "./chunk-
|
|
323
|
-
import "./chunk-
|
|
324
|
-
import "./chunk-
|
|
325
|
-
import "./chunk-
|
|
326
|
-
import "./chunk-TLZEAHCB.js";
|
|
317
|
+
} from "./chunk-RRHSJ7CR.js";
|
|
318
|
+
import "./chunk-YRHLPKTG.js";
|
|
319
|
+
import "./chunk-RT476OFI.js";
|
|
320
|
+
import "./chunk-OQSOQYSQ.js";
|
|
321
|
+
import "./chunk-WFDGEREJ.js";
|
|
322
|
+
import "./chunk-B4VCZOLF.js";
|
|
323
|
+
import "./chunk-OFERGS4J.js";
|
|
324
|
+
import "./chunk-7E46JN6V.js";
|
|
325
|
+
import "./chunk-3FPF5DBU.js";
|
|
327
326
|
import {
|
|
328
327
|
sharedModelsDirectory
|
|
329
|
-
} from "./chunk-
|
|
328
|
+
} from "./chunk-IZZU4NS6.js";
|
|
330
329
|
import {
|
|
331
330
|
storePath
|
|
332
|
-
} from "./chunk-
|
|
331
|
+
} from "./chunk-D4PK5OXW.js";
|
|
333
332
|
import {
|
|
334
333
|
provideTerminal,
|
|
335
334
|
terminalOf
|
|
@@ -339,12 +338,12 @@ import {
|
|
|
339
338
|
REASONS,
|
|
340
339
|
STORE_CLIENT,
|
|
341
340
|
VERSION
|
|
342
|
-
} from "./chunk-
|
|
341
|
+
} from "./chunk-R7ZD7TNI.js";
|
|
343
342
|
import "./chunk-IK6KH3RE.js";
|
|
344
343
|
import "./chunk-SW6C6WH5.js";
|
|
345
344
|
import "./chunk-D72URWJE.js";
|
|
346
|
-
import "./chunk-
|
|
347
|
-
import "./chunk-
|
|
345
|
+
import "./chunk-I6LNI45S.js";
|
|
346
|
+
import "./chunk-STXMSLU6.js";
|
|
348
347
|
import {
|
|
349
348
|
createDeadline,
|
|
350
349
|
createRenderer,
|
|
@@ -383,7 +382,7 @@ import {
|
|
|
383
382
|
errorCodes,
|
|
384
383
|
isCliError
|
|
385
384
|
} from "./chunk-4ZW6ZJ2V.js";
|
|
386
|
-
import "./chunk-
|
|
385
|
+
import "./chunk-5ZVWDMDT.js";
|
|
387
386
|
import {
|
|
388
387
|
__name
|
|
389
388
|
} from "./chunk-ZVVMGPBJ.js";
|
|
@@ -669,7 +668,7 @@ var collect = /* @__PURE__ */ __name((value, previous = []) => [...previous, val
|
|
|
669
668
|
var readScope = /* @__PURE__ */ __name((command, help = ONE_ACCOUNT_HELP) => sourceOptions(command, help).option("--json", "print JSON; --json=id,title keeps only those fields"), "readScope");
|
|
670
669
|
var writeScope = /* @__PURE__ */ __name((command, help) => writeOptions(command, help).option("--json", "print JSON; --json=id,title keeps only those fields"), "writeScope");
|
|
671
670
|
|
|
672
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
671
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.612.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_2b92b8a5a9536cd50d24d35c3ce22b6a/node_modules/@wirecat/cli-core/dist/mail/sender-scores.js
|
|
673
672
|
var SCORED = "mail_sender_scores";
|
|
674
673
|
var DAY = 864e5;
|
|
675
674
|
var RECENT = 2 * 365 * DAY;
|
|
@@ -685,7 +684,7 @@ var demotedSenders = /* @__PURE__ */ __name(async (store) => {
|
|
|
685
684
|
return senders;
|
|
686
685
|
}, "demotedSenders");
|
|
687
686
|
|
|
688
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
687
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.612.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_2b92b8a5a9536cd50d24d35c3ce22b6a/node_modules/@wirecat/cli-core/dist/mail/sync.js
|
|
689
688
|
var DAY2 = 864e5;
|
|
690
689
|
var EDGE = 2 * DAY2;
|
|
691
690
|
|
|
@@ -1929,7 +1928,7 @@ import { createHash } from "node:crypto";
|
|
|
1929
1928
|
import { existsSync, readFileSync as readFileSync2, statSync } from "node:fs";
|
|
1930
1929
|
import { basename, extname, relative, sep } from "node:path";
|
|
1931
1930
|
|
|
1932
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1931
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.612.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_2b92b8a5a9536cd50d24d35c3ce22b6a/node_modules/@wirecat/cli-core/dist/services/documents/extraction.js
|
|
1933
1932
|
var Proposal = object({
|
|
1934
1933
|
kind: picklist(["summary", "digest", "fact", "preference"]),
|
|
1935
1934
|
body: pipe(string(), trim(), minLength(1), maxLength(15e3)),
|
|
@@ -1937,10 +1936,10 @@ var Proposal = object({
|
|
|
1937
1936
|
});
|
|
1938
1937
|
var Proposals = object({ items: pipe(array(Proposal), maxLength(20)) });
|
|
1939
1938
|
|
|
1940
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1939
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.612.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_2b92b8a5a9536cd50d24d35c3ce22b6a/node_modules/@wirecat/cli-core/dist/services/documents/mirrors.js
|
|
1941
1940
|
var ID = pipe(string(), regex(/^[A-Za-z0-9_-]{1,200}$/));
|
|
1942
1941
|
|
|
1943
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1942
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.612.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_2b92b8a5a9536cd50d24d35c3ce22b6a/node_modules/@wirecat/cli-core/dist/services/documents/sync.js
|
|
1944
1943
|
var MAX_PICTURE_BYTES = 25 * 1024 * 1024;
|
|
1945
1944
|
|
|
1946
1945
|
// dist/notes/dates.js
|
|
@@ -4345,6 +4344,12 @@ var EXAMPLES = {
|
|
|
4345
4344
|
"commands info": ["memo commands info --json"],
|
|
4346
4345
|
"models download": ["memo models download e5-small", "memo models download e5-large"],
|
|
4347
4346
|
"models set": ["memo models set e5-large"],
|
|
4347
|
+
"models consents show": ["memo models consents show --json"],
|
|
4348
|
+
"models consents set": [
|
|
4349
|
+
"memo models consents set openai --model gpt-4o-mini",
|
|
4350
|
+
"memo models consents set openai --model gpt-4o-mini --yes"
|
|
4351
|
+
],
|
|
4352
|
+
"models consents revoke": ["memo models consents revoke"],
|
|
4348
4353
|
"models add": [
|
|
4349
4354
|
`memo models add e5-base --payload '{"repository":"Xenova/multilingual-e5-base","onnx":"onnx/model_quantized.onnx","dims":768,"pooling":"mean","prefix":{"query":"query: ","passage":"passage: "}}'`
|
|
4350
4355
|
],
|
|
@@ -6946,10 +6951,10 @@ var mcpCommandDefinition = /* @__PURE__ */ __name((program, streams, env, create
|
|
|
6946
6951
|
}).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) => {
|
|
6947
6952
|
if (!options.http && (options.port !== void 0 || options.publicUrl !== void 0))
|
|
6948
6953
|
throw new CliError("validation_error", "--port and --public-url require --http");
|
|
6949
|
-
const { createMemoServer } = await import("./server-
|
|
6954
|
+
const { createMemoServer } = await import("./server-XQLRMM73.js");
|
|
6950
6955
|
const build = /* @__PURE__ */ __name(() => createMemoServer(env, createProgram2, options.permission), "build");
|
|
6951
6956
|
if (options.http) {
|
|
6952
|
-
const { httpLockFile, mcpUrlOf, portOf, publicUrlOf, serveOverHttp } = await import("./mcp-
|
|
6957
|
+
const { httpLockFile, mcpUrlOf, portOf, publicUrlOf, serveOverHttp } = await import("./mcp-J3K7RC5W.js");
|
|
6953
6958
|
const publicUrl = publicUrlOf(options.publicUrl, {
|
|
6954
6959
|
missing: "--http",
|
|
6955
6960
|
reaches: "the browser apps reach memo",
|
|
@@ -7001,7 +7006,7 @@ var mcpCommandDefinition = /* @__PURE__ */ __name((program, streams, env, create
|
|
|
7001
7006
|
});
|
|
7002
7007
|
});
|
|
7003
7008
|
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() {
|
|
7004
|
-
const { revokeAll } = await import("./mcp-
|
|
7009
|
+
const { revokeAll } = await import("./mcp-J3K7RC5W.js");
|
|
7005
7010
|
revokeAll(httpTokenFile(env));
|
|
7006
7011
|
out.print(this.opts().json, itemAnswer({ revoked: true }));
|
|
7007
7012
|
});
|
|
@@ -7276,12 +7281,15 @@ may be ${found.candidates.join(", ")}` : ""));
|
|
|
7276
7281
|
}, "mentionsCommand");
|
|
7277
7282
|
|
|
7278
7283
|
// dist/models/command.js
|
|
7279
|
-
var modelsCommand = /* @__PURE__ */ __name((program, streams, env) => {
|
|
7284
|
+
var modelsCommand = /* @__PURE__ */ __name((program, streams, env, keyring) => {
|
|
7280
7285
|
const { print } = answers(program, streams, env);
|
|
7281
7286
|
program.addCommand(modelCatalogueCommand(APP, {
|
|
7282
7287
|
kinds: ["text"],
|
|
7288
|
+
// memo's sync is the one that enriches, so memo offers the switch.
|
|
7289
|
+
enrichment: true,
|
|
7283
7290
|
jsonOption: true,
|
|
7284
7291
|
env: /* @__PURE__ */ __name(() => env, "env"),
|
|
7292
|
+
...keyring ? { keyring } : {},
|
|
7285
7293
|
output: /* @__PURE__ */ __name((body, command) => print(command.optsWithGlobals().json, body), "output"),
|
|
7286
7294
|
diagnostic: /* @__PURE__ */ __name((line3) => streams.diagnostic(line3), "diagnostic"),
|
|
7287
7295
|
offline: /* @__PURE__ */ __name(() => program.opts().offline === true, "offline")
|
|
@@ -8522,35 +8530,104 @@ var missingModel = /* @__PURE__ */ __name((error, env) => {
|
|
|
8522
8530
|
return `the ${id} model is not downloaded \u2014 memo models download ${id}${terms ? " --accept-terms" : ""}`;
|
|
8523
8531
|
}, "missingModel");
|
|
8524
8532
|
var isMissingModel = /* @__PURE__ */ __name((error) => isCliError(error) && error.details.reason === "model.not-downloaded", "isMissingModel");
|
|
8525
|
-
var
|
|
8533
|
+
var reportOf = /* @__PURE__ */ __name((run) => {
|
|
8534
|
+
if (run === void 0)
|
|
8535
|
+
return void 0;
|
|
8536
|
+
if (run.status === "failed")
|
|
8537
|
+
return {
|
|
8538
|
+
status: "failed",
|
|
8539
|
+
sent: 0,
|
|
8540
|
+
enriched: 0,
|
|
8541
|
+
failed: 0,
|
|
8542
|
+
left: 0,
|
|
8543
|
+
inputTokens: 0,
|
|
8544
|
+
outputTokens: 0,
|
|
8545
|
+
costUsd: 0,
|
|
8546
|
+
reason: run.reason
|
|
8547
|
+
};
|
|
8548
|
+
return {
|
|
8549
|
+
status: run.status,
|
|
8550
|
+
provider: run.provider,
|
|
8551
|
+
model: run.model,
|
|
8552
|
+
sent: run.enriched + run.failed,
|
|
8553
|
+
enriched: run.enriched,
|
|
8554
|
+
failed: run.failed,
|
|
8555
|
+
left: run.left,
|
|
8556
|
+
inputTokens: run.usage.input,
|
|
8557
|
+
outputTokens: run.usage.output,
|
|
8558
|
+
costUsd: run.cost_usd,
|
|
8559
|
+
...run.reason === void 0 ? {} : { reason: run.reason }
|
|
8560
|
+
};
|
|
8561
|
+
}, "reportOf");
|
|
8562
|
+
var combinedEnrichment = /* @__PURE__ */ __name((...parts) => {
|
|
8563
|
+
const present2 = parts.filter((part) => part !== void 0);
|
|
8564
|
+
if (present2.length === 0)
|
|
8565
|
+
return void 0;
|
|
8566
|
+
const rank = { done: 0, stopped: 1, failed: 2 };
|
|
8567
|
+
const worst = present2.reduce((a, b) => rank[b.status] > rank[a.status] ? b : a);
|
|
8568
|
+
const named4 = present2.find((part) => part.provider !== void 0);
|
|
8569
|
+
const costs = present2.map((part) => part.costUsd);
|
|
8570
|
+
return {
|
|
8571
|
+
status: worst.status,
|
|
8572
|
+
...named4?.provider === void 0 ? {} : { provider: named4.provider },
|
|
8573
|
+
...named4?.model === void 0 ? {} : { model: named4.model },
|
|
8574
|
+
sent: present2.reduce((sum, part) => sum + part.sent, 0),
|
|
8575
|
+
enriched: present2.reduce((sum, part) => sum + part.enriched, 0),
|
|
8576
|
+
failed: present2.reduce((sum, part) => sum + part.failed, 0),
|
|
8577
|
+
left: present2.reduce((sum, part) => sum + part.left, 0),
|
|
8578
|
+
inputTokens: present2.reduce((sum, part) => sum + part.inputTokens, 0),
|
|
8579
|
+
outputTokens: present2.reduce((sum, part) => sum + part.outputTokens, 0),
|
|
8580
|
+
costUsd: costs.includes(null) ? null : Math.round(costs.reduce((sum, cost) => sum + (cost ?? 0), 0) * 1e6) / 1e6,
|
|
8581
|
+
...worst.reason === void 0 ? {} : { reason: worst.reason }
|
|
8582
|
+
};
|
|
8583
|
+
}, "combinedEnrichment");
|
|
8584
|
+
var embedNoteChunks = /* @__PURE__ */ __name(async (store, { embed = true, env, maxChunks = embedPerRun(env), keyring } = {}) => {
|
|
8526
8585
|
if (!embed)
|
|
8527
8586
|
return { chunks: 0, left: true, notEmbedded: "embedding is off" };
|
|
8528
8587
|
try {
|
|
8529
|
-
const done = await embedNotes(store, {
|
|
8530
|
-
|
|
8588
|
+
const done = await embedNotes(store, {
|
|
8589
|
+
maxChunks,
|
|
8590
|
+
command: "memo",
|
|
8591
|
+
app: APP,
|
|
8592
|
+
...env === void 0 ? {} : { env },
|
|
8593
|
+
...keyring ? { keyring } : {}
|
|
8594
|
+
});
|
|
8595
|
+
const enrichment = reportOf(done.enrichment);
|
|
8596
|
+
return { chunks: done.embedded, left: done.left, ...enrichment ? { enrichment } : {} };
|
|
8531
8597
|
} catch (error) {
|
|
8532
8598
|
if (!isMissingModel(error))
|
|
8533
8599
|
throw error;
|
|
8600
|
+
const enrichment = isCliError(error) ? reportOf(error.details.enrichment) : void 0;
|
|
8534
8601
|
return {
|
|
8535
8602
|
chunks: 0,
|
|
8536
8603
|
left: true,
|
|
8537
|
-
notEmbedded: missingModel(error, env)
|
|
8604
|
+
notEmbedded: missingModel(error, env),
|
|
8605
|
+
...enrichment ? { enrichment } : {}
|
|
8538
8606
|
};
|
|
8539
8607
|
}
|
|
8540
8608
|
}, "embedNoteChunks");
|
|
8541
|
-
var embedMailChunks = /* @__PURE__ */ __name(async (store, { embed = true, env, maxChunks = embedPerRun(env) } = {}) => {
|
|
8609
|
+
var embedMailChunks = /* @__PURE__ */ __name(async (store, { embed = true, env, maxChunks = embedPerRun(env), keyring } = {}) => {
|
|
8542
8610
|
if (!embed)
|
|
8543
8611
|
return { chunks: 0, left: true, notEmbedded: "embedding is off" };
|
|
8544
8612
|
try {
|
|
8545
|
-
const done = await embedMail(store, {
|
|
8546
|
-
|
|
8613
|
+
const done = await embedMail(store, {
|
|
8614
|
+
maxChunks,
|
|
8615
|
+
command: "memo",
|
|
8616
|
+
app: APP,
|
|
8617
|
+
...env === void 0 ? {} : { env },
|
|
8618
|
+
...keyring ? { keyring } : {}
|
|
8619
|
+
});
|
|
8620
|
+
const enrichment = reportOf(done.enrichment);
|
|
8621
|
+
return { chunks: done.embedded, left: done.left, ...enrichment ? { enrichment } : {} };
|
|
8547
8622
|
} catch (error) {
|
|
8548
8623
|
if (!isMissingModel(error))
|
|
8549
8624
|
throw error;
|
|
8625
|
+
const enrichment = isCliError(error) ? reportOf(error.details.enrichment) : void 0;
|
|
8550
8626
|
return {
|
|
8551
8627
|
chunks: 0,
|
|
8552
8628
|
left: true,
|
|
8553
|
-
notEmbedded: missingModel(error, env)
|
|
8629
|
+
notEmbedded: missingModel(error, env),
|
|
8630
|
+
...enrichment ? { enrichment } : {}
|
|
8554
8631
|
};
|
|
8555
8632
|
}
|
|
8556
8633
|
}, "embedMailChunks");
|
|
@@ -8584,8 +8661,10 @@ var text2 = /* @__PURE__ */ __name((run) => [
|
|
|
8584
8661
|
...run.mailEmbedded === void 0 ? [] : [
|
|
8585
8662
|
`mail by meaning: ${run.mailEmbedded.chunks} chunks embedded` + (run.mailEmbedded.notEmbedded !== void 0 ? ` \u2014 ${run.mailEmbedded.notEmbedded}` : run.mailEmbedded.left ? " \u2014 more next run" : "")
|
|
8586
8663
|
],
|
|
8664
|
+
...run.enrichment === void 0 ? [] : [enrichmentLine(run.enrichment)],
|
|
8587
8665
|
...run.failed.map(({ source, reason }) => `failed ${source}: ${reason}`)
|
|
8588
8666
|
].join("\n") || "Nothing to sync: add a notes folder with memo folders add.", "text");
|
|
8667
|
+
var enrichmentLine = /* @__PURE__ */ __name((run) => `enrichment: ${run.enriched} of ${run.sent} records sent${run.provider ? ` to ${run.provider} ${run.model}` : ""}` + (run.costUsd === null ? "" : `, $${run.costUsd}`) + (run.left > 0 ? `, ${run.left} left` : "") + (run.status === "done" ? "" : ` \u2014 ${run.status}: ${run.reason ?? "no reason given"}`), "enrichmentLine");
|
|
8589
8668
|
var NOT_READ_SHOWN = 10;
|
|
8590
8669
|
var NOT_READ = {
|
|
8591
8670
|
"too-large": "larger than 50 MiB",
|
|
@@ -8618,7 +8697,7 @@ var failureReason = /* @__PURE__ */ __name((error, failure, debug) => {
|
|
|
8618
8697
|
return failure.message;
|
|
8619
8698
|
return `${failure.message} (${error.name}: ${error.message.split("\n")[0]?.slice(0, 160)})`;
|
|
8620
8699
|
}, "failureReason");
|
|
8621
|
-
var syncCommand = /* @__PURE__ */ __name((program, streams, env, signal) => {
|
|
8700
|
+
var syncCommand = /* @__PURE__ */ __name((program, streams, env, signal, keyring) => {
|
|
8622
8701
|
const { print } = answers(program, streams, env);
|
|
8623
8702
|
annotate(program.command("sync"), { effects: FETCH }).summary("bring notes up to date in the store, and make stored mail searchable by meaning").description("bring notes up to date in the store, only what changed, and embed the mail already stored for search by meaning; the mail CLI syncs the mail itself (mail <profile> sync). Every configured folder unless narrowed").option("--only <resources>", "notes,mail, separated by commas; mail embeds stored mail only", onlyOf).addOption(new Option("--folder <folder>", "notes: only this configured folder, by its id or path; repeat for more").argParser(collect)).addOption(new Option("--ignore <path>", "notes: leave this file or folder alone this run, a path or a glob; repeat for more").argParser(collect)).option("--no-embed", "skip embedding notes and mail for search by meaning this run").option("--timeout <duration>", "stop after this long, e.g. 10m; progress so far is kept (default: no limit)", (raw) => parseDuration(raw, "--timeout")).option("--json", "print JSON; --json=id,title keeps only those fields").action(async (options, command) => {
|
|
8624
8703
|
const deadline = createDeadline({
|
|
@@ -8696,7 +8775,8 @@ var syncCommand = /* @__PURE__ */ __name((program, streams, env, signal) => {
|
|
|
8696
8775
|
await attempt("notes by meaning", async () => {
|
|
8697
8776
|
run.notesEmbedded = await embedNoteChunks(store, {
|
|
8698
8777
|
embed: options.embed && config.notes?.embed !== false,
|
|
8699
|
-
env
|
|
8778
|
+
env,
|
|
8779
|
+
...keyring ? { keyring } : {}
|
|
8700
8780
|
});
|
|
8701
8781
|
});
|
|
8702
8782
|
await attempt("people-notes.json", async () => {
|
|
@@ -8705,8 +8785,15 @@ var syncCommand = /* @__PURE__ */ __name((program, streams, env, signal) => {
|
|
|
8705
8785
|
}
|
|
8706
8786
|
if (synced.has("mail"))
|
|
8707
8787
|
await attempt("mail by meaning", async () => {
|
|
8708
|
-
run.mailEmbedded = await embedMailChunks(store, {
|
|
8788
|
+
run.mailEmbedded = await embedMailChunks(store, {
|
|
8789
|
+
embed: options.embed,
|
|
8790
|
+
env,
|
|
8791
|
+
...keyring ? { keyring } : {}
|
|
8792
|
+
});
|
|
8709
8793
|
});
|
|
8794
|
+
const enrichment = combinedEnrichment(run.notesEmbedded?.enrichment, run.mailEmbedded?.enrichment);
|
|
8795
|
+
if (enrichment)
|
|
8796
|
+
run.enrichment = enrichment;
|
|
8710
8797
|
} finally {
|
|
8711
8798
|
await store.close();
|
|
8712
8799
|
}
|
|
@@ -10253,7 +10340,7 @@ var FIRST_SCREEN = {
|
|
|
10253
10340
|
profile: false,
|
|
10254
10341
|
start: "memo folders add <path>"
|
|
10255
10342
|
};
|
|
10256
|
-
var createProgram = /* @__PURE__ */ __name(({ streams: raw = processStreams, env = process.env, signal, terminal } = {}) => {
|
|
10343
|
+
var createProgram = /* @__PURE__ */ __name(({ streams: raw = processStreams, env = process.env, signal, terminal, keyring } = {}) => {
|
|
10257
10344
|
const fields = jsonFields(raw, OWN_ENTITIES);
|
|
10258
10345
|
const { streams } = fields;
|
|
10259
10346
|
const program = new Command("memo").description("context about people across messengers, notes and mail").version(VERSION).option("--debug", "on failure, show the full error record: cause and stack");
|
|
@@ -10283,12 +10370,12 @@ var createProgram = /* @__PURE__ */ __name(({ streams: raw = processStreams, env
|
|
|
10283
10370
|
reviewCommand(program, streams, env);
|
|
10284
10371
|
agentsCommand(program, streams, env);
|
|
10285
10372
|
mcpCommand(program, streams, env, createProgram);
|
|
10286
|
-
modelsCommand(program, streams, env);
|
|
10373
|
+
modelsCommand(program, streams, env, keyring);
|
|
10287
10374
|
searchCommand(program, streams, env);
|
|
10288
10375
|
meetingReadCommands(program, streams, env);
|
|
10289
10376
|
meetingPreparationCommand(program, streams, env);
|
|
10290
10377
|
askCommand(program, streams, env);
|
|
10291
|
-
syncCommand(program, streams, env, signal);
|
|
10378
|
+
syncCommand(program, streams, env, signal, keyring);
|
|
10292
10379
|
storeCommand(program, streams, env);
|
|
10293
10380
|
autoCommand(program, streams, env);
|
|
10294
10381
|
configCommand(program, streams, env);
|
|
@@ -3,8 +3,8 @@ const require = __bundleRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
pasteHint,
|
|
5
5
|
readSecret
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import "./chunk-
|
|
6
|
+
} from "./chunk-WFDGEREJ.js";
|
|
7
|
+
import "./chunk-B4VCZOLF.js";
|
|
8
8
|
import "./chunk-EMNQPMZO.js";
|
|
9
9
|
import "./chunk-RCGFSWZE.js";
|
|
10
10
|
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-7E46JN6V.js";
|
|
12
|
+
import "./chunk-3FPF5DBU.js";
|
|
13
|
+
import "./chunk-IZZU4NS6.js";
|
|
14
|
+
import "./chunk-D4PK5OXW.js";
|
|
15
15
|
import "./chunk-EMNQPMZO.js";
|
|
16
16
|
import "./chunk-RCGFSWZE.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-3FPF5DBU.js";
|
|
8
|
+
import "./chunk-IZZU4NS6.js";
|
|
9
|
+
import "./chunk-D4PK5OXW.js";
|
|
10
10
|
import "./chunk-EMNQPMZO.js";
|
|
11
11
|
import "./chunk-RCGFSWZE.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.612.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_2b92b8a5a9536cd50d24d35c3ce22b6a/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-HLTGPK6P.js";
|
|
7
|
+
import "./chunk-4HLYKLGJ.js";
|
|
8
|
+
import "./chunk-2VMZLQ5K.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-37ILRM2G.js";
|
|
12
|
+
import "./chunk-2Q55K5HY.js";
|
|
13
|
+
import "./chunk-Y264FW55.js";
|
|
14
14
|
import "./chunk-EMNQPMZO.js";
|
|
15
15
|
import "./chunk-RCGFSWZE.js";
|
|
16
16
|
import "./chunk-Y5E2WNWB.js";
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import { createRequire as __bundleRequire } from "node:module";
|
|
2
|
+
const require = __bundleRequire(import.meta.url);
|
|
3
|
+
import {
|
|
4
|
+
PER_RUN,
|
|
5
|
+
createServer,
|
|
6
|
+
envelope,
|
|
7
|
+
serveOverHttpUntilStopped,
|
|
8
|
+
serveOverStdio
|
|
9
|
+
} from "./chunk-UTUUXAPS.js";
|
|
10
|
+
import "./chunk-7ETYPYIN.js";
|
|
11
|
+
import "./chunk-K6FQVROA.js";
|
|
12
|
+
import "./chunk-SSX6S3EG.js";
|
|
13
|
+
import "./chunk-MQCBJGXA.js";
|
|
14
|
+
import "./chunk-XYFYZP2N.js";
|
|
15
|
+
import "./chunk-WMRR2SNG.js";
|
|
16
|
+
import "./chunk-7NKBX7FC.js";
|
|
17
|
+
import "./chunk-MM5NVP7F.js";
|
|
18
|
+
import "./chunk-3X4JM3ZR.js";
|
|
19
|
+
import "./chunk-H3ZN4YLB.js";
|
|
20
|
+
import "./chunk-7DPHHUSZ.js";
|
|
21
|
+
import "./chunk-233N77WN.js";
|
|
22
|
+
import "./chunk-2UXFM5GE.js";
|
|
23
|
+
import "./chunk-RRPUM4RS.js";
|
|
24
|
+
import "./chunk-OEPBIWHI.js";
|
|
25
|
+
import "./chunk-JAJSTFBB.js";
|
|
26
|
+
import "./chunk-ASWLM74P.js";
|
|
27
|
+
import "./chunk-6G53ZFUT.js";
|
|
28
|
+
import "./chunk-ETYD55QD.js";
|
|
29
|
+
import "./chunk-PSYZ33UQ.js";
|
|
30
|
+
import "./chunk-37ILRM2G.js";
|
|
31
|
+
import "./chunk-2Q55K5HY.js";
|
|
32
|
+
import "./chunk-Y264FW55.js";
|
|
33
|
+
import "./chunk-6NHJ4TTJ.js";
|
|
34
|
+
import "./chunk-RRHSJ7CR.js";
|
|
35
|
+
import "./chunk-YRHLPKTG.js";
|
|
36
|
+
import "./chunk-RT476OFI.js";
|
|
37
|
+
import "./chunk-OQSOQYSQ.js";
|
|
38
|
+
import "./chunk-B4VCZOLF.js";
|
|
39
|
+
import "./chunk-OFERGS4J.js";
|
|
40
|
+
import "./chunk-7E46JN6V.js";
|
|
41
|
+
import "./chunk-3FPF5DBU.js";
|
|
42
|
+
import "./chunk-IZZU4NS6.js";
|
|
43
|
+
import "./chunk-D4PK5OXW.js";
|
|
44
|
+
import "./chunk-IK6KH3RE.js";
|
|
45
|
+
import "./chunk-SW6C6WH5.js";
|
|
46
|
+
import "./chunk-D72URWJE.js";
|
|
47
|
+
import "./chunk-I6LNI45S.js";
|
|
48
|
+
import "./chunk-STXMSLU6.js";
|
|
49
|
+
import "./chunk-EMNQPMZO.js";
|
|
50
|
+
import "./chunk-RCGFSWZE.js";
|
|
51
|
+
import "./chunk-Y5E2WNWB.js";
|
|
52
|
+
import "./chunk-4ZW6ZJ2V.js";
|
|
53
|
+
import "./chunk-5ZVWDMDT.js";
|
|
54
|
+
import "./chunk-ZVVMGPBJ.js";
|
|
55
|
+
export {
|
|
56
|
+
PER_RUN,
|
|
57
|
+
createServer,
|
|
58
|
+
envelope,
|
|
59
|
+
serveOverHttpUntilStopped,
|
|
60
|
+
serveOverStdio
|
|
61
|
+
};
|