@nylorun/create-agent 0.14.4-beta → 0.14.6-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 +19 -0
- package/README.md +7 -6
- package/compatibility.json +5 -6
- package/dist/compatibility.json +5 -6
- package/dist/contracts.d.ts +0 -1
- package/dist/starter/README.md +7 -7
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,24 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.14.6-beta
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 1345f61: **`nylo` ships in `nylorun`; `@nylorun/cli` is deprecated.** One package runs a project's local Tenant (`nylorun`) and is the Runtime client of the linked installation (`nylo`). MIGRATION.md ("`nylo` ships in `nylorun`") has the details.
|
|
8
|
+
|
|
9
|
+
- `nylorun`: a second bin, `nylo` (`npx -p nylorun nylo <command>`), with the same commands, flags, output and exit codes as `@nylorun/cli`'s. The `nylorun` command never loads it. nylorun now depends on `@nylorun/admin`, which `nylo` uses. `nylo configure`'s provider sign-in comes from `@earendil-works/pi-ai` (about 100 MB with its provider SDKs), which is not a dependency: the first `nylo configure` installs the tested version into `~/.nylorun/lib/pi-ai-<version>/` with npm, without install scripts, unless it resolves beside nylorun, so `npx nylorun` stays about 11 MB. `nylorun configure`, `nylorun status --env` and `nylorun doctor sandbox` still exit 2, now naming `npx -p nylorun nylo …`. `nylorun status|reset` (the local Tenant's containers and volumes) and `nylo status|reset` (the Management API) keep their meanings; both usages and the README say which is which.
|
|
10
|
+
- **Deprecated (`@nylorun/cli`):** its `nylo` prints one line on stderr and runs nylorun's `nylo` with the same arguments and exit code; stdout is unchanged, so `eval "$(npx @nylorun/cli env)"` still works. It depends on `nylorun` only. A later release removes it.
|
|
11
|
+
- **Breaking (`@nylorun/admin`): the `./project` subpath is removed.** It re-exported `@nylorun/core/project` for `nylo`, which now imports Core directly. Import `@nylorun/core/project` instead.
|
|
12
|
+
- `@nylorun/create-agent`: `compatibility.json` no longer pins `@nylorun/cli`; the examples run `nylo` from their `nylorun` devDependency.
|
|
13
|
+
|
|
14
|
+
- Update the tested Harness, SDK, Admin and Runtime compatibility combination.
|
|
15
|
+
|
|
16
|
+
## 0.14.5-beta
|
|
17
|
+
|
|
18
|
+
### Patch Changes
|
|
19
|
+
|
|
20
|
+
- Update the tested Harness, SDK, Runtime, and CLI compatibility combination.
|
|
21
|
+
|
|
3
22
|
## 0.14.4-beta
|
|
4
23
|
|
|
5
24
|
### Patch Changes
|
package/README.md
CHANGED
|
@@ -42,17 +42,17 @@ Tenant (Runtime, Studio and their infrastructure in Docker, named after the
|
|
|
42
42
|
directory; `--tenant` picks or shares another). It writes the Project link and the derived application credentials to
|
|
43
43
|
gitignored `.nylorun/`, and seeds the model provider from `.env`
|
|
44
44
|
(`MODEL_PROVIDER`, `MODEL`, `MODEL_PROVIDER_API_KEY`) into the Tenant vault.
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
`npx
|
|
45
|
+
`nylo`, the Runtime client in the same `nylorun` package, works on the linked
|
|
46
|
+
Tenant: `nylo status` and `nylo reset`. Studio or
|
|
47
|
+
`npx -p nylorun nylo configure` sets or replaces the provider.
|
|
48
48
|
`npm start` runs `node dist/src/main.js` with the same entry as development.
|
|
49
|
-
Export the Project environment (`eval "$(npx
|
|
49
|
+
Export the Project environment (`eval "$(npx -p nylorun nylo env)"`) before a
|
|
50
50
|
production start when there is no Project link. Tenant data, including the
|
|
51
51
|
vault, lives in the Tenant's Docker volumes. Definitions have no model provider or
|
|
52
52
|
`agent.run()`.
|
|
53
53
|
|
|
54
54
|
`starter/` is the canonical template. `compatibility.json` pins core, harness,
|
|
55
|
-
agents, admin
|
|
55
|
+
agents, admin and Runtime. `nylorun` pins the Runtime and Studio images
|
|
56
56
|
it runs (`nylorun/package.json` `nylorun`). The examples recipe adds local
|
|
57
57
|
package dependencies. Run `npm run examples:sync` after template changes, then
|
|
58
58
|
`npm install --prefix examples`. Sync preserves authored agents, tests,
|
|
@@ -63,7 +63,8 @@ remain outside that registry for later migration.
|
|
|
63
63
|
|
|
64
64
|
`npm run test:starter` (`create-agent/scripts/smoke-starter.mjs`) packs the
|
|
65
65
|
workspace, scaffolds the starter from the packed creator, installs `nylorun`
|
|
66
|
-
and `@nylorun/cli
|
|
66
|
+
(and the deprecated `@nylorun/cli`, which it checks runs nylorun's `nylo`)
|
|
67
|
+
beside it (never into it), runs `nylorun start` in it and
|
|
67
68
|
`npm run dev` against a temporary local Tenant, then resets that Tenant,
|
|
68
69
|
seeds the fixture model and runs one turn with the starter's assistant.
|
|
69
70
|
|
package/compatibility.json
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
{
|
|
2
|
-
"harness": "0.25.
|
|
3
|
-
"runtime": "0.
|
|
4
|
-
"agents": "0.19.
|
|
5
|
-
"admin": "0.
|
|
6
|
-
"core": "0.
|
|
7
|
-
"cli": "0.14.1-beta"
|
|
2
|
+
"harness": "0.25.1-beta",
|
|
3
|
+
"runtime": "0.23.0-beta",
|
|
4
|
+
"agents": "0.19.1-beta",
|
|
5
|
+
"admin": "0.15.0-beta",
|
|
6
|
+
"core": "0.19.0-beta"
|
|
8
7
|
}
|
package/dist/compatibility.json
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
{
|
|
2
|
-
"harness": "0.25.
|
|
3
|
-
"runtime": "0.
|
|
4
|
-
"agents": "0.19.
|
|
5
|
-
"admin": "0.
|
|
6
|
-
"core": "0.
|
|
7
|
-
"cli": "0.14.1-beta"
|
|
2
|
+
"harness": "0.25.1-beta",
|
|
3
|
+
"runtime": "0.23.0-beta",
|
|
4
|
+
"agents": "0.19.1-beta",
|
|
5
|
+
"admin": "0.15.0-beta",
|
|
6
|
+
"core": "0.19.0-beta"
|
|
8
7
|
}
|
package/dist/contracts.d.ts
CHANGED
package/dist/starter/README.md
CHANGED
|
@@ -19,12 +19,12 @@ holds their sessions in its **Tenant**, one per installation; this project
|
|
|
19
19
|
attaches to its own local Tenant through a **Project link**. `src/main.ts`
|
|
20
20
|
saves each agent in `agents/index.ts` to the Runtime (`client.saveAgent`) and
|
|
21
21
|
exits; no code of yours runs during a session. The project depends only on
|
|
22
|
-
`@nylorun/agents`; the two
|
|
22
|
+
`@nylorun/agents`; the `nylorun` package's two commands run with `npx`:
|
|
23
23
|
|
|
24
24
|
- `nylorun` sets up and runs this project's local Tenant (Runtime and Studio)
|
|
25
25
|
and links the project to it.
|
|
26
|
-
-
|
|
27
|
-
|
|
26
|
+
- `nylo` talks to a Runtime: its Tenant's status, reset and model provider
|
|
27
|
+
(`npx -p nylorun@beta nylo <command>`).
|
|
28
28
|
|
|
29
29
|
```sh
|
|
30
30
|
npx nylorun@beta start # this project's Tenant and the link; the first run pulls the images
|
|
@@ -43,7 +43,7 @@ The first `nylorun start` writes `.nylorun/link.json` and
|
|
|
43
43
|
`MODEL_PROVIDER`, `MODEL` and `MODEL_PROVIDER_API_KEY` in `.env` (see
|
|
44
44
|
`.env.example`). The key is stored in the Tenant vault, never back in `.env`.
|
|
45
45
|
Without them, set the provider in Studio's Model provider screen, or with
|
|
46
|
-
`npx @
|
|
46
|
+
`npx -p nylorun@beta nylo configure`. Model calls use the Tenant's provider and may
|
|
47
47
|
incur its usual charges.
|
|
48
48
|
|
|
49
49
|
`npm run dev` runs `src/main.ts` with `tsx watch`: it saves the agents to the
|
|
@@ -74,7 +74,7 @@ runs no code of yours during a session.
|
|
|
74
74
|
Export the linked Project environment:
|
|
75
75
|
|
|
76
76
|
```sh
|
|
77
|
-
eval "$(npx
|
|
77
|
+
eval "$(npx -p nylorun@beta nylo env)"
|
|
78
78
|
# → NYLORUN_RUNTIME_URL, NYLORUN_SERVER_KEY
|
|
79
79
|
```
|
|
80
80
|
|
|
@@ -86,8 +86,8 @@ there gives it a Tenant of its own, and `npx nylorun start --tenant <name>`
|
|
|
86
86
|
links it to this project's Tenant instead.
|
|
87
87
|
Keep `.nylorun/` private. The application key is derived from the Tenant's
|
|
88
88
|
admin key when the project is linked. Ordinary
|
|
89
|
-
shutdown/restart preserves completed session history; `npx
|
|
90
|
-
--all` empties the Tenant, and `npx nylorun reset` deletes all its data.
|
|
89
|
+
shutdown/restart preserves completed session history; `npx -p nylorun nylo
|
|
90
|
+
reset --all` empties the Tenant, and `npx nylorun reset` deletes all its data.
|
|
91
91
|
`NYLORUN_IMPLEMENTATION_VERSION` (default `dev`) labels each saved
|
|
92
92
|
definition.
|
|
93
93
|
|