import type { ExecutorContext } from '@nx/devkit'; import type { AgentBuildExecutorSchema } from './schema'; interface ExecutorResult { success: boolean; } /** * `agent-build` — one-shot production build of the host's Vite project, * with `@lensmcp/vite-plugin` already wired (the `setup-vite` generator * patches the host's `vite.config.ts`). * * Phase 2 keeps this minimal: spawn Vite's build CLI inheriting stdio, * then (if the build succeeds and `updateBaseline` is true) write a * stub baseline file under `.lensmcp/baseline/bundle.json` recording the * timestamp + buildOutDir. The reducer-side baseline (per-chunk JSON) * is written by the running `lensmcp-mcp` session — agent-build only * spawns Vite; the report flows into MCP via the plugin's WS bridge * once the supervisor wiring lands in 1.5. */ export default function agentBuildExecutor(options: AgentBuildExecutorSchema, context: ExecutorContext): Promise; export {};