reevesagents 1.7.3 → 1.7.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +7 -0
- package/README.md +191 -352
- package/dist/{chunk-JX6SHZKB.js → chunk-CFDTC6GY.js} +2 -2
- package/dist/{chunk-GNS5ULTD.js → chunk-HIJYVPYH.js} +2 -2
- package/dist/{chunk-7K3XRI7L.js → chunk-LXZNX6EJ.js} +5 -5
- package/dist/{chunk-GSWMKYSU.js → chunk-PDJ2CPVO.js} +3 -3
- package/dist/{chunk-D24DQQ6V.js → chunk-Q3WWQP2R.js} +2 -2
- package/dist/{chunk-OVNVE2TJ.js → chunk-TIDTHK3L.js} +16 -16
- package/dist/{chunk-EXUYSBTC.js → chunk-UH6K25MG.js} +2 -2
- package/dist/{chunk-MKNSEZTG.js → chunk-X6EBVSC7.js} +4 -4
- package/dist/cli.js +27 -27
- package/dist/{extras-25AF6TAR.js → extras-MWGWGEPB.js} +2 -2
- package/dist/index.js +3 -3
- package/dist/{open-browser-DRSIJQ37.js → open-browser-IQ5MTCWZ.js} +2 -2
- package/dist/{router-RZANKWMI.js → router-KMZQ52T2.js} +96 -96
- package/dist/{server-R2A7E5WC.js → server-NREXCROR.js} +8 -9
- package/dist/{server-WLXS227K.js → server-Y2IEANCZ.js} +14 -14
- package/dist/{tui-launch-6V756ZBI.js → tui-launch-ESUQ7SYU.js} +2 -2
- package/package.json +17 -11
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
nowMs,
|
|
7
7
|
targetExists,
|
|
8
8
|
tmuxAvailable
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-PDJ2CPVO.js";
|
|
10
10
|
|
|
11
11
|
// src/core/reaper.ts
|
|
12
12
|
function sweepAgents(options = {}) {
|
|
@@ -183,4 +183,4 @@ export {
|
|
|
183
183
|
skillsStatus,
|
|
184
184
|
removeSkills
|
|
185
185
|
};
|
|
186
|
-
//# sourceMappingURL=chunk-
|
|
186
|
+
//# sourceMappingURL=chunk-CFDTC6GY.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
PROVIDER_DEFS
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-PDJ2CPVO.js";
|
|
5
5
|
|
|
6
6
|
// src/core/model-catalog.ts
|
|
7
7
|
var PROVIDER_DEFAULT_MODEL = "";
|
|
@@ -27,4 +27,4 @@ export {
|
|
|
27
27
|
modelDisplayName,
|
|
28
28
|
modelSourceForProvider
|
|
29
29
|
};
|
|
30
|
-
//# sourceMappingURL=chunk-
|
|
30
|
+
//# sourceMappingURL=chunk-HIJYVPYH.js.map
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
|
-
// src/
|
|
3
|
+
// src/surfaces/webui/tui-launch.ts
|
|
4
4
|
var handle = null;
|
|
5
5
|
var pending = null;
|
|
6
6
|
var launchToken = 0;
|
|
7
7
|
async function startWebFromTui() {
|
|
8
8
|
if (handle) {
|
|
9
|
-
const { openBrowser } = await import("./open-browser-
|
|
9
|
+
const { openBrowser } = await import("./open-browser-IQ5MTCWZ.js");
|
|
10
10
|
openBrowser(handle.url);
|
|
11
11
|
return handle.url;
|
|
12
12
|
}
|
|
@@ -25,10 +25,10 @@ async function startWebFromTui() {
|
|
|
25
25
|
}
|
|
26
26
|
}
|
|
27
27
|
async function startTuiWebServer() {
|
|
28
|
-
const { checkWebExtras, webExtrasMessage } = await import("./extras-
|
|
28
|
+
const { checkWebExtras, webExtrasMessage } = await import("./extras-MWGWGEPB.js");
|
|
29
29
|
const extras = await checkWebExtras();
|
|
30
30
|
if (!extras.ok) throw new Error(webExtrasMessage(extras.missing));
|
|
31
|
-
const { startWebServer } = await import("./server-
|
|
31
|
+
const { startWebServer } = await import("./server-Y2IEANCZ.js");
|
|
32
32
|
return startWebServer({ open: true });
|
|
33
33
|
}
|
|
34
34
|
async function closeTuiWebServer() {
|
|
@@ -48,4 +48,4 @@ export {
|
|
|
48
48
|
startWebFromTui,
|
|
49
49
|
closeTuiWebServer
|
|
50
50
|
};
|
|
51
|
-
//# sourceMappingURL=chunk-
|
|
51
|
+
//# sourceMappingURL=chunk-LXZNX6EJ.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
WEB_EXTRA_MODULES
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-Q3WWQP2R.js";
|
|
5
5
|
|
|
6
6
|
// src/core/model-data.ts
|
|
7
7
|
var CC_MODEL_SOURCE = "curated Claude Code aliases";
|
|
@@ -1843,7 +1843,7 @@ function openTmuxTarget(id, options = {}) {
|
|
|
1843
1843
|
return { session, window, label };
|
|
1844
1844
|
}
|
|
1845
1845
|
|
|
1846
|
-
// src/mcp/installer.ts
|
|
1846
|
+
// src/surfaces/mcp/installer.ts
|
|
1847
1847
|
import { execFileSync as execFileSync3 } from "child_process";
|
|
1848
1848
|
import { realpathSync, readFileSync as readFileSync4, writeFileSync as writeFileSync4, existsSync as existsSync4, mkdirSync as mkdirSync4 } from "fs";
|
|
1849
1849
|
import { homedir as homedir4 } from "os";
|
|
@@ -2439,4 +2439,4 @@ export {
|
|
|
2439
2439
|
checkTmux,
|
|
2440
2440
|
runDoctor
|
|
2441
2441
|
};
|
|
2442
|
-
//# sourceMappingURL=chunk-
|
|
2442
|
+
//# sourceMappingURL=chunk-PDJ2CPVO.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
|
-
// src/
|
|
3
|
+
// src/surfaces/webui/extras.ts
|
|
4
4
|
var WEB_EXTRA_MODULES = ["ws", "@lydell/node-pty"];
|
|
5
5
|
async function checkWebExtras() {
|
|
6
6
|
const missing = [];
|
|
@@ -33,4 +33,4 @@ export {
|
|
|
33
33
|
checkWebExtras,
|
|
34
34
|
webExtrasMessage
|
|
35
35
|
};
|
|
36
|
-
//# sourceMappingURL=chunk-
|
|
36
|
+
//# sourceMappingURL=chunk-Q3WWQP2R.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
DEFAULT_LANGUAGE
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-PDJ2CPVO.js";
|
|
5
5
|
|
|
6
6
|
// src/i18n/locales/en.ts
|
|
7
7
|
var en = {
|
|
@@ -850,7 +850,7 @@ var de = {
|
|
|
850
850
|
"peek interval (ms)": "Vorschau-Intervall (ms)",
|
|
851
851
|
"peek lines": "Vorschau-Zeilen",
|
|
852
852
|
"pending": "ausstehend",
|
|
853
|
-
"
|
|
853
|
+
"public install channels": "\xD6ffentliche Installationskan\xE4le",
|
|
854
854
|
"presets": "Vorlagen",
|
|
855
855
|
"press Esc to go back": "Esc dr\xFCcken, um zur\xFCckzugehen",
|
|
856
856
|
"provider": "Provider",
|
|
@@ -1432,7 +1432,7 @@ var fr = {
|
|
|
1432
1432
|
"peek interval (ms)": "Intervalle d'aper\xE7u (ms)",
|
|
1433
1433
|
"peek lines": "Lignes d'aper\xE7u",
|
|
1434
1434
|
"pending": "en attente",
|
|
1435
|
-
"
|
|
1435
|
+
"public install channels": "canaux d'installation publics",
|
|
1436
1436
|
"presets": "pr\xE9r\xE9glages",
|
|
1437
1437
|
"press Esc to go back": "appuyez sur Esc pour revenir",
|
|
1438
1438
|
"provider": "fournisseur",
|
|
@@ -2026,7 +2026,7 @@ var es = {
|
|
|
2026
2026
|
"peek interval (ms)": "Intervalo de ojeada (ms)",
|
|
2027
2027
|
"peek lines": "L\xEDneas de ojeada",
|
|
2028
2028
|
"pending": "pendiente",
|
|
2029
|
-
"
|
|
2029
|
+
"public install channels": "canales de instalaci\xF3n p\xFAblica",
|
|
2030
2030
|
"presets": "preajustes",
|
|
2031
2031
|
"press Esc to go back": "pulsa Esc para volver",
|
|
2032
2032
|
"provider": "proveedor",
|
|
@@ -2624,7 +2624,7 @@ var pt = {
|
|
|
2624
2624
|
"peek interval (ms)": "Intervalo de espreitadela (ms)",
|
|
2625
2625
|
"peek lines": "Linhas de espreitadela",
|
|
2626
2626
|
"pending": "pendente",
|
|
2627
|
-
"
|
|
2627
|
+
"public install channels": "canais de instala\xE7\xE3o p\xFAblica",
|
|
2628
2628
|
"presets": "predefini\xE7\xF5es",
|
|
2629
2629
|
"press Esc to go back": "prima esc para voltar",
|
|
2630
2630
|
"provider": "fornecedor",
|
|
@@ -3213,7 +3213,7 @@ var it = {
|
|
|
3213
3213
|
"peek interval (ms)": "Intervallo anteprima (ms)",
|
|
3214
3214
|
"peek lines": "Righe anteprima",
|
|
3215
3215
|
"pending": "in sospeso",
|
|
3216
|
-
"
|
|
3216
|
+
"public install channels": "canali di installazione pubblici",
|
|
3217
3217
|
"presets": "preset",
|
|
3218
3218
|
"press Esc to go back": "premi Esc per tornare indietro",
|
|
3219
3219
|
"provider agent inside the run session": "agente del provider nella sessione del run",
|
|
@@ -3805,7 +3805,7 @@ var tr = {
|
|
|
3805
3805
|
"peek interval (ms)": "Bak\u0131\u015F aral\u0131\u011F\u0131 (ms)",
|
|
3806
3806
|
"peek lines": "Bak\u0131\u015F sat\u0131rlar\u0131",
|
|
3807
3807
|
"pending": "bekliyor",
|
|
3808
|
-
"
|
|
3808
|
+
"public install channels": "herkese a\xE7\u0131k kurulum kanallar\u0131",
|
|
3809
3809
|
"presets": "haz\u0131r ayarlar",
|
|
3810
3810
|
"press Esc to go back": "geri d\xF6nmek i\xE7in Esc'e bas\u0131n",
|
|
3811
3811
|
"provider": "sa\u011Flay\u0131c\u0131",
|
|
@@ -4059,7 +4059,7 @@ var ru = {
|
|
|
4059
4059
|
"web.doctor": "\u0414\u0438\u0430\u0433\u043D\u043E\u0441\u0442\u0438\u043A\u0430",
|
|
4060
4060
|
"web.doctorSubtitle": "\u041F\u0440\u043E\u0432\u0435\u0440\u043A\u0438 \u0441\u043E\u0441\u0442\u043E\u044F\u043D\u0438\u044F \u043E\u043A\u0440\u0443\u0436\u0435\u043D\u0438\u044F \u0434\u043B\u044F \u044D\u0442\u043E\u0439 \u043C\u0430\u0448\u0438\u043D\u044B.",
|
|
4061
4061
|
"web.effort": "\u0423\u0441\u0438\u043B\u0438\u0435 \u0440\u0430\u0441\u0441\u0443\u0436\u0434\u0435\u043D\u0438\u0439",
|
|
4062
|
-
"web.effortHelp": "\u0411\u043E\u043B\u044C\u0448\u0435 \u0443\u0441\u0438\u043B\u0438\u0439 \
|
|
4062
|
+
"web.effortHelp": "\u0411\u043E\u043B\u044C\u0448\u0435 \u0443\u0441\u0438\u043B\u0438\u0439, \u0431\u043E\u043B\u044C\u0448\u0435 \u0440\u0435\u0441\u0443\u0440\u0441\u043E\u0432 \u043D\u0430 \u0440\u0430\u0441\u0441\u0443\u0436\u0434\u0435\u043D\u0438\u044F. \u0417\u043D\u0430\u0447\u0435\u043D\u0438\u0435 \u043F\u0440\u043E\u0432\u0430\u0439\u0434\u0435\u0440\u0430 \u043F\u043E \u0443\u043C\u043E\u043B\u0447\u0430\u043D\u0438\u044E \u0431\u0435\u0437\u043E\u043F\u0430\u0441\u043D\u0435\u0435 \u0432\u0441\u0435\u0433\u043E.",
|
|
4063
4063
|
"web.effortHigh": "\u0412\u044B\u0441\u043E\u043A\u043E\u0435",
|
|
4064
4064
|
"web.effortLow": "\u041D\u0438\u0437\u043A\u043E\u0435",
|
|
4065
4065
|
"web.effortMax": "\u041C\u0430\u043A\u0441\u0438\u043C\u0430\u043B\u044C\u043D\u043E\u0435",
|
|
@@ -4352,8 +4352,8 @@ var ru = {
|
|
|
4352
4352
|
"count": "\u043A\u043E\u043B\u0438\u0447\u0435\u0441\u0442\u0432\u043E",
|
|
4353
4353
|
"create a run with one or more agents": "\u0441\u043E\u0437\u0434\u0430\u0442\u044C run \u0441 \u043E\u0434\u043D\u0438\u043C \u0438\u043B\u0438 \u043D\u0435\u0441\u043A\u043E\u043B\u044C\u043A\u0438\u043C\u0438 \u0430\u0433\u0435\u043D\u0442\u0430\u043C\u0438",
|
|
4354
4354
|
"dashboard, lifecycle, agents, output": "\u043F\u0430\u043D\u0435\u043B\u044C, \u0436\u0438\u0437\u043D\u0435\u043D\u043D\u044B\u0439 \u0446\u0438\u043A\u043B, \u0430\u0433\u0435\u043D\u0442\u044B, \u0432\u044B\u0432\u043E\u0434",
|
|
4355
|
-
"defaults to the run working dir": "\u043F\u043E \u0443\u043C\u043E\u043B\u0447\u0430\u043D\u0438\u044E \
|
|
4356
|
-
"defaults to where you ran reevesagents": "\u043F\u043E \u0443\u043C\u043E\u043B\u0447\u0430\u043D\u0438\u044E \
|
|
4355
|
+
"defaults to the run working dir": "\u043F\u043E \u0443\u043C\u043E\u043B\u0447\u0430\u043D\u0438\u044E: \u0440\u0430\u0431\u043E\u0447\u0430\u044F \u043F\u0430\u043F\u043A\u0430 run",
|
|
4356
|
+
"defaults to where you ran reevesagents": "\u043F\u043E \u0443\u043C\u043E\u043B\u0447\u0430\u043D\u0438\u044E: \u043F\u0430\u043F\u043A\u0430, \u043E\u0442\u043A\u0443\u0434\u0430 \u0437\u0430\u043F\u0443\u0449\u0435\u043D reevesagents",
|
|
4357
4357
|
"default permissions": "\u0420\u0430\u0437\u0440\u0435\u0448\u0435\u043D\u0438\u044F \u043F\u043E \u0443\u043C\u043E\u043B\u0447\u0430\u043D\u0438\u044E",
|
|
4358
4358
|
"delete and return": "\u0443\u0434\u0430\u043B\u0438\u0442\u044C \u0438 \u0432\u0435\u0440\u043D\u0443\u0442\u044C\u0441\u044F",
|
|
4359
4359
|
"delete archived run": "\u0443\u0434\u0430\u043B\u0438\u0442\u044C \u0430\u0440\u0445\u0438\u0432\u043D\u044B\u0439 run",
|
|
@@ -4398,14 +4398,14 @@ var ru = {
|
|
|
4398
4398
|
"ok": "\u043E\u043A",
|
|
4399
4399
|
"open the visible-menu TUI": "\u043E\u0442\u043A\u0440\u044B\u0442\u044C TUI \u0441 \u043C\u0435\u043D\u044E",
|
|
4400
4400
|
"optional initial prompt \xB7 enter newline \xB7 esc done": "\u043D\u0435\u043E\u0431\u044F\u0437\u0430\u0442\u0435\u043B\u044C\u043D\u044B\u0439 \u043D\u0430\u0447\u0430\u043B\u044C\u043D\u044B\u0439 \u043F\u0440\u043E\u043C\u043F\u0442 \xB7 enter \u043D\u043E\u0432\u0430\u044F \u0441\u0442\u0440\u043E\u043A\u0430 \xB7 esc \u0433\u043E\u0442\u043E\u0432\u043E",
|
|
4401
|
-
"optional \xB7 blank uses provider default": "\u043D\u0435\u043E\u0431\u044F\u0437\u0430\u0442\u0435\u043B\u044C\u043D\u043E \xB7 \u043F\u0443\u0441\u0442\u043E \
|
|
4402
|
-
"optional, defaults to the run working dir": "\u043D\u0435\u043E\u0431\u044F\u0437\u0430\u0442\u0435\u043B\u044C\u043D\u043E, \u043F\u043E \u0443\u043C\u043E\u043B\u0447\u0430\u043D\u0438\u044E \
|
|
4401
|
+
"optional \xB7 blank uses provider default": "\u043D\u0435\u043E\u0431\u044F\u0437\u0430\u0442\u0435\u043B\u044C\u043D\u043E \xB7 \u043F\u0443\u0441\u0442\u043E: \u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435 \u043F\u0440\u043E\u0432\u0430\u0439\u0434\u0435\u0440\u0430 \u043F\u043E \u0443\u043C\u043E\u043B\u0447\u0430\u043D\u0438\u044E",
|
|
4402
|
+
"optional, defaults to the run working dir": "\u043D\u0435\u043E\u0431\u044F\u0437\u0430\u0442\u0435\u043B\u044C\u043D\u043E, \u043F\u043E \u0443\u043C\u043E\u043B\u0447\u0430\u043D\u0438\u044E: \u0440\u0430\u0431\u043E\u0447\u0430\u044F \u043F\u0430\u043F\u043A\u0430 run",
|
|
4403
4403
|
"peek across agents": "\u043F\u0440\u043E\u0441\u043C\u043E\u0442\u0440\u0435\u0442\u044C \u0432\u044B\u0432\u043E\u0434 \u0430\u0433\u0435\u043D\u0442\u043E\u0432",
|
|
4404
4404
|
"peek across all agents": "\u043F\u0440\u043E\u0441\u043C\u043E\u0442\u0440\u0435\u0442\u044C \u0432\u044B\u0432\u043E\u0434 \u0432\u0441\u0435\u0445 \u0430\u0433\u0435\u043D\u0442\u043E\u0432",
|
|
4405
4405
|
"peek interval (ms)": "\u0418\u043D\u0442\u0435\u0440\u0432\u0430\u043B \u043F\u0440\u043E\u0441\u043C\u043E\u0442\u0440\u0430 (\u043C\u0441)",
|
|
4406
4406
|
"peek lines": "\u0421\u0442\u0440\u043E\u043A \u043F\u0440\u043E\u0441\u043C\u043E\u0442\u0440\u0430",
|
|
4407
4407
|
"pending": "\u043E\u0436\u0438\u0434\u0430\u0435\u0442",
|
|
4408
|
-
"
|
|
4408
|
+
"public install channels": "\u043A\u0430\u043D\u0430\u043B\u044B \u043F\u0443\u0431\u043B\u0438\u0447\u043D\u043E\u0439 \u0443\u0441\u0442\u0430\u043D\u043E\u0432\u043A\u0438",
|
|
4409
4409
|
"presets": "\u043F\u0440\u0435\u0441\u0435\u0442\u044B",
|
|
4410
4410
|
"press Esc to go back": "\u043D\u0430\u0436\u043C\u0438\u0442\u0435 Esc, \u0447\u0442\u043E\u0431\u044B \u0432\u0435\u0440\u043D\u0443\u0442\u044C\u0441\u044F",
|
|
4411
4411
|
"provider": "\u043F\u0440\u043E\u0432\u0430\u0439\u0434\u0435\u0440",
|
|
@@ -5008,7 +5008,7 @@ var zhHans = {
|
|
|
5008
5008
|
"peek interval (ms)": "\u67E5\u770B\u95F4\u9694 (ms)",
|
|
5009
5009
|
"peek lines": "\u67E5\u770B\u884C\u6570",
|
|
5010
5010
|
"pending": "\u5F85\u5904\u7406",
|
|
5011
|
-
"
|
|
5011
|
+
"public install channels": "\u516C\u5F00\u5B89\u88C5\u6E20\u9053",
|
|
5012
5012
|
"presets": "\u9884\u8BBE",
|
|
5013
5013
|
"press Esc to go back": "\u6309 esc \u8FD4\u56DE",
|
|
5014
5014
|
"provider": "\u670D\u52A1\u5546",
|
|
@@ -5612,7 +5612,7 @@ var ar = {
|
|
|
5612
5612
|
"peek interval (ms)": "\u0641\u062A\u0631\u0629 \u0627\u0644\u0627\u0637\u0651\u0644\u0627\u0639 (ms)",
|
|
5613
5613
|
"peek lines": "\u0623\u0633\u0637\u0631 \u0627\u0644\u0627\u0637\u0651\u0644\u0627\u0639",
|
|
5614
5614
|
"pending": "\u0645\u0639\u0644\u0651\u0642",
|
|
5615
|
-
"
|
|
5615
|
+
"public install channels": "\u0642\u0646\u0648\u0627\u062A \u0627\u0644\u062A\u062B\u0628\u064A\u062A \u0627\u0644\u0639\u0627\u0645\u0629",
|
|
5616
5616
|
"presets": "\u0625\u0639\u062F\u0627\u062F\u0627\u062A \u062C\u0627\u0647\u0632\u0629",
|
|
5617
5617
|
"press Esc to go back": "\u0627\u0636\u063A\u0637 Esc \u0644\u0644\u0631\u062C\u0648\u0639",
|
|
5618
5618
|
"provider": "\u0627\u0644\u0645\u0632\u0648\u0651\u062F",
|
|
@@ -5712,4 +5712,4 @@ export {
|
|
|
5712
5712
|
localeCatalog,
|
|
5713
5713
|
translatePhrase
|
|
5714
5714
|
};
|
|
5715
|
-
//# sourceMappingURL=chunk-
|
|
5715
|
+
//# sourceMappingURL=chunk-TIDTHK3L.js.map
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
redactSecrets,
|
|
7
7
|
runDir,
|
|
8
8
|
withRunsLock
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-PDJ2CPVO.js";
|
|
10
10
|
|
|
11
11
|
// src/version.ts
|
|
12
12
|
import { readFileSync } from "fs";
|
|
@@ -168,4 +168,4 @@ export {
|
|
|
168
168
|
listRunApprovals,
|
|
169
169
|
resolveRunApproval
|
|
170
170
|
};
|
|
171
|
-
//# sourceMappingURL=chunk-
|
|
171
|
+
//# sourceMappingURL=chunk-UH6K25MG.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
installSkills
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-CFDTC6GY.js";
|
|
5
5
|
import {
|
|
6
6
|
attachAll,
|
|
7
7
|
checkTmux,
|
|
@@ -11,9 +11,9 @@ import {
|
|
|
11
11
|
resolveLaunchCmd,
|
|
12
12
|
stateRoot,
|
|
13
13
|
verifyServerLaunch
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-PDJ2CPVO.js";
|
|
15
15
|
|
|
16
|
-
// src/tui/open-token.ts
|
|
16
|
+
// src/surfaces/tui/open-token.ts
|
|
17
17
|
import { mkdirSync, readFileSync, writeFileSync } from "fs";
|
|
18
18
|
import { join } from "path";
|
|
19
19
|
function tokenPath() {
|
|
@@ -67,4 +67,4 @@ export {
|
|
|
67
67
|
runOnboarding,
|
|
68
68
|
suggestedAgentPrompt
|
|
69
69
|
};
|
|
70
|
-
//# sourceMappingURL=chunk-
|
|
70
|
+
//# sourceMappingURL=chunk-X6EBVSC7.js.map
|
package/dist/cli.js
CHANGED
|
@@ -4,21 +4,21 @@ import {
|
|
|
4
4
|
runOnboarding,
|
|
5
5
|
suggestedAgentPrompt,
|
|
6
6
|
writeTuiOpenToken
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-X6EBVSC7.js";
|
|
8
8
|
import {
|
|
9
9
|
installSkills,
|
|
10
10
|
removeSkills,
|
|
11
11
|
skillsStatus,
|
|
12
12
|
sweepAgents
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-CFDTC6GY.js";
|
|
14
14
|
import {
|
|
15
15
|
MODEL_CATALOG
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-HIJYVPYH.js";
|
|
17
17
|
import {
|
|
18
18
|
REEVESAGENTS_VERSION,
|
|
19
19
|
listRunApprovals,
|
|
20
20
|
resolveRunApproval
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-UH6K25MG.js";
|
|
22
22
|
import {
|
|
23
23
|
ALLOWED_KEYS,
|
|
24
24
|
CONFIG_FIELDS,
|
|
@@ -64,15 +64,15 @@ import {
|
|
|
64
64
|
verifyServerLaunch,
|
|
65
65
|
windowByName,
|
|
66
66
|
windowIds
|
|
67
|
-
} from "./chunk-
|
|
68
|
-
import "./chunk-
|
|
67
|
+
} from "./chunk-PDJ2CPVO.js";
|
|
68
|
+
import "./chunk-Q3WWQP2R.js";
|
|
69
69
|
|
|
70
|
-
// src/cli/index.ts
|
|
70
|
+
// src/surfaces/cli/index.ts
|
|
71
71
|
import { Command } from "commander";
|
|
72
72
|
import { realpathSync } from "fs";
|
|
73
73
|
import { fileURLToPath } from "url";
|
|
74
74
|
|
|
75
|
-
// src/cli/color-env.ts
|
|
75
|
+
// src/surfaces/cli/color-env.ts
|
|
76
76
|
function prepareTuiColorEnv() {
|
|
77
77
|
if (process.env.REEVES_NO_COLOR === "1") {
|
|
78
78
|
delete process.env.FORCE_COLOR;
|
|
@@ -88,7 +88,7 @@ function prepareTuiColorEnv() {
|
|
|
88
88
|
}
|
|
89
89
|
}
|
|
90
90
|
|
|
91
|
-
// src/cli/tui-launcher.ts
|
|
91
|
+
// src/surfaces/cli/tui-launcher.ts
|
|
92
92
|
import { execFileSync } from "child_process";
|
|
93
93
|
function isTuiCommand(command) {
|
|
94
94
|
return command === "node" || command === "reevesagents";
|
|
@@ -128,10 +128,10 @@ function openTuiSession(command) {
|
|
|
128
128
|
execFileSync("tmux", ["attach", "-t", exactSession(session)], { stdio: "inherit" });
|
|
129
129
|
}
|
|
130
130
|
|
|
131
|
-
// src/cli/run.ts
|
|
131
|
+
// src/surfaces/cli/run.ts
|
|
132
132
|
import { execFileSync as execFileSync2 } from "child_process";
|
|
133
133
|
|
|
134
|
-
// src/cli/helpers.ts
|
|
134
|
+
// src/surfaces/cli/helpers.ts
|
|
135
135
|
function resolveRun(id) {
|
|
136
136
|
const runs = listRuns();
|
|
137
137
|
const exact = runs.find((run) => run.id === id || run.name === id);
|
|
@@ -158,7 +158,7 @@ function requireDestructiveConfirmation(opts, command) {
|
|
|
158
158
|
throw new Error(`refusing to ${command} without --yes or ALLOW_DESTRUCTIVE=1`);
|
|
159
159
|
}
|
|
160
160
|
|
|
161
|
-
// src/cli/run.ts
|
|
161
|
+
// src/surfaces/cli/run.ts
|
|
162
162
|
function age(startedAt) {
|
|
163
163
|
const seconds = Math.max(0, Math.floor((Date.now() - new Date(startedAt).getTime()) / 1e3));
|
|
164
164
|
if (seconds < 60) return `${seconds}s`;
|
|
@@ -429,7 +429,7 @@ function registerStop(program2) {
|
|
|
429
429
|
});
|
|
430
430
|
}
|
|
431
431
|
|
|
432
|
-
// src/cli/agents.ts
|
|
432
|
+
// src/surfaces/cli/agents.ts
|
|
433
433
|
function registerPeek(program2) {
|
|
434
434
|
program2.command("peek <agent-id>").description("show recent output from one agent").option("-n, --lines <n>", "number of lines", "20").option("--json", "output JSON with lines array").action((id, opts) => {
|
|
435
435
|
const agent = resolveAgent(id);
|
|
@@ -525,7 +525,7 @@ function registerAgents(program2) {
|
|
|
525
525
|
});
|
|
526
526
|
}
|
|
527
527
|
|
|
528
|
-
// src/cli/history.ts
|
|
528
|
+
// src/surfaces/cli/history.ts
|
|
529
529
|
function registerDeleteRun(program2) {
|
|
530
530
|
program2.command("delete-run <run-id>").description("delete an ended run").option("-y, --yes", "confirm delete").action((id, opts) => {
|
|
531
531
|
requireDestructiveConfirmation(opts, "delete run");
|
|
@@ -561,7 +561,7 @@ function registerDeleteHistory(program2) {
|
|
|
561
561
|
});
|
|
562
562
|
}
|
|
563
563
|
|
|
564
|
-
// src/cli/providers.ts
|
|
564
|
+
// src/surfaces/cli/providers.ts
|
|
565
565
|
function registerProviders(program2) {
|
|
566
566
|
program2.command("providers").description("list providers with availability and known models").option("--json", "output JSON array").option("--models", "also print each provider's known models").action((opts) => {
|
|
567
567
|
const available = detectAvailable();
|
|
@@ -585,7 +585,7 @@ function registerProviders(program2) {
|
|
|
585
585
|
});
|
|
586
586
|
}
|
|
587
587
|
|
|
588
|
-
// src/cli/approvals.ts
|
|
588
|
+
// src/surfaces/cli/approvals.ts
|
|
589
589
|
function registerApprovals(program2) {
|
|
590
590
|
program2.command("approvals").description("list pending approvals").option("--json", "output JSON array").action((opts) => {
|
|
591
591
|
const approvals = listRunApprovals(void 0, "pending");
|
|
@@ -625,7 +625,7 @@ function registerDeny(program2) {
|
|
|
625
625
|
});
|
|
626
626
|
}
|
|
627
627
|
|
|
628
|
-
// src/cli/setup.ts
|
|
628
|
+
// src/surfaces/cli/setup.ts
|
|
629
629
|
function registerSetup(program2) {
|
|
630
630
|
program2.command("setup").description("check your setup and connect installed CLIs (the first-run wizard)").option("--attach", "connect reevesagents to every installed host CLI (default only reports)").option("--json", "print the onboarding state as JSON").action(async (opts) => {
|
|
631
631
|
try {
|
|
@@ -746,7 +746,7 @@ function registerDoctor(program2) {
|
|
|
746
746
|
});
|
|
747
747
|
}
|
|
748
748
|
|
|
749
|
-
// src/cli/hosts.ts
|
|
749
|
+
// src/surfaces/cli/hosts.ts
|
|
750
750
|
function registerHosts(program2) {
|
|
751
751
|
program2.command("hosts").description("list MCP host CLIs and whether reevesagents is attached").option("--json", "output JSON array").action((opts) => {
|
|
752
752
|
const hosts = hostStatus();
|
|
@@ -812,7 +812,7 @@ function registerDetach(program2) {
|
|
|
812
812
|
function registerMcp(program2) {
|
|
813
813
|
program2.command("mcp").description("start the agent control MCP server over stdio (for CLIs that have it attached)").action(async () => {
|
|
814
814
|
try {
|
|
815
|
-
const { startAgentMcpServer } = await import("./server-
|
|
815
|
+
const { startAgentMcpServer } = await import("./server-NREXCROR.js");
|
|
816
816
|
await startAgentMcpServer();
|
|
817
817
|
} catch (err) {
|
|
818
818
|
console.error(err instanceof Error ? err.message : String(err));
|
|
@@ -821,7 +821,7 @@ function registerMcp(program2) {
|
|
|
821
821
|
});
|
|
822
822
|
}
|
|
823
823
|
|
|
824
|
-
// src/cli/config.ts
|
|
824
|
+
// src/surfaces/cli/config.ts
|
|
825
825
|
function registerConfig(program2) {
|
|
826
826
|
program2.command("config [key] [value]").description(`show config, get one value, or set one (keys: ${CONFIG_FIELDS.map((field) => field.key).join(", ")})`).option("--json", "output JSON for show or get").action((key, value, opts) => {
|
|
827
827
|
try {
|
|
@@ -852,7 +852,7 @@ function registerConfig(program2) {
|
|
|
852
852
|
});
|
|
853
853
|
}
|
|
854
854
|
|
|
855
|
-
// src/cli/presets.ts
|
|
855
|
+
// src/surfaces/cli/presets.ts
|
|
856
856
|
function registerPresets(program2) {
|
|
857
857
|
program2.command("presets").description("list saved presets").option("--json", "output JSON array").action((opts) => {
|
|
858
858
|
const presets = listPresets();
|
|
@@ -902,15 +902,15 @@ function registerStartPreset(program2) {
|
|
|
902
902
|
});
|
|
903
903
|
}
|
|
904
904
|
|
|
905
|
-
// src/cli/web.ts
|
|
905
|
+
// src/surfaces/cli/web.ts
|
|
906
906
|
async function runWeb(opts) {
|
|
907
|
-
const { checkWebExtras, webExtrasMessage } = await import("./extras-
|
|
907
|
+
const { checkWebExtras, webExtrasMessage } = await import("./extras-MWGWGEPB.js");
|
|
908
908
|
const extras = await checkWebExtras();
|
|
909
909
|
if (!extras.ok) {
|
|
910
910
|
console.error(webExtrasMessage(extras.missing));
|
|
911
911
|
process.exit(1);
|
|
912
912
|
}
|
|
913
|
-
const { startWebServer } = await import("./server-
|
|
913
|
+
const { startWebServer } = await import("./server-Y2IEANCZ.js");
|
|
914
914
|
const parsed = opts.port ? Number.parseInt(opts.port, 10) : void 0;
|
|
915
915
|
const handle = await startWebServer({
|
|
916
916
|
port: parsed !== void 0 && Number.isFinite(parsed) ? parsed : void 0,
|
|
@@ -933,7 +933,7 @@ function registerWeb(program2) {
|
|
|
933
933
|
});
|
|
934
934
|
}
|
|
935
935
|
|
|
936
|
-
// src/cli/index.ts
|
|
936
|
+
// src/surfaces/cli/index.ts
|
|
937
937
|
var program = new Command();
|
|
938
938
|
program.name("reevesagents").description("local tmux-first workspace manager for AI CLI agents").version(REEVESAGENTS_VERSION).addHelpText("after", `
|
|
939
939
|
First steps:
|
|
@@ -981,12 +981,12 @@ async function renderTui() {
|
|
|
981
981
|
const [{ default: React }, { render }, { Router }] = await Promise.all([
|
|
982
982
|
import("react"),
|
|
983
983
|
import("ink"),
|
|
984
|
-
import("./router-
|
|
984
|
+
import("./router-KMZQ52T2.js")
|
|
985
985
|
]);
|
|
986
986
|
try {
|
|
987
987
|
await render(React.createElement(Router), { alternateScreen: false }).waitUntilExit();
|
|
988
988
|
} finally {
|
|
989
|
-
const { closeTuiWebServer } = await import("./tui-launch-
|
|
989
|
+
const { closeTuiWebServer } = await import("./tui-launch-ESUQ7SYU.js");
|
|
990
990
|
await closeTuiWebServer();
|
|
991
991
|
}
|
|
992
992
|
process.exit(0);
|
|
@@ -3,10 +3,10 @@ import {
|
|
|
3
3
|
WEB_EXTRA_MODULES,
|
|
4
4
|
checkWebExtras,
|
|
5
5
|
webExtrasMessage
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-Q3WWQP2R.js";
|
|
7
7
|
export {
|
|
8
8
|
WEB_EXTRA_MODULES,
|
|
9
9
|
checkWebExtras,
|
|
10
10
|
webExtrasMessage
|
|
11
11
|
};
|
|
12
|
-
//# sourceMappingURL=extras-
|
|
12
|
+
//# sourceMappingURL=extras-MWGWGEPB.js.map
|
package/dist/index.js
CHANGED
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
modelDisplayName,
|
|
7
7
|
modelSourceForProvider,
|
|
8
8
|
modelValuesForProvider
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-HIJYVPYH.js";
|
|
10
10
|
import {
|
|
11
11
|
BIN,
|
|
12
12
|
PROVIDERS,
|
|
@@ -39,8 +39,8 @@ import {
|
|
|
39
39
|
startRun,
|
|
40
40
|
stateRoot,
|
|
41
41
|
stopRun
|
|
42
|
-
} from "./chunk-
|
|
43
|
-
import "./chunk-
|
|
42
|
+
} from "./chunk-PDJ2CPVO.js";
|
|
43
|
+
import "./chunk-Q3WWQP2R.js";
|
|
44
44
|
export {
|
|
45
45
|
BIN,
|
|
46
46
|
MODEL_CATALOG,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
|
-
// src/
|
|
3
|
+
// src/surfaces/webui/open-browser.ts
|
|
4
4
|
import { spawn } from "child_process";
|
|
5
5
|
function browserOpenCommand(url, env = process.env, platform = process.platform) {
|
|
6
6
|
if (platform === "darwin") return { cmd: "open", args: [url] };
|
|
@@ -23,4 +23,4 @@ export {
|
|
|
23
23
|
browserOpenCommand,
|
|
24
24
|
openBrowser
|
|
25
25
|
};
|
|
26
|
-
//# sourceMappingURL=open-browser-
|
|
26
|
+
//# sourceMappingURL=open-browser-IQ5MTCWZ.js.map
|