| 1 | { |
| 2 | "$schema": "http://json-schema.org/draft-07/schema#", |
| 3 | "definitions": { |
| 4 | "AbsolutePathBuf": { |
| 5 | "type": "string" |
| 6 | }, |
| 7 | "AgentMessageDelivery": { |
| 8 | "enum": [ |
| 9 | "async" |
| 10 | ], |
| 11 | "type": "string" |
| 12 | }, |
| 13 | "AsyncUserInputQuestion": { |
| 14 | "additionalProperties": false, |
| 15 | "properties": { |
| 16 | "options": { |
| 17 | "items": { |
| 18 | "type": "string" |
| 19 | }, |
| 20 | "type": [ |
| 21 | "array", |
| 22 | "null" |
| 23 | ] |
| 24 | } |
| 25 | }, |
| 26 | "required": [ |
| 27 | "title" |
| 28 | ], |
| 29 | "type": "object" |
| 30 | }, |
| 31 | "ByteRange": { |
| 32 | "properties": { |
| 33 | "end": { |
| 34 | "format": "uint", |
| 35 | "minimum": 0.0, |
| 36 | "type": "integer" |
| 37 | }, |
| 38 | "start": { |
| 39 | "format": "uint", |
| 40 | "minimum": 0.0, |
| 41 | "type": "integer" |
| 42 | } |
| 43 | }, |
| 44 | "required": [ |
| 45 | "end", |
| 46 | "start" |
| 47 | ], |
| 48 | "type": "object" |
| 49 | }, |
| 50 | "CodexErrorInfo": { |
| 51 | "anyOf": [ |
| 52 | { |
| 53 | "enum": [ |
| 54 | "contextWindowExceeded", |
| 55 | "sessionBudgetExceeded", |
| 56 | "usageLimitExceeded", |
| 57 | "rateLimitExceeded", |
| 58 | "flexUnavailable", |
| 59 | "serverOverloaded", |
| 60 | "modelNotFound", |
| 61 | "cyberPolicy", |
| 62 | "misalignmentPolicyViolation", |
| 63 | "tooManyDenials", |
| 64 | "internalServerError", |
| 65 | "unauthorized", |
| 66 | "badRequest", |
| 67 | "threadRollbackFailed", |
| 68 | "sandboxError", |
| 69 | "other" |
| 70 | ], |
| 71 | "type": "string" |
| 72 | }, |
| 73 | { |
| 74 | "additionalProperties": false, |
| 75 | "properties": { |
| 76 | "httpConnectionFailed": { |
| 77 | "properties": { |
| 78 | "httpStatusCode": { |
| 79 | "format": "uint16", |
| 80 | "minimum": 0.0, |
| 81 | "type": [ |
| 82 | "integer", |
| 83 | "null" |
| 84 | ] |
| 85 | } |
| 86 | }, |
| 87 | "type": "object" |
| 88 | } |
| 89 | }, |
| 90 | "required": [ |
| 91 | "httpConnectionFailed" |
| 92 | ], |
| 93 | "type": "object" |
| 94 | }, |
| 95 | { |
| 96 | "additionalProperties": false, |
| 97 | "properties": { |
| 98 | "responseStreamConnectionFailed": { |
| 99 | "properties": { |
| 100 | "httpStatusCode": { |
| 101 | "format": "uint16", |
| 102 | "minimum": 0.0, |
| 103 | "type": [ |
| 104 | "integer", |
| 105 | "null" |
| 106 | ] |
| 107 | } |
| 108 | }, |
| 109 | "type": "object" |
| 110 | } |
| 111 | }, |
| 112 | "required": [ |
| 113 | "responseStreamConnectionFailed" |
| 114 | ], |
| 115 | "type": "object" |
| 116 | }, |
| 117 | { |
| 118 | "additionalProperties": false, |
| 119 | "properties": { |
| 120 | "responseStreamDisconnected": { |
| 121 | "properties": { |
| 122 | "httpStatusCode": { |
| 123 | "format": "uint16", |
| 124 | "minimum": 0.0, |
| 125 | "type": [ |
| 126 | "integer", |
| 127 | "null" |
| 128 | ] |
| 129 | } |
| 130 | }, |
| 131 | "type": "object" |
| 132 | } |
| 133 | }, |
| 134 | "required": [ |
| 135 | "responseStreamDisconnected" |
| 136 | ], |
| 137 | "type": "object" |
| 138 | }, |
| 139 | { |
| 140 | "additionalProperties": false, |
| 141 | "properties": { |
| 142 | "responseTooManyFailedAttempts": { |
| 143 | "properties": { |
| 144 | "httpStatusCode": { |
| 145 | "format": "uint16", |
| 146 | "minimum": 0.0, |
| 147 | "type": [ |
| 148 | "integer", |
| 149 | "null" |
| 150 | ] |
| 151 | } |
| 152 | }, |
| 153 | "type": "object" |
| 154 | } |
| 155 | }, |
| 156 | "required": [ |
| 157 | "responseTooManyFailedAttempts" |
| 158 | ], |
| 159 | "type": "object" |
| 160 | }, |
| 161 | { |
| 162 | "additionalProperties": false, |
| 163 | "properties": { |
| 164 | "activeTurnNotSteerable": { |
| 165 | "properties": { |
| 166 | "turnKind": { |
| 167 | "$ref": "#/definitions/NonSteerableTurnKind" |
| 168 | } |
| 169 | }, |
| 170 | "required": [ |
| 171 | "turnKind" |
| 172 | ], |
| 173 | "type": "object" |
| 174 | } |
| 175 | }, |
| 176 | "required": [ |
| 177 | "activeTurnNotSteerable" |
| 178 | ], |
| 179 | "type": "object" |
| 180 | }, |
| 181 | { |
| 182 | "type": [ |
| 183 | "string", |
| 184 | "object" |
| 185 | ] |
| 186 | } |
| 187 | ] |
| 188 | }, |
| 189 | "CollabAgentState": { |
| 190 | "properties": { |
| 191 | "message": { |
| 192 | "type": [ |
| 193 | "string", |
| 194 | "null" |
| 195 | ] |
| 196 | }, |
| 197 | "status": { |
| 198 | "$ref": "#/definitions/CollabAgentStatus" |
| 199 | } |
| 200 | }, |
| 201 | "required": [ |
| 202 | "status" |
| 203 | ], |
| 204 | "type": "object" |
| 205 | }, |
| 206 | "CollabAgentStatus": { |
| 207 | "enum": [ |
| 208 | "pendingInit", |
| 209 | "running", |
| 210 | "interrupted", |
| 211 | "completed", |
| 212 | "errored", |
| 213 | "shutdown", |
| 214 | "notFound" |
| 215 | ], |
| 216 | "type": "string" |
| 217 | }, |
| 218 | "CollabAgentTool": { |
| 219 | "enum": [ |
| 220 | "spawnAgent", |
| 221 | "sendInput", |
| 222 | "resumeAgent", |
| 223 | "wait", |
| 224 | "closeAgent", |
| 225 | "sendMessage", |
| 226 | "followupTask", |
| 227 | "interruptAgent", |
| 228 | "listAgents" |
| 229 | ], |
| 230 | "type": "string" |
| 231 | }, |
| 232 | "CollabAgentToolCallStatus": { |
| 233 | "enum": [ |
| 234 | "inProgress", |
| 235 | "completed", |
| 236 | "failed", |
| 237 | "interrupted" |
| 238 | ], |
| 239 | "type": "string" |
| 240 | }, |
| 241 | "CommandAction": { |
| 242 | "oneOf": [ |
| 243 | { |
| 244 | "properties": { |
| 245 | "command": { |
| 246 | "type": "string" |
| 247 | }, |
| 248 | "name": { |
| 249 | "type": "string" |
| 250 | }, |
| 251 | "path": { |
| 252 | "$ref": "#/definitions/LegacyAppPathString" |
| 253 | }, |
| 254 | "type": { |
| 255 | "enum": [ |
| 256 | "read" |
| 257 | ], |
| 258 | "type": "string" |
| 259 | } |
| 260 | }, |
| 261 | "required": [ |
| 262 | "command", |
| 263 | "name", |
| 264 | "path", |
| 265 | "type" |
| 266 | ], |
| 267 | "type": "object" |
| 268 | }, |
| 269 | { |
| 270 | "properties": { |
| 271 | "command": { |
| 272 | "type": "string" |
| 273 | }, |
| 274 | "path": { |
| 275 | "type": [ |
| 276 | "string", |
| 277 | "null" |
| 278 | ] |
| 279 | }, |
| 280 | "type": { |
| 281 | "enum": [ |
| 282 | "listFiles" |
| 283 | ], |
| 284 | "type": "string" |
| 285 | } |
| 286 | }, |
| 287 | "required": [ |
| 288 | "command", |
| 289 | "type" |
| 290 | ], |
| 291 | "type": "object" |
| 292 | }, |
| 293 | { |
| 294 | "properties": { |
| 295 | "command": { |
| 296 | "type": "string" |
| 297 | }, |
| 298 | "path": { |
| 299 | "type": [ |
| 300 | "string", |
| 301 | "null" |
| 302 | ] |
| 303 | }, |
| 304 | "query": { |
| 305 | "type": [ |
| 306 | "string", |
| 307 | "null" |
| 308 | ] |
| 309 | }, |
| 310 | "type": { |
| 311 | "enum": [ |
| 312 | "search" |
| 313 | ], |
| 314 | "type": "string" |
| 315 | } |
| 316 | }, |
| 317 | "required": [ |
| 318 | "command", |
| 319 | "type" |
| 320 | ], |
| 321 | "type": "object" |
| 322 | }, |
| 323 | { |
| 324 | "properties": { |
| 325 | "command": { |
| 326 | "type": "string" |
| 327 | }, |
| 328 | "type": { |
| 329 | "enum": [ |
| 330 | "unknown" |
| 331 | ], |
| 332 | "type": "string" |
| 333 | } |
| 334 | }, |
| 335 | "required": [ |
| 336 | "command", |
| 337 | "type" |
| 338 | ], |
| 339 | "type": "object" |
| 340 | } |
| 341 | ] |
| 342 | }, |
| 343 | "CommandExecutionSource": { |
| 344 | "enum": [ |
| 345 | "agent", |
| 346 | "userShell", |
| 347 | "unifiedExecStartup", |
| 348 | "unifiedExecInteraction" |
| 349 | ], |
| 350 | "type": "string" |
| 351 | }, |
| 352 | "CommandExecutionStatus": { |
| 353 | "enum": [ |
| 354 | "inProgress", |
| 355 | "completed", |
| 356 | "failed", |
| 357 | "declined" |
| 358 | ], |
| 359 | "type": "string" |
| 360 | }, |
| 361 | "DynamicToolCallOutputContentItem": { |
| 362 | "oneOf": [ |
| 363 | { |
| 364 | "properties": { |
| 365 | "text": { |
| 366 | "type": "string" |
| 367 | }, |
| 368 | "type": { |
| 369 | "enum": [ |
| 370 | "inputText" |
| 371 | ], |
| 372 | "type": "string" |
| 373 | } |
| 374 | }, |
| 375 | "required": [ |
| 376 | "text", |
| 377 | "type" |
| 378 | ], |
| 379 | "type": "object" |
| 380 | }, |
| 381 | { |
| 382 | "properties": { |
| 383 | "imageUrl": { |
| 384 | "type": "string" |
| 385 | }, |
| 386 | "type": { |
| 387 | "enum": [ |
| 388 | "inputImage" |
| 389 | ], |
| 390 | "type": "string" |
| 391 | } |
| 392 | }, |
| 393 | "required": [ |
| 394 | "imageUrl", |
| 395 | "type" |
| 396 | ], |
| 397 | "type": "object" |
| 398 | }, |
| 399 | { |
| 400 | "properties": { |
| 401 | "audioUrl": { |
| 402 | "type": "string" |
| 403 | }, |
| 404 | "type": { |
| 405 | "enum": [ |
| 406 | "inputAudio" |
| 407 | ], |
| 408 | "type": "string" |
| 409 | } |
| 410 | }, |
| 411 | "required": [ |
| 412 | "audioUrl", |
| 413 | "type" |
| 414 | ], |
| 415 | "type": "object" |
| 416 | } |
| 417 | ] |
| 418 | }, |
| 419 | "DynamicToolCallStatus": { |
| 420 | "enum": [ |
| 421 | "inProgress", |
| 422 | "completed", |
| 423 | "failed" |
| 424 | ], |
| 425 | "type": "string" |
| 426 | }, |
| 427 | "FileUpdateChange": { |
| 428 | "properties": { |
| 429 | "diff": { |
| 430 | "type": "string" |
| 431 | }, |
| 432 | "kind": { |
| 433 | "$ref": "#/definitions/PatchChangeKind" |
| 434 | }, |
| 435 | "path": { |
| 436 | "type": "string" |
| 437 | } |
| 438 | }, |
| 439 | "required": [ |
| 440 | "diff", |
| 441 | "kind", |
| 442 | "path" |
| 443 | ], |
| 444 | "type": "object" |
| 445 | }, |
| 446 | "FunctionCallOutputBody": { |
| 447 | "anyOf": [ |
| 448 | { |
| 449 | "type": "string" |
| 450 | }, |
| 451 | { |
| 452 | "items": { |
| 453 | "$ref": "#/definitions/FunctionCallOutputContentItem" |
| 454 | }, |
| 455 | "type": "array" |
| 456 | } |
| 457 | ] |
| 458 | }, |
| 459 | "FunctionCallOutputContentItem": { |
| 460 | "oneOf": [ |
| 461 | { |
| 462 | "properties": { |
| 463 | "text": { |
| 464 | "type": "string" |
| 465 | }, |
| 466 | "type": { |
| 467 | "enum": [ |
| 468 | "input_text" |
| 469 | ], |
| 470 | "type": "string" |
| 471 | } |
| 472 | }, |
| 473 | "required": [ |
| 474 | "text", |
| 475 | "type" |
| 476 | ], |
| 477 | "type": "object" |
| 478 | }, |
| 479 | { |
| 480 | "anyOf": [ |
| 481 | { |
| 482 | "properties": { |
| 483 | "image_url": { |
| 484 | "type": "string" |
| 485 | } |
| 486 | }, |
| 487 | "required": [ |
| 488 | "image_url" |
| 489 | ], |
| 490 | "type": "object" |
| 491 | }, |
| 492 | { |
| 493 | "properties": { |
| 494 | "file_id": { |
| 495 | "type": "string" |
| 496 | } |
| 497 | }, |
| 498 | "required": [ |
| 499 | "file_id" |
| 500 | ], |
| 501 | "type": "object" |
| 502 | } |
| 503 | ], |
| 504 | "properties": { |
| 505 | "detail": { |
| 506 | "anyOf": [ |
| 507 | { |
| 508 | "$ref": "#/definitions/ImageDetail" |
| 509 | }, |
| 510 | { |
| 511 | "type": "null" |
| 512 | } |
| 513 | ] |
| 514 | }, |
| 515 | "type": { |
| 516 | "enum": [ |
| 517 | "input_image" |
| 518 | ], |
| 519 | "type": "string" |
| 520 | } |
| 521 | }, |
| 522 | "required": [ |
| 523 | "type" |
| 524 | ], |
| 525 | "type": "object" |
| 526 | }, |
| 527 | { |
| 528 | "properties": { |
| 529 | "audio_url": { |
| 530 | "type": "string" |
| 531 | }, |
| 532 | "type": { |
| 533 | "enum": [ |
| 534 | "input_audio" |
| 535 | ], |
| 536 | "type": "string" |
| 537 | } |
| 538 | }, |
| 539 | "required": [ |
| 540 | "audio_url", |
| 541 | "type" |
| 542 | ], |
| 543 | "type": "object" |
| 544 | }, |
| 545 | { |
| 546 | "properties": { |
| 547 | "encrypted_content": { |
| 548 | "type": "string" |
| 549 | }, |
| 550 | "type": { |
| 551 | "enum": [ |
| 552 | "encrypted_content" |
| 553 | ], |
| 554 | "type": "string" |
| 555 | } |
| 556 | }, |
| 557 | "required": [ |
| 558 | "encrypted_content", |
| 559 | "type" |
| 560 | ], |
| 561 | "type": "object" |
| 562 | } |
| 563 | ] |
| 564 | }, |
| 565 | "HookPromptFragment": { |
| 566 | "properties": { |
| 567 | "hookRunId": { |
| 568 | "type": "string" |
| 569 | }, |
| 570 | "text": { |
| 571 | "type": "string" |
| 572 | } |
| 573 | }, |
| 574 | "required": [ |
| 575 | "hookRunId", |
| 576 | "text" |
| 577 | ], |
| 578 | "type": "object" |
| 579 | }, |
| 580 | "ImageDetail": { |
| 581 | "enum": [ |
| 582 | "auto", |
| 583 | "low", |
| 584 | "high", |
| 585 | "original" |
| 586 | ], |
| 587 | "type": "string" |
| 588 | }, |
| 589 | "ImageGenerationFailure": { |
| 590 | "oneOf": [ |
| 591 | { |
| 592 | "properties": { |
| 593 | "limitId": { |
| 594 | "type": "string" |
| 595 | }, |
| 596 | "resetsAt": { |
| 597 | "format": "int64", |
| 598 | "type": [ |
| 599 | "integer", |
| 600 | "null" |
| 601 | ] |
| 602 | }, |
| 603 | "type": { |
| 604 | "enum": [ |
| 605 | "usageLimitExceeded" |
| 606 | ], |
| 607 | "type": "string" |
| 608 | } |
| 609 | }, |
| 610 | "required": [ |
| 611 | "limitId", |
| 612 | "type" |
| 613 | ], |
| 614 | "type": "object" |
| 615 | } |
| 616 | ] |
| 617 | }, |
| 618 | "ImageGenerationInputImage": { |
| 619 | "properties": { |
| 620 | "path": { |
| 621 | "$ref": "#/definitions/AbsolutePathBuf" |
| 622 | }, |
| 623 | "sha256": { |
| 624 | "type": "string" |
| 625 | } |
| 626 | }, |
| 627 | "required": [ |
| 628 | "path", |
| 629 | "sha256" |
| 630 | ], |
| 631 | "type": "object" |
| 632 | }, |
| 633 | "LegacyAppPathString": { |
| 634 | "type": "string" |
| 635 | }, |
| 636 | "McpAppDisplayMode": { |
| 637 | "enum": [ |
| 638 | "inline", |
| 639 | "fullscreen" |
| 640 | ], |
| 641 | "type": "string" |
| 642 | }, |
| 643 | "McpAppUi": { |
| 644 | "properties": { |
| 645 | "preferredModelDisplayMode": { |
| 646 | "$ref": "#/definitions/McpAppDisplayMode" |
| 647 | }, |
| 648 | "resourceUri": { |
| 649 | "type": "string" |
| 650 | } |
| 651 | }, |
| 652 | "required": [ |
| 653 | "preferredModelDisplayMode", |
| 654 | "resourceUri" |
| 655 | ], |
| 656 | "type": "object" |
| 657 | }, |
| 658 | "McpToolCallAppContext": { |
| 659 | "properties": { |
| 660 | "actionName": { |
| 661 | "type": [ |
| 662 | "string", |
| 663 | "null" |
| 664 | ] |
| 665 | }, |
| 666 | "appName": { |
| 667 | "type": [ |
| 668 | "string", |
| 669 | "null" |
| 670 | ] |
| 671 | }, |
| 672 | "connectorId": { |
| 673 | "type": "string" |
| 674 | }, |
| 675 | "linkId": { |
| 676 | "type": [ |
| 677 | "string", |
| 678 | "null" |
| 679 | ] |
| 680 | }, |
| 681 | "resourceUri": { |
| 682 | "type": [ |
| 683 | "string", |
| 684 | "null" |
| 685 | ] |
| 686 | } |
| 687 | }, |
| 688 | "required": [ |
| 689 | "connectorId" |
| 690 | ], |
| 691 | "type": "object" |
| 692 | }, |
| 693 | "McpToolCallError": { |
| 694 | "properties": { |
| 695 | "message": { |
| 696 | "type": "string" |
| 697 | } |
| 698 | }, |
| 699 | "required": [ |
| 700 | "message" |
| 701 | ], |
| 702 | "type": "object" |
| 703 | }, |
| 704 | "McpToolCallResult": { |
| 705 | "properties": { |
| 706 | "_meta": true, |
| 707 | "content": { |
| 708 | "items": true, |
| 709 | "type": "array" |
| 710 | }, |
| 711 | "structuredContent": true |
| 712 | }, |
| 713 | "required": [ |
| 714 | "content" |
| 715 | ], |
| 716 | "type": "object" |
| 717 | }, |
| 718 | "McpToolCallStatus": { |
| 719 | "enum": [ |
| 720 | "inProgress", |
| 721 | "completed", |
| 722 | "failed" |
| 723 | ], |
| 724 | "type": "string" |
| 725 | }, |
| 726 | "MemoryCitation": { |
| 727 | "properties": { |
| 728 | "entries": { |
| 729 | "items": { |
| 730 | "$ref": "#/definitions/MemoryCitationEntry" |
| 731 | }, |
| 732 | "type": "array" |
| 733 | }, |
| 734 | "threadIds": { |
| 735 | "items": { |
| 736 | "type": "string" |
| 737 | }, |
| 738 | "type": "array" |
| 739 | } |
| 740 | }, |
| 741 | "required": [ |
| 742 | "entries", |
| 743 | "threadIds" |
| 744 | ], |
| 745 | "type": "object" |
| 746 | }, |
| 747 | "MemoryCitationEntry": { |
| 748 | "properties": { |
| 749 | "lineEnd": { |
| 750 | "format": "uint32", |
| 751 | "minimum": 0.0, |
| 752 | "type": "integer" |
| 753 | }, |
| 754 | "lineStart": { |
| 755 | "format": "uint32", |
| 756 | "minimum": 0.0, |
| 757 | "type": "integer" |
| 758 | }, |
| 759 | "note": { |
| 760 | "type": "string" |
| 761 | }, |
| 762 | "path": { |
| 763 | "type": "string" |
| 764 | } |
| 765 | }, |
| 766 | "required": [ |
| 767 | "lineEnd", |
| 768 | "lineStart", |
| 769 | "note", |
| 770 | "path" |
| 771 | ], |
| 772 | "type": "object" |
| 773 | }, |
| 774 | "MessagePhase": { |
| 775 | "oneOf": [ |
| 776 | { |
| 777 | "enum": [ |
| 778 | "commentary" |
| 779 | ], |
| 780 | "type": "string" |
| 781 | }, |
| 782 | { |
| 783 | "enum": [ |
| 784 | "partial_answer" |
| 785 | ], |
| 786 | "type": "string" |
| 787 | }, |
| 788 | { |
| 789 | "enum": [ |
| 790 | "final_answer" |
| 791 | ], |
| 792 | "type": "string" |
| 793 | } |
| 794 | ] |
| 795 | }, |
| 796 | "MisalignmentErrorDetails": { |
| 797 | "properties": { |
| 798 | "detailedExplanation": { |
| 799 | "type": [ |
| 800 | "string", |
| 801 | "null" |
| 802 | ] |
| 803 | }, |
| 804 | "errorType": { |
| 805 | "type": [ |
| 806 | "string", |
| 807 | "null" |
| 808 | ] |
| 809 | }, |
| 810 | "reviewTarget": { |
| 811 | "type": [ |
| 812 | "string", |
| 813 | "null" |
| 814 | ] |
| 815 | }, |
| 816 | "steer": { |
| 817 | "anyOf": [ |
| 818 | { |
| 819 | "$ref": "#/definitions/MisalignmentSteer" |
| 820 | }, |
| 821 | { |
| 822 | "type": "null" |
| 823 | } |
| 824 | ] |
| 825 | } |
| 826 | }, |
| 827 | "type": "object" |
| 828 | }, |
| 829 | "MisalignmentSteer": { |
| 830 | "properties": { |
| 831 | "message": { |
| 832 | "type": "string" |
| 833 | } |
| 834 | }, |
| 835 | "required": [ |
| 836 | "message" |
| 837 | ], |
| 838 | "type": "object" |
| 839 | }, |
| 840 | "NonSteerableTurnKind": { |
| 841 | "enum": [ |
| 842 | "review", |
| 843 | "compact" |
| 844 | ], |
| 845 | "type": "string" |
| 846 | }, |
| 847 | "PatchApplyStatus": { |
| 848 | "enum": [ |
| 849 | "inProgress", |
| 850 | "completed", |
| 851 | "failed", |
| 852 | "declined" |
| 853 | ], |
| 854 | "type": "string" |
| 855 | }, |
| 856 | "PatchChangeKind": { |
| 857 | "oneOf": [ |
| 858 | { |
| 859 | "properties": { |
| 860 | "type": { |
| 861 | "enum": [ |
| 862 | "add" |
| 863 | ], |
| 864 | "type": "string" |
| 865 | } |
| 866 | }, |
| 867 | "required": [ |
| 868 | "type" |
| 869 | ], |
| 870 | "type": "object" |
| 871 | }, |
| 872 | { |
| 873 | "properties": { |
| 874 | "type": { |
| 875 | "enum": [ |
| 876 | "delete" |
| 877 | ], |
| 878 | "type": "string" |
| 879 | } |
| 880 | }, |
| 881 | "required": [ |
| 882 | "type" |
| 883 | ], |
| 884 | "type": "object" |
| 885 | }, |
| 886 | { |
| 887 | "properties": { |
| 888 | "move_path": { |
| 889 | "type": [ |
| 890 | "string", |
| 891 | "null" |
| 892 | ] |
| 893 | }, |
| 894 | "type": { |
| 895 | "enum": [ |
| 896 | "update" |
| 897 | ], |
| 898 | "type": "string" |
| 899 | } |
| 900 | }, |
| 901 | "required": [ |
| 902 | "type" |
| 903 | ], |
| 904 | "type": "object" |
| 905 | } |
| 906 | ] |
| 907 | }, |
| 908 | "ReasoningEffort": { |
| 909 | "minLength": 1, |
| 910 | "type": "string" |
| 911 | }, |
| 912 | "SubAgentActivityKind": { |
| 913 | "enum": [ |
| 914 | "started", |
| 915 | "interacted", |
| 916 | "interrupted", |
| 917 | "completed" |
| 918 | ], |
| 919 | "type": "string" |
| 920 | }, |
| 921 | "TextElement": { |
| 922 | "properties": { |
| 923 | "byteRange": { |
| 924 | "allOf": [ |
| 925 | { |
| 926 | "$ref": "#/definitions/ByteRange" |
| 927 | } |
| 928 | ] |
| 929 | }, |
| 930 | "placeholder": { |
| 931 | "type": [ |
| 932 | "string", |
| 933 | "null" |
| 934 | ] |
| 935 | } |
| 936 | }, |
| 937 | "required": [ |
| 938 | "byteRange" |
| 939 | ], |
| 940 | "type": "object" |
| 941 | }, |
| 942 | "ThreadItem": { |
| 943 | "oneOf": [ |
| 944 | { |
| 945 | "properties": { |
| 946 | "clientId": { |
| 947 | "type": [ |
| 948 | "string", |
| 949 | "null" |
| 950 | ] |
| 951 | }, |
| 952 | "content": { |
| 953 | "items": { |
| 954 | "$ref": "#/definitions/UserInput" |
| 955 | }, |
| 956 | "type": "array" |
| 957 | }, |
| 958 | "id": { |
| 959 | "type": "string" |
| 960 | }, |
| 961 | "type": { |
| 962 | "enum": [ |
| 963 | "userMessage" |
| 964 | ], |
| 965 | "type": "string" |
| 966 | } |
| 967 | }, |
| 968 | "required": [ |
| 969 | "content", |
| 970 | "id", |
| 971 | "type" |
| 972 | ], |
| 973 | "type": "object" |
| 974 | }, |
| 975 | { |
| 976 | "properties": { |
| 977 | "fragments": { |
| 978 | "items": { |
| 979 | "$ref": "#/definitions/HookPromptFragment" |
| 980 | }, |
| 981 | "type": "array" |
| 982 | }, |
| 983 | "id": { |
| 984 | "type": "string" |
| 985 | }, |
| 986 | "type": { |
| 987 | "enum": [ |
| 988 | "hookPrompt" |
| 989 | ], |
| 990 | "type": "string" |
| 991 | } |
| 992 | }, |
| 993 | "required": [ |
| 994 | "fragments", |
| 995 | "id", |
| 996 | "type" |
| 997 | ], |
| 998 | "type": "object" |
| 999 | }, |
| 1000 | { |
| 1001 | "properties": { |
| 1002 | "delivery": { |
| 1003 | "anyOf": [ |
| 1004 | { |
| 1005 | "$ref": "#/definitions/AgentMessageDelivery" |
| 1006 | }, |
| 1007 | { |
| 1008 | "type": "null" |
| 1009 | } |
| 1010 | ], |
| 1011 | "default": null |
| 1012 | }, |
| 1013 | "id": { |
| 1014 | "type": "string" |
| 1015 | }, |
| 1016 | "memoryCitation": { |
| 1017 | "anyOf": [ |
| 1018 | { |
| 1019 | "$ref": "#/definitions/MemoryCitation" |
| 1020 | }, |
| 1021 | { |
| 1022 | "type": "null" |
| 1023 | } |
| 1024 | ], |
| 1025 | "default": null |
| 1026 | }, |
| 1027 | "phase": { |
| 1028 | "anyOf": [ |
| 1029 | { |
| 1030 | "$ref": "#/definitions/MessagePhase" |
| 1031 | }, |
| 1032 | { |
| 1033 | "type": "null" |
| 1034 | } |
| 1035 | ], |
| 1036 | "default": null |
| 1037 | }, |
| 1038 | "questions": { |
| 1039 | "default": null, |
| 1040 | "items": { |
| 1041 | "$ref": "#/definitions/AsyncUserInputQuestion" |
| 1042 | }, |
| 1043 | "type": [ |
| 1044 | "array", |
| 1045 | "null" |
| 1046 | ] |
| 1047 | }, |
| 1048 | "text": { |
| 1049 | "type": "string" |
| 1050 | }, |
| 1051 | "type": { |
| 1052 | "enum": [ |
| 1053 | "agentMessage" |
| 1054 | ], |
| 1055 | "type": "string" |
| 1056 | } |
| 1057 | }, |
| 1058 | "required": [ |
| 1059 | "id", |
| 1060 | "text", |
| 1061 | "type" |
| 1062 | ], |
| 1063 | "type": "object" |
| 1064 | }, |
| 1065 | { |
| 1066 | "properties": { |
| 1067 | "id": { |
| 1068 | "type": "string" |
| 1069 | }, |
| 1070 | "name": { |
| 1071 | "type": "string" |
| 1072 | }, |
| 1073 | "namespace": { |
| 1074 | "type": [ |
| 1075 | "string", |
| 1076 | "null" |
| 1077 | ] |
| 1078 | }, |
| 1079 | "output": { |
| 1080 | "$ref": "#/definitions/FunctionCallOutputBody" |
| 1081 | }, |
| 1082 | "type": { |
| 1083 | "enum": [ |
| 1084 | "functionCallOutput" |
| 1085 | ], |
| 1086 | "type": "string" |
| 1087 | } |
| 1088 | }, |
| 1089 | "required": [ |
| 1090 | "id", |
| 1091 | "name", |
| 1092 | "output", |
| 1093 | "type" |
| 1094 | ], |
| 1095 | "type": "object" |
| 1096 | }, |
| 1097 | { |
| 1098 | "properties": { |
| 1099 | "id": { |
| 1100 | "type": "string" |
| 1101 | }, |
| 1102 | "text": { |
| 1103 | "type": "string" |
| 1104 | }, |
| 1105 | "type": { |
| 1106 | "enum": [ |
| 1107 | "plan" |
| 1108 | ], |
| 1109 | "type": "string" |
| 1110 | } |
| 1111 | }, |
| 1112 | "required": [ |
| 1113 | "id", |
| 1114 | "text", |
| 1115 | "type" |
| 1116 | ], |
| 1117 | "type": "object" |
| 1118 | }, |
| 1119 | { |
| 1120 | "properties": { |
| 1121 | "content": { |
| 1122 | "default": [], |
| 1123 | "items": { |
| 1124 | "type": "string" |
| 1125 | }, |
| 1126 | "type": "array" |
| 1127 | }, |
| 1128 | "id": { |
| 1129 | "type": "string" |
| 1130 | }, |
| 1131 | "summary": { |
| 1132 | "default": [], |
| 1133 | "items": { |
| 1134 | "type": "string" |
| 1135 | }, |
| 1136 | "type": "array" |
| 1137 | }, |
| 1138 | "type": { |
| 1139 | "enum": [ |
| 1140 | "reasoning" |
| 1141 | ], |
| 1142 | "type": "string" |
| 1143 | } |
| 1144 | }, |
| 1145 | "required": [ |
| 1146 | "id", |
| 1147 | "type" |
| 1148 | ], |
| 1149 | "type": "object" |
| 1150 | }, |
| 1151 | { |
| 1152 | "properties": { |
| 1153 | "aggregatedOutput": { |
| 1154 | "type": [ |
| 1155 | "string", |
| 1156 | "null" |
| 1157 | ] |
| 1158 | }, |
| 1159 | "command": { |
| 1160 | "type": "string" |
| 1161 | }, |
| 1162 | "commandActions": { |
| 1163 | "items": { |
| 1164 | "$ref": "#/definitions/CommandAction" |
| 1165 | }, |
| 1166 | "type": "array" |
| 1167 | }, |
| 1168 | "cwd": { |
| 1169 | "allOf": [ |
| 1170 | { |
| 1171 | "$ref": "#/definitions/LegacyAppPathString" |
| 1172 | } |
| 1173 | ] |
| 1174 | }, |
| 1175 | "durationMs": { |
| 1176 | "format": "int64", |
| 1177 | "type": [ |
| 1178 | "integer", |
| 1179 | "null" |
| 1180 | ] |
| 1181 | }, |
| 1182 | "exitCode": { |
| 1183 | "format": "int32", |
| 1184 | "type": [ |
| 1185 | "integer", |
| 1186 | "null" |
| 1187 | ] |
| 1188 | }, |
| 1189 | "id": { |
| 1190 | "type": "string" |
| 1191 | }, |
| 1192 | "pluginId": { |
| 1193 | "default": null, |
| 1194 | "type": [ |
| 1195 | "string", |
| 1196 | "null" |
| 1197 | ] |
| 1198 | }, |
| 1199 | "processId": { |
| 1200 | "type": [ |
| 1201 | "string", |
| 1202 | "null" |
| 1203 | ] |
| 1204 | }, |
| 1205 | "scriptPath": { |
| 1206 | "default": null, |
| 1207 | "type": [ |
| 1208 | "string", |
| 1209 | "null" |
| 1210 | ] |
| 1211 | }, |
| 1212 | "source": { |
| 1213 | "allOf": [ |
| 1214 | { |
| 1215 | "$ref": "#/definitions/CommandExecutionSource" |
| 1216 | } |
| 1217 | ], |
| 1218 | "default": "agent" |
| 1219 | }, |
| 1220 | "status": { |
| 1221 | "$ref": "#/definitions/CommandExecutionStatus" |
| 1222 | }, |
| 1223 | "type": { |
| 1224 | "enum": [ |
| 1225 | "commandExecution" |
| 1226 | ], |
| 1227 | "type": "string" |
| 1228 | } |
| 1229 | }, |
| 1230 | "required": [ |
| 1231 | "command", |
| 1232 | "commandActions", |
| 1233 | "cwd", |
| 1234 | "id", |
| 1235 | "status", |
| 1236 | "type" |
| 1237 | ], |
| 1238 | "type": "object" |
| 1239 | }, |
| 1240 | { |
| 1241 | "properties": { |
| 1242 | "changes": { |
| 1243 | "items": { |
| 1244 | "$ref": "#/definitions/FileUpdateChange" |
| 1245 | }, |
| 1246 | "type": "array" |
| 1247 | }, |
| 1248 | "id": { |
| 1249 | "type": "string" |
| 1250 | }, |
| 1251 | "status": { |
| 1252 | "$ref": "#/definitions/PatchApplyStatus" |
| 1253 | }, |
| 1254 | "type": { |
| 1255 | "enum": [ |
| 1256 | "fileChange" |
| 1257 | ], |
| 1258 | "type": "string" |
| 1259 | } |
| 1260 | }, |
| 1261 | "required": [ |
| 1262 | "changes", |
| 1263 | "id", |
| 1264 | "status", |
| 1265 | "type" |
| 1266 | ], |
| 1267 | "type": "object" |
| 1268 | }, |
| 1269 | { |
| 1270 | "properties": { |
| 1271 | "appContext": { |
| 1272 | "anyOf": [ |
| 1273 | { |
| 1274 | "$ref": "#/definitions/McpToolCallAppContext" |
| 1275 | }, |
| 1276 | { |
| 1277 | "type": "null" |
| 1278 | } |
| 1279 | ] |
| 1280 | }, |
| 1281 | "arguments": true, |
| 1282 | "durationMs": { |
| 1283 | "format": "int64", |
| 1284 | "type": [ |
| 1285 | "integer", |
| 1286 | "null" |
| 1287 | ] |
| 1288 | }, |
| 1289 | "error": { |
| 1290 | "anyOf": [ |
| 1291 | { |
| 1292 | "$ref": "#/definitions/McpToolCallError" |
| 1293 | }, |
| 1294 | { |
| 1295 | "type": "null" |
| 1296 | } |
| 1297 | ] |
| 1298 | }, |
| 1299 | "id": { |
| 1300 | "type": "string" |
| 1301 | }, |
| 1302 | "mcpAppResourceUri": { |
| 1303 | "type": [ |
| 1304 | "string", |
| 1305 | "null" |
| 1306 | ] |
| 1307 | }, |
| 1308 | "mcpAppUi": { |
| 1309 | "anyOf": [ |
| 1310 | { |
| 1311 | "$ref": "#/definitions/McpAppUi" |
| 1312 | }, |
| 1313 | { |
| 1314 | "type": "null" |
| 1315 | } |
| 1316 | ] |
| 1317 | }, |
| 1318 | "pluginId": { |
| 1319 | "type": [ |
| 1320 | "string", |
| 1321 | "null" |
| 1322 | ] |
| 1323 | }, |
| 1324 | "readOnlyHint": { |
| 1325 | "type": [ |
| 1326 | "boolean", |
| 1327 | "null" |
| 1328 | ] |
| 1329 | }, |
| 1330 | "result": { |
| 1331 | "anyOf": [ |
| 1332 | { |
| 1333 | "$ref": "#/definitions/McpToolCallResult" |
| 1334 | }, |
| 1335 | { |
| 1336 | "type": "null" |
| 1337 | } |
| 1338 | ] |
| 1339 | }, |
| 1340 | "server": { |
| 1341 | "type": "string" |
| 1342 | }, |
| 1343 | "status": { |
| 1344 | "$ref": "#/definitions/McpToolCallStatus" |
| 1345 | }, |
| 1346 | "tool": { |
| 1347 | "type": "string" |
| 1348 | }, |
| 1349 | "type": { |
| 1350 | "enum": [ |
| 1351 | "mcpToolCall" |
| 1352 | ], |
| 1353 | "type": "string" |
| 1354 | } |
| 1355 | }, |
| 1356 | "required": [ |
| 1357 | "arguments", |
| 1358 | "id", |
| 1359 | "server", |
| 1360 | "status", |
| 1361 | "tool", |
| 1362 | "type" |
| 1363 | ], |
| 1364 | "type": "object" |
| 1365 | }, |
| 1366 | { |
| 1367 | "properties": { |
| 1368 | "arguments": true, |
| 1369 | "contentItems": { |
| 1370 | "items": { |
| 1371 | "$ref": "#/definitions/DynamicToolCallOutputContentItem" |
| 1372 | }, |
| 1373 | "type": [ |
| 1374 | "array", |
| 1375 | "null" |
| 1376 | ] |
| 1377 | }, |
| 1378 | "durationMs": { |
| 1379 | "format": "int64", |
| 1380 | "type": [ |
| 1381 | "integer", |
| 1382 | "null" |
| 1383 | ] |
| 1384 | }, |
| 1385 | "id": { |
| 1386 | "type": "string" |
| 1387 | }, |
| 1388 | "namespace": { |
| 1389 | "type": [ |
| 1390 | "string", |
| 1391 | "null" |
| 1392 | ] |
| 1393 | }, |
| 1394 | "status": { |
| 1395 | "$ref": "#/definitions/DynamicToolCallStatus" |
| 1396 | }, |
| 1397 | "success": { |
| 1398 | "type": [ |
| 1399 | "boolean", |
| 1400 | "null" |
| 1401 | ] |
| 1402 | }, |
| 1403 | "tool": { |
| 1404 | "type": "string" |
| 1405 | }, |
| 1406 | "type": { |
| 1407 | "enum": [ |
| 1408 | "dynamicToolCall" |
| 1409 | ], |
| 1410 | "type": "string" |
| 1411 | } |
| 1412 | }, |
| 1413 | "required": [ |
| 1414 | "arguments", |
| 1415 | "id", |
| 1416 | "status", |
| 1417 | "tool", |
| 1418 | "type" |
| 1419 | ], |
| 1420 | "type": "object" |
| 1421 | }, |
| 1422 | { |
| 1423 | "properties": { |
| 1424 | "agentsStates": { |
| 1425 | "additionalProperties": { |
| 1426 | "$ref": "#/definitions/CollabAgentState" |
| 1427 | }, |
| 1428 | "type": "object" |
| 1429 | }, |
| 1430 | "id": { |
| 1431 | "type": "string" |
| 1432 | }, |
| 1433 | "model": { |
| 1434 | "type": [ |
| 1435 | "string", |
| 1436 | "null" |
| 1437 | ] |
| 1438 | }, |
| 1439 | "prompt": { |
| 1440 | "type": [ |
| 1441 | "string", |
| 1442 | "null" |
| 1443 | ] |
| 1444 | }, |
| 1445 | "reasoningEffort": { |
| 1446 | "anyOf": [ |
| 1447 | { |
| 1448 | "$ref": "#/definitions/ReasoningEffort" |
| 1449 | }, |
| 1450 | { |
| 1451 | "type": "null" |
| 1452 | } |
| 1453 | ] |
| 1454 | }, |
| 1455 | "receiverThreadIds": { |
| 1456 | "items": { |
| 1457 | "type": "string" |
| 1458 | }, |
| 1459 | "type": "array" |
| 1460 | }, |
| 1461 | "senderThreadId": { |
| 1462 | "type": "string" |
| 1463 | }, |
| 1464 | "status": { |
| 1465 | "allOf": [ |
| 1466 | { |
| 1467 | "$ref": "#/definitions/CollabAgentToolCallStatus" |
| 1468 | } |
| 1469 | ] |
| 1470 | }, |
| 1471 | "tool": { |
| 1472 | "allOf": [ |
| 1473 | { |
| 1474 | "$ref": "#/definitions/CollabAgentTool" |
| 1475 | } |
| 1476 | ] |
| 1477 | }, |
| 1478 | "type": { |
| 1479 | "enum": [ |
| 1480 | "collabAgentToolCall" |
| 1481 | ], |
| 1482 | "type": "string" |
| 1483 | } |
| 1484 | }, |
| 1485 | "required": [ |
| 1486 | "agentsStates", |
| 1487 | "id", |
| 1488 | "receiverThreadIds", |
| 1489 | "senderThreadId", |
| 1490 | "status", |
| 1491 | "tool", |
| 1492 | "type" |
| 1493 | ], |
| 1494 | "type": "object" |
| 1495 | }, |
| 1496 | { |
| 1497 | "properties": { |
| 1498 | "agentPath": { |
| 1499 | "type": "string" |
| 1500 | }, |
| 1501 | "agentThreadId": { |
| 1502 | "type": "string" |
| 1503 | }, |
| 1504 | "id": { |
| 1505 | "type": "string" |
| 1506 | }, |
| 1507 | "kind": { |
| 1508 | "$ref": "#/definitions/SubAgentActivityKind" |
| 1509 | }, |
| 1510 | "model": { |
| 1511 | "type": [ |
| 1512 | "string", |
| 1513 | "null" |
| 1514 | ] |
| 1515 | }, |
| 1516 | "reasoningEffort": { |
| 1517 | "anyOf": [ |
| 1518 | { |
| 1519 | "$ref": "#/definitions/ReasoningEffort" |
| 1520 | }, |
| 1521 | { |
| 1522 | "type": "null" |
| 1523 | } |
| 1524 | ] |
| 1525 | }, |
| 1526 | "type": { |
| 1527 | "enum": [ |
| 1528 | "subAgentActivity" |
| 1529 | ], |
| 1530 | "type": "string" |
| 1531 | } |
| 1532 | }, |
| 1533 | "required": [ |
| 1534 | "agentPath", |
| 1535 | "agentThreadId", |
| 1536 | "id", |
| 1537 | "kind", |
| 1538 | "type" |
| 1539 | ], |
| 1540 | "type": "object" |
| 1541 | }, |
| 1542 | { |
| 1543 | "properties": { |
| 1544 | "action": { |
| 1545 | "anyOf": [ |
| 1546 | { |
| 1547 | "$ref": "#/definitions/WebSearchAction" |
| 1548 | }, |
| 1549 | { |
| 1550 | "type": "null" |
| 1551 | } |
| 1552 | ] |
| 1553 | }, |
| 1554 | "id": { |
| 1555 | "type": "string" |
| 1556 | }, |
| 1557 | "query": { |
| 1558 | "type": "string" |
| 1559 | }, |
| 1560 | "results": { |
| 1561 | "default": null, |
| 1562 | "items": true, |
| 1563 | "type": [ |
| 1564 | "array", |
| 1565 | "null" |
| 1566 | ] |
| 1567 | }, |
| 1568 | "type": { |
| 1569 | "enum": [ |
| 1570 | "webSearch" |
| 1571 | ], |
| 1572 | "type": "string" |
| 1573 | } |
| 1574 | }, |
| 1575 | "required": [ |
| 1576 | "id", |
| 1577 | "query", |
| 1578 | "type" |
| 1579 | ], |
| 1580 | "type": "object" |
| 1581 | }, |
| 1582 | { |
| 1583 | "properties": { |
| 1584 | "id": { |
| 1585 | "type": "string" |
| 1586 | }, |
| 1587 | "path": { |
| 1588 | "$ref": "#/definitions/LegacyAppPathString" |
| 1589 | }, |
| 1590 | "type": { |
| 1591 | "enum": [ |
| 1592 | "imageView" |
| 1593 | ], |
| 1594 | "type": "string" |
| 1595 | } |
| 1596 | }, |
| 1597 | "required": [ |
| 1598 | "id", |
| 1599 | "path", |
| 1600 | "type" |
| 1601 | ], |
| 1602 | "type": "object" |
| 1603 | }, |
| 1604 | { |
| 1605 | "properties": { |
| 1606 | "durationMs": { |
| 1607 | "format": "uint64", |
| 1608 | "minimum": 0.0, |
| 1609 | "type": "integer" |
| 1610 | }, |
| 1611 | "id": { |
| 1612 | "type": "string" |
| 1613 | }, |
| 1614 | "type": { |
| 1615 | "enum": [ |
| 1616 | "sleep" |
| 1617 | ], |
| 1618 | "type": "string" |
| 1619 | } |
| 1620 | }, |
| 1621 | "required": [ |
| 1622 | "durationMs", |
| 1623 | "id", |
| 1624 | "type" |
| 1625 | ], |
| 1626 | "type": "object" |
| 1627 | }, |
| 1628 | { |
| 1629 | "anyOf": [ |
| 1630 | { |
| 1631 | "properties": { |
| 1632 | "fileId": { |
| 1633 | "type": "string" |
| 1634 | } |
| 1635 | }, |
| 1636 | "required": [ |
| 1637 | "fileId" |
| 1638 | ], |
| 1639 | "type": "object" |
| 1640 | }, |
| 1641 | { |
| 1642 | "properties": { |
| 1643 | "result": { |
| 1644 | "type": "string" |
| 1645 | } |
| 1646 | }, |
| 1647 | "required": [ |
| 1648 | "result" |
| 1649 | ], |
| 1650 | "type": "object" |
| 1651 | } |
| 1652 | ], |
| 1653 | "properties": { |
| 1654 | "failure": { |
| 1655 | "anyOf": [ |
| 1656 | { |
| 1657 | "$ref": "#/definitions/ImageGenerationFailure" |
| 1658 | }, |
| 1659 | { |
| 1660 | "type": "null" |
| 1661 | } |
| 1662 | ], |
| 1663 | "default": null |
| 1664 | }, |
| 1665 | "id": { |
| 1666 | "type": "string" |
| 1667 | }, |
| 1668 | "inputImages": { |
| 1669 | "items": { |
| 1670 | "$ref": "#/definitions/ImageGenerationInputImage" |
| 1671 | }, |
| 1672 | "type": "array" |
| 1673 | }, |
| 1674 | "revisedPrompt": { |
| 1675 | "type": [ |
| 1676 | "string", |
| 1677 | "null" |
| 1678 | ] |
| 1679 | }, |
| 1680 | "savedPath": { |
| 1681 | "anyOf": [ |
| 1682 | { |
| 1683 | "$ref": "#/definitions/AbsolutePathBuf" |
| 1684 | }, |
| 1685 | { |
| 1686 | "type": "null" |
| 1687 | } |
| 1688 | ] |
| 1689 | }, |
| 1690 | "status": { |
| 1691 | "type": "string" |
| 1692 | }, |
| 1693 | "transparentBackground": { |
| 1694 | "default": null, |
| 1695 | "type": [ |
| 1696 | "boolean", |
| 1697 | "null" |
| 1698 | ] |
| 1699 | }, |
| 1700 | "type": { |
| 1701 | "enum": [ |
| 1702 | "imageGeneration" |
| 1703 | ], |
| 1704 | "type": "string" |
| 1705 | } |
| 1706 | }, |
| 1707 | "required": [ |
| 1708 | "id", |
| 1709 | "status", |
| 1710 | "type" |
| 1711 | ], |
| 1712 | "type": "object" |
| 1713 | }, |
| 1714 | { |
| 1715 | "properties": { |
| 1716 | "id": { |
| 1717 | "type": "string" |
| 1718 | }, |
| 1719 | "review": { |
| 1720 | "type": "string" |
| 1721 | }, |
| 1722 | "type": { |
| 1723 | "enum": [ |
| 1724 | "enteredReviewMode" |
| 1725 | ], |
| 1726 | "type": "string" |
| 1727 | } |
| 1728 | }, |
| 1729 | "required": [ |
| 1730 | "id", |
| 1731 | "review", |
| 1732 | "type" |
| 1733 | ], |
| 1734 | "type": "object" |
| 1735 | }, |
| 1736 | { |
| 1737 | "properties": { |
| 1738 | "id": { |
| 1739 | "type": "string" |
| 1740 | }, |
| 1741 | "review": { |
| 1742 | "type": "string" |
| 1743 | }, |
| 1744 | "type": { |
| 1745 | "enum": [ |
| 1746 | "exitedReviewMode" |
| 1747 | ], |
| 1748 | "type": "string" |
| 1749 | } |
| 1750 | }, |
| 1751 | "required": [ |
| 1752 | "id", |
| 1753 | "review", |
| 1754 | "type" |
| 1755 | ], |
| 1756 | "type": "object" |
| 1757 | }, |
| 1758 | { |
| 1759 | "properties": { |
| 1760 | "id": { |
| 1761 | "type": "string" |
| 1762 | }, |
| 1763 | "type": { |
| 1764 | "enum": [ |
| 1765 | "contextCompaction" |
| 1766 | ], |
| 1767 | "type": "string" |
| 1768 | } |
| 1769 | }, |
| 1770 | "required": [ |
| 1771 | "id", |
| 1772 | "type" |
| 1773 | ], |
| 1774 | "type": "object" |
| 1775 | } |
| 1776 | ] |
| 1777 | }, |
| 1778 | "Turn": { |
| 1779 | "properties": { |
| 1780 | "completedAt": { |
| 1781 | "format": "int64", |
| 1782 | "type": [ |
| 1783 | "integer", |
| 1784 | "null" |
| 1785 | ] |
| 1786 | }, |
| 1787 | "durationMs": { |
| 1788 | "format": "int64", |
| 1789 | "type": [ |
| 1790 | "integer", |
| 1791 | "null" |
| 1792 | ] |
| 1793 | }, |
| 1794 | "error": { |
| 1795 | "anyOf": [ |
| 1796 | { |
| 1797 | "$ref": "#/definitions/TurnError" |
| 1798 | }, |
| 1799 | { |
| 1800 | "type": "null" |
| 1801 | } |
| 1802 | ] |
| 1803 | }, |
| 1804 | "id": { |
| 1805 | "type": "string" |
| 1806 | }, |
| 1807 | "items": { |
| 1808 | "items": { |
| 1809 | "$ref": "#/definitions/ThreadItem" |
| 1810 | }, |
| 1811 | "type": "array" |
| 1812 | }, |
| 1813 | "itemsView": { |
| 1814 | "allOf": [ |
| 1815 | { |
| 1816 | "$ref": "#/definitions/TurnItemsView" |
| 1817 | } |
| 1818 | ], |
| 1819 | "default": "full" |
| 1820 | }, |
| 1821 | "rootTurnId": { |
| 1822 | "type": [ |
| 1823 | "string", |
| 1824 | "null" |
| 1825 | ] |
| 1826 | }, |
| 1827 | "startedAt": { |
| 1828 | "format": "int64", |
| 1829 | "type": [ |
| 1830 | "integer", |
| 1831 | "null" |
| 1832 | ] |
| 1833 | }, |
| 1834 | "status": { |
| 1835 | "$ref": "#/definitions/TurnStatus" |
| 1836 | } |
| 1837 | }, |
| 1838 | "required": [ |
| 1839 | "id", |
| 1840 | "items", |
| 1841 | "status" |
| 1842 | ], |
| 1843 | "type": "object" |
| 1844 | }, |
| 1845 | "TurnError": { |
| 1846 | "properties": { |
| 1847 | "additionalDetails": { |
| 1848 | "default": null, |
| 1849 | "type": [ |
| 1850 | "string", |
| 1851 | "null" |
| 1852 | ] |
| 1853 | }, |
| 1854 | "codexErrorInfo": { |
| 1855 | "anyOf": [ |
| 1856 | { |
| 1857 | "$ref": "#/definitions/CodexErrorInfo" |
| 1858 | }, |
| 1859 | { |
| 1860 | "type": "null" |
| 1861 | } |
| 1862 | ] |
| 1863 | }, |
| 1864 | "message": { |
| 1865 | "type": "string" |
| 1866 | }, |
| 1867 | "misalignment": { |
| 1868 | "anyOf": [ |
| 1869 | { |
| 1870 | "$ref": "#/definitions/MisalignmentErrorDetails" |
| 1871 | }, |
| 1872 | { |
| 1873 | "type": "null" |
| 1874 | } |
| 1875 | ], |
| 1876 | "default": null |
| 1877 | } |
| 1878 | }, |
| 1879 | "required": [ |
| 1880 | "message" |
| 1881 | ], |
| 1882 | "type": "object" |
| 1883 | }, |
| 1884 | "TurnItemsView": { |
| 1885 | "oneOf": [ |
| 1886 | { |
| 1887 | "enum": [ |
| 1888 | "notLoaded" |
| 1889 | ], |
| 1890 | "type": "string" |
| 1891 | }, |
| 1892 | { |
| 1893 | "enum": [ |
| 1894 | "summary" |
| 1895 | ], |
| 1896 | "type": "string" |
| 1897 | }, |
| 1898 | { |
| 1899 | "enum": [ |
| 1900 | "full" |
| 1901 | ], |
| 1902 | "type": "string" |
| 1903 | } |
| 1904 | ] |
| 1905 | }, |
| 1906 | "TurnStatus": { |
| 1907 | "enum": [ |
| 1908 | "completed", |
| 1909 | "interrupted", |
| 1910 | "failed", |
| 1911 | "inProgress" |
| 1912 | ], |
| 1913 | "type": "string" |
| 1914 | }, |
| 1915 | "UserInput": { |
| 1916 | "oneOf": [ |
| 1917 | { |
| 1918 | "properties": { |
| 1919 | "text": { |
| 1920 | "type": "string" |
| 1921 | }, |
| 1922 | "text_elements": { |
| 1923 | "default": [], |
| 1924 | "items": { |
| 1925 | "$ref": "#/definitions/TextElement" |
| 1926 | }, |
| 1927 | "type": "array" |
| 1928 | }, |
| 1929 | "type": { |
| 1930 | "enum": [ |
| 1931 | "text" |
| 1932 | ], |
| 1933 | "type": "string" |
| 1934 | } |
| 1935 | }, |
| 1936 | "required": [ |
| 1937 | "text", |
| 1938 | "type" |
| 1939 | ], |
| 1940 | "type": "object" |
| 1941 | }, |
| 1942 | { |
| 1943 | "anyOf": [ |
| 1944 | { |
| 1945 | "properties": { |
| 1946 | "url": { |
| 1947 | "type": "string" |
| 1948 | } |
| 1949 | }, |
| 1950 | "required": [ |
| 1951 | "url" |
| 1952 | ], |
| 1953 | "type": "object" |
| 1954 | }, |
| 1955 | { |
| 1956 | "properties": { |
| 1957 | "fileId": { |
| 1958 | "type": "string" |
| 1959 | } |
| 1960 | }, |
| 1961 | "required": [ |
| 1962 | "fileId" |
| 1963 | ], |
| 1964 | "type": "object" |
| 1965 | } |
| 1966 | ], |
| 1967 | "properties": { |
| 1968 | "detail": { |
| 1969 | "anyOf": [ |
| 1970 | { |
| 1971 | "$ref": "#/definitions/ImageDetail" |
| 1972 | }, |
| 1973 | { |
| 1974 | "type": "null" |
| 1975 | } |
| 1976 | ], |
| 1977 | "default": null |
| 1978 | }, |
| 1979 | "type": { |
| 1980 | "enum": [ |
| 1981 | "image" |
| 1982 | ], |
| 1983 | "type": "string" |
| 1984 | } |
| 1985 | }, |
| 1986 | "required": [ |
| 1987 | "type" |
| 1988 | ], |
| 1989 | "type": "object" |
| 1990 | }, |
| 1991 | { |
| 1992 | "properties": { |
| 1993 | "detail": { |
| 1994 | "anyOf": [ |
| 1995 | { |
| 1996 | "$ref": "#/definitions/ImageDetail" |
| 1997 | }, |
| 1998 | { |
| 1999 | "type": "null" |
| 2000 | } |
| 2001 | ], |
| 2002 | "default": null |
| 2003 | }, |
| 2004 | "path": { |
| 2005 | "type": "string" |
| 2006 | }, |
| 2007 | "type": { |
| 2008 | "enum": [ |
| 2009 | "localImage" |
| 2010 | ], |
| 2011 | "type": "string" |
| 2012 | } |
| 2013 | }, |
| 2014 | "required": [ |
| 2015 | "path", |
| 2016 | "type" |
| 2017 | ], |
| 2018 | "type": "object" |
| 2019 | }, |
| 2020 | { |
| 2021 | "properties": { |
| 2022 | "type": { |
| 2023 | "enum": [ |
| 2024 | "audio" |
| 2025 | ], |
| 2026 | "type": "string" |
| 2027 | }, |
| 2028 | "url": { |
| 2029 | "type": "string" |
| 2030 | } |
| 2031 | }, |
| 2032 | "required": [ |
| 2033 | "type", |
| 2034 | "url" |
| 2035 | ], |
| 2036 | "type": "object" |
| 2037 | }, |
| 2038 | { |
| 2039 | "properties": { |
| 2040 | "path": { |
| 2041 | "type": "string" |
| 2042 | }, |
| 2043 | "type": { |
| 2044 | "enum": [ |
| 2045 | "localAudio" |
| 2046 | ], |
| 2047 | "type": "string" |
| 2048 | } |
| 2049 | }, |
| 2050 | "required": [ |
| 2051 | "path", |
| 2052 | "type" |
| 2053 | ], |
| 2054 | "type": "object" |
| 2055 | }, |
| 2056 | { |
| 2057 | "properties": { |
| 2058 | "name": { |
| 2059 | "type": "string" |
| 2060 | }, |
| 2061 | "path": { |
| 2062 | "type": "string" |
| 2063 | }, |
| 2064 | "type": { |
| 2065 | "enum": [ |
| 2066 | "skill" |
| 2067 | ], |
| 2068 | "type": "string" |
| 2069 | } |
| 2070 | }, |
| 2071 | "required": [ |
| 2072 | "name", |
| 2073 | "path", |
| 2074 | "type" |
| 2075 | ], |
| 2076 | "type": "object" |
| 2077 | }, |
| 2078 | { |
| 2079 | "properties": { |
| 2080 | "name": { |
| 2081 | "type": "string" |
| 2082 | }, |
| 2083 | "path": { |
| 2084 | "type": "string" |
| 2085 | }, |
| 2086 | "type": { |
| 2087 | "enum": [ |
| 2088 | "mention" |
| 2089 | ], |
| 2090 | "type": "string" |
| 2091 | } |
| 2092 | }, |
| 2093 | "required": [ |
| 2094 | "name", |
| 2095 | "path", |
| 2096 | "type" |
| 2097 | ], |
| 2098 | "type": "object" |
| 2099 | } |
| 2100 | ] |
| 2101 | }, |
| 2102 | "WebSearchAction": { |
| 2103 | "oneOf": [ |
| 2104 | { |
| 2105 | "properties": { |
| 2106 | "queries": { |
| 2107 | "items": { |
| 2108 | "type": "string" |
| 2109 | }, |
| 2110 | "type": [ |
| 2111 | "array", |
| 2112 | "null" |
| 2113 | ] |
| 2114 | }, |
| 2115 | "query": { |
| 2116 | "type": [ |
| 2117 | "string", |
| 2118 | "null" |
| 2119 | ] |
| 2120 | }, |
| 2121 | "type": { |
| 2122 | "enum": [ |
| 2123 | "search" |
| 2124 | ], |
| 2125 | "type": "string" |
| 2126 | } |
| 2127 | }, |
| 2128 | "required": [ |
| 2129 | "type" |
| 2130 | ], |
| 2131 | "type": "object" |
| 2132 | }, |
| 2133 | { |
| 2134 | "properties": { |
| 2135 | "type": { |
| 2136 | "enum": [ |
| 2137 | "openPage" |
| 2138 | ], |
| 2139 | "type": "string" |
| 2140 | }, |
| 2141 | "url": { |
| 2142 | "type": [ |
| 2143 | "string", |
| 2144 | "null" |
| 2145 | ] |
| 2146 | } |
| 2147 | }, |
| 2148 | "required": [ |
| 2149 | "type" |
| 2150 | ], |
| 2151 | "type": "object" |
| 2152 | }, |
| 2153 | { |
| 2154 | "properties": { |
| 2155 | "pattern": { |
| 2156 | "type": [ |
| 2157 | "string", |
| 2158 | "null" |
| 2159 | ] |
| 2160 | }, |
| 2161 | "type": { |
| 2162 | "enum": [ |
| 2163 | "findInPage" |
| 2164 | ], |
| 2165 | "type": "string" |
| 2166 | }, |
| 2167 | "url": { |
| 2168 | "type": [ |
| 2169 | "string", |
| 2170 | "null" |
| 2171 | ] |
| 2172 | } |
| 2173 | }, |
| 2174 | "required": [ |
| 2175 | "type" |
| 2176 | ], |
| 2177 | "type": "object" |
| 2178 | }, |
| 2179 | { |
| 2180 | "properties": { |
| 2181 | "type": { |
| 2182 | "enum": [ |
| 2183 | "other" |
| 2184 | ], |
| 2185 | "type": "string" |
| 2186 | } |
| 2187 | }, |
| 2188 | "required": [ |
| 2189 | "type" |
| 2190 | ], |
| 2191 | "type": "object" |
| 2192 | } |
| 2193 | ] |
| 2194 | } |
| 2195 | }, |
| 2196 | "properties": { |
| 2197 | "turn": { |
| 2198 | "$ref": "#/definitions/Turn" |
| 2199 | } |
| 2200 | }, |
| 2201 | "required": [ |
| 2202 | "turn" |
| 2203 | ], |
| 2204 | "type": "object" |
| 2205 | } |
| 2206 | |