@nylorun/core 0.26.0-beta → 0.28.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 (47) hide show
  1. package/CHANGELOG.md +54 -0
  2. package/README.md +6 -0
  3. package/dist/compatibility.d.ts +11 -2
  4. package/dist/compatibility.js +10 -0
  5. package/dist/contracts.d.ts +362 -0
  6. package/dist/contracts.js +131 -5
  7. package/dist/define.d.ts +2 -1
  8. package/dist/define.js +2 -1
  9. package/dist/definition/cron.d.ts +15 -0
  10. package/dist/definition/cron.js +155 -0
  11. package/dist/definition/sections.d.ts +11 -0
  12. package/dist/definition/sections.js +29 -20
  13. package/dist/folder/compile.d.ts +87 -0
  14. package/dist/folder/compile.js +1280 -0
  15. package/dist/folder/context.d.ts +97 -0
  16. package/dist/folder/context.js +79 -0
  17. package/dist/folder/decompile.d.ts +18 -0
  18. package/dist/folder/decompile.js +660 -0
  19. package/dist/folder/fix.d.ts +22 -0
  20. package/dist/folder/fix.js +191 -0
  21. package/dist/folder/flow.d.ts +42 -0
  22. package/dist/folder/flow.js +215 -0
  23. package/dist/folder/frontmatter.d.ts +21 -0
  24. package/dist/folder/frontmatter.js +91 -0
  25. package/dist/folder/index.d.ts +12 -0
  26. package/dist/folder/index.js +12 -0
  27. package/dist/folder/json-schema.d.ts +15 -0
  28. package/dist/folder/json-schema.js +212 -0
  29. package/dist/folder/json.d.ts +28 -0
  30. package/dist/folder/json.js +183 -0
  31. package/dist/folder/nested.d.ts +24 -0
  32. package/dist/folder/nested.js +378 -0
  33. package/dist/folder/plugins.d.ts +23 -0
  34. package/dist/folder/plugins.js +155 -0
  35. package/dist/folder/schemas.d.ts +8 -0
  36. package/dist/folder/schemas.js +238 -0
  37. package/dist/folder/suggest.d.ts +13 -0
  38. package/dist/folder/suggest.js +63 -0
  39. package/dist/schemas/agent-folder/agent-md.schema.json +143 -0
  40. package/dist/schemas/agent-folder/flow.schema.json +466 -0
  41. package/dist/schemas/agent-folder/mcp.schema.json +59 -0
  42. package/dist/schemas/agent-folder/runtime.schema.json +447 -0
  43. package/dist/schemas/agent-folder/tool.schema.json +77 -0
  44. package/dist/schemas/agent-folder/trigger-md.schema.json +65 -0
  45. package/dist/utils/runtime-limits.d.ts +8 -0
  46. package/dist/utils/runtime-limits.js +19 -0
  47. package/package.json +14 -3
package/CHANGELOG.md CHANGED
@@ -1,5 +1,59 @@
1
1
  # @nylorun/core
2
2
 
3
+ ## 0.28.0-beta
4
+
5
+ ### Minor Changes
6
+
7
+ - 498d972: `nylorun check --fix` makes the edits the compiler's diagnostics carry (track T7). A diagnostic one edit fixes has a `fix` (`AgentFolderFix`, in `AgentFolderDiagnostic` and the Runtime API's): `rename_key` for an unknown key with exactly one did-you-mean (in `AGENT.md`, a trigger, a `SKILL.md`, a tool file, `runtime.json`, `mcp.json`, `flow.json` and a JSON Schema's keywords), at its line and column, and none when two keys are as close or the key it would be is already there; `crlf` for a file with CRLF line ends, which is now a `crlf` note (it is read as LF, as before); and `move_skill_secrets` for `secrets` in a root skill's `SKILL.md`, when `AGENT.md` lists none for the skill, or lists them all. Messages, manifests and hashes are unchanged. `applyFolderFixes` in `@nylorun/core/folder` makes them on text: the key token renamed with every other byte kept, LF line ends, and the secrets moved to `AGENT.md`'s `skills` block as `migrate folder` writes it, skipping (with why) a fix whose text is no longer where it was.
8
+
9
+ `nylorun check` marks each fixable problem `(fixable with --fix)` and writes nothing. `check --fix` makes the edits in the folder's files, prints each change by file, and checks again until nothing is left to fix; it leaves a file whose bytes changed since it was checked (writing nothing when one changes while it fixes), and a `runtime.json` that `extends` another. `check --json` gives each diagnostic's `fix`, and with `--fix` each folder's `fixed` and `unfixed`.
10
+
11
+ - d23304e: `compileAgentFolder` gives every verdict that needs no Runtime, so `nylorun check` is the whole truth offline, with file, line and column. Each `inputSchema`, `outputSchema` and schema file is checked as JSON Schema 2020-12 (`json_schema_invalid`: a `type` such as `"objekt"`, with a did-you-mean, `properties` that is not a map, `required` that is not a list of names, in every nested schema) and as the engine reads it each turn (`if`/`then`, `not`, `dependentRequired`, `unevaluatedProperties`, a `$ref` outside `$defs` are refused); a keyword close to a known one (`proprties`) is a warning. A trigger's cron and time zone are read as the Runtime reads them (`schedule_invalid`, `timezone_invalid`, with a did-you-mean), in `triggers/*.md` and in `runtime.json`. The harness and runtime sections are checked against each other at the field that asks (`manifest_inconsistent`: skills with no sandbox, a custom harness such as `harness: workflow` off a pod, a credential bound to another URL), and the runtime's kind against what the folder asks of it (`runtime_kind`: `files/` needs a pod, `network` a sandbox). `approval` is no longer a key in `AGENT.md`, a tool file, `mcp.json` or a server's tool settings: `approval_removed` names the Tenant's tool policy (`nylorun tenant tool-policy`) as the way to ask a person.
12
+
13
+ Secrets warn, never refuse. A `.env` or key file is a `secret_file` warning instead of a refusal, and a literal value in an `Authorization`, `X-Api-Key`, `Api-Key`, `Cookie` or `*-Token` header, or a token-shaped string (`ghp_`, `github_pat_`, `sk-`, `xox…-`, a JWT) in any `mcp.json` header, is a `secret_literal` warning. Each says the folder is kept byte-exact as the version's source, readable with `agents:read`, and names `"Bearer ${NAME}"` with the value in the Agent's vault. A root `tool-policy.json`, `policy.json` or `*.policy.json` is a `tool_policy_file` warning: tool policy is the Tenant's.
14
+
15
+ Messages are the compiler's own: a field, what it takes and a did-you-mean (`kind is "virtual", "pod" or "none", not "virtal". Did you mean 'virtual'?`), never zod's `Invalid input` or `Too small`; a typo inside `memory` is named at its key, not as an invalid harness; a missing `session` and an empty trigger body say what they are. A `loop` key the nylorun harness does not read (`loop_key`) and an agent with no instructions (`instructions_empty`) are warnings. CRLF frontmatter compiles as LF does. `instructions/*.md` are read in natural order (`2-x.md` before `10-y.md`), which changes the manifest only for folders with ten or more of them. `$schema` is accepted in every JSON file and left out of the manifest (a JSON Schema's own stays, as its dialect); one that names another kind of file, or a schema that is not ours, is a `schema_url` warning, and `runtime.json` also takes the `runtime-manifest` schema. `@nylorun/core/define` adds `sectionGapsAt` (each gap with its manifest path), `cronScheduleIssue`, `isTimeZone` and `timeZoneNames`.
16
+
17
+ - b3dad06: Agent folders convert both ways (track T7, D80). `folderOfManifest(manifest)` in `@nylorun/core/folder` (also exported by `@nylorun/agents`) writes the agent folder that compiles back to the same manifest: name, description, metadata, harness, memory, loop and server and skill settings in `AGENT.md`, the first instruction as its body and the rest as `instructions/NN-*.md`, HTTP tools as `tools/<name>.json`, subagents as `agents/<name>/`, a flow as `flow.json` (v3's node tree, naming agents by id and tools by file name) with one flat `agents/<id>/` for its agents and its sub-flows' (a sub-flow is an `agents/<id>/` with its own `flow.json`, and a tool stage or HTTP verifier a `tools/<name>.json` beside the `flow.json` that names it), MCP servers in `mcp.json` with `Bearer ${SLOT}` or `${SLOT}` for a credential, triggers as `triggers/<id>.md`, and `runtime.json` without the slots the compiler derives the same way. It checks itself by compiling the folder, says whether the hash is the same (`exact`), and notes what it writes differently. Skills are written from their bytes when given them, else as a placeholder with the files to copy in. An embedded agent's display `name` is left out with a note, since a folder names an agent by its id.
18
+
19
+ `nylorun export --folder <name>[@<version>]` writes the folder of a saved manifest, from JSON or TypeScript; `nylorun migrate folder <dir>` writes the folder of a three-file folder, offline, with its skills; `nylorun pull <name>[@<version>]` writes back the folder a version was saved from, byte for byte, and says to use `export --folder` for a version saved as JSON. None writes over a file with other bytes.
20
+
21
+ Deprecated, still read: the three-file format (`agent.manifest.json`), whose `composeManifest` and `nylorun apply` now warn and name `nylorun migrate folder`, and `secrets` in a `SKILL.md`, which the skills loader warns about (a `DeprecationWarning` from `.skills()`): an agent folder lists a skill's secrets in `AGENT.md`.
22
+
23
+ - b3dad06: Agent folders compile flows, subagents and vendored Agent Plugins (track T7). `agents/<id>/` of an agent is offered to it as a tool, as the TypeScript builder offers an agent used as a tool: named `<id>`, input `{ task }`, one level deep, with no `runtime.json`, `triggers/` or `files/` of its own. `flow.json` makes a folder a flow (`harness.kind: "workflow"`, v3's node tree): every `flow.json` under the flow root names stages from the root's one `agents/` by id, a stage with its own `flow.json` is a sub-flow, and the compiler embeds each agent where v3 wants it. `"tool": "<name>"` names `tools/<name>.json` beside the `flow.json`, and a loop's `verify` takes `{ agent }` or `{ tool }`. A flow's `AGENT.md` takes `inputSchema` and has no body; an unknown agent or tool is an error with its file, line, column and a did-you-mean, and an agent no flow names is a warning. `plugins/<name>/` folds a plugin's skills and `mcp.json` servers as `.plugin()` does, labelled, and notes what Nylorun does not run (hooks, commands). Diagnostics keep their file, line and column across nested folders (`agents/research/flow.json:3:12`). New codes: `flow_invalid`, `flow_body`, `flow_refused`, `flow_namespace`, `flow_cycle`, `agent_unknown`, `agent_unused`, `agent_name`, `tool_unknown`, `tool_unused`, `tool_twice`, `input_schema_refused`, `nested_refused`, `subagent_depth`, `credential_unsupported`, `plugin_invalid`, `plugin_unknown_key`, `plugin_duplicate` and `plugin_part_ignored`. `flow.json`, `agents/` and `plugins/` are no longer refused as `not_supported`.
24
+ - 498d972: JSON Schemas for each kind of file in an agent folder (track T7, design §3.10), the ones `nylorun init` maps in `.vscode/settings.json` and the compiler takes in `$schema`. Each is JSON Schema 2020-12 at `https://docs.nylorun.com/schemas/agent-folder/v1/<kind>.json`, exported as `@nylorun/core/schemas/agent-folder-<kind>.json`: `runtime` (`runtime.json`, with `$schema` and `extends`, and `kind` required unless `extends` names a file that gives it), `tool` (`tools/<name>.json`), `mcp` (`mcp.json`, Agent Plugins syntax), `flow` (`flow.json`'s node tree: exactly one of `agent`, `tool`, `chain`, `switch`, `parallel`, `map` and `loop`, and `id`), and `agent-md` and `trigger-md` for the frontmatter of `AGENT.md` and `triggers/<id>.md`. `agentFolderJsonSchemas()` in `@nylorun/core/folder` gives them by kind (`AGENT_FOLDER_SCHEMA_KINDS`). They are built from what the compiler checks: its key lists name each document's properties, and a value the manifest takes as it is comes from the manifest's own schema, so an unknown key is refused where the compiler refuses it, and `loop` and `metadata` stay open. `@nylorun/core/contracts` also exports `HttpToolTargetSchema`, `McpToolSettingsSchema`, `HarnessMemorySchema` and `AGENT_MANIFEST_NAME_PATTERN`, which they are built from.
25
+
26
+ `flow.json` now takes `$schema`, as every JSON file of a folder does: the compiler refused it before. A URL that names another kind of file is a warning.
27
+
28
+ - b3dad06: Compare two versions' agent folders, and set what a folder may hold per Tenant (track T7).
29
+
30
+ - **`GET /v1/agent-manifests/{name}/source/diff?from=<v>&to=<v>`** answers the files added, removed and changed (by SHA-256) from one version's source to another's, each list sorted by path, and how many stayed the same (`AgentManifestSourceDiff` in `@nylorun/core/contracts`). A version saved as JSON has no source (`404`); a `from` or `to` that is not a version number is `400`. `client.agentManifests.sourceDiff(name, from, to)` in `@nylorun/agents` calls it.
31
+ - **Folder limits are Tenant settings**: the Runtime limits `folderFiles` (2,000), `folderBytes` (50 MiB) and `folderTextFileBytes` (1 MiB), T6's fixed values, set with `PUT /v1/tenant/limits` like the others. A folder save with more files or bytes is `413 limit_exceeded` (`details.limit` names the limit), and the compiler holds each Markdown or JSON file to `folderTextFileBytes` (`422 folder_invalid`).
32
+ - `compileAgentFolder({ entries, files, name, limits })` takes the limits as an optional input (`AgentFolderLimits`); each left out is `AGENT_FOLDER_LIMITS`'.
33
+ - `@nylorun/agents` also exports the types `AgentManifestSource`, `AgentManifestSourceDiff`, `AgentManifestSourceSummary` and `AgentFolderDiagnostic`, and `AGENT_FOLDER_MEDIA_TYPE`.
34
+
35
+ ### Patch Changes
36
+
37
+ - b3dad06: Both ends of the agent folder loop (track T7).
38
+
39
+ - `nylorun init <path>` names the agent after the path's last segment (`init agents/hello`). `--example` adds `tools/get_order.json`, `mcp.json` (a `Bearer ${ORDERS_MCP_TOKEN}` header) and `triggers/new-order.md`, explained in the folder's README.md, and the result passes `nylorun check`. The first run in a project (the nearest directory with `.git`) writes `.gitattributes` (`* text=auto eol=lf`), ignores `.nylorun/credentials.json` in `.gitignore`, and maps the folder files to their JSON Schemas in `.vscode/settings.json`, merged into an existing file. Its hint names `apply --agent` and `chat`.
40
+ - `nylorun apply --agent [<id>]` makes the Agent from the manifest after a save (or on an unchanged one), or moves it, as `nylorun agents put` does, and prints what it needs a person for.
41
+ - `nylorun apply --watch [--save]` checks and plans again on each change to the folders (and the files their `runtime.json` extends); it saves only with `--save`.
42
+ - A plan's change to the instructions prints their text diff, `-` and `+` lines.
43
+ - `nylorun chat <agent> [--session <id>] [--message <text>]` opens or reuses a session, sends `--message` or each line of standard input, and prints the reply as it comes.
44
+ - `nylorun check --json` prints `{ folders: [{ path, ok, manifest?, diagnostics }] }` for CI, with the same exit codes. `check` says "1 file", and `nylorun --version` prints the version.
45
+ - `packFolder` (`@nylorun/agents`) leaves out what the folder's `.nyloignore` names (gitignore rules), and resolves `extends` in `runtime.json`: the packed file is the merge, the folder's own keys winning, with `.nylorun/origin.json` naming the files it came from; a missing file or a cycle is a `FolderError`. `ignoreMatcher` is exported.
46
+ - `session.approve(id, approved)` and `session.respond(id, value)` take no options: each makes its own idempotency key.
47
+ - The Runtime's Agent view names each required secret of the version it runs that has no value, as an attention item (`secret_unset: required secret ORDERS_TOKEN unset`, state `input_required`), until it is set.
48
+ - The compiler's refusal of an unresolved `extends` says to resolve it before uploading.
49
+
50
+ ## 0.27.0-beta
51
+
52
+ ### Minor Changes
53
+
54
+ - 9ba6634: Agent folders (track T6, D79): `@nylorun/core/folder` exports `compileAgentFolder`, which turns a folder of Markdown and JSON into agent manifest v8. It is pure, so the Runtime and `nylorun check` give one verdict: `AGENT.md` (frontmatter and instructions) and `instructions/*.md`, `runtime.json`, `mcp.json` in Agent Plugins syntax (`${NAME}` in a header names the credential; a slot `runtime.json` does not declare is derived for the server's URL), `skills/<name>/`, HTTP `tools/<name>.json` with schemas inline or by path, `triggers/<id>.md` and `files/**`. Every problem comes back in one pass, with file, line and column for parse and schema errors, and an unknown key gets a "did you mean". JSON is strict; frontmatter is YAML 1.2 core with no aliases, tags or merge keys. Flows, subagents and vendored plugins are refused for now. `folderTextPaths` names the files the compiler reads; `AGENT_FOLDER_LIMITS` holds the folder limits (2,000 files, 50 MiB, 1 MiB per Markdown or JSON file).
55
+ - aaa079f: The Runtime saves agent folders (track T6). `PUT /v1/agent-manifests/{name}` with `Content-Type: application/vnd.nylorun.folder+json` takes a folder by hash (`PutAgentFolderRequestSchema`): the files uploaded first, the Markdown and JSON read back from the definition file store and compiled with `compileAgentFolder`. A folder that does not compile is `422 folder_invalid`, with the compiler's diagnostics by file, line and column in `details.diagnostics`. A save keeps the folder as the version's source: `AgentManifestView.source` summarises it, `GET /v1/agent-manifests/{name}/versions/{v}/source` lists its files and `.../source/files/{path}` returns one. With `?dryRun=true` the plan adds the compiled `manifest`, the `diagnostics` and the `compiler`. A folder whose manifest is unchanged saves no version, and says so (`source_not_saved`). New Host feature `agent-folders`; new error code `folder_invalid`.
56
+
3
57
  ## 0.26.0-beta
4
58
 
5
59
  ### Minor Changes
package/README.md CHANGED
@@ -6,6 +6,12 @@ HTTP client, Node host or SDK dependencies.
6
6
  - `/define`: `Agent`, `tool`, the manifest, schemas and explicit local bindings.
7
7
  - `/contracts`: runtime request, event, action and response schemas.
8
8
  - `/compatibility`: protocol/definition versions and canonical manifest hashing.
9
+ - `/folder`: agent folders. `compileAgentFolder` turns a folder of Markdown and JSON
10
+ (`AGENT.md`, `runtime.json`, `mcp.json`, `skills/`, `tools/`, `triggers/`, `files/`,
11
+ subagents in `agents/<id>/`, a flow in `flow.json`, Agent Plugins in `plugins/<name>/`) into
12
+ agent manifest v8, with every diagnostic by file, line and column. Pure: the Runtime
13
+ compiles every folder it is sent with it, and `nylorun check` checks one offline.
14
+ `folderOfManifest` writes the folder of a manifest, which compiles back to it.
9
15
  - `/transport`: what every Runtime client does on the wire: the `/health`
10
16
  compatibility probe (`checkHealth`), protocol ranges, request headers and
11
17
  response bodies. Browser-safe; `@nylorun/agents` and `@nylorun/admin` build on it.
@@ -197,10 +197,13 @@ export type ProtocolFeature = (typeof PROTOCOL_FEATURES)[number];
197
197
  * `gateway-credentials`: a `bearer` or `headers` credential with `via`, written to an Agent's vault,
198
198
  * may name the gateway's tool prefix (`toolPrefix`), which the Runtime takes off the tools it lists
199
199
  * and puts back on each call.
200
+ * `agent-folders`: `PUT /v1/agent-manifests/{name}` also takes an agent folder by hash
201
+ * (`application/vnd.nylorun.folder+json`), compiles it with `@nylorun/core/folder` and keeps it
202
+ * as the version's source, read at `GET .../versions/{v}/source` and `.../source/files/{path}`.
200
203
  */
201
204
  export declare const OPTIONAL_HOST_FEATURES: readonly ["tenant-fixture-model", "transcript-events", "subject-headers", "ag-ui-endpoint", "a2a-endpoint", "sandbox-pods", "trusted-issuers", "session-reads", "calls-export", "credential-coverage", "tool-calls", "environment-setup", "environment-disk-versions", "tool-policy", "traces",
202
205
  /** Opt-in artifact metadata pages (`GET /v1/artifacts?limit=…`). */
203
- "artifact-reads", "gateway-credentials"];
206
+ "artifact-reads", "gateway-credentials", "agent-folders"];
204
207
  export type OptionalHostFeature = (typeof OPTIONAL_HOST_FEATURES)[number];
205
208
  export interface ProtocolRange {
206
209
  min: number;
@@ -352,7 +355,13 @@ export declare const ERROR_CODES: readonly ["not_found",
352
355
  * `If-Match` named a version that is no longer the latest: `412`. Read the manifest
353
356
  * again, or save without `If-Match` (the CLI's `--if-match`, the SDK's `ifMatch`).
354
357
  */
355
- "manifest_changed", "internal_error"];
358
+ "manifest_changed",
359
+ /**
360
+ * An agent folder that does not compile (track T6): `422` when it is saved or planned.
361
+ * `details.diagnostics` names every problem, each with its file and, for parse and schema
362
+ * errors, its line and column.
363
+ */
364
+ "folder_invalid", "internal_error"];
356
365
  export type ErrorCode = (typeof ERROR_CODES)[number];
357
366
  export declare const TENANT_ID_PATTERN: RegExp;
358
367
  export declare const PRINCIPAL_ID_PATTERN: RegExp;
@@ -199,6 +199,9 @@ export const PROTOCOL_FEATURES = [
199
199
  * `gateway-credentials`: a `bearer` or `headers` credential with `via`, written to an Agent's vault,
200
200
  * may name the gateway's tool prefix (`toolPrefix`), which the Runtime takes off the tools it lists
201
201
  * and puts back on each call.
202
+ * `agent-folders`: `PUT /v1/agent-manifests/{name}` also takes an agent folder by hash
203
+ * (`application/vnd.nylorun.folder+json`), compiles it with `@nylorun/core/folder` and keeps it
204
+ * as the version's source, read at `GET .../versions/{v}/source` and `.../source/files/{path}`.
202
205
  */
203
206
  export const OPTIONAL_HOST_FEATURES = [
204
207
  "tenant-fixture-model",
@@ -219,6 +222,7 @@ export const OPTIONAL_HOST_FEATURES = [
219
222
  /** Opt-in artifact metadata pages (`GET /v1/artifacts?limit=…`). */
220
223
  "artifact-reads",
221
224
  "gateway-credentials",
225
+ "agent-folders",
222
226
  ];
223
227
  /**
224
228
  * What this Host serves: protocol 16, 17 and 18. Protocol 16 replaced agent definitions and
@@ -381,6 +385,12 @@ export const ERROR_CODES = [
381
385
  * again, or save without `If-Match` (the CLI's `--if-match`, the SDK's `ifMatch`).
382
386
  */
383
387
  "manifest_changed",
388
+ /**
389
+ * An agent folder that does not compile (track T6): `422` when it is saved or planned.
390
+ * `details.diagnostics` names every problem, each with its file and, for parse and schema
391
+ * errors, its line and column.
392
+ */
393
+ "folder_invalid",
384
394
  "internal_error",
385
395
  ];
386
396
  /** Crockford Base32 alphabet (lowercase); excludes i, l, o, u. */
@@ -17,8 +17,30 @@ export type { ErrorCode } from "./compatibility.js";
17
17
  export declare const RequestIdSchema: z.ZodString;
18
18
  /** At most 256 characters: an identifier's grammar is the protocol's (it crosses the Runtime API, the Harness API and tokens, and means the same in every installation), so its length is a constant of protocol 15, not a setting. */
19
19
  export declare const IdempotencyKeySchema: z.ZodString;
20
+ /** One tool's settings on an MCP server: `enabled`, `approval` and `deferred`. */
21
+ export declare const McpToolSettingsSchema: z.ZodObject<{
22
+ enabled: z.ZodOptional<z.ZodBoolean>;
23
+ approval: z.ZodOptional<z.ZodEnum<{
24
+ always: "always";
25
+ never: "never";
26
+ }>>;
27
+ deferred: z.ZodOptional<z.ZodBoolean>;
28
+ }, z.core.$strict>;
20
29
  /** A remote MCP server as a manifest declares it (`streamable-http` or `sse`). */
21
30
  export declare const McpServerManifestSchema: z.ZodType<McpServerManifest>;
31
+ /** An HTTP tool's request: its `url` (a template of the input's fields), `method`, `credential` and `timeoutMs`. */
32
+ export declare const HttpToolTargetSchema: z.ZodObject<{
33
+ url: z.ZodString;
34
+ method: z.ZodOptional<z.ZodEnum<{
35
+ DELETE: "DELETE";
36
+ GET: "GET";
37
+ PATCH: "PATCH";
38
+ POST: "POST";
39
+ PUT: "PUT";
40
+ }>>;
41
+ credential: z.ZodOptional<z.ZodString>;
42
+ timeoutMs: z.ZodOptional<z.ZodNumber>;
43
+ }, z.core.$strict>;
22
44
  /**
23
45
  * An environment variable name a shell secret or plain variable may take: a POSIX
24
46
  * name, of any length (POSIX and Linux set none; a request's body bounds it). Names the sandbox
@@ -115,6 +137,12 @@ export declare const EnvironmentFileSchema: z.ZodUnion<readonly [z.ZodObject<{
115
137
  files: z.ZodRecord<z.ZodString, z.ZodString & z.ZodType<string, string, z.core.$ZodTypeInternals<string, string>>>;
116
138
  }, z.core.$strict>]>;
117
139
  export type EnvironmentFile = z.infer<typeof EnvironmentFileSchema>;
140
+ /**
141
+ * An agent manifest's name (protocol 16): 1–64 letters, digits, `.`, `_` and `-`, starting with a
142
+ * letter or digit, such as `triage`; a version is at most 9 digits. Manifest names and Agent ids
143
+ * are separate namespaces.
144
+ */
145
+ export declare const AGENT_MANIFEST_NAME_PATTERN: RegExp;
118
146
  export declare function isAgentManifestName(value: unknown): value is string;
119
147
  export declare const AgentManifestNameSchema: z.ZodString & z.ZodType<string, string, z.core.$ZodTypeInternals<string, string>>;
120
148
  /**
@@ -1128,6 +1156,17 @@ export declare const EnvironmentSecretSlotsSchema: z.ZodRecord<z.ZodString, z.Zo
1128
1156
  export type EnvironmentSecretSlots = z.infer<typeof EnvironmentSecretSlotsSchema>;
1129
1157
  /** The schema version of an agent manifest the Runtime saves at `/v1/agent-manifests/{name}`. */
1130
1158
  export declare const AGENT_MANIFEST_V8_SCHEMA_VERSION = 8;
1159
+ /**
1160
+ * `harness.memory`: turns the Agent's memory on. Its `access` holds in every turn,
1161
+ * whoever starts it; `instructions` follow the engine's own memory rules.
1162
+ */
1163
+ export declare const HarnessMemorySchema: z.ZodObject<{
1164
+ access: z.ZodOptional<z.ZodEnum<{
1165
+ read_only: "read_only";
1166
+ read_write: "read_write";
1167
+ }>>;
1168
+ instructions: z.ZodOptional<z.ZodString>;
1169
+ }, z.core.$strict>;
1131
1170
  /** What runs inside the loop of an agent: the `harness` section of agent manifest v8. */
1132
1171
  export declare const AgentHarnessSectionSchema: z.ZodType<AgentHarnessSection>;
1133
1172
  /** A flow's `harness` section (`kind: "workflow"`). */
@@ -2159,6 +2198,72 @@ export declare const AgentManifestSavedBySchema: z.ZodObject<{
2159
2198
  actor: z.ZodString;
2160
2199
  }, z.core.$strict>;
2161
2200
  /** One version of an agent manifest. */
2201
+ /**
2202
+ * The edit that fixes a diagnostic, when only one edit can (track T7, `nylorun check --fix`):
2203
+ * `rename_key` renames the key at `line` and `column` of `file` from `from` to `to`, the one known
2204
+ * key it is close to; `crlf` makes `file`'s CRLF line ends LF; `move_skill_secrets` moves a
2205
+ * `SKILL.md`'s `secrets` to `AGENT.md`'s `skills` block, as `skills: { <skill>: { secrets } }`.
2206
+ */
2207
+ export declare const AgentFolderFixSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
2208
+ kind: z.ZodLiteral<"rename_key">;
2209
+ file: z.ZodString;
2210
+ line: z.ZodNumber;
2211
+ column: z.ZodNumber;
2212
+ from: z.ZodString;
2213
+ to: z.ZodString;
2214
+ }, z.core.$strict>, z.ZodObject<{
2215
+ kind: z.ZodLiteral<"crlf">;
2216
+ file: z.ZodString;
2217
+ }, z.core.$strict>, z.ZodObject<{
2218
+ kind: z.ZodLiteral<"move_skill_secrets">;
2219
+ file: z.ZodString;
2220
+ skill: z.ZodString;
2221
+ secrets: z.ZodArray<z.ZodString>;
2222
+ }, z.core.$strict>], "kind">;
2223
+ export type AgentFolderFix = z.infer<typeof AgentFolderFixSchema>;
2224
+ /**
2225
+ * One problem or remark about an agent folder (track T6): an `error` keeps it from compiling.
2226
+ * `file` is the path in the folder, with the line and column when known; `pointer` the field in
2227
+ * the manifest; `fix` the edit that fixes it, when only one edit can.
2228
+ */
2229
+ export declare const AgentFolderDiagnosticSchema: z.ZodObject<{
2230
+ severity: z.ZodEnum<{
2231
+ error: "error";
2232
+ info: "info";
2233
+ note: "note";
2234
+ warning: "warning";
2235
+ }>;
2236
+ code: z.ZodString;
2237
+ message: z.ZodString;
2238
+ file: z.ZodOptional<z.ZodString>;
2239
+ line: z.ZodOptional<z.ZodNumber>;
2240
+ column: z.ZodOptional<z.ZodNumber>;
2241
+ pointer: z.ZodOptional<z.ZodString>;
2242
+ fix: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
2243
+ kind: z.ZodLiteral<"rename_key">;
2244
+ file: z.ZodString;
2245
+ line: z.ZodNumber;
2246
+ column: z.ZodNumber;
2247
+ from: z.ZodString;
2248
+ to: z.ZodString;
2249
+ }, z.core.$strict>, z.ZodObject<{
2250
+ kind: z.ZodLiteral<"crlf">;
2251
+ file: z.ZodString;
2252
+ }, z.core.$strict>, z.ZodObject<{
2253
+ kind: z.ZodLiteral<"move_skill_secrets">;
2254
+ file: z.ZodString;
2255
+ skill: z.ZodString;
2256
+ secrets: z.ZodArray<z.ZodString>;
2257
+ }, z.core.$strict>], "kind">>;
2258
+ }, z.core.$strict>;
2259
+ export type AgentFolderDiagnostic = z.infer<typeof AgentFolderDiagnosticSchema>;
2260
+ /** The folder a version was compiled from (track T6): the compiler that built it, and its size. */
2261
+ export declare const AgentManifestSourceSummarySchema: z.ZodObject<{
2262
+ compiler: z.ZodString;
2263
+ files: z.ZodNumber;
2264
+ bytes: z.ZodNumber;
2265
+ }, z.core.$strict>;
2266
+ export type AgentManifestSourceSummary = z.infer<typeof AgentManifestSourceSummarySchema>;
2162
2267
  export declare const AgentManifestViewSchema: z.ZodObject<{
2163
2268
  name: z.ZodString;
2164
2269
  version: z.ZodNumber;
@@ -2264,7 +2369,86 @@ export declare const AgentManifestViewSchema: z.ZodObject<{
2264
2369
  }, z.core.$strict>;
2265
2370
  createdAt: z.ZodString;
2266
2371
  agents: z.ZodNumber;
2372
+ source: z.ZodOptional<z.ZodObject<{
2373
+ compiler: z.ZodString;
2374
+ files: z.ZodNumber;
2375
+ bytes: z.ZodNumber;
2376
+ }, z.core.$strict>>;
2377
+ }, z.core.$strict>;
2378
+ /** One file of an agent folder: its path, size and SHA-256 (lowercase hex). */
2379
+ export declare const AgentFolderEntrySchema: z.ZodObject<{
2380
+ path: z.ZodString;
2381
+ size: z.ZodNumber;
2382
+ sha256: z.ZodString;
2383
+ contentType: z.ZodOptional<z.ZodString>;
2384
+ mode: z.ZodOptional<z.ZodNumber>;
2385
+ }, z.core.$strict>;
2386
+ export type AgentFolderEntry = z.infer<typeof AgentFolderEntrySchema>;
2387
+ /** The media type of an agent folder sent by hash to `PUT /v1/agent-manifests/{name}`. */
2388
+ export declare const AGENT_FOLDER_MEDIA_TYPE = "application/vnd.nylorun.folder+json";
2389
+ /**
2390
+ * `PUT /v1/agent-manifests/{name}` with `Content-Type: application/vnd.nylorun.folder+json`
2391
+ * (track T6): an agent folder by hash, each file uploaded first with `PUT /v1/files/sha256:<hex>`.
2392
+ */
2393
+ export declare const PutAgentFolderRequestSchema: z.ZodObject<{
2394
+ requestId: z.ZodOptional<z.ZodString>;
2395
+ format: z.ZodLiteral<"nylorun.folder.v2">;
2396
+ entries: z.ZodArray<z.ZodObject<{
2397
+ path: z.ZodString;
2398
+ size: z.ZodNumber;
2399
+ sha256: z.ZodString;
2400
+ contentType: z.ZodOptional<z.ZodString>;
2401
+ mode: z.ZodOptional<z.ZodNumber>;
2402
+ }, z.core.$strict>>;
2403
+ }, z.core.$strict>;
2404
+ export type PutAgentFolderRequest = z.infer<typeof PutAgentFolderRequestSchema>;
2405
+ /** `GET /v1/agent-manifests/{name}/versions/{v}/source`: the folder a version was compiled from. */
2406
+ export declare const AgentManifestSourceSchema: z.ZodObject<{
2407
+ name: z.ZodString;
2408
+ version: z.ZodNumber;
2409
+ compiler: z.ZodString;
2410
+ files: z.ZodNumber;
2411
+ bytes: z.ZodNumber;
2412
+ entries: z.ZodArray<z.ZodObject<{
2413
+ path: z.ZodString;
2414
+ size: z.ZodNumber;
2415
+ sha256: z.ZodString;
2416
+ }, z.core.$strict>>;
2267
2417
  }, z.core.$strict>;
2418
+ export type AgentManifestSource = z.infer<typeof AgentManifestSourceSchema>;
2419
+ /**
2420
+ * `GET /v1/agent-manifests/{name}/source/diff?from=&to=` (track T7): what changed between two
2421
+ * versions' sources, by path and SHA-256. Each list is sorted by path; `unchanged` counts the
2422
+ * files both hold with the same bytes.
2423
+ */
2424
+ export declare const AgentManifestSourceDiffSchema: z.ZodObject<{
2425
+ name: z.ZodString;
2426
+ from: z.ZodNumber;
2427
+ to: z.ZodNumber;
2428
+ added: z.ZodArray<z.ZodObject<{
2429
+ path: z.ZodString;
2430
+ size: z.ZodNumber;
2431
+ sha256: z.ZodString;
2432
+ }, z.core.$strict>>;
2433
+ removed: z.ZodArray<z.ZodObject<{
2434
+ path: z.ZodString;
2435
+ size: z.ZodNumber;
2436
+ sha256: z.ZodString;
2437
+ }, z.core.$strict>>;
2438
+ changed: z.ZodArray<z.ZodObject<{
2439
+ path: z.ZodString;
2440
+ from: z.ZodObject<{
2441
+ size: z.ZodNumber;
2442
+ sha256: z.ZodString;
2443
+ }, z.core.$strict>;
2444
+ to: z.ZodObject<{
2445
+ size: z.ZodNumber;
2446
+ sha256: z.ZodString;
2447
+ }, z.core.$strict>;
2448
+ }, z.core.$strict>>;
2449
+ unchanged: z.ZodNumber;
2450
+ }, z.core.$strict>;
2451
+ export type AgentManifestSourceDiff = z.infer<typeof AgentManifestSourceDiffSchema>;
2268
2452
  export type AgentManifestView = z.infer<typeof AgentManifestViewSchema>;
2269
2453
  /** `GET /v1/agent-manifests`: each manifest's latest version, by name. */
2270
2454
  export declare const ListAgentManifestsResponseSchema: z.ZodObject<{
@@ -2373,6 +2557,11 @@ export declare const ListAgentManifestsResponseSchema: z.ZodObject<{
2373
2557
  }, z.core.$strict>;
2374
2558
  createdAt: z.ZodString;
2375
2559
  agents: z.ZodNumber;
2560
+ source: z.ZodOptional<z.ZodObject<{
2561
+ compiler: z.ZodString;
2562
+ files: z.ZodNumber;
2563
+ bytes: z.ZodNumber;
2564
+ }, z.core.$strict>>;
2376
2565
  }, z.core.$strict>>;
2377
2566
  }, z.core.$strict>;
2378
2567
  export type ListAgentManifestsResponse = z.infer<typeof ListAgentManifestsResponseSchema>;
@@ -2452,6 +2641,133 @@ export declare const AgentManifestPlanSchema: z.ZodObject<{
2452
2641
  nextStart: z.ZodNumber;
2453
2642
  secrets: z.ZodNumber;
2454
2643
  }, z.core.$strict>;
2644
+ manifest: z.ZodOptional<z.ZodObject<{
2645
+ manifestSchemaVersion: z.ZodLiteral<8>;
2646
+ name: z.ZodString & z.ZodType<string, string, z.core.$ZodTypeInternals<string, string>>;
2647
+ description: z.ZodOptional<z.ZodString>;
2648
+ metadata: z.ZodOptional<z.ZodType<JsonObject, unknown, z.core.$ZodTypeInternals<JsonObject, unknown>>>;
2649
+ harness: z.ZodUnion<readonly [z.ZodType<WorkflowHarnessSection, unknown, z.core.$ZodTypeInternals<WorkflowHarnessSection, unknown>>, z.ZodType<AgentHarnessSection, unknown, z.core.$ZodTypeInternals<AgentHarnessSection, unknown>>]>;
2650
+ runtime: z.ZodOptional<z.ZodObject<{
2651
+ kind: z.ZodEnum<{
2652
+ none: "none";
2653
+ pod: "pod";
2654
+ virtual: "virtual";
2655
+ }>;
2656
+ image: z.ZodOptional<z.ZodString>;
2657
+ resources: z.ZodOptional<z.ZodObject<{
2658
+ cpus: z.ZodOptional<z.ZodNumber>;
2659
+ memory: z.ZodOptional<z.ZodString>;
2660
+ }, z.core.$strict>>;
2661
+ storage: z.ZodOptional<z.ZodString>;
2662
+ network: z.ZodOptional<z.ZodObject<{
2663
+ allowedHosts: z.ZodOptional<z.ZodArray<z.ZodString>>;
2664
+ }, z.core.$strict>>;
2665
+ lifecycle: z.ZodOptional<z.ZodObject<{
2666
+ idle: z.ZodOptional<z.ZodString>;
2667
+ deleteAfter: z.ZodOptional<z.ZodString>;
2668
+ }, z.core.$strict>>;
2669
+ setup: z.ZodOptional<z.ZodArray<z.ZodObject<{
2670
+ command: z.ZodString;
2671
+ cwd: z.ZodOptional<z.ZodString>;
2672
+ timeout: z.ZodOptional<z.ZodString>;
2673
+ }, z.core.$strict>>>;
2674
+ files: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
2675
+ artifactId: z.ZodString & z.ZodType<string, string, z.core.$ZodTypeInternals<string, string>>;
2676
+ version: z.ZodNumber;
2677
+ path: z.ZodString;
2678
+ }, z.core.$strict>, z.ZodObject<{
2679
+ path: z.ZodString;
2680
+ files: z.ZodRecord<z.ZodString, z.ZodString & z.ZodType<string, string, z.core.$ZodTypeInternals<string, string>>>;
2681
+ }, z.core.$strict>]>>>;
2682
+ limits: z.ZodOptional<z.ZodObject<{
2683
+ artifacts: z.ZodOptional<z.ZodObject<{
2684
+ fileBytes: z.ZodOptional<z.ZodNumber>;
2685
+ totalBytes: z.ZodOptional<z.ZodNumber>;
2686
+ }, z.core.$strict>>;
2687
+ skills: z.ZodOptional<z.ZodObject<{
2688
+ totalBytes: z.ZodOptional<z.ZodNumber>;
2689
+ }, z.core.$strict>>;
2690
+ disk: z.ZodOptional<z.ZodObject<{
2691
+ versionBytes: z.ZodOptional<z.ZodNumber>;
2692
+ versionEntries: z.ZodOptional<z.ZodNumber>;
2693
+ }, z.core.$strict>>;
2694
+ }, z.core.$strict>>;
2695
+ secrets: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
2696
+ required: z.ZodOptional<z.ZodBoolean>;
2697
+ description: z.ZodOptional<z.ZodString>;
2698
+ type: z.ZodLiteral<"environment_secret">;
2699
+ allowedHosts: z.ZodArray<z.ZodString>;
2700
+ inject: z.ZodOptional<z.ZodObject<{
2701
+ header: z.ZodString;
2702
+ format: z.ZodString;
2703
+ }, z.core.$strict>>;
2704
+ }, z.core.$strict>, z.ZodObject<{
2705
+ required: z.ZodOptional<z.ZodBoolean>;
2706
+ description: z.ZodOptional<z.ZodString>;
2707
+ type: z.ZodLiteral<"environment_variable">;
2708
+ }, z.core.$strict>, z.ZodObject<{
2709
+ via: z.ZodOptional<z.ZodString>;
2710
+ identity: z.ZodOptional<z.ZodObject<{
2711
+ header: z.ZodString;
2712
+ }, z.core.$strict>>;
2713
+ required: z.ZodOptional<z.ZodBoolean>;
2714
+ description: z.ZodOptional<z.ZodString>;
2715
+ type: z.ZodLiteral<"bearer">;
2716
+ url: z.ZodString;
2717
+ }, z.core.$strict>, z.ZodObject<{
2718
+ via: z.ZodOptional<z.ZodString>;
2719
+ identity: z.ZodOptional<z.ZodObject<{
2720
+ header: z.ZodString;
2721
+ }, z.core.$strict>>;
2722
+ required: z.ZodOptional<z.ZodBoolean>;
2723
+ description: z.ZodOptional<z.ZodString>;
2724
+ type: z.ZodLiteral<"headers">;
2725
+ url: z.ZodString;
2726
+ }, z.core.$strict>], "type">>>;
2727
+ triggers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
2728
+ schedule: z.ZodOptional<z.ZodString>;
2729
+ timezone: z.ZodOptional<z.ZodString>;
2730
+ at: z.ZodOptional<z.ZodISODateTime>;
2731
+ webhook: z.ZodOptional<z.ZodEnum<{
2732
+ "standard-webhooks": "standard-webhooks";
2733
+ }>>;
2734
+ session: z.ZodString;
2735
+ prompt: z.ZodString;
2736
+ }, z.core.$strict>>>;
2737
+ selfWake: z.ZodOptional<z.ZodBoolean>;
2738
+ }, z.core.$strict>>;
2739
+ }, z.core.$strict>>;
2740
+ diagnostics: z.ZodOptional<z.ZodArray<z.ZodObject<{
2741
+ severity: z.ZodEnum<{
2742
+ error: "error";
2743
+ info: "info";
2744
+ note: "note";
2745
+ warning: "warning";
2746
+ }>;
2747
+ code: z.ZodString;
2748
+ message: z.ZodString;
2749
+ file: z.ZodOptional<z.ZodString>;
2750
+ line: z.ZodOptional<z.ZodNumber>;
2751
+ column: z.ZodOptional<z.ZodNumber>;
2752
+ pointer: z.ZodOptional<z.ZodString>;
2753
+ fix: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
2754
+ kind: z.ZodLiteral<"rename_key">;
2755
+ file: z.ZodString;
2756
+ line: z.ZodNumber;
2757
+ column: z.ZodNumber;
2758
+ from: z.ZodString;
2759
+ to: z.ZodString;
2760
+ }, z.core.$strict>, z.ZodObject<{
2761
+ kind: z.ZodLiteral<"crlf">;
2762
+ file: z.ZodString;
2763
+ }, z.core.$strict>, z.ZodObject<{
2764
+ kind: z.ZodLiteral<"move_skill_secrets">;
2765
+ file: z.ZodString;
2766
+ skill: z.ZodString;
2767
+ secrets: z.ZodArray<z.ZodString>;
2768
+ }, z.core.$strict>], "kind">>;
2769
+ }, z.core.$strict>>>;
2770
+ compiler: z.ZodOptional<z.ZodString>;
2455
2771
  }, z.core.$strict>;
2456
2772
  export type AgentManifestPlan = z.infer<typeof AgentManifestPlanSchema>;
2457
2773
  /** `PUT /v1/agent-manifests/{name}`: the version saved (or the latest, unchanged). */
@@ -2561,12 +2877,47 @@ export declare const SaveAgentManifestResponseSchema: z.ZodObject<{
2561
2877
  }, z.core.$strict>;
2562
2878
  createdAt: z.ZodString;
2563
2879
  agents: z.ZodNumber;
2880
+ source: z.ZodOptional<z.ZodObject<{
2881
+ compiler: z.ZodString;
2882
+ files: z.ZodNumber;
2883
+ bytes: z.ZodNumber;
2884
+ }, z.core.$strict>>;
2564
2885
  }, z.core.$strict>;
2565
2886
  unchanged: z.ZodBoolean;
2566
2887
  warnings: z.ZodArray<z.ZodObject<{
2567
2888
  code: z.ZodString;
2568
2889
  message: z.ZodString;
2569
2890
  }, z.core.$strict>>;
2891
+ diagnostics: z.ZodOptional<z.ZodArray<z.ZodObject<{
2892
+ severity: z.ZodEnum<{
2893
+ error: "error";
2894
+ info: "info";
2895
+ note: "note";
2896
+ warning: "warning";
2897
+ }>;
2898
+ code: z.ZodString;
2899
+ message: z.ZodString;
2900
+ file: z.ZodOptional<z.ZodString>;
2901
+ line: z.ZodOptional<z.ZodNumber>;
2902
+ column: z.ZodOptional<z.ZodNumber>;
2903
+ pointer: z.ZodOptional<z.ZodString>;
2904
+ fix: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
2905
+ kind: z.ZodLiteral<"rename_key">;
2906
+ file: z.ZodString;
2907
+ line: z.ZodNumber;
2908
+ column: z.ZodNumber;
2909
+ from: z.ZodString;
2910
+ to: z.ZodString;
2911
+ }, z.core.$strict>, z.ZodObject<{
2912
+ kind: z.ZodLiteral<"crlf">;
2913
+ file: z.ZodString;
2914
+ }, z.core.$strict>, z.ZodObject<{
2915
+ kind: z.ZodLiteral<"move_skill_secrets">;
2916
+ file: z.ZodString;
2917
+ skill: z.ZodString;
2918
+ secrets: z.ZodArray<z.ZodString>;
2919
+ }, z.core.$strict>], "kind">>;
2920
+ }, z.core.$strict>>>;
2570
2921
  }, z.core.$strict>;
2571
2922
  export type SaveAgentManifestResponse = z.infer<typeof SaveAgentManifestResponseSchema>;
2572
2923
  export declare const DeleteAgentManifestResponseSchema: z.ZodObject<{
@@ -3759,6 +4110,7 @@ export declare const RejectedResponseSchema: z.ZodObject<{
3759
4110
  credential_rejected: "credential_rejected";
3760
4111
  credential_required: "credential_required";
3761
4112
  definition_files_missing: "definition_files_missing";
4113
+ folder_invalid: "folder_invalid";
3762
4114
  harness_mismatch: "harness_mismatch";
3763
4115
  host_rejected: "host_rejected";
3764
4116
  incompatible_host: "incompatible_host";
@@ -6622,6 +6974,7 @@ export declare const AgUiRunErrorCodeSchema: z.ZodEnum<{
6622
6974
  credential_rejected: "credential_rejected";
6623
6975
  credential_required: "credential_required";
6624
6976
  definition_files_missing: "definition_files_missing";
6977
+ folder_invalid: "folder_invalid";
6625
6978
  harness_mismatch: "harness_mismatch";
6626
6979
  host_rejected: "host_rejected";
6627
6980
  incompatible_host: "incompatible_host";
@@ -7267,6 +7620,9 @@ export declare const TenantLimitsConfigSchema: z.ZodObject<{
7267
7620
  flowConcurrency: z.ZodOptional<z.ZodNumber>;
7268
7621
  flowMapItems: z.ZodOptional<z.ZodNumber>;
7269
7622
  flowLoopIterations: z.ZodOptional<z.ZodNumber>;
7623
+ folderFiles: z.ZodOptional<z.ZodNumber>;
7624
+ folderBytes: z.ZodOptional<z.ZodNumber>;
7625
+ folderTextFileBytes: z.ZodOptional<z.ZodNumber>;
7270
7626
  }, z.core.$strict>>;
7271
7627
  }, z.core.$strict>;
7272
7628
  export type TenantLimitsConfig = z.infer<typeof TenantLimitsConfigSchema>;
@@ -7343,6 +7699,9 @@ export declare const PutTenantLimitsRequestSchema: z.ZodObject<{
7343
7699
  flowConcurrency: z.ZodOptional<z.ZodNumber>;
7344
7700
  flowMapItems: z.ZodOptional<z.ZodNumber>;
7345
7701
  flowLoopIterations: z.ZodOptional<z.ZodNumber>;
7702
+ folderFiles: z.ZodOptional<z.ZodNumber>;
7703
+ folderBytes: z.ZodOptional<z.ZodNumber>;
7704
+ folderTextFileBytes: z.ZodOptional<z.ZodNumber>;
7346
7705
  }, z.core.$strict>>;
7347
7706
  requestId: z.ZodOptional<z.ZodString>;
7348
7707
  }, z.core.$strict>;
@@ -7420,6 +7779,9 @@ export declare const TenantLimitsViewSchema: z.ZodObject<{
7420
7779
  flowConcurrency: z.ZodNumber;
7421
7780
  flowMapItems: z.ZodNumber;
7422
7781
  flowLoopIterations: z.ZodNumber;
7782
+ folderFiles: z.ZodNumber;
7783
+ folderBytes: z.ZodNumber;
7784
+ folderTextFileBytes: z.ZodNumber;
7423
7785
  }, z.core.$strict>;
7424
7786
  }, z.core.$strict>;
7425
7787
  export type TenantLimitsView = z.infer<typeof TenantLimitsViewSchema>;