🤯 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.
TypeScript agentagent-collaborationagent-harnessloop-engineeringmcppersonal-assistantproactive-agentskillssuper-agenttask-management
import type { FavoriteItem } from '@lobechat/types';
import { createReplicaState, type ReplicaState } from '@/libs/replica';
export interface FavoriteState {
/** Favorites of the current scope, the view of the `favoriteList` replica. */
favoriteListMap: Record<string, FavoriteItem[]>;
favoriteListReplica: ReplicaState<FavoriteItem[]>;
}
export const initialFavoriteState: FavoriteState = {
favoriteListMap: {},
favoriteListReplica: createReplicaState(),
};