@wirecat/cli-memo 0.131.39 → 0.131.40
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-5CXMPAOF.js → all-profiles-QFW2NKJY.js} +5 -5
- package/dist/bundle/{anthropic-KJECM7MD.js → anthropic-IARLHPYJ.js} +3 -3
- package/dist/bundle/{app-server-ZO7Z7RMA.js → app-server-L4N5IWJF.js} +35 -35
- package/dist/bundle/auto-24I3FBUW.js +86 -0
- package/dist/bundle/{bun-V2HGEGFF.js → bun-NWKIEX53.js} +2 -2
- package/dist/bundle/{bun-sqlite-DSFSAFNQ.js → bun-sqlite-HORFVNNY.js} +2 -2
- package/dist/bundle/{chunk-P357OGUL.js → chunk-2SZEKYBN.js} +1 -1
- package/dist/bundle/{chunk-P3QBCCBA.js → chunk-2YJBI3NK.js} +1 -1
- package/dist/bundle/{chunk-QAFJG52K.js → chunk-4EZK5PGX.js} +1 -1
- package/dist/bundle/{chunk-PWVNSJBL.js → chunk-5G3NNIJQ.js} +10 -10
- package/dist/bundle/{chunk-7DMTHV2P.js → chunk-5HSR6U4Z.js} +1 -1
- package/dist/bundle/{chunk-WDDYMCLD.js → chunk-5HXLRQ4Q.js} +43 -43
- package/dist/bundle/{chunk-LXNWBHCK.js → chunk-6E4DCMJ5.js} +4 -4
- package/dist/bundle/{chunk-EY42TTWE.js → chunk-6RAU7FD2.js} +11 -11
- package/dist/bundle/{chunk-QL2YLPB5.js → chunk-756VKGKO.js} +2 -2
- package/dist/bundle/{chunk-DZBNKSE2.js → chunk-A7M74RZH.js} +352 -358
- package/dist/bundle/{chunk-QMDVWF3C.js → chunk-A7MXWBIX.js} +2 -2
- package/dist/bundle/{chunk-UECWAAZ3.js → chunk-ADMB7OK5.js} +4 -4
- package/dist/bundle/{chunk-4GA7IMXD.js → chunk-AKSNCK5L.js} +257 -257
- package/dist/bundle/{chunk-4MFNKTQQ.js → chunk-ASVVDNAS.js} +3 -3
- package/dist/bundle/{chunk-CHAA2BOM.js → chunk-ATR65D7K.js} +8 -8
- package/dist/bundle/{chunk-HB3YU52J.js → chunk-B4XRE67Q.js} +10 -9
- package/dist/bundle/{chunk-XED6NO7E.js → chunk-BWNNUEHG.js} +1 -1
- package/dist/bundle/{chunk-BHBLLZAO.js → chunk-CB34NXQP.js} +89 -74
- package/dist/bundle/{chunk-KBDZG6XU.js → chunk-DNZH53VQ.js} +3 -3
- package/dist/bundle/{chunk-H4DBYU2J.js → chunk-EGQCBZVM.js} +2 -2
- package/dist/bundle/{chunk-552IRBSA.js → chunk-EGRI2NUT.js} +4 -4
- package/dist/bundle/{chunk-TSGJRL2S.js → chunk-EIFPQD57.js} +1 -1
- package/dist/bundle/{chunk-G35CZBBF.js → chunk-EQQWJM6B.js} +5 -5
- package/dist/bundle/{chunk-WJCBQFEM.js → chunk-FBREYLY5.js} +1 -1
- package/dist/bundle/{chunk-H4GQZLTW.js → chunk-FTX3OPWV.js} +27 -27
- package/dist/bundle/{chunk-7VBSW2RI.js → chunk-G3IO2TLK.js} +5 -5
- package/dist/bundle/{chunk-AKLFOL4C.js → chunk-JGDZ3G4P.js} +3 -3
- package/dist/bundle/{chunk-5I75PUEK.js → chunk-KAU67PDK.js} +197 -164
- package/dist/bundle/{chunk-ZQTFPZ36.js → chunk-KGXVJO2V.js} +5 -5
- package/dist/bundle/{chunk-TOZ2COFV.js → chunk-KWGNPUIV.js} +7 -7
- package/dist/bundle/{chunk-JQSFIPWA.js → chunk-LL5HPYW5.js} +7 -7
- package/dist/bundle/{chunk-QZABT7XH.js → chunk-LXQQ7Q34.js} +9 -9
- package/dist/bundle/{chunk-WBWFH7ZT.js → chunk-M7UHHXSH.js} +1 -1
- package/dist/bundle/{chunk-QUJXYDYY.js → chunk-MLHRER2H.js} +2 -2
- package/dist/bundle/{chunk-U5B2ORUM.js → chunk-NCC3RXUX.js} +3 -3
- package/dist/bundle/{chunk-SANEKFUF.js → chunk-OGHWLR5E.js} +1 -1
- package/dist/bundle/{chunk-S7W5GFOI.js → chunk-OSDA5EZW.js} +283 -271
- package/dist/bundle/{chunk-Q3O7N35U.js → chunk-OZF7QBTS.js} +2 -2
- package/dist/bundle/{chunk-OJBM56FX.js → chunk-PAE2NZ7S.js} +20 -20
- package/dist/bundle/{chunk-GANKKP5F.js → chunk-QR5KWOZ2.js} +4 -4
- package/dist/bundle/{chunk-72DBFKCI.js → chunk-RZ3UQFLE.js} +1 -1
- package/dist/bundle/{chunk-Q35DHKBZ.js → chunk-SRYOICSG.js} +1 -1
- package/dist/bundle/{chunk-YFBNICKS.js → chunk-THIXDXP3.js} +2 -2
- package/dist/bundle/{chunk-SB7V3HFM.js → chunk-TWC6UJD2.js} +12 -12
- package/dist/bundle/{chunk-RBLUTSSL.js → chunk-U5WIWLWM.js} +6 -6
- package/dist/bundle/{chunk-GRTELFME.js → chunk-UEG3BDCX.js} +4 -4
- package/dist/bundle/{chunk-EP5U5WCQ.js → chunk-UGHYNVWQ.js} +1 -1
- package/dist/bundle/{chunk-O6ZLAFWQ.js → chunk-W3SMUCMB.js} +1 -1
- package/dist/bundle/{chunk-CQJO22KN.js → chunk-WAZWM4KZ.js} +20 -20
- package/dist/bundle/{chunk-AX6AMVVY.js → chunk-WHWACGZX.js} +7 -7
- package/dist/bundle/{chunk-DMY2YVJ7.js → chunk-WU6PDHXY.js} +5 -5
- package/dist/bundle/{chunk-UIUMG7AY.js → chunk-XAWB4WEC.js} +1 -1
- package/dist/bundle/{chunk-6BJPSIFE.js → chunk-XF7TG5VK.js} +38 -35
- package/dist/bundle/{chunk-ER7SUNTY.js → chunk-XV7M6VWX.js} +4 -4
- package/dist/bundle/{chunk-3ZEH35NH.js → chunk-YWWTEWX3.js} +1 -1
- package/dist/bundle/{chunk-B2YW6VOA.js → chunk-Z6OKSDP3.js} +1 -1
- package/dist/bundle/{chunk-D7JMUN36.js → chunk-ZH43Q2JO.js} +2 -2
- package/dist/bundle/{command-contract-JXLIGF3U.js → command-contract-ZRJPMWWI.js} +11 -11
- package/dist/bundle/{decode-HXMDIZKS.js → decode-MDCEP64X.js} +2 -2
- package/dist/bundle/{echarts-MRWQC3FY.js → echarts-RFIQAWMT.js} +2 -2
- package/dist/bundle/{embed-IEJFYZ7N.js → embed-443F7XR4.js} +3 -3
- package/dist/bundle/{embedder-N2TXC47Z.js → embedder-VRDPZFWC.js} +6 -6
- package/dist/bundle/{entry-VX4RACD7.js → entry-36KBOBA4.js} +4 -4
- package/dist/bundle/failure-QKFNHYKC.js +66 -0
- package/dist/bundle/{first-run-2GXQUNFV.js → first-run-CYZSGJTG.js} +5 -5
- package/dist/bundle/{first-screen-JRKMDJPK.js → first-screen-UY54KNVU.js} +12 -12
- package/dist/bundle/{instructions-FR4H42RI.js → instructions-RI2WFMBA.js} +1 -1
- package/dist/bundle/{mcp-IP3FEW24.js → mcp-DHX4GF3A.js} +35 -35
- package/dist/bundle/memo.js +6 -6
- package/dist/bundle/{node-QWBBKDHE.js → node-H7LWGE5H.js} +2 -2
- package/dist/bundle/{node-sqlite-GKJHUPHC.js → node-sqlite-N4POELFM.js} +3 -3
- package/dist/bundle/{oauth-ZQ7B32ZI.js → oauth-OOUASPSL.js} +4 -4
- package/dist/bundle/{open-TDGXVXNV.js → open-2T52CQDG.js} +2 -2
- package/dist/bundle/{openai-3T4YGUZM.js → openai-76CJYDRJ.js} +7 -7
- package/dist/bundle/{process-OBTDURL4.js → process-7YATIAKW.js} +1 -1
- package/dist/bundle/{program-6UJEO4TI.js → program-O4I2BGM2.js} +56 -56
- package/dist/bundle/{prompt-JZIIKSM4.js → prompt-MHD5EI75.js} +2 -2
- package/dist/bundle/{recognize-47F6WJYE.js → recognize-ARCD7XPJ.js} +1 -1
- package/dist/bundle/{remote-NHSYSI2S.js → remote-OQ7TUXN3.js} +4 -4
- package/dist/bundle/{rerank-HONNCBTA.js → rerank-422D4DZR.js} +4 -4
- package/dist/bundle/{serve-63BFDEQS.js → serve-ZOT62JRM.js} +6 -6
- package/dist/bundle/server-EISBI6O6.js +61 -0
- package/dist/bundle/{server-QWJPOH7K.js → server-HAZC3T7X.js} +50 -50
- package/dist/bundle/server-NNQ3YRBV.js +48 -0
- package/dist/bundle/{state-ZLODXERO.js → state-KBW7BI2G.js} +3 -3
- package/dist/bundle/{store-Q36VLED7.js → store-KZY5FZPD.js} +9 -9
- package/dist/bundle/store-maintenance-command-ZFQOMCLZ.js +48 -0
- package/dist/bundle/update-SAX5XN2C.js +69 -0
- package/dist/knowledge/project-status-command.js +1 -1
- package/dist/knowledge/project-status-command.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +2 -2
- package/skills/mail-triage/SKILL.md +2 -2
- package/dist/bundle/auto-MA47DOER.js +0 -86
- package/dist/bundle/failure-LU3CYK3U.js +0 -66
- package/dist/bundle/server-I6M5QH5W.js +0 -48
- package/dist/bundle/server-XYUNBCYP.js +0 -61
- package/dist/bundle/store-maintenance-command-EM53HVOY.js +0 -48
- package/dist/bundle/update-UKMV74FK.js +0 -69
- /package/dist/bundle/{chunk-TYQAAHHM.js → chunk-5VKETWNU.js} +0 -0
|
@@ -3,7 +3,7 @@ const require = __bundleRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
SAMPLE_RATE,
|
|
5
5
|
decodeOgg
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-JGDZ3G4P.js";
|
|
7
7
|
import {
|
|
8
8
|
importFrom
|
|
9
9
|
} from "./chunk-Y5E2WNWB.js";
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
__name
|
|
15
15
|
} from "./chunk-ZVVMGPBJ.js";
|
|
16
16
|
|
|
17
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
17
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.583.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_8615f98b0983d1fbb51a11cdebd6e805/node_modules/@wirecat/cli-core/dist/speech/decode.js
|
|
18
18
|
import { spawn } from "node:child_process";
|
|
19
19
|
import { mkdtemp, rm, writeFile } from "node:fs/promises";
|
|
20
20
|
import { createRequire } from "node:module";
|
|
@@ -3,21 +3,21 @@ const require = __bundleRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
answers,
|
|
5
5
|
itemAnswer
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-ADMB7OK5.js";
|
|
7
7
|
import {
|
|
8
8
|
loadConfig,
|
|
9
9
|
updateConfig
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-XF7TG5VK.js";
|
|
11
11
|
import {
|
|
12
12
|
failingNotice,
|
|
13
13
|
recordRun
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-OSDA5EZW.js";
|
|
15
15
|
import {
|
|
16
16
|
InvalidArgumentError,
|
|
17
17
|
LOCAL_READ,
|
|
18
18
|
LOCAL_WRITE,
|
|
19
19
|
annotate
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-KAU67PDK.js";
|
|
21
21
|
import {
|
|
22
22
|
installerOf
|
|
23
23
|
} from "./chunk-CID4MNRQ.js";
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
__name
|
|
5
5
|
} from "./chunk-ZVVMGPBJ.js";
|
|
6
6
|
|
|
7
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.583.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_8615f98b0983d1fbb51a11cdebd6e805/node_modules/@wirecat/cli-core/dist/store/sqlite/drizzle/shared-55XJMTPA.js
|
|
8
8
|
var entityKind = /* @__PURE__ */ Symbol.for("drizzle:entityKind");
|
|
9
9
|
var kindsByConstructor = /* @__PURE__ */ new WeakMap();
|
|
10
10
|
function collectKinds(ctor) {
|
|
@@ -2,7 +2,7 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
PRAGMAS
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-BWNNUEHG.js";
|
|
6
6
|
import {
|
|
7
7
|
CliError
|
|
8
8
|
} from "./chunk-RZ54DSVU.js";
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
__name
|
|
11
11
|
} from "./chunk-ZVVMGPBJ.js";
|
|
12
12
|
|
|
13
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
13
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.583.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_8615f98b0983d1fbb51a11cdebd6e805/node_modules/@wirecat/cli-core/dist/store/sqlite-warning.js
|
|
14
14
|
var SQLITE_WARNING = "SQLite is an experimental feature";
|
|
15
15
|
var quieted = /* @__PURE__ */ new WeakSet();
|
|
16
16
|
var quietSqliteWarning = /* @__PURE__ */ __name((host = process) => {
|
|
@@ -31,7 +31,7 @@ var isSqliteWarning = /* @__PURE__ */ __name((warning, options) => {
|
|
|
31
31
|
return name === "ExperimentalWarning" && message.startsWith(SQLITE_WARNING);
|
|
32
32
|
}, "isSqliteWarning");
|
|
33
33
|
|
|
34
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
34
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.583.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_8615f98b0983d1fbb51a11cdebd6e805/node_modules/@wirecat/cli-core/dist/store/open.js
|
|
35
35
|
var openCache = /* @__PURE__ */ __name(async (path) => {
|
|
36
36
|
const database = await openFile(path);
|
|
37
37
|
try {
|
|
@@ -44,12 +44,12 @@ var openCache = /* @__PURE__ */ __name(async (path) => {
|
|
|
44
44
|
}, "openCache");
|
|
45
45
|
var openFile = /* @__PURE__ */ __name((path) => "Bun" in globalThis ? openUnderBun(path) : openUnderNode(path), "openFile");
|
|
46
46
|
var openUnderBun = /* @__PURE__ */ __name(async (path) => {
|
|
47
|
-
const { openWithBunSqlite } = await import("./bun-sqlite-
|
|
47
|
+
const { openWithBunSqlite } = await import("./bun-sqlite-HORFVNNY.js");
|
|
48
48
|
return await openWithBunSqlite(path);
|
|
49
49
|
}, "openUnderBun");
|
|
50
50
|
var openUnderNode = /* @__PURE__ */ __name(async (path) => {
|
|
51
51
|
quietSqliteWarning();
|
|
52
|
-
const { openWithNodeSqlite } = await import("./node-sqlite-
|
|
52
|
+
const { openWithNodeSqlite } = await import("./node-sqlite-N4POELFM.js");
|
|
53
53
|
return openWithNodeSqlite(path);
|
|
54
54
|
}, "openUnderNode");
|
|
55
55
|
var runtime = /* @__PURE__ */ __name(() => {
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
__name
|
|
5
5
|
} from "./chunk-ZVVMGPBJ.js";
|
|
6
6
|
|
|
7
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.583.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_8615f98b0983d1fbb51a11cdebd6e805/node_modules/@wirecat/cli-core/dist/http/listen.js
|
|
8
8
|
import { createServer } from "node:http";
|
|
9
9
|
import { Readable } from "node:stream";
|
|
10
10
|
var MAX_BODY = 4 * 1024 * 1024;
|
|
@@ -20,7 +20,7 @@ import {
|
|
|
20
20
|
tool,
|
|
21
21
|
toolKey,
|
|
22
22
|
toolsFromCommands
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-6RAU7FD2.js";
|
|
24
24
|
import {
|
|
25
25
|
CHART_KINDS,
|
|
26
26
|
CHART_SIZE,
|
|
@@ -33,24 +33,24 @@ import {
|
|
|
33
33
|
registerPrompts,
|
|
34
34
|
stdinFieldOf,
|
|
35
35
|
syncsFirst
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-PAE2NZ7S.js";
|
|
37
37
|
import {
|
|
38
38
|
mcpUrlOf
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-OGHWLR5E.js";
|
|
40
40
|
import {
|
|
41
41
|
agentJson,
|
|
42
42
|
skillResource
|
|
43
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-B4XRE67Q.js";
|
|
44
44
|
import {
|
|
45
45
|
instructions
|
|
46
|
-
} from "./chunk-
|
|
46
|
+
} from "./chunk-2YJBI3NK.js";
|
|
47
47
|
import {
|
|
48
48
|
answeredWire
|
|
49
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-Z6OKSDP3.js";
|
|
50
50
|
import {
|
|
51
51
|
callerOf,
|
|
52
52
|
callingAgent
|
|
53
|
-
} from "./chunk-
|
|
53
|
+
} from "./chunk-756VKGKO.js";
|
|
54
54
|
import {
|
|
55
55
|
StdioServerTransport,
|
|
56
56
|
serveStdio
|
|
@@ -62,7 +62,7 @@ import {
|
|
|
62
62
|
import {
|
|
63
63
|
connectedFor,
|
|
64
64
|
guardFor
|
|
65
|
-
} from "./chunk-
|
|
65
|
+
} from "./chunk-WAZWM4KZ.js";
|
|
66
66
|
import {
|
|
67
67
|
capability,
|
|
68
68
|
dateWindow,
|
|
@@ -71,10 +71,10 @@ import {
|
|
|
71
71
|
servicesFor,
|
|
72
72
|
storedDeps,
|
|
73
73
|
wholeList
|
|
74
|
-
} from "./chunk-
|
|
74
|
+
} from "./chunk-AKSNCK5L.js";
|
|
75
75
|
import {
|
|
76
76
|
findCommand
|
|
77
|
-
} from "./chunk-
|
|
77
|
+
} from "./chunk-OZF7QBTS.js";
|
|
78
78
|
import {
|
|
79
79
|
DEFAULT_OUTPUT_BYTES,
|
|
80
80
|
changesAuthorityAt,
|
|
@@ -90,27 +90,27 @@ import {
|
|
|
90
90
|
sealed,
|
|
91
91
|
snakeKeys,
|
|
92
92
|
typedCommand
|
|
93
|
-
} from "./chunk-
|
|
93
|
+
} from "./chunk-KAU67PDK.js";
|
|
94
94
|
import {
|
|
95
95
|
isCliFailure,
|
|
96
96
|
withCaller
|
|
97
|
-
} from "./chunk-
|
|
97
|
+
} from "./chunk-LL5HPYW5.js";
|
|
98
98
|
import {
|
|
99
99
|
readOnlyLockOf
|
|
100
|
-
} from "./chunk-
|
|
100
|
+
} from "./chunk-UGHYNVWQ.js";
|
|
101
101
|
import {
|
|
102
102
|
mcpHttpMarker
|
|
103
|
-
} from "./chunk-
|
|
103
|
+
} from "./chunk-QR5KWOZ2.js";
|
|
104
104
|
import {
|
|
105
105
|
openStore,
|
|
106
106
|
pdfPreviewLimits
|
|
107
|
-
} from "./chunk-
|
|
107
|
+
} from "./chunk-A7M74RZH.js";
|
|
108
108
|
import {
|
|
109
109
|
timezoneOf
|
|
110
|
-
} from "./chunk-
|
|
110
|
+
} from "./chunk-CB34NXQP.js";
|
|
111
111
|
import {
|
|
112
112
|
warmEmbedders
|
|
113
|
-
} from "./chunk-
|
|
113
|
+
} from "./chunk-KGXVJO2V.js";
|
|
114
114
|
import {
|
|
115
115
|
description,
|
|
116
116
|
integer,
|
|
@@ -135,10 +135,10 @@ import {
|
|
|
135
135
|
__name
|
|
136
136
|
} from "./chunk-ZVVMGPBJ.js";
|
|
137
137
|
|
|
138
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
138
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.583.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_8615f98b0983d1fbb51a11cdebd6e805/node_modules/@wirecat/cli-core/dist/mcp/server.js
|
|
139
139
|
import { randomUUID } from "node:crypto";
|
|
140
140
|
|
|
141
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
141
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.583.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_8615f98b0983d1fbb51a11cdebd6e805/node_modules/@wirecat/cli-core/dist/mcp/agent-log.js
|
|
142
142
|
var agentLog = /* @__PURE__ */ __name((open) => {
|
|
143
143
|
let held;
|
|
144
144
|
return {
|
|
@@ -157,7 +157,7 @@ var agentLog = /* @__PURE__ */ __name((open) => {
|
|
|
157
157
|
};
|
|
158
158
|
}, "agentLog");
|
|
159
159
|
|
|
160
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
160
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.583.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_8615f98b0983d1fbb51a11cdebd6e805/node_modules/@wirecat/cli-core/dist/mcp/resources.js
|
|
161
161
|
var LISTED = 100;
|
|
162
162
|
var registerResources = /* @__PURE__ */ __name((server, session, { command, name, limit, recorded, withStore, messenger, guard, assertRead }) => {
|
|
163
163
|
server.registerResource("chat", new ResourceTemplate(`${command}://chat/{id}`, {
|
|
@@ -195,7 +195,7 @@ var registerResources = /* @__PURE__ */ __name((server, session, { command, name
|
|
|
195
195
|
});
|
|
196
196
|
}, "registerResources");
|
|
197
197
|
|
|
198
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
198
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.583.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_8615f98b0983d1fbb51a11cdebd6e805/node_modules/@wirecat/cli-core/dist/mcp/session.js
|
|
199
199
|
var HARMLESS = /* @__PURE__ */ new Set(["validation_error", "not_found", "permission_error", "confirmation_required", "rate_limited"]);
|
|
200
200
|
var harmless = /* @__PURE__ */ __name((code) => HARMLESS.has(code), "harmless");
|
|
201
201
|
var MessengerSession = class {
|
|
@@ -270,7 +270,7 @@ var MessengerSession = class {
|
|
|
270
270
|
}
|
|
271
271
|
};
|
|
272
272
|
|
|
273
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
273
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.583.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_8615f98b0983d1fbb51a11cdebd6e805/node_modules/@wirecat/cli-core/dist/mcp/tools/attachments.js
|
|
274
274
|
var attachmentsTools = /* @__PURE__ */ __name((messenger) => {
|
|
275
275
|
const _command = messenger.app.command;
|
|
276
276
|
return {
|
|
@@ -324,7 +324,7 @@ var attachmentsTools = /* @__PURE__ */ __name((messenger) => {
|
|
|
324
324
|
};
|
|
325
325
|
}, "attachmentsTools");
|
|
326
326
|
|
|
327
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
327
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.583.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_8615f98b0983d1fbb51a11cdebd6e805/node_modules/@wirecat/cli-core/dist/mcp/tools/messages-photo.js
|
|
328
328
|
var PHOTO_LIMIT = 512 * 1024;
|
|
329
329
|
var IMAGE_TYPES = [
|
|
330
330
|
["image/jpeg", (b) => b[0] === 255 && b[1] === 216 && b[2] === 255],
|
|
@@ -378,7 +378,7 @@ var readUpTo = /* @__PURE__ */ __name(async (file, limit, saveIt) => {
|
|
|
378
378
|
return new Uint8Array(Buffer.concat(chunks));
|
|
379
379
|
}, "readUpTo");
|
|
380
380
|
|
|
381
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
381
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.583.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_8615f98b0983d1fbb51a11cdebd6e805/node_modules/@wirecat/cli-core/dist/mcp/tools/stats.js
|
|
382
382
|
var statsTools = /* @__PURE__ */ __name((messenger) => ({
|
|
383
383
|
stats_charts: tool({
|
|
384
384
|
title: "A chart from a chat's statistics",
|
|
@@ -415,14 +415,14 @@ var statsTools = /* @__PURE__ */ __name((messenger) => ({
|
|
|
415
415
|
})
|
|
416
416
|
}), "statsTools");
|
|
417
417
|
|
|
418
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
418
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.583.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_8615f98b0983d1fbb51a11cdebd6e805/node_modules/@wirecat/cli-core/dist/mcp/tools.js
|
|
419
419
|
var pictureTools = /* @__PURE__ */ __name((messenger) => Object.fromEntries(Object.entries({
|
|
420
420
|
...messagesPhotoTools(messenger),
|
|
421
421
|
...attachmentsTools(messenger),
|
|
422
422
|
...statsTools(messenger)
|
|
423
423
|
}).map(([name, definition]) => [name, { ...definition, input: strictObject(definition.input.entries) }])), "pictureTools");
|
|
424
424
|
|
|
425
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
425
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.583.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_8615f98b0983d1fbb51a11cdebd6e805/node_modules/@wirecat/cli-core/dist/mcp/server.js
|
|
426
426
|
var PER_RUN = /* @__PURE__ */ new Set([
|
|
427
427
|
"streams",
|
|
428
428
|
"stdin",
|
|
@@ -746,7 +746,7 @@ var serveOverStdio = /* @__PURE__ */ __name(async (command, context, messenger,
|
|
|
746
746
|
}, "serveOverStdio");
|
|
747
747
|
var serveOverHttpUntilStopped = /* @__PURE__ */ __name(async (command, context, messenger, options, http) => {
|
|
748
748
|
const { session, embedders, build, log } = createServer(command, context, messenger, options);
|
|
749
|
-
const { serveOverHttp } = await import("./serve-
|
|
749
|
+
const { serveOverHttp } = await import("./serve-ZOT62JRM.js");
|
|
750
750
|
const appName = messenger.app.command;
|
|
751
751
|
const appEnvPrefix = messenger.app.envPrefix;
|
|
752
752
|
const listening = await serveOverHttp(build, {
|
|
@@ -2,15 +2,15 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
loadConfig
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-XF7TG5VK.js";
|
|
6
6
|
import {
|
|
7
7
|
upgradeCommand
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-OSDA5EZW.js";
|
|
9
9
|
import {
|
|
10
10
|
FETCH,
|
|
11
11
|
annotate,
|
|
12
12
|
overrideSharedContract
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-KAU67PDK.js";
|
|
14
14
|
import {
|
|
15
15
|
latestVersion,
|
|
16
16
|
runUpdate,
|
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
import {
|
|
20
20
|
APP,
|
|
21
21
|
VERSION
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-RZ3UQFLE.js";
|
|
23
23
|
import {
|
|
24
24
|
installerOf
|
|
25
25
|
} from "./chunk-CID4MNRQ.js";
|
|
@@ -34,7 +34,7 @@ import {
|
|
|
34
34
|
// dist/update.js
|
|
35
35
|
import { join } from "node:path";
|
|
36
36
|
|
|
37
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
37
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.583.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_8615f98b0983d1fbb51a11cdebd6e805/node_modules/@wirecat/cli-core/dist/update/index.js
|
|
38
38
|
import { realpathSync } from "node:fs";
|
|
39
39
|
import { fileURLToPath } from "node:url";
|
|
40
40
|
var QUIET_WORDS = [
|
|
@@ -10,10 +10,10 @@ import {
|
|
|
10
10
|
__name
|
|
11
11
|
} from "./chunk-ZVVMGPBJ.js";
|
|
12
12
|
|
|
13
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
13
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.583.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_8615f98b0983d1fbb51a11cdebd6e805/node_modules/@wirecat/cli-core/dist/speech/recognize.js
|
|
14
14
|
import { createRequire } from "node:module";
|
|
15
15
|
|
|
16
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
16
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.583.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_8615f98b0983d1fbb51a11cdebd6e805/node_modules/@wirecat/cli-core/dist/speech/ogg-limit.js
|
|
17
17
|
var invalid = /* @__PURE__ */ __name(() => new CliError("validation_error", "local transcription needs a complete mono or stereo Ogg Opus recording"), "invalid");
|
|
18
18
|
var checkOggDuration = /* @__PURE__ */ __name((bytes) => {
|
|
19
19
|
const view = new DataView(bytes.buffer, bytes.byteOffset, bytes.byteLength);
|
|
@@ -70,7 +70,7 @@ var checkOggDuration = /* @__PURE__ */ __name((bytes) => {
|
|
|
70
70
|
throw invalid();
|
|
71
71
|
}, "checkOggDuration");
|
|
72
72
|
|
|
73
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
73
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.583.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_8615f98b0983d1fbb51a11cdebd6e805/node_modules/@wirecat/cli-core/dist/speech/recognize.js
|
|
74
74
|
var SAMPLE_RATE = 16e3;
|
|
75
75
|
var LEAD = SAMPLE_RATE / 2;
|
|
76
76
|
var toModelRate = /* @__PURE__ */ __name((samples, rate) => {
|