mirror of
https://github.com/openai/codex.git
synced 2026-04-25 23:24:55 +00:00
Add the AgentLib js_repl bridge, persist browser replay items in thread history, and surface remote browser artifacts through turn/start. Co-authored-by: Codex <noreply@openai.com>
103 lines
1.9 KiB
JSON
103 lines
1.9 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"
|
|
}
|
|
},
|
|
"required": [
|
|
"browserSessionId",
|
|
"browserState"
|
|
],
|
|
"title": "BrowserSessionUpdatedNotification",
|
|
"type": "object"
|
|
} |