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
|
@@ -2,23 +2,23 @@
|
|
|
2
2
|
import {
|
|
3
3
|
buildOnboardingState,
|
|
4
4
|
readTuiOpenToken
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-X6EBVSC7.js";
|
|
6
6
|
import {
|
|
7
7
|
sweepAgentsThrottled
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-CFDTC6GY.js";
|
|
9
9
|
import {
|
|
10
10
|
translate,
|
|
11
11
|
translatePhrase
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-TIDTHK3L.js";
|
|
13
13
|
import {
|
|
14
14
|
modelDisplayName,
|
|
15
15
|
modelValuesForProvider
|
|
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
|
CONFIG_FIELDS,
|
|
24
24
|
DEFAULT_LANGUAGE,
|
|
@@ -70,20 +70,20 @@ import {
|
|
|
70
70
|
startRunFromPreset,
|
|
71
71
|
stateRoot,
|
|
72
72
|
stopRun
|
|
73
|
-
} from "./chunk-
|
|
74
|
-
import "./chunk-
|
|
73
|
+
} from "./chunk-PDJ2CPVO.js";
|
|
74
|
+
import "./chunk-Q3WWQP2R.js";
|
|
75
75
|
import {
|
|
76
76
|
startWebFromTui
|
|
77
|
-
} from "./chunk-
|
|
77
|
+
} from "./chunk-LXZNX6EJ.js";
|
|
78
78
|
|
|
79
|
-
// src/tui/router.tsx
|
|
79
|
+
// src/surfaces/tui/router.tsx
|
|
80
80
|
import { createContext as createContext6, useContext as useContext6, useState as useState37, useCallback as useCallback5, useEffect as useEffect17, useRef as useRef4 } from "react";
|
|
81
81
|
import { useApp as useApp3 } from "ink";
|
|
82
82
|
|
|
83
|
-
// src/tui/contexts/ToastContext.tsx
|
|
83
|
+
// src/surfaces/tui/contexts/ToastContext.tsx
|
|
84
84
|
import { createContext, useCallback, useContext, useEffect, useRef, useState } from "react";
|
|
85
85
|
|
|
86
|
-
// src/tui/utils/tokens.ts
|
|
86
|
+
// src/surfaces/tui/utils/tokens.ts
|
|
87
87
|
var colors = {
|
|
88
88
|
text: {
|
|
89
89
|
primary: "#ece7dc",
|
|
@@ -151,7 +151,7 @@ var space = {
|
|
|
151
151
|
lg: 3
|
|
152
152
|
};
|
|
153
153
|
|
|
154
|
-
// src/tui/contexts/ToastContext.tsx
|
|
154
|
+
// src/surfaces/tui/contexts/ToastContext.tsx
|
|
155
155
|
import { jsx } from "react/jsx-runtime";
|
|
156
156
|
var ToastContext = createContext(null);
|
|
157
157
|
var AUTO_DISMISS_MS = 4e3;
|
|
@@ -185,7 +185,7 @@ function severityColor(s) {
|
|
|
185
185
|
return colors.accent.bright;
|
|
186
186
|
}
|
|
187
187
|
|
|
188
|
-
// src/tui/contexts/WizardContext.tsx
|
|
188
|
+
// src/surfaces/tui/contexts/WizardContext.tsx
|
|
189
189
|
import { createContext as createContext2, useContext as useContext2, useState as useState2, useCallback as useCallback2 } from "react";
|
|
190
190
|
import { jsx as jsx2 } from "react/jsx-runtime";
|
|
191
191
|
var WizardContext = createContext2(null);
|
|
@@ -259,7 +259,7 @@ function WizardProvider({ children }) {
|
|
|
259
259
|
}, children });
|
|
260
260
|
}
|
|
261
261
|
|
|
262
|
-
// src/tui/contexts/WorkerDraftContext.tsx
|
|
262
|
+
// src/surfaces/tui/contexts/WorkerDraftContext.tsx
|
|
263
263
|
import { createContext as createContext3, useContext as useContext3, useState as useState3, useCallback as useCallback3 } from "react";
|
|
264
264
|
import { jsx as jsx3 } from "react/jsx-runtime";
|
|
265
265
|
var WorkerDraftContext = createContext3(null);
|
|
@@ -290,7 +290,7 @@ function WorkerDraftProvider({ children }) {
|
|
|
290
290
|
return /* @__PURE__ */ jsx3(WorkerDraftContext.Provider, { value: { draft, update, reset }, children });
|
|
291
291
|
}
|
|
292
292
|
|
|
293
|
-
// src/tui/contexts/LanguageContext.tsx
|
|
293
|
+
// src/surfaces/tui/contexts/LanguageContext.tsx
|
|
294
294
|
import { createContext as createContext4, useCallback as useCallback4, useContext as useContext4, useState as useState4 } from "react";
|
|
295
295
|
import { jsx as jsx4 } from "react/jsx-runtime";
|
|
296
296
|
var LanguageContext = createContext4(null);
|
|
@@ -325,7 +325,7 @@ function tuiLanguageLabel(code) {
|
|
|
325
325
|
return `${option.flag} ${option.nativeName}`;
|
|
326
326
|
}
|
|
327
327
|
|
|
328
|
-
// src/tui/components/ErrorBoundary.tsx
|
|
328
|
+
// src/surfaces/tui/components/ErrorBoundary.tsx
|
|
329
329
|
import { Component } from "react";
|
|
330
330
|
import { Box, Text } from "ink";
|
|
331
331
|
import { jsx as jsx5, jsxs } from "react/jsx-runtime";
|
|
@@ -353,18 +353,18 @@ var ErrorBoundary = class extends Component {
|
|
|
353
353
|
}
|
|
354
354
|
};
|
|
355
355
|
|
|
356
|
-
// src/tui/screens/LanguageSelect.tsx
|
|
356
|
+
// src/surfaces/tui/screens/LanguageSelect.tsx
|
|
357
357
|
import { useState as useState5 } from "react";
|
|
358
358
|
import { Box as Box9, Text as Text9, useInput, useWindowSize as useWindowSize2 } from "ink";
|
|
359
359
|
|
|
360
|
-
// src/tui/components/Frame.tsx
|
|
360
|
+
// src/surfaces/tui/components/Frame.tsx
|
|
361
361
|
import { useInsertionEffect, useRef as useRef2 } from "react";
|
|
362
362
|
import { Box as Box6, Text as Text6, useWindowSize } from "ink";
|
|
363
363
|
|
|
364
|
-
// src/tui/components/Header.tsx
|
|
364
|
+
// src/surfaces/tui/components/Header.tsx
|
|
365
365
|
import { Box as Box2, Text as Text2 } from "ink";
|
|
366
366
|
|
|
367
|
-
// src/tui/utils/glyphs.ts
|
|
367
|
+
// src/surfaces/tui/utils/glyphs.ts
|
|
368
368
|
var glyphs = {
|
|
369
369
|
cursor: {
|
|
370
370
|
focused: "\u276F",
|
|
@@ -382,7 +382,7 @@ var glyphs = {
|
|
|
382
382
|
}
|
|
383
383
|
};
|
|
384
384
|
|
|
385
|
-
// src/tui/utils/width.ts
|
|
385
|
+
// src/surfaces/tui/utils/width.ts
|
|
386
386
|
import stringWidth from "string-width";
|
|
387
387
|
function displayWidth(text) {
|
|
388
388
|
return stringWidth(text);
|
|
@@ -392,7 +392,7 @@ function padEndDisplay(text, targetWidth) {
|
|
|
392
392
|
return gap > 0 ? text + " ".repeat(gap) : text;
|
|
393
393
|
}
|
|
394
394
|
|
|
395
|
-
// src/tui/components/Header.tsx
|
|
395
|
+
// src/surfaces/tui/components/Header.tsx
|
|
396
396
|
import { jsx as jsx6, jsxs as jsxs2 } from "react/jsx-runtime";
|
|
397
397
|
function Header({ breadcrumb, meta, tmuxSession, columns }) {
|
|
398
398
|
const width = Math.max(1, columns - 1);
|
|
@@ -436,7 +436,7 @@ function Header({ breadcrumb, meta, tmuxSession, columns }) {
|
|
|
436
436
|
] });
|
|
437
437
|
}
|
|
438
438
|
|
|
439
|
-
// src/tui/components/Tagline.tsx
|
|
439
|
+
// src/surfaces/tui/components/Tagline.tsx
|
|
440
440
|
import { Box as Box3, Text as Text3 } from "ink";
|
|
441
441
|
import { jsx as jsx7, jsxs as jsxs3 } from "react/jsx-runtime";
|
|
442
442
|
function Tagline({ text, rows, cols }) {
|
|
@@ -455,10 +455,10 @@ function Tagline({ text, rows, cols }) {
|
|
|
455
455
|
] });
|
|
456
456
|
}
|
|
457
457
|
|
|
458
|
-
// src/tui/components/Detail.tsx
|
|
458
|
+
// src/surfaces/tui/components/Detail.tsx
|
|
459
459
|
import { Box as Box4, Text as Text4 } from "ink";
|
|
460
460
|
|
|
461
|
-
// src/tui/components/borderStyles.ts
|
|
461
|
+
// src/surfaces/tui/components/borderStyles.ts
|
|
462
462
|
var DASHED_BORDER = {
|
|
463
463
|
topLeft: "\u250C",
|
|
464
464
|
top: "\u2504",
|
|
@@ -470,7 +470,7 @@ var DASHED_BORDER = {
|
|
|
470
470
|
bottomRight: "\u2518"
|
|
471
471
|
};
|
|
472
472
|
|
|
473
|
-
// src/tui/components/Detail.tsx
|
|
473
|
+
// src/surfaces/tui/components/Detail.tsx
|
|
474
474
|
import { jsx as jsx8, jsxs as jsxs4 } from "react/jsx-runtime";
|
|
475
475
|
function Detail({ title, children }) {
|
|
476
476
|
return /* @__PURE__ */ jsxs4(Box4, { flexDirection: "column", marginLeft: space.sm, borderStyle: DASHED_BORDER, borderColor: colors.accent.deep, paddingX: space.sm, paddingY: space.sm, children: [
|
|
@@ -479,7 +479,7 @@ function Detail({ title, children }) {
|
|
|
479
479
|
] });
|
|
480
480
|
}
|
|
481
481
|
|
|
482
|
-
// src/tui/components/StatusBar.tsx
|
|
482
|
+
// src/surfaces/tui/components/StatusBar.tsx
|
|
483
483
|
import { Box as Box5, Text as Text5 } from "ink";
|
|
484
484
|
import { jsx as jsx9, jsxs as jsxs5 } from "react/jsx-runtime";
|
|
485
485
|
function StatusBar({ context = "", keys, rows, cols }) {
|
|
@@ -504,7 +504,7 @@ function StatusBar({ context = "", keys, rows, cols }) {
|
|
|
504
504
|
] });
|
|
505
505
|
}
|
|
506
506
|
|
|
507
|
-
// src/tui/components/LayoutContext.tsx
|
|
507
|
+
// src/surfaces/tui/components/LayoutContext.tsx
|
|
508
508
|
import { createContext as createContext5, useContext as useContext5 } from "react";
|
|
509
509
|
import { jsx as jsx10 } from "react/jsx-runtime";
|
|
510
510
|
var LayoutContext = createContext5({});
|
|
@@ -518,7 +518,7 @@ function panelWidth(columns) {
|
|
|
518
518
|
return Math.max(1, columns);
|
|
519
519
|
}
|
|
520
520
|
|
|
521
|
-
// src/tui/components/Frame.tsx
|
|
521
|
+
// src/surfaces/tui/components/Frame.tsx
|
|
522
522
|
import { jsx as jsx11, jsxs as jsxs6 } from "react/jsx-runtime";
|
|
523
523
|
var FLOOR_COLS = 40;
|
|
524
524
|
var FLOOR_ROWS = 12;
|
|
@@ -618,8 +618,8 @@ function Frame({
|
|
|
618
618
|
] });
|
|
619
619
|
}
|
|
620
620
|
|
|
621
|
-
// src/tui/components/Row.tsx
|
|
622
|
-
import
|
|
621
|
+
// src/surfaces/tui/components/Row.tsx
|
|
622
|
+
import React7 from "react";
|
|
623
623
|
import { Box as Box7, Text as Text7 } from "ink";
|
|
624
624
|
import { Fragment, jsx as jsx12, jsxs as jsxs7 } from "react/jsx-runtime";
|
|
625
625
|
function truncateBadgeLabel(label, compact) {
|
|
@@ -686,7 +686,7 @@ function Row({
|
|
|
686
686
|
inlineBadges.map((item, idx) => {
|
|
687
687
|
const label = truncateBadgeLabel(translatePhrase(language, item.label), compact);
|
|
688
688
|
const displayLabel = item.width && !compact ? label.padEnd(item.width) : label;
|
|
689
|
-
return /* @__PURE__ */ jsxs7(
|
|
689
|
+
return /* @__PURE__ */ jsxs7(React7.Fragment, { children: [
|
|
690
690
|
/* @__PURE__ */ jsx12(Text7, { color: badgeBracketColor, children: "[" }),
|
|
691
691
|
/* @__PURE__ */ jsx12(Text7, { color: item.color, children: displayLabel }),
|
|
692
692
|
/* @__PURE__ */ jsx12(Text7, { color: badgeBracketColor, children: "]" }),
|
|
@@ -732,7 +732,7 @@ function Row({
|
|
|
732
732
|
] });
|
|
733
733
|
}
|
|
734
734
|
|
|
735
|
-
// src/tui/components/Section.tsx
|
|
735
|
+
// src/surfaces/tui/components/Section.tsx
|
|
736
736
|
import { Box as Box8, Text as Text8 } from "ink";
|
|
737
737
|
import { Fragment as Fragment2, jsx as jsx13, jsxs as jsxs8 } from "react/jsx-runtime";
|
|
738
738
|
function Section({ label }) {
|
|
@@ -766,7 +766,7 @@ function SectionEnd() {
|
|
|
766
766
|
] }) });
|
|
767
767
|
}
|
|
768
768
|
|
|
769
|
-
// src/tui/screens/LanguageSelect.tsx
|
|
769
|
+
// src/surfaces/tui/screens/LanguageSelect.tsx
|
|
770
770
|
import { Fragment as Fragment3, jsx as jsx14, jsxs as jsxs9 } from "react/jsx-runtime";
|
|
771
771
|
var LABEL_WIDTH = Math.max(...LANGUAGE_OPTIONS.map((option) => option.nativeName.length));
|
|
772
772
|
function LanguageSelect() {
|
|
@@ -844,15 +844,15 @@ function LanguageSelect() {
|
|
|
844
844
|
);
|
|
845
845
|
}
|
|
846
846
|
|
|
847
|
-
// src/tui/screens/Welcome.tsx
|
|
847
|
+
// src/surfaces/tui/screens/Welcome.tsx
|
|
848
848
|
import { useInsertionEffect as useInsertionEffect2, useMemo as useMemo2, useRef as useRef3, useState as useState7 } from "react";
|
|
849
849
|
import { Box as Box12, Text as Text12, useApp, useInput as useInput2, useWindowSize as useWindowSize3 } from "ink";
|
|
850
850
|
|
|
851
|
-
// src/tui/components/Wordmark.tsx
|
|
851
|
+
// src/surfaces/tui/components/Wordmark.tsx
|
|
852
852
|
import { useEffect as useEffect2, useMemo, useState as useState6 } from "react";
|
|
853
853
|
import { Box as Box10, Text as Text10 } from "ink";
|
|
854
854
|
|
|
855
|
-
// src/tui/brand/wordmark.ts
|
|
855
|
+
// src/surfaces/tui/brand/wordmark.ts
|
|
856
856
|
var GLYPHS = {
|
|
857
857
|
" ": ["000", "000", "000", "000", "000"],
|
|
858
858
|
A: ["01110", "10001", "11111", "10001", "10001"],
|
|
@@ -907,7 +907,7 @@ function logoRowsHalf(lines = LOGO_LINES) {
|
|
|
907
907
|
return out;
|
|
908
908
|
}
|
|
909
909
|
|
|
910
|
-
// src/tui/components/Wordmark.tsx
|
|
910
|
+
// src/surfaces/tui/components/Wordmark.tsx
|
|
911
911
|
import { jsx as jsx15 } from "react/jsx-runtime";
|
|
912
912
|
var BREATH_INTERVAL_MS = 1600;
|
|
913
913
|
function useBreathFrame(enabled, intervalMs = BREATH_INTERVAL_MS) {
|
|
@@ -936,10 +936,10 @@ function Wordmark({ compact = false, animated = false, full = false, small = fal
|
|
|
936
936
|
return /* @__PURE__ */ jsx15(Box10, { flexDirection: "column", children: rows.map((row, rowIdx) => /* @__PURE__ */ jsx15(Box10, { children: chunks(row, compact ? 3 : 4).map((part, chunkIdx) => /* @__PURE__ */ jsx15(Text10, { color: colorForChunk(rowIdx, chunkIdx, animate ? frame : 0), bold: true, children: part }, `${rowIdx}-${chunkIdx}`)) }, `${rowIdx}-${row}`)) });
|
|
937
937
|
}
|
|
938
938
|
|
|
939
|
-
// src/tui/components/Mascot.tsx
|
|
939
|
+
// src/surfaces/tui/components/Mascot.tsx
|
|
940
940
|
import { Box as Box11, Text as Text11 } from "ink";
|
|
941
941
|
|
|
942
|
-
// src/tui/brand/duck-rendered.ts
|
|
942
|
+
// src/surfaces/tui/brand/duck-rendered.ts
|
|
943
943
|
var DUCK_RENDERED = {
|
|
944
944
|
hero: "\x1B[39m \x1B[38;5;1m \x1B[38;5;136m\u2583\x1B[38;5;221m\u2584\u2585\u2585\x1B[38;5;215m\u2584\x1B[38;5;136m\u2582 \x1B[39m\n \x1B[38;5;130m\u2581\x1B[38;5;208m\u2582\u259F\x1B[38;5;221m\u2588\u2588\x1B[38;5;179m\u2588\x1B[38;5;222m\u2588\x1B[38;5;221m\u2588\u2588\x1B[38;5;136m\u2599 \x1B[39m\n \x1B[38;5;202m\u2588\u2588\x1B[38;5;208m\u2588\x1B[38;5;221m\u2588\u2588\u2586\x1B[38;5;222m\u2588\x1B[38;5;221m\u2588\u2588\u2588\u2584\x1B[38;5;215m\u2584\x1B[38;5;221m\u2583\u2582\x1B[38;5;136m\u2581 \x1B[39m\n \x1B[38;5;166m\u2594\u2594\x1B[38;5;136m\u2580\x1B[38;5;215m\u2588\x1B[38;5;221m\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\x1B[38;5;215m\u2587\x1B[38;5;178m\u2585\x1B[38;5;214m\u2585\x1B[38;5;136m\u258F\x1B[39m\n \x1B[38;5;1m \x1B[38;5;178m\u2595\x1B[38;5;221m\u2588\u2588\u2588\u2588\u2588\x1B[38;5;214m\u2588\u2588\u2588\x1B[38;5;178m\u2588\u2588\x1B[38;5;214m\u2588\u2588\u2588\x1B[38;5;221m\u2588\x1B[38;5;178m\u2589 \x1B[39m\n \x1B[38;5;1m \x1B[38;5;142m\u259C\x1B[38;5;221m\u2588\u2588\u2588\u2588\x1B[38;5;214m\u2588\u2588\u2588\x1B[38;5;178m\u2588\u2588\x1B[38;5;214m\u2588\u2588\u2588\x1B[38;5;178m\u2588\u2598 \x1B[39m\n \x1B[38;5;1m \x1B[38;5;136m\u2580\x1B[38;5;221m\u2580\x1B[38;5;178m\u259C\x1B[38;5;142m\u2588\x1B[38;5;178m\u2588\u2588\u2588\x1B[38;5;136m\u2588\x1B[38;5;221m\u2580\x1B[38;5;178m\u2580\x1B[38;5;215m\u2594 \x1B[39m\n \x1B[38;5;1m \x1B[39m",
|
|
945
945
|
single: "\x1B[39m \x1B[38;5;1m \x1B[38;5;94m\u2597\x1B[38;5;178m\u2585\x1B[38;5;221m\u2586\x1B[38;5;178m\u2586\u2584 \x1B[39m\n\x1B[38;5;130m\u2597\x1B[38;5;208m\u2585\u2588\x1B[38;5;221m\u2588\x1B[38;5;179m\u2588\x1B[38;5;221m\u2588\u2588\x1B[38;5;178m\u258B\u2581 \x1B[39m\n\x1B[38;5;130m\u259D\x1B[38;5;166m\u2580\x1B[38;5;136m\u259C\x1B[38;5;221m\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2587\x1B[38;5;178m\u2586\x1B[38;5;221m\u2583\x1B[38;5;178m\u2596\x1B[39m\n \x1B[38;5;1m \x1B[38;5;100m\u2590\x1B[38;5;221m\u2588\u2588\u2588\x1B[38;5;214m\u2588\u2588\x1B[38;5;178m\u2588\u2588\u2588\x1B[38;5;214m\u2588\x1B[38;5;221m\u2588\x1B[38;5;136m\u258F\x1B[39m\n \x1B[38;5;1m \x1B[38;5;136m\u2580\x1B[38;5;178m\u259C\x1B[38;5;215m\u2588\x1B[38;5;221m\u2588\x1B[38;5;220m\u2588\x1B[38;5;214m\u2588\u2588\x1B[38;5;178m\u2588\u259B\u2598 \x1B[39m\n \x1B[38;5;1m \x1B[38;5;178m\u2594\u2594 \x1B[39m",
|
|
@@ -955,7 +955,7 @@ var DUCK_RENDERED = {
|
|
|
955
955
|
miniDown: "\x1B[39m \x1B[38;5;1m \x1B[39m\n\x1B[38;5;94m\u2590\x1B[38;5;221m\u2587\x1B[38;5;215m\u2583\x1B[38;5;136m\u2582\x1B[39m"
|
|
956
956
|
};
|
|
957
957
|
|
|
958
|
-
// src/tui/components/Mascot.tsx
|
|
958
|
+
// src/surfaces/tui/components/Mascot.tsx
|
|
959
959
|
import { jsx as jsx16, jsxs as jsxs10 } from "react/jsx-runtime";
|
|
960
960
|
function DuckRows({ artKey }) {
|
|
961
961
|
const rows = DUCK_RENDERED[artKey].split("\n");
|
|
@@ -993,7 +993,7 @@ function Mascot({ variant, shift = "normal" }) {
|
|
|
993
993
|
] });
|
|
994
994
|
}
|
|
995
995
|
|
|
996
|
-
// src/tui/screens/Welcome.tsx
|
|
996
|
+
// src/surfaces/tui/screens/Welcome.tsx
|
|
997
997
|
import { jsx as jsx17, jsxs as jsxs11 } from "react/jsx-runtime";
|
|
998
998
|
function pickMascotVariant(columns) {
|
|
999
999
|
if (columns < 50) return "mini";
|
|
@@ -1136,11 +1136,11 @@ function Welcome() {
|
|
|
1136
1136
|
] }) });
|
|
1137
1137
|
}
|
|
1138
1138
|
|
|
1139
|
-
// src/tui/screens/Runs.tsx
|
|
1139
|
+
// src/surfaces/tui/screens/Runs.tsx
|
|
1140
1140
|
import { useEffect as useEffect3, useMemo as useMemo3, useState as useState8 } from "react";
|
|
1141
1141
|
import { Box as Box14, useInput as useInput3, useApp as useApp2, useWindowSize as useWindowSize4 } from "ink";
|
|
1142
1142
|
|
|
1143
|
-
// src/tui/components/Legend.tsx
|
|
1143
|
+
// src/surfaces/tui/components/Legend.tsx
|
|
1144
1144
|
import { Box as Box13, Text as Text13 } from "ink";
|
|
1145
1145
|
import { jsx as jsx18, jsxs as jsxs12 } from "react/jsx-runtime";
|
|
1146
1146
|
function Legend({ items }) {
|
|
@@ -1158,12 +1158,12 @@ function Legend({ items }) {
|
|
|
1158
1158
|
}) });
|
|
1159
1159
|
}
|
|
1160
1160
|
|
|
1161
|
-
// src/tui/utils/agentLabel.ts
|
|
1161
|
+
// src/surfaces/tui/utils/agentLabel.ts
|
|
1162
1162
|
function agentCountLabel(t, count) {
|
|
1163
1163
|
return count === 1 ? t("runtime.agentsOne", { count }) : t("runtime.agentsMany", { count });
|
|
1164
1164
|
}
|
|
1165
1165
|
|
|
1166
|
-
// src/tui/screens/Runs.tsx
|
|
1166
|
+
// src/surfaces/tui/screens/Runs.tsx
|
|
1167
1167
|
import { jsx as jsx19, jsxs as jsxs13 } from "react/jsx-runtime";
|
|
1168
1168
|
var ACTIONS = ["NewRun", "History", "Main Menu", "Quit"];
|
|
1169
1169
|
var CHROME_ROWS = 18;
|
|
@@ -1449,11 +1449,11 @@ function Runs() {
|
|
|
1449
1449
|
);
|
|
1450
1450
|
}
|
|
1451
1451
|
|
|
1452
|
-
// src/tui/screens/RunHistory.tsx
|
|
1452
|
+
// src/surfaces/tui/screens/RunHistory.tsx
|
|
1453
1453
|
import { useEffect as useEffect4, useState as useState10 } from "react";
|
|
1454
1454
|
import { Box as Box16, useInput as useInput5, useWindowSize as useWindowSize5 } from "ink";
|
|
1455
1455
|
|
|
1456
|
-
// src/tui/components/Dialog.tsx
|
|
1456
|
+
// src/surfaces/tui/components/Dialog.tsx
|
|
1457
1457
|
import { useState as useState9 } from "react";
|
|
1458
1458
|
import { Box as Box15, Text as Text14, useInput as useInput4 } from "ink";
|
|
1459
1459
|
import { jsx as jsx20, jsxs as jsxs14 } from "react/jsx-runtime";
|
|
@@ -1473,7 +1473,7 @@ function Dialog({
|
|
|
1473
1473
|
const displayBody = translatePhrase(language, body);
|
|
1474
1474
|
const displayConfirm = translatePhrase(language, confirmLabel);
|
|
1475
1475
|
const displayCancel = translatePhrase(language, cancelLabel);
|
|
1476
|
-
useInput4((
|
|
1476
|
+
useInput4((_input, key) => {
|
|
1477
1477
|
if (key.leftArrow) {
|
|
1478
1478
|
setFocusedButton("cancel");
|
|
1479
1479
|
} else if (key.rightArrow) {
|
|
@@ -1509,7 +1509,7 @@ function Dialog({
|
|
|
1509
1509
|
] });
|
|
1510
1510
|
}
|
|
1511
1511
|
|
|
1512
|
-
// src/tui/screens/RunHistory.tsx
|
|
1512
|
+
// src/surfaces/tui/screens/RunHistory.tsx
|
|
1513
1513
|
import { jsx as jsx21, jsxs as jsxs15 } from "react/jsx-runtime";
|
|
1514
1514
|
var ACTIONS2 = ["DeleteSelected", "Back", "Main Menu"];
|
|
1515
1515
|
var ACTION_COPY2 = {
|
|
@@ -1790,8 +1790,8 @@ function RunHistory() {
|
|
|
1790
1790
|
);
|
|
1791
1791
|
}
|
|
1792
1792
|
|
|
1793
|
-
// src/tui/screens/run/Run.tsx
|
|
1794
|
-
import
|
|
1793
|
+
// src/surfaces/tui/screens/run/Run.tsx
|
|
1794
|
+
import React8, { useEffect as useEffect5, useState as useState11 } from "react";
|
|
1795
1795
|
import { Box as Box17, Text as Text15, useInput as useInput6, useWindowSize as useWindowSize6 } from "ink";
|
|
1796
1796
|
import { jsx as jsx22, jsxs as jsxs16 } from "react/jsx-runtime";
|
|
1797
1797
|
var REFRESH_INTERVAL_MS = 5e3;
|
|
@@ -1999,7 +1999,7 @@ function Run() {
|
|
|
1999
1999
|
items.map((item, idx) => {
|
|
2000
2000
|
const isSelected = selectedIdx === idx;
|
|
2001
2001
|
if (item.action === "__section__") {
|
|
2002
|
-
return /* @__PURE__ */ jsxs16(
|
|
2002
|
+
return /* @__PURE__ */ jsxs16(React8.Fragment, { children: [
|
|
2003
2003
|
/* @__PURE__ */ jsx22(SectionEnd, {}),
|
|
2004
2004
|
/* @__PURE__ */ jsx22(Section, { label: "Lifecycle" })
|
|
2005
2005
|
] }, "__section__");
|
|
@@ -2035,11 +2035,11 @@ function Run() {
|
|
|
2035
2035
|
);
|
|
2036
2036
|
}
|
|
2037
2037
|
|
|
2038
|
-
// src/tui/screens/run/RunAgents.tsx
|
|
2038
|
+
// src/surfaces/tui/screens/run/RunAgents.tsx
|
|
2039
2039
|
import { useEffect as useEffect6, useState as useState12 } from "react";
|
|
2040
2040
|
import { Box as Box19, Text as Text17, useInput as useInput8, useWindowSize as useWindowSize7 } from "ink";
|
|
2041
2041
|
|
|
2042
|
-
// src/tui/components/Pagination.tsx
|
|
2042
|
+
// src/surfaces/tui/components/Pagination.tsx
|
|
2043
2043
|
import { Box as Box18, Text as Text16, useInput as useInput7 } from "ink";
|
|
2044
2044
|
import { jsx as jsx23, jsxs as jsxs17 } from "react/jsx-runtime";
|
|
2045
2045
|
function Pagination({ page, total, focused = false, onPrev, onNext }) {
|
|
@@ -2075,7 +2075,7 @@ function Pagination({ page, total, focused = false, onPrev, onNext }) {
|
|
|
2075
2075
|
] });
|
|
2076
2076
|
}
|
|
2077
2077
|
|
|
2078
|
-
// src/tui/screens/run/RunAgents.tsx
|
|
2078
|
+
// src/surfaces/tui/screens/run/RunAgents.tsx
|
|
2079
2079
|
import { jsx as jsx24, jsxs as jsxs18 } from "react/jsx-runtime";
|
|
2080
2080
|
var CHROME_ROWS3 = 13;
|
|
2081
2081
|
var REFRESH_INTERVAL_MS2 = 5e3;
|
|
@@ -2362,7 +2362,7 @@ function RunAgents() {
|
|
|
2362
2362
|
);
|
|
2363
2363
|
}
|
|
2364
2364
|
|
|
2365
|
-
// src/tui/screens/run/RunOutput.tsx
|
|
2365
|
+
// src/surfaces/tui/screens/run/RunOutput.tsx
|
|
2366
2366
|
import { useEffect as useEffect7, useState as useState13 } from "react";
|
|
2367
2367
|
import { Box as Box20, Text as Text18, useInput as useInput9, useWindowSize as useWindowSize8 } from "ink";
|
|
2368
2368
|
import { jsx as jsx25, jsxs as jsxs19 } from "react/jsx-runtime";
|
|
@@ -2678,8 +2678,8 @@ function RunOutput() {
|
|
|
2678
2678
|
);
|
|
2679
2679
|
}
|
|
2680
2680
|
|
|
2681
|
-
// src/tui/screens/run/AgentDetail.tsx
|
|
2682
|
-
import
|
|
2681
|
+
// src/surfaces/tui/screens/run/AgentDetail.tsx
|
|
2682
|
+
import React9, { useState as useState14 } from "react";
|
|
2683
2683
|
import { Box as Box21, Text as Text19, useInput as useInput10, useWindowSize as useWindowSize9 } from "ink";
|
|
2684
2684
|
import { jsx as jsx26, jsxs as jsxs20 } from "react/jsx-runtime";
|
|
2685
2685
|
var LABELS2 = {
|
|
@@ -2891,7 +2891,7 @@ function AgentDetail() {
|
|
|
2891
2891
|
items.map((item, idx) => {
|
|
2892
2892
|
const isSelected = selectedIdx === idx;
|
|
2893
2893
|
if (item.action === "__section__") {
|
|
2894
|
-
return /* @__PURE__ */ jsxs20(
|
|
2894
|
+
return /* @__PURE__ */ jsxs20(React9.Fragment, { children: [
|
|
2895
2895
|
/* @__PURE__ */ jsx26(SectionEnd, {}),
|
|
2896
2896
|
/* @__PURE__ */ jsx26(Section, { label: "Actions" })
|
|
2897
2897
|
] }, "__section__");
|
|
@@ -2924,7 +2924,7 @@ function AgentDetail() {
|
|
|
2924
2924
|
);
|
|
2925
2925
|
}
|
|
2926
2926
|
|
|
2927
|
-
// src/tui/screens/run/AgentOutput.tsx
|
|
2927
|
+
// src/surfaces/tui/screens/run/AgentOutput.tsx
|
|
2928
2928
|
import { useEffect as useEffect8, useState as useState15 } from "react";
|
|
2929
2929
|
import { Box as Box22, Text as Text20, useInput as useInput11, useWindowSize as useWindowSize10 } from "ink";
|
|
2930
2930
|
import { Fragment as Fragment4, jsx as jsx27, jsxs as jsxs21 } from "react/jsx-runtime";
|
|
@@ -3179,7 +3179,7 @@ function AgentOutput() {
|
|
|
3179
3179
|
);
|
|
3180
3180
|
}
|
|
3181
3181
|
|
|
3182
|
-
// src/tui/screens/run/AgentTask.tsx
|
|
3182
|
+
// src/surfaces/tui/screens/run/AgentTask.tsx
|
|
3183
3183
|
import { useState as useState16 } from "react";
|
|
3184
3184
|
import { Box as Box23, Text as Text21, useInput as useInput12 } from "ink";
|
|
3185
3185
|
import { jsx as jsx28, jsxs as jsxs22 } from "react/jsx-runtime";
|
|
@@ -3244,7 +3244,7 @@ function AgentTask() {
|
|
|
3244
3244
|
);
|
|
3245
3245
|
}
|
|
3246
3246
|
|
|
3247
|
-
// src/tui/screens/run/AgentKill.tsx
|
|
3247
|
+
// src/surfaces/tui/screens/run/AgentKill.tsx
|
|
3248
3248
|
import { useState as useState17 } from "react";
|
|
3249
3249
|
import { Box as Box24, Text as Text22, useInput as useInput13 } from "ink";
|
|
3250
3250
|
import { jsx as jsx29, jsxs as jsxs23 } from "react/jsx-runtime";
|
|
@@ -3335,7 +3335,7 @@ function AgentKill() {
|
|
|
3335
3335
|
);
|
|
3336
3336
|
}
|
|
3337
3337
|
|
|
3338
|
-
// src/tui/screens/newrun/NewRun.tsx
|
|
3338
|
+
// src/surfaces/tui/screens/newrun/NewRun.tsx
|
|
3339
3339
|
import { useEffect as useEffect9 } from "react";
|
|
3340
3340
|
import { Text as Text23 } from "ink";
|
|
3341
3341
|
import { jsx as jsx30 } from "react/jsx-runtime";
|
|
@@ -3350,11 +3350,11 @@ function NewRun() {
|
|
|
3350
3350
|
return /* @__PURE__ */ jsx30(WizardProvider, { children: /* @__PURE__ */ jsx30(NewRunInner, {}) });
|
|
3351
3351
|
}
|
|
3352
3352
|
|
|
3353
|
-
// src/tui/screens/newrun/NewRunBasics.tsx
|
|
3353
|
+
// src/surfaces/tui/screens/newrun/NewRunBasics.tsx
|
|
3354
3354
|
import { useState as useState19, useMemo as useMemo4 } from "react";
|
|
3355
3355
|
import { useInput as useInput15, useWindowSize as useWindowSize11 } from "ink";
|
|
3356
3356
|
|
|
3357
|
-
// src/tui/components/StepIndicator.tsx
|
|
3357
|
+
// src/surfaces/tui/components/StepIndicator.tsx
|
|
3358
3358
|
import { Box as Box25, Text as Text24 } from "ink";
|
|
3359
3359
|
import { jsx as jsx31, jsxs as jsxs24 } from "react/jsx-runtime";
|
|
3360
3360
|
function StepIndicator({ step, total, name }) {
|
|
@@ -3369,7 +3369,7 @@ function StepIndicator({ step, total, name }) {
|
|
|
3369
3369
|
] });
|
|
3370
3370
|
}
|
|
3371
3371
|
|
|
3372
|
-
// src/tui/components/TextField.tsx
|
|
3372
|
+
// src/surfaces/tui/components/TextField.tsx
|
|
3373
3373
|
import { useState as useState18, useEffect as useEffect10 } from "react";
|
|
3374
3374
|
import { Box as Box26, Text as Text25, useInput as useInput14 } from "ink";
|
|
3375
3375
|
import { jsx as jsx32, jsxs as jsxs25 } from "react/jsx-runtime";
|
|
@@ -3471,7 +3471,7 @@ function wrapLines(value, width) {
|
|
|
3471
3471
|
return lines.length > 0 ? lines : [""];
|
|
3472
3472
|
}
|
|
3473
3473
|
|
|
3474
|
-
// src/tui/screens/newrun/NewRunBasics.tsx
|
|
3474
|
+
// src/surfaces/tui/screens/newrun/NewRunBasics.tsx
|
|
3475
3475
|
import { jsx as jsx33, jsxs as jsxs26 } from "react/jsx-runtime";
|
|
3476
3476
|
var ACTION_LABEL_WIDTH7 = Math.max("Continue".length, "Back".length, "Reset Wizard".length);
|
|
3477
3477
|
function NewRunBasics() {
|
|
@@ -3606,11 +3606,11 @@ function NewRunBasics() {
|
|
|
3606
3606
|
);
|
|
3607
3607
|
}
|
|
3608
3608
|
|
|
3609
|
-
// src/tui/screens/newrun/NewRunRoot.tsx
|
|
3609
|
+
// src/surfaces/tui/screens/newrun/NewRunRoot.tsx
|
|
3610
3610
|
import { useState as useState20, useMemo as useMemo5 } from "react";
|
|
3611
3611
|
import { useInput as useInput16, useWindowSize as useWindowSize12 } from "ink";
|
|
3612
3612
|
|
|
3613
|
-
// src/tui/components/ModelOptionList.tsx
|
|
3613
|
+
// src/surfaces/tui/components/ModelOptionList.tsx
|
|
3614
3614
|
import { Fragment as Fragment5, jsx as jsx34, jsxs as jsxs27 } from "react/jsx-runtime";
|
|
3615
3615
|
function ModelOptionList({ provider, values, current, selectedIdx, visibleCount }) {
|
|
3616
3616
|
const rowCount = Math.max(1, visibleCount ?? values.length);
|
|
@@ -3647,7 +3647,7 @@ function ModelOptionList({ provider, values, current, selectedIdx, visibleCount
|
|
|
3647
3647
|
] });
|
|
3648
3648
|
}
|
|
3649
3649
|
|
|
3650
|
-
// src/tui/screens/newrun/NewRunRoot.tsx
|
|
3650
|
+
// src/surfaces/tui/screens/newrun/NewRunRoot.tsx
|
|
3651
3651
|
import { Fragment as Fragment6, jsx as jsx35, jsxs as jsxs28 } from "react/jsx-runtime";
|
|
3652
3652
|
var PERMISSIONS_VALUES = ["ask", "skip"];
|
|
3653
3653
|
var EFFORT_VALUES = ["default", "low", "medium", "high", "xhigh", "max"];
|
|
@@ -3924,7 +3924,7 @@ function pickerBadge(field, provider) {
|
|
|
3924
3924
|
return void 0;
|
|
3925
3925
|
}
|
|
3926
3926
|
|
|
3927
|
-
// src/tui/screens/newrun/NewRunWorkers.tsx
|
|
3927
|
+
// src/surfaces/tui/screens/newrun/NewRunWorkers.tsx
|
|
3928
3928
|
import { useState as useState21 } from "react";
|
|
3929
3929
|
import { useInput as useInput17, useWindowSize as useWindowSize13 } from "ink";
|
|
3930
3930
|
import { Fragment as Fragment7, jsx as jsx36, jsxs as jsxs29 } from "react/jsx-runtime";
|
|
@@ -4079,7 +4079,7 @@ function NewRunWorkers() {
|
|
|
4079
4079
|
);
|
|
4080
4080
|
}
|
|
4081
4081
|
|
|
4082
|
-
// src/tui/screens/newrun/NewRunWorker.tsx
|
|
4082
|
+
// src/surfaces/tui/screens/newrun/NewRunWorker.tsx
|
|
4083
4083
|
import { useState as useState22, useMemo as useMemo6 } from "react";
|
|
4084
4084
|
import { useInput as useInput18, useWindowSize as useWindowSize14 } from "ink";
|
|
4085
4085
|
import { Fragment as Fragment8, jsx as jsx37, jsxs as jsxs30 } from "react/jsx-runtime";
|
|
@@ -4359,7 +4359,7 @@ function pickerBadge2(field, provider) {
|
|
|
4359
4359
|
return void 0;
|
|
4360
4360
|
}
|
|
4361
4361
|
|
|
4362
|
-
// src/tui/screens/newrun/NewRunReview.tsx
|
|
4362
|
+
// src/surfaces/tui/screens/newrun/NewRunReview.tsx
|
|
4363
4363
|
import { useState as useState23 } from "react";
|
|
4364
4364
|
import { useInput as useInput19, useWindowSize as useWindowSize15 } from "ink";
|
|
4365
4365
|
import { Fragment as Fragment9, jsx as jsx38, jsxs as jsxs31 } from "react/jsx-runtime";
|
|
@@ -4492,11 +4492,11 @@ function NewRunReview() {
|
|
|
4492
4492
|
);
|
|
4493
4493
|
}
|
|
4494
4494
|
|
|
4495
|
-
// src/tui/screens/newrun/NewRunStarting.tsx
|
|
4495
|
+
// src/surfaces/tui/screens/newrun/NewRunStarting.tsx
|
|
4496
4496
|
import { useEffect as useEffect12, useState as useState25 } from "react";
|
|
4497
4497
|
import { Box as Box28, Text as Text27, useInput as useInput20 } from "ink";
|
|
4498
4498
|
|
|
4499
|
-
// src/tui/components/Spinner.tsx
|
|
4499
|
+
// src/surfaces/tui/components/Spinner.tsx
|
|
4500
4500
|
import { useEffect as useEffect11, useState as useState24 } from "react";
|
|
4501
4501
|
import { Box as Box27, Text as Text26 } from "ink";
|
|
4502
4502
|
import { jsx as jsx39, jsxs as jsxs32 } from "react/jsx-runtime";
|
|
@@ -4516,7 +4516,7 @@ function Spinner({ label, color = colors.accent.primary }) {
|
|
|
4516
4516
|
] });
|
|
4517
4517
|
}
|
|
4518
4518
|
|
|
4519
|
-
// src/tui/screens/newrun/NewRunStarting.tsx
|
|
4519
|
+
// src/surfaces/tui/screens/newrun/NewRunStarting.tsx
|
|
4520
4520
|
import { jsx as jsx40, jsxs as jsxs33 } from "react/jsx-runtime";
|
|
4521
4521
|
var ACTION_LABEL_WIDTH12 = Math.max("Retry".length, "Back to Review".length);
|
|
4522
4522
|
function NewRunStarting() {
|
|
@@ -4640,7 +4640,7 @@ function NewRunStarting() {
|
|
|
4640
4640
|
);
|
|
4641
4641
|
}
|
|
4642
4642
|
|
|
4643
|
-
// src/tui/screens/run/AddWorker.tsx
|
|
4643
|
+
// src/surfaces/tui/screens/run/AddWorker.tsx
|
|
4644
4644
|
import { useState as useState26, useMemo as useMemo7 } from "react";
|
|
4645
4645
|
import { useInput as useInput21, useWindowSize as useWindowSize16 } from "ink";
|
|
4646
4646
|
import { Fragment as Fragment10, jsx as jsx41, jsxs as jsxs34 } from "react/jsx-runtime";
|
|
@@ -4948,7 +4948,7 @@ function pickerBadge3(field, provider) {
|
|
|
4948
4948
|
return void 0;
|
|
4949
4949
|
}
|
|
4950
4950
|
|
|
4951
|
-
// src/tui/screens/run/RunStop.tsx
|
|
4951
|
+
// src/surfaces/tui/screens/run/RunStop.tsx
|
|
4952
4952
|
import { jsx as jsx42 } from "react/jsx-runtime";
|
|
4953
4953
|
function RunStop() {
|
|
4954
4954
|
const { selectedRunId, pop, resetStack } = useRouter();
|
|
@@ -5024,7 +5024,7 @@ function RunStop() {
|
|
|
5024
5024
|
);
|
|
5025
5025
|
}
|
|
5026
5026
|
|
|
5027
|
-
// src/tui/screens/Settings.tsx
|
|
5027
|
+
// src/surfaces/tui/screens/Settings.tsx
|
|
5028
5028
|
import { useMemo as useMemo8, useState as useState27 } from "react";
|
|
5029
5029
|
import { Box as Box29, useInput as useInput22, useWindowSize as useWindowSize17 } from "ink";
|
|
5030
5030
|
import { Fragment as Fragment11, jsx as jsx43, jsxs as jsxs35 } from "react/jsx-runtime";
|
|
@@ -5331,18 +5331,18 @@ function Settings() {
|
|
|
5331
5331
|
);
|
|
5332
5332
|
}
|
|
5333
5333
|
|
|
5334
|
-
// src/tui/screens/AgentControl.tsx
|
|
5334
|
+
// src/surfaces/tui/screens/AgentControl.tsx
|
|
5335
5335
|
import { useMemo as useMemo9, useState as useState28 } from "react";
|
|
5336
5336
|
import { Box as Box31, useInput as useInput23, useWindowSize as useWindowSize18 } from "ink";
|
|
5337
5337
|
|
|
5338
|
-
// src/tui/components/Primary.tsx
|
|
5338
|
+
// src/surfaces/tui/components/Primary.tsx
|
|
5339
5339
|
import { Box as Box30 } from "ink";
|
|
5340
5340
|
import { jsx as jsx44 } from "react/jsx-runtime";
|
|
5341
5341
|
function Primary({ children }) {
|
|
5342
5342
|
return /* @__PURE__ */ jsx44(Box30, { flexDirection: "column", flexGrow: 1, children });
|
|
5343
5343
|
}
|
|
5344
5344
|
|
|
5345
|
-
// src/tui/screens/AgentControl.tsx
|
|
5345
|
+
// src/surfaces/tui/screens/AgentControl.tsx
|
|
5346
5346
|
import { jsx as jsx45, jsxs as jsxs36 } from "react/jsx-runtime";
|
|
5347
5347
|
function hostGlyph(host) {
|
|
5348
5348
|
if (!host.installed) return { char: glyphs.status.fail, color: colors.text.faint };
|
|
@@ -5391,7 +5391,7 @@ function AgentControl() {
|
|
|
5391
5391
|
if (host.manual || !host.installed) return;
|
|
5392
5392
|
const wasAttached = host.attached;
|
|
5393
5393
|
const res = wasAttached ? detach(host.key) : attach(host.key);
|
|
5394
|
-
setResult(!wasAttached && res.ok ? { ...res, message: `${res.message}
|
|
5394
|
+
setResult(!wasAttached && res.ok ? { ...res, message: `${res.message}: ${t("agentControl.restartHint")}` } : res);
|
|
5395
5395
|
setRefreshKey((k) => k + 1);
|
|
5396
5396
|
}
|
|
5397
5397
|
function runAttachAll() {
|
|
@@ -5402,7 +5402,7 @@ function AgentControl() {
|
|
|
5402
5402
|
key: "all",
|
|
5403
5403
|
label: t("agentControl.attachAll"),
|
|
5404
5404
|
ok: results.every((r) => r.ok),
|
|
5405
|
-
message: ok > 0 ? `${toast}
|
|
5405
|
+
message: ok > 0 ? `${toast}: ${t("agentControl.restartHint")}` : toast
|
|
5406
5406
|
});
|
|
5407
5407
|
setRefreshKey((k) => k + 1);
|
|
5408
5408
|
}
|
|
@@ -5520,7 +5520,7 @@ function AgentControl() {
|
|
|
5520
5520
|
);
|
|
5521
5521
|
}
|
|
5522
5522
|
|
|
5523
|
-
// src/tui/screens/Setup.tsx
|
|
5523
|
+
// src/surfaces/tui/screens/Setup.tsx
|
|
5524
5524
|
import { useMemo as useMemo10, useState as useState29 } from "react";
|
|
5525
5525
|
import { Box as Box32, Text as Text28, useInput as useInput24 } from "ink";
|
|
5526
5526
|
import { jsx as jsx46, jsxs as jsxs37 } from "react/jsx-runtime";
|
|
@@ -5602,7 +5602,7 @@ function Setup() {
|
|
|
5602
5602
|
);
|
|
5603
5603
|
}
|
|
5604
5604
|
|
|
5605
|
-
// src/tui/screens/Reference.tsx
|
|
5605
|
+
// src/surfaces/tui/screens/Reference.tsx
|
|
5606
5606
|
import { useState as useState30 } from "react";
|
|
5607
5607
|
import { useInput as useInput25, useWindowSize as useWindowSize19 } from "ink";
|
|
5608
5608
|
import { Fragment as Fragment12, jsx as jsx47, jsxs as jsxs38 } from "react/jsx-runtime";
|
|
@@ -5623,7 +5623,7 @@ var CONTENT = [
|
|
|
5623
5623
|
{ type: "row", primary: "Human", trailing: "uses TUI/tmux and remains in charge" },
|
|
5624
5624
|
{ type: "row", primary: "Agent", trailing: "provider agent inside the run session" },
|
|
5625
5625
|
{ type: "section", label: "OSS" },
|
|
5626
|
-
{ type: "row", primary: "npm / Homebrew", trailing: "
|
|
5626
|
+
{ type: "row", primary: "npm / Homebrew", trailing: "public install channels" },
|
|
5627
5627
|
{ type: "row", primary: "GitHub Releases", trailing: "tags, changelog, known limitations" }
|
|
5628
5628
|
];
|
|
5629
5629
|
function Reference() {
|
|
@@ -5690,7 +5690,7 @@ function Reference() {
|
|
|
5690
5690
|
);
|
|
5691
5691
|
}
|
|
5692
5692
|
|
|
5693
|
-
// src/tui/screens/Credits.tsx
|
|
5693
|
+
// src/surfaces/tui/screens/Credits.tsx
|
|
5694
5694
|
import { useState as useState31 } from "react";
|
|
5695
5695
|
import { Box as Box33, useInput as useInput26, useWindowSize as useWindowSize20 } from "ink";
|
|
5696
5696
|
import { Fragment as Fragment13, jsx as jsx48, jsxs as jsxs39 } from "react/jsx-runtime";
|
|
@@ -5755,7 +5755,7 @@ function Credits() {
|
|
|
5755
5755
|
);
|
|
5756
5756
|
}
|
|
5757
5757
|
|
|
5758
|
-
// src/tui/screens/Doctor.tsx
|
|
5758
|
+
// src/surfaces/tui/screens/Doctor.tsx
|
|
5759
5759
|
import { useEffect as useEffect13, useMemo as useMemo11, useState as useState32 } from "react";
|
|
5760
5760
|
import { Box as Box34, useInput as useInput27, useWindowSize as useWindowSize21 } from "ink";
|
|
5761
5761
|
import { Fragment as Fragment14, jsx as jsx49, jsxs as jsxs40 } from "react/jsx-runtime";
|
|
@@ -5936,7 +5936,7 @@ function Doctor() {
|
|
|
5936
5936
|
);
|
|
5937
5937
|
}
|
|
5938
5938
|
|
|
5939
|
-
// src/tui/screens/DoctorCheck.tsx
|
|
5939
|
+
// src/surfaces/tui/screens/DoctorCheck.tsx
|
|
5940
5940
|
import { useEffect as useEffect14, useMemo as useMemo12, useState as useState33 } from "react";
|
|
5941
5941
|
import { Box as Box35, Text as Text29, useInput as useInput28 } from "ink";
|
|
5942
5942
|
import { Fragment as Fragment15, jsx as jsx50, jsxs as jsxs41 } from "react/jsx-runtime";
|
|
@@ -6021,7 +6021,7 @@ function DoctorCheck() {
|
|
|
6021
6021
|
);
|
|
6022
6022
|
}
|
|
6023
6023
|
|
|
6024
|
-
// src/tui/screens/Approvals.tsx
|
|
6024
|
+
// src/surfaces/tui/screens/Approvals.tsx
|
|
6025
6025
|
import { useEffect as useEffect15, useState as useState34 } from "react";
|
|
6026
6026
|
import { Box as Box36, useInput as useInput29 } from "ink";
|
|
6027
6027
|
import { jsx as jsx51, jsxs as jsxs42 } from "react/jsx-runtime";
|
|
@@ -6171,7 +6171,7 @@ function Approvals() {
|
|
|
6171
6171
|
);
|
|
6172
6172
|
}
|
|
6173
6173
|
|
|
6174
|
-
// src/tui/screens/Config.tsx
|
|
6174
|
+
// src/surfaces/tui/screens/Config.tsx
|
|
6175
6175
|
import { useState as useState35 } from "react";
|
|
6176
6176
|
import { Box as Box37, useInput as useInput30 } from "ink";
|
|
6177
6177
|
import { jsx as jsx52, jsxs as jsxs43 } from "react/jsx-runtime";
|
|
@@ -6280,7 +6280,7 @@ function Config() {
|
|
|
6280
6280
|
);
|
|
6281
6281
|
}
|
|
6282
6282
|
|
|
6283
|
-
// src/tui/screens/Presets.tsx
|
|
6283
|
+
// src/surfaces/tui/screens/Presets.tsx
|
|
6284
6284
|
import { useEffect as useEffect16, useState as useState36 } from "react";
|
|
6285
6285
|
import { Box as Box38, useInput as useInput31 } from "ink";
|
|
6286
6286
|
import { jsx as jsx53, jsxs as jsxs44 } from "react/jsx-runtime";
|
|
@@ -6468,7 +6468,7 @@ function Presets() {
|
|
|
6468
6468
|
);
|
|
6469
6469
|
}
|
|
6470
6470
|
|
|
6471
|
-
// src/tui/router.tsx
|
|
6471
|
+
// src/surfaces/tui/router.tsx
|
|
6472
6472
|
import { jsx as jsx54 } from "react/jsx-runtime";
|
|
6473
6473
|
var RouterContext = createContext6(null);
|
|
6474
6474
|
function useRouter() {
|
|
@@ -6639,4 +6639,4 @@ export {
|
|
|
6639
6639
|
nextHistoryOnReset,
|
|
6640
6640
|
useRouter
|
|
6641
6641
|
};
|
|
6642
|
-
//# sourceMappingURL=router-
|
|
6642
|
+
//# sourceMappingURL=router-KMZQ52T2.js.map
|