Skip to content

Commit 3e4ae79

Browse files
committed
refactor(chat): update the /tools permission copy to be more consistent
1 parent 2c1246b commit 3e4ae79

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

crates/q_cli/src/cli/chat/command.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,8 @@ impl ToolsSubcommand {
175175
const BASE_COMMAND: &str = color_print::cstr! {"<cyan!>Usage: /tools [SUBCOMMAND]</cyan!>
176176
177177
<cyan!>Description</cyan!>
178-
Show the current set of tools and their permission settings.
178+
Show the current set of tools and their permission setting.
179+
The permission setting states when user confirmation is required. Trusted tools never require confirmation.
179180
Alternatively, specify a subcommand to modify the tool permissions."};
180181
const TRUST_USAGE: &str = "/tools trust <tool name>";
181182
const UNTRUST_USAGE: &str = "/tools untrust <tool name>";

crates/q_cli/src/cli/chat/tools/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -205,8 +205,8 @@ impl ToolPermissions {
205205
let label = match tool_name {
206206
"fs_read" => "Trusted",
207207
"fs_write" => "Per-request",
208-
"execute_bash" => "Read-only commands",
209-
"use_aws" => "Read-only commands",
208+
"execute_bash" => "Write-only commands",
209+
"use_aws" => "Write-only commands",
210210
"report_issue" => "Trusted",
211211
_ => "Per-request",
212212
};

0 commit comments

Comments
 (0)