nylorun 0.25.0-beta → 0.26.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 +30 -0
- package/README.md +6 -3
- package/dist/client/agents.js +14 -3
- package/dist/client/init.js +1 -1
- package/package.json +6 -6
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,35 @@
|
|
|
1
1
|
# nylorun
|
|
2
2
|
|
|
3
|
+
## 0.26.0-beta
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- 714bee2: The triggers capability (Host feature `agent-triggers`): an agent-folder/2 folder declares `engine: { triggers: true }` (the root agent's only; `engine.instructions.triggers` replaces its wording), which compiles to `harness.engine.triggers` and offers the root agent the `triggers` tool (`list`, `create`, `delete`) and the text block `triggers@1`. The Runtime serves each call as a `runtime` effect (operation `triggers`, `turn.start.agent.triggers`, Harness API v5.3): a trigger an agent makes is the Agent's (`origin: "agent"`, with its title and the session that made it), runs in the calling session (`session: "this"`) or one of its own (`"own"`, `<session>_t_<id>`), is checked against the limits in force (`runtime.limits.triggers` within the Tenant's), survives upgrades and waits paused while a version lacks the capability; a turn a trigger started can't create one. Tool rules take `kind: "runtime"`, so an `ask` rule can hold a `triggers` call (its interaction carries `metadata.input`); `DELETE /v1/agents/{id}/triggers/{triggerId}` deletes an agent's trigger (`409 trigger_from_manifest` for a manifest's); `GET /v1/runs/stream` serves the Tenant's runs as server-sent events from a cursor (`410 cursor_expired` across a reset). `client.agents.deleteTrigger`, `client.runs.stream` and `nylorun agents triggers rm` follow. The JSON Schemas are republished as `agent-manifest/v8.3`, `harness-manifest/v1.3`, `runtime-manifest/v1.2`, `agent-folder/v1/agent-md.3`, `agent-folder/v1/runtime.2` and `harness-api/v5.3`.
|
|
8
|
+
|
|
9
|
+
### Patch Changes
|
|
10
|
+
|
|
11
|
+
- Pin core to the tested release.
|
|
12
|
+
- Pin agents to the tested release.
|
|
13
|
+
- Pin admin to the tested release.
|
|
14
|
+
- Pin runtime to the tested release.
|
|
15
|
+
- Pin studio to the tested release.
|
|
16
|
+
- Updated dependencies [714bee2]
|
|
17
|
+
- Updated dependencies
|
|
18
|
+
- Updated dependencies
|
|
19
|
+
- @nylorun/core@0.35.0-beta
|
|
20
|
+
- @nylorun/agents@0.34.0-beta
|
|
21
|
+
- @nylorun/admin@0.19.11-beta
|
|
22
|
+
|
|
23
|
+
## 0.25.1-beta
|
|
24
|
+
|
|
25
|
+
### Patch Changes
|
|
26
|
+
|
|
27
|
+
- Pin agents to the tested release.
|
|
28
|
+
- Pin runtime to the tested release.
|
|
29
|
+
- Pin studio to the tested release.
|
|
30
|
+
- Updated dependencies [78787e2]
|
|
31
|
+
- @nylorun/agents@0.33.0-beta
|
|
32
|
+
|
|
3
33
|
## 0.25.0-beta
|
|
4
34
|
|
|
5
35
|
### Minor Changes
|
package/README.md
CHANGED
|
@@ -594,9 +594,12 @@ Answer from the documents in the conversation.
|
|
|
594
594
|
`engine.sandbox` lists any of `bash`, `read`, `write`, `edit`, `grep` and `glob`;
|
|
595
595
|
`artifacts.save`, `outputs` and `sandbox` need a computer; and `engine.instructions.<block>`
|
|
596
596
|
replaces a text block's wording with a Markdown file under `engine/` (the blocks are `skills`,
|
|
597
|
-
`sandbox`, `skill_folder`, `artifacts_save`, `outputs`, `artifacts_read`, `wake`, `
|
|
598
|
-
`plan`, `connection` and `tool_search`; memory's rule that outside text is data stays).
|
|
599
|
-
|
|
597
|
+
`sandbox`, `skill_folder`, `artifacts_save`, `outputs`, `artifacts_read`, `wake`, `triggers`,
|
|
598
|
+
`memory`, `plan`, `connection` and `tool_search`; memory's rule that outside text is data stays).
|
|
599
|
+
`engine.triggers: true` offers the root agent the `triggers` tool: it sets up its own schedules,
|
|
600
|
+
one-time runs and follow-ups (`list`, `create`, `delete`), which the Agent keeps beside its
|
|
601
|
+
manifest's triggers (`nylorun agents triggers list`, `rm` for one an agent made). A
|
|
602
|
+
subagent declares its own `engine:`, a subset of its parent's, and never `triggers`. The compiled manifest lists the
|
|
600
603
|
blocks the agent gets, with their versions and hashes (`harness.engine.blocks`).
|
|
601
604
|
`nylorun check --explain` prints each feature on, and the tools and blocks it adds;
|
|
602
605
|
`previewTurn(manifest)` in `@nylorun/agents` returns the exact system text and tool list.
|
package/dist/client/agents.js
CHANGED
|
@@ -52,8 +52,10 @@ NYLORUN_TOKEN).
|
|
|
52
52
|
a bearer or headers secret's routing: where its requests
|
|
53
53
|
go (over the slot's via) and the gateway's tool prefix
|
|
54
54
|
secrets rm <id> <name>
|
|
55
|
-
triggers list <id> its triggers: status, next and last run, as JSON
|
|
55
|
+
triggers list <id> its triggers: status, next and last run, as JSON; with
|
|
56
|
+
the ones its agents made (origin agent)
|
|
56
57
|
triggers pause|resume <id> <trigger>
|
|
58
|
+
triggers rm <id> <trigger> delete a trigger its agent made (not a manifest's)
|
|
57
59
|
triggers run <id> <trigger> [--idempotency-key <k>]
|
|
58
60
|
run it once now, as if it fired
|
|
59
61
|
triggers new-secret <id> <trigger> a webhook trigger's new signing secret (whsec_…), shown
|
|
@@ -352,7 +354,7 @@ async function secrets(deps, args) {
|
|
|
352
354
|
}
|
|
353
355
|
throw usageError(`Usage: nylorun agents secrets <list|get|put|rm> …\n\n${agentsUsage}`);
|
|
354
356
|
}
|
|
355
|
-
/** `nylorun agents triggers <list|pause|resume|run> …` (track T4). */
|
|
357
|
+
/** `nylorun agents triggers <list|pause|resume|run|rm|new-secret> …` (track T4, D83). */
|
|
356
358
|
async function triggers(deps, args) {
|
|
357
359
|
const [verb, ...rest] = args;
|
|
358
360
|
if (isHelp(verb))
|
|
@@ -382,6 +384,15 @@ async function triggers(deps, args) {
|
|
|
382
384
|
printJson(deps, await runtimeCall(() => client.agents.runTrigger(id, trigger, key === undefined ? {} : { idempotencyKey: key })));
|
|
383
385
|
return 0;
|
|
384
386
|
}
|
|
387
|
+
if (verb === "rm" || verb === "delete") {
|
|
388
|
+
const usage = "nylorun agents triggers rm <id> <trigger>";
|
|
389
|
+
const flags = parseFlags(rest, {}, usage);
|
|
390
|
+
const [id, trigger] = positional(flags, 2, usage);
|
|
391
|
+
const { client } = await runtimeClient(deps, flags);
|
|
392
|
+
await runtimeCall(() => client.agents.deleteTrigger(id, trigger));
|
|
393
|
+
deps.out(`Deleted trigger ${trigger} of Agent ${id}.`);
|
|
394
|
+
return 0;
|
|
395
|
+
}
|
|
385
396
|
if (verb === "new-secret") {
|
|
386
397
|
const usage = "nylorun agents triggers new-secret <id> <trigger>";
|
|
387
398
|
const flags = parseFlags(rest, {}, usage);
|
|
@@ -390,7 +401,7 @@ async function triggers(deps, args) {
|
|
|
390
401
|
printJson(deps, await runtimeCall(() => client.agents.rotateWebhookSecret(id, trigger)));
|
|
391
402
|
return 0;
|
|
392
403
|
}
|
|
393
|
-
throw usageError(`Usage: nylorun agents triggers <list|pause|resume|run|new-secret> …\n\n${agentsUsage}`);
|
|
404
|
+
throw usageError(`Usage: nylorun agents triggers <list|pause|resume|run|rm|new-secret> …\n\n${agentsUsage}`);
|
|
394
405
|
}
|
|
395
406
|
/** `nylorun agents memories <ls|cat|put|rm|versions> …` (track T5). */
|
|
396
407
|
async function memories(deps, args) {
|
package/dist/client/init.js
CHANGED
|
@@ -49,7 +49,7 @@ export function schemaMappings(root, folder) {
|
|
|
49
49
|
// Folders under a parent (agents/) share one pattern; a folder at the root is named alone.
|
|
50
50
|
const base = parent === "" ? relative(root, folder).split(sep).join("/") : `${parent}/**`;
|
|
51
51
|
return [
|
|
52
|
-
{ fileMatch: [`${base}/runtime.json`], url: `${SCHEMA_BASE}/runtime.
|
|
52
|
+
{ fileMatch: [`${base}/runtime.json`], url: `${SCHEMA_BASE}/runtime.2.json` },
|
|
53
53
|
{ fileMatch: [`${base}/tools/*.json`], url: `${SCHEMA_BASE}/tool.json` },
|
|
54
54
|
{ fileMatch: [`${base}/flow.json`], url: `${SCHEMA_BASE}/flow.json` },
|
|
55
55
|
{ fileMatch: [`${base}/mcp.json`, `!${base}/plugins/**`], url: `${SCHEMA_BASE}/mcp.json` },
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "nylorun",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.26.0-beta",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"description": "Set up and run local Nylorun Tenants (Runtime and Studio) with Docker Compose, and act on a Tenant through its Runtime and Management APIs",
|
|
@@ -30,9 +30,9 @@
|
|
|
30
30
|
"prepack": "npm run build"
|
|
31
31
|
},
|
|
32
32
|
"dependencies": {
|
|
33
|
-
"@nylorun/admin": "0.19.
|
|
34
|
-
"@nylorun/agents": "0.
|
|
35
|
-
"@nylorun/core": "0.
|
|
33
|
+
"@nylorun/admin": "0.19.11-beta",
|
|
34
|
+
"@nylorun/agents": "0.34.0-beta",
|
|
35
|
+
"@nylorun/core": "0.35.0-beta"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|
|
38
38
|
"@earendil-works/pi-ai": "1.3.0",
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
"nylo": "dist/nylo.js"
|
|
47
47
|
},
|
|
48
48
|
"nylorun": {
|
|
49
|
-
"runtime": "0.
|
|
50
|
-
"studio": "0.35.
|
|
49
|
+
"runtime": "0.41.0-beta",
|
|
50
|
+
"studio": "0.35.4-beta"
|
|
51
51
|
}
|
|
52
52
|
}
|