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

Function formatWorkflowSummary

src/commands/workflows/workflows.ts:16–19  ·  view source on GitHub ↗
(workflow: WorkflowPromptCommand)

Source from the content-addressed store, hash-verified

14type WorkflowPromptCommand = Extract<Command, { type: 'prompt' }>
15
16function formatWorkflowSummary(workflow: WorkflowPromptCommand): string {
17 const argumentHint = workflow.argumentHint ? ` ${workflow.argumentHint}` : ''
18 return `/${getCommandName(workflow)}${argumentHint} - ${workflow.description}`
19}
20
21function formatNoWorkflowsMessage(): string {
22 return [

Callers 1

formatWorkflowListFunction · 0.85

Calls 1

getCommandNameFunction · 0.50

Tested by

no test coverage detected