🤯 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
'use client';
import { createModal } from '@lobehub/ui';
import { t } from 'i18next';
import { SkillDetailContent } from './SkillDetailContent';
export { SkillDetailContent, SkillDetailView } from './SkillDetailContent';
export { SkillNavKey } from './types';
export interface CreateSkillDetailModalOptions {
identifier: string;
}
export const createSkillDetailModal = ({ identifier }: CreateSkillDetailModalOptions) =>
createModal({
content: <SkillDetailContent identifier={identifier} />,
footer: null,
styles: {
content: {
maxHeight: 'calc(100dvh - 160px)',
overflowY: 'auto',
paddingBlock: 24,
paddingInline: 'clamp(16px, 4vw, 40px)',
},
},
// The imperative modal renders its header (and the close button) only when
// a title is present — `null` would leave backdrop/Escape as the only way out
title: t('dev.title.skillDetails', { ns: 'plugin' }),
width: 'min(92vw, 960px)',
});