🤯 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 { HeadlessEditorOptions } from '@lobehub/editor/headless';
import { YjsPlugin as EditorYjsPlugin } from '@lobehub/editor/yjs';
export { IYjsService } from '@lobehub/editor/yjs';
type HeadlessPluginConstructor = Extract<
NonNullable<HeadlessEditorOptions['additionalPlugins']>[number],
abstract new (...args: any[]) => unknown
>;
// `./headless` ships its own bundled copy of the kernel types, so the plugin
// class from `./yjs` is the same constructor at runtime but a distinct type.
export const YjsPlugin = EditorYjsPlugin as unknown as HeadlessPluginConstructor;