{ "name": "@microsoft/agent-os-vscode", "displayName": "Agent OS - AI Safety for Code", "description": "Kernel-level safety for AI coding assistants. Block destructive operations, verify with multi-model review, and audit all AI suggestions.", "version": "3.4.0", "publisher": "agent-os", "author": "Microsoft Corporation", "license": "MIT", "repository": { "type": "git", "url": "https://github.com/microsoft/agent-governance-toolkit" }, "homepage": "https://github.com/microsoft/agent-governance-toolkit#readme", "bugs": { "url": "https://github.com/microsoft/agent-governance-toolkit/issues" }, "icon": "images/icon.png", "engines": { "vscode": "^1.85.0" }, "categories": [ "Machine Learning", "Programming Languages", "Linters", "Other" ], "keywords": [ "ai", "safety", "copilot", "cursor", "code review", "security", "policy", "governance", "enterprise", "compliance", "soc2", "gdpr" ], "activationEvents": [ "onStartupFinished" ], "main": "./out/extension.js", "contributes": { "snippets": [ { "language": "python", "path": "./snippets/agent-os.code-snippets" }, { "language": "typescript", "path": "./snippets/agent-os.code-snippets" }, { "language": "javascript", "path": "./snippets/agent-os.code-snippets" }, { "language": "yaml", "path": "./snippets/agent-os.code-snippets" } ], "commands": [ { "command": "agent-os.reviewCode", "title": "Agent OS: Review Code with CMVK", "icon": "$(shield)" }, { "command": "agent-os.toggleSafety", "title": "Agent OS: Toggle Safety Mode" }, { "command": "agent-os.showAuditLog", "title": "Agent OS: Show Audit Log" }, { "command": "agent-os.configurePolicy", "title": "Agent OS: Configure Policies" }, { "command": "agent-os.exportAuditLog", "title": "Agent OS: Export Audit Log" }, { "command": "agent-os.allowOnce", "title": "Agent OS: Allow This Once" }, { "command": "agent-os.openPolicyEditor", "title": "Agent OS: Open Policy Editor", "icon": "$(edit)" }, { "command": "agent-os.openWorkflowDesigner", "title": "Agent OS: Open Workflow Designer", "icon": "$(type-hierarchy)" }, { "command": "agent-os.showMetrics", "title": "Agent OS: Show Metrics Dashboard", "icon": "$(graph)" }, { "command": "agent-os.showOnboarding", "title": "Agent OS: Getting Started", "icon": "$(rocket)" }, { "command": "agent-os.createFirstAgent", "title": "Agent OS: Create First Agent" }, { "command": "agent-os.runSafetyTest", "title": "Agent OS: Run Safety Test" }, { "command": "agent-os.openDocs", "title": "Agent OS: Open Documentation" }, { "command": "agent-os.showSLOWebview", "title": "Agent OS: SLO Dashboard (Visual)", "icon": "$(graph)" }, { "command": "agent-os.showTopologyGraph", "title": "Agent OS: Agent Topology Graph", "icon": "$(type-hierarchy)" }, { "command": "agent-os.refreshSLO", "title": "Agent OS: Refresh SLO Data", "icon": "$(refresh)" }, { "command": "agent-os.refreshTopology", "title": "Agent OS: Refresh Agent Topology", "icon": "$(refresh)" }, { "command": "agent-os.signIn", "title": "Agent OS: Sign In (Enterprise)" }, { "command": "agent-os.signOut", "title": "Agent OS: Sign Out" }, { "command": "agent-os.setupCICD", "title": "Agent OS: Setup CI/CD Integration" }, { "command": "agent-os.installHooks", "title": "Agent OS: Install Git Hooks" }, { "command": "agent-os.checkCompliance", "title": "Agent OS: Check Compliance" }, { "command": "agent-os.showGovernanceHub", "title": "Agent OS: Open Governance Hub", "icon": "$(dashboard)" }, { "command": "agent-os.showKernelDebugger", "title": "Agent OS: Open Kernel Debugger", "icon": "$(debug-alt)" }, { "command": "agent-os.showMemoryBrowser", "title": "Agent OS: Open Memory Browser", "icon": "$(database)" }, { "command": "agent-os.showSafetyStats", "title": "Agent OS: Open Safety Stats", "icon": "$(shield)" }, { "command": "agent-os.showAuditDetail", "title": "Agent OS: Open Audit Log Detail", "icon": "$(list-unordered)" }, { "command": "agent-os.showPolicyDetail", "title": "Agent OS: Open Active Policies Detail", "icon": "$(law)" }, { "command": "agent-os.openSLOInBrowser", "title": "Agent OS: Open SLO Dashboard in Browser", "icon": "$(link-external)" }, { "command": "agent-os.openTopologyInBrowser", "title": "Agent OS: Open Topology Graph in Browser", "icon": "$(link-external)" }, { "command": "agent-os.openGovernanceInBrowser", "title": "Agent OS: Open Governance Hub in Browser", "icon": "$(link-external)" }, { "command": "agent-os.exportReport", "title": "Agent OS: Export Governance Report", "icon": "$(export)" }, { "command": "agent-os.showHelp", "title": "Agent OS: Help", "icon": "$(question)" }, { "command": "agent-os.sidebar.focusNextSlot", "title": "Focus Next Panel Slot", "category": "Agent OS" }, { "command": "agent-os.sidebar.focusPrevSlot", "title": "Focus Previous Panel Slot", "category": "Agent OS" } ], "keybindings": [ { "command": "agent-os.sidebar.focusNextSlot", "key": "ctrl+shift+down", "when": "focusedView == 'agent-os.sidebar'" }, { "command": "agent-os.sidebar.focusPrevSlot", "key": "ctrl+shift+up", "when": "focusedView == 'agent-os.sidebar'" } ], "menus": { "editor/context": [ { "command": "agent-os.reviewCode", "group": "agent-os@1", "when": "editorHasSelection" } ], "view/title": [], "commandPalette": [ { "command": "agent-os.reviewCode", "when": "editorIsOpen" } ] }, "viewsContainers": { "activitybar": [ { "id": "agent-os-sidebar", "title": "Agent OS", "icon": "$(shield)" } ] }, "views": { "agent-os-sidebar": [ { "id": "agent-os.sidebar", "name": "Agent OS", "type": "webview", "visibility": "visible" } ] }, "viewsWelcome": [], "configuration": { "title": "Agent OS", "properties": { "agentOS.enabled": { "type": "boolean", "default": true, "description": "Enable Agent OS safety checks" }, "agentOS.mode": { "type": "string", "enum": [ "basic", "enhanced", "enterprise" ], "default": "basic", "description": "Safety mode: basic (local only), enhanced (+ CMVK), enterprise (custom)" }, "agentOS.policies.blockDestructiveSQL": { "type": "boolean", "default": true, "description": "Block DROP, DELETE, TRUNCATE SQL operations" }, "agentOS.policies.blockFileDeletes": { "type": "boolean", "default": true, "description": "Block rm -rf and file deletion operations" }, "agentOS.policies.blockSecretExposure": { "type": "boolean", "default": true, "description": "Block hardcoded API keys, passwords, secrets" }, "agentOS.policies.blockPrivilegeEscalation": { "type": "boolean", "default": true, "description": "Block sudo, chmod 777, and privilege escalation" }, "agentOS.policies.blockUnsafeNetworkCalls": { "type": "boolean", "default": false, "description": "Block network calls to unknown domains" }, "agentOS.cmvk.enabled": { "type": "boolean", "default": false, "description": "Enable CMVK multi-model verification" }, "agentOS.cmvk.models": { "type": "array", "default": [ "gpt-4", "claude-sonnet-4", "gemini-pro" ], "description": "Models to use for CMVK verification" }, "agentOS.cmvk.consensusThreshold": { "type": "number", "default": 0.8, "minimum": 0.5, "maximum": 1, "description": "Minimum consensus ratio required (0.5-1.0)" }, "agentOS.cmvk.apiEndpoint": { "type": "string", "default": "https://api.agent-os.dev/cmvk", "description": "CMVK API endpoint" }, "agentOS.audit.retentionDays": { "type": "number", "default": 7, "description": "Days to retain audit logs locally" }, "agentOS.audit.logToFile": { "type": "boolean", "default": false, "description": "Also log audit events to file" }, "agentOS.notifications.showBlocked": { "type": "boolean", "default": true, "description": "Show notification when code is blocked" }, "agentOS.notifications.showWarnings": { "type": "boolean", "default": true, "description": "Show notification for warnings" }, "agentOS.enterprise.sso.enabled": { "type": "boolean", "default": false, "description": "Enable enterprise SSO authentication" }, "agentOS.enterprise.sso.provider": { "type": "string", "enum": [ "azure", "okta", "google", "github" ], "description": "SSO provider for enterprise authentication" }, "agentOS.enterprise.compliance.framework": { "type": "string", "enum": [ "soc2", "gdpr", "hipaa", "pci-dss" ], "description": "Default compliance framework for validation" }, "agentOS.diagnostics.enabled": { "type": "boolean", "default": true, "description": "Enable real-time diagnostics for policy violations" }, "agentOS.diagnostics.severity": { "type": "string", "enum": [ "error", "warning", "information" ], "default": "warning", "description": "Minimum severity level for diagnostics" }, "agentOS.export.localPath": { "type": "string", "default": "", "description": "Local directory for exported reports (defaults to workspace)" }, "agentOS.observability.endpoint": { "type": "string", "default": "", "description": "URL endpoint to push governance metrics (OpenTelemetry compatible)" }, "agentOS.observability.pushIntervalMs": { "type": "number", "default": 60000, "minimum": 10000, "description": "Interval in milliseconds between metrics pushes" }, "agentOS.governance.pythonPath": { "type": "string", "default": "python", "description": "Python interpreter with agent-failsafe[server] installed." }, "agentOS.governance.endpoint": { "type": "string", "default": "", "description": "Override: connect to an existing agent-failsafe server instead of auto-starting. Leave empty for auto-start." }, "agentOS.governance.refreshIntervalMs": { "type": "number", "default": 10000, "minimum": 5000, "description": "Polling interval for governance data in milliseconds (minimum 5000)." } } }, "walkthroughs": [ { "id": "agent-os-getting-started", "title": "Getting Started with Agent OS", "description": "Learn how to protect your AI coding workflows with kernel-level safety", "steps": [ { "id": "understand", "title": "Understand Agent OS", "description": "Agent OS provides kernel-level safety for AI agents. Unlike prompt-based safety, violations are blocked at execution time.\n[Learn More](https://github.com/microsoft/agent-governance-toolkit)", "media": { "markdown": "Agent OS intercepts AI actions before execution and checks them against your policies." } }, { "id": "configure-policies", "title": "Configure Policies", "description": "Set up safety policies for your project.\n[Open Policy Editor](command:agent-os.openPolicyEditor)", "media": { "markdown": "Policies define what actions are allowed. Start with our templates or create custom rules." } }, { "id": "first-agent", "title": "Create Your First Agent", "description": "Build a governed agent with safety guarantees.\n[Create Agent](command:agent-os.createFirstAgent)", "media": { "markdown": "Your first agent will be protected by Agent OS with full policy enforcement." } }, { "id": "view-metrics", "title": "Monitor Safety", "description": "View the metrics dashboard to monitor policy enforcement.\n[Open Dashboard](command:agent-os.showMetrics)", "media": { "markdown": "Track blocked operations, warnings, and compliance status in real-time." } } ] } ], "colors": [ { "id": "agentOS.safeBackground", "description": "Background for safe code", "defaults": { "dark": "#1a472a30", "light": "#d4edda50" } }, { "id": "agentOS.dangerBackground", "description": "Background for dangerous code", "defaults": { "dark": "#721c2430", "light": "#f8d7da50" } } ] }, "scripts": { "vscode:prepublish": "npm run compile", "compile": "tsc -p ./ && npm run build:webviews", "build:css": "npx tailwindcss -i src/webviews/shared/index.css -o out/webviews/index.css", "build:webviews": "npm run build:css && node esbuild.webview.mjs", "watch": "tsc -watch -p ./", "watch:webviews": "node esbuild.webview.mjs --watch", "pretest": "npm run compile && npm run lint", "lint": "eslint src --ext ts", "test": "node ./out/test/runTest.js", "package": "vsce package", "publish": "vsce publish" }, "devDependencies": { "@types/glob": "8.1.0", "@types/mocha": "10.0.0", "@types/node": "20.0.0", "@types/react": "19.2.14", "@types/react-dom": "19.2.3", "@types/vscode": "1.85.0", "@types/ws": "8.5.10", "@typescript-eslint/eslint-plugin": "6.0.0", "@typescript-eslint/parser": "6.0.0", "@vscode/test-electron": "2.3.0", "@vscode/vsce": "2.22.0", "autoprefixer": "10.4.27", "esbuild": "0.25.12", "eslint": "8.0.0", "glob": "12.0.0", "mocha": "10.0.0", "postcss": "8.5.10", "react": "19.2.4", "react-dom": "19.2.4", "tailwindcss": "3.4.19", "typescript": "5.3.0" }, "dependencies": { "axios": "1.15.2", "ws": "8.20.0" } }