mirror of
https://github.com/shumaiOne/shumai.git
synced 2026-11-24 14:59:25 +00:00
feat(ui): rename sandbox to Agent Sandbox and simplify filesystem restriction display
This commit is contained in:
@@ -130,20 +130,6 @@ export function SandboxSettings({ teamId }: { teamId: string }) {
|
||||
<code>/tmp</code> folders. These settings are currently hardcoded for security.
|
||||
</CardDescription>
|
||||
</CardHeader>
|
||||
<CardContent>
|
||||
<div className="space-y-2">
|
||||
<div className="flex items-center gap-2 text-sm text-slate-600 dark:text-slate-400">
|
||||
<div className="w-1.5 h-1.5 rounded-full bg-green-500" />
|
||||
<span>
|
||||
Allow Write: <code>.pi</code>, <code>/tmp</code>
|
||||
</span>
|
||||
</div>
|
||||
<div className="flex items-center gap-2 text-sm text-slate-600 dark:text-slate-400">
|
||||
<div className="w-1.5 h-1.5 rounded-full bg-red-500" />
|
||||
<span>Deny Read: All other paths</span>
|
||||
</div>
|
||||
</div>
|
||||
</CardContent>
|
||||
</Card>
|
||||
</div>
|
||||
)
|
||||
|
||||
@@ -208,7 +208,7 @@ function TeamSettingsPage() {
|
||||
)}
|
||||
>
|
||||
<Shield className="w-5 h-5" />
|
||||
Sandbox
|
||||
Agent Sandbox
|
||||
{activeTab === 'sandbox' && (
|
||||
<div className="ml-auto w-1.5 h-1.5 rounded-full bg-blue-600 dark:bg-blue-400" />
|
||||
)}
|
||||
@@ -227,7 +227,7 @@ function TeamSettingsPage() {
|
||||
{activeTab === 'skills' && 'Skills Management'}
|
||||
{activeTab === 'providers' && 'AI Providers'}
|
||||
{activeTab === 'agents' && 'AI Agents'}
|
||||
{activeTab === 'sandbox' && 'AI Sandbox Settings'}
|
||||
{activeTab === 'sandbox' && 'Agent Sandbox Settings'}
|
||||
</h2>
|
||||
<p className="text-sm text-slate-500 dark:text-slate-400 mt-1">
|
||||
{activeTab === 'general' && 'View your personal information and team role.'}
|
||||
@@ -237,7 +237,8 @@ function TeamSettingsPage() {
|
||||
{activeTab === 'providers' &&
|
||||
'Configure AI providers and their models for this team.'}
|
||||
{activeTab === 'agents' && 'Manage AI agents and their personalities.'}
|
||||
{activeTab === 'sandbox' && 'Configure security and network restrictions for the AI agent.'}
|
||||
{activeTab === 'sandbox' &&
|
||||
'Configure security and network restrictions for the AI agent.'}
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user