DeepSeek Harness 插件

text2future/flowix#dsh-flowix-memory

Star 数 ★ 315 分类 记忆 收录于 2026-08-18

将本地 flowix-cli 注册为 MCP 服务,让 agent 可以搜索、读取、创建和编辑 Flowix 备忘与思维导图产物。

安装

# GitHub 源码(首次需按提示配置 allowBuilds 构建授权后重试)

dsh plugin --profile web add github:text2future/flowix#path:/app/flowix-dsh-host/bundles/dsh-flowix-memory

装任何插件都等于在你的机器上跑第三方代码,权限和你本人一样大——能读你的文件、用你的凭据、访问网络,工具审批管不到它。GitHub 来源的插件还会在安装时执行构建脚本。请只安装可信来源,并尽量锁定 commit(github:owner/repo#sha)。

README

A config-only DeepSeek Harness bundle that registers the local flowix-cli MCP server with any Harness instance. Once installed, the agent gets the mcp__dsh-flowix-memory__flowix_memo tool to search, read, create, and edit Flowix Markdown memos, and to create declared plugin artifacts such as mind maps.

The bundle contains no code: it is a cordis.patch.yml that inserts one @deepseek-ai/dsh-mcp-client row, which ships inside every Harness distribution. Nothing here connects to a remote Flowix service — the CLI is spawned locally over stdio and reads the local notebook data directory.

Prerequisites

  1. A flowix CLI executable on PATH (or set FLOWIX_CLI_PATH to its absolute path). The CLI is built from the flowix-main repository (app/flowix-cli, binary flowix-cli).
  2. Access to the Flowix notebook data the CLI should manage. Defaults to the user config directory (~/.flowix); override with FLOWIX_HOME / FLOWIX_DATA when the data lives elsewhere.

Install

dsh plugin manages one profile at a time and requires --profile <name> (shipped profiles: web, headless). The bundle ships in the flowix-main repository and is not yet published to npm, so install it from the checkout:

# from the flowix-main checkout root
dsh plugin --profile <name> add ./app/flowix-dsh-host/bundles/dsh-flowix-memory

Once published, the npm package installs the same way:

dsh plugin --profile <name> add dsh-flowix-memory

The row activates for that profile. To persist across profiles, install the package into each profile, or see dsh plugin --help for profile selection.

Verify

Start Harness for the profile you installed into (dsh web for the web profile), then check that the tool is registered:

mcp__dsh-flowix-memory__flowix_memo

Configuration

Key Default Meaning
FLOWIX_CLI_PATH flowix (PATH lookup) Absolute path to the flowix-cli executable

Uninstall

dsh plugin --profile <name> remove dsh-flowix-memory

Notes

  • The MCP stdio bridge strips ambient credential-like variables and all DSH_* variables before spawning the child; other ambient variables (including HOME/PATH) are inherited.
  • This bundle mirrors the dsh-flowix-memory row embedded in Flowix Desktop's own Harness composition (config/flowix.cordis.yml). The embedded row resolves the CLI path through FLOWIX_DSH_MCP_CLI (host-injected); the external bundle uses FLOWIX_CLI_PATH ?? 'flowix'. Keep them in sync — tests/bundle-sync.test.ts guards the drift.

内容来自项目 README(GitHub)↗

链接

同类插件

查看整个分类 →