@lobehub/lobehub 2.0.0-next.11 → 2.0.0-next.110

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 (2445) hide show
  1. package/.console-log-whitelist.json +14 -0
  2. package/.env.desktop +1 -2
  3. package/.env.example +11 -3
  4. package/.env.example.development +0 -2
  5. package/.github/workflows/check-console-log.yml +117 -0
  6. package/.github/workflows/claude-auto-testing.yml +73 -0
  7. package/.github/workflows/claude-translate-comments.yml +67 -0
  8. package/.github/workflows/claude-translator.yml +1 -0
  9. package/.github/workflows/desktop-pr-build.yml +13 -9
  10. package/.github/workflows/e2e.yml +14 -0
  11. package/.github/workflows/issue-auto-comments.yml +0 -19
  12. package/.github/workflows/release-desktop-beta.yml +4 -4
  13. package/.github/workflows/release.yml +2 -4
  14. package/.github/workflows/test.yml +44 -8
  15. package/.nvmrc +1 -1
  16. package/AGENTS.md +1 -0
  17. package/CHANGELOG.md +2486 -0
  18. package/CLAUDE.md +1 -0
  19. package/Dockerfile +1 -3
  20. package/README.md +8 -51
  21. package/README.zh-CN.md +8 -51
  22. package/apps/desktop/package.json +19 -18
  23. package/apps/desktop/src/common/routes.ts +0 -6
  24. package/apps/desktop/src/main/appBrowsers.ts +0 -13
  25. package/apps/desktop/src/main/controllers/AuthCtr.ts +78 -39
  26. package/apps/desktop/src/main/controllers/BrowserWindowsCtr.ts +29 -48
  27. package/apps/desktop/src/main/controllers/LocalFileCtr.ts +80 -16
  28. package/apps/desktop/src/main/controllers/MenuCtr.ts +5 -5
  29. package/apps/desktop/src/main/controllers/NotificationCtr.ts +29 -29
  30. package/apps/desktop/src/main/controllers/RemoteServerConfigCtr.ts +16 -16
  31. package/apps/desktop/src/main/controllers/ShellCommandCtr.ts +242 -0
  32. package/apps/desktop/src/main/controllers/ShortcutCtr.ts +2 -2
  33. package/apps/desktop/src/main/controllers/TrayMenuCtr.ts +18 -18
  34. package/apps/desktop/src/main/controllers/UpdaterCtr.ts +4 -4
  35. package/apps/desktop/src/main/controllers/__tests__/AuthCtr.test.ts +706 -0
  36. package/apps/desktop/src/main/controllers/__tests__/BrowserWindowsCtr.test.ts +21 -72
  37. package/apps/desktop/src/main/controllers/__tests__/LocalFileCtr.test.ts +157 -1
  38. package/apps/desktop/src/main/controllers/__tests__/ShellCommandCtr.test.ts +499 -0
  39. package/apps/desktop/src/main/controllers/__tests__/TrayMenuCtr.test.ts +5 -5
  40. package/apps/desktop/src/main/controllers/index.ts +4 -4
  41. package/apps/desktop/src/main/core/browser/Browser.ts +1 -0
  42. package/apps/desktop/src/main/core/browser/BrowserManager.ts +1 -56
  43. package/apps/desktop/src/main/core/infrastructure/ProtocolManager.ts +9 -4
  44. package/apps/desktop/src/main/core/infrastructure/UpdaterManager.ts +23 -2
  45. package/apps/desktop/src/main/menus/impls/macOS.ts +9 -3
  46. package/apps/desktop/src/main/modules/fileSearch/__tests__/macOS.integration.test.ts +357 -0
  47. package/apps/desktop/src/main/modules/fileSearch/impl/macOS.ts +30 -22
  48. package/apps/desktop/src/main/modules/networkProxy/__tests__/dispatcher.test.ts +401 -0
  49. package/apps/desktop/src/main/modules/networkProxy/__tests__/tester.test.ts +531 -0
  50. package/apps/desktop/src/main/modules/networkProxy/__tests__/urlBuilder.test.ts +349 -0
  51. package/apps/desktop/src/main/modules/networkProxy/__tests__/validator.test.ts +492 -0
  52. package/apps/desktop/src/main/modules/networkProxy/dispatcher.ts +16 -16
  53. package/apps/desktop/src/main/modules/networkProxy/tester.ts +11 -11
  54. package/apps/desktop/src/main/modules/networkProxy/urlBuilder.ts +3 -3
  55. package/apps/desktop/src/main/modules/networkProxy/validator.ts +10 -10
  56. package/apps/desktop/src/main/services/__tests__/fileSrv.test.ts +603 -0
  57. package/apps/desktop/src/preload/index.ts +2 -2
  58. package/apps/desktop/src/preload/invoke.ts +1 -1
  59. package/apps/desktop/src/preload/routeInterceptor.ts +41 -41
  60. package/apps/desktop/tsconfig.json +0 -1
  61. package/changelog/v1.json +865 -0
  62. package/codecov.yml +1 -0
  63. package/docker-compose/local/.env.example +3 -0
  64. package/docs/development/database-schema.dbml +23 -14
  65. package/docs/self-hosting/advanced/feature-flags.mdx +0 -1
  66. package/docs/self-hosting/advanced/feature-flags.zh-CN.mdx +0 -1
  67. package/docs/self-hosting/environment-variables/basic.mdx +49 -3
  68. package/docs/self-hosting/environment-variables/basic.zh-CN.mdx +49 -4
  69. package/docs/self-hosting/server-database/docker-compose.mdx +29 -0
  70. package/docs/self-hosting/server-database/docker-compose.zh-CN.mdx +29 -0
  71. package/docs/usage/providers/comfyui.mdx +1 -1
  72. package/docs/usage/providers/comfyui.zh-CN.mdx +1 -1
  73. package/e2e/package.json +2 -2
  74. package/e2e/src/features/discover/detail-pages.feature +95 -0
  75. package/e2e/src/features/discover/interactions.feature +113 -0
  76. package/e2e/src/features/discover/smoke.feature +34 -1
  77. package/e2e/src/steps/discover/detail-pages.steps.ts +295 -0
  78. package/e2e/src/steps/discover/interactions.steps.ts +451 -0
  79. package/e2e/src/steps/discover/smoke.steps.ts +116 -4
  80. package/e2e/tsconfig.json +0 -1
  81. package/locales/ar/auth.json +45 -1
  82. package/locales/ar/chat.json +36 -0
  83. package/locales/ar/common.json +24 -0
  84. package/locales/ar/components.json +6 -0
  85. package/locales/ar/discover.json +45 -0
  86. package/locales/ar/error.json +2 -2
  87. package/locales/ar/file.json +88 -5
  88. package/locales/ar/hotkey.json +4 -0
  89. package/locales/ar/image.json +8 -0
  90. package/locales/ar/labs.json +4 -0
  91. package/locales/ar/marketAuth.json +42 -0
  92. package/locales/ar/modelProvider.json +14 -2
  93. package/locales/ar/models.json +395 -122
  94. package/locales/ar/oauth.json +1 -0
  95. package/locales/ar/plugin.json +36 -16
  96. package/locales/ar/providers.json +3 -0
  97. package/locales/ar/setting.json +101 -2
  98. package/locales/ar/tool.json +28 -1
  99. package/locales/ar/topic.json +1 -0
  100. package/locales/bg-BG/auth.json +45 -1
  101. package/locales/bg-BG/chat.json +36 -0
  102. package/locales/bg-BG/common.json +24 -0
  103. package/locales/bg-BG/components.json +6 -0
  104. package/locales/bg-BG/discover.json +45 -0
  105. package/locales/bg-BG/error.json +2 -2
  106. package/locales/bg-BG/file.json +88 -5
  107. package/locales/bg-BG/hotkey.json +4 -0
  108. package/locales/bg-BG/image.json +8 -0
  109. package/locales/bg-BG/labs.json +4 -0
  110. package/locales/bg-BG/marketAuth.json +42 -0
  111. package/locales/bg-BG/modelProvider.json +14 -2
  112. package/locales/bg-BG/models.json +395 -122
  113. package/locales/bg-BG/oauth.json +1 -0
  114. package/locales/bg-BG/plugin.json +36 -16
  115. package/locales/bg-BG/providers.json +3 -0
  116. package/locales/bg-BG/setting.json +101 -2
  117. package/locales/bg-BG/tool.json +28 -1
  118. package/locales/bg-BG/topic.json +1 -0
  119. package/locales/de-DE/auth.json +45 -1
  120. package/locales/de-DE/chat.json +36 -0
  121. package/locales/de-DE/common.json +24 -0
  122. package/locales/de-DE/components.json +6 -0
  123. package/locales/de-DE/discover.json +45 -0
  124. package/locales/de-DE/error.json +2 -2
  125. package/locales/de-DE/file.json +88 -5
  126. package/locales/de-DE/hotkey.json +4 -0
  127. package/locales/de-DE/image.json +8 -0
  128. package/locales/de-DE/labs.json +4 -0
  129. package/locales/de-DE/marketAuth.json +42 -0
  130. package/locales/de-DE/modelProvider.json +14 -2
  131. package/locales/de-DE/models.json +395 -122
  132. package/locales/de-DE/oauth.json +1 -0
  133. package/locales/de-DE/plugin.json +36 -16
  134. package/locales/de-DE/providers.json +3 -0
  135. package/locales/de-DE/setting.json +101 -2
  136. package/locales/de-DE/tool.json +28 -1
  137. package/locales/de-DE/topic.json +1 -0
  138. package/locales/en-US/auth.json +45 -1
  139. package/locales/en-US/chat.json +36 -0
  140. package/locales/en-US/common.json +24 -0
  141. package/locales/en-US/components.json +6 -0
  142. package/locales/en-US/discover.json +45 -0
  143. package/locales/en-US/error.json +2 -2
  144. package/locales/en-US/file.json +88 -5
  145. package/locales/en-US/hotkey.json +4 -0
  146. package/locales/en-US/image.json +8 -0
  147. package/locales/en-US/labs.json +4 -0
  148. package/locales/en-US/marketAuth.json +42 -0
  149. package/locales/en-US/modelProvider.json +14 -2
  150. package/locales/en-US/models.json +395 -122
  151. package/locales/en-US/oauth.json +1 -0
  152. package/locales/en-US/plugin.json +36 -16
  153. package/locales/en-US/providers.json +3 -0
  154. package/locales/en-US/setting.json +101 -2
  155. package/locales/en-US/tool.json +28 -1
  156. package/locales/en-US/topic.json +1 -0
  157. package/locales/es-ES/auth.json +45 -1
  158. package/locales/es-ES/chat.json +36 -0
  159. package/locales/es-ES/common.json +24 -0
  160. package/locales/es-ES/components.json +6 -0
  161. package/locales/es-ES/discover.json +45 -0
  162. package/locales/es-ES/error.json +2 -2
  163. package/locales/es-ES/file.json +88 -5
  164. package/locales/es-ES/hotkey.json +4 -0
  165. package/locales/es-ES/image.json +8 -0
  166. package/locales/es-ES/labs.json +4 -0
  167. package/locales/es-ES/marketAuth.json +42 -0
  168. package/locales/es-ES/modelProvider.json +14 -2
  169. package/locales/es-ES/models.json +395 -122
  170. package/locales/es-ES/oauth.json +1 -0
  171. package/locales/es-ES/plugin.json +36 -16
  172. package/locales/es-ES/providers.json +3 -0
  173. package/locales/es-ES/setting.json +101 -2
  174. package/locales/es-ES/tool.json +28 -1
  175. package/locales/es-ES/topic.json +1 -0
  176. package/locales/fa-IR/auth.json +45 -1
  177. package/locales/fa-IR/chat.json +36 -0
  178. package/locales/fa-IR/common.json +24 -0
  179. package/locales/fa-IR/components.json +6 -0
  180. package/locales/fa-IR/discover.json +45 -0
  181. package/locales/fa-IR/error.json +2 -2
  182. package/locales/fa-IR/file.json +88 -5
  183. package/locales/fa-IR/hotkey.json +4 -0
  184. package/locales/fa-IR/image.json +8 -0
  185. package/locales/fa-IR/labs.json +4 -0
  186. package/locales/fa-IR/marketAuth.json +42 -0
  187. package/locales/fa-IR/modelProvider.json +14 -2
  188. package/locales/fa-IR/models.json +395 -122
  189. package/locales/fa-IR/oauth.json +1 -0
  190. package/locales/fa-IR/plugin.json +36 -16
  191. package/locales/fa-IR/providers.json +3 -0
  192. package/locales/fa-IR/setting.json +101 -2
  193. package/locales/fa-IR/tool.json +28 -1
  194. package/locales/fa-IR/topic.json +1 -0
  195. package/locales/fr-FR/auth.json +45 -1
  196. package/locales/fr-FR/chat.json +36 -0
  197. package/locales/fr-FR/common.json +24 -0
  198. package/locales/fr-FR/components.json +6 -0
  199. package/locales/fr-FR/discover.json +45 -0
  200. package/locales/fr-FR/error.json +2 -2
  201. package/locales/fr-FR/file.json +88 -5
  202. package/locales/fr-FR/hotkey.json +4 -0
  203. package/locales/fr-FR/image.json +8 -0
  204. package/locales/fr-FR/labs.json +4 -0
  205. package/locales/fr-FR/marketAuth.json +42 -0
  206. package/locales/fr-FR/modelProvider.json +14 -2
  207. package/locales/fr-FR/models.json +395 -122
  208. package/locales/fr-FR/oauth.json +1 -0
  209. package/locales/fr-FR/plugin.json +36 -16
  210. package/locales/fr-FR/providers.json +3 -0
  211. package/locales/fr-FR/setting.json +101 -2
  212. package/locales/fr-FR/tool.json +28 -1
  213. package/locales/fr-FR/topic.json +1 -0
  214. package/locales/it-IT/auth.json +45 -1
  215. package/locales/it-IT/chat.json +36 -0
  216. package/locales/it-IT/common.json +24 -0
  217. package/locales/it-IT/components.json +6 -0
  218. package/locales/it-IT/discover.json +45 -0
  219. package/locales/it-IT/error.json +2 -2
  220. package/locales/it-IT/file.json +88 -5
  221. package/locales/it-IT/hotkey.json +4 -0
  222. package/locales/it-IT/image.json +8 -0
  223. package/locales/it-IT/labs.json +4 -0
  224. package/locales/it-IT/marketAuth.json +42 -0
  225. package/locales/it-IT/modelProvider.json +14 -2
  226. package/locales/it-IT/models.json +395 -122
  227. package/locales/it-IT/oauth.json +1 -0
  228. package/locales/it-IT/plugin.json +36 -16
  229. package/locales/it-IT/providers.json +3 -0
  230. package/locales/it-IT/setting.json +101 -2
  231. package/locales/it-IT/tool.json +28 -1
  232. package/locales/it-IT/topic.json +1 -0
  233. package/locales/ja-JP/auth.json +45 -1
  234. package/locales/ja-JP/chat.json +36 -0
  235. package/locales/ja-JP/common.json +24 -0
  236. package/locales/ja-JP/components.json +6 -0
  237. package/locales/ja-JP/discover.json +45 -0
  238. package/locales/ja-JP/error.json +2 -2
  239. package/locales/ja-JP/file.json +88 -5
  240. package/locales/ja-JP/hotkey.json +4 -0
  241. package/locales/ja-JP/image.json +8 -0
  242. package/locales/ja-JP/labs.json +4 -0
  243. package/locales/ja-JP/marketAuth.json +42 -0
  244. package/locales/ja-JP/modelProvider.json +14 -2
  245. package/locales/ja-JP/models.json +395 -122
  246. package/locales/ja-JP/oauth.json +1 -0
  247. package/locales/ja-JP/plugin.json +36 -16
  248. package/locales/ja-JP/providers.json +3 -0
  249. package/locales/ja-JP/setting.json +101 -2
  250. package/locales/ja-JP/tool.json +28 -1
  251. package/locales/ja-JP/topic.json +1 -0
  252. package/locales/ko-KR/auth.json +45 -1
  253. package/locales/ko-KR/chat.json +36 -0
  254. package/locales/ko-KR/common.json +24 -0
  255. package/locales/ko-KR/components.json +6 -0
  256. package/locales/ko-KR/discover.json +45 -0
  257. package/locales/ko-KR/error.json +2 -2
  258. package/locales/ko-KR/file.json +88 -5
  259. package/locales/ko-KR/hotkey.json +4 -0
  260. package/locales/ko-KR/image.json +8 -0
  261. package/locales/ko-KR/labs.json +4 -0
  262. package/locales/ko-KR/marketAuth.json +42 -0
  263. package/locales/ko-KR/modelProvider.json +14 -2
  264. package/locales/ko-KR/models.json +395 -122
  265. package/locales/ko-KR/oauth.json +1 -0
  266. package/locales/ko-KR/plugin.json +36 -16
  267. package/locales/ko-KR/providers.json +3 -0
  268. package/locales/ko-KR/setting.json +101 -2
  269. package/locales/ko-KR/tool.json +28 -1
  270. package/locales/ko-KR/topic.json +1 -0
  271. package/locales/nl-NL/auth.json +45 -1
  272. package/locales/nl-NL/chat.json +36 -0
  273. package/locales/nl-NL/common.json +24 -0
  274. package/locales/nl-NL/components.json +6 -0
  275. package/locales/nl-NL/discover.json +45 -0
  276. package/locales/nl-NL/error.json +2 -2
  277. package/locales/nl-NL/file.json +88 -5
  278. package/locales/nl-NL/hotkey.json +4 -0
  279. package/locales/nl-NL/image.json +8 -0
  280. package/locales/nl-NL/labs.json +4 -0
  281. package/locales/nl-NL/marketAuth.json +42 -0
  282. package/locales/nl-NL/modelProvider.json +14 -2
  283. package/locales/nl-NL/models.json +395 -122
  284. package/locales/nl-NL/oauth.json +1 -0
  285. package/locales/nl-NL/plugin.json +36 -16
  286. package/locales/nl-NL/providers.json +3 -0
  287. package/locales/nl-NL/setting.json +101 -2
  288. package/locales/nl-NL/tool.json +28 -1
  289. package/locales/nl-NL/topic.json +1 -0
  290. package/locales/pl-PL/auth.json +45 -1
  291. package/locales/pl-PL/chat.json +36 -0
  292. package/locales/pl-PL/common.json +24 -0
  293. package/locales/pl-PL/components.json +6 -0
  294. package/locales/pl-PL/discover.json +45 -0
  295. package/locales/pl-PL/error.json +2 -2
  296. package/locales/pl-PL/file.json +88 -5
  297. package/locales/pl-PL/hotkey.json +4 -0
  298. package/locales/pl-PL/image.json +8 -0
  299. package/locales/pl-PL/labs.json +4 -0
  300. package/locales/pl-PL/marketAuth.json +42 -0
  301. package/locales/pl-PL/modelProvider.json +14 -2
  302. package/locales/pl-PL/models.json +395 -122
  303. package/locales/pl-PL/oauth.json +1 -0
  304. package/locales/pl-PL/plugin.json +36 -16
  305. package/locales/pl-PL/providers.json +3 -0
  306. package/locales/pl-PL/setting.json +101 -2
  307. package/locales/pl-PL/tool.json +28 -1
  308. package/locales/pl-PL/topic.json +1 -0
  309. package/locales/pt-BR/auth.json +45 -1
  310. package/locales/pt-BR/chat.json +36 -0
  311. package/locales/pt-BR/common.json +24 -0
  312. package/locales/pt-BR/components.json +6 -0
  313. package/locales/pt-BR/discover.json +45 -0
  314. package/locales/pt-BR/error.json +2 -2
  315. package/locales/pt-BR/file.json +88 -5
  316. package/locales/pt-BR/hotkey.json +4 -0
  317. package/locales/pt-BR/image.json +8 -0
  318. package/locales/pt-BR/labs.json +4 -0
  319. package/locales/pt-BR/marketAuth.json +42 -0
  320. package/locales/pt-BR/modelProvider.json +14 -2
  321. package/locales/pt-BR/models.json +395 -122
  322. package/locales/pt-BR/oauth.json +1 -0
  323. package/locales/pt-BR/plugin.json +36 -16
  324. package/locales/pt-BR/providers.json +3 -0
  325. package/locales/pt-BR/setting.json +101 -2
  326. package/locales/pt-BR/tool.json +28 -1
  327. package/locales/pt-BR/topic.json +1 -0
  328. package/locales/ru-RU/auth.json +45 -1
  329. package/locales/ru-RU/chat.json +36 -0
  330. package/locales/ru-RU/common.json +24 -0
  331. package/locales/ru-RU/components.json +6 -0
  332. package/locales/ru-RU/discover.json +45 -0
  333. package/locales/ru-RU/error.json +2 -2
  334. package/locales/ru-RU/file.json +88 -5
  335. package/locales/ru-RU/hotkey.json +4 -0
  336. package/locales/ru-RU/image.json +8 -0
  337. package/locales/ru-RU/labs.json +4 -0
  338. package/locales/ru-RU/marketAuth.json +42 -0
  339. package/locales/ru-RU/modelProvider.json +14 -2
  340. package/locales/ru-RU/models.json +395 -122
  341. package/locales/ru-RU/oauth.json +1 -0
  342. package/locales/ru-RU/plugin.json +36 -16
  343. package/locales/ru-RU/providers.json +3 -0
  344. package/locales/ru-RU/setting.json +101 -2
  345. package/locales/ru-RU/tool.json +28 -1
  346. package/locales/ru-RU/topic.json +1 -0
  347. package/locales/tr-TR/auth.json +45 -1
  348. package/locales/tr-TR/chat.json +36 -0
  349. package/locales/tr-TR/common.json +24 -0
  350. package/locales/tr-TR/components.json +6 -0
  351. package/locales/tr-TR/discover.json +45 -0
  352. package/locales/tr-TR/error.json +2 -2
  353. package/locales/tr-TR/file.json +88 -5
  354. package/locales/tr-TR/hotkey.json +4 -0
  355. package/locales/tr-TR/image.json +8 -0
  356. package/locales/tr-TR/labs.json +4 -0
  357. package/locales/tr-TR/marketAuth.json +42 -0
  358. package/locales/tr-TR/modelProvider.json +14 -2
  359. package/locales/tr-TR/models.json +395 -122
  360. package/locales/tr-TR/oauth.json +1 -0
  361. package/locales/tr-TR/plugin.json +36 -16
  362. package/locales/tr-TR/providers.json +3 -0
  363. package/locales/tr-TR/setting.json +101 -2
  364. package/locales/tr-TR/tool.json +28 -1
  365. package/locales/tr-TR/topic.json +1 -0
  366. package/locales/vi-VN/auth.json +45 -1
  367. package/locales/vi-VN/chat.json +36 -0
  368. package/locales/vi-VN/common.json +24 -0
  369. package/locales/vi-VN/components.json +6 -0
  370. package/locales/vi-VN/discover.json +45 -0
  371. package/locales/vi-VN/error.json +2 -2
  372. package/locales/vi-VN/file.json +88 -5
  373. package/locales/vi-VN/hotkey.json +4 -0
  374. package/locales/vi-VN/image.json +8 -0
  375. package/locales/vi-VN/labs.json +4 -0
  376. package/locales/vi-VN/marketAuth.json +42 -0
  377. package/locales/vi-VN/modelProvider.json +14 -2
  378. package/locales/vi-VN/models.json +395 -122
  379. package/locales/vi-VN/oauth.json +1 -0
  380. package/locales/vi-VN/plugin.json +36 -16
  381. package/locales/vi-VN/providers.json +3 -0
  382. package/locales/vi-VN/setting.json +101 -2
  383. package/locales/vi-VN/tool.json +28 -1
  384. package/locales/vi-VN/topic.json +1 -0
  385. package/locales/zh-CN/auth.json +45 -1
  386. package/locales/zh-CN/chat.json +36 -0
  387. package/locales/zh-CN/common.json +24 -0
  388. package/locales/zh-CN/components.json +6 -0
  389. package/locales/zh-CN/discover.json +45 -0
  390. package/locales/zh-CN/error.json +2 -2
  391. package/locales/zh-CN/file.json +88 -5
  392. package/locales/zh-CN/hotkey.json +4 -0
  393. package/locales/zh-CN/image.json +8 -0
  394. package/locales/zh-CN/labs.json +4 -0
  395. package/locales/zh-CN/marketAuth.json +42 -0
  396. package/locales/zh-CN/modelProvider.json +14 -2
  397. package/locales/zh-CN/models.json +395 -122
  398. package/locales/zh-CN/oauth.json +1 -0
  399. package/locales/zh-CN/plugin.json +36 -16
  400. package/locales/zh-CN/providers.json +3 -0
  401. package/locales/zh-CN/setting.json +100 -1
  402. package/locales/zh-CN/tool.json +28 -1
  403. package/locales/zh-CN/topic.json +1 -0
  404. package/locales/zh-TW/auth.json +45 -1
  405. package/locales/zh-TW/chat.json +36 -0
  406. package/locales/zh-TW/common.json +24 -0
  407. package/locales/zh-TW/components.json +6 -0
  408. package/locales/zh-TW/discover.json +45 -0
  409. package/locales/zh-TW/error.json +2 -2
  410. package/locales/zh-TW/file.json +88 -5
  411. package/locales/zh-TW/hotkey.json +4 -0
  412. package/locales/zh-TW/image.json +8 -0
  413. package/locales/zh-TW/labs.json +4 -0
  414. package/locales/zh-TW/marketAuth.json +42 -0
  415. package/locales/zh-TW/modelProvider.json +14 -2
  416. package/locales/zh-TW/models.json +395 -122
  417. package/locales/zh-TW/oauth.json +1 -0
  418. package/locales/zh-TW/plugin.json +36 -16
  419. package/locales/zh-TW/providers.json +3 -0
  420. package/locales/zh-TW/setting.json +101 -2
  421. package/locales/zh-TW/tool.json +28 -1
  422. package/locales/zh-TW/topic.json +1 -0
  423. package/next.config.ts +10 -12
  424. package/package.json +91 -82
  425. package/packages/agent-runtime/package.json +1 -1
  426. package/packages/agent-runtime/src/core/InterventionChecker.ts +88 -14
  427. package/packages/agent-runtime/src/core/__tests__/InterventionChecker.test.ts +504 -87
  428. package/packages/agent-runtime/src/core/__tests__/runtime.test.ts +141 -87
  429. package/packages/agent-runtime/src/core/defaultSecurityBlacklist.ts +335 -0
  430. package/packages/agent-runtime/src/core/index.ts +1 -0
  431. package/packages/agent-runtime/src/core/runtime.ts +104 -20
  432. package/packages/agent-runtime/src/types/event.ts +4 -1
  433. package/packages/agent-runtime/src/types/generalAgent.ts +72 -0
  434. package/packages/agent-runtime/src/types/index.ts +1 -0
  435. package/packages/agent-runtime/src/types/instruction.ts +50 -7
  436. package/packages/agent-runtime/src/types/runtime.ts +7 -0
  437. package/packages/agent-runtime/src/types/state.ts +18 -1
  438. package/packages/const/package.json +1 -1
  439. package/packages/const/src/hotkeys.ts +9 -3
  440. package/packages/const/src/models.ts +4 -2
  441. package/packages/const/src/settings/common.ts +1 -0
  442. package/packages/const/src/settings/tool.ts +1 -5
  443. package/packages/const/src/url.ts +1 -0
  444. package/packages/const/src/user.ts +4 -2
  445. package/packages/const/src/utils/merge.ts +3 -3
  446. package/packages/const/src/version.ts +0 -5
  447. package/packages/context-engine/package.json +2 -2
  448. package/packages/context-engine/src/base/BaseProcessor.ts +13 -13
  449. package/packages/context-engine/src/base/BaseProvider.ts +2 -2
  450. package/packages/context-engine/src/base/__tests__/BaseProcessor.test.ts +5 -5
  451. package/packages/context-engine/src/processors/GroupMessageFlatten.ts +8 -6
  452. package/packages/context-engine/src/processors/MessageCleanup.ts +7 -6
  453. package/packages/context-engine/src/processors/MessageContent.ts +17 -17
  454. package/packages/context-engine/src/processors/PlaceholderVariables.ts +4 -4
  455. package/packages/context-engine/src/processors/ToolCall.ts +19 -18
  456. package/packages/context-engine/src/processors/ToolMessageReorder.ts +10 -10
  457. package/packages/context-engine/src/processors/__tests__/GroupMessageFlatten.test.ts +12 -12
  458. package/packages/context-engine/src/processors/__tests__/MessageCleanup.test.ts +28 -0
  459. package/packages/context-engine/src/processors/__tests__/ToolCall.test.ts +59 -0
  460. package/packages/context-engine/src/providers/HistorySummary.ts +6 -6
  461. package/packages/context-engine/src/providers/ToolSystemRole.ts +7 -7
  462. package/packages/context-engine/src/tools/ToolNameResolver.ts +1 -0
  463. package/packages/context-engine/src/tools/ToolsEngine.ts +8 -8
  464. package/packages/context-engine/src/tools/__tests__/ToolNameResolver.test.ts +57 -0
  465. package/packages/context-engine/src/types.ts +36 -35
  466. package/packages/conversation-flow/package.json +13 -0
  467. package/packages/conversation-flow/src/__tests__/fixtures/index.ts +44 -0
  468. package/packages/conversation-flow/src/__tests__/fixtures/inputs/assistant-chain-with-followup.json +56 -0
  469. package/packages/conversation-flow/src/__tests__/fixtures/inputs/assistantGroup/assistant-with-tools.json +145 -0
  470. package/packages/conversation-flow/src/__tests__/fixtures/inputs/assistantGroup/index.ts +8 -0
  471. package/packages/conversation-flow/src/__tests__/fixtures/inputs/assistantGroup/tools-with-branches.json +107 -0
  472. package/packages/conversation-flow/src/__tests__/fixtures/inputs/branch/active-index-1.json +131 -0
  473. package/packages/conversation-flow/src/__tests__/fixtures/inputs/branch/assistant-branch.json +96 -0
  474. package/packages/conversation-flow/src/__tests__/fixtures/inputs/branch/assistant-group-branches.json +249 -0
  475. package/packages/conversation-flow/src/__tests__/fixtures/inputs/branch/assistant-user-branch.json +123 -0
  476. package/packages/conversation-flow/src/__tests__/fixtures/inputs/branch/conversation.json +128 -0
  477. package/packages/conversation-flow/src/__tests__/fixtures/inputs/branch/index.ts +18 -0
  478. package/packages/conversation-flow/src/__tests__/fixtures/inputs/branch/multi-assistant-group.json +260 -0
  479. package/packages/conversation-flow/src/__tests__/fixtures/inputs/branch/nested.json +179 -0
  480. package/packages/conversation-flow/src/__tests__/fixtures/inputs/compare/index.ts +8 -0
  481. package/packages/conversation-flow/src/__tests__/fixtures/inputs/compare/simple.json +85 -0
  482. package/packages/conversation-flow/src/__tests__/fixtures/inputs/compare/with-tools.json +169 -0
  483. package/packages/conversation-flow/src/__tests__/fixtures/inputs/index.ts +12 -0
  484. package/packages/conversation-flow/src/__tests__/fixtures/inputs/linear-conversation.json +59 -0
  485. package/packages/conversation-flow/src/__tests__/fixtures/outputs/assistant-chain-with-followup.json +135 -0
  486. package/packages/conversation-flow/src/__tests__/fixtures/outputs/assistantGroup/assistant-with-tools.json +340 -0
  487. package/packages/conversation-flow/src/__tests__/fixtures/outputs/assistantGroup/index.ts +8 -0
  488. package/packages/conversation-flow/src/__tests__/fixtures/outputs/assistantGroup/tools-with-branches.json +261 -0
  489. package/packages/conversation-flow/src/__tests__/fixtures/outputs/branch/active-index-1.json +246 -0
  490. package/packages/conversation-flow/src/__tests__/fixtures/outputs/branch/assistant-branch.json +208 -0
  491. package/packages/conversation-flow/src/__tests__/fixtures/outputs/branch/assistant-group-branches.json +481 -0
  492. package/packages/conversation-flow/src/__tests__/fixtures/outputs/branch/assistant-user-branch.json +254 -0
  493. package/packages/conversation-flow/src/__tests__/fixtures/outputs/branch/conversation.json +264 -0
  494. package/packages/conversation-flow/src/__tests__/fixtures/outputs/branch/index.ts +18 -0
  495. package/packages/conversation-flow/src/__tests__/fixtures/outputs/branch/multi-assistant-group.json +407 -0
  496. package/packages/conversation-flow/src/__tests__/fixtures/outputs/branch/nested.json +405 -0
  497. package/packages/conversation-flow/src/__tests__/fixtures/outputs/compare/index.ts +8 -0
  498. package/packages/conversation-flow/src/__tests__/fixtures/outputs/compare/simple.json +224 -0
  499. package/packages/conversation-flow/src/__tests__/fixtures/outputs/compare/with-tools.json +418 -0
  500. package/packages/conversation-flow/src/__tests__/fixtures/outputs/linear-conversation.json +138 -0
  501. package/packages/conversation-flow/src/__tests__/indexing.test.ts +513 -0
  502. package/packages/conversation-flow/src/__tests__/parse.test.ts +132 -0
  503. package/packages/conversation-flow/src/__tests__/structuring.test.ts +600 -0
  504. package/packages/conversation-flow/src/index.ts +17 -0
  505. package/packages/conversation-flow/src/indexing.ts +58 -0
  506. package/packages/conversation-flow/src/parse.ts +97 -0
  507. package/packages/conversation-flow/src/structuring.ts +38 -0
  508. package/packages/conversation-flow/src/transformation/BranchResolver.ts +66 -0
  509. package/packages/conversation-flow/src/transformation/ContextTreeBuilder.ts +292 -0
  510. package/packages/conversation-flow/src/transformation/FlatListBuilder.ts +566 -0
  511. package/packages/conversation-flow/src/transformation/MessageCollector.ts +166 -0
  512. package/packages/conversation-flow/src/transformation/MessageTransformer.ts +177 -0
  513. package/packages/conversation-flow/src/transformation/__tests__/BranchResolver.test.ts +151 -0
  514. package/packages/conversation-flow/src/transformation/__tests__/ContextTreeBuilder.test.ts +385 -0
  515. package/packages/conversation-flow/src/transformation/__tests__/FlatListBuilder.test.ts +511 -0
  516. package/packages/conversation-flow/src/transformation/__tests__/MessageCollector.test.ts +220 -0
  517. package/packages/conversation-flow/src/transformation/__tests__/MessageTransformer.test.ts +286 -0
  518. package/packages/conversation-flow/src/transformation/index.ts +78 -0
  519. package/packages/conversation-flow/src/types/contextTree.ts +65 -0
  520. package/packages/conversation-flow/src/types/flatMessageList.ts +54 -0
  521. package/packages/conversation-flow/src/types/index.ts +25 -0
  522. package/packages/conversation-flow/src/types/shared.ts +63 -0
  523. package/packages/conversation-flow/vitest.config.mts +10 -0
  524. package/packages/database/migrations/0042_improve_agent_index.sql +1 -0
  525. package/packages/database/migrations/0043_add_ai_model_settings.sql +1 -0
  526. package/packages/database/migrations/0044_high_toxin.sql +1 -0
  527. package/packages/database/migrations/0045_add_tool_intervention.sql +1 -0
  528. package/packages/database/migrations/0046_add_parent_id.sql +15 -0
  529. package/packages/database/migrations/0047_add_slug_document.sql +6 -0
  530. package/packages/database/migrations/meta/0039_snapshot.json +1 -1
  531. package/packages/database/migrations/meta/0042_snapshot.json +7800 -0
  532. package/packages/database/migrations/meta/0043_snapshot.json +8419 -0
  533. package/packages/database/migrations/meta/0044_snapshot.json +7813 -0
  534. package/packages/database/migrations/meta/0045_snapshot.json +8431 -0
  535. package/packages/database/migrations/meta/0046_snapshot.json +7879 -0
  536. package/packages/database/migrations/meta/0047_snapshot.json +7891 -0
  537. package/packages/database/migrations/meta/_journal.json +42 -0
  538. package/packages/database/package.json +3 -3
  539. package/packages/database/src/client/db.test.ts +1 -2
  540. package/packages/database/src/client/db.ts +18 -18
  541. package/packages/database/src/client/pglite.ts +1 -1
  542. package/packages/database/src/core/db-adaptor.ts +4 -4
  543. package/packages/database/src/core/electron.ts +1 -1
  544. package/packages/database/src/core/migrations.json +51 -0
  545. package/packages/database/src/core/web-server.ts +2 -1
  546. package/packages/database/src/models/__tests__/apiKey.test.ts +444 -0
  547. package/packages/database/src/models/__tests__/asyncTask.test.ts +1 -2
  548. package/packages/database/src/models/__tests__/chunk.test.ts +38 -0
  549. package/packages/database/src/models/__tests__/document.test.ts +149 -0
  550. package/packages/database/src/models/__tests__/file.test.ts +95 -31
  551. package/packages/database/src/models/__tests__/generation.test.ts +1 -2
  552. package/packages/database/src/models/__tests__/generationBatch.test.ts +1 -2
  553. package/packages/database/src/models/__tests__/messages/message.create.test.ts +549 -0
  554. package/packages/database/src/models/__tests__/messages/message.delete.test.ts +481 -0
  555. package/packages/database/src/models/__tests__/messages/message.query.test.ts +1187 -0
  556. package/packages/database/src/models/__tests__/messages/message.stats.test.ts +633 -0
  557. package/packages/database/src/models/__tests__/messages/message.update.test.ts +757 -0
  558. package/packages/database/src/models/agent.ts +16 -13
  559. package/packages/database/src/models/aiModel.ts +1 -0
  560. package/packages/database/src/models/aiProvider.ts +7 -7
  561. package/packages/database/src/models/apiKey.ts +2 -2
  562. package/packages/database/src/models/chunk.ts +4 -2
  563. package/packages/database/src/models/document.ts +15 -10
  564. package/packages/database/src/models/drizzleMigration.ts +1 -1
  565. package/packages/database/src/models/file.ts +67 -42
  566. package/packages/database/src/models/message.ts +21 -93
  567. package/packages/database/src/models/oauthHandoff.ts +19 -19
  568. package/packages/database/src/models/session.ts +72 -20
  569. package/packages/database/src/models/topic.ts +10 -10
  570. package/packages/database/src/models/user.ts +2 -1
  571. package/packages/database/src/repositories/aiInfra/index.test.ts +205 -7
  572. package/packages/database/src/repositories/aiInfra/index.ts +9 -8
  573. package/packages/database/src/repositories/dataExporter/index.test.ts +1 -1
  574. package/packages/database/src/repositories/dataImporter/__tests__/index.test.ts +1 -2
  575. package/packages/database/src/repositories/dataImporter/deprecated/__tests__/index.test.ts +3 -2
  576. package/packages/database/src/repositories/dataImporter/deprecated/index.ts +8 -2
  577. package/packages/database/src/repositories/dataImporter/index.ts +11 -12
  578. package/packages/database/src/repositories/knowledge/index.test.ts +300 -0
  579. package/packages/database/src/repositories/knowledge/index.ts +417 -0
  580. package/packages/database/src/repositories/tableViewer/index.test.ts +1 -1
  581. package/packages/database/src/repositories/tableViewer/index.ts +4 -5
  582. package/packages/database/src/schemas/agent.ts +6 -3
  583. package/packages/database/src/schemas/aiInfra.ts +3 -2
  584. package/packages/database/src/schemas/file.ts +85 -0
  585. package/packages/database/src/schemas/index.ts +0 -1
  586. package/packages/database/src/schemas/message.ts +9 -12
  587. package/packages/database/src/schemas/rag.ts +32 -2
  588. package/packages/database/src/schemas/relations.ts +2 -3
  589. package/packages/database/src/schemas/topic.ts +3 -4
  590. package/packages/database/src/schemas/user.ts +1 -1
  591. package/packages/database/src/server/models/__tests__/user.test.ts +1 -1
  592. package/packages/database/src/server/models/ragEval/evaluation.ts +1 -1
  593. package/packages/database/src/utils/genWhere.test.ts +243 -0
  594. package/packages/electron-client-ipc/package.json +1 -1
  595. package/packages/electron-client-ipc/src/events/index.ts +6 -1
  596. package/packages/electron-client-ipc/src/events/remoteServer.ts +8 -0
  597. package/packages/electron-client-ipc/src/types/localSystem.ts +30 -2
  598. package/packages/electron-server-ipc/package.json +2 -2
  599. package/packages/electron-server-ipc/src/ipcClient.ts +31 -31
  600. package/packages/electron-server-ipc/src/ipcServer.ts +15 -15
  601. package/packages/fetch-sse/package.json +29 -0
  602. package/packages/fetch-sse/src/__tests__/fetchSSE.test.ts +579 -0
  603. package/packages/fetch-sse/src/__tests__/parseError.test.ts +91 -0
  604. package/packages/fetch-sse/src/fetchSSE.ts +487 -0
  605. package/packages/fetch-sse/src/headers.ts +27 -0
  606. package/packages/fetch-sse/src/parseError.ts +24 -0
  607. package/packages/fetch-sse/src/request.ts +28 -0
  608. package/packages/file-loaders/package.json +3 -3
  609. package/packages/file-loaders/src/loaders/docx/index.ts +1 -1
  610. package/packages/memory-extract/package.json +4 -4
  611. package/packages/model-bank/package.json +1 -0
  612. package/packages/model-bank/src/aiModels/aihubmix.ts +196 -3
  613. package/packages/model-bank/src/aiModels/cometapi.ts +8 -8
  614. package/packages/model-bank/src/aiModels/fal.ts +2 -2
  615. package/packages/model-bank/src/aiModels/google.ts +148 -93
  616. package/packages/model-bank/src/aiModels/index.ts +3 -0
  617. package/packages/model-bank/src/aiModels/infiniai.ts +5 -22
  618. package/packages/model-bank/src/aiModels/mistral.ts +2 -1
  619. package/packages/model-bank/src/aiModels/moonshot.ts +46 -0
  620. package/packages/model-bank/src/aiModels/nebius.ts +1 -1
  621. package/packages/model-bank/src/aiModels/newapi.ts +3 -3
  622. package/packages/model-bank/src/aiModels/novita.ts +3 -2
  623. package/packages/model-bank/src/aiModels/nvidia.ts +14 -0
  624. package/packages/model-bank/src/aiModels/ollamacloud.ts +38 -4
  625. package/packages/model-bank/src/aiModels/openai.ts +113 -42
  626. package/packages/model-bank/src/aiModels/openrouter.ts +1 -0
  627. package/packages/model-bank/src/aiModels/qiniu.ts +126 -0
  628. package/packages/model-bank/src/aiModels/qwen.ts +169 -10
  629. package/packages/model-bank/src/aiModels/siliconcloud.ts +20 -61
  630. package/packages/model-bank/src/aiModels/stepfun.ts +1 -1
  631. package/packages/model-bank/src/aiModels/vercelaigateway.ts +1 -18
  632. package/packages/model-bank/src/aiModels/vertexai.ts +92 -1
  633. package/packages/model-bank/src/aiModels/volcengine.ts +4 -4
  634. package/packages/model-bank/src/aiModels/wenxin.ts +1348 -291
  635. package/packages/model-bank/src/aiModels/xai.ts +85 -6
  636. package/packages/model-bank/src/aiModels/zenmux.ts +1426 -0
  637. package/packages/model-bank/src/aiModels/zhipu.ts +1 -1
  638. package/packages/model-bank/src/const/modelProvider.ts +1 -0
  639. package/packages/model-bank/src/standard-parameters/index.ts +9 -0
  640. package/packages/model-bank/src/types/aiModel.ts +27 -10
  641. package/packages/model-runtime/package.json +3 -3
  642. package/packages/model-runtime/src/core/RouterRuntime/createRuntime.ts +42 -18
  643. package/packages/model-runtime/src/core/contextBuilders/anthropic.test.ts +17 -11
  644. package/packages/model-runtime/src/core/contextBuilders/anthropic.ts +1 -1
  645. package/packages/model-runtime/src/core/contextBuilders/google.test.ts +480 -1
  646. package/packages/model-runtime/src/core/contextBuilders/google.ts +47 -7
  647. package/packages/model-runtime/src/core/contextBuilders/openai.test.ts +93 -7
  648. package/packages/model-runtime/src/core/contextBuilders/openai.ts +47 -14
  649. package/packages/model-runtime/src/core/openaiCompatibleFactory/createImage.test.ts +1 -1
  650. package/packages/model-runtime/src/core/openaiCompatibleFactory/createImage.ts +1 -1
  651. package/packages/model-runtime/src/core/openaiCompatibleFactory/index.test.ts +113 -72
  652. package/packages/model-runtime/src/core/openaiCompatibleFactory/index.ts +132 -106
  653. package/packages/model-runtime/src/core/streams/bedrock/claude.ts +17 -3
  654. package/packages/model-runtime/src/core/streams/google/google-ai.test.ts +1175 -813
  655. package/packages/model-runtime/src/core/streams/google/index.ts +26 -7
  656. package/packages/model-runtime/src/core/streams/ollama.test.ts +67 -0
  657. package/packages/model-runtime/src/core/streams/ollama.ts +5 -5
  658. package/packages/model-runtime/src/core/streams/openai/__snapshots__/responsesStream.test.ts.snap +1007 -0
  659. package/packages/model-runtime/src/core/streams/openai/openai.test.ts +310 -0
  660. package/packages/model-runtime/src/core/streams/openai/openai.ts +67 -0
  661. package/packages/model-runtime/src/core/streams/openai/responsesStream.test.ts +1 -1
  662. package/packages/model-runtime/src/core/streams/protocol.ts +1 -0
  663. package/packages/model-runtime/src/core/streams/vertex-ai.ts +1 -2
  664. package/packages/model-runtime/src/core/usageConverters/index.ts +1 -0
  665. package/packages/model-runtime/src/core/usageConverters/utils/resolveImageSinglePrice.ts +34 -0
  666. package/packages/model-runtime/src/helpers/mergeChatMethodOptions.ts +2 -1
  667. package/packages/model-runtime/src/index.ts +1 -1
  668. package/packages/model-runtime/src/providers/aihubmix/index.test.ts +1 -1
  669. package/packages/model-runtime/src/providers/anthropic/generateObject.test.ts +1 -1
  670. package/packages/model-runtime/src/providers/anthropic/index.test.ts +1 -1
  671. package/packages/model-runtime/src/providers/anthropic/index.ts +1 -38
  672. package/packages/model-runtime/src/providers/anthropic/resolveCacheTTL.ts +44 -0
  673. package/packages/model-runtime/src/providers/azureai/index.ts +34 -2
  674. package/packages/model-runtime/src/providers/baichuan/index.test.ts +1 -1
  675. package/packages/model-runtime/src/providers/bedrock/index.test.ts +128 -12
  676. package/packages/model-runtime/src/providers/bedrock/index.ts +47 -13
  677. package/packages/model-runtime/src/providers/bfl/createImage.test.ts +4 -4
  678. package/packages/model-runtime/src/providers/bfl/createImage.ts +1 -1
  679. package/packages/model-runtime/src/providers/cloudflare/index.test.ts +1 -1
  680. package/packages/model-runtime/src/providers/cohere/index.test.ts +1 -1
  681. package/packages/model-runtime/src/providers/comfyui/__tests__/index.test.ts +1 -2
  682. package/packages/model-runtime/src/providers/comfyui/auth/AuthManager.ts +1 -2
  683. package/packages/model-runtime/src/providers/comfyui/index.ts +2 -7
  684. package/packages/model-runtime/src/providers/deepseek/index.test.ts +86 -0
  685. package/packages/model-runtime/src/providers/deepseek/index.ts +24 -0
  686. package/packages/model-runtime/src/providers/google/createImage.test.ts +8 -7
  687. package/packages/model-runtime/src/providers/google/createImage.ts +14 -9
  688. package/packages/model-runtime/src/providers/google/generateObject.test.ts +1 -1
  689. package/packages/model-runtime/src/providers/google/index.test.ts +98 -5
  690. package/packages/model-runtime/src/providers/google/index.ts +29 -11
  691. package/packages/model-runtime/src/providers/groq/index.test.ts +1 -1
  692. package/packages/model-runtime/src/providers/hunyuan/index.test.ts +1 -1
  693. package/packages/model-runtime/src/providers/minimax/createImage.test.ts +1 -1
  694. package/packages/model-runtime/src/providers/minimax/index.ts +36 -6
  695. package/packages/model-runtime/src/providers/mistral/index.test.ts +1 -1
  696. package/packages/model-runtime/src/providers/moonshot/index.test.ts +1 -1
  697. package/packages/model-runtime/src/providers/moonshot/index.ts +17 -4
  698. package/packages/model-runtime/src/providers/newapi/index.test.ts +3 -75
  699. package/packages/model-runtime/src/providers/newapi/index.ts +1 -14
  700. package/packages/model-runtime/src/providers/novita/__snapshots__/index.test.ts.snap +584 -0
  701. package/packages/model-runtime/src/providers/novita/index.test.ts +1 -1
  702. package/packages/model-runtime/src/providers/ollama/index.test.ts +43 -32
  703. package/packages/model-runtime/src/providers/ollama/index.ts +31 -7
  704. package/packages/model-runtime/src/providers/openai/__snapshots__/index.test.ts.snap +517 -0
  705. package/packages/model-runtime/src/providers/openai/index.test.ts +44 -0
  706. package/packages/model-runtime/src/providers/openrouter/index.test.ts +4 -3
  707. package/packages/model-runtime/src/providers/openrouter/index.ts +1 -1
  708. package/packages/model-runtime/src/providers/perplexity/index.test.ts +1 -1
  709. package/packages/model-runtime/src/providers/ppio/__snapshots__/index.test.ts.snap +27 -0
  710. package/packages/model-runtime/src/providers/ppio/index.test.ts +1 -1
  711. package/packages/model-runtime/src/providers/qwen/createImage.test.ts +1 -1
  712. package/packages/model-runtime/src/providers/search1api/index.test.ts +1 -1
  713. package/packages/model-runtime/src/providers/siliconcloud/createImage.ts +1 -1
  714. package/packages/model-runtime/src/providers/taichu/index.test.ts +1 -1
  715. package/packages/model-runtime/src/providers/wenxin/index.test.ts +1 -1
  716. package/packages/model-runtime/src/providers/wenxin/index.ts +22 -1
  717. package/packages/model-runtime/src/providers/zenmux/index.test.ts +320 -0
  718. package/packages/model-runtime/src/providers/zenmux/index.ts +84 -0
  719. package/packages/model-runtime/src/providers/zhipu/index.test.ts +1 -1
  720. package/packages/model-runtime/src/runtimeMap.ts +2 -0
  721. package/packages/model-runtime/src/types/chat.ts +8 -0
  722. package/packages/model-runtime/src/types/error.ts +11 -8
  723. package/packages/model-runtime/src/types/toolsCalling.ts +3 -1
  724. package/packages/model-runtime/src/utils/errorResponse.test.ts +1 -1
  725. package/packages/model-runtime/src/utils/googleErrorParser.test.ts +125 -0
  726. package/packages/model-runtime/src/utils/googleErrorParser.ts +108 -77
  727. package/packages/model-runtime/src/utils/modelParse.ts +6 -0
  728. package/packages/model-runtime/src/utils/postProcessModelList.ts +15 -13
  729. package/packages/obervability-otel/package.json +15 -15
  730. package/packages/obervability-otel/src/api.ts +2 -0
  731. package/packages/obervability-otel/src/node.ts +17 -7
  732. package/packages/obervability-otel/src/trpc/convention.ts +16 -0
  733. package/packages/obervability-otel/src/trpc/index.test.ts +38 -0
  734. package/packages/obervability-otel/src/trpc/index.ts +62 -0
  735. package/packages/obervability-otel/src/trpc/metrics.ts +31 -0
  736. package/packages/prompts/package.json +1 -1
  737. package/packages/prompts/src/prompts/knowledgeBaseQA/__snapshots__/formatFileContents.test.ts.snap +75 -0
  738. package/packages/prompts/src/prompts/knowledgeBaseQA/__snapshots__/formatNoSearchResults.test.ts.snap +45 -0
  739. package/packages/prompts/src/prompts/knowledgeBaseQA/__snapshots__/formatSearchResults.test.ts.snap +82 -0
  740. package/packages/prompts/src/prompts/knowledgeBaseQA/formatFileContents.test.ts +118 -0
  741. package/packages/prompts/src/prompts/knowledgeBaseQA/formatFileContents.ts +31 -0
  742. package/packages/prompts/src/prompts/knowledgeBaseQA/formatNoSearchResults.test.ts +25 -0
  743. package/packages/prompts/src/prompts/knowledgeBaseQA/formatNoSearchResults.ts +13 -0
  744. package/packages/prompts/src/prompts/knowledgeBaseQA/formatSearchResults.test.ts +191 -0
  745. package/packages/prompts/src/prompts/knowledgeBaseQA/formatSearchResults.ts +50 -0
  746. package/packages/prompts/src/prompts/knowledgeBaseQA/index.ts +6 -0
  747. package/packages/ssrf-safe-fetch/index.browser.ts +14 -0
  748. package/packages/ssrf-safe-fetch/package.json +9 -2
  749. package/packages/types/src/agent/chatConfig.ts +19 -8
  750. package/packages/types/src/aiChat.ts +2 -0
  751. package/packages/types/src/aiProvider.ts +1 -1
  752. package/packages/types/src/discover/assistants.ts +16 -0
  753. package/packages/types/src/discover/mcp.ts +6 -0
  754. package/packages/types/src/document/index.ts +50 -38
  755. package/packages/types/src/exportConfig.ts +15 -15
  756. package/packages/types/src/fetch.ts +9 -9
  757. package/packages/types/src/files/index.ts +2 -0
  758. package/packages/types/src/files/list.ts +11 -1
  759. package/packages/types/src/files/upload.ts +1 -1
  760. package/packages/types/src/generation/index.ts +5 -5
  761. package/packages/types/src/hotkey.ts +6 -5
  762. package/packages/types/src/importer.ts +6 -6
  763. package/packages/types/src/index.ts +5 -1
  764. package/packages/types/src/llm.ts +1 -1
  765. package/packages/types/src/message/common/base.ts +2 -2
  766. package/packages/types/src/message/common/metadata.ts +22 -2
  767. package/packages/types/src/message/common/tools.ts +20 -1
  768. package/packages/types/src/message/db/item.ts +15 -1
  769. package/packages/types/src/message/ui/chat.ts +25 -2
  770. package/packages/types/src/message/ui/extra.ts +2 -2
  771. package/packages/types/src/message/ui/params.ts +66 -7
  772. package/packages/types/src/meta.ts +7 -3
  773. package/packages/types/src/openai/chat.ts +15 -15
  774. package/packages/types/src/openai/image.ts +1 -1
  775. package/packages/types/src/plugins/mcp.ts +33 -30
  776. package/packages/types/src/plugins/protocol.ts +43 -43
  777. package/packages/types/src/rag.ts +13 -4
  778. package/packages/types/src/search.ts +4 -4
  779. package/packages/types/src/serverConfig.ts +2 -6
  780. package/packages/types/src/session/agentSession.ts +2 -0
  781. package/packages/types/src/tool/builtin.ts +15 -4
  782. package/packages/types/src/tool/intervention.ts +70 -3
  783. package/packages/types/src/tool/plugin.ts +3 -3
  784. package/packages/types/src/tool/search/index.ts +8 -2
  785. package/packages/types/src/topic/topic.ts +16 -2
  786. package/packages/types/src/usage/usageRecord.ts +54 -0
  787. package/packages/types/src/user/index.ts +2 -76
  788. package/packages/types/src/user/preference.ts +101 -0
  789. package/packages/types/src/user/settings/general.ts +3 -0
  790. package/packages/types/src/user/settings/hotkey.ts +1 -1
  791. package/packages/types/src/user/settings/index.ts +22 -0
  792. package/packages/types/src/user/settings/keyVaults.ts +0 -67
  793. package/packages/types/src/user/settings/tool.ts +2 -39
  794. package/packages/utils/package.json +2 -2
  795. package/packages/utils/src/apiKey.test.ts +139 -0
  796. package/packages/utils/src/client/clipboard.ts +2 -2
  797. package/packages/utils/src/client/exportFile.ts +10 -10
  798. package/packages/utils/src/client/parserPlaceholder.ts +19 -19
  799. package/packages/utils/src/client/topic.ts +10 -10
  800. package/packages/utils/src/client/xor-obfuscation.ts +11 -11
  801. package/packages/utils/src/clientIP.ts +6 -6
  802. package/packages/utils/src/colorUtils.test.ts +167 -0
  803. package/packages/utils/src/compass.ts +11 -11
  804. package/packages/utils/src/compressImage.ts +3 -3
  805. package/packages/utils/src/format.ts +2 -2
  806. package/packages/utils/src/imageToBase64.ts +17 -10
  807. package/packages/utils/src/index.ts +1 -1
  808. package/packages/utils/src/merge.ts +3 -3
  809. package/packages/utils/src/object.ts +3 -3
  810. package/packages/utils/src/sanitizeUTF8.ts +4 -4
  811. package/packages/utils/src/server/__tests__/response.test.ts +79 -0
  812. package/packages/utils/src/server/auth.ts +6 -6
  813. package/packages/utils/src/server/geo.ts +9 -9
  814. package/packages/utils/src/server/index.ts +1 -0
  815. package/packages/utils/src/server/response.ts +110 -0
  816. package/packages/utils/src/server/validateRedirectHost.test.ts +352 -0
  817. package/packages/utils/src/server/xor.ts +7 -7
  818. package/packages/utils/src/time.ts +4 -0
  819. package/packages/utils/src/tokenizer/index.ts +3 -11
  820. package/packages/utils/src/toolManifest.ts +4 -4
  821. package/packages/utils/src/trace.test.ts +359 -0
  822. package/packages/utils/src/uriParser.ts +4 -4
  823. package/packages/web-crawler/package.json +2 -2
  824. package/packages/web-crawler/src/crawImpl/browserless.ts +1 -1
  825. package/packages/web-crawler/src/crawImpl/naive.ts +9 -9
  826. package/packages/web-crawler/src/crawler.ts +5 -5
  827. package/packages/web-crawler/src/type.ts +4 -4
  828. package/packages/web-crawler/src/urlRules.ts +13 -13
  829. package/packages/web-crawler/src/utils/appUrlRules.ts +5 -5
  830. package/packages/web-crawler/tsconfig.json +0 -1
  831. package/renovate.json +40 -1
  832. package/scripts/checkConsoleLog.mts +148 -0
  833. package/scripts/migrateServerDB/errorHint.js +1 -7
  834. package/scripts/prebuild.mts +20 -10
  835. package/src/app/(backend)/api/webhooks/clerk/route.ts +1 -2
  836. package/src/app/(backend)/f/[id]/route.ts +55 -0
  837. package/src/app/(backend)/market/agent/[[...segments]]/route.ts +153 -0
  838. package/src/app/(backend)/market/oidc/[[...segments]]/route.ts +207 -0
  839. package/src/app/(backend)/middleware/auth/index.ts +8 -4
  840. package/src/app/(backend)/trpc/async/[trpc]/route.ts +9 -3
  841. package/src/app/(backend)/trpc/desktop/[trpc]/route.ts +15 -9
  842. package/src/app/(backend)/trpc/lambda/[trpc]/route.ts +9 -3
  843. package/src/app/(backend)/trpc/mobile/[trpc]/route.ts +9 -3
  844. package/src/app/(backend)/trpc/tools/[trpc]/route.ts +9 -3
  845. package/src/app/(backend)/webapi/chat/[provider]/route.ts +1 -1
  846. package/src/app/(backend)/webapi/models/[provider]/pull/route.ts +1 -1
  847. package/src/app/(backend)/webapi/models/[provider]/route.ts +1 -1
  848. package/src/app/(backend)/webapi/stt/openai/route.ts +0 -2
  849. package/src/app/(backend)/webapi/text-to-image/[provider]/route.ts +1 -1
  850. package/src/app/(backend)/webapi/tts/edge/route.ts +8 -2
  851. package/src/app/(backend)/webapi/tts/microsoft/route.ts +8 -2
  852. package/src/app/(backend)/webapi/tts/openai/route.ts +15 -3
  853. package/src/app/[variants]/(auth)/signup/[[...signup]]/page.tsx +1 -8
  854. package/src/app/[variants]/(main)/(mobile)/me/(home)/__tests__/UserBanner.test.tsx +7 -4
  855. package/src/app/[variants]/(main)/(mobile)/me/(home)/__tests__/useCategory.test.tsx +13 -24
  856. package/src/app/[variants]/(main)/(mobile)/me/(home)/features/UserBanner.tsx +7 -11
  857. package/src/app/[variants]/(main)/(mobile)/me/(home)/features/useCategory.tsx +9 -41
  858. package/src/app/[variants]/(main)/(mobile)/me/(home)/index.tsx +25 -0
  859. package/src/app/[variants]/(main)/(mobile)/me/(home)/layout.tsx +13 -18
  860. package/src/app/[variants]/(main)/(mobile)/me/profile/features/Category.tsx +22 -27
  861. package/src/app/[variants]/(main)/(mobile)/me/profile/features/Header.tsx +3 -3
  862. package/src/app/[variants]/(main)/(mobile)/me/profile/index.tsx +16 -0
  863. package/src/app/[variants]/(main)/(mobile)/me/profile/layout.tsx +9 -11
  864. package/src/app/[variants]/(main)/(mobile)/me/settings/features/Header.tsx +3 -3
  865. package/src/app/[variants]/(main)/(mobile)/me/settings/features/useCategory.tsx +8 -18
  866. package/src/app/[variants]/(main)/(mobile)/me/settings/index.tsx +16 -0
  867. package/src/app/[variants]/(main)/(mobile)/me/settings/layout.tsx +15 -13
  868. package/src/app/[variants]/(main)/changelog/_layout/Desktop/index.tsx +6 -5
  869. package/src/app/[variants]/(main)/changelog/_layout/Mobile/Header.tsx +3 -3
  870. package/src/app/[variants]/(main)/changelog/_layout/Mobile/index.tsx +5 -5
  871. package/src/app/[variants]/(main)/changelog/features/Post.tsx +7 -4
  872. package/src/app/[variants]/(main)/changelog/index.tsx +55 -0
  873. package/src/app/[variants]/(main)/chat/_layout/Desktop/SessionPanel.tsx +12 -7
  874. package/src/app/[variants]/(main)/chat/_layout/Desktop/index.tsx +7 -10
  875. package/src/app/[variants]/(main)/chat/_layout/FeatureFlagsProvider.tsx +24 -0
  876. package/src/app/[variants]/(main)/chat/_layout/Mobile.tsx +6 -9
  877. package/src/app/[variants]/(main)/chat/_layout/type.ts +0 -1
  878. package/src/app/[variants]/(main)/chat/components/ConversationArea.tsx +29 -0
  879. package/src/app/[variants]/(main)/chat/components/PortalPanel.tsx +28 -0
  880. package/src/app/[variants]/(main)/chat/components/SessionPanel.tsx +33 -0
  881. package/src/app/[variants]/(main)/chat/components/TopicSidebar.tsx +30 -0
  882. package/src/app/[variants]/(main)/chat/components/WorkspaceLayout.tsx +60 -0
  883. package/src/app/[variants]/(main)/chat/components/conversation/features/ChatHydration/index.tsx +42 -0
  884. package/src/app/[variants]/(main)/chat/components/conversation/features/ChatInput/Desktop/ClassicChat.tsx +81 -0
  885. package/src/app/[variants]/(main)/chat/components/conversation/features/ChatInput/Desktop/GroupChat.tsx +126 -0
  886. package/src/app/[variants]/(main)/chat/components/conversation/features/ChatInput/Desktop/MessageFromUrl.tsx +30 -0
  887. package/src/app/[variants]/(main)/chat/components/conversation/features/ChatInput/Desktop/index.tsx +16 -0
  888. package/src/app/[variants]/(main)/chat/components/conversation/features/ChatInput/V1Mobile/index.tsx +89 -0
  889. package/src/app/[variants]/(main)/chat/components/conversation/features/ChatInput/V1Mobile/useSend.ts +109 -0
  890. package/src/app/[variants]/(main)/chat/components/conversation/features/ChatInput/useSend.ts +322 -0
  891. package/src/app/[variants]/(main)/chat/components/conversation/features/ChatList/ChatItem/Thread.tsx +62 -0
  892. package/src/app/[variants]/(main)/chat/components/conversation/features/ChatList/ChatItem/index.tsx +85 -0
  893. package/src/app/[variants]/(main)/chat/components/conversation/features/ChatList/Content.tsx +45 -0
  894. package/src/app/[variants]/(main)/chat/components/conversation/features/ChatList/WelcomeChatItem/AgentWelcome/OpeningQuestions.tsx +75 -0
  895. package/src/app/[variants]/(main)/chat/components/conversation/features/ChatList/WelcomeChatItem/GroupWelcome/GroupUsageSuggest.tsx +164 -0
  896. package/src/app/[variants]/(main)/chat/components/conversation/features/ChatList/index.tsx +28 -0
  897. package/src/app/[variants]/(main)/chat/components/conversation/features/ChatMinimap/index.tsx +380 -0
  898. package/src/app/[variants]/(main)/chat/components/conversation/features/ThreadHydration.tsx +45 -0
  899. package/src/app/[variants]/(main)/chat/components/topic/features/Topic/TopicListContent/TopicItem/TopicContent.tsx +250 -0
  900. package/src/app/[variants]/(main)/chat/components/topic/features/Topic/TopicListContent/TopicItem/index.tsx +111 -0
  901. package/src/app/[variants]/(main)/chat/features/PageTitle/index.tsx +1 -2
  902. package/src/app/[variants]/(main)/chat/index.tsx +29 -0
  903. package/src/app/[variants]/(main)/chat/session/features/SessionHydration.tsx +47 -0
  904. package/src/app/[variants]/(main)/chat/session/features/SessionListContent/Inbox/index.tsx +61 -0
  905. package/src/app/[variants]/(main)/chat/session/features/SessionListContent/List/Item/Actions.tsx +204 -0
  906. package/src/app/[variants]/(main)/chat/session/features/SessionListContent/List/Item/index.tsx +157 -0
  907. package/src/app/[variants]/(main)/chat/session/features/SessionListContent/List/index.tsx +100 -0
  908. package/src/app/[variants]/(main)/chat/session/layout/Mobile/SessionHeader.tsx +44 -0
  909. package/src/app/[variants]/(main)/chat/settings/_layout/Desktop/Header.tsx +3 -3
  910. package/src/app/[variants]/(main)/chat/settings/_layout/Mobile/Header.tsx +3 -3
  911. package/src/app/[variants]/(main)/chat/settings/features/AgentInfoDescription/index.tsx +349 -0
  912. package/src/app/[variants]/(main)/chat/settings/features/HeaderContent.tsx +3 -63
  913. package/src/app/[variants]/(main)/chat/settings/features/PublishResultModal/index.tsx +64 -0
  914. package/src/app/[variants]/(main)/chat/settings/features/SmartAgentActionButton/MarketPublishButton.tsx +196 -0
  915. package/src/app/[variants]/(main)/chat/settings/features/SmartAgentActionButton/MarketPublishModal.tsx +358 -0
  916. package/src/app/[variants]/(main)/chat/settings/features/SmartAgentActionButton/index.tsx +75 -0
  917. package/src/app/[variants]/(main)/chat/settings/index.tsx +65 -0
  918. package/src/app/[variants]/(main)/components/Link.tsx +21 -0
  919. package/src/app/[variants]/(main)/discover/(detail)/_layout/Desktop/index.tsx +38 -0
  920. package/src/app/[variants]/(main)/discover/(detail)/_layout/Mobile/index.tsx +3 -3
  921. package/src/app/[variants]/(main)/discover/(detail)/assistant/features/Details/Capabilities/Block.tsx +27 -0
  922. package/src/app/[variants]/(main)/discover/(detail)/assistant/features/Details/Nav.tsx +129 -0
  923. package/src/app/[variants]/(main)/discover/(detail)/assistant/features/Details/Overview/TagList.tsx +56 -0
  924. package/src/app/[variants]/(main)/discover/(detail)/assistant/features/Details/Overview/index.tsx +98 -0
  925. package/src/app/[variants]/(main)/discover/(detail)/assistant/features/Details/Related/index.tsx +40 -0
  926. package/src/app/[variants]/(main)/discover/(detail)/assistant/features/Details/SystemRole/TagList.tsx +56 -0
  927. package/src/app/[variants]/(main)/discover/(detail)/assistant/features/Details/SystemRole/index.tsx +68 -0
  928. package/src/app/[variants]/(main)/discover/(detail)/assistant/features/Details/Versions/index.tsx +137 -0
  929. package/src/app/[variants]/(main)/discover/(detail)/assistant/features/Details/index.tsx +51 -0
  930. package/src/app/[variants]/(main)/discover/(detail)/assistant/features/Header.tsx +176 -0
  931. package/src/app/[variants]/(main)/discover/(detail)/assistant/features/Sidebar/ActionButton/AddAgent.tsx +178 -0
  932. package/src/app/[variants]/(main)/discover/(detail)/assistant/features/Sidebar/ActionButton/index.tsx +31 -0
  933. package/src/app/[variants]/(main)/discover/(detail)/assistant/features/Sidebar/Related/index.tsx +57 -0
  934. package/src/app/[variants]/(main)/discover/(detail)/assistant/features/Sidebar/TocList/index.tsx +77 -0
  935. package/src/app/[variants]/(main)/discover/(detail)/assistant/features/StatusPage/index.tsx +113 -0
  936. package/src/app/[variants]/(main)/discover/(detail)/assistant/index.tsx +63 -0
  937. package/src/app/[variants]/(main)/discover/(detail)/features/Breadcrumb.tsx +4 -3
  938. package/src/app/[variants]/(main)/discover/(detail)/mcp/features/Details/Related/index.tsx +32 -0
  939. package/src/app/[variants]/(main)/discover/(detail)/mcp/features/Details/Versions/index.tsx +76 -0
  940. package/src/app/[variants]/(main)/discover/(detail)/mcp/features/Details/index.tsx +59 -0
  941. package/src/app/[variants]/(main)/discover/(detail)/mcp/features/Sidebar/Related/index.tsx +44 -0
  942. package/src/app/[variants]/(main)/discover/(detail)/mcp/features/Sidebar/ServerConfig.tsx +36 -0
  943. package/src/app/[variants]/(main)/discover/(detail)/mcp/features/Sidebar/TocList/index.tsx +98 -0
  944. package/src/app/[variants]/(main)/discover/(detail)/mcp/index.tsx +59 -0
  945. package/src/app/[variants]/(main)/discover/(detail)/mcp/loading.tsx +1 -0
  946. package/src/app/[variants]/(main)/discover/(detail)/model/features/Details/Overview/index.tsx +22 -0
  947. package/src/app/[variants]/(main)/discover/(detail)/model/features/Details/Parameter/ParameterItem.tsx +71 -0
  948. package/src/app/[variants]/(main)/discover/(detail)/model/features/Details/Related/index.tsx +31 -0
  949. package/src/app/[variants]/(main)/discover/(detail)/model/features/Details/index.tsx +47 -0
  950. package/src/app/[variants]/(main)/discover/(detail)/model/features/Header.tsx +112 -0
  951. package/src/app/[variants]/(main)/discover/(detail)/model/features/Sidebar/ActionButton/ChatWithModel.tsx +92 -0
  952. package/src/app/[variants]/(main)/discover/(detail)/model/features/Sidebar/ActionButton/index.tsx +32 -0
  953. package/src/app/[variants]/(main)/discover/(detail)/model/features/Sidebar/Related/index.tsx +43 -0
  954. package/src/app/[variants]/(main)/discover/(detail)/model/features/Sidebar/RelatedProviders/index.tsx +34 -0
  955. package/src/app/[variants]/(main)/discover/(detail)/model/index.tsx +51 -0
  956. package/src/app/[variants]/(main)/discover/(detail)/model/loading.tsx +1 -0
  957. package/src/app/[variants]/(main)/discover/(detail)/provider/features/Details/Related/index.tsx +22 -0
  958. package/src/app/[variants]/(main)/discover/(detail)/provider/features/Details/index.tsx +47 -0
  959. package/src/app/[variants]/(main)/discover/(detail)/provider/features/Sidebar/ActionButton/ProviderConfig.tsx +91 -0
  960. package/src/app/[variants]/(main)/discover/(detail)/provider/features/Sidebar/ActionButton/index.tsx +45 -0
  961. package/src/app/[variants]/(main)/discover/(detail)/provider/features/Sidebar/Related/index.tsx +34 -0
  962. package/src/app/[variants]/(main)/discover/(detail)/provider/features/Sidebar/RelatedModels/index.tsx +43 -0
  963. package/src/app/[variants]/(main)/discover/(detail)/provider/index.tsx +51 -0
  964. package/src/app/[variants]/(main)/discover/(detail)/provider/loading.tsx +1 -0
  965. package/src/app/[variants]/(main)/discover/(list)/(home)/index.tsx +59 -0
  966. package/src/app/[variants]/(main)/discover/(list)/_layout/Desktop/Nav.tsx +5 -4
  967. package/src/app/[variants]/(main)/discover/(list)/_layout/Desktop/index.tsx +4 -3
  968. package/src/app/[variants]/(main)/discover/(list)/_layout/Mobile/Nav.tsx +3 -4
  969. package/src/app/[variants]/(main)/discover/(list)/_layout/Mobile/index.tsx +4 -3
  970. package/src/app/[variants]/(main)/discover/(list)/assistant/Client.tsx +6 -2
  971. package/src/app/[variants]/(main)/discover/(list)/assistant/_layout/Desktop.tsx +3 -4
  972. package/src/app/[variants]/(main)/discover/(list)/assistant/_layout/Mobile.tsx +3 -3
  973. package/src/app/[variants]/(main)/discover/(list)/assistant/features/Category/index.tsx +8 -4
  974. package/src/app/[variants]/(main)/discover/(list)/assistant/features/List/Item.tsx +13 -2
  975. package/src/app/[variants]/(main)/discover/(list)/assistant/features/MarketSourceSwitch.tsx +64 -0
  976. package/src/app/[variants]/(main)/discover/(list)/assistant/index.tsx +61 -0
  977. package/src/app/[variants]/(main)/discover/(list)/features/Pagination.tsx +2 -1
  978. package/src/app/[variants]/(main)/discover/(list)/features/SortButton/index.tsx +29 -10
  979. package/src/app/[variants]/(main)/discover/(list)/mcp/_layout/Desktop.tsx +3 -3
  980. package/src/app/[variants]/(main)/discover/(list)/mcp/_layout/Mobile.tsx +3 -3
  981. package/src/app/[variants]/(main)/discover/(list)/mcp/features/Category/index.tsx +1 -1
  982. package/src/app/[variants]/(main)/discover/(list)/mcp/features/List/Item.tsx +2 -1
  983. package/src/app/[variants]/(main)/discover/(list)/mcp/index.tsx +51 -0
  984. package/src/app/[variants]/(main)/discover/(list)/model/_layout/Desktop.tsx +3 -3
  985. package/src/app/[variants]/(main)/discover/(list)/model/_layout/Mobile.tsx +3 -3
  986. package/src/app/[variants]/(main)/discover/(list)/model/features/Category/index.tsx +1 -1
  987. package/src/app/[variants]/(main)/discover/(list)/model/features/List/Item.tsx +2 -1
  988. package/src/app/[variants]/(main)/discover/(list)/model/index.tsx +51 -0
  989. package/src/app/[variants]/(main)/discover/(list)/provider/features/List/Item.tsx +2 -1
  990. package/src/app/[variants]/(main)/discover/(list)/provider/index.tsx +50 -0
  991. package/src/app/[variants]/(main)/discover/_layout/Desktop/index.tsx +4 -4
  992. package/src/app/[variants]/(main)/discover/_layout/Mobile/index.tsx +3 -3
  993. package/src/app/[variants]/(main)/discover/components/CategoryMenu.tsx +9 -1
  994. package/src/app/[variants]/(main)/discover/components/Title.tsx +1 -1
  995. package/src/app/[variants]/(main)/discover/features/Search.tsx +2 -2
  996. package/src/app/[variants]/(main)/discover/features/useNav.tsx +11 -12
  997. package/src/app/[variants]/(main)/hooks/useActiveTabKey.ts +40 -0
  998. package/src/app/[variants]/(main)/hooks/usePathname.ts +10 -0
  999. package/src/app/[variants]/(main)/hooks/useQuery.ts +12 -0
  1000. package/src/app/[variants]/(main)/hooks/useRouter.ts +22 -0
  1001. package/src/app/[variants]/(main)/hooks/useSearchParams.ts +11 -0
  1002. package/src/app/[variants]/(main)/image/@menu/features/ConfigPanel/components/ModelSelect/ImageModelItem.tsx +108 -0
  1003. package/src/app/[variants]/(main)/image/@menu/features/ConfigPanel/components/ModelSelect/index.tsx +162 -0
  1004. package/src/app/[variants]/(main)/image/@menu/features/ConfigPanel/components/ResolutionSelect.tsx +88 -0
  1005. package/src/app/[variants]/(main)/image/@menu/features/ConfigPanel/index.tsx +9 -0
  1006. package/src/app/[variants]/(main)/image/@topic/features/Topics/TopicList.tsx +1 -0
  1007. package/src/app/[variants]/(main)/image/@topic/features/Topics/TopicUrlSync.tsx +1 -1
  1008. package/src/app/[variants]/(main)/image/ComingSoon.tsx +15 -0
  1009. package/src/app/[variants]/(main)/image/_layout/Desktop/index.tsx +5 -2
  1010. package/src/app/[variants]/(main)/image/_layout/DesktopWrapper.tsx +15 -0
  1011. package/src/app/[variants]/(main)/image/_layout/Mobile/index.tsx +3 -1
  1012. package/src/app/[variants]/(main)/image/features/ImageWorkspace/index.tsx +1 -2
  1013. package/src/app/[variants]/(main)/image/features/PromptInput/index.tsx +1 -1
  1014. package/src/app/[variants]/(main)/image/index.tsx +18 -0
  1015. package/src/app/[variants]/(main)/knowledge/_layout/Desktop.tsx +17 -0
  1016. package/src/app/[variants]/(main)/knowledge/_layout/Mobile.tsx +17 -0
  1017. package/src/app/[variants]/(main)/knowledge/components/KnowledgeBaseItem/index.tsx +1 -3
  1018. package/src/app/[variants]/(main)/knowledge/components/modal/ModalPageClient.tsx +4 -4
  1019. package/src/app/[variants]/(main)/knowledge/hooks/useFileCategory.ts +6 -3
  1020. package/src/app/[variants]/(main)/knowledge/routes/KnowledgeBaseDetail/index.tsx +7 -10
  1021. package/src/app/[variants]/(main)/knowledge/routes/KnowledgeBaseDetail/menu/CategoryMenu.tsx +35 -0
  1022. package/src/app/[variants]/(main)/knowledge/routes/KnowledgeBaseDetail/menu/Head.tsx +1 -1
  1023. package/src/app/[variants]/(main)/knowledge/routes/KnowledgeBaseDetail/menu/Menu.tsx +2 -2
  1024. package/src/app/[variants]/(main)/knowledge/routes/KnowledgeHome/index.tsx +40 -18
  1025. package/src/app/[variants]/(main)/knowledge/routes/KnowledgeHome/layout/Container.tsx +1 -1
  1026. package/src/app/[variants]/(main)/knowledge/routes/KnowledgeHome/menu/CategoryMenu.tsx +148 -0
  1027. package/src/app/[variants]/(main)/knowledge/routes/KnowledgeHome/menu/KnowledgeBase.tsx +21 -8
  1028. package/src/app/[variants]/(main)/labs/components/LabCard.tsx +8 -6
  1029. package/src/app/[variants]/(main)/labs/index.tsx +74 -0
  1030. package/src/app/[variants]/(main)/layouts/desktop/DesktopLayoutContainer.tsx +30 -0
  1031. package/src/app/[variants]/(main)/layouts/desktop/SideBar/BottomActions.tsx +46 -0
  1032. package/src/app/[variants]/(main)/layouts/desktop/SideBar/PinList/index.tsx +128 -0
  1033. package/src/app/[variants]/(main)/layouts/desktop/SideBar/TopActions.test.tsx +141 -0
  1034. package/src/app/[variants]/(main)/layouts/desktop/SideBar/TopActions.tsx +116 -0
  1035. package/src/app/[variants]/(main)/layouts/desktop/index.tsx +73 -0
  1036. package/src/app/[variants]/(main)/layouts/index.tsx +11 -0
  1037. package/src/app/[variants]/(main)/layouts/mobile/NavBar.tsx +88 -0
  1038. package/src/app/[variants]/(main)/layouts/mobile/index.tsx +46 -0
  1039. package/src/app/[variants]/(main)/profile/(home)/desktop.tsx +26 -0
  1040. package/src/app/[variants]/(main)/profile/(home)/index.tsx +26 -0
  1041. package/src/app/[variants]/(main)/profile/@category/features/CategoryContent.tsx +5 -7
  1042. package/src/app/[variants]/(main)/profile/_layout/Desktop/index.tsx +20 -20
  1043. package/src/app/[variants]/(main)/profile/_layout/DesktopWrapper.tsx +14 -0
  1044. package/src/app/[variants]/(main)/profile/_layout/Mobile/Header.tsx +3 -3
  1045. package/src/app/[variants]/(main)/profile/_layout/Mobile/index.tsx +8 -11
  1046. package/src/app/[variants]/(main)/profile/apikey/index.tsx +18 -0
  1047. package/src/app/[variants]/(main)/profile/hooks/useCategory.tsx +24 -18
  1048. package/src/app/[variants]/(main)/profile/security/index.tsx +29 -0
  1049. package/src/app/[variants]/(main)/profile/stats/features/AssistantsRank.tsx +4 -4
  1050. package/src/app/[variants]/(main)/profile/stats/features/ShareButton/Preview.tsx +2 -14
  1051. package/src/app/[variants]/(main)/profile/stats/features/TopicsRank.tsx +4 -4
  1052. package/src/app/[variants]/(main)/profile/stats/index.tsx +20 -0
  1053. package/src/app/[variants]/(main)/profile/usage/Client.tsx +114 -0
  1054. package/src/app/[variants]/(main)/profile/usage/features/UsageCards/ActiveModels/ModelTable.tsx +175 -0
  1055. package/src/app/[variants]/(main)/profile/usage/features/UsageCards/ActiveModels/index.tsx +126 -0
  1056. package/src/app/[variants]/(main)/profile/usage/features/UsageCards/MonthSpend.tsx +53 -0
  1057. package/src/app/[variants]/(main)/profile/usage/features/UsageCards/TodaySpend.tsx +67 -0
  1058. package/src/app/[variants]/(main)/profile/usage/features/UsageCards/index.tsx +19 -0
  1059. package/src/app/[variants]/(main)/profile/usage/features/UsageTable.tsx +143 -0
  1060. package/src/app/[variants]/(main)/profile/usage/features/UsageTrends.tsx +107 -0
  1061. package/src/app/[variants]/(main)/profile/usage/features/components/UsageBarChart.tsx +48 -0
  1062. package/src/app/[variants]/(main)/profile/usage/index.tsx +13 -0
  1063. package/src/app/[variants]/(main)/settings/_layout/Desktop/Header.tsx +2 -2
  1064. package/src/app/[variants]/(main)/settings/_layout/Desktop/index.tsx +45 -11
  1065. package/src/app/[variants]/(main)/settings/_layout/DesktopWrapper.tsx +23 -0
  1066. package/src/app/[variants]/(main)/settings/_layout/Mobile/Header.tsx +8 -7
  1067. package/src/app/[variants]/(main)/settings/_layout/Mobile/index.tsx +2 -7
  1068. package/src/app/[variants]/(main)/settings/_layout/MobileWrapper.tsx +23 -0
  1069. package/src/app/[variants]/(main)/settings/_layout/SettingsContent.tsx +1 -12
  1070. package/src/app/[variants]/(main)/settings/_layout/type.ts +0 -1
  1071. package/src/app/[variants]/(main)/settings/agent/AgentMenu/Menu.tsx +2 -4
  1072. package/src/app/[variants]/(main)/settings/agent/index.tsx +13 -14
  1073. package/src/app/[variants]/(main)/settings/common/features/Common/Common.tsx +23 -1
  1074. package/src/app/[variants]/(main)/settings/common/index.tsx +1 -1
  1075. package/src/app/[variants]/(main)/settings/hooks/useCategory.tsx +8 -16
  1076. package/src/app/[variants]/(main)/settings/provider/(list)/ProviderGrid/Card.tsx +9 -4
  1077. package/src/app/[variants]/(main)/settings/provider/(list)/ProviderGrid/index.tsx +16 -4
  1078. package/src/app/[variants]/(main)/settings/provider/(list)/index.tsx +15 -3
  1079. package/src/app/[variants]/(main)/settings/provider/ProviderMenu/All.tsx +2 -2
  1080. package/src/app/[variants]/(main)/settings/provider/ProviderMenu/Item.tsx +2 -2
  1081. package/src/app/[variants]/(main)/settings/provider/ProviderMenu/List.tsx +97 -7
  1082. package/src/app/[variants]/(main)/settings/provider/ProviderMenu/SearchResult.tsx +5 -5
  1083. package/src/app/[variants]/(main)/settings/provider/_layout/Desktop/Container.tsx +10 -4
  1084. package/src/app/[variants]/(main)/settings/provider/_layout/Mobile.tsx +2 -2
  1085. package/src/app/[variants]/(main)/settings/provider/detail/azure/index.tsx +6 -8
  1086. package/src/app/[variants]/(main)/settings/provider/detail/azureai/index.tsx +1 -1
  1087. package/src/app/[variants]/(main)/settings/provider/detail/bedrock/index.tsx +1 -1
  1088. package/src/app/[variants]/(main)/settings/provider/detail/cloudflare/index.tsx +1 -1
  1089. package/src/app/[variants]/(main)/settings/provider/detail/comfyui/index.tsx +1 -1
  1090. package/src/app/[variants]/(main)/settings/provider/detail/github/index.tsx +1 -1
  1091. package/src/app/[variants]/(main)/settings/provider/detail/index.tsx +36 -14
  1092. package/src/app/[variants]/(main)/settings/provider/detail/vertexai/index.tsx +1 -1
  1093. package/src/app/[variants]/(main)/settings/provider/features/CreateNewProvider/index.tsx +22 -9
  1094. package/src/app/[variants]/(main)/settings/provider/features/ModelList/DisabledModels.tsx +144 -8
  1095. package/src/app/[variants]/(main)/settings/provider/features/ModelList/ModelItem.tsx +69 -97
  1096. package/src/app/[variants]/(main)/settings/provider/features/ProviderConfig/UpdateProviderInfo/SettingModal.tsx +3 -3
  1097. package/src/app/[variants]/(main)/settings/provider/features/ProviderConfig/index.tsx +4 -8
  1098. package/src/app/[variants]/(main)/settings/provider/features/customProviderSdkOptions.ts +1 -0
  1099. package/src/app/[variants]/(main)/settings/storage/index.tsx +1 -9
  1100. package/src/app/[variants]/(main)/settings/system-agent/index.tsx +1 -2
  1101. package/src/app/[variants]/DesktopClientRouter.tsx +20 -0
  1102. package/src/app/[variants]/DesktopRouter.tsx +20 -0
  1103. package/src/app/[variants]/MobileClientRouter.tsx +20 -0
  1104. package/src/app/[variants]/MobileRouter.tsx +20 -0
  1105. package/src/app/[variants]/desktopRouter.config.tsx +502 -0
  1106. package/src/app/[variants]/layout.tsx +1 -3
  1107. package/src/app/[variants]/loaders/routeParams.ts +45 -0
  1108. package/src/app/[variants]/loading/Server/Redirect.tsx +1 -1
  1109. package/src/app/[variants]/loading/index.tsx +1 -10
  1110. package/src/app/[variants]/mobileRouter.config.tsx +546 -0
  1111. package/src/app/[variants]/oauth/ResultLayout.tsx +47 -0
  1112. package/src/app/[variants]/oauth/callback/error/page.tsx +20 -33
  1113. package/src/app/[variants]/oauth/callback/layout.tsx +1 -0
  1114. package/src/app/[variants]/oauth/callback/success/page.tsx +8 -22
  1115. package/src/app/[variants]/oauth/consent/[uid]/Consent/BuiltinConsent.tsx +47 -0
  1116. package/src/app/[variants]/oauth/consent/[uid]/Consent/index.tsx +198 -0
  1117. package/src/app/[variants]/oauth/consent/[uid]/Login.tsx +19 -4
  1118. package/src/app/[variants]/page.tsx +18 -6
  1119. package/src/app/desktop/devtools/page.tsx +1 -1
  1120. package/src/app/desktop/layout.tsx +1 -1
  1121. package/src/app/market-auth-callback/layout.tsx +39 -0
  1122. package/src/app/market-auth-callback/page.tsx +196 -0
  1123. package/src/components/Analytics/MainInterfaceTracker.tsx +2 -2
  1124. package/src/components/BootErrorBoundary/index.tsx +129 -0
  1125. package/src/components/FileIcon/index.tsx +1 -1
  1126. package/src/components/InvalidAPIKey/APIKeyForm/Bedrock.tsx +9 -14
  1127. package/src/components/InvalidAPIKey/APIKeyForm/ComfyUIForm.tsx +1 -1
  1128. package/src/components/InvalidAPIKey/APIKeyForm/ProviderApiKeyForm.tsx +1 -1
  1129. package/src/components/InvalidAPIKey/APIKeyForm/__tests__/ComfyUIForm.test.tsx +1 -1
  1130. package/src/components/InvalidAPIKey/APIKeyForm/useApiKey.ts +0 -12
  1131. package/src/components/InvalidAPIKey/index.tsx +1 -1
  1132. package/src/components/Link.tsx +12 -0
  1133. package/src/components/ModelSelect/NewModelBadge.tsx +23 -0
  1134. package/src/components/ModelSelect/index.tsx +4 -0
  1135. package/src/components/Skeleton/SkeletonSwitch.tsx +13 -0
  1136. package/src/components/Skeleton/index.ts +2 -0
  1137. package/src/components/mdx/constants.ts +1 -0
  1138. package/src/config/db.ts +0 -5
  1139. package/src/config/featureFlags/schema.test.ts +1 -5
  1140. package/src/config/featureFlags/schema.ts +0 -9
  1141. package/src/config/modelProviders/ai21.ts +1 -16
  1142. package/src/config/modelProviders/ai302.ts +1 -128
  1143. package/src/config/modelProviders/ai360.ts +1 -32
  1144. package/src/config/modelProviders/aihubmix.ts +1 -0
  1145. package/src/config/modelProviders/anthropic.ts +1 -71
  1146. package/src/config/modelProviders/azure.ts +1 -51
  1147. package/src/config/modelProviders/baichuan.ts +1 -57
  1148. package/src/config/modelProviders/bedrock.ts +1 -276
  1149. package/src/config/modelProviders/cloudflare.ts +1 -64
  1150. package/src/config/modelProviders/deepseek.ts +1 -19
  1151. package/src/config/modelProviders/fireworksai.ts +1 -174
  1152. package/src/config/modelProviders/giteeai.ts +1 -135
  1153. package/src/config/modelProviders/github.ts +1 -254
  1154. package/src/config/modelProviders/google.ts +1 -130
  1155. package/src/config/modelProviders/groq.ts +1 -119
  1156. package/src/config/modelProviders/higress.ts +1 -1713
  1157. package/src/config/modelProviders/huggingface.ts +1 -54
  1158. package/src/config/modelProviders/hunyuan.ts +1 -83
  1159. package/src/config/modelProviders/index.ts +3 -0
  1160. package/src/config/modelProviders/infiniai.ts +1 -74
  1161. package/src/config/modelProviders/internlm.ts +1 -20
  1162. package/src/config/modelProviders/mistral.ts +1 -95
  1163. package/src/config/modelProviders/modelscope.ts +1 -27
  1164. package/src/config/modelProviders/moonshot.ts +1 -29
  1165. package/src/config/modelProviders/newapi.ts +1 -0
  1166. package/src/config/modelProviders/novita.ts +1 -105
  1167. package/src/config/modelProviders/ollama.ts +1 -325
  1168. package/src/config/modelProviders/openai.ts +1 -242
  1169. package/src/config/modelProviders/openrouter.ts +1 -240
  1170. package/src/config/modelProviders/perplexity.ts +1 -45
  1171. package/src/config/modelProviders/ppio.ts +1 -152
  1172. package/src/config/modelProviders/qiniu.ts +1 -18
  1173. package/src/config/modelProviders/qwen.ts +1 -245
  1174. package/src/config/modelProviders/search1api.ts +1 -34
  1175. package/src/config/modelProviders/sensenova.ts +1 -69
  1176. package/src/config/modelProviders/siliconcloud.ts +1 -417
  1177. package/src/config/modelProviders/spark.ts +1 -59
  1178. package/src/config/modelProviders/stepfun.ts +1 -98
  1179. package/src/config/modelProviders/taichu.ts +1 -18
  1180. package/src/config/modelProviders/togetherai.ts +1 -274
  1181. package/src/config/modelProviders/upstage.ts +1 -28
  1182. package/src/config/modelProviders/wenxin.ts +3 -143
  1183. package/src/config/modelProviders/xai.ts +1 -38
  1184. package/src/config/modelProviders/zenmux.ts +21 -0
  1185. package/src/config/modelProviders/zeroone.ts +1 -81
  1186. package/src/config/modelProviders/zhipu.ts +1 -108
  1187. package/src/envs/__tests__/app.test.ts +47 -13
  1188. package/src/envs/app.ts +13 -9
  1189. package/src/envs/llm.ts +6 -0
  1190. package/src/features/AgentSetting/AgentPrompt/TokenTag.tsx +3 -2
  1191. package/src/features/AgentSetting/AgentTTS/SelectWithTTSPreview.tsx +1 -1
  1192. package/src/features/AgentSetting/store/action.ts +1 -1
  1193. package/src/features/ChangelogModal/index.tsx +3 -3
  1194. package/src/features/ChatInput/ActionBar/Knowledge/index.tsx +4 -5
  1195. package/src/features/ChatInput/ActionBar/Model/ControlsForm.tsx +23 -0
  1196. package/src/features/ChatInput/ActionBar/Model/GPT51ReasoningEffortSlider.tsx +58 -0
  1197. package/src/features/ChatInput/ActionBar/Model/ThinkingLevelSlider.tsx +56 -0
  1198. package/src/features/ChatInput/ActionBar/STT/browser.tsx +6 -6
  1199. package/src/features/ChatInput/ActionBar/STT/openai.tsx +6 -6
  1200. package/src/features/ChatInput/ActionBar/Search/index.tsx +5 -7
  1201. package/src/features/ChatInput/ActionBar/Token/TokenTag.tsx +4 -4
  1202. package/src/features/ChatInput/ActionBar/Token/TokenTagForGroupChat.tsx +2 -2
  1203. package/src/features/ChatInput/ActionBar/Upload/index.tsx +1 -3
  1204. package/src/features/ChatInput/ActionBar/components/ActionDropdown.tsx +2 -17
  1205. package/src/features/ChatInput/ActionBar/index.tsx +2 -2
  1206. package/src/features/ChatInput/InputEditor/index.tsx +2 -2
  1207. package/src/features/ChatItem/components/MessageContent.tsx +4 -1
  1208. package/src/features/ChatItem/components/Title.tsx +20 -16
  1209. package/src/features/ChatItem/style.ts +4 -0
  1210. package/src/features/ChatList/Error/ChatInvalidApiKey.tsx +39 -0
  1211. package/src/features/ChatList/Error/ClerkLogin/index.tsx +47 -0
  1212. package/src/features/ChatList/Error/OAuthForm.tsx +97 -0
  1213. package/src/features/ChatList/Error/index.tsx +144 -0
  1214. package/src/features/ChatList/MarkdownElements/LobeThinking/Render.tsx +30 -0
  1215. package/src/features/ChatList/MarkdownElements/Thinking/Render.tsx +42 -0
  1216. package/src/features/ChatList/MarkdownElements/remarkPlugins/__snapshots__/createRemarkSelfClosingTagPlugin.test.ts.snap +393 -0
  1217. package/src/features/ChatList/MarkdownElements/remarkPlugins/createRemarkSelfClosingTagPlugin.test.ts +277 -0
  1218. package/src/features/ChatList/MarkdownElements/remarkPlugins/createRemarkSelfClosingTagPlugin.ts +162 -0
  1219. package/src/features/ChatList/MarkdownElements/remarkPlugins/getNodeContent.test.ts +502 -0
  1220. package/src/features/ChatList/Messages/Assistant/Actions/index.tsx +218 -0
  1221. package/src/features/ChatList/Messages/Assistant/CollapsedMessage.tsx +37 -0
  1222. package/src/features/ChatList/Messages/Assistant/Extra/index.test.tsx +86 -0
  1223. package/src/features/ChatList/Messages/Assistant/Extra/index.tsx +49 -0
  1224. package/src/features/ChatList/Messages/Assistant/MessageContent.tsx +78 -0
  1225. package/src/features/ChatList/Messages/Assistant/index.tsx +399 -0
  1226. package/src/features/ChatList/Messages/Default.tsx +30 -0
  1227. package/src/features/ChatList/Messages/Group/Actions/WithContentId.tsx +200 -0
  1228. package/src/features/ChatList/Messages/Group/Actions/WithoutContentId.tsx +93 -0
  1229. package/src/features/ChatList/Messages/Group/Actions/index.tsx +21 -0
  1230. package/src/features/ChatList/Messages/Group/CollapsedMessage.tsx +37 -0
  1231. package/src/features/ChatList/Messages/Group/ContentBlock.tsx +89 -0
  1232. package/src/features/ChatList/Messages/Group/EditState.tsx +51 -0
  1233. package/src/features/ChatList/Messages/Group/Error/index.tsx +55 -0
  1234. package/src/features/ChatList/Messages/Group/Group.tsx +70 -0
  1235. package/src/features/ChatList/Messages/Group/GroupContext.ts +15 -0
  1236. package/src/features/ChatList/Messages/Group/GroupItem.tsx +42 -0
  1237. package/src/features/ChatList/Messages/Group/MessageContent.tsx +45 -0
  1238. package/src/features/ChatList/Messages/Group/Tool/Inspector/BuiltinPluginTitle.tsx +58 -0
  1239. package/src/features/ChatList/Messages/Group/Tool/Inspector/Debug.tsx +70 -0
  1240. package/src/features/ChatList/Messages/Group/Tool/Inspector/PluginResult.tsx +34 -0
  1241. package/src/features/ChatList/Messages/Group/Tool/Inspector/PluginState.tsx +18 -0
  1242. package/src/features/ChatList/Messages/Group/Tool/Inspector/StatusIndicator.tsx +41 -0
  1243. package/src/features/ChatList/Messages/Group/Tool/Inspector/ToolTitle.tsx +82 -0
  1244. package/src/features/ChatList/Messages/Group/Tool/Inspector/index.tsx +221 -0
  1245. package/src/features/ChatList/Messages/Group/Tool/Render/AbortResponse.tsx +37 -0
  1246. package/src/features/ChatList/Messages/Group/Tool/Render/Arguments/index.tsx +136 -0
  1247. package/src/features/ChatList/Messages/Group/Tool/Render/CustomRender.tsx +88 -0
  1248. package/src/features/ChatList/Messages/Group/Tool/Render/Intervention/ApprovalActions.tsx +164 -0
  1249. package/src/features/ChatList/Messages/Group/Tool/Render/Intervention/Fallback.tsx +98 -0
  1250. package/src/features/ChatList/Messages/Group/Tool/Render/Intervention/KeyValueEditor.tsx +213 -0
  1251. package/src/features/ChatList/Messages/Group/Tool/Render/Intervention/ModeSelector.tsx +133 -0
  1252. package/src/features/ChatList/Messages/Group/Tool/Render/Intervention/index.tsx +103 -0
  1253. package/src/features/ChatList/Messages/Group/Tool/Render/LoadingPlaceholder/index.tsx +29 -0
  1254. package/src/features/ChatList/Messages/Group/Tool/Render/PluginSettings.tsx +66 -0
  1255. package/src/features/ChatList/Messages/Group/Tool/Render/RejectedResponse.tsx +45 -0
  1256. package/src/features/ChatList/Messages/Group/Tool/Render/index.tsx +139 -0
  1257. package/src/features/ChatList/Messages/Group/Tool/index.tsx +98 -0
  1258. package/src/features/ChatList/Messages/Group/Tools.tsx +48 -0
  1259. package/src/features/ChatList/Messages/Group/index.tsx +210 -0
  1260. package/src/features/ChatList/Messages/Supervisor/index.tsx +194 -0
  1261. package/src/features/ChatList/Messages/Tool/Inspector/PluginResult.tsx +39 -0
  1262. package/src/features/ChatList/Messages/Tool/Inspector/PluginState.tsx +23 -0
  1263. package/src/features/ChatList/Messages/Tool/Inspector/Settings.tsx +40 -0
  1264. package/src/features/ChatList/Messages/Tool/Inspector/ToolTitle.tsx +68 -0
  1265. package/src/features/ChatList/Messages/Tool/Inspector/index.tsx +134 -0
  1266. package/src/features/ChatList/Messages/Tool/Render/Arguments/ObjectEntity.tsx +81 -0
  1267. package/src/features/ChatList/Messages/Tool/Render/Arguments/ValueCell.tsx +43 -0
  1268. package/src/features/ChatList/Messages/Tool/Render/CustomRender.tsx +144 -0
  1269. package/src/features/ChatList/Messages/Tool/Render/ErrorResponse.tsx +35 -0
  1270. package/src/features/ChatList/Messages/Tool/Render/PluginSettings.tsx +69 -0
  1271. package/src/features/ChatList/Messages/Tool/Render/index.tsx +46 -0
  1272. package/src/features/ChatList/Messages/Tool/ToolItem.tsx +51 -0
  1273. package/src/features/ChatList/Messages/Tool/index.tsx +58 -0
  1274. package/src/features/ChatList/Messages/User/Actions/ActionsBar.tsx +159 -0
  1275. package/src/features/ChatList/Messages/User/Actions/MessageBranch.tsx +107 -0
  1276. package/src/features/ChatList/Messages/User/Actions/index.tsx +42 -0
  1277. package/src/features/ChatList/Messages/User/Extra.tsx +39 -0
  1278. package/src/features/ChatList/Messages/User/index.tsx +193 -0
  1279. package/src/features/ChatList/Messages/index.tsx +236 -0
  1280. package/src/features/ChatList/components/AutoScroll.tsx +27 -0
  1281. package/src/features/ChatList/components/ContextMenu.tsx +391 -0
  1282. package/src/features/ChatList/components/Extras/TTS/InitPlayer.tsx +93 -0
  1283. package/src/features/ChatList/components/Extras/Usage/UsageDetail/AnimatedNumber.tsx +55 -0
  1284. package/src/features/ChatList/components/Extras/Usage/UsageDetail/index.tsx +257 -0
  1285. package/src/features/ChatList/components/Extras/Usage/UsageDetail/tokens.ts +129 -0
  1286. package/src/features/ChatList/components/Extras/Usage/index.tsx +52 -0
  1287. package/src/features/ChatList/components/ShareMessageModal/ShareImage/Preview.tsx +90 -0
  1288. package/src/features/ChatList/components/ShareMessageModal/index.tsx +91 -0
  1289. package/src/features/ChatList/components/SkeletonList.tsx +58 -0
  1290. package/src/features/ChatList/components/VirtualizedList/VirtuosoContext.ts +92 -0
  1291. package/src/features/ChatList/components/VirtualizedList/index.tsx +172 -0
  1292. package/src/features/ChatList/components/WideScreenContainer/index.tsx +50 -0
  1293. package/src/features/ChatList/hooks/useChatItemContextMenu.tsx +135 -0
  1294. package/src/features/ChatList/hooks/useChatListActionsBar.tsx +145 -0
  1295. package/src/features/ChatList/hooks/useDoubleClickEdit.ts +42 -0
  1296. package/src/features/DataImporter/index.tsx +16 -61
  1297. package/src/features/DevPanel/PostgresViewer/usePgTable.ts +5 -12
  1298. package/src/features/FileSidePanel/index.tsx +1 -1
  1299. package/src/features/KnowledgeBaseModal/AssignKnowledgeBase/Item/MasonryItem.tsx +80 -0
  1300. package/src/features/KnowledgeBaseModal/AssignKnowledgeBase/Item/MasonryItemWrapper.tsx +27 -0
  1301. package/src/features/KnowledgeBaseModal/AssignKnowledgeBase/List.tsx +104 -23
  1302. package/src/features/KnowledgeBaseModal/AssignKnowledgeBase/MasonrySkeleton.tsx +62 -0
  1303. package/src/features/KnowledgeBaseModal/AssignKnowledgeBase/index.tsx +3 -2
  1304. package/src/features/KnowledgeBaseModal/CreateNew/CreateForm.tsx +1 -1
  1305. package/src/features/KnowledgeManager/DocumentExplorer/DocumentActions.tsx +111 -0
  1306. package/src/features/KnowledgeManager/DocumentExplorer/DocumentEditor.tsx +723 -0
  1307. package/src/features/KnowledgeManager/DocumentExplorer/DocumentEditorPlaceholder.tsx +169 -0
  1308. package/src/features/KnowledgeManager/DocumentExplorer/DocumentListItem.tsx +148 -0
  1309. package/src/features/KnowledgeManager/DocumentExplorer/DocumentListSkeleton.tsx +39 -0
  1310. package/src/features/KnowledgeManager/DocumentExplorer/NoteEditorModal.tsx +328 -0
  1311. package/src/features/KnowledgeManager/DocumentExplorer/RenamePopover.tsx +163 -0
  1312. package/src/features/KnowledgeManager/DocumentExplorer/index.tsx +318 -0
  1313. package/src/features/KnowledgeManager/FileExplorer/FileListItem/index.tsx +270 -0
  1314. package/src/features/KnowledgeManager/FileExplorer/MasonryFileItem/DefaultFileItem.tsx +149 -0
  1315. package/src/features/KnowledgeManager/FileExplorer/MasonryFileItem/ImageFileItem.tsx +245 -0
  1316. package/src/features/KnowledgeManager/FileExplorer/MasonryFileItem/MarkdownFileItem.tsx +232 -0
  1317. package/src/features/KnowledgeManager/FileExplorer/MasonryFileItem/NoteFileItem.tsx +230 -0
  1318. package/src/features/KnowledgeManager/FileExplorer/MasonryFileItem/index.tsx +378 -0
  1319. package/src/features/KnowledgeManager/FileExplorer/ToolBar/ViewSwitcher.tsx +45 -0
  1320. package/src/features/KnowledgeManager/FileExplorer/index.tsx +305 -0
  1321. package/src/features/KnowledgeManager/Header/AddButton.tsx +117 -0
  1322. package/src/features/KnowledgeManager/Header/FilesSearchBar.tsx +45 -0
  1323. package/src/features/KnowledgeManager/Header/NewNoteButton.tsx +33 -0
  1324. package/src/features/KnowledgeManager/Header/TogglePanelButton.tsx +42 -0
  1325. package/src/features/KnowledgeManager/Header/index.tsx +21 -0
  1326. package/src/features/KnowledgeManager/Home/RecentDocumentCard.tsx +116 -0
  1327. package/src/features/KnowledgeManager/Home/RecentDocuments.tsx +77 -0
  1328. package/src/features/KnowledgeManager/Home/RecentFileCard.tsx +121 -0
  1329. package/src/features/KnowledgeManager/Home/RecentFiles.tsx +73 -0
  1330. package/src/features/KnowledgeManager/Home/RecentFilesSkeleton.tsx +81 -0
  1331. package/src/features/KnowledgeManager/Home/UploadEntries.tsx +208 -0
  1332. package/src/features/KnowledgeManager/Home/index.tsx +221 -0
  1333. package/src/features/KnowledgeManager/index.tsx +75 -0
  1334. package/src/features/LocalFile/LocalFile.tsx +55 -5
  1335. package/src/features/MCP/utils.test.ts +91 -0
  1336. package/src/features/MCP/utils.ts +20 -2
  1337. package/src/features/ModelSwitchPanel/index.tsx +15 -29
  1338. package/src/features/OllamaSetupGuide/index.tsx +1 -1
  1339. package/src/features/PluginStore/Content.tsx +2 -3
  1340. package/src/features/PluginStore/McpList/index.tsx +6 -2
  1341. package/src/features/PluginTag/PluginStatus.tsx +1 -1
  1342. package/src/features/PluginsUI/Render/BuiltinType/index.test.tsx +10 -4
  1343. package/src/features/PluginsUI/Render/BuiltinType/index.tsx +4 -4
  1344. package/src/features/PluginsUI/Render/MCPType/index.tsx +72 -0
  1345. package/src/features/PluginsUI/Render/StandaloneType/Iframe.tsx +5 -5
  1346. package/src/features/PluginsUI/Render/index.tsx +17 -0
  1347. package/src/features/Portal/Artifacts/Body/Renderer/SVG.tsx +23 -6
  1348. package/src/features/Portal/FilePreview/Body/index.tsx +1 -1
  1349. package/src/features/Portal/FilePreview/Header.tsx +1 -1
  1350. package/src/features/Portal/GroupThread/Body/ThreadChatItem.tsx +1 -1
  1351. package/src/features/Portal/GroupThread/Body/ThreadChatList.tsx +1 -1
  1352. package/src/features/Portal/GroupThread/Body/index.tsx +1 -1
  1353. package/src/features/Portal/Home/Body/Plugins/ArtifactList/index.tsx +3 -3
  1354. package/src/features/Portal/Thread/Chat/ChatInput/index.tsx +1 -1
  1355. package/src/features/Portal/Thread/Chat/ChatInput/useSend.ts +3 -3
  1356. package/src/features/Portal/Thread/Chat/ChatItem.tsx +1 -1
  1357. package/src/features/Portal/Thread/Chat/ChatList.tsx +1 -1
  1358. package/src/features/Portal/Thread/Chat/index.tsx +1 -1
  1359. package/src/features/ShareModal/ShareImage/ChatList/index.tsx +1 -1
  1360. package/src/features/ShareModal/ShareImage/Preview.tsx +2 -2
  1361. package/src/features/ShareModal/ShareImage/index.tsx +15 -1
  1362. package/src/features/ShareModal/ShareImage/type.ts +6 -0
  1363. package/src/features/ShareModal/ShareJSON/index.tsx +2 -2
  1364. package/src/features/ShareModal/ShareText/index.tsx +3 -3
  1365. package/src/features/ShareModal/index.tsx +7 -13
  1366. package/src/features/ShareModal/style.ts +40 -30
  1367. package/src/features/User/UserPanel/PanelContent.tsx +8 -9
  1368. package/src/features/User/UserPanel/useMenu.tsx +24 -14
  1369. package/src/features/User/__tests__/PanelContent.test.tsx +13 -7
  1370. package/src/helpers/isCanUseFC.ts +0 -8
  1371. package/src/helpers/toolEngineering/index.test.ts +3 -3
  1372. package/src/helpers/toolEngineering/index.ts +17 -4
  1373. package/src/hooks/useAgentOwnershipCheck.ts +143 -0
  1374. package/src/hooks/useCheckPluginsIsInstalled.ts +1 -4
  1375. package/src/hooks/useDiscoverTab.ts +2 -2
  1376. package/src/hooks/useEnabledChatModels.ts +0 -8
  1377. package/src/hooks/useFetchGroups.ts +1 -4
  1378. package/src/hooks/useFetchInstalledPlugins.ts +1 -4
  1379. package/src/hooks/useFetchMessages.ts +1 -4
  1380. package/src/hooks/useFetchSessions.ts +1 -4
  1381. package/src/hooks/useFetchThreads.ts +1 -5
  1382. package/src/hooks/useFetchTopics.ts +1 -4
  1383. package/src/hooks/useHotkeys/chatScope.ts +16 -8
  1384. package/src/hooks/useInterceptingRoutes.test.ts +22 -26
  1385. package/src/hooks/useInterceptingRoutes.ts +6 -11
  1386. package/src/hooks/useModelContextWindowTokens.ts +0 -8
  1387. package/src/hooks/useModelHasContextWindowToken.ts +1 -10
  1388. package/src/hooks/useModelSupportFiles.ts +1 -11
  1389. package/src/hooks/useModelSupportReasoning.ts +1 -11
  1390. package/src/hooks/useModelSupportToolUse.ts +1 -11
  1391. package/src/hooks/useModelSupportVision.ts +1 -11
  1392. package/src/hooks/usePinnedAgentState.ts +23 -16
  1393. package/src/hooks/useQuery.ts +5 -0
  1394. package/src/hooks/useQueryParam.ts +322 -0
  1395. package/src/hooks/useQueryRoute.test.ts +2 -12
  1396. package/src/hooks/useQueryRoute.ts +5 -5
  1397. package/src/hooks/useScreenshot.ts +44 -28
  1398. package/src/hooks/useShowMobileWorkspace.ts +1 -1
  1399. package/src/hooks/useSwitchSession.ts +4 -3
  1400. package/src/instrumentation.node.ts +3 -2
  1401. package/src/layout/AuthProvider/Clerk/index.tsx +2 -16
  1402. package/src/layout/AuthProvider/MarketAuth/MarketAuthProvider.tsx +364 -0
  1403. package/src/layout/AuthProvider/MarketAuth/errors.ts +75 -0
  1404. package/src/layout/AuthProvider/MarketAuth/index.ts +2 -0
  1405. package/src/layout/AuthProvider/MarketAuth/oidc.ts +382 -0
  1406. package/src/layout/AuthProvider/MarketAuth/types.ts +64 -0
  1407. package/src/layout/AuthProvider/index.tsx +17 -4
  1408. package/src/layout/GlobalProvider/Cmdk.tsx +470 -0
  1409. package/src/layout/GlobalProvider/CmdkLazy.tsx +17 -0
  1410. package/src/layout/GlobalProvider/ImportSettings.tsx +22 -9
  1411. package/src/layout/GlobalProvider/StoreInitialization.tsx +7 -5
  1412. package/src/layout/GlobalProvider/index.tsx +2 -0
  1413. package/src/libs/mcp/__tests__/__snapshots__/index.test.ts.snap +0 -6
  1414. package/src/libs/mcp/__tests__/index.test.ts +6 -6
  1415. package/src/libs/mcp/client.ts +3 -2
  1416. package/src/libs/mcp/types.ts +71 -0
  1417. package/src/libs/next-auth/auth.config.ts +2 -5
  1418. package/src/libs/trpc/client/index.ts +0 -1
  1419. package/src/libs/trpc/client/lambda.ts +11 -11
  1420. package/src/libs/trpc/lambda/context.ts +4 -1
  1421. package/src/libs/trpc/lambda/index.ts +5 -2
  1422. package/src/libs/trpc/middleware/openTelemetry.ts +141 -0
  1423. package/src/libs/trpc/utils/request-adapter.ts +20 -0
  1424. package/src/locales/default/auth.ts +44 -0
  1425. package/src/locales/default/chat.ts +37 -0
  1426. package/src/locales/default/common.ts +24 -0
  1427. package/src/locales/default/components.ts +6 -0
  1428. package/src/locales/default/discover.ts +46 -0
  1429. package/src/locales/default/error.ts +2 -2
  1430. package/src/locales/default/file.ts +88 -5
  1431. package/src/locales/default/hotkey.ts +4 -0
  1432. package/src/locales/default/image.ts +8 -0
  1433. package/src/locales/default/index.ts +2 -0
  1434. package/src/locales/default/labs.ts +4 -0
  1435. package/src/locales/default/marketAuth.ts +42 -0
  1436. package/src/locales/default/modelProvider.ts +16 -2
  1437. package/src/locales/default/oauth.ts +1 -0
  1438. package/src/locales/default/plugin.ts +37 -16
  1439. package/src/locales/default/setting.ts +100 -1
  1440. package/src/locales/default/tool.ts +32 -5
  1441. package/src/locales/default/topic.ts +1 -0
  1442. package/src/proxy.ts +13 -1
  1443. package/src/server/globalConfig/genServerAiProviderConfig.test.ts +5 -5
  1444. package/src/server/globalConfig/genServerAiProviderConfig.ts +4 -4
  1445. package/src/server/globalConfig/index.ts +0 -23
  1446. package/src/server/globalConfig/parseFilesConfig.ts +1 -1
  1447. package/src/server/globalConfig/parseSystemAgent.ts +4 -4
  1448. package/src/server/modules/ContentChunk/index.test.ts +372 -0
  1449. package/src/server/modules/S3/index.test.ts +379 -0
  1450. package/src/server/routers/async/__tests__/caller.test.ts +333 -0
  1451. package/src/server/routers/async/caller.ts +2 -1
  1452. package/src/server/routers/async/image.ts +20 -2
  1453. package/src/server/routers/desktop/mcp.ts +22 -11
  1454. package/src/server/routers/lambda/__tests__/aiChat.test.ts +1 -1
  1455. package/src/server/routers/lambda/__tests__/file.test.ts +85 -6
  1456. package/src/server/routers/lambda/__tests__/integration/message.integration.test.ts +771 -57
  1457. package/src/server/routers/lambda/aiChat.ts +3 -2
  1458. package/src/server/routers/lambda/chunk.ts +168 -41
  1459. package/src/server/routers/lambda/config/__snapshots__/index.test.ts.snap +175 -12
  1460. package/src/server/routers/lambda/config/index.test.ts +38 -30
  1461. package/src/server/routers/lambda/document.ts +57 -0
  1462. package/src/server/routers/lambda/file.ts +89 -2
  1463. package/src/server/routers/lambda/index.ts +2 -0
  1464. package/src/server/routers/lambda/knowledge.ts +94 -0
  1465. package/src/server/routers/lambda/market/index.ts +38 -14
  1466. package/src/server/routers/lambda/message.ts +52 -60
  1467. package/src/server/routers/lambda/topic.ts +7 -1
  1468. package/src/server/routers/lambda/usage.ts +36 -0
  1469. package/src/server/routers/lambda/user.ts +32 -31
  1470. package/src/server/routers/mobile/index.ts +14 -2
  1471. package/src/server/routers/tools/mcp.ts +24 -7
  1472. package/src/server/routers/tools/search.test.ts +1 -7
  1473. package/src/server/routers/tools/search.ts +1 -4
  1474. package/src/server/services/discover/index.test.ts +153 -11
  1475. package/src/server/services/discover/index.ts +339 -40
  1476. package/src/server/services/document/index.ts +103 -0
  1477. package/src/server/services/file/impls/local.ts +4 -1
  1478. package/src/server/services/file/index.ts +96 -1
  1479. package/src/server/services/mcp/contentProcessor.ts +101 -0
  1480. package/src/server/services/mcp/deps/MCPSystemDepsCheckService.test.ts +541 -0
  1481. package/src/server/services/mcp/deps/checkers/ManualInstallationChecker.test.ts +162 -0
  1482. package/src/server/services/mcp/deps/checkers/NpmInstallationChecker.test.ts +374 -0
  1483. package/src/server/services/mcp/deps/checkers/PythonInstallationChecker.test.ts +368 -0
  1484. package/src/server/services/mcp/index.test.ts +80 -25
  1485. package/src/server/services/mcp/index.ts +37 -23
  1486. package/src/server/services/message/__tests__/index.test.ts +338 -0
  1487. package/src/server/services/message/index.ts +187 -0
  1488. package/src/server/services/oidc/index.test.ts +232 -0
  1489. package/src/server/services/oidc/index.ts +24 -0
  1490. package/src/server/services/usage/index.test.ts +310 -0
  1491. package/src/server/services/usage/index.ts +164 -0
  1492. package/src/server/sitemap.ts +49 -35
  1493. package/src/server/utils/createSpeechResponse.ts +55 -0
  1494. package/src/services/__tests__/_auth.test.ts +1 -4
  1495. package/src/services/__tests__/tool.test.ts +0 -3
  1496. package/src/services/__tests__/upload.test.ts +92 -82
  1497. package/src/services/_auth.ts +4 -14
  1498. package/src/services/_header.ts +3 -18
  1499. package/src/services/_url.ts +15 -1
  1500. package/src/services/aiModel/index.test.ts +3 -6
  1501. package/src/services/aiModel/index.ts +55 -7
  1502. package/src/services/aiProvider/index.test.ts +2 -5
  1503. package/src/services/aiProvider/index.ts +47 -7
  1504. package/src/services/chat/chat.test.ts +71 -15
  1505. package/src/services/chat/clientModelRuntime.test.ts +109 -173
  1506. package/src/services/chat/contextEngineering.test.ts +4 -0
  1507. package/src/services/chat/contextEngineering.ts +8 -7
  1508. package/src/services/chat/helper.ts +7 -31
  1509. package/src/services/chat/index.ts +22 -11
  1510. package/src/services/chat/types.ts +1 -2
  1511. package/src/services/chatGroup/index.ts +64 -9
  1512. package/src/services/config.ts +2 -66
  1513. package/src/services/debug.ts +4 -4
  1514. package/src/services/discover.ts +28 -17
  1515. package/src/services/document/index.ts +44 -0
  1516. package/src/services/electron/desktopNotification.ts +6 -6
  1517. package/src/services/electron/file.ts +6 -6
  1518. package/src/services/electron/localFileService.ts +4 -0
  1519. package/src/services/electron/remoteServer.ts +12 -5
  1520. package/src/services/electron/settings.ts +6 -6
  1521. package/src/services/export/index.ts +9 -4
  1522. package/src/services/file/index.ts +70 -10
  1523. package/src/services/import/index.ts +132 -7
  1524. package/src/services/marketApi.ts +124 -0
  1525. package/src/services/mcp.test.ts +783 -0
  1526. package/src/services/mcp.ts +57 -22
  1527. package/src/services/message/__tests__/metadata-race-condition.test.ts +157 -0
  1528. package/src/services/message/index.ts +235 -10
  1529. package/src/services/message/server.test.ts +44 -0
  1530. package/src/services/models.ts +24 -32
  1531. package/src/services/plugin/index.test.ts +8 -0
  1532. package/src/services/plugin/index.ts +51 -10
  1533. package/src/services/rag.ts +6 -2
  1534. package/src/services/search.ts +2 -2
  1535. package/src/services/session/index.test.ts +8 -0
  1536. package/src/services/session/index.ts +129 -10
  1537. package/src/services/tableViewer/client.ts +12 -15
  1538. package/src/services/thread/index.test.ts +8 -0
  1539. package/src/services/thread/index.ts +37 -7
  1540. package/src/services/topic/index.test.ts +8 -0
  1541. package/src/services/topic/index.ts +74 -10
  1542. package/src/services/upload.ts +14 -43
  1543. package/src/services/usage.ts +13 -0
  1544. package/src/services/user/index.test.ts +8 -0
  1545. package/src/services/user/index.ts +50 -11
  1546. package/src/services/utils/abortableRequest.test.ts +161 -0
  1547. package/src/services/utils/abortableRequest.ts +67 -0
  1548. package/src/store/aiInfra/slices/aiModel/action.test.ts +17 -9
  1549. package/src/store/aiInfra/slices/aiProvider/__tests__/action.test.ts +125 -229
  1550. package/src/store/aiInfra/slices/aiProvider/__tests__/selectors.test.ts +62 -0
  1551. package/src/store/aiInfra/slices/aiProvider/action.ts +119 -37
  1552. package/src/store/aiInfra/slices/aiProvider/selectors.ts +1 -1
  1553. package/src/store/chat/agents/GeneralChatAgent.ts +391 -0
  1554. package/src/store/chat/agents/__tests__/GeneralChatAgent.test.ts +1144 -0
  1555. package/src/store/chat/agents/__tests__/createAgentExecutors/call-llm.test.ts +1235 -0
  1556. package/src/store/chat/agents/__tests__/createAgentExecutors/call-tool.test.ts +2005 -0
  1557. package/src/store/chat/agents/__tests__/createAgentExecutors/finish.test.ts +453 -0
  1558. package/src/store/chat/agents/__tests__/createAgentExecutors/fixtures/index.ts +4 -0
  1559. package/src/store/chat/agents/__tests__/createAgentExecutors/fixtures/mockInstructions.ts +126 -0
  1560. package/src/store/chat/agents/__tests__/createAgentExecutors/fixtures/mockMessages.ts +94 -0
  1561. package/src/store/chat/agents/__tests__/createAgentExecutors/fixtures/mockOperations.ts +96 -0
  1562. package/src/store/chat/agents/__tests__/createAgentExecutors/fixtures/mockStore.ts +138 -0
  1563. package/src/store/chat/agents/__tests__/createAgentExecutors/helpers/assertions.ts +188 -0
  1564. package/src/store/chat/agents/__tests__/createAgentExecutors/helpers/index.ts +3 -0
  1565. package/src/store/chat/agents/__tests__/createAgentExecutors/helpers/operationTestUtils.ts +94 -0
  1566. package/src/store/chat/agents/__tests__/createAgentExecutors/helpers/testExecutor.ts +136 -0
  1567. package/src/store/chat/agents/__tests__/createAgentExecutors/request-human-approve.test.ts +560 -0
  1568. package/src/store/chat/agents/__tests__/createAgentExecutors/resolve-aborted-tools.test.ts +712 -0
  1569. package/src/store/chat/agents/createAgentExecutors.ts +770 -0
  1570. package/src/store/chat/helpers.test.ts +0 -99
  1571. package/src/store/chat/helpers.ts +0 -11
  1572. package/src/store/chat/initialState.ts +4 -1
  1573. package/src/store/chat/selectors.ts +1 -0
  1574. package/src/store/chat/slices/aiChat/__tests__/ai-chat.integration.test.ts +667 -0
  1575. package/src/store/chat/slices/aiChat/actions/__tests__/cancel-functionality.test.ts +137 -27
  1576. package/src/store/chat/slices/aiChat/actions/__tests__/conversationControl.test.ts +370 -0
  1577. package/src/store/chat/slices/aiChat/actions/__tests__/conversationLifecycle.test.ts +281 -0
  1578. package/src/store/chat/slices/aiChat/actions/__tests__/fixtures.ts +0 -2
  1579. package/src/store/chat/slices/aiChat/actions/__tests__/helpers.ts +19 -8
  1580. package/src/store/chat/slices/aiChat/actions/__tests__/rag.test.ts +4 -91
  1581. package/src/store/chat/slices/aiChat/actions/__tests__/streamingExecutor.test.ts +809 -0
  1582. package/src/store/chat/slices/aiChat/actions/__tests__/streamingStates.test.ts +67 -0
  1583. package/src/store/chat/slices/aiChat/actions/conversationControl.ts +220 -0
  1584. package/src/store/chat/slices/aiChat/actions/conversationLifecycle.ts +415 -0
  1585. package/src/store/chat/slices/aiChat/actions/generateAIGroupChat.ts +24 -39
  1586. package/src/store/chat/slices/aiChat/actions/index.ts +12 -6
  1587. package/src/store/chat/slices/aiChat/actions/rag.ts +4 -48
  1588. package/src/store/chat/slices/aiChat/actions/streamingExecutor.ts +848 -0
  1589. package/src/store/chat/slices/aiChat/actions/streamingStates.ts +50 -0
  1590. package/src/store/chat/slices/aiChat/initialState.ts +0 -28
  1591. package/src/store/chat/slices/aiChat/selectors.test.ts +280 -0
  1592. package/src/store/chat/slices/aiChat/selectors.ts +31 -7
  1593. package/src/store/chat/slices/builtinTool/actions/__tests__/localSystem.test.ts +29 -39
  1594. package/src/store/chat/slices/builtinTool/actions/__tests__/search.test.ts +236 -48
  1595. package/src/store/chat/slices/builtinTool/actions/index.ts +4 -1
  1596. package/src/store/chat/slices/builtinTool/actions/interpreter.ts +86 -51
  1597. package/src/store/chat/slices/builtinTool/actions/knowledgeBase.ts +174 -0
  1598. package/src/store/chat/slices/builtinTool/actions/localSystem.ts +119 -202
  1599. package/src/store/chat/slices/builtinTool/actions/search.ts +174 -58
  1600. package/src/store/chat/slices/builtinTool/selectors.test.ts +258 -0
  1601. package/src/store/chat/slices/builtinTool/selectors.ts +25 -4
  1602. package/src/store/chat/slices/message/action.test.ts +482 -63
  1603. package/src/store/chat/slices/message/actions/index.ts +39 -0
  1604. package/src/store/chat/slices/message/actions/internals.ts +103 -0
  1605. package/src/store/chat/slices/message/actions/optimisticUpdate.ts +343 -0
  1606. package/src/store/chat/slices/message/actions/publicApi.ts +284 -0
  1607. package/src/store/chat/slices/message/actions/query.ts +135 -0
  1608. package/src/store/chat/slices/message/actions/runtimeState.ts +108 -0
  1609. package/src/store/chat/slices/message/initialState.ts +8 -0
  1610. package/src/store/chat/slices/message/reducer.test.ts +48 -370
  1611. package/src/store/chat/slices/message/reducer.ts +19 -82
  1612. package/src/store/chat/slices/message/selectors/chat.test.ts +22 -639
  1613. package/src/store/chat/slices/message/selectors/chat.ts +77 -243
  1614. package/src/store/chat/slices/message/selectors/dbMessage.test.ts +51 -0
  1615. package/src/store/chat/slices/message/selectors/dbMessage.ts +147 -0
  1616. package/src/store/chat/slices/message/selectors/displayMessage.test.ts +818 -0
  1617. package/src/store/chat/slices/message/selectors/displayMessage.ts +352 -0
  1618. package/src/store/chat/slices/message/selectors/messageState.ts +46 -12
  1619. package/src/store/chat/slices/operation/__tests__/actions.test.ts +1049 -0
  1620. package/src/store/chat/slices/operation/__tests__/integration.test.ts +342 -0
  1621. package/src/store/chat/slices/operation/__tests__/selectors.test.ts +601 -0
  1622. package/src/store/chat/slices/operation/actions.ts +658 -0
  1623. package/src/store/chat/slices/operation/index.ts +4 -0
  1624. package/src/store/chat/slices/operation/initialState.ts +44 -0
  1625. package/src/store/chat/slices/operation/selectors.ts +388 -0
  1626. package/src/store/chat/slices/operation/types.ts +161 -0
  1627. package/src/store/chat/slices/plugin/action.test.ts +320 -352
  1628. package/src/store/chat/slices/plugin/actions/index.ts +39 -0
  1629. package/src/store/chat/slices/plugin/actions/internals.ts +69 -0
  1630. package/src/store/chat/slices/plugin/actions/optimisticUpdate.ts +258 -0
  1631. package/src/store/chat/slices/plugin/actions/pluginTypes.ts +264 -0
  1632. package/src/store/chat/slices/plugin/actions/publicApi.ts +119 -0
  1633. package/src/store/chat/slices/plugin/actions/workflow.ts +77 -0
  1634. package/src/store/chat/slices/portal/selectors.test.ts +7 -7
  1635. package/src/store/chat/slices/portal/selectors.ts +2 -2
  1636. package/src/store/chat/slices/thread/action.test.ts +38 -33
  1637. package/src/store/chat/slices/thread/action.ts +19 -13
  1638. package/src/store/chat/slices/thread/selectors/index.ts +12 -8
  1639. package/src/store/chat/slices/topic/action.test.ts +1 -1
  1640. package/src/store/chat/slices/topic/action.ts +4 -5
  1641. package/src/store/chat/slices/topic/reducer.ts +12 -5
  1642. package/src/store/chat/slices/translate/action.test.ts +26 -32
  1643. package/src/store/chat/slices/translate/action.ts +57 -44
  1644. package/src/store/chat/store.ts +6 -3
  1645. package/src/store/discover/slices/assistant/action.ts +20 -7
  1646. package/src/store/file/initialState.ts +6 -1
  1647. package/src/store/file/slices/chat/action.ts +3 -6
  1648. package/src/store/file/slices/document/action.ts +359 -0
  1649. package/src/store/file/slices/document/index.ts +3 -0
  1650. package/src/store/file/slices/document/initialState.ts +22 -0
  1651. package/src/store/file/slices/document/selectors.ts +25 -0
  1652. package/src/store/file/slices/fileManager/action.test.ts +16 -9
  1653. package/src/store/file/slices/fileManager/action.ts +12 -13
  1654. package/src/store/file/store.ts +3 -0
  1655. package/src/store/global/action.test.ts +3 -3
  1656. package/src/store/global/actions/workspacePane.ts +2 -1
  1657. package/src/store/global/initialState.ts +16 -3
  1658. package/src/store/global/selectors/systemStatus.test.ts +0 -98
  1659. package/src/store/global/selectors/systemStatus.ts +9 -30
  1660. package/src/store/global/store.ts +1 -7
  1661. package/src/store/serverConfig/selectors.test.ts +2 -2
  1662. package/src/store/serverConfig/store.test.ts +0 -1
  1663. package/src/store/session/slices/session/action.ts +23 -0
  1664. package/src/store/session/slices/session/initialState.ts +6 -0
  1665. package/src/store/session/slices/sessionGroup/action.test.ts +5 -5
  1666. package/src/store/tool/slices/mcpStore/action.test.ts +95 -3
  1667. package/src/store/tool/slices/mcpStore/action.ts +177 -53
  1668. package/src/store/tool/slices/oldStore/initialState.ts +1 -2
  1669. package/src/store/urlHydration/action.ts +56 -0
  1670. package/src/store/urlHydration/index.ts +1 -0
  1671. package/src/store/urlHydration/initialState.ts +12 -0
  1672. package/src/store/urlHydration/store.ts +28 -0
  1673. package/src/store/user/initialState.ts +1 -7
  1674. package/src/store/user/selectors.ts +2 -5
  1675. package/src/store/user/slices/common/action.test.ts +1 -4
  1676. package/src/store/user/slices/common/action.ts +9 -4
  1677. package/src/store/user/slices/preference/action.ts +8 -1
  1678. package/src/store/user/slices/preference/selectors/index.ts +2 -0
  1679. package/src/store/user/slices/preference/selectors/labPrefer.ts +10 -0
  1680. package/src/store/user/slices/preference/selectors/preference.ts +32 -0
  1681. package/src/store/user/slices/settings/action.ts +27 -0
  1682. package/src/store/user/slices/settings/selectors/__snapshots__/settings.test.ts.snap +0 -7
  1683. package/src/store/user/slices/settings/selectors/general.ts +8 -0
  1684. package/src/store/user/slices/settings/selectors/index.ts +2 -0
  1685. package/src/store/user/slices/settings/selectors/keyVaults.ts +16 -0
  1686. package/src/store/user/slices/settings/selectors/settings.test.ts +0 -37
  1687. package/src/store/user/slices/settings/selectors/settings.ts +0 -5
  1688. package/src/store/user/slices/settings/selectors/toolIntervention.ts +17 -0
  1689. package/src/store/user/store.ts +0 -3
  1690. package/src/tools/code-interpreter/Render/index.tsx +1 -1
  1691. package/src/tools/executionRuntimes.ts +6 -0
  1692. package/src/tools/identifiers.ts +13 -0
  1693. package/src/tools/index.ts +7 -0
  1694. package/src/tools/interventions.ts +30 -0
  1695. package/src/tools/knowledge-base/ExecutionRuntime/index.ts +96 -0
  1696. package/src/tools/knowledge-base/Render/ReadKnowledge/FileCard.tsx +135 -0
  1697. package/src/tools/knowledge-base/Render/ReadKnowledge/index.tsx +27 -0
  1698. package/src/tools/knowledge-base/Render/SearchKnowledgeBase/Item/index.tsx +54 -0
  1699. package/src/tools/knowledge-base/Render/SearchKnowledgeBase/Item/style.ts +51 -0
  1700. package/src/tools/knowledge-base/Render/SearchKnowledgeBase/index.tsx +23 -0
  1701. package/src/tools/knowledge-base/Render/index.ts +7 -0
  1702. package/src/tools/knowledge-base/index.ts +64 -0
  1703. package/src/tools/knowledge-base/systemRole.ts +102 -0
  1704. package/src/tools/knowledge-base/type.ts +25 -0
  1705. package/src/tools/local-system/ExecutionRuntime/index.ts +407 -0
  1706. package/src/tools/local-system/Intervention/EditLocalFile/index.tsx +89 -0
  1707. package/src/tools/local-system/Intervention/MoveLocalFiles/MoveFileItem.tsx +56 -0
  1708. package/src/tools/local-system/Intervention/MoveLocalFiles/index.tsx +26 -0
  1709. package/src/tools/local-system/Intervention/RunCommand/index.tsx +54 -0
  1710. package/src/tools/local-system/Intervention/WriteFile/index.tsx +72 -0
  1711. package/src/tools/local-system/Intervention/index.ts +15 -0
  1712. package/src/tools/local-system/Placeholder/ListFiles.tsx +3 -5
  1713. package/src/tools/local-system/Placeholder/SearchFiles.tsx +2 -5
  1714. package/src/tools/local-system/Render/EditLocalFile/index.tsx +67 -0
  1715. package/src/tools/local-system/Render/ListFiles/index.tsx +16 -21
  1716. package/src/tools/local-system/Render/MoveLocalFiles/MoveFileItem.tsx +56 -0
  1717. package/src/tools/local-system/Render/MoveLocalFiles/index.tsx +26 -0
  1718. package/src/tools/local-system/Render/ReadLocalFile/ReadFileView.tsx +55 -79
  1719. package/src/tools/local-system/Render/RenameLocalFile/index.tsx +15 -20
  1720. package/src/tools/local-system/Render/RunCommand/index.tsx +103 -27
  1721. package/src/tools/local-system/Render/SearchFiles/SearchQuery/index.tsx +0 -1
  1722. package/src/tools/local-system/Render/SearchFiles/index.tsx +15 -20
  1723. package/src/tools/local-system/Render/WriteFile/index.tsx +2 -8
  1724. package/src/tools/local-system/Render/index.ts +23 -0
  1725. package/src/tools/local-system/index.ts +186 -4
  1726. package/src/tools/local-system/systemRole.ts +62 -8
  1727. package/src/tools/local-system/type.ts +4 -3
  1728. package/src/tools/placeholders.ts +39 -8
  1729. package/src/tools/renders.ts +39 -6
  1730. package/src/tools/web-browsing/ExecutionRuntime/index.ts +5 -2
  1731. package/src/tools/web-browsing/Placeholder/CrawlMultiPages.tsx +30 -0
  1732. package/src/tools/web-browsing/Placeholder/CrawlSinglePage.tsx +12 -0
  1733. package/src/tools/web-browsing/Placeholder/Search.tsx +4 -4
  1734. package/src/tools/web-browsing/Portal/Search/Footer.tsx +11 -9
  1735. package/src/tools/web-browsing/Render/CrawlMultiPages.tsx +15 -0
  1736. package/src/tools/web-browsing/Render/CrawlSinglePage.tsx +15 -0
  1737. package/src/tools/web-browsing/Render/Search/ConfigForm/Form.tsx +1 -1
  1738. package/src/tools/web-browsing/Render/Search/index.tsx +39 -44
  1739. package/src/tools/web-browsing/Render/index.ts +13 -0
  1740. package/src/utils/electron/desktopRemoteRPCFetch.ts +87 -0
  1741. package/src/utils/server/parseModels.ts +212 -0
  1742. package/src/utils/server/routeVariants.test.ts +340 -0
  1743. package/src/utils/server/routeVariants.ts +10 -10
  1744. package/tsconfig.json +0 -1
  1745. package/vitest.config.mts +2 -0
  1746. package/Dockerfile.lite +0 -272
  1747. package/packages/context-engine/ARCHITECTURE.md +0 -425
  1748. package/packages/database/src/models/__tests__/message.grouping.test.ts +0 -812
  1749. package/packages/database/src/models/__tests__/message.test.ts +0 -2704
  1750. package/packages/database/src/schemas/document.ts +0 -106
  1751. package/packages/database/src/utils/__tests__/groupMessages.test.ts +0 -1132
  1752. package/packages/database/src/utils/groupMessages.ts +0 -361
  1753. package/packages/model-runtime/src/utils/imageToBase64.test.ts +0 -91
  1754. package/packages/model-runtime/src/utils/imageToBase64.ts +0 -62
  1755. package/packages/utils/src/_deprecated/__snapshots__/parseModels.test.ts.snap +0 -104
  1756. package/packages/utils/src/_deprecated/parseModels.test.ts +0 -287
  1757. package/packages/utils/src/_deprecated/parseModels.ts +0 -165
  1758. package/packages/utils/src/electron/desktopRemoteRPCFetch.ts +0 -87
  1759. package/packages/utils/src/fetch/__tests__/fetchSSE.test.ts +0 -579
  1760. package/packages/utils/src/fetch/__tests__/parseError.test.ts +0 -88
  1761. package/packages/utils/src/fetch/fetchSSE.ts +0 -477
  1762. package/packages/utils/src/fetch/headers.ts +0 -27
  1763. package/packages/utils/src/fetch/parseError.ts +0 -24
  1764. package/packages/utils/src/fetch/request.ts +0 -28
  1765. package/packages/utils/src/parseModels.ts +0 -213
  1766. package/packages/utils/src/tokenizer/client.ts +0 -35
  1767. package/packages/utils/src/tokenizer/estimated.ts +0 -4
  1768. package/packages/utils/src/tokenizer/server.ts +0 -11
  1769. package/packages/utils/src/tokenizer/tokenizer.worker.ts +0 -12
  1770. package/src/app/(backend)/trpc/edge/[trpc]/route.ts +0 -26
  1771. package/src/app/(backend)/webapi/chat/azureai/route.test.ts +0 -25
  1772. package/src/app/(backend)/webapi/chat/azureai/route.ts +0 -6
  1773. package/src/app/(backend)/webapi/tokenizer/index.test.ts +0 -32
  1774. package/src/app/(backend)/webapi/tokenizer/route.ts +0 -8
  1775. package/src/app/[variants]/(main)/(mobile)/me/(home)/loading.tsx +0 -38
  1776. package/src/app/[variants]/(main)/(mobile)/me/(home)/page.tsx +0 -40
  1777. package/src/app/[variants]/(main)/(mobile)/me/data/features/Category.tsx +0 -48
  1778. package/src/app/[variants]/(main)/(mobile)/me/data/features/Header.tsx +0 -33
  1779. package/src/app/[variants]/(main)/(mobile)/me/data/layout.tsx +0 -13
  1780. package/src/app/[variants]/(main)/(mobile)/me/data/loading.tsx +0 -5
  1781. package/src/app/[variants]/(main)/(mobile)/me/data/page.tsx +0 -29
  1782. package/src/app/[variants]/(main)/(mobile)/me/profile/loading.tsx +0 -5
  1783. package/src/app/[variants]/(main)/(mobile)/me/profile/page.tsx +0 -30
  1784. package/src/app/[variants]/(main)/(mobile)/me/settings/loading.tsx +0 -5
  1785. package/src/app/[variants]/(main)/(mobile)/me/settings/page.tsx +0 -30
  1786. package/src/app/[variants]/(main)/_layout/Desktop/DesktopLayoutContainer.tsx +0 -32
  1787. package/src/app/[variants]/(main)/_layout/Desktop/SideBar/BottomActions.tsx +0 -46
  1788. package/src/app/[variants]/(main)/_layout/Desktop/SideBar/PinList/index.tsx +0 -119
  1789. package/src/app/[variants]/(main)/_layout/Desktop/SideBar/TopActions.test.tsx +0 -141
  1790. package/src/app/[variants]/(main)/_layout/Desktop/SideBar/TopActions.tsx +0 -109
  1791. package/src/app/[variants]/(main)/_layout/Desktop/index.tsx +0 -68
  1792. package/src/app/[variants]/(main)/_layout/Mobile/NavBar.tsx +0 -88
  1793. package/src/app/[variants]/(main)/_layout/Mobile/index.tsx +0 -43
  1794. package/src/app/[variants]/(main)/changelog/layout.tsx +0 -10
  1795. package/src/app/[variants]/(main)/changelog/modal/page.tsx +0 -23
  1796. package/src/app/[variants]/(main)/changelog/page.tsx +0 -78
  1797. package/src/app/[variants]/(main)/chat/(workspace)/@conversation/features/ChatHydration/index.tsx +0 -42
  1798. package/src/app/[variants]/(main)/chat/(workspace)/@conversation/features/ChatInput/Desktop/ClassicChat.tsx +0 -81
  1799. package/src/app/[variants]/(main)/chat/(workspace)/@conversation/features/ChatInput/Desktop/GroupChat.tsx +0 -126
  1800. package/src/app/[variants]/(main)/chat/(workspace)/@conversation/features/ChatInput/Desktop/MessageFromUrl.tsx +0 -32
  1801. package/src/app/[variants]/(main)/chat/(workspace)/@conversation/features/ChatInput/Desktop/index.tsx +0 -17
  1802. package/src/app/[variants]/(main)/chat/(workspace)/@conversation/features/ChatInput/V1Mobile/index.tsx +0 -89
  1803. package/src/app/[variants]/(main)/chat/(workspace)/@conversation/features/ChatInput/V1Mobile/useSend.ts +0 -104
  1804. package/src/app/[variants]/(main)/chat/(workspace)/@conversation/features/ChatInput/useSend.ts +0 -321
  1805. package/src/app/[variants]/(main)/chat/(workspace)/@conversation/features/ChatList/ChatItem/Thread.tsx +0 -62
  1806. package/src/app/[variants]/(main)/chat/(workspace)/@conversation/features/ChatList/ChatItem/index.tsx +0 -91
  1807. package/src/app/[variants]/(main)/chat/(workspace)/@conversation/features/ChatList/Content.tsx +0 -43
  1808. package/src/app/[variants]/(main)/chat/(workspace)/@conversation/features/ChatList/WelcomeChatItem/AgentWelcome/OpeningQuestions.tsx +0 -75
  1809. package/src/app/[variants]/(main)/chat/(workspace)/@conversation/features/ChatList/WelcomeChatItem/GroupWelcome/GroupUsageSuggest.tsx +0 -164
  1810. package/src/app/[variants]/(main)/chat/(workspace)/@conversation/features/ChatList/index.tsx +0 -28
  1811. package/src/app/[variants]/(main)/chat/(workspace)/@conversation/features/ChatMinimap/index.tsx +0 -385
  1812. package/src/app/[variants]/(main)/chat/(workspace)/@conversation/features/ThreadHydration.tsx +0 -45
  1813. package/src/app/[variants]/(main)/chat/(workspace)/@topic/features/Topic/TopicListContent/TopicItem/TopicContent.tsx +0 -241
  1814. package/src/app/[variants]/(main)/chat/(workspace)/@topic/features/Topic/TopicListContent/TopicItem/index.tsx +0 -97
  1815. package/src/app/[variants]/(main)/chat/(workspace)/layout.ts +0 -11
  1816. package/src/app/[variants]/(main)/chat/(workspace)/page.tsx +0 -53
  1817. package/src/app/[variants]/(main)/chat/@session/_layout/Mobile/SessionHeader.tsx +0 -44
  1818. package/src/app/[variants]/(main)/chat/@session/default.tsx +0 -31
  1819. package/src/app/[variants]/(main)/chat/@session/features/SessionHydration.tsx +0 -45
  1820. package/src/app/[variants]/(main)/chat/@session/features/SessionListContent/Inbox/index.tsx +0 -63
  1821. package/src/app/[variants]/(main)/chat/@session/features/SessionListContent/List/Item/Actions.tsx +0 -229
  1822. package/src/app/[variants]/(main)/chat/@session/features/SessionListContent/List/Item/index.tsx +0 -158
  1823. package/src/app/[variants]/(main)/chat/@session/features/SessionListContent/List/index.tsx +0 -100
  1824. package/src/app/[variants]/(main)/chat/error.tsx +0 -3
  1825. package/src/app/[variants]/(main)/chat/features/Migration/DBReader.ts +0 -290
  1826. package/src/app/[variants]/(main)/chat/features/Migration/ExportConfigButton.tsx +0 -35
  1827. package/src/app/[variants]/(main)/chat/features/Migration/Failed.tsx +0 -120
  1828. package/src/app/[variants]/(main)/chat/features/Migration/Modal.tsx +0 -81
  1829. package/src/app/[variants]/(main)/chat/features/Migration/Start.tsx +0 -108
  1830. package/src/app/[variants]/(main)/chat/features/Migration/UpgradeButton.tsx +0 -71
  1831. package/src/app/[variants]/(main)/chat/features/Migration/const.ts +0 -15
  1832. package/src/app/[variants]/(main)/chat/features/Migration/index.tsx +0 -50
  1833. package/src/app/[variants]/(main)/chat/layout.ts +0 -11
  1834. package/src/app/[variants]/(main)/chat/not-found.tsx +0 -1
  1835. package/src/app/[variants]/(main)/chat/settings/error.tsx +0 -3
  1836. package/src/app/[variants]/(main)/chat/settings/features/SubmitAgentButton/SubmitAgentModal.tsx +0 -98
  1837. package/src/app/[variants]/(main)/chat/settings/features/SubmitAgentButton/index.tsx +0 -35
  1838. package/src/app/[variants]/(main)/chat/settings/features/SubmitAgentButton/style.ts +0 -47
  1839. package/src/app/[variants]/(main)/chat/settings/layout.tsx +0 -21
  1840. package/src/app/[variants]/(main)/chat/settings/loading.tsx +0 -3
  1841. package/src/app/[variants]/(main)/chat/settings/not-found.tsx +0 -1
  1842. package/src/app/[variants]/(main)/chat/settings/page.tsx +0 -62
  1843. package/src/app/[variants]/(main)/discover/(detail)/_layout/Desktop.tsx +0 -30
  1844. package/src/app/[variants]/(main)/discover/(detail)/_layout/DetailLayout.tsx +0 -22
  1845. package/src/app/[variants]/(main)/discover/(detail)/assistant/AssistantDetailPage.tsx +0 -47
  1846. package/src/app/[variants]/(main)/discover/(detail)/assistant/[...slugs]/Client.tsx +0 -40
  1847. package/src/app/[variants]/(main)/discover/(detail)/assistant/[...slugs]/features/Details/Capabilities/Block.tsx +0 -27
  1848. package/src/app/[variants]/(main)/discover/(detail)/assistant/[...slugs]/features/Details/Nav.tsx +0 -122
  1849. package/src/app/[variants]/(main)/discover/(detail)/assistant/[...slugs]/features/Details/Overview/TagList.tsx +0 -47
  1850. package/src/app/[variants]/(main)/discover/(detail)/assistant/[...slugs]/features/Details/Overview/index.tsx +0 -96
  1851. package/src/app/[variants]/(main)/discover/(detail)/assistant/[...slugs]/features/Details/Related/index.tsx +0 -31
  1852. package/src/app/[variants]/(main)/discover/(detail)/assistant/[...slugs]/features/Details/SystemRole/TagList.tsx +0 -47
  1853. package/src/app/[variants]/(main)/discover/(detail)/assistant/[...slugs]/features/Details/SystemRole/index.tsx +0 -54
  1854. package/src/app/[variants]/(main)/discover/(detail)/assistant/[...slugs]/features/Details/index.tsx +0 -49
  1855. package/src/app/[variants]/(main)/discover/(detail)/assistant/[...slugs]/features/Header.tsx +0 -177
  1856. package/src/app/[variants]/(main)/discover/(detail)/assistant/[...slugs]/features/Sidebar/ActionButton/AddAgent.tsx +0 -87
  1857. package/src/app/[variants]/(main)/discover/(detail)/assistant/[...slugs]/features/Sidebar/ActionButton/index.tsx +0 -31
  1858. package/src/app/[variants]/(main)/discover/(detail)/assistant/[...slugs]/features/Sidebar/Related/index.tsx +0 -43
  1859. package/src/app/[variants]/(main)/discover/(detail)/assistant/[...slugs]/features/Sidebar/TocList/index.tsx +0 -77
  1860. package/src/app/[variants]/(main)/discover/(detail)/mcp/McpDetailPage.tsx +0 -51
  1861. package/src/app/[variants]/(main)/discover/(detail)/mcp/[slug]/Client.tsx +0 -43
  1862. package/src/app/[variants]/(main)/discover/(detail)/mcp/[slug]/features/Details/Related/index.tsx +0 -32
  1863. package/src/app/[variants]/(main)/discover/(detail)/mcp/[slug]/features/Details/Versions/index.tsx +0 -76
  1864. package/src/app/[variants]/(main)/discover/(detail)/mcp/[slug]/features/Details/index.tsx +0 -59
  1865. package/src/app/[variants]/(main)/discover/(detail)/mcp/[slug]/features/Sidebar/Related/index.tsx +0 -44
  1866. package/src/app/[variants]/(main)/discover/(detail)/mcp/[slug]/features/Sidebar/ServerConfig.tsx +0 -36
  1867. package/src/app/[variants]/(main)/discover/(detail)/mcp/[slug]/features/Sidebar/TocList/index.tsx +0 -98
  1868. package/src/app/[variants]/(main)/discover/(detail)/mcp/[slug]/loading.tsx +0 -1
  1869. package/src/app/[variants]/(main)/discover/(detail)/model/ModelDetailPage.tsx +0 -44
  1870. package/src/app/[variants]/(main)/discover/(detail)/model/[...slugs]/Client.tsx +0 -40
  1871. package/src/app/[variants]/(main)/discover/(detail)/model/[...slugs]/features/Details/Overview/index.tsx +0 -22
  1872. package/src/app/[variants]/(main)/discover/(detail)/model/[...slugs]/features/Details/Parameter/ParameterItem.tsx +0 -71
  1873. package/src/app/[variants]/(main)/discover/(detail)/model/[...slugs]/features/Details/Related/index.tsx +0 -31
  1874. package/src/app/[variants]/(main)/discover/(detail)/model/[...slugs]/features/Details/index.tsx +0 -47
  1875. package/src/app/[variants]/(main)/discover/(detail)/model/[...slugs]/features/Header.tsx +0 -112
  1876. package/src/app/[variants]/(main)/discover/(detail)/model/[...slugs]/features/Sidebar/ActionButton/ChatWithModel.tsx +0 -92
  1877. package/src/app/[variants]/(main)/discover/(detail)/model/[...slugs]/features/Sidebar/ActionButton/index.tsx +0 -32
  1878. package/src/app/[variants]/(main)/discover/(detail)/model/[...slugs]/features/Sidebar/Related/index.tsx +0 -43
  1879. package/src/app/[variants]/(main)/discover/(detail)/model/[...slugs]/features/Sidebar/RelatedProviders/index.tsx +0 -34
  1880. package/src/app/[variants]/(main)/discover/(detail)/model/[...slugs]/loading.tsx +0 -1
  1881. package/src/app/[variants]/(main)/discover/(detail)/provider/ProviderDetailPage.tsx +0 -44
  1882. package/src/app/[variants]/(main)/discover/(detail)/provider/[...slugs]/Client.tsx +0 -40
  1883. package/src/app/[variants]/(main)/discover/(detail)/provider/[...slugs]/features/Details/Related/index.tsx +0 -22
  1884. package/src/app/[variants]/(main)/discover/(detail)/provider/[...slugs]/features/Details/index.tsx +0 -47
  1885. package/src/app/[variants]/(main)/discover/(detail)/provider/[...slugs]/features/Sidebar/ActionButton/ProviderConfig.tsx +0 -97
  1886. package/src/app/[variants]/(main)/discover/(detail)/provider/[...slugs]/features/Sidebar/ActionButton/index.tsx +0 -45
  1887. package/src/app/[variants]/(main)/discover/(detail)/provider/[...slugs]/features/Sidebar/Related/index.tsx +0 -34
  1888. package/src/app/[variants]/(main)/discover/(detail)/provider/[...slugs]/features/Sidebar/RelatedModels/index.tsx +0 -43
  1889. package/src/app/[variants]/(main)/discover/(detail)/provider/[...slugs]/loading.tsx +0 -1
  1890. package/src/app/[variants]/(main)/discover/(list)/(home)/HomePage.tsx +0 -45
  1891. package/src/app/[variants]/(main)/discover/(list)/_layout/ListLayout.tsx +0 -22
  1892. package/src/app/[variants]/(main)/discover/(list)/assistant/AssistantLayout.tsx +0 -21
  1893. package/src/app/[variants]/(main)/discover/(list)/assistant/AssistantPage.tsx +0 -44
  1894. package/src/app/[variants]/(main)/discover/(list)/mcp/Client.tsx +0 -44
  1895. package/src/app/[variants]/(main)/discover/(list)/mcp/McpLayout.tsx +0 -21
  1896. package/src/app/[variants]/(main)/discover/(list)/mcp/McpPage.tsx +0 -44
  1897. package/src/app/[variants]/(main)/discover/(list)/model/Client.tsx +0 -44
  1898. package/src/app/[variants]/(main)/discover/(list)/model/ModelLayout.tsx +0 -21
  1899. package/src/app/[variants]/(main)/discover/(list)/model/ModelPage.tsx +0 -44
  1900. package/src/app/[variants]/(main)/discover/(list)/provider/Client.tsx +0 -43
  1901. package/src/app/[variants]/(main)/discover/(list)/provider/ProviderPage.tsx +0 -43
  1902. package/src/app/[variants]/(main)/discover/DiscoverRouter.tsx +0 -170
  1903. package/src/app/[variants]/(main)/discover/[[...path]]/page.tsx +0 -12
  1904. package/src/app/[variants]/(main)/discover/_layout/DiscoverLayout.tsx +0 -22
  1905. package/src/app/[variants]/(main)/discover/error.tsx +0 -3
  1906. package/src/app/[variants]/(main)/discover/not-found.tsx +0 -1
  1907. package/src/app/[variants]/(main)/error.tsx +0 -3
  1908. package/src/app/[variants]/(main)/image/@menu/features/ConfigPanel/components/ModelSelect.tsx +0 -161
  1909. package/src/app/[variants]/(main)/image/layout.tsx +0 -19
  1910. package/src/app/[variants]/(main)/image/page.tsx +0 -47
  1911. package/src/app/[variants]/(main)/knowledge/KnowledgeRouter.tsx +0 -73
  1912. package/src/app/[variants]/(main)/knowledge/[[...path]]/page.tsx +0 -12
  1913. package/src/app/[variants]/(main)/knowledge/components/modal/page.tsx +0 -13
  1914. package/src/app/[variants]/(main)/knowledge/layout.tsx +0 -12
  1915. package/src/app/[variants]/(main)/knowledge/routes/KnowledgeBaseDetail/menu/MenuItems.tsx +0 -35
  1916. package/src/app/[variants]/(main)/knowledge/routes/KnowledgeHome/menu/FileMenu.tsx +0 -75
  1917. package/src/app/[variants]/(main)/labs/page.tsx +0 -86
  1918. package/src/app/[variants]/(main)/layout.tsx +0 -10
  1919. package/src/app/[variants]/(main)/not-found.tsx +0 -1
  1920. package/src/app/[variants]/(main)/profile/(home)/[[...slugs]]/page.tsx +0 -40
  1921. package/src/app/[variants]/(main)/profile/apikey/page.tsx +0 -32
  1922. package/src/app/[variants]/(main)/profile/error.tsx +0 -3
  1923. package/src/app/[variants]/(main)/profile/layout.tsx +0 -11
  1924. package/src/app/[variants]/(main)/profile/loading.tsx +0 -3
  1925. package/src/app/[variants]/(main)/profile/not-found.tsx +0 -1
  1926. package/src/app/[variants]/(main)/profile/security/page.tsx +0 -28
  1927. package/src/app/[variants]/(main)/profile/stats/page.tsx +0 -23
  1928. package/src/app/[variants]/(main)/settings/error.tsx +0 -3
  1929. package/src/app/[variants]/(main)/settings/loading.tsx +0 -3
  1930. package/src/app/[variants]/(main)/settings/not-found.tsx +0 -1
  1931. package/src/app/[variants]/(main)/settings/page.tsx +0 -42
  1932. package/src/app/[variants]/(main)/settings/storage/IndexedDBStorage.tsx +0 -55
  1933. package/src/app/[variants]/@modal/(.)changelog/modal/features/Cover.tsx +0 -48
  1934. package/src/app/[variants]/@modal/(.)changelog/modal/features/Hero.tsx +0 -29
  1935. package/src/app/[variants]/@modal/(.)changelog/modal/features/Post.tsx +0 -57
  1936. package/src/app/[variants]/@modal/(.)changelog/modal/features/PublishedTime.tsx +0 -50
  1937. package/src/app/[variants]/@modal/(.)changelog/modal/features/ReadDetail.tsx +0 -72
  1938. package/src/app/[variants]/@modal/(.)changelog/modal/features/VersionTag.tsx +0 -26
  1939. package/src/app/[variants]/@modal/(.)changelog/modal/layout.tsx +0 -41
  1940. package/src/app/[variants]/@modal/(.)changelog/modal/loading.tsx +0 -10
  1941. package/src/app/[variants]/@modal/(.)changelog/modal/page.tsx +0 -38
  1942. package/src/app/[variants]/@modal/_layout/ModalLayout.tsx +0 -63
  1943. package/src/app/[variants]/@modal/_layout/SettingModalLayout.tsx +0 -71
  1944. package/src/app/[variants]/@modal/default.tsx +0 -3
  1945. package/src/app/[variants]/@modal/error.tsx +0 -3
  1946. package/src/app/[variants]/@modal/layout.tsx +0 -7
  1947. package/src/app/[variants]/@modal/loading.tsx +0 -5
  1948. package/src/app/[variants]/loading/Client/Content.tsx +0 -48
  1949. package/src/app/[variants]/loading/Client/Error.tsx +0 -27
  1950. package/src/app/[variants]/loading/Client/Redirect.tsx +0 -47
  1951. package/src/app/[variants]/loading/Client/index.tsx +0 -22
  1952. package/src/app/[variants]/oauth/consent/[uid]/Consent.tsx +0 -189
  1953. package/src/components/InnerLink.tsx +0 -20
  1954. package/src/database/_deprecated/core/__tests__/db-upgrade.test.ts +0 -42
  1955. package/src/database/_deprecated/core/__tests__/db.test.ts +0 -79
  1956. package/src/database/_deprecated/core/__tests__/model.test.ts +0 -55
  1957. package/src/database/_deprecated/core/db.ts +0 -246
  1958. package/src/database/_deprecated/core/index.ts +0 -2
  1959. package/src/database/_deprecated/core/migrations/migrateSettingsToUser/fixtures/input.json +0 -55
  1960. package/src/database/_deprecated/core/migrations/migrateSettingsToUser/fixtures/output.json +0 -60
  1961. package/src/database/_deprecated/core/migrations/migrateSettingsToUser/index.test.ts +0 -14
  1962. package/src/database/_deprecated/core/migrations/migrateSettingsToUser/index.ts +0 -22
  1963. package/src/database/_deprecated/core/migrations/migrateSettingsToUser/type.ts +0 -105
  1964. package/src/database/_deprecated/core/model.ts +0 -218
  1965. package/src/database/_deprecated/core/schemas.ts +0 -88
  1966. package/src/database/_deprecated/core/types/db.ts +0 -15
  1967. package/src/database/_deprecated/models/__DEBUG.ts +0 -124
  1968. package/src/database/_deprecated/models/__tests__/file.test.ts +0 -83
  1969. package/src/database/_deprecated/models/__tests__/message.test.ts +0 -426
  1970. package/src/database/_deprecated/models/__tests__/plugin.test.ts +0 -81
  1971. package/src/database/_deprecated/models/__tests__/session.test.ts +0 -253
  1972. package/src/database/_deprecated/models/__tests__/sessionGroup.test.ts +0 -220
  1973. package/src/database/_deprecated/models/__tests__/topic.test.ts +0 -523
  1974. package/src/database/_deprecated/models/__tests__/user.test.ts +0 -82
  1975. package/src/database/_deprecated/models/file.ts +0 -51
  1976. package/src/database/_deprecated/models/message.ts +0 -277
  1977. package/src/database/_deprecated/models/plugin.ts +0 -62
  1978. package/src/database/_deprecated/models/session.ts +0 -271
  1979. package/src/database/_deprecated/models/sessionGroup.ts +0 -93
  1980. package/src/database/_deprecated/models/topic.ts +0 -250
  1981. package/src/database/_deprecated/models/user.ts +0 -69
  1982. package/src/database/_deprecated/schemas/files.ts +0 -39
  1983. package/src/database/_deprecated/schemas/message.ts +0 -50
  1984. package/src/database/_deprecated/schemas/plugin.ts +0 -12
  1985. package/src/database/_deprecated/schemas/session.ts +0 -54
  1986. package/src/database/_deprecated/schemas/sessionGroup.ts +0 -8
  1987. package/src/database/_deprecated/schemas/topic.ts +0 -12
  1988. package/src/database/_deprecated/schemas/user.ts +0 -40
  1989. package/src/features/ChatInput/ActionBar/Upload/ClientMode.tsx +0 -62
  1990. package/src/features/Conversation/Error/AccessCodeForm.tsx +0 -63
  1991. package/src/features/Conversation/Error/ChatInvalidApiKey.tsx +0 -39
  1992. package/src/features/Conversation/Error/ClerkLogin/index.tsx +0 -47
  1993. package/src/features/Conversation/Error/InvalidAccessCode.tsx +0 -79
  1994. package/src/features/Conversation/Error/OAuthForm.tsx +0 -97
  1995. package/src/features/Conversation/Error/index.tsx +0 -149
  1996. package/src/features/Conversation/MarkdownElements/LobeThinking/Render.tsx +0 -30
  1997. package/src/features/Conversation/MarkdownElements/Thinking/Render.tsx +0 -42
  1998. package/src/features/Conversation/MarkdownElements/remarkPlugins/__snapshots__/createRemarkSelfClosingTagPlugin.test.ts.snap +0 -260
  1999. package/src/features/Conversation/MarkdownElements/remarkPlugins/createRemarkSelfClosingTagPlugin.test.ts +0 -204
  2000. package/src/features/Conversation/MarkdownElements/remarkPlugins/createRemarkSelfClosingTagPlugin.ts +0 -133
  2001. package/src/features/Conversation/MarkdownElements/remarkPlugins/getNodeContent.test.ts +0 -503
  2002. package/src/features/Conversation/Messages/Assistant/Actions/index.tsx +0 -202
  2003. package/src/features/Conversation/Messages/Assistant/Extra/index.test.tsx +0 -91
  2004. package/src/features/Conversation/Messages/Assistant/Extra/index.tsx +0 -49
  2005. package/src/features/Conversation/Messages/Assistant/MessageContent.tsx +0 -91
  2006. package/src/features/Conversation/Messages/Assistant/Tool/Inspector/PluginResult.tsx +0 -39
  2007. package/src/features/Conversation/Messages/Assistant/Tool/Inspector/PluginState.tsx +0 -23
  2008. package/src/features/Conversation/Messages/Assistant/Tool/Inspector/ToolTitle.tsx +0 -94
  2009. package/src/features/Conversation/Messages/Assistant/Tool/Inspector/index.tsx +0 -147
  2010. package/src/features/Conversation/Messages/Assistant/Tool/Render/CustomRender.tsx +0 -144
  2011. package/src/features/Conversation/Messages/Assistant/Tool/Render/LoadingPlaceholder/index.tsx +0 -29
  2012. package/src/features/Conversation/Messages/Assistant/Tool/Render/PluginSettings.tsx +0 -66
  2013. package/src/features/Conversation/Messages/Assistant/Tool/Render/index.tsx +0 -76
  2014. package/src/features/Conversation/Messages/Assistant/Tool/index.tsx +0 -76
  2015. package/src/features/Conversation/Messages/Assistant/index.tsx +0 -282
  2016. package/src/features/Conversation/Messages/Default.tsx +0 -27
  2017. package/src/features/Conversation/Messages/Supervisor/index.tsx +0 -185
  2018. package/src/features/Conversation/Messages/User/Actions.tsx +0 -158
  2019. package/src/features/Conversation/Messages/User/Extra.tsx +0 -39
  2020. package/src/features/Conversation/Messages/User/index.tsx +0 -188
  2021. package/src/features/Conversation/Messages/index.tsx +0 -164
  2022. package/src/features/Conversation/components/AutoScroll.tsx +0 -27
  2023. package/src/features/Conversation/components/Extras/TTS/InitPlayer.tsx +0 -93
  2024. package/src/features/Conversation/components/Extras/Usage/UsageDetail/index.tsx +0 -224
  2025. package/src/features/Conversation/components/Extras/Usage/UsageDetail/tokens.ts +0 -132
  2026. package/src/features/Conversation/components/Extras/Usage/index.tsx +0 -45
  2027. package/src/features/Conversation/components/ShareMessageModal/ShareImage/Preview.tsx +0 -90
  2028. package/src/features/Conversation/components/ShareMessageModal/index.tsx +0 -96
  2029. package/src/features/Conversation/components/SkeletonList.tsx +0 -58
  2030. package/src/features/Conversation/components/VirtualizedList/VirtuosoContext.ts +0 -92
  2031. package/src/features/Conversation/components/VirtualizedList/index.tsx +0 -128
  2032. package/src/features/Conversation/components/WideScreenContainer/index.tsx +0 -46
  2033. package/src/features/Conversation/hooks/useChatListActionsBar.tsx +0 -119
  2034. package/src/features/Conversation/hooks/useDoubleClickEdit.ts +0 -42
  2035. package/src/features/DataImporter/_deprecated.ts +0 -43
  2036. package/src/features/FileManager/FileList/FileListItem/index.tsx +0 -231
  2037. package/src/features/FileManager/FileList/MasonryFileItem/index.tsx +0 -582
  2038. package/src/features/FileManager/FileList/index.tsx +0 -266
  2039. package/src/features/FileManager/Header/FilesSearchBar.tsx +0 -45
  2040. package/src/features/FileManager/Header/TogglePanelButton.tsx +0 -42
  2041. package/src/features/FileManager/Header/index.tsx +0 -27
  2042. package/src/features/FileManager/index.tsx +0 -36
  2043. package/src/features/InitClientDB/EnableModal.tsx +0 -118
  2044. package/src/features/InitClientDB/ErrorResult.tsx +0 -143
  2045. package/src/features/InitClientDB/InitIndicator.tsx +0 -124
  2046. package/src/features/InitClientDB/PGliteIcon.tsx +0 -28
  2047. package/src/features/InitClientDB/features/DatabaseRepair/Backup.tsx +0 -75
  2048. package/src/features/InitClientDB/features/DatabaseRepair/Diagnosis.tsx +0 -98
  2049. package/src/features/InitClientDB/features/DatabaseRepair/Repair.tsx +0 -218
  2050. package/src/features/InitClientDB/features/DatabaseRepair/index.tsx +0 -91
  2051. package/src/features/InitClientDB/index.tsx +0 -37
  2052. package/src/hooks/_header.ts +0 -23
  2053. package/src/libs/trpc/client/edge.ts +0 -26
  2054. package/src/libs/trpc/edge/context.ts +0 -71
  2055. package/src/libs/trpc/edge/index.ts +0 -45
  2056. package/src/libs/trpc/edge/init.ts +0 -26
  2057. package/src/libs/trpc/edge/middleware/jwtPayload.test.ts +0 -75
  2058. package/src/libs/trpc/edge/middleware/jwtPayload.ts +0 -14
  2059. package/src/migrations/FromV0ToV1.ts +0 -10
  2060. package/src/migrations/FromV1ToV2/fixtures/input-v1-session.json +0 -191
  2061. package/src/migrations/FromV1ToV2/fixtures/output-v2.json +0 -202
  2062. package/src/migrations/FromV1ToV2/index.ts +0 -82
  2063. package/src/migrations/FromV1ToV2/migrations.test.ts +0 -224
  2064. package/src/migrations/FromV1ToV2/types/v1.ts +0 -78
  2065. package/src/migrations/FromV1ToV2/types/v2.ts +0 -52
  2066. package/src/migrations/FromV2ToV3/fixtures/input-v2-session.json +0 -72
  2067. package/src/migrations/FromV2ToV3/fixtures/output-v3-from-v1.json +0 -203
  2068. package/src/migrations/FromV2ToV3/fixtures/output-v3.json +0 -74
  2069. package/src/migrations/FromV2ToV3/index.ts +0 -30
  2070. package/src/migrations/FromV2ToV3/migrations.test.ts +0 -42
  2071. package/src/migrations/FromV2ToV3/types/v3.ts +0 -27
  2072. package/src/migrations/FromV3ToV4/fixtures/azure-input-v3.json +0 -79
  2073. package/src/migrations/FromV3ToV4/fixtures/azure-output-v4.json +0 -75
  2074. package/src/migrations/FromV3ToV4/fixtures/ollama-input-v3.json +0 -85
  2075. package/src/migrations/FromV3ToV4/fixtures/ollama-output-v4.json +0 -86
  2076. package/src/migrations/FromV3ToV4/fixtures/openai-input-v3.json +0 -77
  2077. package/src/migrations/FromV3ToV4/fixtures/openai-output-v4.json +0 -77
  2078. package/src/migrations/FromV3ToV4/fixtures/openrouter-input-v3.json +0 -82
  2079. package/src/migrations/FromV3ToV4/fixtures/openrouter-output-v4.json +0 -85
  2080. package/src/migrations/FromV3ToV4/fixtures/output-v4-from-v1.json +0 -203
  2081. package/src/migrations/FromV3ToV4/index.ts +0 -102
  2082. package/src/migrations/FromV3ToV4/migrations.test.ts +0 -195
  2083. package/src/migrations/FromV3ToV4/types/v3.ts +0 -52
  2084. package/src/migrations/FromV3ToV4/types/v4.ts +0 -37
  2085. package/src/migrations/FromV4ToV5/fixtures/from-v1-to-v5-output.json +0 -245
  2086. package/src/migrations/FromV4ToV5/fixtures/function-input-v4.json +0 -96
  2087. package/src/migrations/FromV4ToV5/fixtures/function-output-v5.json +0 -120
  2088. package/src/migrations/FromV4ToV5/index.ts +0 -58
  2089. package/src/migrations/FromV4ToV5/migrations.test.ts +0 -49
  2090. package/src/migrations/FromV4ToV5/types/v4.ts +0 -21
  2091. package/src/migrations/FromV4ToV5/types/v5.ts +0 -27
  2092. package/src/migrations/FromV5ToV6/fixtures/from-v1-to-v6-output.json +0 -247
  2093. package/src/migrations/FromV5ToV6/fixtures/session-input-v5.json +0 -81
  2094. package/src/migrations/FromV5ToV6/fixtures/session-output-v6.json +0 -85
  2095. package/src/migrations/FromV5ToV6/index.ts +0 -61
  2096. package/src/migrations/FromV5ToV6/migrations.test.ts +0 -50
  2097. package/src/migrations/FromV5ToV6/types/v5.ts +0 -48
  2098. package/src/migrations/FromV5ToV6/types/v6.ts +0 -63
  2099. package/src/migrations/FromV6ToV7/fixtures/output-v7-from-v1.json +0 -203
  2100. package/src/migrations/FromV6ToV7/fixtures/provider-input-v6.json +0 -103
  2101. package/src/migrations/FromV6ToV7/fixtures/provider-output-v7.json +0 -118
  2102. package/src/migrations/FromV6ToV7/index.ts +0 -101
  2103. package/src/migrations/FromV6ToV7/migrations.test.ts +0 -64
  2104. package/src/migrations/FromV6ToV7/types/v6.ts +0 -61
  2105. package/src/migrations/FromV6ToV7/types/v7.ts +0 -69
  2106. package/src/migrations/VersionController.test.ts +0 -88
  2107. package/src/migrations/VersionController.ts +0 -67
  2108. package/src/migrations/index.ts +0 -61
  2109. package/src/server/globalConfig/_deprecated.test.ts +0 -92
  2110. package/src/server/globalConfig/_deprecated.ts +0 -41
  2111. package/src/server/routers/edge/appStatus.ts +0 -3
  2112. package/src/server/routers/edge/index.ts +0 -14
  2113. package/src/server/routers/edge/upload.ts +0 -16
  2114. package/src/services/__tests__/share.test.ts +0 -61
  2115. package/src/services/aiModel/client.ts +0 -70
  2116. package/src/services/aiModel/server.test.ts +0 -122
  2117. package/src/services/aiModel/server.ts +0 -51
  2118. package/src/services/aiModel/type.ts +0 -32
  2119. package/src/services/aiProvider/client.ts +0 -58
  2120. package/src/services/aiProvider/server.ts +0 -43
  2121. package/src/services/aiProvider/type.ts +0 -27
  2122. package/src/services/baseClientService/index.ts +0 -9
  2123. package/src/services/chatGroup/client.ts +0 -63
  2124. package/src/services/chatGroup/server.ts +0 -67
  2125. package/src/services/chatGroup/type.ts +0 -22
  2126. package/src/services/export/_deprecated.ts +0 -155
  2127. package/src/services/export/client.ts +0 -15
  2128. package/src/services/export/server.ts +0 -9
  2129. package/src/services/export/type.ts +0 -5
  2130. package/src/services/file/ClientS3/index.test.ts +0 -115
  2131. package/src/services/file/ClientS3/index.ts +0 -59
  2132. package/src/services/file/_deprecated.test.ts +0 -119
  2133. package/src/services/file/_deprecated.ts +0 -80
  2134. package/src/services/file/client.test.ts +0 -199
  2135. package/src/services/file/client.ts +0 -85
  2136. package/src/services/file/server.ts +0 -53
  2137. package/src/services/file/type.ts +0 -13
  2138. package/src/services/import/_deprecated.ts +0 -115
  2139. package/src/services/import/client.test.ts +0 -1015
  2140. package/src/services/import/client.ts +0 -64
  2141. package/src/services/import/server.ts +0 -133
  2142. package/src/services/import/type.ts +0 -17
  2143. package/src/services/message/__tests__/server.test.ts +0 -44
  2144. package/src/services/message/_deprecated.test.ts +0 -398
  2145. package/src/services/message/_deprecated.ts +0 -168
  2146. package/src/services/message/client.test.ts +0 -410
  2147. package/src/services/message/client.ts +0 -192
  2148. package/src/services/message/server.ts +0 -155
  2149. package/src/services/message/type.ts +0 -59
  2150. package/src/services/plugin/_deprecated.test.ts +0 -162
  2151. package/src/services/plugin/_deprecated.ts +0 -42
  2152. package/src/services/plugin/client.test.ts +0 -177
  2153. package/src/services/plugin/client.ts +0 -46
  2154. package/src/services/plugin/server.ts +0 -42
  2155. package/src/services/plugin/type.ts +0 -23
  2156. package/src/services/session/_deprecated.test.ts +0 -440
  2157. package/src/services/session/_deprecated.ts +0 -190
  2158. package/src/services/session/client.test.ts +0 -413
  2159. package/src/services/session/client.ts +0 -193
  2160. package/src/services/session/server.test.ts +0 -260
  2161. package/src/services/session/server.ts +0 -125
  2162. package/src/services/session/type.ts +0 -82
  2163. package/src/services/thread/client.ts +0 -51
  2164. package/src/services/thread/server.ts +0 -32
  2165. package/src/services/thread/type.ts +0 -21
  2166. package/src/services/topic/_deprecated.test.ts +0 -245
  2167. package/src/services/topic/_deprecated.ts +0 -75
  2168. package/src/services/topic/client.ts +0 -89
  2169. package/src/services/topic/pglite.test.ts +0 -212
  2170. package/src/services/topic/server.ts +0 -57
  2171. package/src/services/topic/type.ts +0 -40
  2172. package/src/services/user/_deprecated.test.ts +0 -101
  2173. package/src/services/user/_deprecated.ts +0 -70
  2174. package/src/services/user/client.test.ts +0 -111
  2175. package/src/services/user/client.ts +0 -104
  2176. package/src/services/user/server.test.ts +0 -149
  2177. package/src/services/user/server.ts +0 -47
  2178. package/src/services/user/type.ts +0 -21
  2179. package/src/store/chat/slices/aiChat/actions/__tests__/generateAIChat.test.ts +0 -1209
  2180. package/src/store/chat/slices/aiChat/actions/__tests__/generateAIChatV2.test.ts +0 -718
  2181. package/src/store/chat/slices/aiChat/actions/generateAIChat.ts +0 -849
  2182. package/src/store/chat/slices/aiChat/actions/generateAIChatV2.ts +0 -591
  2183. package/src/store/chat/slices/message/action.ts +0 -641
  2184. package/src/store/chat/slices/plugin/action.ts +0 -505
  2185. package/src/store/global/actions/clientDb.ts +0 -67
  2186. package/src/store/middleware/createHyperStorage/index.test.ts +0 -341
  2187. package/src/store/middleware/createHyperStorage/index.ts +0 -126
  2188. package/src/store/middleware/createHyperStorage/indexedDB.test.ts +0 -64
  2189. package/src/store/middleware/createHyperStorage/indexedDB.ts +0 -26
  2190. package/src/store/middleware/createHyperStorage/keyMapper.ts +0 -57
  2191. package/src/store/middleware/createHyperStorage/localStorage.ts +0 -18
  2192. package/src/store/middleware/createHyperStorage/type.ts +0 -25
  2193. package/src/store/middleware/createHyperStorage/urlStorage.test.ts +0 -84
  2194. package/src/store/middleware/createHyperStorage/urlStorage.ts +0 -81
  2195. package/src/store/user/slices/modelList/__snapshots__/action.test.ts.snap +0 -12
  2196. package/src/store/user/slices/modelList/action.test.ts +0 -359
  2197. package/src/store/user/slices/modelList/action.ts +0 -223
  2198. package/src/store/user/slices/modelList/initialState.ts +0 -15
  2199. package/src/store/user/slices/modelList/reducers/customModelCard.test.ts +0 -204
  2200. package/src/store/user/slices/modelList/reducers/customModelCard.ts +0 -64
  2201. package/src/store/user/slices/modelList/selectors/index.ts +0 -3
  2202. package/src/store/user/slices/modelList/selectors/keyVaults.test.ts +0 -201
  2203. package/src/store/user/slices/modelList/selectors/keyVaults.ts +0 -50
  2204. package/src/store/user/slices/modelList/selectors/modelConfig.test.ts +0 -219
  2205. package/src/store/user/slices/modelList/selectors/modelConfig.ts +0 -95
  2206. package/src/store/user/slices/modelList/selectors/modelProvider.test.ts +0 -138
  2207. package/src/store/user/slices/modelList/selectors/modelProvider.ts +0 -170
  2208. package/src/store/user/slices/preference/selectors.ts +0 -34
  2209. package/src/tools/local-system/Placeholder/index.tsx +0 -25
  2210. package/src/tools/local-system/Render/index.tsx +0 -40
  2211. package/src/tools/web-browsing/Placeholder/PageContent.tsx +0 -27
  2212. package/src/tools/web-browsing/Placeholder/index.tsx +0 -40
  2213. package/src/tools/web-browsing/Render/index.tsx +0 -57
  2214. /package/packages/{utils/src/fetch → fetch-sse/src}/index.ts +0 -0
  2215. /package/src/app/[variants]/{@modal/(.)changelog/modal → (main)/changelog}/features/Pagination.tsx +0 -0
  2216. /package/src/app/[variants]/{@modal/(.)changelog/modal → (main)/changelog}/features/UpdateChangelogStatus.tsx +0 -0
  2217. /package/src/app/[variants]/(main)/chat/{(workspace)/@conversation → components/conversation}/default.tsx +0 -0
  2218. /package/src/app/[variants]/(main)/chat/{(workspace)/@conversation → components/conversation}/features/ChatInput/Desktop/useSendMenuItems.tsx +0 -0
  2219. /package/src/app/[variants]/(main)/chat/{(workspace)/@conversation → components/conversation}/features/ChatInput/Mobile/MentionedUsers/MentionedUserItem.tsx +0 -0
  2220. /package/src/app/[variants]/(main)/chat/{(workspace)/@conversation → components/conversation}/features/ChatInput/Mobile/MentionedUsers/index.tsx +0 -0
  2221. /package/src/app/[variants]/(main)/chat/{(workspace)/@conversation → components/conversation}/features/ChatInput/Mobile/index.tsx +0 -0
  2222. /package/src/app/[variants]/(main)/chat/{(workspace)/@conversation → components/conversation}/features/ChatInput/V1Mobile/ActionBar.tsx +0 -0
  2223. /package/src/app/[variants]/(main)/chat/{(workspace)/@conversation → components/conversation}/features/ChatInput/V1Mobile/Files/index.tsx +0 -0
  2224. /package/src/app/[variants]/(main)/chat/{(workspace)/@conversation → components/conversation}/features/ChatInput/V1Mobile/InputArea/Container.tsx +0 -0
  2225. /package/src/app/[variants]/(main)/chat/{(workspace)/@conversation → components/conversation}/features/ChatInput/V1Mobile/InputArea/index.tsx +0 -0
  2226. /package/src/app/[variants]/(main)/chat/{(workspace)/@conversation → components/conversation}/features/ChatInput/V1Mobile/Send.tsx +0 -0
  2227. /package/src/app/[variants]/(main)/chat/{(workspace)/@conversation → components/conversation}/features/ChatInput/index.tsx +0 -0
  2228. /package/src/app/[variants]/(main)/chat/{(workspace)/@conversation → components/conversation}/features/ChatList/ChatItem/OrchestratorThinking.tsx +0 -0
  2229. /package/src/app/[variants]/(main)/chat/{(workspace)/@conversation → components/conversation}/features/ChatList/ChatItem/ThreadItem.tsx +0 -0
  2230. /package/src/app/[variants]/(main)/chat/{(workspace)/@conversation → components/conversation}/features/ChatList/WelcomeChatItem/AgentWelcome/AddButton.tsx +0 -0
  2231. /package/src/app/[variants]/(main)/chat/{(workspace)/@conversation → components/conversation}/features/ChatList/WelcomeChatItem/AgentWelcome/index.tsx +0 -0
  2232. /package/src/app/[variants]/(main)/chat/{(workspace)/@conversation → components/conversation}/features/ChatList/WelcomeChatItem/GroupWelcome/index.tsx +0 -0
  2233. /package/src/app/[variants]/(main)/chat/{(workspace)/@conversation → components/conversation}/features/ChatList/WelcomeChatItem/GroupWelcome/useTemplateMatching.ts +0 -0
  2234. /package/src/app/[variants]/(main)/chat/{(workspace)/@conversation → components/conversation}/features/ChatList/WelcomeChatItem/index.tsx +0 -0
  2235. /package/src/app/[variants]/(main)/chat/{(workspace)/@conversation → components/conversation}/features/ZenModeToast/Toast.tsx +0 -0
  2236. /package/src/app/[variants]/(main)/chat/{(workspace)/@conversation → components/conversation}/features/ZenModeToast/index.tsx +0 -0
  2237. /package/src/app/[variants]/(main)/chat/{(workspace) → components}/features/AgentSettings/index.tsx +0 -0
  2238. /package/src/app/[variants]/(main)/chat/{(workspace) → components}/features/AgentTeamSettings/index.tsx +0 -0
  2239. /package/src/app/[variants]/(main)/chat/{(workspace) → components}/features/ChangelogModal.tsx +0 -0
  2240. /package/src/app/[variants]/(main)/chat/{(workspace) → components}/features/SettingButton.tsx +0 -0
  2241. /package/src/app/[variants]/(main)/chat/{(workspace) → components}/features/ShareButton/index.tsx +0 -0
  2242. /package/src/app/[variants]/(main)/chat/{(workspace) → components}/features/TelemetryNotification.tsx +0 -0
  2243. /package/src/app/[variants]/(main)/chat/{(workspace)/_layout → components/layout}/Desktop/ChatHeader/HeaderAction.tsx +0 -0
  2244. /package/src/app/[variants]/(main)/chat/{(workspace)/_layout → components/layout}/Desktop/ChatHeader/Main.tsx +0 -0
  2245. /package/src/app/[variants]/(main)/chat/{(workspace)/_layout → components/layout}/Desktop/ChatHeader/Tags/HistoryLimitTags.tsx +0 -0
  2246. /package/src/app/[variants]/(main)/chat/{(workspace)/_layout → components/layout}/Desktop/ChatHeader/Tags/KnowledgeTag.tsx +0 -0
  2247. /package/src/app/[variants]/(main)/chat/{(workspace)/_layout → components/layout}/Desktop/ChatHeader/Tags/MemberCountTag.tsx +0 -0
  2248. /package/src/app/[variants]/(main)/chat/{(workspace)/_layout → components/layout}/Desktop/ChatHeader/Tags/SearchTags.tsx +0 -0
  2249. /package/src/app/[variants]/(main)/chat/{(workspace)/_layout → components/layout}/Desktop/ChatHeader/Tags/index.tsx +0 -0
  2250. /package/src/app/[variants]/(main)/chat/{(workspace)/_layout → components/layout}/Desktop/ChatHeader/index.tsx +0 -0
  2251. /package/src/app/[variants]/(main)/chat/{(workspace)/_layout → components/layout}/Desktop/Portal.tsx +0 -0
  2252. /package/src/app/[variants]/(main)/chat/{(workspace)/_layout → components/layout}/Desktop/TopicPanel.tsx +0 -0
  2253. /package/src/app/[variants]/(main)/chat/{(workspace)/_layout → components/layout}/Desktop/index.tsx +0 -0
  2254. /package/src/app/[variants]/(main)/chat/{(workspace)/_layout → components/layout}/Mobile/ChatHeader/ChatHeaderTitle.tsx +0 -0
  2255. /package/src/app/[variants]/(main)/chat/{(workspace)/_layout → components/layout}/Mobile/ChatHeader/index.tsx +0 -0
  2256. /package/src/app/[variants]/(main)/chat/{(workspace)/_layout → components/layout}/Mobile/TopicModal.tsx +0 -0
  2257. /package/src/app/[variants]/(main)/chat/{(workspace)/_layout → components/layout}/Mobile/index.tsx +0 -0
  2258. /package/src/app/[variants]/(main)/chat/{(workspace)/_layout → components/layout}/type.ts +0 -0
  2259. /package/src/app/[variants]/(main)/chat/{(workspace)/@portal → components/portal}/_layout/Desktop.tsx +0 -0
  2260. /package/src/app/[variants]/(main)/chat/{(workspace)/@portal → components/portal}/_layout/Mobile.tsx +0 -0
  2261. /package/src/app/[variants]/(main)/chat/{(workspace)/@portal → components/portal}/default.tsx +0 -0
  2262. /package/src/app/[variants]/(main)/chat/{(workspace)/@portal → components/portal}/error.tsx +0 -0
  2263. /package/src/app/[variants]/(main)/chat/{(workspace)/@portal → components/portal}/features/Body.tsx +0 -0
  2264. /package/src/app/[variants]/(main)/chat/{(workspace)/@portal → components/portal}/loading.tsx +0 -0
  2265. /package/src/app/[variants]/(main)/chat/{(workspace)/@topic → components/topic}/_layout/Desktop.tsx +0 -0
  2266. /package/src/app/[variants]/(main)/chat/{(workspace)/@topic → components/topic}/_layout/Mobile.tsx +0 -0
  2267. /package/src/app/[variants]/(main)/chat/{(workspace)/@topic → components/topic}/default.tsx +0 -0
  2268. /package/src/app/[variants]/(main)/chat/{(workspace)/@topic → components/topic}/features/AgentConfig/SystemRole.tsx +0 -0
  2269. /package/src/app/[variants]/(main)/chat/{(workspace)/@topic → components/topic}/features/AgentConfig/index.tsx +0 -0
  2270. /package/src/app/[variants]/(main)/chat/{(workspace)/@topic → components/topic}/features/ConfigLayout.tsx +0 -0
  2271. /package/src/app/[variants]/(main)/chat/{(workspace)/@topic → components/topic}/features/ConfigSwitcher.tsx +0 -0
  2272. /package/src/app/[variants]/(main)/chat/{(workspace)/@topic → components/topic}/features/GroupConfig/GroupMember.tsx +0 -0
  2273. /package/src/app/[variants]/(main)/chat/{(workspace)/@topic → components/topic}/features/GroupConfig/GroupMemberItem.tsx +0 -0
  2274. /package/src/app/[variants]/(main)/chat/{(workspace)/@topic → components/topic}/features/GroupConfig/GroupRole.tsx +0 -0
  2275. /package/src/app/[variants]/(main)/chat/{(workspace)/@topic → components/topic}/features/GroupConfig/index.tsx +0 -0
  2276. /package/src/app/[variants]/(main)/chat/{(workspace)/@topic → components/topic}/features/GroupConfig/style.ts +0 -0
  2277. /package/src/app/[variants]/(main)/chat/{(workspace)/@topic → components/topic}/features/SkeletonList.tsx +0 -0
  2278. /package/src/app/[variants]/(main)/chat/{(workspace)/@topic → components/topic}/features/Topic/Header.tsx +0 -0
  2279. /package/src/app/[variants]/(main)/chat/{(workspace)/@topic → components/topic}/features/Topic/TopicListContent/ByTimeMode/GroupItem.tsx +0 -0
  2280. /package/src/app/[variants]/(main)/chat/{(workspace)/@topic → components/topic}/features/Topic/TopicListContent/ByTimeMode/index.tsx +0 -0
  2281. /package/src/app/[variants]/(main)/chat/{(workspace)/@topic → components/topic}/features/Topic/TopicListContent/FlatMode/index.tsx +0 -0
  2282. /package/src/app/[variants]/(main)/chat/{(workspace)/@topic → components/topic}/features/Topic/TopicListContent/SearchResult/index.tsx +0 -0
  2283. /package/src/app/[variants]/(main)/chat/{(workspace)/@topic → components/topic}/features/Topic/TopicListContent/ThreadItem/Content.tsx +0 -0
  2284. /package/src/app/[variants]/(main)/chat/{(workspace)/@topic → components/topic}/features/Topic/TopicListContent/ThreadItem/index.tsx +0 -0
  2285. /package/src/app/[variants]/(main)/chat/{(workspace)/@topic → components/topic}/features/Topic/TopicListContent/ThreadList/index.tsx +0 -0
  2286. /package/src/app/[variants]/(main)/chat/{(workspace)/@topic → components/topic}/features/Topic/TopicListContent/TopicItem/DefaultContent.tsx +0 -0
  2287. /package/src/app/[variants]/(main)/chat/{(workspace)/@topic → components/topic}/features/Topic/TopicListContent/index.tsx +0 -0
  2288. /package/src/app/[variants]/(main)/chat/{(workspace)/@topic → components/topic}/features/Topic/TopicSearchBar/index.tsx +0 -0
  2289. /package/src/app/[variants]/(main)/chat/{(workspace)/@topic → components/topic}/features/Topic/index.tsx +0 -0
  2290. /package/src/app/[variants]/(main)/chat/{@session → session}/features/SessionListContent/CollapseGroup/Actions.tsx +0 -0
  2291. /package/src/app/[variants]/(main)/chat/{@session → session}/features/SessionListContent/CollapseGroup/index.tsx +0 -0
  2292. /package/src/app/[variants]/(main)/chat/{@session → session}/features/SessionListContent/DefaultMode.tsx +0 -0
  2293. /package/src/app/[variants]/(main)/chat/{@session → session}/features/SessionListContent/List/AddButton.tsx +0 -0
  2294. /package/src/app/[variants]/(main)/chat/{@session → session}/features/SessionListContent/ListItem/index.tsx +0 -0
  2295. /package/src/app/[variants]/(main)/chat/{@session → session}/features/SessionListContent/Modals/ConfigGroupModal/GroupItem.tsx +0 -0
  2296. /package/src/app/[variants]/(main)/chat/{@session → session}/features/SessionListContent/Modals/ConfigGroupModal/index.tsx +0 -0
  2297. /package/src/app/[variants]/(main)/chat/{@session → session}/features/SessionListContent/Modals/CreateGroupModal.tsx +0 -0
  2298. /package/src/app/[variants]/(main)/chat/{@session → session}/features/SessionListContent/Modals/RenameGroupModal.tsx +0 -0
  2299. /package/src/app/[variants]/(main)/chat/{@session → session}/features/SessionListContent/SearchMode.tsx +0 -0
  2300. /package/src/app/[variants]/(main)/chat/{@session → session}/features/SessionListContent/index.tsx +0 -0
  2301. /package/src/app/[variants]/(main)/chat/{@session → session}/features/SessionSearchBar.tsx +0 -0
  2302. /package/src/app/[variants]/(main)/chat/{@session → session}/features/SkeletonList.tsx +0 -0
  2303. /package/src/app/[variants]/(main)/chat/{@session/_layout → session/layout}/Desktop/PanelBody.tsx +0 -0
  2304. /package/src/app/[variants]/(main)/chat/{@session/_layout → session/layout}/Desktop/SessionHeader.tsx +0 -0
  2305. /package/src/app/[variants]/(main)/chat/{@session/_layout → session/layout}/Desktop/index.tsx +0 -0
  2306. /package/src/app/[variants]/(main)/chat/{@session/_layout → session/layout}/Mobile/index.tsx +0 -0
  2307. /package/src/app/[variants]/(main)/discover/(detail)/assistant/{[...slugs]/features → features}/DetailProvider.tsx +0 -0
  2308. /package/src/app/[variants]/(main)/discover/(detail)/assistant/{[...slugs]/features → features}/Details/Capabilities/Knowledge.tsx +0 -0
  2309. /package/src/app/[variants]/(main)/discover/(detail)/assistant/{[...slugs]/features → features}/Details/Capabilities/KnowledgeItem.tsx +0 -0
  2310. /package/src/app/[variants]/(main)/discover/(detail)/assistant/{[...slugs]/features → features}/Details/Capabilities/PluginItem.tsx +0 -0
  2311. /package/src/app/[variants]/(main)/discover/(detail)/assistant/{[...slugs]/features → features}/Details/Capabilities/Plugins.tsx +0 -0
  2312. /package/src/app/[variants]/(main)/discover/(detail)/assistant/{[...slugs]/features → features}/Details/Capabilities/index.tsx +0 -0
  2313. /package/src/app/[variants]/(main)/discover/(detail)/assistant/{[...slugs]/features → features}/Sidebar/Related/Item.tsx +0 -0
  2314. /package/src/app/[variants]/(main)/discover/(detail)/assistant/{[...slugs]/features → features}/Sidebar/Summary/index.tsx +0 -0
  2315. /package/src/app/[variants]/(main)/discover/(detail)/assistant/{[...slugs]/features → features}/Sidebar/index.tsx +0 -0
  2316. /package/src/app/[variants]/(main)/discover/(detail)/assistant/{[...slugs]/loading.tsx → loading.tsx} +0 -0
  2317. /package/src/app/[variants]/(main)/discover/(detail)/mcp/{[slug]/features → features}/Sidebar/ActionButton/index.tsx +0 -0
  2318. /package/src/app/[variants]/(main)/discover/(detail)/mcp/{[slug]/features → features}/Sidebar/ConnectionTypeAlert.tsx +0 -0
  2319. /package/src/app/[variants]/(main)/discover/(detail)/mcp/{[slug]/features → features}/Sidebar/Related/Item.tsx +0 -0
  2320. /package/src/app/[variants]/(main)/discover/(detail)/mcp/{[slug]/features → features}/Sidebar/index.tsx +0 -0
  2321. /package/src/app/[variants]/(main)/discover/(detail)/model/{[...slugs]/features → features}/DetailProvider.tsx +0 -0
  2322. /package/src/app/[variants]/(main)/discover/(detail)/model/{[...slugs]/features → features}/Details/Nav.tsx +0 -0
  2323. /package/src/app/[variants]/(main)/discover/(detail)/model/{[...slugs]/features → features}/Details/Overview/ProviderList/index.tsx +0 -0
  2324. /package/src/app/[variants]/(main)/discover/(detail)/model/{[...slugs]/features → features}/Details/Parameter/index.tsx +0 -0
  2325. /package/src/app/[variants]/(main)/discover/(detail)/model/{[...slugs]/features → features}/Sidebar/Related/Item.tsx +0 -0
  2326. /package/src/app/[variants]/(main)/discover/(detail)/model/{[...slugs]/features → features}/Sidebar/RelatedProviders/Item.tsx +0 -0
  2327. /package/src/app/[variants]/(main)/discover/(detail)/model/{[...slugs]/features → features}/Sidebar/index.tsx +0 -0
  2328. /package/src/app/[variants]/(main)/discover/(detail)/provider/{[...slugs]/features → features}/DetailProvider.tsx +0 -0
  2329. /package/src/app/[variants]/(main)/discover/(detail)/provider/{[...slugs]/features → features}/Details/Guide/index.tsx +0 -0
  2330. /package/src/app/[variants]/(main)/discover/(detail)/provider/{[...slugs]/features → features}/Details/Nav.tsx +0 -0
  2331. /package/src/app/[variants]/(main)/discover/(detail)/provider/{[...slugs]/features → features}/Details/Overview/ModelList/index.tsx +0 -0
  2332. /package/src/app/[variants]/(main)/discover/(detail)/provider/{[...slugs]/features → features}/Details/Overview/index.tsx +0 -0
  2333. /package/src/app/[variants]/(main)/discover/(detail)/provider/{[...slugs]/features → features}/Header.tsx +0 -0
  2334. /package/src/app/[variants]/(main)/discover/(detail)/provider/{[...slugs]/features → features}/Sidebar/Related/Item.tsx +0 -0
  2335. /package/src/app/[variants]/(main)/discover/(detail)/provider/{[...slugs]/features → features}/Sidebar/RelatedModels/Item.tsx +0 -0
  2336. /package/src/app/[variants]/(main)/discover/(detail)/provider/{[...slugs]/features → features}/Sidebar/index.tsx +0 -0
  2337. /package/src/app/[variants]/(main)/{_layout/Desktop → layouts/desktop}/RegisterHotkeys.tsx +0 -0
  2338. /package/src/app/[variants]/(main)/{_layout/Desktop → layouts/desktop}/SideBar/Avatar.test.tsx +0 -0
  2339. /package/src/app/[variants]/(main)/{_layout/Desktop → layouts/desktop}/SideBar/Avatar.tsx +0 -0
  2340. /package/src/app/[variants]/(main)/{_layout/Desktop → layouts/desktop}/SideBar/index.tsx +0 -0
  2341. /package/src/app/[variants]/(main)/settings/provider/detail/newapi/{page.tsx → index.tsx} +0 -0
  2342. /package/src/app/[variants]/{(main)/chat/loading.tsx → loading.tsx} +0 -0
  2343. /package/src/{app/[variants]/(main)/settings/provider/features/ProviderConfig → components/Skeleton}/SkeletonInput.tsx +0 -0
  2344. /package/src/features/{Conversation → ChatList}/Error/ErrorJsonViewer.tsx +0 -0
  2345. /package/src/features/{Conversation → ChatList}/Error/OllamaBizError/InvalidOllamaModel.tsx +0 -0
  2346. /package/src/features/{Conversation → ChatList}/Error/OllamaBizError/index.tsx +0 -0
  2347. /package/src/features/{Conversation → ChatList}/Error/style.tsx +0 -0
  2348. /package/src/features/{Conversation → ChatList}/MarkdownElements/LobeArtifact/Render/Icon.tsx +0 -0
  2349. /package/src/features/{Conversation → ChatList}/MarkdownElements/LobeArtifact/Render/index.tsx +0 -0
  2350. /package/src/features/{Conversation → ChatList}/MarkdownElements/LobeArtifact/index.ts +0 -0
  2351. /package/src/features/{Conversation → ChatList}/MarkdownElements/LobeArtifact/rehypePlugin.test.ts +0 -0
  2352. /package/src/features/{Conversation → ChatList}/MarkdownElements/LobeArtifact/rehypePlugin.ts +0 -0
  2353. /package/src/features/{Conversation → ChatList}/MarkdownElements/LobeThinking/index.ts +0 -0
  2354. /package/src/features/{Conversation → ChatList}/MarkdownElements/LocalFile/Render/index.tsx +0 -0
  2355. /package/src/features/{Conversation → ChatList}/MarkdownElements/LocalFile/index.ts +0 -0
  2356. /package/src/features/{Conversation → ChatList}/MarkdownElements/Mention/Render.tsx +0 -0
  2357. /package/src/features/{Conversation → ChatList}/MarkdownElements/Mention/index.ts +0 -0
  2358. /package/src/features/{Conversation → ChatList}/MarkdownElements/Thinking/index.ts +0 -0
  2359. /package/src/features/{Conversation → ChatList}/MarkdownElements/index.ts +0 -0
  2360. /package/src/features/{Conversation → ChatList}/MarkdownElements/remarkPlugins/createRemarkCustomTagPlugin.ts +0 -0
  2361. /package/src/features/{Conversation → ChatList}/MarkdownElements/remarkPlugins/createRemarkCustomTagWithAttributesPlugin.ts +0 -0
  2362. /package/src/features/{Conversation → ChatList}/MarkdownElements/remarkPlugins/getNodeContent.ts +0 -0
  2363. /package/src/features/{Conversation → ChatList}/MarkdownElements/type.ts +0 -0
  2364. /package/src/features/{Conversation → ChatList}/MarkdownElements/utils.ts +0 -0
  2365. /package/src/features/{Conversation → ChatList}/Messages/Assistant/Actions/Error.tsx +0 -0
  2366. /package/src/features/{Conversation → ChatList}/Messages/Assistant/FileChunks/Item/index.tsx +0 -0
  2367. /package/src/features/{Conversation → ChatList}/Messages/Assistant/FileChunks/Item/style.ts +0 -0
  2368. /package/src/features/{Conversation → ChatList}/Messages/Assistant/FileChunks/index.tsx +0 -0
  2369. /package/src/features/{Conversation → ChatList}/Messages/Assistant/IntentUnderstanding.tsx +0 -0
  2370. /package/src/features/{Conversation → ChatList}/Messages/Assistant/Reasoning/index.tsx +0 -0
  2371. /package/src/features/{Conversation → ChatList}/Messages/Assistant/SearchGrounding.tsx +0 -0
  2372. /package/src/features/{Conversation/Messages/Assistant → ChatList/Messages/Group}/Tool/Inspector/Settings.tsx +0 -0
  2373. /package/src/features/{Conversation/Messages/Assistant → ChatList/Messages/Group}/Tool/Render/Arguments/ObjectEntity.tsx +0 -0
  2374. /package/src/features/{Conversation/Messages/Assistant → ChatList/Messages/Group}/Tool/Render/Arguments/ValueCell.tsx +0 -0
  2375. /package/src/features/{Conversation/Messages/Assistant → ChatList/Messages/Group}/Tool/Render/ErrorResponse.tsx +0 -0
  2376. /package/src/features/{Conversation → ChatList}/Messages/Supervisor/TodoList.tsx +0 -0
  2377. /package/src/features/{Conversation/Messages/Assistant → ChatList/Messages}/Tool/Inspector/BuiltinPluginTitle.tsx +0 -0
  2378. /package/src/features/{Conversation/Messages/Assistant → ChatList/Messages}/Tool/Inspector/Debug.tsx +0 -0
  2379. /package/src/features/{Conversation/Messages/Assistant → ChatList/Messages}/Tool/Render/Arguments/index.tsx +0 -0
  2380. /package/src/features/{Conversation/Messages/Assistant → ChatList/Messages}/Tool/Render/KeyValueEditor.tsx +0 -0
  2381. /package/src/features/{Conversation → ChatList}/Messages/User/BelowMessage.tsx +0 -0
  2382. /package/src/features/{Conversation → ChatList}/Messages/User/FileListViewer/Item.tsx +0 -0
  2383. /package/src/features/{Conversation → ChatList}/Messages/User/FileListViewer/index.tsx +0 -0
  2384. /package/src/features/{Conversation → ChatList}/Messages/User/ImageFileListViewer.tsx +0 -0
  2385. /package/src/features/{Conversation → ChatList}/Messages/User/MarkdownRender/ContentPreview.tsx +0 -0
  2386. /package/src/features/{Conversation → ChatList}/Messages/User/MarkdownRender/index.tsx +0 -0
  2387. /package/src/features/{Conversation → ChatList}/Messages/User/MessageContent.tsx +0 -0
  2388. /package/src/features/{Conversation → ChatList}/Messages/User/VideoFileListViewer.tsx +0 -0
  2389. /package/src/features/{Conversation → ChatList}/components/BackBottom/index.tsx +0 -0
  2390. /package/src/features/{Conversation → ChatList}/components/BackBottom/style.ts +0 -0
  2391. /package/src/features/{Conversation → ChatList}/components/ChatItem/ShareMessageModal/SharePdf/PdfPreview.tsx +0 -0
  2392. /package/src/features/{Conversation → ChatList}/components/ChatItem/ShareMessageModal/SharePdf/index.tsx +0 -0
  2393. /package/src/features/{Conversation → ChatList}/components/ChatItem/ShareMessageModal/SharePdf/style.ts +0 -0
  2394. /package/src/features/{Conversation → ChatList}/components/ChatItem/ShareMessageModal/SharePdf/template.ts +0 -0
  2395. /package/src/features/{Conversation → ChatList}/components/ChatItem/ShareMessageModal/SharePdf/usePdfGeneration.ts +0 -0
  2396. /package/src/features/{Conversation → ChatList}/components/Extras/ExtraContainer.tsx +0 -0
  2397. /package/src/features/{Conversation → ChatList}/components/Extras/TTS/FilePlayer.tsx +0 -0
  2398. /package/src/features/{Conversation → ChatList}/components/Extras/TTS/Player.tsx +0 -0
  2399. /package/src/features/{Conversation → ChatList}/components/Extras/TTS/index.tsx +0 -0
  2400. /package/src/features/{Conversation → ChatList}/components/Extras/Translate.tsx +0 -0
  2401. /package/src/features/{Conversation → ChatList}/components/Extras/Usage/UsageDetail/ModelCard.tsx +0 -0
  2402. /package/src/features/{Conversation → ChatList}/components/Extras/Usage/UsageDetail/TokenProgress.tsx +0 -0
  2403. /package/src/features/{Conversation → ChatList}/components/Extras/Usage/UsageDetail/pricing.ts +0 -0
  2404. /package/src/features/{Conversation → ChatList}/components/Extras/Usage/UsageDetail/tokens.test.ts +0 -0
  2405. /package/src/features/{Conversation → ChatList}/components/History/HistoryDivider.tsx +0 -0
  2406. /package/src/features/{Conversation → ChatList}/components/History/index.tsx +0 -0
  2407. /package/src/features/{Conversation → ChatList}/components/OTPInput.tsx +0 -0
  2408. /package/src/features/{Conversation → ChatList}/components/ShareMessageModal/ShareImage/index.tsx +0 -0
  2409. /package/src/features/{Conversation → ChatList}/components/ShareMessageModal/ShareImage/style.ts +0 -0
  2410. /package/src/features/{Conversation → ChatList}/components/ShareMessageModal/ShareImage/type.ts +0 -0
  2411. /package/src/features/{Conversation → ChatList}/components/ShareMessageModal/ShareText/Preview.tsx +0 -0
  2412. /package/src/features/{Conversation → ChatList}/components/ShareMessageModal/ShareText/index.tsx +0 -0
  2413. /package/src/features/{Conversation → ChatList}/components/ShareMessageModal/ShareText/template.test.ts +0 -0
  2414. /package/src/features/{Conversation → ChatList}/components/ShareMessageModal/ShareText/template.ts +0 -0
  2415. /package/src/features/{Conversation → ChatList}/components/ShareMessageModal/ShareText/type.ts +0 -0
  2416. /package/src/features/{Conversation → ChatList}/components/ShareMessageModal/style.ts +0 -0
  2417. /package/src/features/{Conversation → ChatList}/components/ThreadDivider/index.tsx +0 -0
  2418. /package/src/features/{Conversation → ChatList}/context/InPortalThreadContext.ts +0 -0
  2419. /package/src/features/{Conversation → ChatList}/index.ts +0 -0
  2420. /package/src/features/{Conversation → ChatList}/types/index.ts +0 -0
  2421. /package/src/features/{Conversation → ChatList}/utils/markdown.test.ts +0 -0
  2422. /package/src/features/{Conversation → ChatList}/utils/markdown.ts +0 -0
  2423. /package/src/features/{FileManager/FileList/ToolBar → KnowledgeBaseModal/AssignKnowledgeBase}/ViewSwitcher.tsx +0 -0
  2424. /package/src/features/{FileManager → KnowledgeManager}/ChunkDrawer/ChunkList/ChunkItem.tsx +0 -0
  2425. /package/src/features/{FileManager → KnowledgeManager}/ChunkDrawer/ChunkList/index.tsx +0 -0
  2426. /package/src/features/{FileManager → KnowledgeManager}/ChunkDrawer/Content.tsx +0 -0
  2427. /package/src/features/{FileManager → KnowledgeManager}/ChunkDrawer/Loading/index.tsx +0 -0
  2428. /package/src/features/{FileManager → KnowledgeManager}/ChunkDrawer/SimilaritySearchList/Item.tsx +0 -0
  2429. /package/src/features/{FileManager → KnowledgeManager}/ChunkDrawer/SimilaritySearchList/index.tsx +0 -0
  2430. /package/src/features/{FileManager → KnowledgeManager}/ChunkDrawer/index.tsx +0 -0
  2431. /package/src/features/{FileManager/FileList → KnowledgeManager/FileExplorer}/EmptyStatus.tsx +0 -0
  2432. /package/src/features/{FileManager/FileList → KnowledgeManager/FileExplorer}/FileListItem/ChunkTag.tsx +0 -0
  2433. /package/src/features/{FileManager/FileList → KnowledgeManager/FileExplorer}/FileListItem/DropdownMenu.tsx +0 -0
  2434. /package/src/features/{FileManager/FileList → KnowledgeManager/FileExplorer}/FileSkeleton.tsx +0 -0
  2435. /package/src/features/{FileManager/FileList → KnowledgeManager/FileExplorer}/MasonryFileItem/MasonryItemWrapper.tsx +0 -0
  2436. /package/src/features/{FileManager/FileList → KnowledgeManager/FileExplorer}/MasonrySkeleton.tsx +0 -0
  2437. /package/src/features/{FileManager/FileList → KnowledgeManager/FileExplorer}/ToolBar/Config.tsx +0 -0
  2438. /package/src/features/{FileManager/FileList → KnowledgeManager/FileExplorer}/ToolBar/MultiSelectActions.tsx +0 -0
  2439. /package/src/features/{FileManager/FileList → KnowledgeManager/FileExplorer}/ToolBar/index.tsx +0 -0
  2440. /package/src/features/{FileManager/FileList → KnowledgeManager/FileExplorer}/useCheckTaskStatus.ts +0 -0
  2441. /package/src/features/{FileManager → KnowledgeManager}/Header/UploadFileButton.tsx +0 -0
  2442. /package/src/features/{FileManager → KnowledgeManager}/UploadDock/Item.tsx +0 -0
  2443. /package/src/features/{FileManager → KnowledgeManager}/UploadDock/index.tsx +0 -0
  2444. /package/{packages/utils/src → src/utils/server}/__snapshots__/parseModels.test.ts.snap +0 -0
  2445. /package/{packages/utils/src → src/utils/server}/parseModels.test.ts +0 -0
package/CHANGELOG.md CHANGED
@@ -2,6 +2,2492 @@
2
2
 
3
3
  # Changelog
4
4
 
5
+ ## [Version 2.0.0-next.110](https://github.com/lobehub/lobe-chat/compare/v2.0.0-next.109...v2.0.0-next.110)
6
+
7
+ <sup>Released on **2025-11-24**</sup>
8
+
9
+ #### 💄 Styles
10
+
11
+ - **misc**: Add hyperlink to each topic & pinned agent, support ContextMenu on ChatItem.
12
+
13
+ <br/>
14
+
15
+ <details>
16
+ <summary><kbd>Improvements and Fixes</kbd></summary>
17
+
18
+ #### Styles
19
+
20
+ - **misc**: Add hyperlink to each topic & pinned agent, closes [#10367](https://github.com/lobehub/lobe-chat/issues/10367) ([63e4b3d](https://github.com/lobehub/lobe-chat/commit/63e4b3d))
21
+ - **misc**: Support ContextMenu on ChatItem, closes [#9034](https://github.com/lobehub/lobe-chat/issues/9034) ([27c1154](https://github.com/lobehub/lobe-chat/commit/27c1154))
22
+
23
+ </details>
24
+
25
+ <div align="right">
26
+
27
+ [![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)
28
+
29
+ </div>
30
+
31
+ ## [Version 2.0.0-next.109](https://github.com/lobehub/lobe-chat/compare/v2.0.0-next.108...v2.0.0-next.109)
32
+
33
+ <sup>Released on **2025-11-24**</sup>
34
+
35
+ #### 🐛 Bug Fixes
36
+
37
+ - **misc**: Fixed the knowledge files cant open error.
38
+
39
+ #### 💄 Styles
40
+
41
+ - **misc**: Update i18n.
42
+
43
+ <br/>
44
+
45
+ <details>
46
+ <summary><kbd>Improvements and Fixes</kbd></summary>
47
+
48
+ #### What's fixed
49
+
50
+ - **misc**: Fixed the knowledge files cant open error, closes [#10386](https://github.com/lobehub/lobe-chat/issues/10386) ([8104c77](https://github.com/lobehub/lobe-chat/commit/8104c77))
51
+
52
+ #### Styles
53
+
54
+ - **misc**: Update i18n, closes [#10368](https://github.com/lobehub/lobe-chat/issues/10368) ([ed707af](https://github.com/lobehub/lobe-chat/commit/ed707af))
55
+
56
+ </details>
57
+
58
+ <div align="right">
59
+
60
+ [![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)
61
+
62
+ </div>
63
+
64
+ ## [Version 2.0.0-next.108](https://github.com/lobehub/lobe-chat/compare/v2.0.0-next.107...v2.0.0-next.108)
65
+
66
+ <sup>Released on **2025-11-24**</sup>
67
+
68
+ #### 🐛 Bug Fixes
69
+
70
+ - **misc**: Fixed the pinned session not work.
71
+
72
+ <br/>
73
+
74
+ <details>
75
+ <summary><kbd>Improvements and Fixes</kbd></summary>
76
+
77
+ #### What's fixed
78
+
79
+ - **misc**: Fixed the pinned session not work, closes [#10323](https://github.com/lobehub/lobe-chat/issues/10323) ([224f999](https://github.com/lobehub/lobe-chat/commit/224f999))
80
+
81
+ </details>
82
+
83
+ <div align="right">
84
+
85
+ [![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)
86
+
87
+ </div>
88
+
89
+ ## [Version 2.0.0-next.107](https://github.com/lobehub/lobe-chat/compare/v2.0.0-next.106...v2.0.0-next.107)
90
+
91
+ <sup>Released on **2025-11-23**</sup>
92
+
93
+ #### 💄 Styles
94
+
95
+ - **misc**: Optimize nana banana pro error message.
96
+
97
+ <br/>
98
+
99
+ <details>
100
+ <summary><kbd>Improvements and Fixes</kbd></summary>
101
+
102
+ #### Styles
103
+
104
+ - **misc**: Optimize nana banana pro error message, closes [#10378](https://github.com/lobehub/lobe-chat/issues/10378) ([cb34757](https://github.com/lobehub/lobe-chat/commit/cb34757))
105
+
106
+ </details>
107
+
108
+ <div align="right">
109
+
110
+ [![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)
111
+
112
+ </div>
113
+
114
+ ## [Version 2.0.0-next.106](https://github.com/lobehub/lobe-chat/compare/v2.0.0-next.105...v2.0.0-next.106)
115
+
116
+ <sup>Released on **2025-11-23**</sup>
117
+
118
+ #### ✨ Features
119
+
120
+ - **misc**: Add nano-banana-pro model support and optimization.
121
+
122
+ <br/>
123
+
124
+ <details>
125
+ <summary><kbd>Improvements and Fixes</kbd></summary>
126
+
127
+ #### What's improved
128
+
129
+ - **misc**: Add nano-banana-pro model support and optimization, closes [#10376](https://github.com/lobehub/lobe-chat/issues/10376) ([5349bdc](https://github.com/lobehub/lobe-chat/commit/5349bdc))
130
+
131
+ </details>
132
+
133
+ <div align="right">
134
+
135
+ [![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)
136
+
137
+ </div>
138
+
139
+ ## [Version 2.0.0-next.105](https://github.com/lobehub/lobe-chat/compare/v2.0.0-next.104...v2.0.0-next.105)
140
+
141
+ <sup>Released on **2025-11-23**</sup>
142
+
143
+ #### 🐛 Bug Fixes
144
+
145
+ - **operation**: Isolate loading state to current active topic.
146
+
147
+ <br/>
148
+
149
+ <details>
150
+ <summary><kbd>Improvements and Fixes</kbd></summary>
151
+
152
+ #### What's fixed
153
+
154
+ - **operation**: Isolate loading state to current active topic, closes [#10360](https://github.com/lobehub/lobe-chat/issues/10360) ([c568369](https://github.com/lobehub/lobe-chat/commit/c568369))
155
+
156
+ </details>
157
+
158
+ <div align="right">
159
+
160
+ [![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)
161
+
162
+ </div>
163
+
164
+ ## [Version 2.0.0-next.104](https://github.com/lobehub/lobe-chat/compare/v2.0.0-next.103...v2.0.0-next.104)
165
+
166
+ <sup>Released on **2025-11-22**</sup>
167
+
168
+ #### 💄 Styles
169
+
170
+ - **misc**: Update i18n.
171
+
172
+ <br/>
173
+
174
+ <details>
175
+ <summary><kbd>Improvements and Fixes</kbd></summary>
176
+
177
+ #### Styles
178
+
179
+ - **misc**: Update i18n, closes [#10349](https://github.com/lobehub/lobe-chat/issues/10349) ([3482d38](https://github.com/lobehub/lobe-chat/commit/3482d38))
180
+
181
+ </details>
182
+
183
+ <div align="right">
184
+
185
+ [![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)
186
+
187
+ </div>
188
+
189
+ ## [Version 2.0.0-next.103](https://github.com/lobehub/lobe-chat/compare/v2.0.0-next.102...v2.0.0-next.103)
190
+
191
+ <sup>Released on **2025-11-22**</sup>
192
+
193
+ #### 🐛 Bug Fixes
194
+
195
+ - **misc**: Hide ai image config item in settings category.
196
+
197
+ <br/>
198
+
199
+ <details>
200
+ <summary><kbd>Improvements and Fixes</kbd></summary>
201
+
202
+ #### What's fixed
203
+
204
+ - **misc**: Hide ai image config item in settings category, closes [#10066](https://github.com/lobehub/lobe-chat/issues/10066) ([90354eb](https://github.com/lobehub/lobe-chat/commit/90354eb))
205
+
206
+ </details>
207
+
208
+ <div align="right">
209
+
210
+ [![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)
211
+
212
+ </div>
213
+
214
+ ## [Version 2.0.0-next.102](https://github.com/lobehub/lobe-chat/compare/v2.0.0-next.101...v2.0.0-next.102)
215
+
216
+ <sup>Released on **2025-11-22**</sup>
217
+
218
+ #### ✨ Features
219
+
220
+ - **misc**: Add new provider ZenMux & Gemini 3 Pro Image Preview.
221
+
222
+ <br/>
223
+
224
+ <details>
225
+ <summary><kbd>Improvements and Fixes</kbd></summary>
226
+
227
+ #### What's improved
228
+
229
+ - **misc**: Add new provider ZenMux & Gemini 3 Pro Image Preview, closes [#10310](https://github.com/lobehub/lobe-chat/issues/10310) ([f2291e4](https://github.com/lobehub/lobe-chat/commit/f2291e4))
230
+
231
+ </details>
232
+
233
+ <div align="right">
234
+
235
+ [![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)
236
+
237
+ </div>
238
+
239
+ ## [Version 2.0.0-next.101](https://github.com/lobehub/lobe-chat/compare/v2.0.0-next.100...v2.0.0-next.101)
240
+
241
+ <sup>Released on **2025-11-22**</sup>
242
+
243
+ #### ✨ Features
244
+
245
+ - **misc**: Support bedrok prompt cache and usage compute.
246
+
247
+ <br/>
248
+
249
+ <details>
250
+ <summary><kbd>Improvements and Fixes</kbd></summary>
251
+
252
+ #### What's improved
253
+
254
+ - **misc**: Support bedrok prompt cache and usage compute, closes [#10337](https://github.com/lobehub/lobe-chat/issues/10337) ([beb9471](https://github.com/lobehub/lobe-chat/commit/beb9471))
255
+
256
+ </details>
257
+
258
+ <div align="right">
259
+
260
+ [![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)
261
+
262
+ </div>
263
+
264
+ ## [Version 2.0.0-next.100](https://github.com/lobehub/lobe-chat/compare/v2.0.0-next.99...v2.0.0-next.100)
265
+
266
+ <sup>Released on **2025-11-21**</sup>
267
+
268
+ #### 🐛 Bug Fixes
269
+
270
+ - **misc**: Gemini 3 Pro does not display thought summaries.
271
+
272
+ <br/>
273
+
274
+ <details>
275
+ <summary><kbd>Improvements and Fixes</kbd></summary>
276
+
277
+ #### What's fixed
278
+
279
+ - **misc**: Gemini 3 Pro does not display thought summaries, closes [#10345](https://github.com/lobehub/lobe-chat/issues/10345) ([89e296a](https://github.com/lobehub/lobe-chat/commit/89e296a))
280
+
281
+ </details>
282
+
283
+ <div align="right">
284
+
285
+ [![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)
286
+
287
+ </div>
288
+
289
+ ## [Version 2.0.0-next.99](https://github.com/lobehub/lobe-chat/compare/v2.0.0-next.98...v2.0.0-next.99)
290
+
291
+ <sup>Released on **2025-11-21**</sup>
292
+
293
+ #### ✨ Features
294
+
295
+ - **misc**: Refactor to use kb search tool.
296
+
297
+ <br/>
298
+
299
+ <details>
300
+ <summary><kbd>Improvements and Fixes</kbd></summary>
301
+
302
+ #### What's improved
303
+
304
+ - **misc**: Refactor to use kb search tool, closes [#10340](https://github.com/lobehub/lobe-chat/issues/10340) ([291ff3c](https://github.com/lobehub/lobe-chat/commit/291ff3c))
305
+
306
+ </details>
307
+
308
+ <div align="right">
309
+
310
+ [![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)
311
+
312
+ </div>
313
+
314
+ ## [Version 2.0.0-next.98](https://github.com/lobehub/lobe-chat/compare/v2.0.0-next.97...v2.0.0-next.98)
315
+
316
+ <sup>Released on **2025-11-21**</sup>
317
+
318
+ #### 🐛 Bug Fixes
319
+
320
+ - **misc**: Fixed changelog pages and open again.
321
+
322
+ #### 💄 Styles
323
+
324
+ - **misc**: Fix some translations.
325
+
326
+ <br/>
327
+
328
+ <details>
329
+ <summary><kbd>Improvements and Fixes</kbd></summary>
330
+
331
+ #### What's fixed
332
+
333
+ - **misc**: Fixed changelog pages and open again, closes [#10285](https://github.com/lobehub/lobe-chat/issues/10285) ([871d141](https://github.com/lobehub/lobe-chat/commit/871d141))
334
+
335
+ #### Styles
336
+
337
+ - **misc**: Fix some translations, closes [#10343](https://github.com/lobehub/lobe-chat/issues/10343) ([ed193e0](https://github.com/lobehub/lobe-chat/commit/ed193e0))
338
+
339
+ </details>
340
+
341
+ <div align="right">
342
+
343
+ [![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)
344
+
345
+ </div>
346
+
347
+ ## [Version 2.0.0-next.97](https://github.com/lobehub/lobe-chat/compare/v2.0.0-next.96...v2.0.0-next.97)
348
+
349
+ <sup>Released on **2025-11-21**</sup>
350
+
351
+ #### ♻ Code Refactoring
352
+
353
+ - **misc**: Refactor Conversation to ChatList.
354
+
355
+ #### 💄 Styles
356
+
357
+ - **misc**: Update i18n.
358
+
359
+ <br/>
360
+
361
+ <details>
362
+ <summary><kbd>Improvements and Fixes</kbd></summary>
363
+
364
+ #### Code refactoring
365
+
366
+ - **misc**: Refactor Conversation to ChatList, closes [#10330](https://github.com/lobehub/lobe-chat/issues/10330) ([bca70e2](https://github.com/lobehub/lobe-chat/commit/bca70e2))
367
+
368
+ #### Styles
369
+
370
+ - **misc**: Update i18n, closes [#10338](https://github.com/lobehub/lobe-chat/issues/10338) ([9c8cf81](https://github.com/lobehub/lobe-chat/commit/9c8cf81))
371
+
372
+ </details>
373
+
374
+ <div align="right">
375
+
376
+ [![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)
377
+
378
+ </div>
379
+
380
+ ## [Version 2.0.0-next.96](https://github.com/lobehub/lobe-chat/compare/v2.0.0-next.95...v2.0.0-next.96)
381
+
382
+ <sup>Released on **2025-11-20**</sup>
383
+
384
+ #### ✨ Features
385
+
386
+ - **misc**: Support Command Menu (CMD + J).
387
+
388
+ <br/>
389
+
390
+ <details>
391
+ <summary><kbd>Improvements and Fixes</kbd></summary>
392
+
393
+ #### What's improved
394
+
395
+ - **misc**: Support Command Menu (CMD + J), closes [#10271](https://github.com/lobehub/lobe-chat/issues/10271) ([a9aed0b](https://github.com/lobehub/lobe-chat/commit/a9aed0b))
396
+
397
+ </details>
398
+
399
+ <div align="right">
400
+
401
+ [![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)
402
+
403
+ </div>
404
+
405
+ ## [Version 2.0.0-next.95](https://github.com/lobehub/lobe-chat/compare/v2.0.0-next.94...v2.0.0-next.95)
406
+
407
+ <sup>Released on **2025-11-20**</sup>
408
+
409
+ #### ✨ Features
410
+
411
+ - **misc**: Add Security Blacklist for agent runtime.
412
+
413
+ <br/>
414
+
415
+ <details>
416
+ <summary><kbd>Improvements and Fixes</kbd></summary>
417
+
418
+ #### What's improved
419
+
420
+ - **misc**: Add Security Blacklist for agent runtime, closes [#10325](https://github.com/lobehub/lobe-chat/issues/10325) ([deab4d0](https://github.com/lobehub/lobe-chat/commit/deab4d0))
421
+
422
+ </details>
423
+
424
+ <div align="right">
425
+
426
+ [![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)
427
+
428
+ </div>
429
+
430
+ ## [Version 2.0.0-next.94](https://github.com/lobehub/lobe-chat/compare/v2.0.0-next.93...v2.0.0-next.94)
431
+
432
+ <sup>Released on **2025-11-20**</sup>
433
+
434
+ #### 🐛 Bug Fixes
435
+
436
+ - **misc**: Provider settings button unable to redirect.
437
+
438
+ <br/>
439
+
440
+ <details>
441
+ <summary><kbd>Improvements and Fixes</kbd></summary>
442
+
443
+ #### What's fixed
444
+
445
+ - **misc**: Provider settings button unable to redirect, closes [#10319](https://github.com/lobehub/lobe-chat/issues/10319) ([e025fec](https://github.com/lobehub/lobe-chat/commit/e025fec))
446
+
447
+ </details>
448
+
449
+ <div align="right">
450
+
451
+ [![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)
452
+
453
+ </div>
454
+
455
+ ## [Version 2.0.0-next.93](https://github.com/lobehub/lobe-chat/compare/v2.0.0-next.92...v2.0.0-next.93)
456
+
457
+ <sup>Released on **2025-11-20**</sup>
458
+
459
+ #### 💄 Styles
460
+
461
+ - **misc**: Update i18n.
462
+
463
+ <br/>
464
+
465
+ <details>
466
+ <summary><kbd>Improvements and Fixes</kbd></summary>
467
+
468
+ #### Styles
469
+
470
+ - **misc**: Update i18n, closes [#10317](https://github.com/lobehub/lobe-chat/issues/10317) ([8fb9890](https://github.com/lobehub/lobe-chat/commit/8fb9890))
471
+
472
+ </details>
473
+
474
+ <div align="right">
475
+
476
+ [![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)
477
+
478
+ </div>
479
+
480
+ ## [Version 2.0.0-next.92](https://github.com/lobehub/lobe-chat/compare/v2.0.0-next.91...v2.0.0-next.92)
481
+
482
+ <sup>Released on **2025-11-19**</sup>
483
+
484
+ #### 💄 Styles
485
+
486
+ - **misc**: Remove debug console logs and add loading state.
487
+
488
+ <br/>
489
+
490
+ <details>
491
+ <summary><kbd>Improvements and Fixes</kbd></summary>
492
+
493
+ #### Styles
494
+
495
+ - **misc**: Remove debug console logs and add loading state, closes [#10314](https://github.com/lobehub/lobe-chat/issues/10314) ([094cdff](https://github.com/lobehub/lobe-chat/commit/094cdff))
496
+
497
+ </details>
498
+
499
+ <div align="right">
500
+
501
+ [![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)
502
+
503
+ </div>
504
+
505
+ ## [Version 2.0.0-next.91](https://github.com/lobehub/lobe-chat/compare/v2.0.0-next.90...v2.0.0-next.91)
506
+
507
+ <sup>Released on **2025-11-19**</sup>
508
+
509
+ #### 🐛 Bug Fixes
510
+
511
+ - **misc**: Fixed the hydrated false problem.
512
+
513
+ <br/>
514
+
515
+ <details>
516
+ <summary><kbd>Improvements and Fixes</kbd></summary>
517
+
518
+ #### What's fixed
519
+
520
+ - **misc**: Fixed the hydrated false problem, closes [#10308](https://github.com/lobehub/lobe-chat/issues/10308) ([340aa2a](https://github.com/lobehub/lobe-chat/commit/340aa2a))
521
+
522
+ </details>
523
+
524
+ <div align="right">
525
+
526
+ [![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)
527
+
528
+ </div>
529
+
530
+ ## [Version 2.0.0-next.90](https://github.com/lobehub/lobe-chat/compare/v2.0.0-next.89...v2.0.0-next.90)
531
+
532
+ <sup>Released on **2025-11-19**</sup>
533
+
534
+ #### 💄 Styles
535
+
536
+ - **misc**: Extract StatusIndicator component and improve tools display.
537
+
538
+ <br/>
539
+
540
+ <details>
541
+ <summary><kbd>Improvements and Fixes</kbd></summary>
542
+
543
+ #### Styles
544
+
545
+ - **misc**: Extract StatusIndicator component and improve tools display, closes [#10311](https://github.com/lobehub/lobe-chat/issues/10311) ([b5ae53a](https://github.com/lobehub/lobe-chat/commit/b5ae53a))
546
+
547
+ </details>
548
+
549
+ <div align="right">
550
+
551
+ [![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)
552
+
553
+ </div>
554
+
555
+ ## [Version 2.0.0-next.89](https://github.com/lobehub/lobe-chat/compare/v2.0.0-next.88...v2.0.0-next.89)
556
+
557
+ <sup>Released on **2025-11-19**</sup>
558
+
559
+ #### ✨ Features
560
+
561
+ - **misc**: Support gemini 3.0 tools calling.
562
+
563
+ <br/>
564
+
565
+ <details>
566
+ <summary><kbd>Improvements and Fixes</kbd></summary>
567
+
568
+ #### What's improved
569
+
570
+ - **misc**: Support gemini 3.0 tools calling, closes [#10301](https://github.com/lobehub/lobe-chat/issues/10301) ([7114fc1](https://github.com/lobehub/lobe-chat/commit/7114fc1))
571
+
572
+ </details>
573
+
574
+ <div align="right">
575
+
576
+ [![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)
577
+
578
+ </div>
579
+
580
+ ## [Version 2.0.0-next.88](https://github.com/lobehub/lobe-chat/compare/v2.0.0-next.87...v2.0.0-next.88)
581
+
582
+ <sup>Released on **2025-11-19**</sup>
583
+
584
+ #### 💄 Styles
585
+
586
+ - **misc**: Fully support Gemini 3.0 model.
587
+
588
+ <br/>
589
+
590
+ <details>
591
+ <summary><kbd>Improvements and Fixes</kbd></summary>
592
+
593
+ #### Styles
594
+
595
+ - **misc**: Fully support Gemini 3.0 model, closes [#10292](https://github.com/lobehub/lobe-chat/issues/10292) ([6545ef8](https://github.com/lobehub/lobe-chat/commit/6545ef8))
596
+
597
+ </details>
598
+
599
+ <div align="right">
600
+
601
+ [![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)
602
+
603
+ </div>
604
+
605
+ ## [Version 2.0.0-next.87](https://github.com/lobehub/lobe-chat/compare/v2.0.0-next.86...v2.0.0-next.87)
606
+
607
+ <sup>Released on **2025-11-19**</sup>
608
+
609
+ #### ♻ Code Refactoring
610
+
611
+ - **misc**: Refactor chat selectors.
612
+
613
+ <br/>
614
+
615
+ <details>
616
+ <summary><kbd>Improvements and Fixes</kbd></summary>
617
+
618
+ #### Code refactoring
619
+
620
+ - **misc**: Refactor chat selectors, closes [#10274](https://github.com/lobehub/lobe-chat/issues/10274) ([0a056f3](https://github.com/lobehub/lobe-chat/commit/0a056f3))
621
+
622
+ </details>
623
+
624
+ <div align="right">
625
+
626
+ [![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)
627
+
628
+ </div>
629
+
630
+ ## [Version 2.0.0-next.86](https://github.com/lobehub/lobe-chat/compare/v2.0.0-next.85...v2.0.0-next.86)
631
+
632
+ <sup>Released on **2025-11-19**</sup>
633
+
634
+ #### ✨ Features
635
+
636
+ - **misc**: Support user abort in the agent runtime.
637
+
638
+ <br/>
639
+
640
+ <details>
641
+ <summary><kbd>Improvements and Fixes</kbd></summary>
642
+
643
+ #### What's improved
644
+
645
+ - **misc**: Support user abort in the agent runtime, closes [#10289](https://github.com/lobehub/lobe-chat/issues/10289) ([0925069](https://github.com/lobehub/lobe-chat/commit/0925069))
646
+
647
+ </details>
648
+
649
+ <div align="right">
650
+
651
+ [![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)
652
+
653
+ </div>
654
+
655
+ ## [Version 2.0.0-next.85](https://github.com/lobehub/lobe-chat/compare/v2.0.0-next.84...v2.0.0-next.85)
656
+
657
+ <sup>Released on **2025-11-19**</sup>
658
+
659
+ #### 🐛 Bug Fixes
660
+
661
+ - **misc**: Slove discover pagination router.
662
+
663
+ <br/>
664
+
665
+ <details>
666
+ <summary><kbd>Improvements and Fixes</kbd></summary>
667
+
668
+ #### What's fixed
669
+
670
+ - **misc**: Slove discover pagination router, closes [#10294](https://github.com/lobehub/lobe-chat/issues/10294) ([fcda0b5](https://github.com/lobehub/lobe-chat/commit/fcda0b5))
671
+
672
+ </details>
673
+
674
+ <div align="right">
675
+
676
+ [![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)
677
+
678
+ </div>
679
+
680
+ ## [Version 2.0.0-next.84](https://github.com/lobehub/lobe-chat/compare/v2.0.0-next.83...v2.0.0-next.84)
681
+
682
+ <sup>Released on **2025-11-19**</sup>
683
+
684
+ #### 💄 Styles
685
+
686
+ - **misc**: Add Gemini 3.0 Pro Preview to Google Provider.
687
+
688
+ <br/>
689
+
690
+ <details>
691
+ <summary><kbd>Improvements and Fixes</kbd></summary>
692
+
693
+ #### Styles
694
+
695
+ - **misc**: Add Gemini 3.0 Pro Preview to Google Provider, closes [#10290](https://github.com/lobehub/lobe-chat/issues/10290) ([25c4358](https://github.com/lobehub/lobe-chat/commit/25c4358))
696
+
697
+ </details>
698
+
699
+ <div align="right">
700
+
701
+ [![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)
702
+
703
+ </div>
704
+
705
+ ## [Version 2.0.0-next.83](https://github.com/lobehub/lobe-chat/compare/v2.0.0-next.82...v2.0.0-next.83)
706
+
707
+ <sup>Released on **2025-11-19**</sup>
708
+
709
+ #### ✨ Features
710
+
711
+ - **misc**: New API support switch Responses API mode.
712
+
713
+ #### 💄 Styles
714
+
715
+ - **misc**: Update i18n.
716
+
717
+ <br/>
718
+
719
+ <details>
720
+ <summary><kbd>Improvements and Fixes</kbd></summary>
721
+
722
+ #### What's improved
723
+
724
+ - **misc**: New API support switch Responses API mode, closes [#9776](https://github.com/lobehub/lobe-chat/issues/9776) [#9916](https://github.com/lobehub/lobe-chat/issues/9916) [#9997](https://github.com/lobehub/lobe-chat/issues/9997) [#9916](https://github.com/lobehub/lobe-chat/issues/9916) ([d0ee3df](https://github.com/lobehub/lobe-chat/commit/d0ee3df))
725
+
726
+ #### Styles
727
+
728
+ - **misc**: Update i18n, closes [#10291](https://github.com/lobehub/lobe-chat/issues/10291) ([1c9f0d9](https://github.com/lobehub/lobe-chat/commit/1c9f0d9))
729
+
730
+ </details>
731
+
732
+ <div align="right">
733
+
734
+ [![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)
735
+
736
+ </div>
737
+
738
+ ## [Version 2.0.0-next.82](https://github.com/lobehub/lobe-chat/compare/v2.0.0-next.81...v2.0.0-next.82)
739
+
740
+ <sup>Released on **2025-11-18**</sup>
741
+
742
+ #### 🐛 Bug Fixes
743
+
744
+ - **misc**: Fix noisy error notification.
745
+
746
+ <br/>
747
+
748
+ <details>
749
+ <summary><kbd>Improvements and Fixes</kbd></summary>
750
+
751
+ #### What's fixed
752
+
753
+ - **misc**: Fix noisy error notification, closes [#10286](https://github.com/lobehub/lobe-chat/issues/10286) ([9ea680c](https://github.com/lobehub/lobe-chat/commit/9ea680c))
754
+
755
+ </details>
756
+
757
+ <div align="right">
758
+
759
+ [![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)
760
+
761
+ </div>
762
+
763
+ ## [Version 2.0.0-next.81](https://github.com/lobehub/lobe-chat/compare/v2.0.0-next.80...v2.0.0-next.81)
764
+
765
+ <sup>Released on **2025-11-18**</sup>
766
+
767
+ #### 🐛 Bug Fixes
768
+
769
+ - **misc**: Slove when logout always show loading.
770
+
771
+ <br/>
772
+
773
+ <details>
774
+ <summary><kbd>Improvements and Fixes</kbd></summary>
775
+
776
+ #### What's fixed
777
+
778
+ - **misc**: Slove when logout always show loading, closes [#10284](https://github.com/lobehub/lobe-chat/issues/10284) ([d91fb73](https://github.com/lobehub/lobe-chat/commit/d91fb73))
779
+
780
+ </details>
781
+
782
+ <div align="right">
783
+
784
+ [![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)
785
+
786
+ </div>
787
+
788
+ ## [Version 2.0.0-next.80](https://github.com/lobehub/lobe-chat/compare/v2.0.0-next.79...v2.0.0-next.80)
789
+
790
+ <sup>Released on **2025-11-18**</sup>
791
+
792
+ <br/>
793
+
794
+ <details>
795
+ <summary><kbd>Improvements and Fixes</kbd></summary>
796
+
797
+ </details>
798
+
799
+ <div align="right">
800
+
801
+ [![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)
802
+
803
+ </div>
804
+
805
+ ## [Version 2.0.0-next.79](https://github.com/lobehub/lobe-chat/compare/v2.0.0-next.78...v2.0.0-next.79)
806
+
807
+ <sup>Released on **2025-11-18**</sup>
808
+
809
+ #### 🐛 Bug Fixes
810
+
811
+ - **misc**: Fixed the discover page categray sider link error.
812
+
813
+ <br/>
814
+
815
+ <details>
816
+ <summary><kbd>Improvements and Fixes</kbd></summary>
817
+
818
+ #### What's fixed
819
+
820
+ - **misc**: Fixed the discover page categray sider link error, closes [#10282](https://github.com/lobehub/lobe-chat/issues/10282) ([39e8819](https://github.com/lobehub/lobe-chat/commit/39e8819))
821
+
822
+ </details>
823
+
824
+ <div align="right">
825
+
826
+ [![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)
827
+
828
+ </div>
829
+
830
+ ## [Version 2.0.0-next.78](https://github.com/lobehub/lobe-chat/compare/v2.0.0-next.77...v2.0.0-next.78)
831
+
832
+ <sup>Released on **2025-11-18**</sup>
833
+
834
+ <br/>
835
+
836
+ <details>
837
+ <summary><kbd>Improvements and Fixes</kbd></summary>
838
+
839
+ </details>
840
+
841
+ <div align="right">
842
+
843
+ [![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)
844
+
845
+ </div>
846
+
847
+ ## [Version 2.0.0-next.77](https://github.com/lobehub/lobe-chat/compare/v2.0.0-next.76...v2.0.0-next.77)
848
+
849
+ <sup>Released on **2025-11-18**</sup>
850
+
851
+ #### ♻ Code Refactoring
852
+
853
+ - **misc**: Delete /settings/newapi pages in nextjs build.
854
+
855
+ <br/>
856
+
857
+ <details>
858
+ <summary><kbd>Improvements and Fixes</kbd></summary>
859
+
860
+ #### Code refactoring
861
+
862
+ - **misc**: Delete /settings/newapi pages in nextjs build, closes [#10278](https://github.com/lobehub/lobe-chat/issues/10278) ([9d06753](https://github.com/lobehub/lobe-chat/commit/9d06753))
863
+
864
+ </details>
865
+
866
+ <div align="right">
867
+
868
+ [![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)
869
+
870
+ </div>
871
+
872
+ ## [Version 2.0.0-next.76](https://github.com/lobehub/lobe-chat/compare/v2.0.0-next.75...v2.0.0-next.76)
873
+
874
+ <sup>Released on **2025-11-18**</sup>
875
+
876
+ #### ✨ Features
877
+
878
+ - **misc**: Support Interleaved thinking in MiniMax.
879
+
880
+ <br/>
881
+
882
+ <details>
883
+ <summary><kbd>Improvements and Fixes</kbd></summary>
884
+
885
+ #### What's improved
886
+
887
+ - **misc**: Support Interleaved thinking in MiniMax, closes [#10255](https://github.com/lobehub/lobe-chat/issues/10255) ([13ca8e1](https://github.com/lobehub/lobe-chat/commit/13ca8e1))
888
+
889
+ </details>
890
+
891
+ <div align="right">
892
+
893
+ [![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)
894
+
895
+ </div>
896
+
897
+ ## [Version 2.0.0-next.75](https://github.com/lobehub/lobe-chat/compare/v2.0.0-next.74...v2.0.0-next.75)
898
+
899
+ <sup>Released on **2025-11-18**</sup>
900
+
901
+ #### 💄 Styles
902
+
903
+ - **misc**: Update i18n.
904
+
905
+ <br/>
906
+
907
+ <details>
908
+ <summary><kbd>Improvements and Fixes</kbd></summary>
909
+
910
+ #### Styles
911
+
912
+ - **misc**: Update i18n, closes [#10277](https://github.com/lobehub/lobe-chat/issues/10277) ([7563b62](https://github.com/lobehub/lobe-chat/commit/7563b62))
913
+
914
+ </details>
915
+
916
+ <div align="right">
917
+
918
+ [![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)
919
+
920
+ </div>
921
+
922
+ ## [Version 2.0.0-next.74](https://github.com/lobehub/lobe-chat/compare/v2.0.0-next.73...v2.0.0-next.74)
923
+
924
+ <sup>Released on **2025-11-17**</sup>
925
+
926
+ #### ✨ Features
927
+
928
+ - **misc**: Edit local file render & intervention.
929
+
930
+ <br/>
931
+
932
+ <details>
933
+ <summary><kbd>Improvements and Fixes</kbd></summary>
934
+
935
+ #### What's improved
936
+
937
+ - **misc**: Edit local file render & intervention, closes [#10269](https://github.com/lobehub/lobe-chat/issues/10269) ([3785a71](https://github.com/lobehub/lobe-chat/commit/3785a71))
938
+
939
+ </details>
940
+
941
+ <div align="right">
942
+
943
+ [![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)
944
+
945
+ </div>
946
+
947
+ ## [Version 2.0.0-next.73](https://github.com/lobehub/lobe-chat/compare/v2.0.0-next.72...v2.0.0-next.73)
948
+
949
+ <sup>Released on **2025-11-17**</sup>
950
+
951
+ #### ✨ Features
952
+
953
+ - **misc**: Support parallel topic agent runtime.
954
+
955
+ <br/>
956
+
957
+ <details>
958
+ <summary><kbd>Improvements and Fixes</kbd></summary>
959
+
960
+ #### What's improved
961
+
962
+ - **misc**: Support parallel topic agent runtime, closes [#10273](https://github.com/lobehub/lobe-chat/issues/10273) ([02eba3c](https://github.com/lobehub/lobe-chat/commit/02eba3c))
963
+
964
+ </details>
965
+
966
+ <div align="right">
967
+
968
+ [![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)
969
+
970
+ </div>
971
+
972
+ ## [Version 2.0.0-next.72](https://github.com/lobehub/lobe-chat/compare/v2.0.0-next.71...v2.0.0-next.72)
973
+
974
+ <sup>Released on **2025-11-17**</sup>
975
+
976
+ #### 💄 Styles
977
+
978
+ - **misc**: Add model information for the Qiniu provider.
979
+
980
+ <br/>
981
+
982
+ <details>
983
+ <summary><kbd>Improvements and Fixes</kbd></summary>
984
+
985
+ #### Styles
986
+
987
+ - **misc**: Add model information for the Qiniu provider, closes [#10270](https://github.com/lobehub/lobe-chat/issues/10270) ([06af793](https://github.com/lobehub/lobe-chat/commit/06af793))
988
+
989
+ </details>
990
+
991
+ <div align="right">
992
+
993
+ [![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)
994
+
995
+ </div>
996
+
997
+ ## [Version 2.0.0-next.71](https://github.com/lobehub/lobe-chat/compare/v2.0.0-next.70...v2.0.0-next.71)
998
+
999
+ <sup>Released on **2025-11-17**</sup>
1000
+
1001
+ #### 🐛 Bug Fixes
1002
+
1003
+ - **misc**: Fix desktop user panel.
1004
+
1005
+ <br/>
1006
+
1007
+ <details>
1008
+ <summary><kbd>Improvements and Fixes</kbd></summary>
1009
+
1010
+ #### What's fixed
1011
+
1012
+ - **misc**: Fix desktop user panel, closes [#10272](https://github.com/lobehub/lobe-chat/issues/10272) ([6a374d2](https://github.com/lobehub/lobe-chat/commit/6a374d2))
1013
+
1014
+ </details>
1015
+
1016
+ <div align="right">
1017
+
1018
+ [![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)
1019
+
1020
+ </div>
1021
+
1022
+ ## [Version 2.0.0-next.70](https://github.com/lobehub/lobe-chat/compare/v2.0.0-next.69...v2.0.0-next.70)
1023
+
1024
+ <sup>Released on **2025-11-17**</sup>
1025
+
1026
+ <br/>
1027
+
1028
+ <details>
1029
+ <summary><kbd>Improvements and Fixes</kbd></summary>
1030
+
1031
+ </details>
1032
+
1033
+ <div align="right">
1034
+
1035
+ [![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)
1036
+
1037
+ </div>
1038
+
1039
+ ## [Version 2.0.0-next.69](https://github.com/lobehub/lobe-chat/compare/v2.0.0-next.68...v2.0.0-next.69)
1040
+
1041
+ <sup>Released on **2025-11-17**</sup>
1042
+
1043
+ #### ♻ Code Refactoring
1044
+
1045
+ - **misc**: Remove `language_model_settings` and remove isDeprecatedEdition.
1046
+
1047
+ <br/>
1048
+
1049
+ <details>
1050
+ <summary><kbd>Improvements and Fixes</kbd></summary>
1051
+
1052
+ #### Code refactoring
1053
+
1054
+ - **misc**: Remove `language_model_settings` and remove isDeprecatedEdition, closes [#10264](https://github.com/lobehub/lobe-chat/issues/10264) ([ae613c7](https://github.com/lobehub/lobe-chat/commit/ae613c7))
1055
+
1056
+ </details>
1057
+
1058
+ <div align="right">
1059
+
1060
+ [![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)
1061
+
1062
+ </div>
1063
+
1064
+ ## [Version 2.0.0-next.68](https://github.com/lobehub/lobe-chat/compare/v2.0.0-next.67...v2.0.0-next.68)
1065
+
1066
+ <sup>Released on **2025-11-16**</sup>
1067
+
1068
+ #### 🐛 Bug Fixes
1069
+
1070
+ - **misc**: The tool to fail execution on ollama when a message contains b….
1071
+
1072
+ <br/>
1073
+
1074
+ <details>
1075
+ <summary><kbd>Improvements and Fixes</kbd></summary>
1076
+
1077
+ #### What's fixed
1078
+
1079
+ - **misc**: The tool to fail execution on ollama when a message contains b…, closes [#10259](https://github.com/lobehub/lobe-chat/issues/10259) ([1ad8080](https://github.com/lobehub/lobe-chat/commit/1ad8080))
1080
+
1081
+ </details>
1082
+
1083
+ <div align="right">
1084
+
1085
+ [![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)
1086
+
1087
+ </div>
1088
+
1089
+ ## [Version 2.0.0-next.67](https://github.com/lobehub/lobe-chat/compare/v2.0.0-next.66...v2.0.0-next.67)
1090
+
1091
+ <sup>Released on **2025-11-16**</sup>
1092
+
1093
+ #### ♻ Code Refactoring
1094
+
1095
+ - **misc**: Refactor to virtua.
1096
+
1097
+ <br/>
1098
+
1099
+ <details>
1100
+ <summary><kbd>Improvements and Fixes</kbd></summary>
1101
+
1102
+ #### Code refactoring
1103
+
1104
+ - **misc**: Refactor to virtua, closes [#10151](https://github.com/lobehub/lobe-chat/issues/10151) ([9ffb689](https://github.com/lobehub/lobe-chat/commit/9ffb689))
1105
+
1106
+ </details>
1107
+
1108
+ <div align="right">
1109
+
1110
+ [![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)
1111
+
1112
+ </div>
1113
+
1114
+ ## [Version 2.0.0-next.66](https://github.com/lobehub/lobe-chat/compare/v2.0.0-next.65...v2.0.0-next.66)
1115
+
1116
+ <sup>Released on **2025-11-16**</sup>
1117
+
1118
+ #### ✨ Features
1119
+
1120
+ - **misc**: Support to collapse message.
1121
+
1122
+ <br/>
1123
+
1124
+ <details>
1125
+ <summary><kbd>Improvements and Fixes</kbd></summary>
1126
+
1127
+ #### What's improved
1128
+
1129
+ - **misc**: Support to collapse message, closes [#10234](https://github.com/lobehub/lobe-chat/issues/10234) ([4cd6347](https://github.com/lobehub/lobe-chat/commit/4cd6347))
1130
+
1131
+ </details>
1132
+
1133
+ <div align="right">
1134
+
1135
+ [![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)
1136
+
1137
+ </div>
1138
+
1139
+ ## [Version 2.0.0-next.65](https://github.com/lobehub/lobe-chat/compare/v2.0.0-next.64...v2.0.0-next.65)
1140
+
1141
+ <sup>Released on **2025-11-16**</sup>
1142
+
1143
+ #### 💄 Styles
1144
+
1145
+ - **misc**: Update i18n.
1146
+
1147
+ <br/>
1148
+
1149
+ <details>
1150
+ <summary><kbd>Improvements and Fixes</kbd></summary>
1151
+
1152
+ #### Styles
1153
+
1154
+ - **misc**: Update i18n, closes [#10235](https://github.com/lobehub/lobe-chat/issues/10235) ([a52c9e5](https://github.com/lobehub/lobe-chat/commit/a52c9e5))
1155
+
1156
+ </details>
1157
+
1158
+ <div align="right">
1159
+
1160
+ [![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)
1161
+
1162
+ </div>
1163
+
1164
+ ## [Version 2.0.0-next.64](https://github.com/lobehub/lobe-chat/compare/v2.0.0-next.63...v2.0.0-next.64)
1165
+
1166
+ <sup>Released on **2025-11-15**</sup>
1167
+
1168
+ #### ♻ Code Refactoring
1169
+
1170
+ - **misc**: Refactor package types.
1171
+
1172
+ <br/>
1173
+
1174
+ <details>
1175
+ <summary><kbd>Improvements and Fixes</kbd></summary>
1176
+
1177
+ #### Code refactoring
1178
+
1179
+ - **misc**: Refactor package types, closes [#10233](https://github.com/lobehub/lobe-chat/issues/10233) ([9872409](https://github.com/lobehub/lobe-chat/commit/9872409))
1180
+
1181
+ </details>
1182
+
1183
+ <div align="right">
1184
+
1185
+ [![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)
1186
+
1187
+ </div>
1188
+
1189
+ ## [Version 2.0.0-next.63](https://github.com/lobehub/lobe-chat/compare/v2.0.0-next.62...v2.0.0-next.63)
1190
+
1191
+ <sup>Released on **2025-11-15**</sup>
1192
+
1193
+ #### ✨ Features
1194
+
1195
+ - **misc**: Show orphaned tool message and support delete tool message.
1196
+
1197
+ <br/>
1198
+
1199
+ <details>
1200
+ <summary><kbd>Improvements and Fixes</kbd></summary>
1201
+
1202
+ #### What's improved
1203
+
1204
+ - **misc**: Show orphaned tool message and support delete tool message, closes [#10232](https://github.com/lobehub/lobe-chat/issues/10232) ([38cfd26](https://github.com/lobehub/lobe-chat/commit/38cfd26))
1205
+
1206
+ </details>
1207
+
1208
+ <div align="right">
1209
+
1210
+ [![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)
1211
+
1212
+ </div>
1213
+
1214
+ ## [Version 2.0.0-next.62](https://github.com/lobehub/lobe-chat/compare/v2.0.0-next.61...v2.0.0-next.62)
1215
+
1216
+ <sup>Released on **2025-11-15**</sup>
1217
+
1218
+ #### 🐛 Bug Fixes
1219
+
1220
+ - **next16**: Resolve 'Response body object should not be disturbed or locked' error.
1221
+
1222
+ <br/>
1223
+
1224
+ <details>
1225
+ <summary><kbd>Improvements and Fixes</kbd></summary>
1226
+
1227
+ #### What's fixed
1228
+
1229
+ - **next16**: Resolve 'Response body object should not be disturbed or locked' error, closes [#10226](https://github.com/lobehub/lobe-chat/issues/10226) ([caa9c78](https://github.com/lobehub/lobe-chat/commit/caa9c78))
1230
+
1231
+ </details>
1232
+
1233
+ <div align="right">
1234
+
1235
+ [![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)
1236
+
1237
+ </div>
1238
+
1239
+ ## [Version 2.0.0-next.61](https://github.com/lobehub/lobe-chat/compare/v2.0.0-next.60...v2.0.0-next.61)
1240
+
1241
+ <sup>Released on **2025-11-15**</sup>
1242
+
1243
+ #### 💄 Styles
1244
+
1245
+ - **misc**: Update i18n.
1246
+
1247
+ <br/>
1248
+
1249
+ <details>
1250
+ <summary><kbd>Improvements and Fixes</kbd></summary>
1251
+
1252
+ #### Styles
1253
+
1254
+ - **misc**: Update i18n, closes [#10224](https://github.com/lobehub/lobe-chat/issues/10224) ([ca7551f](https://github.com/lobehub/lobe-chat/commit/ca7551f))
1255
+
1256
+ </details>
1257
+
1258
+ <div align="right">
1259
+
1260
+ [![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)
1261
+
1262
+ </div>
1263
+
1264
+ ## [Version 2.0.0-next.60](https://github.com/lobehub/lobe-chat/compare/v2.0.0-next.59...v2.0.0-next.60)
1265
+
1266
+ <sup>Released on **2025-11-14**</sup>
1267
+
1268
+ #### 🐛 Bug Fixes
1269
+
1270
+ - **misc**: Reduce threshold.
1271
+
1272
+ <br/>
1273
+
1274
+ <details>
1275
+ <summary><kbd>Improvements and Fixes</kbd></summary>
1276
+
1277
+ #### What's fixed
1278
+
1279
+ - **misc**: Reduce threshold, closes [#10222](https://github.com/lobehub/lobe-chat/issues/10222) ([abdfd06](https://github.com/lobehub/lobe-chat/commit/abdfd06))
1280
+
1281
+ </details>
1282
+
1283
+ <div align="right">
1284
+
1285
+ [![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)
1286
+
1287
+ </div>
1288
+
1289
+ ## [Version 2.0.0-next.59](https://github.com/lobehub/lobe-chat/compare/v2.0.0-next.58...v2.0.0-next.59)
1290
+
1291
+ <sup>Released on **2025-11-14**</sup>
1292
+
1293
+ #### 💄 Styles
1294
+
1295
+ - **misc**: Update i18n.
1296
+
1297
+ <br/>
1298
+
1299
+ <details>
1300
+ <summary><kbd>Improvements and Fixes</kbd></summary>
1301
+
1302
+ #### Styles
1303
+
1304
+ - **misc**: Update i18n, closes [#10205](https://github.com/lobehub/lobe-chat/issues/10205) ([fc57d2a](https://github.com/lobehub/lobe-chat/commit/fc57d2a))
1305
+
1306
+ </details>
1307
+
1308
+ <div align="right">
1309
+
1310
+ [![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)
1311
+
1312
+ </div>
1313
+
1314
+ ## [Version 2.0.0-next.58](https://github.com/lobehub/lobe-chat/compare/v2.0.0-next.57...v2.0.0-next.58)
1315
+
1316
+ <sup>Released on **2025-11-14**</sup>
1317
+
1318
+ #### ✨ Features
1319
+
1320
+ - **misc**: Support DeepSeek Interleaved thinking.
1321
+
1322
+ <br/>
1323
+
1324
+ <details>
1325
+ <summary><kbd>Improvements and Fixes</kbd></summary>
1326
+
1327
+ #### What's improved
1328
+
1329
+ - **misc**: Support DeepSeek Interleaved thinking, closes [#10219](https://github.com/lobehub/lobe-chat/issues/10219) ([3736a85](https://github.com/lobehub/lobe-chat/commit/3736a85))
1330
+
1331
+ </details>
1332
+
1333
+ <div align="right">
1334
+
1335
+ [![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)
1336
+
1337
+ </div>
1338
+
1339
+ ## [Version 2.0.0-next.57](https://github.com/lobehub/lobe-chat/compare/v2.0.0-next.56...v2.0.0-next.57)
1340
+
1341
+ <sup>Released on **2025-11-14**</sup>
1342
+
1343
+ #### 💄 Styles
1344
+
1345
+ - **misc**: Revert background style.
1346
+
1347
+ <br/>
1348
+
1349
+ <details>
1350
+ <summary><kbd>Improvements and Fixes</kbd></summary>
1351
+
1352
+ #### Styles
1353
+
1354
+ - **misc**: Revert background style, closes [#10218](https://github.com/lobehub/lobe-chat/issues/10218) ([97b0413](https://github.com/lobehub/lobe-chat/commit/97b0413))
1355
+
1356
+ </details>
1357
+
1358
+ <div align="right">
1359
+
1360
+ [![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)
1361
+
1362
+ </div>
1363
+
1364
+ ## [Version 2.0.0-next.56](https://github.com/lobehub/lobe-chat/compare/v2.0.0-next.55...v2.0.0-next.56)
1365
+
1366
+ <sup>Released on **2025-11-14**</sup>
1367
+
1368
+ #### ✨ Features
1369
+
1370
+ - **misc**: Add folder creation UI and clean up debug code.
1371
+
1372
+ <br/>
1373
+
1374
+ <details>
1375
+ <summary><kbd>Improvements and Fixes</kbd></summary>
1376
+
1377
+ #### What's improved
1378
+
1379
+ - **misc**: Add folder creation UI and clean up debug code ([d5ecd0a](https://github.com/lobehub/lobe-chat/commit/d5ecd0a))
1380
+
1381
+ </details>
1382
+
1383
+ <div align="right">
1384
+
1385
+ [![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)
1386
+
1387
+ </div>
1388
+
1389
+ ## [Version 2.0.0-next.55](https://github.com/lobehub/lobe-chat/compare/v2.0.0-next.54...v2.0.0-next.55)
1390
+
1391
+ <sup>Released on **2025-11-14**</sup>
1392
+
1393
+ #### ✨ Features
1394
+
1395
+ - **image**: Image model show price.
1396
+ - **misc**: Create Pages in Knowledge Base.
1397
+
1398
+ <br/>
1399
+
1400
+ <details>
1401
+ <summary><kbd>Improvements and Fixes</kbd></summary>
1402
+
1403
+ #### What's improved
1404
+
1405
+ - **image**: Image model show price, closes [#10198](https://github.com/lobehub/lobe-chat/issues/10198) ([b87e0e4](https://github.com/lobehub/lobe-chat/commit/b87e0e4))
1406
+ - **misc**: Create Pages in Knowledge Base, closes [#9895](https://github.com/lobehub/lobe-chat/issues/9895) ([f46edeb](https://github.com/lobehub/lobe-chat/commit/f46edeb))
1407
+
1408
+ </details>
1409
+
1410
+ <div align="right">
1411
+
1412
+ [![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)
1413
+
1414
+ </div>
1415
+
1416
+ ## [Version 2.0.0-next.54](https://github.com/lobehub/lobe-chat/compare/v2.0.0-next.53...v2.0.0-next.54)
1417
+
1418
+ <sup>Released on **2025-11-14**</sup>
1419
+
1420
+ #### 💄 Styles
1421
+
1422
+ - **misc**: Refactor and support move locale file intervention.
1423
+
1424
+ <br/>
1425
+
1426
+ <details>
1427
+ <summary><kbd>Improvements and Fixes</kbd></summary>
1428
+
1429
+ #### Styles
1430
+
1431
+ - **misc**: Refactor and support move locale file intervention, closes [#10213](https://github.com/lobehub/lobe-chat/issues/10213) ([63cac81](https://github.com/lobehub/lobe-chat/commit/63cac81))
1432
+
1433
+ </details>
1434
+
1435
+ <div align="right">
1436
+
1437
+ [![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)
1438
+
1439
+ </div>
1440
+
1441
+ ## [Version 2.0.0-next.53](https://github.com/lobehub/lobe-chat/compare/v2.0.0-next.52...v2.0.0-next.53)
1442
+
1443
+ <sup>Released on **2025-11-14**</sup>
1444
+
1445
+ #### ✨ Features
1446
+
1447
+ - **misc**: Add GPT-5.1 models.
1448
+
1449
+ #### 💄 Styles
1450
+
1451
+ - **misc**: Fix approving render and improve Conversation style.
1452
+
1453
+ <br/>
1454
+
1455
+ <details>
1456
+ <summary><kbd>Improvements and Fixes</kbd></summary>
1457
+
1458
+ #### What's improved
1459
+
1460
+ - **misc**: Add GPT-5.1 models, closes [#10206](https://github.com/lobehub/lobe-chat/issues/10206) ([afd3a47](https://github.com/lobehub/lobe-chat/commit/afd3a47))
1461
+
1462
+ #### Styles
1463
+
1464
+ - **misc**: Fix approving render and improve Conversation style, closes [#10210](https://github.com/lobehub/lobe-chat/issues/10210) ([841b7f1](https://github.com/lobehub/lobe-chat/commit/841b7f1))
1465
+
1466
+ </details>
1467
+
1468
+ <div align="right">
1469
+
1470
+ [![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)
1471
+
1472
+ </div>
1473
+
1474
+ ## [Version 2.0.0-next.52](https://github.com/lobehub/lobe-chat/compare/v2.0.0-next.51...v2.0.0-next.52)
1475
+
1476
+ <sup>Released on **2025-11-13**</sup>
1477
+
1478
+ #### 🐛 Bug Fixes
1479
+
1480
+ - **misc**: Filter out reasoning fields from messages in ChatCompletion API.
1481
+
1482
+ <br/>
1483
+
1484
+ <details>
1485
+ <summary><kbd>Improvements and Fixes</kbd></summary>
1486
+
1487
+ #### What's fixed
1488
+
1489
+ - **misc**: Filter out reasoning fields from messages in ChatCompletion API, closes [#10203](https://github.com/lobehub/lobe-chat/issues/10203) [#10193](https://github.com/lobehub/lobe-chat/issues/10193) ([5f28b2c](https://github.com/lobehub/lobe-chat/commit/5f28b2c))
1490
+
1491
+ </details>
1492
+
1493
+ <div align="right">
1494
+
1495
+ [![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)
1496
+
1497
+ </div>
1498
+
1499
+ ## [Version 2.0.0-next.51](https://github.com/lobehub/lobe-chat/compare/v2.0.0-next.50...v2.0.0-next.51)
1500
+
1501
+ <sup>Released on **2025-11-13**</sup>
1502
+
1503
+ #### 💄 Styles
1504
+
1505
+ - **misc**: Update ERNIE-5.0-Thinking-Preview model.
1506
+
1507
+ <br/>
1508
+
1509
+ <details>
1510
+ <summary><kbd>Improvements and Fixes</kbd></summary>
1511
+
1512
+ #### Styles
1513
+
1514
+ - **misc**: Update ERNIE-5.0-Thinking-Preview model, closes [#10196](https://github.com/lobehub/lobe-chat/issues/10196) ([89f3eed](https://github.com/lobehub/lobe-chat/commit/89f3eed))
1515
+
1516
+ </details>
1517
+
1518
+ <div align="right">
1519
+
1520
+ [![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)
1521
+
1522
+ </div>
1523
+
1524
+ ## [Version 2.0.0-next.50](https://github.com/lobehub/lobe-chat/compare/v2.0.0-next.49...v2.0.0-next.50)
1525
+
1526
+ <sup>Released on **2025-11-13**</sup>
1527
+
1528
+ #### 🐛 Bug Fixes
1529
+
1530
+ - **misc**: Fix oidc accountId mismatch.
1531
+
1532
+ <br/>
1533
+
1534
+ <details>
1535
+ <summary><kbd>Improvements and Fixes</kbd></summary>
1536
+
1537
+ #### What's fixed
1538
+
1539
+ - **misc**: Fix oidc accountId mismatch, closes [#10058](https://github.com/lobehub/lobe-chat/issues/10058) ([0692ba7](https://github.com/lobehub/lobe-chat/commit/0692ba7))
1540
+
1541
+ </details>
1542
+
1543
+ <div align="right">
1544
+
1545
+ [![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)
1546
+
1547
+ </div>
1548
+
1549
+ ## [Version 2.0.0-next.49](https://github.com/lobehub/lobe-chat/compare/v2.0.0-next.48...v2.0.0-next.49)
1550
+
1551
+ <sup>Released on **2025-11-13**</sup>
1552
+
1553
+ #### ✨ Features
1554
+
1555
+ - **misc**: Support tool invention.
1556
+
1557
+ #### 🐛 Bug Fixes
1558
+
1559
+ - **misc**: Update lost i18n files.
1560
+
1561
+ <br/>
1562
+
1563
+ <details>
1564
+ <summary><kbd>Improvements and Fixes</kbd></summary>
1565
+
1566
+ #### What's improved
1567
+
1568
+ - **misc**: Support tool invention, closes [#10182](https://github.com/lobehub/lobe-chat/issues/10182) ([4dca708](https://github.com/lobehub/lobe-chat/commit/4dca708))
1569
+
1570
+ #### What's fixed
1571
+
1572
+ - **misc**: Update lost i18n files, closes [#10179](https://github.com/lobehub/lobe-chat/issues/10179) ([b69c7ff](https://github.com/lobehub/lobe-chat/commit/b69c7ff))
1573
+
1574
+ </details>
1575
+
1576
+ <div align="right">
1577
+
1578
+ [![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)
1579
+
1580
+ </div>
1581
+
1582
+ ## [Version 2.0.0-next.48](https://github.com/lobehub/lobe-chat/compare/v2.0.0-next.47...v2.0.0-next.48)
1583
+
1584
+ <sup>Released on **2025-11-12**</sup>
1585
+
1586
+ <br/>
1587
+
1588
+ <details>
1589
+ <summary><kbd>Improvements and Fixes</kbd></summary>
1590
+
1591
+ </details>
1592
+
1593
+ <div align="right">
1594
+
1595
+ [![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)
1596
+
1597
+ </div>
1598
+
1599
+ ## [Version 2.0.0-next.47](https://github.com/lobehub/lobe-chat/compare/v2.0.0-next.46...v2.0.0-next.47)
1600
+
1601
+ <sup>Released on **2025-11-11**</sup>
1602
+
1603
+ #### 🐛 Bug Fixes
1604
+
1605
+ - **misc**: Fix mcp server return image error.
1606
+
1607
+ <br/>
1608
+
1609
+ <details>
1610
+ <summary><kbd>Improvements and Fixes</kbd></summary>
1611
+
1612
+ #### What's fixed
1613
+
1614
+ - **misc**: Fix mcp server return image error, closes [#10113](https://github.com/lobehub/lobe-chat/issues/10113) ([e5640d4](https://github.com/lobehub/lobe-chat/commit/e5640d4))
1615
+
1616
+ </details>
1617
+
1618
+ <div align="right">
1619
+
1620
+ [![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)
1621
+
1622
+ </div>
1623
+
1624
+ ## [Version 2.0.0-next.46](https://github.com/lobehub/lobe-chat/compare/v2.0.0-next.45...v2.0.0-next.46)
1625
+
1626
+ <sup>Released on **2025-11-11**</sup>
1627
+
1628
+ #### ♻ Code Refactoring
1629
+
1630
+ - **misc**: Fix thread display.
1631
+
1632
+ <br/>
1633
+
1634
+ <details>
1635
+ <summary><kbd>Improvements and Fixes</kbd></summary>
1636
+
1637
+ #### Code refactoring
1638
+
1639
+ - **misc**: Fix thread display, closes [#10153](https://github.com/lobehub/lobe-chat/issues/10153) ([8fda83e](https://github.com/lobehub/lobe-chat/commit/8fda83e))
1640
+
1641
+ </details>
1642
+
1643
+ <div align="right">
1644
+
1645
+ [![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)
1646
+
1647
+ </div>
1648
+
1649
+ ## [Version 2.0.0-next.45](https://github.com/lobehub/lobe-chat/compare/v2.0.0-next.44...v2.0.0-next.45)
1650
+
1651
+ <sup>Released on **2025-11-10**</sup>
1652
+
1653
+ #### ♻ Code Refactoring
1654
+
1655
+ - **misc**: Edge to node runtime.
1656
+
1657
+ <br/>
1658
+
1659
+ <details>
1660
+ <summary><kbd>Improvements and Fixes</kbd></summary>
1661
+
1662
+ #### Code refactoring
1663
+
1664
+ - **misc**: Edge to node runtime, closes [#10149](https://github.com/lobehub/lobe-chat/issues/10149) ([2f4c25d](https://github.com/lobehub/lobe-chat/commit/2f4c25d))
1665
+
1666
+ </details>
1667
+
1668
+ <div align="right">
1669
+
1670
+ [![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)
1671
+
1672
+ </div>
1673
+
1674
+ ## [Version 2.0.0-next.44](https://github.com/lobehub/lobe-chat/compare/v2.0.0-next.43...v2.0.0-next.44)
1675
+
1676
+ <sup>Released on **2025-11-10**</sup>
1677
+
1678
+ #### 🐛 Bug Fixes
1679
+
1680
+ - **misc**: Fix reasoning issue with claude and Response API thinking.
1681
+
1682
+ <br/>
1683
+
1684
+ <details>
1685
+ <summary><kbd>Improvements and Fixes</kbd></summary>
1686
+
1687
+ #### What's fixed
1688
+
1689
+ - **misc**: Fix reasoning issue with claude and Response API thinking, closes [#10147](https://github.com/lobehub/lobe-chat/issues/10147) ([cf6bd53](https://github.com/lobehub/lobe-chat/commit/cf6bd53))
1690
+
1691
+ </details>
1692
+
1693
+ <div align="right">
1694
+
1695
+ [![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)
1696
+
1697
+ </div>
1698
+
1699
+ ## [Version 2.0.0-next.43](https://github.com/lobehub/lobe-chat/compare/v2.0.0-next.42...v2.0.0-next.43)
1700
+
1701
+ <sup>Released on **2025-11-09**</sup>
1702
+
1703
+ #### 🐛 Bug Fixes
1704
+
1705
+ - **misc**: Abnormal animation of tokens.
1706
+
1707
+ <br/>
1708
+
1709
+ <details>
1710
+ <summary><kbd>Improvements and Fixes</kbd></summary>
1711
+
1712
+ #### What's fixed
1713
+
1714
+ - **misc**: Abnormal animation of tokens, closes [#10106](https://github.com/lobehub/lobe-chat/issues/10106) ([129df7b](https://github.com/lobehub/lobe-chat/commit/129df7b))
1715
+
1716
+ </details>
1717
+
1718
+ <div align="right">
1719
+
1720
+ [![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)
1721
+
1722
+ </div>
1723
+
1724
+ ## [Version 2.0.0-next.42](https://github.com/lobehub/lobe-chat/compare/v2.0.0-next.41...v2.0.0-next.42)
1725
+
1726
+ <sup>Released on **2025-11-09**</sup>
1727
+
1728
+ #### 🐛 Bug Fixes
1729
+
1730
+ - **misc**: Fix missing messages when finish runtime.
1731
+
1732
+ <br/>
1733
+
1734
+ <details>
1735
+ <summary><kbd>Improvements and Fixes</kbd></summary>
1736
+
1737
+ #### What's fixed
1738
+
1739
+ - **misc**: Fix missing messages when finish runtime, closes [#10138](https://github.com/lobehub/lobe-chat/issues/10138) ([b94d477](https://github.com/lobehub/lobe-chat/commit/b94d477))
1740
+
1741
+ </details>
1742
+
1743
+ <div align="right">
1744
+
1745
+ [![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)
1746
+
1747
+ </div>
1748
+
1749
+ ## [Version 2.0.0-next.41](https://github.com/lobehub/lobe-chat/compare/v2.0.0-next.40...v2.0.0-next.41)
1750
+
1751
+ <sup>Released on **2025-11-09**</sup>
1752
+
1753
+ #### 💄 Styles
1754
+
1755
+ - **misc**: Update i18n.
1756
+
1757
+ <br/>
1758
+
1759
+ <details>
1760
+ <summary><kbd>Improvements and Fixes</kbd></summary>
1761
+
1762
+ #### Styles
1763
+
1764
+ - **misc**: Update i18n, closes [#10116](https://github.com/lobehub/lobe-chat/issues/10116) ([766772e](https://github.com/lobehub/lobe-chat/commit/766772e))
1765
+
1766
+ </details>
1767
+
1768
+ <div align="right">
1769
+
1770
+ [![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)
1771
+
1772
+ </div>
1773
+
1774
+ ## [Version 2.0.0-next.40](https://github.com/lobehub/lobe-chat/compare/v2.0.0-next.39...v2.0.0-next.40)
1775
+
1776
+ <sup>Released on **2025-11-08**</sup>
1777
+
1778
+ #### 🐛 Bug Fixes
1779
+
1780
+ - **database**: Fix deleteMessagesBySession incorrectly deleting all messages.
1781
+
1782
+ <br/>
1783
+
1784
+ <details>
1785
+ <summary><kbd>Improvements and Fixes</kbd></summary>
1786
+
1787
+ #### What's fixed
1788
+
1789
+ - **database**: Fix deleteMessagesBySession incorrectly deleting all messages, closes [#10110](https://github.com/lobehub/lobe-chat/issues/10110) ([1d7f67d](https://github.com/lobehub/lobe-chat/commit/1d7f67d))
1790
+
1791
+ </details>
1792
+
1793
+ <div align="right">
1794
+
1795
+ [![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)
1796
+
1797
+ </div>
1798
+
1799
+ ## [Version 2.0.0-next.39](https://github.com/lobehub/lobe-chat/compare/v2.0.0-next.38...v2.0.0-next.39)
1800
+
1801
+ <sup>Released on **2025-11-08**</sup>
1802
+
1803
+ <br/>
1804
+
1805
+ <details>
1806
+ <summary><kbd>Improvements and Fixes</kbd></summary>
1807
+
1808
+ </details>
1809
+
1810
+ <div align="right">
1811
+
1812
+ [![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)
1813
+
1814
+ </div>
1815
+
1816
+ ## [Version 2.0.0-next.38](https://github.com/lobehub/lobe-chat/compare/v2.0.0-next.37...v2.0.0-next.38)
1817
+
1818
+ <sup>Released on **2025-11-08**</sup>
1819
+
1820
+ #### 🐛 Bug Fixes
1821
+
1822
+ - **TokenUsage**: Prevent animation when toggling between token and credit display.
1823
+
1824
+ #### 💄 Styles
1825
+
1826
+ - **misc**: Update i18n.
1827
+
1828
+ <br/>
1829
+
1830
+ <details>
1831
+ <summary><kbd>Improvements and Fixes</kbd></summary>
1832
+
1833
+ #### What's fixed
1834
+
1835
+ - **TokenUsage**: Prevent animation when toggling between token and credit display, closes [#10098](https://github.com/lobehub/lobe-chat/issues/10098) ([f20a910](https://github.com/lobehub/lobe-chat/commit/f20a910))
1836
+
1837
+ #### Styles
1838
+
1839
+ - **misc**: Update i18n, closes [#10100](https://github.com/lobehub/lobe-chat/issues/10100) ([deb6b5e](https://github.com/lobehub/lobe-chat/commit/deb6b5e))
1840
+
1841
+ </details>
1842
+
1843
+ <div align="right">
1844
+
1845
+ [![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)
1846
+
1847
+ </div>
1848
+
1849
+ ## [Version 2.0.0-next.37](https://github.com/lobehub/lobe-chat/compare/v2.0.0-next.36...v2.0.0-next.37)
1850
+
1851
+ <sup>Released on **2025-11-07**</sup>
1852
+
1853
+ #### 🐛 Bug Fixes
1854
+
1855
+ - **misc**: Don't include runtimeProvider in JWT for non-image operations.
1856
+
1857
+ <br/>
1858
+
1859
+ <details>
1860
+ <summary><kbd>Improvements and Fixes</kbd></summary>
1861
+
1862
+ #### What's fixed
1863
+
1864
+ - **misc**: Don't include runtimeProvider in JWT for non-image operations, closes [#9959](https://github.com/lobehub/lobe-chat/issues/9959) [#9569](https://github.com/lobehub/lobe-chat/issues/9569) ([b8f25de](https://github.com/lobehub/lobe-chat/commit/b8f25de))
1865
+
1866
+ </details>
1867
+
1868
+ <div align="right">
1869
+
1870
+ [![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)
1871
+
1872
+ </div>
1873
+
1874
+ ## [Version 2.0.0-next.36](https://github.com/lobehub/lobe-chat/compare/v2.0.0-next.35...v2.0.0-next.36)
1875
+
1876
+ <sup>Released on **2025-11-07**</sup>
1877
+
1878
+ #### ✨ Features
1879
+
1880
+ - **misc**: Refactor to use agent runtime as the generation core and support branch mode.
1881
+
1882
+ <br/>
1883
+
1884
+ <details>
1885
+ <summary><kbd>Improvements and Fixes</kbd></summary>
1886
+
1887
+ #### What's improved
1888
+
1889
+ - **misc**: Refactor to use agent runtime as the generation core and support branch mode, closes [#10080](https://github.com/lobehub/lobe-chat/issues/10080) ([b95e741](https://github.com/lobehub/lobe-chat/commit/b95e741))
1890
+
1891
+ </details>
1892
+
1893
+ <div align="right">
1894
+
1895
+ [![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)
1896
+
1897
+ </div>
1898
+
1899
+ ## [Version 2.0.0-next.35](https://github.com/lobehub/lobe-chat/compare/v2.0.0-next.34...v2.0.0-next.35)
1900
+
1901
+ <sup>Released on **2025-11-07**</sup>
1902
+
1903
+ #### ♻ Code Refactoring
1904
+
1905
+ - **misc**: Use react-router-dom change /chat page to spa mode.
1906
+
1907
+ <br/>
1908
+
1909
+ <details>
1910
+ <summary><kbd>Improvements and Fixes</kbd></summary>
1911
+
1912
+ #### Code refactoring
1913
+
1914
+ - **misc**: Use react-router-dom change /chat page to spa mode, closes [#10077](https://github.com/lobehub/lobe-chat/issues/10077) ([9154606](https://github.com/lobehub/lobe-chat/commit/9154606))
1915
+
1916
+ </details>
1917
+
1918
+ <div align="right">
1919
+
1920
+ [![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)
1921
+
1922
+ </div>
1923
+
1924
+ ## [Version 2.0.0-next.34](https://github.com/lobehub/lobe-chat/compare/v2.0.0-next.33...v2.0.0-next.34)
1925
+
1926
+ <sup>Released on **2025-11-07**</sup>
1927
+
1928
+ #### 💄 Styles
1929
+
1930
+ - **misc**: Add sorting functionality for disabled models and model providers with tooltip support.
1931
+
1932
+ <br/>
1933
+
1934
+ <details>
1935
+ <summary><kbd>Improvements and Fixes</kbd></summary>
1936
+
1937
+ #### Styles
1938
+
1939
+ - **misc**: Add sorting functionality for disabled models and model providers with tooltip support, closes [#10000](https://github.com/lobehub/lobe-chat/issues/10000) ([68e98b1](https://github.com/lobehub/lobe-chat/commit/68e98b1))
1940
+
1941
+ </details>
1942
+
1943
+ <div align="right">
1944
+
1945
+ [![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)
1946
+
1947
+ </div>
1948
+
1949
+ ## [Version 2.0.0-next.33](https://github.com/lobehub/lobe-chat/compare/v2.0.0-next.32...v2.0.0-next.33)
1950
+
1951
+ <sup>Released on **2025-11-06**</sup>
1952
+
1953
+ #### ♻ Code Refactoring
1954
+
1955
+ - **misc**: Refactor message create name.
1956
+
1957
+ #### 🐛 Bug Fixes
1958
+
1959
+ - **misc**: Model name display in the assistant panel disappears.
1960
+
1961
+ <br/>
1962
+
1963
+ <details>
1964
+ <summary><kbd>Improvements and Fixes</kbd></summary>
1965
+
1966
+ #### Code refactoring
1967
+
1968
+ - **misc**: Refactor message create name, closes [#10074](https://github.com/lobehub/lobe-chat/issues/10074) ([08ec29f](https://github.com/lobehub/lobe-chat/commit/08ec29f))
1969
+
1970
+ #### What's fixed
1971
+
1972
+ - **misc**: Model name display in the assistant panel disappears, closes [#9830](https://github.com/lobehub/lobe-chat/issues/9830) ([54f4e18](https://github.com/lobehub/lobe-chat/commit/54f4e18))
1973
+
1974
+ </details>
1975
+
1976
+ <div align="right">
1977
+
1978
+ [![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)
1979
+
1980
+ </div>
1981
+
1982
+ ## [Version 2.0.0-next.32](https://github.com/lobehub/lobe-chat/compare/v2.0.0-next.31...v2.0.0-next.32)
1983
+
1984
+ <sup>Released on **2025-11-05**</sup>
1985
+
1986
+ #### 🐛 Bug Fixes
1987
+
1988
+ - **misc**: Should install new version after quit this instance.
1989
+
1990
+ <br/>
1991
+
1992
+ <details>
1993
+ <summary><kbd>Improvements and Fixes</kbd></summary>
1994
+
1995
+ #### What's fixed
1996
+
1997
+ - **misc**: Should install new version after quit this instance, closes [#10064](https://github.com/lobehub/lobe-chat/issues/10064) ([9ab77b2](https://github.com/lobehub/lobe-chat/commit/9ab77b2))
1998
+
1999
+ </details>
2000
+
2001
+ <div align="right">
2002
+
2003
+ [![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)
2004
+
2005
+ </div>
2006
+
2007
+ ## [Version 2.0.0-next.31](https://github.com/lobehub/lobe-chat/compare/v2.0.0-next.30...v2.0.0-next.31)
2008
+
2009
+ <sup>Released on **2025-11-05**</sup>
2010
+
2011
+ <br/>
2012
+
2013
+ <details>
2014
+ <summary><kbd>Improvements and Fixes</kbd></summary>
2015
+
2016
+ </details>
2017
+
2018
+ <div align="right">
2019
+
2020
+ [![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)
2021
+
2022
+ </div>
2023
+
2024
+ ## [Version 2.0.0-next.30](https://github.com/lobehub/lobe-chat/compare/v2.0.0-next.29...v2.0.0-next.30)
2025
+
2026
+ <sup>Released on **2025-11-05**</sup>
2027
+
2028
+ #### ♻ Code Refactoring
2029
+
2030
+ - **misc**: Enhance message router with service layer and comprehensive tests.
2031
+
2032
+ <br/>
2033
+
2034
+ <details>
2035
+ <summary><kbd>Improvements and Fixes</kbd></summary>
2036
+
2037
+ #### Code refactoring
2038
+
2039
+ - **misc**: Enhance message router with service layer and comprehensive tests, closes [#10056](https://github.com/lobehub/lobe-chat/issues/10056) ([62110e0](https://github.com/lobehub/lobe-chat/commit/62110e0))
2040
+
2041
+ </details>
2042
+
2043
+ <div align="right">
2044
+
2045
+ [![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)
2046
+
2047
+ </div>
2048
+
2049
+ ## [Version 2.0.0-next.29](https://github.com/lobehub/lobe-chat/compare/v2.0.0-next.28...v2.0.0-next.29)
2050
+
2051
+ <sup>Released on **2025-11-04**</sup>
2052
+
2053
+ #### ♻ Code Refactoring
2054
+
2055
+ - **misc**: Refactor chat message model to speed up.
2056
+
2057
+ <br/>
2058
+
2059
+ <details>
2060
+ <summary><kbd>Improvements and Fixes</kbd></summary>
2061
+
2062
+ #### Code refactoring
2063
+
2064
+ - **misc**: Refactor chat message model to speed up, closes [#10053](https://github.com/lobehub/lobe-chat/issues/10053) ([035994f](https://github.com/lobehub/lobe-chat/commit/035994f))
2065
+
2066
+ </details>
2067
+
2068
+ <div align="right">
2069
+
2070
+ [![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)
2071
+
2072
+ </div>
2073
+
2074
+ ## [Version 2.0.0-next.28](https://github.com/lobehub/lobe-chat/compare/v2.0.0-next.27...v2.0.0-next.28)
2075
+
2076
+ <sup>Released on **2025-11-04**</sup>
2077
+
2078
+ #### ✨ Features
2079
+
2080
+ - **misc**: Support install sreamable http mcp server on web.
2081
+
2082
+ <br/>
2083
+
2084
+ <details>
2085
+ <summary><kbd>Improvements and Fixes</kbd></summary>
2086
+
2087
+ #### What's improved
2088
+
2089
+ - **misc**: Support install sreamable http mcp server on web, closes [#10044](https://github.com/lobehub/lobe-chat/issues/10044) [#9916](https://github.com/lobehub/lobe-chat/issues/9916) ([85454c5](https://github.com/lobehub/lobe-chat/commit/85454c5))
2090
+
2091
+ </details>
2092
+
2093
+ <div align="right">
2094
+
2095
+ [![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)
2096
+
2097
+ </div>
2098
+
2099
+ ## [Version 2.0.0-next.27](https://github.com/lobehub/lobe-chat/compare/v2.0.0-next.26...v2.0.0-next.27)
2100
+
2101
+ <sup>Released on **2025-11-04**</sup>
2102
+
2103
+ #### ♻ Code Refactoring
2104
+
2105
+ - **misc**: Refactor services to a more clean structure.
2106
+
2107
+ <br/>
2108
+
2109
+ <details>
2110
+ <summary><kbd>Improvements and Fixes</kbd></summary>
2111
+
2112
+ #### Code refactoring
2113
+
2114
+ - **misc**: Refactor services to a more clean structure, closes [#10050](https://github.com/lobehub/lobe-chat/issues/10050) ([de61dfa](https://github.com/lobehub/lobe-chat/commit/de61dfa))
2115
+
2116
+ </details>
2117
+
2118
+ <div align="right">
2119
+
2120
+ [![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)
2121
+
2122
+ </div>
2123
+
2124
+ ## [Version 2.0.0-next.26](https://github.com/lobehub/lobe-chat/compare/v2.0.0-next.25...v2.0.0-next.26)
2125
+
2126
+ <sup>Released on **2025-11-04**</sup>
2127
+
2128
+ #### ♻ Code Refactoring
2129
+
2130
+ - **misc**: Add settings (jsonb) column to `ai_models` table.
2131
+
2132
+ <br/>
2133
+
2134
+ <details>
2135
+ <summary><kbd>Improvements and Fixes</kbd></summary>
2136
+
2137
+ #### Code refactoring
2138
+
2139
+ - **misc**: Add settings (jsonb) column to `ai_models` table, closes [#10042](https://github.com/lobehub/lobe-chat/issues/10042) ([7e1dd02](https://github.com/lobehub/lobe-chat/commit/7e1dd02))
2140
+
2141
+ </details>
2142
+
2143
+ <div align="right">
2144
+
2145
+ [![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)
2146
+
2147
+ </div>
2148
+
2149
+ ## [Version 2.0.0-next.25](https://github.com/lobehub/lobe-chat/compare/v2.0.0-next.24...v2.0.0-next.25)
2150
+
2151
+ <sup>Released on **2025-11-04**</sup>
2152
+
2153
+ #### ✨ Features
2154
+
2155
+ - **misc**: Display assistant message in group.
2156
+
2157
+ <br/>
2158
+
2159
+ <details>
2160
+ <summary><kbd>Improvements and Fixes</kbd></summary>
2161
+
2162
+ #### What's improved
2163
+
2164
+ - **misc**: Display assistant message in group, closes [#9941](https://github.com/lobehub/lobe-chat/issues/9941) ([59b6ac3](https://github.com/lobehub/lobe-chat/commit/59b6ac3))
2165
+
2166
+ </details>
2167
+
2168
+ <div align="right">
2169
+
2170
+ [![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)
2171
+
2172
+ </div>
2173
+
2174
+ ## [Version 2.0.0-next.24](https://github.com/lobehub/lobe-chat/compare/v2.0.0-next.23...v2.0.0-next.24)
2175
+
2176
+ <sup>Released on **2025-11-04**</sup>
2177
+
2178
+ #### 💄 Styles
2179
+
2180
+ - **misc**: Improve lab style.
2181
+
2182
+ <br/>
2183
+
2184
+ <details>
2185
+ <summary><kbd>Improvements and Fixes</kbd></summary>
2186
+
2187
+ #### Styles
2188
+
2189
+ - **misc**: Improve lab style, closes [#10040](https://github.com/lobehub/lobe-chat/issues/10040) ([bbf1c0b](https://github.com/lobehub/lobe-chat/commit/bbf1c0b))
2190
+
2191
+ </details>
2192
+
2193
+ <div align="right">
2194
+
2195
+ [![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)
2196
+
2197
+ </div>
2198
+
2199
+ ## [Version 2.0.0-next.23](https://github.com/lobehub/lobe-chat/compare/v2.0.0-next.22...v2.0.0-next.23)
2200
+
2201
+ <sup>Released on **2025-11-04**</sup>
2202
+
2203
+ #### 🐛 Bug Fixes
2204
+
2205
+ - **misc**: Fix send message.
2206
+
2207
+ <br/>
2208
+
2209
+ <details>
2210
+ <summary><kbd>Improvements and Fixes</kbd></summary>
2211
+
2212
+ #### What's fixed
2213
+
2214
+ - **misc**: Fix send message, closes [#10041](https://github.com/lobehub/lobe-chat/issues/10041) [#9984](https://github.com/lobehub/lobe-chat/issues/9984) ([7cca60f](https://github.com/lobehub/lobe-chat/commit/7cca60f))
2215
+
2216
+ </details>
2217
+
2218
+ <div align="right">
2219
+
2220
+ [![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)
2221
+
2222
+ </div>
2223
+
2224
+ ## [Version 2.0.0-next.22](https://github.com/lobehub/lobe-chat/compare/v2.0.0-next.21...v2.0.0-next.22)
2225
+
2226
+ <sup>Released on **2025-11-04**</sup>
2227
+
2228
+ <br/>
2229
+
2230
+ <details>
2231
+ <summary><kbd>Improvements and Fixes</kbd></summary>
2232
+
2233
+ </details>
2234
+
2235
+ <div align="right">
2236
+
2237
+ [![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)
2238
+
2239
+ </div>
2240
+
2241
+ ## [Version 2.0.0-next.21](https://github.com/lobehub/lobe-chat/compare/v2.0.0-next.20...v2.0.0-next.21)
2242
+
2243
+ <sup>Released on **2025-11-04**</sup>
2244
+
2245
+ #### 🐛 Bug Fixes
2246
+
2247
+ - **misc**: Fix oidc auth timeout issue on the desktop.
2248
+
2249
+ <br/>
2250
+
2251
+ <details>
2252
+ <summary><kbd>Improvements and Fixes</kbd></summary>
2253
+
2254
+ #### What's fixed
2255
+
2256
+ - **misc**: Fix oidc auth timeout issue on the desktop, closes [#10025](https://github.com/lobehub/lobe-chat/issues/10025) ([20666db](https://github.com/lobehub/lobe-chat/commit/20666db))
2257
+
2258
+ </details>
2259
+
2260
+ <div align="right">
2261
+
2262
+ [![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)
2263
+
2264
+ </div>
2265
+
2266
+ ## [Version 2.0.0-next.20](https://github.com/lobehub/lobe-chat/compare/v2.0.0-next.19...v2.0.0-next.20)
2267
+
2268
+ <sup>Released on **2025-11-03**</sup>
2269
+
2270
+ #### 💄 Styles
2271
+
2272
+ - **misc**: Improve oidc layout style.
2273
+
2274
+ <br/>
2275
+
2276
+ <details>
2277
+ <summary><kbd>Improvements and Fixes</kbd></summary>
2278
+
2279
+ #### Styles
2280
+
2281
+ - **misc**: Improve oidc layout style, closes [#10023](https://github.com/lobehub/lobe-chat/issues/10023) ([5008be7](https://github.com/lobehub/lobe-chat/commit/5008be7))
2282
+
2283
+ </details>
2284
+
2285
+ <div align="right">
2286
+
2287
+ [![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)
2288
+
2289
+ </div>
2290
+
2291
+ ## [Version 2.0.0-next.19](https://github.com/lobehub/lobe-chat/compare/v2.0.0-next.18...v2.0.0-next.19)
2292
+
2293
+ <sup>Released on **2025-11-03**</sup>
2294
+
2295
+ #### ♻ Code Refactoring
2296
+
2297
+ - **misc**: Remove `NEXT_PUBLIC_SERVICE_MODE` env and use server by default.
2298
+
2299
+ <br/>
2300
+
2301
+ <details>
2302
+ <summary><kbd>Improvements and Fixes</kbd></summary>
2303
+
2304
+ #### Code refactoring
2305
+
2306
+ - **misc**: Remove `NEXT_PUBLIC_SERVICE_MODE` env and use server by default, closes [#10017](https://github.com/lobehub/lobe-chat/issues/10017) ([f2ab2fc](https://github.com/lobehub/lobe-chat/commit/f2ab2fc))
2307
+
2308
+ </details>
2309
+
2310
+ <div align="right">
2311
+
2312
+ [![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)
2313
+
2314
+ </div>
2315
+
2316
+ ## [Version 2.0.0-next.18](https://github.com/lobehub/lobe-chat/compare/v2.0.0-next.17...v2.0.0-next.18)
2317
+
2318
+ <sup>Released on **2025-11-03**</sup>
2319
+
2320
+ #### ♻ Code Refactoring
2321
+
2322
+ - **misc**: Refactor trpc request to use zod schema.
2323
+
2324
+ #### 💄 Styles
2325
+
2326
+ - **misc**: Improve built-in client OIDC user flow.
2327
+
2328
+ <br/>
2329
+
2330
+ <details>
2331
+ <summary><kbd>Improvements and Fixes</kbd></summary>
2332
+
2333
+ #### Code refactoring
2334
+
2335
+ - **misc**: Refactor trpc request to use zod schema, closes [#10016](https://github.com/lobehub/lobe-chat/issues/10016) ([1a84f2c](https://github.com/lobehub/lobe-chat/commit/1a84f2c))
2336
+
2337
+ #### Styles
2338
+
2339
+ - **misc**: Improve built-in client OIDC user flow, closes [#10020](https://github.com/lobehub/lobe-chat/issues/10020) ([80202ed](https://github.com/lobehub/lobe-chat/commit/80202ed))
2340
+
2341
+ </details>
2342
+
2343
+ <div align="right">
2344
+
2345
+ [![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)
2346
+
2347
+ </div>
2348
+
2349
+ ## [Version 2.0.0-next.17](https://github.com/lobehub/lobe-chat/compare/v2.0.0-next.16...v2.0.0-next.17)
2350
+
2351
+ <sup>Released on **2025-11-03**</sup>
2352
+
2353
+ #### 🐛 Bug Fixes
2354
+
2355
+ - **misc**: Fix regex ReDoS.
2356
+
2357
+ <br/>
2358
+
2359
+ <details>
2360
+ <summary><kbd>Improvements and Fixes</kbd></summary>
2361
+
2362
+ #### What's fixed
2363
+
2364
+ - **misc**: Fix regex ReDoS, closes [#10012](https://github.com/lobehub/lobe-chat/issues/10012) ([1d8d5cd](https://github.com/lobehub/lobe-chat/commit/1d8d5cd))
2365
+
2366
+ </details>
2367
+
2368
+ <div align="right">
2369
+
2370
+ [![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)
2371
+
2372
+ </div>
2373
+
2374
+ ## [Version 2.0.0-next.16](https://github.com/lobehub/lobe-chat/compare/v2.0.0-next.15...v2.0.0-next.16)
2375
+
2376
+ <sup>Released on **2025-11-03**</sup>
2377
+
2378
+ #### ♻ Code Refactoring
2379
+
2380
+ - **misc**: Remove deperated code.
2381
+
2382
+ <br/>
2383
+
2384
+ <details>
2385
+ <summary><kbd>Improvements and Fixes</kbd></summary>
2386
+
2387
+ #### Code refactoring
2388
+
2389
+ - **misc**: Remove deperated code, closes [#10001](https://github.com/lobehub/lobe-chat/issues/10001) ([4ee4590](https://github.com/lobehub/lobe-chat/commit/4ee4590))
2390
+
2391
+ </details>
2392
+
2393
+ <div align="right">
2394
+
2395
+ [![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)
2396
+
2397
+ </div>
2398
+
2399
+ ## [Version 2.0.0-next.15](https://github.com/lobehub/lobe-chat/compare/v2.0.0-next.14...v2.0.0-next.15)
2400
+
2401
+ <sup>Released on **2025-11-03**</sup>
2402
+
2403
+ <br/>
2404
+
2405
+ <details>
2406
+ <summary><kbd>Improvements and Fixes</kbd></summary>
2407
+
2408
+ </details>
2409
+
2410
+ <div align="right">
2411
+
2412
+ [![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)
2413
+
2414
+ </div>
2415
+
2416
+ ## [Version 2.0.0-next.14](https://github.com/lobehub/lobe-chat/compare/v2.0.0-next.13...v2.0.0-next.14)
2417
+
2418
+ <sup>Released on **2025-11-02**</sup>
2419
+
2420
+ #### ♻ Code Refactoring
2421
+
2422
+ - **misc**: Remove client service.
2423
+
2424
+ <br/>
2425
+
2426
+ <details>
2427
+ <summary><kbd>Improvements and Fixes</kbd></summary>
2428
+
2429
+ #### Code refactoring
2430
+
2431
+ - **misc**: Remove client service, closes [#9991](https://github.com/lobehub/lobe-chat/issues/9991) ([9137dba](https://github.com/lobehub/lobe-chat/commit/9137dba))
2432
+
2433
+ </details>
2434
+
2435
+ <div align="right">
2436
+
2437
+ [![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)
2438
+
2439
+ </div>
2440
+
2441
+ ## [Version 2.0.0-next.13](https://github.com/lobehub/lobe-chat/compare/v2.0.0-next.12...v2.0.0-next.13)
2442
+
2443
+ <sup>Released on **2025-11-02**</sup>
2444
+
2445
+ #### 🐛 Bug Fixes
2446
+
2447
+ - **misc**: Fix image prompt form.
2448
+
2449
+ <br/>
2450
+
2451
+ <details>
2452
+ <summary><kbd>Improvements and Fixes</kbd></summary>
2453
+
2454
+ #### What's fixed
2455
+
2456
+ - **misc**: Fix image prompt form, closes [#9995](https://github.com/lobehub/lobe-chat/issues/9995) ([799e6fd](https://github.com/lobehub/lobe-chat/commit/799e6fd))
2457
+
2458
+ </details>
2459
+
2460
+ <div align="right">
2461
+
2462
+ [![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)
2463
+
2464
+ </div>
2465
+
2466
+ ## [Version 2.0.0-next.12](https://github.com/lobehub/lobe-chat/compare/v2.0.0-next.11...v2.0.0-next.12)
2467
+
2468
+ <sup>Released on **2025-11-02**</sup>
2469
+
2470
+ #### 💄 Styles
2471
+
2472
+ - **misc**: Add padding to TopicList component.
2473
+
2474
+ <br/>
2475
+
2476
+ <details>
2477
+ <summary><kbd>Improvements and Fixes</kbd></summary>
2478
+
2479
+ #### Styles
2480
+
2481
+ - **misc**: Add padding to TopicList component, closes [#9994](https://github.com/lobehub/lobe-chat/issues/9994) ([c1e7381](https://github.com/lobehub/lobe-chat/commit/c1e7381))
2482
+
2483
+ </details>
2484
+
2485
+ <div align="right">
2486
+
2487
+ [![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)
2488
+
2489
+ </div>
2490
+
5
2491
  ## [Version 2.0.0-next.11](https://github.com/lobehub/lobe-chat/compare/v2.0.0-next.10...v2.0.0-next.11)
6
2492
 
7
2493
  <sup>Released on **2025-11-02**</sup>