(sessionId: UUID, aiTitle: string)
| 2845 | * where the AI title lands after a mid-flight user rename. |
| 2846 | */ |
| 2847 | export 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 |
no test coverage detected