@deepseek-ai/dsh-cordis-client-runner 0.2.3-alpha.1 → 0.2.3-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.
- package/lib/client.js +454 -190
- package/lib/client.js.map +1 -1
- package/lib/types/client/api-catalog.d.ts.map +1 -1
- package/lib/types/client/api-catalog.js.map +1 -1
- package/lib/types/client/slot-catalog.d.ts.map +1 -1
- package/lib/types/client/slot-catalog.js.map +1 -1
- package/package.json +12 -12
- package/src/client/api-catalog.ts +40 -8
- package/src/client/slot-catalog.ts +1448 -126
|
@@ -83,6 +83,107 @@ export const CLIENT_NOTES: readonly string[] = [
|
|
|
83
83
|
// verbatim; that sameness IS the contract a registrant reads, so clone
|
|
84
84
|
// detection is told to skip the data rather than the file.
|
|
85
85
|
export const CLIENT_SLOT_API: readonly ClientSlotEntry[] = [
|
|
86
|
+
{
|
|
87
|
+
key: 'connectors.actions',
|
|
88
|
+
kind: 'list',
|
|
89
|
+
scope: 'root',
|
|
90
|
+
summary: 'The Connectors tab\'s actions at the end of its first heading\'s row, shown while the tab shows its lists; this plugin registers the button that opens a new custom MCP server\'s form there once the manager\'s Remote exists.',
|
|
91
|
+
doc: 'The Connectors tab\'s actions at the end of its first heading\'s row, shown while the tab shows its lists; this\nplugin registers the button that opens a new custom MCP server\'s form there once the manager\'s Remote exists.\nThe tab passes the change of its view.',
|
|
92
|
+
registerOptions: [
|
|
93
|
+
{
|
|
94
|
+
name: 'id',
|
|
95
|
+
requirement: 'required',
|
|
96
|
+
type: 'string',
|
|
97
|
+
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.',
|
|
98
|
+
},
|
|
99
|
+
{
|
|
100
|
+
name: 'order',
|
|
101
|
+
requirement: 'optional',
|
|
102
|
+
type: 'number',
|
|
103
|
+
doc: 'Position among the entries, ascending (default 0).',
|
|
104
|
+
},
|
|
105
|
+
{
|
|
106
|
+
name: 'label',
|
|
107
|
+
requirement: 'optional',
|
|
108
|
+
type: 'string | (() => string)',
|
|
109
|
+
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.',
|
|
110
|
+
},
|
|
111
|
+
],
|
|
112
|
+
ownerProps: [
|
|
113
|
+
'/** What the Connectors tab passes to each of its actions: the change of the view it shows. */\nexport interface ConnectorsActionOwnerProps {\n readonly setView: (view: CustomServersView) => void\n}',
|
|
114
|
+
],
|
|
115
|
+
ownerPropsReferences: [
|
|
116
|
+
'CustomServersView',
|
|
117
|
+
],
|
|
118
|
+
standardProps: [
|
|
119
|
+
'useRemoteAccess: (action: RemoteEndpoint) => boolean',
|
|
120
|
+
'useResource: UseResource',
|
|
121
|
+
'useContextMenu: UseContextMenu',
|
|
122
|
+
'useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>',
|
|
123
|
+
'usePanelInfo: UsePanelInfo',
|
|
124
|
+
'useDocumentPortal: () => FC<DocumentPortalProps>',
|
|
125
|
+
'useDocumentViewport: () => DocumentViewport',
|
|
126
|
+
'useMediaQuery: (query: string) => boolean',
|
|
127
|
+
'useMobile: () => boolean',
|
|
128
|
+
'useSessionStatus: UseSessionStatus',
|
|
129
|
+
'useSessions: UseSessions',
|
|
130
|
+
'useSessionRetainInfo: UseSessionRetainInfo',
|
|
131
|
+
'useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean',
|
|
132
|
+
'useTheme: SnapshotSelectorHook<ThemeSnapshot>',
|
|
133
|
+
'useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean',
|
|
134
|
+
],
|
|
135
|
+
keyDomain: '',
|
|
136
|
+
hookContext: '',
|
|
137
|
+
slotInject: '',
|
|
138
|
+
declaredBy: 'an entry in \'plugins.tab\' (client-ui-connectors), so it exists while that entry is mounted',
|
|
139
|
+
occupants: [
|
|
140
|
+
'client-ui-connectors AddServerAction',
|
|
141
|
+
],
|
|
142
|
+
replaceRisk: 'none',
|
|
143
|
+
example: 'return {\n inject: [\'slots\'],\n apply(ctx) {\n ctx.slots.inject(\'connectors.actions\', () => ctx.slots.register(\n { name: \'connectors.actions\', id: \'my-entry\', order: 100, label: \'My entry\' },\n () => React.createElement(\'div\', null, \'hello\'),\n ))\n },\n}',
|
|
144
|
+
source: 'packages/experimental/client-ui-connectors/src/client/index.ts:26',
|
|
145
|
+
},
|
|
146
|
+
{
|
|
147
|
+
key: 'connectors.custom',
|
|
148
|
+
kind: 'single',
|
|
149
|
+
scope: 'root',
|
|
150
|
+
summary: 'The Connectors tab\'s section below the official connectors; this plugin registers the custom MCP servers section there once the manager\'s Remote exists.',
|
|
151
|
+
doc: 'The Connectors tab\'s section below the official connectors; this plugin registers the custom MCP servers\nsection there once the manager\'s Remote exists. The tab passes the section\'s view and shows only the section,\nunder the Plugins page\'s crumb, while the view is a server\'s page; without an entry the tab shows only the\nofficial connectors.',
|
|
152
|
+
registerOptions: [],
|
|
153
|
+
ownerProps: [
|
|
154
|
+
'/** What the Connectors tab passes: the view it shows, and the change the section asks for. */\nexport interface CustomServersOwnerProps {\n readonly view: CustomServersView\n readonly setView: (view: CustomServersView) => void\n}',
|
|
155
|
+
],
|
|
156
|
+
ownerPropsReferences: [
|
|
157
|
+
'CustomServersView',
|
|
158
|
+
],
|
|
159
|
+
standardProps: [
|
|
160
|
+
'useRemoteAccess: (action: RemoteEndpoint) => boolean',
|
|
161
|
+
'useResource: UseResource',
|
|
162
|
+
'useContextMenu: UseContextMenu',
|
|
163
|
+
'useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>',
|
|
164
|
+
'usePanelInfo: UsePanelInfo',
|
|
165
|
+
'useDocumentPortal: () => FC<DocumentPortalProps>',
|
|
166
|
+
'useDocumentViewport: () => DocumentViewport',
|
|
167
|
+
'useMediaQuery: (query: string) => boolean',
|
|
168
|
+
'useMobile: () => boolean',
|
|
169
|
+
'useSessionStatus: UseSessionStatus',
|
|
170
|
+
'useSessions: UseSessions',
|
|
171
|
+
'useSessionRetainInfo: UseSessionRetainInfo',
|
|
172
|
+
'useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean',
|
|
173
|
+
'useTheme: SnapshotSelectorHook<ThemeSnapshot>',
|
|
174
|
+
'useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean',
|
|
175
|
+
],
|
|
176
|
+
keyDomain: '',
|
|
177
|
+
hookContext: '',
|
|
178
|
+
slotInject: '',
|
|
179
|
+
declaredBy: 'an entry in \'plugins.tab\' (client-ui-connectors), so it exists while that entry is mounted',
|
|
180
|
+
occupants: [
|
|
181
|
+
'client-ui-connectors CustomServersSection',
|
|
182
|
+
],
|
|
183
|
+
replaceRisk: 'shadows-shipped-ui',
|
|
184
|
+
example: 'return {\n inject: [\'slots\'],\n apply(ctx) {\n ctx.slots.inject(\'connectors.custom\', () => ctx.slots.register(\n { name: \'connectors.custom\' },\n () => React.createElement(\'div\', null, \'hello\'),\n ))\n },\n}',
|
|
185
|
+
source: 'packages/experimental/client-ui-connectors/src/client/index.ts:33',
|
|
186
|
+
},
|
|
86
187
|
{
|
|
87
188
|
key: 'contextMenu.content',
|
|
88
189
|
kind: 'keyed',
|
|
@@ -109,10 +210,15 @@ export const CLIENT_SLOT_API: readonly ClientSlotEntry[] = [
|
|
|
109
210
|
'useContextMenu: UseContextMenu',
|
|
110
211
|
'useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>',
|
|
111
212
|
'usePanelInfo: UsePanelInfo',
|
|
213
|
+
'useDocumentPortal: () => FC<DocumentPortalProps>',
|
|
214
|
+
'useDocumentViewport: () => DocumentViewport',
|
|
215
|
+
'useMediaQuery: (query: string) => boolean',
|
|
216
|
+
'useMobile: () => boolean',
|
|
112
217
|
'useSessionStatus: UseSessionStatus',
|
|
113
218
|
'useSessions: UseSessions',
|
|
114
219
|
'useSessionRetainInfo: UseSessionRetainInfo',
|
|
115
220
|
'useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean',
|
|
221
|
+
'useTheme: SnapshotSelectorHook<ThemeSnapshot>',
|
|
116
222
|
'useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean',
|
|
117
223
|
],
|
|
118
224
|
keyDomain: 'open: any string the owner dispatches (no compile-time key set), already taken: session, tab',
|
|
@@ -151,10 +257,15 @@ export const CLIENT_SLOT_API: readonly ClientSlotEntry[] = [
|
|
|
151
257
|
'useContextMenu: UseContextMenu',
|
|
152
258
|
'useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>',
|
|
153
259
|
'usePanelInfo: UsePanelInfo',
|
|
260
|
+
'useDocumentPortal: () => FC<DocumentPortalProps>',
|
|
261
|
+
'useDocumentViewport: () => DocumentViewport',
|
|
262
|
+
'useMediaQuery: (query: string) => boolean',
|
|
263
|
+
'useMobile: () => boolean',
|
|
154
264
|
'useSessionStatus: UseSessionStatus',
|
|
155
265
|
'useSessions: UseSessions',
|
|
156
266
|
'useSessionRetainInfo: UseSessionRetainInfo',
|
|
157
267
|
'useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean',
|
|
268
|
+
'useTheme: SnapshotSelectorHook<ThemeSnapshot>',
|
|
158
269
|
'useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean',
|
|
159
270
|
],
|
|
160
271
|
keyDomain: 'open: any string the owner dispatches (no compile-time key set), already taken: open-in-app.application, reference.addToChat, sidebar.close',
|
|
@@ -191,10 +302,15 @@ export const CLIENT_SLOT_API: readonly ClientSlotEntry[] = [
|
|
|
191
302
|
'useContextMenu: UseContextMenu',
|
|
192
303
|
'useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>',
|
|
193
304
|
'usePanelInfo: UsePanelInfo',
|
|
305
|
+
'useDocumentPortal: () => FC<DocumentPortalProps>',
|
|
306
|
+
'useDocumentViewport: () => DocumentViewport',
|
|
307
|
+
'useMediaQuery: (query: string) => boolean',
|
|
308
|
+
'useMobile: () => boolean',
|
|
194
309
|
'useSessionStatus: UseSessionStatus',
|
|
195
310
|
'useSessions: UseSessions',
|
|
196
311
|
'useSessionRetainInfo: UseSessionRetainInfo',
|
|
197
312
|
'useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean',
|
|
313
|
+
'useTheme: SnapshotSelectorHook<ThemeSnapshot>',
|
|
198
314
|
'useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean',
|
|
199
315
|
'useChat: UseChat',
|
|
200
316
|
'useConversation: UseConversation',
|
|
@@ -232,10 +348,15 @@ export const CLIENT_SLOT_API: readonly ClientSlotEntry[] = [
|
|
|
232
348
|
'useContextMenu: UseContextMenu',
|
|
233
349
|
'useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>',
|
|
234
350
|
'usePanelInfo: UsePanelInfo',
|
|
351
|
+
'useDocumentPortal: () => FC<DocumentPortalProps>',
|
|
352
|
+
'useDocumentViewport: () => DocumentViewport',
|
|
353
|
+
'useMediaQuery: (query: string) => boolean',
|
|
354
|
+
'useMobile: () => boolean',
|
|
235
355
|
'useSessionStatus: UseSessionStatus',
|
|
236
356
|
'useSessions: UseSessions',
|
|
237
357
|
'useSessionRetainInfo: UseSessionRetainInfo',
|
|
238
358
|
'useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean',
|
|
359
|
+
'useTheme: SnapshotSelectorHook<ThemeSnapshot>',
|
|
239
360
|
'useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean',
|
|
240
361
|
'useChat: UseChat',
|
|
241
362
|
'useConversation: UseConversation',
|
|
@@ -256,14 +377,14 @@ export const CLIENT_SLOT_API: readonly ClientSlotEntry[] = [
|
|
|
256
377
|
],
|
|
257
378
|
replaceRisk: 'shadows-shipped-ui',
|
|
258
379
|
example: 'return {\n inject: [\'slots\'],\n apply(ctx) {\n ctx.slots.inject(\'conversation.chat.aside\', () => ctx.slots.register(\n { name: \'conversation.chat.aside\' },\n () => React.createElement(\'div\', null, \'hello\'),\n ))\n },\n}',
|
|
259
|
-
source: 'packages/client/ui-chat/src/client/contract/slots.ts:
|
|
380
|
+
source: 'packages/client/ui-chat/src/client/contract/slots.ts:455',
|
|
260
381
|
},
|
|
261
382
|
{
|
|
262
383
|
key: 'conversation.chat.assistant-actions',
|
|
263
384
|
kind: 'list',
|
|
264
385
|
scope: 'session',
|
|
265
386
|
summary: 'Ordered actions for one finalized assistant message.',
|
|
266
|
-
doc: 'Ordered actions for one finalized assistant message. Each entry receives\nthe durable message id; a fresh `id` adds an action and reusing one replaces\nthat entry. With no entries, the standard action row remains unchanged.',
|
|
387
|
+
doc: 'Ordered actions for one finalized assistant message. Each entry receives\nthe durable message id; a fresh `id` adds an action and reusing one replaces\nthat entry. With no entries, the standard action row remains unchanged.\nA control carrying `data-action-ongoing` keeps a row that is otherwise\nshown only on hover or focus visible while its action runs.',
|
|
267
388
|
registerOptions: [
|
|
268
389
|
{
|
|
269
390
|
name: 'id',
|
|
@@ -296,10 +417,15 @@ export const CLIENT_SLOT_API: readonly ClientSlotEntry[] = [
|
|
|
296
417
|
'useContextMenu: UseContextMenu',
|
|
297
418
|
'useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>',
|
|
298
419
|
'usePanelInfo: UsePanelInfo',
|
|
420
|
+
'useDocumentPortal: () => FC<DocumentPortalProps>',
|
|
421
|
+
'useDocumentViewport: () => DocumentViewport',
|
|
422
|
+
'useMediaQuery: (query: string) => boolean',
|
|
423
|
+
'useMobile: () => boolean',
|
|
299
424
|
'useSessionStatus: UseSessionStatus',
|
|
300
425
|
'useSessions: UseSessions',
|
|
301
426
|
'useSessionRetainInfo: UseSessionRetainInfo',
|
|
302
427
|
'useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean',
|
|
428
|
+
'useTheme: SnapshotSelectorHook<ThemeSnapshot>',
|
|
303
429
|
'useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean',
|
|
304
430
|
'useChat: UseChat',
|
|
305
431
|
'useConversation: UseConversation',
|
|
@@ -317,10 +443,11 @@ export const CLIENT_SLOT_API: readonly ClientSlotEntry[] = [
|
|
|
317
443
|
declaredBy: 'an entry in \'conversation.chat.node\' (client-ui-chat), so it exists while that entry is mounted',
|
|
318
444
|
occupants: [
|
|
319
445
|
'client-ui-message-feedback MessageFeedbackActions id \'feedback\'',
|
|
446
|
+
'client-ui-read-aloud ReadAloudAction id \'read-aloud\'',
|
|
320
447
|
],
|
|
321
448
|
replaceRisk: 'none',
|
|
322
449
|
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}',
|
|
323
|
-
source: 'packages/client/ui-chat/src/client/contract/slots.ts:
|
|
450
|
+
source: 'packages/client/ui-chat/src/client/contract/slots.ts:522',
|
|
324
451
|
},
|
|
325
452
|
{
|
|
326
453
|
key: 'conversation.chat.commandview',
|
|
@@ -350,10 +477,15 @@ export const CLIENT_SLOT_API: readonly ClientSlotEntry[] = [
|
|
|
350
477
|
'useContextMenu: UseContextMenu',
|
|
351
478
|
'useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>',
|
|
352
479
|
'usePanelInfo: UsePanelInfo',
|
|
480
|
+
'useDocumentPortal: () => FC<DocumentPortalProps>',
|
|
481
|
+
'useDocumentViewport: () => DocumentViewport',
|
|
482
|
+
'useMediaQuery: (query: string) => boolean',
|
|
483
|
+
'useMobile: () => boolean',
|
|
353
484
|
'useSessionStatus: UseSessionStatus',
|
|
354
485
|
'useSessions: UseSessions',
|
|
355
486
|
'useSessionRetainInfo: UseSessionRetainInfo',
|
|
356
487
|
'useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean',
|
|
488
|
+
'useTheme: SnapshotSelectorHook<ThemeSnapshot>',
|
|
357
489
|
'useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean',
|
|
358
490
|
'useChat: UseChat',
|
|
359
491
|
'useConversation: UseConversation',
|
|
@@ -374,7 +506,7 @@ export const CLIENT_SLOT_API: readonly ClientSlotEntry[] = [
|
|
|
374
506
|
],
|
|
375
507
|
replaceRisk: 'shadows-shipped-ui',
|
|
376
508
|
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}',
|
|
377
|
-
source: 'packages/client/ui-chat/src/client/contract/slots.ts:
|
|
509
|
+
source: 'packages/client/ui-chat/src/client/contract/slots.ts:502',
|
|
378
510
|
},
|
|
379
511
|
{
|
|
380
512
|
key: 'conversation.chat.flow',
|
|
@@ -384,7 +516,7 @@ export const CLIENT_SLOT_API: readonly ClientSlotEntry[] = [
|
|
|
384
516
|
doc: 'Ordered Chat rows and local echoes with viewport-bound visibility hooks.',
|
|
385
517
|
registerOptions: [],
|
|
386
518
|
ownerProps: [
|
|
387
|
-
'/** 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}',
|
|
519
|
+
'/** Ordered rows and reconciled local echoes rendered inside one Chat viewport. */\nexport interface ChatFlowOwnerProps extends Pick<ChatNodeOwnerProps,\n \'cwd\' | \'openFile\' | \'inspectCall\' | \'inspectRequest\' | \'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}',
|
|
388
520
|
],
|
|
389
521
|
ownerPropsReferences: [
|
|
390
522
|
'ChatNodeOwnerProps',
|
|
@@ -397,10 +529,15 @@ export const CLIENT_SLOT_API: readonly ClientSlotEntry[] = [
|
|
|
397
529
|
'useContextMenu: UseContextMenu',
|
|
398
530
|
'useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>',
|
|
399
531
|
'usePanelInfo: UsePanelInfo',
|
|
532
|
+
'useDocumentPortal: () => FC<DocumentPortalProps>',
|
|
533
|
+
'useDocumentViewport: () => DocumentViewport',
|
|
534
|
+
'useMediaQuery: (query: string) => boolean',
|
|
535
|
+
'useMobile: () => boolean',
|
|
400
536
|
'useSessionStatus: UseSessionStatus',
|
|
401
537
|
'useSessions: UseSessions',
|
|
402
538
|
'useSessionRetainInfo: UseSessionRetainInfo',
|
|
403
539
|
'useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean',
|
|
540
|
+
'useTheme: SnapshotSelectorHook<ThemeSnapshot>',
|
|
404
541
|
'useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean',
|
|
405
542
|
'useChat: UseChat',
|
|
406
543
|
'useConversation: UseConversation',
|
|
@@ -421,7 +558,7 @@ export const CLIENT_SLOT_API: readonly ClientSlotEntry[] = [
|
|
|
421
558
|
],
|
|
422
559
|
replaceRisk: 'shadows-shipped-ui',
|
|
423
560
|
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}',
|
|
424
|
-
source: 'packages/client/ui-chat/src/client/contract/slots.ts:
|
|
561
|
+
source: 'packages/client/ui-chat/src/client/contract/slots.ts:458',
|
|
425
562
|
},
|
|
426
563
|
{
|
|
427
564
|
key: 'conversation.chat.markdown.fence',
|
|
@@ -461,10 +598,15 @@ export const CLIENT_SLOT_API: readonly ClientSlotEntry[] = [
|
|
|
461
598
|
'useContextMenu: UseContextMenu',
|
|
462
599
|
'useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>',
|
|
463
600
|
'usePanelInfo: UsePanelInfo',
|
|
601
|
+
'useDocumentPortal: () => FC<DocumentPortalProps>',
|
|
602
|
+
'useDocumentViewport: () => DocumentViewport',
|
|
603
|
+
'useMediaQuery: (query: string) => boolean',
|
|
604
|
+
'useMobile: () => boolean',
|
|
464
605
|
'useSessionStatus: UseSessionStatus',
|
|
465
606
|
'useSessions: UseSessions',
|
|
466
607
|
'useSessionRetainInfo: UseSessionRetainInfo',
|
|
467
608
|
'useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean',
|
|
609
|
+
'useTheme: SnapshotSelectorHook<ThemeSnapshot>',
|
|
468
610
|
'useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean',
|
|
469
611
|
'useChat: UseChat',
|
|
470
612
|
'useConversation: UseConversation',
|
|
@@ -488,7 +630,7 @@ export const CLIENT_SLOT_API: readonly ClientSlotEntry[] = [
|
|
|
488
630
|
],
|
|
489
631
|
replaceRisk: 'wraps-owner-content',
|
|
490
632
|
example: 'return {\n inject: [\'slots\'],\n apply(ctx) {\n ctx.slots.inject(\'conversation.chat.markdown.fence\', () => ctx.slots.register(\n { name: \'conversation.chat.markdown.fence\', id: \'my-layer\', order: 100 },\n ({ children }) => React.createElement(\'div\', null, children),\n ))\n },\n}',
|
|
491
|
-
source: 'packages/client/ui-chat/src/client/contract/slots.ts:
|
|
633
|
+
source: 'packages/client/ui-chat/src/client/contract/slots.ts:441',
|
|
492
634
|
},
|
|
493
635
|
{
|
|
494
636
|
key: 'conversation.chat.message.images',
|
|
@@ -511,10 +653,15 @@ export const CLIENT_SLOT_API: readonly ClientSlotEntry[] = [
|
|
|
511
653
|
'useContextMenu: UseContextMenu',
|
|
512
654
|
'useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>',
|
|
513
655
|
'usePanelInfo: UsePanelInfo',
|
|
656
|
+
'useDocumentPortal: () => FC<DocumentPortalProps>',
|
|
657
|
+
'useDocumentViewport: () => DocumentViewport',
|
|
658
|
+
'useMediaQuery: (query: string) => boolean',
|
|
659
|
+
'useMobile: () => boolean',
|
|
514
660
|
'useSessionStatus: UseSessionStatus',
|
|
515
661
|
'useSessions: UseSessions',
|
|
516
662
|
'useSessionRetainInfo: UseSessionRetainInfo',
|
|
517
663
|
'useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean',
|
|
664
|
+
'useTheme: SnapshotSelectorHook<ThemeSnapshot>',
|
|
518
665
|
'useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean',
|
|
519
666
|
'useChat: UseChat',
|
|
520
667
|
'useConversation: UseConversation',
|
|
@@ -535,7 +682,7 @@ export const CLIENT_SLOT_API: readonly ClientSlotEntry[] = [
|
|
|
535
682
|
],
|
|
536
683
|
replaceRisk: 'shadows-shipped-ui',
|
|
537
684
|
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}',
|
|
538
|
-
source: 'packages/client/ui-chat/src/client/contract/slots.ts:
|
|
685
|
+
source: 'packages/client/ui-chat/src/client/contract/slots.ts:494',
|
|
539
686
|
},
|
|
540
687
|
{
|
|
541
688
|
key: 'conversation.chat.node',
|
|
@@ -552,7 +699,7 @@ export const CLIENT_SLOT_API: readonly ClientSlotEntry[] = [
|
|
|
552
699
|
},
|
|
553
700
|
],
|
|
554
701
|
ownerProps: [
|
|
555
|
-
'/** 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}',
|
|
702
|
+
'/** 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 /** Open one model request\'s inspector record; absent without an inspection target. */\n inspectRequest: ((turn: number, step: number) => 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 /**\n * Whether this Node\'s Turn shows its step runs behind group headers.\n * Process-level rows beside them match the header type size when true and the step-row size otherwise.\n * The Chat Node seat supplies it; other owners of this type omit it.\n */\n stepRunsGrouped?: boolean | undefined\n}',
|
|
556
703
|
],
|
|
557
704
|
ownerPropsReferences: [
|
|
558
705
|
'MessageImageLoader',
|
|
@@ -565,10 +712,15 @@ export const CLIENT_SLOT_API: readonly ClientSlotEntry[] = [
|
|
|
565
712
|
'useContextMenu: UseContextMenu',
|
|
566
713
|
'useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>',
|
|
567
714
|
'usePanelInfo: UsePanelInfo',
|
|
715
|
+
'useDocumentPortal: () => FC<DocumentPortalProps>',
|
|
716
|
+
'useDocumentViewport: () => DocumentViewport',
|
|
717
|
+
'useMediaQuery: (query: string) => boolean',
|
|
718
|
+
'useMobile: () => boolean',
|
|
568
719
|
'useSessionStatus: UseSessionStatus',
|
|
569
720
|
'useSessions: UseSessions',
|
|
570
721
|
'useSessionRetainInfo: UseSessionRetainInfo',
|
|
571
722
|
'useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean',
|
|
723
|
+
'useTheme: SnapshotSelectorHook<ThemeSnapshot>',
|
|
572
724
|
'useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean',
|
|
573
725
|
'useChat: UseChat',
|
|
574
726
|
'useConversation: UseConversation',
|
|
@@ -608,7 +760,7 @@ export const CLIENT_SLOT_API: readonly ClientSlotEntry[] = [
|
|
|
608
760
|
],
|
|
609
761
|
replaceRisk: 'shadows-shipped-ui',
|
|
610
762
|
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}',
|
|
611
|
-
source: 'packages/client/ui-chat/src/client/contract/slots.ts:
|
|
763
|
+
source: 'packages/client/ui-chat/src/client/contract/slots.ts:470',
|
|
612
764
|
},
|
|
613
765
|
{
|
|
614
766
|
key: 'conversation.chat.reasoning.body',
|
|
@@ -627,10 +779,15 @@ export const CLIENT_SLOT_API: readonly ClientSlotEntry[] = [
|
|
|
627
779
|
'useContextMenu: UseContextMenu',
|
|
628
780
|
'useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>',
|
|
629
781
|
'usePanelInfo: UsePanelInfo',
|
|
782
|
+
'useDocumentPortal: () => FC<DocumentPortalProps>',
|
|
783
|
+
'useDocumentViewport: () => DocumentViewport',
|
|
784
|
+
'useMediaQuery: (query: string) => boolean',
|
|
785
|
+
'useMobile: () => boolean',
|
|
630
786
|
'useSessionStatus: UseSessionStatus',
|
|
631
787
|
'useSessions: UseSessions',
|
|
632
788
|
'useSessionRetainInfo: UseSessionRetainInfo',
|
|
633
789
|
'useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean',
|
|
790
|
+
'useTheme: SnapshotSelectorHook<ThemeSnapshot>',
|
|
634
791
|
'useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean',
|
|
635
792
|
'useChat: UseChat',
|
|
636
793
|
'useConversation: UseConversation',
|
|
@@ -652,7 +809,7 @@ export const CLIENT_SLOT_API: readonly ClientSlotEntry[] = [
|
|
|
652
809
|
],
|
|
653
810
|
replaceRisk: 'shadows-shipped-ui',
|
|
654
811
|
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}',
|
|
655
|
-
source: 'packages/client/ui-chat/src/client/contract/slots.ts:
|
|
812
|
+
source: 'packages/client/ui-chat/src/client/contract/slots.ts:508',
|
|
656
813
|
},
|
|
657
814
|
{
|
|
658
815
|
key: 'conversation.chat.text-interaction',
|
|
@@ -680,10 +837,15 @@ export const CLIENT_SLOT_API: readonly ClientSlotEntry[] = [
|
|
|
680
837
|
'useContextMenu: UseContextMenu',
|
|
681
838
|
'useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>',
|
|
682
839
|
'usePanelInfo: UsePanelInfo',
|
|
840
|
+
'useDocumentPortal: () => FC<DocumentPortalProps>',
|
|
841
|
+
'useDocumentViewport: () => DocumentViewport',
|
|
842
|
+
'useMediaQuery: (query: string) => boolean',
|
|
843
|
+
'useMobile: () => boolean',
|
|
683
844
|
'useSessionStatus: UseSessionStatus',
|
|
684
845
|
'useSessions: UseSessions',
|
|
685
846
|
'useSessionRetainInfo: UseSessionRetainInfo',
|
|
686
847
|
'useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean',
|
|
848
|
+
'useTheme: SnapshotSelectorHook<ThemeSnapshot>',
|
|
687
849
|
'useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean',
|
|
688
850
|
'useChat: UseChat',
|
|
689
851
|
'useConversation: UseConversation',
|
|
@@ -704,7 +866,7 @@ export const CLIENT_SLOT_API: readonly ClientSlotEntry[] = [
|
|
|
704
866
|
],
|
|
705
867
|
replaceRisk: 'shadows-shipped-ui',
|
|
706
868
|
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}',
|
|
707
|
-
source: 'packages/client/ui-chat/src/client/contract/slots.ts:
|
|
869
|
+
source: 'packages/client/ui-chat/src/client/contract/slots.ts:439',
|
|
708
870
|
},
|
|
709
871
|
{
|
|
710
872
|
key: 'conversation.chat.turnTail',
|
|
@@ -744,10 +906,15 @@ export const CLIENT_SLOT_API: readonly ClientSlotEntry[] = [
|
|
|
744
906
|
'useContextMenu: UseContextMenu',
|
|
745
907
|
'useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>',
|
|
746
908
|
'usePanelInfo: UsePanelInfo',
|
|
909
|
+
'useDocumentPortal: () => FC<DocumentPortalProps>',
|
|
910
|
+
'useDocumentViewport: () => DocumentViewport',
|
|
911
|
+
'useMediaQuery: (query: string) => boolean',
|
|
912
|
+
'useMobile: () => boolean',
|
|
747
913
|
'useSessionStatus: UseSessionStatus',
|
|
748
914
|
'useSessions: UseSessions',
|
|
749
915
|
'useSessionRetainInfo: UseSessionRetainInfo',
|
|
750
916
|
'useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean',
|
|
917
|
+
'useTheme: SnapshotSelectorHook<ThemeSnapshot>',
|
|
751
918
|
'useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean',
|
|
752
919
|
'useChat: UseChat',
|
|
753
920
|
'useConversation: UseConversation',
|
|
@@ -771,7 +938,7 @@ export const CLIENT_SLOT_API: readonly ClientSlotEntry[] = [
|
|
|
771
938
|
],
|
|
772
939
|
replaceRisk: 'none',
|
|
773
940
|
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}',
|
|
774
|
-
source: 'packages/client/ui-chat/src/client/contract/slots.ts:
|
|
941
|
+
source: 'packages/client/ui-chat/src/client/contract/slots.ts:514',
|
|
775
942
|
},
|
|
776
943
|
{
|
|
777
944
|
key: 'conversation.chat.user.before',
|
|
@@ -797,10 +964,15 @@ export const CLIENT_SLOT_API: readonly ClientSlotEntry[] = [
|
|
|
797
964
|
'useContextMenu: UseContextMenu',
|
|
798
965
|
'useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>',
|
|
799
966
|
'usePanelInfo: UsePanelInfo',
|
|
967
|
+
'useDocumentPortal: () => FC<DocumentPortalProps>',
|
|
968
|
+
'useDocumentViewport: () => DocumentViewport',
|
|
969
|
+
'useMediaQuery: (query: string) => boolean',
|
|
970
|
+
'useMobile: () => boolean',
|
|
800
971
|
'useSessionStatus: UseSessionStatus',
|
|
801
972
|
'useSessions: UseSessions',
|
|
802
973
|
'useSessionRetainInfo: UseSessionRetainInfo',
|
|
803
974
|
'useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean',
|
|
975
|
+
'useTheme: SnapshotSelectorHook<ThemeSnapshot>',
|
|
804
976
|
'useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean',
|
|
805
977
|
'useChat: UseChat',
|
|
806
978
|
'useConversation: UseConversation',
|
|
@@ -821,7 +993,7 @@ export const CLIENT_SLOT_API: readonly ClientSlotEntry[] = [
|
|
|
821
993
|
],
|
|
822
994
|
replaceRisk: 'none',
|
|
823
995
|
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}',
|
|
824
|
-
source: 'packages/client/ui-chat/src/client/contract/slots.ts:
|
|
996
|
+
source: 'packages/client/ui-chat/src/client/contract/slots.ts:484',
|
|
825
997
|
},
|
|
826
998
|
{
|
|
827
999
|
key: 'conversation.chat.user.images',
|
|
@@ -844,10 +1016,15 @@ export const CLIENT_SLOT_API: readonly ClientSlotEntry[] = [
|
|
|
844
1016
|
'useContextMenu: UseContextMenu',
|
|
845
1017
|
'useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>',
|
|
846
1018
|
'usePanelInfo: UsePanelInfo',
|
|
1019
|
+
'useDocumentPortal: () => FC<DocumentPortalProps>',
|
|
1020
|
+
'useDocumentViewport: () => DocumentViewport',
|
|
1021
|
+
'useMediaQuery: (query: string) => boolean',
|
|
1022
|
+
'useMobile: () => boolean',
|
|
847
1023
|
'useSessionStatus: UseSessionStatus',
|
|
848
1024
|
'useSessions: UseSessions',
|
|
849
1025
|
'useSessionRetainInfo: UseSessionRetainInfo',
|
|
850
1026
|
'useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean',
|
|
1027
|
+
'useTheme: SnapshotSelectorHook<ThemeSnapshot>',
|
|
851
1028
|
'useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean',
|
|
852
1029
|
'useChat: UseChat',
|
|
853
1030
|
'useConversation: UseConversation',
|
|
@@ -868,7 +1045,7 @@ export const CLIENT_SLOT_API: readonly ClientSlotEntry[] = [
|
|
|
868
1045
|
],
|
|
869
1046
|
replaceRisk: 'shadows-shipped-ui',
|
|
870
1047
|
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}',
|
|
871
|
-
source: 'packages/client/ui-chat/src/client/contract/slots.ts:
|
|
1048
|
+
source: 'packages/client/ui-chat/src/client/contract/slots.ts:496',
|
|
872
1049
|
},
|
|
873
1050
|
{
|
|
874
1051
|
key: 'conversation.composer',
|
|
@@ -898,10 +1075,15 @@ export const CLIENT_SLOT_API: readonly ClientSlotEntry[] = [
|
|
|
898
1075
|
'useContextMenu: UseContextMenu',
|
|
899
1076
|
'useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>',
|
|
900
1077
|
'usePanelInfo: UsePanelInfo',
|
|
1078
|
+
'useDocumentPortal: () => FC<DocumentPortalProps>',
|
|
1079
|
+
'useDocumentViewport: () => DocumentViewport',
|
|
1080
|
+
'useMediaQuery: (query: string) => boolean',
|
|
1081
|
+
'useMobile: () => boolean',
|
|
901
1082
|
'useSessionStatus: UseSessionStatus',
|
|
902
1083
|
'useSessions: UseSessions',
|
|
903
1084
|
'useSessionRetainInfo: UseSessionRetainInfo',
|
|
904
1085
|
'useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean',
|
|
1086
|
+
'useTheme: SnapshotSelectorHook<ThemeSnapshot>',
|
|
905
1087
|
'useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean',
|
|
906
1088
|
'useChat: UseChat',
|
|
907
1089
|
'useConversation: UseConversation',
|
|
@@ -947,10 +1129,15 @@ export const CLIENT_SLOT_API: readonly ClientSlotEntry[] = [
|
|
|
947
1129
|
'useContextMenu: UseContextMenu',
|
|
948
1130
|
'useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>',
|
|
949
1131
|
'usePanelInfo: UsePanelInfo',
|
|
1132
|
+
'useDocumentPortal: () => FC<DocumentPortalProps>',
|
|
1133
|
+
'useDocumentViewport: () => DocumentViewport',
|
|
1134
|
+
'useMediaQuery: (query: string) => boolean',
|
|
1135
|
+
'useMobile: () => boolean',
|
|
950
1136
|
'useSessionStatus: UseSessionStatus',
|
|
951
1137
|
'useSessions: UseSessions',
|
|
952
1138
|
'useSessionRetainInfo: UseSessionRetainInfo',
|
|
953
1139
|
'useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean',
|
|
1140
|
+
'useTheme: SnapshotSelectorHook<ThemeSnapshot>',
|
|
954
1141
|
'useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean',
|
|
955
1142
|
'useConversation: MaybeSnapshotSelectorHook<ConversationSnapshot>',
|
|
956
1143
|
'useInput: MaybeSnapshotSelectorHook<InputState>',
|
|
@@ -1005,10 +1192,15 @@ export const CLIENT_SLOT_API: readonly ClientSlotEntry[] = [
|
|
|
1005
1192
|
'useContextMenu: UseContextMenu',
|
|
1006
1193
|
'useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>',
|
|
1007
1194
|
'usePanelInfo: UsePanelInfo',
|
|
1195
|
+
'useDocumentPortal: () => FC<DocumentPortalProps>',
|
|
1196
|
+
'useDocumentViewport: () => DocumentViewport',
|
|
1197
|
+
'useMediaQuery: (query: string) => boolean',
|
|
1198
|
+
'useMobile: () => boolean',
|
|
1008
1199
|
'useSessionStatus: UseSessionStatus',
|
|
1009
1200
|
'useSessions: UseSessions',
|
|
1010
1201
|
'useSessionRetainInfo: UseSessionRetainInfo',
|
|
1011
1202
|
'useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean',
|
|
1203
|
+
'useTheme: SnapshotSelectorHook<ThemeSnapshot>',
|
|
1012
1204
|
'useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean',
|
|
1013
1205
|
'useChat: UseChat',
|
|
1014
1206
|
'useConversation: UseConversation',
|
|
@@ -1047,10 +1239,15 @@ export const CLIENT_SLOT_API: readonly ClientSlotEntry[] = [
|
|
|
1047
1239
|
'useContextMenu: UseContextMenu',
|
|
1048
1240
|
'useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>',
|
|
1049
1241
|
'usePanelInfo: UsePanelInfo',
|
|
1242
|
+
'useDocumentPortal: () => FC<DocumentPortalProps>',
|
|
1243
|
+
'useDocumentViewport: () => DocumentViewport',
|
|
1244
|
+
'useMediaQuery: (query: string) => boolean',
|
|
1245
|
+
'useMobile: () => boolean',
|
|
1050
1246
|
'useSessionStatus: UseSessionStatus',
|
|
1051
1247
|
'useSessions: UseSessions',
|
|
1052
1248
|
'useSessionRetainInfo: UseSessionRetainInfo',
|
|
1053
1249
|
'useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean',
|
|
1250
|
+
'useTheme: SnapshotSelectorHook<ThemeSnapshot>',
|
|
1054
1251
|
'useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean',
|
|
1055
1252
|
'useConversation: MaybeSnapshotSelectorHook<ConversationSnapshot>',
|
|
1056
1253
|
'useInput: MaybeSnapshotSelectorHook<InputState>',
|
|
@@ -1088,10 +1285,15 @@ export const CLIENT_SLOT_API: readonly ClientSlotEntry[] = [
|
|
|
1088
1285
|
'useContextMenu: UseContextMenu',
|
|
1089
1286
|
'useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>',
|
|
1090
1287
|
'usePanelInfo: UsePanelInfo',
|
|
1288
|
+
'useDocumentPortal: () => FC<DocumentPortalProps>',
|
|
1289
|
+
'useDocumentViewport: () => DocumentViewport',
|
|
1290
|
+
'useMediaQuery: (query: string) => boolean',
|
|
1291
|
+
'useMobile: () => boolean',
|
|
1091
1292
|
'useSessionStatus: UseSessionStatus',
|
|
1092
1293
|
'useSessions: UseSessions',
|
|
1093
1294
|
'useSessionRetainInfo: UseSessionRetainInfo',
|
|
1094
1295
|
'useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean',
|
|
1296
|
+
'useTheme: SnapshotSelectorHook<ThemeSnapshot>',
|
|
1095
1297
|
'useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean',
|
|
1096
1298
|
],
|
|
1097
1299
|
keyDomain: '',
|
|
@@ -1120,10 +1322,15 @@ export const CLIENT_SLOT_API: readonly ClientSlotEntry[] = [
|
|
|
1120
1322
|
'useContextMenu: UseContextMenu',
|
|
1121
1323
|
'useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>',
|
|
1122
1324
|
'usePanelInfo: UsePanelInfo',
|
|
1325
|
+
'useDocumentPortal: () => FC<DocumentPortalProps>',
|
|
1326
|
+
'useDocumentViewport: () => DocumentViewport',
|
|
1327
|
+
'useMediaQuery: (query: string) => boolean',
|
|
1328
|
+
'useMobile: () => boolean',
|
|
1123
1329
|
'useSessionStatus: UseSessionStatus',
|
|
1124
1330
|
'useSessions: UseSessions',
|
|
1125
1331
|
'useSessionRetainInfo: UseSessionRetainInfo',
|
|
1126
1332
|
'useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean',
|
|
1333
|
+
'useTheme: SnapshotSelectorHook<ThemeSnapshot>',
|
|
1127
1334
|
'useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean',
|
|
1128
1335
|
'useConversation: MaybeSnapshotSelectorHook<ConversationSnapshot>',
|
|
1129
1336
|
'useInput: MaybeSnapshotSelectorHook<InputState>',
|
|
@@ -1152,7 +1359,7 @@ export const CLIENT_SLOT_API: readonly ClientSlotEntry[] = [
|
|
|
1152
1359
|
doc: 'Brand mark shown before the blank-session headline.',
|
|
1153
1360
|
registerOptions: [],
|
|
1154
1361
|
ownerProps: [
|
|
1155
|
-
'/** Brand-mark presentation selected by the blank home. */\nexport interface HeroBrandMarkOwnerProps {\n /** Requested square edge in pixels. */\n size: number\n
|
|
1362
|
+
'/** Brand-mark presentation selected by the blank home. */\nexport interface HeroBrandMarkOwnerProps {\n /** Requested square edge in pixels. */\n size: number\n}',
|
|
1156
1363
|
],
|
|
1157
1364
|
ownerPropsReferences: [],
|
|
1158
1365
|
standardProps: [
|
|
@@ -1161,10 +1368,15 @@ export const CLIENT_SLOT_API: readonly ClientSlotEntry[] = [
|
|
|
1161
1368
|
'useContextMenu: UseContextMenu',
|
|
1162
1369
|
'useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>',
|
|
1163
1370
|
'usePanelInfo: UsePanelInfo',
|
|
1371
|
+
'useDocumentPortal: () => FC<DocumentPortalProps>',
|
|
1372
|
+
'useDocumentViewport: () => DocumentViewport',
|
|
1373
|
+
'useMediaQuery: (query: string) => boolean',
|
|
1374
|
+
'useMobile: () => boolean',
|
|
1164
1375
|
'useSessionStatus: UseSessionStatus',
|
|
1165
1376
|
'useSessions: UseSessions',
|
|
1166
1377
|
'useSessionRetainInfo: UseSessionRetainInfo',
|
|
1167
1378
|
'useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean',
|
|
1379
|
+
'useTheme: SnapshotSelectorHook<ThemeSnapshot>',
|
|
1168
1380
|
'useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean',
|
|
1169
1381
|
],
|
|
1170
1382
|
keyDomain: '',
|
|
@@ -1212,10 +1424,15 @@ export const CLIENT_SLOT_API: readonly ClientSlotEntry[] = [
|
|
|
1212
1424
|
'useContextMenu: UseContextMenu',
|
|
1213
1425
|
'useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>',
|
|
1214
1426
|
'usePanelInfo: UsePanelInfo',
|
|
1427
|
+
'useDocumentPortal: () => FC<DocumentPortalProps>',
|
|
1428
|
+
'useDocumentViewport: () => DocumentViewport',
|
|
1429
|
+
'useMediaQuery: (query: string) => boolean',
|
|
1430
|
+
'useMobile: () => boolean',
|
|
1215
1431
|
'useSessionStatus: UseSessionStatus',
|
|
1216
1432
|
'useSessions: UseSessions',
|
|
1217
1433
|
'useSessionRetainInfo: UseSessionRetainInfo',
|
|
1218
1434
|
'useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean',
|
|
1435
|
+
'useTheme: SnapshotSelectorHook<ThemeSnapshot>',
|
|
1219
1436
|
'useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean',
|
|
1220
1437
|
],
|
|
1221
1438
|
keyDomain: '',
|
|
@@ -1263,10 +1480,15 @@ export const CLIENT_SLOT_API: readonly ClientSlotEntry[] = [
|
|
|
1263
1480
|
'useContextMenu: UseContextMenu',
|
|
1264
1481
|
'useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>',
|
|
1265
1482
|
'usePanelInfo: UsePanelInfo',
|
|
1483
|
+
'useDocumentPortal: () => FC<DocumentPortalProps>',
|
|
1484
|
+
'useDocumentViewport: () => DocumentViewport',
|
|
1485
|
+
'useMediaQuery: (query: string) => boolean',
|
|
1486
|
+
'useMobile: () => boolean',
|
|
1266
1487
|
'useSessionStatus: UseSessionStatus',
|
|
1267
1488
|
'useSessions: UseSessions',
|
|
1268
1489
|
'useSessionRetainInfo: UseSessionRetainInfo',
|
|
1269
1490
|
'useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean',
|
|
1491
|
+
'useTheme: SnapshotSelectorHook<ThemeSnapshot>',
|
|
1270
1492
|
'useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean',
|
|
1271
1493
|
'useChat: UseChat',
|
|
1272
1494
|
'useConversation: UseConversation',
|
|
@@ -1297,7 +1519,7 @@ export const CLIENT_SLOT_API: readonly ClientSlotEntry[] = [
|
|
|
1297
1519
|
doc: 'Workspace picker shown by the blank-session Hero.',
|
|
1298
1520
|
registerOptions: [],
|
|
1299
1521
|
ownerProps: [
|
|
1300
|
-
'/** Owner share common to blank-session Workspace pickers. */\nexport interface EmptyWorkspaceOwnerProps {\n open: boolean\n anchorRef?: RefObject<HTMLElement>\n /** Currently selected Workspace, when available. */\n selectedId?: WorkspaceId | undefined\n onPick: (workspaceId: WorkspaceId) => void\n onClose: () => void\n}',
|
|
1522
|
+
'/** Owner share common to blank-session Workspace pickers. */\nexport interface EmptyWorkspaceOwnerProps {\n open: boolean\n anchorRef?: RefObject<HTMLElement | null>\n /** Currently selected Workspace, when available. */\n selectedId?: WorkspaceId | undefined\n onPick: (workspaceId: WorkspaceId) => void\n onClose: () => void\n}',
|
|
1301
1523
|
],
|
|
1302
1524
|
ownerPropsReferences: [
|
|
1303
1525
|
'Workspace',
|
|
@@ -1308,10 +1530,15 @@ export const CLIENT_SLOT_API: readonly ClientSlotEntry[] = [
|
|
|
1308
1530
|
'useContextMenu: UseContextMenu',
|
|
1309
1531
|
'useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>',
|
|
1310
1532
|
'usePanelInfo: UsePanelInfo',
|
|
1533
|
+
'useDocumentPortal: () => FC<DocumentPortalProps>',
|
|
1534
|
+
'useDocumentViewport: () => DocumentViewport',
|
|
1535
|
+
'useMediaQuery: (query: string) => boolean',
|
|
1536
|
+
'useMobile: () => boolean',
|
|
1311
1537
|
'useSessionStatus: UseSessionStatus',
|
|
1312
1538
|
'useSessions: UseSessions',
|
|
1313
1539
|
'useSessionRetainInfo: UseSessionRetainInfo',
|
|
1314
1540
|
'useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean',
|
|
1541
|
+
'useTheme: SnapshotSelectorHook<ThemeSnapshot>',
|
|
1315
1542
|
'useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean',
|
|
1316
1543
|
],
|
|
1317
1544
|
keyDomain: '',
|
|
@@ -1342,10 +1569,15 @@ export const CLIENT_SLOT_API: readonly ClientSlotEntry[] = [
|
|
|
1342
1569
|
'useContextMenu: UseContextMenu',
|
|
1343
1570
|
'useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>',
|
|
1344
1571
|
'usePanelInfo: UsePanelInfo',
|
|
1572
|
+
'useDocumentPortal: () => FC<DocumentPortalProps>',
|
|
1573
|
+
'useDocumentViewport: () => DocumentViewport',
|
|
1574
|
+
'useMediaQuery: (query: string) => boolean',
|
|
1575
|
+
'useMobile: () => boolean',
|
|
1345
1576
|
'useSessionStatus: UseSessionStatus',
|
|
1346
1577
|
'useSessions: UseSessions',
|
|
1347
1578
|
'useSessionRetainInfo: UseSessionRetainInfo',
|
|
1348
1579
|
'useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean',
|
|
1580
|
+
'useTheme: SnapshotSelectorHook<ThemeSnapshot>',
|
|
1349
1581
|
'useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean',
|
|
1350
1582
|
],
|
|
1351
1583
|
keyDomain: '',
|
|
@@ -1379,10 +1611,15 @@ export const CLIENT_SLOT_API: readonly ClientSlotEntry[] = [
|
|
|
1379
1611
|
'useContextMenu: UseContextMenu',
|
|
1380
1612
|
'useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>',
|
|
1381
1613
|
'usePanelInfo: UsePanelInfo',
|
|
1614
|
+
'useDocumentPortal: () => FC<DocumentPortalProps>',
|
|
1615
|
+
'useDocumentViewport: () => DocumentViewport',
|
|
1616
|
+
'useMediaQuery: (query: string) => boolean',
|
|
1617
|
+
'useMobile: () => boolean',
|
|
1382
1618
|
'useSessionStatus: UseSessionStatus',
|
|
1383
1619
|
'useSessions: UseSessions',
|
|
1384
1620
|
'useSessionRetainInfo: UseSessionRetainInfo',
|
|
1385
1621
|
'useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean',
|
|
1622
|
+
'useTheme: SnapshotSelectorHook<ThemeSnapshot>',
|
|
1386
1623
|
'useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean',
|
|
1387
1624
|
'useChat: UseChat',
|
|
1388
1625
|
'useConversation: UseConversation',
|
|
@@ -1426,10 +1663,15 @@ export const CLIENT_SLOT_API: readonly ClientSlotEntry[] = [
|
|
|
1426
1663
|
'useContextMenu: UseContextMenu',
|
|
1427
1664
|
'useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>',
|
|
1428
1665
|
'usePanelInfo: UsePanelInfo',
|
|
1666
|
+
'useDocumentPortal: () => FC<DocumentPortalProps>',
|
|
1667
|
+
'useDocumentViewport: () => DocumentViewport',
|
|
1668
|
+
'useMediaQuery: (query: string) => boolean',
|
|
1669
|
+
'useMobile: () => boolean',
|
|
1429
1670
|
'useSessionStatus: UseSessionStatus',
|
|
1430
1671
|
'useSessions: UseSessions',
|
|
1431
1672
|
'useSessionRetainInfo: UseSessionRetainInfo',
|
|
1432
1673
|
'useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean',
|
|
1674
|
+
'useTheme: SnapshotSelectorHook<ThemeSnapshot>',
|
|
1433
1675
|
'useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean',
|
|
1434
1676
|
'useConversation: MaybeSnapshotSelectorHook<ConversationSnapshot>',
|
|
1435
1677
|
'useInput: MaybeSnapshotSelectorHook<InputState>',
|
|
@@ -1489,10 +1731,15 @@ export const CLIENT_SLOT_API: readonly ClientSlotEntry[] = [
|
|
|
1489
1731
|
'useContextMenu: UseContextMenu',
|
|
1490
1732
|
'useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>',
|
|
1491
1733
|
'usePanelInfo: UsePanelInfo',
|
|
1734
|
+
'useDocumentPortal: () => FC<DocumentPortalProps>',
|
|
1735
|
+
'useDocumentViewport: () => DocumentViewport',
|
|
1736
|
+
'useMediaQuery: (query: string) => boolean',
|
|
1737
|
+
'useMobile: () => boolean',
|
|
1492
1738
|
'useSessionStatus: UseSessionStatus',
|
|
1493
1739
|
'useSessions: UseSessions',
|
|
1494
1740
|
'useSessionRetainInfo: UseSessionRetainInfo',
|
|
1495
1741
|
'useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean',
|
|
1742
|
+
'useTheme: SnapshotSelectorHook<ThemeSnapshot>',
|
|
1496
1743
|
'useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean',
|
|
1497
1744
|
'useChat: UseChat',
|
|
1498
1745
|
'useConversation: UseConversation',
|
|
@@ -1554,10 +1801,15 @@ export const CLIENT_SLOT_API: readonly ClientSlotEntry[] = [
|
|
|
1554
1801
|
'useContextMenu: UseContextMenu',
|
|
1555
1802
|
'useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>',
|
|
1556
1803
|
'usePanelInfo: UsePanelInfo',
|
|
1804
|
+
'useDocumentPortal: () => FC<DocumentPortalProps>',
|
|
1805
|
+
'useDocumentViewport: () => DocumentViewport',
|
|
1806
|
+
'useMediaQuery: (query: string) => boolean',
|
|
1807
|
+
'useMobile: () => boolean',
|
|
1557
1808
|
'useSessionStatus: UseSessionStatus',
|
|
1558
1809
|
'useSessions: UseSessions',
|
|
1559
1810
|
'useSessionRetainInfo: UseSessionRetainInfo',
|
|
1560
1811
|
'useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean',
|
|
1812
|
+
'useTheme: SnapshotSelectorHook<ThemeSnapshot>',
|
|
1561
1813
|
'useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean',
|
|
1562
1814
|
'useChat: UseChat',
|
|
1563
1815
|
'useConversation: UseConversation',
|
|
@@ -1595,10 +1847,15 @@ export const CLIENT_SLOT_API: readonly ClientSlotEntry[] = [
|
|
|
1595
1847
|
'useContextMenu: UseContextMenu',
|
|
1596
1848
|
'useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>',
|
|
1597
1849
|
'usePanelInfo: UsePanelInfo',
|
|
1850
|
+
'useDocumentPortal: () => FC<DocumentPortalProps>',
|
|
1851
|
+
'useDocumentViewport: () => DocumentViewport',
|
|
1852
|
+
'useMediaQuery: (query: string) => boolean',
|
|
1853
|
+
'useMobile: () => boolean',
|
|
1598
1854
|
'useSessionStatus: UseSessionStatus',
|
|
1599
1855
|
'useSessions: UseSessions',
|
|
1600
1856
|
'useSessionRetainInfo: UseSessionRetainInfo',
|
|
1601
1857
|
'useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean',
|
|
1858
|
+
'useTheme: SnapshotSelectorHook<ThemeSnapshot>',
|
|
1602
1859
|
'useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean',
|
|
1603
1860
|
'useChat: UseChat',
|
|
1604
1861
|
'useConversation: UseConversation',
|
|
@@ -1642,10 +1899,15 @@ export const CLIENT_SLOT_API: readonly ClientSlotEntry[] = [
|
|
|
1642
1899
|
'useContextMenu: UseContextMenu',
|
|
1643
1900
|
'useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>',
|
|
1644
1901
|
'usePanelInfo: UsePanelInfo',
|
|
1902
|
+
'useDocumentPortal: () => FC<DocumentPortalProps>',
|
|
1903
|
+
'useDocumentViewport: () => DocumentViewport',
|
|
1904
|
+
'useMediaQuery: (query: string) => boolean',
|
|
1905
|
+
'useMobile: () => boolean',
|
|
1645
1906
|
'useSessionStatus: UseSessionStatus',
|
|
1646
1907
|
'useSessions: UseSessions',
|
|
1647
1908
|
'useSessionRetainInfo: UseSessionRetainInfo',
|
|
1648
1909
|
'useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean',
|
|
1910
|
+
'useTheme: SnapshotSelectorHook<ThemeSnapshot>',
|
|
1649
1911
|
'useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean',
|
|
1650
1912
|
'useChat: UseChat',
|
|
1651
1913
|
'useConversation: UseConversation',
|
|
@@ -1705,10 +1967,15 @@ export const CLIENT_SLOT_API: readonly ClientSlotEntry[] = [
|
|
|
1705
1967
|
'useContextMenu: UseContextMenu',
|
|
1706
1968
|
'useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>',
|
|
1707
1969
|
'usePanelInfo: UsePanelInfo',
|
|
1970
|
+
'useDocumentPortal: () => FC<DocumentPortalProps>',
|
|
1971
|
+
'useDocumentViewport: () => DocumentViewport',
|
|
1972
|
+
'useMediaQuery: (query: string) => boolean',
|
|
1973
|
+
'useMobile: () => boolean',
|
|
1708
1974
|
'useSessionStatus: UseSessionStatus',
|
|
1709
1975
|
'useSessions: UseSessions',
|
|
1710
1976
|
'useSessionRetainInfo: UseSessionRetainInfo',
|
|
1711
1977
|
'useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean',
|
|
1978
|
+
'useTheme: SnapshotSelectorHook<ThemeSnapshot>',
|
|
1712
1979
|
'useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean',
|
|
1713
1980
|
'useChat: UseChat',
|
|
1714
1981
|
'useConversation: UseConversation',
|
|
@@ -1755,10 +2022,15 @@ export const CLIENT_SLOT_API: readonly ClientSlotEntry[] = [
|
|
|
1755
2022
|
'useContextMenu: UseContextMenu',
|
|
1756
2023
|
'useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>',
|
|
1757
2024
|
'usePanelInfo: UsePanelInfo',
|
|
2025
|
+
'useDocumentPortal: () => FC<DocumentPortalProps>',
|
|
2026
|
+
'useDocumentViewport: () => DocumentViewport',
|
|
2027
|
+
'useMediaQuery: (query: string) => boolean',
|
|
2028
|
+
'useMobile: () => boolean',
|
|
1758
2029
|
'useSessionStatus: UseSessionStatus',
|
|
1759
2030
|
'useSessions: UseSessions',
|
|
1760
2031
|
'useSessionRetainInfo: UseSessionRetainInfo',
|
|
1761
2032
|
'useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean',
|
|
2033
|
+
'useTheme: SnapshotSelectorHook<ThemeSnapshot>',
|
|
1762
2034
|
'useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean',
|
|
1763
2035
|
'useChat: UseChat',
|
|
1764
2036
|
'useConversation: UseConversation',
|
|
@@ -1815,10 +2087,15 @@ export const CLIENT_SLOT_API: readonly ClientSlotEntry[] = [
|
|
|
1815
2087
|
'useContextMenu: UseContextMenu',
|
|
1816
2088
|
'useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>',
|
|
1817
2089
|
'usePanelInfo: UsePanelInfo',
|
|
2090
|
+
'useDocumentPortal: () => FC<DocumentPortalProps>',
|
|
2091
|
+
'useDocumentViewport: () => DocumentViewport',
|
|
2092
|
+
'useMediaQuery: (query: string) => boolean',
|
|
2093
|
+
'useMobile: () => boolean',
|
|
1818
2094
|
'useSessionStatus: UseSessionStatus',
|
|
1819
2095
|
'useSessions: UseSessions',
|
|
1820
2096
|
'useSessionRetainInfo: UseSessionRetainInfo',
|
|
1821
2097
|
'useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean',
|
|
2098
|
+
'useTheme: SnapshotSelectorHook<ThemeSnapshot>',
|
|
1822
2099
|
'useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean',
|
|
1823
2100
|
'useChat: UseChat',
|
|
1824
2101
|
'useConversation: UseConversation',
|
|
@@ -1838,6 +2115,7 @@ export const CLIENT_SLOT_API: readonly ClientSlotEntry[] = [
|
|
|
1838
2115
|
'client-ui-commands PopupSelectView id \'command-popup\'',
|
|
1839
2116
|
'client-ui-input-trigger MenuView id \'slash-menu\'',
|
|
1840
2117
|
'client-ui-message-feedback FeedbackDialog id \'feedback-dialog\'',
|
|
2118
|
+
'client-ui-read-aloud ReadAloudNotice id \'read-aloud-notice\'',
|
|
1841
2119
|
],
|
|
1842
2120
|
replaceRisk: 'none',
|
|
1843
2121
|
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}',
|
|
@@ -1860,10 +2138,15 @@ export const CLIENT_SLOT_API: readonly ClientSlotEntry[] = [
|
|
|
1860
2138
|
'useContextMenu: UseContextMenu',
|
|
1861
2139
|
'useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>',
|
|
1862
2140
|
'usePanelInfo: UsePanelInfo',
|
|
2141
|
+
'useDocumentPortal: () => FC<DocumentPortalProps>',
|
|
2142
|
+
'useDocumentViewport: () => DocumentViewport',
|
|
2143
|
+
'useMediaQuery: (query: string) => boolean',
|
|
2144
|
+
'useMobile: () => boolean',
|
|
1863
2145
|
'useSessionStatus: UseSessionStatus',
|
|
1864
2146
|
'useSessions: UseSessions',
|
|
1865
2147
|
'useSessionRetainInfo: UseSessionRetainInfo',
|
|
1866
2148
|
'useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean',
|
|
2149
|
+
'useTheme: SnapshotSelectorHook<ThemeSnapshot>',
|
|
1867
2150
|
'useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean',
|
|
1868
2151
|
'useChat: UseChat',
|
|
1869
2152
|
'useConversation: UseConversation',
|
|
@@ -1913,10 +2196,15 @@ export const CLIENT_SLOT_API: readonly ClientSlotEntry[] = [
|
|
|
1913
2196
|
'useContextMenu: UseContextMenu',
|
|
1914
2197
|
'useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>',
|
|
1915
2198
|
'usePanelInfo: UsePanelInfo',
|
|
2199
|
+
'useDocumentPortal: () => FC<DocumentPortalProps>',
|
|
2200
|
+
'useDocumentViewport: () => DocumentViewport',
|
|
2201
|
+
'useMediaQuery: (query: string) => boolean',
|
|
2202
|
+
'useMobile: () => boolean',
|
|
1916
2203
|
'useSessionStatus: UseSessionStatus',
|
|
1917
2204
|
'useSessions: UseSessions',
|
|
1918
2205
|
'useSessionRetainInfo: UseSessionRetainInfo',
|
|
1919
2206
|
'useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean',
|
|
2207
|
+
'useTheme: SnapshotSelectorHook<ThemeSnapshot>',
|
|
1920
2208
|
'useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean',
|
|
1921
2209
|
'useChat: UseChat',
|
|
1922
2210
|
'useConversation: UseConversation',
|
|
@@ -1954,10 +2242,15 @@ export const CLIENT_SLOT_API: readonly ClientSlotEntry[] = [
|
|
|
1954
2242
|
'useContextMenu: UseContextMenu',
|
|
1955
2243
|
'useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>',
|
|
1956
2244
|
'usePanelInfo: UsePanelInfo',
|
|
2245
|
+
'useDocumentPortal: () => FC<DocumentPortalProps>',
|
|
2246
|
+
'useDocumentViewport: () => DocumentViewport',
|
|
2247
|
+
'useMediaQuery: (query: string) => boolean',
|
|
2248
|
+
'useMobile: () => boolean',
|
|
1957
2249
|
'useSessionStatus: UseSessionStatus',
|
|
1958
2250
|
'useSessions: UseSessions',
|
|
1959
2251
|
'useSessionRetainInfo: UseSessionRetainInfo',
|
|
1960
2252
|
'useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean',
|
|
2253
|
+
'useTheme: SnapshotSelectorHook<ThemeSnapshot>',
|
|
1961
2254
|
'useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean',
|
|
1962
2255
|
'useChat: UseChat',
|
|
1963
2256
|
'useConversation: UseConversation',
|
|
@@ -2014,10 +2307,15 @@ export const CLIENT_SLOT_API: readonly ClientSlotEntry[] = [
|
|
|
2014
2307
|
'useContextMenu: UseContextMenu',
|
|
2015
2308
|
'useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>',
|
|
2016
2309
|
'usePanelInfo: UsePanelInfo',
|
|
2310
|
+
'useDocumentPortal: () => FC<DocumentPortalProps>',
|
|
2311
|
+
'useDocumentViewport: () => DocumentViewport',
|
|
2312
|
+
'useMediaQuery: (query: string) => boolean',
|
|
2313
|
+
'useMobile: () => boolean',
|
|
2017
2314
|
'useSessionStatus: UseSessionStatus',
|
|
2018
2315
|
'useSessions: UseSessions',
|
|
2019
2316
|
'useSessionRetainInfo: UseSessionRetainInfo',
|
|
2020
2317
|
'useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean',
|
|
2318
|
+
'useTheme: SnapshotSelectorHook<ThemeSnapshot>',
|
|
2021
2319
|
'useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean',
|
|
2022
2320
|
'useChat: UseChat',
|
|
2023
2321
|
'useConversation: UseConversation',
|
|
@@ -2074,10 +2372,15 @@ export const CLIENT_SLOT_API: readonly ClientSlotEntry[] = [
|
|
|
2074
2372
|
'useContextMenu: UseContextMenu',
|
|
2075
2373
|
'useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>',
|
|
2076
2374
|
'usePanelInfo: UsePanelInfo',
|
|
2375
|
+
'useDocumentPortal: () => FC<DocumentPortalProps>',
|
|
2376
|
+
'useDocumentViewport: () => DocumentViewport',
|
|
2377
|
+
'useMediaQuery: (query: string) => boolean',
|
|
2378
|
+
'useMobile: () => boolean',
|
|
2077
2379
|
'useSessionStatus: UseSessionStatus',
|
|
2078
2380
|
'useSessions: UseSessions',
|
|
2079
2381
|
'useSessionRetainInfo: UseSessionRetainInfo',
|
|
2080
2382
|
'useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean',
|
|
2383
|
+
'useTheme: SnapshotSelectorHook<ThemeSnapshot>',
|
|
2081
2384
|
'useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean',
|
|
2082
2385
|
'useChat: UseChat',
|
|
2083
2386
|
'useConversation: UseConversation',
|
|
@@ -2115,10 +2418,15 @@ export const CLIENT_SLOT_API: readonly ClientSlotEntry[] = [
|
|
|
2115
2418
|
'useContextMenu: UseContextMenu',
|
|
2116
2419
|
'useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>',
|
|
2117
2420
|
'usePanelInfo: UsePanelInfo',
|
|
2421
|
+
'useDocumentPortal: () => FC<DocumentPortalProps>',
|
|
2422
|
+
'useDocumentViewport: () => DocumentViewport',
|
|
2423
|
+
'useMediaQuery: (query: string) => boolean',
|
|
2424
|
+
'useMobile: () => boolean',
|
|
2118
2425
|
'useSessionStatus: UseSessionStatus',
|
|
2119
2426
|
'useSessions: UseSessions',
|
|
2120
2427
|
'useSessionRetainInfo: UseSessionRetainInfo',
|
|
2121
2428
|
'useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean',
|
|
2429
|
+
'useTheme: SnapshotSelectorHook<ThemeSnapshot>',
|
|
2122
2430
|
'useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean',
|
|
2123
2431
|
'useChat: UseChat',
|
|
2124
2432
|
'useConversation: UseConversation',
|
|
@@ -2156,10 +2464,15 @@ export const CLIENT_SLOT_API: readonly ClientSlotEntry[] = [
|
|
|
2156
2464
|
'useContextMenu: UseContextMenu',
|
|
2157
2465
|
'useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>',
|
|
2158
2466
|
'usePanelInfo: UsePanelInfo',
|
|
2467
|
+
'useDocumentPortal: () => FC<DocumentPortalProps>',
|
|
2468
|
+
'useDocumentViewport: () => DocumentViewport',
|
|
2469
|
+
'useMediaQuery: (query: string) => boolean',
|
|
2470
|
+
'useMobile: () => boolean',
|
|
2159
2471
|
'useSessionStatus: UseSessionStatus',
|
|
2160
2472
|
'useSessions: UseSessions',
|
|
2161
2473
|
'useSessionRetainInfo: UseSessionRetainInfo',
|
|
2162
2474
|
'useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean',
|
|
2475
|
+
'useTheme: SnapshotSelectorHook<ThemeSnapshot>',
|
|
2163
2476
|
'useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean',
|
|
2164
2477
|
'useChat: UseChat',
|
|
2165
2478
|
'useConversation: UseConversation',
|
|
@@ -2218,10 +2531,15 @@ export const CLIENT_SLOT_API: readonly ClientSlotEntry[] = [
|
|
|
2218
2531
|
'useContextMenu: UseContextMenu',
|
|
2219
2532
|
'useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>',
|
|
2220
2533
|
'usePanelInfo: UsePanelInfo',
|
|
2534
|
+
'useDocumentPortal: () => FC<DocumentPortalProps>',
|
|
2535
|
+
'useDocumentViewport: () => DocumentViewport',
|
|
2536
|
+
'useMediaQuery: (query: string) => boolean',
|
|
2537
|
+
'useMobile: () => boolean',
|
|
2221
2538
|
'useSessionStatus: UseSessionStatus',
|
|
2222
2539
|
'useSessions: UseSessions',
|
|
2223
2540
|
'useSessionRetainInfo: UseSessionRetainInfo',
|
|
2224
2541
|
'useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean',
|
|
2542
|
+
'useTheme: SnapshotSelectorHook<ThemeSnapshot>',
|
|
2225
2543
|
'useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean',
|
|
2226
2544
|
'useChat: UseChat',
|
|
2227
2545
|
'useConversation: UseConversation',
|
|
@@ -2262,10 +2580,15 @@ export const CLIENT_SLOT_API: readonly ClientSlotEntry[] = [
|
|
|
2262
2580
|
'useContextMenu: UseContextMenu',
|
|
2263
2581
|
'useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>',
|
|
2264
2582
|
'usePanelInfo: UsePanelInfo',
|
|
2583
|
+
'useDocumentPortal: () => FC<DocumentPortalProps>',
|
|
2584
|
+
'useDocumentViewport: () => DocumentViewport',
|
|
2585
|
+
'useMediaQuery: (query: string) => boolean',
|
|
2586
|
+
'useMobile: () => boolean',
|
|
2265
2587
|
'useSessionStatus: UseSessionStatus',
|
|
2266
2588
|
'useSessions: UseSessions',
|
|
2267
2589
|
'useSessionRetainInfo: UseSessionRetainInfo',
|
|
2268
2590
|
'useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean',
|
|
2591
|
+
'useTheme: SnapshotSelectorHook<ThemeSnapshot>',
|
|
2269
2592
|
'useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean',
|
|
2270
2593
|
'useChat: UseChat',
|
|
2271
2594
|
'useConversation: UseConversation',
|
|
@@ -2307,10 +2630,15 @@ export const CLIENT_SLOT_API: readonly ClientSlotEntry[] = [
|
|
|
2307
2630
|
'useContextMenu: UseContextMenu',
|
|
2308
2631
|
'useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>',
|
|
2309
2632
|
'usePanelInfo: UsePanelInfo',
|
|
2633
|
+
'useDocumentPortal: () => FC<DocumentPortalProps>',
|
|
2634
|
+
'useDocumentViewport: () => DocumentViewport',
|
|
2635
|
+
'useMediaQuery: (query: string) => boolean',
|
|
2636
|
+
'useMobile: () => boolean',
|
|
2310
2637
|
'useSessionStatus: UseSessionStatus',
|
|
2311
2638
|
'useSessions: UseSessions',
|
|
2312
2639
|
'useSessionRetainInfo: UseSessionRetainInfo',
|
|
2313
2640
|
'useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean',
|
|
2641
|
+
'useTheme: SnapshotSelectorHook<ThemeSnapshot>',
|
|
2314
2642
|
'useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean',
|
|
2315
2643
|
'useChat: UseChat',
|
|
2316
2644
|
'useConversation: UseConversation',
|
|
@@ -2369,10 +2697,15 @@ export const CLIENT_SLOT_API: readonly ClientSlotEntry[] = [
|
|
|
2369
2697
|
'useContextMenu: UseContextMenu',
|
|
2370
2698
|
'useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>',
|
|
2371
2699
|
'usePanelInfo: UsePanelInfo',
|
|
2700
|
+
'useDocumentPortal: () => FC<DocumentPortalProps>',
|
|
2701
|
+
'useDocumentViewport: () => DocumentViewport',
|
|
2702
|
+
'useMediaQuery: (query: string) => boolean',
|
|
2703
|
+
'useMobile: () => boolean',
|
|
2372
2704
|
'useSessionStatus: UseSessionStatus',
|
|
2373
2705
|
'useSessions: UseSessions',
|
|
2374
2706
|
'useSessionRetainInfo: UseSessionRetainInfo',
|
|
2375
2707
|
'useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean',
|
|
2708
|
+
'useTheme: SnapshotSelectorHook<ThemeSnapshot>',
|
|
2376
2709
|
'useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean',
|
|
2377
2710
|
'useChat: UseChat',
|
|
2378
2711
|
'useConversation: UseConversation',
|
|
@@ -2435,10 +2768,15 @@ export const CLIENT_SLOT_API: readonly ClientSlotEntry[] = [
|
|
|
2435
2768
|
'useContextMenu: UseContextMenu',
|
|
2436
2769
|
'useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>',
|
|
2437
2770
|
'usePanelInfo: UsePanelInfo',
|
|
2771
|
+
'useDocumentPortal: () => FC<DocumentPortalProps>',
|
|
2772
|
+
'useDocumentViewport: () => DocumentViewport',
|
|
2773
|
+
'useMediaQuery: (query: string) => boolean',
|
|
2774
|
+
'useMobile: () => boolean',
|
|
2438
2775
|
'useSessionStatus: UseSessionStatus',
|
|
2439
2776
|
'useSessions: UseSessions',
|
|
2440
2777
|
'useSessionRetainInfo: UseSessionRetainInfo',
|
|
2441
2778
|
'useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean',
|
|
2779
|
+
'useTheme: SnapshotSelectorHook<ThemeSnapshot>',
|
|
2442
2780
|
'useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean',
|
|
2443
2781
|
],
|
|
2444
2782
|
keyDomain: '',
|
|
@@ -2490,10 +2828,15 @@ export const CLIENT_SLOT_API: readonly ClientSlotEntry[] = [
|
|
|
2490
2828
|
'useContextMenu: UseContextMenu',
|
|
2491
2829
|
'useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>',
|
|
2492
2830
|
'usePanelInfo: UsePanelInfo',
|
|
2831
|
+
'useDocumentPortal: () => FC<DocumentPortalProps>',
|
|
2832
|
+
'useDocumentViewport: () => DocumentViewport',
|
|
2833
|
+
'useMediaQuery: (query: string) => boolean',
|
|
2834
|
+
'useMobile: () => boolean',
|
|
2493
2835
|
'useSessionStatus: UseSessionStatus',
|
|
2494
2836
|
'useSessions: UseSessions',
|
|
2495
2837
|
'useSessionRetainInfo: UseSessionRetainInfo',
|
|
2496
2838
|
'useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean',
|
|
2839
|
+
'useTheme: SnapshotSelectorHook<ThemeSnapshot>',
|
|
2497
2840
|
'useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean',
|
|
2498
2841
|
'useChat: UseChat',
|
|
2499
2842
|
'useConversation: UseConversation',
|
|
@@ -2523,8 +2866,8 @@ export const CLIENT_SLOT_API: readonly ClientSlotEntry[] = [
|
|
|
2523
2866
|
key: 'conversation.session.panel.indicator',
|
|
2524
2867
|
kind: 'list',
|
|
2525
2868
|
scope: 'session',
|
|
2526
|
-
summary: '
|
|
2527
|
-
doc: '
|
|
2869
|
+
summary: 'Status marks share a 6×6 px area at the panel toggle icon\'s top-right corner.',
|
|
2870
|
+
doc: 'Status marks share a 6×6 px area at the panel toggle icon\'s top-right corner.\nDraw the mark on your own element; `position: absolute; inset: 0` fills\nthe area. Supply its shape, color, and any ring. Include status text for\nthe toggle\'s accessible name. Marks overlap; higher `order` paints on top.\nRender nothing when there is no status to report or when `panelShown` is\ntrue and the mark only repeats the panel.',
|
|
2528
2871
|
registerOptions: [
|
|
2529
2872
|
{
|
|
2530
2873
|
name: 'id',
|
|
@@ -2555,10 +2898,15 @@ export const CLIENT_SLOT_API: readonly ClientSlotEntry[] = [
|
|
|
2555
2898
|
'useContextMenu: UseContextMenu',
|
|
2556
2899
|
'useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>',
|
|
2557
2900
|
'usePanelInfo: UsePanelInfo',
|
|
2901
|
+
'useDocumentPortal: () => FC<DocumentPortalProps>',
|
|
2902
|
+
'useDocumentViewport: () => DocumentViewport',
|
|
2903
|
+
'useMediaQuery: (query: string) => boolean',
|
|
2904
|
+
'useMobile: () => boolean',
|
|
2558
2905
|
'useSessionStatus: UseSessionStatus',
|
|
2559
2906
|
'useSessions: UseSessions',
|
|
2560
2907
|
'useSessionRetainInfo: UseSessionRetainInfo',
|
|
2561
2908
|
'useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean',
|
|
2909
|
+
'useTheme: SnapshotSelectorHook<ThemeSnapshot>',
|
|
2562
2910
|
'useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean',
|
|
2563
2911
|
'useChat: UseChat',
|
|
2564
2912
|
'useConversation: UseConversation',
|
|
@@ -2621,10 +2969,15 @@ export const CLIENT_SLOT_API: readonly ClientSlotEntry[] = [
|
|
|
2621
2969
|
'useContextMenu: UseContextMenu',
|
|
2622
2970
|
'useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>',
|
|
2623
2971
|
'usePanelInfo: UsePanelInfo',
|
|
2972
|
+
'useDocumentPortal: () => FC<DocumentPortalProps>',
|
|
2973
|
+
'useDocumentViewport: () => DocumentViewport',
|
|
2974
|
+
'useMediaQuery: (query: string) => boolean',
|
|
2975
|
+
'useMobile: () => boolean',
|
|
2624
2976
|
'useSessionStatus: UseSessionStatus',
|
|
2625
2977
|
'useSessions: UseSessions',
|
|
2626
2978
|
'useSessionRetainInfo: UseSessionRetainInfo',
|
|
2627
2979
|
'useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean',
|
|
2980
|
+
'useTheme: SnapshotSelectorHook<ThemeSnapshot>',
|
|
2628
2981
|
'useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean',
|
|
2629
2982
|
'useChat: UseChat',
|
|
2630
2983
|
'useConversation: UseConversation',
|
|
@@ -2673,10 +3026,15 @@ export const CLIENT_SLOT_API: readonly ClientSlotEntry[] = [
|
|
|
2673
3026
|
'useContextMenu: UseContextMenu',
|
|
2674
3027
|
'useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>',
|
|
2675
3028
|
'usePanelInfo: UsePanelInfo',
|
|
3029
|
+
'useDocumentPortal: () => FC<DocumentPortalProps>',
|
|
3030
|
+
'useDocumentViewport: () => DocumentViewport',
|
|
3031
|
+
'useMediaQuery: (query: string) => boolean',
|
|
3032
|
+
'useMobile: () => boolean',
|
|
2676
3033
|
'useSessionStatus: UseSessionStatus',
|
|
2677
3034
|
'useSessions: UseSessions',
|
|
2678
3035
|
'useSessionRetainInfo: UseSessionRetainInfo',
|
|
2679
3036
|
'useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean',
|
|
3037
|
+
'useTheme: SnapshotSelectorHook<ThemeSnapshot>',
|
|
2680
3038
|
'useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean',
|
|
2681
3039
|
'useChat: UseChat',
|
|
2682
3040
|
'useConversation: UseConversation',
|
|
@@ -2722,10 +3080,15 @@ export const CLIENT_SLOT_API: readonly ClientSlotEntry[] = [
|
|
|
2722
3080
|
'useContextMenu: UseContextMenu',
|
|
2723
3081
|
'useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>',
|
|
2724
3082
|
'usePanelInfo: UsePanelInfo',
|
|
3083
|
+
'useDocumentPortal: () => FC<DocumentPortalProps>',
|
|
3084
|
+
'useDocumentViewport: () => DocumentViewport',
|
|
3085
|
+
'useMediaQuery: (query: string) => boolean',
|
|
3086
|
+
'useMobile: () => boolean',
|
|
2725
3087
|
'useSessionStatus: UseSessionStatus',
|
|
2726
3088
|
'useSessions: UseSessions',
|
|
2727
3089
|
'useSessionRetainInfo: UseSessionRetainInfo',
|
|
2728
3090
|
'useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean',
|
|
3091
|
+
'useTheme: SnapshotSelectorHook<ThemeSnapshot>',
|
|
2729
3092
|
'useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean',
|
|
2730
3093
|
'useChat: UseChat',
|
|
2731
3094
|
'useConversation: UseConversation',
|
|
@@ -2772,10 +3135,15 @@ export const CLIENT_SLOT_API: readonly ClientSlotEntry[] = [
|
|
|
2772
3135
|
'useContextMenu: UseContextMenu',
|
|
2773
3136
|
'useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>',
|
|
2774
3137
|
'usePanelInfo: UsePanelInfo',
|
|
3138
|
+
'useDocumentPortal: () => FC<DocumentPortalProps>',
|
|
3139
|
+
'useDocumentViewport: () => DocumentViewport',
|
|
3140
|
+
'useMediaQuery: (query: string) => boolean',
|
|
3141
|
+
'useMobile: () => boolean',
|
|
2775
3142
|
'useSessionStatus: UseSessionStatus',
|
|
2776
3143
|
'useSessions: UseSessions',
|
|
2777
3144
|
'useSessionRetainInfo: UseSessionRetainInfo',
|
|
2778
3145
|
'useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean',
|
|
3146
|
+
'useTheme: SnapshotSelectorHook<ThemeSnapshot>',
|
|
2779
3147
|
'useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean',
|
|
2780
3148
|
'useChat: UseChat',
|
|
2781
3149
|
'useConversation: UseConversation',
|
|
@@ -2787,7 +3155,7 @@ export const CLIENT_SLOT_API: readonly ClientSlotEntry[] = [
|
|
|
2787
3155
|
'useAccess: (action: RemoteEndpoint) => boolean',
|
|
2788
3156
|
'useTrajectory: UseTrajectory',
|
|
2789
3157
|
],
|
|
2790
|
-
keyDomain: 'fixed by the owner\'s key table { [Id in UserTextId]: { node: UserTextNode<Id> } }, already taken: command, file, folder, quote, secret, session, skill, text',
|
|
3158
|
+
keyDomain: 'fixed by the owner\'s key table { [Id in UserTextId]: { node: UserTextNode<Id> } }, already taken: command, file, folder, plugin, quote, secret, session, skill, text',
|
|
2791
3159
|
hookContext: '',
|
|
2792
3160
|
slotInject: '',
|
|
2793
3161
|
declaredBy: 'factory \'conversation.user.text\' (client-ui-conversation), so it exists while that definition is registered',
|
|
@@ -2795,6 +3163,7 @@ export const CLIENT_SLOT_API: readonly ClientSlotEntry[] = [
|
|
|
2795
3163
|
'client-ui-conversation PlainUserText key \'text\'',
|
|
2796
3164
|
'client-ui-conversation SessionReference key \'session\'',
|
|
2797
3165
|
'client-ui-goal GoalCommandReference key \'command\'',
|
|
3166
|
+
'client-ui-plugin-manager PluginReference key \'plugin\'',
|
|
2798
3167
|
'client-ui-reference FileReference key \'file\'',
|
|
2799
3168
|
'client-ui-reference FolderReference key \'folder\'',
|
|
2800
3169
|
'client-ui-secret-mask SecretText key \'secret\'',
|
|
@@ -2832,9 +3201,10 @@ export const CLIENT_SLOT_API: readonly ClientSlotEntry[] = [
|
|
|
2832
3201
|
},
|
|
2833
3202
|
],
|
|
2834
3203
|
ownerProps: [
|
|
2835
|
-
'/** Conversation View entries obtain their data from registered standard hooks. */\nexport interface ConvViewOwnerProps {\n /** Open a tool call\'s inspector when an inspection target is available. */\n inspectCall: ((callId: string) => void) | undefined\n /** Focus request addressed to the selected View. */\n viewRequest:
|
|
3204
|
+
'/** Conversation View entries obtain their data from registered standard hooks. */\nexport interface ConvViewOwnerProps {\n /** Open a tool call\'s inspector when an inspection target is available. */\n inspectCall: ((callId: string) => void) | undefined\n /** Open one model request\'s inspector record when an inspection target is available. */\n inspectRequest: ((turn: number, step: number) => void) | undefined\n /** Focus request addressed to the selected View. */\n viewRequest: ConversationViewRequest | null\n /** Select a View and address one Session entity focus to it; ignored unless that View accepts the focus kind. */\n openView: (view: string, focus: ConversationFocus) => void\n /** Acknowledge the current one-shot focus request. */\n completeViewRequest: () => void\n}',
|
|
2836
3205
|
],
|
|
2837
3206
|
ownerPropsReferences: [
|
|
3207
|
+
'ConversationFocus',
|
|
2838
3208
|
'ConversationViewRequest',
|
|
2839
3209
|
],
|
|
2840
3210
|
standardProps: [
|
|
@@ -2843,10 +3213,15 @@ export const CLIENT_SLOT_API: readonly ClientSlotEntry[] = [
|
|
|
2843
3213
|
'useContextMenu: UseContextMenu',
|
|
2844
3214
|
'useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>',
|
|
2845
3215
|
'usePanelInfo: UsePanelInfo',
|
|
3216
|
+
'useDocumentPortal: () => FC<DocumentPortalProps>',
|
|
3217
|
+
'useDocumentViewport: () => DocumentViewport',
|
|
3218
|
+
'useMediaQuery: (query: string) => boolean',
|
|
3219
|
+
'useMobile: () => boolean',
|
|
2846
3220
|
'useSessionStatus: UseSessionStatus',
|
|
2847
3221
|
'useSessions: UseSessions',
|
|
2848
3222
|
'useSessionRetainInfo: UseSessionRetainInfo',
|
|
2849
3223
|
'useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean',
|
|
3224
|
+
'useTheme: SnapshotSelectorHook<ThemeSnapshot>',
|
|
2850
3225
|
'useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean',
|
|
2851
3226
|
'useChat: UseChat',
|
|
2852
3227
|
'useConversation: UseConversation',
|
|
@@ -2910,10 +3285,15 @@ export const CLIENT_SLOT_API: readonly ClientSlotEntry[] = [
|
|
|
2910
3285
|
'useContextMenu: UseContextMenu',
|
|
2911
3286
|
'useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>',
|
|
2912
3287
|
'usePanelInfo: UsePanelInfo',
|
|
3288
|
+
'useDocumentPortal: () => FC<DocumentPortalProps>',
|
|
3289
|
+
'useDocumentViewport: () => DocumentViewport',
|
|
3290
|
+
'useMediaQuery: (query: string) => boolean',
|
|
3291
|
+
'useMobile: () => boolean',
|
|
2913
3292
|
'useSessionStatus: UseSessionStatus',
|
|
2914
3293
|
'useSessions: UseSessions',
|
|
2915
3294
|
'useSessionRetainInfo: UseSessionRetainInfo',
|
|
2916
3295
|
'useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean',
|
|
3296
|
+
'useTheme: SnapshotSelectorHook<ThemeSnapshot>',
|
|
2917
3297
|
'useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean',
|
|
2918
3298
|
'useChat: UseChat',
|
|
2919
3299
|
'useConversation: UseConversation',
|
|
@@ -2974,10 +3354,15 @@ export const CLIENT_SLOT_API: readonly ClientSlotEntry[] = [
|
|
|
2974
3354
|
'useContextMenu: UseContextMenu',
|
|
2975
3355
|
'useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>',
|
|
2976
3356
|
'usePanelInfo: UsePanelInfo',
|
|
3357
|
+
'useDocumentPortal: () => FC<DocumentPortalProps>',
|
|
3358
|
+
'useDocumentViewport: () => DocumentViewport',
|
|
3359
|
+
'useMediaQuery: (query: string) => boolean',
|
|
3360
|
+
'useMobile: () => boolean',
|
|
2977
3361
|
'useSessionStatus: UseSessionStatus',
|
|
2978
3362
|
'useSessions: UseSessions',
|
|
2979
3363
|
'useSessionRetainInfo: UseSessionRetainInfo',
|
|
2980
3364
|
'useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean',
|
|
3365
|
+
'useTheme: SnapshotSelectorHook<ThemeSnapshot>',
|
|
2981
3366
|
'useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean',
|
|
2982
3367
|
'useChat: UseChat',
|
|
2983
3368
|
'useConversation: UseConversation',
|
|
@@ -3039,10 +3424,15 @@ export const CLIENT_SLOT_API: readonly ClientSlotEntry[] = [
|
|
|
3039
3424
|
'useContextMenu: UseContextMenu',
|
|
3040
3425
|
'useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>',
|
|
3041
3426
|
'usePanelInfo: UsePanelInfo',
|
|
3427
|
+
'useDocumentPortal: () => FC<DocumentPortalProps>',
|
|
3428
|
+
'useDocumentViewport: () => DocumentViewport',
|
|
3429
|
+
'useMediaQuery: (query: string) => boolean',
|
|
3430
|
+
'useMobile: () => boolean',
|
|
3042
3431
|
'useSessionStatus: UseSessionStatus',
|
|
3043
3432
|
'useSessions: UseSessions',
|
|
3044
3433
|
'useSessionRetainInfo: UseSessionRetainInfo',
|
|
3045
3434
|
'useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean',
|
|
3435
|
+
'useTheme: SnapshotSelectorHook<ThemeSnapshot>',
|
|
3046
3436
|
'useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean',
|
|
3047
3437
|
'useChat: UseChat',
|
|
3048
3438
|
'useConversation: UseConversation',
|
|
@@ -3102,10 +3492,15 @@ export const CLIENT_SLOT_API: readonly ClientSlotEntry[] = [
|
|
|
3102
3492
|
'useContextMenu: UseContextMenu',
|
|
3103
3493
|
'useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>',
|
|
3104
3494
|
'usePanelInfo: UsePanelInfo',
|
|
3495
|
+
'useDocumentPortal: () => FC<DocumentPortalProps>',
|
|
3496
|
+
'useDocumentViewport: () => DocumentViewport',
|
|
3497
|
+
'useMediaQuery: (query: string) => boolean',
|
|
3498
|
+
'useMobile: () => boolean',
|
|
3105
3499
|
'useSessionStatus: UseSessionStatus',
|
|
3106
3500
|
'useSessions: UseSessions',
|
|
3107
3501
|
'useSessionRetainInfo: UseSessionRetainInfo',
|
|
3108
3502
|
'useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean',
|
|
3503
|
+
'useTheme: SnapshotSelectorHook<ThemeSnapshot>',
|
|
3109
3504
|
'useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean',
|
|
3110
3505
|
'useChat: UseChat',
|
|
3111
3506
|
'useConversation: UseConversation',
|
|
@@ -3164,10 +3559,15 @@ export const CLIENT_SLOT_API: readonly ClientSlotEntry[] = [
|
|
|
3164
3559
|
'useContextMenu: UseContextMenu',
|
|
3165
3560
|
'useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>',
|
|
3166
3561
|
'usePanelInfo: UsePanelInfo',
|
|
3562
|
+
'useDocumentPortal: () => FC<DocumentPortalProps>',
|
|
3563
|
+
'useDocumentViewport: () => DocumentViewport',
|
|
3564
|
+
'useMediaQuery: (query: string) => boolean',
|
|
3565
|
+
'useMobile: () => boolean',
|
|
3167
3566
|
'useSessionStatus: UseSessionStatus',
|
|
3168
3567
|
'useSessions: UseSessions',
|
|
3169
3568
|
'useSessionRetainInfo: UseSessionRetainInfo',
|
|
3170
3569
|
'useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean',
|
|
3570
|
+
'useTheme: SnapshotSelectorHook<ThemeSnapshot>',
|
|
3171
3571
|
'useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean',
|
|
3172
3572
|
'useChat: UseChat',
|
|
3173
3573
|
'useConversation: UseConversation',
|
|
@@ -3226,10 +3626,15 @@ export const CLIENT_SLOT_API: readonly ClientSlotEntry[] = [
|
|
|
3226
3626
|
'useContextMenu: UseContextMenu',
|
|
3227
3627
|
'useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>',
|
|
3228
3628
|
'usePanelInfo: UsePanelInfo',
|
|
3629
|
+
'useDocumentPortal: () => FC<DocumentPortalProps>',
|
|
3630
|
+
'useDocumentViewport: () => DocumentViewport',
|
|
3631
|
+
'useMediaQuery: (query: string) => boolean',
|
|
3632
|
+
'useMobile: () => boolean',
|
|
3229
3633
|
'useSessionStatus: UseSessionStatus',
|
|
3230
3634
|
'useSessions: UseSessions',
|
|
3231
3635
|
'useSessionRetainInfo: UseSessionRetainInfo',
|
|
3232
3636
|
'useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean',
|
|
3637
|
+
'useTheme: SnapshotSelectorHook<ThemeSnapshot>',
|
|
3233
3638
|
'useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean',
|
|
3234
3639
|
'useChat: UseChat',
|
|
3235
3640
|
'useConversation: UseConversation',
|
|
@@ -3277,10 +3682,15 @@ export const CLIENT_SLOT_API: readonly ClientSlotEntry[] = [
|
|
|
3277
3682
|
'useContextMenu: UseContextMenu',
|
|
3278
3683
|
'useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>',
|
|
3279
3684
|
'usePanelInfo: UsePanelInfo',
|
|
3685
|
+
'useDocumentPortal: () => FC<DocumentPortalProps>',
|
|
3686
|
+
'useDocumentViewport: () => DocumentViewport',
|
|
3687
|
+
'useMediaQuery: (query: string) => boolean',
|
|
3688
|
+
'useMobile: () => boolean',
|
|
3280
3689
|
'useSessionStatus: UseSessionStatus',
|
|
3281
3690
|
'useSessions: UseSessions',
|
|
3282
3691
|
'useSessionRetainInfo: UseSessionRetainInfo',
|
|
3283
3692
|
'useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean',
|
|
3693
|
+
'useTheme: SnapshotSelectorHook<ThemeSnapshot>',
|
|
3284
3694
|
'useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean',
|
|
3285
3695
|
'useChat: UseChat',
|
|
3286
3696
|
'useConversation: UseConversation',
|
|
@@ -3321,10 +3731,15 @@ export const CLIENT_SLOT_API: readonly ClientSlotEntry[] = [
|
|
|
3321
3731
|
'useContextMenu: UseContextMenu',
|
|
3322
3732
|
'useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>',
|
|
3323
3733
|
'usePanelInfo: UsePanelInfo',
|
|
3734
|
+
'useDocumentPortal: () => FC<DocumentPortalProps>',
|
|
3735
|
+
'useDocumentViewport: () => DocumentViewport',
|
|
3736
|
+
'useMediaQuery: (query: string) => boolean',
|
|
3737
|
+
'useMobile: () => boolean',
|
|
3324
3738
|
'useSessionStatus: UseSessionStatus',
|
|
3325
3739
|
'useSessions: UseSessions',
|
|
3326
3740
|
'useSessionRetainInfo: UseSessionRetainInfo',
|
|
3327
3741
|
'useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean',
|
|
3742
|
+
'useTheme: SnapshotSelectorHook<ThemeSnapshot>',
|
|
3328
3743
|
'useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean',
|
|
3329
3744
|
'useChat: UseChat',
|
|
3330
3745
|
'useConversation: UseConversation',
|
|
@@ -3369,10 +3784,15 @@ export const CLIENT_SLOT_API: readonly ClientSlotEntry[] = [
|
|
|
3369
3784
|
'useContextMenu: UseContextMenu',
|
|
3370
3785
|
'useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>',
|
|
3371
3786
|
'usePanelInfo: UsePanelInfo',
|
|
3787
|
+
'useDocumentPortal: () => FC<DocumentPortalProps>',
|
|
3788
|
+
'useDocumentViewport: () => DocumentViewport',
|
|
3789
|
+
'useMediaQuery: (query: string) => boolean',
|
|
3790
|
+
'useMobile: () => boolean',
|
|
3372
3791
|
'useSessionStatus: UseSessionStatus',
|
|
3373
3792
|
'useSessions: UseSessions',
|
|
3374
3793
|
'useSessionRetainInfo: UseSessionRetainInfo',
|
|
3375
3794
|
'useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean',
|
|
3795
|
+
'useTheme: SnapshotSelectorHook<ThemeSnapshot>',
|
|
3376
3796
|
'useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean',
|
|
3377
3797
|
],
|
|
3378
3798
|
keyDomain: 'open: any string the owner dispatches (no compile-time key set), already taken: conversation',
|
|
@@ -3404,10 +3824,15 @@ export const CLIENT_SLOT_API: readonly ClientSlotEntry[] = [
|
|
|
3404
3824
|
'useContextMenu: UseContextMenu',
|
|
3405
3825
|
'useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>',
|
|
3406
3826
|
'usePanelInfo: UsePanelInfo',
|
|
3827
|
+
'useDocumentPortal: () => FC<DocumentPortalProps>',
|
|
3828
|
+
'useDocumentViewport: () => DocumentViewport',
|
|
3829
|
+
'useMediaQuery: (query: string) => boolean',
|
|
3830
|
+
'useMobile: () => boolean',
|
|
3407
3831
|
'useSessionStatus: UseSessionStatus',
|
|
3408
3832
|
'useSessions: UseSessions',
|
|
3409
3833
|
'useSessionRetainInfo: UseSessionRetainInfo',
|
|
3410
3834
|
'useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean',
|
|
3835
|
+
'useTheme: SnapshotSelectorHook<ThemeSnapshot>',
|
|
3411
3836
|
'useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean',
|
|
3412
3837
|
'useConversation: MaybeSnapshotSelectorHook<ConversationSnapshot>',
|
|
3413
3838
|
'useInput: MaybeSnapshotSelectorHook<InputState>',
|
|
@@ -3464,10 +3889,15 @@ export const CLIENT_SLOT_API: readonly ClientSlotEntry[] = [
|
|
|
3464
3889
|
'useContextMenu: UseContextMenu',
|
|
3465
3890
|
'useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>',
|
|
3466
3891
|
'usePanelInfo: UsePanelInfo',
|
|
3892
|
+
'useDocumentPortal: () => FC<DocumentPortalProps>',
|
|
3893
|
+
'useDocumentViewport: () => DocumentViewport',
|
|
3894
|
+
'useMediaQuery: (query: string) => boolean',
|
|
3895
|
+
'useMobile: () => boolean',
|
|
3467
3896
|
'useSessionStatus: UseSessionStatus',
|
|
3468
3897
|
'useSessions: UseSessions',
|
|
3469
3898
|
'useSessionRetainInfo: UseSessionRetainInfo',
|
|
3470
3899
|
'useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean',
|
|
3900
|
+
'useTheme: SnapshotSelectorHook<ThemeSnapshot>',
|
|
3471
3901
|
'useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean',
|
|
3472
3902
|
],
|
|
3473
3903
|
keyDomain: '',
|
|
@@ -3479,7 +3909,7 @@ export const CLIENT_SLOT_API: readonly ClientSlotEntry[] = [
|
|
|
3479
3909
|
],
|
|
3480
3910
|
replaceRisk: 'none',
|
|
3481
3911
|
example: 'return {\n inject: [\'slots\'],\n apply(ctx) {\n ctx.slots.inject(\'plugins.add.actions\', () => ctx.slots.register(\n { name: \'plugins.add.actions\', id: \'my-entry\', order: 100, label: \'My entry\' },\n () => React.createElement(\'div\', null, \'hello\'),\n ))\n },\n}',
|
|
3482
|
-
source: 'packages/client/ui-plugin-manager/src/client/slot-contract.ts:
|
|
3912
|
+
source: 'packages/client/ui-plugin-manager/src/client/slot-contract.ts:147',
|
|
3483
3913
|
},
|
|
3484
3914
|
{
|
|
3485
3915
|
key: 'plugins.bundle.activation',
|
|
@@ -3505,10 +3935,15 @@ export const CLIENT_SLOT_API: readonly ClientSlotEntry[] = [
|
|
|
3505
3935
|
'useContextMenu: UseContextMenu',
|
|
3506
3936
|
'useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>',
|
|
3507
3937
|
'usePanelInfo: UsePanelInfo',
|
|
3938
|
+
'useDocumentPortal: () => FC<DocumentPortalProps>',
|
|
3939
|
+
'useDocumentViewport: () => DocumentViewport',
|
|
3940
|
+
'useMediaQuery: (query: string) => boolean',
|
|
3941
|
+
'useMobile: () => boolean',
|
|
3508
3942
|
'useSessionStatus: UseSessionStatus',
|
|
3509
3943
|
'useSessions: UseSessions',
|
|
3510
3944
|
'useSessionRetainInfo: UseSessionRetainInfo',
|
|
3511
3945
|
'useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean',
|
|
3946
|
+
'useTheme: SnapshotSelectorHook<ThemeSnapshot>',
|
|
3512
3947
|
'useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean',
|
|
3513
3948
|
],
|
|
3514
3949
|
keyDomain: 'open: any string the owner dispatches (no compile-time key set), already taken: @deepseek-ai/dsh-cua-bundle, @deepseek-ai/dsh-experimental-voice-input-bundle',
|
|
@@ -3522,7 +3957,7 @@ export const CLIENT_SLOT_API: readonly ClientSlotEntry[] = [
|
|
|
3522
3957
|
],
|
|
3523
3958
|
replaceRisk: 'shadows-shipped-ui',
|
|
3524
3959
|
example: 'return {\n inject: [\'slots\'],\n apply(ctx) {\n ctx.slots.inject(\'plugins.bundle.activation\', () => ctx.slots.register(\n { name: \'plugins.bundle.activation\', key: \'<one key the owner dispatches>\' },\n () => React.createElement(\'div\', null, \'hello\'),\n ))\n },\n}',
|
|
3525
|
-
source: 'packages/client/ui-plugin-manager/src/client/slot-contract.ts:
|
|
3960
|
+
source: 'packages/client/ui-plugin-manager/src/client/slot-contract.ts:156',
|
|
3526
3961
|
},
|
|
3527
3962
|
{
|
|
3528
3963
|
key: 'plugins.bundle.config',
|
|
@@ -3550,10 +3985,15 @@ export const CLIENT_SLOT_API: readonly ClientSlotEntry[] = [
|
|
|
3550
3985
|
'useContextMenu: UseContextMenu',
|
|
3551
3986
|
'useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>',
|
|
3552
3987
|
'usePanelInfo: UsePanelInfo',
|
|
3988
|
+
'useDocumentPortal: () => FC<DocumentPortalProps>',
|
|
3989
|
+
'useDocumentViewport: () => DocumentViewport',
|
|
3990
|
+
'useMediaQuery: (query: string) => boolean',
|
|
3991
|
+
'useMobile: () => boolean',
|
|
3553
3992
|
'useSessionStatus: UseSessionStatus',
|
|
3554
3993
|
'useSessions: UseSessions',
|
|
3555
3994
|
'useSessionRetainInfo: UseSessionRetainInfo',
|
|
3556
3995
|
'useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean',
|
|
3996
|
+
'useTheme: SnapshotSelectorHook<ThemeSnapshot>',
|
|
3557
3997
|
'useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean',
|
|
3558
3998
|
],
|
|
3559
3999
|
keyDomain: 'open: any string the owner dispatches (no compile-time key set), already taken: @deepseek-ai/dsh-cua-bundle, @deepseek-ai/dsh-experimental-cot-translation-bundle, @deepseek-ai/dsh-experimental-voice-input-bundle',
|
|
@@ -3563,13 +4003,14 @@ export const CLIENT_SLOT_API: readonly ClientSlotEntry[] = [
|
|
|
3563
4003
|
occupants: [
|
|
3564
4004
|
'client-ui-connector-account ConnectorAccountSectionEntry',
|
|
3565
4005
|
'experimental-client-ui-cot-translation TranslationSettings key \'@deepseek-ai/dsh-experimental-cot-translation-bundle\'',
|
|
4006
|
+
'client-ui-read-aloud ReadAloudSettings',
|
|
3566
4007
|
'experimental-client-ui-voice-input VoicePreparation key \'@deepseek-ai/dsh-experimental-voice-input-bundle\'',
|
|
3567
4008
|
'cua PermissionPanel key \'@deepseek-ai/dsh-cua-bundle\'',
|
|
3568
4009
|
'timeline Settings',
|
|
3569
4010
|
],
|
|
3570
4011
|
replaceRisk: 'shadows-shipped-ui',
|
|
3571
4012
|
example: 'return {\n inject: [\'slots\'],\n apply(ctx) {\n ctx.slots.inject(\'plugins.bundle.config\', () => ctx.slots.register(\n { name: \'plugins.bundle.config\', key: \'<one key the owner dispatches>\' },\n () => React.createElement(\'div\', null, \'hello\'),\n ))\n },\n}',
|
|
3572
|
-
source: 'packages/client/ui-plugin-manager/src/client/slot-contract.ts:
|
|
4013
|
+
source: 'packages/client/ui-plugin-manager/src/client/slot-contract.ts:172',
|
|
3573
4014
|
},
|
|
3574
4015
|
{
|
|
3575
4016
|
key: 'plugins.detail.actions',
|
|
@@ -3609,10 +4050,15 @@ export const CLIENT_SLOT_API: readonly ClientSlotEntry[] = [
|
|
|
3609
4050
|
'useContextMenu: UseContextMenu',
|
|
3610
4051
|
'useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>',
|
|
3611
4052
|
'usePanelInfo: UsePanelInfo',
|
|
4053
|
+
'useDocumentPortal: () => FC<DocumentPortalProps>',
|
|
4054
|
+
'useDocumentViewport: () => DocumentViewport',
|
|
4055
|
+
'useMediaQuery: (query: string) => boolean',
|
|
4056
|
+
'useMobile: () => boolean',
|
|
3612
4057
|
'useSessionStatus: UseSessionStatus',
|
|
3613
4058
|
'useSessions: UseSessions',
|
|
3614
4059
|
'useSessionRetainInfo: UseSessionRetainInfo',
|
|
3615
4060
|
'useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean',
|
|
4061
|
+
'useTheme: SnapshotSelectorHook<ThemeSnapshot>',
|
|
3616
4062
|
'useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean',
|
|
3617
4063
|
],
|
|
3618
4064
|
keyDomain: '',
|
|
@@ -3622,7 +4068,7 @@ export const CLIENT_SLOT_API: readonly ClientSlotEntry[] = [
|
|
|
3622
4068
|
occupants: [],
|
|
3623
4069
|
replaceRisk: 'none',
|
|
3624
4070
|
example: 'return {\n inject: [\'slots\'],\n apply(ctx) {\n ctx.slots.inject(\'plugins.detail.actions\', () => ctx.slots.register(\n { name: \'plugins.detail.actions\', id: \'my-entry\', order: 100, label: \'My entry\' },\n () => React.createElement(\'div\', null, \'hello\'),\n ))\n },\n}',
|
|
3625
|
-
source: 'packages/client/ui-plugin-manager/src/client/slot-contract.ts:
|
|
4071
|
+
source: 'packages/client/ui-plugin-manager/src/client/slot-contract.ts:186',
|
|
3626
4072
|
},
|
|
3627
4073
|
{
|
|
3628
4074
|
key: 'plugins.detail.badge',
|
|
@@ -3662,10 +4108,15 @@ export const CLIENT_SLOT_API: readonly ClientSlotEntry[] = [
|
|
|
3662
4108
|
'useContextMenu: UseContextMenu',
|
|
3663
4109
|
'useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>',
|
|
3664
4110
|
'usePanelInfo: UsePanelInfo',
|
|
4111
|
+
'useDocumentPortal: () => FC<DocumentPortalProps>',
|
|
4112
|
+
'useDocumentViewport: () => DocumentViewport',
|
|
4113
|
+
'useMediaQuery: (query: string) => boolean',
|
|
4114
|
+
'useMobile: () => boolean',
|
|
3665
4115
|
'useSessionStatus: UseSessionStatus',
|
|
3666
4116
|
'useSessions: UseSessions',
|
|
3667
4117
|
'useSessionRetainInfo: UseSessionRetainInfo',
|
|
3668
4118
|
'useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean',
|
|
4119
|
+
'useTheme: SnapshotSelectorHook<ThemeSnapshot>',
|
|
3669
4120
|
'useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean',
|
|
3670
4121
|
],
|
|
3671
4122
|
keyDomain: '',
|
|
@@ -3677,7 +4128,7 @@ export const CLIENT_SLOT_API: readonly ClientSlotEntry[] = [
|
|
|
3677
4128
|
],
|
|
3678
4129
|
replaceRisk: 'none',
|
|
3679
4130
|
example: 'return {\n inject: [\'slots\'],\n apply(ctx) {\n ctx.slots.inject(\'plugins.detail.badge\', () => ctx.slots.register(\n { name: \'plugins.detail.badge\', id: \'my-entry\', order: 100, label: \'My entry\' },\n () => React.createElement(\'div\', null, \'hello\'),\n ))\n },\n}',
|
|
3680
|
-
source: 'packages/client/ui-plugin-manager/src/client/slot-contract.ts:
|
|
4131
|
+
source: 'packages/client/ui-plugin-manager/src/client/slot-contract.ts:191',
|
|
3681
4132
|
},
|
|
3682
4133
|
{
|
|
3683
4134
|
key: 'plugins.detail.section',
|
|
@@ -3717,10 +4168,15 @@ export const CLIENT_SLOT_API: readonly ClientSlotEntry[] = [
|
|
|
3717
4168
|
'useContextMenu: UseContextMenu',
|
|
3718
4169
|
'useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>',
|
|
3719
4170
|
'usePanelInfo: UsePanelInfo',
|
|
4171
|
+
'useDocumentPortal: () => FC<DocumentPortalProps>',
|
|
4172
|
+
'useDocumentViewport: () => DocumentViewport',
|
|
4173
|
+
'useMediaQuery: (query: string) => boolean',
|
|
4174
|
+
'useMobile: () => boolean',
|
|
3720
4175
|
'useSessionStatus: UseSessionStatus',
|
|
3721
4176
|
'useSessions: UseSessions',
|
|
3722
4177
|
'useSessionRetainInfo: UseSessionRetainInfo',
|
|
3723
4178
|
'useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean',
|
|
4179
|
+
'useTheme: SnapshotSelectorHook<ThemeSnapshot>',
|
|
3724
4180
|
'useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean',
|
|
3725
4181
|
],
|
|
3726
4182
|
keyDomain: '',
|
|
@@ -3730,7 +4186,7 @@ export const CLIENT_SLOT_API: readonly ClientSlotEntry[] = [
|
|
|
3730
4186
|
occupants: [],
|
|
3731
4187
|
replaceRisk: 'none',
|
|
3732
4188
|
example: 'return {\n inject: [\'slots\'],\n apply(ctx) {\n ctx.slots.inject(\'plugins.detail.section\', () => ctx.slots.register(\n { name: \'plugins.detail.section\', id: \'my-entry\', order: 100, label: \'My entry\' },\n () => React.createElement(\'div\', null, \'hello\'),\n ))\n },\n}',
|
|
3733
|
-
source: 'packages/client/ui-plugin-manager/src/client/slot-contract.ts:
|
|
4189
|
+
source: 'packages/client/ui-plugin-manager/src/client/slot-contract.ts:198',
|
|
3734
4190
|
},
|
|
3735
4191
|
{
|
|
3736
4192
|
key: 'plugins.item',
|
|
@@ -3770,10 +4226,15 @@ export const CLIENT_SLOT_API: readonly ClientSlotEntry[] = [
|
|
|
3770
4226
|
'useContextMenu: UseContextMenu',
|
|
3771
4227
|
'useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>',
|
|
3772
4228
|
'usePanelInfo: UsePanelInfo',
|
|
4229
|
+
'useDocumentPortal: () => FC<DocumentPortalProps>',
|
|
4230
|
+
'useDocumentViewport: () => DocumentViewport',
|
|
4231
|
+
'useMediaQuery: (query: string) => boolean',
|
|
4232
|
+
'useMobile: () => boolean',
|
|
3773
4233
|
'useSessionStatus: UseSessionStatus',
|
|
3774
4234
|
'useSessions: UseSessions',
|
|
3775
4235
|
'useSessionRetainInfo: UseSessionRetainInfo',
|
|
3776
4236
|
'useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean',
|
|
4237
|
+
'useTheme: SnapshotSelectorHook<ThemeSnapshot>',
|
|
3777
4238
|
'useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean',
|
|
3778
4239
|
],
|
|
3779
4240
|
keyDomain: '',
|
|
@@ -3788,7 +4249,7 @@ export const CLIENT_SLOT_API: readonly ClientSlotEntry[] = [
|
|
|
3788
4249
|
],
|
|
3789
4250
|
replaceRisk: 'none',
|
|
3790
4251
|
example: 'return {\n inject: [\'slots\'],\n apply(ctx) {\n ctx.slots.inject(\'plugins.item\', () => ctx.slots.register(\n { name: \'plugins.item\', id: \'my-entry\', order: 100, label: \'My entry\' },\n () => React.createElement(\'div\', null, \'hello\'),\n ))\n },\n}',
|
|
3791
|
-
source: 'packages/client/ui-plugin-manager/src/client/slot-contract.ts:
|
|
4252
|
+
source: 'packages/client/ui-plugin-manager/src/client/slot-contract.ts:166',
|
|
3792
4253
|
},
|
|
3793
4254
|
{
|
|
3794
4255
|
key: 'plugins.row.config',
|
|
@@ -3816,10 +4277,15 @@ export const CLIENT_SLOT_API: readonly ClientSlotEntry[] = [
|
|
|
3816
4277
|
'useContextMenu: UseContextMenu',
|
|
3817
4278
|
'useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>',
|
|
3818
4279
|
'usePanelInfo: UsePanelInfo',
|
|
4280
|
+
'useDocumentPortal: () => FC<DocumentPortalProps>',
|
|
4281
|
+
'useDocumentViewport: () => DocumentViewport',
|
|
4282
|
+
'useMediaQuery: (query: string) => boolean',
|
|
4283
|
+
'useMobile: () => boolean',
|
|
3819
4284
|
'useSessionStatus: UseSessionStatus',
|
|
3820
4285
|
'useSessions: UseSessions',
|
|
3821
4286
|
'useSessionRetainInfo: UseSessionRetainInfo',
|
|
3822
4287
|
'useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean',
|
|
4288
|
+
'useTheme: SnapshotSelectorHook<ThemeSnapshot>',
|
|
3823
4289
|
'useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean',
|
|
3824
4290
|
],
|
|
3825
4291
|
keyDomain: 'open: any string the owner dispatches (no compile-time key set), none are taken yet',
|
|
@@ -3828,17 +4294,18 @@ export const CLIENT_SLOT_API: readonly ClientSlotEntry[] = [
|
|
|
3828
4294
|
declaredBy: 'an entry in \'main\' (client-ui-plugin-manager), so it exists while that entry is mounted',
|
|
3829
4295
|
occupants: [
|
|
3830
4296
|
'experimental-client-ui-forge WorktreeSettings',
|
|
4297
|
+
'experimental-client-ui-forge HostSettings',
|
|
3831
4298
|
],
|
|
3832
4299
|
replaceRisk: 'none',
|
|
3833
4300
|
example: 'return {\n inject: [\'slots\'],\n apply(ctx) {\n ctx.slots.inject(\'plugins.row.config\', () => ctx.slots.register(\n { name: \'plugins.row.config\', key: \'<one key the owner dispatches>\' },\n () => React.createElement(\'div\', null, \'hello\'),\n ))\n },\n}',
|
|
3834
|
-
source: 'packages/client/ui-plugin-manager/src/client/slot-contract.ts:
|
|
4301
|
+
source: 'packages/client/ui-plugin-manager/src/client/slot-contract.ts:180',
|
|
3835
4302
|
},
|
|
3836
4303
|
{
|
|
3837
4304
|
key: 'plugins.tab',
|
|
3838
4305
|
kind: 'list',
|
|
3839
4306
|
scope: 'root',
|
|
3840
4307
|
summary: 'Tabs after the page\'s own Installed tab, such as Discover: `label` names the tab and `order` places it.',
|
|
3841
|
-
doc: 'Tabs after the page\'s own Installed tab, such as Discover: `label` names the tab and `order` places it. The\npage renders the selected entry under its header and tabs; the entry draws its own content and installs and\nupdates through the owner\'s `install` and `update`.',
|
|
4308
|
+
doc: 'Tabs after the page\'s own Installed tab, such as Discover: `label` names the tab and `order` places it. The\npage renders the selected entry under its header and tabs; the entry draws its own content and installs and\nupdates through the owner\'s `install` and `update`. While the entry has a page of its own open through the\nowner\'s `openPage`, the page renders the entry under a crumb named by `label` instead.',
|
|
3842
4309
|
registerOptions: [
|
|
3843
4310
|
{
|
|
3844
4311
|
name: 'id',
|
|
@@ -3860,7 +4327,7 @@ export const CLIENT_SLOT_API: readonly ClientSlotEntry[] = [
|
|
|
3860
4327
|
},
|
|
3861
4328
|
],
|
|
3862
4329
|
ownerProps: [
|
|
3863
|
-
'/** Owner props of a page tab another plugin contributes, such as Discover. */\nexport interface PluginTabProps {\n /**\n * Install an exact version the person already confirmed: the page\'s install dialog opens at its check and progress\n * screens, without the spec form, and names the plugin and version above the spec.\n * @param target - the spec, optional registry, and display text.\n */\n readonly install: (target: PluginTabInstall) => void\n /**\n * Open the page\'s update dialog at its confirmation for a bundle the Host lists with `update: \'git\'`, from the\n * version the page lists; nothing opens before the page has listed the bundle or while another update runs. The\n * update removes the installed version, installs the target, and installs the removed version again when that fails.\n * @param target - the package, the target version, and its Git spec.\n */\n readonly update: (target: PluginTabUpdate) => void\n /**\n * Switch to the Installed tab and open a bundle\'s page, whose back button returns to the calling tab.\n * @param packageName - npm package name of the bundle.\n */\n readonly openPackage: (packageName: string) => void\n
|
|
4330
|
+
'/** Owner props of a page tab another plugin contributes, such as Discover. */\nexport interface PluginTabProps {\n /**\n * Install an exact version the person already confirmed: the page\'s install dialog opens at its check and progress\n * screens, without the spec form, and names the plugin and version above the spec.\n * @param target - the spec, optional registry, and display text.\n */\n readonly install: (target: PluginTabInstall) => void\n /**\n * Open the page\'s update dialog at its confirmation for a bundle the Host lists with `update: \'git\'`, from the\n * version the page lists; nothing opens before the page has listed the bundle or while another update runs. The\n * update removes the installed version, installs the target, and installs the removed version again when that fails.\n * @param target - the package, the target version, and its Git spec.\n */\n readonly update: (target: PluginTabUpdate) => void\n /**\n * Switch to the Installed tab and open a bundle\'s page, whose back button returns to the calling tab.\n * @param packageName - npm package name of the bundle.\n */\n readonly openPackage: (packageName: string) => void\n /** The key of the tab\'s own pa /* …truncated — full shape in source */',
|
|
3864
4331
|
],
|
|
3865
4332
|
ownerPropsReferences: [
|
|
3866
4333
|
'Git',
|
|
@@ -3873,10 +4340,15 @@ export const CLIENT_SLOT_API: readonly ClientSlotEntry[] = [
|
|
|
3873
4340
|
'useContextMenu: UseContextMenu',
|
|
3874
4341
|
'useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>',
|
|
3875
4342
|
'usePanelInfo: UsePanelInfo',
|
|
4343
|
+
'useDocumentPortal: () => FC<DocumentPortalProps>',
|
|
4344
|
+
'useDocumentViewport: () => DocumentViewport',
|
|
4345
|
+
'useMediaQuery: (query: string) => boolean',
|
|
4346
|
+
'useMobile: () => boolean',
|
|
3876
4347
|
'useSessionStatus: UseSessionStatus',
|
|
3877
4348
|
'useSessions: UseSessions',
|
|
3878
4349
|
'useSessionRetainInfo: UseSessionRetainInfo',
|
|
3879
4350
|
'useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean',
|
|
4351
|
+
'useTheme: SnapshotSelectorHook<ThemeSnapshot>',
|
|
3880
4352
|
'useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean',
|
|
3881
4353
|
],
|
|
3882
4354
|
keyDomain: '',
|
|
@@ -3885,10 +4357,11 @@ export const CLIENT_SLOT_API: readonly ClientSlotEntry[] = [
|
|
|
3885
4357
|
declaredBy: 'an entry in \'main\' (client-ui-plugin-manager), so it exists while that entry is mounted',
|
|
3886
4358
|
occupants: [
|
|
3887
4359
|
'client-ui-plugin-market DiscoverSection id \'discover\'',
|
|
4360
|
+
'client-ui-connectors ConnectorsTab',
|
|
3888
4361
|
],
|
|
3889
4362
|
replaceRisk: 'none',
|
|
3890
4363
|
example: 'return {\n inject: [\'slots\'],\n apply(ctx) {\n ctx.slots.inject(\'plugins.tab\', () => ctx.slots.register(\n { name: \'plugins.tab\', id: \'my-entry\', order: 100, label: \'My entry\' },\n () => React.createElement(\'div\', null, \'hello\'),\n ))\n },\n}',
|
|
3891
|
-
source: 'packages/client/ui-plugin-manager/src/client/slot-contract.ts:
|
|
4364
|
+
source: 'packages/client/ui-plugin-manager/src/client/slot-contract.ts:154',
|
|
3892
4365
|
},
|
|
3893
4366
|
{
|
|
3894
4367
|
key: 'rightbar',
|
|
@@ -3907,10 +4380,15 @@ export const CLIENT_SLOT_API: readonly ClientSlotEntry[] = [
|
|
|
3907
4380
|
'useContextMenu: UseContextMenu',
|
|
3908
4381
|
'useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>',
|
|
3909
4382
|
'usePanelInfo: UsePanelInfo',
|
|
4383
|
+
'useDocumentPortal: () => FC<DocumentPortalProps>',
|
|
4384
|
+
'useDocumentViewport: () => DocumentViewport',
|
|
4385
|
+
'useMediaQuery: (query: string) => boolean',
|
|
4386
|
+
'useMobile: () => boolean',
|
|
3910
4387
|
'useSessionStatus: UseSessionStatus',
|
|
3911
4388
|
'useSessions: UseSessions',
|
|
3912
4389
|
'useSessionRetainInfo: UseSessionRetainInfo',
|
|
3913
4390
|
'useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean',
|
|
4391
|
+
'useTheme: SnapshotSelectorHook<ThemeSnapshot>',
|
|
3914
4392
|
'useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean',
|
|
3915
4393
|
],
|
|
3916
4394
|
keyDomain: '',
|
|
@@ -3944,10 +4422,15 @@ export const CLIENT_SLOT_API: readonly ClientSlotEntry[] = [
|
|
|
3944
4422
|
'useContextMenu: UseContextMenu',
|
|
3945
4423
|
'useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>',
|
|
3946
4424
|
'usePanelInfo: UsePanelInfo',
|
|
4425
|
+
'useDocumentPortal: () => FC<DocumentPortalProps>',
|
|
4426
|
+
'useDocumentViewport: () => DocumentViewport',
|
|
4427
|
+
'useMediaQuery: (query: string) => boolean',
|
|
4428
|
+
'useMobile: () => boolean',
|
|
3947
4429
|
'useSessionStatus: UseSessionStatus',
|
|
3948
4430
|
'useSessions: UseSessions',
|
|
3949
4431
|
'useSessionRetainInfo: UseSessionRetainInfo',
|
|
3950
4432
|
'useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean',
|
|
4433
|
+
'useTheme: SnapshotSelectorHook<ThemeSnapshot>',
|
|
3951
4434
|
'useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean',
|
|
3952
4435
|
'useChat: UseChat',
|
|
3953
4436
|
'useConversation: UseConversation',
|
|
@@ -3987,10 +4470,15 @@ export const CLIENT_SLOT_API: readonly ClientSlotEntry[] = [
|
|
|
3987
4470
|
'useContextMenu: UseContextMenu',
|
|
3988
4471
|
'useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>',
|
|
3989
4472
|
'usePanelInfo: UsePanelInfo',
|
|
4473
|
+
'useDocumentPortal: () => FC<DocumentPortalProps>',
|
|
4474
|
+
'useDocumentViewport: () => DocumentViewport',
|
|
4475
|
+
'useMediaQuery: (query: string) => boolean',
|
|
4476
|
+
'useMobile: () => boolean',
|
|
3990
4477
|
'useSessionStatus: UseSessionStatus',
|
|
3991
4478
|
'useSessions: UseSessions',
|
|
3992
4479
|
'useSessionRetainInfo: UseSessionRetainInfo',
|
|
3993
4480
|
'useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean',
|
|
4481
|
+
'useTheme: SnapshotSelectorHook<ThemeSnapshot>',
|
|
3994
4482
|
'useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean',
|
|
3995
4483
|
],
|
|
3996
4484
|
keyDomain: '',
|
|
@@ -4040,10 +4528,15 @@ export const CLIENT_SLOT_API: readonly ClientSlotEntry[] = [
|
|
|
4040
4528
|
'useContextMenu: UseContextMenu',
|
|
4041
4529
|
'useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>',
|
|
4042
4530
|
'usePanelInfo: UsePanelInfo',
|
|
4531
|
+
'useDocumentPortal: () => FC<DocumentPortalProps>',
|
|
4532
|
+
'useDocumentViewport: () => DocumentViewport',
|
|
4533
|
+
'useMediaQuery: (query: string) => boolean',
|
|
4534
|
+
'useMobile: () => boolean',
|
|
4043
4535
|
'useSessionStatus: UseSessionStatus',
|
|
4044
4536
|
'useSessions: UseSessions',
|
|
4045
4537
|
'useSessionRetainInfo: UseSessionRetainInfo',
|
|
4046
4538
|
'useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean',
|
|
4539
|
+
'useTheme: SnapshotSelectorHook<ThemeSnapshot>',
|
|
4047
4540
|
'useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean',
|
|
4048
4541
|
],
|
|
4049
4542
|
keyDomain: '',
|
|
@@ -4074,10 +4567,15 @@ export const CLIENT_SLOT_API: readonly ClientSlotEntry[] = [
|
|
|
4074
4567
|
'useContextMenu: UseContextMenu',
|
|
4075
4568
|
'useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>',
|
|
4076
4569
|
'usePanelInfo: UsePanelInfo',
|
|
4570
|
+
'useDocumentPortal: () => FC<DocumentPortalProps>',
|
|
4571
|
+
'useDocumentViewport: () => DocumentViewport',
|
|
4572
|
+
'useMediaQuery: (query: string) => boolean',
|
|
4573
|
+
'useMobile: () => boolean',
|
|
4077
4574
|
'useSessionStatus: UseSessionStatus',
|
|
4078
4575
|
'useSessions: UseSessions',
|
|
4079
4576
|
'useSessionRetainInfo: UseSessionRetainInfo',
|
|
4080
4577
|
'useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean',
|
|
4578
|
+
'useTheme: SnapshotSelectorHook<ThemeSnapshot>',
|
|
4081
4579
|
'useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean',
|
|
4082
4580
|
],
|
|
4083
4581
|
keyDomain: '',
|
|
@@ -4092,11 +4590,11 @@ export const CLIENT_SLOT_API: readonly ClientSlotEntry[] = [
|
|
|
4092
4590
|
source: 'packages/client/ui-settings/src/client/contract/slots.ts:66',
|
|
4093
4591
|
},
|
|
4094
4592
|
{
|
|
4095
|
-
key: 'settings.general.
|
|
4593
|
+
key: 'settings.general.group',
|
|
4096
4594
|
kind: 'list',
|
|
4097
4595
|
scope: 'root',
|
|
4098
|
-
summary: 'One
|
|
4099
|
-
doc: 'One
|
|
4596
|
+
summary: 'One titled group in General Settings.',
|
|
4597
|
+
doc: 'One titled group in General Settings. Options carry its unique id,\nlocalized label, and order. The page owns the enclosing card; the\nregistrant owns content and any child item-slot declarations.',
|
|
4100
4598
|
registerOptions: [
|
|
4101
4599
|
{
|
|
4102
4600
|
name: 'id',
|
|
@@ -4118,7 +4616,7 @@ export const CLIENT_SLOT_API: readonly ClientSlotEntry[] = [
|
|
|
4118
4616
|
},
|
|
4119
4617
|
],
|
|
4120
4618
|
ownerProps: [
|
|
4121
|
-
'/**
|
|
4619
|
+
'/** A group receives no owner data; labels and ordering live on its registration. */\nexport interface SettingsGeneralGroupOwnerProps {\n /** Marker field: group owner props are intentionally empty. */\n children?: never\n}',
|
|
4122
4620
|
],
|
|
4123
4621
|
ownerPropsReferences: [],
|
|
4124
4622
|
standardProps: [
|
|
@@ -4127,10 +4625,15 @@ export const CLIENT_SLOT_API: readonly ClientSlotEntry[] = [
|
|
|
4127
4625
|
'useContextMenu: UseContextMenu',
|
|
4128
4626
|
'useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>',
|
|
4129
4627
|
'usePanelInfo: UsePanelInfo',
|
|
4628
|
+
'useDocumentPortal: () => FC<DocumentPortalProps>',
|
|
4629
|
+
'useDocumentViewport: () => DocumentViewport',
|
|
4630
|
+
'useMediaQuery: (query: string) => boolean',
|
|
4631
|
+
'useMobile: () => boolean',
|
|
4130
4632
|
'useSessionStatus: UseSessionStatus',
|
|
4131
4633
|
'useSessions: UseSessions',
|
|
4132
4634
|
'useSessionRetainInfo: UseSessionRetainInfo',
|
|
4133
4635
|
'useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean',
|
|
4636
|
+
'useTheme: SnapshotSelectorHook<ThemeSnapshot>',
|
|
4134
4637
|
'useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean',
|
|
4135
4638
|
],
|
|
4136
4639
|
keyDomain: '',
|
|
@@ -4138,34 +4641,45 @@ export const CLIENT_SLOT_API: readonly ClientSlotEntry[] = [
|
|
|
4138
4641
|
slotInject: '',
|
|
4139
4642
|
declaredBy: 'an entry in \'settings.section\' (client-ui-settings-general), so it exists while that entry is mounted',
|
|
4140
4643
|
occupants: [
|
|
4141
|
-
'client-
|
|
4142
|
-
'client-ui-
|
|
4143
|
-
'client-ui-
|
|
4144
|
-
'client-ui-
|
|
4145
|
-
'client-ui-
|
|
4146
|
-
'client-ui-
|
|
4147
|
-
'client-ui-permission-presets PermissionRow id \'permission\'',
|
|
4148
|
-
'client-ui-settings-general DeveloperToolsRow id \'developer-tools\'',
|
|
4149
|
-
'client-ui-settings-general CurrentVersionRow id \'current-version\'',
|
|
4150
|
-
'client-ui-settings-general DesktopChannelRow id \'desktop-update-channel\'',
|
|
4151
|
-
'client-ui-settings-session-log UploadRow',
|
|
4152
|
-
'client-ui-shortcuts ShortcutsRow id \'shortcuts\'',
|
|
4153
|
-
'client-ui-theme AppearanceRow id \'appearance\'',
|
|
4154
|
-
'client-ui-theme FontSettingsGroup id \'font-size\'',
|
|
4644
|
+
'client-ui-settings-general GeneralGroup id \'general\'',
|
|
4645
|
+
'client-ui-settings-general DisplayGroup id \'display\'',
|
|
4646
|
+
'client-ui-settings-general InteractionGroup id \'interaction\'',
|
|
4647
|
+
'client-ui-settings-general NotificationsGroup id \'notifications\'',
|
|
4648
|
+
'client-ui-settings-general DataGroup id \'data\'',
|
|
4649
|
+
'client-ui-settings-general UpdatesGroup id \'updates\'',
|
|
4155
4650
|
],
|
|
4156
4651
|
replaceRisk: 'none',
|
|
4157
|
-
example: 'return {\n inject: [\'slots\'],\n apply(ctx) {\n ctx.slots.inject(\'settings.general.
|
|
4158
|
-
source: 'packages/client/ui-settings/src/client/contract/slots.ts:
|
|
4652
|
+
example: 'return {\n inject: [\'slots\'],\n apply(ctx) {\n ctx.slots.inject(\'settings.general.group\', () => ctx.slots.register(\n { name: \'settings.general.group\', id: \'my-entry\', order: 100, label: \'My entry\' },\n () => React.createElement(\'div\', null, \'hello\'),\n ))\n },\n}',
|
|
4653
|
+
source: 'packages/client/ui-settings/src/client/contract/slots.ts:105',
|
|
4159
4654
|
},
|
|
4160
4655
|
{
|
|
4161
|
-
key: 'settings.
|
|
4162
|
-
kind: '
|
|
4656
|
+
key: 'settings.general.group.data.item',
|
|
4657
|
+
kind: 'list',
|
|
4163
4658
|
scope: 'root',
|
|
4164
|
-
summary: '
|
|
4165
|
-
doc: '
|
|
4166
|
-
registerOptions: [
|
|
4659
|
+
summary: 'Data and Session-log preferences.',
|
|
4660
|
+
doc: 'Data and Session-log preferences.',
|
|
4661
|
+
registerOptions: [
|
|
4662
|
+
{
|
|
4663
|
+
name: 'id',
|
|
4664
|
+
requirement: 'required',
|
|
4665
|
+
type: 'string',
|
|
4666
|
+
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.',
|
|
4667
|
+
},
|
|
4668
|
+
{
|
|
4669
|
+
name: 'order',
|
|
4670
|
+
requirement: 'optional',
|
|
4671
|
+
type: 'number',
|
|
4672
|
+
doc: 'Position among the entries, ascending (default 0).',
|
|
4673
|
+
},
|
|
4674
|
+
{
|
|
4675
|
+
name: 'label',
|
|
4676
|
+
requirement: 'optional',
|
|
4677
|
+
type: 'string | (() => string)',
|
|
4678
|
+
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.',
|
|
4679
|
+
},
|
|
4680
|
+
],
|
|
4167
4681
|
ownerProps: [
|
|
4168
|
-
'/** Owner share of
|
|
4682
|
+
'/** Owner share of a General preference row (the section supplies nothing). */\nexport interface SettingsGeneralItemOwnerProps {\n /** Marker field: item owner props are intentionally empty. */\n children?: never\n}',
|
|
4169
4683
|
],
|
|
4170
4684
|
ownerPropsReferences: [],
|
|
4171
4685
|
standardProps: [
|
|
@@ -4174,32 +4688,56 @@ export const CLIENT_SLOT_API: readonly ClientSlotEntry[] = [
|
|
|
4174
4688
|
'useContextMenu: UseContextMenu',
|
|
4175
4689
|
'useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>',
|
|
4176
4690
|
'usePanelInfo: UsePanelInfo',
|
|
4691
|
+
'useDocumentPortal: () => FC<DocumentPortalProps>',
|
|
4692
|
+
'useDocumentViewport: () => DocumentViewport',
|
|
4693
|
+
'useMediaQuery: (query: string) => boolean',
|
|
4694
|
+
'useMobile: () => boolean',
|
|
4177
4695
|
'useSessionStatus: UseSessionStatus',
|
|
4178
4696
|
'useSessions: UseSessions',
|
|
4179
4697
|
'useSessionRetainInfo: UseSessionRetainInfo',
|
|
4180
4698
|
'useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean',
|
|
4699
|
+
'useTheme: SnapshotSelectorHook<ThemeSnapshot>',
|
|
4181
4700
|
'useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean',
|
|
4182
4701
|
],
|
|
4183
4702
|
keyDomain: '',
|
|
4184
4703
|
hookContext: '',
|
|
4185
4704
|
slotInject: '',
|
|
4186
|
-
declaredBy: 'an entry in \'
|
|
4705
|
+
declaredBy: 'an entry in \'settings.general.group\' (client-ui-settings-general), so it exists while that entry is mounted',
|
|
4187
4706
|
occupants: [
|
|
4188
|
-
'client-ui-settings-
|
|
4707
|
+
'client-ui-settings-session-log UploadRow',
|
|
4189
4708
|
],
|
|
4190
|
-
replaceRisk: '
|
|
4191
|
-
example: 'return {\n inject: [\'slots\'],\n apply(ctx) {\n ctx.slots.inject(\'settings.
|
|
4192
|
-
source: 'packages/client/ui-settings/src/client/contract/slots.ts:
|
|
4709
|
+
replaceRisk: 'none',
|
|
4710
|
+
example: 'return {\n inject: [\'slots\'],\n apply(ctx) {\n ctx.slots.inject(\'settings.general.group.data.item\', () => ctx.slots.register(\n { name: \'settings.general.group.data.item\', id: \'my-entry\', order: 100, label: \'My entry\' },\n () => React.createElement(\'div\', null, \'hello\'),\n ))\n },\n}',
|
|
4711
|
+
source: 'packages/client/ui-settings/src/client/contract/slots.ts:113',
|
|
4193
4712
|
},
|
|
4194
4713
|
{
|
|
4195
|
-
key: 'settings.
|
|
4196
|
-
kind: '
|
|
4714
|
+
key: 'settings.general.group.display.item',
|
|
4715
|
+
kind: 'list',
|
|
4197
4716
|
scope: 'root',
|
|
4198
|
-
summary: '
|
|
4199
|
-
doc: '
|
|
4200
|
-
registerOptions: [
|
|
4717
|
+
summary: 'Session and work-step display preferences.',
|
|
4718
|
+
doc: 'Session and work-step display preferences.',
|
|
4719
|
+
registerOptions: [
|
|
4720
|
+
{
|
|
4721
|
+
name: 'id',
|
|
4722
|
+
requirement: 'required',
|
|
4723
|
+
type: 'string',
|
|
4724
|
+
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.',
|
|
4725
|
+
},
|
|
4726
|
+
{
|
|
4727
|
+
name: 'order',
|
|
4728
|
+
requirement: 'optional',
|
|
4729
|
+
type: 'number',
|
|
4730
|
+
doc: 'Position among the entries, ascending (default 0).',
|
|
4731
|
+
},
|
|
4732
|
+
{
|
|
4733
|
+
name: 'label',
|
|
4734
|
+
requirement: 'optional',
|
|
4735
|
+
type: 'string | (() => string)',
|
|
4736
|
+
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.',
|
|
4737
|
+
},
|
|
4738
|
+
],
|
|
4201
4739
|
ownerProps: [
|
|
4202
|
-
'/**
|
|
4740
|
+
'/** Owner share of a General preference row (the section supplies nothing). */\nexport interface SettingsGeneralItemOwnerProps {\n /** Marker field: item owner props are intentionally empty. */\n children?: never\n}',
|
|
4203
4741
|
],
|
|
4204
4742
|
ownerPropsReferences: [],
|
|
4205
4743
|
standardProps: [
|
|
@@ -4208,32 +4746,60 @@ export const CLIENT_SLOT_API: readonly ClientSlotEntry[] = [
|
|
|
4208
4746
|
'useContextMenu: UseContextMenu',
|
|
4209
4747
|
'useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>',
|
|
4210
4748
|
'usePanelInfo: UsePanelInfo',
|
|
4749
|
+
'useDocumentPortal: () => FC<DocumentPortalProps>',
|
|
4750
|
+
'useDocumentViewport: () => DocumentViewport',
|
|
4751
|
+
'useMediaQuery: (query: string) => boolean',
|
|
4752
|
+
'useMobile: () => boolean',
|
|
4211
4753
|
'useSessionStatus: UseSessionStatus',
|
|
4212
4754
|
'useSessions: UseSessions',
|
|
4213
4755
|
'useSessionRetainInfo: UseSessionRetainInfo',
|
|
4214
4756
|
'useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean',
|
|
4757
|
+
'useTheme: SnapshotSelectorHook<ThemeSnapshot>',
|
|
4215
4758
|
'useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean',
|
|
4216
4759
|
],
|
|
4217
4760
|
keyDomain: '',
|
|
4218
4761
|
hookContext: '',
|
|
4219
4762
|
slotInject: '',
|
|
4220
|
-
declaredBy: 'an entry in \'
|
|
4763
|
+
declaredBy: 'an entry in \'settings.general.group\' (client-ui-settings-general), so it exists while that entry is mounted',
|
|
4221
4764
|
occupants: [
|
|
4222
|
-
'client-ui-
|
|
4765
|
+
'client-ui-action-cards SettingsRow id \'action-cards\'',
|
|
4766
|
+
'client-ui-chat PerformanceUsageRow id \'performance-usage\'',
|
|
4767
|
+
'client-ui-chat TranscriptViewRow id \'transcript-view\'',
|
|
4768
|
+
'client-ui-permission-presets PermissionRow id \'permission\'',
|
|
4769
|
+
'client-ui-settings-general DeveloperToolsRow id \'developer-tools\'',
|
|
4223
4770
|
],
|
|
4224
|
-
replaceRisk: '
|
|
4225
|
-
example: 'return {\n inject: [\'slots\'],\n apply(ctx) {\n ctx.slots.inject(\'settings.
|
|
4226
|
-
source: 'packages/client/ui-settings/src/client/contract/slots.ts:
|
|
4771
|
+
replaceRisk: 'none',
|
|
4772
|
+
example: 'return {\n inject: [\'slots\'],\n apply(ctx) {\n ctx.slots.inject(\'settings.general.group.display.item\', () => ctx.slots.register(\n { name: \'settings.general.group.display.item\', id: \'my-entry\', order: 100, label: \'My entry\' },\n () => React.createElement(\'div\', null, \'hello\'),\n ))\n },\n}',
|
|
4773
|
+
source: 'packages/client/ui-settings/src/client/contract/slots.ts:107',
|
|
4227
4774
|
},
|
|
4228
4775
|
{
|
|
4229
|
-
key: 'settings.
|
|
4230
|
-
kind: '
|
|
4776
|
+
key: 'settings.general.group.interaction.item',
|
|
4777
|
+
kind: 'list',
|
|
4231
4778
|
scope: 'root',
|
|
4232
|
-
summary: '
|
|
4233
|
-
doc: '
|
|
4234
|
-
registerOptions: [
|
|
4779
|
+
summary: 'Sending behavior, shortcuts, and link preferences.',
|
|
4780
|
+
doc: 'Sending behavior, shortcuts, and link preferences.',
|
|
4781
|
+
registerOptions: [
|
|
4782
|
+
{
|
|
4783
|
+
name: 'id',
|
|
4784
|
+
requirement: 'required',
|
|
4785
|
+
type: 'string',
|
|
4786
|
+
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.',
|
|
4787
|
+
},
|
|
4788
|
+
{
|
|
4789
|
+
name: 'order',
|
|
4790
|
+
requirement: 'optional',
|
|
4791
|
+
type: 'number',
|
|
4792
|
+
doc: 'Position among the entries, ascending (default 0).',
|
|
4793
|
+
},
|
|
4794
|
+
{
|
|
4795
|
+
name: 'label',
|
|
4796
|
+
requirement: 'optional',
|
|
4797
|
+
type: 'string | (() => string)',
|
|
4798
|
+
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.',
|
|
4799
|
+
},
|
|
4800
|
+
],
|
|
4235
4801
|
ownerProps: [
|
|
4236
|
-
'/**
|
|
4802
|
+
'/** Owner share of a General preference row (the section supplies nothing). */\nexport interface SettingsGeneralItemOwnerProps {\n /** Marker field: item owner props are intentionally empty. */\n children?: never\n}',
|
|
4237
4803
|
],
|
|
4238
4804
|
ownerPropsReferences: [],
|
|
4239
4805
|
standardProps: [
|
|
@@ -4242,29 +4808,36 @@ export const CLIENT_SLOT_API: readonly ClientSlotEntry[] = [
|
|
|
4242
4808
|
'useContextMenu: UseContextMenu',
|
|
4243
4809
|
'useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>',
|
|
4244
4810
|
'usePanelInfo: UsePanelInfo',
|
|
4811
|
+
'useDocumentPortal: () => FC<DocumentPortalProps>',
|
|
4812
|
+
'useDocumentViewport: () => DocumentViewport',
|
|
4813
|
+
'useMediaQuery: (query: string) => boolean',
|
|
4814
|
+
'useMobile: () => boolean',
|
|
4245
4815
|
'useSessionStatus: UseSessionStatus',
|
|
4246
4816
|
'useSessions: UseSessions',
|
|
4247
4817
|
'useSessionRetainInfo: UseSessionRetainInfo',
|
|
4248
4818
|
'useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean',
|
|
4819
|
+
'useTheme: SnapshotSelectorHook<ThemeSnapshot>',
|
|
4249
4820
|
'useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean',
|
|
4250
4821
|
],
|
|
4251
4822
|
keyDomain: '',
|
|
4252
4823
|
hookContext: '',
|
|
4253
4824
|
slotInject: '',
|
|
4254
|
-
declaredBy: 'an entry in \'settings.
|
|
4825
|
+
declaredBy: 'an entry in \'settings.general.group\' (client-ui-settings-general), so it exists while that entry is mounted',
|
|
4255
4826
|
occupants: [
|
|
4256
|
-
'client-ui-
|
|
4827
|
+
'client-ui-chat LinkOpeningRow id \'link-opening\'',
|
|
4828
|
+
'client-ui-conversation EnterBehaviorRow id \'composer-enter\'',
|
|
4829
|
+
'client-ui-shortcuts ShortcutsRow id \'shortcuts\'',
|
|
4257
4830
|
],
|
|
4258
|
-
replaceRisk: '
|
|
4259
|
-
example: 'return {\n inject: [\'slots\'],\n apply(ctx) {\n ctx.slots.inject(\'settings.
|
|
4260
|
-
source: 'packages/client/ui-settings
|
|
4831
|
+
replaceRisk: 'none',
|
|
4832
|
+
example: 'return {\n inject: [\'slots\'],\n apply(ctx) {\n ctx.slots.inject(\'settings.general.group.interaction.item\', () => ctx.slots.register(\n { name: \'settings.general.group.interaction.item\', id: \'my-entry\', order: 100, label: \'My entry\' },\n () => React.createElement(\'div\', null, \'hello\'),\n ))\n },\n}',
|
|
4833
|
+
source: 'packages/client/ui-settings/src/client/contract/slots.ts:109',
|
|
4261
4834
|
},
|
|
4262
4835
|
{
|
|
4263
|
-
key: 'settings.
|
|
4836
|
+
key: 'settings.general.group.notifications.item',
|
|
4264
4837
|
kind: 'list',
|
|
4265
4838
|
scope: 'root',
|
|
4266
|
-
summary: '
|
|
4267
|
-
doc: '
|
|
4839
|
+
summary: 'Notification preferences contributed by available providers.',
|
|
4840
|
+
doc: 'Notification preferences contributed by available providers.',
|
|
4268
4841
|
registerOptions: [
|
|
4269
4842
|
{
|
|
4270
4843
|
name: 'id',
|
|
@@ -4286,7 +4859,7 @@ export const CLIENT_SLOT_API: readonly ClientSlotEntry[] = [
|
|
|
4286
4859
|
},
|
|
4287
4860
|
],
|
|
4288
4861
|
ownerProps: [
|
|
4289
|
-
'/** Owner share of
|
|
4862
|
+
'/** Owner share of a General preference row (the section supplies nothing). */\nexport interface SettingsGeneralItemOwnerProps {\n /** Marker field: item owner props are intentionally empty. */\n children?: never\n}',
|
|
4290
4863
|
],
|
|
4291
4864
|
ownerPropsReferences: [],
|
|
4292
4865
|
standardProps: [
|
|
@@ -4295,81 +4868,388 @@ export const CLIENT_SLOT_API: readonly ClientSlotEntry[] = [
|
|
|
4295
4868
|
'useContextMenu: UseContextMenu',
|
|
4296
4869
|
'useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>',
|
|
4297
4870
|
'usePanelInfo: UsePanelInfo',
|
|
4871
|
+
'useDocumentPortal: () => FC<DocumentPortalProps>',
|
|
4872
|
+
'useDocumentViewport: () => DocumentViewport',
|
|
4873
|
+
'useMediaQuery: (query: string) => boolean',
|
|
4874
|
+
'useMobile: () => boolean',
|
|
4298
4875
|
'useSessionStatus: UseSessionStatus',
|
|
4299
4876
|
'useSessions: UseSessions',
|
|
4300
4877
|
'useSessionRetainInfo: UseSessionRetainInfo',
|
|
4301
4878
|
'useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean',
|
|
4879
|
+
'useTheme: SnapshotSelectorHook<ThemeSnapshot>',
|
|
4302
4880
|
'useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean',
|
|
4303
4881
|
],
|
|
4304
4882
|
keyDomain: '',
|
|
4305
4883
|
hookContext: '',
|
|
4306
4884
|
slotInject: '',
|
|
4307
|
-
declaredBy: 'an entry in \'settings.
|
|
4885
|
+
declaredBy: 'an entry in \'settings.general.group\' (client-ui-settings-general), so it exists while that entry is mounted',
|
|
4308
4886
|
occupants: [],
|
|
4309
4887
|
replaceRisk: 'none',
|
|
4310
|
-
example: 'return {\n inject: [\'slots\'],\n apply(ctx) {\n ctx.slots.inject(\'settings.
|
|
4311
|
-
source: 'packages/client/ui-settings
|
|
4888
|
+
example: 'return {\n inject: [\'slots\'],\n apply(ctx) {\n ctx.slots.inject(\'settings.general.group.notifications.item\', () => ctx.slots.register(\n { name: \'settings.general.group.notifications.item\', id: \'my-entry\', order: 100, label: \'My entry\' },\n () => React.createElement(\'div\', null, \'hello\'),\n ))\n },\n}',
|
|
4889
|
+
source: 'packages/client/ui-settings/src/client/contract/slots.ts:111',
|
|
4312
4890
|
},
|
|
4313
4891
|
{
|
|
4314
|
-
key: 'settings.
|
|
4315
|
-
kind: '
|
|
4892
|
+
key: 'settings.general.group.updates.item',
|
|
4893
|
+
kind: 'list',
|
|
4316
4894
|
scope: 'root',
|
|
4317
|
-
summary: '
|
|
4318
|
-
doc: '
|
|
4895
|
+
summary: 'Release and update information.',
|
|
4896
|
+
doc: 'Release and update information.',
|
|
4319
4897
|
registerOptions: [
|
|
4320
4898
|
{
|
|
4321
|
-
name: '
|
|
4899
|
+
name: 'id',
|
|
4322
4900
|
requirement: 'required',
|
|
4323
4901
|
type: 'string',
|
|
4324
|
-
doc: 'Your cell key:
|
|
4902
|
+
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.',
|
|
4903
|
+
},
|
|
4904
|
+
{
|
|
4905
|
+
name: 'order',
|
|
4906
|
+
requirement: 'optional',
|
|
4907
|
+
type: 'number',
|
|
4908
|
+
doc: 'Position among the entries, ascending (default 0).',
|
|
4909
|
+
},
|
|
4910
|
+
{
|
|
4911
|
+
name: 'label',
|
|
4912
|
+
requirement: 'optional',
|
|
4913
|
+
type: 'string | (() => string)',
|
|
4914
|
+
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.',
|
|
4325
4915
|
},
|
|
4326
4916
|
],
|
|
4327
4917
|
ownerProps: [
|
|
4328
|
-
'/** Owner share of
|
|
4329
|
-
],
|
|
4330
|
-
ownerPropsReferences: [
|
|
4331
|
-
'ProviderDirectoryEntry',
|
|
4918
|
+
'/** Owner share of a General preference row (the section supplies nothing). */\nexport interface SettingsGeneralItemOwnerProps {\n /** Marker field: item owner props are intentionally empty. */\n children?: never\n}',
|
|
4332
4919
|
],
|
|
4920
|
+
ownerPropsReferences: [],
|
|
4333
4921
|
standardProps: [
|
|
4334
4922
|
'useRemoteAccess: (action: RemoteEndpoint) => boolean',
|
|
4335
4923
|
'useResource: UseResource',
|
|
4336
4924
|
'useContextMenu: UseContextMenu',
|
|
4337
4925
|
'useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>',
|
|
4338
4926
|
'usePanelInfo: UsePanelInfo',
|
|
4927
|
+
'useDocumentPortal: () => FC<DocumentPortalProps>',
|
|
4928
|
+
'useDocumentViewport: () => DocumentViewport',
|
|
4929
|
+
'useMediaQuery: (query: string) => boolean',
|
|
4930
|
+
'useMobile: () => boolean',
|
|
4339
4931
|
'useSessionStatus: UseSessionStatus',
|
|
4340
4932
|
'useSessions: UseSessions',
|
|
4341
4933
|
'useSessionRetainInfo: UseSessionRetainInfo',
|
|
4342
4934
|
'useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean',
|
|
4935
|
+
'useTheme: SnapshotSelectorHook<ThemeSnapshot>',
|
|
4343
4936
|
'useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean',
|
|
4344
4937
|
],
|
|
4345
|
-
keyDomain: '
|
|
4938
|
+
keyDomain: '',
|
|
4346
4939
|
hookContext: '',
|
|
4347
4940
|
slotInject: '',
|
|
4348
|
-
declaredBy: 'an entry in \'settings.
|
|
4349
|
-
occupants: [
|
|
4941
|
+
declaredBy: 'an entry in \'settings.general.group\' (client-ui-settings-general), so it exists while that entry is mounted',
|
|
4942
|
+
occupants: [
|
|
4943
|
+
'client-ui-settings-general CurrentVersionRow id \'current-version\'',
|
|
4944
|
+
'client-ui-settings-general DesktopChannelRow id \'desktop-update-channel\'',
|
|
4945
|
+
],
|
|
4350
4946
|
replaceRisk: 'none',
|
|
4351
|
-
example: 'return {\n inject: [\'slots\'],\n apply(ctx) {\n ctx.slots.inject(\'settings.
|
|
4352
|
-
source: 'packages/client/ui-settings
|
|
4947
|
+
example: 'return {\n inject: [\'slots\'],\n apply(ctx) {\n ctx.slots.inject(\'settings.general.group.updates.item\', () => ctx.slots.register(\n { name: \'settings.general.group.updates.item\', id: \'my-entry\', order: 100, label: \'My entry\' },\n () => React.createElement(\'div\', null, \'hello\'),\n ))\n },\n}',
|
|
4948
|
+
source: 'packages/client/ui-settings/src/client/contract/slots.ts:115',
|
|
4353
4949
|
},
|
|
4354
4950
|
{
|
|
4355
|
-
key: 'settings.
|
|
4356
|
-
kind: '
|
|
4951
|
+
key: 'settings.general.item',
|
|
4952
|
+
kind: 'list',
|
|
4357
4953
|
scope: 'root',
|
|
4358
|
-
summary: '
|
|
4359
|
-
doc: '
|
|
4360
|
-
registerOptions: [
|
|
4361
|
-
|
|
4362
|
-
|
|
4363
|
-
|
|
4954
|
+
summary: 'Legacy additive preferences in the default Preferences group.',
|
|
4955
|
+
doc: 'Legacy additive preferences in the default Preferences group. Options carry\nthe unique row id and order; registrants own copy, state, and mutations.\nRegister here when no explicit group is needed. The default group owns\nthis declaration, preserving existing plugin registrations.',
|
|
4956
|
+
registerOptions: [
|
|
4957
|
+
{
|
|
4958
|
+
name: 'id',
|
|
4959
|
+
requirement: 'required',
|
|
4960
|
+
type: 'string',
|
|
4961
|
+
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.',
|
|
4962
|
+
},
|
|
4963
|
+
{
|
|
4964
|
+
name: 'order',
|
|
4965
|
+
requirement: 'optional',
|
|
4966
|
+
type: 'number',
|
|
4967
|
+
doc: 'Position among the entries, ascending (default 0).',
|
|
4968
|
+
},
|
|
4969
|
+
{
|
|
4970
|
+
name: 'label',
|
|
4971
|
+
requirement: 'optional',
|
|
4972
|
+
type: 'string | (() => string)',
|
|
4973
|
+
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.',
|
|
4974
|
+
},
|
|
4975
|
+
],
|
|
4976
|
+
ownerProps: [
|
|
4977
|
+
'/** Owner share of a General preference row (the section supplies nothing). */\nexport interface SettingsGeneralItemOwnerProps {\n /** Marker field: item owner props are intentionally empty. */\n children?: never\n}',
|
|
4978
|
+
],
|
|
4979
|
+
ownerPropsReferences: [],
|
|
4980
|
+
standardProps: [
|
|
4981
|
+
'useRemoteAccess: (action: RemoteEndpoint) => boolean',
|
|
4982
|
+
'useResource: UseResource',
|
|
4983
|
+
'useContextMenu: UseContextMenu',
|
|
4984
|
+
'useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>',
|
|
4985
|
+
'usePanelInfo: UsePanelInfo',
|
|
4986
|
+
'useDocumentPortal: () => FC<DocumentPortalProps>',
|
|
4987
|
+
'useDocumentViewport: () => DocumentViewport',
|
|
4988
|
+
'useMediaQuery: (query: string) => boolean',
|
|
4989
|
+
'useMobile: () => boolean',
|
|
4990
|
+
'useSessionStatus: UseSessionStatus',
|
|
4991
|
+
'useSessions: UseSessions',
|
|
4992
|
+
'useSessionRetainInfo: UseSessionRetainInfo',
|
|
4993
|
+
'useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean',
|
|
4994
|
+
'useTheme: SnapshotSelectorHook<ThemeSnapshot>',
|
|
4995
|
+
'useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean',
|
|
4996
|
+
],
|
|
4997
|
+
keyDomain: '',
|
|
4998
|
+
hookContext: '',
|
|
4999
|
+
slotInject: '',
|
|
5000
|
+
declaredBy: 'an entry in \'settings.general.group\' (client-ui-settings-general), so it exists while that entry is mounted',
|
|
5001
|
+
occupants: [
|
|
5002
|
+
'client-locale LanguageRow id \'language\'',
|
|
5003
|
+
'client-ui-theme AppearanceRow id \'appearance\'',
|
|
5004
|
+
'client-ui-theme FontSettingsGroup id \'font-size\'',
|
|
5005
|
+
],
|
|
5006
|
+
replaceRisk: 'none',
|
|
5007
|
+
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}',
|
|
5008
|
+
source: 'packages/client/ui-settings/src/client/contract/slots.ts:122',
|
|
5009
|
+
},
|
|
5010
|
+
{
|
|
5011
|
+
key: 'settings.header',
|
|
5012
|
+
kind: 'single',
|
|
5013
|
+
scope: 'root',
|
|
5014
|
+
summary: 'The panel title text seat.',
|
|
5015
|
+
doc: 'The panel title text seat. Content renders inside the nav heading row;\nthe dialog\'s accessible name points at that node via aria-labelledby.\nAbsent contribution leaves the heading empty.',
|
|
5016
|
+
registerOptions: [],
|
|
5017
|
+
ownerProps: [
|
|
5018
|
+
'/** Owner share of the header title seat (the shell supplies nothing). */\nexport interface SettingsHeaderOwnerProps {\n /** Marker field: header owner props are intentionally empty. */\n children?: never\n}',
|
|
5019
|
+
],
|
|
5020
|
+
ownerPropsReferences: [],
|
|
5021
|
+
standardProps: [
|
|
5022
|
+
'useRemoteAccess: (action: RemoteEndpoint) => boolean',
|
|
5023
|
+
'useResource: UseResource',
|
|
5024
|
+
'useContextMenu: UseContextMenu',
|
|
5025
|
+
'useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>',
|
|
5026
|
+
'usePanelInfo: UsePanelInfo',
|
|
5027
|
+
'useDocumentPortal: () => FC<DocumentPortalProps>',
|
|
5028
|
+
'useDocumentViewport: () => DocumentViewport',
|
|
5029
|
+
'useMediaQuery: (query: string) => boolean',
|
|
5030
|
+
'useMobile: () => boolean',
|
|
5031
|
+
'useSessionStatus: UseSessionStatus',
|
|
5032
|
+
'useSessions: UseSessions',
|
|
5033
|
+
'useSessionRetainInfo: UseSessionRetainInfo',
|
|
5034
|
+
'useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean',
|
|
5035
|
+
'useTheme: SnapshotSelectorHook<ThemeSnapshot>',
|
|
5036
|
+
'useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean',
|
|
5037
|
+
],
|
|
5038
|
+
keyDomain: '',
|
|
5039
|
+
hookContext: '',
|
|
5040
|
+
slotInject: '',
|
|
5041
|
+
declaredBy: 'an entry in \'sidebar.settings\' (client-ui-settings-general), so it exists while that entry is mounted',
|
|
5042
|
+
occupants: [
|
|
5043
|
+
'client-ui-settings-general HeaderContent',
|
|
5044
|
+
],
|
|
5045
|
+
replaceRisk: 'shadows-shipped-ui',
|
|
5046
|
+
example: 'return {\n inject: [\'slots\'],\n apply(ctx) {\n ctx.slots.inject(\'settings.header\', () => ctx.slots.register(\n { name: \'settings.header\' },\n () => React.createElement(\'div\', null, \'hello\'),\n ))\n },\n}',
|
|
5047
|
+
source: 'packages/client/ui-settings/src/client/contract/slots.ts:54',
|
|
5048
|
+
},
|
|
5049
|
+
{
|
|
5050
|
+
key: 'settings.launcher',
|
|
5051
|
+
kind: 'single',
|
|
5052
|
+
scope: 'root',
|
|
5053
|
+
summary: 'Optional sidebar account launcher; opens the shell-owned settings panel.',
|
|
5054
|
+
doc: 'Optional sidebar account launcher; opens the shell-owned settings panel.',
|
|
5055
|
+
registerOptions: [],
|
|
5056
|
+
ownerProps: [
|
|
5057
|
+
'/** Sidebar launcher geometry and settings navigation. */\nexport interface SettingsLauncherOwnerProps {\n /** Whether the sidebar shows labels. */\n wide: boolean\n /** Whether the settings dialog covers the sidebar; a launcher may treat a false-to-true edge as one Settings entry. */\n settingsOpen: boolean\n /** Effective Settings key labels and accessible combination; omitted when unbound. */\n settingsShortcut?: { readonly keys: readonly string[]; readonly aria?: string | undefined }\n /** @param sectionId - section to open; absent uses the shell\'s default section. */\n openSettings: (sectionId?: string) => void\n /** @param id - registered onboarding editor to open explicitly. */\n openOnboarding: (id: string) => void\n}',
|
|
5058
|
+
],
|
|
5059
|
+
ownerPropsReferences: [],
|
|
5060
|
+
standardProps: [
|
|
5061
|
+
'useRemoteAccess: (action: RemoteEndpoint) => boolean',
|
|
5062
|
+
'useResource: UseResource',
|
|
5063
|
+
'useContextMenu: UseContextMenu',
|
|
5064
|
+
'useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>',
|
|
5065
|
+
'usePanelInfo: UsePanelInfo',
|
|
5066
|
+
'useDocumentPortal: () => FC<DocumentPortalProps>',
|
|
5067
|
+
'useDocumentViewport: () => DocumentViewport',
|
|
5068
|
+
'useMediaQuery: (query: string) => boolean',
|
|
5069
|
+
'useMobile: () => boolean',
|
|
5070
|
+
'useSessionStatus: UseSessionStatus',
|
|
5071
|
+
'useSessions: UseSessions',
|
|
5072
|
+
'useSessionRetainInfo: UseSessionRetainInfo',
|
|
5073
|
+
'useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean',
|
|
5074
|
+
'useTheme: SnapshotSelectorHook<ThemeSnapshot>',
|
|
5075
|
+
'useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean',
|
|
5076
|
+
],
|
|
5077
|
+
keyDomain: '',
|
|
5078
|
+
hookContext: '',
|
|
5079
|
+
slotInject: '',
|
|
5080
|
+
declaredBy: 'an entry in \'sidebar.settings\' (client-ui-settings-general), so it exists while that entry is mounted',
|
|
5081
|
+
occupants: [
|
|
5082
|
+
'client-ui-settings-account AccountMenu',
|
|
5083
|
+
],
|
|
5084
|
+
replaceRisk: 'shadows-shipped-ui',
|
|
5085
|
+
example: 'return {\n inject: [\'slots\'],\n apply(ctx) {\n ctx.slots.inject(\'settings.launcher\', () => ctx.slots.register(\n { name: \'settings.launcher\' },\n () => React.createElement(\'div\', null, \'hello\'),\n ))\n },\n}',
|
|
5086
|
+
source: 'packages/client/ui-settings/src/client/contract/slots.ts:32',
|
|
5087
|
+
},
|
|
5088
|
+
{
|
|
5089
|
+
key: 'settings.launcher.notifications',
|
|
5090
|
+
kind: 'single',
|
|
5091
|
+
scope: 'root',
|
|
5092
|
+
summary: 'Notifications in the row above the account launcher; the contribution owns its markup and lifecycle.',
|
|
5093
|
+
doc: 'Notifications in the row above the account launcher; the contribution owns its markup and lifecycle.',
|
|
5094
|
+
registerOptions: [],
|
|
5095
|
+
ownerProps: [
|
|
5096
|
+
'/** Account presentation facts supplied to its notification extension. */\nexport interface AccountNotificationsOwnerProps {\n /** Whether a signed-in account can display notifications outside onboarding. */\n active: boolean\n /** Open the account section in the existing settings shell. */\n openAccount: () => void\n}',
|
|
5097
|
+
],
|
|
5098
|
+
ownerPropsReferences: [],
|
|
5099
|
+
standardProps: [
|
|
4364
5100
|
'useRemoteAccess: (action: RemoteEndpoint) => boolean',
|
|
4365
5101
|
'useResource: UseResource',
|
|
4366
5102
|
'useContextMenu: UseContextMenu',
|
|
4367
5103
|
'useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>',
|
|
4368
5104
|
'usePanelInfo: UsePanelInfo',
|
|
5105
|
+
'useDocumentPortal: () => FC<DocumentPortalProps>',
|
|
5106
|
+
'useDocumentViewport: () => DocumentViewport',
|
|
5107
|
+
'useMediaQuery: (query: string) => boolean',
|
|
5108
|
+
'useMobile: () => boolean',
|
|
4369
5109
|
'useSessionStatus: UseSessionStatus',
|
|
4370
5110
|
'useSessions: UseSessions',
|
|
4371
5111
|
'useSessionRetainInfo: UseSessionRetainInfo',
|
|
4372
5112
|
'useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean',
|
|
5113
|
+
'useTheme: SnapshotSelectorHook<ThemeSnapshot>',
|
|
5114
|
+
'useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean',
|
|
5115
|
+
],
|
|
5116
|
+
keyDomain: '',
|
|
5117
|
+
hookContext: '',
|
|
5118
|
+
slotInject: '',
|
|
5119
|
+
declaredBy: 'an entry in \'settings.notice\' (client-ui-settings-account), so it exists while that entry is mounted',
|
|
5120
|
+
occupants: [
|
|
5121
|
+
'client-ui-account-notifications AccountNotifications',
|
|
5122
|
+
],
|
|
5123
|
+
replaceRisk: 'shadows-shipped-ui',
|
|
5124
|
+
example: 'return {\n inject: [\'slots\'],\n apply(ctx) {\n ctx.slots.inject(\'settings.launcher.notifications\', () => ctx.slots.register(\n { name: \'settings.launcher.notifications\' },\n () => React.createElement(\'div\', null, \'hello\'),\n ))\n },\n}',
|
|
5125
|
+
source: 'packages/client/ui-settings-account/src/client/account-ui.ts:47',
|
|
5126
|
+
},
|
|
5127
|
+
{
|
|
5128
|
+
key: 'settings.models.footer',
|
|
5129
|
+
kind: 'list',
|
|
5130
|
+
scope: 'root',
|
|
5131
|
+
summary: 'Ordered extension area after the provider rows and the add controls.',
|
|
5132
|
+
doc: 'Ordered extension area after the provider rows and the add controls.\nWithout a registrant the area renders nothing.',
|
|
5133
|
+
registerOptions: [
|
|
5134
|
+
{
|
|
5135
|
+
name: 'id',
|
|
5136
|
+
requirement: 'required',
|
|
5137
|
+
type: 'string',
|
|
5138
|
+
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.',
|
|
5139
|
+
},
|
|
5140
|
+
{
|
|
5141
|
+
name: 'order',
|
|
5142
|
+
requirement: 'optional',
|
|
5143
|
+
type: 'number',
|
|
5144
|
+
doc: 'Position among the entries, ascending (default 0).',
|
|
5145
|
+
},
|
|
5146
|
+
{
|
|
5147
|
+
name: 'label',
|
|
5148
|
+
requirement: 'optional',
|
|
5149
|
+
type: 'string | (() => string)',
|
|
5150
|
+
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.',
|
|
5151
|
+
},
|
|
5152
|
+
],
|
|
5153
|
+
ownerProps: [
|
|
5154
|
+
'/** Owner share of the footer area (the section supplies nothing). */\nexport interface ModelsFooterOwnerProps {\n /** Marker field: footer owner props are intentionally empty. */\n children?: never\n}',
|
|
5155
|
+
],
|
|
5156
|
+
ownerPropsReferences: [],
|
|
5157
|
+
standardProps: [
|
|
5158
|
+
'useRemoteAccess: (action: RemoteEndpoint) => boolean',
|
|
5159
|
+
'useResource: UseResource',
|
|
5160
|
+
'useContextMenu: UseContextMenu',
|
|
5161
|
+
'useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>',
|
|
5162
|
+
'usePanelInfo: UsePanelInfo',
|
|
5163
|
+
'useDocumentPortal: () => FC<DocumentPortalProps>',
|
|
5164
|
+
'useDocumentViewport: () => DocumentViewport',
|
|
5165
|
+
'useMediaQuery: (query: string) => boolean',
|
|
5166
|
+
'useMobile: () => boolean',
|
|
5167
|
+
'useSessionStatus: UseSessionStatus',
|
|
5168
|
+
'useSessions: UseSessions',
|
|
5169
|
+
'useSessionRetainInfo: UseSessionRetainInfo',
|
|
5170
|
+
'useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean',
|
|
5171
|
+
'useTheme: SnapshotSelectorHook<ThemeSnapshot>',
|
|
5172
|
+
'useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean',
|
|
5173
|
+
],
|
|
5174
|
+
keyDomain: '',
|
|
5175
|
+
hookContext: '',
|
|
5176
|
+
slotInject: '',
|
|
5177
|
+
declaredBy: 'an entry in \'settings.section\' (client-ui-settings-models), so it exists while that entry is mounted',
|
|
5178
|
+
occupants: [],
|
|
5179
|
+
replaceRisk: 'none',
|
|
5180
|
+
example: 'return {\n inject: [\'slots\'],\n apply(ctx) {\n ctx.slots.inject(\'settings.models.footer\', () => ctx.slots.register(\n { name: \'settings.models.footer\', id: \'my-entry\', order: 100, label: \'My entry\' },\n () => React.createElement(\'div\', null, \'hello\'),\n ))\n },\n}',
|
|
5181
|
+
source: 'packages/client/ui-settings-models/src/client/slot-contract.ts:42',
|
|
5182
|
+
},
|
|
5183
|
+
{
|
|
5184
|
+
key: 'settings.models.provider-card',
|
|
5185
|
+
kind: 'keyed',
|
|
5186
|
+
scope: 'root',
|
|
5187
|
+
summary: 'One provider card\'s adapter extension area, dispatched with the serving adapter\'s namespace as `entryKey` on every card that renders a directory row: a saved row\'s card (its first-run setup posture included) and the add-provider draft card.',
|
|
5188
|
+
doc: 'One provider card\'s adapter extension area, dispatched with the serving\nadapter\'s namespace as `entryKey` on every card that renders a directory row: a\nsaved row\'s card (its first-run setup posture included) and the\nadd-provider draft card. The hand-declared draft card has no directory\nrow yet, so it dispatches nothing until saved. Without a registrant the\narea renders nothing.',
|
|
5189
|
+
registerOptions: [
|
|
5190
|
+
{
|
|
5191
|
+
name: 'key',
|
|
5192
|
+
requirement: 'required',
|
|
5193
|
+
type: 'string',
|
|
5194
|
+
doc: 'Your cell key: the entry renders where the owner dispatches this exact key. Registering an already-occupied key replaces that occupant.',
|
|
5195
|
+
},
|
|
5196
|
+
],
|
|
5197
|
+
ownerProps: [
|
|
5198
|
+
'/** Owner share of one provider-card extension occurrence. */\nexport interface ProviderCardExtrasOwnerProps {\n /** The card\'s directory row (route id, display name, settings address, live state). */\n provider: ProviderDirectoryEntry\n /** Whether any layer configures this provider (its profile resolves); `false` while the add-provider draft edits a dormant row. */\n configured: boolean\n /** Whether the row\'s referenced api-key credential is confirmed configured (the page\'s credential join). */\n keyConfigured: boolean\n}',
|
|
5199
|
+
],
|
|
5200
|
+
ownerPropsReferences: [
|
|
5201
|
+
'ProviderDirectoryEntry',
|
|
5202
|
+
],
|
|
5203
|
+
standardProps: [
|
|
5204
|
+
'useRemoteAccess: (action: RemoteEndpoint) => boolean',
|
|
5205
|
+
'useResource: UseResource',
|
|
5206
|
+
'useContextMenu: UseContextMenu',
|
|
5207
|
+
'useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>',
|
|
5208
|
+
'usePanelInfo: UsePanelInfo',
|
|
5209
|
+
'useDocumentPortal: () => FC<DocumentPortalProps>',
|
|
5210
|
+
'useDocumentViewport: () => DocumentViewport',
|
|
5211
|
+
'useMediaQuery: (query: string) => boolean',
|
|
5212
|
+
'useMobile: () => boolean',
|
|
5213
|
+
'useSessionStatus: UseSessionStatus',
|
|
5214
|
+
'useSessions: UseSessions',
|
|
5215
|
+
'useSessionRetainInfo: UseSessionRetainInfo',
|
|
5216
|
+
'useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean',
|
|
5217
|
+
'useTheme: SnapshotSelectorHook<ThemeSnapshot>',
|
|
5218
|
+
'useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean',
|
|
5219
|
+
],
|
|
5220
|
+
keyDomain: 'open: any string the owner dispatches (no compile-time key set), none are taken yet',
|
|
5221
|
+
hookContext: '',
|
|
5222
|
+
slotInject: '',
|
|
5223
|
+
declaredBy: 'an entry in \'settings.section\' (client-ui-settings-models), so it exists while that entry is mounted',
|
|
5224
|
+
occupants: [],
|
|
5225
|
+
replaceRisk: 'none',
|
|
5226
|
+
example: 'return {\n inject: [\'slots\'],\n apply(ctx) {\n ctx.slots.inject(\'settings.models.provider-card\', () => ctx.slots.register(\n { name: \'settings.models.provider-card\', key: \'<one key the owner dispatches>\' },\n () => React.createElement(\'div\', null, \'hello\'),\n ))\n },\n}',
|
|
5227
|
+
source: 'packages/client/ui-settings-models/src/client/slot-contract.ts:35',
|
|
5228
|
+
},
|
|
5229
|
+
{
|
|
5230
|
+
key: 'settings.models.sign-in',
|
|
5231
|
+
kind: 'single',
|
|
5232
|
+
scope: 'root',
|
|
5233
|
+
summary: 'Optional account login choice before the credential editor.',
|
|
5234
|
+
doc: 'Optional account login choice before the credential editor.',
|
|
5235
|
+
registerOptions: [],
|
|
5236
|
+
ownerProps: [],
|
|
5237
|
+
ownerPropsReferences: [],
|
|
5238
|
+
standardProps: [
|
|
5239
|
+
'useRemoteAccess: (action: RemoteEndpoint) => boolean',
|
|
5240
|
+
'useResource: UseResource',
|
|
5241
|
+
'useContextMenu: UseContextMenu',
|
|
5242
|
+
'useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>',
|
|
5243
|
+
'usePanelInfo: UsePanelInfo',
|
|
5244
|
+
'useDocumentPortal: () => FC<DocumentPortalProps>',
|
|
5245
|
+
'useDocumentViewport: () => DocumentViewport',
|
|
5246
|
+
'useMediaQuery: (query: string) => boolean',
|
|
5247
|
+
'useMobile: () => boolean',
|
|
5248
|
+
'useSessionStatus: UseSessionStatus',
|
|
5249
|
+
'useSessions: UseSessions',
|
|
5250
|
+
'useSessionRetainInfo: UseSessionRetainInfo',
|
|
5251
|
+
'useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean',
|
|
5252
|
+
'useTheme: SnapshotSelectorHook<ThemeSnapshot>',
|
|
4373
5253
|
'useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean',
|
|
4374
5254
|
],
|
|
4375
5255
|
keyDomain: '',
|
|
@@ -4381,7 +5261,7 @@ export const CLIENT_SLOT_API: readonly ClientSlotEntry[] = [
|
|
|
4381
5261
|
],
|
|
4382
5262
|
replaceRisk: 'shadows-shipped-ui',
|
|
4383
5263
|
example: 'return {\n inject: [\'slots\'],\n apply(ctx) {\n ctx.slots.inject(\'settings.models.sign-in\', () => ctx.slots.register(\n { name: \'settings.models.sign-in\' },\n () => React.createElement(\'div\', null, \'hello\'),\n ))\n },\n}',
|
|
4384
|
-
source: 'packages/client/ui-settings-models/src/client/slot-contract.ts:
|
|
5264
|
+
source: 'packages/client/ui-settings-models/src/client/slot-contract.ts:37',
|
|
4385
5265
|
},
|
|
4386
5266
|
{
|
|
4387
5267
|
key: 'settings.notice',
|
|
@@ -4400,10 +5280,15 @@ export const CLIENT_SLOT_API: readonly ClientSlotEntry[] = [
|
|
|
4400
5280
|
'useContextMenu: UseContextMenu',
|
|
4401
5281
|
'useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>',
|
|
4402
5282
|
'usePanelInfo: UsePanelInfo',
|
|
5283
|
+
'useDocumentPortal: () => FC<DocumentPortalProps>',
|
|
5284
|
+
'useDocumentViewport: () => DocumentViewport',
|
|
5285
|
+
'useMediaQuery: (query: string) => boolean',
|
|
5286
|
+
'useMobile: () => boolean',
|
|
4403
5287
|
'useSessionStatus: UseSessionStatus',
|
|
4404
5288
|
'useSessions: UseSessions',
|
|
4405
5289
|
'useSessionRetainInfo: UseSessionRetainInfo',
|
|
4406
5290
|
'useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean',
|
|
5291
|
+
'useTheme: SnapshotSelectorHook<ThemeSnapshot>',
|
|
4407
5292
|
'useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean',
|
|
4408
5293
|
],
|
|
4409
5294
|
keyDomain: '',
|
|
@@ -4453,10 +5338,15 @@ export const CLIENT_SLOT_API: readonly ClientSlotEntry[] = [
|
|
|
4453
5338
|
'useContextMenu: UseContextMenu',
|
|
4454
5339
|
'useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>',
|
|
4455
5340
|
'usePanelInfo: UsePanelInfo',
|
|
5341
|
+
'useDocumentPortal: () => FC<DocumentPortalProps>',
|
|
5342
|
+
'useDocumentViewport: () => DocumentViewport',
|
|
5343
|
+
'useMediaQuery: (query: string) => boolean',
|
|
5344
|
+
'useMobile: () => boolean',
|
|
4456
5345
|
'useSessionStatus: UseSessionStatus',
|
|
4457
5346
|
'useSessions: UseSessions',
|
|
4458
5347
|
'useSessionRetainInfo: UseSessionRetainInfo',
|
|
4459
5348
|
'useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean',
|
|
5349
|
+
'useTheme: SnapshotSelectorHook<ThemeSnapshot>',
|
|
4460
5350
|
'useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean',
|
|
4461
5351
|
],
|
|
4462
5352
|
keyDomain: '',
|
|
@@ -4469,7 +5359,7 @@ export const CLIENT_SLOT_API: readonly ClientSlotEntry[] = [
|
|
|
4469
5359
|
],
|
|
4470
5360
|
replaceRisk: 'none',
|
|
4471
5361
|
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}',
|
|
4472
|
-
source: 'packages/client/ui-settings/src/client/contract/slots.ts:
|
|
5362
|
+
source: 'packages/client/ui-settings/src/client/contract/slots.ts:99',
|
|
4473
5363
|
},
|
|
4474
5364
|
{
|
|
4475
5365
|
key: 'settings.remoteConnection.content',
|
|
@@ -4488,10 +5378,15 @@ export const CLIENT_SLOT_API: readonly ClientSlotEntry[] = [
|
|
|
4488
5378
|
'useContextMenu: UseContextMenu',
|
|
4489
5379
|
'useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>',
|
|
4490
5380
|
'usePanelInfo: UsePanelInfo',
|
|
5381
|
+
'useDocumentPortal: () => FC<DocumentPortalProps>',
|
|
5382
|
+
'useDocumentViewport: () => DocumentViewport',
|
|
5383
|
+
'useMediaQuery: (query: string) => boolean',
|
|
5384
|
+
'useMobile: () => boolean',
|
|
4491
5385
|
'useSessionStatus: UseSessionStatus',
|
|
4492
5386
|
'useSessions: UseSessions',
|
|
4493
5387
|
'useSessionRetainInfo: UseSessionRetainInfo',
|
|
4494
5388
|
'useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean',
|
|
5389
|
+
'useTheme: SnapshotSelectorHook<ThemeSnapshot>',
|
|
4495
5390
|
'useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean',
|
|
4496
5391
|
],
|
|
4497
5392
|
keyDomain: '',
|
|
@@ -4541,10 +5436,15 @@ export const CLIENT_SLOT_API: readonly ClientSlotEntry[] = [
|
|
|
4541
5436
|
'useContextMenu: UseContextMenu',
|
|
4542
5437
|
'useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>',
|
|
4543
5438
|
'usePanelInfo: UsePanelInfo',
|
|
5439
|
+
'useDocumentPortal: () => FC<DocumentPortalProps>',
|
|
5440
|
+
'useDocumentViewport: () => DocumentViewport',
|
|
5441
|
+
'useMediaQuery: (query: string) => boolean',
|
|
5442
|
+
'useMobile: () => boolean',
|
|
4544
5443
|
'useSessionStatus: UseSessionStatus',
|
|
4545
5444
|
'useSessions: UseSessions',
|
|
4546
5445
|
'useSessionRetainInfo: UseSessionRetainInfo',
|
|
4547
5446
|
'useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean',
|
|
5447
|
+
'useTheme: SnapshotSelectorHook<ThemeSnapshot>',
|
|
4548
5448
|
'useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean',
|
|
4549
5449
|
],
|
|
4550
5450
|
keyDomain: '',
|
|
@@ -4561,7 +5461,7 @@ export const CLIENT_SLOT_API: readonly ClientSlotEntry[] = [
|
|
|
4561
5461
|
kind: 'list',
|
|
4562
5462
|
scope: 'root',
|
|
4563
5463
|
summary: 'One settings page per list entry, rendered through the `settings.section.view` Factory.',
|
|
4564
|
-
doc: 'One settings page per list entry, rendered through the\n`settings.section.view` Factory. Settings lists every entry in its\nnavigation; the Plugins page also shows an entry on the listed bundle row\n(or bundle) whose module is the registering package, when that row (or\nbundle) registers no configuration of its own. Registrant options carry the nav\nidentity: `id` (section key, drives `only` filtering), `order` (nav\nposition), `label` (registrant-localized display text, usually a thunk\nthat each projection re-reads on locale change). An entry renders\nwherever a caller renders `settings.section.view` with its id.\
|
|
5464
|
+
doc: 'One settings page per list entry, rendered through the\n`settings.section.view` Factory. Settings lists every entry in its\nnavigation; the Plugins page also shows an entry on the listed bundle row\n(or bundle) whose module is the registering package, when that row (or\nbundle) registers no configuration of its own. Registrant options carry the nav\nidentity: `id` (section key, drives `only` filtering), `order` (nav\nposition), `label` (registrant-localized display text, usually a thunk\nthat each projection re-reads on locale change). An entry renders\nwherever a caller renders `settings.section.view` with its id.\nGeneral Settings hosts the `settings.general.group` list; each group\nowns its content and any child preference slots.',
|
|
4565
5465
|
registerOptions: [
|
|
4566
5466
|
{
|
|
4567
5467
|
name: 'id',
|
|
@@ -4592,10 +5492,15 @@ export const CLIENT_SLOT_API: readonly ClientSlotEntry[] = [
|
|
|
4592
5492
|
'useContextMenu: UseContextMenu',
|
|
4593
5493
|
'useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>',
|
|
4594
5494
|
'usePanelInfo: UsePanelInfo',
|
|
5495
|
+
'useDocumentPortal: () => FC<DocumentPortalProps>',
|
|
5496
|
+
'useDocumentViewport: () => DocumentViewport',
|
|
5497
|
+
'useMediaQuery: (query: string) => boolean',
|
|
5498
|
+
'useMobile: () => boolean',
|
|
4595
5499
|
'useSessionStatus: UseSessionStatus',
|
|
4596
5500
|
'useSessions: UseSessions',
|
|
4597
5501
|
'useSessionRetainInfo: UseSessionRetainInfo',
|
|
4598
5502
|
'useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean',
|
|
5503
|
+
'useTheme: SnapshotSelectorHook<ThemeSnapshot>',
|
|
4599
5504
|
'useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean',
|
|
4600
5505
|
],
|
|
4601
5506
|
keyDomain: '',
|
|
@@ -4612,7 +5517,7 @@ export const CLIENT_SLOT_API: readonly ClientSlotEntry[] = [
|
|
|
4612
5517
|
],
|
|
4613
5518
|
replaceRisk: 'none',
|
|
4614
5519
|
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}',
|
|
4615
|
-
source: 'packages/client/ui-settings/src/client/contract/slots.ts:
|
|
5520
|
+
source: 'packages/client/ui-settings/src/client/contract/slots.ts:80',
|
|
4616
5521
|
},
|
|
4617
5522
|
{
|
|
4618
5523
|
key: 'settings.section.icon',
|
|
@@ -4650,10 +5555,15 @@ export const CLIENT_SLOT_API: readonly ClientSlotEntry[] = [
|
|
|
4650
5555
|
'useContextMenu: UseContextMenu',
|
|
4651
5556
|
'useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>',
|
|
4652
5557
|
'usePanelInfo: UsePanelInfo',
|
|
5558
|
+
'useDocumentPortal: () => FC<DocumentPortalProps>',
|
|
5559
|
+
'useDocumentViewport: () => DocumentViewport',
|
|
5560
|
+
'useMediaQuery: (query: string) => boolean',
|
|
5561
|
+
'useMobile: () => boolean',
|
|
4653
5562
|
'useSessionStatus: UseSessionStatus',
|
|
4654
5563
|
'useSessions: UseSessions',
|
|
4655
5564
|
'useSessionRetainInfo: UseSessionRetainInfo',
|
|
4656
5565
|
'useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean',
|
|
5566
|
+
'useTheme: SnapshotSelectorHook<ThemeSnapshot>',
|
|
4657
5567
|
'useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean',
|
|
4658
5568
|
],
|
|
4659
5569
|
keyDomain: '',
|
|
@@ -4663,7 +5573,7 @@ export const CLIENT_SLOT_API: readonly ClientSlotEntry[] = [
|
|
|
4663
5573
|
occupants: [],
|
|
4664
5574
|
replaceRisk: 'none',
|
|
4665
5575
|
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}',
|
|
4666
|
-
source: 'packages/client/ui-settings/src/client/contract/slots.ts:
|
|
5576
|
+
source: 'packages/client/ui-settings/src/client/contract/slots.ts:88',
|
|
4667
5577
|
},
|
|
4668
5578
|
{
|
|
4669
5579
|
key: 'settings.trigger',
|
|
@@ -4682,10 +5592,15 @@ export const CLIENT_SLOT_API: readonly ClientSlotEntry[] = [
|
|
|
4682
5592
|
'useContextMenu: UseContextMenu',
|
|
4683
5593
|
'useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>',
|
|
4684
5594
|
'usePanelInfo: UsePanelInfo',
|
|
5595
|
+
'useDocumentPortal: () => FC<DocumentPortalProps>',
|
|
5596
|
+
'useDocumentViewport: () => DocumentViewport',
|
|
5597
|
+
'useMediaQuery: (query: string) => boolean',
|
|
5598
|
+
'useMobile: () => boolean',
|
|
4685
5599
|
'useSessionStatus: UseSessionStatus',
|
|
4686
5600
|
'useSessions: UseSessions',
|
|
4687
5601
|
'useSessionRetainInfo: UseSessionRetainInfo',
|
|
4688
5602
|
'useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean',
|
|
5603
|
+
'useTheme: SnapshotSelectorHook<ThemeSnapshot>',
|
|
4689
5604
|
'useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean',
|
|
4690
5605
|
],
|
|
4691
5606
|
keyDomain: '',
|
|
@@ -4714,10 +5629,15 @@ export const CLIENT_SLOT_API: readonly ClientSlotEntry[] = [
|
|
|
4714
5629
|
'useContextMenu: UseContextMenu',
|
|
4715
5630
|
'useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>',
|
|
4716
5631
|
'usePanelInfo: UsePanelInfo',
|
|
5632
|
+
'useDocumentPortal: () => FC<DocumentPortalProps>',
|
|
5633
|
+
'useDocumentViewport: () => DocumentViewport',
|
|
5634
|
+
'useMediaQuery: (query: string) => boolean',
|
|
5635
|
+
'useMobile: () => boolean',
|
|
4717
5636
|
'useSessionStatus: UseSessionStatus',
|
|
4718
5637
|
'useSessions: UseSessions',
|
|
4719
5638
|
'useSessionRetainInfo: UseSessionRetainInfo',
|
|
4720
5639
|
'useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean',
|
|
5640
|
+
'useTheme: SnapshotSelectorHook<ThemeSnapshot>',
|
|
4721
5641
|
'useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean',
|
|
4722
5642
|
],
|
|
4723
5643
|
keyDomain: '',
|
|
@@ -4746,10 +5666,15 @@ export const CLIENT_SLOT_API: readonly ClientSlotEntry[] = [
|
|
|
4746
5666
|
'useContextMenu: UseContextMenu',
|
|
4747
5667
|
'useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>',
|
|
4748
5668
|
'usePanelInfo: UsePanelInfo',
|
|
5669
|
+
'useDocumentPortal: () => FC<DocumentPortalProps>',
|
|
5670
|
+
'useDocumentViewport: () => DocumentViewport',
|
|
5671
|
+
'useMediaQuery: (query: string) => boolean',
|
|
5672
|
+
'useMobile: () => boolean',
|
|
4749
5673
|
'useSessionStatus: UseSessionStatus',
|
|
4750
5674
|
'useSessions: UseSessions',
|
|
4751
5675
|
'useSessionRetainInfo: UseSessionRetainInfo',
|
|
4752
5676
|
'useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean',
|
|
5677
|
+
'useTheme: SnapshotSelectorHook<ThemeSnapshot>',
|
|
4753
5678
|
'useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean',
|
|
4754
5679
|
],
|
|
4755
5680
|
keyDomain: '',
|
|
@@ -4797,10 +5722,15 @@ export const CLIENT_SLOT_API: readonly ClientSlotEntry[] = [
|
|
|
4797
5722
|
'useContextMenu: UseContextMenu',
|
|
4798
5723
|
'useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>',
|
|
4799
5724
|
'usePanelInfo: UsePanelInfo',
|
|
5725
|
+
'useDocumentPortal: () => FC<DocumentPortalProps>',
|
|
5726
|
+
'useDocumentViewport: () => DocumentViewport',
|
|
5727
|
+
'useMediaQuery: (query: string) => boolean',
|
|
5728
|
+
'useMobile: () => boolean',
|
|
4800
5729
|
'useSessionStatus: UseSessionStatus',
|
|
4801
5730
|
'useSessions: UseSessions',
|
|
4802
5731
|
'useSessionRetainInfo: UseSessionRetainInfo',
|
|
4803
5732
|
'useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean',
|
|
5733
|
+
'useTheme: SnapshotSelectorHook<ThemeSnapshot>',
|
|
4804
5734
|
'useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean',
|
|
4805
5735
|
],
|
|
4806
5736
|
keyDomain: '',
|
|
@@ -4829,6 +5759,8 @@ export const CLIENT_SLOT_API: readonly ClientSlotEntry[] = [
|
|
|
4829
5759
|
'client-ui-workspace SessionArchiveConfirmDialog id \'workspace.session-archive\'',
|
|
4830
5760
|
'client-ui-workspace RowActionToast id \'workspace.row-toast\'',
|
|
4831
5761
|
'experimental-client-ui-forge ActionToast id \'forge-panel.toast\'',
|
|
5762
|
+
'client-ui-office-frame-forwarding RetainedViews id \'office.retained-views\'',
|
|
5763
|
+
'client-ui-sidechat SidechatToast id \'sidechat.notice\'',
|
|
4832
5764
|
'cua PermissionToast id \'cua-permission-outcome\'',
|
|
4833
5765
|
'session-log-export SessionMarkdownCopyToast id \'session-log-download.copy-toast\'',
|
|
4834
5766
|
'session-log-export SessionLogDownloadDialog id \'session-log-download\'',
|
|
@@ -4863,10 +5795,15 @@ export const CLIENT_SLOT_API: readonly ClientSlotEntry[] = [
|
|
|
4863
5795
|
'useContextMenu: UseContextMenu',
|
|
4864
5796
|
'useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>',
|
|
4865
5797
|
'usePanelInfo: UsePanelInfo',
|
|
5798
|
+
'useDocumentPortal: () => FC<DocumentPortalProps>',
|
|
5799
|
+
'useDocumentViewport: () => DocumentViewport',
|
|
5800
|
+
'useMediaQuery: (query: string) => boolean',
|
|
5801
|
+
'useMobile: () => boolean',
|
|
4866
5802
|
'useSessionStatus: UseSessionStatus',
|
|
4867
5803
|
'useSessions: UseSessions',
|
|
4868
5804
|
'useSessionRetainInfo: UseSessionRetainInfo',
|
|
4869
5805
|
'useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean',
|
|
5806
|
+
'useTheme: SnapshotSelectorHook<ThemeSnapshot>',
|
|
4870
5807
|
'useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean',
|
|
4871
5808
|
],
|
|
4872
5809
|
keyDomain: '',
|
|
@@ -4878,7 +5815,7 @@ export const CLIENT_SLOT_API: readonly ClientSlotEntry[] = [
|
|
|
4878
5815
|
],
|
|
4879
5816
|
replaceRisk: 'none',
|
|
4880
5817
|
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}',
|
|
4881
|
-
source: 'packages/client/ui-chat/src/client/contract/slots.ts:
|
|
5818
|
+
source: 'packages/client/ui-chat/src/client/contract/slots.ts:530',
|
|
4882
5819
|
},
|
|
4883
5820
|
{
|
|
4884
5821
|
key: 'sidebar',
|
|
@@ -4888,7 +5825,7 @@ export const CLIENT_SLOT_API: readonly ClientSlotEntry[] = [
|
|
|
4888
5825
|
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.',
|
|
4889
5826
|
registerOptions: [],
|
|
4890
5827
|
ownerProps: [
|
|
4891
|
-
'/** 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}',
|
|
5828
|
+
'/** 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 /**\n * True while the frame eases its column tracks after a collapse, expand, or fold change, and false during a\n * resize drag or a viewport change; a sidebar that sets its own width eases it on the same curve meanwhile.\n */\n animating: boolean\n}',
|
|
4892
5829
|
],
|
|
4893
5830
|
ownerPropsReferences: [],
|
|
4894
5831
|
standardProps: [
|
|
@@ -4897,10 +5834,15 @@ export const CLIENT_SLOT_API: readonly ClientSlotEntry[] = [
|
|
|
4897
5834
|
'useContextMenu: UseContextMenu',
|
|
4898
5835
|
'useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>',
|
|
4899
5836
|
'usePanelInfo: UsePanelInfo',
|
|
5837
|
+
'useDocumentPortal: () => FC<DocumentPortalProps>',
|
|
5838
|
+
'useDocumentViewport: () => DocumentViewport',
|
|
5839
|
+
'useMediaQuery: (query: string) => boolean',
|
|
5840
|
+
'useMobile: () => boolean',
|
|
4900
5841
|
'useSessionStatus: UseSessionStatus',
|
|
4901
5842
|
'useSessions: UseSessions',
|
|
4902
5843
|
'useSessionRetainInfo: UseSessionRetainInfo',
|
|
4903
5844
|
'useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean',
|
|
5845
|
+
'useTheme: SnapshotSelectorHook<ThemeSnapshot>',
|
|
4904
5846
|
'useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean',
|
|
4905
5847
|
],
|
|
4906
5848
|
keyDomain: '',
|
|
@@ -4931,10 +5873,15 @@ export const CLIENT_SLOT_API: readonly ClientSlotEntry[] = [
|
|
|
4931
5873
|
'useContextMenu: UseContextMenu',
|
|
4932
5874
|
'useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>',
|
|
4933
5875
|
'usePanelInfo: UsePanelInfo',
|
|
5876
|
+
'useDocumentPortal: () => FC<DocumentPortalProps>',
|
|
5877
|
+
'useDocumentViewport: () => DocumentViewport',
|
|
5878
|
+
'useMediaQuery: (query: string) => boolean',
|
|
5879
|
+
'useMobile: () => boolean',
|
|
4934
5880
|
'useSessionStatus: UseSessionStatus',
|
|
4935
5881
|
'useSessions: UseSessions',
|
|
4936
5882
|
'useSessionRetainInfo: UseSessionRetainInfo',
|
|
4937
5883
|
'useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean',
|
|
5884
|
+
'useTheme: SnapshotSelectorHook<ThemeSnapshot>',
|
|
4938
5885
|
'useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean',
|
|
4939
5886
|
],
|
|
4940
5887
|
keyDomain: '',
|
|
@@ -4966,10 +5913,15 @@ export const CLIENT_SLOT_API: readonly ClientSlotEntry[] = [
|
|
|
4966
5913
|
'useContextMenu: UseContextMenu',
|
|
4967
5914
|
'useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>',
|
|
4968
5915
|
'usePanelInfo: UsePanelInfo',
|
|
5916
|
+
'useDocumentPortal: () => FC<DocumentPortalProps>',
|
|
5917
|
+
'useDocumentViewport: () => DocumentViewport',
|
|
5918
|
+
'useMediaQuery: (query: string) => boolean',
|
|
5919
|
+
'useMobile: () => boolean',
|
|
4969
5920
|
'useSessionStatus: UseSessionStatus',
|
|
4970
5921
|
'useSessions: UseSessions',
|
|
4971
5922
|
'useSessionRetainInfo: UseSessionRetainInfo',
|
|
4972
5923
|
'useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean',
|
|
5924
|
+
'useTheme: SnapshotSelectorHook<ThemeSnapshot>',
|
|
4973
5925
|
'useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean',
|
|
4974
5926
|
],
|
|
4975
5927
|
keyDomain: '',
|
|
@@ -4999,10 +5951,15 @@ export const CLIENT_SLOT_API: readonly ClientSlotEntry[] = [
|
|
|
4999
5951
|
'useContextMenu: UseContextMenu',
|
|
5000
5952
|
'useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>',
|
|
5001
5953
|
'usePanelInfo: UsePanelInfo',
|
|
5954
|
+
'useDocumentPortal: () => FC<DocumentPortalProps>',
|
|
5955
|
+
'useDocumentViewport: () => DocumentViewport',
|
|
5956
|
+
'useMediaQuery: (query: string) => boolean',
|
|
5957
|
+
'useMobile: () => boolean',
|
|
5002
5958
|
'useSessionStatus: UseSessionStatus',
|
|
5003
5959
|
'useSessions: UseSessions',
|
|
5004
5960
|
'useSessionRetainInfo: UseSessionRetainInfo',
|
|
5005
5961
|
'useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean',
|
|
5962
|
+
'useTheme: SnapshotSelectorHook<ThemeSnapshot>',
|
|
5006
5963
|
'useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean',
|
|
5007
5964
|
'useChat: UseChat',
|
|
5008
5965
|
'useConversation: UseConversation',
|
|
@@ -5061,10 +6018,15 @@ export const CLIENT_SLOT_API: readonly ClientSlotEntry[] = [
|
|
|
5061
6018
|
'useContextMenu: UseContextMenu',
|
|
5062
6019
|
'useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>',
|
|
5063
6020
|
'usePanelInfo: UsePanelInfo',
|
|
6021
|
+
'useDocumentPortal: () => FC<DocumentPortalProps>',
|
|
6022
|
+
'useDocumentViewport: () => DocumentViewport',
|
|
6023
|
+
'useMediaQuery: (query: string) => boolean',
|
|
6024
|
+
'useMobile: () => boolean',
|
|
5064
6025
|
'useSessionStatus: UseSessionStatus',
|
|
5065
6026
|
'useSessions: UseSessions',
|
|
5066
6027
|
'useSessionRetainInfo: UseSessionRetainInfo',
|
|
5067
6028
|
'useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean',
|
|
6029
|
+
'useTheme: SnapshotSelectorHook<ThemeSnapshot>',
|
|
5068
6030
|
'useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean',
|
|
5069
6031
|
],
|
|
5070
6032
|
keyDomain: '',
|
|
@@ -5114,10 +6076,15 @@ export const CLIENT_SLOT_API: readonly ClientSlotEntry[] = [
|
|
|
5114
6076
|
'useContextMenu: UseContextMenu',
|
|
5115
6077
|
'useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>',
|
|
5116
6078
|
'usePanelInfo: UsePanelInfo',
|
|
6079
|
+
'useDocumentPortal: () => FC<DocumentPortalProps>',
|
|
6080
|
+
'useDocumentViewport: () => DocumentViewport',
|
|
6081
|
+
'useMediaQuery: (query: string) => boolean',
|
|
6082
|
+
'useMobile: () => boolean',
|
|
5117
6083
|
'useSessionStatus: UseSessionStatus',
|
|
5118
6084
|
'useSessions: UseSessions',
|
|
5119
6085
|
'useSessionRetainInfo: UseSessionRetainInfo',
|
|
5120
6086
|
'useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean',
|
|
6087
|
+
'useTheme: SnapshotSelectorHook<ThemeSnapshot>',
|
|
5121
6088
|
'useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean',
|
|
5122
6089
|
],
|
|
5123
6090
|
keyDomain: '',
|
|
@@ -5171,10 +6138,15 @@ export const CLIENT_SLOT_API: readonly ClientSlotEntry[] = [
|
|
|
5171
6138
|
'useContextMenu: UseContextMenu',
|
|
5172
6139
|
'useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>',
|
|
5173
6140
|
'usePanelInfo: UsePanelInfo',
|
|
6141
|
+
'useDocumentPortal: () => FC<DocumentPortalProps>',
|
|
6142
|
+
'useDocumentViewport: () => DocumentViewport',
|
|
6143
|
+
'useMediaQuery: (query: string) => boolean',
|
|
6144
|
+
'useMobile: () => boolean',
|
|
5174
6145
|
'useSessionStatus: UseSessionStatus',
|
|
5175
6146
|
'useSessions: UseSessions',
|
|
5176
6147
|
'useSessionRetainInfo: UseSessionRetainInfo',
|
|
5177
6148
|
'useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean',
|
|
6149
|
+
'useTheme: SnapshotSelectorHook<ThemeSnapshot>',
|
|
5178
6150
|
'useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean',
|
|
5179
6151
|
],
|
|
5180
6152
|
keyDomain: '',
|
|
@@ -5224,10 +6196,15 @@ export const CLIENT_SLOT_API: readonly ClientSlotEntry[] = [
|
|
|
5224
6196
|
'useContextMenu: UseContextMenu',
|
|
5225
6197
|
'useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>',
|
|
5226
6198
|
'usePanelInfo: UsePanelInfo',
|
|
6199
|
+
'useDocumentPortal: () => FC<DocumentPortalProps>',
|
|
6200
|
+
'useDocumentViewport: () => DocumentViewport',
|
|
6201
|
+
'useMediaQuery: (query: string) => boolean',
|
|
6202
|
+
'useMobile: () => boolean',
|
|
5227
6203
|
'useSessionStatus: UseSessionStatus',
|
|
5228
6204
|
'useSessions: UseSessions',
|
|
5229
6205
|
'useSessionRetainInfo: UseSessionRetainInfo',
|
|
5230
6206
|
'useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean',
|
|
6207
|
+
'useTheme: SnapshotSelectorHook<ThemeSnapshot>',
|
|
5231
6208
|
'useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean',
|
|
5232
6209
|
],
|
|
5233
6210
|
keyDomain: '',
|
|
@@ -5263,10 +6240,15 @@ export const CLIENT_SLOT_API: readonly ClientSlotEntry[] = [
|
|
|
5263
6240
|
'useContextMenu: UseContextMenu',
|
|
5264
6241
|
'useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>',
|
|
5265
6242
|
'usePanelInfo: UsePanelInfo',
|
|
6243
|
+
'useDocumentPortal: () => FC<DocumentPortalProps>',
|
|
6244
|
+
'useDocumentViewport: () => DocumentViewport',
|
|
6245
|
+
'useMediaQuery: (query: string) => boolean',
|
|
6246
|
+
'useMobile: () => boolean',
|
|
5266
6247
|
'useSessionStatus: UseSessionStatus',
|
|
5267
6248
|
'useSessions: UseSessions',
|
|
5268
6249
|
'useSessionRetainInfo: UseSessionRetainInfo',
|
|
5269
6250
|
'useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean',
|
|
6251
|
+
'useTheme: SnapshotSelectorHook<ThemeSnapshot>',
|
|
5270
6252
|
'useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean',
|
|
5271
6253
|
'useChat: UseChat',
|
|
5272
6254
|
'useConversation: UseConversation',
|
|
@@ -5294,6 +6276,7 @@ export const CLIENT_SLOT_API: readonly ClientSlotEntry[] = [
|
|
|
5294
6276
|
'client-ui-sidebar-terminal LazyTerminalBody',
|
|
5295
6277
|
'client-ui-subagent SidebarChatTab',
|
|
5296
6278
|
'experimental-client-ui-forge ChangesTab',
|
|
6279
|
+
'client-ui-sidechat SidechatTab',
|
|
5297
6280
|
'experimental-session-inspector SessionInspectorView',
|
|
5298
6281
|
'timeline Panel',
|
|
5299
6282
|
],
|
|
@@ -5323,10 +6306,15 @@ export const CLIENT_SLOT_API: readonly ClientSlotEntry[] = [
|
|
|
5323
6306
|
'useContextMenu: UseContextMenu',
|
|
5324
6307
|
'useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>',
|
|
5325
6308
|
'usePanelInfo: UsePanelInfo',
|
|
6309
|
+
'useDocumentPortal: () => FC<DocumentPortalProps>',
|
|
6310
|
+
'useDocumentViewport: () => DocumentViewport',
|
|
6311
|
+
'useMediaQuery: (query: string) => boolean',
|
|
6312
|
+
'useMobile: () => boolean',
|
|
5326
6313
|
'useSessionStatus: UseSessionStatus',
|
|
5327
6314
|
'useSessions: UseSessions',
|
|
5328
6315
|
'useSessionRetainInfo: UseSessionRetainInfo',
|
|
5329
6316
|
'useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean',
|
|
6317
|
+
'useTheme: SnapshotSelectorHook<ThemeSnapshot>',
|
|
5330
6318
|
'useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean',
|
|
5331
6319
|
'useChat: UseChat',
|
|
5332
6320
|
'useConversation: UseConversation',
|
|
@@ -5352,6 +6340,7 @@ export const CLIENT_SLOT_API: readonly ClientSlotEntry[] = [
|
|
|
5352
6340
|
'client-ui-sidebar-right GuideTitle',
|
|
5353
6341
|
'client-ui-sidebar-terminal TerminalTitle',
|
|
5354
6342
|
'experimental-client-ui-forge ChangesTabTitle',
|
|
6343
|
+
'client-ui-sidechat SidechatTitle',
|
|
5355
6344
|
],
|
|
5356
6345
|
replaceRisk: 'none',
|
|
5357
6346
|
example: 'return {\n inject: [\'slots\'],\n apply(ctx) {\n ctx.slots.inject(\'sidebar.right.pane.tab.title\', () => ctx.slots.register(\n { name: \'sidebar.right.pane.tab.title\', key: \'<one key the owner dispatches>\' },\n () => React.createElement(\'div\', null, \'hello\'),\n ))\n },\n}',
|
|
@@ -5383,10 +6372,15 @@ export const CLIENT_SLOT_API: readonly ClientSlotEntry[] = [
|
|
|
5383
6372
|
'useContextMenu: UseContextMenu',
|
|
5384
6373
|
'useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>',
|
|
5385
6374
|
'usePanelInfo: UsePanelInfo',
|
|
6375
|
+
'useDocumentPortal: () => FC<DocumentPortalProps>',
|
|
6376
|
+
'useDocumentViewport: () => DocumentViewport',
|
|
6377
|
+
'useMediaQuery: (query: string) => boolean',
|
|
6378
|
+
'useMobile: () => boolean',
|
|
5386
6379
|
'useSessionStatus: UseSessionStatus',
|
|
5387
6380
|
'useSessions: UseSessions',
|
|
5388
6381
|
'useSessionRetainInfo: UseSessionRetainInfo',
|
|
5389
6382
|
'useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean',
|
|
6383
|
+
'useTheme: SnapshotSelectorHook<ThemeSnapshot>',
|
|
5390
6384
|
'useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean',
|
|
5391
6385
|
'useChat: UseChat',
|
|
5392
6386
|
'useConversation: UseConversation',
|
|
@@ -5442,10 +6436,15 @@ export const CLIENT_SLOT_API: readonly ClientSlotEntry[] = [
|
|
|
5442
6436
|
'useContextMenu: UseContextMenu',
|
|
5443
6437
|
'useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>',
|
|
5444
6438
|
'usePanelInfo: UsePanelInfo',
|
|
6439
|
+
'useDocumentPortal: () => FC<DocumentPortalProps>',
|
|
6440
|
+
'useDocumentViewport: () => DocumentViewport',
|
|
6441
|
+
'useMediaQuery: (query: string) => boolean',
|
|
6442
|
+
'useMobile: () => boolean',
|
|
5445
6443
|
'useSessionStatus: UseSessionStatus',
|
|
5446
6444
|
'useSessions: UseSessions',
|
|
5447
6445
|
'useSessionRetainInfo: UseSessionRetainInfo',
|
|
5448
6446
|
'useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean',
|
|
6447
|
+
'useTheme: SnapshotSelectorHook<ThemeSnapshot>',
|
|
5449
6448
|
'useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean',
|
|
5450
6449
|
'useChat: UseChat',
|
|
5451
6450
|
'useConversation: UseConversation',
|
|
@@ -5502,10 +6501,15 @@ export const CLIENT_SLOT_API: readonly ClientSlotEntry[] = [
|
|
|
5502
6501
|
'useContextMenu: UseContextMenu',
|
|
5503
6502
|
'useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>',
|
|
5504
6503
|
'usePanelInfo: UsePanelInfo',
|
|
6504
|
+
'useDocumentPortal: () => FC<DocumentPortalProps>',
|
|
6505
|
+
'useDocumentViewport: () => DocumentViewport',
|
|
6506
|
+
'useMediaQuery: (query: string) => boolean',
|
|
6507
|
+
'useMobile: () => boolean',
|
|
5505
6508
|
'useSessionStatus: UseSessionStatus',
|
|
5506
6509
|
'useSessions: UseSessions',
|
|
5507
6510
|
'useSessionRetainInfo: UseSessionRetainInfo',
|
|
5508
6511
|
'useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean',
|
|
6512
|
+
'useTheme: SnapshotSelectorHook<ThemeSnapshot>',
|
|
5509
6513
|
'useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean',
|
|
5510
6514
|
'useChat: UseChat',
|
|
5511
6515
|
'useConversation: UseConversation',
|
|
@@ -5528,6 +6532,106 @@ export const CLIENT_SLOT_API: readonly ClientSlotEntry[] = [
|
|
|
5528
6532
|
example: 'return {\n inject: [\'slots\'],\n apply(ctx) {\n ctx.slots.inject(\'sidebar.right.tab.document.actions\', () => ctx.slots.register(\n { name: \'sidebar.right.tab.document.actions\', id: \'my-entry\', order: 100, label: \'My entry\' },\n () => React.createElement(\'div\', null, \'hello\'),\n ))\n },\n}',
|
|
5529
6533
|
source: 'packages/client/ui-sidebar-documentpreview/src/client/document/contract.ts:66',
|
|
5530
6534
|
},
|
|
6535
|
+
{
|
|
6536
|
+
key: 'sidebar.right.tab.document.office.native',
|
|
6537
|
+
kind: 'single',
|
|
6538
|
+
scope: 'session',
|
|
6539
|
+
summary: 'Optional Desktop renderer for DOCX, XLSX, and PPTX sources.',
|
|
6540
|
+
doc: 'Optional Desktop renderer for DOCX, XLSX, and PPTX sources. The owner renders the format-specific fallback itself:\nwithout a registration, for other formats, and after the renderer reports that native rendering cannot open\nor stopped rendering after opening.',
|
|
6541
|
+
registerOptions: [],
|
|
6542
|
+
ownerProps: [
|
|
6543
|
+
'/** Inputs of the optional native Office renderer; the document preview keeps the format-specific fallback. */\nexport interface OfficeNativeOwner extends Pick<DocumentBodyOwner, \'resourceAddress\' | \'content\'> {\n /**\n * Report that native rendering of this owner\'s content revision cannot open or stopped rendering after opening; call\n * it from an event or failure callback, never during render. The owner replaces this slot with the format-specific\n * fallback until the content revision changes, including through reload. Calls for a superseded revision or a closed\n * tab are ignored. The reference stays stable for one tab occurrence and revision.\n */\n readonly onNativeUnavailable: () => void\n}',
|
|
6544
|
+
],
|
|
6545
|
+
ownerPropsReferences: [
|
|
6546
|
+
'DocumentBodyOwner',
|
|
6547
|
+
],
|
|
6548
|
+
standardProps: [
|
|
6549
|
+
'useRemoteAccess: (action: RemoteEndpoint) => boolean',
|
|
6550
|
+
'useResource: UseResource',
|
|
6551
|
+
'useContextMenu: UseContextMenu',
|
|
6552
|
+
'useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>',
|
|
6553
|
+
'usePanelInfo: UsePanelInfo',
|
|
6554
|
+
'useDocumentPortal: () => FC<DocumentPortalProps>',
|
|
6555
|
+
'useDocumentViewport: () => DocumentViewport',
|
|
6556
|
+
'useMediaQuery: (query: string) => boolean',
|
|
6557
|
+
'useMobile: () => boolean',
|
|
6558
|
+
'useSessionStatus: UseSessionStatus',
|
|
6559
|
+
'useSessions: UseSessions',
|
|
6560
|
+
'useSessionRetainInfo: UseSessionRetainInfo',
|
|
6561
|
+
'useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean',
|
|
6562
|
+
'useTheme: SnapshotSelectorHook<ThemeSnapshot>',
|
|
6563
|
+
'useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean',
|
|
6564
|
+
'useChat: UseChat',
|
|
6565
|
+
'useConversation: UseConversation',
|
|
6566
|
+
'useInput: SnapshotSelectorHook<InputState>',
|
|
6567
|
+
'inputActions: InputActions',
|
|
6568
|
+
'useSession: SessionSnapshotSelector',
|
|
6569
|
+
'sessionId: SessionId',
|
|
6570
|
+
'useProjection: UseProjection',
|
|
6571
|
+
'useAccess: (action: RemoteEndpoint) => boolean',
|
|
6572
|
+
'useTrajectory: UseTrajectory',
|
|
6573
|
+
],
|
|
6574
|
+
keyDomain: '',
|
|
6575
|
+
hookContext: 'UseSidebarRightTabInfo',
|
|
6576
|
+
slotInject: '{ hooks: { tabInfo: SlotHookFactory<\'sidebar.right.tab.document\', UseSidebarRightTabInfo> } }',
|
|
6577
|
+
declaredBy: 'an entry in \'sidebar.right.tab.document\' (client-ui-sidebar-documentpreview), so it exists while that entry is mounted',
|
|
6578
|
+
occupants: [
|
|
6579
|
+
'client-ui-office-frame-forwarding Preview',
|
|
6580
|
+
],
|
|
6581
|
+
replaceRisk: 'shadows-shipped-ui',
|
|
6582
|
+
example: 'return {\n inject: [\'slots\'],\n apply(ctx) {\n ctx.slots.inject(\'sidebar.right.tab.document.office.native\', () => ctx.slots.register(\n { name: \'sidebar.right.tab.document.office.native\' },\n () => React.createElement(\'div\', null, \'hello\'),\n ))\n },\n}',
|
|
6583
|
+
source: 'packages/client/ui-sidebar-documentpreview/src/client/office/OfficeBody.tsx:43',
|
|
6584
|
+
},
|
|
6585
|
+
{
|
|
6586
|
+
key: 'sidebar.right.tab.document.office.native.action',
|
|
6587
|
+
kind: 'single',
|
|
6588
|
+
scope: 'session',
|
|
6589
|
+
summary: 'Native controls alongside the shared document reload action.',
|
|
6590
|
+
doc: 'Native controls alongside the shared document reload action.',
|
|
6591
|
+
registerOptions: [],
|
|
6592
|
+
ownerProps: [
|
|
6593
|
+
'/**\n * Ordinary file contents, or a request for the selected renderer to load its content.\n * Byte arrays are transient UI input, never persisted layout or Session data.\n */\nexport type DocumentContent =\n | { readonly kind: \'text\'; readonly text: string; readonly pages: readonly DocumentTextPage[]; readonly eof: boolean }\n | { readonly kind: \'bytes\'; readonly data: Uint8Array<ArrayBuffer> }\n | {\n readonly kind: \'renderer\'\n /** Changes on reload or implementation replacement; retained contents belong to one revision. */\n readonly revision: number\n /** Report the displayed source version; stale revisions cannot update the owner. @param version - loaded source version. */\n readonly loaded: (version: string) => void\n /** End a failed load; a later file change can start another revision. */\n readonly failed: () => void\n /** Cancel the current load and start a new revision. */\n readonly reload: () => void\n }',
|
|
6594
|
+
],
|
|
6595
|
+
ownerPropsReferences: [
|
|
6596
|
+
'DocumentTextPage',
|
|
6597
|
+
],
|
|
6598
|
+
standardProps: [
|
|
6599
|
+
'useRemoteAccess: (action: RemoteEndpoint) => boolean',
|
|
6600
|
+
'useResource: UseResource',
|
|
6601
|
+
'useContextMenu: UseContextMenu',
|
|
6602
|
+
'useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>',
|
|
6603
|
+
'usePanelInfo: UsePanelInfo',
|
|
6604
|
+
'useDocumentPortal: () => FC<DocumentPortalProps>',
|
|
6605
|
+
'useDocumentViewport: () => DocumentViewport',
|
|
6606
|
+
'useMediaQuery: (query: string) => boolean',
|
|
6607
|
+
'useMobile: () => boolean',
|
|
6608
|
+
'useSessionStatus: UseSessionStatus',
|
|
6609
|
+
'useSessions: UseSessions',
|
|
6610
|
+
'useSessionRetainInfo: UseSessionRetainInfo',
|
|
6611
|
+
'useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean',
|
|
6612
|
+
'useTheme: SnapshotSelectorHook<ThemeSnapshot>',
|
|
6613
|
+
'useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean',
|
|
6614
|
+
'useChat: UseChat',
|
|
6615
|
+
'useConversation: UseConversation',
|
|
6616
|
+
'useInput: SnapshotSelectorHook<InputState>',
|
|
6617
|
+
'inputActions: InputActions',
|
|
6618
|
+
'useSession: SessionSnapshotSelector',
|
|
6619
|
+
'sessionId: SessionId',
|
|
6620
|
+
'useProjection: UseProjection',
|
|
6621
|
+
'useAccess: (action: RemoteEndpoint) => boolean',
|
|
6622
|
+
'useTrajectory: UseTrajectory',
|
|
6623
|
+
],
|
|
6624
|
+
keyDomain: '',
|
|
6625
|
+
hookContext: 'UseSidebarRightTabInfo',
|
|
6626
|
+
slotInject: '{ hooks: { tabInfo: SlotHookFactory<\'sidebar.right.tab.document\', UseSidebarRightTabInfo> } }',
|
|
6627
|
+
declaredBy: 'an entry in \'sidebar.right.tab.document.action\' (client-ui-sidebar-documentpreview), so it exists while that entry is mounted',
|
|
6628
|
+
occupants: [
|
|
6629
|
+
'client-ui-office-frame-forwarding PresentationAction',
|
|
6630
|
+
],
|
|
6631
|
+
replaceRisk: 'shadows-shipped-ui',
|
|
6632
|
+
example: 'return {\n inject: [\'slots\'],\n apply(ctx) {\n ctx.slots.inject(\'sidebar.right.tab.document.office.native.action\', () => ctx.slots.register(\n { name: \'sidebar.right.tab.document.office.native.action\' },\n () => React.createElement(\'div\', null, \'hello\'),\n ))\n },\n}',
|
|
6633
|
+
source: 'packages/client/ui-sidebar-documentpreview/src/client/office/OfficeBody.tsx:31',
|
|
6634
|
+
},
|
|
5531
6635
|
{
|
|
5532
6636
|
key: 'sidebar.right.tab.document.office.pdf',
|
|
5533
6637
|
kind: 'keyed',
|
|
@@ -5554,10 +6658,15 @@ export const CLIENT_SLOT_API: readonly ClientSlotEntry[] = [
|
|
|
5554
6658
|
'useContextMenu: UseContextMenu',
|
|
5555
6659
|
'useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>',
|
|
5556
6660
|
'usePanelInfo: UsePanelInfo',
|
|
6661
|
+
'useDocumentPortal: () => FC<DocumentPortalProps>',
|
|
6662
|
+
'useDocumentViewport: () => DocumentViewport',
|
|
6663
|
+
'useMediaQuery: (query: string) => boolean',
|
|
6664
|
+
'useMobile: () => boolean',
|
|
5557
6665
|
'useSessionStatus: UseSessionStatus',
|
|
5558
6666
|
'useSessions: UseSessions',
|
|
5559
6667
|
'useSessionRetainInfo: UseSessionRetainInfo',
|
|
5560
6668
|
'useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean',
|
|
6669
|
+
'useTheme: SnapshotSelectorHook<ThemeSnapshot>',
|
|
5561
6670
|
'useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean',
|
|
5562
6671
|
'useChat: UseChat',
|
|
5563
6672
|
'useConversation: UseConversation',
|
|
@@ -5578,7 +6687,64 @@ export const CLIENT_SLOT_API: readonly ClientSlotEntry[] = [
|
|
|
5578
6687
|
],
|
|
5579
6688
|
replaceRisk: 'none',
|
|
5580
6689
|
example: 'return {\n inject: [\'slots\'],\n apply(ctx) {\n ctx.slots.inject(\'sidebar.right.tab.document.office.pdf\', () => ctx.slots.register(\n { name: \'sidebar.right.tab.document.office.pdf\', key: \'<one key the owner dispatches>\' },\n () => React.createElement(\'div\', null, \'hello\'),\n ))\n },\n}',
|
|
5581
|
-
source: 'packages/client/ui-sidebar-documentpreview/src/client/office/OfficeBody.tsx:
|
|
6690
|
+
source: 'packages/client/ui-sidebar-documentpreview/src/client/office/OfficeBody.tsx:59',
|
|
6691
|
+
},
|
|
6692
|
+
{
|
|
6693
|
+
key: 'sidebar.right.tab.document.office.spreadsheet',
|
|
6694
|
+
kind: 'keyed',
|
|
6695
|
+
scope: 'session',
|
|
6696
|
+
summary: 'Browser workbook presentation used after native rendering fails.',
|
|
6697
|
+
doc: 'Browser workbook presentation used after native rendering fails.',
|
|
6698
|
+
registerOptions: [
|
|
6699
|
+
{
|
|
6700
|
+
name: 'key',
|
|
6701
|
+
requirement: 'required',
|
|
6702
|
+
type: 'string',
|
|
6703
|
+
doc: 'Your cell key: the entry renders where the owner dispatches this exact key. Registering an already-occupied key replaces that occupant.',
|
|
6704
|
+
},
|
|
6705
|
+
],
|
|
6706
|
+
ownerProps: [
|
|
6707
|
+
'/** Content and viewing inputs shared by document bodies and nested PDF presentation. */\nexport interface DocumentBodyOwner {\n /** Observe a file read by this renderer. @param address - complete file resource address. */\n readonly addResource: (address: string) => void\n /** Replace this renderer\'s dependencies. @param addresses - complete file resource addresses. */\n readonly setResources: (addresses: readonly string[]) => void\n /** Original file address, also readable through the standard useResource hook. */\n readonly resourceAddress: string\n /** Ordinary file content or a renderer-owned loading request; text accumulates until eof. */\n readonly content: DocumentContent\n /** The document toolbar\'s current wrapping preference. */\n readonly wrap: boolean\n /** Report a renderer-owned scrollport; passing `null` restores the shared body as the owner. */\n readonly scrollportRef: RefCallback<HTMLElement>\n}',
|
|
6708
|
+
],
|
|
6709
|
+
ownerPropsReferences: [
|
|
6710
|
+
'DocumentContent',
|
|
6711
|
+
],
|
|
6712
|
+
standardProps: [
|
|
6713
|
+
'useRemoteAccess: (action: RemoteEndpoint) => boolean',
|
|
6714
|
+
'useResource: UseResource',
|
|
6715
|
+
'useContextMenu: UseContextMenu',
|
|
6716
|
+
'useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>',
|
|
6717
|
+
'usePanelInfo: UsePanelInfo',
|
|
6718
|
+
'useDocumentPortal: () => FC<DocumentPortalProps>',
|
|
6719
|
+
'useDocumentViewport: () => DocumentViewport',
|
|
6720
|
+
'useMediaQuery: (query: string) => boolean',
|
|
6721
|
+
'useMobile: () => boolean',
|
|
6722
|
+
'useSessionStatus: UseSessionStatus',
|
|
6723
|
+
'useSessions: UseSessions',
|
|
6724
|
+
'useSessionRetainInfo: UseSessionRetainInfo',
|
|
6725
|
+
'useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean',
|
|
6726
|
+
'useTheme: SnapshotSelectorHook<ThemeSnapshot>',
|
|
6727
|
+
'useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean',
|
|
6728
|
+
'useChat: UseChat',
|
|
6729
|
+
'useConversation: UseConversation',
|
|
6730
|
+
'useInput: SnapshotSelectorHook<InputState>',
|
|
6731
|
+
'inputActions: InputActions',
|
|
6732
|
+
'useSession: SessionSnapshotSelector',
|
|
6733
|
+
'sessionId: SessionId',
|
|
6734
|
+
'useProjection: UseProjection',
|
|
6735
|
+
'useAccess: (action: RemoteEndpoint) => boolean',
|
|
6736
|
+
'useTrajectory: UseTrajectory',
|
|
6737
|
+
],
|
|
6738
|
+
keyDomain: 'open: any string the owner dispatches (no compile-time key set), already taken: @deepseek-ai/dsh-client-ui-sidebar-documentpreview/office',
|
|
6739
|
+
hookContext: 'UseSidebarRightTabInfo',
|
|
6740
|
+
slotInject: '{ hooks: { tabInfo: SlotHookFactory<\'sidebar.right.tab.document\', UseSidebarRightTabInfo> } }',
|
|
6741
|
+
declaredBy: 'an entry in \'sidebar.right.tab.document\' (client-ui-sidebar-documentpreview), so it exists while that entry is mounted',
|
|
6742
|
+
occupants: [
|
|
6743
|
+
'client-ui-sidebar-documentpreview LazyExcelBody key \'@deepseek-ai/dsh-client-ui-sidebar-documentpreview/office\'',
|
|
6744
|
+
],
|
|
6745
|
+
replaceRisk: 'shadows-shipped-ui',
|
|
6746
|
+
example: 'return {\n inject: [\'slots\'],\n apply(ctx) {\n ctx.slots.inject(\'sidebar.right.tab.document.office.spreadsheet\', () => ctx.slots.register(\n { name: \'sidebar.right.tab.document.office.spreadsheet\', key: \'<one key the owner dispatches>\' },\n () => React.createElement(\'div\', null, \'hello\'),\n ))\n },\n}',
|
|
6747
|
+
source: 'packages/client/ui-sidebar-documentpreview/src/client/office/OfficeBody.tsx:51',
|
|
5582
6748
|
},
|
|
5583
6749
|
{
|
|
5584
6750
|
key: 'sidebar.right.tab.document.unpreviewable',
|
|
@@ -5614,10 +6780,15 @@ export const CLIENT_SLOT_API: readonly ClientSlotEntry[] = [
|
|
|
5614
6780
|
'useContextMenu: UseContextMenu',
|
|
5615
6781
|
'useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>',
|
|
5616
6782
|
'usePanelInfo: UsePanelInfo',
|
|
6783
|
+
'useDocumentPortal: () => FC<DocumentPortalProps>',
|
|
6784
|
+
'useDocumentViewport: () => DocumentViewport',
|
|
6785
|
+
'useMediaQuery: (query: string) => boolean',
|
|
6786
|
+
'useMobile: () => boolean',
|
|
5617
6787
|
'useSessionStatus: UseSessionStatus',
|
|
5618
6788
|
'useSessions: UseSessions',
|
|
5619
6789
|
'useSessionRetainInfo: UseSessionRetainInfo',
|
|
5620
6790
|
'useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean',
|
|
6791
|
+
'useTheme: SnapshotSelectorHook<ThemeSnapshot>',
|
|
5621
6792
|
'useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean',
|
|
5622
6793
|
'useChat: UseChat',
|
|
5623
6794
|
'useConversation: UseConversation',
|
|
@@ -5674,10 +6845,15 @@ export const CLIENT_SLOT_API: readonly ClientSlotEntry[] = [
|
|
|
5674
6845
|
'useContextMenu: UseContextMenu',
|
|
5675
6846
|
'useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>',
|
|
5676
6847
|
'usePanelInfo: UsePanelInfo',
|
|
6848
|
+
'useDocumentPortal: () => FC<DocumentPortalProps>',
|
|
6849
|
+
'useDocumentViewport: () => DocumentViewport',
|
|
6850
|
+
'useMediaQuery: (query: string) => boolean',
|
|
6851
|
+
'useMobile: () => boolean',
|
|
5677
6852
|
'useSessionStatus: UseSessionStatus',
|
|
5678
6853
|
'useSessions: UseSessions',
|
|
5679
6854
|
'useSessionRetainInfo: UseSessionRetainInfo',
|
|
5680
6855
|
'useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean',
|
|
6856
|
+
'useTheme: SnapshotSelectorHook<ThemeSnapshot>',
|
|
5681
6857
|
'useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean',
|
|
5682
6858
|
'useChat: UseChat',
|
|
5683
6859
|
'useConversation: UseConversation',
|
|
@@ -5722,10 +6898,15 @@ export const CLIENT_SLOT_API: readonly ClientSlotEntry[] = [
|
|
|
5722
6898
|
'useContextMenu: UseContextMenu',
|
|
5723
6899
|
'useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>',
|
|
5724
6900
|
'usePanelInfo: UsePanelInfo',
|
|
6901
|
+
'useDocumentPortal: () => FC<DocumentPortalProps>',
|
|
6902
|
+
'useDocumentViewport: () => DocumentViewport',
|
|
6903
|
+
'useMediaQuery: (query: string) => boolean',
|
|
6904
|
+
'useMobile: () => boolean',
|
|
5725
6905
|
'useSessionStatus: UseSessionStatus',
|
|
5726
6906
|
'useSessions: UseSessions',
|
|
5727
6907
|
'useSessionRetainInfo: UseSessionRetainInfo',
|
|
5728
6908
|
'useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean',
|
|
6909
|
+
'useTheme: SnapshotSelectorHook<ThemeSnapshot>',
|
|
5729
6910
|
'useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean',
|
|
5730
6911
|
'useChat: UseChat',
|
|
5731
6912
|
'useConversation: UseConversation',
|
|
@@ -5784,10 +6965,15 @@ export const CLIENT_SLOT_API: readonly ClientSlotEntry[] = [
|
|
|
5784
6965
|
'useContextMenu: UseContextMenu',
|
|
5785
6966
|
'useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>',
|
|
5786
6967
|
'usePanelInfo: UsePanelInfo',
|
|
6968
|
+
'useDocumentPortal: () => FC<DocumentPortalProps>',
|
|
6969
|
+
'useDocumentViewport: () => DocumentViewport',
|
|
6970
|
+
'useMediaQuery: (query: string) => boolean',
|
|
6971
|
+
'useMobile: () => boolean',
|
|
5787
6972
|
'useSessionStatus: UseSessionStatus',
|
|
5788
6973
|
'useSessions: UseSessions',
|
|
5789
6974
|
'useSessionRetainInfo: UseSessionRetainInfo',
|
|
5790
6975
|
'useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean',
|
|
6976
|
+
'useTheme: SnapshotSelectorHook<ThemeSnapshot>',
|
|
5791
6977
|
'useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean',
|
|
5792
6978
|
],
|
|
5793
6979
|
keyDomain: '',
|
|
@@ -5825,10 +7011,15 @@ export const CLIENT_SLOT_API: readonly ClientSlotEntry[] = [
|
|
|
5825
7011
|
'useContextMenu: UseContextMenu',
|
|
5826
7012
|
'useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>',
|
|
5827
7013
|
'usePanelInfo: UsePanelInfo',
|
|
7014
|
+
'useDocumentPortal: () => FC<DocumentPortalProps>',
|
|
7015
|
+
'useDocumentViewport: () => DocumentViewport',
|
|
7016
|
+
'useMediaQuery: (query: string) => boolean',
|
|
7017
|
+
'useMobile: () => boolean',
|
|
5828
7018
|
'useSessionStatus: UseSessionStatus',
|
|
5829
7019
|
'useSessions: UseSessions',
|
|
5830
7020
|
'useSessionRetainInfo: UseSessionRetainInfo',
|
|
5831
7021
|
'useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean',
|
|
7022
|
+
'useTheme: SnapshotSelectorHook<ThemeSnapshot>',
|
|
5832
7023
|
'useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean',
|
|
5833
7024
|
'useChat: UseChat',
|
|
5834
7025
|
'useConversation: UseConversation',
|
|
@@ -5889,10 +7080,15 @@ export const CLIENT_SLOT_API: readonly ClientSlotEntry[] = [
|
|
|
5889
7080
|
'useContextMenu: UseContextMenu',
|
|
5890
7081
|
'useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>',
|
|
5891
7082
|
'usePanelInfo: UsePanelInfo',
|
|
7083
|
+
'useDocumentPortal: () => FC<DocumentPortalProps>',
|
|
7084
|
+
'useDocumentViewport: () => DocumentViewport',
|
|
7085
|
+
'useMediaQuery: (query: string) => boolean',
|
|
7086
|
+
'useMobile: () => boolean',
|
|
5892
7087
|
'useSessionStatus: UseSessionStatus',
|
|
5893
7088
|
'useSessions: UseSessions',
|
|
5894
7089
|
'useSessionRetainInfo: UseSessionRetainInfo',
|
|
5895
7090
|
'useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean',
|
|
7091
|
+
'useTheme: SnapshotSelectorHook<ThemeSnapshot>',
|
|
5896
7092
|
'useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean',
|
|
5897
7093
|
'useChat: UseChat',
|
|
5898
7094
|
'useConversation: UseConversation',
|
|
@@ -5918,7 +7114,7 @@ export const CLIENT_SLOT_API: readonly ClientSlotEntry[] = [
|
|
|
5918
7114
|
kind: 'hoc',
|
|
5919
7115
|
scope: 'root',
|
|
5920
7116
|
summary: 'HOC layer around the inner content of the New-session row — the Tooltip and button the shell passes as `children`, rendered only while the Peer may create Sessions.',
|
|
5921
|
-
doc: 'HOC layer around the inner content of the New-session row — the Tooltip\nand button the shell passes as `children`, rendered only while the Peer\nmay create Sessions.
|
|
7117
|
+
doc: 'HOC layer around the inner content of the New-session row — the Tooltip\nand button the shell passes as `children`, rendered only while the Peer\nmay create Sessions. Each occupant can render `children` with its own\ncontrols. Forwarded content sits in `[data-slot-children="sidebar.session.action"]`.\nAn occupant that adds nothing must return `children`; with no occupant\nthe content renders directly in the slot anchor.\nDeclared by this package\'s \'sidebar\' entry.',
|
|
5922
7118
|
registerOptions: [
|
|
5923
7119
|
{
|
|
5924
7120
|
name: 'id',
|
|
@@ -5949,10 +7145,15 @@ export const CLIENT_SLOT_API: readonly ClientSlotEntry[] = [
|
|
|
5949
7145
|
'useContextMenu: UseContextMenu',
|
|
5950
7146
|
'useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>',
|
|
5951
7147
|
'usePanelInfo: UsePanelInfo',
|
|
7148
|
+
'useDocumentPortal: () => FC<DocumentPortalProps>',
|
|
7149
|
+
'useDocumentViewport: () => DocumentViewport',
|
|
7150
|
+
'useMediaQuery: (query: string) => boolean',
|
|
7151
|
+
'useMobile: () => boolean',
|
|
5952
7152
|
'useSessionStatus: UseSessionStatus',
|
|
5953
7153
|
'useSessions: UseSessions',
|
|
5954
7154
|
'useSessionRetainInfo: UseSessionRetainInfo',
|
|
5955
7155
|
'useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean',
|
|
7156
|
+
'useTheme: SnapshotSelectorHook<ThemeSnapshot>',
|
|
5956
7157
|
'useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean',
|
|
5957
7158
|
],
|
|
5958
7159
|
keyDomain: '',
|
|
@@ -5964,7 +7165,7 @@ export const CLIENT_SLOT_API: readonly ClientSlotEntry[] = [
|
|
|
5964
7165
|
],
|
|
5965
7166
|
replaceRisk: 'wraps-owner-content',
|
|
5966
7167
|
example: 'return {\n inject: [\'slots\'],\n apply(ctx) {\n ctx.slots.inject(\'sidebar.session.action\', () => ctx.slots.register(\n { name: \'sidebar.session.action\', id: \'my-layer\', order: 100 },\n ({ children }) => React.createElement(\'div\', null, children),\n ))\n },\n}',
|
|
5967
|
-
source: 'packages/client/ui-sidebar/src/client/contract/slots.ts:
|
|
7168
|
+
source: 'packages/client/ui-sidebar/src/client/contract/slots.ts:99',
|
|
5968
7169
|
},
|
|
5969
7170
|
{
|
|
5970
7171
|
key: 'sidebar.session.row.hover',
|
|
@@ -6004,10 +7205,15 @@ export const CLIENT_SLOT_API: readonly ClientSlotEntry[] = [
|
|
|
6004
7205
|
'useContextMenu: UseContextMenu',
|
|
6005
7206
|
'useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>',
|
|
6006
7207
|
'usePanelInfo: UsePanelInfo',
|
|
7208
|
+
'useDocumentPortal: () => FC<DocumentPortalProps>',
|
|
7209
|
+
'useDocumentViewport: () => DocumentViewport',
|
|
7210
|
+
'useMediaQuery: (query: string) => boolean',
|
|
7211
|
+
'useMobile: () => boolean',
|
|
6007
7212
|
'useSessionStatus: UseSessionStatus',
|
|
6008
7213
|
'useSessions: UseSessions',
|
|
6009
7214
|
'useSessionRetainInfo: UseSessionRetainInfo',
|
|
6010
7215
|
'useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean',
|
|
7216
|
+
'useTheme: SnapshotSelectorHook<ThemeSnapshot>',
|
|
6011
7217
|
'useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean',
|
|
6012
7218
|
],
|
|
6013
7219
|
keyDomain: '',
|
|
@@ -6060,10 +7266,15 @@ export const CLIENT_SLOT_API: readonly ClientSlotEntry[] = [
|
|
|
6060
7266
|
'useContextMenu: UseContextMenu',
|
|
6061
7267
|
'useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>',
|
|
6062
7268
|
'usePanelInfo: UsePanelInfo',
|
|
7269
|
+
'useDocumentPortal: () => FC<DocumentPortalProps>',
|
|
7270
|
+
'useDocumentViewport: () => DocumentViewport',
|
|
7271
|
+
'useMediaQuery: (query: string) => boolean',
|
|
7272
|
+
'useMobile: () => boolean',
|
|
6063
7273
|
'useSessionStatus: UseSessionStatus',
|
|
6064
7274
|
'useSessions: UseSessions',
|
|
6065
7275
|
'useSessionRetainInfo: UseSessionRetainInfo',
|
|
6066
7276
|
'useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean',
|
|
7277
|
+
'useTheme: SnapshotSelectorHook<ThemeSnapshot>',
|
|
6067
7278
|
'useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean',
|
|
6068
7279
|
],
|
|
6069
7280
|
keyDomain: '',
|
|
@@ -6116,10 +7327,15 @@ export const CLIENT_SLOT_API: readonly ClientSlotEntry[] = [
|
|
|
6116
7327
|
'useContextMenu: UseContextMenu',
|
|
6117
7328
|
'useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>',
|
|
6118
7329
|
'usePanelInfo: UsePanelInfo',
|
|
7330
|
+
'useDocumentPortal: () => FC<DocumentPortalProps>',
|
|
7331
|
+
'useDocumentViewport: () => DocumentViewport',
|
|
7332
|
+
'useMediaQuery: (query: string) => boolean',
|
|
7333
|
+
'useMobile: () => boolean',
|
|
6119
7334
|
'useSessionStatus: UseSessionStatus',
|
|
6120
7335
|
'useSessions: UseSessions',
|
|
6121
7336
|
'useSessionRetainInfo: UseSessionRetainInfo',
|
|
6122
7337
|
'useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean',
|
|
7338
|
+
'useTheme: SnapshotSelectorHook<ThemeSnapshot>',
|
|
6123
7339
|
'useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean',
|
|
6124
7340
|
],
|
|
6125
7341
|
keyDomain: '',
|
|
@@ -6150,10 +7366,15 @@ export const CLIENT_SLOT_API: readonly ClientSlotEntry[] = [
|
|
|
6150
7366
|
'useContextMenu: UseContextMenu',
|
|
6151
7367
|
'useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>',
|
|
6152
7368
|
'usePanelInfo: UsePanelInfo',
|
|
7369
|
+
'useDocumentPortal: () => FC<DocumentPortalProps>',
|
|
7370
|
+
'useDocumentViewport: () => DocumentViewport',
|
|
7371
|
+
'useMediaQuery: (query: string) => boolean',
|
|
7372
|
+
'useMobile: () => boolean',
|
|
6153
7373
|
'useSessionStatus: UseSessionStatus',
|
|
6154
7374
|
'useSessions: UseSessions',
|
|
6155
7375
|
'useSessionRetainInfo: UseSessionRetainInfo',
|
|
6156
7376
|
'useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean',
|
|
7377
|
+
'useTheme: SnapshotSelectorHook<ThemeSnapshot>',
|
|
6157
7378
|
'useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean',
|
|
6158
7379
|
],
|
|
6159
7380
|
keyDomain: '',
|
|
@@ -6182,10 +7403,15 @@ export const CLIENT_SLOT_API: readonly ClientSlotEntry[] = [
|
|
|
6182
7403
|
'useContextMenu: UseContextMenu',
|
|
6183
7404
|
'useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>',
|
|
6184
7405
|
'usePanelInfo: UsePanelInfo',
|
|
7406
|
+
'useDocumentPortal: () => FC<DocumentPortalProps>',
|
|
7407
|
+
'useDocumentViewport: () => DocumentViewport',
|
|
7408
|
+
'useMediaQuery: (query: string) => boolean',
|
|
7409
|
+
'useMobile: () => boolean',
|
|
6185
7410
|
'useSessionStatus: UseSessionStatus',
|
|
6186
7411
|
'useSessions: UseSessions',
|
|
6187
7412
|
'useSessionRetainInfo: UseSessionRetainInfo',
|
|
6188
7413
|
'useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean',
|
|
7414
|
+
'useTheme: SnapshotSelectorHook<ThemeSnapshot>',
|
|
6189
7415
|
'useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean',
|
|
6190
7416
|
],
|
|
6191
7417
|
keyDomain: '',
|
|
@@ -6216,10 +7442,15 @@ export const CLIENT_SLOT_API: readonly ClientSlotEntry[] = [
|
|
|
6216
7442
|
'useContextMenu: UseContextMenu',
|
|
6217
7443
|
'useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>',
|
|
6218
7444
|
'usePanelInfo: UsePanelInfo',
|
|
7445
|
+
'useDocumentPortal: () => FC<DocumentPortalProps>',
|
|
7446
|
+
'useDocumentViewport: () => DocumentViewport',
|
|
7447
|
+
'useMediaQuery: (query: string) => boolean',
|
|
7448
|
+
'useMobile: () => boolean',
|
|
6219
7449
|
'useSessionStatus: UseSessionStatus',
|
|
6220
7450
|
'useSessions: UseSessions',
|
|
6221
7451
|
'useSessionRetainInfo: UseSessionRetainInfo',
|
|
6222
7452
|
'useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean',
|
|
7453
|
+
'useTheme: SnapshotSelectorHook<ThemeSnapshot>',
|
|
6223
7454
|
'useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean',
|
|
6224
7455
|
],
|
|
6225
7456
|
keyDomain: '',
|
|
@@ -6250,10 +7481,15 @@ export const CLIENT_SLOT_API: readonly ClientSlotEntry[] = [
|
|
|
6250
7481
|
'useContextMenu: UseContextMenu',
|
|
6251
7482
|
'useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>',
|
|
6252
7483
|
'usePanelInfo: UsePanelInfo',
|
|
7484
|
+
'useDocumentPortal: () => FC<DocumentPortalProps>',
|
|
7485
|
+
'useDocumentViewport: () => DocumentViewport',
|
|
7486
|
+
'useMediaQuery: (query: string) => boolean',
|
|
7487
|
+
'useMobile: () => boolean',
|
|
6253
7488
|
'useSessionStatus: UseSessionStatus',
|
|
6254
7489
|
'useSessions: UseSessions',
|
|
6255
7490
|
'useSessionRetainInfo: UseSessionRetainInfo',
|
|
6256
7491
|
'useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean',
|
|
7492
|
+
'useTheme: SnapshotSelectorHook<ThemeSnapshot>',
|
|
6257
7493
|
'useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean',
|
|
6258
7494
|
],
|
|
6259
7495
|
keyDomain: '',
|
|
@@ -6306,10 +7542,15 @@ export const CLIENT_SLOT_API: readonly ClientSlotEntry[] = [
|
|
|
6306
7542
|
'useContextMenu: UseContextMenu',
|
|
6307
7543
|
'useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>',
|
|
6308
7544
|
'usePanelInfo: UsePanelInfo',
|
|
7545
|
+
'useDocumentPortal: () => FC<DocumentPortalProps>',
|
|
7546
|
+
'useDocumentViewport: () => DocumentViewport',
|
|
7547
|
+
'useMediaQuery: (query: string) => boolean',
|
|
7548
|
+
'useMobile: () => boolean',
|
|
6309
7549
|
'useSessionStatus: UseSessionStatus',
|
|
6310
7550
|
'useSessions: UseSessions',
|
|
6311
7551
|
'useSessionRetainInfo: UseSessionRetainInfo',
|
|
6312
7552
|
'useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean',
|
|
7553
|
+
'useTheme: SnapshotSelectorHook<ThemeSnapshot>',
|
|
6313
7554
|
'useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean',
|
|
6314
7555
|
],
|
|
6315
7556
|
keyDomain: '',
|
|
@@ -6359,10 +7600,15 @@ export const CLIENT_SLOT_API: readonly ClientSlotEntry[] = [
|
|
|
6359
7600
|
'useContextMenu: UseContextMenu',
|
|
6360
7601
|
'useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>',
|
|
6361
7602
|
'usePanelInfo: UsePanelInfo',
|
|
7603
|
+
'useDocumentPortal: () => FC<DocumentPortalProps>',
|
|
7604
|
+
'useDocumentViewport: () => DocumentViewport',
|
|
7605
|
+
'useMediaQuery: (query: string) => boolean',
|
|
7606
|
+
'useMobile: () => boolean',
|
|
6362
7607
|
'useSessionStatus: UseSessionStatus',
|
|
6363
7608
|
'useSessions: UseSessions',
|
|
6364
7609
|
'useSessionRetainInfo: UseSessionRetainInfo',
|
|
6365
7610
|
'useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean',
|
|
7611
|
+
'useTheme: SnapshotSelectorHook<ThemeSnapshot>',
|
|
6366
7612
|
'useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean',
|
|
6367
7613
|
],
|
|
6368
7614
|
keyDomain: '',
|
|
@@ -6377,6 +7623,52 @@ export const CLIENT_SLOT_API: readonly ClientSlotEntry[] = [
|
|
|
6377
7623
|
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}',
|
|
6378
7624
|
source: 'packages/client/ui-workspace/src/client/contract/slots.ts:230',
|
|
6379
7625
|
},
|
|
7626
|
+
{
|
|
7627
|
+
key: 'sidechat.conversation',
|
|
7628
|
+
kind: 'single',
|
|
7629
|
+
scope: 'session',
|
|
7630
|
+
summary: 'Replace the embedded child Conversation; receives its Session scope and no owner data.',
|
|
7631
|
+
doc: 'Replace the embedded child Conversation; receives its Session scope and no owner data. Absence leaves the tab body empty.',
|
|
7632
|
+
registerOptions: [],
|
|
7633
|
+
ownerProps: [],
|
|
7634
|
+
ownerPropsReferences: [],
|
|
7635
|
+
standardProps: [
|
|
7636
|
+
'useRemoteAccess: (action: RemoteEndpoint) => boolean',
|
|
7637
|
+
'useResource: UseResource',
|
|
7638
|
+
'useContextMenu: UseContextMenu',
|
|
7639
|
+
'useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>',
|
|
7640
|
+
'usePanelInfo: UsePanelInfo',
|
|
7641
|
+
'useDocumentPortal: () => FC<DocumentPortalProps>',
|
|
7642
|
+
'useDocumentViewport: () => DocumentViewport',
|
|
7643
|
+
'useMediaQuery: (query: string) => boolean',
|
|
7644
|
+
'useMobile: () => boolean',
|
|
7645
|
+
'useSessionStatus: UseSessionStatus',
|
|
7646
|
+
'useSessions: UseSessions',
|
|
7647
|
+
'useSessionRetainInfo: UseSessionRetainInfo',
|
|
7648
|
+
'useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean',
|
|
7649
|
+
'useTheme: SnapshotSelectorHook<ThemeSnapshot>',
|
|
7650
|
+
'useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean',
|
|
7651
|
+
'useChat: UseChat',
|
|
7652
|
+
'useConversation: UseConversation',
|
|
7653
|
+
'useInput: SnapshotSelectorHook<InputState>',
|
|
7654
|
+
'inputActions: InputActions',
|
|
7655
|
+
'useSession: SessionSnapshotSelector',
|
|
7656
|
+
'sessionId: SessionId',
|
|
7657
|
+
'useProjection: UseProjection',
|
|
7658
|
+
'useAccess: (action: RemoteEndpoint) => boolean',
|
|
7659
|
+
'useTrajectory: UseTrajectory',
|
|
7660
|
+
],
|
|
7661
|
+
keyDomain: '',
|
|
7662
|
+
hookContext: '',
|
|
7663
|
+
slotInject: '',
|
|
7664
|
+
declaredBy: 'an entry in \'sidebar.right.pane.tab\' (client-ui-sidechat), so it exists while that entry is mounted',
|
|
7665
|
+
occupants: [
|
|
7666
|
+
'client-ui-sidechat SidechatConversation',
|
|
7667
|
+
],
|
|
7668
|
+
replaceRisk: 'shadows-shipped-ui',
|
|
7669
|
+
example: 'return {\n inject: [\'slots\'],\n apply(ctx) {\n ctx.slots.inject(\'sidechat.conversation\', () => ctx.slots.register(\n { name: \'sidechat.conversation\' },\n () => React.createElement(\'div\', null, \'hello\'),\n ))\n },\n}',
|
|
7670
|
+
source: 'packages/experimental/client-ui-sidechat/src/client/views.tsx:21',
|
|
7671
|
+
},
|
|
6380
7672
|
{
|
|
6381
7673
|
key: 'tool.call.images',
|
|
6382
7674
|
kind: 'single',
|
|
@@ -6397,10 +7689,15 @@ export const CLIENT_SLOT_API: readonly ClientSlotEntry[] = [
|
|
|
6397
7689
|
'useContextMenu: UseContextMenu',
|
|
6398
7690
|
'useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>',
|
|
6399
7691
|
'usePanelInfo: UsePanelInfo',
|
|
7692
|
+
'useDocumentPortal: () => FC<DocumentPortalProps>',
|
|
7693
|
+
'useDocumentViewport: () => DocumentViewport',
|
|
7694
|
+
'useMediaQuery: (query: string) => boolean',
|
|
7695
|
+
'useMobile: () => boolean',
|
|
6400
7696
|
'useSessionStatus: UseSessionStatus',
|
|
6401
7697
|
'useSessions: UseSessions',
|
|
6402
7698
|
'useSessionRetainInfo: UseSessionRetainInfo',
|
|
6403
7699
|
'useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean',
|
|
7700
|
+
'useTheme: SnapshotSelectorHook<ThemeSnapshot>',
|
|
6404
7701
|
'useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean',
|
|
6405
7702
|
'useChat: UseChat',
|
|
6406
7703
|
'useConversation: UseConversation',
|
|
@@ -6456,10 +7753,15 @@ export const CLIENT_SLOT_API: readonly ClientSlotEntry[] = [
|
|
|
6456
7753
|
'useContextMenu: UseContextMenu',
|
|
6457
7754
|
'useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>',
|
|
6458
7755
|
'usePanelInfo: UsePanelInfo',
|
|
7756
|
+
'useDocumentPortal: () => FC<DocumentPortalProps>',
|
|
7757
|
+
'useDocumentViewport: () => DocumentViewport',
|
|
7758
|
+
'useMediaQuery: (query: string) => boolean',
|
|
7759
|
+
'useMobile: () => boolean',
|
|
6459
7760
|
'useSessionStatus: UseSessionStatus',
|
|
6460
7761
|
'useSessions: UseSessions',
|
|
6461
7762
|
'useSessionRetainInfo: UseSessionRetainInfo',
|
|
6462
7763
|
'useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean',
|
|
7764
|
+
'useTheme: SnapshotSelectorHook<ThemeSnapshot>',
|
|
6463
7765
|
'useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean',
|
|
6464
7766
|
'useChat: UseChat',
|
|
6465
7767
|
'useConversation: UseConversation',
|
|
@@ -6471,7 +7773,7 @@ export const CLIENT_SLOT_API: readonly ClientSlotEntry[] = [
|
|
|
6471
7773
|
'useAccess: (action: RemoteEndpoint) => boolean',
|
|
6472
7774
|
'useTrajectory: UseTrajectory',
|
|
6473
7775
|
],
|
|
6474
|
-
keyDomain: 'open: any string the owner dispatches (no compile-time key set), already taken: apply_patch, ask_user_question, bash, cordis_define, cordis_inspect, 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, office_convert, office_recalculate, office_render, present, 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_send_message, session_trace, skill, spawn_teammate, subagent, subagent_fork, team_task_create, team_task_get, team_task_list, team_task_update, terminal_close, terminal_list, terminal_open, terminal_read, terminal_signal, timeline_tasks, todo_write, update_goal, wait_agent, web_fetch, web_search, workflow, write',
|
|
7776
|
+
keyDomain: 'open: any string the owner dispatches (no compile-time key set), already taken: apply_patch, ask_user_question, bash, cordis_define, cordis_inspect, cordis_inspect_list, cordis_inspect_query, cordis_inspect_self, cordis_run, cordis_stop, cordis_undefine, create_goal, cua_run_code, document_convert, document_recalculate, document_render, edit, get_goal, glob, grep, interrupt_agent, job_kill, job_list, job_output, list_agents, list_subagent_models, lsp, office_convert, office_recalculate, office_render, present, ralph, read, read_image, run_code, 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_send_message, session_trace, skill, spawn_teammate, subagent, subagent_fork, team_task_create, team_task_get, team_task_list, team_task_update, terminal_close, terminal_list, terminal_open, terminal_read, terminal_signal, timeline_tasks, todo_write, update_goal, wait_agent, web_fetch, web_search, workflow, write',
|
|
6475
7777
|
hookContext: '',
|
|
6476
7778
|
slotInject: '',
|
|
6477
7779
|
declaredBy: 'an entry in \'conversation.chat.node\' (client-ui-tool), so it exists while that entry is mounted',
|
|
@@ -6525,6 +7827,9 @@ export const CLIENT_SLOT_API: readonly ClientSlotEntry[] = [
|
|
|
6525
7827
|
'client-ui-tool FileMutationRow key \'apply_patch\'',
|
|
6526
7828
|
'client-ui-tool FileMutationRow key \'edit\'',
|
|
6527
7829
|
'client-ui-tool FileMutationRow key \'write\'',
|
|
7830
|
+
'client-ui-tool OfficeRow key \'document_render\'',
|
|
7831
|
+
'client-ui-tool OfficeRow key \'document_convert\'',
|
|
7832
|
+
'client-ui-tool OfficeRow key \'document_recalculate\'',
|
|
6528
7833
|
'client-ui-tool OfficeRow key \'office_render\'',
|
|
6529
7834
|
'client-ui-tool OfficeRow key \'office_convert\'',
|
|
6530
7835
|
'client-ui-tool OfficeRow key \'office_recalculate\'',
|
|
@@ -6532,6 +7837,8 @@ export const CLIENT_SLOT_API: readonly ClientSlotEntry[] = [
|
|
|
6532
7837
|
'client-ui-tool ReadRow key \'read\'',
|
|
6533
7838
|
'client-ui-tool SearchRow key \'grep\'',
|
|
6534
7839
|
'client-ui-tool SearchRow key \'glob\'',
|
|
7840
|
+
'client-ui-tool SourceCodeRow key \'run_code\'',
|
|
7841
|
+
'client-ui-tool SourceCodeRow key \'cua_run_code\'',
|
|
6535
7842
|
'client-ui-tool TodoRow key \'todo_write\'',
|
|
6536
7843
|
'client-ui-tool WebRow key \'web_search\'',
|
|
6537
7844
|
'client-ui-tool WebRow key \'web_fetch\'',
|
|
@@ -6573,10 +7880,15 @@ export const CLIENT_SLOT_API: readonly ClientSlotEntry[] = [
|
|
|
6573
7880
|
'useContextMenu: UseContextMenu',
|
|
6574
7881
|
'useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>',
|
|
6575
7882
|
'usePanelInfo: UsePanelInfo',
|
|
7883
|
+
'useDocumentPortal: () => FC<DocumentPortalProps>',
|
|
7884
|
+
'useDocumentViewport: () => DocumentViewport',
|
|
7885
|
+
'useMediaQuery: (query: string) => boolean',
|
|
7886
|
+
'useMobile: () => boolean',
|
|
6576
7887
|
'useSessionStatus: UseSessionStatus',
|
|
6577
7888
|
'useSessions: UseSessions',
|
|
6578
7889
|
'useSessionRetainInfo: UseSessionRetainInfo',
|
|
6579
7890
|
'useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean',
|
|
7891
|
+
'useTheme: SnapshotSelectorHook<ThemeSnapshot>',
|
|
6580
7892
|
'useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean',
|
|
6581
7893
|
'useChat: UseChat',
|
|
6582
7894
|
'useConversation: UseConversation',
|
|
@@ -6614,10 +7926,15 @@ export const CLIENT_SLOT_API: readonly ClientSlotEntry[] = [
|
|
|
6614
7926
|
'useContextMenu: UseContextMenu',
|
|
6615
7927
|
'useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>',
|
|
6616
7928
|
'usePanelInfo: UsePanelInfo',
|
|
7929
|
+
'useDocumentPortal: () => FC<DocumentPortalProps>',
|
|
7930
|
+
'useDocumentViewport: () => DocumentViewport',
|
|
7931
|
+
'useMediaQuery: (query: string) => boolean',
|
|
7932
|
+
'useMobile: () => boolean',
|
|
6617
7933
|
'useSessionStatus: UseSessionStatus',
|
|
6618
7934
|
'useSessions: UseSessions',
|
|
6619
7935
|
'useSessionRetainInfo: UseSessionRetainInfo',
|
|
6620
7936
|
'useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean',
|
|
7937
|
+
'useTheme: SnapshotSelectorHook<ThemeSnapshot>',
|
|
6621
7938
|
'useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean',
|
|
6622
7939
|
],
|
|
6623
7940
|
keyDomain: '',
|
|
@@ -6658,10 +7975,15 @@ export const CLIENT_SLOT_API: readonly ClientSlotEntry[] = [
|
|
|
6658
7975
|
'useContextMenu: UseContextMenu',
|
|
6659
7976
|
'useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>',
|
|
6660
7977
|
'usePanelInfo: UsePanelInfo',
|
|
7978
|
+
'useDocumentPortal: () => FC<DocumentPortalProps>',
|
|
7979
|
+
'useDocumentViewport: () => DocumentViewport',
|
|
7980
|
+
'useMediaQuery: (query: string) => boolean',
|
|
7981
|
+
'useMobile: () => boolean',
|
|
6661
7982
|
'useSessionStatus: UseSessionStatus',
|
|
6662
7983
|
'useSessions: UseSessions',
|
|
6663
7984
|
'useSessionRetainInfo: UseSessionRetainInfo',
|
|
6664
7985
|
'useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean',
|
|
7986
|
+
'useTheme: SnapshotSelectorHook<ThemeSnapshot>',
|
|
6665
7987
|
'useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean',
|
|
6666
7988
|
],
|
|
6667
7989
|
keyDomain: 'fixed by the owner\'s key table { [K in ToastKind]: ToastNotice<K> }, already taken: archivedNotOpenable, createFailed, defaultWorkspaceFailed, forkRequiresOpen, pinFailed, readingFailed, sessionIdCopied, sessionIdCopyFailed, shortcutForkFailed, unpinFailed',
|