@compozy/client 0.6.2 → 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.
- package/dist/cjs/generated/sdk/sdk.gen.js +170 -0
- package/dist/cjs/generated/sdk/sdk.gen.js.map +1 -1
- package/dist/cjs/version.js +1 -1
- package/dist/esm/generated/sdk/sdk.gen.js +170 -0
- package/dist/esm/generated/sdk/sdk.gen.js.map +1 -1
- package/dist/esm/version.js +1 -1
- package/dist/types/generated/openapi/compozy-openapi.d.ts +2041 -132
- package/dist/types/generated/sdk/index.d.ts +1 -1
- package/dist/types/generated/sdk/index.d.ts.map +1 -1
- package/dist/types/generated/sdk/sdk.gen.d.ts +61 -1
- package/dist/types/generated/sdk/sdk.gen.d.ts.map +1 -1
- package/dist/types/generated/sdk/types.gen.d.ts +1209 -49
- package/dist/types/generated/sdk/types.gen.d.ts.map +1 -1
- package/dist/types/generated/sse/index.d.ts +1 -1
- package/dist/types/generated/sse/index.d.ts.map +1 -1
- package/dist/types/generated/sse/types.gen.d.ts +9 -2
- package/dist/types/generated/sse/types.gen.d.ts.map +1 -1
- package/dist/types/version.d.ts +1 -1
- package/package.json +1 -1
|
@@ -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
|
*/
|
|
@@ -5800,6 +5902,16 @@ class workspaces extends HeyApiClient {
|
|
|
5800
5902
|
...options,
|
|
5801
5903
|
});
|
|
5802
5904
|
}
|
|
5905
|
+
/**
|
|
5906
|
+
* Stream project file bytes
|
|
5907
|
+
*/
|
|
5908
|
+
readFileBytes(options) {
|
|
5909
|
+
return (options.client ?? this.client).get({
|
|
5910
|
+
responseStyle: "data",
|
|
5911
|
+
url: "/api/workspaces/{workspace_id}/files/raw/{path}",
|
|
5912
|
+
...options,
|
|
5913
|
+
});
|
|
5914
|
+
}
|
|
5803
5915
|
/**
|
|
5804
5916
|
* Search project file contents
|
|
5805
5917
|
*/
|
|
@@ -5880,6 +5992,16 @@ class workspaces extends HeyApiClient {
|
|
|
5880
5992
|
...options,
|
|
5881
5993
|
});
|
|
5882
5994
|
}
|
|
5995
|
+
/**
|
|
5996
|
+
* Stream session file bytes
|
|
5997
|
+
*/
|
|
5998
|
+
readSessionFileBytes(options) {
|
|
5999
|
+
return (options.client ?? this.client).get({
|
|
6000
|
+
responseStyle: "data",
|
|
6001
|
+
url: "/api/workspaces/{workspace_id}/sessions/{session_id}/files/raw/{path}",
|
|
6002
|
+
...options,
|
|
6003
|
+
});
|
|
6004
|
+
}
|
|
5883
6005
|
/**
|
|
5884
6006
|
* Search project file contents
|
|
5885
6007
|
*/
|
|
@@ -6220,6 +6342,30 @@ class workspaces extends HeyApiClient {
|
|
|
6220
6342
|
},
|
|
6221
6343
|
});
|
|
6222
6344
|
}
|
|
6345
|
+
/**
|
|
6346
|
+
* Read window layout migration status
|
|
6347
|
+
*/
|
|
6348
|
+
getWindowManagerMigration(options) {
|
|
6349
|
+
return (options.client ?? this.client).get({
|
|
6350
|
+
responseStyle: "data",
|
|
6351
|
+
url: "/api/workspaces/{workspace_id}/window-manager/migration",
|
|
6352
|
+
...options,
|
|
6353
|
+
});
|
|
6354
|
+
}
|
|
6355
|
+
/**
|
|
6356
|
+
* Acknowledge or retry window layout migration
|
|
6357
|
+
*/
|
|
6358
|
+
updateWindowManagerMigration(options) {
|
|
6359
|
+
return (options.client ?? this.client).post({
|
|
6360
|
+
responseStyle: "data",
|
|
6361
|
+
url: "/api/workspaces/{workspace_id}/window-manager/migration",
|
|
6362
|
+
...options,
|
|
6363
|
+
headers: {
|
|
6364
|
+
"Content-Type": "application/json",
|
|
6365
|
+
...options.headers,
|
|
6366
|
+
},
|
|
6367
|
+
});
|
|
6368
|
+
}
|
|
6223
6369
|
/**
|
|
6224
6370
|
* Preview one semantic window-manager command
|
|
6225
6371
|
*/
|
|
@@ -6234,6 +6380,16 @@ class workspaces extends HeyApiClient {
|
|
|
6234
6380
|
},
|
|
6235
6381
|
});
|
|
6236
6382
|
}
|
|
6383
|
+
/**
|
|
6384
|
+
* Stream worktree file bytes
|
|
6385
|
+
*/
|
|
6386
|
+
readWorktreeFileBytes(options) {
|
|
6387
|
+
return (options.client ?? this.client).get({
|
|
6388
|
+
responseStyle: "data",
|
|
6389
|
+
url: "/api/workspaces/{workspace_id}/worktrees/{worktree_id}/files/raw/{path}",
|
|
6390
|
+
...options,
|
|
6391
|
+
});
|
|
6392
|
+
}
|
|
6237
6393
|
}
|
|
6238
6394
|
exports.workspaces = workspaces;
|
|
6239
6395
|
class tools extends HeyApiClient {
|
|
@@ -6502,6 +6658,20 @@ class worktrees extends HeyApiClient {
|
|
|
6502
6658
|
},
|
|
6503
6659
|
});
|
|
6504
6660
|
}
|
|
6661
|
+
/**
|
|
6662
|
+
* Remove multiple worktrees or preview per-target removal risk
|
|
6663
|
+
*/
|
|
6664
|
+
removeWorktrees(options) {
|
|
6665
|
+
return (options.client ?? this.client).post({
|
|
6666
|
+
responseStyle: "data",
|
|
6667
|
+
url: "/api/workspaces/{workspace_id}/worktrees/remove",
|
|
6668
|
+
...options,
|
|
6669
|
+
headers: {
|
|
6670
|
+
"Content-Type": "application/json",
|
|
6671
|
+
...options.headers,
|
|
6672
|
+
},
|
|
6673
|
+
});
|
|
6674
|
+
}
|
|
6505
6675
|
/**
|
|
6506
6676
|
* Remove a worktree
|
|
6507
6677
|
*/
|