opencode-gitbutler 0.1.3 → 0.1.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.
Files changed (2) hide show
  1. package/README.md +13 -21
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -13,7 +13,7 @@ This plugin bridges the gap by bringing GitButler's virtual branch power directl
13
13
  ### What This Plugin Does Differently
14
14
 
15
15
  - Only tool that combines automatic branch creation, LLM commits, file assignment, and context injection.
16
- - Zero-config setup. Just run `bun add` and add it to your plugins.
16
+ - Zero-config setup. Just add it to your plugins and go.
17
17
  - Works with GitButler virtual branches to avoid worktree overhead.
18
18
  - Impersonates Cursor for full GitButler CLI compatibility.
19
19
  - Unique multi-agent session mapping.
@@ -21,37 +21,29 @@ This plugin bridges the gap by bringing GitButler's virtual branch power directl
21
21
 
22
22
  ## Installation
23
23
 
24
- Install the package from npm:
24
+ ### 1. Add plugin to OpenCode config
25
25
 
26
- ```bash
27
- bun add opencode-gitbutler
28
- ```
29
-
30
- Or add it to your plugins array in `.opencode/config.json`:
26
+ Add to your `opencode.json` (global or project-level):
31
27
 
32
28
  ```json
33
29
  {
34
- "plugins": ["opencode-gitbutler"]
30
+ "plugin": [
31
+ "opencode-gitbutler@latest"
32
+ ]
35
33
  }
36
34
  ```
37
35
 
38
- ## Prerequisites
36
+ OpenCode will install the plugin automatically on next launch.
39
37
 
40
- - **GitButler CLI** (`but`) — [Install via Homebrew](https://docs.gitbutler.com/installation)
41
- - **OpenCode** — v1.1.0 or later
42
- - **Bun** — v1.0.0 or later (plugin runtime)
38
+ ### 2. Install GitButler CLI
43
39
 
44
- The postinstall script checks for the GitButler CLI and warns if missing (install never fails).
45
-
46
- ## Quick Start
40
+ ```bash
41
+ brew install gitbutler
42
+ ```
47
43
 
48
- Add to your OpenCode config (`.opencode/config.json`):
44
+ See [GitButler installation docs](https://docs.gitbutler.com/installation) for other methods.
49
45
 
50
- ```json
51
- {
52
- "plugins": ["opencode-gitbutler"]
53
- }
54
- ```
46
+ ### 3. Restart OpenCode
55
47
 
56
48
  The plugin automatically:
57
49
  - Creates and renames branches based on your prompts
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "opencode-gitbutler",
3
- "version": "0.1.3",
3
+ "version": "0.1.4",
4
4
  "type": "module",
5
5
  "description": "OpenCode plugin for GitButler integration",
6
6
  "main": "dist/index.js",