cloudaxe-opencode/packages/opencode/test/session
Kyle Mistele 4cb9f8ab34 fix: structured output loop exit and add system prompt
- Fix loop exit condition to check processor.message.finish instead of
  result === "stop" (processor.process() returns "continue" on normal exit)
- Add system prompt instruction when json_schema mode is enabled to ensure
  model calls the StructuredOutput tool
- Add integration tests for structured output functionality
- Fix test Session.messages call to use object parameter format
2026-01-12 20:51:17 -08:00
..
retry.test.ts test: add test for retry 2025-12-23 19:34:40 -06:00
session.test.ts tweak: rename event 2025-10-27 10:42:47 -05:00
structured-output-integration.test.ts fix: structured output loop exit and add system prompt 2026-01-12 20:51:17 -08:00
structured-output.test.ts feat: add structured output (JSON schema) support 2026-01-12 20:09:51 -08:00