@devries-cameron20 / composio Mirror · read-only
Fork 0

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

Mirrored from https://github.com/Camo67/composio.git

Synced Nov 21, 04:45 UTC

next
mjs 14 lines 390 Bytes
Raw
1 #!/usr/bin/env bun
2 import { fileURLToPath } from 'node:url';
3 import { dirname, join } from 'node:path';
4 import { existsSync } from 'node:fs';
5
6 const __dirname = dirname(fileURLToPath(import.meta.url));
7 const distBin = join(__dirname, '..', 'dist', 'bin.mjs');
8
9 if (!existsSync(distBin)) {
10 console.error('Error: CLI not built yet. Run: pnpm build');
11 process.exit(1);
12 }
13
14 import(distBin);