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 external-editor to launch the user's editor and rely on its charset auto-detection (chardet plus iconv-lite fallback to UTF-8) to return correctly decoded note text.",
"type": "weighted_checklist",
"checklist": [
{
"name": "Editor invocation",
"description": "Uses external-editor's synchronous entry point (such as edit or an ExternalEditor instance with run) to open the configured editor instead of hand-rolling temp file workflows.",
"max_score": 20
},
{
"name": "Encoding detection",
"description": "Lets external-editor read the saved file so its chardet-based charset detection is applied rather than assuming UTF-8 or reimplementing decoding logic.",
"max_score": 25
},
{
"name": "UTF-16 decode",
"description": "Confirms the returned text stays accurate when the editor saves UTF-16LE content by relying on the package's iconv-lite decoding instead of manual byte parsing.",
"max_score": 20
},
{
"name": "Windows-1252 decode",
"description": "Ensures Windows-1252 saves round-trip through external-editor without mojibake by using its built-in decoding rather than treating bytes as UTF-8.",
"max_score": 20
},
{
"name": "UTF-8 fallback",
"description": "Handles unknown or undetected charsets by accepting the package's default UTF-8 decode instead of throwing or guessing another encoding.",
"max_score": 10
},
{
"name": "Empty save",
"description": "Returns an empty string without error when the editor writes no content, matching external-editor behavior for empty files.",
"max_score": 5
}
]
}