The four free functions in boot.tsx become one kernel class holding what
must exist before cordis: the parsed BootManifest, the ClientModuleSystem
instance, and the loading-page handles. Context/Loader setup runs in
parallel with the immediately-tier prefetch, but entry creation awaits the
prefetch: materialization is tree.import's synchronous require, so
cross-package require edges (i18n -> runtime/client) need every
immediately-tier factory registered first — unbarriered creation raced
10-25% of boots. The kernel adopts the modules entry (writes the
__DSH_MODULES__ slot pre-cordis, creates the entry first, skips its graph
row), and provide('modules') now lives in the adoption apply. apps/web
drops its host-package edges (composition is apps/cli's job).
37 lines
1.0 KiB
JSON
37 lines
1.0 KiB
JSON
{
|
|
"name": "@deepseek-ai/dsh-frontend",
|
|
"description": "Web application entry: vite build over the @deepseek-ai/dsh-client-web shell library; dist/ served by apps/cli's dsh web",
|
|
"version": "0.0.1",
|
|
"private": true,
|
|
"type": "module",
|
|
"exports": {
|
|
"./dist/*": "./dist/*",
|
|
"./package.json": "./package.json"
|
|
},
|
|
"scripts": {
|
|
"build": "vite build",
|
|
"dev": "vite",
|
|
"watch": "vite build --watch"
|
|
},
|
|
"license": "BSD-3-Clause",
|
|
"dependencies": {
|
|
"@deepseek-ai/dsh-client-web": "workspace:^",
|
|
"react": "^18.2.0",
|
|
"react-dom": "^18.2.0"
|
|
},
|
|
"devDependencies": {
|
|
"@deepseek-ai/dsh-client-modules": "workspace:^",
|
|
"@deepseek-ai/dsh-client-ui-primitives": "workspace:^",
|
|
"@deepseek-ai/dsh-client-ui-slots": "workspace:^",
|
|
"@deepseek-ai/dsh-client-web-react": "workspace:^",
|
|
"@types/node": "^22.0.0",
|
|
"@types/react": "~18.3.1",
|
|
"@types/react-dom": "~18.3.0",
|
|
"@vitejs/plugin-react": "^4.0.0",
|
|
"playwright": "^1.49.0",
|
|
"typescript": "^6.0.3",
|
|
"vite": "^6.0.0",
|
|
"vitest": "^4.1.8"
|
|
}
|
|
}
|