logicsrc/packages/validators
6D0N9 3d4345b665
fix(validators): isSchemaKind no longer accepts inherited prototype keys (#14)
'value in schemas' walks the prototype chain, so inherited keys like
"toString" passed assertSchemaKind and then crashed ajv.compile with a
misleading 'schema must be object or boolean' error (e.g. via the CLI).
Use Object.hasOwn for an own-property check.

Adds unit tests rejecting prototype keys and asserting every real
schema kind still passes.

Fixes #13
2026-06-11 21:06:18 -07:00
..
src fix(validators): isSchemaKind no longer accepts inherited prototype keys (#14) 2026-06-11 21:06:18 -07:00
package.json Add AgentAd ad schemas as a LogicSRC primitive (#10) 2026-06-11 21:02:43 -07:00
tsconfig.json Scaffold LogicSRC and CommandBoard plugins 2026-06-06 11:24:02 +00:00