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 small utility that opens a text editor via the provided dependency and returns edited text plus metadata drawn from its legacy snake_case accessors.
@generates
export interface LegacyEditResult {
editedText: string;
legacyTempPath: string;
legacyExitStatus: number | null;
}
/**
* Opens a user-editable buffer using the configured external editor, allowing test runs
* to override the editor command, and returns edited content along with metadata derived
* from the dependency's legacy snake_case accessors for the temporary file and last exit status.
*
* @param initialText Initial text seeded into the editable file.
* @param editorCommand Optional override to force a specific editor invocation (e.g., a scripted command).
*/
export function runLegacyEdit(initialText?: string, editorCommand?: string): Promise<LegacyEditResult>;Provides editor launching plus legacy snake_case metadata for temp file path and exit status.