@wirecat/amo-cli 0.3.0 → 0.5.0
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/CHANGELOG.md +52 -0
- package/README.md +8 -4
- package/contracts/wirecat.json +15 -14
- package/dist/amo/allow-list.d.ts +1 -1
- package/dist/amo/allow-list.d.ts.map +1 -1
- package/dist/amo/operation.d.ts +1 -1
- package/dist/amo/operation.d.ts.map +1 -1
- package/dist/bin/amo.js +2 -2
- package/dist/bundle/agent-EFMUK732.js +41 -0
- package/dist/bundle/{all-profiles-PPUN52SP.js → all-profiles-PIWUQWBA.js} +11 -11
- package/dist/bundle/amo.js +28 -28
- package/dist/bundle/{anthropic-RDNDT6ZP.js → anthropic-47CMXBPQ.js} +5 -5
- package/dist/bundle/{app-server-MMALJDBP.js → app-server-QRBQODF2.js} +70 -69
- package/dist/bundle/areas-QVHVU57Z.js +63 -0
- package/dist/bundle/{bun-Y4FRPURU.js → bun-OPDGMZZQ.js} +2 -2
- package/dist/bundle/{bun-sqlite-7NXJGZCO.js → bun-sqlite-7I4X7CZW.js} +6 -6
- package/dist/bundle/{chunk-OMH3WP7F.js → chunk-2JHVQMVC.js} +1 -1
- package/dist/bundle/{chunk-MPXKBF37.js → chunk-2XBDILVW.js} +1 -1
- package/dist/bundle/{chunk-XI75EKLG.js → chunk-3DEQUYEG.js} +9 -9
- package/dist/bundle/{chunk-TWZF7VO6.js → chunk-3GX6KM2E.js} +1666 -163
- package/dist/bundle/{chunk-E2DLRLJ5.js → chunk-3HC5F3P7.js} +1 -1
- package/dist/bundle/{chunk-D6UPCAPD.js → chunk-3PYE55JY.js} +1 -1
- package/dist/bundle/{chunk-UM6SDFB6.js → chunk-3YM4B2GT.js} +1 -1
- package/dist/bundle/{chunk-JTFAG3BX.js → chunk-43OW5NTG.js} +6 -6
- package/dist/bundle/{chunk-ZIFEIJRK.js → chunk-43PMSR33.js} +13 -9
- package/dist/bundle/{chunk-5DPMNYQT.js → chunk-4N7PP76S.js} +1 -1
- package/dist/bundle/{chunk-XM2G62YF.js → chunk-4VN7RI4I.js} +5 -7
- package/dist/bundle/{chunk-5POLHHDZ.js → chunk-57HFPNMF.js} +8 -8
- package/dist/bundle/{chunk-CQ472K6W.js → chunk-5UTB3ADZ.js} +11 -11
- package/dist/bundle/{chunk-3NDMVXGS.js → chunk-633NQY2R.js} +3 -3
- package/dist/bundle/{chunk-VPBSZ4HQ.js → chunk-63N46DJU.js} +220 -234
- package/dist/bundle/{chunk-SJZ52MZE.js → chunk-6D4VWSJD.js} +6 -6
- package/dist/bundle/{chunk-Q2YVY7IR.js → chunk-6JTHXWPE.js} +3 -3
- package/dist/bundle/{chunk-QQT7WUR4.js → chunk-6QGUK3H7.js} +4 -4
- package/dist/bundle/{chunk-AYR6FIXN.js → chunk-6WS6GJ4V.js} +2 -2
- package/dist/bundle/{chunk-N4A6E2LL.js → chunk-7IR2G5XY.js} +16 -16
- package/dist/bundle/{chunk-7Z6NYSAN.js → chunk-7IWIFVXH.js} +4 -4
- package/dist/bundle/{chunk-LOSOWTAZ.js → chunk-ABX7BBS4.js} +6 -6
- package/dist/bundle/{chunk-3YOZTGZ6.js → chunk-ADTI5RUO.js} +6 -6
- package/dist/bundle/{chunk-QHA33ZS6.js → chunk-AKRIUNYP.js} +7 -7
- package/dist/bundle/{chunk-KZDBO2FT.js → chunk-BIKOE2IW.js} +7 -7
- package/dist/bundle/{chunk-VY27K2SH.js → chunk-BVVMIAQ6.js} +769 -692
- package/dist/bundle/{chunk-SBQ5MFHM.js → chunk-CGW5R4UD.js} +7 -7
- package/dist/bundle/{chunk-UZLT6VSP.js → chunk-D4NE7EON.js} +3 -3
- package/dist/bundle/{chunk-L2ZQDTDU.js → chunk-DNCLQPOM.js} +1 -1
- package/dist/bundle/{chunk-VFU25P57.js → chunk-DPV53EZC.js} +4 -4
- package/dist/bundle/{chunk-KEOKH2OZ.js → chunk-DQ6S5TFZ.js} +185 -114
- package/dist/bundle/{chunk-5RXH35ZA.js → chunk-DSJ6EAOA.js} +61 -61
- package/dist/bundle/{chunk-HQH4YPO5.js → chunk-DVZ75WZJ.js} +157 -35
- package/dist/bundle/{chunk-VEGNZPQU.js → chunk-EHK73OSW.js} +38 -24
- package/dist/bundle/{chunk-IEAPNTHT.js → chunk-FNV5HLHX.js} +17 -17
- package/dist/bundle/{chunk-FPDTIQOK.js → chunk-FV4GQNIK.js} +2 -2
- package/dist/bundle/{chunk-7USADF2W.js → chunk-G2TU5RYY.js} +6 -6
- package/dist/bundle/{chunk-IDQ7BNCZ.js → chunk-GDK7ETSB.js} +12 -12
- package/dist/bundle/{chunk-B4ITT55D.js → chunk-GGMAIIVE.js} +1 -1
- package/dist/bundle/{chunk-NJ2LJKNH.js → chunk-GLYWZQY4.js} +3 -3
- package/dist/bundle/{chunk-XDT74W5P.js → chunk-H4AFNENN.js} +34 -29
- package/dist/bundle/{chunk-2YEDK2XV.js → chunk-HOF7GQWW.js} +4 -4
- package/dist/bundle/{chunk-H34RBRS3.js → chunk-HSPEU6S7.js} +8 -8
- package/dist/bundle/{chunk-VJHOBOJR.js → chunk-IA7LLLEI.js} +3 -3
- package/dist/bundle/{chunk-YSOGGUK3.js → chunk-IB55P46L.js} +6 -6
- package/dist/bundle/{chunk-PFZ7WG2B.js → chunk-IG2TJQJ7.js} +3 -3
- package/dist/bundle/{chunk-CUZISGWH.js → chunk-JG6LCSEX.js} +13 -13
- package/dist/bundle/{chunk-MMOEAH5G.js → chunk-JLXXUEAM.js} +2 -2
- package/dist/bundle/{chunk-3RP57VDS.js → chunk-JXT6GY4V.js} +174 -62
- package/dist/bundle/{chunk-7SBAHYZW.js → chunk-K7YY6SXR.js} +19 -15
- package/dist/bundle/{chunk-TCDER3G7.js → chunk-KEKXERBE.js} +14883 -11912
- package/dist/bundle/{chunk-JZ2AITOE.js → chunk-KZ2FIDI3.js} +3 -3
- package/dist/bundle/{chunk-ILUREFWJ.js → chunk-KZN2BG3P.js} +8 -8
- package/dist/bundle/{chunk-L3JDQNBC.js → chunk-LKH3UKLO.js} +4 -4
- package/dist/bundle/{chunk-UA7C57IB.js → chunk-LZPKBN3C.js} +2 -2
- package/dist/bundle/{chunk-FI2TP6TY.js → chunk-M6VZXAJC.js} +3 -3
- package/dist/bundle/{chunk-7VSYOMEH.js → chunk-MDEPJZYJ.js} +2 -2
- package/dist/bundle/{chunk-WBWVBEHH.js → chunk-NB7EOAUZ.js} +8 -1
- package/dist/bundle/{chunk-LYRICHEK.js → chunk-NISH4UXM.js} +2 -2
- package/dist/bundle/{chunk-VD7HD25M.js → chunk-NSKMNIY6.js} +9 -9
- package/dist/bundle/chunk-PPSAWFJD.js +1293 -0
- package/dist/bundle/{chunk-7E6QSIRQ.js → chunk-Q7ICVP25.js} +1 -1
- package/dist/bundle/{chunk-BKTLAXUK.js → chunk-QFOP3KUP.js} +8 -8
- package/dist/bundle/{chunk-ORFLQGWH.js → chunk-R53XXHEI.js} +4 -4
- package/dist/bundle/{chunk-UOPP6ORQ.js → chunk-RIMPFMZE.js} +28 -179
- package/dist/bundle/{chunk-MYMBPQPQ.js → chunk-RN6RT5CB.js} +4 -4
- package/dist/bundle/{chunk-BYVDMPLX.js → chunk-RRTMPSQR.js} +2 -2
- package/dist/bundle/{chunk-R23DRW2T.js → chunk-S4ZHQMNM.js} +5 -5
- package/dist/bundle/{chunk-GCUFGDKE.js → chunk-S6JG4YUH.js} +2 -2
- package/dist/bundle/{chunk-W4KY5JF5.js → chunk-TAVI73RW.js} +2 -2
- package/dist/bundle/{chunk-KTLCQ7GC.js → chunk-TLG6ECZ2.js} +2 -2
- package/dist/bundle/{chunk-V3ZWYMXT.js → chunk-TXDR6YSF.js} +1 -1
- package/dist/bundle/{chunk-KKXF6TSS.js → chunk-TY7NDMFY.js} +1 -1
- package/dist/bundle/{chunk-YVO2YGML.js → chunk-U5RJJ2EC.js} +8 -8
- package/dist/bundle/{chunk-I4QCJZW7.js → chunk-UDSL3MUU.js} +8 -8
- package/dist/bundle/{chunk-SJYVKR54.js → chunk-V2CNGXWX.js} +37 -37
- package/dist/bundle/{chunk-L72UALL5.js → chunk-VB7FZOYX.js} +1 -1
- package/dist/bundle/{chunk-T6D34X5S.js → chunk-VZ5PPYDG.js} +1 -1
- package/dist/bundle/{chunk-FPIUFSWK.js → chunk-W5JRXIG6.js} +826 -1619
- package/dist/bundle/{chunk-ELJGALVX.js → chunk-WIHN3ELW.js} +19 -19
- package/dist/bundle/chunk-WOPVBRPV.js +29 -0
- package/dist/bundle/{chunk-4MVTSMWP.js → chunk-WUFX4TKA.js} +2 -2
- package/dist/bundle/{chunk-GKP7CKW2.js → chunk-WXJYMMEL.js} +6 -6
- package/dist/bundle/{chunk-UT3ODJMI.js → chunk-XCCU2E3Z.js} +4 -4
- package/dist/bundle/{chunk-EHULZEXQ.js → chunk-XEQQJBBO.js} +1 -1
- package/dist/bundle/{chunk-EKNP326Q.js → chunk-XUT7DSM5.js} +2 -2
- package/dist/bundle/{chunk-4EYPFFTN.js → chunk-YWDFYQOU.js} +2 -2
- package/dist/bundle/{chunk-IYUWVMGP.js → chunk-ZLUIRFJX.js} +37 -18
- package/dist/bundle/{cli-GAO7LDDA.js → cli-3NXOSENF.js} +104 -105
- package/dist/bundle/command-contract-LNSAV5LA.js +39 -0
- package/dist/bundle/{command-server-entry-BCDJP7XE.js → command-server-entry-4ZQPNUL4.js} +28 -28
- package/dist/bundle/{decode-OY2GR442.js → decode-K7U7X5EL.js} +5 -5
- package/dist/bundle/{dispatch-JWEJCBTF.js → dispatch-56FECRCU.js} +8 -8
- package/dist/bundle/{echarts-AHEPEA5P.js → echarts-O3TNDAXJ.js} +2 -2
- package/dist/bundle/{embed-RVSUV54Z.js → embed-SWLVG73O.js} +6 -6
- package/dist/bundle/{embedder-GRZXZUXR.js → embedder-EJN75BPV.js} +9 -9
- package/dist/bundle/{failure-DDCSR54L.js → failure-WDSX6H3B.js} +2 -2
- package/dist/bundle/{first-run-G3WI4DH4.js → first-run-WPGUUC4Z.js} +12 -12
- package/dist/bundle/first-screen-JMNEUQ46.js +40 -0
- package/dist/bundle/{instructions-NWQC5IP4.js → instructions-AMH5RWVJ.js} +1 -1
- package/dist/bundle/{mcp-KGWT6TGO.js → mcp-5HFPWC3W.js} +2 -2
- package/dist/bundle/meeting-combined-5TKG2RYD.js +24 -0
- package/dist/bundle/{meeting-model-I6T5HIZ5.js → meeting-model-YXXNETKC.js} +11 -11
- package/dist/bundle/{meeting-semantic-47UA5JBF.js → meeting-semantic-U7EUB3ET.js} +6 -6
- package/dist/bundle/{node-7VXN7F4B.js → node-EGMCBAO7.js} +2 -2
- package/dist/bundle/{node-sqlite-BSEON57L.js → node-sqlite-YVOGMDSP.js} +7 -7
- package/dist/bundle/{oauth-V6UAT4YD.js → oauth-2SNRBIJM.js} +7 -7
- package/dist/bundle/{open-7LVAY7ZU.js → open-ABCPY5IH.js} +5 -5
- package/dist/bundle/{openai-OIEH342H.js → openai-4D6PXJR7.js} +15 -15
- package/dist/bundle/{process-PTUCNLZ7.js → process-SGHEN6MQ.js} +1 -1
- package/dist/bundle/{program-S5WY5IZP.js → program-CBDQBZZ3.js} +1319 -1079
- package/dist/bundle/{prompt-7XWTEQ62.js → prompt-2QUK5QST.js} +5 -5
- package/dist/bundle/{recognize-HGIAJXDR.js → recognize-QMQSJRIH.js} +4 -4
- package/dist/bundle/{remote-X4SVEMHS.js → remote-U7TC2BLZ.js} +9 -9
- package/dist/bundle/{rerank-QWM3DQMU.js → rerank-5UPVXGVV.js} +7 -7
- package/dist/bundle/{serve-VVG3TXYT.js → serve-VX6GUM6J.js} +9 -9
- package/dist/bundle/{server-EHYK62BJ.js → server-FOPC6DJ3.js} +62 -61
- package/dist/bundle/server-OIVNOMVK.js +87 -0
- package/dist/bundle/source-HWS5SJIV.js +46 -0
- package/dist/bundle/{sqlite-runtime-MCKXDNYC.js → sqlite-runtime-77NKDEXN.js} +6 -6
- package/dist/bundle/{state-MYNYQJCT.js → state-X2HU6GB2.js} +6 -6
- package/dist/bundle/{store-B7O3F3QB.js → store-2U4U6KL4.js} +22 -22
- package/dist/bundle/{store-FPIU2546.js → store-3CHPHFP7.js} +30 -24
- package/dist/bundle/store-Z3747L5F.js +34 -0
- package/dist/bundle/store-maintenance-command-UOSZJTVP.js +74 -0
- package/dist/bundle/surface-MUT72QON.js +73 -0
- package/dist/bundle/writer-RBKQ64ZM.js +48 -0
- package/dist/commands/account.d.ts +3 -2
- package/dist/commands/account.d.ts.map +1 -1
- package/dist/commands/account.js +38 -77
- package/dist/commands/account.js.map +1 -1
- package/dist/commands/crm-shared.d.ts.map +1 -1
- package/dist/commands/crm-shared.js +3 -1
- package/dist/commands/crm-shared.js.map +1 -1
- package/dist/commands/session.d.ts +0 -6
- package/dist/commands/session.d.ts.map +1 -1
- package/dist/commands/session.js +9 -34
- package/dist/commands/session.js.map +1 -1
- package/dist/program.d.ts.map +1 -1
- package/dist/program.js +0 -2
- package/dist/program.js.map +1 -1
- package/dist/reasons.d.ts.map +1 -1
- package/dist/reasons.js +0 -2
- package/dist/reasons.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +4 -4
- package/skills/amo-cli/SKILL.md +6 -0
- package/dist/bundle/agent-FDNP27SW.js +0 -40
- package/dist/bundle/chunk-77FP6AWC.js +0 -1266
- package/dist/bundle/command-contract-RLIBGIDT.js +0 -39
- package/dist/bundle/first-screen-6MLCMW2U.js +0 -39
- package/dist/bundle/meeting-combined-SVTFVZNJ.js +0 -24
- package/dist/bundle/server-WRPTBVNW.js +0 -86
- package/dist/bundle/source-YISMYLBQ.js +0 -44
- package/dist/bundle/store-A7R2SZVD.js +0 -34
- package/dist/bundle/store-maintenance-command-D55FRTIK.js +0 -73
- package/dist/bundle/surface-3EX6IGHW.js +0 -72
- package/dist/bundle/writer-XDHZ54JD.js +0 -46
|
@@ -2,15 +2,15 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
normalize
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-2JHVQMVC.js";
|
|
6
6
|
import {
|
|
7
7
|
CliError
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-S6JG4YUH.js";
|
|
9
9
|
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@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/search/languages.js
|
|
14
14
|
var LANGUAGES = [
|
|
15
15
|
{ name: "russian", code: "ru", label: "Russian", script: "cyrillic", dictionary: "dictionary-ru" },
|
|
16
16
|
{ name: "english", code: "en", label: "English", script: "latin", dictionary: "dictionary-en" },
|
|
@@ -18,7 +18,7 @@ var LANGUAGES = [
|
|
|
18
18
|
];
|
|
19
19
|
var languagesOf = /* @__PURE__ */ __name((script) => LANGUAGES.filter((one) => one.script === script).map(({ name }) => name), "languagesOf");
|
|
20
20
|
|
|
21
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
21
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/search/snowball/base-stemmer.js
|
|
22
22
|
var BaseStemmer = class {
|
|
23
23
|
static {
|
|
24
24
|
__name(this, "BaseStemmer");
|
|
@@ -393,7 +393,7 @@ var BaseStemmer = class {
|
|
|
393
393
|
}
|
|
394
394
|
};
|
|
395
395
|
|
|
396
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
396
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/search/snowball/english-stemmer.js
|
|
397
397
|
var a_0 = [
|
|
398
398
|
["arsen", -1],
|
|
399
399
|
["commun", -1],
|
|
@@ -1094,7 +1094,7 @@ var english_stemmer_default = class extends BaseStemmer {
|
|
|
1094
1094
|
stemWord = this.stem;
|
|
1095
1095
|
};
|
|
1096
1096
|
|
|
1097
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1097
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/search/snowball/russian-stemmer.js
|
|
1098
1098
|
var a_02 = [
|
|
1099
1099
|
["\u0432", 1],
|
|
1100
1100
|
["\u0438\u0432", 2, 1],
|
|
@@ -1517,7 +1517,7 @@ var russian_stemmer_default = class extends BaseStemmer {
|
|
|
1517
1517
|
stemWord = this.stem;
|
|
1518
1518
|
};
|
|
1519
1519
|
|
|
1520
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1520
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/search/snowball/spanish-stemmer.js
|
|
1521
1521
|
var a_03 = [
|
|
1522
1522
|
["", 6],
|
|
1523
1523
|
["\xE1", 1, 1],
|
|
@@ -2193,7 +2193,7 @@ var spanish_stemmer_default = class extends BaseStemmer {
|
|
|
2193
2193
|
stemWord = this.stem;
|
|
2194
2194
|
};
|
|
2195
2195
|
|
|
2196
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2196
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/search/stem.js
|
|
2197
2197
|
var SNOWBALL_VERSION = "3.1.1";
|
|
2198
2198
|
var CYRILLIC_STEMMERS = [...languagesOf("cyrillic"), "none"];
|
|
2199
2199
|
var LATIN_STEMMERS = [...languagesOf("latin"), "none"];
|
|
@@ -12,31 +12,31 @@ import {
|
|
|
12
12
|
refuseWriteBeforeConnecting,
|
|
13
13
|
registerPrompts,
|
|
14
14
|
syncsFirst
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-H4AFNENN.js";
|
|
16
16
|
import {
|
|
17
17
|
skillResources
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-ABX7BBS4.js";
|
|
19
19
|
import {
|
|
20
20
|
StdioServerTransport,
|
|
21
21
|
answeredWire,
|
|
22
22
|
serveStdio
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-VB7FZOYX.js";
|
|
24
24
|
import {
|
|
25
25
|
stdinFieldOf
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-Q7ICVP25.js";
|
|
27
27
|
import {
|
|
28
28
|
connectedFor
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-RIMPFMZE.js";
|
|
30
30
|
import {
|
|
31
31
|
wholeList
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-U5RJJ2EC.js";
|
|
33
33
|
import {
|
|
34
34
|
runCommandForAgent,
|
|
35
35
|
toolsFromCommands
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-DVZ75WZJ.js";
|
|
37
37
|
import {
|
|
38
38
|
instructions
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-2XBDILVW.js";
|
|
40
40
|
import {
|
|
41
41
|
BinaryResource,
|
|
42
42
|
Picture,
|
|
@@ -55,39 +55,39 @@ import {
|
|
|
55
55
|
tierOf,
|
|
56
56
|
tool,
|
|
57
57
|
toolKey
|
|
58
|
-
} from "./chunk-
|
|
58
|
+
} from "./chunk-7IR2G5XY.js";
|
|
59
59
|
import {
|
|
60
60
|
agentJson
|
|
61
|
-
} from "./chunk-
|
|
61
|
+
} from "./chunk-HSPEU6S7.js";
|
|
62
62
|
import {
|
|
63
63
|
imageSize,
|
|
64
64
|
lackedNeed,
|
|
65
65
|
servicesFor,
|
|
66
66
|
storedDeps
|
|
67
|
-
} from "./chunk-
|
|
67
|
+
} from "./chunk-BVVMIAQ6.js";
|
|
68
68
|
import {
|
|
69
69
|
guardFor
|
|
70
|
-
} from "./chunk-
|
|
70
|
+
} from "./chunk-3GX6KM2E.js";
|
|
71
71
|
import {
|
|
72
72
|
callerOf,
|
|
73
73
|
callingAgent
|
|
74
|
-
} from "./chunk-
|
|
74
|
+
} from "./chunk-XUT7DSM5.js";
|
|
75
75
|
import {
|
|
76
76
|
capability
|
|
77
|
-
} from "./chunk-
|
|
77
|
+
} from "./chunk-6WS6GJ4V.js";
|
|
78
78
|
import {
|
|
79
79
|
dateWindow
|
|
80
|
-
} from "./chunk-
|
|
80
|
+
} from "./chunk-K7YY6SXR.js";
|
|
81
81
|
import {
|
|
82
82
|
McpServer,
|
|
83
83
|
ResourceTemplate
|
|
84
84
|
} from "./chunk-PL5P7UKW.js";
|
|
85
85
|
import {
|
|
86
86
|
mcpHttpMarker
|
|
87
|
-
} from "./chunk-
|
|
87
|
+
} from "./chunk-6QGUK3H7.js";
|
|
88
88
|
import {
|
|
89
89
|
findCommand
|
|
90
|
-
} from "./chunk-
|
|
90
|
+
} from "./chunk-S4ZHQMNM.js";
|
|
91
91
|
import {
|
|
92
92
|
DEFAULT_OUTPUT_BYTES,
|
|
93
93
|
changesAuthorityAt,
|
|
@@ -102,31 +102,31 @@ import {
|
|
|
102
102
|
rootOf2 as rootOf,
|
|
103
103
|
sealed,
|
|
104
104
|
snakeKeys
|
|
105
|
-
} from "./chunk-
|
|
105
|
+
} from "./chunk-63N46DJU.js";
|
|
106
106
|
import {
|
|
107
107
|
withCaller
|
|
108
|
-
} from "./chunk-
|
|
108
|
+
} from "./chunk-CGW5R4UD.js";
|
|
109
109
|
import {
|
|
110
110
|
openStore,
|
|
111
111
|
pdfPreviewLimits
|
|
112
|
-
} from "./chunk-
|
|
112
|
+
} from "./chunk-KEKXERBE.js";
|
|
113
113
|
import {
|
|
114
114
|
typedCommand
|
|
115
|
-
} from "./chunk-
|
|
115
|
+
} from "./chunk-PPSAWFJD.js";
|
|
116
116
|
import {
|
|
117
117
|
isCliFailure
|
|
118
|
-
} from "./chunk-
|
|
118
|
+
} from "./chunk-JLXXUEAM.js";
|
|
119
119
|
import {
|
|
120
120
|
warmEmbedders
|
|
121
|
-
} from "./chunk-
|
|
121
|
+
} from "./chunk-ADTI5RUO.js";
|
|
122
122
|
import {
|
|
123
123
|
fetchesAt,
|
|
124
124
|
levelFor,
|
|
125
125
|
readKeysForCommand
|
|
126
|
-
} from "./chunk-
|
|
126
|
+
} from "./chunk-BIKOE2IW.js";
|
|
127
127
|
import {
|
|
128
128
|
timezoneOf
|
|
129
|
-
} from "./chunk-
|
|
129
|
+
} from "./chunk-DSJ6EAOA.js";
|
|
130
130
|
import {
|
|
131
131
|
description,
|
|
132
132
|
errorObjectOf,
|
|
@@ -143,19 +143,19 @@ import {
|
|
|
143
143
|
regex,
|
|
144
144
|
strictObject,
|
|
145
145
|
string
|
|
146
|
-
} from "./chunk-
|
|
146
|
+
} from "./chunk-QFOP3KUP.js";
|
|
147
147
|
import {
|
|
148
148
|
CliError,
|
|
149
149
|
visibleControls
|
|
150
|
-
} from "./chunk-
|
|
150
|
+
} from "./chunk-S6JG4YUH.js";
|
|
151
151
|
import {
|
|
152
152
|
__name
|
|
153
153
|
} from "./chunk-ZVVMGPBJ.js";
|
|
154
154
|
|
|
155
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
155
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/mcp/server.js
|
|
156
156
|
import { randomUUID } from "node:crypto";
|
|
157
157
|
|
|
158
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
158
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/mcp/agent-log.js
|
|
159
159
|
var agentLog = /* @__PURE__ */ __name((open) => {
|
|
160
160
|
let held;
|
|
161
161
|
return {
|
|
@@ -174,7 +174,7 @@ var agentLog = /* @__PURE__ */ __name((open) => {
|
|
|
174
174
|
};
|
|
175
175
|
}, "agentLog");
|
|
176
176
|
|
|
177
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
177
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/mcp/resources.js
|
|
178
178
|
var LISTED = 100;
|
|
179
179
|
var registerResources = /* @__PURE__ */ __name((server, session, { command, name, limit, recorded, withStore, messenger, guard, assertRead }) => {
|
|
180
180
|
server.registerResource("chat", new ResourceTemplate(`${command}://chat/{id}`, {
|
|
@@ -212,7 +212,7 @@ var registerResources = /* @__PURE__ */ __name((server, session, { command, name
|
|
|
212
212
|
});
|
|
213
213
|
}, "registerResources");
|
|
214
214
|
|
|
215
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
215
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/mcp/session.js
|
|
216
216
|
var HARMLESS = /* @__PURE__ */ new Set(["validation_error", "not_found", "permission_error", "confirmation_required", "rate_limited"]);
|
|
217
217
|
var harmless = /* @__PURE__ */ __name((code) => HARMLESS.has(code), "harmless");
|
|
218
218
|
var MessengerSession = class {
|
|
@@ -287,7 +287,7 @@ var MessengerSession = class {
|
|
|
287
287
|
}
|
|
288
288
|
};
|
|
289
289
|
|
|
290
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
290
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/mcp/tools/attachments.js
|
|
291
291
|
var attachmentsTools = /* @__PURE__ */ __name((messenger) => {
|
|
292
292
|
const _command = messenger.app.command;
|
|
293
293
|
return {
|
|
@@ -341,7 +341,7 @@ var attachmentsTools = /* @__PURE__ */ __name((messenger) => {
|
|
|
341
341
|
};
|
|
342
342
|
}, "attachmentsTools");
|
|
343
343
|
|
|
344
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
344
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/mcp/tools/messages-photo.js
|
|
345
345
|
var PHOTO_LIMIT = 512 * 1024;
|
|
346
346
|
var IMAGE_TYPES = [
|
|
347
347
|
["image/jpeg", (b) => b[0] === 255 && b[1] === 216 && b[2] === 255],
|
|
@@ -397,7 +397,7 @@ var readUpTo = /* @__PURE__ */ __name(async (file, limit, saveIt) => {
|
|
|
397
397
|
return new Uint8Array(Buffer.concat(chunks));
|
|
398
398
|
}, "readUpTo");
|
|
399
399
|
|
|
400
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
400
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/mcp/tools/stats.js
|
|
401
401
|
var statsTools = /* @__PURE__ */ __name((messenger) => ({
|
|
402
402
|
stats_charts: tool({
|
|
403
403
|
title: "A chart from a chat's statistics",
|
|
@@ -434,14 +434,14 @@ var statsTools = /* @__PURE__ */ __name((messenger) => ({
|
|
|
434
434
|
})
|
|
435
435
|
}), "statsTools");
|
|
436
436
|
|
|
437
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
437
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/mcp/tools.js
|
|
438
438
|
var pictureTools = /* @__PURE__ */ __name((messenger) => Object.fromEntries(Object.entries({
|
|
439
439
|
...messagesPhotoTools(messenger),
|
|
440
440
|
...attachmentsTools(messenger),
|
|
441
441
|
...statsTools(messenger)
|
|
442
442
|
}).map(([name, definition]) => [name, { ...definition, input: strictObject(definition.input.entries) }])), "pictureTools");
|
|
443
443
|
|
|
444
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
444
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/mcp/server.js
|
|
445
445
|
var PER_RUN = /* @__PURE__ */ new Set([
|
|
446
446
|
"streams",
|
|
447
447
|
"stdin",
|
|
@@ -757,7 +757,7 @@ var serveOverStdio = /* @__PURE__ */ __name(async (command, context, messenger,
|
|
|
757
757
|
}, "serveOverStdio");
|
|
758
758
|
var serveOverHttpUntilStopped = /* @__PURE__ */ __name(async (command, context, messenger, options, http) => {
|
|
759
759
|
const { session, embedders, build, log } = createServer(command, context, messenger, options);
|
|
760
|
-
const { serveOverHttp } = await import("./serve-
|
|
760
|
+
const { serveOverHttp } = await import("./serve-VX6GUM6J.js");
|
|
761
761
|
const appName = messenger.app.command;
|
|
762
762
|
const appEnvPrefix = messenger.app.envPrefix;
|
|
763
763
|
const listening = await serveOverHttp(build, {
|
|
@@ -535,7 +535,7 @@ function toError(value) {
|
|
|
535
535
|
}
|
|
536
536
|
__name(toError, "toError");
|
|
537
537
|
|
|
538
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
538
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/mcp/stdio-wire.js
|
|
539
539
|
import { PassThrough, Writable } from "node:stream";
|
|
540
540
|
var lineReader = /* @__PURE__ */ __name((onMessage) => {
|
|
541
541
|
let rest = "";
|
|
@@ -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@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/http/listen.js
|
|
8
8
|
import { createServer } from "node:http";
|
|
9
9
|
import { pipeline, Readable } from "node:stream";
|
|
10
10
|
var MAX_BODY = 4 * 1024 * 1024;
|