Skip to content

feat: use @latest for plugin config and add Oh My OpenCode integration#4

Merged
nexxeln merged 3 commits intosupermemoryai:mainfrom
ShivamB25:main
Dec 31, 2025
Merged

feat: use @latest for plugin config and add Oh My OpenCode integration#4
nexxeln merged 3 commits intosupermemoryai:mainfrom
ShivamB25:main

Conversation

@ShivamB25
Copy link
Copy Markdown
Contributor

@ShivamB25 ShivamB25 commented Dec 31, 2025

Changes

1. Fix bun caching issue

  • Changed plugin name from opencode-supermemory to opencode-supermemory@latest in config.json
  • Ensures bun always fetches the latest version instead of using cached versions

2. Oh My OpenCode integration

  • Detect if Oh My OpenCode plugin is installed
  • Offer to disable anthropic-auto-compact hook so Supermemory handles context compaction
  • TUI mode: prompts user for confirmation
  • Non-interactive mode: requires explicit --disable-auto-compact flag

3. Updated help and examples

  • Updated examples to use @latest tag consistently
  • Added documentation for new --disable-auto-compact flag

Usage

# Interactive mode
bunx opencode-supermemory@latest install

# Non-interactive mode (for agents)
bunx opencode-supermemory@latest install --no-tui

# Non-interactive with Oh My OpenCode hook disabled
bunx opencode-supermemory@latest install --no-tui --disable-auto-compact

ShivamB25 and others added 2 commits December 31, 2025 12:56
bunx opencode-supermemory@latest setup
Note: 'setup' is deprecated. Use 'install' instead.

happens. bun uses cache instead always if u don't make it @latest. same can be said for the plugin. version locking is bad here incase frequent update. suggestion to update the plugin to always have @latest in config.json too.
This ensures the plugin always fetches the latest version instead of using
cached versions, which is important for frequently updated packages.

Co-authored-by: factory-droid[bot] <138933559+factory-droid[bot]@users.noreply.github.com>
Comment thread src/cli.ts
- Detect Oh My OpenCode plugin in user's config
- Add option to disable anthropic-auto-compact hook for Supermemory compatibility
- In TUI mode: prompt user for confirmation
- In --no-tui mode: require explicit --disable-auto-compact flag
- Update help text and examples to use @latest tag

Co-authored-by: factory-droid[bot] <138933559+factory-droid[bot]@users.noreply.github.com>
@ShivamB25 ShivamB25 changed the title Update installation command to use latest version feat: use @latest for plugin config and add Oh My OpenCode integration Dec 31, 2025
@nexxeln nexxeln merged commit 87b091f into supermemoryai:main Dec 31, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants