@aragon-agent/cli 0.6.50 → 0.6.52
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 +2800 -2723
- package/README.md +81 -6
- package/dist/agent/controller.d.ts +91 -5
- package/dist/agent/controller.js +252 -31
- package/dist/agent/image-history.d.ts +93 -0
- package/dist/agent/image-history.js +239 -0
- package/dist/agent/image-input-prompt.d.ts +17 -0
- package/dist/agent/image-input-prompt.js +56 -0
- package/dist/agent/image-support.d.ts +51 -0
- package/dist/agent/image-support.js +40 -0
- package/dist/agent/prompt-options.d.ts +18 -0
- package/dist/agent/system-prompt.d.ts +13 -0
- package/dist/agent/system-prompt.js +2 -0
- package/dist/agent/team-mode-wiring.d.ts +108 -0
- package/dist/agent/team-mode-wiring.js +221 -0
- package/dist/app/App.js +55 -14
- package/dist/app/use-team-mode.d.ts +53 -0
- package/dist/app/use-team-mode.js +107 -0
- package/dist/commands/catalog.js +1 -1
- package/dist/commands/team-command.d.ts +6 -4
- package/dist/commands/team-command.js +67 -27
- package/dist/compaction/archive.js +6 -1
- package/dist/compaction/compactor.js +5 -0
- package/dist/compaction/memory-input.d.ts +21 -0
- package/dist/compaction/memory-input.js +66 -3
- package/dist/governance/engine/engine.d.ts +8 -0
- package/dist/governance/engine/engine.js +11 -1
- package/dist/governance/store/atomic.d.ts +10 -0
- package/dist/governance/store/atomic.js +16 -8
- package/dist/governance/store/run-lock.d.ts +4 -0
- package/dist/governance/store/run-lock.js +4 -2
- package/dist/host/interaction.d.ts +6 -1
- package/dist/host/interaction.js +47 -8
- package/dist/session/persist.js +24 -2
- package/dist/session/validate-session.js +2 -2
- package/dist/team/forced-mode.d.ts +6 -2
- package/dist/team/forced-mode.js +11 -1
- package/dist/team/runtime.d.ts +6 -0
- package/dist/team/runtime.js +4 -0
- package/dist/team/subagent.d.ts +23 -2
- package/dist/team/subagent.js +44 -2
- package/dist/tools/fs-tools.d.ts +22 -0
- package/dist/tools/fs-tools.js +26 -3
- package/dist/tools/image-read.d.ts +69 -0
- package/dist/tools/image-read.js +183 -0
- package/dist/tools/index.d.ts +12 -0
- package/dist/tools/index.js +2 -0
- package/package.json +3 -3
package/dist/tools/index.d.ts
CHANGED
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
import { type AgentTool, type ToolPolicyDecision, type ToolPolicyVerdict } from '@aragon-agent/core';
|
|
12
12
|
import type { AgentMode } from '@aragon-agent/tui/model/agent/agent-mode';
|
|
13
13
|
import type { ToolPermission } from '../exec/permission.js';
|
|
14
|
+
import type { ImageReadPort } from './image-read.js';
|
|
14
15
|
import type { FilePatch } from '@aragon-agent/tui/model/tools/patch';
|
|
15
16
|
import type { ProcSupervisorPort } from '@aragon-agent/tui/model/proc/types';
|
|
16
17
|
import type { JobNotice } from '../proc/notices.js';
|
|
@@ -35,6 +36,17 @@ export interface ConfirmRequest {
|
|
|
35
36
|
}
|
|
36
37
|
export interface BuiltinToolsOptions {
|
|
37
38
|
getCwd: () => string;
|
|
39
|
+
/**
|
|
40
|
+
* Let `read_file` show pictures (agent-image-reading D-2), judged against the CURRENT model on
|
|
41
|
+
* every call.
|
|
42
|
+
*
|
|
43
|
+
* THE TWO-INTERFACE RULE APPLIES VERBATIM (see `recordChange` below): the field is needed
|
|
44
|
+
* here AND on `ToolDeps`, and forwarded in `createBuiltinTools`. Adding it to one interface
|
|
45
|
+
* type-checks, forwards nothing, and leaves `read_file` answering "binary" with no error
|
|
46
|
+
* anywhere. Omitting it - every existing test, every subagent without a vision port - leaves
|
|
47
|
+
* the tool byte-identical to the pre-feature build.
|
|
48
|
+
*/
|
|
49
|
+
images?: ImageReadPort;
|
|
38
50
|
/**
|
|
39
51
|
* Hand `write_file` / `edit_file` a place to leave a structured `FilePatch`
|
|
40
52
|
* (agent-activity-presentation §3.3.5), already bound to its owner.
|
package/dist/tools/index.js
CHANGED
|
@@ -316,6 +316,8 @@ export function createBuiltinTools(options) {
|
|
|
316
316
|
// of the two-interface note on `procs` above: without this line the field is
|
|
317
317
|
// on both interfaces, nothing errors, and `bash` still hangs.
|
|
318
318
|
...(options.procs ? { procs: options.procs } : {}),
|
|
319
|
+
// The fourth, with the same two-interface note on `images` above.
|
|
320
|
+
...(options.images ? { images: options.images } : {}),
|
|
319
321
|
};
|
|
320
322
|
let tools = [
|
|
321
323
|
makeReadFile(deps),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aragon-agent/cli",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.52",
|
|
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.64",
|
|
62
|
+
"@aragon-agent/tui": "0.0.5",
|
|
63
63
|
"commander": "^12.1.0",
|
|
64
64
|
"dotenv": "^16.6.1",
|
|
65
65
|
"env-paths": "^3.0.0",
|