@compozy/client 0.7.0 → 0.7.2

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.
@@ -2792,6 +2792,30 @@ class settings extends HeyApiClient {
2792
2792
  },
2793
2793
  });
2794
2794
  }
2795
+ /**
2796
+ * Revoke workspace MCP consent
2797
+ */
2798
+ deleteSettingsMCPApproval(options) {
2799
+ return (options.client ?? this.client).delete({
2800
+ responseStyle: "data",
2801
+ url: "/api/settings/mcp-servers/{name}/approval",
2802
+ ...options,
2803
+ });
2804
+ }
2805
+ /**
2806
+ * Approve an exact workspace MCP definition
2807
+ */
2808
+ putSettingsMCPApproval(options) {
2809
+ return (options.client ?? this.client).put({
2810
+ responseStyle: "data",
2811
+ url: "/api/settings/mcp-servers/{name}/approval",
2812
+ ...options,
2813
+ headers: {
2814
+ "Content-Type": "application/json",
2815
+ ...options.headers,
2816
+ },
2817
+ });
2818
+ }
2795
2819
  /**
2796
2820
  * Begin daemon-mediated OAuth for one MCP server
2797
2821
  */
@@ -3004,6 +3028,30 @@ class settings extends HeyApiClient {
3004
3028
  },
3005
3029
  });
3006
3030
  }
3031
+ /**
3032
+ * List runtime MCP servers from native configuration files
3033
+ */
3034
+ listRuntimeMCPServers(options) {
3035
+ return (options?.client ?? this.client).get({
3036
+ responseStyle: "data",
3037
+ url: "/api/settings/runtime-mcp-servers",
3038
+ ...options,
3039
+ });
3040
+ }
3041
+ /**
3042
+ * Copy a runtime MCP server into CompozyOS
3043
+ */
3044
+ importRuntimeMCPServer(options) {
3045
+ return (options.client ?? this.client).post({
3046
+ responseStyle: "data",
3047
+ url: "/api/settings/runtime-mcp-servers/{runtime}/{name}/import",
3048
+ ...options,
3049
+ headers: {
3050
+ "Content-Type": "application/json",
3051
+ ...options.headers,
3052
+ },
3053
+ });
3054
+ }
3007
3055
  /**
3008
3056
  * Read the operator shell settings section
3009
3057
  */
@@ -3472,6 +3520,40 @@ class sessions extends HeyApiClient {
3472
3520
  ...options,
3473
3521
  });
3474
3522
  }
3523
+ /**
3524
+ * Get the selected profile's running or most recent archived-history cleanup
3525
+ */
3526
+ getSessionHistoryCleanup(options) {
3527
+ return (options?.client ?? this.client).get({
3528
+ responseStyle: "data",
3529
+ url: "/api/sessions/history-cleanup",
3530
+ ...options,
3531
+ });
3532
+ }
3533
+ /**
3534
+ * Preview (dry_run) or start the background deletion of archived sessions archived before a cutoff: whole threads, or only their child sessions or subagents
3535
+ */
3536
+ planSessionHistoryCleanup(options) {
3537
+ return (options.client ?? this.client).post({
3538
+ responseStyle: "data",
3539
+ url: "/api/sessions/history-cleanup",
3540
+ ...options,
3541
+ headers: {
3542
+ "Content-Type": "application/json",
3543
+ ...options.headers,
3544
+ },
3545
+ });
3546
+ }
3547
+ /**
3548
+ * Stop the selected profile's running cleanup; sessions already deleted stay deleted
3549
+ */
3550
+ stopSessionHistoryCleanup(options) {
3551
+ return (options?.client ?? this.client).post({
3552
+ responseStyle: "data",
3553
+ url: "/api/sessions/history-cleanup/stop",
3554
+ ...options,
3555
+ });
3556
+ }
3475
3557
  /**
3476
3558
  * Get one session snapshot by id
3477
3559
  */
@@ -4009,6 +4091,16 @@ class sessions extends HeyApiClient {
4009
4091
  ...options,
4010
4092
  });
4011
4093
  }
4094
+ /**
4095
+ * Read session MCP availability without discovery
4096
+ */
4097
+ getSessionMCP(options) {
4098
+ return (options.client ?? this.client).get({
4099
+ responseStyle: "data",
4100
+ url: "/api/workspaces/{workspace_id}/sessions/{session_id}/mcp",
4101
+ ...options,
4102
+ });
4103
+ }
4012
4104
  /**
4013
4105
  * List a session's monitors
4014
4106
  */
@@ -4467,6 +4559,16 @@ class sessions extends HeyApiClient {
4467
4559
  },
4468
4560
  });
4469
4561
  }
4562
+ /**
4563
+ * Delete a delegated subagent and its child session
4564
+ */
4565
+ deleteSubagent(options) {
4566
+ return (options.client ?? this.client).delete({
4567
+ responseStyle: "data",
4568
+ url: "/api/workspaces/{workspace_id}/subagents/{subagent_id}",
4569
+ ...options,
4570
+ });
4571
+ }
4470
4572
  /**
4471
4573
  * Read one subagent
4472
4574
  */