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

Function refreshFreebuffSession

cli/src/hooks/use-freebuff-session.ts:299–303  ·  view source on GitHub ↗
(
  opts: { resetChat?: boolean } = {},
)

Source from the content-addressed store, hash-verified

297 * rejoining after a session ended so the next admitted session starts fresh.
298 */
299export function refreshFreebuffSession(
300 opts: { resetChat?: boolean } = {},
301): Promise<void> {
302 return restartFreebuffSession('rejoin', { resetChat: opts.resetChat })
303}
304
305/**
306 * Drop back to the pre-join landing state (model picker) instead of auto

Callers 2

SessionEndedBannerFunction · 0.90
handleFreebuffGateErrorFunction · 0.90

Calls 1

restartFreebuffSessionFunction · 0.85

Tested by

no test coverage detected