Repository navigation
0.22.0
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) gainsmaxConcurrentToolCalls(default 4; cap 1 is sequential), executed concurrently byrunToolLoopwith events, transcript results and error handling preserved in model order (issue #4).ServerPlugin.emailHandlersroutes Cloudflare Email Routing mail to a plugin by recipient local part (*catch-all) viaapps/web/src/api/email.ts; plugins adapt the context withemailCtxfrom@/plugins/api(CONCEPTS §16).JobCtx,CronCtx,PublicCtxandEmailCtxgainstorage()(theFILESbucket, asRequestCtx.storage()),@testkit/unitgainsmakeEmailCtx, and@/plugins/apiexports theStorageServicetype.
Thanks to @NANDANS26 (#79, concurrent tool calls).
See the porting note.