agent-devkit 0.8.3 → 0.8.9
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 +91 -2
- package/dist/main.js +30542 -18018
- package/dist/main.js.map +1 -1
- package/package.json +3 -1
- package/src/assets/agents/profiles.json +5 -5
- package/src/assets/automations/document-template/automation.json +64 -0
- package/src/assets/automations/document-template/payloads/v1/document.md +14 -0
- package/src/assets/automations/document-template/payloads/v1/notes.md +3 -0
- package/src/assets/automations/document-template/readme.md +5 -0
- package/src/assets/automations/document-template/skill.md +39 -0
- package/src/assets/automations/http-health-check/automation.json +61 -0
- package/src/assets/automations/http-health-check/payloads/request.json +4 -0
- package/src/assets/automations/http-health-check/readme.md +5 -0
- package/src/assets/automations/http-health-check/skill.md +39 -0
- package/src/assets/i18n/en-US.json +35 -1
- package/src/assets/i18n/fr-FR.json +35 -1
- package/src/assets/i18n/ja-JP.json +35 -1
- package/src/assets/i18n/pt-BR.json +35 -1
- package/src/assets/i18n/zh-CN.json +35 -1
- package/src/assets/mcp/anthropic.json +27 -0
- package/src/assets/mcp/aws.json +40 -0
- package/src/assets/mcp/azure.json +27 -0
- package/src/assets/mcp/bigquery.json +27 -0
- package/src/assets/mcp/bitbucket.json +27 -0
- package/src/assets/mcp/cloudflare.json +27 -0
- package/src/assets/mcp/confluence.json +27 -0
- package/src/assets/mcp/context7.json +14 -0
- package/src/assets/mcp/discord.json +27 -0
- package/src/assets/mcp/docker.json +27 -0
- package/src/assets/mcp/elasticsearch.json +27 -0
- package/src/assets/mcp/filesystem.json +20 -0
- package/src/assets/mcp/firebase.json +27 -0
- package/src/assets/mcp/gcp.json +27 -0
- package/src/assets/mcp/git.json +20 -0
- package/src/assets/mcp/github.json +21 -0
- package/src/assets/mcp/gitlab.json +21 -0
- package/src/assets/mcp/google-drive.json +21 -0
- package/src/assets/mcp/hubspot.json +27 -0
- package/src/assets/mcp/jira.json +27 -0
- package/src/assets/mcp/kubernetes.json +21 -0
- package/src/assets/mcp/linear.json +27 -0
- package/src/assets/mcp/memory.json +14 -0
- package/src/assets/mcp/microsoft-365.json +27 -0
- package/src/assets/mcp/mongodb.json +27 -0
- package/src/assets/mcp/mysql.json +27 -0
- package/src/assets/mcp/neon.json +27 -0
- package/src/assets/mcp/netlify.json +27 -0
- package/src/assets/mcp/notion.json +27 -0
- package/src/assets/mcp/ollama.json +20 -0
- package/src/assets/mcp/openai.json +27 -0
- package/src/assets/mcp/openrouter.json +27 -0
- package/src/assets/mcp/outlook.json +27 -0
- package/src/assets/mcp/playwright.json +14 -0
- package/src/assets/mcp/postgres.json +14 -0
- package/src/assets/mcp/railway.json +27 -0
- package/src/assets/mcp/redis.json +27 -0
- package/src/assets/mcp/render.json +27 -0
- package/src/assets/mcp/salesforce.json +27 -0
- package/src/assets/mcp/sentry.json +21 -0
- package/src/assets/mcp/sequential-thinking.json +14 -0
- package/src/assets/mcp/sharepoint.json +27 -0
- package/src/assets/mcp/shopify.json +27 -0
- package/src/assets/mcp/slack.json +27 -0
- package/src/assets/mcp/snowflake.json +27 -0
- package/src/assets/mcp/stripe.json +21 -0
- package/src/assets/mcp/supabase.json +27 -0
- package/src/assets/mcp/teams.json +27 -0
- package/src/assets/mcp/terraform.json +14 -0
- package/src/assets/mcp/vercel.json +27 -0
- package/src/assets/prompts/core/chat.json +1 -1
- package/src/assets/prompts/core/tool-decision.json +10 -0
- package/src/assets/runtime/terminal-session-runner.cjs +13 -7
- package/src/assets/scaffolds/angular-app.json +18 -0
- package/src/assets/scaffolds/dart-cli.json +17 -0
- package/src/assets/scaffolds/django-app.json +19 -0
- package/src/assets/scaffolds/dotnet-console.json +16 -0
- package/src/assets/scaffolds/dotnet-webapi.json +17 -0
- package/src/assets/scaffolds/express-api.json +22 -0
- package/src/assets/scaffolds/flutter-app.json +17 -0
- package/src/assets/scaffolds/go-api.json +20 -0
- package/src/assets/scaffolds/laravel-app.json +15 -0
- package/src/assets/scaffolds/nestjs-api.json +21 -0
- package/src/assets/scaffolds/next-app.json +29 -0
- package/src/assets/scaffolds/node-cli.json +21 -0
- package/src/assets/scaffolds/python-fastapi.json +24 -0
- package/src/assets/scaffolds/rails-app.json +15 -0
- package/src/assets/scaffolds/react-native-expo.json +16 -0
- package/src/assets/scaffolds/react-vite.json +23 -0
- package/src/assets/scaffolds/rust-cli.json +16 -0
- package/src/modules/automations/surface/knowledge.json +11 -0
- package/src/modules/automations/surface/loop.json +18 -0
- package/src/modules/automations/surface/prompt.json +20 -0
- package/src/modules/automations/surface/skill.json +17 -0
- package/src/modules/background/surface/knowledge.json +11 -0
- package/src/modules/background/surface/loop.json +18 -0
- package/src/modules/background/surface/prompt.json +20 -0
- package/src/modules/background/surface/skill.json +16 -0
- package/src/modules/environment/surface/knowledge.json +12 -2
- package/src/modules/environment/surface/prompt.json +36 -1
- package/src/modules/environment/surface/skill.json +8 -1
- package/src/modules/integrations/surface/knowledge.json +4 -0
- package/src/modules/integrations/surface/prompt.json +1 -1
- package/src/modules/integrations/surface/skill.json +4 -0
- package/src/modules/project/surface/knowledge.json +5 -2
- package/src/modules/project/surface/prompt.json +5 -0
- package/src/modules/project/surface/skill.json +6 -3
- package/src/modules/runtime/surface/knowledge.json +1 -0
- package/src/modules/runtime/surface/prompt.json +5 -0
- package/src/assets/prompts/core/intent.json +0 -33
package/README.md
CHANGED
|
@@ -9,8 +9,11 @@ of truth; this document does not promise a specific release.
|
|
|
9
9
|
## Status
|
|
10
10
|
|
|
11
11
|
Active development. The runtime ships a personality-driven chat and task
|
|
12
|
-
agent
|
|
13
|
-
runs/goals/memory
|
|
12
|
+
agent, CLI and MCP adapters, multi-provider brains with fallback, persisted
|
|
13
|
+
runs/goals/memory, multi-agent delegation, catalog-driven tooling management,
|
|
14
|
+
environment inventory and project scaffolding.
|
|
15
|
+
It also includes a local background runtime for queued jobs, schedules,
|
|
16
|
+
memory processing, reusable automations and maintenance.
|
|
14
17
|
|
|
15
18
|
## Install
|
|
16
19
|
|
|
@@ -57,6 +60,13 @@ npm run docker:agent -- --help
|
|
|
57
60
|
npm run --silent docker:agent -- doctor --json
|
|
58
61
|
npm run --silent docker:agent -- init --dry-run
|
|
59
62
|
npm run --silent docker:agent -- install node --verify --json
|
|
63
|
+
npm run --silent docker:agent -- scaffold list --json
|
|
64
|
+
npm run --silent docker:agent -- scaffold plan react-vite --name demo --dir /tmp --json
|
|
65
|
+
npm run --silent docker:agent -- background status --json
|
|
66
|
+
npm run --silent docker:agent -- background run-once --json
|
|
67
|
+
npm run --silent docker:agent -- watch --once --json
|
|
68
|
+
npm run --silent docker:agent -- automations list --json
|
|
69
|
+
npm run --silent docker:agent -- automations fit "create markdown document" --automation document-template --json
|
|
60
70
|
npm run --silent docker:agent -- reset --dry-run
|
|
61
71
|
npm run --silent docker:agent -- update --latest --dry-run
|
|
62
72
|
npm run --silent docker:agent -- tools --json
|
|
@@ -114,6 +124,10 @@ src/
|
|
|
114
124
|
helpers/
|
|
115
125
|
|
|
116
126
|
assets/
|
|
127
|
+
mcp/
|
|
128
|
+
scaffolds/
|
|
129
|
+
automations/
|
|
130
|
+
tooling/
|
|
117
131
|
fonts/
|
|
118
132
|
i18n/
|
|
119
133
|
images/
|
|
@@ -129,6 +143,9 @@ Rules:
|
|
|
129
143
|
- A module surface is the canonical agentic interface for that domain.
|
|
130
144
|
- Surface capability metadata is derived from capability configs to avoid drift.
|
|
131
145
|
- The tool runtime is the canonical execution socket for CLI, MCP, TUI and future agent loops.
|
|
146
|
+
- The background runtime is the canonical async execution socket. Features dispatch
|
|
147
|
+
jobs through `BackgroundDispatcherPort`; retry, locks, pid/process control,
|
|
148
|
+
permissions, worker pool status and audit belong to `src/infra/background`.
|
|
132
149
|
- A capability owns its entities, service, repository implementation, view model and tests.
|
|
133
150
|
- `infra` contains only global low-level bases and reusable helpers.
|
|
134
151
|
- Capability services must return `Result<left, right>` from `infra/bases/result.ts`.
|
|
@@ -140,6 +157,10 @@ Rules:
|
|
|
140
157
|
- Postgres and Redis clients must use injected executors.
|
|
141
158
|
- File serialization lives in `infra/files` and supports JSON, TXT, MD and PDF/binary payloads.
|
|
142
159
|
- Asset loading lives in `infra/assets` and reads from the canonical `src/assets` folders.
|
|
160
|
+
- Canonical external integration catalogs live in `src/assets/tooling`, `src/assets/mcp` and
|
|
161
|
+
`src/assets/scaffolds`; canonical reusable automations live in
|
|
162
|
+
`src/assets/automations`; local learned definitions live under
|
|
163
|
+
`~/.agent-devkit/data/`.
|
|
143
164
|
- `app` calls module bindings instead of reaching into filesystem, npm or process details directly.
|
|
144
165
|
|
|
145
166
|
## Distribution
|
|
@@ -173,6 +194,9 @@ Runtime data uses a canonical local store layout:
|
|
|
173
194
|
logs/
|
|
174
195
|
secrets/
|
|
175
196
|
context/
|
|
197
|
+
automations/
|
|
198
|
+
audit.jsonl
|
|
199
|
+
candidates/
|
|
176
200
|
keys/
|
|
177
201
|
```
|
|
178
202
|
|
|
@@ -203,20 +227,39 @@ agent runs
|
|
|
203
227
|
agent runs show <run-id>
|
|
204
228
|
agent runs events <run-id>
|
|
205
229
|
agent runs resume <run-id>
|
|
230
|
+
agent watch
|
|
231
|
+
agent watch --once --json
|
|
232
|
+
agent watch --background --memory --logs
|
|
233
|
+
agent automations list
|
|
234
|
+
agent automations search "task"
|
|
235
|
+
agent automations fit "task" --automation document-template
|
|
236
|
+
agent automations run document-template --input '{"outputPath":"./doc.md"}' --yes
|
|
237
|
+
agent automations candidate create ./my-automation --yes
|
|
238
|
+
agent automations curator status
|
|
206
239
|
agent goals
|
|
207
240
|
agent goals create "Ship the release"
|
|
208
241
|
agent memory
|
|
209
242
|
agent memory learn "User prefers concise replies" --kind preference
|
|
210
243
|
agent integrations
|
|
244
|
+
agent integrations mcp catalog
|
|
245
|
+
agent integrations mcp register-catalog playwright --yes
|
|
211
246
|
agent tools
|
|
212
247
|
agent tools --json
|
|
248
|
+
agent env scan --scope full --persist --json
|
|
249
|
+
agent env inventory
|
|
250
|
+
agent env background status
|
|
213
251
|
agent install node --dry-run
|
|
214
252
|
agent install node --verify
|
|
215
253
|
agent tooling list
|
|
216
254
|
agent tooling plan-install gemini
|
|
217
255
|
agent tooling upgrade claude --yes
|
|
256
|
+
agent scaffold list
|
|
257
|
+
agent scaffold show flutter-app
|
|
258
|
+
agent scaffold plan react-vite --name food-delivery --dir .
|
|
259
|
+
agent scaffold create node-cli --name demo-cli --dir /tmp --yes
|
|
218
260
|
agent run project.doctor --input '{}' --json
|
|
219
261
|
agent run environment.tooling --input '{"action":"detect","toolingId":"node"}' --json
|
|
262
|
+
agent run project.scaffold --input '{"action":"plan","id":"react-vite","variables":{"name":"demo","directory":"."}}' --json
|
|
220
263
|
agent run project.reset --input '{"confirmed":true,"dryRun":false,"homeDirectory":"/tmp/home","projectRoot":"/tmp/project","scope":"project"}' --approve --json
|
|
221
264
|
agent mcp
|
|
222
265
|
agent mcp stdio
|
|
@@ -283,6 +326,11 @@ Runs are inspectable and resumable through `agent runs` and `agent goals`.
|
|
|
283
326
|
Direct capability calls from the TUI and CLI act with the user's own
|
|
284
327
|
privileges; the approval gates protect the agentic path.
|
|
285
328
|
|
|
329
|
+
`agent watch` provides a live terminal snapshot of the runtime: background
|
|
330
|
+
queue and workers, memory manager, recent runs, automations and recent log
|
|
331
|
+
errors/warnings. The same data is available as the read-only `runtime.watch`
|
|
332
|
+
capability, so CLI, MCP and the agent consume one shared observability contract.
|
|
333
|
+
|
|
286
334
|
Global memory lives in the `memory` module: records have kind
|
|
287
335
|
(`fact`, `preference`, `pattern`, `decision`, `episode`), status
|
|
288
336
|
(`candidate`, `active`, `rejected`, `forgotten`), confidence, evidence refs
|
|
@@ -378,6 +426,47 @@ Official tooling definitions live in `src/assets/tooling/`. User-learned or
|
|
|
378
426
|
promoted definitions live under `~/.agent-devkit/data/tooling/` and are loaded
|
|
379
427
|
through the same catalog.
|
|
380
428
|
|
|
429
|
+
## Environment Inventory and MCP Catalog
|
|
430
|
+
|
|
431
|
+
The environment module can scan the local machine, persist an inventory and let
|
|
432
|
+
the agent answer later without rescanning every time.
|
|
433
|
+
|
|
434
|
+
```bash
|
|
435
|
+
agent env scan --scope quick --json
|
|
436
|
+
agent env scan --scope full --persist --root ~/dev --json
|
|
437
|
+
agent env inventory
|
|
438
|
+
agent env inventory projects
|
|
439
|
+
agent env inventory mcp
|
|
440
|
+
agent env background enable --root ~/dev --cadence weekly --yes
|
|
441
|
+
agent env background run-now --yes
|
|
442
|
+
```
|
|
443
|
+
|
|
444
|
+
Full scans can discover PATH commands, supported tooling, project markers and
|
|
445
|
+
external MCP config files. Persisted inventory is stored under
|
|
446
|
+
`~/.agent-devkit/data/environment/`. `agent env background run-now` queues an
|
|
447
|
+
`environment.scan` job in the background runtime; use `agent background run-once`
|
|
448
|
+
or a running background process to execute it.
|
|
449
|
+
|
|
450
|
+
Canonical MCP server definitions live in `src/assets/mcp/`. User-added or
|
|
451
|
+
imported MCP definitions live under `~/.agent-devkit/data/mcp/` and are managed
|
|
452
|
+
through `agent integrations mcp`.
|
|
453
|
+
|
|
454
|
+
## Project Scaffolding
|
|
455
|
+
|
|
456
|
+
Project scaffolds are catalog definitions consumed by CLI, MCP and the agent
|
|
457
|
+
runtime through the `project.scaffold` capability.
|
|
458
|
+
|
|
459
|
+
```bash
|
|
460
|
+
agent scaffold list
|
|
461
|
+
agent scaffold show next-app
|
|
462
|
+
agent scaffold plan flutter-app --name delivery_app --dir ~/dev
|
|
463
|
+
agent scaffold create node-cli --name demo-cli --dir /tmp --yes
|
|
464
|
+
agent scaffold validate react-vite --name demo --dir /tmp
|
|
465
|
+
```
|
|
466
|
+
|
|
467
|
+
Built-in definitions live in `src/assets/scaffolds/`. Local draft and promoted
|
|
468
|
+
definitions live under `~/.agent-devkit/data/scaffolds/`.
|
|
469
|
+
|
|
381
470
|
## Internal Docs
|
|
382
471
|
|
|
383
472
|
The local `docs/` folder is intentionally ignored by Git. Public documentation
|