Skip to content

Composio powers 1000+ toolkits, tool search, context management, authentication, and a sandboxed workbench to help you build AI agents that turn intent into action.

390 B
Raw Blame
#!/usr/bin/env bun
import { fileURLToPath } from 'node:url';
import { dirname, join } from 'node:path';
import { existsSync } from 'node:fs';

const __dirname = dirname(fileURLToPath(import.meta.url));
const distBin = join(__dirname, '..', 'dist', 'bin.mjs');

if (!existsSync(distBin)) {
  console.error('Error: CLI not built yet. Run: pnpm build');
  process.exit(1);
}

import(distBin);