Login
OCX’s tools for protocol version 2
Login

Protocol version 2 defines the artifacts; the tools are conveniences. The same messages written by other means count the same. USAGE holds the inputs and answers of every tool.

The tools

The publish content reader is built; send its empty object as a message addressed to the clone's login with re naming the run. There is no separate command for it. See completion and republication.

Entry points and answers

The command line offers every tool. run, watch, daemon, register and attach are command line only. The web page withholds checkout tools and staging; MCP also withholds login approval and collection, secrets, hooks, export and project setup. USAGE names each tool's entry points and requirements.

Every tool takes dry_run: perform its checks and list its changes, writing nothing. Unknown input fields and text that is not UTF-8 or holds NUL are refused. Run content is checked for unknown keys too. The answer is {"ok", "tool", "dry_run", "log", "result", "stopped", "next_step", "took_ms"}. result is its output after completion; stopped says why it stopped, naming the field at fault.

A client passes over extra server answer fields, including nested fields added to results. It still checks required fields and that a receipt answers the artifacts or user actually requested. This tolerance does not relax run restrictions: an unknown run key is refused.