Plugin API 2.6.0. Needs Termix 26.11.2.
Added
ctx.operations.runs.cancel({ runId })andctx.operations.runs.undo({ runId, confirmed })cancel or undo a run from inside one of the plugin's own requests, as the person on that request. Needsoperations:invokeapp.stepUp()asks the person to prove a second factor in a prompt the shell owns and answers true or false; a plugin never sees the code. In a frame it works only right after the person used the framecreateMockCtxanswersctx.operations.runsand recordsrunCalls- Data slots:
registerSlotContributiontakeskind: "data"with auseValue(context, rowKey)hook that returns plain values (bars,stat,badge,dot,text). The shell draws them, and in a frame the hook runs in the background frame, so a row costs no iframe useValueonregisterHostBadge,registerHostStatusIndicatorandregisterHostEditorToolbarItem, which now work from a frame. Theircomponentis optional and in-page onlydeclareActionSlottakesshapesandrowsfor data slotsDATA_SLOTSin/manifestlists the data slots in TermixDataSlot,DataValues,HostDataItemsandparseDataValuein/uifor slot owners and layoutsrenderWithAppresults havereadDataValuesandrenderHostItems, andrenderSlotdraws data valuestermix-plugin validatewarns about a component in a data slot or per row slot, and about host badges, status indicators and toolbar items with a component