chatccc 0.2.35 → 0.2.36
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.
- package/package.json +1 -1
- package/src/session.ts +1 -1
package/package.json
CHANGED
package/src/session.ts
CHANGED
|
@@ -521,11 +521,11 @@ export async function resumeAndPrompt(
|
|
|
521
521
|
if (sendInterval) clearInterval(sendInterval);
|
|
522
522
|
revokeAgentImageGrant(imageGrant.token);
|
|
523
523
|
revokeAgentFileGrant(fileGrant.token);
|
|
524
|
-
clearSessionGrants(sessionId);
|
|
525
524
|
}
|
|
526
525
|
|
|
527
526
|
const cEntry = chatSessionMap.get(chatId);
|
|
528
527
|
if (!cEntry || cEntry.gen !== myGen) return;
|
|
528
|
+
clearSessionGrants(sessionId);
|
|
529
529
|
const wasStopped = cEntry.stopped;
|
|
530
530
|
const prevTs = lastMsgTimestamps.get(chatId);
|
|
531
531
|
if (prevTs === undefined || cEntry.msgTimestamp > prevTs) {
|