github Termix-SSH/Termix sdk-v2.12.0
Plugin SDK v2.12.0

57 minutes ago

Plugin API 2.9.0. Needs Termix 26.11.2.

Added

  • relayed on ctx.hosts.probeTargets entries marks hosts a relay through a linked server may carry. Check them with ctx.ssh.probe, which now goes through the relay. Termix 26.12.0
  • app.downloadFromApi(path, { fileName }) saves a file from one of the plugin's own GET routes. The browser downloads it straight from the server, so the save dialog shows at once and big files never sit in memory. Needs a click in a frame. Termix 26.12.0
  • createMyApiKey(name, scopes, { hostIds, autoApprove }) in /ui makes an action key (operations scopes only) for the signed in admin, optionally held to some hosts. A frame needs operations:approve and a click. Termix 26.12.0
  • req.apiKeyId and req.apiKeyScopes on plugin routes and apiKeyId on sockets opened with a Termix API key, plus sessionOnly() and viaApiKey() in /backend to refuse API keys on routes where a person must act. Termix 26.12.0
  • ipFamily in HostSshOptions picks IPv4 or IPv6 for a host name. Termix 26.12.0
  • app.registerHostIcon({ useValue }) gives hosts the icon left of their name: a Lucide icon, a small inline picture or a few letters, with a color and corner mark. Works from a frame. Layouts draw it with HostLeadingIcon from /ui. Termix 26.12.0
  • electronAPI.proxySignIn(serverUrl, title) opens a login proxy's sign in page in the desktop app and resolves with its cookies as a Cookie header value. Termix 26.12.0

Fixed

  • parseDfLines keeps the whole mount point when it has a space in it
  • termix-plugin build fills in sources a dependency's source map left out, so DevTools no longer tries to load them from the server and logs errors
  • Migration checks look at database functions in every statement

Removed

  • The unused tar dependency

Don't miss a new Termix release

NewReleases is sending notifications on new releases.