Something went wrong. Try again.
I'm going to build my own OpenClaw, with blackjack... and bun!
Something went wrong. Try again.
TypeScript
12345678910111213141516171819202122232425262728#!/usr/bin/env bun/** * index.ts – Application entry point. * * Checks for CLI sub-commands (keychain, --help, --version) first. * If none match, starts the full runtime (database, channels, agent pool, * IPC watcher, task scheduler, and web server). */
import { handleCliOptions } from "./cli.js";import { main } from "./runtime.js";import { createLogger } from "./utils/logger.js";
const log = createLogger("piclaw");
const handled = await handleCliOptions();if (handled) { process.exit(0);}
main().catch((error) => { log.error("Fatal runtime error", { operation: "piclaw.main", err: error, }); process.exit(1);});