🤯 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 StateCreator } from 'zustand/vanilla';
import { type ChatStore } from '@/store/chat/store';
import { flattenActions } from '@/store/utils/flattenActions';
import { type GroupOrchestrationAction } from './groupOrchestration';
import { GroupOrchestrationActionImpl } from './groupOrchestration';
export type ChatAIAgentAction = GroupOrchestrationAction;
export const chatAiAgent: StateCreator<
ChatStore,
[['zustand/devtools', never]],
[],
ChatAIAgentAction
> = (
...params: Parameters<
StateCreator<ChatStore, [['zustand/devtools', never]], [], ChatAIAgentAction>
>
) => flattenActions<ChatAIAgentAction>([new GroupOrchestrationActionImpl(...params)]);