@agentxm/extension-lifecycle 0.28.12 → 0.28.13

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 (207) hide show
  1. package/dist/src/activation/display-paths.d.ts +25 -0
  2. package/dist/src/activation/display-paths.js +25 -0
  3. package/dist/src/activation/errors.d.ts +16 -0
  4. package/dist/src/activation/errors.js +7 -0
  5. package/dist/src/activation/set-activation.d.ts +134 -0
  6. package/dist/src/activation/set-activation.js +772 -0
  7. package/dist/src/demote/demote-to-external-source.d.ts +82 -0
  8. package/dist/src/demote/demote-to-external-source.js +233 -0
  9. package/dist/src/errors.d.ts +0 -8
  10. package/dist/src/errors.js +0 -8
  11. package/dist/src/glob.d.ts +35 -0
  12. package/dist/src/glob.js +75 -0
  13. package/dist/src/hooks/configured-agent-outcomes-provider.d.ts +7 -3
  14. package/dist/src/hooks/configured-agent-outcomes-provider.js +11 -4
  15. package/dist/src/hooks/install/plan.d.ts +45 -0
  16. package/dist/src/hooks/install/plan.js +224 -0
  17. package/dist/src/hooks/uninstall/plan.d.ts +20 -0
  18. package/dist/src/hooks/uninstall/plan.js +77 -0
  19. package/dist/src/index.d.ts +48 -16
  20. package/dist/src/index.js +60 -17
  21. package/dist/src/install/aggregate-projection-step.d.ts +16 -0
  22. package/dist/src/install/aggregate-projection-step.js +49 -0
  23. package/dist/src/install/configured.d.ts +65 -0
  24. package/dist/src/install/configured.js +406 -0
  25. package/dist/src/install/inline-mcp-operation.d.ts +4 -0
  26. package/dist/src/install/inline-mcp-operation.js +25 -0
  27. package/dist/src/install/install-extensions.d.ts +110 -0
  28. package/dist/src/install/install-extensions.js +282 -0
  29. package/dist/src/install/per-type-install.d.ts +12 -0
  30. package/dist/src/install/per-type-install.js +12 -0
  31. package/dist/src/install/registry-install-target.d.ts +35 -0
  32. package/dist/src/install/registry-install-target.js +66 -0
  33. package/dist/src/install/registry-login-suggestion.d.ts +21 -0
  34. package/dist/src/install/registry-login-suggestion.js +34 -0
  35. package/dist/src/install/registry-source-resolution.d.ts +54 -0
  36. package/dist/src/install/registry-source-resolution.js +216 -0
  37. package/dist/src/install/root-intent.d.ts +19 -0
  38. package/dist/src/install/root-intent.js +122 -0
  39. package/dist/src/install/selection-interaction.d.ts +46 -0
  40. package/dist/src/install/selection-interaction.js +22 -0
  41. package/dist/src/install/vocabulary.d.ts +143 -0
  42. package/dist/src/install/vocabulary.js +29 -0
  43. package/dist/src/knowledge/install/plan.d.ts +35 -0
  44. package/dist/src/knowledge/install/plan.js +128 -0
  45. package/dist/src/knowledge/uninstall/plan.d.ts +23 -0
  46. package/dist/src/knowledge/uninstall/plan.js +140 -0
  47. package/dist/src/live.d.ts +4 -11
  48. package/dist/src/live.js +4 -11
  49. package/dist/src/mcps/install/plan.d.ts +65 -0
  50. package/dist/src/mcps/install/plan.js +301 -0
  51. package/dist/src/mcps/operations/disable.d.ts +5 -3
  52. package/dist/src/mcps/operations/disable.js +6 -4
  53. package/dist/src/mcps/operations/enable.d.ts +5 -3
  54. package/dist/src/mcps/operations/enable.js +8 -6
  55. package/dist/src/mcps/operations/sync-outcome.d.ts +1 -1
  56. package/dist/src/mcps/operations/uninstall.d.ts +5 -3
  57. package/dist/src/mcps/operations/uninstall.js +4 -4
  58. package/dist/src/mcps/uninstall/plan.d.ts +24 -0
  59. package/dist/src/mcps/uninstall/plan.js +109 -0
  60. package/dist/src/packs/artifact.d.ts +21 -0
  61. package/dist/src/packs/artifact.js +32 -0
  62. package/dist/src/packs/constraint-gate.d.ts +30 -0
  63. package/dist/src/packs/constraint-gate.js +76 -0
  64. package/dist/src/packs/expansion.d.ts +13 -14
  65. package/dist/src/packs/expansion.js +1 -2
  66. package/dist/src/packs/graph-transition.d.ts +64 -0
  67. package/dist/src/packs/graph-transition.js +219 -0
  68. package/dist/src/packs/install/plan.d.ts +95 -0
  69. package/dist/src/packs/install/plan.js +845 -0
  70. package/dist/src/packs/member-install-step.d.ts +29 -0
  71. package/dist/src/packs/member-install-step.js +156 -0
  72. package/dist/src/packs/operations/install.d.ts +3 -3
  73. package/dist/src/packs/operations/install.js +5 -5
  74. package/dist/src/packs/promote-authored-pack.d.ts +86 -0
  75. package/dist/src/packs/promote-authored-pack.js +239 -0
  76. package/dist/src/packs/resolved-dependency.d.ts +9 -26
  77. package/dist/src/packs/resolved-dependency.js +8 -20
  78. package/dist/src/packs/uninstall/plan.d.ts +66 -0
  79. package/dist/src/packs/uninstall/plan.js +344 -0
  80. package/dist/src/packs/uninstall/readiness.d.ts +50 -0
  81. package/dist/src/packs/uninstall/readiness.js +130 -0
  82. package/dist/src/publisher-binding.d.ts +8 -40
  83. package/dist/src/publisher-binding.js +8 -46
  84. package/dist/src/rules/install/plan.d.ts +35 -0
  85. package/dist/src/rules/install/plan.js +133 -0
  86. package/dist/src/rules/uninstall/plan.d.ts +19 -0
  87. package/dist/src/rules/uninstall/plan.js +54 -0
  88. package/dist/src/skills/install/bundled.d.ts +73 -0
  89. package/dist/src/skills/install/bundled.js +244 -0
  90. package/dist/src/skills/install/plan.d.ts +72 -0
  91. package/dist/src/skills/install/plan.js +429 -0
  92. package/dist/src/skills/install/selection.d.ts +26 -0
  93. package/dist/src/skills/install/selection.js +41 -0
  94. package/dist/src/skills/install/source.d.ts +21 -0
  95. package/dist/src/skills/install/source.js +76 -0
  96. package/dist/src/skills/operations/disable.d.ts +3 -2
  97. package/dist/src/skills/operations/disable.js +7 -11
  98. package/dist/src/skills/operations/enable.d.ts +3 -2
  99. package/dist/src/skills/operations/enable.js +6 -8
  100. package/dist/src/skills/operations/install.d.ts +4 -4
  101. package/dist/src/skills/operations/install.js +13 -12
  102. package/dist/src/skills/uninstall/plan.d.ts +23 -0
  103. package/dist/src/skills/uninstall/plan.js +165 -0
  104. package/dist/src/skills/utils.js +1 -1
  105. package/dist/src/step-failure-conversion.d.ts +44 -0
  106. package/dist/src/step-failure-conversion.js +26 -0
  107. package/dist/src/step-failure.d.ts +29 -0
  108. package/dist/src/step-failure.js +130 -0
  109. package/dist/src/subagents/install/plan.d.ts +49 -0
  110. package/dist/src/subagents/install/plan.js +270 -0
  111. package/dist/src/subagents/install/selection.d.ts +26 -0
  112. package/dist/src/subagents/install/selection.js +37 -0
  113. package/dist/src/subagents/install/source.d.ts +18 -0
  114. package/dist/src/subagents/install/source.js +72 -0
  115. package/dist/src/subagents/operations/disable.d.ts +5 -3
  116. package/dist/src/subagents/operations/disable.js +5 -3
  117. package/dist/src/subagents/operations/enable.d.ts +5 -3
  118. package/dist/src/subagents/operations/enable.js +17 -12
  119. package/dist/src/subagents/uninstall/plan.d.ts +20 -0
  120. package/dist/src/subagents/uninstall/plan.js +142 -0
  121. package/dist/src/test-packages.d.ts +34 -0
  122. package/dist/src/test-packages.js +111 -0
  123. package/dist/src/test-registry.d.ts +78 -0
  124. package/dist/src/test-registry.js +223 -0
  125. package/dist/src/testing.d.ts +108 -0
  126. package/dist/src/testing.js +241 -0
  127. package/dist/src/uninstall/retention-policy.d.ts +21 -0
  128. package/dist/src/uninstall/retention-policy.js +28 -0
  129. package/dist/src/uninstall/root-intent.d.ts +17 -0
  130. package/dist/src/uninstall/root-intent.js +101 -0
  131. package/dist/src/uninstall/uninstall-extensions.d.ts +61 -0
  132. package/dist/src/uninstall/uninstall-extensions.js +127 -0
  133. package/dist/src/uninstall/vocabulary.d.ts +40 -0
  134. package/dist/src/uninstall/vocabulary.js +14 -0
  135. package/dist/src/update/atomicity.d.ts +22 -0
  136. package/dist/src/update/atomicity.js +23 -0
  137. package/dist/src/update/blockers.d.ts +31 -0
  138. package/dist/src/update/blockers.js +78 -0
  139. package/dist/src/update/configured.d.ts +78 -0
  140. package/dist/src/update/configured.js +546 -0
  141. package/dist/src/update/root-request.d.ts +39 -0
  142. package/dist/src/update/root-request.js +117 -0
  143. package/dist/src/update/selective/plan.d.ts +45 -0
  144. package/dist/src/update/selective/plan.js +61 -0
  145. package/dist/src/update/selective/requirements.d.ts +17 -0
  146. package/dist/src/update/selective/requirements.js +14 -0
  147. package/dist/src/update/selective/selection.d.ts +63 -0
  148. package/dist/src/update/selective/selection.js +85 -0
  149. package/dist/src/update/selective/skills.d.ts +55 -0
  150. package/dist/src/update/selective/skills.js +596 -0
  151. package/dist/src/update/selective/subagents.d.ts +52 -0
  152. package/dist/src/update/selective/subagents.js +331 -0
  153. package/dist/src/update/selective/use-case.d.ts +121 -0
  154. package/dist/src/update/selective/use-case.js +28 -0
  155. package/dist/src/update/selective/vocabulary.d.ts +43 -0
  156. package/dist/src/update/selective/vocabulary.js +28 -0
  157. package/dist/src/update/selector.d.ts +72 -0
  158. package/dist/src/update/selector.js +120 -0
  159. package/dist/src/update/targeted-plan.d.ts +30 -0
  160. package/dist/src/update/targeted-plan.js +113 -0
  161. package/dist/src/update/update-extensions.d.ts +164 -0
  162. package/dist/src/update/update-extensions.js +579 -0
  163. package/dist/src/workspace-paths.d.ts +31 -0
  164. package/dist/src/workspace-paths.js +46 -0
  165. package/package.json +22 -12
  166. package/dist/src/configured-entry-resolution.d.ts +0 -111
  167. package/dist/src/configured-entry-resolution.js +0 -731
  168. package/dist/src/failure-adapter.d.ts +0 -35
  169. package/dist/src/failure-adapter.js +0 -23
  170. package/dist/src/hooks/manager.d.ts +0 -15
  171. package/dist/src/hooks/manager.js +0 -769
  172. package/dist/src/internal/fs-helpers.d.ts +0 -12
  173. package/dist/src/internal/fs-helpers.js +0 -13
  174. package/dist/src/internal/integrity.d.ts +0 -13
  175. package/dist/src/internal/integrity.js +0 -17
  176. package/dist/src/knowledge/manager.d.ts +0 -11
  177. package/dist/src/knowledge/manager.js +0 -711
  178. package/dist/src/mcps/manager.d.ts +0 -16
  179. package/dist/src/mcps/manager.js +0 -247
  180. package/dist/src/mcps/operations/artifact.d.ts +0 -24
  181. package/dist/src/mcps/operations/artifact.js +0 -74
  182. package/dist/src/mcps/operations/install.d.ts +0 -78
  183. package/dist/src/mcps/operations/install.js +0 -596
  184. package/dist/src/packs/dependency-resolution.d.ts +0 -65
  185. package/dist/src/packs/dependency-resolution.js +0 -414
  186. package/dist/src/packs/manager.d.ts +0 -16
  187. package/dist/src/packs/manager.js +0 -181
  188. package/dist/src/registry-materialization.d.ts +0 -52
  189. package/dist/src/registry-materialization.js +0 -72
  190. package/dist/src/release-age-posture.d.ts +0 -23
  191. package/dist/src/release-age-posture.js +0 -15
  192. package/dist/src/resolution-timeout.d.ts +0 -5
  193. package/dist/src/resolution-timeout.js +0 -11
  194. package/dist/src/rules/manager.d.ts +0 -20
  195. package/dist/src/rules/manager.js +0 -480
  196. package/dist/src/skills/manager.d.ts +0 -18
  197. package/dist/src/skills/manager.js +0 -346
  198. package/dist/src/skills/materialization.d.ts +0 -54
  199. package/dist/src/skills/materialization.js +0 -158
  200. package/dist/src/skills/operations/source-hash.d.ts +0 -2
  201. package/dist/src/skills/operations/source-hash.js +0 -6
  202. package/dist/src/subagents/manager.d.ts +0 -18
  203. package/dist/src/subagents/manager.js +0 -722
  204. package/dist/src/workflows/install-command/workflow.d.ts +0 -56
  205. package/dist/src/workflows/install-command/workflow.js +0 -46
  206. package/dist/src/workflows/uninstall-command/workflow.d.ts +0 -42
  207. package/dist/src/workflows/uninstall-command/workflow.js +0 -29
@@ -1,56 +0,0 @@
1
- /**
2
- * Shared install command workflow orchestration.
3
- *
4
- * Defines the `InstallExtensionCommandWorkflowActions` interface and
5
- * `runInstallCommandWorkflow` function shared by all install command handlers.
6
- *
7
- * @experimental This API is unstable and may change without notice.
8
- */
9
- import * as Effect from "effect/Effect";
10
- import type * as Scope from "effect/Scope";
11
- import type { Plan } from "@agentxm/workspace-operations";
12
- import type { OperationResolution } from "@agentxm/workspace-operations";
13
- import type { PlanExecution } from "@agentxm/workspace-operations";
14
- /**
15
- * Type-specific actions for install command workflows.
16
- *
17
- * Each extension type provides its own implementation of these actions.
18
- * The generic type parameters allow full type safety per extension type.
19
- *
20
- * @typeParam Args - Raw command arguments from the active CLI parser
21
- * @typeParam Parsed - Parsed/validated arguments
22
- * @typeParam Req - Source request type (for resolution)
23
- * @typeParam Ref - Extension ref type (discovery output)
24
- * @typeParam Intent - Command-specific install intent
25
- * @typeParam ParseError - Failures the argument/plan phases surface
26
- * @typeParam ResolveError - Failures the interactive resolution phases surface
27
- */
28
- export interface InstallExtensionCommandWorkflowActions<Args, Parsed, Req, Ref, Intent, ParseError, ResolveError = ParseError> {
29
- readonly parseArgs: (args: Args) => Effect.Effect<Parsed, ParseError>;
30
- readonly resolveSourceRequests: (parsed: Parsed) => Effect.Effect<ReadonlyArray<Req>, ResolveError>;
31
- readonly discoverRefs: (reqs: ReadonlyArray<Req>) => Effect.Effect<ReadonlyArray<Ref>, ParseError, Scope.Scope>;
32
- readonly finalizeIntent: (parsed: Parsed, refs: ReadonlyArray<Ref>) => Effect.Effect<Intent, ResolveError>;
33
- readonly buildPlan: (intent: Intent) => Effect.Effect<Plan, ParseError>;
34
- }
35
- /**
36
- * Run the canonical install command workflow.
37
- *
38
- * Executes phases in order: parse -> resolveSource -> discover ->
39
- * finalizeIntent -> buildPlan -> previewOrApplyPlan.
40
- */
41
- export declare const buildInstallCommandPlan: <Args, Parsed, Req, Ref, Intent, ParseError, ResolveError, TransformError = never, TransformRequirements = never>(args: Args, actions: InstallExtensionCommandWorkflowActions<Args, Parsed, Req, Ref, Intent, ParseError, ResolveError>, options?: {
42
- readonly transformIntent?: (intent: Intent) => Intent;
43
- readonly transformPlan?: (plan: Plan) => Effect.Effect<Plan, TransformError, TransformRequirements>;
44
- }) => Effect.Effect<Plan<never, never>, ParseError | ResolveError | TransformError, import("@agentxm/workspace-state").WorkspaceMutations | import("effect/FileSystem").FileSystem | import("effect/Path").Path | Scope.Scope | TransformRequirements>;
45
- /**
46
- * Run the canonical install command workflow.
47
- *
48
- * Executes phases in order: parse -> resolveSource -> discover ->
49
- * finalizeIntent -> buildPlan -> previewOrApplyPlan.
50
- */
51
- export declare const runInstallCommandWorkflow: <Args, Parsed, Req, Ref, Intent, ParseError, ResolveError, TransformError = never, TransformRequirements = never>(args: Args, actions: InstallExtensionCommandWorkflowActions<Args, Parsed, Req, Ref, Intent, ParseError, ResolveError>, options: {
52
- readonly execution: PlanExecution;
53
- readonly transformIntent?: (intent: Intent) => Intent;
54
- readonly transformPlan?: (plan: Plan) => Effect.Effect<Plan, TransformError, TransformRequirements>;
55
- }) => Effect.Effect<OperationResolution<never>, import("@agentxm/workspace-state").WorkspaceSettingsReadFailure | ParseError | ResolveError | TransformError | import("@agentxm/workspace-operations").CandidateFingerprintFailed | import("@agentxm/workspace-operations").ApprovalRecoveryMissing | import("@agentxm/workspace-operations").PlanInteractionFailed | import("@agentxm/workspace-state").WorkspaceTransitionAcquireFailure | import("@agentxm/workspace-state").LockfileValidationError, import("@agentxm/workspace-state").WorkspaceMutations | import("effect/FileSystem").FileSystem | import("effect/Path").Path | import("@agentxm/workspace-operations").ResolvePlanInteraction | Exclude<TransformRequirements, Scope.Scope>>;
56
- //# sourceMappingURL=workflow.d.ts.map
@@ -1,46 +0,0 @@
1
- /**
2
- * Shared install command workflow orchestration.
3
- *
4
- * Defines the `InstallExtensionCommandWorkflowActions` interface and
5
- * `runInstallCommandWorkflow` function shared by all install command handlers.
6
- *
7
- * @experimental This API is unstable and may change without notice.
8
- */
9
- import * as Effect from "effect/Effect";
10
- import { observeUnit, previewOrApplyPlan, publishPhaseStarted, } from "@agentxm/workspace-operations";
11
- import { withPublisherTrust } from "../../publisher-binding.js";
12
- // -----------------------------------------------------------------------------
13
- // Install Command Workflow
14
- // -----------------------------------------------------------------------------
15
- /**
16
- * Run the canonical install command workflow.
17
- *
18
- * Executes phases in order: parse -> resolveSource -> discover ->
19
- * finalizeIntent -> buildPlan -> previewOrApplyPlan.
20
- */
21
- export const buildInstallCommandPlan = (args, actions, options) => Effect.gen(function* () {
22
- const parsed = yield* actions.parseArgs(args);
23
- // Source resolution is the first lifecycle phase: requested sources become
24
- // concrete refs, observed as one unit under `resolution`.
25
- yield* publishPhaseStarted("resolution");
26
- const refs = yield* observeUnit({ id: "extension-sources", label: "extension sources" }, Effect.flatMap(actions.resolveSourceRequests(parsed), (sourceRequests) => actions.discoverRefs(sourceRequests)));
27
- const finalizedIntent = yield* actions.finalizeIntent(parsed, refs);
28
- const intent = options?.transformIntent?.(finalizedIntent) ?? finalizedIntent;
29
- const plan = yield* actions.buildPlan(intent);
30
- const transformed = options?.transformPlan === undefined ? plan : yield* options.transformPlan(plan);
31
- // Every acceptance the plan proposes is classified against the accepted
32
- // resolution here, so root, type, reinstall, and closure routes share one
33
- // publisher-trust rule.
34
- return yield* withPublisherTrust(transformed);
35
- });
36
- /**
37
- * Run the canonical install command workflow.
38
- *
39
- * Executes phases in order: parse -> resolveSource -> discover ->
40
- * finalizeIntent -> buildPlan -> previewOrApplyPlan.
41
- */
42
- export const runInstallCommandWorkflow = (args, actions, options) => Effect.gen(function* () {
43
- const plan = yield* buildInstallCommandPlan(args, actions, options);
44
- return yield* previewOrApplyPlan(plan, { execution: options.execution });
45
- }).pipe(Effect.scoped, Effect.map((resolution) => resolution));
46
- //# sourceMappingURL=workflow.js.map
@@ -1,42 +0,0 @@
1
- /**
2
- * Shared uninstall command workflow orchestration.
3
- *
4
- * Defines the `UninstallExtensionCommandWorkflowActions` interface and
5
- * `runUninstallCommandWorkflow` function shared by all uninstall command handlers.
6
- *
7
- * @experimental This API is unstable and may change without notice.
8
- */
9
- import * as Effect from "effect/Effect";
10
- import type { Plan } from "@agentxm/workspace-operations";
11
- import type { StepFailure } from "@agentxm/workspace-operations";
12
- import type { OperationResolution } from "@agentxm/workspace-operations";
13
- import type { PlanExecution } from "@agentxm/workspace-operations";
14
- /**
15
- * Type-specific actions for uninstall command workflows.
16
- *
17
- * Each extension type provides its own implementation of these actions.
18
- * The generic type parameters allow full type safety per extension type.
19
- *
20
- * @typeParam Args - Raw command arguments from the active CLI parser
21
- * @typeParam Parsed - Parsed/validated arguments
22
- * @typeParam Intent - Command-specific uninstall intent
23
- * @typeParam E - Failures the phases surface
24
- */
25
- export interface UninstallExtensionCommandWorkflowActions<Args, Parsed, Intent, E> {
26
- readonly parseArgs: (args: Args) => Effect.Effect<Parsed, E>;
27
- readonly finalizeIntent: (parsed: Parsed) => Effect.Effect<Intent, E>;
28
- readonly buildUninstallPlan: (intent: Intent, flags: UninstallWorkflowFlags) => Effect.Effect<Plan, E>;
29
- }
30
- export interface UninstallWorkflowFlags {
31
- readonly execution: PlanExecution;
32
- /** Optional delayed gate; candidate freshness is checked again after it completes. */
33
- readonly beforeApply?: () => Effect.Effect<void, StepFailure>;
34
- }
35
- /**
36
- * Run the canonical uninstall command workflow.
37
- *
38
- * Executes phases in order: parse -> finalizeIntent -> buildUninstallPlan ->
39
- * previewOrApplyPlan.
40
- */
41
- export declare const runUninstallCommandWorkflow: <Args, Parsed, Intent, E>(args: Args, actions: UninstallExtensionCommandWorkflowActions<Args, Parsed, Intent, E>, flags: UninstallWorkflowFlags) => Effect.Effect<OperationResolution<never>, import("@agentxm/workspace-state").WorkspaceSettingsReadFailure | import("@agentxm/workspace-operations").CandidateFingerprintFailed | import("@agentxm/workspace-operations").ApprovalRecoveryMissing | import("@agentxm/workspace-operations").PlanInteractionFailed | import("@agentxm/workspace-state").WorkspaceTransitionAcquireFailure | import("@agentxm/workspace-state").LockfileValidationError | E, import("@agentxm/workspace-state").WorkspaceMutations | import("effect/FileSystem").FileSystem | import("effect/Path").Path | import("@agentxm/workspace-operations").ResolvePlanInteraction>;
42
- //# sourceMappingURL=workflow.d.ts.map
@@ -1,29 +0,0 @@
1
- /**
2
- * Shared uninstall command workflow orchestration.
3
- *
4
- * Defines the `UninstallExtensionCommandWorkflowActions` interface and
5
- * `runUninstallCommandWorkflow` function shared by all uninstall command handlers.
6
- *
7
- * @experimental This API is unstable and may change without notice.
8
- */
9
- import * as Effect from "effect/Effect";
10
- import { previewOrApplyPlan } from "@agentxm/workspace-operations";
11
- // -----------------------------------------------------------------------------
12
- // Uninstall Command Workflow
13
- // -----------------------------------------------------------------------------
14
- /**
15
- * Run the canonical uninstall command workflow.
16
- *
17
- * Executes phases in order: parse -> finalizeIntent -> buildUninstallPlan ->
18
- * previewOrApplyPlan.
19
- */
20
- export const runUninstallCommandWorkflow = (args, actions, flags) => Effect.gen(function* () {
21
- const parsed = yield* actions.parseArgs(args);
22
- const intent = yield* actions.finalizeIntent(parsed);
23
- const plan = yield* actions.buildUninstallPlan(intent, flags);
24
- return yield* previewOrApplyPlan(plan, {
25
- execution: flags.execution,
26
- ...(flags.beforeApply === undefined ? {} : { beforeApply: flags.beforeApply }),
27
- });
28
- }).pipe(Effect.map((resolution) => resolution));
29
- //# sourceMappingURL=workflow.js.map