@linkdesk/plugin-sdk 0.1.51 → 0.1.52
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@linkdesk/plugin-sdk",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.52",
|
|
4
4
|
"description": "@linkdesk/plugin-sdk——LinkDesk 插件作者 SDK(对标 @types/vscode):window.linkdesk.* 类型 + 一键 build(.linkdesk-plugin) + dev 宿主 + plugin.json 验证 + eslint 门禁(E6#54d)。作者 npm i 后零壳源码依赖。",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -937,6 +937,7 @@
|
|
|
937
937
|
"ldk-quick-pick-list",
|
|
938
938
|
"ldk-quick-pick-panel",
|
|
939
939
|
"ldk-quick-pick-prefix",
|
|
940
|
+
"ldk-readonly-text",
|
|
940
941
|
"ldk-right-sidebar-zone",
|
|
941
942
|
"ldk-rn",
|
|
942
943
|
"ldk-rn-actions",
|
|
@@ -983,6 +984,7 @@
|
|
|
983
984
|
"ldk-rn-w70",
|
|
984
985
|
"ldk-rn-w90",
|
|
985
986
|
"ldk-scroll-y",
|
|
987
|
+
"ldk-section-subtitle",
|
|
986
988
|
"ldk-segmented-radio",
|
|
987
989
|
"ldk-segmented-radio__label",
|
|
988
990
|
"ldk-segmented-radio__option",
|
|
@@ -1103,6 +1105,7 @@
|
|
|
1103
1105
|
"left",
|
|
1104
1106
|
"maximized",
|
|
1105
1107
|
"mono",
|
|
1108
|
+
"multiline",
|
|
1106
1109
|
"not-collapsible",
|
|
1107
1110
|
"notif-details-row",
|
|
1108
1111
|
"notif-icon",
|
|
@@ -356,6 +356,8 @@
|
|
|
356
356
|
"required": ["title", "properties"],
|
|
357
357
|
"properties": {
|
|
358
358
|
"title": { "type": "string", "description": "Settings group name" },
|
|
359
|
+
"subtitle": { "type": "string", "description": "One-line subtitle under the group title (optional — omitted = nothing is rendered)" },
|
|
360
|
+
"groupDescriptions": { "type": "object", "description": "Per-section one-line description — key = the group's exact text, value = the line shown under that section heading (optional)", "additionalProperties": { "type": "string" } },
|
|
359
361
|
"properties": {
|
|
360
362
|
"type": "object",
|
|
361
363
|
"description": "Configuration mapping — key → { type, default, enum?, description }",
|
|
@@ -369,6 +371,10 @@
|
|
|
369
371
|
"enumDescriptions": { "type": "object", "description": "enum value → display name mapping" },
|
|
370
372
|
"description": { "type": "string" },
|
|
371
373
|
"uiHint": { "type": "string", "description": "Settings editor rendering hint. SettingsView picks the control from the hint. An unknown hint falls back to the default rendering for its type — no error is thrown. The value is an open string, so third parties may declare new hint names." },
|
|
374
|
+
"renderHint": { "type": "string", "description": "Rendering hint for special rows — \"action\" renders a button (its text comes from description, clicking runs actionCommand); \"readonly\" renders a read-only status line whose value comes from executing statusCommand. Open string — an unknown hint falls back to the default rendering for the type." },
|
|
375
|
+
"actionCommand": { "type": "string", "description": "Command executed when an \"action\" button is clicked — a shell command id or one of your own (resolved when clicked)" },
|
|
376
|
+
"actionDisabledAll": { "type": "array", "description": "Disable the \"action\" button while every entry matches the current configuration value", "items": { "type": "object", "required": ["key", "value"], "properties": { "key": { "type": "string" }, "value": {} }, "additionalProperties": false } },
|
|
377
|
+
"statusCommand": { "type": "string", "description": "Command whose return value (a string) is shown by a \"readonly\" status line — the value comes from the command, not from configuration storage, so a status row can show live runtime state. Shell command id or one of your own." },
|
|
372
378
|
"monoOnly": { "type": "boolean", "description": "Monospace only — meaningful only with uiHint \"fontFamily\". true/omitted = list monospace families only (editor fonts); false = all families (UI fonts)." },
|
|
373
379
|
"minimum": { "type": "number", "description": "Numeric lower bound — applies when type is number (range of the slider/numeric control)" },
|
|
374
380
|
"maximum": { "type": "number", "description": "Numeric upper bound — applies when type is number (range of the slider/numeric control)" },
|