MCPcopy Index your code
hub / github.com/CodebuffAI/codebuff / me

Function me

cli/src/utils/codebuff-api.ts:488–494  ·  view source on GitHub ↗
(
      fields: readonly T[],
    )

Source from the content-addressed store, hash-verified

486 // ============================================================================
487
488 me<T extends UserField>(
489 fields: readonly T[],
490 ): Promise<ApiResponse<UserDetails<T>>> {
491 return request<UserDetails<T>>('GET', '/api/v1/me', undefined, {
492 query: { fields: fields.join(',') },
493 })
494 },
495
496 usage(req: UsageRequest = {}): Promise<ApiResponse<UsageResponse>> {
497 // Auth is sent via Authorization header (includeAuth defaults to true)

Callers

nothing calls this directly

Calls 1

requestFunction · 0.70

Tested by

no test coverage detected