mirror of
https://github.com/deepseek-ai/deepseek-harness.git
synced 2026-08-29 04:26:38 +00:00
One Vite build emits dist/index.html and dist/preview.html sharing every chunk; the only difference is one prepended bootstrap entry whose module connects the worker host, so the page from the stock entry onward is the served startup chain verbatim. The dist moves to a relative base so the preview mounts under any static directory, and the served form anchors deep SPA-fallback paths with a rendered <base href="/">. The preview-boot e2e serves the real built pages, packs the VFS image when absent, and holds the boot line's lowering contract, the interactive hero, and a clean page-error channel in headless Chromium.
56 lines
1.7 KiB
JSON
56 lines
1.7 KiB
JSON
{
|
|
"name": "@deepseek-ai/dsh-web-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.1.1-rc.2",
|
|
"publishConfig": {
|
|
"access": "public"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/deepseek-ai/deepseek-harness.git",
|
|
"directory": "apps/web"
|
|
},
|
|
"type": "module",
|
|
"exports": {
|
|
"./dist/*": "./dist/*",
|
|
"./package.json": "./package.json"
|
|
},
|
|
"files": [
|
|
"dist",
|
|
"!dist/**/*.map",
|
|
"!dist/preview.html",
|
|
"!dist/preview"
|
|
],
|
|
"scripts": {
|
|
"build": "vite build",
|
|
"dev": "vite",
|
|
"watch": "vite build --watch --no-emptyOutDir",
|
|
"build:preview": "vite build && dsh-pack-vfs-image --out dist/preview/vfs-image.tar.gz",
|
|
"serve:preview": "http-server dist -a 0.0.0.0 -p 4173 -c-1"
|
|
},
|
|
"license": "MIT",
|
|
"devDependencies": {
|
|
"@deepseek-ai/cordis-plugin-group": "workspace:^",
|
|
"@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": "workspace:^",
|
|
"@deepseek-ai/dsh-cmdline": "workspace:^",
|
|
"@deepseek-ai/dsh-pwsh-local": "workspace:^",
|
|
"@deepseek-ai/dsh-experimental-webworker-packer": "workspace:^",
|
|
"@deepseek-ai/dsh-experimental-webworker-runtime": "workspace:^",
|
|
"@types/node": "^22.0.0",
|
|
"@types/react": "~18.3.1",
|
|
"@types/react-dom": "~18.3.0",
|
|
"@vitejs/plugin-react": "^4.0.0",
|
|
"http-server": "^14.1.1",
|
|
"fflate": "^0.8.2",
|
|
"playwright": "^1.49.0",
|
|
"react": "^18.2.0",
|
|
"react-dom": "^18.2.0",
|
|
"typescript": "^6.0.3",
|
|
"vite": "^6.0.0",
|
|
"vitest": "^4.1.8"
|
|
}
|
|
}
|