dsh-gentle-engramv0.1.1

eehcx/dsh-gentle-engram

记忆 MIT 最近更新 2026-11-07
1Stars
1Forks
11待解决 Issue
安装命令 dsh plugin --profile web add github:eehcx/dsh-gentle-engram#df72b57405410480dc4bb4fbfa975d72c5ed8f3e

介绍

DSH adapter for Engram — persistent memory bridge built with Cordis.

标签

cordis deepseek-harness dsh dsh-plugin engram

概述

dsh-gentle-engram

Host Cordis plugin written in TypeScript that adds reliable Engram lifecycle behavior to DeepSeek Harness.

This integration requires Engram to be installed and available on your system; the bridge cannot work without it.

Design

  • Uses the existing @deepseek-ai/dsh-mcp-client row for official Engram MCP stdio tools.
  • Hooks DSH session start, inbound prompts, tool results, turn stopping, and agent disposal.
  • Seeds relevant Engram context into the next model step.
  • Saves prompts and filtered passive tool learnings asynchronously.
  • Serializes per-session writes and waits for pending writes at turn boundaries.
  • Closes Engram sessions and records a structured summary when an agent is disposed.
  • Never accesses Engram SQLite directly and avoids forwarding likely secrets.

Installation from npm

Requirements:

  • DeepSeek Harness with the dsh plugin command.
  • Engram installed and available as engram in PATH.
  • A configured DSH profile, such as web.

Install the alpha channel with:

npx @deepseek-ai/dsh plugin --profile web add dsh-gentle-engram@alpha

For the stable channel:

npx @deepseek-ai/dsh plugin --profile web add dsh-gentle-engram

Restart DSH after installation. The package is a Host bundle: its cordis.patch.yml owns both the MCP bridge and lifecycle plugin. Do not edit shipped presets or add a second manual Engram MCP row.

Check that Engram is available before starting DSH:

engram --version

Local development

pnpm install
pnpm run typecheck
pnpm run build

Contributing

Contributions, bug reports, documentation updates, and focused feature proposals are welcome. For the complete workflow, coding expectations, and pull request checklist, see CONTRIBUTING.md.

Before starting:

  • Check existing issues and pull requests to avoid duplicate work.
  • Open an issue first for larger changes so the approach can be discussed.
  • Do not include secrets, personal Engram data, local database files, or machine-specific configuration in commits.

For a typical change:

  1. Fork the repository and create a focused branch.
  2. Install dependencies with pnpm install.
  3. Make the smallest change that solves the problem, preserving existing TypeScript and Cordis patterns.
  4. Run pnpm run typecheck and pnpm run build.
  5. Open a pull request explaining what changed, why, and how it was validated.

Keep pull requests focused, avoid editing generated dist/ output directly, and do not include unrelated formatting or dependency changes. Please report suspected security vulnerabilities privately rather than in a public issue.

License

This project is released under the MIT License. See LICENSE for the complete license text.

星级评价

1.5 按 GitHub Stars 换算的社区热度,非用户打分
Stars1
Forks1
待解决 Issue11
最近更新2026-11-07

基本信息

作者eehcx
版本0.1.1
开源许可MIT
默认分支main
入库时间2026-11-07

插件信息来自公开 GitHub 仓库与 SkillHub,版权归原作者所有;安装前请自行审查仓库代码。