opencodekit 0.11.1 → 0.12.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.
- package/dist/index.js +1 -1
- package/dist/template/.opencode/AGENTS.md +2 -2
- package/dist/template/.opencode/agent/build.md +20 -20
- package/dist/template/.opencode/agent/explore.md +13 -13
- package/dist/template/.opencode/agent/planner.md +20 -20
- package/dist/template/.opencode/agent/review.md +18 -18
- package/dist/template/.opencode/agent/rush.md +20 -20
- package/dist/template/.opencode/agent/scout.md +16 -16
- package/dist/template/.opencode/agent/vision.md +19 -19
- package/dist/template/.opencode/command/create.md +1 -1
- package/dist/template/.opencode/command/import-plan.md +1 -1
- package/dist/template/.opencode/command/issue.md +5 -2
- package/dist/template/.opencode/command/plan.md +1 -1
- package/dist/template/.opencode/command/revert-feature.md +1 -1
- package/dist/template/.opencode/command/triage.md +11 -12
- package/dist/template/.opencode/opencode.json +479 -514
- package/dist/template/.opencode/package.json +1 -1
- package/dist/template/.opencode/plugin/beads.ts +857 -270
- package/dist/template/.opencode/skill/beads/SKILL.md +6 -18
- package/dist/template/.opencode/skill/beads/references/DEPENDENCIES.md +3 -3
- package/dist/template/.opencode/skill/beads/references/WORKFLOWS.md +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -750,7 +750,7 @@ var cac = (name = "") => new CAC(name);
|
|
|
750
750
|
// package.json
|
|
751
751
|
var package_default = {
|
|
752
752
|
name: "opencodekit",
|
|
753
|
-
version: "0.
|
|
753
|
+
version: "0.12.0",
|
|
754
754
|
description: "CLI tool for bootstrapping and managing OpenCodeKit projects",
|
|
755
755
|
type: "module",
|
|
756
756
|
repository: {
|
|
@@ -499,9 +499,9 @@ Run `bd_cleanup` periodically to remove old closed issues. Use `bd_doctor` to ch
|
|
|
499
499
|
|
|
500
500
|
**Analysis Tools**
|
|
501
501
|
|
|
502
|
-
|
|
502
|
+
Use `bd_blocked` to see tasks with unresolved dependencies. Use `bd_dep` with action "tree" to visualize dependency chains.
|
|
503
503
|
|
|
504
|
-
|
|
504
|
+
Use `bd_diff` to compare issue changes between git revisions.
|
|
505
505
|
|
|
506
506
|
### Rules
|
|
507
507
|
|
|
@@ -2,26 +2,26 @@
|
|
|
2
2
|
description: Primary development agent with full codebase access. Use this agent for implementing features, writing code, running tests, and completing development tasks autonomously.
|
|
3
3
|
mode: primary
|
|
4
4
|
temperature: 0.1
|
|
5
|
-
|
|
6
|
-
bash:
|
|
7
|
-
edit:
|
|
8
|
-
write:
|
|
9
|
-
patch:
|
|
10
|
-
glob:
|
|
11
|
-
grep:
|
|
12
|
-
read:
|
|
13
|
-
list:
|
|
14
|
-
webfetch:
|
|
15
|
-
websearch:
|
|
16
|
-
codesearch:
|
|
17
|
-
ast-grep*:
|
|
18
|
-
lsp*:
|
|
19
|
-
context7*:
|
|
20
|
-
gh_grep*:
|
|
21
|
-
memory-read:
|
|
22
|
-
memory-update:
|
|
23
|
-
memory-search:
|
|
24
|
-
observation:
|
|
5
|
+
permission:
|
|
6
|
+
bash: allow
|
|
7
|
+
edit: allow
|
|
8
|
+
write: allow
|
|
9
|
+
patch: allow
|
|
10
|
+
glob: allow
|
|
11
|
+
grep: allow
|
|
12
|
+
read: allow
|
|
13
|
+
list: allow
|
|
14
|
+
webfetch: allow
|
|
15
|
+
websearch: allow
|
|
16
|
+
codesearch: allow
|
|
17
|
+
ast-grep*: allow
|
|
18
|
+
lsp*: allow
|
|
19
|
+
context7*: allow
|
|
20
|
+
gh_grep*: allow
|
|
21
|
+
memory-read: allow
|
|
22
|
+
memory-update: allow
|
|
23
|
+
memory-search: allow
|
|
24
|
+
observation: allow
|
|
25
25
|
---
|
|
26
26
|
|
|
27
27
|
# Build Agent
|
|
@@ -2,19 +2,19 @@
|
|
|
2
2
|
description: Fast codebase search specialist. Use this agent to find files by patterns, search code for keywords, or understand how the codebase works. Specify thoroughness level - "quick" for simple lookups, "medium" for moderate exploration, "very thorough" for comprehensive analysis.
|
|
3
3
|
mode: subagent
|
|
4
4
|
temperature: 0.1
|
|
5
|
-
|
|
6
|
-
bash:
|
|
7
|
-
edit:
|
|
8
|
-
write:
|
|
9
|
-
patch:
|
|
10
|
-
glob:
|
|
11
|
-
grep:
|
|
12
|
-
read:
|
|
13
|
-
list:
|
|
14
|
-
todoread:
|
|
15
|
-
todowrite:
|
|
16
|
-
ast-grep*:
|
|
17
|
-
lsp*:
|
|
5
|
+
permission:
|
|
6
|
+
bash: allow
|
|
7
|
+
edit: deny
|
|
8
|
+
write: deny
|
|
9
|
+
patch: deny
|
|
10
|
+
glob: allow
|
|
11
|
+
grep: allow
|
|
12
|
+
read: allow
|
|
13
|
+
list: allow
|
|
14
|
+
todoread: deny
|
|
15
|
+
todowrite: deny
|
|
16
|
+
ast-grep*: allow
|
|
17
|
+
lsp*: allow
|
|
18
18
|
---
|
|
19
19
|
|
|
20
20
|
# Explore Agent
|
|
@@ -2,26 +2,26 @@
|
|
|
2
2
|
description: Strategic planning agent for architecture and design decisions. Use this agent for tasks with 3+ phases, complex coordination, or when you need to break down work into actionable steps with agent assignments.
|
|
3
3
|
mode: subagent
|
|
4
4
|
temperature: 0.2
|
|
5
|
-
|
|
6
|
-
bash:
|
|
7
|
-
edit:
|
|
8
|
-
write:
|
|
9
|
-
patch:
|
|
10
|
-
glob:
|
|
11
|
-
grep:
|
|
12
|
-
read:
|
|
13
|
-
list:
|
|
14
|
-
webfetch:
|
|
15
|
-
websearch:
|
|
16
|
-
task:
|
|
17
|
-
todowrite:
|
|
18
|
-
todoread:
|
|
19
|
-
context7*:
|
|
20
|
-
codesearch:
|
|
21
|
-
gh_grep*:
|
|
22
|
-
memory-read:
|
|
23
|
-
memory-update:
|
|
24
|
-
bd_*:
|
|
5
|
+
permission:
|
|
6
|
+
bash: deny
|
|
7
|
+
edit: allow
|
|
8
|
+
write: allow
|
|
9
|
+
patch: deny
|
|
10
|
+
glob: allow
|
|
11
|
+
grep: allow
|
|
12
|
+
read: allow
|
|
13
|
+
list: allow
|
|
14
|
+
webfetch: allow
|
|
15
|
+
websearch: allow
|
|
16
|
+
task: allow
|
|
17
|
+
todowrite: allow
|
|
18
|
+
todoread: allow
|
|
19
|
+
context7*: allow
|
|
20
|
+
codesearch: allow
|
|
21
|
+
gh_grep*: allow
|
|
22
|
+
memory-read: allow
|
|
23
|
+
memory-update: allow
|
|
24
|
+
bd_*: allow
|
|
25
25
|
---
|
|
26
26
|
|
|
27
27
|
# Plan Agent
|
|
@@ -2,24 +2,24 @@
|
|
|
2
2
|
description: Code review, debugging, and security audit specialist. Use this agent for critical analysis, complex debugging, architecture decisions, or when you need evidence-based recommendations.
|
|
3
3
|
mode: subagent
|
|
4
4
|
temperature: 0.1
|
|
5
|
-
|
|
6
|
-
bash:
|
|
7
|
-
edit:
|
|
8
|
-
write:
|
|
9
|
-
patch:
|
|
10
|
-
glob:
|
|
11
|
-
grep:
|
|
12
|
-
read:
|
|
13
|
-
list:
|
|
14
|
-
webfetch:
|
|
15
|
-
websearch:
|
|
16
|
-
context7*:
|
|
17
|
-
gh_grep*:
|
|
18
|
-
codesearch:
|
|
19
|
-
memory-read:
|
|
20
|
-
memory-update:
|
|
21
|
-
ast-grep*:
|
|
22
|
-
lsp*:
|
|
5
|
+
permission:
|
|
6
|
+
bash: allow
|
|
7
|
+
edit: deny
|
|
8
|
+
write: deny
|
|
9
|
+
patch: deny
|
|
10
|
+
glob: allow
|
|
11
|
+
grep: allow
|
|
12
|
+
read: allow
|
|
13
|
+
list: allow
|
|
14
|
+
webfetch: allow
|
|
15
|
+
websearch: allow
|
|
16
|
+
context7*: allow
|
|
17
|
+
gh_grep*: allow
|
|
18
|
+
codesearch: allow
|
|
19
|
+
memory-read: allow
|
|
20
|
+
memory-update: allow
|
|
21
|
+
ast-grep*: allow
|
|
22
|
+
lsp*: allow
|
|
23
23
|
---
|
|
24
24
|
|
|
25
25
|
# Review Agent
|
|
@@ -2,26 +2,26 @@
|
|
|
2
2
|
description: Fast primary agent for small, well-defined tasks. Use this agent when speed matters more than depth, or for straightforward edits and commands.
|
|
3
3
|
mode: primary
|
|
4
4
|
temperature: 0.1
|
|
5
|
-
|
|
6
|
-
bash:
|
|
7
|
-
edit:
|
|
8
|
-
write:
|
|
9
|
-
patch:
|
|
10
|
-
glob:
|
|
11
|
-
grep:
|
|
12
|
-
read:
|
|
13
|
-
list:
|
|
14
|
-
webfetch:
|
|
15
|
-
websearch:
|
|
16
|
-
ast-grep*:
|
|
17
|
-
lsp*:
|
|
18
|
-
context7*:
|
|
19
|
-
gh_grep*:
|
|
20
|
-
codesearch:
|
|
21
|
-
memory-read:
|
|
22
|
-
memory-update:
|
|
23
|
-
memory-search:
|
|
24
|
-
observation:
|
|
5
|
+
permission:
|
|
6
|
+
bash: allow
|
|
7
|
+
edit: allow
|
|
8
|
+
write: allow
|
|
9
|
+
patch: allow
|
|
10
|
+
glob: allow
|
|
11
|
+
grep: allow
|
|
12
|
+
read: allow
|
|
13
|
+
list: allow
|
|
14
|
+
webfetch: allow
|
|
15
|
+
websearch: allow
|
|
16
|
+
ast-grep*: allow
|
|
17
|
+
lsp*: allow
|
|
18
|
+
context7*: allow
|
|
19
|
+
gh_grep*: allow
|
|
20
|
+
codesearch: allow
|
|
21
|
+
memory-read: allow
|
|
22
|
+
memory-update: allow
|
|
23
|
+
memory-search: allow
|
|
24
|
+
observation: allow
|
|
25
25
|
---
|
|
26
26
|
|
|
27
27
|
# Rush Agent
|
|
@@ -2,22 +2,22 @@
|
|
|
2
2
|
description: External research specialist for library docs, GitHub patterns, and framework analysis. Use this agent when you need API references, real-world code examples, or best practices from external sources.
|
|
3
3
|
mode: subagent
|
|
4
4
|
temperature: 0.3
|
|
5
|
-
|
|
6
|
-
bash:
|
|
7
|
-
edit:
|
|
8
|
-
write:
|
|
9
|
-
patch:
|
|
10
|
-
glob:
|
|
11
|
-
grep:
|
|
12
|
-
read:
|
|
13
|
-
list:
|
|
14
|
-
webfetch:
|
|
15
|
-
websearch:
|
|
16
|
-
context7*:
|
|
17
|
-
gh_grep*:
|
|
18
|
-
codesearch:
|
|
19
|
-
memory-read:
|
|
20
|
-
memory-update:
|
|
5
|
+
permission:
|
|
6
|
+
bash: deny
|
|
7
|
+
edit: deny
|
|
8
|
+
write: deny
|
|
9
|
+
patch: deny
|
|
10
|
+
glob: deny
|
|
11
|
+
grep: deny
|
|
12
|
+
read: deny
|
|
13
|
+
list: deny
|
|
14
|
+
webfetch: allow
|
|
15
|
+
websearch: allow
|
|
16
|
+
context7*: allow
|
|
17
|
+
gh_grep*: allow
|
|
18
|
+
codesearch: allow
|
|
19
|
+
memory-read: allow
|
|
20
|
+
memory-update: deny
|
|
21
21
|
---
|
|
22
22
|
|
|
23
23
|
# Scout Agent
|
|
@@ -2,25 +2,25 @@
|
|
|
2
2
|
description: Visual content specialist for multimodal analysis, mockups, PDFs, diagrams, and UI/UX guidance. Use this agent for image analysis, accessibility audits, and anti-AI-slop design recommendations.
|
|
3
3
|
mode: subagent
|
|
4
4
|
temperature: 0.3
|
|
5
|
-
|
|
6
|
-
bash:
|
|
7
|
-
edit:
|
|
8
|
-
write:
|
|
9
|
-
patch:
|
|
10
|
-
glob:
|
|
11
|
-
grep:
|
|
12
|
-
read:
|
|
13
|
-
list:
|
|
14
|
-
webfetch:
|
|
15
|
-
websearch:
|
|
16
|
-
task:
|
|
17
|
-
todowrite:
|
|
18
|
-
todoread:
|
|
19
|
-
context7*:
|
|
20
|
-
codesearch:
|
|
21
|
-
gh_grep*:
|
|
22
|
-
memory-read:
|
|
23
|
-
memory-update:
|
|
5
|
+
permission:
|
|
6
|
+
bash: allow
|
|
7
|
+
edit: deny
|
|
8
|
+
write: deny
|
|
9
|
+
patch: deny
|
|
10
|
+
glob: allow
|
|
11
|
+
grep: allow
|
|
12
|
+
read: allow
|
|
13
|
+
list: allow
|
|
14
|
+
webfetch: allow
|
|
15
|
+
websearch: allow
|
|
16
|
+
task: allow
|
|
17
|
+
todowrite: allow
|
|
18
|
+
todoread: allow
|
|
19
|
+
context7*: allow
|
|
20
|
+
codesearch: allow
|
|
21
|
+
gh_grep*: allow
|
|
22
|
+
memory-read: allow
|
|
23
|
+
memory-update: allow
|
|
24
24
|
---
|
|
25
25
|
|
|
26
26
|
# Vision Agent
|
|
@@ -410,7 +410,7 @@ Ready to start: bd-a3f8.1 (first unblocked task)
|
|
|
410
410
|
Next steps:
|
|
411
411
|
├── /implement bd-a3f8.1 (start first task)
|
|
412
412
|
├── bd ready (see all ready work)
|
|
413
|
-
└──
|
|
413
|
+
└── bd_blocked() (see blocked tasks)
|
|
414
414
|
|
|
415
415
|
For parallel agents:
|
|
416
416
|
├── Agent 1: /implement bd-a3f8.1
|
|
@@ -311,7 +311,7 @@ Created:
|
|
|
311
311
|
Next Steps:
|
|
312
312
|
├── View ready tasks: bd_ls({ status: "ready" })
|
|
313
313
|
├── Start first task: /implement bd-task-001
|
|
314
|
-
└── View dependencies:
|
|
314
|
+
└── View dependencies: bd_dep({ action: "tree", child: "<id>" })
|
|
315
315
|
```
|
|
316
316
|
|
|
317
317
|
---
|
|
@@ -14,11 +14,14 @@ skill({ name: "beads" });
|
|
|
14
14
|
|
|
15
15
|
## Phase 1: Check for Duplicates
|
|
16
16
|
|
|
17
|
-
Before creating, search for existing beads:
|
|
17
|
+
Before creating, search for existing similar beads:
|
|
18
18
|
|
|
19
19
|
```typescript
|
|
20
|
+
// Search for similar issues
|
|
21
|
+
bd_search({ query: "[keywords from issue title]" });
|
|
22
|
+
|
|
23
|
+
// Or list recent beads
|
|
20
24
|
bd_ls({ status: "all", limit: 20 });
|
|
21
|
-
memory - search({ query: "[keywords from issue title]" });
|
|
22
25
|
```
|
|
23
26
|
|
|
24
27
|
If similar bead exists:
|
|
@@ -479,7 +479,7 @@ Artifacts:
|
|
|
479
479
|
Next Steps:
|
|
480
480
|
├── Start first task: /implement <bead>.1
|
|
481
481
|
├── See ready work: bd ready
|
|
482
|
-
└── See
|
|
482
|
+
└── See blocked tasks: bd_blocked()
|
|
483
483
|
|
|
484
484
|
For parallel agents:
|
|
485
485
|
├── Agent 1 (backend): claim <bead>.1
|
|
@@ -39,12 +39,13 @@ Capture:
|
|
|
39
39
|
- File locks
|
|
40
40
|
- Pending messages
|
|
41
41
|
|
|
42
|
-
## Phase 3:
|
|
42
|
+
## Phase 3: Analyze Dependencies
|
|
43
|
+
|
|
44
|
+
Use `bd dep tree` to understand blocking relationships:
|
|
43
45
|
|
|
44
46
|
```typescript
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
bd_plan({ reason: "Parallel execution plan" });
|
|
47
|
+
// For each high-priority open task, check its dependency tree
|
|
48
|
+
bd_dep({ action: "tree", child: "<task-id>", type: "blocks" });
|
|
48
49
|
```
|
|
49
50
|
|
|
50
51
|
This provides:
|
|
@@ -52,8 +53,6 @@ This provides:
|
|
|
52
53
|
- **Bottlenecks**: Tasks blocking the most downstream work
|
|
53
54
|
- **Keystones**: High-impact tasks that unlock multiple paths
|
|
54
55
|
- **Cycles**: Circular dependencies (must break)
|
|
55
|
-
- **PageRank**: Importance score based on graph centrality
|
|
56
|
-
- **Parallel Tracks**: Independent work streams
|
|
57
56
|
|
|
58
57
|
## Phase 4: Priority Classification
|
|
59
58
|
|
|
@@ -86,7 +85,7 @@ This provides:
|
|
|
86
85
|
### Impact Scoring Formula
|
|
87
86
|
|
|
88
87
|
```
|
|
89
|
-
Impact Score = (Downstream Count × 2) +
|
|
88
|
+
Impact Score = (Downstream Count × 2) + (Priority Weight × 3)
|
|
90
89
|
|
|
91
90
|
Where Priority Weight:
|
|
92
91
|
P0 = 5, P1 = 4, P2 = 3, P3 = 2, P4 = 1
|
|
@@ -186,11 +185,11 @@ P0 │ bd-abc12 │ Database migration │ 24 │ AT_RISK
|
|
|
186
185
|
P1 │ bd-def34 │ API authentication │ 18 │ OK
|
|
187
186
|
P2 │ bd-ghi56 │ Config refactor │ 12 │ OK
|
|
188
187
|
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
188
|
+
READY TASKS
|
|
189
|
+
━━━━━━━━━━━
|
|
190
|
+
bd-xyz11 - "Frontend auth" - can start now
|
|
191
|
+
bd-xyz22 - "API endpoints" - can start now
|
|
192
|
+
bd-xyz33 - "Config update" - blocked by bd-abc12
|
|
194
193
|
|
|
195
194
|
AGENT WORKLOAD
|
|
196
195
|
━━━━━━━━━━━━━━
|