20 lines
459 B
JavaScript
20 lines
459 B
JavaScript
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");
|