(patch: {
status?: SessionStatus
waitingFor?: string
})
| 153 | * transcript-tail derivation for one refresh. |
| 154 | */ |
| 155 | export async function updateSessionActivity(patch: { |
| 156 | status?: SessionStatus |
| 157 | waitingFor?: string |
| 158 | }): Promise<void> { |
| 159 | if (!feature('BG_SESSIONS')) return |
| 160 | await updatePidFile({ ...patch, updatedAt: Date.now() }) |
| 161 | } |
| 162 | |
| 163 | /** |
| 164 | * Count live concurrent CLI sessions (including this one). |
no test coverage detected