mirror of
https://github.com/stack-auth/stack.git
synced 2026-06-13 21:01:21 +08:00
<!--
Make sure you've read the CONTRIBUTING.md guidelines:
https://github.com/stack-auth/stack-auth/blob/dev/CONTRIBUTING.md
-->
<!-- CURSOR_SUMMARY -->
---
> [!NOTE]
> Adds a new Cmd+K spotlight command palette with AI docs chat and app
navigation/install previews (dev-only trigger), plus a mock AI API,
design guide consolidation, and minor layout/UX tweaks.
>
> - **Dashboard UX**:
> - **Command Palette (Cmd+K)**: Implement `CmdKSearch` with nested
results, visual previews, and keyboard navigation; `CmdKTrigger` added
to header (development only).
> - **App Discovery**: Show installed apps and uninstalled apps with
preview, screenshots, tags, and one-click enable via
`getUninstalledAppIds`.
> - **AI Docs Chat**: Add `AIChatPreview` with streaming UI; integrates
with the palette.
> - **Mock AI API**: New `POST /api/ai-search` streaming endpoint using
`ai` mock model and system prompt.
> - **Sidebar/Layout**: Integrate palette into `sidebar-layout.tsx`;
small header/spacing tweaks; minor `PacificaCard` class fix;
`StackCompanion` drawer visibility/animation refinements.
> - **Dev UX**: New dismissible `DevelopmentPortDisplay` and imported
into root layout.
> - **Dependencies**: Add `ai`, `@ai-sdk/openai`, and `react-markdown`
to dashboard.
> - **Docs**: Replace `DESIGN_GUIDE.md` with comprehensive
`DESIGN-GUIDE.md`; update `AGENTS.md` with env var prefix rule.
>
> <sup>Written by [Cursor
Bugbot](https://cursor.com/dashboard?tab=bugbot) for commit
8640d15550. This will update automatically
on new commits. Configure
[here](https://cursor.com/dashboard?tab=bugbot).</sup>
<!-- /CURSOR_SUMMARY -->
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
* **New Features**
* AI-powered command palette/spotlight with rich previews, app
discovery, and streaming AI responses.
* Docs-backed AI search and an in-app conversational AI preview for
contextual queries.
* Dismissible development port banner visible in dev builds.
* **Bug Fixes / UX**
* Header layout and drawer/handle behavior improved for smoother
interactions.
* **Documentation**
* Dashboard design guide consolidated and replaced with a single
comprehensive design-system guide.
<sub>✏️ Tip: You can customize this high-level summary in your review
settings.</sub>
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
---------
Co-authored-by: Konstantin Wohlwend <n2d4xc@gmail.com>
97 lines
3.0 KiB
JSON
97 lines
3.0 KiB
JSON
{
|
|
"name": "@stackframe/stack-dashboard",
|
|
"version": "2.8.55",
|
|
"private": true,
|
|
"scripts": {
|
|
"clean": "rimraf .next && rimraf node_modules",
|
|
"typecheck": "tsc --noEmit",
|
|
"with-env": "dotenv -c development --",
|
|
"with-env:prod": "dotenv -c --",
|
|
"dev": "next dev --turbopack --port ${NEXT_PUBLIC_STACK_PORT_PREFIX:-81}01",
|
|
"build": "next build",
|
|
"docker-build": "next build --experimental-build-mode compile",
|
|
"analyze-bundle": "next experimental-analyze --serve",
|
|
"start": "next start --port ${NEXT_PUBLIC_STACK_PORT_PREFIX:-81}01",
|
|
"psql": "pnpm run with-env bash -c 'psql $STACK_DATABASE_CONNECTION_STRING'",
|
|
"lint": "eslint ."
|
|
},
|
|
"dependencies": {
|
|
"@ai-sdk/openai": "^1.3.23",
|
|
"ai": "^4.3.17",
|
|
"@assistant-ui/react": "^0.10.24",
|
|
"@assistant-ui/react-ai-sdk": "^0.10.14",
|
|
"@assistant-ui/react-markdown": "^0.10.5",
|
|
"@dnd-kit/core": "^6.3.1",
|
|
"@dnd-kit/sortable": "^10.0.0",
|
|
"@hookform/resolvers": "^3.3.4",
|
|
"@monaco-editor/react": "4.7.0",
|
|
"@phosphor-icons/react": "^2.1.10",
|
|
"@radix-ui/react-slot": "^1.2.3",
|
|
"@radix-ui/react-tooltip": "^1.1.3",
|
|
"@react-hook/resize-observer": "^2.0.2",
|
|
"@sentry/nextjs": "^10.11.0",
|
|
"@stackframe/stack": "workspace:*",
|
|
"@stackframe/stack-shared": "workspace:*",
|
|
"@stackframe/stack-ui": "workspace:*",
|
|
"@stripe/connect-js": "^3.3.27",
|
|
"@stripe/react-connect-js": "^3.3.24",
|
|
"@stripe/react-stripe-js": "^3.8.1",
|
|
"@stripe/stripe-js": "^7.7.0",
|
|
"@tanstack/react-table": "^8.20.5",
|
|
"@vercel/analytics": "^1.2.2",
|
|
"@vercel/speed-insights": "^1.0.12",
|
|
"browser-image-compression": "^2.0.2",
|
|
"canvas-confetti": "^1.9.2",
|
|
"clsx": "^2.0.0",
|
|
"dotenv-cli": "^7.3.0",
|
|
"export-to-csv": "^1.4.0",
|
|
"geist": "^1",
|
|
"jose": "^5.2.2",
|
|
"lodash": "^4.17.21",
|
|
"lucide-react": "^0.508.0",
|
|
"next": "16.0.7",
|
|
"next-themes": "^0.2.1",
|
|
"posthog-js": "^1.235.0",
|
|
"react": "19.2.1",
|
|
"react-dom": "19.2.1",
|
|
"react-globe.gl": "^2.28.2",
|
|
"react-hook-form": "^7.53.1",
|
|
"react-icons": "^5.0.1",
|
|
"react-markdown": "^9.0.1",
|
|
"react-syntax-highlighter": "^15.6.1",
|
|
"recharts": "^2.14.1",
|
|
"remark-gfm": "^4.0.1",
|
|
"svix": "^1.32.0",
|
|
"svix-react": "^1.13.0",
|
|
"tailwind-merge": "^2.3.0",
|
|
"tailwindcss-animate": "^1.0.7",
|
|
"three": "^0.169.0",
|
|
"use-debounce": "^10.0.5",
|
|
"yup": "^1.4.0"
|
|
},
|
|
"devDependencies": {
|
|
"@types/canvas-confetti": "^1.6.4",
|
|
"@types/lodash": "^4.17.5",
|
|
"@types/node": "20.17.6",
|
|
"@types/react": "19.2.2",
|
|
"@types/react-dom": "19.2.2",
|
|
"@types/react-syntax-highlighter": "^15.5.13",
|
|
"@types/three": "^0.169.0",
|
|
"autoprefixer": "^10.4.17",
|
|
"glob": "^10.4.1",
|
|
"import-in-the-middle": "1.14.2",
|
|
"postcss": "^8.4.38",
|
|
"require-in-the-middle": "^7.4.0",
|
|
"rimraf": "^5.0.5",
|
|
"tailwindcss": "^3.4.1",
|
|
"tsx": "^4.7.2"
|
|
},
|
|
"pnpm": {
|
|
"overrides": {
|
|
"@types/react": "19.2.2",
|
|
"@types/react-dom": "19.2.2"
|
|
}
|
|
},
|
|
"packageManager": "pnpm@10.23.0"
|
|
}
|