1// Standalone entry for npm-distributed runtimes: `node claudeHistoryWorker.mjs
2// <method> <session-id> [options]`. The executable reaches the same worker
3// through the `__claude-history` subcommand.
4import { runClaudeHistoryWorker } from "./claudeHistoryWorker.ts";
5
6const [method, sessionId, rawOptions] = process.argv.slice(2);
7await runClaudeHistoryWorker(method, sessionId, rawOptions);