Files
deer-flow/web/package.json

136 lines
4.2 KiB
JSON
Raw Normal View History

2025-04-17 12:02:23 +08:00
{
2025-04-17 16:38:35 +08:00
"name": "deer-flow-web",
2025-04-17 12:02:23 +08:00
"version": "0.1.0",
"private": true,
"type": "module",
"scripts": {
"build": "next build",
"check": "next lint && tsc --noEmit",
"dev": "dotenv -f ../.env -- next dev --turbo",
2025-04-17 12:02:23 +08:00
"scan": "next dev & npx react-scan@latest localhost:3000",
"format:check": "prettier --check \"**/*.{ts,tsx,js,jsx,mdx}\" --cache",
"format:write": "prettier --write \"**/*.{ts,tsx,js,jsx,mdx}\" --cache",
"lint": "next lint",
"lint:fix": "next lint --fix",
"preview": "next build && next start",
"start": "next start",
"typecheck": "tsc --noEmit",
"test": "jest --watch",
"test:run": "jest",
"test:coverage": "jest --coverage"
2025-04-17 12:02:23 +08:00
},
"dependencies": {
"@ant-design/icons": "^6.0.0",
2025-04-23 21:16:58 +08:00
"@hookform/resolvers": "^5.0.1",
2025-04-24 15:40:49 +08:00
"@radix-ui/react-accordion": "^1.2.8",
"@radix-ui/react-checkbox": "^1.2.3",
"@radix-ui/react-collapsible": "^1.1.8",
2025-04-22 11:04:03 +08:00
"@radix-ui/react-dialog": "^1.1.10",
2025-04-20 11:18:05 +08:00
"@radix-ui/react-dropdown-menu": "^2.1.11",
feat: add citation support in research report block and markdown * feat: add citation support in research report block and markdown - Enhanced ResearchReportBlock to fetch citations based on researchId and pass them to the Markdown component. - Introduced CitationLink component to display citation metadata on hover for links in markdown. - Implemented CitationCard and CitationList components for displaying citation details and lists. - Updated Markdown component to handle citation links and inline citations. - Created HoverCard component for displaying citation information in a tooltip-like manner. - Modified store to manage citations, including setting and retrieving citations for ongoing research. - Added CitationsEvent type to handle citations in chat events and updated Message type to include citations. * fix(log): Enable the logging level when enabling the DEBUG environment variable (#793) * fix(frontend): render all tool calls in the frontend #796 (#797) * build(deps): bump jspdf from 3.0.4 to 4.0.0 in /web (#798) Bumps [jspdf](https://github.com/parallax/jsPDF) from 3.0.4 to 4.0.0. - [Release notes](https://github.com/parallax/jsPDF/releases) - [Changelog](https://github.com/parallax/jsPDF/blob/master/RELEASE.md) - [Commits](https://github.com/parallax/jsPDF/compare/v3.0.4...v4.0.0) --- updated-dependencies: - dependency-name: jspdf dependency-version: 4.0.0 dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * fix(frontend):added the display of the 'analyst' message #800 (#801) * fix: migrate from deprecated create_react_agent to langchain.agents.create_agent (#802) * fix: migrate from deprecated create_react_agent to langchain.agents.create_agent Fixes #799 - Replace deprecated langgraph.prebuilt.create_react_agent with langchain.agents.create_agent (LangGraph 1.0 migration) - Add DynamicPromptMiddleware to handle dynamic prompt templates (replaces the 'prompt' callable parameter) - Add PreModelHookMiddleware to handle pre-model hooks (replaces the 'pre_model_hook' parameter) - Update AgentState import from langchain.agents in template.py - Update tests to use the new API * fix:update the code with review comments * fix: Add runtime parameter to compress_messages method(#803) * fix: Add runtime parameter to compress_messages method(#803) The compress_messages method was being called by PreModelHookMiddleware with both state and runtime parameters, but only accepted state parameter. This caused a TypeError when the middleware executed the pre_model_hook. Added optional runtime parameter to compress_messages signature to match the expected interface while maintaining backward compatibility. * Update the code with the review comments * fix: Refactor citation handling and add comprehensive tests for citation features * refactor: Clean up imports and formatting across citation modules * fix: Add monkeypatch to clear AGENT_RECURSION_LIMIT in recursion limit tests * feat: Enhance citation link handling in Markdown component * fix: Exclude citations from finish reason handling in mergeMessage function * fix(nodes): update message handling * fix(citations): improve citation extraction and handling in event processing * feat(citations): enhance citation extraction and handling with improved merging and normalization * fix(reporter): update citation formatting instructions for clarity and consistency * fix(reporter): prioritize using Markdown tables for data presentation and comparison --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: LoftyComet <1277173875@qq。> Co-authored-by: Willem Jiang <willem.jiang@gmail.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-01-24 17:49:13 +08:00
"@radix-ui/react-hover-card": "^1.1.6",
"@radix-ui/react-icons": "^1.3.2",
2025-04-22 11:04:03 +08:00
"@radix-ui/react-label": "^2.1.4",
2025-04-26 00:20:49 +08:00
"@radix-ui/react-popover": "^1.1.11",
"@radix-ui/react-scroll-area": "^1.2.4",
2025-04-24 15:40:49 +08:00
"@radix-ui/react-select": "^2.2.2",
2025-04-22 11:04:03 +08:00
"@radix-ui/react-separator": "^1.1.4",
2025-05-02 17:23:45 +08:00
"@radix-ui/react-slider": "^1.3.2",
2025-04-17 12:02:23 +08:00
"@radix-ui/react-slot": "^1.2.0",
2025-04-24 15:50:41 +08:00
"@radix-ui/react-switch": "^1.2.2",
2025-04-17 12:02:23 +08:00
"@radix-ui/react-tabs": "^1.1.4",
"@radix-ui/react-tooltip": "^1.2.0",
"@rc-component/mentions": "^1.2.0",
2025-04-17 14:26:41 +08:00
"@t3-oss/env-nextjs": "^0.11.0",
2025-04-26 00:20:49 +08:00
"@tailwindcss/typography": "^0.5.16",
"@tiptap/extension-document": "^2.12.0",
"@tiptap/extension-mention": "^2.12.0",
2025-04-27 10:39:02 +08:00
"@tiptap/extension-table": "^2.11.7",
"@tiptap/extension-table-cell": "^2.11.7",
"@tiptap/extension-table-header": "^2.11.7",
"@tiptap/extension-table-row": "^2.11.7",
"@tiptap/extension-text": "^2.12.0",
"@tiptap/react": "^2.11.7",
"@types/dompurify": "^3.2.0",
"@types/js-cookie": "^3.0.6",
2025-04-29 14:12:36 +08:00
"@xyflow/react": "^12.6.0",
2025-04-17 12:02:23 +08:00
"best-effort-json-parser": "^1.1.3",
"class-variance-authority": "^0.7.1",
"clsx": "^2.1.1",
2025-04-26 00:20:49 +08:00
"cmdk": "^1.1.1",
"docx": "^9.5.1",
"dompurify": "^3.3.1",
"file-saver": "^2.0.5",
2025-04-17 12:02:23 +08:00
"framer-motion": "^12.6.5",
"hast": "^1.0.0",
2025-04-26 00:20:49 +08:00
"highlight.js": "^11.11.1",
"html2canvas": "^1.4.1",
2025-04-29 15:47:01 +08:00
"immer": "^10.1.1",
"js-cookie": "^3.0.5",
"jspdf": "^4.1.0",
2025-04-17 14:26:41 +08:00
"katex": "^0.16.21",
2025-04-26 00:20:49 +08:00
"lowlight": "^3.3.0",
2025-04-17 12:02:23 +08:00
"lru-cache": "^11.1.0",
"lucide-react": "^0.487.0",
"marked": "^17.0.1",
"motion": "^12.7.4",
2025-04-17 12:02:23 +08:00
"nanoid": "^5.1.5",
"next": "^15.5.10",
"next-intl": "^4.3.1",
2025-04-20 11:18:05 +08:00
"next-themes": "^0.4.6",
2025-04-26 00:20:49 +08:00
"novel": "^1.0.2",
2025-04-17 12:02:23 +08:00
"react": "^19.0.0",
"react-dom": "^19.0.0",
2025-04-23 21:16:58 +08:00
"react-hook-form": "^7.56.1",
2025-04-17 12:02:23 +08:00
"react-markdown": "^10.1.0",
"react-syntax-highlighter": "^15.6.1",
"rehype-katex": "^7.0.1",
"remark-gfm": "^4.0.1",
"remark-math": "^6.0.0",
2025-04-26 00:20:49 +08:00
"sonner": "^2.0.3",
2025-04-17 12:02:23 +08:00
"tailwind-merge": "^3.2.0",
"tippy.js": "^6.3.7",
2025-04-26 00:20:49 +08:00
"tiptap-markdown": "^0.8.10",
2025-04-17 12:02:23 +08:00
"tw-animate-css": "^1.2.5",
"unist-util-visit": "^5.0.0",
2025-04-26 00:20:49 +08:00
"use-debounce": "^10.0.4",
2025-04-17 12:02:23 +08:00
"use-stick-to-bottom": "^1.1.0",
2025-04-23 21:16:58 +08:00
"zod": "^3.24.3",
2025-04-17 12:02:23 +08:00
"zustand": "^5.0.3"
},
"devDependencies": {
"@eslint/eslintrc": "^3.3.1",
"@tailwindcss/postcss": "^4.0.15",
"@testing-library/dom": "^10.4.1",
"@testing-library/react": "^16.3.0",
"@types/file-saver": "^2.0.7",
2025-04-17 12:02:23 +08:00
"@types/hast": "^3.0.4",
"@types/jest": "^30.0.0",
2025-04-17 12:02:23 +08:00
"@types/node": "^20.14.10",
"@types/react": "^19.0.0",
"@types/react-dom": "^19.0.0",
"@types/react-syntax-highlighter": "^15.5.13",
2025-06-05 11:53:49 +08:00
"dotenv-cli": "^8.0.0",
2025-04-17 12:02:23 +08:00
"eslint": "^9.23.0",
"eslint-config-next": "^15.2.3",
"identity-obj-proxy": "^3.0.0",
"jest": "^30.2.0",
"jest-environment-jsdom": "^30.2.0",
2025-04-17 12:02:23 +08:00
"postcss": "^8.5.3",
"prettier": "^3.5.3",
"prettier-plugin-tailwindcss": "^0.6.11",
2025-04-22 13:52:56 +08:00
"raw-loader": "^4.0.2",
2025-04-17 12:02:23 +08:00
"tailwindcss": "^4.0.15",
"ts-jest": "^29.4.5",
2025-04-17 12:02:23 +08:00
"typescript": "^5.8.2",
"typescript-eslint": "^8.27.0"
},
"ct3aMetadata": {
"initVersion": "7.39.3"
},
2025-04-20 11:18:05 +08:00
"packageManager": "pnpm@10.6.5",
"pnpm": {
"ignoredBuiltDependencies": [
"sharp"
]
}
}