Plugin API 2.9.0. Needs Termix 26.11.2.
Added
ctx.diagnostics.provide({ title, collect })adds a section about the plugin's own state to the diagnostics report admins make. Core masks it and caps it at 64 KB. Termix 26.11.3app.openDiagnostics({ pluginId })opens the diagnostics report page with this plugin first. In a frame it needs a click. Termix 26.11.3ctx.hosts.connectPolicy.disconnect(hostId, { reason })ends every connection core holds open to a host, andprovide({ check, probes: true })also gates status checks. Termix 26.11.3app.deepLinks.onOpen(listener): termix:// links the desktop app was opened with, replayed for a listener that starts late. Termix 26.11.3ctx.credentials.resolveLogin(credentialId): a saved credential's username and password, for a login the plugin makes itself, like a Quick Connect session. Only the user's own or shared credentials. Needscredentials:read.QuickConnectLogin.credentialIdcarries one from the browser without its secret, andviewOnlyasks for a session without input. Termix 26.11.3useConfirmtakes acheckbox(label,checked,onChange, and text used while it is ticked), like Delete permanently. Termix 26.11.3 draws it, older versions ignore it- Data badges and text can carry an
icon, acolorand, for badges, avariant(outline,filledoricon). Termix 26.11.3 draws them, older versions ignore them - Login methods can offer
logoutRedirect(session): where to send the browser when a user signs out of a session the method made, like the identity provider's sign out page. Termix 26.11.3 uses it, older versions ignore it ctx.credentials.registerSecretResolver(scheme, resolve, { unlockTab }): whenresolvethrows an error with codeunlock-requiredfor the person connecting, the connect answers access required with that tab, so clients offer Verify instead of failing. Termix 26.11.3registerAction(id, handler, { private: true }): only your own plugin views may run the action, even when another plugin lists it inuses. Termix 26.11.3 enforces it, older versions ignore itapp.registerHostTreeChildren({ id, when, useChildren })lists containers, guests and the like under a host in layouts that draw a host tree, andHostTreeChildrenfrom theuientry reads them. Works from a frame. Termix 26.11.3