Skip to content

@cloudflare/codemode@0.5.4

Choose a tag to compare

@github-actions github-actions released this 13 Oct 13:28
· 13 commits to main since this release
b1e3614

Patch Changes

  • #2472 7945da9 Thanks @mattzcarey! - ToolSetConnector now forwards each AI SDK tool's outputSchema into its connector descriptors, so durable codemode.describe() shows the output type instead of unknown, as McpConnector already does. Input and output schemas that convert asynchronously (jsonSchema(promise)) are now awaited instead of being dropped.

    Output types, in both generateTypes and connector descriptors, now describe the value a tool returns rather than the input side of its schema. A .default() field is now required and a .pipe() field has the piped type. A .transform(), which JSON Schema can't express, shows as unknown instead of the pre-transform type.