Board kit command

edit.undo

Undo

Takes back the last step of one scope: the person's or the agent's (by default the caller's own), leaving the other scope's later steps in place.

Kit
Board 0.1.0 (.kboard)
Changes the document
yes

Parameters

Parameters of edit.undo
NameTypeRequiredDescription
scope"person" | "agent"noWhose last step to undo: the person's or the agent's. By default the scope of whoever runs it (an agent undoes only its own steps)

Call through board_run

text
board_run {
  "path": "<file>.kboard",
  "steps": [{ "command": "edit.undo" }]
}

The required parameters, with placeholders for their types: not a tested example. Optional: scope. board_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": {
      "description": "Whose last step to undo: the person's or the agent's. By default the scope of whoever runs it (an agent undoes only its own steps)",
      "enum": [
        "person",
        "agent"
      ],
      "type": "string"
    }
  },
  "type": "object"
}

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