Use agent-runlog when command output needs to be preserved and summarized for debugging or handoff. It writes a small local ledger under .agent-runs/.
From the project root:
npx @builtbyecho/agent-runlog -- npm test
npx @builtbyecho/agent-runlog -- npm run lint
npx @builtbyecho/agent-runlog -- npm run build
Then inspect:
cat .agent-runs/*/report.md | tail -n 120
For automation:
npx @builtbyecho/agent-runlog --json -- npm test > run.json
--no-redact unless the user explicitly needs raw local logs..agent-runs/ local and summarize instead of posting full logs.npx @builtbyecho/agent-runlog -- <command> [args...]
npx @builtbyecho/agent-runlog -o .agent-runs/lint -- npm run lint
npx @builtbyecho/agent-runlog --cwd ./subproject -- npm test
npx @builtbyecho/agent-runlog --quiet -- npm test
共 3 个版本