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

Function saveAiGeneratedTitle

src/utils/sessionStorage.ts:2847–2853  ·  view source on GitHub ↗
(sessionId: UUID, aiTitle: string)

Source from the content-addressed store, hash-verified

2845 * where the AI title lands after a mid-flight user rename.
2846 */
2847export function saveAiGeneratedTitle(sessionId: UUID, aiTitle: string): void {
2848 appendEntryToFile(getTranscriptPathForSession(sessionId), {
2849 type: 'ai-title',
2850 aiTitle,
2851 sessionId,
2852 })
2853}
2854
2855/**
2856 * Append a periodic task summary for `ncode ps`. Unlike ai-title this is

Callers 1

runHeadlessStreamingFunction · 0.85

Calls 2

appendEntryToFileFunction · 0.85

Tested by

no test coverage detected