Fix round 2 for task 1: store-codegen.ts stopped emitting runtime: "legacy" actions in round 1, making the StoreRuntime variant and its resolution fallback dead. Narrows StoreRuntime to three variants and adds a regression test for the remaining options.runtime -> shared fallback chain. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@wrnexus/store
Typed global and page-scoped WRNexusJS stores with runtime-specific state, computed values, actions, lifecycle hooks, persistence, SSR isolation, and HMR support.
Use defineStore() to declare a store and createStoreContainer() to create an isolated request or browser container. Store definitions are framework helpers and do not require UI components.