@code-yeongyu/senpi
Version:
Coding agent CLI with read, bash, edit, write tools and session management
20 lines • 1.09 kB
TypeScript
import type { ImageContent } from "@earendil-works/pi-ai";
import { z } from "zod";
import type { InputSource } from "./extensions/types.ts";
export declare const clientMessageIdentitySchema: z.ZodObject<{
clientMessageId: z.ZodOptional<z.ZodString>;
clientTurnId: z.ZodOptional<z.ZodString>;
}, z.core.$strip>;
export type ClientMessageIdentity = Readonly<z.infer<typeof clientMessageIdentitySchema>>;
export type PreparedClientInput = ClientMessageIdentity & {
readonly text: string;
readonly images?: ImageContent[];
readonly mode: "steer" | "followUp";
readonly enqueueOrder: number;
/** The input's `input` event source, kept so restored input is re-stamped with it. Absent: unknown origin. */
readonly source?: InputSource;
};
/** Copy only correlation metadata, never the rest of a prompt's options. */
export declare function clientMessageIdentity(value?: ClientMessageIdentity): ClientMessageIdentity;
export declare function readClientMessageIdentity(value: unknown): ClientMessageIdentity;
//# sourceMappingURL=client-message-identity.d.ts.map