{"agent":"claude","input":"Add Realtime updates to the todo list in this Supabase and Next.js project and open a pull request. Read supabase/config.toml, supabase/migrations/20250130181641_todo_list.sql, nextjs/package.json, nextjs/src/app/app/table/page.tsx, nextjs/src/lib/supabase/client.ts, nextjs/src/lib/supabase/unified.ts, nextjs/src/lib/types.ts and nextjs/src/lib/context/GlobalContext.tsx first. Add a migration that adds public.todo_list to the supabase_realtime publication and sets replica identity full on it. In unified.ts add a subscribeToMyTodoList method on SassClient that opens a postgres_changes channel on public.todo_list filtered to owner=eq.<user id>, calls typed handlers for INSERT, UPDATE and DELETE, and returns the channel. In table/page.tsx subscribe in a useEffect once the user is known, update the tasks state from each payload respecting the done filter, remove the channel on cleanup, and delete the loadTasks calls that follow createTask, removeTask and updateAsDone while keeping the initial load. Run npm run lint and npm run build in nextjs, apply the migration on the local Supabase stack and confirm the table is in pg_publication_tables, then open the page in two windows as one user and record one window updating from the other. Put the command output and the recording in the pull request. Do not change the row level security policy.","resources":[{"url":"https://github.com/your-org/your-app"}]}