feat(headless): expose negotiated native log observation
This commit is contained in:
+243
@@ -0,0 +1,243 @@
|
||||
{
|
||||
"installation": {
|
||||
"installation": "/var/folders/0t/tfsqc14j5wbgh9h4s4dytwb00000gq/T/prometeu-log-read-58e3d38i",
|
||||
"profile": "debug",
|
||||
"kind": "isolated local staging; no release archive or selected installation update",
|
||||
"sha256": {
|
||||
"prometeu": "f35eeea1a13b48c382b108a7f516bc4205d635f6a1698e98d2b0acb12df49e58",
|
||||
"prometeu-runtime": "75e2a2c56d6a00d94bf265d4d0ed507d869e954ebcb26f9711c332a3a6cb5874",
|
||||
"prometeu-headless": "dce18f2d753c227e291fba41b761df0b6d04155d9fba44f4faed81d308b38212"
|
||||
}
|
||||
},
|
||||
"records": [
|
||||
{
|
||||
"capabilities": [
|
||||
"boot",
|
||||
"reset",
|
||||
"set_input",
|
||||
"clear_input",
|
||||
"advance",
|
||||
"capture",
|
||||
"get_state",
|
||||
"get_fault",
|
||||
"log_read",
|
||||
"cancel",
|
||||
"shutdown",
|
||||
"memcard",
|
||||
"memcard_mount",
|
||||
"memcard_unmount",
|
||||
"get_memcard_state",
|
||||
"memcard_reconcile",
|
||||
"memcard_continue_in_memory"
|
||||
],
|
||||
"limits": {
|
||||
"callTimeoutMs": 60000,
|
||||
"handshakeTimeoutMs": 5000,
|
||||
"maxCommandBytes": 65536,
|
||||
"maxFrames": 600,
|
||||
"maxResponseBytes": 33554432,
|
||||
"shutdownTimeoutMs": 5000
|
||||
},
|
||||
"protocolVersion": {
|
||||
"major": 1,
|
||||
"minor": 2
|
||||
},
|
||||
"runtimeVersion": "0.1.0",
|
||||
"sessionId": "fc44b1adef1a5044fccf5d801fa5f2c8",
|
||||
"type": "hello"
|
||||
},
|
||||
{
|
||||
"request": {
|
||||
"requestId": "init",
|
||||
"command": "initialize",
|
||||
"params": {
|
||||
"protocolVersion": {
|
||||
"major": 1,
|
||||
"minor": 2
|
||||
},
|
||||
"requiredCapabilities": [
|
||||
"log_read"
|
||||
]
|
||||
}
|
||||
},
|
||||
"response": {
|
||||
"requestId": "init",
|
||||
"result": {
|
||||
"capabilities": [
|
||||
"boot",
|
||||
"reset",
|
||||
"set_input",
|
||||
"clear_input",
|
||||
"advance",
|
||||
"capture",
|
||||
"get_state",
|
||||
"get_fault",
|
||||
"log_read",
|
||||
"cancel",
|
||||
"shutdown",
|
||||
"memcard",
|
||||
"memcard_mount",
|
||||
"memcard_unmount",
|
||||
"get_memcard_state",
|
||||
"memcard_reconcile",
|
||||
"memcard_continue_in_memory"
|
||||
],
|
||||
"protocolVersion": {
|
||||
"major": 1,
|
||||
"minor": 2
|
||||
}
|
||||
},
|
||||
"sessionId": "fc44b1adef1a5044fccf5d801fa5f2c8",
|
||||
"type": "response"
|
||||
}
|
||||
},
|
||||
{
|
||||
"request": {
|
||||
"requestId": "before",
|
||||
"command": "get_state",
|
||||
"params": {}
|
||||
},
|
||||
"response": {
|
||||
"requestId": "before",
|
||||
"result": {
|
||||
"appId": 0,
|
||||
"logicalFrameIndex": 0,
|
||||
"pc": 0,
|
||||
"stackTop": [],
|
||||
"status": "terminated",
|
||||
"tickIndex": 0
|
||||
},
|
||||
"sessionId": "fc44b1adef1a5044fccf5d801fa5f2c8",
|
||||
"type": "response"
|
||||
}
|
||||
},
|
||||
{
|
||||
"request": {
|
||||
"requestId": "logs",
|
||||
"command": "get_logs",
|
||||
"params": {
|
||||
"afterSequence": null,
|
||||
"limit": 1
|
||||
}
|
||||
},
|
||||
"response": {
|
||||
"requestId": "logs",
|
||||
"result": {
|
||||
"events": [
|
||||
{
|
||||
"appId": null,
|
||||
"frame": 0,
|
||||
"level": "info",
|
||||
"message": "PrometeuOS starting...",
|
||||
"sequence": 0,
|
||||
"source": "pos",
|
||||
"tag": 0,
|
||||
"timestampMs": 0
|
||||
}
|
||||
],
|
||||
"gap": false,
|
||||
"logEpoch": 0,
|
||||
"newestSequence": 0,
|
||||
"nextAfterSequence": 0,
|
||||
"oldestSequence": 0,
|
||||
"overflow": false,
|
||||
"sessionId": "fc44b1adef1a5044fccf5d801fa5f2c8"
|
||||
},
|
||||
"sessionId": "fc44b1adef1a5044fccf5d801fa5f2c8",
|
||||
"type": "response"
|
||||
}
|
||||
},
|
||||
{
|
||||
"request": {
|
||||
"requestId": "after",
|
||||
"command": "get_state",
|
||||
"params": {}
|
||||
},
|
||||
"response": {
|
||||
"requestId": "after",
|
||||
"result": {
|
||||
"appId": 0,
|
||||
"logicalFrameIndex": 0,
|
||||
"pc": 0,
|
||||
"stackTop": [],
|
||||
"status": "terminated",
|
||||
"tickIndex": 0
|
||||
},
|
||||
"sessionId": "fc44b1adef1a5044fccf5d801fa5f2c8",
|
||||
"type": "response"
|
||||
}
|
||||
},
|
||||
{
|
||||
"request": {
|
||||
"requestId": "reset",
|
||||
"command": "reset",
|
||||
"params": {}
|
||||
},
|
||||
"response": {
|
||||
"requestId": "reset",
|
||||
"result": {
|
||||
"appId": 0,
|
||||
"logicalFrameIndex": 0,
|
||||
"pc": 0,
|
||||
"stackTop": [],
|
||||
"status": "terminated",
|
||||
"tickIndex": 0
|
||||
},
|
||||
"sessionId": "fc44b1adef1a5044fccf5d801fa5f2c8",
|
||||
"type": "response"
|
||||
}
|
||||
},
|
||||
{
|
||||
"request": {
|
||||
"requestId": "continued",
|
||||
"command": "get_logs",
|
||||
"params": {
|
||||
"afterSequence": 0,
|
||||
"limit": 128
|
||||
}
|
||||
},
|
||||
"response": {
|
||||
"requestId": "continued",
|
||||
"result": {
|
||||
"events": [
|
||||
{
|
||||
"appId": null,
|
||||
"frame": 0,
|
||||
"level": "info",
|
||||
"message": "Firmware Reset",
|
||||
"sequence": 1,
|
||||
"source": "pos",
|
||||
"tag": 0,
|
||||
"timestampMs": 1
|
||||
}
|
||||
],
|
||||
"gap": false,
|
||||
"logEpoch": 0,
|
||||
"newestSequence": 1,
|
||||
"nextAfterSequence": 1,
|
||||
"oldestSequence": 0,
|
||||
"overflow": false,
|
||||
"sessionId": "fc44b1adef1a5044fccf5d801fa5f2c8"
|
||||
},
|
||||
"sessionId": "fc44b1adef1a5044fccf5d801fa5f2c8",
|
||||
"type": "response"
|
||||
}
|
||||
},
|
||||
{
|
||||
"request": {
|
||||
"requestId": "shutdown",
|
||||
"command": "shutdown",
|
||||
"params": {}
|
||||
},
|
||||
"response": {
|
||||
"requestId": "shutdown",
|
||||
"result": {
|
||||
"closed": true
|
||||
},
|
||||
"sessionId": "fc44b1adef1a5044fccf5d801fa5f2c8",
|
||||
"type": "response"
|
||||
}
|
||||
}
|
||||
],
|
||||
"readPreservedState": true
|
||||
}
|
||||
Reference in New Issue
Block a user