@compozy/client 0.5.0 → 0.5.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.
- package/dist/cjs/generated/sdk/sdk.gen.js +85 -1
- package/dist/cjs/generated/sdk/sdk.gen.js.map +1 -1
- package/dist/cjs/generated/sse/sdk.gen.js +2 -2
- package/dist/cjs/version.js +1 -1
- package/dist/esm/generated/sdk/sdk.gen.js +85 -1
- package/dist/esm/generated/sdk/sdk.gen.js.map +1 -1
- package/dist/esm/generated/sse/sdk.gen.js +2 -2
- package/dist/esm/version.js +1 -1
- package/dist/types/generated/openapi/compozy-openapi.d.ts +1551 -355
- 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 +32 -2
- package/dist/types/generated/sdk/sdk.gen.d.ts.map +1 -1
- package/dist/types/generated/sdk/types.gen.d.ts +1047 -116
- 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/sdk.gen.d.ts +2 -2
- package/dist/types/generated/sse/types.gen.d.ts +47 -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
|
@@ -33,7 +33,7 @@ export class agents extends HeyApiClient {
|
|
|
33
33
|
});
|
|
34
34
|
}
|
|
35
35
|
/**
|
|
36
|
-
* Create
|
|
36
|
+
* Create an always-on agent instance
|
|
37
37
|
*/
|
|
38
38
|
createAgentInstance(options) {
|
|
39
39
|
return (options.client ?? this.client).post({
|
|
@@ -260,6 +260,20 @@ export class agents extends HeyApiClient {
|
|
|
260
260
|
},
|
|
261
261
|
});
|
|
262
262
|
}
|
|
263
|
+
/**
|
|
264
|
+
* Read activity for up to 100 agent and workspace selections in request order
|
|
265
|
+
*/
|
|
266
|
+
batchAgentActivity(options) {
|
|
267
|
+
return (options.client ?? this.client).post({
|
|
268
|
+
responseStyle: "data",
|
|
269
|
+
url: "/api/agents/activity",
|
|
270
|
+
...options,
|
|
271
|
+
headers: {
|
|
272
|
+
"Content-Type": "application/json",
|
|
273
|
+
...options.headers,
|
|
274
|
+
},
|
|
275
|
+
});
|
|
276
|
+
}
|
|
263
277
|
/**
|
|
264
278
|
* List a filtered agent fleet with exact session metrics
|
|
265
279
|
*/
|
|
@@ -414,6 +428,40 @@ export class agents extends HeyApiClient {
|
|
|
414
428
|
},
|
|
415
429
|
});
|
|
416
430
|
}
|
|
431
|
+
/**
|
|
432
|
+
* Revoke a source script approval (operator only)
|
|
433
|
+
*/
|
|
434
|
+
revokeAgentHeartbeatScript(options) {
|
|
435
|
+
return (options.client ?? this.client).delete({
|
|
436
|
+
responseStyle: "data",
|
|
437
|
+
url: "/api/agents/{name}/heartbeat/scripts/{script}/approve",
|
|
438
|
+
...options,
|
|
439
|
+
});
|
|
440
|
+
}
|
|
441
|
+
/**
|
|
442
|
+
* Approve exact source script bytes (operator only)
|
|
443
|
+
*/
|
|
444
|
+
approveAgentHeartbeatScript(options) {
|
|
445
|
+
return (options.client ?? this.client).post({
|
|
446
|
+
responseStyle: "data",
|
|
447
|
+
url: "/api/agents/{name}/heartbeat/scripts/{script}/approve",
|
|
448
|
+
...options,
|
|
449
|
+
headers: {
|
|
450
|
+
"Content-Type": "application/json",
|
|
451
|
+
...options.headers,
|
|
452
|
+
},
|
|
453
|
+
});
|
|
454
|
+
}
|
|
455
|
+
/**
|
|
456
|
+
* List check-in source kinds, scripts and effective limits
|
|
457
|
+
*/
|
|
458
|
+
getAgentHeartbeatSources(options) {
|
|
459
|
+
return (options.client ?? this.client).get({
|
|
460
|
+
responseStyle: "data",
|
|
461
|
+
url: "/api/agents/{name}/heartbeat/sources",
|
|
462
|
+
...options,
|
|
463
|
+
});
|
|
464
|
+
}
|
|
417
465
|
/**
|
|
418
466
|
* Read Heartbeat policy status, wake state, and optional session health
|
|
419
467
|
*/
|
|
@@ -1276,6 +1324,18 @@ export class cmdPalette extends HeyApiClient {
|
|
|
1276
1324
|
}
|
|
1277
1325
|
}
|
|
1278
1326
|
export class diagnostics extends HeyApiClient {
|
|
1327
|
+
/**
|
|
1328
|
+
* Capture a runtime profile over the local socket
|
|
1329
|
+
*
|
|
1330
|
+
* @stability experimental
|
|
1331
|
+
*/
|
|
1332
|
+
captureDaemonProfile(options) {
|
|
1333
|
+
return (options.client ?? this.client).get({
|
|
1334
|
+
responseStyle: "data",
|
|
1335
|
+
url: "/api/daemon/profile/{kind}",
|
|
1336
|
+
...options,
|
|
1337
|
+
});
|
|
1338
|
+
}
|
|
1279
1339
|
/**
|
|
1280
1340
|
* Run runtime diagnostics
|
|
1281
1341
|
*/
|
|
@@ -3835,6 +3895,16 @@ export class sessions extends HeyApiClient {
|
|
|
3835
3895
|
},
|
|
3836
3896
|
});
|
|
3837
3897
|
}
|
|
3898
|
+
/**
|
|
3899
|
+
* Mark a session's Needs you as seen until its next occurrence; a session waiting on an answer, a sign-in, or a stop is refused
|
|
3900
|
+
*/
|
|
3901
|
+
markSessionSeen(options) {
|
|
3902
|
+
return (options.client ?? this.client).post({
|
|
3903
|
+
responseStyle: "data",
|
|
3904
|
+
url: "/api/workspaces/{workspace_id}/sessions/{session_id}/mark-seen",
|
|
3905
|
+
...options,
|
|
3906
|
+
});
|
|
3907
|
+
}
|
|
3838
3908
|
/**
|
|
3839
3909
|
* List a session's monitors
|
|
3840
3910
|
*/
|
|
@@ -3869,6 +3939,20 @@ export class sessions extends HeyApiClient {
|
|
|
3869
3939
|
},
|
|
3870
3940
|
});
|
|
3871
3941
|
}
|
|
3942
|
+
/**
|
|
3943
|
+
* Copy a stopped user session into another profile and archive the original
|
|
3944
|
+
*/
|
|
3945
|
+
moveSessionToProfile(options) {
|
|
3946
|
+
return (options.client ?? this.client).post({
|
|
3947
|
+
responseStyle: "data",
|
|
3948
|
+
url: "/api/workspaces/{workspace_id}/sessions/{session_id}/move-to-profile",
|
|
3949
|
+
...options,
|
|
3950
|
+
headers: {
|
|
3951
|
+
"Content-Type": "application/json",
|
|
3952
|
+
...options.headers,
|
|
3953
|
+
},
|
|
3954
|
+
});
|
|
3955
|
+
}
|
|
3872
3956
|
/**
|
|
3873
3957
|
* Make an adopted child session top-level, or take over a stopped spawned worker
|
|
3874
3958
|
*/
|