@lobehub/lobehub 2.0.0-next.98 → 2.0.0-next.99

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 (96) hide show
  1. package/CHANGELOG.md +25 -0
  2. package/apps/desktop/src/main/services/__tests__/fileSrv.test.ts +603 -0
  3. package/changelog/v1.json +9 -0
  4. package/codecov.yml +1 -0
  5. package/locales/ar/plugin.json +34 -22
  6. package/locales/ar/tool.json +8 -0
  7. package/locales/bg-BG/plugin.json +34 -22
  8. package/locales/bg-BG/tool.json +8 -0
  9. package/locales/de-DE/plugin.json +34 -22
  10. package/locales/de-DE/tool.json +8 -0
  11. package/locales/en-US/plugin.json +34 -22
  12. package/locales/en-US/tool.json +8 -0
  13. package/locales/es-ES/plugin.json +34 -22
  14. package/locales/es-ES/tool.json +8 -0
  15. package/locales/fa-IR/plugin.json +34 -22
  16. package/locales/fa-IR/tool.json +8 -0
  17. package/locales/fr-FR/plugin.json +34 -22
  18. package/locales/fr-FR/tool.json +8 -0
  19. package/locales/it-IT/plugin.json +34 -22
  20. package/locales/it-IT/tool.json +8 -0
  21. package/locales/ja-JP/plugin.json +34 -22
  22. package/locales/ja-JP/tool.json +8 -0
  23. package/locales/ko-KR/plugin.json +34 -22
  24. package/locales/ko-KR/tool.json +8 -0
  25. package/locales/nl-NL/plugin.json +34 -22
  26. package/locales/nl-NL/tool.json +8 -0
  27. package/locales/pl-PL/plugin.json +34 -22
  28. package/locales/pl-PL/tool.json +8 -0
  29. package/locales/pt-BR/plugin.json +34 -22
  30. package/locales/pt-BR/tool.json +8 -0
  31. package/locales/ru-RU/plugin.json +34 -22
  32. package/locales/ru-RU/tool.json +8 -0
  33. package/locales/tr-TR/plugin.json +34 -22
  34. package/locales/tr-TR/tool.json +8 -0
  35. package/locales/vi-VN/plugin.json +34 -22
  36. package/locales/vi-VN/tool.json +8 -0
  37. package/locales/zh-CN/plugin.json +34 -22
  38. package/locales/zh-CN/tool.json +8 -0
  39. package/locales/zh-TW/plugin.json +34 -22
  40. package/locales/zh-TW/tool.json +8 -0
  41. package/package.json +1 -1
  42. package/packages/database/src/models/__tests__/document.test.ts +149 -0
  43. package/packages/database/src/models/chunk.ts +3 -1
  44. package/packages/database/src/models/document.ts +8 -2
  45. package/packages/prompts/src/prompts/knowledgeBaseQA/__snapshots__/formatFileContents.test.ts.snap +75 -0
  46. package/packages/prompts/src/prompts/knowledgeBaseQA/__snapshots__/formatNoSearchResults.test.ts.snap +45 -0
  47. package/packages/prompts/src/prompts/knowledgeBaseQA/__snapshots__/formatSearchResults.test.ts.snap +82 -0
  48. package/packages/prompts/src/prompts/knowledgeBaseQA/formatFileContents.test.ts +118 -0
  49. package/packages/prompts/src/prompts/knowledgeBaseQA/formatFileContents.ts +31 -0
  50. package/packages/prompts/src/prompts/knowledgeBaseQA/formatNoSearchResults.test.ts +25 -0
  51. package/packages/prompts/src/prompts/knowledgeBaseQA/formatNoSearchResults.ts +13 -0
  52. package/packages/prompts/src/prompts/knowledgeBaseQA/formatSearchResults.test.ts +191 -0
  53. package/packages/prompts/src/prompts/knowledgeBaseQA/formatSearchResults.ts +50 -0
  54. package/packages/prompts/src/prompts/knowledgeBaseQA/index.ts +6 -0
  55. package/packages/types/src/rag.ts +13 -4
  56. package/src/features/ChatInput/ActionBar/Token/TokenTag.tsx +2 -2
  57. package/src/features/ChatInput/ActionBar/Token/TokenTagForGroupChat.tsx +2 -2
  58. package/src/features/ChatList/Messages/Group/Tool/Inspector/ToolTitle.tsx +5 -23
  59. package/src/features/ChatList/Messages/Tool/Inspector/ToolTitle.tsx +5 -25
  60. package/src/features/PluginsUI/Render/BuiltinType/index.tsx +1 -1
  61. package/src/helpers/toolEngineering/index.test.ts +3 -3
  62. package/src/helpers/toolEngineering/index.ts +17 -4
  63. package/src/libs/trpc/client/lambda.ts +0 -6
  64. package/src/locales/default/plugin.ts +34 -22
  65. package/src/locales/default/tool.ts +13 -5
  66. package/src/server/routers/lambda/chunk.ts +168 -41
  67. package/src/services/chat/chat.test.ts +3 -3
  68. package/src/services/chat/index.ts +2 -2
  69. package/src/services/rag.ts +6 -2
  70. package/src/store/chat/slices/aiChat/actions/__tests__/conversationLifecycle.test.ts +11 -0
  71. package/src/store/chat/slices/aiChat/actions/__tests__/rag.test.ts +0 -87
  72. package/src/store/chat/slices/aiChat/actions/__tests__/streamingExecutor.test.ts +2 -69
  73. package/src/store/chat/slices/aiChat/actions/conversationLifecycle.ts +0 -2
  74. package/src/store/chat/slices/aiChat/actions/rag.ts +0 -47
  75. package/src/store/chat/slices/aiChat/actions/streamingExecutor.ts +8 -69
  76. package/src/store/chat/slices/builtinTool/actions/index.ts +4 -1
  77. package/src/store/chat/slices/builtinTool/actions/knowledgeBase.ts +174 -0
  78. package/src/store/chat/slices/operation/types.ts +1 -0
  79. package/src/store/chat/slices/thread/action.test.ts +0 -1
  80. package/src/store/chat/slices/thread/action.ts +0 -1
  81. package/src/tools/executionRuntimes.ts +3 -0
  82. package/src/tools/identifiers.ts +13 -0
  83. package/src/tools/index.ts +7 -0
  84. package/src/tools/knowledge-base/ExecutionRuntime/index.ts +96 -0
  85. package/src/tools/knowledge-base/Render/ReadKnowledge/FileCard.tsx +135 -0
  86. package/src/tools/knowledge-base/Render/ReadKnowledge/index.tsx +27 -0
  87. package/src/tools/knowledge-base/Render/SearchKnowledgeBase/Item/index.tsx +54 -0
  88. package/src/tools/knowledge-base/Render/SearchKnowledgeBase/Item/style.ts +51 -0
  89. package/src/tools/knowledge-base/Render/SearchKnowledgeBase/index.tsx +23 -0
  90. package/src/tools/knowledge-base/Render/index.ts +7 -0
  91. package/src/tools/knowledge-base/index.ts +64 -0
  92. package/src/tools/knowledge-base/systemRole.ts +102 -0
  93. package/src/tools/knowledge-base/type.ts +25 -0
  94. package/src/tools/local-system/Intervention/WriteFile/index.tsx +1 -1
  95. package/src/tools/renders.ts +4 -0
  96. package/src/store/chat/agents/createToolEngine.ts +0 -22
@@ -1,4 +1,38 @@
1
1
  {
2
+ "builtins": {
3
+ "lobe-knowledge-base": {
4
+ "apiName": {
5
+ "readKnowledge": "قراءة محتوى قاعدة المعرفة",
6
+ "searchKnowledgeBase": "البحث في قاعدة المعرفة"
7
+ },
8
+ "title": "قاعدة المعرفة"
9
+ },
10
+ "lobe-local-system": {
11
+ "apiName": {
12
+ "editLocalFile": "تحرير الملف",
13
+ "getCommandOutput": "الحصول على مخرجات الكود",
14
+ "globLocalFiles": "البحث عن الملفات",
15
+ "grepContent": "البحث في المحتوى",
16
+ "killCommand": "إيقاف تنفيذ الكود",
17
+ "listLocalFiles": "عرض قائمة الملفات",
18
+ "moveLocalFiles": "نقل الملفات",
19
+ "readLocalFile": "قراءة محتوى الملف",
20
+ "renameLocalFile": "إعادة تسمية",
21
+ "runCommand": "تنفيذ الكود",
22
+ "searchLocalFiles": "البحث في الملفات",
23
+ "writeLocalFile": "كتابة إلى الملف"
24
+ },
25
+ "title": "النظام المحلي"
26
+ },
27
+ "lobe-web-browsing": {
28
+ "apiName": {
29
+ "crawlMultiPages": "قراءة محتوى عدة صفحات",
30
+ "crawlSinglePage": "قراءة محتوى الصفحة",
31
+ "search": "البحث في الصفحات"
32
+ },
33
+ "title": "البحث عبر الإنترنت"
34
+ }
35
+ },
2
36
  "confirm": "تأكيد",
3
37
  "debug": {
4
38
  "arguments": "معلمات الاستدعاء",
@@ -251,23 +285,6 @@
251
285
  "content": "جارٍ استدعاء الإضافة...",
252
286
  "plugin": "تشغيل الإضافة..."
253
287
  },
254
- "localSystem": {
255
- "apiName": {
256
- "editLocalFile": "تحرير الملف",
257
- "getCommandOutput": "الحصول على مخرجات الأوامر",
258
- "globLocalFiles": "البحث عن الملفات المطابقة",
259
- "grepContent": "البحث في المحتوى",
260
- "killCommand": "إيقاف تنفيذ الأمر",
261
- "listLocalFiles": "عرض قائمة الملفات",
262
- "moveLocalFiles": "نقل الملفات",
263
- "readLocalFile": "قراءة محتوى الملف",
264
- "renameLocalFile": "إعادة تسمية",
265
- "runCommand": "تشغيل الأمر",
266
- "searchLocalFiles": "بحث في الملفات",
267
- "writeLocalFile": "كتابة في الملف"
268
- },
269
- "title": "النظام المحلي"
270
- },
271
288
  "mcpInstall": {
272
289
  "CHECKING_INSTALLATION": "جارٍ فحص بيئة التثبيت...",
273
290
  "COMPLETED": "اكتمل التثبيت",
@@ -375,11 +392,6 @@
375
392
  "warning": "⚠️ يرجى التأكد من ثقتك بمصدر هذه الإضافة، الإضافات الخبيثة قد تضر بأمان نظامك."
376
393
  },
377
394
  "search": {
378
- "apiName": {
379
- "crawlMultiPages": "قراءة محتوى عدة صفحات",
380
- "crawlSinglePage": "قراءة محتوى الصفحة",
381
- "search": "البحث في الصفحة"
382
- },
383
395
  "config": {
384
396
  "addKey": "إضافة مفتاح",
385
397
  "close": "حذف",
@@ -14,6 +14,14 @@
14
14
  "images": "الصور:",
15
15
  "prompt": "كلمة تلميح"
16
16
  },
17
+ "lobe-knowledge-base": {
18
+ "readKnowledge": {
19
+ "meta": {
20
+ "chars": "عدد الأحرف",
21
+ "lines": "عدد السطور"
22
+ }
23
+ }
24
+ },
17
25
  "localFiles": {
18
26
  "editFile": {
19
27
  "newString": "استبدال بـ",
@@ -1,4 +1,38 @@
1
1
  {
2
+ "builtins": {
3
+ "lobe-knowledge-base": {
4
+ "apiName": {
5
+ "readKnowledge": "Прочети съдържанието на базата знания",
6
+ "searchKnowledgeBase": "Търси в базата знания"
7
+ },
8
+ "title": "База знания"
9
+ },
10
+ "lobe-local-system": {
11
+ "apiName": {
12
+ "editLocalFile": "Редактирай файл",
13
+ "getCommandOutput": "Вземи изхода от кода",
14
+ "globLocalFiles": "Търси съвпадащи файлове",
15
+ "grepContent": "Търси съдържание",
16
+ "killCommand": "Прекрати изпълнението на кода",
17
+ "listLocalFiles": "Преглед на списъка с файлове",
18
+ "moveLocalFiles": "Премести файлове",
19
+ "readLocalFile": "Прочети съдържанието на файла",
20
+ "renameLocalFile": "Преименувай",
21
+ "runCommand": "Изпълни код",
22
+ "searchLocalFiles": "Търси файлове",
23
+ "writeLocalFile": "Запиши файл"
24
+ },
25
+ "title": "Локална система"
26
+ },
27
+ "lobe-web-browsing": {
28
+ "apiName": {
29
+ "crawlMultiPages": "Прочети съдържание от няколко страници",
30
+ "crawlSinglePage": "Прочети съдържание от страница",
31
+ "search": "Търси страница"
32
+ },
33
+ "title": "Търсене в интернет"
34
+ }
35
+ },
2
36
  "confirm": "Потвърждавам",
3
37
  "debug": {
4
38
  "arguments": "Параметри на извикване",
@@ -251,23 +285,6 @@
251
285
  "content": "Извикване на плъгина...",
252
286
  "plugin": "Плъгинът работи..."
253
287
  },
254
- "localSystem": {
255
- "apiName": {
256
- "editLocalFile": "Редактиране на файл",
257
- "getCommandOutput": "Получаване на изход от командата",
258
- "globLocalFiles": "Търсене на съвпадащи файлове",
259
- "grepContent": "Търсене на съдържание",
260
- "killCommand": "Прекратяване на изпълнението на командата",
261
- "listLocalFiles": "Преглед на списък с файлове",
262
- "moveLocalFiles": "Преместване на файлове",
263
- "readLocalFile": "Четене на съдържание на файл",
264
- "renameLocalFile": "Преименуване",
265
- "runCommand": "Изпълни код",
266
- "searchLocalFiles": "Търсене на файлове",
267
- "writeLocalFile": "Запис в файл"
268
- },
269
- "title": "Локална система"
270
- },
271
288
  "mcpInstall": {
272
289
  "CHECKING_INSTALLATION": "Проверка на инсталационната среда...",
273
290
  "COMPLETED": "Инсталацията е завършена",
@@ -375,11 +392,6 @@
375
392
  "warning": "⚠️ Моля, уверете се, че имате доверие на източника на този плъгин, злонамерени плъгини могат да застрашат сигурността на вашата система."
376
393
  },
377
394
  "search": {
378
- "apiName": {
379
- "crawlMultiPages": "Четене на съдържание от множество страници",
380
- "crawlSinglePage": "Четене на съдържание от страница",
381
- "search": "Търсене на страници"
382
- },
383
395
  "config": {
384
396
  "addKey": "Добавяне на ключ",
385
397
  "close": "Изтриване",
@@ -14,6 +14,14 @@
14
14
  "images": "Изображения:",
15
15
  "prompt": "подсказка"
16
16
  },
17
+ "lobe-knowledge-base": {
18
+ "readKnowledge": {
19
+ "meta": {
20
+ "chars": "Брой знаци",
21
+ "lines": "Брой редове"
22
+ }
23
+ }
24
+ },
17
25
  "localFiles": {
18
26
  "editFile": {
19
27
  "newString": "Замени с",
@@ -1,4 +1,38 @@
1
1
  {
2
+ "builtins": {
3
+ "lobe-knowledge-base": {
4
+ "apiName": {
5
+ "readKnowledge": "Wissensdatenbank lesen",
6
+ "searchKnowledgeBase": "Wissensdatenbank durchsuchen"
7
+ },
8
+ "title": "Wissensdatenbank"
9
+ },
10
+ "lobe-local-system": {
11
+ "apiName": {
12
+ "editLocalFile": "Datei bearbeiten",
13
+ "getCommandOutput": "Codeausgabe abrufen",
14
+ "globLocalFiles": "Dateien durchsuchen",
15
+ "grepContent": "Inhalt durchsuchen",
16
+ "killCommand": "Codeausführung beenden",
17
+ "listLocalFiles": "Dateiliste anzeigen",
18
+ "moveLocalFiles": "Dateien verschieben",
19
+ "readLocalFile": "Dateiinhalt lesen",
20
+ "renameLocalFile": "Datei umbenennen",
21
+ "runCommand": "Code ausführen",
22
+ "searchLocalFiles": "Dateien suchen",
23
+ "writeLocalFile": "In Datei schreiben"
24
+ },
25
+ "title": "Lokales System"
26
+ },
27
+ "lobe-web-browsing": {
28
+ "apiName": {
29
+ "crawlMultiPages": "Inhalte mehrerer Seiten lesen",
30
+ "crawlSinglePage": "Seiteninhalt lesen",
31
+ "search": "Seiten durchsuchen"
32
+ },
33
+ "title": "Websuche"
34
+ }
35
+ },
2
36
  "confirm": "Bestätigen",
3
37
  "debug": {
4
38
  "arguments": "Aufrufparameter",
@@ -251,23 +285,6 @@
251
285
  "content": "Plugin wird aufgerufen...",
252
286
  "plugin": "Plugin läuft..."
253
287
  },
254
- "localSystem": {
255
- "apiName": {
256
- "editLocalFile": "Datei bearbeiten",
257
- "getCommandOutput": "Codeausgabe abrufen",
258
- "globLocalFiles": "Dateien durchsuchen",
259
- "grepContent": "Inhalt durchsuchen",
260
- "killCommand": "Codeausführung beenden",
261
- "listLocalFiles": "Dateiliste anzeigen",
262
- "moveLocalFiles": "Dateien verschieben",
263
- "readLocalFile": "Dateiinhalt lesen",
264
- "renameLocalFile": "Datei umbenennen",
265
- "runCommand": "Befehl ausführen",
266
- "searchLocalFiles": "Dateien suchen",
267
- "writeLocalFile": "Datei schreiben"
268
- },
269
- "title": "Lokales System"
270
- },
271
288
  "mcpInstall": {
272
289
  "CHECKING_INSTALLATION": "Installationsumgebung wird geprüft...",
273
290
  "COMPLETED": "Installation abgeschlossen",
@@ -375,11 +392,6 @@
375
392
  "warning": "⚠️ Bitte stellen Sie sicher, dass Sie der Quelle dieses Plugins vertrauen. Bösartige Plugins können die Systemsicherheit gefährden."
376
393
  },
377
394
  "search": {
378
- "apiName": {
379
- "crawlMultiPages": "Mehrere Seiteninhalt lesen",
380
- "crawlSinglePage": "Seiteninhalt lesen",
381
- "search": "Seite durchsuchen"
382
- },
383
395
  "config": {
384
396
  "addKey": "Schlüssel hinzufügen",
385
397
  "close": "Löschen",
@@ -14,6 +14,14 @@
14
14
  "images": "Bilder:",
15
15
  "prompt": "Hinweiswort"
16
16
  },
17
+ "lobe-knowledge-base": {
18
+ "readKnowledge": {
19
+ "meta": {
20
+ "chars": "Zeichenanzahl",
21
+ "lines": "Zeilenzahl"
22
+ }
23
+ }
24
+ },
17
25
  "localFiles": {
18
26
  "editFile": {
19
27
  "newString": "Ersetzen durch",
@@ -1,4 +1,38 @@
1
1
  {
2
+ "builtins": {
3
+ "lobe-knowledge-base": {
4
+ "apiName": {
5
+ "readKnowledge": "Read Knowledge Base Content",
6
+ "searchKnowledgeBase": "Search Knowledge Base"
7
+ },
8
+ "title": "Knowledge Base"
9
+ },
10
+ "lobe-local-system": {
11
+ "apiName": {
12
+ "editLocalFile": "Edit File",
13
+ "getCommandOutput": "Get Command Output",
14
+ "globLocalFiles": "Search Files by Pattern",
15
+ "grepContent": "Search Content",
16
+ "killCommand": "Terminate Command Execution",
17
+ "listLocalFiles": "View File List",
18
+ "moveLocalFiles": "Move Files",
19
+ "readLocalFile": "Read File Content",
20
+ "renameLocalFile": "Rename File",
21
+ "runCommand": "Execute Command",
22
+ "searchLocalFiles": "Search Files",
23
+ "writeLocalFile": "Write to File"
24
+ },
25
+ "title": "Local System"
26
+ },
27
+ "lobe-web-browsing": {
28
+ "apiName": {
29
+ "crawlMultiPages": "Read Multiple Pages",
30
+ "crawlSinglePage": "Read Page Content",
31
+ "search": "Search Web Pages"
32
+ },
33
+ "title": "Web Browsing"
34
+ }
35
+ },
2
36
  "confirm": "Confirm",
3
37
  "debug": {
4
38
  "arguments": "Call Arguments",
@@ -251,23 +285,6 @@
251
285
  "content": "Calling plugin...",
252
286
  "plugin": "Plugin running..."
253
287
  },
254
- "localSystem": {
255
- "apiName": {
256
- "getCommandOutput": "Get Code Output",
257
- "globLocalFiles": "Match Files",
258
- "grepContent": "Search Content",
259
- "killCommand": "Kill Code Execution",
260
- "listLocalFiles": "View File List",
261
- "moveLocalFiles": "Move Files",
262
- "readLocalFile": "Read File Content",
263
- "renameLocalFile": "Rename",
264
- "runCommand": "Run Code",
265
- "searchLocalFiles": "Search Files",
266
- "writeLocalFile": "Write File",
267
- "editLocalFile": "Edit File"
268
- },
269
- "title": "Local System"
270
- },
271
288
  "mcpInstall": {
272
289
  "CHECKING_INSTALLATION": "Checking installation environment...",
273
290
  "COMPLETED": "Installation completed",
@@ -375,11 +392,6 @@
375
392
  "warning": "⚠️ Please confirm you trust the source of this plugin. Malicious plugins may harm your system security."
376
393
  },
377
394
  "search": {
378
- "apiName": {
379
- "crawlMultiPages": "Read Multiple Pages Content",
380
- "crawlSinglePage": "Read Page Content",
381
- "search": "Search Pages"
382
- },
383
395
  "config": {
384
396
  "addKey": "Add Key",
385
397
  "close": "Delete",
@@ -14,6 +14,14 @@
14
14
  "images": "Images:",
15
15
  "prompt": "Prompt"
16
16
  },
17
+ "lobe-knowledge-base": {
18
+ "readKnowledge": {
19
+ "meta": {
20
+ "chars": "Character Count",
21
+ "lines": "Line Count"
22
+ }
23
+ }
24
+ },
17
25
  "localFiles": {
18
26
  "editFile": {
19
27
  "newString": "Replace with",
@@ -1,4 +1,38 @@
1
1
  {
2
+ "builtins": {
3
+ "lobe-knowledge-base": {
4
+ "apiName": {
5
+ "readKnowledge": "Leer contenido de la base de conocimientos",
6
+ "searchKnowledgeBase": "Buscar en la base de conocimientos"
7
+ },
8
+ "title": "Base de conocimientos"
9
+ },
10
+ "lobe-local-system": {
11
+ "apiName": {
12
+ "editLocalFile": "Editar archivo",
13
+ "getCommandOutput": "Obtener salida del código",
14
+ "globLocalFiles": "Buscar archivos por patrón",
15
+ "grepContent": "Buscar contenido",
16
+ "killCommand": "Detener ejecución del código",
17
+ "listLocalFiles": "Ver lista de archivos",
18
+ "moveLocalFiles": "Mover archivos",
19
+ "readLocalFile": "Leer contenido del archivo",
20
+ "renameLocalFile": "Renombrar archivo",
21
+ "runCommand": "Ejecutar código",
22
+ "searchLocalFiles": "Buscar archivos",
23
+ "writeLocalFile": "Escribir archivo"
24
+ },
25
+ "title": "Sistema local"
26
+ },
27
+ "lobe-web-browsing": {
28
+ "apiName": {
29
+ "crawlMultiPages": "Leer contenido de múltiples páginas",
30
+ "crawlSinglePage": "Leer contenido de la página",
31
+ "search": "Buscar en la web"
32
+ },
33
+ "title": "Búsqueda en línea"
34
+ }
35
+ },
2
36
  "confirm": "Confirmar",
3
37
  "debug": {
4
38
  "arguments": "Parámetros de llamada",
@@ -251,23 +285,6 @@
251
285
  "content": "Llamando al plugin...",
252
286
  "plugin": "Plugin en ejecución..."
253
287
  },
254
- "localSystem": {
255
- "apiName": {
256
- "editLocalFile": "Editar archivo",
257
- "getCommandOutput": "Obtener salida del código",
258
- "globLocalFiles": "Buscar archivos coincidentes",
259
- "grepContent": "Buscar contenido",
260
- "killCommand": "Detener ejecución del código",
261
- "listLocalFiles": "Ver lista de archivos",
262
- "moveLocalFiles": "Mover archivos",
263
- "readLocalFile": "Leer contenido del archivo",
264
- "renameLocalFile": "Renombrar",
265
- "runCommand": "Ejecutar código",
266
- "searchLocalFiles": "Buscar archivos",
267
- "writeLocalFile": "Escribir archivo"
268
- },
269
- "title": "Sistema local"
270
- },
271
288
  "mcpInstall": {
272
289
  "CHECKING_INSTALLATION": "Verificando entorno de instalación...",
273
290
  "COMPLETED": "Instalación completada",
@@ -375,11 +392,6 @@
375
392
  "warning": "⚠️ Por favor confirme que confía en la fuente de este plugin, plugins maliciosos pueden comprometer la seguridad de su sistema."
376
393
  },
377
394
  "search": {
378
- "apiName": {
379
- "crawlMultiPages": "Leer contenido de múltiples páginas",
380
- "crawlSinglePage": "Leer contenido de página",
381
- "search": "Buscar página"
382
- },
383
395
  "config": {
384
396
  "addKey": "Agregar clave",
385
397
  "close": "Eliminar",
@@ -14,6 +14,14 @@
14
14
  "images": "Imágenes:",
15
15
  "prompt": "Palabra de aviso"
16
16
  },
17
+ "lobe-knowledge-base": {
18
+ "readKnowledge": {
19
+ "meta": {
20
+ "chars": "Número de caracteres",
21
+ "lines": "Número de líneas"
22
+ }
23
+ }
24
+ },
17
25
  "localFiles": {
18
26
  "editFile": {
19
27
  "newString": "Reemplazar con",
@@ -1,4 +1,38 @@
1
1
  {
2
+ "builtins": {
3
+ "lobe-knowledge-base": {
4
+ "apiName": {
5
+ "readKnowledge": "خواندن محتوای پایگاه دانش",
6
+ "searchKnowledgeBase": "جستجو در پایگاه دانش"
7
+ },
8
+ "title": "پایگاه دانش"
9
+ },
10
+ "lobe-local-system": {
11
+ "apiName": {
12
+ "editLocalFile": "ویرایش فایل",
13
+ "getCommandOutput": "دریافت خروجی کد",
14
+ "globLocalFiles": "جستجوی فایل‌ها با الگو",
15
+ "grepContent": "جستجوی محتوا",
16
+ "killCommand": "توقف اجرای کد",
17
+ "listLocalFiles": "مشاهده فهرست فایل‌ها",
18
+ "moveLocalFiles": "انتقال فایل‌ها",
19
+ "readLocalFile": "خواندن محتوای فایل",
20
+ "renameLocalFile": "تغییر نام فایل",
21
+ "runCommand": "اجرای کد",
22
+ "searchLocalFiles": "جستجوی فایل‌ها",
23
+ "writeLocalFile": "نوشتن در فایل"
24
+ },
25
+ "title": "سیستم محلی"
26
+ },
27
+ "lobe-web-browsing": {
28
+ "apiName": {
29
+ "crawlMultiPages": "خواندن محتوای چندین صفحه",
30
+ "crawlSinglePage": "خواندن محتوای صفحه",
31
+ "search": "جستجوی صفحات"
32
+ },
33
+ "title": "جستجوی آنلاین"
34
+ }
35
+ },
2
36
  "confirm": "تأیید",
3
37
  "debug": {
4
38
  "arguments": "پارامترهای فراخوانی",
@@ -251,23 +285,6 @@
251
285
  "content": "در حال فراخوانی افزونه...",
252
286
  "plugin": "افزونه در حال اجرا..."
253
287
  },
254
- "localSystem": {
255
- "apiName": {
256
- "editLocalFile": "ویرایش فایل",
257
- "getCommandOutput": "دریافت خروجی کد",
258
- "globLocalFiles": "جستجوی فایل‌ها با الگو",
259
- "grepContent": "جستجوی محتوا",
260
- "killCommand": "متوقف کردن اجرای کد",
261
- "listLocalFiles": "مشاهده لیست فایل‌ها",
262
- "moveLocalFiles": "جابجایی فایل‌ها",
263
- "readLocalFile": "خواندن محتوای فایل",
264
- "renameLocalFile": "تغییر نام",
265
- "runCommand": "اجرای کد",
266
- "searchLocalFiles": "جستجوی فایل‌ها",
267
- "writeLocalFile": "نوشتن در فایل"
268
- },
269
- "title": "سیستم محلی"
270
- },
271
288
  "mcpInstall": {
272
289
  "CHECKING_INSTALLATION": "در حال بررسی محیط نصب...",
273
290
  "COMPLETED": "نصب کامل شد",
@@ -375,11 +392,6 @@
375
392
  "warning": "⚠️ لطفاً اطمینان حاصل کنید که به منبع این افزونه اعتماد دارید، افزونه‌های مخرب ممکن است امنیت سیستم شما را به خطر بیندازند."
376
393
  },
377
394
  "search": {
378
- "apiName": {
379
- "crawlMultiPages": "خواندن محتوای چند صفحه",
380
- "crawlSinglePage": "خواندن محتوای صفحه",
381
- "search": "جستجوی صفحه"
382
- },
383
395
  "config": {
384
396
  "addKey": "افزودن کلید",
385
397
  "close": "حذف",
@@ -14,6 +14,14 @@
14
14
  "images": "تصاویر:",
15
15
  "prompt": "کلمات کلیدی"
16
16
  },
17
+ "lobe-knowledge-base": {
18
+ "readKnowledge": {
19
+ "meta": {
20
+ "chars": "تعداد نویسه‌ها",
21
+ "lines": "تعداد خطوط"
22
+ }
23
+ }
24
+ },
17
25
  "localFiles": {
18
26
  "editFile": {
19
27
  "newString": "جایگزین با",
@@ -1,4 +1,38 @@
1
1
  {
2
+ "builtins": {
3
+ "lobe-knowledge-base": {
4
+ "apiName": {
5
+ "readKnowledge": "Lire le contenu de la base de connaissances",
6
+ "searchKnowledgeBase": "Rechercher dans la base de connaissances"
7
+ },
8
+ "title": "Base de connaissances"
9
+ },
10
+ "lobe-local-system": {
11
+ "apiName": {
12
+ "editLocalFile": "Modifier le fichier",
13
+ "getCommandOutput": "Obtenir la sortie du code",
14
+ "globLocalFiles": "Rechercher des fichiers correspondants",
15
+ "grepContent": "Rechercher dans le contenu",
16
+ "killCommand": "Arrêter l'exécution du code",
17
+ "listLocalFiles": "Afficher la liste des fichiers",
18
+ "moveLocalFiles": "Déplacer les fichiers",
19
+ "readLocalFile": "Lire le contenu du fichier",
20
+ "renameLocalFile": "Renommer",
21
+ "runCommand": "Exécuter le code",
22
+ "searchLocalFiles": "Rechercher des fichiers",
23
+ "writeLocalFile": "Écrire dans le fichier"
24
+ },
25
+ "title": "Système local"
26
+ },
27
+ "lobe-web-browsing": {
28
+ "apiName": {
29
+ "crawlMultiPages": "Lire le contenu de plusieurs pages",
30
+ "crawlSinglePage": "Lire le contenu de la page",
31
+ "search": "Rechercher sur la page"
32
+ },
33
+ "title": "Recherche en ligne"
34
+ }
35
+ },
2
36
  "confirm": "Confirmer",
3
37
  "debug": {
4
38
  "arguments": "Arguments d'appel",
@@ -251,23 +285,6 @@
251
285
  "content": "Appel du plugin en cours...",
252
286
  "plugin": "Plugin en cours d'exécution..."
253
287
  },
254
- "localSystem": {
255
- "apiName": {
256
- "editLocalFile": "Modifier le fichier",
257
- "getCommandOutput": "Obtenir la sortie du code",
258
- "globLocalFiles": "Rechercher des fichiers correspondants",
259
- "grepContent": "Rechercher dans le contenu",
260
- "killCommand": "Arrêter l'exécution du code",
261
- "listLocalFiles": "Voir la liste des fichiers",
262
- "moveLocalFiles": "Déplacer les fichiers",
263
- "readLocalFile": "Lire le contenu du fichier",
264
- "renameLocalFile": "Renommer",
265
- "runCommand": "Exécuter le code",
266
- "searchLocalFiles": "Rechercher des fichiers",
267
- "writeLocalFile": "Écrire dans un fichier"
268
- },
269
- "title": "Système local"
270
- },
271
288
  "mcpInstall": {
272
289
  "CHECKING_INSTALLATION": "Vérification de l'environnement d'installation...",
273
290
  "COMPLETED": "Installation terminée",
@@ -375,11 +392,6 @@
375
392
  "warning": "⚠️ Veuillez confirmer que vous faites confiance à la source de ce plugin, un plugin malveillant pourrait compromettre la sécurité de votre système."
376
393
  },
377
394
  "search": {
378
- "apiName": {
379
- "crawlMultiPages": "Lire le contenu de plusieurs pages",
380
- "crawlSinglePage": "Lire le contenu de la page",
381
- "search": "Rechercher sur la page"
382
- },
383
395
  "config": {
384
396
  "addKey": "Ajouter une clé",
385
397
  "close": "Supprimer",
@@ -14,6 +14,14 @@
14
14
  "images": "Images :",
15
15
  "prompt": "Mot de rappel"
16
16
  },
17
+ "lobe-knowledge-base": {
18
+ "readKnowledge": {
19
+ "meta": {
20
+ "chars": "Nombre de caractères",
21
+ "lines": "Nombre de lignes"
22
+ }
23
+ }
24
+ },
17
25
  "localFiles": {
18
26
  "editFile": {
19
27
  "newString": "Remplacer par",