Skip to content

v3.7.0.dev0 - OpenCode Integration

Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 21 Jan 04:49
· 72 commits to main since this release

Development Release

This is a development/preview release for testing the new OpenCode integration features.

Install

pip install --force-reinstall git+https://github.com/roboticforce/sugar.git@v3.7.0.dev0

Or with pipx for the OpenCode extra:

pipx install 'sugarai[opencode] @ git+https://github.com/roboticforce/sugar.git@v3.7.0.dev0'

What's New

OpenCode Integration Enhancements

  • One-command setup: sugar opencode setup auto-configures OpenCode with Sugar MCP servers

    • Auto-detects OpenCode config location
    • Supports --dry-run, --yes, --no-memory, --no-tasks flags
    • Handles JSON and JSONC config files
  • Memory slash commands: New commands for persistent memory in OpenCode

    • /sugar-remember - Store decisions, preferences, error patterns
    • /sugar-recall - Search memory for relevant context
    • /sugar-context - Load full project context at session start
  • Improved error messages: Connection failures now show helpful messages instead of misleading "health check failed"

Bug Fixes

  • Fixed JSONC parser incorrectly treating URLs with :// as comments
  • Fixed silent connection error handling in OpenCode client

Testing

  • Added 16 new tests for OpenCode setup command and client error handling

Full Changelog: v3.6.0...v3.7.0.dev0