agent-devkit 0.5.6 → 0.6.0

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 (33) hide show
  1. package/README.md +27 -0
  2. package/dist/main.js +10184 -3646
  3. package/dist/main.js.map +1 -1
  4. package/package.json +1 -1
  5. package/src/assets/i18n/en-US.json +16 -0
  6. package/src/assets/i18n/fr-FR.json +16 -0
  7. package/src/assets/i18n/ja-JP.json +16 -0
  8. package/src/assets/i18n/pt-BR.json +16 -0
  9. package/src/assets/i18n/zh-CN.json +16 -0
  10. package/src/assets/prompts/core/chat.json +63 -0
  11. package/src/assets/prompts/core/domain-decision.json +33 -0
  12. package/src/assets/prompts/core/final-summary.json +33 -0
  13. package/src/assets/prompts/core/guardrails.json +27 -0
  14. package/src/assets/prompts/core/reflection.json +33 -0
  15. package/src/assets/prompts/core/task-plan.json +33 -0
  16. package/src/assets/prompts/core/tool-decision.json +38 -0
  17. package/src/assets/prompts/core/tool-input.json +33 -0
  18. package/src/modules/context/surface/knowledge.json +3 -2
  19. package/src/modules/context/surface/loop.json +3 -0
  20. package/src/modules/context/surface/skill.json +3 -2
  21. package/src/modules/conversation/surface/prompt.json +2 -3
  22. package/src/modules/integrations/surface/knowledge.json +9 -0
  23. package/src/modules/integrations/surface/loop.json +15 -0
  24. package/src/modules/integrations/surface/prompt.json +10 -0
  25. package/src/modules/integrations/surface/skill.json +13 -0
  26. package/src/modules/memory/surface/knowledge.json +11 -0
  27. package/src/modules/memory/surface/loop.json +19 -0
  28. package/src/modules/memory/surface/prompt.json +30 -0
  29. package/src/modules/memory/surface/skill.json +18 -0
  30. package/src/modules/runtime/surface/knowledge.json +10 -0
  31. package/src/modules/runtime/surface/loop.json +16 -0
  32. package/src/modules/runtime/surface/prompt.json +15 -0
  33. package/src/modules/runtime/surface/skill.json +14 -0
@@ -0,0 +1,30 @@
1
+ {
2
+ "moduleId": "memory",
3
+ "templates": [
4
+ {
5
+ "id": "memory.learn",
6
+ "template": "Store this as global memory only if it is useful beyond the current session. Use active for explicit user instructions and candidate for agent inference: {{content}}",
7
+ "variables": ["content"]
8
+ },
9
+ {
10
+ "id": "memory.search",
11
+ "template": "Search global memory for records relevant to: {{query}}",
12
+ "variables": ["query"]
13
+ },
14
+ {
15
+ "id": "memory.retrieve",
16
+ "template": "Retrieve ranked global memory for prompt context relevant to: {{query}}",
17
+ "variables": ["query"]
18
+ },
19
+ {
20
+ "id": "memory.update",
21
+ "template": "Update the selected memory record with the requested status or metadata change: {{memory}}",
22
+ "variables": ["memory"]
23
+ },
24
+ {
25
+ "id": "memory.forget",
26
+ "template": "Forget this memory record by marking it forgotten and preserving the audit trail: {{memoryId}}",
27
+ "variables": ["memoryId"]
28
+ }
29
+ ]
30
+ }
@@ -0,0 +1,18 @@
1
+ {
2
+ "moduleId": "memory",
3
+ "purpose": "Manage durable global memory that the agent can reuse independently of sessions and projects.",
4
+ "whenToUse": [
5
+ "The user explicitly asks the agent to remember something.",
6
+ "The agent has an inferred learning candidate that should be reviewed later.",
7
+ "The user wants to approve or reject a knowledge candidate extracted from context.",
8
+ "The agent needs relevant durable memory before answering or planning.",
9
+ "The user asks what the agent remembers.",
10
+ "The user asks to change, reject or forget a stored memory."
11
+ ],
12
+ "whenNotToUse": [
13
+ "The user only wants to inspect raw runtime events.",
14
+ "The information is a secret or credential.",
15
+ "The information is only relevant inside the current chat session.",
16
+ "The user asks for project-specific knowledge promotion."
17
+ ]
18
+ }
@@ -0,0 +1,10 @@
1
+ {
2
+ "moduleId": "runtime",
3
+ "summary": "Runtime stores persisted agentic runs, goals, events and plans under ~/.agent-devkit/data/runtime.",
4
+ "facts": [
5
+ "Each agent chat or task run should create a run.json file.",
6
+ "Runtime events are append-only JSON Lines entries in events.jsonl.",
7
+ "Runtime runs audit what the agent did; they are separate from chat session memory.",
8
+ "Runtime goals group related runs but do not imply autonomous background execution yet."
9
+ ]
10
+ }
@@ -0,0 +1,16 @@
1
+ {
2
+ "moduleId": "runtime",
3
+ "mode": "agentic-audit",
4
+ "allowedActions": [
5
+ "List and inspect persisted runtime runs.",
6
+ "List and inspect runtime events.",
7
+ "Create and update explicit runtime goals.",
8
+ "Cancel a run when explicitly requested."
9
+ ],
10
+ "forbiddenActions": [
11
+ "Treat a runtime run as durable user knowledge.",
12
+ "Resume a run by re-executing tools without explicit user command.",
13
+ "Expose redacted secrets from runtime event payloads."
14
+ ],
15
+ "approvalRequired": true
16
+ }
@@ -0,0 +1,15 @@
1
+ {
2
+ "moduleId": "runtime",
3
+ "templates": [
4
+ {
5
+ "id": "runtime.runs",
6
+ "template": "Explain this Agent DevKit runtime run and highlight tool calls, observations, errors and approval requirements: {{run}}",
7
+ "variables": ["run"]
8
+ },
9
+ {
10
+ "id": "runtime.goals",
11
+ "template": "Explain this Agent DevKit runtime goal and its related runs: {{goal}}",
12
+ "variables": ["goal"]
13
+ }
14
+ ]
15
+ }
@@ -0,0 +1,14 @@
1
+ {
2
+ "moduleId": "runtime",
3
+ "purpose": "Inspect and control persisted Agent DevKit agentic executions and goals.",
4
+ "whenToUse": [
5
+ "The user wants to know what the agent did.",
6
+ "The user wants to inspect tool calls, observations or failures from a run.",
7
+ "The user wants to create, complete or cancel an explicit agentic goal."
8
+ ],
9
+ "whenNotToUse": [
10
+ "The user wants to search conversation messages.",
11
+ "The user wants durable learned memory or project knowledge.",
12
+ "The user wants to execute a capability directly."
13
+ ]
14
+ }