[Bug] Session resume crashes: undefined onSessionRestored callback in v2.1.119

Resolved 💬 5 comments Opened Apr 25, 2026 by lauwers Closed Apr 28, 2026

Bug Description
Title: Crash on session resume: UKH is not a function in useSessionResumeHook (v2.1.119) Body: ## Summary Claude Code crashes immediately when resuming a previous session. The crash happens in the bundled cli.js when the session-restore hook tries to invoke onSessionRestored, which is undefined. ## Environment - Claude Code version: 2.1.119 - Platform: Linux 6.8.0-110-generic (Ubuntu) - Shell: bash - Model in use at crash: Opus 4.7 (1M context) ## Steps to reproduce …
Note: Content was truncated.

View original on GitHub ↗

This issue has 5 comments on GitHub. Read the full discussion on GitHub ↗