NanoAI

Microsoft Office · 0.3.3

Read and edit open Word, Excel and PowerPoint desktop documents from DSH, including formatting, tables, charts, formulas and comments. Destructive edits show a preview for approval.

Install

After installation, wait for healthy in the plugin panel, open an Office desktop document and the DSH Office Runner task pane. Send commands after it shows Connected, and keep the pane open. Reopen documents after Windows registration; on macOS, load the manifest manually. Name the target document in each request.

Platform archive · Marketplace version 0.3.3

3.5 MiB · zip。Check the digest, source and permissions after download. Code runs in the user's client after installation.

Download 0.3.3
Compatibility and platforms
Windows/macOS、已许可的 Microsoft Office 桌面版;Node.js ≥18,DSH >=0.2.1-alpha.1 <2。RC2 SDK/接口样式和自动测试有证据;RC3只验证声明范围准入,未验证真实RC3宿主、Office桌面文档或macOS。需保持加载项窗格打开。 · Windows, macOS
Supported DSH core versions
>=0.2.1-alpha.1 <2 · Runtime compatibility is not verified; declared versions do not establish tested support.

Microsoft Office

Read and write the Microsoft Office documents you already have open — Word, Excel and PowerPoint — from a DeepSeek Harness (DSH) session: content, formatting, structure, tables, charts, formulas and comments.

Runtime data flow: dsh session → bridge → add-in task pane → Office document

The add-in runs inside Office and edits the document you currently have open. Changes are visible immediately, with no saving or reopening, and you and the AI can edit at the same time — Office applies the changes in order.

Throughout this document, "Office" means the Microsoft Office desktop applications, not WPS or other compatible suites, and not the web versions.

Quick start

# Install the fixed 0.3.3 archive from the NanoAI marketplace

--profile web is a dsh profile name; use whichever one you normally run.

Installing makes dsh load the plugin, which then starts the local bridge service on its own — there is nothing to launch by hand. Confirm the service state is healthy on the plugin panel.

  1. Open a Word, Excel or PowerPoint document.
  2. Open the add-in task pane:
    • Windows: the service registers the add-in when it starts. Close and reopen the document and the pane appears.
    • macOS: the manifest has to be loaded by hand — see Loading the manifest on macOS.
  3. The pane shows "Connected — waiting for DSH commands" — you are ready.
  4. Ask your dsh session to read the document, for example "read the whole of the Word document I have open".

The pane must stay open. Office.js runs inside it, and closing it produces addin_offline. The pane can be shrunk or tucked into a corner.

Loading the manifest on macOS

Use the add-in development/sideload entry provided by your Office for Mac version to load the generated manifest.xml. Menu names depend on the Office version.

Capabilities

  • 92 actions across Word, Excel and PowerPoint: reading selections, writing content, formatting, tables, charts, formulas, comments, PowerPoint grouping and alignment.
  • One instance per document, and every command must name its target, so a command cannot land on the wrong document.
  • Destructive operations read the current state first; a failed preview blocks execution, and by default you still click "Apply" in the pane.
  • Bilingual UI (Chinese / English) that follows your Office display language.

The full action list is in docs/CAPABILITIES.en.md (docs/CAPABILITIES.en.md, included in archive).

Two skills ship with the plugin. ms-office (skills/ms-office/SKILL.en.md, included in archive) handles safe operations; office-document-styles (skills/office-document-styles/SKILL.en.md, included in archive) provides one original base style atlas per host — Word covers document elements, Excel is fixed to two sheets, and PowerPoint shows shapes, tables, spatial layout and colour roles, each with provenance records and layered quality checks. See the style gallery (docs/style-gallery.en.md, included in archive) and the feature roadmap (docs/FEATURE-ROADMAP.en.md, included in archive).

Chinese defaults: Word body SimSun and headings SimHei; Excel SimSun; PowerPoint titles SimHei, body and table/chart labels KaiTi. Every change to an atlas runs through the plugin itself, and exports and screenshots keep native Office evidence.

Compatibility

Platform Status Notes
Windows Full Add-in auto-registration via the WEF registry
macOS Core Node and the add-in work; auto-registration does not apply, load the manifest manually from Office
Linux None No Office desktop add-in host
  • Node.js ≥ 18 (the bridge uses only the standard library)
  • Microsoft Office desktop (Word / Excel / PowerPoint)
  • dsh — see peerDependencies in package.json

Documentation

Document Contents
docs/CAPABILITIES.en.md (docs/CAPABILITIES.en.md, included in archive) Full action list and capability boundaries
docs/DEVELOPMENT.en.md (docs/DEVELOPMENT.en.md, included in archive) Architecture, file map, fragment contract, i18n, hot reload, custom actions, packaging rules
docs/AGENT.en.md (docs/AGENT.en.md, included in archive) HTTP endpoints, error codes, approval protocol, for scripts and other agents

License

MIT (LICENSE, included in archive). The license and provenance of the third-party component (pako) are in THIRD_PARTY_NOTICES.md (THIRD_PARTY_NOTICES.md, included in archive).

Source, permissions and release information

dsh · Platform archive · MIT · free public download

Source and license
MIT;the original package keeps its license file
SHA-256
c7ce71f74ce1aec0bb1eb12e5c0ed1e1414a5d6c50427b804d40b76a0afa5588
Upstream version and local build
0.3.3 · Build 1
Cumulative changes from upstream
Build 1: 0.3.3 Cumulative differences relative to upstream 0.3.3; current build delta: - Fixed upstream f51165fdeddb592cd61d77414b66559fa5c6e347; preserve npm files whitelist and MIT/pako notices - Preserve CommonJS server bytes as server/server.cjs with ESM shim at original server/server.js; remove redundant shallow server/package.json - Expand locale wildcard exports to exact existing locale files and retain bilingual usage with market version and runtime evidence boundaries Previous release 0.3.2: retain (valid).
Permission declarations
  • Read and edit the explicitly targeted open Word, Excel or PowerPoint document via Office.js; destructive operations request pane approval by default.
  • Start and stop a local Node.js bridge child process; bind configurable loopback HTTP.
  • Write bridge state, configuration, generated add-in manifest and managed skill resources under the local DSH user data directories.
  • On Windows, run packaged PowerShell helpers to register the Office add-in in the current-user registry and support native read-only Word page rendering.
  • Load Microsoft-hosted Office.js from https://appsforoffice.microsoft.com; Office desktop licensing and installation are external prerequisites.
Changelog
Fix bridge settings on the installed bundle detail page; add re-register/unregister controls; improve native Word page fingerprinting and rendering, bilingual style galleries and preview resources. Archive adapters retain the original sidecar entry and CommonJS semantics.
Published at

Published versions