Expand description
NDJSON IPC protocol types matching shared/protocol/schema.json.
All structs derive Serialize and Deserialize for NDJSON transport.
The LogEntry enum uses an internally-tagged representation keyed on
"type" so it round-trips with the Node.js / Go implementations.
Structs§
- AppEntry
- A snapshot of browser application state.
- Cache
Info - Cache storage information.
- Console
Entry - A captured console log message.
- Cookie
Info - Cookie information.
- Error
Entry - A captured runtime error.
- Filters
- Query filters sent by the CLI client.
- Network
Entry - A captured network request (fetch, XHR, or WebSocket).
- Permission
Info - Browser permission state.
- Query
Request - NDJSON request message sent from the CLI to the bridge.
- Query
Response - NDJSON response message sent from the bridge to the CLI.
- Service
Worker Info - Service worker information.
- Session
Info - Describes the running debugger session.
- Storage
Estimate - Browser storage quota and usage estimate.
Enums§
- LogEntry
- Discriminated union of all log entry types.
Functions§
- compute_
socket_ path - Compute the IPC socket path for the given working directory.
- create_
session - Create a new
SessionInfofor the given framework and port. - generate_
id - Generate a random 6-character hex identifier.
- now_
millis - Returns the current time as Unix epoch milliseconds.