@compozy/client 0.6.1 → 0.7.0

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.
@@ -1092,6 +1092,16 @@ class automation extends HeyApiClient {
1092
1092
  ...options,
1093
1093
  });
1094
1094
  }
1095
+ /**
1096
+ * Cancel an orphaned automation run
1097
+ */
1098
+ cancelAutomationRun(options) {
1099
+ return (options.client ?? this.client).post({
1100
+ responseStyle: "data",
1101
+ url: "/api/automation/runs/{id}/cancel",
1102
+ ...options,
1103
+ });
1104
+ }
1095
1105
  /**
1096
1106
  * List consent-first automation suggestions for one workspace
1097
1107
  */
@@ -5790,6 +5800,16 @@ class workspaces extends HeyApiClient {
5790
5800
  ...options,
5791
5801
  });
5792
5802
  }
5803
+ /**
5804
+ * Stream project file bytes
5805
+ */
5806
+ readFileBytes(options) {
5807
+ return (options.client ?? this.client).get({
5808
+ responseStyle: "data",
5809
+ url: "/api/workspaces/{workspace_id}/files/raw/{path}",
5810
+ ...options,
5811
+ });
5812
+ }
5793
5813
  /**
5794
5814
  * Search project file contents
5795
5815
  */
@@ -5870,6 +5890,16 @@ class workspaces extends HeyApiClient {
5870
5890
  ...options,
5871
5891
  });
5872
5892
  }
5893
+ /**
5894
+ * Stream session file bytes
5895
+ */
5896
+ readSessionFileBytes(options) {
5897
+ return (options.client ?? this.client).get({
5898
+ responseStyle: "data",
5899
+ url: "/api/workspaces/{workspace_id}/sessions/{session_id}/files/raw/{path}",
5900
+ ...options,
5901
+ });
5902
+ }
5873
5903
  /**
5874
5904
  * Search project file contents
5875
5905
  */
@@ -6210,6 +6240,30 @@ class workspaces extends HeyApiClient {
6210
6240
  },
6211
6241
  });
6212
6242
  }
6243
+ /**
6244
+ * Read window layout migration status
6245
+ */
6246
+ getWindowManagerMigration(options) {
6247
+ return (options.client ?? this.client).get({
6248
+ responseStyle: "data",
6249
+ url: "/api/workspaces/{workspace_id}/window-manager/migration",
6250
+ ...options,
6251
+ });
6252
+ }
6253
+ /**
6254
+ * Acknowledge or retry window layout migration
6255
+ */
6256
+ updateWindowManagerMigration(options) {
6257
+ return (options.client ?? this.client).post({
6258
+ responseStyle: "data",
6259
+ url: "/api/workspaces/{workspace_id}/window-manager/migration",
6260
+ ...options,
6261
+ headers: {
6262
+ "Content-Type": "application/json",
6263
+ ...options.headers,
6264
+ },
6265
+ });
6266
+ }
6213
6267
  /**
6214
6268
  * Preview one semantic window-manager command
6215
6269
  */
@@ -6224,6 +6278,16 @@ class workspaces extends HeyApiClient {
6224
6278
  },
6225
6279
  });
6226
6280
  }
6281
+ /**
6282
+ * Stream worktree file bytes
6283
+ */
6284
+ readWorktreeFileBytes(options) {
6285
+ return (options.client ?? this.client).get({
6286
+ responseStyle: "data",
6287
+ url: "/api/workspaces/{workspace_id}/worktrees/{worktree_id}/files/raw/{path}",
6288
+ ...options,
6289
+ });
6290
+ }
6227
6291
  }
6228
6292
  exports.workspaces = workspaces;
6229
6293
  class tools extends HeyApiClient {
@@ -6492,6 +6556,20 @@ class worktrees extends HeyApiClient {
6492
6556
  },
6493
6557
  });
6494
6558
  }
6559
+ /**
6560
+ * Remove multiple worktrees or preview per-target removal risk
6561
+ */
6562
+ removeWorktrees(options) {
6563
+ return (options.client ?? this.client).post({
6564
+ responseStyle: "data",
6565
+ url: "/api/workspaces/{workspace_id}/worktrees/remove",
6566
+ ...options,
6567
+ headers: {
6568
+ "Content-Type": "application/json",
6569
+ ...options.headers,
6570
+ },
6571
+ });
6572
+ }
6495
6573
  /**
6496
6574
  * Remove a worktree
6497
6575
  */