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

Function getBackgroundUsageNote

src/tools/BashTool/prompt.ts:35–40  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

33}
34
35function getBackgroundUsageNote(): string | null {
36 if (isEnvTruthy(process.env.CLAUDE_CODE_DISABLE_BACKGROUND_TASKS)) {
37 return null
38 }
39 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. You do not need to use '&' at the end of the command when using this parameter."
40}
41
42function getCommitAndPRInstructions(): string {
43 // Defense-in-depth: undercover instructions must survive even if the user

Callers 1

getSimplePromptFunction · 0.70

Calls 1

isEnvTruthyFunction · 0.85

Tested by

no test coverage detected