MCPcopy Index your code
hub / github.com/codeaashu/claude-code / getBackgroundUsageNote

Function getBackgroundUsageNote

src/tools/PowerShellTool/prompt.ts:26–31  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

24}
25
26function getBackgroundUsageNote(): string | null {
27 if (isEnvTruthy(process.env.CLAUDE_CODE_DISABLE_BACKGROUND_TASKS)) {
28 return null
29 }
30 return ` - You can use the \`run_in_background\` parameter to run the command in the background. Only use this if you don't need the result immediately and are OK being notified when the command completes later. You do not need to check the output right away - you'll be notified when it finishes.`
31}
32
33function getSleepGuidance(): string | null {
34 if (isEnvTruthy(process.env.CLAUDE_CODE_DISABLE_BACKGROUND_TASKS)) {

Callers 1

getPromptFunction · 0.70

Calls 1

isEnvTruthyFunction · 0.85

Tested by

no test coverage detected