browserMessageSchema
constbrowserMessageSchema:ZodDiscriminatedUnion<"type", [ZodObject<{data:ZodString;height:ZodNumber;type:ZodLiteral<"browser_frame">;width:ZodNumber; },"strip",ZodTypeAny, {data:string;height:number;type:"browser_frame";width:number; }, {data:string;height:number;type:"browser_frame";width:number; }>,ZodObject<{controller:ZodNullable<ZodObject<{color:ZodOptional<ZodString>;id:ZodString;kind:ZodEnum<["human","agent"]>;name:ZodString;onBehalfOf:ZodOptional<ZodObject<{id:ZodString;name:ZodString; },"strip",ZodTypeAny, {id:string;name:string; }, {id:string;name:string; }>>; },"strip",ZodTypeAny, {color?:string;id:string;kind:"human"|"agent";name:string;onBehalfOf?: {id:string;name:string; }; }, {color?:string;id:string;kind:"human"|"agent";name:string;onBehalfOf?: {id:string;name:string; }; }>>;error:ZodOptional<ZodString>;status:ZodEnum<["starting","running","stopped","unavailable"]>;title:ZodString;type:ZodLiteral<"browser_status">;url:ZodString;video:ZodBoolean; },"strip",ZodTypeAny, {controller: {color?:string;id:string;kind:"human"|"agent";name:string;onBehalfOf?: {id:string;name:string; }; } |null;error?:string;status:"starting"|"running"|"stopped"|"unavailable";title:string;type:"browser_status";url:string;video:boolean; }, {controller: {color?:string;id:string;kind:"human"|"agent";name:string;onBehalfOf?: {id:string;name:string; }; } |null;error?:string;status:"starting"|"running"|"stopped"|"unavailable";title:string;type:"browser_status";url:string;video:boolean; }>,ZodObject<{heldBy:ZodObject<{color:ZodOptional<ZodString>;id:ZodString;kind:ZodEnum<["human","agent"]>;name:ZodString;onBehalfOf:ZodOptional<ZodObject<{id:ZodString;name:ZodString; },"strip",ZodTypeAny, {id:string;name:string; }, {id:string;name:string; }>>; },"strip",ZodTypeAny, {color?:string;id:string;kind:"human"|"agent";name:string;onBehalfOf?: {id:string;name:string; }; }, {color?:string;id:string;kind:"human"|"agent";name:string;onBehalfOf?: {id:string;name:string; }; }>;type:ZodLiteral<"browser_denied">; },"strip",ZodTypeAny, {heldBy: {color?:string;id:string;kind:"human"|"agent";name:string;onBehalfOf?: {id:string;name:string; }; };type:"browser_denied"; }, {heldBy: {color?:string;id:string;kind:"human"|"agent";name:string;onBehalfOf?: {id:string;name:string; }; };type:"browser_denied"; }>]>
Defined in: index.ts:1030