@lobehub/chat 0.147.19 → 0.147.21

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 (40) hide show
  1. package/CHANGELOG.md +50 -0
  2. package/README.md +8 -8
  3. package/README.zh-CN.md +8 -8
  4. package/locales/ar/chat.json +9 -0
  5. package/locales/bg-BG/chat.json +9 -0
  6. package/locales/de-DE/chat.json +9 -0
  7. package/locales/en-US/chat.json +9 -0
  8. package/locales/es-ES/chat.json +9 -0
  9. package/locales/fr-FR/chat.json +9 -0
  10. package/locales/it-IT/chat.json +9 -0
  11. package/locales/ja-JP/chat.json +9 -0
  12. package/locales/ko-KR/chat.json +9 -0
  13. package/locales/nl-NL/chat.json +9 -0
  14. package/locales/pl-PL/chat.json +9 -0
  15. package/locales/pt-BR/chat.json +9 -0
  16. package/locales/ru-RU/chat.json +9 -0
  17. package/locales/tr-TR/chat.json +9 -0
  18. package/locales/vi-VN/chat.json +9 -0
  19. package/locales/zh-CN/chat.json +10 -1
  20. package/locales/zh-TW/chat.json +9 -0
  21. package/package.json +2 -2
  22. package/src/app/chat/(desktop)/features/ChatInput/Footer/DragUpload.tsx +3 -3
  23. package/src/app/chat/_layout/Desktop/SessionHeader.tsx +5 -1
  24. package/src/app/chat/features/SessionListContent/DefaultMode.tsx +13 -14
  25. package/src/app/chat/features/SessionListContent/List/AddButton.tsx +12 -1
  26. package/src/app/chat/features/SessionListContent/List/Item/Actions.tsx +4 -3
  27. package/src/app/chat/features/SessionListContent/List/index.tsx +4 -3
  28. package/src/app/chat/features/SessionListContent/SearchMode.tsx +8 -4
  29. package/src/app/chat/features/SessionListContent/{List/SkeletonList.tsx → SkeletonList.tsx} +8 -4
  30. package/src/app/chat/features/SessionSearchBar/index.tsx +13 -6
  31. package/src/app/chat/features/TopicListContent/Topic/index.tsx +1 -1
  32. package/src/features/ChatInput/ActionBar/Clear.tsx +2 -2
  33. package/src/features/ChatInput/ActionBar/FileUpload.tsx +3 -3
  34. package/src/libs/swr/index.ts +16 -0
  35. package/src/locales/default/chat.ts +11 -2
  36. package/src/store/session/slices/session/action.test.ts +14 -2
  37. package/src/store/session/slices/session/action.ts +84 -15
  38. package/src/store/session/slices/session/initialState.ts +1 -2
  39. package/src/store/session/slices/session/selectors/list.ts +0 -3
  40. package/vercel.json +1 -1
@@ -12,8 +12,6 @@ const customSessionGroups = (s: SessionStore): CustomSessionGroup[] => s.customS
12
12
 
13
13
  const allSessions = (s: SessionStore): LobeSessions => s.sessions;
14
14
 
15
- const searchSessions = (s: SessionStore): LobeSessions => s.searchSessions;
16
-
17
15
  const getSessionById =
18
16
  (id: string) =>
19
17
  (s: SessionStore): LobeAgentSession =>
@@ -59,5 +57,4 @@ export const sessionSelectors = {
59
57
  isSessionListInit,
60
58
  isSomeSessionActive,
61
59
  pinnedSessions,
62
- searchSessions,
63
60
  };
package/vercel.json CHANGED
@@ -1,3 +1,3 @@
1
1
  {
2
- "installCommand": "bun install"
2
+ "installCommand": "npx bun@1.1.3 install"
3
3
  }