mirror of
https://github.com/Termix-SSH/Termix.git
synced 2026-10-28 14:15:24 +00:00
Moves the terminal toolbar's hardwired AI button into a slot the ssh-terminal plugin offers and the ai plugin fills, gated on ai.services.use.
54 lines
1.3 KiB
JSON
54 lines
1.3 KiB
JSON
{
|
|
"id": "ai",
|
|
"name": "AI Assistant",
|
|
"version": "1.0.0",
|
|
"description": "An AI assistant that can read your hosts, snippets, fleets, alerts and automations, and propose changes for you to approve.",
|
|
"author": { "name": "Termix" },
|
|
"license": "MIT",
|
|
"repository": "https://github.com/Termix-SSH/Termix",
|
|
"category": "Productivity",
|
|
"icon": "Sparkles",
|
|
"engine": { "termix": ">=2.9.0", "api": "1" },
|
|
"capabilities": {
|
|
"backend": true,
|
|
"frontend": true,
|
|
"electron": true,
|
|
"platforms": ["linux", "win32", "darwin"]
|
|
},
|
|
"permissions": ["process:transport-owner"],
|
|
"contributes": {
|
|
"tabs": [
|
|
{
|
|
"id": "ai",
|
|
"titleKey": "nav.ai",
|
|
"icon": "Sparkles",
|
|
"openFrom": ["rail", "palette"]
|
|
}
|
|
],
|
|
"permissionGroup": {
|
|
"group": "ai",
|
|
"permissions": [
|
|
"ai.use",
|
|
"ai.manage_providers",
|
|
"ai.apply_proposals",
|
|
"ai.services.use"
|
|
],
|
|
"defaultForRole": {
|
|
"admin": ["ai.services.use"]
|
|
}
|
|
},
|
|
"actions": [
|
|
{
|
|
"id": "ai.openWithContext",
|
|
"titleKey": "ai.assistant",
|
|
"handler": "openWithContext",
|
|
"icon": "Bot",
|
|
"permission": "ai.services.use",
|
|
"slot": "terminal.toolbar",
|
|
"kind": "button"
|
|
}
|
|
]
|
|
},
|
|
"sidecars": []
|
|
}
|