iii / worker
$worker

iii-directory

v0.5.1

Engine introspection (functions / triggers / workers), workers registry proxy, and filesystem-backed skill + prompt reader.

  • macOS: arm64 · x64
  • Linux: arm64 · armv7 · x64
  • Windows: arm64 · x64 · x86

skill doc

Inspect one registered trigger (instance + type + function)

how-to
skills/directory/engine/registered-triggers/info.md

When to use

Call directory::engine::registered-triggers::info when you have a registered trigger id (from directory::engine::registered-triggers::list) and want EVERYTHING it links together in a single payload: the per-instance config + the full trigger-type detail (schemas, instance count) + the full function detail (schemas, owning worker, how-to).

It denormalizes three lookups into one composite call so the agent doesn't need to fan out three follow-ups to understand a single subscription.

Inputs

{ "id": "trg-mem-compact" }

id is the registered-trigger instance id (the unique row id, not the trigger type).

Outputs

{
  "id":           "trg-mem-compact",
  "trigger_type": "directory::skills::on-change",
  "function_id":  "agent-memory::compact",
  "worker_name":  "agent-memory",
  "config":       { "interval_ms": 1000 },
  "metadata":     null,
  "trigger":      { /* same shape as directory::engine::triggers::info */ },
  "function":     { /* same shape as directory::engine::functions::info, including how_guide ({title, skill_id, body}) and related_skills */ }
}

trigger or function come back as null only if the type or target was unregistered between the time the instance was created and when you call this — usually both are populated.

Worked example

{ "id": "trg-mem-compact" }

Returns the subscriber row, the schemas for directory::skills::on-change, the schemas for agent-memory::compact, and the bundled how-to for agent-memory::compact (if any) all in one payload.

Related

  • directory::engine::registered-triggers::list — find the instance id you want to inspect.
  • directory::engine::triggers::info — for just the trigger TYPE detail.
  • directory::engine::functions::info — for just the function detail.