| 1 | { |
| 2 | "$schema": "http://json-schema.org/draft-07/schema#", |
| 3 | "definitions": { |
| 4 | "AbsolutePathBuf": { |
| 5 | "type": "string" |
| 6 | }, |
| 7 | "ApprovalsReviewer": { |
| 8 | "enum": [ |
| 9 | "user", |
| 10 | "auto_review", |
| 11 | "guardian_subagent" |
| 12 | ], |
| 13 | "type": "string" |
| 14 | }, |
| 15 | "AskForApproval": { |
| 16 | "oneOf": [ |
| 17 | { |
| 18 | "enum": [ |
| 19 | "untrusted", |
| 20 | "on-request", |
| 21 | "never" |
| 22 | ], |
| 23 | "type": "string" |
| 24 | }, |
| 25 | { |
| 26 | "additionalProperties": false, |
| 27 | "properties": { |
| 28 | "granular": { |
| 29 | "properties": { |
| 30 | "mcp_elicitations": { |
| 31 | "type": "boolean" |
| 32 | }, |
| 33 | "request_permissions": { |
| 34 | "default": false, |
| 35 | "type": "boolean" |
| 36 | }, |
| 37 | "rules": { |
| 38 | "type": "boolean" |
| 39 | }, |
| 40 | "sandbox_approval": { |
| 41 | "type": "boolean" |
| 42 | }, |
| 43 | "skill_approval": { |
| 44 | "default": false, |
| 45 | "type": "boolean" |
| 46 | } |
| 47 | }, |
| 48 | "required": [ |
| 49 | "mcp_elicitations", |
| 50 | "rules", |
| 51 | "sandbox_approval" |
| 52 | ], |
| 53 | "type": "object" |
| 54 | } |
| 55 | }, |
| 56 | "required": [ |
| 57 | "granular" |
| 58 | ], |
| 59 | "type": "object" |
| 60 | } |
| 61 | ] |
| 62 | }, |
| 63 | "CapabilityRootLocation": { |
| 64 | "oneOf": [ |
| 65 | { |
| 66 | "properties": { |
| 67 | "environmentId": { |
| 68 | "type": "string" |
| 69 | }, |
| 70 | "path": { |
| 71 | "type": "string" |
| 72 | }, |
| 73 | "type": { |
| 74 | "enum": [ |
| 75 | "environment" |
| 76 | ], |
| 77 | "type": "string" |
| 78 | } |
| 79 | }, |
| 80 | "required": [ |
| 81 | "environmentId", |
| 82 | "path", |
| 83 | "type" |
| 84 | ], |
| 85 | "type": "object" |
| 86 | } |
| 87 | ] |
| 88 | }, |
| 89 | "DynamicToolNamespaceTool": { |
| 90 | "oneOf": [ |
| 91 | { |
| 92 | "properties": { |
| 93 | "deferLoading": { |
| 94 | "type": "boolean" |
| 95 | }, |
| 96 | "inputSchema": true, |
| 97 | "name": { |
| 98 | "type": "string" |
| 99 | }, |
| 100 | "type": { |
| 101 | "enum": [ |
| 102 | "function" |
| 103 | ], |
| 104 | "type": "string" |
| 105 | } |
| 106 | }, |
| 107 | "required": [ |
| 108 | "description", |
| 109 | "inputSchema", |
| 110 | "name", |
| 111 | "type" |
| 112 | ], |
| 113 | "type": "object" |
| 114 | } |
| 115 | ] |
| 116 | }, |
| 117 | "DynamicToolSpec": { |
| 118 | "oneOf": [ |
| 119 | { |
| 120 | "properties": { |
| 121 | "deferLoading": { |
| 122 | "type": "boolean" |
| 123 | }, |
| 124 | "inputSchema": true, |
| 125 | "name": { |
| 126 | "type": "string" |
| 127 | }, |
| 128 | "type": { |
| 129 | "enum": [ |
| 130 | "function" |
| 131 | ], |
| 132 | "type": "string" |
| 133 | } |
| 134 | }, |
| 135 | "required": [ |
| 136 | "description", |
| 137 | "inputSchema", |
| 138 | "name", |
| 139 | "type" |
| 140 | ], |
| 141 | "type": "object" |
| 142 | }, |
| 143 | { |
| 144 | "properties": { |
| 145 | "name": { |
| 146 | "type": "string" |
| 147 | }, |
| 148 | "tools": { |
| 149 | "items": { |
| 150 | "$ref": "#/definitions/DynamicToolNamespaceTool" |
| 151 | }, |
| 152 | "type": "array" |
| 153 | }, |
| 154 | "type": { |
| 155 | "enum": [ |
| 156 | "namespace" |
| 157 | ], |
| 158 | "type": "string" |
| 159 | } |
| 160 | }, |
| 161 | "required": [ |
| 162 | "description", |
| 163 | "name", |
| 164 | "tools", |
| 165 | "type" |
| 166 | ], |
| 167 | "type": "object" |
| 168 | } |
| 169 | ] |
| 170 | }, |
| 171 | "LegacyAppPathString": { |
| 172 | "type": "string" |
| 173 | }, |
| 174 | "MultiAgentMode": { |
| 175 | "oneOf": [ |
| 176 | { |
| 177 | "enum": [ |
| 178 | "explicitRequestOnly", |
| 179 | "proactive" |
| 180 | ], |
| 181 | "type": "string" |
| 182 | }, |
| 183 | { |
| 184 | "additionalProperties": false, |
| 185 | "properties": { |
| 186 | "custom": { |
| 187 | "type": "string" |
| 188 | } |
| 189 | }, |
| 190 | "required": [ |
| 191 | "custom" |
| 192 | ], |
| 193 | "type": "object" |
| 194 | } |
| 195 | ] |
| 196 | }, |
| 197 | "Personality": { |
| 198 | "enum": [ |
| 199 | "none", |
| 200 | "friendly", |
| 201 | "pragmatic" |
| 202 | ], |
| 203 | "type": "string" |
| 204 | }, |
| 205 | "SandboxMode": { |
| 206 | "enum": [ |
| 207 | "read-only", |
| 208 | "workspace-write", |
| 209 | "danger-full-access" |
| 210 | ], |
| 211 | "type": "string" |
| 212 | }, |
| 213 | "SelectedCapabilityRoot": { |
| 214 | "properties": { |
| 215 | "id": { |
| 216 | "type": "string" |
| 217 | }, |
| 218 | "location": { |
| 219 | "allOf": [ |
| 220 | { |
| 221 | "$ref": "#/definitions/CapabilityRootLocation" |
| 222 | } |
| 223 | ] |
| 224 | } |
| 225 | }, |
| 226 | "required": [ |
| 227 | "id", |
| 228 | "location" |
| 229 | ], |
| 230 | "type": "object" |
| 231 | }, |
| 232 | "ThreadHistoryMode": { |
| 233 | "enum": [ |
| 234 | "legacy", |
| 235 | "paginated" |
| 236 | ], |
| 237 | "type": "string" |
| 238 | }, |
| 239 | "ThreadSource": { |
| 240 | "type": "string" |
| 241 | }, |
| 242 | "ThreadStartSource": { |
| 243 | "enum": [ |
| 244 | "startup", |
| 245 | "clear" |
| 246 | ], |
| 247 | "type": "string" |
| 248 | }, |
| 249 | "TurnEnvironmentParams": { |
| 250 | "properties": { |
| 251 | "cwd": { |
| 252 | "$ref": "#/definitions/LegacyAppPathString" |
| 253 | }, |
| 254 | "environmentId": { |
| 255 | "type": "string" |
| 256 | }, |
| 257 | "runtimeWorkspaceRoots": { |
| 258 | "items": { |
| 259 | "$ref": "#/definitions/LegacyAppPathString" |
| 260 | }, |
| 261 | "type": [ |
| 262 | "array", |
| 263 | "null" |
| 264 | ] |
| 265 | } |
| 266 | }, |
| 267 | "required": [ |
| 268 | "cwd", |
| 269 | "environmentId" |
| 270 | ], |
| 271 | "type": "object" |
| 272 | } |
| 273 | }, |
| 274 | "properties": { |
| 275 | "allowProviderModelFallback": { |
| 276 | "type": "boolean" |
| 277 | }, |
| 278 | "approvalPolicy": { |
| 279 | "anyOf": [ |
| 280 | { |
| 281 | "$ref": "#/definitions/AskForApproval" |
| 282 | }, |
| 283 | { |
| 284 | "type": "null" |
| 285 | } |
| 286 | ] |
| 287 | }, |
| 288 | "approvalsReviewer": { |
| 289 | "anyOf": [ |
| 290 | { |
| 291 | "$ref": "#/definitions/ApprovalsReviewer" |
| 292 | }, |
| 293 | { |
| 294 | "type": "null" |
| 295 | } |
| 296 | ] |
| 297 | }, |
| 298 | "baseInstructions": { |
| 299 | "type": [ |
| 300 | "string", |
| 301 | "null" |
| 302 | ] |
| 303 | }, |
| 304 | "config": { |
| 305 | "additionalProperties": true, |
| 306 | "type": [ |
| 307 | "object", |
| 308 | "null" |
| 309 | ] |
| 310 | }, |
| 311 | "cwd": { |
| 312 | "type": [ |
| 313 | "string", |
| 314 | "null" |
| 315 | ] |
| 316 | }, |
| 317 | "daybreakEnabled": { |
| 318 | "type": [ |
| 319 | "boolean", |
| 320 | "null" |
| 321 | ] |
| 322 | }, |
| 323 | "developerInstructions": { |
| 324 | "type": [ |
| 325 | "string", |
| 326 | "null" |
| 327 | ] |
| 328 | }, |
| 329 | "dynamicTools": { |
| 330 | "default": null, |
| 331 | "items": { |
| 332 | "$ref": "#/definitions/DynamicToolSpec" |
| 333 | }, |
| 334 | "type": [ |
| 335 | "array", |
| 336 | "null" |
| 337 | ] |
| 338 | }, |
| 339 | "environments": { |
| 340 | "items": { |
| 341 | "$ref": "#/definitions/TurnEnvironmentParams" |
| 342 | }, |
| 343 | "type": [ |
| 344 | "array", |
| 345 | "null" |
| 346 | ] |
| 347 | }, |
| 348 | "ephemeral": { |
| 349 | "type": [ |
| 350 | "boolean", |
| 351 | "null" |
| 352 | ] |
| 353 | }, |
| 354 | "experimentalRawEvents": { |
| 355 | "type": "boolean" |
| 356 | }, |
| 357 | "historyMode": { |
| 358 | "anyOf": [ |
| 359 | { |
| 360 | "$ref": "#/definitions/ThreadHistoryMode" |
| 361 | }, |
| 362 | { |
| 363 | "type": "null" |
| 364 | } |
| 365 | ] |
| 366 | }, |
| 367 | "mockExperimentalField": { |
| 368 | "type": [ |
| 369 | "string", |
| 370 | "null" |
| 371 | ] |
| 372 | }, |
| 373 | "model": { |
| 374 | "type": [ |
| 375 | "string", |
| 376 | "null" |
| 377 | ] |
| 378 | }, |
| 379 | "modelProvider": { |
| 380 | "type": [ |
| 381 | "string", |
| 382 | "null" |
| 383 | ] |
| 384 | }, |
| 385 | "multiAgentMode": { |
| 386 | "anyOf": [ |
| 387 | { |
| 388 | "$ref": "#/definitions/MultiAgentMode" |
| 389 | }, |
| 390 | { |
| 391 | "type": "null" |
| 392 | } |
| 393 | ] |
| 394 | }, |
| 395 | "permissions": { |
| 396 | "type": [ |
| 397 | "string", |
| 398 | "null" |
| 399 | ] |
| 400 | }, |
| 401 | "personality": { |
| 402 | "anyOf": [ |
| 403 | { |
| 404 | "$ref": "#/definitions/Personality" |
| 405 | }, |
| 406 | { |
| 407 | "type": "null" |
| 408 | } |
| 409 | ] |
| 410 | }, |
| 411 | "projectId": { |
| 412 | "type": [ |
| 413 | "string", |
| 414 | "null" |
| 415 | ] |
| 416 | }, |
| 417 | "runtimeWorkspaceRoots": { |
| 418 | "items": { |
| 419 | "$ref": "#/definitions/AbsolutePathBuf" |
| 420 | }, |
| 421 | "type": [ |
| 422 | "array", |
| 423 | "null" |
| 424 | ] |
| 425 | }, |
| 426 | "sandbox": { |
| 427 | "anyOf": [ |
| 428 | { |
| 429 | "$ref": "#/definitions/SandboxMode" |
| 430 | }, |
| 431 | { |
| 432 | "type": "null" |
| 433 | } |
| 434 | ] |
| 435 | }, |
| 436 | "selectedCapabilityRoots": { |
| 437 | "items": { |
| 438 | "$ref": "#/definitions/SelectedCapabilityRoot" |
| 439 | }, |
| 440 | "type": [ |
| 441 | "array", |
| 442 | "null" |
| 443 | ] |
| 444 | }, |
| 445 | "serviceName": { |
| 446 | "type": [ |
| 447 | "string", |
| 448 | "null" |
| 449 | ] |
| 450 | }, |
| 451 | "serviceTier": { |
| 452 | "type": [ |
| 453 | "string", |
| 454 | "null" |
| 455 | ] |
| 456 | }, |
| 457 | "sessionStartSource": { |
| 458 | "anyOf": [ |
| 459 | { |
| 460 | "$ref": "#/definitions/ThreadStartSource" |
| 461 | }, |
| 462 | { |
| 463 | "type": "null" |
| 464 | } |
| 465 | ] |
| 466 | }, |
| 467 | "threadSource": { |
| 468 | "anyOf": [ |
| 469 | { |
| 470 | "$ref": "#/definitions/ThreadSource" |
| 471 | }, |
| 472 | { |
| 473 | "type": "null" |
| 474 | } |
| 475 | ] |
| 476 | } |
| 477 | }, |
| 478 | "type": "object" |
| 479 | } |
| 480 | |