@linkdesk/contracts 0.1.46 → 0.1.47

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.
Files changed (2) hide show
  1. package/linkdesk.d.ts +4 -0
  2. package/package.json +1 -1
package/linkdesk.d.ts CHANGED
@@ -1412,6 +1412,10 @@ export interface MenuItemDescriptor {
1412
1412
  * **the end** is the shared component's context"; ⛔ do not assume `args[0]` is necessarily your data (unless that slot has no shared context).
1413
1413
  */
1414
1414
  commandArgs?: unknown[];
1415
+ /** F14 配套(16 号档 · 2026-11-21):**进程内注入项**的池侧回调——有值则点击就地在池内执行,
1416
+ * 不走壳命令(ContextMenu 分发先查 onSelect 再 executeCommand)。仅 `items` prop 直注形态可用
1417
+ * (wire 菜单 getItems 不能携带函数——跨 IPC 只走 command/commandArgs)。 */
1418
+ onSelect?: () => void;
1415
1419
  children?: Array<string | MenuItemDescriptor>;
1416
1420
  }
1417
1421
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@linkdesk/contracts",
3
- "version": "0.1.46",
3
+ "version": "0.1.47",
4
4
  "description": "LinkDesk 插件契约类型——window.linkdesk.* 全量类型定义(E5.8 契约生成产物)。第三方插件作者唯一合法类型消费路径。",
5
5
  "type": "module",
6
6
  "types": "./linkdesk.d.ts",