Files
pi2d/web/package.json
yuez d2e20d428a feat: session-first workspace activity and installable daemon
Workspaces page:
- list the newest sessions across workspaces in the activity column; the
  daemon exposes GET /api/v1/sessions/recent as a disk projection and the
  browser enriches live rows from the per-workspace session relay
- put recent activity first below 1100px and fix the mobile page-header
  flex-basis gap

Smoke:
- pin PI2_HOST=127.0.0.1 in both smoke scripts and make the startup-line
  assertion follow the configured host; the daemon default stays 0.0.0.0

Install:
- standalone binary build/install scripts, packaging templates, CI/release
  hooks, CLI-first install docs and the supporting config/doctor changes
2026-10-28 10:53:48 +08:00

61 lines
1.7 KiB
JSON

{
"name": "pi2-web",
"version": "0.1.0",
"private": true,
"type": "module",
"description": "pi2 web console — React port of the pi2 web UI prototype",
"engines": {
"node": ">=20"
},
"scripts": {
"dev": "vite",
"build": "tsc --noEmit && vite build",
"preview": "vite preview",
"test": "vitest",
"typecheck": "tsc --noEmit"
},
"dependencies": {
"@radix-ui/react-checkbox": "^1.4.1",
"@radix-ui/react-dialog": "^1.3.1",
"@radix-ui/react-dropdown-menu": "^2.2.1",
"@radix-ui/react-progress": "^1.2.1",
"@radix-ui/react-select": "^2.4.1",
"@radix-ui/react-slot": "^1.5.0",
"@radix-ui/react-switch": "^1.4.1",
"@radix-ui/react-tabs": "^1.2.1",
"@radix-ui/react-tooltip": "^1.4.1",
"@tanstack/react-query": "^5.104.5",
"@tanstack/react-router": "^1.170.45",
"@tanstack/react-virtual": "^3.14.21",
"class-variance-authority": "^0.7.1",
"clsx": "^2.1.1",
"cmdk": "^1.1.1",
"i18next": "^26.5.3",
"lucide-react": "^1.60.0",
"next-themes": "^0.4.6",
"react": "^19.3.1",
"react-dom": "^19.3.1",
"react-i18next": "^17.1.0",
"react-resizable-panels": "^4.14.8",
"sonner": "^2.0.8",
"tailwind-merge": "^3.7.0",
"vaul": "^1.1.2",
"zustand": "^5.0.15"
},
"devDependencies": {
"@tailwindcss/postcss": "^4.3.3",
"@testing-library/jest-dom": "^7.0.1",
"@testing-library/react": "^16.3.3",
"@types/node": "^22.19.0",
"@types/react": "^19.3.0",
"@types/react-dom": "^19.3.0",
"@vitejs/plugin-react": "^5.2.0",
"jsdom": "^30.1.3",
"postcss": "^8.5.6",
"tailwindcss": "^4.3.3",
"typescript": "^5.9.3",
"vite": "^7.3.7",
"vitest": "^5.0.5"
}
}