@wirecat/cli-memo 0.131.54 → 0.131.56
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/author.d.ts +2 -0
- package/dist/author.d.ts.map +1 -1
- package/dist/author.js +3 -1
- package/dist/author.js.map +1 -1
- package/dist/bin/memo.js +2 -2
- package/dist/bundle/{all-profiles-PJR2VHDP.js → all-profiles-XWRUFNP2.js} +7 -7
- package/dist/bundle/{anthropic-ZUDIWREK.js → anthropic-266QJJGV.js} +5 -5
- package/dist/bundle/{app-server-EYNQ4L2V.js → app-server-CS3FQXPR.js} +38 -38
- package/dist/bundle/auto-XHUADK6H.js +86 -0
- package/dist/bundle/{bun-W2ZP6I6Z.js → bun-22MM6T54.js} +2 -2
- package/dist/bundle/{bun-sqlite-T2CTJ6AR.js → bun-sqlite-V73FFF2C.js} +4 -4
- package/dist/bundle/{chunk-K236JZLF.js → chunk-2BVVXH5V.js} +6 -6
- package/dist/bundle/{chunk-MGDBKE7E.js → chunk-2CF2R7SA.js} +7 -7
- package/dist/bundle/{chunk-VQTU4ILC.js → chunk-2LPPNYOZ.js} +1 -1
- package/dist/bundle/{chunk-T5WGWLY2.js → chunk-2Q3O33AD.js} +11 -11
- package/dist/bundle/{chunk-6NJ5OI2S.js → chunk-3BWYMNWP.js} +1 -1
- package/dist/bundle/{chunk-2NVP4FZH.js → chunk-3N7LEJRT.js} +2 -2
- package/dist/bundle/{chunk-4335SGVD.js → chunk-4XKHXETB.js} +7007 -2683
- package/dist/bundle/{chunk-7ZO2LAFF.js → chunk-5FYDQEM7.js} +5 -5
- package/dist/bundle/{chunk-KK2ATSEC.js → chunk-5LFQPARU.js} +7 -7
- package/dist/bundle/{chunk-DIFRVXKQ.js → chunk-62DGJ757.js} +1124 -435
- package/dist/bundle/{chunk-IVDBHH3N.js → chunk-6FABO4WB.js} +1 -1
- package/dist/bundle/{chunk-OSPAMIIY.js → chunk-72ZEEKOJ.js} +3 -3
- package/dist/bundle/{chunk-MZMJALJT.js → chunk-ASWLM74P.js} +2 -2
- package/dist/bundle/{chunk-5UM2OEOR.js → chunk-ATEHG5O6.js} +2 -2
- package/dist/bundle/{chunk-JBQP2M7J.js → chunk-BLCYVRW3.js} +8 -8
- package/dist/bundle/{chunk-ZRBXOHNH.js → chunk-CKNH2HT6.js} +2 -2
- package/dist/bundle/{chunk-PSJB456T.js → chunk-CQPMBTB6.js} +1 -1
- package/dist/bundle/{chunk-O7CBAY6J.js → chunk-DQWHLOKG.js} +4 -4
- package/dist/bundle/{chunk-MU4MPJCU.js → chunk-DUBGCFRO.js} +3 -3
- package/dist/bundle/{chunk-WLKDS65F.js → chunk-EMNQPMZO.js} +1 -1
- package/dist/bundle/{chunk-LCE5LBZC.js → chunk-EQQIUVLP.js} +4 -4
- package/dist/bundle/{chunk-4VQ7FPNW.js → chunk-EUE76Q4D.js} +3 -3
- package/dist/bundle/{chunk-JGY2PJ3N.js → chunk-F5DOQOCK.js} +12 -12
- package/dist/bundle/{chunk-DDD3CXHR.js → chunk-FCWUSKUI.js} +31 -24
- package/dist/bundle/{chunk-OKERVM3M.js → chunk-FG7ZGEZ6.js} +4 -4
- package/dist/bundle/{chunk-26QKDK5P.js → chunk-FU3XDL34.js} +5 -5
- package/dist/bundle/{chunk-KTVYCPJW.js → chunk-HVHUHYNF.js} +1 -1
- package/dist/bundle/{chunk-WYZDNDQ5.js → chunk-IF3RIN4C.js} +734 -491
- package/dist/bundle/{chunk-P3MKPY7D.js → chunk-IFUB2B2A.js} +74 -15
- package/dist/bundle/{chunk-JI4LJ563.js → chunk-IX5KCS2V.js} +7 -7
- package/dist/bundle/{chunk-P5UTNYA7.js → chunk-IY7GB2SJ.js} +2 -2
- package/dist/bundle/{chunk-YHHR7NQ3.js → chunk-KKBA3FAY.js} +33 -33
- package/dist/bundle/{chunk-HIF4YBD7.js → chunk-KO24NP3R.js} +5 -5
- package/dist/bundle/{chunk-MV5W4FLV.js → chunk-N2TGYTKE.js} +1 -1
- package/dist/bundle/{chunk-UBZN4EWJ.js → chunk-NDCURVJS.js} +5 -5
- package/dist/bundle/{chunk-VPCNLTME.js → chunk-NEWKSMXP.js} +2 -2
- package/dist/bundle/{chunk-AYY5CYJJ.js → chunk-ONJNZ2RJ.js} +1 -1
- package/dist/bundle/{chunk-RSBROHX4.js → chunk-OROO3KYQ.js} +2 -2
- package/dist/bundle/{chunk-PHP3T567.js → chunk-PBVG3KJR.js} +3 -3
- package/dist/bundle/{chunk-BEO6VJ2E.js → chunk-PWUR2XTO.js} +106 -96
- package/dist/bundle/{chunk-B5VQSSL2.js → chunk-QWZPIELU.js} +14 -14
- package/dist/bundle/{chunk-64JCY7XJ.js → chunk-RCGFSWZE.js} +44 -0
- package/dist/bundle/{chunk-BC7N6IQ6.js → chunk-RJWL3NEL.js} +1 -1
- package/dist/bundle/{chunk-GESLAB4N.js → chunk-RTROEIYE.js} +2 -2
- package/dist/bundle/{chunk-JB43Q2QL.js → chunk-RYDNM3K2.js} +1 -1
- package/dist/bundle/{chunk-AF2ZDP3M.js → chunk-TB4IRRAC.js} +1 -1
- package/dist/bundle/{chunk-ME5RFKKD.js → chunk-UCTUYZER.js} +5 -5
- package/dist/bundle/{chunk-CADGAURO.js → chunk-USZH2ELR.js} +29 -29
- package/dist/bundle/{chunk-SR3ZNX24.js → chunk-V4BKQWDS.js} +132 -114
- package/dist/bundle/{chunk-RX6JTLKD.js → chunk-VEDOHZEU.js} +7 -7
- package/dist/bundle/{chunk-VXZ7FWKU.js → chunk-VQKSJO45.js} +3 -3
- package/dist/bundle/{chunk-FUINFNUC.js → chunk-XEQPZBIH.js} +1 -1
- package/dist/bundle/{chunk-MFVZXEQN.js → chunk-XIS7K5HT.js} +22 -22
- package/dist/bundle/{chunk-643B3X4D.js → chunk-XLYMVYMU.js} +2 -2
- package/dist/bundle/{chunk-IRFHHNSX.js → chunk-XN5POYJL.js} +319 -182
- package/dist/bundle/{chunk-3MWNNJII.js → chunk-Y6PP45D4.js} +9 -9
- package/dist/bundle/{chunk-34GJQ4ZR.js → chunk-YTAQKOAW.js} +1 -1
- package/dist/bundle/{chunk-VBYV6XQI.js → chunk-Z6RSOFHK.js} +2 -2
- package/dist/bundle/{chunk-OQVLH2BS.js → chunk-ZA6ZKUGT.js} +5 -5
- package/dist/bundle/{chunk-ZTM4UUCP.js → chunk-ZGSAA2H5.js} +10 -10
- package/dist/bundle/{command-contract-EWPKHGAZ.js → command-contract-RST6OGMR.js} +13 -13
- package/dist/bundle/{decode-UWT3Y66W.js → decode-JHVAOF3N.js} +4 -4
- package/dist/bundle/{dispatch-W4ZVXTJT.js → dispatch-CRYB6Q2V.js} +1 -1
- package/dist/bundle/{echarts-7VGTR45R.js → echarts-KCOXA225.js} +2 -2
- package/dist/bundle/{embed-CM2QSTNK.js → embed-4NYYOVNS.js} +5 -5
- package/dist/bundle/{embedder-CDCAMVV7.js → embedder-SHPWEDIQ.js} +8 -8
- package/dist/bundle/{entry-WHEWBNJL.js → entry-4WKYFX5K.js} +6 -6
- package/dist/bundle/failure-BBE2DUGO.js +66 -0
- package/dist/bundle/{failure-GQHAQVGH.js → failure-ZMQJF3RO.js} +1 -1
- package/dist/bundle/{first-run-ZBIQO5RZ.js → first-run-2JHWQLHM.js} +8 -8
- package/dist/bundle/first-screen-AVSHZ6KK.js +30 -0
- package/dist/bundle/{instructions-LYKSTUGQ.js → instructions-ER3ONEOR.js} +1 -1
- package/dist/bundle/mcp-VBBKPKEG.js +90 -0
- package/dist/bundle/memo.js +9 -9
- package/dist/bundle/{node-LFRTSZBZ.js → node-DBZKVPDA.js} +2 -2
- package/dist/bundle/{node-sqlite-Y47T5FTT.js → node-sqlite-UZVU7EXS.js} +5 -5
- package/dist/bundle/{oauth-YM5C6VS3.js → oauth-VEFHKRWG.js} +6 -6
- package/dist/bundle/{open-WPA4DW5G.js → open-XNRAMLOK.js} +4 -4
- package/dist/bundle/{openai-RCPT23DA.js → openai-4XIX5RN2.js} +9 -9
- package/dist/bundle/{process-P2X2KFMR.js → process-EIGF77RB.js} +1 -1
- package/dist/bundle/{program-AJPT7C4I.js → program-RWAKY3P6.js} +87 -62
- package/dist/bundle/{prompt-65WPTVYC.js → prompt-V7RFTWTA.js} +4 -4
- package/dist/bundle/{recognize-MEFMK7HT.js → recognize-7PWWI67V.js} +3 -3
- package/dist/bundle/{remote-4XIR3ZYK.js → remote-NOKKQ2U5.js} +6 -6
- package/dist/bundle/{rerank-YRLAXFFL.js → rerank-X7UWX2ZF.js} +6 -6
- package/dist/bundle/{serve-6SPZH6CY.js → serve-Z6YCLXXP.js} +8 -8
- package/dist/bundle/server-GWH7J45V.js +48 -0
- package/dist/bundle/{server-ISFSZGGI.js → server-PIJV3LG4.js} +54 -54
- package/dist/bundle/server-WDE4WIHG.js +61 -0
- package/dist/bundle/{state-G34NVZ7F.js → state-K5D3BMKT.js} +5 -5
- package/dist/bundle/{store-6U4SYK4Q.js → store-6SZBCSUF.js} +21 -11
- package/dist/bundle/store-maintenance-command-Q2ABF4CG.js +48 -0
- package/dist/bundle/update-EKDVFRAG.js +69 -0
- package/dist/examples.d.ts.map +1 -1
- package/dist/examples.js +4 -0
- package/dist/examples.js.map +1 -1
- package/dist/mcp/catalogue.js +1 -1
- package/dist/mcp/catalogue.js.map +1 -1
- package/dist/notes/command.d.ts.map +1 -1
- package/dist/notes/command.js +18 -2
- package/dist/notes/command.js.map +1 -1
- package/dist/search/answers.d.ts.map +1 -1
- package/dist/search/answers.js +8 -0
- package/dist/search/answers.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-3IGKVB3G.js +0 -86
- package/dist/bundle/failure-LGDSH47N.js +0 -66
- package/dist/bundle/first-screen-CUAY5N6E.js +0 -30
- package/dist/bundle/mcp-I72UY3QP.js +0 -90
- package/dist/bundle/server-FB75UHSF.js +0 -48
- package/dist/bundle/server-IELXA6S2.js +0 -61
- package/dist/bundle/store-maintenance-command-ONVPBZLT.js +0 -48
- package/dist/bundle/update-SAJHFRB2.js +0 -69
- /package/dist/bundle/{chunk-2H36DXV7.js → chunk-SO2HNIPX.js} +0 -0
|
@@ -18,12 +18,12 @@ import {
|
|
|
18
18
|
jitCompatCheck,
|
|
19
19
|
refineSqliteCodecs,
|
|
20
20
|
sql
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-2LPPNYOZ.js";
|
|
22
22
|
import {
|
|
23
23
|
__name
|
|
24
24
|
} from "./chunk-ZVVMGPBJ.js";
|
|
25
25
|
|
|
26
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
26
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.609.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_cc90521890eb0d504a7d45d35f643969/node_modules/@wirecat/cli-core/dist/store/sqlite/drizzle/node.js
|
|
27
27
|
import { DatabaseSync } from "node:sqlite";
|
|
28
28
|
var nodeSQLiteCodecs = refineSqliteCodecs({
|
|
29
29
|
"integer:boolean": { normalize: booleanFromInteger },
|
|
@@ -3,20 +3,20 @@ const require = __bundleRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
loadVectorExtension,
|
|
5
5
|
vectorExtension
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-XEQPZBIH.js";
|
|
7
7
|
import {
|
|
8
8
|
TIME_LIMIT_FUNCTION,
|
|
9
9
|
beforeTimeLimit
|
|
10
|
-
} from "./chunk-
|
|
11
|
-
import "./chunk-
|
|
12
|
-
import "./chunk-
|
|
10
|
+
} from "./chunk-N2TGYTKE.js";
|
|
11
|
+
import "./chunk-EMNQPMZO.js";
|
|
12
|
+
import "./chunk-RCGFSWZE.js";
|
|
13
13
|
import "./chunk-Y5E2WNWB.js";
|
|
14
14
|
import "./chunk-4ZW6ZJ2V.js";
|
|
15
15
|
import {
|
|
16
16
|
__name
|
|
17
17
|
} from "./chunk-ZVVMGPBJ.js";
|
|
18
18
|
|
|
19
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
19
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.609.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_cc90521890eb0d504a7d45d35f643969/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,14 +3,14 @@ const require = __bundleRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
ownerLogin,
|
|
5
5
|
revokeAll
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-Z6RSOFHK.js";
|
|
7
7
|
import "./chunk-3X4JM3ZR.js";
|
|
8
8
|
import "./chunk-H3ZN4YLB.js";
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import "./chunk-
|
|
12
|
-
import "./chunk-
|
|
13
|
-
import "./chunk-
|
|
9
|
+
import "./chunk-FG7ZGEZ6.js";
|
|
10
|
+
import "./chunk-DUBGCFRO.js";
|
|
11
|
+
import "./chunk-ONJNZ2RJ.js";
|
|
12
|
+
import "./chunk-EMNQPMZO.js";
|
|
13
|
+
import "./chunk-RCGFSWZE.js";
|
|
14
14
|
import "./chunk-Y5E2WNWB.js";
|
|
15
15
|
import "./chunk-4ZW6ZJ2V.js";
|
|
16
16
|
import "./chunk-ZVVMGPBJ.js";
|
|
@@ -6,10 +6,10 @@ import {
|
|
|
6
6
|
openCache,
|
|
7
7
|
openFile,
|
|
8
8
|
storeCapable
|
|
9
|
-
} from "./chunk-
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import "./chunk-
|
|
12
|
-
import "./chunk-
|
|
9
|
+
} from "./chunk-5FYDQEM7.js";
|
|
10
|
+
import "./chunk-N2TGYTKE.js";
|
|
11
|
+
import "./chunk-EMNQPMZO.js";
|
|
12
|
+
import "./chunk-RCGFSWZE.js";
|
|
13
13
|
import "./chunk-Y5E2WNWB.js";
|
|
14
14
|
import "./chunk-4ZW6ZJ2V.js";
|
|
15
15
|
import "./chunk-ZVVMGPBJ.js";
|
|
@@ -4,15 +4,15 @@ import {
|
|
|
4
4
|
LONGEST_REQUEST_SECONDS,
|
|
5
5
|
piecesOf,
|
|
6
6
|
transcribeOpenAI
|
|
7
|
-
} from "./chunk-
|
|
8
|
-
import "./chunk-
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import "./chunk-
|
|
12
|
-
import "./chunk-
|
|
13
|
-
import "./chunk-
|
|
14
|
-
import "./chunk-
|
|
15
|
-
import "./chunk-
|
|
7
|
+
} from "./chunk-BLCYVRW3.js";
|
|
8
|
+
import "./chunk-PBVG3KJR.js";
|
|
9
|
+
import "./chunk-F5DOQOCK.js";
|
|
10
|
+
import "./chunk-NEWKSMXP.js";
|
|
11
|
+
import "./chunk-FU3XDL34.js";
|
|
12
|
+
import "./chunk-72ZEEKOJ.js";
|
|
13
|
+
import "./chunk-OROO3KYQ.js";
|
|
14
|
+
import "./chunk-EMNQPMZO.js";
|
|
15
|
+
import "./chunk-RCGFSWZE.js";
|
|
16
16
|
import "./chunk-Y5E2WNWB.js";
|
|
17
17
|
import "./chunk-4ZW6ZJ2V.js";
|
|
18
18
|
import "./chunk-ZVVMGPBJ.js";
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
__name
|
|
6
6
|
} from "./chunk-ZVVMGPBJ.js";
|
|
7
7
|
|
|
8
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.609.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_cc90521890eb0d504a7d45d35f643969/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";
|
|
@@ -6,17 +6,17 @@ import {
|
|
|
6
6
|
autoState,
|
|
7
7
|
lastAutoRun,
|
|
8
8
|
recordAutoRun
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-ZA6ZKUGT.js";
|
|
10
10
|
import {
|
|
11
11
|
installer,
|
|
12
12
|
latest,
|
|
13
13
|
upgradeCommand
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-IX5KCS2V.js";
|
|
15
15
|
import {
|
|
16
16
|
mcpOwnerAllowed,
|
|
17
17
|
readOnlyAvailability,
|
|
18
18
|
refuseWritesUnderLock
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-UCTUYZER.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-2BVVXH5V.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-KKBA3FAY.js";
|
|
60
60
|
import "./chunk-QP3KNC5D.js";
|
|
61
|
-
import "./chunk-
|
|
62
|
-
import "./chunk-
|
|
63
|
-
import "./chunk-
|
|
61
|
+
import "./chunk-ATEHG5O6.js";
|
|
62
|
+
import "./chunk-BLCYVRW3.js";
|
|
63
|
+
import "./chunk-PBVG3KJR.js";
|
|
64
64
|
import {
|
|
65
65
|
errorObject,
|
|
66
66
|
recognisable
|
|
67
|
-
} from "./chunk-
|
|
67
|
+
} from "./chunk-KO24NP3R.js";
|
|
68
68
|
import {
|
|
69
69
|
AGENT_INPUT_MAX_CHARS,
|
|
70
70
|
DISCOVERY_DESCRIPTIONS,
|
|
@@ -102,23 +102,23 @@ import {
|
|
|
102
102
|
tasksCommand,
|
|
103
103
|
tasksStatsCommand,
|
|
104
104
|
withSqliteSidecars
|
|
105
|
-
} from "./chunk-
|
|
106
|
-
import "./chunk-
|
|
107
|
-
import "./chunk-
|
|
105
|
+
} from "./chunk-62DGJ757.js";
|
|
106
|
+
import "./chunk-YTAQKOAW.js";
|
|
107
|
+
import "./chunk-RYDNM3K2.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-FCWUSKUI.js";
|
|
115
|
+
import "./chunk-RJWL3NEL.js";
|
|
116
116
|
import {
|
|
117
117
|
SKILL_TARGETS,
|
|
118
118
|
skillCommand,
|
|
119
119
|
skillPath,
|
|
120
120
|
skillVersion
|
|
121
|
-
} from "./chunk-
|
|
121
|
+
} from "./chunk-IFUB2B2A.js";
|
|
122
122
|
import {
|
|
123
123
|
modelGateway,
|
|
124
124
|
recoveryNotes,
|
|
@@ -126,8 +126,8 @@ import {
|
|
|
126
126
|
storeRecoveryCheck,
|
|
127
127
|
storeRecoveryRun,
|
|
128
128
|
storeSummary
|
|
129
|
-
} from "./chunk-
|
|
130
|
-
import "./chunk-
|
|
129
|
+
} from "./chunk-PWUR2XTO.js";
|
|
130
|
+
import "./chunk-XIS7K5HT.js";
|
|
131
131
|
import {
|
|
132
132
|
LIST_QUERY_GUIDE,
|
|
133
133
|
STATUS_SIGNALS,
|
|
@@ -179,18 +179,18 @@ import {
|
|
|
179
179
|
termField,
|
|
180
180
|
typedQuery,
|
|
181
181
|
withQuery
|
|
182
|
-
} from "./chunk-
|
|
182
|
+
} from "./chunk-IF3RIN4C.js";
|
|
183
183
|
import {
|
|
184
184
|
readBoundedUtf8File,
|
|
185
185
|
writeFileAtomic
|
|
186
|
-
} from "./chunk-
|
|
186
|
+
} from "./chunk-F5DOQOCK.js";
|
|
187
187
|
import {
|
|
188
188
|
commandsText,
|
|
189
189
|
inSection,
|
|
190
190
|
installHelp
|
|
191
|
-
} from "./chunk-
|
|
191
|
+
} from "./chunk-5LFQPARU.js";
|
|
192
192
|
import "./chunk-HTQTIKWP.js";
|
|
193
|
-
import "./chunk-
|
|
193
|
+
import "./chunk-VQKSJO45.js";
|
|
194
194
|
import {
|
|
195
195
|
Command,
|
|
196
196
|
FETCH,
|
|
@@ -221,22 +221,22 @@ import {
|
|
|
221
221
|
settingRows,
|
|
222
222
|
settingsFor,
|
|
223
223
|
snakeKeys
|
|
224
|
-
} from "./chunk-
|
|
225
|
-
import "./chunk-
|
|
226
|
-
import "./chunk-
|
|
224
|
+
} from "./chunk-XN5POYJL.js";
|
|
225
|
+
import "./chunk-2CF2R7SA.js";
|
|
226
|
+
import "./chunk-2Q3O33AD.js";
|
|
227
227
|
import {
|
|
228
228
|
isNewer
|
|
229
|
-
} from "./chunk-
|
|
229
|
+
} from "./chunk-ASWLM74P.js";
|
|
230
230
|
import "./chunk-6G53ZFUT.js";
|
|
231
|
-
import "./chunk-
|
|
232
|
-
import "./chunk-
|
|
233
|
-
import "./chunk-
|
|
234
|
-
import "./chunk-
|
|
231
|
+
import "./chunk-EUE76Q4D.js";
|
|
232
|
+
import "./chunk-ZGSAA2H5.js";
|
|
233
|
+
import "./chunk-3BWYMNWP.js";
|
|
234
|
+
import "./chunk-FG7ZGEZ6.js";
|
|
235
235
|
import {
|
|
236
236
|
releaseLock,
|
|
237
237
|
takeLock
|
|
238
|
-
} from "./chunk-
|
|
239
|
-
import "./chunk-
|
|
238
|
+
} from "./chunk-DUBGCFRO.js";
|
|
239
|
+
import "./chunk-ONJNZ2RJ.js";
|
|
240
240
|
import {
|
|
241
241
|
EVIDENCE_FINDINGS_KIND,
|
|
242
242
|
MAIL_FINDINGS_KIND,
|
|
@@ -272,7 +272,7 @@ import {
|
|
|
272
272
|
plainQuery,
|
|
273
273
|
providerNamed,
|
|
274
274
|
refLabel
|
|
275
|
-
} from "./chunk-
|
|
275
|
+
} from "./chunk-4XKHXETB.js";
|
|
276
276
|
import {
|
|
277
277
|
DEAL_KINDS,
|
|
278
278
|
DEAL_ROLES,
|
|
@@ -310,22 +310,22 @@ import {
|
|
|
310
310
|
timezoneOf,
|
|
311
311
|
validateQuery,
|
|
312
312
|
walkQuery
|
|
313
|
-
} from "./chunk-
|
|
314
|
-
import "./chunk-
|
|
315
|
-
import "./chunk-
|
|
316
|
-
import "./chunk-
|
|
317
|
-
import "./chunk-
|
|
318
|
-
import "./chunk-
|
|
319
|
-
import "./chunk-
|
|
320
|
-
import "./chunk-
|
|
321
|
-
import "./chunk-
|
|
322
|
-
import "./chunk-
|
|
313
|
+
} from "./chunk-V4BKQWDS.js";
|
|
314
|
+
import "./chunk-IY7GB2SJ.js";
|
|
315
|
+
import "./chunk-VEDOHZEU.js";
|
|
316
|
+
import "./chunk-NDCURVJS.js";
|
|
317
|
+
import "./chunk-XLYMVYMU.js";
|
|
318
|
+
import "./chunk-CQPMBTB6.js";
|
|
319
|
+
import "./chunk-3N7LEJRT.js";
|
|
320
|
+
import "./chunk-HVHUHYNF.js";
|
|
321
|
+
import "./chunk-NEWKSMXP.js";
|
|
322
|
+
import "./chunk-FU3XDL34.js";
|
|
323
323
|
import {
|
|
324
324
|
sharedModelsDirectory
|
|
325
|
-
} from "./chunk-
|
|
325
|
+
} from "./chunk-72ZEEKOJ.js";
|
|
326
326
|
import {
|
|
327
327
|
storePath
|
|
328
|
-
} from "./chunk-
|
|
328
|
+
} from "./chunk-OROO3KYQ.js";
|
|
329
329
|
import {
|
|
330
330
|
provideTerminal,
|
|
331
331
|
terminalOf
|
|
@@ -335,12 +335,12 @@ import {
|
|
|
335
335
|
REASONS,
|
|
336
336
|
STORE_CLIENT,
|
|
337
337
|
VERSION
|
|
338
|
-
} from "./chunk-
|
|
338
|
+
} from "./chunk-CKNH2HT6.js";
|
|
339
339
|
import "./chunk-IK6KH3RE.js";
|
|
340
340
|
import "./chunk-SW6C6WH5.js";
|
|
341
341
|
import "./chunk-D72URWJE.js";
|
|
342
|
-
import "./chunk-
|
|
343
|
-
import "./chunk-
|
|
342
|
+
import "./chunk-5FYDQEM7.js";
|
|
343
|
+
import "./chunk-N2TGYTKE.js";
|
|
344
344
|
import {
|
|
345
345
|
createDeadline,
|
|
346
346
|
createRenderer,
|
|
@@ -350,7 +350,7 @@ import {
|
|
|
350
350
|
projectFields,
|
|
351
351
|
readBatchInput,
|
|
352
352
|
resolvePaths
|
|
353
|
-
} from "./chunk-
|
|
353
|
+
} from "./chunk-EMNQPMZO.js";
|
|
354
354
|
import {
|
|
355
355
|
MAX_NEXT_STEPS,
|
|
356
356
|
array,
|
|
@@ -372,14 +372,14 @@ import {
|
|
|
372
372
|
trim,
|
|
373
373
|
union,
|
|
374
374
|
unknown
|
|
375
|
-
} from "./chunk-
|
|
375
|
+
} from "./chunk-RCGFSWZE.js";
|
|
376
376
|
import "./chunk-Y5E2WNWB.js";
|
|
377
377
|
import {
|
|
378
378
|
CliError,
|
|
379
379
|
errorCodes,
|
|
380
380
|
isCliError
|
|
381
381
|
} from "./chunk-4ZW6ZJ2V.js";
|
|
382
|
-
import "./chunk-
|
|
382
|
+
import "./chunk-2LPPNYOZ.js";
|
|
383
383
|
import {
|
|
384
384
|
__name
|
|
385
385
|
} from "./chunk-ZVVMGPBJ.js";
|
|
@@ -434,8 +434,9 @@ var ownerSays = /* @__PURE__ */ __name(async (command, question) => {
|
|
|
434
434
|
if (!/^\s*y(es)?\s*$/i.test(answer))
|
|
435
435
|
throw new CliError("cancelled", "not done \u2014 the answer was no");
|
|
436
436
|
}, "ownerSays");
|
|
437
|
+
var isMcpRun = /* @__PURE__ */ __name((command, env) => environmentOf(command).agent !== void 0 || env.AI_AGENT === "memo-mcp", "isMcpRun");
|
|
437
438
|
var whoRuns = /* @__PURE__ */ __name(async (command, env, { asOwner = false, question }) => {
|
|
438
|
-
if (
|
|
439
|
+
if (isMcpRun(command, env)) {
|
|
439
440
|
if (asOwner)
|
|
440
441
|
throw new CliError("permission_error", "an agent cannot act as the owner; the owner runs this command");
|
|
441
442
|
return { bot: agentIn(env) ?? "memo-mcp" };
|
|
@@ -664,7 +665,7 @@ var collect = /* @__PURE__ */ __name((value, previous = []) => [...previous, val
|
|
|
664
665
|
var readScope = /* @__PURE__ */ __name((command, help = ONE_ACCOUNT_HELP) => sourceOptions(command, help).option("--json", "print JSON; --json=id,title keeps only those fields"), "readScope");
|
|
665
666
|
var writeScope = /* @__PURE__ */ __name((command, help) => writeOptions(command, help).option("--json", "print JSON; --json=id,title keeps only those fields"), "writeScope");
|
|
666
667
|
|
|
667
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
668
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.609.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_cc90521890eb0d504a7d45d35f643969/node_modules/@wirecat/cli-core/dist/mail/sender-scores.js
|
|
668
669
|
var SCORED = "mail_sender_scores";
|
|
669
670
|
var DAY = 864e5;
|
|
670
671
|
var RECENT = 2 * 365 * DAY;
|
|
@@ -680,7 +681,7 @@ var demotedSenders = /* @__PURE__ */ __name(async (store) => {
|
|
|
680
681
|
return senders;
|
|
681
682
|
}, "demotedSenders");
|
|
682
683
|
|
|
683
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
684
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.609.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_cc90521890eb0d504a7d45d35f643969/node_modules/@wirecat/cli-core/dist/mail/sync.js
|
|
684
685
|
var DAY2 = 864e5;
|
|
685
686
|
var EDGE = 2 * DAY2;
|
|
686
687
|
|
|
@@ -1919,7 +1920,7 @@ import { createHash } from "node:crypto";
|
|
|
1919
1920
|
import { existsSync, readFileSync as readFileSync2, statSync } from "node:fs";
|
|
1920
1921
|
import { basename, extname, relative, sep } from "node:path";
|
|
1921
1922
|
|
|
1922
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1923
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.609.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_cc90521890eb0d504a7d45d35f643969/node_modules/@wirecat/cli-core/dist/services/documents/extraction.js
|
|
1923
1924
|
var Proposal = object({
|
|
1924
1925
|
kind: picklist(["summary", "digest", "fact", "preference"]),
|
|
1925
1926
|
body: pipe(string(), trim(), minLength(1), maxLength(15e3)),
|
|
@@ -1927,10 +1928,10 @@ var Proposal = object({
|
|
|
1927
1928
|
});
|
|
1928
1929
|
var Proposals = object({ items: pipe(array(Proposal), maxLength(20)) });
|
|
1929
1930
|
|
|
1930
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1931
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.609.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_cc90521890eb0d504a7d45d35f643969/node_modules/@wirecat/cli-core/dist/services/documents/mirrors.js
|
|
1931
1932
|
var ID = pipe(string(), regex(/^[A-Za-z0-9_-]{1,200}$/));
|
|
1932
1933
|
|
|
1933
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1934
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.609.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_cc90521890eb0d504a7d45d35f643969/node_modules/@wirecat/cli-core/dist/services/documents/sync.js
|
|
1934
1935
|
var MAX_PICTURE_BYTES = 25 * 1024 * 1024;
|
|
1935
1936
|
|
|
1936
1937
|
// dist/notes/dates.js
|
|
@@ -4326,6 +4327,10 @@ var EXAMPLES = {
|
|
|
4326
4327
|
"models list": ["memo models list kind:text --json"],
|
|
4327
4328
|
"commands info": ["memo commands info --json"],
|
|
4328
4329
|
"models download": ["memo models download e5-small"],
|
|
4330
|
+
"models set": ["memo models set e5-large"],
|
|
4331
|
+
"models add": [
|
|
4332
|
+
`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: "}}'`
|
|
4333
|
+
],
|
|
4329
4334
|
"notes links show": ["memo notes links show telegram:101 --json"],
|
|
4330
4335
|
"notes links add": ["memo notes links add telegram:101 ~/notes/People/Kai.md"],
|
|
4331
4336
|
"notes links clear": ["memo notes links clear telegram:101"],
|
|
@@ -6907,10 +6912,10 @@ var mcpCommandDefinition = /* @__PURE__ */ __name((program, streams, env, create
|
|
|
6907
6912
|
}).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) => {
|
|
6908
6913
|
if (!options.http && (options.port !== void 0 || options.publicUrl !== void 0))
|
|
6909
6914
|
throw new CliError("validation_error", "--port and --public-url require --http");
|
|
6910
|
-
const { createMemoServer } = await import("./server-
|
|
6915
|
+
const { createMemoServer } = await import("./server-PIJV3LG4.js");
|
|
6911
6916
|
const build = /* @__PURE__ */ __name(() => createMemoServer(env, createProgram2, options.permission), "build");
|
|
6912
6917
|
if (options.http) {
|
|
6913
|
-
const { httpLockFile, mcpUrlOf, portOf, publicUrlOf, serveOverHttp } = await import("./mcp-
|
|
6918
|
+
const { httpLockFile, mcpUrlOf, portOf, publicUrlOf, serveOverHttp } = await import("./mcp-VBBKPKEG.js");
|
|
6914
6919
|
const publicUrl = publicUrlOf(options.publicUrl, {
|
|
6915
6920
|
missing: "--http",
|
|
6916
6921
|
reaches: "the browser apps reach memo",
|
|
@@ -6962,7 +6967,7 @@ var mcpCommandDefinition = /* @__PURE__ */ __name((program, streams, env, create
|
|
|
6962
6967
|
});
|
|
6963
6968
|
});
|
|
6964
6969
|
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() {
|
|
6965
|
-
const { revokeAll } = await import("./mcp-
|
|
6970
|
+
const { revokeAll } = await import("./mcp-VBBKPKEG.js");
|
|
6966
6971
|
revokeAll(httpTokenFile(env));
|
|
6967
6972
|
out.print(this.opts().json, itemAnswer({ revoked: true }));
|
|
6968
6973
|
});
|
|
@@ -7428,6 +7433,18 @@ var NOTES_LIST_QUERY = {
|
|
|
7428
7433
|
termField("text", "txt", "text:budget")
|
|
7429
7434
|
]
|
|
7430
7435
|
};
|
|
7436
|
+
var refuseOverMcp = /* @__PURE__ */ __name((options, mcp2) => {
|
|
7437
|
+
if (!mcp2)
|
|
7438
|
+
return;
|
|
7439
|
+
if (options.textFile !== void 0)
|
|
7440
|
+
throw new CliError("permission_error", "over MCP a note's text is given as text, never read from a file", {
|
|
7441
|
+
param: "text_file"
|
|
7442
|
+
});
|
|
7443
|
+
if (options.export !== void 0)
|
|
7444
|
+
throw new CliError("permission_error", "over MCP a note is not written as a file; the owner exports it", {
|
|
7445
|
+
param: "export"
|
|
7446
|
+
});
|
|
7447
|
+
}, "refuseOverMcp");
|
|
7431
7448
|
var textOf = /* @__PURE__ */ __name((options, given) => {
|
|
7432
7449
|
const sources = [given, options.text, options.textFile].filter((value) => value !== void 0);
|
|
7433
7450
|
if (sources.length !== 1)
|
|
@@ -7519,7 +7536,8 @@ var notesCommandDefinition = /* @__PURE__ */ __name((program, streams, env) => {
|
|
|
7519
7536
|
output: { entity: "note" },
|
|
7520
7537
|
literal_after_dashes: true
|
|
7521
7538
|
}).description("write a note of your own about messages, people, projects or other notes").argument("[text]", "the note; or --text, or --text-file").option("--text <text>", "the note").option("--text-file <path>", "read the note from a file; - reads stdin").option("--title <title>", "a title").option("--subject <ref>", "what it is about: <messenger>:<name or id>, msg:, chat:, person:, organization:, project:, task:, note:, document:, meeting:; repeat for more", collect).option("--meeting <id>", "also about this meeting, by its store id, with --account");
|
|
7522
|
-
writeOptions(noteAdd, `the account of --meeting: ${MEETING_WRITE_HELP}`).option("--export [dir]", "also write it as a file \u2014 to this folder, or notes.export.dir").option("--format <format>", `the file's format: ${DIALECTS.join(", ")}`, formatOf).option("--json", "print JSON; --json=id,title keeps only those fields").action(async (given, options) => {
|
|
7539
|
+
writeOptions(noteAdd, `the account of --meeting: ${MEETING_WRITE_HELP}`).option("--export [dir]", "also write it as a file \u2014 to this folder, or notes.export.dir").option("--format <format>", `the file's format: ${DIALECTS.join(", ")}`, formatOf).option("--json", "print JSON; --json=id,title keeps only those fields").action(async (given, options, command) => {
|
|
7540
|
+
refuseOverMcp(options, isMcpRun(command, env));
|
|
7523
7541
|
const body = textOf(options, given);
|
|
7524
7542
|
const value = writeAccountOf(options, (text3) => streams.diagnostic(text3));
|
|
7525
7543
|
if (options.meeting === void 0 && value !== void 0)
|
|
@@ -7540,7 +7558,8 @@ var notesCommandDefinition = /* @__PURE__ */ __name((program, streams, env) => {
|
|
|
7540
7558
|
});
|
|
7541
7559
|
print(options.json, itemAnswer(answer), answer.ref);
|
|
7542
7560
|
});
|
|
7543
|
-
annotate(notes2.command("edit"), { effects: LOCAL_WRITE, output: { entity: "note" }, literal_after_dashes: true }).description("change a note you wrote here; a file's note is edited in its file").argument("<id>", "note:<id>").requiredOption("--revision <n>", "its current revision, so an edit made meanwhile is not lost", positive).option("--text <text>", "the new text").option("--text-file <path>", "read the new text from a file; - reads stdin").option("--export [dir]", "also rewrite its file \u2014 in this folder, or notes.export.dir").option("--format <format>", `the file's format: ${DIALECTS.join(", ")}`, formatOf).option("--json", "print JSON; --json=id,title keeps only those fields").action(async (id, options) => {
|
|
7561
|
+
annotate(notes2.command("edit"), { effects: LOCAL_WRITE, output: { entity: "note" }, literal_after_dashes: true }).description("change a note you wrote here; a file's note is edited in its file").argument("<id>", "note:<id>").requiredOption("--revision <n>", "its current revision, so an edit made meanwhile is not lost", positive).option("--text <text>", "the new text").option("--text-file <path>", "read the new text from a file; - reads stdin").option("--export [dir]", "also rewrite its file \u2014 in this folder, or notes.export.dir").option("--format <format>", `the file's format: ${DIALECTS.join(", ")}`, formatOf).option("--json", "print JSON; --json=id,title keeps only those fields").action(async (id, options, command) => {
|
|
7562
|
+
refuseOverMcp(options, isMcpRun(command, env));
|
|
7544
7563
|
const body = textOf(options);
|
|
7545
7564
|
const answer = await withNotes(async (store) => {
|
|
7546
7565
|
await refuseBareNumber(store, id, ["note"]);
|
|
@@ -8892,7 +8911,13 @@ var allAnswer = /* @__PURE__ */ __name((found, limit, exact = false) => {
|
|
|
8892
8911
|
...archive.missing,
|
|
8893
8912
|
...meaningMissed(found.notes?.meaningSkipped, exact),
|
|
8894
8913
|
...messagesMeaningMissed(found.messages?.meaningSkipped),
|
|
8895
|
-
...found.events?.meaningSkipped === void 0 || exact ? [] : [{ field: "found_by", why: eventsMeaningNote(found.events.meaningSkipped) }]
|
|
8914
|
+
...found.events?.meaningSkipped === void 0 || exact ? [] : [{ field: "found_by", why: eventsMeaningNote(found.events.meaningSkipped) }],
|
|
8915
|
+
...found.unmatched && !found.items.length ? [
|
|
8916
|
+
{
|
|
8917
|
+
field: "items",
|
|
8918
|
+
why: `every word must be in one record, and nothing in ${found.searched.join(", ")} holds ${found.unmatched.map((word) => `"${word}"`).join(", ")}`
|
|
8919
|
+
}
|
|
8920
|
+
] : []
|
|
8896
8921
|
],
|
|
8897
8922
|
meta: metaOf2(found.accounts, found.skipped, archive.missing.length > 0)
|
|
8898
8923
|
});
|
|
@@ -2,10 +2,10 @@ 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-
|
|
7
|
-
import "./chunk-
|
|
8
|
-
import "./chunk-
|
|
5
|
+
} from "./chunk-XLYMVYMU.js";
|
|
6
|
+
import "./chunk-CQPMBTB6.js";
|
|
7
|
+
import "./chunk-EMNQPMZO.js";
|
|
8
|
+
import "./chunk-RCGFSWZE.js";
|
|
9
9
|
import "./chunk-Y5E2WNWB.js";
|
|
10
10
|
import "./chunk-4ZW6ZJ2V.js";
|
|
11
11
|
import "./chunk-ZVVMGPBJ.js";
|
|
@@ -8,9 +8,9 @@ import {
|
|
|
8
8
|
openRecognizer,
|
|
9
9
|
openSpeechCutter,
|
|
10
10
|
toModelRate
|
|
11
|
-
} from "./chunk-
|
|
12
|
-
import "./chunk-
|
|
13
|
-
import "./chunk-
|
|
11
|
+
} from "./chunk-PBVG3KJR.js";
|
|
12
|
+
import "./chunk-EMNQPMZO.js";
|
|
13
|
+
import "./chunk-RCGFSWZE.js";
|
|
14
14
|
import "./chunk-Y5E2WNWB.js";
|
|
15
15
|
import "./chunk-4ZW6ZJ2V.js";
|
|
16
16
|
import "./chunk-ZVVMGPBJ.js";
|
|
@@ -8,12 +8,12 @@ import {
|
|
|
8
8
|
openRemote,
|
|
9
9
|
remoteKey,
|
|
10
10
|
remoteModel
|
|
11
|
-
} from "./chunk-
|
|
12
|
-
import "./chunk-
|
|
13
|
-
import "./chunk-
|
|
14
|
-
import "./chunk-
|
|
15
|
-
import "./chunk-
|
|
16
|
-
import "./chunk-
|
|
11
|
+
} from "./chunk-NEWKSMXP.js";
|
|
12
|
+
import "./chunk-FU3XDL34.js";
|
|
13
|
+
import "./chunk-72ZEEKOJ.js";
|
|
14
|
+
import "./chunk-OROO3KYQ.js";
|
|
15
|
+
import "./chunk-EMNQPMZO.js";
|
|
16
|
+
import "./chunk-RCGFSWZE.js";
|
|
17
17
|
import "./chunk-Y5E2WNWB.js";
|
|
18
18
|
import "./chunk-4ZW6ZJ2V.js";
|
|
19
19
|
import "./chunk-ZVVMGPBJ.js";
|
|
@@ -4,18 +4,18 @@ import {
|
|
|
4
4
|
defaultThreads,
|
|
5
5
|
loadModel,
|
|
6
6
|
truncated
|
|
7
|
-
} from "./chunk-
|
|
8
|
-
import "./chunk-
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import "./chunk-
|
|
7
|
+
} from "./chunk-FU3XDL34.js";
|
|
8
|
+
import "./chunk-72ZEEKOJ.js";
|
|
9
|
+
import "./chunk-OROO3KYQ.js";
|
|
10
|
+
import "./chunk-EMNQPMZO.js";
|
|
11
|
+
import "./chunk-RCGFSWZE.js";
|
|
12
12
|
import "./chunk-Y5E2WNWB.js";
|
|
13
13
|
import "./chunk-4ZW6ZJ2V.js";
|
|
14
14
|
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.609.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_cc90521890eb0d504a7d45d35f643969/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,16 +3,16 @@ 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-DQWHLOKG.js";
|
|
7
|
+
import "./chunk-RYDNM3K2.js";
|
|
8
|
+
import "./chunk-Z6RSOFHK.js";
|
|
9
9
|
import "./chunk-3X4JM3ZR.js";
|
|
10
10
|
import "./chunk-H3ZN4YLB.js";
|
|
11
|
-
import "./chunk-
|
|
12
|
-
import "./chunk-
|
|
13
|
-
import "./chunk-
|
|
14
|
-
import "./chunk-
|
|
15
|
-
import "./chunk-
|
|
11
|
+
import "./chunk-FG7ZGEZ6.js";
|
|
12
|
+
import "./chunk-DUBGCFRO.js";
|
|
13
|
+
import "./chunk-ONJNZ2RJ.js";
|
|
14
|
+
import "./chunk-EMNQPMZO.js";
|
|
15
|
+
import "./chunk-RCGFSWZE.js";
|
|
16
16
|
import "./chunk-Y5E2WNWB.js";
|
|
17
17
|
import "./chunk-4ZW6ZJ2V.js";
|
|
18
18
|
import "./chunk-ZVVMGPBJ.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-Y6PP45D4.js";
|
|
7
|
+
import "./chunk-YTAQKOAW.js";
|
|
8
|
+
import "./chunk-QWZPIELU.js";
|
|
9
|
+
import "./chunk-IFUB2B2A.js";
|
|
10
|
+
import "./chunk-RTROEIYE.js";
|
|
11
|
+
import "./chunk-MM5NVP7F.js";
|
|
12
|
+
import "./chunk-3X4JM3ZR.js";
|
|
13
|
+
import "./chunk-H3ZN4YLB.js";
|
|
14
|
+
import "./chunk-IF3RIN4C.js";
|
|
15
|
+
import "./chunk-F5DOQOCK.js";
|
|
16
|
+
import "./chunk-XN5POYJL.js";
|
|
17
|
+
import "./chunk-2CF2R7SA.js";
|
|
18
|
+
import "./chunk-ASWLM74P.js";
|
|
19
|
+
import "./chunk-6G53ZFUT.js";
|
|
20
|
+
import "./chunk-EUE76Q4D.js";
|
|
21
|
+
import "./chunk-3BWYMNWP.js";
|
|
22
|
+
import "./chunk-ONJNZ2RJ.js";
|
|
23
|
+
import "./chunk-4XKHXETB.js";
|
|
24
|
+
import "./chunk-V4BKQWDS.js";
|
|
25
|
+
import "./chunk-IY7GB2SJ.js";
|
|
26
|
+
import "./chunk-VEDOHZEU.js";
|
|
27
|
+
import "./chunk-NDCURVJS.js";
|
|
28
|
+
import "./chunk-CQPMBTB6.js";
|
|
29
|
+
import "./chunk-HVHUHYNF.js";
|
|
30
|
+
import "./chunk-NEWKSMXP.js";
|
|
31
|
+
import "./chunk-FU3XDL34.js";
|
|
32
|
+
import "./chunk-72ZEEKOJ.js";
|
|
33
|
+
import "./chunk-OROO3KYQ.js";
|
|
34
|
+
import "./chunk-IK6KH3RE.js";
|
|
35
|
+
import "./chunk-SW6C6WH5.js";
|
|
36
|
+
import "./chunk-D72URWJE.js";
|
|
37
|
+
import "./chunk-5FYDQEM7.js";
|
|
38
|
+
import "./chunk-N2TGYTKE.js";
|
|
39
|
+
import "./chunk-EMNQPMZO.js";
|
|
40
|
+
import "./chunk-RCGFSWZE.js";
|
|
41
|
+
import "./chunk-Y5E2WNWB.js";
|
|
42
|
+
import "./chunk-4ZW6ZJ2V.js";
|
|
43
|
+
import "./chunk-2LPPNYOZ.js";
|
|
44
|
+
import "./chunk-ZVVMGPBJ.js";
|
|
45
|
+
export {
|
|
46
|
+
createBotServer,
|
|
47
|
+
serveBotOverStdio
|
|
48
|
+
};
|