@nylorun/core 0.24.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.
Files changed (57) hide show
  1. package/CHANGELOG.md +22 -1
  2. package/dist/compatibility.d.ts +51 -37
  3. package/dist/compatibility.js +51 -36
  4. package/dist/contracts.d.ts +262 -93
  5. package/dist/contracts.js +262 -141
  6. package/dist/definition/approval.d.ts +1 -1
  7. package/dist/definition/bound.d.ts +2 -0
  8. package/dist/definition/builder.d.ts +2 -2
  9. package/dist/definition/builder.js +1 -1
  10. package/dist/definition/code-tools.d.ts +1 -1
  11. package/dist/definition/declaration.js +3 -0
  12. package/dist/definition/delegate.d.ts +1 -1
  13. package/dist/definition/delegate.js +1 -1
  14. package/dist/definition/from.d.ts +2 -2
  15. package/dist/definition/from.js +1 -1
  16. package/dist/definition/http-tool.d.ts +3 -3
  17. package/dist/definition/mcp.d.ts +4 -4
  18. package/dist/definition/mcp.js +3 -3
  19. package/dist/definition/sections.d.ts +5 -4
  20. package/dist/definition/sections.js +30 -7
  21. package/dist/definition/variant.d.ts +1 -1
  22. package/dist/definition/variant.js +4 -4
  23. package/dist/harness-api/entries.d.ts +1 -1
  24. package/dist/harness-api/entries.js +1 -1
  25. package/dist/harness-api/gates.d.ts +1 -1
  26. package/dist/harness-api/gates.js +1 -1
  27. package/dist/harness-api/json-schema.d.ts +1 -1
  28. package/dist/harness-api/json-schema.js +1 -1
  29. package/dist/harness-api/mcp.js +1 -1
  30. package/dist/harness-api/messages.d.ts +6 -6
  31. package/dist/harness-api/schema.d.ts +7 -7
  32. package/dist/harness-api/schema.js +16 -16
  33. package/dist/harness-api/transcript.d.ts +1 -1
  34. package/dist/harness-api/transport.d.ts +1 -1
  35. package/dist/harness-api/transport.js +1 -1
  36. package/dist/manifest-schemas.js +2 -1
  37. package/dist/schemas/agent-manifest.schema.json +3 -3
  38. package/dist/schemas/harness-manifest.schema.json +1 -1
  39. package/dist/schemas/runtime-manifest.schema.json +2 -2
  40. package/dist/types/manifest.d.ts +21 -17
  41. package/dist/types/model.d.ts +1 -1
  42. package/dist/types/observe.d.ts +1 -1
  43. package/dist/types/part.d.ts +5 -0
  44. package/dist/types/tool.d.ts +4 -4
  45. package/dist/utils/definition-files.d.ts +3 -2
  46. package/dist/utils/definition-files.js +4 -3
  47. package/dist/utils/file-systems.d.ts +1 -1
  48. package/dist/utils/file-systems.js +1 -1
  49. package/dist/utils/harness-id.d.ts +1 -1
  50. package/dist/utils/harness-id.js +1 -1
  51. package/dist/utils/memory.d.ts +2 -2
  52. package/dist/utils/memory.js +2 -2
  53. package/dist/utils/runtime-limits.d.ts +5 -5
  54. package/dist/utils/runtime-limits.js +5 -5
  55. package/dist/utils/runtime-tools.d.ts +3 -3
  56. package/dist/utils/runtime-tools.js +3 -3
  57. package/package.json +1 -1
@@ -6,7 +6,8 @@
6
6
  * (`agent.manifest.json`, whose sections may be paths), `harness-manifest.json` and
7
7
  * `runtime-manifest.json`. Each allows a top-level `$schema`, which the composer drops before it
8
8
  * saves: the Runtime's own schemas stay strict. A runtime file's `files` also allow `{ path,
9
- * from }`, a folder beside the file the composer hashes into `{ path, files }`.
9
+ * from }`, a folder beside the file the composer hashes into `{ path, files }`. A published `$id`
10
+ * keeps its content but for descriptions: a change takes a new version (`published-schemas.test.ts`).
10
11
  */
11
12
  import { z } from "zod";
12
13
  import { AGENT_MANIFEST_V8_SCHEMA_VERSION, AgentManifestFileSchema, HARNESS_MANIFEST_FILE_SCHEMA_VERSION, HarnessManifestFileSchema, RUNTIME_MANIFEST_FILE_SCHEMA_VERSION, RuntimeManifestFileSchema, } from "./contracts.js";
@@ -262,7 +262,7 @@
262
262
  "additionalProperties": {}
263
263
  },
264
264
  "memory": {
265
- "description": "The Agent's memory: Markdown files under /memories it keeps across sessions (D72)",
265
+ "description": "The Agent's memory: Markdown files under /memories it keeps across sessions",
266
266
  "type": "object",
267
267
  "properties": {
268
268
  "access": {
@@ -691,7 +691,7 @@
691
691
  }
692
692
  },
693
693
  "triggers": {
694
- "description": "What starts the Agent's turns with no client connected, by trigger id (D74)",
694
+ "description": "What starts the Agent's turns with no client connected, by trigger id",
695
695
  "type": "object",
696
696
  "propertyNames": {
697
697
  "type": "string",
@@ -703,7 +703,7 @@
703
703
  }
704
704
  },
705
705
  "selfWake": {
706
- "description": "Offer the agent schedule_wake: it books its session's next turn itself (D77)",
706
+ "description": "Offer the agent schedule_wake: it books its session's next turn itself",
707
707
  "type": "boolean"
708
708
  },
709
709
  "$schema": {
@@ -231,7 +231,7 @@
231
231
  "additionalProperties": {}
232
232
  },
233
233
  "memory": {
234
- "description": "The Agent's memory: Markdown files under /memories it keeps across sessions (D72)",
234
+ "description": "The Agent's memory: Markdown files under /memories it keeps across sessions",
235
235
  "type": "object",
236
236
  "properties": {
237
237
  "access": {
@@ -367,7 +367,7 @@
367
367
  }
368
368
  },
369
369
  "triggers": {
370
- "description": "What starts the Agent's turns with no client connected, by trigger id (D74)",
370
+ "description": "What starts the Agent's turns with no client connected, by trigger id",
371
371
  "type": "object",
372
372
  "propertyNames": {
373
373
  "type": "string",
@@ -379,7 +379,7 @@
379
379
  }
380
380
  },
381
381
  "selfWake": {
382
- "description": "Offer the agent schedule_wake: it books its session's next turn itself (D77)",
382
+ "description": "Offer the agent schedule_wake: it books its session's next turn itself",
383
383
  "type": "boolean"
384
384
  }
385
385
  },
@@ -11,8 +11,8 @@ export interface PluginLabel {
11
11
  readonly version?: string;
12
12
  }
13
13
  /**
14
- * Whether each call waits for a person's approval, in a manifest saved before R5 step 2 (the
15
- * Tool Gate holds such a call). New definitions use the Tenant's tool policy instead.
14
+ * Whether each call waits for a person's approval, in a manifest saved before the Tenant's tool
15
+ * policy (the Tool Gate holds such a call). New definitions use the Tenant's tool policy instead.
16
16
  */
17
17
  export type ApprovalMode = "never" | "always";
18
18
  /**
@@ -37,12 +37,16 @@ export interface HttpToolTarget {
37
37
  readonly method?: HttpToolMethod;
38
38
  /**
39
39
  * Adds a vault credential to each request, as for a remote MCP server: the credential in the
40
- * vault of the session's Environment bound to `url` (a `bearer` token or a `headers` map, sent
41
- * to its `via` when it has one, with its identity header). This name labels it in coverage.
40
+ * vault of the session's Agent bound to `url` (a `bearer` token or a `headers` map, sent to its
41
+ * `via` when it has one, with its identity header). In an agent manifest v8 it names a
42
+ * `runtime.secrets` slot, checked when the manifest is saved; it labels the tool in coverage.
42
43
  * When the vault holds none, the call fails with `http.credential` and is not sent.
43
44
  */
44
45
  readonly credential?: string;
45
- /** How long the service may take to answer. Default 60000, at most 300000. */
46
+ /**
47
+ * How long the service may take to answer. Default 60000, at most the Tenant's Runtime limit
48
+ * `httpToolTimeoutMs` (`PUT /v1/tenant/limits`).
49
+ */
46
50
  readonly timeoutMs?: number;
47
51
  }
48
52
  export interface ToolManifest {
@@ -59,7 +63,7 @@ export interface ToolManifest {
59
63
  /** Present when the Runtime runs this tool as an HTTP request. Never with `agent`. */
60
64
  readonly http?: HttpToolTarget;
61
65
  /**
62
- * @deprecated Removed in R5 step 2: the Runtime refuses a definition that sets it, and tool
66
+ * @deprecated Removed with the Tenant's tool policy: the Runtime refuses a definition that sets it, and tool
63
67
  * approvals are the Tenant's tool policy (`PUT /v1/tenant/tool-policy`). Read only from
64
68
  * manifests saved before, which the Tool Gate still holds for approval.
65
69
  */
@@ -78,17 +82,17 @@ export interface SkillManifest {
78
82
  readonly plugin?: PluginLabel;
79
83
  }
80
84
  /**
81
- * One tool's settings on an MCP server (manifest v6, R2b C9). Each setting resolves from the
85
+ * One tool's settings on an MCP server (manifest v6). Each setting resolves from the
82
86
  * tool's own entry, then the `"*"` entry, then the server, then the default.
83
87
  */
84
88
  export interface McpToolSettings {
85
89
  /** `false`: the tool never reaches the model and cannot be called. Default `true`. */
86
90
  readonly enabled?: boolean;
87
- /** @deprecated Removed in R5 step 2, as `ToolManifest.approval`; read only from older manifests. */
91
+ /** @deprecated Removed, as `ToolManifest.approval`; read only from older manifests. */
88
92
  readonly approval?: ApprovalMode;
89
93
  /**
90
94
  * `true`: the tool leaves the model's tool list; the model finds it with `tool_search` and runs
91
- * it with `tool_call` (R2b C10). A hint the harness reads (`turn.start.mcp`): Nylorun's engine
95
+ * it with `tool_call`. A hint the harness reads (`turn.start.mcp`): Nylorun's engine
92
96
  * follows it, and without one defers when the agent's MCP tools would take more than a tenth of
93
97
  * the model's context window.
94
98
  */
@@ -98,12 +102,12 @@ interface McpServerFields {
98
102
  readonly name: string;
99
103
  readonly url: string;
100
104
  readonly headers?: Readonly<Record<string, string>>;
101
- /** @deprecated Removed in R5 step 2, as `ToolManifest.approval`; read only from older manifests. */
105
+ /** @deprecated Removed, as `ToolManifest.approval`; read only from older manifests. */
102
106
  readonly approval?: ApprovalMode;
103
- /** Defers every tool of the server, or none (manifest v6, R2b C10). Default: automatic. */
107
+ /** Defers every tool of the server, or none (manifest v6). Default: automatic. */
104
108
  readonly deferred?: boolean;
105
109
  /**
106
- * Settings per tool (manifest v6, R2b C9), keyed by the server's own tool name (before C6
110
+ * Settings per tool (manifest v6), keyed by the server's own tool name (before
107
111
  * renaming), with `"*"` for every tool without an entry: `{"*": {enabled: false}}` and an
108
112
  * entry per wanted tool make an allowlist.
109
113
  */
@@ -151,10 +155,10 @@ export interface AgentManifest {
151
155
  readonly tools?: readonly ToolManifest[];
152
156
  readonly skills?: Readonly<Record<string, SkillManifest>>;
153
157
  readonly mcpServers?: Readonly<Record<string, McpServerManifest>>;
154
- /** What the agent needs of its session's Environment, checked when a session opens (D65). */
158
+ /** What the agent needs of its session's Environment, checked when a session opens. */
155
159
  readonly requires?: AgentRequirements;
156
160
  }
157
- /** What an agent needs of the Environment its session opens on (protocol 14, D65). */
161
+ /** What an agent needs of the Environment its session opens on (protocol 14). */
158
162
  export interface AgentRequirements {
159
163
  /** `any`: kind `virtual` or `pod`; `pod`: kind `pod`; `none`: nothing. */
160
164
  readonly sandbox?: "none" | "any" | "pod";
@@ -162,7 +166,7 @@ export interface AgentRequirements {
162
166
  readonly secrets?: readonly string[];
163
167
  }
164
168
  /**
165
- * Agent manifest v8 (protocol 16, track T2): one versioned document saved at
169
+ * Agent manifest v8 (protocol 16): one versioned document saved at
166
170
  * `/v1/agent-manifests/{name}`, with what runs inside the agent loop (`harness`) and what the
167
171
  * Runtime provides around it (`runtime`). An Agent is made from one version of it.
168
172
  */
@@ -197,11 +201,11 @@ export interface AgentHarnessSection {
197
201
  readonly outputSchema?: JsonObject;
198
202
  /** The harness's own settings: passed to it in `turn.start`, never read by the Runtime. */
199
203
  readonly loop?: JsonObject;
200
- /** Turns on the Agent's memory (track T5, D72): Markdown files it keeps across sessions. */
204
+ /** Turns on the Agent's memory: Markdown files it keeps across sessions. */
201
205
  readonly memory?: AgentMemorySettings;
202
206
  }
203
207
  /**
204
- * `harness.memory` (track T5, D72): the Agent's memory, the same in every turn whoever starts it.
208
+ * `harness.memory`: the Agent's memory, the same in every turn whoever starts it.
205
209
  * `access` is `read_write` (the default) or `read_only`; `instructions` tell the model what this
206
210
  * agent should remember, after the engine's own memory rules.
207
211
  */
@@ -134,7 +134,7 @@ export interface ModelRequest {
134
134
  readonly instructions: readonly string[];
135
135
  /**
136
136
  * Text the engine keeps at the head of the conversation, after the instructions, as user-role
137
- * context: the Agent's memory index (track T5). The same for every call until it is re-pinned.
137
+ * context: the Agent's memory index. The same for every call until it is re-pinned.
138
138
  */
139
139
  readonly pinned?: readonly string[];
140
140
  readonly context: ContextSnapshot;
@@ -13,7 +13,7 @@ export interface WorkflowErrorPayload {
13
13
  *
14
14
  * @deprecated Use the event catalog (`EVENT_CATALOG`, `SessionEventOf<"node.agent">` in
15
15
  * `@nylorun/core/contracts`): it types the events the Runtime writes. `node.completed` is
16
- * written for a flow's HTTP stages only (R7.1), with more fields; `node.failed`,
16
+ * written for a flow's HTTP stages only, with more fields; `node.failed`,
17
17
  * `switch.selected`, `map.items` and `loop.waiting` are not written.
18
18
  */
19
19
  export type WorkflowLiveEventPayload = {
@@ -21,5 +21,10 @@ export interface PartDeclaration<Info = unknown> {
21
21
  readonly skills?: Readonly<Record<string, SkillManifest>>;
22
22
  /** Each skill file's bytes, by `sha256:<hex>`, for the client to upload. Not projected into the manifest. */
23
23
  readonly skillFiles?: Readonly<Record<string, SkillFileSource>>;
24
+ /**
25
+ * The secret slots each skill's scripts read, by skill name (a SKILL.md's `secrets`): the
26
+ * harness section's `skills.<name>.secrets` when the agent is saved. Not projected into the manifest.
27
+ */
28
+ readonly skillSecrets?: Readonly<Record<string, readonly string[]>>;
24
29
  readonly mcpServers?: Readonly<Record<string, McpServerManifest>>;
25
30
  }
@@ -154,7 +154,7 @@ export type ToolExecutionContext<Info = unknown> = ToolExecutionContextBase & {
154
154
  };
155
155
  export type ToolContent = JsonValue;
156
156
  /**
157
- * A file the model sees beside a tool's output (R2b C11): an image a tool returned, which the
157
+ * A file the model sees beside a tool's output: an image a tool returned, which the
158
158
  * Runtime stored as an artifact. `reference` is the host's, as a message's media part carries it:
159
159
  * the model call resolves it, and a model that reads no images gets a note instead.
160
160
  */
@@ -165,11 +165,11 @@ export type ToolResultFile = {
165
165
  export type ToolOutcome<Output = ToolContent> = {
166
166
  readonly kind: "completed";
167
167
  readonly output: Output;
168
- /** Files the model sees beside the output (R2b C11). */
168
+ /** Files the model sees beside the output. */
169
169
  readonly files?: readonly ToolResultFile[];
170
170
  /**
171
- * The output is the Runtime's preview of a larger result it stored as an artifact (R2b
172
- * C11), not the tool's own, so the tool's output schema is not checked against it.
171
+ * The output is the Runtime's preview of a larger result it stored as an artifact, not
172
+ * the tool's own, so the tool's output schema is not checked against it.
173
173
  */
174
174
  readonly truncated?: boolean;
175
175
  } | {
@@ -1,6 +1,7 @@
1
1
  /**
2
2
  * The most bytes one skill's files may hold together when the Tenant sets no limit of its own
3
- * (2 GiB, Tenant setting `skills.config`); an Environment's manifest may set a lower one. No file
3
+ * (2 GiB, Tenant setting `skills.config`); an agent manifest's `runtime.limits.skills.totalBytes`
4
+ * may set a lower one. No file
4
5
  * and no count of files has a limit of its own.
5
6
  */
6
7
  export declare const SKILL_TOTAL_BYTES_DEFAULT: number;
@@ -15,7 +16,7 @@ export declare const SKILLS_MOUNT = "/skills";
15
16
  */
16
17
  export declare const SKILL_FILE_PATH_MAX: number;
17
18
  /**
18
- * The folder of a sandbox that holds one version of a skill, read-only (D66):
19
+ * The folder of a sandbox that holds one version of a skill, read-only:
19
20
  * `/skills/<name>@<12 hex>`, the hex from the SHA-256 of its canonical file map. A version keeps
20
21
  * its folder and is never replaced, so sessions whose agents carry different versions of a skill
21
22
  * share an Environment without changing each other's files.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Definition files (track R2 M4): the files a definition names by content hash, uploaded once
2
+ * Definition files: the files a definition names by content hash, uploaded once
3
3
  * with `PUT /v1/files/sha256:<hex>` and held by the Runtime. Today they are the files of a
4
4
  * skill's folder (`SkillManifest.files`). Shared by the SDK, the wire schema and the Runtime.
5
5
  */
@@ -9,7 +9,8 @@ import { canonical } from "./canonical.js";
9
9
  import { FILE_NAME_MAX, FILE_PATH_MAX } from "./file-systems.js";
10
10
  /**
11
11
  * The most bytes one skill's files may hold together when the Tenant sets no limit of its own
12
- * (2 GiB, Tenant setting `skills.config`); an Environment's manifest may set a lower one. No file
12
+ * (2 GiB, Tenant setting `skills.config`); an agent manifest's `runtime.limits.skills.totalBytes`
13
+ * may set a lower one. No file
13
14
  * and no count of files has a limit of its own.
14
15
  */
15
16
  export const SKILL_TOTAL_BYTES_DEFAULT = 2 * 1024 * 1024 * 1024;
@@ -24,7 +25,7 @@ export const SKILLS_MOUNT = "/skills";
24
25
  */
25
26
  export const SKILL_FILE_PATH_MAX = FILE_PATH_MAX - `${SKILLS_MOUNT}/${"n".repeat(FILE_NAME_MAX)}@${"0".repeat(12)}/`.length;
26
27
  /**
27
- * The folder of a sandbox that holds one version of a skill, read-only (D66):
28
+ * The folder of a sandbox that holds one version of a skill, read-only:
28
29
  * `/skills/<name>@<12 hex>`, the hex from the SHA-256 of its canonical file map. A version keeps
29
30
  * its folder and is never replaced, so sessions whose agents carry different versions of a skill
30
31
  * share an Environment without changing each other's files.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * What the file systems a workspace lives on take (B15: constants fixed by a standard, not
2
+ * What the file systems a workspace lives on take (constants fixed by a standard, not
3
3
  * limits): artifact names and folder paths are written as file names and paths there, when an
4
4
  * artifact is copied into a sandbox, a folder unpacked, a skill mounted or a file downloaded.
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /**
2
- * What the file systems a workspace lives on take (B15: constants fixed by a standard, not
2
+ * What the file systems a workspace lives on take (constants fixed by a standard, not
3
3
  * limits): artifact names and folder paths are written as file names and paths there, when an
4
4
  * artifact is copied into a sandbox, a folder unpacked, a skill mounted or a file downloaded.
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Harness ids (track R4): the name a harness says in `hello`, an Environment's `harness`, and the
2
+ * Harness ids: the name a harness says in `hello`, an Environment's `harness`, and the
3
3
  * key of the Tenant's placement. A session runs the harness it pinned when it opened.
4
4
  */
5
5
  /** The harness of a session that names no other: ours (`@nylorun/harness`). */
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Harness ids (track R4): the name a harness says in `hello`, an Environment's `harness`, and the
2
+ * Harness ids: the name a harness says in `hello`, an Environment's `harness`, and the
3
3
  * key of the Tenant's placement. A session runs the harness it pinned when it opened.
4
4
  */
5
5
  /** The harness of a session that names no other: ours (`@nylorun/harness`). */
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Agent memory (track T5, D72): what a memory's path may be, and what its index line shows.
2
+ * Agent memory: what a memory's path may be, and what its index line shows.
3
3
  * The Runtime and the engine's `memory` tool share these rules, so a path the tool accepts is one
4
4
  * the Runtime stores.
5
5
  *
@@ -57,7 +57,7 @@ export declare function checkMemoryCall(input: unknown): {
57
57
  error: string;
58
58
  };
59
59
  /**
60
- * The `memory` call a tool name stands for when a model names the command in it (E-P1):
60
+ * The `memory` call a tool name stands for when a model names the command in it:
61
61
  * `memory.create` and `memory/create` are `memory` with `command: "create"`. Answers the command,
62
62
  * or `undefined` for any other name.
63
63
  */
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Agent memory (track T5, D72): what a memory's path may be, and what its index line shows.
2
+ * Agent memory: what a memory's path may be, and what its index line shows.
3
3
  * The Runtime and the engine's `memory` tool share these rules, so a path the tool accepts is one
4
4
  * the Runtime stores.
5
5
  *
@@ -128,7 +128,7 @@ export function checkMemoryCall(input) {
128
128
  return { command: command, args };
129
129
  }
130
130
  /**
131
- * The `memory` call a tool name stands for when a model names the command in it (E-P1):
131
+ * The `memory` call a tool name stands for when a model names the command in it:
132
132
  * `memory.create` and `memory/create` are `memory` with `command: "create"`. Answers the command,
133
133
  * or `undefined` for any other name.
134
134
  */
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Runtime limits (harness boundary S0, B15): the sizes, counts and deadlines the Runtime holds
2
+ * Runtime limits: the sizes, counts and deadlines the Runtime holds
3
3
  * what crosses it to, one Tenant setting (`limits.config`, `GET`/`PUT /v1/tenant/limits`) with a
4
4
  * default each. A harness learns the ones it must respect from `turn.start.limits`
5
5
  * (`HarnessLimitsSchema`, a part of them).
@@ -37,7 +37,7 @@ export declare const TIMER_MAX_MS: number;
37
37
  */
38
38
  export declare const LINUX_ARG_MAX_BYTES: number;
39
39
  /**
40
- * The Runtime limits: the harness's (above), and the ones only the Runtime checks (B15), by area.
40
+ * The Runtime limits: the harness's (above), and the ones only the Runtime checks, by area.
41
41
  *
42
42
  * Requests and uploads:
43
43
  * - `requestBodyBytes`: the largest JSON body a Runtime or Management API route reads.
@@ -107,7 +107,7 @@ export declare const LINUX_ARG_MAX_BYTES: number;
107
107
  * longest `reason` or `matches` expression.
108
108
  * - `modelBudgets`: the most model budgets the Tenant sets.
109
109
  *
110
- * Triggers (track T4, D74; checked when a manifest is saved, and when a trigger fires):
110
+ * Triggers (checked when a manifest is saved, and when a trigger fires):
111
111
  * - `triggersPerAgent`: the most triggers one agent manifest declares.
112
112
  * - `triggerMinIntervalMs`: the shortest gap between two runs of one schedule (cron is minute
113
113
  * grained, so at least a minute), checked over its next fires at save.
@@ -117,13 +117,13 @@ export declare const LINUX_ARG_MAX_BYTES: number;
117
117
  * its runs, as a part of its interval and at most.
118
118
  * - `triggerPromptChars`: the longest prompt one trigger holds.
119
119
  * - `triggerRunRetentionMs`: how long runs are kept; they dedupe repeated fires, so at least a day.
120
- * - `wakeMaxAheadMs`: how far ahead `schedule_wake` may book a session's next turn (D77); at least
120
+ * - `wakeMaxAheadMs`: how far ahead `schedule_wake` may book a session's next turn; at least
121
121
  * `triggerMinIntervalMs` ahead too. A long wait is armed in steps, so it has no timer ceiling.
122
122
  * - `wakeNoteChars`: the longest note a booked wake carries to its turn.
123
123
  * - `webhookBodyBytes`: the largest delivery a webhook endpoint reads, before it verifies it
124
124
  * (`413` past it); the payload goes into the turn's message, one record entry.
125
125
  *
126
- * Memory (track T5, D72; checked on every write):
126
+ * Memory (checked on every write):
127
127
  * - `memoryBytes`: the largest memory, in UTF-8 bytes.
128
128
  * - `memoriesPerAgent`: the most memories one Agent holds.
129
129
  * - `memoryIndexLines`, `memoryIndexBytes`: the most lines and UTF-8 bytes of the index a session
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Runtime limits (harness boundary S0, B15): the sizes, counts and deadlines the Runtime holds
2
+ * Runtime limits: the sizes, counts and deadlines the Runtime holds
3
3
  * what crosses it to, one Tenant setting (`limits.config`, `GET`/`PUT /v1/tenant/limits`) with a
4
4
  * default each. A harness learns the ones it must respect from `turn.start.limits`
5
5
  * (`HarnessLimitsSchema`, a part of them).
@@ -80,7 +80,7 @@ const harnessLimits = {
80
80
  folderEntries: z.number().int().positive(),
81
81
  };
82
82
  /**
83
- * The Runtime limits: the harness's (above), and the ones only the Runtime checks (B15), by area.
83
+ * The Runtime limits: the harness's (above), and the ones only the Runtime checks, by area.
84
84
  *
85
85
  * Requests and uploads:
86
86
  * - `requestBodyBytes`: the largest JSON body a Runtime or Management API route reads.
@@ -150,7 +150,7 @@ const harnessLimits = {
150
150
  * longest `reason` or `matches` expression.
151
151
  * - `modelBudgets`: the most model budgets the Tenant sets.
152
152
  *
153
- * Triggers (track T4, D74; checked when a manifest is saved, and when a trigger fires):
153
+ * Triggers (checked when a manifest is saved, and when a trigger fires):
154
154
  * - `triggersPerAgent`: the most triggers one agent manifest declares.
155
155
  * - `triggerMinIntervalMs`: the shortest gap between two runs of one schedule (cron is minute
156
156
  * grained, so at least a minute), checked over its next fires at save.
@@ -160,13 +160,13 @@ const harnessLimits = {
160
160
  * its runs, as a part of its interval and at most.
161
161
  * - `triggerPromptChars`: the longest prompt one trigger holds.
162
162
  * - `triggerRunRetentionMs`: how long runs are kept; they dedupe repeated fires, so at least a day.
163
- * - `wakeMaxAheadMs`: how far ahead `schedule_wake` may book a session's next turn (D77); at least
163
+ * - `wakeMaxAheadMs`: how far ahead `schedule_wake` may book a session's next turn; at least
164
164
  * `triggerMinIntervalMs` ahead too. A long wait is armed in steps, so it has no timer ceiling.
165
165
  * - `wakeNoteChars`: the longest note a booked wake carries to its turn.
166
166
  * - `webhookBodyBytes`: the largest delivery a webhook endpoint reads, before it verifies it
167
167
  * (`413` past it); the payload goes into the turn's message, one record entry.
168
168
  *
169
- * Memory (track T5, D72; checked on every write):
169
+ * Memory (checked on every write):
170
170
  * - `memoryBytes`: the largest memory, in UTF-8 bytes.
171
171
  * - `memoriesPerAgent`: the most memories one Agent holds.
172
172
  * - `memoryIndexLines`, `memoryIndexBytes`: the most lines and UTF-8 bytes of the index a session
@@ -1,10 +1,10 @@
1
1
  /**
2
- * Our engine's tool that stores a sandbox file, or inline text, as a file artifact of the session
3
- * (F8.1). Since protocol 15 it runs in our harness (`@nylorun/harness`), not the Runtime.
2
+ * Our engine's tool that stores a sandbox file, or inline text, as a file artifact of the
3
+ * session. Since protocol 15 it runs in our harness (`@nylorun/harness`), not the Runtime.
4
4
  */
5
5
  export declare const SAVE_ARTIFACT_TOOL = "save_artifact";
6
6
  /**
7
- * Our engine's tool that reads an artifact of the session in pages (R2b C11). Since protocol 15 it
7
+ * Our engine's tool that reads an artifact of the session in pages. Since protocol 15 it
8
8
  * runs in our harness, which also names it in a spilled tool result's stub and in a file's
9
9
  * reference line.
10
10
  */
@@ -1,10 +1,10 @@
1
1
  /**
2
- * Our engine's tool that stores a sandbox file, or inline text, as a file artifact of the session
3
- * (F8.1). Since protocol 15 it runs in our harness (`@nylorun/harness`), not the Runtime.
2
+ * Our engine's tool that stores a sandbox file, or inline text, as a file artifact of the
3
+ * session. Since protocol 15 it runs in our harness (`@nylorun/harness`), not the Runtime.
4
4
  */
5
5
  export const SAVE_ARTIFACT_TOOL = "save_artifact";
6
6
  /**
7
- * Our engine's tool that reads an artifact of the session in pages (R2b C11). Since protocol 15 it
7
+ * Our engine's tool that reads an artifact of the session in pages. Since protocol 15 it
8
8
  * runs in our harness, which also names it in a spilled tool result's stub and in a file's
9
9
  * reference line.
10
10
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nylorun/core",
3
- "version": "0.24.0-beta",
3
+ "version": "0.26.0-beta",
4
4
  "type": "module",
5
5
  "license": "Apache-2.0",
6
6
  "description": "Shared agent definitions and wire contracts",