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.
Files changed (128) hide show
  1. package/README.md +37 -22
  2. package/dist/main.js +22772 -12925
  3. package/dist/main.js.map +1 -1
  4. package/package.json +4 -3
  5. package/src/assets/agents/profiles.json +40 -0
  6. package/src/assets/characters/kit/kit.json +149 -0
  7. package/src/assets/i18n/en-US.json +84 -12
  8. package/src/assets/i18n/fr-FR.json +84 -12
  9. package/src/assets/i18n/ja-JP.json +84 -12
  10. package/src/assets/i18n/pt-BR.json +177 -105
  11. package/src/assets/i18n/zh-CN.json +84 -12
  12. package/src/assets/models/cards.json +282 -0
  13. package/src/assets/prompts/core/chat.json +19 -4
  14. package/src/assets/prompts/core/compact.json +28 -0
  15. package/src/assets/prompts/core/domain-decision.json +7 -2
  16. package/src/assets/prompts/core/final-answer.json +33 -0
  17. package/src/assets/prompts/core/intent.json +33 -0
  18. package/src/assets/prompts/core/review.json +33 -0
  19. package/src/assets/prompts/core/task-plan.json +14 -4
  20. package/src/assets/prompts/core/tool-decision.json +5 -0
  21. package/src/assets/runtime/terminal-session-runner.cjs +258 -0
  22. package/src/assets/tooling/adb.json +51 -0
  23. package/src/assets/tooling/age.json +49 -0
  24. package/src/assets/tooling/aider.json +50 -0
  25. package/src/assets/tooling/amp.json +56 -0
  26. package/src/assets/tooling/angular.json +23 -0
  27. package/src/assets/tooling/ansible.json +61 -0
  28. package/src/assets/tooling/asdf.json +51 -0
  29. package/src/assets/tooling/astro.json +26 -0
  30. package/src/assets/tooling/aws.json +30 -0
  31. package/src/assets/tooling/az.json +47 -0
  32. package/src/assets/tooling/brew.json +41 -0
  33. package/src/assets/tooling/bun.json +33 -0
  34. package/src/assets/tooling/cargo.json +22 -0
  35. package/src/assets/tooling/claude.json +23 -0
  36. package/src/assets/tooling/codex.json +21 -0
  37. package/src/assets/tooling/composer.json +36 -0
  38. package/src/assets/tooling/conda.json +47 -0
  39. package/src/assets/tooling/continue.json +42 -0
  40. package/src/assets/tooling/copilot.json +67 -0
  41. package/src/assets/tooling/crush.json +59 -0
  42. package/src/assets/tooling/cursor-agent.json +45 -0
  43. package/src/assets/tooling/dart.json +44 -0
  44. package/src/assets/tooling/django.json +42 -0
  45. package/src/assets/tooling/docker-compose.json +51 -0
  46. package/src/assets/tooling/docker.json +51 -0
  47. package/src/assets/tooling/eas.json +26 -0
  48. package/src/assets/tooling/expo.json +35 -0
  49. package/src/assets/tooling/fastapi.json +39 -0
  50. package/src/assets/tooling/fastlane.json +49 -0
  51. package/src/assets/tooling/firebase.json +24 -0
  52. package/src/assets/tooling/flutter.json +42 -0
  53. package/src/assets/tooling/fnm.json +52 -0
  54. package/src/assets/tooling/gcloud.json +38 -0
  55. package/src/assets/tooling/gemini.json +34 -0
  56. package/src/assets/tooling/gh.json +35 -0
  57. package/src/assets/tooling/git.json +36 -0
  58. package/src/assets/tooling/glab.json +50 -0
  59. package/src/assets/tooling/go.json +35 -0
  60. package/src/assets/tooling/helm.json +36 -0
  61. package/src/assets/tooling/java.json +46 -0
  62. package/src/assets/tooling/kubectl.json +51 -0
  63. package/src/assets/tooling/laravel.json +42 -0
  64. package/src/assets/tooling/mise.json +53 -0
  65. package/src/assets/tooling/mongosh.json +49 -0
  66. package/src/assets/tooling/mysql.json +49 -0
  67. package/src/assets/tooling/next.json +34 -0
  68. package/src/assets/tooling/node.json +30 -0
  69. package/src/assets/tooling/npm.json +22 -0
  70. package/src/assets/tooling/nuxt.json +26 -0
  71. package/src/assets/tooling/nx.json +25 -0
  72. package/src/assets/tooling/ollama.json +40 -0
  73. package/src/assets/tooling/op.json +51 -0
  74. package/src/assets/tooling/opencode.json +59 -0
  75. package/src/assets/tooling/openrouter.json +29 -0
  76. package/src/assets/tooling/php.json +35 -0
  77. package/src/assets/tooling/pip.json +21 -0
  78. package/src/assets/tooling/pipx.json +56 -0
  79. package/src/assets/tooling/pnpm.json +25 -0
  80. package/src/assets/tooling/poetry.json +22 -0
  81. package/src/assets/tooling/psql.json +39 -0
  82. package/src/assets/tooling/pulumi.json +52 -0
  83. package/src/assets/tooling/python.json +39 -0
  84. package/src/assets/tooling/qwen-code.json +35 -0
  85. package/src/assets/tooling/rails.json +23 -0
  86. package/src/assets/tooling/railway.json +50 -0
  87. package/src/assets/tooling/react-native.json +25 -0
  88. package/src/assets/tooling/react.json +33 -0
  89. package/src/assets/tooling/redis-cli.json +40 -0
  90. package/src/assets/tooling/ruby.json +30 -0
  91. package/src/assets/tooling/rust.json +23 -0
  92. package/src/assets/tooling/sentry-cli.json +49 -0
  93. package/src/assets/tooling/sops.json +50 -0
  94. package/src/assets/tooling/sqlite3.json +39 -0
  95. package/src/assets/tooling/stripe.json +51 -0
  96. package/src/assets/tooling/supabase.json +47 -0
  97. package/src/assets/tooling/svelte.json +26 -0
  98. package/src/assets/tooling/terraform.json +47 -0
  99. package/src/assets/tooling/turbo.json +25 -0
  100. package/src/assets/tooling/uv.json +25 -0
  101. package/src/assets/tooling/vault.json +50 -0
  102. package/src/assets/tooling/vercel.json +24 -0
  103. package/src/assets/tooling/vite.json +28 -0
  104. package/src/assets/tooling/vue.json +23 -0
  105. package/src/assets/tooling/wrangler.json +26 -0
  106. package/src/assets/tooling/yarn.json +25 -0
  107. package/src/modules/agents/surface/knowledge.json +10 -0
  108. package/src/modules/agents/surface/loop.json +16 -0
  109. package/src/modules/agents/surface/prompt.json +10 -0
  110. package/src/modules/agents/surface/skill.json +14 -0
  111. package/src/modules/environment/surface/knowledge.json +9 -4
  112. package/src/modules/environment/surface/loop.json +14 -6
  113. package/src/modules/environment/surface/prompt.json +17 -2
  114. package/src/modules/environment/surface/skill.json +12 -6
  115. package/src/modules/providers/surface/knowledge.json +10 -0
  116. package/src/modules/providers/surface/loop.json +15 -0
  117. package/src/modules/providers/surface/prompt.json +10 -0
  118. package/src/modules/providers/surface/skill.json +14 -0
  119. package/src/modules/schedules/surface/knowledge.json +10 -0
  120. package/src/modules/schedules/surface/loop.json +17 -0
  121. package/src/modules/schedules/surface/prompt.json +10 -0
  122. package/src/modules/schedules/surface/skill.json +14 -0
  123. package/src/modules/self/surface/knowledge.json +5 -1
  124. package/src/modules/self/surface/loop.json +13 -2
  125. package/src/modules/self/surface/prompt.json +5 -0
  126. package/src/modules/self/surface/skill.json +4 -0
  127. package/src/assets/design/kit.json +0 -78
  128. /package/src/assets/{design → characters/kit}/semantics.json +0 -0
@@ -4,8 +4,11 @@
4
4
  "name": "Chinese",
5
5
  "nativeName": "简体中文",
6
6
  "messages": {
7
- "cli.root.description": "Agent DevKit CLI 和 TUI 运行时",
8
- "cli.root.promptArgument": "发送给智能体的自由消息;没有消息时打开 TUI",
7
+ "cli.root.description": "Agent DevKit CLI 运行时",
8
+ "cli.root.promptArgument": "发送给智能体的自由消息",
9
+ "cli.root.option.approve": "显式批准智能体在本次运行中选择的工具",
10
+ "cli.root.option.approveTool": "显式批准本次运行中的一个指定工具",
11
+ "cli.root.firstRunHint": "首次使用:运行 `agent onboard` 完成最低配置。",
9
12
  "cli.root.removedChatCommand": "\"chat\" 命令已移除。请使用:agent \"your message\"",
10
13
  "cli.version.option": "打印当前版本",
11
14
  "cli.help.option": "显示命令帮助",
@@ -19,13 +22,22 @@
19
22
  "cli.init.description": "在当前目录初始化 Agent DevKit 项目状态",
20
23
  "cli.init.option.dryRun": "显示将创建的内容但不写入文件",
21
24
  "cli.init.option.json": "以 JSON 输出初始化结果",
22
- "cli.install.argument.dependency": "已注册依赖 id",
23
- "cli.install.description": "验证、计划或执行已知依赖的生命周期操作",
25
+ "cli.install.argument.dependency": "已注册工具 id",
26
+ "cli.install.description": "检测、计划或执行受支持工具的生命周期操作",
24
27
  "cli.install.option.dryRun": "显示计划但不执行操作",
25
- "cli.install.option.json": "以 JSON 输出依赖结果",
26
- "cli.install.option.node": "使用 node 依赖",
27
- "cli.install.option.verify": "验证依赖而不是计划安装",
28
+ "cli.install.option.json": "以 JSON 输出工具结果",
29
+ "cli.install.option.node": "使用 node 工具定义",
30
+ "cli.install.option.verify": "检测工具而不是计划安装",
28
31
  "cli.install.option.yes": "确认需要批准的操作",
32
+ "cli.login.description": "认证大脑 provider:CLI 登录或存入保险库的 API 密钥",
33
+ "cli.login.argument.provider": "provider:claude、codex、gemini、openai、openrouter 或 anthropic",
34
+ "cli.login.option.status": "显示所有 provider 的认证状态",
35
+ "cli.login.option.json": "以 JSON 格式输出结果",
36
+ "cli.logout.description": "删除 provider 已保存的凭据",
37
+ "cli.logout.argument.provider": "provider:claude、codex、gemini、openai、openrouter 或 anthropic",
38
+ "cli.connect.description": "连接本地 provider 端点并保存其 URL",
39
+ "cli.connect.argument.target": "连接目标(支持:ollama)",
40
+ "cli.connect.option.url": "要探测并保存的端点 URL",
29
41
  "cli.logs.description": "列出、读取、搜索并汇总 Agent DevKit 使用日志",
30
42
  "cli.logs.option.all": "包含使用日志和技术日志",
31
43
  "cli.logs.option.json": "以 JSON 输出日志结果",
@@ -60,6 +72,18 @@
60
72
  "cli.preferences.update.option.json": "以 JSON 输出更新结果",
61
73
  "cli.preferences.resetDefaults.description": "恢复默认用户偏好",
62
74
  "cli.preferences.resetDefaults.option.json": "以 JSON 输出结果",
75
+ "cli.character.description": "查看伙伴的成长状态(羁绊、心情、成熟度)",
76
+ "cli.character.option.status": "输出伙伴状态(默认行为)",
77
+ "cli.character.option.json": "以 JSON 输出伙伴状态",
78
+ "cli.character.empty": "还没有成长状态——它会随着对话和完成任务而进化",
79
+ "cli.character.field.mood": "心情",
80
+ "cli.character.field.maturity": "成熟度",
81
+ "cli.character.field.bond": "羁绊(互动次数)",
82
+ "cli.character.field.streak": "连续天数",
83
+ "cli.character.field.completedTasks": "已完成任务",
84
+ "cli.character.field.activeMemories": "活跃记忆",
85
+ "cli.character.field.learnedHighlights": "最近学到",
86
+ "cli.character.field.updatedAt": "更新时间",
63
87
  "cli.personalization.description": "查看并更新本地智能体身份",
64
88
  "cli.personalization.option.json": "以 JSON 输出个性化配置",
65
89
  "cli.personalization.characters.description": "列出可用角色",
@@ -127,6 +151,18 @@
127
151
  "cli.mcp.http.option.host": "MCP HTTP 服务器绑定的本地主机",
128
152
  "cli.mcp.http.option.port": "MCP HTTP 服务器本地端口",
129
153
  "cli.mcp.http.option.origin": "允许的 MCP HTTP 调用来源",
154
+ "cli.packs.description": "列出、安装和移除本地能力包",
155
+ "cli.packs.option.json": "以 JSON 输出 packs 结果",
156
+ "cli.packs.list.description": "列出已安装的包及其工具数量",
157
+ "cli.packs.list.empty": "尚未安装任何包。使用 agent packs install <path> 安装",
158
+ "cli.packs.install.description": "校验并从本地目录安装一个包",
159
+ "cli.packs.install.argument.path": "包含 pack.json 和 tools/ 的本地目录",
160
+ "cli.packs.install.success": "已安装包 {{id}},包含 {{count}} 个工具",
161
+ "cli.packs.remove.description": "移除已安装的包",
162
+ "cli.packs.remove.argument.id": "已安装包的 id",
163
+ "cli.packs.remove.option.yes": "确认移除该包",
164
+ "cli.packs.remove.confirm": "移除包 {{id}} 会删除其文件。请加 --yes 重新运行以确认。",
165
+ "cli.packs.remove.success": "已移除包 {{id}}",
130
166
  "doctor.title": "Agent DevKit Doctor",
131
167
  "doctor.subtitle": "本地 - 不需要凭据",
132
168
  "doctor.command": "> agent doctor",
@@ -238,8 +274,27 @@
238
274
  "characters.robot.name": "Robot",
239
275
  "characters.robot.tagline": "技术专注",
240
276
  "characters.robot.description": "技术、精确、务实,适合工程工作。",
277
+ "cli.runs.option.status": "queued、running、waiting-approval、completed、failed、cancelled 或 all",
278
+ "cli.runs.option.tree": "显示该 run 及其委派的 run(按 parentRunId 递归列出子 run)",
279
+ "cli.daemon.description": "长驻进程,执行日程:派发计划任务、发送通知并将问题排入队列",
280
+ "cli.daemon.option.intervalSeconds": "日程检查间隔秒数(默认 30)",
281
+ "cli.daemon.error.alreadyRunning": "daemon 已在运行(pid {pid});请先停止再启动新的",
282
+ "cli.schedule.description": "列出并管理 daemon 的计划任务",
283
+ "cli.schedule.list.description": "列出计划任务及其节奏和下次执行时间",
284
+ "cli.schedule.create.description": "创建计划任务(--every 30m、--daily 09:00 或 --once <iso>)",
285
+ "cli.schedule.remove.description": "删除计划任务",
286
+ "cli.schedule.argument.id": "计划任务 id",
287
+ "cli.schedule.option.json": "以 JSON 输出计划任务",
288
+ "cli.schedule.option.title": "计划任务标题",
289
+ "cli.schedule.option.task": "计划触发时执行的任务(提示词)",
290
+ "cli.schedule.option.every": "间隔节奏:30m、2h 或分钟数",
291
+ "cli.schedule.option.daily": "每日节奏,本地时间 HH:MM",
292
+ "cli.schedule.option.once": "在 ISO 时间戳执行一次",
293
+ "cli.schedule.option.yes": "确认删除",
294
+ "cli.schedule.error.cadence": "请提供且仅提供一种有效节奏:--every 30m|2h、--daily HH:MM 或 --once <iso>",
295
+ "cli.schedule.error.removeRequiresYes": "删除计划任务需要 --yes",
241
296
  "tui.title": "Agent DevKit",
242
- "tui.foundation": "v0.3.5 技术基础",
297
+ "tui.foundation": "智能体运行时基础",
243
298
  "tui.prompt": "提示: {{prompt}}",
244
299
  "tui.helpHint": "运行 agent --help 查看 CLI 选项。",
245
300
  "tui.error": "错误: {{error}}",
@@ -266,6 +321,7 @@
266
321
  "cli.alias.option.json": "以 JSON 输出结果",
267
322
  "alias.title": "Agent DevKit CLI 别名",
268
323
  "alias.status.notConfigured": "尚未配置别名",
324
+ "alias.status.synced": "shell 集成已同步",
269
325
  "alias.line.name": "别名 {{name}}",
270
326
  "alias.line.shim": "shim {{path}}",
271
327
  "alias.line.bin": "bin {{path}}",
@@ -280,14 +336,30 @@
280
336
  "cli.models.use.description": "设置默认本地模型",
281
337
  "cli.models.use.option.agent": "设置智能体角色的默认模型",
282
338
  "cli.models.use.option.chat": "设置聊天角色的默认模型",
339
+ "cli.models.use.option.role": "为提供方模型卡设置大脑角色(agent、chat 或 embed)",
340
+ "cli.models.use.option.primary": "将该模型卡设为全局主大脑",
341
+ "cli.models.use.option.project": "仅为当前项目保存该偏好",
342
+ "cli.models.use.saved": "大脑偏好已保存:{{id}}",
283
343
  "cli.models.argument.id": "目录模型 id",
284
344
  "cli.models.option.json": "以 JSON 输出结果",
285
345
  "cli.models.providers.description": "列出大脑提供方及其可用状态。",
286
346
  "cli.models.providers.option.json": "以JSON输出提供方",
287
- "cli.firstRun.hint": "未安装本地模型。运行: agent models install {{id}}",
288
- "cli.firstRun.prompt": "未安装本地模型。现在安装推荐模型 {{id}} 吗?(y/N)",
289
- "cli.firstRun.installed": "模型 {{id}} 已安装并设为默认。",
290
- "cli.firstRun.failed": "模型 {{id}} 安装失败。请尝试: agent models install {{id}}",
347
+ "cli.models.cards.description": "列出所有提供方的模型卡片及其状态。",
348
+ "cli.models.cards.option.json": "以JSON输出模型卡片",
349
+ "cli.onboard.description": "运行智能体入门引导(角色、名称、语言与大脑)",
350
+ "cli.onboard.argument.mode": "引导模式: minimal complete(默认: complete)",
351
+ "cli.onboard.invalidMode": "模式 \"{{mode}}\" 无效。请使用: minimal 或 complete。",
352
+ "cli.onboard.minimal.character": "已选择默认角色: {{id}}",
353
+ "cli.onboard.minimal.characterFailed": "无法选择默认角色 {{id}}。",
354
+ "cli.onboard.minimal.model.installed": "本地模型 {{id}} 已安装并设为默认。",
355
+ "cli.onboard.minimal.model.present": "已安装本地模型。",
356
+ "cli.onboard.minimal.model.failed": "本地模型 {{id}} 安装失败。请尝试: agent models install {{id}}",
357
+ "cli.onboard.minimal.model.unavailable": "目录中没有可用的推荐模型。",
358
+ "cli.onboard.minimal.permissions.saved": "已为此项目保存操作权限。",
359
+ "cli.onboard.minimal.permissions.failed": "无法自动保存操作权限。",
360
+ "cli.onboard.minimal.shell.synced": "已为新终端同步 shell 集成。",
361
+ "cli.onboard.minimal.shell.failed": "无法自动同步 shell 集成。",
362
+ "cli.onboard.minimal.done": "最小引导已完成。运行: agent \"你的消息\"",
291
363
  "models.title": "Agent DevKit 模型",
292
364
  "models.command": "> agent models",
293
365
  "models.field.default": "默认:",
@@ -0,0 +1,282 @@
1
+ {
2
+ "schema": "agent-devkit.model-cards/v1",
3
+ "cards": [
4
+ {
5
+ "schema": "agent-devkit.model-card/v1",
6
+ "id": "claude-cli:opus",
7
+ "provider": "claude-cli",
8
+ "family": "claude",
9
+ "displayName": "Claude Opus",
10
+ "tier": "reasoning",
11
+ "capabilities": {
12
+ "embeddings": false,
13
+ "stream": false,
14
+ "structured": false,
15
+ "vision": false
16
+ },
17
+ "contextWindow": 200000,
18
+ "cost": { "kind": "subscription", "relative": 5 },
19
+ "speed": { "relative": 2 },
20
+ "recommendedFor": ["plan", "review"]
21
+ },
22
+ {
23
+ "schema": "agent-devkit.model-card/v1",
24
+ "id": "claude-cli:sonnet",
25
+ "provider": "claude-cli",
26
+ "family": "claude",
27
+ "displayName": "Claude Sonnet",
28
+ "tier": "balanced",
29
+ "capabilities": {
30
+ "embeddings": false,
31
+ "stream": false,
32
+ "structured": false,
33
+ "vision": false
34
+ },
35
+ "contextWindow": 200000,
36
+ "cost": { "kind": "subscription", "relative": 3 },
37
+ "speed": { "relative": 3 },
38
+ "recommendedFor": ["code", "chat", "review"],
39
+ "bestOfFamily": true
40
+ },
41
+ {
42
+ "schema": "agent-devkit.model-card/v1",
43
+ "id": "claude-cli:haiku",
44
+ "provider": "claude-cli",
45
+ "family": "claude",
46
+ "displayName": "Claude Haiku",
47
+ "tier": "fast",
48
+ "capabilities": {
49
+ "embeddings": false,
50
+ "stream": false,
51
+ "structured": false,
52
+ "vision": false
53
+ },
54
+ "contextWindow": 200000,
55
+ "cost": { "kind": "subscription", "relative": 1 },
56
+ "speed": { "relative": 5 },
57
+ "recommendedFor": ["summarize", "tool-input"]
58
+ },
59
+ {
60
+ "schema": "agent-devkit.model-card/v1",
61
+ "id": "codex-cli:gpt-5.1-codex-max",
62
+ "provider": "codex-cli",
63
+ "family": "gpt",
64
+ "displayName": "GPT-5.1 Codex Max",
65
+ "tier": "reasoning",
66
+ "capabilities": {
67
+ "embeddings": false,
68
+ "stream": false,
69
+ "structured": false,
70
+ "vision": false
71
+ },
72
+ "contextWindow": 400000,
73
+ "cost": { "kind": "subscription", "relative": 5 },
74
+ "speed": { "relative": 2 },
75
+ "recommendedFor": ["plan", "review"]
76
+ },
77
+ {
78
+ "schema": "agent-devkit.model-card/v1",
79
+ "id": "codex-cli:gpt-5.1-codex",
80
+ "provider": "codex-cli",
81
+ "family": "gpt",
82
+ "displayName": "GPT-5.1 Codex",
83
+ "tier": "balanced",
84
+ "capabilities": {
85
+ "embeddings": false,
86
+ "stream": false,
87
+ "structured": false,
88
+ "vision": false
89
+ },
90
+ "contextWindow": 400000,
91
+ "cost": { "kind": "subscription", "relative": 3 },
92
+ "speed": { "relative": 3 },
93
+ "recommendedFor": ["code", "chat"],
94
+ "bestOfFamily": true
95
+ },
96
+ {
97
+ "schema": "agent-devkit.model-card/v1",
98
+ "id": "codex-cli:gpt-5.1-codex-mini",
99
+ "provider": "codex-cli",
100
+ "family": "gpt",
101
+ "displayName": "GPT-5.1 Codex Mini",
102
+ "tier": "fast",
103
+ "capabilities": {
104
+ "embeddings": false,
105
+ "stream": false,
106
+ "structured": false,
107
+ "vision": false
108
+ },
109
+ "contextWindow": 400000,
110
+ "cost": { "kind": "subscription", "relative": 1 },
111
+ "speed": { "relative": 5 },
112
+ "recommendedFor": ["summarize", "tool-input"]
113
+ },
114
+ {
115
+ "schema": "agent-devkit.model-card/v1",
116
+ "id": "gemini-cli:gemini-2.5-pro",
117
+ "provider": "gemini-cli",
118
+ "family": "gemini",
119
+ "displayName": "Gemini 2.5 Pro",
120
+ "tier": "reasoning",
121
+ "capabilities": {
122
+ "embeddings": false,
123
+ "stream": false,
124
+ "structured": false,
125
+ "vision": false
126
+ },
127
+ "contextWindow": 1000000,
128
+ "cost": { "kind": "subscription", "relative": 4 },
129
+ "speed": { "relative": 2 },
130
+ "recommendedFor": ["plan", "review"]
131
+ },
132
+ {
133
+ "schema": "agent-devkit.model-card/v1",
134
+ "id": "gemini-cli:gemini-2.5-flash",
135
+ "provider": "gemini-cli",
136
+ "family": "gemini",
137
+ "displayName": "Gemini 2.5 Flash",
138
+ "tier": "balanced",
139
+ "capabilities": {
140
+ "embeddings": false,
141
+ "stream": false,
142
+ "structured": false,
143
+ "vision": false
144
+ },
145
+ "contextWindow": 1000000,
146
+ "cost": { "kind": "subscription", "relative": 2 },
147
+ "speed": { "relative": 4 },
148
+ "recommendedFor": ["code", "chat"],
149
+ "bestOfFamily": true
150
+ },
151
+ {
152
+ "schema": "agent-devkit.model-card/v1",
153
+ "id": "gemini-cli:gemini-2.5-flash-lite",
154
+ "provider": "gemini-cli",
155
+ "family": "gemini",
156
+ "displayName": "Gemini 2.5 Flash Lite",
157
+ "tier": "fast",
158
+ "capabilities": {
159
+ "embeddings": false,
160
+ "stream": false,
161
+ "structured": false,
162
+ "vision": false
163
+ },
164
+ "contextWindow": 1000000,
165
+ "cost": { "kind": "subscription", "relative": 1 },
166
+ "speed": { "relative": 5 },
167
+ "recommendedFor": ["summarize", "tool-input"]
168
+ },
169
+ {
170
+ "schema": "agent-devkit.model-card/v1",
171
+ "id": "anthropic:claude-opus-4-5",
172
+ "provider": "anthropic",
173
+ "family": "claude",
174
+ "displayName": "Claude Opus 4.5 (API)",
175
+ "tier": "reasoning",
176
+ "capabilities": {
177
+ "embeddings": false,
178
+ "stream": true,
179
+ "structured": true,
180
+ "vision": true
181
+ },
182
+ "contextWindow": 200000,
183
+ "cost": { "kind": "per-token", "relative": 5 },
184
+ "speed": { "relative": 2 },
185
+ "recommendedFor": ["plan", "review"]
186
+ },
187
+ {
188
+ "schema": "agent-devkit.model-card/v1",
189
+ "id": "anthropic:claude-sonnet-4-5",
190
+ "provider": "anthropic",
191
+ "family": "claude",
192
+ "displayName": "Claude Sonnet 4.5 (API)",
193
+ "tier": "balanced",
194
+ "capabilities": {
195
+ "embeddings": false,
196
+ "stream": true,
197
+ "structured": true,
198
+ "vision": true
199
+ },
200
+ "contextWindow": 200000,
201
+ "cost": { "kind": "per-token", "relative": 3 },
202
+ "speed": { "relative": 3 },
203
+ "recommendedFor": ["code", "chat"],
204
+ "bestOfFamily": true
205
+ },
206
+ {
207
+ "schema": "agent-devkit.model-card/v1",
208
+ "id": "openai:gpt-5.1",
209
+ "provider": "openai",
210
+ "family": "gpt",
211
+ "displayName": "GPT-5.1 (API)",
212
+ "tier": "balanced",
213
+ "capabilities": {
214
+ "embeddings": false,
215
+ "stream": true,
216
+ "structured": true,
217
+ "vision": true
218
+ },
219
+ "contextWindow": 400000,
220
+ "cost": { "kind": "per-token", "relative": 3 },
221
+ "speed": { "relative": 3 },
222
+ "recommendedFor": ["code", "chat"],
223
+ "bestOfFamily": true
224
+ },
225
+ {
226
+ "schema": "agent-devkit.model-card/v1",
227
+ "id": "openai:gpt-5.1-mini",
228
+ "provider": "openai",
229
+ "family": "gpt",
230
+ "displayName": "GPT-5.1 Mini (API)",
231
+ "tier": "fast",
232
+ "capabilities": {
233
+ "embeddings": false,
234
+ "stream": true,
235
+ "structured": true,
236
+ "vision": true
237
+ },
238
+ "contextWindow": 400000,
239
+ "cost": { "kind": "per-token", "relative": 1 },
240
+ "speed": { "relative": 5 },
241
+ "recommendedFor": ["summarize", "tool-input"]
242
+ },
243
+ {
244
+ "schema": "agent-devkit.model-card/v1",
245
+ "id": "openrouter:anthropic/claude-sonnet-4.5",
246
+ "provider": "openrouter",
247
+ "family": "claude",
248
+ "displayName": "Claude Sonnet 4.5 (OpenRouter)",
249
+ "tier": "balanced",
250
+ "capabilities": {
251
+ "embeddings": false,
252
+ "stream": true,
253
+ "structured": true,
254
+ "vision": true
255
+ },
256
+ "contextWindow": 200000,
257
+ "cost": { "kind": "per-token", "relative": 3 },
258
+ "speed": { "relative": 3 },
259
+ "recommendedFor": ["code", "chat"],
260
+ "bestOfFamily": true
261
+ },
262
+ {
263
+ "schema": "agent-devkit.model-card/v1",
264
+ "id": "openrouter:qwen/qwen3-coder",
265
+ "provider": "openrouter",
266
+ "family": "qwen",
267
+ "displayName": "Qwen3 Coder (OpenRouter)",
268
+ "tier": "fast",
269
+ "capabilities": {
270
+ "embeddings": false,
271
+ "stream": true,
272
+ "structured": true,
273
+ "vision": false
274
+ },
275
+ "contextWindow": 262144,
276
+ "cost": { "kind": "per-token", "relative": 2 },
277
+ "speed": { "relative": 4 },
278
+ "recommendedFor": ["code", "summarize"],
279
+ "bestOfFamily": true
280
+ }
281
+ ]
282
+ }
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "schema": "agent-devkit.prompt-pack/v1",
3
3
  "id": "core/chat",
4
- "version": "1.0.0",
4
+ "version": "1.1.0",
5
5
  "description": "Stateful chat prompt for the configured Agent DevKit personality.",
6
6
  "locale": "pt-BR",
7
7
  "output": {
8
8
  "format": "text",
9
- "language": "pt-BR"
9
+ "language": "auto"
10
10
  },
11
11
  "policies": {
12
12
  "allowToolCalls": false,
@@ -14,6 +14,21 @@
14
14
  "maxToolCalls": 0
15
15
  },
16
16
  "knowledge": [
17
+ {
18
+ "id": "agent-devkit.direct-answer-style",
19
+ "source": "core/chat",
20
+ "content": "Answer the way a person would: direct, natural and concise. Lead with the answer itself. Never restate or paraphrase the user's request back to them. Never narrate your reasoning or thought process (no 'the user wants...', 'let me be honest', 'I need to remember that...'). Never describe your own mode, configuration or internal rules unless the user explicitly asks."
21
+ },
22
+ {
23
+ "id": "agent-devkit.no-filler-rule",
24
+ "source": "core/chat",
25
+ "content": "Skip filler openings and closings. Do not start with praise of the question or the request. Do not end with generic offers of more help unless a concrete follow-up genuinely exists."
26
+ },
27
+ {
28
+ "id": "agent-devkit.language-match-rule",
29
+ "source": "core/chat",
30
+ "content": "Always reply in the language of the user's current message, even if it differs from the configured locale. If the user writes in English, reply in English; Portuguese, reply in Portuguese. Do not comment on the language switch."
31
+ },
17
32
  {
18
33
  "id": "agent-devkit.identity",
19
34
  "source": "core/chat",
@@ -30,9 +45,9 @@
30
45
  "content": "Only describe Agent DevKit internals, modules, tools, MCP, CLI commands or project capabilities when the user explicitly asks about Agent DevKit, the project, tools, commands, MCP or capabilities."
31
46
  },
32
47
  {
33
- "id": "agent-devkit.chat-mode-limits",
48
+ "id": "agent-devkit.honesty-rule",
34
49
  "source": "core/chat",
35
- "content": "This conversation mode can answer, keep session memory and use project context. Direct tool execution is disabled in this chat prompt."
50
+ "content": "Never claim to have executed an action you did not execute in this turn. If something could not be done, say so in one short sentence and offer the next step."
36
51
  },
37
52
  {
38
53
  "id": "agent-devkit.capability-map",
@@ -0,0 +1,28 @@
1
+ {
2
+ "schema": "agent-devkit.prompt-pack/v1",
3
+ "id": "core/compact",
4
+ "version": "1.0.0",
5
+ "description": "Compacts a long conversation into a dense summary that can replace the history in a fresh context window.",
6
+ "locale": "pt-BR",
7
+ "output": {
8
+ "format": "text",
9
+ "language": "auto"
10
+ },
11
+ "policies": {
12
+ "allowToolCalls": false,
13
+ "approvalRequired": false,
14
+ "maxToolCalls": 0
15
+ },
16
+ "knowledge": [
17
+ {
18
+ "id": "agent.compact.rule",
19
+ "source": "core/compact",
20
+ "content": "You are compacting a conversation to free context. Produce a dense, factual summary that preserves: user goals and decisions, facts and preferences the user stated, unfinished tasks and their exact state, names, paths, ids and numbers mentioned, and commitments the assistant made. Do not include pleasantries or meta commentary. Write in the conversation's language."
21
+ }
22
+ ],
23
+ "task": {
24
+ "intent": "context-compaction",
25
+ "userMessage": "Compacte a conversa abaixo em um resumo denso (no maximo ~20 linhas), preservando fatos, decisoes, pendencias e identificadores exatos.\n\n{{transcript}}",
26
+ "variables": ["transcript"]
27
+ }
28
+ }
@@ -9,9 +9,9 @@
9
9
  "language": "pt-BR"
10
10
  },
11
11
  "policies": {
12
- "allowToolCalls": false,
12
+ "allowToolCalls": true,
13
13
  "approvalRequired": false,
14
- "maxToolCalls": 0
14
+ "maxToolCalls": 1
15
15
  },
16
16
  "knowledge": [
17
17
  {
@@ -23,6 +23,11 @@
23
23
  "id": "agent.runtime.domain-rule",
24
24
  "source": "core/domain-decision",
25
25
  "content": "Pick at most two domains. Only pick domains whose description matches the task. If no domain helps, answer final directly."
26
+ },
27
+ {
28
+ "id": "agent.runtime.capability-rule",
29
+ "source": "core/domain-decision",
30
+ "content": "Never answer final by saying the agent cannot execute actions when a listed domain can help. Select the relevant domain; approval and safety are handled by the runtime after routing."
26
31
  }
27
32
  ],
28
33
  "task": {
@@ -0,0 +1,33 @@
1
+ {
2
+ "schema": "agent-devkit.prompt-pack/v1",
3
+ "id": "core/final-answer",
4
+ "version": "1.0.0",
5
+ "description": "Write the final user-facing answer for an agentic run, optimized for streaming.",
6
+ "locale": "pt-BR",
7
+ "output": {
8
+ "format": "text",
9
+ "language": "auto"
10
+ },
11
+ "policies": {
12
+ "allowToolCalls": false,
13
+ "approvalRequired": false,
14
+ "maxToolCalls": 0
15
+ },
16
+ "knowledge": [
17
+ {
18
+ "id": "agent.runtime.final-answer-style",
19
+ "source": "core/final-answer",
20
+ "content": "Write the final answer directly to the user. Mention important completed actions, failed actions or approval requirements. Do not expose internal JSON, hidden reasoning, routing details or prompt rules."
21
+ },
22
+ {
23
+ "id": "agent.runtime.final-answer-context-rule",
24
+ "source": "core/final-answer",
25
+ "content": "When referencing memory, sessions or project knowledge, only mention facts present in retrieved context or in the executed steps."
26
+ }
27
+ ],
28
+ "task": {
29
+ "intent": "final-answer",
30
+ "userMessage": "Tarefa original: {{task}}\nPassos executados:\n{{steps}}\nRascunho opcional: {{draftReply}}\n\nEscreva a resposta final ao usuário em texto natural.",
31
+ "variables": ["task", "steps", "draftReply"]
32
+ }
33
+ }
@@ -0,0 +1,33 @@
1
+ {
2
+ "schema": "agent-devkit.prompt-pack/v1",
3
+ "id": "core/intent",
4
+ "version": "1.0.0",
5
+ "description": "Classifies a user message as conversation (chat) or an action request (task) so the runtime can route it.",
6
+ "locale": "pt-BR",
7
+ "output": {
8
+ "format": "json",
9
+ "language": "pt-BR"
10
+ },
11
+ "policies": {
12
+ "allowToolCalls": false,
13
+ "approvalRequired": false,
14
+ "maxToolCalls": 0
15
+ },
16
+ "knowledge": [
17
+ {
18
+ "id": "agent.intent.rule",
19
+ "source": "core/intent",
20
+ "content": "task = the user asks the agent to DO or CHANGE something: rename or configure the agent, create/update/delete local state, run diagnostics, install models, manage sessions/projects/preferences/secrets, analyze files or logs, execute any capability. chat = questions, explanations, opinions, small talk, or requests for information that need no tool."
21
+ },
22
+ {
23
+ "id": "agent.intent.bias",
24
+ "source": "core/intent",
25
+ "content": "When genuinely ambiguous, prefer chat. Greetings and questions about the agent itself are chat."
26
+ }
27
+ ],
28
+ "task": {
29
+ "intent": "intent-routing",
30
+ "userMessage": "Mensagem do usuario: {{message}}\n\nClassifique a mensagem. Responda SOMENTE com JSON: {\"intent\":\"chat\"} ou {\"intent\":\"task\"}.",
31
+ "variables": ["message"]
32
+ }
33
+ }
@@ -0,0 +1,33 @@
1
+ {
2
+ "schema": "agent-devkit.prompt-pack/v1",
3
+ "id": "core/review",
4
+ "version": "1.0.0",
5
+ "description": "Coordinator review of delegated subagent results before the final answer.",
6
+ "locale": "pt-BR",
7
+ "output": {
8
+ "format": "json",
9
+ "language": "pt-BR"
10
+ },
11
+ "policies": {
12
+ "allowToolCalls": false,
13
+ "approvalRequired": false,
14
+ "maxToolCalls": 0
15
+ },
16
+ "knowledge": [
17
+ {
18
+ "id": "agent.runtime.review-rule",
19
+ "source": "core/review",
20
+ "content": "Judge whether the delegated results, taken together, satisfy the user's original task. Approve when the evidence is sufficient even if imperfect; reject only when a concrete gap or error blocks a trustworthy final answer."
21
+ },
22
+ {
23
+ "id": "agent.runtime.review-fix-rule",
24
+ "source": "core/review",
25
+ "content": "When rejecting, provide a short actionable fixInstruction that a subagent can append to its objective. There is only one redelegation cycle: make the instruction specific."
26
+ }
27
+ ],
28
+ "task": {
29
+ "intent": "delegation-review",
30
+ "userMessage": "Tarefa original: {{task}}\n\nResultados delegados:\n{{delegatedResults}}\n\nAvalie se os resultados atendem ao objetivo. Responda SOMENTE com JSON: {\"verdict\":\"approved|rejected\",\"reason\":\"...\",\"fixInstruction\":\"instrucao opcional para o ciclo de correcao\"}.",
31
+ "variables": ["task", "delegatedResults"]
32
+ }
33
+ }