MCPcopy Create free account
hub / github.com/AICoderTudou/claude-code-tudou / getSystemPrompt

Function getSystemPrompt

src/localRecoveryCli.ts:117–125  ·  view source on GitHub ↗
(
  systemPrompt: string | undefined,
  appendSystemPrompt: string | undefined,
)

Source from the content-addressed store, hash-verified

115}
116
117function getSystemPrompt(
118 systemPrompt: string | undefined,
119 appendSystemPrompt: string | undefined,
120): string | undefined {
121 if (systemPrompt && appendSystemPrompt) {
122 return `${systemPrompt}\n\n${appendSystemPrompt}`
123 }
124 return systemPrompt ?? appendSystemPrompt
125}
126
127async function run(): Promise<void> {
128 const parsed = parseArgs(process.argv.slice(2))

Callers 2

runFunction · 0.70
runInteractiveFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected