agent-devkit 0.6.0 → 0.8.2
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 +22772 -12925
- package/dist/main.js.map +1 -1
- package/package.json +4 -3
- package/src/assets/agents/profiles.json +40 -0
- package/src/assets/characters/kit/kit.json +149 -0
- package/src/assets/i18n/en-US.json +84 -12
- package/src/assets/i18n/fr-FR.json +84 -12
- package/src/assets/i18n/ja-JP.json +84 -12
- package/src/assets/i18n/pt-BR.json +177 -105
- package/src/assets/i18n/zh-CN.json +84 -12
- package/src/assets/models/cards.json +282 -0
- package/src/assets/prompts/core/chat.json +19 -4
- package/src/assets/prompts/core/compact.json +28 -0
- 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/intent.json +33 -0
- package/src/assets/prompts/core/review.json +33 -0
- package/src/assets/prompts/core/task-plan.json +14 -4
- 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/providers/surface/knowledge.json +10 -0
- package/src/modules/providers/surface/loop.json +15 -0
- package/src/modules/providers/surface/prompt.json +10 -0
- package/src/modules/providers/surface/skill.json +14 -0
- 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
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
{
|
|
2
|
+
"moduleId": "schedules",
|
|
3
|
+
"summary": "Schedules describe proactive work: a title, the task prompt to run and a cadence (interval in minutes, daily HH:MM or a one-shot timestamp). The agent daemon polls the agenda and dispatches due schedules as task runs.",
|
|
4
|
+
"facts": [
|
|
5
|
+
"Schedules are stored as one JSON file per id under ~/.agent-devkit/data/schedules/.",
|
|
6
|
+
"The cadence kinds are interval (everyMinutes), daily (local HH:MM) and once (ISO timestamp, fires a single time).",
|
|
7
|
+
"The due action is a pure computation over lastRunAt and the cadence; disabled schedules are never due.",
|
|
8
|
+
"The daemon records lastRunAt and lastRunId after dispatching a schedule, which drives the next-run math."
|
|
9
|
+
]
|
|
10
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
{
|
|
2
|
+
"moduleId": "schedules",
|
|
3
|
+
"mode": "agenda-management",
|
|
4
|
+
"allowedActions": [
|
|
5
|
+
"List the persisted schedules with their cadence and next execution.",
|
|
6
|
+
"Create a schedule on explicit request.",
|
|
7
|
+
"Update a schedule's title, task, cadence or enabled state on explicit request.",
|
|
8
|
+
"Remove a schedule on explicit request.",
|
|
9
|
+
"Compute which schedules are due at a given moment."
|
|
10
|
+
],
|
|
11
|
+
"forbiddenActions": [
|
|
12
|
+
"Create or change a schedule without an explicit user request.",
|
|
13
|
+
"Execute the scheduled task directly from this capability.",
|
|
14
|
+
"Change last-run bookkeeping outside a real daemon dispatch."
|
|
15
|
+
],
|
|
16
|
+
"approvalRequired": true
|
|
17
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
{
|
|
2
|
+
"moduleId": "schedules",
|
|
3
|
+
"purpose": "Manage the persisted agenda: list schedules, create interval/daily/one-shot entries, pause, resume or remove them.",
|
|
4
|
+
"whenToUse": [
|
|
5
|
+
"The user wants a task to run automatically at an interval, daily time or specific moment.",
|
|
6
|
+
"The user wants to see, pause, resume or delete existing schedules.",
|
|
7
|
+
"The daemon needs to know which schedules are due to run right now."
|
|
8
|
+
],
|
|
9
|
+
"whenNotToUse": [
|
|
10
|
+
"The user wants to run a task immediately (use the task loop instead).",
|
|
11
|
+
"The user wants to inspect past runs or goals.",
|
|
12
|
+
"The user wants to change brain providers or model preferences."
|
|
13
|
+
]
|
|
14
|
+
}
|
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"moduleId": "self",
|
|
3
|
-
"summary": "Self maintenance uses npm metadata
|
|
3
|
+
"summary": "Self maintenance uses npm metadata, plans global package installation and can execute Agent DevKit's own CLI commands through a controlled capability.",
|
|
4
4
|
"facts": [
|
|
5
|
+
"self.cli lists and runs Agent DevKit CLI commands through the capability runtime.",
|
|
6
|
+
"self.cli executes the current package entrypoint with structured args, not a shell string.",
|
|
7
|
+
"Read-only CLI commands such as tools, runs, logs and doctor do not require approval.",
|
|
8
|
+
"Mutating CLI commands require capability approval.",
|
|
5
9
|
"agent update --latest should not downgrade below the running version.",
|
|
6
10
|
"agent update <version> targets an explicit npm version.",
|
|
7
11
|
"update execution requires --yes.",
|
|
@@ -1,7 +1,18 @@
|
|
|
1
1
|
{
|
|
2
2
|
"moduleId": "self",
|
|
3
3
|
"mode": "package-maintenance",
|
|
4
|
-
"allowedActions": [
|
|
5
|
-
|
|
4
|
+
"allowedActions": [
|
|
5
|
+
"list-agent-devkit-cli-commands",
|
|
6
|
+
"run-read-only-agent-devkit-cli-commands",
|
|
7
|
+
"run-mutating-agent-devkit-cli-commands-after-approval",
|
|
8
|
+
"read-npm-registry",
|
|
9
|
+
"install-selected-version-after-confirmation"
|
|
10
|
+
],
|
|
11
|
+
"forbiddenActions": [
|
|
12
|
+
"recursive-self-cli-invocation",
|
|
13
|
+
"bypass-self-cli-approval-through-shell",
|
|
14
|
+
"downgrade-on-latest",
|
|
15
|
+
"install-without-confirmation"
|
|
16
|
+
],
|
|
6
17
|
"approvalRequired": true
|
|
7
18
|
}
|
|
@@ -5,6 +5,11 @@
|
|
|
5
5
|
"id": "self.update",
|
|
6
6
|
"template": "Explain this Agent DevKit update plan and whether it will execute: {{plan}}",
|
|
7
7
|
"variables": ["plan"]
|
|
8
|
+
},
|
|
9
|
+
{
|
|
10
|
+
"id": "self.cli",
|
|
11
|
+
"template": "Summarize this Agent DevKit CLI execution result. Include command, exit code, stdout and stderr when relevant: {{result}}",
|
|
12
|
+
"variables": ["result"]
|
|
8
13
|
}
|
|
9
14
|
]
|
|
10
15
|
}
|
|
@@ -2,10 +2,14 @@
|
|
|
2
2
|
"moduleId": "self",
|
|
3
3
|
"purpose": "Maintain the Agent DevKit package itself.",
|
|
4
4
|
"whenToUse": [
|
|
5
|
+
"The user asks the agent to execute one of Agent DevKit's own CLI commands.",
|
|
6
|
+
"The agent needs to list available Agent DevKit CLI commands.",
|
|
5
7
|
"The user wants to see available npm versions.",
|
|
6
8
|
"The user wants to update Agent DevKit to a selected version."
|
|
7
9
|
],
|
|
8
10
|
"whenNotToUse": [
|
|
11
|
+
"The command is not part of the Agent DevKit CLI.",
|
|
12
|
+
"A mutating CLI command has not been approved.",
|
|
9
13
|
"The user wants to initialize or reset project-local state.",
|
|
10
14
|
"The user wants to run a capability unrelated to package maintenance."
|
|
11
15
|
]
|
|
@@ -1,78 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"schema": "agent-devkit.kit/v1",
|
|
3
|
-
"size": { "rows": 16, "cols": 16 },
|
|
4
|
-
"palette": {
|
|
5
|
-
".": "transparent",
|
|
6
|
-
"B": "#8B7AE6",
|
|
7
|
-
"D": "#6354C4",
|
|
8
|
-
"W": "#F4F3FB",
|
|
9
|
-
"E": "#211D33",
|
|
10
|
-
"M": "#2E2742",
|
|
11
|
-
"C": "#E7A6CB",
|
|
12
|
-
"A": "#5FD0C8"
|
|
13
|
-
},
|
|
14
|
-
"base": [
|
|
15
|
-
".....A....A.....",
|
|
16
|
-
".....B....B.....",
|
|
17
|
-
"....BBB..BBB....",
|
|
18
|
-
"...BBBBBBBBBB...",
|
|
19
|
-
"..BBBBBBBBBBBB..",
|
|
20
|
-
".BBBBBBBBBBBBBB.",
|
|
21
|
-
".BBWWWBBBBWWWBB.",
|
|
22
|
-
".BBWEWBBBBWEWBB.",
|
|
23
|
-
".BBWWWBBBBWWWBB.",
|
|
24
|
-
".BBBBBBBBBBBBBB.",
|
|
25
|
-
".BBBCBBBBBBCBBB.",
|
|
26
|
-
".BBBBBBMMBBBBBB.",
|
|
27
|
-
"..BBBBBBBBBBBB..",
|
|
28
|
-
"...BBBBBBBBBB...",
|
|
29
|
-
"....DD....DD....",
|
|
30
|
-
"................"
|
|
31
|
-
],
|
|
32
|
-
"blink": {
|
|
33
|
-
"overrides": [
|
|
34
|
-
[6, 3, "B"], [6, 4, "B"], [6, 5, "B"], [6, 10, "B"], [6, 11, "B"], [6, 12, "B"],
|
|
35
|
-
[7, 3, "M"], [7, 4, "M"], [7, 5, "M"], [7, 10, "M"], [7, 11, "M"], [7, 12, "M"],
|
|
36
|
-
[8, 3, "B"], [8, 4, "B"], [8, 5, "B"], [8, 10, "B"], [8, 11, "B"], [8, 12, "B"]
|
|
37
|
-
]
|
|
38
|
-
},
|
|
39
|
-
"moods": {
|
|
40
|
-
"idle": { "overrides": [] },
|
|
41
|
-
"happy": {
|
|
42
|
-
"overrides": [
|
|
43
|
-
[11, 7, "B"], [11, 8, "B"], [11, 6, "M"], [11, 9, "M"], [12, 7, "M"], [12, 8, "M"]
|
|
44
|
-
],
|
|
45
|
-
"badge": "✦"
|
|
46
|
-
},
|
|
47
|
-
"thinking": {
|
|
48
|
-
"overrides": [
|
|
49
|
-
[6, 3, "W"], [6, 4, "E"], [6, 5, "W"], [6, 10, "W"], [6, 11, "E"], [6, 12, "W"],
|
|
50
|
-
[7, 3, "W"], [7, 4, "W"], [7, 5, "W"], [7, 10, "W"], [7, 11, "W"], [7, 12, "W"],
|
|
51
|
-
[8, 3, "W"], [8, 4, "W"], [8, 5, "W"], [8, 10, "W"], [8, 11, "W"], [8, 12, "W"]
|
|
52
|
-
],
|
|
53
|
-
"badge": "?"
|
|
54
|
-
},
|
|
55
|
-
"working": { "overrides": [], "badge": "spinner" },
|
|
56
|
-
"concerned": {
|
|
57
|
-
"overrides": [
|
|
58
|
-
[6, 3, "W"], [6, 4, "E"], [6, 5, "W"], [6, 10, "W"], [6, 11, "E"], [6, 12, "W"],
|
|
59
|
-
[7, 3, "W"], [7, 4, "E"], [7, 5, "W"], [7, 10, "W"], [7, 11, "E"], [7, 12, "W"],
|
|
60
|
-
[8, 3, "W"], [8, 4, "W"], [8, 5, "W"], [8, 10, "W"], [8, 11, "W"], [8, 12, "W"],
|
|
61
|
-
[11, 6, "M"], [11, 9, "M"], [10, 4, "B"], [10, 11, "B"]
|
|
62
|
-
],
|
|
63
|
-
"body": "#A88AE8",
|
|
64
|
-
"badge": "!"
|
|
65
|
-
},
|
|
66
|
-
"sleeping": {
|
|
67
|
-
"overrides": [
|
|
68
|
-
[6, 3, "B"], [6, 4, "B"], [6, 5, "B"], [6, 10, "B"], [6, 11, "B"], [6, 12, "B"],
|
|
69
|
-
[7, 3, "M"], [7, 4, "M"], [7, 5, "M"], [7, 10, "M"], [7, 11, "M"], [7, 12, "M"],
|
|
70
|
-
[8, 3, "B"], [8, 4, "B"], [8, 5, "B"], [8, 10, "B"], [8, 11, "B"], [8, 12, "B"],
|
|
71
|
-
[11, 7, "B"], [11, 8, "M"], [10, 4, "B"], [10, 11, "B"]
|
|
72
|
-
],
|
|
73
|
-
"body": "#7C77A6",
|
|
74
|
-
"dark": "#5B567E",
|
|
75
|
-
"badge": "z"
|
|
76
|
-
}
|
|
77
|
-
}
|
|
78
|
-
}
|
|
File without changes
|