mirror of
https://github.com/badlogic/pi-mono.git
synced 2026-12-05 05:45:00 +00:00
- A remote execute() is a session with the worker thread's protocol
(proxy-run.ts): the client drives the VM, as for every other sandbox.
The transport, execute(request, exchange), is unchanged; its messages
are opaque apart from { type: "stop" }. worker-protocol.ts is gone.
- CodemodeScope takes tools, globals, and modules in the shapes of the
options without their functions; identifiers are derived inside, every
field is optional.
- djs 0.3.0-dev.9 carries its module in its code (Wrangler: a compiled
module), so no host passes or ships the wasm. pi-codemode imports
@earendil-works/djs/core everywhere but its one default loader
(wasm.ts): the worker bundle carries no copy (773 KB -> 104 KB).
- New entry @earendil-works/pi-codemode/remote, the client alone: the
example agent Worker uploads 35 KiB instead of 1,175 KiB. The remote's
side moved to runtime/serve.ts.
- Removed cloudflareCodemodeWasm and cloudflareQuickJSWasm; deprecated
createInlineCodemodeSandbox(). coding-agent drops its wasm path and
Bun embed.
|
||
|---|---|---|
| .. | ||
| src | ||
| wrangler.jsonc | ||