Skip to content

Add command (API-dispatch) backend to oz-agent-worker#90

Draft
zachbai wants to merge 2 commits into
mainfrom
zb/command-backend
Draft

Add command (API-dispatch) backend to oz-agent-worker#90
zachbai wants to merge 2 commits into
mainfrom
zb/command-backend

Conversation

@zachbai

@zachbai zachbai commented Jun 24, 2026

Copy link
Copy Markdown
Contributor

Introduce a transport-agnostic command backend that delegates task execution to an operator-configured dispatch command (fire-and-forget). The worker renders a versioned JSON dispatch payload to the command's stdin; on success it suppresses its own terminal completion so the remote oz agent reports terminal state to warp-server itself, and routes cancellations to an optional cancel command. Includes config/CLI wiring, unit + integration tests, README docs, and an HTTP REST reference dispatch script.

Co-Authored-By: Oz oz-agent@warp.dev

zachbai commented Jun 24, 2026

Copy link
Copy Markdown
Contributor Author

This stack of pull requests is managed by Graphite. Learn more about stacking.

Introduce a transport-agnostic `command` backend that delegates task execution to an operator-configured dispatch command (fire-and-forget). The worker renders a versioned JSON dispatch payload to the command's stdin; on success it suppresses its own terminal completion so the remote oz agent reports terminal state to warp-server itself, and routes cancellations to an optional cancel command. Includes config/CLI wiring, unit + integration tests, README docs, and an HTTP REST reference dispatch script.

Co-Authored-By: Oz <oz-agent@warp.dev>
@zachbai zachbai force-pushed the zb/command-backend branch from 27c1ca8 to 545822c Compare June 24, 2026 23:19
Adds a real-run reference dispatch command for local end-to-end testing: it logs/persists the forwarded DispatchPayload and launches the oz agent for real via base_args (fire-and-forget), so the command backend can be exercised against a local warp-server + session-sharing-server + oz-agent-worker (e.g. via warp-server's script/oz-local --worker-backend command). Includes CI-verified tests and README docs.

Co-Authored-By: Oz <oz-agent@warp.dev>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant