@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
|
@@ -578,6 +578,7 @@ export type AgentProbeHealthPayload = {
|
|
|
578
578
|
};
|
|
579
579
|
export type AgentResponse = {
|
|
580
580
|
agent: AgentPayload;
|
|
581
|
+
warnings?: Array<string>;
|
|
581
582
|
};
|
|
582
583
|
export type AgentSessionMetricsPayload = {
|
|
583
584
|
active: number;
|
|
@@ -1963,6 +1964,7 @@ export type Error = {
|
|
|
1963
1964
|
};
|
|
1964
1965
|
export type ErrorPayload = {
|
|
1965
1966
|
blockers?: Array<WorkspaceArchiveBlocker>;
|
|
1967
|
+
client_message_id?: string;
|
|
1966
1968
|
code?: string;
|
|
1967
1969
|
config_path?: string;
|
|
1968
1970
|
current_turn_id?: string;
|
|
@@ -1971,6 +1973,8 @@ export type ErrorPayload = {
|
|
|
1971
1973
|
};
|
|
1972
1974
|
diagnostic?: DiagnosticItem | null;
|
|
1973
1975
|
error: string;
|
|
1976
|
+
provider_error?: string;
|
|
1977
|
+
retryable?: boolean;
|
|
1974
1978
|
unknown_keys?: Array<string>;
|
|
1975
1979
|
};
|
|
1976
1980
|
export type ExecutionPolicy = {
|
|
@@ -3331,6 +3335,10 @@ export type InstallExtensionRequest = {
|
|
|
3331
3335
|
*/
|
|
3332
3336
|
profile?: string;
|
|
3333
3337
|
ref: string;
|
|
3338
|
+
/**
|
|
3339
|
+
* 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.
|
|
3340
|
+
*/
|
|
3341
|
+
replace?: boolean;
|
|
3334
3342
|
/**
|
|
3335
3343
|
* Overrides manifest server defaults. Mixed defaults require an explicit scope. A workspace default requires a workspace-bound caller or workspace_id.
|
|
3336
3344
|
*/
|
|
@@ -3349,6 +3357,10 @@ export type InstallExtensionResponse = {
|
|
|
3349
3357
|
enable_error?: ExtensionEnableError | null;
|
|
3350
3358
|
extension: ExtensionPayload;
|
|
3351
3359
|
};
|
|
3360
|
+
export type Inventory = {
|
|
3361
|
+
generated_at: string;
|
|
3362
|
+
runtimes: Array<Snapshot>;
|
|
3363
|
+
};
|
|
3352
3364
|
export type JobPayload = {
|
|
3353
3365
|
agent_name: string;
|
|
3354
3366
|
created_at: string;
|
|
@@ -4174,6 +4186,19 @@ export type MCPAuthSummary = {
|
|
|
4174
4186
|
registration?: string;
|
|
4175
4187
|
scopes?: Array<string>;
|
|
4176
4188
|
};
|
|
4189
|
+
export type MCPReloadRecord = {
|
|
4190
|
+
at: string;
|
|
4191
|
+
outcome: string;
|
|
4192
|
+
reason: string;
|
|
4193
|
+
};
|
|
4194
|
+
export type MCPServerRow = {
|
|
4195
|
+
callable_count: number;
|
|
4196
|
+
name: string;
|
|
4197
|
+
owner: string;
|
|
4198
|
+
reason: string;
|
|
4199
|
+
state: string;
|
|
4200
|
+
tool_count: number;
|
|
4201
|
+
};
|
|
4177
4202
|
export type MCPServerStatusPayload = {
|
|
4178
4203
|
auth_status?: string;
|
|
4179
4204
|
configured: boolean;
|
|
@@ -4189,6 +4214,11 @@ export type MCPServerStatusPayload = {
|
|
|
4189
4214
|
transport?: string;
|
|
4190
4215
|
workspace_id?: string;
|
|
4191
4216
|
};
|
|
4217
|
+
export type MCPSummary = {
|
|
4218
|
+
attention: number;
|
|
4219
|
+
pending_reload: boolean;
|
|
4220
|
+
usable: number;
|
|
4221
|
+
};
|
|
4192
4222
|
export type ManagedExtensionRemovePayload = {
|
|
4193
4223
|
data_path?: string;
|
|
4194
4224
|
name: string;
|
|
@@ -5735,11 +5765,34 @@ export type RuntimeLimits = {
|
|
|
5735
5765
|
max_runtime_seconds: number;
|
|
5736
5766
|
summary_max_bytes: number;
|
|
5737
5767
|
};
|
|
5768
|
+
export type RuntimeMCPImportRequest = {
|
|
5769
|
+
name?: string;
|
|
5770
|
+
profile?: string;
|
|
5771
|
+
scope?: "user" | "profile" | "workspace" | "agent";
|
|
5772
|
+
workspace_id?: string;
|
|
5773
|
+
};
|
|
5774
|
+
export type RuntimeMCPImportResponse = {
|
|
5775
|
+
mcp_server: SettingsMCPServerItemPayload;
|
|
5776
|
+
notes: Array<string>;
|
|
5777
|
+
partial: boolean;
|
|
5778
|
+
source: Server;
|
|
5779
|
+
warnings?: Array<string>;
|
|
5780
|
+
};
|
|
5781
|
+
export type RuntimeMCPRow = {
|
|
5782
|
+
name: string;
|
|
5783
|
+
scope: string;
|
|
5784
|
+
state: string;
|
|
5785
|
+
transport: string;
|
|
5786
|
+
};
|
|
5738
5787
|
export type RuntimeMatch = {
|
|
5739
5788
|
complexity?: string;
|
|
5740
5789
|
id?: string;
|
|
5741
5790
|
type?: string;
|
|
5742
5791
|
};
|
|
5792
|
+
export type RuntimeMode = {
|
|
5793
|
+
can_disable: boolean;
|
|
5794
|
+
mode: string;
|
|
5795
|
+
};
|
|
5743
5796
|
export type RuntimePolicy = {
|
|
5744
5797
|
mode: "default" | "evidence";
|
|
5745
5798
|
};
|
|
@@ -5881,6 +5934,24 @@ export type SendPromptResultPayload = {
|
|
|
5881
5934
|
export type SendPromptResultResponse = {
|
|
5882
5935
|
prompt: SendPromptResultPayload;
|
|
5883
5936
|
};
|
|
5937
|
+
export type Server = {
|
|
5938
|
+
also_in_compozy: boolean;
|
|
5939
|
+
approval: string;
|
|
5940
|
+
auth: string;
|
|
5941
|
+
copy_blocked_reason: string;
|
|
5942
|
+
copyable: boolean;
|
|
5943
|
+
definition_digest: string;
|
|
5944
|
+
enabled_in_runtime: boolean;
|
|
5945
|
+
env_keys: Array<string>;
|
|
5946
|
+
header_keys: Array<string>;
|
|
5947
|
+
name: string;
|
|
5948
|
+
runtime: string;
|
|
5949
|
+
scope: string;
|
|
5950
|
+
source_label: string;
|
|
5951
|
+
source_path: string;
|
|
5952
|
+
target: string;
|
|
5953
|
+
transport: string;
|
|
5954
|
+
};
|
|
5884
5955
|
export type SessionActivityHealthPayload = {
|
|
5885
5956
|
current_tool?: string;
|
|
5886
5957
|
deadline_at?: string | null;
|
|
@@ -6177,6 +6248,7 @@ export type SessionDeriveCutPayload = {
|
|
|
6177
6248
|
export type SessionDeriveErrorPayload = {
|
|
6178
6249
|
blockers?: Array<WorkspaceArchiveBlocker>;
|
|
6179
6250
|
child_session_id?: string;
|
|
6251
|
+
client_message_id?: string;
|
|
6180
6252
|
code?: string;
|
|
6181
6253
|
config_path?: string;
|
|
6182
6254
|
current_turn_id?: string;
|
|
@@ -6185,6 +6257,8 @@ export type SessionDeriveErrorPayload = {
|
|
|
6185
6257
|
};
|
|
6186
6258
|
diagnostic?: DiagnosticItem | null;
|
|
6187
6259
|
error: string;
|
|
6260
|
+
provider_error?: string;
|
|
6261
|
+
retryable?: boolean;
|
|
6188
6262
|
unknown_keys?: Array<string>;
|
|
6189
6263
|
};
|
|
6190
6264
|
export type SessionDerivePreviewResponse = {
|
|
@@ -6337,6 +6411,80 @@ export type SessionHealthPayload = {
|
|
|
6337
6411
|
export type SessionHealthResponse = {
|
|
6338
6412
|
health: SessionHealthPayload;
|
|
6339
6413
|
};
|
|
6414
|
+
export type SessionHistoryCleanupChoices = {
|
|
6415
|
+
children: number;
|
|
6416
|
+
everything: number;
|
|
6417
|
+
subagents: number;
|
|
6418
|
+
};
|
|
6419
|
+
export type SessionHistoryCleanupCounts = {
|
|
6420
|
+
children: number;
|
|
6421
|
+
sessions: number;
|
|
6422
|
+
subagents: number;
|
|
6423
|
+
total: number;
|
|
6424
|
+
};
|
|
6425
|
+
export type SessionHistoryCleanupFailure = {
|
|
6426
|
+
code: string;
|
|
6427
|
+
message: string;
|
|
6428
|
+
session_id: string;
|
|
6429
|
+
title: string;
|
|
6430
|
+
workspace_id: string;
|
|
6431
|
+
};
|
|
6432
|
+
export type SessionHistoryCleanupPlan = {
|
|
6433
|
+
archived_before?: string | null;
|
|
6434
|
+
choices: SessionHistoryCleanupChoices;
|
|
6435
|
+
counted_at: string;
|
|
6436
|
+
counts: SessionHistoryCleanupCounts;
|
|
6437
|
+
kept_live: number;
|
|
6438
|
+
threads: number;
|
|
6439
|
+
workspaces: Array<SessionHistoryCleanupWorkspace>;
|
|
6440
|
+
};
|
|
6441
|
+
export type SessionHistoryCleanupPreviewResponse = {
|
|
6442
|
+
plan: SessionHistoryCleanupPlan;
|
|
6443
|
+
};
|
|
6444
|
+
export type SessionHistoryCleanupRequest = {
|
|
6445
|
+
all_workspaces?: boolean;
|
|
6446
|
+
archived_before?: string | null;
|
|
6447
|
+
counted_at?: string | null;
|
|
6448
|
+
delete: SessionHistoryCleanupSelection;
|
|
6449
|
+
dry_run?: boolean;
|
|
6450
|
+
older_than_days?: number | null;
|
|
6451
|
+
session_ids?: Array<string>;
|
|
6452
|
+
workspace_id?: string;
|
|
6453
|
+
};
|
|
6454
|
+
export type SessionHistoryCleanupRun = {
|
|
6455
|
+
all_workspaces?: boolean;
|
|
6456
|
+
archived_before?: string | null;
|
|
6457
|
+
counted_at: string;
|
|
6458
|
+
delete: SessionHistoryCleanupSelection;
|
|
6459
|
+
deleted: number;
|
|
6460
|
+
done: number;
|
|
6461
|
+
failed_threads: number;
|
|
6462
|
+
failures: Array<SessionHistoryCleanupFailure>;
|
|
6463
|
+
finished_at?: string | null;
|
|
6464
|
+
id: string;
|
|
6465
|
+
profile_id: string;
|
|
6466
|
+
skipped: number;
|
|
6467
|
+
started_at: string;
|
|
6468
|
+
state: string;
|
|
6469
|
+
total: number;
|
|
6470
|
+
workspace_id?: string;
|
|
6471
|
+
};
|
|
6472
|
+
export type SessionHistoryCleanupRunResponse = {
|
|
6473
|
+
run: SessionHistoryCleanupRun | null;
|
|
6474
|
+
};
|
|
6475
|
+
export type SessionHistoryCleanupSelection = {
|
|
6476
|
+
children: boolean;
|
|
6477
|
+
everything: boolean;
|
|
6478
|
+
subagents: boolean;
|
|
6479
|
+
};
|
|
6480
|
+
export type SessionHistoryCleanupStartResponse = {
|
|
6481
|
+
plan: SessionHistoryCleanupPlan;
|
|
6482
|
+
run: SessionHistoryCleanupRun;
|
|
6483
|
+
};
|
|
6484
|
+
export type SessionHistoryCleanupWorkspace = {
|
|
6485
|
+
total: number;
|
|
6486
|
+
workspace_id: string;
|
|
6487
|
+
};
|
|
6340
6488
|
export type SessionHistoryResponse = {
|
|
6341
6489
|
history: Array<TurnHistoryPayload>;
|
|
6342
6490
|
};
|
|
@@ -6440,6 +6588,17 @@ export type SessionLinkedWorkSummary = {
|
|
|
6440
6588
|
pull_requests: number;
|
|
6441
6589
|
total: number;
|
|
6442
6590
|
};
|
|
6591
|
+
export type SessionMCP = {
|
|
6592
|
+
attention: number;
|
|
6593
|
+
compozy_servers: Array<MCPServerRow>;
|
|
6594
|
+
last_reload?: MCPReloadRecord | null;
|
|
6595
|
+
pending_reload: boolean;
|
|
6596
|
+
runtime: string;
|
|
6597
|
+
runtime_display_name: string;
|
|
6598
|
+
runtime_servers: SessionRuntimeMCP;
|
|
6599
|
+
session_id: string;
|
|
6600
|
+
usable: number;
|
|
6601
|
+
};
|
|
6443
6602
|
export type SessionMonitorPayload = {
|
|
6444
6603
|
branch?: string;
|
|
6445
6604
|
created_at: string;
|
|
@@ -6511,6 +6670,7 @@ export type SessionPayload = {
|
|
|
6511
6670
|
later?: SessionLaterPayload | null;
|
|
6512
6671
|
lineage?: SessionLineagePayload | null;
|
|
6513
6672
|
linked_work?: SessionLinkedWorkSummary | null;
|
|
6673
|
+
mcp_summary?: MCPSummary | null;
|
|
6514
6674
|
monitor_summary?: SessionMonitorSummaryPayload | null;
|
|
6515
6675
|
name?: string;
|
|
6516
6676
|
parent_title?: string;
|
|
@@ -6644,6 +6804,7 @@ export type SessionPullRequestChecksPayload = {
|
|
|
6644
6804
|
export type SessionPullRequestErrorPayload = {
|
|
6645
6805
|
blockers?: Array<WorkspaceArchiveBlocker>;
|
|
6646
6806
|
cause?: string;
|
|
6807
|
+
client_message_id?: string;
|
|
6647
6808
|
code?: string;
|
|
6648
6809
|
config_path?: string;
|
|
6649
6810
|
current_turn_id?: string;
|
|
@@ -6653,6 +6814,8 @@ export type SessionPullRequestErrorPayload = {
|
|
|
6653
6814
|
diagnostic?: DiagnosticItem | null;
|
|
6654
6815
|
error: string;
|
|
6655
6816
|
message: string;
|
|
6817
|
+
provider_error?: string;
|
|
6818
|
+
retryable?: boolean;
|
|
6656
6819
|
unknown_keys?: Array<string>;
|
|
6657
6820
|
};
|
|
6658
6821
|
export type SessionPullRequestLookupPayload = {
|
|
@@ -6715,6 +6878,10 @@ export type SessionRepairResponse = {
|
|
|
6715
6878
|
export type SessionResponse = {
|
|
6716
6879
|
session: SessionPayload;
|
|
6717
6880
|
};
|
|
6881
|
+
export type SessionRuntimeMCP = {
|
|
6882
|
+
runtime_mcp: string;
|
|
6883
|
+
servers: Array<RuntimeMCPRow>;
|
|
6884
|
+
};
|
|
6718
6885
|
export type SessionRuntimePayload = {
|
|
6719
6886
|
acp_caps?: ACPCapsPayload | null;
|
|
6720
6887
|
acp_session_id?: string;
|
|
@@ -7181,9 +7348,31 @@ export type SettingsLogTailCapabilityPayload = {
|
|
|
7181
7348
|
stream_url?: string;
|
|
7182
7349
|
transport?: "sse";
|
|
7183
7350
|
};
|
|
7351
|
+
export type SettingsMCPApprovalPayload = {
|
|
7352
|
+
approved_at?: string;
|
|
7353
|
+
profile: string;
|
|
7354
|
+
server_name: string;
|
|
7355
|
+
state: string;
|
|
7356
|
+
workspace_id: string;
|
|
7357
|
+
};
|
|
7358
|
+
export type SettingsMCPApprovalRequest = {
|
|
7359
|
+
definition_digest: string;
|
|
7360
|
+
profile?: string;
|
|
7361
|
+
workspace_id: string;
|
|
7362
|
+
};
|
|
7363
|
+
export type SettingsMCPApprovalResponse = {
|
|
7364
|
+
approval: SettingsMCPApprovalPayload;
|
|
7365
|
+
};
|
|
7366
|
+
export type SettingsMCPApprovalStatePayload = {
|
|
7367
|
+
definition_digest: string;
|
|
7368
|
+
reason?: string;
|
|
7369
|
+
required: boolean;
|
|
7370
|
+
state: string;
|
|
7371
|
+
};
|
|
7184
7372
|
export type SettingsMCPAuthBeginRequest = {
|
|
7185
7373
|
approve_scope_escalation?: boolean;
|
|
7186
7374
|
approved_scopes?: Array<string>;
|
|
7375
|
+
definition_digest?: string;
|
|
7187
7376
|
mode: "automatic" | "manual";
|
|
7188
7377
|
};
|
|
7189
7378
|
export type SettingsMCPAuthBeginResponse = {
|
|
@@ -7249,9 +7438,11 @@ export type SettingsMCPSecretValuesPayload = {
|
|
|
7249
7438
|
};
|
|
7250
7439
|
};
|
|
7251
7440
|
export type SettingsMCPServerItemPayload = {
|
|
7441
|
+
approval: SettingsMCPApprovalStatePayload;
|
|
7252
7442
|
args?: Array<string>;
|
|
7253
7443
|
auth?: SettingsMCPAuthConfigViewPayload | null;
|
|
7254
7444
|
auth_status?: SettingsMCPAuthStatusPayload | null;
|
|
7445
|
+
callable_in_sessions: boolean;
|
|
7255
7446
|
catalog_entry?: string;
|
|
7256
7447
|
catalog_version?: string;
|
|
7257
7448
|
command?: string;
|
|
@@ -7471,6 +7662,7 @@ export type SettingsProviderSettingsPayload = {
|
|
|
7471
7662
|
harness?: string;
|
|
7472
7663
|
home_policy?: string;
|
|
7473
7664
|
models?: SettingsProviderModelsPayload | null;
|
|
7665
|
+
runtime_mcp?: string;
|
|
7474
7666
|
runtime_provider?: string;
|
|
7475
7667
|
session_env?: {
|
|
7476
7668
|
[key: string]: SessionEnvBindingPayload;
|
|
@@ -7513,6 +7705,7 @@ export type SettingsProviderWritePayload = {
|
|
|
7513
7705
|
harness?: string;
|
|
7514
7706
|
home_policy?: string;
|
|
7515
7707
|
models?: SettingsProviderModelsPayload | null;
|
|
7708
|
+
runtime_mcp?: string;
|
|
7516
7709
|
runtime_provider?: string;
|
|
7517
7710
|
session_env?: {
|
|
7518
7711
|
[key: string]: SessionEnvBindingPayload;
|
|
@@ -8102,6 +8295,17 @@ export type SnapConfig = {
|
|
|
8102
8295
|
exit_slack: number;
|
|
8103
8296
|
repeat_ratios: Array<number>;
|
|
8104
8297
|
};
|
|
8298
|
+
export type Snapshot = {
|
|
8299
|
+
config_files: Array<string>;
|
|
8300
|
+
display_name: string;
|
|
8301
|
+
installed: boolean;
|
|
8302
|
+
notes?: Array<string>;
|
|
8303
|
+
read_error?: string;
|
|
8304
|
+
read_state: string;
|
|
8305
|
+
runtime: string;
|
|
8306
|
+
runtime_mcp: RuntimeMode;
|
|
8307
|
+
servers: Array<Server>;
|
|
8308
|
+
};
|
|
8105
8309
|
export type SourceOutcome = {
|
|
8106
8310
|
duration_ms: number;
|
|
8107
8311
|
error?: Error | null;
|
|
@@ -8805,6 +9009,7 @@ export type TaskPayload = {
|
|
|
8805
9009
|
};
|
|
8806
9010
|
export type TaskQueryErrorPayload = {
|
|
8807
9011
|
blockers?: Array<WorkspaceArchiveBlocker>;
|
|
9012
|
+
client_message_id?: string;
|
|
8808
9013
|
code?: string;
|
|
8809
9014
|
config_path?: string;
|
|
8810
9015
|
current_turn_id?: string;
|
|
@@ -8814,6 +9019,8 @@ export type TaskQueryErrorPayload = {
|
|
|
8814
9019
|
diagnostic?: DiagnosticItem | null;
|
|
8815
9020
|
error: string;
|
|
8816
9021
|
field: string;
|
|
9022
|
+
provider_error?: string;
|
|
9023
|
+
retryable?: boolean;
|
|
8817
9024
|
unknown_keys?: Array<string>;
|
|
8818
9025
|
};
|
|
8819
9026
|
export type TaskQueueDepthPayload = {
|
|
@@ -9547,6 +9754,7 @@ export type ToolDescriptorPayload = {
|
|
|
9547
9754
|
visibility: "internal" | "operator" | "session" | "model";
|
|
9548
9755
|
};
|
|
9549
9756
|
export type ToolErrorPayload = {
|
|
9757
|
+
client_message_id?: string;
|
|
9550
9758
|
code: "agent_instance_not_found" | "agent_instance_starting" | "approval_rejected" | "attention_requires_action" | "compaction_unsupported" | "generation_fenced" | "input_request_already_answered" | "input_request_limit_reached" | "input_request_not_found" | "input_request_requires_hidden_input" | "input_request_superseded" | "invalid_cwd" | "journal_unavailable" | "message_hop_limit" | "message_rate_limited" | "model_not_found" | "profile_archived" | "profile_selection_conflict" | "profile_session_conflict" | "profile_unavailable" | "provider_disabled" | "reasoning_effort_unsupported" | "recording_already_started" | "recording_not_active" | "recording_unavailable" | "session_archive_stop_failed" | "session_busy" | "session_in_later" | "session_later_stop_failed" | "session_worktree_conflict" | "slow_consumer" | "subagent_later_follows_parent" | "subscriber_limit_reached" | "terminal_exited" | "terminal_expired" | "terminal_interactive_unavailable" | "terminal_limit_reached" | "terminal_not_found" | "terminal_not_interactive" | "terminal_requires_workspace" | "ticket_expired" | "ticket_invalid" | "timeout_out_of_range" | "tool_approval_required" | "tool_backend_failed" | "tool_canceled" | "tool_conflict" | "tool_denied" | "tool_invalid_input" | "tool_not_found" | "tool_result_persistence_failed" | "tool_result_too_large" | "tool_timed_out" | "tool_unavailable" | "workspace_archived" | "workspace_busy" | "workspace_root_missing" | "worktree_missing" | "worktree_not_found" | "worktree_not_ready" | "worktree_operation_in_progress" | "worktree_session_active";
|
|
9551
9759
|
details?: {
|
|
9552
9760
|
[key: string]: unknown;
|
|
@@ -9554,7 +9762,9 @@ export type ToolErrorPayload = {
|
|
|
9554
9762
|
layer?: string;
|
|
9555
9763
|
message: string;
|
|
9556
9764
|
partial_result?: ToolResult | null;
|
|
9765
|
+
provider_error?: string;
|
|
9557
9766
|
reason_codes?: Array<"approval_canceled" | "approval_rejected" | "approval_required" | "approval_timed_out" | "approval_token_expired" | "approval_token_mismatch" | "approval_token_missing" | "approval_token_replayed" | "approval_unreachable" | "backend_not_executable" | "backend_unhealthy" | "call_canceled" | "call_timed_out" | "config_path_not_found" | "conflicted_id" | "conflicted_sanitized_name" | "dependency_missing" | "extension_capability_missing" | "extension_inactive" | "extension_runtime_mismatch" | "generation_fenced" | "handler_missing" | "hook_denied" | "id_empty" | "id_empty_segment" | "id_invalid_format" | "id_too_long" | "input_request_already_answered" | "input_request_limit_reached" | "input_request_not_found" | "input_request_requires_hidden_input" | "input_request_superseded" | "invalid_cwd" | "journal_unavailable" | "loop_source_immutable" | "loop_version_conflict" | "mcp_auth_expired" | "mcp_auth_invalid" | "mcp_auth_refresh_failed" | "mcp_auth_required" | "mcp_auth_unconfigured" | "mcp_unreachable" | "policy_denied" | "profile_archived" | "profile_selection_conflict" | "profile_session_conflict" | "profile_unavailable" | "recording_already_started" | "recording_not_active" | "recording_unavailable" | "reserved_conflict" | "reserved_namespace" | "result_budget_exceeded" | "result_persistence_failed" | "runtime_descriptor_mismatch" | "runtime_descriptor_missing" | "schema_invalid" | "secret_metadata" | "session_denied" | "skill_definition_invalid" | "skill_resource_not_found" | "slow_consumer" | "source_disabled" | "spawn_budget_exhausted" | "subscriber_limit_reached" | "terminal_exited" | "terminal_expired" | "terminal_interactive_unavailable" | "terminal_limit_reached" | "terminal_not_found" | "terminal_not_interactive" | "terminal_requires_workspace" | "ticket_expired" | "ticket_invalid" | "timeout_out_of_range" | "tool_artifact_corrupt" | "tool_artifact_not_found" | "tool_unknown" | "toolset_cycle" | "toolset_unknown" | "visibility_denied" | "worktree_missing" | "worktree_not_found" | "worktree_not_ready">;
|
|
9767
|
+
retryable?: boolean;
|
|
9558
9768
|
tool_id?: string;
|
|
9559
9769
|
};
|
|
9560
9770
|
export type ToolErrorResponse = {
|
|
@@ -10501,6 +10711,10 @@ export type InstallExtensionRequestWritable = {
|
|
|
10501
10711
|
*/
|
|
10502
10712
|
profile?: string;
|
|
10503
10713
|
ref: string;
|
|
10714
|
+
/**
|
|
10715
|
+
* 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.
|
|
10716
|
+
*/
|
|
10717
|
+
replace?: boolean;
|
|
10504
10718
|
/**
|
|
10505
10719
|
* Overrides manifest server defaults. Mixed defaults require an explicit scope. A workspace default requires a workspace-bound caller or workspace_id.
|
|
10506
10720
|
*/
|
|
@@ -18681,6 +18895,10 @@ export type CompleteMCPAuthCallbackErrors = {
|
|
|
18681
18895
|
* Forbidden
|
|
18682
18896
|
*/
|
|
18683
18897
|
403: ErrorPayload;
|
|
18898
|
+
/**
|
|
18899
|
+
* MCP server waiting for approval or definition changed
|
|
18900
|
+
*/
|
|
18901
|
+
409: ErrorPayload;
|
|
18684
18902
|
/**
|
|
18685
18903
|
* MCP OAuth callback runtime is unavailable
|
|
18686
18904
|
*/
|
|
@@ -21758,6 +21976,124 @@ export type ListSessionFacetsResponses = {
|
|
|
21758
21976
|
200: SessionCatalogFacetsResponse;
|
|
21759
21977
|
};
|
|
21760
21978
|
export type ListSessionFacetsResponse = ListSessionFacetsResponses[keyof ListSessionFacetsResponses];
|
|
21979
|
+
export type GetSessionHistoryCleanupData = {
|
|
21980
|
+
body?: never;
|
|
21981
|
+
path?: never;
|
|
21982
|
+
query?: {
|
|
21983
|
+
/**
|
|
21984
|
+
* Act as this profile by name
|
|
21985
|
+
*/
|
|
21986
|
+
profile?: string;
|
|
21987
|
+
};
|
|
21988
|
+
url: "/api/sessions/history-cleanup";
|
|
21989
|
+
};
|
|
21990
|
+
export type GetSessionHistoryCleanupErrors = {
|
|
21991
|
+
/**
|
|
21992
|
+
* Agent identity is denied
|
|
21993
|
+
*/
|
|
21994
|
+
403: ErrorPayload;
|
|
21995
|
+
/**
|
|
21996
|
+
* Internal server error
|
|
21997
|
+
*/
|
|
21998
|
+
500: ErrorPayload;
|
|
21999
|
+
/**
|
|
22000
|
+
* Service unavailable - dependent service missing
|
|
22001
|
+
*/
|
|
22002
|
+
503: ErrorPayload;
|
|
22003
|
+
};
|
|
22004
|
+
export type GetSessionHistoryCleanupError = GetSessionHistoryCleanupErrors[keyof GetSessionHistoryCleanupErrors];
|
|
22005
|
+
export type GetSessionHistoryCleanupResponses = {
|
|
22006
|
+
/**
|
|
22007
|
+
* OK
|
|
22008
|
+
*/
|
|
22009
|
+
200: SessionHistoryCleanupRunResponse;
|
|
22010
|
+
};
|
|
22011
|
+
export type GetSessionHistoryCleanupResponse = GetSessionHistoryCleanupResponses[keyof GetSessionHistoryCleanupResponses];
|
|
22012
|
+
export type PlanSessionHistoryCleanupData = {
|
|
22013
|
+
/**
|
|
22014
|
+
* JSON request body
|
|
22015
|
+
*/
|
|
22016
|
+
body: SessionHistoryCleanupRequest;
|
|
22017
|
+
path?: never;
|
|
22018
|
+
query?: {
|
|
22019
|
+
/**
|
|
22020
|
+
* Act as this profile by name
|
|
22021
|
+
*/
|
|
22022
|
+
profile?: string;
|
|
22023
|
+
};
|
|
22024
|
+
url: "/api/sessions/history-cleanup";
|
|
22025
|
+
};
|
|
22026
|
+
export type PlanSessionHistoryCleanupErrors = {
|
|
22027
|
+
/**
|
|
22028
|
+
* Invalid cleanup request
|
|
22029
|
+
*/
|
|
22030
|
+
400: ErrorPayload;
|
|
22031
|
+
/**
|
|
22032
|
+
* Agent identity is denied
|
|
22033
|
+
*/
|
|
22034
|
+
403: ErrorPayload;
|
|
22035
|
+
/**
|
|
22036
|
+
* A cleanup is already running for this profile
|
|
22037
|
+
*/
|
|
22038
|
+
409: ErrorPayload;
|
|
22039
|
+
/**
|
|
22040
|
+
* Internal server error
|
|
22041
|
+
*/
|
|
22042
|
+
500: ErrorPayload;
|
|
22043
|
+
/**
|
|
22044
|
+
* Service unavailable - dependent service missing
|
|
22045
|
+
*/
|
|
22046
|
+
503: ErrorPayload;
|
|
22047
|
+
};
|
|
22048
|
+
export type PlanSessionHistoryCleanupError = PlanSessionHistoryCleanupErrors[keyof PlanSessionHistoryCleanupErrors];
|
|
22049
|
+
export type PlanSessionHistoryCleanupResponses = {
|
|
22050
|
+
/**
|
|
22051
|
+
* Dry run: the sessions the cleanup would delete
|
|
22052
|
+
*/
|
|
22053
|
+
200: SessionHistoryCleanupPreviewResponse;
|
|
22054
|
+
/**
|
|
22055
|
+
* Accepted: the cleanup runs in the background; follow it with getSessionHistoryCleanup
|
|
22056
|
+
*/
|
|
22057
|
+
202: SessionHistoryCleanupStartResponse;
|
|
22058
|
+
};
|
|
22059
|
+
export type PlanSessionHistoryCleanupResponse = PlanSessionHistoryCleanupResponses[keyof PlanSessionHistoryCleanupResponses];
|
|
22060
|
+
export type StopSessionHistoryCleanupData = {
|
|
22061
|
+
body?: never;
|
|
22062
|
+
path?: never;
|
|
22063
|
+
query?: {
|
|
22064
|
+
/**
|
|
22065
|
+
* Act as this profile by name
|
|
22066
|
+
*/
|
|
22067
|
+
profile?: string;
|
|
22068
|
+
};
|
|
22069
|
+
url: "/api/sessions/history-cleanup/stop";
|
|
22070
|
+
};
|
|
22071
|
+
export type StopSessionHistoryCleanupErrors = {
|
|
22072
|
+
/**
|
|
22073
|
+
* Agent identity is denied
|
|
22074
|
+
*/
|
|
22075
|
+
403: ErrorPayload;
|
|
22076
|
+
/**
|
|
22077
|
+
* No cleanup is running for this profile
|
|
22078
|
+
*/
|
|
22079
|
+
404: ErrorPayload;
|
|
22080
|
+
/**
|
|
22081
|
+
* Internal server error
|
|
22082
|
+
*/
|
|
22083
|
+
500: ErrorPayload;
|
|
22084
|
+
/**
|
|
22085
|
+
* Service unavailable - dependent service missing
|
|
22086
|
+
*/
|
|
22087
|
+
503: ErrorPayload;
|
|
22088
|
+
};
|
|
22089
|
+
export type StopSessionHistoryCleanupError = StopSessionHistoryCleanupErrors[keyof StopSessionHistoryCleanupErrors];
|
|
22090
|
+
export type StopSessionHistoryCleanupResponses = {
|
|
22091
|
+
/**
|
|
22092
|
+
* OK
|
|
22093
|
+
*/
|
|
22094
|
+
200: SessionHistoryCleanupRunResponse;
|
|
22095
|
+
};
|
|
22096
|
+
export type StopSessionHistoryCleanupResponse = StopSessionHistoryCleanupResponses[keyof StopSessionHistoryCleanupResponses];
|
|
21761
22097
|
export type GetSessionByIDData = {
|
|
21762
22098
|
body?: never;
|
|
21763
22099
|
path: {
|
|
@@ -23062,6 +23398,92 @@ export type PutSettingsMCPServerResponses = {
|
|
|
23062
23398
|
200: SettingsApplyResponse;
|
|
23063
23399
|
};
|
|
23064
23400
|
export type PutSettingsMCPServerResponse = PutSettingsMCPServerResponses[keyof PutSettingsMCPServerResponses];
|
|
23401
|
+
export type DeleteSettingsMCPApprovalData = {
|
|
23402
|
+
body?: never;
|
|
23403
|
+
path: {
|
|
23404
|
+
/**
|
|
23405
|
+
* Configured MCP server name
|
|
23406
|
+
*/
|
|
23407
|
+
name: string;
|
|
23408
|
+
};
|
|
23409
|
+
query: {
|
|
23410
|
+
/**
|
|
23411
|
+
* Workspace ID
|
|
23412
|
+
*/
|
|
23413
|
+
workspace_id: string;
|
|
23414
|
+
/**
|
|
23415
|
+
* Profile name
|
|
23416
|
+
*/
|
|
23417
|
+
profile?: string;
|
|
23418
|
+
};
|
|
23419
|
+
url: "/api/settings/mcp-servers/{name}/approval";
|
|
23420
|
+
};
|
|
23421
|
+
export type DeleteSettingsMCPApprovalErrors = {
|
|
23422
|
+
/**
|
|
23423
|
+
* MCP server or workspace not found
|
|
23424
|
+
*/
|
|
23425
|
+
404: ErrorPayload;
|
|
23426
|
+
/**
|
|
23427
|
+
* Approval not required
|
|
23428
|
+
*/
|
|
23429
|
+
409: ErrorPayload;
|
|
23430
|
+
};
|
|
23431
|
+
export type DeleteSettingsMCPApprovalError = DeleteSettingsMCPApprovalErrors[keyof DeleteSettingsMCPApprovalErrors];
|
|
23432
|
+
export type DeleteSettingsMCPApprovalResponses = {
|
|
23433
|
+
/**
|
|
23434
|
+
* Revoked
|
|
23435
|
+
*/
|
|
23436
|
+
204: void;
|
|
23437
|
+
};
|
|
23438
|
+
export type DeleteSettingsMCPApprovalResponse = DeleteSettingsMCPApprovalResponses[keyof DeleteSettingsMCPApprovalResponses];
|
|
23439
|
+
export type PutSettingsMCPApprovalData = {
|
|
23440
|
+
/**
|
|
23441
|
+
* JSON request body
|
|
23442
|
+
*/
|
|
23443
|
+
body: SettingsMCPApprovalRequest;
|
|
23444
|
+
path: {
|
|
23445
|
+
/**
|
|
23446
|
+
* Configured MCP server name
|
|
23447
|
+
*/
|
|
23448
|
+
name: string;
|
|
23449
|
+
};
|
|
23450
|
+
query?: never;
|
|
23451
|
+
url: "/api/settings/mcp-servers/{name}/approval";
|
|
23452
|
+
};
|
|
23453
|
+
export type PutSettingsMCPApprovalErrors = {
|
|
23454
|
+
/**
|
|
23455
|
+
* Invalid MCP OAuth request or session
|
|
23456
|
+
*/
|
|
23457
|
+
400: ErrorPayload;
|
|
23458
|
+
/**
|
|
23459
|
+
* Forbidden
|
|
23460
|
+
*/
|
|
23461
|
+
403: ErrorPayload;
|
|
23462
|
+
/**
|
|
23463
|
+
* MCP server or workspace not found
|
|
23464
|
+
*/
|
|
23465
|
+
404: ErrorPayload;
|
|
23466
|
+
/**
|
|
23467
|
+
* MCP server waiting for approval or definition changed
|
|
23468
|
+
*/
|
|
23469
|
+
409: ErrorPayload;
|
|
23470
|
+
/**
|
|
23471
|
+
* Internal server error
|
|
23472
|
+
*/
|
|
23473
|
+
500: ErrorPayload;
|
|
23474
|
+
/**
|
|
23475
|
+
* MCP OAuth runtime is unavailable
|
|
23476
|
+
*/
|
|
23477
|
+
503: ErrorPayload;
|
|
23478
|
+
};
|
|
23479
|
+
export type PutSettingsMCPApprovalError = PutSettingsMCPApprovalErrors[keyof PutSettingsMCPApprovalErrors];
|
|
23480
|
+
export type PutSettingsMCPApprovalResponses = {
|
|
23481
|
+
/**
|
|
23482
|
+
* OK
|
|
23483
|
+
*/
|
|
23484
|
+
200: SettingsMCPApprovalResponse;
|
|
23485
|
+
};
|
|
23486
|
+
export type PutSettingsMCPApprovalResponse = PutSettingsMCPApprovalResponses[keyof PutSettingsMCPApprovalResponses];
|
|
23065
23487
|
export type BeginSettingsMCPAuthData = {
|
|
23066
23488
|
/**
|
|
23067
23489
|
* JSON request body
|
|
@@ -23106,6 +23528,10 @@ export type BeginSettingsMCPAuthErrors = {
|
|
|
23106
23528
|
* MCP server or workspace not found
|
|
23107
23529
|
*/
|
|
23108
23530
|
404: ErrorPayload;
|
|
23531
|
+
/**
|
|
23532
|
+
* MCP server waiting for approval or definition changed
|
|
23533
|
+
*/
|
|
23534
|
+
409: ErrorPayload;
|
|
23109
23535
|
/**
|
|
23110
23536
|
* Internal server error
|
|
23111
23537
|
*/
|
|
@@ -23167,6 +23593,10 @@ export type ExchangeSettingsMCPAuthErrors = {
|
|
|
23167
23593
|
* MCP server or workspace not found
|
|
23168
23594
|
*/
|
|
23169
23595
|
404: ErrorPayload;
|
|
23596
|
+
/**
|
|
23597
|
+
* MCP server waiting for approval or definition changed
|
|
23598
|
+
*/
|
|
23599
|
+
409: ErrorPayload;
|
|
23170
23600
|
/**
|
|
23171
23601
|
* Internal server error
|
|
23172
23602
|
*/
|
|
@@ -23225,6 +23655,10 @@ export type LogoutSettingsMCPAuthErrors = {
|
|
|
23225
23655
|
* MCP server or workspace not found
|
|
23226
23656
|
*/
|
|
23227
23657
|
404: ErrorPayload;
|
|
23658
|
+
/**
|
|
23659
|
+
* MCP server waiting for approval or definition changed
|
|
23660
|
+
*/
|
|
23661
|
+
409: ErrorPayload;
|
|
23228
23662
|
/**
|
|
23229
23663
|
* Internal server error
|
|
23230
23664
|
*/
|
|
@@ -23283,6 +23717,10 @@ export type GetSettingsMCPAuthStatusErrors = {
|
|
|
23283
23717
|
* MCP server or workspace not found
|
|
23284
23718
|
*/
|
|
23285
23719
|
404: ErrorPayload;
|
|
23720
|
+
/**
|
|
23721
|
+
* MCP server waiting for approval or definition changed
|
|
23722
|
+
*/
|
|
23723
|
+
409: ErrorPayload;
|
|
23286
23724
|
/**
|
|
23287
23725
|
* Internal server error
|
|
23288
23726
|
*/
|
|
@@ -23761,6 +24199,96 @@ export type UpdateSettingsRolesResponses = {
|
|
|
23761
24199
|
200: SettingsApplyResponse;
|
|
23762
24200
|
};
|
|
23763
24201
|
export type UpdateSettingsRolesResponse = UpdateSettingsRolesResponses[keyof UpdateSettingsRolesResponses];
|
|
24202
|
+
export type ListRuntimeMCPServersData = {
|
|
24203
|
+
body?: never;
|
|
24204
|
+
path?: never;
|
|
24205
|
+
query?: {
|
|
24206
|
+
/**
|
|
24207
|
+
* Select the settings scope
|
|
24208
|
+
*/
|
|
24209
|
+
scope?: "user" | "profile" | "workspace";
|
|
24210
|
+
/**
|
|
24211
|
+
* Select the workspace context
|
|
24212
|
+
*/
|
|
24213
|
+
workspace_id?: string;
|
|
24214
|
+
/**
|
|
24215
|
+
* Select the profile layer
|
|
24216
|
+
*/
|
|
24217
|
+
profile?: string;
|
|
24218
|
+
runtime?: string;
|
|
24219
|
+
};
|
|
24220
|
+
url: "/api/settings/runtime-mcp-servers";
|
|
24221
|
+
};
|
|
24222
|
+
export type ListRuntimeMCPServersErrors = {
|
|
24223
|
+
/**
|
|
24224
|
+
* Invalid runtime or settings scope
|
|
24225
|
+
*/
|
|
24226
|
+
400: ErrorPayload;
|
|
24227
|
+
/**
|
|
24228
|
+
* Workspace not found
|
|
24229
|
+
*/
|
|
24230
|
+
404: ErrorPayload;
|
|
24231
|
+
/**
|
|
24232
|
+
* Internal server error
|
|
24233
|
+
*/
|
|
24234
|
+
500: ErrorPayload;
|
|
24235
|
+
};
|
|
24236
|
+
export type ListRuntimeMCPServersError = ListRuntimeMCPServersErrors[keyof ListRuntimeMCPServersErrors];
|
|
24237
|
+
export type ListRuntimeMCPServersResponses = {
|
|
24238
|
+
/**
|
|
24239
|
+
* OK
|
|
24240
|
+
*/
|
|
24241
|
+
200: Inventory;
|
|
24242
|
+
};
|
|
24243
|
+
export type ListRuntimeMCPServersResponse = ListRuntimeMCPServersResponses[keyof ListRuntimeMCPServersResponses];
|
|
24244
|
+
export type ImportRuntimeMCPServerData = {
|
|
24245
|
+
/**
|
|
24246
|
+
* JSON request body
|
|
24247
|
+
*/
|
|
24248
|
+
body: RuntimeMCPImportRequest;
|
|
24249
|
+
path: {
|
|
24250
|
+
/**
|
|
24251
|
+
* Source runtime
|
|
24252
|
+
*/
|
|
24253
|
+
runtime: string;
|
|
24254
|
+
/**
|
|
24255
|
+
* URL-escaped runtime server name
|
|
24256
|
+
*/
|
|
24257
|
+
name: string;
|
|
24258
|
+
};
|
|
24259
|
+
query?: never;
|
|
24260
|
+
url: "/api/settings/runtime-mcp-servers/{runtime}/{name}/import";
|
|
24261
|
+
};
|
|
24262
|
+
export type ImportRuntimeMCPServerErrors = {
|
|
24263
|
+
/**
|
|
24264
|
+
* Invalid import request
|
|
24265
|
+
*/
|
|
24266
|
+
400: ErrorPayload;
|
|
24267
|
+
/**
|
|
24268
|
+
* Runtime server or workspace not found
|
|
24269
|
+
*/
|
|
24270
|
+
404: ErrorPayload;
|
|
24271
|
+
/**
|
|
24272
|
+
* Target name already exists
|
|
24273
|
+
*/
|
|
24274
|
+
409: ErrorPayload;
|
|
24275
|
+
/**
|
|
24276
|
+
* Runtime source, transport or definition cannot be copied
|
|
24277
|
+
*/
|
|
24278
|
+
422: ErrorPayload;
|
|
24279
|
+
/**
|
|
24280
|
+
* Internal server error
|
|
24281
|
+
*/
|
|
24282
|
+
500: ErrorPayload;
|
|
24283
|
+
};
|
|
24284
|
+
export type ImportRuntimeMCPServerError = ImportRuntimeMCPServerErrors[keyof ImportRuntimeMCPServerErrors];
|
|
24285
|
+
export type ImportRuntimeMCPServerResponses = {
|
|
24286
|
+
/**
|
|
24287
|
+
* Copied, possibly with partial cleanup warnings
|
|
24288
|
+
*/
|
|
24289
|
+
201: RuntimeMCPImportResponse;
|
|
24290
|
+
};
|
|
24291
|
+
export type ImportRuntimeMCPServerResponse = ImportRuntimeMCPServerResponses[keyof ImportRuntimeMCPServerResponses];
|
|
23764
24292
|
export type GetSettingsShellData = {
|
|
23765
24293
|
body?: never;
|
|
23766
24294
|
path?: never;
|
|
@@ -34200,6 +34728,52 @@ export type MarkSessionSeenResponses = {
|
|
|
34200
34728
|
200: SessionResponse;
|
|
34201
34729
|
};
|
|
34202
34730
|
export type MarkSessionSeenResponse = MarkSessionSeenResponses[keyof MarkSessionSeenResponses];
|
|
34731
|
+
export type GetSessionMCPData = {
|
|
34732
|
+
body?: never;
|
|
34733
|
+
path: {
|
|
34734
|
+
/**
|
|
34735
|
+
* Workspace id
|
|
34736
|
+
*/
|
|
34737
|
+
workspace_id: string;
|
|
34738
|
+
/**
|
|
34739
|
+
* Session id
|
|
34740
|
+
*/
|
|
34741
|
+
session_id: string;
|
|
34742
|
+
};
|
|
34743
|
+
query?: {
|
|
34744
|
+
/**
|
|
34745
|
+
* Read one profile's rows by name
|
|
34746
|
+
*/
|
|
34747
|
+
profile?: string;
|
|
34748
|
+
/**
|
|
34749
|
+
* Read the owner-labeled all-profiles aggregate
|
|
34750
|
+
*/
|
|
34751
|
+
all_profiles?: boolean;
|
|
34752
|
+
};
|
|
34753
|
+
url: "/api/workspaces/{workspace_id}/sessions/{session_id}/mcp";
|
|
34754
|
+
};
|
|
34755
|
+
export type GetSessionMCPErrors = {
|
|
34756
|
+
/**
|
|
34757
|
+
* Session not found
|
|
34758
|
+
*/
|
|
34759
|
+
404: ErrorPayload;
|
|
34760
|
+
/**
|
|
34761
|
+
* Internal server error
|
|
34762
|
+
*/
|
|
34763
|
+
500: ErrorPayload;
|
|
34764
|
+
/**
|
|
34765
|
+
* Session MCP read model unavailable
|
|
34766
|
+
*/
|
|
34767
|
+
503: ErrorPayload;
|
|
34768
|
+
};
|
|
34769
|
+
export type GetSessionMCPError = GetSessionMCPErrors[keyof GetSessionMCPErrors];
|
|
34770
|
+
export type GetSessionMCPResponses = {
|
|
34771
|
+
/**
|
|
34772
|
+
* OK
|
|
34773
|
+
*/
|
|
34774
|
+
200: SessionMCP;
|
|
34775
|
+
};
|
|
34776
|
+
export type GetSessionMCPResponse = GetSessionMCPResponses[keyof GetSessionMCPResponses];
|
|
34203
34777
|
export type ListSessionMonitorsData = {
|
|
34204
34778
|
body?: never;
|
|
34205
34779
|
path: {
|
|
@@ -35553,7 +36127,7 @@ export type ListSessionSubagentsData = {
|
|
|
35553
36127
|
*/
|
|
35554
36128
|
cursor?: string;
|
|
35555
36129
|
/**
|
|
35556
|
-
* Row order: newest first (default), or most urgent first (waiting,
|
|
36130
|
+
* Row order: newest first (default), or most urgent first (waiting, working, failed, queued, settled) then newest
|
|
35557
36131
|
*/
|
|
35558
36132
|
order?: "newest" | "urgency";
|
|
35559
36133
|
/**
|
|
@@ -36201,6 +36775,60 @@ export type ForkSessionToWorktreeResponses = {
|
|
|
36201
36775
|
201: SessionResponse;
|
|
36202
36776
|
};
|
|
36203
36777
|
export type ForkSessionToWorktreeResponse = ForkSessionToWorktreeResponses[keyof ForkSessionToWorktreeResponses];
|
|
36778
|
+
export type DeleteSubagentData = {
|
|
36779
|
+
body?: never;
|
|
36780
|
+
path: {
|
|
36781
|
+
/**
|
|
36782
|
+
* Workspace id
|
|
36783
|
+
*/
|
|
36784
|
+
workspace_id: string;
|
|
36785
|
+
/**
|
|
36786
|
+
* Subagent id
|
|
36787
|
+
*/
|
|
36788
|
+
subagent_id: string;
|
|
36789
|
+
};
|
|
36790
|
+
query?: {
|
|
36791
|
+
/**
|
|
36792
|
+
* Act as this profile by name
|
|
36793
|
+
*/
|
|
36794
|
+
profile?: string;
|
|
36795
|
+
};
|
|
36796
|
+
url: "/api/workspaces/{workspace_id}/subagents/{subagent_id}";
|
|
36797
|
+
};
|
|
36798
|
+
export type DeleteSubagentErrors = {
|
|
36799
|
+
/**
|
|
36800
|
+
* Invalid request
|
|
36801
|
+
*/
|
|
36802
|
+
400: ErrorPayload;
|
|
36803
|
+
/**
|
|
36804
|
+
* Capability denied
|
|
36805
|
+
*/
|
|
36806
|
+
403: ErrorPayload;
|
|
36807
|
+
/**
|
|
36808
|
+
* Session or subagent not found
|
|
36809
|
+
*/
|
|
36810
|
+
404: ErrorPayload;
|
|
36811
|
+
/**
|
|
36812
|
+
* Subagent is provider-native and follows its parent turn
|
|
36813
|
+
*/
|
|
36814
|
+
409: ErrorPayload;
|
|
36815
|
+
/**
|
|
36816
|
+
* Internal server error
|
|
36817
|
+
*/
|
|
36818
|
+
500: ErrorPayload;
|
|
36819
|
+
/**
|
|
36820
|
+
* Subagents unavailable
|
|
36821
|
+
*/
|
|
36822
|
+
503: ErrorPayload;
|
|
36823
|
+
};
|
|
36824
|
+
export type DeleteSubagentError = DeleteSubagentErrors[keyof DeleteSubagentErrors];
|
|
36825
|
+
export type DeleteSubagentResponses = {
|
|
36826
|
+
/**
|
|
36827
|
+
* No Content
|
|
36828
|
+
*/
|
|
36829
|
+
204: void;
|
|
36830
|
+
};
|
|
36831
|
+
export type DeleteSubagentResponse = DeleteSubagentResponses[keyof DeleteSubagentResponses];
|
|
36204
36832
|
export type GetSubagentData = {
|
|
36205
36833
|
body?: never;
|
|
36206
36834
|
path: {
|