@bitkyc08/opencodex
Version:
Universal provider proxy for OpenAI Codex & Claude Code — use any LLM with Codex CLI/App/SDK and Claude Code
17 lines (13 loc) • 491 B
text/typescript
/** Messages between the indexer and its rebuild worker (#6990). Types only. */
import type { UsageLogRevision } from "../../usage/log";
export type RebuildWorkerRequest = {
type: "build";
indexPath: string;
buildPath: string;
reason: string;
revision: UsageLogRevision;
} | { type: "check"; indexPath: string };
export type RebuildWorkerReply =
| { type: "built"; rows: number }
| { type: "checked"; healthy: boolean }
| { type: "error"; name: string; message: string };