opencode-branch-memory-manager 0.1.4 → 0.1.5

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.
@@ -13,7 +13,7 @@
13
13
  "name": "branch-memory-manager",
14
14
  "source": ".",
15
15
  "description": "Automatically manages branch-specific context with auto-save and auto-load. Never lose your development context when switching git branches.",
16
- "version": "0.1.3",
16
+ "version": "0.1.5",
17
17
  "author": {
18
18
  "name": "Davidcreador"
19
19
  },
package/README.md CHANGED
@@ -30,14 +30,17 @@ Add the plugin to your `opencode.json`:
30
30
  }
31
31
  ```
32
32
 
33
- OpenCode will automatically install the package from npm when you run `opencode`.
33
+ OpenCode will automatically install and load the package from npm when you run `opencode`.
34
34
 
35
- **Manual installation:**
35
+ **Alternative - Manual installation:**
36
36
  ```bash
37
- bunx install opencode-branch-memory-manager
37
+ # Install the package manually
38
+ npm install opencode-branch-memory-manager
39
+ # or
40
+ bun install opencode-branch-memory-manager
38
41
  ```
39
42
 
40
- **Note:** This will add the plugin without removing any existing plugins you have.
43
+ Then add it to your `opencode.json` as shown above.
41
44
 
42
45
  #### Method 2: Direct Git Clone (For Development/Testing)
43
46
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "opencode-branch-memory-manager",
3
- "version": "0.1.4",
3
+ "version": "0.1.5",
4
4
  "description": "Automatically manages branch-specific context for OpenCode with auto-save, auto-load, and git workflow integration",
5
5
  "author": "Davidcreador",
6
6
  "license": "MIT",
@@ -22,13 +22,15 @@
22
22
  "scripts": {
23
23
  "build": "npm run build:local",
24
24
  "build:npm": "cd src && bun install --no-lockfile && bun build index.ts --outdir ../dist --target node",
25
- "build:local": "bun build .opencode/tool/branch-memory.ts --outdir .opencode/dist --target node",
25
+ "build:plugin": "bun build .opencode/plugin/branch-memory-plugin.ts --outdir .opencode/dist --target node --format esm",
26
+ "build:tools": "bun build .opencode/tool/branch-memory.ts --outdir .opencode/dist --target node --format esm",
27
+ "build:local": "npm run build:plugin && npm run build:tools",
26
28
  "typecheck": "tsc --noEmit --project tsconfig.typecheck.json --skipLibCheck",
27
29
  "test": "bun test",
28
30
  "test:coverage": "bun test --coverage",
29
31
  "lint": "eslint src tests --ext .ts",
30
32
  "lint:fix": "eslint src tests --ext .ts --fix",
31
- "clean": "rm -rf dist node_modules src/node_modules",
33
+ "clean": "rm -rf dist node_modules src/node_modules .opencode/dist",
32
34
  "prepublishOnly": "npm run clean && npm run build"
33
35
  },
34
36
  "keywords": [
@@ -42,7 +44,7 @@
42
44
  ],
43
45
  "opencode": {
44
46
  "type": "plugin",
45
- "entrypoint": ".opencode/plugin/branch-memory-plugin.ts",
47
+ "entrypoint": ".opencode/dist/branch-memory-plugin.js",
46
48
  "tools": [
47
49
  "@branch-memory_save",
48
50
  "@branch-memory_load",