mirror of
https://github.com/CopilotKit/CopilotKit.git
synced 2026-09-14 16:26:20 +08:00
1b9ab035ce
Synced from the cookbook dev repo (verified live on Railway + Playwright): - db/init/01-create-user.sql: create the `cookbook` user on a dedicated ASSM tablespace (cookbook_ts) as its DEFAULT, instead of inheriting SYSTEM/MSSM (FREEPDB1's default on the Free :latest-lite image). JSON and VECTOR columns are SecureFile-backed and cannot live in an MSSM tablespace, so the old user failed schema creation with ORA-43853 and memory never persisted. Self-heals a user stranded on SYSTEM (drop+recreate); leaves a working ASSM user (local :latest USERS) alone. - frontend: a new thread is named from its OWN first message, not the previous thread's. ThreadTitler now titles off the agent's message/run events gated on agent.threadId === activeThreadId, replacing a useEffect keyed on activeThreadId that read the shared, agentId-scoped transcript while it still held the prior thread's messages during a switch. Adds a Playwright regression test (e2e/thread-title.spec.ts). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>