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

Function looksLikeTranscriptPath

src/cli/handlers/ant.ts:125–133  ·  view source on GitHub ↗
(source: string)

Source from the content-addressed store, hash-verified

123}
124
125function looksLikeTranscriptPath(source: string): boolean {
126 return (
127 source.includes('/') ||
128 source.includes('\\') ||
129 source.startsWith('.') ||
130 source.startsWith('~') ||
131 /\.jsonl?$/i.test(source)
132 )
133}
134
135async function loadConversationLogs(): Promise<LogOption[]> {
136 if (!findGitRoot(getCwd())) {

Callers 1

resolveLogSourceFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected