String update (#293298)

This commit is contained in:
Paul
2026-02-05 23:07:37 -08:00
committed by GitHub
parent 9ad359c4f5
commit 0660bf5cf9

View File

@@ -45,7 +45,7 @@ export const HOOK_TYPES = [
{
id: HookType.PreToolUse,
label: nls.localize('hookType.preToolUse.label', "Pre-Tool Use"),
description: nls.localize('hookType.preToolUse.description', "Executed before the agent uses any tool (such as bash, edit, view).")
description: nls.localize('hookType.preToolUse.description', "Executed before the agent uses any tool.")
},
{
id: HookType.PostToolUse,
@@ -181,7 +181,7 @@ export const hookFileSchema: IJSONSchema = {
},
PreToolUse: {
...hookArraySchema,
description: nls.localize('hookFile.preToolUse', 'Executed before the agent uses any tool (such as bash, edit, view). This is the most powerful hook as it can approve or deny tool executions. Use to block dangerous commands, enforce security policies, require approval for sensitive operations, or log tool usage.')
description: nls.localize('hookFile.preToolUse', 'Executed before the agent uses any tool. This is the most powerful hook as it can approve or deny tool executions. Use to block dangerous commands, enforce security policies, require approval for sensitive operations, or log tool usage.')
},
PostToolUse: {
...hookArraySchema,