-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
Context
The plugin now supports both devcontainers and git worktrees for branch isolation. The name opencode-devcontainers no longer accurately reflects the full scope of functionality.
Proposal
Rename the npm package from opencode-devcontainers to opencode-workspaces.
Implementation Considerations
-
npm rename process:
- Publish new package
opencode-workspaces - Deprecate old package
opencode-devcontainerswith message pointing to new name - Update README with migration instructions
- Publish new package
-
Environment variables:
- Add new
OCW_*prefix support - Keep backward compatibility for
OCDC_*prefix - Auto-migrate config/cache paths from old locations
- Add new
-
Config paths:
- New:
~/.config/opencode/workspaces/config.json - Old:
~/.config/opencode/devcontainers/config.json - Auto-migrate on first run
- New:
-
Breaking change:
- Users must update their
opencode.jsonto use the new package name - This warrants a minor version bump in 0.x (0.3.0)
- Users must update their
Questions
- Is the rename worth the disruption for existing users?
- Should we wait until more features justify the rename?
- Alternative names considered:
opencode-branches,opencode-isolation
Decision
Leave this issue open for discussion. Close with either:
- Implementation PR if we proceed
- "wontfix" if we decide the current name is fine
Metadata
Metadata
Assignees
Labels
No labels