fix(service): SIDEBAR_FEATURES 新增 rightActions 能力声明

rightActions 字段已加入 TabDescriptor,但 SIDEBAR_FEATURES 数组遗漏了
能力声明,导致消费方 features.includes('rightActions') 探测返回 false,
误走降级路径。
This commit is contained in:
xlli67 committed 2026-09-30 13:08:28 +08:00
1 parent 679889d8a9
commit e556ebb378
1 file changed
+3
+3
View File
@@ -667,6 +667,8 @@ export const SIDEBAR_SERVICE_VERSION = '0.24.1'
* external file-tree icons overriding the built-in glyphs, matched by
* extension (`exts`), exact file name (`names`), or directory name
* (`folderNames`).
* - 'rightActions' (v0.25.0): TabDescriptor.rightActions — the active tab's
* right-aligned action area rendered at the tab strip's right end.
*
* v0.19.0 REMOVED 'floatWindows': the free-window feature is gone (DSH 0.1.5
* owns the right column, so the plugin keeps only its bottom workbench).
@@ -684,6 +686,7 @@ export const SIDEBAR_FEATURES = [
'urlTarget',
'settingSelect',
'fileIcons',
'rightActions',
] as const
/** Run one plugin callback; a throw is logged and never breaks the caller. */