You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
DOM fallback in streamCell: when cells.list() returns no output for a running cell (e.g. a 55-minute training loop), the SDK reads live page text via Playwright's shadow-DOM walker and streams it incrementally
BrowserSession.readPageText() — public shadow-DOM text-node walker
outputsToText(outputs) — converts a Jupyter outputs array to plain text; exported from package root
hasErrorOutput(outputs) — returns true if any output has output_type === "error"; exported from package root
stripOutputs(notebookJson) — strips all cell outputs and execution counts from a notebook JSON string before upload; exported from package root
StreamCellOptions type exported from package root
Changed
streamCell no longer yields raw JSON snapshots — yields incremental text OutputChunk objects
Heartbeat messages are yielded as OutputChunk (type stdout) instead of written directly to process.stdout
Fixed
WebSocket error events on ColabProxy absorbed via EventEmitter (no more uncaught exceptions on socket errors)