Files
anomalyco_opencode/packages
Aiden Cline c16bba8bc0 feat(opencode): JSDoc tags, Result<T> return hints, and opaque attachments
- describe/preview now surface each tool's return type as Result<T> (alias
  defined once in the prompt); the inline preview shows it too, so the model
  sees a tool's result shape without a describe round-trip. T is the declared
  outputSchema else unknown, with prose telling the model to inspect an unknown
  result before assuming fields.
- renderType pretty mode emits JSDoc tags a TS type can't express: @default,
  @format, @deprecated, @minItems/@maxItems (multi-line descriptions preserved).
- Attachments are now opaque handles: a tool's media becomes
  { type:'file', id, mime, filename?, bytes } with no inline bytes. Real bytes
  stay host-side in a per-execution attachmentTable; the program propagates or
  drops a handle (return it to surface the image to the model+user) but cannot
  read or leak the base64. Documents the divergence from prior art in rune.md.
- Records the throw/catch (not errors-as-values) decision in rune.md.
2026-07-01 10:54:42 -05:00
..
2026-06-29 10:45:44 +00:00
2026-06-25 12:09:26 +00:00
2026-06-29 09:51:40 +00:00
2026-06-29 16:17:54 +00:00
2026-06-25 12:09:26 +00:00
2026-06-29 03:49:43 +00:00
2026-06-25 12:09:26 +00:00
2026-06-26 17:36:45 +00:00
2026-06-29 10:13:23 +00:00