Variable Memory20250818CommandSchemaConst
Memory20250818CommandSchema: ZodDiscriminatedUnion<
[
ZodObject<{ command: ZodLiteral<"view">; path: ZodString }, $strip>,
ZodObject<
{
command: ZodLiteral<"create">;
file_text: ZodString;
path: ZodString;
},
$strip,
>,
ZodObject<
{
command: ZodLiteral<"str_replace">;
new_str: ZodString;
old_str: ZodString;
path: ZodString;
},
$strip,
>,
ZodObject<
{
command: ZodLiteral<"insert">;
insert_line: ZodNumber;
insert_text: ZodString;
path: ZodString;
},
$strip,
>,
ZodObject<{ command: ZodLiteral<"delete">; path: ZodString }, $strip>,
ZodObject<
{
command: ZodLiteral<"rename">;
new_path: ZodString;
old_path: ZodString;
},
$strip,
>,
],
"command",
> = ...