@compozy/client 0.4.6 → 0.4.7

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.
@@ -5813,6 +5813,23 @@ export interface paths {
5813
5813
  patch?: never;
5814
5814
  trace?: never;
5815
5815
  };
5816
+ "/api/workspaces/{workspace_id}/sessions/{session_id}/later": {
5817
+ parameters: {
5818
+ query?: never;
5819
+ header?: never;
5820
+ path?: never;
5821
+ cookie?: never;
5822
+ };
5823
+ get?: never;
5824
+ put?: never;
5825
+ /** Stop a session and its children and park them in Later, with an optional reason and return time */
5826
+ post: operations["moveSessionToLater"];
5827
+ delete?: never;
5828
+ options?: never;
5829
+ head?: never;
5830
+ patch?: never;
5831
+ trace?: never;
5832
+ };
5816
5833
  "/api/workspaces/{workspace_id}/sessions/{session_id}/monitors": {
5817
5834
  parameters: {
5818
5835
  query?: never;
@@ -6054,6 +6071,23 @@ export interface paths {
6054
6071
  patch?: never;
6055
6072
  trace?: never;
6056
6073
  };
6074
+ "/api/workspaces/{workspace_id}/sessions/{session_id}/resume-later": {
6075
+ parameters: {
6076
+ query?: never;
6077
+ header?: never;
6078
+ path?: never;
6079
+ cookie?: never;
6080
+ };
6081
+ get?: never;
6082
+ put?: never;
6083
+ /** Return a parked session, and optionally its parked children, to the normal flow */
6084
+ post: operations["resumeSessionFromLater"];
6085
+ delete?: never;
6086
+ options?: never;
6087
+ head?: never;
6088
+ patch?: never;
6089
+ trace?: never;
6090
+ };
6057
6091
  "/api/workspaces/{workspace_id}/sessions/{session_id}/rewind": {
6058
6092
  parameters: {
6059
6093
  query?: never;
@@ -11715,6 +11749,11 @@ export interface components {
11715
11749
  MoveSessionRequest: {
11716
11750
  folder_id?: string;
11717
11751
  };
11752
+ MoveSessionToLaterRequest: {
11753
+ reason?: string;
11754
+ /** Format: date-time */
11755
+ return_at?: string | null;
11756
+ };
11718
11757
  MoveWorkspaceRequest: {
11719
11758
  folder_id?: string;
11720
11759
  workspace_id: string;
@@ -12636,7 +12675,10 @@ export interface components {
12636
12675
  | "tool_unknown"
12637
12676
  | "toolset_cycle"
12638
12677
  | "toolset_unknown"
12639
- | "visibility_denied";
12678
+ | "visibility_denied"
12679
+ | "worktree_missing"
12680
+ | "worktree_not_found"
12681
+ | "worktree_not_ready";
12640
12682
  };
12641
12683
  Reference: {
12642
12684
  effective_paused?: boolean;
@@ -12839,6 +12881,9 @@ export interface components {
12839
12881
  /** Format: date-time */
12840
12882
  updated_at: string;
12841
12883
  };
12884
+ ResumeSessionFromLaterRequest: {
12885
+ with_children?: boolean;
12886
+ };
12842
12887
  ResumeTaskRequest: {
12843
12888
  metadata?: unknown;
12844
12889
  };
@@ -13338,7 +13383,7 @@ export interface components {
13338
13383
  canceled_queued_entries?: number;
13339
13384
  delivery: string;
13340
13385
  /** @enum {string} */
13341
- disposition?: "direct" | "steering" | "queued" | "interrupting";
13386
+ disposition?: "direct" | "steering" | "queued" | "interrupting" | "later";
13342
13387
  entry_id?: string;
13343
13388
  /** Format: date-time */
13344
13389
  estimated_send_at?: string | null;
@@ -13483,6 +13528,7 @@ export interface components {
13483
13528
  done: number;
13484
13529
  in_review: number;
13485
13530
  needs_you: number;
13531
+ waiting: number;
13486
13532
  working: number;
13487
13533
  };
13488
13534
  SessionCatalogEventPayload: {
@@ -13506,6 +13552,7 @@ export interface components {
13506
13552
  by_profile: components["schemas"]["SessionProfileFacetsPayload"][];
13507
13553
  by_workspace: components["schemas"]["SessionWorkspaceFacetsPayload"][];
13508
13554
  facets: components["schemas"]["SessionCatalogFacetsPayload"];
13555
+ later?: number;
13509
13556
  };
13510
13557
  SessionCatalogPagePayload: {
13511
13558
  has_more: boolean;
@@ -13522,6 +13569,7 @@ export interface components {
13522
13569
  in_review: number;
13523
13570
  needs_you: number;
13524
13571
  total: number;
13572
+ waiting: number;
13525
13573
  working: number;
13526
13574
  };
13527
13575
  SessionCommandPayload: {
@@ -13978,6 +14026,14 @@ export interface components {
13978
14026
  SessionInteractionsResponse: {
13979
14027
  interactions: components["schemas"]["PendingInteractionPayload"][];
13980
14028
  };
14029
+ SessionLaterPayload: {
14030
+ /** Format: date-time */
14031
+ parked_at: string;
14032
+ pending_messages: number;
14033
+ reason?: string;
14034
+ /** Format: date-time */
14035
+ return_at?: string | null;
14036
+ };
13981
14037
  SessionLineagePayload: {
13982
14038
  auto_stop_on_parent: boolean;
13983
14039
  /** @enum {string} */
@@ -14054,7 +14110,7 @@ export interface components {
14054
14110
  | "needs-attention"
14055
14111
  | "waiting";
14056
14112
  /** @enum {string} */
14057
- board_column: "needs_you" | "working" | "in_review" | "done";
14113
+ board_column: "needs_you" | "working" | "waiting" | "in_review" | "done";
14058
14114
  branch?: string;
14059
14115
  busy_input?: components["schemas"]["BusyInputState"] | null;
14060
14116
  children?: components["schemas"]["SessionChildrenPayload"] | null;
@@ -14068,6 +14124,7 @@ export interface components {
14068
14124
  folder_id?: string;
14069
14125
  health?: components["schemas"]["SessionHealthPayload"] | null;
14070
14126
  id: string;
14127
+ later?: components["schemas"]["SessionLaterPayload"] | null;
14071
14128
  lineage?: components["schemas"]["SessionLineagePayload"] | null;
14072
14129
  monitor_summary?: components["schemas"]["SessionMonitorSummaryPayload"] | null;
14073
14130
  name?: string;
@@ -14084,6 +14141,8 @@ export interface components {
14084
14141
  pull_request_lookup: components["schemas"]["SessionPullRequestLookupPayload"] | null;
14085
14142
  queue?: components["schemas"]["SessionQueueSummaryPayload"] | null;
14086
14143
  reply_watches?: components["schemas"]["ReplyWatchPayload"][];
14144
+ /** Format: date-time */
14145
+ returned_from_later_at?: string | null;
14087
14146
  runtime: components["schemas"]["SessionRuntimePayload"];
14088
14147
  scope: string;
14089
14148
  /** @enum {string} */
@@ -15062,6 +15121,7 @@ export interface components {
15062
15121
  diagnostic?: string;
15063
15122
  /** Format: date-time */
15064
15123
  expires_at?: string | null;
15124
+ inherited?: boolean;
15065
15125
  issuer?: string;
15066
15126
  owner: string;
15067
15127
  profile?: string;
@@ -17642,6 +17702,7 @@ export interface components {
17642
17702
  rows?: number;
17643
17703
  shell?: string;
17644
17704
  title?: string;
17705
+ worktree?: string;
17645
17706
  };
17646
17707
  TerminalDeliveredResponse: {
17647
17708
  delivered: boolean;
@@ -18119,6 +18180,9 @@ export interface components {
18119
18180
  | "toolset_cycle"
18120
18181
  | "toolset_unknown"
18121
18182
  | "visibility_denied"
18183
+ | "worktree_missing"
18184
+ | "worktree_not_found"
18185
+ | "worktree_not_ready"
18122
18186
  )[];
18123
18187
  registered: boolean;
18124
18188
  };
@@ -18166,8 +18230,11 @@ export interface components {
18166
18230
  | "recording_unavailable"
18167
18231
  | "session_archive_stop_failed"
18168
18232
  | "session_busy"
18233
+ | "session_in_later"
18234
+ | "session_later_stop_failed"
18169
18235
  | "session_worktree_conflict"
18170
18236
  | "slow_consumer"
18237
+ | "subagent_later_follows_parent"
18171
18238
  | "subscriber_limit_reached"
18172
18239
  | "terminal_exited"
18173
18240
  | "terminal_expired"
@@ -18290,6 +18357,9 @@ export interface components {
18290
18357
  | "toolset_cycle"
18291
18358
  | "toolset_unknown"
18292
18359
  | "visibility_denied"
18360
+ | "worktree_missing"
18361
+ | "worktree_not_found"
18362
+ | "worktree_not_ready"
18293
18363
  )[];
18294
18364
  redacted_input_fields?: string[];
18295
18365
  /** Format: int64 */
@@ -18368,8 +18438,11 @@ export interface components {
18368
18438
  | "recording_unavailable"
18369
18439
  | "session_archive_stop_failed"
18370
18440
  | "session_busy"
18441
+ | "session_in_later"
18442
+ | "session_later_stop_failed"
18371
18443
  | "session_worktree_conflict"
18372
18444
  | "slow_consumer"
18445
+ | "subagent_later_follows_parent"
18373
18446
  | "subscriber_limit_reached"
18374
18447
  | "terminal_exited"
18375
18448
  | "terminal_expired"
@@ -18488,6 +18561,9 @@ export interface components {
18488
18561
  | "toolset_cycle"
18489
18562
  | "toolset_unknown"
18490
18563
  | "visibility_denied"
18564
+ | "worktree_missing"
18565
+ | "worktree_not_found"
18566
+ | "worktree_not_ready"
18491
18567
  )[];
18492
18568
  tool_id?: string;
18493
18569
  };
@@ -18607,6 +18683,9 @@ export interface components {
18607
18683
  | "toolset_cycle"
18608
18684
  | "toolset_unknown"
18609
18685
  | "visibility_denied"
18686
+ | "worktree_missing"
18687
+ | "worktree_not_found"
18688
+ | "worktree_not_ready"
18610
18689
  )[];
18611
18690
  registry_policy_result?: string;
18612
18691
  session_policy_result?: string;
@@ -18740,6 +18819,9 @@ export interface components {
18740
18819
  | "toolset_cycle"
18741
18820
  | "toolset_unknown"
18742
18821
  | "visibility_denied"
18822
+ | "worktree_missing"
18823
+ | "worktree_not_found"
18824
+ | "worktree_not_ready"
18743
18825
  )[];
18744
18826
  status: string;
18745
18827
  tools?: string[];
@@ -20068,6 +20150,7 @@ export interface components {
20068
20150
  base_ref?: string;
20069
20151
  behind: number | null;
20070
20152
  branch: string;
20153
+ create_error?: string;
20071
20154
  /** Format: date-time */
20072
20155
  created_at: string;
20073
20156
  created_branch: boolean;
@@ -32622,12 +32705,14 @@ export interface operations {
32622
32705
  resumable?: boolean;
32623
32706
  /** @description Only list sessions in the needs-you attention class */
32624
32707
  attention?: boolean;
32625
- /** @description Repeatable board column filter: needs_you, working, in_review, done */
32708
+ /** @description Repeatable board column filter: needs_you, working, waiting, in_review, done */
32626
32709
  board_column?: string[];
32627
32710
  /** @description Filter by comma-separated exact session badges */
32628
32711
  badge?: string;
32629
32712
  /** @description Archived session visibility */
32630
32713
  archive?: "exclude" | "only" | "include";
32714
+ /** @description Visibility of sessions parked in Later; excluded by default */
32715
+ later?: "exclude" | "only" | "include";
32631
32716
  /** @description Stable session ordering */
32632
32717
  sort?:
32633
32718
  | "recent"
@@ -32919,6 +33004,8 @@ export interface operations {
32919
33004
  type?: "user" | "system" | "coordinator" | "spawned";
32920
33005
  /** @description Archived session visibility */
32921
33006
  archive?: "exclude" | "only" | "include";
33007
+ /** @description Visibility of sessions parked in Later; excluded by default */
33008
+ later?: "exclude" | "only" | "include";
32922
33009
  /** @description Read one profile's rows by name */
32923
33010
  profile?: string;
32924
33011
  /** @description Read the owner-labeled all-profiles aggregate */
@@ -47068,12 +47155,14 @@ export interface operations {
47068
47155
  resumable?: boolean;
47069
47156
  /** @description Only list sessions in the needs-you attention class */
47070
47157
  attention?: boolean;
47071
- /** @description Repeatable board column filter: needs_you, working, in_review, done */
47158
+ /** @description Repeatable board column filter: needs_you, working, waiting, in_review, done */
47072
47159
  board_column?: string[];
47073
47160
  /** @description Filter by comma-separated exact session badges */
47074
47161
  badge?: string;
47075
47162
  /** @description Archived session visibility */
47076
47163
  archive?: "exclude" | "only" | "include";
47164
+ /** @description Visibility of sessions parked in Later; excluded by default */
47165
+ later?: "exclude" | "only" | "include";
47077
47166
  /** @description Stable session ordering */
47078
47167
  sort?:
47079
47168
  | "recent"
@@ -48856,6 +48945,84 @@ export interface operations {
48856
48945
  };
48857
48946
  };
48858
48947
  };
48948
+ moveSessionToLater: {
48949
+ parameters: {
48950
+ query?: {
48951
+ /** @description Act as this profile by name */
48952
+ profile?: string;
48953
+ };
48954
+ header?: never;
48955
+ path: {
48956
+ /** @description Workspace id */
48957
+ workspace_id: string;
48958
+ /** @description Session id */
48959
+ session_id: string;
48960
+ };
48961
+ cookie?: never;
48962
+ };
48963
+ /** @description JSON request body */
48964
+ requestBody?: {
48965
+ content: {
48966
+ "application/json": components["schemas"]["MoveSessionToLaterRequest"];
48967
+ };
48968
+ };
48969
+ responses: {
48970
+ /** @description OK */
48971
+ 200: {
48972
+ headers: {
48973
+ [name: string]: unknown;
48974
+ };
48975
+ content: {
48976
+ "application/json": components["schemas"]["SessionResponse"];
48977
+ };
48978
+ };
48979
+ /** @description Invalid Move to Later request */
48980
+ 400: {
48981
+ headers: {
48982
+ [name: string]: unknown;
48983
+ };
48984
+ content: {
48985
+ "application/json": components["schemas"]["ErrorPayload"];
48986
+ };
48987
+ };
48988
+ /** @description Session not found */
48989
+ 404: {
48990
+ headers: {
48991
+ [name: string]: unknown;
48992
+ };
48993
+ content: {
48994
+ "application/json": components["schemas"]["ErrorPayload"];
48995
+ };
48996
+ };
48997
+ /** @description Subagents move with their parent, or the session tree could not be stopped */
48998
+ 409: {
48999
+ headers: {
49000
+ [name: string]: unknown;
49001
+ };
49002
+ content: {
49003
+ "application/json": components["schemas"]["ErrorPayload"];
49004
+ };
49005
+ };
49006
+ /** @description Internal server error */
49007
+ 500: {
49008
+ headers: {
49009
+ [name: string]: unknown;
49010
+ };
49011
+ content: {
49012
+ "application/json": components["schemas"]["ErrorPayload"];
49013
+ };
49014
+ };
49015
+ /** @description Service unavailable - dependent service missing */
49016
+ 503: {
49017
+ headers: {
49018
+ [name: string]: unknown;
49019
+ };
49020
+ content: {
49021
+ "application/json": components["schemas"]["ErrorPayload"];
49022
+ };
49023
+ };
49024
+ };
49025
+ };
48859
49026
  listSessionMonitors: {
48860
49027
  parameters: {
48861
49028
  query?: {
@@ -49994,6 +50161,84 @@ export interface operations {
49994
50161
  };
49995
50162
  };
49996
50163
  };
50164
+ resumeSessionFromLater: {
50165
+ parameters: {
50166
+ query?: {
50167
+ /** @description Act as this profile by name */
50168
+ profile?: string;
50169
+ };
50170
+ header?: never;
50171
+ path: {
50172
+ /** @description Workspace id */
50173
+ workspace_id: string;
50174
+ /** @description Session id */
50175
+ session_id: string;
50176
+ };
50177
+ cookie?: never;
50178
+ };
50179
+ /** @description JSON request body */
50180
+ requestBody?: {
50181
+ content: {
50182
+ "application/json": components["schemas"]["ResumeSessionFromLaterRequest"];
50183
+ };
50184
+ };
50185
+ responses: {
50186
+ /** @description OK */
50187
+ 200: {
50188
+ headers: {
50189
+ [name: string]: unknown;
50190
+ };
50191
+ content: {
50192
+ "application/json": components["schemas"]["SessionResponse"];
50193
+ };
50194
+ };
50195
+ /** @description Invalid Back from Later request */
50196
+ 400: {
50197
+ headers: {
50198
+ [name: string]: unknown;
50199
+ };
50200
+ content: {
50201
+ "application/json": components["schemas"]["ErrorPayload"];
50202
+ };
50203
+ };
50204
+ /** @description Session not found */
50205
+ 404: {
50206
+ headers: {
50207
+ [name: string]: unknown;
50208
+ };
50209
+ content: {
50210
+ "application/json": components["schemas"]["ErrorPayload"];
50211
+ };
50212
+ };
50213
+ /** @description The session could not leave Later */
50214
+ 409: {
50215
+ headers: {
50216
+ [name: string]: unknown;
50217
+ };
50218
+ content: {
50219
+ "application/json": components["schemas"]["ErrorPayload"];
50220
+ };
50221
+ };
50222
+ /** @description Internal server error */
50223
+ 500: {
50224
+ headers: {
50225
+ [name: string]: unknown;
50226
+ };
50227
+ content: {
50228
+ "application/json": components["schemas"]["ErrorPayload"];
50229
+ };
50230
+ };
50231
+ /** @description Service unavailable - dependent service missing */
50232
+ 503: {
50233
+ headers: {
50234
+ [name: string]: unknown;
50235
+ };
50236
+ content: {
50237
+ "application/json": components["schemas"]["ErrorPayload"];
50238
+ };
50239
+ };
50240
+ };
50241
+ };
49997
50242
  rewindSessionConversation: {
49998
50243
  parameters: {
49999
50244
  query?: {
@@ -51722,7 +51967,16 @@ export interface operations {
51722
51967
  "application/json": components["schemas"]["TerminalErrorResponse"];
51723
51968
  };
51724
51969
  };
51725
- /** @description Terminal limit reached */
51970
+ /** @description Worktree not found */
51971
+ 404: {
51972
+ headers: {
51973
+ [name: string]: unknown;
51974
+ };
51975
+ content: {
51976
+ "application/json": components["schemas"]["TerminalErrorResponse"];
51977
+ };
51978
+ };
51979
+ /** @description Terminal limit reached or worktree unavailable */
51726
51980
  409: {
51727
51981
  headers: {
51728
51982
  [name: string]: unknown;