@compozy/client 0.7.0 → 0.7.1

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.7.0";
5
+ exports.CLIENT_VERSION = "0.7.1";
6
6
  //# sourceMappingURL=version.js.map
@@ -2776,6 +2776,30 @@ export class settings extends HeyApiClient {
2776
2776
  },
2777
2777
  });
2778
2778
  }
2779
+ /**
2780
+ * Revoke workspace MCP consent
2781
+ */
2782
+ deleteSettingsMCPApproval(options) {
2783
+ return (options.client ?? this.client).delete({
2784
+ responseStyle: "data",
2785
+ url: "/api/settings/mcp-servers/{name}/approval",
2786
+ ...options,
2787
+ });
2788
+ }
2789
+ /**
2790
+ * Approve an exact workspace MCP definition
2791
+ */
2792
+ putSettingsMCPApproval(options) {
2793
+ return (options.client ?? this.client).put({
2794
+ responseStyle: "data",
2795
+ url: "/api/settings/mcp-servers/{name}/approval",
2796
+ ...options,
2797
+ headers: {
2798
+ "Content-Type": "application/json",
2799
+ ...options.headers,
2800
+ },
2801
+ });
2802
+ }
2779
2803
  /**
2780
2804
  * Begin daemon-mediated OAuth for one MCP server
2781
2805
  */
@@ -2988,6 +3012,30 @@ export class settings extends HeyApiClient {
2988
3012
  },
2989
3013
  });
2990
3014
  }
3015
+ /**
3016
+ * List runtime MCP servers from native configuration files
3017
+ */
3018
+ listRuntimeMCPServers(options) {
3019
+ return (options?.client ?? this.client).get({
3020
+ responseStyle: "data",
3021
+ url: "/api/settings/runtime-mcp-servers",
3022
+ ...options,
3023
+ });
3024
+ }
3025
+ /**
3026
+ * Copy a runtime MCP server into CompozyOS
3027
+ */
3028
+ importRuntimeMCPServer(options) {
3029
+ return (options.client ?? this.client).post({
3030
+ responseStyle: "data",
3031
+ url: "/api/settings/runtime-mcp-servers/{runtime}/{name}/import",
3032
+ ...options,
3033
+ headers: {
3034
+ "Content-Type": "application/json",
3035
+ ...options.headers,
3036
+ },
3037
+ });
3038
+ }
2991
3039
  /**
2992
3040
  * Read the operator shell settings section
2993
3041
  */
@@ -3450,6 +3498,40 @@ export class sessions extends HeyApiClient {
3450
3498
  ...options,
3451
3499
  });
3452
3500
  }
3501
+ /**
3502
+ * Get the selected profile's running or most recent archived-history cleanup
3503
+ */
3504
+ getSessionHistoryCleanup(options) {
3505
+ return (options?.client ?? this.client).get({
3506
+ responseStyle: "data",
3507
+ url: "/api/sessions/history-cleanup",
3508
+ ...options,
3509
+ });
3510
+ }
3511
+ /**
3512
+ * Preview (dry_run) or start the background deletion of archived sessions archived before a cutoff: whole threads, or only their child sessions or subagents
3513
+ */
3514
+ planSessionHistoryCleanup(options) {
3515
+ return (options.client ?? this.client).post({
3516
+ responseStyle: "data",
3517
+ url: "/api/sessions/history-cleanup",
3518
+ ...options,
3519
+ headers: {
3520
+ "Content-Type": "application/json",
3521
+ ...options.headers,
3522
+ },
3523
+ });
3524
+ }
3525
+ /**
3526
+ * Stop the selected profile's running cleanup; sessions already deleted stay deleted
3527
+ */
3528
+ stopSessionHistoryCleanup(options) {
3529
+ return (options?.client ?? this.client).post({
3530
+ responseStyle: "data",
3531
+ url: "/api/sessions/history-cleanup/stop",
3532
+ ...options,
3533
+ });
3534
+ }
3453
3535
  /**
3454
3536
  * Get one session snapshot by id
3455
3537
  */
@@ -3987,6 +4069,16 @@ export class sessions extends HeyApiClient {
3987
4069
  ...options,
3988
4070
  });
3989
4071
  }
4072
+ /**
4073
+ * Read session MCP availability without discovery
4074
+ */
4075
+ getSessionMCP(options) {
4076
+ return (options.client ?? this.client).get({
4077
+ responseStyle: "data",
4078
+ url: "/api/workspaces/{workspace_id}/sessions/{session_id}/mcp",
4079
+ ...options,
4080
+ });
4081
+ }
3990
4082
  /**
3991
4083
  * List a session's monitors
3992
4084
  */
@@ -4445,6 +4537,16 @@ export class sessions extends HeyApiClient {
4445
4537
  },
4446
4538
  });
4447
4539
  }
4540
+ /**
4541
+ * Delete a delegated subagent and its child session
4542
+ */
4543
+ deleteSubagent(options) {
4544
+ return (options.client ?? this.client).delete({
4545
+ responseStyle: "data",
4546
+ url: "/api/workspaces/{workspace_id}/subagents/{subagent_id}",
4547
+ ...options,
4548
+ });
4549
+ }
4448
4550
  /**
4449
4551
  * Read one subagent
4450
4552
  */