Skip to content

1.0.42

Latest

Choose a tag to compare

@InsightFactoryAPP InsightFactoryAPP released this 23 Jan 16:47
· 46 commits to main since this release
fix: Change default backend from mcp to shell in startup-validation.ts

Fixed startup-validation.ts line 447 where backend default was hardcoded to 'mcp' instead of matching DEFAULT_CONFIG.defaultBackend ('shell'). This was causing the validation output to incorrectly show "Backend: mcp" even when no -b flag was provided.

Changes:
- startup-validation.ts line 447: Changed default from 'mcp' to 'shell' with clarifying comment
- startup-validation.ts lines 448-469: Refactored backend detection logic to use backendSetViaCliArg flag for clearer control flow (replaced hardcoded 'mcp' check with explicit flag)
- startup-validation.test.ts lines 417-424: Updated test to mock process.argv with -b mcp flag since shell backend doesn't require mcp.json

All 17 startup-validation tests now pass. CLI correctly shows "Backend: shell (skipping MCP configuration)" when no -b flag is provided.

Resolves task hQI4WX

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>