agent-devkit 0.7.0 → 0.8.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/README.md +37 -22
- package/dist/main.js +23993 -17411
- package/dist/main.js.map +1 -1
- package/package.json +4 -3
- package/src/assets/characters/kit/kit.json +149 -0
- package/src/assets/i18n/en-US.json +68 -12
- package/src/assets/i18n/fr-FR.json +68 -12
- package/src/assets/i18n/ja-JP.json +68 -12
- package/src/assets/i18n/pt-BR.json +165 -109
- package/src/assets/i18n/zh-CN.json +68 -12
- package/src/assets/prompts/core/domain-decision.json +7 -2
- package/src/assets/prompts/core/final-answer.json +33 -0
- package/src/assets/prompts/core/tool-decision.json +5 -0
- package/src/assets/runtime/terminal-session-runner.cjs +258 -0
- package/src/assets/tooling/adb.json +51 -0
- package/src/assets/tooling/age.json +49 -0
- package/src/assets/tooling/aider.json +50 -0
- package/src/assets/tooling/amp.json +56 -0
- package/src/assets/tooling/angular.json +23 -0
- package/src/assets/tooling/ansible.json +61 -0
- package/src/assets/tooling/asdf.json +51 -0
- package/src/assets/tooling/astro.json +26 -0
- package/src/assets/tooling/aws.json +30 -0
- package/src/assets/tooling/az.json +47 -0
- package/src/assets/tooling/brew.json +41 -0
- package/src/assets/tooling/bun.json +33 -0
- package/src/assets/tooling/cargo.json +22 -0
- package/src/assets/tooling/claude.json +23 -0
- package/src/assets/tooling/codex.json +21 -0
- package/src/assets/tooling/composer.json +36 -0
- package/src/assets/tooling/conda.json +47 -0
- package/src/assets/tooling/continue.json +42 -0
- package/src/assets/tooling/copilot.json +67 -0
- package/src/assets/tooling/crush.json +59 -0
- package/src/assets/tooling/cursor-agent.json +45 -0
- package/src/assets/tooling/dart.json +44 -0
- package/src/assets/tooling/django.json +42 -0
- package/src/assets/tooling/docker-compose.json +51 -0
- package/src/assets/tooling/docker.json +51 -0
- package/src/assets/tooling/eas.json +26 -0
- package/src/assets/tooling/expo.json +35 -0
- package/src/assets/tooling/fastapi.json +39 -0
- package/src/assets/tooling/fastlane.json +49 -0
- package/src/assets/tooling/firebase.json +24 -0
- package/src/assets/tooling/flutter.json +42 -0
- package/src/assets/tooling/fnm.json +52 -0
- package/src/assets/tooling/gcloud.json +38 -0
- package/src/assets/tooling/gemini.json +34 -0
- package/src/assets/tooling/gh.json +35 -0
- package/src/assets/tooling/git.json +36 -0
- package/src/assets/tooling/glab.json +50 -0
- package/src/assets/tooling/go.json +35 -0
- package/src/assets/tooling/helm.json +36 -0
- package/src/assets/tooling/java.json +46 -0
- package/src/assets/tooling/kubectl.json +51 -0
- package/src/assets/tooling/laravel.json +42 -0
- package/src/assets/tooling/mise.json +53 -0
- package/src/assets/tooling/mongosh.json +49 -0
- package/src/assets/tooling/mysql.json +49 -0
- package/src/assets/tooling/next.json +34 -0
- package/src/assets/tooling/node.json +30 -0
- package/src/assets/tooling/npm.json +22 -0
- package/src/assets/tooling/nuxt.json +26 -0
- package/src/assets/tooling/nx.json +25 -0
- package/src/assets/tooling/ollama.json +40 -0
- package/src/assets/tooling/op.json +51 -0
- package/src/assets/tooling/opencode.json +59 -0
- package/src/assets/tooling/openrouter.json +29 -0
- package/src/assets/tooling/php.json +35 -0
- package/src/assets/tooling/pip.json +21 -0
- package/src/assets/tooling/pipx.json +56 -0
- package/src/assets/tooling/pnpm.json +25 -0
- package/src/assets/tooling/poetry.json +22 -0
- package/src/assets/tooling/psql.json +39 -0
- package/src/assets/tooling/pulumi.json +52 -0
- package/src/assets/tooling/python.json +39 -0
- package/src/assets/tooling/qwen-code.json +35 -0
- package/src/assets/tooling/rails.json +23 -0
- package/src/assets/tooling/railway.json +50 -0
- package/src/assets/tooling/react-native.json +25 -0
- package/src/assets/tooling/react.json +33 -0
- package/src/assets/tooling/redis-cli.json +40 -0
- package/src/assets/tooling/ruby.json +30 -0
- package/src/assets/tooling/rust.json +23 -0
- package/src/assets/tooling/sentry-cli.json +49 -0
- package/src/assets/tooling/sops.json +50 -0
- package/src/assets/tooling/sqlite3.json +39 -0
- package/src/assets/tooling/stripe.json +51 -0
- package/src/assets/tooling/supabase.json +47 -0
- package/src/assets/tooling/svelte.json +26 -0
- package/src/assets/tooling/terraform.json +47 -0
- package/src/assets/tooling/turbo.json +25 -0
- package/src/assets/tooling/uv.json +25 -0
- package/src/assets/tooling/vault.json +50 -0
- package/src/assets/tooling/vercel.json +24 -0
- package/src/assets/tooling/vite.json +28 -0
- package/src/assets/tooling/vue.json +23 -0
- package/src/assets/tooling/wrangler.json +26 -0
- package/src/assets/tooling/yarn.json +25 -0
- package/src/modules/agents/surface/knowledge.json +10 -0
- package/src/modules/agents/surface/loop.json +16 -0
- package/src/modules/agents/surface/prompt.json +10 -0
- package/src/modules/agents/surface/skill.json +14 -0
- package/src/modules/environment/surface/knowledge.json +9 -4
- package/src/modules/environment/surface/loop.json +14 -6
- package/src/modules/environment/surface/prompt.json +17 -2
- package/src/modules/environment/surface/skill.json +12 -6
- package/src/modules/schedules/surface/knowledge.json +10 -0
- package/src/modules/schedules/surface/loop.json +17 -0
- package/src/modules/schedules/surface/prompt.json +10 -0
- package/src/modules/schedules/surface/skill.json +14 -0
- package/src/modules/self/surface/knowledge.json +5 -1
- package/src/modules/self/surface/loop.json +13 -2
- package/src/modules/self/surface/prompt.json +5 -0
- package/src/modules/self/surface/skill.json +4 -0
- package/src/assets/design/kit.json +0 -78
- /package/src/assets/{design → characters/kit}/semantics.json +0 -0
package/README.md
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
# Agent DevKit
|
|
2
2
|
|
|
3
|
-
Agent DevKit is a TypeScript/Node
|
|
3
|
+
Agent DevKit is a TypeScript/Node autonomous agent for the terminal.
|
|
4
4
|
|
|
5
5
|
The public npm package is `agent-devkit`; the canonical command is `agent`.
|
|
6
|
-
|
|
7
|
-
|
|
6
|
+
The current version is defined in `package.json` — it is the single source
|
|
7
|
+
of truth; this document does not promise a specific release.
|
|
8
8
|
|
|
9
9
|
## Status
|
|
10
10
|
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
11
|
+
Active development. The runtime ships a personality-driven chat and task
|
|
12
|
+
agent (CLI, TUI and MCP), multi-provider brains with fallback, persisted
|
|
13
|
+
runs/goals/memory and multi-agent delegation.
|
|
14
14
|
|
|
15
15
|
## Install
|
|
16
16
|
|
|
@@ -145,7 +145,7 @@ Rules:
|
|
|
145
145
|
## Distribution
|
|
146
146
|
|
|
147
147
|
The package is npm-first and publishes the `agent` binary from `dist/main.js`.
|
|
148
|
-
Standalone binaries are
|
|
148
|
+
Standalone binaries are out of scope for now.
|
|
149
149
|
|
|
150
150
|
Installing the npm package must not create runtime folders or project files.
|
|
151
151
|
State is created only when the user runs the tool:
|
|
@@ -158,7 +158,6 @@ agent
|
|
|
158
158
|
may create ~/.agent-devkit when global state is needed
|
|
159
159
|
|
|
160
160
|
agent init
|
|
161
|
-
agent install project
|
|
162
161
|
may create <project>/.agent-devkit for project-local state
|
|
163
162
|
```
|
|
164
163
|
|
|
@@ -187,8 +186,8 @@ agent reset --dry-run
|
|
|
187
186
|
agent reset --yes
|
|
188
187
|
agent reset -g --dry-run
|
|
189
188
|
agent update --latest --dry-run
|
|
190
|
-
agent update
|
|
191
|
-
agent update
|
|
189
|
+
agent update <version> --dry-run
|
|
190
|
+
agent update <version> --yes
|
|
192
191
|
agent preferences
|
|
193
192
|
agent preferences --json
|
|
194
193
|
agent preferences themes
|
|
@@ -213,8 +212,11 @@ agent tools
|
|
|
213
212
|
agent tools --json
|
|
214
213
|
agent install node --dry-run
|
|
215
214
|
agent install node --verify
|
|
215
|
+
agent tooling list
|
|
216
|
+
agent tooling plan-install gemini
|
|
217
|
+
agent tooling upgrade claude --yes
|
|
216
218
|
agent run project.doctor --input '{}' --json
|
|
217
|
-
agent run environment.
|
|
219
|
+
agent run environment.tooling --input '{"action":"detect","toolingId":"node"}' --json
|
|
218
220
|
agent run project.reset --input '{"confirmed":true,"dryRun":false,"homeDirectory":"/tmp/home","projectRoot":"/tmp/project","scope":"project"}' --approve --json
|
|
219
221
|
agent mcp
|
|
220
222
|
agent mcp stdio
|
|
@@ -264,11 +266,22 @@ Risky capabilities return `approval_required` unless `--approve` is passed. MCP
|
|
|
264
266
|
uses the same runtime contract, so future TUI and agent-loop execution should
|
|
265
267
|
also plug into this layer instead of calling capabilities directly.
|
|
266
268
|
|
|
269
|
+
### Pack trust model
|
|
270
|
+
|
|
271
|
+
Packs execute with the full privileges of the `agent` process: `node` runners
|
|
272
|
+
are imported in-process and `command` runners spawn as child processes (no
|
|
273
|
+
shell). Install only packs you trust — the approval gate (required by default)
|
|
274
|
+
is the execution safety net, not a sandbox. `command` runners receive a minimal
|
|
275
|
+
environment (`PATH`, `HOME`, `LANG`) and the JSON input via stdin, so parent
|
|
276
|
+
secrets and provider keys are never inherited.
|
|
277
|
+
|
|
267
278
|
## Agent Runtime, Memory and Integrations
|
|
268
279
|
|
|
269
280
|
The agentic runtime persists every run under `~/.agent-devkit/data/runtime/`
|
|
270
281
|
(`run.json`, `events.jsonl`, `plan.json`) with goals in `data/runtime/goals/`.
|
|
271
282
|
Runs are inspectable and resumable through `agent runs` and `agent goals`.
|
|
283
|
+
Direct capability calls from the TUI and CLI act with the user's own
|
|
284
|
+
privileges; the approval gates protect the agentic path.
|
|
272
285
|
|
|
273
286
|
Global memory lives in the `memory` module: records have kind
|
|
274
287
|
(`fact`, `preference`, `pattern`, `decision`, `episode`), status
|
|
@@ -343,25 +356,27 @@ that is removed before capability validation:
|
|
|
343
356
|
CLI and MCP logging must not persist raw tool inputs. Sensitive CLI flags such
|
|
344
357
|
as `agent run --input` are redacted before usage and technical logs are written.
|
|
345
358
|
|
|
346
|
-
## Environment
|
|
359
|
+
## Environment Tooling
|
|
347
360
|
|
|
348
|
-
Agent DevKit has a
|
|
349
|
-
`environment.
|
|
361
|
+
Agent DevKit has a catalog-driven tooling lifecycle module exposed as the
|
|
362
|
+
`environment.tooling` capability. CLI, MCP and the agent runtime use this same
|
|
363
|
+
capability to detect, doctor, inspect versions, plan, install, upgrade,
|
|
364
|
+
downgrade and uninstall supported tools.
|
|
350
365
|
|
|
351
366
|
```bash
|
|
352
367
|
agent install node --dry-run
|
|
353
368
|
agent install node --verify --json
|
|
354
369
|
agent install --node --verify
|
|
370
|
+
agent tooling list
|
|
371
|
+
agent tooling detect ollama
|
|
372
|
+
agent tooling plan-install gemini
|
|
373
|
+
agent tooling install gemini --yes
|
|
374
|
+
agent run environment.tooling --input '{"action":"detect","toolingId":"node"}' --json
|
|
355
375
|
```
|
|
356
376
|
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
planned or unsupported results without side effects.
|
|
361
|
-
|
|
362
|
-
Future providers such as `aws-cli`, `docker`, `gh-cli` and `ollama` should
|
|
363
|
-
implement the same provider contract instead of adding one-off installer logic
|
|
364
|
-
to CLI, TUI, MCP or agent loops.
|
|
377
|
+
Official tooling definitions live in `src/assets/tooling/`. User-learned or
|
|
378
|
+
promoted definitions live under `~/.agent-devkit/data/tooling/` and are loaded
|
|
379
|
+
through the same catalog.
|
|
365
380
|
|
|
366
381
|
## Internal Docs
|
|
367
382
|
|