/** * `slowcook serve dev ` — Phase 1 implementation. * * Verbs (Phase 1): * - up — bring up the dev profile (compose overlay or fallback) * - sync — push source-branch + restart bind-mount targets * - down — stop the profile's services (volumes preserved) * - logs — pass-through to docker-compose logs * - reset — no-op for dev profile (only meaningful for staging) * * Backward-compat aliases preserved on the cli switch: * - `slowcook dev-env push --branch X` ≡ `slowcook serve dev sync --branch X` * - `slowcook dev-env up` ≡ `slowcook serve dev up` * - `slowcook dev-env reset` ≡ `slowcook serve dev reset` (no-op + notice) * * 0.19.7 (sc#173 fixes): * - Planner populates `commands[]` (structured ShellCommand records). * The cli wrapper invokes runCommands() to actually execute (or * dry-run); previously `up`/`down`/`logs` were planners only. * - Compose-file layering: respects `profile.compose_files` (multi-`-f`) * OR `compose_overlay` (single). Real consumers need base+overlay. * - `--build` flag is suppressed for `bind-mount-source` mode (the * mode's whole point is skipping the build loop). */ import type { ProfileConfig, ServeConfig } from "./config.js"; import type { ShellCommand } from "./runner.js"; export interface DevVerbArgs { verb: string; branch?: string; story?: string; service?: string; follow?: boolean; prune?: boolean; repoRoot: string; /** Test seam: report the plan but skip actual git rev-parse. */ dryRun?: boolean; } export interface DevVerbResult { exitCode: number; /** Human narrative emitted by the planner. */ output: string[]; /** Shell commands the cli wrapper should execute (in order). */ commands?: ShellCommand[]; } export declare function planServeDev(args: DevVerbArgs, _config: ServeConfig, profile: ProfileConfig): DevVerbResult; //# sourceMappingURL=dev.d.ts.map