@ornncompute/cli 1.0.182 → 1.0.184
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/README.md +13 -3
- package/package.json +1 -1
- package/src/slurm-commands.mjs +9 -0
package/README.md
CHANGED
|
@@ -87,6 +87,10 @@ and SSH remain here. VM readiness comes from the guest resource, separately from
|
|
|
87
87
|
physical-host readiness. Bare Metal uses the node's SSH endpoint and waits
|
|
88
88
|
when the service reports that the endpoint is unavailable. See [machine behavior](../../docs/cli.md#customer-workflows).
|
|
89
89
|
|
|
90
|
+
Directory-enabled Slurm access requires `ornn connect <cluster-id> --user <directory-username>`
|
|
91
|
+
and the matching personal SSH key (`--identity-file` if needed). Clusters without
|
|
92
|
+
a directory connection keep their existing login behavior.
|
|
93
|
+
|
|
90
94
|
Advanced customer resources are registered under one noun and one verb:
|
|
91
95
|
|
|
92
96
|
```text
|
|
@@ -402,9 +406,9 @@ fixtures, staff roots, and owner-route spellings are not shipped.
|
|
|
402
406
|
|
|
403
407
|
`0.2.10` is the configured final legacy release (`legacyVersion`, dated
|
|
404
408
|
`2026-09-04T00:00:00Z`). The configured vNext artifact is `@ornncompute/cli`
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
remains `1.0.0`. Publication is allowed as soon as release validation and
|
|
409
|
+
on npm's promoted `latest` version. The compatibility baseline is recorded in
|
|
410
|
+
`packages/config/cli-release.json`; the binary and Node 20 minimum stay the same.
|
|
411
|
+
The `minimumVersion` for legacy tombstones remains `1.0.0`. Publication is allowed as soon as release validation and
|
|
408
412
|
approvals pass; npm `latest` selects the approved production release. The
|
|
409
413
|
legacy support schedule remains anchored to `2026-10-05T00:00:00Z`, after
|
|
410
414
|
the required 30-day migration-notice interval. That date does not block npm
|
|
@@ -438,6 +442,12 @@ process, clock, sleep, and cancellation dependencies. The packaged binary uses
|
|
|
438
442
|
the same seam. Capability code preserves existing MCP and Slack identities;
|
|
439
443
|
only canonical `cli.vnext` bindings are dispatchable by the CLI.
|
|
440
444
|
|
|
445
|
+
CLI releases retain Semantic Versioning. CLI-affecting merges to main publish
|
|
446
|
+
automatically in main push order, with one release per qualifying push. The **deploy cli pipeline** action also supports
|
|
447
|
+
manual runs. Leave `publish=false` to build and test without publishing.
|
|
448
|
+
An explicit higher version is preserved, including major and minor releases.
|
|
449
|
+
See the [release runbook](docs/packaged-vnext-release-gate.md).
|
|
450
|
+
|
|
441
451
|
### Packaged journey and release evidence
|
|
442
452
|
|
|
443
453
|
The permanent package gate vendors the capability catalog, creates one npm
|
package/package.json
CHANGED
package/src/slurm-commands.mjs
CHANGED
|
@@ -59,6 +59,15 @@ function safeLogin(runtime, credentials, input) {
|
|
|
59
59
|
});
|
|
60
60
|
}
|
|
61
61
|
const user = text(input.user) ?? text(credentials.login_user);
|
|
62
|
+
if (credentials.login_user_required === true && !user) {
|
|
63
|
+
runtime.usage(
|
|
64
|
+
"This cluster uses directory identities. Pass --user with your directory username.",
|
|
65
|
+
{
|
|
66
|
+
code: "slurm_directory_user_required",
|
|
67
|
+
field: "user",
|
|
68
|
+
}
|
|
69
|
+
);
|
|
70
|
+
}
|
|
62
71
|
if (user && !SAFE_USER.test(user)) {
|
|
63
72
|
runtime.usage("--user must be a valid SSH login name.", {
|
|
64
73
|
code: "invalid_ssh_user",
|