mirror of
https://github.com/openai/codex.git
synced 2026-04-25 07:05:38 +00:00
Only auto-inject the hidden atlas bridge when remote browsing is configured, include thread ids in browser session notifications, and persist Atlas browser state plus image artifacts so replay items can be rebuilt from history. Co-authored-by: Codex <noreply@openai.com>
110 lines
2.0 KiB
JSON
110 lines
2.0 KiB
JSON
{
|
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
"definitions": {
|
|
"BrowserSessionArtifacts": {
|
|
"properties": {
|
|
"replayFrameCount": {
|
|
"format": "uint32",
|
|
"minimum": 0.0,
|
|
"type": [
|
|
"integer",
|
|
"null"
|
|
]
|
|
},
|
|
"replayFrameDurationMs": {
|
|
"format": "uint32",
|
|
"minimum": 0.0,
|
|
"type": [
|
|
"integer",
|
|
"null"
|
|
]
|
|
},
|
|
"replayGifImageUrl": {
|
|
"type": [
|
|
"string",
|
|
"null"
|
|
]
|
|
},
|
|
"screenshotImageUrl": {
|
|
"type": [
|
|
"string",
|
|
"null"
|
|
]
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"BrowserSessionState": {
|
|
"properties": {
|
|
"selectedTabId": {
|
|
"type": "string"
|
|
},
|
|
"tabs": {
|
|
"items": {
|
|
"$ref": "#/definitions/BrowserTabState"
|
|
},
|
|
"type": "array"
|
|
}
|
|
},
|
|
"required": [
|
|
"selectedTabId",
|
|
"tabs"
|
|
],
|
|
"type": "object"
|
|
},
|
|
"BrowserTabState": {
|
|
"properties": {
|
|
"id": {
|
|
"type": "string"
|
|
},
|
|
"selected": {
|
|
"type": "boolean"
|
|
},
|
|
"title": {
|
|
"type": "string"
|
|
},
|
|
"url": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [
|
|
"id",
|
|
"selected",
|
|
"title",
|
|
"url"
|
|
],
|
|
"type": "object"
|
|
}
|
|
},
|
|
"properties": {
|
|
"artifacts": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/definitions/BrowserSessionArtifacts"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"browserSessionId": {
|
|
"type": "string"
|
|
},
|
|
"browserState": {
|
|
"$ref": "#/definitions/BrowserSessionState"
|
|
},
|
|
"threadId": {
|
|
"type": [
|
|
"string",
|
|
"null"
|
|
]
|
|
}
|
|
},
|
|
"required": [
|
|
"browserSessionId",
|
|
"browserState"
|
|
],
|
|
"title": "BrowserSessionUpdatedNotification",
|
|
"type": "object"
|
|
}
|