Describe the bug
Installed via npm install -g freebuff (v0.0.96). Running freebuff with no arguments shows:
Download complete! Starting Freebuff...
Usage: node mcp_proxy.js <serverId_or_socketPath>
Then exits. Binary enters MCP proxy mode instead of the AI coding agent.
To Reproduce
npm install -g freebuff
freebuff
- See error
Expected
freebuff with no args should start the interactive agent (logo + login prompt), as documented in the README.
Root cause
The npm wrapper (index.js:625) spawns the binary with process.argv.slice(2) — empty when no args passed:
const child = spawn(CONFIG.binaryPath, process.argv.slice(2), ...)
The freebuff.exe binary with zero arguments defaults to MCP proxy mode. It only enters agent UI when at least one argument is given (e.g., --cwd).
Workaround: freebuff --cwd . works correctly.
Environment
- Windows 11, PowerShell/Windows Terminal
- Freebuff v0.0.96
- Fresh install, no modifications
- Binary: ~\.config\manicode\freebuff.exe (142MB, valid PE)
Additional
- freebuff --help and freebuff --version work fine
Describe the bug
Installed via
npm install -g freebuff(v0.0.96). Runningfreebuffwith no arguments shows:Download complete! Starting Freebuff...
Usage: node mcp_proxy.js <serverId_or_socketPath>
Then exits. Binary enters MCP proxy mode instead of the AI coding agent.
To Reproduce
npm install -g freebufffreebuffExpected
freebuffwith no args should start the interactive agent (logo + login prompt), as documented in the README.Root cause
The npm wrapper (
index.js:625) spawns the binary withprocess.argv.slice(2)— empty when no args passed: