@lobehub/lobehub 2.0.0-next.16 → 2.0.0-next.160

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 (2457) hide show
  1. package/.console-log-whitelist.json +14 -0
  2. package/.cursor/rules/db-migrations.mdc +16 -1
  3. package/.cursor/rules/project-introduce.mdc +2 -2
  4. package/.cursor/rules/project-structure.mdc +20 -2
  5. package/.env.desktop +1 -2
  6. package/.env.example +176 -65
  7. package/.env.example.development +11 -10
  8. package/.github/workflows/claude-auto-testing.yml +73 -0
  9. package/.github/workflows/claude-dedupe-issues.yml +2 -0
  10. package/.github/workflows/claude-issue-triage.yml +17 -1
  11. package/.github/workflows/claude-translate-comments.yml +67 -0
  12. package/.github/workflows/claude-translator.yml +18 -1
  13. package/.github/workflows/claude.yml +13 -6
  14. package/.github/workflows/e2e.yml +14 -0
  15. package/.github/workflows/issue-auto-comments.yml +0 -19
  16. package/.github/workflows/pr-build-desktop.yml +362 -0
  17. package/.github/workflows/pr-build-docker.yml +173 -0
  18. package/.github/workflows/release-desktop-beta.yml +4 -4
  19. package/.github/workflows/release-docker.yml +133 -0
  20. package/.github/workflows/release.yml +2 -3
  21. package/.github/workflows/sync.yml +2 -2
  22. package/.github/workflows/test.yml +47 -7
  23. package/.nvmrc +1 -1
  24. package/AGENTS.md +6 -3
  25. package/CHANGELOG.md +3622 -0
  26. package/CLAUDE.md +43 -0
  27. package/Dockerfile +8 -6
  28. package/GEMINI.md +63 -0
  29. package/README.md +9 -52
  30. package/README.zh-CN.md +9 -52
  31. package/apps/desktop/package.json +25 -19
  32. package/apps/desktop/src/common/routes.ts +0 -6
  33. package/apps/desktop/src/main/appBrowsers.ts +0 -13
  34. package/apps/desktop/src/main/controllers/AuthCtr.ts +135 -63
  35. package/apps/desktop/src/main/controllers/BrowserWindowsCtr.ts +29 -48
  36. package/apps/desktop/src/main/controllers/LocalFileCtr.ts +80 -16
  37. package/apps/desktop/src/main/controllers/MenuCtr.ts +5 -5
  38. package/apps/desktop/src/main/controllers/NotificationCtr.ts +29 -29
  39. package/apps/desktop/src/main/controllers/RemoteServerConfigCtr.ts +115 -23
  40. package/apps/desktop/src/main/controllers/ShellCommandCtr.ts +242 -0
  41. package/apps/desktop/src/main/controllers/ShortcutCtr.ts +2 -2
  42. package/apps/desktop/src/main/controllers/TrayMenuCtr.ts +18 -18
  43. package/apps/desktop/src/main/controllers/UpdaterCtr.ts +4 -4
  44. package/apps/desktop/src/main/controllers/__tests__/AuthCtr.test.ts +706 -0
  45. package/apps/desktop/src/main/controllers/__tests__/BrowserWindowsCtr.test.ts +21 -72
  46. package/apps/desktop/src/main/controllers/__tests__/LocalFileCtr.test.ts +157 -1
  47. package/apps/desktop/src/main/controllers/__tests__/McpInstallCtr.test.ts +286 -0
  48. package/apps/desktop/src/main/controllers/__tests__/NotificationCtr.test.ts +347 -0
  49. package/apps/desktop/src/main/controllers/__tests__/RemoteServerConfigCtr.test.ts +682 -0
  50. package/apps/desktop/src/main/controllers/__tests__/RemoteServerSyncCtr.test.ts +372 -0
  51. package/apps/desktop/src/main/controllers/__tests__/ShellCommandCtr.test.ts +499 -0
  52. package/apps/desktop/src/main/controllers/__tests__/SystemCtr.test.ts +276 -0
  53. package/apps/desktop/src/main/controllers/__tests__/TrayMenuCtr.test.ts +5 -5
  54. package/apps/desktop/src/main/controllers/__tests__/UploadFileCtr.test.ts +167 -0
  55. package/apps/desktop/src/main/controllers/index.ts +4 -4
  56. package/apps/desktop/src/main/core/browser/Browser.ts +1 -0
  57. package/apps/desktop/src/main/core/browser/BrowserManager.ts +1 -56
  58. package/apps/desktop/src/main/core/browser/__tests__/Browser.test.ts +573 -0
  59. package/apps/desktop/src/main/core/browser/__tests__/BrowserManager.test.ts +415 -0
  60. package/apps/desktop/src/main/core/infrastructure/ProtocolManager.ts +9 -4
  61. package/apps/desktop/src/main/core/infrastructure/UpdaterManager.ts +23 -2
  62. package/apps/desktop/src/main/core/infrastructure/__tests__/I18nManager.test.ts +353 -0
  63. package/apps/desktop/src/main/core/infrastructure/__tests__/IoCContainer.test.ts +156 -0
  64. package/apps/desktop/src/main/core/infrastructure/__tests__/ProtocolManager.test.ts +349 -0
  65. package/apps/desktop/src/main/core/infrastructure/__tests__/StaticFileServerManager.test.ts +481 -0
  66. package/apps/desktop/src/main/core/infrastructure/__tests__/StoreManager.test.ts +164 -0
  67. package/apps/desktop/src/main/core/infrastructure/__tests__/UpdaterManager.test.ts +513 -0
  68. package/apps/desktop/src/main/core/ui/__tests__/MenuManager.test.ts +320 -0
  69. package/apps/desktop/src/main/core/ui/__tests__/Tray.test.ts +518 -0
  70. package/apps/desktop/src/main/core/ui/__tests__/TrayManager.test.ts +360 -0
  71. package/apps/desktop/src/main/menus/impls/BaseMenuPlatform.test.ts +49 -0
  72. package/apps/desktop/src/main/menus/impls/linux.test.ts +552 -0
  73. package/apps/desktop/src/main/menus/impls/macOS.test.ts +464 -0
  74. package/apps/desktop/src/main/menus/impls/macOS.ts +9 -3
  75. package/apps/desktop/src/main/menus/impls/windows.test.ts +429 -0
  76. package/apps/desktop/src/main/modules/fileSearch/__tests__/macOS.integration.test.ts +357 -0
  77. package/apps/desktop/src/main/modules/fileSearch/impl/macOS.ts +30 -22
  78. package/apps/desktop/src/main/modules/networkProxy/__tests__/dispatcher.test.ts +401 -0
  79. package/apps/desktop/src/main/modules/networkProxy/__tests__/tester.test.ts +531 -0
  80. package/apps/desktop/src/main/modules/networkProxy/__tests__/urlBuilder.test.ts +349 -0
  81. package/apps/desktop/src/main/modules/networkProxy/__tests__/validator.test.ts +492 -0
  82. package/apps/desktop/src/main/modules/networkProxy/dispatcher.ts +16 -16
  83. package/apps/desktop/src/main/modules/networkProxy/tester.ts +11 -11
  84. package/apps/desktop/src/main/modules/networkProxy/urlBuilder.ts +3 -3
  85. package/apps/desktop/src/main/modules/networkProxy/validator.ts +10 -10
  86. package/apps/desktop/src/main/services/__tests__/fileSearchSrv.test.ts +402 -0
  87. package/apps/desktop/src/main/services/__tests__/fileSrv.test.ts +603 -0
  88. package/apps/desktop/src/main/utils/__tests__/file-system.test.ts +91 -0
  89. package/apps/desktop/src/main/utils/__tests__/logger.test.ts +229 -0
  90. package/apps/desktop/src/main/utils/next-electron-rsc.ts +3 -1
  91. package/apps/desktop/src/preload/electronApi.test.ts +142 -0
  92. package/apps/desktop/src/preload/index.ts +2 -2
  93. package/apps/desktop/src/preload/invoke.test.ts +147 -0
  94. package/apps/desktop/src/preload/invoke.ts +1 -1
  95. package/apps/desktop/src/preload/routeInterceptor.test.ts +419 -0
  96. package/apps/desktop/src/preload/routeInterceptor.ts +41 -41
  97. package/apps/desktop/src/preload/streamer.test.ts +366 -0
  98. package/apps/desktop/vitest.config.mts +1 -0
  99. package/changelog/v1.json +1258 -0
  100. package/codecov.yml +1 -0
  101. package/docker-compose/local/.env.example +3 -0
  102. package/docker-compose/local/docker-compose.yml +24 -1
  103. package/docker-compose/local/logto/docker-compose.yml +25 -2
  104. package/docker-compose.development.yml +6 -0
  105. package/docs/development/database-schema.dbml +125 -23
  106. package/docs/self-hosting/advanced/auth.mdx +99 -2
  107. package/docs/self-hosting/advanced/auth.zh-CN.mdx +99 -2
  108. package/docs/self-hosting/environment-variables/auth.mdx +187 -1
  109. package/docs/self-hosting/environment-variables/auth.zh-CN.mdx +187 -1
  110. package/docs/self-hosting/environment-variables/basic.mdx +49 -3
  111. package/docs/self-hosting/environment-variables/basic.zh-CN.mdx +49 -4
  112. package/docs/self-hosting/environment-variables/model-provider.mdx +31 -0
  113. package/docs/self-hosting/environment-variables/model-provider.zh-CN.mdx +30 -0
  114. package/docs/self-hosting/server-database/docker-compose.mdx +29 -0
  115. package/docs/self-hosting/server-database/docker-compose.zh-CN.mdx +29 -0
  116. package/docs/usage/providers/comfyui.mdx +1 -1
  117. package/docs/usage/providers/comfyui.zh-CN.mdx +1 -1
  118. package/e2e/package.json +4 -4
  119. package/e2e/src/features/discover/detail-pages.feature +95 -0
  120. package/e2e/src/features/discover/interactions.feature +113 -0
  121. package/e2e/src/features/discover/smoke.feature +34 -1
  122. package/e2e/src/steps/discover/detail-pages.steps.ts +295 -0
  123. package/e2e/src/steps/discover/interactions.steps.ts +451 -0
  124. package/e2e/src/steps/discover/smoke.steps.ts +116 -4
  125. package/locales/ar/auth.json +170 -3
  126. package/locales/ar/chat.json +42 -0
  127. package/locales/ar/common.json +24 -0
  128. package/locales/ar/components.json +6 -0
  129. package/locales/ar/discover.json +47 -0
  130. package/locales/ar/error.json +2 -2
  131. package/locales/ar/file.json +88 -5
  132. package/locales/ar/hotkey.json +4 -0
  133. package/locales/ar/image.json +8 -0
  134. package/locales/ar/labs.json +4 -0
  135. package/locales/ar/marketAuth.json +55 -0
  136. package/locales/ar/modelProvider.json +16 -2
  137. package/locales/ar/models.json +427 -142
  138. package/locales/ar/oauth.json +1 -0
  139. package/locales/ar/plugin.json +36 -16
  140. package/locales/ar/providers.json +3 -0
  141. package/locales/ar/setting.json +100 -1
  142. package/locales/ar/tool.json +28 -1
  143. package/locales/ar/topic.json +1 -0
  144. package/locales/bg-BG/auth.json +170 -3
  145. package/locales/bg-BG/chat.json +42 -0
  146. package/locales/bg-BG/common.json +24 -0
  147. package/locales/bg-BG/components.json +6 -0
  148. package/locales/bg-BG/discover.json +47 -0
  149. package/locales/bg-BG/error.json +2 -2
  150. package/locales/bg-BG/file.json +88 -5
  151. package/locales/bg-BG/hotkey.json +4 -0
  152. package/locales/bg-BG/image.json +8 -0
  153. package/locales/bg-BG/labs.json +4 -0
  154. package/locales/bg-BG/marketAuth.json +55 -0
  155. package/locales/bg-BG/modelProvider.json +16 -2
  156. package/locales/bg-BG/models.json +427 -142
  157. package/locales/bg-BG/oauth.json +1 -0
  158. package/locales/bg-BG/plugin.json +36 -16
  159. package/locales/bg-BG/providers.json +3 -0
  160. package/locales/bg-BG/setting.json +100 -1
  161. package/locales/bg-BG/tool.json +28 -1
  162. package/locales/bg-BG/topic.json +1 -0
  163. package/locales/de-DE/auth.json +170 -3
  164. package/locales/de-DE/chat.json +42 -0
  165. package/locales/de-DE/common.json +24 -0
  166. package/locales/de-DE/components.json +6 -0
  167. package/locales/de-DE/discover.json +47 -0
  168. package/locales/de-DE/error.json +2 -2
  169. package/locales/de-DE/file.json +88 -5
  170. package/locales/de-DE/hotkey.json +4 -0
  171. package/locales/de-DE/image.json +8 -0
  172. package/locales/de-DE/labs.json +4 -0
  173. package/locales/de-DE/marketAuth.json +55 -0
  174. package/locales/de-DE/modelProvider.json +16 -2
  175. package/locales/de-DE/models.json +427 -142
  176. package/locales/de-DE/oauth.json +1 -0
  177. package/locales/de-DE/plugin.json +36 -16
  178. package/locales/de-DE/providers.json +3 -0
  179. package/locales/de-DE/setting.json +100 -1
  180. package/locales/de-DE/tool.json +28 -1
  181. package/locales/de-DE/topic.json +1 -0
  182. package/locales/en-US/auth.json +172 -5
  183. package/locales/en-US/chat.json +42 -0
  184. package/locales/en-US/common.json +24 -0
  185. package/locales/en-US/components.json +6 -0
  186. package/locales/en-US/discover.json +47 -0
  187. package/locales/en-US/error.json +2 -2
  188. package/locales/en-US/file.json +88 -5
  189. package/locales/en-US/hotkey.json +4 -0
  190. package/locales/en-US/image.json +8 -0
  191. package/locales/en-US/labs.json +4 -0
  192. package/locales/en-US/marketAuth.json +55 -0
  193. package/locales/en-US/modelProvider.json +16 -2
  194. package/locales/en-US/models.json +427 -142
  195. package/locales/en-US/oauth.json +1 -0
  196. package/locales/en-US/plugin.json +36 -16
  197. package/locales/en-US/providers.json +3 -0
  198. package/locales/en-US/setting.json +100 -1
  199. package/locales/en-US/tool.json +28 -1
  200. package/locales/en-US/topic.json +1 -0
  201. package/locales/es-ES/auth.json +170 -3
  202. package/locales/es-ES/chat.json +42 -0
  203. package/locales/es-ES/common.json +24 -0
  204. package/locales/es-ES/components.json +6 -0
  205. package/locales/es-ES/discover.json +47 -0
  206. package/locales/es-ES/error.json +2 -2
  207. package/locales/es-ES/file.json +88 -5
  208. package/locales/es-ES/hotkey.json +4 -0
  209. package/locales/es-ES/image.json +8 -0
  210. package/locales/es-ES/labs.json +4 -0
  211. package/locales/es-ES/marketAuth.json +55 -0
  212. package/locales/es-ES/modelProvider.json +16 -2
  213. package/locales/es-ES/models.json +427 -142
  214. package/locales/es-ES/oauth.json +1 -0
  215. package/locales/es-ES/plugin.json +36 -16
  216. package/locales/es-ES/providers.json +3 -0
  217. package/locales/es-ES/setting.json +100 -1
  218. package/locales/es-ES/tool.json +28 -1
  219. package/locales/es-ES/topic.json +1 -0
  220. package/locales/fa-IR/auth.json +170 -3
  221. package/locales/fa-IR/chat.json +42 -0
  222. package/locales/fa-IR/common.json +24 -0
  223. package/locales/fa-IR/components.json +6 -0
  224. package/locales/fa-IR/discover.json +47 -0
  225. package/locales/fa-IR/error.json +2 -2
  226. package/locales/fa-IR/file.json +88 -5
  227. package/locales/fa-IR/hotkey.json +4 -0
  228. package/locales/fa-IR/image.json +8 -0
  229. package/locales/fa-IR/labs.json +4 -0
  230. package/locales/fa-IR/marketAuth.json +55 -0
  231. package/locales/fa-IR/modelProvider.json +16 -2
  232. package/locales/fa-IR/models.json +427 -142
  233. package/locales/fa-IR/oauth.json +1 -0
  234. package/locales/fa-IR/plugin.json +36 -16
  235. package/locales/fa-IR/providers.json +3 -0
  236. package/locales/fa-IR/setting.json +100 -1
  237. package/locales/fa-IR/tool.json +28 -1
  238. package/locales/fa-IR/topic.json +1 -0
  239. package/locales/fr-FR/auth.json +170 -3
  240. package/locales/fr-FR/chat.json +42 -0
  241. package/locales/fr-FR/common.json +24 -0
  242. package/locales/fr-FR/components.json +6 -0
  243. package/locales/fr-FR/discover.json +47 -0
  244. package/locales/fr-FR/error.json +2 -2
  245. package/locales/fr-FR/file.json +88 -5
  246. package/locales/fr-FR/hotkey.json +4 -0
  247. package/locales/fr-FR/image.json +8 -0
  248. package/locales/fr-FR/labs.json +4 -0
  249. package/locales/fr-FR/marketAuth.json +55 -0
  250. package/locales/fr-FR/modelProvider.json +16 -2
  251. package/locales/fr-FR/models.json +427 -142
  252. package/locales/fr-FR/oauth.json +1 -0
  253. package/locales/fr-FR/plugin.json +36 -16
  254. package/locales/fr-FR/providers.json +3 -0
  255. package/locales/fr-FR/setting.json +100 -1
  256. package/locales/fr-FR/tool.json +28 -1
  257. package/locales/fr-FR/topic.json +1 -0
  258. package/locales/it-IT/auth.json +170 -3
  259. package/locales/it-IT/chat.json +42 -0
  260. package/locales/it-IT/common.json +24 -0
  261. package/locales/it-IT/components.json +6 -0
  262. package/locales/it-IT/discover.json +47 -0
  263. package/locales/it-IT/error.json +2 -2
  264. package/locales/it-IT/file.json +88 -5
  265. package/locales/it-IT/hotkey.json +4 -0
  266. package/locales/it-IT/image.json +8 -0
  267. package/locales/it-IT/labs.json +4 -0
  268. package/locales/it-IT/marketAuth.json +55 -0
  269. package/locales/it-IT/modelProvider.json +16 -2
  270. package/locales/it-IT/models.json +427 -142
  271. package/locales/it-IT/oauth.json +1 -0
  272. package/locales/it-IT/plugin.json +36 -16
  273. package/locales/it-IT/providers.json +3 -0
  274. package/locales/it-IT/setting.json +100 -1
  275. package/locales/it-IT/tool.json +28 -1
  276. package/locales/it-IT/topic.json +1 -0
  277. package/locales/ja-JP/auth.json +170 -3
  278. package/locales/ja-JP/chat.json +42 -0
  279. package/locales/ja-JP/common.json +24 -0
  280. package/locales/ja-JP/components.json +6 -0
  281. package/locales/ja-JP/discover.json +47 -0
  282. package/locales/ja-JP/error.json +2 -2
  283. package/locales/ja-JP/file.json +88 -5
  284. package/locales/ja-JP/hotkey.json +4 -0
  285. package/locales/ja-JP/image.json +8 -0
  286. package/locales/ja-JP/labs.json +4 -0
  287. package/locales/ja-JP/marketAuth.json +55 -0
  288. package/locales/ja-JP/modelProvider.json +16 -2
  289. package/locales/ja-JP/models.json +427 -142
  290. package/locales/ja-JP/oauth.json +1 -0
  291. package/locales/ja-JP/plugin.json +36 -16
  292. package/locales/ja-JP/providers.json +3 -0
  293. package/locales/ja-JP/setting.json +100 -1
  294. package/locales/ja-JP/tool.json +28 -1
  295. package/locales/ja-JP/topic.json +1 -0
  296. package/locales/ko-KR/auth.json +170 -3
  297. package/locales/ko-KR/chat.json +42 -0
  298. package/locales/ko-KR/common.json +24 -0
  299. package/locales/ko-KR/components.json +6 -0
  300. package/locales/ko-KR/discover.json +47 -0
  301. package/locales/ko-KR/error.json +2 -2
  302. package/locales/ko-KR/file.json +88 -5
  303. package/locales/ko-KR/hotkey.json +4 -0
  304. package/locales/ko-KR/image.json +8 -0
  305. package/locales/ko-KR/labs.json +4 -0
  306. package/locales/ko-KR/marketAuth.json +55 -0
  307. package/locales/ko-KR/modelProvider.json +16 -2
  308. package/locales/ko-KR/models.json +427 -142
  309. package/locales/ko-KR/oauth.json +1 -0
  310. package/locales/ko-KR/plugin.json +36 -16
  311. package/locales/ko-KR/providers.json +3 -0
  312. package/locales/ko-KR/setting.json +100 -1
  313. package/locales/ko-KR/tool.json +28 -1
  314. package/locales/ko-KR/topic.json +1 -0
  315. package/locales/nl-NL/auth.json +170 -3
  316. package/locales/nl-NL/chat.json +42 -0
  317. package/locales/nl-NL/common.json +24 -0
  318. package/locales/nl-NL/components.json +6 -0
  319. package/locales/nl-NL/discover.json +47 -0
  320. package/locales/nl-NL/error.json +2 -2
  321. package/locales/nl-NL/file.json +88 -5
  322. package/locales/nl-NL/hotkey.json +4 -0
  323. package/locales/nl-NL/image.json +8 -0
  324. package/locales/nl-NL/labs.json +4 -0
  325. package/locales/nl-NL/marketAuth.json +55 -0
  326. package/locales/nl-NL/modelProvider.json +16 -2
  327. package/locales/nl-NL/models.json +427 -142
  328. package/locales/nl-NL/oauth.json +1 -0
  329. package/locales/nl-NL/plugin.json +36 -16
  330. package/locales/nl-NL/providers.json +3 -0
  331. package/locales/nl-NL/setting.json +100 -1
  332. package/locales/nl-NL/tool.json +28 -1
  333. package/locales/nl-NL/topic.json +1 -0
  334. package/locales/pl-PL/auth.json +170 -3
  335. package/locales/pl-PL/chat.json +42 -0
  336. package/locales/pl-PL/common.json +24 -0
  337. package/locales/pl-PL/components.json +6 -0
  338. package/locales/pl-PL/discover.json +47 -0
  339. package/locales/pl-PL/error.json +2 -2
  340. package/locales/pl-PL/file.json +88 -5
  341. package/locales/pl-PL/hotkey.json +4 -0
  342. package/locales/pl-PL/image.json +8 -0
  343. package/locales/pl-PL/labs.json +4 -0
  344. package/locales/pl-PL/marketAuth.json +55 -0
  345. package/locales/pl-PL/modelProvider.json +16 -2
  346. package/locales/pl-PL/models.json +427 -142
  347. package/locales/pl-PL/oauth.json +1 -0
  348. package/locales/pl-PL/plugin.json +36 -16
  349. package/locales/pl-PL/providers.json +3 -0
  350. package/locales/pl-PL/setting.json +100 -1
  351. package/locales/pl-PL/tool.json +28 -1
  352. package/locales/pl-PL/topic.json +1 -0
  353. package/locales/pt-BR/auth.json +170 -3
  354. package/locales/pt-BR/chat.json +42 -0
  355. package/locales/pt-BR/common.json +24 -0
  356. package/locales/pt-BR/components.json +6 -0
  357. package/locales/pt-BR/discover.json +47 -0
  358. package/locales/pt-BR/error.json +2 -2
  359. package/locales/pt-BR/file.json +88 -5
  360. package/locales/pt-BR/hotkey.json +4 -0
  361. package/locales/pt-BR/image.json +8 -0
  362. package/locales/pt-BR/labs.json +4 -0
  363. package/locales/pt-BR/marketAuth.json +55 -0
  364. package/locales/pt-BR/modelProvider.json +16 -2
  365. package/locales/pt-BR/models.json +427 -142
  366. package/locales/pt-BR/oauth.json +1 -0
  367. package/locales/pt-BR/plugin.json +36 -16
  368. package/locales/pt-BR/providers.json +3 -0
  369. package/locales/pt-BR/setting.json +100 -1
  370. package/locales/pt-BR/tool.json +28 -1
  371. package/locales/pt-BR/topic.json +1 -0
  372. package/locales/ru-RU/auth.json +170 -3
  373. package/locales/ru-RU/chat.json +42 -0
  374. package/locales/ru-RU/common.json +24 -0
  375. package/locales/ru-RU/components.json +6 -0
  376. package/locales/ru-RU/discover.json +47 -0
  377. package/locales/ru-RU/error.json +2 -2
  378. package/locales/ru-RU/file.json +88 -5
  379. package/locales/ru-RU/hotkey.json +4 -0
  380. package/locales/ru-RU/image.json +8 -0
  381. package/locales/ru-RU/labs.json +4 -0
  382. package/locales/ru-RU/marketAuth.json +55 -0
  383. package/locales/ru-RU/modelProvider.json +16 -2
  384. package/locales/ru-RU/models.json +427 -142
  385. package/locales/ru-RU/oauth.json +1 -0
  386. package/locales/ru-RU/plugin.json +36 -16
  387. package/locales/ru-RU/providers.json +3 -0
  388. package/locales/ru-RU/setting.json +100 -1
  389. package/locales/ru-RU/tool.json +28 -1
  390. package/locales/ru-RU/topic.json +1 -0
  391. package/locales/tr-TR/auth.json +170 -3
  392. package/locales/tr-TR/chat.json +46 -4
  393. package/locales/tr-TR/common.json +32 -8
  394. package/locales/tr-TR/components.json +6 -0
  395. package/locales/tr-TR/discover.json +47 -0
  396. package/locales/tr-TR/error.json +2 -2
  397. package/locales/tr-TR/file.json +88 -5
  398. package/locales/tr-TR/hotkey.json +4 -0
  399. package/locales/tr-TR/image.json +8 -0
  400. package/locales/tr-TR/labs.json +4 -0
  401. package/locales/tr-TR/marketAuth.json +55 -0
  402. package/locales/tr-TR/modelProvider.json +16 -2
  403. package/locales/tr-TR/models.json +427 -142
  404. package/locales/tr-TR/oauth.json +1 -0
  405. package/locales/tr-TR/plugin.json +36 -16
  406. package/locales/tr-TR/providers.json +3 -0
  407. package/locales/tr-TR/setting.json +100 -1
  408. package/locales/tr-TR/tool.json +28 -1
  409. package/locales/tr-TR/topic.json +1 -0
  410. package/locales/vi-VN/auth.json +170 -3
  411. package/locales/vi-VN/chat.json +42 -0
  412. package/locales/vi-VN/common.json +24 -0
  413. package/locales/vi-VN/components.json +6 -0
  414. package/locales/vi-VN/discover.json +47 -0
  415. package/locales/vi-VN/error.json +2 -2
  416. package/locales/vi-VN/file.json +88 -5
  417. package/locales/vi-VN/hotkey.json +4 -0
  418. package/locales/vi-VN/image.json +8 -0
  419. package/locales/vi-VN/labs.json +4 -0
  420. package/locales/vi-VN/marketAuth.json +55 -0
  421. package/locales/vi-VN/modelProvider.json +16 -2
  422. package/locales/vi-VN/models.json +427 -142
  423. package/locales/vi-VN/oauth.json +1 -0
  424. package/locales/vi-VN/plugin.json +36 -16
  425. package/locales/vi-VN/providers.json +3 -0
  426. package/locales/vi-VN/setting.json +100 -1
  427. package/locales/vi-VN/tool.json +28 -1
  428. package/locales/vi-VN/topic.json +1 -0
  429. package/locales/zh-CN/auth.json +172 -5
  430. package/locales/zh-CN/chat.json +42 -0
  431. package/locales/zh-CN/common.json +24 -0
  432. package/locales/zh-CN/components.json +6 -0
  433. package/locales/zh-CN/discover.json +47 -0
  434. package/locales/zh-CN/error.json +2 -2
  435. package/locales/zh-CN/file.json +88 -5
  436. package/locales/zh-CN/hotkey.json +4 -0
  437. package/locales/zh-CN/image.json +8 -0
  438. package/locales/zh-CN/labs.json +4 -0
  439. package/locales/zh-CN/marketAuth.json +55 -0
  440. package/locales/zh-CN/modelProvider.json +16 -2
  441. package/locales/zh-CN/models.json +427 -142
  442. package/locales/zh-CN/oauth.json +1 -0
  443. package/locales/zh-CN/plugin.json +36 -16
  444. package/locales/zh-CN/providers.json +3 -0
  445. package/locales/zh-CN/setting.json +100 -1
  446. package/locales/zh-CN/tool.json +28 -1
  447. package/locales/zh-CN/topic.json +1 -0
  448. package/locales/zh-TW/auth.json +170 -3
  449. package/locales/zh-TW/chat.json +42 -0
  450. package/locales/zh-TW/common.json +24 -0
  451. package/locales/zh-TW/components.json +6 -0
  452. package/locales/zh-TW/discover.json +47 -0
  453. package/locales/zh-TW/error.json +2 -2
  454. package/locales/zh-TW/file.json +88 -5
  455. package/locales/zh-TW/hotkey.json +4 -0
  456. package/locales/zh-TW/image.json +8 -0
  457. package/locales/zh-TW/labs.json +4 -0
  458. package/locales/zh-TW/marketAuth.json +55 -0
  459. package/locales/zh-TW/modelProvider.json +16 -2
  460. package/locales/zh-TW/models.json +427 -142
  461. package/locales/zh-TW/oauth.json +1 -0
  462. package/locales/zh-TW/plugin.json +36 -16
  463. package/locales/zh-TW/providers.json +3 -0
  464. package/locales/zh-TW/setting.json +100 -1
  465. package/locales/zh-TW/tool.json +28 -1
  466. package/locales/zh-TW/topic.json +1 -0
  467. package/next.config.ts +11 -13
  468. package/package.json +91 -72
  469. package/packages/agent-runtime/package.json +1 -1
  470. package/packages/agent-runtime/src/core/InterventionChecker.ts +88 -14
  471. package/packages/agent-runtime/src/core/__tests__/InterventionChecker.test.ts +504 -87
  472. package/packages/agent-runtime/src/core/__tests__/runtime.test.ts +141 -87
  473. package/packages/agent-runtime/src/core/defaultSecurityBlacklist.ts +335 -0
  474. package/packages/agent-runtime/src/core/index.ts +1 -0
  475. package/packages/agent-runtime/src/core/runtime.ts +104 -20
  476. package/packages/agent-runtime/src/types/event.ts +4 -1
  477. package/packages/agent-runtime/src/types/generalAgent.ts +72 -0
  478. package/packages/agent-runtime/src/types/index.ts +1 -0
  479. package/packages/agent-runtime/src/types/instruction.ts +50 -7
  480. package/packages/agent-runtime/src/types/runtime.ts +7 -0
  481. package/packages/agent-runtime/src/types/state.ts +18 -1
  482. package/packages/const/package.json +1 -1
  483. package/packages/const/src/auth.ts +6 -2
  484. package/packages/const/src/hotkeys.ts +9 -3
  485. package/packages/const/src/settings/common.ts +1 -0
  486. package/packages/const/src/settings/tool.ts +1 -5
  487. package/packages/const/src/url.ts +1 -0
  488. package/packages/const/src/user.ts +4 -2
  489. package/packages/const/src/utils/merge.ts +3 -3
  490. package/packages/const/src/version.ts +0 -5
  491. package/packages/context-engine/package.json +2 -2
  492. package/packages/context-engine/src/base/BaseProcessor.ts +13 -13
  493. package/packages/context-engine/src/base/BaseProvider.ts +2 -2
  494. package/packages/context-engine/src/base/__tests__/BaseProcessor.test.ts +5 -5
  495. package/packages/context-engine/src/index.ts +1 -1
  496. package/packages/context-engine/src/processors/GroupMessageFlatten.ts +8 -6
  497. package/packages/context-engine/src/processors/MessageCleanup.ts +7 -6
  498. package/packages/context-engine/src/processors/MessageContent.ts +115 -21
  499. package/packages/context-engine/src/processors/PlaceholderVariables.ts +4 -4
  500. package/packages/context-engine/src/processors/ToolCall.ts +19 -18
  501. package/packages/context-engine/src/processors/ToolMessageReorder.ts +10 -10
  502. package/packages/context-engine/src/processors/__tests__/GroupMessageFlatten.test.ts +12 -12
  503. package/packages/context-engine/src/processors/__tests__/MessageCleanup.test.ts +28 -0
  504. package/packages/context-engine/src/processors/__tests__/MessageContent.test.ts +239 -0
  505. package/packages/context-engine/src/processors/__tests__/ToolCall.test.ts +59 -0
  506. package/packages/context-engine/src/providers/HistorySummary.ts +6 -6
  507. package/packages/context-engine/src/providers/KnowledgeInjector.ts +78 -0
  508. package/packages/context-engine/src/providers/ToolSystemRole.ts +7 -7
  509. package/packages/context-engine/src/providers/index.ts +2 -0
  510. package/packages/context-engine/src/tools/ToolNameResolver.ts +1 -0
  511. package/packages/context-engine/src/tools/ToolsEngine.ts +8 -8
  512. package/packages/context-engine/src/tools/__tests__/ToolNameResolver.test.ts +57 -0
  513. package/packages/context-engine/src/types.ts +36 -35
  514. package/packages/conversation-flow/package.json +13 -0
  515. package/packages/conversation-flow/src/__tests__/fixtures/index.ts +44 -0
  516. package/packages/conversation-flow/src/__tests__/fixtures/inputs/assistant-chain-with-followup.json +56 -0
  517. package/packages/conversation-flow/src/__tests__/fixtures/inputs/assistantGroup/assistant-with-tools.json +145 -0
  518. package/packages/conversation-flow/src/__tests__/fixtures/inputs/assistantGroup/index.ts +8 -0
  519. package/packages/conversation-flow/src/__tests__/fixtures/inputs/assistantGroup/tools-with-branches.json +107 -0
  520. package/packages/conversation-flow/src/__tests__/fixtures/inputs/branch/active-index-1.json +131 -0
  521. package/packages/conversation-flow/src/__tests__/fixtures/inputs/branch/assistant-branch.json +96 -0
  522. package/packages/conversation-flow/src/__tests__/fixtures/inputs/branch/assistant-group-branches.json +249 -0
  523. package/packages/conversation-flow/src/__tests__/fixtures/inputs/branch/assistant-user-branch.json +123 -0
  524. package/packages/conversation-flow/src/__tests__/fixtures/inputs/branch/conversation.json +128 -0
  525. package/packages/conversation-flow/src/__tests__/fixtures/inputs/branch/index.ts +18 -0
  526. package/packages/conversation-flow/src/__tests__/fixtures/inputs/branch/multi-assistant-group.json +260 -0
  527. package/packages/conversation-flow/src/__tests__/fixtures/inputs/branch/nested.json +179 -0
  528. package/packages/conversation-flow/src/__tests__/fixtures/inputs/compare/index.ts +8 -0
  529. package/packages/conversation-flow/src/__tests__/fixtures/inputs/compare/simple.json +85 -0
  530. package/packages/conversation-flow/src/__tests__/fixtures/inputs/compare/with-tools.json +169 -0
  531. package/packages/conversation-flow/src/__tests__/fixtures/inputs/index.ts +12 -0
  532. package/packages/conversation-flow/src/__tests__/fixtures/inputs/linear-conversation.json +59 -0
  533. package/packages/conversation-flow/src/__tests__/fixtures/outputs/assistant-chain-with-followup.json +135 -0
  534. package/packages/conversation-flow/src/__tests__/fixtures/outputs/assistantGroup/assistant-with-tools.json +340 -0
  535. package/packages/conversation-flow/src/__tests__/fixtures/outputs/assistantGroup/index.ts +8 -0
  536. package/packages/conversation-flow/src/__tests__/fixtures/outputs/assistantGroup/tools-with-branches.json +261 -0
  537. package/packages/conversation-flow/src/__tests__/fixtures/outputs/branch/active-index-1.json +246 -0
  538. package/packages/conversation-flow/src/__tests__/fixtures/outputs/branch/assistant-branch.json +208 -0
  539. package/packages/conversation-flow/src/__tests__/fixtures/outputs/branch/assistant-group-branches.json +481 -0
  540. package/packages/conversation-flow/src/__tests__/fixtures/outputs/branch/assistant-user-branch.json +254 -0
  541. package/packages/conversation-flow/src/__tests__/fixtures/outputs/branch/conversation.json +264 -0
  542. package/packages/conversation-flow/src/__tests__/fixtures/outputs/branch/index.ts +18 -0
  543. package/packages/conversation-flow/src/__tests__/fixtures/outputs/branch/multi-assistant-group.json +407 -0
  544. package/packages/conversation-flow/src/__tests__/fixtures/outputs/branch/nested.json +405 -0
  545. package/packages/conversation-flow/src/__tests__/fixtures/outputs/compare/index.ts +8 -0
  546. package/packages/conversation-flow/src/__tests__/fixtures/outputs/compare/simple.json +224 -0
  547. package/packages/conversation-flow/src/__tests__/fixtures/outputs/compare/with-tools.json +418 -0
  548. package/packages/conversation-flow/src/__tests__/fixtures/outputs/linear-conversation.json +138 -0
  549. package/packages/conversation-flow/src/__tests__/indexing.test.ts +513 -0
  550. package/packages/conversation-flow/src/__tests__/parse.test.ts +132 -0
  551. package/packages/conversation-flow/src/__tests__/structuring.test.ts +600 -0
  552. package/packages/conversation-flow/src/index.ts +17 -0
  553. package/packages/conversation-flow/src/indexing.ts +58 -0
  554. package/packages/conversation-flow/src/parse.ts +97 -0
  555. package/packages/conversation-flow/src/structuring.ts +38 -0
  556. package/packages/conversation-flow/src/transformation/BranchResolver.ts +76 -0
  557. package/packages/conversation-flow/src/transformation/ContextTreeBuilder.ts +297 -0
  558. package/packages/conversation-flow/src/transformation/FlatListBuilder.ts +581 -0
  559. package/packages/conversation-flow/src/transformation/MessageCollector.ts +166 -0
  560. package/packages/conversation-flow/src/transformation/MessageTransformer.ts +177 -0
  561. package/packages/conversation-flow/src/transformation/__tests__/BranchResolver.test.ts +214 -0
  562. package/packages/conversation-flow/src/transformation/__tests__/ContextTreeBuilder.test.ts +449 -0
  563. package/packages/conversation-flow/src/transformation/__tests__/FlatListBuilder.test.ts +558 -0
  564. package/packages/conversation-flow/src/transformation/__tests__/MessageCollector.test.ts +220 -0
  565. package/packages/conversation-flow/src/transformation/__tests__/MessageTransformer.test.ts +286 -0
  566. package/packages/conversation-flow/src/transformation/index.ts +78 -0
  567. package/packages/conversation-flow/src/types/contextTree.ts +65 -0
  568. package/packages/conversation-flow/src/types/flatMessageList.ts +54 -0
  569. package/packages/conversation-flow/src/types/index.ts +25 -0
  570. package/packages/conversation-flow/src/types/shared.ts +63 -0
  571. package/packages/conversation-flow/vitest.config.mts +10 -0
  572. package/packages/database/migrations/0042_improve_agent_index.sql +1 -0
  573. package/packages/database/migrations/0043_add_ai_model_settings.sql +1 -0
  574. package/packages/database/migrations/0044_high_toxin.sql +1 -0
  575. package/packages/database/migrations/0045_add_tool_intervention.sql +1 -0
  576. package/packages/database/migrations/0046_add_parent_id.sql +15 -0
  577. package/packages/database/migrations/0047_add_slug_document.sql +2 -0
  578. package/packages/database/migrations/0048_add_editor_data.sql +1 -0
  579. package/packages/database/migrations/0049_better_auth.sql +49 -0
  580. package/packages/database/migrations/0050_thread_and_user_id.sql +18 -0
  581. package/packages/database/migrations/0051_add_market_into_user_settings.sql +1 -0
  582. package/packages/database/migrations/0052_topic_and_messages.sql +9 -0
  583. package/packages/database/migrations/0053_better_auth_admin.sql +5 -0
  584. package/packages/database/migrations/0054_better_auth_two_factor.sql +49 -0
  585. package/packages/database/migrations/0055_rename_phone_number_to_phone.sql +4 -0
  586. package/packages/database/migrations/0056_update_agent_slug_index.sql +2 -0
  587. package/packages/database/migrations/0057_add_topic_user_memory_extract_status.sql +1 -0
  588. package/packages/database/migrations/0058_add_source_into_user_plugins.sql +1 -0
  589. package/packages/database/migrations/0059_add_normalized_email_indexes.sql +4 -0
  590. package/packages/database/migrations/meta/0039_snapshot.json +1 -1
  591. package/packages/database/migrations/meta/0042_snapshot.json +7800 -0
  592. package/packages/database/migrations/meta/0043_snapshot.json +8419 -0
  593. package/packages/database/migrations/meta/0044_snapshot.json +7813 -0
  594. package/packages/database/migrations/meta/0045_snapshot.json +8431 -0
  595. package/packages/database/migrations/meta/0046_snapshot.json +7879 -0
  596. package/packages/database/migrations/meta/0047_snapshot.json +7907 -0
  597. package/packages/database/migrations/meta/0048_snapshot.json +7913 -0
  598. package/packages/database/migrations/meta/0049_snapshot.json +8151 -0
  599. package/packages/database/migrations/meta/0050_snapshot.json +8792 -0
  600. package/packages/database/migrations/meta/0051_snapshot.json +8168 -0
  601. package/packages/database/migrations/meta/0052_snapshot.json +8850 -0
  602. package/packages/database/migrations/meta/0053_snapshot.json +8247 -0
  603. package/packages/database/migrations/meta/0054_snapshot.json +8402 -0
  604. package/packages/database/migrations/meta/0055_snapshot.json +8396 -0
  605. package/packages/database/migrations/meta/0056_snapshot.json +8411 -0
  606. package/packages/database/migrations/meta/0057_snapshot.json +8426 -0
  607. package/packages/database/migrations/meta/0058_snapshot.json +8432 -0
  608. package/packages/database/migrations/meta/0059_snapshot.json +8474 -0
  609. package/packages/database/migrations/meta/_journal.json +126 -0
  610. package/packages/database/package.json +3 -3
  611. package/packages/database/src/client/db.test.ts +1 -2
  612. package/packages/database/src/client/db.ts +39 -39
  613. package/packages/database/src/client/pglite.ts +1 -1
  614. package/packages/database/src/core/db-adaptor.ts +4 -4
  615. package/packages/database/src/core/electron.ts +43 -43
  616. package/packages/database/src/core/migrations.json +192 -0
  617. package/packages/database/src/core/web-server.ts +2 -1
  618. package/packages/database/src/index.ts +2 -0
  619. package/packages/database/src/models/__tests__/agent.test.ts +274 -6
  620. package/packages/database/src/models/__tests__/apiKey.test.ts +444 -0
  621. package/packages/database/src/models/__tests__/asyncTask.test.ts +1 -2
  622. package/packages/database/src/models/__tests__/chunk.test.ts +38 -0
  623. package/packages/database/src/models/__tests__/document.test.ts +312 -0
  624. package/packages/database/src/models/__tests__/embedding.test.ts +294 -0
  625. package/packages/database/src/models/__tests__/file.test.ts +95 -31
  626. package/packages/database/src/models/__tests__/generation.test.ts +1 -2
  627. package/packages/database/src/models/__tests__/generationBatch.test.ts +1 -2
  628. package/packages/database/src/models/__tests__/messages/message.create.test.ts +549 -0
  629. package/packages/database/src/models/__tests__/messages/message.delete.test.ts +481 -0
  630. package/packages/database/src/models/__tests__/messages/message.query.test.ts +1187 -0
  631. package/packages/database/src/models/__tests__/messages/message.stats.test.ts +633 -0
  632. package/packages/database/src/models/__tests__/messages/message.update.test.ts +757 -0
  633. package/packages/database/src/models/__tests__/oauthHandoff.test.ts +261 -0
  634. package/packages/database/src/models/__tests__/session.test.ts +1 -2
  635. package/packages/database/src/models/__tests__/thread.test.ts +327 -0
  636. package/packages/database/src/models/__tests__/topic.test.ts +12 -6
  637. package/packages/database/src/models/__tests__/user.test.ts +372 -0
  638. package/packages/database/src/models/__tests__/userMemories.test.ts +1382 -0
  639. package/packages/database/src/models/agent.ts +38 -14
  640. package/packages/database/src/models/aiModel.ts +1 -0
  641. package/packages/database/src/models/aiProvider.ts +7 -7
  642. package/packages/database/src/models/apiKey.ts +2 -2
  643. package/packages/database/src/models/chunk.ts +4 -2
  644. package/packages/database/src/models/document.ts +15 -10
  645. package/packages/database/src/models/drizzleMigration.ts +1 -1
  646. package/packages/database/src/models/file.ts +67 -42
  647. package/packages/database/src/models/message.ts +21 -93
  648. package/packages/database/src/models/oauthHandoff.ts +19 -19
  649. package/packages/database/src/models/session.ts +74 -21
  650. package/packages/database/src/models/topic.ts +10 -10
  651. package/packages/database/src/models/user.ts +50 -14
  652. package/packages/database/src/models/userMemory.ts +993 -0
  653. package/packages/database/src/repositories/aiInfra/index.test.ts +205 -7
  654. package/packages/database/src/repositories/aiInfra/index.ts +30 -29
  655. package/packages/database/src/repositories/dataExporter/index.test.ts +1 -1
  656. package/packages/database/src/repositories/dataExporter/index.ts +13 -13
  657. package/packages/database/src/repositories/dataImporter/__tests__/index.test.ts +1 -2
  658. package/packages/database/src/repositories/dataImporter/deprecated/__tests__/index.test.ts +1 -1
  659. package/packages/database/src/repositories/dataImporter/deprecated/index.ts +6 -6
  660. package/packages/database/src/repositories/dataImporter/index.ts +70 -71
  661. package/packages/database/src/repositories/knowledge/index.test.ts +312 -0
  662. package/packages/database/src/repositories/knowledge/index.ts +417 -0
  663. package/packages/database/src/repositories/tableViewer/index.test.ts +3 -3
  664. package/packages/database/src/repositories/tableViewer/index.ts +21 -22
  665. package/packages/database/src/schemas/agent.ts +9 -6
  666. package/packages/database/src/schemas/aiInfra.ts +3 -2
  667. package/packages/database/src/schemas/betterAuth.ts +120 -0
  668. package/packages/database/src/schemas/file.ts +80 -0
  669. package/packages/database/src/schemas/generation.ts +16 -16
  670. package/packages/database/src/schemas/index.ts +1 -1
  671. package/packages/database/src/schemas/message.ts +14 -14
  672. package/packages/database/src/schemas/nextauth.ts +3 -3
  673. package/packages/database/src/schemas/oidc.ts +36 -36
  674. package/packages/database/src/schemas/rag.ts +32 -2
  675. package/packages/database/src/schemas/ragEvals.ts +1 -2
  676. package/packages/database/src/schemas/relations.ts +2 -3
  677. package/packages/database/src/schemas/topic.ts +21 -7
  678. package/packages/database/src/schemas/user.ts +44 -22
  679. package/packages/database/src/schemas/userMemories.ts +22 -5
  680. package/packages/database/src/server/models/__tests__/adapter.test.ts +97 -69
  681. package/packages/database/src/server/models/__tests__/user.test.ts +2 -5
  682. package/packages/database/src/server/models/ragEval/evaluation.ts +1 -1
  683. package/packages/database/src/utils/genWhere.test.ts +243 -0
  684. package/packages/electron-client-ipc/package.json +1 -1
  685. package/packages/electron-client-ipc/src/events/index.ts +6 -1
  686. package/packages/electron-client-ipc/src/events/remoteServer.ts +8 -0
  687. package/packages/electron-client-ipc/src/events/system.ts +1 -3
  688. package/packages/electron-client-ipc/src/types/localSystem.ts +30 -2
  689. package/packages/electron-client-ipc/src/types/system.ts +1 -0
  690. package/packages/electron-server-ipc/package.json +2 -2
  691. package/packages/electron-server-ipc/src/ipcClient.ts +31 -31
  692. package/packages/electron-server-ipc/src/ipcServer.ts +15 -15
  693. package/packages/fetch-sse/package.json +29 -0
  694. package/packages/fetch-sse/src/__tests__/fetchSSE.test.ts +708 -0
  695. package/packages/fetch-sse/src/__tests__/headers.test.ts +367 -0
  696. package/packages/fetch-sse/src/__tests__/parseError.test.ts +91 -0
  697. package/packages/fetch-sse/src/fetchSSE.ts +536 -0
  698. package/packages/fetch-sse/src/headers.ts +27 -0
  699. package/packages/fetch-sse/src/parseError.ts +24 -0
  700. package/packages/fetch-sse/src/request.ts +28 -0
  701. package/packages/file-loaders/package.json +3 -3
  702. package/packages/file-loaders/src/loaders/docx/index.ts +1 -1
  703. package/packages/memory-extract/package.json +4 -4
  704. package/packages/model-bank/package.json +1 -0
  705. package/packages/model-bank/src/aiModels/aihubmix.ts +246 -34
  706. package/packages/model-bank/src/aiModels/anthropic.ts +37 -2
  707. package/packages/model-bank/src/aiModels/bedrock.ts +55 -12
  708. package/packages/model-bank/src/aiModels/cerebras.ts +22 -48
  709. package/packages/model-bank/src/aiModels/cometapi.ts +8 -8
  710. package/packages/model-bank/src/aiModels/deepseek.ts +2 -2
  711. package/packages/model-bank/src/aiModels/fal.ts +2 -2
  712. package/packages/model-bank/src/aiModels/google.ts +155 -93
  713. package/packages/model-bank/src/aiModels/index.ts +3 -0
  714. package/packages/model-bank/src/aiModels/infiniai.ts +66 -21
  715. package/packages/model-bank/src/aiModels/minimax.ts +23 -11
  716. package/packages/model-bank/src/aiModels/mistral.ts +2 -1
  717. package/packages/model-bank/src/aiModels/moonshot.ts +49 -24
  718. package/packages/model-bank/src/aiModels/nebius.ts +1 -1
  719. package/packages/model-bank/src/aiModels/newapi.ts +3 -3
  720. package/packages/model-bank/src/aiModels/novita.ts +3 -2
  721. package/packages/model-bank/src/aiModels/nvidia.ts +14 -0
  722. package/packages/model-bank/src/aiModels/ollamacloud.ts +38 -4
  723. package/packages/model-bank/src/aiModels/openai.ts +113 -65
  724. package/packages/model-bank/src/aiModels/openrouter.ts +29 -1
  725. package/packages/model-bank/src/aiModels/qiniu.ts +126 -0
  726. package/packages/model-bank/src/aiModels/qwen.ts +211 -15
  727. package/packages/model-bank/src/aiModels/siliconcloud.ts +66 -61
  728. package/packages/model-bank/src/aiModels/spark.ts +17 -16
  729. package/packages/model-bank/src/aiModels/stepfun.ts +1 -1
  730. package/packages/model-bank/src/aiModels/vercelaigateway.ts +1 -18
  731. package/packages/model-bank/src/aiModels/vertexai.ts +92 -1
  732. package/packages/model-bank/src/aiModels/volcengine.ts +57 -4
  733. package/packages/model-bank/src/aiModels/wenxin.ts +1396 -291
  734. package/packages/model-bank/src/aiModels/xai.ts +85 -6
  735. package/packages/model-bank/src/aiModels/zenmux.ts +1455 -0
  736. package/packages/model-bank/src/aiModels/zhipu.ts +1 -1
  737. package/packages/model-bank/src/const/modelProvider.ts +1 -0
  738. package/packages/model-bank/src/standard-parameters/index.ts +23 -14
  739. package/packages/model-bank/src/types/aiModel.ts +29 -10
  740. package/packages/model-runtime/package.json +4 -3
  741. package/packages/model-runtime/src/const/models.ts +62 -24
  742. package/packages/model-runtime/src/core/RouterRuntime/baseRuntimeMap.ts +2 -0
  743. package/packages/model-runtime/src/core/RouterRuntime/createRuntime.ts +44 -20
  744. package/packages/model-runtime/src/core/contextBuilders/anthropic.test.ts +17 -11
  745. package/packages/model-runtime/src/core/contextBuilders/anthropic.ts +15 -1
  746. package/packages/model-runtime/src/core/contextBuilders/google.test.ts +548 -15
  747. package/packages/model-runtime/src/core/contextBuilders/google.ts +57 -9
  748. package/packages/model-runtime/src/core/contextBuilders/openai.test.ts +93 -7
  749. package/packages/model-runtime/src/core/contextBuilders/openai.ts +47 -14
  750. package/packages/model-runtime/src/core/openaiCompatibleFactory/createImage.test.ts +1 -1
  751. package/packages/model-runtime/src/core/openaiCompatibleFactory/createImage.ts +1 -1
  752. package/packages/model-runtime/src/core/openaiCompatibleFactory/index.test.ts +113 -72
  753. package/packages/model-runtime/src/core/openaiCompatibleFactory/index.ts +203 -111
  754. package/packages/model-runtime/src/core/parameterResolver.test.ts +34 -50
  755. package/packages/model-runtime/src/core/parameterResolver.ts +0 -38
  756. package/packages/model-runtime/src/core/streams/bedrock/claude.ts +17 -3
  757. package/packages/model-runtime/src/core/streams/google/google-ai.test.ts +1600 -807
  758. package/packages/model-runtime/src/core/streams/google/index.ts +139 -10
  759. package/packages/model-runtime/src/core/streams/ollama.test.ts +67 -0
  760. package/packages/model-runtime/src/core/streams/ollama.ts +5 -5
  761. package/packages/model-runtime/src/core/streams/openai/__snapshots__/responsesStream.test.ts.snap +1007 -0
  762. package/packages/model-runtime/src/core/streams/openai/openai.test.ts +310 -0
  763. package/packages/model-runtime/src/core/streams/openai/openai.ts +67 -0
  764. package/packages/model-runtime/src/core/streams/openai/responsesStream.test.ts +1 -1
  765. package/packages/model-runtime/src/core/streams/protocol.ts +20 -0
  766. package/packages/model-runtime/src/core/streams/vertex-ai.ts +1 -2
  767. package/packages/model-runtime/src/core/usageConverters/index.ts +1 -0
  768. package/packages/model-runtime/src/core/usageConverters/utils/resolveImageSinglePrice.ts +34 -0
  769. package/packages/model-runtime/src/helpers/mergeChatMethodOptions.ts +2 -1
  770. package/packages/model-runtime/src/index.ts +2 -1
  771. package/packages/model-runtime/src/providers/aihubmix/index.test.ts +1 -1
  772. package/packages/model-runtime/src/providers/aihubmix/index.ts +5 -0
  773. package/packages/model-runtime/src/providers/anthropic/generateObject.test.ts +1 -1
  774. package/packages/model-runtime/src/providers/anthropic/index.test.ts +1 -1
  775. package/packages/model-runtime/src/providers/anthropic/index.ts +21 -70
  776. package/packages/model-runtime/src/providers/anthropic/resolveCacheTTL.ts +44 -0
  777. package/packages/model-runtime/src/providers/anthropic/resolveMaxTokens.ts +35 -0
  778. package/packages/model-runtime/src/providers/azureOpenai/index.ts +3 -1
  779. package/packages/model-runtime/src/providers/azureai/index.ts +37 -3
  780. package/packages/model-runtime/src/providers/baichuan/index.test.ts +1 -1
  781. package/packages/model-runtime/src/providers/bedrock/index.test.ts +133 -19
  782. package/packages/model-runtime/src/providers/bedrock/index.ts +89 -16
  783. package/packages/model-runtime/src/providers/bfl/createImage.test.ts +4 -4
  784. package/packages/model-runtime/src/providers/bfl/createImage.ts +1 -1
  785. package/packages/model-runtime/src/providers/cloudflare/index.test.ts +1 -1
  786. package/packages/model-runtime/src/providers/cloudflare/index.ts +3 -1
  787. package/packages/model-runtime/src/providers/cohere/index.test.ts +1 -1
  788. package/packages/model-runtime/src/providers/comfyui/__tests__/index.test.ts +1 -2
  789. package/packages/model-runtime/src/providers/comfyui/auth/AuthManager.ts +1 -2
  790. package/packages/model-runtime/src/providers/comfyui/index.ts +2 -7
  791. package/packages/model-runtime/src/providers/deepseek/index.test.ts +86 -0
  792. package/packages/model-runtime/src/providers/deepseek/index.ts +24 -0
  793. package/packages/model-runtime/src/providers/google/createImage.test.ts +8 -7
  794. package/packages/model-runtime/src/providers/google/createImage.ts +14 -9
  795. package/packages/model-runtime/src/providers/google/generateObject.test.ts +1 -1
  796. package/packages/model-runtime/src/providers/google/index.test.ts +98 -5
  797. package/packages/model-runtime/src/providers/google/index.ts +36 -11
  798. package/packages/model-runtime/src/providers/groq/index.test.ts +1 -1
  799. package/packages/model-runtime/src/providers/hunyuan/index.test.ts +1 -1
  800. package/packages/model-runtime/src/providers/minimax/createImage.test.ts +1 -1
  801. package/packages/model-runtime/src/providers/minimax/index.ts +30 -10
  802. package/packages/model-runtime/src/providers/mistral/index.test.ts +1 -1
  803. package/packages/model-runtime/src/providers/moonshot/index.test.ts +1 -1
  804. package/packages/model-runtime/src/providers/moonshot/index.ts +17 -4
  805. package/packages/model-runtime/src/providers/newapi/index.test.ts +3 -75
  806. package/packages/model-runtime/src/providers/newapi/index.ts +59 -29
  807. package/packages/model-runtime/src/providers/novita/__snapshots__/index.test.ts.snap +584 -0
  808. package/packages/model-runtime/src/providers/novita/index.test.ts +1 -1
  809. package/packages/model-runtime/src/providers/ollama/index.test.ts +43 -32
  810. package/packages/model-runtime/src/providers/ollama/index.ts +31 -7
  811. package/packages/model-runtime/src/providers/openai/__snapshots__/index.test.ts.snap +517 -0
  812. package/packages/model-runtime/src/providers/openai/index.test.ts +44 -0
  813. package/packages/model-runtime/src/providers/openrouter/index.test.ts +4 -3
  814. package/packages/model-runtime/src/providers/openrouter/index.ts +1 -1
  815. package/packages/model-runtime/src/providers/perplexity/index.test.ts +1 -1
  816. package/packages/model-runtime/src/providers/ppio/__snapshots__/index.test.ts.snap +27 -0
  817. package/packages/model-runtime/src/providers/ppio/index.test.ts +1 -1
  818. package/packages/model-runtime/src/providers/qwen/createImage.test.ts +1 -1
  819. package/packages/model-runtime/src/providers/qwen/index.ts +9 -3
  820. package/packages/model-runtime/src/providers/search1api/index.test.ts +1 -1
  821. package/packages/model-runtime/src/providers/siliconcloud/createImage.ts +1 -1
  822. package/packages/model-runtime/src/providers/spark/index.test.ts +12 -11
  823. package/packages/model-runtime/src/providers/spark/index.ts +19 -4
  824. package/packages/model-runtime/src/providers/taichu/index.test.ts +1 -1
  825. package/packages/model-runtime/src/providers/volcengine/index.test.ts +0 -14
  826. package/packages/model-runtime/src/providers/volcengine/index.ts +1 -24
  827. package/packages/model-runtime/src/providers/wenxin/index.test.ts +1 -1
  828. package/packages/model-runtime/src/providers/wenxin/index.ts +22 -1
  829. package/packages/model-runtime/src/providers/zenmux/index.test.ts +320 -0
  830. package/packages/model-runtime/src/providers/zenmux/index.ts +84 -0
  831. package/packages/model-runtime/src/providers/zhipu/index.test.ts +1 -1
  832. package/packages/model-runtime/src/runtimeMap.ts +3 -0
  833. package/packages/model-runtime/src/types/chat.ts +16 -0
  834. package/packages/model-runtime/src/types/error.ts +11 -8
  835. package/packages/model-runtime/src/types/toolsCalling.ts +3 -1
  836. package/packages/model-runtime/src/utils/asyncifyPolling.ts +127 -104
  837. package/packages/model-runtime/src/utils/errorResponse.test.ts +1 -1
  838. package/packages/model-runtime/src/utils/googleErrorParser.test.ts +125 -0
  839. package/packages/model-runtime/src/utils/googleErrorParser.ts +108 -77
  840. package/packages/model-runtime/src/utils/modelParse.ts +6 -0
  841. package/packages/model-runtime/src/utils/postProcessModelList.ts +15 -13
  842. package/packages/obervability-otel/package.json +15 -15
  843. package/packages/obervability-otel/src/api.ts +2 -0
  844. package/packages/obervability-otel/src/node.ts +17 -7
  845. package/packages/obervability-otel/src/trpc/convention.ts +16 -0
  846. package/packages/obervability-otel/src/trpc/index.test.ts +38 -0
  847. package/packages/obervability-otel/src/trpc/index.ts +62 -0
  848. package/packages/obervability-otel/src/trpc/metrics.ts +31 -0
  849. package/packages/prompts/package.json +1 -1
  850. package/packages/prompts/src/prompts/files/__snapshots__/knowledgeBase.test.ts.snap +103 -0
  851. package/packages/prompts/src/prompts/files/index.ts +3 -0
  852. package/packages/prompts/src/prompts/files/knowledgeBase.test.ts +167 -0
  853. package/packages/prompts/src/prompts/files/knowledgeBase.ts +85 -0
  854. package/packages/prompts/src/prompts/knowledgeBaseQA/__snapshots__/formatFileContents.test.ts.snap +75 -0
  855. package/packages/prompts/src/prompts/knowledgeBaseQA/__snapshots__/formatNoSearchResults.test.ts.snap +45 -0
  856. package/packages/prompts/src/prompts/knowledgeBaseQA/__snapshots__/formatSearchResults.test.ts.snap +82 -0
  857. package/packages/prompts/src/prompts/knowledgeBaseQA/formatFileContents.test.ts +118 -0
  858. package/packages/prompts/src/prompts/knowledgeBaseQA/formatFileContents.ts +31 -0
  859. package/packages/prompts/src/prompts/knowledgeBaseQA/formatNoSearchResults.test.ts +25 -0
  860. package/packages/prompts/src/prompts/knowledgeBaseQA/formatNoSearchResults.ts +13 -0
  861. package/packages/prompts/src/prompts/knowledgeBaseQA/formatSearchResults.test.ts +191 -0
  862. package/packages/prompts/src/prompts/knowledgeBaseQA/formatSearchResults.ts +50 -0
  863. package/packages/prompts/src/prompts/knowledgeBaseQA/index.ts +6 -0
  864. package/packages/python-interpreter/src/types.ts +2 -2
  865. package/packages/python-interpreter/src/worker.ts +18 -18
  866. package/packages/ssrf-safe-fetch/index.browser.ts +14 -0
  867. package/packages/ssrf-safe-fetch/index.ts +4 -1
  868. package/packages/ssrf-safe-fetch/package.json +9 -2
  869. package/packages/types/src/agent/chatConfig.ts +29 -8
  870. package/packages/types/src/aiChat.ts +2 -0
  871. package/packages/types/src/aiProvider.ts +1 -1
  872. package/packages/types/src/discover/assistants.ts +16 -0
  873. package/packages/types/src/discover/mcp.ts +7 -0
  874. package/packages/types/src/discover/plugins.ts +12 -0
  875. package/packages/types/src/document/index.ts +50 -38
  876. package/packages/types/src/exportConfig.ts +15 -15
  877. package/packages/types/src/fetch.ts +9 -9
  878. package/packages/types/src/files/index.ts +3 -0
  879. package/packages/types/src/files/list.ts +11 -1
  880. package/packages/types/src/files/upload.ts +1 -1
  881. package/packages/types/src/generation/index.ts +5 -5
  882. package/packages/types/src/hotkey.ts +6 -5
  883. package/packages/types/src/importer.ts +6 -6
  884. package/packages/types/src/index.ts +6 -1
  885. package/packages/types/src/knowledgeBase/index.ts +1 -0
  886. package/packages/types/src/llm.ts +1 -1
  887. package/packages/types/src/message/common/base.ts +28 -2
  888. package/packages/types/src/message/common/metadata.ts +29 -2
  889. package/packages/types/src/message/common/tools.ts +20 -1
  890. package/packages/types/src/message/db/item.ts +15 -1
  891. package/packages/types/src/message/ui/chat.ts +25 -2
  892. package/packages/types/src/message/ui/extra.ts +2 -2
  893. package/packages/types/src/message/ui/params.ts +66 -7
  894. package/packages/types/src/meta.ts +7 -3
  895. package/packages/types/src/openai/chat.ts +15 -15
  896. package/packages/types/src/openai/image.ts +1 -1
  897. package/packages/types/src/plugins/mcp.ts +33 -30
  898. package/packages/types/src/plugins/protocol.ts +43 -43
  899. package/packages/types/src/rag.ts +13 -4
  900. package/packages/types/src/search.ts +4 -4
  901. package/packages/types/src/session/agentSession.ts +2 -0
  902. package/packages/types/src/tool/builtin.ts +21 -10
  903. package/packages/types/src/tool/intervention.ts +70 -3
  904. package/packages/types/src/tool/plugin.ts +5 -4
  905. package/packages/types/src/tool/search/index.ts +8 -2
  906. package/packages/types/src/topic/thread.ts +3 -3
  907. package/packages/types/src/topic/topic.ts +28 -2
  908. package/packages/types/src/usage/usageRecord.ts +54 -0
  909. package/packages/types/src/user/index.ts +2 -76
  910. package/packages/types/src/user/preference.ts +112 -0
  911. package/packages/types/src/user/settings/general.ts +3 -0
  912. package/packages/types/src/user/settings/hotkey.ts +1 -1
  913. package/packages/types/src/user/settings/index.ts +26 -0
  914. package/packages/types/src/user/settings/keyVaults.ts +0 -67
  915. package/packages/types/src/user/settings/market.ts +17 -0
  916. package/packages/types/src/user/settings/tool.ts +2 -39
  917. package/packages/types/src/userMemory/index.ts +3 -0
  918. package/packages/types/src/userMemory/layers.ts +54 -0
  919. package/packages/types/src/userMemory/shared.ts +64 -0
  920. package/packages/types/src/userMemory/tools.ts +240 -0
  921. package/packages/utils/package.json +2 -2
  922. package/packages/utils/src/apiKey.test.ts +139 -0
  923. package/packages/utils/src/client/clipboard.ts +2 -2
  924. package/packages/utils/src/client/exportFile.ts +10 -10
  925. package/packages/utils/src/client/parserPlaceholder.ts +19 -19
  926. package/packages/utils/src/client/topic.ts +10 -10
  927. package/packages/utils/src/client/xor-obfuscation.ts +11 -11
  928. package/packages/utils/src/clientIP.ts +6 -6
  929. package/packages/utils/src/colorUtils.test.ts +167 -0
  930. package/packages/utils/src/compass.ts +11 -11
  931. package/packages/utils/src/compressImage.ts +3 -3
  932. package/packages/utils/src/format.ts +2 -2
  933. package/packages/utils/src/imageToBase64.ts +17 -10
  934. package/packages/utils/src/index.ts +2 -1
  935. package/packages/utils/src/merge.ts +3 -3
  936. package/packages/utils/src/multimodalContent.ts +25 -0
  937. package/packages/utils/src/object.ts +3 -3
  938. package/packages/utils/src/sanitizeUTF8.ts +4 -4
  939. package/packages/utils/src/server/__tests__/auth.test.ts +52 -0
  940. package/packages/utils/src/server/__tests__/response.test.ts +79 -0
  941. package/packages/utils/src/server/auth.ts +24 -7
  942. package/packages/utils/src/server/geo.ts +9 -9
  943. package/packages/utils/src/server/index.ts +1 -0
  944. package/packages/utils/src/server/response.ts +110 -0
  945. package/packages/utils/src/server/validateRedirectHost.test.ts +352 -0
  946. package/packages/utils/src/server/xor.ts +7 -7
  947. package/packages/utils/src/time.ts +4 -0
  948. package/packages/utils/src/tokenizer/index.ts +3 -11
  949. package/packages/utils/src/toolManifest.ts +4 -4
  950. package/packages/utils/src/trace.test.ts +359 -0
  951. package/packages/utils/src/uriParser.ts +4 -4
  952. package/packages/web-crawler/package.json +2 -2
  953. package/packages/web-crawler/src/crawImpl/browserless.ts +1 -1
  954. package/packages/web-crawler/src/crawImpl/naive.ts +9 -9
  955. package/packages/web-crawler/src/crawler.ts +5 -5
  956. package/packages/web-crawler/src/type.ts +4 -4
  957. package/packages/web-crawler/src/urlRules.ts +13 -13
  958. package/packages/web-crawler/src/utils/appUrlRules.ts +5 -5
  959. package/renovate.json +40 -1
  960. package/scripts/checkConsoleLog.mts +148 -0
  961. package/scripts/migrateServerDB/errorHint.js +26 -6
  962. package/scripts/migrateServerDB/index.ts +15 -4
  963. package/scripts/prebuild.mts +20 -10
  964. package/src/app/(backend)/api/auth/[...all]/route.ts +19 -0
  965. package/src/app/(backend)/api/auth/check-user/route.ts +63 -0
  966. package/src/app/(backend)/api/auth/resolve-username/route.ts +52 -0
  967. package/src/app/(backend)/api/webhooks/clerk/route.ts +1 -2
  968. package/src/app/(backend)/f/[id]/route.ts +55 -0
  969. package/src/app/(backend)/market/agent/[[...segments]]/route.ts +153 -0
  970. package/src/app/(backend)/market/oidc/[[...segments]]/route.ts +207 -0
  971. package/src/app/(backend)/middleware/auth/index.ts +22 -4
  972. package/src/app/(backend)/middleware/auth/utils.test.ts +16 -0
  973. package/src/app/(backend)/middleware/auth/utils.ts +13 -10
  974. package/src/app/(backend)/trpc/async/[trpc]/route.ts +9 -3
  975. package/src/app/(backend)/trpc/desktop/[trpc]/route.ts +15 -9
  976. package/src/app/(backend)/trpc/lambda/[trpc]/route.ts +9 -3
  977. package/src/app/(backend)/trpc/mobile/[trpc]/route.ts +9 -3
  978. package/src/app/(backend)/trpc/tools/[trpc]/route.ts +9 -3
  979. package/src/app/(backend)/webapi/chat/[provider]/route.test.ts +1 -0
  980. package/src/app/(backend)/webapi/chat/[provider]/route.ts +1 -1
  981. package/src/app/(backend)/webapi/models/[provider]/pull/route.ts +1 -1
  982. package/src/app/(backend)/webapi/models/[provider]/route.ts +1 -1
  983. package/src/app/(backend)/webapi/stt/openai/route.ts +0 -2
  984. package/src/app/(backend)/webapi/text-to-image/[provider]/route.ts +1 -1
  985. package/src/app/(backend)/webapi/tts/edge/route.ts +8 -2
  986. package/src/app/(backend)/webapi/tts/microsoft/route.ts +8 -2
  987. package/src/app/(backend)/webapi/tts/openai/route.ts +15 -3
  988. package/src/app/[variants]/(auth)/reset-password/layout.tsx +12 -0
  989. package/src/app/[variants]/(auth)/reset-password/page.tsx +209 -0
  990. package/src/app/[variants]/(auth)/signin/layout.tsx +12 -0
  991. package/src/app/[variants]/(auth)/signin/page.tsx +549 -0
  992. package/src/app/[variants]/(auth)/signup/[[...signup]]/BetterAuthSignUpForm.tsx +207 -0
  993. package/src/app/[variants]/(auth)/signup/[[...signup]]/page.tsx +31 -6
  994. package/src/app/[variants]/(auth)/verify-email/layout.tsx +12 -0
  995. package/src/app/[variants]/(auth)/verify-email/page.tsx +164 -0
  996. package/src/app/[variants]/(main)/(mobile)/me/(home)/__tests__/UserBanner.test.tsx +19 -14
  997. package/src/app/[variants]/(main)/(mobile)/me/(home)/__tests__/useCategory.test.tsx +15 -33
  998. package/src/app/[variants]/(main)/(mobile)/me/(home)/features/UserBanner.tsx +5 -6
  999. package/src/app/[variants]/(main)/(mobile)/me/(home)/features/useCategory.tsx +9 -41
  1000. package/src/app/[variants]/(main)/(mobile)/me/(home)/index.tsx +25 -0
  1001. package/src/app/[variants]/(main)/(mobile)/me/(home)/layout.tsx +13 -16
  1002. package/src/app/[variants]/(main)/(mobile)/me/profile/features/Category.tsx +22 -27
  1003. package/src/app/[variants]/(main)/(mobile)/me/profile/features/Header.tsx +3 -3
  1004. package/src/app/[variants]/(main)/(mobile)/me/profile/index.tsx +16 -0
  1005. package/src/app/[variants]/(main)/(mobile)/me/profile/layout.tsx +9 -11
  1006. package/src/app/[variants]/(main)/(mobile)/me/settings/features/Header.tsx +3 -3
  1007. package/src/app/[variants]/(main)/(mobile)/me/settings/features/useCategory.tsx +8 -18
  1008. package/src/app/[variants]/(main)/(mobile)/me/settings/index.tsx +16 -0
  1009. package/src/app/[variants]/(main)/(mobile)/me/settings/layout.tsx +15 -13
  1010. package/src/app/[variants]/(main)/changelog/_layout/Desktop/index.tsx +6 -5
  1011. package/src/app/[variants]/(main)/changelog/_layout/Mobile/Header.tsx +3 -3
  1012. package/src/app/[variants]/(main)/changelog/_layout/Mobile/index.tsx +5 -5
  1013. package/src/app/[variants]/(main)/changelog/features/Post.tsx +7 -4
  1014. package/src/app/[variants]/(main)/changelog/index.tsx +55 -0
  1015. package/src/app/[variants]/(main)/chat/_layout/Desktop/SessionPanel.tsx +12 -7
  1016. package/src/app/[variants]/(main)/chat/_layout/Desktop/index.tsx +7 -8
  1017. package/src/app/[variants]/(main)/chat/_layout/FeatureFlagsProvider.tsx +24 -0
  1018. package/src/app/[variants]/(main)/chat/_layout/Mobile.tsx +5 -4
  1019. package/src/app/[variants]/(main)/chat/_layout/type.ts +0 -1
  1020. package/src/app/[variants]/(main)/chat/components/ConversationArea.tsx +29 -0
  1021. package/src/app/[variants]/(main)/chat/components/PortalPanel.tsx +28 -0
  1022. package/src/app/[variants]/(main)/chat/components/SessionPanel.tsx +33 -0
  1023. package/src/app/[variants]/(main)/chat/components/TopicSidebar.tsx +30 -0
  1024. package/src/app/[variants]/(main)/chat/components/WorkspaceLayout.tsx +60 -0
  1025. package/src/app/[variants]/(main)/chat/components/conversation/features/ChatHydration/index.tsx +42 -0
  1026. package/src/app/[variants]/(main)/chat/components/conversation/features/ChatInput/Desktop/ClassicChat.tsx +81 -0
  1027. package/src/app/[variants]/(main)/chat/components/conversation/features/ChatInput/Desktop/GroupChat.tsx +126 -0
  1028. package/src/app/[variants]/(main)/chat/components/conversation/features/ChatInput/Desktop/MessageFromUrl.tsx +30 -0
  1029. package/src/app/[variants]/(main)/chat/components/conversation/features/ChatInput/Desktop/index.tsx +16 -0
  1030. package/src/app/[variants]/(main)/chat/components/conversation/features/ChatInput/V1Mobile/index.tsx +89 -0
  1031. package/src/app/[variants]/(main)/chat/components/conversation/features/ChatInput/V1Mobile/useSend.ts +109 -0
  1032. package/src/app/[variants]/(main)/chat/components/conversation/features/ChatInput/useSend.ts +322 -0
  1033. package/src/app/[variants]/(main)/chat/components/conversation/features/ChatList/ChatItem/Thread.tsx +62 -0
  1034. package/src/app/[variants]/(main)/chat/components/conversation/features/ChatList/ChatItem/index.tsx +85 -0
  1035. package/src/app/[variants]/(main)/chat/components/conversation/features/ChatList/Content.tsx +45 -0
  1036. package/src/app/[variants]/(main)/chat/components/conversation/features/ChatList/WelcomeChatItem/AgentWelcome/OpeningQuestions.tsx +75 -0
  1037. package/src/app/[variants]/(main)/chat/components/conversation/features/ChatList/WelcomeChatItem/GroupWelcome/GroupUsageSuggest.tsx +164 -0
  1038. package/src/app/[variants]/(main)/chat/components/conversation/features/ChatList/index.tsx +28 -0
  1039. package/src/app/[variants]/(main)/chat/components/conversation/features/ChatMinimap/index.tsx +380 -0
  1040. package/src/app/[variants]/(main)/chat/components/conversation/features/ThreadHydration.tsx +45 -0
  1041. package/src/app/[variants]/(main)/chat/components/topic/features/Topic/TopicListContent/TopicItem/TopicContent.tsx +258 -0
  1042. package/src/app/[variants]/(main)/chat/components/topic/features/Topic/TopicListContent/TopicItem/index.tsx +116 -0
  1043. package/src/app/[variants]/(main)/chat/features/PageTitle/index.tsx +1 -2
  1044. package/src/app/[variants]/(main)/chat/index.tsx +29 -0
  1045. package/src/app/[variants]/(main)/chat/session/features/SessionHydration.tsx +47 -0
  1046. package/src/app/[variants]/(main)/chat/session/features/SessionListContent/Inbox/index.tsx +61 -0
  1047. package/src/app/[variants]/(main)/chat/session/features/SessionListContent/List/Item/Actions.tsx +204 -0
  1048. package/src/app/[variants]/(main)/chat/session/features/SessionListContent/List/Item/index.tsx +157 -0
  1049. package/src/app/[variants]/(main)/chat/session/features/SessionListContent/List/index.tsx +100 -0
  1050. package/src/app/[variants]/(main)/chat/session/layout/Mobile/SessionHeader.tsx +44 -0
  1051. package/src/app/[variants]/(main)/chat/settings/_layout/Desktop/Header.tsx +3 -3
  1052. package/src/app/[variants]/(main)/chat/settings/_layout/Mobile/Header.tsx +3 -3
  1053. package/src/app/[variants]/(main)/chat/settings/features/AgentInfoDescription/index.tsx +349 -0
  1054. package/src/app/[variants]/(main)/chat/settings/features/HeaderContent.tsx +2 -2
  1055. package/src/app/[variants]/(main)/chat/settings/features/PublishResultModal/index.tsx +64 -0
  1056. package/src/app/[variants]/(main)/chat/settings/features/SmartAgentActionButton/MarketPublishButton.tsx +194 -0
  1057. package/src/app/[variants]/(main)/chat/settings/features/SmartAgentActionButton/MarketPublishModal.tsx +376 -0
  1058. package/src/app/[variants]/(main)/chat/settings/features/SmartAgentActionButton/index.tsx +75 -0
  1059. package/src/app/[variants]/(main)/chat/settings/index.tsx +65 -0
  1060. package/src/app/[variants]/(main)/components/Link.tsx +21 -0
  1061. package/src/app/[variants]/(main)/discover/(detail)/_layout/Desktop/index.tsx +38 -0
  1062. package/src/app/[variants]/(main)/discover/(detail)/_layout/Mobile/index.tsx +3 -3
  1063. package/src/app/[variants]/(main)/discover/(detail)/assistant/features/Details/Capabilities/Block.tsx +27 -0
  1064. package/src/app/[variants]/(main)/discover/(detail)/assistant/features/Details/Capabilities/PluginItem.tsx +164 -0
  1065. package/src/app/[variants]/(main)/discover/(detail)/assistant/features/Details/Capabilities/Plugins.tsx +31 -0
  1066. package/src/app/[variants]/(main)/discover/(detail)/assistant/features/Details/Nav.tsx +129 -0
  1067. package/src/app/[variants]/(main)/discover/(detail)/assistant/features/Details/Overview/TagList.tsx +56 -0
  1068. package/src/app/[variants]/(main)/discover/(detail)/assistant/features/Details/Overview/index.tsx +98 -0
  1069. package/src/app/[variants]/(main)/discover/(detail)/assistant/features/Details/Related/index.tsx +40 -0
  1070. package/src/app/[variants]/(main)/discover/(detail)/assistant/features/Details/SystemRole/TagList.tsx +56 -0
  1071. package/src/app/[variants]/(main)/discover/(detail)/assistant/features/Details/SystemRole/index.tsx +68 -0
  1072. package/src/app/[variants]/(main)/discover/(detail)/assistant/features/Details/Versions/index.tsx +137 -0
  1073. package/src/app/[variants]/(main)/discover/(detail)/assistant/features/Details/index.tsx +51 -0
  1074. package/src/app/[variants]/(main)/discover/(detail)/assistant/features/Header.tsx +176 -0
  1075. package/src/app/[variants]/(main)/discover/(detail)/assistant/features/Sidebar/ActionButton/AddAgent.tsx +178 -0
  1076. package/src/app/[variants]/(main)/discover/(detail)/assistant/features/Sidebar/ActionButton/index.tsx +31 -0
  1077. package/src/app/[variants]/(main)/discover/(detail)/assistant/features/Sidebar/Related/index.tsx +57 -0
  1078. package/src/app/[variants]/(main)/discover/(detail)/assistant/features/Sidebar/TocList/index.tsx +77 -0
  1079. package/src/app/[variants]/(main)/discover/(detail)/assistant/features/StatusPage/index.tsx +113 -0
  1080. package/src/app/[variants]/(main)/discover/(detail)/assistant/index.tsx +63 -0
  1081. package/src/app/[variants]/(main)/discover/(detail)/features/Breadcrumb.tsx +4 -3
  1082. package/src/app/[variants]/(main)/discover/(detail)/mcp/features/Details/Related/index.tsx +32 -0
  1083. package/src/app/[variants]/(main)/discover/(detail)/mcp/features/Details/Versions/index.tsx +76 -0
  1084. package/src/app/[variants]/(main)/discover/(detail)/mcp/features/Details/index.tsx +59 -0
  1085. package/src/app/[variants]/(main)/discover/(detail)/mcp/features/Sidebar/ActionButton/index.tsx +109 -0
  1086. package/src/app/[variants]/(main)/discover/(detail)/mcp/features/Sidebar/Related/index.tsx +44 -0
  1087. package/src/app/[variants]/(main)/discover/(detail)/mcp/features/Sidebar/ServerConfig.tsx +36 -0
  1088. package/src/app/[variants]/(main)/discover/(detail)/mcp/features/Sidebar/TocList/index.tsx +98 -0
  1089. package/src/app/[variants]/(main)/discover/(detail)/mcp/index.tsx +59 -0
  1090. package/src/app/[variants]/(main)/discover/(detail)/mcp/loading.tsx +1 -0
  1091. package/src/app/[variants]/(main)/discover/(detail)/model/features/Details/Overview/index.tsx +22 -0
  1092. package/src/app/[variants]/(main)/discover/(detail)/model/features/Details/Parameter/ParameterItem.tsx +71 -0
  1093. package/src/app/[variants]/(main)/discover/(detail)/model/features/Details/Related/index.tsx +31 -0
  1094. package/src/app/[variants]/(main)/discover/(detail)/model/features/Details/index.tsx +47 -0
  1095. package/src/app/[variants]/(main)/discover/(detail)/model/features/Header.tsx +112 -0
  1096. package/src/app/[variants]/(main)/discover/(detail)/model/features/Sidebar/ActionButton/ChatWithModel.tsx +92 -0
  1097. package/src/app/[variants]/(main)/discover/(detail)/model/features/Sidebar/ActionButton/index.tsx +32 -0
  1098. package/src/app/[variants]/(main)/discover/(detail)/model/features/Sidebar/Related/index.tsx +43 -0
  1099. package/src/app/[variants]/(main)/discover/(detail)/model/features/Sidebar/RelatedProviders/index.tsx +34 -0
  1100. package/src/app/[variants]/(main)/discover/(detail)/model/index.tsx +51 -0
  1101. package/src/app/[variants]/(main)/discover/(detail)/model/loading.tsx +1 -0
  1102. package/src/app/[variants]/(main)/discover/(detail)/provider/features/Details/Related/index.tsx +22 -0
  1103. package/src/app/[variants]/(main)/discover/(detail)/provider/features/Details/index.tsx +47 -0
  1104. package/src/app/[variants]/(main)/discover/(detail)/provider/features/Sidebar/ActionButton/ProviderConfig.tsx +91 -0
  1105. package/src/app/[variants]/(main)/discover/(detail)/provider/features/Sidebar/ActionButton/index.tsx +45 -0
  1106. package/src/app/[variants]/(main)/discover/(detail)/provider/features/Sidebar/Related/index.tsx +34 -0
  1107. package/src/app/[variants]/(main)/discover/(detail)/provider/features/Sidebar/RelatedModels/index.tsx +43 -0
  1108. package/src/app/[variants]/(main)/discover/(detail)/provider/index.tsx +51 -0
  1109. package/src/app/[variants]/(main)/discover/(detail)/provider/loading.tsx +1 -0
  1110. package/src/app/[variants]/(main)/discover/(list)/(home)/Client.tsx +2 -2
  1111. package/src/app/[variants]/(main)/discover/(list)/(home)/index.tsx +58 -0
  1112. package/src/app/[variants]/(main)/discover/(list)/_layout/Desktop/Nav.tsx +5 -4
  1113. package/src/app/[variants]/(main)/discover/(list)/_layout/Desktop/index.tsx +4 -3
  1114. package/src/app/[variants]/(main)/discover/(list)/_layout/Mobile/Nav.tsx +3 -4
  1115. package/src/app/[variants]/(main)/discover/(list)/_layout/Mobile/index.tsx +4 -3
  1116. package/src/app/[variants]/(main)/discover/(list)/assistant/Client.tsx +6 -2
  1117. package/src/app/[variants]/(main)/discover/(list)/assistant/_layout/Desktop.tsx +3 -4
  1118. package/src/app/[variants]/(main)/discover/(list)/assistant/_layout/Mobile.tsx +3 -3
  1119. package/src/app/[variants]/(main)/discover/(list)/assistant/features/Category/index.tsx +8 -4
  1120. package/src/app/[variants]/(main)/discover/(list)/assistant/features/List/Item.tsx +13 -2
  1121. package/src/app/[variants]/(main)/discover/(list)/assistant/features/MarketSourceSwitch.tsx +64 -0
  1122. package/src/app/[variants]/(main)/discover/(list)/assistant/index.tsx +61 -0
  1123. package/src/app/[variants]/(main)/discover/(list)/features/Pagination.tsx +2 -1
  1124. package/src/app/[variants]/(main)/discover/(list)/features/SortButton/index.tsx +29 -10
  1125. package/src/app/[variants]/(main)/discover/(list)/mcp/_layout/Desktop.tsx +3 -3
  1126. package/src/app/[variants]/(main)/discover/(list)/mcp/_layout/Mobile.tsx +3 -3
  1127. package/src/app/[variants]/(main)/discover/(list)/mcp/features/Category/index.tsx +1 -1
  1128. package/src/app/[variants]/(main)/discover/(list)/mcp/features/List/Item.tsx +2 -1
  1129. package/src/app/[variants]/(main)/discover/(list)/mcp/index.tsx +51 -0
  1130. package/src/app/[variants]/(main)/discover/(list)/model/_layout/Desktop.tsx +3 -3
  1131. package/src/app/[variants]/(main)/discover/(list)/model/_layout/Mobile.tsx +3 -3
  1132. package/src/app/[variants]/(main)/discover/(list)/model/features/Category/index.tsx +1 -1
  1133. package/src/app/[variants]/(main)/discover/(list)/model/features/List/Item.tsx +2 -1
  1134. package/src/app/[variants]/(main)/discover/(list)/model/index.tsx +51 -0
  1135. package/src/app/[variants]/(main)/discover/(list)/provider/features/List/Item.tsx +2 -1
  1136. package/src/app/[variants]/(main)/discover/(list)/provider/index.tsx +50 -0
  1137. package/src/app/[variants]/(main)/discover/_layout/Desktop/index.tsx +4 -4
  1138. package/src/app/[variants]/(main)/discover/_layout/Mobile/index.tsx +3 -3
  1139. package/src/app/[variants]/(main)/discover/components/CategoryMenu.tsx +9 -1
  1140. package/src/app/[variants]/(main)/discover/components/Title.tsx +1 -1
  1141. package/src/app/[variants]/(main)/discover/features/Search.tsx +2 -2
  1142. package/src/app/[variants]/(main)/discover/features/Title.tsx +2 -1
  1143. package/src/app/[variants]/(main)/discover/features/useNav.tsx +11 -12
  1144. package/src/app/[variants]/(main)/hooks/useActiveTabKey.ts +40 -0
  1145. package/src/app/[variants]/(main)/hooks/usePathname.ts +10 -0
  1146. package/src/app/[variants]/(main)/hooks/useQuery.ts +12 -0
  1147. package/src/app/[variants]/(main)/hooks/useRouter.ts +22 -0
  1148. package/src/app/[variants]/(main)/hooks/useSearchParams.ts +11 -0
  1149. package/src/app/[variants]/(main)/image/@menu/features/ConfigPanel/components/ModelSelect/ImageModelItem.tsx +108 -0
  1150. package/src/app/[variants]/(main)/image/@menu/features/ConfigPanel/components/ModelSelect/index.tsx +162 -0
  1151. package/src/app/[variants]/(main)/image/@menu/features/ConfigPanel/components/ResolutionSelect.tsx +88 -0
  1152. package/src/app/[variants]/(main)/image/@menu/features/ConfigPanel/index.tsx +9 -0
  1153. package/src/app/[variants]/(main)/image/@topic/features/Topics/TopicUrlSync.tsx +1 -1
  1154. package/src/app/[variants]/(main)/image/ComingSoon.tsx +15 -0
  1155. package/src/app/[variants]/(main)/image/_layout/Desktop/index.tsx +5 -2
  1156. package/src/app/[variants]/(main)/image/_layout/DesktopWrapper.tsx +15 -0
  1157. package/src/app/[variants]/(main)/image/_layout/Mobile/index.tsx +3 -1
  1158. package/src/app/[variants]/(main)/image/features/ImageWorkspace/index.tsx +1 -2
  1159. package/src/app/[variants]/(main)/image/index.tsx +18 -0
  1160. package/src/app/[variants]/(main)/knowledge/_layout/Desktop.tsx +17 -0
  1161. package/src/app/[variants]/(main)/knowledge/_layout/Mobile.tsx +17 -0
  1162. package/src/app/[variants]/(main)/knowledge/components/KnowledgeBaseItem/index.tsx +1 -3
  1163. package/src/app/[variants]/(main)/knowledge/components/modal/ModalPageClient.tsx +4 -4
  1164. package/src/app/[variants]/(main)/knowledge/hooks/useFileCategory.ts +6 -3
  1165. package/src/app/[variants]/(main)/knowledge/routes/KnowledgeBaseDetail/index.tsx +7 -10
  1166. package/src/app/[variants]/(main)/knowledge/routes/KnowledgeBaseDetail/menu/CategoryMenu.tsx +35 -0
  1167. package/src/app/[variants]/(main)/knowledge/routes/KnowledgeBaseDetail/menu/Head.tsx +1 -1
  1168. package/src/app/[variants]/(main)/knowledge/routes/KnowledgeBaseDetail/menu/Menu.tsx +2 -2
  1169. package/src/app/[variants]/(main)/knowledge/routes/KnowledgeHome/index.tsx +40 -18
  1170. package/src/app/[variants]/(main)/knowledge/routes/KnowledgeHome/layout/Container.tsx +1 -1
  1171. package/src/app/[variants]/(main)/knowledge/routes/KnowledgeHome/menu/CategoryMenu.tsx +148 -0
  1172. package/src/app/[variants]/(main)/knowledge/routes/KnowledgeHome/menu/KnowledgeBase.tsx +21 -8
  1173. package/src/app/[variants]/(main)/labs/components/LabCard.tsx +5 -5
  1174. package/src/app/[variants]/(main)/labs/index.tsx +74 -0
  1175. package/src/app/[variants]/(main)/layouts/desktop/DesktopLayoutContainer.tsx +30 -0
  1176. package/src/app/[variants]/(main)/layouts/desktop/SideBar/BottomActions.tsx +46 -0
  1177. package/src/app/[variants]/(main)/layouts/desktop/SideBar/PinList/index.tsx +128 -0
  1178. package/src/app/[variants]/(main)/layouts/desktop/SideBar/TopActions.test.tsx +141 -0
  1179. package/src/app/[variants]/(main)/layouts/desktop/SideBar/TopActions.tsx +116 -0
  1180. package/src/app/[variants]/(main)/layouts/desktop/index.tsx +73 -0
  1181. package/src/app/[variants]/(main)/layouts/index.tsx +11 -0
  1182. package/src/app/[variants]/(main)/layouts/mobile/NavBar.tsx +88 -0
  1183. package/src/app/[variants]/(main)/layouts/mobile/index.tsx +46 -0
  1184. package/src/app/[variants]/(main)/profile/(home)/Client.tsx +447 -53
  1185. package/src/app/[variants]/(main)/profile/(home)/desktop.tsx +26 -0
  1186. package/src/app/[variants]/(main)/profile/(home)/features/SSOProvidersList/index.tsx +89 -52
  1187. package/src/app/[variants]/(main)/profile/(home)/index.tsx +26 -0
  1188. package/src/app/[variants]/(main)/profile/@category/features/CategoryContent.tsx +5 -7
  1189. package/src/app/[variants]/(main)/profile/_layout/Desktop/index.tsx +12 -11
  1190. package/src/app/[variants]/(main)/profile/_layout/DesktopWrapper.tsx +14 -0
  1191. package/src/app/[variants]/(main)/profile/_layout/Mobile/Header.tsx +3 -3
  1192. package/src/app/[variants]/(main)/profile/_layout/Mobile/index.tsx +4 -3
  1193. package/src/app/[variants]/(main)/profile/apikey/index.tsx +18 -0
  1194. package/src/app/[variants]/(main)/profile/hooks/useCategory.tsx +24 -18
  1195. package/src/app/[variants]/(main)/profile/security/index.tsx +29 -0
  1196. package/src/app/[variants]/(main)/profile/stats/features/AssistantsRank.tsx +4 -4
  1197. package/src/app/[variants]/(main)/profile/stats/features/ShareButton/Preview.tsx +2 -14
  1198. package/src/app/[variants]/(main)/profile/stats/features/TopicsRank.tsx +4 -4
  1199. package/src/app/[variants]/(main)/profile/stats/index.tsx +20 -0
  1200. package/src/app/[variants]/(main)/profile/usage/Client.tsx +114 -0
  1201. package/src/app/[variants]/(main)/profile/usage/features/UsageCards/ActiveModels/ModelTable.tsx +175 -0
  1202. package/src/app/[variants]/(main)/profile/usage/features/UsageCards/ActiveModels/index.tsx +126 -0
  1203. package/src/app/[variants]/(main)/profile/usage/features/UsageCards/MonthSpend.tsx +53 -0
  1204. package/src/app/[variants]/(main)/profile/usage/features/UsageCards/TodaySpend.tsx +67 -0
  1205. package/src/app/[variants]/(main)/profile/usage/features/UsageCards/index.tsx +19 -0
  1206. package/src/app/[variants]/(main)/profile/usage/features/UsageTable.tsx +143 -0
  1207. package/src/app/[variants]/(main)/profile/usage/features/UsageTrends.tsx +107 -0
  1208. package/src/app/[variants]/(main)/profile/usage/features/components/UsageBarChart.tsx +48 -0
  1209. package/src/app/[variants]/(main)/profile/usage/index.tsx +13 -0
  1210. package/src/app/[variants]/(main)/settings/_layout/Desktop/Header.tsx +2 -2
  1211. package/src/app/[variants]/(main)/settings/_layout/Desktop/index.tsx +45 -9
  1212. package/src/app/[variants]/(main)/settings/_layout/DesktopWrapper.tsx +23 -0
  1213. package/src/app/[variants]/(main)/settings/_layout/Mobile/Header.tsx +8 -7
  1214. package/src/app/[variants]/(main)/settings/_layout/Mobile/index.tsx +2 -5
  1215. package/src/app/[variants]/(main)/settings/_layout/MobileWrapper.tsx +23 -0
  1216. package/src/app/[variants]/(main)/settings/_layout/SettingsContent.tsx +1 -12
  1217. package/src/app/[variants]/(main)/settings/_layout/type.ts +0 -1
  1218. package/src/app/[variants]/(main)/settings/agent/AgentMenu/Menu.tsx +2 -4
  1219. package/src/app/[variants]/(main)/settings/agent/index.tsx +13 -14
  1220. package/src/app/[variants]/(main)/settings/common/features/Common/Common.tsx +23 -1
  1221. package/src/app/[variants]/(main)/settings/common/index.tsx +1 -1
  1222. package/src/app/[variants]/(main)/settings/hooks/useCategory.tsx +8 -16
  1223. package/src/app/[variants]/(main)/settings/provider/(list)/ProviderGrid/Card.tsx +9 -4
  1224. package/src/app/[variants]/(main)/settings/provider/(list)/ProviderGrid/index.tsx +35 -4
  1225. package/src/app/[variants]/(main)/settings/provider/(list)/index.tsx +15 -3
  1226. package/src/app/[variants]/(main)/settings/provider/ProviderMenu/All.tsx +2 -2
  1227. package/src/app/[variants]/(main)/settings/provider/ProviderMenu/Item.tsx +2 -2
  1228. package/src/app/[variants]/(main)/settings/provider/ProviderMenu/List.tsx +251 -34
  1229. package/src/app/[variants]/(main)/settings/provider/ProviderMenu/SearchResult.tsx +5 -5
  1230. package/src/app/[variants]/(main)/settings/provider/_layout/Desktop/Container.tsx +10 -4
  1231. package/src/app/[variants]/(main)/settings/provider/_layout/Mobile.tsx +2 -2
  1232. package/src/app/[variants]/(main)/settings/provider/detail/azure/index.tsx +1 -1
  1233. package/src/app/[variants]/(main)/settings/provider/detail/azureai/index.tsx +1 -1
  1234. package/src/app/[variants]/(main)/settings/provider/detail/bedrock/index.tsx +1 -1
  1235. package/src/app/[variants]/(main)/settings/provider/detail/cloudflare/index.tsx +1 -1
  1236. package/src/app/[variants]/(main)/settings/provider/detail/comfyui/index.tsx +1 -1
  1237. package/src/app/[variants]/(main)/settings/provider/detail/default/ClientMode.tsx +1 -1
  1238. package/src/app/[variants]/(main)/settings/provider/detail/github/index.tsx +1 -1
  1239. package/src/app/[variants]/(main)/settings/provider/detail/index.tsx +36 -14
  1240. package/src/app/[variants]/(main)/settings/provider/detail/vertexai/index.tsx +1 -1
  1241. package/src/app/[variants]/(main)/settings/provider/features/CreateNewProvider/index.tsx +22 -9
  1242. package/src/app/[variants]/(main)/settings/provider/features/ModelList/DisabledModels.tsx +144 -8
  1243. package/src/app/[variants]/(main)/settings/provider/features/ModelList/ModelItem.tsx +69 -97
  1244. package/src/app/[variants]/(main)/settings/provider/features/ProviderConfig/UpdateProviderInfo/SettingModal.tsx +13 -9
  1245. package/src/app/[variants]/(main)/settings/provider/features/ProviderConfig/index.tsx +4 -8
  1246. package/src/app/[variants]/(main)/settings/provider/features/customProviderSdkOptions.ts +1 -0
  1247. package/src/app/[variants]/(main)/settings/storage/index.tsx +1 -9
  1248. package/src/app/[variants]/(main)/settings/system-agent/index.tsx +1 -2
  1249. package/src/app/[variants]/DesktopClientRouter.tsx +20 -0
  1250. package/src/app/[variants]/DesktopRouter.tsx +20 -0
  1251. package/src/app/[variants]/MobileClientRouter.tsx +20 -0
  1252. package/src/app/[variants]/MobileRouter.tsx +20 -0
  1253. package/src/app/[variants]/desktopRouter.config.tsx +508 -0
  1254. package/src/app/[variants]/layout.tsx +1 -3
  1255. package/src/app/[variants]/loaders/routeParams.ts +45 -0
  1256. package/src/app/[variants]/loading/Server/Redirect.tsx +1 -1
  1257. package/src/app/[variants]/mobileRouter.config.tsx +552 -0
  1258. package/src/app/[variants]/oauth/ResultLayout.tsx +47 -0
  1259. package/src/app/[variants]/oauth/callback/error/page.tsx +20 -33
  1260. package/src/app/[variants]/oauth/callback/layout.tsx +1 -0
  1261. package/src/app/[variants]/oauth/callback/success/page.tsx +8 -22
  1262. package/src/app/[variants]/oauth/consent/[uid]/Consent/BuiltinConsent.tsx +47 -0
  1263. package/src/app/[variants]/oauth/consent/[uid]/Consent/index.tsx +198 -0
  1264. package/src/app/[variants]/oauth/consent/[uid]/Login.tsx +19 -4
  1265. package/src/app/[variants]/page.tsx +18 -6
  1266. package/src/app/desktop/devtools/page.tsx +1 -1
  1267. package/src/app/desktop/layout.tsx +1 -1
  1268. package/src/app/market-auth-callback/layout.tsx +39 -0
  1269. package/src/app/market-auth-callback/page.tsx +196 -0
  1270. package/src/auth.ts +216 -0
  1271. package/src/components/Analytics/MainInterfaceTracker.tsx +2 -2
  1272. package/src/components/BootErrorBoundary/index.tsx +129 -0
  1273. package/src/components/FileIcon/index.tsx +1 -1
  1274. package/src/components/InvalidAPIKey/APIKeyForm/Bedrock.tsx +1 -1
  1275. package/src/components/InvalidAPIKey/APIKeyForm/ComfyUIForm.tsx +1 -1
  1276. package/src/components/InvalidAPIKey/APIKeyForm/ProviderApiKeyForm.tsx +1 -1
  1277. package/src/components/InvalidAPIKey/APIKeyForm/__tests__/ComfyUIForm.test.tsx +1 -1
  1278. package/src/components/InvalidAPIKey/APIKeyForm/useApiKey.ts +0 -12
  1279. package/src/components/InvalidAPIKey/index.tsx +1 -1
  1280. package/src/components/ModelSelect/NewModelBadge.tsx +23 -0
  1281. package/src/components/ModelSelect/index.tsx +4 -0
  1282. package/src/components/NextAuth/AuthIcons.tsx +5 -1
  1283. package/src/components/Skeleton/SkeletonSwitch.tsx +13 -0
  1284. package/src/components/Skeleton/index.ts +2 -0
  1285. package/src/components/Thinking/index.tsx +3 -3
  1286. package/src/components/mdx/constants.ts +1 -0
  1287. package/src/config/db.ts +0 -5
  1288. package/src/config/featureFlags/schema.test.ts +1 -3
  1289. package/src/config/featureFlags/schema.ts +0 -3
  1290. package/src/config/modelProviders/aihubmix.ts +1 -0
  1291. package/src/config/modelProviders/cerebras.ts +3 -0
  1292. package/src/config/modelProviders/index.ts +3 -0
  1293. package/src/config/modelProviders/newapi.ts +1 -0
  1294. package/src/config/modelProviders/spark.ts +0 -3
  1295. package/src/config/modelProviders/vertexai.ts +1 -1
  1296. package/src/config/modelProviders/volcengine.ts +2 -1
  1297. package/src/config/modelProviders/wenxin.ts +2 -3
  1298. package/src/config/modelProviders/zenmux.ts +21 -0
  1299. package/src/envs/__tests__/app.test.ts +47 -13
  1300. package/src/envs/app.ts +10 -3
  1301. package/src/envs/auth.test.ts +60 -0
  1302. package/src/envs/auth.ts +313 -15
  1303. package/src/envs/email.ts +48 -0
  1304. package/src/envs/llm.ts +10 -0
  1305. package/src/envs/redis.ts +106 -0
  1306. package/src/features/AgentSetting/AgentPlugin/index.tsx +6 -2
  1307. package/src/features/AgentSetting/AgentPrompt/TokenTag.tsx +3 -2
  1308. package/src/features/AgentSetting/AgentTTS/SelectWithTTSPreview.tsx +1 -1
  1309. package/src/features/AgentSetting/store/action.ts +1 -1
  1310. package/src/features/ChangelogModal/index.tsx +3 -3
  1311. package/src/features/ChatInput/ActionBar/Knowledge/index.tsx +4 -5
  1312. package/src/features/ChatInput/ActionBar/Model/ControlsForm.tsx +47 -0
  1313. package/src/features/ChatInput/ActionBar/Model/GPT51ReasoningEffortSlider.tsx +58 -0
  1314. package/src/features/ChatInput/ActionBar/Model/ImageAspectRatioSelect.tsx +54 -0
  1315. package/src/features/ChatInput/ActionBar/Model/ImageResolutionSlider.tsx +59 -0
  1316. package/src/features/ChatInput/ActionBar/Model/ThinkingLevelSlider.tsx +56 -0
  1317. package/src/features/ChatInput/ActionBar/STT/browser.tsx +6 -6
  1318. package/src/features/ChatInput/ActionBar/STT/openai.tsx +6 -6
  1319. package/src/features/ChatInput/ActionBar/Search/index.tsx +5 -7
  1320. package/src/features/ChatInput/ActionBar/Token/TokenTag.tsx +4 -4
  1321. package/src/features/ChatInput/ActionBar/Token/TokenTagForGroupChat.tsx +2 -2
  1322. package/src/features/ChatInput/ActionBar/Upload/index.tsx +1 -3
  1323. package/src/features/ChatInput/ActionBar/components/ActionDropdown.tsx +2 -17
  1324. package/src/features/ChatInput/ActionBar/index.tsx +2 -2
  1325. package/src/features/ChatInput/InputEditor/index.tsx +2 -2
  1326. package/src/features/ChatItem/components/MessageContent.tsx +4 -1
  1327. package/src/features/ChatItem/components/Title.tsx +20 -16
  1328. package/src/features/ChatItem/style.ts +4 -0
  1329. package/src/features/ChatList/Error/ChatInvalidApiKey.tsx +39 -0
  1330. package/src/features/ChatList/Error/ClerkLogin/index.tsx +47 -0
  1331. package/src/features/ChatList/Error/OAuthForm.tsx +97 -0
  1332. package/src/features/ChatList/Error/index.tsx +144 -0
  1333. package/src/features/ChatList/MarkdownElements/LobeThinking/Render.tsx +30 -0
  1334. package/src/features/ChatList/MarkdownElements/Thinking/Render.tsx +42 -0
  1335. package/src/features/ChatList/MarkdownElements/remarkPlugins/__snapshots__/createRemarkSelfClosingTagPlugin.test.ts.snap +393 -0
  1336. package/src/features/ChatList/MarkdownElements/remarkPlugins/createRemarkSelfClosingTagPlugin.test.ts +277 -0
  1337. package/src/features/ChatList/MarkdownElements/remarkPlugins/createRemarkSelfClosingTagPlugin.ts +162 -0
  1338. package/src/features/ChatList/MarkdownElements/remarkPlugins/getNodeContent.test.ts +502 -0
  1339. package/src/features/ChatList/Messages/Assistant/Actions/index.tsx +218 -0
  1340. package/src/features/ChatList/Messages/Assistant/CollapsedMessage.tsx +37 -0
  1341. package/src/features/ChatList/Messages/Assistant/DisplayContent.tsx +44 -0
  1342. package/src/features/ChatList/Messages/Assistant/Extra/index.test.tsx +86 -0
  1343. package/src/features/ChatList/Messages/Assistant/Extra/index.tsx +49 -0
  1344. package/src/features/ChatList/Messages/Assistant/MessageBody.tsx +96 -0
  1345. package/src/features/ChatList/Messages/Assistant/Reasoning/index.tsx +42 -0
  1346. package/src/features/ChatList/Messages/Assistant/index.tsx +401 -0
  1347. package/src/features/ChatList/Messages/Default.tsx +27 -0
  1348. package/src/features/ChatList/Messages/Group/Actions/WithContentId.tsx +200 -0
  1349. package/src/features/ChatList/Messages/Group/Actions/WithoutContentId.tsx +93 -0
  1350. package/src/features/ChatList/Messages/Group/Actions/index.tsx +21 -0
  1351. package/src/features/ChatList/Messages/Group/CollapsedMessage.tsx +37 -0
  1352. package/src/features/ChatList/Messages/Group/ContentBlock.tsx +89 -0
  1353. package/src/features/ChatList/Messages/Group/EditState.tsx +51 -0
  1354. package/src/features/ChatList/Messages/Group/Error/index.tsx +55 -0
  1355. package/src/features/ChatList/Messages/Group/Group.tsx +70 -0
  1356. package/src/features/ChatList/Messages/Group/GroupContext.ts +15 -0
  1357. package/src/features/ChatList/Messages/Group/GroupItem.tsx +42 -0
  1358. package/src/features/ChatList/Messages/Group/MessageContent.tsx +45 -0
  1359. package/src/features/ChatList/Messages/Group/Tool/Inspector/BuiltinPluginTitle.tsx +58 -0
  1360. package/src/features/ChatList/Messages/Group/Tool/Inspector/Debug.tsx +70 -0
  1361. package/src/features/ChatList/Messages/Group/Tool/Inspector/PluginResult.tsx +34 -0
  1362. package/src/features/ChatList/Messages/Group/Tool/Inspector/PluginState.tsx +18 -0
  1363. package/src/features/ChatList/Messages/Group/Tool/Inspector/StatusIndicator.tsx +41 -0
  1364. package/src/features/ChatList/Messages/Group/Tool/Inspector/ToolTitle.tsx +82 -0
  1365. package/src/features/ChatList/Messages/Group/Tool/Inspector/index.tsx +221 -0
  1366. package/src/features/ChatList/Messages/Group/Tool/Render/AbortResponse.tsx +37 -0
  1367. package/src/features/ChatList/Messages/Group/Tool/Render/Arguments/index.tsx +136 -0
  1368. package/src/features/ChatList/Messages/Group/Tool/Render/CustomRender.tsx +88 -0
  1369. package/src/features/ChatList/Messages/Group/Tool/Render/Intervention/ApprovalActions.tsx +164 -0
  1370. package/src/features/ChatList/Messages/Group/Tool/Render/Intervention/Fallback.tsx +98 -0
  1371. package/src/features/ChatList/Messages/Group/Tool/Render/Intervention/KeyValueEditor.tsx +213 -0
  1372. package/src/features/ChatList/Messages/Group/Tool/Render/Intervention/ModeSelector.tsx +133 -0
  1373. package/src/features/ChatList/Messages/Group/Tool/Render/Intervention/index.tsx +103 -0
  1374. package/src/features/ChatList/Messages/Group/Tool/Render/LoadingPlaceholder/index.tsx +29 -0
  1375. package/src/features/ChatList/Messages/Group/Tool/Render/PluginSettings.tsx +66 -0
  1376. package/src/features/ChatList/Messages/Group/Tool/Render/RejectedResponse.tsx +45 -0
  1377. package/src/features/ChatList/Messages/Group/Tool/Render/index.tsx +139 -0
  1378. package/src/features/ChatList/Messages/Group/Tool/index.tsx +98 -0
  1379. package/src/features/ChatList/Messages/Group/Tools.tsx +48 -0
  1380. package/src/features/ChatList/Messages/Group/index.tsx +210 -0
  1381. package/src/features/ChatList/Messages/Supervisor/index.tsx +194 -0
  1382. package/src/features/ChatList/Messages/Tool/Inspector/PluginResult.tsx +39 -0
  1383. package/src/features/ChatList/Messages/Tool/Inspector/PluginState.tsx +23 -0
  1384. package/src/features/ChatList/Messages/Tool/Inspector/Settings.tsx +40 -0
  1385. package/src/features/ChatList/Messages/Tool/Inspector/ToolTitle.tsx +68 -0
  1386. package/src/features/ChatList/Messages/Tool/Inspector/index.tsx +134 -0
  1387. package/src/features/ChatList/Messages/Tool/Render/Arguments/ObjectEntity.tsx +81 -0
  1388. package/src/features/ChatList/Messages/Tool/Render/Arguments/ValueCell.tsx +43 -0
  1389. package/src/features/ChatList/Messages/Tool/Render/CustomRender.tsx +144 -0
  1390. package/src/features/ChatList/Messages/Tool/Render/ErrorResponse.tsx +35 -0
  1391. package/src/features/ChatList/Messages/Tool/Render/PluginSettings.tsx +69 -0
  1392. package/src/features/ChatList/Messages/Tool/Render/index.tsx +46 -0
  1393. package/src/features/ChatList/Messages/Tool/ToolItem.tsx +51 -0
  1394. package/src/features/ChatList/Messages/Tool/index.tsx +58 -0
  1395. package/src/features/ChatList/Messages/User/Actions/ActionsBar.tsx +159 -0
  1396. package/src/features/ChatList/Messages/User/Actions/MessageBranch.tsx +107 -0
  1397. package/src/features/ChatList/Messages/User/Actions/index.tsx +42 -0
  1398. package/src/features/ChatList/Messages/User/Extra.tsx +39 -0
  1399. package/src/features/ChatList/Messages/User/index.tsx +193 -0
  1400. package/src/features/ChatList/Messages/index.tsx +238 -0
  1401. package/src/features/ChatList/components/AutoScroll.tsx +27 -0
  1402. package/src/features/ChatList/components/ContextMenu.tsx +398 -0
  1403. package/src/features/ChatList/components/Extras/TTS/InitPlayer.tsx +93 -0
  1404. package/src/features/ChatList/components/Extras/Usage/UsageDetail/AnimatedNumber.tsx +55 -0
  1405. package/src/features/ChatList/components/Extras/Usage/UsageDetail/index.tsx +257 -0
  1406. package/src/features/ChatList/components/Extras/Usage/UsageDetail/tokens.ts +129 -0
  1407. package/src/features/ChatList/components/Extras/Usage/index.tsx +52 -0
  1408. package/src/features/ChatList/components/RichContentRenderer.tsx +35 -0
  1409. package/src/features/ChatList/components/ShareMessageModal/ShareImage/Preview.tsx +90 -0
  1410. package/src/features/ChatList/components/ShareMessageModal/index.tsx +91 -0
  1411. package/src/features/ChatList/components/SkeletonList.tsx +58 -0
  1412. package/src/features/ChatList/components/VirtualizedList/VirtuosoContext.ts +92 -0
  1413. package/src/features/ChatList/components/VirtualizedList/index.tsx +172 -0
  1414. package/src/features/ChatList/components/WideScreenContainer/index.tsx +50 -0
  1415. package/src/features/ChatList/hooks/useChatItemContextMenu.tsx +136 -0
  1416. package/src/features/ChatList/hooks/useChatListActionsBar.tsx +145 -0
  1417. package/src/features/ChatList/hooks/useDoubleClickEdit.ts +42 -0
  1418. package/src/features/DataImporter/index.tsx +2 -2
  1419. package/src/features/DevPanel/PostgresViewer/usePgTable.ts +3 -11
  1420. package/src/features/FileSidePanel/index.tsx +1 -1
  1421. package/src/features/KnowledgeBaseModal/AssignKnowledgeBase/Item/MasonryItem.tsx +80 -0
  1422. package/src/features/KnowledgeBaseModal/AssignKnowledgeBase/Item/MasonryItemWrapper.tsx +27 -0
  1423. package/src/features/KnowledgeBaseModal/AssignKnowledgeBase/List.tsx +104 -23
  1424. package/src/features/KnowledgeBaseModal/AssignKnowledgeBase/MasonrySkeleton.tsx +62 -0
  1425. package/src/features/KnowledgeBaseModal/AssignKnowledgeBase/index.tsx +3 -2
  1426. package/src/features/KnowledgeBaseModal/CreateNew/CreateForm.tsx +1 -1
  1427. package/src/features/KnowledgeManager/DocumentExplorer/DocumentActions.tsx +111 -0
  1428. package/src/features/KnowledgeManager/DocumentExplorer/DocumentEditor.tsx +723 -0
  1429. package/src/features/KnowledgeManager/DocumentExplorer/DocumentEditorPlaceholder.tsx +169 -0
  1430. package/src/features/KnowledgeManager/DocumentExplorer/DocumentListItem.tsx +148 -0
  1431. package/src/features/KnowledgeManager/DocumentExplorer/DocumentListSkeleton.tsx +39 -0
  1432. package/src/features/KnowledgeManager/DocumentExplorer/NoteEditorModal.tsx +328 -0
  1433. package/src/features/KnowledgeManager/DocumentExplorer/RenamePopover.tsx +163 -0
  1434. package/src/features/KnowledgeManager/DocumentExplorer/index.tsx +318 -0
  1435. package/src/features/KnowledgeManager/FileExplorer/FileListItem/index.tsx +270 -0
  1436. package/src/features/KnowledgeManager/FileExplorer/MasonryFileItem/DefaultFileItem.tsx +149 -0
  1437. package/src/features/KnowledgeManager/FileExplorer/MasonryFileItem/ImageFileItem.tsx +245 -0
  1438. package/src/features/KnowledgeManager/FileExplorer/MasonryFileItem/MarkdownFileItem.tsx +232 -0
  1439. package/src/features/KnowledgeManager/FileExplorer/MasonryFileItem/NoteFileItem.tsx +230 -0
  1440. package/src/features/KnowledgeManager/FileExplorer/MasonryFileItem/index.tsx +378 -0
  1441. package/src/features/KnowledgeManager/FileExplorer/ToolBar/ViewSwitcher.tsx +45 -0
  1442. package/src/features/KnowledgeManager/FileExplorer/index.tsx +305 -0
  1443. package/src/features/KnowledgeManager/Header/AddButton.tsx +117 -0
  1444. package/src/features/KnowledgeManager/Header/FilesSearchBar.tsx +45 -0
  1445. package/src/features/KnowledgeManager/Header/NewNoteButton.tsx +33 -0
  1446. package/src/features/KnowledgeManager/Header/TogglePanelButton.tsx +42 -0
  1447. package/src/features/KnowledgeManager/Header/index.tsx +21 -0
  1448. package/src/features/KnowledgeManager/Home/RecentDocumentCard.tsx +116 -0
  1449. package/src/features/KnowledgeManager/Home/RecentDocuments.tsx +77 -0
  1450. package/src/features/KnowledgeManager/Home/RecentFileCard.tsx +121 -0
  1451. package/src/features/KnowledgeManager/Home/RecentFiles.tsx +73 -0
  1452. package/src/features/KnowledgeManager/Home/RecentFilesSkeleton.tsx +81 -0
  1453. package/src/features/KnowledgeManager/Home/UploadEntries.tsx +208 -0
  1454. package/src/features/KnowledgeManager/Home/index.tsx +221 -0
  1455. package/src/features/KnowledgeManager/index.tsx +75 -0
  1456. package/src/features/LocalFile/LocalFile.tsx +55 -5
  1457. package/src/features/MCP/utils.test.ts +91 -0
  1458. package/src/features/MCP/utils.ts +20 -2
  1459. package/src/features/ModelSwitchPanel/index.tsx +15 -29
  1460. package/src/features/OllamaSetupGuide/index.tsx +1 -1
  1461. package/src/features/PluginStore/Content.tsx +2 -3
  1462. package/src/features/PluginStore/McpList/List/Action.tsx +20 -1
  1463. package/src/features/PluginStore/McpList/index.tsx +6 -2
  1464. package/src/features/PluginTag/PluginStatus.tsx +1 -1
  1465. package/src/features/PluginsUI/Render/BuiltinType/index.test.tsx +10 -4
  1466. package/src/features/PluginsUI/Render/BuiltinType/index.tsx +4 -4
  1467. package/src/features/PluginsUI/Render/MCPType/index.tsx +72 -0
  1468. package/src/features/PluginsUI/Render/StandaloneType/Iframe.tsx +5 -5
  1469. package/src/features/PluginsUI/Render/index.tsx +17 -0
  1470. package/src/features/Portal/Artifacts/Body/Renderer/SVG.tsx +23 -6
  1471. package/src/features/Portal/FilePreview/Body/index.tsx +1 -1
  1472. package/src/features/Portal/FilePreview/Header.tsx +1 -1
  1473. package/src/features/Portal/GroupThread/Body/ThreadChatItem.tsx +1 -1
  1474. package/src/features/Portal/GroupThread/Body/ThreadChatList.tsx +1 -1
  1475. package/src/features/Portal/GroupThread/Body/index.tsx +1 -1
  1476. package/src/features/Portal/Home/Body/Plugins/ArtifactList/index.tsx +3 -3
  1477. package/src/features/Portal/Thread/Chat/ChatInput/index.tsx +1 -1
  1478. package/src/features/Portal/Thread/Chat/ChatInput/useSend.ts +3 -3
  1479. package/src/features/Portal/Thread/Chat/ChatItem.tsx +1 -1
  1480. package/src/features/Portal/Thread/Chat/ChatList.tsx +1 -1
  1481. package/src/features/Portal/Thread/Chat/index.tsx +1 -1
  1482. package/src/features/ShareModal/ShareImage/ChatList/index.tsx +1 -1
  1483. package/src/features/ShareModal/ShareImage/Preview.tsx +2 -2
  1484. package/src/features/ShareModal/ShareImage/index.tsx +15 -1
  1485. package/src/features/ShareModal/ShareImage/type.ts +6 -0
  1486. package/src/features/ShareModal/ShareJSON/index.tsx +2 -2
  1487. package/src/features/ShareModal/ShareText/index.tsx +3 -3
  1488. package/src/features/ShareModal/index.tsx +7 -13
  1489. package/src/features/ShareModal/style.ts +40 -30
  1490. package/src/features/User/UserPanel/PanelContent.tsx +11 -11
  1491. package/src/features/User/UserPanel/useMenu.tsx +24 -14
  1492. package/src/features/User/__tests__/PanelContent.test.tsx +28 -13
  1493. package/src/features/User/__tests__/UserAvatar.test.tsx +17 -6
  1494. package/src/features/User/__tests__/useMenu.test.tsx +14 -12
  1495. package/src/helpers/toolEngineering/index.test.ts +3 -3
  1496. package/src/helpers/toolEngineering/index.ts +13 -4
  1497. package/src/hooks/useAgentOwnershipCheck.ts +151 -0
  1498. package/src/hooks/useCheckPluginsIsInstalled.ts +1 -4
  1499. package/src/hooks/useDiscoverTab.ts +2 -2
  1500. package/src/hooks/useFetchGroups.ts +1 -4
  1501. package/src/hooks/useFetchInstalledPlugins.ts +1 -4
  1502. package/src/hooks/useFetchMessages.ts +1 -4
  1503. package/src/hooks/useFetchSessions.ts +1 -4
  1504. package/src/hooks/useFetchThreads.ts +1 -5
  1505. package/src/hooks/useFetchTopics.ts +1 -4
  1506. package/src/hooks/useHotkeys/chatScope.ts +16 -8
  1507. package/src/hooks/useInterceptingRoutes.test.ts +22 -44
  1508. package/src/hooks/useInterceptingRoutes.ts +6 -11
  1509. package/src/hooks/usePinnedAgentState.ts +23 -16
  1510. package/src/hooks/useQuery.ts +5 -0
  1511. package/src/hooks/useQueryParam.ts +324 -0
  1512. package/src/hooks/useQueryRoute.test.ts +2 -12
  1513. package/src/hooks/useQueryRoute.ts +5 -5
  1514. package/src/hooks/useScreenshot.ts +44 -28
  1515. package/src/hooks/useShowMobileWorkspace.ts +1 -1
  1516. package/src/hooks/useSwitchSession.ts +4 -3
  1517. package/src/instrumentation.node.ts +3 -2
  1518. package/src/layout/AuthProvider/BetterAuth/UserUpdater.tsx +51 -0
  1519. package/src/layout/AuthProvider/BetterAuth/index.tsx +14 -0
  1520. package/src/layout/AuthProvider/MarketAuth/MarketAuthConfirmModal.tsx +158 -0
  1521. package/src/layout/AuthProvider/MarketAuth/MarketAuthProvider.tsx +599 -0
  1522. package/src/layout/AuthProvider/MarketAuth/errors.ts +75 -0
  1523. package/src/layout/AuthProvider/MarketAuth/index.ts +2 -0
  1524. package/src/layout/AuthProvider/MarketAuth/oidc.ts +382 -0
  1525. package/src/layout/AuthProvider/MarketAuth/types.ts +67 -0
  1526. package/src/layout/AuthProvider/index.tsx +20 -4
  1527. package/src/layout/GlobalProvider/Cmdk.tsx +470 -0
  1528. package/src/layout/GlobalProvider/CmdkLazy.tsx +17 -0
  1529. package/src/layout/GlobalProvider/ImportSettings.tsx +22 -9
  1530. package/src/layout/GlobalProvider/StoreInitialization.tsx +12 -6
  1531. package/src/layout/GlobalProvider/index.tsx +2 -0
  1532. package/src/libs/better-auth/auth-client.ts +36 -0
  1533. package/src/libs/better-auth/constants.ts +19 -0
  1534. package/src/libs/better-auth/email-templates/index.ts +3 -0
  1535. package/src/libs/better-auth/email-templates/magic-link.ts +98 -0
  1536. package/src/libs/better-auth/email-templates/reset-password.ts +91 -0
  1537. package/src/libs/better-auth/email-templates/verification.ts +108 -0
  1538. package/src/libs/better-auth/sso/helpers.ts +61 -0
  1539. package/src/libs/better-auth/sso/index.ts +118 -0
  1540. package/src/libs/better-auth/sso/providers/apple.ts +33 -0
  1541. package/src/libs/better-auth/sso/providers/auth0.ts +33 -0
  1542. package/src/libs/better-auth/sso/providers/authelia.ts +35 -0
  1543. package/src/libs/better-auth/sso/providers/authentik.ts +35 -0
  1544. package/src/libs/better-auth/sso/providers/casdoor.ts +48 -0
  1545. package/src/libs/better-auth/sso/providers/cloudflare-zero-trust.ts +41 -0
  1546. package/src/libs/better-auth/sso/providers/cognito.ts +45 -0
  1547. package/src/libs/better-auth/sso/providers/feishu.ts +181 -0
  1548. package/src/libs/better-auth/sso/providers/generic-oidc.ts +44 -0
  1549. package/src/libs/better-auth/sso/providers/github.ts +30 -0
  1550. package/src/libs/better-auth/sso/providers/google.ts +30 -0
  1551. package/src/libs/better-auth/sso/providers/keycloak.ts +35 -0
  1552. package/src/libs/better-auth/sso/providers/logto.ts +38 -0
  1553. package/src/libs/better-auth/sso/providers/microsoft.ts +65 -0
  1554. package/src/libs/better-auth/sso/providers/okta.ts +37 -0
  1555. package/src/libs/better-auth/sso/providers/wechat.ts +140 -0
  1556. package/src/libs/better-auth/sso/providers/zitadel.ts +54 -0
  1557. package/src/libs/better-auth/sso/types.ts +25 -0
  1558. package/src/libs/better-auth/utils/client.ts +1 -0
  1559. package/src/libs/better-auth/utils/common.ts +20 -0
  1560. package/src/libs/better-auth/utils/server.test.ts +61 -0
  1561. package/src/libs/better-auth/utils/server.ts +18 -0
  1562. package/src/libs/mcp/__tests__/__snapshots__/index.test.ts.snap +9 -1
  1563. package/src/libs/mcp/__tests__/index.test.ts +6 -6
  1564. package/src/libs/mcp/client.ts +3 -2
  1565. package/src/libs/mcp/types.ts +79 -0
  1566. package/src/libs/next-auth/auth.config.ts +2 -5
  1567. package/src/libs/oidc-provider/adapter.ts +42 -1
  1568. package/src/libs/oidc-provider/provider.test.ts +2 -0
  1569. package/src/libs/redis/index.ts +5 -0
  1570. package/src/libs/redis/manager.test.ts +107 -0
  1571. package/src/libs/redis/manager.ts +56 -0
  1572. package/src/libs/redis/redis.test.ts +158 -0
  1573. package/src/libs/redis/redis.ts +117 -0
  1574. package/src/libs/redis/types.ts +71 -0
  1575. package/src/libs/redis/upstash.test.ts +154 -0
  1576. package/src/libs/redis/upstash.ts +109 -0
  1577. package/src/libs/redis/utils.test.ts +46 -0
  1578. package/src/libs/redis/utils.ts +53 -0
  1579. package/src/libs/trpc/client/lambda.ts +5 -8
  1580. package/src/libs/trpc/lambda/context.test.ts +116 -0
  1581. package/src/libs/trpc/lambda/context.ts +27 -0
  1582. package/src/libs/trpc/lambda/index.ts +5 -2
  1583. package/src/libs/trpc/middleware/openTelemetry.ts +141 -0
  1584. package/src/libs/trpc/middleware/userAuth.ts +4 -2
  1585. package/src/libs/trpc/utils/request-adapter.ts +20 -0
  1586. package/src/locales/default/auth.ts +170 -4
  1587. package/src/locales/default/chat.ts +43 -0
  1588. package/src/locales/default/common.ts +24 -0
  1589. package/src/locales/default/components.ts +6 -0
  1590. package/src/locales/default/discover.ts +48 -0
  1591. package/src/locales/default/error.ts +2 -2
  1592. package/src/locales/default/file.ts +88 -5
  1593. package/src/locales/default/hotkey.ts +4 -0
  1594. package/src/locales/default/image.ts +8 -0
  1595. package/src/locales/default/index.ts +2 -0
  1596. package/src/locales/default/labs.ts +4 -0
  1597. package/src/locales/default/marketAuth.ts +55 -0
  1598. package/src/locales/default/modelProvider.ts +18 -2
  1599. package/src/locales/default/oauth.ts +1 -0
  1600. package/src/locales/default/plugin.ts +37 -16
  1601. package/src/locales/default/setting.ts +100 -1
  1602. package/src/locales/default/tool.ts +32 -5
  1603. package/src/locales/default/topic.ts +1 -0
  1604. package/src/proxy.ts +81 -5
  1605. package/src/server/globalConfig/genServerAiProviderConfig.test.ts +5 -5
  1606. package/src/server/globalConfig/genServerAiProviderConfig.ts +4 -4
  1607. package/src/server/globalConfig/index.ts +12 -1
  1608. package/src/server/globalConfig/parseFilesConfig.ts +1 -1
  1609. package/src/server/globalConfig/parseSystemAgent.ts +4 -4
  1610. package/src/server/modules/ContentChunk/index.test.ts +372 -0
  1611. package/src/server/modules/ModelRuntime/index.ts +4 -4
  1612. package/src/server/modules/S3/index.test.ts +379 -0
  1613. package/src/server/routers/async/__tests__/caller.test.ts +333 -0
  1614. package/src/server/routers/async/caller.ts +2 -1
  1615. package/src/server/routers/async/file.ts +2 -7
  1616. package/src/server/routers/async/image.ts +20 -2
  1617. package/src/server/routers/desktop/mcp.ts +22 -9
  1618. package/src/server/routers/lambda/__tests__/aiChat.test.ts +1 -1
  1619. package/src/server/routers/lambda/__tests__/file.test.ts +85 -6
  1620. package/src/server/routers/lambda/__tests__/integration/message.integration.test.ts +771 -57
  1621. package/src/server/routers/lambda/__tests__/user.test.ts +2 -0
  1622. package/src/server/routers/lambda/aiChat.ts +3 -2
  1623. package/src/server/routers/lambda/chunk.ts +173 -41
  1624. package/src/server/routers/lambda/document.ts +57 -0
  1625. package/src/server/routers/lambda/file.ts +89 -2
  1626. package/src/server/routers/lambda/index.ts +2 -0
  1627. package/src/server/routers/lambda/knowledge.ts +94 -0
  1628. package/src/server/routers/lambda/market/index.ts +123 -16
  1629. package/src/server/routers/lambda/message.ts +52 -60
  1630. package/src/server/routers/lambda/topic.ts +7 -1
  1631. package/src/server/routers/lambda/usage.ts +36 -0
  1632. package/src/server/routers/lambda/user.ts +54 -31
  1633. package/src/server/routers/mobile/index.ts +14 -2
  1634. package/src/server/routers/tools/mcp.ts +23 -5
  1635. package/src/server/services/discover/index.test.ts +153 -11
  1636. package/src/server/services/discover/index.ts +473 -71
  1637. package/src/server/services/document/index.ts +103 -0
  1638. package/src/server/services/email/README.md +260 -0
  1639. package/src/server/services/email/impls/index.test.ts +39 -0
  1640. package/src/server/services/email/impls/index.ts +36 -0
  1641. package/src/server/services/email/impls/nodemailer/index.ts +108 -0
  1642. package/src/server/services/email/impls/nodemailer/type.ts +31 -0
  1643. package/src/server/services/email/impls/resend/index.ts +120 -0
  1644. package/src/server/services/email/impls/type.ts +61 -0
  1645. package/src/server/services/email/index.test.ts +144 -0
  1646. package/src/server/services/email/index.ts +48 -0
  1647. package/src/server/services/file/impls/index.ts +3 -3
  1648. package/src/server/services/file/impls/local.ts +39 -36
  1649. package/src/server/services/file/impls/s3.ts +1 -1
  1650. package/src/server/services/file/impls/type.ts +11 -11
  1651. package/src/server/services/file/index.ts +108 -13
  1652. package/src/server/services/mcp/contentProcessor.ts +101 -0
  1653. package/src/server/services/mcp/deps/MCPSystemDepsCheckService.test.ts +541 -0
  1654. package/src/server/services/mcp/deps/MCPSystemDepsCheckService.ts +3 -3
  1655. package/src/server/services/mcp/deps/checkers/ManualInstallationChecker.test.ts +162 -0
  1656. package/src/server/services/mcp/deps/checkers/NpmInstallationChecker.test.ts +374 -0
  1657. package/src/server/services/mcp/deps/checkers/PythonInstallationChecker.test.ts +368 -0
  1658. package/src/server/services/mcp/index.test.ts +84 -45
  1659. package/src/server/services/mcp/index.ts +87 -73
  1660. package/src/server/services/message/__tests__/index.test.ts +338 -0
  1661. package/src/server/services/message/index.ts +187 -0
  1662. package/src/server/services/oidc/index.test.ts +232 -0
  1663. package/src/server/services/oidc/index.ts +24 -0
  1664. package/src/server/services/usage/index.test.ts +310 -0
  1665. package/src/server/services/usage/index.ts +164 -0
  1666. package/src/server/services/user/index.ts +35 -22
  1667. package/src/server/sitemap.ts +49 -35
  1668. package/src/server/utils/createSpeechResponse.ts +55 -0
  1669. package/src/services/__tests__/_auth.test.ts +1 -4
  1670. package/src/services/__tests__/upload.test.ts +92 -82
  1671. package/src/services/_auth.ts +4 -14
  1672. package/src/services/_header.ts +3 -18
  1673. package/src/services/_url.ts +15 -1
  1674. package/src/services/aiModel/index.test.ts +3 -3
  1675. package/src/services/aiModel/index.ts +56 -2
  1676. package/src/services/aiProvider/index.test.ts +2 -2
  1677. package/src/services/aiProvider/index.ts +48 -2
  1678. package/src/services/chat/chat.test.ts +64 -19
  1679. package/src/services/chat/clientModelRuntime.test.ts +109 -173
  1680. package/src/services/chat/contextEngineering.test.ts +4 -0
  1681. package/src/services/chat/contextEngineering.ts +27 -7
  1682. package/src/services/chat/index.ts +37 -15
  1683. package/src/services/chat/types.ts +1 -2
  1684. package/src/services/chatGroup/index.ts +66 -2
  1685. package/src/services/config.ts +2 -2
  1686. package/src/services/debug.ts +4 -4
  1687. package/src/services/discover.ts +29 -18
  1688. package/src/services/document/index.ts +44 -0
  1689. package/src/services/electron/desktopNotification.ts +6 -6
  1690. package/src/services/electron/file.ts +6 -6
  1691. package/src/services/electron/localFileService.ts +4 -0
  1692. package/src/services/electron/remoteServer.ts +12 -5
  1693. package/src/services/electron/settings.ts +6 -6
  1694. package/src/services/export/index.ts +10 -2
  1695. package/src/services/file/index.ts +72 -2
  1696. package/src/services/import/index.ts +133 -2
  1697. package/src/services/marketApi.ts +124 -0
  1698. package/src/services/mcp.test.ts +783 -0
  1699. package/src/services/mcp.ts +75 -25
  1700. package/src/services/message/__tests__/metadata-race-condition.test.ts +157 -0
  1701. package/src/services/message/index.ts +237 -2
  1702. package/src/services/message/server.test.ts +44 -0
  1703. package/src/services/models.ts +22 -21
  1704. package/src/services/plugin/index.test.ts +8 -0
  1705. package/src/services/plugin/index.ts +53 -2
  1706. package/src/services/rag.ts +6 -2
  1707. package/src/services/search.ts +2 -2
  1708. package/src/services/session/index.test.ts +8 -0
  1709. package/src/services/session/index.ts +131 -2
  1710. package/src/services/thread/index.test.ts +8 -0
  1711. package/src/services/thread/index.ts +38 -2
  1712. package/src/services/topic/index.test.ts +8 -0
  1713. package/src/services/topic/index.ts +76 -2
  1714. package/src/services/upload.ts +14 -43
  1715. package/src/services/usage.ts +13 -0
  1716. package/src/services/user/index.test.ts +168 -0
  1717. package/src/services/user/index.ts +60 -2
  1718. package/src/services/utils/abortableRequest.test.ts +161 -0
  1719. package/src/services/utils/abortableRequest.ts +67 -0
  1720. package/src/store/agent/slices/chat/selectors/agent.ts +4 -0
  1721. package/src/store/agent/slices/chat/selectors/chatConfig.ts +4 -3
  1722. package/src/store/aiInfra/slices/aiModel/action.test.ts +17 -9
  1723. package/src/store/aiInfra/slices/aiProvider/__tests__/action.test.ts +125 -229
  1724. package/src/store/aiInfra/slices/aiProvider/__tests__/selectors.test.ts +77 -7
  1725. package/src/store/aiInfra/slices/aiProvider/action.ts +139 -41
  1726. package/src/store/aiInfra/slices/aiProvider/selectors.ts +7 -3
  1727. package/src/store/aiInfra/store.ts +2 -2
  1728. package/src/store/chat/agents/GeneralChatAgent.ts +391 -0
  1729. package/src/store/chat/agents/__tests__/GeneralChatAgent.test.ts +1144 -0
  1730. package/src/store/chat/agents/__tests__/createAgentExecutors/call-llm.test.ts +1235 -0
  1731. package/src/store/chat/agents/__tests__/createAgentExecutors/call-tool.test.ts +2005 -0
  1732. package/src/store/chat/agents/__tests__/createAgentExecutors/finish.test.ts +453 -0
  1733. package/src/store/chat/agents/__tests__/createAgentExecutors/fixtures/index.ts +4 -0
  1734. package/src/store/chat/agents/__tests__/createAgentExecutors/fixtures/mockInstructions.ts +126 -0
  1735. package/src/store/chat/agents/__tests__/createAgentExecutors/fixtures/mockMessages.ts +94 -0
  1736. package/src/store/chat/agents/__tests__/createAgentExecutors/fixtures/mockOperations.ts +96 -0
  1737. package/src/store/chat/agents/__tests__/createAgentExecutors/fixtures/mockStore.ts +138 -0
  1738. package/src/store/chat/agents/__tests__/createAgentExecutors/helpers/assertions.ts +188 -0
  1739. package/src/store/chat/agents/__tests__/createAgentExecutors/helpers/index.ts +3 -0
  1740. package/src/store/chat/agents/__tests__/createAgentExecutors/helpers/operationTestUtils.ts +94 -0
  1741. package/src/store/chat/agents/__tests__/createAgentExecutors/helpers/testExecutor.ts +136 -0
  1742. package/src/store/chat/agents/__tests__/createAgentExecutors/request-human-approve.test.ts +560 -0
  1743. package/src/store/chat/agents/__tests__/createAgentExecutors/resolve-aborted-tools.test.ts +712 -0
  1744. package/src/store/chat/agents/createAgentExecutors.ts +770 -0
  1745. package/src/store/chat/helpers.test.ts +0 -99
  1746. package/src/store/chat/helpers.ts +0 -11
  1747. package/src/store/chat/initialState.ts +4 -1
  1748. package/src/store/chat/selectors.ts +1 -0
  1749. package/src/store/chat/slices/aiChat/__tests__/ai-chat.integration.test.ts +667 -0
  1750. package/src/store/chat/slices/aiChat/actions/__tests__/cancel-functionality.test.ts +137 -27
  1751. package/src/store/chat/slices/aiChat/actions/__tests__/conversationControl.test.ts +370 -0
  1752. package/src/store/chat/slices/aiChat/actions/__tests__/conversationLifecycle.test.ts +281 -0
  1753. package/src/store/chat/slices/aiChat/actions/__tests__/fixtures.ts +0 -2
  1754. package/src/store/chat/slices/aiChat/actions/__tests__/helpers.ts +16 -7
  1755. package/src/store/chat/slices/aiChat/actions/__tests__/rag.test.ts +4 -91
  1756. package/src/store/chat/slices/aiChat/actions/__tests__/streamingExecutor.test.ts +809 -0
  1757. package/src/store/chat/slices/aiChat/actions/__tests__/streamingStates.test.ts +67 -0
  1758. package/src/store/chat/slices/aiChat/actions/conversationControl.ts +220 -0
  1759. package/src/store/chat/slices/aiChat/actions/conversationLifecycle.ts +415 -0
  1760. package/src/store/chat/slices/aiChat/actions/generateAIGroupChat.ts +24 -39
  1761. package/src/store/chat/slices/aiChat/actions/index.ts +12 -6
  1762. package/src/store/chat/slices/aiChat/actions/rag.ts +4 -48
  1763. package/src/store/chat/slices/aiChat/actions/streamingExecutor.ts +1075 -0
  1764. package/src/store/chat/slices/aiChat/actions/streamingStates.ts +50 -0
  1765. package/src/store/chat/slices/aiChat/initialState.ts +0 -28
  1766. package/src/store/chat/slices/aiChat/selectors.test.ts +280 -0
  1767. package/src/store/chat/slices/aiChat/selectors.ts +31 -7
  1768. package/src/store/chat/slices/builtinTool/actions/__tests__/localSystem.test.ts +29 -39
  1769. package/src/store/chat/slices/builtinTool/actions/__tests__/search.test.ts +236 -48
  1770. package/src/store/chat/slices/builtinTool/actions/index.ts +4 -1
  1771. package/src/store/chat/slices/builtinTool/actions/interpreter.ts +86 -51
  1772. package/src/store/chat/slices/builtinTool/actions/knowledgeBase.ts +163 -0
  1773. package/src/store/chat/slices/builtinTool/actions/localSystem.ts +119 -202
  1774. package/src/store/chat/slices/builtinTool/actions/search.ts +174 -58
  1775. package/src/store/chat/slices/builtinTool/selectors.test.ts +258 -0
  1776. package/src/store/chat/slices/builtinTool/selectors.ts +25 -4
  1777. package/src/store/chat/slices/message/action.test.ts +482 -63
  1778. package/src/store/chat/slices/message/actions/index.ts +39 -0
  1779. package/src/store/chat/slices/message/actions/internals.ts +103 -0
  1780. package/src/store/chat/slices/message/actions/optimisticUpdate.ts +343 -0
  1781. package/src/store/chat/slices/message/actions/publicApi.ts +284 -0
  1782. package/src/store/chat/slices/message/actions/query.ts +135 -0
  1783. package/src/store/chat/slices/message/actions/runtimeState.ts +108 -0
  1784. package/src/store/chat/slices/message/initialState.ts +8 -0
  1785. package/src/store/chat/slices/message/reducer.test.ts +48 -370
  1786. package/src/store/chat/slices/message/reducer.ts +19 -82
  1787. package/src/store/chat/slices/message/selectors/chat.test.ts +22 -639
  1788. package/src/store/chat/slices/message/selectors/chat.ts +77 -243
  1789. package/src/store/chat/slices/message/selectors/dbMessage.test.ts +51 -0
  1790. package/src/store/chat/slices/message/selectors/dbMessage.ts +147 -0
  1791. package/src/store/chat/slices/message/selectors/displayMessage.test.ts +818 -0
  1792. package/src/store/chat/slices/message/selectors/displayMessage.ts +352 -0
  1793. package/src/store/chat/slices/message/selectors/messageState.ts +46 -12
  1794. package/src/store/chat/slices/operation/__tests__/actions.test.ts +1049 -0
  1795. package/src/store/chat/slices/operation/__tests__/integration.test.ts +342 -0
  1796. package/src/store/chat/slices/operation/__tests__/selectors.test.ts +601 -0
  1797. package/src/store/chat/slices/operation/actions.ts +658 -0
  1798. package/src/store/chat/slices/operation/index.ts +4 -0
  1799. package/src/store/chat/slices/operation/initialState.ts +44 -0
  1800. package/src/store/chat/slices/operation/selectors.ts +388 -0
  1801. package/src/store/chat/slices/operation/types.ts +161 -0
  1802. package/src/store/chat/slices/plugin/action.test.ts +320 -352
  1803. package/src/store/chat/slices/plugin/actions/index.ts +39 -0
  1804. package/src/store/chat/slices/plugin/actions/internals.ts +69 -0
  1805. package/src/store/chat/slices/plugin/actions/optimisticUpdate.ts +258 -0
  1806. package/src/store/chat/slices/plugin/actions/pluginTypes.ts +264 -0
  1807. package/src/store/chat/slices/plugin/actions/publicApi.ts +119 -0
  1808. package/src/store/chat/slices/plugin/actions/workflow.ts +77 -0
  1809. package/src/store/chat/slices/portal/selectors.test.ts +7 -7
  1810. package/src/store/chat/slices/portal/selectors.ts +2 -2
  1811. package/src/store/chat/slices/thread/action.test.ts +38 -33
  1812. package/src/store/chat/slices/thread/action.ts +20 -14
  1813. package/src/store/chat/slices/thread/initialState.ts +1 -1
  1814. package/src/store/chat/slices/thread/selectors/index.ts +12 -8
  1815. package/src/store/chat/slices/thread/selectors/util.ts +1 -1
  1816. package/src/store/chat/slices/topic/action.test.ts +1 -1
  1817. package/src/store/chat/slices/topic/action.ts +4 -5
  1818. package/src/store/chat/slices/topic/reducer.ts +12 -5
  1819. package/src/store/chat/slices/translate/action.test.ts +26 -32
  1820. package/src/store/chat/slices/translate/action.ts +57 -44
  1821. package/src/store/chat/store.ts +8 -5
  1822. package/src/store/discover/slices/assistant/action.ts +20 -7
  1823. package/src/store/discover/store.ts +2 -2
  1824. package/src/store/electron/store.ts +2 -2
  1825. package/src/store/file/initialState.ts +6 -1
  1826. package/src/store/file/slices/chat/action.ts +3 -6
  1827. package/src/store/file/slices/document/action.ts +359 -0
  1828. package/src/store/file/slices/document/index.ts +3 -0
  1829. package/src/store/file/slices/document/initialState.ts +22 -0
  1830. package/src/store/file/slices/document/selectors.ts +25 -0
  1831. package/src/store/file/slices/fileManager/action.test.ts +16 -9
  1832. package/src/store/file/slices/fileManager/action.ts +12 -13
  1833. package/src/store/file/store.ts +5 -2
  1834. package/src/store/global/action.test.ts +3 -3
  1835. package/src/store/global/actions/workspacePane.ts +2 -1
  1836. package/src/store/global/initialState.ts +16 -3
  1837. package/src/store/global/selectors/systemStatus.test.ts +0 -98
  1838. package/src/store/global/selectors/systemStatus.ts +9 -30
  1839. package/src/store/global/store.ts +2 -2
  1840. package/src/store/knowledgeBase/store.ts +2 -2
  1841. package/src/store/serverConfig/action.ts +5 -1
  1842. package/src/store/serverConfig/selectors.test.ts +2 -2
  1843. package/src/store/serverConfig/store.test.ts +0 -1
  1844. package/src/store/serverConfig/store.ts +4 -2
  1845. package/src/store/session/slices/session/action.ts +23 -0
  1846. package/src/store/session/slices/session/initialState.ts +6 -0
  1847. package/src/store/session/slices/sessionGroup/action.test.ts +5 -5
  1848. package/src/store/session/store.ts +2 -2
  1849. package/src/store/tool/slices/mcpStore/action.test.ts +236 -3
  1850. package/src/store/tool/slices/mcpStore/action.ts +320 -54
  1851. package/src/store/tool/slices/oldStore/initialState.ts +1 -2
  1852. package/src/store/tool/store.ts +2 -2
  1853. package/src/store/urlHydration/action.ts +56 -0
  1854. package/src/store/urlHydration/index.ts +1 -0
  1855. package/src/store/urlHydration/initialState.ts +12 -0
  1856. package/src/store/urlHydration/store.ts +28 -0
  1857. package/src/store/user/selectors.ts +2 -1
  1858. package/src/store/user/slices/auth/action.test.ts +213 -16
  1859. package/src/store/user/slices/auth/action.ts +86 -1
  1860. package/src/store/user/slices/auth/initialState.ts +13 -2
  1861. package/src/store/user/slices/auth/selectors.ts +6 -2
  1862. package/src/store/user/slices/common/action.test.ts +1 -1
  1863. package/src/store/user/slices/common/action.ts +15 -1
  1864. package/src/store/user/slices/preference/action.ts +8 -1
  1865. package/src/store/user/slices/preference/selectors/index.ts +2 -0
  1866. package/src/store/user/slices/preference/selectors/labPrefer.ts +10 -0
  1867. package/src/store/user/slices/preference/selectors/preference.ts +32 -0
  1868. package/src/store/user/slices/settings/action.ts +27 -0
  1869. package/src/store/user/slices/settings/selectors/__snapshots__/settings.test.ts.snap +0 -7
  1870. package/src/store/user/slices/settings/selectors/general.ts +8 -0
  1871. package/src/store/user/slices/settings/selectors/index.ts +1 -0
  1872. package/src/store/user/slices/settings/selectors/keyVaults.ts +0 -5
  1873. package/src/store/user/slices/settings/selectors/settings.test.ts +0 -37
  1874. package/src/store/user/slices/settings/selectors/settings.ts +0 -5
  1875. package/src/store/user/slices/settings/selectors/toolIntervention.ts +17 -0
  1876. package/src/store/user/store.ts +2 -2
  1877. package/src/tools/code-interpreter/Render/index.tsx +1 -1
  1878. package/src/tools/executionRuntimes.ts +6 -0
  1879. package/src/tools/identifiers.ts +13 -0
  1880. package/src/tools/index.ts +7 -0
  1881. package/src/tools/interventions.ts +30 -0
  1882. package/src/tools/knowledge-base/ExecutionRuntime/index.ts +96 -0
  1883. package/src/tools/knowledge-base/Render/ReadKnowledge/FileCard.tsx +135 -0
  1884. package/src/tools/knowledge-base/Render/ReadKnowledge/index.tsx +27 -0
  1885. package/src/tools/knowledge-base/Render/SearchKnowledgeBase/Item/index.tsx +54 -0
  1886. package/src/tools/knowledge-base/Render/SearchKnowledgeBase/Item/style.ts +51 -0
  1887. package/src/tools/knowledge-base/Render/SearchKnowledgeBase/index.tsx +23 -0
  1888. package/src/tools/knowledge-base/Render/index.ts +7 -0
  1889. package/src/tools/knowledge-base/index.ts +64 -0
  1890. package/src/tools/knowledge-base/systemRole.ts +102 -0
  1891. package/src/tools/knowledge-base/type.ts +25 -0
  1892. package/src/tools/local-system/ExecutionRuntime/index.ts +407 -0
  1893. package/src/tools/local-system/Intervention/EditLocalFile/index.tsx +89 -0
  1894. package/src/tools/local-system/Intervention/MoveLocalFiles/MoveFileItem.tsx +56 -0
  1895. package/src/tools/local-system/Intervention/MoveLocalFiles/index.tsx +26 -0
  1896. package/src/tools/local-system/Intervention/RunCommand/index.tsx +54 -0
  1897. package/src/tools/local-system/Intervention/WriteFile/index.tsx +72 -0
  1898. package/src/tools/local-system/Intervention/index.ts +15 -0
  1899. package/src/tools/local-system/Placeholder/ListFiles.tsx +3 -5
  1900. package/src/tools/local-system/Placeholder/SearchFiles.tsx +2 -5
  1901. package/src/tools/local-system/Render/EditLocalFile/index.tsx +67 -0
  1902. package/src/tools/local-system/Render/ListFiles/index.tsx +16 -21
  1903. package/src/tools/local-system/Render/MoveLocalFiles/MoveFileItem.tsx +56 -0
  1904. package/src/tools/local-system/Render/MoveLocalFiles/index.tsx +26 -0
  1905. package/src/tools/local-system/Render/ReadLocalFile/ReadFileView.tsx +55 -79
  1906. package/src/tools/local-system/Render/RenameLocalFile/index.tsx +15 -20
  1907. package/src/tools/local-system/Render/RunCommand/index.tsx +103 -27
  1908. package/src/tools/local-system/Render/SearchFiles/SearchQuery/index.tsx +0 -1
  1909. package/src/tools/local-system/Render/SearchFiles/index.tsx +15 -20
  1910. package/src/tools/local-system/Render/WriteFile/index.tsx +2 -8
  1911. package/src/tools/local-system/Render/index.ts +23 -0
  1912. package/src/tools/local-system/index.ts +186 -4
  1913. package/src/tools/local-system/systemRole.ts +62 -8
  1914. package/src/tools/local-system/type.ts +4 -3
  1915. package/src/tools/placeholders.ts +39 -8
  1916. package/src/tools/renders.ts +39 -6
  1917. package/src/tools/web-browsing/ExecutionRuntime/index.ts +5 -2
  1918. package/src/tools/web-browsing/Placeholder/CrawlMultiPages.tsx +30 -0
  1919. package/src/tools/web-browsing/Placeholder/CrawlSinglePage.tsx +12 -0
  1920. package/src/tools/web-browsing/Placeholder/Search.tsx +4 -4
  1921. package/src/tools/web-browsing/Portal/Search/Footer.tsx +11 -9
  1922. package/src/tools/web-browsing/Render/CrawlMultiPages.tsx +15 -0
  1923. package/src/tools/web-browsing/Render/CrawlSinglePage.tsx +15 -0
  1924. package/src/tools/web-browsing/Render/Search/index.tsx +39 -44
  1925. package/src/tools/web-browsing/Render/index.ts +13 -0
  1926. package/src/utils/electron/desktopRemoteRPCFetch.ts +87 -0
  1927. package/src/utils/server/parseModels.ts +212 -0
  1928. package/src/utils/server/routeVariants.test.ts +340 -0
  1929. package/src/utils/server/routeVariants.ts +10 -10
  1930. package/vitest.config.mts +2 -0
  1931. package/.github/workflows/desktop-pr-build.yml +0 -358
  1932. package/.github/workflows/docker.yml +0 -186
  1933. package/Dockerfile.lite +0 -272
  1934. package/packages/const/src/models.ts +0 -85
  1935. package/packages/context-engine/ARCHITECTURE.md +0 -425
  1936. package/packages/database/src/models/__tests__/message.grouping.test.ts +0 -812
  1937. package/packages/database/src/models/__tests__/message.test.ts +0 -2704
  1938. package/packages/database/src/schemas/document.ts +0 -106
  1939. package/packages/database/src/utils/__tests__/groupMessages.test.ts +0 -1132
  1940. package/packages/database/src/utils/groupMessages.ts +0 -361
  1941. package/packages/model-runtime/src/utils/imageToBase64.test.ts +0 -91
  1942. package/packages/model-runtime/src/utils/imageToBase64.ts +0 -62
  1943. package/packages/utils/src/electron/desktopRemoteRPCFetch.ts +0 -87
  1944. package/packages/utils/src/fetch/__tests__/fetchSSE.test.ts +0 -579
  1945. package/packages/utils/src/fetch/__tests__/parseError.test.ts +0 -88
  1946. package/packages/utils/src/fetch/fetchSSE.ts +0 -477
  1947. package/packages/utils/src/fetch/headers.ts +0 -27
  1948. package/packages/utils/src/fetch/parseError.ts +0 -24
  1949. package/packages/utils/src/fetch/request.ts +0 -28
  1950. package/packages/utils/src/parseModels.ts +0 -213
  1951. package/packages/utils/src/tokenizer/client.ts +0 -35
  1952. package/packages/utils/src/tokenizer/estimated.ts +0 -4
  1953. package/packages/utils/src/tokenizer/server.ts +0 -11
  1954. package/packages/utils/src/tokenizer/tokenizer.worker.ts +0 -12
  1955. package/src/app/(backend)/api/auth/[...nextauth]/route.ts +0 -3
  1956. package/src/app/(backend)/webapi/chat/azureai/route.test.ts +0 -25
  1957. package/src/app/(backend)/webapi/chat/azureai/route.ts +0 -6
  1958. package/src/app/(backend)/webapi/tokenizer/index.test.ts +0 -32
  1959. package/src/app/(backend)/webapi/tokenizer/route.ts +0 -8
  1960. package/src/app/[variants]/(main)/(mobile)/me/(home)/loading.tsx +0 -38
  1961. package/src/app/[variants]/(main)/(mobile)/me/(home)/page.tsx +0 -40
  1962. package/src/app/[variants]/(main)/(mobile)/me/profile/loading.tsx +0 -5
  1963. package/src/app/[variants]/(main)/(mobile)/me/profile/page.tsx +0 -30
  1964. package/src/app/[variants]/(main)/(mobile)/me/settings/loading.tsx +0 -5
  1965. package/src/app/[variants]/(main)/(mobile)/me/settings/page.tsx +0 -30
  1966. package/src/app/[variants]/(main)/_layout/Desktop/DesktopLayoutContainer.tsx +0 -32
  1967. package/src/app/[variants]/(main)/_layout/Desktop/SideBar/BottomActions.tsx +0 -46
  1968. package/src/app/[variants]/(main)/_layout/Desktop/SideBar/PinList/index.tsx +0 -119
  1969. package/src/app/[variants]/(main)/_layout/Desktop/SideBar/TopActions.test.tsx +0 -141
  1970. package/src/app/[variants]/(main)/_layout/Desktop/SideBar/TopActions.tsx +0 -109
  1971. package/src/app/[variants]/(main)/_layout/Desktop/index.tsx +0 -68
  1972. package/src/app/[variants]/(main)/_layout/Mobile/NavBar.tsx +0 -88
  1973. package/src/app/[variants]/(main)/_layout/Mobile/index.tsx +0 -43
  1974. package/src/app/[variants]/(main)/changelog/layout.tsx +0 -10
  1975. package/src/app/[variants]/(main)/changelog/modal/page.tsx +0 -23
  1976. package/src/app/[variants]/(main)/changelog/page.tsx +0 -78
  1977. package/src/app/[variants]/(main)/chat/(workspace)/@conversation/features/ChatHydration/index.tsx +0 -42
  1978. package/src/app/[variants]/(main)/chat/(workspace)/@conversation/features/ChatInput/Desktop/ClassicChat.tsx +0 -81
  1979. package/src/app/[variants]/(main)/chat/(workspace)/@conversation/features/ChatInput/Desktop/GroupChat.tsx +0 -126
  1980. package/src/app/[variants]/(main)/chat/(workspace)/@conversation/features/ChatInput/Desktop/MessageFromUrl.tsx +0 -32
  1981. package/src/app/[variants]/(main)/chat/(workspace)/@conversation/features/ChatInput/Desktop/index.tsx +0 -17
  1982. package/src/app/[variants]/(main)/chat/(workspace)/@conversation/features/ChatInput/V1Mobile/index.tsx +0 -89
  1983. package/src/app/[variants]/(main)/chat/(workspace)/@conversation/features/ChatInput/V1Mobile/useSend.ts +0 -104
  1984. package/src/app/[variants]/(main)/chat/(workspace)/@conversation/features/ChatInput/useSend.ts +0 -321
  1985. package/src/app/[variants]/(main)/chat/(workspace)/@conversation/features/ChatList/ChatItem/Thread.tsx +0 -62
  1986. package/src/app/[variants]/(main)/chat/(workspace)/@conversation/features/ChatList/ChatItem/index.tsx +0 -91
  1987. package/src/app/[variants]/(main)/chat/(workspace)/@conversation/features/ChatList/Content.tsx +0 -43
  1988. package/src/app/[variants]/(main)/chat/(workspace)/@conversation/features/ChatList/WelcomeChatItem/AgentWelcome/OpeningQuestions.tsx +0 -75
  1989. package/src/app/[variants]/(main)/chat/(workspace)/@conversation/features/ChatList/WelcomeChatItem/GroupWelcome/GroupUsageSuggest.tsx +0 -164
  1990. package/src/app/[variants]/(main)/chat/(workspace)/@conversation/features/ChatList/index.tsx +0 -28
  1991. package/src/app/[variants]/(main)/chat/(workspace)/@conversation/features/ChatMinimap/index.tsx +0 -385
  1992. package/src/app/[variants]/(main)/chat/(workspace)/@conversation/features/ThreadHydration.tsx +0 -45
  1993. package/src/app/[variants]/(main)/chat/(workspace)/@topic/features/Topic/TopicListContent/TopicItem/TopicContent.tsx +0 -241
  1994. package/src/app/[variants]/(main)/chat/(workspace)/@topic/features/Topic/TopicListContent/TopicItem/index.tsx +0 -97
  1995. package/src/app/[variants]/(main)/chat/(workspace)/layout.ts +0 -11
  1996. package/src/app/[variants]/(main)/chat/(workspace)/page.tsx +0 -53
  1997. package/src/app/[variants]/(main)/chat/@session/_layout/Mobile/SessionHeader.tsx +0 -44
  1998. package/src/app/[variants]/(main)/chat/@session/default.tsx +0 -31
  1999. package/src/app/[variants]/(main)/chat/@session/features/SessionHydration.tsx +0 -45
  2000. package/src/app/[variants]/(main)/chat/@session/features/SessionListContent/Inbox/index.tsx +0 -63
  2001. package/src/app/[variants]/(main)/chat/@session/features/SessionListContent/List/Item/Actions.tsx +0 -204
  2002. package/src/app/[variants]/(main)/chat/@session/features/SessionListContent/List/Item/index.tsx +0 -158
  2003. package/src/app/[variants]/(main)/chat/@session/features/SessionListContent/List/index.tsx +0 -100
  2004. package/src/app/[variants]/(main)/chat/error.tsx +0 -3
  2005. package/src/app/[variants]/(main)/chat/layout.ts +0 -11
  2006. package/src/app/[variants]/(main)/chat/not-found.tsx +0 -1
  2007. package/src/app/[variants]/(main)/chat/settings/error.tsx +0 -3
  2008. package/src/app/[variants]/(main)/chat/settings/features/SubmitAgentButton/SubmitAgentModal.tsx +0 -98
  2009. package/src/app/[variants]/(main)/chat/settings/features/SubmitAgentButton/index.tsx +0 -35
  2010. package/src/app/[variants]/(main)/chat/settings/features/SubmitAgentButton/style.ts +0 -47
  2011. package/src/app/[variants]/(main)/chat/settings/layout.tsx +0 -21
  2012. package/src/app/[variants]/(main)/chat/settings/loading.tsx +0 -3
  2013. package/src/app/[variants]/(main)/chat/settings/not-found.tsx +0 -1
  2014. package/src/app/[variants]/(main)/chat/settings/page.tsx +0 -62
  2015. package/src/app/[variants]/(main)/discover/(detail)/_layout/Desktop.tsx +0 -30
  2016. package/src/app/[variants]/(main)/discover/(detail)/_layout/DetailLayout.tsx +0 -22
  2017. package/src/app/[variants]/(main)/discover/(detail)/assistant/AssistantDetailPage.tsx +0 -47
  2018. package/src/app/[variants]/(main)/discover/(detail)/assistant/[...slugs]/Client.tsx +0 -40
  2019. package/src/app/[variants]/(main)/discover/(detail)/assistant/[...slugs]/features/Details/Capabilities/Block.tsx +0 -27
  2020. package/src/app/[variants]/(main)/discover/(detail)/assistant/[...slugs]/features/Details/Capabilities/PluginItem.tsx +0 -68
  2021. package/src/app/[variants]/(main)/discover/(detail)/assistant/[...slugs]/features/Details/Capabilities/Plugins.tsx +0 -32
  2022. package/src/app/[variants]/(main)/discover/(detail)/assistant/[...slugs]/features/Details/Nav.tsx +0 -122
  2023. package/src/app/[variants]/(main)/discover/(detail)/assistant/[...slugs]/features/Details/Overview/TagList.tsx +0 -47
  2024. package/src/app/[variants]/(main)/discover/(detail)/assistant/[...slugs]/features/Details/Overview/index.tsx +0 -96
  2025. package/src/app/[variants]/(main)/discover/(detail)/assistant/[...slugs]/features/Details/Related/index.tsx +0 -31
  2026. package/src/app/[variants]/(main)/discover/(detail)/assistant/[...slugs]/features/Details/SystemRole/TagList.tsx +0 -47
  2027. package/src/app/[variants]/(main)/discover/(detail)/assistant/[...slugs]/features/Details/SystemRole/index.tsx +0 -54
  2028. package/src/app/[variants]/(main)/discover/(detail)/assistant/[...slugs]/features/Details/index.tsx +0 -49
  2029. package/src/app/[variants]/(main)/discover/(detail)/assistant/[...slugs]/features/Header.tsx +0 -177
  2030. package/src/app/[variants]/(main)/discover/(detail)/assistant/[...slugs]/features/Sidebar/ActionButton/AddAgent.tsx +0 -87
  2031. package/src/app/[variants]/(main)/discover/(detail)/assistant/[...slugs]/features/Sidebar/ActionButton/index.tsx +0 -31
  2032. package/src/app/[variants]/(main)/discover/(detail)/assistant/[...slugs]/features/Sidebar/Related/index.tsx +0 -43
  2033. package/src/app/[variants]/(main)/discover/(detail)/assistant/[...slugs]/features/Sidebar/TocList/index.tsx +0 -77
  2034. package/src/app/[variants]/(main)/discover/(detail)/mcp/McpDetailPage.tsx +0 -51
  2035. package/src/app/[variants]/(main)/discover/(detail)/mcp/[slug]/Client.tsx +0 -43
  2036. package/src/app/[variants]/(main)/discover/(detail)/mcp/[slug]/features/Details/Related/index.tsx +0 -32
  2037. package/src/app/[variants]/(main)/discover/(detail)/mcp/[slug]/features/Details/Versions/index.tsx +0 -76
  2038. package/src/app/[variants]/(main)/discover/(detail)/mcp/[slug]/features/Details/index.tsx +0 -59
  2039. package/src/app/[variants]/(main)/discover/(detail)/mcp/[slug]/features/Sidebar/ActionButton/index.tsx +0 -83
  2040. package/src/app/[variants]/(main)/discover/(detail)/mcp/[slug]/features/Sidebar/Related/index.tsx +0 -44
  2041. package/src/app/[variants]/(main)/discover/(detail)/mcp/[slug]/features/Sidebar/ServerConfig.tsx +0 -36
  2042. package/src/app/[variants]/(main)/discover/(detail)/mcp/[slug]/features/Sidebar/TocList/index.tsx +0 -98
  2043. package/src/app/[variants]/(main)/discover/(detail)/mcp/[slug]/loading.tsx +0 -1
  2044. package/src/app/[variants]/(main)/discover/(detail)/model/ModelDetailPage.tsx +0 -44
  2045. package/src/app/[variants]/(main)/discover/(detail)/model/[...slugs]/Client.tsx +0 -40
  2046. package/src/app/[variants]/(main)/discover/(detail)/model/[...slugs]/features/Details/Overview/index.tsx +0 -22
  2047. package/src/app/[variants]/(main)/discover/(detail)/model/[...slugs]/features/Details/Parameter/ParameterItem.tsx +0 -71
  2048. package/src/app/[variants]/(main)/discover/(detail)/model/[...slugs]/features/Details/Related/index.tsx +0 -31
  2049. package/src/app/[variants]/(main)/discover/(detail)/model/[...slugs]/features/Details/index.tsx +0 -47
  2050. package/src/app/[variants]/(main)/discover/(detail)/model/[...slugs]/features/Header.tsx +0 -112
  2051. package/src/app/[variants]/(main)/discover/(detail)/model/[...slugs]/features/Sidebar/ActionButton/ChatWithModel.tsx +0 -92
  2052. package/src/app/[variants]/(main)/discover/(detail)/model/[...slugs]/features/Sidebar/ActionButton/index.tsx +0 -32
  2053. package/src/app/[variants]/(main)/discover/(detail)/model/[...slugs]/features/Sidebar/Related/index.tsx +0 -43
  2054. package/src/app/[variants]/(main)/discover/(detail)/model/[...slugs]/features/Sidebar/RelatedProviders/index.tsx +0 -34
  2055. package/src/app/[variants]/(main)/discover/(detail)/model/[...slugs]/loading.tsx +0 -1
  2056. package/src/app/[variants]/(main)/discover/(detail)/provider/ProviderDetailPage.tsx +0 -44
  2057. package/src/app/[variants]/(main)/discover/(detail)/provider/[...slugs]/Client.tsx +0 -40
  2058. package/src/app/[variants]/(main)/discover/(detail)/provider/[...slugs]/features/Details/Related/index.tsx +0 -22
  2059. package/src/app/[variants]/(main)/discover/(detail)/provider/[...slugs]/features/Details/index.tsx +0 -47
  2060. package/src/app/[variants]/(main)/discover/(detail)/provider/[...slugs]/features/Sidebar/ActionButton/ProviderConfig.tsx +0 -97
  2061. package/src/app/[variants]/(main)/discover/(detail)/provider/[...slugs]/features/Sidebar/ActionButton/index.tsx +0 -45
  2062. package/src/app/[variants]/(main)/discover/(detail)/provider/[...slugs]/features/Sidebar/Related/index.tsx +0 -34
  2063. package/src/app/[variants]/(main)/discover/(detail)/provider/[...slugs]/features/Sidebar/RelatedModels/index.tsx +0 -43
  2064. package/src/app/[variants]/(main)/discover/(detail)/provider/[...slugs]/loading.tsx +0 -1
  2065. package/src/app/[variants]/(main)/discover/(list)/(home)/HomePage.tsx +0 -45
  2066. package/src/app/[variants]/(main)/discover/(list)/_layout/ListLayout.tsx +0 -22
  2067. package/src/app/[variants]/(main)/discover/(list)/assistant/AssistantLayout.tsx +0 -21
  2068. package/src/app/[variants]/(main)/discover/(list)/assistant/AssistantPage.tsx +0 -44
  2069. package/src/app/[variants]/(main)/discover/(list)/mcp/Client.tsx +0 -44
  2070. package/src/app/[variants]/(main)/discover/(list)/mcp/McpLayout.tsx +0 -21
  2071. package/src/app/[variants]/(main)/discover/(list)/mcp/McpPage.tsx +0 -44
  2072. package/src/app/[variants]/(main)/discover/(list)/model/Client.tsx +0 -44
  2073. package/src/app/[variants]/(main)/discover/(list)/model/ModelLayout.tsx +0 -21
  2074. package/src/app/[variants]/(main)/discover/(list)/model/ModelPage.tsx +0 -44
  2075. package/src/app/[variants]/(main)/discover/(list)/provider/Client.tsx +0 -43
  2076. package/src/app/[variants]/(main)/discover/(list)/provider/ProviderPage.tsx +0 -43
  2077. package/src/app/[variants]/(main)/discover/DiscoverRouter.tsx +0 -170
  2078. package/src/app/[variants]/(main)/discover/[[...path]]/page.tsx +0 -12
  2079. package/src/app/[variants]/(main)/discover/_layout/DiscoverLayout.tsx +0 -22
  2080. package/src/app/[variants]/(main)/discover/error.tsx +0 -3
  2081. package/src/app/[variants]/(main)/discover/not-found.tsx +0 -1
  2082. package/src/app/[variants]/(main)/error.tsx +0 -3
  2083. package/src/app/[variants]/(main)/image/@menu/features/ConfigPanel/components/ModelSelect.tsx +0 -161
  2084. package/src/app/[variants]/(main)/image/layout.tsx +0 -19
  2085. package/src/app/[variants]/(main)/image/page.tsx +0 -45
  2086. package/src/app/[variants]/(main)/knowledge/KnowledgeRouter.tsx +0 -73
  2087. package/src/app/[variants]/(main)/knowledge/[[...path]]/page.tsx +0 -12
  2088. package/src/app/[variants]/(main)/knowledge/components/modal/page.tsx +0 -13
  2089. package/src/app/[variants]/(main)/knowledge/layout.tsx +0 -12
  2090. package/src/app/[variants]/(main)/knowledge/routes/KnowledgeBaseDetail/menu/MenuItems.tsx +0 -35
  2091. package/src/app/[variants]/(main)/knowledge/routes/KnowledgeHome/menu/FileMenu.tsx +0 -75
  2092. package/src/app/[variants]/(main)/labs/page.tsx +0 -86
  2093. package/src/app/[variants]/(main)/layout.tsx +0 -10
  2094. package/src/app/[variants]/(main)/not-found.tsx +0 -1
  2095. package/src/app/[variants]/(main)/profile/(home)/[[...slugs]]/page.tsx +0 -40
  2096. package/src/app/[variants]/(main)/profile/apikey/page.tsx +0 -32
  2097. package/src/app/[variants]/(main)/profile/error.tsx +0 -3
  2098. package/src/app/[variants]/(main)/profile/layout.tsx +0 -11
  2099. package/src/app/[variants]/(main)/profile/loading.tsx +0 -3
  2100. package/src/app/[variants]/(main)/profile/not-found.tsx +0 -1
  2101. package/src/app/[variants]/(main)/profile/security/page.tsx +0 -28
  2102. package/src/app/[variants]/(main)/profile/stats/page.tsx +0 -23
  2103. package/src/app/[variants]/(main)/settings/error.tsx +0 -3
  2104. package/src/app/[variants]/(main)/settings/loading.tsx +0 -3
  2105. package/src/app/[variants]/(main)/settings/not-found.tsx +0 -1
  2106. package/src/app/[variants]/(main)/settings/page.tsx +0 -42
  2107. package/src/app/[variants]/(main)/settings/storage/IndexedDBStorage.tsx +0 -55
  2108. package/src/app/[variants]/@modal/(.)changelog/modal/features/Cover.tsx +0 -48
  2109. package/src/app/[variants]/@modal/(.)changelog/modal/features/Hero.tsx +0 -29
  2110. package/src/app/[variants]/@modal/(.)changelog/modal/features/Post.tsx +0 -57
  2111. package/src/app/[variants]/@modal/(.)changelog/modal/features/PublishedTime.tsx +0 -50
  2112. package/src/app/[variants]/@modal/(.)changelog/modal/features/ReadDetail.tsx +0 -72
  2113. package/src/app/[variants]/@modal/(.)changelog/modal/features/VersionTag.tsx +0 -26
  2114. package/src/app/[variants]/@modal/(.)changelog/modal/layout.tsx +0 -41
  2115. package/src/app/[variants]/@modal/(.)changelog/modal/loading.tsx +0 -10
  2116. package/src/app/[variants]/@modal/(.)changelog/modal/page.tsx +0 -38
  2117. package/src/app/[variants]/@modal/_layout/ModalLayout.tsx +0 -63
  2118. package/src/app/[variants]/@modal/_layout/SettingModalLayout.tsx +0 -71
  2119. package/src/app/[variants]/@modal/default.tsx +0 -3
  2120. package/src/app/[variants]/@modal/error.tsx +0 -3
  2121. package/src/app/[variants]/@modal/layout.tsx +0 -7
  2122. package/src/app/[variants]/@modal/loading.tsx +0 -5
  2123. package/src/app/[variants]/oauth/consent/[uid]/Consent.tsx +0 -189
  2124. package/src/features/ChatInput/ActionBar/Upload/ClientMode.tsx +0 -62
  2125. package/src/features/Conversation/Error/AccessCodeForm.tsx +0 -63
  2126. package/src/features/Conversation/Error/ChatInvalidApiKey.tsx +0 -39
  2127. package/src/features/Conversation/Error/ClerkLogin/index.tsx +0 -47
  2128. package/src/features/Conversation/Error/InvalidAccessCode.tsx +0 -79
  2129. package/src/features/Conversation/Error/OAuthForm.tsx +0 -97
  2130. package/src/features/Conversation/Error/index.tsx +0 -149
  2131. package/src/features/Conversation/MarkdownElements/LobeThinking/Render.tsx +0 -30
  2132. package/src/features/Conversation/MarkdownElements/Thinking/Render.tsx +0 -42
  2133. package/src/features/Conversation/MarkdownElements/remarkPlugins/__snapshots__/createRemarkSelfClosingTagPlugin.test.ts.snap +0 -260
  2134. package/src/features/Conversation/MarkdownElements/remarkPlugins/createRemarkSelfClosingTagPlugin.test.ts +0 -204
  2135. package/src/features/Conversation/MarkdownElements/remarkPlugins/createRemarkSelfClosingTagPlugin.ts +0 -133
  2136. package/src/features/Conversation/MarkdownElements/remarkPlugins/getNodeContent.test.ts +0 -503
  2137. package/src/features/Conversation/Messages/Assistant/Actions/index.tsx +0 -202
  2138. package/src/features/Conversation/Messages/Assistant/Extra/index.test.tsx +0 -91
  2139. package/src/features/Conversation/Messages/Assistant/Extra/index.tsx +0 -49
  2140. package/src/features/Conversation/Messages/Assistant/MessageContent.tsx +0 -91
  2141. package/src/features/Conversation/Messages/Assistant/Reasoning/index.tsx +0 -29
  2142. package/src/features/Conversation/Messages/Assistant/Tool/Inspector/PluginResult.tsx +0 -39
  2143. package/src/features/Conversation/Messages/Assistant/Tool/Inspector/PluginState.tsx +0 -23
  2144. package/src/features/Conversation/Messages/Assistant/Tool/Inspector/ToolTitle.tsx +0 -94
  2145. package/src/features/Conversation/Messages/Assistant/Tool/Inspector/index.tsx +0 -147
  2146. package/src/features/Conversation/Messages/Assistant/Tool/Render/CustomRender.tsx +0 -144
  2147. package/src/features/Conversation/Messages/Assistant/Tool/Render/LoadingPlaceholder/index.tsx +0 -29
  2148. package/src/features/Conversation/Messages/Assistant/Tool/Render/PluginSettings.tsx +0 -66
  2149. package/src/features/Conversation/Messages/Assistant/Tool/Render/index.tsx +0 -76
  2150. package/src/features/Conversation/Messages/Assistant/Tool/index.tsx +0 -76
  2151. package/src/features/Conversation/Messages/Assistant/index.tsx +0 -282
  2152. package/src/features/Conversation/Messages/Default.tsx +0 -27
  2153. package/src/features/Conversation/Messages/Supervisor/index.tsx +0 -185
  2154. package/src/features/Conversation/Messages/User/Actions.tsx +0 -158
  2155. package/src/features/Conversation/Messages/User/Extra.tsx +0 -39
  2156. package/src/features/Conversation/Messages/User/index.tsx +0 -188
  2157. package/src/features/Conversation/Messages/index.tsx +0 -164
  2158. package/src/features/Conversation/components/AutoScroll.tsx +0 -27
  2159. package/src/features/Conversation/components/Extras/TTS/InitPlayer.tsx +0 -93
  2160. package/src/features/Conversation/components/Extras/Usage/UsageDetail/index.tsx +0 -224
  2161. package/src/features/Conversation/components/Extras/Usage/UsageDetail/tokens.ts +0 -132
  2162. package/src/features/Conversation/components/Extras/Usage/index.tsx +0 -45
  2163. package/src/features/Conversation/components/ShareMessageModal/ShareImage/Preview.tsx +0 -90
  2164. package/src/features/Conversation/components/ShareMessageModal/index.tsx +0 -96
  2165. package/src/features/Conversation/components/SkeletonList.tsx +0 -58
  2166. package/src/features/Conversation/components/VirtualizedList/VirtuosoContext.ts +0 -92
  2167. package/src/features/Conversation/components/VirtualizedList/index.tsx +0 -128
  2168. package/src/features/Conversation/components/WideScreenContainer/index.tsx +0 -46
  2169. package/src/features/Conversation/hooks/useChatListActionsBar.tsx +0 -119
  2170. package/src/features/Conversation/hooks/useDoubleClickEdit.ts +0 -42
  2171. package/src/features/FileManager/FileList/FileListItem/index.tsx +0 -231
  2172. package/src/features/FileManager/FileList/MasonryFileItem/index.tsx +0 -582
  2173. package/src/features/FileManager/FileList/index.tsx +0 -266
  2174. package/src/features/FileManager/Header/FilesSearchBar.tsx +0 -45
  2175. package/src/features/FileManager/Header/TogglePanelButton.tsx +0 -42
  2176. package/src/features/FileManager/Header/index.tsx +0 -27
  2177. package/src/features/FileManager/index.tsx +0 -36
  2178. package/src/services/__tests__/share.test.ts +0 -61
  2179. package/src/services/aiModel/server.test.ts +0 -122
  2180. package/src/services/aiModel/server.ts +0 -51
  2181. package/src/services/aiModel/type.ts +0 -32
  2182. package/src/services/aiProvider/server.ts +0 -43
  2183. package/src/services/aiProvider/type.ts +0 -27
  2184. package/src/services/chatGroup/server.ts +0 -67
  2185. package/src/services/chatGroup/type.ts +0 -22
  2186. package/src/services/export/server.ts +0 -9
  2187. package/src/services/export/type.ts +0 -5
  2188. package/src/services/file/ClientS3/index.test.ts +0 -115
  2189. package/src/services/file/ClientS3/index.ts +0 -59
  2190. package/src/services/file/server.ts +0 -53
  2191. package/src/services/file/type.ts +0 -13
  2192. package/src/services/import/server.ts +0 -133
  2193. package/src/services/import/type.ts +0 -17
  2194. package/src/services/message/__tests__/server.test.ts +0 -44
  2195. package/src/services/message/server.ts +0 -155
  2196. package/src/services/message/type.ts +0 -59
  2197. package/src/services/plugin/server.ts +0 -42
  2198. package/src/services/plugin/type.ts +0 -23
  2199. package/src/services/session/server.test.ts +0 -260
  2200. package/src/services/session/server.ts +0 -125
  2201. package/src/services/session/type.ts +0 -82
  2202. package/src/services/thread/server.ts +0 -32
  2203. package/src/services/thread/type.ts +0 -21
  2204. package/src/services/topic/server.ts +0 -57
  2205. package/src/services/topic/type.ts +0 -40
  2206. package/src/services/user/server.test.ts +0 -149
  2207. package/src/services/user/server.ts +0 -47
  2208. package/src/services/user/type.ts +0 -21
  2209. package/src/store/chat/slices/aiChat/actions/__tests__/generateAIChat.test.ts +0 -968
  2210. package/src/store/chat/slices/aiChat/actions/__tests__/generateAIChatV2.test.ts +0 -743
  2211. package/src/store/chat/slices/aiChat/actions/generateAIChat.ts +0 -739
  2212. package/src/store/chat/slices/aiChat/actions/generateAIChatV2.ts +0 -591
  2213. package/src/store/chat/slices/message/action.ts +0 -641
  2214. package/src/store/chat/slices/plugin/action.ts +0 -505
  2215. package/src/store/middleware/createHyperStorage/index.test.ts +0 -341
  2216. package/src/store/middleware/createHyperStorage/index.ts +0 -126
  2217. package/src/store/middleware/createHyperStorage/indexedDB.test.ts +0 -64
  2218. package/src/store/middleware/createHyperStorage/indexedDB.ts +0 -26
  2219. package/src/store/middleware/createHyperStorage/keyMapper.ts +0 -57
  2220. package/src/store/middleware/createHyperStorage/localStorage.ts +0 -18
  2221. package/src/store/middleware/createHyperStorage/type.ts +0 -25
  2222. package/src/store/middleware/createHyperStorage/urlStorage.test.ts +0 -84
  2223. package/src/store/middleware/createHyperStorage/urlStorage.ts +0 -81
  2224. package/src/store/user/slices/preference/selectors.ts +0 -34
  2225. package/src/tools/local-system/Placeholder/index.tsx +0 -25
  2226. package/src/tools/local-system/Render/index.tsx +0 -40
  2227. package/src/tools/web-browsing/Placeholder/PageContent.tsx +0 -27
  2228. package/src/tools/web-browsing/Placeholder/index.tsx +0 -40
  2229. package/src/tools/web-browsing/Render/index.tsx +0 -57
  2230. /package/packages/{utils/src/fetch → fetch-sse/src}/index.ts +0 -0
  2231. /package/src/app/[variants]/{@modal/(.)changelog/modal → (main)/changelog}/features/Pagination.tsx +0 -0
  2232. /package/src/app/[variants]/{@modal/(.)changelog/modal → (main)/changelog}/features/UpdateChangelogStatus.tsx +0 -0
  2233. /package/src/app/[variants]/(main)/chat/{(workspace)/@conversation → components/conversation}/default.tsx +0 -0
  2234. /package/src/app/[variants]/(main)/chat/{(workspace)/@conversation → components/conversation}/features/ChatInput/Desktop/useSendMenuItems.tsx +0 -0
  2235. /package/src/app/[variants]/(main)/chat/{(workspace)/@conversation → components/conversation}/features/ChatInput/Mobile/MentionedUsers/MentionedUserItem.tsx +0 -0
  2236. /package/src/app/[variants]/(main)/chat/{(workspace)/@conversation → components/conversation}/features/ChatInput/Mobile/MentionedUsers/index.tsx +0 -0
  2237. /package/src/app/[variants]/(main)/chat/{(workspace)/@conversation → components/conversation}/features/ChatInput/Mobile/index.tsx +0 -0
  2238. /package/src/app/[variants]/(main)/chat/{(workspace)/@conversation → components/conversation}/features/ChatInput/V1Mobile/ActionBar.tsx +0 -0
  2239. /package/src/app/[variants]/(main)/chat/{(workspace)/@conversation → components/conversation}/features/ChatInput/V1Mobile/Files/index.tsx +0 -0
  2240. /package/src/app/[variants]/(main)/chat/{(workspace)/@conversation → components/conversation}/features/ChatInput/V1Mobile/InputArea/Container.tsx +0 -0
  2241. /package/src/app/[variants]/(main)/chat/{(workspace)/@conversation → components/conversation}/features/ChatInput/V1Mobile/InputArea/index.tsx +0 -0
  2242. /package/src/app/[variants]/(main)/chat/{(workspace)/@conversation → components/conversation}/features/ChatInput/V1Mobile/Send.tsx +0 -0
  2243. /package/src/app/[variants]/(main)/chat/{(workspace)/@conversation → components/conversation}/features/ChatInput/index.tsx +0 -0
  2244. /package/src/app/[variants]/(main)/chat/{(workspace)/@conversation → components/conversation}/features/ChatList/ChatItem/OrchestratorThinking.tsx +0 -0
  2245. /package/src/app/[variants]/(main)/chat/{(workspace)/@conversation → components/conversation}/features/ChatList/ChatItem/ThreadItem.tsx +0 -0
  2246. /package/src/app/[variants]/(main)/chat/{(workspace)/@conversation → components/conversation}/features/ChatList/WelcomeChatItem/AgentWelcome/AddButton.tsx +0 -0
  2247. /package/src/app/[variants]/(main)/chat/{(workspace)/@conversation → components/conversation}/features/ChatList/WelcomeChatItem/AgentWelcome/index.tsx +0 -0
  2248. /package/src/app/[variants]/(main)/chat/{(workspace)/@conversation → components/conversation}/features/ChatList/WelcomeChatItem/GroupWelcome/index.tsx +0 -0
  2249. /package/src/app/[variants]/(main)/chat/{(workspace)/@conversation → components/conversation}/features/ChatList/WelcomeChatItem/GroupWelcome/useTemplateMatching.ts +0 -0
  2250. /package/src/app/[variants]/(main)/chat/{(workspace)/@conversation → components/conversation}/features/ChatList/WelcomeChatItem/index.tsx +0 -0
  2251. /package/src/app/[variants]/(main)/chat/{(workspace)/@conversation → components/conversation}/features/ZenModeToast/Toast.tsx +0 -0
  2252. /package/src/app/[variants]/(main)/chat/{(workspace)/@conversation → components/conversation}/features/ZenModeToast/index.tsx +0 -0
  2253. /package/src/app/[variants]/(main)/chat/{(workspace) → components}/features/AgentSettings/index.tsx +0 -0
  2254. /package/src/app/[variants]/(main)/chat/{(workspace) → components}/features/AgentTeamSettings/index.tsx +0 -0
  2255. /package/src/app/[variants]/(main)/chat/{(workspace) → components}/features/ChangelogModal.tsx +0 -0
  2256. /package/src/app/[variants]/(main)/chat/{(workspace) → components}/features/SettingButton.tsx +0 -0
  2257. /package/src/app/[variants]/(main)/chat/{(workspace) → components}/features/ShareButton/index.tsx +0 -0
  2258. /package/src/app/[variants]/(main)/chat/{(workspace) → components}/features/TelemetryNotification.tsx +0 -0
  2259. /package/src/app/[variants]/(main)/chat/{(workspace)/_layout → components/layout}/Desktop/ChatHeader/HeaderAction.tsx +0 -0
  2260. /package/src/app/[variants]/(main)/chat/{(workspace)/_layout → components/layout}/Desktop/ChatHeader/Main.tsx +0 -0
  2261. /package/src/app/[variants]/(main)/chat/{(workspace)/_layout → components/layout}/Desktop/ChatHeader/Tags/HistoryLimitTags.tsx +0 -0
  2262. /package/src/app/[variants]/(main)/chat/{(workspace)/_layout → components/layout}/Desktop/ChatHeader/Tags/KnowledgeTag.tsx +0 -0
  2263. /package/src/app/[variants]/(main)/chat/{(workspace)/_layout → components/layout}/Desktop/ChatHeader/Tags/MemberCountTag.tsx +0 -0
  2264. /package/src/app/[variants]/(main)/chat/{(workspace)/_layout → components/layout}/Desktop/ChatHeader/Tags/SearchTags.tsx +0 -0
  2265. /package/src/app/[variants]/(main)/chat/{(workspace)/_layout → components/layout}/Desktop/ChatHeader/Tags/index.tsx +0 -0
  2266. /package/src/app/[variants]/(main)/chat/{(workspace)/_layout → components/layout}/Desktop/ChatHeader/index.tsx +0 -0
  2267. /package/src/app/[variants]/(main)/chat/{(workspace)/_layout → components/layout}/Desktop/Portal.tsx +0 -0
  2268. /package/src/app/[variants]/(main)/chat/{(workspace)/_layout → components/layout}/Desktop/TopicPanel.tsx +0 -0
  2269. /package/src/app/[variants]/(main)/chat/{(workspace)/_layout → components/layout}/Desktop/index.tsx +0 -0
  2270. /package/src/app/[variants]/(main)/chat/{(workspace)/_layout → components/layout}/Mobile/ChatHeader/ChatHeaderTitle.tsx +0 -0
  2271. /package/src/app/[variants]/(main)/chat/{(workspace)/_layout → components/layout}/Mobile/ChatHeader/index.tsx +0 -0
  2272. /package/src/app/[variants]/(main)/chat/{(workspace)/_layout → components/layout}/Mobile/TopicModal.tsx +0 -0
  2273. /package/src/app/[variants]/(main)/chat/{(workspace)/_layout → components/layout}/Mobile/index.tsx +0 -0
  2274. /package/src/app/[variants]/(main)/chat/{(workspace)/_layout → components/layout}/type.ts +0 -0
  2275. /package/src/app/[variants]/(main)/chat/{(workspace)/@portal → components/portal}/_layout/Desktop.tsx +0 -0
  2276. /package/src/app/[variants]/(main)/chat/{(workspace)/@portal → components/portal}/_layout/Mobile.tsx +0 -0
  2277. /package/src/app/[variants]/(main)/chat/{(workspace)/@portal → components/portal}/default.tsx +0 -0
  2278. /package/src/app/[variants]/(main)/chat/{(workspace)/@portal → components/portal}/error.tsx +0 -0
  2279. /package/src/app/[variants]/(main)/chat/{(workspace)/@portal → components/portal}/features/Body.tsx +0 -0
  2280. /package/src/app/[variants]/(main)/chat/{(workspace)/@portal → components/portal}/loading.tsx +0 -0
  2281. /package/src/app/[variants]/(main)/chat/{(workspace)/@topic → components/topic}/_layout/Desktop.tsx +0 -0
  2282. /package/src/app/[variants]/(main)/chat/{(workspace)/@topic → components/topic}/_layout/Mobile.tsx +0 -0
  2283. /package/src/app/[variants]/(main)/chat/{(workspace)/@topic → components/topic}/default.tsx +0 -0
  2284. /package/src/app/[variants]/(main)/chat/{(workspace)/@topic → components/topic}/features/AgentConfig/SystemRole.tsx +0 -0
  2285. /package/src/app/[variants]/(main)/chat/{(workspace)/@topic → components/topic}/features/AgentConfig/index.tsx +0 -0
  2286. /package/src/app/[variants]/(main)/chat/{(workspace)/@topic → components/topic}/features/ConfigLayout.tsx +0 -0
  2287. /package/src/app/[variants]/(main)/chat/{(workspace)/@topic → components/topic}/features/ConfigSwitcher.tsx +0 -0
  2288. /package/src/app/[variants]/(main)/chat/{(workspace)/@topic → components/topic}/features/GroupConfig/GroupMember.tsx +0 -0
  2289. /package/src/app/[variants]/(main)/chat/{(workspace)/@topic → components/topic}/features/GroupConfig/GroupMemberItem.tsx +0 -0
  2290. /package/src/app/[variants]/(main)/chat/{(workspace)/@topic → components/topic}/features/GroupConfig/GroupRole.tsx +0 -0
  2291. /package/src/app/[variants]/(main)/chat/{(workspace)/@topic → components/topic}/features/GroupConfig/index.tsx +0 -0
  2292. /package/src/app/[variants]/(main)/chat/{(workspace)/@topic → components/topic}/features/GroupConfig/style.ts +0 -0
  2293. /package/src/app/[variants]/(main)/chat/{(workspace)/@topic → components/topic}/features/SkeletonList.tsx +0 -0
  2294. /package/src/app/[variants]/(main)/chat/{(workspace)/@topic → components/topic}/features/Topic/Header.tsx +0 -0
  2295. /package/src/app/[variants]/(main)/chat/{(workspace)/@topic → components/topic}/features/Topic/TopicListContent/ByTimeMode/GroupItem.tsx +0 -0
  2296. /package/src/app/[variants]/(main)/chat/{(workspace)/@topic → components/topic}/features/Topic/TopicListContent/ByTimeMode/index.tsx +0 -0
  2297. /package/src/app/[variants]/(main)/chat/{(workspace)/@topic → components/topic}/features/Topic/TopicListContent/FlatMode/index.tsx +0 -0
  2298. /package/src/app/[variants]/(main)/chat/{(workspace)/@topic → components/topic}/features/Topic/TopicListContent/SearchResult/index.tsx +0 -0
  2299. /package/src/app/[variants]/(main)/chat/{(workspace)/@topic → components/topic}/features/Topic/TopicListContent/ThreadItem/Content.tsx +0 -0
  2300. /package/src/app/[variants]/(main)/chat/{(workspace)/@topic → components/topic}/features/Topic/TopicListContent/ThreadItem/index.tsx +0 -0
  2301. /package/src/app/[variants]/(main)/chat/{(workspace)/@topic → components/topic}/features/Topic/TopicListContent/ThreadList/index.tsx +0 -0
  2302. /package/src/app/[variants]/(main)/chat/{(workspace)/@topic → components/topic}/features/Topic/TopicListContent/TopicItem/DefaultContent.tsx +0 -0
  2303. /package/src/app/[variants]/(main)/chat/{(workspace)/@topic → components/topic}/features/Topic/TopicListContent/index.tsx +0 -0
  2304. /package/src/app/[variants]/(main)/chat/{(workspace)/@topic → components/topic}/features/Topic/TopicSearchBar/index.tsx +0 -0
  2305. /package/src/app/[variants]/(main)/chat/{(workspace)/@topic → components/topic}/features/Topic/index.tsx +0 -0
  2306. /package/src/app/[variants]/(main)/chat/{@session → session}/features/SessionListContent/CollapseGroup/Actions.tsx +0 -0
  2307. /package/src/app/[variants]/(main)/chat/{@session → session}/features/SessionListContent/CollapseGroup/index.tsx +0 -0
  2308. /package/src/app/[variants]/(main)/chat/{@session → session}/features/SessionListContent/DefaultMode.tsx +0 -0
  2309. /package/src/app/[variants]/(main)/chat/{@session → session}/features/SessionListContent/List/AddButton.tsx +0 -0
  2310. /package/src/app/[variants]/(main)/chat/{@session → session}/features/SessionListContent/ListItem/index.tsx +0 -0
  2311. /package/src/app/[variants]/(main)/chat/{@session → session}/features/SessionListContent/Modals/ConfigGroupModal/GroupItem.tsx +0 -0
  2312. /package/src/app/[variants]/(main)/chat/{@session → session}/features/SessionListContent/Modals/ConfigGroupModal/index.tsx +0 -0
  2313. /package/src/app/[variants]/(main)/chat/{@session → session}/features/SessionListContent/Modals/CreateGroupModal.tsx +0 -0
  2314. /package/src/app/[variants]/(main)/chat/{@session → session}/features/SessionListContent/Modals/RenameGroupModal.tsx +0 -0
  2315. /package/src/app/[variants]/(main)/chat/{@session → session}/features/SessionListContent/SearchMode.tsx +0 -0
  2316. /package/src/app/[variants]/(main)/chat/{@session → session}/features/SessionListContent/index.tsx +0 -0
  2317. /package/src/app/[variants]/(main)/chat/{@session → session}/features/SessionSearchBar.tsx +0 -0
  2318. /package/src/app/[variants]/(main)/chat/{@session → session}/features/SkeletonList.tsx +0 -0
  2319. /package/src/app/[variants]/(main)/chat/{@session/_layout → session/layout}/Desktop/PanelBody.tsx +0 -0
  2320. /package/src/app/[variants]/(main)/chat/{@session/_layout → session/layout}/Desktop/SessionHeader.tsx +0 -0
  2321. /package/src/app/[variants]/(main)/chat/{@session/_layout → session/layout}/Desktop/index.tsx +0 -0
  2322. /package/src/app/[variants]/(main)/chat/{@session/_layout → session/layout}/Mobile/index.tsx +0 -0
  2323. /package/src/app/[variants]/(main)/discover/(detail)/assistant/{[...slugs]/features → features}/DetailProvider.tsx +0 -0
  2324. /package/src/app/[variants]/(main)/discover/(detail)/assistant/{[...slugs]/features → features}/Details/Capabilities/Knowledge.tsx +0 -0
  2325. /package/src/app/[variants]/(main)/discover/(detail)/assistant/{[...slugs]/features → features}/Details/Capabilities/KnowledgeItem.tsx +0 -0
  2326. /package/src/app/[variants]/(main)/discover/(detail)/assistant/{[...slugs]/features → features}/Details/Capabilities/index.tsx +0 -0
  2327. /package/src/app/[variants]/(main)/discover/(detail)/assistant/{[...slugs]/features → features}/Sidebar/Related/Item.tsx +0 -0
  2328. /package/src/app/[variants]/(main)/discover/(detail)/assistant/{[...slugs]/features → features}/Sidebar/Summary/index.tsx +0 -0
  2329. /package/src/app/[variants]/(main)/discover/(detail)/assistant/{[...slugs]/features → features}/Sidebar/index.tsx +0 -0
  2330. /package/src/app/[variants]/(main)/discover/(detail)/assistant/{[...slugs]/loading.tsx → loading.tsx} +0 -0
  2331. /package/src/app/[variants]/(main)/discover/(detail)/mcp/{[slug]/features → features}/Sidebar/ConnectionTypeAlert.tsx +0 -0
  2332. /package/src/app/[variants]/(main)/discover/(detail)/mcp/{[slug]/features → features}/Sidebar/Related/Item.tsx +0 -0
  2333. /package/src/app/[variants]/(main)/discover/(detail)/mcp/{[slug]/features → features}/Sidebar/index.tsx +0 -0
  2334. /package/src/app/[variants]/(main)/discover/(detail)/model/{[...slugs]/features → features}/DetailProvider.tsx +0 -0
  2335. /package/src/app/[variants]/(main)/discover/(detail)/model/{[...slugs]/features → features}/Details/Nav.tsx +0 -0
  2336. /package/src/app/[variants]/(main)/discover/(detail)/model/{[...slugs]/features → features}/Details/Overview/ProviderList/index.tsx +0 -0
  2337. /package/src/app/[variants]/(main)/discover/(detail)/model/{[...slugs]/features → features}/Details/Parameter/index.tsx +0 -0
  2338. /package/src/app/[variants]/(main)/discover/(detail)/model/{[...slugs]/features → features}/Sidebar/Related/Item.tsx +0 -0
  2339. /package/src/app/[variants]/(main)/discover/(detail)/model/{[...slugs]/features → features}/Sidebar/RelatedProviders/Item.tsx +0 -0
  2340. /package/src/app/[variants]/(main)/discover/(detail)/model/{[...slugs]/features → features}/Sidebar/index.tsx +0 -0
  2341. /package/src/app/[variants]/(main)/discover/(detail)/provider/{[...slugs]/features → features}/DetailProvider.tsx +0 -0
  2342. /package/src/app/[variants]/(main)/discover/(detail)/provider/{[...slugs]/features → features}/Details/Guide/index.tsx +0 -0
  2343. /package/src/app/[variants]/(main)/discover/(detail)/provider/{[...slugs]/features → features}/Details/Nav.tsx +0 -0
  2344. /package/src/app/[variants]/(main)/discover/(detail)/provider/{[...slugs]/features → features}/Details/Overview/ModelList/index.tsx +0 -0
  2345. /package/src/app/[variants]/(main)/discover/(detail)/provider/{[...slugs]/features → features}/Details/Overview/index.tsx +0 -0
  2346. /package/src/app/[variants]/(main)/discover/(detail)/provider/{[...slugs]/features → features}/Header.tsx +0 -0
  2347. /package/src/app/[variants]/(main)/discover/(detail)/provider/{[...slugs]/features → features}/Sidebar/Related/Item.tsx +0 -0
  2348. /package/src/app/[variants]/(main)/discover/(detail)/provider/{[...slugs]/features → features}/Sidebar/RelatedModels/Item.tsx +0 -0
  2349. /package/src/app/[variants]/(main)/discover/(detail)/provider/{[...slugs]/features → features}/Sidebar/index.tsx +0 -0
  2350. /package/src/app/[variants]/(main)/{_layout/Desktop → layouts/desktop}/RegisterHotkeys.tsx +0 -0
  2351. /package/src/app/[variants]/(main)/{_layout/Desktop → layouts/desktop}/SideBar/Avatar.test.tsx +0 -0
  2352. /package/src/app/[variants]/(main)/{_layout/Desktop → layouts/desktop}/SideBar/Avatar.tsx +0 -0
  2353. /package/src/app/[variants]/(main)/{_layout/Desktop → layouts/desktop}/SideBar/index.tsx +0 -0
  2354. /package/src/app/[variants]/(main)/settings/provider/detail/newapi/{page.tsx → index.tsx} +0 -0
  2355. /package/src/app/[variants]/{(main)/chat/loading.tsx → loading.tsx} +0 -0
  2356. /package/src/{app/[variants]/(main)/settings/provider/features/ProviderConfig → components/Skeleton}/SkeletonInput.tsx +0 -0
  2357. /package/src/features/{Conversation → ChatList}/Error/ErrorJsonViewer.tsx +0 -0
  2358. /package/src/features/{Conversation → ChatList}/Error/OllamaBizError/InvalidOllamaModel.tsx +0 -0
  2359. /package/src/features/{Conversation → ChatList}/Error/OllamaBizError/index.tsx +0 -0
  2360. /package/src/features/{Conversation → ChatList}/Error/style.tsx +0 -0
  2361. /package/src/features/{Conversation → ChatList}/MarkdownElements/LobeArtifact/Render/Icon.tsx +0 -0
  2362. /package/src/features/{Conversation → ChatList}/MarkdownElements/LobeArtifact/Render/index.tsx +0 -0
  2363. /package/src/features/{Conversation → ChatList}/MarkdownElements/LobeArtifact/index.ts +0 -0
  2364. /package/src/features/{Conversation → ChatList}/MarkdownElements/LobeArtifact/rehypePlugin.test.ts +0 -0
  2365. /package/src/features/{Conversation → ChatList}/MarkdownElements/LobeArtifact/rehypePlugin.ts +0 -0
  2366. /package/src/features/{Conversation → ChatList}/MarkdownElements/LobeThinking/index.ts +0 -0
  2367. /package/src/features/{Conversation → ChatList}/MarkdownElements/LocalFile/Render/index.tsx +0 -0
  2368. /package/src/features/{Conversation → ChatList}/MarkdownElements/LocalFile/index.ts +0 -0
  2369. /package/src/features/{Conversation → ChatList}/MarkdownElements/Mention/Render.tsx +0 -0
  2370. /package/src/features/{Conversation → ChatList}/MarkdownElements/Mention/index.ts +0 -0
  2371. /package/src/features/{Conversation → ChatList}/MarkdownElements/Thinking/index.ts +0 -0
  2372. /package/src/features/{Conversation → ChatList}/MarkdownElements/index.ts +0 -0
  2373. /package/src/features/{Conversation → ChatList}/MarkdownElements/remarkPlugins/createRemarkCustomTagPlugin.ts +0 -0
  2374. /package/src/features/{Conversation → ChatList}/MarkdownElements/remarkPlugins/createRemarkCustomTagWithAttributesPlugin.ts +0 -0
  2375. /package/src/features/{Conversation → ChatList}/MarkdownElements/remarkPlugins/getNodeContent.ts +0 -0
  2376. /package/src/features/{Conversation → ChatList}/MarkdownElements/type.ts +0 -0
  2377. /package/src/features/{Conversation → ChatList}/MarkdownElements/utils.ts +0 -0
  2378. /package/src/features/{Conversation → ChatList}/Messages/Assistant/Actions/Error.tsx +0 -0
  2379. /package/src/features/{Conversation → ChatList}/Messages/Assistant/FileChunks/Item/index.tsx +0 -0
  2380. /package/src/features/{Conversation → ChatList}/Messages/Assistant/FileChunks/Item/style.ts +0 -0
  2381. /package/src/features/{Conversation → ChatList}/Messages/Assistant/FileChunks/index.tsx +0 -0
  2382. /package/src/features/{Conversation → ChatList}/Messages/Assistant/IntentUnderstanding.tsx +0 -0
  2383. /package/src/features/{Conversation → ChatList}/Messages/Assistant/SearchGrounding.tsx +0 -0
  2384. /package/src/features/{Conversation/Messages/Assistant → ChatList/Messages/Group}/Tool/Inspector/Settings.tsx +0 -0
  2385. /package/src/features/{Conversation/Messages/Assistant → ChatList/Messages/Group}/Tool/Render/Arguments/ObjectEntity.tsx +0 -0
  2386. /package/src/features/{Conversation/Messages/Assistant → ChatList/Messages/Group}/Tool/Render/Arguments/ValueCell.tsx +0 -0
  2387. /package/src/features/{Conversation/Messages/Assistant → ChatList/Messages/Group}/Tool/Render/ErrorResponse.tsx +0 -0
  2388. /package/src/features/{Conversation → ChatList}/Messages/Supervisor/TodoList.tsx +0 -0
  2389. /package/src/features/{Conversation/Messages/Assistant → ChatList/Messages}/Tool/Inspector/BuiltinPluginTitle.tsx +0 -0
  2390. /package/src/features/{Conversation/Messages/Assistant → ChatList/Messages}/Tool/Inspector/Debug.tsx +0 -0
  2391. /package/src/features/{Conversation/Messages/Assistant → ChatList/Messages}/Tool/Render/Arguments/index.tsx +0 -0
  2392. /package/src/features/{Conversation/Messages/Assistant → ChatList/Messages}/Tool/Render/KeyValueEditor.tsx +0 -0
  2393. /package/src/features/{Conversation → ChatList}/Messages/User/BelowMessage.tsx +0 -0
  2394. /package/src/features/{Conversation → ChatList}/Messages/User/FileListViewer/Item.tsx +0 -0
  2395. /package/src/features/{Conversation → ChatList}/Messages/User/FileListViewer/index.tsx +0 -0
  2396. /package/src/features/{Conversation → ChatList}/Messages/User/ImageFileListViewer.tsx +0 -0
  2397. /package/src/features/{Conversation → ChatList}/Messages/User/MarkdownRender/ContentPreview.tsx +0 -0
  2398. /package/src/features/{Conversation → ChatList}/Messages/User/MarkdownRender/index.tsx +0 -0
  2399. /package/src/features/{Conversation → ChatList}/Messages/User/MessageContent.tsx +0 -0
  2400. /package/src/features/{Conversation → ChatList}/Messages/User/VideoFileListViewer.tsx +0 -0
  2401. /package/src/features/{Conversation → ChatList}/components/BackBottom/index.tsx +0 -0
  2402. /package/src/features/{Conversation → ChatList}/components/BackBottom/style.ts +0 -0
  2403. /package/src/features/{Conversation → ChatList}/components/ChatItem/ShareMessageModal/SharePdf/PdfPreview.tsx +0 -0
  2404. /package/src/features/{Conversation → ChatList}/components/ChatItem/ShareMessageModal/SharePdf/index.tsx +0 -0
  2405. /package/src/features/{Conversation → ChatList}/components/ChatItem/ShareMessageModal/SharePdf/style.ts +0 -0
  2406. /package/src/features/{Conversation → ChatList}/components/ChatItem/ShareMessageModal/SharePdf/template.ts +0 -0
  2407. /package/src/features/{Conversation → ChatList}/components/ChatItem/ShareMessageModal/SharePdf/usePdfGeneration.ts +0 -0
  2408. /package/src/features/{Conversation → ChatList}/components/Extras/ExtraContainer.tsx +0 -0
  2409. /package/src/features/{Conversation → ChatList}/components/Extras/TTS/FilePlayer.tsx +0 -0
  2410. /package/src/features/{Conversation → ChatList}/components/Extras/TTS/Player.tsx +0 -0
  2411. /package/src/features/{Conversation → ChatList}/components/Extras/TTS/index.tsx +0 -0
  2412. /package/src/features/{Conversation → ChatList}/components/Extras/Translate.tsx +0 -0
  2413. /package/src/features/{Conversation → ChatList}/components/Extras/Usage/UsageDetail/ModelCard.tsx +0 -0
  2414. /package/src/features/{Conversation → ChatList}/components/Extras/Usage/UsageDetail/TokenProgress.tsx +0 -0
  2415. /package/src/features/{Conversation → ChatList}/components/Extras/Usage/UsageDetail/pricing.ts +0 -0
  2416. /package/src/features/{Conversation → ChatList}/components/Extras/Usage/UsageDetail/tokens.test.ts +0 -0
  2417. /package/src/features/{Conversation → ChatList}/components/History/HistoryDivider.tsx +0 -0
  2418. /package/src/features/{Conversation → ChatList}/components/History/index.tsx +0 -0
  2419. /package/src/features/{Conversation → ChatList}/components/OTPInput.tsx +0 -0
  2420. /package/src/features/{Conversation → ChatList}/components/ShareMessageModal/ShareImage/index.tsx +0 -0
  2421. /package/src/features/{Conversation → ChatList}/components/ShareMessageModal/ShareImage/style.ts +0 -0
  2422. /package/src/features/{Conversation → ChatList}/components/ShareMessageModal/ShareImage/type.ts +0 -0
  2423. /package/src/features/{Conversation → ChatList}/components/ShareMessageModal/ShareText/Preview.tsx +0 -0
  2424. /package/src/features/{Conversation → ChatList}/components/ShareMessageModal/ShareText/index.tsx +0 -0
  2425. /package/src/features/{Conversation → ChatList}/components/ShareMessageModal/ShareText/template.test.ts +0 -0
  2426. /package/src/features/{Conversation → ChatList}/components/ShareMessageModal/ShareText/template.ts +0 -0
  2427. /package/src/features/{Conversation → ChatList}/components/ShareMessageModal/ShareText/type.ts +0 -0
  2428. /package/src/features/{Conversation → ChatList}/components/ShareMessageModal/style.ts +0 -0
  2429. /package/src/features/{Conversation → ChatList}/components/ThreadDivider/index.tsx +0 -0
  2430. /package/src/features/{Conversation → ChatList}/context/InPortalThreadContext.ts +0 -0
  2431. /package/src/features/{Conversation → ChatList}/index.ts +0 -0
  2432. /package/src/features/{Conversation → ChatList}/types/index.ts +0 -0
  2433. /package/src/features/{Conversation → ChatList}/utils/markdown.test.ts +0 -0
  2434. /package/src/features/{Conversation → ChatList}/utils/markdown.ts +0 -0
  2435. /package/src/features/{FileManager/FileList/ToolBar → KnowledgeBaseModal/AssignKnowledgeBase}/ViewSwitcher.tsx +0 -0
  2436. /package/src/features/{FileManager → KnowledgeManager}/ChunkDrawer/ChunkList/ChunkItem.tsx +0 -0
  2437. /package/src/features/{FileManager → KnowledgeManager}/ChunkDrawer/ChunkList/index.tsx +0 -0
  2438. /package/src/features/{FileManager → KnowledgeManager}/ChunkDrawer/Content.tsx +0 -0
  2439. /package/src/features/{FileManager → KnowledgeManager}/ChunkDrawer/Loading/index.tsx +0 -0
  2440. /package/src/features/{FileManager → KnowledgeManager}/ChunkDrawer/SimilaritySearchList/Item.tsx +0 -0
  2441. /package/src/features/{FileManager → KnowledgeManager}/ChunkDrawer/SimilaritySearchList/index.tsx +0 -0
  2442. /package/src/features/{FileManager → KnowledgeManager}/ChunkDrawer/index.tsx +0 -0
  2443. /package/src/features/{FileManager/FileList → KnowledgeManager/FileExplorer}/EmptyStatus.tsx +0 -0
  2444. /package/src/features/{FileManager/FileList → KnowledgeManager/FileExplorer}/FileListItem/ChunkTag.tsx +0 -0
  2445. /package/src/features/{FileManager/FileList → KnowledgeManager/FileExplorer}/FileListItem/DropdownMenu.tsx +0 -0
  2446. /package/src/features/{FileManager/FileList → KnowledgeManager/FileExplorer}/FileSkeleton.tsx +0 -0
  2447. /package/src/features/{FileManager/FileList → KnowledgeManager/FileExplorer}/MasonryFileItem/MasonryItemWrapper.tsx +0 -0
  2448. /package/src/features/{FileManager/FileList → KnowledgeManager/FileExplorer}/MasonrySkeleton.tsx +0 -0
  2449. /package/src/features/{FileManager/FileList → KnowledgeManager/FileExplorer}/ToolBar/Config.tsx +0 -0
  2450. /package/src/features/{FileManager/FileList → KnowledgeManager/FileExplorer}/ToolBar/MultiSelectActions.tsx +0 -0
  2451. /package/src/features/{FileManager/FileList → KnowledgeManager/FileExplorer}/ToolBar/index.tsx +0 -0
  2452. /package/src/features/{FileManager/FileList → KnowledgeManager/FileExplorer}/useCheckTaskStatus.ts +0 -0
  2453. /package/src/features/{FileManager → KnowledgeManager}/Header/UploadFileButton.tsx +0 -0
  2454. /package/src/features/{FileManager → KnowledgeManager}/UploadDock/Item.tsx +0 -0
  2455. /package/src/features/{FileManager → KnowledgeManager}/UploadDock/index.tsx +0 -0
  2456. /package/{packages/utils/src → src/utils/server}/__snapshots__/parseModels.test.ts.snap +0 -0
  2457. /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,9 @@
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
+ },
761
770
  "c4ai-aya-expanse-32b": {
762
771
  "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
772
  },
@@ -818,6 +827,9 @@
818
827
  "claude-opus-4-20250514": {
819
828
  "description": "Claude Opus 4 is Anthropic's most powerful model for handling highly complex tasks. It excels in performance, intelligence, fluency, and comprehension."
820
829
  },
830
+ "claude-opus-4-5-20251101": {
831
+ "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."
832
+ },
821
833
  "claude-sonnet-4-20250514": {
822
834
  "description": "Claude Sonnet 4 can generate near-instant responses or extended step-by-step reasoning, allowing users to clearly observe these processes."
823
835
  },
@@ -866,6 +878,9 @@
866
878
  "codex-mini-latest": {
867
879
  "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
880
  },
881
+ "cogito-2.1:671b": {
882
+ "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."
883
+ },
869
884
  "cogview-4": {
870
885
  "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
886
  },
@@ -1043,12 +1058,18 @@
1043
1058
  "deepseek-coder-v2:236b": {
1044
1059
  "description": "DeepSeek Coder V2 is an open-source hybrid expert code model that performs excellently in coding tasks, comparable to GPT4-Turbo."
1045
1060
  },
1061
+ "deepseek-ocr": {
1062
+ "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."
1063
+ },
1046
1064
  "deepseek-r1": {
1047
1065
  "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
1066
  },
1049
1067
  "deepseek-r1-0528": {
1050
1068
  "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
1069
  },
1070
+ "deepseek-r1-250528": {
1071
+ "description": "DeepSeek R1 250528, the full-performance DeepSeek-R1 inference model, ideal for complex mathematical and logical tasks."
1072
+ },
1052
1073
  "deepseek-r1-70b-fast-online": {
1053
1074
  "description": "DeepSeek R1 70B fast version, supporting real-time online search, providing faster response times while maintaining model performance."
1054
1075
  },
@@ -1059,31 +1080,34 @@
1059
1080
  "description": "deepseek-r1-distill-llama is a model distilled from DeepSeek-R1 based on Llama."
1060
1081
  },
1061
1082
  "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."
1083
+ "description": "DeepSeek R1 Distill Llama 70B, a distilled model combining general R1 inference capabilities with the Llama ecosystem."
1063
1084
  },
1064
1085
  "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."
1086
+ "description": "DeepSeek-R1-Distill-Llama-8B is a distilled large language model based on Llama-3.1-8B, utilizing outputs from DeepSeek R1."
1066
1087
  },
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."
1088
+ "deepseek-r1-distill-qianfan-70b": {
1089
+ "description": "DeepSeek R1 Distill Qianfan 70B, a cost-effective R1 distilled model based on Qianfan-70B."
1069
1090
  },
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."
1091
+ "deepseek-r1-distill-qianfan-8b": {
1092
+ "description": "DeepSeek R1 Distill Qianfan 8B, an R1 distilled model based on Qianfan-8B, suitable for small to medium-scale applications."
1093
+ },
1094
+ "deepseek-r1-distill-qianfan-llama-70b": {
1095
+ "description": "DeepSeek R1 Distill Qianfan Llama 70B, an R1 distilled model based on Llama-70B."
1072
1096
  },
1073
1097
  "deepseek-r1-distill-qwen": {
1074
1098
  "description": "deepseek-r1-distill-qwen is a model distilled from DeepSeek-R1 based on Qwen."
1075
1099
  },
1076
1100
  "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."
1101
+ "description": "DeepSeek R1 Distill Qwen 1.5B, an ultra-lightweight R1 distilled model designed for extremely low-resource environments."
1078
1102
  },
1079
1103
  "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."
1104
+ "description": "DeepSeek R1 Distill Qwen 14B, a mid-sized R1 distilled model suitable for multi-scenario deployment."
1081
1105
  },
1082
1106
  "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."
1107
+ "description": "DeepSeek R1 Distill Qwen 32B, an R1 distilled model based on Qwen-32B, balancing performance and cost."
1084
1108
  },
1085
1109
  "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."
1110
+ "description": "DeepSeek R1 Distill Qwen 7B, a lightweight R1 distilled model ideal for edge computing and enterprise private deployments."
1087
1111
  },
1088
1112
  "deepseek-r1-fast-online": {
1089
1113
  "description": "DeepSeek R1 full fast version, supporting real-time online search, combining the powerful capabilities of 671B parameters with faster response times."
@@ -1112,12 +1136,27 @@
1112
1136
  "deepseek-v3.1-terminus": {
1113
1137
  "description": "DeepSeek-V3.1-Terminus is an optimized large language model developed by DeepSeek, specifically tailored for terminal devices."
1114
1138
  },
1139
+ "deepseek-v3.1-think-250821": {
1140
+ "description": "DeepSeek V3.1 Think 250821, a deep reasoning model aligned with the Terminus version, suitable for high-performance inference scenarios."
1141
+ },
1115
1142
  "deepseek-v3.1:671b": {
1116
1143
  "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
1144
  },
1118
1145
  "deepseek-v3.2-exp": {
1119
1146
  "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
1147
  },
1148
+ "deepseek-v3.2-think": {
1149
+ "description": "DeepSeek V3.2 Think, a full-performance deep reasoning model with enhanced long-chain reasoning capabilities."
1150
+ },
1151
+ "deepseek-vl2": {
1152
+ "description": "DeepSeek VL2, a multimodal model supporting image-text understanding and fine-grained visual question answering."
1153
+ },
1154
+ "deepseek-vl2-small": {
1155
+ "description": "DeepSeek VL2 Small, a lightweight multimodal version designed for resource-constrained and high-concurrency scenarios."
1156
+ },
1157
+ "deepseek/deepseek-chat": {
1158
+ "description": "DeepSeek-V3 is a high-performance hybrid reasoning model from the DeepSeek team, suitable for complex tasks and tool integration."
1159
+ },
1121
1160
  "deepseek/deepseek-chat-v3-0324": {
1122
1161
  "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
1162
  },
@@ -1125,19 +1164,19 @@
1125
1164
  "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
1165
  },
1127
1166
  "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."
1167
+ "description": "DeepSeek-V3.1 is a long-context hybrid reasoning model from DeepSeek, supporting cognitive/non-cognitive hybrid modes and tool integration."
1129
1168
  },
1130
1169
  "deepseek/deepseek-r1": {
1131
1170
  "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
1171
  },
1133
1172
  "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."
1173
+ "description": "DeepSeek R1 0528 is an updated variant from DeepSeek, focused on open-source usability and deep reasoning."
1135
1174
  },
1136
1175
  "deepseek/deepseek-r1-0528:free": {
1137
1176
  "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
1177
  },
1139
1178
  "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."
1179
+ "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
1180
  },
1142
1181
  "deepseek/deepseek-r1-distill-llama-8b": {
1143
1182
  "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 +1193,9 @@
1154
1193
  "deepseek/deepseek-r1:free": {
1155
1194
  "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
1195
  },
1196
+ "deepseek/deepseek-reasoner": {
1197
+ "description": "DeepSeek-V3 Thinking (reasoner) is an experimental reasoning model from DeepSeek, designed for high-complexity reasoning tasks."
1198
+ },
1157
1199
  "deepseek/deepseek-v3": {
1158
1200
  "description": "A fast, general-purpose large language model with enhanced reasoning capabilities."
1159
1201
  },
@@ -1235,6 +1277,9 @@
1235
1277
  "doubao-seed-1.6-vision": {
1236
1278
  "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
1279
  },
1280
+ "doubao-seed-code": {
1281
+ "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."
1282
+ },
1238
1283
  "doubao-seededit-3-0-i2i-250628": {
1239
1284
  "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
1285
  },
@@ -1253,83 +1298,92 @@
1253
1298
  "emohaa": {
1254
1299
  "description": "Emohaa is a psychological model with professional counseling capabilities, helping users understand emotional issues."
1255
1300
  },
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."
1301
+ "ernie-4.5-0.3b": {
1302
+ "description": "ERNIE 4.5 0.3B, an open-source lightweight model suitable for local and customized deployments."
1279
1303
  },
1280
1304
  "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."
1305
+ "description": "ERNIE 4.5 21B A3B, an open-source large-parameter model with stronger performance in understanding and generation tasks."
1282
1306
  },
1283
1307
  "ernie-4.5-300b-a47b": {
1284
1308
  "description": "ERNIE 4.5 300B A47B is a large-scale Mixture of Experts model from Baidu's Wenxin series, delivering exceptional reasoning performance."
1285
1309
  },
1286
1310
  "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."
1311
+ "description": "ERNIE 4.5 8K Preview, an 8K context preview model for experiencing and testing ERNIE 4.5 capabilities."
1288
1312
  },
1289
1313
  "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."
1314
+ "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."
1315
+ },
1316
+ "ernie-4.5-turbo-128k-preview": {
1317
+ "description": "ERNIE 4.5 Turbo 128K Preview, offering the same capabilities as the official version, ideal for integration testing and staging."
1291
1318
  },
1292
1319
  "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."
1320
+ "description": "ERNIE 4.5 Turbo 32K, a medium-to-long context version suitable for Q&A, knowledge retrieval, and multi-turn conversations."
1321
+ },
1322
+ "ernie-4.5-turbo-latest": {
1323
+ "description": "ERNIE 4.5 Turbo Latest, optimized for overall performance, ideal as a general-purpose production model."
1324
+ },
1325
+ "ernie-4.5-turbo-vl": {
1326
+ "description": "ERNIE 4.5 Turbo VL, a mature multimodal model for image-text understanding and recognition in production environments."
1294
1327
  },
1295
1328
  "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."
1329
+ "description": "ERNIE 4.5 Turbo VL 32K, a medium-to-long text multimodal version for joint understanding of long documents and images."
1330
+ },
1331
+ "ernie-4.5-turbo-vl-32k-preview": {
1332
+ "description": "ERNIE 4.5 Turbo VL 32K Preview, a 32K multimodal preview version for evaluating long-context visual capabilities."
1333
+ },
1334
+ "ernie-4.5-turbo-vl-latest": {
1335
+ "description": "ERNIE 4.5 Turbo VL Latest, the latest multimodal version offering improved image-text understanding and reasoning."
1336
+ },
1337
+ "ernie-4.5-turbo-vl-preview": {
1338
+ "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."
1339
+ },
1340
+ "ernie-4.5-vl-28b-a3b": {
1341
+ "description": "ERNIE 4.5 VL 28B A3B, an open-source multimodal model supporting image-text understanding and reasoning tasks."
1342
+ },
1343
+ "ernie-5.0-thinking-latest": {
1344
+ "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."
1345
+ },
1346
+ "ernie-5.0-thinking-preview": {
1347
+ "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
1348
  },
1298
1349
  "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."
1350
+ "description": "ERNIE Character 8K, a persona dialogue model ideal for IP character building and long-term companion conversations."
1300
1351
  },
1301
1352
  "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."
1353
+ "description": "ERNIE Character Fiction 8K, a persona model for novel and story creation, suitable for generating long-form narratives."
1354
+ },
1355
+ "ernie-char-fiction-8k-preview": {
1356
+ "description": "ERNIE Character Fiction 8K Preview, a preview model for character and story creation, designed for feature testing and experience."
1303
1357
  },
1304
1358
  "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."
1359
+ "description": "ERNIE iRAG Edit, an image editing model supporting image erasure, redrawing, and variant generation."
1306
1360
  },
1307
1361
  "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."
1362
+ "description": "ERNIE Lite 8K, a lightweight general-purpose model suitable for cost-sensitive daily Q&A and content generation."
1309
1363
  },
1310
1364
  "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."
1365
+ "description": "ERNIE Lite Pro 128K, a lightweight high-performance model ideal for latency- and cost-sensitive business scenarios."
1312
1366
  },
1313
1367
  "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."
1368
+ "description": "ERNIE Novel 8K, a model for long-form novel and IP story creation, skilled in multi-character and multi-threaded storytelling."
1315
1369
  },
1316
1370
  "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."
1371
+ "description": "ERNIE Speed 128K, a large model with no input/output cost, suitable for long-text understanding and large-scale trials."
1372
+ },
1373
+ "ernie-speed-8k": {
1374
+ "description": "ERNIE Speed 8K, a free and fast model ideal for daily conversations and lightweight text tasks."
1318
1375
  },
1319
1376
  "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."
1377
+ "description": "ERNIE Speed Pro 128K, a high-concurrency, cost-effective model suitable for large-scale online services and enterprise applications."
1321
1378
  },
1322
1379
  "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."
1380
+ "description": "ERNIE Tiny 8K, an ultra-lightweight model for simple Q&A, classification, and other low-cost inference scenarios."
1330
1381
  },
1331
1382
  "ernie-x1-turbo-32k": {
1332
- "description": "The model performs better in terms of effectiveness and performance compared to ERNIE-X1-32K."
1383
+ "description": "ERNIE X1 Turbo 32K, a high-speed reasoning model with 32K long context, ideal for complex reasoning and multi-turn dialogue."
1384
+ },
1385
+ "ernie-x1.1-preview": {
1386
+ "description": "ERNIE X1.1 Preview, a preview version of the ERNIE X1.1 reasoning model, suitable for capability validation and testing."
1333
1387
  },
1334
1388
  "fal-ai/bytedance/seedream/v4": {
1335
1389
  "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 +1443,7 @@
1389
1443
  "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
1444
  },
1391
1445
  "flux.1-schnell": {
1392
- "description": "A 12-billion-parameter rectified flow transformer capable of generating images based on text descriptions."
1446
+ "description": "FLUX.1-schnell, a high-performance image generation model for fast creation of multi-style images."
1393
1447
  },
1394
1448
  "gemini-1.0-pro-001": {
1395
1449
  "description": "Gemini 1.0 Pro 001 (Tuning) offers stable and tunable performance, making it an ideal choice for complex task solutions."
@@ -1454,9 +1508,6 @@
1454
1508
  "gemini-2.0-flash-lite-001": {
1455
1509
  "description": "Gemini 2.0 Flash is a variant of the model optimized for cost-effectiveness and low latency."
1456
1510
  },
1457
- "gemini-2.0-flash-preview-image-generation": {
1458
- "description": "Gemini 2.0 Flash preview model, supports image generation"
1459
- },
1460
1511
  "gemini-2.5-flash": {
1461
1512
  "description": "Gemini 2.5 Flash is Google's most cost-effective model, offering comprehensive capabilities."
1462
1513
  },
@@ -1484,9 +1535,6 @@
1484
1535
  "gemini-2.5-flash-preview-04-17": {
1485
1536
  "description": "Gemini 2.5 Flash Preview is Google's most cost-effective model, offering a comprehensive set of features."
1486
1537
  },
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
1538
  "gemini-2.5-flash-preview-09-2025": {
1491
1539
  "description": "Preview release (September 25th, 2025) of Gemini 2.5 Flash"
1492
1540
  },
@@ -1502,6 +1550,15 @@
1502
1550
  "gemini-2.5-pro-preview-06-05": {
1503
1551
  "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
1552
  },
1553
+ "gemini-3-pro-image-preview": {
1554
+ "description": "Gemini 3 Pro Image (Nano Banana Pro) is Google’s image generation model, also supporting multimodal dialogue."
1555
+ },
1556
+ "gemini-3-pro-image-preview:image": {
1557
+ "description": "Gemini 3 Pro Image (Nano Banana Pro) is Google’s image generation model, also supporting multimodal dialogue."
1558
+ },
1559
+ "gemini-3-pro-preview": {
1560
+ "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."
1561
+ },
1505
1562
  "gemini-flash-latest": {
1506
1563
  "description": "Latest release of Gemini Flash"
1507
1564
  },
@@ -1538,6 +1595,9 @@
1538
1595
  "glm-4-0520": {
1539
1596
  "description": "GLM-4-0520 is the latest model version designed for highly complex and diverse tasks, demonstrating outstanding performance."
1540
1597
  },
1598
+ "glm-4-32b-0414": {
1599
+ "description": "GLM-4 32B 0414, a general-purpose large model from the GLM series, supporting multi-task text generation and understanding."
1600
+ },
1541
1601
  "glm-4-9b-chat": {
1542
1602
  "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
1603
  },
@@ -1622,8 +1682,11 @@
1622
1682
  "glm-zero-preview": {
1623
1683
  "description": "GLM-Zero-Preview possesses strong complex reasoning abilities, excelling in logical reasoning, mathematics, programming, and other fields."
1624
1684
  },
1685
+ "global.anthropic.claude-opus-4-5-20251101-v1:0": {
1686
+ "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."
1687
+ },
1625
1688
  "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."
1689
+ "description": "Gemini 2.0 Flash is Google’s high-performance reasoning model, suitable for extended multimodal tasks."
1627
1690
  },
1628
1691
  "google/gemini-2.0-flash-001": {
1629
1692
  "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 +1697,23 @@
1634
1697
  "google/gemini-2.0-flash-lite": {
1635
1698
  "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
1699
  },
1700
+ "google/gemini-2.0-flash-lite-001": {
1701
+ "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."
1702
+ },
1637
1703
  "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."
1704
+ "description": "The Gemini 2.5 Flash (Lite/Pro/Flash) series are Google’s reasoning models ranging from low-latency to high-performance."
1705
+ },
1706
+ "google/gemini-2.5-flash-image": {
1707
+ "description": "Gemini 2.5 Flash Image (Nano Banana) is Google’s image generation model, also supporting multimodal dialogue."
1708
+ },
1709
+ "google/gemini-2.5-flash-image-free": {
1710
+ "description": "Gemini 2.5 Flash Image Free Edition supports limited multimodal generation."
1639
1711
  },
1640
1712
  "google/gemini-2.5-flash-image-preview": {
1641
1713
  "description": "Gemini 2.5 Flash experimental model, supporting image generation."
1642
1714
  },
1643
1715
  "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."
1716
+ "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
1717
  },
1646
1718
  "google/gemini-2.5-flash-preview": {
1647
1719
  "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 +1722,26 @@
1650
1722
  "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
1723
  },
1652
1724
  "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."
1725
+ "description": "Gemini 2.5 Pro is Google’s flagship reasoning model, supporting long context and complex tasks."
1726
+ },
1727
+ "google/gemini-2.5-pro-free": {
1728
+ "description": "Gemini 2.5 Pro Free Edition supports limited multimodal long-context usage, ideal for trials and lightweight workflows."
1654
1729
  },
1655
1730
  "google/gemini-2.5-pro-preview": {
1656
1731
  "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
1732
  },
1733
+ "google/gemini-3-pro-image-preview": {
1734
+ "description": "Gemini 3 Pro Image (Nano Banana Pro) is Google's image generation model, which also supports multimodal conversations."
1735
+ },
1736
+ "google/gemini-3-pro-image-preview-free": {
1737
+ "description": "Gemini 3 Pro Image Free Edition supports limited multimodal generation."
1738
+ },
1739
+ "google/gemini-3-pro-preview": {
1740
+ "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."
1741
+ },
1742
+ "google/gemini-3-pro-preview-free": {
1743
+ "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."
1744
+ },
1658
1745
  "google/gemini-embedding-001": {
1659
1746
  "description": "A state-of-the-art embedding model delivering excellent performance on English, multilingual, and code tasks."
1660
1747
  },
@@ -1826,6 +1913,18 @@
1826
1913
  "gpt-5-pro": {
1827
1914
  "description": "GPT-5 Pro leverages greater computational power for deeper reasoning and consistently delivers improved answers."
1828
1915
  },
1916
+ "gpt-5.1": {
1917
+ "description": "GPT-5.1 — A flagship model optimized for coding and agent tasks, featuring configurable reasoning strength and extended context support."
1918
+ },
1919
+ "gpt-5.1-chat-latest": {
1920
+ "description": "GPT-5.1 Chat: A variant of GPT-5.1 tailored for ChatGPT, ideal for conversational scenarios."
1921
+ },
1922
+ "gpt-5.1-codex": {
1923
+ "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."
1924
+ },
1925
+ "gpt-5.1-codex-mini": {
1926
+ "description": "GPT-5.1 Codex mini: A smaller, more cost-effective Codex variant optimized for agentic coding tasks."
1927
+ },
1829
1928
  "gpt-audio": {
1830
1929
  "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
1930
  },
@@ -1868,6 +1967,12 @@
1868
1967
  "grok-4-0709": {
1869
1968
  "description": "xAI's Grok 4, featuring strong reasoning capabilities."
1870
1969
  },
1970
+ "grok-4-1-fast-non-reasoning": {
1971
+ "description": "Cutting-edge multimodal model optimized specifically for high-performance agent tool invocation."
1972
+ },
1973
+ "grok-4-1-fast-reasoning": {
1974
+ "description": "Cutting-edge multimodal model optimized specifically for high-performance agent tool invocation."
1975
+ },
1871
1976
  "grok-4-fast-non-reasoning": {
1872
1977
  "description": "We are excited to release Grok 4 Fast, our latest advancement in cost-effective reasoning models."
1873
1978
  },
@@ -2001,32 +2106,47 @@
2001
2106
  "description": "Imagen 4th-generation text-to-image model series"
2002
2107
  },
2003
2108
  "imagen-4.0-generate-preview-06-06": {
2004
- "description": "Imagen 4th generation text-to-image model series"
2109
+ "description": "Imagen 4th-generation text-to-image model series."
2005
2110
  },
2006
2111
  "imagen-4.0-ultra-generate-001": {
2007
2112
  "description": "Imagen 4th-generation text-to-image model, Ultra version"
2008
2113
  },
2009
2114
  "imagen-4.0-ultra-generate-preview-06-06": {
2010
- "description": "Imagen 4th generation text-to-image model series Ultra version"
2115
+ "description": "Ultra version of the 4th-generation Imagen text-to-image model series."
2011
2116
  },
2012
2117
  "inception/mercury-coder-small": {
2013
2118
  "description": "Mercury Coder Small is ideal for code generation, debugging, and refactoring tasks, offering minimal latency."
2014
2119
  },
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
2120
  "inclusionAI/Ling-flash-2.0": {
2019
2121
  "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
2122
  },
2021
2123
  "inclusionAI/Ling-mini-2.0": {
2022
2124
  "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
2125
  },
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
2126
  "inclusionAI/Ring-flash-2.0": {
2028
2127
  "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
2128
  },
2129
+ "inclusionai/ling-1t": {
2130
+ "description": "Ling-1T is inclusionAI’s 1T MoE large model, optimized for high-intensity reasoning tasks and large-scale context."
2131
+ },
2132
+ "inclusionai/ling-flash-2.0": {
2133
+ "description": "Ling-flash-2.0 is inclusionAI’s MoE model, optimized for efficiency and reasoning performance, suitable for medium to large-scale tasks."
2134
+ },
2135
+ "inclusionai/ling-mini-2.0": {
2136
+ "description": "Ling-mini-2.0 is a lightweight MoE model from inclusionAI, significantly reducing cost while maintaining reasoning capabilities."
2137
+ },
2138
+ "inclusionai/ming-flash-omini-preview": {
2139
+ "description": "Ming-flash-omni Preview is inclusionAI’s multimodal model supporting voice, image, and video input, with enhanced image rendering and speech recognition capabilities."
2140
+ },
2141
+ "inclusionai/ring-1t": {
2142
+ "description": "Ring-1T is inclusionAI’s trillion-parameter MoE reasoning model, designed for large-scale reasoning and research tasks."
2143
+ },
2144
+ "inclusionai/ring-flash-2.0": {
2145
+ "description": "Ring-flash-2.0 is a high-throughput variant of the Ring model from inclusionAI, emphasizing speed and cost efficiency."
2146
+ },
2147
+ "inclusionai/ring-mini-2.0": {
2148
+ "description": "Ring-mini-2.0 is a high-throughput, lightweight MoE version from inclusionAI, primarily used in concurrent scenarios."
2149
+ },
2030
2150
  "internlm/internlm2_5-7b-chat": {
2031
2151
  "description": "InternLM2.5 offers intelligent dialogue solutions across multiple scenarios."
2032
2152
  },
@@ -2036,14 +2156,26 @@
2036
2156
  "internlm3-latest": {
2037
2157
  "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
2158
  },
2159
+ "internvl2.5-38b-mpo": {
2160
+ "description": "InternVL2.5 38B MPO, a multimodal pre-trained model supporting complex image-text reasoning tasks."
2161
+ },
2039
2162
  "internvl2.5-latest": {
2040
2163
  "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
2164
  },
2165
+ "internvl3-14b": {
2166
+ "description": "InternVL3 14B, a mid-sized multimodal model balancing performance and cost."
2167
+ },
2168
+ "internvl3-1b": {
2169
+ "description": "InternVL3 1B, a lightweight multimodal model suitable for deployment in resource-constrained environments."
2170
+ },
2171
+ "internvl3-38b": {
2172
+ "description": "InternVL3 38B, a large-scale open-source multimodal model for high-precision image-text understanding tasks."
2173
+ },
2042
2174
  "internvl3-latest": {
2043
2175
  "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
2176
  },
2045
2177
  "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."
2178
+ "description": "ERNIE iRAG, an image retrieval-augmented generation model supporting image search, image-text retrieval, and content generation."
2047
2179
  },
2048
2180
  "jamba-large": {
2049
2181
  "description": "Our most powerful and advanced model, designed for handling complex enterprise-level tasks with exceptional performance."
@@ -2064,7 +2196,13 @@
2064
2196
  "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
2197
  },
2066
2198
  "kimi-k2-instruct": {
2067
- "description": "Kimi K2 Instruct is a large language model developed by Moonshot AI, featuring ultra-long context processing capabilities."
2199
+ "description": "Kimi K2 Instruct, the official Kimi inference model supporting long context, code, Q&A, and more."
2200
+ },
2201
+ "kimi-k2-thinking": {
2202
+ "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."
2203
+ },
2204
+ "kimi-k2-thinking-turbo": {
2205
+ "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
2206
  },
2069
2207
  "kimi-k2-turbo-preview": {
2070
2208
  "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 +2213,8 @@
2075
2213
  "kimi-latest": {
2076
2214
  "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
2215
  },
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."
2216
+ "kuaishou/kat-coder-pro-v1": {
2217
+ "description": "KAT-Coder-Pro-V1 (limited-time free) focuses on code understanding and automated programming, designed for efficient coding agent tasks."
2080
2218
  },
2081
2219
  "learnlm-1.5-pro-experimental": {
2082
2220
  "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 +2258,6 @@
2120
2258
  "llama-3.3-instruct": {
2121
2259
  "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
2260
  },
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
2261
  "llama3-70b-8192": {
2127
2262
  "description": "Meta Llama 3 70B provides unparalleled complexity handling capabilities, tailored for high-demand projects."
2128
2263
  },
@@ -2174,6 +2309,9 @@
2174
2309
  "megrez-3b-instruct": {
2175
2310
  "description": "Megrez 3B Instruct is a compact and efficient model developed by Wuwen Xinqiong."
2176
2311
  },
2312
+ "meituan/longcat-flash-chat": {
2313
+ "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."
2314
+ },
2177
2315
  "meta-llama-3-70b-instruct": {
2178
2316
  "description": "A powerful 70-billion parameter model excelling in reasoning, coding, and broad language applications."
2179
2317
  },
@@ -2405,6 +2543,12 @@
2405
2543
  "minimax-m2": {
2406
2544
  "description": "MiniMax M2 is a high-efficiency large language model built for coding and agent-based workflows."
2407
2545
  },
2546
+ "minimax/minimax-m2": {
2547
+ "description": "MiniMax-M2 is a cost-effective model with strong performance in coding and agent tasks, suitable for various engineering scenarios."
2548
+ },
2549
+ "minimaxai/minimax-m2": {
2550
+ "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."
2551
+ },
2408
2552
  "ministral-3b-latest": {
2409
2553
  "description": "Ministral 3B is Mistral's top-tier edge model."
2410
2554
  },
@@ -2546,15 +2690,27 @@
2546
2690
  "moonshotai/Kimi-K2-Instruct-0905": {
2547
2691
  "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
2692
  },
2693
+ "moonshotai/Kimi-K2-Thinking": {
2694
+ "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."
2695
+ },
2549
2696
  "moonshotai/kimi-k2": {
2550
2697
  "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
2698
  },
2699
+ "moonshotai/kimi-k2-0711": {
2700
+ "description": "Kimi K2 0711 is the Instruct version of the Kimi series, ideal for high-quality coding and tool usage scenarios."
2701
+ },
2552
2702
  "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."
2703
+ "description": "Kimi K2 0905 is the September 5th update of the Kimi series, with expanded context and improved reasoning and coding performance."
2554
2704
  },
2555
2705
  "moonshotai/kimi-k2-instruct-0905": {
2556
2706
  "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
2707
  },
2708
+ "moonshotai/kimi-k2-thinking": {
2709
+ "description": "Kimi K2 Thinking is Moonshot’s optimized model for deep reasoning tasks, equipped with general agent capabilities."
2710
+ },
2711
+ "moonshotai/kimi-k2-thinking-turbo": {
2712
+ "description": "Kimi K2 Thinking Turbo is the high-speed version of Kimi K2 Thinking, maintaining deep reasoning capabilities while significantly reducing response latency."
2713
+ },
2558
2714
  "morph/morph-v3-fast": {
2559
2715
  "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
2716
  },
@@ -2577,7 +2733,7 @@
2577
2733
  "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
2734
  },
2579
2735
  "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."
2736
+ "description": "Smaller and faster than o1-preview, with 80% lower cost. Performs well in code generation and tasks involving small context windows."
2581
2737
  },
2582
2738
  "o1-preview": {
2583
2739
  "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 +2793,49 @@
2637
2793
  "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
2794
  },
2639
2795
  "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."
2796
+ "description": "The GPT-4.1 series offers extended context and enhanced engineering and reasoning capabilities."
2641
2797
  },
2642
2798
  "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."
2799
+ "description": "GPT-4.1 Mini provides lower latency and better cost-efficiency, suitable for medium-context scenarios."
2644
2800
  },
2645
2801
  "openai/gpt-4.1-nano": {
2646
- "description": "GPT-4.1 nano is the fastest and most cost-effective GPT 4.1 model."
2802
+ "description": "GPT-4.1 Nano is a low-cost, low-latency option ideal for high-frequency short conversations or classification tasks."
2647
2803
  },
2648
2804
  "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."
2805
+ "description": "The GPT-4o series is OpenAI’s Omni model, supporting text + image input and text output."
2650
2806
  },
2651
2807
  "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."
2808
+ "description": "GPT-4o-mini is a fast, compact version of GPT-4o, suitable for low-latency multimodal scenarios."
2653
2809
  },
2654
2810
  "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."
2811
+ "description": "GPT-5 is OpenAIs high-performance model, suitable for a wide range of production and research tasks."
2812
+ },
2813
+ "openai/gpt-5-chat": {
2814
+ "description": "GPT-5 Chat is a GPT-5 variant optimized for conversational scenarios, reducing latency to enhance interaction."
2815
+ },
2816
+ "openai/gpt-5-codex": {
2817
+ "description": "GPT-5-Codex is a GPT-5 variant further optimized for coding tasks, ideal for large-scale code workflows."
2656
2818
  },
2657
2819
  "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."
2820
+ "description": "GPT-5 Mini is a compact version of the GPT-5 family, suitable for low-latency, low-cost scenarios."
2659
2821
  },
2660
2822
  "openai/gpt-5-nano": {
2661
- "description": "GPT-5 nano is a high-throughput model excelling at simple instruction or classification tasks."
2823
+ "description": "GPT-5 Nano is the ultra-compact version in the family, ideal for scenarios with strict cost and latency requirements."
2824
+ },
2825
+ "openai/gpt-5-pro": {
2826
+ "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."
2827
+ },
2828
+ "openai/gpt-5.1": {
2829
+ "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."
2830
+ },
2831
+ "openai/gpt-5.1-chat": {
2832
+ "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."
2833
+ },
2834
+ "openai/gpt-5.1-codex": {
2835
+ "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."
2836
+ },
2837
+ "openai/gpt-5.1-codex-mini": {
2838
+ "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
2839
  },
2663
2840
  "openai/gpt-oss-120b": {
2664
2841
  "description": "An extremely capable general-purpose large language model with powerful, controllable reasoning abilities."
@@ -2685,7 +2862,7 @@
2685
2862
  "description": "O3-mini high inference level version provides high intelligence at the same cost and latency targets as o1-mini."
2686
2863
  },
2687
2864
  "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."
2865
+ "description": "OpenAI o4-mini is a compact and efficient reasoning model from OpenAI, ideal for low-latency scenarios."
2689
2866
  },
2690
2867
  "openai/o4-mini-high": {
2691
2868
  "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 +2912,54 @@
2735
2912
  "pro-deepseek-v3": {
2736
2913
  "description": "Enterprise-exclusive service model with concurrent service support."
2737
2914
  },
2915
+ "qianfan-70b": {
2916
+ "description": "Qianfan 70B, a large-parameter Chinese model suitable for high-quality content generation and complex reasoning tasks."
2917
+ },
2918
+ "qianfan-8b": {
2919
+ "description": "Qianfan 8B, a medium-sized general-purpose model balancing cost and performance for text generation and Q&A."
2920
+ },
2921
+ "qianfan-agent-intent-32k": {
2922
+ "description": "Qianfan Agent Intent 32K, a model for intent recognition and agent orchestration, supporting long-context scenarios."
2923
+ },
2924
+ "qianfan-agent-lite-8k": {
2925
+ "description": "Qianfan Agent Lite 8K, a lightweight agent model for low-cost multi-turn dialogue and business orchestration."
2926
+ },
2927
+ "qianfan-agent-speed-32k": {
2928
+ "description": "Qianfan Agent Speed 32K, a high-throughput agent model for large-scale, multi-task agent applications."
2929
+ },
2930
+ "qianfan-agent-speed-8k": {
2931
+ "description": "Qianfan Agent Speed 8K, a high-concurrency agent model for short-to-medium conversations and fast response."
2932
+ },
2933
+ "qianfan-check-vl": {
2934
+ "description": "Qianfan Check VL, a multimodal content moderation and detection model supporting image-text compliance and recognition tasks."
2935
+ },
2936
+ "qianfan-composition": {
2937
+ "description": "Qianfan Composition, a multimodal creative model supporting integrated image-text understanding and generation."
2938
+ },
2939
+ "qianfan-engcard-vl": {
2940
+ "description": "Qianfan EngCard VL, a multimodal recognition model focused on English-language scenarios."
2941
+ },
2942
+ "qianfan-lightning-128b-a19b": {
2943
+ "description": "Qianfan Lightning 128B A19B, a high-performance Chinese general-purpose model for complex Q&A and large-scale reasoning tasks."
2944
+ },
2945
+ "qianfan-llama-vl-8b": {
2946
+ "description": "Qianfan Llama VL 8B, a multimodal model based on Llama for general image-text understanding tasks."
2947
+ },
2948
+ "qianfan-multipicocr": {
2949
+ "description": "Qianfan MultiPicOCR, a multi-image OCR model supporting text detection and recognition across multiple images."
2950
+ },
2951
+ "qianfan-qi-vl": {
2952
+ "description": "Qianfan QI VL, a multimodal Q&A model supporting accurate retrieval and question answering in complex image-text scenarios."
2953
+ },
2954
+ "qianfan-singlepicocr": {
2955
+ "description": "Qianfan SinglePicOCR, a single-image OCR model supporting high-precision character recognition."
2956
+ },
2957
+ "qianfan-vl-70b": {
2958
+ "description": "Qianfan VL 70B, a large-parameter vision-language model for complex image-text understanding scenarios."
2959
+ },
2960
+ "qianfan-vl-8b": {
2961
+ "description": "Qianfan VL 8B, a lightweight vision-language model suitable for daily image-text Q&A and analysis."
2962
+ },
2738
2963
  "qvq-72b-preview": {
2739
2964
  "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
2965
  },
@@ -2747,9 +2972,6 @@
2747
2972
  "qwen-3-32b": {
2748
2973
  "description": "Qwen 3 32B: A strong performer in multilingual and coding tasks, suitable for medium-scale production use."
2749
2974
  },
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
2975
  "qwen-coder-plus": {
2754
2976
  "description": "Tongyi Qianwen coding model."
2755
2977
  },
@@ -2841,7 +3063,7 @@
2841
3063
  "description": "A powerful medium-sized code model supporting 32K context length, proficient in multilingual programming."
2842
3064
  },
2843
3065
  "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."
3066
+ "description": "Qwen3-14B is the 14B version in the Qwen series, suitable for general reasoning and dialogue tasks."
2845
3067
  },
2846
3068
  "qwen/qwen3-14b:free": {
2847
3069
  "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 +3071,12 @@
2849
3071
  "qwen/qwen3-235b-a22b": {
2850
3072
  "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
3073
  },
3074
+ "qwen/qwen3-235b-a22b-2507": {
3075
+ "description": "Qwen3-235B-A22B-Instruct-2507 is an Instruct version in the Qwen3 series, supporting multilingual instructions and long-context scenarios."
3076
+ },
3077
+ "qwen/qwen3-235b-a22b-thinking-2507": {
3078
+ "description": "Qwen3-235B-A22B-Thinking-2507 is a Thinking variant of Qwen3, enhanced for complex math and reasoning tasks."
3079
+ },
2852
3080
  "qwen/qwen3-235b-a22b:free": {
2853
3081
  "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
3082
  },
@@ -2867,6 +3095,21 @@
2867
3095
  "qwen/qwen3-8b:free": {
2868
3096
  "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
3097
  },
3098
+ "qwen/qwen3-coder": {
3099
+ "description": "Qwen3-Coder is the code generation family in Qwen3, excelling at understanding and generating code within long documents."
3100
+ },
3101
+ "qwen/qwen3-coder-plus": {
3102
+ "description": "Qwen3-Coder-Plus is a specially optimized coding agent model in the Qwen series, supporting more complex tool usage and long-term conversations."
3103
+ },
3104
+ "qwen/qwen3-max": {
3105
+ "description": "Qwen3 Max is a high-end reasoning model in the Qwen3 series, suitable for multilingual reasoning and tool integration."
3106
+ },
3107
+ "qwen/qwen3-max-preview": {
3108
+ "description": "Qwen3 Max (preview) is the preview version of the Max model in the Qwen series, designed for advanced reasoning and tool integration."
3109
+ },
3110
+ "qwen/qwen3-vl-plus": {
3111
+ "description": "Qwen3 VL-Plus is a vision-enhanced version of Qwen3, improving multimodal reasoning and video processing capabilities."
3112
+ },
2870
3113
  "qwen2": {
2871
3114
  "description": "Qwen2 is Alibaba's next-generation large-scale language model, supporting diverse application needs with excellent performance."
2872
3115
  },
@@ -2886,7 +3129,7 @@
2886
3129
  "description": "The 72B model of Tongyi Qianwen 2.5 is open-sourced."
2887
3130
  },
2888
3131
  "qwen2.5-7b-instruct": {
2889
- "description": "The 7B model of Tongyi Qianwen 2.5 is open-sourced."
3132
+ "description": "Qwen2.5 7B Instruct, a mature open-source instruction model designed for versatile dialogue and content generation."
2890
3133
  },
2891
3134
  "qwen2.5-coder-1.5b-instruct": {
2892
3135
  "description": "Open-source version of the Qwen coding model."
@@ -2919,13 +3162,13 @@
2919
3162
  "description": "The Qwen-Omni series models support input of various modalities, including video, audio, images, and text, and output audio and text."
2920
3163
  },
2921
3164
  "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."
3165
+ "description": "Qwen2.5 VL 32B Instruct, a multimodal open-source model ideal for private deployment and diverse applications."
2923
3166
  },
2924
3167
  "qwen2.5-vl-72b-instruct": {
2925
3168
  "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
3169
  },
2927
3170
  "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."
3171
+ "description": "Qwen2.5 VL 7B Instruct, a lightweight multimodal model balancing deployment cost and recognition capabilities."
2929
3172
  },
2930
3173
  "qwen2.5-vl-instruct": {
2931
3174
  "description": "Qwen2.5-VL is the latest version of the visual language model in the Qwen model family."
@@ -2952,46 +3195,46 @@
2952
3195
  "description": "Qwen3 is Alibaba's next-generation large-scale language model, designed to support diverse application needs with outstanding performance."
2953
3196
  },
2954
3197
  "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."
3198
+ "description": "Qwen3 0.6B, an entry-level model suitable for basic reasoning and highly resource-constrained environments."
2956
3199
  },
2957
3200
  "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."
3201
+ "description": "Qwen3 1.7B, an ultra-lightweight model optimized for edge and on-device deployment."
2959
3202
  },
2960
3203
  "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."
3204
+ "description": "Qwen3 14B, a mid-sized model ideal for multilingual Q&A and text generation tasks."
2962
3205
  },
2963
3206
  "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."
3207
+ "description": "Qwen3 235B A22B, a general-purpose large model built for a wide range of complex tasks."
2965
3208
  },
2966
3209
  "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)."
3210
+ "description": "Qwen3 235B A22B Instruct 2507, a flagship general-purpose instruction model for diverse generation and reasoning tasks."
2968
3211
  },
2969
3212
  "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."
3213
+ "description": "Qwen3 235B A22B Thinking 2507, an ultra-large-scale reasoning model tailored for high-difficulty inference."
2971
3214
  },
2972
3215
  "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."
3216
+ "description": "Qwen3 30B A3B, a medium-to-large general-purpose model offering a balance between cost and performance."
2974
3217
  },
2975
3218
  "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."
3219
+ "description": "Qwen3 30B A3B Instruct 2507, a medium-to-large instruction model designed for high-quality generation and Q&A."
2977
3220
  },
2978
3221
  "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."
3222
+ "description": "Qwen3 30B A3B Thinking 2507, a medium-to-large reasoning model balancing accuracy and cost."
2980
3223
  },
2981
3224
  "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."
3225
+ "description": "Qwen3 32B, a general-purpose model suited for tasks requiring stronger comprehension capabilities."
2983
3226
  },
2984
3227
  "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."
3228
+ "description": "Qwen3 4B, ideal for small to medium-scale applications and local inference scenarios."
2986
3229
  },
2987
3230
  "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."
3231
+ "description": "Qwen3 8B, a lightweight model with flexible deployment, suitable for high-concurrency workloads."
2989
3232
  },
2990
3233
  "qwen3-coder-30b-a3b-instruct": {
2991
3234
  "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
3235
  },
2993
3236
  "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."
3237
+ "description": "Qwen3 Coder 480B A35B Instruct, a flagship code model supporting multilingual programming and complex code understanding."
2995
3238
  },
2996
3239
  "qwen3-coder-flash": {
2997
3240
  "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 +3248,41 @@
3005
3248
  "qwen3-max": {
3006
3249
  "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
3250
  },
3251
+ "qwen3-max-preview": {
3252
+ "description": "The most advanced model in the Qwen series, ideal for complex, multi-step tasks. Preview version now supports reasoning."
3253
+ },
3008
3254
  "qwen3-next-80b-a3b-instruct": {
3009
3255
  "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
3256
  },
3011
3257
  "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."
3258
+ "description": "Qwen3 Next 80B A3B Thinking, a flagship reasoning model version designed for complex tasks."
3013
3259
  },
3014
3260
  "qwen3-omni-flash": {
3015
3261
  "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
3262
  },
3017
3263
  "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."
3264
+ "description": "Qwen3 VL 235B A22B Instruct, a flagship multimodal model built for high-demand comprehension and creative tasks."
3019
3265
  },
3020
3266
  "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."
3267
+ "description": "Qwen3 VL 235B A22B Thinking, a flagship reasoning edition for complex multimodal inference and planning."
3022
3268
  },
3023
3269
  "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."
3270
+ "description": "Qwen3 VL 30B A3B Instruct, a large multimodal model balancing accuracy and inference performance."
3025
3271
  },
3026
3272
  "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."
3273
+ "description": "Qwen3 VL 30B A3B Thinking, a deep reasoning version tailored for complex multimodal tasks."
3274
+ },
3275
+ "qwen3-vl-32b-instruct": {
3276
+ "description": "Qwen3 VL 32B Instruct, a multimodal instruction-tuned model for high-quality visual-text Q&A and creative tasks."
3277
+ },
3278
+ "qwen3-vl-32b-thinking": {
3279
+ "description": "Qwen3 VL 32B Thinking, a multimodal deep reasoning model enhanced for complex inference and long-chain analysis."
3028
3280
  },
3029
3281
  "qwen3-vl-8b-instruct": {
3030
- "description": "Qwen3 VL 8B Instruct Mode (non-thinking), suitable for standard multimodal generation and recognition tasks."
3282
+ "description": "Qwen3 VL 8B Instruct, a lightweight multimodal model ideal for everyday visual Q&A and application integration."
3031
3283
  },
3032
3284
  "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."
3285
+ "description": "Qwen3 VL 8B Thinking, a multimodal chain-of-thought model designed for detailed reasoning over visual information."
3034
3286
  },
3035
3287
  "qwen3-vl-flash": {
3036
3288
  "description": "Qwen3 VL Flash: a lightweight, high-speed inference version ideal for latency-sensitive or high-volume request scenarios."
@@ -3080,6 +3332,9 @@
3080
3332
  "sonar-reasoning-pro": {
3081
3333
  "description": "A new API product powered by the DeepSeek reasoning model."
3082
3334
  },
3335
+ "spark-x": {
3336
+ "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."
3337
+ },
3083
3338
  "stable-diffusion-3-medium": {
3084
3339
  "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
3340
  },
@@ -3152,9 +3407,6 @@
3152
3407
  "step-r1-v-mini": {
3153
3408
  "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
3409
  },
3155
- "step3": {
3156
- "description": "Step3 is a multimodal model developed by StepStar, offering advanced visual understanding capabilities."
3157
- },
3158
3410
  "stepfun-ai/step3": {
3159
3411
  "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
3412
  },
@@ -3236,6 +3488,9 @@
3236
3488
  "vercel/v0-1.5-md": {
3237
3489
  "description": "Access the model behind v0 to generate, fix, and optimize modern web applications, with framework-specific reasoning and up-to-date knowledge."
3238
3490
  },
3491
+ "volcengine/doubao-seed-code": {
3492
+ "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."
3493
+ },
3239
3494
  "wan2.2-t2i-flash": {
3240
3495
  "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
3496
  },
@@ -3263,8 +3518,23 @@
3263
3518
  "wizardlm2:8x22b": {
3264
3519
  "description": "WizardLM 2 is a language model provided by Microsoft AI, excelling in complex dialogues, multilingual capabilities, reasoning, and intelligent assistant applications."
3265
3520
  },
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."
3521
+ "x-ai/grok-4": {
3522
+ "description": "Grok 4 is xAI’s flagship reasoning model, offering powerful reasoning and multimodal capabilities."
3523
+ },
3524
+ "x-ai/grok-4-fast": {
3525
+ "description": "Grok 4 Fast is xAI’s high-throughput, low-cost model (supports 2M context window), ideal for high-concurrency and long-context scenarios."
3526
+ },
3527
+ "x-ai/grok-4-fast-non-reasoning": {
3528
+ "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."
3529
+ },
3530
+ "x-ai/grok-4.1-fast": {
3531
+ "description": "Grok 4 Fast is xAI’s high-throughput, low-cost model (supports 2M context window), ideal for high-concurrency and long-context scenarios."
3532
+ },
3533
+ "x-ai/grok-4.1-fast-non-reasoning": {
3534
+ "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."
3535
+ },
3536
+ "x-ai/grok-code-fast-1": {
3537
+ "description": "Grok Code Fast 1 is xAI’s fast code model, delivering readable and production-ready output."
3268
3538
  },
3269
3539
  "xai/grok-2": {
3270
3540
  "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 +3593,18 @@
3323
3593
  "yi-vision-v2": {
3324
3594
  "description": "A complex visual task model that provides high-performance understanding and analysis capabilities based on multiple images."
3325
3595
  },
3596
+ "z-ai/glm-4.5": {
3597
+ "description": "GLM 4.5 is Z.AI’s flagship model, supporting hybrid reasoning and optimized for engineering and long-context tasks."
3598
+ },
3599
+ "z-ai/glm-4.5-air": {
3600
+ "description": "GLM 4.5 Air is a lightweight version of GLM 4.5, suitable for cost-sensitive scenarios while retaining strong reasoning capabilities."
3601
+ },
3602
+ "z-ai/glm-4.6": {
3603
+ "description": "GLM 4.6 is Z.AI’s flagship model, with extended context length and enhanced coding capabilities."
3604
+ },
3605
+ "zai-glm-4.6": {
3606
+ "description": "Performs well in programming and reasoning tasks, supports streaming and tool calling, and is suitable for agentic coding and complex reasoning scenarios."
3607
+ },
3326
3608
  "zai-org/GLM-4.5": {
3327
3609
  "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
3610
  },
@@ -3343,5 +3625,8 @@
3343
3625
  },
3344
3626
  "zai/glm-4.5v": {
3345
3627
  "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."
3628
+ },
3629
+ "zenmux/auto": {
3630
+ "description": "ZenMux’s auto-routing feature automatically selects the best-performing and most cost-effective model from supported options based on your request."
3346
3631
  }
3347
3632
  }