DeepSeek Harness plugin

eco-dsh-plugins

dsh plugins ported from eco-agent: permission gate, audit chain, memory tree

Jump to install

Source facts

Repository
xiejianjun000/eco-dsh-plugins
Latest update
Aug 18, 2026
Category
Memory
GitHub stars
0
Format
plugin
Catalog evidence
Upstream dsh.bundle evidence
Evidence path
package.json#dsh.bundle
Checked against
0.1.0-rc.8
Upstream check date
2026-08-20

This evidence comes from the upstream catalog. This site has not installed, run, or security-reviewed the plugin.

Install

Start with a prompt that asks an agent to review the GitHub repository and source. Switch to the command if you want to install it yourself.

Copy this prompt into DSH, Codex, or another agent and ask it to review the GitHub repository and source first.

Do not install or run any commands yet. Read this plugin's GitHub repository, README, and relevant source code. Then answer the questions below clearly and directly so I can decide whether it fits my needs:

1. What is this plugin, and what problem does it solve?
2. Who is it for, and what are its typical use cases?
3. How is it used after installation? Include one minimal example.
4. What known limitations or privacy, security, compatibility, or maintenance risks does it have?
5. Give a clear recommendation: recommend, conditionally recommend, or do not recommend, with reasons.

Distinguish statements documented by the repository, inferences from source code, and unknowns. If evidence is insufficient, say so explicitly. Do not guess or simply repeat the README.

GitHub: https://github.com/xiejianjun000/eco-dsh-plugins
Plugin: eco-dsh-plugins
Author: xiejianjun000

Check the source files

Read the README and other files from this plugin directory before installing.

File explorer3 files
README.mdSource · read only

eco-dsh-plugins

dsh 生态插件包 —— 移植自 xiejianjun000/eco-agent 的三项核心能力,全部为纯 TypeScript、零原生依赖,可直接作为 dsh (DeepSeek Harness) Cordis 插件加载。

移植来源核心能力
@eco-dsh/eco-permission-gatepermissions.pyL1-L4 风险分级权限闸门(pre-execute 钩子)
@eco-dsh/eco-audit-chaintrace_audit.pySM3 防篡改审计链(tools/result 自动记录 + verify)
@eco-dsh/eco-memory-treememory_tree.py评分制记忆树 + BM25/中文检索 + Obsidian 双向同步

三件套如何配合

eco-permission-gate  tools/pre-execute 决定 allow/ask/deny
        │  deny 时
        ▼
eco-audit-chain     tools/result 自动记录全部工具调用 + recordDenied 记录拒绝事件
        │
        ▼
eco-memory-tree     评分制记忆树沉淀长期上下文,检索时按 score 加成

权限闸门把危险操作拦在门前,审计链把所有动作(含被拒的)锁进防篡改账本,记忆树把有效信息沉淀为可检索的长期记忆 —— 三者正好覆盖 dsh 生态最热门的"安全 + 可观测 + 记忆"赛道。

安装

# 三件套全装
npm install @eco-dsh/eco-permission-gate @eco-dsh/eco-audit-chain @eco-dsh/eco-memory-tree
import { Context } from '@deepseek-ai/cordis'
import * as ecoPermissionGate from '@eco-dsh/eco-permission-gate'
import * as ecoAuditChain from '@eco-dsh/eco-audit-chain'
import * as ecoMemoryTree from '@eco-dsh/eco-memory-tree'

export function apply(ctx: Context) {
  ctx.plugin(ecoAuditChain, { auditDir: '~/.eco/dsh/audit' })
  ctx.plugin(ecoPermissionGate, { mode: 'ask', l4Mode: 'ask' })
  ctx.plugin(ecoMemoryTree, { obsidianVault: '/path/to/vault' })
}

开发

npm install
npm run build     # 编译三个包到各自 lib/

来源与许可

三个包均为 xiejianjun000/eco-agent(MIT)核心模块的 dsh 移植版。原始实现版权归原作者所有;本仓库仅做能力移植与 dsh 适配。