opencodekit 0.11.0 → 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.
Files changed (45) hide show
  1. package/dist/index.js +1 -1
  2. package/dist/template/.opencode/AGENTS.md +2 -2
  3. package/dist/template/.opencode/agent/build.md +20 -20
  4. package/dist/template/.opencode/agent/explore.md +13 -13
  5. package/dist/template/.opencode/agent/planner.md +20 -20
  6. package/dist/template/.opencode/agent/review.md +18 -18
  7. package/dist/template/.opencode/agent/rush.md +20 -20
  8. package/dist/template/.opencode/agent/scout.md +16 -16
  9. package/dist/template/.opencode/agent/vision.md +19 -19
  10. package/dist/template/.opencode/command/accessibility-check.md +6 -2
  11. package/dist/template/.opencode/command/analyze-mockup.md +6 -0
  12. package/dist/template/.opencode/command/analyze-project.md +6 -0
  13. package/dist/template/.opencode/command/brainstorm.md +6 -0
  14. package/dist/template/.opencode/command/commit.md +6 -1
  15. package/dist/template/.opencode/command/create.md +369 -134
  16. package/dist/template/.opencode/command/design-audit.md +6 -0
  17. package/dist/template/.opencode/command/design.md +6 -0
  18. package/dist/template/.opencode/command/finish.md +1 -0
  19. package/dist/template/.opencode/command/fix-ci.md +1 -0
  20. package/dist/template/.opencode/command/fix-types.md +6 -0
  21. package/dist/template/.opencode/command/fix-ui.md +6 -0
  22. package/dist/template/.opencode/command/fix.md +6 -0
  23. package/dist/template/.opencode/command/handoff.md +6 -1
  24. package/dist/template/.opencode/command/implement.md +1 -0
  25. package/dist/template/.opencode/command/import-plan.md +7 -2
  26. package/dist/template/.opencode/command/integration-test.md +5 -0
  27. package/dist/template/.opencode/command/issue.md +11 -2
  28. package/dist/template/.opencode/command/new-feature.md +8 -0
  29. package/dist/template/.opencode/command/plan.md +282 -21
  30. package/dist/template/.opencode/command/pr.md +6 -1
  31. package/dist/template/.opencode/command/research-and-implement.md +6 -0
  32. package/dist/template/.opencode/command/research.md +6 -0
  33. package/dist/template/.opencode/command/resume.md +8 -0
  34. package/dist/template/.opencode/command/revert-feature.md +7 -2
  35. package/dist/template/.opencode/command/review-codebase.md +6 -0
  36. package/dist/template/.opencode/command/status.md +6 -0
  37. package/dist/template/.opencode/command/triage.md +17 -12
  38. package/dist/template/.opencode/command/ui-review.md +4 -0
  39. package/dist/template/.opencode/opencode.json +479 -514
  40. package/dist/template/.opencode/package.json +1 -1
  41. package/dist/template/.opencode/plugin/beads.ts +857 -270
  42. package/dist/template/.opencode/skill/beads/SKILL.md +110 -17
  43. package/dist/template/.opencode/skill/beads/references/DEPENDENCIES.md +3 -3
  44. package/dist/template/.opencode/skill/beads/references/WORKFLOWS.md +1 -1
  45. package/package.json +1 -1
@@ -6,6 +6,12 @@ agent: build
6
6
 
7
7
  # Triage
8
8
 
9
+ ## Load Beads Skill
10
+
11
+ ```typescript
12
+ skill({ name: "beads" });
13
+ ```
14
+
9
15
  Analyze open tasks and optimize prioritization using dependency graph analysis, SLA tracking, and multi-agent coordination.
10
16
 
11
17
  ## Phase 1: Initialize Beads Connection
@@ -33,12 +39,13 @@ Capture:
33
39
  - File locks
34
40
  - Pending messages
35
41
 
36
- ## Phase 3: Run Graph Analysis
42
+ ## Phase 3: Analyze Dependencies
43
+
44
+ Use `bd dep tree` to understand blocking relationships:
37
45
 
38
46
  ```typescript
39
- bd_insights({ reason: "Triage analysis" });
40
- bd_priority({ limit: 10 });
41
- 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" });
42
49
  ```
43
50
 
44
51
  This provides:
@@ -46,8 +53,6 @@ This provides:
46
53
  - **Bottlenecks**: Tasks blocking the most downstream work
47
54
  - **Keystones**: High-impact tasks that unlock multiple paths
48
55
  - **Cycles**: Circular dependencies (must break)
49
- - **PageRank**: Importance score based on graph centrality
50
- - **Parallel Tracks**: Independent work streams
51
56
 
52
57
  ## Phase 4: Priority Classification
53
58
 
@@ -80,7 +85,7 @@ This provides:
80
85
  ### Impact Scoring Formula
81
86
 
82
87
  ```
83
- Impact Score = (Downstream Count × 2) + PageRank + (Priority Weight × 3)
88
+ Impact Score = (Downstream Count × 2) + (Priority Weight × 3)
84
89
 
85
90
  Where Priority Weight:
86
91
  P0 = 5, P1 = 4, P2 = 3, P3 = 2, P4 = 1
@@ -180,11 +185,11 @@ P0 │ bd-abc12 │ Database migration │ 24 │ AT_RISK
180
185
  P1 │ bd-def34 │ API authentication │ 18 │ OK
181
186
  P2 │ bd-ghi56 │ Config refactor │ 12 │ OK
182
187
 
183
- PARALLEL TRACKS
184
- ━━━━━━━━━━━━━━━
185
- Track A (Frontend): bd-xyz11, bd-xyz22 [can start now]
186
- Track B (Backend): bd-xyz33, bd-xyz44 [can start now]
187
- Track C (Infra): bd-xyz55 [blocked by bd-abc12]
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
188
193
 
189
194
  AGENT WORKLOAD
190
195
  ━━━━━━━━━━━━━━
@@ -11,6 +11,10 @@ Comprehensive UI/UX review with structured scoring and actionable feedback.
11
11
 
12
12
  ## Load Skills
13
13
 
14
+ ```typescript
15
+ skill({ name: "beads" }); // Session protocol
16
+ ```
17
+
14
18
  ```typescript
15
19
  skill({ name: "frontend-aesthetics" });
16
20
  skill({ name: "visual-analysis" });