Skip to content

🤯 LobeHub - Super-Agents on Your Team. Add super-agents to the chats your team already uses.They take on work by themselves and get better every week.

343 B
Raw Blame
import type { TaskDetailData } from '@lobechat/types';

import { defineReplica } from '@/libs/replica';

/** Canonical task ids only. Display aliases live in the in-memory ref index. */
export const taskDetailResource = defineReplica<string, TaskDetailData>({
  key: (id) => id,
  name: 'taskDetail',
  storage: 'indexedDB',
  version: 2,
});