import type { StackDeps } from "../stack/commands.js"; export declare const migrateFormatUsage = "nylorun migrate folder --to 2|3\n\nMakes the agent folder agent-folder/2, in place: it adds format: agent-folder/2 to its\nAGENT.md, and to it and each subagent's AGENT.md the engine: block that declares every engine\nfeature the folder gets today by default (the sandbox tools, save_artifact and the outputs folder\nwhen runtime.json has a computer, read_artifact, tool search). Nothing the model reads or may\ncall changes, which it checks before it writes; then remove the lines the agent does not need.\n\nWith --to 3, makes an agent-folder/2 folder agent-folder/3 (ADR-106): the Runtime's plugins\n(plugins: [nylorun-memory, ...]) in place of memory, loop's plan, connections and ask, runtime.selfWake and engine's\nsandbox, artifacts and triggers, with mcpServers.nylorun turning off the tools the folder left\nout, and memory's instructions moved to the end of AGENT.md's body. Every agent keeps the same\ntools and features, which it checks before it writes; the words the model reads become the\nplugins'. Reads no Runtime."; /** The `engine:` block that keeps what an agent-folder/1 agent gets, as YAML lines. */ export declare function engineLines(computer: boolean): string[]; /** * `text`, an `AGENT.md`, with `lines` added at the end of its frontmatter and, when `format` is * set, its `format:` line replaced by `format: ` (first in the frontmatter when it had * none). Undefined when it has no frontmatter. */ export declare function withFrontmatter(text: string, lines: readonly string[], format?: string): string | undefined; /** `nylorun migrate folder --to 2|3` */ export declare function migrateFormatCommand(deps: StackDeps, dir: string, to: string): Promise;