dsh-session-shield: Preventing Malformed Tool Calls from Causing Session Log Loading Failures

DSH occasionally generates malformed tool calls (e.g., empty id or name) during model invocation, causing session log corruption. This plugin hooks into the official waterfall to intercept and automatically repair malformed calls before they are written to disk (generating default ids, replacing empty names, and escaping arguments). It supports zero-configuration, dependency-free installation, effectively preventing log loading failures.

Read More