Every removed symbol has no reference anywhere in the tree (Python AST and TypeScript identifier scans over all tracked files, including tests, docs, WebUI/TUI clients, and JSON/YAML data): - nanobot/webui/settings_api.py: four aliases with no importer and no in-module use; the helpers that tests still import stay. - nanobot/sdk/types.py: snapshot_from_payload had no caller since session restore moved to snapshot_from_session. - nanobot/session/jsonl_migration.py: INTRODUCED_VERSION and LAST_SUPPORTED_RELEASE_LINE duplicated the module docstring. - nanobot/providers/transcription.py: StepFunTranscriptionProvider._DEFAULT_URL was superseded by _resolve_stepfun_asr_url. - nanobot/channels/whatsapp_agent/protocol.py: CODE_MISSING_AUTH is neither exported nor compared; validation still checks the wire value 190. - webui/src/lib/canonical-run-snapshot.ts: canonicalRunSnapshot had no caller. - webui/src/components/icons/product-icons.tsx: SendIcon and RunningTaskIcon are not rendered anywhere. - webui/src/components/thread/AgentActivityCluster.tsx: drop an unused isAgentActivityMember re-export and its import. - webui: drop the unused micromark-util-decode-string dependency. Framework-dispatched code (Typer commands, pydantic validators, pytest hooks and fixtures, channel runtime classes, ast visitor hooks) was excluded from the scans, so the change removes only code nothing references.
92 lines
3.0 KiB
JSON
92 lines
3.0 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": {
|
|
"@pierre/diffs": "1.6.4",
|
|
"@pierre/highlights": "0.4.0",
|
|
"@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",
|
|
"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",
|
|
"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",
|
|
"shiki": "4.6.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",
|
|
"@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"
|
|
}
|
|
}
|