iii / worker
$worker

harness

v0.4.7

Meta-worker that composes the modular Node workers backing the iii chat surface.

functions

8

harness::trigger

function

Browser kickoff: forward payload to run::start. Used by console/web over the iii-browser-sdk.

request
valueunknown
response
valueunknown

policy::check_permissions

function

Check a function call against iii-permissions.yaml; returns allow, deny, or needs_approval.

request
  • argsobject
  • function_idstringrequiredmin 1 chars
response
valueunknown

harness::fs::read_inline

function

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).

request
valueunknown
response
valueunknown

harness::session::is_create_event

function

Condition: state event is a new session record (event_type=state:created, scope=agent, key=session/<id>/turn_state).

request
valueunknown
response
valueunknown

ui::unsubscribe

function

Remove a browser's subscription to a session (or its all-sessions sub if session_id is null).

request
valueunknown
response
valueunknown

harness::fanout::agent_event_handler

function

Internal: agent::events fanout handler.

request
valueunknown
response
valueunknown

harness::fanout::session_created

function

Internal: fans out a single newly-created session id to ui::sessions::changed::<browser_id>.

request
valueunknown
response
valueunknown

ui::subscribe

function

Register a browser's interest in a session (or all sessions if session_id is null).

request
valueunknown
response
valueunknown

triggers

0
no triggers registered