oficina / equipo Public

Clone
git clone https://amadan.net/oficina/equipo

Plain git — no account needed to clone.

Download

Download this file

1{
2 "$schema": "http://json-schema.org/draft-07/schema#",
3 "definitions": {
4 "AbsolutePathBuf": {
5 "type": "string"
6 },
7 "ActivePermissionProfile": {
8 "properties": {
9 "extends": {
10 "default": null,
11 "type": [
12 "string",
13 "null"
14 ]
15 },
16 "id": {
17 "type": "string"
18 }
19 },
20 "required": [
21 "id"
22 ],
23 "type": "object"
24 },
25 "AgentMessageDelivery": {
26 "enum": [
27 "async"
28 ],
29 "type": "string"
30 },
31 "AgentPath": {
32 "type": "string"
33 },
34 "ApprovalsReviewer": {
35 "enum": [
36 "user",
37 "auto_review",
38 "guardian_subagent"
39 ],
40 "type": "string"
41 },
42 "AskForApproval": {
43 "oneOf": [
44 {
45 "enum": [
46 "untrusted",
47 "on-request",
48 "never"
49 ],
50 "type": "string"
51 },
52 {
53 "additionalProperties": false,
54 "properties": {
55 "granular": {
56 "properties": {
57 "mcp_elicitations": {
58 "type": "boolean"
59 },
60 "request_permissions": {
61 "default": false,
62 "type": "boolean"
63 },
64 "rules": {
65 "type": "boolean"
66 },
67 "sandbox_approval": {
68 "type": "boolean"
69 },
70 "skill_approval": {
71 "default": false,
72 "type": "boolean"
73 }
74 },
75 "required": [
76 "mcp_elicitations",
77 "rules",
78 "sandbox_approval"
79 ],
80 "type": "object"
81 }
82 },
83 "required": [
84 "granular"
85 ],
86 "type": "object"
87 }
88 ]
89 },
90 "AsyncUserInputQuestion": {
91 "additionalProperties": false,
92 "properties": {
93 "options": {
94 "items": {
95 "type": "string"
96 },
97 "type": [
98 "array",
99 "null"
100 ]
101 }
102 },
103 "required": [
104 "title"
105 ],
106 "type": "object"
107 },
108 "ByteRange": {
109 "properties": {
110 "end": {
111 "format": "uint",
112 "minimum": 0.0,
113 "type": "integer"
114 },
115 "start": {
116 "format": "uint",
117 "minimum": 0.0,
118 "type": "integer"
119 }
120 },
121 "required": [
122 "end",
123 "start"
124 ],
125 "type": "object"
126 },
127 "CodexErrorInfo": {
128 "anyOf": [
129 {
130 "enum": [
131 "contextWindowExceeded",
132 "sessionBudgetExceeded",
133 "usageLimitExceeded",
134 "rateLimitExceeded",
135 "flexUnavailable",
136 "serverOverloaded",
137 "modelNotFound",
138 "cyberPolicy",
139 "misalignmentPolicyViolation",
140 "tooManyDenials",
141 "internalServerError",
142 "unauthorized",
143 "badRequest",
144 "threadRollbackFailed",
145 "sandboxError",
146 "other"
147 ],
148 "type": "string"
149 },
150 {
151 "additionalProperties": false,
152 "properties": {
153 "httpConnectionFailed": {
154 "properties": {
155 "httpStatusCode": {
156 "format": "uint16",
157 "minimum": 0.0,
158 "type": [
159 "integer",
160 "null"
161 ]
162 }
163 },
164 "type": "object"
165 }
166 },
167 "required": [
168 "httpConnectionFailed"
169 ],
170 "type": "object"
171 },
172 {
173 "additionalProperties": false,
174 "properties": {
175 "responseStreamConnectionFailed": {
176 "properties": {
177 "httpStatusCode": {
178 "format": "uint16",
179 "minimum": 0.0,
180 "type": [
181 "integer",
182 "null"
183 ]
184 }
185 },
186 "type": "object"
187 }
188 },
189 "required": [
190 "responseStreamConnectionFailed"
191 ],
192 "type": "object"
193 },
194 {
195 "additionalProperties": false,
196 "properties": {
197 "responseStreamDisconnected": {
198 "properties": {
199 "httpStatusCode": {
200 "format": "uint16",
201 "minimum": 0.0,
202 "type": [
203 "integer",
204 "null"
205 ]
206 }
207 },
208 "type": "object"
209 }
210 },
211 "required": [
212 "responseStreamDisconnected"
213 ],
214 "type": "object"
215 },
216 {
217 "additionalProperties": false,
218 "properties": {
219 "responseTooManyFailedAttempts": {
220 "properties": {
221 "httpStatusCode": {
222 "format": "uint16",
223 "minimum": 0.0,
224 "type": [
225 "integer",
226 "null"
227 ]
228 }
229 },
230 "type": "object"
231 }
232 },
233 "required": [
234 "responseTooManyFailedAttempts"
235 ],
236 "type": "object"
237 },
238 {
239 "additionalProperties": false,
240 "properties": {
241 "activeTurnNotSteerable": {
242 "properties": {
243 "turnKind": {
244 "$ref": "#/definitions/NonSteerableTurnKind"
245 }
246 },
247 "required": [
248 "turnKind"
249 ],
250 "type": "object"
251 }
252 },
253 "required": [
254 "activeTurnNotSteerable"
255 ],
256 "type": "object"
257 },
258 {
259 "type": [
260 "string",
261 "object"
262 ]
263 }
264 ]
265 },
266 "CollabAgentState": {
267 "properties": {
268 "message": {
269 "type": [
270 "string",
271 "null"
272 ]
273 },
274 "status": {
275 "$ref": "#/definitions/CollabAgentStatus"
276 }
277 },
278 "required": [
279 "status"
280 ],
281 "type": "object"
282 },
283 "CollabAgentStatus": {
284 "enum": [
285 "pendingInit",
286 "running",
287 "interrupted",
288 "completed",
289 "errored",
290 "shutdown",
291 "notFound"
292 ],
293 "type": "string"
294 },
295 "CollabAgentTool": {
296 "enum": [
297 "spawnAgent",
298 "sendInput",
299 "resumeAgent",
300 "wait",
301 "closeAgent",
302 "sendMessage",
303 "followupTask",
304 "interruptAgent",
305 "listAgents"
306 ],
307 "type": "string"
308 },
309 "CollabAgentToolCallStatus": {
310 "enum": [
311 "inProgress",
312 "completed",
313 "failed",
314 "interrupted"
315 ],
316 "type": "string"
317 },
318 "CommandAction": {
319 "oneOf": [
320 {
321 "properties": {
322 "command": {
323 "type": "string"
324 },
325 "name": {
326 "type": "string"
327 },
328 "path": {
329 "$ref": "#/definitions/LegacyAppPathString"
330 },
331 "type": {
332 "enum": [
333 "read"
334 ],
335 "type": "string"
336 }
337 },
338 "required": [
339 "command",
340 "name",
341 "path",
342 "type"
343 ],
344 "type": "object"
345 },
346 {
347 "properties": {
348 "command": {
349 "type": "string"
350 },
351 "path": {
352 "type": [
353 "string",
354 "null"
355 ]
356 },
357 "type": {
358 "enum": [
359 "listFiles"
360 ],
361 "type": "string"
362 }
363 },
364 "required": [
365 "command",
366 "type"
367 ],
368 "type": "object"
369 },
370 {
371 "properties": {
372 "command": {
373 "type": "string"
374 },
375 "path": {
376 "type": [
377 "string",
378 "null"
379 ]
380 },
381 "query": {
382 "type": [
383 "string",
384 "null"
385 ]
386 },
387 "type": {
388 "enum": [
389 "search"
390 ],
391 "type": "string"
392 }
393 },
394 "required": [
395 "command",
396 "type"
397 ],
398 "type": "object"
399 },
400 {
401 "properties": {
402 "command": {
403 "type": "string"
404 },
405 "type": {
406 "enum": [
407 "unknown"
408 ],
409 "type": "string"
410 }
411 },
412 "required": [
413 "command",
414 "type"
415 ],
416 "type": "object"
417 }
418 ]
419 },
420 "CommandExecutionSource": {
421 "enum": [
422 "agent",
423 "userShell",
424 "unifiedExecStartup",
425 "unifiedExecInteraction"
426 ],
427 "type": "string"
428 },
429 "CommandExecutionStatus": {
430 "enum": [
431 "inProgress",
432 "completed",
433 "failed",
434 "declined"
435 ],
436 "type": "string"
437 },
438 "DynamicToolCallOutputContentItem": {
439 "oneOf": [
440 {
441 "properties": {
442 "text": {
443 "type": "string"
444 },
445 "type": {
446 "enum": [
447 "inputText"
448 ],
449 "type": "string"
450 }
451 },
452 "required": [
453 "text",
454 "type"
455 ],
456 "type": "object"
457 },
458 {
459 "properties": {
460 "imageUrl": {
461 "type": "string"
462 },
463 "type": {
464 "enum": [
465 "inputImage"
466 ],
467 "type": "string"
468 }
469 },
470 "required": [
471 "imageUrl",
472 "type"
473 ],
474 "type": "object"
475 },
476 {
477 "properties": {
478 "audioUrl": {
479 "type": "string"
480 },
481 "type": {
482 "enum": [
483 "inputAudio"
484 ],
485 "type": "string"
486 }
487 },
488 "required": [
489 "audioUrl",
490 "type"
491 ],
492 "type": "object"
493 }
494 ]
495 },
496 "DynamicToolCallStatus": {
497 "enum": [
498 "inProgress",
499 "completed",
500 "failed"
501 ],
502 "type": "string"
503 },
504 "FileUpdateChange": {
505 "properties": {
506 "diff": {
507 "type": "string"
508 },
509 "kind": {
510 "$ref": "#/definitions/PatchChangeKind"
511 },
512 "path": {
513 "type": "string"
514 }
515 },
516 "required": [
517 "diff",
518 "kind",
519 "path"
520 ],
521 "type": "object"
522 },
523 "FunctionCallOutputBody": {
524 "anyOf": [
525 {
526 "type": "string"
527 },
528 {
529 "items": {
530 "$ref": "#/definitions/FunctionCallOutputContentItem"
531 },
532 "type": "array"
533 }
534 ]
535 },
536 "FunctionCallOutputContentItem": {
537 "oneOf": [
538 {
539 "properties": {
540 "text": {
541 "type": "string"
542 },
543 "type": {
544 "enum": [
545 "input_text"
546 ],
547 "type": "string"
548 }
549 },
550 "required": [
551 "text",
552 "type"
553 ],
554 "type": "object"
555 },
556 {
557 "anyOf": [
558 {
559 "properties": {
560 "image_url": {
561 "type": "string"
562 }
563 },
564 "required": [
565 "image_url"
566 ],
567 "type": "object"
568 },
569 {
570 "properties": {
571 "file_id": {
572 "type": "string"
573 }
574 },
575 "required": [
576 "file_id"
577 ],
578 "type": "object"
579 }
580 ],
581 "properties": {
582 "detail": {
583 "anyOf": [
584 {
585 "$ref": "#/definitions/ImageDetail"
586 },
587 {
588 "type": "null"
589 }
590 ]
591 },
592 "type": {
593 "enum": [
594 "input_image"
595 ],
596 "type": "string"
597 }
598 },
599 "required": [
600 "type"
601 ],
602 "type": "object"
603 },
604 {
605 "properties": {
606 "audio_url": {
607 "type": "string"
608 },
609 "type": {
610 "enum": [
611 "input_audio"
612 ],
613 "type": "string"
614 }
615 },
616 "required": [
617 "audio_url",
618 "type"
619 ],
620 "type": "object"
621 },
622 {
623 "properties": {
624 "encrypted_content": {
625 "type": "string"
626 },
627 "type": {
628 "enum": [
629 "encrypted_content"
630 ],
631 "type": "string"
632 }
633 },
634 "required": [
635 "encrypted_content",
636 "type"
637 ],
638 "type": "object"
639 }
640 ]
641 },
642 "GitInfo": {
643 "properties": {
644 "branch": {
645 "type": [
646 "string",
647 "null"
648 ]
649 },
650 "originUrl": {
651 "type": [
652 "string",
653 "null"
654 ]
655 },
656 "sha": {
657 "type": [
658 "string",
659 "null"
660 ]
661 }
662 },
663 "type": "object"
664 },
665 "HookPromptFragment": {
666 "properties": {
667 "hookRunId": {
668 "type": "string"
669 },
670 "text": {
671 "type": "string"
672 }
673 },
674 "required": [
675 "hookRunId",
676 "text"
677 ],
678 "type": "object"
679 },
680 "ImageDetail": {
681 "enum": [
682 "auto",
683 "low",
684 "high",
685 "original"
686 ],
687 "type": "string"
688 },
689 "ImageGenerationFailure": {
690 "oneOf": [
691 {
692 "properties": {
693 "limitId": {
694 "type": "string"
695 },
696 "resetsAt": {
697 "format": "int64",
698 "type": [
699 "integer",
700 "null"
701 ]
702 },
703 "type": {
704 "enum": [
705 "usageLimitExceeded"
706 ],
707 "type": "string"
708 }
709 },
710 "required": [
711 "limitId",
712 "type"
713 ],
714 "type": "object"
715 }
716 ]
717 },
718 "ImageGenerationInputImage": {
719 "properties": {
720 "path": {
721 "$ref": "#/definitions/AbsolutePathBuf"
722 },
723 "sha256": {
724 "type": "string"
725 }
726 },
727 "required": [
728 "path",
729 "sha256"
730 ],
731 "type": "object"
732 },
733 "LegacyAppPathString": {
734 "type": "string"
735 },
736 "McpAppDisplayMode": {
737 "enum": [
738 "inline",
739 "fullscreen"
740 ],
741 "type": "string"
742 },
743 "McpAppUi": {
744 "properties": {
745 "preferredModelDisplayMode": {
746 "$ref": "#/definitions/McpAppDisplayMode"
747 },
748 "resourceUri": {
749 "type": "string"
750 }
751 },
752 "required": [
753 "preferredModelDisplayMode",
754 "resourceUri"
755 ],
756 "type": "object"
757 },
758 "McpToolCallAppContext": {
759 "properties": {
760 "actionName": {
761 "type": [
762 "string",
763 "null"
764 ]
765 },
766 "appName": {
767 "type": [
768 "string",
769 "null"
770 ]
771 },
772 "connectorId": {
773 "type": "string"
774 },
775 "linkId": {
776 "type": [
777 "string",
778 "null"
779 ]
780 },
781 "resourceUri": {
782 "type": [
783 "string",
784 "null"
785 ]
786 }
787 },
788 "required": [
789 "connectorId"
790 ],
791 "type": "object"
792 },
793 "McpToolCallError": {
794 "properties": {
795 "message": {
796 "type": "string"
797 }
798 },
799 "required": [
800 "message"
801 ],
802 "type": "object"
803 },
804 "McpToolCallResult": {
805 "properties": {
806 "_meta": true,
807 "content": {
808 "items": true,
809 "type": "array"
810 },
811 "structuredContent": true
812 },
813 "required": [
814 "content"
815 ],
816 "type": "object"
817 },
818 "McpToolCallStatus": {
819 "enum": [
820 "inProgress",
821 "completed",
822 "failed"
823 ],
824 "type": "string"
825 },
826 "MemoryCitation": {
827 "properties": {
828 "entries": {
829 "items": {
830 "$ref": "#/definitions/MemoryCitationEntry"
831 },
832 "type": "array"
833 },
834 "threadIds": {
835 "items": {
836 "type": "string"
837 },
838 "type": "array"
839 }
840 },
841 "required": [
842 "entries",
843 "threadIds"
844 ],
845 "type": "object"
846 },
847 "MemoryCitationEntry": {
848 "properties": {
849 "lineEnd": {
850 "format": "uint32",
851 "minimum": 0.0,
852 "type": "integer"
853 },
854 "lineStart": {
855 "format": "uint32",
856 "minimum": 0.0,
857 "type": "integer"
858 },
859 "note": {
860 "type": "string"
861 },
862 "path": {
863 "type": "string"
864 }
865 },
866 "required": [
867 "lineEnd",
868 "lineStart",
869 "note",
870 "path"
871 ],
872 "type": "object"
873 },
874 "MessagePhase": {
875 "oneOf": [
876 {
877 "enum": [
878 "commentary"
879 ],
880 "type": "string"
881 },
882 {
883 "enum": [
884 "partial_answer"
885 ],
886 "type": "string"
887 },
888 {
889 "enum": [
890 "final_answer"
891 ],
892 "type": "string"
893 }
894 ]
895 },
896 "MisalignmentErrorDetails": {
897 "properties": {
898 "detailedExplanation": {
899 "type": [
900 "string",
901 "null"
902 ]
903 },
904 "errorType": {
905 "type": [
906 "string",
907 "null"
908 ]
909 },
910 "reviewTarget": {
911 "type": [
912 "string",
913 "null"
914 ]
915 },
916 "steer": {
917 "anyOf": [
918 {
919 "$ref": "#/definitions/MisalignmentSteer"
920 },
921 {
922 "type": "null"
923 }
924 ]
925 }
926 },
927 "type": "object"
928 },
929 "MisalignmentSteer": {
930 "properties": {
931 "message": {
932 "type": "string"
933 }
934 },
935 "required": [
936 "message"
937 ],
938 "type": "object"
939 },
940 "MultiAgentMode": {
941 "oneOf": [
942 {
943 "enum": [
944 "explicitRequestOnly",
945 "proactive"
946 ],
947 "type": "string"
948 },
949 {
950 "additionalProperties": false,
951 "properties": {
952 "custom": {
953 "type": "string"
954 }
955 },
956 "required": [
957 "custom"
958 ],
959 "type": "object"
960 }
961 ]
962 },
963 "NetworkAccess": {
964 "enum": [
965 "restricted",
966 "enabled"
967 ],
968 "type": "string"
969 },
970 "NonSteerableTurnKind": {
971 "enum": [
972 "review",
973 "compact"
974 ],
975 "type": "string"
976 },
977 "PatchApplyStatus": {
978 "enum": [
979 "inProgress",
980 "completed",
981 "failed",
982 "declined"
983 ],
984 "type": "string"
985 },
986 "PatchChangeKind": {
987 "oneOf": [
988 {
989 "properties": {
990 "type": {
991 "enum": [
992 "add"
993 ],
994 "type": "string"
995 }
996 },
997 "required": [
998 "type"
999 ],
1000 "type": "object"
1001 },
1002 {
1003 "properties": {
1004 "type": {
1005 "enum": [
1006 "delete"
1007 ],
1008 "type": "string"
1009 }
1010 },
1011 "required": [
1012 "type"
1013 ],
1014 "type": "object"
1015 },
1016 {
1017 "properties": {
1018 "move_path": {
1019 "type": [
1020 "string",
1021 "null"
1022 ]
1023 },
1024 "type": {
1025 "enum": [
1026 "update"
1027 ],
1028 "type": "string"
1029 }
1030 },
1031 "required": [
1032 "type"
1033 ],
1034 "type": "object"
1035 }
1036 ]
1037 },
1038 "ReasoningEffort": {
1039 "minLength": 1,
1040 "type": "string"
1041 },
1042 "SandboxPolicy": {
1043 "oneOf": [
1044 {
1045 "properties": {
1046 "type": {
1047 "enum": [
1048 "dangerFullAccess"
1049 ],
1050 "type": "string"
1051 }
1052 },
1053 "required": [
1054 "type"
1055 ],
1056 "type": "object"
1057 },
1058 {
1059 "properties": {
1060 "networkAccess": {
1061 "default": false,
1062 "type": "boolean"
1063 },
1064 "type": {
1065 "enum": [
1066 "readOnly"
1067 ],
1068 "type": "string"
1069 }
1070 },
1071 "required": [
1072 "type"
1073 ],
1074 "type": "object"
1075 },
1076 {
1077 "properties": {
1078 "networkAccess": {
1079 "allOf": [
1080 {
1081 "$ref": "#/definitions/NetworkAccess"
1082 }
1083 ],
1084 "default": "restricted"
1085 },
1086 "type": {
1087 "enum": [
1088 "externalSandbox"
1089 ],
1090 "type": "string"
1091 }
1092 },
1093 "required": [
1094 "type"
1095 ],
1096 "type": "object"
1097 },
1098 {
1099 "properties": {
1100 "excludeSlashTmp": {
1101 "default": false,
1102 "type": "boolean"
1103 },
1104 "excludeTmpdirEnvVar": {
1105 "default": false,
1106 "type": "boolean"
1107 },
1108 "networkAccess": {
1109 "default": false,
1110 "type": "boolean"
1111 },
1112 "type": {
1113 "enum": [
1114 "workspaceWrite"
1115 ],
1116 "type": "string"
1117 },
1118 "writableRoots": {
1119 "default": [],
1120 "items": {
1121 "$ref": "#/definitions/AbsolutePathBuf"
1122 },
1123 "type": "array"
1124 }
1125 },
1126 "required": [
1127 "type"
1128 ],
1129 "type": "object"
1130 }
1131 ]
1132 },
1133 "SessionSource": {
1134 "oneOf": [
1135 {
1136 "enum": [
1137 "cli",
1138 "vscode",
1139 "exec",
1140 "appServer",
1141 "unknown"
1142 ],
1143 "type": "string"
1144 },
1145 {
1146 "additionalProperties": false,
1147 "properties": {
1148 "custom": {
1149 "type": "string"
1150 }
1151 },
1152 "required": [
1153 "custom"
1154 ],
1155 "type": "object"
1156 },
1157 {
1158 "additionalProperties": false,
1159 "properties": {
1160 "subAgent": {
1161 "$ref": "#/definitions/SubAgentSource"
1162 }
1163 },
1164 "required": [
1165 "subAgent"
1166 ],
1167 "type": "object"
1168 }
1169 ]
1170 },
1171 "SubAgentActivityKind": {
1172 "enum": [
1173 "started",
1174 "interacted",
1175 "interrupted",
1176 "completed"
1177 ],
1178 "type": "string"
1179 },
1180 "SubAgentSource": {
1181 "oneOf": [
1182 {
1183 "enum": [
1184 "review",
1185 "compact",
1186 "memory_consolidation"
1187 ],
1188 "type": "string"
1189 },
1190 {
1191 "additionalProperties": false,
1192 "properties": {
1193 "thread_spawn": {
1194 "properties": {
1195 "agent_nickname": {
1196 "default": null,
1197 "type": [
1198 "string",
1199 "null"
1200 ]
1201 },
1202 "agent_path": {
1203 "anyOf": [
1204 {
1205 "$ref": "#/definitions/AgentPath"
1206 },
1207 {
1208 "type": "null"
1209 }
1210 ],
1211 "default": null
1212 },
1213 "agent_role": {
1214 "default": null,
1215 "type": [
1216 "string",
1217 "null"
1218 ]
1219 },
1220 "depth": {
1221 "format": "int32",
1222 "type": "integer"
1223 },
1224 "parent_thread_id": {
1225 "$ref": "#/definitions/ThreadId"
1226 }
1227 },
1228 "required": [
1229 "depth",
1230 "parent_thread_id"
1231 ],
1232 "type": "object"
1233 }
1234 },
1235 "required": [
1236 "thread_spawn"
1237 ],
1238 "type": "object"
1239 },
1240 {
1241 "additionalProperties": false,
1242 "properties": {
1243 "other": {
1244 "type": "string"
1245 }
1246 },
1247 "required": [
1248 "other"
1249 ],
1250 "type": "object"
1251 }
1252 ]
1253 },
1254 "TextElement": {
1255 "properties": {
1256 "byteRange": {
1257 "allOf": [
1258 {
1259 "$ref": "#/definitions/ByteRange"
1260 }
1261 ]
1262 },
1263 "placeholder": {
1264 "type": [
1265 "string",
1266 "null"
1267 ]
1268 }
1269 },
1270 "required": [
1271 "byteRange"
1272 ],
1273 "type": "object"
1274 },
1275 "Thread": {
1276 "properties": {
1277 "agentNickname": {
1278 "type": [
1279 "string",
1280 "null"
1281 ]
1282 },
1283 "agentRole": {
1284 "type": [
1285 "string",
1286 "null"
1287 ]
1288 },
1289 "canAcceptDirectInput": {
1290 "type": [
1291 "boolean",
1292 "null"
1293 ]
1294 },
1295 "cliVersion": {
1296 "type": "string"
1297 },
1298 "createdAt": {
1299 "format": "int64",
1300 "type": "integer"
1301 },
1302 "cwd": {
1303 "allOf": [
1304 {
1305 "$ref": "#/definitions/AbsolutePathBuf"
1306 }
1307 ]
1308 },
1309 "daybreakEnabled": {
1310 "type": [
1311 "boolean",
1312 "null"
1313 ]
1314 },
1315 "environments": {
1316 "default": null,
1317 "items": {
1318 "$ref": "#/definitions/ThreadEnvironment"
1319 },
1320 "type": [
1321 "array",
1322 "null"
1323 ]
1324 },
1325 "ephemeral": {
1326 "type": "boolean"
1327 },
1328 "extra": {
1329 "anyOf": [
1330 {
1331 "$ref": "#/definitions/ThreadExtra"
1332 },
1333 {
1334 "type": "null"
1335 }
1336 ]
1337 },
1338 "forkedFromId": {
1339 "type": [
1340 "string",
1341 "null"
1342 ]
1343 },
1344 "gitInfo": {
1345 "anyOf": [
1346 {
1347 "$ref": "#/definitions/GitInfo"
1348 },
1349 {
1350 "type": "null"
1351 }
1352 ]
1353 },
1354 "historyMode": {
1355 "allOf": [
1356 {
1357 "$ref": "#/definitions/ThreadHistoryMode"
1358 }
1359 ],
1360 "default": "legacy"
1361 },
1362 "id": {
1363 "type": "string"
1364 },
1365 "model": {
1366 "type": [
1367 "string",
1368 "null"
1369 ]
1370 },
1371 "modelProvider": {
1372 "type": "string"
1373 },
1374 "name": {
1375 "type": [
1376 "string",
1377 "null"
1378 ]
1379 },
1380 "originator": {
1381 "type": [
1382 "string",
1383 "null"
1384 ]
1385 },
1386 "parentThreadId": {
1387 "type": [
1388 "string",
1389 "null"
1390 ]
1391 },
1392 "path": {
1393 "type": [
1394 "string",
1395 "null"
1396 ]
1397 },
1398 "preview": {
1399 "type": "string"
1400 },
1401 "projectId": {
1402 "type": [
1403 "string",
1404 "null"
1405 ]
1406 },
1407 "reasoningEffort": {
1408 "anyOf": [
1409 {
1410 "$ref": "#/definitions/ReasoningEffort"
1411 },
1412 {
1413 "type": "null"
1414 }
1415 ]
1416 },
1417 "recencyAt": {
1418 "format": "int64",
1419 "type": [
1420 "integer",
1421 "null"
1422 ]
1423 },
1424 "section": {
1425 "anyOf": [
1426 {
1427 "$ref": "#/definitions/ThreadSection"
1428 },
1429 {
1430 "type": "null"
1431 }
1432 ],
1433 "default": null
1434 },
1435 "sectionEnteredAt": {
1436 "default": null,
1437 "format": "int64",
1438 "type": [
1439 "integer",
1440 "null"
1441 ]
1442 },
1443 "sessionId": {
1444 "type": "string"
1445 },
1446 "source": {
1447 "allOf": [
1448 {
1449 "$ref": "#/definitions/SessionSource"
1450 }
1451 ]
1452 },
1453 "status": {
1454 "allOf": [
1455 {
1456 "$ref": "#/definitions/ThreadStatus"
1457 }
1458 ]
1459 },
1460 "threadSource": {
1461 "anyOf": [
1462 {
1463 "$ref": "#/definitions/ThreadSource"
1464 },
1465 {
1466 "type": "null"
1467 }
1468 ]
1469 },
1470 "turns": {
1471 "items": {
1472 "$ref": "#/definitions/Turn"
1473 },
1474 "type": "array"
1475 },
1476 "updatedAt": {
1477 "format": "int64",
1478 "type": "integer"
1479 }
1480 },
1481 "required": [
1482 "cliVersion",
1483 "createdAt",
1484 "cwd",
1485 "ephemeral",
1486 "id",
1487 "modelProvider",
1488 "preview",
1489 "projectId",
1490 "sessionId",
1491 "source",
1492 "status",
1493 "turns",
1494 "updatedAt"
1495 ],
1496 "type": "object"
1497 },
1498 "ThreadActiveFlag": {
1499 "enum": [
1500 "waitingOnApproval",
1501 "waitingOnUserInput"
1502 ],
1503 "type": "string"
1504 },
1505 "ThreadEnvironment": {
1506 "properties": {
1507 "cwd": {
1508 "$ref": "#/definitions/LegacyAppPathString"
1509 },
1510 "environmentId": {
1511 "type": "string"
1512 },
1513 "runtimeWorkspaceRoots": {
1514 "items": {
1515 "$ref": "#/definitions/LegacyAppPathString"
1516 },
1517 "type": "array"
1518 }
1519 },
1520 "required": [
1521 "cwd",
1522 "environmentId",
1523 "runtimeWorkspaceRoots"
1524 ],
1525 "type": "object"
1526 },
1527 "ThreadExtra": {
1528 "type": "object"
1529 },
1530 "ThreadHistoryMode": {
1531 "enum": [
1532 "legacy",
1533 "paginated"
1534 ],
1535 "type": "string"
1536 },
1537 "ThreadId": {
1538 "type": "string"
1539 },
1540 "ThreadItem": {
1541 "oneOf": [
1542 {
1543 "properties": {
1544 "clientId": {
1545 "type": [
1546 "string",
1547 "null"
1548 ]
1549 },
1550 "content": {
1551 "items": {
1552 "$ref": "#/definitions/UserInput"
1553 },
1554 "type": "array"
1555 },
1556 "id": {
1557 "type": "string"
1558 },
1559 "type": {
1560 "enum": [
1561 "userMessage"
1562 ],
1563 "type": "string"
1564 }
1565 },
1566 "required": [
1567 "content",
1568 "id",
1569 "type"
1570 ],
1571 "type": "object"
1572 },
1573 {
1574 "properties": {
1575 "fragments": {
1576 "items": {
1577 "$ref": "#/definitions/HookPromptFragment"
1578 },
1579 "type": "array"
1580 },
1581 "id": {
1582 "type": "string"
1583 },
1584 "type": {
1585 "enum": [
1586 "hookPrompt"
1587 ],
1588 "type": "string"
1589 }
1590 },
1591 "required": [
1592 "fragments",
1593 "id",
1594 "type"
1595 ],
1596 "type": "object"
1597 },
1598 {
1599 "properties": {
1600 "delivery": {
1601 "anyOf": [
1602 {
1603 "$ref": "#/definitions/AgentMessageDelivery"
1604 },
1605 {
1606 "type": "null"
1607 }
1608 ],
1609 "default": null
1610 },
1611 "id": {
1612 "type": "string"
1613 },
1614 "memoryCitation": {
1615 "anyOf": [
1616 {
1617 "$ref": "#/definitions/MemoryCitation"
1618 },
1619 {
1620 "type": "null"
1621 }
1622 ],
1623 "default": null
1624 },
1625 "phase": {
1626 "anyOf": [
1627 {
1628 "$ref": "#/definitions/MessagePhase"
1629 },
1630 {
1631 "type": "null"
1632 }
1633 ],
1634 "default": null
1635 },
1636 "questions": {
1637 "default": null,
1638 "items": {
1639 "$ref": "#/definitions/AsyncUserInputQuestion"
1640 },
1641 "type": [
1642 "array",
1643 "null"
1644 ]
1645 },
1646 "text": {
1647 "type": "string"
1648 },
1649 "type": {
1650 "enum": [
1651 "agentMessage"
1652 ],
1653 "type": "string"
1654 }
1655 },
1656 "required": [
1657 "id",
1658 "text",
1659 "type"
1660 ],
1661 "type": "object"
1662 },
1663 {
1664 "properties": {
1665 "id": {
1666 "type": "string"
1667 },
1668 "name": {
1669 "type": "string"
1670 },
1671 "namespace": {
1672 "type": [
1673 "string",
1674 "null"
1675 ]
1676 },
1677 "output": {
1678 "$ref": "#/definitions/FunctionCallOutputBody"
1679 },
1680 "type": {
1681 "enum": [
1682 "functionCallOutput"
1683 ],
1684 "type": "string"
1685 }
1686 },
1687 "required": [
1688 "id",
1689 "name",
1690 "output",
1691 "type"
1692 ],
1693 "type": "object"
1694 },
1695 {
1696 "properties": {
1697 "id": {
1698 "type": "string"
1699 },
1700 "text": {
1701 "type": "string"
1702 },
1703 "type": {
1704 "enum": [
1705 "plan"
1706 ],
1707 "type": "string"
1708 }
1709 },
1710 "required": [
1711 "id",
1712 "text",
1713 "type"
1714 ],
1715 "type": "object"
1716 },
1717 {
1718 "properties": {
1719 "content": {
1720 "default": [],
1721 "items": {
1722 "type": "string"
1723 },
1724 "type": "array"
1725 },
1726 "id": {
1727 "type": "string"
1728 },
1729 "summary": {
1730 "default": [],
1731 "items": {
1732 "type": "string"
1733 },
1734 "type": "array"
1735 },
1736 "type": {
1737 "enum": [
1738 "reasoning"
1739 ],
1740 "type": "string"
1741 }
1742 },
1743 "required": [
1744 "id",
1745 "type"
1746 ],
1747 "type": "object"
1748 },
1749 {
1750 "properties": {
1751 "aggregatedOutput": {
1752 "type": [
1753 "string",
1754 "null"
1755 ]
1756 },
1757 "command": {
1758 "type": "string"
1759 },
1760 "commandActions": {
1761 "items": {
1762 "$ref": "#/definitions/CommandAction"
1763 },
1764 "type": "array"
1765 },
1766 "cwd": {
1767 "allOf": [
1768 {
1769 "$ref": "#/definitions/LegacyAppPathString"
1770 }
1771 ]
1772 },
1773 "durationMs": {
1774 "format": "int64",
1775 "type": [
1776 "integer",
1777 "null"
1778 ]
1779 },
1780 "exitCode": {
1781 "format": "int32",
1782 "type": [
1783 "integer",
1784 "null"
1785 ]
1786 },
1787 "id": {
1788 "type": "string"
1789 },
1790 "pluginId": {
1791 "default": null,
1792 "type": [
1793 "string",
1794 "null"
1795 ]
1796 },
1797 "processId": {
1798 "type": [
1799 "string",
1800 "null"
1801 ]
1802 },
1803 "scriptPath": {
1804 "default": null,
1805 "type": [
1806 "string",
1807 "null"
1808 ]
1809 },
1810 "source": {
1811 "allOf": [
1812 {
1813 "$ref": "#/definitions/CommandExecutionSource"
1814 }
1815 ],
1816 "default": "agent"
1817 },
1818 "status": {
1819 "$ref": "#/definitions/CommandExecutionStatus"
1820 },
1821 "type": {
1822 "enum": [
1823 "commandExecution"
1824 ],
1825 "type": "string"
1826 }
1827 },
1828 "required": [
1829 "command",
1830 "commandActions",
1831 "cwd",
1832 "id",
1833 "status",
1834 "type"
1835 ],
1836 "type": "object"
1837 },
1838 {
1839 "properties": {
1840 "changes": {
1841 "items": {
1842 "$ref": "#/definitions/FileUpdateChange"
1843 },
1844 "type": "array"
1845 },
1846 "id": {
1847 "type": "string"
1848 },
1849 "status": {
1850 "$ref": "#/definitions/PatchApplyStatus"
1851 },
1852 "type": {
1853 "enum": [
1854 "fileChange"
1855 ],
1856 "type": "string"
1857 }
1858 },
1859 "required": [
1860 "changes",
1861 "id",
1862 "status",
1863 "type"
1864 ],
1865 "type": "object"
1866 },
1867 {
1868 "properties": {
1869 "appContext": {
1870 "anyOf": [
1871 {
1872 "$ref": "#/definitions/McpToolCallAppContext"
1873 },
1874 {
1875 "type": "null"
1876 }
1877 ]
1878 },
1879 "arguments": true,
1880 "durationMs": {
1881 "format": "int64",
1882 "type": [
1883 "integer",
1884 "null"
1885 ]
1886 },
1887 "error": {
1888 "anyOf": [
1889 {
1890 "$ref": "#/definitions/McpToolCallError"
1891 },
1892 {
1893 "type": "null"
1894 }
1895 ]
1896 },
1897 "id": {
1898 "type": "string"
1899 },
1900 "mcpAppResourceUri": {
1901 "type": [
1902 "string",
1903 "null"
1904 ]
1905 },
1906 "mcpAppUi": {
1907 "anyOf": [
1908 {
1909 "$ref": "#/definitions/McpAppUi"
1910 },
1911 {
1912 "type": "null"
1913 }
1914 ]
1915 },
1916 "pluginId": {
1917 "type": [
1918 "string",
1919 "null"
1920 ]
1921 },
1922 "readOnlyHint": {
1923 "type": [
1924 "boolean",
1925 "null"
1926 ]
1927 },
1928 "result": {
1929 "anyOf": [
1930 {
1931 "$ref": "#/definitions/McpToolCallResult"
1932 },
1933 {
1934 "type": "null"
1935 }
1936 ]
1937 },
1938 "server": {
1939 "type": "string"
1940 },
1941 "status": {
1942 "$ref": "#/definitions/McpToolCallStatus"
1943 },
1944 "tool": {
1945 "type": "string"
1946 },
1947 "type": {
1948 "enum": [
1949 "mcpToolCall"
1950 ],
1951 "type": "string"
1952 }
1953 },
1954 "required": [
1955 "arguments",
1956 "id",
1957 "server",
1958 "status",
1959 "tool",
1960 "type"
1961 ],
1962 "type": "object"
1963 },
1964 {
1965 "properties": {
1966 "arguments": true,
1967 "contentItems": {
1968 "items": {
1969 "$ref": "#/definitions/DynamicToolCallOutputContentItem"
1970 },
1971 "type": [
1972 "array",
1973 "null"
1974 ]
1975 },
1976 "durationMs": {
1977 "format": "int64",
1978 "type": [
1979 "integer",
1980 "null"
1981 ]
1982 },
1983 "id": {
1984 "type": "string"
1985 },
1986 "namespace": {
1987 "type": [
1988 "string",
1989 "null"
1990 ]
1991 },
1992 "status": {
1993 "$ref": "#/definitions/DynamicToolCallStatus"
1994 },
1995 "success": {
1996 "type": [
1997 "boolean",
1998 "null"
1999 ]
2000 },
2001 "tool": {
2002 "type": "string"
2003 },
2004 "type": {
2005 "enum": [
2006 "dynamicToolCall"
2007 ],
2008 "type": "string"
2009 }
2010 },
2011 "required": [
2012 "arguments",
2013 "id",
2014 "status",
2015 "tool",
2016 "type"
2017 ],
2018 "type": "object"
2019 },
2020 {
2021 "properties": {
2022 "agentsStates": {
2023 "additionalProperties": {
2024 "$ref": "#/definitions/CollabAgentState"
2025 },
2026 "type": "object"
2027 },
2028 "id": {
2029 "type": "string"
2030 },
2031 "model": {
2032 "type": [
2033 "string",
2034 "null"
2035 ]
2036 },
2037 "prompt": {
2038 "type": [
2039 "string",
2040 "null"
2041 ]
2042 },
2043 "reasoningEffort": {
2044 "anyOf": [
2045 {
2046 "$ref": "#/definitions/ReasoningEffort"
2047 },
2048 {
2049 "type": "null"
2050 }
2051 ]
2052 },
2053 "receiverThreadIds": {
2054 "items": {
2055 "type": "string"
2056 },
2057 "type": "array"
2058 },
2059 "senderThreadId": {
2060 "type": "string"
2061 },
2062 "status": {
2063 "allOf": [
2064 {
2065 "$ref": "#/definitions/CollabAgentToolCallStatus"
2066 }
2067 ]
2068 },
2069 "tool": {
2070 "allOf": [
2071 {
2072 "$ref": "#/definitions/CollabAgentTool"
2073 }
2074 ]
2075 },
2076 "type": {
2077 "enum": [
2078 "collabAgentToolCall"
2079 ],
2080 "type": "string"
2081 }
2082 },
2083 "required": [
2084 "agentsStates",
2085 "id",
2086 "receiverThreadIds",
2087 "senderThreadId",
2088 "status",
2089 "tool",
2090 "type"
2091 ],
2092 "type": "object"
2093 },
2094 {
2095 "properties": {
2096 "agentPath": {
2097 "type": "string"
2098 },
2099 "agentThreadId": {
2100 "type": "string"
2101 },
2102 "id": {
2103 "type": "string"
2104 },
2105 "kind": {
2106 "$ref": "#/definitions/SubAgentActivityKind"
2107 },
2108 "model": {
2109 "type": [
2110 "string",
2111 "null"
2112 ]
2113 },
2114 "reasoningEffort": {
2115 "anyOf": [
2116 {
2117 "$ref": "#/definitions/ReasoningEffort"
2118 },
2119 {
2120 "type": "null"
2121 }
2122 ]
2123 },
2124 "type": {
2125 "enum": [
2126 "subAgentActivity"
2127 ],
2128 "type": "string"
2129 }
2130 },
2131 "required": [
2132 "agentPath",
2133 "agentThreadId",
2134 "id",
2135 "kind",
2136 "type"
2137 ],
2138 "type": "object"
2139 },
2140 {
2141 "properties": {
2142 "action": {
2143 "anyOf": [
2144 {
2145 "$ref": "#/definitions/WebSearchAction"
2146 },
2147 {
2148 "type": "null"
2149 }
2150 ]
2151 },
2152 "id": {
2153 "type": "string"
2154 },
2155 "query": {
2156 "type": "string"
2157 },
2158 "results": {
2159 "default": null,
2160 "items": true,
2161 "type": [
2162 "array",
2163 "null"
2164 ]
2165 },
2166 "type": {
2167 "enum": [
2168 "webSearch"
2169 ],
2170 "type": "string"
2171 }
2172 },
2173 "required": [
2174 "id",
2175 "query",
2176 "type"
2177 ],
2178 "type": "object"
2179 },
2180 {
2181 "properties": {
2182 "id": {
2183 "type": "string"
2184 },
2185 "path": {
2186 "$ref": "#/definitions/LegacyAppPathString"
2187 },
2188 "type": {
2189 "enum": [
2190 "imageView"
2191 ],
2192 "type": "string"
2193 }
2194 },
2195 "required": [
2196 "id",
2197 "path",
2198 "type"
2199 ],
2200 "type": "object"
2201 },
2202 {
2203 "properties": {
2204 "durationMs": {
2205 "format": "uint64",
2206 "minimum": 0.0,
2207 "type": "integer"
2208 },
2209 "id": {
2210 "type": "string"
2211 },
2212 "type": {
2213 "enum": [
2214 "sleep"
2215 ],
2216 "type": "string"
2217 }
2218 },
2219 "required": [
2220 "durationMs",
2221 "id",
2222 "type"
2223 ],
2224 "type": "object"
2225 },
2226 {
2227 "anyOf": [
2228 {
2229 "properties": {
2230 "fileId": {
2231 "type": "string"
2232 }
2233 },
2234 "required": [
2235 "fileId"
2236 ],
2237 "type": "object"
2238 },
2239 {
2240 "properties": {
2241 "result": {
2242 "type": "string"
2243 }
2244 },
2245 "required": [
2246 "result"
2247 ],
2248 "type": "object"
2249 }
2250 ],
2251 "properties": {
2252 "failure": {
2253 "anyOf": [
2254 {
2255 "$ref": "#/definitions/ImageGenerationFailure"
2256 },
2257 {
2258 "type": "null"
2259 }
2260 ],
2261 "default": null
2262 },
2263 "id": {
2264 "type": "string"
2265 },
2266 "inputImages": {
2267 "items": {
2268 "$ref": "#/definitions/ImageGenerationInputImage"
2269 },
2270 "type": "array"
2271 },
2272 "revisedPrompt": {
2273 "type": [
2274 "string",
2275 "null"
2276 ]
2277 },
2278 "savedPath": {
2279 "anyOf": [
2280 {
2281 "$ref": "#/definitions/AbsolutePathBuf"
2282 },
2283 {
2284 "type": "null"
2285 }
2286 ]
2287 },
2288 "status": {
2289 "type": "string"
2290 },
2291 "transparentBackground": {
2292 "default": null,
2293 "type": [
2294 "boolean",
2295 "null"
2296 ]
2297 },
2298 "type": {
2299 "enum": [
2300 "imageGeneration"
2301 ],
2302 "type": "string"
2303 }
2304 },
2305 "required": [
2306 "id",
2307 "status",
2308 "type"
2309 ],
2310 "type": "object"
2311 },
2312 {
2313 "properties": {
2314 "id": {
2315 "type": "string"
2316 },
2317 "review": {
2318 "type": "string"
2319 },
2320 "type": {
2321 "enum": [
2322 "enteredReviewMode"
2323 ],
2324 "type": "string"
2325 }
2326 },
2327 "required": [
2328 "id",
2329 "review",
2330 "type"
2331 ],
2332 "type": "object"
2333 },
2334 {
2335 "properties": {
2336 "id": {
2337 "type": "string"
2338 },
2339 "review": {
2340 "type": "string"
2341 },
2342 "type": {
2343 "enum": [
2344 "exitedReviewMode"
2345 ],
2346 "type": "string"
2347 }
2348 },
2349 "required": [
2350 "id",
2351 "review",
2352 "type"
2353 ],
2354 "type": "object"
2355 },
2356 {
2357 "properties": {
2358 "id": {
2359 "type": "string"
2360 },
2361 "type": {
2362 "enum": [
2363 "contextCompaction"
2364 ],
2365 "type": "string"
2366 }
2367 },
2368 "required": [
2369 "id",
2370 "type"
2371 ],
2372 "type": "object"
2373 }
2374 ]
2375 },
2376 "ThreadSection": {
2377 "properties": {
2378 "appearance": {
2379 "anyOf": [
2380 {
2381 "$ref": "#/definitions/ThreadSectionAppearance"
2382 },
2383 {
2384 "type": "null"
2385 }
2386 ],
2387 "default": null
2388 },
2389 "id": {
2390 "type": "string"
2391 },
2392 "name": {
2393 "type": "string"
2394 }
2395 },
2396 "required": [
2397 "id",
2398 "name"
2399 ],
2400 "type": "object"
2401 },
2402 "ThreadSectionAppearance": {
2403 "properties": {
2404 "color": {
2405 "type": [
2406 "string",
2407 "null"
2408 ]
2409 },
2410 "icon": {
2411 "type": [
2412 "string",
2413 "null"
2414 ]
2415 }
2416 },
2417 "type": "object"
2418 },
2419 "ThreadSource": {
2420 "type": "string"
2421 },
2422 "ThreadStatus": {
2423 "oneOf": [
2424 {
2425 "properties": {
2426 "type": {
2427 "enum": [
2428 "notLoaded"
2429 ],
2430 "type": "string"
2431 }
2432 },
2433 "required": [
2434 "type"
2435 ],
2436 "type": "object"
2437 },
2438 {
2439 "properties": {
2440 "type": {
2441 "enum": [
2442 "idle"
2443 ],
2444 "type": "string"
2445 }
2446 },
2447 "required": [
2448 "type"
2449 ],
2450 "type": "object"
2451 },
2452 {
2453 "properties": {
2454 "type": {
2455 "enum": [
2456 "systemError"
2457 ],
2458 "type": "string"
2459 }
2460 },
2461 "required": [
2462 "type"
2463 ],
2464 "type": "object"
2465 },
2466 {
2467 "properties": {
2468 "activeFlags": {
2469 "items": {
2470 "$ref": "#/definitions/ThreadActiveFlag"
2471 },
2472 "type": "array"
2473 },
2474 "type": {
2475 "enum": [
2476 "active"
2477 ],
2478 "type": "string"
2479 }
2480 },
2481 "required": [
2482 "activeFlags",
2483 "type"
2484 ],
2485 "type": "object"
2486 }
2487 ]
2488 },
2489 "Turn": {
2490 "properties": {
2491 "completedAt": {
2492 "format": "int64",
2493 "type": [
2494 "integer",
2495 "null"
2496 ]
2497 },
2498 "durationMs": {
2499 "format": "int64",
2500 "type": [
2501 "integer",
2502 "null"
2503 ]
2504 },
2505 "error": {
2506 "anyOf": [
2507 {
2508 "$ref": "#/definitions/TurnError"
2509 },
2510 {
2511 "type": "null"
2512 }
2513 ]
2514 },
2515 "id": {
2516 "type": "string"
2517 },
2518 "items": {
2519 "items": {
2520 "$ref": "#/definitions/ThreadItem"
2521 },
2522 "type": "array"
2523 },
2524 "itemsView": {
2525 "allOf": [
2526 {
2527 "$ref": "#/definitions/TurnItemsView"
2528 }
2529 ],
2530 "default": "full"
2531 },
2532 "rootTurnId": {
2533 "type": [
2534 "string",
2535 "null"
2536 ]
2537 },
2538 "startedAt": {
2539 "format": "int64",
2540 "type": [
2541 "integer",
2542 "null"
2543 ]
2544 },
2545 "status": {
2546 "$ref": "#/definitions/TurnStatus"
2547 }
2548 },
2549 "required": [
2550 "id",
2551 "items",
2552 "status"
2553 ],
2554 "type": "object"
2555 },
2556 "TurnError": {
2557 "properties": {
2558 "additionalDetails": {
2559 "default": null,
2560 "type": [
2561 "string",
2562 "null"
2563 ]
2564 },
2565 "codexErrorInfo": {
2566 "anyOf": [
2567 {
2568 "$ref": "#/definitions/CodexErrorInfo"
2569 },
2570 {
2571 "type": "null"
2572 }
2573 ]
2574 },
2575 "message": {
2576 "type": "string"
2577 },
2578 "misalignment": {
2579 "anyOf": [
2580 {
2581 "$ref": "#/definitions/MisalignmentErrorDetails"
2582 },
2583 {
2584 "type": "null"
2585 }
2586 ],
2587 "default": null
2588 }
2589 },
2590 "required": [
2591 "message"
2592 ],
2593 "type": "object"
2594 },
2595 "TurnItemsView": {
2596 "oneOf": [
2597 {
2598 "enum": [
2599 "notLoaded"
2600 ],
2601 "type": "string"
2602 },
2603 {
2604 "enum": [
2605 "summary"
2606 ],
2607 "type": "string"
2608 },
2609 {
2610 "enum": [
2611 "full"
2612 ],
2613 "type": "string"
2614 }
2615 ]
2616 },
2617 "TurnStatus": {
2618 "enum": [
2619 "completed",
2620 "interrupted",
2621 "failed",
2622 "inProgress"
2623 ],
2624 "type": "string"
2625 },
2626 "UserInput": {
2627 "oneOf": [
2628 {
2629 "properties": {
2630 "text": {
2631 "type": "string"
2632 },
2633 "text_elements": {
2634 "default": [],
2635 "items": {
2636 "$ref": "#/definitions/TextElement"
2637 },
2638 "type": "array"
2639 },
2640 "type": {
2641 "enum": [
2642 "text"
2643 ],
2644 "type": "string"
2645 }
2646 },
2647 "required": [
2648 "text",
2649 "type"
2650 ],
2651 "type": "object"
2652 },
2653 {
2654 "anyOf": [
2655 {
2656 "properties": {
2657 "url": {
2658 "type": "string"
2659 }
2660 },
2661 "required": [
2662 "url"
2663 ],
2664 "type": "object"
2665 },
2666 {
2667 "properties": {
2668 "fileId": {
2669 "type": "string"
2670 }
2671 },
2672 "required": [
2673 "fileId"
2674 ],
2675 "type": "object"
2676 }
2677 ],
2678 "properties": {
2679 "detail": {
2680 "anyOf": [
2681 {
2682 "$ref": "#/definitions/ImageDetail"
2683 },
2684 {
2685 "type": "null"
2686 }
2687 ],
2688 "default": null
2689 },
2690 "type": {
2691 "enum": [
2692 "image"
2693 ],
2694 "type": "string"
2695 }
2696 },
2697 "required": [
2698 "type"
2699 ],
2700 "type": "object"
2701 },
2702 {
2703 "properties": {
2704 "detail": {
2705 "anyOf": [
2706 {
2707 "$ref": "#/definitions/ImageDetail"
2708 },
2709 {
2710 "type": "null"
2711 }
2712 ],
2713 "default": null
2714 },
2715 "path": {
2716 "type": "string"
2717 },
2718 "type": {
2719 "enum": [
2720 "localImage"
2721 ],
2722 "type": "string"
2723 }
2724 },
2725 "required": [
2726 "path",
2727 "type"
2728 ],
2729 "type": "object"
2730 },
2731 {
2732 "properties": {
2733 "type": {
2734 "enum": [
2735 "audio"
2736 ],
2737 "type": "string"
2738 },
2739 "url": {
2740 "type": "string"
2741 }
2742 },
2743 "required": [
2744 "type",
2745 "url"
2746 ],
2747 "type": "object"
2748 },
2749 {
2750 "properties": {
2751 "path": {
2752 "type": "string"
2753 },
2754 "type": {
2755 "enum": [
2756 "localAudio"
2757 ],
2758 "type": "string"
2759 }
2760 },
2761 "required": [
2762 "path",
2763 "type"
2764 ],
2765 "type": "object"
2766 },
2767 {
2768 "properties": {
2769 "name": {
2770 "type": "string"
2771 },
2772 "path": {
2773 "type": "string"
2774 },
2775 "type": {
2776 "enum": [
2777 "skill"
2778 ],
2779 "type": "string"
2780 }
2781 },
2782 "required": [
2783 "name",
2784 "path",
2785 "type"
2786 ],
2787 "type": "object"
2788 },
2789 {
2790 "properties": {
2791 "name": {
2792 "type": "string"
2793 },
2794 "path": {
2795 "type": "string"
2796 },
2797 "type": {
2798 "enum": [
2799 "mention"
2800 ],
2801 "type": "string"
2802 }
2803 },
2804 "required": [
2805 "name",
2806 "path",
2807 "type"
2808 ],
2809 "type": "object"
2810 }
2811 ]
2812 },
2813 "WebSearchAction": {
2814 "oneOf": [
2815 {
2816 "properties": {
2817 "queries": {
2818 "items": {
2819 "type": "string"
2820 },
2821 "type": [
2822 "array",
2823 "null"
2824 ]
2825 },
2826 "query": {
2827 "type": [
2828 "string",
2829 "null"
2830 ]
2831 },
2832 "type": {
2833 "enum": [
2834 "search"
2835 ],
2836 "type": "string"
2837 }
2838 },
2839 "required": [
2840 "type"
2841 ],
2842 "type": "object"
2843 },
2844 {
2845 "properties": {
2846 "type": {
2847 "enum": [
2848 "openPage"
2849 ],
2850 "type": "string"
2851 },
2852 "url": {
2853 "type": [
2854 "string",
2855 "null"
2856 ]
2857 }
2858 },
2859 "required": [
2860 "type"
2861 ],
2862 "type": "object"
2863 },
2864 {
2865 "properties": {
2866 "pattern": {
2867 "type": [
2868 "string",
2869 "null"
2870 ]
2871 },
2872 "type": {
2873 "enum": [
2874 "findInPage"
2875 ],
2876 "type": "string"
2877 },
2878 "url": {
2879 "type": [
2880 "string",
2881 "null"
2882 ]
2883 }
2884 },
2885 "required": [
2886 "type"
2887 ],
2888 "type": "object"
2889 },
2890 {
2891 "properties": {
2892 "type": {
2893 "enum": [
2894 "other"
2895 ],
2896 "type": "string"
2897 }
2898 },
2899 "required": [
2900 "type"
2901 ],
2902 "type": "object"
2903 }
2904 ]
2905 }
2906 },
2907 "properties": {
2908 "activePermissionProfile": {
2909 "anyOf": [
2910 {
2911 "$ref": "#/definitions/ActivePermissionProfile"
2912 },
2913 {
2914 "type": "null"
2915 }
2916 ],
2917 "default": null
2918 },
2919 "approvalPolicy": {
2920 "$ref": "#/definitions/AskForApproval"
2921 },
2922 "approvalsReviewer": {
2923 "allOf": [
2924 {
2925 "$ref": "#/definitions/ApprovalsReviewer"
2926 }
2927 ]
2928 },
2929 "cwd": {
2930 "$ref": "#/definitions/AbsolutePathBuf"
2931 },
2932 "disabledPluginIds": {
2933 "default": [],
2934 "items": {
2935 "type": "string"
2936 },
2937 "type": "array"
2938 },
2939 "instructionSources": {
2940 "default": [],
2941 "items": {
2942 "$ref": "#/definitions/LegacyAppPathString"
2943 },
2944 "type": "array"
2945 },
2946 "model": {
2947 "type": "string"
2948 },
2949 "modelProvider": {
2950 "type": "string"
2951 },
2952 "multiAgentMode": {
2953 "allOf": [
2954 {
2955 "$ref": "#/definitions/MultiAgentMode"
2956 }
2957 ],
2958 "default": "explicitRequestOnly"
2959 },
2960 "reasoningEffort": {
2961 "anyOf": [
2962 {
2963 "$ref": "#/definitions/ReasoningEffort"
2964 },
2965 {
2966 "type": "null"
2967 }
2968 ]
2969 },
2970 "runtimeWorkspaceRoots": {
2971 "default": [],
2972 "items": {
2973 "$ref": "#/definitions/AbsolutePathBuf"
2974 },
2975 "type": "array"
2976 },
2977 "sandbox": {
2978 "allOf": [
2979 {
2980 "$ref": "#/definitions/SandboxPolicy"
2981 }
2982 ]
2983 },
2984 "serviceTier": {
2985 "type": [
2986 "string",
2987 "null"
2988 ]
2989 },
2990 "thread": {
2991 "$ref": "#/definitions/Thread"
2992 }
2993 },
2994 "required": [
2995 "approvalPolicy",
2996 "approvalsReviewer",
2997 "cwd",
2998 "model",
2999 "modelProvider",
3000 "sandbox",
3001 "thread"
3002 ],
3003 "type": "object"
3004}
3005