feat(plugins): add dsh-file-trace to the built-in tab catalog

Entry-only addition per the maintainer direction on #780: the present-files
tracking moved into the standalone dsh-file-trace plugin (v0.3.24), which
registers its native tab through ctx.betterSidebar.registerTab (optional
peer; standalone floating window without better-sidebar). Install line
installs the prerequisite first, then the pinned github: tag (committed
lib/, no build needed).
This commit is contained in:
lhh010 committed 2026-10-01 19:33:02 +08:00
1 parent 975d51d92d
commit 1f4409010f
21 files changed
+53

No files matched your search

+2
View File
@@ -506,6 +506,8 @@ export const ar: Record<string, string> = {
changesRedactOffLabel: "بدون تنقيع",
changesRedactBanner: "مُنقّى",
pluginSentinelName: 'dsh-sentinel نظام الاستيقاظ',
pluginFileTraceName: 'dsh-file-trace تتبّع الملفات',
pluginFileTraceDesc: 'يسجّل كل ملف يقرأه النموذج أو يكتبه أو يعدّله؛ قائمة مجمّعة بالمحتويات وفروقات سطر بسطر، مع وضع قراءة Markdown وإخفاء الأسرار؛ نافذة عائمة مستقلة بدون better-sidebar',
pluginEgoBrowserName: 'ego-browser متصفح الوكيل',
pluginBetterOverleafName: 'dsh-better-overleaf تبويب Overleaf',
pluginDocsPanelName: 'dsh-docs-panel مستندات عامة',
+2
View File
@@ -491,6 +491,8 @@ export const de: Record<string, string> = {
changesRedactOffLabel: "Ohne Schwärzung",
changesRedactBanner: "Geschwärzt",
pluginSentinelName: 'dsh-sentinel Wecksystem',
pluginFileTraceName: 'dsh-file-trace Dateiverfolgung',
pluginFileTraceDesc: 'Zeichnet jede Datei auf, die das Modell liest, schreibt oder bearbeitet; gruppierte Liste mit Inhalten und Zeilen-Diffs, Markdown-Lesemodus und Geheimnis-Maskierung; ohne better-sidebar eigenständiges schwebendes Fenster',
pluginEgoBrowserName: 'ego-browser Agent-Browser',
pluginBetterOverleafName: 'dsh-better-overleaf Overleaf-Tab',
pluginDocsPanelName: 'dsh-docs-panel Globale Dokumente',
+2
View File
@@ -498,6 +498,8 @@ export const fr: Record<string, string> = {
changesRedactOffLabel: "Sans masquage",
changesRedactBanner: "Masqué",
pluginSentinelName: 'dsh-sentinel Système de réveil',
pluginFileTraceName: 'dsh-file-trace Suivi de fichiers',
pluginFileTraceDesc: 'Enregistre chaque fichier lu, écrit ou modifié par le modèle ; liste groupée avec contenus et diffs ligne à ligne, mode lecture Markdown et masquage des secrets ; fenêtre flottante autonome sans better-sidebar',
pluginEgoBrowserName: 'ego-browser Navigateur d’agents',
pluginBetterOverleafName: 'dsh-better-overleaf Onglet Overleaf',
pluginDocsPanelName: 'dsh-docs-panel Docs globales',
+2
View File
@@ -505,6 +505,8 @@ export const hi: Record<string, string> = {
changesRedactOffLabel: "बिना रिडैक्शन",
changesRedactBanner: "रिडैक्टेड",
pluginSentinelName: 'dsh-sentinel वेक-अप सिस्टम',
pluginFileTraceName: 'dsh-file-trace फ़ाइल ट्रैसिंग',
pluginFileTraceDesc: 'मॉडल द्वारा पढ़ी/लिखी/संपादित हर फ़ाइल दर्ज करता है; सामग्री और लाइन-बाय-लाइन diff के साथ समूहबद्ध सूची, Markdown पढ़ने का मोड और गुप्त मास्किंग; better-sidebar के बिना स्वतंत्र फ़्लोटिंग विंडो',
pluginEgoBrowserName: 'ego-browser एजेंट ब्राउज़र',
pluginBetterOverleafName: 'dsh-better-overleaf Overleaf टैब',
pluginDocsPanelName: 'dsh-docs-panel ग्लोबल डॉक्स',
+2
View File
@@ -503,6 +503,8 @@ export const id: Record<string, string> = {
changesRedactOffLabel: "Tanpa redaksi",
changesRedactBanner: "Teredaksi",
pluginSentinelName: 'dsh-sentinel Sistem bangun',
pluginFileTraceName: 'dsh-file-trace Pelacakan File',
pluginFileTraceDesc: 'Mencatat setiap file yang dibaca, ditulis, atau diedit model; daftar terkelompok dengan konten dan diff per baris, mode baca Markdown dan penyamaran rahasia; jendela mengambang mandiri tanpa better-sidebar',
pluginEgoBrowserName: 'ego-browser Peramban agen',
pluginBetterOverleafName: 'dsh-better-overleaf Tab Overleaf',
pluginDocsPanelName: 'dsh-docs-panel Dokumen global',
+2
View File
@@ -496,6 +496,8 @@ export const it: Record<string, string> = {
changesRedactOffLabel: "Senza mascheramento",
changesRedactBanner: "Mascherato",
pluginSentinelName: 'dsh-sentinel Sistema di riattivazione',
pluginFileTraceName: 'dsh-file-trace Tracciatura file',
pluginFileTraceDesc: 'Registra ogni file letto, scritto o modificato dal modello; elenco raggruppato con contenuti e diff riga per riga, modalità lettura Markdown e mascheramento dei segreti; finestra mobile autonoma senza better-sidebar',
pluginEgoBrowserName: 'ego-browser Browser dell’agente',
pluginBetterOverleafName: 'dsh-better-overleaf Scheda Overleaf',
pluginDocsPanelName: 'dsh-docs-panel Documenti globali',
+2
View File
@@ -506,6 +506,8 @@ export const ja: Record<string, string> = {
changesRedactOffLabel: "マスキング解除",
changesRedactBanner: "マスク済み",
pluginSentinelName: 'dsh-sentinel ウェイクアップシステム',
pluginFileTraceName: 'dsh-file-trace ファイル追跡',
pluginFileTraceDesc: 'モデルが読み取り・書き込み・編集したすべてのファイルを記録し、ファイルごとに内容と行単位 diff を表示。Markdown 閲覧モードと機密マスク付き。better-sidebar 未導入時は単独のフローティングウィンドウ',
pluginEgoBrowserName: 'ego-browser エージェントブラウザー',
pluginBetterOverleafName: 'dsh-better-overleaf Overleaf タブ',
pluginDocsPanelName: 'dsh-docs-panel グローバルドキュメント',
+2
View File
@@ -497,6 +497,8 @@ export const ko: Record<string, string> = {
changesRedactOffLabel: "마스킹 해제",
changesRedactBanner: "마스킹됨",
pluginSentinelName: 'dsh-sentinel 웨이크업 시스템',
pluginFileTraceName: 'dsh-file-trace 파일 추적',
pluginFileTraceDesc: '모델이 읽기·쓰기·편집한 모든 파일을 기록해 파일별 내용과 줄 단위 diff로 보여 줍니다. Markdown 읽기 모드와 민감정보 마스크 포함, better-sidebar 미설치 시 독립 플로팅 창',
pluginEgoBrowserName: 'ego-browser 에이전트 브라우저',
pluginBetterOverleafName: 'dsh-better-overleaf Overleaf 탭',
pluginDocsPanelName: 'dsh-docs-panel 전역 문서',
+2
View File
@@ -503,6 +503,8 @@ export const nl: Record<string, string> = {
changesRedactOffLabel: "Zonder redactie",
changesRedactBanner: "Geredigeerd",
pluginSentinelName: 'dsh-sentinel Weksysteem',
pluginFileTraceName: 'dsh-file-trace Bestandstracering',
pluginFileTraceDesc: 'Legt elk bestand vast dat het model leest, schrijft of bewerkt; gegroepeerde lijst met inhoud en regeldiffs, Markdown-leesmodus en geheimmaskering; zonder better-sidebar een zelfstandig zwevend venster',
pluginEgoBrowserName: 'ego-browser Agentbrowser',
pluginBetterOverleafName: 'dsh-better-overleaf Overleaf-tab',
pluginDocsPanelName: 'dsh-docs-panel Globale documenten',
+2
View File
@@ -507,6 +507,8 @@ export const pl: Record<string, string> = {
changesRedactOffLabel: "Bez redakcji",
changesRedactBanner: "Zredagowano",
pluginSentinelName: 'dsh-sentinel System wybudzania',
pluginFileTraceName: 'dsh-file-trace Śledzenie plików',
pluginFileTraceDesc: 'Zapisuje każdy plik odczytany, zapisany lub edytowany przez model; pogrupowana lista z zawartością i diffami linia po linii, tryb czytania Markdown i maskowanie sekretów; bez better-sidebar osobne okno pływające',
pluginEgoBrowserName: 'ego-browser Przeglądarka agenta',
pluginBetterOverleafName: 'dsh-better-overleaf Karta Overleaf',
pluginDocsPanelName: 'dsh-docs-panel Dokumenty globalne',
+2
View File
@@ -488,6 +488,8 @@ export const pt: Record<string, string> = {
changesRedactOffLabel: "Sem máscara",
changesRedactBanner: "Mascarado",
pluginSentinelName: 'dsh-sentinel Sistema de despertar',
pluginFileTraceName: 'dsh-file-trace Rastreio de arquivos',
pluginFileTraceDesc: 'Registra cada arquivo que o modelo lê, grava ou edita; lista agrupada com conteúdos e diffs linha a linha, modo de leitura Markdown e mascaramento de segredos; janela flutuante autônoma sem better-sidebar',
pluginEgoBrowserName: 'ego-browser Navegador de agentes',
pluginBetterOverleafName: 'dsh-better-overleaf Aba Overleaf',
pluginDocsPanelName: 'dsh-docs-panel Documentos globais',
+2
View File
@@ -503,6 +503,8 @@ export const ru: Record<string, string> = {
changesRedactOffLabel: "Без маскировки",
changesRedactBanner: "Замаскировано",
pluginSentinelName: 'dsh-sentinel Система пробуждения',
pluginFileTraceName: 'dsh-file-trace Отслеживание файлов',
pluginFileTraceDesc: 'Записывает каждый файл, который модель читает, записывает или изменяет; сгруппированный список с содержимым и построчными diff, режим чтения Markdown и маскирование секретов; без better-sidebar — отдельное плавающее окно',
pluginEgoBrowserName: 'ego-browser Браузер агента',
pluginBetterOverleafName: 'dsh-better-overleaf Вкладка Overleaf',
pluginDocsPanelName: 'dsh-docs-panel Глобальные документы',
+2
View File
@@ -488,6 +488,8 @@ export const sv: Record<string, string> = {
changesRedactOffLabel: "Utan maskning",
changesRedactBanner: "Maskerat",
pluginSentinelName: 'dsh-sentinel Väcksystem',
pluginFileTraceName: 'dsh-file-trace Filspårning',
pluginFileTraceDesc: 'Registrerar varje fil modellen läser, skriver eller redigerar; grupperad lista med innehåll och rad-diffs, Markdown-läsläge och hemlighetsmaskering; utan better-sidebar ett fristående flytande fönster',
pluginEgoBrowserName: 'ego-browser Agentwebbläsare',
pluginBetterOverleafName: 'dsh-better-overleaf Overleaf-flik',
pluginDocsPanelName: 'dsh-docs-panel Globala dokument',
+2
View File
@@ -505,6 +505,8 @@ export const th: Record<string, string> = {
changesRedactOffLabel: "ไม่ซ่อน",
changesRedactBanner: "ถูกซ่อนแล้ว",
pluginSentinelName: 'dsh-sentinel ระบบปลุกเตือน',
pluginFileTraceName: 'dsh-file-trace ติดตามไฟล์',
pluginFileTraceDesc: 'บันทึกทุกไฟล์ที่โมเดลอ่าน เขียน หรือแก้ไข; รายการแบ่งตามไฟล์พร้อมเนื้อหาและ diff รายบรรทัด โหมดอ่าน Markdown และการพรางข้อมูลลับ; เป็นหน้าต่างลอยแยกเมื่อไม่มี better-sidebar',
pluginEgoBrowserName: 'ego-browser เบราว์เซอร์เอเจนต์',
pluginBetterOverleafName: 'dsh-better-overleaf แท็บ Overleaf',
pluginDocsPanelName: 'dsh-docs-panel เอกสารส่วนกลาง',
+2
View File
@@ -505,6 +505,8 @@ export const tr: Record<string, string> = {
changesRedactOffLabel: "Maskeleme yok",
changesRedactBanner: "Maskelendi",
pluginSentinelName: 'dsh-sentinel Uyandırma sistemi',
pluginFileTraceName: 'dsh-file-trace Dosya İzleme',
pluginFileTraceDesc: 'Modelin okuduğu, yazdığı veya düzenlediği her dosyayı kaydeder; içerik ve satır bazlı diff ile gruplu liste, Markdown okuma modu ve gizli bilgi maskeleme; better-sidebar yokken bağımsız yüzen pencere',
pluginEgoBrowserName: 'ego-browser Ajan tarayıcısı',
pluginBetterOverleafName: 'dsh-better-overleaf Overleaf sekmesi',
pluginDocsPanelName: 'dsh-docs-panel Genel belgeler',
+2
View File
@@ -505,6 +505,8 @@ export const vi: Record<string, string> = {
changesRedactOffLabel: "Không làm mờ",
changesRedactBanner: "Đã làm mờ",
pluginSentinelName: 'dsh-sentinel Hệ thống đánh thức',
pluginFileTraceName: 'dsh-file-trace Truy vết tệp',
pluginFileTraceDesc: 'Ghi lại mọi tệp mô hình đọc, ghi hoặc chỉnh sửa; danh sách nhóm theo tệp với nội dung và diff từng dòng, chế độ đọc Markdown và che dữ liệu nhạy cảm; cửa sổ nổi độc lập khi không có better-sidebar',
pluginEgoBrowserName: 'ego-browser Trình duyệt agent',
pluginBetterOverleafName: 'dsh-better-overleaf Tab Overleaf',
pluginDocsPanelName: 'dsh-docs-panel Tài liệu toàn cục',
+2
View File
@@ -520,6 +520,8 @@ export const zhHK: Record<string, string> = {
changesRedactOffLabel: "脫敏關",
changesRedactBanner: "已脫敏",
pluginSentinelName: 'dsh-sentinel 喚醒系統',
pluginFileTraceName: 'dsh-file-trace 檔案追蹤',
pluginFileTraceDesc: '記錄模型讀取/寫入/編輯的每一個檔案,按檔案分組查看內容與逐行 diff;含 Markdown 閱讀模式與敏感內容遮罩,未裝 better-sidebar 時為獨立浮動視窗',
pluginEgoBrowserName: 'ego-browser Agent 瀏覽器',
pluginBetterOverleafName: 'dsh-better-overleaf Overleaf 標籤',
pluginDocsPanelName: 'dsh-docs-panel 全域文件',
+2
View File
@@ -520,6 +520,8 @@ export const zhMO: Record<string, string> = {
changesRedactOffLabel: "脫敏關",
changesRedactBanner: "已脫敏",
pluginSentinelName: 'dsh-sentinel 喚醒系統',
pluginFileTraceName: 'dsh-file-trace 檔案追蹤',
pluginFileTraceDesc: '記錄模型讀取/寫入/編輯的每一個檔案,按檔案分組查看內容與逐行 diff;含 Markdown 閱讀模式與敏感內容遮罩,未裝 better-sidebar 時為獨立浮動視窗',
pluginEgoBrowserName: 'ego-browser Agent 瀏覽器',
pluginBetterOverleafName: 'dsh-better-overleaf Overleaf 標籤',
pluginDocsPanelName: 'dsh-docs-panel 全域文件',
+2
View File
@@ -520,6 +520,8 @@ export const zhTW: Record<string, string> = {
changesRedactOffLabel: "脫敏關",
changesRedactBanner: "已脫敏",
pluginSentinelName: 'dsh-sentinel 喚醒系統',
pluginFileTraceName: 'dsh-file-trace 檔案追蹤',
pluginFileTraceDesc: '記錄模型讀取/寫入/編輯的每一個檔案,按檔案分組查看內容與逐行 diff;含 Markdown 閱讀模式與敏感內容遮罩,未裝 better-sidebar 時為獨立浮動視窗',
pluginEgoBrowserName: 'ego-browser Agent 瀏覽器',
pluginBetterOverleafName: 'dsh-better-overleaf Overleaf 標籤',
pluginDocsPanelName: 'dsh-docs-panel 全域文件',
+4
View File
@@ -513,6 +513,8 @@ export const zh = {
pluginEgoBrowserDesc: '把 CitroLabs/ego-lite 接进 DeepSeek Harness 的 agent 浏览器:32 个 ego_* 工具驱动真实 Chromium,侧边栏原生「ego 浏览器」Tab 实时观察 agent 逛的每个页面,可直接点击/拖拽/输入接管;装 better-sidebar 时自动注册 Tab,没装则退回浮动浮窗',
pluginBilingualReaderDesc: '在 DSH 侧边栏读论文 PDF:原生 PDF 显示,选中一段文字即用大模型划词翻译,结合上下文、完全隔离主对话,只作阅读辅助',
pluginSentinelName: 'dsh-sentinel 唤醒系统',
pluginFileTraceName: 'dsh-file-trace 文件追踪',
pluginFileTraceDesc: '记录模型读取/写入/编辑的每一个文件,按文件分组查看内容与逐行 diff;含 Markdown 阅读模式与敏感内容脱敏,未装 better-sidebar 时为独立浮动窗',
pluginMnemeName: 'dsh-mneme 记忆库',
pluginMnemeDesc: '跨会话记忆引擎:autoDream 后台巩固、会话总结与用户画像,SQLite + 可人工编辑的 Markdown 镜像,完全离线私有;安装 better-sidebar 后注册「记忆库」Tab(记忆/实体/状态/设置四视图),未安装时保留侧边栏独立面板',
pluginEgoBrowserName: 'ego-browser Agent 浏览器',
@@ -1032,6 +1034,8 @@ export const en: Record<keyof typeof zh, string> = {
pluginBetterOverleafDesc: 'Overleaf tab for better-sidebar: direct-CDP browser login (third-party Chromium supported), project list/switch, local git mirrors under <workspace>/overleaf/, two-way git sync with read-only API fallback, and file preview through the sidebar workbench',
pluginBilingualReaderDesc: 'Read paper PDFs in the DSH sidebar: native PDF rendering, select text to translate it with the LLM, using context while staying fully isolated from the main conversation — a reading aid only',
pluginSentinelName: 'dsh-sentinel Wake-up System',
pluginFileTraceName: 'dsh-file-trace File Tracing',
pluginFileTraceDesc: 'Records every file the model reads, writes, or edits; grouped list with content and line diffs, Markdown reading mode and secret redaction; standalone floating window without better-sidebar',
pluginMnemeName: 'dsh-mneme Memory Library',
pluginMnemeDesc: 'Cross-session memory engine: autoDream background consolidation, session summarization and user profile; SQLite + human-editable Markdown mirrors, fully offline and private. Registers a "Memory Library" tab (memories/entities/status/settings views) when better-sidebar is present and keeps its standalone sidebar panel as a fallback',
pluginEgoBrowserName: 'ego-browser Agent Browser',
+11
View File
@@ -71,6 +71,17 @@ export const builtinTabPlugins: readonly PluginEntry[] = [
// the install line installs the prerequisite first, then the plugin.
install: 'cd ~/.dsh && dsh plugin --profile web add dsh-better-sidebar && dsh plugin --profile web add dsh-docs-panel',
},
{
id: '@dsh-external/dsh-file-trace',
name: () => t('pluginFileTraceName'),
url: 'https://github.com/lhh010/dsh-file-trace',
description: () => t('pluginFileTraceDesc'),
// Dual mount: registers the native "File Trace" tab when better-sidebar
// is present (optional peer), standalone floating window otherwise.
// GitHub-sourced with committed lib/ — the pinned github: tag installs
// without a local build.
install: "cd ~/.dsh && dsh plugin --profile web add dsh-better-sidebar && dsh plugin --profile web add '@dsh-external/dsh-file-trace@github:lhh010/dsh-file-trace#v0.3.24'",
},
{
id: 'dsh-tylina',
name: () => t('pluginTylinaName'),