Repository navigation
v0.2.0: the stable release
v0.2.0 focuses on reliability, release safety, and function-schema compatibility.
Highlights
- Fixes the
dragfunction schema error reported by function-call validators:Invalid schema for function 'drag': [{'type': 'number'}, {'type': 'number'}] is not of type 'object', 'boolean'
- Removes tuple-style
drag.pathpoints from the public tool schemas so generated JSON Schema no longer emits array-formitems. - Adds strict TypeScript checking via
npm run typecheck. - Adds a schema compatibility regression check via
npm run test:schema. - Adds
npm testas the combined local verification command. - Adds GitHub Actions CI to run checks on pushes and pull requests.
Tool schema change
drag.path should now be provided as object points:
{
"path": [
{ "x": 10, "y": 20 },
{ "x": 100, "y": 200 }
]
}Tuple-style points such as [10, 20] are no longer advertised in the tool schema because they can produce JSON Schema that some function-call providers reject.
Validation
Validated locally with:
npm testwhich runs:
npm run typecheck
npm run test:schema