@aragon-agent/cli 0.6.1 → 0.6.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/CHANGELOG.md +216 -0
- package/README.md +241 -18
- package/dist/agent/agent-mode.d.ts +39 -0
- package/dist/agent/agent-mode.js +36 -0
- package/dist/agent/controller.d.ts +74 -1
- package/dist/agent/controller.js +200 -1
- package/dist/agent/headless.d.ts +8 -0
- package/dist/agent/headless.js +47 -0
- package/dist/agent/reducer.d.ts +120 -0
- package/dist/agent/reducer.js +201 -2
- package/dist/cli.js +297 -6
- package/dist/commands/builtins.js +73 -23
- package/dist/commands/registry.d.ts +27 -0
- package/dist/compaction/archive.d.ts +175 -0
- package/dist/compaction/archive.js +267 -0
- package/dist/compaction/child.d.ts +97 -0
- package/dist/compaction/child.js +113 -0
- package/dist/compaction/command.d.ts +41 -0
- package/dist/compaction/command.js +342 -0
- package/dist/compaction/compactor.d.ts +268 -0
- package/dist/compaction/compactor.js +689 -0
- package/dist/compaction/digest.d.ts +62 -0
- package/dist/compaction/digest.js +164 -0
- package/dist/compaction/limits.d.ts +165 -0
- package/dist/compaction/limits.js +172 -0
- package/dist/compaction/pressure.d.ts +135 -0
- package/dist/compaction/pressure.js +167 -0
- package/dist/compaction/summarize-call.d.ts +70 -0
- package/dist/compaction/summarize-call.js +86 -0
- package/dist/compaction/summary-prompt.d.ts +85 -0
- package/dist/compaction/summary-prompt.js +197 -0
- package/dist/compaction/tail-budget.d.ts +52 -0
- package/dist/compaction/tail-budget.js +67 -0
- package/dist/compaction/types.d.ts +179 -0
- package/dist/compaction/types.js +22 -0
- package/dist/compaction/wiring.d.ts +255 -0
- package/dist/compaction/wiring.js +556 -0
- package/dist/config/app-paths.d.ts +14 -0
- package/dist/config/app-paths.js +16 -0
- package/dist/config/cli-commands.d.ts +41 -0
- package/dist/config/cli-commands.js +77 -1
- package/dist/config/env.d.ts +4 -1
- package/dist/config/env.js +92 -2
- package/dist/config/load.d.ts +31 -0
- package/dist/config/load.js +63 -1
- package/dist/config/schema.d.ts +159 -0
- package/dist/config/schema.js +137 -0
- package/dist/config/store.js +17 -1
- package/dist/config/ui-state.d.ts +44 -6
- package/dist/config/ui-state.js +21 -12
- package/dist/diagnostics/doctor.js +41 -1
- package/dist/exec/events.d.ts +50 -1
- package/dist/exec/index.js +8 -4
- package/dist/exec/runner.js +44 -2
- package/dist/input/mouse-events.d.ts +31 -5
- package/dist/input/mouse-events.js +86 -27
- package/dist/input/stdin-mouse-filter.d.ts +8 -3
- package/dist/logging/install.d.ts +51 -1
- package/dist/logging/install.js +28 -0
- package/dist/logging/logger.d.ts +1 -1
- package/dist/session/cli-commands.js +23 -1
- package/dist/session/persist.js +19 -0
- package/dist/session/store.d.ts +18 -0
- package/dist/session/store.js +59 -2
- package/dist/team/report.js +7 -1
- package/dist/team/runtime.d.ts +10 -0
- package/dist/team/runtime.js +7 -0
- package/dist/team/subagent.d.ts +31 -1
- package/dist/team/subagent.js +42 -15
- package/dist/team/types.d.ts +8 -0
- package/dist/ui/ActivityLine.d.ts +19 -1
- package/dist/ui/ActivityLine.js +10 -2
- package/dist/ui/App.d.ts +48 -1
- package/dist/ui/App.js +317 -17
- package/dist/ui/Composer.d.ts +26 -1
- package/dist/ui/Composer.js +6 -6
- package/dist/ui/PromptInput.d.ts +34 -1
- package/dist/ui/PromptInput.js +54 -3
- package/dist/ui/StatusBar.d.ts +40 -0
- package/dist/ui/StatusBar.js +13 -4
- package/dist/ui/TeamPanel.js +7 -1
- package/dist/ui/Transcript.d.ts +21 -1
- package/dist/ui/Transcript.js +32 -2
- package/dist/ui/clipboard.d.ts +52 -0
- package/dist/ui/clipboard.js +91 -0
- package/dist/ui/entries/CompactionCard.d.ts +75 -0
- package/dist/ui/entries/CompactionCard.js +158 -0
- package/dist/ui/frame-differ.d.ts +46 -0
- package/dist/ui/frame-differ.js +94 -10
- package/dist/ui/gauge.d.ts +16 -1
- package/dist/ui/gauge.js +25 -6
- package/dist/ui/glyphs.d.ts +11 -0
- package/dist/ui/glyphs.js +2 -0
- package/dist/ui/layout/ScrollViewport.d.ts +43 -6
- package/dist/ui/layout/ScrollViewport.js +128 -21
- package/dist/ui/layout/budget.d.ts +10 -3
- package/dist/ui/layout/budget.js +10 -3
- package/dist/ui/layout/follow-state.d.ts +137 -0
- package/dist/ui/layout/follow-state.js +150 -0
- package/dist/ui/layout/virtual-window.d.ts +11 -0
- package/dist/ui/layout/virtual-window.js +34 -0
- package/dist/ui/overlays/HelpOverlay.js +18 -2
- package/dist/ui/overlays/SettingsScreen.d.ts +47 -1
- package/dist/ui/overlays/SettingsScreen.js +60 -1
- package/dist/ui/palettes.d.ts +16 -0
- package/dist/ui/palettes.js +6 -0
- package/dist/ui/screen.d.ts +22 -0
- package/dist/ui/screen.js +70 -8
- package/dist/ui/selection/highlight.d.ts +39 -0
- package/dist/ui/selection/highlight.js +64 -0
- package/dist/ui/selection/screen-mirror.d.ts +24 -0
- package/dist/ui/selection/screen-mirror.js +35 -0
- package/dist/ui/selection/selection-controller.d.ts +88 -0
- package/dist/ui/selection/selection-controller.js +282 -0
- package/dist/ui/selection/selection.d.ts +90 -0
- package/dist/ui/selection/selection.js +223 -0
- package/dist/ui/stdout-frame-writer.d.ts +33 -0
- package/dist/ui/stdout-frame-writer.js +15 -0
- package/dist/ui/theme.d.ts +11 -0
- package/dist/ui/theme.js +2 -0
- package/dist/ui/transcript-text.js +23 -0
- package/dist/ui/use-startup-notices.d.ts +62 -5
- package/dist/ui/use-startup-notices.js +81 -17
- package/dist/ui/use-wheel-routing.js +8 -0
- package/dist/ui/win-vt-force.d.ts +136 -0
- package/dist/ui/win-vt-force.js +237 -0
- package/package.json +4 -2
|
@@ -0,0 +1,237 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Turn `ENABLE_VIRTUAL_TERMINAL_INPUT` on for THIS console, from outside Node
|
|
3
|
+
* (shift-tab-mode-toggle-still-dead-on-windows, C1-M1).
|
|
4
|
+
*
|
|
5
|
+
* ASCII ONLY - this tree is inside the glyph scanner's scope.
|
|
6
|
+
*
|
|
7
|
+
* `win-vt-input.ts` answers "will this console ever deliver `CSI Z`?". This
|
|
8
|
+
* module answers "can we MAKE it deliver one?", and the measured answer is yes.
|
|
9
|
+
* The bit is a property of the console input buffer, not of Node, so any process
|
|
10
|
+
* attached to the same console can set it - and libuv's pre-22.17 translator
|
|
11
|
+
* forwards whatever characters the console generates, `ESC` `[` `Z` included.
|
|
12
|
+
* On Node 20.19.0, in one run, one injected `Shift+Tab` went from `09` to
|
|
13
|
+
* `1b 5b 5a` the instant an outside process OR-ed `0x0200` in (analysis section
|
|
14
|
+
* 3.2; raw probe data under `docs/diagnoses/.../repro/`).
|
|
15
|
+
*
|
|
16
|
+
* Node ships no FFI, so the outside process is `powershell.exe` calling
|
|
17
|
+
* `SetConsoleMode` through P/Invoke. Measured cost end to end: 722 ms, roughly
|
|
18
|
+
* 280 ms of process start plus 300 ms of `Add-Type` compiling C# at run time
|
|
19
|
+
* (analysis section 3.4). That is the whole price of not adding a native
|
|
20
|
+
* dependency, and it is paid ONCE, only on an affected Windows console.
|
|
21
|
+
*
|
|
22
|
+
* THREE TRAPS ARE ENCODED HERE, all of them measured rather than imagined:
|
|
23
|
+
*
|
|
24
|
+
* 1. `windowsHide: true` maps to `CREATE_NO_WINDOW`, which hands the child its
|
|
25
|
+
* OWN console. The helper then reads, sets and reports success against a
|
|
26
|
+
* console nobody is typing into: exit code 0, `SetConsoleMode` true, log
|
|
27
|
+
* clean, and no effect whatsoever - indistinguishable from "the fix was
|
|
28
|
+
* never written" (analysis section 3.5). Hence `windowsHide: false`.
|
|
29
|
+
* 2. The helper must open `CONIN$` with `CreateFileW`, never
|
|
30
|
+
* `GetStdHandle(STD_INPUT_HANDLE)`: it is spawned with stdin `ignore`, so
|
|
31
|
+
* its standard input is `NUL`. Sharing the real stdin instead is not an
|
|
32
|
+
* option - that handle is being reconfigured underneath it.
|
|
33
|
+
* 3. The `before` mode is the ONLY signal that distinguishes trap 1 from
|
|
34
|
+
* success, so the helper reports it and `decideVtForceOutcome` checks it.
|
|
35
|
+
* The check is a POSITIVE bitmask ("is this console already in raw mode"),
|
|
36
|
+
* not `before !== 0x01F7`: that number is one machine's default and varies
|
|
37
|
+
* with QuickEdit, with the host, and with a user who already turned VT input
|
|
38
|
+
* on. A magic-number comparison passes silently on the first machine whose
|
|
39
|
+
* default happens to differ, which puts trap 1 straight back (review R-3).
|
|
40
|
+
*
|
|
41
|
+
* WHAT UNDOES IT: `setRawMode(false)`. libuv rewrites the whole console mode on
|
|
42
|
+
* every raw-mode transition and its pre-22.17 path does not know about this bit,
|
|
43
|
+
* so one transition clears it (analysis section 3.3). That is why the caller
|
|
44
|
+
* must raise raw mode BEFORE calling this, and it is also the entire restore
|
|
45
|
+
* path - the bit outlives the process otherwise, and neither Windows nor the
|
|
46
|
+
* console clears it (analysis section 3.5b).
|
|
47
|
+
*
|
|
48
|
+
* FAILURE IS ALWAYS GRACEFUL. Constrained Language Mode disables `Add-Type`
|
|
49
|
+
* outright, and enterprise fleets ship it by policy - exactly the "another PC"
|
|
50
|
+
* population this bug is about. Every failure returns `ok: false` with a reason
|
|
51
|
+
* for the log and nothing else happens; the alternate mode-toggle key
|
|
52
|
+
* (`MODE_TOGGLE_KEYS.fallback`) is the rung below that needs none of this.
|
|
53
|
+
*/
|
|
54
|
+
import { spawnSync } from 'node:child_process';
|
|
55
|
+
import { existsSync } from 'node:fs';
|
|
56
|
+
import { join } from 'node:path';
|
|
57
|
+
import process from 'node:process';
|
|
58
|
+
/** Console input mode bits (`consoleapi.h`). */
|
|
59
|
+
export const ENABLE_PROCESSED_INPUT = 0x0001;
|
|
60
|
+
export const ENABLE_LINE_INPUT = 0x0002;
|
|
61
|
+
export const ENABLE_ECHO_INPUT = 0x0004;
|
|
62
|
+
export const ENABLE_WINDOW_INPUT = 0x0008;
|
|
63
|
+
export const ENABLE_VIRTUAL_TERMINAL_INPUT = 0x0200;
|
|
64
|
+
/**
|
|
65
|
+
* The three bits a cooked console has and a raw one does not.
|
|
66
|
+
*
|
|
67
|
+
* This is the fingerprint of "libuv has already put this console in raw mode",
|
|
68
|
+
* and it is what tells the two measured samples apart: `0x0008` (the CLI's own
|
|
69
|
+
* console, raw) versus `0x01F7` (a fresh `CREATE_NO_WINDOW` console, cooked).
|
|
70
|
+
*/
|
|
71
|
+
export const COOKED_INPUT_BITS = ENABLE_PROCESSED_INPUT | ENABLE_LINE_INPUT | ENABLE_ECHO_INPUT;
|
|
72
|
+
export function isRawConsoleMode(mode) {
|
|
73
|
+
return (mode & COOKED_INPUT_BITS) === 0;
|
|
74
|
+
}
|
|
75
|
+
/**
|
|
76
|
+
* The PowerShell side, as a string.
|
|
77
|
+
*
|
|
78
|
+
* A LITERAL HERE-STRING (`@'` ... `'@`) around the C# so PowerShell expands
|
|
79
|
+
* nothing inside it, and `'CONIN$'` in single quotes for the same reason - the
|
|
80
|
+
* `$` is part of the device name, not a variable.
|
|
81
|
+
*
|
|
82
|
+
* Shipped inline rather than as a `.ps1` next to the build output, and that is a
|
|
83
|
+
* capability difference rather than tidiness: ExecutionPolicy blocks script
|
|
84
|
+
* FILES and does not apply to `-EncodedCommand`, so a locked-down machine - the
|
|
85
|
+
* population this bug keeps landing on - can still run it. It also removes the
|
|
86
|
+
* "where did my file go after packaging" class of failure entirely.
|
|
87
|
+
*/
|
|
88
|
+
export function buildHelperScript() {
|
|
89
|
+
return [
|
|
90
|
+
"$ErrorActionPreference = 'Stop'",
|
|
91
|
+
'try {',
|
|
92
|
+
' Add-Type -TypeDefinition @' + "'",
|
|
93
|
+
'using System;',
|
|
94
|
+
'using System.Runtime.InteropServices;',
|
|
95
|
+
'public static class AragonVtInput {',
|
|
96
|
+
' [DllImport("kernel32.dll", SetLastError=true, CharSet=CharSet.Unicode)]',
|
|
97
|
+
' public static extern IntPtr CreateFileW(string name, uint access, uint share,',
|
|
98
|
+
' IntPtr sec, uint disp, uint flags, IntPtr tmpl);',
|
|
99
|
+
' [DllImport("kernel32.dll", SetLastError=true)]',
|
|
100
|
+
' public static extern bool GetConsoleMode(IntPtr h, out uint mode);',
|
|
101
|
+
' [DllImport("kernel32.dll", SetLastError=true)]',
|
|
102
|
+
' public static extern bool SetConsoleMode(IntPtr h, uint mode);',
|
|
103
|
+
'}',
|
|
104
|
+
"'" + '@',
|
|
105
|
+
'} catch { Write-Output "error=addtype"; exit 3 }',
|
|
106
|
+
// GENERIC_READ | GENERIC_WRITE, FILE_SHARE_READ | FILE_SHARE_WRITE, OPEN_EXISTING.
|
|
107
|
+
//
|
|
108
|
+
// DECIMAL, NOT `0xC0000000`. Windows PowerShell 5.1 - which is what
|
|
109
|
+
// `resolvePowerShellExe` finds, on every machine - parses a hex literal with
|
|
110
|
+
// the high bit set as a SIGNED Int32, so `[uint32]0xC0000000` throws
|
|
111
|
+
// "Cannot convert value -1073741824" before `CreateFileW` is ever reached.
|
|
112
|
+
// With `$ErrorActionPreference = 'Stop'` that is a terminating error outside
|
|
113
|
+
// the `try`, so the helper dies with no `before=` line and the whole feature
|
|
114
|
+
// degrades to `no_before` on 100% of consoles - working code, never once
|
|
115
|
+
// executed. Round 2's own probe helper carries the same comment.
|
|
116
|
+
"$h = [AragonVtInput]::CreateFileW('CONIN$', ([uint32]2147483648 -bor [uint32]1073741824)," +
|
|
117
|
+
' [uint32]3, [IntPtr]::Zero, [uint32]3, [uint32]0, [IntPtr]::Zero)',
|
|
118
|
+
'if ($h -eq [IntPtr]::Zero -or $h.ToInt64() -eq -1) { Write-Output "error=conin"; exit 4 }',
|
|
119
|
+
'$before = [uint32]0',
|
|
120
|
+
'if (-not [AragonVtInput]::GetConsoleMode($h, [ref]$before)) {',
|
|
121
|
+
' Write-Output "error=getmode"; exit 5',
|
|
122
|
+
'}',
|
|
123
|
+
'Write-Output ("before=0x{0:X4}" -f $before)',
|
|
124
|
+
'if (-not [AragonVtInput]::SetConsoleMode($h, ($before -bor 0x0200))) {',
|
|
125
|
+
' Write-Output "error=setmode"; exit 6',
|
|
126
|
+
'}',
|
|
127
|
+
'$after = [uint32]0',
|
|
128
|
+
'if (-not [AragonVtInput]::GetConsoleMode($h, [ref]$after)) {',
|
|
129
|
+
' Write-Output "error=recheck"; exit 7',
|
|
130
|
+
'}',
|
|
131
|
+
'Write-Output ("after=0x{0:X4}" -f $after)',
|
|
132
|
+
'exit 0',
|
|
133
|
+
].join('\n');
|
|
134
|
+
}
|
|
135
|
+
/** `-EncodedCommand` takes base64 of UTF-16LE, which needs no shell quoting. */
|
|
136
|
+
export function encodePowerShellCommand(script) {
|
|
137
|
+
return Buffer.from(script, 'utf16le').toString('base64');
|
|
138
|
+
}
|
|
139
|
+
/**
|
|
140
|
+
* Prefer the absolute path so a sanitized or hijacked `PATH` cannot decide what
|
|
141
|
+
* runs; fall back to the bare name, which is still better than not trying.
|
|
142
|
+
*/
|
|
143
|
+
export function resolvePowerShellExe(env = process.env) {
|
|
144
|
+
const root = env.SystemRoot ?? env.windir;
|
|
145
|
+
if (root) {
|
|
146
|
+
const abs = join(root, 'System32', 'WindowsPowerShell', 'v1.0', 'powershell.exe');
|
|
147
|
+
if (existsSync(abs))
|
|
148
|
+
return abs;
|
|
149
|
+
}
|
|
150
|
+
return 'powershell.exe';
|
|
151
|
+
}
|
|
152
|
+
/** Pull `before=` / `after=` back out of the helper's stdout. */
|
|
153
|
+
export function parseConsoleModes(stdout) {
|
|
154
|
+
const read = (label) => {
|
|
155
|
+
const m = new RegExp(`^${label}=0x([0-9a-fA-F]+)\\s*$`, 'm').exec(stdout);
|
|
156
|
+
if (!m)
|
|
157
|
+
return undefined;
|
|
158
|
+
const n = Number.parseInt(m[1] ?? '', 16);
|
|
159
|
+
return Number.isFinite(n) ? n : undefined;
|
|
160
|
+
};
|
|
161
|
+
const before = read('before');
|
|
162
|
+
const after = read('after');
|
|
163
|
+
return { ...(before !== undefined ? { before } : {}), ...(after !== undefined ? { after } : {}) };
|
|
164
|
+
}
|
|
165
|
+
/**
|
|
166
|
+
* PURE, and the reason this feature is testable without a Windows box: every
|
|
167
|
+
* interesting outcome - including the `0x01F7` wrong-console trap that returns
|
|
168
|
+
* exit code 0 - is decided here from two strings and a number.
|
|
169
|
+
*/
|
|
170
|
+
export function decideVtForceOutcome(run) {
|
|
171
|
+
const { before, after } = parseConsoleModes(run.stdout);
|
|
172
|
+
const carry = before !== undefined ? { before } : {};
|
|
173
|
+
if (run.status !== 0) {
|
|
174
|
+
const note = (run.stdout.trim() || run.stderr?.trim() || '').split('\n')[0] ?? '';
|
|
175
|
+
return { ok: false, reason: 'helper_failed', detail: `exit=${run.status} ${note}`, ...carry };
|
|
176
|
+
}
|
|
177
|
+
if (before === undefined)
|
|
178
|
+
return { ok: false, reason: 'no_before' };
|
|
179
|
+
// Trap 1. Exit code and API return value both said success; only this tells us
|
|
180
|
+
// the helper was talking to a different console than the one being typed into.
|
|
181
|
+
if (!isRawConsoleMode(before))
|
|
182
|
+
return { ok: false, reason: 'wrong_console', before };
|
|
183
|
+
if (after === undefined || (after & ENABLE_VIRTUAL_TERMINAL_INPUT) === 0) {
|
|
184
|
+
// Old conhosts accept `SetConsoleMode` and drop bits they do not implement,
|
|
185
|
+
// so the re-read is not paranoia - it is the only proof (analysis 3.9).
|
|
186
|
+
return { ok: false, reason: 'bit_not_set', before, ...(after !== undefined ? { after } : {}) };
|
|
187
|
+
}
|
|
188
|
+
return { ok: true, before, after };
|
|
189
|
+
}
|
|
190
|
+
/**
|
|
191
|
+
* Set the bit on the console this process is attached to.
|
|
192
|
+
*
|
|
193
|
+
* SYNCHRONOUS on purpose. The caller has to know the answer before it decides
|
|
194
|
+
* whether the mouse can report and whether to warn the user, and at the one
|
|
195
|
+
* moment this runs - after raw mode is up, before Ink renders - there is nothing
|
|
196
|
+
* else for the event loop to do. An async version would buy nothing and would
|
|
197
|
+
* spread the ordering across two files.
|
|
198
|
+
*
|
|
199
|
+
* NEVER THROWS.
|
|
200
|
+
*/
|
|
201
|
+
export function forceWindowsVtInput(opts = {}) {
|
|
202
|
+
const platform = opts.platform ?? process.platform;
|
|
203
|
+
if (platform !== 'win32')
|
|
204
|
+
return { ok: false, reason: 'not_windows' };
|
|
205
|
+
const exe = resolvePowerShellExe();
|
|
206
|
+
const args = [
|
|
207
|
+
'-NoProfile',
|
|
208
|
+
'-NonInteractive',
|
|
209
|
+
'-NoLogo',
|
|
210
|
+
'-EncodedCommand',
|
|
211
|
+
encodePowerShellCommand(buildHelperScript()),
|
|
212
|
+
];
|
|
213
|
+
try {
|
|
214
|
+
const run = opts.run ?? defaultRun(opts.timeoutMs ?? 5000);
|
|
215
|
+
return decideVtForceOutcome(run(exe, args));
|
|
216
|
+
}
|
|
217
|
+
catch (err) {
|
|
218
|
+
return { ok: false, reason: 'spawn_failed', detail: err.message };
|
|
219
|
+
}
|
|
220
|
+
}
|
|
221
|
+
function defaultRun(timeoutMs) {
|
|
222
|
+
return (exe, args) => {
|
|
223
|
+
const r = spawnSync(exe, args, {
|
|
224
|
+
// stdin `ignore` is trap 2's premise: the helper must not share the handle
|
|
225
|
+
// whose mode is being rewritten. stdout/stderr are pipes because `before`
|
|
226
|
+
// has to come back - a log file would be a second failure surface.
|
|
227
|
+
stdio: ['ignore', 'pipe', 'pipe'],
|
|
228
|
+
// TRAP 1. Do not "tidy" this to `true`; see the module header.
|
|
229
|
+
windowsHide: false,
|
|
230
|
+
timeout: timeoutMs,
|
|
231
|
+
encoding: 'utf-8',
|
|
232
|
+
});
|
|
233
|
+
if (r.error)
|
|
234
|
+
throw r.error;
|
|
235
|
+
return { status: r.status, stdout: r.stdout ?? '', stderr: r.stderr ?? '' };
|
|
236
|
+
};
|
|
237
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aragon-agent/cli",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.3",
|
|
4
4
|
"description": "AragonAgent CLI — a Claude-Code / Codex-style interactive terminal UI (TUI) on top of the @aragon-agent/core engine. Installable and runnable via npm / npx.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "AragonAgent contributors",
|
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
"prepublishOnly": "npm run build"
|
|
57
57
|
},
|
|
58
58
|
"dependencies": {
|
|
59
|
-
"@aragon-agent/core": "^0.2.
|
|
59
|
+
"@aragon-agent/core": "^0.2.15",
|
|
60
60
|
"chalk": "^5.6.2",
|
|
61
61
|
"cli-highlight": "^2.0.0",
|
|
62
62
|
"commander": "^12.1.0",
|
|
@@ -67,6 +67,8 @@
|
|
|
67
67
|
"ink-select-input": "^6.0.0",
|
|
68
68
|
"ink-spinner": "^5.0.0",
|
|
69
69
|
"react": "^18.3.1",
|
|
70
|
+
"string-width": "^7.2.0",
|
|
71
|
+
"strip-ansi": "^7.1.0",
|
|
70
72
|
"tinyglobby": "^0.2.17"
|
|
71
73
|
},
|
|
72
74
|
"devDependencies": {
|