@nylorun/create-agent 0.11.0-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 CHANGED
@@ -1,5 +1,40 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.13.0-beta
4
+
5
+ ### Minor Changes
6
+
7
+ - 4b9906f: **Breaking: "Tenant" replaces "stack", and `nylorun start` works anywhere.** Each local installation holds one Tenant, and its name is the Tenant's name, so help, output, errors and docs say Tenant. See MIGRATION.md.
8
+
9
+ - **Breaking (`nylorun`): selection.** Every command acts on the Tenant `--tenant <name>` names (replaces `--name`, which is removed), else `NYLORUN_TENANT` (replaces `NYLORUN_STACK`), else the Project link's `tenant`; `start` in a project names a new one after the project directory. Outside a project, or with `start --no-link`, commands act on the Tenant `default`. In a project without a link, commands other than `start` exit 2 and list the machine's Tenants. A name starting with `tn_` (a Tenant id) is refused.
10
+ - **Breaking (`nylorun`): files.** Host roots are under `~/.nylorun/tenants/<name>/` (was `~/.nylorun/stacks/<name>/`) with `tenant.json` (was `stack.json`); the `.env` key is `NYLORUN_TENANT_NAME` (was `NYLORUN_STACK_NAME`); `NYLORUN_COMPOSE_PROJECT` replaces `NYLORUN_STACK_PROJECT`. Compose projects stay `nylorun-<name>`. Every command first moves 0.4 Host roots from `~/.nylorun/stacks/` to `~/.nylorun/tenants/` (renaming `stack.json` and the `.env` key), so they keep their volumes and keys. `nylorun ls` lists only directories with `tenant.json`.
11
+ - **Breaking (`nylorun`): removed.** `nylorun legacy` and all handling of the single stack of releases before 0.4; the hidden `nylorun stack <cmd>` alias; `nylorun doctor stack|runtime`. Output says Tenant: `ls` prints `TENANT` and JSON `{ "tenants": [...] }`, `status` prints the Tenant id on its own line, and `doctor`'s row is `tenant`.
12
+ - **Breaking: Project link format 3.** `.nylorun/link.json` is `{ "format": 3, "tenant", "tenantId", "hostUrl", "hostId" }`; `tenant` replaces `stack`. `@nylorun/agents`, `@nylorun/cli` and `@nylorun/admin` refuse an older link and name `npx nylorun start`, which rewrites it. `@nylorun/core`'s `ProjectLinkFileSchema` parses formats 0–3 with `tenant`.
13
+ - **Breaking (`@nylorun/admin`):** `createAdmin({ tenant })` replaces `{ stack }`, `tenantHostRoot(name)` replaces `stackHostRoot(name)`, and local resolution reads `NYLORUN_TENANT` and the link's `tenant`.
14
+ - `@nylorun/cli`: `status` and `endpoints` drop the `stack` line and JSON key; messages say Tenant. `@nylorun/agents`: a Runtime too old for the client says "update the Runtime (npx nylorun@latest start)". `@nylorun/studio`: setup hints say Tenant. `@nylorun/create-agent`: the next steps describe `npx nylorun@beta start` as this project's Tenant and its link.
15
+
16
+ ### Patch Changes
17
+
18
+ - Update the tested Harness, SDK, Runtime, and CLI compatibility combination.
19
+
20
+ ## 0.12.0-beta
21
+
22
+ ### Minor Changes
23
+
24
+ - 5ca1923: **Clients for one Tenant per installation: a stack per project, nothing selects a Tenant.** Upgrade these with the Runtime; they speak protocol 5. Existing stacks are left as they are: see MIGRATION.md.
25
+
26
+ - **Breaking (`nylorun`): one stack per project.** `nylorun start` in a project creates the project's stack (named after the project directory, or `--name`; Host root `~/.nylorun/stacks/<name>/`, Compose project `nylorun-<name>`, its own free ports and volumes), waits for its Runtime to create the stack's Tenant, writes the Project link (`.nylorun/link.json` format 2: `stack`, `hostUrl`, `hostId`, `tenantId`) and `.nylorun/credentials.json` (the key of the derived principal `project`, derived from the stack's admin key), and seeds the model provider from the project's `.env`. `nylorun ls` lists the machine's stacks and `nylorun delete <name>` removes one with its volumes and Host root. `nylorun status` shows the stack's Tenant; `nylorun studio` opens it. The old single stack under `~/.nylorun` is never touched: `start` notes it, and `nylorun legacy stop|delete` handles it. Every stack command takes `--name <stack>` (or `NYLORUN_STACK`, or the Project link's stack); `start --no-link` starts a stack without linking the directory; `nylorun reset` resets the selected stack only. The runtime container's healthcheck is now `/health`, so a Tenant that cannot open is reported by `start` from the Admin status at once instead of after a 300 s wait. `NYLORUN_HOME` still overrides the Host root. Stacks start and stop only when you say so.
27
+ - **Breaking (`@nylorun/cli`): no Tenant commands.** `nylo tenant create|use|list|current|delete` are removed; `nylo status`, `nylo reset` and `nylo endpoints` replace `nylo tenant status|reset|endpoints` on the linked installation. `nylo env` prints `NYLORUN_RUNTIME_URL` and `NYLORUN_SERVER_KEY` only. `nylo` no longer writes Project links.
28
+ - **Breaking (`@nylorun/agents`): no Tenant to name.** The `tenant` option (`createClient`, `Transport`, `resolveConnection`, `createActionHandler({ runtime })`, `JwksCache`) and `NYLORUN_TENANT` are gone, and no request sends `Nylorun-Tenant`; a connection is a URL and a key. A Project link of format 0 or 1 is refused with `connection_missing`, naming `npx nylorun start`. `verifyDeliveryToken`'s `tenantId` is optional: without it any Tenant issuer is accepted, since the installation's keys bind it. `TENANT_HEADER` is no longer re-exported.
29
+ - **Breaking (`@nylorun/admin`): status only.** `createTenant`, `listTenants`, `getTenant` and `deleteTenant` are removed; `status().tenant` names the Host's Tenant, and `deriveTenantKey` / `deriveStudioToken` derive its keys. Local Host resolution reads the stack's Host root (`stack` option, `NYLORUN_STACK`, or the Project link's `stack`); `NYLORUN_HOME` and `home` still override it. `stackHostRoot(name)` is exported.
30
+ - **Breaking (`@nylorun/studio`): Studio serves its installation's Tenant.** The Tenant picker, list and create are gone, with `/_studio/tenants`; `/` opens `/tenants/<id>`. The `/tenants/:tenant` routes and the login token's `tenant` claim stay for embedders and must name that Tenant. The proxy sends no `Nylorun-Tenant`.
31
+ - **`@nylorun/create-agent`:** the next steps are `npx nylorun start`, then `npm run dev`.
32
+ - `@nylorun/core`: `ProjectLinkFileSchema` accepts format 2 with `stack`, and `tenantId` is optional; `ERROR_CODES` loses `tenant_conflict` and `active_work`.
33
+
34
+ ### Patch Changes
35
+
36
+ - Update the tested Harness, SDK, Runtime, and CLI compatibility combination.
37
+
3
38
  ## 0.11.0-beta
4
39
 
5
40
  ### Minor Changes
package/README.md CHANGED
@@ -4,7 +4,7 @@ Install the prerequisites first (the creator checks them and never installs
4
4
  them): Node 24 or newer, and Docker with Compose v2 ([Docker
5
5
  Desktop](https://docs.docker.com/get-started/get-docker/),
6
6
  [OrbStack](https://orbstack.dev) or [Colima](https://github.com/abiosoft/colima)).
7
- The local Runtime and Studio run as a Docker Compose stack that `nylorun`
7
+ The local Runtime and Studio run in Docker Compose, which `nylorun`
8
8
  manages. On Windows, work inside
9
9
  [WSL2](https://learn.microsoft.com/windows/wsl/install) with Docker Desktop's WSL
10
10
  integration; native Windows is not supported.
@@ -30,24 +30,25 @@ ignored: the creator starts nothing and opens no browser.
30
30
 
31
31
  ```sh
32
32
  cd my-agent
33
- npx nylorun@beta up # the local Runtime and Studio (Docker)
34
- npx @nylorun/cli@beta tenant create # this project's Tenant, linked in .nylorun/
35
- npm run dev # tsx watch src/main.ts
36
- npx nylorun studio # a fresh Studio login on this project's Tenant
33
+ npx nylorun@beta start # this project's Tenant (Docker) and the link in .nylorun/
34
+ npm run dev # tsx watch src/main.ts
35
+ npx nylorun studio # a fresh Studio login on this project's Tenant
37
36
  npm run build
38
37
  npm start
39
38
  ```
40
39
 
41
- `nylorun` sets up and runs the local stack; it never creates Tenants.
42
- `@nylorun/cli` (command `nylo`) is the Runtime client: `tenant create` creates
43
- the project's Tenant, writes the Project link and application credentials to
40
+ `nylorun start` in the project creates and starts the project's own local
41
+ Tenant (Runtime, Studio and their infrastructure in Docker, named after the
42
+ directory; `--tenant` picks or shares another). It writes the Project link and the derived application credentials to
44
43
  gitignored `.nylorun/`, and seeds the model provider from `.env`
45
44
  (`MODEL_PROVIDER`, `MODEL`, `MODEL_PROVIDER_API_KEY`) into the Tenant vault.
46
- Studio or `npx @nylorun/cli configure` sets or replaces the provider.
45
+ `@nylorun/cli` (command `nylo`) is the Runtime client: `nylo status`,
46
+ `nylo reset` and `nylo endpoints` work on the linked Tenant. Studio or
47
+ `npx @nylorun/cli configure` sets or replaces the provider.
47
48
  `npm start` runs `node dist/src/main.js` with the same entry as development.
48
49
  Export the Project environment (`eval "$(npx @nylorun/cli env)"`) before a
49
50
  production start when there is no Project link. Tenant data, including the
50
- vault, lives in the stack. Definitions have no model provider or
51
+ vault, lives in the Tenant's Docker volumes. Definitions have no model provider or
51
52
  `agent.run()`.
52
53
 
53
54
  `starter/` is the canonical template. `compatibility.json` pins core, harness,
@@ -62,10 +63,10 @@ remain outside that registry for later migration.
62
63
 
63
64
  `npm run test:starter` (`create-agent/scripts/smoke-starter.mjs`) packs the
64
65
  workspace, scaffolds the starter from the packed creator, installs `nylorun`
65
- and `@nylorun/cli` beside it (never into it), runs `nylorun up`, then
66
- `nylo tenant create` and `npm run dev` against a temporary local Docker stack,
67
- then runs one turn on a temporary fixture-model Tenant and checks that it is
68
- deleted.
66
+ and `@nylorun/cli` beside it (never into it), runs `nylorun start` in it and
67
+ `npm run dev` against a temporary local Tenant, then resets that Tenant,
68
+ seeds the fixture model and runs one turn that calls the starter's
69
+ tool.
69
70
 
70
71
  See [RELEASING](../RELEASING.md) for the Changesets beta workflow. Nothing is
71
72
  published by the smoke check.
@@ -1,8 +1,8 @@
1
1
  {
2
- "harness": "0.21.0-beta",
3
- "runtime": "0.14.0-beta",
4
- "agents": "0.10.0-beta",
5
- "admin": "0.6.0-beta",
6
- "core": "0.9.0-beta",
7
- "cli": "0.6.0-beta"
2
+ "harness": "0.21.2-beta",
3
+ "runtime": "0.15.1-beta",
4
+ "agents": "0.12.0-beta",
5
+ "admin": "0.8.0-beta",
6
+ "core": "0.11.0-beta",
7
+ "cli": "0.8.0-beta"
8
8
  }
@@ -3,5 +3,5 @@ export declare const usage = "Usage: npm create @nylorun/agent@beta <directory>
3
3
  /** Printed when `--no-open` is passed; the flag is accepted and ignored. */
4
4
  export declare const NO_OPEN_IGNORED = "--no-open is ignored: the creator no longer starts development, so it opens no browser.";
5
5
  /** Printed when `--no-studio` is passed; the flag is accepted and ignored. */
6
- export declare const NO_STUDIO_DEPRECATED = "--no-studio is deprecated and ignored: Studio runs in the local Docker stack, so generated projects no longer depend on @nylorun/studio. Use --no-open to keep the browser closed.";
6
+ export declare const NO_STUDIO_DEPRECATED = "--no-studio is deprecated and ignored: Studio runs in Docker with each local Tenant, so generated projects no longer depend on @nylorun/studio. Use --no-open to keep the browser closed.";
7
7
  export declare function parse(argv: readonly string[]): CreateOptions;
package/dist/arguments.js CHANGED
@@ -2,7 +2,7 @@ export const usage = "Usage: npm create @nylorun/agent@beta <directory> [--yes]"
2
2
  /** Printed when `--no-open` is passed; the flag is accepted and ignored. */
3
3
  export const NO_OPEN_IGNORED = "--no-open is ignored: the creator no longer starts development, so it opens no browser.";
4
4
  /** Printed when `--no-studio` is passed; the flag is accepted and ignored. */
5
- export const NO_STUDIO_DEPRECATED = "--no-studio is deprecated and ignored: Studio runs in the local Docker stack, so generated projects no longer depend on @nylorun/studio. Use --no-open to keep the browser closed.";
5
+ export const NO_STUDIO_DEPRECATED = "--no-studio is deprecated and ignored: Studio runs in Docker with each local Tenant, so generated projects no longer depend on @nylorun/studio. Use --no-open to keep the browser closed.";
6
6
  export function parse(argv) {
7
7
  const [directory, ...flags] = argv;
8
8
  if (!directory || directory.startsWith("-"))
@@ -1,8 +1,8 @@
1
1
  {
2
- "harness": "0.21.0-beta",
3
- "runtime": "0.14.0-beta",
4
- "agents": "0.10.0-beta",
5
- "admin": "0.6.0-beta",
6
- "core": "0.9.0-beta",
7
- "cli": "0.6.0-beta"
2
+ "harness": "0.21.2-beta",
3
+ "runtime": "0.15.1-beta",
4
+ "agents": "0.12.0-beta",
5
+ "admin": "0.8.0-beta",
6
+ "core": "0.11.0-beta",
7
+ "cli": "0.8.0-beta"
8
8
  }
@@ -12,7 +12,7 @@ export type CreateOptions = Readonly<{
12
12
  /** Deprecation notes for accepted-and-ignored flags, printed first. */
13
13
  notes?: readonly string[];
14
14
  }>;
15
- /** Docker and Compose v2, which the local stack needs. */
15
+ /** Docker and Compose v2, which local Tenants need. */
16
16
  export type DockerCheck = Readonly<{
17
17
  ok: true;
18
18
  }> | Readonly<{
package/dist/docker.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import type { DockerCheck } from "./contracts.js";
2
2
  /**
3
- * The local Nylorun stack runs in Docker Compose. Report, never fix: a missing
3
+ * A local Nylorun Tenant runs in Docker Compose. Report, never fix: a missing
4
4
  * docker command, an engine that does not answer, or Compose older than v2.
5
5
  */
6
6
  export declare function checkDocker(): Promise<DockerCheck>;
package/dist/docker.js CHANGED
@@ -19,7 +19,7 @@ function run(args) {
19
19
  }
20
20
  const firstLine = (text) => text.trim().split(/\r?\n/u)[0] ?? "";
21
21
  /**
22
- * The local Nylorun stack runs in Docker Compose. Report, never fix: a missing
22
+ * A local Nylorun Tenant runs in Docker Compose. Report, never fix: a missing
23
23
  * docker command, an engine that does not answer, or Compose older than v2.
24
24
  */
25
25
  export async function checkDocker() {
package/dist/project.js CHANGED
@@ -74,14 +74,13 @@ export async function createProject(options, compatibility, dependencies) {
74
74
  }
75
75
  }
76
76
  /**
77
- * After creation: start the local stack (nylorun), create and link the
78
- * Project's Tenant (the Runtime client, @nylorun/cli), then develop. The
79
- * creator runs none of them; the project itself depends only on
80
- * @nylorun/agents.
77
+ * After creation: `nylorun start` in the project creates and starts its
78
+ * local Tenant (Runtime and Studio in Docker) and links the project to it;
79
+ * then develop. The creator runs neither; the project itself
80
+ * depends only on @nylorun/agents.
81
81
  */
82
82
  const NEXT = [
83
- "npx nylorun@beta up # the local Runtime and Studio (Docker)",
84
- "npx @nylorun/cli@beta tenant create # this project's Tenant, linked in .nylorun/",
83
+ "npx nylorun@beta start # this project's Tenant (Docker) and the link in .nylorun/",
85
84
  "npm run dev",
86
85
  ];
87
86
  function nextSteps(destination) {
@@ -91,7 +90,7 @@ function nextSteps(destination) {
91
90
  const MIN_NODE_MAJOR = 24;
92
91
  /**
93
92
  * Prerequisites the developer installs before `npm run dev`: Node 24 and
94
- * Docker with Compose v2 (the local stack). The creator only reports them; it
93
+ * Docker with Compose v2 (local Tenants). The creator only reports them; it
95
94
  * never downloads or starts anything.
96
95
  */
97
96
  async function missingPrerequisites(dependencies) {
@@ -1,6 +1,6 @@
1
1
  # Read by `npm run dev` (tsx --env-file-if-exists=.env) and, once, by
2
- # `npx @nylorun/cli tenant create`, which seeds the Tenant's model provider
3
- # from these into the Runtime vault (never back into this file):
2
+ # `npx nylorun start` when it links the project, which seeds the Tenant's model
3
+ # provider from these into the Runtime vault (never back into this file):
4
4
  # MODEL_PROVIDER=...
5
5
  # MODEL=...
6
6
  # MODEL_PROVIDER_API_KEY=...
@@ -7,7 +7,7 @@ you; `npx nylorun@beta doctor` checks them.
7
7
  - Docker with Compose v2: [Docker
8
8
  Desktop](https://docs.docker.com/get-started/get-docker/),
9
9
  [OrbStack](https://orbstack.dev) or [Colima](https://github.com/abiosoft/colima).
10
- The local Runtime and Studio run as a Docker Compose stack.
10
+ The local Runtime and Studio run in Docker Compose.
11
11
 
12
12
  On Windows, use [WSL2](https://learn.microsoft.com/windows/wsl/install): install
13
13
  Node inside your WSL distribution, enable Docker Desktop's WSL integration, and
@@ -15,31 +15,31 @@ keep the project in the Linux filesystem (`~/…`, not `/mnt/c/…`), where file
15
15
  watching works.
16
16
 
17
17
  Agent and tool definitions live in `agents/`. The **Runtime** holds your
18
- sessions in isolated **Tenants**; this project attaches through a **Project
19
- link**. Your tools run in this app: `src/main.ts` serves them as an **Action
18
+ sessions in its **Tenant**, one per installation; this project attaches to
19
+ its own local Tenant through a **Project link**. Your tools run in this app: `src/main.ts` serves them as an **Action
20
20
  endpoint** (`createActionHandler`) on `http://localhost:3001/nylorun/actions`
21
21
  and registers that URL, and the Runtime delivers each tool call there, signed.
22
22
  The project depends only on `@nylorun/agents`; the two Nylorun tools run with
23
23
  `npx`:
24
24
 
25
- - `nylorun` sets up and runs the local stack (Runtime and Studio).
26
- - `@nylorun/cli` (command `nylo`) talks to a Runtime: Tenants, the Project
27
- link and the model provider.
25
+ - `nylorun` sets up and runs this project's local Tenant (Runtime and Studio)
26
+ and links the project to it.
27
+ - `@nylorun/cli` (command `nylo`) talks to a Runtime: its Tenant's status,
28
+ reset, Action endpoints and model provider.
28
29
 
29
30
  ```sh
30
- npx nylorun@beta up # the local stack; the first run pulls the images
31
- npx @nylorun/cli@beta tenant create # this project's Tenant, linked in .nylorun/
31
+ npx nylorun@beta start # this project's Tenant and the link; the first run pulls the images
32
32
  npm run dev
33
33
  ```
34
34
 
35
- `nylorun up` sets up the stack under `~/.nylorun` on the first run and just
35
+ `nylorun start` in this directory sets up the project's Tenant on the first
36
+ run (named after the directory, under `~/.nylorun/tenants/<name>/`) and just
36
37
  starts it after that. It prints the Runtime and Studio URLs and opens Studio,
37
- signed in, in your browser. The
38
- stack keeps running after you stop `npm run dev`, so sessions survive a source
39
- change; `npx nylorun down` stops it (volumes are kept), `npx nylorun status`
38
+ signed in, in your browser. The Tenant keeps running after you stop `npm run dev`, so sessions survive a source
39
+ change; `npx nylorun stop` stops it (volumes are kept), `npx nylorun status`
40
40
  shows its health, and `npx nylorun logs runtime -f` its logs.
41
41
 
42
- `tenant create` creates this project's Tenant, writes `.nylorun/link.json` and
42
+ The first `nylorun start` writes `.nylorun/link.json` and
43
43
  `.nylorun/credentials.json`, and seeds the Tenant's model provider from
44
44
  `MODEL_PROVIDER`, `MODEL` and `MODEL_PROVIDER_API_KEY` in `.env` (see
45
45
  `.env.example`). The key is stored in the Tenant vault, never back in `.env`.
@@ -49,9 +49,9 @@ incur its usual charges.
49
49
 
50
50
  `npm run dev` runs `src/main.ts` with `tsx watch`: it serves the Action
51
51
  endpoint on port 3001 (`PORT` changes it) and registers it with the Runtime,
52
- which it finds through the Project link. The local stack's Runtime runs in
53
- Docker and reaches `localhost` on this machine. `npx @nylorun/cli tenant
54
- endpoints` shows the endpoint and how its deliveries are doing. `npx nylorun studio` opens Studio on this
52
+ which it finds through the Project link. The local Runtime runs in
53
+ Docker and reaches `localhost` on this machine. `npx @nylorun/cli endpoints`
54
+ shows the endpoint and how its deliveries are doing. `npx nylorun studio` opens Studio on this
55
55
  project's Tenant, and signs in a browser that is not signed in yet. In
56
56
  Studio, ask **Look up order demo-123**. The local tool returns `shipped`;
57
57
  Studio shows the tool call and assistant response. The Runtime listens on
@@ -64,7 +64,7 @@ npm start
64
64
  ```
65
65
 
66
66
  `npm start` runs `node dist/src/main.js`, the same entry as development. Set
67
- `NYLORUN_RUNTIME_URL`, `NYLORUN_TENANT`, and `NYLORUN_SERVER_KEY` before
67
+ `NYLORUN_RUNTIME_URL` and `NYLORUN_SERVER_KEY` before
68
68
  starting, or keep the Project link beside this directory, and set
69
69
  `NYLORUN_ACTIONS_URL` to the URL the Runtime reaches this app at (a public URL,
70
70
  or a tunnel such as ngrok for a remote Runtime). `agents/index.ts` exports the
@@ -77,19 +77,20 @@ Export the linked Project environment:
77
77
 
78
78
  ```sh
79
79
  eval "$(npx @nylorun/cli@beta env)"
80
- # → NYLORUN_RUNTIME_URL, NYLORUN_SERVER_KEY, NYLORUN_TENANT
80
+ # → NYLORUN_RUNTIME_URL, NYLORUN_SERVER_KEY
81
81
  ```
82
82
 
83
83
  Project link and credentials live in gitignored `.nylorun/` beside this project.
84
- The Host root (`NYLORUN_HOME` or `~/.nylorun`) holds the stack's files and the
85
- admin key; Tenant data lives in the stack's Docker volumes. A fresh clone or
86
- second worktree does not reuse this link: run `tenant create` there, or
87
- `npx @nylorun/cli tenant use <name>` with that Tenant's credentials.
88
- Keep `.nylorun/` private. Application credentials are generated when the
89
- Tenant is created. Each delivery carries a short-lived token the endpoint
90
- verifies with the Tenant's public keys. Ordinary
91
- shutdown/restart preserves completed session history; `npx nylorun reset`
92
- deletes every Tenant.
84
+ The Tenant's Host root (`~/.nylorun/tenants/<name>/`, or `NYLORUN_HOME`) holds
85
+ its files and the admin key; Tenant data lives in its Docker volumes.
86
+ A fresh clone or second worktree does not reuse this link: `npx nylorun start`
87
+ there gives it a Tenant of its own, and `npx nylorun start --tenant <name>`
88
+ links it to this project's Tenant instead.
89
+ Keep `.nylorun/` private. The application key is derived from the Tenant's
90
+ admin key when the project is linked. Each delivery carries a short-lived
91
+ token the endpoint verifies with the Tenant's public keys. Ordinary
92
+ shutdown/restart preserves completed session history; `npx @nylorun/cli reset
93
+ --all` empties the Tenant, and `npx nylorun reset` deletes all its data.
93
94
  `NYLORUN_IMPLEMENTATION_VERSION` defaults to `dev`; assign an explicit version
94
95
  when changing a versioned implementation.
95
96
 
@@ -2,7 +2,7 @@ import { createServer } from "node:http";
2
2
  import { createActionHandler } from "@nylorun/agents";
3
3
  import { agents } from "../agents/index.js";
4
4
 
5
- // The Runtime delivers each tool call to this URL. On the local stack `localhost` means this
5
+ // The Runtime delivers each tool call to this URL. On a local Tenant `localhost` means this
6
6
  // machine; in production set NYLORUN_ACTIONS_URL to the URL the Runtime reaches this app at.
7
7
  const port = Number(process.env.PORT ?? 3001);
8
8
  const url = process.env.NYLORUN_ACTIONS_URL ?? `http://localhost:${port}/nylorun/actions`;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nylorun/create-agent",
3
- "version": "0.11.0-beta",
3
+ "version": "0.13.0-beta",
4
4
  "description": "Create a local Nylorun Harness agent project.",
5
5
  "type": "module",
6
6
  "license": "Apache-2.0",