Plugin API 1.4.0.
Added
contributes.layoutsandapp.registerLayout()for a whole-app layout, with theui:layoutcapability. Needsengine.api1.4contributes.themesfor CSS-only themes, with theui:themecapability.termix-plugin validatechecks theme CSS andpackships ituseShell()gives a layout the live shell: tabs, splits, hosts, docks, the command palette and the registries. The shell's home tab is left out until some plugin registers adashboardtab typeTabStageandShellConfirmCapturein@termix-ssh/plugin-sdk/ui, for a layout to place tabsvalidateThemeCss()in@termix-ssh/plugin-sdk/manifest@termix-ssh/plugin-sdk/uialso exports what a whole layout is built from: the API client, shared types, hooks,useShellController()andAPP_VERSION. These reach into core, so they can change with a core release@termix-ssh/plugin-sdk/testing-hostexports the registries and permission seam a layout's own tests fill directly- A plugin that only holds themes needs no source:
termix-plugin buildwrites an empty backend andvalidatedoes not ask for a frontend termix-plugin validateflagsui:layoutorui:themewith nothing contributed, and a layout plugin with no frontend
Fixed
- The manifest JSON schema lists the
notify:hubandplugins:readcapabilities - Plugin tests and type checks work with the SDK linked from a local Termix checkout