@nylorun/cli 0.16.3-beta → 0.17.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 CHANGED
@@ -1,5 +1,29 @@
1
1
  # @nylorun/cli
2
2
 
3
+ ## 0.17.0-beta
4
+
5
+ ### Minor Changes
6
+
7
+ - 4d708e0: `@nylorun/cli` is nylorun under another name, no longer deprecated: its one command is `nylorun`, which runs nylorun's `nylorun` with the same arguments, so `npx @nylorun/cli <command>` is `npx nylorun <command>`. It prints no deprecation line, and nylorun 0.19 does not remove it. Its `nylo` is gone (it only named the `nylorun` command that replaced each of its own); nylorun's `nylo` stays until 0.19. Install one of the two packages globally, not both: each provides `nylorun`.
8
+
9
+ ## 0.16.4-beta
10
+
11
+ ### Patch Changes
12
+
13
+ - ed08ba8: `nylo` and the deprecated `@nylorun/cli` name the release that removes them, nylorun 0.19, where they said "one release": `nylo`'s message ends "nylorun 0.19 removes nylo.", and `@nylorun/cli`'s stderr line, description and README say nylorun 0.19 removes both.
14
+ - Pin nylorun to the tested release.
15
+ - Updated dependencies [ed08ba8]
16
+ - Updated dependencies [ed08ba8]
17
+ - Updated dependencies [ed08ba8]
18
+ - Updated dependencies [ed08ba8]
19
+ - Updated dependencies [eeb6294]
20
+ - Updated dependencies
21
+ - Updated dependencies
22
+ - Updated dependencies
23
+ - Updated dependencies
24
+ - Updated dependencies
25
+ - nylorun@0.18.0-beta
26
+
3
27
  ## 0.16.3-beta
4
28
 
5
29
  ### Patch Changes
package/README.md CHANGED
@@ -1,18 +1,21 @@
1
- # @nylorun/cli (deprecated)
1
+ # @nylorun/cli
2
2
 
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.
3
+ `@nylorun/cli` is [`nylorun`](../nylorun/README.md) under another name. Its one
4
+ command, `nylorun`, runs nylorun's `nylorun` with the same arguments, so either
5
+ package name works:
7
6
 
8
- | `nylo` | `nylorun` |
9
- | --- | --- |
10
- | `nylo status` | `npx nylorun status` |
11
- | `nylo reset [--sessions\|--environments\|--all]` | `npx nylorun tenant reset [--sessions\|--agents\|--all]` |
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 |
7
+ ```sh
8
+ npx @nylorun/cli status # the same as npx nylorun status
9
+ npx @nylorun/cli --help # nylorun's help
10
+ ```
16
11
 
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).
12
+ This package depends on `nylorun` only, at the version released with it, so both
13
+ names run the same code. Prefer `nylorun` in new projects and docs.
14
+
15
+ Install one of them globally, not both: each provides the `nylorun` command, and
16
+ npm refuses the second global install (`EEXIST`). In a project, having both is
17
+ harmless.
18
+
19
+ `nylo`, the former Runtime client, is nylorun's: it names the `nylorun` command
20
+ that replaced each of its own and exits 2, and nylorun 0.19 removes it. See
21
+ [MIGRATION.md](../../guides/MIGRATION.md).
package/dist/cli.js CHANGED
@@ -2,10 +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` 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");
5
+ // @nylorun/cli is nylorun under another name: this runs nylorun's `nylorun` command with the
6
+ // same arguments, so `npx @nylorun/cli <command>` is `npx nylorun <command>`.
8
7
  const require = createRequire(import.meta.url);
9
8
  const manifest = require.resolve("nylorun/package.json");
10
9
  const { bin } = require(manifest);
11
- await import(pathToFileURL(join(dirname(manifest), bin.nylo)).href);
10
+ await import(pathToFileURL(join(dirname(manifest), bin.nylorun)).href);
package/package.json CHANGED
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "name": "@nylorun/cli",
3
- "version": "0.16.3-beta",
3
+ "version": "0.17.0-beta",
4
4
  "type": "module",
5
5
  "license": "Apache-2.0",
6
- "description": "Deprecated: nylo ships in the nylorun package. This package runs nylorun's nylo for one more release.",
6
+ "description": "nylorun under another name: npx @nylorun/cli <command> runs npx nylorun <command>.",
7
7
  "repository": {
8
8
  "type": "git",
9
9
  "url": "git+https://github.com/nylorun/agents.git",
@@ -30,7 +30,7 @@
30
30
  "prepack": "npm run build"
31
31
  },
32
32
  "dependencies": {
33
- "nylorun": "0.17.0-beta"
33
+ "nylorun": "0.18.0-beta"
34
34
  },
35
35
  "devDependencies": {
36
36
  "typescript": "npm:@typescript/typescript6@^6.0.2",
@@ -38,6 +38,6 @@
38
38
  "vitest": "^5.0.4"
39
39
  },
40
40
  "bin": {
41
- "nylo": "dist/cli.js"
41
+ "nylorun": "dist/cli.js"
42
42
  }
43
43
  }