Conversation
Agent-Logs-Url: https://github.com/codomium/FreeCode/sessions/8072f19d-aa04-4bb8-ac06-e402de917903 Co-authored-by: codomium <255525663+codomium@users.noreply.github.com>
Agent-Logs-Url: https://github.com/codomium/FreeCode/sessions/8072f19d-aa04-4bb8-ac06-e402de917903 Co-authored-by: codomium <255525663+codomium@users.noreply.github.com>
…, MCP marketplace Agent-Logs-Url: https://github.com/codomium/FreeCode/sessions/8aa8656d-2df8-4564-80f3-4db5a1ffed9f Co-authored-by: codomium <255525663+codomium@users.noreply.github.com>
Agent-Logs-Url: https://github.com/codomium/FreeCode/sessions/8aa8656d-2df8-4564-80f3-4db5a1ffed9f Co-authored-by: codomium <255525663+codomium@users.noreply.github.com>
…ace warning Agent-Logs-Url: https://github.com/codomium/FreeCode/sessions/8aa8656d-2df8-4564-80f3-4db5a1ffed9f Co-authored-by: codomium <255525663+codomium@users.noreply.github.com>
…or inject, CLAUDE.md offer Agent-Logs-Url: https://github.com/codomium/FreeCode/sessions/d0d2cae7-7283-4d47-977b-c3e390aed2d3 Co-authored-by: codomium <255525663+codomium@users.noreply.github.com>
…d comment Agent-Logs-Url: https://github.com/codomium/FreeCode/sessions/d0d2cae7-7283-4d47-977b-c3e390aed2d3 Co-authored-by: codomium <255525663+codomium@users.noreply.github.com>
…oast, tool-error, CLAUDE.md) Agent-Logs-Url: https://github.com/codomium/FreeCode/sessions/e3eff261-6842-4968-b991-d0612edfcc20 Co-authored-by: codomium <255525663+codomium@users.noreply.github.com>
|
@copilot resolve the merge conflicts in this pull request |
|
@copilot resolve the merge conflicts in this pull request |
…ll-default-shell # Conflicts: # electron-app/main.js # electron-app/package.json # electron-app/renderer/chat.js Co-authored-by: codomium <255525663+codomium@users.noreply.github.com>
Merge conflicts resolved in commit |
The merge conflicts were already resolved in commit |
README.md: rename to freeCode, add vibe-coder tagline, add v2.4 feature section (voice input, file-watcher toast, tool-error inject, CLAUDE.md offer), fix Quick Start stale vsix/command-palette references, fix in-prose "FreeCode" → "freeCode"electron-app/README.md: rename to freeCode with vibe-coder subtitle, add v2.4 feature section, fix data storage path (%APPDATA%\freeCode\), fix installer filenames (freeCode Setup 1.0.0.exe,freeCode-1.0.0-portable.exe)origin/main— merged multi-agent settings, provider management (validateProvider), and system-prompt preset alongside ourdefaultShell, MCP marketplace, voice input, and CLAUDE.md featuresOriginal prompt
Problem
The current shell detection in both
electron-app/main.jsandvscode-extension/extension.jswastes tokens and time by:spawnSync('wsl.exe', ['--status'])andspawnSync('wsl.exe', ['-d', 'Ubuntu', ...])as detection probes on every cold start — these are slow and burn tokens when the agent retries shell commands.grep,cat,find, etc.) are injected as a string prefix on every single command, which is extremely verbose and wasteful.Goal
Make PowerShell the default and first-tried shell on Windows. Stop burning tokens on incompatible retries. Let users configure their preferred shell in Settings. Teach the agent to emit shell-appropriate commands.
Changes Required
1. New Setting:
defaultShellelectron-app/main.js—DEFAULT_SETTINGSAdd:
vscode-extension/package.json— configuration propertiesAdd:
electron-app/renderer/index.html— Settings PanelAdd a "Default Shell" dropdown in the settings panel under a new "Terminal & Shell" section:
The "Detect Available Shells" button sends a
detectShellsIPC message and shows which shells are actually available on this machine.2. Rewrite
detectPreferredShell()— PowerShell Firstelectron-app/main.jsReplace the current
detectPreferredShell()with a new version that:Reads user setting first — if
defaultShellis not'auto', use it directly without any probing:isPowerShellAvailable()— fast synchronous check:resolveShellByName(name)— maps setting value to shell config:This pull request was created from Copilot chat.