Functions
Classify behavior for the browser, server, or both runtimes from one functions block.
Client
Compile browser-only functions into CSP-safe client modules.
Server
Keep server-only functions out of browser artifacts and expose typed RPC calls when referenced.
Shared
Emit deterministic shared helpers to both compilation targets.