MCPcopy Create free account
hub / github.com/Noumena-Network/code / isMainThreadSource

Function isMainThreadSource

src/services/compact/microCompact.ts:259–261  ·  view source on GitHub ↗
(querySource: QuerySource | undefined)

Source from the content-addressed store, hash-verified

257// cached-MC `=== 'repl_main_thread'` check was a latent bug — users with a
258// non-default output style were silently excluded from cached MC.
259function isMainThreadSource(querySource: QuerySource | undefined): boolean {
260 return !querySource || querySource.startsWith('repl_main_thread')
261}
262
263export async function microcompactMessages(
264 messages: Message[],

Callers 2

microcompactMessagesFunction · 0.85
evaluateTimeBasedTriggerFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected