@compozy/client 0.7.0 → 0.7.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/generated/sdk/sdk.gen.js +102 -0
- package/dist/cjs/generated/sdk/sdk.gen.js.map +1 -1
- package/dist/cjs/version.js +1 -1
- package/dist/esm/generated/sdk/sdk.gen.js +102 -0
- package/dist/esm/generated/sdk/sdk.gen.js.map +1 -1
- package/dist/esm/version.js +1 -1
- package/dist/types/generated/openapi/compozy-openapi.d.ts +962 -2
- package/dist/types/generated/sdk/index.d.ts +1 -1
- package/dist/types/generated/sdk/index.d.ts.map +1 -1
- package/dist/types/generated/sdk/sdk.gen.d.ts +37 -1
- package/dist/types/generated/sdk/sdk.gen.d.ts.map +1 -1
- package/dist/types/generated/sdk/types.gen.d.ts +629 -1
- package/dist/types/generated/sdk/types.gen.d.ts.map +1 -1
- package/dist/types/generated/sse/index.d.ts +1 -1
- package/dist/types/generated/sse/index.d.ts.map +1 -1
- package/dist/types/generated/sse/types.gen.d.ts +9 -2
- package/dist/types/generated/sse/types.gen.d.ts.map +1 -1
- package/dist/types/version.d.ts +1 -1
- package/package.json +1 -1
|
@@ -3242,6 +3242,41 @@ export interface paths {
|
|
|
3242
3242
|
patch?: never;
|
|
3243
3243
|
trace?: never;
|
|
3244
3244
|
};
|
|
3245
|
+
"/api/sessions/history-cleanup": {
|
|
3246
|
+
parameters: {
|
|
3247
|
+
query?: never;
|
|
3248
|
+
header?: never;
|
|
3249
|
+
path?: never;
|
|
3250
|
+
cookie?: never;
|
|
3251
|
+
};
|
|
3252
|
+
/** Get the selected profile's running or most recent archived-history cleanup */
|
|
3253
|
+
get: operations["getSessionHistoryCleanup"];
|
|
3254
|
+
put?: never;
|
|
3255
|
+
/** Preview (dry_run) or start the background deletion of archived sessions archived before a cutoff: whole threads, or only their child sessions or subagents */
|
|
3256
|
+
post: operations["planSessionHistoryCleanup"];
|
|
3257
|
+
delete?: never;
|
|
3258
|
+
options?: never;
|
|
3259
|
+
head?: never;
|
|
3260
|
+
patch?: never;
|
|
3261
|
+
trace?: never;
|
|
3262
|
+
};
|
|
3263
|
+
"/api/sessions/history-cleanup/stop": {
|
|
3264
|
+
parameters: {
|
|
3265
|
+
query?: never;
|
|
3266
|
+
header?: never;
|
|
3267
|
+
path?: never;
|
|
3268
|
+
cookie?: never;
|
|
3269
|
+
};
|
|
3270
|
+
get?: never;
|
|
3271
|
+
put?: never;
|
|
3272
|
+
/** Stop the selected profile's running cleanup; sessions already deleted stay deleted */
|
|
3273
|
+
post: operations["stopSessionHistoryCleanup"];
|
|
3274
|
+
delete?: never;
|
|
3275
|
+
options?: never;
|
|
3276
|
+
head?: never;
|
|
3277
|
+
patch?: never;
|
|
3278
|
+
trace?: never;
|
|
3279
|
+
};
|
|
3245
3280
|
"/api/sessions/{session_id}": {
|
|
3246
3281
|
parameters: {
|
|
3247
3282
|
query?: never;
|
|
@@ -3642,6 +3677,24 @@ export interface paths {
|
|
|
3642
3677
|
patch?: never;
|
|
3643
3678
|
trace?: never;
|
|
3644
3679
|
};
|
|
3680
|
+
"/api/settings/mcp-servers/{name}/approval": {
|
|
3681
|
+
parameters: {
|
|
3682
|
+
query?: never;
|
|
3683
|
+
header?: never;
|
|
3684
|
+
path?: never;
|
|
3685
|
+
cookie?: never;
|
|
3686
|
+
};
|
|
3687
|
+
get?: never;
|
|
3688
|
+
/** Approve an exact workspace MCP definition */
|
|
3689
|
+
put: operations["putSettingsMCPApproval"];
|
|
3690
|
+
post?: never;
|
|
3691
|
+
/** Revoke workspace MCP consent */
|
|
3692
|
+
delete: operations["deleteSettingsMCPApproval"];
|
|
3693
|
+
options?: never;
|
|
3694
|
+
head?: never;
|
|
3695
|
+
patch?: never;
|
|
3696
|
+
trace?: never;
|
|
3697
|
+
};
|
|
3645
3698
|
"/api/settings/mcp-servers/{name}/auth/begin": {
|
|
3646
3699
|
parameters: {
|
|
3647
3700
|
query?: never;
|
|
@@ -3869,6 +3922,40 @@ export interface paths {
|
|
|
3869
3922
|
patch: operations["updateSettingsRoles"];
|
|
3870
3923
|
trace?: never;
|
|
3871
3924
|
};
|
|
3925
|
+
"/api/settings/runtime-mcp-servers": {
|
|
3926
|
+
parameters: {
|
|
3927
|
+
query?: never;
|
|
3928
|
+
header?: never;
|
|
3929
|
+
path?: never;
|
|
3930
|
+
cookie?: never;
|
|
3931
|
+
};
|
|
3932
|
+
/** List runtime MCP servers from native configuration files */
|
|
3933
|
+
get: operations["listRuntimeMCPServers"];
|
|
3934
|
+
put?: never;
|
|
3935
|
+
post?: never;
|
|
3936
|
+
delete?: never;
|
|
3937
|
+
options?: never;
|
|
3938
|
+
head?: never;
|
|
3939
|
+
patch?: never;
|
|
3940
|
+
trace?: never;
|
|
3941
|
+
};
|
|
3942
|
+
"/api/settings/runtime-mcp-servers/{runtime}/{name}/import": {
|
|
3943
|
+
parameters: {
|
|
3944
|
+
query?: never;
|
|
3945
|
+
header?: never;
|
|
3946
|
+
path?: never;
|
|
3947
|
+
cookie?: never;
|
|
3948
|
+
};
|
|
3949
|
+
get?: never;
|
|
3950
|
+
put?: never;
|
|
3951
|
+
/** Copy a runtime MCP server into CompozyOS */
|
|
3952
|
+
post: operations["importRuntimeMCPServer"];
|
|
3953
|
+
delete?: never;
|
|
3954
|
+
options?: never;
|
|
3955
|
+
head?: never;
|
|
3956
|
+
patch?: never;
|
|
3957
|
+
trace?: never;
|
|
3958
|
+
};
|
|
3872
3959
|
"/api/settings/shell": {
|
|
3873
3960
|
parameters: {
|
|
3874
3961
|
query?: never;
|
|
@@ -6759,6 +6846,23 @@ export interface paths {
|
|
|
6759
6846
|
patch?: never;
|
|
6760
6847
|
trace?: never;
|
|
6761
6848
|
};
|
|
6849
|
+
"/api/workspaces/{workspace_id}/sessions/{session_id}/mcp": {
|
|
6850
|
+
parameters: {
|
|
6851
|
+
query?: never;
|
|
6852
|
+
header?: never;
|
|
6853
|
+
path?: never;
|
|
6854
|
+
cookie?: never;
|
|
6855
|
+
};
|
|
6856
|
+
/** Read session MCP availability without discovery */
|
|
6857
|
+
get: operations["getSessionMCP"];
|
|
6858
|
+
put?: never;
|
|
6859
|
+
post?: never;
|
|
6860
|
+
delete?: never;
|
|
6861
|
+
options?: never;
|
|
6862
|
+
head?: never;
|
|
6863
|
+
patch?: never;
|
|
6864
|
+
trace?: never;
|
|
6865
|
+
};
|
|
6762
6866
|
"/api/workspaces/{workspace_id}/sessions/{session_id}/monitors": {
|
|
6763
6867
|
parameters: {
|
|
6764
6868
|
query?: never;
|
|
@@ -7387,7 +7491,8 @@ export interface paths {
|
|
|
7387
7491
|
get: operations["getSubagent"];
|
|
7388
7492
|
put?: never;
|
|
7389
7493
|
post?: never;
|
|
7390
|
-
|
|
7494
|
+
/** Delete a delegated subagent and its child session */
|
|
7495
|
+
delete: operations["deleteSubagent"];
|
|
7391
7496
|
options?: never;
|
|
7392
7497
|
head?: never;
|
|
7393
7498
|
patch?: never;
|
|
@@ -8786,6 +8891,7 @@ export interface components {
|
|
|
8786
8891
|
};
|
|
8787
8892
|
AgentResponse: {
|
|
8788
8893
|
agent: components["schemas"]["AgentPayload"];
|
|
8894
|
+
warnings?: string[];
|
|
8789
8895
|
};
|
|
8790
8896
|
AgentSessionMetricsPayload: {
|
|
8791
8897
|
active: number;
|
|
@@ -10402,6 +10508,7 @@ export interface components {
|
|
|
10402
10508
|
};
|
|
10403
10509
|
ErrorPayload: {
|
|
10404
10510
|
blockers?: components["schemas"]["WorkspaceArchiveBlocker"][];
|
|
10511
|
+
client_message_id?: string;
|
|
10405
10512
|
code?: string;
|
|
10406
10513
|
config_path?: string;
|
|
10407
10514
|
current_turn_id?: string;
|
|
@@ -10410,6 +10517,8 @@ export interface components {
|
|
|
10410
10517
|
};
|
|
10411
10518
|
diagnostic?: components["schemas"]["DiagnosticItem"] | null;
|
|
10412
10519
|
error: string;
|
|
10520
|
+
provider_error?: string;
|
|
10521
|
+
retryable?: boolean;
|
|
10413
10522
|
unknown_keys?: string[];
|
|
10414
10523
|
};
|
|
10415
10524
|
ExecutionPolicy: {
|
|
@@ -12247,6 +12356,8 @@ export interface components {
|
|
|
12247
12356
|
/** @description Profile name. Omitted for a local operator keeps the installation available to all profiles. */
|
|
12248
12357
|
profile?: string;
|
|
12249
12358
|
ref: string;
|
|
12359
|
+
/** @description Replace the installed extension of the same name. Applies to local_path installs only, since published sources replace implicitly. The previous version stays installed only when the replacement fails before the reinstall transaction completes; a failure after it returns, such as enable failing, does not restore it. A marketplace-owned name is refused with extension_name_conflict. Replacing a package attached outside the caller's workspace requires operator authority. */
|
|
12360
|
+
replace?: boolean;
|
|
12250
12361
|
/**
|
|
12251
12362
|
* @description Overrides manifest server defaults. Mixed defaults require an explicit scope. A workspace default requires a workspace-bound caller or workspace_id.
|
|
12252
12363
|
* @enum {string}
|
|
@@ -12265,6 +12376,11 @@ export interface components {
|
|
|
12265
12376
|
enable_error?: components["schemas"]["ExtensionEnableError"] | null;
|
|
12266
12377
|
extension: components["schemas"]["ExtensionPayload"];
|
|
12267
12378
|
};
|
|
12379
|
+
Inventory: {
|
|
12380
|
+
/** Format: date-time */
|
|
12381
|
+
generated_at: string;
|
|
12382
|
+
runtimes: components["schemas"]["Snapshot"][];
|
|
12383
|
+
};
|
|
12268
12384
|
/** @enum {string} */
|
|
12269
12385
|
IssueSeverity: "error" | "warning" | "warn" | "info";
|
|
12270
12386
|
JobPayload: {
|
|
@@ -13394,6 +13510,20 @@ export interface components {
|
|
|
13394
13510
|
registration?: string;
|
|
13395
13511
|
scopes?: string[];
|
|
13396
13512
|
};
|
|
13513
|
+
MCPReloadRecord: {
|
|
13514
|
+
/** Format: date-time */
|
|
13515
|
+
at: string;
|
|
13516
|
+
outcome: string;
|
|
13517
|
+
reason: string;
|
|
13518
|
+
};
|
|
13519
|
+
MCPServerRow: {
|
|
13520
|
+
callable_count: number;
|
|
13521
|
+
name: string;
|
|
13522
|
+
owner: string;
|
|
13523
|
+
reason: string;
|
|
13524
|
+
state: string;
|
|
13525
|
+
tool_count: number;
|
|
13526
|
+
};
|
|
13397
13527
|
MCPServerStatusPayload: {
|
|
13398
13528
|
auth_status?: string;
|
|
13399
13529
|
configured: boolean;
|
|
@@ -13409,6 +13539,11 @@ export interface components {
|
|
|
13409
13539
|
transport?: string;
|
|
13410
13540
|
workspace_id?: string;
|
|
13411
13541
|
};
|
|
13542
|
+
MCPSummary: {
|
|
13543
|
+
attention: number;
|
|
13544
|
+
pending_reload: boolean;
|
|
13545
|
+
usable: number;
|
|
13546
|
+
};
|
|
13412
13547
|
ManagedExtensionRemovePayload: {
|
|
13413
13548
|
data_path?: string;
|
|
13414
13549
|
name: string;
|
|
@@ -15290,11 +15425,35 @@ export interface components {
|
|
|
15290
15425
|
max_runtime_seconds: number;
|
|
15291
15426
|
summary_max_bytes: number;
|
|
15292
15427
|
};
|
|
15428
|
+
RuntimeMCPImportRequest: {
|
|
15429
|
+
name?: string;
|
|
15430
|
+
profile?: string;
|
|
15431
|
+
/** @enum {string} */
|
|
15432
|
+
scope?: "user" | "profile" | "workspace" | "agent";
|
|
15433
|
+
workspace_id?: string;
|
|
15434
|
+
};
|
|
15435
|
+
RuntimeMCPImportResponse: {
|
|
15436
|
+
mcp_server: components["schemas"]["SettingsMCPServerItemPayload"];
|
|
15437
|
+
notes: string[];
|
|
15438
|
+
partial: boolean;
|
|
15439
|
+
source: components["schemas"]["Server"];
|
|
15440
|
+
warnings?: string[];
|
|
15441
|
+
};
|
|
15442
|
+
RuntimeMCPRow: {
|
|
15443
|
+
name: string;
|
|
15444
|
+
scope: string;
|
|
15445
|
+
state: string;
|
|
15446
|
+
transport: string;
|
|
15447
|
+
};
|
|
15293
15448
|
RuntimeMatch: {
|
|
15294
15449
|
complexity?: string;
|
|
15295
15450
|
id?: string;
|
|
15296
15451
|
type?: string;
|
|
15297
15452
|
};
|
|
15453
|
+
RuntimeMode: {
|
|
15454
|
+
can_disable: boolean;
|
|
15455
|
+
mode: string;
|
|
15456
|
+
};
|
|
15298
15457
|
RuntimePolicy: {
|
|
15299
15458
|
/** @enum {string} */
|
|
15300
15459
|
mode: "default" | "evidence";
|
|
@@ -15470,6 +15629,24 @@ export interface components {
|
|
|
15470
15629
|
SendPromptResultResponse: {
|
|
15471
15630
|
prompt: components["schemas"]["SendPromptResultPayload"];
|
|
15472
15631
|
};
|
|
15632
|
+
Server: {
|
|
15633
|
+
also_in_compozy: boolean;
|
|
15634
|
+
approval: string;
|
|
15635
|
+
auth: string;
|
|
15636
|
+
copy_blocked_reason: string;
|
|
15637
|
+
copyable: boolean;
|
|
15638
|
+
definition_digest: string;
|
|
15639
|
+
enabled_in_runtime: boolean;
|
|
15640
|
+
env_keys: string[];
|
|
15641
|
+
header_keys: string[];
|
|
15642
|
+
name: string;
|
|
15643
|
+
runtime: string;
|
|
15644
|
+
scope: string;
|
|
15645
|
+
source_label: string;
|
|
15646
|
+
source_path: string;
|
|
15647
|
+
target: string;
|
|
15648
|
+
transport: string;
|
|
15649
|
+
};
|
|
15473
15650
|
SessionActivityHealthPayload: {
|
|
15474
15651
|
current_tool?: string;
|
|
15475
15652
|
/** Format: date-time */
|
|
@@ -15861,6 +16038,7 @@ export interface components {
|
|
|
15861
16038
|
SessionDeriveErrorPayload: {
|
|
15862
16039
|
blockers?: components["schemas"]["WorkspaceArchiveBlocker"][];
|
|
15863
16040
|
child_session_id?: string;
|
|
16041
|
+
client_message_id?: string;
|
|
15864
16042
|
code?: string;
|
|
15865
16043
|
config_path?: string;
|
|
15866
16044
|
current_turn_id?: string;
|
|
@@ -15869,6 +16047,8 @@ export interface components {
|
|
|
15869
16047
|
};
|
|
15870
16048
|
diagnostic?: components["schemas"]["DiagnosticItem"] | null;
|
|
15871
16049
|
error: string;
|
|
16050
|
+
provider_error?: string;
|
|
16051
|
+
retryable?: boolean;
|
|
15872
16052
|
unknown_keys?: string[];
|
|
15873
16053
|
};
|
|
15874
16054
|
SessionDerivePreviewResponse: {
|
|
@@ -16056,6 +16236,88 @@ export interface components {
|
|
|
16056
16236
|
SessionHealthResponse: {
|
|
16057
16237
|
health: components["schemas"]["SessionHealthPayload"];
|
|
16058
16238
|
};
|
|
16239
|
+
SessionHistoryCleanupChoices: {
|
|
16240
|
+
children: number;
|
|
16241
|
+
everything: number;
|
|
16242
|
+
subagents: number;
|
|
16243
|
+
};
|
|
16244
|
+
SessionHistoryCleanupCounts: {
|
|
16245
|
+
children: number;
|
|
16246
|
+
sessions: number;
|
|
16247
|
+
subagents: number;
|
|
16248
|
+
total: number;
|
|
16249
|
+
};
|
|
16250
|
+
SessionHistoryCleanupFailure: {
|
|
16251
|
+
code: string;
|
|
16252
|
+
message: string;
|
|
16253
|
+
session_id: string;
|
|
16254
|
+
title: string;
|
|
16255
|
+
workspace_id: string;
|
|
16256
|
+
};
|
|
16257
|
+
SessionHistoryCleanupPlan: {
|
|
16258
|
+
/** Format: date-time */
|
|
16259
|
+
archived_before?: string | null;
|
|
16260
|
+
choices: components["schemas"]["SessionHistoryCleanupChoices"];
|
|
16261
|
+
/** Format: date-time */
|
|
16262
|
+
counted_at: string;
|
|
16263
|
+
counts: components["schemas"]["SessionHistoryCleanupCounts"];
|
|
16264
|
+
kept_live: number;
|
|
16265
|
+
threads: number;
|
|
16266
|
+
workspaces: components["schemas"]["SessionHistoryCleanupWorkspace"][];
|
|
16267
|
+
};
|
|
16268
|
+
SessionHistoryCleanupPreviewResponse: {
|
|
16269
|
+
plan: components["schemas"]["SessionHistoryCleanupPlan"];
|
|
16270
|
+
};
|
|
16271
|
+
SessionHistoryCleanupRequest: {
|
|
16272
|
+
all_workspaces?: boolean;
|
|
16273
|
+
/** Format: date-time */
|
|
16274
|
+
archived_before?: string | null;
|
|
16275
|
+
/** Format: date-time */
|
|
16276
|
+
counted_at?: string | null;
|
|
16277
|
+
delete: components["schemas"]["SessionHistoryCleanupSelection"];
|
|
16278
|
+
dry_run?: boolean;
|
|
16279
|
+
older_than_days?: number | null;
|
|
16280
|
+
session_ids?: string[];
|
|
16281
|
+
workspace_id?: string;
|
|
16282
|
+
};
|
|
16283
|
+
SessionHistoryCleanupRun: {
|
|
16284
|
+
all_workspaces?: boolean;
|
|
16285
|
+
/** Format: date-time */
|
|
16286
|
+
archived_before?: string | null;
|
|
16287
|
+
/** Format: date-time */
|
|
16288
|
+
counted_at: string;
|
|
16289
|
+
delete: components["schemas"]["SessionHistoryCleanupSelection"];
|
|
16290
|
+
deleted: number;
|
|
16291
|
+
done: number;
|
|
16292
|
+
failed_threads: number;
|
|
16293
|
+
failures: components["schemas"]["SessionHistoryCleanupFailure"][];
|
|
16294
|
+
/** Format: date-time */
|
|
16295
|
+
finished_at?: string | null;
|
|
16296
|
+
id: string;
|
|
16297
|
+
profile_id: string;
|
|
16298
|
+
skipped: number;
|
|
16299
|
+
/** Format: date-time */
|
|
16300
|
+
started_at: string;
|
|
16301
|
+
state: string;
|
|
16302
|
+
total: number;
|
|
16303
|
+
workspace_id?: string;
|
|
16304
|
+
};
|
|
16305
|
+
SessionHistoryCleanupRunResponse: {
|
|
16306
|
+
run: components["schemas"]["SessionHistoryCleanupRun"] | null;
|
|
16307
|
+
};
|
|
16308
|
+
SessionHistoryCleanupSelection: {
|
|
16309
|
+
children: boolean;
|
|
16310
|
+
everything: boolean;
|
|
16311
|
+
subagents: boolean;
|
|
16312
|
+
};
|
|
16313
|
+
SessionHistoryCleanupStartResponse: {
|
|
16314
|
+
plan: components["schemas"]["SessionHistoryCleanupPlan"];
|
|
16315
|
+
run: components["schemas"]["SessionHistoryCleanupRun"];
|
|
16316
|
+
};
|
|
16317
|
+
SessionHistoryCleanupWorkspace: {
|
|
16318
|
+
total: number;
|
|
16319
|
+
workspace_id: string;
|
|
16320
|
+
};
|
|
16059
16321
|
SessionHistoryResponse: {
|
|
16060
16322
|
history: components["schemas"]["TurnHistoryPayload"][];
|
|
16061
16323
|
};
|
|
@@ -16174,6 +16436,17 @@ export interface components {
|
|
|
16174
16436
|
pull_requests: number;
|
|
16175
16437
|
total: number;
|
|
16176
16438
|
};
|
|
16439
|
+
SessionMCP: {
|
|
16440
|
+
attention: number;
|
|
16441
|
+
compozy_servers: components["schemas"]["MCPServerRow"][];
|
|
16442
|
+
last_reload?: components["schemas"]["MCPReloadRecord"] | null;
|
|
16443
|
+
pending_reload: boolean;
|
|
16444
|
+
runtime: string;
|
|
16445
|
+
runtime_display_name: string;
|
|
16446
|
+
runtime_servers: components["schemas"]["SessionRuntimeMCP"];
|
|
16447
|
+
session_id: string;
|
|
16448
|
+
usable: number;
|
|
16449
|
+
};
|
|
16177
16450
|
SessionMonitorPayload: {
|
|
16178
16451
|
branch?: string;
|
|
16179
16452
|
/** Format: date-time */
|
|
@@ -16267,6 +16540,7 @@ export interface components {
|
|
|
16267
16540
|
later?: components["schemas"]["SessionLaterPayload"] | null;
|
|
16268
16541
|
lineage?: components["schemas"]["SessionLineagePayload"] | null;
|
|
16269
16542
|
linked_work?: components["schemas"]["SessionLinkedWorkSummary"] | null;
|
|
16543
|
+
mcp_summary?: components["schemas"]["MCPSummary"] | null;
|
|
16270
16544
|
monitor_summary?: components["schemas"]["SessionMonitorSummaryPayload"] | null;
|
|
16271
16545
|
name?: string;
|
|
16272
16546
|
parent_title?: string;
|
|
@@ -16432,6 +16706,7 @@ export interface components {
|
|
|
16432
16706
|
SessionPullRequestErrorPayload: {
|
|
16433
16707
|
blockers?: components["schemas"]["WorkspaceArchiveBlocker"][];
|
|
16434
16708
|
cause?: string;
|
|
16709
|
+
client_message_id?: string;
|
|
16435
16710
|
code?: string;
|
|
16436
16711
|
config_path?: string;
|
|
16437
16712
|
current_turn_id?: string;
|
|
@@ -16441,6 +16716,8 @@ export interface components {
|
|
|
16441
16716
|
diagnostic?: components["schemas"]["DiagnosticItem"] | null;
|
|
16442
16717
|
error: string;
|
|
16443
16718
|
message: string;
|
|
16719
|
+
provider_error?: string;
|
|
16720
|
+
retryable?: boolean;
|
|
16444
16721
|
unknown_keys?: string[];
|
|
16445
16722
|
};
|
|
16446
16723
|
SessionPullRequestLookupPayload: {
|
|
@@ -16509,6 +16786,10 @@ export interface components {
|
|
|
16509
16786
|
SessionResponse: {
|
|
16510
16787
|
session: components["schemas"]["SessionPayload"];
|
|
16511
16788
|
};
|
|
16789
|
+
SessionRuntimeMCP: {
|
|
16790
|
+
runtime_mcp: string;
|
|
16791
|
+
servers: components["schemas"]["RuntimeMCPRow"][];
|
|
16792
|
+
};
|
|
16512
16793
|
SessionRuntimePayload: {
|
|
16513
16794
|
acp_caps?: components["schemas"]["ACPCapsPayload"] | null;
|
|
16514
16795
|
acp_session_id?: string;
|
|
@@ -17273,9 +17554,32 @@ export interface components {
|
|
|
17273
17554
|
SettingsLogTailEventPayload: {
|
|
17274
17555
|
line: string;
|
|
17275
17556
|
};
|
|
17557
|
+
SettingsMCPApprovalPayload: {
|
|
17558
|
+
/** Format: date-time */
|
|
17559
|
+
approved_at?: string;
|
|
17560
|
+
profile: string;
|
|
17561
|
+
server_name: string;
|
|
17562
|
+
state: string;
|
|
17563
|
+
workspace_id: string;
|
|
17564
|
+
};
|
|
17565
|
+
SettingsMCPApprovalRequest: {
|
|
17566
|
+
definition_digest: string;
|
|
17567
|
+
profile?: string;
|
|
17568
|
+
workspace_id: string;
|
|
17569
|
+
};
|
|
17570
|
+
SettingsMCPApprovalResponse: {
|
|
17571
|
+
approval: components["schemas"]["SettingsMCPApprovalPayload"];
|
|
17572
|
+
};
|
|
17573
|
+
SettingsMCPApprovalStatePayload: {
|
|
17574
|
+
definition_digest: string;
|
|
17575
|
+
reason?: string;
|
|
17576
|
+
required: boolean;
|
|
17577
|
+
state: string;
|
|
17578
|
+
};
|
|
17276
17579
|
SettingsMCPAuthBeginRequest: {
|
|
17277
17580
|
approve_scope_escalation?: boolean;
|
|
17278
17581
|
approved_scopes?: string[];
|
|
17582
|
+
definition_digest?: string;
|
|
17279
17583
|
/** @enum {string} */
|
|
17280
17584
|
mode: "automatic" | "manual";
|
|
17281
17585
|
};
|
|
@@ -17345,9 +17649,11 @@ export interface components {
|
|
|
17345
17649
|
};
|
|
17346
17650
|
};
|
|
17347
17651
|
SettingsMCPServerItemPayload: {
|
|
17652
|
+
approval: components["schemas"]["SettingsMCPApprovalStatePayload"];
|
|
17348
17653
|
args?: string[];
|
|
17349
17654
|
auth?: components["schemas"]["SettingsMCPAuthConfigViewPayload"] | null;
|
|
17350
17655
|
auth_status?: components["schemas"]["SettingsMCPAuthStatusPayload"] | null;
|
|
17656
|
+
callable_in_sessions: boolean;
|
|
17351
17657
|
catalog_entry?: string;
|
|
17352
17658
|
catalog_version?: string;
|
|
17353
17659
|
command?: string;
|
|
@@ -17632,6 +17938,7 @@ export interface components {
|
|
|
17632
17938
|
harness?: string;
|
|
17633
17939
|
home_policy?: string;
|
|
17634
17940
|
models?: components["schemas"]["SettingsProviderModelsPayload"] | null;
|
|
17941
|
+
runtime_mcp?: string;
|
|
17635
17942
|
runtime_provider?: string;
|
|
17636
17943
|
session_env?: {
|
|
17637
17944
|
[key: string]: components["schemas"]["SessionEnvBindingPayload"];
|
|
@@ -17690,6 +17997,7 @@ export interface components {
|
|
|
17690
17997
|
harness?: string;
|
|
17691
17998
|
home_policy?: string;
|
|
17692
17999
|
models?: components["schemas"]["SettingsProviderModelsPayload"] | null;
|
|
18000
|
+
runtime_mcp?: string;
|
|
17693
18001
|
runtime_provider?: string;
|
|
17694
18002
|
session_env?: {
|
|
17695
18003
|
[key: string]: components["schemas"]["SessionEnvBindingPayload"];
|
|
@@ -18564,6 +18872,17 @@ export interface components {
|
|
|
18564
18872
|
exit_slack: number;
|
|
18565
18873
|
repeat_ratios: number[];
|
|
18566
18874
|
};
|
|
18875
|
+
Snapshot: {
|
|
18876
|
+
config_files: string[];
|
|
18877
|
+
display_name: string;
|
|
18878
|
+
installed: boolean;
|
|
18879
|
+
notes?: string[];
|
|
18880
|
+
read_error?: string;
|
|
18881
|
+
read_state: string;
|
|
18882
|
+
runtime: string;
|
|
18883
|
+
runtime_mcp: components["schemas"]["RuntimeMode"];
|
|
18884
|
+
servers: components["schemas"]["Server"][];
|
|
18885
|
+
};
|
|
18567
18886
|
SourceOutcome: {
|
|
18568
18887
|
/** Format: int64 */
|
|
18569
18888
|
duration_ms: number;
|
|
@@ -18731,6 +19050,10 @@ export interface components {
|
|
|
18731
19050
|
state: string;
|
|
18732
19051
|
url: string;
|
|
18733
19052
|
};
|
|
19053
|
+
SubagentRemovedEvent: {
|
|
19054
|
+
session_id: string;
|
|
19055
|
+
subagent_id: string;
|
|
19056
|
+
};
|
|
18734
19057
|
SubagentRuntimePayload: {
|
|
18735
19058
|
agent: string;
|
|
18736
19059
|
model: string;
|
|
@@ -19473,6 +19796,7 @@ export interface components {
|
|
|
19473
19796
|
};
|
|
19474
19797
|
TaskQueryErrorPayload: {
|
|
19475
19798
|
blockers?: components["schemas"]["WorkspaceArchiveBlocker"][];
|
|
19799
|
+
client_message_id?: string;
|
|
19476
19800
|
code?: string;
|
|
19477
19801
|
config_path?: string;
|
|
19478
19802
|
current_turn_id?: string;
|
|
@@ -19482,6 +19806,8 @@ export interface components {
|
|
|
19482
19806
|
diagnostic?: components["schemas"]["DiagnosticItem"] | null;
|
|
19483
19807
|
error: string;
|
|
19484
19808
|
field: string;
|
|
19809
|
+
provider_error?: string;
|
|
19810
|
+
retryable?: boolean;
|
|
19485
19811
|
unknown_keys?: string[];
|
|
19486
19812
|
};
|
|
19487
19813
|
TaskQueueDepthPayload: {
|
|
@@ -20682,6 +21008,7 @@ export interface components {
|
|
|
20682
21008
|
visibility: "internal" | "operator" | "session" | "model";
|
|
20683
21009
|
};
|
|
20684
21010
|
ToolErrorPayload: {
|
|
21011
|
+
client_message_id?: string;
|
|
20685
21012
|
/** @enum {string} */
|
|
20686
21013
|
code:
|
|
20687
21014
|
| "agent_instance_not_found"
|
|
@@ -20752,6 +21079,7 @@ export interface components {
|
|
|
20752
21079
|
layer?: string;
|
|
20753
21080
|
message: string;
|
|
20754
21081
|
partial_result?: components["schemas"]["ToolResult"] | null;
|
|
21082
|
+
provider_error?: string;
|
|
20755
21083
|
reason_codes?: (
|
|
20756
21084
|
| "approval_canceled"
|
|
20757
21085
|
| "approval_rejected"
|
|
@@ -20838,6 +21166,7 @@ export interface components {
|
|
|
20838
21166
|
| "worktree_not_found"
|
|
20839
21167
|
| "worktree_not_ready"
|
|
20840
21168
|
)[];
|
|
21169
|
+
retryable?: boolean;
|
|
20841
21170
|
tool_id?: string;
|
|
20842
21171
|
};
|
|
20843
21172
|
ToolErrorResponse: {
|
|
@@ -34929,6 +35258,15 @@ export interface operations {
|
|
|
34929
35258
|
"application/json": components["schemas"]["ErrorPayload"];
|
|
34930
35259
|
};
|
|
34931
35260
|
};
|
|
35261
|
+
/** @description MCP server waiting for approval or definition changed */
|
|
35262
|
+
409: {
|
|
35263
|
+
headers: {
|
|
35264
|
+
[name: string]: unknown;
|
|
35265
|
+
};
|
|
35266
|
+
content: {
|
|
35267
|
+
"application/json": components["schemas"]["ErrorPayload"];
|
|
35268
|
+
};
|
|
35269
|
+
};
|
|
34932
35270
|
/** @description MCP OAuth callback runtime is unavailable */
|
|
34933
35271
|
503: {
|
|
34934
35272
|
headers: {
|
|
@@ -39573,6 +39911,197 @@ export interface operations {
|
|
|
39573
39911
|
};
|
|
39574
39912
|
};
|
|
39575
39913
|
};
|
|
39914
|
+
getSessionHistoryCleanup: {
|
|
39915
|
+
parameters: {
|
|
39916
|
+
query?: {
|
|
39917
|
+
/** @description Act as this profile by name */
|
|
39918
|
+
profile?: string;
|
|
39919
|
+
};
|
|
39920
|
+
header?: never;
|
|
39921
|
+
path?: never;
|
|
39922
|
+
cookie?: never;
|
|
39923
|
+
};
|
|
39924
|
+
requestBody?: never;
|
|
39925
|
+
responses: {
|
|
39926
|
+
/** @description OK */
|
|
39927
|
+
200: {
|
|
39928
|
+
headers: {
|
|
39929
|
+
[name: string]: unknown;
|
|
39930
|
+
};
|
|
39931
|
+
content: {
|
|
39932
|
+
"application/json": components["schemas"]["SessionHistoryCleanupRunResponse"];
|
|
39933
|
+
};
|
|
39934
|
+
};
|
|
39935
|
+
/** @description Agent identity is denied */
|
|
39936
|
+
403: {
|
|
39937
|
+
headers: {
|
|
39938
|
+
[name: string]: unknown;
|
|
39939
|
+
};
|
|
39940
|
+
content: {
|
|
39941
|
+
"application/json": components["schemas"]["ErrorPayload"];
|
|
39942
|
+
};
|
|
39943
|
+
};
|
|
39944
|
+
/** @description Internal server error */
|
|
39945
|
+
500: {
|
|
39946
|
+
headers: {
|
|
39947
|
+
[name: string]: unknown;
|
|
39948
|
+
};
|
|
39949
|
+
content: {
|
|
39950
|
+
"application/json": components["schemas"]["ErrorPayload"];
|
|
39951
|
+
};
|
|
39952
|
+
};
|
|
39953
|
+
/** @description Service unavailable - dependent service missing */
|
|
39954
|
+
503: {
|
|
39955
|
+
headers: {
|
|
39956
|
+
[name: string]: unknown;
|
|
39957
|
+
};
|
|
39958
|
+
content: {
|
|
39959
|
+
"application/json": components["schemas"]["ErrorPayload"];
|
|
39960
|
+
};
|
|
39961
|
+
};
|
|
39962
|
+
};
|
|
39963
|
+
};
|
|
39964
|
+
planSessionHistoryCleanup: {
|
|
39965
|
+
parameters: {
|
|
39966
|
+
query?: {
|
|
39967
|
+
/** @description Act as this profile by name */
|
|
39968
|
+
profile?: string;
|
|
39969
|
+
};
|
|
39970
|
+
header?: never;
|
|
39971
|
+
path?: never;
|
|
39972
|
+
cookie?: never;
|
|
39973
|
+
};
|
|
39974
|
+
/** @description JSON request body */
|
|
39975
|
+
requestBody: {
|
|
39976
|
+
content: {
|
|
39977
|
+
"application/json": components["schemas"]["SessionHistoryCleanupRequest"];
|
|
39978
|
+
};
|
|
39979
|
+
};
|
|
39980
|
+
responses: {
|
|
39981
|
+
/** @description Dry run: the sessions the cleanup would delete */
|
|
39982
|
+
200: {
|
|
39983
|
+
headers: {
|
|
39984
|
+
[name: string]: unknown;
|
|
39985
|
+
};
|
|
39986
|
+
content: {
|
|
39987
|
+
"application/json": components["schemas"]["SessionHistoryCleanupPreviewResponse"];
|
|
39988
|
+
};
|
|
39989
|
+
};
|
|
39990
|
+
/** @description Accepted: the cleanup runs in the background; follow it with getSessionHistoryCleanup */
|
|
39991
|
+
202: {
|
|
39992
|
+
headers: {
|
|
39993
|
+
[name: string]: unknown;
|
|
39994
|
+
};
|
|
39995
|
+
content: {
|
|
39996
|
+
"application/json": components["schemas"]["SessionHistoryCleanupStartResponse"];
|
|
39997
|
+
};
|
|
39998
|
+
};
|
|
39999
|
+
/** @description Invalid cleanup request */
|
|
40000
|
+
400: {
|
|
40001
|
+
headers: {
|
|
40002
|
+
[name: string]: unknown;
|
|
40003
|
+
};
|
|
40004
|
+
content: {
|
|
40005
|
+
"application/json": components["schemas"]["ErrorPayload"];
|
|
40006
|
+
};
|
|
40007
|
+
};
|
|
40008
|
+
/** @description Agent identity is denied */
|
|
40009
|
+
403: {
|
|
40010
|
+
headers: {
|
|
40011
|
+
[name: string]: unknown;
|
|
40012
|
+
};
|
|
40013
|
+
content: {
|
|
40014
|
+
"application/json": components["schemas"]["ErrorPayload"];
|
|
40015
|
+
};
|
|
40016
|
+
};
|
|
40017
|
+
/** @description A cleanup is already running for this profile */
|
|
40018
|
+
409: {
|
|
40019
|
+
headers: {
|
|
40020
|
+
[name: string]: unknown;
|
|
40021
|
+
};
|
|
40022
|
+
content: {
|
|
40023
|
+
"application/json": components["schemas"]["ErrorPayload"];
|
|
40024
|
+
};
|
|
40025
|
+
};
|
|
40026
|
+
/** @description Internal server error */
|
|
40027
|
+
500: {
|
|
40028
|
+
headers: {
|
|
40029
|
+
[name: string]: unknown;
|
|
40030
|
+
};
|
|
40031
|
+
content: {
|
|
40032
|
+
"application/json": components["schemas"]["ErrorPayload"];
|
|
40033
|
+
};
|
|
40034
|
+
};
|
|
40035
|
+
/** @description Service unavailable - dependent service missing */
|
|
40036
|
+
503: {
|
|
40037
|
+
headers: {
|
|
40038
|
+
[name: string]: unknown;
|
|
40039
|
+
};
|
|
40040
|
+
content: {
|
|
40041
|
+
"application/json": components["schemas"]["ErrorPayload"];
|
|
40042
|
+
};
|
|
40043
|
+
};
|
|
40044
|
+
};
|
|
40045
|
+
};
|
|
40046
|
+
stopSessionHistoryCleanup: {
|
|
40047
|
+
parameters: {
|
|
40048
|
+
query?: {
|
|
40049
|
+
/** @description Act as this profile by name */
|
|
40050
|
+
profile?: string;
|
|
40051
|
+
};
|
|
40052
|
+
header?: never;
|
|
40053
|
+
path?: never;
|
|
40054
|
+
cookie?: never;
|
|
40055
|
+
};
|
|
40056
|
+
requestBody?: never;
|
|
40057
|
+
responses: {
|
|
40058
|
+
/** @description OK */
|
|
40059
|
+
200: {
|
|
40060
|
+
headers: {
|
|
40061
|
+
[name: string]: unknown;
|
|
40062
|
+
};
|
|
40063
|
+
content: {
|
|
40064
|
+
"application/json": components["schemas"]["SessionHistoryCleanupRunResponse"];
|
|
40065
|
+
};
|
|
40066
|
+
};
|
|
40067
|
+
/** @description Agent identity is denied */
|
|
40068
|
+
403: {
|
|
40069
|
+
headers: {
|
|
40070
|
+
[name: string]: unknown;
|
|
40071
|
+
};
|
|
40072
|
+
content: {
|
|
40073
|
+
"application/json": components["schemas"]["ErrorPayload"];
|
|
40074
|
+
};
|
|
40075
|
+
};
|
|
40076
|
+
/** @description No cleanup is running for this profile */
|
|
40077
|
+
404: {
|
|
40078
|
+
headers: {
|
|
40079
|
+
[name: string]: unknown;
|
|
40080
|
+
};
|
|
40081
|
+
content: {
|
|
40082
|
+
"application/json": components["schemas"]["ErrorPayload"];
|
|
40083
|
+
};
|
|
40084
|
+
};
|
|
40085
|
+
/** @description Internal server error */
|
|
40086
|
+
500: {
|
|
40087
|
+
headers: {
|
|
40088
|
+
[name: string]: unknown;
|
|
40089
|
+
};
|
|
40090
|
+
content: {
|
|
40091
|
+
"application/json": components["schemas"]["ErrorPayload"];
|
|
40092
|
+
};
|
|
40093
|
+
};
|
|
40094
|
+
/** @description Service unavailable - dependent service missing */
|
|
40095
|
+
503: {
|
|
40096
|
+
headers: {
|
|
40097
|
+
[name: string]: unknown;
|
|
40098
|
+
};
|
|
40099
|
+
content: {
|
|
40100
|
+
"application/json": components["schemas"]["ErrorPayload"];
|
|
40101
|
+
};
|
|
40102
|
+
};
|
|
40103
|
+
};
|
|
40104
|
+
};
|
|
39576
40105
|
getSessionByID: {
|
|
39577
40106
|
parameters: {
|
|
39578
40107
|
query?: {
|
|
@@ -39952,6 +40481,7 @@ export interface operations {
|
|
|
39952
40481
|
"text/event-stream":
|
|
39953
40482
|
| components["schemas"]["SubagentsSnapshotEvent"]
|
|
39954
40483
|
| components["schemas"]["SubagentUpdatedEvent"]
|
|
40484
|
+
| components["schemas"]["SubagentRemovedEvent"]
|
|
39955
40485
|
| components["schemas"]["SessionUsageChangedPayload"]
|
|
39956
40486
|
| components["schemas"]["SessionConsumerDegradedPayload"]
|
|
39957
40487
|
| components["schemas"]["SessionEventPayload"]
|
|
@@ -41409,6 +41939,132 @@ export interface operations {
|
|
|
41409
41939
|
};
|
|
41410
41940
|
};
|
|
41411
41941
|
};
|
|
41942
|
+
putSettingsMCPApproval: {
|
|
41943
|
+
parameters: {
|
|
41944
|
+
query?: never;
|
|
41945
|
+
header?: never;
|
|
41946
|
+
path: {
|
|
41947
|
+
/** @description Configured MCP server name */
|
|
41948
|
+
name: string;
|
|
41949
|
+
};
|
|
41950
|
+
cookie?: never;
|
|
41951
|
+
};
|
|
41952
|
+
/** @description JSON request body */
|
|
41953
|
+
requestBody: {
|
|
41954
|
+
content: {
|
|
41955
|
+
"application/json": components["schemas"]["SettingsMCPApprovalRequest"];
|
|
41956
|
+
};
|
|
41957
|
+
};
|
|
41958
|
+
responses: {
|
|
41959
|
+
/** @description OK */
|
|
41960
|
+
200: {
|
|
41961
|
+
headers: {
|
|
41962
|
+
[name: string]: unknown;
|
|
41963
|
+
};
|
|
41964
|
+
content: {
|
|
41965
|
+
"application/json": components["schemas"]["SettingsMCPApprovalResponse"];
|
|
41966
|
+
};
|
|
41967
|
+
};
|
|
41968
|
+
/** @description Invalid MCP OAuth request or session */
|
|
41969
|
+
400: {
|
|
41970
|
+
headers: {
|
|
41971
|
+
[name: string]: unknown;
|
|
41972
|
+
};
|
|
41973
|
+
content: {
|
|
41974
|
+
"application/json": components["schemas"]["ErrorPayload"];
|
|
41975
|
+
};
|
|
41976
|
+
};
|
|
41977
|
+
/** @description Forbidden */
|
|
41978
|
+
403: {
|
|
41979
|
+
headers: {
|
|
41980
|
+
[name: string]: unknown;
|
|
41981
|
+
};
|
|
41982
|
+
content: {
|
|
41983
|
+
"application/json": components["schemas"]["ErrorPayload"];
|
|
41984
|
+
};
|
|
41985
|
+
};
|
|
41986
|
+
/** @description MCP server or workspace not found */
|
|
41987
|
+
404: {
|
|
41988
|
+
headers: {
|
|
41989
|
+
[name: string]: unknown;
|
|
41990
|
+
};
|
|
41991
|
+
content: {
|
|
41992
|
+
"application/json": components["schemas"]["ErrorPayload"];
|
|
41993
|
+
};
|
|
41994
|
+
};
|
|
41995
|
+
/** @description MCP server waiting for approval or definition changed */
|
|
41996
|
+
409: {
|
|
41997
|
+
headers: {
|
|
41998
|
+
[name: string]: unknown;
|
|
41999
|
+
};
|
|
42000
|
+
content: {
|
|
42001
|
+
"application/json": components["schemas"]["ErrorPayload"];
|
|
42002
|
+
};
|
|
42003
|
+
};
|
|
42004
|
+
/** @description Internal server error */
|
|
42005
|
+
500: {
|
|
42006
|
+
headers: {
|
|
42007
|
+
[name: string]: unknown;
|
|
42008
|
+
};
|
|
42009
|
+
content: {
|
|
42010
|
+
"application/json": components["schemas"]["ErrorPayload"];
|
|
42011
|
+
};
|
|
42012
|
+
};
|
|
42013
|
+
/** @description MCP OAuth runtime is unavailable */
|
|
42014
|
+
503: {
|
|
42015
|
+
headers: {
|
|
42016
|
+
[name: string]: unknown;
|
|
42017
|
+
};
|
|
42018
|
+
content: {
|
|
42019
|
+
"application/json": components["schemas"]["ErrorPayload"];
|
|
42020
|
+
};
|
|
42021
|
+
};
|
|
42022
|
+
};
|
|
42023
|
+
};
|
|
42024
|
+
deleteSettingsMCPApproval: {
|
|
42025
|
+
parameters: {
|
|
42026
|
+
query: {
|
|
42027
|
+
/** @description Workspace ID */
|
|
42028
|
+
workspace_id: string;
|
|
42029
|
+
/** @description Profile name */
|
|
42030
|
+
profile?: string;
|
|
42031
|
+
};
|
|
42032
|
+
header?: never;
|
|
42033
|
+
path: {
|
|
42034
|
+
/** @description Configured MCP server name */
|
|
42035
|
+
name: string;
|
|
42036
|
+
};
|
|
42037
|
+
cookie?: never;
|
|
42038
|
+
};
|
|
42039
|
+
requestBody?: never;
|
|
42040
|
+
responses: {
|
|
42041
|
+
/** @description Revoked */
|
|
42042
|
+
204: {
|
|
42043
|
+
headers: {
|
|
42044
|
+
[name: string]: unknown;
|
|
42045
|
+
};
|
|
42046
|
+
content?: never;
|
|
42047
|
+
};
|
|
42048
|
+
/** @description MCP server or workspace not found */
|
|
42049
|
+
404: {
|
|
42050
|
+
headers: {
|
|
42051
|
+
[name: string]: unknown;
|
|
42052
|
+
};
|
|
42053
|
+
content: {
|
|
42054
|
+
"application/json": components["schemas"]["ErrorPayload"];
|
|
42055
|
+
};
|
|
42056
|
+
};
|
|
42057
|
+
/** @description Approval not required */
|
|
42058
|
+
409: {
|
|
42059
|
+
headers: {
|
|
42060
|
+
[name: string]: unknown;
|
|
42061
|
+
};
|
|
42062
|
+
content: {
|
|
42063
|
+
"application/json": components["schemas"]["ErrorPayload"];
|
|
42064
|
+
};
|
|
42065
|
+
};
|
|
42066
|
+
};
|
|
42067
|
+
};
|
|
41412
42068
|
beginSettingsMCPAuth: {
|
|
41413
42069
|
parameters: {
|
|
41414
42070
|
query: {
|
|
@@ -41471,6 +42127,15 @@ export interface operations {
|
|
|
41471
42127
|
"application/json": components["schemas"]["ErrorPayload"];
|
|
41472
42128
|
};
|
|
41473
42129
|
};
|
|
42130
|
+
/** @description MCP server waiting for approval or definition changed */
|
|
42131
|
+
409: {
|
|
42132
|
+
headers: {
|
|
42133
|
+
[name: string]: unknown;
|
|
42134
|
+
};
|
|
42135
|
+
content: {
|
|
42136
|
+
"application/json": components["schemas"]["ErrorPayload"];
|
|
42137
|
+
};
|
|
42138
|
+
};
|
|
41474
42139
|
/** @description Internal server error */
|
|
41475
42140
|
500: {
|
|
41476
42141
|
headers: {
|
|
@@ -41553,6 +42218,15 @@ export interface operations {
|
|
|
41553
42218
|
"application/json": components["schemas"]["ErrorPayload"];
|
|
41554
42219
|
};
|
|
41555
42220
|
};
|
|
42221
|
+
/** @description MCP server waiting for approval or definition changed */
|
|
42222
|
+
409: {
|
|
42223
|
+
headers: {
|
|
42224
|
+
[name: string]: unknown;
|
|
42225
|
+
};
|
|
42226
|
+
content: {
|
|
42227
|
+
"application/json": components["schemas"]["ErrorPayload"];
|
|
42228
|
+
};
|
|
42229
|
+
};
|
|
41556
42230
|
/** @description Internal server error */
|
|
41557
42231
|
500: {
|
|
41558
42232
|
headers: {
|
|
@@ -41630,6 +42304,15 @@ export interface operations {
|
|
|
41630
42304
|
"application/json": components["schemas"]["ErrorPayload"];
|
|
41631
42305
|
};
|
|
41632
42306
|
};
|
|
42307
|
+
/** @description MCP server waiting for approval or definition changed */
|
|
42308
|
+
409: {
|
|
42309
|
+
headers: {
|
|
42310
|
+
[name: string]: unknown;
|
|
42311
|
+
};
|
|
42312
|
+
content: {
|
|
42313
|
+
"application/json": components["schemas"]["ErrorPayload"];
|
|
42314
|
+
};
|
|
42315
|
+
};
|
|
41633
42316
|
/** @description Internal server error */
|
|
41634
42317
|
500: {
|
|
41635
42318
|
headers: {
|
|
@@ -41707,6 +42390,15 @@ export interface operations {
|
|
|
41707
42390
|
"application/json": components["schemas"]["ErrorPayload"];
|
|
41708
42391
|
};
|
|
41709
42392
|
};
|
|
42393
|
+
/** @description MCP server waiting for approval or definition changed */
|
|
42394
|
+
409: {
|
|
42395
|
+
headers: {
|
|
42396
|
+
[name: string]: unknown;
|
|
42397
|
+
};
|
|
42398
|
+
content: {
|
|
42399
|
+
"application/json": components["schemas"]["ErrorPayload"];
|
|
42400
|
+
};
|
|
42401
|
+
};
|
|
41710
42402
|
/** @description Internal server error */
|
|
41711
42403
|
500: {
|
|
41712
42404
|
headers: {
|
|
@@ -42477,6 +43169,136 @@ export interface operations {
|
|
|
42477
43169
|
};
|
|
42478
43170
|
};
|
|
42479
43171
|
};
|
|
43172
|
+
listRuntimeMCPServers: {
|
|
43173
|
+
parameters: {
|
|
43174
|
+
query?: {
|
|
43175
|
+
/** @description Select the settings scope */
|
|
43176
|
+
scope?: "user" | "profile" | "workspace";
|
|
43177
|
+
/** @description Select the workspace context */
|
|
43178
|
+
workspace_id?: string;
|
|
43179
|
+
/** @description Select the profile layer */
|
|
43180
|
+
profile?: string;
|
|
43181
|
+
runtime?: string;
|
|
43182
|
+
};
|
|
43183
|
+
header?: never;
|
|
43184
|
+
path?: never;
|
|
43185
|
+
cookie?: never;
|
|
43186
|
+
};
|
|
43187
|
+
requestBody?: never;
|
|
43188
|
+
responses: {
|
|
43189
|
+
/** @description OK */
|
|
43190
|
+
200: {
|
|
43191
|
+
headers: {
|
|
43192
|
+
[name: string]: unknown;
|
|
43193
|
+
};
|
|
43194
|
+
content: {
|
|
43195
|
+
"application/json": components["schemas"]["Inventory"];
|
|
43196
|
+
};
|
|
43197
|
+
};
|
|
43198
|
+
/** @description Invalid runtime or settings scope */
|
|
43199
|
+
400: {
|
|
43200
|
+
headers: {
|
|
43201
|
+
[name: string]: unknown;
|
|
43202
|
+
};
|
|
43203
|
+
content: {
|
|
43204
|
+
"application/json": components["schemas"]["ErrorPayload"];
|
|
43205
|
+
};
|
|
43206
|
+
};
|
|
43207
|
+
/** @description Workspace not found */
|
|
43208
|
+
404: {
|
|
43209
|
+
headers: {
|
|
43210
|
+
[name: string]: unknown;
|
|
43211
|
+
};
|
|
43212
|
+
content: {
|
|
43213
|
+
"application/json": components["schemas"]["ErrorPayload"];
|
|
43214
|
+
};
|
|
43215
|
+
};
|
|
43216
|
+
/** @description Internal server error */
|
|
43217
|
+
500: {
|
|
43218
|
+
headers: {
|
|
43219
|
+
[name: string]: unknown;
|
|
43220
|
+
};
|
|
43221
|
+
content: {
|
|
43222
|
+
"application/json": components["schemas"]["ErrorPayload"];
|
|
43223
|
+
};
|
|
43224
|
+
};
|
|
43225
|
+
};
|
|
43226
|
+
};
|
|
43227
|
+
importRuntimeMCPServer: {
|
|
43228
|
+
parameters: {
|
|
43229
|
+
query?: never;
|
|
43230
|
+
header?: never;
|
|
43231
|
+
path: {
|
|
43232
|
+
/** @description Source runtime */
|
|
43233
|
+
runtime: string;
|
|
43234
|
+
/** @description URL-escaped runtime server name */
|
|
43235
|
+
name: string;
|
|
43236
|
+
};
|
|
43237
|
+
cookie?: never;
|
|
43238
|
+
};
|
|
43239
|
+
/** @description JSON request body */
|
|
43240
|
+
requestBody: {
|
|
43241
|
+
content: {
|
|
43242
|
+
"application/json": components["schemas"]["RuntimeMCPImportRequest"];
|
|
43243
|
+
};
|
|
43244
|
+
};
|
|
43245
|
+
responses: {
|
|
43246
|
+
/** @description Copied, possibly with partial cleanup warnings */
|
|
43247
|
+
201: {
|
|
43248
|
+
headers: {
|
|
43249
|
+
[name: string]: unknown;
|
|
43250
|
+
};
|
|
43251
|
+
content: {
|
|
43252
|
+
"application/json": components["schemas"]["RuntimeMCPImportResponse"];
|
|
43253
|
+
};
|
|
43254
|
+
};
|
|
43255
|
+
/** @description Invalid import request */
|
|
43256
|
+
400: {
|
|
43257
|
+
headers: {
|
|
43258
|
+
[name: string]: unknown;
|
|
43259
|
+
};
|
|
43260
|
+
content: {
|
|
43261
|
+
"application/json": components["schemas"]["ErrorPayload"];
|
|
43262
|
+
};
|
|
43263
|
+
};
|
|
43264
|
+
/** @description Runtime server or workspace not found */
|
|
43265
|
+
404: {
|
|
43266
|
+
headers: {
|
|
43267
|
+
[name: string]: unknown;
|
|
43268
|
+
};
|
|
43269
|
+
content: {
|
|
43270
|
+
"application/json": components["schemas"]["ErrorPayload"];
|
|
43271
|
+
};
|
|
43272
|
+
};
|
|
43273
|
+
/** @description Target name already exists */
|
|
43274
|
+
409: {
|
|
43275
|
+
headers: {
|
|
43276
|
+
[name: string]: unknown;
|
|
43277
|
+
};
|
|
43278
|
+
content: {
|
|
43279
|
+
"application/json": components["schemas"]["ErrorPayload"];
|
|
43280
|
+
};
|
|
43281
|
+
};
|
|
43282
|
+
/** @description Runtime source, transport or definition cannot be copied */
|
|
43283
|
+
422: {
|
|
43284
|
+
headers: {
|
|
43285
|
+
[name: string]: unknown;
|
|
43286
|
+
};
|
|
43287
|
+
content: {
|
|
43288
|
+
"application/json": components["schemas"]["ErrorPayload"];
|
|
43289
|
+
};
|
|
43290
|
+
};
|
|
43291
|
+
/** @description Internal server error */
|
|
43292
|
+
500: {
|
|
43293
|
+
headers: {
|
|
43294
|
+
[name: string]: unknown;
|
|
43295
|
+
};
|
|
43296
|
+
content: {
|
|
43297
|
+
"application/json": components["schemas"]["ErrorPayload"];
|
|
43298
|
+
};
|
|
43299
|
+
};
|
|
43300
|
+
};
|
|
43301
|
+
};
|
|
42480
43302
|
getSettingsShell: {
|
|
42481
43303
|
parameters: {
|
|
42482
43304
|
query?: never;
|
|
@@ -57551,6 +58373,63 @@ export interface operations {
|
|
|
57551
58373
|
};
|
|
57552
58374
|
};
|
|
57553
58375
|
};
|
|
58376
|
+
getSessionMCP: {
|
|
58377
|
+
parameters: {
|
|
58378
|
+
query?: {
|
|
58379
|
+
/** @description Read one profile's rows by name */
|
|
58380
|
+
profile?: string;
|
|
58381
|
+
/** @description Read the owner-labeled all-profiles aggregate */
|
|
58382
|
+
all_profiles?: boolean;
|
|
58383
|
+
};
|
|
58384
|
+
header?: never;
|
|
58385
|
+
path: {
|
|
58386
|
+
/** @description Workspace id */
|
|
58387
|
+
workspace_id: string;
|
|
58388
|
+
/** @description Session id */
|
|
58389
|
+
session_id: string;
|
|
58390
|
+
};
|
|
58391
|
+
cookie?: never;
|
|
58392
|
+
};
|
|
58393
|
+
requestBody?: never;
|
|
58394
|
+
responses: {
|
|
58395
|
+
/** @description OK */
|
|
58396
|
+
200: {
|
|
58397
|
+
headers: {
|
|
58398
|
+
[name: string]: unknown;
|
|
58399
|
+
};
|
|
58400
|
+
content: {
|
|
58401
|
+
"application/json": components["schemas"]["SessionMCP"];
|
|
58402
|
+
};
|
|
58403
|
+
};
|
|
58404
|
+
/** @description Session not found */
|
|
58405
|
+
404: {
|
|
58406
|
+
headers: {
|
|
58407
|
+
[name: string]: unknown;
|
|
58408
|
+
};
|
|
58409
|
+
content: {
|
|
58410
|
+
"application/json": components["schemas"]["ErrorPayload"];
|
|
58411
|
+
};
|
|
58412
|
+
};
|
|
58413
|
+
/** @description Internal server error */
|
|
58414
|
+
500: {
|
|
58415
|
+
headers: {
|
|
58416
|
+
[name: string]: unknown;
|
|
58417
|
+
};
|
|
58418
|
+
content: {
|
|
58419
|
+
"application/json": components["schemas"]["ErrorPayload"];
|
|
58420
|
+
};
|
|
58421
|
+
};
|
|
58422
|
+
/** @description Session MCP read model unavailable */
|
|
58423
|
+
503: {
|
|
58424
|
+
headers: {
|
|
58425
|
+
[name: string]: unknown;
|
|
58426
|
+
};
|
|
58427
|
+
content: {
|
|
58428
|
+
"application/json": components["schemas"]["ErrorPayload"];
|
|
58429
|
+
};
|
|
58430
|
+
};
|
|
58431
|
+
};
|
|
58432
|
+
};
|
|
57554
58433
|
listSessionMonitors: {
|
|
57555
58434
|
parameters: {
|
|
57556
58435
|
query?: {
|
|
@@ -59517,6 +60396,7 @@ export interface operations {
|
|
|
59517
60396
|
"text/event-stream":
|
|
59518
60397
|
| components["schemas"]["SubagentsSnapshotEvent"]
|
|
59519
60398
|
| components["schemas"]["SubagentUpdatedEvent"]
|
|
60399
|
+
| components["schemas"]["SubagentRemovedEvent"]
|
|
59520
60400
|
| components["schemas"]["SessionUsageChangedPayload"]
|
|
59521
60401
|
| components["schemas"]["SessionConsumerDegradedPayload"]
|
|
59522
60402
|
| components["schemas"]["SessionEventPayload"]
|
|
@@ -59576,7 +60456,7 @@ export interface operations {
|
|
|
59576
60456
|
limit?: number;
|
|
59577
60457
|
/** @description Opaque next_cursor from the previous page */
|
|
59578
60458
|
cursor?: string;
|
|
59579
|
-
/** @description Row order: newest first (default), or most urgent first (waiting,
|
|
60459
|
+
/** @description Row order: newest first (default), or most urgent first (waiting, working, failed, queued, settled) then newest */
|
|
59580
60460
|
order?: "newest" | "urgency";
|
|
59581
60461
|
/** @description Read one profile's rows by name */
|
|
59582
60462
|
profile?: string;
|
|
@@ -60514,6 +61394,86 @@ export interface operations {
|
|
|
60514
61394
|
};
|
|
60515
61395
|
};
|
|
60516
61396
|
};
|
|
61397
|
+
deleteSubagent: {
|
|
61398
|
+
parameters: {
|
|
61399
|
+
query?: {
|
|
61400
|
+
/** @description Act as this profile by name */
|
|
61401
|
+
profile?: string;
|
|
61402
|
+
};
|
|
61403
|
+
header?: never;
|
|
61404
|
+
path: {
|
|
61405
|
+
/** @description Workspace id */
|
|
61406
|
+
workspace_id: string;
|
|
61407
|
+
/** @description Subagent id */
|
|
61408
|
+
subagent_id: string;
|
|
61409
|
+
};
|
|
61410
|
+
cookie?: never;
|
|
61411
|
+
};
|
|
61412
|
+
requestBody?: never;
|
|
61413
|
+
responses: {
|
|
61414
|
+
/** @description No Content */
|
|
61415
|
+
204: {
|
|
61416
|
+
headers: {
|
|
61417
|
+
[name: string]: unknown;
|
|
61418
|
+
};
|
|
61419
|
+
content?: never;
|
|
61420
|
+
};
|
|
61421
|
+
/** @description Invalid request */
|
|
61422
|
+
400: {
|
|
61423
|
+
headers: {
|
|
61424
|
+
[name: string]: unknown;
|
|
61425
|
+
};
|
|
61426
|
+
content: {
|
|
61427
|
+
"application/json": components["schemas"]["ErrorPayload"];
|
|
61428
|
+
};
|
|
61429
|
+
};
|
|
61430
|
+
/** @description Capability denied */
|
|
61431
|
+
403: {
|
|
61432
|
+
headers: {
|
|
61433
|
+
[name: string]: unknown;
|
|
61434
|
+
};
|
|
61435
|
+
content: {
|
|
61436
|
+
"application/json": components["schemas"]["ErrorPayload"];
|
|
61437
|
+
};
|
|
61438
|
+
};
|
|
61439
|
+
/** @description Session or subagent not found */
|
|
61440
|
+
404: {
|
|
61441
|
+
headers: {
|
|
61442
|
+
[name: string]: unknown;
|
|
61443
|
+
};
|
|
61444
|
+
content: {
|
|
61445
|
+
"application/json": components["schemas"]["ErrorPayload"];
|
|
61446
|
+
};
|
|
61447
|
+
};
|
|
61448
|
+
/** @description Subagent is provider-native and follows its parent turn */
|
|
61449
|
+
409: {
|
|
61450
|
+
headers: {
|
|
61451
|
+
[name: string]: unknown;
|
|
61452
|
+
};
|
|
61453
|
+
content: {
|
|
61454
|
+
"application/json": components["schemas"]["ErrorPayload"];
|
|
61455
|
+
};
|
|
61456
|
+
};
|
|
61457
|
+
/** @description Internal server error */
|
|
61458
|
+
500: {
|
|
61459
|
+
headers: {
|
|
61460
|
+
[name: string]: unknown;
|
|
61461
|
+
};
|
|
61462
|
+
content: {
|
|
61463
|
+
"application/json": components["schemas"]["ErrorPayload"];
|
|
61464
|
+
};
|
|
61465
|
+
};
|
|
61466
|
+
/** @description Subagents unavailable */
|
|
61467
|
+
503: {
|
|
61468
|
+
headers: {
|
|
61469
|
+
[name: string]: unknown;
|
|
61470
|
+
};
|
|
61471
|
+
content: {
|
|
61472
|
+
"application/json": components["schemas"]["ErrorPayload"];
|
|
61473
|
+
};
|
|
61474
|
+
};
|
|
61475
|
+
};
|
|
61476
|
+
};
|
|
60517
61477
|
cancelSubagent: {
|
|
60518
61478
|
parameters: {
|
|
60519
61479
|
query?: {
|