/** * The one handler behind ` enable` and ` disable` for every * extension type: parse the request, settle it through the lifecycle * feature's activation use case, preview or apply it, and render the outcome. * * @experimental This API is unstable and may change without notice. */ import * as Effect from "effect/Effect"; import { type SetActivationRequest } from "@agentxm/workspace/lifecycle"; import type { SuggestedAction } from "@agentxm/registry-protocol/unstable/suggested-action"; export interface ActivationCommandArgs extends SetActivationRequest { readonly preview: boolean; } export interface ActivationCommandPresentation { /** The machine-output command identity, such as `skills.enable`. */ readonly command: string; /** The command path an approval-recovery hint reprints. */ readonly commandPath: ReadonlyArray; readonly planName: string; readonly suggestions: ReadonlyArray; } export declare const handleSetActivation: (args: ActivationCommandArgs, presentation: ActivationCommandPresentation) => Effect.Effect; //# sourceMappingURL=activation-handler.d.ts.map