orchestrix-yuri 4.5.6 → 4.5.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -340,7 +340,7 @@ async function callClaude(opts) {
|
|
|
340
340
|
// Try to restore session from disk on first call
|
|
341
341
|
if (!_sessionId) {
|
|
342
342
|
const saved = loadSessionState();
|
|
343
|
-
if (saved) {
|
|
343
|
+
if (saved && saved.sessionId) {
|
|
344
344
|
log.engine(`Restoring session ${saved.sessionId.slice(0, 8)}...`);
|
|
345
345
|
_sessionId = saved.sessionId;
|
|
346
346
|
_messageCount = saved.messageCount || 0;
|