Commit Graph
10 Commits
Author SHA1 Message Date
Jeremy lewi 78cdff9465 Fix wasm app-server assistant event emission
Signed-off-by: Jeremy lewi <jeremy@lewi.us>
2026-04-17 15:29:36 -07:00
Jeremy lewi fe2ff29bef Replace BrowserCodex with app-server style wasm wrapper 2026-04-16 22:35:12 -07:00
Jeremy lewi 64f78a3dc5 Add browser session instruction injection 2026-04-16 09:40:33 -07:00
Jeremy lewi 45cfcb0c7a refactor: remove dead wasm responses types 2026-04-15 07:30:30 -07:00
Jeremy lewi b6cc089db5 refactor: remove dead wasm embedded harness 2026-04-14 20:39:35 -07:00
Jeremy lewi c97c42d317 feat: run wasm demo through real codex submit loop 2026-04-14 17:29:28 -07:00
Jeremy lewi 54d765635a refactor: split wasm harness into reusable library surface
Expose a pure Rust EmbeddedHarness API in codex-wasm-harness so downstream browser apps can depend on the crate directly without going through the demo-specific wasm_bindgen wrapper. Introduce trait seams for Responses transport, tool execution, and event delivery, move shared response/event types into dedicated modules, and keep BrowserCodex as a thin compatibility adapter so the existing browser demo continues to build and run unchanged.
2026-04-14 09:25:53 -07:00
Jeremy Lewi 11e16ef2e8 feat: run a real browser-side responses tool loop
Upgrade the wasm harness from a one-shot sampler to a real Responses API loop that uses the Codex prompt, handles function_call / function_call_output turns, and exposes a browser exec_js callback. The example page now provisions a sandboxed iframe kernel, persists the API key in localStorage, surfaces browser errors inline, and has been verified in Chrome Testing with a live prompt that executes JavaScript and completes the turn.
2026-04-13 10:18:03 -07:00
Jeremy Lewi fa5d14a81f feat: move wasm sampling into rust 2026-04-10 17:09:07 -07:00
Jeremy Lewi 032b8dddb6 feat: add codex wasm harness prototype 2026-04-10 16:41:22 -07:00