mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-06-26 21:39:43 +02:00
8 lines
359 B
TypeScript
8 lines
359 B
TypeScript
import { atom } from "jotai";
|
|
import type { ChatArtifact } from "../model/artifact";
|
|
|
|
/** Artifacts of the active thread, synced from the message stream by `useSyncChatArtifacts`. */
|
|
export const chatArtifactsAtom = atom<ChatArtifact[]>([]);
|
|
|
|
/** Whether the artifacts sidebar is open in the right panel. */
|
|
export const artifactsPanelOpenAtom = atom(false);
|