src ipc

Run the IPC server

Usage

src ipc [flags]

Flags

Flag Description
--dev Enable the agent debug API and the fake harness (tests only)
--harness string Enable agent API: opencode-v1, opencode-v2, or codex
--harness-binary string Explicit agent executable (otherwise use the installed src distribution)
--json string Output JSON with specified fields (type, url, protocol)
--log-requests Log requests to files
--port int Port to listen on (0 for auto-assign) (default "0")
--script string Fake harness scenario file (requires --dev --harness fake)
--stream-error-format string SSE error format: responses or legacy (old-client compatibility) (default "responses")
--user-agent-product string Engine token appended to the upstream User-Agent, e.g. sourcecraft-opencode, sourcecraft-codex or sourcecraft-ycodex

Inherited flags

Flag Description
--env string Override Sourcecraft environment (use 'src envs' to list available)
--json-compact string Output compact JSON, optionally filtered
-R, --repo string Select another repository using OWNER/REPO format
-V, --verbose Enable debug logging output

Learn more

Use src ipc <subcommand> --help for more information about a command.

Предыдущая
Следующая