Bug Fixes
- Version management — MCP client version now reads from
package.json at compile time instead of hardcoded string, ensuring release version always matches
- MCP error extraction — raw MCP error responses now extract text content cleanly instead of
JSON.stringify on the array, preserving field names like path: ["job_id"] for debugging
- Input validation — all tools now validate inputs strictly: empty strings rejected, JSON parse errors caught,
until validated as object type, startSentinel wrapped in try/catch
mcp_sentinel_status fallback — action parameter now defaults to "status", switch has default case returning error string (was silently returning undefined)
- Mock CI server —
inputSchema upgraded to z.object({...}).strict() to reject unknown parameters with proper MCP error codes
Documentation
- AGENTS.md — comprehensive development standards: core error handling principles, input validation patterns, testing requirements, release conventions
- Explicit authorization required for push/release operations
Install
opencode plugin -g opencode-mcp-sentinel