Feature Blueprint: DSH Sidebar Mind Map and Excalidraw Free Canvas

Preface

When breaking down requirements or planning features in DeepSeek Harness (DSH), plain text and outlines are often not intuitive enough. You might want to structure modules and features as a tree or sketch flows on a canvas, but also need the data stored in local files that can be reused via Git and CLI, rather than existing only in a browser session. @1agents/feature-blueprint is a community-maintained client-side plugin that provides “Mind Map” and “Free Canvas” entries in the DSH Web sidebar, supporting preview and editing of local *.blueprint.json and Excalidraw-related files. The same npm package also includes a standalone browser editor and blueprint / voice-canvas CLIs, making it usable even without launching DSH.

What is this

The plugin’s clue in the SkillHub directory is scottzx/feature-blueprint. The source code and documentation are on GitHub, maintained by scottzx. The publicly published package name is @1agents/feature-blueprint under the MIT license; using the CLI and standalone editor requires Node.js 22+.

The package uses a unified version naming scheme. The current DSH-installable version provided in the README is @1agents/feature-blueprint@0.4.1. It solves three categories of problems: opening a mind map or Excalidraw canvas next to a DSH session; performing local preview and write-back for blueprint JSON and canvas files within a project; and editing the same files in a terminal or separate browser window, aligning with results modified by Agents via JSON.

Core Features

DSH Plugin Side

After installation, you can select Mind Map or Canvas / Free Canvas in the right sidebar of the session in the Web configuration profile. The plugin also provides local file preview: opening a *.blueprint.json displays it as a mind map, and modifications are written back to the original file; opening Excalidraw-related files allows for preview. Canvases within the session are loaded on demand and follow the host theme. The README notes: Global npm install -g will not activate the DSH plugin; it must be installed via dsh plugin add, and support for every official DSH distribution has not yet been declared.

Mind Map

The product’s external name is “Mind Map”. The tree capabilities are extracted from the 1agents App mind map component, supporting both Outline and Mind Map views. It retains module/feature point hierarchy, expand/collapse functionality, and interactions such as dragging to before, after, inside, or to the first level of a node. The tree calculation does not depend on the DOM or specific frontend frameworks.

A map corresponds to one *.blueprint.json file. The top-level fields are format: "1agents.feature-blueprint", version: 1, and nodes. Nodes contain a stable id, kind (module or feature), title, position, createdAt, etc., supporting up to nine levels of modules, with feature points as leaf nodes under modules. Optional notes and links (webpages, node references, notes, etc.) are supported. Sibling sorting and CLI behavior are fully described in the README.

Excalidraw Free Canvas

The free canvas source code is incorporated into canvas/ in the same repository, sharing the root package.json and release process with the mind map. CLI entry points include voice-canvas and npx @1agents/feature-blueprint canvas .... The canvas uses a separate data format and browser resources (such as the voice-canvas-v1 localStorage key). The DSH plugin provides a sidebar entry and *.excalidraw preview. See canvas/README.md in the repository for detailed commands and save behavior.

Standalone Editor and CLI

You can use it without installing DSH:

npm install -g @1agents/feature-blueprint
blueprint init product.blueprint.json
blueprint open product.blueprint.json

blueprint open launches a local editor listening only on 127.0.0.1, reading and writing the specified file directly. The editor polls the disk approximately every two seconds to follow CLI or external edits. You can also use npx @1agents/feature-blueprint open product.blueprint.json.

Agents or scripts can modify files via subcommands such as blueprint add, rename, move, remove, validate; write operations include directory locks and optional optimistic locking via --expect-revision (based on file byte SHA-256). Standard output is JSON, while errors go to stderr.

The package also provides programmatic entry points, such as buildFeatureTree, moveFeatureNode from @1agents/feature-blueprint, as well as @1agents/feature-blueprint/preact, /editor, /mount, etc., for embedding into your own pages.

Installation and Activation

Execute in the repository root directory (i.e., the workspace root where you run DSH) and use the web configuration profile:

dsh plugin --profile web add @1agents/feature-blueprint@0.4.1
dsh web --profile web

If DSH Web is already running, you need to restart the web profile after installation. After opening a session, select the Mind Map or Free Canvas entry in the right sidebar.

When the environment cannot access the npm registry, you can install the same npm artifacts (non-source builds) from a GitHub Release:

dsh plugin --profile web add https://github.com/scottzx/feature-blueprint/releases/download/npm-v0.4.1/feature-blueprint-0.4.1.tgz

You can download the SHA256SUMS from the same release to verify the tarball. The README explains: the public main source manifest is currently 0.3.0, and the exact commit corresponding to the published npm 0.4.1 is not recorded in registry metadata. Installation should be based on the npm package or Release attachments, rather than an unbuilt Git checkout.

Typical Usage

Using the Sidebar in DSH

  1. Install and start dsh web --profile web as described in the previous section.
  2. Create or open a session and enter Mind Map or Canvas / Free Canvas in the right sidebar.
  3. If you open a product.blueprint.json within the project, preview and edits will write back to that file; when modifying via CLI, there is an auto-refresh mechanism on the preview side.

Maintaining Blueprint Files via CLI

Initialization and adding node examples (the command name is blueprint after installing the package; in the source directory, you can use node cli/blueprint.mjs):

blueprint init product.blueprint.json
blueprint add product.blueprint.json --id accounts --kind module --title 'Accounts'
blueprint add product.blueprint.json --id login --kind feature --parent accounts --title 'Login'
blueprint rename product.blueprint.json --id login --title 'Password Login'
blueprint validate product.blueprint.json

After opening the same file in DSH, the page will reflect the changes on disk.

Standalone Canvas Service (Without DSH)

npm install -g @1agents/feature-blueprint
voice-canvas serve

Access http://127.0.0.1:5178/ in your browser; in another terminal, you can use commands like voice-canvas add "New Idea" --x 100 --y 100. A canvas tab must remain online for the CLI to operate that session.

Applicable Scenarios and Notes

Suitable for: Teams that need to collaborate on feature trees or canvases alongside DSH sessions but want the data committed to the repository as *.blueprint.json / Excalidraw files; workflows where Agents modify JSON and humans view the same source file via the sidebar or blueprint open.

Notes:

  • The plugin runs under the current DSH process permissions. Before installation, read the file editing, session storage, and prerequisites in packages/dsh-plugin/README.md, and confirm that the MIT license and source code comply with your policies.
  • Node.js must be 22+ (for CLI and standalone editor; DSH plugin installation instructions also require this).
  • The browser-based standalone editor and the “open local file preview” behavior are different: the former is a temporary workspace, while the latter writes directly back to the file at the path; in case of conflict, the page will prompt you and allow downloading unsaved changes.
  • The CLI write lock cannot prevent other non-CLI editors from competing for a last-moment write; for strict concurrency, all operations should go through the CLI.
  • The SkillHub directory is a community site and has no official affiliation with DeepSeek / High-Flyer; metadata such as stars is based on the directory page (current clue shows 0 stars).

Conclusion

@1agents/feature-blueprint bundles mind maps, Excalidraw canvases, local file preview, and CLI into a single MIT package: use the sidebar in DSH, use JSON and Git in your project, and use blueprint and voice-canvas in the terminal. Installation and behavior are subject to the README and Release artifacts.

羽毛球分组比赛记分
小程序二维码

欢迎使用《羽毛球分组比赛记分》微信小程序

Xiaoye