Open-source, secure environment with real-world tools for enterprise-grade agents.
Python agentaiai-agentai-agentscode-interpretercopilotdevelopmentdevtoolsgptgpt-4javascriptllmnextjsopenaipythonreactsoftwaretypescript
commit
Vasek Mlejnsky53f06617bf61
diff --git a/components/Filesystem/Dir.tsx b/components/Filesystem/Dir.tsxindex 860e36e4b..2151891a3 100644--- a/components/Filesystem/Dir.tsx+++ b/components/Filesystem/Dir.tsx@@ -40,24 +40,25 @@ function Dir({const icon = isExpanded ? (<ChevronDownIcon- className="text-white/60"+ className="text-white/60 shrink-0"size={16}/>) : (<ChevronRightIcon- className="text-white/60"+ className="text-white/60 shrink-0"size={16}/>)return (- <div className="flex flex-col rounded">+ <div className="flex flex-col rounded w-full"><divclassName={clsx('px-1','py-2','flex','items-center',+ 'w-full','rounded-md','space-x-1','cursor-pointer',@@ -71,7 +72,6 @@ function Dir({{icon}<spanclassName="- truncatetext-smtext-gray-100whitespace-nowrapdiff --git a/components/Filesystem/File.tsx b/components/Filesystem/File.tsxindex 7aaec6131..c8674b7fe 100644--- a/components/Filesystem/File.tsx+++ b/components/Filesystem/File.tsx@@ -1,10 +1,7 @@import {- Database as DatabaseIcon,File as FileIcon,- Settings as SettingsIcon,} from 'lucide-react'import clsx from 'clsx'-import path from 'path-browserify'import Link from 'next/link'import {@@ -40,34 +37,6 @@ function File({})}-- let icon = (- <FileIcon- size={16}- />- )-- const ext = path.extname(filePath).substring(1)- if (ext === 'sql') {- icon = (- <DatabaseIcon- className="- text-red-500- "- size={16}- />- )- } else if (ext === 'toml') {- icon = (- <SettingsIcon- className="- text-teal-800- "- size={16}- />- )- }-return (<Linkprefetch={false}@@ -82,19 +51,22 @@ function File({'items-center','space-x-1','hover:bg-[#1F2437]',+ 'w-full',{ 'bg-[#1F2437]': isSelectedViaRouter },{ 'bg-transparent': !isSelectedViaRouter })}onClick={handleOnClick}shallow>- {icon}+ <FileIcon+ className="shrink-0"+ size={16}+ /><spanclassName="- truncate- text-sm- whitespace-nowrap- text-gray-100+ text-sm+ whitespace-nowrap+ text-gray-100">{name}diff --git a/components/Filesystem/index.tsx b/components/Filesystem/index.tsxindex 633b4bc67..8cfd804ad 100644--- a/components/Filesystem/index.tsx+++ b/components/Filesystem/index.tsx@@ -125,7 +125,7 @@ function Filesystem({flexflex-colspace-y-2- rounded-lg+ w-full"><FilesystemPrimitive.TreeclassName={clsx(