@nylorun/cli 0.16.4-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,11 @@
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
+
3
9
  ## 0.16.4-beta
4
10
 
5
11
  ### Patch Changes
package/README.md CHANGED
@@ -1,19 +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 until nylorun
5
- 0.19, which removes it and nylorun's `nylo`: its `nylo` prints one line on
6
- stderr, then runs nylorun's `nylo`, which names the `nylorun` command that
7
- 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:
8
6
 
9
- | `nylo` | `nylorun` |
10
- | --- | --- |
11
- | `nylo status` | `npx nylorun status` |
12
- | `nylo reset [--sessions\|--environments\|--all]` | `npx nylorun tenant reset [--sessions\|--agents\|--all]` |
13
- | `nylo access signing-keys …` | `npx nylorun tenant signing-keys …` |
14
- | `nylo configure` | `npx nylorun tenant models set` |
15
- | `nylo doctor sandbox` | `npx nylorun doctor sandbox` |
16
- | `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
+ ```
17
11
 
18
- This package depends on `nylorun` only, at the version released with it. See
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
19
21
  [MIGRATION.md](../../guides/MIGRATION.md).
package/dist/cli.js CHANGED
@@ -2,11 +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
- // nylorun 0.19 removes `nylo`, and this package with it.
8
- process.stderr.write("@nylorun/cli is deprecated: nylo is part of nylorun, and nylorun 0.19 removes both. 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>`.
9
7
  const require = createRequire(import.meta.url);
10
8
  const manifest = require.resolve("nylorun/package.json");
11
9
  const { bin } = require(manifest);
12
- 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.4-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 until nylorun 0.19, which removes both.",
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",
@@ -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
  }