MCPcopy Create free account
hub / github.com/MagicCube/agentara / useSoulMemory

Function useSoulMemory

web/src/lib/api/hooks.ts:225–233  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

223 * Fetches SOUL.md content.
224 */
225export function useSoulMemory() {
226 return useQuery({
227 queryKey: ["memory", "soul"],
228 queryFn: () =>
229 api.memory.soul
230 .$get()
231 .then((res) => res.json() as Promise<MemoryContent>),
232 });
233}
234
235/**
236 * Updates USER.md content.

Callers 1

MemoryPageFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected