Files
oh-my-pi/packages/coding-agent/test
can1357 ebbe66a3d6 fix(coding-agent/browser): bundle tab-worker-entry for prebuilt binaries (#1011)
The Worker spawn in spawnTabWorker used `new Worker(new URL(...).href, ...)`
through a local variable, which Bun's --compile static analysis does not
recognize. As a result, tab-worker-entry.ts was never embedded in single-file
binaries (v14.5.13+), and the worker thread failed to load its entry at
/$bunfs/root/tab-worker-entry.ts, surfacing as the user-visible
"Timed out initializing browser tab worker".

Switch to a `with { type: "file" }` import of the entry module so the
bundler discovers and embeds it in both dev and compiled targets.

Regression test asserts `Bun.build` emits tab-worker-entry as an asset
alongside the tab-supervisor entry point — the same static-analysis pass
that powers `bun build --compile`.
2026-05-12 06:16:05 +02:00
..
2026-05-12 04:09:33 +02:00
2026-05-12 04:09:33 +02:00
2026-05-10 19:52:44 +02:00
2026-05-12 04:09:33 +02:00
2026-03-14 10:46:26 +01:00
2026-05-12 04:09:33 +02:00
2026-05-12 04:09:33 +02:00
2026-05-12 04:09:33 +02:00
2026-05-02 07:01:57 +02:00
2026-05-12 04:09:33 +02:00
2026-05-12 04:09:33 +02:00