| 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. |
| 4 | import { runClaudeHistoryWorker } from "./claudeHistoryWorker.ts"; |
| 5 | |
| 6 | const [method, sessionId, rawOptions] = process.argv.slice(2); |
| 7 | await runClaudeHistoryWorker(method, sessionId, rawOptions); |