dsh-prolong-memory
把每次会话事件追加到工作区 log.txt,供 agent 用 grep 或 python 检索。 适合希望 agent 跨会话回忆历史工作的用户;挂载后自动记录,可用 /prolong status 查看状态。
安裝
此插件尚未提供可驗證的 bundle,或相容性檢查未通過。請先閱讀倉庫說明。 閱讀完整 README ↗
說明文件
閱讀完整 README ↗Usage
Once mounted, no interaction is needed — every session in the profile gets a log.txt in its workspace, starting with a write-probe section. Ask the agent anything about earlier work ("what exact command failed back then?") and the prompt section steers it to grep the log.
Check plugin health at any time:
/prolong status
prolong-memory status
log file: log.txt (per-session workspace)
window: full
session 9f3c…
path: /work/demo/log.txt
writable=yes sections=128 lastSeq=341
denied tool calls referencing the log: 0
Configuration (cordis.yml / patch overlay)
| field | default | meaning |
|---|---|---|
logFile | log.txt | log file name inside the workspace (path traversal rejected; misconfiguration fails loud) |
logWindow | 0 | 0 = keep everything; N>0 = keep last N sections; -1 = disable entirely (no-log ablation) |
promptOrder | 150 | system-prompt section ordering |
registerPrompt / registerCommand | true | toggle the prompt section / the status command independently |
denyKeep | 20 | denied-call records kept for the status report |
Temporary debugging without touching the profile: dsh --profile web --patch ./overlay.yml.