From 4c549ee62a70c8a6714e69b3001ad14fc26c165b Mon Sep 17 00:00:00 2001 From: Comfy Org PR Bot Date: Wed, 7 Oct 2026 13:26:59 +0900 Subject: [PATCH] [chore] Update Ingest API types from cloud@6460455 (#20393) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## Automated Ingest API Type Update This PR updates the Ingest API TypeScript types and Zod schemas from the latest cloud OpenAPI specification. - Cloud commit: 6460455 - Generated using @hey-api/openapi-ts with Zod plugin These types cover the FE-facing ingest API (workspaces, billing, secrets, assets, tasks, etc.). Cloud's internal / machine-to-machine surface — `x-internal` operations and the `/admin/`, `/api/internal/`, `/api/webhooks/` rails — is stripped before generation (BE-2669), so it is not code-generated into this public package. Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> --- packages/ingest-types/src/types.gen.ts | 4 ++++ packages/ingest-types/src/zod.gen.ts | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/packages/ingest-types/src/types.gen.ts b/packages/ingest-types/src/types.gen.ts index b20a2ceb661..544e091d880 100644 --- a/packages/ingest-types/src/types.gen.ts +++ b/packages/ingest-types/src/types.gen.ts @@ -9040,6 +9040,10 @@ export type GetFeaturesResponses = { | 'near-composer' | 'above-input' | 'inside-input' + /** + * Authenticated assignment for the Agent starter-prompt experiment. Current Cloud responses include it and default to control when the caller is unauthenticated, evaluation is unavailable, or no treatment is assigned. It remains optional in the client contract so older environments and partial feature fixtures fail closed. Reading this field does not constitute experiment exposure; the frontend emits the custom exposure event only after rendering the starter prompt surface. + */ + 'agent-starter-prompt-set'?: 'control' | 'test' /** * Origin of the billing-web deployment paired with this Cloud environment (e.g. https://billing.comfy.org). Absent when BILLING_WEB_URL is not configured on the server, so a client can tell "not configured" from "configured as empty". */ diff --git a/packages/ingest-types/src/zod.gen.ts b/packages/ingest-types/src/zod.gen.ts index c9a29e53a15..7240de5b7d4 100644 --- a/packages/ingest-types/src/zod.gen.ts +++ b/packages/ingest-types/src/zod.gen.ts @@ -3939,6 +3939,10 @@ export const zGetFeaturesResponse = z.object({ 'inside-input' ]) .default('control'), + 'agent-starter-prompt-set': z + .enum(['control', 'test']) + .optional() + .default('control'), billing_web_url: z.string().optional(), free_tier_balance: z .object({