Repository navigation
Releases
Releases · alchemistwu/dsh-tool-call-guard
v0.1.1
What's Changed
- Test suite: 9 tests covering the production poison case (GLM-5.3-Flash's unescaped-quote arguments on vLLM) and the protocol-balance invariants (no orphan
role:toolreplies; valid calls untouched) - CHANGELOG.md
- Adapter-serializer reference implementation (
examples/adapter-sanitize.ts): drop-in guardedserializeAssistant/serializeMessagesfor OpenAI-compatible adapters, with per-request state reset
The detection waterfall itself is unchanged from 0.1.0 — read-only by design (the cordis llm/stream waterfall discards next() arguments and the request is deep-frozen before dispatch; sanitization belongs in the adapter serializer layer, see the reference example).
Full upstream context + core patch proposal: discussion #5132