@compozy/client 0.6.2 → 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.
@@ -5800,6 +5800,16 @@ class workspaces extends HeyApiClient {
5800
5800
  ...options,
5801
5801
  });
5802
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
+ }
5803
5813
  /**
5804
5814
  * Search project file contents
5805
5815
  */
@@ -5880,6 +5890,16 @@ class workspaces extends HeyApiClient {
5880
5890
  ...options,
5881
5891
  });
5882
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
+ }
5883
5903
  /**
5884
5904
  * Search project file contents
5885
5905
  */
@@ -6220,6 +6240,30 @@ class workspaces extends HeyApiClient {
6220
6240
  },
6221
6241
  });
6222
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
+ }
6223
6267
  /**
6224
6268
  * Preview one semantic window-manager command
6225
6269
  */
@@ -6234,6 +6278,16 @@ class workspaces extends HeyApiClient {
6234
6278
  },
6235
6279
  });
6236
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
+ }
6237
6291
  }
6238
6292
  exports.workspaces = workspaces;
6239
6293
  class tools extends HeyApiClient {
@@ -6502,6 +6556,20 @@ class worktrees extends HeyApiClient {
6502
6556
  },
6503
6557
  });
6504
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
+ }
6505
6573
  /**
6506
6574
  * Remove a worktree
6507
6575
  */