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

    Function pipe_execute

    • Executes a pipe chain by running the first command in chell and piping through local tools, delivering the final output on the data channel.

      Parameters

      • segments: string[]

        Array of command segments separated by pipes.

      Returns Promise<
          {
              errors?: { message: string; type: "error"
              | "warning" }[];
              model?: { data: unknown; kind: string };
              rendered: string;
              renderedErr?: string;
              status: "error" | "ok";
              trace?: {
                  executed?: string;
                  input: string;
                  proposed: string;
                  validated: boolean;
              };
          },
      >

      An envelope whose rendered text is the chain's final output.