Skip to content

v8.0.2

Choose a tag to compare

@github-actions github-actions released this 21 Sep 17:57
· 2 commits to main since this release

Fixed

  • The six compound tools published an empty input schema. Their z.union
    of per-mode objects serialized to {"type":"object","properties":{}} — the
    SDK only converts object schemas and raw shapes to JSON Schema, and a union
    is neither — so an Apps host had no fields to render a form. The compound
    layer now registers a flat shape: the mode enum plus every field each mode
    accepts, unioned where a name is shared across modes (e.g. species is a
    string in lookup/species and an array in lookup/sprites), with the
    per-mode object re-enforcing the real required-field contract inside the
    handler. The smoke suite pins that every compound tool publishes its mode
    enum and fields.