Skip to content

0.22.0

Choose a tag to compare

@cliftonc cliftonc released this 24 Oct 09:47
· 6 commits to main since this release
0.22.0
9c70a25

Agent tool calls now run concurrently under a configurable cap, and plugins can receive inbound email through a new emailHandlers slot and the Worker's email export.

  • meta.policy (agentPolicySchema) gains maxConcurrentToolCalls (default 4; cap 1 is sequential), executed concurrently by runToolLoop with events, transcript results and error handling preserved in model order (issue #4).
  • ServerPlugin.emailHandlers routes Cloudflare Email Routing mail to a plugin by recipient local part (* catch-all) via apps/web/src/api/email.ts; plugins adapt the context with emailCtx from @/plugins/api (CONCEPTS §16).
  • JobCtx, CronCtx, PublicCtx and EmailCtx gain storage() (the FILES bucket, as RequestCtx.storage()), @testkit/unit gains makeEmailCtx, and @/plugins/api exports the StorageService type.

Thanks to @NANDANS26 (#79, concurrent tool calls).

See the porting note.