@code-yeongyu/senpi
Version:
Coding agent CLI with read, bash, edit, write tools and session management
26 lines • 654 B
TypeScript
export interface ExternalEditorOptions {
command: string;
content: string;
}
export type ExternalEditorResult = {
status: "complete";
content: string;
} | {
status: "failed";
} | {
status: "launch-failed";
};
export declare function editInExternalEditor(options: ExternalEditorOptions): Promise<ExternalEditorResult>;
export type EditFileResult = {
status: "complete";
} | {
status: "exited";
code: number;
} | {
status: "launch-failed";
};
export declare function editFileInExternalEditor(options: {
command: string;
path: string;
}): Promise<EditFileResult>;
//# sourceMappingURL=external-editor.d.ts.map