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
fix(build,test): snapshot the process hit synchronously before state bindings
Generated stateful scopes incremented processLifetime.hits, awaited state
bindings, then snapshotted the value, so concurrent requests could observe the
same count; the harness's in-memory server claimed its hit only after the
bindings resolved. Both now claim and snapshot in one synchronous step before
any await: the emitted scopes bind `processHit` at the increment, and the
harness claims through claimProcessHit before requestBindings. The harness also
looks up CLI command paths among authored commands only, since projected MCP
commands carry their tool's route id and render through the tool branch.
" if (route === undefined || typeof route.module.default !== 'function') throw new TypeError('Generated CLI route must default-export an async function.');",
" if (route === undefined || typeof route.module.default !== 'function') throw new TypeError('Generated rendered route must default-export an async function component.');",
" if (route === undefined || typeof route.module.default !== 'function') throw new TypeError('Generated route must default-export an async Server Component.');",
0 commit comments