🤯 LobeHub - Super-Agents on Your Team. Add super-agents to the chats your team already uses.They take on work by themselves and get better every week.
TypeScript agentagent-collaborationagent-harnessloop-engineeringmcppersonal-assistantproactive-agentskillssuper-agenttask-management
import { spawn } from 'node:child_process';
import { requireExecutionApproval } from './executionPolicy';
// Intentional agent terminal: execution policy authorizes the exact command before dispatch.
export const runTerminal = async (input: { command: string }) => {
await requireExecutionApproval(input.command);
return spawn('bash', ['-c', input.command]);
};