Worker Kit
0.2.5
2026-09-12
run()/map()oncreateWorkerPool/useWorkerPoolno longer discardctx.reportProgress()/ctx.reportChunk()— progress and chunks are now wired throughWorkerPool.useWorker()now exposes an explicitterminate()method.- A crashed worker (
Worker.onerror) is now recreated on the nextrun()instead of reusing the broken instance. - With
streaming: false, callingctx.reportChunk()now logs a dev-mode warning instead of silently dropping the chunk. - Removed the stale
"nuxt"keyword frompackage.json(no Nuxt module exists in this package). WorkerComputedResult's fields are now wrapped in Vue'sreadonly(), enforcing thereadonlytyping at runtime too.RetryStrategyOptions/StreamingOptionsare now used as the real parameter types forUseWorkerOptions/UseSharedWorkerOptionsinstead of being redeclared inline.