Office-editing tool calls need file, worktree and unit: lessons from dsh-univer-office

FunDistribution6537 · reddit · 2026-10-16

A Reddit post examines why a vague "edit spreadsheet" tool call hides too much: which file, which version, which sheet, and where the change becomes reviewable.

Univer's dsh-univer-office plugin for DeepSeek Harness makes these explicit: its execution tool takes file, worktreeId and unitId, ships its own Gateway, viewer and workers, and exposes 14 structured tools instead of a globally installed CLI.

The proposed integration contract:

The author notes worktrees and approval hooks organize editing and review but don't make the JS runtime a security sandbox. The key design question for agent builders: which operations should stay explicit tool arguments even when the model can write arbitrary editing code.

Original post →

More from coding & agent

coding & agent channel →