[codex-app-server] expose generic per-surface HTTP state bridge [ci changed_files]

This commit is contained in:
Cooper Gamble
2026-06-03 09:58:07 +00:00
parent bf1b28e1c1
commit 81ccd4cbf2
25 changed files with 323 additions and 336 deletions
@@ -2339,9 +2339,9 @@
},
"method": {
"enum": [
"nativeIntegrityState/read"
"httpState/get"
],
"title": "NativeIntegrityState/readRequestMethod",
"title": "HttpState/getRequestMethod",
"type": "string"
},
"params": {
@@ -2352,7 +2352,7 @@
"id",
"method"
],
"title": "NativeIntegrityState/readRequest",
"title": "HttpState/getRequest",
"type": "object"
},
{
@@ -2362,13 +2362,13 @@
},
"method": {
"enum": [
"nativeIntegrityState/write"
"httpState/set"
],
"title": "NativeIntegrityState/writeRequestMethod",
"title": "HttpState/setRequestMethod",
"type": "string"
},
"params": {
"$ref": "#/definitions/NativeIntegrityStateWriteParams"
"$ref": "#/definitions/HttpStateSetParams"
}
},
"required": [
@@ -2376,7 +2376,7 @@
"method",
"params"
],
"title": "NativeIntegrityState/writeRequest",
"title": "HttpState/setRequest",
"type": "object"
},
{
@@ -2386,9 +2386,9 @@
},
"method": {
"enum": [
"nativeIntegrityState/clear"
"httpState/clear"
],
"title": "NativeIntegrityState/clearRequestMethod",
"title": "HttpState/clearRequestMethod",
"type": "string"
},
"params": {
@@ -2399,7 +2399,7 @@
"id",
"method"
],
"title": "NativeIntegrityState/clearRequest",
"title": "HttpState/clearRequest",
"type": "object"
},
{
@@ -6780,6 +6780,57 @@
"title": "HooksListResponse",
"type": "object"
},
"HttpStateClearResponse": {
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "HttpStateClearResponse",
"type": "object"
},
"HttpStateGetResponse": {
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"state": {
"type": [
"string",
"null"
]
}
},
"title": "HttpStateGetResponse",
"type": "object"
},
"HttpStateSetParams": {
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"expectedState": {
"description": "When present, write only if the calling surface still stores this state.",
"type": [
"string",
"null"
]
},
"state": {
"type": "string"
}
},
"required": [
"state"
],
"title": "HttpStateSetParams",
"type": "object"
},
"HttpStateSetResponse": {
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"written": {
"type": "boolean"
}
},
"required": [
"written"
],
"title": "HttpStateSetResponse",
"type": "object"
},
"ImageDetail": {
"enum": [
"auto",
@@ -8382,57 +8433,6 @@
"title": "ModelVerificationNotification",
"type": "object"
},
"NativeIntegrityStateClearResponse": {
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "NativeIntegrityStateClearResponse",
"type": "object"
},
"NativeIntegrityStateReadResponse": {
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"state": {
"type": [
"string",
"null"
]
}
},
"title": "NativeIntegrityStateReadResponse",
"type": "object"
},
"NativeIntegrityStateWriteParams": {
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"expectedState": {
"description": "When present, write only if the calling surface still stores this state.",
"type": [
"string",
"null"
]
},
"state": {
"type": "string"
}
},
"required": [
"state"
],
"title": "NativeIntegrityStateWriteParams",
"type": "object"
},
"NativeIntegrityStateWriteResponse": {
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"written": {
"type": "boolean"
}
},
"required": [
"written"
],
"title": "NativeIntegrityStateWriteResponse",
"type": "object"
},
"NetworkAccess": {
"enum": [
"restricted",