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 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.11.1",
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
- Call `bd_insights` for graph analysis showing bottlenecks and high-priority keystones. Use `bd_plan` to see a parallel execution plan with tasks grouped by priority tracks.
502
+ Use `bd_blocked` to see tasks with unresolved dependencies. Use `bd_dep` with action "tree" to visualize dependency chains.
503
503
 
504
- Get `bd_priority` recommendations for what to work on next based on graph analysis. Use `bd_diff` to compare issue changes between git revisions.
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
- tools:
6
- bash: true
7
- edit: true
8
- write: true
9
- patch: true
10
- glob: true
11
- grep: true
12
- read: true
13
- list: true
14
- webfetch: true
15
- websearch: true
16
- codesearch: true
17
- ast-grep*: true
18
- lsp*: true
19
- context7*: true
20
- gh_grep*: true
21
- memory-read: true
22
- memory-update: true
23
- memory-search: true
24
- observation: true
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
- tools:
6
- bash: true
7
- edit: false
8
- write: false
9
- patch: false
10
- glob: true
11
- grep: true
12
- read: true
13
- list: true
14
- todoread: false
15
- todowrite: false
16
- ast-grep*: true
17
- lsp*: true
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
- tools:
6
- bash: false
7
- edit: true
8
- write: true
9
- patch: false
10
- glob: true
11
- grep: true
12
- read: true
13
- list: true
14
- webfetch: true
15
- websearch: true
16
- task: true
17
- todowrite: true
18
- todoread: true
19
- context7*: true
20
- codesearch: true
21
- gh_grep*: true
22
- memory-read: true
23
- memory-update: true
24
- bd_*: true
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
- tools:
6
- bash: true
7
- edit: false
8
- write: false
9
- patch: false
10
- glob: true
11
- grep: true
12
- read: true
13
- list: true
14
- webfetch: true
15
- websearch: true
16
- context7*: true
17
- gh_grep*: true
18
- codesearch: true
19
- memory-read: true
20
- memory-update: true
21
- ast-grep*: true
22
- lsp*: true
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
- tools:
6
- bash: true
7
- edit: true
8
- write: true
9
- patch: true
10
- glob: true
11
- grep: true
12
- read: true
13
- list: true
14
- webfetch: true
15
- websearch: true
16
- ast-grep*: true
17
- lsp*: true
18
- context7*: true
19
- gh_grep*: true
20
- codesearch: true
21
- memory-read: true
22
- memory-update: true
23
- memory-search: true
24
- observation: true
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
- tools:
6
- bash: false
7
- edit: false
8
- write: false
9
- patch: false
10
- glob: false
11
- grep: false
12
- read: false
13
- list: false
14
- webfetch: true
15
- websearch: true
16
- context7*: true
17
- gh_grep*: true
18
- codesearch: true
19
- memory-read: true
20
- memory-update: false
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
- tools:
6
- bash: true
7
- edit: false
8
- write: false
9
- patch: false
10
- glob: true
11
- grep: true
12
- read: true
13
- list: true
14
- webfetch: true
15
- websearch: true
16
- task: true
17
- todowrite: true
18
- todoread: true
19
- context7*: true
20
- codesearch: true
21
- gh_grep*: true
22
- memory-read: true
23
- memory-update: true
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
- └── bd_plan() (see parallel execution plan)
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: bd_insights()
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 parallel plan: bd_plan()
482
+ └── See blocked tasks: bd_blocked()
483
483
 
484
484
  For parallel agents:
485
485
  ├── Agent 1 (backend): claim <bead>.1
@@ -348,7 +348,7 @@ bd_msg({
348
348
  });
349
349
 
350
350
  // Optionally close or re-open bead
351
- bd_update({ id: "[bead-id]", status: "open" });
351
+ bd_reopen({ id: "[bead-id]" });
352
352
  ```
353
353
 
354
354
  ---
@@ -39,12 +39,13 @@ Capture:
39
39
  - File locks
40
40
  - Pending messages
41
41
 
42
- ## Phase 3: Run Graph Analysis
42
+ ## Phase 3: Analyze Dependencies
43
+
44
+ Use `bd dep tree` to understand blocking relationships:
43
45
 
44
46
  ```typescript
45
- bd_insights({ reason: "Triage analysis" });
46
- bd_priority({ limit: 10 });
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) + PageRank + (Priority Weight × 3)
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
- PARALLEL TRACKS
190
- ━━━━━━━━━━━━━━━
191
- Track A (Frontend): bd-xyz11, bd-xyz22 [can start now]
192
- Track B (Backend): bd-xyz33, bd-xyz44 [can start now]
193
- 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
194
193
 
195
194
  AGENT WORKLOAD
196
195
  ━━━━━━━━━━━━━━