feat(harness): add support for structured output to `HarnessAgent` via `output` property (#18937)