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%
{
"context": "Assesses whether the solution uses external-editor's callback-based async helper correctly to capture edited text, forward temporary file options, and propagate errors while applying the optional newline trim. It ignores general code quality concerns and looks only at correct library usage.",
"type": "weighted_checklist",
"checklist": [
{
"name": "Uses editAsync",
"description": "Invokes external-editor's editAsync to launch the editor with the provided initial text (not the synchronous edit or ExternalEditor.runAsync variants), wiring the callback to resolve the Promise when content is returned.",
"max_score": 35
},
{
"name": "Error propagation",
"description": "Maps the error-first callback from editAsync to a rejected result without swallowing or replacing the original error.",
"max_score": 25
},
{
"name": "Forwards file options",
"description": "Passes through any provided fileOptions (prefix, postfix, template, dir, mode) directly to editAsync when initiating the edit.",
"max_score": 20
},
{
"name": "Result handling",
"description": "Uses the string returned via editAsync's callback as the basis for the final result and applies the optional single trailing newline trim behavior when requested.",
"max_score": 20
}
]
}