推进 INI 面板 launch API manifest

This commit is contained in:
2026-06-15 06:25:47 +08:00
parent 6ba8e43850
commit 7d906f1809
8 changed files with 150 additions and 1 deletions

View File

@@ -11,6 +11,7 @@ control view:
import {
INI_PANEL_ENTRIES,
createControlPageBrowserApiMethods,
createIniPanelLaunchApiManifest,
createIniPanelLauncherLinkViewModel,
createIniPanelShellControlPageContract,
createIniPanelShellViewModel,
@@ -81,6 +82,10 @@ control page after save/load session workflows.
The launch page exposes `linuxCncIniPanelLaunchApi.getControlPageApiMethods()`
from the same shell view-model so entry pages can consume the available
read-only control-page API list without loading the control-page iframe first.
Use `createIniPanelLaunchApiManifest()` or
`linuxCncIniPanelLaunchApi.getLaunchApiManifest()` when an outer shell needs a
single read-only description of launch methods, visible entries, target pages,
and the control-page browser API methods.
The control-page refresh workflow lives in
`runtime/ui/ini-panel/control-page-refresh-workflow.js`. Use