@aragon-agent/cli 0.6.62 → 0.6.64

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.
Files changed (93) hide show
  1. package/CHANGELOG.md +70 -2
  2. package/README.md +143 -27
  3. package/dist/agent/controller.d.ts +66 -14
  4. package/dist/agent/controller.js +291 -81
  5. package/dist/agent/headless.d.ts +16 -0
  6. package/dist/agent/headless.js +62 -3
  7. package/dist/agent/team-notices.d.ts +57 -7
  8. package/dist/agent/team-notices.js +93 -10
  9. package/dist/app/App.js +199 -77
  10. package/dist/cli.js +4 -1
  11. package/dist/commands/builtins.js +2 -1
  12. package/dist/commands/catalog.js +1 -1
  13. package/dist/compaction/archive.d.ts +27 -1
  14. package/dist/compaction/archive.js +8 -0
  15. package/dist/compaction/budget.d.ts +73 -0
  16. package/dist/compaction/budget.js +89 -0
  17. package/dist/compaction/child.js +6 -1
  18. package/dist/compaction/command.js +147 -1
  19. package/dist/compaction/compactor.d.ts +132 -15
  20. package/dist/compaction/compactor.js +288 -95
  21. package/dist/compaction/context-command.js +21 -0
  22. package/dist/compaction/memory-agent-prompt.d.ts +32 -0
  23. package/dist/compaction/memory-agent-prompt.js +76 -0
  24. package/dist/compaction/memory-agent-tools.d.ts +88 -0
  25. package/dist/compaction/memory-agent-tools.js +338 -0
  26. package/dist/compaction/memory-agent.d.ts +114 -0
  27. package/dist/compaction/memory-agent.js +220 -0
  28. package/dist/compaction/prune.d.ts +129 -0
  29. package/dist/compaction/prune.js +386 -0
  30. package/dist/compaction/retry-plan.d.ts +103 -0
  31. package/dist/compaction/retry-plan.js +136 -0
  32. package/dist/compaction/summarize-ladder.d.ts +149 -0
  33. package/dist/compaction/summarize-ladder.js +273 -0
  34. package/dist/compaction/wiring.d.ts +19 -0
  35. package/dist/compaction/wiring.js +65 -1
  36. package/dist/config/cli-commands.d.ts +2 -2
  37. package/dist/config/cli-commands.js +27 -0
  38. package/dist/config/env.d.ts +3 -1
  39. package/dist/config/env.js +44 -2
  40. package/dist/exec/events.d.ts +30 -0
  41. package/dist/exec/index.js +2 -0
  42. package/dist/exec/runner.js +16 -1
  43. package/dist/gene/commit-prepare.js +27 -1
  44. package/dist/gene/curator/curator.d.ts +15 -0
  45. package/dist/gene/curator/curator.js +26 -2
  46. package/dist/gene/curator/scripted-lane.d.ts +12 -0
  47. package/dist/gene/curator/scripted-lane.js +101 -0
  48. package/dist/gene/curator/task-context.d.ts +21 -0
  49. package/dist/gene/curator/task-context.js +33 -0
  50. package/dist/gene/curator/task-runner.d.ts +10 -1
  51. package/dist/gene/curator/task-runner.js +39 -4
  52. package/dist/gene/curator/tool-support.js +11 -4
  53. package/dist/gene/curator/toolkit.d.ts +13 -0
  54. package/dist/gene/curator/toolkit.js +23 -1
  55. package/dist/gene/curator/tools-verify.js +2 -2
  56. package/dist/gene/curator/tools-write.js +6 -1
  57. package/dist/gene/curator/validate/evidence-tokens.js +133 -22
  58. package/dist/gene/curator/validate/knowledge.d.ts +41 -1
  59. package/dist/gene/curator/validate/knowledge.js +74 -11
  60. package/dist/gene/curator/validate/prompts.d.ts +10 -2
  61. package/dist/gene/curator/validate/prompts.js +2 -2
  62. package/dist/gene/learn/draft-guard.d.ts +17 -0
  63. package/dist/gene/learn/draft-guard.js +113 -0
  64. package/dist/gene/learn/learn-prompt.d.ts +22 -1
  65. package/dist/gene/learn/learn-prompt.js +27 -2
  66. package/dist/gene/learn/learner.js +20 -2
  67. package/dist/gene/queue.d.ts +16 -0
  68. package/dist/gene/queue.js +44 -1
  69. package/dist/governance/store/run-store.d.ts +20 -0
  70. package/dist/governance/store/run-store.js +54 -8
  71. package/dist/host/index.d.ts +1 -0
  72. package/dist/host/index.js +1 -0
  73. package/dist/host/interaction.d.ts +8 -17
  74. package/dist/host/interaction.js +50 -72
  75. package/dist/host/team-wake-driver.d.ts +90 -0
  76. package/dist/host/team-wake-driver.js +114 -0
  77. package/dist/logging/install.d.ts +59 -1
  78. package/dist/logging/install.js +15 -0
  79. package/dist/session/validate-session.js +11 -0
  80. package/dist/team/console-tools.d.ts +12 -0
  81. package/dist/team/console-tools.js +20 -3
  82. package/dist/team/console-view.js +11 -1
  83. package/dist/team/notices.d.ts +81 -4
  84. package/dist/team/notices.js +187 -22
  85. package/dist/team/prompt.js +1 -1
  86. package/dist/team/runtime.d.ts +67 -24
  87. package/dist/team/runtime.js +250 -31
  88. package/dist/team/stall-watch.d.ts +54 -0
  89. package/dist/team/stall-watch.js +119 -0
  90. package/dist/team/task-tool.js +2 -2
  91. package/dist/team/wake.d.ts +176 -0
  92. package/dist/team/wake.js +444 -0
  93. package/package.json +81 -81
package/package.json CHANGED
@@ -1,81 +1,81 @@
1
- {
2
- "name": "@aragon-agent/cli",
3
- "version": "0.6.62",
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
- "license": "MIT",
6
- "author": "AragonAgent contributors",
7
- "keywords": [
8
- "agent",
9
- "ai-agent",
10
- "llm",
11
- "cli",
12
- "tui",
13
- "terminal",
14
- "ink",
15
- "anthropic",
16
- "openai",
17
- "google",
18
- "aragonagent",
19
- "exec",
20
- "headless",
21
- "automation",
22
- "ci"
23
- ],
24
- "repository": {
25
- "type": "git",
26
- "url": "git+https://github.com/xdrshjr/AragonAgent.git",
27
- "directory": "packages/cli"
28
- },
29
- "homepage": "https://github.com/xdrshjr/AragonAgent#readme",
30
- "bugs": {
31
- "url": "https://github.com/xdrshjr/AragonAgent/issues"
32
- },
33
- "type": "module",
34
- "bin": {
35
- "aragon": "./dist/launcher.js"
36
- },
37
- "files": [
38
- "dist",
39
- "runtime",
40
- "skills",
41
- "README.md",
42
- "CHANGELOG.md"
43
- ],
44
- "engines": {
45
- "node": ">=18"
46
- },
47
- "publishConfig": {
48
- "access": "public"
49
- },
50
- "scripts": {
51
- "build": "node -e \"require('fs').rmSync('dist',{recursive:true,force:true})\" && tsc -p tsconfig.json && node scripts/prepend-shebang.mjs && node ../../scripts/ensure-built.mjs --stamp cli",
52
- "dev": "tsc -p tsconfig.json --watch",
53
- "pretypecheck": "node ../../scripts/ensure-built.mjs core tui",
54
- "typecheck": "tsc -p tsconfig.json --noEmit && tsc -p tsconfig.test.json --noEmit",
55
- "pretest": "node ../../scripts/ensure-built.mjs core tui",
56
- "test": "vitest run",
57
- "start": "node dist/cli.js",
58
- "prepublishOnly": "npm run build"
59
- },
60
- "dependencies": {
61
- "@aragon-agent/core": "^0.2.74",
62
- "@aragon-agent/tui": "0.0.15",
63
- "commander": "^12.1.0",
64
- "dotenv": "^16.6.1",
65
- "env-paths": "^3.0.0",
66
- "fflate": "^0.8.3",
67
- "ink": "^5.0.1",
68
- "ink-select-input": "^6.0.0",
69
- "react": "^18.3.1",
70
- "string-width": "^7.2.0",
71
- "tinyglobby": "^0.2.17"
72
- },
73
- "devDependencies": {
74
- "@types/node": "^22.0.0",
75
- "@types/react": "^18.3.0",
76
- "ink-testing-library": "^4.0.0",
77
- "strip-ansi": "^7.1.0",
78
- "typescript": "^5.9.3",
79
- "vitest": "4.1.9"
80
- }
81
- }
1
+ {
2
+ "name": "@aragon-agent/cli",
3
+ "version": "0.6.64",
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
+ "license": "MIT",
6
+ "author": "AragonAgent contributors",
7
+ "keywords": [
8
+ "agent",
9
+ "ai-agent",
10
+ "llm",
11
+ "cli",
12
+ "tui",
13
+ "terminal",
14
+ "ink",
15
+ "anthropic",
16
+ "openai",
17
+ "google",
18
+ "aragonagent",
19
+ "exec",
20
+ "headless",
21
+ "automation",
22
+ "ci"
23
+ ],
24
+ "repository": {
25
+ "type": "git",
26
+ "url": "git+https://github.com/xdrshjr/AragonAgent.git",
27
+ "directory": "packages/cli"
28
+ },
29
+ "homepage": "https://github.com/xdrshjr/AragonAgent#readme",
30
+ "bugs": {
31
+ "url": "https://github.com/xdrshjr/AragonAgent/issues"
32
+ },
33
+ "type": "module",
34
+ "bin": {
35
+ "aragon": "./dist/launcher.js"
36
+ },
37
+ "files": [
38
+ "dist",
39
+ "runtime",
40
+ "skills",
41
+ "README.md",
42
+ "CHANGELOG.md"
43
+ ],
44
+ "engines": {
45
+ "node": ">=18"
46
+ },
47
+ "publishConfig": {
48
+ "access": "public"
49
+ },
50
+ "scripts": {
51
+ "build": "node -e \"require('fs').rmSync('dist',{recursive:true,force:true})\" && tsc -p tsconfig.json && node scripts/prepend-shebang.mjs && node ../../scripts/ensure-built.mjs --stamp cli",
52
+ "dev": "tsc -p tsconfig.json --watch",
53
+ "pretypecheck": "node ../../scripts/ensure-built.mjs core tui",
54
+ "typecheck": "tsc -p tsconfig.json --noEmit && tsc -p tsconfig.test.json --noEmit",
55
+ "pretest": "node ../../scripts/ensure-built.mjs core tui",
56
+ "test": "vitest run",
57
+ "start": "node dist/cli.js",
58
+ "prepublishOnly": "npm run build"
59
+ },
60
+ "dependencies": {
61
+ "@aragon-agent/core": "^0.2.76",
62
+ "@aragon-agent/tui": "0.0.17",
63
+ "commander": "^12.1.0",
64
+ "dotenv": "^16.6.1",
65
+ "env-paths": "^3.0.0",
66
+ "fflate": "^0.8.3",
67
+ "ink": "^5.0.1",
68
+ "ink-select-input": "^6.0.0",
69
+ "react": "^18.3.1",
70
+ "string-width": "^7.2.0",
71
+ "tinyglobby": "^0.2.17"
72
+ },
73
+ "devDependencies": {
74
+ "@types/node": "^22.0.0",
75
+ "@types/react": "^18.3.0",
76
+ "ink-testing-library": "^4.0.0",
77
+ "strip-ansi": "^7.1.0",
78
+ "typescript": "^5.9.3",
79
+ "vitest": "4.1.9"
80
+ }
81
+ }