@wirecat/cli-memo 0.131.40 → 0.131.41
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-QFW2NKJY.js → all-profiles-ZTYUFM24.js} +5 -5
- package/dist/bundle/{anthropic-IARLHPYJ.js → anthropic-BLXCM7J2.js} +3 -3
- package/dist/bundle/{app-server-L4N5IWJF.js → app-server-MXYDSTTW.js} +35 -35
- package/dist/bundle/auto-2RK6FE5A.js +86 -0
- package/dist/bundle/{bun-NWKIEX53.js → bun-GFMA4TKJ.js} +2 -2
- package/dist/bundle/{bun-sqlite-HORFVNNY.js → bun-sqlite-3V6EB3XP.js} +2 -2
- package/dist/bundle/{chunk-FTX3OPWV.js → chunk-2E4N5DVE.js} +27 -27
- package/dist/bundle/{chunk-RZ3UQFLE.js → chunk-2G66FZPO.js} +1 -1
- package/dist/bundle/{chunk-YWWTEWX3.js → chunk-2O2BSM4K.js} +1 -1
- package/dist/bundle/{chunk-ASVVDNAS.js → chunk-3MVDNB6Y.js} +3 -3
- package/dist/bundle/{chunk-M7UHHXSH.js → chunk-5KL7T2EP.js} +1 -1
- package/dist/bundle/{chunk-JGDZ3G4P.js → chunk-6V6VCYOS.js} +3 -3
- package/dist/bundle/{chunk-2YJBI3NK.js → chunk-776YSJJY.js} +1 -1
- package/dist/bundle/{chunk-WU6PDHXY.js → chunk-7AS5QFWJ.js} +5 -5
- package/dist/bundle/{chunk-QR5KWOZ2.js → chunk-7EOGXNLO.js} +4 -4
- package/dist/bundle/{chunk-OZF7QBTS.js → chunk-7GEK5BE5.js} +2 -2
- package/dist/bundle/{chunk-CB34NXQP.js → chunk-A6HC2DWU.js} +57 -56
- package/dist/bundle/{chunk-WAZWM4KZ.js → chunk-ARNYYXLO.js} +20 -20
- package/dist/bundle/{chunk-ADMB7OK5.js → chunk-AYOFFZMO.js} +4 -4
- package/dist/bundle/{chunk-UGHYNVWQ.js → chunk-B5LF2FVU.js} +1 -1
- package/dist/bundle/{chunk-6E4DCMJ5.js → chunk-BA3HPVBN.js} +4 -4
- package/dist/bundle/{chunk-AKSNCK5L.js → chunk-BFN5KXGH.js} +257 -257
- package/dist/bundle/{chunk-THIXDXP3.js → chunk-BJWDBPLF.js} +2 -2
- package/dist/bundle/{chunk-G3IO2TLK.js → chunk-DYSWDGOU.js} +5 -5
- package/dist/bundle/{chunk-EQQWJM6B.js → chunk-F3OGJQWY.js} +5 -5
- package/dist/bundle/{chunk-XAWB4WEC.js → chunk-FVN42IND.js} +1 -1
- package/dist/bundle/{chunk-ZH43Q2JO.js → chunk-G6EOW6PY.js} +2 -2
- package/dist/bundle/{chunk-W3SMUCMB.js → chunk-IJJ4OEXK.js} +1 -1
- package/dist/bundle/{chunk-5HXLRQ4Q.js → chunk-IJS2X4AZ.js} +43 -43
- package/dist/bundle/{chunk-UEG3BDCX.js → chunk-ISVO2PHD.js} +4 -4
- package/dist/bundle/{chunk-ATR65D7K.js → chunk-J364I2EL.js} +8 -8
- package/dist/bundle/{chunk-WHWACGZX.js → chunk-JO3FC5B4.js} +7 -7
- package/dist/bundle/{chunk-A7MXWBIX.js → chunk-LGILT5CA.js} +2 -2
- package/dist/bundle/{chunk-6RAU7FD2.js → chunk-LLL4RBDU.js} +11 -11
- package/dist/bundle/{chunk-5HSR6U4Z.js → chunk-N2EY7NT3.js} +1 -1
- package/dist/bundle/{chunk-TWC6UJD2.js → chunk-NFN3JTGD.js} +12 -12
- package/dist/bundle/{chunk-FBREYLY5.js → chunk-NKKC6SLX.js} +1 -1
- package/dist/bundle/{chunk-LXQQ7Q34.js → chunk-NP7Y3JQ7.js} +9 -9
- package/dist/bundle/{chunk-EGRI2NUT.js → chunk-NYNUDUFA.js} +4 -4
- package/dist/bundle/{chunk-756VKGKO.js → chunk-OLVBY6N6.js} +2 -2
- package/dist/bundle/{chunk-LL5HPYW5.js → chunk-ONJAEHOD.js} +7 -7
- package/dist/bundle/{chunk-NCC3RXUX.js → chunk-OY2CMEUW.js} +3 -3
- package/dist/bundle/{chunk-B4XRE67Q.js → chunk-PPSIMMJM.js} +9 -9
- package/dist/bundle/{chunk-MLHRER2H.js → chunk-QCE6BNKK.js} +2 -2
- package/dist/bundle/{chunk-5G3NNIJQ.js → chunk-QUA7EHLA.js} +10 -10
- package/dist/bundle/{chunk-XV7M6VWX.js → chunk-RMJLG2D6.js} +4 -4
- package/dist/bundle/{chunk-PAE2NZ7S.js → chunk-RMMYPYNA.js} +20 -20
- package/dist/bundle/{chunk-SRYOICSG.js → chunk-RNINC74Q.js} +1 -1
- package/dist/bundle/{chunk-EGQCBZVM.js → chunk-RZUSWGAC.js} +2 -2
- package/dist/bundle/{chunk-OSDA5EZW.js → chunk-S7TVQ7ES.js} +268 -258
- package/dist/bundle/{chunk-DNZH53VQ.js → chunk-SCIU5WHL.js} +3 -3
- package/dist/bundle/{chunk-BWNNUEHG.js → chunk-UA2H5FRV.js} +1 -1
- package/dist/bundle/{chunk-XF7TG5VK.js → chunk-ULDE2Y7M.js} +32 -31
- package/dist/bundle/{chunk-A7M74RZH.js → chunk-V5TOZXBU.js} +297 -278
- package/dist/bundle/{chunk-EIFPQD57.js → chunk-VF24JTL4.js} +1 -1
- package/dist/bundle/{chunk-Z6OKSDP3.js → chunk-VT4PCMY2.js} +1 -1
- package/dist/bundle/{chunk-KGXVJO2V.js → chunk-WFME7ILV.js} +5 -5
- package/dist/bundle/{chunk-OGHWLR5E.js → chunk-WG3JJ7D5.js} +1 -1
- package/dist/bundle/{chunk-4EZK5PGX.js → chunk-XXDWCZRM.js} +1 -1
- package/dist/bundle/{chunk-KWGNPUIV.js → chunk-Y4B4273X.js} +7 -7
- package/dist/bundle/{chunk-U5WIWLWM.js → chunk-Y7XDV4GQ.js} +6 -6
- package/dist/bundle/{chunk-KAU67PDK.js → chunk-YNYOWOKD.js} +159 -150
- package/dist/bundle/{chunk-2SZEKYBN.js → chunk-ZETAM63O.js} +1 -1
- package/dist/bundle/{command-contract-ZRJPMWWI.js → command-contract-KCV6NNGF.js} +11 -11
- package/dist/bundle/{decode-MDCEP64X.js → decode-SU7TIUXV.js} +2 -2
- package/dist/bundle/{echarts-RFIQAWMT.js → echarts-CJG2WVOX.js} +2 -2
- package/dist/bundle/{embed-443F7XR4.js → embed-IBURCPTK.js} +3 -3
- package/dist/bundle/{embedder-VRDPZFWC.js → embedder-SK773RJG.js} +6 -6
- package/dist/bundle/{entry-36KBOBA4.js → entry-6WOJUMZN.js} +4 -4
- package/dist/bundle/failure-4N6GOEGN.js +66 -0
- package/dist/bundle/{first-run-CYZSGJTG.js → first-run-CMSDLJGE.js} +5 -5
- package/dist/bundle/{first-screen-UY54KNVU.js → first-screen-6IZLOQ3Q.js} +12 -12
- package/dist/bundle/{instructions-RI2WFMBA.js → instructions-RHGGUIBR.js} +1 -1
- package/dist/bundle/{mcp-DHX4GF3A.js → mcp-HBKMY35O.js} +35 -35
- package/dist/bundle/memo.js +6 -6
- package/dist/bundle/{node-H7LWGE5H.js → node-NBXEN7JU.js} +2 -2
- package/dist/bundle/{node-sqlite-N4POELFM.js → node-sqlite-WAGIYOYR.js} +3 -3
- package/dist/bundle/{oauth-OOUASPSL.js → oauth-INSEXJD2.js} +4 -4
- package/dist/bundle/{open-2T52CQDG.js → open-LXFV2C67.js} +2 -2
- package/dist/bundle/{openai-76CJYDRJ.js → openai-OCWAXC7E.js} +7 -7
- package/dist/bundle/{process-7YATIAKW.js → process-MRPJP32M.js} +1 -1
- package/dist/bundle/{program-O4I2BGM2.js → program-XKO4X6BB.js} +90 -68
- package/dist/bundle/{prompt-MHD5EI75.js → prompt-ROLOHFNO.js} +2 -2
- package/dist/bundle/{recognize-ARCD7XPJ.js → recognize-63ZLC4DN.js} +1 -1
- package/dist/bundle/{remote-OQ7TUXN3.js → remote-J4ZBFG3Y.js} +4 -4
- package/dist/bundle/{rerank-422D4DZR.js → rerank-HUQCCGYO.js} +4 -4
- package/dist/bundle/{serve-ZOT62JRM.js → serve-MFJYL4AB.js} +6 -6
- package/dist/bundle/{server-HAZC3T7X.js → server-2JQ5K33G.js} +50 -50
- package/dist/bundle/server-RKPGL53W.js +48 -0
- package/dist/bundle/server-ZN2KC4EE.js +61 -0
- package/dist/bundle/{state-KBW7BI2G.js → state-AV5MO77W.js} +3 -3
- package/dist/bundle/{store-KZY5FZPD.js → store-H4HCVN4H.js} +9 -9
- package/dist/bundle/store-maintenance-command-4GYOMUXE.js +48 -0
- package/dist/bundle/update-ATXEHV72.js +69 -0
- package/dist/finance/finance.d.ts +1 -1
- package/dist/finance/finance.d.ts.map +1 -1
- package/dist/finance/finance.js +2 -0
- package/dist/finance/finance.js.map +1 -1
- package/dist/mail/findings-command.d.ts.map +1 -1
- package/dist/mail/findings-command.js +9 -13
- package/dist/mail/findings-command.js.map +1 -1
- package/dist/review/command.d.ts +40 -0
- package/dist/review/command.d.ts.map +1 -1
- package/dist/review/command.js +25 -1
- package/dist/review/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 +8 -9
- package/dist/bundle/auto-24I3FBUW.js +0 -86
- package/dist/bundle/failure-QKFNHYKC.js +0 -66
- package/dist/bundle/server-EISBI6O6.js +0 -61
- package/dist/bundle/server-NNQ3YRBV.js +0 -48
- package/dist/bundle/store-maintenance-command-ZFQOMCLZ.js +0 -48
- package/dist/bundle/update-SAX5XN2C.js +0 -69
- /package/dist/bundle/{chunk-5VKETWNU.js → chunk-VVDYRHYP.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.41\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-ZTYUFM24.js","../bundle/anthropic-BLXCM7J2.js","../bundle/app-server-MXYDSTTW.js","../bundle/auto-2RK6FE5A.js","../bundle/bun-GFMA4TKJ.js","../bundle/bun-sqlite-3V6EB3XP.js","../bundle/command-contract-KCV6NNGF.js","../bundle/decode-SU7TIUXV.js","../bundle/dispatch-MLRETSNQ.js","../bundle/dist-GZQWFMCL.js","../bundle/echarts-CJG2WVOX.js","../bundle/embed-IBURCPTK.js","../bundle/embedder-SK773RJG.js","../bundle/entry-6WOJUMZN.js","../bundle/failure-4N6GOEGN.js","../bundle/failure-UJBGB2GP.js","../bundle/first-run-CMSDLJGE.js","../bundle/first-screen-6IZLOQ3Q.js","../bundle/instructions-RHGGUIBR.js","../bundle/mcp-HBKMY35O.js","../bundle/mcp-YMXA6IH6.js","../bundle/node-NBXEN7JU.js","../bundle/node-P4E63KXA.js","../bundle/node-TLZSIHIJ.js","../bundle/node-sqlite-WAGIYOYR.js","../bundle/oauth-INSEXJD2.js","../bundle/open-LXFV2C67.js","../bundle/openai-OCWAXC7E.js","../bundle/process-MRPJP32M.js","../bundle/program-XKO4X6BB.js","../bundle/prompt-ROLOHFNO.js","../bundle/recognize-63ZLC4DN.js","../bundle/remote-J4ZBFG3Y.js","../bundle/rerank-HUQCCGYO.js","../bundle/serve-MFJYL4AB.js","../bundle/server-2JQ5K33G.js","../bundle/server-RKPGL53W.js","../bundle/server-ZN2KC4EE.js","../bundle/state-AV5MO77W.js","../bundle/stdio-FRV4R7LJ.js","../bundle/store-H4HCVN4H.js","../bundle/store-maintenance-command-4GYOMUXE.js","../bundle/update-ATXEHV72.js"]
|
|
32
32
|
if (((words) => words
|
|
33
33
|
.filter((word) => !word.startsWith("-"))
|
|
34
34
|
.slice(0, 2)
|
|
@@ -6,14 +6,14 @@ import {
|
|
|
6
6
|
serveAllProfilesOverHttp,
|
|
7
7
|
serveAllProfilesOverStdio,
|
|
8
8
|
withProfile
|
|
9
|
-
} from "./chunk-
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import "./chunk-
|
|
9
|
+
} from "./chunk-RMJLG2D6.js";
|
|
10
|
+
import "./chunk-VT4PCMY2.js";
|
|
11
|
+
import "./chunk-OLVBY6N6.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-ONJAEHOD.js";
|
|
16
|
+
import "./chunk-XXDWCZRM.js";
|
|
17
17
|
import "./chunk-AT5Y62SD.js";
|
|
18
18
|
import "./chunk-2R2Z2VWL.js";
|
|
19
19
|
import "./chunk-SN63VOE6.js";
|
|
@@ -2,11 +2,11 @@ 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-RNINC74Q.js";
|
|
6
6
|
import {
|
|
7
7
|
messagesFor,
|
|
8
8
|
systemFor
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-2O2BSM4K.js";
|
|
10
10
|
import {
|
|
11
11
|
Anthropic
|
|
12
12
|
} from "./chunk-ADLS6FVG.js";
|
|
@@ -23,7 +23,7 @@ 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.584.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_ded3b38d9f479071bd35502124c4f129/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-2E4N5DVE.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-LLL4RBDU.js";
|
|
14
|
+
import "./chunk-RMMYPYNA.js";
|
|
15
15
|
import {
|
|
16
16
|
mcpUrlOf
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-WG3JJ7D5.js";
|
|
18
18
|
import {
|
|
19
19
|
agentJson,
|
|
20
20
|
skillResource
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-PPSIMMJM.js";
|
|
22
22
|
import {
|
|
23
23
|
appInstructions
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-776YSJJY.js";
|
|
25
25
|
import {
|
|
26
26
|
answeredWire
|
|
27
|
-
} from "./chunk-
|
|
28
|
-
import "./chunk-
|
|
27
|
+
} from "./chunk-VT4PCMY2.js";
|
|
28
|
+
import "./chunk-OLVBY6N6.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-ARNYYXLO.js";
|
|
38
|
+
import "./chunk-BFN5KXGH.js";
|
|
39
|
+
import "./chunk-NFN3JTGD.js";
|
|
40
|
+
import "./chunk-7GEK5BE5.js";
|
|
41
41
|
import {
|
|
42
42
|
DEFAULT_OUTPUT_BYTES,
|
|
43
43
|
changesAuthorityAt,
|
|
@@ -46,35 +46,35 @@ import {
|
|
|
46
46
|
judgedTargets,
|
|
47
47
|
readsOverMcpAt,
|
|
48
48
|
rootOf2 as rootOf
|
|
49
|
-
} from "./chunk-
|
|
50
|
-
import "./chunk-
|
|
49
|
+
} from "./chunk-YNYOWOKD.js";
|
|
50
|
+
import "./chunk-ONJAEHOD.js";
|
|
51
51
|
import "./chunk-JY34MQW4.js";
|
|
52
52
|
import "./chunk-LER7G4XY.js";
|
|
53
|
-
import "./chunk-
|
|
53
|
+
import "./chunk-OY2CMEUW.js";
|
|
54
54
|
import {
|
|
55
55
|
readOnlyLockOf
|
|
56
|
-
} from "./chunk-
|
|
56
|
+
} from "./chunk-B5LF2FVU.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-7EOGXNLO.js";
|
|
60
|
+
import "./chunk-QCE6BNKK.js";
|
|
61
|
+
import "./chunk-ZETAM63O.js";
|
|
62
|
+
import "./chunk-V5TOZXBU.js";
|
|
63
|
+
import "./chunk-A6HC2DWU.js";
|
|
64
|
+
import "./chunk-XXDWCZRM.js";
|
|
65
|
+
import "./chunk-Y4B4273X.js";
|
|
66
|
+
import "./chunk-ISVO2PHD.js";
|
|
67
|
+
import "./chunk-N2EY7NT3.js";
|
|
68
|
+
import "./chunk-2O2BSM4K.js";
|
|
69
|
+
import "./chunk-G6EOW6PY.js";
|
|
70
|
+
import "./chunk-WFME7ILV.js";
|
|
71
|
+
import "./chunk-3MVDNB6Y.js";
|
|
72
|
+
import "./chunk-FVN42IND.js";
|
|
73
73
|
import "./chunk-CID4MNRQ.js";
|
|
74
74
|
import "./chunk-AT5Y62SD.js";
|
|
75
75
|
import "./chunk-D72URWJE.js";
|
|
76
|
-
import "./chunk-
|
|
77
|
-
import "./chunk-
|
|
76
|
+
import "./chunk-F3OGJQWY.js";
|
|
77
|
+
import "./chunk-UA2H5FRV.js";
|
|
78
78
|
import "./chunk-2R2Z2VWL.js";
|
|
79
79
|
import {
|
|
80
80
|
mcpErrorResult
|
|
@@ -83,12 +83,12 @@ import "./chunk-Y5E2WNWB.js";
|
|
|
83
83
|
import {
|
|
84
84
|
CliError
|
|
85
85
|
} from "./chunk-RZ54DSVU.js";
|
|
86
|
-
import "./chunk-
|
|
86
|
+
import "./chunk-VF24JTL4.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.584.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_ded3b38d9f479071bd35502124c4f129/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-MFJYL4AB.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-NYNUDUFA.js";
|
|
19
|
+
import "./chunk-AYOFFZMO.js";
|
|
20
|
+
import "./chunk-ULDE2Y7M.js";
|
|
21
|
+
import "./chunk-QP3KNC5D.js";
|
|
22
|
+
import "./chunk-S7TVQ7ES.js";
|
|
23
|
+
import "./chunk-5KL7T2EP.js";
|
|
24
|
+
import "./chunk-NKKC6SLX.js";
|
|
25
|
+
import "./chunk-RMMYPYNA.js";
|
|
26
|
+
import "./chunk-WG3JJ7D5.js";
|
|
27
|
+
import "./chunk-PPSIMMJM.js";
|
|
28
|
+
import "./chunk-IJS2X4AZ.js";
|
|
29
|
+
import "./chunk-ARNYYXLO.js";
|
|
30
|
+
import "./chunk-BFN5KXGH.js";
|
|
31
|
+
import "./chunk-NFN3JTGD.js";
|
|
32
|
+
import "./chunk-Y7XDV4GQ.js";
|
|
33
|
+
import "./chunk-HTQTIKWP.js";
|
|
34
|
+
import "./chunk-7GEK5BE5.js";
|
|
35
|
+
import "./chunk-YNYOWOKD.js";
|
|
36
|
+
import "./chunk-ONJAEHOD.js";
|
|
37
|
+
import "./chunk-QUA7EHLA.js";
|
|
38
|
+
import "./chunk-JY34MQW4.js";
|
|
39
|
+
import "./chunk-LER7G4XY.js";
|
|
40
|
+
import "./chunk-OY2CMEUW.js";
|
|
41
|
+
import "./chunk-NP7Y3JQ7.js";
|
|
42
|
+
import "./chunk-B5LF2FVU.js";
|
|
43
|
+
import "./chunk-7EOGXNLO.js";
|
|
44
|
+
import "./chunk-QCE6BNKK.js";
|
|
45
|
+
import "./chunk-ZETAM63O.js";
|
|
46
|
+
import "./chunk-V5TOZXBU.js";
|
|
47
|
+
import "./chunk-A6HC2DWU.js";
|
|
48
|
+
import "./chunk-XXDWCZRM.js";
|
|
49
|
+
import "./chunk-Y4B4273X.js";
|
|
50
|
+
import "./chunk-ISVO2PHD.js";
|
|
51
|
+
import "./chunk-BJWDBPLF.js";
|
|
52
|
+
import "./chunk-N2EY7NT3.js";
|
|
53
|
+
import "./chunk-RNINC74Q.js";
|
|
54
|
+
import "./chunk-2O2BSM4K.js";
|
|
55
|
+
import "./chunk-G6EOW6PY.js";
|
|
56
|
+
import "./chunk-WFME7ILV.js";
|
|
57
|
+
import "./chunk-3MVDNB6Y.js";
|
|
58
|
+
import "./chunk-FVN42IND.js";
|
|
59
|
+
import "./chunk-2G66FZPO.js";
|
|
60
|
+
import "./chunk-CID4MNRQ.js";
|
|
61
|
+
import "./chunk-AT5Y62SD.js";
|
|
62
|
+
import "./chunk-D72URWJE.js";
|
|
63
|
+
import "./chunk-F3OGJQWY.js";
|
|
64
|
+
import "./chunk-UA2H5FRV.js";
|
|
65
|
+
import "./chunk-2R2Z2VWL.js";
|
|
66
|
+
import "./chunk-SN63VOE6.js";
|
|
67
|
+
import "./chunk-Y5E2WNWB.js";
|
|
68
|
+
import "./chunk-RZ54DSVU.js";
|
|
69
|
+
import "./chunk-VF24JTL4.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-VF24JTL4.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.584.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_ded3b38d9f479071bd35502124c4f129/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,7 +3,7 @@ const require = __bundleRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
loadVectorExtension,
|
|
5
5
|
vectorExtension
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-IJJ4OEXK.js";
|
|
7
7
|
import "./chunk-2R2Z2VWL.js";
|
|
8
8
|
import "./chunk-SN63VOE6.js";
|
|
9
9
|
import {
|
|
@@ -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.584.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_ded3b38d9f479071bd35502124c4f129/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 {
|
|
@@ -20,7 +20,7 @@ import {
|
|
|
20
20
|
tool,
|
|
21
21
|
toolKey,
|
|
22
22
|
toolsFromCommands
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-LLL4RBDU.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-RMMYPYNA.js";
|
|
37
37
|
import {
|
|
38
38
|
mcpUrlOf
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-WG3JJ7D5.js";
|
|
40
40
|
import {
|
|
41
41
|
agentJson,
|
|
42
42
|
skillResource
|
|
43
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-PPSIMMJM.js";
|
|
44
44
|
import {
|
|
45
45
|
instructions
|
|
46
|
-
} from "./chunk-
|
|
46
|
+
} from "./chunk-776YSJJY.js";
|
|
47
47
|
import {
|
|
48
48
|
answeredWire
|
|
49
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-VT4PCMY2.js";
|
|
50
50
|
import {
|
|
51
51
|
callerOf,
|
|
52
52
|
callingAgent
|
|
53
|
-
} from "./chunk-
|
|
53
|
+
} from "./chunk-OLVBY6N6.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-ARNYYXLO.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-BFN5KXGH.js";
|
|
75
75
|
import {
|
|
76
76
|
findCommand
|
|
77
|
-
} from "./chunk-
|
|
77
|
+
} from "./chunk-7GEK5BE5.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-YNYOWOKD.js";
|
|
94
94
|
import {
|
|
95
95
|
isCliFailure,
|
|
96
96
|
withCaller
|
|
97
|
-
} from "./chunk-
|
|
97
|
+
} from "./chunk-ONJAEHOD.js";
|
|
98
98
|
import {
|
|
99
99
|
readOnlyLockOf
|
|
100
|
-
} from "./chunk-
|
|
100
|
+
} from "./chunk-B5LF2FVU.js";
|
|
101
101
|
import {
|
|
102
102
|
mcpHttpMarker
|
|
103
|
-
} from "./chunk-
|
|
103
|
+
} from "./chunk-7EOGXNLO.js";
|
|
104
104
|
import {
|
|
105
105
|
openStore,
|
|
106
106
|
pdfPreviewLimits
|
|
107
|
-
} from "./chunk-
|
|
107
|
+
} from "./chunk-V5TOZXBU.js";
|
|
108
108
|
import {
|
|
109
109
|
timezoneOf
|
|
110
|
-
} from "./chunk-
|
|
110
|
+
} from "./chunk-A6HC2DWU.js";
|
|
111
111
|
import {
|
|
112
112
|
warmEmbedders
|
|
113
|
-
} from "./chunk-
|
|
113
|
+
} from "./chunk-WFME7ILV.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.584.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_ded3b38d9f479071bd35502124c4f129/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.584.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_ded3b38d9f479071bd35502124c4f129/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.584.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_ded3b38d9f479071bd35502124c4f129/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.584.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_ded3b38d9f479071bd35502124c4f129/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.584.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_ded3b38d9f479071bd35502124c4f129/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.584.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_ded3b38d9f479071bd35502124c4f129/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.584.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_ded3b38d9f479071bd35502124c4f129/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.584.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_ded3b38d9f479071bd35502124c4f129/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.584.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_ded3b38d9f479071bd35502124c4f129/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-MFJYL4AB.js");
|
|
750
750
|
const appName = messenger.app.command;
|
|
751
751
|
const appEnvPrefix = messenger.app.envPrefix;
|
|
752
752
|
const listening = await serveOverHttp(build, {
|
|
@@ -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.584.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_ded3b38d9f479071bd35502124c4f129/node_modules/@wirecat/cli-core/dist/models/types.js
|
|
11
11
|
var MAX_MODEL_IMAGE_BYTES = 4 * 1024 * 1024;
|
|
12
12
|
var validateImages = /* @__PURE__ */ __name((images) => {
|
|
13
13
|
if (images === void 0)
|
|
@@ -2,7 +2,7 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
wirecatDirectory
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-FVN42IND.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.584.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_ded3b38d9f479071bd35502124c4f129/node_modules/@wirecat/cli-core/dist/speech/models.js
|
|
14
14
|
var huggingFace = /* @__PURE__ */ __name((repository, commit) => (name) => `https://huggingface.co/csukuangfj/${repository}/resolve/${commit}/${name}`, "huggingFace");
|
|
15
15
|
var gigaam = huggingFace("sherpa-onnx-nemo-transducer-punct-giga-am-v3-russian-2025-12-16", "a6039be7cee829a9044a69ac0ebaf1c191217c97");
|
|
16
16
|
var gigaamCtc = huggingFace("sherpa-onnx-nemo-ctc-punct-giga-am-v3-russian-2025-12-16", "4fb5407ff028a69fec516cdf4c10fac9ddea7c16");
|
|
@@ -137,7 +137,7 @@ var speechModel = /* @__PURE__ */ __name((id) => {
|
|
|
137
137
|
return model;
|
|
138
138
|
}, "speechModel");
|
|
139
139
|
|
|
140
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
140
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.584.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_ded3b38d9f479071bd35502124c4f129/node_modules/@wirecat/cli-core/dist/speech/install.js
|
|
141
141
|
import { createHash, randomUUID } from "node:crypto";
|
|
142
142
|
import { createReadStream, createWriteStream, mkdirSync, statSync } from "node:fs";
|
|
143
143
|
import { rename, rm } from "node:fs/promises";
|
|
@@ -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.584.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_ded3b38d9f479071bd35502124c4f129/node_modules/@wirecat/cli-core/dist/mcp/bot/instructions.js
|
|
8
8
|
var botInstructions = /* @__PURE__ */ __name(({ command, name, profile, writes, skill }) => [
|
|
9
9
|
`The owner's ${name} bot "${profile}", through the official Bot API \u2014 not the owner's personal account. What it writes, people see as the bot.`,
|
|
10
10
|
"Use these tools to read the chats this bot is in, find a message or a person, and \u2014 when the profile allows \u2014 write as the bot.",
|
|
@@ -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.584.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_ded3b38d9f479071bd35502124c4f129/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.584.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_ded3b38d9f479071bd35502124c4f129/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.584.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_ded3b38d9f479071bd35502124c4f129/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) => {
|
|
@@ -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.584.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_ded3b38d9f479071bd35502124c4f129/node_modules/@wirecat/cli-core/dist/mcp/instructions.js
|
|
8
8
|
var instructions = /* @__PURE__ */ __name(({ command, name, profile, writes, skill }) => {
|
|
9
9
|
const all = typeof profile !== "string";
|
|
10
10
|
const offers = /* @__PURE__ */ __name((key) => all || writes.includes(key), "offers");
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
inspectConfig,
|
|
5
5
|
loadConfig,
|
|
6
6
|
memoPermissionKeys
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-ULDE2Y7M.js";
|
|
8
8
|
import {
|
|
9
9
|
CEILING_KEY,
|
|
10
10
|
changesAuthority,
|
|
@@ -13,17 +13,17 @@ import {
|
|
|
13
13
|
layerPermissions,
|
|
14
14
|
levelFor,
|
|
15
15
|
metaOf
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-YNYOWOKD.js";
|
|
17
17
|
import {
|
|
18
18
|
setupPermissionCeiling
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-OY2CMEUW.js";
|
|
20
20
|
import {
|
|
21
21
|
readOnlyLockOf,
|
|
22
22
|
readOnlyRefusal
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-B5LF2FVU.js";
|
|
24
24
|
import {
|
|
25
25
|
APP
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-2G66FZPO.js";
|
|
27
27
|
import {
|
|
28
28
|
CliError
|
|
29
29
|
} from "./chunk-RZ54DSVU.js";
|