kdeps-commands-permission
v2.0.0kdeps command: permission
set commands / shelf agent
PurposeShow or set the tool permission mode for this session
LLM context: none - kdeps uses it without sending it to the model
Where it runs
Part of the commands set, used in workflow and agent mode. Slash commands: the help and completion of the built-in ones, and declared commands that run other commands and prompts.
- you type /name in kdeps
- the command runs: built in, or its declared stepscommands/permission
- prompts go to the model; the output is shown
Loaded by: kdeps (agent loop), /update, kdeps run
In the code: kdeps (agent loop)agent.(*REPL).Runagent.declaredCommand
Install
A kdeps asset: installed with the first-run profile that includes its set, or the first time a command needs it, and updated without a new release.
Pin a version with kdeps install commands/permission@<version>.
Contents
- order
- 340
/permission [read-only|workspace-write|danger-full-access|ask]Show or set the tool permission mode for this sessionAlso typed as /permissions
Shows or sets the session setting permission to one of read-onlyworkspace-writedanger-full-accessask. What it prints is the setting block below.
setting:
key: permission
values:
- read-only
- workspace-write
- danger-full-access
- ask
show: >-
Permission mode: {{.value}}
read-only reads/searches only; writes and commands blocked
workspace-write reads plus file writes and command execution
danger-full-access no restrictions (default)
ask prompt before each mutating tool (allow once/always/deny)
set: "Permission mode: {{.value}}"
invalid: 'Unknown mode {{printf "%q" .arg}}. Valid: read-only, workspace-write,
danger-full-access, ask.'
version: 2.0.0
name: permission
order: 340
aliases: [permissions]
usage:
- args: "[read-only|workspace-write|danger-full-access|ask]"
help: Show or set the tool permission mode for this session
# setting: the command shows or sets one session setting; the text is here.
setting:
key: permission # the session's permission mode; persists across sessions
values: [read-only, workspace-write, danger-full-access, ask]
show: |-
Permission mode: {{.value}}
read-only reads/searches only; writes and commands blocked
workspace-write reads plus file writes and command execution
danger-full-access no restrictions (default)
ask prompt before each mutating tool (allow once/always/deny)
set: "Permission mode: {{.value}}"
invalid: 'Unknown mode {{printf "%q" .arg}}. Valid: read-only, workspace-write, danger-full-access, ask.'
Versions
| Version | Published | Status |
|---|---|---|
| 2.0.0 | 10/24/2026 | active |
| 1.0.1 | 10/21/2026 | active |
| 1.0.0 | 10/12/2026 | active |
Details
- Author
- kdeps
- License
- Apache-2.0
- Latest Version
- 2.0.0
- Published
- 10/12/2026