597
throw new CancellationError();
598
}
599
>
void Promise.resolve(oldWarm[Symbol.asyncDispose]()).catch((err: unknown) =>
claudeSdkPipeline.ts
600
>
this._logService.warn(`[ClaudeSdkPipeline:${this.sessionId}] previous WarmQuery dispose failed during rebind: ${err}`));
601
>
this._warm = built.warm;
602
>
this._abortController = built.abortController;
603
>
this._wireAbortHandler(built.abortController);
604
>
this._queue.resetForRebind();
605
>
this._needsRebind = false;
606
>
// New SDK starts with the materializer's `Options.model` / effort /
607
>
// permissionMode but we don't trust that to match `_currentModel`
608
>
// etc. — reset the applied cache and let `_replayCurrentConfig`
609
>
// push whatever the consumer last set.
610
>
this._appliedModel = undefined;
611
>
this._appliedEffort = undefined;
612
>
this._appliedPermissionMode = undefined;
613
>
this._bindWarmQuery();
614
>
await this._replayCurrentConfig();
615
}
616