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-5/

{
  "context": "Evaluates whether the solution uses the external-editor package to launch an editor session, capture the process exit status, and expose that status alongside the edited text per the spec.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "Uses ExternalEditor",
      "description": "Relies on external-editor's `ExternalEditor` class (via constructor) to manage the edit session instead of manually spawning an editor.",
      "max_score": 30
    },
    {
      "name": "Run API",
      "description": "Invokes `run()` or `runAsync()` on the `ExternalEditor` instance to open the editor and read back file contents, rather than duplicating that workflow.",
      "max_score": 25
    },
    {
      "name": "Exit status capture",
      "description": "Reads `lastExitStatus` (or deprecated `last_exit_status`) after the run and surfaces that numeric code exactly as the task requires, including non-zero codes.",
      "max_score": 20
    },
    {
      "name": "Custom command",
      "description": "Supports custom editor commands by setting `editor.bin` and/or `editor.args` on the `ExternalEditor` instance (or constructor options) instead of ignoring the provided command.",
      "max_score": 15
    },
    {
      "name": "Cleanup",
      "description": "Calls `cleanup()` on the `ExternalEditor` instance after reading the file to remove the temporary file using the package API.",
      "max_score": 10
    }
  ]
}

Version

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