@deepseek-ai/dsh-cordis-client-runner 0.2.2-alpha.2 → 0.2.2-alpha.3

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/lib/client.js +324 -98
  2. package/package.json +10 -10
package/lib/client.js CHANGED
@@ -2604,6 +2604,82 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
2604
2604
  //#region lib/types/client/slot-catalog.js
2605
2605
  /** Every slot the shipped web bundle declares, sorted by key. */
2606
2606
  const CLIENT_SLOT_API = [
2607
+ {
2608
+ key: "contextMenu.content",
2609
+ kind: "keyed",
2610
+ scope: "root",
2611
+ summary: "Optional React rows for existing extension positions; data contributions need no renderer.",
2612
+ doc: "Optional React rows for existing extension positions; data contributions need no renderer.",
2613
+ registerOptions: [{
2614
+ name: "key",
2615
+ requirement: "required",
2616
+ type: "string",
2617
+ doc: "Your cell key: the entry renders where the owner dispatches this exact key. Registering an already-occupied key replaces that occupant."
2618
+ }],
2619
+ ownerProps: ["/** Captured target; changing selection never changes an open menu's target. */\nexport type ContextMenuTarget = {\n [K in keyof ContextMenuTargetMap]: { readonly kind: K; readonly value: ContextMenuTargetMap[K] }\n}[keyof ContextMenuTargetMap]"],
2620
+ ownerPropsReferences: ["ContextMenuTargetMap"],
2621
+ standardProps: [
2622
+ "useRemoteAccess: (action: RemoteEndpoint) => boolean",
2623
+ "useResource: UseResource",
2624
+ "useContextMenu: UseContextMenu",
2625
+ "useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>",
2626
+ "usePanelInfo: UsePanelInfo",
2627
+ "useSessions: UseSessions",
2628
+ "useSessionStatus: UseSessionStatus",
2629
+ "useSessionRetainInfo: UseSessionRetainInfo",
2630
+ "useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean",
2631
+ "useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean"
2632
+ ],
2633
+ keyDomain: "open: any string the owner dispatches (no compile-time key set), already taken: session, tab",
2634
+ hookContext: "",
2635
+ slotInject: "",
2636
+ declaredBy: "an entry in 'shell.overlay' (client-ui-context-menu), so it exists while that entry is mounted",
2637
+ occupants: ["client-ui-sidebar-right TabMenuContent key 'tab'", "client-ui-workspace SessionMenu key 'session'"],
2638
+ replaceRisk: "shadows-shipped-ui",
2639
+ example: "return {\n inject: ['slots'],\n apply(ctx) {\n ctx.slots.inject('contextMenu.content', () => ctx.slots.register(\n { name: 'contextMenu.content', key: '<one key the owner dispatches>' },\n () => React.createElement('div', null, 'hello'),\n ))\n },\n}",
2640
+ source: "packages/client/ui-context-menu/src/client/index.ts:34"
2641
+ },
2642
+ {
2643
+ key: "contextMenu.icon",
2644
+ kind: "keyed",
2645
+ scope: "root",
2646
+ summary: "Business-owned glyph or image selected by the action's icon key.",
2647
+ doc: "Business-owned glyph or image selected by the action's icon key.",
2648
+ registerOptions: [{
2649
+ name: "key",
2650
+ requirement: "required",
2651
+ type: "string",
2652
+ doc: "Your cell key: the entry renders where the owner dispatches this exact key. Registering an already-occupied key replaces that occupant."
2653
+ }],
2654
+ ownerProps: ["/** Keyed icon renderer and optional image URL captured with the action. */\nexport interface ContextMenuIcon {\n readonly key: string\n readonly src?: string\n}"],
2655
+ ownerPropsReferences: [],
2656
+ standardProps: [
2657
+ "useRemoteAccess: (action: RemoteEndpoint) => boolean",
2658
+ "useResource: UseResource",
2659
+ "useContextMenu: UseContextMenu",
2660
+ "useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>",
2661
+ "usePanelInfo: UsePanelInfo",
2662
+ "useSessions: UseSessions",
2663
+ "useSessionStatus: UseSessionStatus",
2664
+ "useSessionRetainInfo: UseSessionRetainInfo",
2665
+ "useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean",
2666
+ "useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean"
2667
+ ],
2668
+ keyDomain: "open: any string the owner dispatches (no compile-time key set), already taken: open-in-app.application, sidebar.close",
2669
+ hookContext: "",
2670
+ slotInject: "",
2671
+ declaredBy: "an entry in 'shell.overlay' (client-ui-context-menu), so it exists while that entry is mounted",
2672
+ occupants: [
2673
+ "client-ui-file-actions Icon",
2674
+ "client-ui-open-in-app Icon",
2675
+ "client-ui-open-in-app ContextMenuApplicationIcon key 'open-in-app.application'",
2676
+ "client-ui-sidebar-right IconCloseOutlineRegular key 'sidebar.close'",
2677
+ "client-ui-workspace Icon"
2678
+ ],
2679
+ replaceRisk: "shadows-shipped-ui",
2680
+ example: "return {\n inject: ['slots'],\n apply(ctx) {\n ctx.slots.inject('contextMenu.icon', () => ctx.slots.register(\n { name: 'contextMenu.icon', key: '<one key the owner dispatches>' },\n () => React.createElement('div', null, 'hello'),\n ))\n },\n}",
2681
+ source: "packages/client/ui-context-menu/src/client/index.ts:32"
2682
+ },
2607
2683
  {
2608
2684
  key: "conversation.approval.detail",
2609
2685
  kind: "single",
@@ -2616,6 +2692,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
2616
2692
  standardProps: [
2617
2693
  "useRemoteAccess: (action: RemoteEndpoint) => boolean",
2618
2694
  "useResource: UseResource",
2695
+ "useContextMenu: UseContextMenu",
2619
2696
  "useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>",
2620
2697
  "usePanelInfo: UsePanelInfo",
2621
2698
  "useSessions: UseSessions",
@@ -2673,6 +2750,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
2673
2750
  standardProps: [
2674
2751
  "useRemoteAccess: (action: RemoteEndpoint) => boolean",
2675
2752
  "useResource: UseResource",
2753
+ "useContextMenu: UseContextMenu",
2676
2754
  "useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>",
2677
2755
  "usePanelInfo: UsePanelInfo",
2678
2756
  "useSessions: UseSessions",
@@ -2697,7 +2775,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
2697
2775
  occupants: ["client-ui-message-feedback MessageFeedbackActions id 'feedback'"],
2698
2776
  replaceRisk: "none",
2699
2777
  example: "return {\n inject: ['slots'],\n apply(ctx) {\n ctx.slots.inject('conversation.chat.assistant-actions', () => ctx.slots.register(\n { name: 'conversation.chat.assistant-actions', id: 'my-entry', order: 100, label: 'My entry' },\n () => React.createElement('div', null, 'hello'),\n ))\n },\n}",
2700
- source: "packages/client/ui-chat/src/client/contract/slots.ts:482"
2778
+ source: "packages/client/ui-chat/src/client/contract/slots.ts:493"
2701
2779
  },
2702
2780
  {
2703
2781
  key: "conversation.chat.commandview",
@@ -2720,6 +2798,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
2720
2798
  standardProps: [
2721
2799
  "useRemoteAccess: (action: RemoteEndpoint) => boolean",
2722
2800
  "useResource: UseResource",
2801
+ "useContextMenu: UseContextMenu",
2723
2802
  "useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>",
2724
2803
  "usePanelInfo: UsePanelInfo",
2725
2804
  "useSessions: UseSessions",
@@ -2744,7 +2823,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
2744
2823
  occupants: [],
2745
2824
  replaceRisk: "none",
2746
2825
  example: "return {\n inject: ['slots'],\n apply(ctx) {\n ctx.slots.inject('conversation.chat.commandview', () => ctx.slots.register(\n { name: 'conversation.chat.commandview', key: '<one key the owner dispatches>' },\n () => React.createElement('div', null, 'hello'),\n ))\n },\n}",
2747
- source: "packages/client/ui-chat/src/client/contract/slots.ts:464"
2826
+ source: "packages/client/ui-chat/src/client/contract/slots.ts:475"
2748
2827
  },
2749
2828
  {
2750
2829
  key: "conversation.chat.flow",
@@ -2753,7 +2832,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
2753
2832
  summary: "Ordered Chat rows and local echoes with viewport-bound visibility hooks.",
2754
2833
  doc: "Ordered Chat rows and local echoes with viewport-bound visibility hooks.",
2755
2834
  registerOptions: [],
2756
- ownerProps: ["/** Ordered rows and reconciled local echoes rendered inside one Chat viewport. */\nexport interface ChatFlowOwnerProps extends Pick<ChatNodeOwnerProps,\n 'cwd' | 'openFile' | 'inspectCall' | 'forkAt' | 'loadImage' | 'fileMentions'> {\n readonly entries: readonly RenderEntry[]\n readonly pendingInputs: readonly (PendingSubmission | InboxState['next-step'][number])[]\n readonly lastInputTurn: number | undefined\n readonly deferCollapse: boolean\n}"],
2835
+ ownerProps: ["/** Ordered rows and reconciled local echoes rendered inside one Chat viewport. */\nexport interface ChatFlowOwnerProps extends Pick<ChatNodeOwnerProps,\n 'cwd' | 'openFile' | 'inspectCall' | 'forkAt' | 'loadImage'> {\n readonly entries: readonly RenderEntry[]\n readonly pendingInputs: readonly (PendingSubmission | InboxState['next-step'][number])[]\n readonly lastInputTurn: number | undefined\n readonly deferCollapse: boolean\n}"],
2757
2836
  ownerPropsReferences: [
2758
2837
  "ChatNodeOwnerProps",
2759
2838
  "PendingSubmission",
@@ -2762,6 +2841,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
2762
2841
  standardProps: [
2763
2842
  "useRemoteAccess: (action: RemoteEndpoint) => boolean",
2764
2843
  "useResource: UseResource",
2844
+ "useContextMenu: UseContextMenu",
2765
2845
  "useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>",
2766
2846
  "usePanelInfo: UsePanelInfo",
2767
2847
  "useSessions: UseSessions",
@@ -2786,7 +2866,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
2786
2866
  occupants: ["client-ui-chat ChatFlow"],
2787
2867
  replaceRisk: "shadows-shipped-ui",
2788
2868
  example: "return {\n inject: ['slots'],\n apply(ctx) {\n ctx.slots.inject('conversation.chat.flow', () => ctx.slots.register(\n { name: 'conversation.chat.flow' },\n () => React.createElement('div', null, 'hello'),\n ))\n },\n}",
2789
- source: "packages/client/ui-chat/src/client/contract/slots.ts:420"
2869
+ source: "packages/client/ui-chat/src/client/contract/slots.ts:431"
2790
2870
  },
2791
2871
  {
2792
2872
  key: "conversation.chat.message.images",
@@ -2804,6 +2884,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
2804
2884
  standardProps: [
2805
2885
  "useRemoteAccess: (action: RemoteEndpoint) => boolean",
2806
2886
  "useResource: UseResource",
2887
+ "useContextMenu: UseContextMenu",
2807
2888
  "useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>",
2808
2889
  "usePanelInfo: UsePanelInfo",
2809
2890
  "useSessions: UseSessions",
@@ -2828,7 +2909,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
2828
2909
  occupants: ["client-ui-attachment MessageImages"],
2829
2910
  replaceRisk: "shadows-shipped-ui",
2830
2911
  example: "return {\n inject: ['slots'],\n apply(ctx) {\n ctx.slots.inject('conversation.chat.message.images', () => ctx.slots.register(\n { name: 'conversation.chat.message.images' },\n () => React.createElement('div', null, 'hello'),\n ))\n },\n}",
2831
- source: "packages/client/ui-chat/src/client/contract/slots.ts:456"
2912
+ source: "packages/client/ui-chat/src/client/contract/slots.ts:467"
2832
2913
  },
2833
2914
  {
2834
2915
  key: "conversation.chat.node",
@@ -2842,17 +2923,16 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
2842
2923
  type: "string",
2843
2924
  doc: "Your cell key: the entry renders where the owner dispatches this exact key. Registering an already-occupied key replaces that occupant."
2844
2925
  }],
2845
- ownerProps: ["/** Stable owner currency delivered to a keyed Chat renderer. */\nexport interface ChatNodeOwnerProps {\n /** Renderer-owned Node portion selected by the grouping Definition. */\n groupPart?: string\n cwd?: string | undefined\n openFile: (path: string, options?: OpenFileOptions) => void\n inspectCall: ((callId: ToolCallId) => void) | undefined\n forkAt: (seq: number) => void\n /** Session-authorized image loader supplied by the Chat view. */\n loadImage: MessageImageLoader\n fileMentions: (owner: TurnTailOwnerProps) => MarkdownFileMentions | undefined\n /** Turn-process state when this Node belongs to a projected Turn. */\n turnProcess?: TurnProcessOwnerProps | undefined\n}"],
2926
+ ownerProps: ["/** Stable owner currency delivered to a keyed Chat renderer. */\nexport interface ChatNodeOwnerProps {\n /** Renderer-owned Node portion selected by the grouping Definition. */\n groupPart?: string\n cwd?: string | undefined\n openFile: (path: string, options?: OpenFileOptions) => void\n inspectCall: ((callId: ToolCallId) => void) | undefined\n forkAt: (seq: number) => void\n /** Session-authorized image loader supplied by the Chat view. */\n loadImage: MessageImageLoader\n /** Turn-process state when this Node belongs to a projected Turn. */\n turnProcess?: TurnProcessOwnerProps | undefined\n}"],
2846
2927
  ownerPropsReferences: [
2847
- "MarkdownFileMentions",
2848
2928
  "MessageImageLoader",
2849
2929
  "OpenFileOptions",
2850
- "TurnProcessOwnerProps",
2851
- "TurnTailOwnerProps"
2930
+ "TurnProcessOwnerProps"
2852
2931
  ],
2853
2932
  standardProps: [
2854
2933
  "useRemoteAccess: (action: RemoteEndpoint) => boolean",
2855
2934
  "useResource: UseResource",
2935
+ "useContextMenu: UseContextMenu",
2856
2936
  "useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>",
2857
2937
  "usePanelInfo: UsePanelInfo",
2858
2938
  "useSessions: UseSessions",
@@ -2897,20 +2977,21 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
2897
2977
  ],
2898
2978
  replaceRisk: "shadows-shipped-ui",
2899
2979
  example: "return {\n inject: ['slots'],\n apply(ctx) {\n ctx.slots.inject('conversation.chat.node', () => ctx.slots.register(\n { name: 'conversation.chat.node', key: '<one key the owner dispatches>' },\n () => React.createElement('div', null, 'hello'),\n ))\n },\n}",
2900
- source: "packages/client/ui-chat/src/client/contract/slots.ts:432"
2980
+ source: "packages/client/ui-chat/src/client/contract/slots.ts:443"
2901
2981
  },
2902
2982
  {
2903
2983
  key: "conversation.chat.reasoning.body",
2904
2984
  kind: "single",
2905
2985
  scope: "session",
2906
- summary: "Expanded reasoning body with the unchanged model text.",
2907
- doc: "Expanded reasoning body with the unchanged model text. The official entry\nhas priority 100 and calls the reasoning Content Factory; smaller priority\nvalues replace it. Contributions must preserve access to the original text.",
2986
+ summary: "Expanded reasoning body with raw and display-ready text.",
2987
+ doc: "Expanded reasoning body with raw and display-ready text. The official entry\nhas priority 100 and calls the reasoning Content Factory; smaller priority\nvalues replace it. Contributions must preserve access to untranslated display text.",
2908
2988
  registerOptions: [],
2909
- ownerProps: ["/** Original model-provided reasoning offered to the expanded Body Slot. */\nexport interface ReasoningBodyOwnerProps {\n /** Complete or streaming reasoning text. */\n readonly text: string\n /** Whether the reasoning tail is still streaming. */\n readonly running: boolean\n}"],
2989
+ ownerProps: ["/** Original and display-ready reasoning offered to the expanded Body Slot. */\nexport interface ReasoningBodyOwnerProps {\n /** Complete or streaming model output. */\n readonly rawText: string\n /** Reasoning text prepared for display. */\n readonly text: string\n /** Whether the reasoning tail is still streaming. */\n readonly running: boolean\n}"],
2910
2990
  ownerPropsReferences: [],
2911
2991
  standardProps: [
2912
2992
  "useRemoteAccess: (action: RemoteEndpoint) => boolean",
2913
2993
  "useResource: UseResource",
2994
+ "useContextMenu: UseContextMenu",
2914
2995
  "useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>",
2915
2996
  "usePanelInfo: UsePanelInfo",
2916
2997
  "useSessions: UseSessions",
@@ -2935,7 +3016,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
2935
3016
  occupants: ["client-ui-chat DefaultReasoningBody", "experimental-client-ui-cot-translation TranslationBody"],
2936
3017
  replaceRisk: "shadows-shipped-ui",
2937
3018
  example: "return {\n inject: ['slots'],\n apply(ctx) {\n ctx.slots.inject('conversation.chat.reasoning.body', () => ctx.slots.register(\n { name: 'conversation.chat.reasoning.body' },\n () => React.createElement('div', null, 'hello'),\n ))\n },\n}",
2938
- source: "packages/client/ui-chat/src/client/contract/slots.ts:470"
3019
+ source: "packages/client/ui-chat/src/client/contract/slots.ts:481"
2939
3020
  },
2940
3021
  {
2941
3022
  key: "conversation.chat.text-interaction",
@@ -2954,6 +3035,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
2954
3035
  standardProps: [
2955
3036
  "useRemoteAccess: (action: RemoteEndpoint) => boolean",
2956
3037
  "useResource: UseResource",
3038
+ "useContextMenu: UseContextMenu",
2957
3039
  "useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>",
2958
3040
  "usePanelInfo: UsePanelInfo",
2959
3041
  "useSessions: UseSessions",
@@ -2978,7 +3060,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
2978
3060
  occupants: ["message-quotes QuoteSelectionAction key 'quote'"],
2979
3061
  replaceRisk: "shadows-shipped-ui",
2980
3062
  example: "return {\n inject: ['slots'],\n apply(ctx) {\n ctx.slots.inject('conversation.chat.text-interaction', () => ctx.slots.register(\n { name: 'conversation.chat.text-interaction', key: '<one key the owner dispatches>' },\n () => React.createElement('div', null, 'hello'),\n ))\n },\n}",
2981
- source: "packages/client/ui-chat/src/client/contract/slots.ts:417"
3063
+ source: "packages/client/ui-chat/src/client/contract/slots.ts:428"
2982
3064
  },
2983
3065
  {
2984
3066
  key: "conversation.chat.turnTail",
@@ -3011,6 +3093,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
3011
3093
  standardProps: [
3012
3094
  "useRemoteAccess: (action: RemoteEndpoint) => boolean",
3013
3095
  "useResource: UseResource",
3096
+ "useContextMenu: UseContextMenu",
3014
3097
  "useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>",
3015
3098
  "usePanelInfo: UsePanelInfo",
3016
3099
  "useSessions: UseSessions",
@@ -3040,7 +3123,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
3040
3123
  ],
3041
3124
  replaceRisk: "none",
3042
3125
  example: "return {\n inject: ['slots'],\n apply(ctx) {\n ctx.slots.inject('conversation.chat.turnTail', () => ctx.slots.register(\n { name: 'conversation.chat.turnTail', id: 'my-entry', order: 100, label: 'My entry' },\n () => React.createElement('div', null, 'hello'),\n ))\n },\n}",
3043
- source: "packages/client/ui-chat/src/client/contract/slots.ts:476"
3126
+ source: "packages/client/ui-chat/src/client/contract/slots.ts:487"
3044
3127
  },
3045
3128
  {
3046
3129
  key: "conversation.chat.user.before",
@@ -3059,6 +3142,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
3059
3142
  standardProps: [
3060
3143
  "useRemoteAccess: (action: RemoteEndpoint) => boolean",
3061
3144
  "useResource: UseResource",
3145
+ "useContextMenu: UseContextMenu",
3062
3146
  "useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>",
3063
3147
  "usePanelInfo: UsePanelInfo",
3064
3148
  "useSessions: UseSessions",
@@ -3083,7 +3167,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
3083
3167
  occupants: ["experimental-liveshare SharedSessionOrigin"],
3084
3168
  replaceRisk: "none",
3085
3169
  example: "return {\n inject: ['slots'],\n apply(ctx) {\n ctx.slots.inject('conversation.chat.user.before', () => ctx.slots.register(\n { name: 'conversation.chat.user.before', select: owner => null },\n () => React.createElement('div', null, 'hello'),\n ))\n },\n}",
3086
- source: "packages/client/ui-chat/src/client/contract/slots.ts:446"
3170
+ source: "packages/client/ui-chat/src/client/contract/slots.ts:457"
3087
3171
  },
3088
3172
  {
3089
3173
  key: "conversation.chat.user.images",
@@ -3101,6 +3185,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
3101
3185
  standardProps: [
3102
3186
  "useRemoteAccess: (action: RemoteEndpoint) => boolean",
3103
3187
  "useResource: UseResource",
3188
+ "useContextMenu: UseContextMenu",
3104
3189
  "useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>",
3105
3190
  "usePanelInfo: UsePanelInfo",
3106
3191
  "useSessions: UseSessions",
@@ -3125,14 +3210,14 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
3125
3210
  occupants: ["client-ui-attachment MessageImages"],
3126
3211
  replaceRisk: "shadows-shipped-ui",
3127
3212
  example: "return {\n inject: ['slots'],\n apply(ctx) {\n ctx.slots.inject('conversation.chat.user.images', () => ctx.slots.register(\n { name: 'conversation.chat.user.images' },\n () => React.createElement('div', null, 'hello'),\n ))\n },\n}",
3128
- source: "packages/client/ui-chat/src/client/contract/slots.ts:458"
3213
+ source: "packages/client/ui-chat/src/client/contract/slots.ts:469"
3129
3214
  },
3130
3215
  {
3131
3216
  key: "conversation.composer",
3132
3217
  kind: "chain",
3133
3218
  scope: "session",
3134
- summary: "Selector-routed replacements for the current Session's resident composer.",
3135
- doc: "Selector-routed replacements for the current Session's resident composer.",
3219
+ summary: "Selector-routed replacements for the current Session's resident composer; fixed overlays must portal to the document body because the docked composer contains them.",
3220
+ doc: "Selector-routed replacements for the current Session's resident composer; fixed overlays must\nportal to the document body because the docked composer contains them.",
3136
3221
  registerOptions: [{
3137
3222
  name: "select",
3138
3223
  requirement: "required",
@@ -3148,6 +3233,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
3148
3233
  standardProps: [
3149
3234
  "useRemoteAccess: (action: RemoteEndpoint) => boolean",
3150
3235
  "useResource: UseResource",
3236
+ "useContextMenu: UseContextMenu",
3151
3237
  "useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>",
3152
3238
  "usePanelInfo: UsePanelInfo",
3153
3239
  "useSessions: UseSessions",
@@ -3177,20 +3263,21 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
3177
3263
  ],
3178
3264
  replaceRisk: "none",
3179
3265
  example: "return {\n inject: ['slots'],\n apply(ctx) {\n ctx.slots.inject('conversation.composer', () => ctx.slots.register(\n { name: 'conversation.composer', select: owner => null },\n () => React.createElement('div', null, 'hello'),\n ))\n },\n}",
3180
- source: "packages/client/ui-conversation/src/client/contract/slots.ts:280"
3266
+ source: "packages/client/ui-conversation/src/client/contract/slots.ts:283"
3181
3267
  },
3182
3268
  {
3183
3269
  key: "conversation.composer.bar",
3184
3270
  kind: "single",
3185
3271
  scope: "session-maybe",
3186
- summary: "Resident composer body, including the no-Session inert state.",
3187
- doc: "Resident composer body, including the no-Session inert state.",
3272
+ summary: "Resident composer body, including the no-Session inert state; fixed overlays must portal to the document body because the docked composer contains them.",
3273
+ doc: "Resident composer body, including the no-Session inert state; fixed overlays must portal to\nthe document body because the docked composer contains them.",
3188
3274
  registerOptions: [],
3189
3275
  ownerProps: ["/** Owner share of the resident composer bar. */\nexport interface ComposerBarOwnerProps {\n /** Hero uses centered placement; composer uses the active bottom placement. */\n variant: 'hero' | 'composer'\n /** A feature-owned reason that makes message input inert while leaving model selection live. */\n blocked?: { readonly reason: string }\n /** Lock all message actions while preserving the resident composer surface. */\n disabled?: boolean\n /** Whether the shared Workspace picker is expanded. */\n workspacePickerOpen?: boolean\n /** Open the Workspace picker from the inert composer surface. */\n onRequestWorkspace?: () => void\n placeholder?: string\n /** Optional content rendered above the composer surface. */\n accessory?: ReactNode\n}"],
3190
3276
  ownerPropsReferences: ["Workspace"],
3191
3277
  standardProps: [
3192
3278
  "useRemoteAccess: (action: RemoteEndpoint) => boolean",
3193
3279
  "useResource: UseResource",
3280
+ "useContextMenu: UseContextMenu",
3194
3281
  "useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>",
3195
3282
  "usePanelInfo: UsePanelInfo",
3196
3283
  "useSessions: UseSessions",
@@ -3213,14 +3300,14 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
3213
3300
  occupants: ["client-ui-conversation InputBar"],
3214
3301
  replaceRisk: "shadows-shipped-ui",
3215
3302
  example: "return {\n inject: ['slots'],\n apply(ctx) {\n ctx.slots.inject('conversation.composer.bar', () => ctx.slots.register(\n { name: 'conversation.composer.bar' },\n () => React.createElement('div', null, 'hello'),\n ))\n },\n}",
3216
- source: "packages/client/ui-conversation/src/client/contract/slots.ts:302"
3303
+ source: "packages/client/ui-conversation/src/client/contract/slots.ts:327"
3217
3304
  },
3218
3305
  {
3219
3306
  key: "conversation.composer.dock",
3220
3307
  kind: "list",
3221
3308
  scope: "session",
3222
- summary: "Ambient entries below the composer card.",
3223
- doc: "Ambient entries below the composer card.",
3309
+ summary: "Ambient entries below the composer card; fixed overlays must portal to the document body because the docked composer contains them.",
3310
+ doc: "Ambient entries below the composer card; fixed overlays must portal to the document body\nbecause the docked composer contains them.",
3224
3311
  registerOptions: [
3225
3312
  {
3226
3313
  name: "id",
@@ -3246,6 +3333,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
3246
3333
  standardProps: [
3247
3334
  "useRemoteAccess: (action: RemoteEndpoint) => boolean",
3248
3335
  "useResource: UseResource",
3336
+ "useContextMenu: UseContextMenu",
3249
3337
  "useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>",
3250
3338
  "usePanelInfo: UsePanelInfo",
3251
3339
  "useSessions: UseSessions",
@@ -3270,7 +3358,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
3270
3358
  occupants: ["client-ui-chat ActivityPill id 'activity'", "client-ui-chat UsagePill id 'usage'"],
3271
3359
  replaceRisk: "none",
3272
3360
  example: "return {\n inject: ['slots'],\n apply(ctx) {\n ctx.slots.inject('conversation.composer.dock', () => ctx.slots.register(\n { name: 'conversation.composer.dock', id: 'my-entry', order: 100, label: 'My entry' },\n () => React.createElement('div', null, 'hello'),\n ))\n },\n}",
3273
- source: "packages/client/ui-conversation/src/client/contract/slots.ts:294"
3361
+ source: "packages/client/ui-conversation/src/client/contract/slots.ts:306"
3274
3362
  },
3275
3363
  {
3276
3364
  key: "conversation.header",
@@ -3284,6 +3372,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
3284
3372
  standardProps: [
3285
3373
  "useRemoteAccess: (action: RemoteEndpoint) => boolean",
3286
3374
  "useResource: UseResource",
3375
+ "useContextMenu: UseContextMenu",
3287
3376
  "useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>",
3288
3377
  "usePanelInfo: UsePanelInfo",
3289
3378
  "useSessions: UseSessions",
@@ -3320,6 +3409,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
3320
3409
  standardProps: [
3321
3410
  "useRemoteAccess: (action: RemoteEndpoint) => boolean",
3322
3411
  "useResource: UseResource",
3412
+ "useContextMenu: UseContextMenu",
3323
3413
  "useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>",
3324
3414
  "usePanelInfo: UsePanelInfo",
3325
3415
  "useSessions: UseSessions",
@@ -3349,6 +3439,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
3349
3439
  standardProps: [
3350
3440
  "useRemoteAccess: (action: RemoteEndpoint) => boolean",
3351
3441
  "useResource: UseResource",
3442
+ "useContextMenu: UseContextMenu",
3352
3443
  "useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>",
3353
3444
  "usePanelInfo: UsePanelInfo",
3354
3445
  "useSessions: UseSessions",
@@ -3371,7 +3462,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
3371
3462
  occupants: ["client-ui-agent-preset AgentPresetSeat"],
3372
3463
  replaceRisk: "shadows-shipped-ui",
3373
3464
  example: "return {\n inject: ['slots'],\n apply(ctx) {\n ctx.slots.inject('conversation.hero.agentPreset', () => ctx.slots.register(\n { name: 'conversation.hero.agentPreset' },\n () => React.createElement('div', null, 'hello'),\n ))\n },\n}",
3374
- source: "packages/client/ui-conversation/src/client/contract/slots.ts:286"
3465
+ source: "packages/client/ui-conversation/src/client/contract/slots.ts:289"
3375
3466
  },
3376
3467
  {
3377
3468
  key: "conversation.hero.brand.mark",
@@ -3385,6 +3476,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
3385
3476
  standardProps: [
3386
3477
  "useRemoteAccess: (action: RemoteEndpoint) => boolean",
3387
3478
  "useResource: UseResource",
3479
+ "useContextMenu: UseContextMenu",
3388
3480
  "useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>",
3389
3481
  "usePanelInfo: UsePanelInfo",
3390
3482
  "useSessions: UseSessions",
@@ -3400,7 +3492,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
3400
3492
  occupants: [],
3401
3493
  replaceRisk: "none",
3402
3494
  example: "return {\n inject: ['slots'],\n apply(ctx) {\n ctx.slots.inject('conversation.hero.brand.mark', () => ctx.slots.register(\n { name: 'conversation.hero.brand.mark' },\n () => React.createElement('div', null, 'hello'),\n ))\n },\n}",
3403
- source: "packages/client/ui-conversation/src/client/contract/slots.ts:284"
3495
+ source: "packages/client/ui-conversation/src/client/contract/slots.ts:287"
3404
3496
  },
3405
3497
  {
3406
3498
  key: "conversation.hero.options",
@@ -3433,6 +3525,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
3433
3525
  standardProps: [
3434
3526
  "useRemoteAccess: (action: RemoteEndpoint) => boolean",
3435
3527
  "useResource: UseResource",
3528
+ "useContextMenu: UseContextMenu",
3436
3529
  "useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>",
3437
3530
  "usePanelInfo: UsePanelInfo",
3438
3531
  "useSessions: UseSessions",
@@ -3457,7 +3550,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
3457
3550
  occupants: ["experimental-client-ui-forge WorktreeToggle id 'forge-panel.worktree'"],
3458
3551
  replaceRisk: "none",
3459
3552
  example: "return {\n inject: ['slots'],\n apply(ctx) {\n ctx.slots.inject('conversation.hero.options', () => ctx.slots.register(\n { name: 'conversation.hero.options', id: 'my-entry', order: 100, label: 'My entry' },\n () => React.createElement('div', null, 'hello'),\n ))\n },\n}",
3460
- source: "packages/client/ui-conversation/src/client/contract/slots.ts:288"
3553
+ source: "packages/client/ui-conversation/src/client/contract/slots.ts:291"
3461
3554
  },
3462
3555
  {
3463
3556
  key: "conversation.hero.workspace",
@@ -3471,6 +3564,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
3471
3564
  standardProps: [
3472
3565
  "useRemoteAccess: (action: RemoteEndpoint) => boolean",
3473
3566
  "useResource: UseResource",
3567
+ "useContextMenu: UseContextMenu",
3474
3568
  "useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>",
3475
3569
  "usePanelInfo: UsePanelInfo",
3476
3570
  "useSessions: UseSessions",
@@ -3486,7 +3580,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
3486
3580
  occupants: ["client-ui-workspace WorkspacePicker"],
3487
3581
  replaceRisk: "shadows-shipped-ui",
3488
3582
  example: "return {\n inject: ['slots'],\n apply(ctx) {\n ctx.slots.inject('conversation.hero.workspace', () => ctx.slots.register(\n { name: 'conversation.hero.workspace' },\n () => React.createElement('div', null, 'hello'),\n ))\n },\n}",
3489
- source: "packages/client/ui-conversation/src/client/contract/slots.ts:282"
3583
+ source: "packages/client/ui-conversation/src/client/contract/slots.ts:285"
3490
3584
  },
3491
3585
  {
3492
3586
  key: "conversation.hero.workspace.directoryFlow",
@@ -3500,6 +3594,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
3500
3594
  standardProps: [
3501
3595
  "useRemoteAccess: (action: RemoteEndpoint) => boolean",
3502
3596
  "useResource: UseResource",
3597
+ "useContextMenu: UseContextMenu",
3503
3598
  "useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>",
3504
3599
  "usePanelInfo: UsePanelInfo",
3505
3600
  "useSessions: UseSessions",
@@ -3515,20 +3610,21 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
3515
3610
  occupants: ["client-ui-directory-picker-browse BrowseDirectoryFlow", "client-ui-directory-picker-native NativeDirectoryFlow"],
3516
3611
  replaceRisk: "shadows-shipped-ui",
3517
3612
  example: "return {\n inject: ['slots'],\n apply(ctx) {\n ctx.slots.inject('conversation.hero.workspace.directoryFlow', () => ctx.slots.register(\n { name: 'conversation.hero.workspace.directoryFlow' },\n () => React.createElement('div', null, 'hello'),\n ))\n },\n}",
3518
- source: "packages/client/ui-workspace/src/client/contract/slots.ts:125"
3613
+ source: "packages/client/ui-workspace/src/client/contract/slots.ts:137"
3519
3614
  },
3520
3615
  {
3521
3616
  key: "conversation.input.activity",
3522
3617
  kind: "single",
3523
3618
  scope: "session",
3524
- summary: "Compact action after the model selector; it can expand across the toolbar while retaining the editor and submit action.",
3525
- doc: "Compact action after the model selector; it can expand across the toolbar while retaining the editor and submit action.",
3619
+ summary: "Compact action after the model selector; it can expand across the toolbar while retaining the editor and submit action, and fixed overlays must portal to the document body because the docked composer contains them.",
3620
+ doc: "Compact action after the model selector; it can expand across the toolbar while retaining the\neditor and submit action, and fixed overlays must portal to the document body because the\ndocked composer contains them.",
3526
3621
  registerOptions: [],
3527
3622
  ownerProps: ["/** A toolbar activity hides ordinary accessory controls while expanded; its occupant must release expansion on unmount. */\nexport interface InputActivityOwnerProps extends InputControlOwnerProps {\n /** @param active - whether the occupant needs the toolbar width before the submit action. */\n onActiveChange: (active: boolean) => void\n}"],
3528
3623
  ownerPropsReferences: ["InputControlOwnerProps"],
3529
3624
  standardProps: [
3530
3625
  "useRemoteAccess: (action: RemoteEndpoint) => boolean",
3531
3626
  "useResource: UseResource",
3627
+ "useContextMenu: UseContextMenu",
3532
3628
  "useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>",
3533
3629
  "usePanelInfo: UsePanelInfo",
3534
3630
  "useSessions: UseSessions",
@@ -3553,14 +3649,14 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
3553
3649
  occupants: ["experimental-client-ui-voice-input VoiceInput"],
3554
3650
  replaceRisk: "shadows-shipped-ui",
3555
3651
  example: "return {\n inject: ['slots'],\n apply(ctx) {\n ctx.slots.inject('conversation.input.activity', () => ctx.slots.register(\n { name: 'conversation.input.activity' },\n () => React.createElement('div', null, 'hello'),\n ))\n },\n}",
3556
- source: "packages/client/ui-conversation/src/client/contract/slots.ts:300"
3652
+ source: "packages/client/ui-conversation/src/client/contract/slots.ts:322"
3557
3653
  },
3558
3654
  {
3559
3655
  key: "conversation.input.attachments",
3560
3656
  kind: "single",
3561
3657
  scope: "session-maybe",
3562
- summary: "Optional draft-attachment rail and drop target.",
3563
- doc: "Optional draft-attachment rail and drop target.",
3658
+ summary: "Optional draft-attachment rail and drop target; fixed overlays must portal to the document body because the docked composer contains them.",
3659
+ doc: "Optional draft-attachment rail and drop target; fixed overlays must portal to the document\nbody because the docked composer contains them.",
3564
3660
  registerOptions: [],
3565
3661
  ownerProps: ["/** Input state handed to the optional attachment presentation plugin. */\nexport interface ComposerAttachmentsOwnerProps {\n /** Browser-owned draft attachments in input order. */\n attachments: readonly ComposerAttachment[]\n /** Whether a document-level file drop may add attachments now. */\n canAcceptDrop: boolean\n /**\n * Add one dropped batch through the composer's validation path.\n * @param files - dropped, pasted, or picked browser files in source order.\n * @param directories - members of `files` the drop source identified as directories.\n */\n onAddFiles: (files: readonly File[], directories?: ReadonlySet<File>) => void\n /** Remove one draft attachment through the Conversation service. */\n onRemoveAttachment: (id: DraftAttachmentId) => void\n /** Current per-draft upload states for file-kind attachments. */\n uploads: DraftFileUploads\n /** Restart one failed file upload. */\n onRetryFile: (id: DraftAttachmentId) => void\n /**\n * Explain one upload the Host refused; such a draft cannot be retried and\n * stays until it is removed.\n * @param reason - the refusal `reason` the failed upload carries.\n * @returns localized text naming the limit or the way out.\n /* …truncated — full shape in source */"],
3566
3662
  ownerPropsReferences: [
@@ -3571,6 +3667,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
3571
3667
  standardProps: [
3572
3668
  "useRemoteAccess: (action: RemoteEndpoint) => boolean",
3573
3669
  "useResource: UseResource",
3670
+ "useContextMenu: UseContextMenu",
3574
3671
  "useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>",
3575
3672
  "usePanelInfo: UsePanelInfo",
3576
3673
  "useSessions: UseSessions",
@@ -3593,14 +3690,14 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
3593
3690
  occupants: ["client-ui-attachment ComposerAttachments"],
3594
3691
  replaceRisk: "shadows-shipped-ui",
3595
3692
  example: "return {\n inject: ['slots'],\n apply(ctx) {\n ctx.slots.inject('conversation.input.attachments', () => ctx.slots.register(\n { name: 'conversation.input.attachments' },\n () => React.createElement('div', null, 'hello'),\n ))\n },\n}",
3596
- source: "packages/client/ui-conversation/src/client/contract/slots.ts:304"
3693
+ source: "packages/client/ui-conversation/src/client/contract/slots.ts:332"
3597
3694
  },
3598
3695
  {
3599
3696
  key: "conversation.input.dock",
3600
3697
  kind: "list",
3601
3698
  scope: "session",
3602
- summary: "Full-width entries above the composer card.",
3603
- doc: "Full-width entries above the composer card.",
3699
+ summary: "Full-width entries above the composer card; fixed overlays must portal to the document body because the docked composer contains them.",
3700
+ doc: "Full-width entries above the composer card; fixed overlays must portal to the document body\nbecause the docked composer contains them.",
3604
3701
  registerOptions: [
3605
3702
  {
3606
3703
  name: "id",
@@ -3626,6 +3723,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
3626
3723
  standardProps: [
3627
3724
  "useRemoteAccess: (action: RemoteEndpoint) => boolean",
3628
3725
  "useResource: UseResource",
3726
+ "useContextMenu: UseContextMenu",
3629
3727
  "useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>",
3630
3728
  "usePanelInfo: UsePanelInfo",
3631
3729
  "useSessions: UseSessions",
@@ -3656,14 +3754,14 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
3656
3754
  ],
3657
3755
  replaceRisk: "none",
3658
3756
  example: "return {\n inject: ['slots'],\n apply(ctx) {\n ctx.slots.inject('conversation.input.dock', () => ctx.slots.register(\n { name: 'conversation.input.dock', id: 'my-entry', order: 100, label: 'My entry' },\n () => React.createElement('div', null, 'hello'),\n ))\n },\n}",
3659
- source: "packages/client/ui-conversation/src/client/contract/slots.ts:290"
3757
+ source: "packages/client/ui-conversation/src/client/contract/slots.ts:296"
3660
3758
  },
3661
3759
  {
3662
3760
  key: "conversation.input.left",
3663
3761
  kind: "list",
3664
3762
  scope: "session",
3665
- summary: "Compact controls at the left of the composer tool row.",
3666
- doc: "Compact controls at the left of the composer tool row.",
3763
+ summary: "Compact controls at the left of the composer tool row; fixed overlays must portal to the document body because the docked composer contains them.",
3764
+ doc: "Compact controls at the left of the composer tool row; fixed overlays must portal to the\ndocument body because the docked composer contains them.",
3667
3765
  registerOptions: [
3668
3766
  {
3669
3767
  name: "id",
@@ -3689,6 +3787,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
3689
3787
  standardProps: [
3690
3788
  "useRemoteAccess: (action: RemoteEndpoint) => boolean",
3691
3789
  "useResource: UseResource",
3790
+ "useContextMenu: UseContextMenu",
3692
3791
  "useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>",
3693
3792
  "usePanelInfo: UsePanelInfo",
3694
3793
  "useSessions: UseSessions",
@@ -3713,20 +3812,21 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
3713
3812
  occupants: [],
3714
3813
  replaceRisk: "none",
3715
3814
  example: "return {\n inject: ['slots'],\n apply(ctx) {\n ctx.slots.inject('conversation.input.left', () => ctx.slots.register(\n { name: 'conversation.input.left', id: 'my-entry', order: 100, label: 'My entry' },\n () => React.createElement('div', null, 'hello'),\n ))\n },\n}",
3716
- source: "packages/client/ui-conversation/src/client/contract/slots.ts:296"
3815
+ source: "packages/client/ui-conversation/src/client/contract/slots.ts:311"
3717
3816
  },
3718
3817
  {
3719
3818
  key: "conversation.input.model",
3720
3819
  kind: "single",
3721
3820
  scope: "session",
3722
3821
  summary: "Model selector inside the composer tool row.",
3723
- doc: "Model selector inside the composer tool row. When expanded controls cannot\nshare a line, the row sets --dsh-composer-model-text-display to none and\n--dsh-composer-model-icon-display to block for an occupant's compact display.",
3822
+ doc: "Model selector inside the composer tool row. When expanded controls cannot\nshare a line, the row sets --dsh-composer-model-text-display to none and\n--dsh-composer-model-icon-display to block for an occupant's compact display.\nFixed overlays must portal to the document body because the docked composer contains them.",
3724
3823
  registerOptions: [],
3725
3824
  ownerProps: ["/** Owner share of the named plan, permission, and model controls. */\nexport interface InputControlOwnerProps {\n /** Whether the composer currently refuses interaction. */\n locked: boolean\n}"],
3726
3825
  ownerPropsReferences: [],
3727
3826
  standardProps: [
3728
3827
  "useRemoteAccess: (action: RemoteEndpoint) => boolean",
3729
3828
  "useResource: UseResource",
3829
+ "useContextMenu: UseContextMenu",
3730
3830
  "useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>",
3731
3831
  "usePanelInfo: UsePanelInfo",
3732
3832
  "useSessions: UseSessions",
@@ -3751,7 +3851,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
3751
3851
  occupants: ["client-ui-model-selection ModelSelect", "experimental-liveshare ViewerModelSeat"],
3752
3852
  replaceRisk: "shadows-shipped-ui",
3753
3853
  example: "return {\n inject: ['slots'],\n apply(ctx) {\n ctx.slots.inject('conversation.input.model', () => ctx.slots.register(\n { name: 'conversation.input.model' },\n () => React.createElement('div', null, 'hello'),\n ))\n },\n}",
3754
- source: "packages/client/ui-conversation/src/client/contract/slots.ts:318"
3854
+ source: "packages/client/ui-conversation/src/client/contract/slots.ts:353"
3755
3855
  },
3756
3856
  {
3757
3857
  key: "conversation.input.model.label",
@@ -3765,6 +3865,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
3765
3865
  standardProps: [
3766
3866
  "useRemoteAccess: (action: RemoteEndpoint) => boolean",
3767
3867
  "useResource: UseResource",
3868
+ "useContextMenu: UseContextMenu",
3768
3869
  "useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>",
3769
3870
  "usePanelInfo: UsePanelInfo",
3770
3871
  "useSessions: UseSessions",
@@ -3795,8 +3896,8 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
3795
3896
  key: "conversation.input.overlay",
3796
3897
  kind: "list",
3797
3898
  scope: "session",
3798
- summary: "Floating entries rendered inside the resident composer card.",
3799
- doc: "Floating entries rendered inside the resident composer card.",
3899
+ summary: "Floating entries rendered inside the resident composer card; fixed overlays must portal to the document body because the docked composer contains them.",
3900
+ doc: "Floating entries rendered inside the resident composer card; fixed overlays must portal to\nthe document body because the docked composer contains them.",
3800
3901
  registerOptions: [
3801
3902
  {
3802
3903
  name: "id",
@@ -3822,6 +3923,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
3822
3923
  standardProps: [
3823
3924
  "useRemoteAccess: (action: RemoteEndpoint) => boolean",
3824
3925
  "useResource: UseResource",
3926
+ "useContextMenu: UseContextMenu",
3825
3927
  "useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>",
3826
3928
  "usePanelInfo: UsePanelInfo",
3827
3929
  "useSessions: UseSessions",
@@ -3850,20 +3952,21 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
3850
3952
  ],
3851
3953
  replaceRisk: "none",
3852
3954
  example: "return {\n inject: ['slots'],\n apply(ctx) {\n ctx.slots.inject('conversation.input.overlay', () => ctx.slots.register(\n { name: 'conversation.input.overlay', id: 'my-entry', order: 100, label: 'My entry' },\n () => React.createElement('div', null, 'hello'),\n ))\n },\n}",
3853
- source: "packages/client/ui-conversation/src/client/contract/slots.ts:292"
3955
+ source: "packages/client/ui-conversation/src/client/contract/slots.ts:301"
3854
3956
  },
3855
3957
  {
3856
3958
  key: "conversation.input.permission",
3857
3959
  kind: "single",
3858
3960
  scope: "session",
3859
- summary: "Current-session permission control inside the composer tool row.",
3860
- doc: "Current-session permission control inside the composer tool row.",
3961
+ summary: "Current-session permission control inside the composer tool row; fixed overlays must portal to the document body because the docked composer contains them.",
3962
+ doc: "Current-session permission control inside the composer tool row; fixed overlays must portal\nto the document body because the docked composer contains them.",
3861
3963
  registerOptions: [],
3862
3964
  ownerProps: ["/** Owner share of the named plan, permission, and model controls. */\nexport interface InputControlOwnerProps {\n /** Whether the composer currently refuses interaction. */\n locked: boolean\n}"],
3863
3965
  ownerPropsReferences: [],
3864
3966
  standardProps: [
3865
3967
  "useRemoteAccess: (action: RemoteEndpoint) => boolean",
3866
3968
  "useResource: UseResource",
3969
+ "useContextMenu: UseContextMenu",
3867
3970
  "useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>",
3868
3971
  "usePanelInfo: UsePanelInfo",
3869
3972
  "useSessions: UseSessions",
@@ -3888,20 +3991,21 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
3888
3991
  occupants: ["client-ui-permission-presets PermissionSelect", "experimental-liveshare ViewerPermissionSeat"],
3889
3992
  replaceRisk: "shadows-shipped-ui",
3890
3993
  example: "return {\n inject: ['slots'],\n apply(ctx) {\n ctx.slots.inject('conversation.input.permission', () => ctx.slots.register(\n { name: 'conversation.input.permission' },\n () => React.createElement('div', null, 'hello'),\n ))\n },\n}",
3891
- source: "packages/client/ui-conversation/src/client/contract/slots.ts:312"
3994
+ source: "packages/client/ui-conversation/src/client/contract/slots.ts:346"
3892
3995
  },
3893
3996
  {
3894
3997
  key: "conversation.input.plan",
3895
3998
  kind: "single",
3896
3999
  scope: "session",
3897
- summary: "Plan control inside the composer tool row.",
3898
- doc: "Plan control inside the composer tool row.",
4000
+ summary: "Plan control inside the composer tool row; fixed overlays must portal to the document body because the docked composer contains them.",
4001
+ doc: "Plan control inside the composer tool row; fixed overlays must portal to the document body\nbecause the docked composer contains them.",
3899
4002
  registerOptions: [],
3900
4003
  ownerProps: ["/** Owner share of the named plan, permission, and model controls. */\nexport interface InputControlOwnerProps {\n /** Whether the composer currently refuses interaction. */\n locked: boolean\n}"],
3901
4004
  ownerPropsReferences: [],
3902
4005
  standardProps: [
3903
4006
  "useRemoteAccess: (action: RemoteEndpoint) => boolean",
3904
4007
  "useResource: UseResource",
4008
+ "useContextMenu: UseContextMenu",
3905
4009
  "useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>",
3906
4010
  "usePanelInfo: UsePanelInfo",
3907
4011
  "useSessions: UseSessions",
@@ -3926,14 +4030,14 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
3926
4030
  occupants: ["client-ui-plan PlanChip"],
3927
4031
  replaceRisk: "shadows-shipped-ui",
3928
4032
  example: "return {\n inject: ['slots'],\n apply(ctx) {\n ctx.slots.inject('conversation.input.plan', () => ctx.slots.register(\n { name: 'conversation.input.plan' },\n () => React.createElement('div', null, 'hello'),\n ))\n },\n}",
3929
- source: "packages/client/ui-conversation/src/client/contract/slots.ts:310"
4033
+ source: "packages/client/ui-conversation/src/client/contract/slots.ts:341"
3930
4034
  },
3931
4035
  {
3932
4036
  key: "conversation.input.right",
3933
4037
  kind: "list",
3934
4038
  scope: "session",
3935
- summary: "Compact controls before the composer submit action.",
3936
- doc: "Compact controls before the composer submit action.",
4039
+ summary: "Compact controls before the composer submit action; fixed overlays must portal to the document body because the docked composer contains them.",
4040
+ doc: "Compact controls before the composer submit action; fixed overlays must portal to the\ndocument body because the docked composer contains them.",
3937
4041
  registerOptions: [
3938
4042
  {
3939
4043
  name: "id",
@@ -3959,6 +4063,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
3959
4063
  standardProps: [
3960
4064
  "useRemoteAccess: (action: RemoteEndpoint) => boolean",
3961
4065
  "useResource: UseResource",
4066
+ "useContextMenu: UseContextMenu",
3962
4067
  "useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>",
3963
4068
  "usePanelInfo: UsePanelInfo",
3964
4069
  "useSessions: UseSessions",
@@ -3983,7 +4088,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
3983
4088
  occupants: [],
3984
4089
  replaceRisk: "none",
3985
4090
  example: "return {\n inject: ['slots'],\n apply(ctx) {\n ctx.slots.inject('conversation.input.right', () => ctx.slots.register(\n { name: 'conversation.input.right', id: 'my-entry', order: 100, label: 'My entry' },\n () => React.createElement('div', null, 'hello'),\n ))\n },\n}",
3986
- source: "packages/client/ui-conversation/src/client/contract/slots.ts:298"
4091
+ source: "packages/client/ui-conversation/src/client/contract/slots.ts:316"
3987
4092
  },
3988
4093
  {
3989
4094
  key: "conversation.plan-review.actions",
@@ -4016,6 +4121,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
4016
4121
  standardProps: [
4017
4122
  "useRemoteAccess: (action: RemoteEndpoint) => boolean",
4018
4123
  "useResource: UseResource",
4124
+ "useContextMenu: UseContextMenu",
4019
4125
  "useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>",
4020
4126
  "usePanelInfo: UsePanelInfo",
4021
4127
  "useSessions: UseSessions",
@@ -4054,6 +4160,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
4054
4160
  standardProps: [
4055
4161
  "useRemoteAccess: (action: RemoteEndpoint) => boolean",
4056
4162
  "useResource: UseResource",
4163
+ "useContextMenu: UseContextMenu",
4057
4164
  "useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>",
4058
4165
  "usePanelInfo: UsePanelInfo",
4059
4166
  "useSessions: UseSessions",
@@ -4092,6 +4199,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
4092
4199
  standardProps: [
4093
4200
  "useRemoteAccess: (action: RemoteEndpoint) => boolean",
4094
4201
  "useResource: UseResource",
4202
+ "useContextMenu: UseContextMenu",
4095
4203
  "useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>",
4096
4204
  "usePanelInfo: UsePanelInfo",
4097
4205
  "useSessions: UseSessions",
@@ -4149,6 +4257,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
4149
4257
  standardProps: [
4150
4258
  "useRemoteAccess: (action: RemoteEndpoint) => boolean",
4151
4259
  "useResource: UseResource",
4260
+ "useContextMenu: UseContextMenu",
4152
4261
  "useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>",
4153
4262
  "usePanelInfo: UsePanelInfo",
4154
4263
  "useSessions: UseSessions",
@@ -4192,6 +4301,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
4192
4301
  standardProps: [
4193
4302
  "useRemoteAccess: (action: RemoteEndpoint) => boolean",
4194
4303
  "useResource: UseResource",
4304
+ "useContextMenu: UseContextMenu",
4195
4305
  "useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>",
4196
4306
  "usePanelInfo: UsePanelInfo",
4197
4307
  "useSessions: UseSessions",
@@ -4230,6 +4340,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
4230
4340
  standardProps: [
4231
4341
  "useRemoteAccess: (action: RemoteEndpoint) => boolean",
4232
4342
  "useResource: UseResource",
4343
+ "useContextMenu: UseContextMenu",
4233
4344
  "useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>",
4234
4345
  "usePanelInfo: UsePanelInfo",
4235
4346
  "useSessions: UseSessions",
@@ -4287,6 +4398,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
4287
4398
  standardProps: [
4288
4399
  "useRemoteAccess: (action: RemoteEndpoint) => boolean",
4289
4400
  "useResource: UseResource",
4401
+ "useContextMenu: UseContextMenu",
4290
4402
  "useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>",
4291
4403
  "usePanelInfo: UsePanelInfo",
4292
4404
  "useSessions: UseSessions",
@@ -4350,6 +4462,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
4350
4462
  standardProps: [
4351
4463
  "useRemoteAccess: (action: RemoteEndpoint) => boolean",
4352
4464
  "useResource: UseResource",
4465
+ "useContextMenu: UseContextMenu",
4353
4466
  "useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>",
4354
4467
  "usePanelInfo: UsePanelInfo",
4355
4468
  "useSessions: UseSessions",
@@ -4383,6 +4496,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
4383
4496
  standardProps: [
4384
4497
  "useRemoteAccess: (action: RemoteEndpoint) => boolean",
4385
4498
  "useResource: UseResource",
4499
+ "useContextMenu: UseContextMenu",
4386
4500
  "useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>",
4387
4501
  "usePanelInfo: UsePanelInfo",
4388
4502
  "useSessions: UseSessions",
@@ -4426,6 +4540,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
4426
4540
  standardProps: [
4427
4541
  "useRemoteAccess: (action: RemoteEndpoint) => boolean",
4428
4542
  "useResource: UseResource",
4543
+ "useContextMenu: UseContextMenu",
4429
4544
  "useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>",
4430
4545
  "usePanelInfo: UsePanelInfo",
4431
4546
  "useSessions: UseSessions",
@@ -4492,6 +4607,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
4492
4607
  standardProps: [
4493
4608
  "useRemoteAccess: (action: RemoteEndpoint) => boolean",
4494
4609
  "useResource: UseResource",
4610
+ "useContextMenu: UseContextMenu",
4495
4611
  "useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>",
4496
4612
  "usePanelInfo: UsePanelInfo",
4497
4613
  "useSessions: UseSessions",
@@ -4553,6 +4669,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
4553
4669
  standardProps: [
4554
4670
  "useRemoteAccess: (action: RemoteEndpoint) => boolean",
4555
4671
  "useResource: UseResource",
4672
+ "useContextMenu: UseContextMenu",
4556
4673
  "useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>",
4557
4674
  "usePanelInfo: UsePanelInfo",
4558
4675
  "useSessions: UseSessions",
@@ -4610,6 +4727,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
4610
4727
  standardProps: [
4611
4728
  "useRemoteAccess: (action: RemoteEndpoint) => boolean",
4612
4729
  "useResource: UseResource",
4730
+ "useContextMenu: UseContextMenu",
4613
4731
  "useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>",
4614
4732
  "usePanelInfo: UsePanelInfo",
4615
4733
  "useSessions: UseSessions",
@@ -4653,6 +4771,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
4653
4771
  standardProps: [
4654
4772
  "useRemoteAccess: (action: RemoteEndpoint) => boolean",
4655
4773
  "useResource: UseResource",
4774
+ "useContextMenu: UseContextMenu",
4656
4775
  "useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>",
4657
4776
  "usePanelInfo: UsePanelInfo",
4658
4777
  "useSessions: UseSessions",
@@ -4672,7 +4791,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
4672
4791
  ],
4673
4792
  replaceRisk: "shadows-shipped-ui",
4674
4793
  example: "return {\n inject: ['slots'],\n apply(ctx) {\n ctx.slots.inject('main', () => ctx.slots.register(\n { name: 'main', key: '<one key the owner dispatches>' },\n () => React.createElement('div', null, 'hello'),\n ))\n },\n}",
4675
- source: "packages/client/ui-layout/src/client/index.ts:73"
4794
+ source: "packages/client/ui-layout/src/client/index.ts:75"
4676
4795
  },
4677
4796
  {
4678
4797
  key: "main.conversation",
@@ -4686,6 +4805,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
4686
4805
  standardProps: [
4687
4806
  "useRemoteAccess: (action: RemoteEndpoint) => boolean",
4688
4807
  "useResource: UseResource",
4808
+ "useContextMenu: UseContextMenu",
4689
4809
  "useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>",
4690
4810
  "usePanelInfo: UsePanelInfo",
4691
4811
  "useSessions: UseSessions",
@@ -4741,6 +4861,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
4741
4861
  standardProps: [
4742
4862
  "useRemoteAccess: (action: RemoteEndpoint) => boolean",
4743
4863
  "useResource: UseResource",
4864
+ "useContextMenu: UseContextMenu",
4744
4865
  "useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>",
4745
4866
  "usePanelInfo: UsePanelInfo",
4746
4867
  "useSessions: UseSessions",
@@ -4775,6 +4896,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
4775
4896
  standardProps: [
4776
4897
  "useRemoteAccess: (action: RemoteEndpoint) => boolean",
4777
4898
  "useResource: UseResource",
4899
+ "useContextMenu: UseContextMenu",
4778
4900
  "useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>",
4779
4901
  "usePanelInfo: UsePanelInfo",
4780
4902
  "useSessions: UseSessions",
@@ -4809,6 +4931,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
4809
4931
  standardProps: [
4810
4932
  "useRemoteAccess: (action: RemoteEndpoint) => boolean",
4811
4933
  "useResource: UseResource",
4934
+ "useContextMenu: UseContextMenu",
4812
4935
  "useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>",
4813
4936
  "usePanelInfo: UsePanelInfo",
4814
4937
  "useSessions: UseSessions",
@@ -4861,6 +4984,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
4861
4984
  standardProps: [
4862
4985
  "useRemoteAccess: (action: RemoteEndpoint) => boolean",
4863
4986
  "useResource: UseResource",
4987
+ "useContextMenu: UseContextMenu",
4864
4988
  "useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>",
4865
4989
  "usePanelInfo: UsePanelInfo",
4866
4990
  "useSessions: UseSessions",
@@ -4909,6 +5033,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
4909
5033
  standardProps: [
4910
5034
  "useRemoteAccess: (action: RemoteEndpoint) => boolean",
4911
5035
  "useResource: UseResource",
5036
+ "useContextMenu: UseContextMenu",
4912
5037
  "useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>",
4913
5038
  "usePanelInfo: UsePanelInfo",
4914
5039
  "useSessions: UseSessions",
@@ -4957,6 +5082,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
4957
5082
  standardProps: [
4958
5083
  "useRemoteAccess: (action: RemoteEndpoint) => boolean",
4959
5084
  "useResource: UseResource",
5085
+ "useContextMenu: UseContextMenu",
4960
5086
  "useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>",
4961
5087
  "usePanelInfo: UsePanelInfo",
4962
5088
  "useSessions: UseSessions",
@@ -5005,6 +5131,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
5005
5131
  standardProps: [
5006
5132
  "useRemoteAccess: (action: RemoteEndpoint) => boolean",
5007
5133
  "useResource: UseResource",
5134
+ "useContextMenu: UseContextMenu",
5008
5135
  "useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>",
5009
5136
  "usePanelInfo: UsePanelInfo",
5010
5137
  "useSessions: UseSessions",
@@ -5044,6 +5171,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
5044
5171
  standardProps: [
5045
5172
  "useRemoteAccess: (action: RemoteEndpoint) => boolean",
5046
5173
  "useResource: UseResource",
5174
+ "useContextMenu: UseContextMenu",
5047
5175
  "useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>",
5048
5176
  "usePanelInfo: UsePanelInfo",
5049
5177
  "useSessions: UseSessions",
@@ -5092,6 +5220,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
5092
5220
  standardProps: [
5093
5221
  "useRemoteAccess: (action: RemoteEndpoint) => boolean",
5094
5222
  "useResource: UseResource",
5223
+ "useContextMenu: UseContextMenu",
5095
5224
  "useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>",
5096
5225
  "usePanelInfo: UsePanelInfo",
5097
5226
  "useSessions: UseSessions",
@@ -5121,6 +5250,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
5121
5250
  standardProps: [
5122
5251
  "useRemoteAccess: (action: RemoteEndpoint) => boolean",
5123
5252
  "useResource: UseResource",
5253
+ "useContextMenu: UseContextMenu",
5124
5254
  "useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>",
5125
5255
  "usePanelInfo: UsePanelInfo",
5126
5256
  "useSessions: UseSessions",
@@ -5136,7 +5266,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
5136
5266
  occupants: ["client-ui-sidebar-right RightbarRoot"],
5137
5267
  replaceRisk: "shadows-shipped-ui",
5138
5268
  example: "return {\n inject: ['slots'],\n apply(ctx) {\n ctx.slots.inject('rightbar', () => ctx.slots.register(\n { name: 'rightbar' },\n () => React.createElement('div', null, 'hello'),\n ))\n },\n}",
5139
- source: "packages/client/ui-layout/src/client/index.ts:87"
5269
+ source: "packages/client/ui-layout/src/client/index.ts:89"
5140
5270
  },
5141
5271
  {
5142
5272
  key: "rightbar.session",
@@ -5150,6 +5280,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
5150
5280
  standardProps: [
5151
5281
  "useRemoteAccess: (action: RemoteEndpoint) => boolean",
5152
5282
  "useResource: UseResource",
5283
+ "useContextMenu: UseContextMenu",
5153
5284
  "useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>",
5154
5285
  "usePanelInfo: UsePanelInfo",
5155
5286
  "useSessions: UseSessions",
@@ -5188,6 +5319,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
5188
5319
  standardProps: [
5189
5320
  "useRemoteAccess: (action: RemoteEndpoint) => boolean",
5190
5321
  "useResource: UseResource",
5322
+ "useContextMenu: UseContextMenu",
5191
5323
  "useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>",
5192
5324
  "usePanelInfo: UsePanelInfo",
5193
5325
  "useSessions: UseSessions",
@@ -5236,6 +5368,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
5236
5368
  standardProps: [
5237
5369
  "useRemoteAccess: (action: RemoteEndpoint) => boolean",
5238
5370
  "useResource: UseResource",
5371
+ "useContextMenu: UseContextMenu",
5239
5372
  "useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>",
5240
5373
  "usePanelInfo: UsePanelInfo",
5241
5374
  "useSessions: UseSessions",
@@ -5265,6 +5398,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
5265
5398
  standardProps: [
5266
5399
  "useRemoteAccess: (action: RemoteEndpoint) => boolean",
5267
5400
  "useResource: UseResource",
5401
+ "useContextMenu: UseContextMenu",
5268
5402
  "useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>",
5269
5403
  "usePanelInfo: UsePanelInfo",
5270
5404
  "useSessions: UseSessions",
@@ -5313,6 +5447,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
5313
5447
  standardProps: [
5314
5448
  "useRemoteAccess: (action: RemoteEndpoint) => boolean",
5315
5449
  "useResource: UseResource",
5450
+ "useContextMenu: UseContextMenu",
5316
5451
  "useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>",
5317
5452
  "usePanelInfo: UsePanelInfo",
5318
5453
  "useSessions: UseSessions",
@@ -5341,7 +5476,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
5341
5476
  ],
5342
5477
  replaceRisk: "none",
5343
5478
  example: "return {\n inject: ['slots'],\n apply(ctx) {\n ctx.slots.inject('settings.general.item', () => ctx.slots.register(\n { name: 'settings.general.item', id: 'my-entry', order: 100, label: 'My entry' },\n () => React.createElement('div', null, 'hello'),\n ))\n },\n}",
5344
- source: "packages/client/ui-settings/src/client/contract/slots.ts:92"
5479
+ source: "packages/client/ui-settings/src/client/contract/slots.ts:100"
5345
5480
  },
5346
5481
  {
5347
5482
  key: "settings.header",
@@ -5355,6 +5490,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
5355
5490
  standardProps: [
5356
5491
  "useRemoteAccess: (action: RemoteEndpoint) => boolean",
5357
5492
  "useResource: UseResource",
5493
+ "useContextMenu: UseContextMenu",
5358
5494
  "useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>",
5359
5495
  "usePanelInfo: UsePanelInfo",
5360
5496
  "useSessions: UseSessions",
@@ -5384,6 +5520,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
5384
5520
  standardProps: [
5385
5521
  "useRemoteAccess: (action: RemoteEndpoint) => boolean",
5386
5522
  "useResource: UseResource",
5523
+ "useContextMenu: UseContextMenu",
5387
5524
  "useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>",
5388
5525
  "usePanelInfo: UsePanelInfo",
5389
5526
  "useSessions: UseSessions",
@@ -5432,6 +5569,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
5432
5569
  standardProps: [
5433
5570
  "useRemoteAccess: (action: RemoteEndpoint) => boolean",
5434
5571
  "useResource: UseResource",
5572
+ "useContextMenu: UseContextMenu",
5435
5573
  "useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>",
5436
5574
  "usePanelInfo: UsePanelInfo",
5437
5575
  "useSessions: UseSessions",
@@ -5466,6 +5604,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
5466
5604
  standardProps: [
5467
5605
  "useRemoteAccess: (action: RemoteEndpoint) => boolean",
5468
5606
  "useResource: UseResource",
5607
+ "useContextMenu: UseContextMenu",
5469
5608
  "useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>",
5470
5609
  "usePanelInfo: UsePanelInfo",
5471
5610
  "useSessions: UseSessions",
@@ -5495,6 +5634,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
5495
5634
  standardProps: [
5496
5635
  "useRemoteAccess: (action: RemoteEndpoint) => boolean",
5497
5636
  "useResource: UseResource",
5637
+ "useContextMenu: UseContextMenu",
5498
5638
  "useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>",
5499
5639
  "usePanelInfo: UsePanelInfo",
5500
5640
  "useSessions: UseSessions",
@@ -5543,6 +5683,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
5543
5683
  standardProps: [
5544
5684
  "useRemoteAccess: (action: RemoteEndpoint) => boolean",
5545
5685
  "useResource: UseResource",
5686
+ "useContextMenu: UseContextMenu",
5546
5687
  "useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>",
5547
5688
  "usePanelInfo: UsePanelInfo",
5548
5689
  "useSessions: UseSessions",
@@ -5558,7 +5699,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
5558
5699
  occupants: ["client-ui-settings-models WelcomeNotice id 'welcome-notice'", "client-ui-settings-models DeepSeekOnboardingDialog id 'deepseek-official'"],
5559
5700
  replaceRisk: "none",
5560
5701
  example: "return {\n inject: ['slots'],\n apply(ctx) {\n ctx.slots.inject('settings.onboarding', () => ctx.slots.register(\n { name: 'settings.onboarding', id: 'my-entry', order: 100, label: 'My entry' },\n () => React.createElement('div', null, 'hello'),\n ))\n },\n}",
5561
- source: "packages/client/ui-settings/src/client/contract/slots.ts:77"
5702
+ source: "packages/client/ui-settings/src/client/contract/slots.ts:85"
5562
5703
  },
5563
5704
  {
5564
5705
  key: "settings.plugins.tab",
@@ -5591,6 +5732,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
5591
5732
  standardProps: [
5592
5733
  "useRemoteAccess: (action: RemoteEndpoint) => boolean",
5593
5734
  "useResource: UseResource",
5735
+ "useContextMenu: UseContextMenu",
5594
5736
  "useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>",
5595
5737
  "usePanelInfo: UsePanelInfo",
5596
5738
  "useSessions: UseSessions",
@@ -5606,7 +5748,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
5606
5748
  occupants: ["client-ui-settings-plugin-inventory PluginInventorySettingsTab id 'all'"],
5607
5749
  replaceRisk: "none",
5608
5750
  example: "return {\n inject: ['slots'],\n apply(ctx) {\n ctx.slots.inject('settings.plugins.tab', () => ctx.slots.register(\n { name: 'settings.plugins.tab', id: 'my-entry', order: 100, label: 'My entry' },\n () => React.createElement('div', null, 'hello'),\n ))\n },\n}",
5609
- source: "packages/client/ui-settings/src/client/contract/slots.ts:66"
5751
+ source: "packages/client/ui-settings/src/client/contract/slots.ts:74"
5610
5752
  },
5611
5753
  {
5612
5754
  key: "settings.section",
@@ -5639,6 +5781,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
5639
5781
  standardProps: [
5640
5782
  "useRemoteAccess: (action: RemoteEndpoint) => boolean",
5641
5783
  "useResource: UseResource",
5784
+ "useContextMenu: UseContextMenu",
5642
5785
  "useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>",
5643
5786
  "usePanelInfo: UsePanelInfo",
5644
5787
  "useSessions: UseSessions",
@@ -5662,6 +5805,55 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
5662
5805
  example: "return {\n inject: ['slots'],\n apply(ctx) {\n ctx.slots.inject('settings.section', () => ctx.slots.register(\n { name: 'settings.section', id: 'my-entry', order: 100, label: 'My entry' },\n () => React.createElement('div', null, 'hello'),\n ))\n },\n}",
5663
5806
  source: "packages/client/ui-settings/src/client/contract/slots.ts:57"
5664
5807
  },
5808
+ {
5809
+ key: "settings.section.icon",
5810
+ kind: "list",
5811
+ scope: "root",
5812
+ summary: "Optional navigation icons addressed by the matching settings.section id.",
5813
+ doc: "Optional navigation icons addressed by the matching settings.section id.\nThe registration id must equal the target section's id; unmatched ids\nnever render. The icon's label option is not displayed.\nThe shell owns the button and label and keeps its default glyph when\nno icon is registered for that id.",
5814
+ registerOptions: [
5815
+ {
5816
+ name: "id",
5817
+ requirement: "required",
5818
+ type: "string",
5819
+ doc: "Your cell key. Use an id of your own: a fresh id is added beside the shipped entries, while reusing a shipped id puts you in THAT cell and replaces it. Owners that filter by id address you by it."
5820
+ },
5821
+ {
5822
+ name: "order",
5823
+ requirement: "optional",
5824
+ type: "number",
5825
+ doc: "Position among the entries, ascending (default 0)."
5826
+ },
5827
+ {
5828
+ name: "label",
5829
+ requirement: "optional",
5830
+ type: "string | (() => string)",
5831
+ doc: "Display text where the owner projects one (nav rows, tabs). A thunk is re-read on every projection, so localized text follows the active locale without re-registering."
5832
+ }
5833
+ ],
5834
+ ownerProps: ["/** Icon presentation supplied by the settings navigation row. */\nexport interface SettingsSectionIconOwnerProps {\n /** Requested square edge in pixels. */\n size: number\n /** Whether this section is selected. */\n active: boolean\n}"],
5835
+ ownerPropsReferences: [],
5836
+ standardProps: [
5837
+ "useRemoteAccess: (action: RemoteEndpoint) => boolean",
5838
+ "useResource: UseResource",
5839
+ "useContextMenu: UseContextMenu",
5840
+ "useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>",
5841
+ "usePanelInfo: UsePanelInfo",
5842
+ "useSessions: UseSessions",
5843
+ "useSessionStatus: UseSessionStatus",
5844
+ "useSessionRetainInfo: UseSessionRetainInfo",
5845
+ "useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean",
5846
+ "useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean"
5847
+ ],
5848
+ keyDomain: "",
5849
+ hookContext: "",
5850
+ slotInject: "",
5851
+ declaredBy: "an entry in 'sidebar.settings' (client-ui-settings-general), so it exists while that entry is mounted",
5852
+ occupants: [],
5853
+ replaceRisk: "none",
5854
+ example: "return {\n inject: ['slots'],\n apply(ctx) {\n ctx.slots.inject('settings.section.icon', () => ctx.slots.register(\n { name: 'settings.section.icon', id: 'my-entry', order: 100, label: 'My entry' },\n () => React.createElement('div', null, 'hello'),\n ))\n },\n}",
5855
+ source: "packages/client/ui-settings/src/client/contract/slots.ts:65"
5856
+ },
5665
5857
  {
5666
5858
  key: "settings.trigger",
5667
5859
  kind: "single",
@@ -5674,6 +5866,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
5674
5866
  standardProps: [
5675
5867
  "useRemoteAccess: (action: RemoteEndpoint) => boolean",
5676
5868
  "useResource: UseResource",
5869
+ "useContextMenu: UseContextMenu",
5677
5870
  "useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>",
5678
5871
  "usePanelInfo: UsePanelInfo",
5679
5872
  "useSessions: UseSessions",
@@ -5703,6 +5896,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
5703
5896
  standardProps: [
5704
5897
  "useRemoteAccess: (action: RemoteEndpoint) => boolean",
5705
5898
  "useResource: UseResource",
5899
+ "useContextMenu: UseContextMenu",
5706
5900
  "useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>",
5707
5901
  "usePanelInfo: UsePanelInfo",
5708
5902
  "useSessions: UseSessions",
@@ -5718,20 +5912,21 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
5718
5912
  occupants: ["experimental-inspector InspectorPage"],
5719
5913
  replaceRisk: "shadows-shipped-ui",
5720
5914
  example: "return {\n inject: ['slots'],\n apply(ctx) {\n ctx.slots.inject('shell.bottom', () => ctx.slots.register(\n { name: 'shell.bottom' },\n () => React.createElement('div', null, 'hello'),\n ))\n },\n}",
5721
- source: "packages/client/ui-layout/src/client/index.ts:94"
5915
+ source: "packages/client/ui-layout/src/client/index.ts:96"
5722
5916
  },
5723
5917
  {
5724
5918
  key: "shell.leading",
5725
5919
  kind: "single",
5726
5920
  scope: "root",
5727
5921
  summary: "Window-chrome seat at the frame's top-left, over every main panel.",
5728
- doc: "Window-chrome seat at the frame's top-left, over every main panel.\nMounted only while the sidebar column is fully hidden (macOS desktop\ncollapse; other platforms keep the rail), so the occupant can assume the\nframe edge is the window edge and the macOS traffic lights sit before it.\nOCCUPIED by ui-sidebar's reopen/New Session controls.\n\nWhile the seat is mounted the frame publishes\n`--dsh-frame-leading-clearance` (the inline inset the seat's band\noccupies, measured from the frame's left edge); a main panel whose\ncontent reaches the top-left corner pads by it so nothing lands under\nthe lights or the controls.",
5922
+ doc: "Window-chrome seat at the frame's top-left, over every main panel.\nMounted for narrow drawers and collapsed macOS desktop sidebars. macOS\ntraffic lights sit before it outside native fullscreen; browser controls\nstart at the frame edge.\nOCCUPIED by ui-sidebar's reopen/New Session controls.\n\nWhile the seat is mounted the frame publishes\n`--dsh-frame-leading-clearance` (the inline inset the seat's band\noccupies, measured from the frame's left edge); a main panel whose\ncontent reaches the top-left corner pads by it so nothing lands under\nthe lights or the controls.",
5729
5923
  registerOptions: [],
5730
5924
  ownerProps: [],
5731
5925
  ownerPropsReferences: [],
5732
5926
  standardProps: [
5733
5927
  "useRemoteAccess: (action: RemoteEndpoint) => boolean",
5734
5928
  "useResource: UseResource",
5929
+ "useContextMenu: UseContextMenu",
5735
5930
  "useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>",
5736
5931
  "usePanelInfo: UsePanelInfo",
5737
5932
  "useSessions: UseSessions",
@@ -5747,7 +5942,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
5747
5942
  occupants: ["client-ui-sidebar HeaderLeadingControls"],
5748
5943
  replaceRisk: "shadows-shipped-ui",
5749
5944
  example: "return {\n inject: ['slots'],\n apply(ctx) {\n ctx.slots.inject('shell.leading', () => ctx.slots.register(\n { name: 'shell.leading' },\n () => React.createElement('div', null, 'hello'),\n ))\n },\n}",
5750
- source: "packages/client/ui-layout/src/client/index.ts:119"
5945
+ source: "packages/client/ui-layout/src/client/index.ts:121"
5751
5946
  },
5752
5947
  {
5753
5948
  key: "shell.overlay",
@@ -5780,6 +5975,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
5780
5975
  standardProps: [
5781
5976
  "useRemoteAccess: (action: RemoteEndpoint) => boolean",
5782
5977
  "useResource: UseResource",
5978
+ "useContextMenu: UseContextMenu",
5783
5979
  "useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>",
5784
5980
  "usePanelInfo: UsePanelInfo",
5785
5981
  "useSessions: UseSessions",
@@ -5794,6 +5990,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
5794
5990
  declaredBy: "an entry in 'root' (client-ui-layout), so it exists while that entry is mounted",
5795
5991
  occupants: [
5796
5992
  "client-ui-chat QuotaNoticeHost id 'chat.quota-notice'",
5993
+ "client-ui-context-menu MenuOverlay id 'context-menu'",
5797
5994
  "client-ui-file-drag FileDragFeedback id 'file-drag.feedback'",
5798
5995
  "client-ui-open-in-app OpenInAppToast id 'open-in-app.toast'",
5799
5996
  "client-ui-plugin-manager PluginRefreshToast id 'plugin-manager.refresh-toast'",
@@ -5812,7 +6009,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
5812
6009
  ],
5813
6010
  replaceRisk: "none",
5814
6011
  example: "return {\n inject: ['slots'],\n apply(ctx) {\n ctx.slots.inject('shell.overlay', () => ctx.slots.register(\n { name: 'shell.overlay', id: 'my-entry', order: 100, label: 'My entry' },\n () => React.createElement('div', null, 'hello'),\n ))\n },\n}",
5815
- source: "packages/client/ui-layout/src/client/index.ts:105"
6012
+ source: "packages/client/ui-layout/src/client/index.ts:107"
5816
6013
  },
5817
6014
  {
5818
6015
  key: "shell.quota-notice",
@@ -5831,6 +6028,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
5831
6028
  standardProps: [
5832
6029
  "useRemoteAccess: (action: RemoteEndpoint) => boolean",
5833
6030
  "useResource: UseResource",
6031
+ "useContextMenu: UseContextMenu",
5834
6032
  "useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>",
5835
6033
  "usePanelInfo: UsePanelInfo",
5836
6034
  "useSessions: UseSessions",
@@ -5846,20 +6044,21 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
5846
6044
  occupants: ["client-ui-settings-account AccountQuotaNotice"],
5847
6045
  replaceRisk: "none",
5848
6046
  example: "return {\n inject: ['slots'],\n apply(ctx) {\n ctx.slots.inject('shell.quota-notice', () => ctx.slots.register(\n { name: 'shell.quota-notice', select: owner => null },\n () => React.createElement('div', null, 'hello'),\n ))\n },\n}",
5849
- source: "packages/client/ui-chat/src/client/contract/slots.ts:490"
6047
+ source: "packages/client/ui-chat/src/client/contract/slots.ts:501"
5850
6048
  },
5851
6049
  {
5852
6050
  key: "sidebar",
5853
6051
  kind: "single",
5854
6052
  scope: "root",
5855
6053
  summary: "The whole left column.",
5856
- doc: "The whole left column. OCCUPIED by ui-sidebar's SidebarRoot, which\ndeclares the workspace and settings seats inside it — registering here\nreplaces the navigation column outright rather than adding to it, and\nthe seats it declares disappear with it. To add something to the\nsidebar, register into one of those inner seats instead.\n\nThe occupant receives the frame's live column state (collapsed, width)\nand is expected to render the compact control rail while collapsed.",
6054
+ doc: "The whole left column. OCCUPIED by ui-sidebar's SidebarRoot, which\ndeclares the workspace and settings seats inside it — registering here\nreplaces the navigation column outright rather than adding to it, and\nthe seats it declares disappear with it. To add something to the\nsidebar, register into one of those inner seats instead.\n\nThe occupant receives the frame's collapsed state, width and drawer mode.\nDrawer content stays mounted while hidden; other browser columns retain\na compact control rail while collapsed.",
5857
6055
  registerOptions: [],
5858
- ownerProps: ["/** Sidebar owner share: live column state from the frame's concession solve. */\nexport interface SidebarOwnerProps {\n /** True when the sidebar is closed (the column renders the compact control rail). */\n collapsed: boolean\n /** Rendered column width in px (SIDEBAR_COLLAPSED when collapsed). */\n width: number\n}"],
6056
+ ownerProps: ["/** Sidebar owner share: live column state from the frame's concession solve. */\nexport interface SidebarOwnerProps {\n /** True when closed; a drawer is hidden, while other browser columns retain a rail. */\n collapsed: boolean\n /** Rendered sidebar width in px; a hidden drawer retains its expanded width. */\n width: number\n /** Present the retained sidebar content as an overlay drawer. */\n drawer: boolean\n}"],
5859
6057
  ownerPropsReferences: [],
5860
6058
  standardProps: [
5861
6059
  "useRemoteAccess: (action: RemoteEndpoint) => boolean",
5862
6060
  "useResource: UseResource",
6061
+ "useContextMenu: UseContextMenu",
5863
6062
  "useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>",
5864
6063
  "usePanelInfo: UsePanelInfo",
5865
6064
  "useSessions: UseSessions",
@@ -5875,7 +6074,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
5875
6074
  occupants: ["client-ui-sidebar SidebarRoot"],
5876
6075
  replaceRisk: "shadows-shipped-ui",
5877
6076
  example: "return {\n inject: ['slots'],\n apply(ctx) {\n ctx.slots.inject('sidebar', () => ctx.slots.register(\n { name: 'sidebar' },\n () => React.createElement('div', null, 'hello'),\n ))\n },\n}",
5878
- source: "packages/client/ui-layout/src/client/index.ts:68"
6077
+ source: "packages/client/ui-layout/src/client/index.ts:70"
5879
6078
  },
5880
6079
  {
5881
6080
  key: "sidebar.brand.mark",
@@ -5889,6 +6088,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
5889
6088
  standardProps: [
5890
6089
  "useRemoteAccess: (action: RemoteEndpoint) => boolean",
5891
6090
  "useResource: UseResource",
6091
+ "useContextMenu: UseContextMenu",
5892
6092
  "useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>",
5893
6093
  "usePanelInfo: UsePanelInfo",
5894
6094
  "useSessions: UseSessions",
@@ -5918,6 +6118,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
5918
6118
  standardProps: [
5919
6119
  "useRemoteAccess: (action: RemoteEndpoint) => boolean",
5920
6120
  "useResource: UseResource",
6121
+ "useContextMenu: UseContextMenu",
5921
6122
  "useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>",
5922
6123
  "usePanelInfo: UsePanelInfo",
5923
6124
  "useSessions: UseSessions",
@@ -5947,6 +6148,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
5947
6148
  standardProps: [
5948
6149
  "useRemoteAccess: (action: RemoteEndpoint) => boolean",
5949
6150
  "useResource: UseResource",
6151
+ "useContextMenu: UseContextMenu",
5950
6152
  "useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>",
5951
6153
  "usePanelInfo: UsePanelInfo",
5952
6154
  "useSessions: UseSessions",
@@ -6004,6 +6206,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
6004
6206
  standardProps: [
6005
6207
  "useRemoteAccess: (action: RemoteEndpoint) => boolean",
6006
6208
  "useResource: UseResource",
6209
+ "useContextMenu: UseContextMenu",
6007
6210
  "useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>",
6008
6211
  "usePanelInfo: UsePanelInfo",
6009
6212
  "useSessions: UseSessions",
@@ -6052,6 +6255,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
6052
6255
  standardProps: [
6053
6256
  "useRemoteAccess: (action: RemoteEndpoint) => boolean",
6054
6257
  "useResource: UseResource",
6258
+ "useContextMenu: UseContextMenu",
6055
6259
  "useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>",
6056
6260
  "usePanelInfo: UsePanelInfo",
6057
6261
  "useSessions: UseSessions",
@@ -6100,6 +6304,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
6100
6304
  standardProps: [
6101
6305
  "useRemoteAccess: (action: RemoteEndpoint) => boolean",
6102
6306
  "useResource: UseResource",
6307
+ "useContextMenu: UseContextMenu",
6103
6308
  "useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>",
6104
6309
  "usePanelInfo: UsePanelInfo",
6105
6310
  "useSessions: UseSessions",
@@ -6134,6 +6339,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
6134
6339
  standardProps: [
6135
6340
  "useRemoteAccess: (action: RemoteEndpoint) => boolean",
6136
6341
  "useResource: UseResource",
6342
+ "useContextMenu: UseContextMenu",
6137
6343
  "useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>",
6138
6344
  "usePanelInfo: UsePanelInfo",
6139
6345
  "useSessions: UseSessions",
@@ -6191,6 +6397,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
6191
6397
  standardProps: [
6192
6398
  "useRemoteAccess: (action: RemoteEndpoint) => boolean",
6193
6399
  "useResource: UseResource",
6400
+ "useContextMenu: UseContextMenu",
6194
6401
  "useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>",
6195
6402
  "usePanelInfo: UsePanelInfo",
6196
6403
  "useSessions: UseSessions",
@@ -6244,6 +6451,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
6244
6451
  standardProps: [
6245
6452
  "useRemoteAccess: (action: RemoteEndpoint) => boolean",
6246
6453
  "useResource: UseResource",
6454
+ "useContextMenu: UseContextMenu",
6247
6455
  "useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>",
6248
6456
  "usePanelInfo: UsePanelInfo",
6249
6457
  "useSessions: UseSessions",
@@ -6296,6 +6504,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
6296
6504
  standardProps: [
6297
6505
  "useRemoteAccess: (action: RemoteEndpoint) => boolean",
6298
6506
  "useResource: UseResource",
6507
+ "useContextMenu: UseContextMenu",
6299
6508
  "useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>",
6300
6509
  "usePanelInfo: UsePanelInfo",
6301
6510
  "useSessions: UseSessions",
@@ -6353,6 +6562,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
6353
6562
  standardProps: [
6354
6563
  "useRemoteAccess: (action: RemoteEndpoint) => boolean",
6355
6564
  "useResource: UseResource",
6565
+ "useContextMenu: UseContextMenu",
6356
6566
  "useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>",
6357
6567
  "usePanelInfo: UsePanelInfo",
6358
6568
  "useSessions: UseSessions",
@@ -6396,6 +6606,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
6396
6606
  standardProps: [
6397
6607
  "useRemoteAccess: (action: RemoteEndpoint) => boolean",
6398
6608
  "useResource: UseResource",
6609
+ "useContextMenu: UseContextMenu",
6399
6610
  "useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>",
6400
6611
  "usePanelInfo: UsePanelInfo",
6401
6612
  "useSessions: UseSessions",
@@ -6453,6 +6664,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
6453
6664
  standardProps: [
6454
6665
  "useRemoteAccess: (action: RemoteEndpoint) => boolean",
6455
6666
  "useResource: UseResource",
6667
+ "useContextMenu: UseContextMenu",
6456
6668
  "useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>",
6457
6669
  "usePanelInfo: UsePanelInfo",
6458
6670
  "useSessions: UseSessions",
@@ -6483,8 +6695,8 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
6483
6695
  key: "sidebar.right.tab.files.actions",
6484
6696
  kind: "list",
6485
6697
  scope: "session",
6486
- summary: "Workspace directory actions after the file tree's reload control.",
6487
- doc: "Workspace directory actions after the file tree's reload control.",
6698
+ summary: "Workspace directory actions after the `files` page's reload control.",
6699
+ doc: "Workspace directory actions after the `files` page's reload control.",
6488
6700
  registerOptions: [
6489
6701
  {
6490
6702
  name: "id",
@@ -6510,6 +6722,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
6510
6722
  standardProps: [
6511
6723
  "useRemoteAccess: (action: RemoteEndpoint) => boolean",
6512
6724
  "useResource: UseResource",
6725
+ "useContextMenu: UseContextMenu",
6513
6726
  "useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>",
6514
6727
  "usePanelInfo: UsePanelInfo",
6515
6728
  "useSessions: UseSessions",
@@ -6534,7 +6747,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
6534
6747
  occupants: ["client-ui-open-in-app OpenInAppAction id 'open-in-app'"],
6535
6748
  replaceRisk: "none",
6536
6749
  example: "return {\n inject: ['slots'],\n apply(ctx) {\n ctx.slots.inject('sidebar.right.tab.files.actions', () => ctx.slots.register(\n { name: 'sidebar.right.tab.files.actions', id: 'my-entry', order: 100, label: 'My entry' },\n () => React.createElement('div', null, 'hello'),\n ))\n },\n}",
6537
- source: "packages/client/ui-sidebar-files/src/client/index.ts:34"
6750
+ source: "packages/client/ui-sidebar-files/src/client/index.ts:39"
6538
6751
  },
6539
6752
  {
6540
6753
  key: "sidebar.right.tab.guide",
@@ -6553,6 +6766,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
6553
6766
  standardProps: [
6554
6767
  "useRemoteAccess: (action: RemoteEndpoint) => boolean",
6555
6768
  "useResource: UseResource",
6769
+ "useContextMenu: UseContextMenu",
6556
6770
  "useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>",
6557
6771
  "usePanelInfo: UsePanelInfo",
6558
6772
  "useSessions: UseSessions",
@@ -6610,6 +6824,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
6610
6824
  standardProps: [
6611
6825
  "useRemoteAccess: (action: RemoteEndpoint) => boolean",
6612
6826
  "useResource: UseResource",
6827
+ "useContextMenu: UseContextMenu",
6613
6828
  "useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>",
6614
6829
  "usePanelInfo: UsePanelInfo",
6615
6830
  "useSessions: UseSessions",
@@ -6644,6 +6859,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
6644
6859
  standardProps: [
6645
6860
  "useRemoteAccess: (action: RemoteEndpoint) => boolean",
6646
6861
  "useResource: UseResource",
6862
+ "useContextMenu: UseContextMenu",
6647
6863
  "useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>",
6648
6864
  "usePanelInfo: UsePanelInfo",
6649
6865
  "useSessions: UseSessions",
@@ -6701,6 +6917,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
6701
6917
  standardProps: [
6702
6918
  "useRemoteAccess: (action: RemoteEndpoint) => boolean",
6703
6919
  "useResource: UseResource",
6920
+ "useContextMenu: UseContextMenu",
6704
6921
  "useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>",
6705
6922
  "usePanelInfo: UsePanelInfo",
6706
6923
  "useSessions: UseSessions",
@@ -6721,7 +6938,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
6721
6938
  keyDomain: "",
6722
6939
  hookContext: "",
6723
6940
  slotInject: "",
6724
- declaredBy: "an entry in 'rightbar.session' (client-ui-sidebar-right), so it exists while that entry is mounted",
6941
+ declaredBy: "an entry in 'contextMenu.content' (client-ui-sidebar-right), so it exists while that entry is mounted",
6725
6942
  occupants: [],
6726
6943
  replaceRisk: "none",
6727
6944
  example: "return {\n inject: ['slots'],\n apply(ctx) {\n ctx.slots.inject('sidebar.right.tab.menu.item', () => ctx.slots.register(\n { name: 'sidebar.right.tab.menu.item', id: 'my-entry', order: 100, label: 'My entry' },\n () => React.createElement('div', null, 'hello'),\n ))\n },\n}",
@@ -6758,6 +6975,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
6758
6975
  standardProps: [
6759
6976
  "useRemoteAccess: (action: RemoteEndpoint) => boolean",
6760
6977
  "useResource: UseResource",
6978
+ "useContextMenu: UseContextMenu",
6761
6979
  "useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>",
6762
6980
  "usePanelInfo: UsePanelInfo",
6763
6981
  "useSessions: UseSessions",
@@ -6773,7 +6991,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
6773
6991
  occupants: ["client-ui-schedule SessionScheduleHover id 'schedule-tasks'", "experimental-client-ui-forge SessionHoverForge id 'forge-panel.row'"],
6774
6992
  replaceRisk: "none",
6775
6993
  example: "return {\n inject: ['slots'],\n apply(ctx) {\n ctx.slots.inject('sidebar.session.row.hover', () => ctx.slots.register(\n { name: 'sidebar.session.row.hover', id: 'my-entry', order: 100, label: 'My entry' },\n () => React.createElement('div', null, 'hello'),\n ))\n },\n}",
6776
- source: "packages/client/ui-workspace/src/client/contract/slots.ts:151"
6994
+ source: "packages/client/ui-workspace/src/client/contract/slots.ts:163"
6777
6995
  },
6778
6996
  {
6779
6997
  key: "sidebar.session.row.leading",
@@ -6806,6 +7024,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
6806
7024
  standardProps: [
6807
7025
  "useRemoteAccess: (action: RemoteEndpoint) => boolean",
6808
7026
  "useResource: UseResource",
7027
+ "useContextMenu: UseContextMenu",
6809
7028
  "useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>",
6810
7029
  "usePanelInfo: UsePanelInfo",
6811
7030
  "useSessions: UseSessions",
@@ -6821,7 +7040,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
6821
7040
  occupants: ["client-ui-schedule SessionScheduleMark id 'schedule-mark'", "experimental-liveshare ViewerForkMarker id 'liveshare.fork'"],
6822
7041
  replaceRisk: "none",
6823
7042
  example: "return {\n inject: ['slots'],\n apply(ctx) {\n ctx.slots.inject('sidebar.session.row.leading', () => ctx.slots.register(\n { name: 'sidebar.session.row.leading', id: 'my-entry', order: 100, label: 'My entry' },\n () => React.createElement('div', null, 'hello'),\n ))\n },\n}",
6824
- source: "packages/client/ui-workspace/src/client/contract/slots.ts:137"
7043
+ source: "packages/client/ui-workspace/src/client/contract/slots.ts:149"
6825
7044
  },
6826
7045
  {
6827
7046
  key: "sidebar.session.row.trailing",
@@ -6854,6 +7073,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
6854
7073
  standardProps: [
6855
7074
  "useRemoteAccess: (action: RemoteEndpoint) => boolean",
6856
7075
  "useResource: UseResource",
7076
+ "useContextMenu: UseContextMenu",
6857
7077
  "useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>",
6858
7078
  "usePanelInfo: UsePanelInfo",
6859
7079
  "useSessions: UseSessions",
@@ -6869,7 +7089,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
6869
7089
  occupants: ["experimental-client-ui-forge SessionRowForge id 'forge-panel.row'"],
6870
7090
  replaceRisk: "none",
6871
7091
  example: "return {\n inject: ['slots'],\n apply(ctx) {\n ctx.slots.inject('sidebar.session.row.trailing', () => ctx.slots.register(\n { name: 'sidebar.session.row.trailing', id: 'my-entry', order: 100, label: 'My entry' },\n () => React.createElement('div', null, 'hello'),\n ))\n },\n}",
6872
- source: "packages/client/ui-workspace/src/client/contract/slots.ts:146"
7092
+ source: "packages/client/ui-workspace/src/client/contract/slots.ts:158"
6873
7093
  },
6874
7094
  {
6875
7095
  key: "sidebar.settings",
@@ -6883,6 +7103,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
6883
7103
  standardProps: [
6884
7104
  "useRemoteAccess: (action: RemoteEndpoint) => boolean",
6885
7105
  "useResource: UseResource",
7106
+ "useContextMenu: UseContextMenu",
6886
7107
  "useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>",
6887
7108
  "usePanelInfo: UsePanelInfo",
6888
7109
  "useSessions: UseSessions",
@@ -6912,6 +7133,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
6912
7133
  standardProps: [
6913
7134
  "useRemoteAccess: (action: RemoteEndpoint) => boolean",
6914
7135
  "useResource: UseResource",
7136
+ "useContextMenu: UseContextMenu",
6915
7137
  "useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>",
6916
7138
  "usePanelInfo: UsePanelInfo",
6917
7139
  "useSessions: UseSessions",
@@ -6936,11 +7158,12 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
6936
7158
  summary: "The workspace/session browsing region: section header, search, the grouped/flat session list, and every workspace dialog.",
6937
7159
  doc: "The workspace/session browsing region: section header, search, the\ngrouped/flat session list, and every workspace dialog. Declared by this\npackage's 'sidebar' entry (declaring is claiming); ui-workspace\nregisters the browser.",
6938
7160
  registerOptions: [],
6939
- ownerProps: ["/**\n * Owner share of the browser hole — the only facts crossing the shell/region\n * boundary. Business data and actions arrive through the region's own inject.\n */\nexport interface SidebarSectionOwnerProps {\n /** Shell fold-state output: wide renders the full browser, rail the icon column. */\n wide: boolean\n /** Rail icons request expansion; the browser rides the wide flip for focus. */\n expandSidebar: () => void\n}"],
7161
+ ownerProps: ["/**\n * Owner share of the browser hole — the only facts crossing the shell/region\n * boundary. Business data and actions arrive through the region's own inject.\n */\nexport interface SidebarSectionOwnerProps {\n /** Shell fold-state output: wide renders the full browser, rail the icon column. */\n wide: boolean\n /** Ensure the sidebar is visible; safe to call while already expanded. */\n expandSidebar: () => void\n}"],
6940
7162
  ownerPropsReferences: [],
6941
7163
  standardProps: [
6942
7164
  "useRemoteAccess: (action: RemoteEndpoint) => boolean",
6943
7165
  "useResource: UseResource",
7166
+ "useContextMenu: UseContextMenu",
6944
7167
  "useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>",
6945
7168
  "usePanelInfo: UsePanelInfo",
6946
7169
  "useSessions: UseSessions",
@@ -6970,6 +7193,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
6970
7193
  standardProps: [
6971
7194
  "useRemoteAccess: (action: RemoteEndpoint) => boolean",
6972
7195
  "useResource: UseResource",
7196
+ "useContextMenu: UseContextMenu",
6973
7197
  "useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>",
6974
7198
  "usePanelInfo: UsePanelInfo",
6975
7199
  "useSessions: UseSessions",
@@ -6985,14 +7209,14 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
6985
7209
  occupants: ["client-ui-directory-picker-browse BrowseDirectoryFlow", "client-ui-directory-picker-native NativeDirectoryFlow"],
6986
7210
  replaceRisk: "shadows-shipped-ui",
6987
7211
  example: "return {\n inject: ['slots'],\n apply(ctx) {\n ctx.slots.inject('sidebar.workspaces.directoryFlow', () => ctx.slots.register(\n { name: 'sidebar.workspaces.directoryFlow' },\n () => React.createElement('div', null, 'hello'),\n ))\n },\n}",
6988
- source: "packages/client/ui-workspace/src/client/contract/slots.ts:127"
7212
+ source: "packages/client/ui-workspace/src/client/contract/slots.ts:139"
6989
7213
  },
6990
7214
  {
6991
7215
  key: "sidebar.workspaces.session.menu.item",
6992
7216
  kind: "list",
6993
7217
  scope: "root",
6994
- summary: "The rows of one Session's \"...\" menu, in ascending `order`.",
6995
- doc: "The rows of one Session's \"...\" menu, in ascending `order`. ui-workspace\nregisters the shipped rows here — `pin` (100), `rename` (200), `fork`\n(300), `archive` (400), and `session-id` (450) — so a plugin row is placed\nby its own `order` among them. Use a package-namespaced `id`; reusing a shipped id at\nanother `priority` shadows that row. Each entry renders one\n`role=\"menuitem\"` `<button>` (the shipped rows use ui-primitives'\n`MenuItemButton`, which adds the host styling and `separatorBefore`),\ndecides its own visibility from its own state, and dismisses the menu\nthrough the injected `useMenuOpenState` hook after acting; the list's\nkeyboard walk and focus return read the DOM, so any such button joins\nthem. Labels come from the contributing package's locale namespace.",
7218
+ summary: "Legacy external Session menu rows, in ascending `order`, rendered together before the built-in Archive action.",
7219
+ doc: "Legacy external Session menu rows, in ascending `order`, rendered\ntogether before the built-in Archive action. Built-in actions use\nctx.contextMenus; Slot priority cannot replace them. Each entry renders a\n`role=\"menuitem\"` button, owns its visibility and localized label,\nand dismisses through `useMenuOpenState`. The shared menu supplies\nkeyboard navigation and focus return.",
6996
7220
  registerOptions: [
6997
7221
  {
6998
7222
  name: "id",
@@ -7018,6 +7242,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
7018
7242
  standardProps: [
7019
7243
  "useRemoteAccess: (action: RemoteEndpoint) => boolean",
7020
7244
  "useResource: UseResource",
7245
+ "useContextMenu: UseContextMenu",
7021
7246
  "useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>",
7022
7247
  "usePanelInfo: UsePanelInfo",
7023
7248
  "useSessions: UseSessions",
@@ -7029,18 +7254,11 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
7029
7254
  keyDomain: "",
7030
7255
  hookContext: "MenuOpenState",
7031
7256
  slotInject: "{ hooks: { menuOpenState: SlotHookFactory<'sidebar.workspaces.session.menu.item', UseMenuOpenState> shortcuts: HostObservable<readonly ShortcutCatalogEntry[]> } }",
7032
- declaredBy: "an entry in 'sidebar.workspaces' (client-ui-workspace), so it exists while that entry is mounted",
7033
- occupants: [
7034
- "client-ui-workspace PinSessionMenuItem id 'pin'",
7035
- "client-ui-workspace RenameSessionMenuItem id 'rename'",
7036
- "client-ui-workspace ForkSessionMenuItem id 'fork'",
7037
- "client-ui-workspace ArchiveSessionMenuItem id 'archive'",
7038
- "client-ui-workspace SessionIdMenuItem id 'session-id'",
7039
- "experimental-liveshare ViewerForkMenuItem id 'fork'"
7040
- ],
7257
+ declaredBy: "an entry in 'contextMenu.content' (client-ui-workspace), so it exists while that entry is mounted",
7258
+ occupants: [],
7041
7259
  replaceRisk: "none",
7042
7260
  example: "return {\n inject: ['slots'],\n apply(ctx) {\n const copyLabel = 'Copy session title' // Localize in the contributing package.\n ctx.slots.inject('sidebar.workspaces.session.menu.item', () => ctx.slots.register(\n { name: 'sidebar.workspaces.session.menu.item', id: 'copy-session-title', order: 500 },\n ({ displayTitle, useMenuOpenState }) => {\n const [, setMenuOpen] = useMenuOpenState()\n return React.createElement(\n 'button',\n {\n type: 'button', role: 'menuitem',\n onClick: () => { setMenuOpen(false); void navigator.clipboard.writeText(displayTitle) },\n },\n copyLabel,\n )\n },\n ))\n },\n}",
7043
- source: "packages/client/ui-workspace/src/client/contract/slots.ts:186"
7261
+ source: "packages/client/ui-workspace/src/client/contract/slots.ts:193"
7044
7262
  },
7045
7263
  {
7046
7264
  key: "sidebar.workspaces.session.row.action",
@@ -7073,6 +7291,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
7073
7291
  standardProps: [
7074
7292
  "useRemoteAccess: (action: RemoteEndpoint) => boolean",
7075
7293
  "useResource: UseResource",
7294
+ "useContextMenu: UseContextMenu",
7076
7295
  "useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>",
7077
7296
  "usePanelInfo: UsePanelInfo",
7078
7297
  "useSessions: UseSessions",
@@ -7088,7 +7307,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
7088
7307
  occupants: ["client-ui-workspace ArchiveSessionRowButton id 'archive'", "client-ui-workspace PinSessionRowButton id 'pin'"],
7089
7308
  replaceRisk: "none",
7090
7309
  example: "return {\n inject: ['slots'],\n apply(ctx) {\n ctx.slots.inject('sidebar.workspaces.session.row.action', () => ctx.slots.register(\n { name: 'sidebar.workspaces.session.row.action', id: 'my-entry', order: 100, label: 'My entry' },\n () => React.createElement('div', null, 'hello'),\n ))\n },\n}",
7091
- source: "packages/client/ui-workspace/src/client/contract/slots.ts:205"
7310
+ source: "packages/client/ui-workspace/src/client/contract/slots.ts:212"
7092
7311
  },
7093
7312
  {
7094
7313
  key: "tool.call.images",
@@ -7102,6 +7321,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
7102
7321
  standardProps: [
7103
7322
  "useRemoteAccess: (action: RemoteEndpoint) => boolean",
7104
7323
  "useResource: UseResource",
7324
+ "useContextMenu: UseContextMenu",
7105
7325
  "useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>",
7106
7326
  "usePanelInfo: UsePanelInfo",
7107
7327
  "useSessions: UseSessions",
@@ -7126,14 +7346,14 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
7126
7346
  occupants: ["client-ui-attachment MessageImages"],
7127
7347
  replaceRisk: "shadows-shipped-ui",
7128
7348
  example: "return {\n inject: ['slots'],\n apply(ctx) {\n ctx.slots.inject('tool.call.images', () => ctx.slots.register(\n { name: 'tool.call.images' },\n () => React.createElement('div', null, 'hello'),\n ))\n },\n}",
7129
- source: "packages/client/ui-tool/src/client/contract/slots.ts:44"
7349
+ source: "packages/client/ui-tool/src/client/contract/slots.ts:41"
7130
7350
  },
7131
7351
  {
7132
7352
  key: "tool.call.toolview",
7133
7353
  kind: "keyed",
7134
7354
  scope: "session",
7135
- summary: "Keyed Tool call view dispatched by wire Tool name.",
7136
- doc: "Keyed Tool call view dispatched by wire Tool name. Any name is allowed,\nincluding tools registered by your package. Register with\n`key: '<tool name>'`; a typo never renders.\n\nRegistering an occupied key replaces its view; unclaimed keys use the\ngeneric row. The owner supplies the call identity and running\nor settled node through explicit phase props. Every stage supplies\n`name` and a lazy `args` view; preparing arguments may be incomplete.",
7355
+ summary: "Keyed Tool view dispatched by wire name, including custom tools.",
7356
+ doc: "Keyed Tool view dispatched by wire name, including custom tools.\nRegister with `key: '<tool name>'`; a typo never renders.\nOccupied keys replace the view; unclaimed keys use the generic row. Owner\nphase data includes `name` and lazy `args`; preparing arguments may be incomplete.",
7137
7357
  registerOptions: [{
7138
7358
  name: "key",
7139
7359
  requirement: "required",
@@ -7156,6 +7376,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
7156
7376
  standardProps: [
7157
7377
  "useRemoteAccess: (action: RemoteEndpoint) => boolean",
7158
7378
  "useResource: UseResource",
7379
+ "useContextMenu: UseContextMenu",
7159
7380
  "useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>",
7160
7381
  "usePanelInfo: UsePanelInfo",
7161
7382
  "useSessions: UseSessions",
@@ -7173,7 +7394,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
7173
7394
  "useAccess: (action: RemoteEndpoint) => boolean",
7174
7395
  "useTrajectory: UseTrajectory"
7175
7396
  ],
7176
- keyDomain: "open: any string the owner dispatches (no compile-time key set), already taken: ask_user_question, bash, cordis_define, cordis_inspect_list, cordis_inspect_query, cordis_inspect_self, cordis_run, cordis_stop, cordis_undefine, create_goal, edit, get_goal, glob, grep, interrupt_agent, job_kill, job_list, job_output, list_agents, list_subagent_models, lsp, present, propose_action, ralph, read, read_image, schedule_create, schedule_delete, schedule_list, schedule_update, send_message, session_event_read, session_event_search, session_event_trace, session_search, session_trace, skill, spawn_teammate, subagent, team_task_create, team_task_get, team_task_list, team_task_update, terminal_close, terminal_list, terminal_open, terminal_read, terminal_signal, todo_write, update_goal, wait_agent, web_fetch, web_search, workflow, write",
7397
+ keyDomain: "open: any string the owner dispatches (no compile-time key set), already taken: apply_patch, ask_user_question, bash, cordis_define, cordis_inspect_list, cordis_inspect_query, cordis_inspect_self, cordis_run, cordis_stop, cordis_undefine, create_goal, edit, get_goal, glob, grep, interrupt_agent, job_kill, job_list, job_output, list_agents, list_subagent_models, lsp, present, propose_action, ralph, read, read_image, schedule_create, schedule_delete, schedule_edit, schedule_list, schedule_update, schedule_view, send_message, session_event_read, session_event_search, session_event_trace, session_search, session_trace, skill, spawn_teammate, subagent, team_task_create, team_task_get, team_task_list, team_task_update, terminal_close, terminal_list, terminal_open, terminal_read, terminal_signal, todo_write, update_goal, wait_agent, web_fetch, web_search, workflow, write",
7177
7398
  hookContext: "",
7178
7399
  slotInject: "",
7179
7400
  declaredBy: "an entry in 'conversation.chat.node' (client-ui-tool), so it exists while that entry is mounted",
@@ -7187,6 +7408,8 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
7187
7408
  "client-ui-tool DetailsRow key 'update_goal'",
7188
7409
  "client-ui-tool DetailsRow key 'schedule_create'",
7189
7410
  "client-ui-tool DetailsRow key 'schedule_list'",
7411
+ "client-ui-tool DetailsRow key 'schedule_view'",
7412
+ "client-ui-tool DetailsRow key 'schedule_edit'",
7190
7413
  "client-ui-tool DetailsRow key 'schedule_delete'",
7191
7414
  "client-ui-tool DetailsRow key 'schedule_update'",
7192
7415
  "client-ui-tool DetailsRow key 'cordis_inspect_list'",
@@ -7219,6 +7442,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
7219
7442
  "client-ui-tool DetailsRow key 'team_task_update'",
7220
7443
  "client-ui-tool DetailsRow key 'team_task_list'",
7221
7444
  "client-ui-tool DetailsRow key 'wait_agent'",
7445
+ "client-ui-tool FileMutationRow key 'apply_patch'",
7222
7446
  "client-ui-tool FileMutationRow key 'edit'",
7223
7447
  "client-ui-tool FileMutationRow key 'write'",
7224
7448
  "client-ui-tool ReadImageRow key 'read_image'",
@@ -7236,7 +7460,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
7236
7460
  ],
7237
7461
  replaceRisk: "shadows-shipped-ui",
7238
7462
  example: "return {\n inject: ['slots'],\n apply(ctx) {\n ctx.slots.inject('tool.call.toolview', () => ctx.slots.register(\n { name: 'tool.call.toolview', key: '<one key the owner dispatches>' },\n () => React.createElement('div', null, 'hello'),\n ))\n },\n}",
7239
- source: "packages/client/ui-tool/src/client/contract/slots.ts:26"
7463
+ source: "packages/client/ui-tool/src/client/contract/slots.ts:23"
7240
7464
  },
7241
7465
  {
7242
7466
  key: "tool.view.cordis",
@@ -7259,6 +7483,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
7259
7483
  standardProps: [
7260
7484
  "useRemoteAccess: (action: RemoteEndpoint) => boolean",
7261
7485
  "useResource: UseResource",
7486
+ "useContextMenu: UseContextMenu",
7262
7487
  "useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>",
7263
7488
  "usePanelInfo: UsePanelInfo",
7264
7489
  "useSessions: UseSessions",
@@ -7302,6 +7527,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
7302
7527
  standardProps: [
7303
7528
  "useRemoteAccess: (action: RemoteEndpoint) => boolean",
7304
7529
  "useResource: UseResource",
7530
+ "useContextMenu: UseContextMenu",
7305
7531
  "useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>",
7306
7532
  "usePanelInfo: UsePanelInfo",
7307
7533
  "useSessions: UseSessions",