Replace hand-rolled pointer-resize logic (TaskContextPanel's 3-way vertical split, SessionChatWindow's rail, ChatThread's message/input split) with svelte-splitpanes, themed onto the app's existing border/primary tokens. - TaskContextPanel: Scope/Plan/Event-log sections collapse to a fixed header height and restore their last size on reopen. - ChatThread: input area is now a separate resizable pane, clamped to a measured one-line minimum and a 45% max, instead of a fixed max-h textarea. - Send button restyled to sit inside the input's corner (Claude-style), swapping the up-arrow for a corner-down-left return icon. - Adds a $app/environment shim + optimizeDeps exclude, since svelte-splitpanes assumes SvelteKit and this is a plain Vite app. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
53 lines
1.4 KiB
JSON
53 lines
1.4 KiB
JSON
{
|
|
"name": "oikos-web",
|
|
"private": true,
|
|
"version": "0.1.0",
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "vite",
|
|
"build": "vite build",
|
|
"preview": "vite preview",
|
|
"check": "svelte-check --tsconfig ./tsconfig.json",
|
|
"typecheck": "tsc --noEmit",
|
|
"lint": "eslint .",
|
|
"lint:fix": "eslint . --fix",
|
|
"format": "prettier --write .",
|
|
"format:check": "prettier --check .",
|
|
"test": "vitest run",
|
|
"test:watch": "vitest"
|
|
},
|
|
"devDependencies": {
|
|
"@lucide/svelte": "^1.23.0",
|
|
"@sveltejs/vite-plugin-svelte": "^5.0.0",
|
|
"@tailwindcss/vite": "^4.3.2",
|
|
"@tsconfig/svelte": "^5.0.0",
|
|
"@types/d3-force": "^3.0.10",
|
|
"bits-ui": "^2.18.1",
|
|
"eslint": "^9.0.0",
|
|
"eslint-plugin-svelte": "^2.46.0",
|
|
"globals": "^15.0.0",
|
|
"jsdom": "^25.0.0",
|
|
"prettier": "^3.3.0",
|
|
"prettier-plugin-svelte": "^3.3.0",
|
|
"svelte": "^5.0.0",
|
|
"svelte-check": "^4.0.0",
|
|
"svelte-sonner": "^1.1.1",
|
|
"tailwind-variants": "^3.2.2",
|
|
"tailwindcss": "^4.3.2",
|
|
"typescript": "^5.5.0",
|
|
"typescript-eslint": "^8.0.0",
|
|
"vite": "^6.0.0",
|
|
"vitest": "^2.0.0"
|
|
},
|
|
"dependencies": {
|
|
"@surdeddd/wmkit": "^0.3.0",
|
|
"clsx": "^2.1.1",
|
|
"d3-force": "^3.0.0",
|
|
"dompurify": "^3.4.11",
|
|
"marked": "^18.0.5",
|
|
"svelte-splitpanes": "^8.0.12",
|
|
"tailwind-merge": "^3.6.0",
|
|
"uplot": "^1.6.32"
|
|
}
|
|
}
|