- EvidenceChainRail: the spine's seven stages rendered per subject with the honesty contract — lit/hollow/dim derive ONLY from carried fields (a trace hash lights 'replay' as RECORDED, never as verified); pure deriveStages() with meaningfully-fail tests (remove one field -> exactly its stage hollows). - Hash display standard: DigestBadge default 12-char + copy everywhere; CopyableHash consolidated away (2 call sites swapped, file deleted). - Typography: tabular-nums on MetadataTable values + eval metrics; text-wrap balance on Panel titles + EmptyState statements. - Selection unification: new --color-selected-bg/-border tokens; selected (persistent) vs focused (transient) now visually distinct across Proposals/Replay/Evals lists; focus-ring no longer doubles as selection. - EmptyState gains a deterministic monochrome inline-SVG glyph. - Panel adopted in Evals lane list + Proposals queue. - Doctrine-as-tests: hexScan (no palette literals outside tokens.css/ generated tokens.ts) + schemaDrift gate (scripts/dump-schemas.py AST walk -> schema-snapshot.json -> every dataclass field mirrored in types/api.ts; explicit shrink-only NOT_YET_MIRRORED debt list). The drift gate caught real drift on first run: ChatTurnResult.turn_id existed in Python, missing from TS — now mirrored. Verified: build green; vitest 36 files / 279 tests EXIT=0; playwright 12/12; dump-schemas.py runs clean.
51 lines
1.7 KiB
JSON
51 lines
1.7 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:e2e": "playwright test",
|
|
"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",
|
|
"schema:snapshot": "cd .. && uv run python scripts/dump-schemas.py > workbench-ui/schema-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",
|
|
"@tanstack/react-virtual": "3.14.2",
|
|
"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": {
|
|
"@playwright/test": "1.60.0",
|
|
"@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"
|
|
}
|