dsh-better-sidebar-onlyoffice
Run the following command in DeepSeek Harness:
dsh plugin install chendefine/dsh-better-sidebar-onlyoffice
Paste the following prompt into your AI chat to install this plugin:
Install in DeepSeek Harness by running dsh plugin install chendefine/dsh-better-sidebar-onlyoffice; source is available at https://github.com/chendefine/dsh-better-sidebar-onlyoffice
About this plugin
When DSH drives a document-heavy workflow, the sidebar typically only renders a static preview of .docx, .xlsx, or .pptx—fixing a sentence means leaving the terminal and opening a desktop Office app, and an AI edit to an open file stays invisible until you manually refresh. dsh-better-sidebar-onlyoffice embeds the full ONLYOFFICE editor (Words, Sheets, Slides) directly into the better-sidebar file viewer. Saves are written back to disk via temp-file + rename, editor configs are HS256-JWT-signed, file downloads are gated by short-lived HMAC tokens, and paths are fenced to the session working directory.
Two features stand out. First, the same-origin reverse proxy is always on: the entire Document Server browser surface—api.js, the editor iframe, static assets, the co-authoring WebSocket—flows through dsh web at /sidebar/onlyoffice/ds. The DS can live on a private network the browser never reaches, and an https frontend can transparently proxy an http-only DS with no mixed-content issues. Second, live refresh on AI edits: when the agent modifies a file that is open in the editor, an inotify → SSE → refreshFile chain swaps in the new version in about a second with no page reload and no api.js reload. A dirty editor is never auto-refreshed; a banner appears offering a manual Reload button so unsaved work is never silently discarded.
Ideal for developers running document-centric DSH web workflows, especially when the Document Server sits on an internal network that should not be exposed to browsers. It coexists cleanly with the community office-preview plugin through distinct viewer IDs and priorities, and either can be toggled per-file in the sidebar card settings.
Use Cases
- Agent modifies an open document and the sidebar live-refreshes to the new version within a second
- Document Server sits on a private network while browser-based Office editing still works seamlessly
- Edit .docx/.xlsx/.pptx files in the DSH sidebar with atomic save-back to disk
Best For
- Developers running document-centric DSH web workflows
- Teams whose ONLYOFFICE Document Server lives on an internal network
- DSH users who want seamless AI and human editing collaboration in the sidebar
Related Plugins
Free web search plugin for DeepSeek Harness with web search, X search, and page fetch; no signup or API key required, with automatic multi-engine failover.
AnySearch-powered web and vertical search plugin for DeepSeek Harness, offering real-time search, cleaned URL content, concurrent batch search via native web_search/web_fetch, no API key required.
Pixel-perfect webpage clone tool that uses an agent harness to turn any webpage into a scored, full-page React replica.
A bilingual cost-tracking plugin for DeepSeek Harness with session/daily cost, budget, official & custom provider balance, coding plan quotas, peak/off-peak pricing alerts, and history stats.