HTML kit command

edit.redo

Redo

Applies again the `file.setSource` the caller's last undo took back, in the same scope as `edit.undo`.

Kit
HTML 0.1.0 (HTML (.html or .htm))
Changes the document
yes

Parameters

Parameters of edit.redo
NameTypeRequiredDescription
scope"person" | "agent"no

Call through html_run

text
html_run {
  "path": "<file>.html",
  "steps": [{ "command": "edit.redo" }]
}

The required parameters, with placeholders for their types: not a tested example. Optional: scope. html_run answers the step’s result in completed[i].result.

Result

The kit gives no result schema for this command.

Parameter schema

json
{
  "additionalProperties": false,
  "properties": {
    "scope": {
      "enum": [
        "person",
        "agent"
      ],
      "type": "string"
    }
  },
  "type": "object"
}

Generated from the command list of @kition/[email protected] and the kit itself (html_commands through @kition/[email protected], built from KitionAI/kition-html@e0ad2d3). As data: commands.jsonl.