agent-devkit 0.7.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.
Files changed (117) hide show
  1. package/README.md +37 -22
  2. package/dist/main.js +23982 -17411
  3. package/dist/main.js.map +1 -1
  4. package/package.json +4 -3
  5. package/src/assets/characters/kit/kit.json +149 -0
  6. package/src/assets/i18n/en-US.json +68 -12
  7. package/src/assets/i18n/fr-FR.json +68 -12
  8. package/src/assets/i18n/ja-JP.json +68 -12
  9. package/src/assets/i18n/pt-BR.json +165 -109
  10. package/src/assets/i18n/zh-CN.json +68 -12
  11. package/src/assets/prompts/core/domain-decision.json +7 -2
  12. package/src/assets/prompts/core/final-answer.json +33 -0
  13. package/src/assets/prompts/core/tool-decision.json +5 -0
  14. package/src/assets/runtime/terminal-session-runner.cjs +258 -0
  15. package/src/assets/tooling/adb.json +51 -0
  16. package/src/assets/tooling/age.json +49 -0
  17. package/src/assets/tooling/aider.json +50 -0
  18. package/src/assets/tooling/amp.json +56 -0
  19. package/src/assets/tooling/angular.json +23 -0
  20. package/src/assets/tooling/ansible.json +61 -0
  21. package/src/assets/tooling/asdf.json +51 -0
  22. package/src/assets/tooling/astro.json +26 -0
  23. package/src/assets/tooling/aws.json +30 -0
  24. package/src/assets/tooling/az.json +47 -0
  25. package/src/assets/tooling/brew.json +41 -0
  26. package/src/assets/tooling/bun.json +33 -0
  27. package/src/assets/tooling/cargo.json +22 -0
  28. package/src/assets/tooling/claude.json +23 -0
  29. package/src/assets/tooling/codex.json +21 -0
  30. package/src/assets/tooling/composer.json +36 -0
  31. package/src/assets/tooling/conda.json +47 -0
  32. package/src/assets/tooling/continue.json +42 -0
  33. package/src/assets/tooling/copilot.json +67 -0
  34. package/src/assets/tooling/crush.json +59 -0
  35. package/src/assets/tooling/cursor-agent.json +45 -0
  36. package/src/assets/tooling/dart.json +44 -0
  37. package/src/assets/tooling/django.json +42 -0
  38. package/src/assets/tooling/docker-compose.json +51 -0
  39. package/src/assets/tooling/docker.json +51 -0
  40. package/src/assets/tooling/eas.json +26 -0
  41. package/src/assets/tooling/expo.json +35 -0
  42. package/src/assets/tooling/fastapi.json +39 -0
  43. package/src/assets/tooling/fastlane.json +49 -0
  44. package/src/assets/tooling/firebase.json +24 -0
  45. package/src/assets/tooling/flutter.json +42 -0
  46. package/src/assets/tooling/fnm.json +52 -0
  47. package/src/assets/tooling/gcloud.json +38 -0
  48. package/src/assets/tooling/gemini.json +34 -0
  49. package/src/assets/tooling/gh.json +35 -0
  50. package/src/assets/tooling/git.json +36 -0
  51. package/src/assets/tooling/glab.json +50 -0
  52. package/src/assets/tooling/go.json +35 -0
  53. package/src/assets/tooling/helm.json +36 -0
  54. package/src/assets/tooling/java.json +46 -0
  55. package/src/assets/tooling/kubectl.json +51 -0
  56. package/src/assets/tooling/laravel.json +42 -0
  57. package/src/assets/tooling/mise.json +53 -0
  58. package/src/assets/tooling/mongosh.json +49 -0
  59. package/src/assets/tooling/mysql.json +49 -0
  60. package/src/assets/tooling/next.json +34 -0
  61. package/src/assets/tooling/node.json +30 -0
  62. package/src/assets/tooling/npm.json +22 -0
  63. package/src/assets/tooling/nuxt.json +26 -0
  64. package/src/assets/tooling/nx.json +25 -0
  65. package/src/assets/tooling/ollama.json +40 -0
  66. package/src/assets/tooling/op.json +51 -0
  67. package/src/assets/tooling/opencode.json +59 -0
  68. package/src/assets/tooling/openrouter.json +29 -0
  69. package/src/assets/tooling/php.json +35 -0
  70. package/src/assets/tooling/pip.json +21 -0
  71. package/src/assets/tooling/pipx.json +56 -0
  72. package/src/assets/tooling/pnpm.json +25 -0
  73. package/src/assets/tooling/poetry.json +22 -0
  74. package/src/assets/tooling/psql.json +39 -0
  75. package/src/assets/tooling/pulumi.json +52 -0
  76. package/src/assets/tooling/python.json +39 -0
  77. package/src/assets/tooling/qwen-code.json +35 -0
  78. package/src/assets/tooling/rails.json +23 -0
  79. package/src/assets/tooling/railway.json +50 -0
  80. package/src/assets/tooling/react-native.json +25 -0
  81. package/src/assets/tooling/react.json +33 -0
  82. package/src/assets/tooling/redis-cli.json +40 -0
  83. package/src/assets/tooling/ruby.json +30 -0
  84. package/src/assets/tooling/rust.json +23 -0
  85. package/src/assets/tooling/sentry-cli.json +49 -0
  86. package/src/assets/tooling/sops.json +50 -0
  87. package/src/assets/tooling/sqlite3.json +39 -0
  88. package/src/assets/tooling/stripe.json +51 -0
  89. package/src/assets/tooling/supabase.json +47 -0
  90. package/src/assets/tooling/svelte.json +26 -0
  91. package/src/assets/tooling/terraform.json +47 -0
  92. package/src/assets/tooling/turbo.json +25 -0
  93. package/src/assets/tooling/uv.json +25 -0
  94. package/src/assets/tooling/vault.json +50 -0
  95. package/src/assets/tooling/vercel.json +24 -0
  96. package/src/assets/tooling/vite.json +28 -0
  97. package/src/assets/tooling/vue.json +23 -0
  98. package/src/assets/tooling/wrangler.json +26 -0
  99. package/src/assets/tooling/yarn.json +25 -0
  100. package/src/modules/agents/surface/knowledge.json +10 -0
  101. package/src/modules/agents/surface/loop.json +16 -0
  102. package/src/modules/agents/surface/prompt.json +10 -0
  103. package/src/modules/agents/surface/skill.json +14 -0
  104. package/src/modules/environment/surface/knowledge.json +9 -4
  105. package/src/modules/environment/surface/loop.json +14 -6
  106. package/src/modules/environment/surface/prompt.json +17 -2
  107. package/src/modules/environment/surface/skill.json +12 -6
  108. package/src/modules/schedules/surface/knowledge.json +10 -0
  109. package/src/modules/schedules/surface/loop.json +17 -0
  110. package/src/modules/schedules/surface/prompt.json +10 -0
  111. package/src/modules/schedules/surface/skill.json +14 -0
  112. package/src/modules/self/surface/knowledge.json +5 -1
  113. package/src/modules/self/surface/loop.json +13 -2
  114. package/src/modules/self/surface/prompt.json +5 -0
  115. package/src/modules/self/surface/skill.json +4 -0
  116. package/src/assets/design/kit.json +0 -78
  117. /package/src/assets/{design → characters/kit}/semantics.json +0 -0
@@ -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,10 @@
1
+ {
2
+ "moduleId": "schedules",
3
+ "templates": [
4
+ {
5
+ "id": "schedules.manage",
6
+ "template": "Summarize this Agent DevKit schedule operation for the user, highlighting the cadence and the next execution: {{operation}}",
7
+ "variables": ["operation"]
8
+ }
9
+ ]
10
+ }
@@ -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 and plans global package installation. It must avoid accidental downgrades.",
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": ["read-npm-registry", "install-selected-version-after-confirmation"],
5
- "forbiddenActions": ["downgrade-on-latest", "install-without-confirmation"],
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
- }