@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.
@@ -2,5 +2,5 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.CLIENT_VERSION = void 0;
4
4
  /** Replaced in the published build by the release pipeline. */
5
- exports.CLIENT_VERSION = "0.6.1";
5
+ exports.CLIENT_VERSION = "0.7.0";
6
6
  //# sourceMappingURL=version.js.map
@@ -1086,6 +1086,16 @@ export class automation extends HeyApiClient {
1086
1086
  ...options,
1087
1087
  });
1088
1088
  }
1089
+ /**
1090
+ * Cancel an orphaned automation run
1091
+ */
1092
+ cancelAutomationRun(options) {
1093
+ return (options.client ?? this.client).post({
1094
+ responseStyle: "data",
1095
+ url: "/api/automation/runs/{id}/cancel",
1096
+ ...options,
1097
+ });
1098
+ }
1089
1099
  /**
1090
1100
  * List consent-first automation suggestions for one workspace
1091
1101
  */
@@ -5761,6 +5771,16 @@ export class workspaces extends HeyApiClient {
5761
5771
  ...options,
5762
5772
  });
5763
5773
  }
5774
+ /**
5775
+ * Stream project file bytes
5776
+ */
5777
+ readFileBytes(options) {
5778
+ return (options.client ?? this.client).get({
5779
+ responseStyle: "data",
5780
+ url: "/api/workspaces/{workspace_id}/files/raw/{path}",
5781
+ ...options,
5782
+ });
5783
+ }
5764
5784
  /**
5765
5785
  * Search project file contents
5766
5786
  */
@@ -5841,6 +5861,16 @@ export class workspaces extends HeyApiClient {
5841
5861
  ...options,
5842
5862
  });
5843
5863
  }
5864
+ /**
5865
+ * Stream session file bytes
5866
+ */
5867
+ readSessionFileBytes(options) {
5868
+ return (options.client ?? this.client).get({
5869
+ responseStyle: "data",
5870
+ url: "/api/workspaces/{workspace_id}/sessions/{session_id}/files/raw/{path}",
5871
+ ...options,
5872
+ });
5873
+ }
5844
5874
  /**
5845
5875
  * Search project file contents
5846
5876
  */
@@ -6181,6 +6211,30 @@ export class workspaces extends HeyApiClient {
6181
6211
  },
6182
6212
  });
6183
6213
  }
6214
+ /**
6215
+ * Read window layout migration status
6216
+ */
6217
+ getWindowManagerMigration(options) {
6218
+ return (options.client ?? this.client).get({
6219
+ responseStyle: "data",
6220
+ url: "/api/workspaces/{workspace_id}/window-manager/migration",
6221
+ ...options,
6222
+ });
6223
+ }
6224
+ /**
6225
+ * Acknowledge or retry window layout migration
6226
+ */
6227
+ updateWindowManagerMigration(options) {
6228
+ return (options.client ?? this.client).post({
6229
+ responseStyle: "data",
6230
+ url: "/api/workspaces/{workspace_id}/window-manager/migration",
6231
+ ...options,
6232
+ headers: {
6233
+ "Content-Type": "application/json",
6234
+ ...options.headers,
6235
+ },
6236
+ });
6237
+ }
6184
6238
  /**
6185
6239
  * Preview one semantic window-manager command
6186
6240
  */
@@ -6195,6 +6249,16 @@ export class workspaces extends HeyApiClient {
6195
6249
  },
6196
6250
  });
6197
6251
  }
6252
+ /**
6253
+ * Stream worktree file bytes
6254
+ */
6255
+ readWorktreeFileBytes(options) {
6256
+ return (options.client ?? this.client).get({
6257
+ responseStyle: "data",
6258
+ url: "/api/workspaces/{workspace_id}/worktrees/{worktree_id}/files/raw/{path}",
6259
+ ...options,
6260
+ });
6261
+ }
6198
6262
  }
6199
6263
  export class tools extends HeyApiClient {
6200
6264
  /**
@@ -6459,6 +6523,20 @@ export class worktrees extends HeyApiClient {
6459
6523
  },
6460
6524
  });
6461
6525
  }
6526
+ /**
6527
+ * Remove multiple worktrees or preview per-target removal risk
6528
+ */
6529
+ removeWorktrees(options) {
6530
+ return (options.client ?? this.client).post({
6531
+ responseStyle: "data",
6532
+ url: "/api/workspaces/{workspace_id}/worktrees/remove",
6533
+ ...options,
6534
+ headers: {
6535
+ "Content-Type": "application/json",
6536
+ ...options.headers,
6537
+ },
6538
+ });
6539
+ }
6462
6540
  /**
6463
6541
  * Remove a worktree
6464
6542
  */