@nylorun/core 0.34.0-beta → 0.35.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 +6 -0
- package/dist/compatibility.d.ts +9 -1
- package/dist/compatibility.js +8 -0
- package/dist/contracts.d.ts +311 -6
- package/dist/contracts.js +164 -6
- package/dist/engine/blocks.d.ts +2 -0
- package/dist/engine/blocks.js +7 -0
- package/dist/engine/explain.d.ts +1 -1
- package/dist/engine/explain.js +6 -1
- package/dist/engine/names.d.ts +1 -1
- package/dist/engine/names.js +1 -0
- package/dist/engine/preview.d.ts +5 -0
- package/dist/engine/preview.js +2 -1
- package/dist/engine/projection.d.ts +8 -6
- package/dist/engine/projection.js +15 -6
- package/dist/engine/tools.d.ts +10 -0
- package/dist/engine/tools.js +49 -1
- package/dist/folder/compile.d.ts +1 -1
- package/dist/folder/compile.js +3 -0
- package/dist/folder/engine.d.ts +5 -2
- package/dist/folder/engine.js +17 -3
- package/dist/folder/nested.js +5 -0
- package/dist/folder/schemas.js +9 -4
- package/dist/harness-api/harness-api.schema.json +19 -4
- package/dist/harness-api/json-schema.js +3 -2
- package/dist/harness-api/schema.d.ts +6 -0
- package/dist/harness-api/schema.js +9 -2
- package/dist/manifest-schemas.js +5 -4
- package/dist/schemas/agent-folder/agent-md.schema.json +7 -2
- package/dist/schemas/agent-folder/runtime.schema.json +22 -1
- package/dist/schemas/agent-manifest.schema.json +28 -1
- package/dist/schemas/harness-manifest.schema.json +7 -1
- package/dist/schemas/runtime-manifest.schema.json +22 -1
- package/dist/types/manifest.d.ts +2 -0
- package/package.json +1 -1
package/dist/folder/engine.js
CHANGED
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
* artifacts: { read: true, save: false } # save needs a computer
|
|
12
12
|
* outputs: true # save /workspace/outputs when a turn ends; needs a computer
|
|
13
13
|
* toolSearch: false # no automatic deferral; a server's own `deferred` still applies
|
|
14
|
+
* triggers: true # the triggers tool and its text (D83); the root agent's only
|
|
14
15
|
* instructions: # a block's wording, replaced by a file under engine/
|
|
15
16
|
* memory: engine/memory.md
|
|
16
17
|
* ```
|
|
@@ -27,7 +28,7 @@ import { DEFAULT_ENGINE_TOOL_LIMITS, engineProjection } from "../engine/projecti
|
|
|
27
28
|
import { TOOL_SEARCH_TOOL } from "../engine/tools.js";
|
|
28
29
|
import { suggestion } from "./suggest.js";
|
|
29
30
|
/** The keys of `AGENT.md`'s `engine:` block. */
|
|
30
|
-
export const ENGINE_KEYS = ["sandbox", "artifacts", "outputs", "toolSearch", "instructions"];
|
|
31
|
+
export const ENGINE_KEYS = ["sandbox", "artifacts", "outputs", "toolSearch", "triggers", "instructions"];
|
|
31
32
|
const ARTIFACT_KEYS = ["read", "save"];
|
|
32
33
|
/** Where a folder keeps the files that replace a block's wording. */
|
|
33
34
|
export const ENGINE_TEXT_DIR = "engine";
|
|
@@ -145,6 +146,18 @@ export function engineDeclarations(value, options) {
|
|
|
145
146
|
engine.toolSearch = value.toolSearch;
|
|
146
147
|
}
|
|
147
148
|
}
|
|
149
|
+
// triggers: the root agent's (D83). A subagent whose parent declares them is refused in
|
|
150
|
+
// `nested.ts`; one whose parent does not, here.
|
|
151
|
+
if (value.triggers !== undefined) {
|
|
152
|
+
const at = ["engine", "triggers"];
|
|
153
|
+
if (typeof value.triggers !== "boolean")
|
|
154
|
+
fail("value_invalid", "engine.triggers is true or false: true offers the agent the triggers tool, to set up its own schedules and follow-ups", at);
|
|
155
|
+
else {
|
|
156
|
+
if (role === "subagent" && value.triggers && parent?.triggers !== true)
|
|
157
|
+
subset("engine.triggers is true", at);
|
|
158
|
+
engine.triggers = value.triggers;
|
|
159
|
+
}
|
|
160
|
+
}
|
|
148
161
|
if (value.instructions !== undefined) {
|
|
149
162
|
const at = ["engine", "instructions"];
|
|
150
163
|
if (!isObject(value.instructions))
|
|
@@ -186,11 +199,12 @@ export function engineDeclarations(value, options) {
|
|
|
186
199
|
/**
|
|
187
200
|
* The text blocks an agent gets, from what it declares and what the folder says of its session:
|
|
188
201
|
* whether its runtime has a computer and sets `selfWake`, its skills, memory and loop settings,
|
|
189
|
-
*
|
|
202
|
+
* whether it is the root agent declaring `engine.triggers`, and whether its MCP tools may be
|
|
203
|
+
* deferred. The harness's own projection decides them
|
|
190
204
|
* (`engineProjection`), so the list is what a session's system text holds.
|
|
191
205
|
*/
|
|
192
206
|
export function engineBlocksOf(agent, facts) {
|
|
193
|
-
const projection = engineProjection(agent, { ...(facts.computer ? { sandbox: { workspace: SANDBOX_WORKSPACE } } : {}), ...(facts.selfWake ? { selfWake: true } : {}) }, DEFAULT_ENGINE_TOOL_LIMITS, facts.memory && { access: facts.memory.access ?? "read_write", root: facts.memory.root, index: facts.memory.index !== false }, facts.plan, facts.connections);
|
|
207
|
+
const projection = engineProjection(agent, { ...(facts.computer ? { sandbox: { workspace: SANDBOX_WORKSPACE } } : {}), ...(facts.selfWake ? { selfWake: true } : {}) }, DEFAULT_ENGINE_TOOL_LIMITS, facts.memory && { access: facts.memory.access ?? "read_write", root: facts.memory.root, index: facts.memory.index !== false }, facts.plan, facts.connections, facts.triggers === true);
|
|
194
208
|
const names = projection.blocks.map((block) => block.name);
|
|
195
209
|
const servers = Object.values(agent.mcpServers ?? {});
|
|
196
210
|
const deferrable = servers.length > 0 &&
|
package/dist/folder/nested.js
CHANGED
|
@@ -197,6 +197,11 @@ function nestedChecks(ctx) {
|
|
|
197
197
|
for (const [key, message] of Object.entries(keys))
|
|
198
198
|
if (ctx.front[key] !== undefined)
|
|
199
199
|
refuse(message, AGENT_FILE, [key]);
|
|
200
|
+
// Triggers are the root agent's (D83): a subagent of a parent without them fails engine_subset.
|
|
201
|
+
if (isObject(ctx.front.engine) &&
|
|
202
|
+
ctx.front.engine.triggers === true &&
|
|
203
|
+
(ctx.scope.role === "stage" || ctx.scope.engineFacts?.engine?.triggers === true))
|
|
204
|
+
refuse(`triggers are the root agent's: ${what} never sets up triggers, so leave engine.triggers out here`, AGENT_FILE, ["engine", "triggers"]);
|
|
200
205
|
// Agent manifest v7, which embeds an agent, has no place for a credential or a skill's secrets.
|
|
201
206
|
const settings = isObject(ctx.front.mcpServers) ? ctx.front.mcpServers : {};
|
|
202
207
|
for (const [key, server] of Object.entries(isObject(ctx.harness.mcpServers) ? ctx.harness.mcpServers : {})) {
|
package/dist/folder/schemas.js
CHANGED
|
@@ -52,11 +52,12 @@ function fromZod(schema, defs, description) {
|
|
|
52
52
|
/**
|
|
53
53
|
* A kind's revision within format 1, when its document gained an optional key (a published `$id`
|
|
54
54
|
* names one document for good): `AGENT.md` took `model` (Host feature `agent-model`), published
|
|
55
|
-
* as `agent-md.1.json`, then `format: agent-folder/2` and `engine` (ADR-100), as `agent-md.2.json
|
|
55
|
+
* as `agent-md.1.json`, then `format: agent-folder/2` and `engine` (ADR-100), as `agent-md.2.json`,
|
|
56
|
+
* then `engine.triggers` (D83), as `agent-md.3.json`;
|
|
56
57
|
* `runtime.json` took a secret slot's `toolPrefix` (Host feature `secret-routing`), published as
|
|
57
|
-
* `runtime.1.json`.
|
|
58
|
+
* `runtime.1.json`, then `limits.triggers` (D83), as `runtime.2.json`.
|
|
58
59
|
*/
|
|
59
|
-
const REVISIONS = { "agent-md":
|
|
60
|
+
const REVISIONS = { "agent-md": 3, runtime: 2 };
|
|
60
61
|
/** One document: its `$id` from its kind, then the body, then the `$defs` its parts named. */
|
|
61
62
|
function document(kind, title, description, body, defs) {
|
|
62
63
|
const revision = REVISIONS[kind];
|
|
@@ -122,7 +123,7 @@ function agentMd() {
|
|
|
122
123
|
model: fromZod(AgentModelSchema, defs, "The model the agent runs on: <provider>/<model>, such as anthropic/claude-sonnet-4-5"),
|
|
123
124
|
engine: {
|
|
124
125
|
type: "object",
|
|
125
|
-
description: "agent-folder/2: the engine features the agent uses, and nothing else is added: sandbox (the sandbox tools), artifacts (read_artifact, save_artifact), outputs (the outputs folder), toolSearch (MCP tools deferred past the threshold), instructions (a block's wording, from a file under engine/)",
|
|
126
|
+
description: "agent-folder/2: the engine features the agent uses, and nothing else is added: sandbox (the sandbox tools), artifacts (read_artifact, save_artifact), outputs (the outputs folder), toolSearch (MCP tools deferred past the threshold), triggers (the triggers tool, the root agent's), instructions (a block's wording, from a file under engine/)",
|
|
126
127
|
properties: {
|
|
127
128
|
sandbox: {
|
|
128
129
|
type: "array",
|
|
@@ -143,6 +144,10 @@ function agentMd() {
|
|
|
143
144
|
type: "boolean",
|
|
144
145
|
description: "Defer the MCP tools behind tool_search when their schemas pass the threshold; a server's own deferred applies either way",
|
|
145
146
|
},
|
|
147
|
+
triggers: {
|
|
148
|
+
type: "boolean",
|
|
149
|
+
description: "The triggers tool and its text: the agent sets up its own schedules and follow-ups, kept by the Agent; the root agent's only",
|
|
150
|
+
},
|
|
146
151
|
instructions: {
|
|
147
152
|
type: "object",
|
|
148
153
|
propertyNames: { enum: [...ENGINE_BLOCK_NAMES] },
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
-
"$id": "https://docs.nylorun.com/schemas/harness-api/v5.
|
|
3
|
+
"$id": "https://docs.nylorun.com/schemas/harness-api/v5.3.json",
|
|
4
4
|
"title": "Nylorun Harness API 5",
|
|
5
5
|
"$defs": {
|
|
6
6
|
"ArtifactMeta": {
|
|
@@ -191,7 +191,8 @@
|
|
|
191
191
|
"type": "string",
|
|
192
192
|
"enum": [
|
|
193
193
|
"schedule_wake",
|
|
194
|
-
"memory"
|
|
194
|
+
"memory",
|
|
195
|
+
"triggers"
|
|
195
196
|
]
|
|
196
197
|
}
|
|
197
198
|
},
|
|
@@ -633,7 +634,8 @@
|
|
|
633
634
|
"type": "string",
|
|
634
635
|
"enum": [
|
|
635
636
|
"schedule_wake",
|
|
636
|
-
"memory"
|
|
637
|
+
"memory",
|
|
638
|
+
"triggers"
|
|
637
639
|
]
|
|
638
640
|
}
|
|
639
641
|
},
|
|
@@ -676,6 +678,10 @@
|
|
|
676
678
|
},
|
|
677
679
|
"selfWake": {
|
|
678
680
|
"type": "boolean"
|
|
681
|
+
},
|
|
682
|
+
"triggers": {
|
|
683
|
+
"type": "boolean",
|
|
684
|
+
"const": true
|
|
679
685
|
}
|
|
680
686
|
},
|
|
681
687
|
"required": [
|
|
@@ -1562,6 +1568,10 @@
|
|
|
1562
1568
|
},
|
|
1563
1569
|
"selfWake": {
|
|
1564
1570
|
"type": "boolean"
|
|
1571
|
+
},
|
|
1572
|
+
"triggers": {
|
|
1573
|
+
"type": "boolean",
|
|
1574
|
+
"const": true
|
|
1565
1575
|
}
|
|
1566
1576
|
},
|
|
1567
1577
|
"required": [
|
|
@@ -3760,6 +3770,10 @@
|
|
|
3760
3770
|
},
|
|
3761
3771
|
"selfWake": {
|
|
3762
3772
|
"type": "boolean"
|
|
3773
|
+
},
|
|
3774
|
+
"triggers": {
|
|
3775
|
+
"type": "boolean",
|
|
3776
|
+
"const": true
|
|
3763
3777
|
}
|
|
3764
3778
|
},
|
|
3765
3779
|
"required": [
|
|
@@ -4012,7 +4026,8 @@
|
|
|
4012
4026
|
"type": "string",
|
|
4013
4027
|
"enum": [
|
|
4014
4028
|
"schedule_wake",
|
|
4015
|
-
"memory"
|
|
4029
|
+
"memory",
|
|
4030
|
+
"triggers"
|
|
4016
4031
|
]
|
|
4017
4032
|
}
|
|
4018
4033
|
},
|
|
@@ -54,9 +54,10 @@ export function harnessApiSchemas() {
|
|
|
54
54
|
* published `$id` names one document for good. Revision 2: `engine.diagnostic` among the claims,
|
|
55
55
|
* `turn.start.memory.index` absent for a version that pins none (ADR-100), and
|
|
56
56
|
* `turn.start.memory.refresh` (an optional field a v5 harness may ignore, keeping the index it
|
|
57
|
-
* pinned).
|
|
57
|
+
* pinned). Revision 3: `turn.start.agent.triggers` and the `runtime` operation `triggers` (D83),
|
|
58
|
+
* which a v5 harness that offers no `triggers` tool never sees.
|
|
58
59
|
*/
|
|
59
|
-
const SCHEMA_REVISION =
|
|
60
|
+
const SCHEMA_REVISION = 3;
|
|
60
61
|
/** The JSON Schema document of the Harness API (draft 2020-12). */
|
|
61
62
|
export function harnessApiJsonSchema() {
|
|
62
63
|
const $defs = {};
|
|
@@ -118,6 +118,7 @@ export declare const EffectTargetSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
118
118
|
operation: z.ZodEnum<{
|
|
119
119
|
memory: "memory";
|
|
120
120
|
schedule_wake: "schedule_wake";
|
|
121
|
+
triggers: "triggers";
|
|
121
122
|
}>;
|
|
122
123
|
}, z.core.$strict>], "kind">;
|
|
123
124
|
/**
|
|
@@ -178,6 +179,7 @@ export declare const EffectIntentSchema: z.ZodObject<{
|
|
|
178
179
|
operation: z.ZodEnum<{
|
|
179
180
|
memory: "memory";
|
|
180
181
|
schedule_wake: "schedule_wake";
|
|
182
|
+
triggers: "triggers";
|
|
181
183
|
}>;
|
|
182
184
|
}, z.core.$strict>], "kind">>;
|
|
183
185
|
skill: z.ZodOptional<z.ZodString>;
|
|
@@ -407,6 +409,7 @@ export declare const TurnAgentSchema: z.ZodObject<{
|
|
|
407
409
|
workspace: z.ZodString;
|
|
408
410
|
}, z.core.$strict>>;
|
|
409
411
|
selfWake: z.ZodOptional<z.ZodBoolean>;
|
|
412
|
+
triggers: z.ZodOptional<z.ZodLiteral<true>>;
|
|
410
413
|
}, z.core.$strict>;
|
|
411
414
|
/**
|
|
412
415
|
* The Agent's memory as a turn starts, present when the version its session runs
|
|
@@ -537,6 +540,7 @@ export declare const TurnStartSchema: z.ZodObject<{
|
|
|
537
540
|
workspace: z.ZodString;
|
|
538
541
|
}, z.core.$strict>>;
|
|
539
542
|
selfWake: z.ZodOptional<z.ZodBoolean>;
|
|
543
|
+
triggers: z.ZodOptional<z.ZodLiteral<true>>;
|
|
540
544
|
}, z.core.$strict>>;
|
|
541
545
|
}, z.core.$strict>;
|
|
542
546
|
/**
|
|
@@ -779,6 +783,7 @@ export declare const harnessRequests: {
|
|
|
779
783
|
workspace: z.ZodString;
|
|
780
784
|
}, z.core.$strict>>;
|
|
781
785
|
selfWake: z.ZodOptional<z.ZodBoolean>;
|
|
786
|
+
triggers: z.ZodOptional<z.ZodLiteral<true>>;
|
|
782
787
|
}, z.core.$strict>>;
|
|
783
788
|
}, z.core.$strict>;
|
|
784
789
|
}, z.core.$strict>;
|
|
@@ -843,6 +848,7 @@ export declare const harnessRequests: {
|
|
|
843
848
|
operation: z.ZodEnum<{
|
|
844
849
|
memory: "memory";
|
|
845
850
|
schedule_wake: "schedule_wake";
|
|
851
|
+
triggers: "triggers";
|
|
846
852
|
}>;
|
|
847
853
|
}, z.core.$strict>], "kind">>;
|
|
848
854
|
skill: z.ZodOptional<z.ZodString>;
|
|
@@ -85,9 +85,11 @@ export const EffectTargetSchema = z.discriminatedUnion("kind", [
|
|
|
85
85
|
* An operation the Runtime itself serves, in the transaction that journals the call, keyed by
|
|
86
86
|
* the effect id: `schedule_wake` books the session's next turn; `memory` is a
|
|
87
87
|
* call of the `memory` tool, with Anthropic's memory tool parameters as its input,
|
|
88
|
-
* on the Agent's memories
|
|
88
|
+
* on the Agent's memories; `triggers` lists, creates and deletes the triggers the session made
|
|
89
|
+
* (D83, `TriggerToolInputSchema`). Answered at once, unless the Tenant's tool policy holds it
|
|
90
|
+
* for a person; the harness never executes it.
|
|
89
91
|
*/
|
|
90
|
-
z.object({ kind: z.literal("runtime"), operation: z.enum(["schedule_wake", "memory"]) }).strict(),
|
|
92
|
+
z.object({ kind: z.literal("runtime"), operation: z.enum(["schedule_wake", "memory", "triggers"]) }).strict(),
|
|
91
93
|
]);
|
|
92
94
|
/**
|
|
93
95
|
* One effect the engine asks for: a `HostEffect`, by structure. Model intents carry no `input`.
|
|
@@ -325,6 +327,11 @@ export const TurnAgentSchema = z
|
|
|
325
327
|
* `schedule_wake`, a `runtime` effect.
|
|
326
328
|
*/
|
|
327
329
|
selfWake: z.boolean().optional(),
|
|
330
|
+
/**
|
|
331
|
+
* The version the session runs declares `harness.engine.triggers` (D83): our engine offers
|
|
332
|
+
* the root agent the `triggers` tool, a `runtime` effect.
|
|
333
|
+
*/
|
|
334
|
+
triggers: z.literal(true).optional(),
|
|
328
335
|
})
|
|
329
336
|
.strict();
|
|
330
337
|
/**
|
package/dist/manifest-schemas.js
CHANGED
|
@@ -17,11 +17,12 @@ import { AGENT_MANIFEST_V8_SCHEMA_VERSION, AgentManifestFileSchema, HARNESS_MANI
|
|
|
17
17
|
* `harness.model` (Host feature `agent-model`), published as `v8.1` and `v1.1`, then
|
|
18
18
|
* `harness.engine` and `harness.memory.index` (ADR-100) and a secret slot's `toolPrefix` (Host
|
|
19
19
|
* feature `secret-routing`), published as agent manifest `v8.2`, harness file `v1.2` and runtime
|
|
20
|
-
* file `v1.1
|
|
20
|
+
* file `v1.1`, then `harness.engine.triggers` and `runtime.limits.triggers` (D83), published as
|
|
21
|
+
* agent manifest `v8.3`, harness file `v1.3` and runtime file `v1.2`.
|
|
21
22
|
*/
|
|
22
|
-
const AGENT_MANIFEST_REVISION =
|
|
23
|
-
const HARNESS_MANIFEST_FILE_REVISION =
|
|
24
|
-
const RUNTIME_MANIFEST_FILE_REVISION =
|
|
23
|
+
const AGENT_MANIFEST_REVISION = 3;
|
|
24
|
+
const HARNESS_MANIFEST_FILE_REVISION = 3;
|
|
25
|
+
const RUNTIME_MANIFEST_FILE_REVISION = 2;
|
|
25
26
|
function document(schema, id, title) {
|
|
26
27
|
const { $schema: _, ...definition } = z.toJSONSchema(schema, { io: "input", unrepresentable: "any" });
|
|
27
28
|
const properties = (definition.properties ?? {});
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
-
"$id": "https://docs.nylorun.com/schemas/agent-folder/v1/agent-md.
|
|
3
|
+
"$id": "https://docs.nylorun.com/schemas/agent-folder/v1/agent-md.3.json",
|
|
4
4
|
"title": "Nylorun agent folder: AGENT.md frontmatter",
|
|
5
5
|
"description": "The frontmatter of an agent folder's AGENT.md; the body below it is the instructions",
|
|
6
6
|
"type": "object",
|
|
@@ -101,7 +101,7 @@
|
|
|
101
101
|
},
|
|
102
102
|
"engine": {
|
|
103
103
|
"type": "object",
|
|
104
|
-
"description": "agent-folder/2: the engine features the agent uses, and nothing else is added: sandbox (the sandbox tools), artifacts (read_artifact, save_artifact), outputs (the outputs folder), toolSearch (MCP tools deferred past the threshold), instructions (a block's wording, from a file under engine/)",
|
|
104
|
+
"description": "agent-folder/2: the engine features the agent uses, and nothing else is added: sandbox (the sandbox tools), artifacts (read_artifact, save_artifact), outputs (the outputs folder), toolSearch (MCP tools deferred past the threshold), triggers (the triggers tool, the root agent's), instructions (a block's wording, from a file under engine/)",
|
|
105
105
|
"properties": {
|
|
106
106
|
"sandbox": {
|
|
107
107
|
"type": "array",
|
|
@@ -140,6 +140,10 @@
|
|
|
140
140
|
"type": "boolean",
|
|
141
141
|
"description": "Defer the MCP tools behind tool_search when their schemas pass the threshold; a server's own deferred applies either way"
|
|
142
142
|
},
|
|
143
|
+
"triggers": {
|
|
144
|
+
"type": "boolean",
|
|
145
|
+
"description": "The triggers tool and its text: the agent sets up its own schedules and follow-ups, kept by the Agent; the root agent's only"
|
|
146
|
+
},
|
|
143
147
|
"instructions": {
|
|
144
148
|
"type": "object",
|
|
145
149
|
"propertyNames": {
|
|
@@ -151,6 +155,7 @@
|
|
|
151
155
|
"outputs",
|
|
152
156
|
"artifacts_read",
|
|
153
157
|
"wake",
|
|
158
|
+
"triggers",
|
|
154
159
|
"memory",
|
|
155
160
|
"plan",
|
|
156
161
|
"connection",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
-
"$id": "https://docs.nylorun.com/schemas/agent-folder/v1/runtime.
|
|
3
|
+
"$id": "https://docs.nylorun.com/schemas/agent-folder/v1/runtime.2.json",
|
|
4
4
|
"title": "Nylorun agent folder: runtime.json",
|
|
5
5
|
"description": "An agent folder's runtime.json: the runtime section of the agent manifest. kind is required unless extends names a file that gives it",
|
|
6
6
|
"type": "object",
|
|
@@ -194,6 +194,27 @@
|
|
|
194
194
|
}
|
|
195
195
|
},
|
|
196
196
|
"additionalProperties": false
|
|
197
|
+
},
|
|
198
|
+
"triggers": {
|
|
199
|
+
"type": "object",
|
|
200
|
+
"properties": {
|
|
201
|
+
"count": {
|
|
202
|
+
"type": "integer",
|
|
203
|
+
"exclusiveMinimum": 0,
|
|
204
|
+
"maximum": 9007199254740991
|
|
205
|
+
},
|
|
206
|
+
"minIntervalMs": {
|
|
207
|
+
"type": "integer",
|
|
208
|
+
"exclusiveMinimum": 0,
|
|
209
|
+
"maximum": 9007199254740991
|
|
210
|
+
},
|
|
211
|
+
"runsPerHour": {
|
|
212
|
+
"type": "integer",
|
|
213
|
+
"exclusiveMinimum": 0,
|
|
214
|
+
"maximum": 9007199254740991
|
|
215
|
+
}
|
|
216
|
+
},
|
|
217
|
+
"additionalProperties": false
|
|
197
218
|
}
|
|
198
219
|
},
|
|
199
220
|
"additionalProperties": false
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
-
"$id": "https://docs.nylorun.com/schemas/agent-manifest/v8.
|
|
3
|
+
"$id": "https://docs.nylorun.com/schemas/agent-manifest/v8.3.json",
|
|
4
4
|
"title": "Nylorun agent manifest 8",
|
|
5
5
|
"type": "object",
|
|
6
6
|
"properties": {
|
|
@@ -545,6 +545,27 @@
|
|
|
545
545
|
}
|
|
546
546
|
},
|
|
547
547
|
"additionalProperties": false
|
|
548
|
+
},
|
|
549
|
+
"triggers": {
|
|
550
|
+
"type": "object",
|
|
551
|
+
"properties": {
|
|
552
|
+
"count": {
|
|
553
|
+
"type": "integer",
|
|
554
|
+
"exclusiveMinimum": 0,
|
|
555
|
+
"maximum": 9007199254740991
|
|
556
|
+
},
|
|
557
|
+
"minIntervalMs": {
|
|
558
|
+
"type": "integer",
|
|
559
|
+
"exclusiveMinimum": 0,
|
|
560
|
+
"maximum": 9007199254740991
|
|
561
|
+
},
|
|
562
|
+
"runsPerHour": {
|
|
563
|
+
"type": "integer",
|
|
564
|
+
"exclusiveMinimum": 0,
|
|
565
|
+
"maximum": 9007199254740991
|
|
566
|
+
}
|
|
567
|
+
},
|
|
568
|
+
"additionalProperties": false
|
|
548
569
|
}
|
|
549
570
|
},
|
|
550
571
|
"additionalProperties": false
|
|
@@ -1779,6 +1800,10 @@
|
|
|
1779
1800
|
"description": "Defer MCP tools behind tool_search when their schemas pass the threshold",
|
|
1780
1801
|
"type": "boolean"
|
|
1781
1802
|
},
|
|
1803
|
+
"triggers": {
|
|
1804
|
+
"description": "The triggers tool and its text: the root agent sets up its own triggers; never a subagent's",
|
|
1805
|
+
"type": "boolean"
|
|
1806
|
+
},
|
|
1782
1807
|
"instructions": {
|
|
1783
1808
|
"description": "A block's wording replaced, by block name",
|
|
1784
1809
|
"type": "object",
|
|
@@ -1792,6 +1817,7 @@
|
|
|
1792
1817
|
"outputs",
|
|
1793
1818
|
"artifacts_read",
|
|
1794
1819
|
"wake",
|
|
1820
|
+
"triggers",
|
|
1795
1821
|
"memory",
|
|
1796
1822
|
"plan",
|
|
1797
1823
|
"connection",
|
|
@@ -1819,6 +1845,7 @@
|
|
|
1819
1845
|
"outputs",
|
|
1820
1846
|
"artifacts_read",
|
|
1821
1847
|
"wake",
|
|
1848
|
+
"triggers",
|
|
1822
1849
|
"memory",
|
|
1823
1850
|
"plan",
|
|
1824
1851
|
"connection",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
-
"$id": "https://docs.nylorun.com/schemas/harness-manifest/v1.
|
|
3
|
+
"$id": "https://docs.nylorun.com/schemas/harness-manifest/v1.3.json",
|
|
4
4
|
"title": "Nylorun harness manifest 1",
|
|
5
5
|
"type": "object",
|
|
6
6
|
"properties": {
|
|
@@ -1327,6 +1327,10 @@
|
|
|
1327
1327
|
"description": "Defer MCP tools behind tool_search when their schemas pass the threshold",
|
|
1328
1328
|
"type": "boolean"
|
|
1329
1329
|
},
|
|
1330
|
+
"triggers": {
|
|
1331
|
+
"description": "The triggers tool and its text: the root agent sets up its own triggers; never a subagent's",
|
|
1332
|
+
"type": "boolean"
|
|
1333
|
+
},
|
|
1330
1334
|
"instructions": {
|
|
1331
1335
|
"description": "A block's wording replaced, by block name",
|
|
1332
1336
|
"type": "object",
|
|
@@ -1340,6 +1344,7 @@
|
|
|
1340
1344
|
"outputs",
|
|
1341
1345
|
"artifacts_read",
|
|
1342
1346
|
"wake",
|
|
1347
|
+
"triggers",
|
|
1343
1348
|
"memory",
|
|
1344
1349
|
"plan",
|
|
1345
1350
|
"connection",
|
|
@@ -1367,6 +1372,7 @@
|
|
|
1367
1372
|
"outputs",
|
|
1368
1373
|
"artifacts_read",
|
|
1369
1374
|
"wake",
|
|
1375
|
+
"triggers",
|
|
1370
1376
|
"memory",
|
|
1371
1377
|
"plan",
|
|
1372
1378
|
"connection",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
-
"$id": "https://docs.nylorun.com/schemas/runtime-manifest/v1.
|
|
3
|
+
"$id": "https://docs.nylorun.com/schemas/runtime-manifest/v1.2.json",
|
|
4
4
|
"title": "Nylorun runtime manifest 1",
|
|
5
5
|
"type": "object",
|
|
6
6
|
"properties": {
|
|
@@ -208,6 +208,27 @@
|
|
|
208
208
|
}
|
|
209
209
|
},
|
|
210
210
|
"additionalProperties": false
|
|
211
|
+
},
|
|
212
|
+
"triggers": {
|
|
213
|
+
"type": "object",
|
|
214
|
+
"properties": {
|
|
215
|
+
"count": {
|
|
216
|
+
"type": "integer",
|
|
217
|
+
"exclusiveMinimum": 0,
|
|
218
|
+
"maximum": 9007199254740991
|
|
219
|
+
},
|
|
220
|
+
"minIntervalMs": {
|
|
221
|
+
"type": "integer",
|
|
222
|
+
"exclusiveMinimum": 0,
|
|
223
|
+
"maximum": 9007199254740991
|
|
224
|
+
},
|
|
225
|
+
"runsPerHour": {
|
|
226
|
+
"type": "integer",
|
|
227
|
+
"exclusiveMinimum": 0,
|
|
228
|
+
"maximum": 9007199254740991
|
|
229
|
+
}
|
|
230
|
+
},
|
|
231
|
+
"additionalProperties": false
|
|
211
232
|
}
|
|
212
233
|
},
|
|
213
234
|
"additionalProperties": false
|
package/dist/types/manifest.d.ts
CHANGED
|
@@ -184,6 +184,8 @@ export interface HarnessEngine {
|
|
|
184
184
|
readonly outputs?: boolean;
|
|
185
185
|
/** MCP tools deferred behind `tool_search` when their schemas pass the threshold. */
|
|
186
186
|
readonly toolSearch?: boolean;
|
|
187
|
+
/** The `triggers` tool and its text (D83): the root agent sets up its own triggers. */
|
|
188
|
+
readonly triggers?: boolean;
|
|
187
189
|
/** A block's wording replaced by the folder's text, by block name. */
|
|
188
190
|
readonly instructions?: Readonly<Partial<Record<EngineBlockName, string>>>;
|
|
189
191
|
/** The engine text blocks the agent gets, each with its version and the hash of its text. */
|