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

Function sessionEndpoint

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

Source from the content-addressed store, hash-verified

49}
50
51const sessionEndpoint = (): string => {
52 const base = (
53 env.NEXT_PUBLIC_CODEBUFF_APP_URL || 'https://codebuff.com'
54 ).replace(/\/$/, '')
55 return `${base}/api/v1/freebuff/session`
56}
57
58async function callSession(
59 method: 'POST' | 'GET' | 'DELETE',

Callers 1

callSessionFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected