dshbase

Plugin directory / Security / eco-dsh-plugins

eco-dsh-plugins

Verified · install-tested on dsh xiejianjun000

✓ Actively maintained

View on GitHub ↗ ← Back to plugin directory

0Stars
0Forks
0Open issues
—Language
2026-08-18Last push
Cross-platformPlatform

What it does

dsh plugins ported from eco-agent (xiejianjun000): permission gate, SM3 audit chain, memory tree

✅
Our take
Works — verified, early-stage project

dsh plugins ported from eco-agent (xiejianjun000): permission gate, SM3 audit chain, memory tree It installs cleanly and boots without issues in our testing. It's early-stage but functional.

“Verified” means our automated CI actually ran dsh plugin add in a clean profile and it booted — nothing more. Feature descriptions and version compatibility are the author’s claims. This is not a security audit and not an endorsement of third-party code.

README

eco-dsh-plugins

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

包 移植来源 核心能力
@eco-dsh/eco-permission-gate permissions.py L1-L4 风险分级权限闸门(pre-execute 钩子)
@eco-dsh/eco-audit-chain trace_audit.py SM3 防篡改审计链(tools/result 自动记录 + verify)
@eco-dsh/eco-memory-tree memory_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 适配。

Install

🧩 Let your agent install it (recommended)

Install the catalog once, then DeepSeek Harness can find and install any plugin from this site automatically:

dsh plugin add dshbase-catalog

Then say "install eco-dsh-plugins for me" — your agent finds it in the directory and installs it. Docs: dshbase-catalog · verified packs.

This plugin is GitHub source (not published to npm) — install it straight from the repo:

Web profile:

dsh plugin --profile web add github:xiejianjun000/eco-dsh-plugins

Headless (CLI) profile:

dsh plugin --profile headless add github:xiejianjun000/eco-dsh-plugins

Test report

Verified: L1 install + L2 load + L3 runtime from GitHub source on dsh 0.1.0-rc.6.

Security: not yet scanned — our daily static scan will cover it shortly.

Share this badge

More in Security

Browse all 7819 plugins →