opencode-branch-memory-manager 0.1.1 → 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.
Files changed (2) hide show
  1. package/README.md +32 -2
  2. 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`
@@ -476,8 +503,11 @@ Make sure you're logged in to npm: `npm whoami`
476
503
 
477
504
  ## 📝 Notes
478
505
 
479
- - Package name: `opencode-branch-memory-manager` (unscoped for testing)
480
- - After successful publish, you can switch back to scoped name `@davidcreador/opencode-branch-memory-manager`
506
+ - Package name: `opencode-branch-memory-manager` (unscoped)
507
+ - Scoped packages (`@davidcreador/...`) may require OTP for publishing
508
+ - If prompted for OTP, provide the one-time password
509
+ - For testing purposes, unscoped name avoids OTP requirement
510
+ - After successful publish with unscoped name, you can switch to scoped name if needed
481
511
  - Update README and package.json accordingly
482
512
 
483
513
  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.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",