nylorun 0.2.0-beta → 0.2.1-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 +10 -0
- package/dist/stack/commands.d.ts +1 -1
- package/dist/stack/commands.js +1 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,15 @@
|
|
|
1
1
|
# nylorun
|
|
2
2
|
|
|
3
|
+
## 0.2.1-beta
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- db956bc: Studio creates Tenants. While the Host has none, Studio asks for a name and creates the first one. A Tenant with no agents shows **Connect your code**: its model provider, the `npx @nylorun/cli tenant use <id>` command, and `npm run dev`. It switches to the agent list when the first agent registers.
|
|
8
|
+
|
|
9
|
+
Every Tenant Studio creates registers the derived principal `project` (`PROJECT_PRINCIPAL_ID` in `@nylorun/admin`). `nylo tenant use` now falls back to that key, derived from the local admin key, so a Project links a Studio-created Tenant with no stored key. When it replaces a one-time application key, it keeps that key as `.nylorun/credentials.<tenantId>.json`, and `nylo tenant use <that id>` switches back. `nylorun up` again offers Studio for creating the first Tenant.
|
|
10
|
+
|
|
11
|
+
- Pin studio to the tested release.
|
|
12
|
+
|
|
3
13
|
## 0.2.0-beta
|
|
4
14
|
|
|
5
15
|
### Minor Changes
|
package/dist/stack/commands.d.ts
CHANGED
|
@@ -44,7 +44,7 @@ export declare function parseStackFlags(args: readonly string[], allowed: {
|
|
|
44
44
|
/** Printed by `start` when it does not open Studio itself. */
|
|
45
45
|
export declare const STUDIO_SIGN_IN_HINT = "To sign a browser in to Studio, run \"npx nylorun studio\".";
|
|
46
46
|
/** Printed by `start` while the Host has no Tenant: nylorun never creates one. */
|
|
47
|
-
export declare const TENANT_HINT = "No Tenant yet.
|
|
47
|
+
export declare const TENANT_HINT = "No Tenant yet. Create one in Studio, or run `npx @nylorun/cli tenant create` in your project.";
|
|
48
48
|
export interface StackStatus {
|
|
49
49
|
project: string;
|
|
50
50
|
home: string;
|
package/dist/stack/commands.js
CHANGED
|
@@ -203,7 +203,7 @@ async function openLogin(ctx, login) {
|
|
|
203
203
|
ctx.deps.out(`Sign in ${login}`);
|
|
204
204
|
}
|
|
205
205
|
/** Printed by `start` while the Host has no Tenant: nylorun never creates one. */
|
|
206
|
-
export const TENANT_HINT = "No Tenant yet.
|
|
206
|
+
export const TENANT_HINT = "No Tenant yet. Create one in Studio, or run `npx @nylorun/cli tenant create` in your project.";
|
|
207
207
|
async function start(ctx, args) {
|
|
208
208
|
const usage = "nylorun start [--no-studio] [--no-open]";
|
|
209
209
|
const flags = parseStackFlags(args, { booleans: ["--no-studio", "--no-open"] }, usage);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "nylorun",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.1-beta",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"description": "Set up and run the local Nylorun stack (Runtime and Studio) with Docker Compose",
|
|
@@ -42,6 +42,6 @@
|
|
|
42
42
|
},
|
|
43
43
|
"nylorun": {
|
|
44
44
|
"runtime": "0.13.0-beta",
|
|
45
|
-
"studio": "0.
|
|
45
|
+
"studio": "0.13.0-beta"
|
|
46
46
|
}
|
|
47
47
|
}
|