feat: shell can open a saved host's editor for plugins (Plugin-SSH-Terminal#36)

This commit is contained in:
LukeGus committed 2026-10-29 13:24:01 -05:00
1 parent cc2223d69e
commit 8da88b906b
4 files changed
+10

No files matched your search

+1
View File
@@ -12,6 +12,7 @@ Plugin API 1.13.0.
- SSH transport providers get the host's owner, sync id, connection origin and local only flag in `claims` and `open`, and core's SSH relay takes a `syncId` instead of a host id
- `ctx.sync.host.entities.idsOf` maps sync ids to the local ids of the user's own rows of one type
- Rail items take `useStatus` for a small ok, warning or error dot on the icon
- `shell.editHost(hostId)` opens the editor of a saved host
### Fixed
+2
View File
@@ -206,6 +206,8 @@ export interface ShellApi {
* user reviews and saves it. Absent in some shells.
*/
openHostEditor?: (draft?: HostDraft) => void;
/** Opens the editor of a saved host. Termix 26.10.6+, absent in some shells. */
editHost?: (hostId: number) => void;
/** Opens a rail view in the left sidebar. */
openRailView: (id: string) => void;
/** Closes a rail view wherever it is shown. */