fix: add space toggle hint to tool selection prompt (#9535)
This commit is contained in:
@@ -134,7 +134,7 @@ const AgentCreateCommand = cmd({
|
|||||||
selectedTools = cliTools ? cliTools.split(",").map((t) => t.trim()) : AVAILABLE_TOOLS
|
selectedTools = cliTools ? cliTools.split(",").map((t) => t.trim()) : AVAILABLE_TOOLS
|
||||||
} else {
|
} else {
|
||||||
const result = await prompts.multiselect({
|
const result = await prompts.multiselect({
|
||||||
message: "Select tools to enable",
|
message: "Select tools to enable (Space to toggle)",
|
||||||
options: AVAILABLE_TOOLS.map((tool) => ({
|
options: AVAILABLE_TOOLS.map((tool) => ({
|
||||||
label: tool,
|
label: tool,
|
||||||
value: tool,
|
value: tool,
|
||||||
|
|||||||
Reference in New Issue
Block a user