@wirecat/cli-memo 0.131.45 → 0.131.47
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-ZBASDAVU.js → all-profiles-75EGCXK3.js} +5 -5
- package/dist/bundle/{anthropic-3ZS3RCUH.js → anthropic-PTAYBCPR.js} +3 -3
- package/dist/bundle/{app-server-PQF22PMD.js → app-server-YSUBXGGB.js} +41 -38
- package/dist/bundle/auto-GB35FRTV.js +86 -0
- package/dist/bundle/{bun-3CGVV3V2.js → bun-3AIG5ML4.js} +2 -2
- package/dist/bundle/{bun-sqlite-D6T3ESTG.js → bun-sqlite-5FCGI6EO.js} +2 -2
- package/dist/bundle/{chunk-CAPDRDQU.js → chunk-25RDNYKZ.js} +5 -5
- package/dist/bundle/{chunk-L45FSDH3.js → chunk-32QM6X5H.js} +1 -1
- package/dist/bundle/{chunk-NB267XRJ.js → chunk-3HPFTKDH.js} +4 -4
- package/dist/bundle/{chunk-UP2K5XUA.js → chunk-4LWX2WOB.js} +3 -3
- package/dist/bundle/{chunk-TVZEELSS.js → chunk-5N6HWFXN.js} +508 -338
- package/dist/bundle/{chunk-SK3TPK5Y.js → chunk-6IVHND3S.js} +4 -4
- package/dist/bundle/{chunk-75EEQB2R.js → chunk-6QNPOBR5.js} +11 -11
- package/dist/bundle/{chunk-75RJJQ2Q.js → chunk-6TKWJKPS.js} +10 -10
- package/dist/bundle/{chunk-CH37NCAP.js → chunk-BNIWLVWG.js} +3 -3
- package/dist/bundle/{chunk-IQ2MW47B.js → chunk-CODD5SXC.js} +27 -27
- package/dist/bundle/{chunk-HAPE26JK.js → chunk-DDADFHR7.js} +12 -12
- package/dist/bundle/{chunk-CGJFYMVZ.js → chunk-DMTLG2GD.js} +7 -7
- package/dist/bundle/{chunk-GOJZ3FQY.js → chunk-DS4DOK75.js} +22 -21
- package/dist/bundle/{chunk-PMUAUR5S.js → chunk-DWBTCOF2.js} +4 -4
- package/dist/bundle/{chunk-5IYS3BWO.js → chunk-EFQCDCLY.js} +56 -56
- package/dist/bundle/{chunk-IYJGFBNN.js → chunk-ELKK5M66.js} +5 -5
- package/dist/bundle/{chunk-YDNM5KYV.js → chunk-EVZI54B5.js} +4 -4
- package/dist/bundle/{chunk-GTPWWGQI.js → chunk-F4HMPMET.js} +7 -7
- package/dist/bundle/{chunk-2OYB4PWV.js → chunk-FSAMZHIM.js} +5 -5
- package/dist/bundle/{chunk-G3FRUKAD.js → chunk-G3YSCD77.js} +182 -158
- package/dist/bundle/{chunk-NTFEJ52I.js → chunk-G4W42RGE.js} +1 -1
- package/dist/bundle/{chunk-7EA6M6RA.js → chunk-GA3KFYEZ.js} +4 -4
- package/dist/bundle/{chunk-CXRCADXS.js → chunk-GOFPCOEI.js} +9 -9
- package/dist/bundle/{chunk-65MK55RS.js → chunk-GQLSVXS2.js} +20 -20
- package/dist/bundle/{chunk-YWTWDX4F.js → chunk-HCZV537M.js} +1 -1
- package/dist/bundle/{chunk-OMBFF6Z6.js → chunk-HVTW2M6T.js} +1 -1
- package/dist/bundle/{chunk-EJ2PEYQU.js → chunk-HYEYRFWX.js} +1 -1
- package/dist/bundle/{chunk-AOSSO4YI.js → chunk-I2RDACUF.js} +6 -6
- package/dist/bundle/{chunk-KE3CYUON.js → chunk-ILK5BCBB.js} +1 -1
- package/dist/bundle/{chunk-U4J7TAOW.js → chunk-IPLPMD6H.js} +1 -1
- package/dist/bundle/{chunk-7WJEQ36E.js → chunk-IPMBB6W5.js} +2 -2
- package/dist/bundle/{chunk-ZJXAYYLF.js → chunk-J324GKJM.js} +1 -1
- package/dist/bundle/{chunk-PXSGUVZP.js → chunk-KLBZJZD2.js} +637 -119
- package/dist/bundle/{chunk-FMMIPFTU.js → chunk-KWM7HLAI.js} +4 -4
- package/dist/bundle/{chunk-CRLYBXV5.js → chunk-LE7NROV6.js} +43 -36
- package/dist/bundle/{chunk-25MS26SH.js → chunk-MCMEBL3C.js} +23 -10
- package/dist/bundle/{chunk-FRT7URL7.js → chunk-MMJDQQFX.js} +483 -282
- package/dist/bundle/{chunk-TKFG75MJ.js → chunk-MSBRZ5QD.js} +2 -2
- package/dist/bundle/{chunk-IJBJ47GI.js → chunk-N5QQFDNV.js} +2 -2
- package/dist/bundle/{chunk-B4PZQYGP.js → chunk-N63KZFH4.js} +8 -8
- package/dist/bundle/{chunk-NBA3GJBR.js → chunk-OSCRP52P.js} +805 -347
- package/dist/bundle/{chunk-GBRK3WXY.js → chunk-PGVADNDD.js} +2 -2
- package/dist/bundle/{chunk-HXCSD2XV.js → chunk-R44PUK7G.js} +1 -1
- package/dist/bundle/{chunk-F2VTAFIT.js → chunk-SYTYLLYO.js} +1 -1
- package/dist/bundle/{chunk-MKVUBQEG.js → chunk-U35N3EC7.js} +1 -1
- package/dist/bundle/{chunk-5ZHM6SZW.js → chunk-U75ANK5K.js} +1 -1
- package/dist/bundle/{chunk-7G7N3IUO.js → chunk-UE4GMPBY.js} +4 -2
- package/dist/bundle/{chunk-OTOKJAYR.js → chunk-UFVGAFID.js} +3 -3
- package/dist/bundle/{chunk-OT4CLMVF.js → chunk-V3B5COFP.js} +3 -3
- package/dist/bundle/{chunk-6NQTGFAL.js → chunk-V6OYLCCM.js} +2 -2
- package/dist/bundle/{chunk-IAPKZSC5.js → chunk-W2JVP7GK.js} +1 -1
- package/dist/bundle/{chunk-LL3Z6KA3.js → chunk-W3T45MMN.js} +5 -5
- package/dist/bundle/{chunk-EJ4X6XH2.js → chunk-XRRPQCTS.js} +1 -1
- package/dist/bundle/{chunk-G6TRTDHB.js → chunk-Y4ZXDJQF.js} +2 -2
- package/dist/bundle/{chunk-WGX73SAA.js → chunk-YMK35KVV.js} +2 -2
- package/dist/bundle/{chunk-7G63XPDR.js → chunk-ZKH6LC5P.js} +7 -7
- package/dist/bundle/{chunk-C6GSSMDG.js → chunk-ZLIARJU4.js} +1 -1
- package/dist/bundle/{command-contract-K3GJRRXT.js → command-contract-YYILWWYQ.js} +11 -11
- package/dist/bundle/{decode-TTMBMSGQ.js → decode-F2A2BLIA.js} +2 -2
- package/dist/bundle/{echarts-7XN2RLJT.js → echarts-JL55HJCM.js} +2 -2
- package/dist/bundle/{embed-UKTHDQH5.js → embed-74KVORNN.js} +3 -3
- package/dist/bundle/{embedder-SCKLAVKW.js → embedder-GACNPCZN.js} +6 -6
- package/dist/bundle/{entry-VQRYB2HE.js → entry-7FI2H4RQ.js} +4 -4
- package/dist/bundle/failure-AHPPXHAW.js +66 -0
- package/dist/bundle/{first-run-RL6ZRY3Y.js → first-run-D4VBIJ7H.js} +5 -5
- package/dist/bundle/{first-screen-CRURWNKP.js → first-screen-D7Q2U7VP.js} +12 -12
- package/dist/bundle/{instructions-KGU67SPR.js → instructions-QNPIVGKX.js} +1 -1
- package/dist/bundle/{mcp-CSN7BDNG.js → mcp-AFXHH33V.js} +35 -35
- package/dist/bundle/memo.js +6 -6
- package/dist/bundle/{node-S5LQLVMO.js → node-SPFML2D5.js} +2 -2
- package/dist/bundle/{node-sqlite-PFCIEDPX.js → node-sqlite-T3KILRCP.js} +3 -3
- package/dist/bundle/{oauth-KJOGYDPV.js → oauth-ZOGSHZF3.js} +4 -4
- package/dist/bundle/{open-TPBENKAD.js → open-XXFVCGCA.js} +2 -2
- package/dist/bundle/{openai-UOYTHO32.js → openai-JRHZLFKD.js} +7 -7
- package/dist/bundle/{process-JWKE7GPV.js → process-OGYYVVLG.js} +1 -1
- package/dist/bundle/{program-RJ6X4DXE.js → program-EFCQACPD.js} +138 -61
- package/dist/bundle/{prompt-5HQ3Z7ZS.js → prompt-53D5WVD3.js} +2 -2
- package/dist/bundle/{recognize-5ILXEPII.js → recognize-7GYZKJCD.js} +1 -1
- package/dist/bundle/{remote-WIN3HJII.js → remote-V5GUFZCG.js} +4 -4
- package/dist/bundle/{rerank-JKHDSEBI.js → rerank-FUNVBYFI.js} +4 -4
- package/dist/bundle/{serve-VMHFRDYH.js → serve-ZLUYFAXC.js} +6 -6
- package/dist/bundle/server-4OJC7ZWM.js +61 -0
- package/dist/bundle/server-CGUUZBLB.js +48 -0
- package/dist/bundle/{server-TKWVP4OJ.js → server-HJRMD3XD.js} +50 -50
- package/dist/bundle/{state-OWOLD7JI.js → state-4P7H6KBM.js} +3 -3
- package/dist/bundle/{store-6GFFSNRY.js → store-NILJK24C.js} +11 -9
- package/dist/bundle/store-maintenance-command-VP7CIBSS.js +48 -0
- package/dist/bundle/update-NPK4DT2E.js +69 -0
- package/dist/contract-overrides/doctor.d.ts.map +1 -1
- package/dist/contract-overrides/doctor.js +6 -0
- package/dist/contract-overrides/doctor.js.map +1 -1
- package/dist/doctor/command.d.ts +23 -2
- package/dist/doctor/command.d.ts.map +1 -1
- package/dist/doctor/command.js +13 -5
- package/dist/doctor/command.js.map +1 -1
- package/dist/examples.d.ts.map +1 -1
- package/dist/examples.js +2 -0
- package/dist/examples.js.map +1 -1
- package/dist/schedule/command.d.ts.map +1 -1
- package/dist/schedule/command.js +2 -0
- package/dist/schedule/command.js.map +1 -1
- package/dist/schedule/mail-triage-input.d.ts +24 -0
- package/dist/schedule/mail-triage-input.d.ts.map +1 -0
- package/dist/schedule/mail-triage-input.js +53 -0
- package/dist/schedule/mail-triage-input.js.map +1 -0
- package/dist/store/info-command.d.ts.map +1 -1
- package/dist/store/info-command.js +23 -1
- package/dist/store/info-command.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +3 -3
- package/skills/mail-triage/SKILL.md +25 -27
- package/dist/bundle/auto-NW7IP4ST.js +0 -86
- package/dist/bundle/failure-JHW2U2OF.js +0 -66
- package/dist/bundle/server-IBJ23GCB.js +0 -48
- package/dist/bundle/server-SNWCFMJN.js +0 -61
- package/dist/bundle/store-maintenance-command-7DMPWFT4.js +0 -48
- package/dist/bundle/update-KSB7VYAW.js +0 -69
- /package/dist/bundle/{chunk-DL5LDAOS.js → chunk-JPGEFBRW.js} +0 -0
package/dist/bin/memo.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.131.
|
|
12
|
+
process.stdout.write("0.131.47\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/all-profiles-75EGCXK3.js","../bundle/anthropic-PTAYBCPR.js","../bundle/app-server-YSUBXGGB.js","../bundle/auto-GB35FRTV.js","../bundle/bun-3AIG5ML4.js","../bundle/bun-sqlite-5FCGI6EO.js","../bundle/command-contract-YYILWWYQ.js","../bundle/decode-F2A2BLIA.js","../bundle/dispatch-MLRETSNQ.js","../bundle/dist-GZQWFMCL.js","../bundle/echarts-JL55HJCM.js","../bundle/embed-74KVORNN.js","../bundle/embedder-GACNPCZN.js","../bundle/entry-7FI2H4RQ.js","../bundle/failure-AHPPXHAW.js","../bundle/failure-UJBGB2GP.js","../bundle/first-run-D4VBIJ7H.js","../bundle/first-screen-D7Q2U7VP.js","../bundle/instructions-QNPIVGKX.js","../bundle/mcp-AFXHH33V.js","../bundle/mcp-YMXA6IH6.js","../bundle/node-P4E63KXA.js","../bundle/node-SPFML2D5.js","../bundle/node-TLZSIHIJ.js","../bundle/node-sqlite-T3KILRCP.js","../bundle/oauth-ZOGSHZF3.js","../bundle/open-XXFVCGCA.js","../bundle/openai-JRHZLFKD.js","../bundle/process-OGYYVVLG.js","../bundle/program-EFCQACPD.js","../bundle/prompt-53D5WVD3.js","../bundle/recognize-7GYZKJCD.js","../bundle/remote-V5GUFZCG.js","../bundle/rerank-FUNVBYFI.js","../bundle/serve-ZLUYFAXC.js","../bundle/server-4OJC7ZWM.js","../bundle/server-CGUUZBLB.js","../bundle/server-HJRMD3XD.js","../bundle/state-4P7H6KBM.js","../bundle/stdio-FRV4R7LJ.js","../bundle/store-NILJK24C.js","../bundle/store-maintenance-command-VP7CIBSS.js","../bundle/update-NPK4DT2E.js"]
|
|
32
32
|
if (((words) => words
|
|
33
33
|
.filter((word) => !word.startsWith("-"))
|
|
34
34
|
.slice(0, 2)
|
|
@@ -6,14 +6,14 @@ import {
|
|
|
6
6
|
serveAllProfilesOverHttp,
|
|
7
7
|
serveAllProfilesOverStdio,
|
|
8
8
|
withProfile
|
|
9
|
-
} from "./chunk-
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import "./chunk-
|
|
9
|
+
} from "./chunk-KWM7HLAI.js";
|
|
10
|
+
import "./chunk-U75ANK5K.js";
|
|
11
|
+
import "./chunk-YMK35KVV.js";
|
|
12
12
|
import "./chunk-MM5NVP7F.js";
|
|
13
13
|
import "./chunk-3X4JM3ZR.js";
|
|
14
14
|
import "./chunk-H3ZN4YLB.js";
|
|
15
|
-
import "./chunk-
|
|
16
|
-
import "./chunk-
|
|
15
|
+
import "./chunk-ZKH6LC5P.js";
|
|
16
|
+
import "./chunk-XRRPQCTS.js";
|
|
17
17
|
import "./chunk-AT5Y62SD.js";
|
|
18
18
|
import "./chunk-2R2Z2VWL.js";
|
|
19
19
|
import "./chunk-SN63VOE6.js";
|
|
@@ -2,11 +2,11 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
checkedOptions
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-32QM6X5H.js";
|
|
6
6
|
import {
|
|
7
7
|
messagesFor,
|
|
8
8
|
systemFor
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-U35N3EC7.js";
|
|
10
10
|
import {
|
|
11
11
|
Anthropic
|
|
12
12
|
} from "./chunk-ADLS6FVG.js";
|
|
@@ -23,7 +23,7 @@ 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.599.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_9abdd607bcc42461f37eac6c77838a67/node_modules/@wirecat/cli-core/dist/models/anthropic.js
|
|
27
27
|
var options = strictObject({
|
|
28
28
|
stop_sequences: optional(array(string()))
|
|
29
29
|
});
|
|
@@ -3,29 +3,29 @@ const require = __bundleRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
PER_RUN,
|
|
5
5
|
envelope
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-CODD5SXC.js";
|
|
7
7
|
import {
|
|
8
8
|
answered,
|
|
9
9
|
failed,
|
|
10
10
|
registerCommands,
|
|
11
11
|
runCommandForAgent,
|
|
12
12
|
toolsFromCommands
|
|
13
|
-
} from "./chunk-
|
|
14
|
-
import "./chunk-
|
|
13
|
+
} from "./chunk-6QNPOBR5.js";
|
|
14
|
+
import "./chunk-DS4DOK75.js";
|
|
15
15
|
import {
|
|
16
16
|
mcpUrlOf
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-J324GKJM.js";
|
|
18
18
|
import {
|
|
19
19
|
agentJson,
|
|
20
20
|
skillResource
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-MCMEBL3C.js";
|
|
22
22
|
import {
|
|
23
23
|
appInstructions
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-HYEYRFWX.js";
|
|
25
25
|
import {
|
|
26
26
|
answeredWire
|
|
27
|
-
} from "./chunk-
|
|
28
|
-
import "./chunk-
|
|
27
|
+
} from "./chunk-U75ANK5K.js";
|
|
28
|
+
import "./chunk-YMK35KVV.js";
|
|
29
29
|
import {
|
|
30
30
|
StdioServerTransport,
|
|
31
31
|
serveStdio
|
|
@@ -34,10 +34,10 @@ import "./chunk-3X4JM3ZR.js";
|
|
|
34
34
|
import {
|
|
35
35
|
McpServer
|
|
36
36
|
} from "./chunk-H3ZN4YLB.js";
|
|
37
|
-
import "./chunk-
|
|
38
|
-
import "./chunk-
|
|
39
|
-
import "./chunk-
|
|
40
|
-
import "./chunk-
|
|
37
|
+
import "./chunk-GQLSVXS2.js";
|
|
38
|
+
import "./chunk-5N6HWFXN.js";
|
|
39
|
+
import "./chunk-DDADFHR7.js";
|
|
40
|
+
import "./chunk-IPMBB6W5.js";
|
|
41
41
|
import {
|
|
42
42
|
DEFAULT_OUTPUT_BYTES,
|
|
43
43
|
changesAuthorityAt,
|
|
@@ -46,35 +46,35 @@ import {
|
|
|
46
46
|
judgedTargets,
|
|
47
47
|
readsOverMcpAt,
|
|
48
48
|
rootOf2 as rootOf
|
|
49
|
-
} from "./chunk-
|
|
50
|
-
import "./chunk-
|
|
49
|
+
} from "./chunk-G3YSCD77.js";
|
|
50
|
+
import "./chunk-ZKH6LC5P.js";
|
|
51
51
|
import "./chunk-JY34MQW4.js";
|
|
52
52
|
import "./chunk-LER7G4XY.js";
|
|
53
|
-
import "./chunk-
|
|
53
|
+
import "./chunk-4LWX2WOB.js";
|
|
54
54
|
import {
|
|
55
55
|
readOnlyLockOf
|
|
56
|
-
} from "./chunk-
|
|
56
|
+
} from "./chunk-SYTYLLYO.js";
|
|
57
57
|
import {
|
|
58
58
|
mcpHttpMarker
|
|
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-
|
|
59
|
+
} from "./chunk-3HPFTKDH.js";
|
|
60
|
+
import "./chunk-MSBRZ5QD.js";
|
|
61
|
+
import "./chunk-W2JVP7GK.js";
|
|
62
|
+
import "./chunk-OSCRP52P.js";
|
|
63
|
+
import "./chunk-EFQCDCLY.js";
|
|
64
|
+
import "./chunk-XRRPQCTS.js";
|
|
65
|
+
import "./chunk-DMTLG2GD.js";
|
|
66
|
+
import "./chunk-EVZI54B5.js";
|
|
67
|
+
import "./chunk-HCZV537M.js";
|
|
68
|
+
import "./chunk-U35N3EC7.js";
|
|
69
|
+
import "./chunk-N5QQFDNV.js";
|
|
70
|
+
import "./chunk-ELKK5M66.js";
|
|
71
|
+
import "./chunk-UFVGAFID.js";
|
|
72
|
+
import "./chunk-IPLPMD6H.js";
|
|
73
73
|
import "./chunk-CID4MNRQ.js";
|
|
74
74
|
import "./chunk-AT5Y62SD.js";
|
|
75
75
|
import "./chunk-D72URWJE.js";
|
|
76
|
-
import "./chunk-
|
|
77
|
-
import "./chunk-
|
|
76
|
+
import "./chunk-25RDNYKZ.js";
|
|
77
|
+
import "./chunk-UE4GMPBY.js";
|
|
78
78
|
import "./chunk-2R2Z2VWL.js";
|
|
79
79
|
import {
|
|
80
80
|
mcpErrorResult
|
|
@@ -83,12 +83,12 @@ import "./chunk-Y5E2WNWB.js";
|
|
|
83
83
|
import {
|
|
84
84
|
CliError
|
|
85
85
|
} from "./chunk-RZ54DSVU.js";
|
|
86
|
-
import "./chunk-
|
|
86
|
+
import "./chunk-ZLIARJU4.js";
|
|
87
87
|
import {
|
|
88
88
|
__name
|
|
89
89
|
} from "./chunk-ZVVMGPBJ.js";
|
|
90
90
|
|
|
91
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
91
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.599.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_9abdd607bcc42461f37eac6c77838a67/node_modules/@wirecat/cli-core/dist/mcp/app-server.js
|
|
92
92
|
var EXCLUDED = [["mcp"]];
|
|
93
93
|
var createAppServer = /* @__PURE__ */ __name((command, context, options) => {
|
|
94
94
|
const { app } = options;
|
|
@@ -188,9 +188,12 @@ var serveAppOverStdio = /* @__PURE__ */ __name(async (command, context, options)
|
|
|
188
188
|
});
|
|
189
189
|
const ended = await new Promise((resolve) => {
|
|
190
190
|
wire.ended.then(() => resolve("input"));
|
|
191
|
-
if (own)
|
|
192
|
-
signal?.
|
|
193
|
-
|
|
191
|
+
if (own) {
|
|
192
|
+
if (signal?.aborted)
|
|
193
|
+
resolve("stopped");
|
|
194
|
+
else
|
|
195
|
+
signal?.addEventListener("abort", () => resolve("stopped"), { once: true });
|
|
196
|
+
} else {
|
|
194
197
|
process.once("SIGINT", () => resolve("stopped"));
|
|
195
198
|
process.once("SIGTERM", () => resolve("stopped"));
|
|
196
199
|
}
|
|
@@ -203,7 +206,7 @@ var serveAppOverStdio = /* @__PURE__ */ __name(async (command, context, options)
|
|
|
203
206
|
var serveAppOverHttp = /* @__PURE__ */ __name(async (command, context, options, http) => {
|
|
204
207
|
const { app } = options;
|
|
205
208
|
const { build } = createAppServer(command, context, options);
|
|
206
|
-
const { serveOverHttp } = await import("./serve-
|
|
209
|
+
const { serveOverHttp } = await import("./serve-ZLUYFAXC.js");
|
|
207
210
|
const listening = await serveOverHttp(build, {
|
|
208
211
|
...http,
|
|
209
212
|
appName: app.command,
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
import { createRequire as __bundleRequire } from "node:module";
|
|
2
|
+
const require = __bundleRequire(import.meta.url);
|
|
3
|
+
import {
|
|
4
|
+
DEFAULT_EVERY,
|
|
5
|
+
PLACE_VARIABLES,
|
|
6
|
+
applyAuto,
|
|
7
|
+
autoCommand,
|
|
8
|
+
autoNotice,
|
|
9
|
+
autoState,
|
|
10
|
+
followInstall,
|
|
11
|
+
globalRoots,
|
|
12
|
+
interval,
|
|
13
|
+
lastAutoRun,
|
|
14
|
+
placesOf,
|
|
15
|
+
recordAutoRun,
|
|
16
|
+
serviceUnit,
|
|
17
|
+
timerUnit
|
|
18
|
+
} from "./chunk-GA3KFYEZ.js";
|
|
19
|
+
import "./chunk-DWBTCOF2.js";
|
|
20
|
+
import "./chunk-LE7NROV6.js";
|
|
21
|
+
import "./chunk-QP3KNC5D.js";
|
|
22
|
+
import "./chunk-MMJDQQFX.js";
|
|
23
|
+
import "./chunk-R44PUK7G.js";
|
|
24
|
+
import "./chunk-G4W42RGE.js";
|
|
25
|
+
import "./chunk-DS4DOK75.js";
|
|
26
|
+
import "./chunk-J324GKJM.js";
|
|
27
|
+
import "./chunk-MCMEBL3C.js";
|
|
28
|
+
import "./chunk-KLBZJZD2.js";
|
|
29
|
+
import "./chunk-GQLSVXS2.js";
|
|
30
|
+
import "./chunk-5N6HWFXN.js";
|
|
31
|
+
import "./chunk-DDADFHR7.js";
|
|
32
|
+
import "./chunk-I2RDACUF.js";
|
|
33
|
+
import "./chunk-HTQTIKWP.js";
|
|
34
|
+
import "./chunk-IPMBB6W5.js";
|
|
35
|
+
import "./chunk-G3YSCD77.js";
|
|
36
|
+
import "./chunk-ZKH6LC5P.js";
|
|
37
|
+
import "./chunk-6TKWJKPS.js";
|
|
38
|
+
import "./chunk-JY34MQW4.js";
|
|
39
|
+
import "./chunk-LER7G4XY.js";
|
|
40
|
+
import "./chunk-4LWX2WOB.js";
|
|
41
|
+
import "./chunk-GOFPCOEI.js";
|
|
42
|
+
import "./chunk-SYTYLLYO.js";
|
|
43
|
+
import "./chunk-3HPFTKDH.js";
|
|
44
|
+
import "./chunk-MSBRZ5QD.js";
|
|
45
|
+
import "./chunk-W2JVP7GK.js";
|
|
46
|
+
import "./chunk-OSCRP52P.js";
|
|
47
|
+
import "./chunk-EFQCDCLY.js";
|
|
48
|
+
import "./chunk-XRRPQCTS.js";
|
|
49
|
+
import "./chunk-DMTLG2GD.js";
|
|
50
|
+
import "./chunk-EVZI54B5.js";
|
|
51
|
+
import "./chunk-V6OYLCCM.js";
|
|
52
|
+
import "./chunk-HCZV537M.js";
|
|
53
|
+
import "./chunk-32QM6X5H.js";
|
|
54
|
+
import "./chunk-U35N3EC7.js";
|
|
55
|
+
import "./chunk-N5QQFDNV.js";
|
|
56
|
+
import "./chunk-ELKK5M66.js";
|
|
57
|
+
import "./chunk-UFVGAFID.js";
|
|
58
|
+
import "./chunk-IPLPMD6H.js";
|
|
59
|
+
import "./chunk-HVTW2M6T.js";
|
|
60
|
+
import "./chunk-CID4MNRQ.js";
|
|
61
|
+
import "./chunk-AT5Y62SD.js";
|
|
62
|
+
import "./chunk-D72URWJE.js";
|
|
63
|
+
import "./chunk-25RDNYKZ.js";
|
|
64
|
+
import "./chunk-UE4GMPBY.js";
|
|
65
|
+
import "./chunk-2R2Z2VWL.js";
|
|
66
|
+
import "./chunk-SN63VOE6.js";
|
|
67
|
+
import "./chunk-Y5E2WNWB.js";
|
|
68
|
+
import "./chunk-RZ54DSVU.js";
|
|
69
|
+
import "./chunk-ZLIARJU4.js";
|
|
70
|
+
import "./chunk-ZVVMGPBJ.js";
|
|
71
|
+
export {
|
|
72
|
+
DEFAULT_EVERY,
|
|
73
|
+
PLACE_VARIABLES,
|
|
74
|
+
applyAuto,
|
|
75
|
+
autoCommand,
|
|
76
|
+
autoNotice,
|
|
77
|
+
autoState,
|
|
78
|
+
followInstall,
|
|
79
|
+
globalRoots,
|
|
80
|
+
interval,
|
|
81
|
+
lastAutoRun,
|
|
82
|
+
placesOf,
|
|
83
|
+
recordAutoRun,
|
|
84
|
+
serviceUnit,
|
|
85
|
+
timerUnit
|
|
86
|
+
};
|
|
@@ -18,12 +18,12 @@ import {
|
|
|
18
18
|
jitCompatCheck,
|
|
19
19
|
refineSqliteCodecs,
|
|
20
20
|
sql
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-ZLIARJU4.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.599.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_9abdd607bcc42461f37eac6c77838a67/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,7 +3,7 @@ const require = __bundleRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
loadVectorExtension,
|
|
5
5
|
vectorExtension
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-ILK5BCBB.js";
|
|
7
7
|
import "./chunk-2R2Z2VWL.js";
|
|
8
8
|
import "./chunk-SN63VOE6.js";
|
|
9
9
|
import {
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
__name
|
|
15
15
|
} from "./chunk-ZVVMGPBJ.js";
|
|
16
16
|
|
|
17
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
17
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.599.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_9abdd607bcc42461f37eac6c77838a67/node_modules/@wirecat/cli-core/dist/store/drivers/bun-sqlite.js
|
|
18
18
|
var customised = false;
|
|
19
19
|
var ownLibrary = /* @__PURE__ */ __name(async () => {
|
|
20
20
|
try {
|
|
@@ -2,7 +2,7 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
PRAGMAS
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-UE4GMPBY.js";
|
|
6
6
|
import {
|
|
7
7
|
CliError
|
|
8
8
|
} from "./chunk-RZ54DSVU.js";
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
__name
|
|
11
11
|
} from "./chunk-ZVVMGPBJ.js";
|
|
12
12
|
|
|
13
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
13
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.599.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_9abdd607bcc42461f37eac6c77838a67/node_modules/@wirecat/cli-core/dist/store/sqlite-warning.js
|
|
14
14
|
var SQLITE_WARNING = "SQLite is an experimental feature";
|
|
15
15
|
var quieted = /* @__PURE__ */ new WeakSet();
|
|
16
16
|
var quietSqliteWarning = /* @__PURE__ */ __name((host = process) => {
|
|
@@ -31,7 +31,7 @@ var isSqliteWarning = /* @__PURE__ */ __name((warning, options) => {
|
|
|
31
31
|
return name === "ExperimentalWarning" && message.startsWith(SQLITE_WARNING);
|
|
32
32
|
}, "isSqliteWarning");
|
|
33
33
|
|
|
34
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
34
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.599.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_9abdd607bcc42461f37eac6c77838a67/node_modules/@wirecat/cli-core/dist/store/open.js
|
|
35
35
|
var openCache = /* @__PURE__ */ __name(async (path) => {
|
|
36
36
|
const database = await openFile(path);
|
|
37
37
|
try {
|
|
@@ -44,12 +44,12 @@ var openCache = /* @__PURE__ */ __name(async (path) => {
|
|
|
44
44
|
}, "openCache");
|
|
45
45
|
var openFile = /* @__PURE__ */ __name((path) => "Bun" in globalThis ? openUnderBun(path) : openUnderNode(path), "openFile");
|
|
46
46
|
var openUnderBun = /* @__PURE__ */ __name(async (path) => {
|
|
47
|
-
const { openWithBunSqlite } = await import("./bun-sqlite-
|
|
47
|
+
const { openWithBunSqlite } = await import("./bun-sqlite-5FCGI6EO.js");
|
|
48
48
|
return await openWithBunSqlite(path);
|
|
49
49
|
}, "openUnderBun");
|
|
50
50
|
var openUnderNode = /* @__PURE__ */ __name(async (path) => {
|
|
51
51
|
quietSqliteWarning();
|
|
52
|
-
const { openWithNodeSqlite } = await import("./node-sqlite-
|
|
52
|
+
const { openWithNodeSqlite } = await import("./node-sqlite-T3KILRCP.js");
|
|
53
53
|
return openWithNodeSqlite(path);
|
|
54
54
|
}, "openUnderNode");
|
|
55
55
|
var runtime = /* @__PURE__ */ __name(() => {
|
|
@@ -17,7 +17,7 @@ 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.599.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_9abdd607bcc42461f37eac6c77838a67/node_modules/@wirecat/cli-core/dist/models/options.js
|
|
21
21
|
var checkedOptions = /* @__PURE__ */ __name((provider, schema, options) => {
|
|
22
22
|
const parsed = safeParse(schema, options);
|
|
23
23
|
if (!parsed.success) {
|
|
@@ -5,15 +5,15 @@ import {
|
|
|
5
5
|
readLock,
|
|
6
6
|
releaseLock,
|
|
7
7
|
takeLock
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-MSBRZ5QD.js";
|
|
9
9
|
import {
|
|
10
10
|
__name
|
|
11
11
|
} from "./chunk-ZVVMGPBJ.js";
|
|
12
12
|
|
|
13
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
13
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.599.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_9abdd607bcc42461f37eac6c77838a67/node_modules/@wirecat/cli-core/dist/mcp/http/state.js
|
|
14
14
|
import { existsSync as existsSync2, readFileSync as readFileSync2 } from "node:fs";
|
|
15
15
|
|
|
16
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
16
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.599.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_9abdd607bcc42461f37eac6c77838a67/node_modules/@wirecat/cli-core/dist/mcp/http/activity.js
|
|
17
17
|
import { randomBytes } from "node:crypto";
|
|
18
18
|
import { chmodSync, existsSync, mkdirSync, readFileSync, renameSync, writeFileSync } from "node:fs";
|
|
19
19
|
import { dirname } from "node:path";
|
|
@@ -86,7 +86,7 @@ var activityRecorder = /* @__PURE__ */ __name((path, now = Date.now) => {
|
|
|
86
86
|
};
|
|
87
87
|
}, "activityRecorder");
|
|
88
88
|
|
|
89
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
89
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.599.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_9abdd607bcc42461f37eac6c77838a67/node_modules/@wirecat/cli-core/dist/mcp/http/state.js
|
|
90
90
|
var ACCESS_SECONDS = 60 * 60;
|
|
91
91
|
var REFRESH_SECONDS = 30 * 24 * 60 * 60;
|
|
92
92
|
var readStored = /* @__PURE__ */ __name((path) => existsSync2(path) ? JSON.parse(readFileSync2(path, "utf8")) : { clients: [], tokens: [] }, "readStored");
|
|
@@ -4,10 +4,10 @@ import {
|
|
|
4
4
|
readSharedSection,
|
|
5
5
|
sharedConfigPath,
|
|
6
6
|
writeSharedSection
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-EVZI54B5.js";
|
|
8
8
|
import {
|
|
9
9
|
storePath
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-IPLPMD6H.js";
|
|
11
11
|
import {
|
|
12
12
|
CliError
|
|
13
13
|
} from "./chunk-RZ54DSVU.js";
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
__name
|
|
16
16
|
} from "./chunk-ZVVMGPBJ.js";
|
|
17
17
|
|
|
18
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
18
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.599.0_@wirecat+cli-base@0.78.0_commander@15.0.0_esbuild@0.28.2_type_9abdd607bcc42461f37eac6c77838a67/node_modules/@wirecat/cli-core/dist/cli/setup-answers.js
|
|
19
19
|
var PERMISSION_ANSWERS = ["readonly", "allow"];
|
|
20
20
|
var QUESTIONS = ["languages", "tools", "permissions"];
|
|
21
21
|
var SECTION = "setup";
|