harness::session::is_create_event
Condition: state event is a new session record (event_type=state:created, scope=agent, key=session/<id>/turn_state).
Meta-worker that composes the modular Node workers backing the iii chat surface.
Condition: state event is a new session record (event_type=state:created, scope=agent, key=session/<id>/turn_state).
Remove a browser's subscription to a session (or its all-sessions sub if session_id is null).
Check a function call against iii-permissions.yaml; returns allow, deny, or needs_approval.
Register a browser's interest in a session (or all sessions if session_id is null).
Internal: agent::events fanout handler.
Forward {function_id, payload} to iii.trigger and return the result. Used by console/web to reach the bus over the iii-browser-sdk.
Internal: fans out a single newly-created session id to ui::sessions::changed::<browser_id>.
Read a host file via shell::fs::read, drain its channel, and return a {content:[{text}], details:{size, truncated, bytes_read}} envelope (max 256 KiB inline by default).