mirror of
https://github.com/openai/codex.git
synced 2026-04-25 23:24:55 +00:00
Add an experimental browserSession command/notification pair, post commands to a configurable remote browser HTTP endpoint, and emit browser state updates back to clients. Co-authored-by: Codex <noreply@openai.com>
60 lines
1.1 KiB
JSON
60 lines
1.1 KiB
JSON
{
|
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
"definitions": {
|
|
"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": {
|
|
"browserSessionId": {
|
|
"type": "string"
|
|
},
|
|
"browserState": {
|
|
"$ref": "#/definitions/BrowserSessionState"
|
|
}
|
|
},
|
|
"required": [
|
|
"browserSessionId",
|
|
"browserState"
|
|
],
|
|
"title": "BrowserSessionUpdatedNotification",
|
|
"type": "object"
|
|
} |