opencode-branch-memory-manager 0.1.0 → 0.1.2
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 +17 -11
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -32,9 +32,9 @@ bunx install @davecodes/opencode-branch-memory-manager
|
|
|
32
32
|
|
|
33
33
|
The plugin and tools will be automatically loaded when you run `opencode`. Add to your `opencode.json`:
|
|
34
34
|
|
|
35
|
-
```json
|
|
35
|
+
```json
|
|
36
36
|
{
|
|
37
|
-
"plugin": ["
|
|
37
|
+
"plugin": ["opencode-branch-memory-manager"]
|
|
38
38
|
}
|
|
39
39
|
```
|
|
40
40
|
|
|
@@ -454,15 +454,6 @@ git checkout feature/user-profile
|
|
|
454
454
|
|
|
455
455
|
## 🛠️ Development
|
|
456
456
|
|
|
457
|
-
### Build
|
|
458
|
-
|
|
459
|
-
```bash
|
|
460
|
-
bun install
|
|
461
|
-
bun run build
|
|
462
|
-
```
|
|
463
|
-
|
|
464
|
-
This compiles TypeScript files from `src/` to `dist/`.
|
|
465
|
-
|
|
466
457
|
### Type Check
|
|
467
458
|
|
|
468
459
|
```bash
|
|
@@ -477,6 +468,21 @@ bun test
|
|
|
477
468
|
|
|
478
469
|
## 📦 Publishing to npm
|
|
479
470
|
|
|
471
|
+
1. Update version in `package.json`
|
|
472
|
+
2. Build: `bun run build`
|
|
473
|
+
3. Publish: `npm publish --access public`
|
|
474
|
+
|
|
475
|
+
Make sure you're logged in to npm: `npm whoami`
|
|
476
|
+
|
|
477
|
+
## 📝 Notes
|
|
478
|
+
|
|
479
|
+
- Package name: `opencode-branch-memory-manager` (unscoped)
|
|
480
|
+
- Scoped packages (`@davidcreador/...`) may require OTP for publishing
|
|
481
|
+
- If prompted for OTP, provide the one-time password
|
|
482
|
+
- For testing purposes, unscoped name avoids OTP requirement
|
|
483
|
+
- After successful publish with unscoped name, you can switch to scoped name if needed
|
|
484
|
+
- Update README and package.json accordingly
|
|
485
|
+
|
|
480
486
|
1. Update version in `package.json`
|
|
481
487
|
2. Build: `bun run build`
|
|
482
488
|
3. Publish: `npm publish`
|
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.2",
|
|
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",
|