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": "Evaluates whether the solution relies on the external-editor package to resolve VISUAL/EDITOR preferences, expose the resolved command, and run an editing session while returning content and exit status.",
"type": "weighted_checklist",
"checklist": [
{
"name": "VISUAL first",
"description": "Uses external-editor resolution so VISUAL overrides EDITOR, with editor.bin/editor.args reflecting the VISUAL value when set.",
"max_score": 25
},
{
"name": "EDITOR fallback",
"description": "When VISUAL is absent, relies on external-editor parsing of EDITOR to split the command into bin and args instead of manual parsing.",
"max_score": 15
},
{
"name": "Default command",
"description": "Lets external-editor provide the platform fallback editor (vim or notepad) when both env vars are missing, rather than hard-coding a custom default.",
"max_score": 15
},
{
"name": "Expose command",
"description": "Returns editor.bin and editor.args obtained from ExternalEditor (or edit/editAsync) so callers can see the resolved command.",
"max_score": 15
},
{
"name": "Run via package",
"description": "Runs the editing session with external-editor APIs (edit, editAsync, run, or runAsync) to capture saved content instead of spawning the editor manually.",
"max_score": 20
},
{
"name": "Exit status",
"description": "Propagates lastExitStatus from ExternalEditor after running so callers receive the editor's exit status.",
"max_score": 10
}
]
}