MCPcopy Create free account
hub / github.com/DeusData/codebase-memory-mcp / turn

Function turn

graph-ui/src/browser-ai/chat-context.test.ts:7–8  ·  view source on GitHub ↗
(topic: BrowserChatTurn['topic'], extra: Partial<BrowserChatTurn> = {})

Source from the content-addressed store, hash-verified

5
6const attachment = { id: 'a', text: 'x', path: 'src/sum.ts', project: 'p', startLine: 1, startColumn: 1, endLine: 1, endColumn: 2, sourceVersion: 'v' };
7const turn = (topic: BrowserChatTurn['topic'], extra: Partial<BrowserChatTurn> = {}): BrowserChatTurn =>
8 ({ id: String(Math.random()), prompt: 'q', modelId: 'm', request: [], answer: 'a', status: 'complete', topic, ...extra });
9
10describe('questions without context (K11)', () => {
11 it.each([

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected