Files
t3code/apps/server/src/claude-history-worker.ts
T

8 lines
394 B
TypeScript

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