@argszero/cordis-plugin-tool-deadline-guard
Cordis Plugin Tool Deadline Guard
Deployment-level, phase-complete tool-call deadlines for dsh: a tool that never declares ToolDefinition.timeoutMs is dispatched with no deadline at all, so one wedged call (a delegation whose child never settles, a third-party MCP tool that never returns) leaves the turn running forever with nothing
The plugin will be installed here. Keep web if you are unsure.
npx -y @deepseek-ai/dsh plugin --profile web add @argszero/cordis-plugin-tool-deadline-guard@0.2.0Description
Deployment-level, phase-complete tool-call deadlines for dsh: a tool that never declares ToolDefinition.timeoutMs is dispatched with no deadline at all, so one wedged call (a delegation whose child never settles, a third-party MCP tool that never returns) leaves the turn running forever with nothing in the log to say why. Mounted on the public tools/execute and tools/pre-execute waterfalls, this plugin arms a configurable budget for exactly those phases, converts an expired one into a structured TOOL_DEADLINE_EXCEEDED result (or a TOOL_PRE_EXECUTE_DEADLINE_EXCEEDED denial, when the call was never dispatched) the model can see and retry, and leaves declared budgets, exempt tools and unknown tools untouched. Cooperative by default: it never abandons a call whose tool would not settle, and says so out loud in its optional replace mode instead. Peer ranges are audited to admit the same versions under npm and pnpm prerelease readings (dsh 0.1.2-rc.1 through 0.2.1-alpha.2).
Compatibility and provenance
Cordis Plugin Tool Deadline Guard is published as @argszero/cordis-plugin-tool-deadline-guard and currently resolves to version 0.2.0. The Hub verifies its manifest and preserves the exact installation source for reproducible installs.
- DSH compatibility
- *
- Runtime surfaces
- any
- Release source
- npm
- Registry updated