Skip to content

Commit 4222485

Browse files
feat(codex): regenerate protocol bindings for Codex 0.159 (pingdotgg#14311)
Co-authored-by: Claude Opus 5.5 (1M context) <[email protected]>
1 parent 1a553d0 commit 4222485

5 files changed

Lines changed: 515 additions & 93 deletions

File tree

‎apps/server/src/provider/model-manifest.json‎

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,20 @@
11
{
22
"version": 1,
3-
"updatedAt": "2026-09-29T01:03:44Z",
3+
"updatedAt": "2026-09-29T20:20:00Z",
44
"compatibility": [
55
{
66
"driver": "codex",
7-
"t3CodeRange": ">=0.0.42",
7+
"t3CodeRange": ">=0.0.44",
8+
"recommendedRange": ">=0.159.0",
9+
"ranges": [
10+
{ "range": ">=0.156.0", "status": "supported" },
11+
{ "range": ">=0.149.0 <0.156.0", "status": "unsupported" },
12+
{ "range": "<0.149.0", "status": "broken" }
13+
]
14+
},
15+
{
16+
"driver": "codex",
17+
"t3CodeRange": ">=0.0.42 <0.0.44",
818
"recommendedRange": ">=0.156.0",
919
"ranges": [
1020
{ "range": ">=0.156.0", "status": "supported" },

‎packages/effect-codex-app-server/scripts/generate.ts‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ import {
1717
} from "effect/unstable/http";
1818
import { ChildProcess, ChildProcessSpawner } from "effect/unstable/process";
1919

20-
const UPSTREAM_REF = "fe74a774532af67b5a4a3dec03ce9469e17f89af";
20+
const UPSTREAM_REF = "687a119f0fcaace47e1f1abcc77cec6c813fd6da";
2121
const USER_AGENT = "effect-codex-app-server-generator";
2222
const GITHUB_API_BASE =
2323
"https://api.github.com/repos/openai/codex/contents/codex-rs/app-server-protocol";
@@ -437,6 +437,9 @@ function resolveResponseTypeName(
437437
generatedSchemaNames: ReadonlySet<string>,
438438
): string {
439439
const overrides: Record<string, string> = {
440+
"account/gatewayOAuth/cancel": "GatewayOAuthCancelResponse",
441+
"account/gatewayOAuth/login": "GatewayOAuthLoginResponse",
442+
"account/gatewayOAuth/read": "GatewayOAuthReadResponse",
440443
"account/logout": "LogoutAccountResponse",
441444
"account/rateLimits/read": "GetAccountRateLimitsResponse",
442445
"account/usage/read": "GetAccountTokenUsageResponse",

‎packages/effect-codex-app-server/src/_generated/meta.gen.ts‎

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// This file is generated by the effect-codex-app-server package. Do not edit manually.
2-
// Upstream protocol ref: fe74a774532af67b5a4a3dec03ce9469e17f89af
2+
// Upstream protocol ref: 687a119f0fcaace47e1f1abcc77cec6c813fd6da
33

44
import * as CodexSchema from "./schema.gen.ts";
55

@@ -71,6 +71,9 @@ export const CLIENT_REQUEST_METHODS = {
7171
"turn/interrupt": "turn/interrupt",
7272
"review/start": "review/start",
7373
"model/list": "model/list",
74+
"account/gatewayOAuth/read": "account/gatewayOAuth/read",
75+
"account/gatewayOAuth/login": "account/gatewayOAuth/login",
76+
"account/gatewayOAuth/cancel": "account/gatewayOAuth/cancel",
7477
"modelProvider/capabilities/read": "modelProvider/capabilities/read",
7578
"experimentalFeature/list": "experimentalFeature/list",
7679
"permissionProfile/list": "permissionProfile/list",
@@ -176,6 +179,7 @@ export const SERVER_NOTIFICATION_METHODS = {
176179
"mcpServer/startupStatus/updated": "mcpServer/startupStatus/updated",
177180
"mcpServer/event/stream/notification": "mcpServer/event/stream/notification",
178181
"account/updated": "account/updated",
182+
"account/gatewayOAuth/changed": "account/gatewayOAuth/changed",
179183
"account/rateLimits/updated": "account/rateLimits/updated",
180184
"app/list/updated": "app/list/updated",
181185
"remoteControl/status/changed": "remoteControl/status/changed",
@@ -287,6 +291,9 @@ export interface ClientRequestParamsByMethod {
287291
readonly "turn/interrupt": CodexSchema.V2TurnInterruptParams;
288292
readonly "review/start": CodexSchema.V2ReviewStartParams;
289293
readonly "model/list": CodexSchema.V2ModelListParams;
294+
readonly "account/gatewayOAuth/read": undefined;
295+
readonly "account/gatewayOAuth/login": undefined;
296+
readonly "account/gatewayOAuth/cancel": undefined;
290297
readonly "modelProvider/capabilities/read": CodexSchema.V2ModelProviderCapabilitiesReadParams;
291298
readonly "experimentalFeature/list": CodexSchema.V2ExperimentalFeatureListParams;
292299
readonly "permissionProfile/list": CodexSchema.V2PermissionProfileListParams;
@@ -394,6 +401,9 @@ export interface ClientRequestResponsesByMethod {
394401
readonly "turn/interrupt": CodexSchema.V2TurnInterruptResponse;
395402
readonly "review/start": CodexSchema.V2ReviewStartResponse;
396403
readonly "model/list": CodexSchema.V2ModelListResponse;
404+
readonly "account/gatewayOAuth/read": CodexSchema.V2GatewayOAuthReadResponse;
405+
readonly "account/gatewayOAuth/login": CodexSchema.V2GatewayOAuthLoginResponse;
406+
readonly "account/gatewayOAuth/cancel": CodexSchema.V2GatewayOAuthCancelResponse;
397407
readonly "modelProvider/capabilities/read": CodexSchema.V2ModelProviderCapabilitiesReadResponse;
398408
readonly "experimentalFeature/list": CodexSchema.V2ExperimentalFeatureListResponse;
399409
readonly "permissionProfile/list": CodexSchema.V2PermissionProfileListResponse;
@@ -512,6 +522,7 @@ export interface ServerNotificationParamsByMethod {
512522
readonly "mcpServer/startupStatus/updated": CodexSchema.V2McpServerStatusUpdatedNotification;
513523
readonly "mcpServer/event/stream/notification": CodexSchema.V2McpServerEventStreamNotification;
514524
readonly "account/updated": CodexSchema.V2AccountUpdatedNotification;
525+
readonly "account/gatewayOAuth/changed": CodexSchema.V2GatewayOAuthChangedNotification;
515526
readonly "account/rateLimits/updated": CodexSchema.V2AccountRateLimitsUpdatedNotification;
516527
readonly "app/list/updated": CodexSchema.V2AppListUpdatedNotification;
517528
readonly "remoteControl/status/changed": CodexSchema.V2RemoteControlStatusChangedNotification;
@@ -618,6 +629,9 @@ export const CLIENT_REQUEST_PARAMS = {
618629
"turn/interrupt": CodexSchema.V2TurnInterruptParams,
619630
"review/start": CodexSchema.V2ReviewStartParams,
620631
"model/list": CodexSchema.V2ModelListParams,
632+
"account/gatewayOAuth/read": undefined,
633+
"account/gatewayOAuth/login": undefined,
634+
"account/gatewayOAuth/cancel": undefined,
621635
"modelProvider/capabilities/read": CodexSchema.V2ModelProviderCapabilitiesReadParams,
622636
"experimentalFeature/list": CodexSchema.V2ExperimentalFeatureListParams,
623637
"permissionProfile/list": CodexSchema.V2PermissionProfileListParams,
@@ -726,6 +740,9 @@ export const CLIENT_REQUEST_RESPONSES = {
726740
"turn/interrupt": CodexSchema.V2TurnInterruptResponse,
727741
"review/start": CodexSchema.V2ReviewStartResponse,
728742
"model/list": CodexSchema.V2ModelListResponse,
743+
"account/gatewayOAuth/read": CodexSchema.V2GatewayOAuthReadResponse,
744+
"account/gatewayOAuth/login": CodexSchema.V2GatewayOAuthLoginResponse,
745+
"account/gatewayOAuth/cancel": CodexSchema.V2GatewayOAuthCancelResponse,
729746
"modelProvider/capabilities/read": CodexSchema.V2ModelProviderCapabilitiesReadResponse,
730747
"experimentalFeature/list": CodexSchema.V2ExperimentalFeatureListResponse,
731748
"permissionProfile/list": CodexSchema.V2PermissionProfileListResponse,
@@ -847,6 +864,7 @@ export const SERVER_NOTIFICATION_PARAMS = {
847864
"mcpServer/startupStatus/updated": CodexSchema.V2McpServerStatusUpdatedNotification,
848865
"mcpServer/event/stream/notification": CodexSchema.V2McpServerEventStreamNotification,
849866
"account/updated": CodexSchema.V2AccountUpdatedNotification,
867+
"account/gatewayOAuth/changed": CodexSchema.V2GatewayOAuthChangedNotification,
850868
"account/rateLimits/updated": CodexSchema.V2AccountRateLimitsUpdatedNotification,
851869
"app/list/updated": CodexSchema.V2AppListUpdatedNotification,
852870
"remoteControl/status/changed": CodexSchema.V2RemoteControlStatusChangedNotification,

‎packages/effect-codex-app-server/src/_generated/namespaces.gen.ts‎

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// This file is generated by the effect-codex-app-server package. Do not edit manually.
2-
// Upstream protocol ref: fe74a774532af67b5a4a3dec03ce9469e17f89af
2+
// Upstream protocol ref: 687a119f0fcaace47e1f1abcc77cec6c813fd6da
33

44
import * as CodexSchema from "./schema.gen.ts";
55

@@ -88,6 +88,10 @@ export const v2 = {
8888
FsWatchResponse: CodexSchema.V2FsWatchResponse,
8989
FsWriteFileParams: CodexSchema.V2FsWriteFileParams,
9090
FsWriteFileResponse: CodexSchema.V2FsWriteFileResponse,
91+
GatewayOAuthCancelResponse: CodexSchema.V2GatewayOAuthCancelResponse,
92+
GatewayOAuthChangedNotification: CodexSchema.V2GatewayOAuthChangedNotification,
93+
GatewayOAuthLoginResponse: CodexSchema.V2GatewayOAuthLoginResponse,
94+
GatewayOAuthReadResponse: CodexSchema.V2GatewayOAuthReadResponse,
9195
GetAccountParams: CodexSchema.V2GetAccountParams,
9296
GetAccountRateLimitsResponse: CodexSchema.V2GetAccountRateLimitsResponse,
9397
GetAccountResponse: CodexSchema.V2GetAccountResponse,

0 commit comments

Comments
 (0)