Every tool says its `sessions` (chat, agent or both). The file tools read, write, edit, glob, grep and list are shared; mkdir, mv, rm, search, python and the forge verbs (commit, branch, pr, merge, tag, release) are the chat's; show and recall are new and shared. New fields: `requires` (page, display, forge) with the exact `unavailable` answer, and `confirm: always` for merge, tag and release. knowledge_*, notes_search, note_view and note_manage leave the chat. Default rules for the new tools; modes.json says what `confirm` does. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
46 lines
1.1 KiB
JSON
46 lines
1.1 KiB
JSON
{
|
|
"name": "tag",
|
|
"scope": "llembas",
|
|
"sessions": "chat",
|
|
"risk": "execute",
|
|
"exclusive": true,
|
|
"block": "tool",
|
|
"purpose": "purpose",
|
|
"requires": [
|
|
"forge"
|
|
],
|
|
"confirm": "always",
|
|
"unavailable": "No repository from a forge is open to this session, so there is nothing to tag here.",
|
|
"aliases": {
|
|
"cli": [],
|
|
"llembas": []
|
|
},
|
|
"description": "Create an annotated tag on the forge, at `at` (default: the newest commit of the branch this session works on), its message being the release note. The user is always asked first, in every mode.",
|
|
"parameters": {
|
|
"type": "object",
|
|
"properties": {
|
|
"path": {
|
|
"type": "string",
|
|
"description": "Any path inside the repository (the mount) this is about"
|
|
},
|
|
"name": {
|
|
"type": "string",
|
|
"description": "The tag, e.g. v1.2.0"
|
|
},
|
|
"message": {
|
|
"type": "string",
|
|
"description": "The tag's message"
|
|
},
|
|
"at": {
|
|
"type": "string",
|
|
"description": "Branch or commit to tag"
|
|
}
|
|
},
|
|
"required": [
|
|
"path",
|
|
"name",
|
|
"message"
|
|
]
|
|
}
|
|
}
|