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

Function getCurrentChatId

cli/src/project-files.ts:25–30  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

23}
24
25export function getCurrentChatId() {
26 if (!currentChatId) {
27 currentChatId = new Date().toISOString().replace(/:/g, '-')
28 }
29 return currentChatId
30}
31
32export function setCurrentChatId(chatId: string) {
33 currentChatId = chatId

Callers 2

setupExitMessageHandlerFunction · 0.90
getCurrentChatDirFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected