@aragon-agent/cli 0.6.53 → 0.6.54
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 +38 -0
- package/README.md +4042 -3982
- package/dist/agent/controller.d.ts +26 -0
- package/dist/agent/controller.js +129 -1
- package/dist/agent/system-prompt.d.ts +14 -0
- package/dist/agent/system-prompt.js +3 -0
- package/dist/app/App.d.ts +7 -0
- package/dist/app/App.js +135 -6
- package/dist/cli.js +25 -1
- package/dist/commands/builtins.js +10 -0
- package/dist/commands/catalog.js +1 -0
- package/dist/commands/registry.d.ts +7 -0
- package/dist/compaction/compactor.d.ts +26 -0
- package/dist/compaction/compactor.js +81 -8
- package/dist/compaction/summarize-call.d.ts +22 -0
- package/dist/compaction/summarize-call.js +29 -0
- package/dist/compaction/wiring.js +22 -3
- package/dist/config/app-paths.d.ts +13 -0
- package/dist/config/app-paths.js +15 -0
- package/dist/config/cli-commands.d.ts +15 -0
- package/dist/config/cli-commands.js +32 -1
- package/dist/config/env.d.ts +1 -0
- package/dist/config/env.js +11 -0
- package/dist/config/load.d.ts +6 -0
- package/dist/config/load.js +10 -1
- package/dist/config/store.js +10 -1
- package/dist/exec/bridge/server.js +9 -2
- package/dist/exec/options.js +16 -2
- package/dist/governance/prompts/orchestrator-block.js +2 -2
- package/dist/host/controller-factory.d.ts +25 -0
- package/dist/host/controller-factory.js +7 -0
- package/dist/host/follow-up-seed.d.ts +109 -0
- package/dist/host/follow-up-seed.js +196 -0
- package/dist/host/follow-up.d.ts +73 -0
- package/dist/host/follow-up.js +123 -0
- package/dist/host/index.d.ts +3 -0
- package/dist/host/index.js +3 -0
- package/dist/host/memory.d.ts +21 -0
- package/dist/host/memory.js +17 -0
- package/dist/host/sessions.d.ts +32 -2
- package/dist/host/sessions.js +40 -2
- package/dist/logging/install.d.ts +1 -0
- package/dist/logging/install.js +4 -0
- package/dist/logging/logger.d.ts +1 -1
- package/dist/memory/block.d.ts +24 -0
- package/dist/memory/block.js +54 -0
- package/dist/memory/command.d.ts +31 -0
- package/dist/memory/command.js +350 -0
- package/dist/memory/format.d.ts +51 -0
- package/dist/memory/format.js +308 -0
- package/dist/memory/paths.d.ts +68 -0
- package/dist/memory/paths.js +172 -0
- package/dist/memory/plan.d.ts +37 -0
- package/dist/memory/plan.js +184 -0
- package/dist/memory/resolve.d.ts +45 -0
- package/dist/memory/resolve.js +54 -0
- package/dist/memory/secrets.d.ts +30 -0
- package/dist/memory/secrets.js +73 -0
- package/dist/memory/service.d.ts +175 -0
- package/dist/memory/service.js +576 -0
- package/dist/memory/store.d.ts +133 -0
- package/dist/memory/store.js +694 -0
- package/dist/memory/tools.d.ts +36 -0
- package/dist/memory/tools.js +527 -0
- package/dist/memory/transfer.d.ts +53 -0
- package/dist/memory/transfer.js +93 -0
- package/dist/session/checkpoint.d.ts +18 -0
- package/dist/session/checkpoint.js +34 -0
- package/dist/session/limits.d.ts +16 -0
- package/dist/session/limits.js +16 -0
- package/dist/session/persist.d.ts +47 -0
- package/dist/session/persist.js +1 -0
- package/dist/session/startup-session.d.ts +6 -0
- package/dist/session/startup-session.js +3 -0
- package/dist/session/store.d.ts +14 -0
- package/dist/session/store.js +18 -0
- package/dist/session/validate-session.js +98 -0
- package/dist/tools/index.d.ts +21 -2
- package/dist/tools/index.js +33 -0
- package/package.json +3 -3
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Export and import of notes (agent-memory spec 5.7, P1).
|
|
3
|
+
*
|
|
4
|
+
* ASCII ONLY - `src/memory/**` is inside `glyphs.test.ts::inScope`.
|
|
5
|
+
*
|
|
6
|
+
* PURE: text in, text or drafts out. The caller does the file I/O, and the WRITES go through the
|
|
7
|
+
* service (so `store.ts` stays the only code that writes under the memory directory, I-12).
|
|
8
|
+
*
|
|
9
|
+
* WHAT TRAVELS: scope, title, summary, tags, load, enabled and body - and nothing that identifies
|
|
10
|
+
* a file on THIS machine. No id, no rev, no history, no path. An import mints fresh ids and never
|
|
11
|
+
* overwrites an existing note, so importing the same file twice yields two copies rather than a
|
|
12
|
+
* silent replacement, and a hand-edited export cannot aim at somebody's existing id.
|
|
13
|
+
*
|
|
14
|
+
* AN IMPORT IS A TRUST BOUNDARY: the file may come from anyone. Every note is validated by the same
|
|
15
|
+
* `validateMemoryDraft` the editor uses, the secret sniffer still applies (an imported note is
|
|
16
|
+
* refused, not confirmed), and the file itself is bounded in size and note count.
|
|
17
|
+
*/
|
|
18
|
+
import { validateMemoryDraft } from '@aragon-agent/tui/model/memory/validate';
|
|
19
|
+
export const TRANSFER_SCHEMA = 1;
|
|
20
|
+
/** An import file bigger than this is refused before it is parsed. */
|
|
21
|
+
export const MAX_IMPORT_BYTES = 2 * 1024 * 1024;
|
|
22
|
+
/** More notes than two scopes can hold; the rest of a bigger file is ignored and counted. */
|
|
23
|
+
export const MAX_IMPORT_NOTES = 400;
|
|
24
|
+
/** The text of an export file for `notes`. Stable field order; one trailing newline. */
|
|
25
|
+
export function buildExport(notes, now) {
|
|
26
|
+
const file = {
|
|
27
|
+
schema: TRANSFER_SCHEMA,
|
|
28
|
+
exportedAt: new Date(now).toISOString(),
|
|
29
|
+
notes: notes.map((note) => ({
|
|
30
|
+
scope: note.scope,
|
|
31
|
+
title: note.title,
|
|
32
|
+
// A derived summary is not exported as if the user wrote it: it is re-derived on import.
|
|
33
|
+
summary: note.summaryDerived ? '' : note.summary,
|
|
34
|
+
tags: [...note.tags],
|
|
35
|
+
load: note.load,
|
|
36
|
+
enabled: note.enabled,
|
|
37
|
+
body: note.body,
|
|
38
|
+
})),
|
|
39
|
+
};
|
|
40
|
+
return `${JSON.stringify(file, null, 2)}\n`;
|
|
41
|
+
}
|
|
42
|
+
function asRecord(value) {
|
|
43
|
+
return value !== null && typeof value === 'object' && !Array.isArray(value)
|
|
44
|
+
? value
|
|
45
|
+
: null;
|
|
46
|
+
}
|
|
47
|
+
/**
|
|
48
|
+
* Parse an export file into validated drafts. NEVER throws. Project-scope notes are kept as
|
|
49
|
+
* `project` here; the service files them under the CURRENT project.
|
|
50
|
+
*/
|
|
51
|
+
export function parseImport(text) {
|
|
52
|
+
const empty = { drafts: [], skipped: 0, ignored: 0 };
|
|
53
|
+
if (Buffer.byteLength(text, 'utf-8') > MAX_IMPORT_BYTES)
|
|
54
|
+
return { ...empty, failure: 'too_large' };
|
|
55
|
+
let parsed;
|
|
56
|
+
try {
|
|
57
|
+
parsed = JSON.parse(text.replace(/^\uFEFF/, ''));
|
|
58
|
+
}
|
|
59
|
+
catch {
|
|
60
|
+
return { ...empty, failure: 'not_json' };
|
|
61
|
+
}
|
|
62
|
+
const file = asRecord(parsed);
|
|
63
|
+
if (file === null || file.schema !== TRANSFER_SCHEMA || !Array.isArray(file.notes)) {
|
|
64
|
+
return { ...empty, failure: 'bad_schema' };
|
|
65
|
+
}
|
|
66
|
+
const drafts = [];
|
|
67
|
+
let skipped = 0;
|
|
68
|
+
const entries = file.notes;
|
|
69
|
+
for (const entry of entries.slice(0, MAX_IMPORT_NOTES)) {
|
|
70
|
+
const note = asRecord(entry);
|
|
71
|
+
if (note === null) {
|
|
72
|
+
skipped += 1;
|
|
73
|
+
continue;
|
|
74
|
+
}
|
|
75
|
+
const tags = Array.isArray(note.tags)
|
|
76
|
+
? note.tags.filter((tag) => typeof tag === 'string')
|
|
77
|
+
: [];
|
|
78
|
+
const verdict = validateMemoryDraft({
|
|
79
|
+
title: typeof note.title === 'string' ? note.title : '',
|
|
80
|
+
summary: typeof note.summary === 'string' ? note.summary : '',
|
|
81
|
+
body: typeof note.body === 'string' ? note.body : '',
|
|
82
|
+
tags: tags.join(','),
|
|
83
|
+
load: note.load === 'pinned' || note.load === 'manual' ? note.load : 'auto',
|
|
84
|
+
enabled: note.enabled !== false,
|
|
85
|
+
scope: note.scope === 'global' ? 'global' : 'project',
|
|
86
|
+
});
|
|
87
|
+
if (verdict.ok)
|
|
88
|
+
drafts.push(verdict.input);
|
|
89
|
+
else
|
|
90
|
+
skipped += 1;
|
|
91
|
+
}
|
|
92
|
+
return { drafts, skipped, ignored: Math.max(0, entries.length - MAX_IMPORT_NOTES) };
|
|
93
|
+
}
|
|
@@ -32,7 +32,9 @@
|
|
|
32
32
|
import { type Message, type ModelRef } from '@aragon-agent/core';
|
|
33
33
|
import type { Entry, UsageTotal } from '@aragon-agent/tui/model/agent/reducer';
|
|
34
34
|
import type { AcceptanceItem, TodoItem } from '@aragon-agent/tui/model/todo/types';
|
|
35
|
+
import type { MemorySessionState } from '@aragon-agent/tui/model/memory/types';
|
|
35
36
|
import type { CompactionIdentity } from '../compaction/memory-identity.js';
|
|
37
|
+
import { type SessionFollowUpMeta } from './persist.js';
|
|
36
38
|
import { type SessionLockHandle } from './store.js';
|
|
37
39
|
/**
|
|
38
40
|
* What the view side can tell the writer: the identity, the transcript, and this
|
|
@@ -65,6 +67,12 @@ export interface CheckpointDeps {
|
|
|
65
67
|
* every existing test double — keeps compiling and writes no key.
|
|
66
68
|
*/
|
|
67
69
|
readAcceptance?(): AcceptanceItem[];
|
|
70
|
+
/**
|
|
71
|
+
* The memory session state (agent-memory 5.5): mounts, the auto-load switch, the write
|
|
72
|
+
* policy - ids and enums only. OPTIONAL and `undefined` when everything is at its default,
|
|
73
|
+
* so a session that never touched memory writes no key and a file identical to today's.
|
|
74
|
+
*/
|
|
75
|
+
readMemory?(): MemorySessionState | undefined;
|
|
68
76
|
readModel(): ModelRef;
|
|
69
77
|
/** `meta.cwd`; read at every write because `/cwd` can change it. */
|
|
70
78
|
readCwd(): string;
|
|
@@ -77,6 +85,16 @@ export interface CheckpointDeps {
|
|
|
77
85
|
readParentId?(): string | undefined;
|
|
78
86
|
/** `--save <id>` starts the session pinned; `/session pin` sets it later. */
|
|
79
87
|
startPinned?: boolean;
|
|
88
|
+
/**
|
|
89
|
+
* The follow-up panel this session belongs to, as a VALUE (desktop-follow-up-panel P1-1).
|
|
90
|
+
*
|
|
91
|
+
* NOT A READER. `createSessionWriter` forwards only the dependencies it names
|
|
92
|
+
* (`controller-factory.ts`), so a `readFollowUp()` that nobody registers is a key that silently
|
|
93
|
+
* never reaches the file - the anchor would simply be missing after a reload with no error
|
|
94
|
+
* anywhere. A value cannot go missing that way: it is either in this bag or it is not, and the
|
|
95
|
+
* desktop host passes it exactly once, when it boots a follow-up.
|
|
96
|
+
*/
|
|
97
|
+
followUp?: SessionFollowUpMeta;
|
|
80
98
|
now?(): number;
|
|
81
99
|
/** The target path; injected so tests point at a temporary directory. */
|
|
82
100
|
pathFor?(id: string): string;
|
|
@@ -327,6 +327,7 @@ export class SessionCheckpointWriter {
|
|
|
327
327
|
...(this.deps.readAcceptance
|
|
328
328
|
? { acceptance: this.deps.readAcceptance() }
|
|
329
329
|
: {}),
|
|
330
|
+
...memoryField(this.deps.readMemory?.()),
|
|
330
331
|
meta: this.buildMeta(input),
|
|
331
332
|
};
|
|
332
333
|
try {
|
|
@@ -379,6 +380,9 @@ export class SessionCheckpointWriter {
|
|
|
379
380
|
// still here", and both exit paths know better.
|
|
380
381
|
...(input.reason === 'running' ? { live: true } : {}),
|
|
381
382
|
...(parentId ? { branchOf: parentId } : {}),
|
|
383
|
+
// A follow-up file carries its anchor; an ordinary one writes no key at all, which is
|
|
384
|
+
// what keeps its bytes identical to a file written before this feature (P1-1).
|
|
385
|
+
...(this.deps.followUp ? { followUp: this.deps.followUp } : {}),
|
|
382
386
|
};
|
|
383
387
|
}
|
|
384
388
|
/**
|
|
@@ -456,6 +460,10 @@ export class SessionCheckpointWriter {
|
|
|
456
460
|
// unchanged: that is the one transition a `todos.length` key cannot see.
|
|
457
461
|
this.deps.readAcceptance?.().filter((item) => item.status !== 'pending').length ?? 0,
|
|
458
462
|
this.pinned ? 'pin' : '-',
|
|
463
|
+
// THE FOLLOW-UP DIMENSION (P1-1 / R-14). Without this key, a write whose ONLY change is the
|
|
464
|
+
// follow-up block (a seed that fell back from `history` to `excerpt`) is skipped as
|
|
465
|
+
// "nothing settled", and the file keeps claiming `history` for the rest of the session.
|
|
466
|
+
followUpFingerprint(this.deps.followUp),
|
|
459
467
|
].join('|');
|
|
460
468
|
}
|
|
461
469
|
}
|
|
@@ -518,3 +526,29 @@ function unlinkQuietly(path) {
|
|
|
518
526
|
// Already gone, or a handle still open. Neither is worth failing a run for.
|
|
519
527
|
}
|
|
520
528
|
}
|
|
529
|
+
/**
|
|
530
|
+
* The follow-up block as one comparable string, for `fingerprint()` and nothing else.
|
|
531
|
+
*
|
|
532
|
+
* THE EXCERPT TEXT IS NOT HASHED, only its length: hashing four thousand characters on every write
|
|
533
|
+
* would cost as much as writing the file, which is the one thing `fingerprint()` exists to avoid
|
|
534
|
+
* (K-1). Length plus the three scalars that decide what the panel SHOWS is the right granularity -
|
|
535
|
+
* a seed that fell back to excerpt-only changes `seedSource`, and that is the transition this key
|
|
536
|
+
* has to see.
|
|
537
|
+
*/
|
|
538
|
+
function followUpFingerprint(followUp) {
|
|
539
|
+
if (!followUp)
|
|
540
|
+
return '-';
|
|
541
|
+
return [
|
|
542
|
+
followUp.parentId,
|
|
543
|
+
followUp.seedSource,
|
|
544
|
+
followUp.omittedTurns,
|
|
545
|
+
followUp.anchor.entryKind,
|
|
546
|
+
followUp.anchor.entryId ?? '-',
|
|
547
|
+
followUp.anchor.text.length,
|
|
548
|
+
followUp.anchor.truncated ? 'trunc' : '-',
|
|
549
|
+
].join(',');
|
|
550
|
+
}
|
|
551
|
+
/** `{ memory }` only when there is something to save, so the default state writes no key. */
|
|
552
|
+
function memoryField(state) {
|
|
553
|
+
return state === undefined ? {} : { memory: state };
|
|
554
|
+
}
|
package/dist/session/limits.d.ts
CHANGED
|
@@ -35,6 +35,22 @@ export declare const SESSION_CHECKPOINT_LIMITS: {
|
|
|
35
35
|
/** Consecutive failures before the log record is raised from warn to error. */
|
|
36
36
|
readonly loudFailureStreak: 3;
|
|
37
37
|
};
|
|
38
|
+
/**
|
|
39
|
+
* Structural bounds for a follow-up panel's persisted anchor (desktop-follow-up-panel D-13).
|
|
40
|
+
*
|
|
41
|
+
* EVERY ENTRY HAS AN ENFORCEMENT POINT, which is this file's standing rule: `excerptChars` and
|
|
42
|
+
* `entryKindChars` are checked by `sanitizeFollowUpMeta` by `validate-session.ts` when a file is
|
|
43
|
+
* read, and `excerptChars` again by the desktop main process when the panel opens. Nothing here
|
|
44
|
+
* is user-tunable.
|
|
45
|
+
*/
|
|
46
|
+
export declare const FOLLOW_UP_META_LIMITS: {
|
|
47
|
+
/** The excerpt that may reach a system prompt. Longer than this and the prompt is unbounded. */
|
|
48
|
+
readonly excerptChars: 4000;
|
|
49
|
+
/** `entryKind` is one of five words; anything longer is not one of them. */
|
|
50
|
+
readonly entryKindChars: 32;
|
|
51
|
+
/** `omittedTurns` is reported to the user; a nonsense number is worse than zero. */
|
|
52
|
+
readonly maxOmittedTurns: 1000000;
|
|
53
|
+
};
|
|
38
54
|
/**
|
|
39
55
|
* Structural bounds for branching a session into a NEW terminal window
|
|
40
56
|
* (tui-branch-terminal-shortcut 5.3).
|
package/dist/session/limits.js
CHANGED
|
@@ -35,6 +35,22 @@ export const SESSION_CHECKPOINT_LIMITS = {
|
|
|
35
35
|
/** Consecutive failures before the log record is raised from warn to error. */
|
|
36
36
|
loudFailureStreak: 3,
|
|
37
37
|
};
|
|
38
|
+
/**
|
|
39
|
+
* Structural bounds for a follow-up panel's persisted anchor (desktop-follow-up-panel D-13).
|
|
40
|
+
*
|
|
41
|
+
* EVERY ENTRY HAS AN ENFORCEMENT POINT, which is this file's standing rule: `excerptChars` and
|
|
42
|
+
* `entryKindChars` are checked by `sanitizeFollowUpMeta` by `validate-session.ts` when a file is
|
|
43
|
+
* read, and `excerptChars` again by the desktop main process when the panel opens. Nothing here
|
|
44
|
+
* is user-tunable.
|
|
45
|
+
*/
|
|
46
|
+
export const FOLLOW_UP_META_LIMITS = {
|
|
47
|
+
/** The excerpt that may reach a system prompt. Longer than this and the prompt is unbounded. */
|
|
48
|
+
excerptChars: 4_000,
|
|
49
|
+
/** `entryKind` is one of five words; anything longer is not one of them. */
|
|
50
|
+
entryKindChars: 32,
|
|
51
|
+
/** `omittedTurns` is reported to the user; a nonsense number is worse than zero. */
|
|
52
|
+
maxOmittedTurns: 1_000_000,
|
|
53
|
+
};
|
|
38
54
|
/**
|
|
39
55
|
* Structural bounds for branching a session into a NEW terminal window
|
|
40
56
|
* (tui-branch-terminal-shortcut 5.3).
|
|
@@ -7,6 +7,7 @@
|
|
|
7
7
|
*/
|
|
8
8
|
import type { Message, ModelRef } from '@aragon-agent/core';
|
|
9
9
|
import type { Entry } from '@aragon-agent/tui/model/agent/reducer';
|
|
10
|
+
import type { MemorySessionState } from '@aragon-agent/tui/model/memory/types';
|
|
10
11
|
import type { AcceptanceItem, TodoItem } from '@aragon-agent/tui/model/todo/types';
|
|
11
12
|
import { type CompactionIdentity } from '../compaction/memory-identity.js';
|
|
12
13
|
/**
|
|
@@ -59,6 +60,41 @@ export interface SessionMeta {
|
|
|
59
60
|
live?: true;
|
|
60
61
|
/** The id this session branched from (D-5); absent for a fresh or named one. */
|
|
61
62
|
branchOf?: string;
|
|
63
|
+
/**
|
|
64
|
+
* The follow-up panel this session belongs to (desktop-follow-up-panel D-12).
|
|
65
|
+
*
|
|
66
|
+
* THE ANCHOR LIVES HERE, NOT IN `desktop-state.json`: the excerpt is conversation content (up to
|
|
67
|
+
* 4000 characters of it), and keeping it beside the messages is what lets a reloaded window
|
|
68
|
+
* restore the panel with no side channel at all.
|
|
69
|
+
*
|
|
70
|
+
* ADDITIVE AND OPTIONAL, like `todos` and `memory`, so `SESSION_VERSION` stays 1 and an ordinary
|
|
71
|
+
* session file is byte-identical to one written before this feature. `validate-session.ts`
|
|
72
|
+
* repairs an unreadable value into "no follow-up" rather than refusing the file.
|
|
73
|
+
*/
|
|
74
|
+
followUp?: SessionFollowUpMeta;
|
|
75
|
+
}
|
|
76
|
+
/**
|
|
77
|
+
* The parts of a follow-up anchor that survive a round trip through a session file.
|
|
78
|
+
*
|
|
79
|
+
* Deliberately NARROWER than the wire shape (`FollowUpAnchorInput`): the viewport rectangle that
|
|
80
|
+
* decided where to put the panel is a property of one screen, and `meta` is history.
|
|
81
|
+
*/
|
|
82
|
+
export interface SessionFollowUpAnchorMeta {
|
|
83
|
+
entryId: string | null;
|
|
84
|
+
entryKind: string;
|
|
85
|
+
/** At most `FOLLOW_UP_LIMITS.excerptChars`; a longer value drops the anchor, not the file. */
|
|
86
|
+
text: string;
|
|
87
|
+
truncated: boolean;
|
|
88
|
+
charStart: number;
|
|
89
|
+
charEnd: number;
|
|
90
|
+
streaming: boolean;
|
|
91
|
+
}
|
|
92
|
+
export interface SessionFollowUpMeta {
|
|
93
|
+
parentId: string;
|
|
94
|
+
anchor: SessionFollowUpAnchorMeta;
|
|
95
|
+
/** `'history'` = the parent's tail came along; `'excerpt'` = the degraded, excerpt-only start. */
|
|
96
|
+
seedSource: 'history' | 'excerpt';
|
|
97
|
+
omittedTurns: number;
|
|
62
98
|
}
|
|
63
99
|
export interface SavedSession {
|
|
64
100
|
version: number;
|
|
@@ -88,6 +124,15 @@ export interface SavedSession {
|
|
|
88
124
|
* criterion is being checked.
|
|
89
125
|
*/
|
|
90
126
|
acceptance?: AcceptanceItem[];
|
|
127
|
+
/**
|
|
128
|
+
* The memory session state at save time (agent-memory spec 5.5 / D-12): which notes the user
|
|
129
|
+
* mounted or unmounted, the auto-load switch, the agent-write policy.
|
|
130
|
+
*
|
|
131
|
+
* ADDITIVE AND OPTIONAL, like `todos` and `acceptance`, so `SESSION_VERSION` stays 1 and an
|
|
132
|
+
* older file simply restores the defaults. IDS ONLY, NEVER TEXT (I-18): a checkpoint is
|
|
133
|
+
* rewritten constantly and can be shared, and the notes already live in their own files.
|
|
134
|
+
*/
|
|
135
|
+
memory?: MemorySessionState;
|
|
91
136
|
/**
|
|
92
137
|
* Written by `aragon exec` (cli-integration-surface §5.2 / D-10) AND by the
|
|
93
138
|
* TUI's session checkpoint (tui-session-id-resume §6.1).
|
|
@@ -127,6 +172,8 @@ export declare function saveSession(filePath: string, data: {
|
|
|
127
172
|
* additive for callers that predate it; every writer in this package passes it.
|
|
128
173
|
*/
|
|
129
174
|
acceptance?: AcceptanceItem[];
|
|
175
|
+
/** Omitted when every memory setting is at its default, so such a file is byte-identical. */
|
|
176
|
+
memory?: MemorySessionState;
|
|
130
177
|
meta?: SessionMeta;
|
|
131
178
|
}): void;
|
|
132
179
|
/**
|
package/dist/session/persist.js
CHANGED
|
@@ -142,6 +142,7 @@ export function saveSession(filePath, data) {
|
|
|
142
142
|
...(data.acceptance && data.acceptance.length > 0
|
|
143
143
|
? { acceptance: data.acceptance }
|
|
144
144
|
: {}),
|
|
145
|
+
...(data.memory ? { memory: data.memory } : {}),
|
|
145
146
|
...(data.meta ? { meta: data.meta } : {}),
|
|
146
147
|
};
|
|
147
148
|
writeFileSync(filePath, `${JSON.stringify(payload, null, 2)}\n`, 'utf-8');
|
|
@@ -56,6 +56,12 @@ export interface SessionRestorePort {
|
|
|
56
56
|
* the same additive shape as `SavedSession.acceptance`.
|
|
57
57
|
*/
|
|
58
58
|
restoreTodos(items: TodoItem[], acceptance?: AcceptanceItem[]): void;
|
|
59
|
+
/**
|
|
60
|
+
* The saved memory mounts and switches (agent-memory 5.5). OPTIONAL on the port for the same
|
|
61
|
+
* reason `acceptance` is: a test double or an `exec` caller that predates the feature keeps
|
|
62
|
+
* compiling, and a headless controller (no memory service) ignores it.
|
|
63
|
+
*/
|
|
64
|
+
restoreMemory?(state: unknown): void;
|
|
59
65
|
setModel(providerId: string, modelId: string, baseUrl?: string): void;
|
|
60
66
|
}
|
|
61
67
|
export type StartupSessionResolution = {
|
|
@@ -44,6 +44,9 @@ export function applyRestoredSession(port, saved, opts = {}) {
|
|
|
44
44
|
// restoring the steps and dropping the conclusions shows a plan as unstarted that
|
|
45
45
|
// the user already watched being verified.
|
|
46
46
|
port.restoreTodos(saved.todos ?? [], saved.acceptance ?? []);
|
|
47
|
+
// Absence means "defaults", exactly as absent todos mean "clear": the file says what the
|
|
48
|
+
// session had, and a file that predates memory had nothing mounted.
|
|
49
|
+
port.restoreMemory?.(saved.memory);
|
|
47
50
|
if (!opts.skipModel && saved.model?.providerId && saved.model?.modelId) {
|
|
48
51
|
port.setModel(saved.model.providerId, saved.model.modelId, saved.model.baseUrl);
|
|
49
52
|
}
|
package/dist/session/store.d.ts
CHANGED
|
@@ -71,6 +71,20 @@ export interface SessionListEntry {
|
|
|
71
71
|
}
|
|
72
72
|
export declare function sessionsDir(): string;
|
|
73
73
|
export declare function sessionPathFor(id: string): string;
|
|
74
|
+
/**
|
|
75
|
+
* `<sessions>/follow-ups`: where follow-up panel sessions are checkpointed
|
|
76
|
+
* (desktop-follow-up-panel D-2).
|
|
77
|
+
*
|
|
78
|
+
* A SUBDIRECTORY IS THE WHOLE EXCLUSION MECHANISM. `listSessions` below walks the sessions folder
|
|
79
|
+
* with a flat `readdirSync` and keeps only names ending in `.json`, and the desktop's
|
|
80
|
+
* `scanSessionFiles` additionally requires `isFile()`; a directory therefore cannot appear in the
|
|
81
|
+
* sidebar, in `aragon sessions list` or in `prune` whatever it is called. `sessions/cleared/` is
|
|
82
|
+
* the precedent. Adding a recursive scan to either of those two functions would surface every
|
|
83
|
+
* follow-up as a session, which is the one change this comment exists to prevent.
|
|
84
|
+
*/
|
|
85
|
+
export declare function followUpsDir(): string;
|
|
86
|
+
/** `<sessions>/follow-ups/<id>.json`. Validated by the same choke point as every other id. */
|
|
87
|
+
export declare function followUpSessionPathFor(id: string): string;
|
|
74
88
|
/**
|
|
75
89
|
* The id a RESUMED session writes back under.
|
|
76
90
|
*
|
package/dist/session/store.js
CHANGED
|
@@ -80,6 +80,24 @@ function assertSessionId(id) {
|
|
|
80
80
|
export function sessionPathFor(id) {
|
|
81
81
|
return join(getSessionsDir(), `${assertSessionId(id)}.json`);
|
|
82
82
|
}
|
|
83
|
+
/**
|
|
84
|
+
* `<sessions>/follow-ups`: where follow-up panel sessions are checkpointed
|
|
85
|
+
* (desktop-follow-up-panel D-2).
|
|
86
|
+
*
|
|
87
|
+
* A SUBDIRECTORY IS THE WHOLE EXCLUSION MECHANISM. `listSessions` below walks the sessions folder
|
|
88
|
+
* with a flat `readdirSync` and keeps only names ending in `.json`, and the desktop's
|
|
89
|
+
* `scanSessionFiles` additionally requires `isFile()`; a directory therefore cannot appear in the
|
|
90
|
+
* sidebar, in `aragon sessions list` or in `prune` whatever it is called. `sessions/cleared/` is
|
|
91
|
+
* the precedent. Adding a recursive scan to either of those two functions would surface every
|
|
92
|
+
* follow-up as a session, which is the one change this comment exists to prevent.
|
|
93
|
+
*/
|
|
94
|
+
export function followUpsDir() {
|
|
95
|
+
return join(getSessionsDir(), 'follow-ups');
|
|
96
|
+
}
|
|
97
|
+
/** `<sessions>/follow-ups/<id>.json`. Validated by the same choke point as every other id. */
|
|
98
|
+
export function followUpSessionPathFor(id) {
|
|
99
|
+
return join(followUpsDir(), `${assertSessionId(id)}.json`);
|
|
100
|
+
}
|
|
83
101
|
/**
|
|
84
102
|
* The id a RESUMED session writes back under.
|
|
85
103
|
*
|
|
@@ -2,6 +2,8 @@ import { isAdapterProvider } from '@aragon-agent/tui/model/config/schema';
|
|
|
2
2
|
import { normalizeTodos } from '../todo/normalize.js';
|
|
3
3
|
import { TODO_LIMITS } from '@aragon-agent/tui/model/todo/limits';
|
|
4
4
|
import { acceptanceSummary, normalizeAcceptance } from '@aragon-agent/tui/model/todo/acceptance';
|
|
5
|
+
import { isValidNoteId } from '../memory/paths.js';
|
|
6
|
+
import { FOLLOW_UP_META_LIMITS } from './limits.js';
|
|
5
7
|
import { validateCompactionIdentity } from '../compaction/memory-identity.js';
|
|
6
8
|
import { MemoryError } from '../compaction/memory.js';
|
|
7
9
|
import { GOVERNANCE_CARD_FALLBACK_TEXT, normalizeGovernanceCard } from '../governance/card-normalize.js';
|
|
@@ -285,6 +287,7 @@ export function validateSession(value) {
|
|
|
285
287
|
}
|
|
286
288
|
// Missing fields remain missing in old files, including exec metadata.
|
|
287
289
|
const prepared = { ...source };
|
|
290
|
+
prepared.meta = sanitizeSessionMeta(source.meta);
|
|
288
291
|
if (source.todos !== undefined) {
|
|
289
292
|
prepared.todos = normalizeTodos(source.todos, TODO_LIMITS.maxItems).items;
|
|
290
293
|
}
|
|
@@ -294,9 +297,104 @@ export function validateSession(value) {
|
|
|
294
297
|
if (source.acceptance !== undefined) {
|
|
295
298
|
prepared.acceptance = normalizeAcceptance(source.acceptance, [], { enabled: true }).items;
|
|
296
299
|
}
|
|
300
|
+
// THE MEMORY STATE IS VALIDATED LENIENTLY (agent-memory 5.5): a hand-edited or newer file with a
|
|
301
|
+
// malformed field loses THAT field, never the whole conversation. Only note ids and the three
|
|
302
|
+
// small enums survive; the service drops ids that no longer exist when it restores.
|
|
303
|
+
if (source.memory !== undefined)
|
|
304
|
+
prepared.memory = sanitizeMemoryState(source.memory);
|
|
297
305
|
prepared.entries = sanitizeGovernanceEntries(sanitizeEntryAcceptance(prepared.entries));
|
|
298
306
|
return prepared;
|
|
299
307
|
}
|
|
308
|
+
/**
|
|
309
|
+
* `meta`, repaired field by field - and `meta.followUp` in particular (desktop-follow-up-panel
|
|
310
|
+
* 8.3).
|
|
311
|
+
*
|
|
312
|
+
* A SESSION FILE IS AN INPUT. `meta` used to be passed through untouched because nothing but
|
|
313
|
+
* `writeSession` ever produced one; a follow-up anchor is 4000 characters of user-visible text
|
|
314
|
+
* that reaches a SYSTEM PROMPT, so it is now checked here rather than trusted downstream. The
|
|
315
|
+
* failure mode being prevented is not a crash - it is a hand-edited file quietly turning into
|
|
316
|
+
* instructions in a child session's prompt.
|
|
317
|
+
*
|
|
318
|
+
* A BAD ANCHOR DROPS THE ANCHOR, NOT THE FILE (8.3): the session degrades to an ordinary one
|
|
319
|
+
* with no excerpt. Losing a conversation to protect a footnote would be the worse trade.
|
|
320
|
+
*/
|
|
321
|
+
function sanitizeSessionMeta(raw) {
|
|
322
|
+
if (raw === null || typeof raw !== 'object' || Array.isArray(raw))
|
|
323
|
+
return raw;
|
|
324
|
+
const meta = { ...raw };
|
|
325
|
+
if (meta.followUp === undefined)
|
|
326
|
+
return meta;
|
|
327
|
+
const followUp = sanitizeFollowUpMeta(meta.followUp);
|
|
328
|
+
if (followUp)
|
|
329
|
+
meta.followUp = followUp;
|
|
330
|
+
else
|
|
331
|
+
delete meta.followUp;
|
|
332
|
+
return meta;
|
|
333
|
+
}
|
|
334
|
+
function sanitizeFollowUpMeta(raw) {
|
|
335
|
+
if (raw === null || typeof raw !== 'object' || Array.isArray(raw))
|
|
336
|
+
return undefined;
|
|
337
|
+
const src = raw;
|
|
338
|
+
if (typeof src.parentId !== 'string' || src.parentId.length === 0)
|
|
339
|
+
return undefined;
|
|
340
|
+
const anchor = sanitizeFollowUpAnchor(src.anchor);
|
|
341
|
+
if (!anchor)
|
|
342
|
+
return undefined;
|
|
343
|
+
const seedSource = src.seedSource === 'excerpt' ? 'excerpt' : 'history';
|
|
344
|
+
const omitted = typeof src.omittedTurns === 'number' && Number.isFinite(src.omittedTurns)
|
|
345
|
+
? Math.min(FOLLOW_UP_META_LIMITS.maxOmittedTurns, Math.max(0, Math.floor(src.omittedTurns)))
|
|
346
|
+
: 0;
|
|
347
|
+
return { parentId: src.parentId, anchor, seedSource, omittedTurns: omitted };
|
|
348
|
+
}
|
|
349
|
+
function sanitizeFollowUpAnchor(raw) {
|
|
350
|
+
if (raw === null || typeof raw !== 'object' || Array.isArray(raw))
|
|
351
|
+
return undefined;
|
|
352
|
+
const src = raw;
|
|
353
|
+
if (typeof src.text !== 'string' || src.text.length === 0)
|
|
354
|
+
return undefined;
|
|
355
|
+
if (src.text.length > FOLLOW_UP_META_LIMITS.excerptChars)
|
|
356
|
+
return undefined;
|
|
357
|
+
if (typeof src.entryKind !== 'string' || src.entryKind.length > FOLLOW_UP_META_LIMITS.entryKindChars) {
|
|
358
|
+
return undefined;
|
|
359
|
+
}
|
|
360
|
+
const entryId = typeof src.entryId === 'string' && src.entryId.length > 0 ? src.entryId : null;
|
|
361
|
+
return {
|
|
362
|
+
entryId,
|
|
363
|
+
entryKind: src.entryKind,
|
|
364
|
+
text: src.text,
|
|
365
|
+
truncated: src.truncated === true,
|
|
366
|
+
charStart: finiteOrZero(src.charStart),
|
|
367
|
+
charEnd: finiteOrZero(src.charEnd),
|
|
368
|
+
streaming: src.streaming === true,
|
|
369
|
+
};
|
|
370
|
+
}
|
|
371
|
+
/** A character offset that is not a finite non-negative number reads as 0, never as NaN. */
|
|
372
|
+
function finiteOrZero(value) {
|
|
373
|
+
return typeof value === 'number' && Number.isFinite(value) && value >= 0 ? Math.floor(value) : 0;
|
|
374
|
+
}
|
|
375
|
+
/** The memory fields a session file may carry, reduced to the shape the service accepts. */
|
|
376
|
+
function sanitizeMemoryState(raw) {
|
|
377
|
+
if (raw === null || typeof raw !== 'object')
|
|
378
|
+
return undefined;
|
|
379
|
+
const src = raw;
|
|
380
|
+
const overrides = {};
|
|
381
|
+
if (src.overrides && typeof src.overrides === 'object') {
|
|
382
|
+
for (const [id, value] of Object.entries(src.overrides)) {
|
|
383
|
+
if (Object.keys(overrides).length >= 400)
|
|
384
|
+
break;
|
|
385
|
+
if (isValidNoteId(id) && (value === 'mount' || value === 'unmount'))
|
|
386
|
+
overrides[id] = value;
|
|
387
|
+
}
|
|
388
|
+
}
|
|
389
|
+
const autoload = typeof src.autoload === 'boolean' ? src.autoload : null;
|
|
390
|
+
// Authority never travels in a file (agent-memory I-19): a hand-edited or foreign session
|
|
391
|
+
// must not be able to turn write approval off, so only the stricter value survives.
|
|
392
|
+
const agentWrites = src.agentWrites === 'ask' ? 'ask' : null;
|
|
393
|
+
if (autoload === null && agentWrites === null && Object.keys(overrides).length === 0) {
|
|
394
|
+
return undefined;
|
|
395
|
+
}
|
|
396
|
+
return { autoload, overrides, agentWrites };
|
|
397
|
+
}
|
|
300
398
|
/**
|
|
301
399
|
* Repair every governance card the file carries, or degrade it to a one-line notice.
|
|
302
400
|
*
|
package/dist/tools/index.d.ts
CHANGED
|
@@ -205,6 +205,17 @@ export interface BuiltinToolsOptions {
|
|
|
205
205
|
* to the pre-feature build.
|
|
206
206
|
*/
|
|
207
207
|
jobTools?: AgentTool[];
|
|
208
|
+
/**
|
|
209
|
+
* `memory_search` / `memory_read` / `memory_write`, appended verbatim (agent-memory 7.1).
|
|
210
|
+
*
|
|
211
|
+
* THROUGH THE FACTORY FOR THE REASON `jobTools` RECORDS: `tools.test.ts::C7` asserts
|
|
212
|
+
* `HOST_TOOL_NAMES` equals what this factory PRODUCES, so appending them in
|
|
213
|
+
* `AgentController` afterwards would turn that test red with a message about two lists of
|
|
214
|
+
* names. SPREAD CONDITIONALLY by the caller: with memory off (or headless, or a subagent)
|
|
215
|
+
* the options bag has no such key and the tool array is the one built before this feature
|
|
216
|
+
* existed, which is provable by identity (I-2).
|
|
217
|
+
*/
|
|
218
|
+
memoryTools?: AgentTool[];
|
|
208
219
|
/**
|
|
209
220
|
* `submit_result`, appended verbatim when the caller supplied `--result-schema`
|
|
210
221
|
* (headless-request-scope-and-typed-result section 2.3.9).
|
|
@@ -403,7 +414,7 @@ export declare function gatedToolTimeouts(toolTimeoutMs: number, decisionBudgetM
|
|
|
403
414
|
* is the whole of what this mechanism is worth, and saying so plainly beats
|
|
404
415
|
* implying it covers more.
|
|
405
416
|
*/
|
|
406
|
-
export declare const SKILL_TOOL_FLOOR: readonly ["read_file", "list_dir", "glob", "grep", "skill", "skill_find", "ask_user", "submit_plan", "task", "todo_write", "bash_output", "job_wait", "job_list"];
|
|
417
|
+
export declare const SKILL_TOOL_FLOOR: readonly ["read_file", "list_dir", "glob", "grep", "skill", "skill_find", "ask_user", "submit_plan", "task", "todo_write", "bash_output", "job_wait", "job_list", "memory_search", "memory_read"];
|
|
407
418
|
/**
|
|
408
419
|
* The five tools plan mode refuses: exactly the complement of `SKILL_TOOL_FLOOR`
|
|
409
420
|
* within `HOST_TOOL_NAMES` — "the five that change something", the set this file
|
|
@@ -436,5 +447,13 @@ export declare const PLAN_MODE_BLOCKED_TOOLS: ReadonlySet<string>;
|
|
|
436
447
|
* declaration MEANS, and that reading must not change with how the CLI was
|
|
437
448
|
* started.
|
|
438
449
|
*/
|
|
439
|
-
export declare const HOST_TOOL_NAMES: readonly ["read_file", "write_file", "edit_file", "list_dir", "glob", "grep", "bash", "skill", "skill_find", "skill_install", "skill_create", "ask_user", "submit_plan", "todo_write", "bash_output", "bash_kill", "job_wait", "job_list", "submit_result", "task"];
|
|
450
|
+
export declare const HOST_TOOL_NAMES: readonly ["read_file", "write_file", "edit_file", "list_dir", "glob", "grep", "bash", "skill", "skill_find", "skill_install", "skill_create", "ask_user", "submit_plan", "todo_write", "bash_output", "bash_kill", "job_wait", "job_list", "memory_search", "memory_read", "memory_write", "submit_result", "task"];
|
|
451
|
+
/**
|
|
452
|
+
* The three memory tools, as one constant (agent-memory 7.1).
|
|
453
|
+
*
|
|
454
|
+
* Exported so `exec/bridge/server.ts` can SUBTRACT it from its reserved-name set: the
|
|
455
|
+
* headless path never registers these tools, so reserving their names would only reject
|
|
456
|
+
* caller tools that are perfectly legitimate (`memory_search` is a very common name).
|
|
457
|
+
*/
|
|
458
|
+
export declare const MEMORY_TOOL_NAMES: readonly ["memory_search", "memory_read", "memory_write"];
|
|
440
459
|
export declare function createBuiltinTools(options: BuiltinToolsOptions): AgentTool[];
|
package/dist/tools/index.js
CHANGED
|
@@ -125,6 +125,13 @@ export const SKILL_TOOL_FLOOR = [
|
|
|
125
125
|
// mode the user is actually in.
|
|
126
126
|
'job_wait',
|
|
127
127
|
'job_list',
|
|
128
|
+
// `memory_search` / `memory_read` join the FLOOR for the reason `job_wait` did: reading
|
|
129
|
+
// the user's saved notes cannot write to disk, and a skill whose `allowed-tools` omits
|
|
130
|
+
// them would otherwise be unable to consult memory at all. `memory_write` is the
|
|
131
|
+
// opposite: it writes to disk, so it belongs to the BLOCKED set below. The partition
|
|
132
|
+
// test makes both choices conscious (agent-memory D-8).
|
|
133
|
+
'memory_search',
|
|
134
|
+
'memory_read',
|
|
128
135
|
];
|
|
129
136
|
/**
|
|
130
137
|
* The five tools plan mode refuses: exactly the complement of `SKILL_TOOL_FLOOR`
|
|
@@ -148,6 +155,11 @@ export const PLAN_MODE_BLOCKED_TOOLS = new Set([
|
|
|
148
155
|
// is dead-ended by it: `Ctrl+C` and `/bg stop` both remain available to the
|
|
149
156
|
// USER in plan mode, so the person can always stop what the agent started.
|
|
150
157
|
'bash_kill',
|
|
158
|
+
// `memory_write` WRITES TO DISK (agent-memory D-8): the floor's membership test is "cannot
|
|
159
|
+
// write", so it is blocked in plan mode like `write_file`. Nothing dead-ends: the user can
|
|
160
|
+
// still save with Ctrl+M / `/memory save` (a UI action, not a tool call), and the tool's
|
|
161
|
+
// description tells the model to say so.
|
|
162
|
+
'memory_write',
|
|
151
163
|
]);
|
|
152
164
|
/**
|
|
153
165
|
* Every tool name this host CAN register (7 built-ins + 4 skill tools).
|
|
@@ -197,6 +209,13 @@ export const HOST_TOOL_NAMES = [
|
|
|
197
209
|
// (long-task-jobs §4.3).
|
|
198
210
|
'job_wait',
|
|
199
211
|
'job_list',
|
|
212
|
+
// The memory names (agent-memory 7.1): in the superset so `allowed-tools: [memory_read]`
|
|
213
|
+
// is answerable by `skills doctor`. REGISTRATION is separate - headless runs and
|
|
214
|
+
// subagents never register them - which is why the `exec` bridge's reserved-name set
|
|
215
|
+
// subtracts `MEMORY_TOOL_NAMES` (RV-5).
|
|
216
|
+
'memory_search',
|
|
217
|
+
'memory_read',
|
|
218
|
+
'memory_write',
|
|
200
219
|
// `submit_result` (headless-request-scope-and-typed-result section 2.3.9) belongs to
|
|
201
220
|
// the superset for the reason the two job names above do: a skill's
|
|
202
221
|
// `allowed-tools: [submit_result]` must be answerable, and `--allow-tool` /
|
|
@@ -212,6 +231,14 @@ export const HOST_TOOL_NAMES = [
|
|
|
212
231
|
// mechanism answering a different question.
|
|
213
232
|
'task',
|
|
214
233
|
];
|
|
234
|
+
/**
|
|
235
|
+
* The three memory tools, as one constant (agent-memory 7.1).
|
|
236
|
+
*
|
|
237
|
+
* Exported so `exec/bridge/server.ts` can SUBTRACT it from its reserved-name set: the
|
|
238
|
+
* headless path never registers these tools, so reserving their names would only reject
|
|
239
|
+
* caller tools that are perfectly legitimate (`memory_search` is a very common name).
|
|
240
|
+
*/
|
|
241
|
+
export const MEMORY_TOOL_NAMES = ['memory_search', 'memory_read', 'memory_write'];
|
|
215
242
|
function summarize(toolName, params) {
|
|
216
243
|
if (toolName === 'bash')
|
|
217
244
|
return `Run: ${String(params.command ?? '')}`;
|
|
@@ -369,6 +396,12 @@ export function createBuiltinTools(options) {
|
|
|
369
396
|
if (options.jobTools && options.jobTools.length > 0) {
|
|
370
397
|
tools = [...tools, ...options.jobTools];
|
|
371
398
|
}
|
|
399
|
+
// AFTER `jobTools` and BEFORE `resultTool` (agent-memory 7.1): the memory tools are the
|
|
400
|
+
// fourth group of host-side handles, and `HOST_TOOL_NAMES` places them between `job_list`
|
|
401
|
+
// and `submit_result`, so the constant changes by one insertion rather than a reshuffle.
|
|
402
|
+
if (options.memoryTools && options.memoryTools.length > 0) {
|
|
403
|
+
tools = [...tools, ...options.memoryTools];
|
|
404
|
+
}
|
|
372
405
|
// AFTER `jobTools`, BEFORE `teamTools`: `submit_result` is the answer-shaped sibling
|
|
373
406
|
// of the plan tools rather than a team tool, and keeping a lead's `task` last means
|
|
374
407
|
// `HOST_TOOL_NAMES` grows by one insertion instead of a reshuffle
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aragon-agent/cli",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.54",
|
|
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",
|
|
@@ -58,8 +58,8 @@
|
|
|
58
58
|
"prepublishOnly": "npm run build"
|
|
59
59
|
},
|
|
60
60
|
"dependencies": {
|
|
61
|
-
"@aragon-agent/core": "^0.2.
|
|
62
|
-
"@aragon-agent/tui": "0.0.
|
|
61
|
+
"@aragon-agent/core": "^0.2.66",
|
|
62
|
+
"@aragon-agent/tui": "0.0.7",
|
|
63
63
|
"commander": "^12.1.0",
|
|
64
64
|
"dotenv": "^16.6.1",
|
|
65
65
|
"env-paths": "^3.0.0",
|