diff --git a/CHANGELOG.md b/CHANGELOG.md index 32549ee..fae537d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,14 @@ All notable changes to Wirebot are documented in this file. ## [Unreleased] +## [0.3.6] - 2026-09-29 + +### Changed + +- Updated the bundled Codex CLI from 0.157.0 to 0.159.0 and regenerated the app-server + protocol bindings. Existing Wirebot integrations remain compatible; this update adds no + new Wirebot features. + ## [0.3.5] - 2026-09-25 ### Changed diff --git a/codex.version b/codex.version index a95410b..4a5b0dd 100644 --- a/codex.version +++ b/codex.version @@ -1 +1 @@ -0.157.0 +0.159.0 diff --git a/package.json b/package.json index 039b899..40ec043 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "wirebot", - "version": "0.3.5", + "version": "0.3.6", "private": true, "type": "module", "packageManager": "bun@1.4.0", diff --git a/src/generated/codex/PlanType.ts b/src/generated/codex/PlanType.ts index 3f27f24..b1fce3d 100644 --- a/src/generated/codex/PlanType.ts +++ b/src/generated/codex/PlanType.ts @@ -2,4 +2,4 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. -export type PlanType = "free" | "go" | "plus" | "pro" | "prolite" | "team" | "self_serve_business_prolite" | "self_serve_business_usage_based" | "business" | "ent26" | "enterprise_cbp_automation" | "enterprise_cbp_usage_based" | "enterprise" | "edu" | "edu_plus" | "edu_pro" | "unknown"; +export type PlanType = "free" | "go" | "plus" | "pro" | "prolite" | "promax" | "team" | "self_serve_business_prolite" | "self_serve_business_usage_based" | "business" | "ent26" | "enterprise_cbp_automation" | "enterprise_cbp_usage_based" | "enterprise" | "edu" | "edu_plus" | "edu_pro" | "unknown"; diff --git a/src/generated/codex/protocol-manifest.json b/src/generated/codex/protocol-manifest.json index bd65ac1..4be53cc 100644 --- a/src/generated/codex/protocol-manifest.json +++ b/src/generated/codex/protocol-manifest.json @@ -1,5 +1,5 @@ { - "codexVersion": "0.157.0", + "codexVersion": "0.159.0", "methods": { "clientRequests": [ "account/gatewayOAuth/cancel", diff --git a/src/generated/codex/v2/CodexErrorInfo.ts b/src/generated/codex/v2/CodexErrorInfo.ts index e93d7fd..294998e 100644 --- a/src/generated/codex/v2/CodexErrorInfo.ts +++ b/src/generated/codex/v2/CodexErrorInfo.ts @@ -9,4 +9,4 @@ import type { NonSteerableTurnKind } from "./NonSteerableTurnKind"; * When an upstream HTTP status is available (for example, from the Responses API or a provider), * it is forwarded in `httpStatusCode` on the relevant `codexErrorInfo` variant. */ -export type CodexErrorInfo = "contextWindowExceeded" | "sessionBudgetExceeded" | "usageLimitExceeded" | "rateLimitExceeded" | "serverOverloaded" | "cyberPolicy" | "misalignmentPolicyViolation" | { "httpConnectionFailed": { httpStatusCode: number | null, } } | { "responseStreamConnectionFailed": { httpStatusCode: number | null, } } | "internalServerError" | "unauthorized" | "badRequest" | "threadRollbackFailed" | "sandboxError" | { "responseStreamDisconnected": { httpStatusCode: number | null, } } | { "responseTooManyFailedAttempts": { httpStatusCode: number | null, } } | { "activeTurnNotSteerable": { turnKind: NonSteerableTurnKind, } } | "other"; +export type CodexErrorInfo = "contextWindowExceeded" | "sessionBudgetExceeded" | "usageLimitExceeded" | "rateLimitExceeded" | "flexUnavailable" | "serverOverloaded" | "cyberPolicy" | "misalignmentPolicyViolation" | "tooManyDenials" | { "httpConnectionFailed": { httpStatusCode: number | null, } } | { "responseStreamConnectionFailed": { httpStatusCode: number | null, } } | "internalServerError" | "unauthorized" | "badRequest" | "threadRollbackFailed" | "sandboxError" | { "responseStreamDisconnected": { httpStatusCode: number | null, } } | { "responseTooManyFailedAttempts": { httpStatusCode: number | null, } } | { "activeTurnNotSteerable": { turnKind: NonSteerableTurnKind, } } | "other"; diff --git a/src/generated/codex/v2/ListMcpServerStatusParams.ts b/src/generated/codex/v2/ListMcpServerStatusParams.ts index 2296c73..5af67cc 100644 --- a/src/generated/codex/v2/ListMcpServerStatusParams.ts +++ b/src/generated/codex/v2/ListMcpServerStatusParams.ts @@ -16,4 +16,8 @@ limit?: number | null, * Controls how much MCP inventory data to fetch for each server. * Defaults to `Full` when omitted. */ -detail?: McpServerStatusDetail | null, threadId?: string | null, }; +detail?: McpServerStatusDetail | null, threadId?: string | null, +/** + * Limit discovery to one server. With a thread ID, reuse that thread's MCP connection. + */ +serverName?: string | null, }; diff --git a/src/generated/codex/v2/PluginEntrypoint.ts b/src/generated/codex/v2/PluginEntrypoint.ts deleted file mode 100644 index 496e1e1..0000000 --- a/src/generated/codex/v2/PluginEntrypoint.ts +++ /dev/null @@ -1,7 +0,0 @@ -// GENERATED CODE! DO NOT MODIFY BY HAND! - -// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. -import type { PluginIcon } from "./PluginIcon"; -import type { PluginQuickAction } from "./PluginQuickAction"; - -export type PluginEntrypoint = { "type": "global", quickAction: PluginQuickAction | null, appId: string, toolName: string, title: string, resourceUri: string, icons: Array, } | { "type": "settings", searchTerms: Array, appId: string, toolName: string, title: string, resourceUri: string, icons: Array, } | { "type": "thread", appId: string, toolName: string, title: string, resourceUri: string, icons: Array, } | { "type": "file", extensions: Array, appId: string, toolName: string, title: string, resourceUri: string, icons: Array, }; diff --git a/src/generated/codex/v2/PluginExtensions.ts b/src/generated/codex/v2/PluginExtensions.ts deleted file mode 100644 index 228f680..0000000 --- a/src/generated/codex/v2/PluginExtensions.ts +++ /dev/null @@ -1,8 +0,0 @@ -// GENERATED CODE! DO NOT MODIFY BY HAND! - -// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. -import type { PluginEntrypoint } from "./PluginEntrypoint"; -import type { PluginSearchProvider } from "./PluginSearchProvider"; -import type { PluginSettings } from "./PluginSettings"; - -export type PluginExtensions = { entrypoints: Array | null, settingsEntrypoints: Array, settings: Array, threadEntrypoints: Array, fileHandlers: Array, searchMentionProviders: Array, }; diff --git a/src/generated/codex/v2/PluginIcon.ts b/src/generated/codex/v2/PluginIcon.ts deleted file mode 100644 index 58ac0ac..0000000 --- a/src/generated/codex/v2/PluginIcon.ts +++ /dev/null @@ -1,5 +0,0 @@ -// GENERATED CODE! DO NOT MODIFY BY HAND! - -// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. - -export type PluginIcon = { src: string, mimeType: string | null, sizes: Array | null, theme: string | null, }; diff --git a/src/generated/codex/v2/PluginQuickAction.ts b/src/generated/codex/v2/PluginQuickAction.ts deleted file mode 100644 index 8f9426b..0000000 --- a/src/generated/codex/v2/PluginQuickAction.ts +++ /dev/null @@ -1,7 +0,0 @@ -// GENERATED CODE! DO NOT MODIFY BY HAND! - -// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. -import type { PluginIcon } from "./PluginIcon"; -import type { PluginQuickActionTarget } from "./PluginQuickActionTarget"; - -export type PluginQuickAction = { title: string, icons: Array, target: PluginQuickActionTarget, }; diff --git a/src/generated/codex/v2/PluginQuickActionTarget.ts b/src/generated/codex/v2/PluginQuickActionTarget.ts deleted file mode 100644 index fbc2911..0000000 --- a/src/generated/codex/v2/PluginQuickActionTarget.ts +++ /dev/null @@ -1,6 +0,0 @@ -// GENERATED CODE! DO NOT MODIFY BY HAND! - -// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. -import type { JsonValue } from "../serde_json/JsonValue"; - -export type PluginQuickActionTarget = { "type": "tool", name: string, arguments: JsonValue | null, }; diff --git a/src/generated/codex/v2/PluginSearchProvider.ts b/src/generated/codex/v2/PluginSearchProvider.ts deleted file mode 100644 index 625bd13..0000000 --- a/src/generated/codex/v2/PluginSearchProvider.ts +++ /dev/null @@ -1,6 +0,0 @@ -// GENERATED CODE! DO NOT MODIFY BY HAND! - -// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. -import type { PluginSearchProviderCall } from "./PluginSearchProviderCall"; - -export type PluginSearchProvider = { appId: string, toolName: string, linkId: string, title: string, call: PluginSearchProviderCall | null, }; diff --git a/src/generated/codex/v2/PluginSearchProviderCall.ts b/src/generated/codex/v2/PluginSearchProviderCall.ts deleted file mode 100644 index 7bad4eb..0000000 --- a/src/generated/codex/v2/PluginSearchProviderCall.ts +++ /dev/null @@ -1,6 +0,0 @@ -// GENERATED CODE! DO NOT MODIFY BY HAND! - -// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. -import type { JsonValue } from "../serde_json/JsonValue"; - -export type PluginSearchProviderCall = { name: string, arguments: JsonValue, _meta: JsonValue, }; diff --git a/src/generated/codex/v2/PluginSummary.ts b/src/generated/codex/v2/PluginSummary.ts index a763f90..6dedc1b 100644 --- a/src/generated/codex/v2/PluginSummary.ts +++ b/src/generated/codex/v2/PluginSummary.ts @@ -4,14 +4,13 @@ import type { PluginAuthPolicy } from "./PluginAuthPolicy"; import type { PluginAvailability } from "./PluginAvailability"; import type { PluginDisabledReason } from "./PluginDisabledReason"; -import type { PluginExtensions } from "./PluginExtensions"; import type { PluginInstallPolicy } from "./PluginInstallPolicy"; import type { PluginInstallPolicySource } from "./PluginInstallPolicySource"; import type { PluginInterface } from "./PluginInterface"; import type { PluginShareContext } from "./PluginShareContext"; import type { PluginSource } from "./PluginSource"; -export type PluginSummary = { extensions: PluginExtensions | null, id: string, +export type PluginSummary = { id: string, /** * Backend remote plugin identifier when available. */ diff --git a/src/generated/codex/v2/PluginSettings.ts b/src/generated/codex/v2/ThreadItemsListAnchor.ts similarity index 51% rename from src/generated/codex/v2/PluginSettings.ts rename to src/generated/codex/v2/ThreadItemsListAnchor.ts index 9bad526..425b213 100644 --- a/src/generated/codex/v2/PluginSettings.ts +++ b/src/generated/codex/v2/ThreadItemsListAnchor.ts @@ -2,4 +2,7 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. -export type PluginSettings = { appId: string, readToolName: string, updateToolName: string, }; +/** + * An exclusive item position within the requested visible turn. + */ +export type ThreadItemsListAnchor = { "type": "item", itemId: string, }; diff --git a/src/generated/codex/v2/ThreadItemsListCursor.ts b/src/generated/codex/v2/ThreadItemsListCursor.ts new file mode 100644 index 0000000..dd4c4fa --- /dev/null +++ b/src/generated/codex/v2/ThreadItemsListCursor.ts @@ -0,0 +1,9 @@ +// GENERATED CODE! DO NOT MODIFY BY HAND! + +// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. +import type { ThreadItemsListAnchor } from "./ThreadItemsListAnchor"; + +/** + * Starting position for an item-history page. + */ +export type ThreadItemsListCursor = string | ThreadItemsListAnchor; diff --git a/src/generated/codex/v2/ThreadItemsListParams.ts b/src/generated/codex/v2/ThreadItemsListParams.ts index c41e93f..fe2cce6 100644 --- a/src/generated/codex/v2/ThreadItemsListParams.ts +++ b/src/generated/codex/v2/ThreadItemsListParams.ts @@ -2,6 +2,7 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. import type { SortDirection } from "./SortDirection"; +import type { ThreadItemsListCursor } from "./ThreadItemsListCursor"; export type ThreadItemsListParams = { threadId: string, /** @@ -9,9 +10,11 @@ export type ThreadItemsListParams = { threadId: string, */ turnId?: string | null, /** - * Opaque cursor to pass to the next call to continue after the last item. + * Opaque continuation cursor or an exclusive item anchor in the requested visible turn. + * An item anchor requires a non-empty `turnId`; ascending (the default) returns items + * after it, and descending returns items before it. Continue with the returned string cursor. */ -cursor?: string | null, +cursor?: ThreadItemsListCursor | null, /** * Optional item page size. */ diff --git a/src/generated/codex/v2/Turn.ts b/src/generated/codex/v2/Turn.ts index b868025..e804fa9 100644 --- a/src/generated/codex/v2/Turn.ts +++ b/src/generated/codex/v2/Turn.ts @@ -20,7 +20,7 @@ items: Array, */ itemsView: TurnItemsView, status: TurnStatus, /** - * Only populated when the Turn's status is failed. + * Error associated with a failed or interrupted turn. */ error: TurnError | null, /** diff --git a/src/generated/codex/v2/index.ts b/src/generated/codex/v2/index.ts index fa4c826..d0c9fea 100644 --- a/src/generated/codex/v2/index.ts +++ b/src/generated/codex/v2/index.ts @@ -354,10 +354,7 @@ export type { PluginAuthPolicy } from "./PluginAuthPolicy"; export type { PluginAvailability } from "./PluginAvailability"; export type { PluginDetail } from "./PluginDetail"; export type { PluginDisabledReason } from "./PluginDisabledReason"; -export type { PluginEntrypoint } from "./PluginEntrypoint"; -export type { PluginExtensions } from "./PluginExtensions"; export type { PluginHookSummary } from "./PluginHookSummary"; -export type { PluginIcon } from "./PluginIcon"; export type { PluginInstallParams } from "./PluginInstallParams"; export type { PluginInstallPolicy } from "./PluginInstallPolicy"; export type { PluginInstallPolicySource } from "./PluginInstallPolicySource"; @@ -369,18 +366,13 @@ export type { PluginListMarketplaceKind } from "./PluginListMarketplaceKind"; export type { PluginListParams } from "./PluginListParams"; export type { PluginListResponse } from "./PluginListResponse"; export type { PluginMarketplaceEntry } from "./PluginMarketplaceEntry"; -export type { PluginQuickAction } from "./PluginQuickAction"; -export type { PluginQuickActionTarget } from "./PluginQuickActionTarget"; export type { PluginReadParams } from "./PluginReadParams"; export type { PluginReadResponse } from "./PluginReadResponse"; export type { PluginReconcileChangedPlugin } from "./PluginReconcileChangedPlugin"; export type { PluginReconcileParams } from "./PluginReconcileParams"; export type { PluginReconcileResponse } from "./PluginReconcileResponse"; -export type { PluginSearchProvider } from "./PluginSearchProvider"; -export type { PluginSearchProviderCall } from "./PluginSearchProviderCall"; export type { PluginSearchResult } from "./PluginSearchResult"; export type { PluginSearchScope } from "./PluginSearchScope"; -export type { PluginSettings } from "./PluginSettings"; export type { PluginShareCheckoutParams } from "./PluginShareCheckoutParams"; export type { PluginShareCheckoutResponse } from "./PluginShareCheckoutResponse"; export type { PluginShareContext } from "./PluginShareContext"; @@ -522,6 +514,8 @@ export type { ThreadInjectItemsParams } from "./ThreadInjectItemsParams"; export type { ThreadInjectItemsResponse } from "./ThreadInjectItemsResponse"; export type { ThreadItem } from "./ThreadItem"; export type { ThreadItemEntry } from "./ThreadItemEntry"; +export type { ThreadItemsListAnchor } from "./ThreadItemsListAnchor"; +export type { ThreadItemsListCursor } from "./ThreadItemsListCursor"; export type { ThreadItemsListParams } from "./ThreadItemsListParams"; export type { ThreadItemsListResponse } from "./ThreadItemsListResponse"; export type { ThreadListParams } from "./ThreadListParams";