Skip to content

ApplyPatchCallItem

type ApplyPatchCallItem = object;
optional caller?:
| {
type: "direct";
}
| {
callerId: string;
type: "program";
};
callId: string;
optional id?: string;
operation:
| {
diff: string;
path: string;
type: "create_file";
}
| {
diff: string;
moveTo?: string;
path: string;
type: "update_file";
}
| {
path: string;
type: "delete_file";
};
optional providerData?: Record<string, any>;
status: "completed" | "in_progress";
type: "apply_patch_call";