You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(compat): widen completable() constraint to StandardSchemaV1
v1 accepted any zod schema (AnySchema). v2 narrowed to StandardSchemaWithJSON,
which requires ~standard.jsonSchema. completable() itself only needs validate
(to type the callback's value param); JSON-Schema generation happens at the
outer registerPrompt argsSchema level, not per-field. Widening to
StandardSchemaV1 restores the v1 surface (any Standard Schema lib, zod >=3.24).
Adds raw-shape registerPrompt test with a completable() field.
0 commit comments