opencode-pilot 0.2.2 → 0.3.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.
@@ -24,7 +24,7 @@ tools:
24
24
  # SOURCES - What to poll (generic MCP tool references)
25
25
  # =============================================================================
26
26
  sources:
27
- # GitHub issues assigned to me - work in devcontainer
27
+ # GitHub issues assigned to me
28
28
  - name: my-issues
29
29
  tool:
30
30
  mcp: github
@@ -33,7 +33,7 @@ sources:
33
33
  q: "is:issue assignee:@me state:open"
34
34
  item:
35
35
  id: "{html_url}"
36
- prompt: devcontainer
36
+ prompt: worktree
37
37
  agent: plan
38
38
 
39
39
  # GitHub PRs needing review
@@ -48,7 +48,7 @@ sources:
48
48
  prompt: review
49
49
  agent: plan
50
50
 
51
- # Linear issues - work in devcontainer
51
+ # Linear issues
52
52
  # NOTE: Replace teamId and assigneeId with your actual Linear UUIDs
53
53
  # Find these via: linear_list_teams and check user IDs in team members
54
54
  - name: linear-work
@@ -62,5 +62,5 @@ sources:
62
62
  item:
63
63
  id: "linear:{id}"
64
64
  working_dir: ~/code/myproject
65
- prompt: devcontainer
65
+ prompt: worktree
66
66
  agent: plan
@@ -0,0 +1,12 @@
1
+ Work on this issue:
2
+
3
+ {title}
4
+
5
+ {body}
6
+
7
+ First, create a git worktree for this work:
8
+ 1. Create branch `issue-{number}` if it doesn't exist
9
+ 2. Create a worktree at `../$(basename $PWD)-issue-{number}`
10
+ 3. Switch to that worktree directory
11
+
12
+ Follow TDD: write failing tests first, then implement. Create a PR when complete.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "opencode-pilot",
3
- "version": "0.2.2",
3
+ "version": "0.3.0",
4
4
  "type": "module",
5
5
  "main": "plugin/index.js",
6
6
  "description": "Automation daemon for OpenCode - polls for work and spawns sessions",
@@ -1,7 +0,0 @@
1
- Start a devcontainer for branch issue-{number} and work on this issue:
2
-
3
- {title}
4
-
5
- {body}
6
-
7
- Follow TDD: write failing tests first, then implement. Create a PR when complete.