Vector kit command
edit.findNext
Find Next
Selects the next type object containing find, after the selected one; answers its id or null.
- Kit
- Vector 0.1.0 (.kvector)
- Changes the document
- no
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
find | string | no | |
matchCase | boolean | no | |
wholeWord | boolean | no |
Call through vector_run
text
vector_run {
"path": "<file>.kvector",
"steps": [{ "command": "edit.findNext" }]
}The required parameters, with placeholders for their types: not a tested example. Optional: find, matchCase, wholeWord. vector_run answers the step’s result in completed[i].result.
Result
| Name | Type | Required | Description |
|---|---|---|---|
id | any | no |
Result JSON Schema
json
{
"additionalProperties": true,
"properties": {
"id": {}
},
"type": "object"
}Parameter schema
json
{
"additionalProperties": false,
"properties": {
"find": {
"type": "string"
},
"matchCase": {
"type": "boolean"
},
"wholeWord": {
"type": "boolean"
}
},
"returns": "{id|null}",
"type": "object"
}Generated from the command list of @kition/[email protected] and the kit itself (vector_commands through @kition/[email protected], built from KitionAI/kition-vector@7cf908f). As data: commands.jsonl.