Select the types of activity you want to include in your feed.
Persist sandbox initialization state in atom
Replace local ref with initializedSandboxesAtom to track whether a sandbox's initialCommand has been fired, ensuring it persists across component unmounts and remounts.
···11import { atom } from "jotai";
2233export const sessionsAtom = atom<Record<string, string>>({});
44+55+// Tracks which sandboxIds have already fired their initialCommand
66+// Persists across component unmount/remount since it lives outside the component
77+export const initializedSandboxesAtom = atom<Record<string, boolean>>({});