All plugins

zhidian-workbench

Compare documents, inspect spreadsheets, and preview file organization in a configured workspace. An optional bridge reads pinned references, window-layer information, and active file metadata from ZhiDian Desktop through an operator-configured loopback port using a Hermes profile secret. File tools are read-only. The plugin sends no telemetry and makes no external network requests.

misakamikotoghr-5205Toolsv1.0.0Updated 2 hours ago

About

Compare documents, inspect spreadsheets, and preview file organization in a configured workspace. An optional bridge reads pinned references, window-layer information, and active file metadata from ZhiDian Desktop through an operator-configured loopback port using a Hermes profile secret. File tools are read-only. The plugin sends no telemetry and makes no external network requests.

ZhiDian Workbench for Hermes Agent

ZhiDian Workbench for Hermes Agent

ZhiDian Workbench brings deterministic, offline-first document redline diffing, spreadsheet anomaly auditing, bilingual dry-run workspace organization, and an optional loopback bridge to the Windows ZhiDian Desktop Workbench directly into Hermes Agent.

  • Pure Python 3.11+ standard library — zero external runtime dependencies, zero binaries, zero model weights; works on Linux, macOS, and Windows.
  • Strictly read-only — never creates, moves, renames, or deletes files on disk.
  • Defense-in-depth safety — enforces Hermes agent.file_safety alongside strict workspace_root realpath containment, NT/UNC rejection, 16 MiB file caps, and bounded XML/ZIP decompression.

Tools Provided

ToolPurposeSupported InputsMode
zhidian_diff_compareClause/line redline diff with legal & financial risk flagging (amounts, percentages, deadlines, indemnity/penalty/liability terms)..txt, .md, .csv, .docxOffline, read-only
zhidian_sheet_inspectSpreadsheet profiler: sheet names, row/col counts, numeric stats (sum, min, max, mean, median, stdev), formula counts, duplicate rows, formula errors, and Z-score outliers..csv, .tsv, .xlsxOffline, read-only
zhidian_organize_planDry-run 9-category bilingual (en / zh) file classification and collision-safe move preview inside workspace_root.Any folder inside workspace_rootOffline, read-only dry-run
zhidian_desktop_bridgeOptional loopback-only (127.0.0.1) query to a locally running Windows ZhiDian Desktop (list_referents, identify_screen_layer, list_active_files).Windows ZhiDian Desktop (optional)Loopback HTTP, read-only

Installation & Configuration

hermes plugins install misakamikotoghr-5205/hermes-zhidian-workbench
hermes plugins enable zhidian-workbench

Optional plugin settings under plugins.entries.zhidian-workbench.settings:

plugins:
  entries:
    zhidian-workbench:
      settings:
        workspace_root: "./workspace"
        desktop_bridge_port: 47600
        locale: "en"
SettingTypeDefaultDescription
workspace_rootstring"" (current working directory)Hard containment boundary for all filesystem inspection tools.
desktop_bridge_portinteger47600Optional loopback TCP port (127.0.0.1) for a locally running Windows ZhiDian Desktop.
localestring"en"Category folder labels for zhidian_organize_plan ("en" or "zh").

Optional Windows Desktop Bridge

The three offline tools require no credentials and no network access. To optionally connect to a locally running Windows ZhiDian Desktop:

  1. Open Settings -> MCP in ZhiDian Desktop and copy its local Bearer token.
  2. Set desktop_bridge_port to your local ZhiDian Desktop listener and store its token in the plugin's desktop_token secret field. Hermes reads ZHIDIAN_MCP_TOKEN from your active profile. The port is controlled through the plugin settings.
  3. Invoke zhidian_desktop_bridge with action: "list_referents", "identify_screen_layer", or "list_active_files".

Usage Examples

// zhidian_diff_compare
{"left_path": "./workspace/contracts/msa-v1.docx", "right_path": "./workspace/contracts/msa-v2.docx"}

// zhidian_sheet_inspect
{"path": "./workspace/finance/q4-ledger.xlsx", "max_sample_rows": 5}

// zhidian_organize_plan
{"directory": "./workspace/inbox", "locale": "en", "recursive": false}

// zhidian_desktop_bridge
{"action": "identify_screen_layer", "handle": "latest"}

Security & Disclosures (Catalog Rule 13)

  • Local read-only filesystem inspection: zhidian_diff_compare, zhidian_sheet_inspect, and zhidian_organize_plan read only user-specified paths inside workspace_root, guarded by agent.file_safety (get_read_block_error, get_write_denied_error), strict os.path.realpath containment, pre-resolution rejection of .., NT/device prefixes (\\.\, \\?\, \??\), and UNC shares (\\host\share), plus a 16 MiB file cap and 32 MiB XML decompression cap.
  • Zero writes, shell commands, or background processes: No tool writes or moves files, spawns subprocesses, starts background tasks, registers hooks/middleware, or overrides Hermes core.
  • Zero telemetry and no self-updater: Zero external network calls, zero analytics, no self-updating code.
  • Optional loopback-only HTTP bridge (127.0.0.1): zhidian_desktop_bridge opens a 2-second loopback HTTP request strictly when the user sets ZHIDIAN_MCP_TOKEN via Hermes secret storage (agent.secret_scope.get_secret). It never reads external credential files from disk and verifies unauthenticated GET /health returns {"ok": true, "name": "zhidian"} before sending any Authorization header.

Full 7-Studio Windows Desktop Workbench

For the full offline desktop suite (7 strict-CSP studios + occluded Z-order spatial computer use with 24 px mouse kill-switch), visit ZhiDian-Open.

License

Licensed under the Apache License 2.0.

README from the reviewed commit 4cb9b57; it updates when the author re-pins.

More by misakamikotoghr-5205

4 plugins by misakamikotoghr-5205 in the catalog.

misakamikotoghr-5205claim-market-routerMarket-based subagent delegation provider (delegation.backend: claim_market) and optional llm_request reasoning-effort shaper derived from MISAKA Agent and Watt Window. Publishes task cards (role_needed, complexity, max_cost_units), synthesizes capability-fit and quota-health claims with shadow pricing, resolves disagreements via weighted voting, and explains infeasible budget constraints. Disclosure — when set as the delegation backend, routes each delegated subagent task to a model chosen from the candidates you list in delegation.backends.claim_market.candidates (with none listed, tasks keep the parent's model); makes no network calls of its own, runs no subprocesses and reads no credentials; stores token-usage counts and auction receipts in plugin-data/claim-market-router/data.db; its llm_request middleware does nothing unless auto_effort_shaping is on, and then only lowers reasoning_effort on the outgoing request.Communitymodelsmisakamikotoghr-5205hunk-consent-guardBrings Patch Review Desk and Cart Consent contracts into Hermes: stage multi-hunk file proposals, approve or reject individual hunks via /hunk-desk or hermes hunk-desk, automatically revoke approvals if the file's SHA-256 baseline drifts on disk, and record durable before/after rollback receipts in SQLite via tool_execution middleware. Disclosure — local terminal backend only (refuses host reads/writes and skips middleware capture on non-local sandboxes such as docker/ssh/modal); on local backends, reads target workspace files during write_file/patch execution and explicit hunk proposal/apply/rollback commands; stores file snapshots (up to max_snapshot_kb, default 256 KB) and SHA-256 receipts in plugin-data/hunk-consent-guard/data.db; never modifies Hermes's built-in approval prompts or executes shell commands; no network calls.Communitytoolsmisakamikotoghr-5205source-trail-supervisorCombines Source Trail, CaseDesk, and Codex Session Supervisor into a Hermes epistemic and trajectory harness: verifies verbatim quotes against exact zero-based Unicode code-point spans ([start, end)), withholds unilateral claims when valid sources carry conflicting position labels on the same topic, and fingerprints tool/turn progress to detect stuck loops and log recoverable decision nodes. Includes the epistemic-supervision skill and /trail-supervise command. Disclosure — observes tool call names, error status, and turn counts via on_session_start, post_tool_call, and post_llm_call hooks; stores user-ingested source packets, verified span anchors, and session node summaries in plugin-data/source-trail-supervisor/data.db; no network calls, subprocesses, or credential access.Communitygeneral

Developer Mode

Explore built-in Hermes toolsets and actions.

HermesAgent

Developer?

Create a Hermes extension for Desktop or agent workflows.

Developer Section