Skip to content
Source
Sign inSign up
pingdotgg/t3code
Open History to see the last commit

claude-history-worker.ts

7 lines394 Bytes

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);