changedOutput schema / anyOf
Previous value: -[
- {
- "oneOf": [
- {
- "additionalProperties": false,
- "properties": {
- "ok": {
- "const": true,
- "type": "boolean"
- },
- "output": {
- "additionalProperties": false,
- "properties": {
- "confirmationToken": {
- "pattern": "^publish_image_v1\\.[A-Za-z0-9_-]{43}$",
- "type": "string"
- },
- "estimatedMilliCredits": {
- "$ref": "#/$defs/__schema0"
- },
- "expiresAt": {
- "maximum": 9007199254740991,
- "minimum": -9007199254740991,
- "type": "integer"
- },
- "expiresAtIso": {
- "description": "The exact expiry as a UTC instant.",
- "format": "date-time",
- "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
- "type": "string"
- },
- "maximumMilliCredits": {
- "$ref": "#/$defs/__schema0"
- },
- "publicId": {
- "maxLength": 128,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9][A-Za-z0-9._:-]*$",
- "type": "string"
- }
- },
- "required": [
- "confirmationToken",
- "estimatedMilliCredits",
- "expiresAt",
- "expiresAtIso",
- "maximumMilliCredits",
- "publicId"
- ],
- "type": "object"
- },
- "toolName": {
- "const": "imageGenerationQuote",
- "type": "string"
- }
- },
- "required": [
- "ok",
- "output",
- "toolName"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "error": {
- "additionalProperties": false,
- "properties": {
- "code": {
- "enum": [
- "AI_SCHEDULING_LIMIT_REACHED",
- "AI_SCHEDULING_UNAVAILABLE",
- "INVALID_INPUT",
- "FORBIDDEN",
- "NOT_FOUND",
- "CONFLICT",
- "FEATURE_DISABLED",
- "CONFIRMATION_REQUIRED",
- "CONFIRMATION_INVALID",
- "UPSTREAM_FAILED",
- "NEEDS_REVIEW",
- "INTERNAL"
- ],
- "type": "string"
- },
- "message": {
- "maxLength": 2048,
- "minLength": 1,
- "type": "string"
- },
- "retryable": {
- "type": "boolean"
- }
- },
- "required": [
- "code",
- "message",
- "retryable"
- ],
- "type": "object"
- },
- "ok": {
- "const": false,
- "type": "boolean"
- },
- "toolName": {
- "const": "imageGenerationQuote",
- "type": "string"
- }
- },
- "required": [
- "error",
- "ok",
- "toolName"
- ],
- "type": "object"
- }
- ]
- },
- {
- "additionalProperties": false,
- "properties": {
- "confirmationCapability": {
- "description": "Issued by Influence for this preparation. Return it unchanged as _confirmationCapability before expiresAt to confirm this prepared action; never invent or modify it.",
- "maxLength": 4096,
- "minLength": 32,
- "pattern": "^[A-Za-z0-9._~-]+$",
- "type": "string"
- },
- "expiresAt": {
- "format": "date-time",
- "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
- "type": "string"
- },
- "inputDigest": {
- "pattern": "^[0-9a-f]{64}$",
- "type": "string"
- },
- "status": {
- "const": "confirmation_required",
- "type": "string"
- },
- "summary": {
- "$ref": "#/$defs/__schema1"
- },
- "toolName": {
- "const": "imageGenerationQuote",
- "type": "string"
- }
- },
- "required": [
- "confirmationCapability",
- "expiresAt",
- "inputDigest",
- "status",
- "toolName"
- ],
- "type": "object"
- }
-]New value: +[
+ {
+ "oneOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "ok": {
+ "const": true,
+ "type": "boolean"
+ },
+ "output": {
+ "additionalProperties": false,
+ "properties": {
+ "confirmationToken": {
+ "pattern": "^publish_image_v1\\.[A-Za-z0-9_-]{43}$",
+ "type": "string"
+ },
+ "estimatedMilliCredits": {
+ "$ref": "#/$defs/__schema0"
+ },
+ "expiresAt": {
+ "maximum": 9007199254740991,
+ "minimum": -9007199254740991,
+ "type": "integer"
+ },
+ "expiresAtIso": {
+ "description": "The exact expiry as a UTC instant.",
+ "format": "date-time",
+ "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
+ "type": "string"
+ },
+ "maximumMilliCredits": {
+ "$ref": "#/$defs/__schema0"
+ },
+ "publicId": {
+ "maxLength": 128,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9._:-]*$",
+ "type": "string"
+ }
+ },
+ "required": [
+ "confirmationToken",
+ "estimatedMilliCredits",
+ "expiresAt",
+ "expiresAtIso",
+ "maximumMilliCredits",
+ "publicId"
+ ],
+ "type": "object"
+ },
+ "toolName": {
+ "const": "imageGenerationQuote",
+ "type": "string"
+ }
+ },
+ "required": [
+ "ok",
+ "output",
+ "toolName"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "error": {
+ "additionalProperties": false,
+ "properties": {
+ "code": {
+ "enum": [
+ "AI_SCHEDULING_LIMIT_REACHED",
+ "AI_SCHEDULING_UNAVAILABLE",
+ "INVALID_INPUT",
+ "FORBIDDEN",
+ "NOT_FOUND",
+ "CONFLICT",
+ "FEATURE_DISABLED",
+ "CONFIRMATION_REQUIRED",
+ "CONFIRMATION_INVALID",
+ "UPSTREAM_FAILED",
+ "NEEDS_REVIEW",
+ "INTERNAL"
+ ],
+ "type": "string"
+ },
+ "message": {
+ "maxLength": 2048,
+ "minLength": 1,
+ "type": "string"
+ },
+ "retryable": {
+ "type": "boolean"
+ }
+ },
+ "required": [
+ "code",
+ "message",
+ "retryable"
+ ],
+ "type": "object"
+ },
+ "ok": {
+ "const": false,
+ "type": "boolean"
+ },
+ "toolName": {
+ "const": "imageGenerationQuote",
+ "type": "string"
+ }
+ },
+ "required": [
+ "error",
+ "ok",
+ "toolName"
+ ],
+ "type": "object"
+ }
+ ]
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "confirmationCapability": {
+ "description": "Opaque capability bound to the prepared toolName, inputDigest, connection, workspace and expiresAt. The publish_confirm_v1 prefix identifies the shared confirmation protocol.",
+ "maxLength": 4096,
+ "minLength": 32,
+ "pattern": "^[A-Za-z0-9._~-]+$",
+ "type": "string"
+ },
+ "expiresAt": {
+ "format": "date-time",
+ "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
+ "type": "string"
+ },
+ "inputDigest": {
+ "pattern": "^[0-9a-f]{64}$",
+ "type": "string"
+ },
+ "status": {
+ "const": "confirmation_required",
+ "type": "string"
+ },
+ "summary": {
+ "$ref": "#/$defs/__schema1"
+ },
+ "toolName": {
+ "const": "imageGenerationQuote",
+ "type": "string"
+ }
+ },
+ "required": [
+ "confirmationCapability",
+ "expiresAt",
+ "inputDigest",
+ "status",
+ "toolName"
+ ],
+ "type": "object"
+ }
+]