MCPcopy Create free account
hub / github.com/PawanOsman/OpenCursor / buildQueryBlock

Function buildQueryBlock

src/context/cursorContext.ts:117–119  ·  view source on GitHub ↗
(query: string)

Source from the content-addressed store, hash-verified

115
116/** Third user content block: timestamp + the actual user query. Cached. */
117export function buildQueryBlock(query: string): string {
118 return `<timestamp>\n${formatTimestamp(new Date())}\n</timestamp>\n<user_query>\n${query}\n</user_query>`;
119}

Callers

nothing calls this directly

Calls 1

formatTimestampFunction · 0.85

Tested by

no test coverage detected