Module xray

Module xray 

Source
Expand description

X-Ray API handlers for frontend debugging

This module provides lightweight API endpoints for the browser extension to display current state (scenario, persona, reality level, chaos rules).

Structs§

XRayQuery
Query parameters for X-Ray operations
XRayState
State for X-Ray handlers

Functions§

get_entity
Get specific entity
get_request_context
Get request context for a specific request ID
get_state
Get full state (for DevTools panel)
get_state_summary
Get current state summary (optimized for extension overlay)
get_workspace_summary
Get workspace summary
list_entities
List all entities for a workspace
xray_router
Create X-Ray router