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

Function getPromptForCommand

src/commands/createMovedToPluginCommand.ts:41–59  ·  view source on GitHub ↗
(
      args: string,
      context: ToolUseContext,
    )

Source from the content-addressed store, hash-verified

39 },
40 source: 'builtin',
41 async getPromptForCommand(
42 args: string,
43 context: ToolUseContext,
44 ): Promise<ContentBlockParam[]> {
45 if (isInternalBuild()) {
46 return [
47 {
48 type: 'text',
49 text: `This command has been moved to a plugin. Tell the user:
50
51The Noumena plugin marketplace is not enabled in this build yet, so /${pluginName}:${pluginCommand} is temporarily unavailable.
52
53Do not attempt to run the command. Simply inform the user that the command requires the Noumena plugin marketplace.`,
54 },
55 ]
56 }
57
58 return getPromptWhileMarketplaceIsPrivate(args, context)
59 },
60 }
61}

Callers

nothing calls this directly

Calls 2

isInternalBuildFunction · 0.85

Tested by

no test coverage detected