@ornncompute/cli 1.0.246 → 1.0.247
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
|
@@ -768,7 +768,7 @@ function supplierCommand(spec) {
|
|
|
768
768
|
description: spec.description,
|
|
769
769
|
mutation: spec.write ? "immediate" : "read",
|
|
770
770
|
input: spec.input,
|
|
771
|
-
mcp: false,
|
|
771
|
+
mcp: spec.mcp ? {} : false,
|
|
772
772
|
cli: {
|
|
773
773
|
command: ["admin", "suppliers", ...spec.command],
|
|
774
774
|
vnext: {
|
|
@@ -829,6 +829,7 @@ var supplierNetworkingCapabilities = [
|
|
|
829
829
|
id: "supplier-gateway.register",
|
|
830
830
|
command: ["gateways", "register"],
|
|
831
831
|
write: true,
|
|
832
|
+
mcp: true,
|
|
832
833
|
input: z3.strictObject({
|
|
833
834
|
organization_id: uuid,
|
|
834
835
|
name,
|
|
@@ -836,7 +837,7 @@ var supplierNetworkingCapabilities = [
|
|
|
836
837
|
ssh_port: z3.number().int().min(1).max(65535).default(22),
|
|
837
838
|
ssh_username: z3.string().trim().min(1).max(32).default("admin")
|
|
838
839
|
}),
|
|
839
|
-
description: "Register an existing Supplier Jump Host and its connection config for enrollment.
|
|
840
|
+
description: "Register an existing Supplier Jump Host and its connection config for enrollment. Use the returned gateway ID to look up the enrollment connection. If a response is lost, inspect saved connections by supplier before retrying.",
|
|
840
841
|
usage: "--supplier UUID --name NAME --address IP_OR_HOSTNAME [--ssh-port PORT] [--ssh-username USER]",
|
|
841
842
|
related: [
|
|
842
843
|
"admin suppliers connections list",
|