(
args: string,
context: ToolUseContext,
)
| 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 | |
| 51 | The Noumena plugin marketplace is not enabled in this build yet, so /${pluginName}:${pluginCommand} is temporarily unavailable. |
| 52 | |
| 53 | Do 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 | } |
nothing calls this directly
no test coverage detected