@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
package/dist/cjs/version.js
CHANGED
|
@@ -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.
|
|
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
|
*/
|
|
@@ -5771,6 +5873,16 @@ export class workspaces extends HeyApiClient {
|
|
|
5771
5873
|
...options,
|
|
5772
5874
|
});
|
|
5773
5875
|
}
|
|
5876
|
+
/**
|
|
5877
|
+
* Stream project file bytes
|
|
5878
|
+
*/
|
|
5879
|
+
readFileBytes(options) {
|
|
5880
|
+
return (options.client ?? this.client).get({
|
|
5881
|
+
responseStyle: "data",
|
|
5882
|
+
url: "/api/workspaces/{workspace_id}/files/raw/{path}",
|
|
5883
|
+
...options,
|
|
5884
|
+
});
|
|
5885
|
+
}
|
|
5774
5886
|
/**
|
|
5775
5887
|
* Search project file contents
|
|
5776
5888
|
*/
|
|
@@ -5851,6 +5963,16 @@ export class workspaces extends HeyApiClient {
|
|
|
5851
5963
|
...options,
|
|
5852
5964
|
});
|
|
5853
5965
|
}
|
|
5966
|
+
/**
|
|
5967
|
+
* Stream session file bytes
|
|
5968
|
+
*/
|
|
5969
|
+
readSessionFileBytes(options) {
|
|
5970
|
+
return (options.client ?? this.client).get({
|
|
5971
|
+
responseStyle: "data",
|
|
5972
|
+
url: "/api/workspaces/{workspace_id}/sessions/{session_id}/files/raw/{path}",
|
|
5973
|
+
...options,
|
|
5974
|
+
});
|
|
5975
|
+
}
|
|
5854
5976
|
/**
|
|
5855
5977
|
* Search project file contents
|
|
5856
5978
|
*/
|
|
@@ -6191,6 +6313,30 @@ export class workspaces extends HeyApiClient {
|
|
|
6191
6313
|
},
|
|
6192
6314
|
});
|
|
6193
6315
|
}
|
|
6316
|
+
/**
|
|
6317
|
+
* Read window layout migration status
|
|
6318
|
+
*/
|
|
6319
|
+
getWindowManagerMigration(options) {
|
|
6320
|
+
return (options.client ?? this.client).get({
|
|
6321
|
+
responseStyle: "data",
|
|
6322
|
+
url: "/api/workspaces/{workspace_id}/window-manager/migration",
|
|
6323
|
+
...options,
|
|
6324
|
+
});
|
|
6325
|
+
}
|
|
6326
|
+
/**
|
|
6327
|
+
* Acknowledge or retry window layout migration
|
|
6328
|
+
*/
|
|
6329
|
+
updateWindowManagerMigration(options) {
|
|
6330
|
+
return (options.client ?? this.client).post({
|
|
6331
|
+
responseStyle: "data",
|
|
6332
|
+
url: "/api/workspaces/{workspace_id}/window-manager/migration",
|
|
6333
|
+
...options,
|
|
6334
|
+
headers: {
|
|
6335
|
+
"Content-Type": "application/json",
|
|
6336
|
+
...options.headers,
|
|
6337
|
+
},
|
|
6338
|
+
});
|
|
6339
|
+
}
|
|
6194
6340
|
/**
|
|
6195
6341
|
* Preview one semantic window-manager command
|
|
6196
6342
|
*/
|
|
@@ -6205,6 +6351,16 @@ export class workspaces extends HeyApiClient {
|
|
|
6205
6351
|
},
|
|
6206
6352
|
});
|
|
6207
6353
|
}
|
|
6354
|
+
/**
|
|
6355
|
+
* Stream worktree file bytes
|
|
6356
|
+
*/
|
|
6357
|
+
readWorktreeFileBytes(options) {
|
|
6358
|
+
return (options.client ?? this.client).get({
|
|
6359
|
+
responseStyle: "data",
|
|
6360
|
+
url: "/api/workspaces/{workspace_id}/worktrees/{worktree_id}/files/raw/{path}",
|
|
6361
|
+
...options,
|
|
6362
|
+
});
|
|
6363
|
+
}
|
|
6208
6364
|
}
|
|
6209
6365
|
export class tools extends HeyApiClient {
|
|
6210
6366
|
/**
|
|
@@ -6469,6 +6625,20 @@ export class worktrees extends HeyApiClient {
|
|
|
6469
6625
|
},
|
|
6470
6626
|
});
|
|
6471
6627
|
}
|
|
6628
|
+
/**
|
|
6629
|
+
* Remove multiple worktrees or preview per-target removal risk
|
|
6630
|
+
*/
|
|
6631
|
+
removeWorktrees(options) {
|
|
6632
|
+
return (options.client ?? this.client).post({
|
|
6633
|
+
responseStyle: "data",
|
|
6634
|
+
url: "/api/workspaces/{workspace_id}/worktrees/remove",
|
|
6635
|
+
...options,
|
|
6636
|
+
headers: {
|
|
6637
|
+
"Content-Type": "application/json",
|
|
6638
|
+
...options.headers,
|
|
6639
|
+
},
|
|
6640
|
+
});
|
|
6641
|
+
}
|
|
6472
6642
|
/**
|
|
6473
6643
|
* Remove a worktree
|
|
6474
6644
|
*/
|