changedOutput schema / allOf
Previous value: -[
- {
- "if": {
- "properties": {
- "status": {
- "const": "ok"
- }
- }
- },
- "then": {
- "properties": {
- "data": {
- "properties": {
- "addresses": {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "dnsMs": {
- "type": "number"
- },
- "hostname": {
- "type": "string"
- },
- "http": {
- "anyOf": [
- {
- "type": "null"
- },
- {
- "properties": {
- "elapsedMs": {
- "type": "number"
- },
- "reachable": {
- "type": "boolean"
- },
- "statusCode": {
- "type": "number"
- },
- "url": {
- "type": "string"
- }
- },
- "required": [
- "url",
- "statusCode",
- "elapsedMs",
- "reachable"
- ],
- "type": "object"
- }
- ]
- }
- },
- "required": [
- "hostname",
- "addresses",
- "dnsMs",
- "http"
- ],
- "type": "object"
- },
- "error": {
- "type": "null"
- }
- }
- }
- },
- {
- "if": {
- "properties": {
- "status": {
- "const": "confirmation_required"
- }
- }
- },
- "then": {
- "properties": {
- "data": {
- "properties": {
- "action": {
- "type": "string"
- },
- "approvalId": {
- "type": "string"
- },
- "expiresAt": {
- "type": "string"
- },
- "reviewUrl": {
- "enum": [
- "tinycast://extensions/cano/macos-agent-bridge/approvals",
- "raycast://extensions/cano/macos-agent-bridge/approvals"
- ]
- },
- "reviewUrls": {
- "properties": {
- "raycast": {
- "const": "raycast://extensions/cano/macos-agent-bridge/approvals"
- },
- "tinycast": {
- "const": "tinycast://extensions/cano/macos-agent-bridge/approvals"
- }
- },
- "required": [
- "tinycast",
- "raycast"
- ],
- "type": "object"
- }
- },
- "required": [
- "approvalId",
- "expiresAt",
- "action",
- "reviewUrl",
- "reviewUrls"
- ],
- "type": "object"
- },
- "error": {
- "type": "null"
- }
- }
- }
- }
-]New value: +[
+ {
+ "if": {
+ "properties": {
+ "status": {
+ "const": "ok"
+ }
+ }
+ },
+ "then": {
+ "properties": {
+ "data": {
+ "properties": {
+ "addresses": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "dnsMs": {
+ "type": "number"
+ },
+ "dnsSource": {
+ "enum": [
+ "system",
+ "public-doh"
+ ]
+ },
+ "hostname": {
+ "type": "string"
+ },
+ "http": {
+ "anyOf": [
+ {
+ "type": "null"
+ },
+ {
+ "properties": {
+ "dnsSource": {
+ "enum": [
+ "system",
+ "public-doh"
+ ]
+ },
+ "elapsedMs": {
+ "type": "number"
+ },
+ "fetchedAt": {
+ "type": "string"
+ },
+ "reachable": {
+ "type": "boolean"
+ },
+ "serverDate": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "statusCode": {
+ "type": "number"
+ },
+ "url": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "url",
+ "statusCode",
+ "elapsedMs",
+ "reachable",
+ "fetchedAt",
+ "serverDate",
+ "dnsSource"
+ ],
+ "type": "object"
+ }
+ ]
+ }
+ },
+ "required": [
+ "hostname",
+ "addresses",
+ "dnsSource",
+ "dnsMs",
+ "http"
+ ],
+ "type": "object"
+ },
+ "error": {
+ "type": "null"
+ }
+ }
+ }
+ },
+ {
+ "if": {
+ "properties": {
+ "status": {
+ "const": "confirmation_required"
+ }
+ }
+ },
+ "then": {
+ "properties": {
+ "data": {
+ "properties": {
+ "action": {
+ "type": "string"
+ },
+ "approvalId": {
+ "type": "string"
+ },
+ "expiresAt": {
+ "type": "string"
+ },
+ "reviewUrl": {
+ "enum": [
+ "tinycast://extensions/cano/macos-agent-bridge/approvals",
+ "raycast://extensions/cano/macos-agent-bridge/approvals"
+ ]
+ },
+ "reviewUrls": {
+ "properties": {
+ "raycast": {
+ "const": "raycast://extensions/cano/macos-agent-bridge/approvals"
+ },
+ "tinycast": {
+ "const": "tinycast://extensions/cano/macos-agent-bridge/approvals"
+ }
+ },
+ "required": [
+ "tinycast",
+ "raycast"
+ ],
+ "type": "object"
+ }
+ },
+ "required": [
+ "approvalId",
+ "expiresAt",
+ "action",
+ "reviewUrl",
+ "reviewUrls"
+ ],
+ "type": "object"
+ },
+ "error": {
+ "type": "null"
+ }
+ }
+ }
+ }
+]