@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
@@ -191,6 +191,9 @@
191
191
  "Kwai-Kolors/Kolors": {
192
192
  "description": "Kolors to duży model generowania obrazów na podstawie tekstu oparty na latentnej dyfuzji, opracowany przez zespół Kolors z Kuaishou. Trenowany na miliardach par tekst-obraz, wykazuje znakomitą jakość wizualną, precyzję w rozumieniu złożonych semantyk oraz doskonałe renderowanie znaków chińskich i angielskich. Obsługuje wejścia w języku chińskim i angielskim, a także wyróżnia się w generowaniu specyficznych treści w języku chińskim."
193
193
  },
194
+ "Kwaipilot/KAT-Dev": {
195
+ "description": "KAT-Dev (32B) to otwarty model z 32 miliardami parametrów, zaprojektowany specjalnie do zadań inżynierii oprogramowania. W teście porównawczym SWE-Bench Verified osiągnął wskaźnik rozwiązania na poziomie 62,4%, co plasuje go na piątym miejscu wśród wszystkich otwartych modeli różnej wielkości. Model został zoptymalizowany w kilku etapach, w tym poprzez trening pośredni, nadzorowane dostrajanie (SFT) oraz uczenie przez wzmacnianie (RL), aby zapewnić solidne wsparcie w złożonych zadaniach programistycznych, takich jak uzupełnianie kodu, naprawa błędów czy przegląd kodu."
196
+ },
194
197
  "Llama-3.2-11B-Vision-Instruct": {
195
198
  "description": "Wyróżniające się zdolnościami wnioskowania obrazów na wysokiej rozdzielczości, odpowiednie do zastosowań w rozumieniu wizualnym."
196
199
  },
@@ -233,6 +236,9 @@
233
236
  "MiniMaxAI/MiniMax-M1-80k": {
234
237
  "description": "MiniMax-M1 to otwartoźródłowy model inferencyjny o dużej skali z mieszanym mechanizmem uwagi, posiadający 456 miliardów parametrów, z których około 45,9 miliarda jest aktywowanych na każdy token. Model natywnie obsługuje ultra-długi kontekst do 1 miliona tokenów i dzięki mechanizmowi błyskawicznej uwagi oszczędza 75% operacji zmiennoprzecinkowych w zadaniach generowania na 100 tysiącach tokenów w porównaniu do DeepSeek R1. Ponadto MiniMax-M1 wykorzystuje architekturę MoE (mieszani eksperci), łącząc algorytm CISPO z efektywnym treningiem wzmacniającym opartym na mieszanej uwadze, osiągając wiodącą w branży wydajność w inferencji długich wejść i rzeczywistych scenariuszach inżynierii oprogramowania."
235
238
  },
239
+ "MiniMaxAI/MiniMax-M2": {
240
+ "description": "MiniMax-M2 na nowo definiuje wydajność agentów inteligentnych. To kompaktowy, szybki i ekonomiczny model MoE (Mixture of Experts) z 230 miliardami całkowitych parametrów i 10 miliardami aktywnych parametrów, zaprojektowany z myślą o najwyższej wydajności w zadaniach kodowania i agentowych, przy jednoczesnym zachowaniu silnej inteligencji ogólnej. Dzięki zaledwie 10 miliardom aktywnych parametrów, MiniMax-M2 oferuje wydajność porównywalną z dużymi modelami, co czyni go idealnym wyborem dla zastosowań wymagających wysokiej efektywności."
241
+ },
236
242
  "Moonshot-Kimi-K2-Instruct": {
237
243
  "description": "Model o łącznej liczbie parametrów 1 biliona i aktywowanych 32 miliardach parametrów. Wśród modeli nie myślących osiąga czołowe wyniki w wiedzy specjalistycznej, matematyce i kodowaniu, lepiej radząc sobie z zadaniami ogólnymi agenta. Model jest starannie zoptymalizowany pod kątem zadań agenta, potrafi nie tylko odpowiadać na pytania, ale także podejmować działania. Idealny do improwizacji, ogólnej rozmowy i doświadczeń agenta, działający na poziomie refleksu bez potrzeby długiego przetwarzania."
238
244
  },
@@ -788,12 +794,6 @@
788
794
  "claude-3-5-haiku-latest": {
789
795
  "description": "Claude 3.5 Haiku zapewnia szybkie odpowiedzi, idealne do lekkich zadań."
790
796
  },
791
- "claude-3-5-sonnet-20240620": {
792
- "description": "Claude 3.5 Sonnet oferuje możliwości przewyższające Opus oraz szybsze tempo niż Sonnet, przy zachowaniu tej samej ceny. Sonnet szczególnie dobrze radzi sobie z programowaniem, nauką danych, przetwarzaniem wizualnym i zadaniami agenta."
793
- },
794
- "claude-3-5-sonnet-20241022": {
795
- "description": "Claude 3.5 Sonnet oferuje możliwości wykraczające poza Opus oraz szybsze działanie niż Sonnet, zachowując jednocześnie tę samą cenę. Sonnet jest szczególnie uzdolniony w programowaniu, naukach danych, przetwarzaniu wizualnym oraz zadaniach związanych z pośrednictwem."
796
- },
797
797
  "claude-3-7-sonnet-20250219": {
798
798
  "description": "Claude 3.7 Sonnet to najnowszy model od Anthropic, który oferuje doskonałe wyniki w szerokim zakresie zadań, w tym generowanie treści, rozumienie języka naturalnego i przestrzeganie instrukcji. Claude 3.7 Sonnet jest szybki, niezawodny i ekonomiczny, co sprawia, że jest idealny do zastosowań produkcyjnych."
799
799
  },
@@ -1052,6 +1052,9 @@
1052
1052
  "deepseek-r1-0528": {
1053
1053
  "description": "Model w pełnej wersji 685B, wydany 28 maja 2025 roku. DeepSeek-R1 wykorzystuje techniki uczenia ze wzmocnieniem na dużą skalę w fazie post-treningowej, co znacznie poprawia zdolności wnioskowania modelu przy minimalnej ilości oznaczonych danych. Wysoka wydajność i zdolności w zadaniach matematycznych, kodowaniu oraz rozumowaniu języka naturalnego."
1054
1054
  },
1055
+ "deepseek-r1-250528": {
1056
+ "description": "DeepSeek R1 250528, pełna wersja modelu wnioskowania DeepSeek-R1, odpowiednia do złożonych zadań matematycznych i logicznych."
1057
+ },
1055
1058
  "deepseek-r1-70b-fast-online": {
1056
1059
  "description": "DeepSeek R1 70B szybka wersja, wspierająca wyszukiwanie w czasie rzeczywistym, oferująca szybszy czas reakcji przy zachowaniu wydajności modelu."
1057
1060
  },
@@ -1062,31 +1065,34 @@
1062
1065
  "description": "deepseek-r1-distill-llama to model stworzony na podstawie Llamy, uzyskany przez destylację z DeepSeek-R1."
1063
1066
  },
1064
1067
  "deepseek-r1-distill-llama-70b": {
1065
- "description": "DeepSeek R1 większy i inteligentniejszy model w zestawie DeepSeek — został destylowany do architektury Llama 70B. Na podstawie testów referencyjnych i ocen ręcznych, model ten jest bardziej inteligentny niż oryginalna Llama 70B, szczególnie w zadaniach wymagających precyzji matematycznej i faktograficznej."
1068
+ "description": "DeepSeek R1 Distill Llama 70B, model destylowany łączący ogólne możliwości R1 z ekosystemem Llama."
1066
1069
  },
1067
1070
  "deepseek-r1-distill-llama-8b": {
1068
- "description": "Modele z serii DeepSeek-R1-Distill dostosowywane do modeli open source, takich jak Qwen i Llama, poprzez technologię destylacji wiedzy, na podstawie próbek generowanych przez DeepSeek-R1."
1071
+ "description": "DeepSeek-R1-Distill-Llama-8B to duży model językowy oparty na Llama-3.1-8B, wykorzystujący wyniki DeepSeek R1."
1069
1072
  },
1070
- "deepseek-r1-distill-qianfan-llama-70b": {
1071
- "description": "Pierwsze wydanie 14 lutego 2025 roku, wyodrębnione przez zespół badawczy Qianfan z modelu bazowego Llama3_70B (zbudowanego z Meta Llama), w którym dodano również korpus Qianfan."
1073
+ "deepseek-r1-distill-qianfan-70b": {
1074
+ "description": "DeepSeek R1 Distill Qianfan 70B, model destylowany R1 oparty na Qianfan-70B, oferujący wysoką wydajność w korzystnej cenie."
1075
+ },
1076
+ "deepseek-r1-distill-qianfan-8b": {
1077
+ "description": "DeepSeek R1 Distill Qianfan 8B, model destylowany R1 oparty na Qianfan-8B, odpowiedni do średnich i małych zastosowań."
1072
1078
  },
1073
- "deepseek-r1-distill-qianfan-llama-8b": {
1074
- "description": "Pierwsze wydanie 14 lutego 2025 roku, wyodrębnione przez zespół badawczy Qianfan z modelu bazowego Llama3_8B (zbudowanego z Meta Llama), w którym dodano również korpus Qianfan."
1079
+ "deepseek-r1-distill-qianfan-llama-70b": {
1080
+ "description": "DeepSeek R1 Distill Qianfan Llama 70B, model destylowany R1 oparty na Llama-70B."
1075
1081
  },
1076
1082
  "deepseek-r1-distill-qwen": {
1077
1083
  "description": "deepseek-r1-distill-qwen to model stworzony na podstawie Qwen poprzez destylację z DeepSeek-R1."
1078
1084
  },
1079
1085
  "deepseek-r1-distill-qwen-1.5b": {
1080
- "description": "Modele z serii DeepSeek-R1-Distill dostosowywane do modeli open source, takich jak Qwen i Llama, poprzez technologię destylacji wiedzy, na podstawie próbek generowanych przez DeepSeek-R1."
1086
+ "description": "DeepSeek R1 Distill Qwen 1.5B, ultralekki model destylowany R1, odpowiedni do środowisk o bardzo ograniczonych zasobach."
1081
1087
  },
1082
1088
  "deepseek-r1-distill-qwen-14b": {
1083
- "description": "Modele z serii DeepSeek-R1-Distill dostosowywane do modeli open source, takich jak Qwen i Llama, poprzez technologię destylacji wiedzy, na podstawie próbek generowanych przez DeepSeek-R1."
1089
+ "description": "DeepSeek R1 Distill Qwen 14B, średniej wielkości model destylowany R1, odpowiedni do wdrożeń w różnych scenariuszach."
1084
1090
  },
1085
1091
  "deepseek-r1-distill-qwen-32b": {
1086
- "description": "Modele z serii DeepSeek-R1-Distill dostosowywane do modeli open source, takich jak Qwen i Llama, poprzez technologię destylacji wiedzy, na podstawie próbek generowanych przez DeepSeek-R1."
1092
+ "description": "DeepSeek R1 Distill Qwen 32B, model destylowany R1 oparty na Qwen-32B, zapewniający równowagę między wydajnością a kosztem."
1087
1093
  },
1088
1094
  "deepseek-r1-distill-qwen-7b": {
1089
- "description": "Modele z serii DeepSeek-R1-Distill dostosowywane do modeli open source, takich jak Qwen i Llama, poprzez technologię destylacji wiedzy, na podstawie próbek generowanych przez DeepSeek-R1."
1095
+ "description": "DeepSeek R1 Distill Qwen 7B, lekki model destylowany R1, odpowiedni do środowisk brzegowych i prywatnych wdrożeń korporacyjnych."
1090
1096
  },
1091
1097
  "deepseek-r1-fast-online": {
1092
1098
  "description": "DeepSeek R1 pełna szybka wersja, wspierająca wyszukiwanie w czasie rzeczywistym, łącząca potężne możliwości 671 miliardów parametrów z szybszym czasem reakcji."
@@ -1115,12 +1121,24 @@
1115
1121
  "deepseek-v3.1-terminus": {
1116
1122
  "description": "DeepSeek-V3.1-Terminus to zoptymalizowana wersja dużego modelu językowego opracowana przez DeepSeek, zaprojektowana specjalnie dla urządzeń końcowych."
1117
1123
  },
1124
+ "deepseek-v3.1-think-250821": {
1125
+ "description": "DeepSeek V3.1 Think 250821, model głębokiego rozumowania odpowiadający wersji Terminus, przeznaczony do scenariuszy wymagających wysokiej wydajności."
1126
+ },
1118
1127
  "deepseek-v3.1:671b": {
1119
1128
  "description": "DeepSeek V3.1: kolejna generacja modelu inferencyjnego, poprawiająca zdolności do złożonego wnioskowania i łańcuchowego myślenia, odpowiednia do zadań wymagających dogłębnej analizy."
1120
1129
  },
1121
1130
  "deepseek-v3.2-exp": {
1122
1131
  "description": "deepseek-v3.2-exp wprowadza mechanizm rzadkiej uwagi, mający na celu poprawę efektywności treningu i wnioskowania podczas przetwarzania długich tekstów, przy cenie niższej niż deepseek-v3.1."
1123
1132
  },
1133
+ "deepseek-v3.2-think": {
1134
+ "description": "DeepSeek V3.2 Think, pełna wersja modelu głębokiego rozumowania, wzmocniona pod kątem długich łańcuchów wnioskowania."
1135
+ },
1136
+ "deepseek-vl2": {
1137
+ "description": "DeepSeek VL2, model multimodalny wspierający zrozumienie obrazu i tekstu oraz precyzyjne pytania wizualne."
1138
+ },
1139
+ "deepseek-vl2-small": {
1140
+ "description": "DeepSeek VL2 Small, lekka wersja multimodalna, odpowiednia do środowisk o ograniczonych zasobach i wysokiej równoczesności."
1141
+ },
1124
1142
  "deepseek/deepseek-chat-v3-0324": {
1125
1143
  "description": "DeepSeek V3 to model mieszany z 685B parametrami, będący najnowszą iteracją flagowej serii modeli czatu zespołu DeepSeek.\n\nDziedziczy po modelu [DeepSeek V3](/deepseek/deepseek-chat-v3) i wykazuje doskonałe wyniki w różnych zadaniach."
1126
1144
  },
@@ -1140,7 +1158,7 @@
1140
1158
  "description": "DeepSeek-R1 znacząco poprawia zdolność wnioskowania modelu nawet przy minimalnej ilości oznaczonych danych. Przed wygenerowaniem ostatecznej odpowiedzi model najpierw generuje łańcuch myślowy, co zwiększa dokładność końcowej odpowiedzi."
1141
1159
  },
1142
1160
  "deepseek/deepseek-r1-distill-llama-70b": {
1143
- "description": "DeepSeek-R1-Distill-Llama-70B to zdystylowana, bardziej wydajna wersja modelu Llama 70B. Utrzymuje silną wydajność w zadaniach generowania tekstu, zmniejszając koszty obliczeniowe dla łatwiejszego wdrożenia i badań. Obsługiwany przez Groq na ich niestandardowym sprzęcie LPU, zapewnia szybkie i efektywne wnioskowanie."
1161
+ "description": "DeepSeek R1 Distill Llama 70B to duży model językowy oparty na Llama3.3 70B, który dzięki dostrojeniu na podstawie wyników DeepSeek R1 osiąga konkurencyjną wydajność porównywalną z czołowymi modelami najnowszej generacji."
1144
1162
  },
1145
1163
  "deepseek/deepseek-r1-distill-llama-8b": {
1146
1164
  "description": "DeepSeek R1 Distill Llama 8B to destylowany duży model językowy oparty na Llama-3.1-8B-Instruct, wytrenowany przy użyciu wyjścia DeepSeek R1."
@@ -1256,83 +1274,89 @@
1256
1274
  "emohaa": {
1257
1275
  "description": "Emohaa to model psychologiczny, posiadający profesjonalne umiejętności doradcze, pomagający użytkownikom zrozumieć problemy emocjonalne."
1258
1276
  },
1259
- "ernie-3.5-128k": {
1260
- "description": "Flagowy model językowy opracowany przez Baidu, obejmujący ogromne zbiory danych w języku chińskim i angielskim, charakteryzujący się silnymi zdolnościami ogólnymi, spełniającym wymagania większości zastosowań w dialogach, generowaniu treści i aplikacjach wtyczek; wspiera automatyczne połączenie z wtyczką wyszukiwania Baidu, zapewniając aktualność informacji."
1261
- },
1262
- "ernie-3.5-8k": {
1263
- "description": "Flagowy model językowy opracowany przez Baidu, obejmujący ogromne zbiory danych w języku chińskim i angielskim, charakteryzujący się silnymi zdolnościami ogólnymi, spełniającym wymagania większości zastosowań w dialogach, generowaniu treści i aplikacjach wtyczek; wspiera automatyczne połączenie z wtyczką wyszukiwania Baidu, zapewniając aktualność informacji."
1264
- },
1265
- "ernie-3.5-8k-preview": {
1266
- "description": "Flagowy model językowy opracowany przez Baidu, obejmujący ogromne zbiory danych w języku chińskim i angielskim, charakteryzujący się silnymi zdolnościami ogólnymi, spełniającym wymagania większości zastosowań w dialogach, generowaniu treści i aplikacjach wtyczek; wspiera automatyczne połączenie z wtyczką wyszukiwania Baidu, zapewniając aktualność informacji."
1267
- },
1268
- "ernie-4.0-8k-latest": {
1269
- "description": "Flagowy model językowy Baidu o ultra dużej skali, w porównaniu do ERNIE 3.5, oferujący kompleksową aktualizację zdolności modelu, szeroko stosowany w złożonych zadaniach w różnych dziedzinach; wspiera automatyczne połączenie z wtyczką wyszukiwania Baidu, zapewniając aktualność informacji."
1270
- },
1271
- "ernie-4.0-8k-preview": {
1272
- "description": "Flagowy model językowy Baidu o ultra dużej skali, w porównaniu do ERNIE 3.5, oferujący kompleksową aktualizację zdolności modelu, szeroko stosowany w złożonych zadaniach w różnych dziedzinach; wspiera automatyczne połączenie z wtyczką wyszukiwania Baidu, zapewniając aktualność informacji."
1273
- },
1274
- "ernie-4.0-turbo-128k": {
1275
- "description": "Flagowy model językowy Baidu o ultra dużej skali, charakteryzujący się doskonałymi wynikami ogólnymi, szeroko stosowany w złożonych zadaniach w różnych dziedzinach; wspiera automatyczne połączenie z wtyczką wyszukiwania Baidu, zapewniając aktualność informacji. W porównaniu do ERNIE 4.0, oferuje lepsze wyniki wydajności."
1276
- },
1277
- "ernie-4.0-turbo-8k-latest": {
1278
- "description": "Flagowy model językowy Baidu o ultra dużej skali, charakteryzujący się doskonałymi wynikami ogólnymi, szeroko stosowany w złożonych zadaniach w różnych dziedzinach; wspiera automatyczne połączenie z wtyczką wyszukiwania Baidu, zapewniając aktualność informacji. W porównaniu do ERNIE 4.0, oferuje lepsze wyniki wydajności."
1279
- },
1280
- "ernie-4.0-turbo-8k-preview": {
1281
- "description": "Flagowy model językowy Baidu o ultra dużej skali, charakteryzujący się doskonałymi wynikami ogólnymi, szeroko stosowany w złożonych zadaniach w różnych dziedzinach; wspiera automatyczne połączenie z wtyczką wyszukiwania Baidu, zapewniając aktualność informacji. W porównaniu do ERNIE 4.0, oferuje lepsze wyniki wydajności."
1277
+ "ernie-4.5-0.3b": {
1278
+ "description": "ERNIE 4.5 0.3B, otwartoźródłowy lekki model, odpowiedni do lokalnych i dostosowanych wdrożeń."
1282
1279
  },
1283
1280
  "ernie-4.5-21b-a3b": {
1284
- "description": "ERNIE 4.5 21B A3B to hybrydowy model ekspertowy opracowany przez Baidu Wenxin, oferujący zaawansowane możliwości wnioskowania i obsługę wielu języków."
1281
+ "description": "ERNIE 4.5 21B A3B, otwartoźródłowy model o dużej liczbie parametrów, oferujący lepsze wyniki w zadaniach rozumienia i generowania."
1285
1282
  },
1286
1283
  "ernie-4.5-300b-a47b": {
1287
1284
  "description": "ERNIE 4.5 300B A47B to model ekspertowy o ultradużej skali opracowany przez Baidu Wenxin, wyróżniający się wyjątkowymi zdolnościami wnioskowania."
1288
1285
  },
1289
1286
  "ernie-4.5-8k-preview": {
1290
- "description": "Model ERNIE 4.5 to nowa generacja natywnego modelu wielomodalnego opracowanego przez Baidu, który osiąga doskonałe wyniki w zakresie zrozumienia wielomodalnego dzięki wspólnemu modelowaniu wielu modalności; posiada bardziej zaawansowane zdolności językowe, a także znacznie poprawione zdolności rozumienia, generowania, logicznego myślenia i pamięci, eliminując halucynacje oraz poprawiając zdolności wnioskowania logicznego i kodowania."
1287
+ "description": "ERNIE 4.5 8K Preview, model podglądowy z kontekstem 8K, przeznaczony do testowania i oceny możliwości ERNIE 4.5."
1291
1288
  },
1292
1289
  "ernie-4.5-turbo-128k": {
1293
- "description": "Wenxin 4.5 Turbo ma wyraźnie poprawione zdolności w zakresie eliminacji halucynacji, rozumowania logicznego i programowania. W porównaniu do Wenxin 4.5, jest szybszy i tańszy. Zdolności modelu zostały znacznie zwiększone, lepiej spełniając wymagania dotyczące przetwarzania długich rozmów z wieloma rundami oraz zadań związanych z rozumieniem długich dokumentów."
1290
+ "description": "ERNIE 4.5 Turbo 128K, wydajny model ogólnego przeznaczenia, wspierający wyszukiwanie i korzystanie z narzędzi, odpowiedni do pytań, kodu i agentów."
1291
+ },
1292
+ "ernie-4.5-turbo-128k-preview": {
1293
+ "description": "ERNIE 4.5 Turbo 128K Preview, wersja podglądowa oferująca te same możliwości co wersja produkcyjna, odpowiednia do testów i integracji."
1294
1294
  },
1295
1295
  "ernie-4.5-turbo-32k": {
1296
- "description": "Wenxin 4.5 Turbo ma wyraźnie poprawione zdolności w zakresie eliminacji halucynacji, rozumowania logicznego i programowania. W porównaniu do Wenxin 4.5, jest szybszy i tańszy. Zdolności w zakresie twórczości tekstowej i pytań i odpowiedzi znacznie się poprawiły. Długość wyjścia i opóźnienie całych zdań w porównaniu do ERNIE 4.5 wzrosły."
1296
+ "description": "ERNIE 4.5 Turbo 32K, wersja z kontekstem średniej długości, odpowiednia do pytań, wyszukiwania w bazach wiedzy i wieloetapowych rozmów."
1297
+ },
1298
+ "ernie-4.5-turbo-latest": {
1299
+ "description": "ERNIE 4.5 Turbo Najnowsza wersja, zoptymalizowana pod kątem ogólnej wydajności, idealna jako główny model produkcyjny."
1300
+ },
1301
+ "ernie-4.5-turbo-vl": {
1302
+ "description": "ERNIE 4.5 Turbo VL, dojrzały model multimodalny, odpowiedni do zadań rozumienia i rozpoznawania obrazu i tekstu w środowisku produkcyjnym."
1297
1303
  },
1298
1304
  "ernie-4.5-turbo-vl-32k": {
1299
- "description": "Nowa wersja dużego modelu Wenxin Yiyan, z wyraźnie poprawionymi zdolnościami w zakresie rozumienia obrazów, twórczości, tłumaczenia i programowania, po raz pierwszy obsługująca długość kontekstu 32K, z wyraźnie zmniejszonym opóźnieniem pierwszego tokena."
1305
+ "description": "ERNIE 4.5 Turbo VL 32K, multimodalna wersja dla średnich i długich tekstów, odpowiednia do zintegrowanego rozumienia dokumentów i obrazów."
1306
+ },
1307
+ "ernie-4.5-turbo-vl-32k-preview": {
1308
+ "description": "ERNIE 4.5 Turbo VL 32K Preview, wersja podglądowa multimodalna 32K, ułatwiająca ocenę zdolności rozumienia długiego kontekstu wizualnego."
1309
+ },
1310
+ "ernie-4.5-turbo-vl-latest": {
1311
+ "description": "ERNIE 4.5 Turbo VL Najnowsza wersja, najnowszy model multimodalny, oferujący lepsze wyniki w rozumieniu i wnioskowaniu obrazów i tekstu."
1312
+ },
1313
+ "ernie-4.5-turbo-vl-preview": {
1314
+ "description": "ERNIE 4.5 Turbo VL Preview, podglądowy model multimodalny, wspierający rozumienie i generowanie obrazów i tekstu, odpowiedni do wizualnych pytań i analizy treści."
1315
+ },
1316
+ "ernie-4.5-vl-28b-a3b": {
1317
+ "description": "ERNIE 4.5 VL 28B A3B, otwartoźródłowy model multimodalny, wspierający zadania rozumienia i wnioskowania obrazów i tekstu."
1318
+ },
1319
+ "ernie-5.0-thinking-preview": {
1320
+ "description": "ERNIE 5.0 Thinking Preview, flagowy model natywnie multimodalny, wspierający tekst, obraz, dźwięk i wideo, kompleksowo ulepszony do złożonych pytań, twórczości i agentów."
1300
1321
  },
1301
1322
  "ernie-char-8k": {
1302
- "description": "Model językowy opracowany przez Baidu, skoncentrowany na specyficznych scenariuszach, odpowiedni do zastosowań w grach NPC, dialogach obsługi klienta, odgrywaniu ról w dialogach, charakteryzujący się wyraźnym i spójnym stylem postaci, silniejszą zdolnością do podążania za instrukcjami oraz lepszą wydajnością wnioskowania."
1323
+ "description": "ERNIE Character 8K, model dialogowy z osobowością, odpowiedni do tworzenia postaci IP i długoterminowych interakcji."
1303
1324
  },
1304
1325
  "ernie-char-fiction-8k": {
1305
- "description": "Model językowy opracowany przez Baidu, skoncentrowany na specyficznych scenariuszach, odpowiedni do zastosowań w grach NPC, dialogach obsługi klienta, odgrywaniu ról w dialogach, charakteryzujący się wyraźnym i spójnym stylem postaci, silniejszą zdolnością do podążania za instrukcjami oraz lepszą wydajnością wnioskowania."
1326
+ "description": "ERNIE Character Fiction 8K, model osobowościowy do tworzenia powieści i fabuły, odpowiedni do generowania długich historii."
1327
+ },
1328
+ "ernie-char-fiction-8k-preview": {
1329
+ "description": "ERNIE Character Fiction 8K Preview, wersja podglądowa modelu do tworzenia postaci i fabuły, przeznaczona do testów i oceny funkcji."
1306
1330
  },
1307
1331
  "ernie-irag-edit": {
1308
- "description": "Model edycji obrazów ERNIE iRAG opracowany przez Baidu, wspierający operacje takie jak usuwanie obiektów (erase), przemalowywanie (repaint) oraz generowanie wariantów (variation) na podstawie obrazów."
1332
+ "description": "ERNIE iRAG Edit, model edycji obrazu wspierający usuwanie, rekonstrukcję i generowanie wariantów obrazów."
1309
1333
  },
1310
1334
  "ernie-lite-8k": {
1311
- "description": "ERNIE Lite to lekki model językowy opracowany przez Baidu, łączący doskonałe wyniki modelu z wydajnością wnioskowania, odpowiedni do użycia na kartach przyspieszających AI o niskiej mocy obliczeniowej."
1335
+ "description": "ERNIE Lite 8K, lekki model ogólnego przeznaczenia, odpowiedni do codziennych pytań i generowania treści przy niskich kosztach."
1312
1336
  },
1313
1337
  "ernie-lite-pro-128k": {
1314
- "description": "Lekki model językowy opracowany przez Baidu, łączący doskonałe wyniki modelu z wydajnością wnioskowania, oferujący lepsze wyniki niż ERNIE Lite, odpowiedni do użycia na kartach przyspieszających AI o niskiej mocy obliczeniowej."
1338
+ "description": "ERNIE Lite Pro 128K, lekki i wydajny model, odpowiedni do zastosowań wrażliwych na opóźnienia i koszty."
1315
1339
  },
1316
1340
  "ernie-novel-8k": {
1317
- "description": "Ogólny model językowy opracowany przez Baidu, który wykazuje wyraźne przewagi w zakresie kontynuacji powieści, może być również stosowany w scenariuszach krótkich dramatów i filmów."
1341
+ "description": "ERNIE Novel 8K, model do tworzenia długich powieści i fabuły IP, specjalizujący się w narracji wielopostaciowej i wielowątkowej."
1318
1342
  },
1319
1343
  "ernie-speed-128k": {
1320
- "description": "Najnowszy model językowy o wysokiej wydajności opracowany przez Baidu w 2024 roku, charakteryzujący się doskonałymi zdolnościami ogólnymi, odpowiedni jako model bazowy do dalszego dostosowania, lepiej radzący sobie z problemami w specyficznych scenariuszach, a także oferujący doskonałą wydajność wnioskowania."
1344
+ "description": "ERNIE Speed 128K, duży model bez kosztów wejścia/wyjścia, odpowiedni do rozumienia długich tekstów i testów na dużą skalę."
1345
+ },
1346
+ "ernie-speed-8k": {
1347
+ "description": "ERNIE Speed 8K, darmowy i szybki model, odpowiedni do codziennych rozmów i lekkich zadań tekstowych."
1321
1348
  },
1322
1349
  "ernie-speed-pro-128k": {
1323
- "description": "Najnowszy model językowy o wysokiej wydajności opracowany przez Baidu w 2024 roku, charakteryzujący się doskonałymi zdolnościami ogólnymi, oferujący lepsze wyniki niż ERNIE Speed, odpowiedni jako model bazowy do dalszego dostosowania, lepiej radzący sobie z problemami w specyficznych scenariuszach, a także oferujący doskonałą wydajność wnioskowania."
1350
+ "description": "ERNIE Speed Pro 128K, model o wysokiej równoczesności i korzystnym stosunku ceny do wydajności, odpowiedni do usług online i zastosowań korporacyjnych na dużą skalę."
1324
1351
  },
1325
1352
  "ernie-tiny-8k": {
1326
- "description": "ERNIE Tiny to model językowy o ultra wysokiej wydajności opracowany przez Baidu, charakteryzujący się najniższymi kosztami wdrożenia i dostosowania w serii modeli Wenxin."
1327
- },
1328
- "ernie-x1-32k": {
1329
- "description": "Posiada silniejsze zdolności w zakresie rozumienia, planowania, refleksji i ewolucji. Jako model głębokiego myślenia o wszechstronnych umiejętnościach, Wenxin X1 łączy w sobie dokładność, kreatywność i styl, doskonale sprawdzając się w chińskich pytaniach i odpowiedziach, twórczości literackiej, pisaniu dokumentów, codziennych rozmowach, rozumowaniu logicznym, skomplikowanych obliczeniach oraz wywoływaniu narzędzi."
1330
- },
1331
- "ernie-x1-32k-preview": {
1332
- "description": "Model ERNIE X1 charakteryzuje się silniejszymi zdolnościami w zakresie rozumienia, planowania, refleksji i ewolucji. Jako model głębokiego myślenia o szerszych możliwościach, ERNIE X1 łączy w sobie precyzję, kreatywność i styl, osiągając szczególne wyniki w chińskich pytaniach i odpowiedziach, twórczości literackiej, pisaniu tekstów, codziennych rozmowach, wnioskowaniu logicznym, złożonych obliczeniach oraz wywoływaniu narzędzi."
1353
+ "description": "ERNIE Tiny 8K, ultralekki model, odpowiedni do prostych pytań, klasyfikacji i innych niskokosztowych zadań wnioskowania."
1333
1354
  },
1334
1355
  "ernie-x1-turbo-32k": {
1335
- "description": "Model ma lepsze wyniki i wydajność w porównaniu do ERNIE-X1-32K."
1356
+ "description": "ERNIE X1 Turbo 32K, model szybkiego rozumowania z kontekstem 32K, odpowiedni do złożonego wnioskowania i wieloetapowych rozmów."
1357
+ },
1358
+ "ernie-x1.1-preview": {
1359
+ "description": "ERNIE X1.1 Preview, wersja podglądowa modelu rozumowania ERNIE X1.1, odpowiednia do testów i walidacji możliwości."
1336
1360
  },
1337
1361
  "fal-ai/bytedance/seedream/v4": {
1338
1362
  "description": "Model generowania obrazów Seedream 4.0 opracowany przez zespół Seed ByteDance, obsługuje wejścia tekstowe i obrazowe, oferując wysoką kontrolę i jakość generowanych obrazów. Generuje obrazy na podstawie tekstowych wskazówek."
@@ -1392,7 +1416,7 @@
1392
1416
  "description": "FLUX.1 [schnell] to obecnie najbardziej zaawansowany otwarty model o małej liczbie kroków, przewyższający konkurencję, a nawet potężne modele nie destylowane, takie jak Midjourney v6.0 i DALL·E 3 (HD). Model został specjalnie dostrojony, aby zachować pełną różnorodność wyjść z fazy wstępnego treningu. W porównaniu z najlepszymi modelami na rynku FLUX.1 [schnell] znacząco poprawia jakość wizualną, zgodność z instrukcjami, obsługę zmian rozmiaru/proporcji, przetwarzanie czcionek oraz różnorodność generowanych obrazów, oferując użytkownikom bogatsze i bardziej zróżnicowane doświadczenia twórcze."
1393
1417
  },
1394
1418
  "flux.1-schnell": {
1395
- "description": "Transformator przepływu skorygowanego o 12 miliardach parametrów, zdolny do generowania obrazów na podstawie opisów tekstowych."
1419
+ "description": "FLUX.1-schnell, wydajny model generowania obrazów, odpowiedni do szybkiego tworzenia obrazów w różnych stylach."
1396
1420
  },
1397
1421
  "gemini-1.0-pro-001": {
1398
1422
  "description": "Gemini 1.0 Pro 001 (Tuning) oferuje stabilną i dostosowywalną wydajność, co czyni go idealnym wyborem dla rozwiązań złożonych zadań."
@@ -1457,9 +1481,6 @@
1457
1481
  "gemini-2.0-flash-lite-001": {
1458
1482
  "description": "Gemini 2.0 Flash to wariant modelu, zoptymalizowany pod kątem efektywności kosztowej i niskiego opóźnienia."
1459
1483
  },
1460
- "gemini-2.0-flash-preview-image-generation": {
1461
- "description": "Model Gemini 2.0 Flash do generowania obrazów, wspierający generację obrazów"
1462
- },
1463
1484
  "gemini-2.5-flash": {
1464
1485
  "description": "Gemini 2.5 Flash to najbardziej opłacalny model Google, oferujący wszechstronne funkcje."
1465
1486
  },
@@ -1487,9 +1508,6 @@
1487
1508
  "gemini-2.5-flash-preview-04-17": {
1488
1509
  "description": "Gemini 2.5 Flash Preview to najbardziej opłacalny model Google, oferujący wszechstronne funkcje."
1489
1510
  },
1490
- "gemini-2.5-flash-preview-05-20": {
1491
- "description": "Gemini 2.5 Flash Preview to najbardziej opłacalny model Google, oferujący wszechstronne funkcje."
1492
- },
1493
1511
  "gemini-2.5-flash-preview-09-2025": {
1494
1512
  "description": "Wersja podglądowa (25 września 2025) Gemini 2.5 Flash"
1495
1513
  },
@@ -1505,6 +1523,9 @@
1505
1523
  "gemini-2.5-pro-preview-06-05": {
1506
1524
  "description": "Gemini 2.5 Pro Preview to najnowocześniejszy model myślowy Google, zdolny do rozumowania nad złożonymi problemami w dziedzinach kodowania, matematyki i STEM oraz do analizy dużych zbiorów danych, repozytoriów kodu i dokumentów z wykorzystaniem długich kontekstów."
1507
1525
  },
1526
+ "gemini-3-pro-preview": {
1527
+ "description": "Gemini 3 Pro to najinteligentniejszy model Google, oferujący najnowocześniejsze wnioskowanie i rozumienie multimodalne, a także zaawansowane funkcje agenta i kodowania kontekstu."
1528
+ },
1508
1529
  "gemini-flash-latest": {
1509
1530
  "description": "Najnowsze wydanie Gemini Flash"
1510
1531
  },
@@ -1541,6 +1562,9 @@
1541
1562
  "glm-4-0520": {
1542
1563
  "description": "GLM-4-0520 to najnowsza wersja modelu, zaprojektowana do wysoko złożonych i zróżnicowanych zadań, z doskonałymi wynikami."
1543
1564
  },
1565
+ "glm-4-32b-0414": {
1566
+ "description": "GLM-4 32B 0414, ogólny model dużej skali z serii GLM, wspierający generowanie i rozumienie tekstu w wielu zadaniach."
1567
+ },
1544
1568
  "glm-4-9b-chat": {
1545
1569
  "description": "GLM-4-9B-Chat osiąga wysoką wydajność w zakresie semantyki, matematyki, wnioskowania, kodowania i wiedzy. Obsługuje również przeglądanie stron internetowych, wykonywanie kodu, wywoływanie niestandardowych narzędzi oraz wnioskowanie na podstawie długich tekstów. Wspiera 26 języków, w tym japoński, koreański i niemiecki."
1546
1570
  },
@@ -1811,6 +1835,9 @@
1811
1835
  "gpt-5": {
1812
1836
  "description": "Najlepszy model do zadań międzydziedzinowego kodowania i pośrednictwa. GPT-5 osiąga przełom w dokładności, szybkości, rozumowaniu, rozpoznawaniu kontekstu, myśleniu strukturalnym i rozwiązywaniu problemów."
1813
1837
  },
1838
+ "gpt-5-chat": {
1839
+ "description": "GPT-5 Chat to wersja zapoznawcza zoptymalizowana pod kątem scenariuszy konwersacyjnych. Obsługuje wejścia tekstowe i graficzne, generuje wyłącznie tekst, idealna do chatbotów i aplikacji opartych na konwersacyjnej sztucznej inteligencji."
1840
+ },
1814
1841
  "gpt-5-chat-latest": {
1815
1842
  "description": "Model GPT-5 używany w ChatGPT. Łączy potężne zdolności rozumienia i generowania języka, idealny do interakcji konwersacyjnych."
1816
1843
  },
@@ -1826,6 +1853,18 @@
1826
1853
  "gpt-5-pro": {
1827
1854
  "description": "GPT-5 pro wykorzystuje większą moc obliczeniową do głębszego rozumowania i konsekwentnie dostarcza lepsze odpowiedzi."
1828
1855
  },
1856
+ "gpt-5.1": {
1857
+ "description": "GPT-5.1 — flagowy model zoptymalizowany pod kątem zadań związanych z kodowaniem i agentami, oferujący konfigurowalną intensywność wnioskowania oraz dłuższy kontekst."
1858
+ },
1859
+ "gpt-5.1-chat-latest": {
1860
+ "description": "GPT-5.1 Chat: wariant GPT-5.1 przeznaczony do ChatGPT, idealny do zastosowań konwersacyjnych."
1861
+ },
1862
+ "gpt-5.1-codex": {
1863
+ "description": "GPT-5.1 Codex: wersja GPT-5.1 zoptymalizowana pod kątem zadań kodowania z udziałem agentów, dostępna w API odpowiedzi do bardziej złożonych przepływów pracy z kodem i agentami."
1864
+ },
1865
+ "gpt-5.1-codex-mini": {
1866
+ "description": "GPT-5.1 Codex mini: mniejszy i tańszy wariant Codex, zoptymalizowany do zadań kodowania z udziałem agentów."
1867
+ },
1829
1868
  "gpt-audio": {
1830
1869
  "description": "GPT Audio to uniwersalny model konwersacyjny obsługujący wejście i wyjście audio, dostępny w API Chat Completions z obsługą audio I/O."
1831
1870
  },
@@ -1868,6 +1907,12 @@
1868
1907
  "grok-4-0709": {
1869
1908
  "description": "Grok 4 od xAI, wyposażony w potężne zdolności rozumowania."
1870
1909
  },
1910
+ "grok-4-1-fast-non-reasoning": {
1911
+ "description": "Nowoczesny model multimodalny, zoptymalizowany specjalnie do wydajnego korzystania z narzędzi pośredniczących."
1912
+ },
1913
+ "grok-4-1-fast-reasoning": {
1914
+ "description": "Nowoczesny model multimodalny, zoptymalizowany specjalnie do wydajnego korzystania z narzędzi pośredniczących."
1915
+ },
1871
1916
  "grok-4-fast-non-reasoning": {
1872
1917
  "description": "Z radością prezentujemy Grok 4 Fast, nasz najnowszy postęp w modelach inferencyjnych o wysokiej efektywności kosztowej."
1873
1918
  },
@@ -2001,13 +2046,13 @@
2001
2046
  "description": "Seria modeli Imagen czwartej generacji do tworzenia obrazów na podstawie tekstu"
2002
2047
  },
2003
2048
  "imagen-4.0-generate-preview-06-06": {
2004
- "description": "Seria modeli tekst-na-obraz Imagen czwartej generacji"
2049
+ "description": "Czwarta generacja modeli Imagen do generowania obrazów z tekstu."
2005
2050
  },
2006
2051
  "imagen-4.0-ultra-generate-001": {
2007
2052
  "description": "Imagen — seria modeli przekształcających tekst w obraz czwartej generacji, wersja Ultra"
2008
2053
  },
2009
2054
  "imagen-4.0-ultra-generate-preview-06-06": {
2010
- "description": "Seria modeli tekst-na-obraz Imagen czwartej generacji, wersja Ultra"
2055
+ "description": "Wersja Ultra czwartej generacji modeli Imagen do generowania obrazów z tekstu."
2011
2056
  },
2012
2057
  "inception/mercury-coder-small": {
2013
2058
  "description": "Mercury Coder Small to idealny wybór do generowania, debugowania i refaktoryzacji kodu, oferujący minimalne opóźnienia."
@@ -2036,14 +2081,26 @@
2036
2081
  "internlm3-latest": {
2037
2082
  "description": "Nasza najnowsza seria modeli, charakteryzująca się doskonałą wydajnością wnioskowania, prowadzi wśród modeli open-source o podobnej skali. Domyślnie wskazuje na naszą najnowszą wersję modelu InternLM3."
2038
2083
  },
2084
+ "internvl2.5-38b-mpo": {
2085
+ "description": "InternVL2.5 38B MPO, multimodalny model wstępnie wytrenowany, wspierający złożone zadania wnioskowania obraz-tekst."
2086
+ },
2039
2087
  "internvl2.5-latest": {
2040
2088
  "description": "Wersja InternVL2.5, którą nadal utrzymujemy, charakteryzuje się doskonałą i stabilną wydajnością. Domyślnie wskazuje na nasz najnowszy model z serii InternVL2.5, obecnie wskazuje na internvl2.5-78b."
2041
2089
  },
2090
+ "internvl3-14b": {
2091
+ "description": "InternVL3 14B, średniej wielkości model multimodalny, zapewniający równowagę między wydajnością a kosztem."
2092
+ },
2093
+ "internvl3-1b": {
2094
+ "description": "InternVL3 1B, lekki model multimodalny, odpowiedni do wdrożeń w środowiskach o ograniczonych zasobach."
2095
+ },
2096
+ "internvl3-38b": {
2097
+ "description": "InternVL3 38B, duży otwartoźródłowy model multimodalny, odpowiedni do zadań wymagających wysokiej precyzji w rozumieniu obrazów i tekstu."
2098
+ },
2042
2099
  "internvl3-latest": {
2043
2100
  "description": "Nasz najnowszy model multimodalny, który ma silniejsze zdolności rozumienia tekstu i obrazów oraz długoterminowego rozumienia obrazów, osiągający wyniki porównywalne z najlepszymi modelami zamkniętymi. Domyślnie wskazuje na nasz najnowszy model z serii InternVL, obecnie wskazuje na internvl3-78b."
2044
2101
  },
2045
2102
  "irag-1.0": {
2046
- "description": "Opracowana przez Baidu technologia iRAG (image based RAG) to wzmacniana wyszukiwaniem generacja obrazów na podstawie tekstu, łącząca miliardowe zasoby obrazów Baidu z potężnymi możliwościami modelu bazowego. Pozwala generować niezwykle realistyczne obrazy, znacznie przewyższając natywne systemy generacji tekst-na-obraz, eliminując sztuczny efekt AI i przy niskich kosztach. iRAG cechuje się brakiem halucynacji, ultra-realistycznym wyglądem i natychmiastową dostępnością."
2103
+ "description": "ERNIE iRAG, model generowania wspomaganego wyszukiwaniem obrazów, wspierający wyszukiwanie obrazem, wyszukiwanie obraz-tekst i generowanie treści."
2047
2104
  },
2048
2105
  "jamba-large": {
2049
2106
  "description": "Nasz najsilniejszy i najbardziej zaawansowany model, zaprojektowany do obsługi złożonych zadań na poziomie przedsiębiorstw, oferujący doskonałą wydajność."
@@ -2064,7 +2121,7 @@
2064
2121
  "description": "Model kimi-k2-0905-preview obsługuje długość kontekstu do 256k, oferując silniejsze zdolności Agentic Coding, bardziej estetyczny i praktyczny kod frontendowy oraz lepsze rozumienie kontekstu."
2065
2122
  },
2066
2123
  "kimi-k2-instruct": {
2067
- "description": "Kimi K2 Instruct to duży model językowy opracowany przez Moonshot AI, zdolny do przetwarzania bardzo długiego kontekstu."
2124
+ "description": "Kimi K2 Instruct, oficjalny model wnioskowania Kimi, wspierający długi kontekst, kodowanie, pytania i inne scenariusze."
2068
2125
  },
2069
2126
  "kimi-k2-turbo-preview": {
2070
2127
  "description": "kimi-k2 to bazowy model z architekturą MoE, dysponujący wyjątkowymi możliwościami w zakresie kodowania i agentów, z łączną liczbą parametrów 1T oraz 32B parametrów aktywacyjnych. W standardowych testach wydajności (benchmarkach) dla głównych kategorii takich jak wnioskowanie z wiedzy ogólnej, programowanie, matematyka i agenty, model K2 przewyższa inne popularne otwarte modele."
@@ -2174,6 +2231,9 @@
2174
2231
  "megrez-3b-instruct": {
2175
2232
  "description": "Megrez 3B Instruct to kompaktowy i wydajny model opracowany przez Wuwen Xinqiong."
2176
2233
  },
2234
+ "meituan/longcat-flash-chat": {
2235
+ "description": "Longcat Flash Chat to otwartoźródłowy model bazowy od Meituan, zoptymalizowany pod kątem interakcji dialogowych i zadań agentowych, wyróżniający się w scenariuszach wymagających użycia narzędzi i złożonych wieloetapowych konwersacji."
2236
+ },
2177
2237
  "meta-llama-3-70b-instruct": {
2178
2238
  "description": "Potężny model z 70 miliardami parametrów, doskonały w rozumowaniu, kodowaniu i szerokich zastosowaniach językowych."
2179
2239
  },
@@ -2402,6 +2462,15 @@
2402
2462
  "minicpm-v": {
2403
2463
  "description": "MiniCPM-V to nowa generacja multimodalnego dużego modelu wydanego przez OpenBMB, który posiada doskonałe zdolności rozpoznawania OCR oraz zrozumienia multimodalnego, wspierając szeroki zakres zastosowań."
2404
2464
  },
2465
+ "minimax-m2": {
2466
+ "description": "MiniMax M2 to wydajny duży model językowy stworzony z myślą o kodowaniu i zautomatyzowanych przepływach pracy."
2467
+ },
2468
+ "minimax/minimax-m2": {
2469
+ "description": "Stworzony z myślą o wydajnym kodowaniu i przepływach pracy agentów."
2470
+ },
2471
+ "minimaxai/minimax-m2": {
2472
+ "description": "MiniMax-M2 to kompaktowy, szybki i ekonomiczny model MoE (Mixture of Experts) z 230 miliardami całkowitych parametrów i 10 miliardami aktywnych parametrów, zaprojektowany z myślą o najwyższej wydajności w zadaniach kodowania i agentowych, przy jednoczesnym zachowaniu silnej inteligencji ogólnej. Model ten doskonale sprawdza się w edycji wielu plików, zamkniętej pętli kodowanie-uruchamianie-naprawa, testowaniu i weryfikacji poprawek oraz w złożonych, długich łańcuchach narzędziowych, co czyni go idealnym wyborem dla przepływów pracy deweloperów."
2473
+ },
2405
2474
  "ministral-3b-latest": {
2406
2475
  "description": "Ministral 3B to czołowy model brzegowy Mistrala."
2407
2476
  },
@@ -2732,6 +2801,54 @@
2732
2801
  "pro-deepseek-v3": {
2733
2802
  "description": "Model przeznaczony do usług dedykowanych dla przedsiębiorstw, obsługujący usługi równoległe."
2734
2803
  },
2804
+ "qianfan-70b": {
2805
+ "description": "Qianfan 70B, duży chiński model językowy, odpowiedni do generowania treści wysokiej jakości i złożonych zadań wnioskowania."
2806
+ },
2807
+ "qianfan-8b": {
2808
+ "description": "Qianfan 8B, średniej wielkości uniwersalny model, idealny do generowania tekstu i scenariuszy pytań i odpowiedzi z równowagą między kosztem a wydajnością."
2809
+ },
2810
+ "qianfan-agent-intent-32k": {
2811
+ "description": "Qianfan Agent Intent 32K, model do rozpoznawania intencji i orkiestracji agentów, obsługujący scenariusze z długim kontekstem."
2812
+ },
2813
+ "qianfan-agent-lite-8k": {
2814
+ "description": "Qianfan Agent Lite 8K, lekki model agenta, odpowiedni do niskokosztowych, wieloetapowych dialogów i orkiestracji procesów biznesowych."
2815
+ },
2816
+ "qianfan-agent-speed-32k": {
2817
+ "description": "Qianfan Agent Speed 32K, model agenta o wysokiej przepustowości, idealny do dużych, wielozadaniowych aplikacji agentowych."
2818
+ },
2819
+ "qianfan-agent-speed-8k": {
2820
+ "description": "Qianfan Agent Speed 8K, model agenta o wysokiej równoległości, przeznaczony do krótkich dialogów i szybkich odpowiedzi."
2821
+ },
2822
+ "qianfan-check-vl": {
2823
+ "description": "Qianfan Check VL, multimodalny model do moderacji i wykrywania treści, wspierający zgodność i rozpoznawanie obrazów i tekstu."
2824
+ },
2825
+ "qianfan-composition": {
2826
+ "description": "Qianfan Composition, multimodalny model twórczy, obsługujący zintegrowane rozumienie i generowanie obrazów i tekstu."
2827
+ },
2828
+ "qianfan-engcard-vl": {
2829
+ "description": "Qianfan EngCard VL, multimodalny model rozpoznawania skoncentrowany na scenariuszach w języku angielskim."
2830
+ },
2831
+ "qianfan-lightning-128b-a19b": {
2832
+ "description": "Qianfan Lightning 128B A19B, wydajny chiński model ogólnego przeznaczenia, odpowiedni do złożonych pytań i dużych zadań wnioskowania."
2833
+ },
2834
+ "qianfan-llama-vl-8b": {
2835
+ "description": "Qianfan Llama VL 8B, multimodalny model oparty na Llama, przeznaczony do ogólnych zadań rozumienia obrazów i tekstu."
2836
+ },
2837
+ "qianfan-multipicocr": {
2838
+ "description": "Qianfan MultiPicOCR, model OCR dla wielu obrazów, obsługujący wykrywanie i rozpoznawanie tekstu na wielu zdjęciach."
2839
+ },
2840
+ "qianfan-qi-vl": {
2841
+ "description": "Qianfan QI VL, multimodalny model pytań i odpowiedzi, wspierający precyzyjne wyszukiwanie i odpowiedzi w złożonych scenariuszach obrazowo-tekstowych."
2842
+ },
2843
+ "qianfan-singlepicocr": {
2844
+ "description": "Qianfan SinglePicOCR, model OCR dla pojedynczego obrazu, zapewniający wysoką precyzję rozpoznawania znaków."
2845
+ },
2846
+ "qianfan-vl-70b": {
2847
+ "description": "Qianfan VL 70B, duży model językowo-wizualny, odpowiedni do złożonych zadań rozumienia obrazów i tekstu."
2848
+ },
2849
+ "qianfan-vl-8b": {
2850
+ "description": "Qianfan VL 8B, lekki model językowo-wizualny, idealny do codziennych pytań i analiz obrazowo-tekstowych."
2851
+ },
2735
2852
  "qvq-72b-preview": {
2736
2853
  "description": "Model QVQ jest eksperymentalnym modelem badawczym opracowanym przez zespół Qwen, skoncentrowanym na zwiększeniu zdolności w zakresie rozumowania wizualnego, szczególnie w dziedzinie rozumowania matematycznego."
2737
2854
  },
@@ -2883,7 +3000,7 @@
2883
3000
  "description": "Model Qwen 2.5 o skali 72B, udostępniony na zasadzie open source."
2884
3001
  },
2885
3002
  "qwen2.5-7b-instruct": {
2886
- "description": "Model Qwen 2.5 o skali 7B, udostępniony na zasadzie open source."
3003
+ "description": "Qwen2.5 7B Instruct, dojrzały model open-source do instrukcji, odpowiedni do dialogów i generowania w różnych scenariuszach."
2887
3004
  },
2888
3005
  "qwen2.5-coder-1.5b-instruct": {
2889
3006
  "description": "Otwarta wersja modelu kodowania Qwen."
@@ -2916,13 +3033,13 @@
2916
3033
  "description": "Model serii Qwen-Omni obsługuje wprowadzanie danych w różnych modalnościach, w tym wideo, audio, obrazy i tekst, oraz generuje audio i tekst."
2917
3034
  },
2918
3035
  "qwen2.5-vl-32b-instruct": {
2919
- "description": "Seria modeli Qwen2.5-VL poprawia poziom inteligencji, praktyczności i zastosowania modelu, co pozwala mu lepiej radzić sobie w naturalnej konwersacji, tworzeniu treści, usługach wiedzy specjalistycznej i programowaniu. Wersja 32B została zoptymalizowana za pomocą technologii uczenia wzmacniającego, co w porównaniu z innymi modelami serii Qwen2.5 VL, zapewnia bardziej zgodny z preferencjami ludzi styl wyjściowy, zdolność wnioskowania w złożonych problemach matematycznych oraz zdolność szczegółowej interpretacji i wnioskowania na podstawie obrazów."
3036
+ "description": "Qwen2.5 VL 32B Instruct, multimodalny model open-source, odpowiedni do wdrożeń prywatnych i zastosowań w wielu scenariuszach."
2920
3037
  },
2921
3038
  "qwen2.5-vl-72b-instruct": {
2922
3039
  "description": "Zwiększona zdolność do podążania za instrukcjami, matematyki, rozwiązywania problemów i kodowania, poprawiona zdolność do rozpoznawania obiektów, wsparcie dla różnych formatów do precyzyjnego lokalizowania elementów wizualnych, zdolność do rozumienia długich plików wideo (do 10 minut) oraz lokalizowania momentów zdarzeń w czasie rzeczywistym, zdolność do rozumienia kolejności czasowej i szybkości, wsparcie dla operacji na systemach OS lub Mobile, silna zdolność do ekstrakcji kluczowych informacji i generowania wyjścia w formacie JSON. Ta wersja to wersja 72B, najsilniejsza w tej serii."
2923
3040
  },
2924
3041
  "qwen2.5-vl-7b-instruct": {
2925
- "description": "Zwiększona zdolność do podążania za instrukcjami, matematyki, rozwiązywania problemów i kodowania, poprawiona zdolność do rozpoznawania obiektów, wsparcie dla różnych formatów do precyzyjnego lokalizowania elementów wizualnych, zdolność do rozumienia długich plików wideo (do 10 minut) oraz lokalizowania momentów zdarzeń w czasie rzeczywistym, zdolność do rozumienia kolejności czasowej i szybkości, wsparcie dla operacji na systemach OS lub Mobile, silna zdolność do ekstrakcji kluczowych informacji i generowania wyjścia w formacie JSON. Ta wersja to wersja 72B, najsilniejsza w tej serii."
3042
+ "description": "Qwen2.5 VL 7B Instruct, lekki multimodalny model, łączący niskie koszty wdrożenia z dobrą zdolnością rozpoznawania."
2926
3043
  },
2927
3044
  "qwen2.5-vl-instruct": {
2928
3045
  "description": "Qwen2.5-VL to najnowsza wersja modelu wizualno-lingwistycznego rodziny Qwen."
@@ -2949,46 +3066,46 @@
2949
3066
  "description": "Qwen3 to nowa generacja dużego modelu językowego od Alibaba, który wspiera różnorodne potrzeby aplikacyjne dzięki doskonałej wydajności."
2950
3067
  },
2951
3068
  "qwen3-0.6b": {
2952
- "description": "Qwen3 to nowa generacja modelu Qwen, który znacznie zwiększa możliwości w zakresie wnioskowania, ogólności, agenta i wielojęzyczności, osiągając wiodące w branży wyniki w wielu kluczowych obszarach i wspierając przełączanie trybów myślenia."
3069
+ "description": "Qwen3 0.6B, model podstawowy, odpowiedni do prostych zadań wnioskowania i środowisk o bardzo ograniczonych zasobach."
2953
3070
  },
2954
3071
  "qwen3-1.7b": {
2955
- "description": "Qwen3 to nowa generacja modelu Qwen, który znacznie zwiększa możliwości w zakresie wnioskowania, ogólności, agenta i wielojęzyczności, osiągając wiodące w branży wyniki w wielu kluczowych obszarach i wspierając przełączanie trybów myślenia."
3072
+ "description": "Qwen3 1.7B, ultralekki model, łatwy do wdrożenia na urządzeniach brzegowych i końcowych."
2956
3073
  },
2957
3074
  "qwen3-14b": {
2958
- "description": "Qwen3 to nowa generacja modelu Qwen, który znacznie zwiększa możliwości w zakresie wnioskowania, ogólności, agenta i wielojęzyczności, osiągając wiodące w branży wyniki w wielu kluczowych obszarach i wspierając przełączanie trybów myślenia."
3075
+ "description": "Qwen3 14B, model średniej wielkości, odpowiedni do wielojęzycznych pytań i generowania tekstu."
2959
3076
  },
2960
3077
  "qwen3-235b-a22b": {
2961
- "description": "Qwen3 to nowa generacja modelu Qwen, który znacznie zwiększa możliwości w zakresie wnioskowania, ogólności, agenta i wielojęzyczności, osiągając wiodące w branży wyniki w wielu kluczowych obszarach i wspierając przełączanie trybów myślenia."
3078
+ "description": "Qwen3 235B A22B, uniwersalny duży model, przeznaczony do różnorodnych złożonych zadań."
2962
3079
  },
2963
3080
  "qwen3-235b-a22b-instruct-2507": {
2964
- "description": "Otwartoźródłowy model trybu nie myślącego oparty na Qwen3, z niewielką poprawą w zakresie kreatywności subiektywnej i bezpieczeństwa modelu w porównaniu do poprzedniej wersji (Tongyi Qianwen 3-235B-A22B)."
3081
+ "description": "Qwen3 235B A22B Instruct 2507, flagowy model instrukcji ogólnego przeznaczenia, odpowiedni do generowania i wnioskowania."
2965
3082
  },
2966
3083
  "qwen3-235b-a22b-thinking-2507": {
2967
- "description": "Otwartoźródłowy model trybu myślącego oparty na Qwen3, z dużymi ulepszeniami w zakresie zdolności logicznych, ogólnych, wzbogacenia wiedzy i kreatywności w porównaniu do poprzedniej wersji (Tongyi Qianwen 3-235B-A22B), odpowiedni do zadań wymagających zaawansowanego wnioskowania."
3084
+ "description": "Qwen3 235B A22B Thinking 2507, model do głębokiego wnioskowania na dużą skalę, przeznaczony do trudnych zadań logicznych."
2968
3085
  },
2969
3086
  "qwen3-30b-a3b": {
2970
- "description": "Qwen3 to nowa generacja modelu Qwen, który znacznie zwiększa możliwości w zakresie wnioskowania, ogólności, agenta i wielojęzyczności, osiągając wiodące w branży wyniki w wielu kluczowych obszarach i wspierając przełączanie trybów myślenia."
3087
+ "description": "Qwen3 30B A3B, średnio-duży model ogólnego przeznaczenia, zapewniający równowagę między kosztem a wydajnością."
2971
3088
  },
2972
3089
  "qwen3-30b-a3b-instruct-2507": {
2973
- "description": "W porównaniu z poprzednią wersją (Qwen3-30B-A3B) ogólne zdolności w języku chińskim, angielskim i wielojęzyczne zostały znacznie poprawione. Specjalna optymalizacja dla zadań subiektywnych i otwartych sprawia, że model lepiej odpowiada preferencjom użytkowników i potrafi dostarczać bardziej pomocne odpowiedzi."
3090
+ "description": "Qwen3 30B A3B Instruct 2507, średnio-duży model instrukcji, odpowiedni do generowania wysokiej jakości treści i pytań."
2974
3091
  },
2975
3092
  "qwen3-30b-a3b-thinking-2507": {
2976
- "description": "Model open source w trybie myślenia oparty na Qwen3, który w porównaniu z poprzednią wersją (Tongyi Qianwen 3-30B-A3B) wykazuje znaczne ulepszenia w zakresie zdolności logicznych, ogólnych, wzbogacenia wiedzy oraz kreatywności. Nadaje się do trudnych scenariuszy wymagających zaawansowanego rozumowania."
3093
+ "description": "Qwen3 30B A3B Thinking 2507, średnio-duży model do wnioskowania, łączący precyzję z efektywnością kosztową."
2977
3094
  },
2978
3095
  "qwen3-32b": {
2979
- "description": "Qwen3 to nowa generacja modelu Qwen, który znacznie zwiększa możliwości w zakresie wnioskowania, ogólności, agenta i wielojęzyczności, osiągając wiodące w branży wyniki w wielu kluczowych obszarach i wspierając przełączanie trybów myślenia."
3096
+ "description": "Qwen3 32B, odpowiedni do ogólnych zadań wymagających większych zdolności rozumienia."
2980
3097
  },
2981
3098
  "qwen3-4b": {
2982
- "description": "Qwen3 to nowa generacja modelu Qwen, który znacznie zwiększa możliwości w zakresie wnioskowania, ogólności, agenta i wielojęzyczności, osiągając wiodące w branży wyniki w wielu kluczowych obszarach i wspierając przełączanie trybów myślenia."
3099
+ "description": "Qwen3 4B, odpowiedni do małych i średnich aplikacji oraz lokalnych scenariuszy wnioskowania."
2983
3100
  },
2984
3101
  "qwen3-8b": {
2985
- "description": "Qwen3 to nowa generacja modelu Qwen, który znacznie zwiększa możliwości w zakresie wnioskowania, ogólności, agenta i wielojęzyczności, osiągając wiodące w branży wyniki w wielu kluczowych obszarach i wspierając przełączanie trybów myślenia."
3102
+ "description": "Qwen3 8B, lekki model, elastyczny w wdrożeniu, odpowiedni do zastosowań o wysokiej równoległości."
2986
3103
  },
2987
3104
  "qwen3-coder-30b-a3b-instruct": {
2988
3105
  "description": "Otwartoźródłowa wersja modelu kodowania Tongyi Qianwen. Najnowszy qwen3-coder-30b-a3b-instruct to model generowania kodu oparty na Qwen3, wyposażony w zaawansowane możliwości agenta kodującego, doskonale radzący sobie z wywoływaniem narzędzi i interakcją ze środowiskiem, umożliwiający autonomiczne programowanie i łączący doskonałe umiejętności kodowania z ogólnymi zdolnościami."
2989
3106
  },
2990
3107
  "qwen3-coder-480b-a35b-instruct": {
2991
- "description": "Otwartoźródłowa wersja modelu kodowania Tongyi Qianwen. Najnowszy qwen3-coder-480b-a35b-instruct to model generowania kodu oparty na Qwen3, posiadający potężne zdolności agenta kodującego, specjalizujący się w wywoływaniu narzędzi i interakcji środowiskowej, umożliwiający autonomiczne programowanie z doskonałymi zdolnościami kodowania i ogólnymi."
3108
+ "description": "Qwen3 Coder 480B A35B Instruct, flagowy model kodowania, obsługujący programowanie w wielu językach i złożone rozumienie kodu."
2992
3109
  },
2993
3110
  "qwen3-coder-flash": {
2994
3111
  "description": "Model kodowania Tongyi Qianwen. Najnowsza seria modeli Qwen3-Coder oparta na Qwen3 to modele generujące kod, posiadające potężne zdolności agenta kodującego, biegłe w wywoływaniu narzędzi i interakcji ze środowiskiem, umożliwiające autonomiczne programowanie, łącząc doskonałe umiejętności kodowania z uniwersalnymi zdolnościami."
@@ -3002,32 +3119,41 @@
3002
3119
  "qwen3-max": {
3003
3120
  "description": "Model serii Tongyi Qianwen 3 Max, który w porównaniu do serii 2.5 oferuje znacznie ulepszone zdolności ogólne, w tym rozumienie tekstu w języku chińskim i angielskim, zdolność do wykonywania złożonych instrukcji, zadania otwarte o charakterze subiektywnym, wielojęzyczność oraz wywoływanie narzędzi; model cechuje się mniejszą halucynacją wiedzy. Najnowsza wersja qwen3-max, w porównaniu do wersji podglądowej qwen3-max-preview, została specjalnie ulepszona w zakresie programowania agentów i wywoływania narzędzi. Wydany oficjalny model osiąga poziom SOTA w swojej dziedzinie i jest dostosowany do bardziej złożonych scenariuszy zastosowań agentów."
3004
3121
  },
3122
+ "qwen3-max-preview": {
3123
+ "description": "Najbardziej zaawansowany model z serii Tongyi Qianwen, odpowiedni do złożonych, wieloetapowych zadań. Wersja podglądowa obsługuje już rozumowanie."
3124
+ },
3005
3125
  "qwen3-next-80b-a3b-instruct": {
3006
3126
  "description": "Nowa generacja otwartego modelu bez trybu myślenia oparta na Qwen3, która w porównaniu z poprzednią wersją (Tongyi Qianwen 3-235B-A22B-Instruct-2507) cechuje się lepszym rozumieniem tekstu w języku chińskim, wzmocnionymi zdolnościami wnioskowania logicznego oraz lepszą wydajnością w zadaniach generowania tekstu."
3007
3127
  },
3008
3128
  "qwen3-next-80b-a3b-thinking": {
3009
- "description": "Nowa generacja otwartego modelu z trybem myślenia oparta na Qwen3, która w porównaniu z poprzednią wersją (Tongyi Qianwen 3-235B-A22B-Thinking-2507) wykazuje poprawę w przestrzeganiu instrukcji oraz bardziej zwięzłe podsumowania w odpowiedziach modelu."
3129
+ "description": "Qwen3 Next 80B A3B Thinking, flagowa wersja modelu do wnioskowania, przeznaczona do złożonych zadań."
3010
3130
  },
3011
3131
  "qwen3-omni-flash": {
3012
3132
  "description": "Model Qwen-Omni obsługuje wejścia w różnych modalnościach, takich jak tekst, obraz, dźwięk i wideo, generując odpowiedzi w formie tekstu lub mowy. Oferuje różnorodne, naturalnie brzmiące głosy, wspiera wiele języków i dialektów, i znajduje zastosowanie w takich obszarach jak tworzenie tekstów, rozpoznawanie obrazów czy asystenci głosowi."
3013
3133
  },
3014
3134
  "qwen3-vl-235b-a22b-instruct": {
3015
- "description": "Qwen3 VL 235B A22B w trybie bez rozumowania (Instruct), przeznaczony do scenariuszy z instrukcjami niewymagającymi głębokiego wnioskowania, zachowując silne zdolności rozumienia wizualnego."
3135
+ "description": "Qwen3 VL 235B A22B Instruct, flagowy model multimodalny, przeznaczony do zaawansowanego rozumienia i twórczości."
3016
3136
  },
3017
3137
  "qwen3-vl-235b-a22b-thinking": {
3018
- "description": "Qwen3 VL 235B A22B w trybie rozumowania (wersja open source), zaprojektowany do złożonych zadań wymagających intensywnego wnioskowania i rozumienia długich materiałów wideo, oferujący najwyższej klasy zdolności w zakresie rozumowania wizualno-tekstowego."
3138
+ "description": "Qwen3 VL 235B A22B Thinking, flagowa wersja do głębokiego wnioskowania, przeznaczona do złożonych zadań multimodalnych i planowania."
3019
3139
  },
3020
3140
  "qwen3-vl-30b-a3b-instruct": {
3021
- "description": "Qwen3 VL 30B w trybie bez rozumowania (Instruct), przeznaczony do standardowych scenariuszy podążania za instrukcjami, oferujący wysoką jakość rozumienia i generowania multimodalnego."
3141
+ "description": "Qwen3 VL 30B A3B Instruct, duży model multimodalny, łączący precyzję z wydajnością wnioskowania."
3022
3142
  },
3023
3143
  "qwen3-vl-30b-a3b-thinking": {
3024
- "description": "Qwen-VL (wersja open source) oferuje zdolności rozumienia wizualnego i generowania tekstu, wspiera interakcję z agentami, kodowanie wizualne, percepcję przestrzenną, rozumienie długich materiałów wideo i głębokie wnioskowanie, a także zapewnia zaawansowane rozpoznawanie tekstu i obsługę wielu języków w złożonych scenariuszach."
3144
+ "description": "Qwen3 VL 30B A3B Thinking, wersja do głębokiego wnioskowania dla złożonych zadań multimodalnych."
3145
+ },
3146
+ "qwen3-vl-32b-instruct": {
3147
+ "description": "Qwen3 VL 32B Instruct, multimodalny model dostrojony do instrukcji, odpowiedni do wysokiej jakości pytań obrazowo-tekstowych i twórczości."
3148
+ },
3149
+ "qwen3-vl-32b-thinking": {
3150
+ "description": "Qwen3 VL 32B Thinking, wersja do głębokiego multimodalnego wnioskowania, wzmacniająca złożone analizy i długie łańcuchy logiczne."
3025
3151
  },
3026
3152
  "qwen3-vl-8b-instruct": {
3027
- "description": "Qwen3 VL 8B w trybie bez rozumowania (Instruct), odpowiedni do standardowych zadań generowania i rozpoznawania multimodalnego."
3153
+ "description": "Qwen3 VL 8B Instruct, lekki model multimodalny, odpowiedni do codziennych pytań wizualnych i integracji aplikacji."
3028
3154
  },
3029
3155
  "qwen3-vl-8b-thinking": {
3030
- "description": "Qwen3 VL 8B w trybie rozumowania, przeznaczony do lekkich scenariuszy multimodalnego wnioskowania i interakcji, z zachowaniem zdolności rozumienia długiego kontekstu."
3156
+ "description": "Qwen3 VL 8B Thinking, multimodalny model łańcucha myślenia, odpowiedni do szczegółowego wnioskowania na podstawie informacji wizualnych."
3031
3157
  },
3032
3158
  "qwen3-vl-flash": {
3033
3159
  "description": "Qwen3 VL Flash: lekka, szybka wersja do wnioskowania, idealna do zastosowań wrażliwych na opóźnienia lub wymagających obsługi dużej liczby żądań."
@@ -3212,6 +3338,12 @@
3212
3338
  "us.anthropic.claude-3-7-sonnet-20250219-v1:0": {
3213
3339
  "description": "Claude 3.7 sonet to najszybszy model następnej generacji od Anthropic. W porównaniu do Claude 3 Haiku, Claude 3.7 Sonet wykazuje poprawę w różnych umiejętnościach i przewyższa największy model poprzedniej generacji, Claude 3 Opus, w wielu testach inteligencji."
3214
3340
  },
3341
+ "us.anthropic.claude-haiku-4-5-20251001-v1:0": {
3342
+ "description": "Claude Haiku 4.5 to najszybszy i najbardziej inteligentny model Haiku firmy Anthropic, oferujący błyskawiczne działanie i zaawansowane możliwości rozumowania."
3343
+ },
3344
+ "us.anthropic.claude-sonnet-4-5-20250929-v1:0": {
3345
+ "description": "Claude Sonnet 4.5 to jak dotąd najbardziej zaawansowany model stworzony przez firmę Anthropic."
3346
+ },
3215
3347
  "v0-1.0-md": {
3216
3348
  "description": "Model v0-1.0-md to starsza wersja modelu udostępniana przez API v0"
3217
3349
  },
@@ -3254,6 +3386,12 @@
3254
3386
  "wizardlm2:8x22b": {
3255
3387
  "description": "WizardLM 2 to model językowy dostarczany przez Microsoft AI, który wyróżnia się w złożonych dialogach, wielojęzyczności, wnioskowaniu i inteligentnych asystentach."
3256
3388
  },
3389
+ "x-ai/grok-4-fast": {
3390
+ "description": "Z radością przedstawiamy Grok 4 Fast — nasze najnowsze osiągnięcie w dziedzinie modeli wnioskowania zoptymalizowanych pod względem kosztów."
3391
+ },
3392
+ "x-ai/grok-code-fast-1": {
3393
+ "description": "Z dumą prezentujemy grok-code-fast-1 — szybki i ekonomiczny model wnioskowania, który doskonale sprawdza się w kodowaniu przez agentów."
3394
+ },
3257
3395
  "x1": {
3258
3396
  "description": "Model Spark X1 zostanie dalej ulepszony, osiągając wyniki w zadaniach ogólnych, takich jak rozumowanie, generowanie tekstu i rozumienie języka, które będą porównywalne z OpenAI o1 i DeepSeek R1."
3259
3397
  },
@@ -3314,6 +3452,9 @@
3314
3452
  "yi-vision-v2": {
3315
3453
  "description": "Model do złożonych zadań wizualnych, oferujący wysokowydajną zdolność rozumienia i analizy na podstawie wielu obrazów."
3316
3454
  },
3455
+ "z-ai/glm-4.6": {
3456
+ "description": "GLM-4.6 to najnowszy flagowy model od Zhipu AI, który znacząco przewyższa poprzednie wersje w zakresie zaawansowanego kodowania, przetwarzania długich tekstów, wnioskowania i zdolności agentowych."
3457
+ },
3317
3458
  "zai-org/GLM-4.5": {
3318
3459
  "description": "GLM-4.5 to podstawowy model zaprojektowany specjalnie do zastosowań agentowych, wykorzystujący architekturę mieszanych ekspertów (Mixture-of-Experts). Model jest głęboko zoptymalizowany pod kątem wywoływania narzędzi, przeglądania stron internetowych, inżynierii oprogramowania i programowania frontendowego, wspierając bezproblemową integrację z inteligentnymi agentami kodu takimi jak Claude Code i Roo Code. GLM-4.5 stosuje hybrydowy tryb wnioskowania, dostosowując się do złożonych i codziennych scenariuszy użycia."
3319
3460
  },