MCPcopy
hub / github.com/codeaashu/claude-code / getDisplayedEffortLevel

Function getDisplayedEffortLevel

src/utils/effort.ts:174–180  ·  view source on GitHub ↗
(
  model: string,
  appStateEffort: EffortValue | undefined,
)

Source from the content-addressed store, hash-verified

172 * Single source of truth for the status bar and /effort output (CC-1088).
173 */
174export function getDisplayedEffortLevel(
175 model: string,
176 appStateEffort: EffortValue | undefined,
177): EffortLevel {
178 const resolved = resolveAppliedEffort(model, appStateEffort) ?? 'high'
179 return convertEffortValueToLevel(resolved)
180}
181
182/**
183 * Build the ` with {level} effort` suffix shown in Logo/Spinner.

Callers 2

showCurrentEffortFunction · 0.85

Calls 2

resolveAppliedEffortFunction · 0.85

Tested by

no test coverage detected