MCPcopy
hub / github.com/coder/mux / getChatHistoryPath

Method getChatHistoryPath

src/node/services/historyService.ts:137–139  ·  view source on GitHub ↗
(workspaceId: string)

Source from the content-addressed store, hash-verified

135 }
136
137 private getChatHistoryPath(workspaceId: string): string {
138 return path.join(this.config.getSessionDir(workspaceId), this.CHAT_FILE);
139 }
140
141 private getChatArchivePath(workspaceId: string): string {
142 return path.join(this.config.getSessionDir(workspaceId), this.CHAT_ARCHIVE_FILE);

Callers 15

readChatHistoryMethod · 0.95
iterateFullHistoryMethod · 0.95
getMaxHistorySequenceMethod · 0.95
getLastMessagesMethod · 0.95
hasHistoryMethod · 0.95
updateHistoryMethod · 0.95

Calls 1

getSessionDirMethod · 0.65

Tested by

no test coverage detected