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

Function endFreebuffSessionBestEffort

cli/src/hooks/use-freebuff-session.ts:364–367  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

362 * instead of waiting for the server-side expiry sweep.
363 */
364export async function endFreebuffSessionBestEffort(): Promise<void> {
365 if (!IS_FREEBUFF) return
366 await releaseFreebuffSlot()
367}
368
369export function markFreebuffSessionSuperseded(): void {
370 if (!IS_FREEBUFF) return

Callers 1

exitFreebuffCleanlyFunction · 0.90

Calls 1

releaseFreebuffSlotFunction · 0.85

Tested by

no test coverage detected