feat: MCP Remote Control via devbench#2448
Conversation
Co-authored-by: Claude Opus 4.7 <noreply@anthropic.com>
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
|
Important Review skippedDraft detected. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Plus Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
No actionable suggestions for changed features. |
|
waiting for 1 more commit |
|
also need to rebrand everything back to CS |
Summary
Adds a new Remote Control CORE feature that lets AI assistants (Claude Code, Cursor, Continue, etc.) query and mutate runtime state for A/B testing and performance investigation — via the external devbench SKSE plugin over its cross-plugin C-ABI.
Cherry-picked from alandtse/open-shaders: #27, #62, #66.
Changes
feat(remote-control): add MCP server core feature (#27)
RemoteControlCORE feature, off by default, appears under Core Features → Utility in the in-game menuGetSingleton,DataLoaded,DrawSettings, and global registration intoGlobals.hfeat(mcp): shader recompile observability (#62)
inspect(kind='shadercache')tool returning{ compiling, completedTasks, totalTasks, failedTasks, currentFailedCount, frame_count }— poll to confirm hot-reloaded shaders finished (or failed) recompiling without log-divingTracyMessage/TracyMessageCannotations at shader compile completion,#ifdef TRACY_ENABLE-guardedShaderCompileStatus.hto avoid ausing namespace std::chronoleakage fromShaderCache.hinto vendored httplib headersfeat(mcp): integrate devbench (#66)
openshaders.*tools into the standalone devbench host viaDevBenchBridgeover theDevBenchAPIC-ABIoption(DEVBENCH_BRIDGE ON)(default on);-DDEVBENCH_BRIDGE=OFFcompiles to a no-op stub with no added dependencydevbench-apiis a self-contained vcpkg overlay port undercmake/ports/devbench-apiRemoteControl.cppis now a ~120-line read-only status panel reporting devbench host presence, bound port (polled fromdevbench/runtime.jsonevery 2s), and the registered tool listTools exposed through devbench
openshaders.featureopenshaders.inspectopenshaders.shadercacheopenshaders.captureopenshaders.settingsNotes