Closed as not planned
Closed as not planned
Copy link
Description
Feature hasn't been suggested before.
- I have verified this feature I'm about to request hasn't been suggested before.
Describe the enhancement you want to request
Feature Request
Summary
Add a /settings command to the TUI that provides an interactive interface for viewing and modifying opencode.json without manually editing JSON files.
Problem
Currently, configuring OpenCode often requires:
- Finding the correct
opencode.jsonlocation - Looking up valid configuration keys and values
- Manually editing JSON
- Restarting OpenCode to apply changes
This creates friction, especially for new users and users who frequently adjust settings.
Proposed Solution
Introduce a /settings command that opens an interactive TUI menu.
Features could include:
- Browse all supported configuration categories
- View current values
- Edit settings through prompts, toggles, selectors, and input fields
- Validate values before saving
- Display descriptions/help text for each setting
- Create
opencode.jsonautomatically if it does not exist - Preview changes before applying them
- Confirm changes before writing to disk
Example Flow
/settings
> Models
> Providers
> MCP Servers
> Permissions
> Appearance
> Advanced
Select setting → Modify value → Review changes → Confirm
Session Reload
After saving:
- Write changes to
opencode.json - Gracefully restart/reload the current OpenCode session
- Return the user to the same terminal instance
This ensures configuration changes take effect immediately without requiring users to manually exit and relaunch OpenCode.
Benefits
- Better onboarding experience
- Reduced configuration errors
- Faster discovery of available settings
- Less time spent searching documentation for valid JSON keys
- More consistent and user-friendly configuration workflow
- Immediate feedback through automatic session reload
Additional Considerations
- Generate the menu dynamically from the configuration schema to avoid duplication and keep the UI synchronized with supported settings.
- Show default values and descriptions where available.
- Warn users when a setting requires a full restart or may impact active sessions.
Reacted by AlexSilverLight and darkfibre-nl
Metadata
Metadata
Assignees
Labels
No labels
Activity
github-actions commentedon Jun 19, 2026
This issue might be a duplicate of existing issues. Please check:
Razaib-khan commentedon Jun 19, 2026
No The issue #32988 created by me isn't the duplicate of any of these issues mentioned by the github-actions bot.
github-actions commentedon Aug 19, 2026
To stay organized issues are automatically closed after 60 days of no activity. If the issue is still relevant please open a new one.