You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
obs-mcp: typed tools, schemas and structured errors #4445
Parent #4444. Maintainer-approved implementation slice 1. Add TypedTool with serde/schemars input/output structs, exact-pinned workspace schemars, blanket legacy Tool adapter, outputSchema and structuredContent alongside existing text/image content. Preserve existing names and successful wire payloads. Deny unknown input fields, default optional fields, typed request/response backend methods, annotations and structured ToolError using obs-websocket v5 status ranges. Write short control-api.md first; commit generated schema snapshot with drift test. RED then GREEN tests go in tests/mcp under existing obs-tests-core. Validate lint, existing MCP tests and real stdio protocol smoke test; unchanged C ABI means Tier 2/3 are compatibility regression coverage rather than a C port.
Claiming: typed tools, schemas and structured errors (slice 1 of #4444).
Record the approved five-slice design and compatibility contract.
Commit RED tests/stubs in tests/mcp within obs-tests-core and open the draft PR.
Implement typed adapter and migrate tools, schemas, annotations and errors; validate and queue.
First draft PR expected in this worker session.
Decisions: preserve legacy successful text and image payloads and names; structuredContent is additive. Invalid typed input is a JSON-RPC invalid-params fault; domain failures use structured ToolError with v5 status codes. No public C headers or WebSocket plugin changes.
Progress: RED commit 59f2012 failed at the intended typed-adapter todo!() stub. Implementation is on PR #4450; 61 MCP tests passed, including structured content/errors and schema drift. Review corrections preserve readiness errors in native outputs and use conservative annotations. Legacy backend hooks remain available, while registered tools use request/response structs.
Decisions: use actual obs-websocket v5 RequestStatus values (ResourceNotFound=600, NotReady=207, InvalidResourceState=604, RequestProcessingFailed=702); the initial request summary transposed some ranges. Full checks and application smoke test are underway. Master regression #4443 currently prevents green required CI; another worker has claimed its repair.
Blocked: required CI inherits master regression #4443, and real-app MCP smoke verification needs the native development dependency closure and release libobs-rust archive described in docs/rust-port/mcp.md. Slice 1 implementation is committed on infra/control-api-typed / PR #4450; focused tests (62) and native-backend Clippy pass. Default CLI builds, but the real tools/list stdin attempt exits 1 with: error: this build has no libobs; rebuild with --features bundled-native. Keeping the PR draft and not queueing or claiming completion. Other slices remain unclaimed; #4446 also waits for draft PR #4124, whose branch was left untouched.
Blocked: waiting for master repair #4443 and native MCP runtime verification. Final pushed head is 8adc952 on draft PR #4450; all 62 MCP tests pass on that head, as does native-backend Clippy. Current CI run 42708651038 confirms the same #4443 failures outside this PR. The release libobs-rust archive is now built; the configured MCP-enabled build fails at missing x11.pc. The default CLI tools/list stdin smoke exits 1 with no stdout and the bundled-native-required error. No queue/handoff or completion claim; all source changes are committed and pushed, perf/4119-vmic-pipewire remains untouched.
Continuing: master repair #4453 has merged. #4450 is rebased onto it and all required checks, including CI Gate and Tier 2 proof, are green on a558e17. Marking ready and entering the merge queue. Native runtime smoke will also be reported with the completed Control API stack; Nix development dependencies are now available.
Merged as #4450 (9899c56), after rebasing onto the master repair and passing PR plus merge-queue CI. Typed input/output schemas, structured errors/content, annotations and schema drift snapshot are delivered. Native stdio and attach smoke on the complete stack each returned 30 tools with outputSchema, exit 0. Remaining control domains, waits, module/transport and client/probe are tracked by native siblings #4446–#4449 with PRs #4452/#4454/#4456/#4457.
Activity
zackees commentedon Nov 9, 2026
Claiming: typed tools, schemas and structured errors (slice 1 of #4444).
First draft PR expected in this worker session.
Decisions: preserve legacy successful text and image payloads and names; structuredContent is additive. Invalid typed input is a JSON-RPC invalid-params fault; domain failures use structured ToolError with v5 status codes. No public C headers or WebSocket plugin changes.
zackees commentedon Nov 9, 2026
Progress: RED commit 59f2012 failed at the intended typed-adapter todo!() stub. Implementation is on PR #4450; 61 MCP tests passed, including structured content/errors and schema drift. Review corrections preserve readiness errors in native outputs and use conservative annotations. Legacy backend hooks remain available, while registered tools use request/response structs.
Decisions: use actual obs-websocket v5 RequestStatus values (ResourceNotFound=600, NotReady=207, InvalidResourceState=604, RequestProcessingFailed=702); the initial request summary transposed some ranges. Full checks and application smoke test are underway. Master regression #4443 currently prevents green required CI; another worker has claimed its repair.
zackees commentedon Nov 9, 2026
Blocked: required CI inherits master regression #4443, and real-app MCP smoke verification needs the native development dependency closure and release libobs-rust archive described in docs/rust-port/mcp.md. Slice 1 implementation is committed on infra/control-api-typed / PR #4450; focused tests (62) and native-backend Clippy pass. Default CLI builds, but the real tools/list stdin attempt exits 1 with: error: this build has no libobs; rebuild with --features bundled-native. Keeping the PR draft and not queueing or claiming completion. Other slices remain unclaimed; #4446 also waits for draft PR #4124, whose branch was left untouched.
feat(mcp): typed tools, structured domain errors and schema snapshot (#…
docs(mcp): format generated schema by tool for review (#4445)
fix(mcp): preserve readiness errors and accurate operation hints (#4445)
fix(mcp): retain legacy JSON text ordering and output descriptions (#…
zackees commentedon Nov 9, 2026
Blocked: waiting for master repair #4443 and native MCP runtime verification. Final pushed head is 8adc952 on draft PR #4450; all 62 MCP tests pass on that head, as does native-backend Clippy. Current CI run 42708651038 confirms the same #4443 failures outside this PR. The release libobs-rust archive is now built; the configured MCP-enabled build fails at missing x11.pc. The default CLI tools/list stdin smoke exits 1 with no stdout and the bundled-native-required error. No queue/handoff or completion claim; all source changes are committed and pushed, perf/4119-vmic-pipewire remains untouched.
test(mcp): RED typed tool schema and structured result contract (#4445)
feat(mcp): typed tools, structured domain errors and schema snapshot (#…
docs(mcp): format generated schema by tool for review (#4445)
fix(mcp): preserve readiness errors and accurate operation hints (#4445)
fix(mcp): retain legacy JSON text ordering and output descriptions (#…
zackees commentedon Nov 9, 2026
Continuing: master repair #4453 has merged. #4450 is rebased onto it and all required checks, including CI Gate and Tier 2 proof, are green on a558e17. Marking ready and entering the merge queue. Native runtime smoke will also be reported with the completed Control API stack; Nix development dependencies are now available.
zackees commentedon Nov 10, 2026
Merged as #4450 (9899c56), after rebasing onto the master repair and passing PR plus merge-queue CI. Typed input/output schemas, structured errors/content, annotations and schema drift snapshot are delivered. Native stdio and attach smoke on the complete stack each returned 30 tools with outputSchema, exit 0. Remaining control domains, waits, module/transport and client/probe are tracked by native siblings #4446–#4449 with PRs #4452/#4454/#4456/#4457.
feat(mcp): typed tools, structured errors and schema contract (obs-ru…
feat(mcp): Virtual Camera, media and pipeline statistics (obs-rust#4452)
feat(mcp): typed condition waits and bounded start auto-wait (obs-rus…
feat(mcp): private socket transport and in-app control module (obs-ru…
feat(mcp): fluent typed client and A/V probe socket transport (obs-ru…