Universal Operative
Connects Visual Studio Code to local Universal Operative projects.
Version 2 requires VS Code 1.104 or later and operative projects targeting .NET 10 or .NET 11. This raises the extension-host runtime requirement to match its bundled dependencies.
Get started
Install the template with dotnet new install Universal.Operative.Sdk.Templates, create an operative with dotnet new operative, and open its directory in VS Code. Open the Universal Operative view in the secondary sidebar.
Connections are configured in .operative/settings.json.
Projects may target .NET 10 and .NET 11 together. The extension selects the newest project target with an installed runtime. Set a connection's optional targetFramework (for example, net10.0) to choose explicitly; universalOperative.targetFramework supplies the fallback.
Failed unanswered messages return to the composer for retry. Hover a saved user message to fork the session from that point or delete that message and everything after it.
Use Operative: Show Logs to inspect startup, build, and protocol diagnostics. The output also includes the operative process's standard error stream; that process controls what it writes there. Invalid protocol JSON is reported without copying the malformed message into the log.
Theme
Add optional chat styling to .operative/theme.json:
{
"fontSize": 14,
"fontFamily": "var(--vscode-font-family)",
"messageGap": 20,
"userMessageBackground": "var(--vscode-input-background)",
"userMessageRadius": "16px 16px 4px 16px",
"composerBackground": "var(--vscode-input-background)",
"composerRadius": "12px",
"traceBackground": "color-mix(in srgb, var(--vscode-editor-background) 42%, transparent)",
"accentColor": "var(--vscode-focusBorder)"
}
All fields are optional. fontSize accepts 10–24 and messageGap accepts 8–48. Number values are pixels, and string values may use VS Code theme variables.
Development
Install Node.js 22.12 or later and npm, then run npm ci, npm run compile, and npm test in this directory. npm run package regenerates notices from dependency license files and creates the VSIX. The extension bundles its runtime dependencies; development and packaging dependencies are excluded from the VSIX.