nylorun 0.12.1-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.
- package/CHANGELOG.md +36 -0
- package/README.md +105 -7
- package/dist/cli.js +13 -18
- package/dist/client/access/commands.d.ts +8 -0
- package/dist/client/access/commands.js +33 -0
- package/dist/client/cli.d.ts +2 -0
- package/dist/client/cli.js +106 -0
- package/dist/client/doctor.d.ts +25 -0
- package/dist/client/doctor.js +65 -0
- package/dist/client/installation/commands.d.ts +7 -0
- package/dist/client/installation/commands.js +80 -0
- package/dist/client/model/configure.d.ts +58 -0
- package/dist/client/model/configure.js +294 -0
- package/dist/client/model/host-model.d.ts +4 -0
- package/dist/client/model/host-model.js +13 -0
- package/dist/client/model/pi-ai.d.ts +26 -0
- package/dist/client/model/pi-ai.js +104 -0
- package/dist/client/project/connection.d.ts +36 -0
- package/dist/client/project/connection.js +80 -0
- package/dist/client/project/env.d.ts +3 -0
- package/dist/client/project/env.js +19 -0
- package/dist/command.d.ts +8 -0
- package/dist/command.js +23 -0
- package/dist/errors.d.ts +1 -1
- package/dist/errors.js +1 -1
- package/dist/nylo.d.ts +2 -0
- package/dist/nylo.js +9 -0
- package/dist/project/link.d.ts +2 -1
- package/dist/project/link.js +5 -2
- package/dist/stack/commands.js +1 -1
- package/package.json +10 -6
package/dist/project/link.js
CHANGED
|
@@ -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)
|
package/dist/stack/commands.js
CHANGED
|
@@ -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
|
|
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.
|
|
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.
|
|
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.
|
|
45
|
-
"studio": "0.23.
|
|
48
|
+
"runtime": "0.23.0-beta",
|
|
49
|
+
"studio": "0.23.3-beta"
|
|
46
50
|
}
|
|
47
51
|
}
|