MCPcopy Create free account
hub / github.com/Noumena-Network/code / getBackgroundUsageNote

Function getBackgroundUsageNote

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

Source from the content-addressed store, hash-verified

34}
35
36function getBackgroundUsageNote(): string | null {
37 if (isEnvTruthy(process.env.CLAUDE_CODE_DISABLE_BACKGROUND_TASKS)) {
38 return null
39 }
40 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."
41}
42
43function getCommitAndPRInstructions(): string {
44 // Defense-in-depth: undercover instructions must survive even if the user

Callers 1

getSimplePromptFunction · 0.70

Calls 1

isEnvTruthyFunction · 0.90

Tested by

no test coverage detected