tessl install tessl/npm-external-editor@3.1.0Edit a string with the users preferred text editor using $VISUAL or $ENVIRONMENT
Agent Success
Agent success rate when using this tile
79%
Improvement
Agent success rate improvement when using this tile compared to baseline
1.05x
Baseline
Agent success rate without this tile
75%
A helper that opens the user's default text editor with prefilled content so the final note comes from a real editing session.
# <title> followed by the body (if provided) to a temporary file, opens the external editor, and returns exactly what the user saved. @testwasEdited as true; otherwise it is false. @test@generates
export interface DraftResult {
content: string;
wasEdited: boolean;
}
export function openNoteDraft(title: string, body?: string): DraftResult;Uses the user's default external text editor to synchronously edit the prefilled content.