Skip to content
Developer Preview

ApprovalSubject

Open approval subject union. Unknown kinds are rendered generically and never auto-approved by clients.

  • access
  • command
  • host
  • kind
  • origin
  • path
  • port
  • protocol
  • stages
  • target
  • toolName
  • workspaceRoot
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"
}