import { Module } from '@nestjs/common';
import { PlanModule } from '../plan/plan.module';
import { AiModule } from '../ai/ai.module';
import { PlansAggregateController } from './plans-aggregate.controller';
import { PlanAggregateService } from './plan-aggregate.service';

/**
 * PlanAggregateModule — Plan 详情聚合 + AI 资产再生成的统一入口。
 *
 * 名字是历史(早期只给 demo 页用),目前承担生产路径:
 *   /pac/v1/plans/:id/full / script:regenerate / script:stream / summary:stream
 *
 * DemoController + getPlanDetail(externalId) 已废弃(被 /plans/:id 接管),清掉了。
 */
@Module({
  imports: [PlanModule, AiModule],
  controllers: [PlansAggregateController],
  providers: [PlanAggregateService],
})
export class PlanAggregateModule {}
