iii / worker
$worker

iii-directory

v0.5.0

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 trigger type's schemas + live instance count

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

When to use

Call directory::engine::triggers::info once you've identified a trigger TYPE id (e.g. directory::skills::on-change) and you want its configuration schema, return schema, the worker that registered it, and a live count of how many instances are currently subscribed to it.

Useful before subscribing a new function to a trigger so the agent crafts a valid configuration block.

Inputs

{ "id": "directory::skills::on-change" }

id is the full trigger-type identifier ({worker}::{...}).

Outputs

{
  "id":                   "directory::skills::on-change",
  "worker_name":          "directory",                  // first :: segment of id
  "description":          "Fires when skills change.",
  "configuration_schema": { "type": "object", ... },    // shape passed when registering an instance
  "return_schema":        { "type": "object", ... },    // shape received by the target function
  "instance_count":       3                             // how many registered_triggers point at this type right now
}

Worked example

{ "id": "directory::skills::on-change" }

Returns the trigger schema this worker (iii-directory) publishes plus the current subscriber count.

Related

  • directory::engine::triggers::list — find the trigger type id you want to inspect.
  • directory::engine::registered-triggers::list — list the actual subscriber rows for this type.
  • directory::engine::registered-triggers::info — composite view of one subscriber row + its type + its target function.