Angular Modernizer
    Preparing search index...

    MCP tool plan-migration: builds a migration strategy and roadmap from detected architecture and SOLID violations and, with a style profile from learn-patterns, from the codebase conventions (RxJS patterns, DI style).

    Scan-based planning: when violations carry filePath (inline or from a saved scan-architecture result via scanResultFile) and projectRoot is set, the roadmap is built from the files themselves: grouped per file and layer, ordered dependencies first along the import graph, import cycles kept together (core buildViolationPlan, planSource: 'scan'). Otherwise the strategy templates decide the roadmap (planSource: 'template').

    Implements

    Index

    Constructors

    Properties

    Methods

    Constructors

    Properties

    annotations: ToolAnnotations = ...

    Behavior hints for clients (MCP 2025-03-26); hints, not guarantees.

    description: string = ...

    Human-readable description of what the tool does.

    name: string = 'plan-migration'

    Unique tool name.

    title: string = 'Plan Migration'

    Display name for clients (MCP 2025-06-18).

    Methods

    • Execute the tool with given arguments.

      Parameters

      • args: Record<string, unknown>

        Tool arguments validated against inputSchema

      • ctx: ToolContext = {}

        Cancellation and progress of the MCP request (absent in direct calls)

      Returns Promise<PlanMigrationResult>

      Tool execution result