github Termix-SSH/Termix sdk-v1.0.12
Plugin SDK v1.0.12

2 hours ago

Plugin API 1.4.0.

Added

  • contributes.layouts and app.registerLayout() for a whole-app layout, with the ui:layout capability. Needs engine.api 1.4
  • contributes.themes for CSS-only themes, with the ui:theme capability. termix-plugin validate checks theme CSS and pack ships it
  • useShell() 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 a dashboard tab type
  • TabStage and ShellConfirmCapture in @termix-ssh/plugin-sdk/ui, for a layout to place tabs
  • validateThemeCss() in @termix-ssh/plugin-sdk/manifest
  • @termix-ssh/plugin-sdk/ui also exports what a whole layout is built from: the API client, shared types, hooks, useShellController() and APP_VERSION. These reach into core, so they can change with a core release
  • @termix-ssh/plugin-sdk/testing-host exports the registries and permission seam a layout's own tests fill directly
  • A plugin that only holds themes needs no source: termix-plugin build writes an empty backend and validate does not ask for a frontend
  • termix-plugin validate flags ui:layout or ui:theme with nothing contributed, and a layout plugin with no frontend

Fixed

  • The manifest JSON schema lists the notify:hub and plugins:read capabilities
  • Plugin tests and type checks work with the SDK linked from a local Termix checkout

Don't miss a new Termix release

NewReleases is sending notifications on new releases.