opencodekit 0.7.0 → 0.8.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 (31) hide show
  1. package/dist/index.js +1 -1
  2. package/dist/template/.opencode/AGENTS.md +60 -21
  3. package/dist/template/.opencode/command/analyze-project.md +9 -9
  4. package/dist/template/.opencode/command/create.md +9 -4
  5. package/dist/template/.opencode/command/finish.md +12 -17
  6. package/dist/template/.opencode/command/fix-ci.md +10 -9
  7. package/dist/template/.opencode/command/fix-types.md +4 -11
  8. package/dist/template/.opencode/command/handoff.md +6 -6
  9. package/dist/template/.opencode/command/implement.md +11 -11
  10. package/dist/template/.opencode/command/import-plan.md +25 -14
  11. package/dist/template/.opencode/command/integration-test.md +1 -1
  12. package/dist/template/.opencode/command/issue.md +10 -9
  13. package/dist/template/.opencode/command/new-feature.md +4 -6
  14. package/dist/template/.opencode/command/plan.md +3 -5
  15. package/dist/template/.opencode/command/pr.md +2 -4
  16. package/dist/template/.opencode/command/research-and-implement.md +1 -1
  17. package/dist/template/.opencode/command/research.md +3 -5
  18. package/dist/template/.opencode/command/resume.md +2 -2
  19. package/dist/template/.opencode/command/revert-feature.md +5 -7
  20. package/dist/template/.opencode/command/status.md +4 -4
  21. package/dist/template/.opencode/dcp.jsonc +20 -2
  22. package/dist/template/.opencode/opencode.json +19 -12
  23. package/dist/template/.opencode/package.json +1 -1
  24. package/dist/template/.opencode/plugin/beads.ts +667 -0
  25. package/dist/template/.opencode/plugin/compaction.ts +80 -0
  26. package/dist/template/.opencode/skill/beads/SKILL.md +419 -0
  27. package/dist/template/.opencode/skill/beads/references/BOUNDARIES.md +218 -0
  28. package/dist/template/.opencode/skill/beads/references/DEPENDENCIES.md +130 -0
  29. package/dist/template/.opencode/skill/beads/references/RESUMABILITY.md +180 -0
  30. package/dist/template/.opencode/skill/beads/references/WORKFLOWS.md +222 -0
  31. package/package.json +1 -1
@@ -24,8 +24,8 @@ Parse from `$ARGUMENTS`:
24
24
 
25
25
  ### Step 1: Analyze Bead History
26
26
 
27
- ```bash
28
- bd show [bead-id] --history
27
+ ```typescript
28
+ bd_show({ id: "[bead-id]" });
29
29
  ```
30
30
 
31
31
  Identify:
@@ -87,9 +87,7 @@ git revert --no-commit [commits...]
87
87
 
88
88
  ### Step 5: Update Bead
89
89
 
90
- ```bash
91
- bd update [bead-id] --status reverted --note "Reverted [scope]"
92
- ```
90
+ Update bead status by adding a note via `bd_msg` about the revert.
93
91
 
94
92
  ## Safety Checks
95
93
 
@@ -119,10 +117,10 @@ Report:
119
117
 
120
118
  ```bash
121
119
  # View bead history
122
- bd show [bead-id] --history
120
+ bd_show({ id: "[bead-id]" })
123
121
 
124
122
  # Check current status
125
- bd status
123
+ bd_status({ include_agents: false })
126
124
 
127
125
  # Re-implement after revert
128
126
  /implement [bead-id]
@@ -8,7 +8,7 @@ agent: explore
8
8
  ## Quick Summary
9
9
 
10
10
  1. **Git:** Current branch, uncommitted changes
11
- 2. **Tasks:** `bd list` - count by status
11
+ 2. **Tasks:** `bd_ls()` - count by status
12
12
  3. **CI:** Any build issues
13
13
  4. **Sessions:** Recent activity
14
14
 
@@ -43,8 +43,8 @@ Activity: 2 sessions, 73 messages, 20 files modified
43
43
 
44
44
  ## Task Compliance
45
45
 
46
- ```bash
47
- bd list --status open
46
+ ```typescript
47
+ bd_ls({ status: "open" });
48
48
  ```
49
49
 
50
50
  For each bead, check `.beads/artifacts/<bead-id>/`:
@@ -70,7 +70,7 @@ Compliance: X/Y beads complete
70
70
 
71
71
  ## Active Tasks
72
72
 
73
- For `bd list --status in-progress`:
73
+ For `bd_ls({ status: "in_progress" })`:
74
74
 
75
75
  - Bead ID, Title, Priority
76
76
  - Goal from spec.md
@@ -24,8 +24,18 @@
24
24
  "memory-read",
25
25
  "memory-update",
26
26
  "observation",
27
- "use_skill",
28
- "skill"
27
+ "skill",
28
+ "lsp",
29
+ "lsp_lsp_rename",
30
+ "lsp_lsp_code_actions",
31
+ "lsp_lsp_code_action_apply",
32
+ "lsp_lsp_organize_imports",
33
+ "bd_init",
34
+ "bd_claim",
35
+ "bd_done",
36
+ "bd_show",
37
+ "bd_reserve",
38
+ "bd_reservations"
29
39
  ]
30
40
  },
31
41
  // Removes tool content from context without preservation (for completed tasks or noise)
@@ -51,6 +61,14 @@
51
61
  "supersedeWrites": {
52
62
  "enabled": true
53
63
  },
64
+ // Prune tool inputs for errored tools after X turns
65
+ "purgeErrors": {
66
+ "enabled": true,
67
+ // Number of turns before errored tool inputs are pruned
68
+ "turns": 4,
69
+ // Additional tools to protect from pruning
70
+ "protectedTools": []
71
+ },
54
72
  // (Legacy) Run an LLM to analyze what tool calls are no longer relevant on idle
55
73
  "onIdle": {
56
74
  "enabled": false,
@@ -6,12 +6,12 @@
6
6
  "model": "github-copilot/claude-opus-4.5"
7
7
  },
8
8
  "compaction": {
9
- "model": "proxypal/gemini-3-flash-preview",
10
- "prompt": "You are summarizing a coding session for context continuity.\n\n## Output Structure\n\nUse these sections:\n\n### COMPLETED\n- What was done (with file paths)\n- Bead IDs closed and why\n\n### IN PROGRESS\n- Current task and bead ID (if any)\n- Files being modified (exact paths)\n- Current todo state (preserve TodoWrite items)\n\n### NEXT\n- What needs to be done next\n- Blockers or pending decisions\n\n### CONSTRAINTS\n- User preferences that must persist\n- Rules or requirements stated by user\n- Technical decisions and rationale\n\n### PERSIST TO MEMORY\n- Gotchas discovered → suggest for project/gotchas.md\n- Commands learned → suggest for project/commands.md\n- Patterns observed → suggest for project/conventions.md\n\n## Rules\n\n- PRESERVE: Bead IDs, todo items, file paths, line numbers, user constraints\n- DROP: Failed attempts, superseded info, verbose tool outputs, exploration dead-ends\n- Be concise but complete - this summary replaces the full conversation\n- Include enough context that a new session can continue seamlessly"
9
+ "description": "Session summarizer for context continuity across compactions",
10
+ "model": "proxypal/gemini-3-flash-preview"
11
11
  },
12
12
  "explore": {
13
13
  "description": "Fast codebase search specialist",
14
- "model": "opencode/grok-code"
14
+ "model": "proxypal/gemini-3-flash-preview"
15
15
  },
16
16
  "general": {
17
17
  "disable": true
@@ -104,11 +104,6 @@
104
104
  "type": "remote",
105
105
  "url": "http://localhost:27495/mcp"
106
106
  },
107
- "beads-village": {
108
- "command": ["npx", "beads-village"],
109
- "enabled": true,
110
- "type": "local"
111
- },
112
107
  "playwright": {
113
108
  "command": ["npx", "@playwright/mcp@latest"],
114
109
  "enabled": false,
@@ -128,10 +123,8 @@
128
123
  "external_directory": "allow"
129
124
  },
130
125
  "plugin": [
131
- "opencode-gemini-auth",
132
126
  "@tarquinen/opencode-dcp@latest",
133
- "@franlol/opencode-md-table-formatter@0.0.3",
134
- "./plugin/handoff.ts"
127
+ "@franlol/opencode-md-table-formatter@0.0.3"
135
128
  ],
136
129
  "provider": {
137
130
  "github-copilot": {
@@ -296,6 +289,20 @@
296
289
  },
297
290
  "reasoning": true
298
291
  },
292
+ "glm-4.5": {
293
+ "limit": {
294
+ "context": 107520,
295
+ "output": 16384
296
+ },
297
+ "name": "Glm 4 5"
298
+ },
299
+ "glm-4.5-air": {
300
+ "limit": {
301
+ "context": 107520,
302
+ "output": 16384
303
+ },
304
+ "name": "Glm 4 5 Air"
305
+ },
299
306
  "glm-4.6": {
300
307
  "limit": {
301
308
  "context": 107520,
@@ -466,7 +473,7 @@
466
473
  "small_model": "opencode/gpt-5-nano",
467
474
  "theme": "system",
468
475
  "tools": {
469
- "beads-village*": true,
476
+ "beads-village*": false,
470
477
  "context7*": true,
471
478
  "gh_grep*": true,
472
479
  "gkg*": true
@@ -11,7 +11,7 @@
11
11
  "author": "",
12
12
  "license": "ISC",
13
13
  "dependencies": {
14
- "@opencode-ai/plugin": "^1.0.209"
14
+ "@opencode-ai/plugin": "1.0.222"
15
15
  },
16
16
  "devDependencies": {
17
17
  "@types/node": "^25.0.3",