@lobehub/lobehub 2.0.0-next.17 → 2.0.0-next.171

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2580) hide show
  1. package/.console-log-whitelist.json +14 -0
  2. package/.cursor/rules/db-migrations.mdc +16 -1
  3. package/.cursor/rules/desktop-feature-implementation.mdc +31 -34
  4. package/.cursor/rules/desktop-local-tools-implement.mdc +3 -3
  5. package/.cursor/rules/desktop-window-management.mdc +56 -66
  6. package/.cursor/rules/project-introduce.mdc +2 -2
  7. package/.cursor/rules/project-structure.mdc +20 -2
  8. package/.env.desktop +1 -2
  9. package/.env.example +186 -65
  10. package/.env.example.development +11 -10
  11. package/.github/workflows/claude-auto-testing.yml +73 -0
  12. package/.github/workflows/claude-dedupe-issues.yml +2 -0
  13. package/.github/workflows/claude-issue-triage.yml +17 -1
  14. package/.github/workflows/claude-translate-comments.yml +67 -0
  15. package/.github/workflows/claude-translator.yml +18 -1
  16. package/.github/workflows/claude.yml +13 -6
  17. package/.github/workflows/e2e.yml +14 -0
  18. package/.github/workflows/issue-auto-comments.yml +0 -19
  19. package/.github/workflows/pr-build-desktop.yml +362 -0
  20. package/.github/workflows/pr-build-docker.yml +173 -0
  21. package/.github/workflows/release-desktop-beta.yml +4 -4
  22. package/.github/workflows/release-docker.yml +133 -0
  23. package/.github/workflows/release.yml +2 -3
  24. package/.github/workflows/sync.yml +2 -2
  25. package/.github/workflows/test.yml +47 -7
  26. package/.husky/pre-commit +1 -1
  27. package/.nvmrc +1 -1
  28. package/AGENTS.md +7 -4
  29. package/CHANGELOG.md +3858 -0
  30. package/CLAUDE.md +44 -1
  31. package/Dockerfile +52 -58
  32. package/GEMINI.md +63 -0
  33. package/README.md +8 -8
  34. package/README.zh-CN.md +8 -8
  35. package/apps/desktop/Development.md +42 -46
  36. package/apps/desktop/README.md +37 -1
  37. package/apps/desktop/README.zh-CN.md +26 -1
  38. package/apps/desktop/electron.vite.config.ts +1 -0
  39. package/apps/desktop/package.json +26 -20
  40. package/apps/desktop/src/common/routes.ts +0 -6
  41. package/apps/desktop/src/main/appBrowsers.ts +0 -13
  42. package/apps/desktop/src/main/controllers/AuthCtr.ts +138 -65
  43. package/apps/desktop/src/main/controllers/BrowserWindowsCtr.ts +62 -68
  44. package/apps/desktop/src/main/controllers/DevtoolsCtr.ts +4 -2
  45. package/apps/desktop/src/main/controllers/LocalFileCtr.ts +94 -29
  46. package/apps/desktop/src/main/controllers/MenuCtr.ts +10 -9
  47. package/apps/desktop/src/main/controllers/NetworkProxyCtr.ts +18 -19
  48. package/apps/desktop/src/main/controllers/NotificationCtr.ts +33 -32
  49. package/apps/desktop/src/main/controllers/RemoteServerConfigCtr.ts +120 -27
  50. package/apps/desktop/src/main/controllers/RemoteServerSyncCtr.ts +3 -2
  51. package/apps/desktop/src/main/controllers/ShellCommandCtr.ts +243 -0
  52. package/apps/desktop/src/main/controllers/ShortcutCtr.ts +6 -5
  53. package/apps/desktop/src/main/controllers/SystemCtr.ts +7 -37
  54. package/apps/desktop/src/main/controllers/SystemServerCtr.ts +38 -0
  55. package/apps/desktop/src/main/controllers/TrayMenuCtr.ts +23 -22
  56. package/apps/desktop/src/main/controllers/UpdaterCtr.ts +10 -9
  57. package/apps/desktop/src/main/controllers/UploadFileCtr.ts +3 -25
  58. package/apps/desktop/src/main/controllers/UploadFileServerCtr.ts +33 -0
  59. package/apps/desktop/src/main/controllers/__tests__/AuthCtr.test.ts +714 -0
  60. package/apps/desktop/src/main/controllers/__tests__/BrowserWindowsCtr.test.ts +50 -81
  61. package/apps/desktop/src/main/controllers/__tests__/DevtoolsCtr.test.ts +12 -3
  62. package/apps/desktop/src/main/controllers/__tests__/LocalFileCtr.test.ts +164 -1
  63. package/apps/desktop/src/main/controllers/__tests__/McpInstallCtr.test.ts +286 -0
  64. package/apps/desktop/src/main/controllers/__tests__/MenuCtr.test.ts +10 -0
  65. package/apps/desktop/src/main/controllers/__tests__/NetworkProxyCtr.test.ts +10 -0
  66. package/apps/desktop/src/main/controllers/__tests__/NotificationCtr.test.ts +355 -0
  67. package/apps/desktop/src/main/controllers/__tests__/RemoteServerConfigCtr.test.ts +690 -0
  68. package/apps/desktop/src/main/controllers/__tests__/RemoteServerSyncCtr.test.ts +373 -0
  69. package/apps/desktop/src/main/controllers/__tests__/ShellCommandCtr.test.ts +509 -0
  70. package/apps/desktop/src/main/controllers/__tests__/ShortcutCtr.test.ts +11 -0
  71. package/apps/desktop/src/main/controllers/__tests__/SystemCtr.test.ts +246 -0
  72. package/apps/desktop/src/main/controllers/__tests__/SystemServerCtr.test.ts +75 -0
  73. package/apps/desktop/src/main/controllers/__tests__/TrayMenuCtr.test.ts +29 -18
  74. package/apps/desktop/src/main/controllers/__tests__/UpdaterCtr.test.ts +13 -2
  75. package/apps/desktop/src/main/controllers/__tests__/UploadFileCtr.test.ts +88 -0
  76. package/apps/desktop/src/main/controllers/__tests__/UploadFileServerCtr.test.ts +55 -0
  77. package/apps/desktop/src/main/controllers/_template.ts +2 -2
  78. package/apps/desktop/src/main/controllers/index.ts +7 -31
  79. package/apps/desktop/src/main/controllers/registry.ts +52 -0
  80. package/apps/desktop/src/main/core/App.ts +15 -47
  81. package/apps/desktop/src/main/core/__tests__/App.test.ts +5 -4
  82. package/apps/desktop/src/main/core/browser/Browser.ts +1 -0
  83. package/apps/desktop/src/main/core/browser/BrowserManager.ts +1 -56
  84. package/apps/desktop/src/main/core/browser/__tests__/Browser.test.ts +573 -0
  85. package/apps/desktop/src/main/core/browser/__tests__/BrowserManager.test.ts +415 -0
  86. package/apps/desktop/src/main/core/infrastructure/IoCContainer.ts +0 -5
  87. package/apps/desktop/src/main/core/infrastructure/ProtocolManager.ts +9 -4
  88. package/apps/desktop/src/main/core/infrastructure/UpdaterManager.ts +23 -2
  89. package/apps/desktop/src/main/core/infrastructure/__tests__/I18nManager.test.ts +353 -0
  90. package/apps/desktop/src/main/core/infrastructure/__tests__/IoCContainer.test.ts +106 -0
  91. package/apps/desktop/src/main/core/infrastructure/__tests__/ProtocolManager.test.ts +349 -0
  92. package/apps/desktop/src/main/core/infrastructure/__tests__/StaticFileServerManager.test.ts +481 -0
  93. package/apps/desktop/src/main/core/infrastructure/__tests__/StoreManager.test.ts +164 -0
  94. package/apps/desktop/src/main/core/infrastructure/__tests__/UpdaterManager.test.ts +513 -0
  95. package/apps/desktop/src/main/core/ui/__tests__/MenuManager.test.ts +320 -0
  96. package/apps/desktop/src/main/core/ui/__tests__/Tray.test.ts +518 -0
  97. package/apps/desktop/src/main/core/ui/__tests__/TrayManager.test.ts +360 -0
  98. package/apps/desktop/src/main/exports.d.ts +8 -0
  99. package/apps/desktop/src/main/exports.ts +2 -0
  100. package/apps/desktop/src/main/global.d.ts +3 -0
  101. package/apps/desktop/src/main/menus/impls/BaseMenuPlatform.test.ts +49 -0
  102. package/apps/desktop/src/main/menus/impls/linux.test.ts +552 -0
  103. package/apps/desktop/src/main/menus/impls/macOS.test.ts +464 -0
  104. package/apps/desktop/src/main/menus/impls/macOS.ts +9 -3
  105. package/apps/desktop/src/main/menus/impls/windows.test.ts +429 -0
  106. package/apps/desktop/src/main/modules/fileSearch/__tests__/macOS.integration.test.ts +366 -0
  107. package/apps/desktop/src/main/modules/fileSearch/impl/macOS.ts +30 -22
  108. package/apps/desktop/src/main/modules/networkProxy/__tests__/dispatcher.test.ts +401 -0
  109. package/apps/desktop/src/main/modules/networkProxy/__tests__/tester.test.ts +531 -0
  110. package/apps/desktop/src/main/modules/networkProxy/__tests__/urlBuilder.test.ts +349 -0
  111. package/apps/desktop/src/main/modules/networkProxy/__tests__/validator.test.ts +492 -0
  112. package/apps/desktop/src/main/modules/networkProxy/dispatcher.ts +16 -16
  113. package/apps/desktop/src/main/modules/networkProxy/tester.ts +11 -11
  114. package/apps/desktop/src/main/modules/networkProxy/urlBuilder.ts +3 -3
  115. package/apps/desktop/src/main/modules/networkProxy/validator.ts +10 -10
  116. package/apps/desktop/src/main/package.json +10 -0
  117. package/apps/desktop/src/main/services/__tests__/fileSearchSrv.test.ts +402 -0
  118. package/apps/desktop/src/main/services/__tests__/fileSrv.test.ts +603 -0
  119. package/apps/desktop/src/main/services/fileSrv.ts +1 -1
  120. package/apps/desktop/src/main/utils/__tests__/file-system.test.ts +91 -0
  121. package/apps/desktop/src/main/utils/__tests__/logger.test.ts +229 -0
  122. package/apps/desktop/src/main/utils/ipc/__tests__/base.test.ts +91 -0
  123. package/apps/desktop/src/main/utils/ipc/base.ts +170 -0
  124. package/apps/desktop/src/main/utils/ipc/index.ts +11 -0
  125. package/apps/desktop/src/main/utils/ipc/utility.ts +20 -0
  126. package/apps/desktop/src/main/utils/next-electron-rsc.ts +3 -1
  127. package/apps/desktop/src/preload/electronApi.test.ts +142 -0
  128. package/apps/desktop/src/preload/electronApi.ts +4 -1
  129. package/apps/desktop/src/preload/index.ts +2 -2
  130. package/apps/desktop/src/preload/invoke.test.ts +144 -0
  131. package/apps/desktop/src/preload/invoke.ts +3 -6
  132. package/apps/desktop/src/preload/routeInterceptor.test.ts +419 -0
  133. package/apps/desktop/src/preload/routeInterceptor.ts +45 -45
  134. package/apps/desktop/src/preload/streamer.test.ts +366 -0
  135. package/apps/desktop/tsconfig.json +5 -4
  136. package/apps/desktop/vitest.config.mts +1 -0
  137. package/changelog/v1.json +1332 -0
  138. package/codecov.yml +1 -0
  139. package/docker-compose/local/.env.example +3 -0
  140. package/docker-compose/local/docker-compose.yml +24 -1
  141. package/docker-compose/local/logto/docker-compose.yml +25 -2
  142. package/docker-compose.development.yml +6 -0
  143. package/docs/development/database-schema.dbml +178 -23
  144. package/docs/self-hosting/advanced/auth.mdx +99 -2
  145. package/docs/self-hosting/advanced/auth.zh-CN.mdx +99 -2
  146. package/docs/self-hosting/environment-variables/auth.mdx +187 -1
  147. package/docs/self-hosting/environment-variables/auth.zh-CN.mdx +187 -1
  148. package/docs/self-hosting/environment-variables/basic.mdx +49 -3
  149. package/docs/self-hosting/environment-variables/basic.zh-CN.mdx +49 -4
  150. package/docs/self-hosting/environment-variables/model-provider.mdx +31 -0
  151. package/docs/self-hosting/environment-variables/model-provider.zh-CN.mdx +30 -0
  152. package/docs/self-hosting/server-database/docker-compose.mdx +29 -0
  153. package/docs/self-hosting/server-database/docker-compose.zh-CN.mdx +29 -0
  154. package/docs/usage/providers/comfyui.mdx +1 -1
  155. package/docs/usage/providers/comfyui.zh-CN.mdx +1 -1
  156. package/e2e/package.json +4 -4
  157. package/e2e/src/features/discover/detail-pages.feature +95 -0
  158. package/e2e/src/features/discover/interactions.feature +113 -0
  159. package/e2e/src/steps/discover/detail-pages.steps.ts +295 -0
  160. package/e2e/src/steps/discover/interactions.steps.ts +451 -0
  161. package/e2e/src/steps/hooks.ts +1 -0
  162. package/locales/ar/auth.json +173 -3
  163. package/locales/ar/authError.json +40 -0
  164. package/locales/ar/chat.json +42 -0
  165. package/locales/ar/common.json +24 -0
  166. package/locales/ar/components.json +6 -0
  167. package/locales/ar/discover.json +47 -0
  168. package/locales/ar/error.json +2 -2
  169. package/locales/ar/file.json +88 -5
  170. package/locales/ar/hotkey.json +4 -0
  171. package/locales/ar/image.json +8 -0
  172. package/locales/ar/labs.json +4 -0
  173. package/locales/ar/marketAuth.json +55 -0
  174. package/locales/ar/modelProvider.json +16 -2
  175. package/locales/ar/models.json +439 -142
  176. package/locales/ar/oauth.json +1 -0
  177. package/locales/ar/plugin.json +36 -16
  178. package/locales/ar/providers.json +6 -0
  179. package/locales/ar/setting.json +125 -1
  180. package/locales/ar/tool.json +28 -1
  181. package/locales/ar/topic.json +1 -0
  182. package/locales/bg-BG/auth.json +173 -3
  183. package/locales/bg-BG/authError.json +40 -0
  184. package/locales/bg-BG/chat.json +42 -0
  185. package/locales/bg-BG/common.json +24 -0
  186. package/locales/bg-BG/components.json +6 -0
  187. package/locales/bg-BG/discover.json +47 -0
  188. package/locales/bg-BG/error.json +2 -2
  189. package/locales/bg-BG/file.json +88 -5
  190. package/locales/bg-BG/hotkey.json +4 -0
  191. package/locales/bg-BG/image.json +8 -0
  192. package/locales/bg-BG/labs.json +4 -0
  193. package/locales/bg-BG/marketAuth.json +55 -0
  194. package/locales/bg-BG/modelProvider.json +16 -2
  195. package/locales/bg-BG/models.json +439 -142
  196. package/locales/bg-BG/oauth.json +1 -0
  197. package/locales/bg-BG/plugin.json +36 -16
  198. package/locales/bg-BG/providers.json +6 -0
  199. package/locales/bg-BG/setting.json +125 -1
  200. package/locales/bg-BG/tool.json +28 -1
  201. package/locales/bg-BG/topic.json +1 -0
  202. package/locales/de-DE/auth.json +173 -3
  203. package/locales/de-DE/authError.json +40 -0
  204. package/locales/de-DE/chat.json +42 -0
  205. package/locales/de-DE/common.json +24 -0
  206. package/locales/de-DE/components.json +6 -0
  207. package/locales/de-DE/discover.json +47 -0
  208. package/locales/de-DE/error.json +2 -2
  209. package/locales/de-DE/file.json +88 -5
  210. package/locales/de-DE/hotkey.json +4 -0
  211. package/locales/de-DE/image.json +8 -0
  212. package/locales/de-DE/labs.json +4 -0
  213. package/locales/de-DE/marketAuth.json +55 -0
  214. package/locales/de-DE/modelProvider.json +16 -2
  215. package/locales/de-DE/models.json +439 -142
  216. package/locales/de-DE/oauth.json +1 -0
  217. package/locales/de-DE/plugin.json +36 -16
  218. package/locales/de-DE/providers.json +6 -0
  219. package/locales/de-DE/setting.json +125 -1
  220. package/locales/de-DE/tool.json +28 -1
  221. package/locales/de-DE/topic.json +1 -0
  222. package/locales/en-US/auth.json +175 -5
  223. package/locales/en-US/authError.json +40 -0
  224. package/locales/en-US/chat.json +42 -0
  225. package/locales/en-US/common.json +24 -0
  226. package/locales/en-US/components.json +6 -0
  227. package/locales/en-US/discover.json +47 -0
  228. package/locales/en-US/error.json +2 -2
  229. package/locales/en-US/file.json +88 -5
  230. package/locales/en-US/hotkey.json +4 -0
  231. package/locales/en-US/image.json +8 -0
  232. package/locales/en-US/labs.json +4 -0
  233. package/locales/en-US/marketAuth.json +55 -0
  234. package/locales/en-US/modelProvider.json +16 -2
  235. package/locales/en-US/models.json +439 -142
  236. package/locales/en-US/oauth.json +1 -0
  237. package/locales/en-US/plugin.json +36 -16
  238. package/locales/en-US/providers.json +6 -0
  239. package/locales/en-US/setting.json +125 -1
  240. package/locales/en-US/tool.json +28 -1
  241. package/locales/en-US/topic.json +1 -0
  242. package/locales/es-ES/auth.json +173 -3
  243. package/locales/es-ES/authError.json +40 -0
  244. package/locales/es-ES/chat.json +42 -0
  245. package/locales/es-ES/common.json +24 -0
  246. package/locales/es-ES/components.json +6 -0
  247. package/locales/es-ES/discover.json +47 -0
  248. package/locales/es-ES/error.json +2 -2
  249. package/locales/es-ES/file.json +88 -5
  250. package/locales/es-ES/hotkey.json +4 -0
  251. package/locales/es-ES/image.json +8 -0
  252. package/locales/es-ES/labs.json +4 -0
  253. package/locales/es-ES/marketAuth.json +55 -0
  254. package/locales/es-ES/modelProvider.json +16 -2
  255. package/locales/es-ES/models.json +439 -142
  256. package/locales/es-ES/oauth.json +1 -0
  257. package/locales/es-ES/plugin.json +36 -16
  258. package/locales/es-ES/providers.json +6 -0
  259. package/locales/es-ES/setting.json +125 -1
  260. package/locales/es-ES/tool.json +28 -1
  261. package/locales/es-ES/topic.json +1 -0
  262. package/locales/fa-IR/auth.json +173 -3
  263. package/locales/fa-IR/authError.json +40 -0
  264. package/locales/fa-IR/chat.json +42 -0
  265. package/locales/fa-IR/common.json +24 -0
  266. package/locales/fa-IR/components.json +6 -0
  267. package/locales/fa-IR/discover.json +47 -0
  268. package/locales/fa-IR/error.json +2 -2
  269. package/locales/fa-IR/file.json +88 -5
  270. package/locales/fa-IR/hotkey.json +4 -0
  271. package/locales/fa-IR/image.json +8 -0
  272. package/locales/fa-IR/labs.json +4 -0
  273. package/locales/fa-IR/marketAuth.json +55 -0
  274. package/locales/fa-IR/modelProvider.json +16 -2
  275. package/locales/fa-IR/models.json +439 -142
  276. package/locales/fa-IR/oauth.json +1 -0
  277. package/locales/fa-IR/plugin.json +36 -16
  278. package/locales/fa-IR/providers.json +6 -0
  279. package/locales/fa-IR/setting.json +125 -1
  280. package/locales/fa-IR/tool.json +28 -1
  281. package/locales/fa-IR/topic.json +1 -0
  282. package/locales/fr-FR/auth.json +173 -3
  283. package/locales/fr-FR/authError.json +40 -0
  284. package/locales/fr-FR/chat.json +42 -0
  285. package/locales/fr-FR/common.json +24 -0
  286. package/locales/fr-FR/components.json +6 -0
  287. package/locales/fr-FR/discover.json +47 -0
  288. package/locales/fr-FR/error.json +2 -2
  289. package/locales/fr-FR/file.json +88 -5
  290. package/locales/fr-FR/hotkey.json +4 -0
  291. package/locales/fr-FR/image.json +8 -0
  292. package/locales/fr-FR/labs.json +4 -0
  293. package/locales/fr-FR/marketAuth.json +55 -0
  294. package/locales/fr-FR/modelProvider.json +16 -2
  295. package/locales/fr-FR/models.json +439 -142
  296. package/locales/fr-FR/oauth.json +1 -0
  297. package/locales/fr-FR/plugin.json +36 -16
  298. package/locales/fr-FR/providers.json +6 -0
  299. package/locales/fr-FR/setting.json +125 -1
  300. package/locales/fr-FR/tool.json +28 -1
  301. package/locales/fr-FR/topic.json +1 -0
  302. package/locales/it-IT/auth.json +173 -3
  303. package/locales/it-IT/authError.json +40 -0
  304. package/locales/it-IT/chat.json +42 -0
  305. package/locales/it-IT/common.json +24 -0
  306. package/locales/it-IT/components.json +6 -0
  307. package/locales/it-IT/discover.json +47 -0
  308. package/locales/it-IT/error.json +2 -2
  309. package/locales/it-IT/file.json +88 -5
  310. package/locales/it-IT/hotkey.json +4 -0
  311. package/locales/it-IT/image.json +8 -0
  312. package/locales/it-IT/labs.json +4 -0
  313. package/locales/it-IT/marketAuth.json +55 -0
  314. package/locales/it-IT/modelProvider.json +16 -2
  315. package/locales/it-IT/models.json +439 -142
  316. package/locales/it-IT/oauth.json +1 -0
  317. package/locales/it-IT/plugin.json +36 -16
  318. package/locales/it-IT/providers.json +6 -0
  319. package/locales/it-IT/setting.json +125 -1
  320. package/locales/it-IT/tool.json +28 -1
  321. package/locales/it-IT/topic.json +1 -0
  322. package/locales/ja-JP/auth.json +173 -3
  323. package/locales/ja-JP/authError.json +40 -0
  324. package/locales/ja-JP/chat.json +42 -0
  325. package/locales/ja-JP/common.json +24 -0
  326. package/locales/ja-JP/components.json +6 -0
  327. package/locales/ja-JP/discover.json +47 -0
  328. package/locales/ja-JP/error.json +2 -2
  329. package/locales/ja-JP/file.json +88 -5
  330. package/locales/ja-JP/hotkey.json +4 -0
  331. package/locales/ja-JP/image.json +8 -0
  332. package/locales/ja-JP/labs.json +4 -0
  333. package/locales/ja-JP/marketAuth.json +55 -0
  334. package/locales/ja-JP/modelProvider.json +16 -2
  335. package/locales/ja-JP/models.json +439 -142
  336. package/locales/ja-JP/oauth.json +1 -0
  337. package/locales/ja-JP/plugin.json +36 -16
  338. package/locales/ja-JP/providers.json +6 -0
  339. package/locales/ja-JP/setting.json +125 -1
  340. package/locales/ja-JP/tool.json +28 -1
  341. package/locales/ja-JP/topic.json +1 -0
  342. package/locales/ko-KR/auth.json +173 -3
  343. package/locales/ko-KR/authError.json +40 -0
  344. package/locales/ko-KR/chat.json +42 -0
  345. package/locales/ko-KR/common.json +24 -0
  346. package/locales/ko-KR/components.json +6 -0
  347. package/locales/ko-KR/discover.json +47 -0
  348. package/locales/ko-KR/error.json +2 -2
  349. package/locales/ko-KR/file.json +88 -5
  350. package/locales/ko-KR/hotkey.json +4 -0
  351. package/locales/ko-KR/image.json +8 -0
  352. package/locales/ko-KR/labs.json +4 -0
  353. package/locales/ko-KR/marketAuth.json +55 -0
  354. package/locales/ko-KR/modelProvider.json +16 -2
  355. package/locales/ko-KR/models.json +439 -142
  356. package/locales/ko-KR/oauth.json +1 -0
  357. package/locales/ko-KR/plugin.json +36 -16
  358. package/locales/ko-KR/providers.json +6 -0
  359. package/locales/ko-KR/setting.json +125 -1
  360. package/locales/ko-KR/tool.json +28 -1
  361. package/locales/ko-KR/topic.json +1 -0
  362. package/locales/nl-NL/auth.json +173 -3
  363. package/locales/nl-NL/authError.json +40 -0
  364. package/locales/nl-NL/chat.json +42 -0
  365. package/locales/nl-NL/common.json +24 -0
  366. package/locales/nl-NL/components.json +6 -0
  367. package/locales/nl-NL/discover.json +47 -0
  368. package/locales/nl-NL/error.json +2 -2
  369. package/locales/nl-NL/file.json +88 -5
  370. package/locales/nl-NL/hotkey.json +4 -0
  371. package/locales/nl-NL/image.json +8 -0
  372. package/locales/nl-NL/labs.json +4 -0
  373. package/locales/nl-NL/marketAuth.json +55 -0
  374. package/locales/nl-NL/modelProvider.json +16 -2
  375. package/locales/nl-NL/models.json +439 -142
  376. package/locales/nl-NL/oauth.json +1 -0
  377. package/locales/nl-NL/plugin.json +36 -16
  378. package/locales/nl-NL/providers.json +6 -0
  379. package/locales/nl-NL/setting.json +125 -1
  380. package/locales/nl-NL/tool.json +28 -1
  381. package/locales/nl-NL/topic.json +1 -0
  382. package/locales/pl-PL/auth.json +173 -3
  383. package/locales/pl-PL/authError.json +40 -0
  384. package/locales/pl-PL/chat.json +42 -0
  385. package/locales/pl-PL/common.json +24 -0
  386. package/locales/pl-PL/components.json +6 -0
  387. package/locales/pl-PL/discover.json +47 -0
  388. package/locales/pl-PL/error.json +2 -2
  389. package/locales/pl-PL/file.json +88 -5
  390. package/locales/pl-PL/hotkey.json +4 -0
  391. package/locales/pl-PL/image.json +8 -0
  392. package/locales/pl-PL/labs.json +4 -0
  393. package/locales/pl-PL/marketAuth.json +55 -0
  394. package/locales/pl-PL/modelProvider.json +16 -2
  395. package/locales/pl-PL/models.json +439 -142
  396. package/locales/pl-PL/oauth.json +1 -0
  397. package/locales/pl-PL/plugin.json +36 -16
  398. package/locales/pl-PL/providers.json +6 -0
  399. package/locales/pl-PL/setting.json +125 -1
  400. package/locales/pl-PL/tool.json +28 -1
  401. package/locales/pl-PL/topic.json +1 -0
  402. package/locales/pt-BR/auth.json +173 -3
  403. package/locales/pt-BR/authError.json +40 -0
  404. package/locales/pt-BR/chat.json +42 -0
  405. package/locales/pt-BR/common.json +24 -0
  406. package/locales/pt-BR/components.json +6 -0
  407. package/locales/pt-BR/discover.json +47 -0
  408. package/locales/pt-BR/error.json +2 -2
  409. package/locales/pt-BR/file.json +88 -5
  410. package/locales/pt-BR/hotkey.json +4 -0
  411. package/locales/pt-BR/image.json +8 -0
  412. package/locales/pt-BR/labs.json +4 -0
  413. package/locales/pt-BR/marketAuth.json +55 -0
  414. package/locales/pt-BR/modelProvider.json +16 -2
  415. package/locales/pt-BR/models.json +439 -142
  416. package/locales/pt-BR/oauth.json +1 -0
  417. package/locales/pt-BR/plugin.json +36 -16
  418. package/locales/pt-BR/providers.json +6 -0
  419. package/locales/pt-BR/setting.json +125 -1
  420. package/locales/pt-BR/tool.json +28 -1
  421. package/locales/pt-BR/topic.json +1 -0
  422. package/locales/ru-RU/auth.json +173 -3
  423. package/locales/ru-RU/authError.json +40 -0
  424. package/locales/ru-RU/chat.json +42 -0
  425. package/locales/ru-RU/common.json +24 -0
  426. package/locales/ru-RU/components.json +6 -0
  427. package/locales/ru-RU/discover.json +47 -0
  428. package/locales/ru-RU/error.json +2 -2
  429. package/locales/ru-RU/file.json +88 -5
  430. package/locales/ru-RU/hotkey.json +4 -0
  431. package/locales/ru-RU/image.json +8 -0
  432. package/locales/ru-RU/labs.json +4 -0
  433. package/locales/ru-RU/marketAuth.json +55 -0
  434. package/locales/ru-RU/modelProvider.json +16 -2
  435. package/locales/ru-RU/models.json +439 -142
  436. package/locales/ru-RU/oauth.json +1 -0
  437. package/locales/ru-RU/plugin.json +36 -16
  438. package/locales/ru-RU/providers.json +6 -0
  439. package/locales/ru-RU/setting.json +125 -1
  440. package/locales/ru-RU/tool.json +28 -1
  441. package/locales/ru-RU/topic.json +1 -0
  442. package/locales/tr-TR/auth.json +173 -3
  443. package/locales/tr-TR/authError.json +40 -0
  444. package/locales/tr-TR/chat.json +46 -4
  445. package/locales/tr-TR/common.json +32 -8
  446. package/locales/tr-TR/components.json +6 -0
  447. package/locales/tr-TR/discover.json +47 -0
  448. package/locales/tr-TR/error.json +2 -2
  449. package/locales/tr-TR/file.json +88 -5
  450. package/locales/tr-TR/hotkey.json +4 -0
  451. package/locales/tr-TR/image.json +8 -0
  452. package/locales/tr-TR/labs.json +4 -0
  453. package/locales/tr-TR/marketAuth.json +55 -0
  454. package/locales/tr-TR/modelProvider.json +16 -2
  455. package/locales/tr-TR/models.json +439 -142
  456. package/locales/tr-TR/oauth.json +1 -0
  457. package/locales/tr-TR/plugin.json +36 -16
  458. package/locales/tr-TR/providers.json +6 -0
  459. package/locales/tr-TR/setting.json +125 -1
  460. package/locales/tr-TR/tool.json +28 -1
  461. package/locales/tr-TR/topic.json +1 -0
  462. package/locales/vi-VN/auth.json +173 -3
  463. package/locales/vi-VN/authError.json +40 -0
  464. package/locales/vi-VN/chat.json +42 -0
  465. package/locales/vi-VN/common.json +24 -0
  466. package/locales/vi-VN/components.json +6 -0
  467. package/locales/vi-VN/discover.json +47 -0
  468. package/locales/vi-VN/error.json +2 -2
  469. package/locales/vi-VN/file.json +88 -5
  470. package/locales/vi-VN/hotkey.json +4 -0
  471. package/locales/vi-VN/image.json +8 -0
  472. package/locales/vi-VN/labs.json +4 -0
  473. package/locales/vi-VN/marketAuth.json +55 -0
  474. package/locales/vi-VN/modelProvider.json +16 -2
  475. package/locales/vi-VN/models.json +439 -142
  476. package/locales/vi-VN/oauth.json +1 -0
  477. package/locales/vi-VN/plugin.json +36 -16
  478. package/locales/vi-VN/providers.json +6 -0
  479. package/locales/vi-VN/setting.json +125 -1
  480. package/locales/vi-VN/tool.json +28 -1
  481. package/locales/vi-VN/topic.json +1 -0
  482. package/locales/zh-CN/auth.json +175 -5
  483. package/locales/zh-CN/authError.json +40 -0
  484. package/locales/zh-CN/chat.json +42 -0
  485. package/locales/zh-CN/common.json +24 -0
  486. package/locales/zh-CN/components.json +6 -0
  487. package/locales/zh-CN/discover.json +47 -0
  488. package/locales/zh-CN/error.json +2 -2
  489. package/locales/zh-CN/file.json +88 -5
  490. package/locales/zh-CN/hotkey.json +4 -0
  491. package/locales/zh-CN/image.json +8 -0
  492. package/locales/zh-CN/labs.json +4 -0
  493. package/locales/zh-CN/marketAuth.json +55 -0
  494. package/locales/zh-CN/modelProvider.json +16 -2
  495. package/locales/zh-CN/models.json +439 -142
  496. package/locales/zh-CN/oauth.json +1 -0
  497. package/locales/zh-CN/plugin.json +36 -16
  498. package/locales/zh-CN/providers.json +6 -0
  499. package/locales/zh-CN/setting.json +125 -1
  500. package/locales/zh-CN/tool.json +28 -1
  501. package/locales/zh-CN/topic.json +1 -0
  502. package/locales/zh-TW/auth.json +173 -3
  503. package/locales/zh-TW/authError.json +40 -0
  504. package/locales/zh-TW/chat.json +42 -0
  505. package/locales/zh-TW/common.json +24 -0
  506. package/locales/zh-TW/components.json +6 -0
  507. package/locales/zh-TW/discover.json +47 -0
  508. package/locales/zh-TW/error.json +2 -2
  509. package/locales/zh-TW/file.json +88 -5
  510. package/locales/zh-TW/hotkey.json +4 -0
  511. package/locales/zh-TW/image.json +8 -0
  512. package/locales/zh-TW/labs.json +4 -0
  513. package/locales/zh-TW/marketAuth.json +55 -0
  514. package/locales/zh-TW/modelProvider.json +16 -2
  515. package/locales/zh-TW/models.json +439 -142
  516. package/locales/zh-TW/oauth.json +1 -0
  517. package/locales/zh-TW/plugin.json +36 -16
  518. package/locales/zh-TW/providers.json +6 -0
  519. package/locales/zh-TW/setting.json +125 -1
  520. package/locales/zh-TW/tool.json +28 -1
  521. package/locales/zh-TW/topic.json +1 -0
  522. package/next.config.ts +24 -14
  523. package/package.json +110 -88
  524. package/packages/agent-runtime/package.json +1 -1
  525. package/packages/agent-runtime/src/core/InterventionChecker.ts +88 -14
  526. package/packages/agent-runtime/src/core/__tests__/InterventionChecker.test.ts +504 -87
  527. package/packages/agent-runtime/src/core/__tests__/runtime.test.ts +141 -87
  528. package/packages/agent-runtime/src/core/defaultSecurityBlacklist.ts +335 -0
  529. package/packages/agent-runtime/src/core/index.ts +1 -0
  530. package/packages/agent-runtime/src/core/runtime.ts +104 -20
  531. package/packages/agent-runtime/src/types/event.ts +4 -1
  532. package/packages/agent-runtime/src/types/generalAgent.ts +72 -0
  533. package/packages/agent-runtime/src/types/index.ts +1 -0
  534. package/packages/agent-runtime/src/types/instruction.ts +50 -7
  535. package/packages/agent-runtime/src/types/runtime.ts +7 -0
  536. package/packages/agent-runtime/src/types/state.ts +18 -1
  537. package/packages/const/package.json +1 -1
  538. package/packages/const/src/auth.ts +6 -2
  539. package/packages/const/src/hotkeys.ts +9 -3
  540. package/packages/const/src/index.ts +1 -0
  541. package/packages/const/src/klavis.ts +163 -0
  542. package/packages/const/src/settings/common.ts +1 -0
  543. package/packages/const/src/settings/tool.ts +1 -5
  544. package/packages/const/src/url.ts +1 -0
  545. package/packages/const/src/user.ts +4 -2
  546. package/packages/const/src/utils/merge.ts +3 -3
  547. package/packages/const/src/version.ts +0 -5
  548. package/packages/context-engine/package.json +2 -2
  549. package/packages/context-engine/src/base/BaseProcessor.ts +13 -13
  550. package/packages/context-engine/src/base/BaseProvider.ts +2 -2
  551. package/packages/context-engine/src/base/__tests__/BaseProcessor.test.ts +5 -5
  552. package/packages/context-engine/src/index.ts +1 -1
  553. package/packages/context-engine/src/processors/GroupMessageFlatten.ts +8 -6
  554. package/packages/context-engine/src/processors/MessageCleanup.ts +7 -6
  555. package/packages/context-engine/src/processors/MessageContent.ts +115 -21
  556. package/packages/context-engine/src/processors/PlaceholderVariables.ts +4 -4
  557. package/packages/context-engine/src/processors/ToolCall.ts +19 -18
  558. package/packages/context-engine/src/processors/ToolMessageReorder.ts +10 -10
  559. package/packages/context-engine/src/processors/__tests__/GroupMessageFlatten.test.ts +12 -12
  560. package/packages/context-engine/src/processors/__tests__/MessageCleanup.test.ts +28 -0
  561. package/packages/context-engine/src/processors/__tests__/MessageContent.test.ts +239 -0
  562. package/packages/context-engine/src/processors/__tests__/ToolCall.test.ts +59 -0
  563. package/packages/context-engine/src/providers/HistorySummary.ts +6 -6
  564. package/packages/context-engine/src/providers/KnowledgeInjector.ts +78 -0
  565. package/packages/context-engine/src/providers/ToolSystemRole.ts +7 -7
  566. package/packages/context-engine/src/providers/index.ts +2 -0
  567. package/packages/context-engine/src/tools/ToolNameResolver.ts +1 -0
  568. package/packages/context-engine/src/tools/ToolsEngine.ts +8 -8
  569. package/packages/context-engine/src/tools/__tests__/ToolNameResolver.test.ts +57 -0
  570. package/packages/context-engine/src/types.ts +36 -35
  571. package/packages/conversation-flow/package.json +13 -0
  572. package/packages/conversation-flow/src/__tests__/fixtures/index.ts +44 -0
  573. package/packages/conversation-flow/src/__tests__/fixtures/inputs/assistant-chain-with-followup.json +56 -0
  574. package/packages/conversation-flow/src/__tests__/fixtures/inputs/assistantGroup/assistant-with-tools.json +145 -0
  575. package/packages/conversation-flow/src/__tests__/fixtures/inputs/assistantGroup/index.ts +8 -0
  576. package/packages/conversation-flow/src/__tests__/fixtures/inputs/assistantGroup/tools-with-branches.json +107 -0
  577. package/packages/conversation-flow/src/__tests__/fixtures/inputs/branch/active-index-1.json +131 -0
  578. package/packages/conversation-flow/src/__tests__/fixtures/inputs/branch/assistant-branch.json +96 -0
  579. package/packages/conversation-flow/src/__tests__/fixtures/inputs/branch/assistant-group-branches.json +249 -0
  580. package/packages/conversation-flow/src/__tests__/fixtures/inputs/branch/assistant-user-branch.json +123 -0
  581. package/packages/conversation-flow/src/__tests__/fixtures/inputs/branch/conversation.json +128 -0
  582. package/packages/conversation-flow/src/__tests__/fixtures/inputs/branch/index.ts +18 -0
  583. package/packages/conversation-flow/src/__tests__/fixtures/inputs/branch/multi-assistant-group.json +260 -0
  584. package/packages/conversation-flow/src/__tests__/fixtures/inputs/branch/nested.json +179 -0
  585. package/packages/conversation-flow/src/__tests__/fixtures/inputs/compare/index.ts +8 -0
  586. package/packages/conversation-flow/src/__tests__/fixtures/inputs/compare/simple.json +85 -0
  587. package/packages/conversation-flow/src/__tests__/fixtures/inputs/compare/with-tools.json +169 -0
  588. package/packages/conversation-flow/src/__tests__/fixtures/inputs/index.ts +12 -0
  589. package/packages/conversation-flow/src/__tests__/fixtures/inputs/linear-conversation.json +59 -0
  590. package/packages/conversation-flow/src/__tests__/fixtures/outputs/assistant-chain-with-followup.json +135 -0
  591. package/packages/conversation-flow/src/__tests__/fixtures/outputs/assistantGroup/assistant-with-tools.json +340 -0
  592. package/packages/conversation-flow/src/__tests__/fixtures/outputs/assistantGroup/index.ts +8 -0
  593. package/packages/conversation-flow/src/__tests__/fixtures/outputs/assistantGroup/tools-with-branches.json +261 -0
  594. package/packages/conversation-flow/src/__tests__/fixtures/outputs/branch/active-index-1.json +246 -0
  595. package/packages/conversation-flow/src/__tests__/fixtures/outputs/branch/assistant-branch.json +208 -0
  596. package/packages/conversation-flow/src/__tests__/fixtures/outputs/branch/assistant-group-branches.json +481 -0
  597. package/packages/conversation-flow/src/__tests__/fixtures/outputs/branch/assistant-user-branch.json +254 -0
  598. package/packages/conversation-flow/src/__tests__/fixtures/outputs/branch/conversation.json +264 -0
  599. package/packages/conversation-flow/src/__tests__/fixtures/outputs/branch/index.ts +18 -0
  600. package/packages/conversation-flow/src/__tests__/fixtures/outputs/branch/multi-assistant-group.json +407 -0
  601. package/packages/conversation-flow/src/__tests__/fixtures/outputs/branch/nested.json +405 -0
  602. package/packages/conversation-flow/src/__tests__/fixtures/outputs/compare/index.ts +8 -0
  603. package/packages/conversation-flow/src/__tests__/fixtures/outputs/compare/simple.json +224 -0
  604. package/packages/conversation-flow/src/__tests__/fixtures/outputs/compare/with-tools.json +418 -0
  605. package/packages/conversation-flow/src/__tests__/fixtures/outputs/linear-conversation.json +138 -0
  606. package/packages/conversation-flow/src/__tests__/indexing.test.ts +513 -0
  607. package/packages/conversation-flow/src/__tests__/parse.test.ts +132 -0
  608. package/packages/conversation-flow/src/__tests__/structuring.test.ts +600 -0
  609. package/packages/conversation-flow/src/index.ts +17 -0
  610. package/packages/conversation-flow/src/indexing.ts +58 -0
  611. package/packages/conversation-flow/src/parse.ts +97 -0
  612. package/packages/conversation-flow/src/structuring.ts +38 -0
  613. package/packages/conversation-flow/src/transformation/BranchResolver.ts +76 -0
  614. package/packages/conversation-flow/src/transformation/ContextTreeBuilder.ts +297 -0
  615. package/packages/conversation-flow/src/transformation/FlatListBuilder.ts +581 -0
  616. package/packages/conversation-flow/src/transformation/MessageCollector.ts +166 -0
  617. package/packages/conversation-flow/src/transformation/MessageTransformer.ts +177 -0
  618. package/packages/conversation-flow/src/transformation/__tests__/BranchResolver.test.ts +214 -0
  619. package/packages/conversation-flow/src/transformation/__tests__/ContextTreeBuilder.test.ts +449 -0
  620. package/packages/conversation-flow/src/transformation/__tests__/FlatListBuilder.test.ts +558 -0
  621. package/packages/conversation-flow/src/transformation/__tests__/MessageCollector.test.ts +220 -0
  622. package/packages/conversation-flow/src/transformation/__tests__/MessageTransformer.test.ts +286 -0
  623. package/packages/conversation-flow/src/transformation/index.ts +78 -0
  624. package/packages/conversation-flow/src/types/contextTree.ts +65 -0
  625. package/packages/conversation-flow/src/types/flatMessageList.ts +54 -0
  626. package/packages/conversation-flow/src/types/index.ts +25 -0
  627. package/packages/conversation-flow/src/types/shared.ts +63 -0
  628. package/packages/conversation-flow/vitest.config.mts +10 -0
  629. package/packages/database/migrations/0042_improve_agent_index.sql +1 -0
  630. package/packages/database/migrations/0043_add_ai_model_settings.sql +1 -0
  631. package/packages/database/migrations/0044_high_toxin.sql +1 -0
  632. package/packages/database/migrations/0045_add_tool_intervention.sql +1 -0
  633. package/packages/database/migrations/0046_add_parent_id.sql +15 -0
  634. package/packages/database/migrations/0047_add_slug_document.sql +2 -0
  635. package/packages/database/migrations/0048_add_editor_data.sql +1 -0
  636. package/packages/database/migrations/0049_better_auth.sql +49 -0
  637. package/packages/database/migrations/0050_thread_and_user_id.sql +18 -0
  638. package/packages/database/migrations/0051_add_market_into_user_settings.sql +1 -0
  639. package/packages/database/migrations/0052_topic_and_messages.sql +9 -0
  640. package/packages/database/migrations/0053_better_auth_admin.sql +5 -0
  641. package/packages/database/migrations/0054_better_auth_two_factor.sql +49 -0
  642. package/packages/database/migrations/0055_rename_phone_number_to_phone.sql +4 -0
  643. package/packages/database/migrations/0056_update_agent_slug_index.sql +2 -0
  644. package/packages/database/migrations/0057_add_topic_user_memory_extract_status.sql +1 -0
  645. package/packages/database/migrations/0058_add_source_into_user_plugins.sql +1 -0
  646. package/packages/database/migrations/0059_add_normalized_email_indexes.sql +4 -0
  647. package/packages/database/migrations/0060_add_user_last_active_at.sql +1 -0
  648. package/packages/database/migrations/0061_add_document_and_memory_index.sql +19 -0
  649. package/packages/database/migrations/0062_add_more_index.sql +15 -0
  650. package/packages/database/migrations/meta/0039_snapshot.json +1 -1
  651. package/packages/database/migrations/meta/0042_snapshot.json +7800 -0
  652. package/packages/database/migrations/meta/0043_snapshot.json +8419 -0
  653. package/packages/database/migrations/meta/0044_snapshot.json +7813 -0
  654. package/packages/database/migrations/meta/0045_snapshot.json +8431 -0
  655. package/packages/database/migrations/meta/0046_snapshot.json +7879 -0
  656. package/packages/database/migrations/meta/0047_snapshot.json +7907 -0
  657. package/packages/database/migrations/meta/0048_snapshot.json +7913 -0
  658. package/packages/database/migrations/meta/0049_snapshot.json +8151 -0
  659. package/packages/database/migrations/meta/0050_snapshot.json +8792 -0
  660. package/packages/database/migrations/meta/0051_snapshot.json +8168 -0
  661. package/packages/database/migrations/meta/0052_snapshot.json +8850 -0
  662. package/packages/database/migrations/meta/0053_snapshot.json +8247 -0
  663. package/packages/database/migrations/meta/0054_snapshot.json +8402 -0
  664. package/packages/database/migrations/meta/0055_snapshot.json +8396 -0
  665. package/packages/database/migrations/meta/0056_snapshot.json +8411 -0
  666. package/packages/database/migrations/meta/0057_snapshot.json +8426 -0
  667. package/packages/database/migrations/meta/0058_snapshot.json +8432 -0
  668. package/packages/database/migrations/meta/0059_snapshot.json +8474 -0
  669. package/packages/database/migrations/meta/0060_snapshot.json +8481 -0
  670. package/packages/database/migrations/meta/0061_snapshot.json +8727 -0
  671. package/packages/database/migrations/meta/0062_snapshot.json +8960 -0
  672. package/packages/database/migrations/meta/_journal.json +147 -0
  673. package/packages/database/package.json +3 -3
  674. package/packages/database/src/client/db.test.ts +1 -2
  675. package/packages/database/src/client/db.ts +39 -39
  676. package/packages/database/src/client/pglite.ts +1 -1
  677. package/packages/database/src/core/db-adaptor.ts +4 -4
  678. package/packages/database/src/core/electron.ts +43 -43
  679. package/packages/database/src/core/migrations.json +248 -0
  680. package/packages/database/src/core/web-server.ts +2 -1
  681. package/packages/database/src/index.ts +2 -0
  682. package/packages/database/src/models/__tests__/agent.test.ts +274 -6
  683. package/packages/database/src/models/__tests__/apiKey.test.ts +444 -0
  684. package/packages/database/src/models/__tests__/asyncTask.test.ts +1 -2
  685. package/packages/database/src/models/__tests__/chunk.test.ts +38 -0
  686. package/packages/database/src/models/__tests__/document.test.ts +316 -0
  687. package/packages/database/src/models/__tests__/embedding.test.ts +294 -0
  688. package/packages/database/src/models/__tests__/file.test.ts +95 -31
  689. package/packages/database/src/models/__tests__/generation.test.ts +1 -2
  690. package/packages/database/src/models/__tests__/generationBatch.test.ts +1 -2
  691. package/packages/database/src/models/__tests__/messages/message.create.test.ts +549 -0
  692. package/packages/database/src/models/__tests__/messages/message.delete.test.ts +481 -0
  693. package/packages/database/src/models/__tests__/messages/message.query.test.ts +1187 -0
  694. package/packages/database/src/models/__tests__/messages/message.stats.test.ts +633 -0
  695. package/packages/database/src/models/__tests__/messages/message.update.test.ts +757 -0
  696. package/packages/database/src/models/__tests__/oauthHandoff.test.ts +261 -0
  697. package/packages/database/src/models/__tests__/session.test.ts +1 -2
  698. package/packages/database/src/models/__tests__/thread.test.ts +327 -0
  699. package/packages/database/src/models/__tests__/topic.test.ts +12 -6
  700. package/packages/database/src/models/__tests__/user.test.ts +372 -0
  701. package/packages/database/src/models/__tests__/userMemories.test.ts +1386 -0
  702. package/packages/database/src/models/agent.ts +38 -14
  703. package/packages/database/src/models/aiModel.ts +1 -0
  704. package/packages/database/src/models/aiProvider.ts +7 -7
  705. package/packages/database/src/models/apiKey.ts +2 -2
  706. package/packages/database/src/models/chunk.ts +4 -2
  707. package/packages/database/src/models/document.ts +86 -13
  708. package/packages/database/src/models/drizzleMigration.ts +1 -1
  709. package/packages/database/src/models/file.ts +67 -42
  710. package/packages/database/src/models/message.ts +21 -93
  711. package/packages/database/src/models/oauthHandoff.ts +19 -19
  712. package/packages/database/src/models/plugin.ts +1 -1
  713. package/packages/database/src/models/session.ts +74 -21
  714. package/packages/database/src/models/topic.ts +10 -10
  715. package/packages/database/src/models/user.ts +50 -14
  716. package/packages/database/src/models/userMemory.ts +996 -0
  717. package/packages/database/src/repositories/aiInfra/index.test.ts +205 -7
  718. package/packages/database/src/repositories/aiInfra/index.ts +30 -29
  719. package/packages/database/src/repositories/dataExporter/index.test.ts +1 -1
  720. package/packages/database/src/repositories/dataExporter/index.ts +13 -13
  721. package/packages/database/src/repositories/dataImporter/__tests__/index.test.ts +1 -2
  722. package/packages/database/src/repositories/dataImporter/deprecated/__tests__/index.test.ts +1 -1
  723. package/packages/database/src/repositories/dataImporter/deprecated/index.ts +6 -6
  724. package/packages/database/src/repositories/dataImporter/index.ts +70 -71
  725. package/packages/database/src/repositories/knowledge/index.test.ts +312 -0
  726. package/packages/database/src/repositories/knowledge/index.ts +417 -0
  727. package/packages/database/src/repositories/tableViewer/index.test.ts +3 -3
  728. package/packages/database/src/repositories/tableViewer/index.ts +21 -22
  729. package/packages/database/src/schemas/agent.ts +10 -6
  730. package/packages/database/src/schemas/aiInfra.ts +3 -2
  731. package/packages/database/src/schemas/apiKey.ts +17 -13
  732. package/packages/database/src/schemas/asyncTask.ts +16 -12
  733. package/packages/database/src/schemas/betterAuth.ts +120 -0
  734. package/packages/database/src/schemas/chatGroup.ts +5 -1
  735. package/packages/database/src/schemas/file.ts +107 -23
  736. package/packages/database/src/schemas/generation.ts +93 -75
  737. package/packages/database/src/schemas/index.ts +1 -1
  738. package/packages/database/src/schemas/message.ts +15 -14
  739. package/packages/database/src/schemas/nextauth.ts +3 -3
  740. package/packages/database/src/schemas/oidc.ts +36 -36
  741. package/packages/database/src/schemas/rag.ts +37 -2
  742. package/packages/database/src/schemas/ragEvals.ts +1 -2
  743. package/packages/database/src/schemas/relations.ts +2 -3
  744. package/packages/database/src/schemas/topic.ts +21 -7
  745. package/packages/database/src/schemas/user.ts +54 -22
  746. package/packages/database/src/schemas/userMemories.ts +39 -5
  747. package/packages/database/src/server/models/__tests__/adapter.test.ts +97 -69
  748. package/packages/database/src/server/models/__tests__/user.test.ts +2 -5
  749. package/packages/database/src/server/models/ragEval/evaluation.ts +1 -1
  750. package/packages/database/src/utils/genWhere.test.ts +243 -0
  751. package/packages/electron-client-ipc/package.json +1 -1
  752. package/packages/electron-client-ipc/src/events/index.ts +6 -1
  753. package/packages/electron-client-ipc/src/events/remoteServer.ts +8 -0
  754. package/packages/electron-client-ipc/src/events/system.ts +1 -3
  755. package/packages/electron-client-ipc/src/index.ts +1 -1
  756. package/packages/electron-client-ipc/src/ipc.test.ts +62 -0
  757. package/packages/electron-client-ipc/src/ipc.ts +63 -0
  758. package/packages/electron-client-ipc/src/streamInvoke.ts +7 -1
  759. package/packages/electron-client-ipc/src/types/dispatch.ts +1 -10
  760. package/packages/electron-client-ipc/src/types/localSystem.ts +30 -2
  761. package/packages/electron-client-ipc/src/types/system.ts +1 -0
  762. package/packages/electron-client-ipc/vitest.config.mts +10 -0
  763. package/packages/electron-server-ipc/package.json +2 -2
  764. package/packages/electron-server-ipc/src/ipcClient.ts +32 -33
  765. package/packages/electron-server-ipc/src/ipcServer.ts +16 -17
  766. package/packages/electron-server-ipc/src/types/index.ts +1 -5
  767. package/packages/fetch-sse/package.json +29 -0
  768. package/packages/fetch-sse/src/__tests__/fetchSSE.test.ts +708 -0
  769. package/packages/fetch-sse/src/__tests__/headers.test.ts +367 -0
  770. package/packages/fetch-sse/src/__tests__/parseError.test.ts +91 -0
  771. package/packages/fetch-sse/src/fetchSSE.ts +536 -0
  772. package/packages/fetch-sse/src/headers.ts +27 -0
  773. package/packages/fetch-sse/src/parseError.ts +24 -0
  774. package/packages/fetch-sse/src/request.ts +28 -0
  775. package/packages/file-loaders/package.json +3 -3
  776. package/packages/file-loaders/src/loaders/docx/index.ts +1 -1
  777. package/packages/file-loaders/src/loaders/text/index.ts +7 -7
  778. package/packages/file-loaders/src/types.ts +47 -47
  779. package/packages/memory-extract/package.json +4 -4
  780. package/packages/model-bank/package.json +2 -0
  781. package/packages/model-bank/src/aiModels/aihubmix.ts +318 -34
  782. package/packages/model-bank/src/aiModels/anthropic.ts +37 -2
  783. package/packages/model-bank/src/aiModels/bedrock.ts +55 -12
  784. package/packages/model-bank/src/aiModels/cerebras.ts +22 -48
  785. package/packages/model-bank/src/aiModels/cometapi.ts +8 -8
  786. package/packages/model-bank/src/aiModels/deepseek.ts +2 -2
  787. package/packages/model-bank/src/aiModels/fal.ts +2 -2
  788. package/packages/model-bank/src/aiModels/google.ts +155 -93
  789. package/packages/model-bank/src/aiModels/index.ts +6 -0
  790. package/packages/model-bank/src/aiModels/infiniai.ts +66 -21
  791. package/packages/model-bank/src/aiModels/minimax.ts +23 -11
  792. package/packages/model-bank/src/aiModels/mistral.ts +2 -1
  793. package/packages/model-bank/src/aiModels/moonshot.ts +49 -24
  794. package/packages/model-bank/src/aiModels/nebius.ts +1 -1
  795. package/packages/model-bank/src/aiModels/newapi.ts +3 -3
  796. package/packages/model-bank/src/aiModels/novita.ts +3 -2
  797. package/packages/model-bank/src/aiModels/nvidia.ts +14 -0
  798. package/packages/model-bank/src/aiModels/ollamacloud.ts +49 -4
  799. package/packages/model-bank/src/aiModels/openai.ts +182 -65
  800. package/packages/model-bank/src/aiModels/openrouter.ts +29 -1
  801. package/packages/model-bank/src/aiModels/qiniu.ts +126 -0
  802. package/packages/model-bank/src/aiModels/qwen.ts +211 -15
  803. package/packages/model-bank/src/aiModels/replicate.ts +90 -0
  804. package/packages/model-bank/src/aiModels/siliconcloud.ts +66 -61
  805. package/packages/model-bank/src/aiModels/spark.ts +17 -16
  806. package/packages/model-bank/src/aiModels/stepfun.ts +1 -1
  807. package/packages/model-bank/src/aiModels/vercelaigateway.ts +1 -18
  808. package/packages/model-bank/src/aiModels/vertexai.ts +92 -1
  809. package/packages/model-bank/src/aiModels/volcengine.ts +57 -4
  810. package/packages/model-bank/src/aiModels/wenxin.ts +1396 -291
  811. package/packages/model-bank/src/aiModels/xai.ts +85 -6
  812. package/packages/model-bank/src/aiModels/zenmux.ts +1529 -0
  813. package/packages/model-bank/src/aiModels/zhipu.ts +1 -1
  814. package/packages/model-bank/src/const/modelProvider.ts +2 -0
  815. package/packages/model-bank/src/standard-parameters/index.ts +23 -14
  816. package/packages/model-bank/src/types/aiModel.ts +29 -10
  817. package/packages/model-runtime/docs/test-coverage.md +5 -5
  818. package/packages/model-runtime/package.json +6 -4
  819. package/packages/model-runtime/src/const/models.ts +64 -24
  820. package/packages/model-runtime/src/core/ModelRuntime.ts +11 -1
  821. package/packages/model-runtime/src/core/RouterRuntime/baseRuntimeMap.ts +2 -0
  822. package/packages/model-runtime/src/core/RouterRuntime/createRuntime.ts +44 -20
  823. package/packages/model-runtime/src/core/contextBuilders/anthropic.test.ts +17 -11
  824. package/packages/model-runtime/src/core/contextBuilders/anthropic.ts +15 -1
  825. package/packages/model-runtime/src/core/contextBuilders/google.test.ts +548 -15
  826. package/packages/model-runtime/src/core/contextBuilders/google.ts +57 -9
  827. package/packages/model-runtime/src/core/contextBuilders/openai.test.ts +93 -7
  828. package/packages/model-runtime/src/core/contextBuilders/openai.ts +53 -16
  829. package/packages/model-runtime/src/core/openaiCompatibleFactory/createImage.test.ts +1 -1
  830. package/packages/model-runtime/src/core/openaiCompatibleFactory/createImage.ts +1 -1
  831. package/packages/model-runtime/src/core/openaiCompatibleFactory/index.test.ts +113 -72
  832. package/packages/model-runtime/src/core/openaiCompatibleFactory/index.ts +203 -111
  833. package/packages/model-runtime/src/core/parameterResolver.test.ts +34 -50
  834. package/packages/model-runtime/src/core/parameterResolver.ts +0 -38
  835. package/packages/model-runtime/src/core/streams/bedrock/claude.ts +17 -3
  836. package/packages/model-runtime/src/core/streams/google/google-ai.test.ts +1600 -807
  837. package/packages/model-runtime/src/core/streams/google/index.ts +139 -10
  838. package/packages/model-runtime/src/core/streams/ollama.test.ts +67 -0
  839. package/packages/model-runtime/src/core/streams/ollama.ts +5 -5
  840. package/packages/model-runtime/src/core/streams/openai/__snapshots__/responsesStream.test.ts.snap +1007 -0
  841. package/packages/model-runtime/src/core/streams/openai/openai.test.ts +310 -0
  842. package/packages/model-runtime/src/core/streams/openai/openai.ts +67 -0
  843. package/packages/model-runtime/src/core/streams/openai/responsesStream.test.ts +1 -1
  844. package/packages/model-runtime/src/core/streams/protocol.ts +20 -0
  845. package/packages/model-runtime/src/core/streams/vertex-ai.ts +1 -2
  846. package/packages/model-runtime/src/core/usageConverters/index.ts +1 -0
  847. package/packages/model-runtime/src/core/usageConverters/utils/resolveImageSinglePrice.ts +34 -0
  848. package/packages/model-runtime/src/helpers/mergeChatMethodOptions.ts +2 -1
  849. package/packages/model-runtime/src/index.ts +2 -1
  850. package/packages/model-runtime/src/providers/aihubmix/index.test.ts +1 -1
  851. package/packages/model-runtime/src/providers/aihubmix/index.ts +5 -0
  852. package/packages/model-runtime/src/providers/anthropic/generateObject.test.ts +1 -1
  853. package/packages/model-runtime/src/providers/anthropic/index.test.ts +1 -1
  854. package/packages/model-runtime/src/providers/anthropic/index.ts +21 -70
  855. package/packages/model-runtime/src/providers/anthropic/resolveCacheTTL.ts +44 -0
  856. package/packages/model-runtime/src/providers/anthropic/resolveMaxTokens.ts +35 -0
  857. package/packages/model-runtime/src/providers/azureOpenai/index.ts +3 -1
  858. package/packages/model-runtime/src/providers/azureai/index.ts +37 -3
  859. package/packages/model-runtime/src/providers/baichuan/index.test.ts +1 -1
  860. package/packages/model-runtime/src/providers/bedrock/index.test.ts +133 -19
  861. package/packages/model-runtime/src/providers/bedrock/index.ts +89 -16
  862. package/packages/model-runtime/src/providers/bfl/createImage.test.ts +4 -4
  863. package/packages/model-runtime/src/providers/bfl/createImage.ts +1 -1
  864. package/packages/model-runtime/src/providers/cloudflare/index.test.ts +1 -1
  865. package/packages/model-runtime/src/providers/cloudflare/index.ts +3 -1
  866. package/packages/model-runtime/src/providers/cohere/index.test.ts +1 -1
  867. package/packages/model-runtime/src/providers/comfyui/__tests__/index.test.ts +1 -2
  868. package/packages/model-runtime/src/providers/comfyui/auth/AuthManager.ts +1 -2
  869. package/packages/model-runtime/src/providers/comfyui/index.ts +2 -7
  870. package/packages/model-runtime/src/providers/deepseek/index.test.ts +86 -0
  871. package/packages/model-runtime/src/providers/deepseek/index.ts +24 -0
  872. package/packages/model-runtime/src/providers/google/createImage.test.ts +8 -7
  873. package/packages/model-runtime/src/providers/google/createImage.ts +14 -9
  874. package/packages/model-runtime/src/providers/google/generateObject.test.ts +1 -1
  875. package/packages/model-runtime/src/providers/google/index.test.ts +98 -5
  876. package/packages/model-runtime/src/providers/google/index.ts +36 -11
  877. package/packages/model-runtime/src/providers/groq/index.test.ts +1 -1
  878. package/packages/model-runtime/src/providers/hunyuan/index.test.ts +1 -1
  879. package/packages/model-runtime/src/providers/minimax/createImage.test.ts +1 -1
  880. package/packages/model-runtime/src/providers/minimax/index.ts +30 -10
  881. package/packages/model-runtime/src/providers/mistral/index.test.ts +1 -1
  882. package/packages/model-runtime/src/providers/moonshot/index.test.ts +1 -1
  883. package/packages/model-runtime/src/providers/moonshot/index.ts +17 -4
  884. package/packages/model-runtime/src/providers/newapi/index.test.ts +3 -75
  885. package/packages/model-runtime/src/providers/newapi/index.ts +59 -29
  886. package/packages/model-runtime/src/providers/novita/__snapshots__/index.test.ts.snap +584 -0
  887. package/packages/model-runtime/src/providers/novita/index.test.ts +1 -1
  888. package/packages/model-runtime/src/providers/ollama/index.test.ts +43 -32
  889. package/packages/model-runtime/src/providers/ollama/index.ts +31 -7
  890. package/packages/model-runtime/src/providers/openai/__snapshots__/index.test.ts.snap +517 -0
  891. package/packages/model-runtime/src/providers/openai/index.test.ts +44 -0
  892. package/packages/model-runtime/src/providers/openrouter/index.test.ts +4 -3
  893. package/packages/model-runtime/src/providers/openrouter/index.ts +1 -1
  894. package/packages/model-runtime/src/providers/perplexity/index.test.ts +1 -1
  895. package/packages/model-runtime/src/providers/ppio/__snapshots__/index.test.ts.snap +27 -0
  896. package/packages/model-runtime/src/providers/ppio/index.test.ts +1 -1
  897. package/packages/model-runtime/src/providers/qwen/createImage.test.ts +1 -1
  898. package/packages/model-runtime/src/providers/qwen/index.ts +9 -3
  899. package/packages/model-runtime/src/providers/replicate/index.ts +424 -0
  900. package/packages/model-runtime/src/providers/search1api/index.test.ts +1 -1
  901. package/packages/model-runtime/src/providers/siliconcloud/createImage.ts +1 -1
  902. package/packages/model-runtime/src/providers/spark/index.test.ts +12 -11
  903. package/packages/model-runtime/src/providers/spark/index.ts +19 -4
  904. package/packages/model-runtime/src/providers/taichu/index.test.ts +1 -1
  905. package/packages/model-runtime/src/providers/volcengine/index.test.ts +0 -14
  906. package/packages/model-runtime/src/providers/volcengine/index.ts +1 -24
  907. package/packages/model-runtime/src/providers/wenxin/index.test.ts +1 -1
  908. package/packages/model-runtime/src/providers/wenxin/index.ts +22 -1
  909. package/packages/model-runtime/src/providers/zenmux/index.test.ts +320 -0
  910. package/packages/model-runtime/src/providers/zenmux/index.ts +84 -0
  911. package/packages/model-runtime/src/providers/zhipu/index.test.ts +1 -1
  912. package/packages/model-runtime/src/runtimeMap.ts +5 -0
  913. package/packages/model-runtime/src/types/chat.ts +16 -0
  914. package/packages/model-runtime/src/types/error.ts +11 -8
  915. package/packages/model-runtime/src/types/toolsCalling.ts +3 -1
  916. package/packages/model-runtime/src/utils/asyncifyPolling.ts +127 -104
  917. package/packages/model-runtime/src/utils/errorResponse.test.ts +1 -1
  918. package/packages/model-runtime/src/utils/googleErrorParser.ts +5 -0
  919. package/packages/model-runtime/src/utils/modelParse.ts +19 -0
  920. package/packages/model-runtime/src/utils/postProcessModelList.ts +15 -13
  921. package/packages/obervability-otel/package.json +15 -15
  922. package/packages/obervability-otel/src/api.ts +2 -0
  923. package/packages/obervability-otel/src/node.ts +17 -7
  924. package/packages/obervability-otel/src/trpc/convention.ts +16 -0
  925. package/packages/obervability-otel/src/trpc/index.test.ts +38 -0
  926. package/packages/obervability-otel/src/trpc/index.ts +62 -0
  927. package/packages/obervability-otel/src/trpc/metrics.ts +31 -0
  928. package/packages/prompts/package.json +1 -1
  929. package/packages/prompts/src/prompts/files/__snapshots__/knowledgeBase.test.ts.snap +103 -0
  930. package/packages/prompts/src/prompts/files/index.ts +3 -0
  931. package/packages/prompts/src/prompts/files/knowledgeBase.test.ts +167 -0
  932. package/packages/prompts/src/prompts/files/knowledgeBase.ts +85 -0
  933. package/packages/prompts/src/prompts/knowledgeBaseQA/__snapshots__/formatFileContents.test.ts.snap +75 -0
  934. package/packages/prompts/src/prompts/knowledgeBaseQA/__snapshots__/formatNoSearchResults.test.ts.snap +45 -0
  935. package/packages/prompts/src/prompts/knowledgeBaseQA/__snapshots__/formatSearchResults.test.ts.snap +82 -0
  936. package/packages/prompts/src/prompts/knowledgeBaseQA/formatFileContents.test.ts +118 -0
  937. package/packages/prompts/src/prompts/knowledgeBaseQA/formatFileContents.ts +31 -0
  938. package/packages/prompts/src/prompts/knowledgeBaseQA/formatNoSearchResults.test.ts +25 -0
  939. package/packages/prompts/src/prompts/knowledgeBaseQA/formatNoSearchResults.ts +13 -0
  940. package/packages/prompts/src/prompts/knowledgeBaseQA/formatSearchResults.test.ts +191 -0
  941. package/packages/prompts/src/prompts/knowledgeBaseQA/formatSearchResults.ts +50 -0
  942. package/packages/prompts/src/prompts/knowledgeBaseQA/index.ts +6 -0
  943. package/packages/python-interpreter/src/types.ts +2 -2
  944. package/packages/python-interpreter/src/worker.ts +18 -18
  945. package/packages/ssrf-safe-fetch/index.browser.ts +34 -0
  946. package/packages/ssrf-safe-fetch/index.ts +34 -7
  947. package/packages/ssrf-safe-fetch/package.json +9 -2
  948. package/packages/types/src/agent/chatConfig.ts +29 -8
  949. package/packages/types/src/aiChat.ts +2 -0
  950. package/packages/types/src/aiProvider.ts +3 -1
  951. package/packages/types/src/discover/assistants.ts +16 -0
  952. package/packages/types/src/discover/mcp.ts +7 -0
  953. package/packages/types/src/discover/plugins.ts +12 -0
  954. package/packages/types/src/document/index.ts +50 -38
  955. package/packages/types/src/exportConfig.ts +15 -15
  956. package/packages/types/src/fetch.ts +9 -9
  957. package/packages/types/src/files/index.ts +3 -0
  958. package/packages/types/src/files/list.ts +11 -1
  959. package/packages/types/src/files/upload.ts +1 -1
  960. package/packages/types/src/generation/index.ts +5 -5
  961. package/packages/types/src/hotkey.ts +6 -5
  962. package/packages/types/src/importer.ts +6 -6
  963. package/packages/types/src/index.ts +6 -1
  964. package/packages/types/src/knowledgeBase/index.ts +1 -0
  965. package/packages/types/src/llm.ts +1 -1
  966. package/packages/types/src/message/common/base.ts +28 -2
  967. package/packages/types/src/message/common/metadata.ts +29 -2
  968. package/packages/types/src/message/common/tools.ts +29 -1
  969. package/packages/types/src/message/db/item.ts +15 -1
  970. package/packages/types/src/message/ui/chat.ts +25 -2
  971. package/packages/types/src/message/ui/extra.ts +2 -2
  972. package/packages/types/src/message/ui/params.ts +66 -7
  973. package/packages/types/src/meta.ts +7 -3
  974. package/packages/types/src/openai/chat.ts +15 -15
  975. package/packages/types/src/openai/image.ts +1 -1
  976. package/packages/types/src/plugins/mcp.ts +33 -30
  977. package/packages/types/src/plugins/protocol.ts +43 -43
  978. package/packages/types/src/rag.ts +13 -4
  979. package/packages/types/src/search.ts +4 -4
  980. package/packages/types/src/serverConfig.ts +1 -0
  981. package/packages/types/src/session/agentSession.ts +2 -0
  982. package/packages/types/src/tool/builtin.ts +21 -10
  983. package/packages/types/src/tool/intervention.ts +70 -3
  984. package/packages/types/src/tool/plugin.ts +15 -4
  985. package/packages/types/src/tool/search/index.ts +8 -2
  986. package/packages/types/src/topic/thread.ts +3 -3
  987. package/packages/types/src/topic/topic.ts +28 -2
  988. package/packages/types/src/usage/usageRecord.ts +54 -0
  989. package/packages/types/src/user/index.ts +2 -76
  990. package/packages/types/src/user/preference.ts +112 -0
  991. package/packages/types/src/user/settings/general.ts +3 -0
  992. package/packages/types/src/user/settings/hotkey.ts +1 -1
  993. package/packages/types/src/user/settings/index.ts +26 -0
  994. package/packages/types/src/user/settings/keyVaults.ts +0 -67
  995. package/packages/types/src/user/settings/market.ts +17 -0
  996. package/packages/types/src/user/settings/tool.ts +2 -39
  997. package/packages/types/src/userMemory/index.ts +3 -0
  998. package/packages/types/src/userMemory/layers.ts +54 -0
  999. package/packages/types/src/userMemory/shared.ts +64 -0
  1000. package/packages/types/src/userMemory/tools.ts +240 -0
  1001. package/packages/utils/package.json +2 -2
  1002. package/packages/utils/src/apiKey.test.ts +139 -0
  1003. package/packages/utils/src/client/clipboard.ts +2 -2
  1004. package/packages/utils/src/client/exportFile.ts +10 -10
  1005. package/packages/utils/src/client/parserPlaceholder.ts +19 -19
  1006. package/packages/utils/src/client/topic.ts +10 -10
  1007. package/packages/utils/src/client/xor-obfuscation.ts +11 -11
  1008. package/packages/utils/src/clientIP.ts +6 -6
  1009. package/packages/utils/src/colorUtils.test.ts +167 -0
  1010. package/packages/utils/src/compass.ts +11 -11
  1011. package/packages/utils/src/compressImage.ts +3 -3
  1012. package/packages/utils/src/format.ts +2 -2
  1013. package/packages/utils/src/imageToBase64.ts +17 -10
  1014. package/packages/utils/src/index.ts +2 -1
  1015. package/packages/utils/src/merge.ts +3 -3
  1016. package/packages/utils/src/multimodalContent.ts +25 -0
  1017. package/packages/utils/src/object.ts +3 -3
  1018. package/packages/utils/src/sanitizeUTF8.ts +4 -4
  1019. package/packages/utils/src/server/__tests__/auth.test.ts +52 -0
  1020. package/packages/utils/src/server/__tests__/response.test.ts +79 -0
  1021. package/packages/utils/src/server/auth.ts +24 -7
  1022. package/packages/utils/src/server/geo.ts +9 -9
  1023. package/packages/utils/src/server/index.ts +1 -0
  1024. package/packages/utils/src/server/response.ts +110 -0
  1025. package/packages/utils/src/server/validateRedirectHost.test.ts +352 -0
  1026. package/packages/utils/src/server/xor.ts +7 -7
  1027. package/packages/utils/src/time.ts +4 -0
  1028. package/packages/utils/src/tokenizer/index.ts +3 -11
  1029. package/packages/utils/src/toolManifest.ts +4 -4
  1030. package/packages/utils/src/trace.test.ts +359 -0
  1031. package/packages/utils/src/uriParser.ts +4 -4
  1032. package/packages/web-crawler/package.json +2 -2
  1033. package/packages/web-crawler/src/crawImpl/browserless.ts +1 -1
  1034. package/packages/web-crawler/src/crawImpl/naive.ts +9 -9
  1035. package/packages/web-crawler/src/crawler.ts +5 -5
  1036. package/packages/web-crawler/src/type.ts +4 -4
  1037. package/packages/web-crawler/src/urlRules.ts +13 -13
  1038. package/packages/web-crawler/src/utils/appUrlRules.ts +5 -5
  1039. package/pnpm-workspace.yaml +1 -1
  1040. package/renovate.json +40 -1
  1041. package/scripts/checkConsoleLog.mts +148 -0
  1042. package/scripts/i18nWorkflow/const.ts +2 -2
  1043. package/scripts/i18nWorkflow/i18nConfig.ts +7 -0
  1044. package/scripts/i18nWorkflow/utils.ts +1 -1
  1045. package/scripts/migrateServerDB/errorHint.js +26 -6
  1046. package/scripts/migrateServerDB/index.ts +15 -4
  1047. package/scripts/prebuild.mts +20 -10
  1048. package/src/app/(backend)/api/auth/[...all]/route.ts +19 -0
  1049. package/src/app/(backend)/api/auth/check-user/route.ts +63 -0
  1050. package/src/app/(backend)/api/auth/resolve-username/route.ts +52 -0
  1051. package/src/app/(backend)/api/webhooks/clerk/route.ts +1 -2
  1052. package/src/app/(backend)/f/[id]/route.ts +55 -0
  1053. package/src/app/(backend)/market/agent/[[...segments]]/route.ts +153 -0
  1054. package/src/app/(backend)/market/oidc/[[...segments]]/route.ts +207 -0
  1055. package/src/app/(backend)/middleware/auth/index.ts +22 -4
  1056. package/src/app/(backend)/middleware/auth/utils.test.ts +16 -0
  1057. package/src/app/(backend)/middleware/auth/utils.ts +13 -10
  1058. package/src/app/(backend)/trpc/async/[trpc]/route.ts +9 -3
  1059. package/src/app/(backend)/trpc/desktop/[trpc]/route.ts +15 -9
  1060. package/src/app/(backend)/trpc/lambda/[trpc]/route.ts +9 -3
  1061. package/src/app/(backend)/trpc/mobile/[trpc]/route.ts +9 -3
  1062. package/src/app/(backend)/trpc/tools/[trpc]/route.ts +9 -3
  1063. package/src/app/(backend)/webapi/chat/[provider]/route.test.ts +1 -0
  1064. package/src/app/(backend)/webapi/chat/[provider]/route.ts +1 -1
  1065. package/src/app/(backend)/webapi/models/[provider]/pull/route.ts +1 -1
  1066. package/src/app/(backend)/webapi/models/[provider]/route.ts +1 -1
  1067. package/src/app/(backend)/webapi/stt/openai/route.ts +0 -2
  1068. package/src/app/(backend)/webapi/text-to-image/[provider]/route.ts +1 -1
  1069. package/src/app/(backend)/webapi/tts/edge/route.ts +8 -2
  1070. package/src/app/(backend)/webapi/tts/microsoft/route.ts +8 -2
  1071. package/src/app/(backend)/webapi/tts/openai/route.ts +15 -3
  1072. package/src/app/[variants]/(auth)/auth-error/page.tsx +59 -0
  1073. package/src/app/[variants]/(auth)/reset-password/layout.tsx +12 -0
  1074. package/src/app/[variants]/(auth)/reset-password/page.tsx +209 -0
  1075. package/src/app/[variants]/(auth)/signin/layout.tsx +12 -0
  1076. package/src/app/[variants]/(auth)/signin/page.tsx +549 -0
  1077. package/src/app/[variants]/(auth)/signup/[[...signup]]/BetterAuthSignUpForm.tsx +230 -0
  1078. package/src/app/[variants]/(auth)/signup/[[...signup]]/page.tsx +31 -6
  1079. package/src/app/[variants]/(auth)/verify-email/layout.tsx +12 -0
  1080. package/src/app/[variants]/(auth)/verify-email/page.tsx +164 -0
  1081. package/src/app/[variants]/(main)/(mobile)/me/(home)/__tests__/UserBanner.test.tsx +19 -14
  1082. package/src/app/[variants]/(main)/(mobile)/me/(home)/__tests__/useCategory.test.tsx +15 -33
  1083. package/src/app/[variants]/(main)/(mobile)/me/(home)/features/UserBanner.tsx +5 -12
  1084. package/src/app/[variants]/(main)/(mobile)/me/(home)/features/useCategory.tsx +9 -41
  1085. package/src/app/[variants]/(main)/(mobile)/me/(home)/index.tsx +25 -0
  1086. package/src/app/[variants]/(main)/(mobile)/me/(home)/layout.tsx +13 -16
  1087. package/src/app/[variants]/(main)/(mobile)/me/profile/features/Category.tsx +22 -27
  1088. package/src/app/[variants]/(main)/(mobile)/me/profile/features/Header.tsx +3 -3
  1089. package/src/app/[variants]/(main)/(mobile)/me/profile/index.tsx +16 -0
  1090. package/src/app/[variants]/(main)/(mobile)/me/profile/layout.tsx +9 -11
  1091. package/src/app/[variants]/(main)/(mobile)/me/settings/features/Header.tsx +3 -3
  1092. package/src/app/[variants]/(main)/(mobile)/me/settings/features/useCategory.tsx +8 -18
  1093. package/src/app/[variants]/(main)/(mobile)/me/settings/index.tsx +16 -0
  1094. package/src/app/[variants]/(main)/(mobile)/me/settings/layout.tsx +15 -13
  1095. package/src/app/[variants]/(main)/changelog/_layout/Desktop/index.tsx +6 -5
  1096. package/src/app/[variants]/(main)/changelog/_layout/Mobile/Header.tsx +3 -3
  1097. package/src/app/[variants]/(main)/changelog/_layout/Mobile/index.tsx +5 -5
  1098. package/src/app/[variants]/(main)/changelog/features/Post.tsx +7 -4
  1099. package/src/app/[variants]/(main)/changelog/index.tsx +55 -0
  1100. package/src/app/[variants]/(main)/chat/_layout/Desktop/SessionPanel.tsx +12 -7
  1101. package/src/app/[variants]/(main)/chat/_layout/Desktop/index.tsx +7 -8
  1102. package/src/app/[variants]/(main)/chat/_layout/FeatureFlagsProvider.tsx +24 -0
  1103. package/src/app/[variants]/(main)/chat/_layout/Mobile.tsx +5 -4
  1104. package/src/app/[variants]/(main)/chat/_layout/type.ts +0 -1
  1105. package/src/app/[variants]/(main)/chat/components/ConversationArea.tsx +29 -0
  1106. package/src/app/[variants]/(main)/chat/components/PortalPanel.tsx +28 -0
  1107. package/src/app/[variants]/(main)/chat/components/SessionPanel.tsx +33 -0
  1108. package/src/app/[variants]/(main)/chat/components/TopicSidebar.tsx +30 -0
  1109. package/src/app/[variants]/(main)/chat/components/WorkspaceLayout.tsx +60 -0
  1110. package/src/app/[variants]/(main)/chat/components/conversation/features/ChatHydration/index.tsx +42 -0
  1111. package/src/app/[variants]/(main)/chat/components/conversation/features/ChatInput/Desktop/ClassicChat.tsx +81 -0
  1112. package/src/app/[variants]/(main)/chat/components/conversation/features/ChatInput/Desktop/GroupChat.tsx +126 -0
  1113. package/src/app/[variants]/(main)/chat/components/conversation/features/ChatInput/Desktop/MessageFromUrl.tsx +30 -0
  1114. package/src/app/[variants]/(main)/chat/components/conversation/features/ChatInput/Desktop/index.tsx +16 -0
  1115. package/src/app/[variants]/(main)/chat/components/conversation/features/ChatInput/V1Mobile/index.tsx +89 -0
  1116. package/src/app/[variants]/(main)/chat/components/conversation/features/ChatInput/V1Mobile/useSend.ts +109 -0
  1117. package/src/app/[variants]/(main)/chat/components/conversation/features/ChatInput/useSend.ts +322 -0
  1118. package/src/app/[variants]/(main)/chat/components/conversation/features/ChatList/ChatItem/Thread.tsx +62 -0
  1119. package/src/app/[variants]/(main)/chat/components/conversation/features/ChatList/ChatItem/index.tsx +85 -0
  1120. package/src/app/[variants]/(main)/chat/components/conversation/features/ChatList/Content.tsx +45 -0
  1121. package/src/app/[variants]/(main)/chat/components/conversation/features/ChatList/WelcomeChatItem/AgentWelcome/OpeningQuestions.tsx +75 -0
  1122. package/src/app/[variants]/(main)/chat/components/conversation/features/ChatList/WelcomeChatItem/GroupWelcome/GroupUsageSuggest.tsx +164 -0
  1123. package/src/app/[variants]/(main)/chat/components/conversation/features/ChatList/index.tsx +28 -0
  1124. package/src/app/[variants]/(main)/chat/components/conversation/features/ChatMinimap/index.tsx +380 -0
  1125. package/src/app/[variants]/(main)/chat/components/conversation/features/ThreadHydration.tsx +45 -0
  1126. package/src/app/[variants]/(main)/chat/components/topic/features/Topic/TopicListContent/TopicItem/TopicContent.tsx +258 -0
  1127. package/src/app/[variants]/(main)/chat/components/topic/features/Topic/TopicListContent/TopicItem/index.tsx +116 -0
  1128. package/src/app/[variants]/(main)/chat/features/PageTitle/index.tsx +1 -2
  1129. package/src/app/[variants]/(main)/chat/index.tsx +29 -0
  1130. package/src/app/[variants]/(main)/chat/session/features/SessionHydration.tsx +47 -0
  1131. package/src/app/[variants]/(main)/chat/session/features/SessionListContent/Inbox/index.tsx +61 -0
  1132. package/src/app/[variants]/(main)/chat/session/features/SessionListContent/List/Item/Actions.tsx +204 -0
  1133. package/src/app/[variants]/(main)/chat/session/features/SessionListContent/List/Item/index.tsx +157 -0
  1134. package/src/app/[variants]/(main)/chat/session/features/SessionListContent/List/index.tsx +100 -0
  1135. package/src/app/[variants]/(main)/chat/session/layout/Mobile/SessionHeader.tsx +44 -0
  1136. package/src/app/[variants]/(main)/chat/settings/_layout/Desktop/Header.tsx +3 -3
  1137. package/src/app/[variants]/(main)/chat/settings/_layout/Mobile/Header.tsx +3 -3
  1138. package/src/app/[variants]/(main)/chat/settings/features/AgentInfoDescription/index.tsx +349 -0
  1139. package/src/app/[variants]/(main)/chat/settings/features/HeaderContent.tsx +2 -2
  1140. package/src/app/[variants]/(main)/chat/settings/features/PublishResultModal/index.tsx +64 -0
  1141. package/src/app/[variants]/(main)/chat/settings/features/SmartAgentActionButton/MarketPublishButton.tsx +194 -0
  1142. package/src/app/[variants]/(main)/chat/settings/features/SmartAgentActionButton/MarketPublishModal.tsx +376 -0
  1143. package/src/app/[variants]/(main)/chat/settings/features/SmartAgentActionButton/index.tsx +75 -0
  1144. package/src/app/[variants]/(main)/chat/settings/index.tsx +65 -0
  1145. package/src/app/[variants]/(main)/components/Link.tsx +21 -0
  1146. package/src/app/[variants]/(main)/discover/(detail)/_layout/Desktop/index.tsx +38 -0
  1147. package/src/app/[variants]/(main)/discover/(detail)/_layout/Mobile/index.tsx +3 -3
  1148. package/src/app/[variants]/(main)/discover/(detail)/assistant/features/Details/Capabilities/Block.tsx +27 -0
  1149. package/src/app/[variants]/(main)/discover/(detail)/assistant/features/Details/Capabilities/PluginItem.tsx +164 -0
  1150. package/src/app/[variants]/(main)/discover/(detail)/assistant/features/Details/Capabilities/Plugins.tsx +31 -0
  1151. package/src/app/[variants]/(main)/discover/(detail)/assistant/features/Details/Nav.tsx +129 -0
  1152. package/src/app/[variants]/(main)/discover/(detail)/assistant/features/Details/Overview/TagList.tsx +56 -0
  1153. package/src/app/[variants]/(main)/discover/(detail)/assistant/features/Details/Overview/index.tsx +98 -0
  1154. package/src/app/[variants]/(main)/discover/(detail)/assistant/features/Details/Related/index.tsx +40 -0
  1155. package/src/app/[variants]/(main)/discover/(detail)/assistant/features/Details/SystemRole/TagList.tsx +56 -0
  1156. package/src/app/[variants]/(main)/discover/(detail)/assistant/features/Details/SystemRole/index.tsx +68 -0
  1157. package/src/app/[variants]/(main)/discover/(detail)/assistant/features/Details/Versions/index.tsx +137 -0
  1158. package/src/app/[variants]/(main)/discover/(detail)/assistant/features/Details/index.tsx +51 -0
  1159. package/src/app/[variants]/(main)/discover/(detail)/assistant/features/Header.tsx +176 -0
  1160. package/src/app/[variants]/(main)/discover/(detail)/assistant/features/Sidebar/ActionButton/AddAgent.tsx +178 -0
  1161. package/src/app/[variants]/(main)/discover/(detail)/assistant/features/Sidebar/ActionButton/index.tsx +31 -0
  1162. package/src/app/[variants]/(main)/discover/(detail)/assistant/features/Sidebar/Related/index.tsx +57 -0
  1163. package/src/app/[variants]/(main)/discover/(detail)/assistant/features/Sidebar/TocList/index.tsx +77 -0
  1164. package/src/app/[variants]/(main)/discover/(detail)/assistant/features/StatusPage/index.tsx +113 -0
  1165. package/src/app/[variants]/(main)/discover/(detail)/assistant/index.tsx +63 -0
  1166. package/src/app/[variants]/(main)/discover/(detail)/features/Breadcrumb.tsx +4 -3
  1167. package/src/app/[variants]/(main)/discover/(detail)/mcp/features/Details/Related/index.tsx +32 -0
  1168. package/src/app/[variants]/(main)/discover/(detail)/mcp/features/Details/Versions/index.tsx +76 -0
  1169. package/src/app/[variants]/(main)/discover/(detail)/mcp/features/Details/index.tsx +59 -0
  1170. package/src/app/[variants]/(main)/discover/(detail)/mcp/features/Sidebar/ActionButton/index.tsx +109 -0
  1171. package/src/app/[variants]/(main)/discover/(detail)/mcp/features/Sidebar/Related/index.tsx +44 -0
  1172. package/src/app/[variants]/(main)/discover/(detail)/mcp/features/Sidebar/ServerConfig.tsx +36 -0
  1173. package/src/app/[variants]/(main)/discover/(detail)/mcp/features/Sidebar/TocList/index.tsx +98 -0
  1174. package/src/app/[variants]/(main)/discover/(detail)/mcp/index.tsx +59 -0
  1175. package/src/app/[variants]/(main)/discover/(detail)/mcp/loading.tsx +1 -0
  1176. package/src/app/[variants]/(main)/discover/(detail)/model/features/Details/Overview/index.tsx +22 -0
  1177. package/src/app/[variants]/(main)/discover/(detail)/model/features/Details/Parameter/ParameterItem.tsx +71 -0
  1178. package/src/app/[variants]/(main)/discover/(detail)/model/features/Details/Related/index.tsx +31 -0
  1179. package/src/app/[variants]/(main)/discover/(detail)/model/features/Details/index.tsx +47 -0
  1180. package/src/app/[variants]/(main)/discover/(detail)/model/features/Header.tsx +112 -0
  1181. package/src/app/[variants]/(main)/discover/(detail)/model/features/Sidebar/ActionButton/ChatWithModel.tsx +92 -0
  1182. package/src/app/[variants]/(main)/discover/(detail)/model/features/Sidebar/ActionButton/index.tsx +32 -0
  1183. package/src/app/[variants]/(main)/discover/(detail)/model/features/Sidebar/Related/index.tsx +43 -0
  1184. package/src/app/[variants]/(main)/discover/(detail)/model/features/Sidebar/RelatedProviders/index.tsx +34 -0
  1185. package/src/app/[variants]/(main)/discover/(detail)/model/index.tsx +51 -0
  1186. package/src/app/[variants]/(main)/discover/(detail)/model/loading.tsx +1 -0
  1187. package/src/app/[variants]/(main)/discover/(detail)/provider/features/Details/Related/index.tsx +22 -0
  1188. package/src/app/[variants]/(main)/discover/(detail)/provider/features/Details/index.tsx +47 -0
  1189. package/src/app/[variants]/(main)/discover/(detail)/provider/features/Sidebar/ActionButton/ProviderConfig.tsx +91 -0
  1190. package/src/app/[variants]/(main)/discover/(detail)/provider/features/Sidebar/ActionButton/index.tsx +45 -0
  1191. package/src/app/[variants]/(main)/discover/(detail)/provider/features/Sidebar/Related/index.tsx +34 -0
  1192. package/src/app/[variants]/(main)/discover/(detail)/provider/features/Sidebar/RelatedModels/index.tsx +43 -0
  1193. package/src/app/[variants]/(main)/discover/(detail)/provider/index.tsx +51 -0
  1194. package/src/app/[variants]/(main)/discover/(detail)/provider/loading.tsx +1 -0
  1195. package/src/app/[variants]/(main)/discover/(list)/(home)/Client.tsx +2 -2
  1196. package/src/app/[variants]/(main)/discover/(list)/(home)/index.tsx +58 -0
  1197. package/src/app/[variants]/(main)/discover/(list)/_layout/Desktop/Nav.tsx +5 -4
  1198. package/src/app/[variants]/(main)/discover/(list)/_layout/Desktop/index.tsx +4 -3
  1199. package/src/app/[variants]/(main)/discover/(list)/_layout/Mobile/Nav.tsx +16 -5
  1200. package/src/app/[variants]/(main)/discover/(list)/_layout/Mobile/index.tsx +4 -3
  1201. package/src/app/[variants]/(main)/discover/(list)/assistant/Client.tsx +6 -2
  1202. package/src/app/[variants]/(main)/discover/(list)/assistant/_layout/Desktop.tsx +3 -4
  1203. package/src/app/[variants]/(main)/discover/(list)/assistant/_layout/Mobile.tsx +3 -3
  1204. package/src/app/[variants]/(main)/discover/(list)/assistant/features/Category/index.tsx +8 -4
  1205. package/src/app/[variants]/(main)/discover/(list)/assistant/features/List/Item.tsx +13 -2
  1206. package/src/app/[variants]/(main)/discover/(list)/assistant/features/MarketSourceSwitch.tsx +64 -0
  1207. package/src/app/[variants]/(main)/discover/(list)/assistant/index.tsx +61 -0
  1208. package/src/app/[variants]/(main)/discover/(list)/features/Pagination.tsx +7 -3
  1209. package/src/app/[variants]/(main)/discover/(list)/features/SortButton/index.tsx +28 -9
  1210. package/src/app/[variants]/(main)/discover/(list)/mcp/_layout/Desktop.tsx +3 -3
  1211. package/src/app/[variants]/(main)/discover/(list)/mcp/_layout/Mobile.tsx +3 -3
  1212. package/src/app/[variants]/(main)/discover/(list)/mcp/features/Category/index.tsx +1 -1
  1213. package/src/app/[variants]/(main)/discover/(list)/mcp/features/List/Item.tsx +1 -1
  1214. package/src/app/[variants]/(main)/discover/(list)/mcp/index.tsx +51 -0
  1215. package/src/app/[variants]/(main)/discover/(list)/model/_layout/Desktop.tsx +3 -3
  1216. package/src/app/[variants]/(main)/discover/(list)/model/_layout/Mobile.tsx +3 -3
  1217. package/src/app/[variants]/(main)/discover/(list)/model/features/Category/index.tsx +1 -1
  1218. package/src/app/[variants]/(main)/discover/(list)/model/features/List/Item.tsx +1 -1
  1219. package/src/app/[variants]/(main)/discover/(list)/model/index.tsx +51 -0
  1220. package/src/app/[variants]/(main)/discover/(list)/provider/features/List/Item.tsx +1 -1
  1221. package/src/app/[variants]/(main)/discover/(list)/provider/index.tsx +50 -0
  1222. package/src/app/[variants]/(main)/discover/_layout/Desktop/index.tsx +4 -4
  1223. package/src/app/[variants]/(main)/discover/_layout/Mobile/index.tsx +3 -3
  1224. package/src/app/[variants]/(main)/discover/components/Title.tsx +22 -2
  1225. package/src/app/[variants]/(main)/discover/features/Search.tsx +2 -2
  1226. package/src/app/[variants]/(main)/discover/features/Title.tsx +2 -1
  1227. package/src/app/[variants]/(main)/discover/features/useNav.tsx +11 -12
  1228. package/src/app/[variants]/(main)/hooks/useActiveTabKey.ts +40 -0
  1229. package/src/app/[variants]/(main)/hooks/usePathname.ts +10 -0
  1230. package/src/app/[variants]/(main)/hooks/useQuery.ts +12 -0
  1231. package/src/app/[variants]/(main)/hooks/useRouter.ts +22 -0
  1232. package/src/app/[variants]/(main)/hooks/useSearchParams.ts +11 -0
  1233. package/src/app/[variants]/(main)/image/@menu/features/ConfigPanel/components/ModelSelect/ImageModelItem.tsx +108 -0
  1234. package/src/app/[variants]/(main)/image/@menu/features/ConfigPanel/components/ModelSelect/index.tsx +162 -0
  1235. package/src/app/[variants]/(main)/image/@menu/features/ConfigPanel/components/ResolutionSelect.tsx +88 -0
  1236. package/src/app/[variants]/(main)/image/@menu/features/ConfigPanel/index.tsx +9 -0
  1237. package/src/app/[variants]/(main)/image/@topic/features/Topics/TopicUrlSync.tsx +1 -1
  1238. package/src/app/[variants]/(main)/image/ComingSoon.tsx +15 -0
  1239. package/src/app/[variants]/(main)/image/_layout/Desktop/index.tsx +5 -2
  1240. package/src/app/[variants]/(main)/image/_layout/DesktopWrapper.tsx +15 -0
  1241. package/src/app/[variants]/(main)/image/_layout/Mobile/index.tsx +3 -1
  1242. package/src/app/[variants]/(main)/image/features/ImageWorkspace/index.tsx +1 -2
  1243. package/src/app/[variants]/(main)/image/index.tsx +18 -0
  1244. package/src/app/[variants]/(main)/knowledge/_layout/Desktop.tsx +17 -0
  1245. package/src/app/[variants]/(main)/knowledge/_layout/Mobile.tsx +17 -0
  1246. package/src/app/[variants]/(main)/knowledge/components/KnowledgeBaseItem/index.tsx +1 -3
  1247. package/src/app/[variants]/(main)/knowledge/components/modal/ModalPageClient.tsx +4 -4
  1248. package/src/app/[variants]/(main)/knowledge/hooks/useFileCategory.ts +6 -3
  1249. package/src/app/[variants]/(main)/knowledge/routes/KnowledgeBaseDetail/index.tsx +7 -10
  1250. package/src/app/[variants]/(main)/knowledge/routes/KnowledgeBaseDetail/menu/CategoryMenu.tsx +35 -0
  1251. package/src/app/[variants]/(main)/knowledge/routes/KnowledgeBaseDetail/menu/Head.tsx +1 -1
  1252. package/src/app/[variants]/(main)/knowledge/routes/KnowledgeBaseDetail/menu/Menu.tsx +2 -2
  1253. package/src/app/[variants]/(main)/knowledge/routes/KnowledgeHome/index.tsx +40 -18
  1254. package/src/app/[variants]/(main)/knowledge/routes/KnowledgeHome/layout/Container.tsx +1 -1
  1255. package/src/app/[variants]/(main)/knowledge/routes/KnowledgeHome/menu/CategoryMenu.tsx +148 -0
  1256. package/src/app/[variants]/(main)/knowledge/routes/KnowledgeHome/menu/KnowledgeBase.tsx +21 -8
  1257. package/src/app/[variants]/(main)/labs/components/LabCard.tsx +5 -5
  1258. package/src/app/[variants]/(main)/labs/index.tsx +74 -0
  1259. package/src/app/[variants]/(main)/layouts/desktop/DesktopLayoutContainer.tsx +30 -0
  1260. package/src/app/[variants]/(main)/layouts/desktop/SideBar/BottomActions.tsx +46 -0
  1261. package/src/app/[variants]/(main)/layouts/desktop/SideBar/PinList/index.tsx +128 -0
  1262. package/src/app/[variants]/(main)/layouts/desktop/SideBar/TopActions.test.tsx +141 -0
  1263. package/src/app/[variants]/(main)/layouts/desktop/SideBar/TopActions.tsx +116 -0
  1264. package/src/app/[variants]/(main)/layouts/desktop/index.tsx +73 -0
  1265. package/src/app/[variants]/(main)/layouts/index.tsx +11 -0
  1266. package/src/app/[variants]/(main)/layouts/mobile/NavBar.tsx +88 -0
  1267. package/src/app/[variants]/(main)/layouts/mobile/index.tsx +46 -0
  1268. package/src/app/[variants]/(main)/profile/(home)/Client.tsx +515 -53
  1269. package/src/app/[variants]/(main)/profile/(home)/desktop.tsx +26 -0
  1270. package/src/app/[variants]/(main)/profile/(home)/features/SSOProvidersList/index.tsx +89 -52
  1271. package/src/app/[variants]/(main)/profile/(home)/index.tsx +26 -0
  1272. package/src/app/[variants]/(main)/profile/@category/features/CategoryContent.tsx +5 -7
  1273. package/src/app/[variants]/(main)/profile/_layout/Desktop/index.tsx +12 -11
  1274. package/src/app/[variants]/(main)/profile/_layout/DesktopWrapper.tsx +14 -0
  1275. package/src/app/[variants]/(main)/profile/_layout/Mobile/Header.tsx +3 -3
  1276. package/src/app/[variants]/(main)/profile/_layout/Mobile/index.tsx +4 -3
  1277. package/src/app/[variants]/(main)/profile/apikey/index.tsx +18 -0
  1278. package/src/app/[variants]/(main)/profile/hooks/useCategory.tsx +24 -18
  1279. package/src/app/[variants]/(main)/profile/security/index.tsx +29 -0
  1280. package/src/app/[variants]/(main)/profile/stats/features/AssistantsRank.tsx +4 -4
  1281. package/src/app/[variants]/(main)/profile/stats/features/ShareButton/Preview.tsx +2 -14
  1282. package/src/app/[variants]/(main)/profile/stats/features/TopicsRank.tsx +4 -4
  1283. package/src/app/[variants]/(main)/profile/stats/index.tsx +20 -0
  1284. package/src/app/[variants]/(main)/profile/usage/Client.tsx +114 -0
  1285. package/src/app/[variants]/(main)/profile/usage/features/UsageCards/ActiveModels/ModelTable.tsx +175 -0
  1286. package/src/app/[variants]/(main)/profile/usage/features/UsageCards/ActiveModels/index.tsx +126 -0
  1287. package/src/app/[variants]/(main)/profile/usage/features/UsageCards/MonthSpend.tsx +53 -0
  1288. package/src/app/[variants]/(main)/profile/usage/features/UsageCards/TodaySpend.tsx +67 -0
  1289. package/src/app/[variants]/(main)/profile/usage/features/UsageCards/index.tsx +19 -0
  1290. package/src/app/[variants]/(main)/profile/usage/features/UsageTable.tsx +143 -0
  1291. package/src/app/[variants]/(main)/profile/usage/features/UsageTrends.tsx +107 -0
  1292. package/src/app/[variants]/(main)/profile/usage/features/components/UsageBarChart.tsx +48 -0
  1293. package/src/app/[variants]/(main)/profile/usage/index.tsx +13 -0
  1294. package/src/app/[variants]/(main)/settings/_layout/Desktop/Header.tsx +2 -2
  1295. package/src/app/[variants]/(main)/settings/_layout/Desktop/index.tsx +45 -9
  1296. package/src/app/[variants]/(main)/settings/_layout/DesktopWrapper.tsx +23 -0
  1297. package/src/app/[variants]/(main)/settings/_layout/Mobile/Header.tsx +8 -7
  1298. package/src/app/[variants]/(main)/settings/_layout/Mobile/index.tsx +2 -5
  1299. package/src/app/[variants]/(main)/settings/_layout/MobileWrapper.tsx +23 -0
  1300. package/src/app/[variants]/(main)/settings/_layout/SettingsContent.tsx +1 -12
  1301. package/src/app/[variants]/(main)/settings/_layout/type.ts +0 -1
  1302. package/src/app/[variants]/(main)/settings/agent/AgentMenu/Menu.tsx +2 -4
  1303. package/src/app/[variants]/(main)/settings/agent/index.tsx +13 -14
  1304. package/src/app/[variants]/(main)/settings/common/features/Common/Common.tsx +23 -1
  1305. package/src/app/[variants]/(main)/settings/common/index.tsx +1 -1
  1306. package/src/app/[variants]/(main)/settings/hooks/useCategory.tsx +8 -16
  1307. package/src/app/[variants]/(main)/settings/provider/(list)/ProviderGrid/Card.tsx +9 -4
  1308. package/src/app/[variants]/(main)/settings/provider/(list)/ProviderGrid/index.tsx +35 -4
  1309. package/src/app/[variants]/(main)/settings/provider/(list)/index.tsx +15 -3
  1310. package/src/app/[variants]/(main)/settings/provider/ProviderMenu/All.tsx +2 -2
  1311. package/src/app/[variants]/(main)/settings/provider/ProviderMenu/Item.tsx +2 -2
  1312. package/src/app/[variants]/(main)/settings/provider/ProviderMenu/List.tsx +251 -34
  1313. package/src/app/[variants]/(main)/settings/provider/ProviderMenu/SearchResult.tsx +5 -5
  1314. package/src/app/[variants]/(main)/settings/provider/_layout/Desktop/Container.tsx +10 -4
  1315. package/src/app/[variants]/(main)/settings/provider/_layout/Mobile.tsx +2 -2
  1316. package/src/app/[variants]/(main)/settings/provider/detail/azure/index.tsx +1 -1
  1317. package/src/app/[variants]/(main)/settings/provider/detail/azureai/index.tsx +1 -1
  1318. package/src/app/[variants]/(main)/settings/provider/detail/bedrock/index.tsx +1 -1
  1319. package/src/app/[variants]/(main)/settings/provider/detail/cloudflare/index.tsx +1 -1
  1320. package/src/app/[variants]/(main)/settings/provider/detail/comfyui/index.tsx +1 -1
  1321. package/src/app/[variants]/(main)/settings/provider/detail/default/ClientMode.tsx +1 -1
  1322. package/src/app/[variants]/(main)/settings/provider/detail/github/index.tsx +1 -1
  1323. package/src/app/[variants]/(main)/settings/provider/detail/index.tsx +36 -14
  1324. package/src/app/[variants]/(main)/settings/provider/detail/vertexai/index.tsx +1 -1
  1325. package/src/app/[variants]/(main)/settings/provider/features/CreateNewProvider/index.tsx +22 -9
  1326. package/src/app/[variants]/(main)/settings/provider/features/ModelList/DisabledModels.tsx +144 -8
  1327. package/src/app/[variants]/(main)/settings/provider/features/ModelList/ModelItem.tsx +69 -97
  1328. package/src/app/[variants]/(main)/settings/provider/features/ProviderConfig/UpdateProviderInfo/SettingModal.tsx +13 -9
  1329. package/src/app/[variants]/(main)/settings/provider/features/ProviderConfig/index.tsx +4 -8
  1330. package/src/app/[variants]/(main)/settings/provider/features/customProviderSdkOptions.ts +1 -0
  1331. package/src/app/[variants]/(main)/settings/storage/index.tsx +1 -9
  1332. package/src/app/[variants]/(main)/settings/system-agent/index.tsx +1 -2
  1333. package/src/app/[variants]/DesktopClientRouter.tsx +20 -0
  1334. package/src/app/[variants]/DesktopRouter.tsx +20 -0
  1335. package/src/app/[variants]/MobileClientRouter.tsx +20 -0
  1336. package/src/app/[variants]/MobileRouter.tsx +20 -0
  1337. package/src/app/[variants]/desktopRouter.config.tsx +508 -0
  1338. package/src/app/[variants]/layout.tsx +1 -3
  1339. package/src/app/[variants]/loaders/routeParams.ts +45 -0
  1340. package/src/app/[variants]/loading/Server/Redirect.tsx +1 -1
  1341. package/src/app/[variants]/mobileRouter.config.tsx +552 -0
  1342. package/src/app/[variants]/oauth/ResultLayout.tsx +47 -0
  1343. package/src/app/[variants]/oauth/callback/error/page.tsx +20 -33
  1344. package/src/app/[variants]/oauth/callback/layout.tsx +1 -0
  1345. package/src/app/[variants]/oauth/callback/success/page.tsx +8 -22
  1346. package/src/app/[variants]/oauth/consent/[uid]/Consent/BuiltinConsent.tsx +47 -0
  1347. package/src/app/[variants]/oauth/consent/[uid]/Consent/index.tsx +198 -0
  1348. package/src/app/[variants]/oauth/consent/[uid]/Login.tsx +19 -4
  1349. package/src/app/[variants]/page.tsx +18 -6
  1350. package/src/app/desktop/devtools/page.tsx +1 -1
  1351. package/src/app/desktop/layout.tsx +1 -1
  1352. package/src/app/market-auth-callback/layout.tsx +39 -0
  1353. package/src/app/market-auth-callback/page.tsx +196 -0
  1354. package/src/auth.ts +181 -0
  1355. package/src/components/Analytics/MainInterfaceTracker.tsx +2 -2
  1356. package/src/components/BootErrorBoundary/index.tsx +129 -0
  1357. package/src/components/FileIcon/index.tsx +1 -1
  1358. package/src/components/InvalidAPIKey/APIKeyForm/Bedrock.tsx +1 -1
  1359. package/src/components/InvalidAPIKey/APIKeyForm/ComfyUIForm.tsx +1 -1
  1360. package/src/components/InvalidAPIKey/APIKeyForm/ProviderApiKeyForm.tsx +1 -1
  1361. package/src/components/InvalidAPIKey/APIKeyForm/__tests__/ComfyUIForm.test.tsx +1 -1
  1362. package/src/components/InvalidAPIKey/APIKeyForm/useApiKey.ts +0 -12
  1363. package/src/components/InvalidAPIKey/index.tsx +1 -1
  1364. package/src/components/ModelSelect/NewModelBadge.tsx +23 -0
  1365. package/src/components/ModelSelect/index.tsx +4 -0
  1366. package/src/components/NextAuth/AuthIcons.tsx +5 -1
  1367. package/src/components/Skeleton/SkeletonSwitch.tsx +13 -0
  1368. package/src/components/Skeleton/index.ts +2 -0
  1369. package/src/components/Thinking/index.tsx +3 -3
  1370. package/src/components/mdx/constants.ts +1 -0
  1371. package/src/config/db.ts +0 -5
  1372. package/src/config/featureFlags/schema.test.ts +1 -3
  1373. package/src/config/featureFlags/schema.ts +0 -3
  1374. package/src/config/klavis.ts +41 -0
  1375. package/src/config/modelProviders/aihubmix.ts +1 -0
  1376. package/src/config/modelProviders/cerebras.ts +3 -0
  1377. package/src/config/modelProviders/index.ts +6 -0
  1378. package/src/config/modelProviders/newapi.ts +1 -0
  1379. package/src/config/modelProviders/replicate.ts +23 -0
  1380. package/src/config/modelProviders/spark.ts +0 -3
  1381. package/src/config/modelProviders/vertexai.ts +1 -1
  1382. package/src/config/modelProviders/volcengine.ts +2 -1
  1383. package/src/config/modelProviders/wenxin.ts +2 -3
  1384. package/src/config/modelProviders/zenmux.ts +21 -0
  1385. package/src/envs/__tests__/app.test.ts +47 -13
  1386. package/src/envs/app.ts +10 -3
  1387. package/src/envs/auth.test.ts +60 -0
  1388. package/src/envs/auth.ts +313 -15
  1389. package/src/envs/email.ts +48 -0
  1390. package/src/envs/llm.ts +10 -0
  1391. package/src/envs/redis.ts +106 -0
  1392. package/src/features/AgentSetting/AgentPlugin/index.tsx +6 -2
  1393. package/src/features/AgentSetting/AgentPrompt/TokenTag.tsx +3 -2
  1394. package/src/features/AgentSetting/AgentTTS/SelectWithTTSPreview.tsx +1 -1
  1395. package/src/features/AgentSetting/store/action.ts +1 -1
  1396. package/src/features/ChangelogModal/index.tsx +3 -3
  1397. package/src/features/ChatInput/ActionBar/Knowledge/index.tsx +4 -5
  1398. package/src/features/ChatInput/ActionBar/Model/ControlsForm.tsx +47 -0
  1399. package/src/features/ChatInput/ActionBar/Model/GPT51ReasoningEffortSlider.tsx +58 -0
  1400. package/src/features/ChatInput/ActionBar/Model/ImageAspectRatioSelect.tsx +54 -0
  1401. package/src/features/ChatInput/ActionBar/Model/ImageResolutionSlider.tsx +59 -0
  1402. package/src/features/ChatInput/ActionBar/Model/ThinkingLevelSlider.tsx +56 -0
  1403. package/src/features/ChatInput/ActionBar/STT/browser.tsx +6 -6
  1404. package/src/features/ChatInput/ActionBar/STT/openai.tsx +6 -6
  1405. package/src/features/ChatInput/ActionBar/Search/index.tsx +5 -7
  1406. package/src/features/ChatInput/ActionBar/Token/TokenTag.tsx +4 -4
  1407. package/src/features/ChatInput/ActionBar/Token/TokenTagForGroupChat.tsx +2 -2
  1408. package/src/features/ChatInput/ActionBar/Tools/KlavisServerItem.tsx +351 -0
  1409. package/src/features/ChatInput/ActionBar/Tools/index.tsx +56 -4
  1410. package/src/features/ChatInput/ActionBar/Tools/useControls.tsx +174 -6
  1411. package/src/features/ChatInput/ActionBar/Upload/index.tsx +1 -3
  1412. package/src/features/ChatInput/ActionBar/components/ActionDropdown.tsx +4 -17
  1413. package/src/features/ChatInput/ActionBar/index.tsx +2 -2
  1414. package/src/features/ChatInput/InputEditor/index.tsx +2 -2
  1415. package/src/features/ChatItem/components/MessageContent.tsx +4 -1
  1416. package/src/features/ChatItem/components/Title.tsx +20 -16
  1417. package/src/features/ChatItem/style.ts +4 -0
  1418. package/src/features/ChatList/Error/ChatInvalidApiKey.tsx +39 -0
  1419. package/src/features/ChatList/Error/ClerkLogin/index.tsx +47 -0
  1420. package/src/features/ChatList/Error/OAuthForm.tsx +97 -0
  1421. package/src/features/ChatList/Error/index.tsx +144 -0
  1422. package/src/features/ChatList/MarkdownElements/LobeThinking/Render.tsx +30 -0
  1423. package/src/features/ChatList/MarkdownElements/Thinking/Render.tsx +42 -0
  1424. package/src/features/ChatList/MarkdownElements/remarkPlugins/__snapshots__/createRemarkSelfClosingTagPlugin.test.ts.snap +393 -0
  1425. package/src/features/ChatList/MarkdownElements/remarkPlugins/createRemarkSelfClosingTagPlugin.test.ts +277 -0
  1426. package/src/features/ChatList/MarkdownElements/remarkPlugins/createRemarkSelfClosingTagPlugin.ts +162 -0
  1427. package/src/features/ChatList/MarkdownElements/remarkPlugins/getNodeContent.test.ts +502 -0
  1428. package/src/features/ChatList/Messages/Assistant/Actions/index.tsx +218 -0
  1429. package/src/features/ChatList/Messages/Assistant/CollapsedMessage.tsx +37 -0
  1430. package/src/features/ChatList/Messages/Assistant/DisplayContent.tsx +44 -0
  1431. package/src/features/ChatList/Messages/Assistant/Extra/index.test.tsx +86 -0
  1432. package/src/features/ChatList/Messages/Assistant/Extra/index.tsx +49 -0
  1433. package/src/features/ChatList/Messages/Assistant/MessageBody.tsx +96 -0
  1434. package/src/features/ChatList/Messages/Assistant/Reasoning/index.tsx +42 -0
  1435. package/src/features/ChatList/Messages/Assistant/index.tsx +401 -0
  1436. package/src/features/ChatList/Messages/Default.tsx +27 -0
  1437. package/src/features/ChatList/Messages/Group/Actions/WithContentId.tsx +200 -0
  1438. package/src/features/ChatList/Messages/Group/Actions/WithoutContentId.tsx +93 -0
  1439. package/src/features/ChatList/Messages/Group/Actions/index.tsx +21 -0
  1440. package/src/features/ChatList/Messages/Group/CollapsedMessage.tsx +37 -0
  1441. package/src/features/ChatList/Messages/Group/ContentBlock.tsx +89 -0
  1442. package/src/features/ChatList/Messages/Group/EditState.tsx +51 -0
  1443. package/src/features/ChatList/Messages/Group/Error/index.tsx +55 -0
  1444. package/src/features/ChatList/Messages/Group/Group.tsx +70 -0
  1445. package/src/features/ChatList/Messages/Group/GroupContext.ts +15 -0
  1446. package/src/features/ChatList/Messages/Group/GroupItem.tsx +42 -0
  1447. package/src/features/ChatList/Messages/Group/MessageContent.tsx +45 -0
  1448. package/src/features/ChatList/Messages/Group/Tool/Inspector/BuiltinPluginTitle.tsx +58 -0
  1449. package/src/features/ChatList/Messages/Group/Tool/Inspector/Debug.tsx +70 -0
  1450. package/src/features/ChatList/Messages/Group/Tool/Inspector/PluginResult.tsx +34 -0
  1451. package/src/features/ChatList/Messages/Group/Tool/Inspector/PluginState.tsx +18 -0
  1452. package/src/features/ChatList/Messages/Group/Tool/Inspector/StatusIndicator.tsx +41 -0
  1453. package/src/features/ChatList/Messages/Group/Tool/Inspector/ToolTitle.tsx +82 -0
  1454. package/src/features/ChatList/Messages/Group/Tool/Inspector/index.tsx +221 -0
  1455. package/src/features/ChatList/Messages/Group/Tool/Render/AbortResponse.tsx +37 -0
  1456. package/src/features/ChatList/Messages/Group/Tool/Render/Arguments/index.tsx +136 -0
  1457. package/src/features/ChatList/Messages/Group/Tool/Render/CustomRender.tsx +88 -0
  1458. package/src/features/ChatList/Messages/Group/Tool/Render/Intervention/ApprovalActions.tsx +164 -0
  1459. package/src/features/ChatList/Messages/Group/Tool/Render/Intervention/Fallback.tsx +98 -0
  1460. package/src/features/ChatList/Messages/Group/Tool/Render/Intervention/KeyValueEditor.tsx +213 -0
  1461. package/src/features/ChatList/Messages/Group/Tool/Render/Intervention/ModeSelector.tsx +133 -0
  1462. package/src/features/ChatList/Messages/Group/Tool/Render/Intervention/index.tsx +103 -0
  1463. package/src/features/ChatList/Messages/Group/Tool/Render/LoadingPlaceholder/index.tsx +29 -0
  1464. package/src/features/ChatList/Messages/Group/Tool/Render/PluginSettings.tsx +66 -0
  1465. package/src/features/ChatList/Messages/Group/Tool/Render/RejectedResponse.tsx +45 -0
  1466. package/src/features/ChatList/Messages/Group/Tool/Render/index.tsx +139 -0
  1467. package/src/features/ChatList/Messages/Group/Tool/index.tsx +98 -0
  1468. package/src/features/ChatList/Messages/Group/Tools.tsx +48 -0
  1469. package/src/features/ChatList/Messages/Group/index.tsx +210 -0
  1470. package/src/features/ChatList/Messages/Supervisor/index.tsx +194 -0
  1471. package/src/features/ChatList/Messages/Tool/Inspector/PluginResult.tsx +39 -0
  1472. package/src/features/ChatList/Messages/Tool/Inspector/PluginState.tsx +23 -0
  1473. package/src/features/ChatList/Messages/Tool/Inspector/Settings.tsx +40 -0
  1474. package/src/features/ChatList/Messages/Tool/Inspector/ToolTitle.tsx +68 -0
  1475. package/src/features/ChatList/Messages/Tool/Inspector/index.tsx +134 -0
  1476. package/src/features/ChatList/Messages/Tool/Render/Arguments/ObjectEntity.tsx +81 -0
  1477. package/src/features/ChatList/Messages/Tool/Render/Arguments/ValueCell.tsx +43 -0
  1478. package/src/features/ChatList/Messages/Tool/Render/CustomRender.tsx +144 -0
  1479. package/src/features/ChatList/Messages/Tool/Render/ErrorResponse.tsx +35 -0
  1480. package/src/features/ChatList/Messages/Tool/Render/PluginSettings.tsx +69 -0
  1481. package/src/features/ChatList/Messages/Tool/Render/index.tsx +46 -0
  1482. package/src/features/ChatList/Messages/Tool/ToolItem.tsx +51 -0
  1483. package/src/features/ChatList/Messages/Tool/index.tsx +58 -0
  1484. package/src/features/ChatList/Messages/User/Actions/ActionsBar.tsx +159 -0
  1485. package/src/features/ChatList/Messages/User/Actions/MessageBranch.tsx +107 -0
  1486. package/src/features/ChatList/Messages/User/Actions/index.tsx +42 -0
  1487. package/src/features/ChatList/Messages/User/Extra.tsx +39 -0
  1488. package/src/features/ChatList/Messages/User/index.tsx +193 -0
  1489. package/src/features/ChatList/Messages/index.tsx +238 -0
  1490. package/src/features/ChatList/components/AutoScroll.tsx +27 -0
  1491. package/src/features/ChatList/components/ContextMenu.tsx +398 -0
  1492. package/src/features/ChatList/components/Extras/TTS/InitPlayer.tsx +93 -0
  1493. package/src/features/ChatList/components/Extras/Usage/UsageDetail/AnimatedNumber.tsx +55 -0
  1494. package/src/features/ChatList/components/Extras/Usage/UsageDetail/index.tsx +257 -0
  1495. package/src/features/ChatList/components/Extras/Usage/UsageDetail/tokens.ts +129 -0
  1496. package/src/features/ChatList/components/Extras/Usage/index.tsx +52 -0
  1497. package/src/features/ChatList/components/RichContentRenderer.tsx +35 -0
  1498. package/src/features/ChatList/components/ShareMessageModal/ShareImage/Preview.tsx +90 -0
  1499. package/src/features/ChatList/components/ShareMessageModal/index.tsx +91 -0
  1500. package/src/features/ChatList/components/SkeletonList.tsx +58 -0
  1501. package/src/features/ChatList/components/VirtualizedList/VirtuosoContext.ts +92 -0
  1502. package/src/features/ChatList/components/VirtualizedList/index.tsx +172 -0
  1503. package/src/features/ChatList/components/WideScreenContainer/index.tsx +50 -0
  1504. package/src/features/ChatList/hooks/useChatItemContextMenu.tsx +136 -0
  1505. package/src/features/ChatList/hooks/useChatListActionsBar.tsx +145 -0
  1506. package/src/features/ChatList/hooks/useDoubleClickEdit.ts +42 -0
  1507. package/src/features/DataImporter/index.tsx +2 -2
  1508. package/src/features/DevPanel/PostgresViewer/usePgTable.ts +3 -11
  1509. package/src/features/FileSidePanel/index.tsx +1 -1
  1510. package/src/features/KnowledgeBaseModal/AssignKnowledgeBase/Item/MasonryItem.tsx +80 -0
  1511. package/src/features/KnowledgeBaseModal/AssignKnowledgeBase/Item/MasonryItemWrapper.tsx +27 -0
  1512. package/src/features/KnowledgeBaseModal/AssignKnowledgeBase/List.tsx +104 -23
  1513. package/src/features/KnowledgeBaseModal/AssignKnowledgeBase/MasonrySkeleton.tsx +62 -0
  1514. package/src/features/KnowledgeBaseModal/AssignKnowledgeBase/index.tsx +3 -2
  1515. package/src/features/KnowledgeBaseModal/CreateNew/CreateForm.tsx +1 -1
  1516. package/src/features/KnowledgeManager/DocumentExplorer/DocumentActions.tsx +111 -0
  1517. package/src/features/KnowledgeManager/DocumentExplorer/DocumentEditor.tsx +723 -0
  1518. package/src/features/KnowledgeManager/DocumentExplorer/DocumentEditorPlaceholder.tsx +169 -0
  1519. package/src/features/KnowledgeManager/DocumentExplorer/DocumentListItem.tsx +148 -0
  1520. package/src/features/KnowledgeManager/DocumentExplorer/DocumentListSkeleton.tsx +39 -0
  1521. package/src/features/KnowledgeManager/DocumentExplorer/NoteEditorModal.tsx +328 -0
  1522. package/src/features/KnowledgeManager/DocumentExplorer/RenamePopover.tsx +163 -0
  1523. package/src/features/KnowledgeManager/DocumentExplorer/index.tsx +318 -0
  1524. package/src/features/KnowledgeManager/FileExplorer/FileListItem/index.tsx +270 -0
  1525. package/src/features/KnowledgeManager/FileExplorer/MasonryFileItem/DefaultFileItem.tsx +149 -0
  1526. package/src/features/KnowledgeManager/FileExplorer/MasonryFileItem/ImageFileItem.tsx +245 -0
  1527. package/src/features/KnowledgeManager/FileExplorer/MasonryFileItem/MarkdownFileItem.tsx +232 -0
  1528. package/src/features/KnowledgeManager/FileExplorer/MasonryFileItem/NoteFileItem.tsx +230 -0
  1529. package/src/features/KnowledgeManager/FileExplorer/MasonryFileItem/index.tsx +378 -0
  1530. package/src/features/KnowledgeManager/FileExplorer/ToolBar/ViewSwitcher.tsx +45 -0
  1531. package/src/features/KnowledgeManager/FileExplorer/index.tsx +305 -0
  1532. package/src/features/KnowledgeManager/Header/AddButton.tsx +117 -0
  1533. package/src/features/KnowledgeManager/Header/FilesSearchBar.tsx +45 -0
  1534. package/src/features/KnowledgeManager/Header/NewNoteButton.tsx +33 -0
  1535. package/src/features/KnowledgeManager/Header/TogglePanelButton.tsx +42 -0
  1536. package/src/features/KnowledgeManager/Header/index.tsx +21 -0
  1537. package/src/features/KnowledgeManager/Home/RecentDocumentCard.tsx +116 -0
  1538. package/src/features/KnowledgeManager/Home/RecentDocuments.tsx +77 -0
  1539. package/src/features/KnowledgeManager/Home/RecentFileCard.tsx +121 -0
  1540. package/src/features/KnowledgeManager/Home/RecentFiles.tsx +73 -0
  1541. package/src/features/KnowledgeManager/Home/RecentFilesSkeleton.tsx +81 -0
  1542. package/src/features/KnowledgeManager/Home/UploadEntries.tsx +208 -0
  1543. package/src/features/KnowledgeManager/Home/index.tsx +221 -0
  1544. package/src/features/KnowledgeManager/index.tsx +75 -0
  1545. package/src/features/LocalFile/LocalFile.tsx +55 -5
  1546. package/src/features/MCP/utils.test.ts +91 -0
  1547. package/src/features/MCP/utils.ts +20 -2
  1548. package/src/features/ModelSwitchPanel/index.tsx +15 -29
  1549. package/src/features/OllamaSetupGuide/index.tsx +1 -1
  1550. package/src/features/PluginStore/Content.tsx +2 -3
  1551. package/src/features/PluginStore/McpList/List/Action.tsx +20 -1
  1552. package/src/features/PluginStore/McpList/index.tsx +6 -2
  1553. package/src/features/PluginTag/PluginStatus.tsx +1 -1
  1554. package/src/features/PluginsUI/Render/BuiltinType/index.test.tsx +10 -4
  1555. package/src/features/PluginsUI/Render/BuiltinType/index.tsx +4 -4
  1556. package/src/features/PluginsUI/Render/MCPType/index.tsx +72 -0
  1557. package/src/features/PluginsUI/Render/StandaloneType/Iframe.tsx +5 -5
  1558. package/src/features/PluginsUI/Render/index.tsx +17 -0
  1559. package/src/features/Portal/Artifacts/Body/Renderer/SVG.tsx +23 -6
  1560. package/src/features/Portal/FilePreview/Body/index.tsx +1 -1
  1561. package/src/features/Portal/FilePreview/Header.tsx +1 -1
  1562. package/src/features/Portal/GroupThread/Body/ThreadChatItem.tsx +1 -1
  1563. package/src/features/Portal/GroupThread/Body/ThreadChatList.tsx +1 -1
  1564. package/src/features/Portal/GroupThread/Body/index.tsx +1 -1
  1565. package/src/features/Portal/Home/Body/Plugins/ArtifactList/index.tsx +3 -3
  1566. package/src/features/Portal/Thread/Chat/ChatInput/index.tsx +1 -1
  1567. package/src/features/Portal/Thread/Chat/ChatInput/useSend.ts +3 -3
  1568. package/src/features/Portal/Thread/Chat/ChatItem.tsx +1 -1
  1569. package/src/features/Portal/Thread/Chat/ChatList.tsx +1 -1
  1570. package/src/features/Portal/Thread/Chat/index.tsx +1 -1
  1571. package/src/features/ShareModal/ShareImage/ChatList/index.tsx +1 -1
  1572. package/src/features/ShareModal/ShareImage/Preview.tsx +2 -2
  1573. package/src/features/ShareModal/ShareImage/index.tsx +15 -1
  1574. package/src/features/ShareModal/ShareImage/type.ts +6 -0
  1575. package/src/features/ShareModal/ShareJSON/index.tsx +2 -2
  1576. package/src/features/ShareModal/ShareText/index.tsx +3 -3
  1577. package/src/features/ShareModal/index.tsx +7 -13
  1578. package/src/features/ShareModal/style.ts +40 -30
  1579. package/src/features/User/PlanTag.tsx +4 -4
  1580. package/src/features/User/UserPanel/PanelContent.tsx +11 -11
  1581. package/src/features/User/UserPanel/useMenu.tsx +24 -14
  1582. package/src/features/User/__tests__/PanelContent.test.tsx +28 -13
  1583. package/src/features/User/__tests__/UserAvatar.test.tsx +17 -6
  1584. package/src/features/User/__tests__/useMenu.test.tsx +14 -12
  1585. package/src/helpers/toolEngineering/index.test.ts +6 -3
  1586. package/src/helpers/toolEngineering/index.ts +26 -6
  1587. package/src/hooks/useAgentOwnershipCheck.ts +151 -0
  1588. package/src/hooks/useCheckPluginsIsInstalled.ts +1 -4
  1589. package/src/hooks/useDiscoverTab.ts +2 -2
  1590. package/src/hooks/useFetchGroups.ts +1 -4
  1591. package/src/hooks/useFetchInstalledPlugins.ts +1 -4
  1592. package/src/hooks/useFetchMessages.ts +1 -4
  1593. package/src/hooks/useFetchSessions.ts +1 -4
  1594. package/src/hooks/useFetchThreads.ts +1 -5
  1595. package/src/hooks/useFetchTopics.ts +1 -4
  1596. package/src/hooks/useHotkeys/chatScope.ts +16 -8
  1597. package/src/hooks/useInterceptingRoutes.test.ts +22 -44
  1598. package/src/hooks/useInterceptingRoutes.ts +6 -11
  1599. package/src/hooks/usePinnedAgentState.ts +23 -16
  1600. package/src/hooks/useQuery.ts +5 -0
  1601. package/src/hooks/useQueryParam.ts +324 -0
  1602. package/src/hooks/useQueryRoute.test.ts +2 -12
  1603. package/src/hooks/useQueryRoute.ts +5 -5
  1604. package/src/hooks/useScreenshot.ts +44 -28
  1605. package/src/hooks/useShowMobileWorkspace.ts +1 -1
  1606. package/src/hooks/useSwitchSession.ts +4 -3
  1607. package/src/instrumentation.node.ts +3 -2
  1608. package/src/layout/AuthProvider/BetterAuth/UserUpdater.tsx +51 -0
  1609. package/src/layout/AuthProvider/BetterAuth/index.tsx +14 -0
  1610. package/src/layout/AuthProvider/MarketAuth/MarketAuthConfirmModal.tsx +158 -0
  1611. package/src/layout/AuthProvider/MarketAuth/MarketAuthProvider.tsx +599 -0
  1612. package/src/layout/AuthProvider/MarketAuth/errors.ts +75 -0
  1613. package/src/layout/AuthProvider/MarketAuth/index.ts +2 -0
  1614. package/src/layout/AuthProvider/MarketAuth/oidc.ts +382 -0
  1615. package/src/layout/AuthProvider/MarketAuth/types.ts +67 -0
  1616. package/src/layout/AuthProvider/index.tsx +20 -4
  1617. package/src/layout/GlobalProvider/Cmdk.tsx +470 -0
  1618. package/src/layout/GlobalProvider/CmdkLazy.tsx +17 -0
  1619. package/src/layout/GlobalProvider/ImportSettings.tsx +22 -9
  1620. package/src/layout/GlobalProvider/StoreInitialization.tsx +12 -6
  1621. package/src/layout/GlobalProvider/index.tsx +2 -0
  1622. package/src/libs/better-auth/auth-client.ts +36 -0
  1623. package/src/libs/better-auth/constants.ts +19 -0
  1624. package/src/libs/better-auth/email-templates/index.ts +3 -0
  1625. package/src/libs/better-auth/email-templates/magic-link.ts +98 -0
  1626. package/src/libs/better-auth/email-templates/reset-password.ts +91 -0
  1627. package/src/libs/better-auth/email-templates/verification.ts +108 -0
  1628. package/src/libs/better-auth/sso/helpers.ts +61 -0
  1629. package/src/libs/better-auth/sso/index.ts +118 -0
  1630. package/src/libs/better-auth/sso/providers/apple.ts +33 -0
  1631. package/src/libs/better-auth/sso/providers/auth0.ts +33 -0
  1632. package/src/libs/better-auth/sso/providers/authelia.ts +35 -0
  1633. package/src/libs/better-auth/sso/providers/authentik.ts +35 -0
  1634. package/src/libs/better-auth/sso/providers/casdoor.ts +48 -0
  1635. package/src/libs/better-auth/sso/providers/cloudflare-zero-trust.ts +41 -0
  1636. package/src/libs/better-auth/sso/providers/cognito.ts +45 -0
  1637. package/src/libs/better-auth/sso/providers/feishu.ts +181 -0
  1638. package/src/libs/better-auth/sso/providers/generic-oidc.ts +44 -0
  1639. package/src/libs/better-auth/sso/providers/github.ts +30 -0
  1640. package/src/libs/better-auth/sso/providers/google.ts +30 -0
  1641. package/src/libs/better-auth/sso/providers/keycloak.ts +35 -0
  1642. package/src/libs/better-auth/sso/providers/logto.ts +38 -0
  1643. package/src/libs/better-auth/sso/providers/microsoft.ts +65 -0
  1644. package/src/libs/better-auth/sso/providers/okta.ts +37 -0
  1645. package/src/libs/better-auth/sso/providers/wechat.ts +140 -0
  1646. package/src/libs/better-auth/sso/providers/zitadel.ts +54 -0
  1647. package/src/libs/better-auth/sso/types.ts +25 -0
  1648. package/src/libs/better-auth/utils/client.ts +1 -0
  1649. package/src/libs/better-auth/utils/common.ts +20 -0
  1650. package/src/libs/better-auth/utils/config.ts +91 -0
  1651. package/src/libs/better-auth/utils/server.test.ts +61 -0
  1652. package/src/libs/better-auth/utils/server.ts +18 -0
  1653. package/src/libs/klavis/index.ts +36 -0
  1654. package/src/libs/mcp/__tests__/__snapshots__/index.test.ts.snap +9 -1
  1655. package/src/libs/mcp/__tests__/index.test.ts +6 -6
  1656. package/src/libs/mcp/client.ts +3 -2
  1657. package/src/libs/mcp/types.ts +79 -0
  1658. package/src/libs/next-auth/auth.config.ts +2 -5
  1659. package/src/libs/oidc-provider/adapter.ts +42 -1
  1660. package/src/libs/oidc-provider/provider.test.ts +2 -0
  1661. package/src/libs/oidc-provider/provider.ts +2 -73
  1662. package/src/libs/redis/index.ts +5 -0
  1663. package/src/libs/redis/manager.test.ts +107 -0
  1664. package/src/libs/redis/manager.ts +60 -0
  1665. package/src/libs/redis/redis.test.ts +158 -0
  1666. package/src/libs/redis/redis.ts +117 -0
  1667. package/src/libs/redis/types.ts +71 -0
  1668. package/src/libs/redis/upstash.test.ts +158 -0
  1669. package/src/libs/redis/upstash.ts +133 -0
  1670. package/src/libs/redis/utils.test.ts +46 -0
  1671. package/src/libs/redis/utils.ts +53 -0
  1672. package/src/libs/trpc/client/lambda.ts +5 -8
  1673. package/src/libs/trpc/lambda/context.test.ts +116 -0
  1674. package/src/libs/trpc/lambda/context.ts +27 -0
  1675. package/src/libs/trpc/lambda/index.ts +5 -2
  1676. package/src/libs/trpc/middleware/openTelemetry.ts +141 -0
  1677. package/src/libs/trpc/middleware/userAuth.ts +4 -2
  1678. package/src/libs/trpc/utils/request-adapter.ts +20 -0
  1679. package/src/locales/default/auth.ts +173 -4
  1680. package/src/locales/default/authError.ts +40 -0
  1681. package/src/locales/default/chat.ts +43 -0
  1682. package/src/locales/default/common.ts +24 -0
  1683. package/src/locales/default/components.ts +6 -0
  1684. package/src/locales/default/discover.ts +48 -0
  1685. package/src/locales/default/error.ts +2 -2
  1686. package/src/locales/default/file.ts +88 -5
  1687. package/src/locales/default/hotkey.ts +4 -0
  1688. package/src/locales/default/image.ts +8 -0
  1689. package/src/locales/default/index.ts +4 -0
  1690. package/src/locales/default/labs.ts +4 -0
  1691. package/src/locales/default/marketAuth.ts +55 -0
  1692. package/src/locales/default/modelProvider.ts +18 -2
  1693. package/src/locales/default/oauth.ts +1 -0
  1694. package/src/locales/default/plugin.ts +37 -16
  1695. package/src/locales/default/setting.ts +126 -1
  1696. package/src/locales/default/tool.ts +32 -5
  1697. package/src/locales/default/topic.ts +1 -0
  1698. package/src/proxy.ts +82 -5
  1699. package/src/server/globalConfig/genServerAiProviderConfig.test.ts +5 -5
  1700. package/src/server/globalConfig/genServerAiProviderConfig.ts +4 -4
  1701. package/src/server/globalConfig/index.ts +14 -1
  1702. package/src/server/globalConfig/parseFilesConfig.ts +1 -1
  1703. package/src/server/globalConfig/parseSystemAgent.ts +4 -4
  1704. package/src/server/modules/ContentChunk/index.test.ts +372 -0
  1705. package/src/server/modules/ElectronIPCClient/index.ts +59 -13
  1706. package/src/server/modules/ModelRuntime/index.ts +4 -4
  1707. package/src/server/modules/S3/index.test.ts +379 -0
  1708. package/src/server/routers/async/__tests__/caller.test.ts +333 -0
  1709. package/src/server/routers/async/caller.ts +2 -1
  1710. package/src/server/routers/async/file.ts +2 -7
  1711. package/src/server/routers/async/image.ts +20 -2
  1712. package/src/server/routers/desktop/mcp.ts +22 -9
  1713. package/src/server/routers/lambda/__tests__/aiChat.test.ts +1 -1
  1714. package/src/server/routers/lambda/__tests__/file.test.ts +85 -6
  1715. package/src/server/routers/lambda/__tests__/integration/message.integration.test.ts +771 -57
  1716. package/src/server/routers/lambda/__tests__/user.test.ts +4 -0
  1717. package/src/server/routers/lambda/aiChat.ts +3 -2
  1718. package/src/server/routers/lambda/chunk.ts +173 -41
  1719. package/src/server/routers/lambda/document.ts +57 -0
  1720. package/src/server/routers/lambda/file.ts +89 -2
  1721. package/src/server/routers/lambda/image.ts +6 -6
  1722. package/src/server/routers/lambda/index.ts +4 -0
  1723. package/src/server/routers/lambda/klavis.ts +249 -0
  1724. package/src/server/routers/lambda/knowledge.ts +94 -0
  1725. package/src/server/routers/lambda/market/index.ts +126 -16
  1726. package/src/server/routers/lambda/message.ts +52 -60
  1727. package/src/server/routers/lambda/topic.ts +7 -1
  1728. package/src/server/routers/lambda/usage.ts +36 -0
  1729. package/src/server/routers/lambda/user.ts +67 -31
  1730. package/src/server/routers/mobile/index.ts +14 -2
  1731. package/src/server/routers/tools/index.ts +2 -0
  1732. package/src/server/routers/tools/klavis.ts +80 -0
  1733. package/src/server/routers/tools/mcp.ts +23 -5
  1734. package/src/server/services/discover/index.test.ts +153 -11
  1735. package/src/server/services/discover/index.ts +473 -71
  1736. package/src/server/services/document/index.ts +103 -0
  1737. package/src/server/services/email/README.md +260 -0
  1738. package/src/server/services/email/impls/index.test.ts +39 -0
  1739. package/src/server/services/email/impls/index.ts +36 -0
  1740. package/src/server/services/email/impls/nodemailer/index.ts +108 -0
  1741. package/src/server/services/email/impls/nodemailer/type.ts +31 -0
  1742. package/src/server/services/email/impls/resend/index.ts +120 -0
  1743. package/src/server/services/email/impls/type.ts +61 -0
  1744. package/src/server/services/email/index.test.ts +144 -0
  1745. package/src/server/services/email/index.ts +48 -0
  1746. package/src/server/services/file/impls/index.ts +3 -3
  1747. package/src/server/services/file/impls/local.ts +39 -36
  1748. package/src/server/services/file/impls/s3.ts +1 -1
  1749. package/src/server/services/file/impls/type.ts +11 -11
  1750. package/src/server/services/file/index.ts +108 -13
  1751. package/src/server/services/mcp/contentProcessor.ts +101 -0
  1752. package/src/server/services/mcp/deps/MCPSystemDepsCheckService.test.ts +541 -0
  1753. package/src/server/services/mcp/deps/MCPSystemDepsCheckService.ts +3 -3
  1754. package/src/server/services/mcp/deps/checkers/ManualInstallationChecker.test.ts +162 -0
  1755. package/src/server/services/mcp/deps/checkers/NpmInstallationChecker.test.ts +374 -0
  1756. package/src/server/services/mcp/deps/checkers/PythonInstallationChecker.test.ts +368 -0
  1757. package/src/server/services/mcp/index.test.ts +84 -45
  1758. package/src/server/services/mcp/index.ts +134 -74
  1759. package/src/server/services/message/__tests__/index.test.ts +338 -0
  1760. package/src/server/services/message/index.ts +187 -0
  1761. package/src/server/services/oidc/index.test.ts +232 -0
  1762. package/src/server/services/oidc/index.ts +24 -0
  1763. package/src/server/services/usage/index.test.ts +310 -0
  1764. package/src/server/services/usage/index.ts +164 -0
  1765. package/src/server/services/user/index.ts +35 -22
  1766. package/src/server/sitemap.ts +49 -35
  1767. package/src/server/utils/createSpeechResponse.ts +55 -0
  1768. package/src/services/__tests__/_auth.test.ts +1 -4
  1769. package/src/services/__tests__/upload.test.ts +92 -82
  1770. package/src/services/_auth.ts +4 -14
  1771. package/src/services/_header.ts +3 -18
  1772. package/src/services/_url.ts +15 -1
  1773. package/src/services/aiModel/index.test.ts +3 -3
  1774. package/src/services/aiModel/index.ts +56 -2
  1775. package/src/services/aiProvider/index.test.ts +2 -2
  1776. package/src/services/aiProvider/index.ts +48 -2
  1777. package/src/services/chat/chat.test.ts +64 -19
  1778. package/src/services/chat/clientModelRuntime.test.ts +109 -173
  1779. package/src/services/chat/contextEngineering.test.ts +4 -0
  1780. package/src/services/chat/contextEngineering.ts +27 -7
  1781. package/src/services/chat/index.ts +37 -15
  1782. package/src/services/chat/types.ts +1 -2
  1783. package/src/services/chatGroup/index.ts +66 -2
  1784. package/src/services/config.ts +2 -2
  1785. package/src/services/debug.ts +4 -4
  1786. package/src/services/discover.ts +29 -18
  1787. package/src/services/document/index.ts +44 -0
  1788. package/src/services/electron/__tests__/devtools.test.ts +10 -6
  1789. package/src/services/electron/autoUpdate.ts +5 -5
  1790. package/src/services/electron/desktopNotification.ts +10 -13
  1791. package/src/services/electron/devtools.ts +2 -2
  1792. package/src/services/electron/file.ts +9 -8
  1793. package/src/services/electron/localFileService.ts +21 -16
  1794. package/src/services/electron/remoteServer.ts +17 -9
  1795. package/src/services/electron/settings.ts +15 -17
  1796. package/src/services/electron/system.ts +8 -6
  1797. package/src/services/export/index.ts +10 -2
  1798. package/src/services/file/index.ts +72 -2
  1799. package/src/services/import/index.test.ts +658 -0
  1800. package/src/services/import/index.ts +133 -2
  1801. package/src/services/marketApi.ts +124 -0
  1802. package/src/services/mcp.test.ts +783 -0
  1803. package/src/services/mcp.ts +76 -25
  1804. package/src/services/message/__tests__/metadata-race-condition.test.ts +157 -0
  1805. package/src/services/message/index.ts +237 -2
  1806. package/src/services/message/server.test.ts +44 -0
  1807. package/src/services/models.ts +22 -21
  1808. package/src/services/plugin/index.test.ts +8 -0
  1809. package/src/services/plugin/index.ts +53 -2
  1810. package/src/services/rag.ts +6 -2
  1811. package/src/services/search.ts +2 -2
  1812. package/src/services/session/index.test.ts +8 -0
  1813. package/src/services/session/index.ts +131 -2
  1814. package/src/services/thread/index.test.ts +8 -0
  1815. package/src/services/thread/index.ts +38 -2
  1816. package/src/services/topic/index.test.ts +8 -0
  1817. package/src/services/topic/index.ts +76 -2
  1818. package/src/services/upload.ts +14 -43
  1819. package/src/services/usage.ts +13 -0
  1820. package/src/services/user/index.test.ts +168 -0
  1821. package/src/services/user/index.ts +60 -2
  1822. package/src/services/utils/abortableRequest.test.ts +161 -0
  1823. package/src/services/utils/abortableRequest.ts +67 -0
  1824. package/src/store/agent/slices/chat/selectors/agent.ts +4 -0
  1825. package/src/store/agent/slices/chat/selectors/chatConfig.ts +4 -3
  1826. package/src/store/aiInfra/slices/aiModel/action.test.ts +17 -9
  1827. package/src/store/aiInfra/slices/aiProvider/__tests__/action.test.ts +125 -229
  1828. package/src/store/aiInfra/slices/aiProvider/__tests__/selectors.test.ts +77 -7
  1829. package/src/store/aiInfra/slices/aiProvider/action.ts +139 -41
  1830. package/src/store/aiInfra/slices/aiProvider/selectors.ts +7 -3
  1831. package/src/store/aiInfra/store.ts +2 -2
  1832. package/src/store/chat/agents/GeneralChatAgent.ts +391 -0
  1833. package/src/store/chat/agents/__tests__/GeneralChatAgent.test.ts +1144 -0
  1834. package/src/store/chat/agents/__tests__/createAgentExecutors/call-llm.test.ts +1235 -0
  1835. package/src/store/chat/agents/__tests__/createAgentExecutors/call-tool.test.ts +2005 -0
  1836. package/src/store/chat/agents/__tests__/createAgentExecutors/finish.test.ts +453 -0
  1837. package/src/store/chat/agents/__tests__/createAgentExecutors/fixtures/index.ts +4 -0
  1838. package/src/store/chat/agents/__tests__/createAgentExecutors/fixtures/mockInstructions.ts +126 -0
  1839. package/src/store/chat/agents/__tests__/createAgentExecutors/fixtures/mockMessages.ts +94 -0
  1840. package/src/store/chat/agents/__tests__/createAgentExecutors/fixtures/mockOperations.ts +96 -0
  1841. package/src/store/chat/agents/__tests__/createAgentExecutors/fixtures/mockStore.ts +138 -0
  1842. package/src/store/chat/agents/__tests__/createAgentExecutors/helpers/assertions.ts +188 -0
  1843. package/src/store/chat/agents/__tests__/createAgentExecutors/helpers/index.ts +3 -0
  1844. package/src/store/chat/agents/__tests__/createAgentExecutors/helpers/operationTestUtils.ts +94 -0
  1845. package/src/store/chat/agents/__tests__/createAgentExecutors/helpers/testExecutor.ts +136 -0
  1846. package/src/store/chat/agents/__tests__/createAgentExecutors/request-human-approve.test.ts +560 -0
  1847. package/src/store/chat/agents/__tests__/createAgentExecutors/resolve-aborted-tools.test.ts +712 -0
  1848. package/src/store/chat/agents/createAgentExecutors.ts +770 -0
  1849. package/src/store/chat/helpers.test.ts +0 -99
  1850. package/src/store/chat/helpers.ts +0 -11
  1851. package/src/store/chat/initialState.ts +4 -1
  1852. package/src/store/chat/selectors.ts +1 -0
  1853. package/src/store/chat/slices/aiChat/__tests__/ai-chat.integration.test.ts +667 -0
  1854. package/src/store/chat/slices/aiChat/actions/__tests__/cancel-functionality.test.ts +137 -27
  1855. package/src/store/chat/slices/aiChat/actions/__tests__/conversationControl.test.ts +370 -0
  1856. package/src/store/chat/slices/aiChat/actions/__tests__/conversationLifecycle.test.ts +281 -0
  1857. package/src/store/chat/slices/aiChat/actions/__tests__/fixtures.ts +0 -2
  1858. package/src/store/chat/slices/aiChat/actions/__tests__/helpers.ts +16 -7
  1859. package/src/store/chat/slices/aiChat/actions/__tests__/rag.test.ts +4 -91
  1860. package/src/store/chat/slices/aiChat/actions/__tests__/streamingExecutor.test.ts +809 -0
  1861. package/src/store/chat/slices/aiChat/actions/__tests__/streamingStates.test.ts +67 -0
  1862. package/src/store/chat/slices/aiChat/actions/conversationControl.ts +220 -0
  1863. package/src/store/chat/slices/aiChat/actions/conversationLifecycle.ts +415 -0
  1864. package/src/store/chat/slices/aiChat/actions/generateAIGroupChat.ts +24 -39
  1865. package/src/store/chat/slices/aiChat/actions/index.ts +12 -6
  1866. package/src/store/chat/slices/aiChat/actions/rag.ts +4 -48
  1867. package/src/store/chat/slices/aiChat/actions/streamingExecutor.ts +1074 -0
  1868. package/src/store/chat/slices/aiChat/actions/streamingStates.ts +50 -0
  1869. package/src/store/chat/slices/aiChat/initialState.ts +0 -28
  1870. package/src/store/chat/slices/aiChat/selectors.test.ts +280 -0
  1871. package/src/store/chat/slices/aiChat/selectors.ts +31 -7
  1872. package/src/store/chat/slices/builtinTool/actions/__tests__/localSystem.test.ts +29 -39
  1873. package/src/store/chat/slices/builtinTool/actions/__tests__/search.test.ts +236 -48
  1874. package/src/store/chat/slices/builtinTool/actions/index.ts +4 -1
  1875. package/src/store/chat/slices/builtinTool/actions/interpreter.ts +86 -51
  1876. package/src/store/chat/slices/builtinTool/actions/knowledgeBase.ts +163 -0
  1877. package/src/store/chat/slices/builtinTool/actions/localSystem.ts +119 -202
  1878. package/src/store/chat/slices/builtinTool/actions/search.ts +174 -58
  1879. package/src/store/chat/slices/builtinTool/selectors.test.ts +258 -0
  1880. package/src/store/chat/slices/builtinTool/selectors.ts +25 -4
  1881. package/src/store/chat/slices/message/action.test.ts +482 -63
  1882. package/src/store/chat/slices/message/actions/index.ts +39 -0
  1883. package/src/store/chat/slices/message/actions/internals.ts +103 -0
  1884. package/src/store/chat/slices/message/actions/optimisticUpdate.ts +343 -0
  1885. package/src/store/chat/slices/message/actions/publicApi.ts +284 -0
  1886. package/src/store/chat/slices/message/actions/query.ts +135 -0
  1887. package/src/store/chat/slices/message/actions/runtimeState.ts +108 -0
  1888. package/src/store/chat/slices/message/initialState.ts +8 -0
  1889. package/src/store/chat/slices/message/reducer.test.ts +48 -370
  1890. package/src/store/chat/slices/message/reducer.ts +19 -82
  1891. package/src/store/chat/slices/message/selectors/chat.test.ts +22 -639
  1892. package/src/store/chat/slices/message/selectors/chat.ts +77 -243
  1893. package/src/store/chat/slices/message/selectors/dbMessage.test.ts +51 -0
  1894. package/src/store/chat/slices/message/selectors/dbMessage.ts +147 -0
  1895. package/src/store/chat/slices/message/selectors/displayMessage.test.ts +818 -0
  1896. package/src/store/chat/slices/message/selectors/displayMessage.ts +352 -0
  1897. package/src/store/chat/slices/message/selectors/messageState.ts +46 -12
  1898. package/src/store/chat/slices/operation/__tests__/actions.test.ts +1049 -0
  1899. package/src/store/chat/slices/operation/__tests__/integration.test.ts +342 -0
  1900. package/src/store/chat/slices/operation/__tests__/selectors.test.ts +601 -0
  1901. package/src/store/chat/slices/operation/actions.ts +658 -0
  1902. package/src/store/chat/slices/operation/index.ts +4 -0
  1903. package/src/store/chat/slices/operation/initialState.ts +44 -0
  1904. package/src/store/chat/slices/operation/selectors.ts +388 -0
  1905. package/src/store/chat/slices/operation/types.ts +161 -0
  1906. package/src/store/chat/slices/plugin/action.test.ts +320 -353
  1907. package/src/store/chat/slices/plugin/actions/index.ts +39 -0
  1908. package/src/store/chat/slices/plugin/actions/internals.ts +89 -0
  1909. package/src/store/chat/slices/plugin/actions/optimisticUpdate.ts +258 -0
  1910. package/src/store/chat/slices/plugin/actions/pluginTypes.ts +372 -0
  1911. package/src/store/chat/slices/plugin/actions/publicApi.ts +119 -0
  1912. package/src/store/chat/slices/plugin/actions/workflow.ts +77 -0
  1913. package/src/store/chat/slices/portal/selectors.test.ts +7 -7
  1914. package/src/store/chat/slices/portal/selectors.ts +2 -2
  1915. package/src/store/chat/slices/thread/action.test.ts +38 -33
  1916. package/src/store/chat/slices/thread/action.ts +20 -14
  1917. package/src/store/chat/slices/thread/initialState.ts +1 -1
  1918. package/src/store/chat/slices/thread/selectors/index.ts +12 -8
  1919. package/src/store/chat/slices/thread/selectors/util.ts +1 -1
  1920. package/src/store/chat/slices/topic/action.test.ts +1 -1
  1921. package/src/store/chat/slices/topic/action.ts +4 -5
  1922. package/src/store/chat/slices/topic/reducer.ts +12 -5
  1923. package/src/store/chat/slices/translate/action.test.ts +26 -32
  1924. package/src/store/chat/slices/translate/action.ts +57 -44
  1925. package/src/store/chat/store.ts +8 -5
  1926. package/src/store/discover/slices/assistant/action.ts +20 -7
  1927. package/src/store/discover/store.ts +2 -2
  1928. package/src/store/electron/store.ts +2 -2
  1929. package/src/store/file/initialState.ts +6 -1
  1930. package/src/store/file/slices/chat/action.ts +3 -6
  1931. package/src/store/file/slices/document/action.ts +359 -0
  1932. package/src/store/file/slices/document/index.ts +3 -0
  1933. package/src/store/file/slices/document/initialState.ts +22 -0
  1934. package/src/store/file/slices/document/selectors.ts +25 -0
  1935. package/src/store/file/slices/fileManager/action.test.ts +16 -9
  1936. package/src/store/file/slices/fileManager/action.ts +12 -13
  1937. package/src/store/file/store.ts +5 -2
  1938. package/src/store/global/action.test.ts +3 -3
  1939. package/src/store/global/actions/general.ts +8 -10
  1940. package/src/store/global/actions/workspacePane.ts +2 -1
  1941. package/src/store/global/initialState.ts +16 -3
  1942. package/src/store/global/selectors/systemStatus.test.ts +0 -98
  1943. package/src/store/global/selectors/systemStatus.ts +9 -30
  1944. package/src/store/global/store.ts +2 -2
  1945. package/src/store/knowledgeBase/store.ts +2 -2
  1946. package/src/store/serverConfig/action.ts +5 -1
  1947. package/src/store/serverConfig/index.ts +1 -1
  1948. package/src/store/serverConfig/selectors.test.ts +2 -2
  1949. package/src/store/serverConfig/selectors.ts +1 -0
  1950. package/src/store/serverConfig/store.test.ts +0 -1
  1951. package/src/store/serverConfig/store.ts +4 -2
  1952. package/src/store/session/slices/session/action.ts +23 -0
  1953. package/src/store/session/slices/session/initialState.ts +6 -0
  1954. package/src/store/session/slices/sessionGroup/action.test.ts +5 -5
  1955. package/src/store/session/store.ts +2 -2
  1956. package/src/store/test-coverage.md +19 -19
  1957. package/src/store/tool/initialState.ts +4 -1
  1958. package/src/store/tool/selectors/index.ts +1 -0
  1959. package/src/store/tool/slices/builtin/selectors.ts +25 -3
  1960. package/src/store/tool/slices/klavisStore/action.test.ts +512 -0
  1961. package/src/store/tool/slices/klavisStore/action.ts +375 -0
  1962. package/src/store/tool/slices/klavisStore/index.ts +4 -0
  1963. package/src/store/tool/slices/klavisStore/initialState.ts +25 -0
  1964. package/src/store/tool/slices/klavisStore/selectors.test.ts +371 -0
  1965. package/src/store/tool/slices/klavisStore/selectors.ts +123 -0
  1966. package/src/store/tool/slices/klavisStore/types.ts +100 -0
  1967. package/src/store/tool/slices/mcpStore/action.test.ts +236 -3
  1968. package/src/store/tool/slices/mcpStore/action.ts +320 -54
  1969. package/src/store/tool/slices/oldStore/initialState.ts +1 -2
  1970. package/src/store/tool/slices/plugin/selectors.ts +16 -13
  1971. package/src/store/tool/store.ts +6 -3
  1972. package/src/store/urlHydration/action.ts +56 -0
  1973. package/src/store/urlHydration/index.ts +1 -0
  1974. package/src/store/urlHydration/initialState.ts +12 -0
  1975. package/src/store/urlHydration/store.ts +28 -0
  1976. package/src/store/user/selectors.ts +2 -1
  1977. package/src/store/user/slices/auth/action.test.ts +213 -16
  1978. package/src/store/user/slices/auth/action.ts +86 -1
  1979. package/src/store/user/slices/auth/initialState.ts +13 -2
  1980. package/src/store/user/slices/auth/selectors.ts +6 -2
  1981. package/src/store/user/slices/common/action.test.ts +1 -1
  1982. package/src/store/user/slices/common/action.ts +15 -1
  1983. package/src/store/user/slices/preference/action.ts +8 -1
  1984. package/src/store/user/slices/preference/selectors/index.ts +2 -0
  1985. package/src/store/user/slices/preference/selectors/labPrefer.ts +10 -0
  1986. package/src/store/user/slices/preference/selectors/preference.ts +32 -0
  1987. package/src/store/user/slices/settings/action.ts +27 -0
  1988. package/src/store/user/slices/settings/selectors/__snapshots__/settings.test.ts.snap +0 -7
  1989. package/src/store/user/slices/settings/selectors/general.ts +8 -0
  1990. package/src/store/user/slices/settings/selectors/index.ts +1 -0
  1991. package/src/store/user/slices/settings/selectors/keyVaults.ts +0 -5
  1992. package/src/store/user/slices/settings/selectors/settings.test.ts +0 -37
  1993. package/src/store/user/slices/settings/selectors/settings.ts +0 -5
  1994. package/src/store/user/slices/settings/selectors/toolIntervention.ts +17 -0
  1995. package/src/store/user/store.ts +2 -2
  1996. package/src/tools/code-interpreter/Render/index.tsx +1 -1
  1997. package/src/tools/executionRuntimes.ts +6 -0
  1998. package/src/tools/identifiers.ts +13 -0
  1999. package/src/tools/index.ts +7 -0
  2000. package/src/tools/interventions.ts +30 -0
  2001. package/src/tools/knowledge-base/ExecutionRuntime/index.ts +96 -0
  2002. package/src/tools/knowledge-base/Render/ReadKnowledge/FileCard.tsx +135 -0
  2003. package/src/tools/knowledge-base/Render/ReadKnowledge/index.tsx +27 -0
  2004. package/src/tools/knowledge-base/Render/SearchKnowledgeBase/Item/index.tsx +54 -0
  2005. package/src/tools/knowledge-base/Render/SearchKnowledgeBase/Item/style.ts +51 -0
  2006. package/src/tools/knowledge-base/Render/SearchKnowledgeBase/index.tsx +23 -0
  2007. package/src/tools/knowledge-base/Render/index.ts +7 -0
  2008. package/src/tools/knowledge-base/index.ts +64 -0
  2009. package/src/tools/knowledge-base/systemRole.ts +102 -0
  2010. package/src/tools/knowledge-base/type.ts +25 -0
  2011. package/src/tools/local-system/ExecutionRuntime/index.ts +407 -0
  2012. package/src/tools/local-system/Intervention/EditLocalFile/index.tsx +89 -0
  2013. package/src/tools/local-system/Intervention/MoveLocalFiles/MoveFileItem.tsx +56 -0
  2014. package/src/tools/local-system/Intervention/MoveLocalFiles/index.tsx +26 -0
  2015. package/src/tools/local-system/Intervention/RunCommand/index.tsx +54 -0
  2016. package/src/tools/local-system/Intervention/WriteFile/index.tsx +72 -0
  2017. package/src/tools/local-system/Intervention/index.ts +15 -0
  2018. package/src/tools/local-system/Placeholder/ListFiles.tsx +3 -5
  2019. package/src/tools/local-system/Placeholder/SearchFiles.tsx +2 -5
  2020. package/src/tools/local-system/Render/EditLocalFile/index.tsx +67 -0
  2021. package/src/tools/local-system/Render/ListFiles/index.tsx +16 -21
  2022. package/src/tools/local-system/Render/MoveLocalFiles/MoveFileItem.tsx +56 -0
  2023. package/src/tools/local-system/Render/MoveLocalFiles/index.tsx +26 -0
  2024. package/src/tools/local-system/Render/ReadLocalFile/ReadFileView.tsx +55 -79
  2025. package/src/tools/local-system/Render/RenameLocalFile/index.tsx +15 -20
  2026. package/src/tools/local-system/Render/RunCommand/index.tsx +103 -27
  2027. package/src/tools/local-system/Render/SearchFiles/SearchQuery/index.tsx +0 -1
  2028. package/src/tools/local-system/Render/SearchFiles/index.tsx +15 -20
  2029. package/src/tools/local-system/Render/WriteFile/index.tsx +2 -8
  2030. package/src/tools/local-system/Render/index.ts +23 -0
  2031. package/src/tools/local-system/index.ts +186 -4
  2032. package/src/tools/local-system/systemRole.ts +62 -8
  2033. package/src/tools/local-system/type.ts +4 -3
  2034. package/src/tools/placeholders.ts +39 -8
  2035. package/src/tools/renders.ts +39 -6
  2036. package/src/tools/web-browsing/ExecutionRuntime/index.ts +5 -2
  2037. package/src/tools/web-browsing/Placeholder/CrawlMultiPages.tsx +30 -0
  2038. package/src/tools/web-browsing/Placeholder/CrawlSinglePage.tsx +12 -0
  2039. package/src/tools/web-browsing/Placeholder/Search.tsx +4 -4
  2040. package/src/tools/web-browsing/Portal/Search/Footer.tsx +11 -9
  2041. package/src/tools/web-browsing/Render/CrawlMultiPages.tsx +15 -0
  2042. package/src/tools/web-browsing/Render/CrawlSinglePage.tsx +15 -0
  2043. package/src/tools/web-browsing/Render/Search/index.tsx +39 -44
  2044. package/src/tools/web-browsing/Render/index.ts +13 -0
  2045. package/src/utils/electron/desktopRemoteRPCFetch.ts +88 -0
  2046. package/src/utils/electron/ipc.ts +12 -0
  2047. package/src/utils/server/parseModels.ts +212 -0
  2048. package/src/utils/server/routeVariants.test.ts +340 -0
  2049. package/src/utils/server/routeVariants.ts +10 -10
  2050. package/tsconfig.json +5 -0
  2051. package/vitest.config.mts +2 -0
  2052. package/.github/workflows/desktop-pr-build.yml +0 -358
  2053. package/.github/workflows/docker.yml +0 -186
  2054. package/Dockerfile.lite +0 -272
  2055. package/apps/desktop/src/main/types/ipcClientEvent.ts +0 -3
  2056. package/packages/const/src/models.ts +0 -85
  2057. package/packages/context-engine/ARCHITECTURE.md +0 -425
  2058. package/packages/database/src/models/__tests__/message.grouping.test.ts +0 -812
  2059. package/packages/database/src/models/__tests__/message.test.ts +0 -2704
  2060. package/packages/database/src/schemas/document.ts +0 -106
  2061. package/packages/database/src/utils/__tests__/groupMessages.test.ts +0 -1132
  2062. package/packages/database/src/utils/groupMessages.ts +0 -361
  2063. package/packages/electron-client-ipc/src/dispatch.ts +0 -41
  2064. package/packages/model-runtime/src/utils/imageToBase64.test.ts +0 -91
  2065. package/packages/model-runtime/src/utils/imageToBase64.ts +0 -62
  2066. package/packages/utils/src/electron/desktopRemoteRPCFetch.ts +0 -87
  2067. package/packages/utils/src/fetch/__tests__/fetchSSE.test.ts +0 -579
  2068. package/packages/utils/src/fetch/__tests__/parseError.test.ts +0 -88
  2069. package/packages/utils/src/fetch/fetchSSE.ts +0 -477
  2070. package/packages/utils/src/fetch/headers.ts +0 -27
  2071. package/packages/utils/src/fetch/parseError.ts +0 -24
  2072. package/packages/utils/src/fetch/request.ts +0 -28
  2073. package/packages/utils/src/parseModels.ts +0 -213
  2074. package/packages/utils/src/tokenizer/client.ts +0 -35
  2075. package/packages/utils/src/tokenizer/estimated.ts +0 -4
  2076. package/packages/utils/src/tokenizer/server.ts +0 -11
  2077. package/packages/utils/src/tokenizer/tokenizer.worker.ts +0 -12
  2078. package/src/app/(backend)/api/auth/[...nextauth]/route.ts +0 -3
  2079. package/src/app/(backend)/webapi/chat/azureai/route.test.ts +0 -25
  2080. package/src/app/(backend)/webapi/chat/azureai/route.ts +0 -6
  2081. package/src/app/(backend)/webapi/tokenizer/index.test.ts +0 -32
  2082. package/src/app/(backend)/webapi/tokenizer/route.ts +0 -8
  2083. package/src/app/[variants]/(main)/(mobile)/me/(home)/loading.tsx +0 -38
  2084. package/src/app/[variants]/(main)/(mobile)/me/(home)/page.tsx +0 -40
  2085. package/src/app/[variants]/(main)/(mobile)/me/profile/loading.tsx +0 -5
  2086. package/src/app/[variants]/(main)/(mobile)/me/profile/page.tsx +0 -30
  2087. package/src/app/[variants]/(main)/(mobile)/me/settings/loading.tsx +0 -5
  2088. package/src/app/[variants]/(main)/(mobile)/me/settings/page.tsx +0 -30
  2089. package/src/app/[variants]/(main)/_layout/Desktop/DesktopLayoutContainer.tsx +0 -32
  2090. package/src/app/[variants]/(main)/_layout/Desktop/SideBar/BottomActions.tsx +0 -46
  2091. package/src/app/[variants]/(main)/_layout/Desktop/SideBar/PinList/index.tsx +0 -119
  2092. package/src/app/[variants]/(main)/_layout/Desktop/SideBar/TopActions.test.tsx +0 -141
  2093. package/src/app/[variants]/(main)/_layout/Desktop/SideBar/TopActions.tsx +0 -109
  2094. package/src/app/[variants]/(main)/_layout/Desktop/index.tsx +0 -68
  2095. package/src/app/[variants]/(main)/_layout/Mobile/NavBar.tsx +0 -88
  2096. package/src/app/[variants]/(main)/_layout/Mobile/index.tsx +0 -43
  2097. package/src/app/[variants]/(main)/changelog/layout.tsx +0 -10
  2098. package/src/app/[variants]/(main)/changelog/modal/page.tsx +0 -23
  2099. package/src/app/[variants]/(main)/changelog/page.tsx +0 -78
  2100. package/src/app/[variants]/(main)/chat/(workspace)/@conversation/features/ChatHydration/index.tsx +0 -42
  2101. package/src/app/[variants]/(main)/chat/(workspace)/@conversation/features/ChatInput/Desktop/ClassicChat.tsx +0 -81
  2102. package/src/app/[variants]/(main)/chat/(workspace)/@conversation/features/ChatInput/Desktop/GroupChat.tsx +0 -126
  2103. package/src/app/[variants]/(main)/chat/(workspace)/@conversation/features/ChatInput/Desktop/MessageFromUrl.tsx +0 -32
  2104. package/src/app/[variants]/(main)/chat/(workspace)/@conversation/features/ChatInput/Desktop/index.tsx +0 -17
  2105. package/src/app/[variants]/(main)/chat/(workspace)/@conversation/features/ChatInput/V1Mobile/index.tsx +0 -89
  2106. package/src/app/[variants]/(main)/chat/(workspace)/@conversation/features/ChatInput/V1Mobile/useSend.ts +0 -104
  2107. package/src/app/[variants]/(main)/chat/(workspace)/@conversation/features/ChatInput/useSend.ts +0 -321
  2108. package/src/app/[variants]/(main)/chat/(workspace)/@conversation/features/ChatList/ChatItem/Thread.tsx +0 -62
  2109. package/src/app/[variants]/(main)/chat/(workspace)/@conversation/features/ChatList/ChatItem/index.tsx +0 -91
  2110. package/src/app/[variants]/(main)/chat/(workspace)/@conversation/features/ChatList/Content.tsx +0 -43
  2111. package/src/app/[variants]/(main)/chat/(workspace)/@conversation/features/ChatList/WelcomeChatItem/AgentWelcome/OpeningQuestions.tsx +0 -75
  2112. package/src/app/[variants]/(main)/chat/(workspace)/@conversation/features/ChatList/WelcomeChatItem/GroupWelcome/GroupUsageSuggest.tsx +0 -164
  2113. package/src/app/[variants]/(main)/chat/(workspace)/@conversation/features/ChatList/index.tsx +0 -28
  2114. package/src/app/[variants]/(main)/chat/(workspace)/@conversation/features/ChatMinimap/index.tsx +0 -385
  2115. package/src/app/[variants]/(main)/chat/(workspace)/@conversation/features/ThreadHydration.tsx +0 -45
  2116. package/src/app/[variants]/(main)/chat/(workspace)/@topic/features/Topic/TopicListContent/TopicItem/TopicContent.tsx +0 -241
  2117. package/src/app/[variants]/(main)/chat/(workspace)/@topic/features/Topic/TopicListContent/TopicItem/index.tsx +0 -97
  2118. package/src/app/[variants]/(main)/chat/(workspace)/layout.ts +0 -11
  2119. package/src/app/[variants]/(main)/chat/(workspace)/page.tsx +0 -53
  2120. package/src/app/[variants]/(main)/chat/@session/_layout/Mobile/SessionHeader.tsx +0 -44
  2121. package/src/app/[variants]/(main)/chat/@session/default.tsx +0 -31
  2122. package/src/app/[variants]/(main)/chat/@session/features/SessionHydration.tsx +0 -45
  2123. package/src/app/[variants]/(main)/chat/@session/features/SessionListContent/Inbox/index.tsx +0 -63
  2124. package/src/app/[variants]/(main)/chat/@session/features/SessionListContent/List/Item/Actions.tsx +0 -204
  2125. package/src/app/[variants]/(main)/chat/@session/features/SessionListContent/List/Item/index.tsx +0 -158
  2126. package/src/app/[variants]/(main)/chat/@session/features/SessionListContent/List/index.tsx +0 -100
  2127. package/src/app/[variants]/(main)/chat/error.tsx +0 -3
  2128. package/src/app/[variants]/(main)/chat/layout.ts +0 -11
  2129. package/src/app/[variants]/(main)/chat/not-found.tsx +0 -1
  2130. package/src/app/[variants]/(main)/chat/settings/error.tsx +0 -3
  2131. package/src/app/[variants]/(main)/chat/settings/features/SubmitAgentButton/SubmitAgentModal.tsx +0 -98
  2132. package/src/app/[variants]/(main)/chat/settings/features/SubmitAgentButton/index.tsx +0 -35
  2133. package/src/app/[variants]/(main)/chat/settings/features/SubmitAgentButton/style.ts +0 -47
  2134. package/src/app/[variants]/(main)/chat/settings/layout.tsx +0 -21
  2135. package/src/app/[variants]/(main)/chat/settings/loading.tsx +0 -3
  2136. package/src/app/[variants]/(main)/chat/settings/not-found.tsx +0 -1
  2137. package/src/app/[variants]/(main)/chat/settings/page.tsx +0 -62
  2138. package/src/app/[variants]/(main)/discover/(detail)/_layout/Desktop.tsx +0 -30
  2139. package/src/app/[variants]/(main)/discover/(detail)/_layout/DetailLayout.tsx +0 -22
  2140. package/src/app/[variants]/(main)/discover/(detail)/assistant/AssistantDetailPage.tsx +0 -47
  2141. package/src/app/[variants]/(main)/discover/(detail)/assistant/[...slugs]/Client.tsx +0 -40
  2142. package/src/app/[variants]/(main)/discover/(detail)/assistant/[...slugs]/features/Details/Capabilities/Block.tsx +0 -27
  2143. package/src/app/[variants]/(main)/discover/(detail)/assistant/[...slugs]/features/Details/Capabilities/PluginItem.tsx +0 -68
  2144. package/src/app/[variants]/(main)/discover/(detail)/assistant/[...slugs]/features/Details/Capabilities/Plugins.tsx +0 -32
  2145. package/src/app/[variants]/(main)/discover/(detail)/assistant/[...slugs]/features/Details/Nav.tsx +0 -122
  2146. package/src/app/[variants]/(main)/discover/(detail)/assistant/[...slugs]/features/Details/Overview/TagList.tsx +0 -47
  2147. package/src/app/[variants]/(main)/discover/(detail)/assistant/[...slugs]/features/Details/Overview/index.tsx +0 -96
  2148. package/src/app/[variants]/(main)/discover/(detail)/assistant/[...slugs]/features/Details/Related/index.tsx +0 -31
  2149. package/src/app/[variants]/(main)/discover/(detail)/assistant/[...slugs]/features/Details/SystemRole/TagList.tsx +0 -47
  2150. package/src/app/[variants]/(main)/discover/(detail)/assistant/[...slugs]/features/Details/SystemRole/index.tsx +0 -54
  2151. package/src/app/[variants]/(main)/discover/(detail)/assistant/[...slugs]/features/Details/index.tsx +0 -49
  2152. package/src/app/[variants]/(main)/discover/(detail)/assistant/[...slugs]/features/Header.tsx +0 -177
  2153. package/src/app/[variants]/(main)/discover/(detail)/assistant/[...slugs]/features/Sidebar/ActionButton/AddAgent.tsx +0 -87
  2154. package/src/app/[variants]/(main)/discover/(detail)/assistant/[...slugs]/features/Sidebar/ActionButton/index.tsx +0 -31
  2155. package/src/app/[variants]/(main)/discover/(detail)/assistant/[...slugs]/features/Sidebar/Related/index.tsx +0 -43
  2156. package/src/app/[variants]/(main)/discover/(detail)/assistant/[...slugs]/features/Sidebar/TocList/index.tsx +0 -77
  2157. package/src/app/[variants]/(main)/discover/(detail)/mcp/McpDetailPage.tsx +0 -51
  2158. package/src/app/[variants]/(main)/discover/(detail)/mcp/[slug]/Client.tsx +0 -43
  2159. package/src/app/[variants]/(main)/discover/(detail)/mcp/[slug]/features/Details/Related/index.tsx +0 -32
  2160. package/src/app/[variants]/(main)/discover/(detail)/mcp/[slug]/features/Details/Versions/index.tsx +0 -76
  2161. package/src/app/[variants]/(main)/discover/(detail)/mcp/[slug]/features/Details/index.tsx +0 -59
  2162. package/src/app/[variants]/(main)/discover/(detail)/mcp/[slug]/features/Sidebar/ActionButton/index.tsx +0 -83
  2163. package/src/app/[variants]/(main)/discover/(detail)/mcp/[slug]/features/Sidebar/Related/index.tsx +0 -44
  2164. package/src/app/[variants]/(main)/discover/(detail)/mcp/[slug]/features/Sidebar/ServerConfig.tsx +0 -36
  2165. package/src/app/[variants]/(main)/discover/(detail)/mcp/[slug]/features/Sidebar/TocList/index.tsx +0 -98
  2166. package/src/app/[variants]/(main)/discover/(detail)/mcp/[slug]/loading.tsx +0 -1
  2167. package/src/app/[variants]/(main)/discover/(detail)/model/ModelDetailPage.tsx +0 -44
  2168. package/src/app/[variants]/(main)/discover/(detail)/model/[...slugs]/Client.tsx +0 -40
  2169. package/src/app/[variants]/(main)/discover/(detail)/model/[...slugs]/features/Details/Overview/index.tsx +0 -22
  2170. package/src/app/[variants]/(main)/discover/(detail)/model/[...slugs]/features/Details/Parameter/ParameterItem.tsx +0 -71
  2171. package/src/app/[variants]/(main)/discover/(detail)/model/[...slugs]/features/Details/Related/index.tsx +0 -31
  2172. package/src/app/[variants]/(main)/discover/(detail)/model/[...slugs]/features/Details/index.tsx +0 -47
  2173. package/src/app/[variants]/(main)/discover/(detail)/model/[...slugs]/features/Header.tsx +0 -112
  2174. package/src/app/[variants]/(main)/discover/(detail)/model/[...slugs]/features/Sidebar/ActionButton/ChatWithModel.tsx +0 -92
  2175. package/src/app/[variants]/(main)/discover/(detail)/model/[...slugs]/features/Sidebar/ActionButton/index.tsx +0 -32
  2176. package/src/app/[variants]/(main)/discover/(detail)/model/[...slugs]/features/Sidebar/Related/index.tsx +0 -43
  2177. package/src/app/[variants]/(main)/discover/(detail)/model/[...slugs]/features/Sidebar/RelatedProviders/index.tsx +0 -34
  2178. package/src/app/[variants]/(main)/discover/(detail)/model/[...slugs]/loading.tsx +0 -1
  2179. package/src/app/[variants]/(main)/discover/(detail)/provider/ProviderDetailPage.tsx +0 -44
  2180. package/src/app/[variants]/(main)/discover/(detail)/provider/[...slugs]/Client.tsx +0 -40
  2181. package/src/app/[variants]/(main)/discover/(detail)/provider/[...slugs]/features/Details/Related/index.tsx +0 -22
  2182. package/src/app/[variants]/(main)/discover/(detail)/provider/[...slugs]/features/Details/index.tsx +0 -47
  2183. package/src/app/[variants]/(main)/discover/(detail)/provider/[...slugs]/features/Sidebar/ActionButton/ProviderConfig.tsx +0 -97
  2184. package/src/app/[variants]/(main)/discover/(detail)/provider/[...slugs]/features/Sidebar/ActionButton/index.tsx +0 -45
  2185. package/src/app/[variants]/(main)/discover/(detail)/provider/[...slugs]/features/Sidebar/Related/index.tsx +0 -34
  2186. package/src/app/[variants]/(main)/discover/(detail)/provider/[...slugs]/features/Sidebar/RelatedModels/index.tsx +0 -43
  2187. package/src/app/[variants]/(main)/discover/(detail)/provider/[...slugs]/loading.tsx +0 -1
  2188. package/src/app/[variants]/(main)/discover/(list)/(home)/HomePage.tsx +0 -45
  2189. package/src/app/[variants]/(main)/discover/(list)/_layout/ListLayout.tsx +0 -22
  2190. package/src/app/[variants]/(main)/discover/(list)/assistant/AssistantLayout.tsx +0 -21
  2191. package/src/app/[variants]/(main)/discover/(list)/assistant/AssistantPage.tsx +0 -44
  2192. package/src/app/[variants]/(main)/discover/(list)/mcp/Client.tsx +0 -44
  2193. package/src/app/[variants]/(main)/discover/(list)/mcp/McpLayout.tsx +0 -21
  2194. package/src/app/[variants]/(main)/discover/(list)/mcp/McpPage.tsx +0 -44
  2195. package/src/app/[variants]/(main)/discover/(list)/model/Client.tsx +0 -44
  2196. package/src/app/[variants]/(main)/discover/(list)/model/ModelLayout.tsx +0 -21
  2197. package/src/app/[variants]/(main)/discover/(list)/model/ModelPage.tsx +0 -44
  2198. package/src/app/[variants]/(main)/discover/(list)/provider/Client.tsx +0 -43
  2199. package/src/app/[variants]/(main)/discover/(list)/provider/ProviderPage.tsx +0 -43
  2200. package/src/app/[variants]/(main)/discover/DiscoverRouter.tsx +0 -170
  2201. package/src/app/[variants]/(main)/discover/[[...path]]/page.tsx +0 -12
  2202. package/src/app/[variants]/(main)/discover/_layout/DiscoverLayout.tsx +0 -22
  2203. package/src/app/[variants]/(main)/discover/error.tsx +0 -3
  2204. package/src/app/[variants]/(main)/discover/not-found.tsx +0 -1
  2205. package/src/app/[variants]/(main)/error.tsx +0 -3
  2206. package/src/app/[variants]/(main)/image/@menu/features/ConfigPanel/components/ModelSelect.tsx +0 -161
  2207. package/src/app/[variants]/(main)/image/layout.tsx +0 -19
  2208. package/src/app/[variants]/(main)/image/page.tsx +0 -45
  2209. package/src/app/[variants]/(main)/knowledge/KnowledgeRouter.tsx +0 -73
  2210. package/src/app/[variants]/(main)/knowledge/[[...path]]/page.tsx +0 -12
  2211. package/src/app/[variants]/(main)/knowledge/components/modal/page.tsx +0 -13
  2212. package/src/app/[variants]/(main)/knowledge/layout.tsx +0 -12
  2213. package/src/app/[variants]/(main)/knowledge/routes/KnowledgeBaseDetail/menu/MenuItems.tsx +0 -35
  2214. package/src/app/[variants]/(main)/knowledge/routes/KnowledgeHome/menu/FileMenu.tsx +0 -75
  2215. package/src/app/[variants]/(main)/labs/page.tsx +0 -86
  2216. package/src/app/[variants]/(main)/layout.tsx +0 -10
  2217. package/src/app/[variants]/(main)/not-found.tsx +0 -1
  2218. package/src/app/[variants]/(main)/profile/(home)/[[...slugs]]/page.tsx +0 -40
  2219. package/src/app/[variants]/(main)/profile/apikey/page.tsx +0 -32
  2220. package/src/app/[variants]/(main)/profile/error.tsx +0 -3
  2221. package/src/app/[variants]/(main)/profile/layout.tsx +0 -11
  2222. package/src/app/[variants]/(main)/profile/loading.tsx +0 -3
  2223. package/src/app/[variants]/(main)/profile/not-found.tsx +0 -1
  2224. package/src/app/[variants]/(main)/profile/security/page.tsx +0 -28
  2225. package/src/app/[variants]/(main)/profile/stats/page.tsx +0 -23
  2226. package/src/app/[variants]/(main)/settings/error.tsx +0 -3
  2227. package/src/app/[variants]/(main)/settings/loading.tsx +0 -3
  2228. package/src/app/[variants]/(main)/settings/not-found.tsx +0 -1
  2229. package/src/app/[variants]/(main)/settings/page.tsx +0 -42
  2230. package/src/app/[variants]/(main)/settings/storage/IndexedDBStorage.tsx +0 -55
  2231. package/src/app/[variants]/@modal/(.)changelog/modal/features/Cover.tsx +0 -48
  2232. package/src/app/[variants]/@modal/(.)changelog/modal/features/Hero.tsx +0 -29
  2233. package/src/app/[variants]/@modal/(.)changelog/modal/features/Post.tsx +0 -57
  2234. package/src/app/[variants]/@modal/(.)changelog/modal/features/PublishedTime.tsx +0 -50
  2235. package/src/app/[variants]/@modal/(.)changelog/modal/features/ReadDetail.tsx +0 -72
  2236. package/src/app/[variants]/@modal/(.)changelog/modal/features/VersionTag.tsx +0 -26
  2237. package/src/app/[variants]/@modal/(.)changelog/modal/layout.tsx +0 -41
  2238. package/src/app/[variants]/@modal/(.)changelog/modal/loading.tsx +0 -10
  2239. package/src/app/[variants]/@modal/(.)changelog/modal/page.tsx +0 -38
  2240. package/src/app/[variants]/@modal/_layout/ModalLayout.tsx +0 -63
  2241. package/src/app/[variants]/@modal/_layout/SettingModalLayout.tsx +0 -71
  2242. package/src/app/[variants]/@modal/default.tsx +0 -3
  2243. package/src/app/[variants]/@modal/error.tsx +0 -3
  2244. package/src/app/[variants]/@modal/layout.tsx +0 -7
  2245. package/src/app/[variants]/@modal/loading.tsx +0 -5
  2246. package/src/app/[variants]/oauth/consent/[uid]/Consent.tsx +0 -189
  2247. package/src/features/ChatInput/ActionBar/Upload/ClientMode.tsx +0 -62
  2248. package/src/features/Conversation/Error/AccessCodeForm.tsx +0 -63
  2249. package/src/features/Conversation/Error/ChatInvalidApiKey.tsx +0 -39
  2250. package/src/features/Conversation/Error/ClerkLogin/index.tsx +0 -47
  2251. package/src/features/Conversation/Error/InvalidAccessCode.tsx +0 -79
  2252. package/src/features/Conversation/Error/OAuthForm.tsx +0 -97
  2253. package/src/features/Conversation/Error/index.tsx +0 -149
  2254. package/src/features/Conversation/MarkdownElements/LobeThinking/Render.tsx +0 -30
  2255. package/src/features/Conversation/MarkdownElements/Thinking/Render.tsx +0 -42
  2256. package/src/features/Conversation/MarkdownElements/remarkPlugins/__snapshots__/createRemarkSelfClosingTagPlugin.test.ts.snap +0 -260
  2257. package/src/features/Conversation/MarkdownElements/remarkPlugins/createRemarkSelfClosingTagPlugin.test.ts +0 -204
  2258. package/src/features/Conversation/MarkdownElements/remarkPlugins/createRemarkSelfClosingTagPlugin.ts +0 -133
  2259. package/src/features/Conversation/MarkdownElements/remarkPlugins/getNodeContent.test.ts +0 -503
  2260. package/src/features/Conversation/Messages/Assistant/Actions/index.tsx +0 -202
  2261. package/src/features/Conversation/Messages/Assistant/Extra/index.test.tsx +0 -91
  2262. package/src/features/Conversation/Messages/Assistant/Extra/index.tsx +0 -49
  2263. package/src/features/Conversation/Messages/Assistant/MessageContent.tsx +0 -91
  2264. package/src/features/Conversation/Messages/Assistant/Reasoning/index.tsx +0 -29
  2265. package/src/features/Conversation/Messages/Assistant/Tool/Inspector/PluginResult.tsx +0 -39
  2266. package/src/features/Conversation/Messages/Assistant/Tool/Inspector/PluginState.tsx +0 -23
  2267. package/src/features/Conversation/Messages/Assistant/Tool/Inspector/ToolTitle.tsx +0 -94
  2268. package/src/features/Conversation/Messages/Assistant/Tool/Inspector/index.tsx +0 -147
  2269. package/src/features/Conversation/Messages/Assistant/Tool/Render/CustomRender.tsx +0 -144
  2270. package/src/features/Conversation/Messages/Assistant/Tool/Render/LoadingPlaceholder/index.tsx +0 -29
  2271. package/src/features/Conversation/Messages/Assistant/Tool/Render/PluginSettings.tsx +0 -66
  2272. package/src/features/Conversation/Messages/Assistant/Tool/Render/index.tsx +0 -76
  2273. package/src/features/Conversation/Messages/Assistant/Tool/index.tsx +0 -76
  2274. package/src/features/Conversation/Messages/Assistant/index.tsx +0 -282
  2275. package/src/features/Conversation/Messages/Default.tsx +0 -27
  2276. package/src/features/Conversation/Messages/Supervisor/index.tsx +0 -185
  2277. package/src/features/Conversation/Messages/User/Actions.tsx +0 -158
  2278. package/src/features/Conversation/Messages/User/Extra.tsx +0 -39
  2279. package/src/features/Conversation/Messages/User/index.tsx +0 -188
  2280. package/src/features/Conversation/Messages/index.tsx +0 -164
  2281. package/src/features/Conversation/components/AutoScroll.tsx +0 -27
  2282. package/src/features/Conversation/components/Extras/TTS/InitPlayer.tsx +0 -93
  2283. package/src/features/Conversation/components/Extras/Usage/UsageDetail/index.tsx +0 -224
  2284. package/src/features/Conversation/components/Extras/Usage/UsageDetail/tokens.ts +0 -132
  2285. package/src/features/Conversation/components/Extras/Usage/index.tsx +0 -45
  2286. package/src/features/Conversation/components/ShareMessageModal/ShareImage/Preview.tsx +0 -90
  2287. package/src/features/Conversation/components/ShareMessageModal/index.tsx +0 -96
  2288. package/src/features/Conversation/components/SkeletonList.tsx +0 -58
  2289. package/src/features/Conversation/components/VirtualizedList/VirtuosoContext.ts +0 -92
  2290. package/src/features/Conversation/components/VirtualizedList/index.tsx +0 -128
  2291. package/src/features/Conversation/components/WideScreenContainer/index.tsx +0 -46
  2292. package/src/features/Conversation/hooks/useChatListActionsBar.tsx +0 -119
  2293. package/src/features/Conversation/hooks/useDoubleClickEdit.ts +0 -42
  2294. package/src/features/FileManager/FileList/FileListItem/index.tsx +0 -231
  2295. package/src/features/FileManager/FileList/MasonryFileItem/index.tsx +0 -582
  2296. package/src/features/FileManager/FileList/index.tsx +0 -266
  2297. package/src/features/FileManager/Header/FilesSearchBar.tsx +0 -45
  2298. package/src/features/FileManager/Header/TogglePanelButton.tsx +0 -42
  2299. package/src/features/FileManager/Header/index.tsx +0 -27
  2300. package/src/features/FileManager/index.tsx +0 -36
  2301. package/src/services/__tests__/share.test.ts +0 -61
  2302. package/src/services/aiModel/server.test.ts +0 -122
  2303. package/src/services/aiModel/server.ts +0 -51
  2304. package/src/services/aiModel/type.ts +0 -32
  2305. package/src/services/aiProvider/server.ts +0 -43
  2306. package/src/services/aiProvider/type.ts +0 -27
  2307. package/src/services/chatGroup/server.ts +0 -67
  2308. package/src/services/chatGroup/type.ts +0 -22
  2309. package/src/services/export/server.ts +0 -9
  2310. package/src/services/export/type.ts +0 -5
  2311. package/src/services/file/ClientS3/index.test.ts +0 -115
  2312. package/src/services/file/ClientS3/index.ts +0 -59
  2313. package/src/services/file/server.ts +0 -53
  2314. package/src/services/file/type.ts +0 -13
  2315. package/src/services/import/server.ts +0 -133
  2316. package/src/services/import/type.ts +0 -17
  2317. package/src/services/message/__tests__/server.test.ts +0 -44
  2318. package/src/services/message/server.ts +0 -155
  2319. package/src/services/message/type.ts +0 -59
  2320. package/src/services/plugin/server.ts +0 -42
  2321. package/src/services/plugin/type.ts +0 -23
  2322. package/src/services/session/server.test.ts +0 -260
  2323. package/src/services/session/server.ts +0 -125
  2324. package/src/services/session/type.ts +0 -82
  2325. package/src/services/thread/server.ts +0 -32
  2326. package/src/services/thread/type.ts +0 -21
  2327. package/src/services/topic/server.ts +0 -57
  2328. package/src/services/topic/type.ts +0 -40
  2329. package/src/services/user/server.test.ts +0 -149
  2330. package/src/services/user/server.ts +0 -47
  2331. package/src/services/user/type.ts +0 -21
  2332. package/src/store/chat/slices/aiChat/actions/__tests__/generateAIChat.test.ts +0 -968
  2333. package/src/store/chat/slices/aiChat/actions/__tests__/generateAIChatV2.test.ts +0 -743
  2334. package/src/store/chat/slices/aiChat/actions/generateAIChat.ts +0 -739
  2335. package/src/store/chat/slices/aiChat/actions/generateAIChatV2.ts +0 -591
  2336. package/src/store/chat/slices/message/action.ts +0 -641
  2337. package/src/store/chat/slices/plugin/action.ts +0 -505
  2338. package/src/store/middleware/createHyperStorage/index.test.ts +0 -341
  2339. package/src/store/middleware/createHyperStorage/index.ts +0 -126
  2340. package/src/store/middleware/createHyperStorage/indexedDB.test.ts +0 -64
  2341. package/src/store/middleware/createHyperStorage/indexedDB.ts +0 -26
  2342. package/src/store/middleware/createHyperStorage/keyMapper.ts +0 -57
  2343. package/src/store/middleware/createHyperStorage/localStorage.ts +0 -18
  2344. package/src/store/middleware/createHyperStorage/type.ts +0 -25
  2345. package/src/store/middleware/createHyperStorage/urlStorage.test.ts +0 -84
  2346. package/src/store/middleware/createHyperStorage/urlStorage.ts +0 -81
  2347. package/src/store/user/slices/preference/selectors.ts +0 -34
  2348. package/src/tools/local-system/Placeholder/index.tsx +0 -25
  2349. package/src/tools/local-system/Render/index.tsx +0 -40
  2350. package/src/tools/web-browsing/Placeholder/PageContent.tsx +0 -27
  2351. package/src/tools/web-browsing/Placeholder/index.tsx +0 -40
  2352. package/src/tools/web-browsing/Render/index.tsx +0 -57
  2353. /package/packages/{utils/src/fetch → fetch-sse/src}/index.ts +0 -0
  2354. /package/src/app/[variants]/{@modal/(.)changelog/modal → (main)/changelog}/features/Pagination.tsx +0 -0
  2355. /package/src/app/[variants]/{@modal/(.)changelog/modal → (main)/changelog}/features/UpdateChangelogStatus.tsx +0 -0
  2356. /package/src/app/[variants]/(main)/chat/{(workspace)/@conversation → components/conversation}/default.tsx +0 -0
  2357. /package/src/app/[variants]/(main)/chat/{(workspace)/@conversation → components/conversation}/features/ChatInput/Desktop/useSendMenuItems.tsx +0 -0
  2358. /package/src/app/[variants]/(main)/chat/{(workspace)/@conversation → components/conversation}/features/ChatInput/Mobile/MentionedUsers/MentionedUserItem.tsx +0 -0
  2359. /package/src/app/[variants]/(main)/chat/{(workspace)/@conversation → components/conversation}/features/ChatInput/Mobile/MentionedUsers/index.tsx +0 -0
  2360. /package/src/app/[variants]/(main)/chat/{(workspace)/@conversation → components/conversation}/features/ChatInput/Mobile/index.tsx +0 -0
  2361. /package/src/app/[variants]/(main)/chat/{(workspace)/@conversation → components/conversation}/features/ChatInput/V1Mobile/ActionBar.tsx +0 -0
  2362. /package/src/app/[variants]/(main)/chat/{(workspace)/@conversation → components/conversation}/features/ChatInput/V1Mobile/Files/index.tsx +0 -0
  2363. /package/src/app/[variants]/(main)/chat/{(workspace)/@conversation → components/conversation}/features/ChatInput/V1Mobile/InputArea/Container.tsx +0 -0
  2364. /package/src/app/[variants]/(main)/chat/{(workspace)/@conversation → components/conversation}/features/ChatInput/V1Mobile/InputArea/index.tsx +0 -0
  2365. /package/src/app/[variants]/(main)/chat/{(workspace)/@conversation → components/conversation}/features/ChatInput/V1Mobile/Send.tsx +0 -0
  2366. /package/src/app/[variants]/(main)/chat/{(workspace)/@conversation → components/conversation}/features/ChatInput/index.tsx +0 -0
  2367. /package/src/app/[variants]/(main)/chat/{(workspace)/@conversation → components/conversation}/features/ChatList/ChatItem/OrchestratorThinking.tsx +0 -0
  2368. /package/src/app/[variants]/(main)/chat/{(workspace)/@conversation → components/conversation}/features/ChatList/ChatItem/ThreadItem.tsx +0 -0
  2369. /package/src/app/[variants]/(main)/chat/{(workspace)/@conversation → components/conversation}/features/ChatList/WelcomeChatItem/AgentWelcome/AddButton.tsx +0 -0
  2370. /package/src/app/[variants]/(main)/chat/{(workspace)/@conversation → components/conversation}/features/ChatList/WelcomeChatItem/AgentWelcome/index.tsx +0 -0
  2371. /package/src/app/[variants]/(main)/chat/{(workspace)/@conversation → components/conversation}/features/ChatList/WelcomeChatItem/GroupWelcome/index.tsx +0 -0
  2372. /package/src/app/[variants]/(main)/chat/{(workspace)/@conversation → components/conversation}/features/ChatList/WelcomeChatItem/GroupWelcome/useTemplateMatching.ts +0 -0
  2373. /package/src/app/[variants]/(main)/chat/{(workspace)/@conversation → components/conversation}/features/ChatList/WelcomeChatItem/index.tsx +0 -0
  2374. /package/src/app/[variants]/(main)/chat/{(workspace)/@conversation → components/conversation}/features/ZenModeToast/Toast.tsx +0 -0
  2375. /package/src/app/[variants]/(main)/chat/{(workspace)/@conversation → components/conversation}/features/ZenModeToast/index.tsx +0 -0
  2376. /package/src/app/[variants]/(main)/chat/{(workspace) → components}/features/AgentSettings/index.tsx +0 -0
  2377. /package/src/app/[variants]/(main)/chat/{(workspace) → components}/features/AgentTeamSettings/index.tsx +0 -0
  2378. /package/src/app/[variants]/(main)/chat/{(workspace) → components}/features/ChangelogModal.tsx +0 -0
  2379. /package/src/app/[variants]/(main)/chat/{(workspace) → components}/features/SettingButton.tsx +0 -0
  2380. /package/src/app/[variants]/(main)/chat/{(workspace) → components}/features/ShareButton/index.tsx +0 -0
  2381. /package/src/app/[variants]/(main)/chat/{(workspace) → components}/features/TelemetryNotification.tsx +0 -0
  2382. /package/src/app/[variants]/(main)/chat/{(workspace)/_layout → components/layout}/Desktop/ChatHeader/HeaderAction.tsx +0 -0
  2383. /package/src/app/[variants]/(main)/chat/{(workspace)/_layout → components/layout}/Desktop/ChatHeader/Main.tsx +0 -0
  2384. /package/src/app/[variants]/(main)/chat/{(workspace)/_layout → components/layout}/Desktop/ChatHeader/Tags/HistoryLimitTags.tsx +0 -0
  2385. /package/src/app/[variants]/(main)/chat/{(workspace)/_layout → components/layout}/Desktop/ChatHeader/Tags/KnowledgeTag.tsx +0 -0
  2386. /package/src/app/[variants]/(main)/chat/{(workspace)/_layout → components/layout}/Desktop/ChatHeader/Tags/MemberCountTag.tsx +0 -0
  2387. /package/src/app/[variants]/(main)/chat/{(workspace)/_layout → components/layout}/Desktop/ChatHeader/Tags/SearchTags.tsx +0 -0
  2388. /package/src/app/[variants]/(main)/chat/{(workspace)/_layout → components/layout}/Desktop/ChatHeader/Tags/index.tsx +0 -0
  2389. /package/src/app/[variants]/(main)/chat/{(workspace)/_layout → components/layout}/Desktop/ChatHeader/index.tsx +0 -0
  2390. /package/src/app/[variants]/(main)/chat/{(workspace)/_layout → components/layout}/Desktop/Portal.tsx +0 -0
  2391. /package/src/app/[variants]/(main)/chat/{(workspace)/_layout → components/layout}/Desktop/TopicPanel.tsx +0 -0
  2392. /package/src/app/[variants]/(main)/chat/{(workspace)/_layout → components/layout}/Desktop/index.tsx +0 -0
  2393. /package/src/app/[variants]/(main)/chat/{(workspace)/_layout → components/layout}/Mobile/ChatHeader/ChatHeaderTitle.tsx +0 -0
  2394. /package/src/app/[variants]/(main)/chat/{(workspace)/_layout → components/layout}/Mobile/ChatHeader/index.tsx +0 -0
  2395. /package/src/app/[variants]/(main)/chat/{(workspace)/_layout → components/layout}/Mobile/TopicModal.tsx +0 -0
  2396. /package/src/app/[variants]/(main)/chat/{(workspace)/_layout → components/layout}/Mobile/index.tsx +0 -0
  2397. /package/src/app/[variants]/(main)/chat/{(workspace)/_layout → components/layout}/type.ts +0 -0
  2398. /package/src/app/[variants]/(main)/chat/{(workspace)/@portal → components/portal}/_layout/Desktop.tsx +0 -0
  2399. /package/src/app/[variants]/(main)/chat/{(workspace)/@portal → components/portal}/_layout/Mobile.tsx +0 -0
  2400. /package/src/app/[variants]/(main)/chat/{(workspace)/@portal → components/portal}/default.tsx +0 -0
  2401. /package/src/app/[variants]/(main)/chat/{(workspace)/@portal → components/portal}/error.tsx +0 -0
  2402. /package/src/app/[variants]/(main)/chat/{(workspace)/@portal → components/portal}/features/Body.tsx +0 -0
  2403. /package/src/app/[variants]/(main)/chat/{(workspace)/@portal → components/portal}/loading.tsx +0 -0
  2404. /package/src/app/[variants]/(main)/chat/{(workspace)/@topic → components/topic}/_layout/Desktop.tsx +0 -0
  2405. /package/src/app/[variants]/(main)/chat/{(workspace)/@topic → components/topic}/_layout/Mobile.tsx +0 -0
  2406. /package/src/app/[variants]/(main)/chat/{(workspace)/@topic → components/topic}/default.tsx +0 -0
  2407. /package/src/app/[variants]/(main)/chat/{(workspace)/@topic → components/topic}/features/AgentConfig/SystemRole.tsx +0 -0
  2408. /package/src/app/[variants]/(main)/chat/{(workspace)/@topic → components/topic}/features/AgentConfig/index.tsx +0 -0
  2409. /package/src/app/[variants]/(main)/chat/{(workspace)/@topic → components/topic}/features/ConfigLayout.tsx +0 -0
  2410. /package/src/app/[variants]/(main)/chat/{(workspace)/@topic → components/topic}/features/ConfigSwitcher.tsx +0 -0
  2411. /package/src/app/[variants]/(main)/chat/{(workspace)/@topic → components/topic}/features/GroupConfig/GroupMember.tsx +0 -0
  2412. /package/src/app/[variants]/(main)/chat/{(workspace)/@topic → components/topic}/features/GroupConfig/GroupMemberItem.tsx +0 -0
  2413. /package/src/app/[variants]/(main)/chat/{(workspace)/@topic → components/topic}/features/GroupConfig/GroupRole.tsx +0 -0
  2414. /package/src/app/[variants]/(main)/chat/{(workspace)/@topic → components/topic}/features/GroupConfig/index.tsx +0 -0
  2415. /package/src/app/[variants]/(main)/chat/{(workspace)/@topic → components/topic}/features/GroupConfig/style.ts +0 -0
  2416. /package/src/app/[variants]/(main)/chat/{(workspace)/@topic → components/topic}/features/SkeletonList.tsx +0 -0
  2417. /package/src/app/[variants]/(main)/chat/{(workspace)/@topic → components/topic}/features/Topic/Header.tsx +0 -0
  2418. /package/src/app/[variants]/(main)/chat/{(workspace)/@topic → components/topic}/features/Topic/TopicListContent/ByTimeMode/GroupItem.tsx +0 -0
  2419. /package/src/app/[variants]/(main)/chat/{(workspace)/@topic → components/topic}/features/Topic/TopicListContent/ByTimeMode/index.tsx +0 -0
  2420. /package/src/app/[variants]/(main)/chat/{(workspace)/@topic → components/topic}/features/Topic/TopicListContent/FlatMode/index.tsx +0 -0
  2421. /package/src/app/[variants]/(main)/chat/{(workspace)/@topic → components/topic}/features/Topic/TopicListContent/SearchResult/index.tsx +0 -0
  2422. /package/src/app/[variants]/(main)/chat/{(workspace)/@topic → components/topic}/features/Topic/TopicListContent/ThreadItem/Content.tsx +0 -0
  2423. /package/src/app/[variants]/(main)/chat/{(workspace)/@topic → components/topic}/features/Topic/TopicListContent/ThreadItem/index.tsx +0 -0
  2424. /package/src/app/[variants]/(main)/chat/{(workspace)/@topic → components/topic}/features/Topic/TopicListContent/ThreadList/index.tsx +0 -0
  2425. /package/src/app/[variants]/(main)/chat/{(workspace)/@topic → components/topic}/features/Topic/TopicListContent/TopicItem/DefaultContent.tsx +0 -0
  2426. /package/src/app/[variants]/(main)/chat/{(workspace)/@topic → components/topic}/features/Topic/TopicListContent/index.tsx +0 -0
  2427. /package/src/app/[variants]/(main)/chat/{(workspace)/@topic → components/topic}/features/Topic/TopicSearchBar/index.tsx +0 -0
  2428. /package/src/app/[variants]/(main)/chat/{(workspace)/@topic → components/topic}/features/Topic/index.tsx +0 -0
  2429. /package/src/app/[variants]/(main)/chat/{@session → session}/features/SessionListContent/CollapseGroup/Actions.tsx +0 -0
  2430. /package/src/app/[variants]/(main)/chat/{@session → session}/features/SessionListContent/CollapseGroup/index.tsx +0 -0
  2431. /package/src/app/[variants]/(main)/chat/{@session → session}/features/SessionListContent/DefaultMode.tsx +0 -0
  2432. /package/src/app/[variants]/(main)/chat/{@session → session}/features/SessionListContent/List/AddButton.tsx +0 -0
  2433. /package/src/app/[variants]/(main)/chat/{@session → session}/features/SessionListContent/ListItem/index.tsx +0 -0
  2434. /package/src/app/[variants]/(main)/chat/{@session → session}/features/SessionListContent/Modals/ConfigGroupModal/GroupItem.tsx +0 -0
  2435. /package/src/app/[variants]/(main)/chat/{@session → session}/features/SessionListContent/Modals/ConfigGroupModal/index.tsx +0 -0
  2436. /package/src/app/[variants]/(main)/chat/{@session → session}/features/SessionListContent/Modals/CreateGroupModal.tsx +0 -0
  2437. /package/src/app/[variants]/(main)/chat/{@session → session}/features/SessionListContent/Modals/RenameGroupModal.tsx +0 -0
  2438. /package/src/app/[variants]/(main)/chat/{@session → session}/features/SessionListContent/SearchMode.tsx +0 -0
  2439. /package/src/app/[variants]/(main)/chat/{@session → session}/features/SessionListContent/index.tsx +0 -0
  2440. /package/src/app/[variants]/(main)/chat/{@session → session}/features/SessionSearchBar.tsx +0 -0
  2441. /package/src/app/[variants]/(main)/chat/{@session → session}/features/SkeletonList.tsx +0 -0
  2442. /package/src/app/[variants]/(main)/chat/{@session/_layout → session/layout}/Desktop/PanelBody.tsx +0 -0
  2443. /package/src/app/[variants]/(main)/chat/{@session/_layout → session/layout}/Desktop/SessionHeader.tsx +0 -0
  2444. /package/src/app/[variants]/(main)/chat/{@session/_layout → session/layout}/Desktop/index.tsx +0 -0
  2445. /package/src/app/[variants]/(main)/chat/{@session/_layout → session/layout}/Mobile/index.tsx +0 -0
  2446. /package/src/app/[variants]/(main)/discover/(detail)/assistant/{[...slugs]/features → features}/DetailProvider.tsx +0 -0
  2447. /package/src/app/[variants]/(main)/discover/(detail)/assistant/{[...slugs]/features → features}/Details/Capabilities/Knowledge.tsx +0 -0
  2448. /package/src/app/[variants]/(main)/discover/(detail)/assistant/{[...slugs]/features → features}/Details/Capabilities/KnowledgeItem.tsx +0 -0
  2449. /package/src/app/[variants]/(main)/discover/(detail)/assistant/{[...slugs]/features → features}/Details/Capabilities/index.tsx +0 -0
  2450. /package/src/app/[variants]/(main)/discover/(detail)/assistant/{[...slugs]/features → features}/Sidebar/Related/Item.tsx +0 -0
  2451. /package/src/app/[variants]/(main)/discover/(detail)/assistant/{[...slugs]/features → features}/Sidebar/Summary/index.tsx +0 -0
  2452. /package/src/app/[variants]/(main)/discover/(detail)/assistant/{[...slugs]/features → features}/Sidebar/index.tsx +0 -0
  2453. /package/src/app/[variants]/(main)/discover/(detail)/assistant/{[...slugs]/loading.tsx → loading.tsx} +0 -0
  2454. /package/src/app/[variants]/(main)/discover/(detail)/mcp/{[slug]/features → features}/Sidebar/ConnectionTypeAlert.tsx +0 -0
  2455. /package/src/app/[variants]/(main)/discover/(detail)/mcp/{[slug]/features → features}/Sidebar/Related/Item.tsx +0 -0
  2456. /package/src/app/[variants]/(main)/discover/(detail)/mcp/{[slug]/features → features}/Sidebar/index.tsx +0 -0
  2457. /package/src/app/[variants]/(main)/discover/(detail)/model/{[...slugs]/features → features}/DetailProvider.tsx +0 -0
  2458. /package/src/app/[variants]/(main)/discover/(detail)/model/{[...slugs]/features → features}/Details/Nav.tsx +0 -0
  2459. /package/src/app/[variants]/(main)/discover/(detail)/model/{[...slugs]/features → features}/Details/Overview/ProviderList/index.tsx +0 -0
  2460. /package/src/app/[variants]/(main)/discover/(detail)/model/{[...slugs]/features → features}/Details/Parameter/index.tsx +0 -0
  2461. /package/src/app/[variants]/(main)/discover/(detail)/model/{[...slugs]/features → features}/Sidebar/Related/Item.tsx +0 -0
  2462. /package/src/app/[variants]/(main)/discover/(detail)/model/{[...slugs]/features → features}/Sidebar/RelatedProviders/Item.tsx +0 -0
  2463. /package/src/app/[variants]/(main)/discover/(detail)/model/{[...slugs]/features → features}/Sidebar/index.tsx +0 -0
  2464. /package/src/app/[variants]/(main)/discover/(detail)/provider/{[...slugs]/features → features}/DetailProvider.tsx +0 -0
  2465. /package/src/app/[variants]/(main)/discover/(detail)/provider/{[...slugs]/features → features}/Details/Guide/index.tsx +0 -0
  2466. /package/src/app/[variants]/(main)/discover/(detail)/provider/{[...slugs]/features → features}/Details/Nav.tsx +0 -0
  2467. /package/src/app/[variants]/(main)/discover/(detail)/provider/{[...slugs]/features → features}/Details/Overview/ModelList/index.tsx +0 -0
  2468. /package/src/app/[variants]/(main)/discover/(detail)/provider/{[...slugs]/features → features}/Details/Overview/index.tsx +0 -0
  2469. /package/src/app/[variants]/(main)/discover/(detail)/provider/{[...slugs]/features → features}/Header.tsx +0 -0
  2470. /package/src/app/[variants]/(main)/discover/(detail)/provider/{[...slugs]/features → features}/Sidebar/Related/Item.tsx +0 -0
  2471. /package/src/app/[variants]/(main)/discover/(detail)/provider/{[...slugs]/features → features}/Sidebar/RelatedModels/Item.tsx +0 -0
  2472. /package/src/app/[variants]/(main)/discover/(detail)/provider/{[...slugs]/features → features}/Sidebar/index.tsx +0 -0
  2473. /package/src/app/[variants]/(main)/{_layout/Desktop → layouts/desktop}/RegisterHotkeys.tsx +0 -0
  2474. /package/src/app/[variants]/(main)/{_layout/Desktop → layouts/desktop}/SideBar/Avatar.test.tsx +0 -0
  2475. /package/src/app/[variants]/(main)/{_layout/Desktop → layouts/desktop}/SideBar/Avatar.tsx +0 -0
  2476. /package/src/app/[variants]/(main)/{_layout/Desktop → layouts/desktop}/SideBar/index.tsx +0 -0
  2477. /package/src/app/[variants]/(main)/settings/provider/detail/newapi/{page.tsx → index.tsx} +0 -0
  2478. /package/src/app/[variants]/{(main)/chat/loading.tsx → loading.tsx} +0 -0
  2479. /package/src/{app/[variants]/(main)/settings/provider/features/ProviderConfig → components/Skeleton}/SkeletonInput.tsx +0 -0
  2480. /package/src/features/{Conversation → ChatList}/Error/ErrorJsonViewer.tsx +0 -0
  2481. /package/src/features/{Conversation → ChatList}/Error/OllamaBizError/InvalidOllamaModel.tsx +0 -0
  2482. /package/src/features/{Conversation → ChatList}/Error/OllamaBizError/index.tsx +0 -0
  2483. /package/src/features/{Conversation → ChatList}/Error/style.tsx +0 -0
  2484. /package/src/features/{Conversation → ChatList}/MarkdownElements/LobeArtifact/Render/Icon.tsx +0 -0
  2485. /package/src/features/{Conversation → ChatList}/MarkdownElements/LobeArtifact/Render/index.tsx +0 -0
  2486. /package/src/features/{Conversation → ChatList}/MarkdownElements/LobeArtifact/index.ts +0 -0
  2487. /package/src/features/{Conversation → ChatList}/MarkdownElements/LobeArtifact/rehypePlugin.test.ts +0 -0
  2488. /package/src/features/{Conversation → ChatList}/MarkdownElements/LobeArtifact/rehypePlugin.ts +0 -0
  2489. /package/src/features/{Conversation → ChatList}/MarkdownElements/LobeThinking/index.ts +0 -0
  2490. /package/src/features/{Conversation → ChatList}/MarkdownElements/LocalFile/Render/index.tsx +0 -0
  2491. /package/src/features/{Conversation → ChatList}/MarkdownElements/LocalFile/index.ts +0 -0
  2492. /package/src/features/{Conversation → ChatList}/MarkdownElements/Mention/Render.tsx +0 -0
  2493. /package/src/features/{Conversation → ChatList}/MarkdownElements/Mention/index.ts +0 -0
  2494. /package/src/features/{Conversation → ChatList}/MarkdownElements/Thinking/index.ts +0 -0
  2495. /package/src/features/{Conversation → ChatList}/MarkdownElements/index.ts +0 -0
  2496. /package/src/features/{Conversation → ChatList}/MarkdownElements/remarkPlugins/createRemarkCustomTagPlugin.ts +0 -0
  2497. /package/src/features/{Conversation → ChatList}/MarkdownElements/remarkPlugins/createRemarkCustomTagWithAttributesPlugin.ts +0 -0
  2498. /package/src/features/{Conversation → ChatList}/MarkdownElements/remarkPlugins/getNodeContent.ts +0 -0
  2499. /package/src/features/{Conversation → ChatList}/MarkdownElements/type.ts +0 -0
  2500. /package/src/features/{Conversation → ChatList}/MarkdownElements/utils.ts +0 -0
  2501. /package/src/features/{Conversation → ChatList}/Messages/Assistant/Actions/Error.tsx +0 -0
  2502. /package/src/features/{Conversation → ChatList}/Messages/Assistant/FileChunks/Item/index.tsx +0 -0
  2503. /package/src/features/{Conversation → ChatList}/Messages/Assistant/FileChunks/Item/style.ts +0 -0
  2504. /package/src/features/{Conversation → ChatList}/Messages/Assistant/FileChunks/index.tsx +0 -0
  2505. /package/src/features/{Conversation → ChatList}/Messages/Assistant/IntentUnderstanding.tsx +0 -0
  2506. /package/src/features/{Conversation → ChatList}/Messages/Assistant/SearchGrounding.tsx +0 -0
  2507. /package/src/features/{Conversation/Messages/Assistant → ChatList/Messages/Group}/Tool/Inspector/Settings.tsx +0 -0
  2508. /package/src/features/{Conversation/Messages/Assistant → ChatList/Messages/Group}/Tool/Render/Arguments/ObjectEntity.tsx +0 -0
  2509. /package/src/features/{Conversation/Messages/Assistant → ChatList/Messages/Group}/Tool/Render/Arguments/ValueCell.tsx +0 -0
  2510. /package/src/features/{Conversation/Messages/Assistant → ChatList/Messages/Group}/Tool/Render/ErrorResponse.tsx +0 -0
  2511. /package/src/features/{Conversation → ChatList}/Messages/Supervisor/TodoList.tsx +0 -0
  2512. /package/src/features/{Conversation/Messages/Assistant → ChatList/Messages}/Tool/Inspector/BuiltinPluginTitle.tsx +0 -0
  2513. /package/src/features/{Conversation/Messages/Assistant → ChatList/Messages}/Tool/Inspector/Debug.tsx +0 -0
  2514. /package/src/features/{Conversation/Messages/Assistant → ChatList/Messages}/Tool/Render/Arguments/index.tsx +0 -0
  2515. /package/src/features/{Conversation/Messages/Assistant → ChatList/Messages}/Tool/Render/KeyValueEditor.tsx +0 -0
  2516. /package/src/features/{Conversation → ChatList}/Messages/User/BelowMessage.tsx +0 -0
  2517. /package/src/features/{Conversation → ChatList}/Messages/User/FileListViewer/Item.tsx +0 -0
  2518. /package/src/features/{Conversation → ChatList}/Messages/User/FileListViewer/index.tsx +0 -0
  2519. /package/src/features/{Conversation → ChatList}/Messages/User/ImageFileListViewer.tsx +0 -0
  2520. /package/src/features/{Conversation → ChatList}/Messages/User/MarkdownRender/ContentPreview.tsx +0 -0
  2521. /package/src/features/{Conversation → ChatList}/Messages/User/MarkdownRender/index.tsx +0 -0
  2522. /package/src/features/{Conversation → ChatList}/Messages/User/MessageContent.tsx +0 -0
  2523. /package/src/features/{Conversation → ChatList}/Messages/User/VideoFileListViewer.tsx +0 -0
  2524. /package/src/features/{Conversation → ChatList}/components/BackBottom/index.tsx +0 -0
  2525. /package/src/features/{Conversation → ChatList}/components/BackBottom/style.ts +0 -0
  2526. /package/src/features/{Conversation → ChatList}/components/ChatItem/ShareMessageModal/SharePdf/PdfPreview.tsx +0 -0
  2527. /package/src/features/{Conversation → ChatList}/components/ChatItem/ShareMessageModal/SharePdf/index.tsx +0 -0
  2528. /package/src/features/{Conversation → ChatList}/components/ChatItem/ShareMessageModal/SharePdf/style.ts +0 -0
  2529. /package/src/features/{Conversation → ChatList}/components/ChatItem/ShareMessageModal/SharePdf/template.ts +0 -0
  2530. /package/src/features/{Conversation → ChatList}/components/ChatItem/ShareMessageModal/SharePdf/usePdfGeneration.ts +0 -0
  2531. /package/src/features/{Conversation → ChatList}/components/Extras/ExtraContainer.tsx +0 -0
  2532. /package/src/features/{Conversation → ChatList}/components/Extras/TTS/FilePlayer.tsx +0 -0
  2533. /package/src/features/{Conversation → ChatList}/components/Extras/TTS/Player.tsx +0 -0
  2534. /package/src/features/{Conversation → ChatList}/components/Extras/TTS/index.tsx +0 -0
  2535. /package/src/features/{Conversation → ChatList}/components/Extras/Translate.tsx +0 -0
  2536. /package/src/features/{Conversation → ChatList}/components/Extras/Usage/UsageDetail/ModelCard.tsx +0 -0
  2537. /package/src/features/{Conversation → ChatList}/components/Extras/Usage/UsageDetail/TokenProgress.tsx +0 -0
  2538. /package/src/features/{Conversation → ChatList}/components/Extras/Usage/UsageDetail/pricing.ts +0 -0
  2539. /package/src/features/{Conversation → ChatList}/components/Extras/Usage/UsageDetail/tokens.test.ts +0 -0
  2540. /package/src/features/{Conversation → ChatList}/components/History/HistoryDivider.tsx +0 -0
  2541. /package/src/features/{Conversation → ChatList}/components/History/index.tsx +0 -0
  2542. /package/src/features/{Conversation → ChatList}/components/OTPInput.tsx +0 -0
  2543. /package/src/features/{Conversation → ChatList}/components/ShareMessageModal/ShareImage/index.tsx +0 -0
  2544. /package/src/features/{Conversation → ChatList}/components/ShareMessageModal/ShareImage/style.ts +0 -0
  2545. /package/src/features/{Conversation → ChatList}/components/ShareMessageModal/ShareImage/type.ts +0 -0
  2546. /package/src/features/{Conversation → ChatList}/components/ShareMessageModal/ShareText/Preview.tsx +0 -0
  2547. /package/src/features/{Conversation → ChatList}/components/ShareMessageModal/ShareText/index.tsx +0 -0
  2548. /package/src/features/{Conversation → ChatList}/components/ShareMessageModal/ShareText/template.test.ts +0 -0
  2549. /package/src/features/{Conversation → ChatList}/components/ShareMessageModal/ShareText/template.ts +0 -0
  2550. /package/src/features/{Conversation → ChatList}/components/ShareMessageModal/ShareText/type.ts +0 -0
  2551. /package/src/features/{Conversation → ChatList}/components/ShareMessageModal/style.ts +0 -0
  2552. /package/src/features/{Conversation → ChatList}/components/ThreadDivider/index.tsx +0 -0
  2553. /package/src/features/{Conversation → ChatList}/context/InPortalThreadContext.ts +0 -0
  2554. /package/src/features/{Conversation → ChatList}/index.ts +0 -0
  2555. /package/src/features/{Conversation → ChatList}/types/index.ts +0 -0
  2556. /package/src/features/{Conversation → ChatList}/utils/markdown.test.ts +0 -0
  2557. /package/src/features/{Conversation → ChatList}/utils/markdown.ts +0 -0
  2558. /package/src/features/{FileManager/FileList/ToolBar → KnowledgeBaseModal/AssignKnowledgeBase}/ViewSwitcher.tsx +0 -0
  2559. /package/src/features/{FileManager → KnowledgeManager}/ChunkDrawer/ChunkList/ChunkItem.tsx +0 -0
  2560. /package/src/features/{FileManager → KnowledgeManager}/ChunkDrawer/ChunkList/index.tsx +0 -0
  2561. /package/src/features/{FileManager → KnowledgeManager}/ChunkDrawer/Content.tsx +0 -0
  2562. /package/src/features/{FileManager → KnowledgeManager}/ChunkDrawer/Loading/index.tsx +0 -0
  2563. /package/src/features/{FileManager → KnowledgeManager}/ChunkDrawer/SimilaritySearchList/Item.tsx +0 -0
  2564. /package/src/features/{FileManager → KnowledgeManager}/ChunkDrawer/SimilaritySearchList/index.tsx +0 -0
  2565. /package/src/features/{FileManager → KnowledgeManager}/ChunkDrawer/index.tsx +0 -0
  2566. /package/src/features/{FileManager/FileList → KnowledgeManager/FileExplorer}/EmptyStatus.tsx +0 -0
  2567. /package/src/features/{FileManager/FileList → KnowledgeManager/FileExplorer}/FileListItem/ChunkTag.tsx +0 -0
  2568. /package/src/features/{FileManager/FileList → KnowledgeManager/FileExplorer}/FileListItem/DropdownMenu.tsx +0 -0
  2569. /package/src/features/{FileManager/FileList → KnowledgeManager/FileExplorer}/FileSkeleton.tsx +0 -0
  2570. /package/src/features/{FileManager/FileList → KnowledgeManager/FileExplorer}/MasonryFileItem/MasonryItemWrapper.tsx +0 -0
  2571. /package/src/features/{FileManager/FileList → KnowledgeManager/FileExplorer}/MasonrySkeleton.tsx +0 -0
  2572. /package/src/features/{FileManager/FileList → KnowledgeManager/FileExplorer}/ToolBar/Config.tsx +0 -0
  2573. /package/src/features/{FileManager/FileList → KnowledgeManager/FileExplorer}/ToolBar/MultiSelectActions.tsx +0 -0
  2574. /package/src/features/{FileManager/FileList → KnowledgeManager/FileExplorer}/ToolBar/index.tsx +0 -0
  2575. /package/src/features/{FileManager/FileList → KnowledgeManager/FileExplorer}/useCheckTaskStatus.ts +0 -0
  2576. /package/src/features/{FileManager → KnowledgeManager}/Header/UploadFileButton.tsx +0 -0
  2577. /package/src/features/{FileManager → KnowledgeManager}/UploadDock/Item.tsx +0 -0
  2578. /package/src/features/{FileManager → KnowledgeManager}/UploadDock/index.tsx +0 -0
  2579. /package/{packages/utils/src → src/utils/server}/__snapshots__/parseModels.test.ts.snap +0 -0
  2580. /package/{packages/utils/src → src/utils/server}/parseModels.test.ts +0 -0
@@ -83,21 +83,12 @@
83
83
  "DeepSeek-V3-Fast": {
84
84
  "description": "Model provider: sophnet platform. DeepSeek V3 Fast is the high-TPS ultra-fast version of DeepSeek V3 0324, fully powered without quantization, featuring enhanced coding and mathematical capabilities for faster response!"
85
85
  },
86
- "DeepSeek-V3.1": {
87
- "description": "DeepSeek-V3.1 - Non-Thinking Mode; DeepSeek-V3.1 is a newly launched hybrid reasoning model by DeepSeek, supporting both thinking and non-thinking reasoning modes, with higher thinking efficiency compared to DeepSeek-R1-0528. Post-training optimization significantly enhances agent tool usage and agent task performance."
88
- },
89
86
  "DeepSeek-V3.1-Fast": {
90
87
  "description": "DeepSeek V3.1 Fast is the high-TPS, ultra-fast version of DeepSeek V3.1. Hybrid Thinking Mode: By changing the chat template, a single model can support both thinking and non-thinking modes simultaneously. Smarter Tool Invocation: Post-training optimization significantly improves the model's performance in tool usage and agent tasks."
91
88
  },
92
89
  "DeepSeek-V3.1-Think": {
93
90
  "description": "DeepSeek-V3.1 - Thinking Mode; DeepSeek-V3.1 is a newly launched hybrid reasoning model by DeepSeek, supporting both thinking and non-thinking reasoning modes, with higher thinking efficiency compared to DeepSeek-R1-0528. Post-training optimization significantly enhances agent tool usage and agent task performance."
94
91
  },
95
- "DeepSeek-V3.2-Exp": {
96
- "description": "DeepSeek V3.2 is the latest general-purpose large model released by DeepSeek, supporting a hybrid inference architecture and featuring enhanced Agent capabilities."
97
- },
98
- "DeepSeek-V3.2-Exp-Think": {
99
- "description": "DeepSeek V3.2 Thinking Mode. Before outputting the final answer, the model first generates a chain of thought to improve the accuracy of the final response."
100
- },
101
92
  "Doubao-lite-128k": {
102
93
  "description": "Doubao-lite offers ultra-fast response times and better cost-effectiveness, providing customers with more flexible options for different scenarios. Supports inference and fine-tuning with a 128k context window."
103
94
  },
@@ -230,12 +221,18 @@
230
221
  "MiniMax-M2": {
231
222
  "description": "Purpose-built for efficient coding and agent workflows."
232
223
  },
224
+ "MiniMax-M2-Stable": {
225
+ "description": "Designed for efficient coding and agent workflows, offering higher concurrency and suitable for commercial use."
226
+ },
233
227
  "MiniMax-Text-01": {
234
228
  "description": "In the MiniMax-01 series of models, we have made bold innovations: for the first time, we have implemented a linear attention mechanism on a large scale, making the traditional Transformer architecture no longer the only option. This model has a parameter count of up to 456 billion, with a single activation of 45.9 billion. Its overall performance rivals that of top overseas models while efficiently handling the world's longest context of 4 million tokens, which is 32 times that of GPT-4o and 20 times that of Claude-3.5-Sonnet."
235
229
  },
236
230
  "MiniMaxAI/MiniMax-M1-80k": {
237
231
  "description": "MiniMax-M1 is a large-scale hybrid attention inference model with open-source weights, featuring 456 billion parameters, with approximately 45.9 billion parameters activated per token. The model natively supports ultra-long contexts of up to 1 million tokens and, through lightning attention mechanisms, reduces floating-point operations by 75% compared to DeepSeek R1 in tasks generating 100,000 tokens. Additionally, MiniMax-M1 employs a Mixture of Experts (MoE) architecture, combining the CISPO algorithm with an efficient reinforcement learning training design based on hybrid attention, achieving industry-leading performance in long-input inference and real-world software engineering scenarios."
238
232
  },
233
+ "MiniMaxAI/MiniMax-M2": {
234
+ "description": "MiniMax-M2 redefines efficiency for intelligent agents. It is a compact, fast, and cost-effective Mixture of Experts (MoE) model with 230 billion total parameters and 10 billion active parameters. Designed for top-tier performance in coding and agent tasks, it also maintains strong general intelligence. With only 10 billion active parameters, MiniMax-M2 delivers performance comparable to large-scale models, making it an ideal choice for high-efficiency applications."
235
+ },
239
236
  "Moonshot-Kimi-K2-Instruct": {
240
237
  "description": "With a total of 1 trillion parameters and 32 billion activated parameters, this non-thinking model achieves top-tier performance in cutting-edge knowledge, mathematics, and coding, excelling in general agent tasks. It is carefully optimized for agent tasks, capable not only of answering questions but also taking actions. Ideal for improvisational, general chat, and agent experiences, it is a reflex-level model requiring no prolonged thinking."
241
238
  },
@@ -305,6 +302,9 @@
305
302
  "Pro/moonshotai/Kimi-K2-Instruct-0905": {
306
303
  "description": "Kimi K2-Instruct-0905 is the latest and most powerful version of Kimi K2. It is a top-tier Mixture of Experts (MoE) language model with a total of 1 trillion parameters and 32 billion activated parameters. Key features of this model include enhanced agent coding intelligence, demonstrating significant performance improvements in public benchmark tests and real-world agent coding tasks; and an improved frontend coding experience, with advancements in both aesthetics and practicality for frontend programming."
307
304
  },
305
+ "Pro/moonshotai/Kimi-K2-Thinking": {
306
+ "description": "Kimi K2 Thinking Turbo is the turbocharged version of the Kimi K2 series, optimized for inference speed and throughput while retaining K2 Thinking’s multi-step reasoning and tool-calling capabilities. Built on a Mixture of Experts (MoE) architecture with approximately 1 trillion parameters, it natively supports a 256K context window and can reliably handle large-scale tool usage, making it ideal for production environments with high demands on latency and concurrency."
307
+ },
308
308
  "QwQ-32B-Preview": {
309
309
  "description": "QwQ-32B-Preview is an innovative natural language processing model capable of efficiently handling complex dialogue generation and context understanding tasks."
310
310
  },
@@ -717,25 +717,31 @@
717
717
  "description": "Claude 3 Opus is Anthropic's smartest model, delivering market-leading performance on highly complex tasks. It navigates open-ended prompts and novel scenarios with exceptional fluency and human-like understanding."
718
718
  },
719
719
  "anthropic/claude-3.5-haiku": {
720
- "description": "Claude 3.5 Haiku is the next generation of our fastest model. Matching the speed of Claude 3 Haiku, it improves across every skill set and surpasses our previous largest model Claude 3 Opus on many intelligence benchmarks."
720
+ "description": "Claude 3.5 Haiku offers enhanced speed, coding accuracy, and tool usage. Ideal for scenarios requiring high performance in speed and tool interaction."
721
721
  },
722
722
  "anthropic/claude-3.5-sonnet": {
723
- "description": "Claude 3.5 Sonnet strikes an ideal balance between intelligence and speed—especially for enterprise workloads. It delivers powerful performance at lower cost compared to peers and is designed for high durability in large-scale AI deployments."
723
+ "description": "Claude 3.5 Sonnet is a fast and efficient model in the Sonnet family, offering improved coding and reasoning performance. Some versions will gradually be replaced by models like Sonnet 3.7."
724
724
  },
725
725
  "anthropic/claude-3.7-sonnet": {
726
- "description": "Claude 3.7 Sonnet is the first hybrid reasoning model and Anthropic's smartest model to date. It offers state-of-the-art performance in coding, content generation, data analysis, and planning tasks, building on the software engineering and computer usage capabilities of its predecessor Claude 3.5 Sonnet."
726
+ "description": "Claude 3.7 Sonnet is an upgraded model in the Sonnet series, delivering stronger reasoning and coding capabilities, suitable for complex enterprise-level tasks."
727
+ },
728
+ "anthropic/claude-haiku-4.5": {
729
+ "description": "Claude Haiku 4.5 is a high-performance, low-latency model from Anthropic that maintains high accuracy."
727
730
  },
728
731
  "anthropic/claude-opus-4": {
729
- "description": "Claude Opus 4 is Anthropic's most powerful model yet and the world's best coding model, leading on SWE-bench (72.5%) and Terminal-bench (43.2%). It provides sustained performance for long-term tasks requiring focused effort and thousands of steps, capable of continuous operation for hours—significantly extending AI agent capabilities."
732
+ "description": "Opus 4 is Anthropics flagship model, designed for complex tasks and enterprise-grade applications."
730
733
  },
731
734
  "anthropic/claude-opus-4.1": {
732
- "description": "Claude Opus 4.1 is a plug-and-play alternative to Opus 4, delivering excellent performance and accuracy for practical coding and agent tasks. Opus 4.1 advances state-of-the-art coding performance to 74.5% on SWE-bench Verified, handling complex multi-step problems with greater rigor and attention to detail."
735
+ "description": "Opus 4.1 is a premium model from Anthropic, optimized for programming, complex reasoning, and sustained tasks."
736
+ },
737
+ "anthropic/claude-opus-4.5": {
738
+ "description": "Claude Opus 4.5 is Anthropic's flagship model, combining exceptional intelligence with scalable performance. It's ideal for complex tasks that demand top-tier responses and advanced reasoning capabilities."
733
739
  },
734
740
  "anthropic/claude-sonnet-4": {
735
- "description": "Claude Sonnet 4 significantly improves upon the industry-leading capabilities of Sonnet 3.7, excelling in coding with state-of-the-art 72.7% on SWE-bench. The model balances performance and efficiency, suitable for both internal and external use cases, and offers enhanced controllability for greater command over outcomes."
741
+ "description": "Claude Sonnet 4 is Anthropic’s hybrid reasoning model, offering a blend of cognitive and non-cognitive capabilities."
736
742
  },
737
743
  "anthropic/claude-sonnet-4.5": {
738
- "description": "Claude Sonnet 4.5 is Anthropic's most intelligent model to date."
744
+ "description": "Claude Sonnet 4.5 is Anthropics latest hybrid reasoning model, optimized for complex reasoning and coding tasks."
739
745
  },
740
746
  "ascend-tribe/pangu-pro-moe": {
741
747
  "description": "Pangu-Pro-MoE 72B-A16B is a sparse large language model with 72 billion parameters and 16 billion activated parameters. It is based on the Group Mixture of Experts (MoGE) architecture, which groups experts during the expert selection phase and constrains tokens to activate an equal number of experts within each group, achieving expert load balancing and significantly improving deployment efficiency on the Ascend platform."
@@ -758,6 +764,21 @@
758
764
  "baidu/ERNIE-4.5-300B-A47B": {
759
765
  "description": "ERNIE-4.5-300B-A47B is a large language model developed by Baidu based on a Mixture of Experts (MoE) architecture. The model has a total of 300 billion parameters, but only activates 47 billion parameters per token during inference, balancing powerful performance with computational efficiency. As a core model in the ERNIE 4.5 series, it demonstrates outstanding capabilities in text understanding, generation, reasoning, and programming tasks. The model employs an innovative multimodal heterogeneous MoE pretraining method, jointly training text and visual modalities to effectively enhance overall capabilities, especially excelling in instruction following and world knowledge retention."
760
766
  },
767
+ "baidu/ernie-5.0-thinking-preview": {
768
+ "description": "ERNIE 5.0 Thinking Preview is Baidu’s next-generation native multimodal Wenxin model, excelling in multimodal understanding, instruction following, content creation, factual Q&A, and tool usage."
769
+ },
770
+ "black-forest-labs/flux-1.1-pro": {
771
+ "description": "FLUX 1.1 Pro - A faster and enhanced version of FLUX Pro, delivering exceptional image quality and prompt adherence."
772
+ },
773
+ "black-forest-labs/flux-dev": {
774
+ "description": "FLUX Dev - Development version of FLUX, for non-commercial use only."
775
+ },
776
+ "black-forest-labs/flux-pro": {
777
+ "description": "FLUX Pro - The professional edition of the FLUX model, producing high-quality images."
778
+ },
779
+ "black-forest-labs/flux-schnell": {
780
+ "description": "FLUX Schnell - A fast image generation model optimized for speed."
781
+ },
761
782
  "c4ai-aya-expanse-32b": {
762
783
  "description": "Aya Expanse is a high-performance 32B multilingual model designed to challenge the performance of single-language models through innovations in instruction tuning, data arbitrage, preference training, and model merging. It supports 23 languages."
763
784
  },
@@ -818,6 +839,9 @@
818
839
  "claude-opus-4-20250514": {
819
840
  "description": "Claude Opus 4 is Anthropic's most powerful model for handling highly complex tasks. It excels in performance, intelligence, fluency, and comprehension."
820
841
  },
842
+ "claude-opus-4-5-20251101": {
843
+ "description": "Claude Opus 4.5 is Anthropic's flagship model, combining exceptional intelligence with scalable performance. It's ideal for complex tasks that demand top-tier responses and advanced reasoning capabilities."
844
+ },
821
845
  "claude-sonnet-4-20250514": {
822
846
  "description": "Claude Sonnet 4 can generate near-instant responses or extended step-by-step reasoning, allowing users to clearly observe these processes."
823
847
  },
@@ -866,6 +890,9 @@
866
890
  "codex-mini-latest": {
867
891
  "description": "codex-mini-latest is a fine-tuned version of o4-mini, specifically designed for Codex CLI. For direct API usage, we recommend starting with gpt-4.1."
868
892
  },
893
+ "cogito-2.1:671b": {
894
+ "description": "Cogito v2.1 671B is a U.S.-based open-source large language model available for free commercial use. It offers top-tier performance, high token inference efficiency, 128k long context, and robust general capabilities."
895
+ },
869
896
  "cogview-4": {
870
897
  "description": "CogView-4 is Zhipu's first open-source text-to-image model supporting Chinese character generation. It offers comprehensive improvements in semantic understanding, image generation quality, and bilingual Chinese-English text generation capabilities. It supports bilingual input of any length and can generate images at any resolution within a specified range."
871
898
  },
@@ -1043,12 +1070,18 @@
1043
1070
  "deepseek-coder-v2:236b": {
1044
1071
  "description": "DeepSeek Coder V2 is an open-source hybrid expert code model that performs excellently in coding tasks, comparable to GPT4-Turbo."
1045
1072
  },
1073
+ "deepseek-ocr": {
1074
+ "description": "DeepSeek-OCR is a vision-language model developed by DeepSeek AI, focused on Optical Character Recognition (OCR) and 'contextual optical compression.' It explores the limits of compressing contextual information from images, efficiently processing documents and converting them into structured formats like Markdown. It excels at accurately recognizing text within images, making it well-suited for document digitization, text extraction, and structured data processing."
1075
+ },
1046
1076
  "deepseek-r1": {
1047
1077
  "description": "DeepSeek-R1 is a reinforcement learning (RL) driven inference model that addresses issues of repetitiveness and readability within the model. Prior to RL, DeepSeek-R1 introduced cold start data to further optimize inference performance. It performs comparably to OpenAI-o1 in mathematical, coding, and reasoning tasks, and enhances overall effectiveness through meticulously designed training methods."
1048
1078
  },
1049
1079
  "deepseek-r1-0528": {
1050
1080
  "description": "The full-capacity 685B model released on May 28, 2025. DeepSeek-R1 extensively employs reinforcement learning during post-training, significantly enhancing reasoning capabilities with minimal labeled data. It demonstrates strong performance in mathematics, coding, and natural language reasoning tasks."
1051
1081
  },
1082
+ "deepseek-r1-250528": {
1083
+ "description": "DeepSeek R1 250528, the full-performance DeepSeek-R1 inference model, ideal for complex mathematical and logical tasks."
1084
+ },
1052
1085
  "deepseek-r1-70b-fast-online": {
1053
1086
  "description": "DeepSeek R1 70B fast version, supporting real-time online search, providing faster response times while maintaining model performance."
1054
1087
  },
@@ -1059,31 +1092,34 @@
1059
1092
  "description": "deepseek-r1-distill-llama is a model distilled from DeepSeek-R1 based on Llama."
1060
1093
  },
1061
1094
  "deepseek-r1-distill-llama-70b": {
1062
- "description": "DeepSeek R1—the larger and smarter model in the DeepSeek suite—has been distilled into the Llama 70B architecture. Based on benchmark tests and human evaluations, this model is smarter than the original Llama 70B, especially excelling in tasks requiring mathematical and factual accuracy."
1095
+ "description": "DeepSeek R1 Distill Llama 70B, a distilled model combining general R1 inference capabilities with the Llama ecosystem."
1063
1096
  },
1064
1097
  "deepseek-r1-distill-llama-8b": {
1065
- "description": "The DeepSeek-R1-Distill series models are fine-tuned versions of samples generated by DeepSeek-R1, using knowledge distillation techniques on open-source models like Qwen and Llama."
1098
+ "description": "DeepSeek-R1-Distill-Llama-8B is a distilled large language model based on Llama-3.1-8B, utilizing outputs from DeepSeek R1."
1066
1099
  },
1067
- "deepseek-r1-distill-qianfan-llama-70b": {
1068
- "description": "First released on February 14, 2025, distilled by the Qianfan model development team using Llama3_70B as the base model (Built with Meta Llama), with Qianfan's corpus also added to the distilled data."
1100
+ "deepseek-r1-distill-qianfan-70b": {
1101
+ "description": "DeepSeek R1 Distill Qianfan 70B, a cost-effective R1 distilled model based on Qianfan-70B."
1102
+ },
1103
+ "deepseek-r1-distill-qianfan-8b": {
1104
+ "description": "DeepSeek R1 Distill Qianfan 8B, an R1 distilled model based on Qianfan-8B, suitable for small to medium-scale applications."
1069
1105
  },
1070
- "deepseek-r1-distill-qianfan-llama-8b": {
1071
- "description": "First released on February 14, 2025, distilled by the Qianfan model development team using Llama3_8B as the base model (Built with Meta Llama), with Qianfan's corpus also added to the distilled data."
1106
+ "deepseek-r1-distill-qianfan-llama-70b": {
1107
+ "description": "DeepSeek R1 Distill Qianfan Llama 70B, an R1 distilled model based on Llama-70B."
1072
1108
  },
1073
1109
  "deepseek-r1-distill-qwen": {
1074
1110
  "description": "deepseek-r1-distill-qwen is a model distilled from DeepSeek-R1 based on Qwen."
1075
1111
  },
1076
1112
  "deepseek-r1-distill-qwen-1.5b": {
1077
- "description": "The DeepSeek-R1-Distill series models are fine-tuned versions of samples generated by DeepSeek-R1, using knowledge distillation techniques on open-source models like Qwen and Llama."
1113
+ "description": "DeepSeek R1 Distill Qwen 1.5B, an ultra-lightweight R1 distilled model designed for extremely low-resource environments."
1078
1114
  },
1079
1115
  "deepseek-r1-distill-qwen-14b": {
1080
- "description": "The DeepSeek-R1-Distill series models are fine-tuned versions of samples generated by DeepSeek-R1, using knowledge distillation techniques on open-source models like Qwen and Llama."
1116
+ "description": "DeepSeek R1 Distill Qwen 14B, a mid-sized R1 distilled model suitable for multi-scenario deployment."
1081
1117
  },
1082
1118
  "deepseek-r1-distill-qwen-32b": {
1083
- "description": "The DeepSeek-R1-Distill series models are fine-tuned versions of samples generated by DeepSeek-R1, using knowledge distillation techniques on open-source models like Qwen and Llama."
1119
+ "description": "DeepSeek R1 Distill Qwen 32B, an R1 distilled model based on Qwen-32B, balancing performance and cost."
1084
1120
  },
1085
1121
  "deepseek-r1-distill-qwen-7b": {
1086
- "description": "The DeepSeek-R1-Distill series models are fine-tuned versions of samples generated by DeepSeek-R1, using knowledge distillation techniques on open-source models like Qwen and Llama."
1122
+ "description": "DeepSeek R1 Distill Qwen 7B, a lightweight R1 distilled model ideal for edge computing and enterprise private deployments."
1087
1123
  },
1088
1124
  "deepseek-r1-fast-online": {
1089
1125
  "description": "DeepSeek R1 full fast version, supporting real-time online search, combining the powerful capabilities of 671B parameters with faster response times."
@@ -1112,12 +1148,27 @@
1112
1148
  "deepseek-v3.1-terminus": {
1113
1149
  "description": "DeepSeek-V3.1-Terminus is an optimized large language model developed by DeepSeek, specifically tailored for terminal devices."
1114
1150
  },
1151
+ "deepseek-v3.1-think-250821": {
1152
+ "description": "DeepSeek V3.1 Think 250821, a deep reasoning model aligned with the Terminus version, suitable for high-performance inference scenarios."
1153
+ },
1115
1154
  "deepseek-v3.1:671b": {
1116
1155
  "description": "DeepSeek V3.1: The next-generation reasoning model that enhances complex reasoning and chain-of-thought capabilities, suitable for tasks requiring in-depth analysis."
1117
1156
  },
1118
1157
  "deepseek-v3.2-exp": {
1119
1158
  "description": "deepseek-v3.2-exp introduces a sparse attention mechanism designed to enhance training and inference efficiency when processing long texts, priced lower than deepseek-v3.1."
1120
1159
  },
1160
+ "deepseek-v3.2-think": {
1161
+ "description": "DeepSeek V3.2 Think, a full-performance deep reasoning model with enhanced long-chain reasoning capabilities."
1162
+ },
1163
+ "deepseek-vl2": {
1164
+ "description": "DeepSeek VL2, a multimodal model supporting image-text understanding and fine-grained visual question answering."
1165
+ },
1166
+ "deepseek-vl2-small": {
1167
+ "description": "DeepSeek VL2 Small, a lightweight multimodal version designed for resource-constrained and high-concurrency scenarios."
1168
+ },
1169
+ "deepseek/deepseek-chat": {
1170
+ "description": "DeepSeek-V3 is a high-performance hybrid reasoning model from the DeepSeek team, suitable for complex tasks and tool integration."
1171
+ },
1121
1172
  "deepseek/deepseek-chat-v3-0324": {
1122
1173
  "description": "DeepSeek V3 is a 685B parameter expert mixture model, the latest iteration in the DeepSeek team's flagship chat model series.\n\nIt inherits from the [DeepSeek V3](/deepseek/deepseek-chat-v3) model and performs excellently across various tasks."
1123
1174
  },
@@ -1125,19 +1176,19 @@
1125
1176
  "description": "DeepSeek V3 is a 685B parameter expert mixture model, the latest iteration in the DeepSeek team's flagship chat model series.\n\nIt inherits from the [DeepSeek V3](/deepseek/deepseek-chat-v3) model and performs excellently across various tasks."
1126
1177
  },
1127
1178
  "deepseek/deepseek-chat-v3.1": {
1128
- "description": "DeepSeek-V3.1 is a large hybrid reasoning model supporting 128K long context and efficient mode switching, delivering outstanding performance and speed in tool invocation, code generation, and complex reasoning tasks."
1179
+ "description": "DeepSeek-V3.1 is a long-context hybrid reasoning model from DeepSeek, supporting cognitive/non-cognitive hybrid modes and tool integration."
1129
1180
  },
1130
1181
  "deepseek/deepseek-r1": {
1131
1182
  "description": "The DeepSeek R1 model has undergone minor version upgrades, currently at DeepSeek-R1-0528. The latest update significantly enhances inference depth and capability by leveraging increased compute resources and post-training algorithmic optimizations. The model performs excellently on benchmarks in mathematics, programming, and general logic, with overall performance approaching leading models like O3 and Gemini 2.5 Pro."
1132
1183
  },
1133
1184
  "deepseek/deepseek-r1-0528": {
1134
- "description": "DeepSeek-R1 greatly improves model reasoning capabilities with minimal labeled data. Before outputting the final answer, the model first generates a chain of thought to enhance answer accuracy."
1185
+ "description": "DeepSeek R1 0528 is an updated variant from DeepSeek, focused on open-source usability and deep reasoning."
1135
1186
  },
1136
1187
  "deepseek/deepseek-r1-0528:free": {
1137
1188
  "description": "DeepSeek-R1 greatly improves model reasoning capabilities with minimal labeled data. Before outputting the final answer, the model first generates a chain of thought to enhance answer accuracy."
1138
1189
  },
1139
1190
  "deepseek/deepseek-r1-distill-llama-70b": {
1140
- "description": "DeepSeek-R1-Distill-Llama-70B is a distilled, more efficient variant of the 70B Llama model. It maintains strong performance on text generation tasks while reducing computational overhead for easier deployment and research. Served by Groq using its custom Language Processing Unit (LPU) hardware for fast, efficient inference."
1191
+ "description": "DeepSeek R1 Distill Llama 70B is a large language model based on Llama3.3 70B. Fine-tuned using outputs from DeepSeek R1, it achieves competitive performance on par with leading-edge large models."
1141
1192
  },
1142
1193
  "deepseek/deepseek-r1-distill-llama-8b": {
1143
1194
  "description": "DeepSeek R1 Distill Llama 8B is a distilled large language model based on Llama-3.1-8B-Instruct, trained using outputs from DeepSeek R1."
@@ -1154,6 +1205,9 @@
1154
1205
  "deepseek/deepseek-r1:free": {
1155
1206
  "description": "DeepSeek-R1 significantly enhances model reasoning capabilities with minimal labeled data. Before outputting the final answer, the model first provides a chain of thought to improve the accuracy of the final response."
1156
1207
  },
1208
+ "deepseek/deepseek-reasoner": {
1209
+ "description": "DeepSeek-V3 Thinking (reasoner) is an experimental reasoning model from DeepSeek, designed for high-complexity reasoning tasks."
1210
+ },
1157
1211
  "deepseek/deepseek-v3": {
1158
1212
  "description": "A fast, general-purpose large language model with enhanced reasoning capabilities."
1159
1213
  },
@@ -1235,6 +1289,9 @@
1235
1289
  "doubao-seed-1.6-vision": {
1236
1290
  "description": "Doubao-Seed-1.6-vision is a visual deep thinking model that demonstrates stronger general multimodal understanding and reasoning capabilities in scenarios such as education, image review, inspection and security, and AI search Q&A. It supports a 256k context window and an output length of up to 64k tokens."
1237
1291
  },
1292
+ "doubao-seed-code": {
1293
+ "description": "Doubao-Seed-Code is deeply optimized for agentic programming tasks, supporting multimodal inputs (text/image/video) and a 256K long context window. It is compatible with the Anthropic API and ideal for programming, visual understanding, and agent-based scenarios."
1294
+ },
1238
1295
  "doubao-seededit-3-0-i2i-250628": {
1239
1296
  "description": "Doubao image generation model developed by ByteDance Seed team supports both text and image inputs, providing a highly controllable and high-quality image generation experience. Supports image editing via text instructions, generating images with dimensions between 512 and 1536 pixels."
1240
1297
  },
@@ -1253,83 +1310,92 @@
1253
1310
  "emohaa": {
1254
1311
  "description": "Emohaa is a psychological model with professional counseling capabilities, helping users understand emotional issues."
1255
1312
  },
1256
- "ernie-3.5-128k": {
1257
- "description": "Baidu's flagship large-scale language model, covering a vast amount of Chinese and English corpus, possesses strong general capabilities to meet the requirements of most dialogue Q&A, creative generation, and plugin application scenarios; it supports automatic integration with Baidu search plugins to ensure the timeliness of Q&A information."
1258
- },
1259
- "ernie-3.5-8k": {
1260
- "description": "Baidu's flagship large-scale language model, covering a vast amount of Chinese and English corpus, possesses strong general capabilities to meet the requirements of most dialogue Q&A, creative generation, and plugin application scenarios; it supports automatic integration with Baidu search plugins to ensure the timeliness of Q&A information."
1261
- },
1262
- "ernie-3.5-8k-preview": {
1263
- "description": "Baidu's flagship large-scale language model, covering a vast amount of Chinese and English corpus, possesses strong general capabilities to meet the requirements of most dialogue Q&A, creative generation, and plugin application scenarios; it supports automatic integration with Baidu search plugins to ensure the timeliness of Q&A information."
1264
- },
1265
- "ernie-4.0-8k-latest": {
1266
- "description": "Baidu's flagship ultra-large-scale language model, which has achieved a comprehensive upgrade in model capabilities compared to ERNIE 3.5, widely applicable to complex task scenarios across various fields; it supports automatic integration with Baidu search plugins to ensure the timeliness of Q&A information."
1267
- },
1268
- "ernie-4.0-8k-preview": {
1269
- "description": "Baidu's flagship ultra-large-scale language model, which has achieved a comprehensive upgrade in model capabilities compared to ERNIE 3.5, widely applicable to complex task scenarios across various fields; it supports automatic integration with Baidu search plugins to ensure the timeliness of Q&A information."
1270
- },
1271
- "ernie-4.0-turbo-128k": {
1272
- "description": "Baidu's flagship ultra-large-scale language model, demonstrating outstanding overall performance, widely applicable to complex task scenarios across various fields; it supports automatic integration with Baidu search plugins to ensure the timeliness of Q&A information. It performs better than ERNIE 4.0 in terms of performance."
1273
- },
1274
- "ernie-4.0-turbo-8k-latest": {
1275
- "description": "Baidu's flagship ultra-large-scale language model, demonstrating outstanding overall performance, widely applicable to complex task scenarios across various fields; it supports automatic integration with Baidu search plugins to ensure the timeliness of Q&A information. It performs better than ERNIE 4.0 in terms of performance."
1276
- },
1277
- "ernie-4.0-turbo-8k-preview": {
1278
- "description": "Baidu's flagship ultra-large-scale language model, demonstrating outstanding overall performance, widely applicable to complex task scenarios across various fields; it supports automatic integration with Baidu search plugins to ensure the timeliness of Q&A information. It performs better than ERNIE 4.0 in terms of performance."
1313
+ "ernie-4.5-0.3b": {
1314
+ "description": "ERNIE 4.5 0.3B, an open-source lightweight model suitable for local and customized deployments."
1279
1315
  },
1280
1316
  "ernie-4.5-21b-a3b": {
1281
- "description": "ERNIE 4.5 21B A3B is a Mixture of Experts model from Baidu's Wenxin series, offering strong reasoning and multilingual capabilities."
1317
+ "description": "ERNIE 4.5 21B A3B, an open-source large-parameter model with stronger performance in understanding and generation tasks."
1282
1318
  },
1283
1319
  "ernie-4.5-300b-a47b": {
1284
1320
  "description": "ERNIE 4.5 300B A47B is a large-scale Mixture of Experts model from Baidu's Wenxin series, delivering exceptional reasoning performance."
1285
1321
  },
1286
1322
  "ernie-4.5-8k-preview": {
1287
- "description": "ERNIE 4.5 is Baidu's self-developed next-generation native multimodal foundational model, achieving collaborative optimization through joint modeling of multiple modalities, with excellent multimodal understanding capabilities; it features enhanced language abilities, with significant improvements in understanding, generation, logic, and memory, as well as reduced hallucinations and improved logical reasoning and coding capabilities."
1323
+ "description": "ERNIE 4.5 8K Preview, an 8K context preview model for experiencing and testing ERNIE 4.5 capabilities."
1288
1324
  },
1289
1325
  "ernie-4.5-turbo-128k": {
1290
- "description": "Wenxin 4.5 Turbo shows significant enhancements in reducing hallucinations, logical reasoning, and coding capabilities. Compared to Wenxin 4.5, it is faster and more cost-effective. The model's capabilities have been comprehensively improved to better meet the needs of multi-turn long history dialogue processing and long document understanding Q&A tasks."
1326
+ "description": "ERNIE 4.5 Turbo 128K, a high-performance general-purpose model supporting search augmentation and tool invocation, suitable for Q&A, coding, agents, and more."
1327
+ },
1328
+ "ernie-4.5-turbo-128k-preview": {
1329
+ "description": "ERNIE 4.5 Turbo 128K Preview, offering the same capabilities as the official version, ideal for integration testing and staging."
1291
1330
  },
1292
1331
  "ernie-4.5-turbo-32k": {
1293
- "description": "Wenxin 4.5 Turbo has also shown significant enhancements in reducing hallucinations, logical reasoning, and coding capabilities. Compared to Wenxin 4.5, it is faster and more cost-effective. There are notable improvements in text creation and knowledge Q&A capabilities. The output length and sentence delay have increased compared to ERNIE 4.5."
1332
+ "description": "ERNIE 4.5 Turbo 32K, a medium-to-long context version suitable for Q&A, knowledge retrieval, and multi-turn conversations."
1333
+ },
1334
+ "ernie-4.5-turbo-latest": {
1335
+ "description": "ERNIE 4.5 Turbo Latest, optimized for overall performance, ideal as a general-purpose production model."
1336
+ },
1337
+ "ernie-4.5-turbo-vl": {
1338
+ "description": "ERNIE 4.5 Turbo VL, a mature multimodal model for image-text understanding and recognition in production environments."
1294
1339
  },
1295
1340
  "ernie-4.5-turbo-vl-32k": {
1296
- "description": "A brand new version of the Wenxin large model, with significant improvements in image understanding, creation, translation, and coding capabilities, now supports a context length of 32K for the first time, with a significant reduction in first token delay."
1341
+ "description": "ERNIE 4.5 Turbo VL 32K, a medium-to-long text multimodal version for joint understanding of long documents and images."
1342
+ },
1343
+ "ernie-4.5-turbo-vl-32k-preview": {
1344
+ "description": "ERNIE 4.5 Turbo VL 32K Preview, a 32K multimodal preview version for evaluating long-context visual capabilities."
1345
+ },
1346
+ "ernie-4.5-turbo-vl-latest": {
1347
+ "description": "ERNIE 4.5 Turbo VL Latest, the latest multimodal version offering improved image-text understanding and reasoning."
1348
+ },
1349
+ "ernie-4.5-turbo-vl-preview": {
1350
+ "description": "ERNIE 4.5 Turbo VL Preview, a multimodal preview model supporting image-text understanding and generation, ideal for visual Q&A and content comprehension."
1351
+ },
1352
+ "ernie-4.5-vl-28b-a3b": {
1353
+ "description": "ERNIE 4.5 VL 28B A3B, an open-source multimodal model supporting image-text understanding and reasoning tasks."
1354
+ },
1355
+ "ernie-5.0-thinking-latest": {
1356
+ "description": "ERNIE 5.0 Thinking is a flagship native multimodal model that supports unified modeling of text, images, audio, and video. With comprehensive capability upgrades, it is well-suited for complex Q&A, creative tasks, and intelligent agent applications."
1357
+ },
1358
+ "ernie-5.0-thinking-preview": {
1359
+ "description": "ERNIE 5.0 Thinking Preview, a native all-modality flagship model supporting unified modeling of text, image, audio, and video, with comprehensive capability upgrades for complex Q&A, creative tasks, and agent scenarios."
1297
1360
  },
1298
1361
  "ernie-char-8k": {
1299
- "description": "Baidu's vertical scene large language model, suitable for applications such as game NPCs, customer service dialogues, and role-playing conversations, with a more distinct and consistent character style, stronger instruction-following capabilities, and superior inference performance."
1362
+ "description": "ERNIE Character 8K, a persona dialogue model ideal for IP character building and long-term companion conversations."
1300
1363
  },
1301
1364
  "ernie-char-fiction-8k": {
1302
- "description": "Baidu's vertical scene large language model, suitable for applications such as game NPCs, customer service dialogues, and role-playing conversations, with a more distinct and consistent character style, stronger instruction-following capabilities, and superior inference performance."
1365
+ "description": "ERNIE Character Fiction 8K, a persona model for novel and story creation, suitable for generating long-form narratives."
1366
+ },
1367
+ "ernie-char-fiction-8k-preview": {
1368
+ "description": "ERNIE Character Fiction 8K Preview, a preview model for character and story creation, designed for feature testing and experience."
1303
1369
  },
1304
1370
  "ernie-irag-edit": {
1305
- "description": "Baidu's self-developed ERNIE iRAG Edit image editing model supports operations such as erase (object removal), repaint (object redrawing), and variation (variant generation) based on images."
1371
+ "description": "ERNIE iRAG Edit, an image editing model supporting image erasure, redrawing, and variant generation."
1306
1372
  },
1307
1373
  "ernie-lite-8k": {
1308
- "description": "ERNIE Lite is Baidu's lightweight large language model, balancing excellent model performance with inference efficiency, suitable for low-power AI acceleration card inference."
1374
+ "description": "ERNIE Lite 8K, a lightweight general-purpose model suitable for cost-sensitive daily Q&A and content generation."
1309
1375
  },
1310
1376
  "ernie-lite-pro-128k": {
1311
- "description": "Baidu's lightweight large language model, balancing excellent model performance with inference efficiency, offering better performance than ERNIE Lite, suitable for low-power AI acceleration card inference."
1377
+ "description": "ERNIE Lite Pro 128K, a lightweight high-performance model ideal for latency- and cost-sensitive business scenarios."
1312
1378
  },
1313
1379
  "ernie-novel-8k": {
1314
- "description": "Baidu's general-purpose large language model, which has a significant advantage in novel continuation capabilities and can also be used in short plays, movies, and other scenarios."
1380
+ "description": "ERNIE Novel 8K, a model for long-form novel and IP story creation, skilled in multi-character and multi-threaded storytelling."
1315
1381
  },
1316
1382
  "ernie-speed-128k": {
1317
- "description": "Baidu's latest self-developed high-performance large language model released in 2024, with excellent general capabilities, suitable as a base model for fine-tuning to better address specific scenario issues while also demonstrating excellent inference performance."
1383
+ "description": "ERNIE Speed 128K, a large model with no input/output cost, suitable for long-text understanding and large-scale trials."
1384
+ },
1385
+ "ernie-speed-8k": {
1386
+ "description": "ERNIE Speed 8K, a free and fast model ideal for daily conversations and lightweight text tasks."
1318
1387
  },
1319
1388
  "ernie-speed-pro-128k": {
1320
- "description": "Baidu's latest self-developed high-performance large language model released in 2024, with excellent general capabilities, offering better performance than ERNIE Speed, suitable as a base model for fine-tuning to better address specific scenario issues while also demonstrating excellent inference performance."
1389
+ "description": "ERNIE Speed Pro 128K, a high-concurrency, cost-effective model suitable for large-scale online services and enterprise applications."
1321
1390
  },
1322
1391
  "ernie-tiny-8k": {
1323
- "description": "ERNIE Tiny is Baidu's ultra-high-performance large language model, with the lowest deployment and fine-tuning costs among the Wenxin series models."
1324
- },
1325
- "ernie-x1-32k": {
1326
- "description": "Possesses stronger abilities in understanding, planning, reflection, and evolution. As a more comprehensive deep thinking model, Wenxin X1 combines accuracy, creativity, and eloquence, excelling in areas such as Chinese knowledge Q&A, literary creation, document writing, daily conversation, logical reasoning, complex calculations, and tool invocation."
1327
- },
1328
- "ernie-x1-32k-preview": {
1329
- "description": "The ERNIE X1 model possesses stronger understanding, planning, reflection, and evolution capabilities. As a more comprehensive deep thinking model, ERNIE X1 excels in accuracy, creativity, and eloquence, particularly in Chinese knowledge Q&A, literary creation, document writing, daily conversation, logical reasoning, complex calculations, and tool invocation."
1392
+ "description": "ERNIE Tiny 8K, an ultra-lightweight model for simple Q&A, classification, and other low-cost inference scenarios."
1330
1393
  },
1331
1394
  "ernie-x1-turbo-32k": {
1332
- "description": "The model performs better in terms of effectiveness and performance compared to ERNIE-X1-32K."
1395
+ "description": "ERNIE X1 Turbo 32K, a high-speed reasoning model with 32K long context, ideal for complex reasoning and multi-turn dialogue."
1396
+ },
1397
+ "ernie-x1.1-preview": {
1398
+ "description": "ERNIE X1.1 Preview, a preview version of the ERNIE X1.1 reasoning model, suitable for capability validation and testing."
1333
1399
  },
1334
1400
  "fal-ai/bytedance/seedream/v4": {
1335
1401
  "description": "Seedream 4.0 image generation model developed by ByteDance Seed team supports text and image inputs, providing a highly controllable and high-quality image generation experience. Generates images based on text prompts."
@@ -1389,7 +1455,7 @@
1389
1455
  "description": "FLUX.1 [schnell], currently the most advanced open-source few-step model, surpasses competitors and even powerful non-distilled models like Midjourney v6.0 and DALL·E 3 (HD). Finely tuned to retain the full output diversity from pretraining, FLUX.1 [schnell] significantly enhances visual quality, instruction compliance, size/aspect ratio variation, font handling, and output diversity compared to state-of-the-art models on the market, offering users a richer and more diverse creative image generation experience."
1390
1456
  },
1391
1457
  "flux.1-schnell": {
1392
- "description": "A 12-billion-parameter rectified flow transformer capable of generating images based on text descriptions."
1458
+ "description": "FLUX.1-schnell, a high-performance image generation model for fast creation of multi-style images."
1393
1459
  },
1394
1460
  "gemini-1.0-pro-001": {
1395
1461
  "description": "Gemini 1.0 Pro 001 (Tuning) offers stable and tunable performance, making it an ideal choice for complex task solutions."
@@ -1454,9 +1520,6 @@
1454
1520
  "gemini-2.0-flash-lite-001": {
1455
1521
  "description": "Gemini 2.0 Flash is a variant of the model optimized for cost-effectiveness and low latency."
1456
1522
  },
1457
- "gemini-2.0-flash-preview-image-generation": {
1458
- "description": "Gemini 2.0 Flash preview model, supports image generation"
1459
- },
1460
1523
  "gemini-2.5-flash": {
1461
1524
  "description": "Gemini 2.5 Flash is Google's most cost-effective model, offering comprehensive capabilities."
1462
1525
  },
@@ -1484,9 +1547,6 @@
1484
1547
  "gemini-2.5-flash-preview-04-17": {
1485
1548
  "description": "Gemini 2.5 Flash Preview is Google's most cost-effective model, offering a comprehensive set of features."
1486
1549
  },
1487
- "gemini-2.5-flash-preview-05-20": {
1488
- "description": "Gemini 2.5 Flash Preview is Google's most cost-effective model, offering comprehensive capabilities."
1489
- },
1490
1550
  "gemini-2.5-flash-preview-09-2025": {
1491
1551
  "description": "Preview release (September 25th, 2025) of Gemini 2.5 Flash"
1492
1552
  },
@@ -1502,6 +1562,15 @@
1502
1562
  "gemini-2.5-pro-preview-06-05": {
1503
1563
  "description": "Gemini 2.5 Pro Preview is Google's most advanced cognitive model, capable of reasoning through complex problems in code, mathematics, and STEM fields, as well as analyzing large datasets, codebases, and documents using long-context understanding."
1504
1564
  },
1565
+ "gemini-3-pro-image-preview": {
1566
+ "description": "Gemini 3 Pro Image (Nano Banana Pro) is Google’s image generation model, also supporting multimodal dialogue."
1567
+ },
1568
+ "gemini-3-pro-image-preview:image": {
1569
+ "description": "Gemini 3 Pro Image (Nano Banana Pro) is Google’s image generation model, also supporting multimodal dialogue."
1570
+ },
1571
+ "gemini-3-pro-preview": {
1572
+ "description": "Gemini 3 Pro is the world’s leading multimodal understanding model and Google’s most powerful agent and ambient programming model to date, offering rich visual output and deep interactivity, all built on cutting-edge reasoning capabilities."
1573
+ },
1505
1574
  "gemini-flash-latest": {
1506
1575
  "description": "Latest release of Gemini Flash"
1507
1576
  },
@@ -1538,6 +1607,9 @@
1538
1607
  "glm-4-0520": {
1539
1608
  "description": "GLM-4-0520 is the latest model version designed for highly complex and diverse tasks, demonstrating outstanding performance."
1540
1609
  },
1610
+ "glm-4-32b-0414": {
1611
+ "description": "GLM-4 32B 0414, a general-purpose large model from the GLM series, supporting multi-task text generation and understanding."
1612
+ },
1541
1613
  "glm-4-9b-chat": {
1542
1614
  "description": "GLM-4-9B-Chat demonstrates high performance across semantics, mathematics, reasoning, coding, and knowledge. It also supports web browsing, code execution, custom tool invocation, and long-text reasoning. Supports 26 languages including Japanese, Korean, and German."
1543
1615
  },
@@ -1622,8 +1694,11 @@
1622
1694
  "glm-zero-preview": {
1623
1695
  "description": "GLM-Zero-Preview possesses strong complex reasoning abilities, excelling in logical reasoning, mathematics, programming, and other fields."
1624
1696
  },
1697
+ "global.anthropic.claude-opus-4-5-20251101-v1:0": {
1698
+ "description": "Claude Opus 4.5 is Anthropic's flagship model, combining exceptional intelligence with scalable performance. It's ideal for complex tasks that demand top-tier responses and advanced reasoning capabilities."
1699
+ },
1625
1700
  "google/gemini-2.0-flash": {
1626
- "description": "Gemini 2.0 Flash offers next-generation features and improvements, including exceptional speed, built-in tool usage, multimodal generation, and a 1 million token context window."
1701
+ "description": "Gemini 2.0 Flash is Google’s high-performance reasoning model, suitable for extended multimodal tasks."
1627
1702
  },
1628
1703
  "google/gemini-2.0-flash-001": {
1629
1704
  "description": "Gemini 2.0 Flash offers next-generation features and improvements, including exceptional speed, native tool usage, multimodal generation, and a 1M token context window."
@@ -1634,14 +1709,23 @@
1634
1709
  "google/gemini-2.0-flash-lite": {
1635
1710
  "description": "Gemini 2.0 Flash Lite provides next-generation features and improvements, including exceptional speed, built-in tool usage, multimodal generation, and a 1 million token context window."
1636
1711
  },
1712
+ "google/gemini-2.0-flash-lite-001": {
1713
+ "description": "Gemini 2.0 Flash Lite is a lightweight version of the Gemini family. By default, it disables reasoning to improve latency and cost efficiency, but it can be enabled via parameters."
1714
+ },
1637
1715
  "google/gemini-2.5-flash": {
1638
- "description": "Gemini 2.5 Flash is a thoughtful model delivering excellent comprehensive capabilities. It is designed to balance price and performance, supporting multimodal inputs and a 1 million token context window."
1716
+ "description": "The Gemini 2.5 Flash (Lite/Pro/Flash) series are Google’s reasoning models ranging from low-latency to high-performance."
1717
+ },
1718
+ "google/gemini-2.5-flash-image": {
1719
+ "description": "Gemini 2.5 Flash Image (Nano Banana) is Google’s image generation model, also supporting multimodal dialogue."
1720
+ },
1721
+ "google/gemini-2.5-flash-image-free": {
1722
+ "description": "Gemini 2.5 Flash Image Free Edition supports limited multimodal generation."
1639
1723
  },
1640
1724
  "google/gemini-2.5-flash-image-preview": {
1641
1725
  "description": "Gemini 2.5 Flash experimental model, supporting image generation."
1642
1726
  },
1643
1727
  "google/gemini-2.5-flash-lite": {
1644
- "description": "Gemini 2.5 Flash-Lite is a balanced, low-latency model with configurable reasoning budget and tool connectivity (e.g., Google Search grounding and code execution). It supports multimodal inputs and offers a 1 million token context window."
1728
+ "description": "Gemini 2.5 Flash Lite is a lightweight version of Gemini 2.5, optimized for latency and cost, ideal for high-throughput scenarios."
1645
1729
  },
1646
1730
  "google/gemini-2.5-flash-preview": {
1647
1731
  "description": "Gemini 2.5 Flash is Google's most advanced flagship model, designed for advanced reasoning, coding, mathematics, and scientific tasks. It includes built-in 'thinking' capabilities that allow it to provide responses with higher accuracy and detailed context handling.\n\nNote: This model has two variants: thinking and non-thinking. Output pricing varies significantly based on whether the thinking capability is activated. If you choose the standard variant (without the ':thinking' suffix), the model will explicitly avoid generating thinking tokens.\n\nTo leverage the thinking capability and receive thinking tokens, you must select the ':thinking' variant, which will incur higher thinking output pricing.\n\nAdditionally, Gemini 2.5 Flash can be configured via the 'maximum tokens for reasoning' parameter, as described in the documentation (https://openrouter.ai/docs/use-cases/reasoning-tokens#max-tokens-for-reasoning)."
@@ -1650,11 +1734,26 @@
1650
1734
  "description": "Gemini 2.5 Flash is Google's most advanced flagship model, designed for advanced reasoning, coding, mathematics, and scientific tasks. It includes built-in 'thinking' capabilities that allow it to provide responses with higher accuracy and detailed context handling.\n\nNote: This model has two variants: thinking and non-thinking. Output pricing varies significantly based on whether the thinking capability is activated. If you choose the standard variant (without the ':thinking' suffix), the model will explicitly avoid generating thinking tokens.\n\nTo leverage the thinking capability and receive thinking tokens, you must select the ':thinking' variant, which will incur higher thinking output pricing.\n\nAdditionally, Gemini 2.5 Flash can be configured via the 'maximum tokens for reasoning' parameter, as described in the documentation (https://openrouter.ai/docs/use-cases/reasoning-tokens#max-tokens-for-reasoning)."
1651
1735
  },
1652
1736
  "google/gemini-2.5-pro": {
1653
- "description": "Gemini 2.5 Pro is our most advanced reasoning Gemini model, capable of solving complex problems. It features a 2 million token context window and supports multimodal inputs including text, images, audio, video, and PDF documents."
1737
+ "description": "Gemini 2.5 Pro is Google’s flagship reasoning model, supporting long context and complex tasks."
1738
+ },
1739
+ "google/gemini-2.5-pro-free": {
1740
+ "description": "Gemini 2.5 Pro Free Edition supports limited multimodal long-context usage, ideal for trials and lightweight workflows."
1654
1741
  },
1655
1742
  "google/gemini-2.5-pro-preview": {
1656
1743
  "description": "Gemini 2.5 Pro Preview is Google's most advanced thinking model, capable of reasoning through complex problems in code, mathematics, and STEM fields, as well as analyzing large datasets, codebases, and documents using extended context."
1657
1744
  },
1745
+ "google/gemini-3-pro-image-preview": {
1746
+ "description": "Gemini 3 Pro Image (Nano Banana Pro) is Google's image generation model, which also supports multimodal conversations."
1747
+ },
1748
+ "google/gemini-3-pro-image-preview-free": {
1749
+ "description": "Gemini 3 Pro Image Free Edition supports limited multimodal generation."
1750
+ },
1751
+ "google/gemini-3-pro-preview": {
1752
+ "description": "Gemini 3 Pro is the next-generation multimodal reasoning model in the Gemini series, capable of understanding text, audio, images, and video, and handling complex tasks and large codebases."
1753
+ },
1754
+ "google/gemini-3-pro-preview-free": {
1755
+ "description": "Gemini 3 Pro Free Preview offers the same multimodal understanding and reasoning capabilities as the standard version, but with usage and rate limitations, making it more suitable for exploration and low-frequency use."
1756
+ },
1658
1757
  "google/gemini-embedding-001": {
1659
1758
  "description": "A state-of-the-art embedding model delivering excellent performance on English, multilingual, and code tasks."
1660
1759
  },
@@ -1826,6 +1925,18 @@
1826
1925
  "gpt-5-pro": {
1827
1926
  "description": "GPT-5 Pro leverages greater computational power for deeper reasoning and consistently delivers improved answers."
1828
1927
  },
1928
+ "gpt-5.1": {
1929
+ "description": "GPT-5.1 — A flagship model optimized for coding and agent tasks, featuring configurable reasoning strength and extended context support."
1930
+ },
1931
+ "gpt-5.1-chat-latest": {
1932
+ "description": "GPT-5.1 Chat: A variant of GPT-5.1 tailored for ChatGPT, ideal for conversational scenarios."
1933
+ },
1934
+ "gpt-5.1-codex": {
1935
+ "description": "GPT-5.1 Codex: A GPT-5.1 variant optimized for agentic coding tasks, designed for more complex code/agent workflows via the Responses API."
1936
+ },
1937
+ "gpt-5.1-codex-mini": {
1938
+ "description": "GPT-5.1 Codex mini: A smaller, more cost-effective Codex variant optimized for agentic coding tasks."
1939
+ },
1829
1940
  "gpt-audio": {
1830
1941
  "description": "GPT Audio is a general-purpose chat model designed for audio input and output, supporting audio I/O in the Chat Completions API."
1831
1942
  },
@@ -1868,6 +1979,12 @@
1868
1979
  "grok-4-0709": {
1869
1980
  "description": "xAI's Grok 4, featuring strong reasoning capabilities."
1870
1981
  },
1982
+ "grok-4-1-fast-non-reasoning": {
1983
+ "description": "Cutting-edge multimodal model optimized specifically for high-performance agent tool invocation."
1984
+ },
1985
+ "grok-4-1-fast-reasoning": {
1986
+ "description": "Cutting-edge multimodal model optimized specifically for high-performance agent tool invocation."
1987
+ },
1871
1988
  "grok-4-fast-non-reasoning": {
1872
1989
  "description": "We are excited to release Grok 4 Fast, our latest advancement in cost-effective reasoning models."
1873
1990
  },
@@ -2001,32 +2118,47 @@
2001
2118
  "description": "Imagen 4th-generation text-to-image model series"
2002
2119
  },
2003
2120
  "imagen-4.0-generate-preview-06-06": {
2004
- "description": "Imagen 4th generation text-to-image model series"
2121
+ "description": "Imagen 4th-generation text-to-image model series."
2005
2122
  },
2006
2123
  "imagen-4.0-ultra-generate-001": {
2007
2124
  "description": "Imagen 4th-generation text-to-image model, Ultra version"
2008
2125
  },
2009
2126
  "imagen-4.0-ultra-generate-preview-06-06": {
2010
- "description": "Imagen 4th generation text-to-image model series Ultra version"
2127
+ "description": "Ultra version of the 4th-generation Imagen text-to-image model series."
2011
2128
  },
2012
2129
  "inception/mercury-coder-small": {
2013
2130
  "description": "Mercury Coder Small is ideal for code generation, debugging, and refactoring tasks, offering minimal latency."
2014
2131
  },
2015
- "inclusionAI/Ling-1T": {
2016
- "description": "Ling-1T is the first flagship non-thinking model in the 'Ling 2.0' series, featuring 1 trillion total parameters and approximately 50 billion active parameters per token. Built on the Ling 2.0 architecture, Ling-1T aims to push the boundaries of efficient reasoning and scalable cognition. Ling-1T-base is trained on over 20 trillion high-quality, reasoning-intensive tokens."
2017
- },
2018
2132
  "inclusionAI/Ling-flash-2.0": {
2019
2133
  "description": "Ling-flash-2.0 is the third model in the Ling 2.0 architecture series released by Ant Group's Bailing team. It is a mixture-of-experts (MoE) model with a total of 100 billion parameters, but activates only 6.1 billion parameters per token (4.8 billion non-embedding). As a lightweight configuration model, Ling-flash-2.0 demonstrates performance comparable to or surpassing 40-billion-parameter dense models and larger MoE models across multiple authoritative benchmarks. The model aims to explore efficient pathways under the consensus that \"large models equal large parameters\" through extreme architectural design and training strategies."
2020
2134
  },
2021
2135
  "inclusionAI/Ling-mini-2.0": {
2022
2136
  "description": "Ling-mini-2.0 is a small-sized, high-performance large language model based on the MoE architecture. It has 16 billion total parameters but activates only 1.4 billion per token (789 million non-embedding), achieving extremely high generation speed. Thanks to the efficient MoE design and large-scale high-quality training data, despite activating only 1.4 billion parameters, Ling-mini-2.0 still delivers top-tier performance comparable to dense LLMs under 10 billion parameters and larger MoE models on downstream tasks."
2023
2137
  },
2024
- "inclusionAI/Ring-1T": {
2025
- "description": "Ring-1T is a trillion-parameter open-source cognitive model released by the Bailing team. It is trained on the Ling 2.0 architecture and the Ling-1T-base model, with 1 trillion total parameters and 50 billion active parameters. It supports context windows up to 128K and is optimized through large-scale verifiable reward reinforcement learning."
2026
- },
2027
2138
  "inclusionAI/Ring-flash-2.0": {
2028
2139
  "description": "Ring-flash-2.0 is a high-performance reasoning model deeply optimized based on Ling-flash-2.0-base. It employs a mixture-of-experts (MoE) architecture with a total of 100 billion parameters but activates only 6.1 billion parameters per inference. The model uses the proprietary icepop algorithm to solve the instability issues of MoE large models during reinforcement learning (RL) training, enabling continuous improvement of complex reasoning capabilities over long training cycles. Ring-flash-2.0 has achieved significant breakthroughs in challenging benchmarks such as math competitions, code generation, and logical reasoning. Its performance not only surpasses top dense models under 40 billion parameters but also rivals larger open-source MoE models and closed-source high-performance reasoning models. Although focused on complex reasoning, it also performs well in creative writing tasks. Additionally, thanks to its efficient architecture, Ring-flash-2.0 delivers strong performance with high-speed inference, significantly reducing deployment costs for reasoning models in high-concurrency scenarios."
2029
2140
  },
2141
+ "inclusionai/ling-1t": {
2142
+ "description": "Ling-1T is inclusionAI’s 1T MoE large model, optimized for high-intensity reasoning tasks and large-scale context."
2143
+ },
2144
+ "inclusionai/ling-flash-2.0": {
2145
+ "description": "Ling-flash-2.0 is inclusionAI’s MoE model, optimized for efficiency and reasoning performance, suitable for medium to large-scale tasks."
2146
+ },
2147
+ "inclusionai/ling-mini-2.0": {
2148
+ "description": "Ling-mini-2.0 is a lightweight MoE model from inclusionAI, significantly reducing cost while maintaining reasoning capabilities."
2149
+ },
2150
+ "inclusionai/ming-flash-omini-preview": {
2151
+ "description": "Ming-flash-omni Preview is inclusionAI’s multimodal model supporting voice, image, and video input, with enhanced image rendering and speech recognition capabilities."
2152
+ },
2153
+ "inclusionai/ring-1t": {
2154
+ "description": "Ring-1T is inclusionAI’s trillion-parameter MoE reasoning model, designed for large-scale reasoning and research tasks."
2155
+ },
2156
+ "inclusionai/ring-flash-2.0": {
2157
+ "description": "Ring-flash-2.0 is a high-throughput variant of the Ring model from inclusionAI, emphasizing speed and cost efficiency."
2158
+ },
2159
+ "inclusionai/ring-mini-2.0": {
2160
+ "description": "Ring-mini-2.0 is a high-throughput, lightweight MoE version from inclusionAI, primarily used in concurrent scenarios."
2161
+ },
2030
2162
  "internlm/internlm2_5-7b-chat": {
2031
2163
  "description": "InternLM2.5 offers intelligent dialogue solutions across multiple scenarios."
2032
2164
  },
@@ -2036,14 +2168,26 @@
2036
2168
  "internlm3-latest": {
2037
2169
  "description": "Our latest model series boasts exceptional inference performance, leading the pack among open-source models of similar scale. It defaults to our most recently released InternLM3 series models."
2038
2170
  },
2171
+ "internvl2.5-38b-mpo": {
2172
+ "description": "InternVL2.5 38B MPO, a multimodal pre-trained model supporting complex image-text reasoning tasks."
2173
+ },
2039
2174
  "internvl2.5-latest": {
2040
2175
  "description": "The InternVL2.5 version we continue to maintain, offering excellent and stable performance. It defaults to our latest released InternVL2.5 series model, currently pointing to internvl2.5-78b."
2041
2176
  },
2177
+ "internvl3-14b": {
2178
+ "description": "InternVL3 14B, a mid-sized multimodal model balancing performance and cost."
2179
+ },
2180
+ "internvl3-1b": {
2181
+ "description": "InternVL3 1B, a lightweight multimodal model suitable for deployment in resource-constrained environments."
2182
+ },
2183
+ "internvl3-38b": {
2184
+ "description": "InternVL3 38B, a large-scale open-source multimodal model for high-precision image-text understanding tasks."
2185
+ },
2042
2186
  "internvl3-latest": {
2043
2187
  "description": "Our latest released multimodal large model, featuring enhanced image-text understanding capabilities and long-sequence image comprehension, performs on par with top proprietary models. It defaults to our latest released InternVL series model, currently pointing to internvl3-78b."
2044
2188
  },
2045
2189
  "irag-1.0": {
2046
- "description": "Baidu's self-developed iRAG (image-based Retrieval-Augmented Generation) technology combines Baidu Search's hundreds of millions of image resources with powerful foundational model capabilities to generate ultra-realistic images. The overall effect far surpasses native text-to-image systems, eliminating the AI-generated feel while maintaining low cost. iRAG features hallucination-free, ultra-realistic, and instant retrieval characteristics."
2190
+ "description": "ERNIE iRAG, an image retrieval-augmented generation model supporting image search, image-text retrieval, and content generation."
2047
2191
  },
2048
2192
  "jamba-large": {
2049
2193
  "description": "Our most powerful and advanced model, designed for handling complex enterprise-level tasks with exceptional performance."
@@ -2064,7 +2208,13 @@
2064
2208
  "description": "The kimi-k2-0905-preview model has a context length of 256k, featuring stronger Agentic Coding capabilities, more outstanding aesthetics and practicality of frontend code, and better context understanding."
2065
2209
  },
2066
2210
  "kimi-k2-instruct": {
2067
- "description": "Kimi K2 Instruct is a large language model developed by Moonshot AI, featuring ultra-long context processing capabilities."
2211
+ "description": "Kimi K2 Instruct, the official Kimi inference model supporting long context, code, Q&A, and more."
2212
+ },
2213
+ "kimi-k2-thinking": {
2214
+ "description": "The kimi-k2-thinking model, developed by Moonshot AI, is a general-purpose agentic and reasoning model. It excels at deep reasoning and can utilize multi-step tool use to help solve a wide range of complex problems."
2215
+ },
2216
+ "kimi-k2-thinking-turbo": {
2217
+ "description": "The high-speed version of the K2 Long Thinking Model supports 256k context and deep reasoning, with output speeds of 60–100 tokens per second."
2068
2218
  },
2069
2219
  "kimi-k2-turbo-preview": {
2070
2220
  "description": "Kimi-K2 is a Mixture-of-Experts (MoE) foundation model with exceptional coding and agent capabilities, featuring 1T total parameters and 32B activated parameters. In benchmark evaluations across core categories — general knowledge reasoning, programming, mathematics, and agent tasks — the K2 model outperforms other leading open-source models."
@@ -2075,8 +2225,8 @@
2075
2225
  "kimi-latest": {
2076
2226
  "description": "The Kimi Smart Assistant product uses the latest Kimi large model, which may include features that are not yet stable. It supports image understanding and will automatically select the 8k/32k/128k model as the billing model based on the length of the request context."
2077
2227
  },
2078
- "kimi-thinking-preview": {
2079
- "description": "kimi-thinking-preview is a multimodal thinking model provided by Dark Side of the Moon, featuring multimodal and general reasoning abilities. It excels at deep reasoning to help solve more complex and challenging problems."
2228
+ "kuaishou/kat-coder-pro-v1": {
2229
+ "description": "KAT-Coder-Pro-V1 (limited-time free) focuses on code understanding and automated programming, designed for efficient coding agent tasks."
2080
2230
  },
2081
2231
  "learnlm-1.5-pro-experimental": {
2082
2232
  "description": "LearnLM is an experimental, task-specific language model trained to align with learning science principles, capable of following systematic instructions in teaching and learning scenarios, acting as an expert tutor, among other roles."
@@ -2120,9 +2270,6 @@
2120
2270
  "llama-3.3-instruct": {
2121
2271
  "description": "The Llama 3.3 instruction-tuned model is optimized for conversational scenarios, outperforming many existing open-source chat models on common industry benchmarks."
2122
2272
  },
2123
- "llama-4-scout-17b-16e-instruct": {
2124
- "description": "Llama 4 Scout: A high-performance Llama model optimized for scenarios requiring high throughput and low latency."
2125
- },
2126
2273
  "llama3-70b-8192": {
2127
2274
  "description": "Meta Llama 3 70B provides unparalleled complexity handling capabilities, tailored for high-demand projects."
2128
2275
  },
@@ -2174,6 +2321,9 @@
2174
2321
  "megrez-3b-instruct": {
2175
2322
  "description": "Megrez 3B Instruct is a compact and efficient model developed by Wuwen Xinqiong."
2176
2323
  },
2324
+ "meituan/longcat-flash-chat": {
2325
+ "description": "An open-source foundational model from Meituan, optimized for conversational interactions and agent-based tasks. Excels in tool usage and complex multi-turn dialogue scenarios."
2326
+ },
2177
2327
  "meta-llama-3-70b-instruct": {
2178
2328
  "description": "A powerful 70-billion parameter model excelling in reasoning, coding, and broad language applications."
2179
2329
  },
@@ -2405,6 +2555,12 @@
2405
2555
  "minimax-m2": {
2406
2556
  "description": "MiniMax M2 is a high-efficiency large language model built for coding and agent-based workflows."
2407
2557
  },
2558
+ "minimax/minimax-m2": {
2559
+ "description": "MiniMax-M2 is a cost-effective model with strong performance in coding and agent tasks, suitable for various engineering scenarios."
2560
+ },
2561
+ "minimaxai/minimax-m2": {
2562
+ "description": "MiniMax-M2 is a compact, fast, and cost-efficient Mixture of Experts (MoE) model with 230 billion total parameters and 10 billion active parameters. It is engineered for top performance in coding and agent tasks while maintaining robust general intelligence. Excelling in multi-file editing, code-run-debug loops, test validation and repair, and complex long-chain tool integrations, it is an ideal choice for developer workflows."
2563
+ },
2408
2564
  "ministral-3b-latest": {
2409
2565
  "description": "Ministral 3B is Mistral's top-tier edge model."
2410
2566
  },
@@ -2546,15 +2702,27 @@
2546
2702
  "moonshotai/Kimi-K2-Instruct-0905": {
2547
2703
  "description": "Kimi K2-Instruct-0905 is the latest and most powerful version of Kimi K2. It is a top-tier Mixture of Experts (MoE) language model with a total of 1 trillion parameters and 32 billion activated parameters. Key features of this model include enhanced agent coding intelligence, demonstrating significant performance improvements in public benchmark tests and real-world agent coding tasks; and an improved frontend coding experience, with advancements in both aesthetics and practicality for frontend programming."
2548
2704
  },
2705
+ "moonshotai/Kimi-K2-Thinking": {
2706
+ "description": "Kimi K2 Thinking is the latest and most powerful open-source reasoning model. It significantly extends multi-step reasoning depth and maintains stable tool usage across 200–300 consecutive tool calls. It sets new benchmarks in evaluations such as Humanity's Last Exam (HLE) and BrowseComp. The model excels in programming, mathematics, logical reasoning, and agent-based scenarios. Built on a Mixture of Experts (MoE) architecture with approximately 1 trillion parameters, it supports a 256K context window and tool calling."
2707
+ },
2549
2708
  "moonshotai/kimi-k2": {
2550
2709
  "description": "Kimi K2 is a large-scale Mixture of Experts (MoE) language model developed by Moonshot AI, with a total of 1 trillion parameters and 32 billion active parameters per forward pass. It is optimized for agent capabilities, including advanced tool use, reasoning, and code synthesis."
2551
2710
  },
2711
+ "moonshotai/kimi-k2-0711": {
2712
+ "description": "Kimi K2 0711 is the Instruct version of the Kimi series, ideal for high-quality coding and tool usage scenarios."
2713
+ },
2552
2714
  "moonshotai/kimi-k2-0905": {
2553
- "description": "The kimi-k2-0905-preview model has a context length of 256k, featuring stronger Agentic Coding capabilities, more outstanding aesthetics and practicality of frontend code, and better context understanding."
2715
+ "description": "Kimi K2 0905 is the September 5th update of the Kimi series, with expanded context and improved reasoning and coding performance."
2554
2716
  },
2555
2717
  "moonshotai/kimi-k2-instruct-0905": {
2556
2718
  "description": "The kimi-k2-0905-preview model has a context length of 256k, featuring stronger Agentic Coding capabilities, more outstanding aesthetics and practicality of frontend code, and better context understanding."
2557
2719
  },
2720
+ "moonshotai/kimi-k2-thinking": {
2721
+ "description": "Kimi K2 Thinking is Moonshot’s optimized model for deep reasoning tasks, equipped with general agent capabilities."
2722
+ },
2723
+ "moonshotai/kimi-k2-thinking-turbo": {
2724
+ "description": "Kimi K2 Thinking Turbo is the high-speed version of Kimi K2 Thinking, maintaining deep reasoning capabilities while significantly reducing response latency."
2725
+ },
2558
2726
  "morph/morph-v3-fast": {
2559
2727
  "description": "Morph offers a specialized AI model that applies code changes suggested by cutting-edge models like Claude or GPT-4o to your existing code files FAST - 4500+ tokens/second. It acts as the final step in the AI coding workflow. Supports 16k input tokens and 16k output tokens."
2560
2728
  },
@@ -2577,7 +2745,7 @@
2577
2745
  "description": "Focused on advanced reasoning and solving complex problems, including mathematical and scientific tasks. It is particularly well-suited for applications that require deep contextual understanding and agent workflow."
2578
2746
  },
2579
2747
  "o1-mini": {
2580
- "description": "o1-mini is a fast and cost-effective reasoning model designed for programming, mathematics, and scientific applications. This model features a 128K context and has a knowledge cutoff date of October 2023."
2748
+ "description": "Smaller and faster than o1-preview, with 80% lower cost. Performs well in code generation and tasks involving small context windows."
2581
2749
  },
2582
2750
  "o1-preview": {
2583
2751
  "description": "Focused on advanced reasoning and solving complex problems, including mathematical and scientific tasks. Ideal for applications that require deep contextual understanding and autonomous workflows."
@@ -2637,28 +2805,49 @@
2637
2805
  "description": "OpenAI's gpt-4-turbo features broad general knowledge and domain expertise, enabling it to follow complex natural language instructions and accurately solve difficult problems. Its knowledge cutoff is April 2023, with a 128,000 token context window."
2638
2806
  },
2639
2807
  "openai/gpt-4.1": {
2640
- "description": "GPT 4.1 is OpenAI's flagship model, suited for complex tasks. It excels at cross-domain problem solving."
2808
+ "description": "The GPT-4.1 series offers extended context and enhanced engineering and reasoning capabilities."
2641
2809
  },
2642
2810
  "openai/gpt-4.1-mini": {
2643
- "description": "GPT 4.1 mini balances intelligence, speed, and cost, making it an attractive model for many use cases."
2811
+ "description": "GPT-4.1 Mini provides lower latency and better cost-efficiency, suitable for medium-context scenarios."
2644
2812
  },
2645
2813
  "openai/gpt-4.1-nano": {
2646
- "description": "GPT-4.1 nano is the fastest and most cost-effective GPT 4.1 model."
2814
+ "description": "GPT-4.1 Nano is a low-cost, low-latency option ideal for high-frequency short conversations or classification tasks."
2647
2815
  },
2648
2816
  "openai/gpt-4o": {
2649
- "description": "GPT-4o from OpenAI has broad general knowledge and domain expertise, capable of following complex natural language instructions and accurately solving challenging problems. It matches GPT-4 Turbo's performance with a faster, cheaper API."
2817
+ "description": "The GPT-4o series is OpenAI’s Omni model, supporting text + image input and text output."
2650
2818
  },
2651
2819
  "openai/gpt-4o-mini": {
2652
- "description": "GPT-4o mini from OpenAI is their most advanced and cost-effective small model. It is multimodal (accepting text or image inputs and outputting text) and more intelligent than gpt-3.5-turbo, while maintaining similar speed."
2820
+ "description": "GPT-4o-mini is a fast, compact version of GPT-4o, suitable for low-latency multimodal scenarios."
2653
2821
  },
2654
2822
  "openai/gpt-5": {
2655
- "description": "GPT-5 is OpenAI's flagship language model, excelling in complex reasoning, extensive real-world knowledge, code-intensive, and multi-step agent tasks."
2823
+ "description": "GPT-5 is OpenAIs high-performance model, suitable for a wide range of production and research tasks."
2824
+ },
2825
+ "openai/gpt-5-chat": {
2826
+ "description": "GPT-5 Chat is a GPT-5 variant optimized for conversational scenarios, reducing latency to enhance interaction."
2827
+ },
2828
+ "openai/gpt-5-codex": {
2829
+ "description": "GPT-5-Codex is a GPT-5 variant further optimized for coding tasks, ideal for large-scale code workflows."
2656
2830
  },
2657
2831
  "openai/gpt-5-mini": {
2658
- "description": "GPT-5 mini is a cost-optimized model performing well on reasoning/chat tasks. It offers the best balance of speed, cost, and capability."
2832
+ "description": "GPT-5 Mini is a compact version of the GPT-5 family, suitable for low-latency, low-cost scenarios."
2659
2833
  },
2660
2834
  "openai/gpt-5-nano": {
2661
- "description": "GPT-5 nano is a high-throughput model excelling at simple instruction or classification tasks."
2835
+ "description": "GPT-5 Nano is the ultra-compact version in the family, ideal for scenarios with strict cost and latency requirements."
2836
+ },
2837
+ "openai/gpt-5-pro": {
2838
+ "description": "GPT-5 Pro is OpenAI’s flagship model, offering advanced reasoning, code generation, and enterprise-grade features, with support for test-time routing and stricter safety policies."
2839
+ },
2840
+ "openai/gpt-5.1": {
2841
+ "description": "GPT-5.1 is the latest flagship model in the GPT-5 series, significantly improved in general reasoning, instruction following, and conversational naturalness, suitable for a wide range of tasks."
2842
+ },
2843
+ "openai/gpt-5.1-chat": {
2844
+ "description": "GPT-5.1 Chat is a lightweight member of the GPT-5.1 family, optimized for low-latency conversations while retaining strong reasoning and instruction execution capabilities."
2845
+ },
2846
+ "openai/gpt-5.1-codex": {
2847
+ "description": "GPT-5.1-Codex is a GPT-5.1 variant optimized for software engineering and coding workflows, ideal for large-scale refactoring, complex debugging, and long-term autonomous coding tasks."
2848
+ },
2849
+ "openai/gpt-5.1-codex-mini": {
2850
+ "description": "GPT-5.1-Codex-Mini is a smaller, faster version of GPT-5.1-Codex, better suited for latency- and cost-sensitive coding scenarios."
2662
2851
  },
2663
2852
  "openai/gpt-oss-120b": {
2664
2853
  "description": "An extremely capable general-purpose large language model with powerful, controllable reasoning abilities."
@@ -2685,7 +2874,7 @@
2685
2874
  "description": "O3-mini high inference level version provides high intelligence at the same cost and latency targets as o1-mini."
2686
2875
  },
2687
2876
  "openai/o4-mini": {
2688
- "description": "OpenAI's o4-mini offers fast, cost-effective reasoning with excellent performance for its size, especially in mathematics (best in AIME benchmark), coding, and visual tasks."
2877
+ "description": "OpenAI o4-mini is a compact and efficient reasoning model from OpenAI, ideal for low-latency scenarios."
2689
2878
  },
2690
2879
  "openai/o4-mini-high": {
2691
2880
  "description": "o4-mini high inference level version, optimized for fast and efficient inference, demonstrating high efficiency and performance in coding and visual tasks."
@@ -2735,6 +2924,54 @@
2735
2924
  "pro-deepseek-v3": {
2736
2925
  "description": "Enterprise-exclusive service model with concurrent service support."
2737
2926
  },
2927
+ "qianfan-70b": {
2928
+ "description": "Qianfan 70B, a large-parameter Chinese model suitable for high-quality content generation and complex reasoning tasks."
2929
+ },
2930
+ "qianfan-8b": {
2931
+ "description": "Qianfan 8B, a medium-sized general-purpose model balancing cost and performance for text generation and Q&A."
2932
+ },
2933
+ "qianfan-agent-intent-32k": {
2934
+ "description": "Qianfan Agent Intent 32K, a model for intent recognition and agent orchestration, supporting long-context scenarios."
2935
+ },
2936
+ "qianfan-agent-lite-8k": {
2937
+ "description": "Qianfan Agent Lite 8K, a lightweight agent model for low-cost multi-turn dialogue and business orchestration."
2938
+ },
2939
+ "qianfan-agent-speed-32k": {
2940
+ "description": "Qianfan Agent Speed 32K, a high-throughput agent model for large-scale, multi-task agent applications."
2941
+ },
2942
+ "qianfan-agent-speed-8k": {
2943
+ "description": "Qianfan Agent Speed 8K, a high-concurrency agent model for short-to-medium conversations and fast response."
2944
+ },
2945
+ "qianfan-check-vl": {
2946
+ "description": "Qianfan Check VL, a multimodal content moderation and detection model supporting image-text compliance and recognition tasks."
2947
+ },
2948
+ "qianfan-composition": {
2949
+ "description": "Qianfan Composition, a multimodal creative model supporting integrated image-text understanding and generation."
2950
+ },
2951
+ "qianfan-engcard-vl": {
2952
+ "description": "Qianfan EngCard VL, a multimodal recognition model focused on English-language scenarios."
2953
+ },
2954
+ "qianfan-lightning-128b-a19b": {
2955
+ "description": "Qianfan Lightning 128B A19B, a high-performance Chinese general-purpose model for complex Q&A and large-scale reasoning tasks."
2956
+ },
2957
+ "qianfan-llama-vl-8b": {
2958
+ "description": "Qianfan Llama VL 8B, a multimodal model based on Llama for general image-text understanding tasks."
2959
+ },
2960
+ "qianfan-multipicocr": {
2961
+ "description": "Qianfan MultiPicOCR, a multi-image OCR model supporting text detection and recognition across multiple images."
2962
+ },
2963
+ "qianfan-qi-vl": {
2964
+ "description": "Qianfan QI VL, a multimodal Q&A model supporting accurate retrieval and question answering in complex image-text scenarios."
2965
+ },
2966
+ "qianfan-singlepicocr": {
2967
+ "description": "Qianfan SinglePicOCR, a single-image OCR model supporting high-precision character recognition."
2968
+ },
2969
+ "qianfan-vl-70b": {
2970
+ "description": "Qianfan VL 70B, a large-parameter vision-language model for complex image-text understanding scenarios."
2971
+ },
2972
+ "qianfan-vl-8b": {
2973
+ "description": "Qianfan VL 8B, a lightweight vision-language model suitable for daily image-text Q&A and analysis."
2974
+ },
2738
2975
  "qvq-72b-preview": {
2739
2976
  "description": "The QVQ model is an experimental research model developed by the Qwen team, focusing on enhancing visual reasoning capabilities, particularly in the field of mathematical reasoning."
2740
2977
  },
@@ -2747,9 +2984,6 @@
2747
2984
  "qwen-3-32b": {
2748
2985
  "description": "Qwen 3 32B: A strong performer in multilingual and coding tasks, suitable for medium-scale production use."
2749
2986
  },
2750
- "qwen-3-coder-480b": {
2751
- "description": "Qwen 3 Coder 480B: A long-context model designed for code generation and complex programming tasks."
2752
- },
2753
2987
  "qwen-coder-plus": {
2754
2988
  "description": "Tongyi Qianwen coding model."
2755
2989
  },
@@ -2841,7 +3075,7 @@
2841
3075
  "description": "A powerful medium-sized code model supporting 32K context length, proficient in multilingual programming."
2842
3076
  },
2843
3077
  "qwen/qwen3-14b": {
2844
- "description": "Qwen3-14B is a dense 14.8 billion parameter causal language model in the Qwen3 series, designed for complex reasoning and efficient dialogue. It supports seamless switching between a 'thinking' mode for tasks such as mathematics, programming, and logical reasoning, and a 'non-thinking' mode for general conversation. This model is fine-tuned for instruction following, agent tool usage, creative writing, and multilingual tasks across more than 100 languages and dialects. It natively handles a 32K token context and can be extended to 131K tokens using YaRN."
3078
+ "description": "Qwen3-14B is the 14B version in the Qwen series, suitable for general reasoning and dialogue tasks."
2845
3079
  },
2846
3080
  "qwen/qwen3-14b:free": {
2847
3081
  "description": "Qwen3-14B is a dense 14.8 billion parameter causal language model in the Qwen3 series, designed for complex reasoning and efficient dialogue. It supports seamless switching between a 'thinking' mode for tasks such as mathematics, programming, and logical reasoning, and a 'non-thinking' mode for general conversation. This model is fine-tuned for instruction following, agent tool usage, creative writing, and multilingual tasks across more than 100 languages and dialects. It natively handles a 32K token context and can be extended to 131K tokens using YaRN."
@@ -2849,6 +3083,12 @@
2849
3083
  "qwen/qwen3-235b-a22b": {
2850
3084
  "description": "Qwen3-235B-A22B is a 235 billion parameter mixture of experts (MoE) model developed by Qwen, activating 22 billion parameters per forward pass. It supports seamless switching between a 'thinking' mode for complex reasoning, mathematics, and coding tasks, and a 'non-thinking' mode for general conversational efficiency. This model showcases strong reasoning capabilities, multilingual support (over 100 languages and dialects), advanced instruction following, and agent tool invocation capabilities. It natively handles a 32K token context window and can be extended to 131K tokens using YaRN."
2851
3085
  },
3086
+ "qwen/qwen3-235b-a22b-2507": {
3087
+ "description": "Qwen3-235B-A22B-Instruct-2507 is an Instruct version in the Qwen3 series, supporting multilingual instructions and long-context scenarios."
3088
+ },
3089
+ "qwen/qwen3-235b-a22b-thinking-2507": {
3090
+ "description": "Qwen3-235B-A22B-Thinking-2507 is a Thinking variant of Qwen3, enhanced for complex math and reasoning tasks."
3091
+ },
2852
3092
  "qwen/qwen3-235b-a22b:free": {
2853
3093
  "description": "Qwen3-235B-A22B is a 235 billion parameter mixture of experts (MoE) model developed by Qwen, activating 22 billion parameters per forward pass. It supports seamless switching between a 'thinking' mode for complex reasoning, mathematics, and coding tasks, and a 'non-thinking' mode for general conversational efficiency. This model showcases strong reasoning capabilities, multilingual support (over 100 languages and dialects), advanced instruction following, and agent tool invocation capabilities. It natively handles a 32K token context window and can be extended to 131K tokens using YaRN."
2854
3094
  },
@@ -2867,6 +3107,21 @@
2867
3107
  "qwen/qwen3-8b:free": {
2868
3108
  "description": "Qwen3-8B is a dense 8.2 billion parameter causal language model in the Qwen3 series, designed for reasoning-intensive tasks and efficient dialogue. It supports seamless switching between a 'thinking' mode for mathematics, coding, and logical reasoning, and a 'non-thinking' mode for general conversation. This model is fine-tuned for instruction following, agent integration, creative writing, and multilingual use across more than 100 languages and dialects. It natively supports a 32K token context window and can be extended to 131K tokens via YaRN."
2869
3109
  },
3110
+ "qwen/qwen3-coder": {
3111
+ "description": "Qwen3-Coder is the code generation family in Qwen3, excelling at understanding and generating code within long documents."
3112
+ },
3113
+ "qwen/qwen3-coder-plus": {
3114
+ "description": "Qwen3-Coder-Plus is a specially optimized coding agent model in the Qwen series, supporting more complex tool usage and long-term conversations."
3115
+ },
3116
+ "qwen/qwen3-max": {
3117
+ "description": "Qwen3 Max is a high-end reasoning model in the Qwen3 series, suitable for multilingual reasoning and tool integration."
3118
+ },
3119
+ "qwen/qwen3-max-preview": {
3120
+ "description": "Qwen3 Max (preview) is the preview version of the Max model in the Qwen series, designed for advanced reasoning and tool integration."
3121
+ },
3122
+ "qwen/qwen3-vl-plus": {
3123
+ "description": "Qwen3 VL-Plus is a vision-enhanced version of Qwen3, improving multimodal reasoning and video processing capabilities."
3124
+ },
2870
3125
  "qwen2": {
2871
3126
  "description": "Qwen2 is Alibaba's next-generation large-scale language model, supporting diverse application needs with excellent performance."
2872
3127
  },
@@ -2886,7 +3141,7 @@
2886
3141
  "description": "The 72B model of Tongyi Qianwen 2.5 is open-sourced."
2887
3142
  },
2888
3143
  "qwen2.5-7b-instruct": {
2889
- "description": "The 7B model of Tongyi Qianwen 2.5 is open-sourced."
3144
+ "description": "Qwen2.5 7B Instruct, a mature open-source instruction model designed for versatile dialogue and content generation."
2890
3145
  },
2891
3146
  "qwen2.5-coder-1.5b-instruct": {
2892
3147
  "description": "Open-source version of the Qwen coding model."
@@ -2919,13 +3174,13 @@
2919
3174
  "description": "The Qwen-Omni series models support input of various modalities, including video, audio, images, and text, and output audio and text."
2920
3175
  },
2921
3176
  "qwen2.5-vl-32b-instruct": {
2922
- "description": "The Qwen2.5-VL model series enhances the model's intelligence level, practicality, and applicability, delivering superior performance in scenarios such as natural conversations, content creation, professional knowledge services, and code development. The 32B version employs reinforcement learning techniques to optimize the model, offering more human-preferred output styles, enhanced reasoning capabilities for complex mathematical problems, and fine-grained image understanding and reasoning compared to other models in the Qwen2.5-VL series."
3177
+ "description": "Qwen2.5 VL 32B Instruct, a multimodal open-source model ideal for private deployment and diverse applications."
2923
3178
  },
2924
3179
  "qwen2.5-vl-72b-instruct": {
2925
3180
  "description": "This version enhances instruction following, mathematics, problem-solving, and coding capabilities, improving the ability to recognize various formats and accurately locate visual elements. It supports understanding long video files (up to 10 minutes) and pinpointing events in seconds, comprehending the sequence and speed of time, and based on parsing and locating capabilities, it supports controlling OS or Mobile agents. It has strong key information extraction and JSON output capabilities, and this version is the most powerful in the series at 72B."
2926
3181
  },
2927
3182
  "qwen2.5-vl-7b-instruct": {
2928
- "description": "This version enhances instruction following, mathematics, problem-solving, and coding capabilities, improving the ability to recognize various formats and accurately locate visual elements. It supports understanding long video files (up to 10 minutes) and pinpointing events in seconds, comprehending the sequence and speed of time, and based on parsing and locating capabilities, it supports controlling OS or Mobile agents. It has strong key information extraction and JSON output capabilities, and this version is the most powerful in the series at 72B."
3183
+ "description": "Qwen2.5 VL 7B Instruct, a lightweight multimodal model balancing deployment cost and recognition capabilities."
2929
3184
  },
2930
3185
  "qwen2.5-vl-instruct": {
2931
3186
  "description": "Qwen2.5-VL is the latest version of the visual language model in the Qwen model family."
@@ -2952,46 +3207,46 @@
2952
3207
  "description": "Qwen3 is Alibaba's next-generation large-scale language model, designed to support diverse application needs with outstanding performance."
2953
3208
  },
2954
3209
  "qwen3-0.6b": {
2955
- "description": "Qwen3 is a next-generation model with significantly enhanced capabilities, achieving industry-leading levels in reasoning, general tasks, agent functionality, and multilingual support, while also supporting mode switching."
3210
+ "description": "Qwen3 0.6B, an entry-level model suitable for basic reasoning and highly resource-constrained environments."
2956
3211
  },
2957
3212
  "qwen3-1.7b": {
2958
- "description": "Qwen3 is a next-generation model with significantly enhanced capabilities, achieving industry-leading levels in reasoning, general tasks, agent functionality, and multilingual support, while also supporting mode switching."
3213
+ "description": "Qwen3 1.7B, an ultra-lightweight model optimized for edge and on-device deployment."
2959
3214
  },
2960
3215
  "qwen3-14b": {
2961
- "description": "Qwen3 is a next-generation model with significantly enhanced capabilities, achieving industry-leading levels in reasoning, general tasks, agent functionality, and multilingual support, while also supporting mode switching."
3216
+ "description": "Qwen3 14B, a mid-sized model ideal for multilingual Q&A and text generation tasks."
2962
3217
  },
2963
3218
  "qwen3-235b-a22b": {
2964
- "description": "Qwen3 is a next-generation model with significantly enhanced capabilities, achieving industry-leading levels in reasoning, general tasks, agent functionality, and multilingual support, while also supporting mode switching."
3219
+ "description": "Qwen3 235B A22B, a general-purpose large model built for a wide range of complex tasks."
2965
3220
  },
2966
3221
  "qwen3-235b-a22b-instruct-2507": {
2967
- "description": "An open-source non-thinking mode model based on Qwen3, with slight improvements in subjective creativity and model safety compared to the previous version (Tongyi Qianwen 3-235B-A22B)."
3222
+ "description": "Qwen3 235B A22B Instruct 2507, a flagship general-purpose instruction model for diverse generation and reasoning tasks."
2968
3223
  },
2969
3224
  "qwen3-235b-a22b-thinking-2507": {
2970
- "description": "An open-source thinking mode model based on Qwen3, with significant improvements in logical ability, general capabilities, knowledge enhancement, and creativity compared to the previous version (Tongyi Qianwen 3-235B-A22B), suitable for high-difficulty and strong reasoning scenarios."
3225
+ "description": "Qwen3 235B A22B Thinking 2507, an ultra-large-scale reasoning model tailored for high-difficulty inference."
2971
3226
  },
2972
3227
  "qwen3-30b-a3b": {
2973
- "description": "Qwen3 is a next-generation model with significantly enhanced capabilities, achieving industry-leading levels in reasoning, general tasks, agent functionality, and multilingual support, while also supporting mode switching."
3228
+ "description": "Qwen3 30B A3B, a medium-to-large general-purpose model offering a balance between cost and performance."
2974
3229
  },
2975
3230
  "qwen3-30b-a3b-instruct-2507": {
2976
- "description": "Compared to the previous version (Qwen3-30B-A3B), this version shows substantial improvements in overall general capabilities in both Chinese and multilingual contexts. It features specialized optimizations for subjective and open-ended tasks, aligning significantly better with user preferences and providing more helpful responses."
3231
+ "description": "Qwen3 30B A3B Instruct 2507, a medium-to-large instruction model designed for high-quality generation and Q&A."
2977
3232
  },
2978
3233
  "qwen3-30b-a3b-thinking-2507": {
2979
- "description": "An open-source thinking mode model based on Qwen3, this version shows significant enhancements over the previous release (Tongyi Qianwen 3-30B-A3B) in logical ability, general capability, knowledge augmentation, and creative capacity. It is suitable for challenging scenarios requiring strong reasoning."
3234
+ "description": "Qwen3 30B A3B Thinking 2507, a medium-to-large reasoning model balancing accuracy and cost."
2980
3235
  },
2981
3236
  "qwen3-32b": {
2982
- "description": "Qwen3 is a next-generation model with significantly enhanced capabilities, achieving industry-leading levels in reasoning, general tasks, agent functionality, and multilingual support, while also supporting mode switching."
3237
+ "description": "Qwen3 32B, a general-purpose model suited for tasks requiring stronger comprehension capabilities."
2983
3238
  },
2984
3239
  "qwen3-4b": {
2985
- "description": "Qwen3 is a next-generation model with significantly enhanced capabilities, achieving industry-leading levels in reasoning, general tasks, agent functionality, and multilingual support, while also supporting mode switching."
3240
+ "description": "Qwen3 4B, ideal for small to medium-scale applications and local inference scenarios."
2986
3241
  },
2987
3242
  "qwen3-8b": {
2988
- "description": "Qwen3 is a next-generation model with significantly enhanced capabilities, achieving industry-leading levels in reasoning, general tasks, agent functionality, and multilingual support, while also supporting mode switching."
3243
+ "description": "Qwen3 8B, a lightweight model with flexible deployment, suitable for high-concurrency workloads."
2989
3244
  },
2990
3245
  "qwen3-coder-30b-a3b-instruct": {
2991
3246
  "description": "The open-source version of the Tongyi Qianwen code model. The latest qwen3-coder-30b-a3b-instruct is a code generation model based on Qwen3, featuring powerful Coding Agent capabilities. It excels at tool usage and environment interaction, enabling autonomous programming with outstanding coding and general abilities."
2992
3247
  },
2993
3248
  "qwen3-coder-480b-a35b-instruct": {
2994
- "description": "Open-source version of Tongyi Qianwen's code model. The latest qwen3-coder-480b-a35b-instruct is a code generation model based on Qwen3, featuring powerful Coding Agent capabilities, proficient in tool invocation and environment interaction, enabling autonomous programming with excellent coding and general capabilities."
3249
+ "description": "Qwen3 Coder 480B A35B Instruct, a flagship code model supporting multilingual programming and complex code understanding."
2995
3250
  },
2996
3251
  "qwen3-coder-flash": {
2997
3252
  "description": "Tongyi Qianwen code model. The latest Qwen3-Coder series models are code generation models based on Qwen3, equipped with powerful Coding Agent capabilities, proficient in tool invocation and environment interaction, enabling autonomous programming with excellent coding skills alongside general capabilities."
@@ -3005,32 +3260,41 @@
3005
3260
  "qwen3-max": {
3006
3261
  "description": "Tongyi Qianwen 3 series Max model, which shows significant overall improvements compared to the 2.5 series, including enhanced bilingual (Chinese and English) text understanding, complex instruction following, subjective open-domain task capabilities, multilingual support, and tool invocation abilities; the model also exhibits fewer hallucinations. The latest qwen3-max model features specialized upgrades in agent programming and tool invocation compared to the qwen3-max-preview version. The officially released model achieves state-of-the-art performance in its domain and is adapted to more complex agent scenarios."
3007
3262
  },
3263
+ "qwen3-max-preview": {
3264
+ "description": "The most advanced model in the Qwen series, ideal for complex, multi-step tasks. Preview version now supports reasoning."
3265
+ },
3008
3266
  "qwen3-next-80b-a3b-instruct": {
3009
3267
  "description": "A new generation of non-thinking mode open-source model based on Qwen3. Compared to the previous version (Tongyi Qianwen 3-235B-A22B-Instruct-2507), it offers better Chinese text comprehension, enhanced logical reasoning abilities, and improved performance in text generation tasks."
3010
3268
  },
3011
3269
  "qwen3-next-80b-a3b-thinking": {
3012
- "description": "A new generation of thinking mode open-source model based on Qwen3. Compared to the previous version (Tongyi Qianwen 3-235B-A22B-Thinking-2507), it features improved instruction-following capabilities and more concise model-generated summaries."
3270
+ "description": "Qwen3 Next 80B A3B Thinking, a flagship reasoning model version designed for complex tasks."
3013
3271
  },
3014
3272
  "qwen3-omni-flash": {
3015
3273
  "description": "The Qwen-Omni model accepts multimodal input including text, images, audio, and video, and generates responses in text or speech. It offers a variety of human-like voice tones, supports multilingual and dialectal speech output, and is applicable to scenarios such as text creation, visual recognition, and voice assistants."
3016
3274
  },
3017
3275
  "qwen3-vl-235b-a22b-instruct": {
3018
- "description": "Qwen3 VL 235B A22B Instruct Mode (non-thinking), designed for instruction-following scenarios without deep reasoning, while maintaining strong visual understanding capabilities."
3276
+ "description": "Qwen3 VL 235B A22B Instruct, a flagship multimodal model built for high-demand comprehension and creative tasks."
3019
3277
  },
3020
3278
  "qwen3-vl-235b-a22b-thinking": {
3021
- "description": "Qwen3 VL 235B A22B Thinking Mode (open-source version), tailored for complex reasoning and long video understanding tasks, offering top-tier visual and textual reasoning performance."
3279
+ "description": "Qwen3 VL 235B A22B Thinking, a flagship reasoning edition for complex multimodal inference and planning."
3022
3280
  },
3023
3281
  "qwen3-vl-30b-a3b-instruct": {
3024
- "description": "Qwen3 VL 30B Instruct Mode (non-thinking), designed for general instruction-following scenarios, with strong multimodal understanding and generation capabilities."
3282
+ "description": "Qwen3 VL 30B A3B Instruct, a large multimodal model balancing accuracy and inference performance."
3025
3283
  },
3026
3284
  "qwen3-vl-30b-a3b-thinking": {
3027
- "description": "The open-source Qwen-VL model provides visual understanding and text generation capabilities. It supports agent interaction, visual encoding, spatial awareness, long video comprehension, and deep reasoning, with enhanced text recognition and multilingual support in complex scenarios."
3285
+ "description": "Qwen3 VL 30B A3B Thinking, a deep reasoning version tailored for complex multimodal tasks."
3286
+ },
3287
+ "qwen3-vl-32b-instruct": {
3288
+ "description": "Qwen3 VL 32B Instruct, a multimodal instruction-tuned model for high-quality visual-text Q&A and creative tasks."
3289
+ },
3290
+ "qwen3-vl-32b-thinking": {
3291
+ "description": "Qwen3 VL 32B Thinking, a multimodal deep reasoning model enhanced for complex inference and long-chain analysis."
3028
3292
  },
3029
3293
  "qwen3-vl-8b-instruct": {
3030
- "description": "Qwen3 VL 8B Instruct Mode (non-thinking), suitable for standard multimodal generation and recognition tasks."
3294
+ "description": "Qwen3 VL 8B Instruct, a lightweight multimodal model ideal for everyday visual Q&A and application integration."
3031
3295
  },
3032
3296
  "qwen3-vl-8b-thinking": {
3033
- "description": "Qwen3 VL 8B Thinking Mode, designed for lightweight multimodal reasoning and interaction scenarios, while retaining long-context understanding capabilities."
3297
+ "description": "Qwen3 VL 8B Thinking, a multimodal chain-of-thought model designed for detailed reasoning over visual information."
3034
3298
  },
3035
3299
  "qwen3-vl-flash": {
3036
3300
  "description": "Qwen3 VL Flash: a lightweight, high-speed inference version ideal for latency-sensitive or high-volume request scenarios."
@@ -3080,6 +3344,9 @@
3080
3344
  "sonar-reasoning-pro": {
3081
3345
  "description": "A new API product powered by the DeepSeek reasoning model."
3082
3346
  },
3347
+ "spark-x": {
3348
+ "description": "X1.5 Capabilities: (1) Introduces dynamic thinking mode adjustment via the 'thinking' field; (2) Increased context length: 64K for both input and output; (3) Supports FunctionCall functionality."
3349
+ },
3083
3350
  "stable-diffusion-3-medium": {
3084
3351
  "description": "The latest text-to-image large model released by Stability AI. This version inherits the advantages of its predecessors and significantly improves image quality, text understanding, and style diversity, enabling more accurate interpretation of complex natural language prompts and generating more precise and diverse images."
3085
3352
  },
@@ -3152,9 +3419,6 @@
3152
3419
  "step-r1-v-mini": {
3153
3420
  "description": "This model is a powerful reasoning model with strong image understanding capabilities, able to process both image and text information, generating text content after deep reasoning. It excels in visual reasoning while also possessing first-tier capabilities in mathematics, coding, and text reasoning. The context length is 100k."
3154
3421
  },
3155
- "step3": {
3156
- "description": "Step3 is a multimodal model developed by StepStar, offering advanced visual understanding capabilities."
3157
- },
3158
3422
  "stepfun-ai/step3": {
3159
3423
  "description": "Step3 is a cutting-edge multimodal reasoning model released by StepFun. It is built on a mixture-of-experts (MoE) architecture with 321B total parameters and 38B active parameters. The model adopts an end-to-end design to minimize decoding cost while delivering top-tier performance in visual-language reasoning. Through the combined design of Multi-Matrix Factorized Attention (MFA) and Attention-FFN Decoupling (AFD), Step3 maintains exceptional efficiency on both high-end and low-end accelerators. During pretraining, Step3 processed over 20 trillion text tokens and 4 trillion image-text mixed tokens, covering more than a dozen languages. The model achieves leading performance among open-source models across benchmarks in mathematics, code, and multimodal tasks."
3160
3424
  },
@@ -3236,6 +3500,9 @@
3236
3500
  "vercel/v0-1.5-md": {
3237
3501
  "description": "Access the model behind v0 to generate, fix, and optimize modern web applications, with framework-specific reasoning and up-to-date knowledge."
3238
3502
  },
3503
+ "volcengine/doubao-seed-code": {
3504
+ "description": "Doubao-Seed-Code is a large model from ByteDance Volcano Engine optimized for Agentic Programming, excelling in various programming and agent benchmarks, supporting 256K context."
3505
+ },
3239
3506
  "wan2.2-t2i-flash": {
3240
3507
  "description": "Wanxiang 2.2 Flash version, the latest model currently available. Fully upgraded in creativity, stability, and realism, with fast generation speed and high cost-effectiveness."
3241
3508
  },
@@ -3263,8 +3530,23 @@
3263
3530
  "wizardlm2:8x22b": {
3264
3531
  "description": "WizardLM 2 is a language model provided by Microsoft AI, excelling in complex dialogues, multilingual capabilities, reasoning, and intelligent assistant applications."
3265
3532
  },
3266
- "x1": {
3267
- "description": "The Spark X1 model will undergo further upgrades, achieving results in reasoning, text generation, and language understanding tasks that match OpenAI o1 and DeepSeek R1, building on its leading position in domestic mathematical tasks."
3533
+ "x-ai/grok-4": {
3534
+ "description": "Grok 4 is xAI’s flagship reasoning model, offering powerful reasoning and multimodal capabilities."
3535
+ },
3536
+ "x-ai/grok-4-fast": {
3537
+ "description": "Grok 4 Fast is xAI’s high-throughput, low-cost model (supports 2M context window), ideal for high-concurrency and long-context scenarios."
3538
+ },
3539
+ "x-ai/grok-4-fast-non-reasoning": {
3540
+ "description": "Grok 4 Fast (Non-Reasoning) is xAI’s high-throughput, low-cost multimodal model (supports 2M context window), designed for latency- and cost-sensitive scenarios that do not require internal reasoning. It runs alongside the reasoning version of Grok 4 Fast and can enable reasoning via the API’s reasoning enable parameter. Prompts and completions may be used by xAI or OpenRouter to improve future models."
3541
+ },
3542
+ "x-ai/grok-4.1-fast": {
3543
+ "description": "Grok 4 Fast is xAI’s high-throughput, low-cost model (supports 2M context window), ideal for high-concurrency and long-context scenarios."
3544
+ },
3545
+ "x-ai/grok-4.1-fast-non-reasoning": {
3546
+ "description": "Grok 4 Fast (Non-Reasoning) is xAI’s high-throughput, low-cost multimodal model (supports 2M context window), designed for latency- and cost-sensitive scenarios that do not require internal reasoning. It runs alongside the reasoning version of Grok 4 Fast and can enable reasoning via the API’s reasoning enable parameter. Prompts and completions may be used by xAI or OpenRouter to improve future models."
3547
+ },
3548
+ "x-ai/grok-code-fast-1": {
3549
+ "description": "Grok Code Fast 1 is xAI’s fast code model, delivering readable and production-ready output."
3268
3550
  },
3269
3551
  "xai/grok-2": {
3270
3552
  "description": "Grok 2 is a cutting-edge language model with state-of-the-art reasoning capabilities. It excels in chat, coding, and reasoning, outperforming Claude 3.5 Sonnet and GPT-4-Turbo on the LMSYS leaderboard."
@@ -3323,6 +3605,18 @@
3323
3605
  "yi-vision-v2": {
3324
3606
  "description": "A complex visual task model that provides high-performance understanding and analysis capabilities based on multiple images."
3325
3607
  },
3608
+ "z-ai/glm-4.5": {
3609
+ "description": "GLM 4.5 is Z.AI’s flagship model, supporting hybrid reasoning and optimized for engineering and long-context tasks."
3610
+ },
3611
+ "z-ai/glm-4.5-air": {
3612
+ "description": "GLM 4.5 Air is a lightweight version of GLM 4.5, suitable for cost-sensitive scenarios while retaining strong reasoning capabilities."
3613
+ },
3614
+ "z-ai/glm-4.6": {
3615
+ "description": "GLM 4.6 is Z.AI’s flagship model, with extended context length and enhanced coding capabilities."
3616
+ },
3617
+ "zai-glm-4.6": {
3618
+ "description": "Performs well in programming and reasoning tasks, supports streaming and tool calling, and is suitable for agentic coding and complex reasoning scenarios."
3619
+ },
3326
3620
  "zai-org/GLM-4.5": {
3327
3621
  "description": "GLM-4.5 is a foundational model designed specifically for agent applications, using a Mixture-of-Experts (MoE) architecture. It is deeply optimized for tool invocation, web browsing, software engineering, and front-end programming, supporting seamless integration with code agents like Claude Code and Roo Code. GLM-4.5 employs a hybrid inference mode, adaptable to complex reasoning and everyday use scenarios."
3328
3622
  },
@@ -3343,5 +3637,8 @@
3343
3637
  },
3344
3638
  "zai/glm-4.5v": {
3345
3639
  "description": "GLM-4.5V is built on the GLM-4.5-Air foundational model, inheriting the proven techniques of GLM-4.1V-Thinking while achieving efficient scaling through a powerful 106 billion parameter MoE architecture."
3640
+ },
3641
+ "zenmux/auto": {
3642
+ "description": "ZenMux’s auto-routing feature automatically selects the best-performing and most cost-effective model from supported options based on your request."
3346
3643
  }
3347
3644
  }