@ornncompute/cli 1.0.413 → 1.0.415

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ornncompute/cli",
3
- "version": "1.0.413",
3
+ "version": "1.0.415",
4
4
  "description": "Command-line interface for Ornn compute access workflows.",
5
5
  "type": "module",
6
6
  "bin": {
@@ -449,6 +449,9 @@ function stopExternalVm(request, id) {
449
449
  });
450
450
  }
451
451
 
452
+ // ../../packages/api-client/dist/orchestrator/enrollment-configuration.js
453
+ var MAX_ENROLLMENT_HOSTS = 100;
454
+
452
455
  // ../../packages/api-client/dist/orchestrator/enrollment.js
453
456
  var enrollmentTokensPath = "/v1/orchestrator/enrollment-tokens";
454
457
  function listEnrollmentTokens(request, query = {}) {
@@ -906,6 +909,25 @@ function runRemote(request, body) {
906
909
  return request(remoteRunPath, { method: "POST", body });
907
910
  }
908
911
 
912
+ // ../../packages/api-client/dist/orchestrator/enrollment-assistant.js
913
+ var root2 = "/v1/orchestrator/enrollment/configurable";
914
+ function getEnrollmentAssistantPrompt(request, signal) {
915
+ return request(`${root2}/assistant-prompt`, { method: "GET", signal });
916
+ }
917
+ function executeEnrollmentHostCommand(request, id, body, signal) {
918
+ return request(`${root2}/hosts/${encodeURIComponent(id)}/execute`, {
919
+ method: "POST",
920
+ body,
921
+ signal
922
+ });
923
+ }
924
+ function getEnrollmentHostEvidence(request, id, signal) {
925
+ return request(`${root2}/hosts/${encodeURIComponent(id)}/evidence`, {
926
+ method: "GET",
927
+ signal
928
+ });
929
+ }
930
+
909
931
  // ../../packages/api-client/dist/orchestrator/reservation-node-rollout.js
910
932
  function listReservationNodeRollout(request, reservationId, query = {}, signal) {
911
933
  const params = new URLSearchParams();
@@ -1244,6 +1266,7 @@ function updateEnrolledNodeTags(request, body) {
1244
1266
  });
1245
1267
  }
1246
1268
  export {
1269
+ MAX_ENROLLMENT_HOSTS,
1247
1270
  actOnEnrollmentHost,
1248
1271
  activateAgentRelease,
1249
1272
  addControllerNode,
@@ -1303,6 +1326,7 @@ export {
1303
1326
  enrollmentHostEventsPath,
1304
1327
  enrollmentInstallPath,
1305
1328
  enrollmentTokensPath,
1329
+ executeEnrollmentHostCommand,
1306
1330
  fakeEnroll,
1307
1331
  forceAgentUpdates,
1308
1332
  geolocate,
@@ -1313,7 +1337,9 @@ export {
1313
1337
  getDisk,
1314
1338
  getDrive,
1315
1339
  getEnrollmentAdminSshKey,
1340
+ getEnrollmentAssistantPrompt,
1316
1341
  getEnrollmentHost,
1342
+ getEnrollmentHostEvidence,
1317
1343
  getEnrollmentHosts,
1318
1344
  getEnrollmentProfileSource,
1319
1345
  getEnrollmentRun,