@lobehub/lobehub 2.0.0-next.1 → 2.0.0-next.100

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