Patch Changes
-
f0830c5: Custom tools whose
executefunction declares the context parameter no longer fail to typecheck with "Type instantiation is excessively deep and possibly infinite" on TypeScript 5.4 to 5.6 when the target is a large machine actor.createWebMCP(appActor, { events: [], tools: ({ tool }) => ({ search_notes: tool({ description: 'Search notes by keyword.', input: z.object({ value: z.string() }), execute: async ({ value }, { send, waitFor }) => { send({ type: 'search', value }); return (await waitFor((s) => !s.hasTag('loading'))).context.notes; } }) }) });