(holder: string)
| 54 | return currentToolUseContext!; |
| 55 | } |
| 56 | function formatLockHeld(holder: string): string { |
| 57 | return `Computer use is in use by another Claude session (${holder.slice(0, 8)}…). Wait for that session to finish or run /exit there.`; |
| 58 | } |
| 59 | export function buildSessionContext(): ComputerUseSessionContext { |
| 60 | return { |
| 61 | // ── Read state fresh via the per-call ref ───────────────────────────── |
no outgoing calls
no test coverage detected