返回目錄

dsh-fylar-office-editor

精選清單收錄維護狀態: 活躍

fylaropen/dsh-fylar-office-editor

为 DeepSeek Harness 提供 Office 文档预览、编辑和 DOCX 生成能力,基于 Fylar Office SDK。

前往 GitHub專案首頁
$ dsh plugin add dsh-fylar-office-editor

安裝

dsh 沒有統一的安裝指令 —— 把該外掛 README 中的設定行加入你的 profile / patch 設定,然後重啟即可。

查看安裝教學

263

星數

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.

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:

  1. office_create_docx converts Markdown to a real DOCX file, writes it to the active DSH workspace, and publishes the result to the conversation.
  2. office_present_file validates 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.

在 GitHub 閱讀完整 README →

DSH Plugins 是獨立的 DeepSeek Harness 外掛目錄,與 DeepSeek 官方無關,也不代表官方背書。第三方外掛未經安全稽核,安裝前請審查原始碼。

每週取得最新的 DeepSeek Harness 外掛,絕不濫發。