()
| 2790 | * from the previous session does not leak into the new one. |
| 2791 | */ |
| 2792 | export function clearSessionMetadata(): void { |
| 2793 | const project = getProject() |
| 2794 | project.currentSessionTitle = undefined |
| 2795 | project.currentSessionTag = undefined |
| 2796 | project.currentSessionAgentName = undefined |
| 2797 | project.currentSessionAgentColor = undefined |
| 2798 | project.currentSessionLastPrompt = undefined |
| 2799 | project.currentSessionAgentSetting = undefined |
| 2800 | project.currentSessionMode = undefined |
| 2801 | project.currentSessionWorktree = undefined |
| 2802 | project.currentSessionPrNumber = undefined |
| 2803 | project.currentSessionPrUrl = undefined |
| 2804 | project.currentSessionPrRepository = undefined |
| 2805 | } |
| 2806 | |
| 2807 | /** |
| 2808 | * Re-append cached session metadata (custom title, tag) to the end of the |
no test coverage detected