@wirecat/cli-memo 0.131.51 → 0.131.52
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-3R3VE3W2.js → all-profiles-ZFVBLT2D.js} +5 -5
- package/dist/bundle/{anthropic-QVYJRACM.js → anthropic-UG2YHOT7.js} +3 -3
- package/dist/bundle/{app-server-T3D2PIGZ.js → app-server-AQYA4TB6.js} +35 -35
- package/dist/bundle/auto-2AY6K6DI.js +86 -0
- package/dist/bundle/{bun-DTDD2OHK.js → bun-QJUFWKEZ.js} +2 -2
- package/dist/bundle/{bun-sqlite-DWICJAH3.js → bun-sqlite-GWVRHYF4.js} +2 -2
- package/dist/bundle/{chunk-SXVPRYEF.js → chunk-2CBOPOC7.js} +15 -12
- package/dist/bundle/{chunk-ECLBZGWI.js → chunk-2GEV2TXW.js} +3 -3
- package/dist/bundle/{chunk-PX2B5ZRL.js → chunk-3O46NA2H.js} +102 -60
- package/dist/bundle/{chunk-6MEVHKIO.js → chunk-4ISZPK6D.js} +1 -1
- package/dist/bundle/{chunk-JBSMBHTM.js → chunk-55GFDV24.js} +5 -5
- package/dist/bundle/{chunk-QIFK3EZM.js → chunk-5WT6SEXS.js} +25 -9
- package/dist/bundle/{chunk-4MWP6Z3W.js → chunk-65576OCE.js} +1 -1
- package/dist/bundle/{chunk-5ZGOT57S.js → chunk-6BVWU2UM.js} +2 -2
- package/dist/bundle/{chunk-REROHDUR.js → chunk-6GF4TIVM.js} +1 -1
- package/dist/bundle/{chunk-RL2DSQCD.js → chunk-6PQIXQFD.js} +8 -8
- package/dist/bundle/{chunk-PWYCF76F.js → chunk-6ZQK3L35.js} +2 -2
- package/dist/bundle/{chunk-E3WIMCV5.js → chunk-7SVHEGRO.js} +1 -1
- package/dist/bundle/{chunk-XN5YDZY7.js → chunk-A36ASW3I.js} +1 -1
- package/dist/bundle/{chunk-ZC2LNXGO.js → chunk-A7DXLOMS.js} +1 -1
- package/dist/bundle/{chunk-6O37NSG6.js → chunk-AGOUP5AH.js} +4 -4
- package/dist/bundle/{chunk-OBVKXHOH.js → chunk-AU5GAMGM.js} +413 -357
- package/dist/bundle/{chunk-H65NWA3X.js → chunk-EEEZGK2J.js} +1 -1
- package/dist/bundle/{chunk-O5Z74SBZ.js → chunk-EKQNL6VJ.js} +23 -21
- package/dist/bundle/{chunk-7C3MP5LH.js → chunk-EQUPZVV6.js} +5 -5
- package/dist/bundle/{chunk-LYUVULFK.js → chunk-ERZBEQAY.js} +267 -259
- package/dist/bundle/{chunk-HRLQQLVD.js → chunk-ETYAJPIT.js} +20 -20
- package/dist/bundle/{chunk-GSCGRBEQ.js → chunk-FWCFEJWD.js} +173 -153
- package/dist/bundle/{chunk-E7TMOUWZ.js → chunk-G4Z4WSIG.js} +1 -1
- package/dist/bundle/{chunk-56BBTOS2.js → chunk-G52Y3KOO.js} +1 -1
- package/dist/bundle/{chunk-GBWOMPZ7.js → chunk-G7K4J3NS.js} +3 -3
- package/dist/bundle/{chunk-ROP27ZJU.js → chunk-GJWNHWG7.js} +31 -31
- package/dist/bundle/{chunk-4A6JOJLR.js → chunk-I4LXP4HQ.js} +4 -4
- package/dist/bundle/{chunk-XGNNI3S3.js → chunk-IALGFO44.js} +2 -2
- package/dist/bundle/{chunk-MVV32ZTO.js → chunk-IKG2OPHU.js} +7 -15
- package/dist/bundle/{chunk-JCNBJ3FN.js → chunk-KGPD3OCD.js} +170 -57
- package/dist/bundle/{chunk-PNNM72BO.js → chunk-LUHMRW3P.js} +7 -4
- package/dist/bundle/{chunk-YPLKNKAD.js → chunk-LX65W7IK.js} +4 -4
- package/dist/bundle/{chunk-OJFRMK2W.js → chunk-M64NVDB4.js} +3 -3
- package/dist/bundle/{chunk-5JY464PN.js → chunk-MICF3K6S.js} +12 -12
- package/dist/bundle/{chunk-AEVTXHTY.js → chunk-N5J6GT7C.js} +4 -4
- package/dist/bundle/{chunk-4RHIJMRX.js → chunk-NIUWQP7F.js} +30 -28
- package/dist/bundle/{chunk-O5UP2KZL.js → chunk-NNUP36UQ.js} +1 -1
- package/dist/bundle/{chunk-UDAATSWZ.js → chunk-NOEXRGYH.js} +10 -10
- package/dist/bundle/{chunk-CZOBBAXM.js → chunk-NUQ3N3V3.js} +7 -7
- package/dist/bundle/{chunk-ETD2DRJD.js → chunk-NZKDNBYE.js} +6 -6
- package/dist/bundle/{chunk-CPLYNBAJ.js → chunk-OIPJYDLZ.js} +1 -1
- package/dist/bundle/{chunk-526KVXRI.js → chunk-OWS67HTV.js} +2 -2
- package/dist/bundle/{chunk-FZ4GVE36.js → chunk-PBM5GH7S.js} +2 -2
- package/dist/bundle/{chunk-4GWFRZ2U.js → chunk-PKVXZZTM.js} +58 -1
- package/dist/bundle/{chunk-QFC7V5VW.js → chunk-RYY4YRKQ.js} +5 -5
- package/dist/bundle/{chunk-WPW6ULD7.js → chunk-S7X5ZMQN.js} +2 -2
- package/dist/bundle/{chunk-BUHTAMPF.js → chunk-TM6R3Z45.js} +1 -1
- package/dist/bundle/{chunk-H7RSMNHL.js → chunk-TQS6ZKC3.js} +483 -402
- package/dist/bundle/{chunk-V3TELYLZ.js → chunk-U4ZD5SYO.js} +1 -1
- package/dist/bundle/{chunk-N3UA5PO4.js → chunk-U6E3BGHO.js} +9 -9
- package/dist/bundle/{chunk-FJ3DAE4M.js → chunk-VOWEZBOJ.js} +1 -1
- package/dist/bundle/{chunk-3OL3QRFS.js → chunk-X6XIW76O.js} +5 -5
- package/dist/bundle/{chunk-JINNS3FI.js → chunk-XIHQOSCT.js} +1 -1
- package/dist/bundle/{chunk-UQ2OA6EM.js → chunk-ZKXIZD4C.js} +4 -4
- package/dist/bundle/{chunk-AWLAMVNY.js → chunk-ZVJAZXME.js} +4 -4
- package/dist/bundle/{chunk-66A646SL.js → chunk-ZVR6S4XB.js} +7 -7
- package/dist/bundle/{chunk-YZB5IL4L.js → chunk-ZYQEWB6P.js} +2 -2
- package/dist/bundle/{command-contract-OTVOQLZS.js → command-contract-7AADJ3UC.js} +11 -11
- package/dist/bundle/{decode-ISKRNDDM.js → decode-XMIBTI5O.js} +2 -2
- package/dist/bundle/{echarts-TINXXXCB.js → echarts-W7DPDJA5.js} +2 -2
- package/dist/bundle/{embed-R2KJDGEX.js → embed-EP3KKO6Y.js} +3 -3
- package/dist/bundle/{embedder-X2Y5RLKE.js → embedder-ENGCALJ7.js} +6 -6
- package/dist/bundle/{entry-2MUKT36Z.js → entry-BGSKREOS.js} +4 -4
- package/dist/bundle/failure-ZKQVXWAB.js +66 -0
- package/dist/bundle/{first-run-6BSAM4BD.js → first-run-4EBMV2EM.js} +5 -5
- package/dist/bundle/{first-screen-ALXB4ONR.js → first-screen-2TM3BF2Y.js} +12 -12
- package/dist/bundle/{instructions-E5NBM2NJ.js → instructions-A42XETMK.js} +1 -1
- package/dist/bundle/{mcp-YUPBMZPV.js → mcp-5LAWRSJK.js} +35 -35
- package/dist/bundle/memo.js +6 -6
- package/dist/bundle/{node-NBHZ4XWV.js → node-IRL66JK2.js} +2 -2
- package/dist/bundle/{node-sqlite-3CBWCPNC.js → node-sqlite-SOGTH72B.js} +3 -3
- package/dist/bundle/{oauth-L5XC2THD.js → oauth-RB5W3AC7.js} +4 -4
- package/dist/bundle/{open-WR6QQPVB.js → open-552EJ4JC.js} +2 -2
- package/dist/bundle/{openai-MCPELYCJ.js → openai-ZLOHEEDH.js} +7 -7
- package/dist/bundle/{process-EAEC2FBD.js → process-46SUXGWW.js} +1 -1
- package/dist/bundle/{program-WKKBFQIW.js → program-ZLWKMT65.js} +59 -57
- package/dist/bundle/{prompt-M4Z35LQ5.js → prompt-2NHJSYKX.js} +2 -2
- package/dist/bundle/{recognize-VT6NKW6D.js → recognize-2LDM6KHL.js} +1 -1
- package/dist/bundle/{remote-6QTPH5PJ.js → remote-DBYHHENF.js} +4 -4
- package/dist/bundle/{rerank-MJYLXZ4K.js → rerank-N5T2TIIY.js} +4 -4
- package/dist/bundle/{serve-KQ6OL3OH.js → serve-S6B54R2F.js} +6 -6
- package/dist/bundle/server-KZZHFPTZ.js +61 -0
- package/dist/bundle/{server-UJIH2SBV.js → server-QH6AKPRV.js} +50 -50
- package/dist/bundle/server-WAIPBBM7.js +48 -0
- package/dist/bundle/{state-2PDCOSJN.js → state-ZXZGIIJW.js} +3 -3
- package/dist/bundle/{store-SXYAS5EI.js → store-PNJNDMQ4.js} +9 -9
- package/dist/bundle/store-maintenance-command-2ZVV3DGA.js +48 -0
- package/dist/bundle/update-6HXLLGTQ.js +69 -0
- package/dist/doctor/command.d.ts +30 -0
- package/dist/doctor/command.d.ts.map +1 -1
- package/dist/doctor/command.js +1 -1
- package/dist/doctor/command.js.map +1 -1
- package/dist/failure.js +2 -2
- package/dist/failure.js.map +1 -1
- package/dist/knowledge/relationships-scan.d.ts.map +1 -1
- package/dist/knowledge/relationships-scan.js +4 -3
- package/dist/knowledge/relationships-scan.js.map +1 -1
- package/dist/run/import.d.ts.map +1 -1
- package/dist/run/import.js +3 -2
- package/dist/run/import.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-XJCSM7WE.js +0 -86
- package/dist/bundle/failure-KYUARIL2.js +0 -66
- package/dist/bundle/server-AVAJTC5G.js +0 -61
- package/dist/bundle/server-QAFF3RP5.js +0 -48
- package/dist/bundle/store-maintenance-command-ARTXRVYD.js +0 -48
- package/dist/bundle/update-MOZKRB2Z.js +0 -69
- /package/dist/bundle/{chunk-4ZSY3MKL.js → chunk-DPRGC5YX.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.52\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-ZFVBLT2D.js","../bundle/anthropic-UG2YHOT7.js","../bundle/app-server-AQYA4TB6.js","../bundle/auto-2AY6K6DI.js","../bundle/bun-QJUFWKEZ.js","../bundle/bun-sqlite-GWVRHYF4.js","../bundle/command-contract-7AADJ3UC.js","../bundle/decode-XMIBTI5O.js","../bundle/dispatch-W4ZVXTJT.js","../bundle/dist-GZQWFMCL.js","../bundle/echarts-W7DPDJA5.js","../bundle/embed-EP3KKO6Y.js","../bundle/embedder-ENGCALJ7.js","../bundle/entry-BGSKREOS.js","../bundle/failure-GQHAQVGH.js","../bundle/failure-ZKQVXWAB.js","../bundle/first-run-4EBMV2EM.js","../bundle/first-screen-2TM3BF2Y.js","../bundle/instructions-A42XETMK.js","../bundle/mcp-5LAWRSJK.js","../bundle/mcp-RKJG22KM.js","../bundle/node-IRL66JK2.js","../bundle/node-P4E63KXA.js","../bundle/node-TLZSIHIJ.js","../bundle/node-sqlite-SOGTH72B.js","../bundle/oauth-RB5W3AC7.js","../bundle/open-552EJ4JC.js","../bundle/openai-ZLOHEEDH.js","../bundle/process-46SUXGWW.js","../bundle/program-ZLWKMT65.js","../bundle/prompt-2NHJSYKX.js","../bundle/recognize-2LDM6KHL.js","../bundle/remote-DBYHHENF.js","../bundle/rerank-N5T2TIIY.js","../bundle/serve-S6B54R2F.js","../bundle/server-KZZHFPTZ.js","../bundle/server-QH6AKPRV.js","../bundle/server-WAIPBBM7.js","../bundle/state-ZXZGIIJW.js","../bundle/stdio-FRV4R7LJ.js","../bundle/store-PNJNDMQ4.js","../bundle/store-maintenance-command-2ZVV3DGA.js","../bundle/update-6HXLLGTQ.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-ZKXIZD4C.js";
|
|
10
|
+
import "./chunk-VOWEZBOJ.js";
|
|
11
|
+
import "./chunk-IALGFO44.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-IKG2OPHU.js";
|
|
16
|
+
import "./chunk-PKVXZZTM.js";
|
|
17
17
|
import "./chunk-SW6C6WH5.js";
|
|
18
18
|
import "./chunk-WLKDS65F.js";
|
|
19
19
|
import "./chunk-64JCY7XJ.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-EEEZGK2J.js";
|
|
6
6
|
import {
|
|
7
7
|
messagesFor,
|
|
8
8
|
systemFor
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-XIHQOSCT.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.605.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_eae6fabbffc2c6fec7070a9f7231a4be/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-NIUWQP7F.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-2CBOPOC7.js";
|
|
14
|
+
import "./chunk-ETYAJPIT.js";
|
|
15
15
|
import {
|
|
16
16
|
mcpUrlOf
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-G4Z4WSIG.js";
|
|
18
18
|
import {
|
|
19
19
|
agentJson,
|
|
20
20
|
skillResource
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-5WT6SEXS.js";
|
|
22
22
|
import {
|
|
23
23
|
appInstructions
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-4ISZPK6D.js";
|
|
25
25
|
import {
|
|
26
26
|
answeredWire
|
|
27
|
-
} from "./chunk-
|
|
28
|
-
import "./chunk-
|
|
27
|
+
} from "./chunk-VOWEZBOJ.js";
|
|
28
|
+
import "./chunk-IALGFO44.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-EKQNL6VJ.js";
|
|
38
|
+
import "./chunk-TQS6ZKC3.js";
|
|
39
|
+
import "./chunk-MICF3K6S.js";
|
|
40
|
+
import "./chunk-PBM5GH7S.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-FWCFEJWD.js";
|
|
50
|
+
import "./chunk-IKG2OPHU.js";
|
|
51
51
|
import "./chunk-MZMJALJT.js";
|
|
52
52
|
import "./chunk-6G53ZFUT.js";
|
|
53
|
-
import "./chunk-
|
|
53
|
+
import "./chunk-M64NVDB4.js";
|
|
54
54
|
import {
|
|
55
55
|
readOnlyLockOf
|
|
56
|
-
} from "./chunk-
|
|
56
|
+
} from "./chunk-G52Y3KOO.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-I4LXP4HQ.js";
|
|
60
|
+
import "./chunk-6ZQK3L35.js";
|
|
61
|
+
import "./chunk-6GF4TIVM.js";
|
|
62
|
+
import "./chunk-AU5GAMGM.js";
|
|
63
|
+
import "./chunk-KGPD3OCD.js";
|
|
64
|
+
import "./chunk-PKVXZZTM.js";
|
|
65
|
+
import "./chunk-NUQ3N3V3.js";
|
|
66
|
+
import "./chunk-ZVJAZXME.js";
|
|
67
|
+
import "./chunk-OIPJYDLZ.js";
|
|
68
|
+
import "./chunk-XIHQOSCT.js";
|
|
69
|
+
import "./chunk-ZYQEWB6P.js";
|
|
70
|
+
import "./chunk-RYY4YRKQ.js";
|
|
71
|
+
import "./chunk-G7K4J3NS.js";
|
|
72
|
+
import "./chunk-65576OCE.js";
|
|
73
73
|
import "./chunk-IK6KH3RE.js";
|
|
74
74
|
import "./chunk-SW6C6WH5.js";
|
|
75
75
|
import "./chunk-D72URWJE.js";
|
|
76
|
-
import "./chunk-
|
|
77
|
-
import "./chunk-
|
|
76
|
+
import "./chunk-X6XIW76O.js";
|
|
77
|
+
import "./chunk-A36ASW3I.js";
|
|
78
78
|
import "./chunk-WLKDS65F.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-4ZW6ZJ2V.js";
|
|
86
|
-
import "./chunk-
|
|
86
|
+
import "./chunk-TM6R3Z45.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.605.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_eae6fabbffc2c6fec7070a9f7231a4be/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;
|
|
@@ -206,7 +206,7 @@ var serveAppOverStdio = /* @__PURE__ */ __name(async (command, context, options)
|
|
|
206
206
|
var serveAppOverHttp = /* @__PURE__ */ __name(async (command, context, options, http) => {
|
|
207
207
|
const { app } = options;
|
|
208
208
|
const { build } = createAppServer(command, context, options);
|
|
209
|
-
const { serveOverHttp } = await import("./serve-
|
|
209
|
+
const { serveOverHttp } = await import("./serve-S6B54R2F.js");
|
|
210
210
|
const listening = await serveOverHttp(build, {
|
|
211
211
|
...http,
|
|
212
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-LX65W7IK.js";
|
|
19
|
+
import "./chunk-N5J6GT7C.js";
|
|
20
|
+
import "./chunk-GJWNHWG7.js";
|
|
21
|
+
import "./chunk-QP3KNC5D.js";
|
|
22
|
+
import "./chunk-ERZBEQAY.js";
|
|
23
|
+
import "./chunk-NNUP36UQ.js";
|
|
24
|
+
import "./chunk-7SVHEGRO.js";
|
|
25
|
+
import "./chunk-ETYAJPIT.js";
|
|
26
|
+
import "./chunk-G4Z4WSIG.js";
|
|
27
|
+
import "./chunk-5WT6SEXS.js";
|
|
28
|
+
import "./chunk-3O46NA2H.js";
|
|
29
|
+
import "./chunk-EKQNL6VJ.js";
|
|
30
|
+
import "./chunk-TQS6ZKC3.js";
|
|
31
|
+
import "./chunk-MICF3K6S.js";
|
|
32
|
+
import "./chunk-NZKDNBYE.js";
|
|
33
|
+
import "./chunk-HTQTIKWP.js";
|
|
34
|
+
import "./chunk-PBM5GH7S.js";
|
|
35
|
+
import "./chunk-FWCFEJWD.js";
|
|
36
|
+
import "./chunk-IKG2OPHU.js";
|
|
37
|
+
import "./chunk-NOEXRGYH.js";
|
|
38
|
+
import "./chunk-MZMJALJT.js";
|
|
39
|
+
import "./chunk-6G53ZFUT.js";
|
|
40
|
+
import "./chunk-M64NVDB4.js";
|
|
41
|
+
import "./chunk-U6E3BGHO.js";
|
|
42
|
+
import "./chunk-G52Y3KOO.js";
|
|
43
|
+
import "./chunk-I4LXP4HQ.js";
|
|
44
|
+
import "./chunk-6ZQK3L35.js";
|
|
45
|
+
import "./chunk-6GF4TIVM.js";
|
|
46
|
+
import "./chunk-AU5GAMGM.js";
|
|
47
|
+
import "./chunk-KGPD3OCD.js";
|
|
48
|
+
import "./chunk-PKVXZZTM.js";
|
|
49
|
+
import "./chunk-NUQ3N3V3.js";
|
|
50
|
+
import "./chunk-ZVJAZXME.js";
|
|
51
|
+
import "./chunk-S7X5ZMQN.js";
|
|
52
|
+
import "./chunk-OIPJYDLZ.js";
|
|
53
|
+
import "./chunk-EEEZGK2J.js";
|
|
54
|
+
import "./chunk-XIHQOSCT.js";
|
|
55
|
+
import "./chunk-ZYQEWB6P.js";
|
|
56
|
+
import "./chunk-RYY4YRKQ.js";
|
|
57
|
+
import "./chunk-G7K4J3NS.js";
|
|
58
|
+
import "./chunk-65576OCE.js";
|
|
59
|
+
import "./chunk-A7DXLOMS.js";
|
|
60
|
+
import "./chunk-IK6KH3RE.js";
|
|
61
|
+
import "./chunk-SW6C6WH5.js";
|
|
62
|
+
import "./chunk-D72URWJE.js";
|
|
63
|
+
import "./chunk-X6XIW76O.js";
|
|
64
|
+
import "./chunk-A36ASW3I.js";
|
|
65
|
+
import "./chunk-WLKDS65F.js";
|
|
66
|
+
import "./chunk-64JCY7XJ.js";
|
|
67
|
+
import "./chunk-Y5E2WNWB.js";
|
|
68
|
+
import "./chunk-4ZW6ZJ2V.js";
|
|
69
|
+
import "./chunk-TM6R3Z45.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-TM6R3Z45.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.605.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_eae6fabbffc2c6fec7070a9f7231a4be/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-U4ZD5SYO.js";
|
|
7
7
|
import "./chunk-WLKDS65F.js";
|
|
8
8
|
import "./chunk-64JCY7XJ.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.605.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_eae6fabbffc2c6fec7070a9f7231a4be/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 {
|
|
@@ -7,10 +7,10 @@ import {
|
|
|
7
7
|
agentJson,
|
|
8
8
|
commandAvailability,
|
|
9
9
|
failureContext
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-5WT6SEXS.js";
|
|
11
11
|
import {
|
|
12
12
|
callerOf
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-IALGFO44.js";
|
|
14
14
|
import {
|
|
15
15
|
QUERY_ARGUMENT,
|
|
16
16
|
lentConnection,
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
refuseLacking,
|
|
19
19
|
servicesFor,
|
|
20
20
|
storeModeDeps
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-TQS6ZKC3.js";
|
|
22
22
|
import {
|
|
23
23
|
DEFAULT_OUTPUT_BYTES,
|
|
24
24
|
ENTITIES,
|
|
@@ -42,19 +42,22 @@ import {
|
|
|
42
42
|
sealed,
|
|
43
43
|
startRecording,
|
|
44
44
|
traceOf
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-FWCFEJWD.js";
|
|
46
46
|
import {
|
|
47
47
|
currentCaller,
|
|
48
48
|
keepsSuccess,
|
|
49
49
|
runContextOf,
|
|
50
50
|
withCaller
|
|
51
|
-
} from "./chunk-
|
|
51
|
+
} from "./chunk-IKG2OPHU.js";
|
|
52
52
|
import {
|
|
53
53
|
queryDescription
|
|
54
|
-
} from "./chunk-
|
|
54
|
+
} from "./chunk-KGPD3OCD.js";
|
|
55
|
+
import {
|
|
56
|
+
storeDamaged
|
|
57
|
+
} from "./chunk-PKVXZZTM.js";
|
|
55
58
|
import {
|
|
56
59
|
MAX_BUFFERED_INPUT
|
|
57
|
-
} from "./chunk-
|
|
60
|
+
} from "./chunk-OIPJYDLZ.js";
|
|
58
61
|
import {
|
|
59
62
|
captureStreams,
|
|
60
63
|
traceIdOf
|
|
@@ -106,7 +109,7 @@ import {
|
|
|
106
109
|
__name
|
|
107
110
|
} from "./chunk-ZVVMGPBJ.js";
|
|
108
111
|
|
|
109
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
112
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.605.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_eae6fabbffc2c6fec7070a9f7231a4be/node_modules/@wirecat/cli-core/dist/mcp/agent.js
|
|
110
113
|
import { Readable } from "node:stream";
|
|
111
114
|
|
|
112
115
|
// node_modules/.pnpm/@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/lint.js
|
|
@@ -3103,7 +3106,7 @@ var VOCABULARY = defineVocabulary({
|
|
|
3103
3106
|
]
|
|
3104
3107
|
});
|
|
3105
3108
|
|
|
3106
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3109
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.605.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_eae6fabbffc2c6fec7070a9f7231a4be/node_modules/@wirecat/cli-core/dist/mcp/agent.js
|
|
3107
3110
|
var TYPES = new Map(VOCABULARY.flags.map((flag) => [flag.name, flag.type]));
|
|
3108
3111
|
var snake = /* @__PURE__ */ __name((name) => name.replaceAll("|", "_or_").replace(/[^a-z0-9]+/gi, "_"), "snake");
|
|
3109
3112
|
var longOf = /* @__PURE__ */ __name((option) => option.flags.match(/--[a-z0-9][a-z0-9-]*/)?.[0], "longOf");
|
|
@@ -3326,7 +3329,7 @@ var runCommandForAgent = /* @__PURE__ */ __name(async (program, path, input, ctx
|
|
|
3326
3329
|
}
|
|
3327
3330
|
}, "runCommandForAgent");
|
|
3328
3331
|
|
|
3329
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3332
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.605.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_eae6fabbffc2c6fec7070a9f7231a4be/node_modules/@wirecat/cli-core/dist/mcp/tool.js
|
|
3330
3333
|
var limit = optional(pipe(number(), integer(), minValue(1), maxValue(100), description("how many")));
|
|
3331
3334
|
var page = optional(pipe(number(), integer(), minValue(1), description("which page, from 1")));
|
|
3332
3335
|
var message = pipe(
|
|
@@ -3582,10 +3585,10 @@ var answered = /* @__PURE__ */ __name((answer, maxBytes = DEFAULT_OUTPUT_BYTES,
|
|
|
3582
3585
|
var failed = /* @__PURE__ */ __name((error, errors, effects) => {
|
|
3583
3586
|
const judged = judgedEffects(effects);
|
|
3584
3587
|
const context = { ...failureContext(errors), ...judged ? { effects: judged } : {} };
|
|
3585
|
-
return mcpErrorResult(JSON.parse(agentJson(errorObjectOf(error, context))));
|
|
3588
|
+
return mcpErrorResult(JSON.parse(agentJson(errorObjectOf(storeDamaged(error), context))));
|
|
3586
3589
|
}, "failed");
|
|
3587
3590
|
|
|
3588
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3591
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.605.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_eae6fabbffc2c6fec7070a9f7231a4be/node_modules/@wirecat/cli-core/dist/mcp/surface.js
|
|
3589
3592
|
import { randomUUID } from "node:crypto";
|
|
3590
3593
|
var MATCHES = 8;
|
|
3591
3594
|
var ANSWER = answerSchema();
|
|
@@ -10,10 +10,10 @@ 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.605.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_eae6fabbffc2c6fec7070a9f7231a4be/node_modules/@wirecat/cli-core/dist/speech/recognize.js
|
|
14
14
|
import { createRequire } from "node:module";
|
|
15
15
|
|
|
16
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
16
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.605.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_eae6fabbffc2c6fec7070a9f7231a4be/node_modules/@wirecat/cli-core/dist/speech/ogg-limit.js
|
|
17
17
|
var invalid = /* @__PURE__ */ __name(() => new CliError("validation_error", "local transcription needs a complete mono or stereo Ogg Opus recording"), "invalid");
|
|
18
18
|
var checkOggDuration = /* @__PURE__ */ __name((bytes) => {
|
|
19
19
|
const view = new DataView(bytes.buffer, bytes.byteOffset, bytes.byteLength);
|
|
@@ -70,7 +70,7 @@ var checkOggDuration = /* @__PURE__ */ __name((bytes) => {
|
|
|
70
70
|
throw invalid();
|
|
71
71
|
}, "checkOggDuration");
|
|
72
72
|
|
|
73
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
73
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.605.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_eae6fabbffc2c6fec7070a9f7231a4be/node_modules/@wirecat/cli-core/dist/speech/recognize.js
|
|
74
74
|
var SAMPLE_RATE = 16e3;
|
|
75
75
|
var LEAD = SAMPLE_RATE / 2;
|
|
76
76
|
var toModelRate = /* @__PURE__ */ __name((samples, rate) => {
|