Yiipu/dsh-agentmemory0

dsh-agentmemory

DSH ↔ agentmemory session-memory bridge (backend-only). Mirrors session lifecycle into agentmemory with standard hookTypes (compression-friendly, dedup-safe), exposes memory_recall / memory_remember tools, and injects memory context via agent/pre-step. Configuration comes from the cordis.yml row.

AI 분석

核心用途是实现 DSH 与外部 agentmemory 服务的记忆同步与检索。适合需要高级语义记忆检索和会话压缩的专业用户。需要通过 cordis.yml 配置外部服务地址及密钥。

패키지
dsh-agentmemory
버전
0.4.0
라이선스
MIT
최근 업데이트
2026. 8. 15.

설치

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:Yiipu/dsh-agentmemory

Configuration keys

baseUrl, secret (below), enabled (bridge master switch), enableTools, enableSessionStartEnd, curlTimeoutMs, observeBatchLimit, maxContentChars, maxArgsChars, injectContext (project recall switch, default true), injectContextMaxChars (default 6000), injectContextOnCompaction (pre-compaction re-inject, default true), injectSemantic (semantic recall switch, default false), injectSemanticMaxResults (default 8), injectSemanticMaxChars (default 3000).

Keys omitted from a row are filled with defaults by Cordis according to the plugin's Config schema — do not hand-write a merge. Cordis validates natively: an invalid value (such as curlTimeoutMs: -5) makes the plugin fail to load with a clear error. The full numeric bounds (min/max) are declared on each key in index.js.

secret: plaintext or an environment-variable reference

secret accepts two forms; whether you write plaintext is your choice:

FormBehavior
secret: "xxx"Plaintext, used verbatim as the Bearer token
secret: '${AGENTMEMORY_SECRET}'Reads the env var; if unset → load fails (loudly)
secret: '${AGENTMEMORY_SECRET:default}'Reads the env var; if unset → uses default
secret: '${AGENTMEMORY_SECRET:?goes nowhere}'Reads the env var; if unset → fails with the message goes nowhere

Environment variables are resolved through the shell seam at the start of apply() (the sandbox has no direct env access).