@wirecat/cli-memo 0.131.73 → 0.131.75
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bin/memo.js +2 -2
- package/dist/bundle/{all-profiles-L5QBYI3V.js → all-profiles-LUGN5BHP.js} +9 -9
- package/dist/bundle/{anthropic-XXKHNCQS.js → anthropic-W7JXDZPL.js} +5 -5
- package/dist/bundle/{app-server-FDMP3IBP.js → app-server-TRRARE66.js} +50 -49
- package/dist/bundle/auto-AQAKW55Z.js +89 -0
- package/dist/bundle/{bun-VLN4HBWB.js → bun-S3JZIN4S.js} +2 -2
- package/dist/bundle/{bun-sqlite-KJCYXNMS.js → bun-sqlite-X3WQN3CV.js} +5 -5
- package/dist/bundle/{chunk-ZTONSM5X.js → chunk-2EZFUIL4.js} +2 -2
- package/dist/bundle/{chunk-HBP7AQXX.js → chunk-2QND7VJS.js} +12 -12
- package/dist/bundle/{chunk-2BH2RNFR.js → chunk-346PWQJF.js} +8 -8
- package/dist/bundle/{chunk-B7ATMWVO.js → chunk-4KDORB7C.js} +12 -37
- package/dist/bundle/{chunk-V3JOIUVB.js → chunk-4O2MYFYC.js} +4 -4
- package/dist/bundle/{chunk-I6MGDSYH.js → chunk-4QGUBKN5.js} +6 -6
- package/dist/bundle/{chunk-YDGZJK6U.js → chunk-4XI7S3PO.js} +24 -24
- package/dist/bundle/{chunk-XGXEWKR7.js → chunk-5CTOWPOL.js} +12 -12
- package/dist/bundle/{chunk-6OPZTBRR.js → chunk-5RLCKP5E.js} +59 -35
- package/dist/bundle/{chunk-VQUSPMYO.js → chunk-6AOPUQTC.js} +1 -1
- package/dist/bundle/chunk-6FTZ53TT.js +18 -0
- package/dist/bundle/{chunk-BTVND2RV.js → chunk-6I4DOBSD.js} +13 -13
- package/dist/bundle/{chunk-WJNLBQSV.js → chunk-6VMIMAZ2.js} +544 -586
- package/dist/bundle/{chunk-BBLT77AO.js → chunk-7Y4HUYI3.js} +26 -14
- package/dist/bundle/{chunk-JLC2RE4Y.js → chunk-AOHT5FNX.js} +82 -82
- package/dist/bundle/{chunk-VPR47AG4.js → chunk-BDVM5652.js} +1 -1
- package/dist/bundle/{chunk-MM3OMWST.js → chunk-C6MWOBEL.js} +24 -22
- package/dist/bundle/{chunk-LHZ4QBWB.js → chunk-E2PSOSTN.js} +2 -2
- package/dist/bundle/{chunk-J7ESMDVV.js → chunk-E74VWHZ2.js} +1 -1
- package/dist/bundle/{chunk-MLN4DPXN.js → chunk-EWRHTZD3.js} +17 -17
- package/dist/bundle/{chunk-FMSXN2N6.js → chunk-FGMFJUHR.js} +1058 -774
- package/dist/bundle/{chunk-A7QXBRUH.js → chunk-G45BLLDR.js} +4 -4
- package/dist/bundle/{chunk-KK3ZHBMI.js → chunk-GFVSZY4J.js} +26 -2
- package/dist/bundle/{chunk-IUEYR3TK.js → chunk-IQIM4UC7.js} +10 -10
- package/dist/bundle/{chunk-JABLJBXL.js → chunk-JINEHQ2T.js} +4927 -4920
- package/dist/bundle/chunk-KA5MDFLU.js +138 -0
- package/dist/bundle/{chunk-IKH4RCJO.js → chunk-KDBAY5JZ.js} +1 -1
- package/dist/bundle/{chunk-LJCT7YG6.js → chunk-KEBL3PY4.js} +4 -4
- package/dist/bundle/{chunk-C3UOKLIT.js → chunk-KUFOM3SB.js} +2 -2
- package/dist/bundle/{chunk-ZIGVDRSI.js → chunk-KYJBGCTC.js} +2 -2
- package/dist/bundle/{chunk-R3PK4Y7C.js → chunk-LPGE6ACC.js} +2 -2
- package/dist/bundle/{chunk-6ZRBQTKZ.js → chunk-LX3OSTBD.js} +4 -4
- package/dist/bundle/{chunk-NMOWIFH3.js → chunk-MPZBV5RL.js} +8 -8
- package/dist/bundle/{chunk-H74CWBSY.js → chunk-NR633L2N.js} +4 -4
- package/dist/bundle/{chunk-DSU6UR2X.js → chunk-NT5IOEEK.js} +1 -1
- package/dist/bundle/chunk-OWUEEVF6.js +177 -0
- package/dist/bundle/{chunk-L62FWN3Y.js → chunk-OYKQX4H3.js} +1 -1
- package/dist/bundle/{chunk-W6JPIP5C.js → chunk-QKWM4VK4.js} +6 -6
- package/dist/bundle/chunk-QYJJBE56.js +109 -0
- package/dist/bundle/{chunk-JPXDDRBD.js → chunk-RZS24U4N.js} +11 -11
- package/dist/bundle/{chunk-EI2P5E4C.js → chunk-SCYHDYLI.js} +3 -1
- package/dist/bundle/{chunk-OGUXOAOH.js → chunk-SIOPF2UG.js} +6 -6
- package/dist/bundle/{chunk-RB266FS6.js → chunk-SIQDO5DN.js} +4 -4
- package/dist/bundle/{chunk-O5KXCQE4.js → chunk-SJD4KTK2.js} +4 -4
- package/dist/bundle/{chunk-PAHBDQ5A.js → chunk-UIAGASGP.js} +6 -6
- package/dist/bundle/{chunk-ZI5Y2EUA.js → chunk-UU3OAPGO.js} +7 -7
- package/dist/bundle/{chunk-ON7ZROFP.js → chunk-V7BDQIZS.js} +2 -2
- package/dist/bundle/{chunk-EH7ACKFW.js → chunk-VB4OLJHK.js} +3 -3
- package/dist/bundle/{chunk-SILEPITK.js → chunk-VFKCZJFT.js} +25 -35
- package/dist/bundle/{chunk-HE2F4JII.js → chunk-VYCLOFPC.js} +24 -9
- package/dist/bundle/{chunk-UUBV5ATQ.js → chunk-W46O6RJ5.js} +20 -20
- package/dist/bundle/{chunk-QHLEMEF3.js → chunk-W64FO6DD.js} +53 -48
- package/dist/bundle/{chunk-LG5SQGNM.js → chunk-WKLF7CAM.js} +47 -45
- package/dist/bundle/{chunk-X35Q5CHE.js → chunk-WZHCQ4VZ.js} +8 -8
- package/dist/bundle/{chunk-PF6LXPK5.js → chunk-XMHWGHID.js} +4280 -4278
- package/dist/bundle/chunk-XPCTY6XV.js +116 -0
- package/dist/bundle/{chunk-E75LK7GD.js → chunk-XPSXVUZG.js} +3 -3
- package/dist/bundle/{chunk-XM6ZAPFW.js → chunk-XQ3RZU3J.js} +1 -1
- package/dist/bundle/{chunk-LOYI3STE.js → chunk-XQHOMQNZ.js} +4 -4
- package/dist/bundle/{chunk-K54MCZWM.js → chunk-YB4KGUXY.js} +3 -3
- package/dist/bundle/{chunk-US2HTCJA.js → chunk-YDTGYYOR.js} +4 -4
- package/dist/bundle/{chunk-EQLOQOIB.js → chunk-YLYZNPAZ.js} +2 -2
- package/dist/bundle/{chunk-BOZEBD3I.js → chunk-ZISVFVQU.js} +1445 -832
- package/dist/bundle/{chunk-IDCYBSML.js → chunk-ZL63GL3Y.js} +3 -3
- package/dist/bundle/{chunk-2C323QNQ.js → chunk-ZP2XI5DR.js} +9 -9
- package/dist/bundle/{chunk-3CANRF2G.js → chunk-ZTZLAGZA.js} +3 -3
- package/dist/bundle/{chunk-FSXQLNU4.js → chunk-ZXW5FPH2.js} +1 -1
- package/dist/bundle/command-contract-QQG343ZQ.js +32 -0
- package/dist/bundle/command-server-entry-XVUPTSSH.js +145 -0
- package/dist/bundle/{decode-OS6Y6ICA.js → decode-METZOSMG.js} +5 -5
- package/dist/bundle/{dispatch-VJSUBAUM.js → dispatch-PHB2Y6ZL.js} +8 -8
- package/dist/bundle/{echarts-JKGDUDYL.js → echarts-EBSP4VCK.js} +2 -2
- package/dist/bundle/{embed-UB4LH6MF.js → embed-GVVU7N7W.js} +6 -6
- package/dist/bundle/{embedder-TUQBG22Y.js → embedder-6BZOYAXV.js} +9 -9
- package/dist/bundle/entry-TBOYUMWB.js +21 -0
- package/dist/bundle/failure-EKMEAYZH.js +69 -0
- package/dist/bundle/{failure-GLF7OMMM.js → failure-OBT7CUVW.js} +2 -2
- package/dist/bundle/{first-run-VNJHZYGS.js → first-run-HQ4GA4EF.js} +11 -11
- package/dist/bundle/first-screen-6T65PQ37.js +30 -0
- package/dist/bundle/{instructions-Q6IZQUU7.js → instructions-VDKK3Y5Z.js} +1 -1
- package/dist/bundle/{mcp-H2WYFBNW.js → mcp-5275YLID.js} +2 -2
- package/dist/bundle/mcp-DEY765VA.js +90 -0
- package/dist/bundle/memo.js +16 -16
- package/dist/bundle/{node-ZSSIVKVC.js → node-HWGZYNUX.js} +2 -2
- package/dist/bundle/{node-sqlite-AUNJSQQL.js → node-sqlite-PSYENWGS.js} +6 -6
- package/dist/bundle/{oauth-2MTJFCMI.js → oauth-TQGMUJK2.js} +7 -7
- package/dist/bundle/{open-U7RC27MJ.js → open-KDDJDKCE.js} +5 -5
- package/dist/bundle/openai-QPGCUM4T.js +24 -0
- package/dist/bundle/{process-UEQX5STY.js → process-APNTXJJE.js} +1 -1
- package/dist/bundle/{program-G3F26HW7.js → program-OGDARQTX.js} +3060 -2547
- package/dist/bundle/{prompt-F23FC5PJ.js → prompt-BMBZCLGF.js} +5 -5
- package/dist/bundle/{recognize-ZVEGVD56.js → recognize-3SEY2MAR.js} +4 -4
- package/dist/bundle/{remote-CZXQS7PS.js → remote-ODH54UXO.js} +7 -7
- package/dist/bundle/{rerank-IRFXSVVO.js → rerank-JQHBNTUK.js} +7 -7
- package/dist/bundle/{serve-6CIMU5HP.js → serve-C22ZONSM.js} +9 -9
- package/dist/bundle/server-3UX245DY.js +62 -0
- package/dist/bundle/server-6G5XF3V5.js +48 -0
- package/dist/bundle/{server-H24MAUT2.js → server-ADPO4V4B.js} +70 -66
- package/dist/bundle/{state-TRWZWXB5.js → state-M3VGXSV4.js} +6 -6
- package/dist/bundle/{store-E4QUOOLX.js → store-GSZAXU3A.js} +13 -13
- package/dist/bundle/store-maintenance-command-QMTALGSQ.js +47 -0
- package/dist/bundle/update-HDJ23IV5.js +72 -0
- package/dist/context/context.d.ts.map +1 -1
- package/dist/context/context.js +4 -2
- package/dist/context/context.js.map +1 -1
- package/dist/contract-overrides/search.d.ts.map +1 -1
- package/dist/contract-overrides/search.js +6 -0
- package/dist/contract-overrides/search.js.map +1 -1
- package/dist/digest/backfill.d.ts +1 -1
- package/dist/digest/backfill.d.ts.map +1 -1
- package/dist/digest/backfill.js +71 -42
- package/dist/digest/backfill.js.map +1 -1
- package/dist/digest/brief.d.ts +14 -3
- package/dist/digest/brief.d.ts.map +1 -1
- package/dist/digest/brief.js +84 -34
- package/dist/digest/brief.js.map +1 -1
- package/dist/digest/command.d.ts +3 -0
- package/dist/digest/command.d.ts.map +1 -1
- package/dist/digest/command.js +23 -0
- package/dist/digest/command.js.map +1 -1
- package/dist/digest/digest-commands.d.ts +6 -0
- package/dist/digest/digest-commands.d.ts.map +1 -0
- package/dist/digest/digest-commands.js +241 -0
- package/dist/digest/digest-commands.js.map +1 -0
- package/dist/digest/digest.d.ts +5 -2
- package/dist/digest/digest.d.ts.map +1 -1
- package/dist/digest/digest.js +29 -8
- package/dist/digest/digest.js.map +1 -1
- package/dist/digest/digests.d.ts +72 -0
- package/dist/digest/digests.d.ts.map +1 -0
- package/dist/digest/digests.js +122 -0
- package/dist/digest/digests.js.map +1 -0
- package/dist/digest/tasks.d.ts +7 -4
- package/dist/digest/tasks.d.ts.map +1 -1
- package/dist/digest/tasks.js +13 -5
- package/dist/digest/tasks.js.map +1 -1
- package/dist/examples.d.ts.map +1 -1
- package/dist/examples.js +17 -1
- package/dist/examples.js.map +1 -1
- package/dist/people/command.d.ts +0 -1
- package/dist/people/command.d.ts.map +1 -1
- package/dist/people/command.js +114 -12
- package/dist/people/command.js.map +1 -1
- package/dist/program.d.ts +4 -1
- package/dist/program.d.ts.map +1 -1
- package/dist/program.js +9 -5
- package/dist/program.js.map +1 -1
- package/dist/reasons.d.ts.map +1 -1
- package/dist/reasons.js +24 -0
- package/dist/reasons.js.map +1 -1
- package/dist/rows.d.ts.map +1 -1
- package/dist/rows.js +13 -1
- package/dist/rows.js.map +1 -1
- package/dist/schedule/command.d.ts +8 -0
- package/dist/schedule/command.d.ts.map +1 -1
- package/dist/schedule/command.js +4 -2
- package/dist/schedule/command.js.map +1 -1
- package/dist/search/answers.d.ts +6 -1
- package/dist/search/answers.d.ts.map +1 -1
- package/dist/search/answers.js +17 -1
- package/dist/search/answers.js.map +1 -1
- package/dist/search/command.d.ts.map +1 -1
- package/dist/search/command.js +13 -2
- package/dist/search/command.js.map +1 -1
- package/dist/search/lane-gates.d.ts +4 -3
- package/dist/search/lane-gates.d.ts.map +1 -1
- package/dist/search/lane-gates.js +13 -7
- package/dist/search/lane-gates.js.map +1 -1
- package/dist/search/people.d.ts +2 -0
- package/dist/search/people.d.ts.map +1 -1
- package/dist/search/people.js +11 -4
- package/dist/search/people.js.map +1 -1
- package/dist/search/search.d.ts +5 -1
- package/dist/search/search.d.ts.map +1 -1
- package/dist/search/search.js +5 -1
- package/dist/search/search.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +3 -3
- package/dist/bundle/auto-YQAECIZA.js +0 -85
- package/dist/bundle/chunk-KQTR6YA4.js +0 -262
- package/dist/bundle/command-contract-6HJ322BP.js +0 -32
- package/dist/bundle/entry-N4NCIQYH.js +0 -18
- package/dist/bundle/failure-BJEFFYH3.js +0 -65
- package/dist/bundle/first-screen-4XGF2NZ3.js +0 -30
- package/dist/bundle/mcp-REIASUJR.js +0 -90
- package/dist/bundle/openai-2SJCG6XM.js +0 -23
- package/dist/bundle/server-27KXLL4E.js +0 -61
- package/dist/bundle/server-TWMUWMFM.js +0 -48
- package/dist/bundle/store-maintenance-command-GLHRB2VZ.js +0 -47
- package/dist/bundle/update-QQEM73O5.js +0 -68
- /package/dist/bundle/{chunk-SYWHHQMC.js → chunk-G5GW3FFJ.js} +0 -0
- /package/dist/bundle/{chunk-ZOWQ5B33.js → chunk-IXSUVHW6.js} +0 -0
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
import { createRequire as __bundleRequire } from "node:module";
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
|
+
import {
|
|
4
|
+
answeredWire
|
|
5
|
+
} from "./chunk-ZXW5FPH2.js";
|
|
3
6
|
import {
|
|
4
7
|
BinaryResource,
|
|
5
8
|
Picture,
|
|
@@ -20,7 +23,11 @@ import {
|
|
|
20
23
|
tool,
|
|
21
24
|
toolKey,
|
|
22
25
|
toolsFromCommands
|
|
23
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-5RLCKP5E.js";
|
|
27
|
+
import {
|
|
28
|
+
callerOf,
|
|
29
|
+
callingAgent
|
|
30
|
+
} from "./chunk-V7BDQIZS.js";
|
|
24
31
|
import {
|
|
25
32
|
CHART_KINDS,
|
|
26
33
|
CHART_SIZE,
|
|
@@ -31,37 +38,32 @@ import {
|
|
|
31
38
|
keepRefreshedRefs,
|
|
32
39
|
refuseWriteBeforeConnecting,
|
|
33
40
|
registerPrompts,
|
|
34
|
-
stdinFieldOf,
|
|
35
41
|
syncsFirst
|
|
36
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-VFKCZJFT.js";
|
|
37
43
|
import {
|
|
38
44
|
mcpUrlOf
|
|
39
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-YLYZNPAZ.js";
|
|
40
46
|
import {
|
|
41
47
|
agentJson,
|
|
42
48
|
skillResource
|
|
43
|
-
} from "./chunk-
|
|
44
|
-
import {
|
|
45
|
-
instructions
|
|
46
|
-
} from "./chunk-IKH4RCJO.js";
|
|
47
|
-
import {
|
|
48
|
-
answeredWire
|
|
49
|
-
} from "./chunk-FSXQLNU4.js";
|
|
50
|
-
import {
|
|
51
|
-
callerOf,
|
|
52
|
-
callingAgent
|
|
53
|
-
} from "./chunk-ON7ZROFP.js";
|
|
49
|
+
} from "./chunk-C6MWOBEL.js";
|
|
54
50
|
import {
|
|
55
51
|
StdioServerTransport,
|
|
56
52
|
serveStdio
|
|
57
53
|
} from "./chunk-MM5NVP7F.js";
|
|
54
|
+
import {
|
|
55
|
+
instructions
|
|
56
|
+
} from "./chunk-KDBAY5JZ.js";
|
|
57
|
+
import {
|
|
58
|
+
mcpHttpMarker
|
|
59
|
+
} from "./chunk-LX3OSTBD.js";
|
|
58
60
|
import {
|
|
59
61
|
McpServer,
|
|
60
62
|
ResourceTemplate
|
|
61
63
|
} from "./chunk-H3ZN4YLB.js";
|
|
62
64
|
import {
|
|
63
65
|
connectedFor
|
|
64
|
-
} from "./chunk-
|
|
66
|
+
} from "./chunk-4XI7S3PO.js";
|
|
65
67
|
import {
|
|
66
68
|
capability,
|
|
67
69
|
dateWindow,
|
|
@@ -71,10 +73,20 @@ import {
|
|
|
71
73
|
servicesFor,
|
|
72
74
|
storedDeps,
|
|
73
75
|
wholeList
|
|
74
|
-
} from "./chunk-
|
|
76
|
+
} from "./chunk-6VMIMAZ2.js";
|
|
77
|
+
import {
|
|
78
|
+
openStore,
|
|
79
|
+
pdfPreviewLimits
|
|
80
|
+
} from "./chunk-ZISVFVQU.js";
|
|
81
|
+
import {
|
|
82
|
+
warmEmbedders
|
|
83
|
+
} from "./chunk-SIOPF2UG.js";
|
|
84
|
+
import {
|
|
85
|
+
stdinFieldOf
|
|
86
|
+
} from "./chunk-6FTZ53TT.js";
|
|
75
87
|
import {
|
|
76
88
|
findCommand
|
|
77
|
-
} from "./chunk-
|
|
89
|
+
} from "./chunk-G45BLLDR.js";
|
|
78
90
|
import {
|
|
79
91
|
DEFAULT_OUTPUT_BYTES,
|
|
80
92
|
changesAuthorityAt,
|
|
@@ -89,30 +101,20 @@ import {
|
|
|
89
101
|
rootOf2 as rootOf,
|
|
90
102
|
sealed,
|
|
91
103
|
snakeKeys
|
|
92
|
-
} from "./chunk-
|
|
104
|
+
} from "./chunk-XMHWGHID.js";
|
|
93
105
|
import {
|
|
94
106
|
withCaller
|
|
95
|
-
} from "./chunk-
|
|
107
|
+
} from "./chunk-UU3OAPGO.js";
|
|
96
108
|
import {
|
|
97
109
|
readOnlyLockOf
|
|
98
|
-
} from "./chunk-
|
|
99
|
-
import {
|
|
100
|
-
mcpHttpMarker
|
|
101
|
-
} from "./chunk-6ZRBQTKZ.js";
|
|
102
|
-
import {
|
|
103
|
-
openStore,
|
|
104
|
-
pdfPreviewLimits
|
|
105
|
-
} from "./chunk-BOZEBD3I.js";
|
|
110
|
+
} from "./chunk-KUFOM3SB.js";
|
|
106
111
|
import {
|
|
107
112
|
timezoneOf,
|
|
108
113
|
typedCommand
|
|
109
|
-
} from "./chunk-
|
|
114
|
+
} from "./chunk-JINEHQ2T.js";
|
|
110
115
|
import {
|
|
111
116
|
isCliFailure
|
|
112
|
-
} from "./chunk-
|
|
113
|
-
import {
|
|
114
|
-
warmEmbedders
|
|
115
|
-
} from "./chunk-OGUXOAOH.js";
|
|
117
|
+
} from "./chunk-VB4OLJHK.js";
|
|
116
118
|
import {
|
|
117
119
|
description,
|
|
118
120
|
integer,
|
|
@@ -128,19 +130,19 @@ import {
|
|
|
128
130
|
regex,
|
|
129
131
|
strictObject,
|
|
130
132
|
string
|
|
131
|
-
} from "./chunk-
|
|
133
|
+
} from "./chunk-VYCLOFPC.js";
|
|
132
134
|
import {
|
|
133
135
|
CliError,
|
|
134
136
|
visibleControls
|
|
135
|
-
} from "./chunk-
|
|
137
|
+
} from "./chunk-2EZFUIL4.js";
|
|
136
138
|
import {
|
|
137
139
|
__name
|
|
138
140
|
} from "./chunk-ZVVMGPBJ.js";
|
|
139
141
|
|
|
140
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
142
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.624.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_845871b12d72ec55150c07203d8cbfbb/node_modules/@wirecat/cli-core/dist/mcp/server.js
|
|
141
143
|
import { randomUUID } from "node:crypto";
|
|
142
144
|
|
|
143
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
145
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.624.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_845871b12d72ec55150c07203d8cbfbb/node_modules/@wirecat/cli-core/dist/mcp/agent-log.js
|
|
144
146
|
var agentLog = /* @__PURE__ */ __name((open) => {
|
|
145
147
|
let held;
|
|
146
148
|
return {
|
|
@@ -159,7 +161,7 @@ var agentLog = /* @__PURE__ */ __name((open) => {
|
|
|
159
161
|
};
|
|
160
162
|
}, "agentLog");
|
|
161
163
|
|
|
162
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
164
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.624.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_845871b12d72ec55150c07203d8cbfbb/node_modules/@wirecat/cli-core/dist/mcp/resources.js
|
|
163
165
|
var LISTED = 100;
|
|
164
166
|
var registerResources = /* @__PURE__ */ __name((server, session, { command, name, limit, recorded, withStore, messenger, guard, assertRead }) => {
|
|
165
167
|
server.registerResource("chat", new ResourceTemplate(`${command}://chat/{id}`, {
|
|
@@ -197,7 +199,7 @@ var registerResources = /* @__PURE__ */ __name((server, session, { command, name
|
|
|
197
199
|
});
|
|
198
200
|
}, "registerResources");
|
|
199
201
|
|
|
200
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
202
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.624.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_845871b12d72ec55150c07203d8cbfbb/node_modules/@wirecat/cli-core/dist/mcp/session.js
|
|
201
203
|
var HARMLESS = /* @__PURE__ */ new Set(["validation_error", "not_found", "permission_error", "confirmation_required", "rate_limited"]);
|
|
202
204
|
var harmless = /* @__PURE__ */ __name((code) => HARMLESS.has(code), "harmless");
|
|
203
205
|
var MessengerSession = class {
|
|
@@ -272,7 +274,7 @@ var MessengerSession = class {
|
|
|
272
274
|
}
|
|
273
275
|
};
|
|
274
276
|
|
|
275
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
277
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.624.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_845871b12d72ec55150c07203d8cbfbb/node_modules/@wirecat/cli-core/dist/mcp/tools/attachments.js
|
|
276
278
|
var attachmentsTools = /* @__PURE__ */ __name((messenger) => {
|
|
277
279
|
const _command = messenger.app.command;
|
|
278
280
|
return {
|
|
@@ -326,7 +328,7 @@ var attachmentsTools = /* @__PURE__ */ __name((messenger) => {
|
|
|
326
328
|
};
|
|
327
329
|
}, "attachmentsTools");
|
|
328
330
|
|
|
329
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
331
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.624.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_845871b12d72ec55150c07203d8cbfbb/node_modules/@wirecat/cli-core/dist/mcp/tools/messages-photo.js
|
|
330
332
|
var PHOTO_LIMIT = 512 * 1024;
|
|
331
333
|
var IMAGE_TYPES = [
|
|
332
334
|
["image/jpeg", (b) => b[0] === 255 && b[1] === 216 && b[2] === 255],
|
|
@@ -380,7 +382,7 @@ var readUpTo = /* @__PURE__ */ __name(async (file, limit, saveIt) => {
|
|
|
380
382
|
return new Uint8Array(Buffer.concat(chunks));
|
|
381
383
|
}, "readUpTo");
|
|
382
384
|
|
|
383
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
385
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.624.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_845871b12d72ec55150c07203d8cbfbb/node_modules/@wirecat/cli-core/dist/mcp/tools/stats.js
|
|
384
386
|
var statsTools = /* @__PURE__ */ __name((messenger) => ({
|
|
385
387
|
stats_charts: tool({
|
|
386
388
|
title: "A chart from a chat's statistics",
|
|
@@ -417,14 +419,14 @@ var statsTools = /* @__PURE__ */ __name((messenger) => ({
|
|
|
417
419
|
})
|
|
418
420
|
}), "statsTools");
|
|
419
421
|
|
|
420
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
422
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.624.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_845871b12d72ec55150c07203d8cbfbb/node_modules/@wirecat/cli-core/dist/mcp/tools.js
|
|
421
423
|
var pictureTools = /* @__PURE__ */ __name((messenger) => Object.fromEntries(Object.entries({
|
|
422
424
|
...messagesPhotoTools(messenger),
|
|
423
425
|
...attachmentsTools(messenger),
|
|
424
426
|
...statsTools(messenger)
|
|
425
427
|
}).map(([name, definition]) => [name, { ...definition, input: strictObject(definition.input.entries) }])), "pictureTools");
|
|
426
428
|
|
|
427
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
429
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.624.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_845871b12d72ec55150c07203d8cbfbb/node_modules/@wirecat/cli-core/dist/mcp/server.js
|
|
428
430
|
var PER_RUN = /* @__PURE__ */ new Set([
|
|
429
431
|
"streams",
|
|
430
432
|
"stdin",
|
|
@@ -748,7 +750,7 @@ var serveOverStdio = /* @__PURE__ */ __name(async (command, context, messenger,
|
|
|
748
750
|
}, "serveOverStdio");
|
|
749
751
|
var serveOverHttpUntilStopped = /* @__PURE__ */ __name(async (command, context, messenger, options, http) => {
|
|
750
752
|
const { session, embedders, build, log } = createServer(command, context, messenger, options);
|
|
751
|
-
const { serveOverHttp } = await import("./serve-
|
|
753
|
+
const { serveOverHttp } = await import("./serve-C22ZONSM.js");
|
|
752
754
|
const appName = messenger.app.command;
|
|
753
755
|
const appEnvPrefix = messenger.app.envPrefix;
|
|
754
756
|
const listening = await serveOverHttp(build, {
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
commandPathOf,
|
|
8
8
|
findCommand,
|
|
9
9
|
outputOf
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-G45BLLDR.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-XMHWGHID.js";
|
|
22
22
|
import {
|
|
23
23
|
writes
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-VYCLOFPC.js";
|
|
25
25
|
import {
|
|
26
26
|
CliError
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-2EZFUIL4.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.624.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_845871b12d72ec55150c07203d8cbfbb/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.624.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_845871b12d72ec55150c07203d8cbfbb/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.624.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_845871b12d72ec55150c07203d8cbfbb/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.624.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_845871b12d72ec55150c07203d8cbfbb/node_modules/@wirecat/cli-core/dist/cli/help/first-screen.js
|
|
330
330
|
var WIRECAT_TOOLS = [
|
|
331
331
|
{
|
|
332
332
|
command: "tg",
|