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

Function usageText

src/commands/mock-limits/mock-limits.ts:132–153  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

130}
131
132function usageText(): string {
133 return [
134 'Usage:',
135 ' /mock-limits',
136 ' /mock-limits status',
137 ' /mock-limits scenarios',
138 ' /mock-limits scenario <name>',
139 ' /mock-limits clear',
140 ' /mock-limits header <key> <value|clear>',
141 ' /mock-limits exceeded <five_hour|seven_day|seven_day_opus|seven_day_sonnet> <hours>',
142 ' /mock-limits early-warning <5h|7d|overage> <utilization(0-1 or 0-100)> [hours]',
143 ' /mock-limits clear-early-warning',
144 ' /mock-limits subscription <max|pro|team|enterprise|clear>',
145 ' /mock-limits billing <admin|non-admin|clear>',
146 '',
147 'Known headers:',
148 ` ${HEADER_KEYS.join(', ')}`,
149 '',
150 'Known scenarios:',
151 buildScenarioList(),
152 ].join('\n')
153}
154
155function ok(message: string): { type: 'text'; value: string } {
156 return { type: 'text', value: message }

Callers 2

errorWithUsageFunction · 0.85
callFunction · 0.85

Calls 1

buildScenarioListFunction · 0.85

Tested by

no test coverage detected