UNPKG

@essentialai/cogent-bridge

Version:

Cogent Bridge — cross-agent comms for Claude Code, OpenAI Codex and Slack. Codex users: install with `curl -fsSL https://cogent.tools/install.sh | sh`, then start with `cogent-codex` for real-time peer wake.

22 lines • 681 B
#!/usr/bin/env node export async function runCli() { const command = process.argv[2]; if (command === "init") { const { runWizard } = await import("./wizard/index.js"); await runWizard(); } else if (command === "watch") { const { runWatch } = await import("./watch/index.js"); await runWatch(process.argv.slice(3)); } else { // Default: start MCP server (existing behavior) await import("./index.js"); } } runCli().catch((err) => { const msg = err instanceof Error ? err.message : String(err); process.stderr.write(`Fatal error: ${msg}\n`); process.exit(1); }); //# sourceMappingURL=cli.js.map