Skip to content

Variable: ContainerSpawnSubjects

Makaio Framework


Makaio Framework / services-core / ContainerSpawnSubjects

const ContainerSpawnSubjects: BusSubjects<FlatSubjectDefinitions<"docker", { container.created: ZodObject<{ containerId: ZodString; sessionId: ZodString; worktreePath: ZodOptional<ZodString>; }, $strip>; container.destroyed: ZodObject<{ containerId: ZodString; sessionId: ZodString; }, $strip>; container.spawn: { request: ZodDiscriminatedUnion<[ZodObject<{ adapter: ZodString; baseBranch: ZodString; env: ZodOptional<ZodRecord<ZodString, ZodString>>; image: ZodOptional<ZodString>; mode: ZodLiteral<"container-local">; repoPath: ZodString; runtime: ZodDefault<ZodEnum<{ full: …; simple: …; }>>; sessionId: ZodString; worktreeBranch: ZodOptional<ZodString>; }, $strip>, ZodObject<{ adapter: ZodString; branch: ZodString; busMode: ZodEnum<{ host: "host"; relay: "relay"; }>; env: ZodOptional<ZodRecord<ZodString, ZodString>>; gitToken: ZodString; image: ZodOptional<ZodString>; mode: ZodLiteral<"container-isolated">; relayUrl: ZodOptional<ZodString>; repoUrl: ZodString; runtime: ZodDefault<ZodEnum<{ full: …; simple: …; }>>; sessionId: ZodString; }, $strip>], "mode">; response: ZodObject<{ containerId: ZodString; worktreeBranch: ZodOptional<ZodString>; worktreePath: ZodOptional<ZodString>; }, $strip>; }; container.started: ZodObject<{ containerId: ZodString; sessionId: ZodString; worktreePath: ZodOptional<ZodString>; }, $strip>; container.status: { request: ZodObject<{ containerId: ZodString; }, $strip>; response: ZodObject<{ sessionId: ZodString; state: ZodEnum<{ created: "created"; destroyed: "destroyed"; running: "running"; stopped: "stopped"; }>; worktreePath: ZodOptional<ZodString>; }, $strip>; }; container.stop: { request: ZodObject<{ containerId: ZodString; deleteBranch: ZodDefault<ZodBoolean>; }, $strip>; response: ZodObject<{ success: ZodBoolean; }, $strip>; }; container.stopped: ZodObject<{ containerId: ZodString; exitCode: ZodNumber; sessionId: ZodString; }, $strip>; }>, "docker"> = DockerSubjects

Defined in: ../../../packages/services/core/src/execution-target/container-spawn-namespace.ts:11

Backward-compatible alias for the canonical Docker subjects.