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

{
  "context": "Evaluates whether the solution captures user-edited note content by invoking external-editor's synchronous edit helper with a prefilled template and deriving outputs directly from that returned text.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "Synchronous launch",
      "description": "Calls external-editor's edit() to open the default editor and wait for the saved text, avoiding mocks or reimplemented editor logic.",
      "max_score": 35
    },
    {
      "name": "Prefilled template",
      "description": "Seeds edit(initialTemplate) with the header and optional body in the required format so the editor opens with the expected contents.",
      "max_score": 20
    },
    {
      "name": "Empty handling",
      "description": "Interprets the string returned from edit() to detect empty or whitespace-only saves and surfaces an empty content result with wasEdited false.",
      "max_score": 20
    },
    {
      "name": "Change flag",
      "description": "Compares the edit() result against the original template (ignoring trailing newlines) to set wasEdited accurately when the saved text differs.",
      "max_score": 25
    }
  ]
}

Version

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