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

Function getPromptForCommand

src/commands/init.ts:240–254  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

238 progressMessage: 'analyzing your codebase',
239 source: 'builtin',
240 async getPromptForCommand() {
241 maybeMarkProjectOnboardingComplete()
242
243 return [
244 {
245 type: 'text',
246 text:
247 feature('NEW_INIT') &&
248 (isInternalBuild() ||
249 isEnvTruthy(process.env.CLAUDE_CODE_NEW_INIT))
250 ? NEW_INIT_PROMPT
251 : OLD_INIT_PROMPT,
252 },
253 ]
254 },
255} satisfies Command
256
257export default command

Callers

nothing calls this directly

Calls 3

isEnvTruthyFunction · 0.90
isInternalBuildFunction · 0.85

Tested by

no test coverage detected