Agent: start with llms.txt, full contract in agent.json. This page is the human reference.

测试与 CI

npm test        # 35 条离线逻辑检查 + 10 条宿主无关 harness = 45 项
npm run bench   # 插件路径基准(真实目录 + registry)
npm run ablate  # 消融测试(无副作用)

沙箱或 CI 里默认缓存目录不可写时,用 DSH_HOME 指到临时目录:DSH_HOME=/tmp/dsh npm test。