mise API - v0.0.0
    Preparing search index...

    Variable clientMessageSchemaConst

    clientMessageSchema: z.ZodDiscriminatedUnion<
        [
            z.ZodObject<
                {
                    capabilities: z.ZodOptional<
                        z.ZodObject<
                            {
                                claims: z.ZodOptional<
                                    z.ZodArray<
                                        z.ZodObject<{ subject: ...; verbs: ... }, z.core.$strip>,
                                    >,
                                >;
                                color: z.ZodOptional<z.ZodBoolean>;
                                fileDelivery: z.ZodOptional<z.ZodBoolean>;
                                hiddenInput: z.ZodOptional<z.ZodBoolean>;
                                localFilesystem: z.ZodOptional<z.ZodBoolean>;
                                shellCommands: z.ZodBoolean;
                                terminal: z.ZodOptional<z.ZodString>;
                            },
                            z.core.$strip,
                        >,
                    >;
                    protocolVersion: z.ZodNumber;
                    session: z.ZodOptional<z.ZodString>;
                    token: z.ZodString;
                    type: z.ZodLiteral<"attach">;
                },
                z.core.$strip,
            >,
            z.ZodObject<
                {
                    id: z.ZodString;
                    instrument: z.ZodOptional<z.ZodBoolean>;
                    line: z.ZodString;
                    mirrored: z.ZodOptional<z.ZodBoolean>;
                    type: z.ZodLiteral<"execute">;
                },
                z.core.$strip,
            >,
            z.ZodObject<
                { id: z.ZodString; type: z.ZodLiteral<"cancel"> },
                z.core.$strip,
            >,
            z.ZodObject<{ type: z.ZodLiteral<"stop"> }, z.core.$strip>,
            z.ZodObject<
                { password: z.ZodString; type: z.ZodLiteral<"elevate"> },
                z.core.$strip,
            >,
            z.ZodObject<
                {
                    id: z.ZodString;
                    prefix: z.ZodString;
                    type: z.ZodLiteral<"complete">;
                },
                z.core.$strip,
            >,
            z.ZodObject<
                {
                    answer: z.ZodString;
                    promptId: z.ZodString;
                    type: z.ZodLiteral<"promptAnswer">;
                },
                z.core.$strip,
            >,
            z.ZodObject<
                {
                    promptId: z.ZodString;
                    reason: z.ZodString;
                    type: z.ZodLiteral<"promptError">;
                },
                z.core.$strip,
            >,
            z.ZodObject<
                {
                    output: z.ZodString;
                    pipeId: z.ZodString;
                    type: z.ZodLiteral<"pipeResult">;
                },
                z.core.$strip,
            >,
            z.ZodObject<
                {
                    pipeId: z.ZodString;
                    reason: z.ZodString;
                    type: z.ZodLiteral<"pipeError">;
                },
                z.core.$strip,
            >,
            z.ZodObject<
                {
                    exitCode: z.ZodNumber;
                    shellId: z.ZodString;
                    type: z.ZodLiteral<"shellResult">;
                },
                z.core.$strip,
            >,
            z.ZodObject<
                {
                    reason: z.ZodString;
                    shellId: z.ZodString;
                    type: z.ZodLiteral<"shellError">;
                },
                z.core.$strip,
            >,
            z.ZodObject<
                {
                    changed: z.ZodBoolean;
                    content: z.ZodString;
                    editId: z.ZodString;
                    opened: z.ZodOptional<z.ZodBoolean>;
                    type: z.ZodLiteral<"editResult">;
                },
                z.core.$strip,
            >,
            z.ZodObject<
                {
                    editId: z.ZodString;
                    reason: z.ZodString;
                    type: z.ZodLiteral<"editError">;
                },
                z.core.$strip,
            >,
            z.ZodObject<
                {
                    bytes: z.ZodNumber;
                    deliverId: z.ZodString;
                    location: z.ZodString;
                    type: z.ZodLiteral<"deliverResult">;
                },
                z.core.$strip,
            >,
            z.ZodObject<
                {
                    deliverId: z.ZodString;
                    reason: z.ZodString;
                    type: z.ZodLiteral<"deliverError">;
                },
                z.core.$strip,
            >,
            z.ZodObject<
                {
                    regard: z.ZodObject<
                        {
                            address: z.ZodString;
                            groupId: z.ZodString;
                            modelKind: z.ZodOptional<z.ZodString>;
                            paneId: z.ZodString;
                        },
                        z.core.$strip,
                    >;
                    type: z.ZodLiteral<"regard">;
                },
                z.core.$strip,
            >,
            z.ZodObject<
                { subject: z.ZodString; type: z.ZodLiteral<"watch"> },
                z.core.$strip,
            >,
            z.ZodObject<
                { subject: z.ZodString; type: z.ZodLiteral<"unwatch"> },
                z.core.$strip,
            >,
            z.ZodObject<
                {
                    cols: z.ZodNumber;
                    rows: z.ZodNumber;
                    terminalId: z.ZodOptional<z.ZodString>;
                    type: z.ZodLiteral<"terminalOpen">;
                },
                z.core.$strip,
            >,
            z.ZodObject<
                {
                    data: z.ZodString;
                    terminalId: z.ZodString;
                    type: z.ZodLiteral<"terminalInput">;
                },
                z.core.$strip,
            >,
            z.ZodObject<
                {
                    cols: z.ZodNumber;
                    rows: z.ZodNumber;
                    terminalId: z.ZodString;
                    type: z.ZodLiteral<"terminalResize">;
                },
                z.core.$strip,
            >,
            z.ZodObject<
                { terminalId: z.ZodString; type: z.ZodLiteral<"terminalClose"> },
                z.core.$strip,
            >,
            z.ZodObject<
                {
                    lineId: z.ZodString;
                    rendered: z.ZodString;
                    status: z.ZodEnum<{ error: "error"; ok: "ok" }>;
                    type: z.ZodLiteral<"surfaceLineResult">;
                },
                z.core.$strip,
            >,
            z.ZodObject<
                {
                    lineId: z.ZodString;
                    reason: z.ZodString;
                    type: z.ZodLiteral<"surfaceLineError">;
                },
                z.core.$strip,
            >,
            z.ZodObject<
                { text: z.ZodString; type: z.ZodLiteral<"note"> },
                z.core.$strip,
            >,
            z.ZodObject<
                {
                    claims: z.ZodArray<
                        z.ZodObject<
                            {
                                subject: z.ZodString;
                                verbs: z.ZodOptional<z.ZodArray<z.ZodString>>;
                            },
                            z.core.$strip,
                        >,
                    >;
                    type: z.ZodLiteral<"surfaceClaims">;
                },
                z.core.$strip,
            >,
        ],
        "type",
    >

    Any message a surface may send to the daemon.