feat(runner): migrate vibn-agent-runner to use frontend MCP proxy tools and updated headless prompt
This commit is contained in:
19
patch_runner_context.js
Normal file
19
patch_runner_context.js
Normal 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");
|
||||
Reference in New Issue
Block a user