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 uses the external-editor package to drive scripted edits by overriding the launched command, running it through the library, and reporting results produced by the package. Checks focus on manipulating editor.bin/editor.args, launching via the ExternalEditor lifecycle, and capturing outputs such as text, exit status, and final command invocation.",
"type": "weighted_checklist",
"checklist": [
{
"name": "Command override",
"description": "Sets ExternalEditor.editor.bin and ExternalEditor.editor.args directly from the provided command before running, instead of spawning a process manually.",
"max_score": 20
},
{
"name": "Launch via run",
"description": "Uses ExternalEditor.run() or runAsync(callback) to execute the customized command so the package manages the temp file and process invocation.",
"max_score": 15
},
{
"name": "Text from package",
"description": "Retrieves the edited contents from the ExternalEditor instance (e.g., instance.text or the async callback result) rather than re-reading the temp file independently.",
"max_score": 15
},
{
"name": "Exit status",
"description": "Captures the command's exit code using ExternalEditor.lastExitStatus and surfaces it in the result.",
"max_score": 15
},
{
"name": "CommandUsed",
"description": "Builds the reported commandUsed from editor.bin plus editor.args with the package-appended temp file path, reflecting the actual invocation order the library used.",
"max_score": 20
},
{
"name": "Seed initial text",
"description": "Prefills the temporary file using ExternalEditor initial text support (constructor text argument or edit/editAsync input) instead of writing the temp file manually.",
"max_score": 15
}
]
}