mirror of
https://github.com/Termix-SSH/Termix.git
synced 2026-10-29 22:55:24 +00:00
feat: collapse plugin runtime to one tier behind a plugin SDK
This commit is contained in:
1 parent
6e058f6e9e
commit
4758016f41
96 files changed
+34631
-8551
No files matched your search
+43
-28
@@ -3,19 +3,38 @@
|
||||
"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" },
|
||||
"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"]
|
||||
"engine": {
|
||||
"termix": ">=2.9.0",
|
||||
"api": "1"
|
||||
},
|
||||
"permissions": ["process:transport-owner"],
|
||||
"capabilities": [
|
||||
"hosts:read",
|
||||
"hosts:write",
|
||||
"credentials:use",
|
||||
"ssh:connect",
|
||||
"db:own",
|
||||
"secrets:own",
|
||||
"network:outbound",
|
||||
"audit:read",
|
||||
"ui:surface"
|
||||
],
|
||||
"dependencies": {
|
||||
"automations": "^1.0.0"
|
||||
},
|
||||
"providesSecret": [
|
||||
{
|
||||
"key": "api-key",
|
||||
"permission": "ai.secrets.share",
|
||||
"descriptionKey": "ai.secrets.shareApiKey"
|
||||
}
|
||||
],
|
||||
"contributes": {
|
||||
"tabs": [
|
||||
{
|
||||
@@ -25,6 +44,17 @@
|
||||
"openFrom": ["rail", "palette"]
|
||||
}
|
||||
],
|
||||
"actions": [
|
||||
{
|
||||
"id": "ai.openWithContext",
|
||||
"titleKey": "ai.assistant",
|
||||
"handler": "openWithContext",
|
||||
"icon": "Bot",
|
||||
"permission": "ai.services.use",
|
||||
"slot": "terminal.toolbar",
|
||||
"kind": "button"
|
||||
}
|
||||
],
|
||||
"permissionGroup": {
|
||||
"group": "ai",
|
||||
"permissions": [
|
||||
@@ -37,25 +67,10 @@
|
||||
"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"
|
||||
}
|
||||
]
|
||||
},
|
||||
"providesSecret": [
|
||||
{
|
||||
"key": "api-key",
|
||||
"permission": "ai.secrets.share",
|
||||
"descriptionKey": "ai.secrets.shareApiKey"
|
||||
}
|
||||
],
|
||||
"sidecars": []
|
||||
},
|
||||
"backend": "backend/index.mjs",
|
||||
"frontend": "frontend/index.mjs",
|
||||
"locales": "locales",
|
||||
"platforms": ["linux", "win32", "darwin"]
|
||||
}
|
||||
Reference in new issue
Block a user