mirror of
https://github.com/escalante29/WealthySmart.git
synced 2026-07-17 09:08:46 +02:00
0f34a64e51ebff74d3e765425307c397ff20d653
Clearing in place (setMessages + remount) left the conversation rendered — CopilotKit keeps chat state beyond agent.messages — so the button now reloads the page after deleting the thread: a fresh boot hydrates from the empty store and shows the welcome screen with suggestions, which previously only appeared after a manual refresh. Supporting changes: - CopilotChat gets an explicit agentId="wealthysmart" (without it, it resolves DEFAULT_AGENT_ID and can bind a different client agent instance than useAgent's). - The BFF answers CopilotChat's POST …/connect with an immediately-completed stream: the runtime's in-memory runner replays this PROCESS's event history, which resurrects cleared conversations and double-feeds hydration. The empty-messages hydration run against the DB store is the single restore path. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
WealthySmart
A financial management application
Description
Languages
TypeScript
65.2%
Python
33.3%
CSS
0.6%
Shell
0.4%
Dockerfile
0.2%
Other
0.1%