feat(runner): migrate vibn-agent-runner to use frontend MCP proxy tools and updated headless prompt

This commit is contained in:
2026-05-19 14:06:12 -07:00
parent bbcd4ad55e
commit 67fa4a2ccc
32 changed files with 2275 additions and 1418 deletions

19
patch_runner_context.js Normal file
View File

@@ -0,0 +1,19 @@
const fs = require('fs');
const file = 'vibn-agent-runner/src/tools/context.ts';
let code = fs.readFileSync(file, 'utf8');
const newProps = ` coolify: {
apiUrl: string;
apiToken: string;
};
mcpToken: string;
vibnApiUrl: string;
projectId?: string;`;
code = code.replace(` coolify: {
apiUrl: string;
apiToken: string;
};`, newProps);
fs.writeFileSync(file, code);
console.log("Patched context.ts");