@wirecat/amo-cli 0.2.0 → 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +28 -0
- package/README.md +11 -10
- package/contracts/wirecat.json +45 -6
- package/dist/amo/button.d.ts +53 -0
- package/dist/amo/button.d.ts.map +1 -0
- package/dist/amo/button.js +234 -0
- package/dist/amo/button.js.map +1 -0
- package/dist/amo/oauth.d.ts +12 -3
- package/dist/amo/oauth.d.ts.map +1 -1
- package/dist/amo/oauth.js +19 -6
- package/dist/amo/oauth.js.map +1 -1
- package/dist/bin/amo.js +2 -2
- package/dist/bundle/agent-FDNP27SW.js +40 -0
- package/dist/bundle/{all-profiles-3KQVWDV4.js → all-profiles-PPUN52SP.js} +63 -21
- package/dist/bundle/amo.js +28 -26
- package/dist/bundle/{anthropic-N5NOX7K7.js → anthropic-RDNDT6ZP.js} +5 -5
- package/dist/bundle/{app-server-2MST5EZ5.js → app-server-MMALJDBP.js} +79 -68
- package/dist/bundle/{bun-4NHWOFX2.js → bun-Y4FRPURU.js} +2 -2
- package/dist/bundle/{bun-sqlite-DRSXPWPR.js → bun-sqlite-7NXJGZCO.js} +6 -6
- package/dist/bundle/{chunk-GNTJMB6X.js → chunk-2YEDK2XV.js} +4 -4
- package/dist/bundle/chunk-3NDMVXGS.js +80 -0
- package/dist/bundle/{chunk-Y37A3232.js → chunk-3RP57VDS.js} +114 -7
- package/dist/bundle/{chunk-ODNQU7DH.js → chunk-3YOZTGZ6.js} +43 -64
- package/dist/bundle/{chunk-ESZSMZKT.js → chunk-4EYPFFTN.js} +2 -2
- package/dist/bundle/{chunk-5QFHNBGB.js → chunk-4MVTSMWP.js} +2 -2
- package/dist/bundle/{chunk-LJQUYECN.js → chunk-5DPMNYQT.js} +1 -1
- package/dist/bundle/{chunk-7PKFYX7V.js → chunk-5POLHHDZ.js} +8 -8
- package/dist/bundle/{chunk-A33TIM5D.js → chunk-5RXH35ZA.js} +225 -225
- package/dist/bundle/{chunk-BVMNXI53.js → chunk-77FP6AWC.js} +25 -25
- package/dist/bundle/{chunk-L6AFE73L.js → chunk-7E6QSIRQ.js} +1 -1
- package/dist/bundle/chunk-7SBAHYZW.js +734 -0
- package/dist/bundle/{chunk-GQ7VFIYM.js → chunk-7USADF2W.js} +23 -7
- package/dist/bundle/{chunk-AHJ4W2IL.js → chunk-7VSYOMEH.js} +2 -2
- package/dist/bundle/chunk-7Z6NYSAN.js +52 -0
- package/dist/bundle/chunk-AYR6FIXN.js +30 -0
- package/dist/bundle/{chunk-ADEWU4P4.js → chunk-B4ITT55D.js} +1 -1
- package/dist/bundle/{chunk-AUBB72VF.js → chunk-BKTLAXUK.js} +41 -10
- package/dist/bundle/{chunk-63F65DHU.js → chunk-BYVDMPLX.js} +2 -2
- package/dist/bundle/{chunk-V77XNPXG.js → chunk-CQ472K6W.js} +11 -11
- package/dist/bundle/{chunk-FKR3M62D.js → chunk-CUZISGWH.js} +13 -13
- package/dist/bundle/{chunk-LDEBZ3IX.js → chunk-D6UPCAPD.js} +1 -1
- package/dist/bundle/{chunk-P3WQRTYZ.js → chunk-E2DLRLJ5.js} +1 -1
- package/dist/bundle/{chunk-NJYAL3UW.js → chunk-EHULZEXQ.js} +1 -1
- package/dist/bundle/chunk-EKNP326Q.js +108 -0
- package/dist/bundle/{chunk-DJD7TBYG.js → chunk-ELJGALVX.js} +76 -74
- package/dist/bundle/{chunk-RPWAJYI6.js → chunk-FI2TP6TY.js} +3 -3
- package/dist/bundle/{chunk-CDY2NJFE.js → chunk-FPDTIQOK.js} +2 -2
- package/dist/bundle/{chunk-NC76INB2.js → chunk-FPIUFSWK.js} +3099 -2266
- package/dist/bundle/{chunk-SZ2V62HB.js → chunk-GCUFGDKE.js} +2 -2
- package/dist/bundle/{chunk-LRBPT7LQ.js → chunk-GKP7CKW2.js} +6 -6
- package/dist/bundle/chunk-H34RBRS3.js +209 -0
- package/dist/bundle/{chunk-O2UCU52O.js → chunk-HQH4YPO5.js} +134 -569
- package/dist/bundle/{chunk-TNUFLULO.js → chunk-I4QCJZW7.js} +8 -8
- package/dist/bundle/{chunk-DXGGCGRP.js → chunk-IDQ7BNCZ.js} +14 -14
- package/dist/bundle/{chunk-JMDLPBXK.js → chunk-IEAPNTHT.js} +17 -17
- package/dist/bundle/{chunk-XQL7FEF4.js → chunk-ILUREFWJ.js} +9 -9
- package/dist/bundle/{chunk-QRQYUHCZ.js → chunk-IYUWVMGP.js} +12 -12
- package/dist/bundle/chunk-JTFAG3BX.js +338 -0
- package/dist/bundle/{chunk-CHUKWON6.js → chunk-JZ2AITOE.js} +3 -3
- package/dist/bundle/{chunk-JR6TSMFX.js → chunk-KEOKH2OZ.js} +103 -70
- package/dist/bundle/{chunk-UMVRT7VQ.js → chunk-KKXF6TSS.js} +1 -1
- package/dist/bundle/{chunk-5E5R65CA.js → chunk-KTLCQ7GC.js} +2 -2
- package/dist/bundle/{chunk-QDMXZZG4.js → chunk-KZDBO2FT.js} +18 -8
- package/dist/bundle/{chunk-VX37MPTJ.js → chunk-L2ZQDTDU.js} +1 -1
- package/dist/bundle/{chunk-CUZRHF34.js → chunk-L3JDQNBC.js} +4 -4
- package/dist/bundle/{chunk-3IRJDH2U.js → chunk-L72UALL5.js} +2 -100
- package/dist/bundle/{chunk-XRTD2GCU.js → chunk-LOSOWTAZ.js} +19 -258
- package/dist/bundle/{chunk-LGQXGOPJ.js → chunk-LYRICHEK.js} +2 -2
- package/dist/bundle/{chunk-UBRREVLJ.js → chunk-MMOEAH5G.js} +2 -2
- package/dist/bundle/{chunk-EQ7A6NA6.js → chunk-MPXKBF37.js} +1 -1
- package/dist/bundle/{chunk-SMSTGO2G.js → chunk-MYMBPQPQ.js} +4 -4
- package/dist/bundle/chunk-N4A6E2LL.js +559 -0
- package/dist/bundle/{chunk-5HGGG3QO.js → chunk-NJ2LJKNH.js} +16 -3
- package/dist/bundle/{chunk-TGEQNS6G.js → chunk-OMH3WP7F.js} +1 -1
- package/dist/bundle/{chunk-ULXQ5MJM.js → chunk-ORFLQGWH.js} +4 -4
- package/dist/bundle/{chunk-DQV2IKCF.js → chunk-PFZ7WG2B.js} +10 -3
- package/dist/bundle/{chunk-5D4AEUVA.js → chunk-PL5P7UKW.js} +434 -1
- package/dist/bundle/{chunk-6RS7OYTD.js → chunk-Q2YVY7IR.js} +3 -3
- package/dist/bundle/{chunk-DOSJONCX.js → chunk-QHA33ZS6.js} +7 -7
- package/dist/bundle/{chunk-JH3UOHRE.js → chunk-QQT7WUR4.js} +4 -4
- package/dist/bundle/{chunk-EROSAUNP.js → chunk-R23DRW2T.js} +5 -5
- package/dist/bundle/{chunk-WCYCUTSK.js → chunk-SBQ5MFHM.js} +7 -7
- package/dist/bundle/{chunk-DAY6TSPF.js → chunk-SJYVKR54.js} +62 -50
- package/dist/bundle/{chunk-T2UDLX76.js → chunk-SJZ52MZE.js} +6 -6
- package/dist/bundle/{chunk-ZM7I52EP.js → chunk-T6D34X5S.js} +3 -4
- package/dist/bundle/{chunk-P5LYZRKW.js → chunk-TCDER3G7.js} +1586 -749
- package/dist/bundle/{chunk-2I5UVMLW.js → chunk-TWZF7VO6.js} +1726 -1159
- package/dist/bundle/{chunk-VVHRQ46X.js → chunk-UA7C57IB.js} +2 -2
- package/dist/bundle/{chunk-5SBLU7D7.js → chunk-UM6SDFB6.js} +1 -1
- package/dist/bundle/{chunk-7U5HJEPZ.js → chunk-UOPP6ORQ.js} +21 -19
- package/dist/bundle/{chunk-U7RLVJ34.js → chunk-UT3ODJMI.js} +4 -4
- package/dist/bundle/{chunk-7GTUZY7M.js → chunk-UZLT6VSP.js} +3 -3
- package/dist/bundle/{chunk-5RLUHTK6.js → chunk-V3ZWYMXT.js} +1 -1
- package/dist/bundle/{chunk-LSND5QYI.js → chunk-VD7HD25M.js} +9 -9
- package/dist/bundle/{chunk-PFO76YFP.js → chunk-VEGNZPQU.js} +18 -18
- package/dist/bundle/{chunk-5Z5PEEKP.js → chunk-VFU25P57.js} +4 -4
- package/dist/bundle/{chunk-4ZAK773N.js → chunk-VJHOBOJR.js} +3 -3
- package/dist/bundle/{chunk-PM77PRB6.js → chunk-VPBSZ4HQ.js} +185 -162
- package/dist/bundle/{chunk-Q2VNBY4Y.js → chunk-VY27K2SH.js} +746 -1205
- package/dist/bundle/{chunk-XEFAMLSD.js → chunk-W4KY5JF5.js} +3 -3
- package/dist/bundle/{chunk-73CXFE36.js → chunk-WBWVBEHH.js} +29 -1
- package/dist/bundle/{chunk-NHXJYS4R.js → chunk-XDT74W5P.js} +32 -28
- package/dist/bundle/{chunk-EPOV5UIO.js → chunk-XI75EKLG.js} +11 -11
- package/dist/bundle/{chunk-CHH42KI4.js → chunk-XM2G62YF.js} +8 -6
- package/dist/bundle/{chunk-5D4Z2B5B.js → chunk-YSOGGUK3.js} +9 -9
- package/dist/bundle/chunk-YVO2YGML.js +353 -0
- package/dist/bundle/{chunk-EQUKVVHX.js → chunk-ZIFEIJRK.js} +7 -7
- package/dist/bundle/{cli-QVWTXADI.js → cli-GAO7LDDA.js} +150 -103
- package/dist/bundle/command-contract-RLIBGIDT.js +39 -0
- package/dist/bundle/{command-server-entry-5VL5U5EE.js → command-server-entry-BCDJP7XE.js} +28 -28
- package/dist/bundle/{decode-SQ5WGNDX.js → decode-OY2GR442.js} +5 -5
- package/dist/bundle/{dispatch-LA4DFXJD.js → dispatch-JWEJCBTF.js} +8 -8
- package/dist/bundle/dist-PAKDDIBT.js +191 -0
- package/dist/bundle/{echarts-25Z3RINX.js → echarts-AHEPEA5P.js} +2 -2
- package/dist/bundle/{embed-BNOTNXMA.js → embed-RVSUV54Z.js} +6 -6
- package/dist/bundle/{embedder-BCUT7KKV.js → embedder-GRZXZUXR.js} +9 -9
- package/dist/bundle/{failure-PKAC6XCT.js → failure-DDCSR54L.js} +2 -2
- package/dist/bundle/{first-run-EO5K5GME.js → first-run-G3WI4DH4.js} +12 -12
- package/dist/bundle/first-screen-6MLCMW2U.js +39 -0
- package/dist/bundle/{instructions-VLM3QAYB.js → instructions-NWQC5IP4.js} +1 -1
- package/dist/bundle/{mcp-7ILNMJH5.js → mcp-KGWT6TGO.js} +2 -2
- package/dist/bundle/meeting-combined-SVTFVZNJ.js +24 -0
- package/dist/bundle/{meeting-model-GHMMUQ34.js → meeting-model-I6T5HIZ5.js} +11 -11
- package/dist/bundle/{meeting-semantic-BMP6323L.js → meeting-semantic-47UA5JBF.js} +6 -6
- package/dist/bundle/{node-CT3N3TNL.js → node-7VXN7F4B.js} +2 -2
- package/dist/bundle/{node-sqlite-MELD2SBX.js → node-sqlite-BSEON57L.js} +7 -7
- package/dist/bundle/{oauth-YBH5OKC2.js → oauth-V6UAT4YD.js} +8 -8
- package/dist/bundle/{open-WNSBWTAG.js → open-7LVAY7ZU.js} +5 -5
- package/dist/bundle/{openai-XSNMNLW6.js → openai-OIEH342H.js} +15 -15
- package/dist/bundle/{process-I2QKOMM7.js → process-PTUCNLZ7.js} +1 -1
- package/dist/bundle/{program-G6O3IJR2.js → program-S5WY5IZP.js} +640 -852
- package/dist/bundle/{prompt-SOG4AKPM.js → prompt-7XWTEQ62.js} +5 -5
- package/dist/bundle/{recognize-WMQLWMXH.js → recognize-HGIAJXDR.js} +4 -4
- package/dist/bundle/{remote-4BTFOLFY.js → remote-X4SVEMHS.js} +9 -9
- package/dist/bundle/{rerank-LJ3TWRNV.js → rerank-QWM3DQMU.js} +7 -7
- package/dist/bundle/{serve-B6UANKXN.js → serve-VVG3TXYT.js} +10 -10
- package/dist/bundle/{server-YRH6GJ5Z.js → server-EHYK62BJ.js} +73 -61
- package/dist/bundle/server-WRPTBVNW.js +86 -0
- package/dist/bundle/source-YISMYLBQ.js +44 -0
- package/dist/bundle/{sqlite-runtime-R7QFWFE7.js → sqlite-runtime-MCKXDNYC.js} +6 -6
- package/dist/bundle/{state-DIJ5YUOE.js → state-MYNYQJCT.js} +6 -6
- package/dist/bundle/store-A7R2SZVD.js +34 -0
- package/dist/bundle/{store-MYTYDV6A.js → store-B7O3F3QB.js} +28 -21
- package/dist/bundle/{store-6WFWW7EC.js → store-FPIU2546.js} +24 -23
- package/dist/bundle/store-maintenance-command-D55FRTIK.js +73 -0
- package/dist/bundle/surface-3EX6IGHW.js +72 -0
- package/dist/bundle/writer-XDHZ54JD.js +46 -0
- package/dist/commands/session.d.ts +23 -0
- package/dist/commands/session.d.ts.map +1 -1
- package/dist/commands/session.js +115 -45
- package/dist/commands/session.js.map +1 -1
- package/dist/identity.js +1 -1
- package/dist/identity.js.map +1 -1
- package/dist/reasons.d.ts.map +1 -1
- package/dist/reasons.js +2 -0
- package/dist/reasons.js.map +1 -1
- package/dist/setup/flow.d.ts.map +1 -1
- package/dist/setup/flow.js +74 -4
- package/dist/setup/flow.js.map +1 -1
- package/dist/setup/texts.en.json +22 -1
- package/dist/setup/texts.es.json +22 -1
- package/dist/setup/texts.ru.json +22 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +3 -3
- package/skills/amo-cli/references/setup.md +8 -2
- package/dist/bundle/command-contract-QBUQBXH7.js +0 -39
- package/dist/bundle/first-screen-GMN3T6RW.js +0 -39
- package/dist/bundle/meeting-combined-LAMF7S2B.js +0 -24
- package/dist/bundle/server-S6XD6V6E.js +0 -77
- package/dist/bundle/source-DGFTA2TN.js +0 -42
- package/dist/bundle/store-CHWY2USQ.js +0 -32
- package/dist/bundle/store-maintenance-command-B5TMKFMG.js +0 -68
- package/dist/bundle/writer-GP7VIMAU.js +0 -44
package/dist/amo/oauth.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"oauth.js","sourceRoot":"","sources":["../../src/amo/oauth.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAER,WAAW,EACX,UAAU,EAEV,YAAY,EACZ,aAAa,GACd,MAAM,mBAAmB,CAAA;AAC1B,OAAO,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAA;AAClD,OAAO,EACL,iBAAiB,EACjB,iBAAiB,EAIjB,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AM,CAAC,WAAW,CAAC,EAAE,OAAO,EAAE,CAAC,EAAE,CAAA;AAC7G,CAAC,CAAA"}
|
package/dist/bin/amo.js
CHANGED
|
@@ -9,7 +9,7 @@ if (
|
|
|
9
9
|
(words[0] === "--version" || words[0] === "-V") &&
|
|
10
10
|
!Object.keys(process.env).some((key) => key.endsWith("_TEST_ARGV_LOG"))
|
|
11
11
|
) {
|
|
12
|
-
process.stdout.write("0.
|
|
12
|
+
process.stdout.write("0.3.0\n")
|
|
13
13
|
} else {
|
|
14
14
|
// Before the bundle compiles: the bundle's own call comes after its chunks.
|
|
15
15
|
module.enableCompileCache()
|
|
@@ -28,7 +28,7 @@ if (
|
|
|
28
28
|
: next(specifier, context),
|
|
29
29
|
})
|
|
30
30
|
}
|
|
31
|
-
const chunks = ["../bundle/all-profiles-
|
|
31
|
+
const chunks = ["../bundle/agent-FDNP27SW.js","../bundle/all-profiles-PPUN52SP.js","../bundle/anthropic-RDNDT6ZP.js","../bundle/app-server-MMALJDBP.js","../bundle/bun-Y4FRPURU.js","../bundle/bun-sqlite-7NXJGZCO.js","../bundle/cli-GAO7LDDA.js","../bundle/command-contract-RLIBGIDT.js","../bundle/command-server-entry-BCDJP7XE.js","../bundle/decode-OY2GR442.js","../bundle/dispatch-JWEJCBTF.js","../bundle/dist-PAKDDIBT.js","../bundle/dist-T54K3FJV.js","../bundle/echarts-AHEPEA5P.js","../bundle/embed-RVSUV54Z.js","../bundle/embedder-GRZXZUXR.js","../bundle/failure-DDCSR54L.js","../bundle/first-run-G3WI4DH4.js","../bundle/first-screen-6MLCMW2U.js","../bundle/instructions-NWQC5IP4.js","../bundle/mcp-KGWT6TGO.js","../bundle/node-7VXN7F4B.js","../bundle/node-P4E63KXA.js","../bundle/node-TLZSIHIJ.js","../bundle/node-sqlite-BSEON57L.js","../bundle/oauth-V6UAT4YD.js","../bundle/open-7LVAY7ZU.js","../bundle/openai-OIEH342H.js","../bundle/process-PTUCNLZ7.js","../bundle/program-S5WY5IZP.js","../bundle/prompt-7XWTEQ62.js","../bundle/recognize-HGIAJXDR.js","../bundle/remote-X4SVEMHS.js","../bundle/rerank-QWM3DQMU.js","../bundle/serve-VVG3TXYT.js","../bundle/server-EHYK62BJ.js","../bundle/server-WRPTBVNW.js","../bundle/source-YISMYLBQ.js","../bundle/sqlite-runtime-MCKXDNYC.js","../bundle/state-MYNYQJCT.js","../bundle/store-A7R2SZVD.js","../bundle/store-B7O3F3QB.js","../bundle/store-FPIU2546.js","../bundle/store-maintenance-command-D55FRTIK.js","../bundle/surface-3EX6IGHW.js","../bundle/writer-XDHZ54JD.js"]
|
|
32
32
|
if (((words) => words
|
|
33
33
|
.filter((word) => !word.startsWith("-"))
|
|
34
34
|
.slice(0, 2)
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { createRequire as __bundleRequire } from "node:module";
|
|
2
|
+
const require = __bundleRequire(import.meta.url);
|
|
3
|
+
import {
|
|
4
|
+
runCommandForAgent,
|
|
5
|
+
toolsFromCommands
|
|
6
|
+
} from "./chunk-HQH4YPO5.js";
|
|
7
|
+
import "./chunk-7Z6NYSAN.js";
|
|
8
|
+
import "./chunk-JTFAG3BX.js";
|
|
9
|
+
import "./chunk-EKNP326Q.js";
|
|
10
|
+
import "./chunk-AYR6FIXN.js";
|
|
11
|
+
import "./chunk-7SBAHYZW.js";
|
|
12
|
+
import "./chunk-PL5P7UKW.js";
|
|
13
|
+
import "./chunk-VPBSZ4HQ.js";
|
|
14
|
+
import "./chunk-SBQ5MFHM.js";
|
|
15
|
+
import "./chunk-MYMBPQPQ.js";
|
|
16
|
+
import "./chunk-YSOGGUK3.js";
|
|
17
|
+
import "./chunk-UM6SDFB6.js";
|
|
18
|
+
import "./chunk-Q2YVY7IR.js";
|
|
19
|
+
import "./chunk-3NDMVXGS.js";
|
|
20
|
+
import "./chunk-77FP6AWC.js";
|
|
21
|
+
import "./chunk-MMOEAH5G.js";
|
|
22
|
+
import "./chunk-7USADF2W.js";
|
|
23
|
+
import "./chunk-UT3ODJMI.js";
|
|
24
|
+
import "./chunk-KZDBO2FT.js";
|
|
25
|
+
import "./chunk-IYUWVMGP.js";
|
|
26
|
+
import "./chunk-EHULZEXQ.js";
|
|
27
|
+
import "./chunk-BYVDMPLX.js";
|
|
28
|
+
import "./chunk-5RXH35ZA.js";
|
|
29
|
+
import "./chunk-L2ZQDTDU.js";
|
|
30
|
+
import "./chunk-QHA33ZS6.js";
|
|
31
|
+
import "./chunk-KTLCQ7GC.js";
|
|
32
|
+
import "./chunk-ELJGALVX.js";
|
|
33
|
+
import "./chunk-BKTLAXUK.js";
|
|
34
|
+
import "./chunk-Y5E2WNWB.js";
|
|
35
|
+
import "./chunk-GCUFGDKE.js";
|
|
36
|
+
import "./chunk-ZVVMGPBJ.js";
|
|
37
|
+
export {
|
|
38
|
+
runCommandForAgent,
|
|
39
|
+
toolsFromCommands
|
|
40
|
+
};
|
|
@@ -1,34 +1,37 @@
|
|
|
1
1
|
import { createRequire as __bundleRequire } from "node:module";
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
|
-
CALLER_META_KEY,
|
|
5
|
-
PROXY_CLIENT_NAME,
|
|
6
4
|
StdioServerTransport,
|
|
7
5
|
answeredWire,
|
|
8
|
-
callerOf,
|
|
9
6
|
serveStdio
|
|
10
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-L72UALL5.js";
|
|
8
|
+
import {
|
|
9
|
+
CALLER_META_KEY,
|
|
10
|
+
PROXY_CLIENT_NAME,
|
|
11
|
+
callerOf
|
|
12
|
+
} from "./chunk-EKNP326Q.js";
|
|
11
13
|
import {
|
|
14
|
+
InMemoryTransport,
|
|
12
15
|
McpServer
|
|
13
|
-
} from "./chunk-
|
|
14
|
-
import "./chunk-
|
|
15
|
-
import "./chunk-
|
|
16
|
-
import "./chunk-
|
|
17
|
-
import "./chunk-
|
|
18
|
-
import "./chunk-
|
|
16
|
+
} from "./chunk-PL5P7UKW.js";
|
|
17
|
+
import "./chunk-SBQ5MFHM.js";
|
|
18
|
+
import "./chunk-MMOEAH5G.js";
|
|
19
|
+
import "./chunk-EHULZEXQ.js";
|
|
20
|
+
import "./chunk-L2ZQDTDU.js";
|
|
21
|
+
import "./chunk-ELJGALVX.js";
|
|
19
22
|
import {
|
|
20
23
|
errorObjectOf,
|
|
21
24
|
mcpErrorResult
|
|
22
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-BKTLAXUK.js";
|
|
23
26
|
import "./chunk-Y5E2WNWB.js";
|
|
24
27
|
import {
|
|
25
28
|
CliError
|
|
26
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-GCUFGDKE.js";
|
|
27
30
|
import {
|
|
28
31
|
__name
|
|
29
32
|
} from "./chunk-ZVVMGPBJ.js";
|
|
30
33
|
|
|
31
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
34
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.720.0_@wirecat+cli-base@0.126.1_commander@15.0.0_esbuild@0.28.2_typ_891204b7e0cfbcc49dd71e2850e8663f/node_modules/@wirecat/cli-core/dist/mcp/all-profiles.js
|
|
32
35
|
import { spawn } from "node:child_process";
|
|
33
36
|
import { randomUUID } from "node:crypto";
|
|
34
37
|
var PROTOCOL = "2025-06-18";
|
|
@@ -169,13 +172,16 @@ var withProfile = /* @__PURE__ */ __name((tool, profiles, name, signedIn = () =>
|
|
|
169
172
|
inputSchema: {
|
|
170
173
|
...tool.inputSchema,
|
|
171
174
|
properties: {
|
|
172
|
-
profile:
|
|
175
|
+
profile: profiles.length === 0 ? (
|
|
176
|
+
// An empty enum matches nothing, and a directory that checks the schema refuses the tool.
|
|
177
|
+
{
|
|
178
|
+
type: "string",
|
|
179
|
+
description: `Which ${name} account, by its profile. None is set up on this computer yet.`
|
|
180
|
+
}
|
|
181
|
+
) : {
|
|
173
182
|
type: "string",
|
|
174
183
|
enum: [...profiles],
|
|
175
|
-
oneOf: profiles.map((
|
|
176
|
-
const: profile,
|
|
177
|
-
title: signedIn(profile) ? profile : `${profile} \u2014 not signed in`
|
|
178
|
-
})),
|
|
184
|
+
oneOf: profiles.map((one) => ({ const: one, title: signedIn(one) ? one : `${one} \u2014 not signed in` })),
|
|
179
185
|
description: `Which ${name} account, by its profile. If the owner did not name one, ask which \u2014 never guess.${states}`
|
|
180
186
|
},
|
|
181
187
|
...schema.properties
|
|
@@ -198,9 +204,14 @@ var allProfilesServer = /* @__PURE__ */ __name((options) => {
|
|
|
198
204
|
const signedIn = /* @__PURE__ */ __name((profile) => options.signedIn?.(profile) ?? true, "signedIn");
|
|
199
205
|
const build = /* @__PURE__ */ __name(() => {
|
|
200
206
|
const profiles = [...options.profiles()].sort();
|
|
201
|
-
const server = new McpServer({ name: options.command, version: options.version }, {
|
|
207
|
+
const server = new McpServer({ name: options.command, version: options.version }, {
|
|
208
|
+
capabilities: { tools: {} },
|
|
209
|
+
// Read per session, as the profiles are: clients cut the instructions short, so this line comes first.
|
|
210
|
+
instructions: profiles.length === 0 && options.setup ? `${options.setup.charAt(0).toUpperCase()}${options.setup.slice(1)}.
|
|
211
|
+
${options.instructions}` : options.instructions
|
|
212
|
+
});
|
|
202
213
|
server.server.setRequestHandler("tools/list", async () => ({
|
|
203
|
-
tools: profiles.length === 0 ? [] :
|
|
214
|
+
tools: (profiles.length === 0 ? await options.catalogue?.() ?? [] : await tools(profiles)).map((one) => withProfile(one, profiles, options.name, signedIn))
|
|
204
215
|
}));
|
|
205
216
|
const callers = {
|
|
206
217
|
env: options.env ?? process.env,
|
|
@@ -210,6 +221,8 @@ var allProfilesServer = /* @__PURE__ */ __name((options) => {
|
|
|
210
221
|
server.server.setRequestHandler("tools/call", async (request, ctx) => {
|
|
211
222
|
const { name, arguments: given = {}, _meta } = request.params;
|
|
212
223
|
const { profile, ...rest } = given;
|
|
224
|
+
if (profiles.length === 0)
|
|
225
|
+
return refusal("configuration_error", options.setup ?? `no ${options.command} profile on this computer yet.`);
|
|
213
226
|
if (typeof profile !== "string" || !profiles.includes(profile))
|
|
214
227
|
return refusal("validation_error", `${name} needs "profile", one of: ${profiles.join(", ")}. If the owner did not say which account, ask.`);
|
|
215
228
|
if (!signedIn(profile))
|
|
@@ -231,6 +244,34 @@ var allProfilesServer = /* @__PURE__ */ __name((options) => {
|
|
|
231
244
|
}, "build");
|
|
232
245
|
return { build, close: /* @__PURE__ */ __name(() => children.close(), "close") };
|
|
233
246
|
}, "allProfilesServer");
|
|
247
|
+
var listedTools = /* @__PURE__ */ __name(async (server) => {
|
|
248
|
+
const [own, other] = InMemoryTransport.createLinkedPair();
|
|
249
|
+
const answers = /* @__PURE__ */ new Map();
|
|
250
|
+
other.onmessage = (message) => {
|
|
251
|
+
const { id, result, error } = message;
|
|
252
|
+
if (typeof id === "number")
|
|
253
|
+
answers.get(id)?.(result, error);
|
|
254
|
+
};
|
|
255
|
+
const ask = /* @__PURE__ */ __name((id, method, params) => new Promise((resolve, reject) => {
|
|
256
|
+
answers.set(id, (result, error) => error || !result ? reject(new Error(error?.message ?? `${method} had no answer`)) : resolve(result));
|
|
257
|
+
void other.send({ jsonrpc: "2.0", id, method, params });
|
|
258
|
+
}), "ask");
|
|
259
|
+
await server.connect(own);
|
|
260
|
+
try {
|
|
261
|
+
await ask(1, "initialize", {
|
|
262
|
+
protocolVersion: PROTOCOL,
|
|
263
|
+
capabilities: {},
|
|
264
|
+
clientInfo: { name: PROXY_CLIENT_NAME, version: "1" }
|
|
265
|
+
});
|
|
266
|
+
await other.send({ jsonrpc: "2.0", method: "notifications/initialized" });
|
|
267
|
+
const answer = await ask(2, "tools/list", {});
|
|
268
|
+
if (!Array.isArray(answer.tools))
|
|
269
|
+
throw new Error("the catalogue server listed no tools");
|
|
270
|
+
return answer.tools;
|
|
271
|
+
} finally {
|
|
272
|
+
await server.close();
|
|
273
|
+
}
|
|
274
|
+
}, "listedTools");
|
|
234
275
|
var serveAllProfilesOverStdio = /* @__PURE__ */ __name(async (options, io = {}) => {
|
|
235
276
|
const { build, close } = allProfilesServer(options);
|
|
236
277
|
const own = io.stdin !== void 0 && io.stdin !== process.stdin;
|
|
@@ -249,7 +290,7 @@ var serveAllProfilesOverStdio = /* @__PURE__ */ __name(async (options, io = {})
|
|
|
249
290
|
}, "serveAllProfilesOverStdio");
|
|
250
291
|
var serveAllProfilesOverHttp = /* @__PURE__ */ __name(async (options, http) => {
|
|
251
292
|
const { build, close } = allProfilesServer(options);
|
|
252
|
-
const { serveOverHttp } = await import("./serve-
|
|
293
|
+
const { serveOverHttp } = await import("./serve-VVG3TXYT.js");
|
|
253
294
|
const listening = await serveOverHttp(build, {
|
|
254
295
|
...http,
|
|
255
296
|
appName: options.command,
|
|
@@ -272,6 +313,7 @@ var serveAllProfilesOverHttp = /* @__PURE__ */ __name(async (options, http) => {
|
|
|
272
313
|
export {
|
|
273
314
|
CHILD_IDLE_MS,
|
|
274
315
|
allProfilesServer,
|
|
316
|
+
listedTools,
|
|
275
317
|
serveAllProfilesOverHttp,
|
|
276
318
|
serveAllProfilesOverStdio,
|
|
277
319
|
withProfile
|
package/dist/bundle/amo.js
CHANGED
|
@@ -3,24 +3,25 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
3
3
|
const require = __bundleRequire(import.meta.url);
|
|
4
4
|
import {
|
|
5
5
|
DESKTOP
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import "./chunk-
|
|
8
|
-
import "./chunk-
|
|
9
|
-
import "./chunk-VVHRQ46X.js";
|
|
10
|
-
import "./chunk-LSND5QYI.js";
|
|
6
|
+
} from "./chunk-XM2G62YF.js";
|
|
7
|
+
import "./chunk-FPDTIQOK.js";
|
|
8
|
+
import "./chunk-UA7C57IB.js";
|
|
11
9
|
import "./chunk-EH6ZEJGT.js";
|
|
10
|
+
import "./chunk-3RP57VDS.js";
|
|
11
|
+
import "./chunk-VD7HD25M.js";
|
|
12
12
|
import {
|
|
13
13
|
installerOf
|
|
14
|
-
} from "./chunk-
|
|
15
|
-
import "./chunk-
|
|
16
|
-
import "./chunk-
|
|
17
|
-
import "./chunk-
|
|
18
|
-
import "./chunk-
|
|
19
|
-
import "./chunk-
|
|
20
|
-
import "./chunk-
|
|
21
|
-
import "./chunk-
|
|
22
|
-
import "./chunk-
|
|
23
|
-
import "./chunk-
|
|
14
|
+
} from "./chunk-V3ZWYMXT.js";
|
|
15
|
+
import "./chunk-KZDBO2FT.js";
|
|
16
|
+
import "./chunk-VEGNZPQU.js";
|
|
17
|
+
import "./chunk-PFZ7WG2B.js";
|
|
18
|
+
import "./chunk-OMH3WP7F.js";
|
|
19
|
+
import "./chunk-IYUWVMGP.js";
|
|
20
|
+
import "./chunk-EHULZEXQ.js";
|
|
21
|
+
import "./chunk-BYVDMPLX.js";
|
|
22
|
+
import "./chunk-5RXH35ZA.js";
|
|
23
|
+
import "./chunk-L2ZQDTDU.js";
|
|
24
|
+
import "./chunk-QHA33ZS6.js";
|
|
24
25
|
import {
|
|
25
26
|
DESCRIBE_FLAG,
|
|
26
27
|
DISPATCH_FLAG,
|
|
@@ -31,15 +32,16 @@ import {
|
|
|
31
32
|
fileState,
|
|
32
33
|
shimFiles,
|
|
33
34
|
writeShim
|
|
34
|
-
} from "./chunk-
|
|
35
|
-
import "./chunk-
|
|
36
|
-
import "./chunk-
|
|
37
|
-
import "./chunk-
|
|
35
|
+
} from "./chunk-VFU25P57.js";
|
|
36
|
+
import "./chunk-VJHOBOJR.js";
|
|
37
|
+
import "./chunk-4EYPFFTN.js";
|
|
38
|
+
import "./chunk-KTLCQ7GC.js";
|
|
39
|
+
import "./chunk-ELJGALVX.js";
|
|
38
40
|
import {
|
|
39
41
|
catchCrashes
|
|
40
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-BKTLAXUK.js";
|
|
41
43
|
import "./chunk-Y5E2WNWB.js";
|
|
42
|
-
import "./chunk-
|
|
44
|
+
import "./chunk-GCUFGDKE.js";
|
|
43
45
|
import {
|
|
44
46
|
__name
|
|
45
47
|
} from "./chunk-ZVVMGPBJ.js";
|
|
@@ -47,13 +49,13 @@ import {
|
|
|
47
49
|
// dist/bin/amo.js
|
|
48
50
|
import { enableCompileCache } from "node:module";
|
|
49
51
|
|
|
50
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
52
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.126.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/wcat/start.js
|
|
51
53
|
import { createHash } from "node:crypto";
|
|
52
54
|
import { existsSync, readFileSync as readFileSync2, realpathSync } from "node:fs";
|
|
53
55
|
import { dirname as dirname2, join as join2 } from "node:path";
|
|
54
56
|
import { fileURLToPath } from "node:url";
|
|
55
57
|
|
|
56
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
58
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.126.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/wcat/launcher.js
|
|
57
59
|
import { readFileSync } from "node:fs";
|
|
58
60
|
import { basename, dirname, join, resolve } from "node:path";
|
|
59
61
|
var posix = /* @__PURE__ */ __name((path) => path.replaceAll("\\", "/"), "posix");
|
|
@@ -139,7 +141,7 @@ var ensureLauncher = /* @__PURE__ */ __name(({ dir, program, platform }) => {
|
|
|
139
141
|
}
|
|
140
142
|
}, "ensureLauncher");
|
|
141
143
|
|
|
142
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
144
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.126.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/wcat/start.js
|
|
143
145
|
var wcatStart = /* @__PURE__ */ __name(async (tool, io = {}) => {
|
|
144
146
|
const argv = io.argv ?? process.argv;
|
|
145
147
|
const env = io.env ?? process.env;
|
|
@@ -152,7 +154,7 @@ var wcatStart = /* @__PURE__ */ __name(async (tool, io = {}) => {
|
|
|
152
154
|
return { code: 0 };
|
|
153
155
|
}
|
|
154
156
|
if (first === DISPATCH_FLAG) {
|
|
155
|
-
const { runWcat } = await import("./dispatch-
|
|
157
|
+
const { runWcat } = await import("./dispatch-JWEJCBTF.js");
|
|
156
158
|
const code = await runWcat(rest, { env, platform, stdout, stderr: io.stderr ?? process.stderr, self: tool });
|
|
157
159
|
return { code };
|
|
158
160
|
}
|
|
@@ -192,7 +194,7 @@ var wcat = await wcatStart(DESKTOP);
|
|
|
192
194
|
if (wcat.code !== void 0) {
|
|
193
195
|
process.exitCode = wcat.code;
|
|
194
196
|
} else {
|
|
195
|
-
const { run } = await import("./program-
|
|
197
|
+
const { run } = await import("./program-S5WY5IZP.js");
|
|
196
198
|
process.exitCode = await run(process.argv.slice(2));
|
|
197
199
|
}
|
|
198
200
|
stopCatching();
|
|
@@ -5,11 +5,11 @@ import {
|
|
|
5
5
|
checkedOptions,
|
|
6
6
|
messagesFor,
|
|
7
7
|
systemFor
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-ORFLQGWH.js";
|
|
9
9
|
import {
|
|
10
10
|
Anthropic
|
|
11
11
|
} from "./chunk-ADLS6FVG.js";
|
|
12
|
-
import "./chunk-
|
|
12
|
+
import "./chunk-ELJGALVX.js";
|
|
13
13
|
import {
|
|
14
14
|
array,
|
|
15
15
|
literal,
|
|
@@ -19,14 +19,14 @@ import {
|
|
|
19
19
|
strictObject,
|
|
20
20
|
string,
|
|
21
21
|
unknown
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-BKTLAXUK.js";
|
|
23
23
|
import "./chunk-Y5E2WNWB.js";
|
|
24
|
-
import "./chunk-
|
|
24
|
+
import "./chunk-GCUFGDKE.js";
|
|
25
25
|
import {
|
|
26
26
|
__name
|
|
27
27
|
} from "./chunk-ZVVMGPBJ.js";
|
|
28
28
|
|
|
29
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
29
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.720.0_@wirecat+cli-base@0.126.1_commander@15.0.0_esbuild@0.28.2_typ_891204b7e0cfbcc49dd71e2850e8663f/node_modules/@wirecat/cli-core/dist/models/anthropic.js
|
|
30
30
|
var options = strictObject({
|
|
31
31
|
stop_sequences: optional(array(string())),
|
|
32
32
|
thinking: optional(strictObject({ type: picklist(["disabled", "adaptive"]) })),
|
|
@@ -3,49 +3,59 @@ const require = __bundleRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
PER_RUN,
|
|
5
5
|
envelope
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-SJYVKR54.js";
|
|
7
7
|
import {
|
|
8
8
|
mcpUrlOf
|
|
9
|
-
} from "./chunk-
|
|
10
|
-
import "./chunk-L6AFE73L.js";
|
|
9
|
+
} from "./chunk-XDT74W5P.js";
|
|
11
10
|
import {
|
|
12
|
-
answered,
|
|
13
|
-
failed,
|
|
14
|
-
registerCommands,
|
|
15
|
-
runCommandForAgent,
|
|
16
|
-
toolsFromCommands
|
|
17
|
-
} from "./chunk-O2UCU52O.js";
|
|
18
|
-
import {
|
|
19
|
-
agentJson,
|
|
20
11
|
skillResources
|
|
21
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-LOSOWTAZ.js";
|
|
22
13
|
import {
|
|
23
14
|
StdioServerTransport,
|
|
24
15
|
answeredWire,
|
|
25
16
|
serveStdio
|
|
26
|
-
} from "./chunk-
|
|
27
|
-
import "./chunk-
|
|
28
|
-
import "./chunk-
|
|
29
|
-
import "./chunk-
|
|
30
|
-
import
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
17
|
+
} from "./chunk-L72UALL5.js";
|
|
18
|
+
import "./chunk-7E6QSIRQ.js";
|
|
19
|
+
import "./chunk-UOPP6ORQ.js";
|
|
20
|
+
import "./chunk-YVO2YGML.js";
|
|
21
|
+
import {
|
|
22
|
+
runCommandForAgent,
|
|
23
|
+
toolsFromCommands
|
|
24
|
+
} from "./chunk-HQH4YPO5.js";
|
|
25
|
+
import "./chunk-7Z6NYSAN.js";
|
|
26
|
+
import "./chunk-JTFAG3BX.js";
|
|
34
27
|
import {
|
|
35
28
|
appInstructions
|
|
36
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-MPXKBF37.js";
|
|
30
|
+
import {
|
|
31
|
+
answered,
|
|
32
|
+
failed,
|
|
33
|
+
registerCommands
|
|
34
|
+
} from "./chunk-N4A6E2LL.js";
|
|
35
|
+
import {
|
|
36
|
+
agentJson
|
|
37
|
+
} from "./chunk-H34RBRS3.js";
|
|
38
|
+
import "./chunk-VY27K2SH.js";
|
|
39
|
+
import "./chunk-CUZISGWH.js";
|
|
40
|
+
import "./chunk-TWZF7VO6.js";
|
|
41
|
+
import "./chunk-WBWVBEHH.js";
|
|
42
|
+
import "./chunk-2YEDK2XV.js";
|
|
43
|
+
import "./chunk-KKXF6TSS.js";
|
|
44
|
+
import "./chunk-EKNP326Q.js";
|
|
45
|
+
import "./chunk-AYR6FIXN.js";
|
|
46
|
+
import "./chunk-7SBAHYZW.js";
|
|
37
47
|
import {
|
|
38
48
|
McpServer
|
|
39
|
-
} from "./chunk-
|
|
40
|
-
import "./chunk-
|
|
41
|
-
import "./chunk-
|
|
42
|
-
import "./chunk-
|
|
43
|
-
import "./chunk-
|
|
49
|
+
} from "./chunk-PL5P7UKW.js";
|
|
50
|
+
import "./chunk-ORFLQGWH.js";
|
|
51
|
+
import "./chunk-SJZ52MZE.js";
|
|
52
|
+
import "./chunk-CQ472K6W.js";
|
|
53
|
+
import "./chunk-UZLT6VSP.js";
|
|
44
54
|
import {
|
|
45
55
|
mcpHttpMarker
|
|
46
|
-
} from "./chunk-
|
|
47
|
-
import "./chunk-
|
|
48
|
-
import "./chunk-
|
|
56
|
+
} from "./chunk-QQT7WUR4.js";
|
|
57
|
+
import "./chunk-NJ2LJKNH.js";
|
|
58
|
+
import "./chunk-R23DRW2T.js";
|
|
49
59
|
import {
|
|
50
60
|
DEFAULT_OUTPUT_BYTES,
|
|
51
61
|
changesAuthorityAt,
|
|
@@ -56,54 +66,55 @@ import {
|
|
|
56
66
|
readOnlyLockOf,
|
|
57
67
|
readsOverMcpAt,
|
|
58
68
|
rootOf2 as rootOf
|
|
59
|
-
} from "./chunk-
|
|
60
|
-
import "./chunk-
|
|
61
|
-
import "./chunk-
|
|
62
|
-
import "./chunk-
|
|
63
|
-
import "./chunk-
|
|
64
|
-
import "./chunk-
|
|
65
|
-
import "./chunk-
|
|
66
|
-
import "./chunk-
|
|
67
|
-
import "./chunk-
|
|
68
|
-
import "./chunk-
|
|
69
|
-
import "./chunk-
|
|
70
|
-
import "./chunk-
|
|
71
|
-
import "./chunk-
|
|
72
|
-
import "./chunk-
|
|
73
|
-
import "./chunk-
|
|
74
|
-
import "./chunk-
|
|
75
|
-
import "./chunk-
|
|
76
|
-
import "./chunk-
|
|
77
|
-
import "./chunk-
|
|
78
|
-
import "./chunk-
|
|
79
|
-
import "./chunk-
|
|
80
|
-
import "./chunk-
|
|
81
|
-
import "./chunk-
|
|
82
|
-
import "./chunk-
|
|
83
|
-
import "./chunk-
|
|
84
|
-
import "./chunk-
|
|
85
|
-
import "./chunk-
|
|
86
|
-
import "./chunk-
|
|
87
|
-
import "./chunk-
|
|
69
|
+
} from "./chunk-VPBSZ4HQ.js";
|
|
70
|
+
import "./chunk-SBQ5MFHM.js";
|
|
71
|
+
import "./chunk-MYMBPQPQ.js";
|
|
72
|
+
import "./chunk-YSOGGUK3.js";
|
|
73
|
+
import "./chunk-UM6SDFB6.js";
|
|
74
|
+
import "./chunk-IEAPNTHT.js";
|
|
75
|
+
import "./chunk-Q2YVY7IR.js";
|
|
76
|
+
import "./chunk-TCDER3G7.js";
|
|
77
|
+
import "./chunk-I4QCJZW7.js";
|
|
78
|
+
import "./chunk-3NDMVXGS.js";
|
|
79
|
+
import "./chunk-ILUREFWJ.js";
|
|
80
|
+
import "./chunk-77FP6AWC.js";
|
|
81
|
+
import "./chunk-MMOEAH5G.js";
|
|
82
|
+
import "./chunk-XI75EKLG.js";
|
|
83
|
+
import "./chunk-7USADF2W.js";
|
|
84
|
+
import "./chunk-3YOZTGZ6.js";
|
|
85
|
+
import "./chunk-UT3ODJMI.js";
|
|
86
|
+
import "./chunk-3RP57VDS.js";
|
|
87
|
+
import "./chunk-VD7HD25M.js";
|
|
88
|
+
import "./chunk-V3ZWYMXT.js";
|
|
89
|
+
import "./chunk-KZDBO2FT.js";
|
|
90
|
+
import "./chunk-VEGNZPQU.js";
|
|
91
|
+
import "./chunk-PFZ7WG2B.js";
|
|
92
|
+
import "./chunk-OMH3WP7F.js";
|
|
93
|
+
import "./chunk-IYUWVMGP.js";
|
|
94
|
+
import "./chunk-EHULZEXQ.js";
|
|
95
|
+
import "./chunk-BYVDMPLX.js";
|
|
96
|
+
import "./chunk-5RXH35ZA.js";
|
|
97
|
+
import "./chunk-L2ZQDTDU.js";
|
|
98
|
+
import "./chunk-QHA33ZS6.js";
|
|
88
99
|
import "./chunk-D72URWJE.js";
|
|
89
|
-
import "./chunk-
|
|
90
|
-
import "./chunk-
|
|
91
|
-
import "./chunk-
|
|
92
|
-
import "./chunk-
|
|
93
|
-
import "./chunk-
|
|
100
|
+
import "./chunk-4EYPFFTN.js";
|
|
101
|
+
import "./chunk-KTLCQ7GC.js";
|
|
102
|
+
import "./chunk-GKP7CKW2.js";
|
|
103
|
+
import "./chunk-B4ITT55D.js";
|
|
104
|
+
import "./chunk-ELJGALVX.js";
|
|
94
105
|
import {
|
|
95
106
|
mcpErrorResult
|
|
96
|
-
} from "./chunk-
|
|
107
|
+
} from "./chunk-BKTLAXUK.js";
|
|
97
108
|
import "./chunk-Y5E2WNWB.js";
|
|
98
109
|
import {
|
|
99
110
|
CliError
|
|
100
|
-
} from "./chunk-
|
|
101
|
-
import "./chunk-
|
|
111
|
+
} from "./chunk-GCUFGDKE.js";
|
|
112
|
+
import "./chunk-5DPMNYQT.js";
|
|
102
113
|
import {
|
|
103
114
|
__name
|
|
104
115
|
} from "./chunk-ZVVMGPBJ.js";
|
|
105
116
|
|
|
106
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
117
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.720.0_@wirecat+cli-base@0.126.1_commander@15.0.0_esbuild@0.28.2_typ_891204b7e0cfbcc49dd71e2850e8663f/node_modules/@wirecat/cli-core/dist/mcp/app-server.js
|
|
107
118
|
var EXCLUDED = [["mcp"]];
|
|
108
119
|
var aliasesOf = /* @__PURE__ */ __name((root, path) => {
|
|
109
120
|
let at = root;
|
|
@@ -219,7 +230,7 @@ var serveAppOverStdio = /* @__PURE__ */ __name(async (command, context, options)
|
|
|
219
230
|
var serveAppOverHttp = /* @__PURE__ */ __name(async (command, context, options, http) => {
|
|
220
231
|
const { app } = options;
|
|
221
232
|
const { build } = createAppServer(command, context, options);
|
|
222
|
-
const { serveOverHttp } = await import("./serve-
|
|
233
|
+
const { serveOverHttp } = await import("./serve-VVG3TXYT.js");
|
|
223
234
|
const listening = await serveOverHttp(build, {
|
|
224
235
|
...http,
|
|
225
236
|
appName: app.command,
|
|
@@ -18,12 +18,12 @@ import {
|
|
|
18
18
|
jitCompatCheck,
|
|
19
19
|
refineSqliteCodecs,
|
|
20
20
|
sql
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-5DPMNYQT.js";
|
|
22
22
|
import {
|
|
23
23
|
__name
|
|
24
24
|
} from "./chunk-ZVVMGPBJ.js";
|
|
25
25
|
|
|
26
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
26
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.720.0_@wirecat+cli-base@0.126.1_commander@15.0.0_esbuild@0.28.2_typ_891204b7e0cfbcc49dd71e2850e8663f/node_modules/@wirecat/cli-core/dist/store/sqlite/drizzle/bun.js
|
|
27
27
|
import { Database } from "bun:sqlite";
|
|
28
28
|
var bunSQLiteCodecs = refineSqliteCodecs({
|
|
29
29
|
"integer:boolean": { normalize: booleanFromInteger },
|
|
@@ -3,21 +3,21 @@ const require = __bundleRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
loadVectorExtension,
|
|
5
5
|
vectorExtension
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-LYRICHEK.js";
|
|
7
7
|
import {
|
|
8
8
|
refuseOwnerStoreInTests
|
|
9
|
-
} from "./chunk-
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import "./chunk-
|
|
9
|
+
} from "./chunk-KTLCQ7GC.js";
|
|
10
|
+
import "./chunk-ELJGALVX.js";
|
|
11
|
+
import "./chunk-BKTLAXUK.js";
|
|
12
12
|
import {
|
|
13
13
|
importFrom
|
|
14
14
|
} from "./chunk-Y5E2WNWB.js";
|
|
15
|
-
import "./chunk-
|
|
15
|
+
import "./chunk-GCUFGDKE.js";
|
|
16
16
|
import {
|
|
17
17
|
__name
|
|
18
18
|
} from "./chunk-ZVVMGPBJ.js";
|
|
19
19
|
|
|
20
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
20
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.720.0_@wirecat+cli-base@0.126.1_commander@15.0.0_esbuild@0.28.2_typ_891204b7e0cfbcc49dd71e2850e8663f/node_modules/@wirecat/cli-core/dist/store/drivers/bun-sqlite.js
|
|
21
21
|
var customised = false;
|
|
22
22
|
var ownLibrary = /* @__PURE__ */ __name(async () => {
|
|
23
23
|
try {
|