Skip to content

Commit 6271d5d

Browse files
Agent-Plannergetworken
authored andcommitted
fix: Update startAgent call to use options object
SUMMARY: Fixed TypeScript build error in ProjectSetupRequired.tsx where startAgent was being called with a boolean instead of an options object. DETAILS: - The startAgent API function signature was updated (in previous PR merges) to accept an options object: { yoloMode?, parallelMode?, maxConcurrency?, testingAgentRatio? } - ProjectSetupRequired.tsx was still calling it with the old signature: startAgent(projectName, yoloMode) - passing boolean directly - Changed to: startAgent(projectName, { yoloMode }) - wrapping in options object This was the only remaining build error after merging 13+ PRs from upstream: - PR AutoForgeAI#112: Security vulnerabilities and race conditions - PR AutoForgeAI#89: Windows subprocess blocking fix - PR AutoForgeAI#109: Rate limit handling with exponential backoff - PR AutoForgeAI#88: MCP server config for ExpandChatSession - PR AutoForgeAI#100: Diagnostic warnings for config loading - PR AutoForgeAI#110: Quality gates (quality_gates.py) - PR AutoForgeAI#113: Structured logging (structured_logging.py) - PR AutoForgeAI#48: Knowledge files support (API, schemas, prompts) - PR AutoForgeAI#29: Feature editing/deletion (MCP tools) - PR AutoForgeAI#45: Chat persistence - PR AutoForgeAI#52: Refactoring feature guidance - PR AutoForgeAI#4: Project reset functionality - PR AutoForgeAI#95: UI polish, health checks, cross-platform fixes Build now passes: npm run build succeeds with all 2245 modules transformed.
1 parent 13795cb commit 6271d5d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ui/src/components/ProjectSetupRequired.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ export function ProjectSetupRequired({ projectName, onSetupComplete }: ProjectSe
3737
setYoloModeSelected(yoloMode)
3838
setInitializerStatus('starting')
3939
try {
40-
await startAgent(projectName, yoloMode)
40+
await startAgent(projectName, { yoloMode })
4141
onSetupComplete()
4242
} catch (err) {
4343
setInitializerStatus('error')

0 commit comments

Comments
 (0)