nylorun 0.12.2-beta → 0.13.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.
@@ -49,14 +49,17 @@ export async function readProjectCredentials(projectRoot) {
49
49
  }
50
50
  /**
51
51
  * A credentials file (format 0 or 1): the Project's, or one the nylorun commands keep in the
52
- * Host root. Undefined when absent or unreadable, so `start` replaces it.
52
+ * Host root. Undefined when absent or unreadable, so `start` replaces it; a newer format is an
53
+ * error, as for the link, so this release never rewrites it in its own.
53
54
  */
54
55
  export async function readCredentialsFile(path) {
55
56
  let value;
56
57
  try {
57
58
  value = readCredentials(path);
58
59
  }
59
- catch {
60
+ catch (error) {
61
+ if (error instanceof ProjectFileError && error.reason === "newer")
62
+ throw new CliError(`Newer credentials at ${error.path}. Upgrade nylorun, or remove the file and run "npx nylorun start" again.`, 1);
60
63
  return undefined;
61
64
  }
62
65
  if (!value)
@@ -561,7 +561,7 @@ async function linkProject(ctx, started, tenantId) {
561
561
  deps.err(`Seeded the Tenant from .env: ${set.join(", ")}.`);
562
562
  }
563
563
  catch (error) {
564
- deps.err(`Warning: could not seed the Tenant from .env (${error instanceof Error ? error.message : String(error)}). Set the model in Studio or with "npx @nylorun/cli configure".`);
564
+ deps.err(`Warning: could not seed the Tenant from .env (${error instanceof Error ? error.message : String(error)}). Set the model in Studio or with "npx -p nylorun nylo configure".`);
565
565
  }
566
566
  }
567
567
  const START_USAGE = "nylorun start [--tenant <name>] [--no-link] [--no-studio] [--allow-downgrade] [--studio-embed-origin <origin>]... [--studio-embed-origin-reset] [--restate-ui]";
package/package.json CHANGED
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "name": "nylorun",
3
- "version": "0.12.2-beta",
3
+ "version": "0.13.0-beta",
4
4
  "type": "module",
5
5
  "license": "Apache-2.0",
6
- "description": "Set up and run local Nylorun Tenants (Runtime and Studio) with Docker Compose",
6
+ "description": "Set up and run local Nylorun Tenants (Runtime and Studio) with Docker Compose (nylorun), and the Runtime client of the linked installation (nylo)",
7
7
  "repository": {
8
8
  "type": "git",
9
9
  "url": "git+https://github.com/nylorun/agents.git",
@@ -30,18 +30,22 @@
30
30
  "prepack": "npm run build"
31
31
  },
32
32
  "dependencies": {
33
- "@nylorun/core": "0.19.0-beta"
33
+ "@nylorun/core": "0.19.0-beta",
34
+ "@nylorun/admin": "0.15.0-beta"
34
35
  },
35
36
  "devDependencies": {
37
+ "@earendil-works/pi-ai": "0.99.1",
38
+ "@nylorun/agents": "file:../agents",
36
39
  "typescript": "npm:@typescript/typescript6@^6.0.2",
37
40
  "@types/node": "^26.5.0",
38
41
  "vitest": "^5.0.2"
39
42
  },
40
43
  "bin": {
41
- "nylorun": "dist/cli.js"
44
+ "nylorun": "dist/cli.js",
45
+ "nylo": "dist/nylo.js"
42
46
  },
43
47
  "nylorun": {
44
- "runtime": "0.22.0-beta",
45
- "studio": "0.23.2-beta"
48
+ "runtime": "0.23.0-beta",
49
+ "studio": "0.23.3-beta"
46
50
  }
47
51
  }