Regenerate TypeScript API client with new models and updated fields

Adds completion messages/tools, git author/webhook config, checkpoint,
log, pull request config, and sandbox env/exe support.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Bryan Helmkamp 2026-03-08 20:57:36 -04:00
parent 9e35c4a472
commit 4e84560bed
16 changed files with 376 additions and 8 deletions

View file

@ -28,8 +28,13 @@ models/auth-configuration.ts
models/board-column.ts
models/check-run-status.ts
models/check-run.ts
models/checkpoint-configuration.ts
models/code-location.ts
models/completion-content-part.ts
models/completion-message.ts
models/completion-response.ts
models/completion-tool-choice.ts
models/completion-tool-definition.ts
models/completion-usage.ts
models/control-detail.ts
models/control-info.ts
@ -54,6 +59,7 @@ models/file-checkpoint.ts
models/file-diff.ts
models/friction-kind.ts
models/friction-point.ts
models/git-author-configuration.ts
models/git-configuration.ts
models/health-response.ts
models/history-entry.ts
@ -62,6 +68,7 @@ models/index.ts
models/learning-category.ts
models/learning.ts
models/llm-configuration.ts
models/log-configuration.ts
models/model-costs.ts
models/model-features.ts
models/model-limits.ts
@ -87,6 +94,7 @@ models/paginated-workflow-list.ts
models/pagination-meta.ts
models/preview-url-request.ts
models/preview-url-response.ts
models/pull-request-configuration.ts
models/question-type.ts
models/recent-control-result.ts
models/repository-reference.ts
@ -150,6 +158,7 @@ models/verification-mode.ts
models/verification-result.ts
models/verification-type.ts
models/web-configuration.ts
models/webhook-configuration.ts
models/workflow-detail.ts
models/workflow-last-run.ts
models/workflow-list-item.ts

View file

@ -0,0 +1,26 @@
/* tslint:disable */
/* eslint-disable */
/**
* Arc Run API
* HTTP API for managing Arc workflow run executions.
*
* The version of the OpenAPI document: 0.1.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
/**
* Checkpoint configuration for file exclusion.
*/
export interface CheckpointConfiguration {
/**
* Glob patterns to exclude from checkpoints.
*/
'exclude_globs'?: Array<string>;
}

View file

@ -0,0 +1,27 @@
/* tslint:disable */
/* eslint-disable */
/**
* Arc Run API
* HTTP API for managing Arc workflow run executions.
*
* The version of the OpenAPI document: 0.1.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
/**
* A content part within a message, discriminated by `kind`.
*/
export interface CompletionContentPart {
/**
* Content part type: text, image, tool_call, tool_result, thinking, etc.
*/
'kind': string;
'data'?: any;
}

View file

@ -0,0 +1,52 @@
/* tslint:disable */
/* eslint-disable */
/**
* Arc Run API
* HTTP API for managing Arc workflow run executions.
*
* The version of the OpenAPI document: 0.1.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
// May contain unused imports in some cases
// @ts-ignore
import type { CompletionContentPart } from './completion-content-part';
/**
* A message in the conversation.
*/
export interface CompletionMessage {
/**
* The role of the message author.
*/
'role': CompletionMessageRoleEnum;
/**
* Content parts of the message.
*/
'content': Array<CompletionContentPart>;
/**
* Optional name for the message author.
*/
'name'?: string;
/**
* Tool call ID for tool result messages.
*/
'tool_call_id'?: string;
}
export const CompletionMessageRoleEnum = {
SYSTEM: 'system',
USER: 'user',
ASSISTANT: 'assistant',
TOOL: 'tool',
DEVELOPER: 'developer'
} as const;
export type CompletionMessageRoleEnum = typeof CompletionMessageRoleEnum[keyof typeof CompletionMessageRoleEnum];

View file

@ -13,6 +13,9 @@
*/
// May contain unused imports in some cases
// @ts-ignore
import type { CompletionMessage } from './completion-message';
// May contain unused imports in some cases
// @ts-ignore
import type { CompletionUsage } from './completion-usage';
@ -20,12 +23,9 @@ import type { CompletionUsage } from './completion-usage';
export interface CompletionResponse {
'id': string;
'model': string;
'message': CompletionMessage;
/**
* Generated text.
*/
'content': string;
/**
* Why generation stopped (end_turn, max_tokens).
* Why generation stopped (end_turn, max_tokens, tool_calls).
*/
'stop_reason': string;
'usage': CompletionUsage;

View file

@ -0,0 +1,40 @@
/* tslint:disable */
/* eslint-disable */
/**
* Arc Run API
* HTTP API for managing Arc workflow run executions.
*
* The version of the OpenAPI document: 0.1.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
/**
* Controls how the model selects tools.
*/
export interface CompletionToolChoice {
/**
* Tool selection mode.
*/
'mode': CompletionToolChoiceModeEnum;
/**
* Required when mode is \"named\".
*/
'tool_name'?: string;
}
export const CompletionToolChoiceModeEnum = {
AUTO: 'auto',
NONE: 'none',
REQUIRED: 'required',
NAMED: 'named'
} as const;
export type CompletionToolChoiceModeEnum = typeof CompletionToolChoiceModeEnum[keyof typeof CompletionToolChoiceModeEnum];

View file

@ -0,0 +1,31 @@
/* tslint:disable */
/* eslint-disable */
/**
* Arc Run API
* HTTP API for managing Arc workflow run executions.
*
* The version of the OpenAPI document: 0.1.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
/**
* A tool available for the model to call.
*/
export interface CompletionToolDefinition {
/**
* Tool name.
*/
'name': string;
/**
* Human-readable tool description.
*/
'description': string;
'parameters': any;
}

View file

@ -13,27 +13,54 @@
*/
// May contain unused imports in some cases
// @ts-ignore
import type { CompletionMessage } from './completion-message';
// May contain unused imports in some cases
// @ts-ignore
import type { CompletionToolChoice } from './completion-tool-choice';
// May contain unused imports in some cases
// @ts-ignore
import type { CompletionToolDefinition } from './completion-tool-definition';
export interface CreateCompletionRequest {
/**
* The user prompt text.
* The conversation messages.
*/
'prompt': string;
'messages': Array<CompletionMessage>;
/**
* Model ID or alias. Server picks default if omitted.
*/
'model'?: string;
/**
* System prompt.
* System prompt (convenience; prepended as a system message).
*/
'system'?: string;
/**
* Stream response via SSE.
*/
'stream'?: boolean;
/**
* Tool definitions available to the model.
*/
'tools'?: Array<CompletionToolDefinition>;
'tool_choice'?: CompletionToolChoice;
'schema'?: any;
'temperature'?: number;
'max_tokens'?: number;
'top_p'?: number;
/**
* Stop sequences.
*/
'stop_sequences'?: Array<string>;
/**
* Reasoning effort level.
*/
'reasoning_effort'?: string;
/**
* Provider to route to.
*/
'provider'?: string;
'provider_options'?: any;
}

View file

@ -0,0 +1,30 @@
/* tslint:disable */
/* eslint-disable */
/**
* Arc Run API
* HTTP API for managing Arc workflow run executions.
*
* The version of the OpenAPI document: 0.1.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
/**
* Git commit author configuration.
*/
export interface GitAuthorConfiguration {
/**
* Author name for commits.
*/
'name'?: string;
/**
* Author email for commits.
*/
'email'?: string;
}

View file

@ -13,6 +13,12 @@
*/
// May contain unused imports in some cases
// @ts-ignore
import type { GitAuthorConfiguration } from './git-author-configuration';
// May contain unused imports in some cases
// @ts-ignore
import type { WebhookConfiguration } from './webhook-configuration';
/**
* Git provider configuration.
@ -30,6 +36,12 @@ export interface GitConfiguration {
* GitHub App Client ID.
*/
'client_id'?: string;
/**
* GitHub App slug.
*/
'slug'?: string;
'author'?: GitAuthorConfiguration;
'webhooks'?: WebhookConfiguration;
}
export const GitConfigurationProviderEnum = {

View file

@ -9,8 +9,13 @@ export * from './auth-configuration';
export * from './board-column';
export * from './check-run';
export * from './check-run-status';
export * from './checkpoint-configuration';
export * from './code-location';
export * from './completion-content-part';
export * from './completion-message';
export * from './completion-response';
export * from './completion-tool-choice';
export * from './completion-tool-definition';
export * from './completion-usage';
export * from './control-detail';
export * from './control-info';
@ -35,6 +40,7 @@ export * from './file-checkpoint';
export * from './file-diff';
export * from './friction-kind';
export * from './friction-point';
export * from './git-author-configuration';
export * from './git-configuration';
export * from './health-response';
export * from './history-entry';
@ -42,6 +48,7 @@ export * from './hook-definition';
export * from './learning';
export * from './learning-category';
export * from './llm-configuration';
export * from './log-configuration';
export * from './model';
export * from './model-costs';
export * from './model-features';
@ -67,6 +74,7 @@ export * from './paginated-workflow-list';
export * from './pagination-meta';
export * from './preview-url-request';
export * from './preview-url-response';
export * from './pull-request-configuration';
export * from './question-type';
export * from './recent-control-result';
export * from './repository-reference';
@ -130,6 +138,7 @@ export * from './verification-mode';
export * from './verification-result';
export * from './verification-type';
export * from './web-configuration';
export * from './webhook-configuration';
export * from './workflow-detail';
export * from './workflow-last-run';
export * from './workflow-list-item';

View file

@ -0,0 +1,26 @@
/* tslint:disable */
/* eslint-disable */
/**
* Arc Run API
* HTTP API for managing Arc workflow run executions.
*
* The version of the OpenAPI document: 0.1.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
/**
* Logging configuration.
*/
export interface LogConfiguration {
/**
* Log level (e.g. trace, debug, info).
*/
'level'?: string;
}

View file

@ -0,0 +1,26 @@
/* tslint:disable */
/* eslint-disable */
/**
* Arc Run API
* HTTP API for managing Arc workflow run executions.
*
* The version of the OpenAPI document: 0.1.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
/**
* Pull request creation configuration.
*/
export interface PullRequestConfiguration {
/**
* Whether to create a pull request after a successful run.
*/
'enabled'?: boolean;
}

View file

@ -30,5 +30,13 @@ export interface SandboxConfiguration {
*/
'preserve'?: boolean;
'daytona'?: DaytonaConfiguration;
/**
* exe.dev sandbox configuration.
*/
'exe'?: object;
/**
* Environment variables injected into the sandbox.
*/
'env'?: { [key: string]: string; };
}

View file

@ -18,6 +18,9 @@
import type { ApiConfiguration } from './api-configuration';
// May contain unused imports in some cases
// @ts-ignore
import type { CheckpointConfiguration } from './checkpoint-configuration';
// May contain unused imports in some cases
// @ts-ignore
import type { FeatureFlags } from './feature-flags';
// May contain unused imports in some cases
// @ts-ignore
@ -30,6 +33,12 @@ import type { HookDefinition } from './hook-definition';
import type { LlmConfiguration } from './llm-configuration';
// May contain unused imports in some cases
// @ts-ignore
import type { LogConfiguration } from './log-configuration';
// May contain unused imports in some cases
// @ts-ignore
import type { PullRequestConfiguration } from './pull-request-configuration';
// May contain unused imports in some cases
// @ts-ignore
import type { SandboxConfiguration } from './sandbox-configuration';
// May contain unused imports in some cases
// @ts-ignore
@ -54,6 +63,7 @@ export interface ServerConfiguration {
'api'?: ApiConfiguration;
'git'?: GitConfiguration;
'feature_flags'?: FeatureFlags;
'log'?: LogConfiguration;
/**
* Default working directory.
*/
@ -65,6 +75,8 @@ export interface ServerConfiguration {
* Default variable map.
*/
'vars'?: { [key: string]: string; };
'checkpoint'?: CheckpointConfiguration;
'pull_request'?: PullRequestConfiguration;
'hooks'?: Array<HookDefinition>;
}

View file

@ -0,0 +1,33 @@
/* tslint:disable */
/* eslint-disable */
/**
* Arc Run API
* HTTP API for managing Arc workflow run executions.
*
* The version of the OpenAPI document: 0.1.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
/**
* Webhook delivery configuration.
*/
export interface WebhookConfiguration {
/**
* Webhook delivery strategy.
*/
'strategy': WebhookConfigurationStrategyEnum;
}
export const WebhookConfigurationStrategyEnum = {
TAILSCALE_FUNNEL: 'tailscale_funnel'
} as const;
export type WebhookConfigurationStrategyEnum = typeof WebhookConfigurationStrategyEnum[keyof typeof WebhookConfigurationStrategyEnum];