Design kit command

inspect.readyForDev

Ready for dev

Answers the frames and sections marked ready for dev (or changed or completed) on a page or every page.

Kit
Design 0.1.0 (.kdesign)
Changes the document
no

Parameters

Parameters of inspect.readyForDev
NameTypeRequiredDescription
pageintegernopage id; default every page
status"readyForDev" | "changed" | "completed" | "any"no

Call through design_run

text
design_run {
  "path": "<file>.kdesign",
  "steps": [{ "command": "inspect.readyForDev" }]
}

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

Result

Result of inspect.readyForDev
NameTypeRequiredDescription
itemsany[]no
Result JSON Schema
json
{
  "additionalProperties": true,
  "properties": {
    "items": {
      "type": "array"
    }
  },
  "type": "object"
}

Parameter schema

json
{
  "additionalProperties": false,
  "properties": {
    "page": {
      "description": "page id; default every page",
      "type": "integer",
      "x-khp-types": [
        "Node"
      ]
    },
    "status": {
      "enum": [
        "readyForDev",
        "changed",
        "completed",
        "any"
      ],
      "type": "string"
    }
  },
  "returns": "{items: [{id, name, page, status, changed}]}  frames and sections by handoff status (set it with `node.set {devStatus}`)",
  "type": "object"
}

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