opencode-branch-memory-manager 0.1.2 → 0.1.3
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 +27 -0
- package/package.json +3 -2
package/README.md
CHANGED
|
@@ -466,6 +466,33 @@ bun run typecheck
|
|
|
466
466
|
bun test
|
|
467
467
|
```
|
|
468
468
|
|
|
469
|
+
## 🛠️ Local Development
|
|
470
|
+
|
|
471
|
+
For development, testing, and local usage, you can install directly without npm:
|
|
472
|
+
|
|
473
|
+
```bash
|
|
474
|
+
# 1. Install dependencies
|
|
475
|
+
bun install
|
|
476
|
+
|
|
477
|
+
# 2. Build
|
|
478
|
+
bun run build
|
|
479
|
+
|
|
480
|
+
# 3. The .opencode/ directory is ready to use
|
|
481
|
+
# The build creates .opencode/dist/ with all plugin files
|
|
482
|
+
```
|
|
483
|
+
|
|
484
|
+
The `.opencode/` directory structure is now ready:
|
|
485
|
+
```
|
|
486
|
+
.opencode/
|
|
487
|
+
├── dist/
|
|
488
|
+
│ └── branch-memory.js # Bundled plugin + tools
|
|
489
|
+
├── config/
|
|
490
|
+
│ └── branch-memory.json # Configuration
|
|
491
|
+
└── package.json # Dependencies
|
|
492
|
+
```
|
|
493
|
+
|
|
494
|
+
**Note:** For development, you can work directly in `src/` and run `npm run build:local` to test the `.opencode/` version.
|
|
495
|
+
|
|
469
496
|
## 📦 Publishing to npm
|
|
470
497
|
|
|
471
498
|
1. Update version in `package.json`
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "opencode-branch-memory-manager",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.3",
|
|
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",
|
|
@@ -16,7 +16,8 @@
|
|
|
16
16
|
"url": "https://github.com/Davidcreador/opencode-branch-memory-manager/issues"
|
|
17
17
|
},
|
|
18
18
|
"files": [
|
|
19
|
-
".opencode"
|
|
19
|
+
".opencode",
|
|
20
|
+
"dist"
|
|
20
21
|
],
|
|
21
22
|
"scripts": {
|
|
22
23
|
"build": "npm run build:local",
|