ApprovalSubject
Open approval subject union. Unknown kinds are rendered generically and never auto-approved by clients.
Fields and variants
Section titled “Fields and variants”accesscommandhostkindoriginpathportprotocolstagestargettoolNameworkspaceRoot
Source
schema/msp/experimental/msp.schema.json#/types/ApprovalSubject
{ "description": "Open approval subject union. Unknown kinds are rendered generically and\nnever auto-approved by clients.", "properties": { "access": { "type": "string" }, "command": { "type": "string" }, "host": { "type": "string" }, "kind": { "description": "Open discriminator: `shell | fileAccess | network | process | tool`.", "type": "string" }, "origin": { "$ref": "#/$defs/ApprovalOrigin" }, "path": { "type": "string" }, "port": { "type": "integer" }, "protocol": { "type": "string" }, "stages": { "items": { "$ref": "#/$defs/ApprovalStage" }, "type": "array" }, "target": { "type": "string" }, "toolName": { "type": "string" }, "workspaceRoot": { "type": "string" } }, "required": [ "kind" ], "type": "object"}