e79590a6d8
- Add ws-relay.ts: WebSocket server at /ws with broadcast function - Add network event types (request/response/failed) to core ws.ts types - Add ConsoleEntry and NetworkEntry types - Add consoleLog and networkLog buffers to PageRegistry (100/200 max) - Add console listener in createPage: broadcasts page:console events - Add network listeners (request/response/requestfailed) in createPage - Add page crash handler broadcasting page:crashed events - Add history endpoints: GET /pages/:id/console and GET /pages/:id/network - Integrate createWsRelay in server.ts startup - Bump ws from devDependency to full dependency
13 lines
476 B
TypeScript
13 lines
476 B
TypeScript
export { type PageInfo } from './types/page.js';
|
|
export { type ApiResponse, ErrorCode } from './types/api.js';
|
|
export { type WsEvent, type ConsoleEntry, type NetworkEntry } from './types/ws.js';
|
|
export {
|
|
type FingerprintProfile,
|
|
type FingerprintPermissions,
|
|
type FingerprintBehavior,
|
|
type CanvasNoiseConfig,
|
|
type PermissionState,
|
|
} from './types/fingerprint.js';
|
|
export { safeStringify, isValidJson } from './escape.js';
|
|
export { VisionLClient } from './client.js';
|