mirror of
https://github.com/Termix-SSH/Termix.git
synced 2026-10-29 06:35:24 +00:00
feat: add a permission-gated UI action registry and action slots for plugins
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.
This commit is contained in:
1 parent
225f618337
commit
2d6c1cdecb
29 files changed
+1971
-40
No files matched your search
@@ -24,6 +24,12 @@
|
||||
"icon": "SquareTerminal",
|
||||
"openFrom": ["rail", "host-context-menu", "palette"]
|
||||
}
|
||||
],
|
||||
"actionSlots": [
|
||||
{
|
||||
"id": "terminal.toolbar",
|
||||
"accepts": ["button"]
|
||||
}
|
||||
]
|
||||
},
|
||||
"sidecars": []
|
||||
|
||||
Reference in new issue
Block a user