changedOutput schema / allOf
Previous value: -[
- {
- "if": {
- "properties": {
- "status": {
- "const": "ok"
- }
- }
- },
- "then": {
- "properties": {
- "data": {
- "properties": {
- "os": {
- "type": "string"
- },
- "physicalMemoryBytes": {
- "type": "number"
- },
- "processorCount": {
- "type": "number"
- },
- "timezone": {
- "type": "string"
- },
- "uptimeSeconds": {
- "type": "number"
- }
- },
- "required": [
- "os",
- "uptimeSeconds",
- "processorCount",
- "physicalMemoryBytes",
- "timezone"
- ],
- "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": {
+ "currentTime": {
+ "type": "string"
+ },
+ "localDate": {
+ "type": "string"
+ },
+ "localTime": {
+ "type": "string"
+ },
+ "os": {
+ "type": "string"
+ },
+ "physicalMemoryBytes": {
+ "type": "number"
+ },
+ "processorCount": {
+ "type": "number"
+ },
+ "timezone": {
+ "type": "string"
+ },
+ "unixTimeMs": {
+ "type": "number"
+ },
+ "uptimeSeconds": {
+ "type": "number"
+ },
+ "utcOffsetMinutes": {
+ "type": "number"
+ }
+ },
+ "required": [
+ "os",
+ "uptimeSeconds",
+ "processorCount",
+ "physicalMemoryBytes",
+ "timezone",
+ "currentTime",
+ "localTime",
+ "localDate",
+ "utcOffsetMinutes",
+ "unixTimeMs"
+ ],
+ "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"
+ }
+ }
+ }
+ }
+]