Showing the last saved plugin snapshot.

← Leaderboard / Sessions / Plugin
Last repository activity November 11, 2026 · Created September 16, 2026

apex-mochen/dsh-reasoning-only-guard

“Keeps one reasoning-only turn from making an entire session unusable.”

Star rank
#1839
declared plugin rank
In Sessions
#149
category rank
Stars
7
GitHub repository
Forks
0
GitHub repository
Watchers
0
GitHub subscribers
Open on GitHub ↗
TL;DR

Keeps one reasoning-only turn from making an entire session unusable. When a turn produces no visible text and no tool call, the assistant message is persisted empty, the gateway then rejects every later request in that session with 'content or tool_calls must be set', and the session is dead with no way back through chat. This plugin registers a single llm/stream waterfall listener and, only when the turn carried nothing visible, injects a small text block immediately before the terminal finish, so the persisted message is never empty. Ships the fixture DSH's own mock cannot express (a strictly reasoning-only SSE server, since llm-mock-server forbids an empty successText and always appends text after reasoning), plus an end-to-end reproduction that replays a real persisted session through DSH's own serializeMessages. Preventive, not a repair. Zero dependencies, one file, no process or filesystem access.

30 days of GitHub stars
+6 stars
+600% observed change
Oct 14Oct 28Nov 12