Skip to content

The all-in-one local AI studio for your desktop: chat, image and video generation and a coding agent in one free, open source app. Windows and Linux. No Docker, no terminal, no cloud required.

Chat Tools dropdown: unlock Image + add Video as on/off toggles

purple5ad03b9fe805
diff --git a/src/api/mcp/builtin-tools.ts b/src/api/mcp/builtin-tools.ts
index 6ab0ca09..66f50dc3 100644
--- a/src/api/mcp/builtin-tools.ts
+++ b/src/api/mcp/builtin-tools.ts
@@ -509,7 +509,7 @@ const BUILTIN_TOOLS: MCPToolDefinition[] = [
},
required: ['prompt'],
},
- category: 'image',
+ category: 'video',
source: 'builtin',
},
diff --git a/src/api/mcp/types.ts b/src/api/mcp/types.ts
index 20a3d78f..7f3fca45 100644
--- a/src/api/mcp/types.ts
+++ b/src/api/mcp/types.ts
@@ -13,6 +13,7 @@ export const DEFAULT_PERMISSIONS: PermissionMap = {
web: 'auto',
system: 'auto',
image: 'confirm',
+ video: 'confirm',
workflow: 'confirm',
}
diff --git a/src/components/chat/PermissionOverrideBar.tsx b/src/components/chat/PermissionOverrideBar.tsx
index c20dddcd..a758f2f5 100644
--- a/src/components/chat/PermissionOverrideBar.tsx
+++ b/src/components/chat/PermissionOverrideBar.tsx
@@ -1,9 +1,12 @@
import { usePermissionStore } from '../../stores/permissionStore'
import { useChatStore } from '../../stores/chatStore'
import type { ToolCategory } from '../../api/mcp/types'
-import { FolderOpen, Terminal, Monitor, Globe, Cpu, Image, GitBranch, Lock } from 'lucide-react'
+import { FolderOpen, Terminal, Monitor, Globe, Cpu, Image, Film, GitBranch, Lock } from 'lucide-react'
-const LOCKED: Set<ToolCategory> = new Set(['image'])
+// Image + Video generation are LIVE (chat agent → ComfyUI, gemma4 vision loop),
+// so neither is locked anymore — both are user-toggleable on/off like every
+// other category. (Kept the LOCKED mechanism for any future "coming soon" tool.)
+const LOCKED: Set<ToolCategory> = new Set([])
const CATEGORIES: { key: ToolCategory; icon: typeof Globe; label: string }[] = [
{ key: 'web', icon: Globe, label: 'Web' },
@@ -12,6 +15,7 @@ const CATEGORIES: { key: ToolCategory; icon: typeof Globe; label: string }[] = [
{ key: 'terminal', icon: Terminal, label: 'Shell' },
{ key: 'desktop', icon: Monitor, label: 'Screenshot' },
{ key: 'image', icon: Image, label: 'Image' },
+ { key: 'video', icon: Film, label: 'Video' },
{ key: 'workflow', icon: GitBranch, label: 'Workflows' },
]