@athenaintel/react 0.10.16 → 0.10.17

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
@@ -24719,11 +24719,23 @@ function useAthenaThreadManager() {
24719
24719
  selector: (s) => {
24720
24720
  var _a2;
24721
24721
  const id = (_a2 = s.metadata) == null ? void 0 : _a2.remoteId;
24722
+ console.log("[AthenaSDK] useAthenaThreadManager selector", {
24723
+ metadata: s.metadata,
24724
+ threadId: s.threadId,
24725
+ rawRemoteId: id,
24726
+ isPlaceholder: isLocalPlaceholder(id)
24727
+ });
24722
24728
  return isLocalPlaceholder(id) ? void 0 : id;
24723
24729
  }
24724
24730
  });
24725
24731
  const isThreadLoading = useThread({ optional: true, selector: (s) => s.isLoading }) ?? false;
24726
24732
  const isListLoading = useThreadList({ optional: true, selector: (s) => s.isLoading });
24733
+ console.log("[AthenaSDK] useAthenaThreadManager render", {
24734
+ remoteId,
24735
+ isThreadLoading,
24736
+ isListLoading,
24737
+ hasRuntime: !!runtime
24738
+ });
24727
24739
  const runtimeRef = useRef(runtime);
24728
24740
  runtimeRef.current = runtime;
24729
24741
  const switchToThread = useCallback(