Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 12 additions & 2 deletions apps/server/src/provider/model-manifest.json
Original file line number Diff line number Diff line change
@@ -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" },
Expand Down
5 changes: 4 additions & 1 deletion packages/effect-codex-app-server/scripts/generate.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down Expand Up @@ -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",
Expand Down
20 changes: 19 additions & 1 deletion packages/effect-codex-app-server/src/_generated/meta.gen.ts
Original file line number Diff line number Diff line change
@@ -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";

Expand Down Expand Up @@ -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",
Expand Down Expand Up @@ -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",
Expand Down Expand Up @@ -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;
Expand Down Expand Up @@ -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;
Expand Down Expand Up @@ -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;
Expand Down Expand Up @@ -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,
Expand Down Expand Up @@ -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,
Expand Down Expand Up @@ -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,
Expand Down
Original file line number Diff line number Diff line change
@@ -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";

Expand Down Expand Up @@ -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,
Expand Down
Loading
Loading