- Five-region CSS grid shell (TopBar, LeftNav, Main, StatusFooter; Inspector collapsed)
- Ten placeholder routes with EmptyState cli/string variants and ApiErrorBoundary
- Extended EmptyState API: nextAction accepts string (button) | { kind: "cli", command }
- Updated CommandPalette: real fuzzy search over three commands (Chat, Proposals, Evals)
with ↑/↓/Enter keyboard nav and useInRouterContext degradation for Branch 1 preview
- TanStack Query hooks for all W-026 endpoints; 30s polling on runtime/status
- TypeScript mirror of workbench/schemas.py at src/types/api.ts
- StatusFooter: mutation_mode badge, git_revision (copy on click), checkpoint_revision
with amber warning + ADR-0157/ADR-0158 expansion note
- TopBar: CORE Workbench wordmark, ⌘K palette trigger, connection pill
- ApiErrorBoundary (class component) catches WorkbenchApiError → ErrorState
- scripts/dump-api-schemas.py: AST-based Python dataclass field extractor
- workbench-ui/api-schema-snapshot.json: checked-in drift sentinel
- 51 tests across 10 files (0 failures); enum-coverage 4/4; clean vite build
47 lines
1.4 KiB
JSON
47 lines
1.4 KiB
JSON
{
|
|
"name": "core-workbench-ui",
|
|
"version": "0.1.0",
|
|
"private": true,
|
|
"type": "module",
|
|
"scripts": {
|
|
"prebuild": "pnpm generate:tokens",
|
|
"build": "tsc -b && vite build",
|
|
"dev": "vite --host 127.0.0.1",
|
|
"preview": "vite preview --host 127.0.0.1",
|
|
"test": "vitest run",
|
|
"test:enum-coverage": "pnpm enum:snapshot && vitest run src/design/components/badges/enumCoverage.test.ts",
|
|
"generate:tokens": "tsx scripts/generate-tokens.ts",
|
|
"enum:snapshot": "cd .. && uv run python scripts/dump-enums.py > workbench-ui/enum-snapshot.json"
|
|
},
|
|
"dependencies": {
|
|
"@radix-ui/react-dialog": "1.1.15",
|
|
"@radix-ui/react-popover": "1.1.15",
|
|
"@radix-ui/react-slot": "1.2.3",
|
|
"@tanstack/react-query": "5",
|
|
"class-variance-authority": "0.7.1",
|
|
"clsx": "2.1.1",
|
|
"lucide-react": "0.468.0",
|
|
"react": "18.3.1",
|
|
"react-dom": "18.3.1",
|
|
"react-router-dom": "6",
|
|
"tailwind-merge": "2.6.0"
|
|
},
|
|
"devDependencies": {
|
|
"@testing-library/jest-dom": "6.6.3",
|
|
"@testing-library/react": "16.1.0",
|
|
"@testing-library/user-event": "14.5.2",
|
|
"@types/node": "22.10.2",
|
|
"@types/react": "18.3.17",
|
|
"@types/react-dom": "18.3.5",
|
|
"@vitejs/plugin-react": "4.3.4",
|
|
"autoprefixer": "10.4.20",
|
|
"happy-dom": "15.11.7",
|
|
"postcss": "8.4.49",
|
|
"tailwindcss": "3.4.17",
|
|
"tsx": "4.19.2",
|
|
"typescript": "5.7.2",
|
|
"vite": "5.4.11",
|
|
"vitest": "2.1.8"
|
|
},
|
|
"packageManager": "pnpm@9.15.0"
|
|
}
|