@wirecat/cli-memo 0.131.22 → 0.131.24
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-EZLU6CY7.js → all-profiles-ZCJTYGOL.js} +7 -7
- package/dist/bundle/{anthropic-XC34PJH5.js → anthropic-7WVLAKTX.js} +5 -5
- package/dist/bundle/{app-server-PRQVGA5X.js → app-server-6G3SXEHO.js} +38 -38
- package/dist/bundle/auto-JWPM5654.js +86 -0
- package/dist/bundle/{bun-CKGKUKW5.js → bun-JVBDJKBB.js} +2 -2
- package/dist/bundle/{bun-sqlite-S6KUSMTC.js → bun-sqlite-P4I7NVMQ.js} +4 -4
- package/dist/bundle/{chunk-7F6FGMCC.js → chunk-2IRCJT4O.js} +7 -7
- package/dist/bundle/{chunk-SO2YVKBK.js → chunk-3KNXQZMO.js} +28 -28
- package/dist/bundle/{chunk-WEOFWTWZ.js → chunk-3MER7NE6.js} +3 -3
- package/dist/bundle/{chunk-DNGHE2Q4.js → chunk-3U7OUQV2.js} +1 -1
- package/dist/bundle/{chunk-AIIQ7YU4.js → chunk-5YCNCXL5.js} +1 -1
- package/dist/bundle/{chunk-2NJUPIAO.js → chunk-AIGMYGEL.js} +1 -1
- package/dist/bundle/{chunk-7W3RCCRR.js → chunk-AIVUS6WA.js} +10 -10
- package/dist/bundle/{chunk-KUNA6MQZ.js → chunk-ALGIPJ6L.js} +1 -1
- package/dist/bundle/{chunk-IFWBFYXN.js → chunk-AWGV4VOA.js} +11 -11
- package/dist/bundle/{chunk-QMMUPDRK.js → chunk-BTQSFPIM.js} +4 -4
- package/dist/bundle/{chunk-SMDWUPXE.js → chunk-CM2H7NRC.js} +3 -3
- package/dist/bundle/{chunk-CBYZW5CC.js → chunk-CPJEQK4V.js} +45 -45
- package/dist/bundle/{chunk-ILC7NFS2.js → chunk-DIMX5AEE.js} +4 -4
- package/dist/bundle/{program-ZIRYOO2T.js → chunk-DMQ3342A.js} +881 -11256
- package/dist/bundle/{chunk-VQM3H422.js → chunk-EACY2ULS.js} +428 -204
- package/dist/bundle/{chunk-IRDGD3QQ.js → chunk-EB7LKK4K.js} +1 -1
- package/dist/bundle/{chunk-XA6YO24S.js → chunk-EGG3PGCM.js} +1 -1
- package/dist/bundle/{chunk-J35OGOCI.js → chunk-EKTZEF3Q.js} +2 -2
- package/dist/bundle/{chunk-SXGAIQ5X.js → chunk-ELKYINWL.js} +12 -12
- package/dist/bundle/{chunk-VECICKTE.js → chunk-F2ED6KG6.js} +2 -2
- package/dist/bundle/{chunk-RG6ITTLQ.js → chunk-FXHN2UZW.js} +19 -14
- package/dist/bundle/{chunk-YAUDFROV.js → chunk-GQOXFZBX.js} +673 -371
- package/dist/bundle/{chunk-PF3ALSAV.js → chunk-GRXVN2X7.js} +1 -1
- package/dist/bundle/{chunk-6JOT5KWM.js → chunk-GSEDSGJF.js} +358 -266
- package/dist/bundle/{chunk-XPRYBLTS.js → chunk-IC2TL7RW.js} +2 -2
- package/dist/bundle/{chunk-MHDLZCEO.js → chunk-IJC6MFLP.js} +8 -8
- package/dist/bundle/{chunk-CCOYC6HL.js → chunk-INTF3YPV.js} +2 -2
- package/dist/bundle/{chunk-WUCQ56RP.js → chunk-ITQBXFMC.js} +2 -2
- package/dist/bundle/{chunk-ZKWE5MCA.js → chunk-J6D34BFP.js} +803 -351
- package/dist/bundle/{chunk-3V4WIGWC.js → chunk-JCCL7RGH.js} +2 -2
- package/dist/bundle/{chunk-VDBFSLHP.js → chunk-JDDVGGUV.js} +5 -5
- package/dist/bundle/{chunk-EG2OMKWH.js → chunk-JY4LVWGZ.js} +12 -0
- package/dist/bundle/{chunk-RNXYDBQO.js → chunk-KQSHIQSV.js} +134 -59
- package/dist/bundle/{chunk-KXERKAID.js → chunk-LNXFM4FD.js} +13 -13
- package/dist/bundle/{chunk-RHJC4PHV.js → chunk-LWIMGWKB.js} +3 -3
- package/dist/bundle/{chunk-ZD3STMY7.js → chunk-M43DAAZ7.js} +1 -1
- package/dist/bundle/{chunk-5UOOH7VG.js → chunk-MLMSQK76.js} +1 -1
- package/dist/bundle/{chunk-LGNS4JVK.js → chunk-MPVW7BQZ.js} +5 -5
- package/dist/bundle/{chunk-HXRIV2TV.js → chunk-MROFZXAB.js} +63 -30
- package/dist/bundle/{chunk-UCINAEIA.js → chunk-N5H6I7WQ.js} +5 -5
- package/dist/bundle/{chunk-OJRLTJRS.js → chunk-NAH473ZR.js} +1 -1
- package/dist/bundle/{chunk-DZSWKA3K.js → chunk-ND3GBFEY.js} +1 -1
- package/dist/bundle/{chunk-7MLWSUEK.js → chunk-OQK2IKPB.js} +1 -1
- package/dist/bundle/{chunk-3B645KUY.js → chunk-Q6MFBH6Q.js} +9 -9
- package/dist/bundle/{chunk-BB2MGFOZ.js → chunk-R2LJDDZP.js} +3 -3
- package/dist/bundle/{chunk-NELE7AIX.js → chunk-R3LNQ3I4.js} +1 -1
- package/dist/bundle/{chunk-LR5EY5JY.js → chunk-RTESJ5O2.js} +3 -3
- package/dist/bundle/{chunk-5RBLNI6C.js → chunk-SKTGBVYC.js} +4 -4
- package/dist/bundle/{chunk-CDZZ2DZO.js → chunk-T4LW6UYQ.js} +1 -1
- package/dist/bundle/{chunk-RC7TIYUZ.js → chunk-UA2C4BCH.js} +8 -8
- package/dist/bundle/{chunk-2TBIVKBH.js → chunk-UPXUE27A.js} +5 -5
- package/dist/bundle/{chunk-OUF6RCRZ.js → chunk-UVR6U55E.js} +5 -5
- package/dist/bundle/{chunk-VXHN3SWW.js → chunk-UXCDBNAY.js} +2 -2
- package/dist/bundle/{chunk-MCPDL5YU.js → chunk-UY2VH3QK.js} +1 -1
- package/dist/bundle/{chunk-CP5N3KH3.js → chunk-VLPMB3UU.js} +4 -4
- package/dist/bundle/{chunk-UG2V7BQY.js → chunk-VVEFQEWP.js} +21 -21
- package/dist/bundle/{chunk-THGFFQCK.js → chunk-XF3LZ32F.js} +2 -2
- package/dist/bundle/{chunk-GV2FSWFS.js → chunk-XSI5NYGB.js} +7 -7
- package/dist/bundle/{chunk-4SGCOUQ6.js → chunk-ZDOVR4PA.js} +6 -6
- package/dist/bundle/{chunk-OFYKXQMS.js → chunk-ZLZE5P6M.js} +7 -7
- package/dist/bundle/{chunk-E5FQ7U7L.js → chunk-ZOYGY2PN.js} +2 -2
- package/dist/bundle/{command-contract-TMVGYSQQ.js → command-contract-543RRFNU.js} +13 -13
- package/dist/bundle/{decode-6XSZIZAA.js → decode-YHX3DQG2.js} +4 -4
- package/dist/bundle/{dispatch-VUMQPYMA.js → dispatch-MELZFYOS.js} +1 -1
- package/dist/bundle/{echarts-NGS4QG4E.js → echarts-FBVAP7BR.js} +2 -2
- package/dist/bundle/{embed-YNH5M6UL.js → embed-CQJ42S5C.js} +5 -5
- package/dist/bundle/{embedder-LLNK4JF4.js → embedder-EDXLEJ27.js} +8 -8
- package/dist/bundle/{entry-L42C5CHF.js → entry-HZEA7QFK.js} +6 -6
- package/dist/bundle/failure-62G7QSPX.js +66 -0
- package/dist/bundle/{failure-Z2FXWIBY.js → failure-RBNZBCZJ.js} +1 -1
- package/dist/bundle/{first-run-TT6KMHKA.js → first-run-JZQN7R6M.js} +8 -8
- package/dist/bundle/first-screen-56V3UOQE.js +30 -0
- package/dist/bundle/{instructions-4EJ4BBWD.js → instructions-NYVYNWVU.js} +1 -1
- package/dist/bundle/mcp-Y6IPYDS2.js +90 -0
- package/dist/bundle/memo.js +9 -9
- package/dist/bundle/{node-QQXKQWNC.js → node-2QE6UPGS.js} +2 -2
- package/dist/bundle/{node-sqlite-GJI2GMLW.js → node-sqlite-SDHZJNY7.js} +5 -5
- package/dist/bundle/{oauth-Q5VGUPUR.js → oauth-FFUJREKS.js} +6 -6
- package/dist/bundle/{open-NSXIYF3N.js → open-NT2GYX6N.js} +4 -4
- package/dist/bundle/{openai-LHH7MSGQ.js → openai-IQA2XR6Z.js} +9 -9
- package/dist/bundle/{process-PI6XUJWP.js → process-HIEJXYW6.js} +1 -1
- package/dist/bundle/program-DEMRKCZY.js +10972 -0
- package/dist/bundle/{prompt-VFXA7IKL.js → prompt-IOZAME2R.js} +4 -4
- package/dist/bundle/{recognize-UWAARXOH.js → recognize-2XOAZJ5N.js} +3 -3
- package/dist/bundle/{remote-KGEVCB2Q.js → remote-2LE7OTDA.js} +6 -6
- package/dist/bundle/{rerank-SCBTCBPO.js → rerank-UKOVVZM6.js} +6 -6
- package/dist/bundle/{serve-WPVKVR24.js → serve-S2UHPEBP.js} +8 -8
- package/dist/bundle/server-3YNOEPWU.js +61 -0
- package/dist/bundle/{server-VO5SXU5A.js → server-BG4WWQHY.js} +53 -53
- package/dist/bundle/server-EZWQ5KP4.js +48 -0
- package/dist/bundle/{setup-X6OJ3K4F.js → setup-2X7ADKFH.js} +42 -42
- package/dist/bundle/{state-KGHS4C6J.js → state-F5KT3CBD.js} +5 -5
- package/dist/bundle/{store-VCVOIQES.js → store-WBUUS7FO.js} +11 -11
- package/dist/bundle/store-maintenance-command-KLST56XF.js +48 -0
- package/dist/bundle/update-WH4CGJGP.js +69 -0
- package/dist/config-command.d.ts.map +1 -1
- package/dist/config-command.js +23 -2
- package/dist/config-command.js.map +1 -1
- package/dist/config.d.ts +11 -2
- package/dist/config.d.ts.map +1 -1
- package/dist/config.js +50 -3
- package/dist/config.js.map +1 -1
- package/dist/examples.d.ts.map +1 -1
- package/dist/examples.js +2 -0
- package/dist/examples.js.map +1 -1
- package/dist/mail/review-command.d.ts.map +1 -1
- package/dist/mail/review-command.js +6 -0
- package/dist/mail/review-command.js.map +1 -1
- package/dist/review/kinds.js +2 -2
- package/dist/review/kinds.js.map +1 -1
- package/dist/tasks/command.js +2 -2
- package/dist/tasks/command.js.map +1 -1
- package/dist/tasks/tasks.d.ts +1 -1
- package/dist/tasks/tasks.d.ts.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +3 -3
- package/dist/bundle/auto-S3AYMAGB.js +0 -86
- package/dist/bundle/chunk-XW4KGSAA.js +0 -412
- package/dist/bundle/failure-TQJGSWRU.js +0 -66
- package/dist/bundle/first-screen-56KZKY77.js +0 -30
- package/dist/bundle/mcp-PNC3TI7O.js +0 -90
- package/dist/bundle/server-F2PSE6LG.js +0 -48
- package/dist/bundle/server-K5JYA3ZT.js +0 -61
- package/dist/bundle/store-maintenance-command-R4CP6AZN.js +0 -48
- package/dist/bundle/update-M6AIJ2SZ.js +0 -69
- /package/dist/bundle/{chunk-YYQN5ES2.js → chunk-CWOKGEL3.js} +0 -0
package/dist/bin/memo.js
CHANGED
|
@@ -9,7 +9,7 @@ if (
|
|
|
9
9
|
(words[0] === "--version" || words[0] === "-V") &&
|
|
10
10
|
!Object.keys(process.env).some((key) => key.endsWith("_TEST_ARGV_LOG"))
|
|
11
11
|
) {
|
|
12
|
-
process.stdout.write("0.131.
|
|
12
|
+
process.stdout.write("0.131.24\n")
|
|
13
13
|
} else {
|
|
14
14
|
// Before the bundle compiles: the bundle's own call comes after its chunks.
|
|
15
15
|
module.enableCompileCache()
|
|
@@ -28,7 +28,7 @@ if (
|
|
|
28
28
|
: next(specifier, context),
|
|
29
29
|
})
|
|
30
30
|
}
|
|
31
|
-
const chunks = ["../bundle/all-profiles-
|
|
31
|
+
const chunks = ["../bundle/all-profiles-ZCJTYGOL.js","../bundle/anthropic-7WVLAKTX.js","../bundle/app-server-6G3SXEHO.js","../bundle/auto-JWPM5654.js","../bundle/bun-JVBDJKBB.js","../bundle/bun-sqlite-P4I7NVMQ.js","../bundle/command-contract-543RRFNU.js","../bundle/decode-YHX3DQG2.js","../bundle/dispatch-MELZFYOS.js","../bundle/dist-GZQWFMCL.js","../bundle/echarts-FBVAP7BR.js","../bundle/embed-CQJ42S5C.js","../bundle/embedder-EDXLEJ27.js","../bundle/entry-HZEA7QFK.js","../bundle/failure-62G7QSPX.js","../bundle/failure-RBNZBCZJ.js","../bundle/first-run-JZQN7R6M.js","../bundle/first-screen-56V3UOQE.js","../bundle/instructions-NYVYNWVU.js","../bundle/mcp-MNI62HHE.js","../bundle/mcp-Y6IPYDS2.js","../bundle/node-2QE6UPGS.js","../bundle/node-P4E63KXA.js","../bundle/node-TLZSIHIJ.js","../bundle/node-sqlite-SDHZJNY7.js","../bundle/oauth-FFUJREKS.js","../bundle/open-NT2GYX6N.js","../bundle/openai-IQA2XR6Z.js","../bundle/process-HIEJXYW6.js","../bundle/program-DEMRKCZY.js","../bundle/prompt-IOZAME2R.js","../bundle/recognize-2XOAZJ5N.js","../bundle/remote-2LE7OTDA.js","../bundle/rerank-UKOVVZM6.js","../bundle/serve-S2UHPEBP.js","../bundle/server-3YNOEPWU.js","../bundle/server-BG4WWQHY.js","../bundle/server-EZWQ5KP4.js","../bundle/setup-2X7ADKFH.js","../bundle/state-F5KT3CBD.js","../bundle/stdio-FRV4R7LJ.js","../bundle/store-WBUUS7FO.js","../bundle/store-maintenance-command-KLST56XF.js","../bundle/update-WH4CGJGP.js"]
|
|
32
32
|
if (((words) => words
|
|
33
33
|
.filter((word) => !word.startsWith("-"))
|
|
34
34
|
.slice(0, 2)
|
|
@@ -6,17 +6,17 @@ import {
|
|
|
6
6
|
serveAllProfilesOverHttp,
|
|
7
7
|
serveAllProfilesOverStdio,
|
|
8
8
|
withProfile
|
|
9
|
-
} from "./chunk-
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import "./chunk-
|
|
9
|
+
} from "./chunk-SKTGBVYC.js";
|
|
10
|
+
import "./chunk-EB7LKK4K.js";
|
|
11
|
+
import "./chunk-INTF3YPV.js";
|
|
12
12
|
import "./chunk-MM5NVP7F.js";
|
|
13
13
|
import "./chunk-3X4JM3ZR.js";
|
|
14
14
|
import "./chunk-H3ZN4YLB.js";
|
|
15
|
-
import "./chunk-
|
|
16
|
-
import "./chunk-
|
|
15
|
+
import "./chunk-UA2C4BCH.js";
|
|
16
|
+
import "./chunk-GRXVN2X7.js";
|
|
17
17
|
import "./chunk-NUN6OGOV.js";
|
|
18
|
-
import "./chunk-
|
|
19
|
-
import "./chunk-
|
|
18
|
+
import "./chunk-T4LW6UYQ.js";
|
|
19
|
+
import "./chunk-JY4LVWGZ.js";
|
|
20
20
|
import "./chunk-Y5E2WNWB.js";
|
|
21
21
|
import "./chunk-CCHHEMPM.js";
|
|
22
22
|
import "./chunk-ZVVMGPBJ.js";
|
|
@@ -2,28 +2,28 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
checkedOptions
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-ZOYGY2PN.js";
|
|
6
6
|
import {
|
|
7
7
|
messagesFor,
|
|
8
8
|
systemFor
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-ALGIPJ6L.js";
|
|
10
10
|
import {
|
|
11
11
|
Anthropic
|
|
12
12
|
} from "./chunk-ADLS6FVG.js";
|
|
13
|
-
import "./chunk-
|
|
13
|
+
import "./chunk-T4LW6UYQ.js";
|
|
14
14
|
import {
|
|
15
15
|
array,
|
|
16
16
|
optional,
|
|
17
17
|
strictObject,
|
|
18
18
|
string
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-JY4LVWGZ.js";
|
|
20
20
|
import "./chunk-Y5E2WNWB.js";
|
|
21
21
|
import "./chunk-CCHHEMPM.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.564.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_0a4d79b5da58b1179a36aa928f36b150/node_modules/@wirecat/cli-core/dist/models/anthropic.js
|
|
27
27
|
var options = strictObject({
|
|
28
28
|
stop_sequences: optional(array(string()))
|
|
29
29
|
});
|
|
@@ -3,29 +3,29 @@ const require = __bundleRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
PER_RUN,
|
|
5
5
|
envelope
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-3KNXQZMO.js";
|
|
7
7
|
import {
|
|
8
8
|
answered,
|
|
9
9
|
failed,
|
|
10
10
|
registerCommands,
|
|
11
11
|
runCommandForAgent,
|
|
12
12
|
toolsFromCommands
|
|
13
|
-
} from "./chunk-
|
|
14
|
-
import "./chunk-
|
|
13
|
+
} from "./chunk-LNXFM4FD.js";
|
|
14
|
+
import "./chunk-MROFZXAB.js";
|
|
15
15
|
import {
|
|
16
16
|
mcpUrlOf
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-EGG3PGCM.js";
|
|
18
18
|
import {
|
|
19
19
|
agentJson,
|
|
20
20
|
skillResource
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-FXHN2UZW.js";
|
|
22
22
|
import {
|
|
23
23
|
appInstructions
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-NAH473ZR.js";
|
|
25
25
|
import {
|
|
26
26
|
answeredWire
|
|
27
|
-
} from "./chunk-
|
|
28
|
-
import "./chunk-
|
|
27
|
+
} from "./chunk-EB7LKK4K.js";
|
|
28
|
+
import "./chunk-INTF3YPV.js";
|
|
29
29
|
import {
|
|
30
30
|
StdioServerTransport,
|
|
31
31
|
serveStdio
|
|
@@ -34,10 +34,10 @@ import "./chunk-3X4JM3ZR.js";
|
|
|
34
34
|
import {
|
|
35
35
|
McpServer
|
|
36
36
|
} from "./chunk-H3ZN4YLB.js";
|
|
37
|
-
import "./chunk-
|
|
38
|
-
import "./chunk-
|
|
39
|
-
import "./chunk-
|
|
40
|
-
import "./chunk-
|
|
37
|
+
import "./chunk-VVEFQEWP.js";
|
|
38
|
+
import "./chunk-J6D34BFP.js";
|
|
39
|
+
import "./chunk-ELKYINWL.js";
|
|
40
|
+
import "./chunk-3MER7NE6.js";
|
|
41
41
|
import {
|
|
42
42
|
DEFAULT_OUTPUT_BYTES,
|
|
43
43
|
changesAuthorityAt,
|
|
@@ -46,49 +46,49 @@ import {
|
|
|
46
46
|
judgedTargets,
|
|
47
47
|
readsOverMcpAt,
|
|
48
48
|
rootOf2 as rootOf
|
|
49
|
-
} from "./chunk-
|
|
50
|
-
import "./chunk-
|
|
51
|
-
import "./chunk-
|
|
49
|
+
} from "./chunk-EACY2ULS.js";
|
|
50
|
+
import "./chunk-UA2C4BCH.js";
|
|
51
|
+
import "./chunk-JCCL7RGH.js";
|
|
52
52
|
import "./chunk-PQLBPYJR.js";
|
|
53
|
-
import "./chunk-
|
|
53
|
+
import "./chunk-CM2H7NRC.js";
|
|
54
54
|
import {
|
|
55
55
|
readOnlyLockOf
|
|
56
|
-
} from "./chunk-
|
|
56
|
+
} from "./chunk-R3LNQ3I4.js";
|
|
57
57
|
import {
|
|
58
58
|
mcpHttpMarker
|
|
59
|
-
} from "./chunk-
|
|
60
|
-
import "./chunk-
|
|
61
|
-
import "./chunk-
|
|
62
|
-
import "./chunk-
|
|
63
|
-
import "./chunk-
|
|
64
|
-
import "./chunk-
|
|
65
|
-
import "./chunk-
|
|
66
|
-
import "./chunk-
|
|
67
|
-
import "./chunk-
|
|
68
|
-
import "./chunk-
|
|
69
|
-
import "./chunk-
|
|
70
|
-
import "./chunk-
|
|
71
|
-
import "./chunk-
|
|
72
|
-
import "./chunk-
|
|
59
|
+
} from "./chunk-VLPMB3UU.js";
|
|
60
|
+
import "./chunk-LWIMGWKB.js";
|
|
61
|
+
import "./chunk-5YCNCXL5.js";
|
|
62
|
+
import "./chunk-GQOXFZBX.js";
|
|
63
|
+
import "./chunk-KQSHIQSV.js";
|
|
64
|
+
import "./chunk-GRXVN2X7.js";
|
|
65
|
+
import "./chunk-2IRCJT4O.js";
|
|
66
|
+
import "./chunk-UPXUE27A.js";
|
|
67
|
+
import "./chunk-ND3GBFEY.js";
|
|
68
|
+
import "./chunk-ALGIPJ6L.js";
|
|
69
|
+
import "./chunk-ITQBXFMC.js";
|
|
70
|
+
import "./chunk-MPVW7BQZ.js";
|
|
71
|
+
import "./chunk-RTESJ5O2.js";
|
|
72
|
+
import "./chunk-UXCDBNAY.js";
|
|
73
73
|
import "./chunk-ILHTNOIV.js";
|
|
74
74
|
import "./chunk-NUN6OGOV.js";
|
|
75
75
|
import "./chunk-D72URWJE.js";
|
|
76
|
-
import "./chunk-
|
|
77
|
-
import "./chunk-
|
|
78
|
-
import "./chunk-
|
|
76
|
+
import "./chunk-UVR6U55E.js";
|
|
77
|
+
import "./chunk-AIGMYGEL.js";
|
|
78
|
+
import "./chunk-T4LW6UYQ.js";
|
|
79
79
|
import {
|
|
80
80
|
mcpErrorResult
|
|
81
|
-
} from "./chunk-
|
|
81
|
+
} from "./chunk-JY4LVWGZ.js";
|
|
82
82
|
import "./chunk-Y5E2WNWB.js";
|
|
83
83
|
import {
|
|
84
84
|
CliError
|
|
85
85
|
} from "./chunk-CCHHEMPM.js";
|
|
86
|
-
import "./chunk-
|
|
86
|
+
import "./chunk-OQK2IKPB.js";
|
|
87
87
|
import {
|
|
88
88
|
__name
|
|
89
89
|
} from "./chunk-ZVVMGPBJ.js";
|
|
90
90
|
|
|
91
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
91
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.564.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_0a4d79b5da58b1179a36aa928f36b150/node_modules/@wirecat/cli-core/dist/mcp/app-server.js
|
|
92
92
|
var EXCLUDED = [["mcp"]];
|
|
93
93
|
var createAppServer = /* @__PURE__ */ __name((command, context, options) => {
|
|
94
94
|
const { app } = options;
|
|
@@ -203,7 +203,7 @@ var serveAppOverStdio = /* @__PURE__ */ __name(async (command, context, options)
|
|
|
203
203
|
var serveAppOverHttp = /* @__PURE__ */ __name(async (command, context, options, http) => {
|
|
204
204
|
const { app } = options;
|
|
205
205
|
const { build } = createAppServer(command, context, options);
|
|
206
|
-
const { serveOverHttp } = await import("./serve-
|
|
206
|
+
const { serveOverHttp } = await import("./serve-S2UHPEBP.js");
|
|
207
207
|
const listening = await serveOverHttp(build, {
|
|
208
208
|
...http,
|
|
209
209
|
appName: app.command,
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
import { createRequire as __bundleRequire } from "node:module";
|
|
2
|
+
const require = __bundleRequire(import.meta.url);
|
|
3
|
+
import {
|
|
4
|
+
DEFAULT_EVERY,
|
|
5
|
+
PLACE_VARIABLES,
|
|
6
|
+
applyAuto,
|
|
7
|
+
autoCommand,
|
|
8
|
+
autoNotice,
|
|
9
|
+
autoState,
|
|
10
|
+
followInstall,
|
|
11
|
+
globalRoots,
|
|
12
|
+
interval,
|
|
13
|
+
lastAutoRun,
|
|
14
|
+
placesOf,
|
|
15
|
+
recordAutoRun,
|
|
16
|
+
serviceUnit,
|
|
17
|
+
timerUnit
|
|
18
|
+
} from "./chunk-JDDVGGUV.js";
|
|
19
|
+
import "./chunk-ZDOVR4PA.js";
|
|
20
|
+
import "./chunk-DMQ3342A.js";
|
|
21
|
+
import "./chunk-QP3KNC5D.js";
|
|
22
|
+
import "./chunk-GSEDSGJF.js";
|
|
23
|
+
import "./chunk-M43DAAZ7.js";
|
|
24
|
+
import "./chunk-3U7OUQV2.js";
|
|
25
|
+
import "./chunk-MROFZXAB.js";
|
|
26
|
+
import "./chunk-EGG3PGCM.js";
|
|
27
|
+
import "./chunk-FXHN2UZW.js";
|
|
28
|
+
import "./chunk-CPJEQK4V.js";
|
|
29
|
+
import "./chunk-VVEFQEWP.js";
|
|
30
|
+
import "./chunk-J6D34BFP.js";
|
|
31
|
+
import "./chunk-ELKYINWL.js";
|
|
32
|
+
import "./chunk-XSI5NYGB.js";
|
|
33
|
+
import "./chunk-HTQTIKWP.js";
|
|
34
|
+
import "./chunk-3MER7NE6.js";
|
|
35
|
+
import "./chunk-EACY2ULS.js";
|
|
36
|
+
import "./chunk-UA2C4BCH.js";
|
|
37
|
+
import "./chunk-AWGV4VOA.js";
|
|
38
|
+
import "./chunk-JCCL7RGH.js";
|
|
39
|
+
import "./chunk-PQLBPYJR.js";
|
|
40
|
+
import "./chunk-CM2H7NRC.js";
|
|
41
|
+
import "./chunk-AIVUS6WA.js";
|
|
42
|
+
import "./chunk-R3LNQ3I4.js";
|
|
43
|
+
import "./chunk-VLPMB3UU.js";
|
|
44
|
+
import "./chunk-LWIMGWKB.js";
|
|
45
|
+
import "./chunk-5YCNCXL5.js";
|
|
46
|
+
import "./chunk-GQOXFZBX.js";
|
|
47
|
+
import "./chunk-KQSHIQSV.js";
|
|
48
|
+
import "./chunk-GRXVN2X7.js";
|
|
49
|
+
import "./chunk-2IRCJT4O.js";
|
|
50
|
+
import "./chunk-UPXUE27A.js";
|
|
51
|
+
import "./chunk-XF3LZ32F.js";
|
|
52
|
+
import "./chunk-ND3GBFEY.js";
|
|
53
|
+
import "./chunk-ZOYGY2PN.js";
|
|
54
|
+
import "./chunk-ALGIPJ6L.js";
|
|
55
|
+
import "./chunk-ITQBXFMC.js";
|
|
56
|
+
import "./chunk-MPVW7BQZ.js";
|
|
57
|
+
import "./chunk-RTESJ5O2.js";
|
|
58
|
+
import "./chunk-UXCDBNAY.js";
|
|
59
|
+
import "./chunk-EKTZEF3Q.js";
|
|
60
|
+
import "./chunk-ILHTNOIV.js";
|
|
61
|
+
import "./chunk-NUN6OGOV.js";
|
|
62
|
+
import "./chunk-D72URWJE.js";
|
|
63
|
+
import "./chunk-UVR6U55E.js";
|
|
64
|
+
import "./chunk-AIGMYGEL.js";
|
|
65
|
+
import "./chunk-T4LW6UYQ.js";
|
|
66
|
+
import "./chunk-JY4LVWGZ.js";
|
|
67
|
+
import "./chunk-Y5E2WNWB.js";
|
|
68
|
+
import "./chunk-CCHHEMPM.js";
|
|
69
|
+
import "./chunk-OQK2IKPB.js";
|
|
70
|
+
import "./chunk-ZVVMGPBJ.js";
|
|
71
|
+
export {
|
|
72
|
+
DEFAULT_EVERY,
|
|
73
|
+
PLACE_VARIABLES,
|
|
74
|
+
applyAuto,
|
|
75
|
+
autoCommand,
|
|
76
|
+
autoNotice,
|
|
77
|
+
autoState,
|
|
78
|
+
followInstall,
|
|
79
|
+
globalRoots,
|
|
80
|
+
interval,
|
|
81
|
+
lastAutoRun,
|
|
82
|
+
placesOf,
|
|
83
|
+
recordAutoRun,
|
|
84
|
+
serviceUnit,
|
|
85
|
+
timerUnit
|
|
86
|
+
};
|
|
@@ -18,12 +18,12 @@ import {
|
|
|
18
18
|
jitCompatCheck,
|
|
19
19
|
refineSqliteCodecs,
|
|
20
20
|
sql
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-OQK2IKPB.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.564.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_0a4d79b5da58b1179a36aa928f36b150/node_modules/@wirecat/cli-core/dist/store/sqlite/drizzle/bun.js
|
|
27
27
|
import { Database } from "bun:sqlite";
|
|
28
28
|
var bunSQLiteCodecs = refineSqliteCodecs({
|
|
29
29
|
"integer:boolean": { normalize: booleanFromInteger },
|
|
@@ -3,9 +3,9 @@ const require = __bundleRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
loadVectorExtension,
|
|
5
5
|
vectorExtension
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import "./chunk-
|
|
8
|
-
import "./chunk-
|
|
6
|
+
} from "./chunk-UY2VH3QK.js";
|
|
7
|
+
import "./chunk-T4LW6UYQ.js";
|
|
8
|
+
import "./chunk-JY4LVWGZ.js";
|
|
9
9
|
import {
|
|
10
10
|
importFrom
|
|
11
11
|
} 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.564.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_0a4d79b5da58b1179a36aa928f36b150/node_modules/@wirecat/cli-core/dist/store/drivers/bun-sqlite.js
|
|
18
18
|
var customised = false;
|
|
19
19
|
var ownLibrary = /* @__PURE__ */ __name(async () => {
|
|
20
20
|
try {
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
__name
|
|
8
8
|
} from "./chunk-ZVVMGPBJ.js";
|
|
9
9
|
|
|
10
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.564.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_0a4d79b5da58b1179a36aa928f36b150/node_modules/@wirecat/cli-core/dist/search/languages.js
|
|
11
11
|
var LANGUAGES = [
|
|
12
12
|
{ name: "russian", code: "ru", label: "Russian", script: "cyrillic", dictionary: "dictionary-ru" },
|
|
13
13
|
{ name: "english", code: "en", label: "English", script: "latin", dictionary: "dictionary-en" },
|
|
@@ -15,12 +15,12 @@ var LANGUAGES = [
|
|
|
15
15
|
];
|
|
16
16
|
var languagesOf = /* @__PURE__ */ __name((script) => LANGUAGES.filter((one) => one.script === script).map(({ name }) => name), "languagesOf");
|
|
17
17
|
|
|
18
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
18
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.564.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_0a4d79b5da58b1179a36aa928f36b150/node_modules/@wirecat/cli-core/dist/store/normalize.js
|
|
19
19
|
var NORMALIZER_VERSION = 1;
|
|
20
20
|
var fold = /* @__PURE__ */ __name((text) => text.normalize("NFKD").replace(new RegExp("\\p{M}+", "gu"), "").normalize("NFC").toLowerCase(), "fold");
|
|
21
21
|
var normalize = /* @__PURE__ */ __name((text) => fold(text).replace(new RegExp("\\p{Cc}", "gu"), " ").replace(/\s+/gu, " ").trim(), "normalize");
|
|
22
22
|
|
|
23
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
23
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.564.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_0a4d79b5da58b1179a36aa928f36b150/node_modules/@wirecat/cli-core/dist/search/snowball/base-stemmer.js
|
|
24
24
|
var BaseStemmer = class {
|
|
25
25
|
static {
|
|
26
26
|
__name(this, "BaseStemmer");
|
|
@@ -395,7 +395,7 @@ var BaseStemmer = class {
|
|
|
395
395
|
}
|
|
396
396
|
};
|
|
397
397
|
|
|
398
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
398
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.564.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_0a4d79b5da58b1179a36aa928f36b150/node_modules/@wirecat/cli-core/dist/search/snowball/english-stemmer.js
|
|
399
399
|
var a_0 = [
|
|
400
400
|
["arsen", -1],
|
|
401
401
|
["commun", -1],
|
|
@@ -1096,7 +1096,7 @@ var english_stemmer_default = class extends BaseStemmer {
|
|
|
1096
1096
|
stemWord = this.stem;
|
|
1097
1097
|
};
|
|
1098
1098
|
|
|
1099
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1099
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.564.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_0a4d79b5da58b1179a36aa928f36b150/node_modules/@wirecat/cli-core/dist/search/snowball/russian-stemmer.js
|
|
1100
1100
|
var a_02 = [
|
|
1101
1101
|
["\u0432", 1],
|
|
1102
1102
|
["\u0438\u0432", 2, 1],
|
|
@@ -1519,7 +1519,7 @@ var russian_stemmer_default = class extends BaseStemmer {
|
|
|
1519
1519
|
stemWord = this.stem;
|
|
1520
1520
|
};
|
|
1521
1521
|
|
|
1522
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1522
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.564.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_0a4d79b5da58b1179a36aa928f36b150/node_modules/@wirecat/cli-core/dist/search/snowball/spanish-stemmer.js
|
|
1523
1523
|
var a_03 = [
|
|
1524
1524
|
["", 6],
|
|
1525
1525
|
["\xE1", 1, 1],
|
|
@@ -2195,7 +2195,7 @@ var spanish_stemmer_default = class extends BaseStemmer {
|
|
|
2195
2195
|
stemWord = this.stem;
|
|
2196
2196
|
};
|
|
2197
2197
|
|
|
2198
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2198
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.564.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_0a4d79b5da58b1179a36aa928f36b150/node_modules/@wirecat/cli-core/dist/search/stem.js
|
|
2199
2199
|
var SNOWBALL_VERSION = "3.1.1";
|
|
2200
2200
|
var CYRILLIC_STEMMERS = [...languagesOf("cyrillic"), "none"];
|
|
2201
2201
|
var LATIN_STEMMERS = [...languagesOf("latin"), "none"];
|
|
@@ -20,7 +20,7 @@ import {
|
|
|
20
20
|
tool,
|
|
21
21
|
toolKey,
|
|
22
22
|
toolsFromCommands
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-LNXFM4FD.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-MROFZXAB.js";
|
|
37
37
|
import {
|
|
38
38
|
mcpUrlOf
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-EGG3PGCM.js";
|
|
40
40
|
import {
|
|
41
41
|
agentJson,
|
|
42
42
|
skillResource
|
|
43
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-FXHN2UZW.js";
|
|
44
44
|
import {
|
|
45
45
|
instructions
|
|
46
|
-
} from "./chunk-
|
|
46
|
+
} from "./chunk-NAH473ZR.js";
|
|
47
47
|
import {
|
|
48
48
|
answeredWire
|
|
49
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-EB7LKK4K.js";
|
|
50
50
|
import {
|
|
51
51
|
callerOf,
|
|
52
52
|
callingAgent
|
|
53
|
-
} from "./chunk-
|
|
53
|
+
} from "./chunk-INTF3YPV.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-VVEFQEWP.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-J6D34BFP.js";
|
|
75
75
|
import {
|
|
76
76
|
findCommand
|
|
77
|
-
} from "./chunk-
|
|
77
|
+
} from "./chunk-3MER7NE6.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-EACY2ULS.js";
|
|
94
94
|
import {
|
|
95
95
|
isCliFailure,
|
|
96
96
|
withCaller
|
|
97
|
-
} from "./chunk-
|
|
97
|
+
} from "./chunk-UA2C4BCH.js";
|
|
98
98
|
import {
|
|
99
99
|
readOnlyLockOf
|
|
100
|
-
} from "./chunk-
|
|
100
|
+
} from "./chunk-R3LNQ3I4.js";
|
|
101
101
|
import {
|
|
102
102
|
mcpHttpMarker
|
|
103
|
-
} from "./chunk-
|
|
103
|
+
} from "./chunk-VLPMB3UU.js";
|
|
104
104
|
import {
|
|
105
105
|
openStore,
|
|
106
106
|
pdfPreviewLimits
|
|
107
|
-
} from "./chunk-
|
|
107
|
+
} from "./chunk-GQOXFZBX.js";
|
|
108
108
|
import {
|
|
109
109
|
timezoneOf
|
|
110
|
-
} from "./chunk-
|
|
110
|
+
} from "./chunk-KQSHIQSV.js";
|
|
111
111
|
import {
|
|
112
112
|
warmEmbedders
|
|
113
|
-
} from "./chunk-
|
|
113
|
+
} from "./chunk-MPVW7BQZ.js";
|
|
114
114
|
import {
|
|
115
115
|
description,
|
|
116
116
|
integer,
|
|
@@ -126,7 +126,7 @@ import {
|
|
|
126
126
|
regex,
|
|
127
127
|
strictObject,
|
|
128
128
|
string
|
|
129
|
-
} from "./chunk-
|
|
129
|
+
} from "./chunk-JY4LVWGZ.js";
|
|
130
130
|
import {
|
|
131
131
|
CliError,
|
|
132
132
|
visibleControls
|
|
@@ -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.564.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_0a4d79b5da58b1179a36aa928f36b150/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.564.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_0a4d79b5da58b1179a36aa928f36b150/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.564.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_0a4d79b5da58b1179a36aa928f36b150/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.564.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_0a4d79b5da58b1179a36aa928f36b150/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.564.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_0a4d79b5da58b1179a36aa928f36b150/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.564.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_0a4d79b5da58b1179a36aa928f36b150/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.564.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_0a4d79b5da58b1179a36aa928f36b150/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.564.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_0a4d79b5da58b1179a36aa928f36b150/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.564.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_0a4d79b5da58b1179a36aa928f36b150/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-S2UHPEBP.js");
|
|
750
750
|
const appName = messenger.app.command;
|
|
751
751
|
const appEnvPrefix = messenger.app.envPrefix;
|
|
752
752
|
const listening = await serveOverHttp(build, {
|
|
@@ -7,10 +7,10 @@ import {
|
|
|
7
7
|
describeOptions,
|
|
8
8
|
keyForCommand,
|
|
9
9
|
metaOf
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-EACY2ULS.js";
|
|
11
11
|
import {
|
|
12
12
|
jsonSchemaOf
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-JY4LVWGZ.js";
|
|
14
14
|
import {
|
|
15
15
|
CliError
|
|
16
16
|
} from "./chunk-CCHHEMPM.js";
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
__name
|
|
19
19
|
} from "./chunk-ZVVMGPBJ.js";
|
|
20
20
|
|
|
21
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
21
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.564.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_0a4d79b5da58b1179a36aa928f36b150/node_modules/@wirecat/cli-core/dist/cli/command-contract.js
|
|
22
22
|
var SCHEMA_DIALECT = "https://json-schema.org/draft/2020-12/schema";
|
|
23
23
|
var outputOf = /* @__PURE__ */ __name((command) => {
|
|
24
24
|
const entity = answerEntitySchema(command);
|
|
@@ -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.564.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_0a4d79b5da58b1179a36aa928f36b150/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;
|
|
@@ -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.564.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_0a4d79b5da58b1179a36aa928f36b150/node_modules/@wirecat/cli-core/dist/background/processes.js
|
|
8
8
|
import { execFileSync } from "node:child_process";
|
|
9
9
|
import { readdirSync, readFileSync, readlinkSync } from "node:fs";
|
|
10
10
|
var alive = /* @__PURE__ */ __name((pid) => {
|