@agent-native/core 0.31.2 → 0.32.0

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.
@@ -1166,11 +1166,11 @@ export function MultiTabAssistantChat({ showTabBar = true, renderHeader, renderO
1166
1166
  toggleHistory: () => setShowHistory((v) => !v),
1167
1167
  tabCount: openTabIds.length,
1168
1168
  };
1169
- // No full-shell skeleton: the hook seeds an optimistic activeThreadId
1170
- // synchronously so the chat shell + composer can paint on first render.
1171
- // Per-thread restore (existing chats with history) shows its own message-area
1172
- // skeleton inside AssistantChat header and composer stay visible.
1173
- if (isLoading && !activeThreadId) {
1169
+ // Wait for the first thread-list pass before mounting restored tabs. Saved
1170
+ // localStorage ids may be empty client-only tabs or old ids from another
1171
+ // deployment; rendering AssistantChat before validation causes harmless but
1172
+ // noisy /threads/:id 404s during app startup.
1173
+ if (isLoading) {
1174
1174
  return (_jsx(ChatSkeleton, { header: renderHeader?.(headerProps), headerOnly: contentHidden }));
1175
1175
  }
1176
1176
  return (_jsxs("div", { className: "flex flex-1 flex-col h-full min-h-0 overflow-x-hidden", children: [_jsx("style", { dangerouslySetInnerHTML: {