/** * The command shell every `axm new` route shares. * * The feature settles the creation and resolves it; this module does what a * transport does — turn typed refusals into the error envelope, turn command * flags into an execution intent, and render the outcome with the next step * an author takes. */ import * as Effect from "effect/Effect"; import { type CreateExtensionCandidate, type CreateExtensionRequest } from "@agentxm/workspace/authoring"; import type { SuggestedAction } from "@agentxm/registry-protocol/unstable/suggested-action"; export interface CreateExtensionCommandArgs { /** Telemetry and machine-output command identity, e.g. `skills.new`. */ readonly command: string; readonly request: CreateExtensionRequest; readonly preview: boolean; /** What the author does next, rendered from the settled creation. */ readonly suggestions: (candidate: CreateExtensionCandidate) => ReadonlyArray; } /** Run one ` new` route end to end. */ export declare const runCreateExtensionCommand: (args: CreateExtensionCommandArgs) => Effect.Effect; //# sourceMappingURL=create-extension-command.d.ts.map