@wirecat/cli-memo 0.131.75 → 0.131.77
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/actions/actions.d.ts +1 -0
- package/dist/actions/actions.d.ts.map +1 -1
- package/dist/actions/actions.js +3 -3
- package/dist/actions/actions.js.map +1 -1
- package/dist/actions/command.d.ts.map +1 -1
- package/dist/actions/command.js +3 -1
- package/dist/actions/command.js.map +1 -1
- package/dist/agents/command.d.ts.map +1 -1
- package/dist/agents/command.js +3 -2
- package/dist/agents/command.js.map +1 -1
- package/dist/agents/log.d.ts +1 -1
- package/dist/agents/log.d.ts.map +1 -1
- package/dist/agents/log.js +5 -4
- package/dist/agents/log.js.map +1 -1
- package/dist/bin/memo.js +2 -2
- package/dist/bin/memo.js.map +1 -1
- package/dist/bundle/{all-profiles-LUGN5BHP.js → all-profiles-4UWCPMRQ.js} +10 -8
- package/dist/bundle/{anthropic-W7JXDZPL.js → anthropic-HECHQVOK.js} +7 -5
- package/dist/bundle/{app-server-TRRARE66.js → app-server-GQEQWFYQ.js} +42 -40
- package/dist/bundle/auto-3O7JD27U.js +91 -0
- package/dist/bundle/{bun-S3JZIN4S.js → bun-IWGIAD7H.js} +2 -2
- package/dist/bundle/{bun-sqlite-X3WQN3CV.js → bun-sqlite-VJFM4TVN.js} +7 -5
- package/dist/bundle/{chunk-KDBAY5JZ.js → chunk-2DLCQ4AK.js} +1 -1
- package/dist/bundle/{chunk-W46O6RJ5.js → chunk-2IQWMWMC.js} +42 -130
- package/dist/bundle/{chunk-4O2MYFYC.js → chunk-3EPBPSP6.js} +1 -1
- package/dist/bundle/{chunk-KEBL3PY4.js → chunk-3QBRLN6T.js} +2 -2
- package/dist/bundle/{chunk-V7BDQIZS.js → chunk-3URQNBDV.js} +2 -2
- package/dist/bundle/{chunk-UU3OAPGO.js → chunk-4EFQOTNQ.js} +7 -7
- package/dist/bundle/{chunk-RZS24U4N.js → chunk-4VO2RJAE.js} +12 -10
- package/dist/bundle/{chunk-WKLF7CAM.js → chunk-5APYWW46.js} +34 -32
- package/dist/bundle/{chunk-VYCLOFPC.js → chunk-6A37YXAL.js} +6 -184
- package/dist/bundle/{chunk-346PWQJF.js → chunk-6RN34ZWU.js} +6 -6
- package/dist/bundle/{chunk-WZHCQ4VZ.js → chunk-6VISMU6R.js} +8 -8
- package/dist/bundle/{chunk-ZP2XI5DR.js → chunk-76T57Y3Q.js} +6 -6
- package/dist/bundle/{chunk-FGMFJUHR.js → chunk-7YALAAL4.js} +734 -374
- package/dist/bundle/{chunk-KA5MDFLU.js → chunk-A3QZXQI3.js} +1 -1
- package/dist/bundle/{chunk-4XI7S3PO.js → chunk-A54EZ6DV.js} +15 -15
- package/dist/bundle/{chunk-5RLCKP5E.js → chunk-AH6V2UJZ.js} +22 -18
- package/dist/bundle/{chunk-2EZFUIL4.js → chunk-BA6GHX5B.js} +27 -27
- package/dist/bundle/{chunk-E74VWHZ2.js → chunk-BFEXVALS.js} +1 -1
- package/dist/bundle/{chunk-XPSXVUZG.js → chunk-BNOSAHVH.js} +3 -3
- package/dist/bundle/{chunk-ZXW5FPH2.js → chunk-C3HS26N5.js} +1 -1
- package/dist/bundle/{chunk-VFKCZJFT.js → chunk-CFZZUGUD.js} +22 -22
- package/dist/bundle/{chunk-KYJBGCTC.js → chunk-CPKS7JKX.js} +2 -2
- package/dist/bundle/{chunk-7Y4HUYI3.js → chunk-D7KQYLAN.js} +8 -8
- package/dist/bundle/{chunk-LX3OSTBD.js → chunk-DE5BNDIA.js} +4 -4
- package/dist/bundle/{chunk-SJD4KTK2.js → chunk-DJYMK7EI.js} +4 -4
- package/dist/bundle/{chunk-EWRHTZD3.js → chunk-DNPE4LOZ.js} +11 -11
- package/dist/bundle/chunk-EXFRC4OT.js +106 -0
- package/dist/bundle/{chunk-XMHWGHID.js → chunk-EY46RMMS.js} +183 -158
- package/dist/bundle/{chunk-UIAGASGP.js → chunk-HFZHXP4U.js} +6 -6
- package/dist/bundle/{chunk-QYJJBE56.js → chunk-HKDUGTWQ.js} +3 -3
- package/dist/bundle/{chunk-VB4OLJHK.js → chunk-HWIKY7KF.js} +3 -3
- package/dist/bundle/{chunk-2QND7VJS.js → chunk-INXIJXU2.js} +7 -7
- package/dist/bundle/{chunk-OWUEEVF6.js → chunk-IYINNZQE.js} +13 -12
- package/dist/bundle/{chunk-YLYZNPAZ.js → chunk-JKLJM7EG.js} +2 -2
- package/dist/bundle/{chunk-6VMIMAZ2.js → chunk-JSGRDE5Q.js} +302 -298
- package/dist/bundle/{chunk-G45BLLDR.js → chunk-JTLPFUIQ.js} +4 -4
- package/dist/bundle/{chunk-4QGUBKN5.js → chunk-KTBPBMNR.js} +6 -6
- package/dist/bundle/{chunk-ZTZLAGZA.js → chunk-KYW7RWGE.js} +3 -3
- package/dist/bundle/{chunk-6I4DOBSD.js → chunk-LHVNZ25W.js} +13 -13
- package/dist/bundle/{chunk-SIQDO5DN.js → chunk-LO74ISD6.js} +4 -4
- package/dist/bundle/{chunk-XQ3RZU3J.js → chunk-M4MM4QUM.js} +1 -1
- package/dist/bundle/{chunk-6AOPUQTC.js → chunk-MRUE3BWX.js} +1 -1
- package/dist/bundle/{chunk-QKWM4VK4.js → chunk-MZHH5XMX.js} +2 -2
- package/dist/bundle/{chunk-SCYHDYLI.js → chunk-NGWUFB4K.js} +1 -1
- package/dist/bundle/{chunk-NR633L2N.js → chunk-OAWNQZ3V.js} +4 -4
- package/dist/bundle/{chunk-SIOPF2UG.js → chunk-OB3OPV55.js} +6 -6
- package/dist/bundle/{chunk-E2PSOSTN.js → chunk-OQSIFLZS.js} +2 -2
- package/dist/bundle/{chunk-4KDORB7C.js → chunk-PPARTGFE.js} +10 -10
- package/dist/bundle/{chunk-YB4KGUXY.js → chunk-QNJ6O6J4.js} +3 -3
- package/dist/bundle/{chunk-GFVSZY4J.js → chunk-S5T4SO7I.js} +8 -2
- package/dist/bundle/{chunk-YDTGYYOR.js → chunk-SHO3T3F2.js} +4 -4
- package/dist/bundle/{chunk-6FTZ53TT.js → chunk-TFXKS2WG.js} +1 -1
- package/dist/bundle/{chunk-5CTOWPOL.js → chunk-TIHQFMH2.js} +12 -10
- package/dist/bundle/{chunk-XQHOMQNZ.js → chunk-TXXKLYJQ.js} +4 -4
- package/dist/bundle/{chunk-ZISVFVQU.js → chunk-UD5JUJES.js} +365 -364
- package/dist/bundle/{chunk-KUFOM3SB.js → chunk-UDRKGCDS.js} +2 -2
- package/dist/bundle/chunk-UIS44ZMF.js +185 -0
- package/dist/bundle/{chunk-AOHT5FNX.js → chunk-VIY77EDM.js} +48 -48
- package/dist/bundle/{chunk-MPZBV5RL.js → chunk-VMTTWF2M.js} +8 -8
- package/dist/bundle/{chunk-IQIM4UC7.js → chunk-W36BMC6F.js} +5 -5
- package/dist/bundle/{chunk-JINEHQ2T.js → chunk-WZZ426CJ.js} +99 -84
- package/dist/bundle/chunk-X2SA73EE.js +200 -0
- package/dist/bundle/{chunk-BDVM5652.js → chunk-XLZPP5MB.js} +1 -1
- package/dist/bundle/{chunk-LPGE6ACC.js → chunk-YABNPKKQ.js} +2 -2
- package/dist/bundle/{chunk-ZL63GL3Y.js → chunk-YZ4J67GU.js} +3 -3
- package/dist/bundle/{chunk-C6MWOBEL.js → chunk-ZPB3VTS7.js} +22 -12
- package/dist/bundle/{chunk-W64FO6DD.js → chunk-ZPPMGXER.js} +400 -37
- package/dist/bundle/command-contract-SEDOYJIJ.js +34 -0
- package/dist/bundle/{command-server-entry-XVUPTSSH.js → command-server-entry-TQBKNSM3.js} +71 -53
- package/dist/bundle/{decode-METZOSMG.js → decode-VFRSEIBD.js} +7 -5
- package/dist/bundle/{dispatch-PHB2Y6ZL.js → dispatch-N73TJNYM.js} +3 -3
- package/dist/bundle/{echarts-EBSP4VCK.js → echarts-DP2GC2C6.js} +2 -2
- package/dist/bundle/{embed-GVVU7N7W.js → embed-BIINGRNY.js} +8 -6
- package/dist/bundle/{embedder-6BZOYAXV.js → embedder-2AUO2PHQ.js} +11 -9
- package/dist/bundle/entry-APUFP74B.js +23 -0
- package/dist/bundle/entry-LGJ2Y7AS.js +78 -0
- package/dist/bundle/failure-5QSMH2CD.js +71 -0
- package/dist/bundle/{failure-OBT7CUVW.js → failure-IPHFR3KW.js} +3 -2
- package/dist/bundle/{first-run-HQ4GA4EF.js → first-run-7UMKRQL7.js} +11 -9
- package/dist/bundle/first-screen-H5CQSLIX.js +32 -0
- package/dist/bundle/{instructions-VDKK3Y5Z.js → instructions-WDKCHEG6.js} +1 -1
- package/dist/bundle/mcp-3HKOGYHL.js +92 -0
- package/dist/bundle/memo.js +9 -56
- package/dist/bundle/{node-HWGZYNUX.js → node-QBL3F2VF.js} +2 -2
- package/dist/bundle/{node-sqlite-PSYENWGS.js → node-sqlite-WFKC73E5.js} +8 -6
- package/dist/bundle/{oauth-TQGMUJK2.js → oauth-4PT7N4SE.js} +9 -7
- package/dist/bundle/{open-KDDJDKCE.js → open-I7XENSGI.js} +7 -5
- package/dist/bundle/openai-DUSBTUFI.js +26 -0
- package/dist/bundle/{process-APNTXJJE.js → process-TVXEHAK6.js} +1 -1
- package/dist/bundle/{program-OGDARQTX.js → program-3X4EPBEW.js} +587 -234
- package/dist/bundle/{prompt-BMBZCLGF.js → prompt-QRYXTON7.js} +7 -5
- package/dist/bundle/{recognize-3SEY2MAR.js → recognize-ZLDPIN36.js} +6 -4
- package/dist/bundle/{remote-ODH54UXO.js → remote-3GRP5YE3.js} +9 -7
- package/dist/bundle/{rerank-JQHBNTUK.js → rerank-6B2FI6LN.js} +9 -7
- package/dist/bundle/serve-ZP3TEANT.js +24 -0
- package/dist/bundle/{server-ADPO4V4B.js → server-3SJJNNSX.js} +63 -59
- package/dist/bundle/server-72VZYABL.js +50 -0
- package/dist/bundle/server-UY47EXPQ.js +64 -0
- package/dist/bundle/{state-M3VGXSV4.js → state-JDH2X2CY.js} +8 -6
- package/dist/bundle/{store-GSZAXU3A.js → store-FDNYGJUF.js} +14 -12
- package/dist/bundle/store-maintenance-command-5LFS45JM.js +49 -0
- package/dist/bundle/update-257J2SPM.js +74 -0
- package/dist/digest/backfill.d.ts.map +1 -1
- package/dist/digest/backfill.js +2 -1
- package/dist/digest/backfill.js.map +1 -1
- package/dist/digest/digest-commands.d.ts.map +1 -1
- package/dist/digest/digest-commands.js +2 -1
- package/dist/digest/digest-commands.js.map +1 -1
- package/dist/doctor/command.d.ts.map +1 -1
- package/dist/doctor/command.js +2 -1
- package/dist/doctor/command.js.map +1 -1
- package/dist/examples.d.ts.map +1 -1
- package/dist/examples.js +13 -1
- package/dist/examples.js.map +1 -1
- package/dist/exit-code.d.ts +7 -0
- package/dist/exit-code.d.ts.map +1 -0
- package/dist/exit-code.js +19 -0
- package/dist/exit-code.js.map +1 -0
- package/dist/facts/command.d.ts.map +1 -1
- package/dist/facts/command.js +3 -2
- package/dist/facts/command.js.map +1 -1
- package/dist/facts/fact.d.ts +1 -1
- package/dist/facts/fact.d.ts.map +1 -1
- package/dist/facts/fact.js +3 -3
- package/dist/facts/fact.js.map +1 -1
- package/dist/mcp/catalogue.d.ts +3 -0
- package/dist/mcp/catalogue.d.ts.map +1 -1
- package/dist/mcp/catalogue.js +1 -0
- package/dist/mcp/catalogue.js.map +1 -1
- package/dist/memories/command.d.ts.map +1 -1
- package/dist/memories/command.js +3 -2
- package/dist/memories/command.js.map +1 -1
- package/dist/memories/memory.d.ts +1 -1
- package/dist/memories/memory.d.ts.map +1 -1
- package/dist/memories/memory.js +2 -2
- package/dist/memories/memory.js.map +1 -1
- package/dist/page.d.ts +14 -5
- package/dist/page.d.ts.map +1 -1
- package/dist/page.js +11 -5
- package/dist/page.js.map +1 -1
- package/dist/program.d.ts +3 -1
- package/dist/program.d.ts.map +1 -1
- package/dist/program.js +7 -1
- package/dist/program.js.map +1 -1
- package/dist/reasons.d.ts.map +1 -1
- package/dist/reasons.js +6 -0
- package/dist/reasons.js.map +1 -1
- package/dist/records/import.d.ts.map +1 -1
- package/dist/records/import.js +60 -5
- package/dist/records/import.js.map +1 -1
- package/dist/records/input.d.ts +6 -2
- package/dist/records/input.d.ts.map +1 -1
- package/dist/records/input.js +87 -3
- package/dist/records/input.js.map +1 -1
- package/dist/run/entry.d.ts +7 -0
- package/dist/run/entry.d.ts.map +1 -0
- package/dist/run/entry.js +62 -0
- package/dist/run/entry.js.map +1 -0
- package/dist/run/import.d.ts.map +1 -1
- package/dist/run/import.js +2 -1
- package/dist/run/import.js.map +1 -1
- package/dist/sources/command.d.ts.map +1 -1
- package/dist/sources/command.js +55 -4
- package/dist/sources/command.js.map +1 -1
- package/dist/sources/read.d.ts +29 -2
- package/dist/sources/read.d.ts.map +1 -1
- package/dist/sources/read.js +67 -5
- package/dist/sources/read.js.map +1 -1
- package/dist/sources/readers/ai-model.d.ts +4 -0
- package/dist/sources/readers/ai-model.d.ts.map +1 -0
- package/dist/sources/readers/ai-model.js +74 -0
- package/dist/sources/readers/ai-model.js.map +1 -0
- package/dist/sources/readers/index.d.ts +1 -0
- package/dist/sources/readers/index.d.ts.map +1 -1
- package/dist/sources/readers/index.js +3 -1
- package/dist/sources/readers/index.js.map +1 -1
- package/dist/sources/readers/keys.js +1 -1
- package/dist/sources/readers/keys.js.map +1 -1
- package/dist/sources/readers/types.d.ts +5 -2
- package/dist/sources/readers/types.d.ts.map +1 -1
- package/dist/sources/readers/types.js +1 -1
- package/dist/sources/readers/types.js.map +1 -1
- package/dist/sources/suggest-command.d.ts.map +1 -1
- package/dist/sources/suggest-command.js +16 -5
- package/dist/sources/suggest-command.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/auto-AQAKW55Z.js +0 -89
- package/dist/bundle/chunk-XPCTY6XV.js +0 -116
- package/dist/bundle/command-contract-QQG343ZQ.js +0 -32
- package/dist/bundle/entry-TBOYUMWB.js +0 -21
- package/dist/bundle/failure-EKMEAYZH.js +0 -69
- package/dist/bundle/first-screen-6T65PQ37.js +0 -30
- package/dist/bundle/mcp-DEY765VA.js +0 -90
- package/dist/bundle/openai-QPGCUM4T.js +0 -24
- package/dist/bundle/serve-C22ZONSM.js +0 -22
- package/dist/bundle/server-3UX245DY.js +0 -62
- package/dist/bundle/server-6G5XF3V5.js +0 -48
- package/dist/bundle/store-maintenance-command-QMTALGSQ.js +0 -47
- package/dist/bundle/update-HDJ23IV5.js +0 -72
- /package/dist/bundle/{chunk-IXSUVHW6.js → chunk-6AALVDEA.js} +0 -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
|
answeredWire
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-C3HS26N5.js";
|
|
6
6
|
import {
|
|
7
7
|
BinaryResource,
|
|
8
8
|
Picture,
|
|
@@ -23,11 +23,11 @@ import {
|
|
|
23
23
|
tool,
|
|
24
24
|
toolKey,
|
|
25
25
|
toolsFromCommands
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-AH6V2UJZ.js";
|
|
27
27
|
import {
|
|
28
28
|
callerOf,
|
|
29
29
|
callingAgent
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-3URQNBDV.js";
|
|
31
31
|
import {
|
|
32
32
|
CHART_KINDS,
|
|
33
33
|
CHART_SIZE,
|
|
@@ -39,31 +39,31 @@ import {
|
|
|
39
39
|
refuseWriteBeforeConnecting,
|
|
40
40
|
registerPrompts,
|
|
41
41
|
syncsFirst
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-CFZZUGUD.js";
|
|
43
43
|
import {
|
|
44
44
|
mcpUrlOf
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-JKLJM7EG.js";
|
|
46
46
|
import {
|
|
47
47
|
agentJson,
|
|
48
48
|
skillResource
|
|
49
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-ZPB3VTS7.js";
|
|
50
50
|
import {
|
|
51
51
|
StdioServerTransport,
|
|
52
52
|
serveStdio
|
|
53
53
|
} from "./chunk-MM5NVP7F.js";
|
|
54
54
|
import {
|
|
55
55
|
instructions
|
|
56
|
-
} from "./chunk-
|
|
56
|
+
} from "./chunk-2DLCQ4AK.js";
|
|
57
57
|
import {
|
|
58
58
|
mcpHttpMarker
|
|
59
|
-
} from "./chunk-
|
|
59
|
+
} from "./chunk-DE5BNDIA.js";
|
|
60
60
|
import {
|
|
61
61
|
McpServer,
|
|
62
62
|
ResourceTemplate
|
|
63
63
|
} from "./chunk-H3ZN4YLB.js";
|
|
64
64
|
import {
|
|
65
65
|
connectedFor
|
|
66
|
-
} from "./chunk-
|
|
66
|
+
} from "./chunk-A54EZ6DV.js";
|
|
67
67
|
import {
|
|
68
68
|
capability,
|
|
69
69
|
dateWindow,
|
|
@@ -73,20 +73,20 @@ import {
|
|
|
73
73
|
servicesFor,
|
|
74
74
|
storedDeps,
|
|
75
75
|
wholeList
|
|
76
|
-
} from "./chunk-
|
|
76
|
+
} from "./chunk-JSGRDE5Q.js";
|
|
77
77
|
import {
|
|
78
78
|
openStore,
|
|
79
79
|
pdfPreviewLimits
|
|
80
|
-
} from "./chunk-
|
|
80
|
+
} from "./chunk-UD5JUJES.js";
|
|
81
81
|
import {
|
|
82
82
|
warmEmbedders
|
|
83
|
-
} from "./chunk-
|
|
83
|
+
} from "./chunk-OB3OPV55.js";
|
|
84
84
|
import {
|
|
85
85
|
stdinFieldOf
|
|
86
|
-
} from "./chunk-
|
|
86
|
+
} from "./chunk-TFXKS2WG.js";
|
|
87
87
|
import {
|
|
88
88
|
findCommand
|
|
89
|
-
} from "./chunk-
|
|
89
|
+
} from "./chunk-JTLPFUIQ.js";
|
|
90
90
|
import {
|
|
91
91
|
DEFAULT_OUTPUT_BYTES,
|
|
92
92
|
changesAuthorityAt,
|
|
@@ -101,25 +101,27 @@ import {
|
|
|
101
101
|
rootOf2 as rootOf,
|
|
102
102
|
sealed,
|
|
103
103
|
snakeKeys
|
|
104
|
-
} from "./chunk-
|
|
104
|
+
} from "./chunk-EY46RMMS.js";
|
|
105
105
|
import {
|
|
106
106
|
withCaller
|
|
107
|
-
} from "./chunk-
|
|
107
|
+
} from "./chunk-4EFQOTNQ.js";
|
|
108
108
|
import {
|
|
109
109
|
readOnlyLockOf
|
|
110
|
-
} from "./chunk-
|
|
110
|
+
} from "./chunk-UDRKGCDS.js";
|
|
111
111
|
import {
|
|
112
112
|
timezoneOf,
|
|
113
113
|
typedCommand
|
|
114
|
-
} from "./chunk-
|
|
114
|
+
} from "./chunk-WZZ426CJ.js";
|
|
115
115
|
import {
|
|
116
116
|
isCliFailure
|
|
117
|
-
} from "./chunk-
|
|
117
|
+
} from "./chunk-HWIKY7KF.js";
|
|
118
|
+
import {
|
|
119
|
+
mcpErrorResult
|
|
120
|
+
} from "./chunk-X2SA73EE.js";
|
|
118
121
|
import {
|
|
119
122
|
description,
|
|
120
123
|
integer,
|
|
121
124
|
maxValue,
|
|
122
|
-
mcpErrorResult,
|
|
123
125
|
minLength,
|
|
124
126
|
minValue,
|
|
125
127
|
number,
|
|
@@ -130,19 +132,19 @@ import {
|
|
|
130
132
|
regex,
|
|
131
133
|
strictObject,
|
|
132
134
|
string
|
|
133
|
-
} from "./chunk-
|
|
135
|
+
} from "./chunk-6A37YXAL.js";
|
|
134
136
|
import {
|
|
135
137
|
CliError,
|
|
136
138
|
visibleControls
|
|
137
|
-
} from "./chunk-
|
|
139
|
+
} from "./chunk-BA6GHX5B.js";
|
|
138
140
|
import {
|
|
139
141
|
__name
|
|
140
142
|
} from "./chunk-ZVVMGPBJ.js";
|
|
141
143
|
|
|
142
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
144
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/mcp/server.js
|
|
143
145
|
import { randomUUID } from "node:crypto";
|
|
144
146
|
|
|
145
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
147
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/mcp/agent-log.js
|
|
146
148
|
var agentLog = /* @__PURE__ */ __name((open) => {
|
|
147
149
|
let held;
|
|
148
150
|
return {
|
|
@@ -161,7 +163,7 @@ var agentLog = /* @__PURE__ */ __name((open) => {
|
|
|
161
163
|
};
|
|
162
164
|
}, "agentLog");
|
|
163
165
|
|
|
164
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
166
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/mcp/resources.js
|
|
165
167
|
var LISTED = 100;
|
|
166
168
|
var registerResources = /* @__PURE__ */ __name((server, session, { command, name, limit, recorded, withStore, messenger, guard, assertRead }) => {
|
|
167
169
|
server.registerResource("chat", new ResourceTemplate(`${command}://chat/{id}`, {
|
|
@@ -199,7 +201,7 @@ var registerResources = /* @__PURE__ */ __name((server, session, { command, name
|
|
|
199
201
|
});
|
|
200
202
|
}, "registerResources");
|
|
201
203
|
|
|
202
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
204
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/mcp/session.js
|
|
203
205
|
var HARMLESS = /* @__PURE__ */ new Set(["validation_error", "not_found", "permission_error", "confirmation_required", "rate_limited"]);
|
|
204
206
|
var harmless = /* @__PURE__ */ __name((code) => HARMLESS.has(code), "harmless");
|
|
205
207
|
var MessengerSession = class {
|
|
@@ -274,7 +276,7 @@ var MessengerSession = class {
|
|
|
274
276
|
}
|
|
275
277
|
};
|
|
276
278
|
|
|
277
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
279
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/mcp/tools/attachments.js
|
|
278
280
|
var attachmentsTools = /* @__PURE__ */ __name((messenger) => {
|
|
279
281
|
const _command = messenger.app.command;
|
|
280
282
|
return {
|
|
@@ -328,7 +330,7 @@ var attachmentsTools = /* @__PURE__ */ __name((messenger) => {
|
|
|
328
330
|
};
|
|
329
331
|
}, "attachmentsTools");
|
|
330
332
|
|
|
331
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
333
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/mcp/tools/messages-photo.js
|
|
332
334
|
var PHOTO_LIMIT = 512 * 1024;
|
|
333
335
|
var IMAGE_TYPES = [
|
|
334
336
|
["image/jpeg", (b) => b[0] === 255 && b[1] === 216 && b[2] === 255],
|
|
@@ -382,7 +384,7 @@ var readUpTo = /* @__PURE__ */ __name(async (file, limit, saveIt) => {
|
|
|
382
384
|
return new Uint8Array(Buffer.concat(chunks));
|
|
383
385
|
}, "readUpTo");
|
|
384
386
|
|
|
385
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
387
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/mcp/tools/stats.js
|
|
386
388
|
var statsTools = /* @__PURE__ */ __name((messenger) => ({
|
|
387
389
|
stats_charts: tool({
|
|
388
390
|
title: "A chart from a chat's statistics",
|
|
@@ -419,14 +421,14 @@ var statsTools = /* @__PURE__ */ __name((messenger) => ({
|
|
|
419
421
|
})
|
|
420
422
|
}), "statsTools");
|
|
421
423
|
|
|
422
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
424
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/mcp/tools.js
|
|
423
425
|
var pictureTools = /* @__PURE__ */ __name((messenger) => Object.fromEntries(Object.entries({
|
|
424
426
|
...messagesPhotoTools(messenger),
|
|
425
427
|
...attachmentsTools(messenger),
|
|
426
428
|
...statsTools(messenger)
|
|
427
429
|
}).map(([name, definition]) => [name, { ...definition, input: strictObject(definition.input.entries) }])), "pictureTools");
|
|
428
430
|
|
|
429
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
431
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/mcp/server.js
|
|
430
432
|
var PER_RUN = /* @__PURE__ */ new Set([
|
|
431
433
|
"streams",
|
|
432
434
|
"stdin",
|
|
@@ -750,7 +752,7 @@ var serveOverStdio = /* @__PURE__ */ __name(async (command, context, messenger,
|
|
|
750
752
|
}, "serveOverStdio");
|
|
751
753
|
var serveOverHttpUntilStopped = /* @__PURE__ */ __name(async (command, context, messenger, options, http) => {
|
|
752
754
|
const { session, embedders, build, log } = createServer(command, context, messenger, options);
|
|
753
|
-
const { serveOverHttp } = await import("./serve-
|
|
755
|
+
const { serveOverHttp } = await import("./serve-ZP3TEANT.js");
|
|
754
756
|
const appName = messenger.app.command;
|
|
755
757
|
const appEnvPrefix = messenger.app.envPrefix;
|
|
756
758
|
const listening = await serveOverHttp(build, {
|
|
@@ -1,35 +1,12 @@
|
|
|
1
1
|
import { createRequire as __bundleRequire } from "node:module";
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
|
-
errorCodes
|
|
5
|
-
|
|
6
|
-
visibleControls
|
|
7
|
-
} from "./chunk-2EZFUIL4.js";
|
|
4
|
+
errorCodes
|
|
5
|
+
} from "./chunk-BA6GHX5B.js";
|
|
8
6
|
import {
|
|
9
7
|
__name
|
|
10
8
|
} from "./chunk-ZVVMGPBJ.js";
|
|
11
9
|
|
|
12
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/exit-codes.js
|
|
13
|
-
var EXIT_CODES = {
|
|
14
|
-
validation_error: 2,
|
|
15
|
-
configuration_error: 3,
|
|
16
|
-
authentication_error: 4,
|
|
17
|
-
permission_error: 5,
|
|
18
|
-
not_found: 6,
|
|
19
|
-
confirmation_required: 7,
|
|
20
|
-
rate_limited: 8,
|
|
21
|
-
timeout: 9,
|
|
22
|
-
network_error: 10,
|
|
23
|
-
provider_error: 11,
|
|
24
|
-
provider_unavailable: 12,
|
|
25
|
-
invalid_response: 13,
|
|
26
|
-
outcome_unknown: 14,
|
|
27
|
-
conflict: 15,
|
|
28
|
-
cancelled: 130
|
|
29
|
-
};
|
|
30
|
-
var exitCodeFor = /* @__PURE__ */ __name((code) => EXIT_CODES[code], "exitCodeFor");
|
|
31
|
-
var GENERIC_FAILURE = 1;
|
|
32
|
-
|
|
33
10
|
// node_modules/.pnpm/valibot@1.5.0_typescript@7.0.2/node_modules/valibot/dist/index.mjs
|
|
34
11
|
var store$4;
|
|
35
12
|
var DEFAULT_CONFIG = {
|
|
@@ -2266,157 +2243,7 @@ var STEPS = defineSteps([
|
|
|
2266
2243
|
}
|
|
2267
2244
|
]);
|
|
2268
2245
|
|
|
2269
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/failure.js
|
|
2270
|
-
var recognise = /* @__PURE__ */ __name((failure) => {
|
|
2271
|
-
if (isCliError(failure))
|
|
2272
|
-
return failure;
|
|
2273
|
-
if (!(failure instanceof Error) || failure.name !== "CliError")
|
|
2274
|
-
return void 0;
|
|
2275
|
-
const { code, details } = failure;
|
|
2276
|
-
if (!errorCodes.includes(code))
|
|
2277
|
-
return void 0;
|
|
2278
|
-
return {
|
|
2279
|
-
code,
|
|
2280
|
-
message: failure.message,
|
|
2281
|
-
details: typeof details === "object" && details !== null ? details : {}
|
|
2282
|
-
};
|
|
2283
|
-
}, "recognise");
|
|
2284
|
-
var reasonFor = /* @__PURE__ */ __name((code, named, reasons) => reasons.find((entry) => entry.reason === named && entry.code === code) ?? BASE_REASONS.find((entry) => entry.reason === named && entry.code === code) ?? // The first base reason for each code is its fallback.
|
|
2285
|
-
BASE_REASONS.find((entry) => entry.code === code), "reasonFor");
|
|
2286
|
-
var nextFor = /* @__PURE__ */ __name((reason, details, context) => {
|
|
2287
|
-
const definition = reason.step ? context.steps?.find((step) => step.id === reason.step) : void 0;
|
|
2288
|
-
if (!definition)
|
|
2289
|
-
return [];
|
|
2290
|
-
const known = new Set(definition.kind === "command" ? definition.args.map((arg) => arg.name) : []);
|
|
2291
|
-
const args = Object.fromEntries(Object.entries(details).filter(([key, value]) => known.has(key) && value !== void 0));
|
|
2292
|
-
try {
|
|
2293
|
-
return [stepOf(definition, { args, ...context.targets ? { targets: context.targets } : {} })];
|
|
2294
|
-
} catch {
|
|
2295
|
-
return [];
|
|
2296
|
-
}
|
|
2297
|
-
}, "nextFor");
|
|
2298
|
-
var TRANSIENT = [
|
|
2299
|
-
"rate_limited",
|
|
2300
|
-
"timeout",
|
|
2301
|
-
"network_error",
|
|
2302
|
-
"provider_unavailable"
|
|
2303
|
-
];
|
|
2304
|
-
var retryOf = /* @__PURE__ */ __name((code, details, effects) => {
|
|
2305
|
-
const transient = details.retryable !== false && (TRANSIENT.includes(code) || code === "provider_error" && details.retryable === true);
|
|
2306
|
-
const safe = code !== "outcome_unknown" && transient && (!writes(effects) || details.sent === false);
|
|
2307
|
-
const after = details.retry_after_ms;
|
|
2308
|
-
return safe && typeof after === "number" && Number.isInteger(after) && after >= 0 ? { safe, after_ms: after } : { safe };
|
|
2309
|
-
}, "retryOf");
|
|
2310
|
-
var errorObjectOf = /* @__PURE__ */ __name((failure, context = {}) => {
|
|
2311
|
-
const reasons = context.reasons ?? [];
|
|
2312
|
-
const recognised = recognise(failure);
|
|
2313
|
-
if (!recognised) {
|
|
2314
|
-
const reason2 = reasonFor(CRASH_CODE, CRASH_REASON, reasons);
|
|
2315
|
-
return {
|
|
2316
|
-
error: {
|
|
2317
|
-
code: CRASH_CODE,
|
|
2318
|
-
reason: reason2.reason,
|
|
2319
|
-
message: reason2.message,
|
|
2320
|
-
retry: { safe: false },
|
|
2321
|
-
...context.runId ? { run_id: context.runId } : {}
|
|
2322
|
-
}
|
|
2323
|
-
};
|
|
2324
|
-
}
|
|
2325
|
-
const { code, message, details } = recognised;
|
|
2326
|
-
const reason = reasonFor(code, details.reason, reasons);
|
|
2327
|
-
const allowed = /* @__PURE__ */ new Set([...COMMON_DETAILS, ...context.details ?? [], ...reason.details]);
|
|
2328
|
-
allowed.delete("cause");
|
|
2329
|
-
const kept = Object.fromEntries(Object.entries(details).filter(([key, value]) => allowed.has(key) && value !== void 0));
|
|
2330
|
-
const next = nextFor(reason, details, context);
|
|
2331
|
-
const runId = context.runId ?? (typeof details.run_id === "string" ? details.run_id : void 0);
|
|
2332
|
-
return {
|
|
2333
|
-
error: {
|
|
2334
|
-
code,
|
|
2335
|
-
reason: reason.reason,
|
|
2336
|
-
message,
|
|
2337
|
-
...typeof details.param === "string" ? { param: details.param } : {},
|
|
2338
|
-
...Object.keys(kept).length > 0 ? { details: kept } : {},
|
|
2339
|
-
...next.length > 0 ? { next } : {},
|
|
2340
|
-
retry: retryOf(code, details, context.effects),
|
|
2341
|
-
...runId ? { run_id: runId } : {}
|
|
2342
|
-
}
|
|
2343
|
-
};
|
|
2344
|
-
}, "errorObjectOf");
|
|
2345
|
-
var exitCodeOfError = /* @__PURE__ */ __name(({ error }) => error.code === CRASH_CODE ? GENERIC_FAILURE : EXIT_CODES[error.code], "exitCodeOfError");
|
|
2346
|
-
var exitCodeOfAnswer = /* @__PURE__ */ __name((meta, partial2 = false) => {
|
|
2347
|
-
if (meta.complete || partial2)
|
|
2348
|
-
return 0;
|
|
2349
|
-
const code = meta.issues?.[0]?.code;
|
|
2350
|
-
return code === void 0 ? GENERIC_FAILURE : EXIT_CODES[code];
|
|
2351
|
-
}, "exitCodeOfAnswer");
|
|
2352
|
-
var kebab = /* @__PURE__ */ __name((name) => name.replaceAll("_", "-"), "kebab");
|
|
2353
|
-
var commandLine = /* @__PURE__ */ __name((cli, step) => [
|
|
2354
|
-
cli,
|
|
2355
|
-
step.command,
|
|
2356
|
-
...Object.entries(step.args).map(([name, value]) => value === true ? `--${kebab(name)}` : `--${kebab(name)} ${JSON.stringify(value)}`)
|
|
2357
|
-
].join(" "), "commandLine");
|
|
2358
|
-
var STACK_FRAMES = 10;
|
|
2359
|
-
var errorRecordOf = /* @__PURE__ */ __name((failure, object2, options) => {
|
|
2360
|
-
const thrown = failure instanceof Error ? failure : void 0;
|
|
2361
|
-
const { cause, ...details } = recognise(failure)?.details ?? {};
|
|
2362
|
-
const stack = thrown?.stack?.split("\n").slice(1, STACK_FRAMES + 1).map((line) => visibleControls(line.trim()));
|
|
2363
|
-
const reason = thrown?.cause ?? cause;
|
|
2364
|
-
return {
|
|
2365
|
-
time: (options.time ?? /* @__PURE__ */ new Date()).toISOString(),
|
|
2366
|
-
severity: "error",
|
|
2367
|
-
body: "command.failed",
|
|
2368
|
-
...object2.error.run_id ? { run_id: object2.error.run_id } : {},
|
|
2369
|
-
command: options.command,
|
|
2370
|
-
attributes: {
|
|
2371
|
-
code: object2.error.code,
|
|
2372
|
-
reason: object2.error.reason,
|
|
2373
|
-
message: object2.error.message,
|
|
2374
|
-
...Object.keys(details).length > 0 ? { details } : {},
|
|
2375
|
-
...thrown ? { name: thrown.name, thrown_message: visibleControls(thrown.message) } : { thrown: String(failure) },
|
|
2376
|
-
...reason === void 0 ? {} : { cause: visibleControls(reason instanceof Error ? reason.message : String(reason)) },
|
|
2377
|
-
...stack && stack.length > 0 ? { stack } : {}
|
|
2378
|
-
},
|
|
2379
|
-
resource: { service: options.service, version: options.version }
|
|
2380
|
-
};
|
|
2381
|
-
}, "errorRecordOf");
|
|
2382
|
-
var renderError = /* @__PURE__ */ __name((object2, options) => {
|
|
2383
|
-
if (!options.interactive)
|
|
2384
|
-
return [JSON.stringify(object2), ...options.record ? [JSON.stringify(options.record)] : []].join("\n");
|
|
2385
|
-
const { message, next, run_id: runId } = object2.error;
|
|
2386
|
-
const step = next?.[0];
|
|
2387
|
-
return [
|
|
2388
|
-
`\u2717 ${visibleControls(message)}`,
|
|
2389
|
-
...step?.kind === "command" ? [`\u2192 ${visibleControls(step.why)}: ${visibleControls(step.line ?? commandLine(options.cli, step))}`] : step ? [`\u2192 ${visibleControls(step.why)}`] : [],
|
|
2390
|
-
...options.record ? [JSON.stringify(options.record, null, 2)] : runId ? [`details: ${options.cli} runs show ${runId}`] : []
|
|
2391
|
-
].join("\n");
|
|
2392
|
-
}, "renderError");
|
|
2393
|
-
var mcpErrorResult = /* @__PURE__ */ __name((object2) => ({
|
|
2394
|
-
content: [{ type: "text", text: JSON.stringify(object2) }],
|
|
2395
|
-
structuredContent: object2,
|
|
2396
|
-
isError: true
|
|
2397
|
-
}), "mcpErrorResult");
|
|
2398
|
-
var catchCrashes = /* @__PURE__ */ __name((options) => {
|
|
2399
|
-
const target = options.target ?? process;
|
|
2400
|
-
const write = options.write ?? ((text2) => process.stderr.write(`${text2}
|
|
2401
|
-
`));
|
|
2402
|
-
const exit = options.exit ?? ((code) => process.exit(code));
|
|
2403
|
-
const crashed = /* @__PURE__ */ __name((failure) => {
|
|
2404
|
-
const object2 = errorObjectOf(failure, options);
|
|
2405
|
-
write(renderError(object2, { cli: options.cli, interactive: options.interactive }));
|
|
2406
|
-
exit(exitCodeOfError(object2));
|
|
2407
|
-
}, "crashed");
|
|
2408
|
-
target.on("uncaughtException", crashed);
|
|
2409
|
-
target.on("unhandledRejection", crashed);
|
|
2410
|
-
return () => {
|
|
2411
|
-
target.off("uncaughtException", crashed);
|
|
2412
|
-
target.off("unhandledRejection", crashed);
|
|
2413
|
-
};
|
|
2414
|
-
}, "catchCrashes");
|
|
2415
|
-
|
|
2416
2246
|
export {
|
|
2417
|
-
EXIT_CODES,
|
|
2418
|
-
exitCodeFor,
|
|
2419
|
-
GENERIC_FAILURE,
|
|
2420
2247
|
getDotPath,
|
|
2421
2248
|
ValiError,
|
|
2422
2249
|
check,
|
|
@@ -2485,17 +2312,12 @@ export {
|
|
|
2485
2312
|
itemEnvelopeSchema,
|
|
2486
2313
|
jsonlOf,
|
|
2487
2314
|
CRASH_CODE,
|
|
2315
|
+
CRASH_REASON,
|
|
2488
2316
|
errorObjectSchema,
|
|
2489
2317
|
defineReasons,
|
|
2318
|
+
COMMON_DETAILS,
|
|
2319
|
+
BASE_REASONS,
|
|
2490
2320
|
defineSteps,
|
|
2491
2321
|
stepOf,
|
|
2492
|
-
STEPS
|
|
2493
|
-
retryOf,
|
|
2494
|
-
errorObjectOf,
|
|
2495
|
-
exitCodeOfError,
|
|
2496
|
-
exitCodeOfAnswer,
|
|
2497
|
-
errorRecordOf,
|
|
2498
|
-
renderError,
|
|
2499
|
-
mcpErrorResult,
|
|
2500
|
-
catchCrashes
|
|
2322
|
+
STEPS
|
|
2501
2323
|
};
|
|
@@ -4,10 +4,10 @@ import {
|
|
|
4
4
|
inspectConfig,
|
|
5
5
|
loadConfig,
|
|
6
6
|
memoPermissionKeys
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-ZPPMGXER.js";
|
|
8
8
|
import {
|
|
9
9
|
APP
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-S5T4SO7I.js";
|
|
11
11
|
import {
|
|
12
12
|
CEILING_KEY,
|
|
13
13
|
changesAuthority,
|
|
@@ -16,17 +16,17 @@ import {
|
|
|
16
16
|
layerPermissions,
|
|
17
17
|
levelFor,
|
|
18
18
|
metaOf
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-EY46RMMS.js";
|
|
20
20
|
import {
|
|
21
21
|
setupPermissionCeiling
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-TXXKLYJQ.js";
|
|
23
23
|
import {
|
|
24
24
|
readOnlyLockOf,
|
|
25
25
|
readOnlyRefusal
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-UDRKGCDS.js";
|
|
27
27
|
import {
|
|
28
28
|
CliError
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-BA6GHX5B.js";
|
|
30
30
|
import {
|
|
31
31
|
__name
|
|
32
32
|
} from "./chunk-ZVVMGPBJ.js";
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
commandPathOf,
|
|
8
8
|
findCommand,
|
|
9
9
|
outputOf
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-JTLPFUIQ.js";
|
|
11
11
|
import {
|
|
12
12
|
Command,
|
|
13
13
|
Help,
|
|
@@ -18,18 +18,18 @@ import {
|
|
|
18
18
|
environmentOf,
|
|
19
19
|
metaOf,
|
|
20
20
|
takesProfile
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-EY46RMMS.js";
|
|
22
22
|
import {
|
|
23
23
|
writes
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-6A37YXAL.js";
|
|
25
25
|
import {
|
|
26
26
|
CliError
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-BA6GHX5B.js";
|
|
28
28
|
import {
|
|
29
29
|
__name
|
|
30
30
|
} from "./chunk-ZVVMGPBJ.js";
|
|
31
31
|
|
|
32
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
32
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/cli/help/sections.js
|
|
33
33
|
var SECTIONS = {
|
|
34
34
|
read: "Read",
|
|
35
35
|
write: "Write",
|
|
@@ -95,7 +95,7 @@ var CORE_SECTIONS = {
|
|
|
95
95
|
upgrade: "setup"
|
|
96
96
|
};
|
|
97
97
|
|
|
98
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
98
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/cli/help/commands-text.js
|
|
99
99
|
var DESCRIPTION = 90;
|
|
100
100
|
var COLUMN = 52;
|
|
101
101
|
var short = /* @__PURE__ */ __name((text) => {
|
|
@@ -134,7 +134,7 @@ var commandsText = /* @__PURE__ */ __name((root, commands, scope) => {
|
|
|
134
134
|
`;
|
|
135
135
|
}, "commandsText");
|
|
136
136
|
|
|
137
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
137
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/cli/help/command-help.js
|
|
138
138
|
var ARGUMENT_KINDS = {
|
|
139
139
|
chat: "chat",
|
|
140
140
|
chats: "chat",
|
|
@@ -326,7 +326,7 @@ var installCommandHelp = /* @__PURE__ */ __name((program, { profile = true } = {
|
|
|
326
326
|
command.addHelpText("after", () => commandHelpText(command));
|
|
327
327
|
}, "installCommandHelp");
|
|
328
328
|
|
|
329
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
329
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.628.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_ae6a34897f184099b1a87c0d4b483e54/node_modules/@wirecat/cli-core/dist/cli/help/first-screen.js
|
|
330
330
|
var WIRECAT_TOOLS = [
|
|
331
331
|
{
|
|
332
332
|
command: "tg",
|
|
@@ -3,15 +3,15 @@ const require = __bundleRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
answers,
|
|
5
5
|
itemAnswer
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-D7KQYLAN.js";
|
|
7
7
|
import {
|
|
8
8
|
loadConfig,
|
|
9
9
|
updateConfig
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-ZPPMGXER.js";
|
|
11
11
|
import {
|
|
12
12
|
failingNotice,
|
|
13
13
|
recordRun
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-7YALAAL4.js";
|
|
15
15
|
import {
|
|
16
16
|
installerOf
|
|
17
17
|
} from "./chunk-NT5IOEEK.js";
|
|
@@ -20,13 +20,13 @@ import {
|
|
|
20
20
|
LOCAL_READ,
|
|
21
21
|
LOCAL_WRITE,
|
|
22
22
|
annotate
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-EY46RMMS.js";
|
|
24
24
|
import {
|
|
25
25
|
resolvePaths
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-2IQWMWMC.js";
|
|
27
27
|
import {
|
|
28
28
|
CliError
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-BA6GHX5B.js";
|
|
30
30
|
import {
|
|
31
31
|
__name
|
|
32
32
|
} from "./chunk-ZVVMGPBJ.js";
|