mirror of
https://github.com/HKUDS/DeepTutor.git
synced 2026-12-03 16:31:17 +08:00
Per-account MCP Services and CLI Apps — the two ways a deployment plugs in tools DeepTutor never shipped — plus the isolation that makes them safe on a shared install. - MCP Services: a 45-entry curated store of hosted servers each account installs for itself, OAuth 2.1 (PKCE + dynamic client registration) for the servers that require it, static keys held by reference and resolved in memory at connect time, stdio refused for self-service. Settings no longer configures MCP; /settings/mcp redirects to the store. - CLI Apps: 101 tools snapshotted from the two CLI-Anything registries. Installs are admin-only, the registry's install_cmd is parsed into an argv we build rather than executed, npm install scripts are forced off, and 66 first-party entries are pinned to one reviewed commit. Apps land in data/cli-apps, one environment each, mounted read-only into the runner. - Credentials that authorise a person move to data/system, the one branch the exec sandbox never mounts: Codex tokens relocate themselves on first use (refusing to follow a symlink), per-user MCP configs and keys land beside them. - Grants gain a cli_apps whitelist with the same deny-by-default posture as MCP tools; a per-turn registry view keeps one owner's provider tools out of the process-global registry and refuses an unauthorised tool at execute, not just in the manifest. - The composer reports what filled this turn's context window, a gutter rail jumps back through long conversations, and the workspace collapses to a drawer on small screens. - The composer keeps focus after sending and across tab switches (#720); released images carry provenance and SBOM attestations (#722). README prose, all ten translated READMEs, and the docs-site pages that named Settings → MCP are updated to match. Release notes: assets/releases/ver1-5-7.md
63 lines
2.0 KiB
JSON
63 lines
2.0 KiB
JSON
{
|
|
"name": "opentutor-web",
|
|
"version": "1.0.0",
|
|
"private": true,
|
|
"scripts": {
|
|
"dev": "node --max-old-space-size=4096 ./node_modules/next/dist/bin/next dev",
|
|
"dev:turbo": "node --max-old-space-size=6144 ./node_modules/next/dist/bin/next dev --turbopack",
|
|
"build": "next build",
|
|
"start": "next start",
|
|
"lint": "eslint .",
|
|
"test:node": "node ./scripts/run-node-tests.mjs",
|
|
"perf:check": "node ./scripts/route_budgets.mjs",
|
|
"build:perf": "npm run build && npm run perf:check",
|
|
"i18n:parity": "node ./scripts/i18n_parity.mjs",
|
|
"i18n:audit": "node ./scripts/i18n_audit.mjs",
|
|
"i18n:audit:strict": "node ./scripts/i18n_audit.mjs --strict",
|
|
"i18n:check": "npm run i18n:parity && npm run i18n:audit",
|
|
"audit": "playwright test --project=ui-audit",
|
|
"audit:ui": "playwright test --ui --project=ui-audit",
|
|
"audit:report": "playwright show-report",
|
|
"build:brand-icons": "tsx ./scripts/build-brand-icons.mts"
|
|
},
|
|
"dependencies": {
|
|
"chart.js": "^4.5.1",
|
|
"clsx": "^2.1.1",
|
|
"cytoscape": "^3.33.1",
|
|
"docx-preview": "^0.3.7",
|
|
"exceljs": "^4.4.0",
|
|
"framer-motion": "^12.24.0",
|
|
"html2canvas": "^1.4.1",
|
|
"i18next": "^25.8.0",
|
|
"jspdf": "^4.2.0",
|
|
"lucide-react": "^0.562.0",
|
|
"mermaid": "^11.14.0",
|
|
"next": "^16.2.3",
|
|
"react": "^19.0.0",
|
|
"react-chartjs-2": "^5.3.1",
|
|
"react-dom": "^19.0.0",
|
|
"react-i18next": "^16.5.3",
|
|
"react-markdown": "^10.1.0",
|
|
"react-syntax-highlighter": "^16.1.1",
|
|
"rehype-katex": "^7.0.1",
|
|
"rehype-raw": "^7.0.0",
|
|
"remark-gfm": "^4.0.0",
|
|
"remark-math": "^6.0.0",
|
|
"tailwind-merge": "^3.4.0"
|
|
},
|
|
"devDependencies": {
|
|
"@playwright/test": "^1.53.2",
|
|
"@types/node": "^25",
|
|
"@types/react": "^19",
|
|
"@types/react-dom": "^19",
|
|
"@types/react-syntax-highlighter": "^15.5.13",
|
|
"autoprefixer": "^10.4.20",
|
|
"eslint": "^9",
|
|
"eslint-config-next": "16.2.3",
|
|
"postcss": "^8",
|
|
"simple-icons": "^16.27.1",
|
|
"tailwindcss": "^3.4.17",
|
|
"typescript": "^5"
|
|
}
|
|
}
|