lobehub/package.json

404 lines
15 KiB
JSON
Raw Normal View History

{
2023-05-21 15:45:37 +00:00
"name": "@lobehub/chat",
"version": "1.141.6",
2023-12-13 09:42:26 +00:00
"description": "Lobe Chat - an open-source, high-performance chatbot framework that supports speech synthesis, multimodal, and extensible Function Call plugin system. Supports one-click free deployment of your private ChatGPT/LLM web application.",
"keywords": [
2023-12-13 09:42:26 +00:00
"framework",
"chatbot",
2023-12-13 09:42:26 +00:00
"chatgpt",
"nextjs",
"vercel-ai",
"openai",
"azure-openai",
"visual-model",
"tts",
"stt"
],
"homepage": "https://github.com/lobehub/lobe-chat",
"bugs": {
"url": "https://github.com/lobehub/lobe-chat/issues/new/choose"
},
"repository": {
"type": "git",
"url": "https://github.com/lobehub/lobe-chat.git"
},
"license": "MIT",
"author": "LobeHub <i@lobehub.com>",
"sideEffects": false,
"workspaces": [
"packages/*"
],
"scripts": {
"prebuild": "tsx scripts/prebuild.mts && npm run lint",
✨ feat: Add MCP marketplace and mcp plugin one-click installation in desktop (#8334) * move plugin Component * ✨ feat(wip): Add MCP Discover Market * ✅ test: Fix test * ✅ test: Fix test * 🐛 fix: Fix build * 🐛 fix: Fix build * 💄 style: update plugin store * 💄 style: Update plugin store * ✨ feat: Update cache control headers and optimize Next.js config for performance * 💄 style: Update discover markdown * 💄 style: Update scroes step * 优化 list 细节 * 优化 list 细节 * 优化 list 细节 * 完成基础 mcp 安装实现 * 完成安装上报 * 新增安装过程 * fix * 优化插件设置页面配置 * 💄 style: update official icon * 完善安装错误状态 * 支持取消安装 * fix types * fix types * 完成系统依赖检查流程 * 完成系统依赖安装流程上报 * try to fix suspense * try to fix suspense * try to fix suspense * try to fix tests * upgrade electron * fix suspense * fix tool name issue * fix test * add i18n * fix tool call * ✅ test: fix tests * move * fix tests * refactor plugin install store * improve old plugin install * fix * fix header link * fix plugin detail * fix oldPlugin detail * fix tests * update i18n * fix i18n * 💄 style: improve style * add debug log * fix link * improve * fix link * 🚚 refactor: refactor the market runtime to nodejs * 移除 props.searchParams 调用 * ✅ test: fix tests * 尝试静态化 discover page * ♻️ refactor: refactor config to nodejs runtime * fix min width * 修正自定义插件的编辑展示区域 * fix i18n * 调整部分组件目录结构 * 完善 MCP 市场安装流程 * 完善安装上报事件 * test: fix test * ✨ feat: 实现 m2m oauth 请求 * ✨ feat: 完善 m2m 注册链路 * ✨ feat: 完善 m2m 注册链路 * 🐛 fix: 优化 debug 日志输出问题 * ✨ feat: 支持 call 上报 * 💄 style: 使用更大的版本 * 🐛 fix: tools calling report * 🐛 fix: try to fix call report * 🐛 fix: try to use expires cookies * 🐛 fix: fix cookies expires issue * test: fix customPluginInfo report * 🐛 fix: fix connection issue * 🐛 fix: fix platform report * 🐛 fix: fix version issue --------- Co-authored-by: canisminor1990 <i@canisminor.cc>
2025-07-08 11:51:22 +00:00
"build": "cross-env NODE_OPTIONS=--max-old-space-size=6144 next build",
"postbuild": "npm run build-sitemap && npm run build-migrate-db",
"build-migrate-db": "bun run db:migrate",
"build-sitemap": "tsx ./scripts/buildSitemapIndex/index.ts",
"build:analyze": "NODE_OPTIONS=--max-old-space-size=6144 ANALYZE=true next build",
"build:docker": "npm run prebuild && NODE_OPTIONS=--max-old-space-size=6144 DOCKER=true next build && npm run build-sitemap",
"prebuild:electron": "cross-env NEXT_PUBLIC_IS_DESKTOP_APP=1 tsx scripts/prebuild.mts",
"build:electron": "cross-env NODE_OPTIONS=--max-old-space-size=6144 NEXT_PUBLIC_IS_DESKTOP_APP=1 NEXT_PUBLIC_SERVICE_MODE=server next build",
"clean:node_modules": "bash -lc 'set -e; echo \"Removing all node_modules...\"; rm -rf node_modules; pnpm -r exec rm -rf node_modules; rm -rf apps/desktop/node_modules; echo \"All node_modules removed.\"'",
"db:generate": "drizzle-kit generate && npm run db:generate-client && npm run workflow:dbml",
"db:generate-client": "tsx ./scripts/migrateClientDB/compile-migrations.ts",
"db:migrate": "MIGRATION_DB=1 tsx ./scripts/migrateServerDB/index.ts",
"db:studio": "drizzle-kit studio",
"db:visualize": "dbdocs build docs/development/database-schema.dbml --project lobe-chat",
"desktop:build": "npm run desktop:build-next && npm run desktop:prepare-dist && npm run desktop:build-electron",
"desktop:build-electron": "tsx scripts/electronWorkflow/buildElectron.ts",
"desktop:build-local": "npm run desktop:build-next && npm run desktop:prepare-dist && npm run build-local --prefix=./apps/desktop",
"desktop:build-next": "npm run build:electron",
"desktop:prepare-dist": "tsx scripts/electronWorkflow/moveNextStandalone.ts",
"dev": "next dev --turbopack -p 3010",
"dev:desktop": "next dev --turbopack -p 3015",
"dev:mobile": "next dev --turbopack -p 3018",
"docs:i18n": "lobe-i18n md && npm run lint:md && npm run lint:mdx && prettier -c --write locales/**/*",
"docs:seo": "lobe-seo && npm run lint:mdx",
"e2e": "playwright test",
"e2e:install": "playwright install",
"e2e:ui": "playwright test --ui",
"i18n": "npm run workflow:i18n && lobe-i18n && prettier -c --write \"locales/**\"",
"lint": "npm run lint:ts && npm run lint:style && npm run type-check && npm run lint:circular",
"lint:circular": "npm run lint:circular:main && npm run lint:circular:packages",
"lint:circular:main": "dpdm src/**/*.ts --no-warning --no-tree --exit-code circular:1 --no-progress -T true --skip-dynamic-imports circular",
"lint:circular:packages": "dpdm packages/**/src/**/*.ts --no-warning --no-tree --exit-code circular:1 --no-progress -T true --skip-dynamic-imports circular",
"lint:md": "remark . --silent --output",
"lint:mdx": "npm run workflow:mdx && remark \"docs/**/*.mdx\" -r ./.remarkrc.mdx.js --silent --output && eslint \"docs/**/*.mdx\" --quiet --fix",
"lint:style": "stylelint \"{src,tests}/**/*.{js,jsx,ts,tsx}\" --fix",
"lint:ts": "eslint \"{src,tests}/**/*.{js,jsx,ts,tsx}\" --fix",
"prepare": "husky",
2023-05-21 07:42:20 +00:00
"prettier": "prettier -c --write \"**/**\"",
"pull": "git pull",
"reinstall": "rm -rf pnpm-lock.yaml && rm -rf node_modules && pnpm -r exec rm -rf node_modules && pnpm install",
"reinstall:desktop": "rm -rf pnpm-lock.yaml && rm -rf node_modules && pnpm -r exec rm -rf node_modules && pnpm install --node-linker=hoisted",
2023-05-21 07:34:04 +00:00
"release": "semantic-release",
"self-hosting:docker": "docker build -t lobe-chat:local .",
"self-hosting:docker-cn": "docker build -t lobe-chat-local --build-arg USE_CN_MIRROR=true .",
"self-hosting:docker-cn@database": "docker build -t lobe-chat-database-local -f Dockerfile.database --build-arg USE_CN_MIRROR=true .",
"start": "next start -p 3210",
2023-05-21 07:42:20 +00:00
"stylelint": "stylelint \"src/**/*.{js,jsx,ts,tsx}\" --fix",
"test": "npm run test-app && npm run test-server",
"test-app": "vitest run",
"test-app:coverage": "vitest --coverage --silent='passed-only'",
"test:update": "vitest -u",
"type-check": "tsgo --noEmit",
"webhook:ngrok": "ngrok http http://localhost:3011",
"workflow:cdn": "tsx ./scripts/cdnWorkflow/index.ts",
"workflow:changelog": "tsx ./scripts/changelogWorkflow/index.ts",
"workflow:countCharters": "tsx scripts/countEnWord.ts",
"workflow:dbml": "tsx ./scripts/dbmlWorkflow/index.ts",
"workflow:docs": "tsx ./scripts/docsWorkflow/index.ts",
"workflow:i18n": "tsx ./scripts/i18nWorkflow/index.ts",
"workflow:mdx": "tsx ./scripts/mdxWorkflow/index.ts",
"workflow:readme": "tsx ./scripts/readmeWorkflow/index.ts",
"workflow:set-desktop-version": "tsx ./scripts/electronWorkflow/setDesktopVersion.ts"
},
"lint-staged": {
"*.md": [
"remark --silent --output --",
"prettier --write --no-error-on-unmatched-pattern"
],
"*.mdx": [
"remark -r ./.remarkrc.mdx.js --silent --output --",
"eslint --quiet --fix"
],
"*.json": [
"prettier --write --no-error-on-unmatched-pattern"
],
"*.{mjs,cjs}": [
"prettier --write",
"eslint --fix"
],
"*.{js,jsx}": [
"prettier --write",
"stylelint --fix",
"eslint --fix"
],
"*.{ts,tsx}": [
"prettier --parser=typescript --write",
"stylelint --fix",
"eslint --fix"
]
},
"overrides": {
"mdast-util-gfm-autolink-literal": "2.0.0"
},
"dependencies": {
"@ant-design/icons": "^5.6.1",
"@ant-design/pro-components": "^2.8.10",
"@anthropic-ai/sdk": "^0.67.0",
"@auth/core": "^0.40.0",
"@aws-sdk/client-s3": "~3.893.0",
"@aws-sdk/s3-request-presigner": "~3.893.0",
"@azure-rest/ai-inference": "1.0.0-beta.5",
"@azure/core-auth": "^1.10.1",
"@cfworker/json-schema": "^4.1.1",
🐛 fix(bedrock): add parameter conflict handling for Claude 4+ models (#9627) * fix(bedrock): add parameter conflict handling for Claude 4+ models - Add logic to prevent sending both temperature and top_p for Claude 4+ models - Matches existing implementation in Anthropic provider - Fixes ValidationException error for Claude 4.5 models via Bedrock - Includes support for both standard and Bedrock-specific model IDs Fixes #9523 🤖 Generated with [Claude Code](https://claude.ai/code) Co-authored-by: Arvin Xu <arvinxx@users.noreply.github.com> * 🧪 test(bedrock): add parameter conflict handling tests Add comprehensive tests for Claude 4+ models parameter conflict detection: - Test temperature preference over top_p when both provided - Test top_p usage when temperature not provided - Test both parameters allowed for non-Claude-4+ models - Test standard and Bedrock-specific model ID formats - Test US region model IDs 🤖 Generated with [Claude Code](https://claude.ai/code) Co-authored-by: Arvin Xu <arvinxx@users.noreply.github.com> * 🔧 fix: make temperature optional in ChatStreamPayload interface The temperature property should be optional to support test cases and scenarios where only top_p is provided. This resolves TypeScript error TS2741 in Bedrock provider tests. Co-authored-by: Arvin Xu <arvinxx@users.noreply.github.com> * 🔧 fix: correct test assertions to handle JSON.stringify undefined omission - Remove undefined properties from test expectations since JSON.stringify omits them - Fix temperature/top_p conflict test assertions for Claude 4+ models - Ensure tests match actual JSON serialization behavior 🤖 Generated with [Claude Code](https://claude.ai/code) Co-authored-by: Arvin Xu <arvinxx@users.noreply.github.com> * 🔧 fix: add null safety checks for optional temperature parameter - Added proper undefined checks before temperature arithmetic operations in anthropic and bedrock providers - Added null checks before temperature comparisons in groq, perplexity, and search1api providers - Resolves TS18048 errors where temperature is possibly undefined - Maintains existing logic while satisfying TypeScript strict null checks Co-authored-by: Arvin Xu <arvinxx@users.noreply.github.com> * refactor with parameterResolver * upgrade * upgrade swr * refactor context-builder --------- Co-authored-by: claude[bot] <209825114+claude[bot]@users.noreply.github.com> Co-authored-by: Arvin Xu <arvinxx@users.noreply.github.com>
2025-10-11 07:08:26 +00:00
"@clerk/localizations": "^3.25.7",
"@clerk/nextjs": "^6.33.3",
"@clerk/themes": "^2.4.25",
"@codesandbox/sandpack-react": "^2.20.0",
🐛 fix(bedrock): add parameter conflict handling for Claude 4+ models (#9627) * fix(bedrock): add parameter conflict handling for Claude 4+ models - Add logic to prevent sending both temperature and top_p for Claude 4+ models - Matches existing implementation in Anthropic provider - Fixes ValidationException error for Claude 4.5 models via Bedrock - Includes support for both standard and Bedrock-specific model IDs Fixes #9523 🤖 Generated with [Claude Code](https://claude.ai/code) Co-authored-by: Arvin Xu <arvinxx@users.noreply.github.com> * 🧪 test(bedrock): add parameter conflict handling tests Add comprehensive tests for Claude 4+ models parameter conflict detection: - Test temperature preference over top_p when both provided - Test top_p usage when temperature not provided - Test both parameters allowed for non-Claude-4+ models - Test standard and Bedrock-specific model ID formats - Test US region model IDs 🤖 Generated with [Claude Code](https://claude.ai/code) Co-authored-by: Arvin Xu <arvinxx@users.noreply.github.com> * 🔧 fix: make temperature optional in ChatStreamPayload interface The temperature property should be optional to support test cases and scenarios where only top_p is provided. This resolves TypeScript error TS2741 in Bedrock provider tests. Co-authored-by: Arvin Xu <arvinxx@users.noreply.github.com> * 🔧 fix: correct test assertions to handle JSON.stringify undefined omission - Remove undefined properties from test expectations since JSON.stringify omits them - Fix temperature/top_p conflict test assertions for Claude 4+ models - Ensure tests match actual JSON serialization behavior 🤖 Generated with [Claude Code](https://claude.ai/code) Co-authored-by: Arvin Xu <arvinxx@users.noreply.github.com> * 🔧 fix: add null safety checks for optional temperature parameter - Added proper undefined checks before temperature arithmetic operations in anthropic and bedrock providers - Added null checks before temperature comparisons in groq, perplexity, and search1api providers - Resolves TS18048 errors where temperature is possibly undefined - Maintains existing logic while satisfying TypeScript strict null checks Co-authored-by: Arvin Xu <arvinxx@users.noreply.github.com> * refactor with parameterResolver * upgrade * upgrade swr * refactor context-builder --------- Co-authored-by: claude[bot] <209825114+claude[bot]@users.noreply.github.com> Co-authored-by: Arvin Xu <arvinxx@users.noreply.github.com>
2025-10-11 07:08:26 +00:00
"@cyntler/react-doc-viewer": "^1.17.1",
"@electric-sql/pglite": "0.2.17",
"@emotion/react": "^11.14.0",
"@fal-ai/client": "^1.6.2",
"@formkit/auto-animate": "^0.9.0",
🐛 fix(bedrock): add parameter conflict handling for Claude 4+ models (#9627) * fix(bedrock): add parameter conflict handling for Claude 4+ models - Add logic to prevent sending both temperature and top_p for Claude 4+ models - Matches existing implementation in Anthropic provider - Fixes ValidationException error for Claude 4.5 models via Bedrock - Includes support for both standard and Bedrock-specific model IDs Fixes #9523 🤖 Generated with [Claude Code](https://claude.ai/code) Co-authored-by: Arvin Xu <arvinxx@users.noreply.github.com> * 🧪 test(bedrock): add parameter conflict handling tests Add comprehensive tests for Claude 4+ models parameter conflict detection: - Test temperature preference over top_p when both provided - Test top_p usage when temperature not provided - Test both parameters allowed for non-Claude-4+ models - Test standard and Bedrock-specific model ID formats - Test US region model IDs 🤖 Generated with [Claude Code](https://claude.ai/code) Co-authored-by: Arvin Xu <arvinxx@users.noreply.github.com> * 🔧 fix: make temperature optional in ChatStreamPayload interface The temperature property should be optional to support test cases and scenarios where only top_p is provided. This resolves TypeScript error TS2741 in Bedrock provider tests. Co-authored-by: Arvin Xu <arvinxx@users.noreply.github.com> * 🔧 fix: correct test assertions to handle JSON.stringify undefined omission - Remove undefined properties from test expectations since JSON.stringify omits them - Fix temperature/top_p conflict test assertions for Claude 4+ models - Ensure tests match actual JSON serialization behavior 🤖 Generated with [Claude Code](https://claude.ai/code) Co-authored-by: Arvin Xu <arvinxx@users.noreply.github.com> * 🔧 fix: add null safety checks for optional temperature parameter - Added proper undefined checks before temperature arithmetic operations in anthropic and bedrock providers - Added null checks before temperature comparisons in groq, perplexity, and search1api providers - Resolves TS18048 errors where temperature is possibly undefined - Maintains existing logic while satisfying TypeScript strict null checks Co-authored-by: Arvin Xu <arvinxx@users.noreply.github.com> * refactor with parameterResolver * upgrade * upgrade swr * refactor context-builder --------- Co-authored-by: claude[bot] <209825114+claude[bot]@users.noreply.github.com> Co-authored-by: Arvin Xu <arvinxx@users.noreply.github.com>
2025-10-11 07:08:26 +00:00
"@google/genai": "^1.24.0",
"@huggingface/inference": "^4.11.3",
"@icons-pack/react-simple-icons": "^13.8.0",
"@khmyznikov/pwa-install": "0.3.9",
🐛 fix(bedrock): add parameter conflict handling for Claude 4+ models (#9627) * fix(bedrock): add parameter conflict handling for Claude 4+ models - Add logic to prevent sending both temperature and top_p for Claude 4+ models - Matches existing implementation in Anthropic provider - Fixes ValidationException error for Claude 4.5 models via Bedrock - Includes support for both standard and Bedrock-specific model IDs Fixes #9523 🤖 Generated with [Claude Code](https://claude.ai/code) Co-authored-by: Arvin Xu <arvinxx@users.noreply.github.com> * 🧪 test(bedrock): add parameter conflict handling tests Add comprehensive tests for Claude 4+ models parameter conflict detection: - Test temperature preference over top_p when both provided - Test top_p usage when temperature not provided - Test both parameters allowed for non-Claude-4+ models - Test standard and Bedrock-specific model ID formats - Test US region model IDs 🤖 Generated with [Claude Code](https://claude.ai/code) Co-authored-by: Arvin Xu <arvinxx@users.noreply.github.com> * 🔧 fix: make temperature optional in ChatStreamPayload interface The temperature property should be optional to support test cases and scenarios where only top_p is provided. This resolves TypeScript error TS2741 in Bedrock provider tests. Co-authored-by: Arvin Xu <arvinxx@users.noreply.github.com> * 🔧 fix: correct test assertions to handle JSON.stringify undefined omission - Remove undefined properties from test expectations since JSON.stringify omits them - Fix temperature/top_p conflict test assertions for Claude 4+ models - Ensure tests match actual JSON serialization behavior 🤖 Generated with [Claude Code](https://claude.ai/code) Co-authored-by: Arvin Xu <arvinxx@users.noreply.github.com> * 🔧 fix: add null safety checks for optional temperature parameter - Added proper undefined checks before temperature arithmetic operations in anthropic and bedrock providers - Added null checks before temperature comparisons in groq, perplexity, and search1api providers - Resolves TS18048 errors where temperature is possibly undefined - Maintains existing logic while satisfying TypeScript strict null checks Co-authored-by: Arvin Xu <arvinxx@users.noreply.github.com> * refactor with parameterResolver * upgrade * upgrade swr * refactor context-builder --------- Co-authored-by: claude[bot] <209825114+claude[bot]@users.noreply.github.com> Co-authored-by: Arvin Xu <arvinxx@users.noreply.github.com>
2025-10-11 07:08:26 +00:00
"@langchain/community": "^0.3.57",
"@lobechat/agent-runtime": "workspace:*",
"@lobechat/const": "workspace:*",
"@lobechat/context-engine": "workspace:*",
"@lobechat/database": "workspace:*",
"@lobechat/electron-client-ipc": "workspace:*",
"@lobechat/electron-server-ipc": "workspace:*",
"@lobechat/file-loaders": "workspace:*",
"@lobechat/model-runtime": "workspace:*",
"@lobechat/observability-otel": "workspace:*",
"@lobechat/prompts": "workspace:*",
"@lobechat/python-interpreter": "workspace:*",
"@lobechat/utils": "workspace:*",
"@lobechat/web-crawler": "workspace:*",
"@lobehub/analytics": "^1.6.0",
"@lobehub/charts": "^2.1.2",
2024-07-07 06:01:50 +00:00
"@lobehub/chat-plugin-sdk": "^1.32.4",
"@lobehub/chat-plugins-gateway": "^1.9.0",
"@lobehub/editor": "^1.20.2",
🐛 fix(bedrock): add parameter conflict handling for Claude 4+ models (#9627) * fix(bedrock): add parameter conflict handling for Claude 4+ models - Add logic to prevent sending both temperature and top_p for Claude 4+ models - Matches existing implementation in Anthropic provider - Fixes ValidationException error for Claude 4.5 models via Bedrock - Includes support for both standard and Bedrock-specific model IDs Fixes #9523 🤖 Generated with [Claude Code](https://claude.ai/code) Co-authored-by: Arvin Xu <arvinxx@users.noreply.github.com> * 🧪 test(bedrock): add parameter conflict handling tests Add comprehensive tests for Claude 4+ models parameter conflict detection: - Test temperature preference over top_p when both provided - Test top_p usage when temperature not provided - Test both parameters allowed for non-Claude-4+ models - Test standard and Bedrock-specific model ID formats - Test US region model IDs 🤖 Generated with [Claude Code](https://claude.ai/code) Co-authored-by: Arvin Xu <arvinxx@users.noreply.github.com> * 🔧 fix: make temperature optional in ChatStreamPayload interface The temperature property should be optional to support test cases and scenarios where only top_p is provided. This resolves TypeScript error TS2741 in Bedrock provider tests. Co-authored-by: Arvin Xu <arvinxx@users.noreply.github.com> * 🔧 fix: correct test assertions to handle JSON.stringify undefined omission - Remove undefined properties from test expectations since JSON.stringify omits them - Fix temperature/top_p conflict test assertions for Claude 4+ models - Ensure tests match actual JSON serialization behavior 🤖 Generated with [Claude Code](https://claude.ai/code) Co-authored-by: Arvin Xu <arvinxx@users.noreply.github.com> * 🔧 fix: add null safety checks for optional temperature parameter - Added proper undefined checks before temperature arithmetic operations in anthropic and bedrock providers - Added null checks before temperature comparisons in groq, perplexity, and search1api providers - Resolves TS18048 errors where temperature is possibly undefined - Maintains existing logic while satisfying TypeScript strict null checks Co-authored-by: Arvin Xu <arvinxx@users.noreply.github.com> * refactor with parameterResolver * upgrade * upgrade swr * refactor context-builder --------- Co-authored-by: claude[bot] <209825114+claude[bot]@users.noreply.github.com> Co-authored-by: Arvin Xu <arvinxx@users.noreply.github.com>
2025-10-11 07:08:26 +00:00
"@lobehub/icons": "^2.42.0",
"@lobehub/market-sdk": "^0.22.7",
"@lobehub/tts": "^2.0.1",
🐛 fix(bedrock): add parameter conflict handling for Claude 4+ models (#9627) * fix(bedrock): add parameter conflict handling for Claude 4+ models - Add logic to prevent sending both temperature and top_p for Claude 4+ models - Matches existing implementation in Anthropic provider - Fixes ValidationException error for Claude 4.5 models via Bedrock - Includes support for both standard and Bedrock-specific model IDs Fixes #9523 🤖 Generated with [Claude Code](https://claude.ai/code) Co-authored-by: Arvin Xu <arvinxx@users.noreply.github.com> * 🧪 test(bedrock): add parameter conflict handling tests Add comprehensive tests for Claude 4+ models parameter conflict detection: - Test temperature preference over top_p when both provided - Test top_p usage when temperature not provided - Test both parameters allowed for non-Claude-4+ models - Test standard and Bedrock-specific model ID formats - Test US region model IDs 🤖 Generated with [Claude Code](https://claude.ai/code) Co-authored-by: Arvin Xu <arvinxx@users.noreply.github.com> * 🔧 fix: make temperature optional in ChatStreamPayload interface The temperature property should be optional to support test cases and scenarios where only top_p is provided. This resolves TypeScript error TS2741 in Bedrock provider tests. Co-authored-by: Arvin Xu <arvinxx@users.noreply.github.com> * 🔧 fix: correct test assertions to handle JSON.stringify undefined omission - Remove undefined properties from test expectations since JSON.stringify omits them - Fix temperature/top_p conflict test assertions for Claude 4+ models - Ensure tests match actual JSON serialization behavior 🤖 Generated with [Claude Code](https://claude.ai/code) Co-authored-by: Arvin Xu <arvinxx@users.noreply.github.com> * 🔧 fix: add null safety checks for optional temperature parameter - Added proper undefined checks before temperature arithmetic operations in anthropic and bedrock providers - Added null checks before temperature comparisons in groq, perplexity, and search1api providers - Resolves TS18048 errors where temperature is possibly undefined - Maintains existing logic while satisfying TypeScript strict null checks Co-authored-by: Arvin Xu <arvinxx@users.noreply.github.com> * refactor with parameterResolver * upgrade * upgrade swr * refactor context-builder --------- Co-authored-by: claude[bot] <209825114+claude[bot]@users.noreply.github.com> Co-authored-by: Arvin Xu <arvinxx@users.noreply.github.com>
2025-10-11 07:08:26 +00:00
"@lobehub/ui": "^2.13.2",
"@modelcontextprotocol/sdk": "^1.20.0",
"@neondatabase/serverless": "^1.0.2",
"@next/third-parties": "^15.5.4",
"@opentelemetry/exporter-jaeger": "^2.1.0",
"@opentelemetry/winston-transport": "^0.17.0",
:bookmark: chore(release): v1.141.0 [skip ci] ## [Version&nbsp;1.141.0](https://github.com/lobehub/lobe-chat/compare/v1.140.0...v1.141.0) <sup>Released on **2025-10-21**</sup> #### ✨ Features - **misc**: Add PDF export functionality to share modal. #### 🐛 Bug Fixes - **misc**: Ignore abort signal errors in TRPC client, slove when pwa user info have code cannot be viewed in full. #### 💄 Styles - **misc**: Add knowledge base mansory layout [LOB-496], improve rich text link display. <br/> <details> <summary><kbd>Improvements and Fixes</kbd></summary> #### What's improved * **misc**: Add PDF export functionality to share modal, closes [#9300](https://github.com/lobehub/lobe-chat/issues/9300) [#9299](https://github.com/lobehub/lobe-chat/issues/9299) ([2b7761c](https://github.com/lobehub/lobe-chat/commit/2b7761c)) #### What's fixed * **misc**: Ignore abort signal errors in TRPC client, closes [#9809](https://github.com/lobehub/lobe-chat/issues/9809) [#9401](https://github.com/lobehub/lobe-chat/issues/9401) ([7f7dcfb](https://github.com/lobehub/lobe-chat/commit/7f7dcfb)) * **misc**: Slove when pwa user info have code cannot be viewed in full, closes [#9817](https://github.com/lobehub/lobe-chat/issues/9817) ([6734a47](https://github.com/lobehub/lobe-chat/commit/6734a47)) #### Styles * **misc**: Add knowledge base mansory layout [LOB-496], closes [#9722](https://github.com/lobehub/lobe-chat/issues/9722) ([69f21da](https://github.com/lobehub/lobe-chat/commit/69f21da)) * **misc**: Improve rich text link display, closes [#9816](https://github.com/lobehub/lobe-chat/issues/9816) ([af33543](https://github.com/lobehub/lobe-chat/commit/af33543)) </details> <div align="right"> [![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top) </div>
2025-10-21 08:59:56 +00:00
"@react-pdf/renderer": "^4.3.0",
2024-10-20 03:38:57 +00:00
"@react-spring/web": "^9.7.5",
"@saintno/comfyui-sdk": "^0.2.48",
"@serwist/next": "^9.2.1",
"@t3-oss/env-nextjs": "^0.13.8",
🐛 fix(bedrock): add parameter conflict handling for Claude 4+ models (#9627) * fix(bedrock): add parameter conflict handling for Claude 4+ models - Add logic to prevent sending both temperature and top_p for Claude 4+ models - Matches existing implementation in Anthropic provider - Fixes ValidationException error for Claude 4.5 models via Bedrock - Includes support for both standard and Bedrock-specific model IDs Fixes #9523 🤖 Generated with [Claude Code](https://claude.ai/code) Co-authored-by: Arvin Xu <arvinxx@users.noreply.github.com> * 🧪 test(bedrock): add parameter conflict handling tests Add comprehensive tests for Claude 4+ models parameter conflict detection: - Test temperature preference over top_p when both provided - Test top_p usage when temperature not provided - Test both parameters allowed for non-Claude-4+ models - Test standard and Bedrock-specific model ID formats - Test US region model IDs 🤖 Generated with [Claude Code](https://claude.ai/code) Co-authored-by: Arvin Xu <arvinxx@users.noreply.github.com> * 🔧 fix: make temperature optional in ChatStreamPayload interface The temperature property should be optional to support test cases and scenarios where only top_p is provided. This resolves TypeScript error TS2741 in Bedrock provider tests. Co-authored-by: Arvin Xu <arvinxx@users.noreply.github.com> * 🔧 fix: correct test assertions to handle JSON.stringify undefined omission - Remove undefined properties from test expectations since JSON.stringify omits them - Fix temperature/top_p conflict test assertions for Claude 4+ models - Ensure tests match actual JSON serialization behavior 🤖 Generated with [Claude Code](https://claude.ai/code) Co-authored-by: Arvin Xu <arvinxx@users.noreply.github.com> * 🔧 fix: add null safety checks for optional temperature parameter - Added proper undefined checks before temperature arithmetic operations in anthropic and bedrock providers - Added null checks before temperature comparisons in groq, perplexity, and search1api providers - Resolves TS18048 errors where temperature is possibly undefined - Maintains existing logic while satisfying TypeScript strict null checks Co-authored-by: Arvin Xu <arvinxx@users.noreply.github.com> * refactor with parameterResolver * upgrade * upgrade swr * refactor context-builder --------- Co-authored-by: claude[bot] <209825114+claude[bot]@users.noreply.github.com> Co-authored-by: Arvin Xu <arvinxx@users.noreply.github.com>
2025-10-11 07:08:26 +00:00
"@tanstack/react-query": "^5.90.2",
"@trpc/client": "^11.6.0",
"@trpc/next": "^11.6.0",
"@trpc/react-query": "^11.6.0",
"@trpc/server": "^11.6.0",
"@vercel/analytics": "^1.5.0",
"@vercel/edge-config": "^1.4.0",
🐛 fix(bedrock): add parameter conflict handling for Claude 4+ models (#9627) * fix(bedrock): add parameter conflict handling for Claude 4+ models - Add logic to prevent sending both temperature and top_p for Claude 4+ models - Matches existing implementation in Anthropic provider - Fixes ValidationException error for Claude 4.5 models via Bedrock - Includes support for both standard and Bedrock-specific model IDs Fixes #9523 🤖 Generated with [Claude Code](https://claude.ai/code) Co-authored-by: Arvin Xu <arvinxx@users.noreply.github.com> * 🧪 test(bedrock): add parameter conflict handling tests Add comprehensive tests for Claude 4+ models parameter conflict detection: - Test temperature preference over top_p when both provided - Test top_p usage when temperature not provided - Test both parameters allowed for non-Claude-4+ models - Test standard and Bedrock-specific model ID formats - Test US region model IDs 🤖 Generated with [Claude Code](https://claude.ai/code) Co-authored-by: Arvin Xu <arvinxx@users.noreply.github.com> * 🔧 fix: make temperature optional in ChatStreamPayload interface The temperature property should be optional to support test cases and scenarios where only top_p is provided. This resolves TypeScript error TS2741 in Bedrock provider tests. Co-authored-by: Arvin Xu <arvinxx@users.noreply.github.com> * 🔧 fix: correct test assertions to handle JSON.stringify undefined omission - Remove undefined properties from test expectations since JSON.stringify omits them - Fix temperature/top_p conflict test assertions for Claude 4+ models - Ensure tests match actual JSON serialization behavior 🤖 Generated with [Claude Code](https://claude.ai/code) Co-authored-by: Arvin Xu <arvinxx@users.noreply.github.com> * 🔧 fix: add null safety checks for optional temperature parameter - Added proper undefined checks before temperature arithmetic operations in anthropic and bedrock providers - Added null checks before temperature comparisons in groq, perplexity, and search1api providers - Resolves TS18048 errors where temperature is possibly undefined - Maintains existing logic while satisfying TypeScript strict null checks Co-authored-by: Arvin Xu <arvinxx@users.noreply.github.com> * refactor with parameterResolver * upgrade * upgrade swr * refactor context-builder --------- Co-authored-by: claude[bot] <209825114+claude[bot]@users.noreply.github.com> Co-authored-by: Arvin Xu <arvinxx@users.noreply.github.com>
2025-10-11 07:08:26 +00:00
"@vercel/functions": "^3.1.3",
"@vercel/speed-insights": "^1.2.0",
"@virtuoso.dev/masonry": "^1.3.5",
"@xterm/xterm": "^5.5.0",
"ahooks": "^3.9.5",
🐛 fix(bedrock): add parameter conflict handling for Claude 4+ models (#9627) * fix(bedrock): add parameter conflict handling for Claude 4+ models - Add logic to prevent sending both temperature and top_p for Claude 4+ models - Matches existing implementation in Anthropic provider - Fixes ValidationException error for Claude 4.5 models via Bedrock - Includes support for both standard and Bedrock-specific model IDs Fixes #9523 🤖 Generated with [Claude Code](https://claude.ai/code) Co-authored-by: Arvin Xu <arvinxx@users.noreply.github.com> * 🧪 test(bedrock): add parameter conflict handling tests Add comprehensive tests for Claude 4+ models parameter conflict detection: - Test temperature preference over top_p when both provided - Test top_p usage when temperature not provided - Test both parameters allowed for non-Claude-4+ models - Test standard and Bedrock-specific model ID formats - Test US region model IDs 🤖 Generated with [Claude Code](https://claude.ai/code) Co-authored-by: Arvin Xu <arvinxx@users.noreply.github.com> * 🔧 fix: make temperature optional in ChatStreamPayload interface The temperature property should be optional to support test cases and scenarios where only top_p is provided. This resolves TypeScript error TS2741 in Bedrock provider tests. Co-authored-by: Arvin Xu <arvinxx@users.noreply.github.com> * 🔧 fix: correct test assertions to handle JSON.stringify undefined omission - Remove undefined properties from test expectations since JSON.stringify omits them - Fix temperature/top_p conflict test assertions for Claude 4+ models - Ensure tests match actual JSON serialization behavior 🤖 Generated with [Claude Code](https://claude.ai/code) Co-authored-by: Arvin Xu <arvinxx@users.noreply.github.com> * 🔧 fix: add null safety checks for optional temperature parameter - Added proper undefined checks before temperature arithmetic operations in anthropic and bedrock providers - Added null checks before temperature comparisons in groq, perplexity, and search1api providers - Resolves TS18048 errors where temperature is possibly undefined - Maintains existing logic while satisfying TypeScript strict null checks Co-authored-by: Arvin Xu <arvinxx@users.noreply.github.com> * refactor with parameterResolver * upgrade * upgrade swr * refactor context-builder --------- Co-authored-by: claude[bot] <209825114+claude[bot]@users.noreply.github.com> Co-authored-by: Arvin Xu <arvinxx@users.noreply.github.com>
2025-10-11 07:08:26 +00:00
"antd": "^5.27.4",
"antd-style": "^3.7.1",
"brotli-wasm": "^3.0.1",
"chroma-js": "^3.1.2",
✨ feat: Add MCP marketplace and mcp plugin one-click installation in desktop (#8334) * move plugin Component * ✨ feat(wip): Add MCP Discover Market * ✅ test: Fix test * ✅ test: Fix test * 🐛 fix: Fix build * 🐛 fix: Fix build * 💄 style: update plugin store * 💄 style: Update plugin store * ✨ feat: Update cache control headers and optimize Next.js config for performance * 💄 style: Update discover markdown * 💄 style: Update scroes step * 优化 list 细节 * 优化 list 细节 * 优化 list 细节 * 完成基础 mcp 安装实现 * 完成安装上报 * 新增安装过程 * fix * 优化插件设置页面配置 * 💄 style: update official icon * 完善安装错误状态 * 支持取消安装 * fix types * fix types * 完成系统依赖检查流程 * 完成系统依赖安装流程上报 * try to fix suspense * try to fix suspense * try to fix suspense * try to fix tests * upgrade electron * fix suspense * fix tool name issue * fix test * add i18n * fix tool call * ✅ test: fix tests * move * fix tests * refactor plugin install store * improve old plugin install * fix * fix header link * fix plugin detail * fix oldPlugin detail * fix tests * update i18n * fix i18n * 💄 style: improve style * add debug log * fix link * improve * fix link * 🚚 refactor: refactor the market runtime to nodejs * 移除 props.searchParams 调用 * ✅ test: fix tests * 尝试静态化 discover page * ♻️ refactor: refactor config to nodejs runtime * fix min width * 修正自定义插件的编辑展示区域 * fix i18n * 调整部分组件目录结构 * 完善 MCP 市场安装流程 * 完善安装上报事件 * test: fix test * ✨ feat: 实现 m2m oauth 请求 * ✨ feat: 完善 m2m 注册链路 * ✨ feat: 完善 m2m 注册链路 * 🐛 fix: 优化 debug 日志输出问题 * ✨ feat: 支持 call 上报 * 💄 style: 使用更大的版本 * 🐛 fix: tools calling report * 🐛 fix: try to fix call report * 🐛 fix: try to use expires cookies * 🐛 fix: fix cookies expires issue * test: fix customPluginInfo report * 🐛 fix: fix connection issue * 🐛 fix: fix platform report * 🐛 fix: fix version issue --------- Co-authored-by: canisminor1990 <i@canisminor.cc>
2025-07-08 11:51:22 +00:00
"cookie": "^1.0.2",
"countries-and-timezones": "^3.8.0",
"dayjs": "^1.11.18",
🐛 fix(bedrock): add parameter conflict handling for Claude 4+ models (#9627) * fix(bedrock): add parameter conflict handling for Claude 4+ models - Add logic to prevent sending both temperature and top_p for Claude 4+ models - Matches existing implementation in Anthropic provider - Fixes ValidationException error for Claude 4.5 models via Bedrock - Includes support for both standard and Bedrock-specific model IDs Fixes #9523 🤖 Generated with [Claude Code](https://claude.ai/code) Co-authored-by: Arvin Xu <arvinxx@users.noreply.github.com> * 🧪 test(bedrock): add parameter conflict handling tests Add comprehensive tests for Claude 4+ models parameter conflict detection: - Test temperature preference over top_p when both provided - Test top_p usage when temperature not provided - Test both parameters allowed for non-Claude-4+ models - Test standard and Bedrock-specific model ID formats - Test US region model IDs 🤖 Generated with [Claude Code](https://claude.ai/code) Co-authored-by: Arvin Xu <arvinxx@users.noreply.github.com> * 🔧 fix: make temperature optional in ChatStreamPayload interface The temperature property should be optional to support test cases and scenarios where only top_p is provided. This resolves TypeScript error TS2741 in Bedrock provider tests. Co-authored-by: Arvin Xu <arvinxx@users.noreply.github.com> * 🔧 fix: correct test assertions to handle JSON.stringify undefined omission - Remove undefined properties from test expectations since JSON.stringify omits them - Fix temperature/top_p conflict test assertions for Claude 4+ models - Ensure tests match actual JSON serialization behavior 🤖 Generated with [Claude Code](https://claude.ai/code) Co-authored-by: Arvin Xu <arvinxx@users.noreply.github.com> * 🔧 fix: add null safety checks for optional temperature parameter - Added proper undefined checks before temperature arithmetic operations in anthropic and bedrock providers - Added null checks before temperature comparisons in groq, perplexity, and search1api providers - Resolves TS18048 errors where temperature is possibly undefined - Maintains existing logic while satisfying TypeScript strict null checks Co-authored-by: Arvin Xu <arvinxx@users.noreply.github.com> * refactor with parameterResolver * upgrade * upgrade swr * refactor context-builder --------- Co-authored-by: claude[bot] <209825114+claude[bot]@users.noreply.github.com> Co-authored-by: Arvin Xu <arvinxx@users.noreply.github.com>
2025-10-11 07:08:26 +00:00
"debug": "^4.4.3",
"dexie": "^3.2.7",
"diff": "^8.0.2",
🐛 fix(bedrock): add parameter conflict handling for Claude 4+ models (#9627) * fix(bedrock): add parameter conflict handling for Claude 4+ models - Add logic to prevent sending both temperature and top_p for Claude 4+ models - Matches existing implementation in Anthropic provider - Fixes ValidationException error for Claude 4.5 models via Bedrock - Includes support for both standard and Bedrock-specific model IDs Fixes #9523 🤖 Generated with [Claude Code](https://claude.ai/code) Co-authored-by: Arvin Xu <arvinxx@users.noreply.github.com> * 🧪 test(bedrock): add parameter conflict handling tests Add comprehensive tests for Claude 4+ models parameter conflict detection: - Test temperature preference over top_p when both provided - Test top_p usage when temperature not provided - Test both parameters allowed for non-Claude-4+ models - Test standard and Bedrock-specific model ID formats - Test US region model IDs 🤖 Generated with [Claude Code](https://claude.ai/code) Co-authored-by: Arvin Xu <arvinxx@users.noreply.github.com> * 🔧 fix: make temperature optional in ChatStreamPayload interface The temperature property should be optional to support test cases and scenarios where only top_p is provided. This resolves TypeScript error TS2741 in Bedrock provider tests. Co-authored-by: Arvin Xu <arvinxx@users.noreply.github.com> * 🔧 fix: correct test assertions to handle JSON.stringify undefined omission - Remove undefined properties from test expectations since JSON.stringify omits them - Fix temperature/top_p conflict test assertions for Claude 4+ models - Ensure tests match actual JSON serialization behavior 🤖 Generated with [Claude Code](https://claude.ai/code) Co-authored-by: Arvin Xu <arvinxx@users.noreply.github.com> * 🔧 fix: add null safety checks for optional temperature parameter - Added proper undefined checks before temperature arithmetic operations in anthropic and bedrock providers - Added null checks before temperature comparisons in groq, perplexity, and search1api providers - Resolves TS18048 errors where temperature is possibly undefined - Maintains existing logic while satisfying TypeScript strict null checks Co-authored-by: Arvin Xu <arvinxx@users.noreply.github.com> * refactor with parameterResolver * upgrade * upgrade swr * refactor context-builder --------- Co-authored-by: claude[bot] <209825114+claude[bot]@users.noreply.github.com> Co-authored-by: Arvin Xu <arvinxx@users.noreply.github.com>
2025-10-11 07:08:26 +00:00
"drizzle-orm": "^0.44.6",
"drizzle-zod": "^0.5.1",
"epub2": "^3.0.2",
"fast-deep-equal": "^3.1.3",
"file-type": "^21.0.0",
🐛 fix(bedrock): add parameter conflict handling for Claude 4+ models (#9627) * fix(bedrock): add parameter conflict handling for Claude 4+ models - Add logic to prevent sending both temperature and top_p for Claude 4+ models - Matches existing implementation in Anthropic provider - Fixes ValidationException error for Claude 4.5 models via Bedrock - Includes support for both standard and Bedrock-specific model IDs Fixes #9523 🤖 Generated with [Claude Code](https://claude.ai/code) Co-authored-by: Arvin Xu <arvinxx@users.noreply.github.com> * 🧪 test(bedrock): add parameter conflict handling tests Add comprehensive tests for Claude 4+ models parameter conflict detection: - Test temperature preference over top_p when both provided - Test top_p usage when temperature not provided - Test both parameters allowed for non-Claude-4+ models - Test standard and Bedrock-specific model ID formats - Test US region model IDs 🤖 Generated with [Claude Code](https://claude.ai/code) Co-authored-by: Arvin Xu <arvinxx@users.noreply.github.com> * 🔧 fix: make temperature optional in ChatStreamPayload interface The temperature property should be optional to support test cases and scenarios where only top_p is provided. This resolves TypeScript error TS2741 in Bedrock provider tests. Co-authored-by: Arvin Xu <arvinxx@users.noreply.github.com> * 🔧 fix: correct test assertions to handle JSON.stringify undefined omission - Remove undefined properties from test expectations since JSON.stringify omits them - Fix temperature/top_p conflict test assertions for Claude 4+ models - Ensure tests match actual JSON serialization behavior 🤖 Generated with [Claude Code](https://claude.ai/code) Co-authored-by: Arvin Xu <arvinxx@users.noreply.github.com> * 🔧 fix: add null safety checks for optional temperature parameter - Added proper undefined checks before temperature arithmetic operations in anthropic and bedrock providers - Added null checks before temperature comparisons in groq, perplexity, and search1api providers - Resolves TS18048 errors where temperature is possibly undefined - Maintains existing logic while satisfying TypeScript strict null checks Co-authored-by: Arvin Xu <arvinxx@users.noreply.github.com> * refactor with parameterResolver * upgrade * upgrade swr * refactor context-builder --------- Co-authored-by: claude[bot] <209825114+claude[bot]@users.noreply.github.com> Co-authored-by: Arvin Xu <arvinxx@users.noreply.github.com>
2025-10-11 07:08:26 +00:00
"framer-motion": "^12.23.24",
"gpt-tokenizer": "^3.2.0",
"gray-matter": "^4.0.3",
"html-to-text": "^9.0.5",
🐛 fix(bedrock): add parameter conflict handling for Claude 4+ models (#9627) * fix(bedrock): add parameter conflict handling for Claude 4+ models - Add logic to prevent sending both temperature and top_p for Claude 4+ models - Matches existing implementation in Anthropic provider - Fixes ValidationException error for Claude 4.5 models via Bedrock - Includes support for both standard and Bedrock-specific model IDs Fixes #9523 🤖 Generated with [Claude Code](https://claude.ai/code) Co-authored-by: Arvin Xu <arvinxx@users.noreply.github.com> * 🧪 test(bedrock): add parameter conflict handling tests Add comprehensive tests for Claude 4+ models parameter conflict detection: - Test temperature preference over top_p when both provided - Test top_p usage when temperature not provided - Test both parameters allowed for non-Claude-4+ models - Test standard and Bedrock-specific model ID formats - Test US region model IDs 🤖 Generated with [Claude Code](https://claude.ai/code) Co-authored-by: Arvin Xu <arvinxx@users.noreply.github.com> * 🔧 fix: make temperature optional in ChatStreamPayload interface The temperature property should be optional to support test cases and scenarios where only top_p is provided. This resolves TypeScript error TS2741 in Bedrock provider tests. Co-authored-by: Arvin Xu <arvinxx@users.noreply.github.com> * 🔧 fix: correct test assertions to handle JSON.stringify undefined omission - Remove undefined properties from test expectations since JSON.stringify omits them - Fix temperature/top_p conflict test assertions for Claude 4+ models - Ensure tests match actual JSON serialization behavior 🤖 Generated with [Claude Code](https://claude.ai/code) Co-authored-by: Arvin Xu <arvinxx@users.noreply.github.com> * 🔧 fix: add null safety checks for optional temperature parameter - Added proper undefined checks before temperature arithmetic operations in anthropic and bedrock providers - Added null checks before temperature comparisons in groq, perplexity, and search1api providers - Resolves TS18048 errors where temperature is possibly undefined - Maintains existing logic while satisfying TypeScript strict null checks Co-authored-by: Arvin Xu <arvinxx@users.noreply.github.com> * refactor with parameterResolver * upgrade * upgrade swr * refactor context-builder --------- Co-authored-by: claude[bot] <209825114+claude[bot]@users.noreply.github.com> Co-authored-by: Arvin Xu <arvinxx@users.noreply.github.com>
2025-10-11 07:08:26 +00:00
"i18next": "^25.6.0",
"i18next-browser-languagedetector": "^8.2.0",
"i18next-resources-to-backend": "^1.2.1",
"idb-keyval": "^6.2.2",
"immer": "^10.1.3",
"jose": "^5.10.0",
"js-sha256": "^0.11.1",
"jsonl-parse-stringify": "^1.0.3",
"keyv": "^4.5.4",
🐛 fix(bedrock): add parameter conflict handling for Claude 4+ models (#9627) * fix(bedrock): add parameter conflict handling for Claude 4+ models - Add logic to prevent sending both temperature and top_p for Claude 4+ models - Matches existing implementation in Anthropic provider - Fixes ValidationException error for Claude 4.5 models via Bedrock - Includes support for both standard and Bedrock-specific model IDs Fixes #9523 🤖 Generated with [Claude Code](https://claude.ai/code) Co-authored-by: Arvin Xu <arvinxx@users.noreply.github.com> * 🧪 test(bedrock): add parameter conflict handling tests Add comprehensive tests for Claude 4+ models parameter conflict detection: - Test temperature preference over top_p when both provided - Test top_p usage when temperature not provided - Test both parameters allowed for non-Claude-4+ models - Test standard and Bedrock-specific model ID formats - Test US region model IDs 🤖 Generated with [Claude Code](https://claude.ai/code) Co-authored-by: Arvin Xu <arvinxx@users.noreply.github.com> * 🔧 fix: make temperature optional in ChatStreamPayload interface The temperature property should be optional to support test cases and scenarios where only top_p is provided. This resolves TypeScript error TS2741 in Bedrock provider tests. Co-authored-by: Arvin Xu <arvinxx@users.noreply.github.com> * 🔧 fix: correct test assertions to handle JSON.stringify undefined omission - Remove undefined properties from test expectations since JSON.stringify omits them - Fix temperature/top_p conflict test assertions for Claude 4+ models - Ensure tests match actual JSON serialization behavior 🤖 Generated with [Claude Code](https://claude.ai/code) Co-authored-by: Arvin Xu <arvinxx@users.noreply.github.com> * 🔧 fix: add null safety checks for optional temperature parameter - Added proper undefined checks before temperature arithmetic operations in anthropic and bedrock providers - Added null checks before temperature comparisons in groq, perplexity, and search1api providers - Resolves TS18048 errors where temperature is possibly undefined - Maintains existing logic while satisfying TypeScript strict null checks Co-authored-by: Arvin Xu <arvinxx@users.noreply.github.com> * refactor with parameterResolver * upgrade * upgrade swr * refactor context-builder --------- Co-authored-by: claude[bot] <209825114+claude[bot]@users.noreply.github.com> Co-authored-by: Arvin Xu <arvinxx@users.noreply.github.com>
2025-10-11 07:08:26 +00:00
"langchain": "^0.3.35",
"langfuse": "^3.38.5",
"langfuse-core": "^3.38.5",
"lodash-es": "^4.17.21",
"lucide-react": "^0.544.0",
🐛 fix(bedrock): add parameter conflict handling for Claude 4+ models (#9627) * fix(bedrock): add parameter conflict handling for Claude 4+ models - Add logic to prevent sending both temperature and top_p for Claude 4+ models - Matches existing implementation in Anthropic provider - Fixes ValidationException error for Claude 4.5 models via Bedrock - Includes support for both standard and Bedrock-specific model IDs Fixes #9523 🤖 Generated with [Claude Code](https://claude.ai/code) Co-authored-by: Arvin Xu <arvinxx@users.noreply.github.com> * 🧪 test(bedrock): add parameter conflict handling tests Add comprehensive tests for Claude 4+ models parameter conflict detection: - Test temperature preference over top_p when both provided - Test top_p usage when temperature not provided - Test both parameters allowed for non-Claude-4+ models - Test standard and Bedrock-specific model ID formats - Test US region model IDs 🤖 Generated with [Claude Code](https://claude.ai/code) Co-authored-by: Arvin Xu <arvinxx@users.noreply.github.com> * 🔧 fix: make temperature optional in ChatStreamPayload interface The temperature property should be optional to support test cases and scenarios where only top_p is provided. This resolves TypeScript error TS2741 in Bedrock provider tests. Co-authored-by: Arvin Xu <arvinxx@users.noreply.github.com> * 🔧 fix: correct test assertions to handle JSON.stringify undefined omission - Remove undefined properties from test expectations since JSON.stringify omits them - Fix temperature/top_p conflict test assertions for Claude 4+ models - Ensure tests match actual JSON serialization behavior 🤖 Generated with [Claude Code](https://claude.ai/code) Co-authored-by: Arvin Xu <arvinxx@users.noreply.github.com> * 🔧 fix: add null safety checks for optional temperature parameter - Added proper undefined checks before temperature arithmetic operations in anthropic and bedrock providers - Added null checks before temperature comparisons in groq, perplexity, and search1api providers - Resolves TS18048 errors where temperature is possibly undefined - Maintains existing logic while satisfying TypeScript strict null checks Co-authored-by: Arvin Xu <arvinxx@users.noreply.github.com> * refactor with parameterResolver * upgrade * upgrade swr * refactor context-builder --------- Co-authored-by: claude[bot] <209825114+claude[bot]@users.noreply.github.com> Co-authored-by: Arvin Xu <arvinxx@users.noreply.github.com>
2025-10-11 07:08:26 +00:00
"mammoth": "^1.11.0",
"markdown-to-txt": "^2.0.1",
✨ feat: add PDF export functionality to share modal (#9300) * feat: add PDF export functionality to share modal - Create usePdfExport hook with jsPDF and html2canvas - Add "Export as PDF" button to screenshot tab in share modal - Support multi-page PDFs for long conversations - Add required dependencies: jspdf@^2.5.2 and html2canvas@^1.4.1 - Add localization support for PDF export button Fixes #9299 🤖 Generated with [Claude Code](https://claude.ai/code) Co-authored-by: LobeHub Bot <lobehubbot@users.noreply.github.com> * ♻️ refactor: convert PDF export to separate tab with backend generation - Create new SharePdf tab component with PDF.js preview - Move PDF generation from frontend to backend via tRPC - Add server-side PDF generation using jsPDF - Remove old PDF export button from ShareImage component - Add proper loading states and error handling - Update localization for PDF tab Co-authored-by: Shinji-Li <ONLY-yours@users.noreply.github.com> * 🐛 fix: resolve unicorn/no-await-expression-member lint error in PDF exporter Split await expression member access to avoid linting error in exporter.ts Co-authored-by: Shinji-Li <ONLY-yours@users.noreply.github.com> * feat: add i18n * feat: use pdfkit to export a pdf * feat: add fullscreen preview * feat: update pdf preview styles * feat: add i18n locales * feat: add single pdf share modal * feat: update css & client mode cant use pdf genertate * fix: mobile style fixed * fix: delete console.log & useless packagejson * feat: use online otf link --------- Co-authored-by: Shinji-Li <ONLY-yours@users.noreply.github.com>
2025-10-21 08:32:17 +00:00
"marked": "^16.3.0",
"mdast-util-to-markdown": "^2.1.2",
"model-bank": "workspace:*",
"modern-screenshot": "^4.6.6",
🐛 fix(bedrock): add parameter conflict handling for Claude 4+ models (#9627) * fix(bedrock): add parameter conflict handling for Claude 4+ models - Add logic to prevent sending both temperature and top_p for Claude 4+ models - Matches existing implementation in Anthropic provider - Fixes ValidationException error for Claude 4.5 models via Bedrock - Includes support for both standard and Bedrock-specific model IDs Fixes #9523 🤖 Generated with [Claude Code](https://claude.ai/code) Co-authored-by: Arvin Xu <arvinxx@users.noreply.github.com> * 🧪 test(bedrock): add parameter conflict handling tests Add comprehensive tests for Claude 4+ models parameter conflict detection: - Test temperature preference over top_p when both provided - Test top_p usage when temperature not provided - Test both parameters allowed for non-Claude-4+ models - Test standard and Bedrock-specific model ID formats - Test US region model IDs 🤖 Generated with [Claude Code](https://claude.ai/code) Co-authored-by: Arvin Xu <arvinxx@users.noreply.github.com> * 🔧 fix: make temperature optional in ChatStreamPayload interface The temperature property should be optional to support test cases and scenarios where only top_p is provided. This resolves TypeScript error TS2741 in Bedrock provider tests. Co-authored-by: Arvin Xu <arvinxx@users.noreply.github.com> * 🔧 fix: correct test assertions to handle JSON.stringify undefined omission - Remove undefined properties from test expectations since JSON.stringify omits them - Fix temperature/top_p conflict test assertions for Claude 4+ models - Ensure tests match actual JSON serialization behavior 🤖 Generated with [Claude Code](https://claude.ai/code) Co-authored-by: Arvin Xu <arvinxx@users.noreply.github.com> * 🔧 fix: add null safety checks for optional temperature parameter - Added proper undefined checks before temperature arithmetic operations in anthropic and bedrock providers - Added null checks before temperature comparisons in groq, perplexity, and search1api providers - Resolves TS18048 errors where temperature is possibly undefined - Maintains existing logic while satisfying TypeScript strict null checks Co-authored-by: Arvin Xu <arvinxx@users.noreply.github.com> * refactor with parameterResolver * upgrade * upgrade swr * refactor context-builder --------- Co-authored-by: claude[bot] <209825114+claude[bot]@users.noreply.github.com> Co-authored-by: Arvin Xu <arvinxx@users.noreply.github.com>
2025-10-11 07:08:26 +00:00
"nanoid": "^5.1.6",
"next": "~15.3.5",
"next-auth": "5.0.0-beta.29",
"next-mdx-remote": "^5.0.0",
"nextjs-toploader": "^3.9.17",
✨ feat: Add MCP marketplace and mcp plugin one-click installation in desktop (#8334) * move plugin Component * ✨ feat(wip): Add MCP Discover Market * ✅ test: Fix test * ✅ test: Fix test * 🐛 fix: Fix build * 🐛 fix: Fix build * 💄 style: update plugin store * 💄 style: Update plugin store * ✨ feat: Update cache control headers and optimize Next.js config for performance * 💄 style: Update discover markdown * 💄 style: Update scroes step * 优化 list 细节 * 优化 list 细节 * 优化 list 细节 * 完成基础 mcp 安装实现 * 完成安装上报 * 新增安装过程 * fix * 优化插件设置页面配置 * 💄 style: update official icon * 完善安装错误状态 * 支持取消安装 * fix types * fix types * 完成系统依赖检查流程 * 完成系统依赖安装流程上报 * try to fix suspense * try to fix suspense * try to fix suspense * try to fix tests * upgrade electron * fix suspense * fix tool name issue * fix test * add i18n * fix tool call * ✅ test: fix tests * move * fix tests * refactor plugin install store * improve old plugin install * fix * fix header link * fix plugin detail * fix oldPlugin detail * fix tests * update i18n * fix i18n * 💄 style: improve style * add debug log * fix link * improve * fix link * 🚚 refactor: refactor the market runtime to nodejs * 移除 props.searchParams 调用 * ✅ test: fix tests * 尝试静态化 discover page * ♻️ refactor: refactor config to nodejs runtime * fix min width * 修正自定义插件的编辑展示区域 * fix i18n * 调整部分组件目录结构 * 完善 MCP 市场安装流程 * 完善安装上报事件 * test: fix test * ✨ feat: 实现 m2m oauth 请求 * ✨ feat: 完善 m2m 注册链路 * ✨ feat: 完善 m2m 注册链路 * 🐛 fix: 优化 debug 日志输出问题 * ✨ feat: 支持 call 上报 * 💄 style: 使用更大的版本 * 🐛 fix: tools calling report * 🐛 fix: try to fix call report * 🐛 fix: try to use expires cookies * 🐛 fix: fix cookies expires issue * test: fix customPluginInfo report * 🐛 fix: fix connection issue * 🐛 fix: fix platform report * 🐛 fix: fix version issue --------- Co-authored-by: canisminor1990 <i@canisminor.cc>
2025-07-08 11:51:22 +00:00
"node-machine-id": "^1.1.12",
"numeral": "^2.0.6",
🐛 fix(bedrock): add parameter conflict handling for Claude 4+ models (#9627) * fix(bedrock): add parameter conflict handling for Claude 4+ models - Add logic to prevent sending both temperature and top_p for Claude 4+ models - Matches existing implementation in Anthropic provider - Fixes ValidationException error for Claude 4.5 models via Bedrock - Includes support for both standard and Bedrock-specific model IDs Fixes #9523 🤖 Generated with [Claude Code](https://claude.ai/code) Co-authored-by: Arvin Xu <arvinxx@users.noreply.github.com> * 🧪 test(bedrock): add parameter conflict handling tests Add comprehensive tests for Claude 4+ models parameter conflict detection: - Test temperature preference over top_p when both provided - Test top_p usage when temperature not provided - Test both parameters allowed for non-Claude-4+ models - Test standard and Bedrock-specific model ID formats - Test US region model IDs 🤖 Generated with [Claude Code](https://claude.ai/code) Co-authored-by: Arvin Xu <arvinxx@users.noreply.github.com> * 🔧 fix: make temperature optional in ChatStreamPayload interface The temperature property should be optional to support test cases and scenarios where only top_p is provided. This resolves TypeScript error TS2741 in Bedrock provider tests. Co-authored-by: Arvin Xu <arvinxx@users.noreply.github.com> * 🔧 fix: correct test assertions to handle JSON.stringify undefined omission - Remove undefined properties from test expectations since JSON.stringify omits them - Fix temperature/top_p conflict test assertions for Claude 4+ models - Ensure tests match actual JSON serialization behavior 🤖 Generated with [Claude Code](https://claude.ai/code) Co-authored-by: Arvin Xu <arvinxx@users.noreply.github.com> * 🔧 fix: add null safety checks for optional temperature parameter - Added proper undefined checks before temperature arithmetic operations in anthropic and bedrock providers - Added null checks before temperature comparisons in groq, perplexity, and search1api providers - Resolves TS18048 errors where temperature is possibly undefined - Maintains existing logic while satisfying TypeScript strict null checks Co-authored-by: Arvin Xu <arvinxx@users.noreply.github.com> * refactor with parameterResolver * upgrade * upgrade swr * refactor context-builder --------- Co-authored-by: claude[bot] <209825114+claude[bot]@users.noreply.github.com> Co-authored-by: Arvin Xu <arvinxx@users.noreply.github.com>
2025-10-11 07:08:26 +00:00
"nuqs": "^2.7.1",
"officeparser": "5.1.1",
"oidc-provider": "^9.5.1",
"ollama": "^0.6.0",
"openai": "^4.104.0",
"openapi-fetch": "^0.14.0",
"partial-json": "^0.1.7",
"path-browserify-esm": "^1.0.6",
"pdf-parse": "^1.1.1",
"pdfjs-dist": "4.8.69",
✨ feat: add PDF export functionality to share modal (#9300) * feat: add PDF export functionality to share modal - Create usePdfExport hook with jsPDF and html2canvas - Add "Export as PDF" button to screenshot tab in share modal - Support multi-page PDFs for long conversations - Add required dependencies: jspdf@^2.5.2 and html2canvas@^1.4.1 - Add localization support for PDF export button Fixes #9299 🤖 Generated with [Claude Code](https://claude.ai/code) Co-authored-by: LobeHub Bot <lobehubbot@users.noreply.github.com> * ♻️ refactor: convert PDF export to separate tab with backend generation - Create new SharePdf tab component with PDF.js preview - Move PDF generation from frontend to backend via tRPC - Add server-side PDF generation using jsPDF - Remove old PDF export button from ShareImage component - Add proper loading states and error handling - Update localization for PDF tab Co-authored-by: Shinji-Li <ONLY-yours@users.noreply.github.com> * 🐛 fix: resolve unicorn/no-await-expression-member lint error in PDF exporter Split await expression member access to avoid linting error in exporter.ts Co-authored-by: Shinji-Li <ONLY-yours@users.noreply.github.com> * feat: add i18n * feat: use pdfkit to export a pdf * feat: add fullscreen preview * feat: update pdf preview styles * feat: add i18n locales * feat: add single pdf share modal * feat: update css & client mode cant use pdf genertate * fix: mobile style fixed * fix: delete console.log & useless packagejson * feat: use online otf link --------- Co-authored-by: Shinji-Li <ONLY-yours@users.noreply.github.com>
2025-10-21 08:32:17 +00:00
"pdfkit": "^0.17.2",
"pg": "^8.16.3",
🐛 fix(bedrock): add parameter conflict handling for Claude 4+ models (#9627) * fix(bedrock): add parameter conflict handling for Claude 4+ models - Add logic to prevent sending both temperature and top_p for Claude 4+ models - Matches existing implementation in Anthropic provider - Fixes ValidationException error for Claude 4.5 models via Bedrock - Includes support for both standard and Bedrock-specific model IDs Fixes #9523 🤖 Generated with [Claude Code](https://claude.ai/code) Co-authored-by: Arvin Xu <arvinxx@users.noreply.github.com> * 🧪 test(bedrock): add parameter conflict handling tests Add comprehensive tests for Claude 4+ models parameter conflict detection: - Test temperature preference over top_p when both provided - Test top_p usage when temperature not provided - Test both parameters allowed for non-Claude-4+ models - Test standard and Bedrock-specific model ID formats - Test US region model IDs 🤖 Generated with [Claude Code](https://claude.ai/code) Co-authored-by: Arvin Xu <arvinxx@users.noreply.github.com> * 🔧 fix: make temperature optional in ChatStreamPayload interface The temperature property should be optional to support test cases and scenarios where only top_p is provided. This resolves TypeScript error TS2741 in Bedrock provider tests. Co-authored-by: Arvin Xu <arvinxx@users.noreply.github.com> * 🔧 fix: correct test assertions to handle JSON.stringify undefined omission - Remove undefined properties from test expectations since JSON.stringify omits them - Fix temperature/top_p conflict test assertions for Claude 4+ models - Ensure tests match actual JSON serialization behavior 🤖 Generated with [Claude Code](https://claude.ai/code) Co-authored-by: Arvin Xu <arvinxx@users.noreply.github.com> * 🔧 fix: add null safety checks for optional temperature parameter - Added proper undefined checks before temperature arithmetic operations in anthropic and bedrock providers - Added null checks before temperature comparisons in groq, perplexity, and search1api providers - Resolves TS18048 errors where temperature is possibly undefined - Maintains existing logic while satisfying TypeScript strict null checks Co-authored-by: Arvin Xu <arvinxx@users.noreply.github.com> * refactor with parameterResolver * upgrade * upgrade swr * refactor context-builder --------- Co-authored-by: claude[bot] <209825114+claude[bot]@users.noreply.github.com> Co-authored-by: Arvin Xu <arvinxx@users.noreply.github.com>
2025-10-11 07:08:26 +00:00
"pino": "^9.13.1",
"plaiceholder": "^3.0.0",
"polished": "^4.3.1",
"posthog-js": "~1.278.0",
"pure-rand": "^7.0.1",
"pwa-install-handler": "^2.6.3",
🐛 fix(bedrock): add parameter conflict handling for Claude 4+ models (#9627) * fix(bedrock): add parameter conflict handling for Claude 4+ models - Add logic to prevent sending both temperature and top_p for Claude 4+ models - Matches existing implementation in Anthropic provider - Fixes ValidationException error for Claude 4.5 models via Bedrock - Includes support for both standard and Bedrock-specific model IDs Fixes #9523 🤖 Generated with [Claude Code](https://claude.ai/code) Co-authored-by: Arvin Xu <arvinxx@users.noreply.github.com> * 🧪 test(bedrock): add parameter conflict handling tests Add comprehensive tests for Claude 4+ models parameter conflict detection: - Test temperature preference over top_p when both provided - Test top_p usage when temperature not provided - Test both parameters allowed for non-Claude-4+ models - Test standard and Bedrock-specific model ID formats - Test US region model IDs 🤖 Generated with [Claude Code](https://claude.ai/code) Co-authored-by: Arvin Xu <arvinxx@users.noreply.github.com> * 🔧 fix: make temperature optional in ChatStreamPayload interface The temperature property should be optional to support test cases and scenarios where only top_p is provided. This resolves TypeScript error TS2741 in Bedrock provider tests. Co-authored-by: Arvin Xu <arvinxx@users.noreply.github.com> * 🔧 fix: correct test assertions to handle JSON.stringify undefined omission - Remove undefined properties from test expectations since JSON.stringify omits them - Fix temperature/top_p conflict test assertions for Claude 4+ models - Ensure tests match actual JSON serialization behavior 🤖 Generated with [Claude Code](https://claude.ai/code) Co-authored-by: Arvin Xu <arvinxx@users.noreply.github.com> * 🔧 fix: add null safety checks for optional temperature parameter - Added proper undefined checks before temperature arithmetic operations in anthropic and bedrock providers - Added null checks before temperature comparisons in groq, perplexity, and search1api providers - Resolves TS18048 errors where temperature is possibly undefined - Maintains existing logic while satisfying TypeScript strict null checks Co-authored-by: Arvin Xu <arvinxx@users.noreply.github.com> * refactor with parameterResolver * upgrade * upgrade swr * refactor context-builder --------- Co-authored-by: claude[bot] <209825114+claude[bot]@users.noreply.github.com> Co-authored-by: Arvin Xu <arvinxx@users.noreply.github.com>
2025-10-11 07:08:26 +00:00
"query-string": "^9.3.1",
"random-words": "^2.0.1",
🐛 fix(bedrock): add parameter conflict handling for Claude 4+ models (#9627) * fix(bedrock): add parameter conflict handling for Claude 4+ models - Add logic to prevent sending both temperature and top_p for Claude 4+ models - Matches existing implementation in Anthropic provider - Fixes ValidationException error for Claude 4.5 models via Bedrock - Includes support for both standard and Bedrock-specific model IDs Fixes #9523 🤖 Generated with [Claude Code](https://claude.ai/code) Co-authored-by: Arvin Xu <arvinxx@users.noreply.github.com> * 🧪 test(bedrock): add parameter conflict handling tests Add comprehensive tests for Claude 4+ models parameter conflict detection: - Test temperature preference over top_p when both provided - Test top_p usage when temperature not provided - Test both parameters allowed for non-Claude-4+ models - Test standard and Bedrock-specific model ID formats - Test US region model IDs 🤖 Generated with [Claude Code](https://claude.ai/code) Co-authored-by: Arvin Xu <arvinxx@users.noreply.github.com> * 🔧 fix: make temperature optional in ChatStreamPayload interface The temperature property should be optional to support test cases and scenarios where only top_p is provided. This resolves TypeScript error TS2741 in Bedrock provider tests. Co-authored-by: Arvin Xu <arvinxx@users.noreply.github.com> * 🔧 fix: correct test assertions to handle JSON.stringify undefined omission - Remove undefined properties from test expectations since JSON.stringify omits them - Fix temperature/top_p conflict test assertions for Claude 4+ models - Ensure tests match actual JSON serialization behavior 🤖 Generated with [Claude Code](https://claude.ai/code) Co-authored-by: Arvin Xu <arvinxx@users.noreply.github.com> * 🔧 fix: add null safety checks for optional temperature parameter - Added proper undefined checks before temperature arithmetic operations in anthropic and bedrock providers - Added null checks before temperature comparisons in groq, perplexity, and search1api providers - Resolves TS18048 errors where temperature is possibly undefined - Maintains existing logic while satisfying TypeScript strict null checks Co-authored-by: Arvin Xu <arvinxx@users.noreply.github.com> * refactor with parameterResolver * upgrade * upgrade swr * refactor context-builder --------- Co-authored-by: claude[bot] <209825114+claude[bot]@users.noreply.github.com> Co-authored-by: Arvin Xu <arvinxx@users.noreply.github.com>
2025-10-11 07:08:26 +00:00
"react": "^19.2.0",
"react-confetti": "^6.4.0",
🐛 fix(bedrock): add parameter conflict handling for Claude 4+ models (#9627) * fix(bedrock): add parameter conflict handling for Claude 4+ models - Add logic to prevent sending both temperature and top_p for Claude 4+ models - Matches existing implementation in Anthropic provider - Fixes ValidationException error for Claude 4.5 models via Bedrock - Includes support for both standard and Bedrock-specific model IDs Fixes #9523 🤖 Generated with [Claude Code](https://claude.ai/code) Co-authored-by: Arvin Xu <arvinxx@users.noreply.github.com> * 🧪 test(bedrock): add parameter conflict handling tests Add comprehensive tests for Claude 4+ models parameter conflict detection: - Test temperature preference over top_p when both provided - Test top_p usage when temperature not provided - Test both parameters allowed for non-Claude-4+ models - Test standard and Bedrock-specific model ID formats - Test US region model IDs 🤖 Generated with [Claude Code](https://claude.ai/code) Co-authored-by: Arvin Xu <arvinxx@users.noreply.github.com> * 🔧 fix: make temperature optional in ChatStreamPayload interface The temperature property should be optional to support test cases and scenarios where only top_p is provided. This resolves TypeScript error TS2741 in Bedrock provider tests. Co-authored-by: Arvin Xu <arvinxx@users.noreply.github.com> * 🔧 fix: correct test assertions to handle JSON.stringify undefined omission - Remove undefined properties from test expectations since JSON.stringify omits them - Fix temperature/top_p conflict test assertions for Claude 4+ models - Ensure tests match actual JSON serialization behavior 🤖 Generated with [Claude Code](https://claude.ai/code) Co-authored-by: Arvin Xu <arvinxx@users.noreply.github.com> * 🔧 fix: add null safety checks for optional temperature parameter - Added proper undefined checks before temperature arithmetic operations in anthropic and bedrock providers - Added null checks before temperature comparisons in groq, perplexity, and search1api providers - Resolves TS18048 errors where temperature is possibly undefined - Maintains existing logic while satisfying TypeScript strict null checks Co-authored-by: Arvin Xu <arvinxx@users.noreply.github.com> * refactor with parameterResolver * upgrade * upgrade swr * refactor context-builder --------- Co-authored-by: claude[bot] <209825114+claude[bot]@users.noreply.github.com> Co-authored-by: Arvin Xu <arvinxx@users.noreply.github.com>
2025-10-11 07:08:26 +00:00
"react-dom": "^19.2.0",
"react-fast-marquee": "^1.6.5",
"react-hotkeys-hook": "^5.1.0",
🐛 fix(bedrock): add parameter conflict handling for Claude 4+ models (#9627) * fix(bedrock): add parameter conflict handling for Claude 4+ models - Add logic to prevent sending both temperature and top_p for Claude 4+ models - Matches existing implementation in Anthropic provider - Fixes ValidationException error for Claude 4.5 models via Bedrock - Includes support for both standard and Bedrock-specific model IDs Fixes #9523 🤖 Generated with [Claude Code](https://claude.ai/code) Co-authored-by: Arvin Xu <arvinxx@users.noreply.github.com> * 🧪 test(bedrock): add parameter conflict handling tests Add comprehensive tests for Claude 4+ models parameter conflict detection: - Test temperature preference over top_p when both provided - Test top_p usage when temperature not provided - Test both parameters allowed for non-Claude-4+ models - Test standard and Bedrock-specific model ID formats - Test US region model IDs 🤖 Generated with [Claude Code](https://claude.ai/code) Co-authored-by: Arvin Xu <arvinxx@users.noreply.github.com> * 🔧 fix: make temperature optional in ChatStreamPayload interface The temperature property should be optional to support test cases and scenarios where only top_p is provided. This resolves TypeScript error TS2741 in Bedrock provider tests. Co-authored-by: Arvin Xu <arvinxx@users.noreply.github.com> * 🔧 fix: correct test assertions to handle JSON.stringify undefined omission - Remove undefined properties from test expectations since JSON.stringify omits them - Fix temperature/top_p conflict test assertions for Claude 4+ models - Ensure tests match actual JSON serialization behavior 🤖 Generated with [Claude Code](https://claude.ai/code) Co-authored-by: Arvin Xu <arvinxx@users.noreply.github.com> * 🔧 fix: add null safety checks for optional temperature parameter - Added proper undefined checks before temperature arithmetic operations in anthropic and bedrock providers - Added null checks before temperature comparisons in groq, perplexity, and search1api providers - Resolves TS18048 errors where temperature is possibly undefined - Maintains existing logic while satisfying TypeScript strict null checks Co-authored-by: Arvin Xu <arvinxx@users.noreply.github.com> * refactor with parameterResolver * upgrade * upgrade swr * refactor context-builder --------- Co-authored-by: claude[bot] <209825114+claude[bot]@users.noreply.github.com> Co-authored-by: Arvin Xu <arvinxx@users.noreply.github.com>
2025-10-11 07:08:26 +00:00
"react-i18next": "^15.7.4",
"react-layout-kit": "^2.0.0",
"react-lazy-load": "^4.0.1",
"react-pdf": "^9.2.1",
"react-responsive": "^10.0.1",
"react-rnd": "^10.5.2",
"react-router-dom": "^7.9.4",
"react-scan": "^0.4.3",
🐛 fix(bedrock): add parameter conflict handling for Claude 4+ models (#9627) * fix(bedrock): add parameter conflict handling for Claude 4+ models - Add logic to prevent sending both temperature and top_p for Claude 4+ models - Matches existing implementation in Anthropic provider - Fixes ValidationException error for Claude 4.5 models via Bedrock - Includes support for both standard and Bedrock-specific model IDs Fixes #9523 🤖 Generated with [Claude Code](https://claude.ai/code) Co-authored-by: Arvin Xu <arvinxx@users.noreply.github.com> * 🧪 test(bedrock): add parameter conflict handling tests Add comprehensive tests for Claude 4+ models parameter conflict detection: - Test temperature preference over top_p when both provided - Test top_p usage when temperature not provided - Test both parameters allowed for non-Claude-4+ models - Test standard and Bedrock-specific model ID formats - Test US region model IDs 🤖 Generated with [Claude Code](https://claude.ai/code) Co-authored-by: Arvin Xu <arvinxx@users.noreply.github.com> * 🔧 fix: make temperature optional in ChatStreamPayload interface The temperature property should be optional to support test cases and scenarios where only top_p is provided. This resolves TypeScript error TS2741 in Bedrock provider tests. Co-authored-by: Arvin Xu <arvinxx@users.noreply.github.com> * 🔧 fix: correct test assertions to handle JSON.stringify undefined omission - Remove undefined properties from test expectations since JSON.stringify omits them - Fix temperature/top_p conflict test assertions for Claude 4+ models - Ensure tests match actual JSON serialization behavior 🤖 Generated with [Claude Code](https://claude.ai/code) Co-authored-by: Arvin Xu <arvinxx@users.noreply.github.com> * 🔧 fix: add null safety checks for optional temperature parameter - Added proper undefined checks before temperature arithmetic operations in anthropic and bedrock providers - Added null checks before temperature comparisons in groq, perplexity, and search1api providers - Resolves TS18048 errors where temperature is possibly undefined - Maintains existing logic while satisfying TypeScript strict null checks Co-authored-by: Arvin Xu <arvinxx@users.noreply.github.com> * refactor with parameterResolver * upgrade * upgrade swr * refactor context-builder --------- Co-authored-by: claude[bot] <209825114+claude[bot]@users.noreply.github.com> Co-authored-by: Arvin Xu <arvinxx@users.noreply.github.com>
2025-10-11 07:08:26 +00:00
"react-virtuoso": "^4.14.1",
2024-05-26 10:37:19 +00:00
"react-wrap-balancer": "^1.1.1",
"remark": "^15.0.1",
"remark-gfm": "^4.0.1",
"remark-html": "^16.0.1",
"resolve-accept-language": "^3.1.13",
"rtl-detect": "^1.1.2",
🐛 fix(bedrock): add parameter conflict handling for Claude 4+ models (#9627) * fix(bedrock): add parameter conflict handling for Claude 4+ models - Add logic to prevent sending both temperature and top_p for Claude 4+ models - Matches existing implementation in Anthropic provider - Fixes ValidationException error for Claude 4.5 models via Bedrock - Includes support for both standard and Bedrock-specific model IDs Fixes #9523 🤖 Generated with [Claude Code](https://claude.ai/code) Co-authored-by: Arvin Xu <arvinxx@users.noreply.github.com> * 🧪 test(bedrock): add parameter conflict handling tests Add comprehensive tests for Claude 4+ models parameter conflict detection: - Test temperature preference over top_p when both provided - Test top_p usage when temperature not provided - Test both parameters allowed for non-Claude-4+ models - Test standard and Bedrock-specific model ID formats - Test US region model IDs 🤖 Generated with [Claude Code](https://claude.ai/code) Co-authored-by: Arvin Xu <arvinxx@users.noreply.github.com> * 🔧 fix: make temperature optional in ChatStreamPayload interface The temperature property should be optional to support test cases and scenarios where only top_p is provided. This resolves TypeScript error TS2741 in Bedrock provider tests. Co-authored-by: Arvin Xu <arvinxx@users.noreply.github.com> * 🔧 fix: correct test assertions to handle JSON.stringify undefined omission - Remove undefined properties from test expectations since JSON.stringify omits them - Fix temperature/top_p conflict test assertions for Claude 4+ models - Ensure tests match actual JSON serialization behavior 🤖 Generated with [Claude Code](https://claude.ai/code) Co-authored-by: Arvin Xu <arvinxx@users.noreply.github.com> * 🔧 fix: add null safety checks for optional temperature parameter - Added proper undefined checks before temperature arithmetic operations in anthropic and bedrock providers - Added null checks before temperature comparisons in groq, perplexity, and search1api providers - Resolves TS18048 errors where temperature is possibly undefined - Maintains existing logic while satisfying TypeScript strict null checks Co-authored-by: Arvin Xu <arvinxx@users.noreply.github.com> * refactor with parameterResolver * upgrade * upgrade swr * refactor context-builder --------- Co-authored-by: claude[bot] <209825114+claude[bot]@users.noreply.github.com> Co-authored-by: Arvin Xu <arvinxx@users.noreply.github.com>
2025-10-11 07:08:26 +00:00
"semver": "^7.7.3",
"sharp": "^0.34.4",
"shiki": "^3.13.0",
"ssrf-safe-fetch": "workspace:*",
"stripe": "^17.7.0",
"superjson": "^2.2.2",
🐛 fix(bedrock): add parameter conflict handling for Claude 4+ models (#9627) * fix(bedrock): add parameter conflict handling for Claude 4+ models - Add logic to prevent sending both temperature and top_p for Claude 4+ models - Matches existing implementation in Anthropic provider - Fixes ValidationException error for Claude 4.5 models via Bedrock - Includes support for both standard and Bedrock-specific model IDs Fixes #9523 🤖 Generated with [Claude Code](https://claude.ai/code) Co-authored-by: Arvin Xu <arvinxx@users.noreply.github.com> * 🧪 test(bedrock): add parameter conflict handling tests Add comprehensive tests for Claude 4+ models parameter conflict detection: - Test temperature preference over top_p when both provided - Test top_p usage when temperature not provided - Test both parameters allowed for non-Claude-4+ models - Test standard and Bedrock-specific model ID formats - Test US region model IDs 🤖 Generated with [Claude Code](https://claude.ai/code) Co-authored-by: Arvin Xu <arvinxx@users.noreply.github.com> * 🔧 fix: make temperature optional in ChatStreamPayload interface The temperature property should be optional to support test cases and scenarios where only top_p is provided. This resolves TypeScript error TS2741 in Bedrock provider tests. Co-authored-by: Arvin Xu <arvinxx@users.noreply.github.com> * 🔧 fix: correct test assertions to handle JSON.stringify undefined omission - Remove undefined properties from test expectations since JSON.stringify omits them - Fix temperature/top_p conflict test assertions for Claude 4+ models - Ensure tests match actual JSON serialization behavior 🤖 Generated with [Claude Code](https://claude.ai/code) Co-authored-by: Arvin Xu <arvinxx@users.noreply.github.com> * 🔧 fix: add null safety checks for optional temperature parameter - Added proper undefined checks before temperature arithmetic operations in anthropic and bedrock providers - Added null checks before temperature comparisons in groq, perplexity, and search1api providers - Resolves TS18048 errors where temperature is possibly undefined - Maintains existing logic while satisfying TypeScript strict null checks Co-authored-by: Arvin Xu <arvinxx@users.noreply.github.com> * refactor with parameterResolver * upgrade * upgrade swr * refactor context-builder --------- Co-authored-by: claude[bot] <209825114+claude[bot]@users.noreply.github.com> Co-authored-by: Arvin Xu <arvinxx@users.noreply.github.com>
2025-10-11 07:08:26 +00:00
"svix": "^1.77.0",
"swr": "^2.3.6",
"systemjs": "^6.15.1",
🐛 fix(bedrock): add parameter conflict handling for Claude 4+ models (#9627) * fix(bedrock): add parameter conflict handling for Claude 4+ models - Add logic to prevent sending both temperature and top_p for Claude 4+ models - Matches existing implementation in Anthropic provider - Fixes ValidationException error for Claude 4.5 models via Bedrock - Includes support for both standard and Bedrock-specific model IDs Fixes #9523 🤖 Generated with [Claude Code](https://claude.ai/code) Co-authored-by: Arvin Xu <arvinxx@users.noreply.github.com> * 🧪 test(bedrock): add parameter conflict handling tests Add comprehensive tests for Claude 4+ models parameter conflict detection: - Test temperature preference over top_p when both provided - Test top_p usage when temperature not provided - Test both parameters allowed for non-Claude-4+ models - Test standard and Bedrock-specific model ID formats - Test US region model IDs 🤖 Generated with [Claude Code](https://claude.ai/code) Co-authored-by: Arvin Xu <arvinxx@users.noreply.github.com> * 🔧 fix: make temperature optional in ChatStreamPayload interface The temperature property should be optional to support test cases and scenarios where only top_p is provided. This resolves TypeScript error TS2741 in Bedrock provider tests. Co-authored-by: Arvin Xu <arvinxx@users.noreply.github.com> * 🔧 fix: correct test assertions to handle JSON.stringify undefined omission - Remove undefined properties from test expectations since JSON.stringify omits them - Fix temperature/top_p conflict test assertions for Claude 4+ models - Ensure tests match actual JSON serialization behavior 🤖 Generated with [Claude Code](https://claude.ai/code) Co-authored-by: Arvin Xu <arvinxx@users.noreply.github.com> * 🔧 fix: add null safety checks for optional temperature parameter - Added proper undefined checks before temperature arithmetic operations in anthropic and bedrock providers - Added null checks before temperature comparisons in groq, perplexity, and search1api providers - Resolves TS18048 errors where temperature is possibly undefined - Maintains existing logic while satisfying TypeScript strict null checks Co-authored-by: Arvin Xu <arvinxx@users.noreply.github.com> * refactor with parameterResolver * upgrade * upgrade swr * refactor context-builder --------- Co-authored-by: claude[bot] <209825114+claude[bot]@users.noreply.github.com> Co-authored-by: Arvin Xu <arvinxx@users.noreply.github.com>
2025-10-11 07:08:26 +00:00
"tokenx": "^1.1.0",
"ts-md5": "^2.0.1",
"ua-parser-js": "^1.0.41",
"unstructured-client": "^0.19.0",
"url-join": "^5.0.0",
"use-merge-value": "^1.2.0",
"uuid": "^11.1.0",
"word-extractor": "^1.0.4",
"ws": "^8.18.3",
"yaml": "^2.8.1",
"zod": "^3.25.76",
"zustand": "5.0.4",
"zustand-utils": "^2.1.1"
2023-05-21 07:34:04 +00:00
},
"devDependencies": {
"@commitlint/cli": "^19.8.1",
"@edge-runtime/vm": "^5.0.0",
🐛 fix(bedrock): add parameter conflict handling for Claude 4+ models (#9627) * fix(bedrock): add parameter conflict handling for Claude 4+ models - Add logic to prevent sending both temperature and top_p for Claude 4+ models - Matches existing implementation in Anthropic provider - Fixes ValidationException error for Claude 4.5 models via Bedrock - Includes support for both standard and Bedrock-specific model IDs Fixes #9523 🤖 Generated with [Claude Code](https://claude.ai/code) Co-authored-by: Arvin Xu <arvinxx@users.noreply.github.com> * 🧪 test(bedrock): add parameter conflict handling tests Add comprehensive tests for Claude 4+ models parameter conflict detection: - Test temperature preference over top_p when both provided - Test top_p usage when temperature not provided - Test both parameters allowed for non-Claude-4+ models - Test standard and Bedrock-specific model ID formats - Test US region model IDs 🤖 Generated with [Claude Code](https://claude.ai/code) Co-authored-by: Arvin Xu <arvinxx@users.noreply.github.com> * 🔧 fix: make temperature optional in ChatStreamPayload interface The temperature property should be optional to support test cases and scenarios where only top_p is provided. This resolves TypeScript error TS2741 in Bedrock provider tests. Co-authored-by: Arvin Xu <arvinxx@users.noreply.github.com> * 🔧 fix: correct test assertions to handle JSON.stringify undefined omission - Remove undefined properties from test expectations since JSON.stringify omits them - Fix temperature/top_p conflict test assertions for Claude 4+ models - Ensure tests match actual JSON serialization behavior 🤖 Generated with [Claude Code](https://claude.ai/code) Co-authored-by: Arvin Xu <arvinxx@users.noreply.github.com> * 🔧 fix: add null safety checks for optional temperature parameter - Added proper undefined checks before temperature arithmetic operations in anthropic and bedrock providers - Added null checks before temperature comparisons in groq, perplexity, and search1api providers - Resolves TS18048 errors where temperature is possibly undefined - Maintains existing logic while satisfying TypeScript strict null checks Co-authored-by: Arvin Xu <arvinxx@users.noreply.github.com> * refactor with parameterResolver * upgrade * upgrade swr * refactor context-builder --------- Co-authored-by: claude[bot] <209825114+claude[bot]@users.noreply.github.com> Co-authored-by: Arvin Xu <arvinxx@users.noreply.github.com>
2025-10-11 07:08:26 +00:00
"@huggingface/tasks": "^0.19.50",
"@lobechat/types": "workspace:*",
"@lobehub/i18n-cli": "^1.25.1",
"@lobehub/lint": "^1.26.2",
"@lobehub/market-types": "^1.11.4",
"@lobehub/seo-cli": "^1.7.0",
🐛 fix(bedrock): add parameter conflict handling for Claude 4+ models (#9627) * fix(bedrock): add parameter conflict handling for Claude 4+ models - Add logic to prevent sending both temperature and top_p for Claude 4+ models - Matches existing implementation in Anthropic provider - Fixes ValidationException error for Claude 4.5 models via Bedrock - Includes support for both standard and Bedrock-specific model IDs Fixes #9523 🤖 Generated with [Claude Code](https://claude.ai/code) Co-authored-by: Arvin Xu <arvinxx@users.noreply.github.com> * 🧪 test(bedrock): add parameter conflict handling tests Add comprehensive tests for Claude 4+ models parameter conflict detection: - Test temperature preference over top_p when both provided - Test top_p usage when temperature not provided - Test both parameters allowed for non-Claude-4+ models - Test standard and Bedrock-specific model ID formats - Test US region model IDs 🤖 Generated with [Claude Code](https://claude.ai/code) Co-authored-by: Arvin Xu <arvinxx@users.noreply.github.com> * 🔧 fix: make temperature optional in ChatStreamPayload interface The temperature property should be optional to support test cases and scenarios where only top_p is provided. This resolves TypeScript error TS2741 in Bedrock provider tests. Co-authored-by: Arvin Xu <arvinxx@users.noreply.github.com> * 🔧 fix: correct test assertions to handle JSON.stringify undefined omission - Remove undefined properties from test expectations since JSON.stringify omits them - Fix temperature/top_p conflict test assertions for Claude 4+ models - Ensure tests match actual JSON serialization behavior 🤖 Generated with [Claude Code](https://claude.ai/code) Co-authored-by: Arvin Xu <arvinxx@users.noreply.github.com> * 🔧 fix: add null safety checks for optional temperature parameter - Added proper undefined checks before temperature arithmetic operations in anthropic and bedrock providers - Added null checks before temperature comparisons in groq, perplexity, and search1api providers - Resolves TS18048 errors where temperature is possibly undefined - Maintains existing logic while satisfying TypeScript strict null checks Co-authored-by: Arvin Xu <arvinxx@users.noreply.github.com> * refactor with parameterResolver * upgrade * upgrade swr * refactor context-builder --------- Co-authored-by: claude[bot] <209825114+claude[bot]@users.noreply.github.com> Co-authored-by: Arvin Xu <arvinxx@users.noreply.github.com>
2025-10-11 07:08:26 +00:00
"@next/bundle-analyzer": "^15.5.4",
"@next/eslint-plugin-next": "^15.5.4",
"@peculiar/webcrypto": "^1.5.0",
"@playwright/test": "^1.49.1",
"@prettier/sync": "^0.6.1",
"@semantic-release/exec": "^6.0.3",
"@testing-library/jest-dom": "^6.9.1",
"@testing-library/react": "^16.3.0",
"@testing-library/user-event": "^14.6.1",
"@types/chroma-js": "^3.1.1",
"@types/crypto-js": "^4.2.2",
"@types/debug": "^4.1.12",
"@types/fs-extra": "^11.0.4",
"@types/ip": "^1.1.3",
"@types/json-schema": "^7.0.15",
"@types/lodash": "^4.17.20",
"@types/lodash-es": "^4.17.12",
🐛 fix(bedrock): add parameter conflict handling for Claude 4+ models (#9627) * fix(bedrock): add parameter conflict handling for Claude 4+ models - Add logic to prevent sending both temperature and top_p for Claude 4+ models - Matches existing implementation in Anthropic provider - Fixes ValidationException error for Claude 4.5 models via Bedrock - Includes support for both standard and Bedrock-specific model IDs Fixes #9523 🤖 Generated with [Claude Code](https://claude.ai/code) Co-authored-by: Arvin Xu <arvinxx@users.noreply.github.com> * 🧪 test(bedrock): add parameter conflict handling tests Add comprehensive tests for Claude 4+ models parameter conflict detection: - Test temperature preference over top_p when both provided - Test top_p usage when temperature not provided - Test both parameters allowed for non-Claude-4+ models - Test standard and Bedrock-specific model ID formats - Test US region model IDs 🤖 Generated with [Claude Code](https://claude.ai/code) Co-authored-by: Arvin Xu <arvinxx@users.noreply.github.com> * 🔧 fix: make temperature optional in ChatStreamPayload interface The temperature property should be optional to support test cases and scenarios where only top_p is provided. This resolves TypeScript error TS2741 in Bedrock provider tests. Co-authored-by: Arvin Xu <arvinxx@users.noreply.github.com> * 🔧 fix: correct test assertions to handle JSON.stringify undefined omission - Remove undefined properties from test expectations since JSON.stringify omits them - Fix temperature/top_p conflict test assertions for Claude 4+ models - Ensure tests match actual JSON serialization behavior 🤖 Generated with [Claude Code](https://claude.ai/code) Co-authored-by: Arvin Xu <arvinxx@users.noreply.github.com> * 🔧 fix: add null safety checks for optional temperature parameter - Added proper undefined checks before temperature arithmetic operations in anthropic and bedrock providers - Added null checks before temperature comparisons in groq, perplexity, and search1api providers - Resolves TS18048 errors where temperature is possibly undefined - Maintains existing logic while satisfying TypeScript strict null checks Co-authored-by: Arvin Xu <arvinxx@users.noreply.github.com> * refactor with parameterResolver * upgrade * upgrade swr * refactor context-builder --------- Co-authored-by: claude[bot] <209825114+claude[bot]@users.noreply.github.com> Co-authored-by: Arvin Xu <arvinxx@users.noreply.github.com>
2025-10-11 07:08:26 +00:00
"@types/node": "^22.18.9",
"@types/numeral": "^2.0.5",
"@types/oidc-provider": "^9.5.0",
✨ feat: add PDF export functionality to share modal (#9300) * feat: add PDF export functionality to share modal - Create usePdfExport hook with jsPDF and html2canvas - Add "Export as PDF" button to screenshot tab in share modal - Support multi-page PDFs for long conversations - Add required dependencies: jspdf@^2.5.2 and html2canvas@^1.4.1 - Add localization support for PDF export button Fixes #9299 🤖 Generated with [Claude Code](https://claude.ai/code) Co-authored-by: LobeHub Bot <lobehubbot@users.noreply.github.com> * ♻️ refactor: convert PDF export to separate tab with backend generation - Create new SharePdf tab component with PDF.js preview - Move PDF generation from frontend to backend via tRPC - Add server-side PDF generation using jsPDF - Remove old PDF export button from ShareImage component - Add proper loading states and error handling - Update localization for PDF tab Co-authored-by: Shinji-Li <ONLY-yours@users.noreply.github.com> * 🐛 fix: resolve unicorn/no-await-expression-member lint error in PDF exporter Split await expression member access to avoid linting error in exporter.ts Co-authored-by: Shinji-Li <ONLY-yours@users.noreply.github.com> * feat: add i18n * feat: use pdfkit to export a pdf * feat: add fullscreen preview * feat: update pdf preview styles * feat: add i18n locales * feat: add single pdf share modal * feat: update css & client mode cant use pdf genertate * fix: mobile style fixed * fix: delete console.log & useless packagejson * feat: use online otf link --------- Co-authored-by: Shinji-Li <ONLY-yours@users.noreply.github.com>
2025-10-21 08:32:17 +00:00
"@types/pdfkit": "^0.17.3",
"@types/pg": "^8.15.5",
🐛 fix(bedrock): add parameter conflict handling for Claude 4+ models (#9627) * fix(bedrock): add parameter conflict handling for Claude 4+ models - Add logic to prevent sending both temperature and top_p for Claude 4+ models - Matches existing implementation in Anthropic provider - Fixes ValidationException error for Claude 4.5 models via Bedrock - Includes support for both standard and Bedrock-specific model IDs Fixes #9523 🤖 Generated with [Claude Code](https://claude.ai/code) Co-authored-by: Arvin Xu <arvinxx@users.noreply.github.com> * 🧪 test(bedrock): add parameter conflict handling tests Add comprehensive tests for Claude 4+ models parameter conflict detection: - Test temperature preference over top_p when both provided - Test top_p usage when temperature not provided - Test both parameters allowed for non-Claude-4+ models - Test standard and Bedrock-specific model ID formats - Test US region model IDs 🤖 Generated with [Claude Code](https://claude.ai/code) Co-authored-by: Arvin Xu <arvinxx@users.noreply.github.com> * 🔧 fix: make temperature optional in ChatStreamPayload interface The temperature property should be optional to support test cases and scenarios where only top_p is provided. This resolves TypeScript error TS2741 in Bedrock provider tests. Co-authored-by: Arvin Xu <arvinxx@users.noreply.github.com> * 🔧 fix: correct test assertions to handle JSON.stringify undefined omission - Remove undefined properties from test expectations since JSON.stringify omits them - Fix temperature/top_p conflict test assertions for Claude 4+ models - Ensure tests match actual JSON serialization behavior 🤖 Generated with [Claude Code](https://claude.ai/code) Co-authored-by: Arvin Xu <arvinxx@users.noreply.github.com> * 🔧 fix: add null safety checks for optional temperature parameter - Added proper undefined checks before temperature arithmetic operations in anthropic and bedrock providers - Added null checks before temperature comparisons in groq, perplexity, and search1api providers - Resolves TS18048 errors where temperature is possibly undefined - Maintains existing logic while satisfying TypeScript strict null checks Co-authored-by: Arvin Xu <arvinxx@users.noreply.github.com> * refactor with parameterResolver * upgrade * upgrade swr * refactor context-builder --------- Co-authored-by: claude[bot] <209825114+claude[bot]@users.noreply.github.com> Co-authored-by: Arvin Xu <arvinxx@users.noreply.github.com>
2025-10-11 07:08:26 +00:00
"@types/react": "^19.2.2",
"@types/react-dom": "^19.2.1",
"@types/rtl-detect": "^1.0.3",
"@types/semver": "^7.7.1",
"@types/systemjs": "^6.15.3",
"@types/ua-parser-js": "^0.7.39",
"@types/unist": "^3.0.3",
"@types/ws": "^8.18.1",
2025-07-12 16:45:15 +00:00
"@typescript/native-preview": "7.0.0-dev.20250711.1",
"@vitest/coverage-v8": "^3.2.4",
"ajv-keywords": "^5.1.0",
"commitlint": "^19.8.1",
"consola": "^3.4.2",
🐛 fix(bedrock): add parameter conflict handling for Claude 4+ models (#9627) * fix(bedrock): add parameter conflict handling for Claude 4+ models - Add logic to prevent sending both temperature and top_p for Claude 4+ models - Matches existing implementation in Anthropic provider - Fixes ValidationException error for Claude 4.5 models via Bedrock - Includes support for both standard and Bedrock-specific model IDs Fixes #9523 🤖 Generated with [Claude Code](https://claude.ai/code) Co-authored-by: Arvin Xu <arvinxx@users.noreply.github.com> * 🧪 test(bedrock): add parameter conflict handling tests Add comprehensive tests for Claude 4+ models parameter conflict detection: - Test temperature preference over top_p when both provided - Test top_p usage when temperature not provided - Test both parameters allowed for non-Claude-4+ models - Test standard and Bedrock-specific model ID formats - Test US region model IDs 🤖 Generated with [Claude Code](https://claude.ai/code) Co-authored-by: Arvin Xu <arvinxx@users.noreply.github.com> * 🔧 fix: make temperature optional in ChatStreamPayload interface The temperature property should be optional to support test cases and scenarios where only top_p is provided. This resolves TypeScript error TS2741 in Bedrock provider tests. Co-authored-by: Arvin Xu <arvinxx@users.noreply.github.com> * 🔧 fix: correct test assertions to handle JSON.stringify undefined omission - Remove undefined properties from test expectations since JSON.stringify omits them - Fix temperature/top_p conflict test assertions for Claude 4+ models - Ensure tests match actual JSON serialization behavior 🤖 Generated with [Claude Code](https://claude.ai/code) Co-authored-by: Arvin Xu <arvinxx@users.noreply.github.com> * 🔧 fix: add null safety checks for optional temperature parameter - Added proper undefined checks before temperature arithmetic operations in anthropic and bedrock providers - Added null checks before temperature comparisons in groq, perplexity, and search1api providers - Resolves TS18048 errors where temperature is possibly undefined - Maintains existing logic while satisfying TypeScript strict null checks Co-authored-by: Arvin Xu <arvinxx@users.noreply.github.com> * refactor with parameterResolver * upgrade * upgrade swr * refactor context-builder --------- Co-authored-by: claude[bot] <209825114+claude[bot]@users.noreply.github.com> Co-authored-by: Arvin Xu <arvinxx@users.noreply.github.com>
2025-10-11 07:08:26 +00:00
"cross-env": "^10.1.0",
"crypto-js": "^4.2.0",
🐛 fix(bedrock): add parameter conflict handling for Claude 4+ models (#9627) * fix(bedrock): add parameter conflict handling for Claude 4+ models - Add logic to prevent sending both temperature and top_p for Claude 4+ models - Matches existing implementation in Anthropic provider - Fixes ValidationException error for Claude 4.5 models via Bedrock - Includes support for both standard and Bedrock-specific model IDs Fixes #9523 🤖 Generated with [Claude Code](https://claude.ai/code) Co-authored-by: Arvin Xu <arvinxx@users.noreply.github.com> * 🧪 test(bedrock): add parameter conflict handling tests Add comprehensive tests for Claude 4+ models parameter conflict detection: - Test temperature preference over top_p when both provided - Test top_p usage when temperature not provided - Test both parameters allowed for non-Claude-4+ models - Test standard and Bedrock-specific model ID formats - Test US region model IDs 🤖 Generated with [Claude Code](https://claude.ai/code) Co-authored-by: Arvin Xu <arvinxx@users.noreply.github.com> * 🔧 fix: make temperature optional in ChatStreamPayload interface The temperature property should be optional to support test cases and scenarios where only top_p is provided. This resolves TypeScript error TS2741 in Bedrock provider tests. Co-authored-by: Arvin Xu <arvinxx@users.noreply.github.com> * 🔧 fix: correct test assertions to handle JSON.stringify undefined omission - Remove undefined properties from test expectations since JSON.stringify omits them - Fix temperature/top_p conflict test assertions for Claude 4+ models - Ensure tests match actual JSON serialization behavior 🤖 Generated with [Claude Code](https://claude.ai/code) Co-authored-by: Arvin Xu <arvinxx@users.noreply.github.com> * 🔧 fix: add null safety checks for optional temperature parameter - Added proper undefined checks before temperature arithmetic operations in anthropic and bedrock providers - Added null checks before temperature comparisons in groq, perplexity, and search1api providers - Resolves TS18048 errors where temperature is possibly undefined - Maintains existing logic while satisfying TypeScript strict null checks Co-authored-by: Arvin Xu <arvinxx@users.noreply.github.com> * refactor with parameterResolver * upgrade * upgrade swr * refactor context-builder --------- Co-authored-by: claude[bot] <209825114+claude[bot]@users.noreply.github.com> Co-authored-by: Arvin Xu <arvinxx@users.noreply.github.com>
2025-10-11 07:08:26 +00:00
"dbdocs": "^0.16.2",
"dotenv": "^17.2.3",
"dotenv-expand": "^12.0.3",
🐛 fix(bedrock): add parameter conflict handling for Claude 4+ models (#9627) * fix(bedrock): add parameter conflict handling for Claude 4+ models - Add logic to prevent sending both temperature and top_p for Claude 4+ models - Matches existing implementation in Anthropic provider - Fixes ValidationException error for Claude 4.5 models via Bedrock - Includes support for both standard and Bedrock-specific model IDs Fixes #9523 🤖 Generated with [Claude Code](https://claude.ai/code) Co-authored-by: Arvin Xu <arvinxx@users.noreply.github.com> * 🧪 test(bedrock): add parameter conflict handling tests Add comprehensive tests for Claude 4+ models parameter conflict detection: - Test temperature preference over top_p when both provided - Test top_p usage when temperature not provided - Test both parameters allowed for non-Claude-4+ models - Test standard and Bedrock-specific model ID formats - Test US region model IDs 🤖 Generated with [Claude Code](https://claude.ai/code) Co-authored-by: Arvin Xu <arvinxx@users.noreply.github.com> * 🔧 fix: make temperature optional in ChatStreamPayload interface The temperature property should be optional to support test cases and scenarios where only top_p is provided. This resolves TypeScript error TS2741 in Bedrock provider tests. Co-authored-by: Arvin Xu <arvinxx@users.noreply.github.com> * 🔧 fix: correct test assertions to handle JSON.stringify undefined omission - Remove undefined properties from test expectations since JSON.stringify omits them - Fix temperature/top_p conflict test assertions for Claude 4+ models - Ensure tests match actual JSON serialization behavior 🤖 Generated with [Claude Code](https://claude.ai/code) Co-authored-by: Arvin Xu <arvinxx@users.noreply.github.com> * 🔧 fix: add null safety checks for optional temperature parameter - Added proper undefined checks before temperature arithmetic operations in anthropic and bedrock providers - Added null checks before temperature comparisons in groq, perplexity, and search1api providers - Resolves TS18048 errors where temperature is possibly undefined - Maintains existing logic while satisfying TypeScript strict null checks Co-authored-by: Arvin Xu <arvinxx@users.noreply.github.com> * refactor with parameterResolver * upgrade * upgrade swr * refactor context-builder --------- Co-authored-by: claude[bot] <209825114+claude[bot]@users.noreply.github.com> Co-authored-by: Arvin Xu <arvinxx@users.noreply.github.com>
2025-10-11 07:08:26 +00:00
"dpdm-fast": "^1.0.14",
"drizzle-dbml-generator": "^0.10.0",
🐛 fix(bedrock): add parameter conflict handling for Claude 4+ models (#9627) * fix(bedrock): add parameter conflict handling for Claude 4+ models - Add logic to prevent sending both temperature and top_p for Claude 4+ models - Matches existing implementation in Anthropic provider - Fixes ValidationException error for Claude 4.5 models via Bedrock - Includes support for both standard and Bedrock-specific model IDs Fixes #9523 🤖 Generated with [Claude Code](https://claude.ai/code) Co-authored-by: Arvin Xu <arvinxx@users.noreply.github.com> * 🧪 test(bedrock): add parameter conflict handling tests Add comprehensive tests for Claude 4+ models parameter conflict detection: - Test temperature preference over top_p when both provided - Test top_p usage when temperature not provided - Test both parameters allowed for non-Claude-4+ models - Test standard and Bedrock-specific model ID formats - Test US region model IDs 🤖 Generated with [Claude Code](https://claude.ai/code) Co-authored-by: Arvin Xu <arvinxx@users.noreply.github.com> * 🔧 fix: make temperature optional in ChatStreamPayload interface The temperature property should be optional to support test cases and scenarios where only top_p is provided. This resolves TypeScript error TS2741 in Bedrock provider tests. Co-authored-by: Arvin Xu <arvinxx@users.noreply.github.com> * 🔧 fix: correct test assertions to handle JSON.stringify undefined omission - Remove undefined properties from test expectations since JSON.stringify omits them - Fix temperature/top_p conflict test assertions for Claude 4+ models - Ensure tests match actual JSON serialization behavior 🤖 Generated with [Claude Code](https://claude.ai/code) Co-authored-by: Arvin Xu <arvinxx@users.noreply.github.com> * 🔧 fix: add null safety checks for optional temperature parameter - Added proper undefined checks before temperature arithmetic operations in anthropic and bedrock providers - Added null checks before temperature comparisons in groq, perplexity, and search1api providers - Resolves TS18048 errors where temperature is possibly undefined - Maintains existing logic while satisfying TypeScript strict null checks Co-authored-by: Arvin Xu <arvinxx@users.noreply.github.com> * refactor with parameterResolver * upgrade * upgrade swr * refactor context-builder --------- Co-authored-by: claude[bot] <209825114+claude[bot]@users.noreply.github.com> Co-authored-by: Arvin Xu <arvinxx@users.noreply.github.com>
2025-10-11 07:08:26 +00:00
"drizzle-kit": "^0.31.5",
2024-10-20 03:38:57 +00:00
"eslint": "^8.57.1",
"eslint-plugin-mdx": "^3.6.2",
🐛 fix(bedrock): add parameter conflict handling for Claude 4+ models (#9627) * fix(bedrock): add parameter conflict handling for Claude 4+ models - Add logic to prevent sending both temperature and top_p for Claude 4+ models - Matches existing implementation in Anthropic provider - Fixes ValidationException error for Claude 4.5 models via Bedrock - Includes support for both standard and Bedrock-specific model IDs Fixes #9523 🤖 Generated with [Claude Code](https://claude.ai/code) Co-authored-by: Arvin Xu <arvinxx@users.noreply.github.com> * 🧪 test(bedrock): add parameter conflict handling tests Add comprehensive tests for Claude 4+ models parameter conflict detection: - Test temperature preference over top_p when both provided - Test top_p usage when temperature not provided - Test both parameters allowed for non-Claude-4+ models - Test standard and Bedrock-specific model ID formats - Test US region model IDs 🤖 Generated with [Claude Code](https://claude.ai/code) Co-authored-by: Arvin Xu <arvinxx@users.noreply.github.com> * 🔧 fix: make temperature optional in ChatStreamPayload interface The temperature property should be optional to support test cases and scenarios where only top_p is provided. This resolves TypeScript error TS2741 in Bedrock provider tests. Co-authored-by: Arvin Xu <arvinxx@users.noreply.github.com> * 🔧 fix: correct test assertions to handle JSON.stringify undefined omission - Remove undefined properties from test expectations since JSON.stringify omits them - Fix temperature/top_p conflict test assertions for Claude 4+ models - Ensure tests match actual JSON serialization behavior 🤖 Generated with [Claude Code](https://claude.ai/code) Co-authored-by: Arvin Xu <arvinxx@users.noreply.github.com> * 🔧 fix: add null safety checks for optional temperature parameter - Added proper undefined checks before temperature arithmetic operations in anthropic and bedrock providers - Added null checks before temperature comparisons in groq, perplexity, and search1api providers - Resolves TS18048 errors where temperature is possibly undefined - Maintains existing logic while satisfying TypeScript strict null checks Co-authored-by: Arvin Xu <arvinxx@users.noreply.github.com> * refactor with parameterResolver * upgrade * upgrade swr * refactor context-builder --------- Co-authored-by: claude[bot] <209825114+claude[bot]@users.noreply.github.com> Co-authored-by: Arvin Xu <arvinxx@users.noreply.github.com>
2025-10-11 07:08:26 +00:00
"fake-indexeddb": "^6.2.3",
"fs-extra": "^11.3.2",
"glob": "^11.0.3",
"happy-dom": "^20.0.0",
"husky": "^9.1.7",
🐛 fix(bedrock): add parameter conflict handling for Claude 4+ models (#9627) * fix(bedrock): add parameter conflict handling for Claude 4+ models - Add logic to prevent sending both temperature and top_p for Claude 4+ models - Matches existing implementation in Anthropic provider - Fixes ValidationException error for Claude 4.5 models via Bedrock - Includes support for both standard and Bedrock-specific model IDs Fixes #9523 🤖 Generated with [Claude Code](https://claude.ai/code) Co-authored-by: Arvin Xu <arvinxx@users.noreply.github.com> * 🧪 test(bedrock): add parameter conflict handling tests Add comprehensive tests for Claude 4+ models parameter conflict detection: - Test temperature preference over top_p when both provided - Test top_p usage when temperature not provided - Test both parameters allowed for non-Claude-4+ models - Test standard and Bedrock-specific model ID formats - Test US region model IDs 🤖 Generated with [Claude Code](https://claude.ai/code) Co-authored-by: Arvin Xu <arvinxx@users.noreply.github.com> * 🔧 fix: make temperature optional in ChatStreamPayload interface The temperature property should be optional to support test cases and scenarios where only top_p is provided. This resolves TypeScript error TS2741 in Bedrock provider tests. Co-authored-by: Arvin Xu <arvinxx@users.noreply.github.com> * 🔧 fix: correct test assertions to handle JSON.stringify undefined omission - Remove undefined properties from test expectations since JSON.stringify omits them - Fix temperature/top_p conflict test assertions for Claude 4+ models - Ensure tests match actual JSON serialization behavior 🤖 Generated with [Claude Code](https://claude.ai/code) Co-authored-by: Arvin Xu <arvinxx@users.noreply.github.com> * 🔧 fix: add null safety checks for optional temperature parameter - Added proper undefined checks before temperature arithmetic operations in anthropic and bedrock providers - Added null checks before temperature comparisons in groq, perplexity, and search1api providers - Resolves TS18048 errors where temperature is possibly undefined - Maintains existing logic while satisfying TypeScript strict null checks Co-authored-by: Arvin Xu <arvinxx@users.noreply.github.com> * refactor with parameterResolver * upgrade * upgrade swr * refactor context-builder --------- Co-authored-by: claude[bot] <209825114+claude[bot]@users.noreply.github.com> Co-authored-by: Arvin Xu <arvinxx@users.noreply.github.com>
2025-10-11 07:08:26 +00:00
"import-in-the-middle": "^1.15.0",
"just-diff": "^6.0.2",
"lint-staged": "^15.5.2",
"lodash": "^4.17.21",
"markdown-table": "^3.0.4",
"mcp-hello-world": "^1.1.2",
🐛 fix(bedrock): add parameter conflict handling for Claude 4+ models (#9627) * fix(bedrock): add parameter conflict handling for Claude 4+ models - Add logic to prevent sending both temperature and top_p for Claude 4+ models - Matches existing implementation in Anthropic provider - Fixes ValidationException error for Claude 4.5 models via Bedrock - Includes support for both standard and Bedrock-specific model IDs Fixes #9523 🤖 Generated with [Claude Code](https://claude.ai/code) Co-authored-by: Arvin Xu <arvinxx@users.noreply.github.com> * 🧪 test(bedrock): add parameter conflict handling tests Add comprehensive tests for Claude 4+ models parameter conflict detection: - Test temperature preference over top_p when both provided - Test top_p usage when temperature not provided - Test both parameters allowed for non-Claude-4+ models - Test standard and Bedrock-specific model ID formats - Test US region model IDs 🤖 Generated with [Claude Code](https://claude.ai/code) Co-authored-by: Arvin Xu <arvinxx@users.noreply.github.com> * 🔧 fix: make temperature optional in ChatStreamPayload interface The temperature property should be optional to support test cases and scenarios where only top_p is provided. This resolves TypeScript error TS2741 in Bedrock provider tests. Co-authored-by: Arvin Xu <arvinxx@users.noreply.github.com> * 🔧 fix: correct test assertions to handle JSON.stringify undefined omission - Remove undefined properties from test expectations since JSON.stringify omits them - Fix temperature/top_p conflict test assertions for Claude 4+ models - Ensure tests match actual JSON serialization behavior 🤖 Generated with [Claude Code](https://claude.ai/code) Co-authored-by: Arvin Xu <arvinxx@users.noreply.github.com> * 🔧 fix: add null safety checks for optional temperature parameter - Added proper undefined checks before temperature arithmetic operations in anthropic and bedrock providers - Added null checks before temperature comparisons in groq, perplexity, and search1api providers - Resolves TS18048 errors where temperature is possibly undefined - Maintains existing logic while satisfying TypeScript strict null checks Co-authored-by: Arvin Xu <arvinxx@users.noreply.github.com> * refactor with parameterResolver * upgrade * upgrade swr * refactor context-builder --------- Co-authored-by: claude[bot] <209825114+claude[bot]@users.noreply.github.com> Co-authored-by: Arvin Xu <arvinxx@users.noreply.github.com>
2025-10-11 07:08:26 +00:00
"mime": "^4.1.0",
"node-fetch": "^3.3.2",
"node-gyp": "^11.4.2",
"openapi-typescript": "^7.9.1",
"p-map": "^7.0.3",
"prettier": "^3.6.2",
"remark-cli": "^12.0.1",
"remark-frontmatter": "^5.0.0",
"remark-mdx": "^3.1.1",
"remark-parse": "^11.0.0",
"require-in-the-middle": "^7.5.2",
"semantic-release": "^21.1.2",
"serwist": "^9.2.1",
"stylelint": "^15.11.0",
🐛 fix(bedrock): add parameter conflict handling for Claude 4+ models (#9627) * fix(bedrock): add parameter conflict handling for Claude 4+ models - Add logic to prevent sending both temperature and top_p for Claude 4+ models - Matches existing implementation in Anthropic provider - Fixes ValidationException error for Claude 4.5 models via Bedrock - Includes support for both standard and Bedrock-specific model IDs Fixes #9523 🤖 Generated with [Claude Code](https://claude.ai/code) Co-authored-by: Arvin Xu <arvinxx@users.noreply.github.com> * 🧪 test(bedrock): add parameter conflict handling tests Add comprehensive tests for Claude 4+ models parameter conflict detection: - Test temperature preference over top_p when both provided - Test top_p usage when temperature not provided - Test both parameters allowed for non-Claude-4+ models - Test standard and Bedrock-specific model ID formats - Test US region model IDs 🤖 Generated with [Claude Code](https://claude.ai/code) Co-authored-by: Arvin Xu <arvinxx@users.noreply.github.com> * 🔧 fix: make temperature optional in ChatStreamPayload interface The temperature property should be optional to support test cases and scenarios where only top_p is provided. This resolves TypeScript error TS2741 in Bedrock provider tests. Co-authored-by: Arvin Xu <arvinxx@users.noreply.github.com> * 🔧 fix: correct test assertions to handle JSON.stringify undefined omission - Remove undefined properties from test expectations since JSON.stringify omits them - Fix temperature/top_p conflict test assertions for Claude 4+ models - Ensure tests match actual JSON serialization behavior 🤖 Generated with [Claude Code](https://claude.ai/code) Co-authored-by: Arvin Xu <arvinxx@users.noreply.github.com> * 🔧 fix: add null safety checks for optional temperature parameter - Added proper undefined checks before temperature arithmetic operations in anthropic and bedrock providers - Added null checks before temperature comparisons in groq, perplexity, and search1api providers - Resolves TS18048 errors where temperature is possibly undefined - Maintains existing logic while satisfying TypeScript strict null checks Co-authored-by: Arvin Xu <arvinxx@users.noreply.github.com> * refactor with parameterResolver * upgrade * upgrade swr * refactor context-builder --------- Co-authored-by: claude[bot] <209825114+claude[bot]@users.noreply.github.com> Co-authored-by: Arvin Xu <arvinxx@users.noreply.github.com>
2025-10-11 07:08:26 +00:00
"tsx": "^4.20.6",
"type-fest": "^4.41.0",
🐛 fix(bedrock): add parameter conflict handling for Claude 4+ models (#9627) * fix(bedrock): add parameter conflict handling for Claude 4+ models - Add logic to prevent sending both temperature and top_p for Claude 4+ models - Matches existing implementation in Anthropic provider - Fixes ValidationException error for Claude 4.5 models via Bedrock - Includes support for both standard and Bedrock-specific model IDs Fixes #9523 🤖 Generated with [Claude Code](https://claude.ai/code) Co-authored-by: Arvin Xu <arvinxx@users.noreply.github.com> * 🧪 test(bedrock): add parameter conflict handling tests Add comprehensive tests for Claude 4+ models parameter conflict detection: - Test temperature preference over top_p when both provided - Test top_p usage when temperature not provided - Test both parameters allowed for non-Claude-4+ models - Test standard and Bedrock-specific model ID formats - Test US region model IDs 🤖 Generated with [Claude Code](https://claude.ai/code) Co-authored-by: Arvin Xu <arvinxx@users.noreply.github.com> * 🔧 fix: make temperature optional in ChatStreamPayload interface The temperature property should be optional to support test cases and scenarios where only top_p is provided. This resolves TypeScript error TS2741 in Bedrock provider tests. Co-authored-by: Arvin Xu <arvinxx@users.noreply.github.com> * 🔧 fix: correct test assertions to handle JSON.stringify undefined omission - Remove undefined properties from test expectations since JSON.stringify omits them - Fix temperature/top_p conflict test assertions for Claude 4+ models - Ensure tests match actual JSON serialization behavior 🤖 Generated with [Claude Code](https://claude.ai/code) Co-authored-by: Arvin Xu <arvinxx@users.noreply.github.com> * 🔧 fix: add null safety checks for optional temperature parameter - Added proper undefined checks before temperature arithmetic operations in anthropic and bedrock providers - Added null checks before temperature comparisons in groq, perplexity, and search1api providers - Resolves TS18048 errors where temperature is possibly undefined - Maintains existing logic while satisfying TypeScript strict null checks Co-authored-by: Arvin Xu <arvinxx@users.noreply.github.com> * refactor with parameterResolver * upgrade * upgrade swr * refactor context-builder --------- Co-authored-by: claude[bot] <209825114+claude[bot]@users.noreply.github.com> Co-authored-by: Arvin Xu <arvinxx@users.noreply.github.com>
2025-10-11 07:08:26 +00:00
"typescript": "^5.9.3",
"unified": "^11.0.5",
"unist-util-visit": "^5.0.0",
🐛 fix(bedrock): add parameter conflict handling for Claude 4+ models (#9627) * fix(bedrock): add parameter conflict handling for Claude 4+ models - Add logic to prevent sending both temperature and top_p for Claude 4+ models - Matches existing implementation in Anthropic provider - Fixes ValidationException error for Claude 4.5 models via Bedrock - Includes support for both standard and Bedrock-specific model IDs Fixes #9523 🤖 Generated with [Claude Code](https://claude.ai/code) Co-authored-by: Arvin Xu <arvinxx@users.noreply.github.com> * 🧪 test(bedrock): add parameter conflict handling tests Add comprehensive tests for Claude 4+ models parameter conflict detection: - Test temperature preference over top_p when both provided - Test top_p usage when temperature not provided - Test both parameters allowed for non-Claude-4+ models - Test standard and Bedrock-specific model ID formats - Test US region model IDs 🤖 Generated with [Claude Code](https://claude.ai/code) Co-authored-by: Arvin Xu <arvinxx@users.noreply.github.com> * 🔧 fix: make temperature optional in ChatStreamPayload interface The temperature property should be optional to support test cases and scenarios where only top_p is provided. This resolves TypeScript error TS2741 in Bedrock provider tests. Co-authored-by: Arvin Xu <arvinxx@users.noreply.github.com> * 🔧 fix: correct test assertions to handle JSON.stringify undefined omission - Remove undefined properties from test expectations since JSON.stringify omits them - Fix temperature/top_p conflict test assertions for Claude 4+ models - Ensure tests match actual JSON serialization behavior 🤖 Generated with [Claude Code](https://claude.ai/code) Co-authored-by: Arvin Xu <arvinxx@users.noreply.github.com> * 🔧 fix: add null safety checks for optional temperature parameter - Added proper undefined checks before temperature arithmetic operations in anthropic and bedrock providers - Added null checks before temperature comparisons in groq, perplexity, and search1api providers - Resolves TS18048 errors where temperature is possibly undefined - Maintains existing logic while satisfying TypeScript strict null checks Co-authored-by: Arvin Xu <arvinxx@users.noreply.github.com> * refactor with parameterResolver * upgrade * upgrade swr * refactor context-builder --------- Co-authored-by: claude[bot] <209825114+claude[bot]@users.noreply.github.com> Co-authored-by: Arvin Xu <arvinxx@users.noreply.github.com>
2025-10-11 07:08:26 +00:00
"vite": "^7.1.9",
"vitest": "^3.2.4"
},
"packageManager": "pnpm@10.18.3",
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org"
},
"pnpm": {
"onlyBuiltDependencies": [
"@vercel/speed-insights"
],
"overrides": {
"mdast-util-gfm-autolink-literal": "2.0.0"
}
2023-07-27 02:53:42 +00:00
}
:bookmark: chore(release): v1.141.0 [skip ci] ## [Version&nbsp;1.141.0](https://github.com/lobehub/lobe-chat/compare/v1.140.0...v1.141.0) <sup>Released on **2025-10-21**</sup> #### ✨ Features - **misc**: Add PDF export functionality to share modal. #### 🐛 Bug Fixes - **misc**: Ignore abort signal errors in TRPC client, slove when pwa user info have code cannot be viewed in full. #### 💄 Styles - **misc**: Add knowledge base mansory layout [LOB-496], improve rich text link display. <br/> <details> <summary><kbd>Improvements and Fixes</kbd></summary> #### What's improved * **misc**: Add PDF export functionality to share modal, closes [#9300](https://github.com/lobehub/lobe-chat/issues/9300) [#9299](https://github.com/lobehub/lobe-chat/issues/9299) ([2b7761c](https://github.com/lobehub/lobe-chat/commit/2b7761c)) #### What's fixed * **misc**: Ignore abort signal errors in TRPC client, closes [#9809](https://github.com/lobehub/lobe-chat/issues/9809) [#9401](https://github.com/lobehub/lobe-chat/issues/9401) ([7f7dcfb](https://github.com/lobehub/lobe-chat/commit/7f7dcfb)) * **misc**: Slove when pwa user info have code cannot be viewed in full, closes [#9817](https://github.com/lobehub/lobe-chat/issues/9817) ([6734a47](https://github.com/lobehub/lobe-chat/commit/6734a47)) #### Styles * **misc**: Add knowledge base mansory layout [LOB-496], closes [#9722](https://github.com/lobehub/lobe-chat/issues/9722) ([69f21da](https://github.com/lobehub/lobe-chat/commit/69f21da)) * **misc**: Improve rich text link display, closes [#9816](https://github.com/lobehub/lobe-chat/issues/9816) ([af33543](https://github.com/lobehub/lobe-chat/commit/af33543)) </details> <div align="right"> [![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top) </div>
2025-10-21 08:59:56 +00:00
}