mirror of
https://github.com/Termix-SSH/Termix.git
synced 2026-10-28 14:15:24 +00:00
121 lines
2.8 KiB
JSON
121 lines
2.8 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": [
|
|
"hosts:read",
|
|
"hosts:write",
|
|
"credentials:use",
|
|
"ssh:connect",
|
|
"db:own",
|
|
"secrets:own",
|
|
"network:outbound",
|
|
"audit:read",
|
|
"network:serve",
|
|
"ui:surface"
|
|
],
|
|
"dependencies": {
|
|
"automations": "^1.0.0"
|
|
},
|
|
"optionalDependencies": {
|
|
"workspaces": "^1.0.0"
|
|
},
|
|
"requires": [
|
|
{
|
|
"service": "workspaces.saved",
|
|
"versionRange": "^1.0.0",
|
|
"optional": true
|
|
}
|
|
],
|
|
"providesSecret": [
|
|
{
|
|
"key": "api-key",
|
|
"permission": "ai.secrets.share",
|
|
"descriptionKey": "ai.secrets.shareApiKey"
|
|
}
|
|
],
|
|
"contributes": {
|
|
"tabs": [
|
|
{
|
|
"id": "ai",
|
|
"titleKey": "nav.ai",
|
|
"icon": "Sparkles",
|
|
"openFrom": ["rail", "palette"]
|
|
}
|
|
],
|
|
"actions": [
|
|
{
|
|
"id": "ai.openWithContext",
|
|
"titleKey": "ai.assistant",
|
|
"handler": "openWithContext",
|
|
"icon": "Bot",
|
|
"permission": "ai.services.use",
|
|
"slot": "terminal.toolbar",
|
|
"kind": "button"
|
|
}
|
|
],
|
|
"permissions": [
|
|
{
|
|
"name": "use",
|
|
"titleKey": "permissions.use.title",
|
|
"descriptionKey": "permissions.use.description",
|
|
"defaultRoles": ["user"]
|
|
},
|
|
{
|
|
"name": "manage_providers",
|
|
"titleKey": "permissions.manage_providers.title",
|
|
"descriptionKey": "permissions.manage_providers.description",
|
|
"defaultRoles": ["user"]
|
|
},
|
|
{
|
|
"name": "apply_proposals",
|
|
"titleKey": "permissions.apply_proposals.title",
|
|
"descriptionKey": "permissions.apply_proposals.description",
|
|
"defaultRoles": ["user"]
|
|
},
|
|
{
|
|
"name": "services.use",
|
|
"titleKey": "permissions.services.use.title",
|
|
"descriptionKey": "permissions.services.use.description",
|
|
"defaultRoles": ["user"]
|
|
},
|
|
{
|
|
"name": "secrets.share",
|
|
"titleKey": "permissions.secrets.share.title",
|
|
"descriptionKey": "permissions.secrets.share.description",
|
|
"defaultRoles": ["user"]
|
|
}
|
|
],
|
|
"settings": {
|
|
"admin": [
|
|
{
|
|
"key": "access",
|
|
"type": "custom",
|
|
"component": "access"
|
|
}
|
|
],
|
|
"user": [
|
|
{
|
|
"key": "assistant",
|
|
"type": "custom",
|
|
"component": "assistant"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"locales": "locales",
|
|
"platforms": ["linux", "win32", "darwin"]
|
|
}
|