mirror of
https://github.com/langbot-app/LangBot.git
synced 2026-10-24 17:35:19 +08:00
fix(operation-trace): record uninstalls and deletes, drop assistant chatter
- Split the route rules on the HTTP method so a DELETE is classified as a destructive action instead of falling into the read/write bucket. Uninstalling a plugin or skill and deleting a knowledge base or MCP server were recorded as a view/update and left no readable trace. - Add plugin_uninstall, skill_uninstall, knowledge_base_delete and mcp_delete. - Skip the assistant's own conversation traffic: a chat session produced opaque create/resource rows that answered nothing. - Localize the new actions and the assistant_conversation resource type in all locales. - Sync the assistant tool action list and apply ruff formatting.
This commit is contained in:
@@ -2797,6 +2797,7 @@ const enUS = {
|
||||
member: 'Member',
|
||||
member_invitation: 'Member invitation',
|
||||
operation_log: 'Operation log',
|
||||
assistant_conversation: 'Assistant conversation',
|
||||
plugin: 'Extension',
|
||||
plugin_page: 'Extension page',
|
||||
skill: 'Skill',
|
||||
@@ -2822,14 +2823,18 @@ const enUS = {
|
||||
plugin_view: 'View extension pages',
|
||||
plugin_config: 'Change extension config',
|
||||
plugin_install: 'Install extension',
|
||||
plugin_uninstall: 'Uninstall extension',
|
||||
plugin_upgrade: 'Upgrade extension',
|
||||
page_view: 'View extension page',
|
||||
skill_view: 'View skill',
|
||||
skill_install: 'Install skill',
|
||||
skill_uninstall: 'Uninstall skill',
|
||||
knowledge_base_view: 'View knowledge base',
|
||||
knowledge_base_update: 'Change knowledge base',
|
||||
knowledge_base_delete: 'Delete knowledge base',
|
||||
mcp_view: 'View MCP server',
|
||||
mcp_config: 'Change MCP server',
|
||||
mcp_delete: 'Delete MCP server',
|
||||
pipeline_extensions_update: 'Update pipeline extension bindings',
|
||||
export: 'Export data',
|
||||
execute: 'Execute task',
|
||||
|
||||
@@ -2852,6 +2852,7 @@ const esES = {
|
||||
member: 'Miembro',
|
||||
member_invitation: 'Invitación de miembro',
|
||||
operation_log: 'Registro de operaciones',
|
||||
assistant_conversation: 'Conversación del asistente',
|
||||
plugin: 'Extensión',
|
||||
plugin_page: 'Página de extensión',
|
||||
skill: 'Habilidad',
|
||||
@@ -2877,14 +2878,18 @@ const esES = {
|
||||
plugin_view: 'Ver páginas de extensión',
|
||||
plugin_config: 'Cambiar configuración de extensión',
|
||||
plugin_install: 'Instalar extensión',
|
||||
plugin_uninstall: 'Desinstalar extensión',
|
||||
plugin_upgrade: 'Actualizar extensión',
|
||||
page_view: 'Ver página de extensión',
|
||||
skill_view: 'Ver habilidad',
|
||||
skill_install: 'Instalar habilidad',
|
||||
skill_uninstall: 'Desinstalar habilidad',
|
||||
knowledge_base_view: 'Ver base de conocimiento',
|
||||
knowledge_base_update: 'Cambiar base de conocimiento',
|
||||
knowledge_base_delete: 'Eliminar base de conocimiento',
|
||||
mcp_view: 'Ver servidor MCP',
|
||||
mcp_config: 'Cambiar servidor MCP',
|
||||
mcp_delete: 'Eliminar servidor MCP',
|
||||
pipeline_extensions_update:
|
||||
'Actualizar vinculaciones de extensiones del pipeline',
|
||||
export: 'Exportar datos',
|
||||
|
||||
@@ -2815,6 +2815,7 @@ const jaJP = {
|
||||
member: 'メンバー',
|
||||
member_invitation: 'メンバー招待',
|
||||
operation_log: '操作ログ',
|
||||
assistant_conversation: 'アシスタント会話',
|
||||
plugin: '拡張機能',
|
||||
plugin_page: '拡張ページ',
|
||||
skill: 'スキル',
|
||||
@@ -2840,14 +2841,18 @@ const jaJP = {
|
||||
plugin_view: '拡張ページを閲覧',
|
||||
plugin_config: '拡張設定を変更',
|
||||
plugin_install: '拡張をインストール',
|
||||
plugin_uninstall: '拡張をアンインストール',
|
||||
plugin_upgrade: '拡張をアップグレード',
|
||||
page_view: '拡張ページを閲覧',
|
||||
skill_view: 'スキルを閲覧',
|
||||
skill_install: 'スキルをインストール',
|
||||
skill_uninstall: 'スキルをアンインストール',
|
||||
knowledge_base_view: 'ナレッジベースを閲覧',
|
||||
knowledge_base_update: 'ナレッジベースを変更',
|
||||
knowledge_base_delete: 'ナレッジベースを削除',
|
||||
mcp_view: 'MCP サーバーを閲覧',
|
||||
mcp_config: 'MCP サーバーを変更',
|
||||
mcp_delete: 'MCP サーバーを削除',
|
||||
pipeline_extensions_update: 'パイプライン拡張の紐付けを変更',
|
||||
export: 'データをエクスポート',
|
||||
execute: 'タスクを実行',
|
||||
|
||||
@@ -2822,6 +2822,7 @@ const ruRU = {
|
||||
member: 'Участник',
|
||||
member_invitation: 'Приглашение участника',
|
||||
operation_log: 'Журнал операций',
|
||||
assistant_conversation: 'Сессия ассистента',
|
||||
plugin: 'Расширение',
|
||||
plugin_page: 'Страница расширения',
|
||||
skill: 'Навык',
|
||||
@@ -2847,14 +2848,18 @@ const ruRU = {
|
||||
plugin_view: 'Просмотр страниц расширения',
|
||||
plugin_config: 'Изменение настроек расширения',
|
||||
plugin_install: 'Установка расширения',
|
||||
plugin_uninstall: 'Удаление расширения',
|
||||
plugin_upgrade: 'Обновление расширения',
|
||||
page_view: 'Просмотр страницы расширения',
|
||||
skill_view: 'Просмотр навыка',
|
||||
skill_install: 'Установка навыка',
|
||||
skill_uninstall: 'Удаление навыка',
|
||||
knowledge_base_view: 'Просмотр базы знаний',
|
||||
knowledge_base_update: 'Изменение базы знаний',
|
||||
knowledge_base_delete: 'Удаление базы знаний',
|
||||
mcp_view: 'Просмотр сервера MCP',
|
||||
mcp_config: 'Изменение сервера MCP',
|
||||
mcp_delete: 'Удаление сервера MCP',
|
||||
pipeline_extensions_update: 'Изменение привязок расширений конвейера',
|
||||
export: 'Экспорт данных',
|
||||
execute: 'Выполнение задачи',
|
||||
|
||||
@@ -2749,6 +2749,7 @@ const thTH = {
|
||||
member: 'สมาชิก',
|
||||
member_invitation: 'คำเชิญสมาชิก',
|
||||
operation_log: 'บันทึกการดำเนินการ',
|
||||
assistant_conversation: 'บทสนทนาผู้ช่วย',
|
||||
plugin: 'ส่วนขยาย',
|
||||
plugin_page: 'หน้าส่วนขยาย',
|
||||
skill: 'ทักษะ',
|
||||
@@ -2774,14 +2775,18 @@ const thTH = {
|
||||
plugin_view: 'ดูหน้าส่วนขยาย',
|
||||
plugin_config: 'แก้ไขการตั้งค่าส่วนขยาย',
|
||||
plugin_install: 'ติดตั้งส่วนขยาย',
|
||||
plugin_uninstall: 'ถอนการติดตั้งส่วนขยาย',
|
||||
plugin_upgrade: 'อัปเกรดส่วนขยาย',
|
||||
page_view: 'ดูหน้าส่วนขยาย',
|
||||
skill_view: 'ดูทักษะ',
|
||||
skill_install: 'ติดตั้งทักษะ',
|
||||
skill_uninstall: 'ถอนการติดตั้งทักษะ',
|
||||
knowledge_base_view: 'ดูฐานความรู้',
|
||||
knowledge_base_update: 'แก้ไขฐานความรู้',
|
||||
knowledge_base_delete: 'ลบฐานความรู้',
|
||||
mcp_view: 'ดูเซิร์ฟเวอร์ MCP',
|
||||
mcp_config: 'แก้ไขเซิร์ฟเวอร์ MCP',
|
||||
mcp_delete: 'ลบเซิร์ฟเวอร์ MCP',
|
||||
pipeline_extensions_update: 'แก้ไขการผูกส่วนขยายของไปป์ไลน์',
|
||||
export: 'ส่งออกข้อมูล',
|
||||
execute: 'รันงาน',
|
||||
|
||||
@@ -2784,6 +2784,7 @@ const viVN = {
|
||||
member: 'Thành viên',
|
||||
member_invitation: 'Lời mời thành viên',
|
||||
operation_log: 'Nhật ký thao tác',
|
||||
assistant_conversation: 'Phiên trợ lý',
|
||||
plugin: 'Tiện ích mở rộng',
|
||||
plugin_page: 'Trang tiện ích',
|
||||
skill: 'Kỹ năng',
|
||||
@@ -2809,14 +2810,18 @@ const viVN = {
|
||||
plugin_view: 'Xem trang tiện ích',
|
||||
plugin_config: 'Thay đổi cấu hình tiện ích',
|
||||
plugin_install: 'Cài đặt tiện ích',
|
||||
plugin_uninstall: 'Gỡ cài đặt tiện ích',
|
||||
plugin_upgrade: 'Nâng cấp tiện ích',
|
||||
page_view: 'Xem trang tiện ích',
|
||||
skill_view: 'Xem kỹ năng',
|
||||
skill_install: 'Cài đặt kỹ năng',
|
||||
skill_uninstall: 'Gỡ cài đặt kỹ năng',
|
||||
knowledge_base_view: 'Xem cơ sở tri thức',
|
||||
knowledge_base_update: 'Thay đổi cơ sở tri thức',
|
||||
knowledge_base_delete: 'Xóa cơ sở tri thức',
|
||||
mcp_view: 'Xem máy chủ MCP',
|
||||
mcp_config: 'Thay đổi máy chủ MCP',
|
||||
mcp_delete: 'Xóa máy chủ MCP',
|
||||
pipeline_extensions_update: 'Cập nhật liên kết tiện ích của pipeline',
|
||||
export: 'Xuất dữ liệu',
|
||||
execute: 'Chạy tác vụ',
|
||||
|
||||
@@ -2647,6 +2647,7 @@ const zhHans = {
|
||||
member: '成员',
|
||||
member_invitation: '成员邀请',
|
||||
operation_log: '操作日志',
|
||||
assistant_conversation: '助手会话',
|
||||
plugin: '扩展',
|
||||
plugin_page: '扩展页面',
|
||||
skill: '技能',
|
||||
@@ -2672,14 +2673,18 @@ const zhHans = {
|
||||
plugin_view: '查看扩展页面',
|
||||
plugin_config: '修改扩展配置',
|
||||
plugin_install: '安装扩展',
|
||||
plugin_uninstall: '卸载扩展',
|
||||
plugin_upgrade: '升级扩展',
|
||||
page_view: '查看扩展页面',
|
||||
skill_view: '查看技能',
|
||||
skill_install: '安装技能',
|
||||
skill_uninstall: '卸载技能',
|
||||
knowledge_base_view: '查看知识库',
|
||||
knowledge_base_update: '修改知识库',
|
||||
knowledge_base_delete: '删除知识库',
|
||||
mcp_view: '查看 MCP 服务器',
|
||||
mcp_config: '修改 MCP 服务器',
|
||||
mcp_delete: '删除 MCP 服务器',
|
||||
pipeline_extensions_update: '修改管道扩展绑定',
|
||||
export: '导出数据',
|
||||
execute: '执行任务',
|
||||
|
||||
@@ -2648,6 +2648,7 @@ const zhHant = {
|
||||
member: '成員',
|
||||
member_invitation: '成員邀請',
|
||||
operation_log: '操作日誌',
|
||||
assistant_conversation: '助手會話',
|
||||
plugin: '擴充',
|
||||
plugin_page: '擴充頁面',
|
||||
skill: '技能',
|
||||
@@ -2673,14 +2674,18 @@ const zhHant = {
|
||||
plugin_view: '查看擴充頁面',
|
||||
plugin_config: '修改擴充設定',
|
||||
plugin_install: '安裝擴充',
|
||||
plugin_uninstall: '解除安裝擴充',
|
||||
plugin_upgrade: '升級擴充',
|
||||
page_view: '查看擴充頁面',
|
||||
skill_view: '查看技能',
|
||||
skill_install: '安裝技能',
|
||||
skill_uninstall: '解除安裝技能',
|
||||
knowledge_base_view: '查看知識庫',
|
||||
knowledge_base_update: '修改知識庫',
|
||||
knowledge_base_delete: '刪除知識庫',
|
||||
mcp_view: '查看 MCP 伺服器',
|
||||
mcp_config: '修改 MCP 伺服器',
|
||||
mcp_delete: '刪除 MCP 伺服器',
|
||||
pipeline_extensions_update: '修改管道擴展綁定',
|
||||
export: '匯出資料',
|
||||
execute: '執行任務',
|
||||
|
||||
Reference in New Issue
Block a user