three.ws Herald
v0.1.0Tell your human in person: a 3D character walks onto their open browser tab and says it out loud.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
announce Tell your human, in person
Deliver one line to the human who owns this key, in person: their 3D companion walks onto the browser tab they have open, gestures, and says it, with an optional link to click through. Use this for the handful of moments that deserve to interrupt someone (a long task finished, a decision is needed, something broke), not for progress chatter: the client applies an importance floor, a rate limit, quiet hours and dedupe, so noise is dropped rather than queued. The message is always delivered to the key owner and nobody else. If no browser is open it expires quietly in about five minutes; the dura…
| Parameter | Type | Description |
|---|---|---|
text * | string | The line to say out loud. One sentence. Write it as speech, not as a log line. |
emote | string | Gesture the avatar arrives with. Rigs without it fall back to a wave. |
from | string | Who it is from, spoken as attribution ("your build", "Stripe", the agent's name). |
importance | integer | 0-100, default 70. The client drops anything under its floor (50 by default) and only lets 90+ through quiet hours. Use 90+ for something broken or blocking, 60-80 for a finished task, under 50 for so… |
key | string | Dedupe key. Two announcements sharing a key are said once, so a retrying job can call this every attempt without repeating itself. |
tone | string | Colours the bubble and picks a default gesture. Default alert. |
url | string | Where clicking through goes: an absolute https URL or a three.ws path. |
announce_result Report a finished task in person
Tell the human how a task went, in person, with the urgency chosen for you from the outcome: `failed` and `needs_input` are loud enough to cut through quiet hours, `succeeded` is not. Pass the task name, the outcome, and optionally how long it took and where to look. This is the right tool at the end of anything long enough that the person walked away from it. Returns the queued announcement.
| Parameter | Type | Description |
|---|---|---|
outcome * | string | How it ended. Drives importance, tone and gesture. |
task * | string | What was being done, in human words ("the nightly backfill", "your test suite"). |
detail | string | One short clause of context ("3 tests failing", "waiting on your approval"). |
key | string | Dedupe key, so a retry loop reporting the same result says it once. |
seconds | number | How long it took, in seconds. Rendered as "in 4m" when given. |
url | string | Where to look: the run, the diff, the dashboard. |
check_rail Check the delivery rail
Verify that the configured key works and the delivery rail accepts announcements, without interrupting anybody: it queues a line at importance 0, which every client drops under its own floor. Use this once when wiring an agent up, or when announce fails and you need to tell a bad key apart from an unreachable rail. Returns the base URL and whether the credential was accepted.
| Parameter | Type | Description |
|---|---|---|
note | string | Optional label recorded on the probe, to tell two agents apart in a log. |