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.

463 B
Raw Blame
#!/usr/bin/env bun

import process from 'node:process';
import { Effect } from 'effect';
import * as BunContext from '@effect/platform-bun/BunContext';
import * as BunRuntime from '@effect/platform-bun/BunRuntime';
import { copyLocalToolBinaryAssets, teardown } from './_shared';

const outputDir = process.argv[2] ?? './dist';

copyLocalToolBinaryAssets(outputDir).pipe(
  Effect.provide(BunContext.layer),
  Effect.scoped,
  BunRuntime.runMain({ teardown })
);