import { Module } from "@nestjs/common"; import { ConfigModule } from "@nestjs/config"; import { StitcherController } from "./stitcher.controller"; import { StitcherService } from "./stitcher.service"; import { PrismaModule } from "../prisma/prisma.module"; import { BullMqModule } from "../bullmq/bullmq.module"; /** * StitcherModule - Workflow orchestration module * * Provides the control layer that wraps OpenClaw for workflow execution. * Handles webhooks, applies guard/quality rails, and dispatches jobs to queues. */ @Module({ imports: [ConfigModule, PrismaModule, BullMqModule], controllers: [StitcherController], providers: [StitcherService], exports: [StitcherService], }) export class StitcherModule {}