You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Structured output: return a turn's JSON-schema result (claude --json-schema, codex outputSchema) #337
Found by Lookout's comparison with the Claude Agent SDK 0.3.296: the SDK's outputFormat: {type: "json_schema", schema} returns the validated object as result.structured_output. In OAR, launchArgs: ["--json-schema", …] takes effect, but the object exists only in claude's native result frame: promptAndWait returns empty text and the turn outcome carries nothing, so a host has to dig through records().
Structured output is a common host scenario and is not claude-only: codex takes an outputSchema per turn (@openai/codex-sdkTurnOptions.outputSchema; app-server turn/start).
To design, evidence first:
Which runtimes accept a schema, and at what granularity (claude: per process via --json-schema; codex: per turn). Refuse where a runtime cannot.
Where the result lands in OAR: an event on the result frame (for example structured_output { value }) folded into the turn outcome and returned by promptAndWait, live and on replay.
Activity
chore: release v0.55.0 (#350)