2023-05-21 07:19:20 +00:00
{
2025-10-30 13:19:01 +00:00
"name" : "@lobehub/lobehub" ,
2026-02-21 16:01:41 +00:00
"version" : "2.1.33" ,
2025-10-30 13:19:01 +00:00
"description" : "LobeHub - an open-source,comprehensive AI Agent framework that supports speech synthesis, multimodal, and extensible Function Call plugin system. Supports one-click free deployment of your private ChatGPT/LLM web application." ,
2023-07-11 11:46:11 +00:00
"keywords" : [
2023-12-13 09:42:26 +00:00
"framework" ,
2023-07-11 11:46:11 +00:00
"chatbot" ,
2023-12-13 09:42:26 +00:00
"chatgpt" ,
"nextjs" ,
"vercel-ai" ,
"openai" ,
"azure-openai" ,
"visual-model" ,
"tts" ,
"stt"
2023-07-11 11:46:11 +00:00
] ,
"homepage" : "https://github.com/lobehub/lobe-chat" ,
"bugs" : {
2023-07-26 14:23:55 +00:00
"url" : "https://github.com/lobehub/lobe-chat/issues/new/choose"
2023-07-11 11:46:11 +00:00
} ,
"repository" : {
"type" : "git" ,
"url" : "https://github.com/lobehub/lobe-chat.git"
} ,
"license" : "MIT" ,
"author" : "LobeHub <i@lobehub.com>" ,
"sideEffects" : false ,
2025-12-25 15:52:57 +00:00
"workspaces" : [
"packages/*" ,
"packages/business/*" ,
"e2e" ,
"apps/desktop/src/main"
] ,
2023-05-21 07:19:20 +00:00
"scripts" : {
2026-01-06 07:15:22 +00:00
"prebuild" : "tsx scripts/prebuild.mts && npm run lint" ,
2025-12-29 06:35:04 +00:00
"build" : "cross-env NODE_OPTIONS=--max-old-space-size=8192 next build --webpack" ,
2024-06-17 03:06:59 +00:00
"postbuild" : "npm run build-sitemap && npm run build-migrate-db" ,
2026-01-09 06:38:33 +00:00
"build:analyze" : "NODE_OPTIONS=--max-old-space-size=81920 ANALYZE=true next build --webpack" ,
2025-12-29 06:35:04 +00:00
"build:docker" : "npm run prebuild && NODE_OPTIONS=--max-old-space-size=8192 DOCKER=true next build --webpack && npm run build-sitemap" ,
2026-02-08 14:49:38 +00:00
"build:vercel" : "tsx scripts/prebuild.mts && npm run lint:ts && npm run lint:style && npm run type-check:tsc && npm run lint:circular && cross-env NODE_OPTIONS=--max-old-space-size=6144 next build --webpack && npm run postbuild" ,
📝 docs: improve development guides to reflect current architecture (#12174)
* 🔧 chore(vscode): add typescript.tsdk and disable mdx server
Fix MDX extension crash caused by Cursor's bundled TypeScript version
* 🔧 chore(claude): add skills symlink to .claude directory
* 📝 docs: update development guides with current tech stack and architecture
- Update tech stack: Next.js 16 + React 19, hybrid routing (App Router + React Router DOM), tRPC, Drizzle ORM + PostgreSQL, react-i18next
- Update directory structure to reflect monorepo layout (apps/, packages/, e2e/, locales/)
- Expand src/server/ with detailed subdirectory descriptions
- Add complete SPA routing architecture with desktop and mobile route tables
- Add tRPC router grouping details (lambda, async, tools, mobile)
- Add data flow diagram
- Simplify dev setup section to link to setup-development guide
- Fix i18n default language description (English, not Chinese)
- Sync all changes between zh-CN and English versions
* 📝 docs: expand data flow diagram in folder structure guide
Replace the single-line data flow with a detailed layer-by-layer
flow diagram showing each layer's location and responsibility.
* 📝 docs: modernize feature development guide
- Remove outdated clientDB/pglite/indexDB references
- Update schema path to packages/database/src/schemas/
- Update types path to packages/types/src/
- Replace inline migration steps with link to db-migrations guide
- Add complete layered architecture table (Client Service, WebAPI,
tRPC Router, Server Service, Server Module, Repository, DB Model)
- Clarify Client Service as frontend code
- Add i18n handling section with workflow and key naming convention
- Remove verbose CSS style code, keep core business logic only
- Expand testing section with commands, skill refs, and CI tip
* 🔥 docs: remove outdated frontend feature development guide
Content is superseded by the comprehensive feature-development guide
which covers the full chain from schema to testing.
* 📝 docs: add LobeHub ecosystem and community resources
Add official ecosystem packages (LobeUI, LobeIcons, LobeCharts,
LobeEditor, LobeTTS, LobeLint, Lobe i18n, MCP Mark) and community
platforms (Agent Market, MCP Market, YouTube, X, Discord).
* 📝 docs: improve contributing guidelines and resources
- Clarify semantic release triggers (feat/fix vs style/chore)
- Add testing section with Vitest/E2E/CI requirements
- Update contribution steps to include CI check
- Add LobeHub ecosystem packages and community platforms to resources
* 📝 docs: rewrite architecture guide to reflect current platform design
* 📝 docs: add code quality tools to architecture guide
* 📝 docs: rewrite chat-api guide to reflect current architecture
- Update sequence diagram with Agent Runtime loop as core execution engine
- Replace PluginGateway with ToolExecution layer (Builtin/MCP/Plugin)
- Update all path references (model-runtime, agent-runtime, fetch-sse packages)
- Split old AgentRuntime section into Model Runtime + Agent Runtime
- Add tool calling taxonomy: Builtin, MCP, and Plugin (deprecated)
- Add client-side vs server-side execution section
- Remove outdated adapter pseudo-code examples
* 📝 docs: update file paths in add-new-image-model guide
- src/libs/standard-parameters/ → packages/model-bank/src/standard-parameters/
- src/config/aiModels/ → packages/model-bank/src/aiModels/
- src/libs/model-runtime/ → packages/model-runtime/src/providers/
* 📝 docs: restore S3_PUBLIC_DOMAIN in deployment guides
The S3_PUBLIC_DOMAIN env var was incorrectly removed from all
documentation in commit 4a87b31. This variable is still required
by the code (src/server/services/file/impls/s3.ts) to generate
public URLs for uploaded files. Without it, image URLs sent to
vision models are just S3 keys instead of full URLs.
Closes #12161
* 📦 chore: pin @lobehub/ui to 4.33.4 to fix SortableList type errors
@lobehub/ui 4.34.0 introduced breaking type changes in SortableList
where SortableListItem became strict, causing type incompatibility
in onChange and renderItem callbacks across 6 files. Pin to 4.33.4
via pnpm overrides to enforce consistent version across monorepo.
* 🐛 fix: correct ReadableStream type annotations and add dom.asynciterable
- Add dom.asynciterable to tsconfig lib for ReadableStream async iteration
- Fix createCallbacksTransformer return type: TransformStream<string, Uint8Array>
- Update stream function return types from ReadableStream<string> to
ReadableStream<Uint8Array> (llama.ts, ollama.ts, claude.ts)
- Remove @ts-ignore from for-await loops in test files
- Add explicit string[] type for chunks arrays
* Revert "📝 docs: restore S3_PUBLIC_DOMAIN in deployment guides"
This reverts commit 24073f83d3d5e9a89c29e9a96a6689d2baa0edde.
2026-02-07 14:29:14 +00:00
"build-migrate-db" : "bun run db:migrate" ,
"build-sitemap" : "tsx ./scripts/buildSitemapIndex/index.ts" ,
2025-09-12 08:04:05 +00:00
"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.\"'" ,
2026-01-03 05:59:45 +00:00
"db:generate" : "drizzle-kit generate && npm run workflow:dbml" ,
2024-09-19 14:08:14 +00:00
"db:migrate" : "MIGRATION_DB=1 tsx ./scripts/migrateServerDB/index.ts" ,
2024-06-17 03:06:59 +00:00
"db:studio" : "drizzle-kit studio" ,
2025-04-09 11:31:35 +00:00
"db:visualize" : "dbdocs build docs/development/database-schema.dbml --project lobe-chat" ,
2026-01-27 17:21:10 +00:00
"desktop:build:all" : "npm run desktop:build:renderer:all && npm run desktop:build:main" ,
"desktop:build:main" : "npm run build:main --prefix=./apps/desktop" ,
"desktop:build:renderer" : "cross-env NODE_OPTIONS=--max-old-space-size=8192 NEXT_PUBLIC_IS_DESKTOP_APP=1 tsx scripts/electronWorkflow/buildNextApp.mts" ,
"desktop:build:renderer:all" : "npm run desktop:build:renderer && npm run desktop:build:renderer:prepare" ,
"desktop:build:renderer:prepare" : "tsx scripts/electronWorkflow/moveNextExports.ts" ,
🐛 fix(desktop): add auth required modal and improve error handling (#11574)
* 🐛 fix(desktop): add auth required modal and improve error handling
- Add AuthRequiredModal component to handle authentication expiration
- Improve backend proxy protocol error handling for auth errors
- Add updater manager authentication header support
- Add i18n strings for auth error messages
* 🔧 fix(desktop): update UpdaterManager to leave channel unset for GitHub prerelease matching
- Modify UpdaterManager to leave the channel unset, allowing GitHub to use version tags for prerelease matching.
- Update logging to reflect the new behavior when the channel is unset or kept as is.
Signed-off-by: Innei <tukon479@gmail.com>
* 🔧 fix(desktop): clarify UpdaterManager behavior for GitHub provider
- Update comments and logging in UpdaterManager to clarify that the channel is left unset for beta/nightly, allowing GitHub to use version tags for prerelease matching.
- Ensure logging accurately reflects the new behavior when the channel is unset.
Signed-off-by: Innei <tukon479@gmail.com>
* ✨ feat(desktop): add desktop build channel script and update documentation
- Introduced a new script for building desktop applications for specific release channels (stable, beta, nightly).
- Updated package.json to include a new npm command for the build channel.
- Enhanced README documentation to guide users on simulating CI channel builds and retaining changes.
Signed-off-by: Innei <tukon479@gmail.com>
* 🔧 fix(desktop): streamline NODE_ENV usage in logger and config
- Removed redundant process.env.NODE_ENV definition from electron.vite.config.ts.
- Simplified logger implementation by directly using process.env.NODE_ENV for environment checks.
- Improved readability and maintainability of logging behavior based on the environment.
Signed-off-by: Innei <tukon479@gmail.com>
* 🔧 fix(desktop): enhance logging configuration to support debug mode
- Updated logger configuration to allow for debug level logging when DEBUG environment variable is set.
- Simplified the logic for console logging levels based on the environment, improving clarity and maintainability.
Signed-off-by: Innei <tukon479@gmail.com>
* 🔧 fix(desktop): enhance version generation and logging in UpdaterManager
- Updated version generation logic in manual-build-desktop.yml to handle channel suffixes more effectively.
- Added inferredChannel logging in UpdaterManager to improve clarity on the current update channel being used.
Signed-off-by: Innei <tukon479@gmail.com>
* 🔧 fix(desktop): update localization files and set default entry locale to English
- Changed default entry locale from Chinese (zh-CN) to English (en) in .i18nrc.js.
- Added full disk access messages in multiple languages (Arabic, Bulgarian, German, Spanish, French, Italian, Japanese, Korean, Dutch, Polish, Portuguese, Russian, Turkish, Vietnamese, Traditional Chinese).
- Enhanced menu localization with new settings and permissions options across various languages.
Signed-off-by: Innei <tukon479@gmail.com>
---------
Signed-off-by: Innei <tukon479@gmail.com>
2026-01-18 10:55:18 +00:00
"desktop:build-channel" : "tsx scripts/electronWorkflow/buildDesktopChannel.ts" ,
2026-01-27 17:21:10 +00:00
"desktop:main:build" : "npm run desktop:main:build --prefix=./apps/desktop" ,
"desktop:package:app" : "npm run desktop:build:renderer:all && npm run desktop:package:app:platform" ,
"desktop:package:app:platform" : "tsx scripts/electronWorkflow/buildElectron.ts" ,
"desktop:package:local" : "npm run desktop:build:renderer:all && npm run package:local --prefix=./apps/desktop" ,
"desktop:package:local:reuse" : "npm run package:local:reuse --prefix=./apps/desktop" ,
2025-11-01 16:53:13 +00:00
"dev" : "next dev -p 3010" ,
2025-12-20 12:23:40 +00:00
"dev:bun" : "bun --bun next dev -p 3010" ,
"dev:desktop" : "cross-env NEXT_PUBLIC_IS_DESKTOP_APP=1 tsx scripts/runNextDesktop.mts dev -p 3015" ,
2026-01-27 17:21:10 +00:00
"dev:desktop:static" : "cross-env DESKTOP_RENDERER_STATIC=1 npm run dev --prefix=./apps/desktop" ,
2026-02-06 04:21:30 +00:00
"dev:docker" : "docker compose -f docker-compose/dev/docker-compose.yml up -d --wait postgresql redis rustfs searxng" ,
"dev:docker:down" : "docker compose -f docker-compose/dev/docker-compose.yml down" ,
"dev:docker:reset" : "docker compose -f docker-compose/dev/docker-compose.yml down -v && rm -rf docker-compose/dev/data && npm run dev:docker && pnpm db:migrate" ,
2025-11-01 16:53:13 +00:00
"dev:mobile" : "next dev -p 3018" ,
2026-01-26 07:28:33 +00:00
"docs:cdn" : "npm run workflow:docs-cdn && npm run lint:mdx" ,
"docs:i18n" : "lobe-i18n md && npm run lint:mdx" ,
2024-06-20 11:07:50 +00:00
"docs:seo" : "lobe-seo && npm run lint:mdx" ,
2026-01-07 17:06:53 +00:00
"e2e" : "cd e2e && npm run test" ,
2025-10-14 05:32:52 +00:00
"e2e:install" : "playwright install" ,
"e2e:ui" : "playwright test --ui" ,
2026-02-11 15:51:35 +00:00
"hotfix:branch" : "tsx ./scripts/hotfixWorkflow/index.ts" ,
2025-06-12 06:54:05 +00:00
"i18n" : "npm run workflow:i18n && lobe-i18n && prettier -c --write \"locales/**\"" ,
2025-12-23 15:23:00 +00:00
"i18n:unused" : "tsx ./scripts/i18nWorkflow/analyzeUnusedKeys.ts" ,
"i18n:unused-clean" : "tsx ./scripts/i18nWorkflow/cleanUnusedKeys.ts" ,
2025-12-20 12:20:07 +00:00
"lint" : "npm run lint:ts && npm run lint:style && npm run type-check && npm run lint:circular" ,
2025-08-30 15:52:42 +00:00
"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" ,
2025-11-21 06:18:10 +00:00
"lint:console" : "tsx scripts/checkConsoleLog.mts" ,
2025-01-08 13:32:57 +00:00
"lint:md" : "remark . --silent --output" ,
2026-02-05 13:40:43 +00:00
"lint:mdx" : "npm run workflow:mdx && remark \"docs/**/*.mdx\" -r ./.remarkrc.mdx.mjs --silent --output && eslint \"docs/**/*.mdx\" --quiet --fix" ,
2023-07-11 11:46:11 +00:00
"lint:style" : "stylelint \"{src,tests}/**/*.{js,jsx,ts,tsx}\" --fix" ,
2026-02-11 06:20:30 +00:00
"lint:ts" : "bash scripts/lint-ts.sh" ,
2026-02-05 13:40:43 +00:00
"lint:ts:prune" : "eslint \"{src,tests,packages}/**/*.{js,jsx,ts,tsx}\" --prune-suppressions --concurrency=auto" ,
2026-02-13 07:49:33 +00:00
"lint:ts:suppress" : "eslint \"{src,tests}/**/*.{js,jsx,ts,tsx}\" --suppress-all --concurrency=auto" ,
2025-12-20 12:23:40 +00:00
"lint:unused" : "knip --include files,exports,types,enumMembers,duplicates" ,
2024-02-18 13:55:49 +00:00
"prepare" : "husky" ,
2023-05-21 07:42:20 +00:00
"prettier" : "prettier -c --write \"**/**\"" ,
2023-07-26 14:23:55 +00:00
"pull" : "git pull" ,
2025-12-20 12:23:40 +00:00
"qstash" : "pnpx @upstash/qstash-cli@latest dev" ,
2025-12-24 06:09:01 +00:00
"reinstall" : "rm -rf .next && rm -rf node_modules && rm -rf ./packages/*/node_modules && pnpm -r exec rm -rf node_modules && pnpm install" ,
2025-07-14 12:29:57 +00:00
"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" ,
2026-02-11 04:43:43 +00:00
"release:branch" : "tsx ./scripts/releaseWorkflow/index.ts" ,
2025-10-30 13:02:42 +00:00
"self-hosting:docker" : "docker build -t lobehub:local ." ,
"self-hosting:docker-cn" : "docker build -t lobehub-local --build-arg USE_CN_MIRROR=true ." ,
2024-07-24 02:37:19 +00:00
"start" : "next start -p 3210" ,
2023-05-21 07:42:20 +00:00
"stylelint" : "stylelint \"src/**/*.{js,jsx,ts,tsx}\" --fix" ,
2024-06-17 03:06:59 +00:00
"test" : "npm run test-app && npm run test-server" ,
2025-10-22 18:15:24 +00:00
"test:e2e" : "pnpm --filter @lobechat/e2e-tests test" ,
"test:e2e:smoke" : "pnpm --filter @lobechat/e2e-tests test:smoke" ,
2025-03-09 14:00:43 +00:00
"test:update" : "vitest -u" ,
📝 docs: improve development guides to reflect current architecture (#12174)
* 🔧 chore(vscode): add typescript.tsdk and disable mdx server
Fix MDX extension crash caused by Cursor's bundled TypeScript version
* 🔧 chore(claude): add skills symlink to .claude directory
* 📝 docs: update development guides with current tech stack and architecture
- Update tech stack: Next.js 16 + React 19, hybrid routing (App Router + React Router DOM), tRPC, Drizzle ORM + PostgreSQL, react-i18next
- Update directory structure to reflect monorepo layout (apps/, packages/, e2e/, locales/)
- Expand src/server/ with detailed subdirectory descriptions
- Add complete SPA routing architecture with desktop and mobile route tables
- Add tRPC router grouping details (lambda, async, tools, mobile)
- Add data flow diagram
- Simplify dev setup section to link to setup-development guide
- Fix i18n default language description (English, not Chinese)
- Sync all changes between zh-CN and English versions
* 📝 docs: expand data flow diagram in folder structure guide
Replace the single-line data flow with a detailed layer-by-layer
flow diagram showing each layer's location and responsibility.
* 📝 docs: modernize feature development guide
- Remove outdated clientDB/pglite/indexDB references
- Update schema path to packages/database/src/schemas/
- Update types path to packages/types/src/
- Replace inline migration steps with link to db-migrations guide
- Add complete layered architecture table (Client Service, WebAPI,
tRPC Router, Server Service, Server Module, Repository, DB Model)
- Clarify Client Service as frontend code
- Add i18n handling section with workflow and key naming convention
- Remove verbose CSS style code, keep core business logic only
- Expand testing section with commands, skill refs, and CI tip
* 🔥 docs: remove outdated frontend feature development guide
Content is superseded by the comprehensive feature-development guide
which covers the full chain from schema to testing.
* 📝 docs: add LobeHub ecosystem and community resources
Add official ecosystem packages (LobeUI, LobeIcons, LobeCharts,
LobeEditor, LobeTTS, LobeLint, Lobe i18n, MCP Mark) and community
platforms (Agent Market, MCP Market, YouTube, X, Discord).
* 📝 docs: improve contributing guidelines and resources
- Clarify semantic release triggers (feat/fix vs style/chore)
- Add testing section with Vitest/E2E/CI requirements
- Update contribution steps to include CI check
- Add LobeHub ecosystem packages and community platforms to resources
* 📝 docs: rewrite architecture guide to reflect current platform design
* 📝 docs: add code quality tools to architecture guide
* 📝 docs: rewrite chat-api guide to reflect current architecture
- Update sequence diagram with Agent Runtime loop as core execution engine
- Replace PluginGateway with ToolExecution layer (Builtin/MCP/Plugin)
- Update all path references (model-runtime, agent-runtime, fetch-sse packages)
- Split old AgentRuntime section into Model Runtime + Agent Runtime
- Add tool calling taxonomy: Builtin, MCP, and Plugin (deprecated)
- Add client-side vs server-side execution section
- Remove outdated adapter pseudo-code examples
* 📝 docs: update file paths in add-new-image-model guide
- src/libs/standard-parameters/ → packages/model-bank/src/standard-parameters/
- src/config/aiModels/ → packages/model-bank/src/aiModels/
- src/libs/model-runtime/ → packages/model-runtime/src/providers/
* 📝 docs: restore S3_PUBLIC_DOMAIN in deployment guides
The S3_PUBLIC_DOMAIN env var was incorrectly removed from all
documentation in commit 4a87b31. This variable is still required
by the code (src/server/services/file/impls/s3.ts) to generate
public URLs for uploaded files. Without it, image URLs sent to
vision models are just S3 keys instead of full URLs.
Closes #12161
* 📦 chore: pin @lobehub/ui to 4.33.4 to fix SortableList type errors
@lobehub/ui 4.34.0 introduced breaking type changes in SortableList
where SortableListItem became strict, causing type incompatibility
in onChange and renderItem callbacks across 6 files. Pin to 4.33.4
via pnpm overrides to enforce consistent version across monorepo.
* 🐛 fix: correct ReadableStream type annotations and add dom.asynciterable
- Add dom.asynciterable to tsconfig lib for ReadableStream async iteration
- Fix createCallbacksTransformer return type: TransformStream<string, Uint8Array>
- Update stream function return types from ReadableStream<string> to
ReadableStream<Uint8Array> (llama.ts, ollama.ts, claude.ts)
- Remove @ts-ignore from for-await loops in test files
- Add explicit string[] type for chunks arrays
* Revert "📝 docs: restore S3_PUBLIC_DOMAIN in deployment guides"
This reverts commit 24073f83d3d5e9a89c29e9a96a6689d2baa0edde.
2026-02-07 14:29:14 +00:00
"test-app" : "vitest run" ,
"test-app:coverage" : "vitest --coverage --silent='passed-only'" ,
2025-12-20 12:23:40 +00:00
"tunnel:cloudflare" : "cloudflared tunnel --url http://localhost:3010" ,
"tunnel:ngrok" : "ngrok http http://localhost:3011" ,
2025-12-20 12:20:07 +00:00
"type-check" : "tsgo --noEmit" ,
2026-02-08 14:49:38 +00:00
"type-check:tsc" : "tsc --noEmit" ,
2024-12-26 03:02:47 +00:00
"workflow:cdn" : "tsx ./scripts/cdnWorkflow/index.ts" ,
2024-11-26 06:48:06 +00:00
"workflow:changelog" : "tsx ./scripts/changelogWorkflow/index.ts" ,
2024-10-23 13:41:25 +00:00
"workflow:countCharters" : "tsx scripts/countEnWord.ts" ,
2025-03-14 06:24:39 +00:00
"workflow:dbml" : "tsx ./scripts/dbmlWorkflow/index.ts" ,
2024-09-19 14:08:14 +00:00
"workflow:docs" : "tsx ./scripts/docsWorkflow/index.ts" ,
2026-01-26 07:28:33 +00:00
"workflow:docs-cdn" : "tsx ./scripts/docsWorkflow/autoCDN.ts" ,
2024-09-19 14:08:14 +00:00
"workflow:i18n" : "tsx ./scripts/i18nWorkflow/index.ts" ,
2024-06-20 11:07:50 +00:00
"workflow:mdx" : "tsx ./scripts/mdxWorkflow/index.ts" ,
2025-04-10 02:47:05 +00:00
"workflow:readme" : "tsx ./scripts/readmeWorkflow/index.ts" ,
"workflow:set-desktop-version" : "tsx ./scripts/electronWorkflow/setDesktopVersion.ts"
2023-07-11 11:46:11 +00:00
} ,
"lint-staged" : {
"*.md" : [
2025-01-08 13:32:57 +00:00
"remark --silent --output --" ,
2023-07-11 11:46:11 +00:00
"prettier --write --no-error-on-unmatched-pattern"
] ,
2024-03-10 10:46:41 +00:00
"*.mdx" : [
2026-02-05 13:40:43 +00:00
"remark -r ./.remarkrc.mdx.mjs --silent --output --" ,
2026-02-14 11:03:00 +00:00
"eslint --quiet --fix --prune-suppressions" ,
"git add eslint-suppressions.json"
2024-03-10 10:46:41 +00:00
] ,
2023-07-11 11:46:11 +00:00
"*.json" : [
"prettier --write --no-error-on-unmatched-pattern"
] ,
2024-07-02 05:56:37 +00:00
"*.{mjs,cjs}" : [
2026-02-14 11:03:00 +00:00
"eslint --fix --prune-suppressions" ,
"git add eslint-suppressions.json" ,
2026-02-12 05:09:38 +00:00
"prettier --write"
2024-07-02 05:56:37 +00:00
] ,
"*.{js,jsx}" : [
2026-02-14 11:03:00 +00:00
"eslint --fix --prune-suppressions" ,
"git add eslint-suppressions.json" ,
2023-07-11 11:46:11 +00:00
"stylelint --fix" ,
2026-02-12 05:09:38 +00:00
"prettier --write"
2023-07-11 11:46:11 +00:00
] ,
"*.{ts,tsx}" : [
"stylelint --fix" ,
2026-02-14 11:03:00 +00:00
"eslint --fix --prune-suppressions" ,
"git add eslint-suppressions.json" ,
2026-02-12 05:09:38 +00:00
"prettier --parser=typescript --write"
2026-02-13 07:49:33 +00:00
] ,
"*.{yml,yaml}" : [
"eslint --fix"
2023-07-11 11:46:11 +00:00
]
2023-05-21 07:19:20 +00:00
} ,
2025-12-25 15:52:57 +00:00
"overrides" : {
2026-01-23 07:20:34 +00:00
"pdfjs-dist" : "5.4.530" ,
2025-12-25 15:52:57 +00:00
"stylelint-config-clean-order" : "7.0.0"
} ,
2023-05-21 07:19:20 +00:00
"dependencies" : {
2025-12-21 04:34:44 +00:00
"@ant-design/icons" : "^6.1.0" ,
2025-07-23 07:33:20 +00:00
"@ant-design/pro-components" : "^2.8.10" ,
2026-02-06 07:54:31 +00:00
"@anthropic-ai/sdk" : "^0.73.0" ,
2025-12-20 12:23:40 +00:00
"@atlaskit/pragmatic-drag-and-drop" : "^1.7.7" ,
"@atlaskit/pragmatic-drag-and-drop-hitbox" : "^1.1.0" ,
2025-11-16 03:31:49 +00:00
"@aws-sdk/client-s3" : "~3.932.0" ,
"@aws-sdk/s3-request-presigner" : "~3.932.0" ,
2025-02-16 15:08:43 +00:00
"@azure-rest/ai-inference" : "1.0.0-beta.5" ,
2025-09-12 08:04:05 +00:00
"@azure/core-auth" : "^1.10.1" ,
2026-01-25 09:55:05 +00:00
"@better-auth/expo" : "1.4.6" ,
"@better-auth/passkey" : "1.4.6" ,
2025-04-03 02:52:47 +00:00
"@cfworker/json-schema" : "^4.1.1" ,
"@codesandbox/sandpack-react" : "^2.20.0" ,
2025-12-20 12:23:40 +00:00
"@dnd-kit/core" : "^6.3.1" ,
"@dnd-kit/utilities" : "^3.2.2" ,
2026-02-11 04:32:48 +00:00
"@emoji-mart/data" : "^1.2.1" ,
"@emoji-mart/react" : "^1.1.1" ,
2025-09-06 01:51:52 +00:00
"@emotion/react" : "^11.14.0" ,
2026-01-24 10:04:45 +00:00
"@fal-ai/client" : "^1.8.4" ,
2025-09-13 09:45:14 +00:00
"@formkit/auto-animate" : "^0.9.0" ,
2026-01-24 10:04:45 +00:00
"@google/genai" : "^1.38.0" ,
2025-12-20 12:23:40 +00:00
"@henrygd/queue" : "^1.2.0" ,
2026-01-24 10:04:45 +00:00
"@huggingface/inference" : "^4.13.10" ,
2025-10-10 03:07:35 +00:00
"@icons-pack/react-simple-icons" : "^13.8.0" ,
2025-01-08 13:32:57 +00:00
"@khmyznikov/pwa-install" : "0.3.9" ,
2026-01-24 10:04:45 +00:00
"@langchain/community" : "^0.3.59" ,
2025-09-14 09:29:19 +00:00
"@lobechat/agent-runtime" : "workspace:*" ,
2025-12-20 12:23:40 +00:00
"@lobechat/builtin-agents" : "workspace:*" ,
2026-02-22 01:48:11 +00:00
"@lobechat/builtin-skills" : "workspace:*" ,
2025-12-20 12:23:40 +00:00
"@lobechat/builtin-tool-agent-builder" : "workspace:*" ,
2025-12-31 12:30:11 +00:00
"@lobechat/builtin-tool-cloud-sandbox" : "workspace:*" ,
2025-12-20 12:23:40 +00:00
"@lobechat/builtin-tool-group-agent-builder" : "workspace:*" ,
"@lobechat/builtin-tool-group-management" : "workspace:*" ,
"@lobechat/builtin-tool-gtd" : "workspace:*" ,
"@lobechat/builtin-tool-knowledge-base" : "workspace:*" ,
"@lobechat/builtin-tool-local-system" : "workspace:*" ,
"@lobechat/builtin-tool-memory" : "workspace:*" ,
2025-12-23 12:31:37 +00:00
"@lobechat/builtin-tool-notebook" : "workspace:*" ,
2025-12-25 03:38:15 +00:00
"@lobechat/builtin-tool-page-agent" : "workspace:*" ,
2026-02-22 01:48:11 +00:00
"@lobechat/builtin-tool-skills" : "workspace:*" ,
2025-12-29 16:47:54 +00:00
"@lobechat/builtin-tool-web-browsing" : "workspace:*" ,
2025-12-24 09:52:22 +00:00
"@lobechat/business-config" : "workspace:*" ,
"@lobechat/business-const" : "workspace:*" ,
2026-02-21 12:36:40 +00:00
"@lobechat/eval-dataset-parser" : "workspace:*" ,
"@lobechat/eval-rubric" : "workspace:*" ,
2025-12-24 09:52:22 +00:00
"@lobechat/config" : "workspace:*" ,
2025-08-22 06:05:01 +00:00
"@lobechat/const" : "workspace:*" ,
2025-09-12 16:12:53 +00:00
"@lobechat/context-engine" : "workspace:*" ,
2025-11-07 08:44:03 +00:00
"@lobechat/conversation-flow" : "workspace:*" ,
2025-08-22 03:09:03 +00:00
"@lobechat/database" : "workspace:*" ,
2025-12-20 12:23:40 +00:00
"@lobechat/desktop-bridge" : "workspace:*" ,
2025-12-26 15:49:40 +00:00
"@lobechat/edge-config" : "workspace:*" ,
2025-12-28 18:01:56 +00:00
"@lobechat/editor-runtime" : "workspace:*" ,
2025-04-02 01:31:08 +00:00
"@lobechat/electron-client-ipc" : "workspace:*" ,
"@lobechat/electron-server-ipc" : "workspace:*" ,
2025-11-11 11:39:36 +00:00
"@lobechat/fetch-sse" : "workspace:*" ,
2025-05-09 16:58:39 +00:00
"@lobechat/file-loaders" : "workspace:*" ,
2025-12-20 12:23:40 +00:00
"@lobechat/memory-user-memory" : "workspace:*" ,
2025-08-11 16:08:52 +00:00
"@lobechat/model-runtime" : "workspace:*" ,
2025-09-23 07:34:48 +00:00
"@lobechat/observability-otel" : "workspace:*" ,
2025-08-16 16:10:28 +00:00
"@lobechat/prompts" : "workspace:*" ,
2025-09-29 20:20:57 +00:00
"@lobechat/python-interpreter" : "workspace:*" ,
2026-01-06 07:49:11 +00:00
"@lobechat/ssrf-safe-fetch" : "workspace:*" ,
2025-08-22 06:05:01 +00:00
"@lobechat/utils" : "workspace:*" ,
2025-03-02 08:39:32 +00:00
"@lobechat/web-crawler" : "workspace:*" ,
2025-08-05 11:43:38 +00:00
"@lobehub/analytics" : "^1.6.0" ,
2026-01-24 10:04:45 +00:00
"@lobehub/charts" : "^4.0.3" ,
2024-07-07 06:01:50 +00:00
"@lobehub/chat-plugin-sdk" : "^1.32.4" ,
2024-05-24 11:35:01 +00:00
"@lobehub/chat-plugins-gateway" : "^1.9.0" ,
2025-12-09 07:01:18 +00:00
"@lobehub/desktop-ipc-typings" : "workspace:*" ,
2026-02-12 17:27:22 +00:00
"@lobehub/editor" : "^3.16.1" ,
✨ feat: GitHub Copilot Provider (#11997)
* feat: implement GitHub Copilot integration with OAuth Device Flow authentication
- Updated package.json to include new GitHub Copilot model.
- Added GitHub Copilot model provider and associated runtime logic.
- Implemented OAuth Device Flow for authentication, including UI components for user interaction.
- Enhanced AI provider settings to support OAuth configuration.
- Updated types and key vaults to accommodate GitHub Copilot tokens.
This integration allows users to authenticate via GitHub Copilot, enabling access to its models through a seamless OAuth experience.
Signed-off-by: Innei <tukon479@gmail.com>
* feat: expand GitHub Copilot model definitions and add new models
- Updated existing models with new descriptions, display names, and IDs.
- Introduced several new models including GPT-5 mini, GPT-4o variants, Grok Code Fast 1, and Claude Haiku 4.5.
- Adjusted context window tokens and max output values for various models.
- Enhanced model capabilities with function call and vision abilities.
This update enriches the AI model offerings and improves the overall functionality of the GitHub Copilot integration.
Signed-off-by: Innei <tukon479@gmail.com>
* ✅ test: add unit tests for OAuth Device Flow and GitHub Copilot
- Add OAuthDeviceFlowService tests (12 tests)
- Add GithubCopilotOAuthService tests (13 tests)
- Add LobeGithubCopilotAI runtime tests (12 tests)
- Add updateConfig keyVaults merge tests (5 tests)
- Fix sleep import in githubCopilot runtime (use inline Promise)
* feat: enhance OAuth Device Flow integration and user experience
- Added new OAuth-related strings to localization files for English, Chinese, and default locales.
- Refactored ProviderConfig component to streamline OAuth authentication handling and improve UI presentation.
- Updated OAuthDeviceFlowAuth component to include user information display (username and avatar).
- Enhanced backend logic to fetch and store GitHub user information during OAuth authentication.
- Improved error handling and user feedback during the OAuth process.
This update significantly enhances the user experience for OAuth authentication, providing clearer communication and a more integrated interface.
Signed-off-by: Innei <tukon479@gmail.com>
* feat: improve OAuth provider handling in ProviderConfig and OAuthDeviceFlowAuth components
- Integrated OAuth authentication status querying in ProviderConfig to conditionally render the form based on authentication state.
- Refactored OAuthDeviceFlowAuth to enhance user experience during the authentication process, including better state management and UI updates.
- Ensured that the form is only displayed when the user is authenticated for OAuth providers.
This update streamlines the OAuth integration, providing a more responsive and user-friendly interface.
Signed-off-by: Innei <tukon479@gmail.com>
* fix: update OpenAI model snapshots with new configurations
- Modified model definitions for GPT 3.5 Turbo and Embedding V2 Ada, including updated context window tokens, descriptions, and display names.
- Enabled function call capability for GPT 3.5 Turbo and changed the type for Embedding V2 Ada from "embedding" to "chat".
This update ensures the model snapshots reflect the latest configurations and capabilities.
Signed-off-by: Innei <tukon479@gmail.com>
* fix: correct casing in model-bank package.json and enhance aiProvider test
- Updated the casing of the GitHub Copilot model path in package.json for consistency.
- Added a call to KeyVaultsGateKeeper.getUserKeyVaults in the aiProvider test to improve test coverage and functionality.
This update ensures better adherence to naming conventions and enhances the robustness of the aiProvider tests.
Signed-off-by: Innei <tukon479@gmail.com>
---------
Signed-off-by: Innei <tukon479@gmail.com>
2026-02-02 12:24:26 +00:00
"@lobehub/icons" : "^4.1.0" ,
2026-02-22 01:48:11 +00:00
"@lobehub/market-sdk" : "0.29.3" ,
2025-12-27 15:51:21 +00:00
"@lobehub/tts" : "^4.0.2" ,
2026-02-14 11:03:00 +00:00
"@lobehub/ui" : "^4.38.1" ,
2026-01-24 10:04:45 +00:00
"@modelcontextprotocol/sdk" : "^1.25.3" ,
2026-01-23 07:20:34 +00:00
"@napi-rs/canvas" : "^0.1.88" ,
2025-10-11 07:08:26 +00:00
"@neondatabase/serverless" : "^1.0.2" ,
2026-01-27 07:11:48 +00:00
"@next/third-parties" : "^16.1.5" ,
2026-01-24 10:04:45 +00:00
"@opentelemetry/exporter-jaeger" : "^2.5.0" ,
2025-11-21 06:20:04 +00:00
"@opentelemetry/winston-transport" : "^0.19.0" ,
2026-01-23 07:20:34 +00:00
"@react-pdf/renderer" : "^4.3.2" ,
2025-12-20 12:23:40 +00:00
"@react-three/drei" : "^10.7.7" ,
2026-01-24 10:04:45 +00:00
"@react-three/fiber" : "^9.5.0" ,
2025-11-03 04:56:15 +00:00
"@saintno/comfyui-sdk" : "^0.2.49" ,
2026-01-24 10:04:45 +00:00
"@serwist/next" : "^9.5.0" ,
2025-12-21 04:34:44 +00:00
"@t3-oss/env-nextjs" : "^0.13.10" ,
2026-01-24 10:04:45 +00:00
"@tanstack/react-query" : "^5.90.20" ,
2025-12-21 04:34:44 +00:00
"@trpc/client" : "^11.8.1" ,
"@trpc/next" : "^11.8.1" ,
"@trpc/react-query" : "^11.8.1" ,
"@trpc/server" : "^11.8.1" ,
2025-12-20 12:23:40 +00:00
"@upstash/qstash" : "^2.8.4" ,
"@upstash/workflow" : "^0.2.23" ,
2025-12-11 09:14:25 +00:00
"@vercel/analytics" : "^1.6.1" ,
2025-11-03 04:56:15 +00:00
"@vercel/edge-config" : "^1.4.3" ,
2026-01-24 10:04:45 +00:00
"@vercel/functions" : "^3.3.6" ,
2025-12-11 09:14:25 +00:00
"@vercel/speed-insights" : "^1.3.1" ,
2026-01-24 10:04:45 +00:00
"@virtuoso.dev/masonry" : "^1.4.0" ,
2025-05-01 21:53:14 +00:00
"@xterm/xterm" : "^5.5.0" ,
2025-11-17 04:00:44 +00:00
"@zumer/snapdom" : "^1.9.14" ,
2025-11-03 04:56:15 +00:00
"ahooks" : "^3.9.6" ,
2026-01-24 10:04:45 +00:00
"antd" : "^6.2.1" ,
2026-01-05 05:23:43 +00:00
"antd-style" : "4.1.0" ,
2025-12-03 11:14:40 +00:00
"async-retry" : "^1.3.3" ,
2025-12-25 11:44:36 +00:00
"bcryptjs" : "^3.0.3" ,
2026-01-25 09:55:05 +00:00
"better-auth" : "1.4.6" ,
2025-12-04 17:35:20 +00:00
"better-auth-harmony" : "^1.2.5" ,
2026-01-25 09:55:05 +00:00
"better-call" : "1.1.8" ,
2024-06-20 19:22:35 +00:00
"brotli-wasm" : "^3.0.1" ,
2025-11-30 11:39:26 +00:00
"chroma-js" : "^3.2.0" ,
2025-12-27 15:51:21 +00:00
"class-variance-authority" : "^0.7.1" ,
2025-11-20 15:27:08 +00:00
"cmdk" : "^1.1.1" ,
2025-11-30 11:39:26 +00:00
"cookie" : "^1.1.1" ,
2025-05-20 04:49:14 +00:00
"countries-and-timezones" : "^3.8.0" ,
2025-11-03 04:56:15 +00:00
"dayjs" : "^1.11.19" ,
2025-10-11 07:08:26 +00:00
"debug" : "^4.4.3" ,
2024-04-10 16:28:48 +00:00
"dexie" : "^3.2.7" ,
2026-01-24 10:04:45 +00:00
"diff" : "^8.0.3" ,
2025-11-03 04:56:15 +00:00
"drizzle-orm" : "^0.44.7" ,
2024-06-17 03:06:59 +00:00
"drizzle-zod" : "^0.5.1" ,
2025-03-05 18:10:06 +00:00
"epub2" : "^3.0.2" ,
2026-01-24 10:04:45 +00:00
"es-toolkit" : "^1.44.0" ,
2024-04-10 16:28:48 +00:00
"fast-deep-equal" : "^3.1.3" ,
2025-10-27 02:25:50 +00:00
"fflate" : "^0.8.2" ,
2026-02-13 15:38:01 +00:00
"ffmpeg-static" : "^5.3.0" ,
2026-01-24 10:04:45 +00:00
"file-type" : "^21.3.0" ,
2025-06-22 06:06:37 +00:00
"gray-matter" : "^4.0.3" ,
2025-03-05 18:10:06 +00:00
"html-to-text" : "^9.0.5" ,
2026-01-24 10:04:45 +00:00
"i18next" : "^25.8.0" ,
2025-07-23 07:33:20 +00:00
"i18next-browser-languagedetector" : "^8.2.0" ,
2024-04-20 15:30:33 +00:00
"i18next-resources-to-backend" : "^1.2.1" ,
2026-01-24 10:04:45 +00:00
"immer" : "^11.1.3" ,
"ioredis" : "^5.9.2" ,
2025-12-20 12:23:40 +00:00
"jose" : "^6.1.3" ,
2025-06-02 16:22:14 +00:00
"js-sha256" : "^0.11.1" ,
2024-09-03 13:28:23 +00:00
"jsonl-parse-stringify" : "^1.0.3" ,
2025-12-11 09:14:25 +00:00
"klavis" : "^2.15.0" ,
2026-01-24 10:04:45 +00:00
"langchain" : "^0.3.37" ,
2025-11-03 04:56:15 +00:00
"langfuse" : "^3.38.6" ,
"langfuse-core" : "^3.38.6" ,
2025-12-21 04:34:44 +00:00
"lucide-react" : "^0.562.0" ,
2025-10-11 07:08:26 +00:00
"mammoth" : "^1.11.0" ,
2025-12-21 04:34:44 +00:00
"marked" : "^17.0.1" ,
2025-02-01 15:30:11 +00:00
"mdast-util-to-markdown" : "^2.1.2" ,
2025-08-29 17:28:16 +00:00
"model-bank" : "workspace:*" ,
2026-01-24 10:04:45 +00:00
"motion" : "^12.29.0" ,
2025-10-11 07:08:26 +00:00
"nanoid" : "^5.1.6" ,
2026-01-27 07:11:48 +00:00
"next" : "^16.1.5" ,
2026-02-12 17:06:43 +00:00
"next-mdx-remote" : "^6.0.0" ,
2026-01-05 05:23:43 +00:00
"next-themes" : "^0.4.6" ,
2025-09-12 08:04:05 +00:00
"nextjs-toploader" : "^3.9.17" ,
2025-07-08 11:51:22 +00:00
"node-machine-id" : "^1.1.12" ,
2026-01-24 10:04:45 +00:00
"nodemailer" : "^7.0.12" ,
2024-04-10 16:28:48 +00:00
"numeral" : "^2.0.6" ,
2026-01-24 10:04:45 +00:00
"nuqs" : "^2.8.6" ,
2025-07-07 06:22:20 +00:00
"officeparser" : "5.1.1" ,
2025-12-20 12:23:40 +00:00
"ogl" : "^1.0.11" ,
2025-12-11 09:14:25 +00:00
"oidc-provider" : "^9.6.0" ,
2025-11-16 03:34:45 +00:00
"ollama" : "^0.6.3" ,
2025-06-02 16:22:14 +00:00
"openai" : "^4.104.0" ,
2025-11-03 04:56:15 +00:00
"openapi-fetch" : "^0.14.1" ,
2024-06-19 18:26:18 +00:00
"partial-json" : "^0.1.7" ,
2025-05-03 02:01:01 +00:00
"path-browserify-esm" : "^1.0.6" ,
2025-12-20 12:23:40 +00:00
"pathe" : "^2.0.3" ,
2025-11-03 04:56:15 +00:00
"pdf-parse" : "^1.1.4" ,
2026-01-23 07:20:34 +00:00
"pdfjs-dist" : "5.4.530" ,
2025-10-21 08:32:17 +00:00
"pdfkit" : "^0.17.2" ,
2026-01-24 10:04:45 +00:00
"pg" : "^8.17.2" ,
2024-12-26 03:02:47 +00:00
"plaiceholder" : "^3.0.0" ,
2024-04-10 16:28:48 +00:00
"polished" : "^4.3.1" ,
2025-10-21 15:07:14 +00:00
"posthog-js" : "~1.278.0" ,
2025-07-14 12:29:57 +00:00
"pure-rand" : "^7.0.1" ,
2025-08-07 17:14:10 +00:00
"pwa-install-handler" : "^2.6.3" ,
2025-10-11 07:08:26 +00:00
"query-string" : "^9.3.1" ,
2024-03-22 08:07:06 +00:00
"random-words" : "^2.0.1" ,
2025-11-20 11:59:03 +00:00
"rc-util" : "^5.44.4" ,
2025-12-12 04:23:10 +00:00
"react" : "^19.2.3" ,
2025-04-03 02:52:47 +00:00
"react-confetti" : "^6.4.0" ,
2025-12-12 04:23:10 +00:00
"react-dom" : "^19.2.3" ,
2024-07-13 06:39:11 +00:00
"react-fast-marquee" : "^1.6.5" ,
2026-01-24 10:04:45 +00:00
"react-hotkeys-hook" : "^5.2.3" ,
"react-i18next" : "^16.5.3" ,
2024-04-10 16:28:48 +00:00
"react-lazy-load" : "^4.0.1" ,
2026-01-23 07:20:34 +00:00
"react-pdf" : "^10.3.0" ,
2025-10-22 15:35:49 +00:00
"react-responsive" : "^10.0.1" ,
2025-04-03 02:52:47 +00:00
"react-rnd" : "^10.5.2" ,
2026-01-24 10:04:45 +00:00
"react-router-dom" : "^7.13.0" ,
2025-09-12 08:04:05 +00:00
"react-scan" : "^0.4.3" ,
2026-01-24 10:04:45 +00:00
"react-virtuoso" : "^4.18.1" ,
2024-05-26 10:37:19 +00:00
"react-wrap-balancer" : "^1.1.1" ,
2025-01-08 13:32:57 +00:00
"remark" : "^15.0.1" ,
2025-04-03 02:52:47 +00:00
"remark-gfm" : "^4.0.1" ,
2025-01-08 13:32:57 +00:00
"remark-html" : "^16.0.1" ,
2026-01-24 10:04:45 +00:00
"remove-markdown" : "^0.6.3" ,
2026-01-27 12:56:48 +00:00
"resend" : "6.8.0" ,
2025-11-30 11:39:26 +00:00
"resolve-accept-language" : "^3.1.15" ,
2024-04-10 16:28:48 +00:00
"rtl-detect" : "^1.1.2" ,
2025-10-11 07:08:26 +00:00
"semver" : "^7.7.3" ,
2025-11-12 02:35:01 +00:00
"sharp" : "^0.34.5" ,
2026-01-24 10:04:45 +00:00
"shiki" : "^3.21.0" ,
2025-07-29 16:17:23 +00:00
"stripe" : "^17.7.0" ,
2025-11-30 11:39:26 +00:00
"superjson" : "^2.2.6" ,
2026-01-24 10:04:45 +00:00
"svix" : "^1.84.1" ,
2025-12-21 04:34:44 +00:00
"swr" : "^2.3.8" ,
2024-04-30 10:05:34 +00:00
"systemjs" : "^6.15.1" ,
2025-12-20 12:23:40 +00:00
"three" : "^0.181.2" ,
2026-01-24 10:04:45 +00:00
"tokenx" : "^1.3.0" ,
2025-10-11 07:08:26 +00:00
"ts-md5" : "^2.0.1" ,
2025-09-12 08:04:05 +00:00
"ua-parser-js" : "^1.0.41" ,
2026-01-25 12:21:52 +00:00
"undici" : "^7.19.1" ,
2025-12-20 12:23:40 +00:00
"unist-builder" : "^4.0.0" ,
2024-04-10 16:28:48 +00:00
"url-join" : "^5.0.0" ,
"use-merge-value" : "^1.2.0" ,
2025-11-23 07:40:37 +00:00
"uuid" : "^13.0.0" ,
2026-01-24 10:04:45 +00:00
"virtua" : "^0.48.3" ,
2025-09-15 03:16:58 +00:00
"word-extractor" : "^1.0.4" ,
2026-01-24 10:04:45 +00:00
"ws" : "^8.19.0" ,
2025-12-20 12:23:40 +00:00
"xast-util-to-xml" : "^4.0.0" ,
"xastscript" : "^4.0.0" ,
2025-11-30 11:39:26 +00:00
"yaml" : "^2.8.2" ,
2025-07-23 07:33:20 +00:00
"zod" : "^3.25.76" ,
2026-01-24 10:04:45 +00:00
"zod-to-json-schema" : "^3.25.1" ,
2025-05-22 15:12:09 +00:00
"zustand" : "5.0.4" ,
2025-09-29 19:54:12 +00:00
"zustand-utils" : "^2.1.1"
2023-05-21 07:34:04 +00:00
} ,
"devDependencies" : {
2026-01-11 17:22:21 +00:00
"@ast-grep/napi" : "^0.40.5" ,
2025-05-20 04:49:14 +00:00
"@commitlint/cli" : "^19.8.1" ,
2024-12-15 06:04:10 +00:00
"@edge-runtime/vm" : "^5.0.0" ,
2026-01-24 10:04:45 +00:00
"@huggingface/tasks" : "^0.19.80" ,
2026-02-11 06:20:30 +00:00
"@inquirer/prompts" : "^8.2.0" ,
2025-08-06 05:23:27 +00:00
"@lobechat/types" : "workspace:*" ,
chore: update i18n translations for multiple locales (#10973)
Update translations for ar, bg-BG, de-DE, es-ES, fa-IR, fr-FR, it-IT, ja-JP, ko-KR, nl-NL, pl-PL, pt-BR, ru-RU, tr-TR, vi-VN, zh-TW locales.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-authored-by: Claude <noreply@anthropic.com>
2025-12-25 13:28:18 +00:00
"@lobehub/i18n-cli" : "^1.26.0" ,
2026-02-13 07:49:33 +00:00
"@lobehub/lint" : "2.1.3" ,
2026-01-09 09:34:28 +00:00
"@lobehub/market-types" : "^1.12.3" ,
2025-07-23 07:33:20 +00:00
"@lobehub/seo-cli" : "^1.7.0" ,
2026-01-27 07:11:48 +00:00
"@next/bundle-analyzer" : "^16.1.5" ,
2024-06-20 19:22:35 +00:00
"@peculiar/webcrypto" : "^1.5.0" ,
2026-01-24 10:04:45 +00:00
"@playwright/test" : "^1.58.0" ,
2025-06-12 06:54:05 +00:00
"@prettier/sync" : "^0.6.1" ,
2024-11-26 06:48:06 +00:00
"@semantic-release/exec" : "^6.0.3" ,
2025-10-07 15:27:19 +00:00
"@testing-library/jest-dom" : "^6.9.1" ,
2026-01-24 10:04:45 +00:00
"@testing-library/react" : "^16.3.2" ,
2025-01-24 02:01:41 +00:00
"@testing-library/user-event" : "^14.6.1" ,
2025-12-03 11:14:40 +00:00
"@types/async-retry" : "^1.4.9" ,
2025-11-03 04:56:15 +00:00
"@types/chroma-js" : "^3.1.2" ,
2024-12-26 03:02:47 +00:00
"@types/crypto-js" : "^4.2.2" ,
2024-03-22 08:07:06 +00:00
"@types/debug" : "^4.1.12" ,
2024-11-26 06:48:06 +00:00
"@types/fs-extra" : "^11.0.4" ,
2024-04-28 09:03:58 +00:00
"@types/ip" : "^1.1.3" ,
2024-04-10 16:28:48 +00:00
"@types/json-schema" : "^7.0.15" ,
2026-01-24 10:04:45 +00:00
"@types/node" : "^24.10.9" ,
"@types/nodemailer" : "^7.0.5" ,
2024-04-10 16:28:48 +00:00
"@types/numeral" : "^2.0.5" ,
2025-09-12 08:04:05 +00:00
"@types/oidc-provider" : "^9.5.0" ,
2025-11-30 11:32:37 +00:00
"@types/pdfkit" : "^0.17.4" ,
2025-12-11 09:14:25 +00:00
"@types/pg" : "^8.16.0" ,
2026-02-11 15:51:35 +00:00
"@types/react" : "19.2.13" ,
2025-12-30 16:08:49 +00:00
"@types/react-dom" : "^19.2.3" ,
2024-04-10 16:28:48 +00:00
"@types/rtl-detect" : "^1.0.3" ,
2025-09-12 08:04:05 +00:00
"@types/semver" : "^7.7.1" ,
2025-11-30 11:39:26 +00:00
"@types/systemjs" : "^6.15.4" ,
2025-12-20 12:23:40 +00:00
"@types/three" : "^0.181.0" ,
2024-04-10 16:28:48 +00:00
"@types/ua-parser-js" : "^0.7.39" ,
2024-09-18 17:45:55 +00:00
"@types/unist" : "^3.0.3" ,
2025-04-03 02:52:47 +00:00
"@types/ws" : "^8.18.1" ,
2025-12-20 12:23:40 +00:00
"@types/xast" : "^2.0.4" ,
📝 docs: improve development guides to reflect current architecture (#12174)
* 🔧 chore(vscode): add typescript.tsdk and disable mdx server
Fix MDX extension crash caused by Cursor's bundled TypeScript version
* 🔧 chore(claude): add skills symlink to .claude directory
* 📝 docs: update development guides with current tech stack and architecture
- Update tech stack: Next.js 16 + React 19, hybrid routing (App Router + React Router DOM), tRPC, Drizzle ORM + PostgreSQL, react-i18next
- Update directory structure to reflect monorepo layout (apps/, packages/, e2e/, locales/)
- Expand src/server/ with detailed subdirectory descriptions
- Add complete SPA routing architecture with desktop and mobile route tables
- Add tRPC router grouping details (lambda, async, tools, mobile)
- Add data flow diagram
- Simplify dev setup section to link to setup-development guide
- Fix i18n default language description (English, not Chinese)
- Sync all changes between zh-CN and English versions
* 📝 docs: expand data flow diagram in folder structure guide
Replace the single-line data flow with a detailed layer-by-layer
flow diagram showing each layer's location and responsibility.
* 📝 docs: modernize feature development guide
- Remove outdated clientDB/pglite/indexDB references
- Update schema path to packages/database/src/schemas/
- Update types path to packages/types/src/
- Replace inline migration steps with link to db-migrations guide
- Add complete layered architecture table (Client Service, WebAPI,
tRPC Router, Server Service, Server Module, Repository, DB Model)
- Clarify Client Service as frontend code
- Add i18n handling section with workflow and key naming convention
- Remove verbose CSS style code, keep core business logic only
- Expand testing section with commands, skill refs, and CI tip
* 🔥 docs: remove outdated frontend feature development guide
Content is superseded by the comprehensive feature-development guide
which covers the full chain from schema to testing.
* 📝 docs: add LobeHub ecosystem and community resources
Add official ecosystem packages (LobeUI, LobeIcons, LobeCharts,
LobeEditor, LobeTTS, LobeLint, Lobe i18n, MCP Mark) and community
platforms (Agent Market, MCP Market, YouTube, X, Discord).
* 📝 docs: improve contributing guidelines and resources
- Clarify semantic release triggers (feat/fix vs style/chore)
- Add testing section with Vitest/E2E/CI requirements
- Update contribution steps to include CI check
- Add LobeHub ecosystem packages and community platforms to resources
* 📝 docs: rewrite architecture guide to reflect current platform design
* 📝 docs: add code quality tools to architecture guide
* 📝 docs: rewrite chat-api guide to reflect current architecture
- Update sequence diagram with Agent Runtime loop as core execution engine
- Replace PluginGateway with ToolExecution layer (Builtin/MCP/Plugin)
- Update all path references (model-runtime, agent-runtime, fetch-sse packages)
- Split old AgentRuntime section into Model Runtime + Agent Runtime
- Add tool calling taxonomy: Builtin, MCP, and Plugin (deprecated)
- Add client-side vs server-side execution section
- Remove outdated adapter pseudo-code examples
* 📝 docs: update file paths in add-new-image-model guide
- src/libs/standard-parameters/ → packages/model-bank/src/standard-parameters/
- src/config/aiModels/ → packages/model-bank/src/aiModels/
- src/libs/model-runtime/ → packages/model-runtime/src/providers/
* 📝 docs: restore S3_PUBLIC_DOMAIN in deployment guides
The S3_PUBLIC_DOMAIN env var was incorrectly removed from all
documentation in commit 4a87b31. This variable is still required
by the code (src/server/services/file/impls/s3.ts) to generate
public URLs for uploaded files. Without it, image URLs sent to
vision models are just S3 keys instead of full URLs.
Closes #12161
* 📦 chore: pin @lobehub/ui to 4.33.4 to fix SortableList type errors
@lobehub/ui 4.34.0 introduced breaking type changes in SortableList
where SortableListItem became strict, causing type incompatibility
in onChange and renderItem callbacks across 6 files. Pin to 4.33.4
via pnpm overrides to enforce consistent version across monorepo.
* 🐛 fix: correct ReadableStream type annotations and add dom.asynciterable
- Add dom.asynciterable to tsconfig lib for ReadableStream async iteration
- Fix createCallbacksTransformer return type: TransformStream<string, Uint8Array>
- Update stream function return types from ReadableStream<string> to
ReadableStream<Uint8Array> (llama.ts, ollama.ts, claude.ts)
- Remove @ts-ignore from for-await loops in test files
- Add explicit string[] type for chunks arrays
* Revert "📝 docs: restore S3_PUBLIC_DOMAIN in deployment guides"
This reverts commit 24073f83d3d5e9a89c29e9a96a6689d2baa0edde.
2026-02-07 14:29:14 +00:00
"@typescript/native-preview" : "7.0.0-dev.20260207.1" ,
2025-07-23 07:33:20 +00:00
"@vitest/coverage-v8" : "^3.2.4" ,
2024-04-10 16:28:48 +00:00
"ajv-keywords" : "^5.1.0" ,
2025-12-23 04:45:49 +00:00
"code-inspector-plugin" : "1.3.3" ,
2025-05-20 04:49:14 +00:00
"commitlint" : "^19.8.1" ,
2025-04-03 02:52:47 +00:00
"consola" : "^3.4.2" ,
2025-10-11 07:08:26 +00:00
"cross-env" : "^10.1.0" ,
2024-12-26 03:02:47 +00:00
"crypto-js" : "^4.2.0" ,
2025-10-11 07:08:26 +00:00
"dbdocs" : "^0.16.2" ,
"dotenv" : "^17.2.3" ,
2025-09-12 08:04:05 +00:00
"dotenv-expand" : "^12.0.3" ,
2025-10-11 07:08:26 +00:00
"dpdm-fast" : "^1.0.14" ,
2025-03-14 06:24:39 +00:00
"drizzle-dbml-generator" : "^0.10.0" ,
2025-12-11 09:14:25 +00:00
"drizzle-kit" : "^0.31.8" ,
2026-02-13 07:49:33 +00:00
"eslint" : "10.0.0" ,
2025-07-23 07:33:20 +00:00
"eslint-plugin-mdx" : "^3.6.2" ,
2025-11-12 02:35:01 +00:00
"fake-indexeddb" : "^6.2.5" ,
2025-12-21 04:34:44 +00:00
"fs-extra" : "^11.3.3" ,
2026-01-11 17:23:38 +00:00
"glob" : "^13.0.0" ,
2026-01-24 10:04:45 +00:00
"happy-dom" : "^20.3.7" ,
2025-01-07 08:51:51 +00:00
"husky" : "^9.1.7" ,
2026-01-24 10:04:45 +00:00
"import-in-the-middle" : "^2.0.5" ,
2024-04-10 16:28:48 +00:00
"just-diff" : "^6.0.2" ,
2026-01-24 10:04:45 +00:00
"knip" : "^5.82.1" ,
2025-11-30 11:39:26 +00:00
"lint-staged" : "^16.2.7" ,
2025-01-07 08:51:51 +00:00
"markdown-table" : "^3.0.4" ,
2025-04-20 16:54:23 +00:00
"mcp-hello-world" : "^1.1.2" ,
2025-10-11 07:08:26 +00:00
"mime" : "^4.1.0" ,
2024-04-10 16:28:48 +00:00
"node-fetch" : "^3.3.2" ,
2025-11-03 04:56:15 +00:00
"node-gyp" : "^11.5.0" ,
"openapi-typescript" : "^7.10.1" ,
2025-11-12 02:35:01 +00:00
"p-map" : "^7.0.4" ,
2026-01-24 10:04:45 +00:00
"prettier" : "^3.8.1" ,
2025-01-08 13:32:57 +00:00
"remark-cli" : "^12.0.1" ,
"remark-frontmatter" : "^5.0.0" ,
2025-09-12 08:04:05 +00:00
"remark-mdx" : "^3.1.1" ,
2025-01-08 13:32:57 +00:00
"remark-parse" : "^11.0.0" ,
2025-11-05 11:14:15 +00:00
"require-in-the-middle" : "^8.0.1" ,
2024-04-10 16:28:48 +00:00
"semantic-release" : "^21.1.2" ,
2026-01-24 10:04:45 +00:00
"serwist" : "^9.5.0" ,
2026-02-05 13:40:43 +00:00
"stylelint" : "^16.12.0" ,
2025-12-11 09:14:25 +00:00
"tsx" : "^4.21.0" ,
2026-01-24 10:04:45 +00:00
"type-fest" : "^5.4.1" ,
2025-10-11 07:08:26 +00:00
"typescript" : "^5.9.3" ,
2024-06-20 19:22:35 +00:00
"unified" : "^11.0.5" ,
2026-01-24 10:04:45 +00:00
"unist-util-visit" : "^5.1.0" ,
"vite" : "^7.3.1" ,
2025-08-22 06:05:01 +00:00
"vitest" : "^3.2.4"
2023-07-15 11:22:16 +00:00
} ,
2025-11-03 04:56:15 +00:00
"packageManager" : "pnpm@10.20.0" ,
2023-07-15 11:22:16 +00:00
"publishConfig" : {
"access" : "public" ,
"registry" : "https://registry.npmjs.org"
2026-01-25 09:55:05 +00:00
} ,
"pnpm" : {
2026-02-13 15:38:01 +00:00
"onlyBuiltDependencies" : [
"ffmpeg-static"
] ,
2026-01-25 09:55:05 +00:00
"overrides" : {
2026-02-11 15:51:35 +00:00
"@types/react" : "19.2.13" ,
2026-01-25 09:55:05 +00:00
"better-auth" : "1.4.6" ,
2026-01-27 13:01:52 +00:00
"better-call" : "1.1.8" ,
"drizzle-orm" : "0.44.7"
2026-01-25 09:55:05 +00:00
}
2023-07-27 02:53:42 +00:00
}
2026-02-22 01:48:11 +00:00
}