dsh-coding-sidebar 1.0.2 → 1.0.4
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.
- package/README.md +27 -42
- package/lib/client-editor.js +449 -4278
- package/lib/client-registry.js +641 -1343
- package/lib/client-terminal.js +172 -262
- package/lib/client.js +645 -1347
- package/lib/index.js +24 -122
- package/lib/types/bundle-route.d.ts +1 -1
- package/lib/types/client/SideCardSection.d.ts +3 -3
- package/lib/types/client/TextEditor.d.ts +20 -10
- package/lib/types/client/add-plugin-modal.d.ts +0 -4
- package/lib/types/client/api.d.ts +8 -11
- package/lib/types/client/builtins/index.d.ts +10 -10
- package/lib/types/client/chunk-loader.d.ts +7 -8
- package/lib/types/client/locales.d.ts +0 -26
- package/lib/types/client/native-avoid.d.ts +2 -0
- package/lib/types/client/plugins-shared.d.ts +6 -6
- package/lib/types/client/service.d.ts +13 -83
- package/lib/types/context-types.d.ts +19 -10
- package/lib/types/index.d.ts +1 -1
- package/lib/types/prefs-shared.d.ts +1 -24
- package/package.json +26 -30
- package/src/bundle-route.ts +1 -1
- package/src/client/EditorHost.tsx +52 -122
- package/src/client/SandboxStatusBar.tsx +12 -9
- package/src/client/SideCardSection.module.css +2 -2
- package/src/client/SideCardSection.tsx +28 -81
- package/src/client/SideChatView.module.css +12 -12
- package/src/client/TextEditor.tsx +89 -266
- package/src/client/add-plugin-modal.tsx +16 -24
- package/src/client/api.ts +1 -25
- package/src/client/builtins/index.ts +10 -14
- package/src/client/chunk-loader.ts +7 -8
- package/src/client/index.tsx +12 -3
- package/src/client/locales-ar.ts +0 -6
- package/src/client/locales-de.ts +0 -6
- package/src/client/locales-fr.ts +0 -6
- package/src/client/locales-hi.ts +0 -6
- package/src/client/locales-id.ts +0 -6
- package/src/client/locales-it.ts +0 -6
- package/src/client/locales-ja.ts +0 -6
- package/src/client/locales-ko.ts +0 -6
- package/src/client/locales-nl.ts +0 -6
- package/src/client/locales-pl.ts +0 -6
- package/src/client/locales-pt.ts +0 -6
- package/src/client/locales-ru.ts +0 -6
- package/src/client/locales-sv.ts +0 -6
- package/src/client/locales-th.ts +0 -6
- package/src/client/locales-tr.ts +0 -6
- package/src/client/locales-vi.ts +0 -6
- package/src/client/locales-zh-HK.ts +0 -6
- package/src/client/locales-zh-MO.ts +0 -6
- package/src/client/locales-zh-TW.ts +0 -6
- package/src/client/locales.ts +0 -52
- package/src/client/native-avoid.ts +155 -0
- package/src/client/plugins-shared.ts +6 -6
- package/src/client/prefs.ts +0 -7
- package/src/client/service.ts +13 -150
- package/src/client/sidebar.module.css +1 -425
- package/src/config.ts +1 -4
- package/src/context-types.ts +12 -7
- package/src/index.ts +12 -78
- package/src/jobs-routes.ts +3 -2
- package/src/prefs-shared.ts +1 -27
- package/src/sidechat-routes.ts +13 -8
- package/src/subagent-live-route.ts +2 -1
- package/lib/client-mermaid.js +0 -200753
- package/lib/types/client/MarkdownHtml.d.ts +0 -32
- package/lib/types/client/PdfView.d.ts +0 -6
- package/lib/types/client/builtins/viewers.d.ts +0 -3
- package/lib/types/client/chunks/mermaid.d.ts +0 -10
- package/lib/types/client/editor-load.d.ts +0 -66
- package/lib/types/client/image-types.d.ts +0 -3
- package/lib/types/client/markdown-html.d.ts +0 -96
- package/lib/types/client/markdown-images.d.ts +0 -45
- package/lib/types/client/md-toc.d.ts +0 -4
- package/lib/types/client/mermaid-blocks.d.ts +0 -47
- package/lib/types/client/mermaid-sanitize.d.ts +0 -2
- package/lib/types/client/mermaid.d.ts +0 -12
- package/lib/types/client/pdf-types.d.ts +0 -2
- package/lib/types/client/plugins-viewers.d.ts +0 -3
- package/lib/types/html-route.d.ts +0 -59
- package/src/client/MarkdownHtml.tsx +0 -296
- package/src/client/PdfView.tsx +0 -110
- package/src/client/builtins/viewers.tsx +0 -125
- package/src/client/chunks/mermaid.tsx +0 -10
- package/src/client/editor-load.ts +0 -92
- package/src/client/image-types.ts +0 -8
- package/src/client/markdown-html.ts +0 -331
- package/src/client/markdown-images.ts +0 -137
- package/src/client/md-toc.tsx +0 -127
- package/src/client/mermaid-blocks.ts +0 -110
- package/src/client/mermaid-sanitize.ts +0 -93
- package/src/client/mermaid.tsx +0 -406
- package/src/client/pdf-types.ts +0 -4
- package/src/client/plugins-viewers.ts +0 -30
- package/src/html-route.ts +0 -106
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Lazy chunk loader for the client bundle. The heavy
|
|
3
|
-
* libraries (CodeMirror, xterm —
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
* recommended office plugin, see plugins-viewers.ts.)
|
|
2
|
+
* Lazy chunk loader for the client bundle. The heavy editor/terminal
|
|
3
|
+
* libraries (CodeMirror, xterm — several MB) live in separate build-time
|
|
4
|
+
* bundles (`lib/client-<name>.js`) fetched only on first use of the feature
|
|
5
|
+
* that needs them, so startup downloads/parses only the ~1MB core bundle.
|
|
6
|
+
* (v1.0.4: the mermaid chunk was retired with the file-viewer line; the
|
|
7
|
+
* office stack moved to the ecosystem even earlier.)
|
|
9
8
|
*
|
|
10
9
|
* How a chunk script works (see tsdown.config.ts chunkBundle):
|
|
11
10
|
*
|
|
@@ -49,7 +48,7 @@
|
|
|
49
48
|
* client.js); an edit that does land while a core HMR happens is caught by
|
|
50
49
|
* the ETag comparison on the next activation.
|
|
51
50
|
*/
|
|
52
|
-
export type ChunkName = 'terminal' | 'editor'
|
|
51
|
+
export type ChunkName = 'terminal' | 'editor'
|
|
53
52
|
|
|
54
53
|
/** The module exports a chunk factory provides (namespace-ish record). */
|
|
55
54
|
export type ChunkExports = Record<string, unknown>
|
package/src/client/index.tsx
CHANGED
|
@@ -12,6 +12,7 @@ import { createElement } from 'react'
|
|
|
12
12
|
import { createRoot, type Root } from 'react-dom/client'
|
|
13
13
|
import type { Context } from '../context-types.ts'
|
|
14
14
|
import { allLeaves, createSidebarStore, isAgentTabId } from './state.ts'
|
|
15
|
+
import { installNativeSidebarAvoidance } from './native-avoid.ts'
|
|
15
16
|
import { createBetterSidebarService, matchUrlTarget } from './service.ts'
|
|
16
17
|
import { revalidateChunksOnReactivate, setChunkModuleSystem } from './chunk-loader.ts'
|
|
17
18
|
import { registerBuiltins } from './builtins/index.ts'
|
|
@@ -123,11 +124,19 @@ export function apply(ctx: Context): void {
|
|
|
123
124
|
// module-level singleton).
|
|
124
125
|
const sidebarStore = createSidebarStore()
|
|
125
126
|
// The sidebar registry service: external plugins register tab types and
|
|
126
|
-
//
|
|
127
|
+
// tab pages through `ctx.betterSidebar.registerTab`.
|
|
127
128
|
// Published before the panel mounts so consumers injecting 'betterSidebar'
|
|
128
129
|
// are ready by the time the sidebar renders.
|
|
129
130
|
const service = createBetterSidebarService(sidebarStore)
|
|
130
131
|
ctx.provide('betterSidebar', service)
|
|
132
|
+
// Native-sidebar avoidance: when the DSH shell's own sidebar expands, an
|
|
133
|
+
// open panel would crowd the page into several columns — yield (collapse,
|
|
134
|
+
// remembered) and restore when the native sidebar returns to its rail.
|
|
135
|
+
// The disposer unregisters the DOM observers on fiber disposal (HMR-safe).
|
|
136
|
+
ctx.effect(
|
|
137
|
+
() => installNativeSidebarAvoidance(sidebarStore),
|
|
138
|
+
'dsh-coding-sidebar: native-sidebar avoidance',
|
|
139
|
+
)
|
|
131
140
|
// Terminal tab titles use the host's effective shell name (e.g. bash/zsh)
|
|
132
141
|
// instead of "Terminal 1". Start with a safe fallback and replace it as
|
|
133
142
|
// soon as the host shell info resolves. Tabs created before the response
|
|
@@ -146,12 +155,12 @@ export function apply(ctx: Context): void {
|
|
|
146
155
|
}
|
|
147
156
|
}
|
|
148
157
|
}).catch(() => { /* keep fallback */ })
|
|
149
|
-
// Register the plugin's own built-in tabs
|
|
158
|
+
// Register the plugin's own built-in tabs through the same
|
|
150
159
|
// service (eating our own dogfood). The disposer unregisters them on
|
|
151
160
|
// fiber disposal (HMR-safe).
|
|
152
161
|
ctx.effect(
|
|
153
162
|
() => registerBuiltins(ctx, service, { terminalTitle: () => terminalTitle }),
|
|
154
|
-
'dsh-coding-sidebar: register built-in tabs
|
|
163
|
+
'dsh-coding-sidebar: register built-in tabs',
|
|
155
164
|
)
|
|
156
165
|
// A failure anywhere in the client lifecycle must never take the app down
|
|
157
166
|
// silently: log with the plugin prefix and pin a visible diagnostic strip
|
package/src/client/locales-ar.ts
CHANGED
|
@@ -90,13 +90,7 @@ export const ar: Record<string, string> = {
|
|
|
90
90
|
terminalDepsHint: 'شغّل الأمر التالي في طرفية أو cmd على جهاز DSH للإصلاح، ثم أعد المحاولة (يبقى node-pty متزامناً مع إصدار نواة DSH):',
|
|
91
91
|
terminalDepsProfile: ' (الملف الشخصي المكتشف: {profile})',
|
|
92
92
|
preview: 'معاينة',
|
|
93
|
-
toc: 'الفهرس',
|
|
94
93
|
edit: 'تحرير',
|
|
95
|
-
mermaidError: 'فشل رسم Mermaid',
|
|
96
|
-
mermaidZoomIn: 'تكبير',
|
|
97
|
-
mermaidZoomOut: 'تصغير',
|
|
98
|
-
mermaidZoomReset: 'إعادة تعيين',
|
|
99
|
-
mermaidZoomHint: 'العجلة للتقريب · السحب للتحريك · Esc للإغلاق',
|
|
100
94
|
refresh: 'تحديث',
|
|
101
95
|
showInFolder: 'إظهار في المجلد',
|
|
102
96
|
refreshUnsavedConfirm: 'تغيّر الملف على القرص. سيؤدي التحديث إلى فقدان التعديلات غير المحفوظة. متابعة؟',
|
package/src/client/locales-de.ts
CHANGED
|
@@ -75,13 +75,7 @@ export const de: Record<string, string> = {
|
|
|
75
75
|
terminalDepsHint: 'Führen Sie den folgenden Befehl in einem Terminal oder in cmd auf dem DSH-System aus, um dies zu beheben, und klicken Sie dann auf „Erneut versuchen“ (node-pty bleibt mit der DSH-Core-Version synchron):',
|
|
76
76
|
terminalDepsProfile: ' (erkanntes Profil: {profile})',
|
|
77
77
|
preview: 'Vorschau',
|
|
78
|
-
toc: 'Inhaltsverzeichnis',
|
|
79
78
|
edit: 'Bearbeiten',
|
|
80
|
-
mermaidError: 'Mermaid-Rendering fehlgeschlagen',
|
|
81
|
-
mermaidZoomIn: 'Vergrößern',
|
|
82
|
-
mermaidZoomOut: 'Verkleinern',
|
|
83
|
-
mermaidZoomReset: 'Zurücksetzen',
|
|
84
|
-
mermaidZoomHint: 'Scrollen zum Zoomen · Ziehen zum Verschieben · Esc zum Schließen',
|
|
85
79
|
refresh: 'Aktualisieren',
|
|
86
80
|
showInFolder: 'Im Ordner anzeigen',
|
|
87
81
|
refreshUnsavedConfirm: 'Die Datei wurde geändert. Beim Aktualisieren gehen ungespeicherte Änderungen verloren. Fortfahren?',
|
package/src/client/locales-fr.ts
CHANGED
|
@@ -82,13 +82,7 @@ export const fr: Record<string, string> = {
|
|
|
82
82
|
terminalDepsHint: 'Exécutez la commande suivante dans un terminal ou cmd de l’environnement DSH pour réparer, puis cliquez sur Réessayer (node-pty reste à la même version que le cœur DSH) :',
|
|
83
83
|
terminalDepsProfile: ' (profil détecté : {profile})',
|
|
84
84
|
preview: 'Aperçu',
|
|
85
|
-
toc: 'Sommaire',
|
|
86
85
|
edit: 'Modifier',
|
|
87
|
-
mermaidError: 'Échec du rendu Mermaid',
|
|
88
|
-
mermaidZoomIn: 'Agrandir',
|
|
89
|
-
mermaidZoomOut: 'Réduire',
|
|
90
|
-
mermaidZoomReset: 'Réinitialiser',
|
|
91
|
-
mermaidZoomHint: 'Molette pour zoomer · glisser pour déplacer · Échap pour fermer',
|
|
92
86
|
refresh: 'Actualiser',
|
|
93
87
|
showInFolder: 'Afficher dans le dossier',
|
|
94
88
|
refreshUnsavedConfirm: 'Le fichier a changé sur le disque. Actualiser supprimera les modifications non enregistrées. Continuer ?',
|
package/src/client/locales-hi.ts
CHANGED
|
@@ -89,13 +89,7 @@ export const hi: Record<string, string> = {
|
|
|
89
89
|
terminalDepsHint: 'DSH मशीन पर एक टर्मिनल या cmd में नीचे दिया गया कमांड चलाएँ, फिर पुनः प्रयास करें (node-pty DSH कोर संस्करण के साथ सिंक रहता है):',
|
|
90
90
|
terminalDepsProfile: ' (पहचाना गया प्रोफ़ाइल: {profile})',
|
|
91
91
|
preview: 'पूर्वावलोकन',
|
|
92
|
-
toc: 'विषय-सूची',
|
|
93
92
|
edit: 'संपादित करें',
|
|
94
|
-
mermaidError: 'Mermaid रेंडर विफल',
|
|
95
|
-
mermaidZoomIn: 'ज़ूम इन',
|
|
96
|
-
mermaidZoomOut: 'ज़ूम आउट',
|
|
97
|
-
mermaidZoomReset: 'रीसेट',
|
|
98
|
-
mermaidZoomHint: 'स्क्रॉल से ज़ूम · खींचें पैन करने · Esc से बंद',
|
|
99
93
|
refresh: 'ताज़ा करें',
|
|
100
94
|
showInFolder: 'फ़ोल्डर में दिखाएँ',
|
|
101
95
|
refreshUnsavedConfirm: 'डिस्क पर फ़ाइल बदल गई है। रीफ़्रेश करने पर असहेज किए गए संपादन खो जाएँगे। जारी रखें?',
|
package/src/client/locales-id.ts
CHANGED
|
@@ -87,13 +87,7 @@ export const id: Record<string, string> = {
|
|
|
87
87
|
terminalDepsHint: 'Jalankan perintah di bawah ini di terminal atau cmd pada mesin DSH untuk memperbaikinya, lalu coba lagi (node-pty tetap sinkron dengan versi inti DSH):',
|
|
88
88
|
terminalDepsProfile: ' (profil terdeteksi: {profile})',
|
|
89
89
|
preview: 'Pratinjau',
|
|
90
|
-
toc: 'Daftar Isi',
|
|
91
90
|
edit: 'Edit',
|
|
92
|
-
mermaidError: 'Render Mermaid gagal',
|
|
93
|
-
mermaidZoomIn: 'Perbesar',
|
|
94
|
-
mermaidZoomOut: 'Perkecil',
|
|
95
|
-
mermaidZoomReset: 'Reset',
|
|
96
|
-
mermaidZoomHint: 'Gulir untuk zoom · seret untuk geser · Esc untuk tutup',
|
|
97
91
|
refresh: 'Segarkan',
|
|
98
92
|
showInFolder: 'Tampilkan di folder',
|
|
99
93
|
refreshUnsavedConfirm: 'File berubah di disk. Menyegarkan akan membuang edit yang belum disimpan. Lanjutkan?',
|
package/src/client/locales-it.ts
CHANGED
|
@@ -80,13 +80,7 @@ export const it: Record<string, string> = {
|
|
|
80
80
|
terminalDepsHint: 'Esegua il comando seguente in un terminale o cmd sul computer DSH per ripristinarlo, poi riprovi (node-pty resta sincronizzato con la versione del core DSH):',
|
|
81
81
|
terminalDepsProfile: ' (rilevato profilo: {profile})',
|
|
82
82
|
preview: 'Anteprima',
|
|
83
|
-
toc: 'Indice',
|
|
84
83
|
edit: 'Modifica',
|
|
85
|
-
mermaidError: 'Rendering Mermaid non riuscito',
|
|
86
|
-
mermaidZoomIn: 'Ingrandisci',
|
|
87
|
-
mermaidZoomOut: 'Riduci',
|
|
88
|
-
mermaidZoomReset: 'Ripristina',
|
|
89
|
-
mermaidZoomHint: 'Scorra per zoom · trascini per panoramica · Esc per chiudere',
|
|
90
84
|
refresh: 'Aggiorna',
|
|
91
85
|
showInFolder: 'Mostra nella cartella',
|
|
92
86
|
refreshUnsavedConfirm: 'Il file è cambiato su disco. Aggiornare scarterà le modifiche non salvate. Continuare?',
|
package/src/client/locales-ja.ts
CHANGED
|
@@ -89,13 +89,7 @@ export const ja: Record<string, string> = {
|
|
|
89
89
|
terminalDepsHint: 'DSH 環境のターミナルまたは cmd で以下のコマンドを実行して修復し、再試行してください(node-pty は DSH コアと同じバージョンを維持):',
|
|
90
90
|
terminalDepsProfile: '(検出された profile:{profile})',
|
|
91
91
|
preview: 'プレビュー',
|
|
92
|
-
toc: '目次',
|
|
93
92
|
edit: '編集',
|
|
94
|
-
mermaidError: 'Mermaid レンダリング失敗',
|
|
95
|
-
mermaidZoomIn: '拡大',
|
|
96
|
-
mermaidZoomOut: '縮小',
|
|
97
|
-
mermaidZoomReset: 'リセット',
|
|
98
|
-
mermaidZoomHint: 'スクロールで拡大 ・ ドラッグで移動 ・ Esc で閉じる',
|
|
99
93
|
refresh: '更新',
|
|
100
94
|
showInFolder: 'フォルダーで表示',
|
|
101
95
|
refreshUnsavedConfirm: 'ディスク上のファイルが変更されました。更新すると未保存の編集が失われます。続行しますか?',
|
package/src/client/locales-ko.ts
CHANGED
|
@@ -81,13 +81,7 @@ export const ko: Record<string, string> = {
|
|
|
81
81
|
terminalDepsHint: 'DSH가 설치된 환경의 터미널 또는 cmd에서 아래 명령을 실행하여 복구한 후 다시 시도를 클릭하세요(node-pty는 DSH 코어와 동일한 버전을 유지합니다):',
|
|
82
82
|
terminalDepsProfile: ' (profile 감지됨: {profile})',
|
|
83
83
|
preview: '미리보기',
|
|
84
|
-
toc: '목차',
|
|
85
84
|
edit: '편집',
|
|
86
|
-
mermaidError: 'Mermaid 렌더링 실패',
|
|
87
|
-
mermaidZoomIn: '확대',
|
|
88
|
-
mermaidZoomOut: '축소',
|
|
89
|
-
mermaidZoomReset: '초기화',
|
|
90
|
-
mermaidZoomHint: '휠로 확대/축소 · 드래그로 이동 · Esc로 닫기',
|
|
91
85
|
refresh: '새로고침',
|
|
92
86
|
showInFolder: '폴더에서 표시',
|
|
93
87
|
refreshUnsavedConfirm: '디스크의 파일이 변경되었습니다. 새로고침하면 저장되지 않은 편집 내용이 손실됩니다. 계속하시겠습니까?',
|
package/src/client/locales-nl.ts
CHANGED
|
@@ -87,13 +87,7 @@ export const nl: Record<string, string> = {
|
|
|
87
87
|
terminalDepsHint: 'Voer het onderstaande commando uit in een terminal of cmd op de DSH-machine om het te herstellen en probeer het opnieuw (node-pty blijft in sync met de DSH-coreversie):',
|
|
88
88
|
terminalDepsProfile: ' (gedetecteerde profile: {profile})',
|
|
89
89
|
preview: 'Voorbeeld',
|
|
90
|
-
toc: 'Inhoudsopgave',
|
|
91
90
|
edit: 'Bewerken',
|
|
92
|
-
mermaidError: 'Mermaid-renderen mislukt',
|
|
93
|
-
mermaidZoomIn: 'Inzoomen',
|
|
94
|
-
mermaidZoomOut: 'Uitzoomen',
|
|
95
|
-
mermaidZoomReset: 'Resetten',
|
|
96
|
-
mermaidZoomHint: 'Scrollen om te zoomen · slepen om te pannen · Esc om te sluiten',
|
|
97
91
|
refresh: 'Vernieuwen',
|
|
98
92
|
showInFolder: 'In map tonen',
|
|
99
93
|
refreshUnsavedConfirm: 'Het bestand is op schijf gewijzigd. Vernieuwen gooit niet-opgeslagen wijzigingen weg. Doorgaan?',
|
package/src/client/locales-pl.ts
CHANGED
|
@@ -91,13 +91,7 @@ export const pl: Record<string, string> = {
|
|
|
91
91
|
terminalDepsHint: 'Uruchom poniższe polecenie w terminalu lub cmd na maszynie DSH, aby to naprawić, a następnie ponów (node-pty pozostaje w synchronizacji z wersją rdzenia DSH):',
|
|
92
92
|
terminalDepsProfile: ' (wykryty profil: {profile})',
|
|
93
93
|
preview: 'Podgląd',
|
|
94
|
-
toc: 'Spis treści',
|
|
95
94
|
edit: 'Edytuj',
|
|
96
|
-
mermaidError: 'Renderowanie Mermaid nie powiodło się',
|
|
97
|
-
mermaidZoomIn: 'Powiększ',
|
|
98
|
-
mermaidZoomOut: 'Pomniejsz',
|
|
99
|
-
mermaidZoomReset: 'Resetuj',
|
|
100
|
-
mermaidZoomHint: 'Kółko: powiększenie · przeciąganie: panowanie · Esc: zamknięcie',
|
|
101
95
|
refresh: 'Odśwież',
|
|
102
96
|
showInFolder: 'Pokaż w folderze',
|
|
103
97
|
refreshUnsavedConfirm: 'Plik zmienił się na dysku. Odświeżenie odrzuci niezapisane zmiany. Kontynuować?',
|
package/src/client/locales-pt.ts
CHANGED
|
@@ -72,13 +72,7 @@ export const pt: Record<string, string> = {
|
|
|
72
72
|
terminalDepsHint: 'Execute o comando abaixo em um terminal ou cmd na máquina do DSH para reparar e tente novamente (node-pty permanece em sincronia com a versão do núcleo do DSH):',
|
|
73
73
|
terminalDepsProfile: ' (perfil detectado: {profile})',
|
|
74
74
|
preview: 'Pré-visualizar',
|
|
75
|
-
toc: 'Sumário',
|
|
76
75
|
edit: 'Editar',
|
|
77
|
-
mermaidError: 'Falha ao renderizar o Mermaid',
|
|
78
|
-
mermaidZoomIn: 'Ampliar',
|
|
79
|
-
mermaidZoomOut: 'Reduzir',
|
|
80
|
-
mermaidZoomReset: 'Redefinir',
|
|
81
|
-
mermaidZoomHint: 'Rolar para ampliar · arrastar para mover · Esc para fechar',
|
|
82
76
|
refresh: 'Atualizar',
|
|
83
77
|
showInFolder: 'Mostrar na pasta',
|
|
84
78
|
refreshUnsavedConfirm: 'O arquivo mudou no disco. Atualizar descartará edições não salvas. Continuar?',
|
package/src/client/locales-ru.ts
CHANGED
|
@@ -85,13 +85,7 @@ export const ru: Record<string, string> = {
|
|
|
85
85
|
terminalDepsHint: 'Выполните приведённую ниже команду в терминале или cmd на машине DSH, затем нажмите «Повторить» (node-pty остаётся синхронизированным с версией ядра DSH):',
|
|
86
86
|
terminalDepsProfile: ' (обнаружен profile: {profile})',
|
|
87
87
|
preview: 'Предпросмотр',
|
|
88
|
-
toc: 'Оглавление',
|
|
89
88
|
edit: 'Изменить',
|
|
90
|
-
mermaidError: 'Сбой рендеринга Mermaid',
|
|
91
|
-
mermaidZoomIn: 'Приблизить',
|
|
92
|
-
mermaidZoomOut: 'Отдалить',
|
|
93
|
-
mermaidZoomReset: 'Сбросить',
|
|
94
|
-
mermaidZoomHint: 'Колесо — масштаб · перетаскивание — панорама · Esc — закрыть',
|
|
95
89
|
refresh: 'Обновить',
|
|
96
90
|
showInFolder: 'Показать в папке',
|
|
97
91
|
refreshUnsavedConfirm: 'Файл изменился на диске. Обновление отбросит несохранённые изменения. Продолжить?',
|
package/src/client/locales-sv.ts
CHANGED
|
@@ -72,13 +72,7 @@ export const sv: Record<string, string> = {
|
|
|
72
72
|
terminalDepsHint: 'Kör kommandot nedan i en terminal eller cmd på DSH-maskinen för att reparera det, försök sedan igen (node-pty hålls synkad med DSH-kärnversionen):',
|
|
73
73
|
terminalDepsProfile: ' (upptäckt profil: {profile})',
|
|
74
74
|
preview: 'Förhandsgranska',
|
|
75
|
-
toc: 'Innehållsförteckning',
|
|
76
75
|
edit: 'Redigera',
|
|
77
|
-
mermaidError: 'Mermaid-rendering misslyckades',
|
|
78
|
-
mermaidZoomIn: 'Zooma in',
|
|
79
|
-
mermaidZoomOut: 'Zooma ut',
|
|
80
|
-
mermaidZoomReset: 'Återställ',
|
|
81
|
-
mermaidZoomHint: 'Rulla för att zooma · dra för att panorera · Esc för att stänga',
|
|
82
76
|
refresh: 'Uppdatera',
|
|
83
77
|
showInFolder: 'Visa i mapp',
|
|
84
78
|
refreshUnsavedConfirm: 'Filen ändrades på disken. Uppdatering kastar osparade ändringar. Fortsätta?',
|
package/src/client/locales-th.ts
CHANGED
|
@@ -89,13 +89,7 @@ export const th: Record<string, string> = {
|
|
|
89
89
|
terminalDepsHint: 'เรียกใช้คำสั่งด้านล่างในเทอร์มินัลหรือ cmd บนเครื่อง DSH เพื่อซ่อมแซม แล้วกดลองอีกครั้ง (node-pty ต้องซิงค์กับเวอร์ชันหลักของ DSH):',
|
|
90
90
|
terminalDepsProfile: ' (ตรวจพบ profile: {profile})',
|
|
91
91
|
preview: 'พรีวิว',
|
|
92
|
-
toc: 'สารบัญ',
|
|
93
92
|
edit: 'แก้ไข',
|
|
94
|
-
mermaidError: 'เรนเดอร์ Mermaid ล้มเหลว',
|
|
95
|
-
mermaidZoomIn: 'ซูมเข้า',
|
|
96
|
-
mermaidZoomOut: 'ซูมออก',
|
|
97
|
-
mermaidZoomReset: 'รีเซ็ต',
|
|
98
|
-
mermaidZoomHint: 'เลื่อนเพื่อซูม · ลากเพื่อแพน · Esc เพื่อปิด',
|
|
99
93
|
refresh: 'รีเฟรช',
|
|
100
94
|
showInFolder: 'แสดงในโฟลเดอร์',
|
|
101
95
|
refreshUnsavedConfirm: 'ไฟล์เปลี่ยนบนดิสก์ การรีเฟรชจะทิ้งการแก้ไขที่ยังไม่ได้บันทึก ดำเนินการต่อหรือไม่',
|
package/src/client/locales-tr.ts
CHANGED
|
@@ -89,13 +89,7 @@ export const tr: Record<string, string> = {
|
|
|
89
89
|
terminalDepsHint: 'Onarmak için DSH makinesindeki bir terminalde veya cmd’de aşağıdaki komutu çalıştırın, sonra yeniden deneyin (node-pty, DSH çekirdek sürümüyle senkron kalır):',
|
|
90
90
|
terminalDepsProfile: ' (algılanan profil: {profile})',
|
|
91
91
|
preview: 'Önizleme',
|
|
92
|
-
toc: 'İçindekiler',
|
|
93
92
|
edit: 'Düzenle',
|
|
94
|
-
mermaidError: 'Mermaid oluşturma başarısız',
|
|
95
|
-
mermaidZoomIn: 'Yakınlaştır',
|
|
96
|
-
mermaidZoomOut: 'Uzaklaştır',
|
|
97
|
-
mermaidZoomReset: 'Sıfırla',
|
|
98
|
-
mermaidZoomHint: 'Yakınlaştırmak için kaydır · taşımak için sürükle · kapatmak için Esc',
|
|
99
93
|
refresh: 'Yenile',
|
|
100
94
|
showInFolder: 'Klasörde göster',
|
|
101
95
|
refreshUnsavedConfirm: 'Dosya diskte değişti. Yenileme kaydedilmemiş düzenlemeleri atar. Devam edilsin mi?',
|
package/src/client/locales-vi.ts
CHANGED
|
@@ -89,13 +89,7 @@ export const vi: Record<string, string> = {
|
|
|
89
89
|
terminalDepsHint: 'Chạy lệnh sau trong terminal hoặc cmd trên máy DSH để sửa, rồi nhấn thử lại (node-pty đồng bộ phiên bản với lõi DSH):',
|
|
90
90
|
terminalDepsProfile: ' (phát hiện profile: {profile})',
|
|
91
91
|
preview: 'Xem trước',
|
|
92
|
-
toc: 'Mục lục',
|
|
93
92
|
edit: 'Chỉnh sửa',
|
|
94
|
-
mermaidError: 'Render Mermaid thất bại',
|
|
95
|
-
mermaidZoomIn: 'Phóng to',
|
|
96
|
-
mermaidZoomOut: 'Thu nhỏ',
|
|
97
|
-
mermaidZoomReset: 'Đặt lại',
|
|
98
|
-
mermaidZoomHint: 'Cuộn để zoom · kéo để di chuyển · Esc để đóng',
|
|
99
93
|
refresh: 'Làm mới',
|
|
100
94
|
showInFolder: 'Hiển thị trong thư mục',
|
|
101
95
|
refreshUnsavedConfirm: 'Tệp đã thay đổi trên đĩa. Làm mới sẽ loại bỏ các chỉnh sửa chưa lưu. Tiếp tục?',
|
|
@@ -104,13 +104,7 @@ export const zhHK: Record<string, string> = {
|
|
|
104
104
|
terminalDepsHint: '在 DSH 所在環境的終端或 cmd 中執行以下命令修復,然後點重試(node-pty 與 DSH 核心保持同一版本):',
|
|
105
105
|
terminalDepsProfile: '(偵測到 profile:{profile})',
|
|
106
106
|
preview: '預覽',
|
|
107
|
-
toc: '目錄',
|
|
108
107
|
edit: '編輯',
|
|
109
|
-
mermaidError: 'Mermaid 渲染失敗',
|
|
110
|
-
mermaidZoomIn: '放大',
|
|
111
|
-
mermaidZoomOut: '縮小',
|
|
112
|
-
mermaidZoomReset: '重設',
|
|
113
|
-
mermaidZoomHint: '滾輪縮放 · 拖曳平移 · Esc 關閉',
|
|
114
108
|
refresh: '重新整理',
|
|
115
109
|
showInFolder: '在文件夾中顯示',
|
|
116
110
|
refreshUnsavedConfirm: '檔案已在磁碟上變更。重新整理會丟失尚未儲存的編輯。繼續?',
|
|
@@ -104,13 +104,7 @@ export const zhMO: Record<string, string> = {
|
|
|
104
104
|
terminalDepsHint: '在 DSH 所在環境的終端或 cmd 中執行以下命令修復,然後點重試(node-pty 與 DSH 核心保持同一版本):',
|
|
105
105
|
terminalDepsProfile: '(偵測到 profile:{profile})',
|
|
106
106
|
preview: '預覽',
|
|
107
|
-
toc: '目錄',
|
|
108
107
|
edit: '編輯',
|
|
109
|
-
mermaidError: 'Mermaid 渲染失敗',
|
|
110
|
-
mermaidZoomIn: '放大',
|
|
111
|
-
mermaidZoomOut: '縮小',
|
|
112
|
-
mermaidZoomReset: '重設',
|
|
113
|
-
mermaidZoomHint: '滾輪縮放 · 拖曳平移 · Esc 關閉',
|
|
114
108
|
refresh: '重新整理',
|
|
115
109
|
showInFolder: '在文件夾中顯示',
|
|
116
110
|
refreshUnsavedConfirm: '檔案已在磁碟上變更。重新整理會丟失尚未儲存的編輯。繼續?',
|
|
@@ -104,13 +104,7 @@ export const zhTW: Record<string, string> = {
|
|
|
104
104
|
terminalDepsHint: '在 DSH 所在環境的終端或 cmd 中執行以下命令修復,然後點重試(node-pty 與 DSH 核心保持同一版本):',
|
|
105
105
|
terminalDepsProfile: '(偵測到 profile:{profile})',
|
|
106
106
|
preview: '預覽',
|
|
107
|
-
toc: '目錄',
|
|
108
107
|
edit: '編輯',
|
|
109
|
-
mermaidError: 'Mermaid 渲染失敗',
|
|
110
|
-
mermaidZoomIn: '放大',
|
|
111
|
-
mermaidZoomOut: '縮小',
|
|
112
|
-
mermaidZoomReset: '重設',
|
|
113
|
-
mermaidZoomHint: '滾輪縮放 · 拖曳平移 · Esc 關閉',
|
|
114
108
|
refresh: '重新整理',
|
|
115
109
|
showInFolder: '在資料夾中顯示',
|
|
116
110
|
refreshUnsavedConfirm: '檔案已在磁碟上變更。重新整理會丟失尚未儲存的編輯。繼續?',
|
package/src/client/locales.ts
CHANGED
|
@@ -95,14 +95,6 @@ export const zh = {
|
|
|
95
95
|
terminalDepsFailed: '终端依赖 node-pty 加载失败',
|
|
96
96
|
terminalDepsHint: '在 DSH 所在环境的终端或 cmd 中执行以下命令修复,然后点重试(node-pty 与 DSH 核心保持同一版本):',
|
|
97
97
|
terminalDepsProfile: '(检测到 profile:{profile})',
|
|
98
|
-
preview: '预览',
|
|
99
|
-
toc: '目录',
|
|
100
|
-
edit: '编辑',
|
|
101
|
-
mermaidError: 'Mermaid 渲染失败',
|
|
102
|
-
mermaidZoomIn: '放大',
|
|
103
|
-
mermaidZoomOut: '缩小',
|
|
104
|
-
mermaidZoomReset: '重置',
|
|
105
|
-
mermaidZoomHint: '滚轮缩放 · 拖拽平移 · Esc 关闭',
|
|
106
98
|
refresh: '刷新',
|
|
107
99
|
refreshUnsavedConfirm: '文件已在磁盘更新,刷新将丢弃未保存编辑。继续吗?',
|
|
108
100
|
save: '保存',
|
|
@@ -245,16 +237,8 @@ export const zh = {
|
|
|
245
237
|
settingsShellArgsDesc: '显式 shell 启动参数,空格分隔;非空时完全替换默认参数(与 yaml 的 shellArgs 契约一致)',
|
|
246
238
|
settingsShellArgsPlaceholder: '如 -l(留空用默认参数)',
|
|
247
239
|
settingsTabsTitle: '侧边栏内容',
|
|
248
|
-
settingsViewersTitle: '文件预览',
|
|
249
240
|
settingsGeneralTitle: '常规',
|
|
250
241
|
settingsPopup: '功能设置',
|
|
251
|
-
settingsViewerCatchAll: '兜底:任意文件',
|
|
252
|
-
viewerImage: '图片',
|
|
253
|
-
viewerPdf: 'PDF',
|
|
254
|
-
viewerMarkdown: 'Markdown',
|
|
255
|
-
viewerCode: '代码',
|
|
256
|
-
viewerBinary: '二进制下载',
|
|
257
|
-
viewerHtml: 'HTML',
|
|
258
242
|
browser: '浏览器',
|
|
259
243
|
browserPlaceholder: '输入网址,例如 example.com',
|
|
260
244
|
browserGo: '前往',
|
|
@@ -265,14 +249,9 @@ export const zh = {
|
|
|
265
249
|
browserBlockedLoopback: '已阻止:不允许在浏览器中访问本机或内部地址',
|
|
266
250
|
browserInvalid: '无效的网址',
|
|
267
251
|
browserNoSandboxWarning: '沙箱已关闭:当前页面与界面同源,拥有完整会话权限(可在设置中恢复)',
|
|
268
|
-
htmlNoSandboxWarning: '沙箱已关闭:此 HTML 与界面同源,可读取会话文件与内部接口(可在设置中恢复)',
|
|
269
252
|
sandboxStatusOn: '沙箱模式:已启用 · 页面无法访问界面数据与本地文件,登录态与第三方 Cookie 可能不可用',
|
|
270
253
|
sandboxUnlock: '临时解锁(不安全)',
|
|
271
254
|
sandboxRestore: '恢复沙箱',
|
|
272
|
-
settingsHtmlDefaultUnsafeTitle: 'HTML 预览默认以非沙箱模式打开(不安全)',
|
|
273
|
-
settingsHtmlDefaultUnsafeDesc: '开启后,每次打开 HTML 文件时预览默认处于非沙箱状态(与界面同源,可读取会话文件与内部接口);可在状态行临时恢复沙箱',
|
|
274
|
-
settingsHtmlSandboxTitle: '关闭 HTML 预览沙箱(不安全)',
|
|
275
|
-
settingsHtmlSandboxDesc: '关闭后,预览的 HTML 将与界面同源运行,可读取会话文件、本地存储并调用内部接口。仅对完全可信的文件开启',
|
|
276
255
|
settingsBrowserSandboxTitle: '关闭浏览器沙箱(不安全)',
|
|
277
256
|
settingsBrowserSandboxDesc: '关闭后,访问的任何网站都将与界面同源运行,可读取会话数据并冒充你的登录状态。仅对完全可信的站点开启',
|
|
278
257
|
settingsBrowserLinksTitle: '聊天区外链在侧边栏打开',
|
|
@@ -353,10 +332,7 @@ export const zh = {
|
|
|
353
332
|
jobKillError: '终止失败',
|
|
354
333
|
addPluginsTabCard: '添加 Tab 插件',
|
|
355
334
|
addPluginsTabCardDesc: '注册新的侧边栏页面',
|
|
356
|
-
addPluginsViewerCard: '添加预览插件',
|
|
357
|
-
addPluginsViewerCardDesc: '注册新的文件类型预览',
|
|
358
335
|
addPluginsTabDesc: '侧边栏页面(Tab)可以由插件扩展。插件通过 ctx.betterSidebar 服务注册;点击「安装」复制安装命令,粘贴到 DSH 所在环境的终端执行。',
|
|
359
|
-
addPluginsViewerDesc: '文件预览器可以由插件扩展。插件通过 ctx.betterSidebar 服务注册;点击「安装」复制安装命令,粘贴到 DSH 所在环境的终端执行。',
|
|
360
336
|
addPluginsBrowseMore: '在 GitHub 上浏览更多插件(topic: dsh-coding-sidebar)',
|
|
361
337
|
addPluginsSearch: '搜索插件名称 / 描述…',
|
|
362
338
|
addPluginsNoMatch: '没有匹配的插件',
|
|
@@ -364,7 +340,6 @@ export const zh = {
|
|
|
364
340
|
addPluginsEmpty: '暂未收录插件,欢迎在 GitHub topic 下发布你的插件',
|
|
365
341
|
openPlugin: '跳转',
|
|
366
342
|
copyInstall: '复制安装命令',
|
|
367
|
-
pluginOfficeDesc: '为 dsh-coding-sidebar 编辑器提供 Office 三件套预览(.docx / .xlsx / .pptx),把重型 Office 渲染库拆出主包、按需安装',
|
|
368
343
|
pluginFlowglassDesc: '实时会话流程图:三列泳道展示用户、助手与工具调用,支持并行分组、子代理支线、逐层钻取和实时状态;安装 dsh-coding-sidebar 后注册原生「流镜」Tab,未安装时保留独立抽屉',
|
|
369
344
|
pluginGitForgeDesc: 'dsh-coding-sidebar「Git 凭据」Tab:GitHub/Gitea 等 Forge 账号库 + 按项目授权 + push 策略硬拦;token 仅存本地 secrets,不进模型上下文;提供只读 GitForge 工具与 agent HTTPS credential helper',
|
|
370
345
|
pluginGitRemotesDesc: 'dsh-coding-sidebar Git 远程 Tab:看分支/上游/ahead-behind,fetch(可 prune)、ff-only pull、确认后才 push。不替换内置 Git 的暂存/提交,也不提供 force-push 或模型自动推送',
|
|
@@ -372,7 +347,6 @@ export const zh = {
|
|
|
372
347
|
pluginSidebarQaDesc: '基于 dsh-coding-sidebar 的划选提问tab分页: 对话划选 → 右侧面板提问 → 同工作区独立追问会话(❓追问·主题):快速无思考模型压缩主对话上下文后与引文一起注入,不打断主对话;追问可嵌套、可继续、可归档',
|
|
373
348
|
pluginSshTunnelDesc: 'dsh-coding-sidebar「SSH 隧道」Tab:多机主机清单 + 按项目授权 + 密钥本地保管;模型工具 SSHManager(exec/SFTP/会话策略);中央交互终端与双栏 SFTP',
|
|
374
349
|
pluginTurnReviewDesc: '对「刚刚这一回合」的 diff 做 Approve / Request changes 的人闸门:只审上一回合,不 fork 会话;文件按主会话/子代理/未归因分组,按文件勾选打回 + 可选评语,点文件先看回合开始快照 vs 现在的 diff。不是 /rewind',
|
|
375
|
-
pluginVideoPreviewDesc: '在 dsh-coding-sidebar 编辑器内联预览视频文件(.mp4/.webm/.mov/.mkv/.avi 等),自带支持 HTTP Range(206)的 /video 宿主路由,可拖动进度条、不受 20MB mediaLimit 限制',
|
|
376
350
|
pluginDocsPanelDesc: 'DSH 侧边栏里的「全局文档」:全局 Markdown 笔记,任何工作区随时可读——列表点选阅读、悬浮大纲跳转、Chrome / VS Code 外部打开、代码复制,目录可配置(默认 ~/.dsh/docs)',
|
|
377
351
|
pluginEgoBrowserDesc: '把 CitroLabs/ego-lite 接进 DeepSeek Harness 的 agent 浏览器:32 个 ego_* 工具驱动真实 Chromium,侧边栏原生「ego 浏览器」Tab 实时观察 agent 逛的每个页面,可直接点击/拖拽/输入接管;装 dsh-coding-sidebar 时自动注册 Tab,没装则退回浮动浮窗',
|
|
378
352
|
}
|
|
@@ -451,14 +425,6 @@ export const en: Record<keyof typeof zh, string> = {
|
|
|
451
425
|
terminalDepsFailed: 'Terminal dependency node-pty failed to load',
|
|
452
426
|
terminalDepsHint: 'Run the command below in a terminal or cmd on the DSH machine to repair it, then retry (node-pty stays in sync with the DSH core version):',
|
|
453
427
|
terminalDepsProfile: ' (detected profile: {profile})',
|
|
454
|
-
preview: 'Preview',
|
|
455
|
-
toc: 'Table of contents',
|
|
456
|
-
edit: 'Edit',
|
|
457
|
-
mermaidError: 'Mermaid render failed',
|
|
458
|
-
mermaidZoomIn: 'Zoom in',
|
|
459
|
-
mermaidZoomOut: 'Zoom out',
|
|
460
|
-
mermaidZoomReset: 'Reset',
|
|
461
|
-
mermaidZoomHint: 'Scroll to zoom · drag to pan · Esc to close',
|
|
462
428
|
refresh: 'Refresh',
|
|
463
429
|
refreshUnsavedConfirm: 'The file changed on disk. Refreshing will discard unsaved edits. Continue?',
|
|
464
430
|
save: 'Save',
|
|
@@ -601,16 +567,8 @@ export const en: Record<keyof typeof zh, string> = {
|
|
|
601
567
|
settingsFontSizeDesc: 'Terminal font size in px (9–32, default 13)',
|
|
602
568
|
settingsFontSizeSuffix: 'px',
|
|
603
569
|
settingsTabsTitle: 'Sidebar content',
|
|
604
|
-
settingsViewersTitle: 'File viewers',
|
|
605
570
|
settingsGeneralTitle: 'General',
|
|
606
571
|
settingsPopup: 'Feature settings',
|
|
607
|
-
settingsViewerCatchAll: 'Catch-all: any file',
|
|
608
|
-
viewerImage: 'Image',
|
|
609
|
-
viewerPdf: 'PDF',
|
|
610
|
-
viewerMarkdown: 'Markdown',
|
|
611
|
-
viewerCode: 'Code',
|
|
612
|
-
viewerBinary: 'Binary download',
|
|
613
|
-
viewerHtml: 'HTML',
|
|
614
572
|
browser: 'Browser',
|
|
615
573
|
browserPlaceholder: 'Enter a URL, e.g. example.com',
|
|
616
574
|
browserGo: 'Go',
|
|
@@ -621,14 +579,9 @@ export const en: Record<keyof typeof zh, string> = {
|
|
|
621
579
|
browserBlockedLoopback: 'Blocked: local and internal addresses cannot be browsed here',
|
|
622
580
|
browserInvalid: 'Invalid URL',
|
|
623
581
|
browserNoSandboxWarning: 'Sandbox off: the current page runs with full GUI privileges (re-enable in settings)',
|
|
624
|
-
htmlNoSandboxWarning: 'Sandbox off: this HTML runs with full GUI privileges (re-enable in settings)',
|
|
625
582
|
sandboxStatusOn: 'Sandbox mode: on · pages cannot access the GUI\'s data or local files; logins and third-party cookies may not work',
|
|
626
583
|
sandboxUnlock: 'Temporarily disable (unsafe)',
|
|
627
584
|
sandboxRestore: 'Restore sandbox',
|
|
628
|
-
settingsHtmlDefaultUnsafeTitle: 'Open HTML previews unsandboxed by default (unsafe)',
|
|
629
|
-
settingsHtmlDefaultUnsafeDesc: 'When on, every newly opened HTML preview starts in the unsandboxed state (same origin as the GUI — it can read session files and internal APIs); the status row still offers a one-tap restore',
|
|
630
|
-
settingsHtmlSandboxTitle: 'Disable HTML preview sandbox (unsafe)',
|
|
631
|
-
settingsHtmlSandboxDesc: 'With the sandbox off, previewed HTML runs with the same origin as the GUI: it can read session files, local storage and call internal APIs. Only enable for fully trusted files',
|
|
632
585
|
settingsBrowserSandboxTitle: 'Disable browser sandbox (unsafe)',
|
|
633
586
|
settingsBrowserSandboxDesc: 'With the sandbox off, any visited site runs with the same origin as the GUI: it can read session data and act as your logged-in session. Only enable for fully trusted sites',
|
|
634
587
|
settingsBrowserLinksTitle: 'Open chat external links in the sidebar',
|
|
@@ -709,10 +662,7 @@ export const en: Record<keyof typeof zh, string> = {
|
|
|
709
662
|
jobKillError: 'Kill failed',
|
|
710
663
|
addPluginsTabCard: 'Add tab plugins',
|
|
711
664
|
addPluginsTabCardDesc: 'Register a new sidebar page',
|
|
712
|
-
addPluginsViewerCard: 'Add preview plugins',
|
|
713
|
-
addPluginsViewerCardDesc: 'Register a file-type preview',
|
|
714
665
|
addPluginsTabDesc: 'Sidebar pages (tabs) can be extended by plugins. Plugins register through the ctx.betterSidebar service; clicking Install copies the install command — paste it into a terminal where your DSH profile lives and run it.',
|
|
715
|
-
addPluginsViewerDesc: 'File previewers can be extended by plugins. Plugins register through the ctx.betterSidebar service; clicking Install copies the install command — paste it into a terminal where your DSH profile lives and run it.',
|
|
716
666
|
addPluginsBrowseMore: 'Browse more plugins on GitHub (topic: dsh-coding-sidebar)',
|
|
717
667
|
addPluginsSearch: 'Search by plugin name or description…',
|
|
718
668
|
addPluginsNoMatch: 'No plugins match',
|
|
@@ -720,7 +670,6 @@ export const en: Record<keyof typeof zh, string> = {
|
|
|
720
670
|
addPluginsEmpty: 'No plugins curated yet — publish yours under the GitHub topic',
|
|
721
671
|
openPlugin: 'Open',
|
|
722
672
|
copyInstall: 'Copy install command',
|
|
723
|
-
pluginOfficeDesc: 'Office-suite preview (.docx / .xlsx / .pptx) for the dsh-coding-sidebar editor, keeping the heavy Office render libraries out of the core bundle',
|
|
724
673
|
pluginFlowglassDesc: 'Live session flowgraph with three lanes for user, assistant, and tool calls, plus parallel groups, sub-agent branches, drill-down, and live status; registers a native Flowglass tab when dsh-coding-sidebar is installed and keeps its standalone drawer as a fallback',
|
|
725
674
|
pluginGitForgeDesc: 'Git Forge tab: GitHub/Gitea (and other forge) account library + per-project grants + hard push policy; tokens stay in local secrets (never in model context); read-only GitForge tool and agent HTTPS credential helper',
|
|
726
675
|
pluginGitRemotesDesc: 'Git Remotes tab: branch/upstream/ahead-behind, fetch (optional prune), ff-only pull, and push only after an in-tab confirm. Does not replace the built-in Git stage/commit tab, and does not offer force-push or a model auto-push tool',
|
|
@@ -728,7 +677,6 @@ export const en: Record<keyof typeof zh, string> = {
|
|
|
728
677
|
pluginSidebarQaDesc: 'Select-and-ask: Select conversation text → ask in the right-side panel → a dedicated follow-up session (❓追问) in the same workspace; a fast no-thinking model compresses the main context and injects it with the quote, without interrupting the main conversation. Follow-ups nest, continue, and archive',
|
|
729
678
|
pluginSshTunnelDesc: 'SSH Tunnel tab: multi-host inventory + per-project grants + local secrets; SSHManager tool (exec/SFTP/session strategies); center interactive terminal and dual-pane SFTP',
|
|
730
679
|
pluginTurnReviewDesc: 'A human gate on the just-finished turn: Approve / Request changes per path with an optional comment; paths grouped by main session / subagent / unattributed; inline snapshot-vs-now diff before you decide. No fork, no /rewind',
|
|
731
|
-
pluginVideoPreviewDesc: 'Inline video preview (.mp4/.webm/.mov/.mkv/.avi etc.) for the dsh-coding-sidebar editor, backed by a dedicated /video host route with HTTP Range (206) support — scrubbing works and files are not capped by the 20MB mediaLimit',
|
|
732
680
|
pluginDocsPanelDesc: 'Global docs in the DSH sidebar: read your own Markdown notes from any workspace — a file list, an outline, open in Chrome / VS Code, and copy buttons; the docs directory is configurable (default ~/.dsh/docs)',
|
|
733
681
|
pluginEgoBrowserDesc: 'The agent browser for DeepSeek Harness: 32 ego_* tools drive a real Chromium, with a native sidebar "ego browser" tab giving a live view of every page the agent visits — you can click, drag, and type to take over. Registers the tab automatically when dsh-coding-sidebar is present, otherwise falls back to a floating bubble',
|
|
734
682
|
}
|