platform.ts 642 B

12345678910111213141516
  1. /**
  2. * Shared browser platform modules. Seeding, bundling externals, and Vite
  3. * aliases consume this list so their module identities cannot drift.
  4. * @module @deepseek-ai/dsh-client-web/src/platform
  5. */
  6. /** The module specifiers the shell shares into the frozen module table. */
  7. export const PLATFORM_MODULES = [
  8. 'react', 'react/jsx-runtime', 'react-dom', 'react-dom/client', 'cordis',
  9. '@deepseek-ai/dsh-client-ui-slots',
  10. '@deepseek-ai/dsh-client-web-react',
  11. '@deepseek-ai/dsh-client-ui-primitives',
  12. ] as const
  13. /** One platform module specifier (a seed-table key). */
  14. export type PlatformModule = (typeof PLATFORM_MODULES)[number]