mirror of
https://github.com/fabro-sh/fabro.git
synced 2026-10-09 03:20:56 +00:00
chore(api-client): regenerate settings client models
This commit is contained in:
parent
e862581fc8
commit
80561f1e07
7 changed files with 195 additions and 0 deletions
|
|
@ -178,6 +178,10 @@ models/secret-list-response.ts
|
|||
models/secret-metadata.ts
|
||||
models/send-message-request.ts
|
||||
models/send-message-response.ts
|
||||
models/server-settings-exec.ts
|
||||
models/server-settings-fabro.ts
|
||||
models/server-settings-server-tls.ts
|
||||
models/server-settings-server.ts
|
||||
models/server-settings.ts
|
||||
models/session-detail.ts
|
||||
models/session-list-item.ts
|
||||
|
|
|
|||
|
|
@ -157,6 +157,10 @@ export * from './secret-metadata';
|
|||
export * from './send-message-request';
|
||||
export * from './send-message-response';
|
||||
export * from './server-settings';
|
||||
export * from './server-settings-exec';
|
||||
export * from './server-settings-fabro';
|
||||
export * from './server-settings-server';
|
||||
export * from './server-settings-server-tls';
|
||||
export * from './session-detail';
|
||||
export * from './session-list-item';
|
||||
export * from './session-turn';
|
||||
|
|
|
|||
|
|
@ -0,0 +1,50 @@
|
|||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
/**
|
||||
* Fabro Run API
|
||||
* HTTP API for managing Fabro 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.
|
||||
*/
|
||||
|
||||
|
||||
|
||||
export interface ServerSettingsExec {
|
||||
/**
|
||||
* Default exec provider.
|
||||
*/
|
||||
'provider'?: string;
|
||||
/**
|
||||
* Default exec model.
|
||||
*/
|
||||
'model'?: string;
|
||||
/**
|
||||
* Exec permission level.
|
||||
*/
|
||||
'permissions'?: ServerSettingsExecPermissionsEnum;
|
||||
/**
|
||||
* Exec output format.
|
||||
*/
|
||||
'output_format'?: ServerSettingsExecOutputFormatEnum;
|
||||
}
|
||||
|
||||
export const ServerSettingsExecPermissionsEnum = {
|
||||
READ_ONLY: 'read-only',
|
||||
READ_WRITE: 'read-write',
|
||||
FULL: 'full'
|
||||
} as const;
|
||||
|
||||
export type ServerSettingsExecPermissionsEnum = typeof ServerSettingsExecPermissionsEnum[keyof typeof ServerSettingsExecPermissionsEnum];
|
||||
export const ServerSettingsExecOutputFormatEnum = {
|
||||
TEXT: 'text',
|
||||
JSON: 'json'
|
||||
} as const;
|
||||
|
||||
export type ServerSettingsExecOutputFormatEnum = typeof ServerSettingsExecOutputFormatEnum[keyof typeof ServerSettingsExecOutputFormatEnum];
|
||||
|
||||
|
||||
|
|
@ -0,0 +1,23 @@
|
|||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
/**
|
||||
* Fabro Run API
|
||||
* HTTP API for managing Fabro 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.
|
||||
*/
|
||||
|
||||
|
||||
|
||||
export interface ServerSettingsFabro {
|
||||
/**
|
||||
* Project fabro root directory.
|
||||
*/
|
||||
'root'?: string;
|
||||
}
|
||||
|
||||
|
|
@ -0,0 +1,31 @@
|
|||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
/**
|
||||
* Fabro Run API
|
||||
* HTTP API for managing Fabro 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.
|
||||
*/
|
||||
|
||||
|
||||
|
||||
export interface ServerSettingsServerTls {
|
||||
/**
|
||||
* Client certificate path.
|
||||
*/
|
||||
'cert'?: string;
|
||||
/**
|
||||
* Client key path.
|
||||
*/
|
||||
'key'?: string;
|
||||
/**
|
||||
* Certificate authority path.
|
||||
*/
|
||||
'ca'?: string;
|
||||
}
|
||||
|
||||
|
|
@ -0,0 +1,27 @@
|
|||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
/**
|
||||
* Fabro Run API
|
||||
* HTTP API for managing Fabro 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 { ServerSettingsServerTls } from './server-settings-server-tls';
|
||||
|
||||
export interface ServerSettingsServer {
|
||||
/**
|
||||
* Default server target for CLI commands.
|
||||
*/
|
||||
'target'?: string;
|
||||
'tls'?: ServerSettingsServerTls;
|
||||
}
|
||||
|
||||
|
|
@ -51,6 +51,15 @@ import type { PullRequestSettings } from './pull-request-settings';
|
|||
import type { SandboxSettings } from './sandbox-settings';
|
||||
// May contain unused imports in some cases
|
||||
// @ts-ignore
|
||||
import type { ServerSettingsExec } from './server-settings-exec';
|
||||
// May contain unused imports in some cases
|
||||
// @ts-ignore
|
||||
import type { ServerSettingsFabro } from './server-settings-fabro';
|
||||
// May contain unused imports in some cases
|
||||
// @ts-ignore
|
||||
import type { ServerSettingsServer } from './server-settings-server';
|
||||
// May contain unused imports in some cases
|
||||
// @ts-ignore
|
||||
import type { SetupSettings } from './setup-settings';
|
||||
// May contain unused imports in some cases
|
||||
// @ts-ignore
|
||||
|
|
@ -60,6 +69,52 @@ import type { WebSettings } from './web-settings';
|
|||
* Structured server settings mirroring fabro_types::Settings.
|
||||
*/
|
||||
export interface ServerSettings {
|
||||
/**
|
||||
* Settings schema version.
|
||||
*/
|
||||
'version'?: number;
|
||||
/**
|
||||
* Default goal description.
|
||||
*/
|
||||
'goal'?: string;
|
||||
/**
|
||||
* Path to a goal file.
|
||||
*/
|
||||
'goal_file'?: string;
|
||||
/**
|
||||
* Default Graphviz graph path.
|
||||
*/
|
||||
'graph'?: string;
|
||||
/**
|
||||
* Default label map.
|
||||
*/
|
||||
'labels'?: { [key: string]: string; };
|
||||
'server'?: ServerSettingsServer;
|
||||
'exec'?: ServerSettingsExec;
|
||||
/**
|
||||
* Prevent system idle sleep while running.
|
||||
*/
|
||||
'prevent_idle_sleep'?: boolean;
|
||||
/**
|
||||
* Enable verbose output by default.
|
||||
*/
|
||||
'verbose'?: boolean;
|
||||
/**
|
||||
* Whether upgrade checks are enabled.
|
||||
*/
|
||||
'upgrade_check'?: boolean;
|
||||
/**
|
||||
* Default dry-run mode.
|
||||
*/
|
||||
'dry_run'?: boolean;
|
||||
/**
|
||||
* Default auto-approve mode.
|
||||
*/
|
||||
'auto_approve'?: boolean;
|
||||
/**
|
||||
* Skip retro generation by default.
|
||||
*/
|
||||
'no_retro'?: boolean;
|
||||
/**
|
||||
* Storage directory path.
|
||||
*/
|
||||
|
|
@ -93,5 +148,6 @@ export interface ServerSettings {
|
|||
*/
|
||||
'mcp_servers'?: { [key: string]: McpServerEntry; };
|
||||
'github'?: GitHubSettings;
|
||||
'fabro'?: ServerSettingsFabro;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue