Skip to content

An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作

:sparkles: AI Agent https://github.com/siyuan-note/siyuan/issues/17797

Daniel3d44f275dd26
diff --git a/app/appearance/langs/ar_SA.json b/app/appearance/langs/ar_SA.json
index 7fe32df475..a6d5a1644d 100644
--- a/app/appearance/langs/ar_SA.json
+++ b/app/appearance/langs/ar_SA.json
@@ -10,15 +10,24 @@
"agentExample1": "البحث عن ملاحظات الاجتماعات الأخيرة",
"agentExample2": "إنشاء مذكرة يومية جديدة",
"agentExample3": "البحث عن ملاحظات متعلقة بالمشروع",
- "agentConfirmDesc": "الوكيل سينفذ {action}: {name}",
- "agentActionAppend": "إضافة محتوى",
- "agentActionUpdate": "تعديل",
- "agentActionDelete": "حذف",
- "agentActionCreate": "إنشاء",
- "agentActionMove": "نقل",
+ "agentConfirmDesc": "عملية تغيير <em>{category}</em>",
+ "agentCatBlock": "كتلة",
+ "agentCatDoc": "مستند",
+ "agentCatNotebook": "دفتر",
+ "agentCatTag": "وسم",
+ "agentCatBookmark": "إشارة مرجعية",
+ "agentCatFile": "ملف",
+ "agentCatAsset": "أصل",
+ "agentCatAttr": "سمة",
+ "agentCatDailynote": "يوميات",
+ "agentCatImport": "استيراد",
+ "agentCatRepo": "مستودع",
+ "agentCatHistory": "تاريخ",
+ "agentCatSync": "مزامنة",
+ "agentCatDatabase": "قاعدة بيانات",
+ "agentCatDefault": "تغيير",
"agentNotifyConfirm": "وكيل SiYuan يحتاج إلى تأكيدك",
"agentNotifyDone": "وكيل SiYuan قد استجاب",
- "agentActionRename": "إعادة تسمية",
"agentConfirmApprove": "موافقة",
"agentConfirmReject": "رفض",
"agentConfirmAlways": "السماح بالجلسة",
diff --git a/app/appearance/langs/de_DE.json b/app/appearance/langs/de_DE.json
index 6fe47cb56c..15f2c43351 100644
--- a/app/appearance/langs/de_DE.json
+++ b/app/appearance/langs/de_DE.json
@@ -10,15 +10,24 @@
"agentExample1": "Durchsuche meine letzten Besprechungsnotizen",
"agentExample2": "Erstelle ein neues Tagebuch",
"agentExample3": "Finde Notizen zum Projekt",
- "agentConfirmDesc": "Agent führt {action} aus: {name}",
- "agentActionAppend": "Inhalt hinzufügen",
- "agentActionUpdate": "ändern",
- "agentActionDelete": "löschen",
- "agentActionCreate": "erstellen",
- "agentActionMove": "verschieben",
+ "agentConfirmDesc": "Änderungsvorgang <em>{category}</em>",
+ "agentCatBlock": "Block",
+ "agentCatDoc": "Dokument",
+ "agentCatNotebook": "Notizbuch",
+ "agentCatTag": "Schlagwort",
+ "agentCatBookmark": "Lesezeichen",
+ "agentCatFile": "Datei",
+ "agentCatAsset": "Asset",
+ "agentCatAttr": "Attribut",
+ "agentCatDailynote": "Tagebuch",
+ "agentCatImport": "Import",
+ "agentCatRepo": "Repository",
+ "agentCatHistory": "Verlauf",
+ "agentCatSync": "Sync",
+ "agentCatDatabase": "Datenbank",
+ "agentCatDefault": "Änderung",
"agentNotifyConfirm": "SiYuan Agent benötigt Ihre Bestätigung",
"agentNotifyDone": "SiYuan Agent hat geantwortet",
- "agentActionRename": "umbenennen",
"agentConfirmApprove": "Genehmigen",
"agentConfirmReject": "Ablehnen",
"agentConfirmAlways": "Sitzung erlauben",
diff --git a/app/appearance/langs/en_US.json b/app/appearance/langs/en_US.json
index 40219531d4..64881cfb43 100644
--- a/app/appearance/langs/en_US.json
+++ b/app/appearance/langs/en_US.json
@@ -10,15 +10,24 @@
"agentExample1": "Search my recent meeting notes",
"agentExample2": "Create a new daily journal",
"agentExample3": "Find notes related to the project",
- "agentConfirmDesc": "Agent will {action}: {name}",
- "agentActionAppend": "add content",
- "agentActionUpdate": "modify",
- "agentActionDelete": "delete",
- "agentActionCreate": "create",
- "agentActionMove": "move",
+ "agentConfirmDesc": "<em>{category}</em> change operation",
+ "agentCatBlock": "block",
+ "agentCatDoc": "document",
+ "agentCatNotebook": "notebook",
+ "agentCatTag": "tag",
+ "agentCatBookmark": "bookmark",
+ "agentCatFile": "file",
+ "agentCatAsset": "asset",
+ "agentCatAttr": "attribute",
+ "agentCatDailynote": "daily note",
+ "agentCatImport": "import",
+ "agentCatRepo": "repository",
+ "agentCatHistory": "history",
+ "agentCatSync": "sync",
+ "agentCatDatabase": "database",
+ "agentCatDefault": "change",
"agentNotifyConfirm": "SiYuan agent needs your confirmation",
"agentNotifyDone": "SiYuan agent has responded",
- "agentActionRename": "rename",
"agentConfirmApprove": "Approve",
"agentConfirmReject": "Reject",
"agentConfirmAlways": "Session Allow",
diff --git a/app/appearance/langs/es_ES.json b/app/appearance/langs/es_ES.json
index d3825114dd..d2100280f9 100644
--- a/app/appearance/langs/es_ES.json
+++ b/app/appearance/langs/es_ES.json
@@ -10,15 +10,24 @@
"agentExample1": "Buscar mis notas de reuniones recientes",
"agentExample2": "Crear un nuevo diario",
"agentExample3": "Buscar notas del proyecto",
- "agentConfirmDesc": "El agente ejecutará {action}: {name}",
- "agentActionAppend": "añadir contenido",
- "agentActionUpdate": "modificar",
- "agentActionDelete": "eliminar",
- "agentActionCreate": "crear",
- "agentActionMove": "mover",
+ "agentConfirmDesc": "Operación de cambio <em>{category}</em>",
+ "agentCatBlock": "bloque",
+ "agentCatDoc": "documento",
+ "agentCatNotebook": "libreta",
+ "agentCatTag": "etiqueta",
+ "agentCatBookmark": "marcador",
+ "agentCatFile": "archivo",
+ "agentCatAsset": "recurso",
+ "agentCatAttr": "atributo",
+ "agentCatDailynote": "diario",
+ "agentCatImport": "importar",
+ "agentCatRepo": "repositorio",
+ "agentCatHistory": "historial",
+ "agentCatSync": "sincro",
+ "agentCatDatabase": "base de datos",
+ "agentCatDefault": "cambio",
"agentNotifyConfirm": "El agente SiYuan necesita tu confirmación",
"agentNotifyDone": "El agente SiYuan ha respondido",
- "agentActionRename": "renombrar",
"agentConfirmApprove": "Aprobar",
"agentConfirmReject": "Rechazar",
"agentConfirmAlways": "Permitir sesión",
diff --git a/app/appearance/langs/fr_FR.json b/app/appearance/langs/fr_FR.json
index 26730d81f7..fa8886d54c 100644
--- a/app/appearance/langs/fr_FR.json
+++ b/app/appearance/langs/fr_FR.json
@@ -10,15 +10,24 @@
"agentExample1": "Rechercher mes notes de réunion récentes",
"agentExample2": "Créer un nouveau journal",
"agentExample3": "Rechercher des notes sur le projet",
- "agentConfirmDesc": "Agent exécutera {action}: {name}",
- "agentActionAppend": "ajouter du contenu",
- "agentActionUpdate": "modifier",
- "agentActionDelete": "supprimer",
- "agentActionCreate": "créer",
- "agentActionMove": "déplacer",
+ "agentConfirmDesc": "Opération de modification <em>{category}</em>",
+ "agentCatBlock": "bloc",
+ "agentCatDoc": "document",
+ "agentCatNotebook": "carnet",
+ "agentCatTag": "étiquette",
+ "agentCatBookmark": "signet",
+ "agentCatFile": "fichier",
+ "agentCatAsset": "ressource",
+ "agentCatAttr": "attribut",
+ "agentCatDailynote": "journal",
+ "agentCatImport": "import",
+ "agentCatRepo": "dépôt",
+ "agentCatHistory": "historique",
+ "agentCatSync": "synchro",
+ "agentCatDatabase": "base de données",
+ "agentCatDefault": "modification",
"agentNotifyConfirm": "L'agent SiYuan a besoin de votre confirmation",
"agentNotifyDone": "L'agent SiYuan a répondu",
- "agentActionRename": "renommer",
"agentConfirmApprove": "Approuver",
"agentConfirmReject": "Rejeter",
"agentConfirmAlways": "Autoriser session",
diff --git a/app/appearance/langs/he_IL.json b/app/appearance/langs/he_IL.json
index 197642aa04..0dd3950ce2 100644
--- a/app/appearance/langs/he_IL.json
+++ b/app/appearance/langs/he_IL.json
@@ -10,15 +10,24 @@
"agentExample1": "חפש את הערות הפגישות האחרונות שלי",
"agentExample2": "צור יומן חדש",
"agentExample3": "מצא הערות הקשורות לפרויקט",
- "agentConfirmDesc": "הסוכן יבצע {action}: {name}",
- "agentActionAppend": "הוסף תוכן",
- "agentActionUpdate": "שנה",
- "agentActionDelete": "מחק",
- "agentActionCreate": "צור",
- "agentActionMove": "העבר",
+ "agentConfirmDesc": "פעולת שינוי <em>{category}</em>",
+ "agentCatBlock": "בלוק",
+ "agentCatDoc": "מסמך",
+ "agentCatNotebook": "מחברת",
+ "agentCatTag": "תגית",
+ "agentCatBookmark": "סימניה",
+ "agentCatFile": "קובץ",
+ "agentCatAsset": "נכס",
+ "agentCatAttr": "תכונה",
+ "agentCatDailynote": "יומן",
+ "agentCatImport": "ייבוא",
+ "agentCatRepo": "מאגר",
+ "agentCatHistory": "היסטוריה",
+ "agentCatSync": "סנכרון",
+ "agentCatDatabase": "מסד נתונים",
+ "agentCatDefault": "שינוי",
"agentNotifyConfirm": "סוכן SiYuan זקוק לאישורך",
"agentNotifyDone": "סוכן SiYuan הגיב",
- "agentActionRename": "שנה שם",
"agentConfirmApprove": "אשר",
"agentConfirmReject": "דחה",
"agentConfirmAlways": "אפשר הפעלה",
diff --git a/app/appearance/langs/hi_IN.json b/app/appearance/langs/hi_IN.json
index 94668165c1..8715217722 100644
--- a/app/appearance/langs/hi_IN.json
+++ b/app/appearance/langs/hi_IN.json
@@ -10,15 +10,24 @@
"agentExample1": "मेरी हाल की बैठक के नोट्स खोजें",
"agentExample2": "एक नई डायरी बनाएं",
"agentExample3": "परियोजना से संबंधित नोट्स खोजें",
- "agentConfirmDesc": "एजेंट करेगा {action}: {name}",
- "agentActionAppend": "सामग्री जोड़ें",
- "agentActionUpdate": "संशोधित करें",
- "agentActionDelete": "हटाएं",
- "agentActionCreate": "बनाएं",
- "agentActionMove": "स्थानांतरित करें",
+ "agentConfirmDesc": "<em>{category}</em> परिवर्तन संचालन",
+ "agentCatBlock": "ब्लॉक",
+ "agentCatDoc": "दस्तावेज़",
+ "agentCatNotebook": "नोटबुक",
+ "agentCatTag": "टैग",
+ "agentCatBookmark": "बुकमार्क",
+ "agentCatFile": "फ़ाइल",
+ "agentCatAsset": "संपत्ति",
+ "agentCatAttr": "गुण",
+ "agentCatDailynote": "डायरी",
+ "agentCatImport": "आयात",
+ "agentCatRepo": "भंडार",
+ "agentCatHistory": "इतिहास",
+ "agentCatSync": "सिंक",
+ "agentCatDatabase": "डेटाबेस",
+ "agentCatDefault": "परिवर्तन",
"agentNotifyConfirm": "SiYuan एजेंट को आपकी पुष्टि चाहिए",
"agentNotifyDone": "SiYuan एजेंट ने उत्तर दिया",
- "agentActionRename": "नाम बदलें",
"agentConfirmApprove": "स्वीकृत करें",
"agentConfirmReject": "अस्वीकृत करें",
"agentConfirmAlways": "सत्र अनुमति दें",
diff --git a/app/appearance/langs/id_ID.json b/app/appearance/langs/id_ID.json
index 0566eae967..5c88c1fb78 100644
--- a/app/appearance/langs/id_ID.json
+++ b/app/appearance/langs/id_ID.json
@@ -10,15 +10,24 @@
"agentExample1": "Cari catatan rapat terbaru saya",
"agentExample2": "Buat jurnal harian baru",
"agentExample3": "Temukan catatan terkait proyek",
- "agentConfirmDesc": "Agen akan melakukan {action}: {name}",
- "agentActionAppend": "tambah konten",
- "agentActionUpdate": "ubah",
- "agentActionDelete": "hapus",
- "agentActionCreate": "buat",
- "agentActionMove": "pindahkan",
+ "agentConfirmDesc": "Operasi perubahan <em>{category}</em>",
+ "agentCatBlock": "blok",
+ "agentCatDoc": "dokumen",
+ "agentCatNotebook": "buku catatan",
+ "agentCatTag": "label",
+ "agentCatBookmark": "penanda",
+ "agentCatFile": "berkas",
+ "agentCatAsset": "aset",
+ "agentCatAttr": "atribut",
+ "agentCatDailynote": "buku harian",
+ "agentCatImport": "impor",
+ "agentCatRepo": "repositori",
+ "agentCatHistory": "riwayat",
+ "agentCatSync": "sinkron",
+ "agentCatDatabase": "basis data",
+ "agentCatDefault": "perubahan",
"agentNotifyConfirm": "Agen SiYuan butuh konfirmasi Anda",
"agentNotifyDone": "Agen SiYuan telah merespons",
- "agentActionRename": "ganti nama",
"agentConfirmApprove": "Setujui",
"agentConfirmReject": "Tolak",
"agentConfirmAlways": "Izinkan sesi",
diff --git a/app/appearance/langs/it_IT.json b/app/appearance/langs/it_IT.json
index 8ff4c9ebc5..eaa339cd97 100644
--- a/app/appearance/langs/it_IT.json
+++ b/app/appearance/langs/it_IT.json
@@ -10,15 +10,24 @@
"agentExample1": "Cerca i miei appunti delle riunioni recenti",
"agentExample2": "Crea un nuovo diario",
"agentExample3": "Trova appunti sul progetto",
- "agentConfirmDesc": "Agent eseguirà {action}: {name}",
- "agentActionAppend": "aggiungi contenuto",
- "agentActionUpdate": "modifica",
- "agentActionDelete": "elimina",
- "agentActionCreate": "crea",
- "agentActionMove": "sposta",
+ "agentConfirmDesc": "Operazione di modifica <em>{category}</em>",
+ "agentCatBlock": "blocco",
+ "agentCatDoc": "documento",
+ "agentCatNotebook": "taccuino",
+ "agentCatTag": "etichetta",
+ "agentCatBookmark": "segnalibro",
+ "agentCatFile": "file",
+ "agentCatAsset": "risorsa",
+ "agentCatAttr": "attributo",
+ "agentCatDailynote": "diario",
+ "agentCatImport": "importa",
+ "agentCatRepo": "repository",
+ "agentCatHistory": "cronologia",
+ "agentCatSync": "sinc",
+ "agentCatDatabase": "database",
+ "agentCatDefault": "modifica",
"agentNotifyConfirm": "L'agente SiYuan ha bisogno della tua conferma",
"agentNotifyDone": "L'agente SiYuan ha risposto",
- "agentActionRename": "rinomina",
"agentConfirmApprove": "Approva",
"agentConfirmReject": "Rifiuta",
"agentConfirmAlways": "Consenti sessione",
diff --git a/app/appearance/langs/ja_JP.json b/app/appearance/langs/ja_JP.json
index 9beef90a77..b63a5d3830 100644
--- a/app/appearance/langs/ja_JP.json
+++ b/app/appearance/langs/ja_JP.json
@@ -10,15 +10,24 @@
"agentExample1": "最近の会議メモを検索",
"agentExample2": "新しい日記を作成",
"agentExample3": "プロジェクト関連のノートを検索",
- "agentConfirmDesc": "Agent が {action}: {name}",
- "agentActionAppend": "コンテンツ追加",
- "agentActionUpdate": "修正",
- "agentActionDelete": "削除",
- "agentActionCreate": "作成",
- "agentActionMove": "移動",
+ "agentConfirmDesc": "<em>{category}</em>変更操作を実行します",
+ "agentCatBlock": "ブロック",
+ "agentCatDoc": "ドキュメント",
+ "agentCatNotebook": "ノートブック",
+ "agentCatTag": "タグ",
+ "agentCatBookmark": "ブックマーク",
+ "agentCatFile": "ファイル",
+ "agentCatAsset": "アセット",
+ "agentCatAttr": "属性",
+ "agentCatDailynote": "日記",
+ "agentCatImport": "インポート",
+ "agentCatRepo": "リポジトリ",
+ "agentCatHistory": "履歴",
+ "agentCatSync": "同期",
+ "agentCatDatabase": "データベース",
+ "agentCatDefault": "変更",
"agentNotifyConfirm": "SiYuan エージェントが確認を必要としています",
"agentNotifyDone": "SiYuan エージェントが応答しました",
- "agentActionRename": "名前変更",
"agentConfirmApprove": "承認",
"agentConfirmReject": "拒否",
"agentConfirmAlways": "セッション許可",
diff --git a/app/appearance/langs/ko_KR.json b/app/appearance/langs/ko_KR.json
index 4bfa52beb5..3fae344dd6 100644
--- a/app/appearance/langs/ko_KR.json
+++ b/app/appearance/langs/ko_KR.json
@@ -10,15 +10,24 @@
"agentExample1": "최근 회의록 검색",
"agentExample2": "새 일기 작성",
"agentExample3": "프로젝트 관련 노트 찾기",
- "agentConfirmDesc": "Agent가 {action}: {name}",
- "agentActionAppend": "콘텐츠 추가",
- "agentActionUpdate": "수정",
- "agentActionDelete": "삭제",
- "agentActionCreate": "생성",
- "agentActionMove": "이동",
+ "agentConfirmDesc": "<em>{category}</em> 변경 작업을 실행합니다",
+ "agentCatBlock": "블록",
+ "agentCatDoc": "문서",
+ "agentCatNotebook": "노트북",
+ "agentCatTag": "태그",
+ "agentCatBookmark": "북마크",
+ "agentCatFile": "파일",
+ "agentCatAsset": "자산",
+ "agentCatAttr": "속성",
+ "agentCatDailynote": "일기",
+ "agentCatImport": "가져오기",
+ "agentCatRepo": "저장소",
+ "agentCatHistory": "기록",
+ "agentCatSync": "동기화",
+ "agentCatDatabase": "데이터베이스",
+ "agentCatDefault": "변경",
"agentNotifyConfirm": "SiYuan 에이전트가 확인이 필요합니다",
"agentNotifyDone": "SiYuan 에이전트가 응답했습니다",
- "agentActionRename": "이름 변경",
"agentConfirmApprove": "승인",
"agentConfirmReject": "거부",
"agentConfirmAlways": "세션 허용",
diff --git a/app/appearance/langs/nl_NL.json b/app/appearance/langs/nl_NL.json
index 66a2c9f7e4..d3577f420f 100644
--- a/app/appearance/langs/nl_NL.json
+++ b/app/appearance/langs/nl_NL.json
@@ -10,15 +10,24 @@
"agentExample1": "Doorzoek mijn recente vergadernotities",
"agentExample2": "Maak een nieuw dagboek",
"agentExample3": "Vind notities over het project",
- "agentConfirmDesc": "Agent voert {action} uit: {name}",
- "agentActionAppend": "inhoud toevoegen",
- "agentActionUpdate": "wijzigen",
- "agentActionDelete": "verwijderen",
- "agentActionCreate": "aanmaken",
- "agentActionMove": "verplaatsen",
+ "agentConfirmDesc": "Wijzigingsoperatie <em>{category}</em>",
+ "agentCatBlock": "blok",
+ "agentCatDoc": "document",
+ "agentCatNotebook": "notitieboek",
+ "agentCatTag": "label",
+ "agentCatBookmark": "bladwijzer",
+ "agentCatFile": "bestand",
+ "agentCatAsset": "activum",
+ "agentCatAttr": "attribuut",
+ "agentCatDailynote": "dagboek",
+ "agentCatImport": "import",
+ "agentCatRepo": "repository",
+ "agentCatHistory": "geschiedenis",
+ "agentCatSync": "sync",
+ "agentCatDatabase": "database",
+ "agentCatDefault": "wijziging",
"agentNotifyConfirm": "SiYuan agent heeft uw bevestiging nodig",
"agentNotifyDone": "SiYuan agent heeft gereageerd",
- "agentActionRename": "hernoemen",
"agentConfirmApprove": "Goedkeuren",
"agentConfirmReject": "Afwijzen",
"agentConfirmAlways": "Sessie toestaan",
diff --git a/app/appearance/langs/pl_PL.json b/app/appearance/langs/pl_PL.json
index 53a78afcd2..81be8ae2ef 100644
--- a/app/appearance/langs/pl_PL.json
+++ b/app/appearance/langs/pl_PL.json
@@ -10,15 +10,24 @@
"agentExample1": "Wyszukaj moje ostatnie notatki ze spotkań",
"agentExample2": "Utwórz nowy dziennik",
"agentExample3": "Znajdź notatki związane z projektem",
- "agentConfirmDesc": "Agent wykona {action}: {name}",
- "agentActionAppend": "dodaj treść",
- "agentActionUpdate": "modyfikuj",
- "agentActionDelete": "usuń",
- "agentActionCreate": "utwórz",
- "agentActionMove": "przenieś",
+ "agentConfirmDesc": "Operacja zmiany <em>{category}</em>",
+ "agentCatBlock": "blok",
+ "agentCatDoc": "dokument",
+ "agentCatNotebook": "notatnik",
+ "agentCatTag": "etykieta",
+ "agentCatBookmark": "zakładka",
+ "agentCatFile": "plik",
+ "agentCatAsset": "zasób",
+ "agentCatAttr": "atrybut",
+ "agentCatDailynote": "dziennik",
+ "agentCatImport": "import",
+ "agentCatRepo": "repozytorium",
+ "agentCatHistory": "historia",
+ "agentCatSync": "synchronizacja",
+ "agentCatDatabase": "baza danych",
+ "agentCatDefault": "zmiana",
"agentNotifyConfirm": "Agent SiYuan potrzebuje Twojego potwierdzenia",
"agentNotifyDone": "Agent SiYuan odpowiedział",
- "agentActionRename": "zmień nazwę",
"agentConfirmApprove": "Zatwierdź",
"agentConfirmReject": "Odrzuć",
"agentConfirmAlways": "Zezwól sesję",
diff --git a/app/appearance/langs/pt_BR.json b/app/appearance/langs/pt_BR.json
index 9fd3c59980..774b2e395c 100644
--- a/app/appearance/langs/pt_BR.json
+++ b/app/appearance/langs/pt_BR.json
@@ -10,15 +10,24 @@
"agentExample1": "Pesquisar minhas anotações de reuniões recentes",
"agentExample2": "Criar um novo diário",
"agentExample3": "Encontrar notas do projeto",
- "agentConfirmDesc": "Agente executará {action}: {name}",
- "agentActionAppend": "adicionar conteúdo",
- "agentActionUpdate": "modificar",
- "agentActionDelete": "excluir",
- "agentActionCreate": "criar",
- "agentActionMove": "mover",
+ "agentConfirmDesc": "Operação de alteração <em>{category}</em>",
+ "agentCatBlock": "bloco",
+ "agentCatDoc": "documento",
+ "agentCatNotebook": "caderno",
+ "agentCatTag": "etiqueta",
+ "agentCatBookmark": "favorito",
+ "agentCatFile": "arquivo",
+ "agentCatAsset": "recurso",
+ "agentCatAttr": "atributo",
+ "agentCatDailynote": "diário",
+ "agentCatImport": "importar",
+ "agentCatRepo": "repositório",
+ "agentCatHistory": "histórico",
+ "agentCatSync": "sinc",
+ "agentCatDatabase": "banco de dados",
+ "agentCatDefault": "alteração",
"agentNotifyConfirm": "O agente SiYuan precisa da sua confirmação",
"agentNotifyDone": "O agente SiYuan respondeu",
- "agentActionRename": "renomear",
"agentConfirmApprove": "Aprovar",
"agentConfirmReject": "Rejeitar",
"agentConfirmAlways": "Permitir sessão",
diff --git a/app/appearance/langs/ru_RU.json b/app/appearance/langs/ru_RU.json
index 90d011ce21..ff875efe36 100644
--- a/app/appearance/langs/ru_RU.json
+++ b/app/appearance/langs/ru_RU.json
@@ -10,15 +10,24 @@
"agentExample1": "Найти мои недавние заметки о встречах",
"agentExample2": "Создать новый дневник",
"agentExample3": "Найти заметки по проекту",
- "agentConfirmDesc": "Агент выполнит {action}: {name}",
- "agentActionAppend": "добавить содержимое",
- "agentActionUpdate": "изменить",
- "agentActionDelete": "удалить",
- "agentActionCreate": "создать",
- "agentActionMove": "переместить",
+ "agentConfirmDesc": "Операция изменения <em>{category}</em>",
+ "agentCatBlock": "блок",
+ "agentCatDoc": "документ",
+ "agentCatNotebook": "блокнот",
+ "agentCatTag": "метка",
+ "agentCatBookmark": "закладка",
+ "agentCatFile": "файл",
+ "agentCatAsset": "ресурс",
+ "agentCatAttr": "атрибут",
+ "agentCatDailynote": "дневник",
+ "agentCatImport": "импорт",
+ "agentCatRepo": "репозиторий",
+ "agentCatHistory": "история",
+ "agentCatSync": "синхр",
+ "agentCatDatabase": "база данных",
+ "agentCatDefault": "изменение",
"agentNotifyConfirm": "Агент SiYuan нуждается в подтверждении",
"agentNotifyDone": "Агент SiYuan ответил",
- "agentActionRename": "переименовать",
"agentConfirmApprove": "Одобрить",
"agentConfirmReject": "Отклонить",
"agentConfirmAlways": "Разрешить сессию",
diff --git a/app/appearance/langs/sk_SK.json b/app/appearance/langs/sk_SK.json
index 61b26df5e4..9933bd6d55 100644
--- a/app/appearance/langs/sk_SK.json
+++ b/app/appearance/langs/sk_SK.json
@@ -10,15 +10,24 @@
"agentExample1": "Vyhľadať moje nedávne poznámky zo stretnutí",
"agentExample2": "Vytvoriť nový denník",
"agentExample3": "Nájsť poznámky k projektu",
- "agentConfirmDesc": "Agent vykoná {action}: {name}",
- "agentActionAppend": "pridať obsah",
- "agentActionUpdate": "upraviť",
- "agentActionDelete": "zmazať",
- "agentActionCreate": "vytvoriť",
- "agentActionMove": "presunúť",
+ "agentConfirmDesc": "Operácia zmeny <em>{category}</em>",
+ "agentCatBlock": "blok",
+ "agentCatDoc": "dokument",
+ "agentCatNotebook": "poznámkový blok",
+ "agentCatTag": "štítok",
+ "agentCatBookmark": "záložka",
+ "agentCatFile": "súbor",
+ "agentCatAsset": "aktívum",
+ "agentCatAttr": "atribút",
+ "agentCatDailynote": "denník",
+ "agentCatImport": "import",
+ "agentCatRepo": "repozitár",
+ "agentCatHistory": "história",
+ "agentCatSync": "synchronizácia",
+ "agentCatDatabase": "databáza",
+ "agentCatDefault": "zmena",
"agentNotifyConfirm": "Agent SiYuan potrebuje vaše potvrdenie",
"agentNotifyDone": "Agent SiYuan odpovedal",
- "agentActionRename": "premenovať",
"agentConfirmApprove": "Schváliť",
"agentConfirmReject": "Odmietnuť",
"agentConfirmAlways": "Povoliť reláciu",
diff --git a/app/appearance/langs/th_TH.json b/app/appearance/langs/th_TH.json
index b053496443..0549a86690 100644
--- a/app/appearance/langs/th_TH.json
+++ b/app/appearance/langs/th_TH.json
@@ -10,15 +10,24 @@
"agentExample1": "ค้นหาบันทึกการประชุมล่าสุดของฉัน",
"agentExample2": "สร้างบันทึกประจำวันใหม่",
"agentExample3": "ค้นหาบันทึกที่เกี่ยวข้องกับโครงการ",
- "agentConfirmDesc": "เอเจนต์จะดำเนินการ {action}: {name}",
- "agentActionAppend": "เพิ่มเนื้อหา",
- "agentActionUpdate": "แก้ไข",
- "agentActionDelete": "ลบ",
- "agentActionCreate": "สร้าง",
- "agentActionMove": "ย้าย",
+ "agentConfirmDesc": "การดำเนินการเปลี่ยนแปลง <em>{category}</em>",
+ "agentCatBlock": "บล็อก",
+ "agentCatDoc": "เอกสาร",
+ "agentCatNotebook": "สมุดบันทึก",
+ "agentCatTag": "ป้ายกำกับ",
+ "agentCatBookmark": "บุ๊กมาร์ก",
+ "agentCatFile": "ไฟล์",
+ "agentCatAsset": "ทรัพยากร",
+ "agentCatAttr": "คุณสมบัติ",
+ "agentCatDailynote": "รายวัน",
+ "agentCatImport": "นำเข้า",
+ "agentCatRepo": "ที่เก็บ",
+ "agentCatHistory": "ประวัติ",
+ "agentCatSync": "ซิงค์",
+ "agentCatDatabase": "ฐานข้อมูล",
+ "agentCatDefault": "การเปลี่ยนแปลง",
"agentNotifyConfirm": "เอเจนต์ SiYuan ต้องการการยืนยันจากคุณ",
"agentNotifyDone": "เอเจนต์ SiYuan ตอบกลับแล้ว",
- "agentActionRename": "เปลี่ยนชื่อ",
"agentConfirmApprove": "อนุมัติ",
"agentConfirmReject": "ปฏิเสธ",
"agentConfirmAlways": "อนุญาตเซสชัน",
diff --git a/app/appearance/langs/tr_TR.json b/app/appearance/langs/tr_TR.json
index fced6323c5..70c8ee2b42 100644
--- a/app/appearance/langs/tr_TR.json
+++ b/app/appearance/langs/tr_TR.json
@@ -10,15 +10,24 @@
"agentExample1": "Son toplantı notlarımı ara",
"agentExample2": "Yeni bir günlük oluştur",
"agentExample3": "Projeyle ilgili notları bul",
- "agentConfirmDesc": "Ajan {action} gerçekleştirecek: {name}",
- "agentActionAppend": "içerik ekle",
- "agentActionUpdate": "değiştir",
- "agentActionDelete": "sil",
- "agentActionCreate": "oluştur",
- "agentActionMove": "taşı",
+ "agentConfirmDesc": "<em>{category}</em> değişiklik işlemi",
+ "agentCatBlock": "blok",
+ "agentCatDoc": "belge",
+ "agentCatNotebook": "defter",
+ "agentCatTag": "etiket",
+ "agentCatBookmark": "yer imi",
+ "agentCatFile": "dosya",
+ "agentCatAsset": "varlık",
+ "agentCatAttr": "öznitelik",
+ "agentCatDailynote": "günlük",
+ "agentCatImport": "içe aktar",
+ "agentCatRepo": "depo",
+ "agentCatHistory": "geçmiş",
+ "agentCatSync": "senkr",
+ "agentCatDatabase": "veritabanı",
+ "agentCatDefault": "değişiklik",
"agentNotifyConfirm": "SiYuan ajanı onayınızı bekliyor",
"agentNotifyDone": "SiYuan ajanı yanıtladı",
- "agentActionRename": "yeniden adlandır",
"agentConfirmApprove": "Onayla",
"agentConfirmReject": "Reddet",
"agentConfirmAlways": "Oturuma izin ver",
diff --git a/app/appearance/langs/uk_UA.json b/app/appearance/langs/uk_UA.json
index 3c0e7aa038..de01f3af98 100644
--- a/app/appearance/langs/uk_UA.json
+++ b/app/appearance/langs/uk_UA.json
@@ -10,15 +10,24 @@
"agentExample1": "Знайти мої нещодавні нотатки про зустрічі",
"agentExample2": "Створити новий щоденник",
"agentExample3": "Знайти нотатки про проєкт",
- "agentConfirmDesc": "Агент виконає {action}: {name}",
- "agentActionAppend": "додати вміст",
- "agentActionUpdate": "змінити",
- "agentActionDelete": "видалити",
- "agentActionCreate": "створити",
- "agentActionMove": "перемістити",
+ "agentConfirmDesc": "Операція зміни <em>{category}</em>",
+ "agentCatBlock": "блок",
+ "agentCatDoc": "документ",
+ "agentCatNotebook": "блокнот",
+ "agentCatTag": "мітка",
+ "agentCatBookmark": "закладка",
+ "agentCatFile": "файл",
+ "agentCatAsset": "ресурс",
+ "agentCatAttr": "атрибут",
+ "agentCatDailynote": "щоденник",
+ "agentCatImport": "імпорт",
+ "agentCatRepo": "репозиторій",
+ "agentCatHistory": "історія",
+ "agentCatSync": "синхр",
+ "agentCatDatabase": "база даних",
+ "agentCatDefault": "зміна",
"agentNotifyConfirm": "Агент SiYuan потребує підтвердження",
"agentNotifyDone": "Агент SiYuan відповів",
- "agentActionRename": "перейменувати",
"agentConfirmApprove": "Підтвердити",
"agentConfirmReject": "Відхилити",
"agentConfirmAlways": "Дозволити сесію",
diff --git a/app/appearance/langs/zh_CHT.json b/app/appearance/langs/zh_CHT.json
index df8242ca78..00164611f3 100644
--- a/app/appearance/langs/zh_CHT.json
+++ b/app/appearance/langs/zh_CHT.json
@@ -10,15 +10,24 @@
"agentExample1": "搜尋最近的會議記錄",
"agentExample2": "幫我寫一篇日記",
"agentExample3": "整理一下项目相关的笔记",
- "agentConfirmDesc": "智能體將執行 {action}:{name}",
- "agentActionAppend": "添加內容",
- "agentActionUpdate": "修改",
- "agentActionDelete": "刪除",
- "agentActionCreate": "創建",
- "agentActionMove": "移動",
+ "agentConfirmDesc": "智能體將執行<em>{category}</em>變更操作",
+ "agentCatBlock": "內容塊",
+ "agentCatDoc": "文檔",
+ "agentCatNotebook": "筆記本",
+ "agentCatTag": "標籤",
+ "agentCatBookmark": "書籤",
+ "agentCatFile": "文件",
+ "agentCatAsset": "資源文件",
+ "agentCatAttr": "屬性",
+ "agentCatDailynote": "日記",
+ "agentCatImport": "導入",
+ "agentCatRepo": "數據倉庫",
+ "agentCatHistory": "歷史",
+ "agentCatSync": "同步",
+ "agentCatDatabase": "數據庫",
+ "agentCatDefault": "變更",
"agentNotifyConfirm": "思源智能體需要你的確認",
"agentNotifyDone": "思源智能體已回覆",
- "agentActionRename": "重命名",
"agentConfirmApprove": "確認執行",
"agentConfirmReject": "拒絕",
"agentConfirmAlways": "會話允許",
diff --git a/app/appearance/langs/zh_CN.json b/app/appearance/langs/zh_CN.json
index 4339344433..f849ecbe73 100644
--- a/app/appearance/langs/zh_CN.json
+++ b/app/appearance/langs/zh_CN.json
@@ -10,15 +10,24 @@
"agentExample1": "搜索最近的会议记录",
"agentExample2": "帮我写一篇日记",
"agentExample3": "整理一下项目相关的笔记",
- "agentConfirmDesc": "智能体将执行 {action}:{name}",
- "agentActionAppend": "添加内容",
- "agentActionUpdate": "修改",
- "agentActionDelete": "删除",
- "agentActionCreate": "创建",
- "agentActionMove": "移动",
+ "agentConfirmDesc": "智能体将执行<em>{category}</em>变更操作",
+ "agentCatBlock": "内容块",
+ "agentCatDoc": "文档",
+ "agentCatNotebook": "笔记本",
+ "agentCatTag": "标签",
+ "agentCatBookmark": "书签",
+ "agentCatFile": "文件",
+ "agentCatAsset": "资源文件",
+ "agentCatAttr": "属性",
+ "agentCatDailynote": "日记",
+ "agentCatImport": "导入",
+ "agentCatRepo": "数据仓库",
+ "agentCatHistory": "历史",
+ "agentCatSync": "同步",
+ "agentCatDatabase": "数据库",
+ "agentCatDefault": "变更",
"agentNotifyConfirm": "思源智能体需要你的确认",
"agentNotifyDone": "思源智能体已回复",
- "agentActionRename": "重命名",
"agentConfirmApprove": "确认执行",
"agentConfirmReject": "拒绝",
"agentConfirmAlways": "会话允许",
diff --git a/app/src/assets/scss/business/_agentChat.scss b/app/src/assets/scss/business/_agentChat.scss
index e875b76b86..dbc0f74c64 100644
--- a/app/src/assets/scss/business/_agentChat.scss
+++ b/app/src/assets/scss/business/_agentChat.scss
@@ -404,11 +404,16 @@
.agent-chat__snapshot-rollback {
flex-shrink: 0;
+ color: var(--b3-theme-on-surface-light);
svg {
width: 14px;
height: 14px;
}
+
+ &:hover {
+ background: var(--b3-list-hover);
+ }
}
.agent-chat__msg--tool {
@@ -443,7 +448,7 @@
.agent-chat__thinking-header {
display: flex;
align-items: center;
- gap: 0;
+ gap: 6px;
padding: 4px 0;
cursor: pointer;
background: transparent;
@@ -458,7 +463,7 @@
background: var(--b3-theme-primary-light);
animation: agentThinkingPulse 1.4s ease-in-out infinite;
flex-shrink: 0;
- margin-right: 8px;
+ margin-right: 6px;
}
.agent-chat__thinking-text {
@@ -469,7 +474,7 @@
flex-shrink: 0;
display: flex;
align-items: center;
- color: var(--b3-theme-primary);
+ color: var(--b3-theme-on-surface-light);
svg {
width: 14px;
@@ -555,14 +560,14 @@
.agent-chat__confirm-header {
display: flex;
align-items: center;
- gap: 8px;
+ gap: 6px;
padding: 8px 8px;
color: var(--b3-theme-on-background);
line-height: 1.5;
.agent-chat__confirm-icon {
- width: 18px;
- height: 18px;
+ width: 14px;
+ height: 14px;
flex-shrink: 0;
display: flex;
align-items: center;
@@ -767,7 +772,7 @@
.agent-chat__todo-header {
display: flex;
align-items: center;
- gap: 8px;
+ gap: 6px;
padding: 10px 12px;
font-size: 13px;
font-weight: 500;
diff --git a/app/src/layout/dock/AgentChat.ts b/app/src/layout/dock/AgentChat.ts
index eeff001998..27069da67b 100644
--- a/app/src/layout/dock/AgentChat.ts
+++ b/app/src/layout/dock/AgentChat.ts
@@ -536,9 +536,7 @@ export class AgentChat extends Model {
const el = document.createElement("div");
el.className = "agent-chat__msg agent-chat__msg--confirm agent-chat__msg--confirmed";
const argsStr = JSON.stringify(entry.args, null, 2);
- const action = this.toolActionLabel((entry.args.action as string) || entry.name);
- const objName = this.objectLabel(entry.args);
- const desc = (L.agentConfirmDesc || "Agent will {action}: {name}").replace("{action}", escapeHtml(action)).replace("{name}", escapeHtml(objName));
+ const desc = (L.agentConfirmDesc || "Agent: {category} operation").replace("{category}", escapeHtml(this.toolCategory(entry.name)));
let statusLabel = "";
if (entry.status === "approved") {
statusLabel = L.agentConfirmApprove || "Approved";
@@ -1409,13 +1407,13 @@ export class AgentChat extends Model {
}
private async appendConfirm(name: string, args: Record<string, unknown>, confirmID: string) {
+ this.finishActiveThinking();
+ this.flushThinkingStep();
const L = window.siyuan.languages;
const el = document.createElement("div");
el.className = "agent-chat__msg agent-chat__msg--confirm";
const argsStr = JSON.stringify(args, null, 2);
- const action = this.toolActionLabel((args.action as string) || name);
- const objName = this.objectLabel(args);
- const desc = (L.agentConfirmDesc || "Agent will {action}: {name}").replace("{action}", escapeHtml(action)).replace("{name}", escapeHtml(objName));
+ const desc = (L.agentConfirmDesc || "Agent: {category} operation").replace("{category}", escapeHtml(this.toolCategory(name)));
el.innerHTML = '<div class="agent-chat__confirm-card">' +
'<div class="agent-chat__confirm-header"><svg class="agent-chat__confirm-icon"><use xlink:href="#iconInfo"></use></svg> ' + desc + "</div>" +
'<pre class="agent-chat__confirm-args">' + escapeHtml(argsStr) + "</pre>" +
@@ -1497,6 +1495,8 @@ export class AgentChat extends Model {
}
private appendQuestion(questionID: string, args: Record<string, unknown>) {
+ this.finishActiveThinking();
+ this.flushThinkingStep();
const L = window.siyuan.languages;
const rawQuestions = args.questions as Array<Record<string, unknown>>;
if (!rawQuestions || rawQuestions.length === 0) {
@@ -1706,21 +1706,18 @@ export class AgentChat extends Model {
});
}
- private objectLabel(args: Record<string, unknown>): string {
- return (args.name || args.title || args.path || args.id || "") as string;
- }
-
- private toolActionLabel(action: string): string {
+ private toolCategory(name: string): string {
const L = window.siyuan.languages;
- const labels: Record<string, string> = {
- "append": L.agentActionAppend || "add content",
- "update": L.agentActionUpdate || "modify",
- "delete": L.agentActionDelete || "delete",
- "create": L.agentActionCreate || "create",
- "move": L.agentActionMove || "move",
- "rename": L.agentActionRename || "rename",
+ const m: Record<string, string | undefined> = {
+ "block": L.agentCatBlock, "document": L.agentCatDoc,
+ "notebook": L.agentCatNotebook, "tag": L.agentCatTag,
+ "bookmark": L.agentCatBookmark, "file": L.agentCatFile,
+ "asset": L.agentCatAsset, "attr": L.agentCatAttr,
+ "dailynote": L.agentCatDailynote, "import": L.agentCatImport,
+ "repo": L.agentCatRepo, "history": L.agentCatHistory,
+ "sync": L.agentCatSync, "database": L.agentCatDatabase,
};
- return labels[action] || action;
+ return m[name] || L.agentCatDefault;
}
private formatMessageTime(ts: number): string {