🤯 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 { ListLocalFileParams } from '@lobechat/electron-client-ipc';
import type { BuiltinInterventionProps } from '@lobechat/types';
import { Flexbox } from '@lobehub/ui';
import { memo } from 'react';
import { LocalFolder } from '@/features/LocalFile';
import OutOfScopeWarning from '../OutOfScopeWarning';
const ListLocalFiles = memo<BuiltinInterventionProps<ListLocalFileParams>>(({ args }) => {
const { path } = args;
return (
<Flexbox gap={12}>
<OutOfScopeWarning paths={[path]} />
<LocalFolder path={path} />
</Flexbox>
);
});
ListLocalFiles.displayName = 'ListLocalFilesIntervention';
export default ListLocalFiles;