CtrlK
CommunityDocumentationLog inGet started
Tessl Logo

tessl/npm-external-editor

tessl install tessl/npm-external-editor@3.1.0

Edit 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%

rubric.jsonevals/scenario-6/

{
  "context": "Evaluates how well the solution uses external-editor's backward-compatible snake_case accessors to launch an edit session and surface metadata. Checks that editing leverages the library rather than manual file handling and that legacy fields drive the returned values.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "Legacy aliases",
      "description": "Populates outputs specifically from the deprecated snake_case properties `temp_file` and `last_exit_status` instead of the camelCase fields.",
      "max_score": 40
    },
    {
      "name": "Editor launch",
      "description": "Invokes the external-editor workflow (e.g., `edit`/`editAsync` or `ExternalEditor.run/runAsync`) rather than manually writing temp files to gather edited content.",
      "max_score": 20
    },
    {
      "name": "Non-zero status",
      "description": "Uses the `last_exit_status` alias to capture and return non-zero exit codes from the editor session.",
      "max_score": 15
    },
    {
      "name": "Temp path alias",
      "description": "Reads the temp file location from the `temp_file` alias after the edit run and surfaces it in the result.",
      "max_score": 15
    },
    {
      "name": "Command override",
      "description": "Supports overriding the editor command using external-editor facilities (e.g., setting `editor.bin`/`editor.args` or honoring EDITOR/VISUAL) to enable scripted edits in tests.",
      "max_score": 10
    }
  ]
}

Version

Workspace
tessl
Visibility
Public
Created
Last updated
Describes
npmpkg:npm/external-editor@3.1.x
tile.json