@ornncompute/cli 0.2.0 → 0.2.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/package.json
CHANGED
|
@@ -64,16 +64,22 @@ export const listNodesCapability = defineCapability({
|
|
|
64
64
|
id: "nodes.list",
|
|
65
65
|
domain: "fleet",
|
|
66
66
|
roles: ["user", "reviewer", "admin"],
|
|
67
|
-
description: "List nodes. Users see their own reserved machines. Reviewers and admins see enrolled, ghost, and off-grid nodes. Optional email lists nodes for that user's organizations. Optional operator_id, facility_id, and status (ghost, off-grid, bare-metal). Never invent nodes. Never print private keys.",
|
|
67
|
+
description: "List nodes. Users see their own reserved machines. Reviewers and admins see enrolled, ghost, and off-grid nodes. Call with no filters for the whole fleet. Optional email lists nodes for that user's organizations. Optional operator_id, facility_id, and status (ghost, off-grid, bare-metal) narrow the same list. Never invent nodes. Never print private keys.",
|
|
68
68
|
mutation: "read",
|
|
69
69
|
http: { method: "GET", path: "/internal/nodes" },
|
|
70
70
|
slack: {
|
|
71
71
|
parameters: {
|
|
72
72
|
type: "object",
|
|
73
73
|
properties: {
|
|
74
|
-
operator_id: {
|
|
75
|
-
|
|
76
|
-
|
|
74
|
+
operator_id: {
|
|
75
|
+
type: "string",
|
|
76
|
+
description: "Optional commerce operator UUID from operator.list.",
|
|
77
|
+
},
|
|
78
|
+
facility_id: {
|
|
79
|
+
type: "string",
|
|
80
|
+
description: "Optional commerce facility UUID from facilities.list.",
|
|
81
|
+
},
|
|
82
|
+
email: { type: "string", description: "Optional. List nodes for this user's organizations." },
|
|
77
83
|
status: {
|
|
78
84
|
type: "string",
|
|
79
85
|
enum: ["ghost", "off-grid", "bare-metal"],
|