dsh-fylar-office-editor
精選清單收錄維護狀態: 活躍fylaropen/dsh-fylar-office-editor
为 DeepSeek Harness 提供 Office 文档预览、编辑和 DOCX 生成能力,基于 Fylar Office SDK。
$ dsh plugin add dsh-fylar-office-editor263
星數
23
Fork
TypeScript
語言
2026-09-02
建立於
2026-10-19
最近推送
README
Fylar Office Editor for DeepSeek Harness
Turn Office files created by an agent into documents you can open, review, edit, and download without leaving DeepSeek Harness.
Turn Office files created by an agent into documents you can open, review, edit, and download without leaving DeepSeek Harness.
English · 简体中文
@fylar/dsh-fylar-office-editor connects Office documents to the DeepSeek Harness (DSH) Web experience. It adds a single delivery card to the conversation, an Office workspace tab, a side-panel editor, and a fullscreen editor, all powered by the Fylar Office SDK.
The plugin can create a real DOCX file from the agent's Markdown response. It can also present existing DOC, DOCX, XLS, XLSX, and PPTX files created by Python, shell commands, or other tools in the current DSH workspace.
Highlights
- Office files in the conversation — open the delivered file inline, move the same editing session to the side panel, or enter fullscreen.
- Real DOCX generation — the agent can convert headings, paragraphs, lists, simple tables, code blocks, bold, italic, and inline code into an OOXML Word document.
- Word, Excel, and PowerPoint editing — open supported local or workspace files, or create blank documents from the Office tab.
- One persistent editing session — moving between Chat, the Office tab, the side panel, and fullscreen does not reopen the document.
- Export instead of silent overwrite — browser edits stay in the SDK session until you download the edited Office file.
- English and Simplified Chinese UI — the plugin shell follows the DSH locale; the SDK loads its matching language pack.
- Workspace-confined file access — the Host only serves supported files from registered DSH workspace roots and blocks traversal and symlink escapes.
The Fylar Office SDK
This plugin is powered by the Fylar Office SDK — a fully client-side, serverless Office runtime that brings native Office capabilities to any web application.
- Web-native and serverless — no server deployment, third-party conversion tools, or desktop Office suites; files are parsed, rendered, edited, and exported directly in the browser.
- Document content stays local — Office files are processed on the client instead of being uploaded for cloud document processing. The SDK may still contact the Fylar licensing service to validate credentials and meter usage as described in the commercial license.
- No iframe, just a DOM node — integration is a programmable DOM node instead of an embedded external viewer.
- High-fidelity compatibility — built around the Office (OOXML) specification to preserve layout, formatting, and document behavior, with pixel-perfect rendering wherever possible.
- High-performance rendering — documents open in seconds: first paint in under 500 ms and typical opening in 1–2 s, all processed 100% locally.
- Everything is programmable — all Office capabilities are exposed in an API-first way, and you can use the API to operate the editor as needed.
In this plugin, the SDK runs entirely inside the DSH browser session: after the browser receives a file as a Blob, the SDK owns document rendering and editing (see Editing and saving).
The bundled SDK is proprietary commercial software. Each License Credential or associated customer account includes an aggregate Free Allowance of up to 3,000 Metered Uses. Continued use after that allowance requires an active paid entitlement or another written commercial license. See the Fylar Office SDK Commercial License for the controlling definitions and terms.
Get started
Requirements
- DeepSeek Harness Web; this release was verified with
0.2.0-rc.2. - Node.js
^22.19.0 || >=24.0.0. - The DSH Web profile.
- A modern browser with Worker, SharedWorker, WebAssembly, IndexedDB, Blob, and ArrayBuffer support.
- A valid Fylar Office SDK License Credential or other authorization. The bundled commercial license includes the Free Allowance described above.
1. Install or update from npm
Stop the currently running DSH process, then install or update the plugin package:
npx @deepseek-ai/dsh plugin --profile web add @fylar/dsh-fylar-office-editor@latest
Use the same command for both the first installation and later updates. @latest explicitly selects npm's latest release instead of retaining a previously locked version.
If running DSH from its source repository, use the repository script instead:
pnpm dsh plugin --profile web add @fylar/dsh-fylar-office-editor@latest
The npm package includes its verified lib/ output and SDK runtime, so users do not need to clone or build the plugin.
2. Restart DSH
npx @deepseek-ai/dsh web
When using the DSH source repository:
pnpm dsh web
Refresh an already open DSH page after the Web process restarts.
3. Ask for a document
Try one of these requests in a workspace-write session:
Turn this conversation into a Word project summary and save it as reports/project-summary.docx.
Create an XLSX comparison table in the workspace, then open it for preview.
Open the existing slides/company-introduction.pptx in the Office editor.
The built-in agent tool directly generates DOCX files. XLSX and PPTX content must currently be created by another agent tool or script; this plugin then validates and presents the resulting file.
How it works
There are two delivery paths:
office_create_docxconverts Markdown to a real DOCX file, writes it to the active DSH workspace, and publishes the result to the conversation.office_present_filevalidates an existing Office file in the active workspace and publishes it without generating or modifying the file.
DSH selects these tools from the user's request and the plugin's model guidance. Users normally do not need to mention the tool names.
更多「知識與研究」外掛
weknora
作者 tencent
开源的 LLM 知识库平台:把原始文档转化为可检索的 RAG 知识库、自主推理智能体和自动维护的 Wiki 系统,支持多租户部署。
honcho
作者 plastic-labs
用于构建有状态 AI 智能体的记忆库,支持跨会话连续学习与上下文工程。
webnovel-writer
作者 lingfengqaq
基于 Claude Code 的长篇网文辅助创作系统,解决 AI 写作中的「遗忘」和「幻觉」问题,支持 200 万字量级 连载创作。
mirage
作者 strukto-ai
全球首个面向 AI 智能体的统一虚拟文件系统。
