Variable: ContainerSpawnNamespace
Makaio Framework / services-core / ContainerSpawnNamespace
Variable: ContainerSpawnNamespace
Section titled “Variable: ContainerSpawnNamespace”
constContainerSpawnNamespace:BusNamespace<"docker",SubjectRecordFromSchemaRecord<{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>; }>, {adapter:string;baseBranch:string;branch:string;busMode:"relay"|"host";containerId:string;deleteBranch:never;env:never;exitCode:number;gitToken:string;image:never;mode:"container-local"|"container-isolated";relayUrl:never;repoPath:string;repoUrl:string;runtime:never;sessionId:string;worktreeBranch:never;worktreePath:never; }, {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:"full";simple:"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:"full";simple:"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>; }> =DockerNamespace
Defined in: ../../../packages/services/core/src/execution-target/container-spawn-namespace.ts:6
Backward-compatible alias for the canonical Docker namespace.