@blade-hq/agent-client 2610.0.0-beta.41 → 2610.0.0-beta.43

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
@@ -1502,7 +1502,7 @@ var ClientProjectionBuilder = class {
1502
1502
  let turnId = String(payload.turn_id ?? this.nextTurnId(`turn:${loopId}`));
1503
1503
  let memoryRefs = null;
1504
1504
  const pending = this.pendingMemoryRefs.get(loopId);
1505
- if (pending) {
1505
+ if (pending && (!pending.turnId || pending.turnId === turnId)) {
1506
1506
  this.pendingMemoryRefs.delete(loopId);
1507
1507
  if (pending.turnId) turnId = pending.turnId;
1508
1508
  memoryRefs = pending.refs;
@@ -5895,7 +5895,7 @@ function resolveServiceUrl(endpoints, name, path = "") {
5895
5895
 
5896
5896
  // src/version.ts
5897
5897
  var SDK_NAME = "agent-client";
5898
- var SDK_VERSION = true ? "2610.0.0-beta.41" : "1.1.1";
5898
+ var SDK_VERSION = true ? "2610.0.0-beta.43" : "1.1.1";
5899
5899
 
5900
5900
  // src/commands/protocol.ts
5901
5901
  function isCommandEnvelope(value) {