omo-relay
Installation
SKILL.md
omo-relay
Every device signed in to the same account answers through the relay. From a js eval cell you reach them with two things that ship with omo, and this skill's typed helpers bind both:
- The fleet client: list the machines, then run commands and file operations on one of them or on many in one wave.
- The thread tools (
tool.thread_*): the agent sessions on every device. This skill covers the parallel helpers over them; one thread at a time is the thread tools' own job.
Bind once per cell
const relay = await import("<this skill's directory>/scripts/sdk/index.ts")
const fleet = relay.fleetFromSdk(await import(`${env("OMO_BUNSHIN_TS_SDK_ROOT")}/sdk.js`)) // the account's machines
const threads = relay.threadPortFromTools(tool) // the account's threads
Use the directory you read this file from. OMO_BUNSHIN_TS_SDK_ROOT is set only inside an omo session; outside one there is no fleet client to reach, so say so instead of retrying.