Repository navigation
Description
Description
Add a "Settings" (gear icon) button to the top navigation bar of the VS Code extension GUI, alongside the existing "+" (New Chat) and History buttons. This button should open a GUI settings panel that exposes the configuration options currently only available in the CLI's /settings menu.
Use Case
Currently, to configure the Nanocoder engine - such as managing LLM providers and API keys, configuring tool approval policies, adding MCP servers, or toggling reasoning traces—users must either use the terminal CLI (nanocoder -> /settings) or manually edit the JSON configuration files.
Bringing the robust CLI Settings menu into the GUI ensures a cohesive, frictionless experience for users who prefer to operate exclusively within VS Code without jumping back to a terminal.
Proposed Solution
- Add a gear icon to the top right of the Webview interface.
- Clicking the icon opens a modal or replaces the chat view with a Settings dashboard.
- The dashboard should replicate the core functionality of
source/app/components/settings-tabs.tsxfrom the CLI, including:- Providers: Add/edit API keys and models (OpenAI, Anthropic, Ollama, etc.)
- MCP Servers: Add/remove context servers
- Tool Approval Policies: Configure auto-approve vs. ask
- General Preferences: Default mode, Reasoning traces, Auto-compact
- Updates made in this GUI panel should be sent back to the core engine to seamlessly save into the
agents.config.json.
Alternatives Considered
- Using native VS Code Settings (
settings.json): While this works for standard extension settings, a unified custom UI that talks directly to the Nanocoder core engine allows us to reuse the comprehensive layout already built for the CLI's settings and instantly sync withagents.config.jsonwithout fighting VS Code's flat configuration schema.
Additional Context
- I have searched existing issues to ensure this is not a duplicate
- This feature aligns with the project's goals (local-first AI assistance)
Activity