docs: rebalance prose cleanup and add trimming skill

This commit is contained in:
Tianyi Cui
2026-07-13 23:27:00 +08:00
parent fcdc318dda
commit 148046b9c8
392 changed files with 2801 additions and 1754 deletions

View File

@@ -1,6 +1,9 @@
/**
* Repeat-tool-call guard: advisory loop-breaker for agents stuck re-issuing the same tool call
* with identical arguments.
* Advisory repeat-call loop breaker. It never registers, blocks, or rewrites a tool; configured
* consecutive canonical calls add source-attributed context after downstream post-policy. The
* loop logs that model-visible reminder as reconstructable context. Counters are per agent and
* in-memory, so one agent cannot trip another and resumed sessions start fresh. Named exports
* preserve loader metadata. See the package README for chain semantics and thresholds.
* @module @deepseek-ai/dsh-repeat-tool-guard
*/