opencode-beads 0.5.2 → 0.5.4
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/README.md +8 -1
- package/package.json +1 -1
- package/vendor/agents/task-agent.md +1 -1
- package/vendor/commands/dep.md +1 -1
- package/vendor/commands/epic.md +2 -1
- package/vendor/commands/export.md +1 -1
- package/vendor/commands/import.md +1 -1
- package/vendor/commands/sync.md +1 -1
- package/vendor/commands/update.md +1 -1
- package/vendor/commands/workflow.md +2 -2
package/README.md
CHANGED
|
@@ -2,6 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
[Beads](https://github.com/steveyegge/beads) issue tracker integration for [OpenCode](https://opencode.ai).
|
|
4
4
|
|
|
5
|
+
> [!NOTE]
|
|
6
|
+
> This plugin is intentionally small in scope. The [beads](https://github.com/steveyegge/beads) project is moving quickly and is a moving target — any additional layers on top of it add churn.
|
|
7
|
+
>
|
|
8
|
+
> To minimize maintenance, this plugin defers to beads and limits its scope to bug fixes and syncing upstream vendor plugin content. Feature requests and additional customization are generally out of scope.
|
|
9
|
+
>
|
|
10
|
+
> If you want to customize behavior, the plugin surface area is small — forking or copying it locally is encouraged.
|
|
11
|
+
|
|
5
12
|
## Installation
|
|
6
13
|
|
|
7
14
|
Install the beads CLI:
|
|
@@ -26,7 +33,7 @@ Optionally, pin to a specific version for stability:
|
|
|
26
33
|
|
|
27
34
|
```json
|
|
28
35
|
{
|
|
29
|
-
"plugin": ["opencode-beads@0.5.
|
|
36
|
+
"plugin": ["opencode-beads@0.5.4"]
|
|
30
37
|
}
|
|
31
38
|
```
|
|
32
39
|
|
package/package.json
CHANGED
|
@@ -39,7 +39,7 @@ You are a task-completion agent for beads. Your goal is to find ready work and c
|
|
|
39
39
|
|
|
40
40
|
# Important Guidelines
|
|
41
41
|
|
|
42
|
-
- Always
|
|
42
|
+
- Always claim before working (MCP: set status to `in_progress`; CLI: `--claim` for atomic assignee + status) and close when done
|
|
43
43
|
- Link discovered work with `discovered-from` dependencies
|
|
44
44
|
- Don't close issues unless work is actually complete
|
|
45
45
|
- If blocked, use `update` to set status to `blocked` and explain why
|
package/vendor/commands/dep.md
CHANGED
|
@@ -71,7 +71,7 @@ The diagram colors are determined by your Mermaid theme (default, dark, forest,
|
|
|
71
71
|
|
|
72
72
|
## Examples
|
|
73
73
|
|
|
74
|
-
- `bd dep add bd-10 bd-20 --type blocks`: bd-10 blocks bd-
|
|
74
|
+
- `bd dep add bd-10 bd-20 --type blocks`: bd-10 depends on bd-20 (bd-20 blocks bd-10)
|
|
75
75
|
- `bd dep tree bd-20`: Show what blocks bd-20 (dependency tree going UP)
|
|
76
76
|
- `bd dep tree bd-1 --reverse`: Show what was discovered from bd-1 (dependent tree going DOWN)
|
|
77
77
|
- `bd dep tree bd-1 --reverse --max-depth 3`: Show discovery tree with depth limit
|
package/vendor/commands/epic.md
CHANGED
|
@@ -19,7 +19,8 @@ Manage epics (large features composed of multiple issues).
|
|
|
19
19
|
## Epic Workflow
|
|
20
20
|
|
|
21
21
|
1. Create epic: `bd create "Large Feature" -t epic -p 1`
|
|
22
|
-
2. Link subtasks: `bd dep add bd-
|
|
22
|
+
2. Link subtasks: `bd dep add bd-20 bd-10 --type parent-child` (task bd-20 is child of epic bd-10)
|
|
23
|
+
- Or at creation: `bd create "Subtask title" -t task --parent bd-10`
|
|
23
24
|
3. Track progress: `bd epic status`
|
|
24
25
|
4. Auto-close when done: `bd epic close-eligible`
|
|
25
26
|
|
|
@@ -15,7 +15,7 @@ Issues are sorted by ID for consistent diffs, making git diffs readable.
|
|
|
15
15
|
|
|
16
16
|
## Automatic Export
|
|
17
17
|
|
|
18
|
-
The
|
|
18
|
+
The Dolt server automatically exports to `.beads/issues.jsonl` after any CRUD operation (5-second debounce). Manual export is rarely needed unless you need a custom output location or filtered export.
|
|
19
19
|
|
|
20
20
|
Export is used for:
|
|
21
21
|
- Git version control
|
|
@@ -28,7 +28,7 @@ bd import -i issues.jsonl --dry-run
|
|
|
28
28
|
|
|
29
29
|
## Automatic Import
|
|
30
30
|
|
|
31
|
-
The
|
|
31
|
+
The Dolt server automatically imports from `.beads/issues.jsonl` when it's newer than the database (e.g., after `git pull`). Manual import is rarely needed.
|
|
32
32
|
|
|
33
33
|
## Options
|
|
34
34
|
|
package/vendor/commands/sync.md
CHANGED
|
@@ -51,4 +51,4 @@ The merge command includes safety checks:
|
|
|
51
51
|
|
|
52
52
|
## Note
|
|
53
53
|
|
|
54
|
-
Most users should rely on the
|
|
54
|
+
Most users should rely on the Dolt server's automatic sync (with `dolt.auto-commit` enabled) instead of running manual sync. This command is useful for one-off syncs or when not using the Dolt server.
|
|
@@ -19,6 +19,6 @@ Use the beads MCP `update` tool to apply the changes. Show the updated issue to
|
|
|
19
19
|
**Note:** Comments are managed separately with `bd comments add`. The `update` command is for singular, versioned properties (title, status, priority, etc.), while comments form a discussion thread that's appended to, not updated.
|
|
20
20
|
|
|
21
21
|
Common workflows:
|
|
22
|
-
- Start work:
|
|
22
|
+
- Start work: `bd update <id> --claim` (atomic claim + `in_progress`)
|
|
23
23
|
- Mark blocked: Update status to `blocked`
|
|
24
24
|
- Reprioritize: Update priority (0-4)
|
|
@@ -12,8 +12,8 @@ Beads is an issue tracker designed for AI-supervised coding workflows. Here's ho
|
|
|
12
12
|
Use `/beads:ready` or the `ready` MCP tool to see tasks with no blockers.
|
|
13
13
|
|
|
14
14
|
## 2. Claim Your Task
|
|
15
|
-
|
|
16
|
-
- Via command: `/beads:update <id>
|
|
15
|
+
Claim the issue atomically (assignee + `in_progress` in one step):
|
|
16
|
+
- Via command: `/beads:update <id> --claim`
|
|
17
17
|
- Via MCP tool: `update` with `status: "in_progress"`
|
|
18
18
|
|
|
19
19
|
## 3. Work on It
|