@nylorun/cli 0.15.1-beta → 0.16.0-beta
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/CHANGELOG.md +30 -0
- package/README.md +14 -22
- package/dist/cli.js +3 -3
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,35 @@
|
|
|
1
1
|
# @nylorun/cli
|
|
2
2
|
|
|
3
|
+
## 0.16.0-beta
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- a4c431a: **One command, `nylorun`, grouped by the API each command uses.** `nylo` became part of `nylorun`, and the commands that are not the installation's lifecycle moved into groups: `environments` (the Runtime API, an application key), `tenant` (the Management API, a management key) and `local` (Docker and kubectl on this machine). See MIGRATION.md.
|
|
8
|
+
|
|
9
|
+
- **`nylorun`:** `up`, `down`, `start`, `stop`, `status`, `studio` and `doctor` stay at the top. `tenant reset|keys|signing-keys|models set|mcp inspect`; `environments list|delete`; `local ls|delete|logs|reset|sandbox|telemetry`; `doctor sandbox`. The old spellings (`nylorun logs`, `reset`, `key`, `mcp`, `sandbox`, `configure`, …) exit 2 naming their replacement.
|
|
10
|
+
- **Remote installations:** without `--tenant`, `NYLORUN_RUNTIME_URL` with `NYLORUN_MANAGEMENT_KEY` points `status`, `doctor sandbox` and `tenant` at a remote installation, and with `NYLORUN_SERVER_KEY` points `environments` there. `tenant keys` then manages application keys through the Management API; `tenant mcp inspect` and `environments` no longer need a local Tenant.
|
|
11
|
+
- **`nylo`:** for one release, each command exits 2 naming the `nylorun` command that replaced it. `nylo env` has no replacement: the SDKs read the Project link themselves.
|
|
12
|
+
- **`@nylorun/cli`:** its `nylo` still runs nylorun's, which now names the replacement.
|
|
13
|
+
- **`@nylorun/runtime`:** messages that named `nylo configure`, `nylorun sandbox enable|status` or `nylorun key put` name `nylorun tenant models set`, `nylorun local sandbox enable|status` and `nylorun tenant keys put`.
|
|
14
|
+
|
|
15
|
+
### Patch Changes
|
|
16
|
+
|
|
17
|
+
- Pin nylorun to the tested release.
|
|
18
|
+
- Updated dependencies [bf8ec79]
|
|
19
|
+
- Updated dependencies [104f24f]
|
|
20
|
+
- Updated dependencies [c96b9a8]
|
|
21
|
+
- Updated dependencies [94bf329]
|
|
22
|
+
- Updated dependencies [a4c431a]
|
|
23
|
+
- Updated dependencies [f44c018]
|
|
24
|
+
- Updated dependencies [bc22487]
|
|
25
|
+
- Updated dependencies [f0d4817]
|
|
26
|
+
- Updated dependencies
|
|
27
|
+
- Updated dependencies
|
|
28
|
+
- Updated dependencies
|
|
29
|
+
- Updated dependencies
|
|
30
|
+
- Updated dependencies
|
|
31
|
+
- nylorun@0.15.0-beta
|
|
32
|
+
|
|
3
33
|
## 0.15.1-beta
|
|
4
34
|
|
|
5
35
|
### Patch Changes
|
package/README.md
CHANGED
|
@@ -1,26 +1,18 @@
|
|
|
1
1
|
# @nylorun/cli (deprecated)
|
|
2
2
|
|
|
3
|
-
`nylo`, the Runtime client,
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
code. stdout is `nylo`'s alone, so `eval` still works:
|
|
3
|
+
`nylo`, the Runtime client, became part of [`nylorun`](../nylorun/README.md):
|
|
4
|
+
its commands are `nylorun` commands now. This package is kept for one more
|
|
5
|
+
release: its `nylo` prints one line on stderr, then runs nylorun's `nylo`, which
|
|
6
|
+
names the `nylorun` command that replaced each of its own and exits 2.
|
|
8
7
|
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
8
|
+
| `nylo` | `nylorun` |
|
|
9
|
+
| --- | --- |
|
|
10
|
+
| `nylo status` | `npx nylorun status` |
|
|
11
|
+
| `nylo reset [--sessions\|--environments\|--all]` | `npx nylorun tenant reset …` |
|
|
12
|
+
| `nylo access signing-keys …` | `npx nylorun tenant signing-keys …` |
|
|
13
|
+
| `nylo configure` | `npx nylorun tenant models set` |
|
|
14
|
+
| `nylo doctor sandbox` | `npx nylorun doctor sandbox` |
|
|
15
|
+
| `nylo env` | none: the SDKs read the Project link themselves |
|
|
13
16
|
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
```sh
|
|
17
|
-
npx -p nylorun nylo status
|
|
18
|
-
eval "$(npx -p nylorun nylo env)"
|
|
19
|
-
```
|
|
20
|
-
|
|
21
|
-
or add `nylorun` as a devDependency and run `nylo` there (`npx nylo` in the
|
|
22
|
-
project; outside it, `npx nylo` looks for an unrelated npm package named
|
|
23
|
-
`nylo`). The commands, their output and their exit codes are the same:
|
|
24
|
-
[cli/nylorun/README.md](../nylorun/README.md#the-runtime-client-nylo) documents
|
|
25
|
-
them. This package depends on `nylorun` only, at the version released with it,
|
|
26
|
-
and a later release removes it. See [MIGRATION.md](../../guides/MIGRATION.md).
|
|
17
|
+
This package depends on `nylorun` only, at the version released with it, and a
|
|
18
|
+
later release removes it. See [MIGRATION.md](../../guides/MIGRATION.md).
|
package/dist/cli.js
CHANGED
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
import { createRequire } from "node:module";
|
|
3
3
|
import { dirname, join } from "node:path";
|
|
4
4
|
import { pathToFileURL } from "node:url";
|
|
5
|
-
// @nylorun/cli is deprecated: `nylo`
|
|
6
|
-
// arguments, after one line on stderr
|
|
7
|
-
process.stderr.write("@nylorun/cli is deprecated: nylo
|
|
5
|
+
// @nylorun/cli is deprecated: `nylo` is part of nylorun. This runs nylorun's `nylo` with the same
|
|
6
|
+
// arguments, after one line on stderr; it names the nylorun command that replaced each of its own.
|
|
7
|
+
process.stderr.write("@nylorun/cli is deprecated: nylo is part of nylorun. Run npx nylorun --help.\n");
|
|
8
8
|
const require = createRequire(import.meta.url);
|
|
9
9
|
const manifest = require.resolve("nylorun/package.json");
|
|
10
10
|
const { bin } = require(manifest);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nylorun/cli",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.16.0-beta",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"description": "Deprecated: nylo ships in the nylorun package. This package runs nylorun's nylo for one more release.",
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"prepack": "npm run build"
|
|
31
31
|
},
|
|
32
32
|
"dependencies": {
|
|
33
|
-
"nylorun": "0.
|
|
33
|
+
"nylorun": "0.15.0-beta"
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {
|
|
36
36
|
"typescript": "npm:@typescript/typescript6@^6.0.2",
|