import { memoryRecords } from "./memoryRecords.query.js";
import { memorySearch } from "./memorySearch.query.js";
import { memoryGraph } from "./memoryGraph.query.js";
import { memorySystemConfig } from "./memorySystemConfig.query.js";
import { deleteMemoryRecord } from "./deleteMemoryRecord.mutation.js";
import { updateMemoryRecord } from "./updateMemoryRecord.mutation.js";
import { captureMobileMemory } from "./captureMobileMemory.mutation.js";
import { mobileMemoryCaptures } from "./mobileMemoryCaptures.query.js";
import { mobileMemorySearch } from "./mobileMemorySearch.query.js";
import { mobileWikiSearch } from "./mobileWikiSearch.query.js";
import { recentWikiPages } from "./recentWikiPages.query.js";
import { deleteMobileMemoryCapture } from "./deleteMobileMemoryCapture.mutation.js";
import {
  threadIdleLearningRunQuery,
  threadIdleLearningRunsQuery,
} from "./threadIdleLearningRuns.query.js";
import { rollbackThreadIdleLearningRun } from "./rollbackThreadIdleLearningRun.mutation.js";

export const memoryQueries = {
  memoryRecords,
  memorySearch,
  memoryGraph,
  memorySystemConfig,
  mobileMemoryCaptures,
  mobileMemorySearch,
  mobileWikiSearch,
  recentWikiPages,
  threadIdleLearningRuns: threadIdleLearningRunsQuery,
  threadIdleLearningRun: threadIdleLearningRunQuery,
};

export const memoryMutations = {
  deleteMemoryRecord,
  updateMemoryRecord,
  captureMobileMemory,
  deleteMobileMemoryCapture,
  rollbackThreadIdleLearningRun,
};
