feat(codex): regenerate protocol bindings for Codex 0.159 (#14311)

Co-authored-by: Claude Opus 5.5 (1M context) <[email protected]>
This commit is contained in:
Julius MarmingeandClaude Opus 5.5 authored and GitHub committed 2026-09-29 13:31:23 -07:00
1 parent 1a553d0f5d
commit 422248515a
5 files changed
+515 -93

No files matched your search

+12 -2
View File
@@ -1,10 +1,20 @@
{
"version": 1,
"updatedAt": "2026-09-29T01:03:44Z",
"updatedAt": "2026-09-29T20:20:00Z",
"compatibility": [
{
"driver": "codex",
"t3CodeRange": ">=0.0.42",
"t3CodeRange": ">=0.0.44",
"recommendedRange": ">=0.159.0",
"ranges": [
{ "range": ">=0.156.0", "status": "supported" },
{ "range": ">=0.149.0 <0.156.0", "status": "unsupported" },
{ "range": "<0.149.0", "status": "broken" }
]
},
{
"driver": "codex",
"t3CodeRange": ">=0.0.42 <0.0.44",
"recommendedRange": ">=0.156.0",
"ranges": [
{ "range": ">=0.156.0", "status": "supported" },
@@ -17,7 +17,7 @@ import {
} from "effect/unstable/http";
import { ChildProcess, ChildProcessSpawner } from "effect/unstable/process";
const UPSTREAM_REF = "fe74a774532af67b5a4a3dec03ce9469e17f89af";
const UPSTREAM_REF = "687a119f0fcaace47e1f1abcc77cec6c813fd6da";
const USER_AGENT = "effect-codex-app-server-generator";
const GITHUB_API_BASE =
"https://api.github.com/repos/openai/codex/contents/codex-rs/app-server-protocol";
@@ -437,6 +437,9 @@ function resolveResponseTypeName(
generatedSchemaNames: ReadonlySet<string>,
): string {
const overrides: Record<string, string> = {
"account/gatewayOAuth/cancel": "GatewayOAuthCancelResponse",
"account/gatewayOAuth/login": "GatewayOAuthLoginResponse",
"account/gatewayOAuth/read": "GatewayOAuthReadResponse",
"account/logout": "LogoutAccountResponse",
"account/rateLimits/read": "GetAccountRateLimitsResponse",
"account/usage/read": "GetAccountTokenUsageResponse",
@@ -1,5 +1,5 @@
// This file is generated by the effect-codex-app-server package. Do not edit manually.
// Upstream protocol ref: fe74a774532af67b5a4a3dec03ce9469e17f89af
// Upstream protocol ref: 687a119f0fcaace47e1f1abcc77cec6c813fd6da
import * as CodexSchema from "./schema.gen.ts";
@@ -71,6 +71,9 @@ export const CLIENT_REQUEST_METHODS = {
"turn/interrupt": "turn/interrupt",
"review/start": "review/start",
"model/list": "model/list",
"account/gatewayOAuth/read": "account/gatewayOAuth/read",
"account/gatewayOAuth/login": "account/gatewayOAuth/login",
"account/gatewayOAuth/cancel": "account/gatewayOAuth/cancel",
"modelProvider/capabilities/read": "modelProvider/capabilities/read",
"experimentalFeature/list": "experimentalFeature/list",
"permissionProfile/list": "permissionProfile/list",
@@ -176,6 +179,7 @@ export const SERVER_NOTIFICATION_METHODS = {
"mcpServer/startupStatus/updated": "mcpServer/startupStatus/updated",
"mcpServer/event/stream/notification": "mcpServer/event/stream/notification",
"account/updated": "account/updated",
"account/gatewayOAuth/changed": "account/gatewayOAuth/changed",
"account/rateLimits/updated": "account/rateLimits/updated",
"app/list/updated": "app/list/updated",
"remoteControl/status/changed": "remoteControl/status/changed",
@@ -287,6 +291,9 @@ export interface ClientRequestParamsByMethod {
readonly "turn/interrupt": CodexSchema.V2TurnInterruptParams;
readonly "review/start": CodexSchema.V2ReviewStartParams;
readonly "model/list": CodexSchema.V2ModelListParams;
readonly "account/gatewayOAuth/read": undefined;
readonly "account/gatewayOAuth/login": undefined;
readonly "account/gatewayOAuth/cancel": undefined;
readonly "modelProvider/capabilities/read": CodexSchema.V2ModelProviderCapabilitiesReadParams;
readonly "experimentalFeature/list": CodexSchema.V2ExperimentalFeatureListParams;
readonly "permissionProfile/list": CodexSchema.V2PermissionProfileListParams;
@@ -394,6 +401,9 @@ export interface ClientRequestResponsesByMethod {
readonly "turn/interrupt": CodexSchema.V2TurnInterruptResponse;
readonly "review/start": CodexSchema.V2ReviewStartResponse;
readonly "model/list": CodexSchema.V2ModelListResponse;
readonly "account/gatewayOAuth/read": CodexSchema.V2GatewayOAuthReadResponse;
readonly "account/gatewayOAuth/login": CodexSchema.V2GatewayOAuthLoginResponse;
readonly "account/gatewayOAuth/cancel": CodexSchema.V2GatewayOAuthCancelResponse;
readonly "modelProvider/capabilities/read": CodexSchema.V2ModelProviderCapabilitiesReadResponse;
readonly "experimentalFeature/list": CodexSchema.V2ExperimentalFeatureListResponse;
readonly "permissionProfile/list": CodexSchema.V2PermissionProfileListResponse;
@@ -512,6 +522,7 @@ export interface ServerNotificationParamsByMethod {
readonly "mcpServer/startupStatus/updated": CodexSchema.V2McpServerStatusUpdatedNotification;
readonly "mcpServer/event/stream/notification": CodexSchema.V2McpServerEventStreamNotification;
readonly "account/updated": CodexSchema.V2AccountUpdatedNotification;
readonly "account/gatewayOAuth/changed": CodexSchema.V2GatewayOAuthChangedNotification;
readonly "account/rateLimits/updated": CodexSchema.V2AccountRateLimitsUpdatedNotification;
readonly "app/list/updated": CodexSchema.V2AppListUpdatedNotification;
readonly "remoteControl/status/changed": CodexSchema.V2RemoteControlStatusChangedNotification;
@@ -618,6 +629,9 @@ export const CLIENT_REQUEST_PARAMS = {
"turn/interrupt": CodexSchema.V2TurnInterruptParams,
"review/start": CodexSchema.V2ReviewStartParams,
"model/list": CodexSchema.V2ModelListParams,
"account/gatewayOAuth/read": undefined,
"account/gatewayOAuth/login": undefined,
"account/gatewayOAuth/cancel": undefined,
"modelProvider/capabilities/read": CodexSchema.V2ModelProviderCapabilitiesReadParams,
"experimentalFeature/list": CodexSchema.V2ExperimentalFeatureListParams,
"permissionProfile/list": CodexSchema.V2PermissionProfileListParams,
@@ -726,6 +740,9 @@ export const CLIENT_REQUEST_RESPONSES = {
"turn/interrupt": CodexSchema.V2TurnInterruptResponse,
"review/start": CodexSchema.V2ReviewStartResponse,
"model/list": CodexSchema.V2ModelListResponse,
"account/gatewayOAuth/read": CodexSchema.V2GatewayOAuthReadResponse,
"account/gatewayOAuth/login": CodexSchema.V2GatewayOAuthLoginResponse,
"account/gatewayOAuth/cancel": CodexSchema.V2GatewayOAuthCancelResponse,
"modelProvider/capabilities/read": CodexSchema.V2ModelProviderCapabilitiesReadResponse,
"experimentalFeature/list": CodexSchema.V2ExperimentalFeatureListResponse,
"permissionProfile/list": CodexSchema.V2PermissionProfileListResponse,
@@ -847,6 +864,7 @@ export const SERVER_NOTIFICATION_PARAMS = {
"mcpServer/startupStatus/updated": CodexSchema.V2McpServerStatusUpdatedNotification,
"mcpServer/event/stream/notification": CodexSchema.V2McpServerEventStreamNotification,
"account/updated": CodexSchema.V2AccountUpdatedNotification,
"account/gatewayOAuth/changed": CodexSchema.V2GatewayOAuthChangedNotification,
"account/rateLimits/updated": CodexSchema.V2AccountRateLimitsUpdatedNotification,
"app/list/updated": CodexSchema.V2AppListUpdatedNotification,
"remoteControl/status/changed": CodexSchema.V2RemoteControlStatusChangedNotification,
@@ -1,5 +1,5 @@
// This file is generated by the effect-codex-app-server package. Do not edit manually.
// Upstream protocol ref: fe74a774532af67b5a4a3dec03ce9469e17f89af
// Upstream protocol ref: 687a119f0fcaace47e1f1abcc77cec6c813fd6da
import * as CodexSchema from "./schema.gen.ts";
@@ -88,6 +88,10 @@ export const v2 = {
FsWatchResponse: CodexSchema.V2FsWatchResponse,
FsWriteFileParams: CodexSchema.V2FsWriteFileParams,
FsWriteFileResponse: CodexSchema.V2FsWriteFileResponse,
GatewayOAuthCancelResponse: CodexSchema.V2GatewayOAuthCancelResponse,
GatewayOAuthChangedNotification: CodexSchema.V2GatewayOAuthChangedNotification,
GatewayOAuthLoginResponse: CodexSchema.V2GatewayOAuthLoginResponse,
GatewayOAuthReadResponse: CodexSchema.V2GatewayOAuthReadResponse,
GetAccountParams: CodexSchema.V2GetAccountParams,
GetAccountRateLimitsResponse: CodexSchema.V2GetAccountRateLimitsResponse,
GetAccountResponse: CodexSchema.V2GetAccountResponse,
File diff suppressed because it is too large. Load diff