Files
vibn-frontend/vibn-agent-runner/src
mawkone 3d07cf38b6 fix(runner): wire ToolContext vibnApiUrl + mcpToken so agent tools reach the frontend MCP
buildContext() hardcoded vibnApiUrl='http://localhost:3000' and mcpToken='',
so every agent tool call (projects_list, workspace_describe, apps_list, ...)
fetched the runner itself on a dead port and failed with 'fetch failed'.
Now /agent/execute reads mcpToken from the request body and sets
ctx.vibnApiUrl (from VIBN_API_URL), ctx.mcpToken, and ctx.projectId before
running the agent.
2026-05-30 19:15:43 -07:00
..