/** * The command shell every `axm install` route shares. * * The feature settles the install and resolves it; this module does what a * transport does — turn flags into an execution intent, turn typed refusals * into the error envelope, print the resolution evidence a `--verbose` run * asks for, and render the outcome with the next step a person takes. */ import * as Effect from "effect/Effect"; import { type InstallExtensionsRequest } from "@agentxm/workspace/lifecycle"; import type { SuggestedAction } from "@agentxm/registry-protocol/unstable/suggested-action"; import { type ConfirmationRecoveryArgument } from "@agentxm/workspace/transitions/planning"; import { Verbosity } from "../../cli-flags/index.js"; import { Screen } from "../../screen/index.js"; export interface InstallCommandArgs { /** Telemetry and machine-output command identity, e.g. `skills.install`. */ readonly command: string; readonly request: InstallExtensionsRequest; readonly preview: boolean; readonly force: boolean; /** The command words a confirmation-recovery line reproduces. */ readonly recoveryCommand: ReadonlyArray; /** The positional locators that line reproduces. */ readonly recoveryLocators: ReadonlyArray; /** Extra flags that line reproduces, such as `--all` or `--ignore-release-age`. */ readonly recoveryArguments?: ReadonlyArray; readonly suggestions: ReadonlyArray; /** * What to say when the request matched nothing to install. A route that * leaves this out reports the empty operation itself instead. */ readonly noOpMessage?: string; } /** Run one install route end to end. */ export declare const runInstallCommand: (args: InstallCommandArgs) => Effect.Effect; //# sourceMappingURL=install-command.d.ts.map