Files
anomalyco_opencode/packages/opencode
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
..
2025-11-13 12:22:07 -06:00
2025-07-03 21:36:09 -04:00
2025-08-05 12:01:48 -04:00
2025-10-31 15:07:36 -04:00
2025-12-23 15:16:20 +00:00
2025-05-30 20:48:36 -04:00
2025-12-02 18:36:15 -05:00
2025-10-14 18:30:32 -04:00

js

To install dependencies:

bun install

To run:

bun run index.ts

This project was created using bun init in bun v1.2.12. Bun is a fast all-in-one JavaScript runtime.