IO

icysaintdx/opencode-config-manager

Developer tools
393ย stars Quality 41 Trend 41

๐ŸŽจ Visual GUI Tool for Managing OpenCode and Oh My OpenCode Configuration Files

Overview

๐ŸŽจ Visual GUI Tool for Managing OpenCode and Oh My OpenCode Configuration Files

README

OpenCode Config Manager

๐ŸŽจ Visual GUI Tool for Managing OpenCode and Oh My OpenCode Configuration Files

Highlights โ€ข Features โ€ข Installation โ€ข Configuration โ€ข Version History

English | ็ฎ€ไฝ“ไธญๆ–‡


โœจ Highlights

Say goodbye to manual JSON editing - Configure your AI coding assistant with one click!

  • ๐ŸŽจ Fluent Design Style - Microsoft design language, modern card layout, automatic dark/light theme switching
  • ๐Ÿš€ Zero Learning Curve - Visual operations, no need to memorize JSON structure, easy for beginners
  • ๐Ÿ”ง All-in-One Management - Provider, Model, MCP, Agent, Permissions - all in one place
  • ๐Ÿ›ก๏ธ Smart Configuration Validation - Auto-detect configuration issues on startup, one-click format error fixes
  • ๐Ÿ“ฆ Cross-Platform Support - Native support for Windows / macOS / Linux
  • ๐Ÿ”„ External Import - One-click import from Claude Code, Codex, Gemini, and more

๐ŸŽฏ v1.8.0 Latest Version

๐Ÿ†• OCCM Web Edition

  • Full Web Interface โ€” 17 pages, NiceGUI-based, browser access with glassmorphism CSS design system
  • Custom Config Path โ€” --config-dir CLI arg / OPENCODE_CONFIG_DIR env var / auto-open browser
  • Cross-Platform Builds โ€” Windows exe / macOS zip / Linux tar.gz, unified release with desktop

๐Ÿ› Key Fixes

  • Provider Save Crash Fix (Issue #1) โ€” hasattr guard for _on_models_fetched
  • Web Scroll Jank Fix โ€” Removed blur/smooth-scroll, simplified transitions

๐ŸŽจ Improvements

  • Provider + Model merged into collapsible page
  • Permission/Category/Rules inline editing
  • Sidebar grouped navigation with icons

๐ŸŽฏ v1.7.0 Version Recap

๐Ÿ†• New Features

Provider Configuration Standardization โญโญโญ

  • Complete Plugin Management:
    • Install plugins from GitHub URL
    • One-click uninstall installed plugins
    • Browse and search plugin marketplace
    • View plugin details, version, and author
  • Technical Implementation:
    • GitHub API integration for plugin information
    • JSON-based plugin metadata management
    • Fuzzy search for plugin name, description, and author

Config File Viewer โญโญ

  • Visual Config Viewer:
    • JSON syntax highlighting
    • Dark theme adaptation
    • Cross-line bracket highlighting
    • Bracket matching hints
    • One-click edit config files
  • Location: Home page โ†’ Config file viewer area

Auto-Detect Native Providers โญ

  • Environment Variable Detection:
    • Auto-detect 12 official providers (Anthropic, OpenAI, Google, Azure, etc.)
    • One-click detection via โ€œDetect Configuredโ€ button
    • Display detection results in table format
  • Location: Native Provider page โ†’ โ€œDetect Configuredโ€ button

๐Ÿ› Bug Fixes

  • Translation Issues - Fixed hard-coded English text in Chinese mode
    • Added missing translation keys (common.sdk, common.provider, etc.)
    • Replaced all hard-coded text with tr() function calls
  • Plugin Page Startup Errors - Fixed missing QTableWidget and SearchLineEdit imports
  • macOS Crash Issue - Fixed navigation bar expand timing issue
  • Mac Install Script - Support multiple directory structures
  • Config Detection - Added @ai-sdk/openai-compatible to valid npm package list
  • Skill Marketplace Issues - Fixed 4 issues (selection logic, install display, etc.)
  • Zhipu GLM Config - Removed non-standard modelListUrl field

๐ŸŽจ UI Improvements

  • Oh My OpenCode Interface - Use Pivot tabs to switch between Agent and Category
  • Navigation Menu Simplification - Merged related function pages, reduced menu items
  • Config Viewer Optimization - Dark theme, cross-line bracket highlighting, bracket matching

๐Ÿ“ v1.5.0 Feature Recap

Complete Multi-Language Support โญโญโญ

  • Bilingual Support:
    • Simplified Chinese (zh_CN)
    • English (en_US)
    • Auto-detect system language
    • Dynamic Language Switching: Switch instantly without restart

Chinese AI Platform Support โญ

  • 5 New Chinese Platforms:
    • Zhipu GLM (glm-4-plus, glm-4-flash, etc.)
    • Qwen (qwen-max, qwen-turbo, etc.)
    • Kimi (Moonshot) (moonshot-v1-8k, moonshot-v1-32k, etc.)
    • Yi (01.AI) (yi-lightning, yi-large, etc.)
    • MiniMax (abab6.5s-chat, abab6.5g-chat, etc.)

๐Ÿ“ v1.4.0 Feature Recap

Skill Marketplace โญ

  • Built-in Skill Marketplace:
    • 12 curated Skills (Dev Tools, Code Quality, Testing, Documentation, Security, API, Database)
    • Browse by category + search functionality
    • One-click installation to specified location

Security Scanning โญ

  • Code Security Scanning:
    • Detects 9 types of dangerous code patterns
    • Security scoring system (0-100 points)
    • Risk level visualization (Safe/Low/Medium/High/Critical)
    • Detailed issue list (line number, risk level, description, code)

๐Ÿ“ v1.3.0 Feature Recap

Skills Installation & Update โญ

  • Install Skills from GitHub:

    • Support GitHub shorthand: user/repo (e.g., vercel-labs/git-release)
    • Support full URL: https://github.com/user/repo
    • Auto download, extract, parse SKILL.md
    • Install to 4 locations: OpenCode global/project, Claude global/project
  • Import Skills from Local:

    • Support local path import: ./my-skill or /path/to/skill
    • Auto validate SKILL.md format
  • Update Detection & Batch Update:

    • One-click check updates for all installed Skills
    • Compare commit hash via GitHub API
    • Table display update status (Has Update/Latest/Local)
    • Support selective batch update
  • Metadata Management:

    • Auto generate .skill-meta.json to record installation info
    • Record source, version, installation time, etc.

๐Ÿ“ v1.2.0 Feature Recap

๐Ÿ†• New Features

  • Oh My MCP Management - New โ€œOh My MCPโ€ button in MCP Server page, visually manage 3 built-in MCP servers (websearch, context7, grep_app) from Oh My OpenCode, support enable/disable operations, config auto-saved to oh-my-opencode.json

๐Ÿ“ v1.1.9 Feature Recap

๐Ÿ› Bug Fixes

  • Fixed MCP config non-compliance causing OpenCode startup failure - When adding MCP via software, OpenCode startup error Invalid input mcp.@modelcontextprotocol/server-sequential-thinking. Now fixed:
    • MCP key name standardization: Use simplified key names (e.g., sequential-thinking) instead of npm package names with special characters
    • Remove non-standard fields: description, tags, homepage, docs no longer written to config file, only used for UI display
    • Fully compliant with OpenCode official MCP config specification

๐Ÿ“ v1.1.8 Feature Recap

๐Ÿ› Bug Fixes

  • Fixed startup crash due to abnormal config file format - When permission, mcp, agent fields are non-dict types in config file, program startup error AttributeError: 'str' object has no attribute 'items', now added type checking to ensure program robustness

๐Ÿ“ v1.1.7 Feature Recap

๐Ÿ†• CLI Tool Export

  • Claude Code Multi-Model Config - Support 4 model fields (main model, Haiku, Sonnet, Opus)
  • Codex/Gemini Dual-File Preview - Dual-file tab preview (auth.json + config.toml / .env + settings.json)
  • Base URL Temporary Modification - Can temporarily modify for export without affecting original config
  • Custom Model Input - Support manual input of custom model names
  • Syntax Highlighting & Formatting - JSON/TOML/ENV format syntax highlighting + format button
  • Common Config Feature - Write common config checkbox + edit common config dialog

๐ŸŽจ UI Improvements

  • Navigation Menu Font Bold - Improve menu readability and visual hierarchy
  • CLI Export Page Tab Layout - Adopt main tab design for clearer intuition
  • Monitor Page Start/Stop Toggle - Default not started, need manual start button click

๐Ÿ› Bug Fixes

  • Model empty handling optimization
  • External import feature fixes

๐ŸŽจ Features

Provider Management

  • โœ… Add/Edit/Delete custom API providers
  • โœ… Support multiple SDKs: @ai-sdk/anthropic, @ai-sdk/openai, @ai-sdk/google, @ai-sdk/azure
  • โœ… API key secure show/hide
  • โœ… SDK compatibility smart hints

Model Management

  • โœ… Preset Common Models Quick Select - Claude, GPT-5, Gemini series one-click add
  • โœ… Complete Preset Config - Select preset model auto-fill options and variants
  • โœ… Thinking Mode Support:
    • Claude: thinking.type, thinking.budgetTokens
    • OpenAI: reasoningEffort (high/medium/low/xhigh)
    • Gemini: thinkingConfig.thinkingBudget

MCP Server Management

  • โœ… Local Type - Configure startup command and environment variables
  • โœ… Remote Type - Configure server URL and request headers
  • โœ… Support enable/disable, timeout settings
  • โœ… Preset common MCP servers (Context7, Sentry, etc.)

OpenCode Agent Configuration

  • โœ… Mode Settings - primary / subagent / all
  • โœ… Parameter Config - temperature, maxSteps, hidden, disable
  • โœ… Tool Permissions - Configure available tools for Agent
  • โœ… Preset Templates - build, plan, explore, code-reviewer, etc.

Oh My OpenCode Support

  • โœ… Agent Management - Bind Provider/Model
  • โœ… Category Management - Temperature slider adjustment
  • โœ… Preset Templates - oracle, librarian, explore, etc.

Smart Features

  • โœ… Config Validator - Auto-detect format issues on startup
  • โœ… Auto Fix - One-click fix missing fields and format errors
  • โœ… JSONC Support - Perfect compatibility with commented config files
  • โœ… External Import - Support Claude Code, Codex, Gemini, cc-switch
  • โœ… Backup & Restore - Multi-version backup management, one-click restore

Other Features

  • โœ… GitHub Version Check - Auto-detect latest version
  • โœ… Dark/Light Theme - Auto-switch following system
  • โœ… Global Tooltip - Mouse hover shows parameter descriptions
  • โœ… Unified Save Logic - Save changes directly write to file

๐Ÿ“ฆ Installation

Download the executable file for your platform from Releases:

Platform File Description
Windows OpenCodeConfigManager_windows.exe Single file version, double-click to run
macOS OpenCode-Config-Manager-MacOS.dmg DMG image, drag to Applications
Linux OpenCode-Config-Manager-Linux-x64.tar.gz Extract and run

Method 2: Run from Source

# Clone repository
git clone https://github.com/icysaintdx/OpenCode-Config-Manager.git
cd OpenCode-Config-Manager

# Install dependencies
pip install PyQt5 PyQt-Fluent-Widgets

# Run
python opencode_config_manager_fluent.py

System Requirements: Python 3.8+


โš™๏ธ Configuration

Config File Locations

Config File Path
OpenCode ~/.config/opencode/opencode.json
Oh My OpenCode ~/.config/opencode/oh-my-opencode.json
Backup Directory ~/.config/opencode/backups/

Config Priority (High to Low)

  1. Remote Config - Retrieved via .well-known/opencode
  2. Global Config - ~/.config/opencode/opencode.json
  3. Custom Config - Specified by OPENCODE_CONFIG environment variable
  4. Project Config - /opencode.json
  5. .opencode Directory - /.opencode/config.json

Options vs Variants

According to OpenCode Official Documentation:

  • options: Default config parameters for the model, used in every call
  • variants: Switchable variant configs, toggle via variant_cycle shortcut
{
  "provider": {
    "anthropic": {
      "models": {
        "claude-sonnet-4-5-20250929": {
          "options": {
            "thinking": {"type": "enabled", "budgetTokens": 16000}
          },
          "variants": {
            "high": {"thinking": {"type": "enabled", "budgetTokens": 32000}},
            "max": {"thinking": {"type": "enabled", "budgetTokens": 64000}}
          }
        }
      }
    }
  }
}

๐Ÿ“‹ Version History

Latest Release

v1.8.0 - 2026-02-17

  • ๐ŸŒ OCCM Web Edition - Full 17-page web interface with NiceGUI, glassmorphism CSS, cross-platform builds
  • ๐Ÿ› Issue Fixes - Provider save crash (#1), web scroll jank, multiple web page fixes
  • ๐Ÿ“ฆ Unified CI - Desktop + Web 6-platform artifacts in single GitHub Release

v1.7.2 - 2026-02-08

  • ๐Ÿ› Crash Fixes - Fixed full-config apply crash, GLM balance-query crash, and improved global exception handling
  • ๐Ÿ“ฆ Packaging Fixes - Added hidden imports to resolve Skill marketplace requests install errors in packaged builds
  • ๐Ÿงญ UX Improvements - MCP dialog now supports better vertical resize/collapse behavior and theme preference persistence

v1.7.1 - 2026-01-28

  • ๐ŸŽฏ Agent Group Management System - Create and manage agent groups, 6 preset templates
  • ๐ŸŽจ Pivot Tab UI - Switch between OpenCode/OMO agents
  • ๐Ÿ”ข Agent Count Display - Show selected/total count, tooltip with details
  • ๐Ÿ› Bug Fixes - Dialog layout optimization, OMO description display fix

v1.7.0 - 2026-01-28

  • ๐Ÿ”ง Provider Configuration Standardization - auth.json format fix, Provider naming fix
  • ๐Ÿ†• Z.AI Provider Support - Added zai and zai-coding-plan providers
  • ๐Ÿ“ Technical Documentation - Added 5 Provider configuration technical documents

v1.6.0 - 2026-01-27

  • ๐Ÿ”Œ Plugin Management System - Complete plugin install/uninstall/marketplace functionality
  • ๐Ÿ“„ Config File Viewer - JSON syntax highlighting, dark theme, bracket matching
  • ๐Ÿ” Auto-Detect Native Providers - Environment variable detection for 12 official providers
  • ๐Ÿ› Bug Fixes - Fixed translation issues, Plugin page startup errors, macOS crash
  • ๐ŸŽจ UI Improvements - Pivot tabs for Oh My OpenCode, navigation menu simplification

v1.5.0 - 2026-01-24

  • ๐ŸŒ Multi-Language Support - Simplified Chinese + English, dynamic switching without restart
  • ๐Ÿ‡จ๐Ÿ‡ณ Chinese AI Platforms - Support Zhipu GLM, Qwen, Kimi, Yi, MiniMax
  • ๐Ÿ› Bug Fixes - Fixed Win10 startup error, language switch page misalignment
  • ๐ŸŽจ UI Improvements - Navigation bar width 200px, menu expanded by default

v1.4.0 - 2026-01-20

  • โญ Skill Marketplace - Built-in 12 curated Skills, browse by category + search
  • ๐Ÿ›ก๏ธ Security Scanning - Detect 9 dangerous code patterns, security scoring system
  • ๐ŸŽจ UI Improvements - New marketplace button and security scan button

v1.3.0 - 2026-01-20

  • ๐Ÿ“ฆ Skills Installation - Support install Skills from GitHub and local
  • ๐Ÿ”„ Skills Update - One-click check updates, batch update support
  • ๐Ÿ“ Metadata Management - Auto-generate .skill-meta.json to record installation info

v1.2.0 - 2026-01-20

  • ๐Ÿ”ง Oh My MCP Management - Visually manage 3 built-in MCP servers from Oh My OpenCode

v1.1.9 - 2026-01-20

  • ๐Ÿ› Fixed MCP config non-compliance causing OpenCode startup failure

v1.1.8 - 2026-01-20

  • ๐Ÿ› Fixed startup crash due to abnormal config file format

v1.1.7 - 2026-01-20

  • ๐Ÿ†• CLI Tool Export - Claude Code, Codex, Gemini config export
  • ๐ŸŽจ UI Optimization - Navigation menu font bold, CLI export page tab layout

v1.1.6 - 2026-01-19

  • ๐Ÿ†• Native Provider Support - Manage 12 OpenCode official AI service providers
  • ๐Ÿ” AuthManager - Independent auth.json file management

v1.0.0 - 2026-01-14

  • ๐ŸŽจ Fluent Design Complete Refactor - Migrated from ttkbootstrap to PyQt5 + QFluentWidgets
  • ๐ŸŒ“ Dark/Light Theme - Auto-switch following system

View Full Changelog โ†’ | ๆŸฅ็œ‹ไธญๆ–‡ๆ›ดๆ–ฐๆ—ฅๅฟ— โ†’




๐Ÿ“„ License

MIT License


๐Ÿค Contributing

Issues and Pull Requests are welcome!

  1. Fork this repository
  2. Create feature branch (git checkout -b feature/AmazingFeature)
  3. Commit changes (git commit -m 'Add some AmazingFeature')
  4. Push to branch (git push origin feature/AmazingFeature)
  5. Submit Pull Request

Made with โค๏ธ by IcySaint

View this README on GitHub

Recommended Tools

Try a different keyword or remove a filter.

Install

npx skillfish add icysaintdx/opencode-config-manager