Skip to content

Consider renaming package to opencode-workspaces #105

@athal7

Description

@athal7

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

  1. npm rename process:

    • Publish new package opencode-workspaces
    • Deprecate old package opencode-devcontainers with message pointing to new name
    • Update README with migration instructions
  2. Environment variables:

    • Add new OCW_* prefix support
    • Keep backward compatibility for OCDC_* prefix
    • Auto-migrate config/cache paths from old locations
  3. Config paths:

    • New: ~/.config/opencode/workspaces/config.json
    • Old: ~/.config/opencode/devcontainers/config.json
    • Auto-migrate on first run
  4. Breaking change:

    • Users must update their opencode.json to use the new package name
    • This warrants a minor version bump in 0.x (0.3.0)

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

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions