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

Function getChatMessagesPath

cli/src/utils/run-state-storage.ts:69–72  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

67 * Get the path to the chat messages file for the current chat
68 */
69export function getChatMessagesPath(): string {
70 const chatDir = getCurrentChatDir()
71 return path.join(chatDir, CHAT_MESSAGES_FILENAME)
72}
73
74/**
75 * Save both the RunState and ChatMessage[] to disk

Callers 2

saveChatStateFunction · 0.85
clearChatStateFunction · 0.85

Calls 1

getCurrentChatDirFunction · 0.90

Tested by

no test coverage detected