* feat(webui): inspect file context in a live graph sidebar * refactor(webui): place preview controls in the shared sidebar header * fix(webui): synchronize npm lockfile for graph dependencies * fix(webui): preserve compacted context and refine graph inspection * fix(context): harden provenance, request usage, and drawer lifecycle * fix(webui): align source skeleton and browser fixtures * perf(context): reuse source analysis and capture request graphs once * perf(webui): compact graph history and render graph motion on canvas * fix(webui): remove redundant context sidebar header * style(webui): clarify context replay icon * perf(webui): pace context replay on an adaptive timeline * feat(webui): briefly reveal labels for new context nodes * fix(webui): reveal new labels only for loaded context files * fix(webui): restart graph animation clock after idle * fix(webui): reveal labels when replay reverses node exit * refactor(context): project file-use facts without retention tracking * refactor(context): observe file reads outside agent execution * fix(webui): animate context sidebar closing * refactor(context): remove unused graph and usage panel code * refactor(context): isolate prompt observation from execution metadata * fix(webui): clarify cache rate and show context token usage * fix(webui): abbreviate context token counts in thousands * fix(webui): omit token unit from context usage details * fix(webui): restore large source preview highlighting and panel elevation * fix(webui): distinguish modifier scrolling from keyboard focus * fix(webui): align preview tab and panel corner radii * fix(webui): attach file tabs to the header divider * fix(webui): use one action to toggle file preview mode * fix(webui): use hover hint for context replay * fix(webui): share composer layout between graph and file sidebars * fix(webui): align sidebar bottom with composer surface * fix(webui): restore mobile graph drawing and touch file details * test(webui): align legacy cache assertions with current label * perf(context): retain source analysis and bound graph animation work * style(webui): add light elevation to user messages * test(webui): await lazy graph scene before replay assertions * fix(webui): align preview skeleton and browser contracts
92 lines
3.1 KiB
JSON
92 lines
3.1 KiB
JSON
{
|
|
"name": "nanobot-webui",
|
|
"private": true,
|
|
"version": "0.1.0",
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "vite",
|
|
"gallery": "vite --open /gallery.html",
|
|
"build": "tsc -p tsconfig.build.json && vite build",
|
|
"preview": "vite preview",
|
|
"typecheck": "tsc -p tsconfig.json",
|
|
"test": "vitest run",
|
|
"test:coverage": "vitest run --coverage",
|
|
"test:watch": "vitest",
|
|
"test:browser": "tsc -p tsconfig.browser.json && playwright test",
|
|
"check:imports": "bun ../scripts/check_client_import_boundaries.mjs --project webui",
|
|
"test:imports": "bun test ../scripts/check_client_import_boundaries.test.mjs",
|
|
"lint": "cd .. && eslint --config webui/eslint.config.js webui/src webui/browser \"nanobot/channels/*/webui/**/*.{ts,tsx}\" \"nanobot/channels/*/tests/webui/**/*.{ts,tsx}\" \"scripts/check_client_import_boundaries*.mjs\" --max-warnings 0"
|
|
},
|
|
"dependencies": {
|
|
"@radix-ui/react-alert-dialog": "^1.1.4",
|
|
"@radix-ui/react-dialog": "^1.1.4",
|
|
"@radix-ui/react-dropdown-menu": "^2.1.4",
|
|
"@radix-ui/react-menu": "2.1.16",
|
|
"@radix-ui/react-popover": "1.1.15",
|
|
"@radix-ui/react-select": "2.2.6",
|
|
"@radix-ui/react-slot": "^1.1.1",
|
|
"@radix-ui/react-tooltip": "^1.1.6",
|
|
"class-variance-authority": "^0.7.1",
|
|
"clsx": "^2.1.1",
|
|
"css-tree": "3.1.0",
|
|
"d3-force": "^3.0.1",
|
|
"diff": "^9.0.0",
|
|
"i18next": "^26.0.6",
|
|
"lucide-react": "^0.469.0",
|
|
"micromark-factory-space": "^2.0.1",
|
|
"micromark-util-decode-string": "^2.0.1",
|
|
"motion": "^14.4.0",
|
|
"pele": "1.9.0",
|
|
"qrcode": "^1.5.4",
|
|
"react": "^18.3.1",
|
|
"react-dom": "^18.3.1",
|
|
"react-i18next": "^17.0.4",
|
|
"react-syntax-highlighter": "^15.6.1",
|
|
"rehype-katex": "^7.0.1",
|
|
"remark-breaks": "^4.0.0",
|
|
"remark-cjk-friendly": "2.3.3",
|
|
"remark-gfm": "^4.0.0",
|
|
"remark-math": "^6.0.0",
|
|
"remark-parse": "^11.0.0",
|
|
"remend": "1.3.0",
|
|
"saxes": "6.0.0",
|
|
"streamdown": "2.6.0",
|
|
"tailwind-merge": "^2.6.0",
|
|
"unified": "^11.0.5"
|
|
},
|
|
"devDependencies": {
|
|
"@eslint/js": "^10.0.1",
|
|
"@playwright/test": "1.64.1",
|
|
"@tailwindcss/typography": "^0.5.19",
|
|
"@testing-library/jest-dom": "^6.6.3",
|
|
"@testing-library/react": "^16.1.0",
|
|
"@testing-library/user-event": "^14.5.2",
|
|
"@types/css-tree": "^2.3.10",
|
|
"@types/d3-force": "^3.0.10",
|
|
"@types/node": "^24.0.0",
|
|
"@types/mdast": "^4.0.4",
|
|
"@types/qrcode": "^1.5.6",
|
|
"@types/react": "^18.3.18",
|
|
"@types/react-dom": "^18.3.5",
|
|
"@types/react-syntax-highlighter": "^15.5.13",
|
|
"@vitejs/plugin-react": "^4.3.4",
|
|
"@vitest/coverage-v8": "2.1.9",
|
|
"autoprefixer": "^10.4.20",
|
|
"eslint": "^10.4.0",
|
|
"eslint-plugin-react-hooks": "^7.1.1",
|
|
"globals": "^17.6.0",
|
|
"happy-dom": "^16.3.0",
|
|
"katex": "^0.16.21",
|
|
"micromark-util-types": "^2.0.2",
|
|
"micromark-extension-math": "^3.1.0",
|
|
"micromark-extension-gfm-autolink-literal": "^2.1.0",
|
|
"postcss": "^8.5.0",
|
|
"tailwindcss": "^3.4.17",
|
|
"tailwindcss-animate": "^1.0.7",
|
|
"typescript": "^5.7.2",
|
|
"typescript-eslint": "^8.59.4",
|
|
"vite": "^5.4.11",
|
|
"vitest": "^2.1.8"
|
|
}
|
|
}
|