elementor-i/dsh-agentmemory3

@elementor-i/dsh-agentmemory

适用于 DeepSeek Harness 的 agentmemory 插件:提供完整的记忆工具、捕获钩子和上下文注入

AI 分析

核心用途是为 DSH 代理提供基于本地 REST 服务的长期记忆能力。适合需要 AI 跨回合、跨会话记住关键事实和用户偏好的复杂代理任务。

包名
@elementor-i/dsh-agentmemory
版本
0.1.1
许可证
MIT
最近更新
2026年8月17日

安装

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

Configuration

All keys are optional and have safe defaults. The environment variables AGENTMEMORY_URL, AGENTMEMORY_SECRET, and AGENTMEMORY_PROJECT_NAME are honored as fallbacks.

dsh-agentmemory:
  baseURL: http://127.0.0.1:3111   # empty -> $AGENTMEMORY_URL -> default
  secret: ""                       # empty -> $AGENTMEMORY_SECRET (Bearer)
  timeoutMs: 10000
  observeTimeoutMs: 3000           # fire-and-forget hook timeout
  registerTools: true
  coreToolsOnly: false             # true -> only the 8 core tools
  dangerousTools: false            # true -> expose destructive/expensive tools
  projectName: ""                  # empty -> $AGENTMEMORY_PROJECT_NAME -> git repo basename
  injectContext: false             # inject recalled context into the system prompt
  injectMaxChars: 4000
  healthCheck: true
  hooks:
    enabled: true
    capturePrompts: true
    captureToolUse: true
    toolNameFilter: []             # non-empty -> only these tool names
    captureSubagents: true
    captureWorkflow: true
    captureApprovals: false
    preCompactSnapshot: false      # approximate PreCompact on request-error
    maxObservationBytes: 8000
    redactSecrets: true
KeyDefaultDescription
baseURLhttp://127.0.0.1:3111agentmemory REST base URL
secret""Bearer secret (falls back to AGENTMEMORY_SECRET)
timeoutMs10000per-tool HTTP timeout
observeTimeoutMs3000hook observation timeout (fire-and-forget)
registerToolstrueregister the memory_* tool set
coreToolsOnlyfalseregister only the 8 core tools
dangerousToolsfalseexpose governance_delete, heal, consolidate, reflect, crystallize
injectContextfalseinject recalled context into the system prompt
healthChecktruewarn on startup if the server is unreachable