File size: 1,158 Bytes
afa0cbf
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "definitions": {
    "FileChangeApprovalDecision": {
      "oneOf": [
        {
          "description": "User approved the file changes.",
          "enum": [
            "accept"
          ],
          "type": "string"
        },
        {
          "description": "User approved the file changes and future changes to the same files should run without prompting.",
          "enum": [
            "acceptForSession"
          ],
          "type": "string"
        },
        {
          "description": "User denied the file changes. The agent will continue the turn.",
          "enum": [
            "decline"
          ],
          "type": "string"
        },
        {
          "description": "User denied the file changes. The turn will also be immediately interrupted.",
          "enum": [
            "cancel"
          ],
          "type": "string"
        }
      ]
    }
  },
  "properties": {
    "decision": {
      "$ref": "#/definitions/FileChangeApprovalDecision"
    }
  },
  "required": [
    "decision"
  ],
  "title": "FileChangeRequestApprovalResponse",
  "type": "object"
}