@brainst0rm/cli 0.14.1 → 0.14.3
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/{App-DSD2B5RV.js → App-4GFCMEPX.js} +10 -10
- package/dist/{App-6WBAUX35.js → App-KTUPXXQM.js} +10 -10
- package/dist/{agent-D5GTWGPD.js → agent-EYT6BPVT.js} +2 -2
- package/dist/{agent-DOR4KPUH.js → agent-KTWFCMY5.js} +2 -2
- package/dist/brainstorm.js +56 -56
- package/dist/{chunk-RV3CJQGC.js → chunk-2AXI2OPK.js} +43 -7
- package/dist/chunk-2AXI2OPK.js.map +1 -0
- package/dist/{chunk-6G2HA63H.js → chunk-3AYD5ONW.js} +43 -7
- package/dist/chunk-3AYD5ONW.js.map +1 -0
- package/dist/{chunk-UPP3TOCP.js → chunk-3RH5MKZF.js} +5 -5
- package/dist/{chunk-GLWCTGWG.js → chunk-4NNXZFPX.js} +2 -2
- package/dist/{chunk-Z5QQ5OGV.js → chunk-52Q6CE4Y.js} +19 -2
- package/dist/chunk-52Q6CE4Y.js.map +1 -0
- package/dist/{chunk-FGYEICUI.js → chunk-6UFDBLUX.js} +36 -4
- package/dist/chunk-6UFDBLUX.js.map +1 -0
- package/dist/{chunk-NVA62I52.js → chunk-6WGHIUWX.js} +2 -2
- package/dist/{chunk-4LR7LQPG.js → chunk-CZILJ33T.js} +2 -2
- package/dist/{chunk-TLQVDPEQ.js → chunk-DJ7WG6GZ.js} +19 -2
- package/dist/chunk-DJ7WG6GZ.js.map +1 -0
- package/dist/{chunk-N7JKT44Y.js → chunk-GUHXB5DX.js} +2 -2
- package/dist/{chunk-SCGV333Z.js → chunk-HKRUCBMI.js} +4 -4
- package/dist/{chunk-PIT7VD46.js → chunk-N5V2PGPN.js} +4 -4
- package/dist/{chunk-GF5TKYDA.js → chunk-RVQOLZR6.js} +14 -14
- package/dist/{chunk-AH5SFL5J.js → chunk-RVXUVX5W.js} +14 -14
- package/dist/{chunk-4PCWPRRN.js → chunk-WRO5TVID.js} +5 -5
- package/dist/{chunk-ZYGUHAHM.js → chunk-Z5RDHTWQ.js} +36 -4
- package/dist/chunk-Z5RDHTWQ.js.map +1 -0
- package/dist/{dist-QUYR4VH7.js → dist-5NJP3JHL.js} +23 -3
- package/dist/{dist-QUYR4VH7.js.map → dist-5NJP3JHL.js.map} +1 -1
- package/dist/{dist-P6IZYZBM.js → dist-7AIEUUFF.js} +2 -2
- package/dist/{dist-RVTIEEXC.js → dist-DCJYPRUZ.js} +3 -3
- package/dist/{dist-PGQ4UIM4.js → dist-DXQQF55Y.js} +3 -3
- package/dist/{dist-JQXY4E6A.js → dist-KSUHKNET.js} +88 -15
- package/dist/dist-KSUHKNET.js.map +1 -0
- package/dist/{dist-TS5U3BDK.js → dist-LCPM5BXN.js} +5 -5
- package/dist/{dist-VB7CXEYB.js → dist-MKAADC4H.js} +5 -5
- package/dist/{dist-MKWOTCNR.js → dist-NQQPQGZU.js} +6 -6
- package/dist/{dist-VECPW2NV.js → dist-NTQ7LFRW.js} +5 -5
- package/dist/{dist-ESUVKHL4.js → dist-QFVAD45U.js} +6 -6
- package/dist/{dist-7IRVYQYG.js → dist-RUBJT7FI.js} +2 -2
- package/dist/{dist-P2J4GXPC.js → dist-S7FLVLXS.js} +2 -2
- package/dist/{dist-4JONNOLT.js → dist-U3G5HT5D.js} +6 -6
- package/dist/{dist-IUVHFJV2.js → dist-UETKBS6A.js} +6 -6
- package/dist/{dist-ODBEXWTS.js → dist-WLMQD6I5.js} +5 -5
- package/dist/{dist-GNYSGXLR.js → dist-XFJ337R7.js} +23 -3
- package/dist/{dist-GNYSGXLR.js.map → dist-XFJ337R7.js.map} +1 -1
- package/dist/{dist-T6BIJZSD.js → dist-Y5FZXOVL.js} +2 -2
- package/dist/{dist-2DSARR2V.js → dist-ZPASHTYZ.js} +88 -15
- package/dist/dist-ZPASHTYZ.js.map +1 -0
- package/dist/{handler-VOVQRV5B.js → handler-CPXQZBSW.js} +6 -6
- package/dist/{handler-MHEFUP32.js → handler-FIBSROM4.js} +6 -6
- package/dist/index.js +56 -56
- package/dist/{mcp-server-C732TVIQ.js → mcp-server-56FVMXTC.js} +2 -2
- package/dist/{mcp-server-JUYR37EX.js → mcp-server-XXUZDYW6.js} +2 -2
- package/dist/{roles-QTZ54BOF.js → roles-CJTZSFFW.js} +6 -6
- package/dist/{roles-LDNPU3NI.js → roles-MVBHE5QW.js} +6 -6
- package/dist/{slash-VYIMEVPU.js → slash-WFDKT67A.js} +8 -8
- package/dist/{slash-VAUFJQBQ.js → slash-Y3E5KBOJ.js} +8 -8
- package/package.json +28 -28
- package/dist/chunk-6G2HA63H.js.map +0 -1
- package/dist/chunk-FGYEICUI.js.map +0 -1
- package/dist/chunk-RV3CJQGC.js.map +0 -1
- package/dist/chunk-TLQVDPEQ.js.map +0 -1
- package/dist/chunk-Z5QQ5OGV.js.map +0 -1
- package/dist/chunk-ZYGUHAHM.js.map +0 -1
- package/dist/dist-2DSARR2V.js.map +0 -1
- package/dist/dist-JQXY4E6A.js.map +0 -1
- /package/dist/{App-DSD2B5RV.js.map → App-4GFCMEPX.js.map} +0 -0
- /package/dist/{App-6WBAUX35.js.map → App-KTUPXXQM.js.map} +0 -0
- /package/dist/{agent-D5GTWGPD.js.map → agent-EYT6BPVT.js.map} +0 -0
- /package/dist/{agent-DOR4KPUH.js.map → agent-KTWFCMY5.js.map} +0 -0
- /package/dist/{chunk-UPP3TOCP.js.map → chunk-3RH5MKZF.js.map} +0 -0
- /package/dist/{chunk-GLWCTGWG.js.map → chunk-4NNXZFPX.js.map} +0 -0
- /package/dist/{chunk-NVA62I52.js.map → chunk-6WGHIUWX.js.map} +0 -0
- /package/dist/{chunk-4LR7LQPG.js.map → chunk-CZILJ33T.js.map} +0 -0
- /package/dist/{chunk-N7JKT44Y.js.map → chunk-GUHXB5DX.js.map} +0 -0
- /package/dist/{chunk-SCGV333Z.js.map → chunk-HKRUCBMI.js.map} +0 -0
- /package/dist/{chunk-PIT7VD46.js.map → chunk-N5V2PGPN.js.map} +0 -0
- /package/dist/{chunk-GF5TKYDA.js.map → chunk-RVQOLZR6.js.map} +0 -0
- /package/dist/{chunk-AH5SFL5J.js.map → chunk-RVXUVX5W.js.map} +0 -0
- /package/dist/{chunk-4PCWPRRN.js.map → chunk-WRO5TVID.js.map} +0 -0
- /package/dist/{dist-4JONNOLT.js.map → dist-7AIEUUFF.js.map} +0 -0
- /package/dist/{dist-7IRVYQYG.js.map → dist-DCJYPRUZ.js.map} +0 -0
- /package/dist/{dist-ESUVKHL4.js.map → dist-DXQQF55Y.js.map} +0 -0
- /package/dist/{dist-IUVHFJV2.js.map → dist-LCPM5BXN.js.map} +0 -0
- /package/dist/{dist-VB7CXEYB.js.map → dist-MKAADC4H.js.map} +0 -0
- /package/dist/{dist-MKWOTCNR.js.map → dist-NQQPQGZU.js.map} +0 -0
- /package/dist/{dist-P2J4GXPC.js.map → dist-NTQ7LFRW.js.map} +0 -0
- /package/dist/{dist-P6IZYZBM.js.map → dist-QFVAD45U.js.map} +0 -0
- /package/dist/{dist-PGQ4UIM4.js.map → dist-RUBJT7FI.js.map} +0 -0
- /package/dist/{dist-RVTIEEXC.js.map → dist-S7FLVLXS.js.map} +0 -0
- /package/dist/{dist-T6BIJZSD.js.map → dist-U3G5HT5D.js.map} +0 -0
- /package/dist/{dist-TS5U3BDK.js.map → dist-UETKBS6A.js.map} +0 -0
- /package/dist/{dist-ODBEXWTS.js.map → dist-WLMQD6I5.js.map} +0 -0
- /package/dist/{dist-VECPW2NV.js.map → dist-Y5FZXOVL.js.map} +0 -0
- /package/dist/{handler-VOVQRV5B.js.map → handler-CPXQZBSW.js.map} +0 -0
- /package/dist/{handler-MHEFUP32.js.map → handler-FIBSROM4.js.map} +0 -0
- /package/dist/{mcp-server-C732TVIQ.js.map → mcp-server-56FVMXTC.js.map} +0 -0
- /package/dist/{mcp-server-JUYR37EX.js.map → mcp-server-XXUZDYW6.js.map} +0 -0
- /package/dist/{roles-LDNPU3NI.js.map → roles-CJTZSFFW.js.map} +0 -0
- /package/dist/{roles-QTZ54BOF.js.map → roles-MVBHE5QW.js.map} +0 -0
- /package/dist/{slash-VAUFJQBQ.js.map → slash-WFDKT67A.js.map} +0 -0
- /package/dist/{slash-VYIMEVPU.js.map → slash-Y3E5KBOJ.js.map} +0 -0
|
@@ -5,20 +5,20 @@ import {
|
|
|
5
5
|
executeSlashCommand,
|
|
6
6
|
getSlashCommands,
|
|
7
7
|
isSlashCommand
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-RVXUVX5W.js";
|
|
9
9
|
import {
|
|
10
10
|
MarkdownRenderer
|
|
11
11
|
} from "./chunk-3T4CVLYF.js";
|
|
12
|
-
import "./chunk-
|
|
13
|
-
import "./chunk-
|
|
12
|
+
import "./chunk-4NNXZFPX.js";
|
|
13
|
+
import "./chunk-Z5RDHTWQ.js";
|
|
14
14
|
import {
|
|
15
15
|
parsePlanContent
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-N5V2PGPN.js";
|
|
17
17
|
import "./chunk-FRRVMDNL.js";
|
|
18
18
|
import "./chunk-CTEU5TQB.js";
|
|
19
19
|
import "./chunk-SSCKEV6Z.js";
|
|
20
20
|
import "./chunk-CTFDTJMG.js";
|
|
21
|
-
import "./chunk-
|
|
21
|
+
import "./chunk-3AYD5ONW.js";
|
|
22
22
|
import "./chunk-2JGN7EGX.js";
|
|
23
23
|
import {
|
|
24
24
|
RoutingEventStream
|
|
@@ -26,7 +26,7 @@ import {
|
|
|
26
26
|
import "./chunk-WHP2HLMU.js";
|
|
27
27
|
import "./chunk-N43GBGXI.js";
|
|
28
28
|
import "./chunk-7B2QCIEV.js";
|
|
29
|
-
import "./chunk-
|
|
29
|
+
import "./chunk-CZILJ33T.js";
|
|
30
30
|
import "./chunk-NLLWNPII.js";
|
|
31
31
|
import "./chunk-D7KQXJJ7.js";
|
|
32
32
|
import "./chunk-DT4D3D4I.js";
|
|
@@ -38,7 +38,7 @@ import "./chunk-EHQ4RKTP.js";
|
|
|
38
38
|
import "./chunk-5TPIVYD3.js";
|
|
39
39
|
import "./chunk-J6ELXZTM.js";
|
|
40
40
|
import "./chunk-XKTCRSDK.js";
|
|
41
|
-
import "./chunk-
|
|
41
|
+
import "./chunk-52Q6CE4Y.js";
|
|
42
42
|
import {
|
|
43
43
|
atomicWriteFile
|
|
44
44
|
} from "./chunk-E7XO6BH5.js";
|
|
@@ -1306,7 +1306,7 @@ function ChatApp({
|
|
|
1306
1306
|
message: askUserPrompt.question,
|
|
1307
1307
|
options: askUserPrompt.options,
|
|
1308
1308
|
onSelect: async (value) => {
|
|
1309
|
-
const { resolveAskUser } = await import("./dist-
|
|
1309
|
+
const { resolveAskUser } = await import("./dist-7AIEUUFF.js");
|
|
1310
1310
|
resolveAskUser(value);
|
|
1311
1311
|
setAskUserPrompt(null);
|
|
1312
1312
|
setMessages((prev) => [
|
|
@@ -1315,7 +1315,7 @@ function ChatApp({
|
|
|
1315
1315
|
]);
|
|
1316
1316
|
},
|
|
1317
1317
|
onCancel: async () => {
|
|
1318
|
-
const { resolveAskUser } = await import("./dist-
|
|
1318
|
+
const { resolveAskUser } = await import("./dist-7AIEUUFF.js");
|
|
1319
1319
|
resolveAskUser(askUserPrompt.options[0]?.value ?? "");
|
|
1320
1320
|
setAskUserPrompt(null);
|
|
1321
1321
|
}
|
|
@@ -3120,4 +3120,4 @@ function App(props) {
|
|
|
3120
3120
|
export {
|
|
3121
3121
|
App
|
|
3122
3122
|
};
|
|
3123
|
-
//# sourceMappingURL=App-
|
|
3123
|
+
//# sourceMappingURL=App-4GFCMEPX.js.map
|
|
@@ -2,20 +2,20 @@ import {
|
|
|
2
2
|
executeSlashCommand,
|
|
3
3
|
getSlashCommands,
|
|
4
4
|
isSlashCommand
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-RVQOLZR6.js";
|
|
6
6
|
import {
|
|
7
7
|
MarkdownRenderer
|
|
8
8
|
} from "./chunk-GJXEX2A3.js";
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import "./chunk-
|
|
9
|
+
import "./chunk-GUHXB5DX.js";
|
|
10
|
+
import "./chunk-6UFDBLUX.js";
|
|
11
11
|
import {
|
|
12
12
|
parsePlanContent
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-HKRUCBMI.js";
|
|
14
14
|
import "./chunk-HUR6VPUJ.js";
|
|
15
15
|
import "./chunk-352O4VPK.js";
|
|
16
16
|
import "./chunk-ONBVQCTW.js";
|
|
17
17
|
import "./chunk-T5YPKB44.js";
|
|
18
|
-
import "./chunk-
|
|
18
|
+
import "./chunk-2AXI2OPK.js";
|
|
19
19
|
import "./chunk-TCFNCUKS.js";
|
|
20
20
|
import {
|
|
21
21
|
RoutingEventStream
|
|
@@ -23,7 +23,7 @@ import {
|
|
|
23
23
|
import "./chunk-WJSNOAGF.js";
|
|
24
24
|
import "./chunk-VHDE7O6Y.js";
|
|
25
25
|
import "./chunk-SBZAH54M.js";
|
|
26
|
-
import "./chunk-
|
|
26
|
+
import "./chunk-6WGHIUWX.js";
|
|
27
27
|
import "./chunk-QT7UUIL2.js";
|
|
28
28
|
import "./chunk-DW32AG7H.js";
|
|
29
29
|
import "./chunk-NHSYDOEK.js";
|
|
@@ -35,7 +35,7 @@ import "./chunk-AP3CWGS7.js";
|
|
|
35
35
|
import "./chunk-N3KOFRHK.js";
|
|
36
36
|
import "./chunk-RPHOZX72.js";
|
|
37
37
|
import "./chunk-BX6MV3E5.js";
|
|
38
|
-
import "./chunk-
|
|
38
|
+
import "./chunk-DJ7WG6GZ.js";
|
|
39
39
|
import {
|
|
40
40
|
atomicWriteFile
|
|
41
41
|
} from "./chunk-KE4QKEOM.js";
|
|
@@ -1303,7 +1303,7 @@ function ChatApp({
|
|
|
1303
1303
|
message: askUserPrompt.question,
|
|
1304
1304
|
options: askUserPrompt.options,
|
|
1305
1305
|
onSelect: async (value) => {
|
|
1306
|
-
const { resolveAskUser } = await import("./dist-
|
|
1306
|
+
const { resolveAskUser } = await import("./dist-Y5FZXOVL.js");
|
|
1307
1307
|
resolveAskUser(value);
|
|
1308
1308
|
setAskUserPrompt(null);
|
|
1309
1309
|
setMessages((prev) => [
|
|
@@ -1312,7 +1312,7 @@ function ChatApp({
|
|
|
1312
1312
|
]);
|
|
1313
1313
|
},
|
|
1314
1314
|
onCancel: async () => {
|
|
1315
|
-
const { resolveAskUser } = await import("./dist-
|
|
1315
|
+
const { resolveAskUser } = await import("./dist-Y5FZXOVL.js");
|
|
1316
1316
|
resolveAskUser(askUserPrompt.options[0]?.value ?? "");
|
|
1317
1317
|
setAskUserPrompt(null);
|
|
1318
1318
|
}
|
|
@@ -3117,4 +3117,4 @@ function App(props) {
|
|
|
3117
3117
|
export {
|
|
3118
3118
|
App
|
|
3119
3119
|
};
|
|
3120
|
-
//# sourceMappingURL=App-
|
|
3120
|
+
//# sourceMappingURL=App-KTUPXXQM.js.map
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
createChangeSet,
|
|
3
3
|
registerExecutor
|
|
4
4
|
} from "./chunk-DRGJETWE.js";
|
|
5
|
-
import "./chunk-
|
|
5
|
+
import "./chunk-2AXI2OPK.js";
|
|
6
6
|
import {
|
|
7
7
|
defineTool
|
|
8
8
|
} from "./chunk-TCFNCUKS.js";
|
|
@@ -530,4 +530,4 @@ export {
|
|
|
530
530
|
AgentConnector,
|
|
531
531
|
createAgentConnector
|
|
532
532
|
};
|
|
533
|
-
//# sourceMappingURL=agent-
|
|
533
|
+
//# sourceMappingURL=agent-EYT6BPVT.js.map
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
createChangeSet,
|
|
6
6
|
registerExecutor
|
|
7
7
|
} from "./chunk-4RKWJCUC.js";
|
|
8
|
-
import "./chunk-
|
|
8
|
+
import "./chunk-3AYD5ONW.js";
|
|
9
9
|
import {
|
|
10
10
|
defineTool
|
|
11
11
|
} from "./chunk-2JGN7EGX.js";
|
|
@@ -533,4 +533,4 @@ export {
|
|
|
533
533
|
AgentConnector,
|
|
534
534
|
createAgentConnector
|
|
535
535
|
};
|
|
536
|
-
//# sourceMappingURL=agent-
|
|
536
|
+
//# sourceMappingURL=agent-KTWFCMY5.js.map
|
package/dist/brainstorm.js
CHANGED
|
@@ -32,17 +32,17 @@ import {
|
|
|
32
32
|
import {
|
|
33
33
|
runEvalCli,
|
|
34
34
|
runProbe
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-WRO5TVID.js";
|
|
36
36
|
import "./chunk-JAM2AWOA.js";
|
|
37
37
|
import {
|
|
38
38
|
ROLES
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-4NNXZFPX.js";
|
|
40
40
|
import {
|
|
41
41
|
PRESET_WORKFLOWS,
|
|
42
42
|
autoSelectPreset,
|
|
43
43
|
getPresetWorkflow,
|
|
44
44
|
runWorkflow
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-Z5RDHTWQ.js";
|
|
46
46
|
import {
|
|
47
47
|
PermissionManager,
|
|
48
48
|
SessionManager,
|
|
@@ -53,7 +53,7 @@ import {
|
|
|
53
53
|
runAgentLoop,
|
|
54
54
|
spawnParallel,
|
|
55
55
|
spawnSubagent
|
|
56
|
-
} from "./chunk-
|
|
56
|
+
} from "./chunk-N5V2PGPN.js";
|
|
57
57
|
import "./chunk-FRRVMDNL.js";
|
|
58
58
|
import "./chunk-CTEU5TQB.js";
|
|
59
59
|
import "./chunk-SSCKEV6Z.js";
|
|
@@ -65,7 +65,7 @@ import {
|
|
|
65
65
|
createWiredMemoryTool,
|
|
66
66
|
createWiredPipelineTool,
|
|
67
67
|
stopDockerSandbox
|
|
68
|
-
} from "./chunk-
|
|
68
|
+
} from "./chunk-3AYD5ONW.js";
|
|
69
69
|
import "./chunk-2JGN7EGX.js";
|
|
70
70
|
import {
|
|
71
71
|
RoutingEventStream,
|
|
@@ -90,7 +90,7 @@ import {
|
|
|
90
90
|
BrainstormRouter,
|
|
91
91
|
CostTracker,
|
|
92
92
|
attachStreamToLearnedStrategy
|
|
93
|
-
} from "./chunk-
|
|
93
|
+
} from "./chunk-CZILJ33T.js";
|
|
94
94
|
import "./chunk-NLLWNPII.js";
|
|
95
95
|
import "./chunk-D7KQXJJ7.js";
|
|
96
96
|
import "./chunk-DT4D3D4I.js";
|
|
@@ -116,7 +116,7 @@ import {
|
|
|
116
116
|
RoutingOutcomeRepository,
|
|
117
117
|
closeDb,
|
|
118
118
|
getDb
|
|
119
|
-
} from "./chunk-
|
|
119
|
+
} from "./chunk-52Q6CE4Y.js";
|
|
120
120
|
import {
|
|
121
121
|
atomicWriteFile,
|
|
122
122
|
captureError,
|
|
@@ -6440,7 +6440,7 @@ async function startSyncWorkerIfConfigured(gateway, db) {
|
|
|
6440
6440
|
if (!gateway) return null;
|
|
6441
6441
|
try {
|
|
6442
6442
|
const { SyncWorker } = await import("./dist-CASCD337.js");
|
|
6443
|
-
const { SyncQueueRepository } = await import("./dist-
|
|
6443
|
+
const { SyncQueueRepository } = await import("./dist-RUBJT7FI.js");
|
|
6444
6444
|
const repo = new SyncQueueRepository(db);
|
|
6445
6445
|
const worker = new SyncWorker({ gateway, repo });
|
|
6446
6446
|
worker.start();
|
|
@@ -6650,7 +6650,7 @@ program.command("eval-swe-bench").description(
|
|
|
6650
6650
|
"Path to SWE-bench instances.jsonl file"
|
|
6651
6651
|
).option("--model <id>", "Target model (default: let router decide)").option("--limit <n>", "Max instances to evaluate", "10").option("--concurrency <n>", "Parallel evaluations", "2").option("--json", "Output results as JSON").action(
|
|
6652
6652
|
async (opts) => {
|
|
6653
|
-
const { loadInstances, runSWEBench, scorePatch, generateScorecard } = await import("./dist-
|
|
6653
|
+
const { loadInstances, runSWEBench, scorePatch, generateScorecard } = await import("./dist-NQQPQGZU.js");
|
|
6654
6654
|
const limit = parseInt(opts.limit);
|
|
6655
6655
|
const concurrency = parseInt(opts.concurrency);
|
|
6656
6656
|
console.log(`
|
|
@@ -7720,7 +7720,7 @@ ${stdinText}`;
|
|
|
7720
7720
|
const tools = createDefaultToolRegistry();
|
|
7721
7721
|
const runProjectPath = process.cwd();
|
|
7722
7722
|
{
|
|
7723
|
-
const { MemoryManager: RunMemoryManager } = await import("./dist-
|
|
7723
|
+
const { MemoryManager: RunMemoryManager } = await import("./dist-NTQ7LFRW.js");
|
|
7724
7724
|
const runMemory = new RunMemoryManager(runProjectPath);
|
|
7725
7725
|
const wiredRunMemory = createWiredMemoryTool(runMemory);
|
|
7726
7726
|
tools.unregister("memory");
|
|
@@ -7784,8 +7784,8 @@ ${stdinText}`;
|
|
|
7784
7784
|
connectGodMode: connectGM,
|
|
7785
7785
|
createProductConnectors: createPC,
|
|
7786
7786
|
setAuditPersister: setAP
|
|
7787
|
-
} = await import("./dist-
|
|
7788
|
-
const { ChangeSetLogRepository: CSLogRun } = await import("./dist-
|
|
7787
|
+
} = await import("./dist-5NJP3JHL.js");
|
|
7788
|
+
const { ChangeSetLogRepository: CSLogRun } = await import("./dist-RUBJT7FI.js");
|
|
7789
7789
|
const csLogRun = new CSLogRun(db);
|
|
7790
7790
|
setAP((entry) => {
|
|
7791
7791
|
csLogRun.log({
|
|
@@ -7816,7 +7816,7 @@ ${stdinText}`;
|
|
|
7816
7816
|
connectors: { ...defaultConns, ...config.godmode.connectors }
|
|
7817
7817
|
};
|
|
7818
7818
|
const activeConns = await createPC(mergedConfig);
|
|
7819
|
-
const { createAgentConnector } = await import("./agent-
|
|
7819
|
+
const { createAgentConnector } = await import("./agent-KTWFCMY5.js");
|
|
7820
7820
|
activeConns.push(
|
|
7821
7821
|
createAgentConnector({
|
|
7822
7822
|
enabled: true,
|
|
@@ -8447,7 +8447,7 @@ scheduleCmd.command("delete").argument("<task-id>", "Task ID to delete").descrip
|
|
|
8447
8447
|
});
|
|
8448
8448
|
var planCmd = program.command("plan").description("Execute and manage structured plans");
|
|
8449
8449
|
planCmd.command("execute").argument("<path>", "Path to .plan.md file").option("--auto", "Run autonomously (no pauses)").option("--dry-run", "Show dispatch plan without executing").option("--budget <amount>", "Total budget limit in dollars").option("--task-budget <amount>", "Per-task budget limit", "0.50").option("--retries <n>", "Max retries per task", "2").description("Execute a plan file task-by-task using subagents").action(async (path2, opts) => {
|
|
8450
|
-
const { executePlan } = await import("./dist-
|
|
8450
|
+
const { executePlan } = await import("./dist-NTQ7LFRW.js");
|
|
8451
8451
|
const { resolve } = await import("path");
|
|
8452
8452
|
const { execFileSync: execFileSync2 } = await import("child_process");
|
|
8453
8453
|
const planPath = resolve(path2);
|
|
@@ -8582,7 +8582,7 @@ planCmd.command("execute").argument("<path>", "Path to .plan.md file").option("-
|
|
|
8582
8582
|
}
|
|
8583
8583
|
});
|
|
8584
8584
|
planCmd.command("parse").argument("<path>", "Path to .plan.md file").description("Parse and display a plan file structure").action(async (path2) => {
|
|
8585
|
-
const { parsePlanFile } = await import("./dist-
|
|
8585
|
+
const { parsePlanFile } = await import("./dist-NTQ7LFRW.js");
|
|
8586
8586
|
const { resolve } = await import("path");
|
|
8587
8587
|
let plan;
|
|
8588
8588
|
try {
|
|
@@ -8621,7 +8621,7 @@ orchestrateCmd.command("pipeline").argument("<request>", "What to build (natural
|
|
|
8621
8621
|
"--phases <list>",
|
|
8622
8622
|
"Comma-separated phases to run (spec,architecture,implementation,review,verify,refactor,deploy,document,report)"
|
|
8623
8623
|
).option("--resume-from <phase>", "Resume from a specific phase").option("--dry-run", "Show what agents would be dispatched").description("Run the full 9-phase development pipeline").action(async (request, opts) => {
|
|
8624
|
-
const { runOrchestrationPipeline, createPipelineDispatcher } = await import("./dist-
|
|
8624
|
+
const { runOrchestrationPipeline, createPipelineDispatcher } = await import("./dist-NTQ7LFRW.js");
|
|
8625
8625
|
console.log(`
|
|
8626
8626
|
Orchestration Pipeline
|
|
8627
8627
|
`);
|
|
@@ -8874,7 +8874,7 @@ orchestrateCmd.command("parallel").argument("<request>", "High-level request to
|
|
|
8874
8874
|
"Plan \u2192 parallel workers \u2192 judge: decompose a request, run N workers in isolated worktrees, merge approved branches"
|
|
8875
8875
|
).action(
|
|
8876
8876
|
async (request, opts) => {
|
|
8877
|
-
const { planMultiAgentRun, runWorkerPool, runJudge } = await import("./dist-
|
|
8877
|
+
const { planMultiAgentRun, runWorkerPool, runJudge } = await import("./dist-NTQ7LFRW.js");
|
|
8878
8878
|
const projectPath = process.cwd();
|
|
8879
8879
|
const concurrency = parseInt(opts.workers, 10);
|
|
8880
8880
|
const budgetLimit = parseFloat(opts.budget);
|
|
@@ -9432,7 +9432,7 @@ program.command("spawn").description("Spawn a background agent in an isolated gi
|
|
|
9432
9432
|
"code"
|
|
9433
9433
|
).option("--budget <amount>", "Budget limit in dollars", "1.0").action(async (task, opts) => {
|
|
9434
9434
|
const { resolve } = await import("path");
|
|
9435
|
-
const { createWorktree, removeWorktree } = await import("./dist-
|
|
9435
|
+
const { createWorktree, removeWorktree } = await import("./dist-NTQ7LFRW.js");
|
|
9436
9436
|
const projectPath = resolve(".");
|
|
9437
9437
|
const worktreePath = createWorktree(projectPath, opts.type);
|
|
9438
9438
|
console.log(`
|
|
@@ -9632,7 +9632,7 @@ program.command("search").description("Search code \u2014 local semantic search
|
|
|
9632
9632
|
}
|
|
9633
9633
|
}
|
|
9634
9634
|
} else {
|
|
9635
|
-
const { semanticSearch } = await import("./dist-
|
|
9635
|
+
const { semanticSearch } = await import("./dist-NTQ7LFRW.js");
|
|
9636
9636
|
const results = semanticSearch(process.cwd(), query, limit);
|
|
9637
9637
|
if (results.length === 0) {
|
|
9638
9638
|
console.log(`
|
|
@@ -9767,7 +9767,7 @@ program.command("setup-infra").description(
|
|
|
9767
9767
|
console.log(
|
|
9768
9768
|
` \u2713 Generated ${docResult.filesWritten.length} documentation files`
|
|
9769
9769
|
);
|
|
9770
|
-
const { initRecipeDir } = await import("./dist-
|
|
9770
|
+
const { initRecipeDir } = await import("./dist-QFVAD45U.js");
|
|
9771
9771
|
initRecipeDir(absPath);
|
|
9772
9772
|
console.log(` \u2713 Initialized .brainstorm/recipes/`);
|
|
9773
9773
|
console.log("\n \u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550");
|
|
@@ -9793,7 +9793,7 @@ program.command("onboard").description(
|
|
|
9793
9793
|
).option("--static-only", "Skip LLM phases (equivalent to setup-infra)").option("--dry-run", "Show plan without writing files or calling LLMs").option("--phases <phases>", "Comma-separated phases to run").action(
|
|
9794
9794
|
async (projectPath, opts) => {
|
|
9795
9795
|
const { resolve } = await import("path");
|
|
9796
|
-
const { runOnboardPipeline, ALL_PHASES } = await import("./dist-
|
|
9796
|
+
const { runOnboardPipeline, ALL_PHASES } = await import("./dist-MKAADC4H.js");
|
|
9797
9797
|
const absPath = resolve(projectPath);
|
|
9798
9798
|
const options = {
|
|
9799
9799
|
projectPath: absPath,
|
|
@@ -9874,7 +9874,7 @@ program.command("onboard").description(
|
|
|
9874
9874
|
break;
|
|
9875
9875
|
}
|
|
9876
9876
|
case "phase-skipped": {
|
|
9877
|
-
const { PHASE_LABELS } = await import("./dist-
|
|
9877
|
+
const { PHASE_LABELS } = await import("./dist-MKAADC4H.js");
|
|
9878
9878
|
const label = PHASE_LABELS[event.phase] ?? event.phase;
|
|
9879
9879
|
console.log(` Phase: ${label} ... skipped`);
|
|
9880
9880
|
console.log(` ${event.reason}`);
|
|
@@ -9909,7 +9909,7 @@ program.command("onboard").description(
|
|
|
9909
9909
|
}
|
|
9910
9910
|
}
|
|
9911
9911
|
try {
|
|
9912
|
-
const { persistOnboardToMemory } = await import("./dist-
|
|
9912
|
+
const { persistOnboardToMemory } = await import("./dist-MKAADC4H.js");
|
|
9913
9913
|
const saved = persistOnboardToMemory(r, process.cwd());
|
|
9914
9914
|
if (saved > 0) {
|
|
9915
9915
|
console.log(
|
|
@@ -9935,7 +9935,7 @@ program.command("onboard").description(
|
|
|
9935
9935
|
}
|
|
9936
9936
|
);
|
|
9937
9937
|
program.command("route").description("Explain how Brainstorm classifies and routes a task").argument("[task]", "Task description to classify").option("--json", "Output as JSON").action(async (task, opts) => {
|
|
9938
|
-
const { classifyTask } = await import("./dist-
|
|
9938
|
+
const { classifyTask } = await import("./dist-DCJYPRUZ.js");
|
|
9939
9939
|
const taskText = task ?? "write a function that validates email addresses";
|
|
9940
9940
|
const profile = classifyTask(taskText);
|
|
9941
9941
|
if (opts.json) {
|
|
@@ -10046,7 +10046,7 @@ program.command("loop").description("Run a prompt or slash command on a recurrin
|
|
|
10046
10046
|
}
|
|
10047
10047
|
);
|
|
10048
10048
|
program.command("memory").description("View and manage agent memory entries").argument("[action]", "Action: list, search, forget", "list").argument("[query]", "Search query or memory key to forget").action(async (action, query) => {
|
|
10049
|
-
const { MemoryManager } = await import("./dist-
|
|
10049
|
+
const { MemoryManager } = await import("./dist-NTQ7LFRW.js");
|
|
10050
10050
|
const memory = new MemoryManager(process.cwd());
|
|
10051
10051
|
switch (action) {
|
|
10052
10052
|
case "list": {
|
|
@@ -10340,7 +10340,7 @@ program.command("memory").description("View and manage agent memory entries").ar
|
|
|
10340
10340
|
}
|
|
10341
10341
|
});
|
|
10342
10342
|
program.command("sync").description("Inspect and manage the BrainstormRouter sync queue").argument("[action]", "Action: status, flush, prune", "status").action(async (action) => {
|
|
10343
|
-
const { SyncQueueRepository } = await import("./dist-
|
|
10343
|
+
const { SyncQueueRepository } = await import("./dist-RUBJT7FI.js");
|
|
10344
10344
|
const { SyncWorker } = await import("./dist-CASCD337.js");
|
|
10345
10345
|
const db = getDb();
|
|
10346
10346
|
const repo = new SyncQueueRepository(db);
|
|
@@ -10438,7 +10438,7 @@ codebaseCmd.command("audit").description(
|
|
|
10438
10438
|
runCodebaseAudit,
|
|
10439
10439
|
discoverScopes,
|
|
10440
10440
|
MemoryManager: AuditMemoryManager
|
|
10441
|
-
} = await import("./dist-
|
|
10441
|
+
} = await import("./dist-NTQ7LFRW.js");
|
|
10442
10442
|
const projectPath = process.cwd();
|
|
10443
10443
|
const concurrency = parseInt(opts.workers, 10);
|
|
10444
10444
|
const budgetLimit = parseFloat(opts.budget);
|
|
@@ -10577,7 +10577,7 @@ program.command("findings").description("Query, summarize, and act on codebase a
|
|
|
10577
10577
|
"Force a specific model for fix subagent (e.g., google/gemini-2.5-flash)"
|
|
10578
10578
|
).option("--budget <usd>", "Budget cap for fix subagent in USD", "1").action(
|
|
10579
10579
|
async (action, id, opts) => {
|
|
10580
|
-
const { MemoryManager: FindingsMemoryManager, FindingsStore } = await import("./dist-
|
|
10580
|
+
const { MemoryManager: FindingsMemoryManager, FindingsStore } = await import("./dist-NTQ7LFRW.js");
|
|
10581
10581
|
const memory = new FindingsMemoryManager(process.cwd());
|
|
10582
10582
|
const store = new FindingsStore(memory);
|
|
10583
10583
|
const filter2 = {
|
|
@@ -10679,7 +10679,7 @@ program.command("findings").description("Query, summarize, and act on codebase a
|
|
|
10679
10679
|
frontmatter
|
|
10680
10680
|
);
|
|
10681
10681
|
router.setStrategy("capability");
|
|
10682
|
-
const { spawnSubagent: spawnSubagent2 } = await import("./dist-
|
|
10682
|
+
const { spawnSubagent: spawnSubagent2 } = await import("./dist-NTQ7LFRW.js");
|
|
10683
10683
|
const loc = finding.lineStart ? `${finding.file}:${finding.lineStart}${finding.lineEnd ? `-${finding.lineEnd}` : ""}` : finding.file;
|
|
10684
10684
|
console.log();
|
|
10685
10685
|
console.log(` Fixing: ${sevColor(finding.severity)} ${loc}`);
|
|
@@ -11030,7 +11030,7 @@ program.command("ingest").description(
|
|
|
11030
11030
|
}
|
|
11031
11031
|
}
|
|
11032
11032
|
console.log(` \u2713 ${agentCount} agent profiles created`);
|
|
11033
|
-
const { initRecipeDir } = await import("./dist-
|
|
11033
|
+
const { initRecipeDir } = await import("./dist-QFVAD45U.js");
|
|
11034
11034
|
initRecipeDir(absPath);
|
|
11035
11035
|
console.log(` \u2713 Recipe directory initialized`);
|
|
11036
11036
|
const elapsed = ((Date.now() - startTime) / 1e3).toFixed(1);
|
|
@@ -11326,7 +11326,7 @@ Project initialized by \`storm start\`.
|
|
|
11326
11326
|
});
|
|
11327
11327
|
var platformCmd = program.command("platform").description("Platform contract tools \u2014 verify, init, manifest");
|
|
11328
11328
|
platformCmd.command("verify").description("Verify a product implements the Brainstorm platform contract").argument("<url>", "Product API base URL (e.g., https://brainstormmsp.ai)").option("--token <jwt>", "Bearer token for authenticated endpoints").option("--timeout <ms>", "Request timeout in milliseconds", "10000").action(async (url, opts) => {
|
|
11329
|
-
const { verifyProductContract } = await import("./dist-
|
|
11329
|
+
const { verifyProductContract } = await import("./dist-5NJP3JHL.js");
|
|
11330
11330
|
console.log(`
|
|
11331
11331
|
Platform Contract Verification`);
|
|
11332
11332
|
console.log(` \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500
|
|
@@ -11365,7 +11365,7 @@ platformCmd.command("verify").description("Verify a product implements the Brain
|
|
|
11365
11365
|
process.exit(failed > 0 ? 1 : 0);
|
|
11366
11366
|
});
|
|
11367
11367
|
platformCmd.command("init").description("Generate a product-manifest.yaml template").option("--id <id>", "Product ID (lowercase, hyphens)", "my-product").option("--name <name>", "Display name", "My Product").option("--url <url>", "API base URL", "http://localhost:3000").action(async (opts) => {
|
|
11368
|
-
const { generateManifestTemplate } = await import("./dist-
|
|
11368
|
+
const { generateManifestTemplate } = await import("./dist-5NJP3JHL.js");
|
|
11369
11369
|
const { writeFileSync: writeFileSync6, existsSync: existsSync8 } = await import("fs");
|
|
11370
11370
|
const { resolve } = await import("path");
|
|
11371
11371
|
const template = generateManifestTemplate(opts.id, opts.name, opts.url);
|
|
@@ -11387,7 +11387,7 @@ platformCmd.command("init").description("Generate a product-manifest.yaml templa
|
|
|
11387
11387
|
platformCmd.command("validate").description("Validate a product-manifest.yaml file").argument("[path]", "Path to manifest file", "product-manifest.yaml").action(async (path2) => {
|
|
11388
11388
|
const { readFileSync: readFileSync8, existsSync: existsSync8 } = await import("fs");
|
|
11389
11389
|
const { resolve } = await import("path");
|
|
11390
|
-
const { validateManifestData } = await import("./dist-
|
|
11390
|
+
const { validateManifestData } = await import("./dist-5NJP3JHL.js");
|
|
11391
11391
|
const filePath = resolve(path2);
|
|
11392
11392
|
if (!existsSync8(filePath)) {
|
|
11393
11393
|
console.error(` File not found: ${filePath}`);
|
|
@@ -11439,7 +11439,7 @@ platformCmd.command("validate").description("Validate a product-manifest.yaml fi
|
|
|
11439
11439
|
program.command("mcp").description(
|
|
11440
11440
|
"Start MCP server (stdio) \u2014 exposes God Mode tools to Claude Code/Desktop"
|
|
11441
11441
|
).action(async () => {
|
|
11442
|
-
const { startMCPServer } = await import("./mcp-server-
|
|
11442
|
+
const { startMCPServer } = await import("./mcp-server-56FVMXTC.js");
|
|
11443
11443
|
await startMCPServer();
|
|
11444
11444
|
});
|
|
11445
11445
|
program.command("setup").description(
|
|
@@ -11690,8 +11690,8 @@ program.command("ecosystem").alias("status").description(
|
|
|
11690
11690
|
program.command("ipc").description(
|
|
11691
11691
|
"Start Brainstorm in IPC mode (stdin/stdout NDJSON) for desktop app integration"
|
|
11692
11692
|
).action(async () => {
|
|
11693
|
-
const { startIPCHandler } = await import("./handler-
|
|
11694
|
-
const { MemoryManager } = await import("./dist-
|
|
11693
|
+
const { startIPCHandler } = await import("./handler-CPXQZBSW.js");
|
|
11694
|
+
const { MemoryManager } = await import("./dist-NTQ7LFRW.js");
|
|
11695
11695
|
const config = loadConfig();
|
|
11696
11696
|
const resolvedKeys = await resolveProviderKeys();
|
|
11697
11697
|
const registry = await createProviderRegistry(config, resolvedKeys);
|
|
@@ -11720,9 +11720,9 @@ program.command("ipc").description(
|
|
|
11720
11720
|
program.command("serve").description(
|
|
11721
11721
|
"Start the Brainstorm control plane HTTP API server (God Mode over HTTP)"
|
|
11722
11722
|
).option("--port <port>", "Port to listen on", "8000").option("--host <host>", "Host to bind to", "127.0.0.1").option("--cors", "Enable CORS for dashboard access").action(async (opts) => {
|
|
11723
|
-
const { connectGodMode, createProductConnectors, setAuditPersister } = await import("./dist-
|
|
11724
|
-
const { ChangeSetLogRepository } = await import("./dist-
|
|
11725
|
-
const { BrainstormServer } = await import("./dist-
|
|
11723
|
+
const { connectGodMode, createProductConnectors, setAuditPersister } = await import("./dist-5NJP3JHL.js");
|
|
11724
|
+
const { ChangeSetLogRepository } = await import("./dist-RUBJT7FI.js");
|
|
11725
|
+
const { BrainstormServer } = await import("./dist-KSUHKNET.js");
|
|
11726
11726
|
const config = loadConfig();
|
|
11727
11727
|
const port = parseInt(opts.port);
|
|
11728
11728
|
const host = opts.host;
|
|
@@ -11760,7 +11760,7 @@ program.command("serve").description(
|
|
|
11760
11760
|
});
|
|
11761
11761
|
const costTracker = new CostTracker(db, config.budget);
|
|
11762
11762
|
const tools = createDefaultToolRegistry();
|
|
11763
|
-
const { MemoryManager: ServerMemoryManager } = await import("./dist-
|
|
11763
|
+
const { MemoryManager: ServerMemoryManager } = await import("./dist-NTQ7LFRW.js");
|
|
11764
11764
|
const serverMemory = new ServerMemoryManager(process.cwd());
|
|
11765
11765
|
const wiredServerMemory = createWiredMemoryTool(serverMemory);
|
|
11766
11766
|
tools.unregister("memory");
|
|
@@ -11785,7 +11785,7 @@ program.command("serve").description(
|
|
|
11785
11785
|
connectors: { ...defaultConnectors, ...config.godmode.connectors }
|
|
11786
11786
|
};
|
|
11787
11787
|
const connectors = await createProductConnectors(mergedGmConfig);
|
|
11788
|
-
const { createAgentConnector } = await import("./agent-
|
|
11788
|
+
const { createAgentConnector } = await import("./agent-KTWFCMY5.js");
|
|
11789
11789
|
connectors.push(
|
|
11790
11790
|
createAgentConnector({
|
|
11791
11791
|
enabled: true,
|
|
@@ -11805,7 +11805,7 @@ program.command("serve").description(
|
|
|
11805
11805
|
for (const err of godmode.errors) {
|
|
11806
11806
|
console.log(` \u2717 ${err.name}: ${err.error}`);
|
|
11807
11807
|
}
|
|
11808
|
-
const { MemoryManager } = await import("./dist-
|
|
11808
|
+
const { MemoryManager } = await import("./dist-NTQ7LFRW.js");
|
|
11809
11809
|
const memoryManager = new MemoryManager(process.cwd());
|
|
11810
11810
|
const server = new BrainstormServer(
|
|
11811
11811
|
{
|
|
@@ -11946,7 +11946,7 @@ program.command("chat", { isDefault: true }).description("Start an interactive c
|
|
|
11946
11946
|
const projectPath = process.cwd();
|
|
11947
11947
|
const tools = createDefaultToolRegistry({ daemon: opts.daemon });
|
|
11948
11948
|
const chatGateway = createGatewayClient();
|
|
11949
|
-
const { MemoryManager: ChatMemoryManager } = await import("./dist-
|
|
11949
|
+
const { MemoryManager: ChatMemoryManager } = await import("./dist-NTQ7LFRW.js");
|
|
11950
11950
|
const chatMemory = new ChatMemoryManager(projectPath, chatGateway);
|
|
11951
11951
|
const wiredMemoryTool = createWiredMemoryTool(chatMemory);
|
|
11952
11952
|
tools.unregister("memory");
|
|
@@ -12001,7 +12001,7 @@ program.command("chat", { isDefault: true }).description("Start an interactive c
|
|
|
12001
12001
|
const resolvedBRKey = resolvedKeys.get("BRAINSTORM_API_KEY") ?? getBrainstormApiKey();
|
|
12002
12002
|
const isCommunityTier = isCommunityKey(resolvedBRKey);
|
|
12003
12003
|
if (resolvedBRKey) process.env._BR_RESOLVED_KEY = resolvedBRKey;
|
|
12004
|
-
const { RoutingAuditRepository, wireRoutingAudit } = await import("./dist-
|
|
12004
|
+
const { RoutingAuditRepository, wireRoutingAudit } = await import("./dist-RUBJT7FI.js");
|
|
12005
12005
|
const auditRepo = new RoutingAuditRepository(db);
|
|
12006
12006
|
const onEnvelope = wireRoutingAudit(auditRepo);
|
|
12007
12007
|
const [registry] = await Promise.all([
|
|
@@ -12064,8 +12064,8 @@ program.command("chat", { isDefault: true }).description("Start an interactive c
|
|
|
12064
12064
|
connectGodMode,
|
|
12065
12065
|
createProductConnectors,
|
|
12066
12066
|
setAuditPersister: setAuditPersisterChat
|
|
12067
|
-
} = await import("./dist-
|
|
12068
|
-
const { ChangeSetLogRepository: CSLogChat } = await import("./dist-
|
|
12067
|
+
} = await import("./dist-5NJP3JHL.js");
|
|
12068
|
+
const { ChangeSetLogRepository: CSLogChat } = await import("./dist-RUBJT7FI.js");
|
|
12069
12069
|
const csLogChat = new CSLogChat(db);
|
|
12070
12070
|
setAuditPersisterChat((entry) => {
|
|
12071
12071
|
csLogChat.log({
|
|
@@ -12096,7 +12096,7 @@ program.command("chat", { isDefault: true }).description("Start an interactive c
|
|
|
12096
12096
|
connectors: { ...defaultConnectors, ...config.godmode.connectors }
|
|
12097
12097
|
};
|
|
12098
12098
|
const activeConnectors = await createProductConnectors(mergedGmConfig);
|
|
12099
|
-
const { createAgentConnector: createAgentChat } = await import("./agent-
|
|
12099
|
+
const { createAgentConnector: createAgentChat } = await import("./agent-KTWFCMY5.js");
|
|
12100
12100
|
activeConnectors.push(
|
|
12101
12101
|
createAgentChat({
|
|
12102
12102
|
enabled: true,
|
|
@@ -12149,7 +12149,7 @@ program.command("chat", { isDefault: true }).description("Start an interactive c
|
|
|
12149
12149
|
printResumeSummary(session, sessionManager);
|
|
12150
12150
|
} else if (opts.continue) {
|
|
12151
12151
|
if (opts.daemon) {
|
|
12152
|
-
const { SessionRepository: SessRepoResume } = await import("./dist-
|
|
12152
|
+
const { SessionRepository: SessRepoResume } = await import("./dist-RUBJT7FI.js");
|
|
12153
12153
|
const sessRepoResume = new SessRepoResume(db);
|
|
12154
12154
|
const lastDaemon = sessRepoResume.getLastDaemon(projectPath);
|
|
12155
12155
|
if (lastDaemon) {
|
|
@@ -12203,8 +12203,8 @@ program.command("chat", { isDefault: true }).description("Start an interactive c
|
|
|
12203
12203
|
console.log(` Ctrl+C to interrupt, Ctrl+D to exit.
|
|
12204
12204
|
`);
|
|
12205
12205
|
if (opts.daemon) {
|
|
12206
|
-
const { DaemonController, DailyLog } = await import("./dist-
|
|
12207
|
-
const { DailyLogRepository, SessionRepository: SessRepo } = await import("./dist-
|
|
12206
|
+
const { DaemonController, DailyLog } = await import("./dist-NTQ7LFRW.js");
|
|
12207
|
+
const { DailyLogRepository, SessionRepository: SessRepo } = await import("./dist-RUBJT7FI.js");
|
|
12208
12208
|
const sessRepo = new SessRepo(db);
|
|
12209
12209
|
sessRepo.markDaemon(session.id, config.daemon.tickIntervalMs);
|
|
12210
12210
|
const dailyLogRepo = new DailyLogRepository(db);
|
|
@@ -12218,13 +12218,13 @@ program.command("chat", { isDefault: true }).description("Start an interactive c
|
|
|
12218
12218
|
});
|
|
12219
12219
|
const { TriggerRunner } = await import("./dist-T5ZWA7TA.js");
|
|
12220
12220
|
const triggerRunner = new TriggerRunner(db);
|
|
12221
|
-
const { MemoryManager, loadSkills } = await import("./dist-
|
|
12221
|
+
const { MemoryManager, loadSkills } = await import("./dist-NTQ7LFRW.js");
|
|
12222
12222
|
const daemonMemory = new MemoryManager(projectPath);
|
|
12223
12223
|
const daemonSkills = loadSkills(projectPath);
|
|
12224
12224
|
const wiredDaemonMemory = createWiredMemoryTool(daemonMemory);
|
|
12225
12225
|
tools.unregister("memory");
|
|
12226
12226
|
tools.register(wiredDaemonMemory);
|
|
12227
|
-
const { createPipelineDispatcher, runOrchestrationPipeline } = await import("./dist-
|
|
12227
|
+
const { createPipelineDispatcher, runOrchestrationPipeline } = await import("./dist-NTQ7LFRW.js");
|
|
12228
12228
|
const pipelineDispatcher = createPipelineDispatcher({
|
|
12229
12229
|
config,
|
|
12230
12230
|
registry,
|
|
@@ -12520,7 +12520,7 @@ program.command("chat", { isDefault: true }).description("Start an interactive c
|
|
|
12520
12520
|
if (!input2.trim()) continue;
|
|
12521
12521
|
if (input2.trim() === "/quit" || input2.trim() === "/exit") break;
|
|
12522
12522
|
if (input2.startsWith("/")) {
|
|
12523
|
-
const { isSlashCommand, executeSlashCommand } = await import("./slash-
|
|
12523
|
+
const { isSlashCommand, executeSlashCommand } = await import("./slash-WFDKT67A.js");
|
|
12524
12524
|
if (isSlashCommand(input2)) {
|
|
12525
12525
|
const result = await executeSlashCommand(input2, {
|
|
12526
12526
|
getModel: () => preferredModelId,
|
|
@@ -12721,7 +12721,7 @@ program.command("chat", { isDefault: true }).description("Start an interactive c
|
|
|
12721
12721
|
}
|
|
12722
12722
|
const { render } = await import("ink");
|
|
12723
12723
|
const React = await import("react");
|
|
12724
|
-
const { App } = await import("./App-
|
|
12724
|
+
const { App } = await import("./App-4GFCMEPX.js");
|
|
12725
12725
|
let currentAbortController = null;
|
|
12726
12726
|
function handleSendMessage(text) {
|
|
12727
12727
|
sessionManager.addUserMessage(text);
|
|
@@ -12837,7 +12837,7 @@ program.command("chat", { isDefault: true }).description("Start an interactive c
|
|
|
12837
12837
|
routingStream: sharedRoutingStream,
|
|
12838
12838
|
memoryInfo: await (async () => {
|
|
12839
12839
|
try {
|
|
12840
|
-
const { MemoryManager } = await import("./dist-
|
|
12840
|
+
const { MemoryManager } = await import("./dist-NTQ7LFRW.js");
|
|
12841
12841
|
const mem = new MemoryManager(projectPath);
|
|
12842
12842
|
const entries = mem.list();
|
|
12843
12843
|
const types2 = {};
|
|
@@ -12908,7 +12908,7 @@ program.command("chat", { isDefault: true }).description("Start an interactive c
|
|
|
12908
12908
|
await cb.compact({ contextWindow });
|
|
12909
12909
|
},
|
|
12910
12910
|
dream: async () => {
|
|
12911
|
-
const { MemoryManager, DREAM_SYSTEM_PROMPT, buildDreamPrompt } = await import("./dist-
|
|
12911
|
+
const { MemoryManager, DREAM_SYSTEM_PROMPT, buildDreamPrompt } = await import("./dist-NTQ7LFRW.js");
|
|
12912
12912
|
const memory = new MemoryManager(projectPath);
|
|
12913
12913
|
const rawFiles = memory.getRawFiles();
|
|
12914
12914
|
if (rawFiles.length === 0)
|