@wirecat/zoom-cli 0.57.0 → 0.58.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/dist/bin/zm.js +2 -2
- package/dist/bundle/{all-profiles-EKHWTGOY.js → all-profiles-RS5IWIGR.js} +7 -7
- package/dist/bundle/answer-policy-R7VZMCGE.js +96 -0
- package/dist/bundle/{anthropic-VL54IUGF.js → anthropic-5QHQR4WF.js} +4 -4
- package/dist/bundle/app-server-7LANSZGE.js +232 -0
- package/dist/bundle/{bun-ADJVI4HY.js → bun-O6RL6LRQ.js} +2 -2
- package/dist/bundle/{bun-sqlite-2SDA3YOT.js → bun-sqlite-PEJM6CS4.js} +3 -3
- package/dist/bundle/{chunk-SQJ7EH2D.js → chunk-24DLFGES.js} +2 -2
- package/dist/bundle/{chunk-SB6WOSHG.js → chunk-27P22POE.js} +24 -24
- package/dist/bundle/{chunk-BW52AJ4R.js → chunk-3SCTDFNO.js} +38 -27
- package/dist/bundle/{chunk-ICSKEDPI.js → chunk-3SERIWJD.js} +220 -220
- package/dist/bundle/{chunk-S4S7E54J.js → chunk-4AURKUDZ.js} +4 -4
- package/dist/bundle/{chunk-IP4OK7RQ.js → chunk-4NGLRHWO.js} +1 -1
- package/dist/bundle/{server-WLJCU7KK.js → chunk-5DVW77VC.js} +37 -60
- package/dist/bundle/{chunk-2IKY7VBH.js → chunk-6CYLVFXM.js} +1 -1
- package/dist/bundle/{chunk-NW3X3G5X.js → chunk-6FL25KC5.js} +4 -4
- package/dist/bundle/{chunk-TLQUKHEM.js → chunk-7D2CD3E3.js} +5 -5
- package/dist/bundle/{chunk-6MX5T6AQ.js → chunk-7GVNQOV6.js} +1 -1
- package/dist/bundle/{chunk-VPPYYWOH.js → chunk-7H3ZRDLW.js} +2 -2
- package/dist/bundle/{chunk-EOQFWJJD.js → chunk-7Z4ANTAK.js} +20 -20
- package/dist/bundle/{chunk-NO7CJEYV.js → chunk-A6323R5P.js} +2 -2
- package/dist/bundle/{chunk-PIN5RZ3D.js → chunk-AIXLOMH4.js} +1 -1
- package/dist/bundle/{chunk-R3HPOCZD.js → chunk-AQDWGJZT.js} +2 -2
- package/dist/bundle/{chunk-CB5UTASG.js → chunk-B32SF7J3.js} +2 -2
- package/dist/bundle/{chunk-GKMGS7G5.js → chunk-BAQLQIMI.js} +26 -26
- package/dist/bundle/{chunk-NN5B24KP.js → chunk-BGILD4CI.js} +27 -27
- package/dist/bundle/{chunk-I4VQDXFR.js → chunk-BXZ6WSVF.js} +4 -4
- package/dist/bundle/{chunk-6M6FJV5D.js → chunk-CTGI4ES2.js} +6 -6
- package/dist/bundle/{chunk-AN3GVZTU.js → chunk-CVIKKIGE.js} +1 -1
- package/dist/bundle/{chunk-UC44ZMQV.js → chunk-DDYR6DYL.js} +1 -1
- package/dist/bundle/{chunk-OIHDCGV4.js → chunk-DP5DX45H.js} +3 -3
- package/dist/bundle/{chunk-DCTXOMOR.js → chunk-DXKVEOSS.js} +20 -2
- package/dist/bundle/{chunk-YB4DMKYX.js → chunk-DXZTLB24.js} +5 -4
- package/dist/bundle/{chunk-HCNMFFG3.js → chunk-G27MRA24.js} +2 -2
- package/dist/bundle/{chunk-2WOGZDZG.js → chunk-IYAGQXED.js} +10 -8
- package/dist/bundle/{chunk-LQ3T2ZIX.js → chunk-K76WFW4I.js} +4 -4
- package/dist/bundle/{chunk-7GUG6UZS.js → chunk-KVHRHBLY.js} +5 -5
- package/dist/bundle/{chunk-SE75DPBY.js → chunk-L2UIJDWB.js} +2 -2
- package/dist/bundle/{chunk-RMV4C2YL.js → chunk-L3VS3H34.js} +6 -6
- package/dist/bundle/{chunk-HG5KRV55.js → chunk-MBT7GP7K.js} +9 -9
- package/dist/bundle/{chunk-LW2G4U6W.js → chunk-MFS52LTZ.js} +1 -1
- package/dist/bundle/{chunk-4YLS4YLS.js → chunk-MMT46EN4.js} +2 -2
- package/dist/bundle/{chunk-MAEFLDHG.js → chunk-MNUTWGSA.js} +39 -37
- package/dist/bundle/{chunk-HKYLSIZ2.js → chunk-N7GAQ27N.js} +3 -3
- package/dist/bundle/{chunk-GARCOIB6.js → chunk-NDXAZB5Z.js} +6 -6
- package/dist/bundle/{chunk-CLMXBW53.js → chunk-NOKFJJPA.js} +6 -6
- package/dist/bundle/{chunk-LY26NW3I.js → chunk-NW7IMGRR.js} +1 -1
- package/dist/bundle/{chunk-K72SEMYI.js → chunk-OBZWUNO4.js} +9 -9
- package/dist/bundle/{chunk-WQ24UC44.js → chunk-PACC5N6T.js} +4 -3
- package/dist/bundle/{chunk-TKCHUT2H.js → chunk-PF25S7L4.js} +2 -2
- package/dist/bundle/{chunk-O66V2WHK.js → chunk-PKTFZAXG.js} +2 -2
- package/dist/bundle/{chunk-WJHK5D7Z.js → chunk-PNBEREOU.js} +258 -244
- package/dist/bundle/{chunk-6P3YHT54.js → chunk-POOGFSRA.js} +4 -4
- package/dist/bundle/{chunk-LXB6ONWC.js → chunk-PP3JGQQE.js} +51 -51
- package/dist/bundle/{chunk-MZH4GDR4.js → chunk-QCFHL4ES.js} +2 -2
- package/dist/bundle/{chunk-7JZJMHQY.js → chunk-QFGBMS67.js} +12 -7
- package/dist/bundle/{chunk-7A6PZUDR.js → chunk-RUP467ZX.js} +22 -12
- package/dist/bundle/{chunk-BW2WPOXP.js → chunk-RXDIG23Z.js} +6 -6
- package/dist/bundle/{chunk-OVSWVPXL.js → chunk-SIA7HJE2.js} +49 -47
- package/dist/bundle/{chunk-TZ2MKETI.js → chunk-SL3SXQZ5.js} +6 -6
- package/dist/bundle/{chunk-LHRCJYFC.js → chunk-SV5L36WK.js} +1 -1
- package/dist/bundle/{chunk-RRRBMQ2E.js → chunk-T6AAM7UT.js} +19 -17
- package/dist/bundle/{chunk-NTDWAAGL.js → chunk-U6QW67SU.js} +797 -559
- package/dist/bundle/{chunk-Z4TZ6TAF.js → chunk-UKR7KH3H.js} +2 -2
- package/dist/bundle/{chunk-LSVI3A5X.js → chunk-UOFOMU3T.js} +9 -9
- package/dist/bundle/{chunk-G4R4ZIGD.js → chunk-URO44C5T.js} +95 -94
- package/dist/bundle/{chunk-5F7IOESV.js → chunk-UXM7I35J.js} +4 -4
- package/dist/bundle/{chunk-4R7HYNZS.js → chunk-UYJUTZTT.js} +3 -3
- package/dist/bundle/{chunk-QLIB3PEC.js → chunk-VOAVOK4I.js} +18 -18
- package/dist/bundle/{chunk-LPTIQLDW.js → chunk-VSUY7PDW.js} +2 -2
- package/dist/bundle/{chunk-A4ETXPMZ.js → chunk-VYUSEJE4.js} +2 -2
- package/dist/bundle/{chunk-OCGPZHXW.js → chunk-XFCSPOLZ.js} +2 -2
- package/dist/bundle/{chunk-4VCA7QU3.js → chunk-XT7XVPEM.js} +13 -13
- package/dist/bundle/{chunk-QTR6D5HT.js → chunk-YIFIY7ZE.js} +2 -2
- package/dist/bundle/{chunk-AE4BOXH7.js → chunk-YIMI6O7R.js} +25 -25
- package/dist/bundle/{chunk-UI5UTMSZ.js → chunk-YJRMMZI5.js} +10 -10
- package/dist/bundle/{chunk-QUJPQMHJ.js → chunk-YSHSCBPM.js} +8 -8
- package/dist/bundle/{chunk-BAYNCCNM.js → chunk-ZC5UXEIH.js} +11 -11
- package/dist/bundle/{chunk-G4VZDINN.js → chunk-ZHXIXDH5.js} +4 -4
- package/dist/bundle/{chunk-5QESMCQK.js → chunk-ZTOAAYFV.js} +3 -3
- package/dist/bundle/{cli-72EQATJF.js → cli-IQTASP44.js} +59 -53
- package/dist/bundle/command-contract-WHZPF7NA.js +38 -0
- package/dist/bundle/config-IP5SGHKN.js +79 -0
- package/dist/bundle/{dist-IBNHCQXT.js → dist-WT73DF46.js} +14 -14
- package/dist/bundle/{echarts-RFTK737T.js → echarts-LD3AI55P.js} +2 -2
- package/dist/bundle/{embed-7QYA2ZZE.js → embed-XEMH4LNX.js} +4 -4
- package/dist/bundle/{embedder-YNN6PCHG.js → embedder-ZCYKSKAE.js} +7 -7
- package/dist/bundle/{first-run-EVSRQKZJ.js → first-run-LGYDLIUM.js} +8 -8
- package/dist/bundle/first-screen-LYQKPNF4.js +36 -0
- package/dist/bundle/{folders-JEPOMYM4.js → folders-5ZBUQHAM.js} +2 -2
- package/dist/bundle/{instructions-FHNL7CMW.js → instructions-RZMSW3OC.js} +3 -1
- package/dist/bundle/{main-NYGJXPH7.js → main-NKY3JGXY.js} +16 -16
- package/dist/bundle/{mcp-VGSZDCKK.js → mcp-7OXUHLTO.js} +64 -64
- package/dist/bundle/{mcp-IXFC2VVR.js → mcp-OQBZXELQ.js} +2 -2
- package/dist/bundle/mcp-VISEXTVC.js +92 -0
- package/dist/bundle/{meetings-IBPI4MM4.js → meetings-XPBHVZAU.js} +4 -4
- package/dist/bundle/{node-ZMCACJVS.js → node-ZRLYQL7J.js} +2 -2
- package/dist/bundle/{node-sqlite-ZNGOBA5Q.js → node-sqlite-BBEDYBWO.js} +3 -3
- package/dist/bundle/{oauth-Q6LKF7DB.js → oauth-UHVRGKZU.js} +5 -5
- package/dist/bundle/{open-LJ332Y5O.js → open-J4FCAUAJ.js} +2 -2
- package/dist/bundle/{output-file-RYQZ3RTE.js → output-file-SXV2ANW7.js} +3 -3
- package/dist/bundle/{process-ZPTLNVQS.js → process-LL77573L.js} +1 -1
- package/dist/bundle/{program-IBRQBQ6W.js → program-EPMIJCGA.js} +80 -80
- package/dist/bundle/{prompt-RT7GUUXH.js → prompt-LUUMQTMY.js} +3 -3
- package/dist/bundle/{recognize-QXGE7YJH.js → recognize-EMHQX4XF.js} +4 -4
- package/dist/bundle/{remote-FD4MZQV3.js → remote-ZXS6D7VB.js} +5 -5
- package/dist/bundle/{rerank-V6AVV755.js → rerank-WP7RKZNB.js} +5 -5
- package/dist/bundle/{run-log-RE2EI3UU.js → run-log-GS2L66G6.js} +53 -53
- package/dist/bundle/{serve-HIJTFAW7.js → serve-L6KLLXK2.js} +7 -7
- package/dist/bundle/server-NOFYENP5.js +53 -0
- package/dist/bundle/server-P5TXAPBY.js +66 -0
- package/dist/bundle/{services-KC5KQFBS.js → services-SPOEWVK3.js} +26 -26
- package/dist/bundle/{speech-5JOXLYDA.js → speech-6OBAKMND.js} +4 -4
- package/dist/bundle/{state-PPGRB3T6.js → state-HN5EJKXQ.js} +4 -4
- package/dist/bundle/{store-WB5BICTG.js → store-LEU3M6IN.js} +13 -13
- package/dist/bundle/{store-LODVDPK3.js → store-ZP2URKET.js} +15 -15
- package/dist/bundle/store-connection-I53XZ2TS.js +76 -0
- package/dist/bundle/store-maintenance-command-PSCHEHHY.js +54 -0
- package/dist/bundle/{streaming-UGFFNOXL.js → streaming-AK6Q2ZGQ.js} +4 -4
- package/dist/bundle/{tokens-AF5CPY2F.js → tokens-CCM3D4ZT.js} +4 -4
- package/dist/bundle/zm.js +1 -1
- package/dist/contract-overrides.d.ts.map +1 -1
- package/dist/contract-overrides.js +12 -2
- package/dist/contract-overrides.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +2 -2
- package/dist/bundle/answer-policy-KH2IFXPN.js +0 -96
- package/dist/bundle/command-contract-4MHSZUN3.js +0 -38
- package/dist/bundle/config-GFIJK6G2.js +0 -79
- package/dist/bundle/first-screen-RG4GUKW7.js +0 -36
- package/dist/bundle/mcp-XKP2PXLS.js +0 -92
- package/dist/bundle/server-3QOXOYYL.js +0 -53
- package/dist/bundle/store-connection-EG6Z5ITP.js +0 -76
- package/dist/bundle/store-maintenance-command-Q5WMFUZ2.js +0 -54
- /package/dist/bundle/{chunk-IVQ6342B.js → chunk-O5EHUB2V.js} +0 -0
- /package/dist/bundle/{chunk-X5DFDGWS.js → chunk-Q2Z3VCM4.js} +0 -0
|
@@ -4,18 +4,18 @@ import {
|
|
|
4
4
|
readSharedSection,
|
|
5
5
|
sharedConfigPath,
|
|
6
6
|
writeSharedSection
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-KVHRHBLY.js";
|
|
8
8
|
import {
|
|
9
9
|
storePath
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-B32SF7J3.js";
|
|
11
11
|
import {
|
|
12
12
|
CliError
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-YIMI6O7R.js";
|
|
14
14
|
import {
|
|
15
15
|
__name
|
|
16
16
|
} from "./chunk-ZVVMGPBJ.js";
|
|
17
17
|
|
|
18
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
18
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.473.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_39633e3162553a2c86dde989a9811fcb/node_modules/@wirecat/cli-core/dist/cli/setup-answers.js
|
|
19
19
|
var PERMISSION_ANSWERS = ["readonly", "allow"];
|
|
20
20
|
var QUESTIONS = ["languages", "tools", "permissions"];
|
|
21
21
|
var SECTION = "setup";
|
|
@@ -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.473.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_39633e3162553a2c86dde989a9811fcb/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.",
|
|
@@ -20,7 +20,7 @@ import {
|
|
|
20
20
|
tool,
|
|
21
21
|
toolKey,
|
|
22
22
|
toolsFromCommands
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-3SCTDFNO.js";
|
|
24
24
|
import {
|
|
25
25
|
CHART_KINDS,
|
|
26
26
|
CHART_SIZE,
|
|
@@ -33,28 +33,28 @@ import {
|
|
|
33
33
|
registerPrompts,
|
|
34
34
|
stdinFieldOf,
|
|
35
35
|
syncsFirst
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-27P22POE.js";
|
|
37
37
|
import {
|
|
38
38
|
mcpUrlOf
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-PKTFZAXG.js";
|
|
40
40
|
import {
|
|
41
41
|
agentJson,
|
|
42
42
|
skillResource
|
|
43
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-XT7XVPEM.js";
|
|
44
44
|
import {
|
|
45
45
|
instructions
|
|
46
|
-
} from "./chunk-
|
|
46
|
+
} from "./chunk-DXKVEOSS.js";
|
|
47
47
|
import {
|
|
48
48
|
mcpHttpMarker
|
|
49
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-ZHXIXDH5.js";
|
|
50
50
|
import {
|
|
51
51
|
answeredWire
|
|
52
|
-
} from "./chunk-
|
|
52
|
+
} from "./chunk-CVIKKIGE.js";
|
|
53
53
|
import {
|
|
54
54
|
StdioServerTransport,
|
|
55
55
|
callerOf,
|
|
56
56
|
serveStdio
|
|
57
|
-
} from "./chunk-
|
|
57
|
+
} from "./chunk-7H3ZRDLW.js";
|
|
58
58
|
import {
|
|
59
59
|
McpServer,
|
|
60
60
|
ResourceTemplate
|
|
@@ -62,24 +62,21 @@ import {
|
|
|
62
62
|
import {
|
|
63
63
|
connectedFor,
|
|
64
64
|
guardFor
|
|
65
|
-
} from "./chunk-
|
|
65
|
+
} from "./chunk-BAQLQIMI.js";
|
|
66
66
|
import {
|
|
67
67
|
lackedNeed,
|
|
68
68
|
wholeList
|
|
69
|
-
} from "./chunk-
|
|
70
|
-
import "./chunk-4R7HYNZS.js";
|
|
69
|
+
} from "./chunk-VOAVOK4I.js";
|
|
71
70
|
import {
|
|
72
71
|
capability,
|
|
73
72
|
dateWindow,
|
|
74
73
|
imageSize,
|
|
75
74
|
servicesFor,
|
|
76
75
|
storedDeps
|
|
77
|
-
} from "./chunk-
|
|
78
|
-
import "./chunk-RRRBMQ2E.js";
|
|
76
|
+
} from "./chunk-3SERIWJD.js";
|
|
79
77
|
import {
|
|
80
78
|
findCommand
|
|
81
|
-
} from "./chunk-
|
|
82
|
-
import "./chunk-G4R4ZIGD.js";
|
|
79
|
+
} from "./chunk-RXDIG23Z.js";
|
|
83
80
|
import {
|
|
84
81
|
DEFAULT_OUTPUT_BYTES,
|
|
85
82
|
changesAuthorityAt,
|
|
@@ -92,54 +89,33 @@ import {
|
|
|
92
89
|
rootOf2 as rootOf,
|
|
93
90
|
sealed,
|
|
94
91
|
snakeKeys
|
|
95
|
-
} from "./chunk-
|
|
92
|
+
} from "./chunk-MNUTWGSA.js";
|
|
96
93
|
import {
|
|
97
94
|
readOnlyLockOf
|
|
98
|
-
} from "./chunk-
|
|
99
|
-
import "./chunk-PIN5RZ3D.js";
|
|
95
|
+
} from "./chunk-XFCSPOLZ.js";
|
|
100
96
|
import {
|
|
101
97
|
withCaller
|
|
102
|
-
} from "./chunk-
|
|
98
|
+
} from "./chunk-IYAGQXED.js";
|
|
103
99
|
import {
|
|
104
100
|
typedCommand
|
|
105
|
-
} from "./chunk-
|
|
101
|
+
} from "./chunk-7Z4ANTAK.js";
|
|
106
102
|
import {
|
|
107
103
|
isCliFailure
|
|
108
|
-
} from "./chunk-
|
|
109
|
-
import "./chunk-YB4DMKYX.js";
|
|
110
|
-
import "./chunk-OIHDCGV4.js";
|
|
111
|
-
import "./chunk-LW2G4U6W.js";
|
|
112
|
-
import "./chunk-S4S7E54J.js";
|
|
113
|
-
import "./chunk-WQ24UC44.js";
|
|
114
|
-
import "./chunk-RMV4C2YL.js";
|
|
115
|
-
import "./chunk-LQ3T2ZIX.js";
|
|
104
|
+
} from "./chunk-A6323R5P.js";
|
|
116
105
|
import {
|
|
117
106
|
levelFor,
|
|
118
107
|
readKeysForCommand
|
|
119
|
-
} from "./chunk-
|
|
120
|
-
import "./chunk-HCNMFFG3.js";
|
|
121
|
-
import "./chunk-MZH4GDR4.js";
|
|
122
|
-
import "./chunk-5QESMCQK.js";
|
|
108
|
+
} from "./chunk-PF25S7L4.js";
|
|
123
109
|
import {
|
|
124
110
|
warmEmbedders
|
|
125
|
-
} from "./chunk-
|
|
126
|
-
import "./chunk-NW3X3G5X.js";
|
|
111
|
+
} from "./chunk-NOKFJJPA.js";
|
|
127
112
|
import {
|
|
128
113
|
openStore,
|
|
129
114
|
pdfPreviewLimits
|
|
130
|
-
} from "./chunk-
|
|
131
|
-
import "./chunk-6M6FJV5D.js";
|
|
132
|
-
import "./chunk-QUJPQMHJ.js";
|
|
133
|
-
import "./chunk-7GUG6UZS.js";
|
|
134
|
-
import "./chunk-GARCOIB6.js";
|
|
135
|
-
import "./chunk-4YLS4YLS.js";
|
|
136
|
-
import "./chunk-CB5UTASG.js";
|
|
137
|
-
import "./chunk-TZ2MKETI.js";
|
|
138
|
-
import "./chunk-LXB6ONWC.js";
|
|
115
|
+
} from "./chunk-PNBEREOU.js";
|
|
139
116
|
import {
|
|
140
117
|
timezoneOf
|
|
141
|
-
} from "./chunk-
|
|
142
|
-
import "./chunk-IVQ6342B.js";
|
|
118
|
+
} from "./chunk-UOFOMU3T.js";
|
|
143
119
|
import {
|
|
144
120
|
CliError,
|
|
145
121
|
description,
|
|
@@ -157,17 +133,15 @@ import {
|
|
|
157
133
|
strictObject,
|
|
158
134
|
string,
|
|
159
135
|
visibleControls
|
|
160
|
-
} from "./chunk-
|
|
161
|
-
import "./chunk-Y5E2WNWB.js";
|
|
162
|
-
import "./chunk-LY26NW3I.js";
|
|
136
|
+
} from "./chunk-YIMI6O7R.js";
|
|
163
137
|
import {
|
|
164
138
|
__name
|
|
165
139
|
} from "./chunk-ZVVMGPBJ.js";
|
|
166
140
|
|
|
167
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
141
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.473.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_39633e3162553a2c86dde989a9811fcb/node_modules/@wirecat/cli-core/dist/mcp/server.js
|
|
168
142
|
import { randomUUID } from "node:crypto";
|
|
169
143
|
|
|
170
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
144
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.473.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_39633e3162553a2c86dde989a9811fcb/node_modules/@wirecat/cli-core/dist/mcp/agent-log.js
|
|
171
145
|
var agentLog = /* @__PURE__ */ __name((open) => {
|
|
172
146
|
let held;
|
|
173
147
|
return {
|
|
@@ -186,7 +160,7 @@ var agentLog = /* @__PURE__ */ __name((open) => {
|
|
|
186
160
|
};
|
|
187
161
|
}, "agentLog");
|
|
188
162
|
|
|
189
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
163
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.473.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_39633e3162553a2c86dde989a9811fcb/node_modules/@wirecat/cli-core/dist/mcp/resources.js
|
|
190
164
|
var LISTED = 100;
|
|
191
165
|
var registerResources = /* @__PURE__ */ __name((server, session, { command, name, limit, recorded, withStore, messenger, guard, assertRead }) => {
|
|
192
166
|
server.registerResource("chat", new ResourceTemplate(`${command}://chat/{id}`, {
|
|
@@ -224,7 +198,7 @@ var registerResources = /* @__PURE__ */ __name((server, session, { command, name
|
|
|
224
198
|
});
|
|
225
199
|
}, "registerResources");
|
|
226
200
|
|
|
227
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
201
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.473.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_39633e3162553a2c86dde989a9811fcb/node_modules/@wirecat/cli-core/dist/mcp/session.js
|
|
228
202
|
var HARMLESS = /* @__PURE__ */ new Set(["validation_error", "not_found", "permission_error", "confirmation_required", "rate_limited"]);
|
|
229
203
|
var harmless = /* @__PURE__ */ __name((code) => HARMLESS.has(code), "harmless");
|
|
230
204
|
var MessengerSession = class {
|
|
@@ -299,7 +273,7 @@ var MessengerSession = class {
|
|
|
299
273
|
}
|
|
300
274
|
};
|
|
301
275
|
|
|
302
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
276
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.473.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_39633e3162553a2c86dde989a9811fcb/node_modules/@wirecat/cli-core/dist/mcp/tools/attachments.js
|
|
303
277
|
var attachmentsTools = /* @__PURE__ */ __name((messenger) => {
|
|
304
278
|
const _command = messenger.app.command;
|
|
305
279
|
return {
|
|
@@ -353,7 +327,7 @@ var attachmentsTools = /* @__PURE__ */ __name((messenger) => {
|
|
|
353
327
|
};
|
|
354
328
|
}, "attachmentsTools");
|
|
355
329
|
|
|
356
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
330
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.473.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_39633e3162553a2c86dde989a9811fcb/node_modules/@wirecat/cli-core/dist/mcp/tools/messages-photo.js
|
|
357
331
|
var PHOTO_LIMIT = 512 * 1024;
|
|
358
332
|
var IMAGE_TYPES = [
|
|
359
333
|
["image/jpeg", (b) => b[0] === 255 && b[1] === 216 && b[2] === 255],
|
|
@@ -407,7 +381,7 @@ var readUpTo = /* @__PURE__ */ __name(async (file, limit, saveIt) => {
|
|
|
407
381
|
return new Uint8Array(Buffer.concat(chunks));
|
|
408
382
|
}, "readUpTo");
|
|
409
383
|
|
|
410
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
384
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.473.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_39633e3162553a2c86dde989a9811fcb/node_modules/@wirecat/cli-core/dist/mcp/tools/stats.js
|
|
411
385
|
var statsTools = /* @__PURE__ */ __name((messenger) => ({
|
|
412
386
|
stats_charts: tool({
|
|
413
387
|
title: "A chart from a chat's statistics",
|
|
@@ -444,14 +418,14 @@ var statsTools = /* @__PURE__ */ __name((messenger) => ({
|
|
|
444
418
|
})
|
|
445
419
|
}), "statsTools");
|
|
446
420
|
|
|
447
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
421
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.473.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_39633e3162553a2c86dde989a9811fcb/node_modules/@wirecat/cli-core/dist/mcp/tools.js
|
|
448
422
|
var pictureTools = /* @__PURE__ */ __name((messenger) => Object.fromEntries(Object.entries({
|
|
449
423
|
...messagesPhotoTools(messenger),
|
|
450
424
|
...attachmentsTools(messenger),
|
|
451
425
|
...statsTools(messenger)
|
|
452
426
|
}).map(([name, definition]) => [name, { ...definition, input: strictObject(definition.input.entries) }])), "pictureTools");
|
|
453
427
|
|
|
454
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
428
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.473.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_39633e3162553a2c86dde989a9811fcb/node_modules/@wirecat/cli-core/dist/mcp/server.js
|
|
455
429
|
var PER_RUN = /* @__PURE__ */ new Set([
|
|
456
430
|
"streams",
|
|
457
431
|
"stdin",
|
|
@@ -775,7 +749,7 @@ var serveOverStdio = /* @__PURE__ */ __name(async (command, context, messenger,
|
|
|
775
749
|
}, "serveOverStdio");
|
|
776
750
|
var serveOverHttpUntilStopped = /* @__PURE__ */ __name(async (command, context, messenger, options, http) => {
|
|
777
751
|
const { session, embedders, build, log } = createServer(command, context, messenger, options);
|
|
778
|
-
const { serveOverHttp } = await import("./serve-
|
|
752
|
+
const { serveOverHttp } = await import("./serve-L6KLLXK2.js");
|
|
779
753
|
const appName = messenger.app.command;
|
|
780
754
|
const appEnvPrefix = messenger.app.envPrefix;
|
|
781
755
|
const listening = await serveOverHttp(build, {
|
|
@@ -805,8 +779,11 @@ var serveOverHttpUntilStopped = /* @__PURE__ */ __name(async (command, context,
|
|
|
805
779
|
await embedders.close();
|
|
806
780
|
}
|
|
807
781
|
}, "serveOverHttpUntilStopped");
|
|
782
|
+
|
|
808
783
|
export {
|
|
784
|
+
PER_RUN,
|
|
785
|
+
envelope,
|
|
809
786
|
createServer,
|
|
810
|
-
|
|
811
|
-
|
|
787
|
+
serveOverStdio,
|
|
788
|
+
serveOverHttpUntilStopped
|
|
812
789
|
};
|
|
@@ -2,15 +2,15 @@ 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-B32SF7J3.js";
|
|
6
6
|
import {
|
|
7
7
|
CliError
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-YIMI6O7R.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@0.473.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_39633e3162553a2c86dde989a9811fcb/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");
|
|
@@ -134,7 +134,7 @@ var speechModel = /* @__PURE__ */ __name((id) => {
|
|
|
134
134
|
return model;
|
|
135
135
|
}, "speechModel");
|
|
136
136
|
|
|
137
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
137
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.473.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_39633e3162553a2c86dde989a9811fcb/node_modules/@wirecat/cli-core/dist/speech/install.js
|
|
138
138
|
import { createHash, randomUUID } from "node:crypto";
|
|
139
139
|
import { createReadStream, createWriteStream, mkdirSync, statSync } from "node:fs";
|
|
140
140
|
import { rename, rm } from "node:fs/promises";
|
|
@@ -2,16 +2,16 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
listen
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-DDYR6DYL.js";
|
|
6
6
|
import {
|
|
7
7
|
ownerLogin
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-UKR7KH3H.js";
|
|
9
9
|
import {
|
|
10
10
|
activityRecorder,
|
|
11
11
|
calledTools,
|
|
12
12
|
httpActivityFile,
|
|
13
13
|
httpLock
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-ZHXIXDH5.js";
|
|
15
15
|
import {
|
|
16
16
|
WebStandardStreamableHTTPServerTransport,
|
|
17
17
|
createMcpHandler,
|
|
@@ -23,12 +23,12 @@ import {
|
|
|
23
23
|
} from "./chunk-5D4AEUVA.js";
|
|
24
24
|
import {
|
|
25
25
|
CliError
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-YIMI6O7R.js";
|
|
27
27
|
import {
|
|
28
28
|
__name
|
|
29
29
|
} from "./chunk-ZVVMGPBJ.js";
|
|
30
30
|
|
|
31
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
31
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.473.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_39633e3162553a2c86dde989a9811fcb/node_modules/@wirecat/cli-core/dist/mcp/http/serve.js
|
|
32
32
|
import { randomUUID } from "node:crypto";
|
|
33
33
|
var MCP_PATH = "/mcp";
|
|
34
34
|
var AS_METADATA = "/.well-known/oauth-authorization-server";
|
|
@@ -28,7 +28,7 @@ import {
|
|
|
28
28
|
import {
|
|
29
29
|
agentOf,
|
|
30
30
|
clientHash
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-IYAGQXED.js";
|
|
32
32
|
import {
|
|
33
33
|
__name
|
|
34
34
|
} from "./chunk-ZVVMGPBJ.js";
|
|
@@ -540,7 +540,7 @@ function toError(value) {
|
|
|
540
540
|
}
|
|
541
541
|
__name(toError, "toError");
|
|
542
542
|
|
|
543
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
543
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.473.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_39633e3162553a2c86dde989a9811fcb/node_modules/@wirecat/cli-core/dist/mcp/caller.js
|
|
544
544
|
var CALLER_META_KEY = "wirecat.dev/caller";
|
|
545
545
|
var PROXY_CLIENT_NAME = "all-profiles";
|
|
546
546
|
var NAME = /^[\w .@()/+-]{1,64}$/;
|
|
@@ -5,19 +5,19 @@ import {
|
|
|
5
5
|
id,
|
|
6
6
|
text,
|
|
7
7
|
time
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-DXZTLB24.js";
|
|
9
9
|
import {
|
|
10
10
|
filesPresent,
|
|
11
11
|
sharedModelsDirectory
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-6FL25KC5.js";
|
|
13
13
|
import {
|
|
14
14
|
TASK_ORIGINS,
|
|
15
15
|
TASK_STATES,
|
|
16
16
|
TASK_TYPES
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-CTGI4ES2.js";
|
|
18
18
|
import {
|
|
19
19
|
TAG_TYPES
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-MMT46EN4.js";
|
|
21
21
|
import {
|
|
22
22
|
CliError,
|
|
23
23
|
array,
|
|
@@ -33,18 +33,18 @@ import {
|
|
|
33
33
|
strictObject,
|
|
34
34
|
traceIdOf,
|
|
35
35
|
writeSecurely
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-YIMI6O7R.js";
|
|
37
37
|
import {
|
|
38
38
|
__name
|
|
39
39
|
} from "./chunk-ZVVMGPBJ.js";
|
|
40
40
|
|
|
41
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
41
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.473.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_39633e3162553a2c86dde989a9811fcb/node_modules/@wirecat/cli-core/dist/runs/run.js
|
|
42
42
|
import { randomUUID } from "node:crypto";
|
|
43
43
|
import { appendFileSync, mkdirSync, readdirSync, readFileSync, rmSync, statSync, writeFileSync } from "node:fs";
|
|
44
44
|
import { userInfo } from "node:os";
|
|
45
45
|
import { join, sep } from "node:path";
|
|
46
46
|
|
|
47
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
47
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.473.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_39633e3162553a2c86dde989a9811fcb/node_modules/@wirecat/cli-core/dist/runs/log-keys.js
|
|
48
48
|
var snake = /* @__PURE__ */ __name((key) => key.replace(/[A-Z]/g, (letter) => `_${letter.toLowerCase()}`), "snake");
|
|
49
49
|
var camel = /* @__PURE__ */ __name((key) => key.replace(/_([a-z0-9])/g, (_, letter) => letter.toUpperCase()), "camel");
|
|
50
50
|
var renamed = /* @__PURE__ */ __name((record, name) => Object.fromEntries(Object.entries(record).map(([key, value]) => [name(key), value])), "renamed");
|
|
@@ -57,7 +57,7 @@ var snakeLogger = /* @__PURE__ */ __name((logger) => ({
|
|
|
57
57
|
error: /* @__PURE__ */ __name((event, message) => logger.error(logAttributes(event), message), "error")
|
|
58
58
|
}), "snakeLogger");
|
|
59
59
|
|
|
60
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
60
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.473.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_39633e3162553a2c86dde989a9811fcb/node_modules/@wirecat/cli-core/dist/runs/log-attributes.js
|
|
61
61
|
var diagnostic = {
|
|
62
62
|
event: true,
|
|
63
63
|
operation: true,
|
|
@@ -127,7 +127,7 @@ var LOG_ATTRIBUTES = [
|
|
|
127
127
|
...new Set([...Object.keys(diagnostic), ...Object.keys(send), ...background, ...crash, ...dropped].map((key) => Object.keys(logAttributes({ [key]: true }))[0]))
|
|
128
128
|
].sort();
|
|
129
129
|
|
|
130
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
130
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.473.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_39633e3162553a2c86dde989a9811fcb/node_modules/@wirecat/cli-core/dist/runs/run.js
|
|
131
131
|
var KEEP_RUNS_FOR_DAYS = 30;
|
|
132
132
|
var KEEP_SUCCESSFUL_RUNS_FOR_DAYS = 7;
|
|
133
133
|
var RUNS_SIZE_LIMIT_MB = 200;
|
|
@@ -480,7 +480,7 @@ var metadataOf = /* @__PURE__ */ __name((parsed) => {
|
|
|
480
480
|
};
|
|
481
481
|
}, "metadataOf");
|
|
482
482
|
|
|
483
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
483
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.473.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_39633e3162553a2c86dde989a9811fcb/node_modules/@wirecat/cli-core/dist/runs/scope.js
|
|
484
484
|
import { AsyncLocalStorage } from "node:async_hooks";
|
|
485
485
|
import { randomBytes } from "node:crypto";
|
|
486
486
|
var scopes = new AsyncLocalStorage();
|
|
@@ -518,7 +518,7 @@ var attempts = new AsyncLocalStorage();
|
|
|
518
518
|
var withAttempt = /* @__PURE__ */ __name((attempt, work) => attempts.run(attempt, work), "withAttempt");
|
|
519
519
|
var currentAttempt = /* @__PURE__ */ __name(() => attempts.getStore(), "currentAttempt");
|
|
520
520
|
|
|
521
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
521
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.473.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_39633e3162553a2c86dde989a9811fcb/node_modules/@wirecat/cli-core/dist/domain/duration.js
|
|
522
522
|
var DURATION = /^(\d+)(ms|s|m|h|d)$/;
|
|
523
523
|
var UNIT_MS = { ms: 1, s: 1e3, m: 6e4, h: 36e5, d: 864e5 };
|
|
524
524
|
var parseDuration = /* @__PURE__ */ __name((value, source) => {
|
|
@@ -532,7 +532,7 @@ var parseDuration = /* @__PURE__ */ __name((value, source) => {
|
|
|
532
532
|
return ms;
|
|
533
533
|
}, "parseDuration");
|
|
534
534
|
|
|
535
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
535
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.473.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_39633e3162553a2c86dde989a9811fcb/node_modules/@wirecat/cli-core/dist/sends/guarded.js
|
|
536
536
|
import { AsyncLocalStorage as AsyncLocalStorage2 } from "node:async_hooks";
|
|
537
537
|
var sentIds = /* @__PURE__ */ __name((typed, message) => ({
|
|
538
538
|
messageId: message.id,
|
|
@@ -638,7 +638,7 @@ var guardedWrite = /* @__PURE__ */ __name(async (guard, attempt, act, settled =
|
|
|
638
638
|
}, "guardedWrite");
|
|
639
639
|
var codeOf = /* @__PURE__ */ __name((error) => typeof error?.code === "string" ? error.code : "unknown", "codeOf");
|
|
640
640
|
|
|
641
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
641
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.473.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_39633e3162553a2c86dde989a9811fcb/node_modules/@wirecat/cli-core/dist/embeddings/models.js
|
|
642
642
|
var huggingFace = /* @__PURE__ */ __name((repository, commit) => (name) => `https://huggingface.co/${repository}/resolve/${commit}/${name}`, "huggingFace");
|
|
643
643
|
var e5 = huggingFace("Xenova/multilingual-e5-small", "761b726dd34fb83930e26aab4e9ac3899aa1fa78");
|
|
644
644
|
var gemma = huggingFace("onnx-community/embeddinggemma-300m-ONNX", "5090578d9565bb06545b4552f76e6bc2c93e4a66");
|
|
@@ -797,7 +797,7 @@ var rerankModel = /* @__PURE__ */ __name((id2) => {
|
|
|
797
797
|
var vectorModelKey = /* @__PURE__ */ __name((model) => `local:${model.id}:${model.dims}`, "vectorModelKey");
|
|
798
798
|
var meaningFloor = /* @__PURE__ */ __name((key) => key === "local:e5-small:384" ? 0.8 : 0, "meaningFloor");
|
|
799
799
|
|
|
800
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
800
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.473.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_39633e3162553a2c86dde989a9811fcb/node_modules/@wirecat/cli-core/dist/images/picture/models.js
|
|
801
801
|
import { join as join2 } from "node:path";
|
|
802
802
|
var clip = /* @__PURE__ */ __name((name) => `https://huggingface.co/Xenova/clip-vit-base-patch32/resolve/d15189d7028b43f1d3e65039190477f6af591c2a/${name}`, "clip");
|
|
803
803
|
var IMAGE_MODELS = [
|
|
@@ -851,7 +851,7 @@ var imageModelsDirectory = /* @__PURE__ */ __name((env = process.env) => sharedM
|
|
|
851
851
|
var placedImage = /* @__PURE__ */ __name((model, directory) => model.files.map((file) => [file, join2(directory, model.id, file.name)]), "placedImage");
|
|
852
852
|
var isImageModelInstalled = /* @__PURE__ */ __name((model, directory) => filesPresent(placedImage(model, directory)), "isImageModelInstalled");
|
|
853
853
|
|
|
854
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
854
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.473.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_39633e3162553a2c86dde989a9811fcb/node_modules/@wirecat/cli-core/dist/entities/task.js
|
|
855
855
|
var closeSuggestion = strictObject({
|
|
856
856
|
as: picklist(["done", "dismissed"]),
|
|
857
857
|
/** The agent's name. */
|
|
@@ -893,7 +893,7 @@ var task = strictObject({
|
|
|
893
893
|
updated_at: optional(time)
|
|
894
894
|
});
|
|
895
895
|
|
|
896
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
896
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.473.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_39633e3162553a2c86dde989a9811fcb/node_modules/@wirecat/cli-core/dist/entities/agenda.js
|
|
897
897
|
var agendaChat = strictObject({
|
|
898
898
|
chat: reference,
|
|
899
899
|
title: nullable(text),
|
|
@@ -953,7 +953,7 @@ var agenda = strictObject({
|
|
|
953
953
|
unlisted_categories: array(strictObject({ name: text, open_tasks: number() }))
|
|
954
954
|
});
|
|
955
955
|
|
|
956
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
956
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.473.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_39633e3162553a2c86dde989a9811fcb/node_modules/@wirecat/cli-core/dist/entities/conversation.js
|
|
957
957
|
var conversation = strictObject({
|
|
958
958
|
id,
|
|
959
959
|
chat: reference,
|
|
@@ -968,7 +968,7 @@ var conversation = strictObject({
|
|
|
968
968
|
rules_version: count
|
|
969
969
|
});
|
|
970
970
|
|
|
971
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
971
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.473.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_39633e3162553a2c86dde989a9811fcb/node_modules/@wirecat/cli-core/dist/entities/attachment.js
|
|
972
972
|
var attachment = strictObject({
|
|
973
973
|
/** The message it came with, as a locator; absent inside that message. */
|
|
974
974
|
message: optional(reference),
|
|
@@ -997,7 +997,7 @@ var attachment = strictObject({
|
|
|
997
997
|
}))))
|
|
998
998
|
});
|
|
999
999
|
|
|
1000
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1000
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.473.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_39633e3162553a2c86dde989a9811fcb/node_modules/@wirecat/cli-core/dist/entities/tagging.js
|
|
1001
1001
|
var tagging = strictObject({
|
|
1002
1002
|
tag: text,
|
|
1003
1003
|
type: picklist(TAG_TYPES),
|
|
@@ -1010,7 +1010,7 @@ var tagging = strictObject({
|
|
|
1010
1010
|
created_at: time
|
|
1011
1011
|
});
|
|
1012
1012
|
|
|
1013
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1013
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.473.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_39633e3162553a2c86dde989a9811fcb/node_modules/@wirecat/cli-core/dist/botcheck/reasons.js
|
|
1014
1014
|
var WEIGHTS = {
|
|
1015
1015
|
bot: 3,
|
|
1016
1016
|
scam: 3,
|
|
@@ -2,12 +2,12 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
errorCodes
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-YIMI6O7R.js";
|
|
6
6
|
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.473.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_39633e3162553a2c86dde989a9811fcb/node_modules/@wirecat/cli-core/dist/errors/failures.js
|
|
11
11
|
var isCliFailure = /* @__PURE__ */ __name((value) => value instanceof Error && value.name === "CliError" && errorCodes.includes(value.code), "isCliFailure");
|
|
12
12
|
var isCommanderFailure = /* @__PURE__ */ __name((value) => {
|
|
13
13
|
const { code, exitCode } = value ?? {};
|
|
@@ -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.473.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_39633e3162553a2c86dde989a9811fcb/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) => {
|
|
@@ -3,11 +3,11 @@ const require = __bundleRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
checkCancelled,
|
|
5
5
|
object
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-VYUSEJE4.js";
|
|
7
7
|
import {
|
|
8
8
|
CliError,
|
|
9
9
|
isCliError
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-YIMI6O7R.js";
|
|
11
11
|
import {
|
|
12
12
|
__name
|
|
13
13
|
} from "./chunk-ZVVMGPBJ.js";
|
|
@@ -2,12 +2,12 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
resolvePaths
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-YIMI6O7R.js";
|
|
6
6
|
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.473.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_39633e3162553a2c86dde989a9811fcb/node_modules/@wirecat/cli-core/dist/store/path.js
|
|
11
11
|
import { join } from "node:path";
|
|
12
12
|
var wirecatDirectory = /* @__PURE__ */ __name((env = process.env, platform) => resolvePaths({ appName: "WireCat", prefix: "WIRECAT", env, ...platform ? { platform } : {} }).state, "wirecatDirectory");
|
|
13
13
|
var storePath = /* @__PURE__ */ __name((env = process.env) => env.MESSAGING_STORE ?? join(wirecatDirectory(env), "wirecat.db"), "storePath");
|