@agentvault/agentvault 0.13.11 → 0.13.12

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/dist/index.js CHANGED
@@ -47968,28 +47968,8 @@ ${messageText}`;
47968
47968
  const session = this._sessions.get(msg.conversation_id);
47969
47969
  if (!session) {
47970
47970
  console.warn(
47971
- `[SecureChannel] No session for conversation ${msg.conversation_id} during sync, requesting resync`
47971
+ `[SecureChannel] No session for conversation ${msg.conversation_id} during sync, skipping`
47972
47972
  );
47973
- const RESYNC_COOLDOWN_MS = 5 * 60 * 1e3;
47974
- const lastResync = this._lastResyncRequest.get(msg.conversation_id) ?? 0;
47975
- if (Date.now() - lastResync > RESYNC_COOLDOWN_MS && this._ws && this._persisted) {
47976
- this._lastResyncRequest.set(msg.conversation_id, Date.now());
47977
- this._ws.send(
47978
- JSON.stringify({
47979
- event: "resync_request",
47980
- data: {
47981
- conversation_id: msg.conversation_id,
47982
- reason: "no_session",
47983
- identity_public_key: this._persisted.identityKeypair.publicKey,
47984
- ephemeral_public_key: this._persisted.ephemeralKeypair.publicKey
47985
- }
47986
- })
47987
- );
47988
- this.emit("resync_requested", {
47989
- conversationId: msg.conversation_id,
47990
- reason: "no_session"
47991
- });
47992
- }
47993
47973
  continue;
47994
47974
  }
47995
47975
  try {