Skip to content

Releases: huchi996/oh-my-opencode-toggle

Release v1.0.2: Cross-platform support with global commands

26 Jan 18:26

Choose a tag to compare

Major Changes

Cross-Platform Support

  • Added macOS/Linux installation and uninstallation scripts
  • Updated tool to automatically detect platform (Windows/macOS/Linux)
  • Platform-independent configuration path detection
  • All script files are executable on Unix-like systems

Global Command Support

  • Windows: Automatic PATH configuration for global 'omo' command
  • macOS/Linux: Symbolic link creation in /usr/local/bin
  • Commands can be used from any directory after installation

Project Structure Refactoring

  • Created src/ directory for source code
  • Created scripts/ directory for all installation/uninstallation scripts
  • Clean separation of concerns
  • Removed redundant wrapper scripts from root directory

Other Improvements

  • Removed config.example.json (tool auto-detects config file)
  • Updated CI workflow to use new project structure
  • Improved regex-based plugin status detection
  • Enhanced error messages and user feedback

Files Added

  • scripts/install.sh - macOS/Linux installer
  • scripts/uninstall.sh - macOS/Linux uninstaller
  • scripts/omo.sh - macOS/Linux wrapper
  • AGENTS.md - Development guidelines

Files Removed

  • config.example.json - No longer needed
  • Root-level .bat/.sh shortcuts - Redundant

Testing

  • Verified on Windows with Node.js v24.13.0
  • All commands tested: on, off, enable, disable, status
  • Configuration file modification verified