@compozy/client 0.4.4 → 0.4.5
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 +45 -1
- 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 +45 -1
- 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 +371 -6
- 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 +18 -2
- package/dist/types/generated/sdk/sdk.gen.d.ts.map +1 -1
- package/dist/types/generated/sdk/types.gen.d.ts +216 -5
- 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 +7 -0
- 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
|
@@ -4544,7 +4544,7 @@ export interface paths {
|
|
|
4544
4544
|
path?: never;
|
|
4545
4545
|
cookie?: never;
|
|
4546
4546
|
};
|
|
4547
|
-
/** List
|
|
4547
|
+
/** List active or archived workspaces */
|
|
4548
4548
|
get: operations["listWorkspaces"];
|
|
4549
4549
|
put?: never;
|
|
4550
4550
|
/** Register a workspace */
|
|
@@ -4591,6 +4591,40 @@ export interface paths {
|
|
|
4591
4591
|
patch: operations["updateWorkspace"];
|
|
4592
4592
|
trace?: never;
|
|
4593
4593
|
};
|
|
4594
|
+
"/api/workspaces/{id}/archive": {
|
|
4595
|
+
parameters: {
|
|
4596
|
+
query?: never;
|
|
4597
|
+
header?: never;
|
|
4598
|
+
path?: never;
|
|
4599
|
+
cookie?: never;
|
|
4600
|
+
};
|
|
4601
|
+
get?: never;
|
|
4602
|
+
put?: never;
|
|
4603
|
+
/** archive a workspace without removing its data */
|
|
4604
|
+
post: operations["archiveWorkspace"];
|
|
4605
|
+
delete?: never;
|
|
4606
|
+
options?: never;
|
|
4607
|
+
head?: never;
|
|
4608
|
+
patch?: never;
|
|
4609
|
+
trace?: never;
|
|
4610
|
+
};
|
|
4611
|
+
"/api/workspaces/{id}/unarchive": {
|
|
4612
|
+
parameters: {
|
|
4613
|
+
query?: never;
|
|
4614
|
+
header?: never;
|
|
4615
|
+
path?: never;
|
|
4616
|
+
cookie?: never;
|
|
4617
|
+
};
|
|
4618
|
+
get?: never;
|
|
4619
|
+
put?: never;
|
|
4620
|
+
/** unarchive a workspace without removing its data */
|
|
4621
|
+
post: operations["unarchiveWorkspace"];
|
|
4622
|
+
delete?: never;
|
|
4623
|
+
options?: never;
|
|
4624
|
+
head?: never;
|
|
4625
|
+
patch?: never;
|
|
4626
|
+
trace?: never;
|
|
4627
|
+
};
|
|
4594
4628
|
"/api/workspaces/{workspace_id}/automation/suggestions": {
|
|
4595
4629
|
parameters: {
|
|
4596
4630
|
query?: never;
|
|
@@ -6155,6 +6189,24 @@ export interface paths {
|
|
|
6155
6189
|
patch?: never;
|
|
6156
6190
|
trace?: never;
|
|
6157
6191
|
};
|
|
6192
|
+
"/api/workspaces/{workspace_id}/sessions/{session_id}/worktree": {
|
|
6193
|
+
parameters: {
|
|
6194
|
+
query?: never;
|
|
6195
|
+
header?: never;
|
|
6196
|
+
path?: never;
|
|
6197
|
+
cookie?: never;
|
|
6198
|
+
};
|
|
6199
|
+
get?: never;
|
|
6200
|
+
/** Bind an idle existing session to a ready worktree in place */
|
|
6201
|
+
put: operations["bindSessionWorktree"];
|
|
6202
|
+
post?: never;
|
|
6203
|
+
/** Return an idle session to the workspace root in place */
|
|
6204
|
+
delete: operations["unbindSessionWorktree"];
|
|
6205
|
+
options?: never;
|
|
6206
|
+
head?: never;
|
|
6207
|
+
patch?: never;
|
|
6208
|
+
trace?: never;
|
|
6209
|
+
};
|
|
6158
6210
|
"/api/workspaces/{workspace_id}/sessions/{session_id}/worktree-fork": {
|
|
6159
6211
|
parameters: {
|
|
6160
6212
|
query?: never;
|
|
@@ -6995,6 +7047,7 @@ export interface components {
|
|
|
6995
7047
|
};
|
|
6996
7048
|
AgentCatalogResponse: {
|
|
6997
7049
|
agents: components["schemas"]["AgentCatalogItemPayload"][];
|
|
7050
|
+
diagnostics?: components["schemas"]["DiagnosticItem"][];
|
|
6998
7051
|
facets: components["schemas"]["AgentCatalogFacetsPayload"];
|
|
6999
7052
|
page: components["schemas"]["CountedCursorPagePayload"];
|
|
7000
7053
|
sessions_available: boolean;
|
|
@@ -7574,6 +7627,10 @@ export interface components {
|
|
|
7574
7627
|
task_id?: string;
|
|
7575
7628
|
workflow_id?: string;
|
|
7576
7629
|
};
|
|
7630
|
+
BindSessionWorktreeRequest: {
|
|
7631
|
+
expected_worktree_id?: string | null;
|
|
7632
|
+
worktree: string;
|
|
7633
|
+
};
|
|
7577
7634
|
BindingsConfig: {
|
|
7578
7635
|
bottom_center: string;
|
|
7579
7636
|
top_center: string;
|
|
@@ -8557,6 +8614,7 @@ export interface components {
|
|
|
8557
8614
|
start_sequence: number;
|
|
8558
8615
|
};
|
|
8559
8616
|
ErrorPayload: {
|
|
8617
|
+
blockers?: components["schemas"]["WorkspaceArchiveBlocker"][];
|
|
8560
8618
|
code?: string;
|
|
8561
8619
|
config_path?: string;
|
|
8562
8620
|
current_turn_id?: string;
|
|
@@ -9161,7 +9219,15 @@ export interface components {
|
|
|
9161
9219
|
};
|
|
9162
9220
|
GoalCommandResult: {
|
|
9163
9221
|
/** @enum {string} */
|
|
9164
|
-
outcome:
|
|
9222
|
+
outcome:
|
|
9223
|
+
| "started"
|
|
9224
|
+
| "replaced"
|
|
9225
|
+
| "status"
|
|
9226
|
+
| "paused"
|
|
9227
|
+
| "resumed"
|
|
9228
|
+
| "cleared"
|
|
9229
|
+
| "stopped"
|
|
9230
|
+
| "error";
|
|
9165
9231
|
/** @enum {string|null} */
|
|
9166
9232
|
reason_code:
|
|
9167
9233
|
| "goal_not_active"
|
|
@@ -9203,6 +9269,7 @@ export interface components {
|
|
|
9203
9269
|
snapshot: components["schemas"]["GoalSnapshot"] | null;
|
|
9204
9270
|
};
|
|
9205
9271
|
GoalContextSnapshot: {
|
|
9272
|
+
diagnostic?: string;
|
|
9206
9273
|
/** Format: double */
|
|
9207
9274
|
nudge_ratio: number;
|
|
9208
9275
|
/** Format: double */
|
|
@@ -9302,6 +9369,7 @@ export interface components {
|
|
|
9302
9369
|
node_id: string;
|
|
9303
9370
|
objective: string;
|
|
9304
9371
|
origin_session_id: string;
|
|
9372
|
+
pause_requested?: boolean;
|
|
9305
9373
|
run_id: string;
|
|
9306
9374
|
/** @enum {string} */
|
|
9307
9375
|
run_status:
|
|
@@ -13235,6 +13303,7 @@ export interface components {
|
|
|
13235
13303
|
working: number;
|
|
13236
13304
|
};
|
|
13237
13305
|
SessionCatalogEventPayload: {
|
|
13306
|
+
execution_location_changed?: boolean;
|
|
13238
13307
|
kind: string;
|
|
13239
13308
|
profile_id: string;
|
|
13240
13309
|
profile_name: string;
|
|
@@ -13467,6 +13536,7 @@ export interface components {
|
|
|
13467
13536
|
turn_settled: boolean;
|
|
13468
13537
|
};
|
|
13469
13538
|
SessionDeriveErrorPayload: {
|
|
13539
|
+
blockers?: components["schemas"]["WorkspaceArchiveBlocker"][];
|
|
13470
13540
|
child_session_id?: string;
|
|
13471
13541
|
code?: string;
|
|
13472
13542
|
config_path?: string;
|
|
@@ -13621,7 +13691,7 @@ export interface components {
|
|
|
13621
13691
|
expected_run_id?: string;
|
|
13622
13692
|
objective?: string;
|
|
13623
13693
|
/** @enum {string} */
|
|
13624
|
-
operation: "set" | "replace" | "status" | "pause" | "resume" | "clear";
|
|
13694
|
+
operation: "set" | "replace" | "status" | "pause" | "resume" | "stop" | "clear";
|
|
13625
13695
|
runtime?: components["schemas"]["PromptRuntimeSelectionPayload"] | null;
|
|
13626
13696
|
};
|
|
13627
13697
|
SessionGoalResponse: {
|
|
@@ -13808,6 +13878,7 @@ export interface components {
|
|
|
13808
13878
|
/** Format: date-time */
|
|
13809
13879
|
created_at: string;
|
|
13810
13880
|
derivation?: components["schemas"]["SessionDerivationPayload"] | null;
|
|
13881
|
+
diagnostics?: components["schemas"]["DiagnosticItem"][];
|
|
13811
13882
|
effective_workspace_access: string;
|
|
13812
13883
|
escalated?: boolean | null;
|
|
13813
13884
|
failure?: components["schemas"]["SessionFailurePayload"] | null;
|
|
@@ -13861,6 +13932,7 @@ export interface components {
|
|
|
13861
13932
|
waiting_on?: "sessions" | "monitor";
|
|
13862
13933
|
workspace_id?: string;
|
|
13863
13934
|
workspace_path?: string;
|
|
13935
|
+
worktree_binding?: components["schemas"]["WorktreeBindingAvailability"] | null;
|
|
13864
13936
|
worktree_id?: string;
|
|
13865
13937
|
};
|
|
13866
13938
|
SessionPresenceRequest: {
|
|
@@ -13899,6 +13971,7 @@ export interface components {
|
|
|
13899
13971
|
state: "passing" | "failing" | "pending" | "none" | "unknown";
|
|
13900
13972
|
};
|
|
13901
13973
|
SessionPullRequestErrorPayload: {
|
|
13974
|
+
blockers?: components["schemas"]["WorkspaceArchiveBlocker"][];
|
|
13902
13975
|
cause?: string;
|
|
13903
13976
|
code?: string;
|
|
13904
13977
|
config_path?: string;
|
|
@@ -14035,6 +14108,7 @@ export interface components {
|
|
|
14035
14108
|
| "needs-attention"
|
|
14036
14109
|
| "waiting";
|
|
14037
14110
|
derivation?: components["schemas"]["SessionDerivationPayload"] | null;
|
|
14111
|
+
diagnostics?: components["schemas"]["DiagnosticItem"][];
|
|
14038
14112
|
eligible_for_wake: boolean;
|
|
14039
14113
|
escalated?: boolean | null;
|
|
14040
14114
|
/** @enum {string} */
|
|
@@ -16837,6 +16911,7 @@ export interface components {
|
|
|
16837
16911
|
workspace_id?: string;
|
|
16838
16912
|
};
|
|
16839
16913
|
TaskQueryErrorPayload: {
|
|
16914
|
+
blockers?: components["schemas"]["WorkspaceArchiveBlocker"][];
|
|
16840
16915
|
code?: string;
|
|
16841
16916
|
config_path?: string;
|
|
16842
16917
|
current_turn_id?: string;
|
|
@@ -17833,6 +17908,7 @@ export interface components {
|
|
|
17833
17908
|
| "recording_unavailable"
|
|
17834
17909
|
| "session_archive_stop_failed"
|
|
17835
17910
|
| "session_busy"
|
|
17911
|
+
| "session_worktree_conflict"
|
|
17836
17912
|
| "slow_consumer"
|
|
17837
17913
|
| "subscriber_limit_reached"
|
|
17838
17914
|
| "terminal_exited"
|
|
@@ -17855,7 +17931,15 @@ export interface components {
|
|
|
17855
17931
|
| "tool_result_persistence_failed"
|
|
17856
17932
|
| "tool_result_too_large"
|
|
17857
17933
|
| "tool_timed_out"
|
|
17858
|
-
| "tool_unavailable"
|
|
17934
|
+
| "tool_unavailable"
|
|
17935
|
+
| "workspace_archived"
|
|
17936
|
+
| "workspace_busy"
|
|
17937
|
+
| "workspace_root_missing"
|
|
17938
|
+
| "worktree_missing"
|
|
17939
|
+
| "worktree_not_found"
|
|
17940
|
+
| "worktree_not_ready"
|
|
17941
|
+
| "worktree_operation_in_progress"
|
|
17942
|
+
| "worktree_session_active";
|
|
17859
17943
|
input_digest?: string;
|
|
17860
17944
|
/** @enum {string} */
|
|
17861
17945
|
kind:
|
|
@@ -18026,6 +18110,7 @@ export interface components {
|
|
|
18026
18110
|
| "recording_unavailable"
|
|
18027
18111
|
| "session_archive_stop_failed"
|
|
18028
18112
|
| "session_busy"
|
|
18113
|
+
| "session_worktree_conflict"
|
|
18029
18114
|
| "slow_consumer"
|
|
18030
18115
|
| "subscriber_limit_reached"
|
|
18031
18116
|
| "terminal_exited"
|
|
@@ -18048,7 +18133,15 @@ export interface components {
|
|
|
18048
18133
|
| "tool_result_persistence_failed"
|
|
18049
18134
|
| "tool_result_too_large"
|
|
18050
18135
|
| "tool_timed_out"
|
|
18051
|
-
| "tool_unavailable"
|
|
18136
|
+
| "tool_unavailable"
|
|
18137
|
+
| "workspace_archived"
|
|
18138
|
+
| "workspace_busy"
|
|
18139
|
+
| "workspace_root_missing"
|
|
18140
|
+
| "worktree_missing"
|
|
18141
|
+
| "worktree_not_found"
|
|
18142
|
+
| "worktree_not_ready"
|
|
18143
|
+
| "worktree_operation_in_progress"
|
|
18144
|
+
| "worktree_session_active";
|
|
18052
18145
|
details?: {
|
|
18053
18146
|
[key: string]: unknown;
|
|
18054
18147
|
};
|
|
@@ -19520,6 +19613,11 @@ export interface components {
|
|
|
19520
19613
|
/** @enum {string} */
|
|
19521
19614
|
speed?: "normal" | "fast";
|
|
19522
19615
|
};
|
|
19616
|
+
WorkspaceArchiveBlocker: {
|
|
19617
|
+
id: string;
|
|
19618
|
+
kind: string;
|
|
19619
|
+
name: string;
|
|
19620
|
+
};
|
|
19523
19621
|
WorkspaceAttentionSummaryPayload: {
|
|
19524
19622
|
finished: number;
|
|
19525
19623
|
needs_you: number;
|
|
@@ -19557,11 +19655,14 @@ export interface components {
|
|
|
19557
19655
|
WorkspacePayload: {
|
|
19558
19656
|
add_dirs: string[];
|
|
19559
19657
|
/** Format: date-time */
|
|
19658
|
+
archived_at?: string | null;
|
|
19659
|
+
/** Format: date-time */
|
|
19560
19660
|
created_at: string;
|
|
19561
19661
|
default_agent?: string;
|
|
19562
19662
|
id: string;
|
|
19563
19663
|
name: string;
|
|
19564
19664
|
root_dir: string;
|
|
19665
|
+
root_missing?: boolean;
|
|
19565
19666
|
/** Format: date-time */
|
|
19566
19667
|
updated_at: string;
|
|
19567
19668
|
};
|
|
@@ -19582,6 +19683,10 @@ export interface components {
|
|
|
19582
19683
|
WorkspacesResponse: {
|
|
19583
19684
|
workspaces: components["schemas"]["WorkspacePayload"][];
|
|
19584
19685
|
};
|
|
19686
|
+
WorktreeBindingAvailability: {
|
|
19687
|
+
available: boolean;
|
|
19688
|
+
unavailable_reason?: string;
|
|
19689
|
+
};
|
|
19585
19690
|
WorktreeBindingsPayload: {
|
|
19586
19691
|
agent_activity: string;
|
|
19587
19692
|
};
|
|
@@ -41585,7 +41690,10 @@ export interface operations {
|
|
|
41585
41690
|
};
|
|
41586
41691
|
listWorkspaces: {
|
|
41587
41692
|
parameters: {
|
|
41588
|
-
query?:
|
|
41693
|
+
query?: {
|
|
41694
|
+
/** @description List archived projects instead of active projects */
|
|
41695
|
+
archived?: boolean;
|
|
41696
|
+
};
|
|
41589
41697
|
header?: never;
|
|
41590
41698
|
path?: never;
|
|
41591
41699
|
cookie?: never;
|
|
@@ -41878,6 +41986,106 @@ export interface operations {
|
|
|
41878
41986
|
};
|
|
41879
41987
|
};
|
|
41880
41988
|
};
|
|
41989
|
+
archiveWorkspace: {
|
|
41990
|
+
parameters: {
|
|
41991
|
+
query?: never;
|
|
41992
|
+
header?: never;
|
|
41993
|
+
path: {
|
|
41994
|
+
/** @description Workspace name or id */
|
|
41995
|
+
id: string;
|
|
41996
|
+
};
|
|
41997
|
+
cookie?: never;
|
|
41998
|
+
};
|
|
41999
|
+
requestBody?: never;
|
|
42000
|
+
responses: {
|
|
42001
|
+
/** @description OK */
|
|
42002
|
+
200: {
|
|
42003
|
+
headers: {
|
|
42004
|
+
[name: string]: unknown;
|
|
42005
|
+
};
|
|
42006
|
+
content: {
|
|
42007
|
+
"application/json": components["schemas"]["WorkspaceResponse"];
|
|
42008
|
+
};
|
|
42009
|
+
};
|
|
42010
|
+
/** @description Workspace not found */
|
|
42011
|
+
404: {
|
|
42012
|
+
headers: {
|
|
42013
|
+
[name: string]: unknown;
|
|
42014
|
+
};
|
|
42015
|
+
content: {
|
|
42016
|
+
"application/json": components["schemas"]["ErrorPayload"];
|
|
42017
|
+
};
|
|
42018
|
+
};
|
|
42019
|
+
/** @description Workspace has active sessions, live Loops or enabled automations */
|
|
42020
|
+
409: {
|
|
42021
|
+
headers: {
|
|
42022
|
+
[name: string]: unknown;
|
|
42023
|
+
};
|
|
42024
|
+
content: {
|
|
42025
|
+
"application/json": components["schemas"]["ErrorPayload"];
|
|
42026
|
+
};
|
|
42027
|
+
};
|
|
42028
|
+
/** @description Internal server error */
|
|
42029
|
+
500: {
|
|
42030
|
+
headers: {
|
|
42031
|
+
[name: string]: unknown;
|
|
42032
|
+
};
|
|
42033
|
+
content: {
|
|
42034
|
+
"application/json": components["schemas"]["ErrorPayload"];
|
|
42035
|
+
};
|
|
42036
|
+
};
|
|
42037
|
+
};
|
|
42038
|
+
};
|
|
42039
|
+
unarchiveWorkspace: {
|
|
42040
|
+
parameters: {
|
|
42041
|
+
query?: never;
|
|
42042
|
+
header?: never;
|
|
42043
|
+
path: {
|
|
42044
|
+
/** @description Workspace name or id */
|
|
42045
|
+
id: string;
|
|
42046
|
+
};
|
|
42047
|
+
cookie?: never;
|
|
42048
|
+
};
|
|
42049
|
+
requestBody?: never;
|
|
42050
|
+
responses: {
|
|
42051
|
+
/** @description OK */
|
|
42052
|
+
200: {
|
|
42053
|
+
headers: {
|
|
42054
|
+
[name: string]: unknown;
|
|
42055
|
+
};
|
|
42056
|
+
content: {
|
|
42057
|
+
"application/json": components["schemas"]["WorkspaceResponse"];
|
|
42058
|
+
};
|
|
42059
|
+
};
|
|
42060
|
+
/** @description Workspace not found */
|
|
42061
|
+
404: {
|
|
42062
|
+
headers: {
|
|
42063
|
+
[name: string]: unknown;
|
|
42064
|
+
};
|
|
42065
|
+
content: {
|
|
42066
|
+
"application/json": components["schemas"]["ErrorPayload"];
|
|
42067
|
+
};
|
|
42068
|
+
};
|
|
42069
|
+
/** @description Workspace has active sessions, live Loops or enabled automations */
|
|
42070
|
+
409: {
|
|
42071
|
+
headers: {
|
|
42072
|
+
[name: string]: unknown;
|
|
42073
|
+
};
|
|
42074
|
+
content: {
|
|
42075
|
+
"application/json": components["schemas"]["ErrorPayload"];
|
|
42076
|
+
};
|
|
42077
|
+
};
|
|
42078
|
+
/** @description Internal server error */
|
|
42079
|
+
500: {
|
|
42080
|
+
headers: {
|
|
42081
|
+
[name: string]: unknown;
|
|
42082
|
+
};
|
|
42083
|
+
content: {
|
|
42084
|
+
"application/json": components["schemas"]["ErrorPayload"];
|
|
42085
|
+
};
|
|
42086
|
+
};
|
|
42087
|
+
};
|
|
42088
|
+
};
|
|
41881
42089
|
listAutomationSuggestions: {
|
|
41882
42090
|
parameters: {
|
|
41883
42091
|
query?: {
|
|
@@ -49793,6 +50001,159 @@ export interface operations {
|
|
|
49793
50001
|
};
|
|
49794
50002
|
};
|
|
49795
50003
|
};
|
|
50004
|
+
bindSessionWorktree: {
|
|
50005
|
+
parameters: {
|
|
50006
|
+
query?: {
|
|
50007
|
+
/** @description Act as this profile by name */
|
|
50008
|
+
profile?: string;
|
|
50009
|
+
};
|
|
50010
|
+
header?: never;
|
|
50011
|
+
path: {
|
|
50012
|
+
/** @description Workspace id */
|
|
50013
|
+
workspace_id: string;
|
|
50014
|
+
/** @description Session id */
|
|
50015
|
+
session_id: string;
|
|
50016
|
+
};
|
|
50017
|
+
cookie?: never;
|
|
50018
|
+
};
|
|
50019
|
+
/** @description JSON request body */
|
|
50020
|
+
requestBody: {
|
|
50021
|
+
content: {
|
|
50022
|
+
"application/json": components["schemas"]["BindSessionWorktreeRequest"];
|
|
50023
|
+
};
|
|
50024
|
+
};
|
|
50025
|
+
responses: {
|
|
50026
|
+
/** @description Same session with updated execution location */
|
|
50027
|
+
200: {
|
|
50028
|
+
headers: {
|
|
50029
|
+
[name: string]: unknown;
|
|
50030
|
+
};
|
|
50031
|
+
content: {
|
|
50032
|
+
"application/json": components["schemas"]["SessionResponse"];
|
|
50033
|
+
};
|
|
50034
|
+
};
|
|
50035
|
+
/** @description Invalid binding request */
|
|
50036
|
+
400: {
|
|
50037
|
+
headers: {
|
|
50038
|
+
[name: string]: unknown;
|
|
50039
|
+
};
|
|
50040
|
+
content: {
|
|
50041
|
+
"application/json": components["schemas"]["ErrorPayload"];
|
|
50042
|
+
};
|
|
50043
|
+
};
|
|
50044
|
+
/** @description Session or worktree not found */
|
|
50045
|
+
404: {
|
|
50046
|
+
headers: {
|
|
50047
|
+
[name: string]: unknown;
|
|
50048
|
+
};
|
|
50049
|
+
content: {
|
|
50050
|
+
"application/json": components["schemas"]["ErrorPayload"];
|
|
50051
|
+
};
|
|
50052
|
+
};
|
|
50053
|
+
/** @description Session busy, stale binding or unavailable worktree */
|
|
50054
|
+
409: {
|
|
50055
|
+
headers: {
|
|
50056
|
+
[name: string]: unknown;
|
|
50057
|
+
};
|
|
50058
|
+
content: {
|
|
50059
|
+
"application/json": components["schemas"]["ErrorPayload"];
|
|
50060
|
+
};
|
|
50061
|
+
};
|
|
50062
|
+
/** @description Internal server error */
|
|
50063
|
+
500: {
|
|
50064
|
+
headers: {
|
|
50065
|
+
[name: string]: unknown;
|
|
50066
|
+
};
|
|
50067
|
+
content: {
|
|
50068
|
+
"application/json": components["schemas"]["ErrorPayload"];
|
|
50069
|
+
};
|
|
50070
|
+
};
|
|
50071
|
+
/** @description Binding unavailable */
|
|
50072
|
+
503: {
|
|
50073
|
+
headers: {
|
|
50074
|
+
[name: string]: unknown;
|
|
50075
|
+
};
|
|
50076
|
+
content: {
|
|
50077
|
+
"application/json": components["schemas"]["ErrorPayload"];
|
|
50078
|
+
};
|
|
50079
|
+
};
|
|
50080
|
+
};
|
|
50081
|
+
};
|
|
50082
|
+
unbindSessionWorktree: {
|
|
50083
|
+
parameters: {
|
|
50084
|
+
query?: {
|
|
50085
|
+
/** @description Act as this profile by name */
|
|
50086
|
+
profile?: string;
|
|
50087
|
+
/** @description Expected current worktree id; empty for workspace root */
|
|
50088
|
+
expected_worktree_id?: string;
|
|
50089
|
+
};
|
|
50090
|
+
header?: never;
|
|
50091
|
+
path: {
|
|
50092
|
+
/** @description Workspace id */
|
|
50093
|
+
workspace_id: string;
|
|
50094
|
+
/** @description Session id */
|
|
50095
|
+
session_id: string;
|
|
50096
|
+
};
|
|
50097
|
+
cookie?: never;
|
|
50098
|
+
};
|
|
50099
|
+
requestBody?: never;
|
|
50100
|
+
responses: {
|
|
50101
|
+
/** @description Same session with updated execution location */
|
|
50102
|
+
200: {
|
|
50103
|
+
headers: {
|
|
50104
|
+
[name: string]: unknown;
|
|
50105
|
+
};
|
|
50106
|
+
content: {
|
|
50107
|
+
"application/json": components["schemas"]["SessionResponse"];
|
|
50108
|
+
};
|
|
50109
|
+
};
|
|
50110
|
+
/** @description Invalid binding request */
|
|
50111
|
+
400: {
|
|
50112
|
+
headers: {
|
|
50113
|
+
[name: string]: unknown;
|
|
50114
|
+
};
|
|
50115
|
+
content: {
|
|
50116
|
+
"application/json": components["schemas"]["ErrorPayload"];
|
|
50117
|
+
};
|
|
50118
|
+
};
|
|
50119
|
+
/** @description Session or worktree not found */
|
|
50120
|
+
404: {
|
|
50121
|
+
headers: {
|
|
50122
|
+
[name: string]: unknown;
|
|
50123
|
+
};
|
|
50124
|
+
content: {
|
|
50125
|
+
"application/json": components["schemas"]["ErrorPayload"];
|
|
50126
|
+
};
|
|
50127
|
+
};
|
|
50128
|
+
/** @description Session busy, stale binding or unavailable worktree */
|
|
50129
|
+
409: {
|
|
50130
|
+
headers: {
|
|
50131
|
+
[name: string]: unknown;
|
|
50132
|
+
};
|
|
50133
|
+
content: {
|
|
50134
|
+
"application/json": components["schemas"]["ErrorPayload"];
|
|
50135
|
+
};
|
|
50136
|
+
};
|
|
50137
|
+
/** @description Internal server error */
|
|
50138
|
+
500: {
|
|
50139
|
+
headers: {
|
|
50140
|
+
[name: string]: unknown;
|
|
50141
|
+
};
|
|
50142
|
+
content: {
|
|
50143
|
+
"application/json": components["schemas"]["ErrorPayload"];
|
|
50144
|
+
};
|
|
50145
|
+
};
|
|
50146
|
+
/** @description Binding unavailable */
|
|
50147
|
+
503: {
|
|
50148
|
+
headers: {
|
|
50149
|
+
[name: string]: unknown;
|
|
50150
|
+
};
|
|
50151
|
+
content: {
|
|
50152
|
+
"application/json": components["schemas"]["ErrorPayload"];
|
|
50153
|
+
};
|
|
50154
|
+
};
|
|
50155
|
+
};
|
|
50156
|
+
};
|
|
49796
50157
|
forkSessionToWorktree: {
|
|
49797
50158
|
parameters: {
|
|
49798
50159
|
query?: never;
|
|
@@ -50125,6 +50486,8 @@ export interface operations {
|
|
|
50125
50486
|
header?: {
|
|
50126
50487
|
/** @description Registered browser client attachment token */
|
|
50127
50488
|
"X-Compozy-Client-Token"?: string;
|
|
50489
|
+
/** @description Browser client registration partition (project id, global, or user); defaults to the terminal workspace */
|
|
50490
|
+
"X-Compozy-Client-Workspace"?: string;
|
|
50128
50491
|
};
|
|
50129
50492
|
path: {
|
|
50130
50493
|
/** @description Workspace id */
|
|
@@ -51000,6 +51363,8 @@ export interface operations {
|
|
|
51000
51363
|
header?: {
|
|
51001
51364
|
/** @description Registered browser client attachment token */
|
|
51002
51365
|
"X-Compozy-Client-Token"?: string;
|
|
51366
|
+
/** @description Browser client registration partition (project id, global, or user); defaults to the terminal workspace */
|
|
51367
|
+
"X-Compozy-Client-Workspace"?: string;
|
|
51003
51368
|
};
|
|
51004
51369
|
path: {
|
|
51005
51370
|
/** @description Workspace id */
|