MkaliezZ/dsh-action-ledger ↗★ 0
@mkaliezz/dsh-action-ledger
将 DeepSeek Harness 的工具调用、审批和结果事实投射到有界的动作生命周期账本中。
AI 分析
核心用途是重构并展示 DSH 工具调用的生命周期历史账本。适合需要审计、追踪工具调用及审批流转状态的开发者或系统管理员。
安装
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:MkaliezZ/dsh-action-ledger说明文档
阅读完整 README ↗dsh-action-ledger
A bounded action-lifecycle projection for DeepSeek Harness (DSH).
/action-ledger reconstructs a human-readable ledger from DSH's existing durable session facts such as tool/call, approval lifecycle facts, and tool/result. v0.1 intentionally does not invent a custom standalone session-event type, so it does not require patching DSH's generated event catalog.
Why
AgentFuse answers whether a tool call may proceed. Action Ledger answers what lifecycle DSH durably recorded around the call.
v0.1
- projects
requested -> approval-requested -> approved|denied -> completed|failedwhen the corresponding native DSH facts exist; - deterministic sequence ordering;
- bounded
/action-ledgeroutput; - no raw tool arguments copied into the ledger;
- read-only projection: no tool dispatch and no source mutation.
Non-claims
- not a replacement for DSH session persistence;
- not an authorization system;
- does not fabricate missing lifecycle facts;
- does not prove a physical side effect happened beyond the facts DSH recorded;
- compatibility must be re-proven against pinned DSH revisions while DSH remains Developer Preview.
Development
npm test
License
MIT