/** * tsdown build for dsh-better-sidebar: the host-half lib (lib/index.js and * the lib/invariant.js companion, ESM node) plus the browser client bundle * (lib/client.js, CJS closure factory). * * The client bundle replicates the official DSH client-bundle preset * (packages/client/tsdown.client.ts): * - externals resolve through the loader module table at runtime (the * PLATFORM_MODULES seed list from apps/web's platform.ts, plus the * runtime/client exemption), * - everything else is inlined into the bundle (xterm, clsx, ...), * - the purity gate rejects any other @deepseek-ai value import: cross-plugin * collaboration goes through cordis services, never value imports, * - CSS Modules compile to hashed class maps and inject