mirror of
https://github.com/openai/codex.git
synced 2026-04-26 07:35:29 +00:00
Add app-server remote browser bridge
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>
This commit is contained in:
@@ -0,0 +1,60 @@
|
||||
{
|
||||
"$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"
|
||||
}
|
||||
Reference in New Issue
Block a user