Oko/Docs

Command reference

oko telemetry publish

Publishes the signed-in member's work telemetry to the shared snapshot their team plans from.

Invocation#

Command
oko telemetry publish --days N [--limit N] [--root PATH]

Inputs and options#

  • --days, required: the window published; --limit is a file backstop; --root selects another transcript tree. A routine with --action telemetry publishes on a schedule over the --days its definition states (Oko Desktop: Days each run publishes).

Output and state effect#

  • Writes the member's own work_telemetry_snapshot row of their organization with their Wisent session: the days of work, the per-model token rows and their cost, the member's address as owner and this machine's IANA timezone. Prints what was published as JSON.

Refusals and safe exits#

  • Without a Wisent session, when the timezone cannot be read, or when the database refuses the write, it exits unsuccessfully with the actual error; nothing is published in part.

CLI reference#