@opentiny/next-sdk 0.1.15-beta.1 → 0.1.15-beta.2

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.
@@ -35711,6 +35711,9 @@ ${user}:`]
35711
35711
  if (transport && transport instanceof InMemoryTransport || transport && transport instanceof MessageChannelTransport) {
35712
35712
  return;
35713
35713
  }
35714
+ if (transport && transport instanceof ExtensionClientTransport) {
35715
+ return;
35716
+ }
35714
35717
  await transport?.terminateSession?.();
35715
35718
  await transport?.close?.();
35716
35719
  await client?.close?.();
@@ -35317,6 +35317,9 @@ class AgentModelProvider {
35317
35317
  if (transport && transport instanceof InMemoryTransport || transport && transport instanceof MessageChannelTransport) {
35318
35318
  return;
35319
35319
  }
35320
+ if (transport && transport instanceof ExtensionClientTransport) {
35321
+ return;
35322
+ }
35320
35323
  await transport?.terminateSession?.();
35321
35324
  await transport?.close?.();
35322
35325
  await client?.close?.();