/** * Embedding Worker Thread Script * * Runs inside a `worker_threads.Worker` to perform embedding generation * off the main thread. Receives messages with text to embed, calls * LocalEmbeddingProvider, and sends results back via parentPort. * * Message protocol: * Inbound: { id: string; text: string } * Outbound: { id: string; embedding: number[] } on success * { id: string; error: string } on failure * * @epic T134 * @task T137 * @why Prevent @huggingface/transformers model inference from blocking the main thread * @what Worker thread script for async embedding generation */ export {}; //# sourceMappingURL=embedding-worker.d.ts.map