Skip to content
Registry

harness

v0.4.5

Thin durable turn loop that wires session-manager, context-manager, and llm-router into an agent loop; spawns sub-agents as child sessions.

Install

bash
iii trigger compose::add worker=harness@0.4.5

Run in your project with the iii engine running. Exact versions are immutable and digest-pinned.

Functions8

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

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

ui::subscribe

Function

Register a browser's interest in a session (or all sessions 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::trigger

Function

Forward {function_id, payload} to iii.trigger and return the result. Used by console/web to reach the bus over the iii-browser-sdk.

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

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

Triggers0

No triggers registered

Search the registry

Find workers, kits and executables, or jump to a page.