@deepseek-ai/dsh-cordis-client-runner 0.2.2-rc.4 → 0.2.3-alpha.1
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 +461 -183
- 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 +7 -6
- package/src/client/api-catalog.ts +15 -7
- package/src/client/slot-catalog.ts +1096 -277
package/lib/client.js
CHANGED
|
@@ -348,8 +348,8 @@ The durable write happens even when the id already matches the active locale, be
|
|
|
348
348
|
restart(): void;
|
|
349
349
|
dispose(): Promise<void>;
|
|
350
350
|
[Symbol.asyncIterator](): AsyncIterator<RemoteStreamItem<Item>>;
|
|
351
|
-
}`},{name:`
|
|
352
|
-
|
|
351
|
+
}`},{name:`RemoteStreamCarrierFailure`,declaration:`export interface RemoteStreamCarrierFailure extends Error {
|
|
352
|
+
readonly code: 'gateway/carrier-lost';
|
|
353
353
|
}`},{name:`RemoteStreamItem`,declaration:`export interface RemoteStreamItem<Item> {
|
|
354
354
|
readonly generation: number;
|
|
355
355
|
readonly value: Item;
|
|
@@ -359,7 +359,7 @@ The durable write happens even when the id already matches the active locale, be
|
|
|
359
359
|
readonly name: string;
|
|
360
360
|
readonly open: (signal: AbortSignal) => AsyncIterable<Item>;
|
|
361
361
|
readonly ended: (accepted: boolean) => Error;
|
|
362
|
-
readonly carrierFailed?: (error:
|
|
362
|
+
readonly carrierFailed?: (error: RemoteStreamCarrierFailure) => void;
|
|
363
363
|
}`},{name:`RenderFactorySlot`,declaration:`export type RenderFactorySlot = <F extends keyof SlotFactoryMap & string>(name: F, props: FactoryInputPropsOf<F>, options?: {
|
|
364
364
|
slots?: Partial<{
|
|
365
365
|
[N in FactoryLocalNameOf<F>]: FactoryLocalComponent<F, N>;
|
|
@@ -421,11 +421,16 @@ The durable write happens even when the id already matches the active locale, be
|
|
|
421
421
|
}`},{name:`SessionReferenceSource`,declaration:`export type SessionReferenceSource = Extract<keyof SessionReferenceSourceMap, string>;`},{name:`SessionReferenceSourceMap`,declaration:`export interface SessionReferenceSourceMap {
|
|
422
422
|
controllerOperation: unknown;
|
|
423
423
|
gateway: unknown;
|
|
424
|
-
}`},{name:`SessionRequestId`,declaration:`export type SessionRequestId = Branded<'session-request-id'>;`},{name:`
|
|
424
|
+
}`},{name:`SessionRequestId`,declaration:`export type SessionRequestId = Branded<'session-request-id'>;`},{name:`SessionRetainFacet`,declaration:`export type SessionRetainFacet = Extract<keyof SessionRetainFacetMap, string>;`},{name:`SessionRetainFacetMap`,declaration:`export interface SessionRetainFacetMap {
|
|
425
|
+
}`},{name:`SessionRetainInfo`,declaration:`export interface SessionRetainInfo {
|
|
425
426
|
readonly referenceCount: number;
|
|
426
427
|
readonly retainedBy: Readonly<Partial<Record<SessionReferenceSource, number>>>;
|
|
428
|
+
readonly retainedFacets?: Readonly<Partial<Record<SessionRetainFacet, number>>>;
|
|
429
|
+
readonly connectionCount?: number;
|
|
427
430
|
}`},{name:`SessionRetainOptions`,declaration:`export interface SessionRetainOptions {
|
|
428
431
|
readonly source: SessionReferenceSource;
|
|
432
|
+
readonly connection?: boolean | undefined;
|
|
433
|
+
readonly facets?: Readonly<Partial<Record<SessionRetainFacet, true>>> | undefined;
|
|
429
434
|
readonly signal?: AbortSignal | undefined;
|
|
430
435
|
}`},{name:`SessionSearchResultItem`,declaration:`export interface SessionSearchResultItem {
|
|
431
436
|
sessionId: SessionId;
|
|
@@ -525,6 +530,7 @@ The durable write happens even when the id already matches the active locale, be
|
|
|
525
530
|
store?: StoreDecl | undefined;
|
|
526
531
|
locale?: string | undefined;
|
|
527
532
|
registrant?: string | undefined;
|
|
533
|
+
module?: string | undefined;
|
|
528
534
|
}`},{name:`StoredFactory`,declaration:`export interface StoredFactory {
|
|
529
535
|
readonly name: string;
|
|
530
536
|
readonly component: unknown;
|
|
@@ -577,7 +583,7 @@ The durable write happens even when the id already matches the active locale, be
|
|
|
577
583
|
}`}];function referencedTypeClosure(seeds){const included=new Set;let frontier=[...seeds];while(frontier.length>0){const next=[];for(const entry of TYPE_API){if(included.has(entry.name))continue;const pattern=new RegExp(`\\b${entry.name}\\b`);if(!frontier.some(text=>pattern.test(text)))continue;included.add(entry.name);next.push(entry.declaration)}frontier=next}return TYPE_API.filter(entry=>included.has(entry.name))}function contextProperty(key){return/^[A-Za-z_$][\w$]*$/.test(key)?`ctx.${key}`:`ctx[${JSON.stringify(key)}]`}function queryServiceApi(key,services=SERVICE_API){if(key===void 0)return{mode:`catalog`,services:services.map(service=>({key:service.key,description:service.summary,methods:service.methods.map(method=>({signature:method.signature}))}))};const service=services.find(candidate=>candidate.key===key);if(service===void 0)throw new Error(`no catalogued Service named "${key}"`);return{mode:`service`,service:{key:service.key,description:service.description,access:{optional:{expression:`ctx.get(${JSON.stringify(service.key)})`,requiresUndefinedCheck:true},hardDependency:{inject:[service.key],expression:contextProperty(service.key)}},methods:service.methods},referencedTypes:referencedTypeClosure(service.methods.map(method=>method.signature))}}function queryEventApi(name,events=EVENT_API){if(name===void 0)return{mode:`catalog`,events:events.map(event=>({name:event.name,description:event.summary,mode:event.mode,signature:event.signature}))};const event=events.find(candidate=>candidate.name===name);if(event===void 0)throw new Error(`no catalogued Event named "${name}"`);return{mode:`event`,event:{name:event.name,description:event.description,mode:event.mode,signature:event.signature,parameters:event.parameters},referencedTypes:referencedTypeClosure([event.signature])}}const CLIENT_SLOT_API=[{key:`contextMenu.content`,kind:`keyed`,scope:`root`,summary:`Optional React rows for existing extension positions; data contributions need no renderer.`,doc:`Optional React rows for existing extension positions; data contributions need no renderer.`,registerOptions:[{name:`key`,requirement:`required`,type:`string`,doc:`Your cell key: the entry renders where the owner dispatches this exact key. Registering an already-occupied key replaces that occupant.`}],ownerProps:[`/** Captured target; changing selection never changes an open menu's target. */
|
|
578
584
|
export type ContextMenuTarget = {
|
|
579
585
|
[K in keyof ContextMenuTargetMap]: { readonly kind: K; readonly value: ContextMenuTargetMap[K] }
|
|
580
|
-
}[keyof ContextMenuTargetMap]`],ownerPropsReferences:[`ContextMenuTargetMap`],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`
|
|
586
|
+
}[keyof ContextMenuTargetMap]`],ownerPropsReferences:[`ContextMenuTargetMap`],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`],keyDomain:`open: any string the owner dispatches (no compile-time key set), already taken: session, tab`,hookContext:``,slotInject:``,declaredBy:`an entry in 'shell.overlay' (client-ui-context-menu), so it exists while that entry is mounted`,occupants:[`client-ui-sidebar-right TabMenuContent key 'tab'`,`client-ui-workspace SessionMenu key 'session'`],replaceRisk:`shadows-shipped-ui`,example:`return {
|
|
581
587
|
inject: ['slots'],
|
|
582
588
|
apply(ctx) {
|
|
583
589
|
ctx.slots.inject('contextMenu.content', () => ctx.slots.register(
|
|
@@ -585,11 +591,11 @@ export type ContextMenuTarget = {
|
|
|
585
591
|
() => React.createElement('div', null, 'hello'),
|
|
586
592
|
))
|
|
587
593
|
},
|
|
588
|
-
}`,source:`packages/client/ui-context-menu/src/client/index.ts:
|
|
594
|
+
}`,source:`packages/client/ui-context-menu/src/client/index.ts:43`},{key:`contextMenu.icon`,kind:`keyed`,scope:`root`,summary:`Business-owned glyph or image selected by the action's icon key.`,doc:`Business-owned glyph or image selected by the action's icon key.`,registerOptions:[{name:`key`,requirement:`required`,type:`string`,doc:`Your cell key: the entry renders where the owner dispatches this exact key. Registering an already-occupied key replaces that occupant.`}],ownerProps:[`/** Keyed icon renderer and optional image URL captured with the action. */
|
|
589
595
|
export interface ContextMenuIcon {
|
|
590
596
|
readonly key: string
|
|
591
597
|
readonly src?: string
|
|
592
|
-
}`],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`
|
|
598
|
+
}`],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`],keyDomain:`open: any string the owner dispatches (no compile-time key set), already taken: open-in-app.application, reference.addToChat, sidebar.close`,hookContext:``,slotInject:``,declaredBy:`an entry in 'shell.overlay' (client-ui-context-menu), so it exists while that entry is mounted`,occupants:[`client-ui-file-actions Icon`,`client-ui-open-in-app Icon`,`client-ui-open-in-app ContextMenuApplicationIcon key 'open-in-app.application'`,`client-ui-reference IconPlusOutlineRegular key 'reference.addToChat'`,`client-ui-sidebar-right IconCloseOutlineRegular key 'sidebar.close'`,`client-ui-workspace Icon`,`session-log-export Icon`],replaceRisk:`shadows-shipped-ui`,example:`return {
|
|
593
599
|
inject: ['slots'],
|
|
594
600
|
apply(ctx) {
|
|
595
601
|
ctx.slots.inject('contextMenu.icon', () => ctx.slots.register(
|
|
@@ -597,11 +603,11 @@ export interface ContextMenuIcon {
|
|
|
597
603
|
() => React.createElement('div', null, 'hello'),
|
|
598
604
|
))
|
|
599
605
|
},
|
|
600
|
-
}`,source:`packages/client/ui-context-menu/src/client/index.ts:
|
|
606
|
+
}`,source:`packages/client/ui-context-menu/src/client/index.ts:41`},{key:`conversation.approval.detail`,kind:`single`,scope:`session`,summary:`Optional detail for the Tool call correlated with an approval request.`,doc:`Optional detail for the Tool call correlated with an approval request.`,registerOptions:[],ownerProps:[`/** Stable identity handed to an optional approval-detail renderer. */
|
|
601
607
|
export interface ApprovalDetailOwnerProps {
|
|
602
608
|
/** Tool call correlated with the request. */
|
|
603
609
|
callId: ToolCallId
|
|
604
|
-
}`],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`
|
|
610
|
+
}`],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`,`useChat: UseChat`,`useConversation: UseConversation`,`useInput: SnapshotSelectorHook<InputState>`,`inputActions: InputActions`,`useSession: SessionSnapshotSelector`,`sessionId: SessionId`,`useProjection: UseProjection`,`useAccess: (action: RemoteEndpoint) => boolean`,`useTrajectory: UseTrajectory`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`factory 'conversation.approval.card' (client-ui-approval), so it exists while that definition is registered`,occupants:[`client-ui-chat ApprovalCommand`],replaceRisk:`shadows-shipped-ui`,example:`return {
|
|
605
611
|
inject: ['slots'],
|
|
606
612
|
apply(ctx) {
|
|
607
613
|
ctx.slots.inject('conversation.approval.detail', () => ctx.slots.register(
|
|
@@ -609,12 +615,30 @@ export interface ApprovalDetailOwnerProps {
|
|
|
609
615
|
() => React.createElement('div', null, 'hello'),
|
|
610
616
|
))
|
|
611
617
|
},
|
|
612
|
-
}`,source:`packages/client/ui-approval/src/client/contract/slots.ts:47`},{key:`conversation.chat.
|
|
618
|
+
}`,source:`packages/client/ui-approval/src/client/contract/slots.ts:47`},{key:`conversation.chat.aside`,kind:`single`,scope:`session`,summary:`One Session-level occupant beside the transcript, such as a summary panel.`,doc:`One Session-level occupant beside the transcript, such as a summary
|
|
619
|
+
panel. Every Chat View occurrence renders it in a zero-height layer at
|
|
620
|
+
the top of the Chat frame, which stays in place while the transcript
|
|
621
|
+
scrolls and inherits the shared scrollport's composer and viewport
|
|
622
|
+
heights. The layer passes pointer events through; the occupant
|
|
623
|
+
positions itself in it, enables its own pointer events, and keeps
|
|
624
|
+
within the end gutter to stay clear of the transcript column. The
|
|
625
|
+
layer publishes that gutter, the inline space between the transcript
|
|
626
|
+
column and the frame's end edge, as the \`--dsh-chat-aside-gutter\`
|
|
627
|
+
custom property; its percentage resolves in the inline sizes of an
|
|
628
|
+
element whose containing block is the layer.`,registerOptions:[],ownerProps:[],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`,`useChat: UseChat`,`useConversation: UseConversation`,`useInput: SnapshotSelectorHook<InputState>`,`inputActions: InputActions`,`useSession: SessionSnapshotSelector`,`sessionId: SessionId`,`useProjection: UseProjection`,`useAccess: (action: RemoteEndpoint) => boolean`,`useTrajectory: UseTrajectory`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`an entry in 'conversation.view' (client-ui-chat), so it exists while that entry is mounted`,occupants:[`client-ui-session-panel SessionPanel`],replaceRisk:`shadows-shipped-ui`,example:`return {
|
|
629
|
+
inject: ['slots'],
|
|
630
|
+
apply(ctx) {
|
|
631
|
+
ctx.slots.inject('conversation.chat.aside', () => ctx.slots.register(
|
|
632
|
+
{ name: 'conversation.chat.aside' },
|
|
633
|
+
() => React.createElement('div', null, 'hello'),
|
|
634
|
+
))
|
|
635
|
+
},
|
|
636
|
+
}`,source:`packages/client/ui-chat/src/client/contract/slots.ts:447`},{key:`conversation.chat.assistant-actions`,kind:`list`,scope:`session`,summary:`Ordered actions for one finalized assistant message.`,doc:`Ordered actions for one finalized assistant message. Each entry receives
|
|
613
637
|
the durable message id; a fresh \`id\` adds an action and reusing one replaces
|
|
614
638
|
that entry. With no entries, the standard action row remains unchanged.`,registerOptions:[{name:`id`,requirement:`required`,type:`string`,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.`},{name:`order`,requirement:`optional`,type:`number`,doc:`Position among the entries, ascending (default 0).`},{name:`label`,requirement:`optional`,type:`string | (() => string)`,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.`}],ownerProps:[`/** Owner currency of finalized-assistant actions. */
|
|
615
639
|
export interface AssistantActionOwnerProps {
|
|
616
640
|
messageId: MessageId
|
|
617
|
-
}`],ownerPropsReferences:[`MessageId`],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`
|
|
641
|
+
}`],ownerPropsReferences:[`MessageId`],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`,`useChat: UseChat`,`useConversation: UseConversation`,`useInput: SnapshotSelectorHook<InputState>`,`inputActions: InputActions`,`useSession: SessionSnapshotSelector`,`sessionId: SessionId`,`useProjection: UseProjection`,`useAccess: (action: RemoteEndpoint) => boolean`,`useTrajectory: UseTrajectory`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`an entry in 'conversation.chat.node' (client-ui-chat), so it exists while that entry is mounted`,occupants:[`client-ui-message-feedback MessageFeedbackActions id 'feedback'`],replaceRisk:`none`,example:`return {
|
|
618
642
|
inject: ['slots'],
|
|
619
643
|
apply(ctx) {
|
|
620
644
|
ctx.slots.inject('conversation.chat.assistant-actions', () => ctx.slots.register(
|
|
@@ -622,13 +646,13 @@ export interface AssistantActionOwnerProps {
|
|
|
622
646
|
() => React.createElement('div', null, 'hello'),
|
|
623
647
|
))
|
|
624
648
|
},
|
|
625
|
-
}`,source:`packages/client/ui-chat/src/client/contract/slots.ts:
|
|
649
|
+
}`,source:`packages/client/ui-chat/src/client/contract/slots.ts:512`},{key:`conversation.chat.commandview`,kind:`keyed`,scope:`session`,summary:`Command row keyed by the command name.`,doc:`Command row keyed by the command name. The component receives the folded
|
|
626
650
|
command lifecycle and linked compaction when present. Reusing a key
|
|
627
651
|
replaces that command renderer; an unoccupied key uses the generic card.`,registerOptions:[{name:`key`,requirement:`required`,type:`string`,doc:`Your cell key: the entry renders where the owner dispatches this exact key. Registering an already-occupied key replaces that occupant.`}],ownerProps:[`/** Command-row owner share. */
|
|
628
652
|
export interface CommandRowOwnerProps {
|
|
629
653
|
node: CommandNode
|
|
630
654
|
compaction?: CompactionSummaryNode
|
|
631
|
-
}`],ownerPropsReferences:[`Command`,`CommandNode`,`CompactionSummaryNode`],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`
|
|
655
|
+
}`],ownerPropsReferences:[`Command`,`CommandNode`,`CompactionSummaryNode`],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`,`useChat: UseChat`,`useConversation: UseConversation`,`useInput: SnapshotSelectorHook<InputState>`,`inputActions: InputActions`,`useSession: SessionSnapshotSelector`,`sessionId: SessionId`,`useProjection: UseProjection`,`useAccess: (action: RemoteEndpoint) => boolean`,`useTrajectory: UseTrajectory`],keyDomain:`open: any string the owner dispatches (no compile-time key set), already taken: team`,hookContext:``,slotInject:``,declaredBy:`an entry in 'conversation.chat.node' (client-ui-chat), so it exists while that entry is mounted`,occupants:[`client-ui-agent-team TeamCommandRow key 'team'`],replaceRisk:`shadows-shipped-ui`,example:`return {
|
|
632
656
|
inject: ['slots'],
|
|
633
657
|
apply(ctx) {
|
|
634
658
|
ctx.slots.inject('conversation.chat.commandview', () => ctx.slots.register(
|
|
@@ -636,14 +660,14 @@ export interface CommandRowOwnerProps {
|
|
|
636
660
|
() => React.createElement('div', null, 'hello'),
|
|
637
661
|
))
|
|
638
662
|
},
|
|
639
|
-
}`,source:`packages/client/ui-chat/src/client/contract/slots.ts:
|
|
663
|
+
}`,source:`packages/client/ui-chat/src/client/contract/slots.ts:494`},{key:`conversation.chat.flow`,kind:`single`,scope:`session`,summary:`Ordered Chat rows and local echoes with viewport-bound visibility hooks.`,doc:`Ordered Chat rows and local echoes with viewport-bound visibility hooks.`,registerOptions:[],ownerProps:[`/** Ordered rows and reconciled local echoes rendered inside one Chat viewport. */
|
|
640
664
|
export interface ChatFlowOwnerProps extends Pick<ChatNodeOwnerProps,
|
|
641
665
|
'cwd' | 'openFile' | 'inspectCall' | 'forkAt' | 'loadImage'> {
|
|
642
666
|
readonly entries: readonly RenderEntry[]
|
|
643
667
|
readonly pendingInputs: readonly (PendingSubmission | InboxState['next-step'][number])[]
|
|
644
668
|
readonly lastInputTurn: number | undefined
|
|
645
669
|
readonly deferCollapse: boolean
|
|
646
|
-
}`],ownerPropsReferences:[`ChatNodeOwnerProps`,`PendingSubmission`,`RenderEntry`],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`
|
|
670
|
+
}`],ownerPropsReferences:[`ChatNodeOwnerProps`,`PendingSubmission`,`RenderEntry`],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`,`useChat: UseChat`,`useConversation: UseConversation`,`useInput: SnapshotSelectorHook<InputState>`,`inputActions: InputActions`,`useSession: SessionSnapshotSelector`,`sessionId: SessionId`,`useProjection: UseProjection`,`useAccess: (action: RemoteEndpoint) => boolean`,`useTrajectory: UseTrajectory`],keyDomain:``,hookContext:`ChatFlowHookContext`,slotInject:`ChatFlowInjected`,declaredBy:`an entry in 'conversation.view' (client-ui-chat), so it exists while that entry is mounted`,occupants:[`client-ui-chat ChatFlow`],replaceRisk:`shadows-shipped-ui`,example:`return {
|
|
647
671
|
inject: ['slots'],
|
|
648
672
|
apply(ctx) {
|
|
649
673
|
ctx.slots.inject('conversation.chat.flow', () => ctx.slots.register(
|
|
@@ -651,7 +675,7 @@ export interface ChatFlowOwnerProps extends Pick<ChatNodeOwnerProps,
|
|
|
651
675
|
() => React.createElement('div', null, 'hello'),
|
|
652
676
|
))
|
|
653
677
|
},
|
|
654
|
-
}`,source:`packages/client/ui-chat/src/client/contract/slots.ts:
|
|
678
|
+
}`,source:`packages/client/ui-chat/src/client/contract/slots.ts:450`},{key:`conversation.chat.markdown.fence`,kind:`hoc`,scope:`session`,summary:`Language-keyed layers around one Markdown fence in the Chat flow; the content is the plain code block.`,doc:`Language-keyed layers around one Markdown fence in the Chat flow; the content is the plain code block.`,registerOptions:[{name:`id`,requirement:`required`,type:`string`,doc:"Your layer key. A fresh id adds a layer; reusing a shipped id replaces that layer. Your component may omit `children`, which replaces everything inside the layer."},{name:`key`,requirement:`optional`,type:`string`,doc:`Dispatch key this layer serves; omitted, it serves every dispatch. Within one id, an exact-key layer replaces the wildcard layer for that key.`},{name:`order`,requirement:`optional`,type:`number`,doc:"Nesting position, ascending (default 0); the lowest order is the outermost layer. Render the `children` prop at most once."}],ownerProps:[`/** One Markdown code fence whose language is final, as {@link MarkdownDelegate.renderCode} receives it. */
|
|
655
679
|
export interface MarkdownDelegateFenceInfo {
|
|
656
680
|
/**
|
|
657
681
|
* The info string's language word, cut at its first character outside
|
|
@@ -664,7 +688,7 @@ export interface MarkdownDelegateFenceInfo {
|
|
|
664
688
|
readonly streaming: boolean
|
|
665
689
|
/** The info string after the language word, as the author wrote it; absent when the fence names only a language. */
|
|
666
690
|
readonly meta?: string | undefined
|
|
667
|
-
}`],ownerPropsReferences:[`MarkdownDelegate`],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`
|
|
691
|
+
}`],ownerPropsReferences:[`MarkdownDelegate`],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`,`useChat: UseChat`,`useConversation: UseConversation`,`useInput: SnapshotSelectorHook<InputState>`,`inputActions: InputActions`,`useSession: SessionSnapshotSelector`,`sessionId: SessionId`,`useProjection: UseProjection`,`useAccess: (action: RemoteEndpoint) => boolean`,`useTrajectory: UseTrajectory`],keyDomain:`open: any entryKey the owner dispatches; a layer without key serves every dispatch, already taken: diff, math, patch`,hookContext:``,slotInject:``,declaredBy:`an entry in 'conversation.view' (client-ui-chat), so it exists while that entry is mounted`,occupants:[`client-ui-action-cards HiddenCardBlock id '@deepseek-ai/dsh-client-ui-action-cards/block'`,`client-ui-chat MathFenceLayer id '@deepseek-ai/dsh-client-ui-chat/fence/math' key 'math'`,`client-ui-chat DiffFenceLayer id '@deepseek-ai/dsh-client-ui-chat/fence/diff' key 'diff'`,`client-ui-chat DiffFenceLayer id '@deepseek-ai/dsh-client-ui-chat/fence/diff' key 'patch'`],replaceRisk:`wraps-owner-content`,example:`return {
|
|
668
692
|
inject: ['slots'],
|
|
669
693
|
apply(ctx) {
|
|
670
694
|
ctx.slots.inject('conversation.chat.markdown.fence', () => ctx.slots.register(
|
|
@@ -686,7 +710,7 @@ export interface MessageImagesOwnerProps {
|
|
|
686
710
|
compact?: boolean
|
|
687
711
|
/** Fixed, uncropped thumbnail for an attachment list row. */
|
|
688
712
|
thumbnail?: boolean
|
|
689
|
-
}`],ownerPropsReferences:[`Message`,`MessageImageLoader`,`MessageImageSource`],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`
|
|
713
|
+
}`],ownerPropsReferences:[`Message`,`MessageImageLoader`,`MessageImageSource`],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`,`useChat: UseChat`,`useConversation: UseConversation`,`useInput: SnapshotSelectorHook<InputState>`,`inputActions: InputActions`,`useSession: SessionSnapshotSelector`,`sessionId: SessionId`,`useProjection: UseProjection`,`useAccess: (action: RemoteEndpoint) => boolean`,`useTrajectory: UseTrajectory`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`an entry in 'conversation.chat.node' (client-ui-chat), so it exists while that entry is mounted`,occupants:[`client-ui-attachment MessageImages`],replaceRisk:`shadows-shipped-ui`,example:`return {
|
|
690
714
|
inject: ['slots'],
|
|
691
715
|
apply(ctx) {
|
|
692
716
|
ctx.slots.inject('conversation.chat.message.images', () => ctx.slots.register(
|
|
@@ -694,7 +718,7 @@ export interface MessageImagesOwnerProps {
|
|
|
694
718
|
() => React.createElement('div', null, 'hello'),
|
|
695
719
|
))
|
|
696
720
|
},
|
|
697
|
-
}`,source:`packages/client/ui-chat/src/client/contract/slots.ts:
|
|
721
|
+
}`,source:`packages/client/ui-chat/src/client/contract/slots.ts:486`},{key:`conversation.chat.node`,kind:`keyed`,scope:`session`,summary:"Final Chat node renderer, keyed by `ChatNodeKind`.",doc:`Final Chat node renderer, keyed by \`ChatNodeKind\`. The component receives
|
|
698
722
|
the typed node, shared Chat actions, and Turn-data hook. Reusing a key
|
|
699
723
|
replaces that node renderer; a kind with no occupant renders no row.`,registerOptions:[{name:`key`,requirement:`required`,type:`string`,doc:`Your cell key: the entry renders where the owner dispatches this exact key. Registering an already-occupied key replaces that occupant.`}],ownerProps:[`/** Stable owner currency delivered to a keyed Chat renderer. */
|
|
700
724
|
export interface ChatNodeOwnerProps {
|
|
@@ -708,7 +732,7 @@ export interface ChatNodeOwnerProps {
|
|
|
708
732
|
loadImage: MessageImageLoader
|
|
709
733
|
/** Turn-process state when this Node belongs to a projected Turn. */
|
|
710
734
|
turnProcess?: TurnProcessOwnerProps | undefined
|
|
711
|
-
}`],ownerPropsReferences:[`MessageImageLoader`,`OpenFileOptions`,`TurnProcessOwnerProps`],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`
|
|
735
|
+
}`],ownerPropsReferences:[`MessageImageLoader`,`OpenFileOptions`,`TurnProcessOwnerProps`],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`,`useChat: UseChat`,`useConversation: UseConversation`,`useInput: SnapshotSelectorHook<InputState>`,`inputActions: InputActions`,`useSession: SessionSnapshotSelector`,`sessionId: SessionId`,`useProjection: UseProjection`,`useAccess: (action: RemoteEndpoint) => boolean`,`useTrajectory: UseTrajectory`],keyDomain:`fixed by the owner's key table { [Kind in ChatNodeKind]: { node: ChatNode<Kind> } }, already taken: assistant-step, command, command-input, compaction, context, inherited-history, manual-compaction, model-retry, question-reply, steering, system-prompt, tool-call, turn-error, turn-max-tokens, turn-process, turn-tail, turn-trigger, unknown, user, workflow-run`,hookContext:`ChatNodeHookContext`,slotInject:`ChatNodeInjected`,declaredBy:`an entry in 'conversation.chat.flow' (client-ui-chat), so it exists while that entry is mounted`,occupants:[`client-ui-chat UserMessageNodeView key 'user'`,`client-ui-chat UserMessageNodeView key 'steering'`,`client-ui-chat ContextMessageNodeView key 'context'`,`client-ui-chat TurnTriggerNodeView key 'turn-trigger'`,`client-ui-chat SystemPromptNodeView key 'system-prompt'`,`client-ui-chat AssistantNodeView key 'assistant-step'`,`client-ui-chat CommandNodeView key 'command'`,`client-ui-chat ManualCompactionNodeView key 'manual-compaction'`,`client-ui-chat CompactionNodeView key 'compaction'`,`client-ui-chat InheritedHistoryNodeView key 'inherited-history'`,`client-ui-chat RetryNodeView key 'model-retry'`,`client-ui-chat TurnErrorNodeView key 'turn-error'`,`client-ui-chat TurnMaxTokensNodeView key 'turn-max-tokens'`,`client-ui-chat TurnProcessNodeView key 'turn-process'`,`client-ui-chat TurnTailNodeView key 'turn-tail'`,`client-ui-chat UnknownNodeView key 'unknown'`,`client-ui-goal GoalCommandInputView key 'command-input'`,`client-ui-tool ToolCallTree key 'tool-call'`,`client-ui-user-questions QuestionReplyView key 'question-reply'`,`client-ui-workflow-run WorkflowRunPanel key 'workflow-run'`],replaceRisk:`shadows-shipped-ui`,example:`return {
|
|
712
736
|
inject: ['slots'],
|
|
713
737
|
apply(ctx) {
|
|
714
738
|
ctx.slots.inject('conversation.chat.node', () => ctx.slots.register(
|
|
@@ -716,7 +740,7 @@ export interface ChatNodeOwnerProps {
|
|
|
716
740
|
() => React.createElement('div', null, 'hello'),
|
|
717
741
|
))
|
|
718
742
|
},
|
|
719
|
-
}`,source:`packages/client/ui-chat/src/client/contract/slots.ts:
|
|
743
|
+
}`,source:`packages/client/ui-chat/src/client/contract/slots.ts:462`},{key:`conversation.chat.reasoning.body`,kind:`single`,scope:`session`,summary:`Expanded reasoning body with raw and display-ready text.`,doc:`Expanded reasoning body with raw and display-ready text. The official entry
|
|
720
744
|
has priority 100 and calls the reasoning Content Factory; smaller priority
|
|
721
745
|
values replace it. Contributions must preserve access to untranslated display text.`,registerOptions:[],ownerProps:[`/** Original and display-ready reasoning offered to the expanded Body Slot. */
|
|
722
746
|
export interface ReasoningBodyOwnerProps {
|
|
@@ -726,7 +750,7 @@ export interface ReasoningBodyOwnerProps {
|
|
|
726
750
|
readonly text: string
|
|
727
751
|
/** Whether the reasoning tail is still streaming. */
|
|
728
752
|
readonly running: boolean
|
|
729
|
-
}`],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`
|
|
753
|
+
}`],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`,`useChat: UseChat`,`useConversation: UseConversation`,`useInput: SnapshotSelectorHook<InputState>`,`inputActions: InputActions`,`useSession: SessionSnapshotSelector`,`sessionId: SessionId`,`useProjection: UseProjection`,`useAccess: (action: RemoteEndpoint) => boolean`,`useTrajectory: UseTrajectory`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`an entry in 'conversation.chat.node' (client-ui-chat), so it exists while that entry is mounted`,occupants:[`client-ui-chat DefaultReasoningBody`,`experimental-client-ui-cot-translation TranslationBody`],replaceRisk:`shadows-shipped-ui`,example:`return {
|
|
730
754
|
inject: ['slots'],
|
|
731
755
|
apply(ctx) {
|
|
732
756
|
ctx.slots.inject('conversation.chat.reasoning.body', () => ctx.slots.register(
|
|
@@ -734,13 +758,13 @@ export interface ReasoningBodyOwnerProps {
|
|
|
734
758
|
() => React.createElement('div', null, 'hello'),
|
|
735
759
|
))
|
|
736
760
|
},
|
|
737
|
-
}`,source:`packages/client/ui-chat/src/client/contract/slots.ts:
|
|
761
|
+
}`,source:`packages/client/ui-chat/src/client/contract/slots.ts:500`},{key:`conversation.chat.text-interaction`,kind:`keyed`,scope:`session`,summary:`Area-local text gestures and surfaces; each consumer registers its own synchronous admission.`,doc:`Area-local text gestures and surfaces; each consumer registers its own synchronous admission.`,registerOptions:[{name:`key`,requirement:`required`,type:`string`,doc:`Your cell key: the entry renders where the owner dispatches this exact key. Registering an already-occupied key replaces that occupant.`}],ownerProps:[`/** Area-local actions provided to the currently selected plugin component. */
|
|
738
762
|
export interface TextInteractionSurface {
|
|
739
763
|
readonly trigger: TextInteractionTrigger
|
|
740
764
|
readonly dismiss: () => void
|
|
741
765
|
readonly readText: () => string | null
|
|
742
766
|
readonly clearSelection: () => void
|
|
743
|
-
}`],ownerPropsReferences:[`TextInteractionTrigger`],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`
|
|
767
|
+
}`],ownerPropsReferences:[`TextInteractionTrigger`],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`,`useChat: UseChat`,`useConversation: UseConversation`,`useInput: SnapshotSelectorHook<InputState>`,`inputActions: InputActions`,`useSession: SessionSnapshotSelector`,`sessionId: SessionId`,`useProjection: UseProjection`,`useAccess: (action: RemoteEndpoint) => boolean`,`useTrajectory: UseTrajectory`],keyDomain:`open: any string the owner dispatches (no compile-time key set), already taken: quote`,hookContext:``,slotInject:``,declaredBy:`an entry in 'conversation.view' (client-ui-chat), so it exists while that entry is mounted`,occupants:[`message-quotes QuoteSelectionAction key 'quote'`],replaceRisk:`shadows-shipped-ui`,example:`return {
|
|
744
768
|
inject: ['slots'],
|
|
745
769
|
apply(ctx) {
|
|
746
770
|
ctx.slots.inject('conversation.chat.text-interaction', () => ctx.slots.register(
|
|
@@ -755,7 +779,7 @@ export interface TurnTailOwnerProps {
|
|
|
755
779
|
turn: TurnLocation
|
|
756
780
|
seq: number
|
|
757
781
|
openFile: (path: string) => void
|
|
758
|
-
}`],ownerPropsReferences:[`TurnLocation`],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`
|
|
782
|
+
}`],ownerPropsReferences:[`TurnLocation`],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`,`useChat: UseChat`,`useConversation: UseConversation`,`useInput: SnapshotSelectorHook<InputState>`,`inputActions: InputActions`,`useSession: SessionSnapshotSelector`,`sessionId: SessionId`,`useProjection: UseProjection`,`useAccess: (action: RemoteEndpoint) => boolean`,`useTrajectory: UseTrajectory`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`an entry in 'conversation.chat.node' (client-ui-chat), so it exists while that entry is mounted`,occupants:[`client-ui-action-cards ActionCardTail id '@deepseek-ai/dsh-client-ui-action-cards'`,`client-ui-deliverables DeliverablesTail id '@deepseek-ai/dsh-client-ui-deliverables'`,`client-ui-plan PlanCards`,`client-ui-schedule ScheduleTurnCard id 'schedule-created'`],replaceRisk:`none`,example:`return {
|
|
759
783
|
inject: ['slots'],
|
|
760
784
|
apply(ctx) {
|
|
761
785
|
ctx.slots.inject('conversation.chat.turnTail', () => ctx.slots.register(
|
|
@@ -763,7 +787,7 @@ export interface TurnTailOwnerProps {
|
|
|
763
787
|
() => React.createElement('div', null, 'hello'),
|
|
764
788
|
))
|
|
765
789
|
},
|
|
766
|
-
}`,source:`packages/client/ui-chat/src/client/contract/slots.ts:
|
|
790
|
+
}`,source:`packages/client/ui-chat/src/client/contract/slots.ts:506`},{key:`conversation.chat.user.before`,kind:`chain`,scope:`session`,summary:`Message-source decoration owned and rendered by the user Node entry.`,doc:`Message-source decoration owned and rendered by the user Node entry.
|
|
767
791
|
Selectors elect one component from the durable source and row kind.
|
|
768
792
|
No match renders no visible content; steering and pending rows do not
|
|
769
793
|
render this slot.`,registerOptions:[{name:`select`,requirement:`required`,type:`(owner) => unknown | null`,doc:"Pure routing selector. Entries are tried in ascending order; the first non-null result wins and arrives as the component's `matched` prop. All-null falls through to the owner's fallback."}],ownerProps:[`/**
|
|
@@ -778,7 +802,7 @@ export interface UserBeforeOwnerProps {
|
|
|
778
802
|
readonly source: unknown
|
|
779
803
|
/** Chat row kind that owns the decoration site. */
|
|
780
804
|
readonly kind: 'user' | 'steering'
|
|
781
|
-
}`],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`
|
|
805
|
+
}`],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`,`useChat: UseChat`,`useConversation: UseConversation`,`useInput: SnapshotSelectorHook<InputState>`,`inputActions: InputActions`,`useSession: SessionSnapshotSelector`,`sessionId: SessionId`,`useProjection: UseProjection`,`useAccess: (action: RemoteEndpoint) => boolean`,`useTrajectory: UseTrajectory`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`an entry in 'conversation.chat.node' (client-ui-chat), so it exists while that entry is mounted`,occupants:[`experimental-liveshare SharedSessionOrigin`],replaceRisk:`none`,example:`return {
|
|
782
806
|
inject: ['slots'],
|
|
783
807
|
apply(ctx) {
|
|
784
808
|
ctx.slots.inject('conversation.chat.user.before', () => ctx.slots.register(
|
|
@@ -786,7 +810,7 @@ export interface UserBeforeOwnerProps {
|
|
|
786
810
|
() => React.createElement('div', null, 'hello'),
|
|
787
811
|
))
|
|
788
812
|
},
|
|
789
|
-
}`,source:`packages/client/ui-chat/src/client/contract/slots.ts:
|
|
813
|
+
}`,source:`packages/client/ui-chat/src/client/contract/slots.ts:476`},{key:`conversation.chat.user.images`,kind:`single`,scope:`session`,summary:`User-message images, including pending and local-echo previews, independently replaceable from output images.`,doc:`User-message images, including pending and local-echo previews, independently replaceable from output images.`,registerOptions:[],ownerProps:[`/** Message image group handed to the optional attachment presentation plugin. */
|
|
790
814
|
export interface MessageImagesOwnerProps {
|
|
791
815
|
/** Durable references or submission-echo previews in source order. */
|
|
792
816
|
images: readonly MessageImageSource[]
|
|
@@ -798,7 +822,7 @@ export interface MessageImagesOwnerProps {
|
|
|
798
822
|
compact?: boolean
|
|
799
823
|
/** Fixed, uncropped thumbnail for an attachment list row. */
|
|
800
824
|
thumbnail?: boolean
|
|
801
|
-
}`],ownerPropsReferences:[`Message`,`MessageImageLoader`,`MessageImageSource`],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`
|
|
825
|
+
}`],ownerPropsReferences:[`Message`,`MessageImageLoader`,`MessageImageSource`],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`,`useChat: UseChat`,`useConversation: UseConversation`,`useInput: SnapshotSelectorHook<InputState>`,`inputActions: InputActions`,`useSession: SessionSnapshotSelector`,`sessionId: SessionId`,`useProjection: UseProjection`,`useAccess: (action: RemoteEndpoint) => boolean`,`useTrajectory: UseTrajectory`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`factory 'conversation.chat.user.content' (client-ui-chat), so it exists while that definition is registered`,occupants:[`client-ui-attachment MessageImages`],replaceRisk:`shadows-shipped-ui`,example:`return {
|
|
802
826
|
inject: ['slots'],
|
|
803
827
|
apply(ctx) {
|
|
804
828
|
ctx.slots.inject('conversation.chat.user.images', () => ctx.slots.register(
|
|
@@ -806,7 +830,7 @@ export interface MessageImagesOwnerProps {
|
|
|
806
830
|
() => React.createElement('div', null, 'hello'),
|
|
807
831
|
))
|
|
808
832
|
},
|
|
809
|
-
}`,source:`packages/client/ui-chat/src/client/contract/slots.ts:
|
|
833
|
+
}`,source:`packages/client/ui-chat/src/client/contract/slots.ts:488`},{key:`conversation.composer`,kind:`chain`,scope:`session`,summary:`Selector-routed replacements for the current Session's resident composer; fixed overlays must portal to the document body because the docked composer contains them.`,doc:`Selector-routed replacements for the current Session's resident composer; fixed overlays must
|
|
810
834
|
portal to the document body because the docked composer contains them.`,registerOptions:[{name:`select`,requirement:`required`,type:`(owner) => unknown | null`,doc:"Pure routing selector. Entries are tried in ascending order; the first non-null result wins and arrives as the component's `matched` prop. All-null falls through to the owner's fallback."}],ownerProps:[`/** Owner values used to elect a composer takeover. */
|
|
811
835
|
export interface ComposerChainProps {
|
|
812
836
|
/** Current Session identity used by temporary business-owned entries. */
|
|
@@ -815,7 +839,7 @@ export interface ComposerChainProps {
|
|
|
815
839
|
session: SessionSnapshot | undefined
|
|
816
840
|
/** Effective business-owned interaction awaiting the user in this Session. */
|
|
817
841
|
pendingInteraction: SessionPendingInteraction | undefined
|
|
818
|
-
}`],ownerPropsReferences:[`SessionId`,`SessionPendingInteraction`,`SessionSnapshot`],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`
|
|
842
|
+
}`],ownerPropsReferences:[`SessionId`,`SessionPendingInteraction`,`SessionSnapshot`],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`,`useChat: UseChat`,`useConversation: UseConversation`,`useInput: SnapshotSelectorHook<InputState>`,`inputActions: InputActions`,`useSession: SessionSnapshotSelector`,`sessionId: SessionId`,`useProjection: UseProjection`,`useAccess: (action: RemoteEndpoint) => boolean`,`useTrajectory: UseTrajectory`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`factory 'conversation.content' (client-ui-conversation), so it exists while that definition is registered`,occupants:[`client-ui-approval ApprovalPanel`,`client-ui-subagent SubagentReadOnlyComposer`,`client-ui-user-questions QuestionComposer`,`cua ApplicationApproval`],replaceRisk:`none`,example:`return {
|
|
819
843
|
inject: ['slots'],
|
|
820
844
|
apply(ctx) {
|
|
821
845
|
ctx.slots.inject('conversation.composer', () => ctx.slots.register(
|
|
@@ -841,7 +865,7 @@ export interface ComposerBarOwnerProps {
|
|
|
841
865
|
placeholder?: string
|
|
842
866
|
/** Optional content rendered above the composer surface. */
|
|
843
867
|
accessory?: ReactNode
|
|
844
|
-
}`],ownerPropsReferences:[`ConversationContentInputProps`,`Workspace`],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`
|
|
868
|
+
}`],ownerPropsReferences:[`ConversationContentInputProps`,`Workspace`],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`,`useConversation: MaybeSnapshotSelectorHook<ConversationSnapshot>`,`useInput: MaybeSnapshotSelectorHook<InputState>`,`inputActions: InputActions | undefined`,`useSession: MaybeSnapshotSelectorHook<SessionSnapshot>`,`sessionId: SessionId | undefined`,`useProjection: UseProjection`,`useAccess: (action: RemoteEndpoint) => boolean | undefined`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`factory 'conversation.content' (client-ui-conversation), so it exists while that definition is registered`,occupants:[`client-ui-conversation InputBar`],replaceRisk:`shadows-shipped-ui`,example:`return {
|
|
845
869
|
inject: ['slots'],
|
|
846
870
|
apply(ctx) {
|
|
847
871
|
ctx.slots.inject('conversation.composer.bar', () => ctx.slots.register(
|
|
@@ -850,7 +874,7 @@ export interface ComposerBarOwnerProps {
|
|
|
850
874
|
))
|
|
851
875
|
},
|
|
852
876
|
}`,source:`packages/client/ui-conversation/src/client/contract/slots.ts:336`},{key:`conversation.composer.dock`,kind:`list`,scope:`session`,summary:`Ambient entries below the composer card; fixed overlays must portal to the document body because the docked composer contains them.`,doc:`Ambient entries below the composer card; fixed overlays must portal to the document body
|
|
853
|
-
because the docked composer contains them.`,registerOptions:[{name:`id`,requirement:`required`,type:`string`,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.`},{name:`order`,requirement:`optional`,type:`number`,doc:`Position among the entries, ascending (default 0).`},{name:`label`,requirement:`optional`,type:`string | (() => string)`,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.`}],ownerProps:[],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`
|
|
877
|
+
because the docked composer contains them.`,registerOptions:[{name:`id`,requirement:`required`,type:`string`,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.`},{name:`order`,requirement:`optional`,type:`number`,doc:`Position among the entries, ascending (default 0).`},{name:`label`,requirement:`optional`,type:`string | (() => string)`,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.`}],ownerProps:[],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`,`useChat: UseChat`,`useConversation: UseConversation`,`useInput: SnapshotSelectorHook<InputState>`,`inputActions: InputActions`,`useSession: SessionSnapshotSelector`,`sessionId: SessionId`,`useProjection: UseProjection`,`useAccess: (action: RemoteEndpoint) => boolean`,`useTrajectory: UseTrajectory`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`an entry in 'conversation.composer.bar' (client-ui-conversation), so it exists while that entry is mounted`,occupants:[`client-ui-chat ActivityPill id 'activity'`,`client-ui-chat UsagePill id 'usage'`],replaceRisk:`none`,example:`return {
|
|
854
878
|
inject: ['slots'],
|
|
855
879
|
apply(ctx) {
|
|
856
880
|
ctx.slots.inject('conversation.composer.dock', () => ctx.slots.register(
|
|
@@ -858,7 +882,7 @@ because the docked composer contains them.`,registerOptions:[{name:`id`,requirem
|
|
|
858
882
|
() => React.createElement('div', null, 'hello'),
|
|
859
883
|
))
|
|
860
884
|
},
|
|
861
|
-
}`,source:`packages/client/ui-conversation/src/client/contract/slots.ts:315`},{key:`conversation.header`,kind:`single`,scope:`session-maybe`,summary:`Resident navigation container, including when no Session is selected.`,doc:`Resident navigation container, including when no Session is selected.`,registerOptions:[],ownerProps:[],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`
|
|
885
|
+
}`,source:`packages/client/ui-conversation/src/client/contract/slots.ts:315`},{key:`conversation.header`,kind:`single`,scope:`session-maybe`,summary:`Resident navigation container, including when no Session is selected.`,doc:`Resident navigation container, including when no Session is selected.`,registerOptions:[],ownerProps:[],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`,`useConversation: MaybeSnapshotSelectorHook<ConversationSnapshot>`,`useInput: MaybeSnapshotSelectorHook<InputState>`,`inputActions: InputActions | undefined`,`useSession: MaybeSnapshotSelectorHook<SessionSnapshot>`,`sessionId: SessionId | undefined`,`useProjection: UseProjection`,`useAccess: (action: RemoteEndpoint) => boolean | undefined`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`an entry in 'main.conversation' (client-ui-conversation), so it exists while that entry is mounted`,occupants:[`client-ui-conversation ConversationHeader`],replaceRisk:`shadows-shipped-ui`,example:`return {
|
|
862
886
|
inject: ['slots'],
|
|
863
887
|
apply(ctx) {
|
|
864
888
|
ctx.slots.inject('conversation.header', () => ctx.slots.register(
|
|
@@ -870,7 +894,7 @@ because the docked composer contains them.`,registerOptions:[{name:`id`,requirem
|
|
|
870
894
|
export interface ConversationHeaderLeadingOwnerProps {
|
|
871
895
|
/** Marker field: the occupant receives no owner-specific values. */
|
|
872
896
|
children?: never
|
|
873
|
-
}`],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`
|
|
897
|
+
}`],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`an entry in 'conversation.header' (client-ui-conversation), so it exists while that entry is mounted`,occupants:[],replaceRisk:`none`,example:`return {
|
|
874
898
|
inject: ['slots'],
|
|
875
899
|
apply(ctx) {
|
|
876
900
|
ctx.slots.inject('conversation.header.leading', () => ctx.slots.register(
|
|
@@ -882,7 +906,7 @@ export interface ConversationHeaderLeadingOwnerProps {
|
|
|
882
906
|
export interface HeroAgentPresetOwnerProps {
|
|
883
907
|
/** Marker field: the occupant owns its roster and staged selection. */
|
|
884
908
|
children?: never
|
|
885
|
-
}`],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`
|
|
909
|
+
}`],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`,`useConversation: MaybeSnapshotSelectorHook<ConversationSnapshot>`,`useInput: MaybeSnapshotSelectorHook<InputState>`,`inputActions: InputActions | undefined`,`useSession: MaybeSnapshotSelectorHook<SessionSnapshot>`,`sessionId: SessionId | undefined`,`useProjection: UseProjection`,`useAccess: (action: RemoteEndpoint) => boolean | undefined`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`factory 'conversation.content' (client-ui-conversation), so it exists while that definition is registered`,occupants:[`client-ui-agent-preset AgentPresetSeat`],replaceRisk:`shadows-shipped-ui`,example:`return {
|
|
886
910
|
inject: ['slots'],
|
|
887
911
|
apply(ctx) {
|
|
888
912
|
ctx.slots.inject('conversation.hero.agentPreset', () => ctx.slots.register(
|
|
@@ -896,7 +920,7 @@ export interface HeroBrandMarkOwnerProps {
|
|
|
896
920
|
size: number
|
|
897
921
|
/** Host class preserving the surrounding mark geometry. */
|
|
898
922
|
className?: string | undefined
|
|
899
|
-
}`],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`
|
|
923
|
+
}`],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`factory 'conversation.content' (client-ui-conversation), so it exists while that definition is registered`,occupants:[],replaceRisk:`none`,example:`return {
|
|
900
924
|
inject: ['slots'],
|
|
901
925
|
apply(ctx) {
|
|
902
926
|
ctx.slots.inject('conversation.hero.brand.mark', () => ctx.slots.register(
|
|
@@ -908,7 +932,7 @@ export interface HeroBrandMarkOwnerProps {
|
|
|
908
932
|
export interface HeroFrameOwnerProps {
|
|
909
933
|
/** Whether the body shows the blank home of a standalone, non-embedded Conversation. */
|
|
910
934
|
hero: boolean
|
|
911
|
-
}`],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`
|
|
935
|
+
}`],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`factory 'conversation.content' (client-ui-conversation), so it exists while that definition is registered`,occupants:[`client-ui-brand-official PixelWhale id 'pixel-whale'`],replaceRisk:`wraps-owner-content`,example:`return {
|
|
912
936
|
inject: ['slots'],
|
|
913
937
|
apply(ctx) {
|
|
914
938
|
ctx.slots.inject('conversation.hero.frame', () => ctx.slots.register(
|
|
@@ -916,7 +940,7 @@ export interface HeroFrameOwnerProps {
|
|
|
916
940
|
({ children }) => React.createElement('div', null, children),
|
|
917
941
|
))
|
|
918
942
|
},
|
|
919
|
-
}`,source:`packages/client/ui-conversation/src/client/contract/slots.ts:294`},{key:`conversation.hero.options`,kind:`list`,scope:`session`,summary:`Compact options right-aligned in the New Session row after the workspace and preset controls; rendered only with a Session.`,doc:`Compact options right-aligned in the New Session row after the workspace and preset controls; rendered only with a Session.`,registerOptions:[{name:`id`,requirement:`required`,type:`string`,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.`},{name:`order`,requirement:`optional`,type:`number`,doc:`Position among the entries, ascending (default 0).`},{name:`label`,requirement:`optional`,type:`string | (() => string)`,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.`}],ownerProps:[],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`
|
|
943
|
+
}`,source:`packages/client/ui-conversation/src/client/contract/slots.ts:294`},{key:`conversation.hero.options`,kind:`list`,scope:`session`,summary:`Compact options right-aligned in the New Session row after the workspace and preset controls; rendered only with a Session.`,doc:`Compact options right-aligned in the New Session row after the workspace and preset controls; rendered only with a Session.`,registerOptions:[{name:`id`,requirement:`required`,type:`string`,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.`},{name:`order`,requirement:`optional`,type:`number`,doc:`Position among the entries, ascending (default 0).`},{name:`label`,requirement:`optional`,type:`string | (() => string)`,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.`}],ownerProps:[],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`,`useChat: UseChat`,`useConversation: UseConversation`,`useInput: SnapshotSelectorHook<InputState>`,`inputActions: InputActions`,`useSession: SessionSnapshotSelector`,`sessionId: SessionId`,`useProjection: UseProjection`,`useAccess: (action: RemoteEndpoint) => boolean`,`useTrajectory: UseTrajectory`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`factory 'conversation.content' (client-ui-conversation), so it exists while that definition is registered`,occupants:[`experimental-client-ui-forge WorktreeToggle id 'forge-panel.worktree'`],replaceRisk:`none`,example:`return {
|
|
920
944
|
inject: ['slots'],
|
|
921
945
|
apply(ctx) {
|
|
922
946
|
ctx.slots.inject('conversation.hero.options', () => ctx.slots.register(
|
|
@@ -932,7 +956,7 @@ export interface EmptyWorkspaceOwnerProps {
|
|
|
932
956
|
selectedId?: WorkspaceId | undefined
|
|
933
957
|
onPick: (workspaceId: WorkspaceId) => void
|
|
934
958
|
onClose: () => void
|
|
935
|
-
}`],ownerPropsReferences:[`Workspace`],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`
|
|
959
|
+
}`],ownerPropsReferences:[`Workspace`],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`factory 'conversation.content' (client-ui-conversation), so it exists while that definition is registered`,occupants:[`client-ui-workspace WorkspacePicker`],replaceRisk:`shadows-shipped-ui`,example:`return {
|
|
936
960
|
inject: ['slots'],
|
|
937
961
|
apply(ctx) {
|
|
938
962
|
ctx.slots.inject('conversation.hero.workspace', () => ctx.slots.register(
|
|
@@ -956,7 +980,7 @@ export interface DirectoryFlowOwnerProps {
|
|
|
956
980
|
onCancel: () => void
|
|
957
981
|
/** The interaction itself failed (chooser missing, listing denied); the owner shows its error surface. */
|
|
958
982
|
onError: (message: string) => void
|
|
959
|
-
}`],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`
|
|
983
|
+
}`],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`an entry in 'conversation.hero.workspace' (client-ui-workspace), so it exists while that entry is mounted`,occupants:[`client-ui-directory-picker-browse BrowseDirectoryFlow`,`client-ui-directory-picker-native NativeDirectoryFlow`],replaceRisk:`shadows-shipped-ui`,example:`return {
|
|
960
984
|
inject: ['slots'],
|
|
961
985
|
apply(ctx) {
|
|
962
986
|
ctx.slots.inject('conversation.hero.workspace.directoryFlow', () => ctx.slots.register(
|
|
@@ -964,13 +988,13 @@ export interface DirectoryFlowOwnerProps {
|
|
|
964
988
|
() => React.createElement('div', null, 'hello'),
|
|
965
989
|
))
|
|
966
990
|
},
|
|
967
|
-
}`,source:`packages/client/ui-workspace/src/client/contract/slots.ts:
|
|
991
|
+
}`,source:`packages/client/ui-workspace/src/client/contract/slots.ts:147`},{key:`conversation.input.activity`,kind:`single`,scope:`session`,summary:`Compact action after the model selector; it can expand across the toolbar while retaining the editor and submit action, and fixed overlays must portal to the document body because the docked composer contains them.`,doc:`Compact action after the model selector; it can expand across the toolbar while retaining the
|
|
968
992
|
editor and submit action, and fixed overlays must portal to the document body because the
|
|
969
993
|
docked composer contains them.`,registerOptions:[],ownerProps:[`/** A toolbar activity hides ordinary accessory controls while expanded; its occupant must release expansion on unmount. */
|
|
970
994
|
export interface InputActivityOwnerProps extends InputControlOwnerProps {
|
|
971
995
|
/** @param active - whether the occupant needs the toolbar width before the submit action. */
|
|
972
996
|
onActiveChange: (active: boolean) => void
|
|
973
|
-
}`],ownerPropsReferences:[`InputControlOwnerProps`],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`
|
|
997
|
+
}`],ownerPropsReferences:[`InputControlOwnerProps`],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`,`useChat: UseChat`,`useConversation: UseConversation`,`useInput: SnapshotSelectorHook<InputState>`,`inputActions: InputActions`,`useSession: SessionSnapshotSelector`,`sessionId: SessionId`,`useProjection: UseProjection`,`useAccess: (action: RemoteEndpoint) => boolean`,`useTrajectory: UseTrajectory`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`an entry in 'conversation.composer.bar' (client-ui-conversation), so it exists while that entry is mounted`,occupants:[`experimental-client-ui-voice-input VoiceInput`],replaceRisk:`shadows-shipped-ui`,example:`return {
|
|
974
998
|
inject: ['slots'],
|
|
975
999
|
apply(ctx) {
|
|
976
1000
|
ctx.slots.inject('conversation.input.activity', () => ctx.slots.register(
|
|
@@ -1002,7 +1026,7 @@ export interface ComposerAttachmentsOwnerProps {
|
|
|
1002
1026
|
* stays until it is removed.
|
|
1003
1027
|
* @param reason - the refusal \`reason\` the failed upload carries.
|
|
1004
1028
|
* @returns localized text naming the limit or the way out.
|
|
1005
|
-
/* …truncated — full shape in source */`],ownerPropsReferences:[`ComposerAttachment`,`DraftAttachmentId`,`DraftFileUploads`],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`
|
|
1029
|
+
/* …truncated — full shape in source */`],ownerPropsReferences:[`ComposerAttachment`,`DraftAttachmentId`,`DraftFileUploads`],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`,`useConversation: MaybeSnapshotSelectorHook<ConversationSnapshot>`,`useInput: MaybeSnapshotSelectorHook<InputState>`,`inputActions: InputActions | undefined`,`useSession: MaybeSnapshotSelectorHook<SessionSnapshot>`,`sessionId: SessionId | undefined`,`useProjection: UseProjection`,`useAccess: (action: RemoteEndpoint) => boolean | undefined`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`an entry in 'conversation.composer.bar' (client-ui-conversation), so it exists while that entry is mounted`,occupants:[`client-ui-attachment ComposerAttachments`],replaceRisk:`shadows-shipped-ui`,example:`return {
|
|
1006
1030
|
inject: ['slots'],
|
|
1007
1031
|
apply(ctx) {
|
|
1008
1032
|
ctx.slots.inject('conversation.input.attachments', () => ctx.slots.register(
|
|
@@ -1010,12 +1034,12 @@ export interface ComposerAttachmentsOwnerProps {
|
|
|
1010
1034
|
() => React.createElement('div', null, 'hello'),
|
|
1011
1035
|
))
|
|
1012
1036
|
},
|
|
1013
|
-
}`,source:`packages/client/ui-conversation/src/client/contract/slots.ts:
|
|
1037
|
+
}`,source:`packages/client/ui-conversation/src/client/contract/slots.ts:351`},{key:`conversation.input.dock`,kind:`list`,scope:`session`,summary:`Full-width entries above the composer card; fixed overlays must portal to the document body because the docked composer contains them.`,doc:`Full-width entries above the composer card; fixed overlays must portal to the document body
|
|
1014
1038
|
because the docked composer contains them.`,registerOptions:[{name:`id`,requirement:`required`,type:`string`,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.`},{name:`order`,requirement:`optional`,type:`number`,doc:`Position among the entries, ascending (default 0).`},{name:`label`,requirement:`optional`,type:`string | (() => string)`,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.`}],ownerProps:[`/** Point-in-time owner values for composer extension entries. */
|
|
1015
1039
|
export interface InputZone {
|
|
1016
1040
|
readonly session: SessionSnapshot
|
|
1017
1041
|
readonly input: InputState
|
|
1018
|
-
}`],ownerPropsReferences:[`InputState`,`SessionSnapshot`],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`
|
|
1042
|
+
}`],ownerPropsReferences:[`InputState`,`SessionSnapshot`],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`,`useChat: UseChat`,`useConversation: UseConversation`,`useInput: SnapshotSelectorHook<InputState>`,`inputActions: InputActions`,`useSession: SessionSnapshotSelector`,`sessionId: SessionId`,`useProjection: UseProjection`,`useAccess: (action: RemoteEndpoint) => boolean`,`useTrajectory: UseTrajectory`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`factory 'conversation.content' (client-ui-conversation), so it exists while that definition is registered`,occupants:[`client-ui-conversation QueueDock id 'queue'`,`client-ui-conversation TodoDock id 'todo'`,`client-ui-goal GoalDock id 'goal'`,`experimental-client-ui-claude-code-mods Band id 'claude-code-mods'`,`experimental-client-ui-forge WorktreeProgress id 'forge-panel.worktree'`,`timeline TaskDock id 'timeline'`],replaceRisk:`none`,example:`return {
|
|
1019
1043
|
inject: ['slots'],
|
|
1020
1044
|
apply(ctx) {
|
|
1021
1045
|
ctx.slots.inject('conversation.input.dock', () => ctx.slots.register(
|
|
@@ -1024,7 +1048,7 @@ export interface InputZone {
|
|
|
1024
1048
|
))
|
|
1025
1049
|
},
|
|
1026
1050
|
}`,source:`packages/client/ui-conversation/src/client/contract/slots.ts:305`},{key:`conversation.input.left`,kind:`list`,scope:`session`,summary:`Compact controls at the left of the composer tool row; fixed overlays must portal to the document body because the docked composer contains them.`,doc:`Compact controls at the left of the composer tool row; fixed overlays must portal to the
|
|
1027
|
-
document body because the docked composer contains them.`,registerOptions:[{name:`id`,requirement:`required`,type:`string`,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.`},{name:`order`,requirement:`optional`,type:`number`,doc:`Position among the entries, ascending (default 0).`},{name:`label`,requirement:`optional`,type:`string | (() => string)`,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.`}],ownerProps:[],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`
|
|
1051
|
+
document body because the docked composer contains them.`,registerOptions:[{name:`id`,requirement:`required`,type:`string`,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.`},{name:`order`,requirement:`optional`,type:`number`,doc:`Position among the entries, ascending (default 0).`},{name:`label`,requirement:`optional`,type:`string | (() => string)`,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.`}],ownerProps:[],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`,`useChat: UseChat`,`useConversation: UseConversation`,`useInput: SnapshotSelectorHook<InputState>`,`inputActions: InputActions`,`useSession: SessionSnapshotSelector`,`sessionId: SessionId`,`useProjection: UseProjection`,`useAccess: (action: RemoteEndpoint) => boolean`,`useTrajectory: UseTrajectory`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`an entry in 'conversation.composer.bar' (client-ui-conversation), so it exists while that entry is mounted`,occupants:[],replaceRisk:`none`,example:`return {
|
|
1028
1052
|
inject: ['slots'],
|
|
1029
1053
|
apply(ctx) {
|
|
1030
1054
|
ctx.slots.inject('conversation.input.left', () => ctx.slots.register(
|
|
@@ -1039,7 +1063,7 @@ Fixed overlays must portal to the document body because the docked composer cont
|
|
|
1039
1063
|
export interface InputControlOwnerProps {
|
|
1040
1064
|
/** Whether the composer currently refuses interaction. */
|
|
1041
1065
|
locked: boolean
|
|
1042
|
-
}`],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`
|
|
1066
|
+
}`],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`,`useChat: UseChat`,`useConversation: UseConversation`,`useInput: SnapshotSelectorHook<InputState>`,`inputActions: InputActions`,`useSession: SessionSnapshotSelector`,`sessionId: SessionId`,`useProjection: UseProjection`,`useAccess: (action: RemoteEndpoint) => boolean`,`useTrajectory: UseTrajectory`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`an entry in 'conversation.composer.bar' (client-ui-conversation), so it exists while that entry is mounted`,occupants:[`client-ui-model-selection ModelSelect`,`experimental-liveshare ViewerModelSeat`],replaceRisk:`shadows-shipped-ui`,example:`return {
|
|
1043
1067
|
inject: ['slots'],
|
|
1044
1068
|
apply(ctx) {
|
|
1045
1069
|
ctx.slots.inject('conversation.input.model', () => ctx.slots.register(
|
|
@@ -1047,7 +1071,7 @@ export interface InputControlOwnerProps {
|
|
|
1047
1071
|
() => React.createElement('div', null, 'hello'),
|
|
1048
1072
|
))
|
|
1049
1073
|
},
|
|
1050
|
-
}`,source:`packages/client/ui-conversation/src/client/contract/slots.ts:
|
|
1074
|
+
}`,source:`packages/client/ui-conversation/src/client/contract/slots.ts:372`},{key:`conversation.input.model.label`,kind:`single`,scope:`session`,summary:`Non-interactive inline model label; selection controls remain owner-managed.`,doc:`Non-interactive inline model label; selection controls remain owner-managed.
|
|
1051
1075
|
Without a contribution, the badge precedes the catalog name in the trigger
|
|
1052
1076
|
and follows it in menus.`,registerOptions:[],ownerProps:[`/** Catalog data for a model name inside the composer's existing controls. */
|
|
1053
1077
|
export interface ModelLabelOwner {
|
|
@@ -1059,7 +1083,7 @@ export interface ModelLabelOwner {
|
|
|
1059
1083
|
placement: 'trigger' | 'menu' | 'option'
|
|
1060
1084
|
/** Whether this provider/model pair is the current selection. */
|
|
1061
1085
|
selected: boolean
|
|
1062
|
-
}`],ownerPropsReferences:[`ModelCatalogModel`,`ModelProviderGroup`],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`
|
|
1086
|
+
}`],ownerPropsReferences:[`ModelCatalogModel`,`ModelProviderGroup`],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`,`useChat: UseChat`,`useConversation: UseConversation`,`useInput: SnapshotSelectorHook<InputState>`,`inputActions: InputActions`,`useSession: SessionSnapshotSelector`,`sessionId: SessionId`,`useProjection: UseProjection`,`useAccess: (action: RemoteEndpoint) => boolean`,`useTrajectory: UseTrajectory`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`an entry in 'conversation.input.model' (client-ui-model-selection), so it exists while that entry is mounted`,occupants:[],replaceRisk:`none`,example:`return {
|
|
1063
1087
|
inject: ['slots'],
|
|
1064
1088
|
apply(ctx) {
|
|
1065
1089
|
ctx.slots.inject('conversation.input.model.label', () => ctx.slots.register(
|
|
@@ -1067,7 +1091,22 @@ export interface ModelLabelOwner {
|
|
|
1067
1091
|
({ provider, model }) => React.createElement('span', { title: provider.name }, model.name),
|
|
1068
1092
|
))
|
|
1069
1093
|
},
|
|
1070
|
-
}`,source:`packages/client/ui-model-selection/src/client/slots.ts:
|
|
1094
|
+
}`,source:`packages/client/ui-model-selection/src/client/slots.ts:84`},{key:`conversation.input.model.options`,kind:`list`,scope:`session`,summary:`Session options appended after model and reasoning controls in the root menu.`,doc:"Session options appended after model and reasoning controls in the root menu.\nRender each interactive entry as a `button` with role `menuitem`, `menuitemradio`, or `switch`:\nArrow keys and Tab reach only those rows.",registerOptions:[{name:`id`,requirement:`required`,type:`string`,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.`},{name:`order`,requirement:`optional`,type:`number`,doc:`Position among the entries, ascending (default 0).`},{name:`label`,requirement:`optional`,type:`string | (() => string)`,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.`}],ownerProps:[`/** Selection state and feedback shared by menu option entries and detail panes. */
|
|
1095
|
+
export interface ModelMenuControls {
|
|
1096
|
+
/** Whether the composer refuses changes, including while a model selection is saving. */
|
|
1097
|
+
locked: boolean
|
|
1098
|
+
/** Close the menu and focus its trigger synchronously before opening another overlay. */
|
|
1099
|
+
dismiss: () => void
|
|
1100
|
+
/** Report a failed selection through the menu owner's persistent toast. */
|
|
1101
|
+
reportFailure: (message: string) => void
|
|
1102
|
+
}`,`/** Root-menu controls for opening plugin-owned settings panes. */
|
|
1103
|
+
export type ModelMenuOptions = ModelMenuControls & {
|
|
1104
|
+
/**
|
|
1105
|
+
* Open pane.key in conversation.input.model.pane with pane.title as its localized accessible name.
|
|
1106
|
+
* The root button's data-model-menu-pane must match pane.key for focus return.
|
|
1107
|
+
*/
|
|
1108
|
+
openPane: (pane: ModelMenuPaneRef) => void
|
|
1109
|
+
}`],ownerPropsReferences:[`ModelMenuPaneRef`],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`,`useChat: UseChat`,`useConversation: UseConversation`,`useInput: SnapshotSelectorHook<InputState>`,`inputActions: InputActions`,`useSession: SessionSnapshotSelector`,`sessionId: SessionId`,`useProjection: UseProjection`,`useAccess: (action: RemoteEndpoint) => boolean`,`useTrajectory: UseTrajectory`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`an entry in 'conversation.input.model' (client-ui-model-selection), so it exists while that entry is mounted`,occupants:[`client-ui-agent-team TeamModeToggle id 'agent-team'`],replaceRisk:`none`,example:`return {
|
|
1071
1110
|
inject: ['slots'],
|
|
1072
1111
|
apply(ctx) {
|
|
1073
1112
|
ctx.slots.inject('conversation.input.model.options', () => ctx.slots.register(
|
|
@@ -1075,8 +1114,26 @@ export interface ModelLabelOwner {
|
|
|
1075
1114
|
() => React.createElement('div', null, 'hello'),
|
|
1076
1115
|
))
|
|
1077
1116
|
},
|
|
1078
|
-
}`,source:`packages/client/ui-model-selection/src/client/slots.ts:
|
|
1079
|
-
|
|
1117
|
+
}`,source:`packages/client/ui-model-selection/src/client/slots.ts:54`},{key:`conversation.input.model.pane`,kind:`keyed`,scope:`session`,summary:`Plugin-owned content displayed as a model-menu detail pane.`,doc:`Plugin-owned content displayed as a model-menu detail pane.
|
|
1118
|
+
The pane places its own initial focus, for example with \`autoFocus\`; without one,
|
|
1119
|
+
focus stays on the menu surface, where Escape and Shift+Tab still return to the root menu.`,registerOptions:[{name:`key`,requirement:`required`,type:`string`,doc:`Your cell key: the entry renders where the owner dispatches this exact key. Registering an already-occupied key replaces that occupant.`}],ownerProps:[`/** Selection state and feedback shared by menu option entries and detail panes. */
|
|
1120
|
+
export interface ModelMenuControls {
|
|
1121
|
+
/** Whether the composer refuses changes, including while a model selection is saving. */
|
|
1122
|
+
locked: boolean
|
|
1123
|
+
/** Close the menu and focus its trigger synchronously before opening another overlay. */
|
|
1124
|
+
dismiss: () => void
|
|
1125
|
+
/** Report a failed selection through the menu owner's persistent toast. */
|
|
1126
|
+
reportFailure: (message: string) => void
|
|
1127
|
+
}`],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`,`useChat: UseChat`,`useConversation: UseConversation`,`useInput: SnapshotSelectorHook<InputState>`,`inputActions: InputActions`,`useSession: SessionSnapshotSelector`,`sessionId: SessionId`,`useProjection: UseProjection`,`useAccess: (action: RemoteEndpoint) => boolean`,`useTrajectory: UseTrajectory`],keyDomain:`open: any string the owner dispatches (no compile-time key set), already taken: agent-team`,hookContext:``,slotInject:``,declaredBy:`an entry in 'conversation.input.model' (client-ui-model-selection), so it exists while that entry is mounted`,occupants:[`client-ui-agent-team TeamModePane key 'agent-team'`],replaceRisk:`shadows-shipped-ui`,example:`return {
|
|
1128
|
+
inject: ['slots'],
|
|
1129
|
+
apply(ctx) {
|
|
1130
|
+
ctx.slots.inject('conversation.input.model.pane', () => ctx.slots.register(
|
|
1131
|
+
{ name: 'conversation.input.model.pane', key: '<one key the owner dispatches>' },
|
|
1132
|
+
() => React.createElement('div', null, 'hello'),
|
|
1133
|
+
))
|
|
1134
|
+
},
|
|
1135
|
+
}`,source:`packages/client/ui-model-selection/src/client/slots.ts:64`},{key:`conversation.input.overlay`,kind:`list`,scope:`session`,summary:`Floating entries rendered inside the resident composer card; fixed overlays must portal to the document body because the docked composer contains them.`,doc:`Floating entries rendered inside the resident composer card; fixed overlays must portal to
|
|
1136
|
+
the document body because the docked composer contains them.`,registerOptions:[{name:`id`,requirement:`required`,type:`string`,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.`},{name:`order`,requirement:`optional`,type:`number`,doc:`Position among the entries, ascending (default 0).`},{name:`label`,requirement:`optional`,type:`string | (() => string)`,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.`}],ownerProps:[],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`,`useChat: UseChat`,`useConversation: UseConversation`,`useInput: SnapshotSelectorHook<InputState>`,`inputActions: InputActions`,`useSession: SessionSnapshotSelector`,`sessionId: SessionId`,`useProjection: UseProjection`,`useAccess: (action: RemoteEndpoint) => boolean`,`useTrajectory: UseTrajectory`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`an entry in 'conversation.composer.bar' (client-ui-conversation), so it exists while that entry is mounted`,occupants:[`client-ui-commands PopupSelectView id 'command-popup'`,`client-ui-input-trigger MenuView id 'slash-menu'`,`client-ui-message-feedback FeedbackDialog id 'feedback-dialog'`],replaceRisk:`none`,example:`return {
|
|
1080
1137
|
inject: ['slots'],
|
|
1081
1138
|
apply(ctx) {
|
|
1082
1139
|
ctx.slots.inject('conversation.input.overlay', () => ctx.slots.register(
|
|
@@ -1089,7 +1146,7 @@ to the document body because the docked composer contains them.`,registerOptions
|
|
|
1089
1146
|
export interface InputControlOwnerProps {
|
|
1090
1147
|
/** Whether the composer currently refuses interaction. */
|
|
1091
1148
|
locked: boolean
|
|
1092
|
-
}`],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`
|
|
1149
|
+
}`],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`,`useChat: UseChat`,`useConversation: UseConversation`,`useInput: SnapshotSelectorHook<InputState>`,`inputActions: InputActions`,`useSession: SessionSnapshotSelector`,`sessionId: SessionId`,`useProjection: UseProjection`,`useAccess: (action: RemoteEndpoint) => boolean`,`useTrajectory: UseTrajectory`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`an entry in 'conversation.composer.bar' (client-ui-conversation), so it exists while that entry is mounted`,occupants:[`client-ui-permission-presets PermissionSelect`,`experimental-liveshare ViewerPermissionSeat`],replaceRisk:`shadows-shipped-ui`,example:`return {
|
|
1093
1150
|
inject: ['slots'],
|
|
1094
1151
|
apply(ctx) {
|
|
1095
1152
|
ctx.slots.inject('conversation.input.permission', () => ctx.slots.register(
|
|
@@ -1097,12 +1154,25 @@ export interface InputControlOwnerProps {
|
|
|
1097
1154
|
() => React.createElement('div', null, 'hello'),
|
|
1098
1155
|
))
|
|
1099
1156
|
},
|
|
1100
|
-
}`,source:`packages/client/ui-conversation/src/client/contract/slots.ts:
|
|
1157
|
+
}`,source:`packages/client/ui-conversation/src/client/contract/slots.ts:365`},{key:`conversation.input.placeholder`,kind:`chain`,scope:`session`,summary:`Select by Session id to show noninteractive inline guidance in the built-in empty editor.`,doc:`Select by Session id to show noninteractive inline guidance in the built-in empty editor.
|
|
1158
|
+
Its text names the textbox. When every selector declines, the editor shows its built-in prompt.`,registerOptions:[{name:`select`,requirement:`required`,type:`(owner) => unknown | null`,doc:"Pure routing selector. Entries are tried in ascending order; the first non-null result wins and arrives as the component's `matched` prop. All-null falls through to the owner's fallback."}],ownerProps:[`/** Owner data for the built-in editor's placeholder selectors. */
|
|
1159
|
+
export interface InputPlaceholderOwnerProps {
|
|
1160
|
+
/** Session displayed by this editor. */
|
|
1161
|
+
readonly sessionId: SessionId
|
|
1162
|
+
}`],ownerPropsReferences:[`SessionId`],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`,`useChat: UseChat`,`useConversation: UseConversation`,`useInput: SnapshotSelectorHook<InputState>`,`inputActions: InputActions`,`useSession: SessionSnapshotSelector`,`sessionId: SessionId`,`useProjection: UseProjection`,`useAccess: (action: RemoteEndpoint) => boolean`,`useTrajectory: UseTrajectory`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`an entry in 'conversation.composer.bar' (client-ui-conversation), so it exists while that entry is mounted`,occupants:[],replaceRisk:`none`,example:`return {
|
|
1163
|
+
inject: ['slots'],
|
|
1164
|
+
apply(ctx) {
|
|
1165
|
+
ctx.slots.inject('conversation.input.placeholder', () => ctx.slots.register(
|
|
1166
|
+
{ name: 'conversation.input.placeholder', select: owner => null },
|
|
1167
|
+
() => React.createElement('div', null, 'hello'),
|
|
1168
|
+
))
|
|
1169
|
+
},
|
|
1170
|
+
}`,source:`packages/client/ui-conversation/src/client/contract/slots.ts:341`},{key:`conversation.input.plan`,kind:`single`,scope:`session`,summary:`Plan control inside the composer tool row; fixed overlays must portal to the document body because the docked composer contains them.`,doc:`Plan control inside the composer tool row; fixed overlays must portal to the document body
|
|
1101
1171
|
because the docked composer contains them.`,registerOptions:[],ownerProps:[`/** Owner share of the named plan, permission, and model controls. */
|
|
1102
1172
|
export interface InputControlOwnerProps {
|
|
1103
1173
|
/** Whether the composer currently refuses interaction. */
|
|
1104
1174
|
locked: boolean
|
|
1105
|
-
}`],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`
|
|
1175
|
+
}`],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`,`useChat: UseChat`,`useConversation: UseConversation`,`useInput: SnapshotSelectorHook<InputState>`,`inputActions: InputActions`,`useSession: SessionSnapshotSelector`,`sessionId: SessionId`,`useProjection: UseProjection`,`useAccess: (action: RemoteEndpoint) => boolean`,`useTrajectory: UseTrajectory`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`an entry in 'conversation.composer.bar' (client-ui-conversation), so it exists while that entry is mounted`,occupants:[`client-ui-plan PlanChip`],replaceRisk:`shadows-shipped-ui`,example:`return {
|
|
1106
1176
|
inject: ['slots'],
|
|
1107
1177
|
apply(ctx) {
|
|
1108
1178
|
ctx.slots.inject('conversation.input.plan', () => ctx.slots.register(
|
|
@@ -1110,8 +1180,8 @@ export interface InputControlOwnerProps {
|
|
|
1110
1180
|
() => React.createElement('div', null, 'hello'),
|
|
1111
1181
|
))
|
|
1112
1182
|
},
|
|
1113
|
-
}`,source:`packages/client/ui-conversation/src/client/contract/slots.ts:
|
|
1114
|
-
document body because the docked composer contains them.`,registerOptions:[{name:`id`,requirement:`required`,type:`string`,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.`},{name:`order`,requirement:`optional`,type:`number`,doc:`Position among the entries, ascending (default 0).`},{name:`label`,requirement:`optional`,type:`string | (() => string)`,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.`}],ownerProps:[],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`
|
|
1183
|
+
}`,source:`packages/client/ui-conversation/src/client/contract/slots.ts:360`},{key:`conversation.input.right`,kind:`list`,scope:`session`,summary:`Compact controls before the composer submit action; fixed overlays must portal to the document body because the docked composer contains them.`,doc:`Compact controls before the composer submit action; fixed overlays must portal to the
|
|
1184
|
+
document body because the docked composer contains them.`,registerOptions:[{name:`id`,requirement:`required`,type:`string`,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.`},{name:`order`,requirement:`optional`,type:`number`,doc:`Position among the entries, ascending (default 0).`},{name:`label`,requirement:`optional`,type:`string | (() => string)`,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.`}],ownerProps:[],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`,`useChat: UseChat`,`useConversation: UseConversation`,`useInput: SnapshotSelectorHook<InputState>`,`inputActions: InputActions`,`useSession: SessionSnapshotSelector`,`sessionId: SessionId`,`useProjection: UseProjection`,`useAccess: (action: RemoteEndpoint) => boolean`,`useTrajectory: UseTrajectory`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`an entry in 'conversation.composer.bar' (client-ui-conversation), so it exists while that entry is mounted`,occupants:[],replaceRisk:`none`,example:`return {
|
|
1115
1185
|
inject: ['slots'],
|
|
1116
1186
|
apply(ctx) {
|
|
1117
1187
|
ctx.slots.inject('conversation.input.right', () => ctx.slots.register(
|
|
@@ -1139,7 +1209,7 @@ export interface PlanReview {
|
|
|
1139
1209
|
approve: QuestionOption
|
|
1140
1210
|
/** The option that declines it; absent when the asker offered no other option. */
|
|
1141
1211
|
decline?: QuestionOption
|
|
1142
|
-
}`],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`
|
|
1212
|
+
}`],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`,`useChat: UseChat`,`useConversation: UseConversation`,`useInput: SnapshotSelectorHook<InputState>`,`inputActions: InputActions`,`useSession: SessionSnapshotSelector`,`sessionId: SessionId`,`useProjection: UseProjection`,`useAccess: (action: RemoteEndpoint) => boolean`,`useTrajectory: UseTrajectory`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`an entry in 'conversation.composer' (client-ui-user-questions), so it exists while that entry is mounted`,occupants:[`client-ui-plan PlanReviewOpen`],replaceRisk:`none`,example:`return {
|
|
1143
1213
|
inject: ['slots'],
|
|
1144
1214
|
apply(ctx) {
|
|
1145
1215
|
ctx.slots.inject('conversation.plan-review.actions', () => ctx.slots.register(
|
|
@@ -1147,7 +1217,7 @@ export interface PlanReview {
|
|
|
1147
1217
|
() => React.createElement('div', null, 'hello'),
|
|
1148
1218
|
))
|
|
1149
1219
|
},
|
|
1150
|
-
}`,source:`packages/client/ui-user-questions/src/client/contract/slots.ts:21`},{key:`conversation.session`,kind:`single`,scope:`session`,summary:`Strict per-Session Conversation body.`,doc:`Strict per-Session Conversation body.`,registerOptions:[],ownerProps:[],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`
|
|
1220
|
+
}`,source:`packages/client/ui-user-questions/src/client/contract/slots.ts:21`},{key:`conversation.session`,kind:`single`,scope:`session`,summary:`Strict per-Session Conversation body.`,doc:`Strict per-Session Conversation body.`,registerOptions:[],ownerProps:[],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`,`useChat: UseChat`,`useConversation: UseConversation`,`useInput: SnapshotSelectorHook<InputState>`,`inputActions: InputActions`,`useSession: SessionSnapshotSelector`,`sessionId: SessionId`,`useProjection: UseProjection`,`useAccess: (action: RemoteEndpoint) => boolean`,`useTrajectory: UseTrajectory`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`factory 'conversation.content' (client-ui-conversation), so it exists while that definition is registered`,occupants:[`client-ui-conversation ConversationSession`],replaceRisk:`shadows-shipped-ui`,example:`return {
|
|
1151
1221
|
inject: ['slots'],
|
|
1152
1222
|
apply(ctx) {
|
|
1153
1223
|
ctx.slots.inject('conversation.session', () => ctx.slots.register(
|
|
@@ -1155,7 +1225,7 @@ export interface PlanReview {
|
|
|
1155
1225
|
() => React.createElement('div', null, 'hello'),
|
|
1156
1226
|
))
|
|
1157
1227
|
},
|
|
1158
|
-
}`,source:`packages/client/ui-conversation/src/client/contract/slots.ts:231`},{key:`conversation.session.header`,kind:`single`,scope:`session`,summary:`Strict per-Session title, actions, and View navigation.`,doc:`Strict per-Session title, actions, and View navigation.`,registerOptions:[],ownerProps:[],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`
|
|
1228
|
+
}`,source:`packages/client/ui-conversation/src/client/contract/slots.ts:231`},{key:`conversation.session.header`,kind:`single`,scope:`session`,summary:`Strict per-Session title, actions, and View navigation.`,doc:`Strict per-Session title, actions, and View navigation.`,registerOptions:[],ownerProps:[],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`,`useChat: UseChat`,`useConversation: UseConversation`,`useInput: SnapshotSelectorHook<InputState>`,`inputActions: InputActions`,`useSession: SessionSnapshotSelector`,`sessionId: SessionId`,`useProjection: UseProjection`,`useAccess: (action: RemoteEndpoint) => boolean`,`useTrajectory: UseTrajectory`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`an entry in 'conversation.header' (client-ui-conversation), so it exists while that entry is mounted`,occupants:[`client-ui-conversation ConversationSessionHeader`],replaceRisk:`shadows-shipped-ui`,example:`return {
|
|
1159
1229
|
inject: ['slots'],
|
|
1160
1230
|
apply(ctx) {
|
|
1161
1231
|
ctx.slots.inject('conversation.session.header', () => ctx.slots.register(
|
|
@@ -1167,7 +1237,7 @@ export interface PlanReview {
|
|
|
1167
1237
|
export interface ConversationHeaderActionOwnerProps {
|
|
1168
1238
|
/** Marker field: entries receive no owner-specific values. */
|
|
1169
1239
|
children?: never
|
|
1170
|
-
}`],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`
|
|
1240
|
+
}`],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`,`useChat: UseChat`,`useConversation: UseConversation`,`useInput: SnapshotSelectorHook<InputState>`,`inputActions: InputActions`,`useSession: SessionSnapshotSelector`,`sessionId: SessionId`,`useProjection: UseProjection`,`useAccess: (action: RemoteEndpoint) => boolean`,`useTrajectory: UseTrajectory`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`an entry in 'conversation.session.header' (client-ui-conversation), so it exists while that entry is mounted`,occupants:[`client-ui-agent-preset AgentPresetLabel id 'agent-preset'`,`client-ui-sidebar-terminal AgentTerminalOpener id 'agent-terminals'`],replaceRisk:`none`,example:`return {
|
|
1171
1241
|
inject: ['slots'],
|
|
1172
1242
|
apply(ctx) {
|
|
1173
1243
|
ctx.slots.inject('conversation.session.header.actions', () => ctx.slots.register(
|
|
@@ -1175,22 +1245,14 @@ export interface ConversationHeaderActionOwnerProps {
|
|
|
1175
1245
|
() => React.createElement('div', null, 'hello'),
|
|
1176
1246
|
))
|
|
1177
1247
|
},
|
|
1178
|
-
}`,source:`packages/client/ui-conversation/src/client/contract/slots.ts:254`},{key:`conversation.session.header.
|
|
1179
|
-
inject: ['slots'],
|
|
1180
|
-
apply(ctx) {
|
|
1181
|
-
ctx.slots.inject('conversation.session.header.actions.subagent.footer', () => ctx.slots.register(
|
|
1182
|
-
{ name: 'conversation.session.header.actions.subagent.footer', id: 'my-entry', order: 100, label: 'My entry' },
|
|
1183
|
-
() => React.createElement('div', null, 'hello'),
|
|
1184
|
-
))
|
|
1185
|
-
},
|
|
1186
|
-
}`,source:`packages/client/ui-subagent/src/client/slots.ts:6`},{key:`conversation.session.header.corner`,kind:`single`,scope:`session`,summary:`The header's far-right corner, past the utilities' edge and into the header's own padding, for one control.`,doc:`The header's far-right corner, past the utilities' edge and into the
|
|
1248
|
+
}`,source:`packages/client/ui-conversation/src/client/contract/slots.ts:254`},{key:`conversation.session.header.corner`,kind:`single`,scope:`session`,summary:`The header's far-right corner, past the utilities' edge and into the header's own padding, for one control.`,doc:`The header's far-right corner, past the utilities' edge and into the
|
|
1187
1249
|
header's own padding, for one control. The corner is laid out only while
|
|
1188
1250
|
its occupant renders something; an occupant with nothing to show renders
|
|
1189
1251
|
nothing, and the utilities take the header's edge.`,registerOptions:[],ownerProps:[`/** The header corner's occupant derives its state from standard Session props. */
|
|
1190
1252
|
export interface ConversationHeaderCornerOwnerProps {
|
|
1191
1253
|
/** Marker field: the occupant receives no owner-specific values. */
|
|
1192
1254
|
children?: never
|
|
1193
|
-
}`],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`
|
|
1255
|
+
}`],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`,`useChat: UseChat`,`useConversation: UseConversation`,`useInput: SnapshotSelectorHook<InputState>`,`inputActions: InputActions`,`useSession: SessionSnapshotSelector`,`sessionId: SessionId`,`useProjection: UseProjection`,`useAccess: (action: RemoteEndpoint) => boolean`,`useTrajectory: UseTrajectory`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`an entry in 'conversation.session.header' (client-ui-conversation), so it exists while that entry is mounted`,occupants:[`client-ui-sidebar-right ExpandButton`],replaceRisk:`shadows-shipped-ui`,example:`return {
|
|
1194
1256
|
inject: ['slots'],
|
|
1195
1257
|
apply(ctx) {
|
|
1196
1258
|
ctx.slots.inject('conversation.session.header.corner', () => ctx.slots.register(
|
|
@@ -1206,7 +1268,7 @@ export interface ConversationHeaderLineageOwnerProps {
|
|
|
1206
1268
|
displayTitle: string
|
|
1207
1269
|
/** Navigate to an ancestor title when present. */
|
|
1208
1270
|
openTitle?: () => void
|
|
1209
|
-
}`],ownerPropsReferences:[`SessionId`],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`
|
|
1271
|
+
}`],ownerPropsReferences:[`SessionId`],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`,`useChat: UseChat`,`useConversation: UseConversation`,`useInput: SnapshotSelectorHook<InputState>`,`inputActions: InputActions`,`useSession: SessionSnapshotSelector`,`sessionId: SessionId`,`useProjection: UseProjection`,`useAccess: (action: RemoteEndpoint) => boolean`,`useTrajectory: UseTrajectory`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`an entry in 'conversation.session.header' (client-ui-conversation), so it exists while that entry is mounted`,occupants:[`client-ui-subagent SubagentHeaderLineage`],replaceRisk:`shadows-shipped-ui`,example:`return {
|
|
1210
1272
|
inject: ['slots'],
|
|
1211
1273
|
apply(ctx) {
|
|
1212
1274
|
ctx.slots.inject('conversation.session.header.lineage', () => ctx.slots.register(
|
|
@@ -1218,7 +1280,7 @@ export interface ConversationHeaderLineageOwnerProps {
|
|
|
1218
1280
|
export interface ConversationHeaderActionOwnerProps {
|
|
1219
1281
|
/** Marker field: entries receive no owner-specific values. */
|
|
1220
1282
|
children?: never
|
|
1221
|
-
}`],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`
|
|
1283
|
+
}`],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`,`useChat: UseChat`,`useConversation: UseConversation`,`useInput: SnapshotSelectorHook<InputState>`,`inputActions: InputActions`,`useSession: SessionSnapshotSelector`,`sessionId: SessionId`,`useProjection: UseProjection`,`useAccess: (action: RemoteEndpoint) => boolean`,`useTrajectory: UseTrajectory`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`an entry in 'conversation.session.header' (client-ui-conversation), so it exists while that entry is mounted`,occupants:[`client-ui-schedule ScheduleCatalogAction id 'schedule-catalog'`,`client-ui-session-panel SessionPanelToggle id 'session-panel'`,`experimental-liveshare LiveshareShareAction id 'liveshare-share'`],replaceRisk:`none`,example:`return {
|
|
1222
1284
|
inject: ['slots'],
|
|
1223
1285
|
apply(ctx) {
|
|
1224
1286
|
ctx.slots.inject('conversation.session.header.utilities', () => ctx.slots.register(
|
|
@@ -1243,7 +1305,7 @@ export interface ConversationViewActionsOwnerProps {
|
|
|
1243
1305
|
readonly onPinnedChange: (id: string, pinned: boolean) => void
|
|
1244
1306
|
/** Close the More menu. */
|
|
1245
1307
|
readonly onDismiss: () => void
|
|
1246
|
-
}`],ownerPropsReferences:[`ConversationViewActionEntry`],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`
|
|
1308
|
+
}`],ownerPropsReferences:[`ConversationViewActionEntry`],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`an entry in 'conversation.session.header' (client-ui-conversation), so it exists while that entry is mounted`,occupants:[`client-ui-entry-customization EntryMenuContent id 'entry-customization'`],replaceRisk:`none`,example:`return {
|
|
1247
1309
|
inject: ['slots'],
|
|
1248
1310
|
apply(ctx) {
|
|
1249
1311
|
ctx.slots.inject('conversation.session.header.views.actions', () => ctx.slots.register(
|
|
@@ -1251,7 +1313,58 @@ export interface ConversationViewActionsOwnerProps {
|
|
|
1251
1313
|
() => React.createElement('div', null, 'hello'),
|
|
1252
1314
|
))
|
|
1253
1315
|
},
|
|
1254
|
-
}`,source:`packages/client/ui-conversation/src/client/contract/slots.ts:283`},{key:`conversation.
|
|
1316
|
+
}`,source:`packages/client/ui-conversation/src/client/contract/slots.ts:283`},{key:`conversation.session.panel.environment.row`,kind:`list`,scope:`session`,summary:"Rows of the built-in Environment section in ascending `order`; they receive the section's owner values.",doc:"Rows of the built-in Environment section in ascending `order`; they receive the section's owner values.",registerOptions:[{name:`id`,requirement:`required`,type:`string`,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.`},{name:`order`,requirement:`optional`,type:`number`,doc:`Position among the entries, ascending (default 0).`},{name:`label`,requirement:`optional`,type:`string | (() => string)`,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.`}],ownerProps:[`/** Values every section receives from the panel. */
|
|
1317
|
+
export interface SessionPanelSectionOwnerProps {
|
|
1318
|
+
/** Current presentation; sections may lower their density in the overlay. */
|
|
1319
|
+
readonly presentation: SessionPanelPresentation
|
|
1320
|
+
/** Close the overlay, for example after a row opened another surface; no effect while docked. */
|
|
1321
|
+
readonly dismissOverlay: () => void
|
|
1322
|
+
}`],ownerPropsReferences:[`SessionPanelPresentation`],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`,`useChat: UseChat`,`useConversation: UseConversation`,`useInput: SnapshotSelectorHook<InputState>`,`inputActions: InputActions`,`useSession: SessionSnapshotSelector`,`sessionId: SessionId`,`useProjection: UseProjection`,`useAccess: (action: RemoteEndpoint) => boolean`,`useTrajectory: UseTrajectory`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`an entry in 'conversation.session.panel.section' (client-ui-session-panel), so it exists while that entry is mounted`,occupants:[`client-ui-session-panel ProjectRow id 'project'`,`experimental-client-ui-forge CheckoutRow id 'forge.checkout'`,`experimental-client-ui-forge LocalChangesRow id 'forge.local'`,`experimental-client-ui-forge ConnectionRow id 'forge.connection'`],replaceRisk:`none`,example:`return {
|
|
1323
|
+
inject: ['slots'],
|
|
1324
|
+
apply(ctx) {
|
|
1325
|
+
ctx.slots.inject('conversation.session.panel.environment.row', () => ctx.slots.register(
|
|
1326
|
+
{ name: 'conversation.session.panel.environment.row', id: 'my-entry', order: 100, label: 'My entry' },
|
|
1327
|
+
() => React.createElement('div', null, 'hello'),
|
|
1328
|
+
))
|
|
1329
|
+
},
|
|
1330
|
+
}`,source:`packages/client/ui-session-panel/src/client/slots.ts:51`},{key:`conversation.session.panel.indicator`,kind:`list`,scope:`session`,summary:`Marks over the panel toggle, such as an attention dot.`,doc:"Marks over the panel toggle, such as an attention dot. Each occupant is\none element: the toggle sizes it to a 6px dot at the glyph's corner, and\nthe occupant sets its `background` and includes text that names it for\nassistive technology, which becomes part of the toggle's name. Occupants\noverlap, and a higher `order` paints above a lower one. An occupant that\nonly repeats what the panel shows renders nothing while `panelShown`.",registerOptions:[{name:`id`,requirement:`required`,type:`string`,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.`},{name:`order`,requirement:`optional`,type:`number`,doc:`Position among the entries, ascending (default 0).`},{name:`label`,requirement:`optional`,type:`string | (() => string)`,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.`}],ownerProps:[`/** Values every toggle indicator receives from the toggle. */
|
|
1331
|
+
export interface SessionPanelIndicatorOwnerProps {
|
|
1332
|
+
/** Whether the panel shows, docked or as an overlay. */
|
|
1333
|
+
readonly panelShown: boolean
|
|
1334
|
+
}`],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`,`useChat: UseChat`,`useConversation: UseConversation`,`useInput: SnapshotSelectorHook<InputState>`,`inputActions: InputActions`,`useSession: SessionSnapshotSelector`,`sessionId: SessionId`,`useProjection: UseProjection`,`useAccess: (action: RemoteEndpoint) => boolean`,`useTrajectory: UseTrajectory`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`an entry in 'conversation.session.header.utilities' (client-ui-session-panel), so it exists while that entry is mounted`,occupants:[`client-ui-jobs JobsRunningIndicator id 'background-jobs.running'`,`client-ui-subagent SubagentsRunningIndicator id 'subagents.running'`,`experimental-client-ui-forge AttentionIndicator id 'forge.attention'`],replaceRisk:`none`,example:`return {
|
|
1335
|
+
inject: ['slots'],
|
|
1336
|
+
apply(ctx) {
|
|
1337
|
+
ctx.slots.inject('conversation.session.panel.indicator', () => ctx.slots.register(
|
|
1338
|
+
{ name: 'conversation.session.panel.indicator', id: 'my-entry', order: 100, label: 'My entry' },
|
|
1339
|
+
() => React.createElement('div', null, 'hello'),
|
|
1340
|
+
))
|
|
1341
|
+
},
|
|
1342
|
+
}`,source:`packages/client/ui-session-panel/src/client/slots.ts:44`},{key:`conversation.session.panel.section`,kind:`list`,scope:`session`,summary:`Sections of the Session panel.`,doc:"Sections of the Session panel. `id` addresses the section, `order` sorts\nthe sections ascending until the reader drags them into another order,\nand the required `label` is the section title, which the panel draws.\nThe built-in Environment section always shows first. A section with\nnothing to show renders nothing, and the panel hides its title with it.",registerOptions:[{name:`id`,requirement:`required`,type:`string`,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.`},{name:`order`,requirement:`optional`,type:`number`,doc:`Position among the entries, ascending (default 0).`},{name:`label`,requirement:`optional`,type:`string | (() => string)`,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.`}],ownerProps:[`/** Values every section receives from the panel. */
|
|
1343
|
+
export interface SessionPanelSectionOwnerProps {
|
|
1344
|
+
/** Current presentation; sections may lower their density in the overlay. */
|
|
1345
|
+
readonly presentation: SessionPanelPresentation
|
|
1346
|
+
/** Close the overlay, for example after a row opened another surface; no effect while docked. */
|
|
1347
|
+
readonly dismissOverlay: () => void
|
|
1348
|
+
}`],ownerPropsReferences:[`SessionPanelPresentation`],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`,`useChat: UseChat`,`useConversation: UseConversation`,`useInput: SnapshotSelectorHook<InputState>`,`inputActions: InputActions`,`useSession: SessionSnapshotSelector`,`sessionId: SessionId`,`useProjection: UseProjection`,`useAccess: (action: RemoteEndpoint) => boolean`,`useTrajectory: UseTrajectory`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`an entry in 'conversation.chat.aside' (client-ui-session-panel), so it exists while that entry is mounted`,occupants:[`client-ui-agent-team TeamBoard id 'shared-tasks'`,`client-ui-jobs JobsSection id 'background-jobs'`,`client-ui-session-panel EnvironmentSection`,`client-ui-subagent SubagentsSection id 'subagents'`,`experimental-client-ui-forge ChangeRequestsSection id 'change-requests'`],replaceRisk:`none`,example:`return {
|
|
1349
|
+
inject: ['slots'],
|
|
1350
|
+
apply(ctx) {
|
|
1351
|
+
ctx.slots.inject('conversation.session.panel.section', () => ctx.slots.register(
|
|
1352
|
+
{ name: 'conversation.session.panel.section', id: 'my-entry', order: 100, label: 'My entry' },
|
|
1353
|
+
() => React.createElement('div', null, 'hello'),
|
|
1354
|
+
))
|
|
1355
|
+
},
|
|
1356
|
+
}`,source:`packages/client/ui-session-panel/src/client/slots.ts:24`},{key:`conversation.session.panel.section.actions`,kind:`keyed`,scope:`session`,summary:"Trailing content of one section title, such as a count, keyed by the section's `id`.",doc:`Trailing content of one section title, such as a count, keyed by the
|
|
1357
|
+
section's \`id\`. In every section but Environment the drag handle shows
|
|
1358
|
+
in its place while the title row is hovered, so it holds content to
|
|
1359
|
+
read, not a control to press.`,registerOptions:[{name:`key`,requirement:`required`,type:`string`,doc:`Your cell key: the entry renders where the owner dispatches this exact key. Registering an already-occupied key replaces that occupant.`}],ownerProps:[],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`,`useChat: UseChat`,`useConversation: UseConversation`,`useInput: SnapshotSelectorHook<InputState>`,`inputActions: InputActions`,`useSession: SessionSnapshotSelector`,`sessionId: SessionId`,`useProjection: UseProjection`,`useAccess: (action: RemoteEndpoint) => boolean`,`useTrajectory: UseTrajectory`],keyDomain:`open: any string the owner dispatches (no compile-time key set), already taken: change-requests, shared-tasks, subagents`,hookContext:``,slotInject:``,declaredBy:`an entry in 'conversation.chat.aside' (client-ui-session-panel), so it exists while that entry is mounted`,occupants:[`client-ui-agent-team TeamProgress key 'shared-tasks'`,`client-ui-subagent SubagentsProgress key 'subagents'`,`experimental-client-ui-forge ChangeRequestsActions key 'change-requests'`],replaceRisk:`shadows-shipped-ui`,example:`return {
|
|
1360
|
+
inject: ['slots'],
|
|
1361
|
+
apply(ctx) {
|
|
1362
|
+
ctx.slots.inject('conversation.session.panel.section.actions', () => ctx.slots.register(
|
|
1363
|
+
{ name: 'conversation.session.panel.section.actions', key: '<one key the owner dispatches>' },
|
|
1364
|
+
() => React.createElement('div', null, 'hello'),
|
|
1365
|
+
))
|
|
1366
|
+
},
|
|
1367
|
+
}`,source:`packages/client/ui-session-panel/src/client/slots.ts:35`},{key:`conversation.trajectory.images`,kind:`single`,scope:`session`,summary:`Renderer for one group of durable record images in the Trajectory ledger.`,doc:`Renderer for one group of durable record images in the Trajectory
|
|
1255
1368
|
ledger. The owner supplies image references, an authorized loader, and
|
|
1256
1369
|
alignment. A registration replaces the shipped gallery; without one,
|
|
1257
1370
|
images are omitted.`,registerOptions:[],ownerProps:[`/** Message image group handed to the optional attachment presentation plugin. */
|
|
@@ -1266,7 +1379,7 @@ export interface MessageImagesOwnerProps {
|
|
|
1266
1379
|
compact?: boolean
|
|
1267
1380
|
/** Fixed, uncropped thumbnail for an attachment list row. */
|
|
1268
1381
|
thumbnail?: boolean
|
|
1269
|
-
}`],ownerPropsReferences:[`Message`,`MessageImageLoader`,`MessageImageSource`],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`
|
|
1382
|
+
}`],ownerPropsReferences:[`Message`,`MessageImageLoader`,`MessageImageSource`],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`,`useChat: UseChat`,`useConversation: UseConversation`,`useInput: SnapshotSelectorHook<InputState>`,`inputActions: InputActions`,`useSession: SessionSnapshotSelector`,`sessionId: SessionId`,`useProjection: UseProjection`,`useAccess: (action: RemoteEndpoint) => boolean`,`useTrajectory: UseTrajectory`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`an entry in 'conversation.view' (client-ui-trajectory), so it exists while that entry is mounted`,occupants:[`client-ui-attachment MessageImages`],replaceRisk:`shadows-shipped-ui`,example:`return {
|
|
1270
1383
|
inject: ['slots'],
|
|
1271
1384
|
apply(ctx) {
|
|
1272
1385
|
ctx.slots.inject('conversation.trajectory.images', () => ctx.slots.register(
|
|
@@ -1278,7 +1391,7 @@ export interface MessageImagesOwnerProps {
|
|
|
1278
1391
|
export interface UserTextNodeOwnerProps {
|
|
1279
1392
|
readonly raw: string
|
|
1280
1393
|
readonly interactive: boolean
|
|
1281
|
-
}`],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`
|
|
1394
|
+
}`],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`,`useChat: UseChat`,`useConversation: UseConversation`,`useInput: SnapshotSelectorHook<InputState>`,`inputActions: InputActions`,`useSession: SessionSnapshotSelector`,`sessionId: SessionId`,`useProjection: UseProjection`,`useAccess: (action: RemoteEndpoint) => boolean`,`useTrajectory: UseTrajectory`],keyDomain:`fixed by the owner's key table { [Id in UserTextId]: { node: UserTextNode<Id> } }, already taken: command, file, folder, quote, secret, session, skill, text`,hookContext:``,slotInject:``,declaredBy:`factory 'conversation.user.text' (client-ui-conversation), so it exists while that definition is registered`,occupants:[`client-ui-conversation PlainUserText key 'text'`,`client-ui-conversation SessionReference key 'session'`,`client-ui-goal GoalCommandReference key 'command'`,`client-ui-reference FileReference key 'file'`,`client-ui-reference FolderReference key 'folder'`,`client-ui-secret-mask SecretText key 'secret'`,`client-ui-skill SkillReference key 'skill'`,`message-quotes QuotedUserText key 'quote'`],replaceRisk:`shadows-shipped-ui`,example:`return {
|
|
1282
1395
|
inject: ['slots'],
|
|
1283
1396
|
apply(ctx) {
|
|
1284
1397
|
ctx.slots.inject('conversation.user.text.node', () => ctx.slots.register(
|
|
@@ -1296,7 +1409,7 @@ export interface ConvViewOwnerProps {
|
|
|
1296
1409
|
openView: (view: string, focus: string) => void
|
|
1297
1410
|
/** Acknowledge the current one-shot focus request. */
|
|
1298
1411
|
completeViewRequest: () => void
|
|
1299
|
-
}`],ownerPropsReferences:[`ConversationViewRequest`],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`
|
|
1412
|
+
}`],ownerPropsReferences:[`ConversationViewRequest`],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`,`useChat: UseChat`,`useConversation: UseConversation`,`useInput: SnapshotSelectorHook<InputState>`,`inputActions: InputActions`,`useSession: SessionSnapshotSelector`,`sessionId: SessionId`,`useProjection: UseProjection`,`useAccess: (action: RemoteEndpoint) => boolean`,`useTrajectory: UseTrajectory`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`an entry in 'conversation.session' (client-ui-conversation), so it exists while that entry is mounted`,occupants:[`client-ui-chat ChatView id 'chat'`,`client-ui-trajectory TrajectoryView id 'trajectory'`,`experimental-client-ui-stats StatsView id 'stats'`],replaceRisk:`none`,example:`return {
|
|
1300
1413
|
inject: ['slots'],
|
|
1301
1414
|
apply(ctx) {
|
|
1302
1415
|
ctx.slots.inject('conversation.view', () => ctx.slots.register(
|
|
@@ -1316,7 +1429,7 @@ export type PresentedOpenOutcome =
|
|
|
1316
1429
|
| { readonly kind: 'opened' }
|
|
1317
1430
|
| { readonly kind: 'revealed' }
|
|
1318
1431
|
| { readonly kind: 'failed'; readonly failure: PresentedOpenFailure }
|
|
1319
|
-
| { readonly kind: 'skipped' }`],ownerPropsReferences:[`PresentedOpenFailure`],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`
|
|
1432
|
+
| { readonly kind: 'skipped' }`],ownerPropsReferences:[`PresentedOpenFailure`],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`,`useChat: UseChat`,`useConversation: UseConversation`,`useInput: SnapshotSelectorHook<InputState>`,`inputActions: InputActions`,`useSession: SessionSnapshotSelector`,`sessionId: SessionId`,`useProjection: UseProjection`,`useAccess: (action: RemoteEndpoint) => boolean`,`useTrajectory: UseTrajectory`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`an entry in 'conversation.chat.turnTail' (client-ui-deliverables), so it exists while that entry is mounted`,occupants:[`client-ui-open-in-app FileRouteAction id 'open-in-app'`],replaceRisk:`none`,example:`return {
|
|
1320
1433
|
inject: ['slots'],
|
|
1321
1434
|
apply(ctx) {
|
|
1322
1435
|
ctx.slots.inject('deliverables.file.actions', () => ctx.slots.register(
|
|
@@ -1325,7 +1438,7 @@ export type PresentedOpenOutcome =
|
|
|
1325
1438
|
))
|
|
1326
1439
|
},
|
|
1327
1440
|
}`,source:`packages/client/ui-deliverables/src/client/file-actions.ts:8`},{key:`deliverables.review.file.actions`,kind:`list`,scope:`session`,summary:`The same file actions owned by a changed-file review tab.`,doc:`The same file actions owned by a changed-file review tab.`,registerOptions:[{name:`id`,requirement:`required`,type:`string`,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.`},{name:`order`,requirement:`optional`,type:`number`,doc:`Position among the entries, ascending (default 0).`},{name:`label`,requirement:`optional`,type:`string | (() => string)`,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.`}],ownerProps:[`/** Slot contract table. Owners extend via declaration merging; entries are {@link SlotEntryDef}. */
|
|
1328
|
-
export interface SlotMap {}`],ownerPropsReferences:[`SlotEntryDef`],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`
|
|
1441
|
+
export interface SlotMap {}`],ownerPropsReferences:[`SlotEntryDef`],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`,`useChat: UseChat`,`useConversation: UseConversation`,`useInput: SnapshotSelectorHook<InputState>`,`inputActions: InputActions`,`useSession: SessionSnapshotSelector`,`sessionId: SessionId`,`useProjection: UseProjection`,`useAccess: (action: RemoteEndpoint) => boolean`,`useTrajectory: UseTrajectory`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`an entry in 'sidebar.right.pane.tab' (client-ui-deliverables), so it exists while that entry is mounted`,occupants:[`client-ui-open-in-app FileRouteAction id 'open-in-app'`],replaceRisk:`none`,example:`return {
|
|
1329
1442
|
inject: ['slots'],
|
|
1330
1443
|
apply(ctx) {
|
|
1331
1444
|
ctx.slots.inject('deliverables.review.file.actions', () => ctx.slots.register(
|
|
@@ -1333,7 +1446,111 @@ export interface SlotMap {}`],ownerPropsReferences:[`SlotEntryDef`],standardProp
|
|
|
1333
1446
|
() => React.createElement('div', null, 'hello'),
|
|
1334
1447
|
))
|
|
1335
1448
|
},
|
|
1336
|
-
}`,source:`packages/client/ui-deliverables/src/client/file-actions.ts:21`},{key:`
|
|
1449
|
+
}`,source:`packages/client/ui-deliverables/src/client/file-actions.ts:21`},{key:`forge.change-request.card.actions`,kind:`list`,scope:`session`,summary:`Icon buttons a plugin adds to a change request card's head, before the card's actions menu.`,doc:`Icon buttons a plugin adds to a change request card's head, before the card's actions menu.`,registerOptions:[{name:`id`,requirement:`required`,type:`string`,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.`},{name:`order`,requirement:`optional`,type:`number`,doc:`Position among the entries, ascending (default 0).`},{name:`label`,requirement:`optional`,type:`string | (() => string)`,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.`}],ownerProps:[`/** Owner props of \`forge.change-request.card.actions\`. */
|
|
1450
|
+
export interface ForgeChangeRequestCardActionsProps {
|
|
1451
|
+
/** Binding URL of the change request. */
|
|
1452
|
+
readonly url: string
|
|
1453
|
+
/** Parsed reference, or null when no provider serves the URL. */
|
|
1454
|
+
readonly ref: ChangeRequestRef | null
|
|
1455
|
+
/** Head commit of the latest status, or null before one. */
|
|
1456
|
+
readonly headSha: string | null
|
|
1457
|
+
/** Lifecycle state of the latest status, or null before one. */
|
|
1458
|
+
readonly state: ChangeRequestState | null
|
|
1459
|
+
}`],ownerPropsReferences:[`ChangeRequestRef`,`ChangeRequestState`],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`,`useChat: UseChat`,`useConversation: UseConversation`,`useInput: SnapshotSelectorHook<InputState>`,`inputActions: InputActions`,`useSession: SessionSnapshotSelector`,`sessionId: SessionId`,`useProjection: UseProjection`,`useAccess: (action: RemoteEndpoint) => boolean`,`useTrajectory: UseTrajectory`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`an entry in 'conversation.session.panel.section' (experimental-client-ui-forge), so it exists while that entry is mounted`,occupants:[],replaceRisk:`none`,example:`return {
|
|
1460
|
+
inject: ['slots'],
|
|
1461
|
+
apply(ctx) {
|
|
1462
|
+
ctx.slots.inject('forge.change-request.card.actions', () => ctx.slots.register(
|
|
1463
|
+
{ name: 'forge.change-request.card.actions', id: 'my-entry', order: 100, label: 'My entry' },
|
|
1464
|
+
() => React.createElement('div', null, 'hello'),
|
|
1465
|
+
))
|
|
1466
|
+
},
|
|
1467
|
+
}`,source:`packages/experimental/client-ui-forge/src/client/slots.ts:90`},{key:`forge.changes.file.menu`,kind:`list`,scope:`session`,summary:`Rows a plugin adds to a file's menu, below the built-in rows.`,doc:`Rows a plugin adds to a file's menu, below the built-in rows.`,registerOptions:[{name:`id`,requirement:`required`,type:`string`,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.`},{name:`order`,requirement:`optional`,type:`number`,doc:`Position among the entries, ascending (default 0).`},{name:`label`,requirement:`optional`,type:`string | (() => string)`,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.`}],ownerProps:[`/** Owner props of \`forge.changes.file.menu\`. */
|
|
1468
|
+
export interface ForgeChangesFileMenuProps {
|
|
1469
|
+
/** The view the file belongs to. */
|
|
1470
|
+
readonly target: ChangesTarget
|
|
1471
|
+
/** The file whose menu opened. */
|
|
1472
|
+
readonly file: ForgeLensFile
|
|
1473
|
+
/** Close the menu after a row acted. */
|
|
1474
|
+
readonly dismiss: () => void
|
|
1475
|
+
}`],ownerPropsReferences:[`ChangesTarget`,`ForgeLensFile`],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`,`useChat: UseChat`,`useConversation: UseConversation`,`useInput: SnapshotSelectorHook<InputState>`,`inputActions: InputActions`,`useSession: SessionSnapshotSelector`,`sessionId: SessionId`,`useProjection: UseProjection`,`useAccess: (action: RemoteEndpoint) => boolean`,`useTrajectory: UseTrajectory`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`an entry in 'sidebar.right.pane.tab' (experimental-client-ui-forge), so it exists while that entry is mounted`,occupants:[],replaceRisk:`none`,example:`return {
|
|
1476
|
+
inject: ['slots'],
|
|
1477
|
+
apply(ctx) {
|
|
1478
|
+
ctx.slots.inject('forge.changes.file.menu', () => ctx.slots.register(
|
|
1479
|
+
{ name: 'forge.changes.file.menu', id: 'my-entry', order: 100, label: 'My entry' },
|
|
1480
|
+
() => React.createElement('div', null, 'hello'),
|
|
1481
|
+
))
|
|
1482
|
+
},
|
|
1483
|
+
}`,source:`packages/experimental/client-ui-forge/src/client/slots.ts:84`},{key:`forge.changes.toolbar`,kind:`list`,scope:`session`,summary:`Tools a plugin adds to the changes toolbar, after its flexible space and before the thread list toggle.`,doc:`Tools a plugin adds to the changes toolbar, after its flexible space and before the thread list toggle.`,registerOptions:[{name:`id`,requirement:`required`,type:`string`,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.`},{name:`order`,requirement:`optional`,type:`number`,doc:`Position among the entries, ascending (default 0).`},{name:`label`,requirement:`optional`,type:`string | (() => string)`,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.`}],ownerProps:[`/** Owner props of \`forge.changes.toolbar\`. */
|
|
1484
|
+
export interface ForgeChangesToolbarProps {
|
|
1485
|
+
/** The view the toolbar belongs to. */
|
|
1486
|
+
readonly target: ChangesTarget
|
|
1487
|
+
/** \`bar\`: a 28px tool in the toolbar row; \`menu\`: \`MenuItemButton\` rows of the More menu a narrow toolbar folds entries into. */
|
|
1488
|
+
readonly form: 'bar' | 'menu'
|
|
1489
|
+
/** Close the More menu after a row acted; a no-op in the toolbar row. */
|
|
1490
|
+
readonly close: () => void
|
|
1491
|
+
}`],ownerPropsReferences:[`ChangesTarget`],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`,`useChat: UseChat`,`useConversation: UseConversation`,`useInput: SnapshotSelectorHook<InputState>`,`inputActions: InputActions`,`useSession: SessionSnapshotSelector`,`sessionId: SessionId`,`useProjection: UseProjection`,`useAccess: (action: RemoteEndpoint) => boolean`,`useTrajectory: UseTrajectory`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`an entry in 'sidebar.right.pane.tab' (experimental-client-ui-forge), so it exists while that entry is mounted`,occupants:[],replaceRisk:`none`,example:`return {
|
|
1492
|
+
inject: ['slots'],
|
|
1493
|
+
apply(ctx) {
|
|
1494
|
+
ctx.slots.inject('forge.changes.toolbar', () => ctx.slots.register(
|
|
1495
|
+
{ name: 'forge.changes.toolbar', id: 'my-entry', order: 100, label: 'My entry' },
|
|
1496
|
+
() => React.createElement('div', null, 'hello'),
|
|
1497
|
+
))
|
|
1498
|
+
},
|
|
1499
|
+
}`,source:`packages/experimental/client-ui-forge/src/client/slots.ts:82`},{key:`forge.diff.comment.actions`,kind:`list`,scope:`session`,summary:`Buttons a plugin adds to the line comment form, between Add to input and the code host actions.`,doc:`Buttons a plugin adds to the line comment form, between Add to input and the code host actions.`,registerOptions:[{name:`id`,requirement:`required`,type:`string`,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.`},{name:`order`,requirement:`optional`,type:`number`,doc:`Position among the entries, ascending (default 0).`},{name:`label`,requirement:`optional`,type:`string | (() => string)`,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.`}],ownerProps:[`/** Owner props of \`forge.diff.comment.actions\`. */
|
|
1500
|
+
export interface ForgeCommentActionsProps {
|
|
1501
|
+
/** The view the comment form belongs to. */
|
|
1502
|
+
readonly target: ChangesTarget
|
|
1503
|
+
/** The lines the comment is on. */
|
|
1504
|
+
readonly selection: { readonly path: string; readonly side: 'L' | 'R'; readonly startLine: number; readonly endLine: number }
|
|
1505
|
+
/** Whether the comment has no text, so actions stay disabled. */
|
|
1506
|
+
readonly empty: boolean
|
|
1507
|
+
/** Whether a send runs, so actions stay disabled. */
|
|
1508
|
+
readonly busy: boolean
|
|
1509
|
+
/**
|
|
1510
|
+
* Hand the comment's text to \`deliver\`. The form shows itself busy until \`deliver\` settles, closes when it resolves
|
|
1511
|
+
* to undefined, and keeps the text with the message it resolves to otherwise.
|
|
1512
|
+
* @param deliver - receives the text.
|
|
1513
|
+
*/
|
|
1514
|
+
readonly send: (deliver: (body: string) => Promise<string | undefined>) => void
|
|
1515
|
+
}`],ownerPropsReferences:[`ChangesTarget`],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`,`useChat: UseChat`,`useConversation: UseConversation`,`useInput: SnapshotSelectorHook<InputState>`,`inputActions: InputActions`,`useSession: SessionSnapshotSelector`,`sessionId: SessionId`,`useProjection: UseProjection`,`useAccess: (action: RemoteEndpoint) => boolean`,`useTrajectory: UseTrajectory`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`an entry in 'sidebar.right.pane.tab' (experimental-client-ui-forge), so it exists while that entry is mounted`,occupants:[],replaceRisk:`none`,example:`return {
|
|
1516
|
+
inject: ['slots'],
|
|
1517
|
+
apply(ctx) {
|
|
1518
|
+
ctx.slots.inject('forge.diff.comment.actions', () => ctx.slots.register(
|
|
1519
|
+
{ name: 'forge.diff.comment.actions', id: 'my-entry', order: 100, label: 'My entry' },
|
|
1520
|
+
() => React.createElement('div', null, 'hello'),
|
|
1521
|
+
))
|
|
1522
|
+
},
|
|
1523
|
+
}`,source:`packages/experimental/client-ui-forge/src/client/slots.ts:88`},{key:`forge.diff.line.annotation`,kind:`keyed`,scope:`session`,summary:`The content of one line annotation, keyed by its source; the changes view draws the frame around it.`,doc:`The content of one line annotation, keyed by its source; the changes view draws the frame around it.`,registerOptions:[{name:`key`,requirement:`required`,type:`string`,doc:`Your cell key: the entry renders where the owner dispatches this exact key. Registering an already-occupied key replaces that occupant.`}],ownerProps:[`/** Owner props of \`forge.diff.line.annotation\`. */
|
|
1524
|
+
export interface ForgeLineAnnotationProps {
|
|
1525
|
+
/** The view the annotation shows in. */
|
|
1526
|
+
readonly target: ChangesTarget
|
|
1527
|
+
/** Repository-relative path of the annotated file. */
|
|
1528
|
+
readonly path: string
|
|
1529
|
+
/** The annotation its source reported. */
|
|
1530
|
+
readonly annotation: ForgeLineAnnotation
|
|
1531
|
+
}`],ownerPropsReferences:[`ChangesTarget`,`ForgeLineAnnotation`],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`,`useChat: UseChat`,`useConversation: UseConversation`,`useInput: SnapshotSelectorHook<InputState>`,`inputActions: InputActions`,`useSession: SessionSnapshotSelector`,`sessionId: SessionId`,`useProjection: UseProjection`,`useAccess: (action: RemoteEndpoint) => boolean`,`useTrajectory: UseTrajectory`],keyDomain:`open: any string the owner dispatches (no compile-time key set), none are taken yet`,hookContext:``,slotInject:``,declaredBy:`an entry in 'sidebar.right.pane.tab' (experimental-client-ui-forge), so it exists while that entry is mounted`,occupants:[],replaceRisk:`none`,example:`return {
|
|
1532
|
+
inject: ['slots'],
|
|
1533
|
+
apply(ctx) {
|
|
1534
|
+
ctx.slots.inject('forge.diff.line.annotation', () => ctx.slots.register(
|
|
1535
|
+
{ name: 'forge.diff.line.annotation', key: '<one key the owner dispatches>' },
|
|
1536
|
+
() => React.createElement('div', null, 'hello'),
|
|
1537
|
+
))
|
|
1538
|
+
},
|
|
1539
|
+
}`,source:`packages/experimental/client-ui-forge/src/client/slots.ts:86`},{key:`forge.review.conversation`,kind:`single`,scope:`session`,summary:`The review page's conversation about one change request, in the Session its chat tab shows.`,doc:`The review page's conversation about one change request, in the Session its chat tab shows.`,registerOptions:[],ownerProps:[`/** Owner props of \`forge.review.conversation\`. */
|
|
1540
|
+
export interface ForgeReviewConversationProps {
|
|
1541
|
+
/** Headline of the blank conversation, naming the change request. */
|
|
1542
|
+
readonly headline: string
|
|
1543
|
+
/** Shows the blank Session of a Workspace the reader picked in the conversation as the page's conversation. */
|
|
1544
|
+
readonly onWorkspaceSelected: WorkspaceSelectedHandler
|
|
1545
|
+
}`],ownerPropsReferences:[`Workspace`,`WorkspaceSelectedHandler`],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`,`useChat: UseChat`,`useConversation: UseConversation`,`useInput: SnapshotSelectorHook<InputState>`,`inputActions: InputActions`,`useSession: SessionSnapshotSelector`,`sessionId: SessionId`,`useProjection: UseProjection`,`useAccess: (action: RemoteEndpoint) => boolean`,`useTrajectory: UseTrajectory`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`an entry in 'main' (experimental-client-ui-forge), so it exists while that entry is mounted`,occupants:[`experimental-client-ui-forge ReviewConversation`],replaceRisk:`shadows-shipped-ui`,example:`return {
|
|
1546
|
+
inject: ['slots'],
|
|
1547
|
+
apply(ctx) {
|
|
1548
|
+
ctx.slots.inject('forge.review.conversation', () => ctx.slots.register(
|
|
1549
|
+
{ name: 'forge.review.conversation' },
|
|
1550
|
+
() => React.createElement('div', null, 'hello'),
|
|
1551
|
+
))
|
|
1552
|
+
},
|
|
1553
|
+
}`,source:`packages/experimental/client-ui-forge/src/client/slots.ts:80`},{key:`main`,kind:`keyed`,scope:`root`,summary:`Central panel selected by sidebar entry id.`,doc:"Central panel selected by sidebar entry id. The reserved `conversation`\nkey hosts the Conversation; other keys receive no Session binding.",registerOptions:[{name:`key`,requirement:`required`,type:`string`,doc:`Your cell key: the entry renders where the owner dispatches this exact key. Registering an already-occupied key replaces that occupant.`}],ownerProps:[],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`],keyDomain:`open: any string the owner dispatches (no compile-time key set), already taken: conversation`,hookContext:``,slotInject:``,declaredBy:`an entry in 'root' (client-ui-layout), so it exists while that entry is mounted`,occupants:[`client-ui-conversation ConversationPanel key 'conversation'`,`client-ui-plugin-manager PluginManagerPage`,`client-ui-schedule TaskManagerPage`,`experimental-client-ui-forge ReviewPage`],replaceRisk:`shadows-shipped-ui`,example:`return {
|
|
1337
1554
|
inject: ['slots'],
|
|
1338
1555
|
apply(ctx) {
|
|
1339
1556
|
ctx.slots.inject('main', () => ctx.slots.register(
|
|
@@ -1341,7 +1558,7 @@ export interface SlotMap {}`],ownerPropsReferences:[`SlotEntryDef`],standardProp
|
|
|
1341
1558
|
() => React.createElement('div', null, 'hello'),
|
|
1342
1559
|
))
|
|
1343
1560
|
},
|
|
1344
|
-
}`,source:`packages/client/ui-layout/src/client/index.ts:75`},{key:`main.conversation`,kind:`single`,scope:`session-maybe`,summary:`Conversation shell beneath its root-scoped main-panel entry.`,doc:`Conversation shell beneath its root-scoped main-panel entry.`,registerOptions:[],ownerProps:[],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`
|
|
1561
|
+
}`,source:`packages/client/ui-layout/src/client/index.ts:75`},{key:`main.conversation`,kind:`single`,scope:`session-maybe`,summary:`Conversation shell beneath its root-scoped main-panel entry.`,doc:`Conversation shell beneath its root-scoped main-panel entry.`,registerOptions:[],ownerProps:[],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`,`useConversation: MaybeSnapshotSelectorHook<ConversationSnapshot>`,`useInput: MaybeSnapshotSelectorHook<InputState>`,`inputActions: InputActions | undefined`,`useSession: MaybeSnapshotSelectorHook<SessionSnapshot>`,`sessionId: SessionId | undefined`,`useProjection: UseProjection`,`useAccess: (action: RemoteEndpoint) => boolean | undefined`],keyDomain:``,hookContext:``,slotInject:`ConversationShellInjected`,declaredBy:`an entry in 'main' (client-ui-conversation), so it exists while that entry is mounted`,occupants:[`client-ui-conversation ConversationRoot`],replaceRisk:`shadows-shipped-ui`,example:`return {
|
|
1345
1562
|
inject: ['slots'],
|
|
1346
1563
|
apply(ctx) {
|
|
1347
1564
|
ctx.slots.inject('main.conversation', () => ctx.slots.register(
|
|
@@ -1353,7 +1570,7 @@ export interface SlotMap {}`],ownerPropsReferences:[`SlotEntryDef`],standardProp
|
|
|
1353
1570
|
export interface PluginAddActionsProps {
|
|
1354
1571
|
/** Close the add-plugin menu before starting the contributed action. */
|
|
1355
1572
|
readonly onDismiss: () => void
|
|
1356
|
-
}`],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`
|
|
1573
|
+
}`],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`an entry in 'main' (client-ui-plugin-manager), so it exists while that entry is mounted`,occupants:[`client-ui-agent-preset CreatePluginMenuItem id 'create-plugin'`],replaceRisk:`none`,example:`return {
|
|
1357
1574
|
inject: ['slots'],
|
|
1358
1575
|
apply(ctx) {
|
|
1359
1576
|
ctx.slots.inject('plugins.add.actions', () => ctx.slots.register(
|
|
@@ -1368,7 +1585,7 @@ export interface PluginActivationOwnerProps {
|
|
|
1368
1585
|
readonly onDismiss: () => void
|
|
1369
1586
|
/** Dismiss guidance and open this bundle's detail page. */
|
|
1370
1587
|
readonly onOpenDetails: () => void
|
|
1371
|
-
}`],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`
|
|
1588
|
+
}`],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`],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`,hookContext:``,slotInject:``,declaredBy:`an entry in 'main' (client-ui-plugin-manager), so it exists while that entry is mounted`,occupants:[`client-ui-connector-account ConnectorAccountActivationEntry`,`experimental-client-ui-voice-input VoiceSetupPrompt key '@deepseek-ai/dsh-experimental-voice-input-bundle'`,`cua PermissionSetup key '@deepseek-ai/dsh-cua-bundle'`],replaceRisk:`shadows-shipped-ui`,example:`return {
|
|
1372
1589
|
inject: ['slots'],
|
|
1373
1590
|
apply(ctx) {
|
|
1374
1591
|
ctx.slots.inject('plugins.bundle.activation', () => ctx.slots.register(
|
|
@@ -1384,7 +1601,7 @@ export interface PluginConfigViewProps {
|
|
|
1384
1601
|
readonly view: 'summary' | 'page'
|
|
1385
1602
|
/** Host-owned configuration values and write actions for this page's entry. */
|
|
1386
1603
|
readonly form?: ConfigPageForm | undefined
|
|
1387
|
-
}`],ownerPropsReferences:[`ConfigPageForm`],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`
|
|
1604
|
+
}`],ownerPropsReferences:[`ConfigPageForm`],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`],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`,hookContext:``,slotInject:``,declaredBy:`an entry in 'main' (client-ui-plugin-manager), so it exists while that entry is mounted`,occupants:[`client-ui-connector-account ConnectorAccountSectionEntry`,`experimental-client-ui-cot-translation TranslationSettings key '@deepseek-ai/dsh-experimental-cot-translation-bundle'`,`experimental-client-ui-voice-input VoicePreparation key '@deepseek-ai/dsh-experimental-voice-input-bundle'`,`cua PermissionPanel key '@deepseek-ai/dsh-cua-bundle'`,`timeline Settings`],replaceRisk:`shadows-shipped-ui`,example:`return {
|
|
1388
1605
|
inject: ['slots'],
|
|
1389
1606
|
apply(ctx) {
|
|
1390
1607
|
ctx.slots.inject('plugins.bundle.config', () => ctx.slots.register(
|
|
@@ -1398,7 +1615,7 @@ subject it has no control for.`,registerOptions:[{name:`id`,requirement:`require
|
|
|
1398
1615
|
export interface PluginDetailProps {
|
|
1399
1616
|
/** The subject of the open page; an entry renders null for a subject it has nothing for. */
|
|
1400
1617
|
readonly subject: PluginsSubject
|
|
1401
|
-
}`],ownerPropsReferences:[`PluginsSubject`],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`
|
|
1618
|
+
}`],ownerPropsReferences:[`PluginsSubject`],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`an entry in 'main' (client-ui-plugin-manager), so it exists while that entry is mounted`,occupants:[],replaceRisk:`none`,example:`return {
|
|
1402
1619
|
inject: ['slots'],
|
|
1403
1620
|
apply(ctx) {
|
|
1404
1621
|
ctx.slots.inject('plugins.detail.actions', () => ctx.slots.register(
|
|
@@ -1411,7 +1628,7 @@ tags the page draws itself, rendered with the page's subject.`,registerOptions:[
|
|
|
1411
1628
|
export interface PluginDetailProps {
|
|
1412
1629
|
/** The subject of the open page; an entry renders null for a subject it has nothing for. */
|
|
1413
1630
|
readonly subject: PluginsSubject
|
|
1414
|
-
}`],ownerPropsReferences:[`PluginsSubject`],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`
|
|
1631
|
+
}`],ownerPropsReferences:[`PluginsSubject`],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`an entry in 'main' (client-ui-plugin-manager), so it exists while that entry is mounted`,occupants:[`client-ui-connector-account ConnectorAccountBadgeEntry id 'connector-account.badge'`],replaceRisk:`none`,example:`return {
|
|
1415
1632
|
inject: ['slots'],
|
|
1416
1633
|
apply(ctx) {
|
|
1417
1634
|
ctx.slots.inject('plugins.detail.badge', () => ctx.slots.register(
|
|
@@ -1426,7 +1643,7 @@ has nothing for.`,registerOptions:[{name:`id`,requirement:`required`,type:`strin
|
|
|
1426
1643
|
export interface PluginDetailProps {
|
|
1427
1644
|
/** The subject of the open page; an entry renders null for a subject it has nothing for. */
|
|
1428
1645
|
readonly subject: PluginsSubject
|
|
1429
|
-
}`],ownerPropsReferences:[`PluginsSubject`],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`
|
|
1646
|
+
}`],ownerPropsReferences:[`PluginsSubject`],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`an entry in 'main' (client-ui-plugin-manager), so it exists while that entry is mounted`,occupants:[],replaceRisk:`none`,example:`return {
|
|
1430
1647
|
inject: ['slots'],
|
|
1431
1648
|
apply(ctx) {
|
|
1432
1649
|
ctx.slots.inject('plugins.detail.section', () => ctx.slots.register(
|
|
@@ -1440,7 +1657,7 @@ export interface PluginConfigViewProps {
|
|
|
1440
1657
|
readonly view: 'summary' | 'page'
|
|
1441
1658
|
/** Host-owned configuration values and write actions for this page's entry. */
|
|
1442
1659
|
readonly form?: ConfigPageForm | undefined
|
|
1443
|
-
}`],ownerPropsReferences:[`ConfigPageForm`],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`
|
|
1660
|
+
}`],ownerPropsReferences:[`ConfigPageForm`],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`an entry in 'main' (client-ui-plugin-manager), so it exists while that entry is mounted`,occupants:[`client-ui-settings-agent-loop AgentLoopCard id 'agent-loop'`,`client-ui-settings-shell ShellCard id 'shell'`,`client-ui-settings-subagent SubagentCard id 'subagent'`,`client-ui-settings-web-search WebSearchCard id 'web-search'`],replaceRisk:`none`,example:`return {
|
|
1444
1661
|
inject: ['slots'],
|
|
1445
1662
|
apply(ctx) {
|
|
1446
1663
|
ctx.slots.inject('plugins.item', () => ctx.slots.register(
|
|
@@ -1458,7 +1675,7 @@ export interface PluginConfigViewProps {
|
|
|
1458
1675
|
readonly view: 'summary' | 'page'
|
|
1459
1676
|
/** Host-owned configuration values and write actions for this page's entry. */
|
|
1460
1677
|
readonly form?: ConfigPageForm | undefined
|
|
1461
|
-
}`],ownerPropsReferences:[`ConfigPageForm`],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`
|
|
1678
|
+
}`],ownerPropsReferences:[`ConfigPageForm`],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`],keyDomain:`open: any string the owner dispatches (no compile-time key set), none are taken yet`,hookContext:``,slotInject:``,declaredBy:`an entry in 'main' (client-ui-plugin-manager), so it exists while that entry is mounted`,occupants:[`experimental-client-ui-forge WorktreeSettings`],replaceRisk:`none`,example:`return {
|
|
1462
1679
|
inject: ['slots'],
|
|
1463
1680
|
apply(ctx) {
|
|
1464
1681
|
ctx.slots.inject('plugins.row.config', () => ctx.slots.register(
|
|
@@ -1486,7 +1703,7 @@ export interface PluginTabProps {
|
|
|
1486
1703
|
* @param packageName - npm package name of the bundle.
|
|
1487
1704
|
*/
|
|
1488
1705
|
readonly openPackage: (packageName: string) => void
|
|
1489
|
-
}`],ownerPropsReferences:[`Git`,`PluginTabInstall`,`PluginTabUpdate`],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`
|
|
1706
|
+
}`],ownerPropsReferences:[`Git`,`PluginTabInstall`,`PluginTabUpdate`],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`an entry in 'main' (client-ui-plugin-manager), so it exists while that entry is mounted`,occupants:[`client-ui-plugin-market DiscoverSection id 'discover'`],replaceRisk:`none`,example:`return {
|
|
1490
1707
|
inject: ['slots'],
|
|
1491
1708
|
apply(ctx) {
|
|
1492
1709
|
ctx.slots.inject('plugins.tab', () => ctx.slots.register(
|
|
@@ -1515,7 +1732,7 @@ export interface RightbarOwnerProps {
|
|
|
1515
1732
|
* Before a narrow opening, includes the space from collapsing the left sidebar.
|
|
1516
1733
|
*/
|
|
1517
1734
|
canShow: boolean
|
|
1518
|
-
}`],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`
|
|
1735
|
+
}`],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`an entry in 'root' (client-ui-layout), so it exists while that entry is mounted`,occupants:[`client-ui-sidebar-right RightbarRoot`],replaceRisk:`shadows-shipped-ui`,example:`return {
|
|
1519
1736
|
inject: ['slots'],
|
|
1520
1737
|
apply(ctx) {
|
|
1521
1738
|
ctx.slots.inject('rightbar', () => ctx.slots.register(
|
|
@@ -1534,7 +1751,7 @@ export interface RightbarOwnerProps {
|
|
|
1534
1751
|
* Before a narrow opening, includes the space from collapsing the left sidebar.
|
|
1535
1752
|
*/
|
|
1536
1753
|
canShow: boolean
|
|
1537
|
-
}`,"/** Identity of one open tab; distinct copies of one content share `contentId`, never `TabId`. */\nexport type TabId = Branded<'TabId'>"],ownerPropsReferences:[`Branded`],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`
|
|
1754
|
+
}`,"/** Identity of one open tab; distinct copies of one content share `contentId`, never `TabId`. */\nexport type TabId = Branded<'TabId'>"],ownerPropsReferences:[`Branded`],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`,`useChat: UseChat`,`useConversation: UseConversation`,`useInput: SnapshotSelectorHook<InputState>`,`inputActions: InputActions`,`useSession: SessionSnapshotSelector`,`sessionId: SessionId`,`useProjection: UseProjection`,`useAccess: (action: RemoteEndpoint) => boolean`,`useTrajectory: UseTrajectory`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`an entry in 'rightbar' (client-ui-sidebar-right), so it exists while that entry is mounted`,occupants:[`client-ui-sidebar-right RightbarSeat`],replaceRisk:`shadows-shipped-ui`,example:`return {
|
|
1538
1755
|
inject: ['slots'],
|
|
1539
1756
|
apply(ctx) {
|
|
1540
1757
|
ctx.slots.inject('rightbar.session', () => ctx.slots.register(
|
|
@@ -1554,7 +1771,7 @@ winner: the page would render your component alone, with every seat the
|
|
|
1554
1771
|
frame declares gone. For a surface of your own that floats over the whole
|
|
1555
1772
|
app, register into \`shell.overlay\` instead (a list slot: additive, and
|
|
1556
1773
|
click-through until your entry opts into pointer events).`,registerOptions:[],ownerProps:[`/** Root owner share: the shell supplies nothing — the frame is inject-assembled. */
|
|
1557
|
-
export interface RootOwnerProps { children?: never }`],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`
|
|
1774
|
+
export interface RootOwnerProps { children?: never }`],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`the runtime itself (built in; always present)`,occupants:[`client-ui-layout AppFrame`],replaceRisk:`shadows-shipped-ui`,example:`return {
|
|
1558
1775
|
inject: ['slots'],
|
|
1559
1776
|
apply(ctx) {
|
|
1560
1777
|
ctx.slots.inject('root', () => ctx.slots.register(
|
|
@@ -1568,7 +1785,7 @@ the shell supplies only the ordered render site.`,registerOptions:[{name:`id`,re
|
|
|
1568
1785
|
export interface SettingsHeaderOwnerProps {
|
|
1569
1786
|
/** Marker field: header owner props are intentionally empty. */
|
|
1570
1787
|
children?: never
|
|
1571
|
-
}`],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`
|
|
1788
|
+
}`],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`an entry in 'sidebar.settings' (client-ui-settings-general), so it exists while that entry is mounted`,occupants:[`client-ui-settings-general SettingsDocumentAction id 'open-document'`],replaceRisk:`none`,example:`return {
|
|
1572
1789
|
inject: ['slots'],
|
|
1573
1790
|
apply(ctx) {
|
|
1574
1791
|
ctx.slots.inject('settings.action', () => ctx.slots.register(
|
|
@@ -1576,13 +1793,13 @@ export interface SettingsHeaderOwnerProps {
|
|
|
1576
1793
|
() => React.createElement('div', null, 'hello'),
|
|
1577
1794
|
))
|
|
1578
1795
|
},
|
|
1579
|
-
}`,source:`packages/client/ui-settings/src/client/contract/slots.ts:
|
|
1796
|
+
}`,source:`packages/client/ui-settings/src/client/contract/slots.ts:60`},{key:`settings.close`,kind:`single`,scope:`root`,summary:`The close button's visually-hidden label text (the button itself — icon, geometry, focus — is shell chrome).`,doc:`The close button's visually-hidden label text (the button itself —
|
|
1580
1797
|
icon, geometry, focus — is shell chrome). Absent contribution leaves
|
|
1581
1798
|
the button without an accessible name (broken-composition state).`,registerOptions:[],ownerProps:[`/** Owner share of the header title seat (the shell supplies nothing). */
|
|
1582
1799
|
export interface SettingsHeaderOwnerProps {
|
|
1583
1800
|
/** Marker field: header owner props are intentionally empty. */
|
|
1584
1801
|
children?: never
|
|
1585
|
-
}`],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`
|
|
1802
|
+
}`],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`an entry in 'sidebar.settings' (client-ui-settings-general), so it exists while that entry is mounted`,occupants:[`client-ui-settings-general CloseLabel`],replaceRisk:`shadows-shipped-ui`,example:`return {
|
|
1586
1803
|
inject: ['slots'],
|
|
1587
1804
|
apply(ctx) {
|
|
1588
1805
|
ctx.slots.inject('settings.close', () => ctx.slots.register(
|
|
@@ -1590,11 +1807,11 @@ export interface SettingsHeaderOwnerProps {
|
|
|
1590
1807
|
() => React.createElement('div', null, 'hello'),
|
|
1591
1808
|
))
|
|
1592
1809
|
},
|
|
1593
|
-
}`,source:`packages/client/ui-settings/src/client/contract/slots.ts:
|
|
1810
|
+
}`,source:`packages/client/ui-settings/src/client/contract/slots.ts:66`},{key:`settings.general.item`,kind:`list`,scope:`root`,summary:"One preference row inside the General section — the additive seat for a single setting that needs no page of its own (a whole page is `settings.section`), contributed by the feature plugin that owns the preference (locale → Language, ui-theme → Appearance, ui-conversation → Composer Enter).",doc:"One preference row inside the General section — the additive seat for a\nsingle setting that needs no page of its own (a whole page is\n`settings.section`), contributed by the feature plugin that owns the\npreference (locale → Language, ui-theme → Appearance, ui-conversation →\nComposer Enter). Options: `id` (row key), `order` (row position). The\nsection column only stacks rows, so a row draws its own internals,\nincluding its label: nothing projects a `label` here and the owner passes\nno props at all — copy, current value, and the write path are all yours,\nthrough your own inject face and `host.call`. Declared at runtime by\nui-settings-general's General entry; the type lives here with every other\nsettings slot type, because this package is the settings domain's base\nlayer and every registrant already depends on it for `ctx.configForms`.",registerOptions:[{name:`id`,requirement:`required`,type:`string`,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.`},{name:`order`,requirement:`optional`,type:`number`,doc:`Position among the entries, ascending (default 0).`},{name:`label`,requirement:`optional`,type:`string | (() => string)`,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.`}],ownerProps:[`/** Owner share of a General preference row (the section supplies nothing). */
|
|
1594
1811
|
export interface SettingsGeneralItemOwnerProps {
|
|
1595
1812
|
/** Marker field: item owner props are intentionally empty. */
|
|
1596
1813
|
children?: never
|
|
1597
|
-
}`],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`
|
|
1814
|
+
}`],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`an entry in 'settings.section' (client-ui-settings-general), so it exists while that entry is mounted`,occupants:[`client-locale LanguageRow id 'language'`,`client-ui-action-cards SettingsRow id 'action-cards'`,`client-ui-chat LinkOpeningRow id 'link-opening'`,`client-ui-chat PerformanceUsageRow id 'performance-usage'`,`client-ui-chat TranscriptViewRow id 'transcript-view'`,`client-ui-conversation EnterBehaviorRow id 'composer-enter'`,`client-ui-permission-presets PermissionRow id 'permission'`,`client-ui-settings-general DeveloperToolsRow id 'developer-tools'`,`client-ui-settings-general CurrentVersionRow id 'current-version'`,`client-ui-settings-general DesktopChannelRow id 'desktop-update-channel'`,`client-ui-settings-session-log UploadRow`,`client-ui-shortcuts ShortcutsRow id 'shortcuts'`,`client-ui-theme AppearanceRow id 'appearance'`,`client-ui-theme FontSettingsGroup id 'font-size'`],replaceRisk:`none`,example:`return {
|
|
1598
1815
|
inject: ['slots'],
|
|
1599
1816
|
apply(ctx) {
|
|
1600
1817
|
ctx.slots.inject('settings.general.item', () => ctx.slots.register(
|
|
@@ -1602,13 +1819,13 @@ export interface SettingsGeneralItemOwnerProps {
|
|
|
1602
1819
|
() => React.createElement('div', null, 'hello'),
|
|
1603
1820
|
))
|
|
1604
1821
|
},
|
|
1605
|
-
}`,source:`packages/client/ui-settings/src/client/contract/slots.ts:
|
|
1822
|
+
}`,source:`packages/client/ui-settings/src/client/contract/slots.ts:115`},{key:`settings.header`,kind:`single`,scope:`root`,summary:`The panel title text seat.`,doc:`The panel title text seat. Content renders inside the nav heading row;
|
|
1606
1823
|
the dialog's accessible name points at that node via aria-labelledby.
|
|
1607
1824
|
Absent contribution leaves the heading empty.`,registerOptions:[],ownerProps:[`/** Owner share of the header title seat (the shell supplies nothing). */
|
|
1608
1825
|
export interface SettingsHeaderOwnerProps {
|
|
1609
1826
|
/** Marker field: header owner props are intentionally empty. */
|
|
1610
1827
|
children?: never
|
|
1611
|
-
}`],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`
|
|
1828
|
+
}`],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`an entry in 'sidebar.settings' (client-ui-settings-general), so it exists while that entry is mounted`,occupants:[`client-ui-settings-general HeaderContent`],replaceRisk:`shadows-shipped-ui`,example:`return {
|
|
1612
1829
|
inject: ['slots'],
|
|
1613
1830
|
apply(ctx) {
|
|
1614
1831
|
ctx.slots.inject('settings.header', () => ctx.slots.register(
|
|
@@ -1616,7 +1833,7 @@ export interface SettingsHeaderOwnerProps {
|
|
|
1616
1833
|
() => React.createElement('div', null, 'hello'),
|
|
1617
1834
|
))
|
|
1618
1835
|
},
|
|
1619
|
-
}`,source:`packages/client/ui-settings/src/client/contract/slots.ts:
|
|
1836
|
+
}`,source:`packages/client/ui-settings/src/client/contract/slots.ts:54`},{key:`settings.launcher`,kind:`single`,scope:`root`,summary:`Optional sidebar account launcher; opens the shell-owned settings panel.`,doc:`Optional sidebar account launcher; opens the shell-owned settings panel.`,registerOptions:[],ownerProps:[`/** Sidebar launcher geometry and settings navigation. */
|
|
1620
1837
|
export interface SettingsLauncherOwnerProps {
|
|
1621
1838
|
/** Whether the sidebar shows labels. */
|
|
1622
1839
|
wide: boolean
|
|
@@ -1628,7 +1845,7 @@ export interface SettingsLauncherOwnerProps {
|
|
|
1628
1845
|
openSettings: (sectionId?: string) => void
|
|
1629
1846
|
/** @param id - registered onboarding editor to open explicitly. */
|
|
1630
1847
|
openOnboarding: (id: string) => void
|
|
1631
|
-
}`],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`
|
|
1848
|
+
}`],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`an entry in 'sidebar.settings' (client-ui-settings-general), so it exists while that entry is mounted`,occupants:[`client-ui-settings-account AccountMenu`],replaceRisk:`shadows-shipped-ui`,example:`return {
|
|
1632
1849
|
inject: ['slots'],
|
|
1633
1850
|
apply(ctx) {
|
|
1634
1851
|
ctx.slots.inject('settings.launcher', () => ctx.slots.register(
|
|
@@ -1636,13 +1853,13 @@ export interface SettingsLauncherOwnerProps {
|
|
|
1636
1853
|
() => React.createElement('div', null, 'hello'),
|
|
1637
1854
|
))
|
|
1638
1855
|
},
|
|
1639
|
-
}`,source:`packages/client/ui-settings/src/client/contract/slots.ts:
|
|
1856
|
+
}`,source:`packages/client/ui-settings/src/client/contract/slots.ts:32`},{key:`settings.launcher.notifications`,kind:`single`,scope:`root`,summary:`Notifications in the row above the account launcher; the contribution owns its markup and lifecycle.`,doc:`Notifications in the row above the account launcher; the contribution owns its markup and lifecycle.`,registerOptions:[],ownerProps:[`/** Account presentation facts supplied to its notification extension. */
|
|
1640
1857
|
export interface AccountNotificationsOwnerProps {
|
|
1641
|
-
/** Whether
|
|
1858
|
+
/** Whether a signed-in account can display notifications outside onboarding. */
|
|
1642
1859
|
active: boolean
|
|
1643
1860
|
/** Open the account section in the existing settings shell. */
|
|
1644
1861
|
openAccount: () => void
|
|
1645
|
-
}`],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`
|
|
1862
|
+
}`],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`an entry in 'settings.notice' (client-ui-settings-account), so it exists while that entry is mounted`,occupants:[`client-ui-account-notifications AccountNotifications`],replaceRisk:`shadows-shipped-ui`,example:`return {
|
|
1646
1863
|
inject: ['slots'],
|
|
1647
1864
|
apply(ctx) {
|
|
1648
1865
|
ctx.slots.inject('settings.launcher.notifications', () => ctx.slots.register(
|
|
@@ -1655,7 +1872,7 @@ Without a registrant the area renders nothing.`,registerOptions:[{name:`id`,requ
|
|
|
1655
1872
|
export interface ModelsFooterOwnerProps {
|
|
1656
1873
|
/** Marker field: footer owner props are intentionally empty. */
|
|
1657
1874
|
children?: never
|
|
1658
|
-
}`],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`
|
|
1875
|
+
}`],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`an entry in 'settings.section' (client-ui-settings-models), so it exists while that entry is mounted`,occupants:[],replaceRisk:`none`,example:`return {
|
|
1659
1876
|
inject: ['slots'],
|
|
1660
1877
|
apply(ctx) {
|
|
1661
1878
|
ctx.slots.inject('settings.models.footer', () => ctx.slots.register(
|
|
@@ -1676,7 +1893,7 @@ export interface ProviderCardExtrasOwnerProps {
|
|
|
1676
1893
|
configured: boolean
|
|
1677
1894
|
/** Whether the row's referenced api-key credential is confirmed configured (the page's credential join). */
|
|
1678
1895
|
keyConfigured: boolean
|
|
1679
|
-
}`],ownerPropsReferences:[`ProviderDirectoryEntry`],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`
|
|
1896
|
+
}`],ownerPropsReferences:[`ProviderDirectoryEntry`],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`],keyDomain:`open: any string the owner dispatches (no compile-time key set), none are taken yet`,hookContext:``,slotInject:``,declaredBy:`an entry in 'settings.section' (client-ui-settings-models), so it exists while that entry is mounted`,occupants:[],replaceRisk:`none`,example:`return {
|
|
1680
1897
|
inject: ['slots'],
|
|
1681
1898
|
apply(ctx) {
|
|
1682
1899
|
ctx.slots.inject('settings.models.provider-card', () => ctx.slots.register(
|
|
@@ -1684,7 +1901,7 @@ export interface ProviderCardExtrasOwnerProps {
|
|
|
1684
1901
|
() => React.createElement('div', null, 'hello'),
|
|
1685
1902
|
))
|
|
1686
1903
|
},
|
|
1687
|
-
}`,source:`packages/client/ui-settings-models/src/client/slot-contract.ts:33`},{key:`settings.models.sign-in`,kind:`single`,scope:`root`,summary:`Optional account login choice before the credential editor.`,doc:`Optional account login choice before the credential editor.`,registerOptions:[],ownerProps:[],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`
|
|
1904
|
+
}`,source:`packages/client/ui-settings-models/src/client/slot-contract.ts:33`},{key:`settings.models.sign-in`,kind:`single`,scope:`root`,summary:`Optional account login choice before the credential editor.`,doc:`Optional account login choice before the credential editor.`,registerOptions:[],ownerProps:[],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`an entry in 'settings.onboarding' (client-ui-settings-models), so it exists while that entry is mounted`,occupants:[`client-ui-settings-account AccountOnboarding`],replaceRisk:`shadows-shipped-ui`,example:`return {
|
|
1688
1905
|
inject: ['slots'],
|
|
1689
1906
|
apply(ctx) {
|
|
1690
1907
|
ctx.slots.inject('settings.models.sign-in', () => ctx.slots.register(
|
|
@@ -1692,7 +1909,21 @@ export interface ProviderCardExtrasOwnerProps {
|
|
|
1692
1909
|
() => React.createElement('div', null, 'hello'),
|
|
1693
1910
|
))
|
|
1694
1911
|
},
|
|
1695
|
-
}`,source:`packages/client/ui-settings-models/src/client/slot-contract.ts:35`},{key:`settings.
|
|
1912
|
+
}`,source:`packages/client/ui-settings-models/src/client/slot-contract.ts:35`},{key:`settings.notice`,kind:`single`,scope:`root`,summary:`Optional content anchored above the launcher row at the launcher row's full width.`,doc:`Optional content anchored above the launcher row at the launcher row's
|
|
1913
|
+
full width. The row takes no height, so the content floats over the
|
|
1914
|
+
sidebar list; the shell hides it in the rail without unmounting it.`,registerOptions:[],ownerProps:[`/** Settings navigation for the row above the launcher row. */
|
|
1915
|
+
export interface SettingsNoticeOwnerProps {
|
|
1916
|
+
/** @param sectionId - section to open; absent uses the shell's default section. */
|
|
1917
|
+
openSettings: (sectionId?: string) => void
|
|
1918
|
+
}`],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`an entry in 'sidebar.settings' (client-ui-settings-general), so it exists while that entry is mounted`,occupants:[`client-ui-settings-account AccountNotices`],replaceRisk:`shadows-shipped-ui`,example:`return {
|
|
1919
|
+
inject: ['slots'],
|
|
1920
|
+
apply(ctx) {
|
|
1921
|
+
ctx.slots.inject('settings.notice', () => ctx.slots.register(
|
|
1922
|
+
{ name: 'settings.notice' },
|
|
1923
|
+
() => React.createElement('div', null, 'hello'),
|
|
1924
|
+
))
|
|
1925
|
+
},
|
|
1926
|
+
}`,source:`packages/client/ui-settings/src/client/contract/slots.ts:38`},{key:`settings.onboarding`,kind:`list`,scope:`root`,summary:`Root-scoped onboarding steps contributed by settings features.`,doc:`Root-scoped onboarding steps contributed by settings features. The
|
|
1696
1927
|
shell mounts one ordered step at a time; the active registrant either
|
|
1697
1928
|
completes itself or keeps ownership until the user completes its sole
|
|
1698
1929
|
path. Registrants own readiness, copy, dialog behavior, AND visible
|
|
@@ -1709,7 +1940,7 @@ export interface SettingsOnboardingOwnerProps {
|
|
|
1709
1940
|
complete: () => void
|
|
1710
1941
|
/** Open the settings panel directly on one registered section. */
|
|
1711
1942
|
openSection: (id: string) => void
|
|
1712
|
-
}`],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`
|
|
1943
|
+
}`],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`an entry in 'sidebar.settings' (client-ui-settings-general), so it exists while that entry is mounted`,occupants:[`client-ui-settings-models WelcomeNotice id 'welcome-notice'`,`client-ui-settings-models DeepSeekOnboardingDialog id 'deepseek-official'`],replaceRisk:`none`,example:`return {
|
|
1713
1944
|
inject: ['slots'],
|
|
1714
1945
|
apply(ctx) {
|
|
1715
1946
|
ctx.slots.inject('settings.onboarding', () => ctx.slots.register(
|
|
@@ -1717,19 +1948,30 @@ export interface SettingsOnboardingOwnerProps {
|
|
|
1717
1948
|
() => React.createElement('div', null, 'hello'),
|
|
1718
1949
|
))
|
|
1719
1950
|
},
|
|
1720
|
-
}`,source:`packages/client/ui-settings/src/client/contract/slots.ts:
|
|
1721
|
-
|
|
1722
|
-
|
|
1723
|
-
|
|
1724
|
-
|
|
1951
|
+
}`,source:`packages/client/ui-settings/src/client/contract/slots.ts:100`},{key:`settings.remoteConnection.content`,kind:`single`,scope:`root`,summary:`Complete Remote connection panel with QR, login-link, and pairing approval state.`,doc:`Complete Remote connection panel with QR, login-link, and pairing approval state.
|
|
1952
|
+
Receives invitation and login-link selectors, their actions, and close().
|
|
1953
|
+
useApproval(selector) exposes owner-access availability and decision outcomes; decide() and dismiss() manage them.
|
|
1954
|
+
Replacing this panel hides all default sections; unloading restores their current state.`,registerOptions:[],ownerProps:[`/**
|
|
1955
|
+
* Owner share of a settings section entry. The shell owns modal visibility
|
|
1956
|
+
* and navigation; a section's data arrives through its own inject faces and
|
|
1957
|
+
* stores. \`close\` is the one shell affordance a section receives, for flows
|
|
1958
|
+
* that leave settings altogether (starting a session from a section) — the
|
|
1959
|
+
* onboarding coordinator's \`openSection\`/\`complete\` precedent, inverted.
|
|
1960
|
+
*/
|
|
1961
|
+
export interface SettingsSectionOwnerProps {
|
|
1962
|
+
/** Leave the page: close the settings panel, or on the Plugins page return to the view the page was opened from. */
|
|
1963
|
+
close: () => void
|
|
1964
|
+
}`],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`],keyDomain:``,hookContext:``,slotInject:`RemoteConnectionFace & LoginLinkFace & PairingInjected`,declaredBy:`an entry in 'settings.section' (client-remote-connection), so it exists while that entry is mounted`,occupants:[`client-remote-connection RemoteConnectionSection`],replaceRisk:`shadows-shipped-ui`,example:`return {
|
|
1725
1965
|
inject: ['slots'],
|
|
1726
1966
|
apply(ctx) {
|
|
1727
|
-
ctx.slots.inject('settings.
|
|
1728
|
-
{ name: 'settings.
|
|
1967
|
+
ctx.slots.inject('settings.remoteConnection.content', () => ctx.slots.register(
|
|
1968
|
+
{ name: 'settings.remoteConnection.content' },
|
|
1729
1969
|
() => React.createElement('div', null, 'hello'),
|
|
1730
1970
|
))
|
|
1731
1971
|
},
|
|
1732
|
-
}`,source:`packages/client/
|
|
1972
|
+
}`,source:`packages/client/remote-connection/src/client/slots.ts:16`},{key:`settings.remoteConnection.extensions`,kind:`list`,scope:`root`,summary:`Additional options rendered after the active Remote connection panel.`,doc:`Additional options rendered after the active Remote connection panel.
|
|
1973
|
+
Entries share its invitation, login-link, and owner-gated pairing state, actions, and close().
|
|
1974
|
+
Replacing the panel does not replace these independently ordered entries.`,registerOptions:[{name:`id`,requirement:`required`,type:`string`,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.`},{name:`order`,requirement:`optional`,type:`number`,doc:`Position among the entries, ascending (default 0).`},{name:`label`,requirement:`optional`,type:`string | (() => string)`,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.`}],ownerProps:[`/**
|
|
1733
1975
|
* Owner share of a settings section entry. The shell owns modal visibility
|
|
1734
1976
|
* and navigation; a section's data arrives through its own inject faces and
|
|
1735
1977
|
* stores. \`close\` is the one shell affordance a section receives, for flows
|
|
@@ -1737,9 +1979,27 @@ export interface SettingsPluginsTabOwnerProps {
|
|
|
1737
1979
|
* onboarding coordinator's \`openSection\`/\`complete\` precedent, inverted.
|
|
1738
1980
|
*/
|
|
1739
1981
|
export interface SettingsSectionOwnerProps {
|
|
1740
|
-
/**
|
|
1982
|
+
/** Leave the page: close the settings panel, or on the Plugins page return to the view the page was opened from. */
|
|
1741
1983
|
close: () => void
|
|
1742
|
-
}`],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`
|
|
1984
|
+
}`],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`],keyDomain:``,hookContext:``,slotInject:`RemoteConnectionFace & LoginLinkFace & PairingInjected`,declaredBy:`an entry in 'settings.section' (client-remote-connection), so it exists while that entry is mounted`,occupants:[],replaceRisk:`none`,example:`return {
|
|
1985
|
+
inject: ['slots'],
|
|
1986
|
+
apply(ctx) {
|
|
1987
|
+
ctx.slots.inject('settings.remoteConnection.extensions', () => ctx.slots.register(
|
|
1988
|
+
{ name: 'settings.remoteConnection.extensions', id: 'my-entry', order: 100, label: 'My entry' },
|
|
1989
|
+
() => React.createElement('div', null, 'hello'),
|
|
1990
|
+
))
|
|
1991
|
+
},
|
|
1992
|
+
}`,source:`packages/client/remote-connection/src/client/slots.ts:27`},{key:`settings.section`,kind:`list`,scope:`root`,summary:"One settings page per list entry, rendered through the `settings.section.view` Factory.",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.\n(`settings.general.item`, declared by ui-settings-general's General\nentry, is typed in the locale package — the common dependency of every\nitem registrant; the shell neither declares nor renders it.)",registerOptions:[{name:`id`,requirement:`required`,type:`string`,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.`},{name:`order`,requirement:`optional`,type:`number`,doc:`Position among the entries, ascending (default 0).`},{name:`label`,requirement:`optional`,type:`string | (() => string)`,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.`}],ownerProps:[`/**
|
|
1993
|
+
* Owner share of a settings section entry. The shell owns modal visibility
|
|
1994
|
+
* and navigation; a section's data arrives through its own inject faces and
|
|
1995
|
+
* stores. \`close\` is the one shell affordance a section receives, for flows
|
|
1996
|
+
* that leave settings altogether (starting a session from a section) — the
|
|
1997
|
+
* onboarding coordinator's \`openSection\`/\`complete\` precedent, inverted.
|
|
1998
|
+
*/
|
|
1999
|
+
export interface SettingsSectionOwnerProps {
|
|
2000
|
+
/** Leave the page: close the settings panel, or on the Plugins page return to the view the page was opened from. */
|
|
2001
|
+
close: () => void
|
|
2002
|
+
}`],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`factory 'settings.section.view' (client-ui-settings-general), so it exists while that definition is registered`,occupants:[`client-remote-connection RemoteConnectionSettings id 'remote-connection'`,`client-ui-agent-preset AgentPresetSection id 'agent-presets'`,`client-ui-plugin-manager PluginsSettingsLink`,`client-ui-settings-account AccountSection id 'account'`,`client-ui-settings-general GeneralSection id 'general'`,`client-ui-settings-models ModelsSection id 'models'`],replaceRisk:`none`,example:`return {
|
|
1743
2003
|
inject: ['slots'],
|
|
1744
2004
|
apply(ctx) {
|
|
1745
2005
|
ctx.slots.inject('settings.section', () => ctx.slots.register(
|
|
@@ -1747,7 +2007,7 @@ export interface SettingsSectionOwnerProps {
|
|
|
1747
2007
|
() => React.createElement('div', null, 'hello'),
|
|
1748
2008
|
))
|
|
1749
2009
|
},
|
|
1750
|
-
}`,source:`packages/client/ui-settings/src/client/contract/slots.ts:
|
|
2010
|
+
}`,source:`packages/client/ui-settings/src/client/contract/slots.ts:81`},{key:`settings.section.icon`,kind:`list`,scope:`root`,summary:`Optional navigation icons addressed by the matching settings.section id.`,doc:`Optional navigation icons addressed by the matching settings.section id.
|
|
1751
2011
|
The registration id must equal the target section's id; unmatched ids
|
|
1752
2012
|
never render. The icon's label option is not displayed.
|
|
1753
2013
|
The shell owns the button and label and keeps its default glyph when
|
|
@@ -1757,7 +2017,7 @@ export interface SettingsSectionIconOwnerProps {
|
|
|
1757
2017
|
size: number
|
|
1758
2018
|
/** Whether this section is selected. */
|
|
1759
2019
|
active: boolean
|
|
1760
|
-
}`],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`
|
|
2020
|
+
}`],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`an entry in 'sidebar.settings' (client-ui-settings-general), so it exists while that entry is mounted`,occupants:[],replaceRisk:`none`,example:`return {
|
|
1761
2021
|
inject: ['slots'],
|
|
1762
2022
|
apply(ctx) {
|
|
1763
2023
|
ctx.slots.inject('settings.section.icon', () => ctx.slots.register(
|
|
@@ -1765,7 +2025,7 @@ export interface SettingsSectionIconOwnerProps {
|
|
|
1765
2025
|
() => React.createElement('div', null, 'hello'),
|
|
1766
2026
|
))
|
|
1767
2027
|
},
|
|
1768
|
-
}`,source:`packages/client/ui-settings/src/client/contract/slots.ts:
|
|
2028
|
+
}`,source:`packages/client/ui-settings/src/client/contract/slots.ts:89`},{key:`settings.trigger`,kind:`single`,scope:`root`,summary:`The sidebar-foot trigger row content: icon + label, supplied as slot content (the accessible name comes from the content — rail state renders the label visually hidden).`,doc:`The sidebar-foot trigger row content: icon + label, supplied as slot
|
|
1769
2029
|
content (the accessible name comes from the content — rail state
|
|
1770
2030
|
renders the label visually hidden). The shell renders the button
|
|
1771
2031
|
chrome and owns open state. Absent contribution degrades to an
|
|
@@ -1774,7 +2034,7 @@ the shipped composition always registers the seat).`,registerOptions:[],ownerPro
|
|
|
1774
2034
|
export interface SettingsTriggerOwnerProps {
|
|
1775
2035
|
/** Whether the sidebar renders wide content (false = 56px rail, icon only). */
|
|
1776
2036
|
wide: boolean
|
|
1777
|
-
}`],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`
|
|
2037
|
+
}`],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`an entry in 'sidebar.settings' (client-ui-settings-general), so it exists while that entry is mounted`,occupants:[`client-ui-settings-general TriggerContent`],replaceRisk:`shadows-shipped-ui`,example:`return {
|
|
1778
2038
|
inject: ['slots'],
|
|
1779
2039
|
apply(ctx) {
|
|
1780
2040
|
ctx.slots.inject('settings.trigger', () => ctx.slots.register(
|
|
@@ -1782,10 +2042,10 @@ export interface SettingsTriggerOwnerProps {
|
|
|
1782
2042
|
() => React.createElement('div', null, 'hello'),
|
|
1783
2043
|
))
|
|
1784
2044
|
},
|
|
1785
|
-
}`,source:`packages/client/ui-settings/src/client/contract/slots.ts:
|
|
2045
|
+
}`,source:`packages/client/ui-settings/src/client/contract/slots.ts:48`},{key:`shell.bottom`,kind:`single`,scope:`root`,summary:`Full-width bottom content below all three columns.`,doc:`Full-width bottom content below all three columns. Its rendered height
|
|
1786
2046
|
reduces the columns' available height; empty content reserves no space.
|
|
1787
2047
|
The occupant owns its height, visibility, and controls. It receives no
|
|
1788
|
-
Session binding and remains mounted across main-panel navigation.`,registerOptions:[],ownerProps:[],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`
|
|
2048
|
+
Session binding and remains mounted across main-panel navigation.`,registerOptions:[],ownerProps:[],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`an entry in 'root' (client-ui-layout), so it exists while that entry is mounted`,occupants:[`experimental-inspector InspectorPage`],replaceRisk:`shadows-shipped-ui`,example:`return {
|
|
1789
2049
|
inject: ['slots'],
|
|
1790
2050
|
apply(ctx) {
|
|
1791
2051
|
ctx.slots.inject('shell.bottom', () => ctx.slots.register(
|
|
@@ -1803,7 +2063,7 @@ While the seat is mounted the frame publishes
|
|
|
1803
2063
|
\`--dsh-frame-leading-clearance\` (the inline inset the seat's band
|
|
1804
2064
|
occupies, measured from the frame's left edge); a main panel whose
|
|
1805
2065
|
content reaches the top-left corner pads by it so nothing lands under
|
|
1806
|
-
the lights or the controls.`,registerOptions:[],ownerProps:[],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`
|
|
2066
|
+
the lights or the controls.`,registerOptions:[],ownerProps:[],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`an entry in 'root' (client-ui-layout), so it exists while that entry is mounted`,occupants:[`client-ui-sidebar HeaderLeadingControls`],replaceRisk:`shadows-shipped-ui`,example:`return {
|
|
1807
2067
|
inject: ['slots'],
|
|
1808
2068
|
apply(ctx) {
|
|
1809
2069
|
ctx.slots.inject('shell.leading', () => ctx.slots.register(
|
|
@@ -1818,7 +2078,7 @@ themselves. The layer itself is click-through — entries opt back into
|
|
|
1818
2078
|
pointer events — so an occupant never blocks the app underneath.
|
|
1819
2079
|
|
|
1820
2080
|
This is the additive seat for a frame-wide surface of your own: a fresh
|
|
1821
|
-
\`id\` is added beside the shipped entries instead of replacing them.`,registerOptions:[{name:`id`,requirement:`required`,type:`string`,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.`},{name:`order`,requirement:`optional`,type:`number`,doc:`Position among the entries, ascending (default 0).`},{name:`label`,requirement:`optional`,type:`string | (() => string)`,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.`}],ownerProps:[],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`
|
|
2081
|
+
\`id\` is added beside the shipped entries instead of replacing them.`,registerOptions:[{name:`id`,requirement:`required`,type:`string`,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.`},{name:`order`,requirement:`optional`,type:`number`,doc:`Position among the entries, ascending (default 0).`},{name:`label`,requirement:`optional`,type:`string | (() => string)`,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.`}],ownerProps:[],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`an entry in 'root' (client-ui-layout), so it exists while that entry is mounted`,occupants:[`client-remote-connection LoginLinkToast id 'remote-connection-copy'`,`client-remote-connection PairingToast id 'remote-connection-pairing-notice'`,`client-ui-agent-team TeamDisableConfirmation id 'agent-team.disable'`,`client-ui-chat QuotaNoticeHost id 'chat.quota-notice'`,`client-ui-connector-account ConnectorAccountToastEntry id 'connector-account.notice'`,`client-ui-context-menu MenuOverlay id 'context-menu'`,`client-ui-file-drag FileDragFeedback id 'file-drag.feedback'`,`client-ui-open-in-app OpenInAppToast id 'open-in-app.toast'`,`client-ui-plugin-manager PluginRefreshToast id 'plugin-manager.refresh-toast'`,`client-ui-schedule ScheduleDeleteToast id 'schedule.delete-toast'`,`client-ui-settings-account DesktopOnboardingEntry id 'desktop-onboarding'`,`client-ui-settings-account AccountPlatformHost id 'account.platform-page'`,`client-ui-settings-general DesktopChannelToast id 'desktop-channel-toast'`,`client-ui-settings-general HostReleasePrompt id 'host-release-change'`,`client-ui-settings-session-log UploadToast id 'session-log-upload-toast'`,`client-ui-shortcuts ShortcutReference id 'shortcuts'`,`client-ui-subagent SessionDropZone id 'subagent.session-drop'`,`client-ui-workspace SessionRenameDialog id 'workspace.session-rename'`,`client-ui-workspace SessionArchiveConfirmDialog id 'workspace.session-archive'`,`client-ui-workspace RowActionToast id 'workspace.row-toast'`,`experimental-client-ui-forge ActionToast id 'forge-panel.toast'`,`cua PermissionToast id 'cua-permission-outcome'`,`session-log-export SessionMarkdownCopyToast id 'session-log-download.copy-toast'`,`session-log-export SessionLogDownloadDialog id 'session-log-download'`],replaceRisk:`none`,example:`return {
|
|
1822
2082
|
inject: ['slots'],
|
|
1823
2083
|
apply(ctx) {
|
|
1824
2084
|
ctx.slots.inject('shell.overlay', () => ctx.slots.register(
|
|
@@ -1845,7 +2105,7 @@ export interface QuotaNoticeOwnerProps {
|
|
|
1845
2105
|
* @returns idempotent release that cannot clear another hold.
|
|
1846
2106
|
*/
|
|
1847
2107
|
keepOpen: () => () => void
|
|
1848
|
-
}`],ownerPropsReferences:[`QuotaNoticeCode`],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`
|
|
2108
|
+
}`],ownerPropsReferences:[`QuotaNoticeCode`],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`an entry in 'shell.overlay' (client-ui-chat), so it exists while that entry is mounted`,occupants:[`client-ui-settings-account AccountQuotaNotice`],replaceRisk:`none`,example:`return {
|
|
1849
2109
|
inject: ['slots'],
|
|
1850
2110
|
apply(ctx) {
|
|
1851
2111
|
ctx.slots.inject('shell.quota-notice', () => ctx.slots.register(
|
|
@@ -1853,7 +2113,7 @@ export interface QuotaNoticeOwnerProps {
|
|
|
1853
2113
|
() => React.createElement('div', null, 'hello'),
|
|
1854
2114
|
))
|
|
1855
2115
|
},
|
|
1856
|
-
}`,source:`packages/client/ui-chat/src/client/contract/slots.ts:
|
|
2116
|
+
}`,source:`packages/client/ui-chat/src/client/contract/slots.ts:520`},{key:`sidebar`,kind:`single`,scope:`root`,summary:`The whole left column.`,doc:`The whole left column. OCCUPIED by ui-sidebar's SidebarRoot, which
|
|
1857
2117
|
declares the workspace and settings seats inside it — registering here
|
|
1858
2118
|
replaces the navigation column outright rather than adding to it, and
|
|
1859
2119
|
the seats it declares disappear with it. To add something to the
|
|
@@ -1869,7 +2129,7 @@ export interface SidebarOwnerProps {
|
|
|
1869
2129
|
width: number
|
|
1870
2130
|
/** Present the retained sidebar content as an overlay drawer. */
|
|
1871
2131
|
drawer: boolean
|
|
1872
|
-
}`],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`
|
|
2132
|
+
}`],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`an entry in 'root' (client-ui-layout), so it exists while that entry is mounted`,occupants:[`client-ui-sidebar SidebarRoot`],replaceRisk:`shadows-shipped-ui`,example:`return {
|
|
1873
2133
|
inject: ['slots'],
|
|
1874
2134
|
apply(ctx) {
|
|
1875
2135
|
ctx.slots.inject('sidebar', () => ctx.slots.register(
|
|
@@ -1883,7 +2143,7 @@ the shell's fish fallback without replacing the surrounding controls.`,registerO
|
|
|
1883
2143
|
export interface SidebarBrandMarkOwnerProps {
|
|
1884
2144
|
/** Requested square edge in pixels. */
|
|
1885
2145
|
size: number
|
|
1886
|
-
}`],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`
|
|
2146
|
+
}`],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`an entry in 'sidebar' (client-ui-sidebar), so it exists while that entry is mounted`,occupants:[`client-ui-brand-official OfficialBrandMark`,`experimental-liveshare ViewerBrandMark`],replaceRisk:`shadows-shipped-ui`,example:`return {
|
|
1887
2147
|
inject: ['slots'],
|
|
1888
2148
|
apply(ctx) {
|
|
1889
2149
|
ctx.slots.inject('sidebar.brand.mark', () => ctx.slots.register(
|
|
@@ -1891,11 +2151,11 @@ export interface SidebarBrandMarkOwnerProps {
|
|
|
1891
2151
|
() => React.createElement('div', null, 'hello'),
|
|
1892
2152
|
))
|
|
1893
2153
|
},
|
|
1894
|
-
}`,source:`packages/client/ui-sidebar/src/client/contract/slots.ts:
|
|
2154
|
+
}`,source:`packages/client/ui-sidebar/src/client/contract/slots.ts:43`},{key:`sidebar.brand.name`,kind:`single`,scope:`root`,summary:`Brand name rendered beside the expanded mark.`,doc:"Brand name rendered beside the expanded mark. Declared by this\npackage's `sidebar` entry; the shell supplies a generic text fallback.",registerOptions:[],ownerProps:[`/** Empty owner share for the sidebar brand-name occupant. */
|
|
1895
2155
|
export interface SidebarBrandNameOwnerProps {
|
|
1896
2156
|
/** Marker field: the occupant owns its own content and width. */
|
|
1897
2157
|
children?: never
|
|
1898
|
-
}`],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`
|
|
2158
|
+
}`],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`an entry in 'sidebar' (client-ui-sidebar), so it exists while that entry is mounted`,occupants:[`client-ui-brand-official OfficialBrandName`,`experimental-liveshare ViewerBrandName`],replaceRisk:`shadows-shipped-ui`,example:`return {
|
|
1899
2159
|
inject: ['slots'],
|
|
1900
2160
|
apply(ctx) {
|
|
1901
2161
|
ctx.slots.inject('sidebar.brand.name', () => ctx.slots.register(
|
|
@@ -1903,7 +2163,7 @@ export interface SidebarBrandNameOwnerProps {
|
|
|
1903
2163
|
() => React.createElement('div', null, 'hello'),
|
|
1904
2164
|
))
|
|
1905
2165
|
},
|
|
1906
|
-
}`,source:`packages/client/ui-sidebar/src/client/contract/slots.ts:
|
|
2166
|
+
}`,source:`packages/client/ui-sidebar/src/client/contract/slots.ts:48`},{key:`sidebar.chat.conversation`,kind:`single`,scope:`session`,summary:`Session-scoped Conversation occurrence hosted by one Sidebar chat tab.`,doc:`Session-scoped Conversation occurrence hosted by one Sidebar chat tab.`,registerOptions:[],ownerProps:[],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`,`useChat: UseChat`,`useConversation: UseConversation`,`useInput: SnapshotSelectorHook<InputState>`,`inputActions: InputActions`,`useSession: SessionSnapshotSelector`,`sessionId: SessionId`,`useProjection: UseProjection`,`useAccess: (action: RemoteEndpoint) => boolean`,`useTrajectory: UseTrajectory`],keyDomain:``,hookContext:``,slotInject:`SidebarChatInjected`,declaredBy:`an entry in 'sidebar.right.pane.tab' (client-ui-subagent), so it exists while that entry is mounted`,occupants:[`client-ui-subagent ConversationSlotPanel`],replaceRisk:`shadows-shipped-ui`,example:`return {
|
|
1907
2167
|
inject: ['slots'],
|
|
1908
2168
|
apply(ctx) {
|
|
1909
2169
|
ctx.slots.inject('sidebar.chat.conversation', () => ctx.slots.register(
|
|
@@ -1911,12 +2171,12 @@ export interface SidebarBrandNameOwnerProps {
|
|
|
1911
2171
|
() => React.createElement('div', null, 'hello'),
|
|
1912
2172
|
))
|
|
1913
2173
|
},
|
|
1914
|
-
}`,source:`packages/client/ui-subagent/src/client/sidebar-chat/index.tsx:
|
|
2174
|
+
}`,source:`packages/client/ui-subagent/src/client/sidebar-chat/index.tsx:45`},{key:`sidebar.footer.action`,kind:`list`,scope:`root`,summary:`Optional actions beside Settings at the sidebar foot.`,doc:`Optional actions beside Settings at the sidebar foot. Declared by this
|
|
1915
2175
|
package's 'sidebar' entry; each action receives only the column state.`,registerOptions:[{name:`id`,requirement:`required`,type:`string`,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.`},{name:`order`,requirement:`optional`,type:`number`,doc:`Position among the entries, ascending (default 0).`},{name:`label`,requirement:`optional`,type:`string | (() => string)`,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.`}],ownerProps:[`/** Owner share of an action rendered beside Settings at the sidebar foot. */
|
|
1916
2176
|
export interface SidebarFooterActionOwnerProps {
|
|
1917
2177
|
/** Whether the sidebar renders wide content (false = 56px rail). */
|
|
1918
2178
|
wide: boolean
|
|
1919
|
-
}`],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`
|
|
2179
|
+
}`],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`an entry in 'sidebar' (client-ui-sidebar), so it exists while that entry is mounted`,occupants:[`client-ui-cordis CordisPanel id 'cordis-panel'`],replaceRisk:`none`,example:`return {
|
|
1920
2180
|
inject: ['slots'],
|
|
1921
2181
|
apply(ctx) {
|
|
1922
2182
|
ctx.slots.inject('sidebar.footer.action', () => ctx.slots.register(
|
|
@@ -1924,14 +2184,14 @@ export interface SidebarFooterActionOwnerProps {
|
|
|
1924
2184
|
() => React.createElement('div', null, 'hello'),
|
|
1925
2185
|
))
|
|
1926
2186
|
},
|
|
1927
|
-
}`,source:`packages/client/ui-sidebar/src/client/contract/slots.ts:
|
|
2187
|
+
}`,source:`packages/client/ui-sidebar/src/client/contract/slots.ts:89`},{key:`sidebar.panellist`,kind:`list`,scope:`root`,summary:`Global panel icons.`,doc:`Global panel icons. Each list id addresses the matching main panel;
|
|
1928
2188
|
the sidebar owns the button and resolves its label from list metadata.`,registerOptions:[{name:`id`,requirement:`required`,type:`string`,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.`},{name:`order`,requirement:`optional`,type:`number`,doc:`Position among the entries, ascending (default 0).`},{name:`label`,requirement:`optional`,type:`string | (() => string)`,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.`}],ownerProps:[`/** Icon presentation supplied by the global panel row. */
|
|
1929
2189
|
export interface SidebarPanelIconOwnerProps {
|
|
1930
2190
|
/** Requested square edge in pixels. */
|
|
1931
2191
|
size: number
|
|
1932
2192
|
/** Whether this panel is selected in the main column. */
|
|
1933
2193
|
active: boolean
|
|
1934
|
-
}`],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`
|
|
2194
|
+
}`],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`factory 'sidebar.panel.icon' (client-ui-sidebar), so it exists while that definition is registered`,occupants:[`client-ui-plugin-manager PluginsPanelIcon`,`client-ui-schedule TaskManagerIcon`,`experimental-client-ui-forge ReviewNavIcon`],replaceRisk:`none`,example:`return {
|
|
1935
2195
|
inject: ['slots'],
|
|
1936
2196
|
apply(ctx) {
|
|
1937
2197
|
ctx.slots.inject('sidebar.panellist', () => ctx.slots.register(
|
|
@@ -1939,7 +2199,7 @@ export interface SidebarPanelIconOwnerProps {
|
|
|
1939
2199
|
() => React.createElement('div', null, 'hello'),
|
|
1940
2200
|
))
|
|
1941
2201
|
},
|
|
1942
|
-
}`,source:`packages/client/ui-sidebar/src/client/contract/slots.ts:
|
|
2202
|
+
}`,source:`packages/client/ui-sidebar/src/client/contract/slots.ts:53`},{key:`sidebar.panellist.actions`,kind:`list`,scope:`root`,summary:`Rows of the panel list's More menu; the sidebar shows More only while this list has registrations.`,doc:`Rows of the panel list's More menu; the sidebar shows More only while this list has registrations.`,registerOptions:[{name:`id`,requirement:`required`,type:`string`,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.`},{name:`order`,requirement:`optional`,type:`number`,doc:`Position among the entries, ascending (default 0).`},{name:`label`,requirement:`optional`,type:`string | (() => string)`,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.`}],ownerProps:[`/** Owner share of the panel list's More menu rows. */
|
|
1943
2203
|
export interface SidebarPanelActionsOwnerProps {
|
|
1944
2204
|
/** Customizable panels in registration order; Plugins is never listed. */
|
|
1945
2205
|
readonly entries: readonly SidebarPanelActionEntry[]
|
|
@@ -1956,7 +2216,7 @@ export interface SidebarPanelActionsOwnerProps {
|
|
|
1956
2216
|
readonly onPinnedChange: (id: string, pinned: boolean) => void
|
|
1957
2217
|
/** Close the More menu. */
|
|
1958
2218
|
readonly onDismiss: () => void
|
|
1959
|
-
}`],ownerPropsReferences:[`SidebarPanelActionEntry`],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`
|
|
2219
|
+
}`],ownerPropsReferences:[`SidebarPanelActionEntry`],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`an entry in 'sidebar' (client-ui-sidebar), so it exists while that entry is mounted`,occupants:[`client-ui-entry-customization EntryMenuContent id 'entry-customization'`],replaceRisk:`none`,example:`return {
|
|
1960
2220
|
inject: ['slots'],
|
|
1961
2221
|
apply(ctx) {
|
|
1962
2222
|
ctx.slots.inject('sidebar.panellist.actions', () => ctx.slots.register(
|
|
@@ -1964,11 +2224,29 @@ export interface SidebarPanelActionsOwnerProps {
|
|
|
1964
2224
|
() => React.createElement('div', null, 'hello'),
|
|
1965
2225
|
))
|
|
1966
2226
|
},
|
|
1967
|
-
}`,source:`packages/client/ui-sidebar/src/client/contract/slots.ts:
|
|
2227
|
+
}`,source:`packages/client/ui-sidebar/src/client/contract/slots.ts:63`},{key:`sidebar.panellist.trailing`,kind:`list`,scope:`root`,summary:`Non-interactive inline content at the end of a panel's navigation row, registered with the panel's id, such as a count.`,doc:`Non-interactive inline content at the end of a panel's navigation row, registered with the panel's id, such as a
|
|
2228
|
+
count. The expanded row lays it out after its title, before the space its unpin action takes, so a row without
|
|
2229
|
+
content keeps its full title width; the collapsed rail shows it over the icon's top trailing corner. It renders
|
|
2230
|
+
inside the row's button: its text describes that button for assistive technology, so decorative parts are
|
|
2231
|
+
\`aria-hidden\`, and it holds no interactive elements.`,registerOptions:[{name:`id`,requirement:`required`,type:`string`,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.`},{name:`order`,requirement:`optional`,type:`number`,doc:`Position among the entries, ascending (default 0).`},{name:`label`,requirement:`optional`,type:`string | (() => string)`,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.`}],ownerProps:[`/** Row state supplied to a panel's trailing content. */
|
|
2232
|
+
export interface SidebarPanelTrailingOwnerProps {
|
|
2233
|
+
/** Whether the sidebar is expanded; the collapsed rail leaves room for a mark of a few pixels only. */
|
|
2234
|
+
wide: boolean
|
|
2235
|
+
/** Whether this panel is selected in the main column. */
|
|
2236
|
+
active: boolean
|
|
2237
|
+
}`],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`factory 'sidebar.panel.trailing' (client-ui-sidebar), so it exists while that definition is registered`,occupants:[`experimental-client-ui-forge ReviewNavCount`],replaceRisk:`none`,example:`return {
|
|
2238
|
+
inject: ['slots'],
|
|
2239
|
+
apply(ctx) {
|
|
2240
|
+
ctx.slots.inject('sidebar.panellist.trailing', () => ctx.slots.register(
|
|
2241
|
+
{ name: 'sidebar.panellist.trailing', id: 'my-entry', order: 100, label: 'My entry' },
|
|
2242
|
+
() => React.createElement('div', null, 'hello'),
|
|
2243
|
+
))
|
|
2244
|
+
},
|
|
2245
|
+
}`,source:`packages/client/ui-sidebar/src/client/contract/slots.ts:61`},{key:`sidebar.right.pane.tab`,kind:`keyed`,scope:`session`,summary:"One tab's body, dispatched with the `id` of the type in force for `tab.kind`.",doc:`One tab's body, dispatched with the \`id\` of the type in force for
|
|
1968
2246
|
\`tab.kind\`. A tab type registers here under its definition's \`id\` and
|
|
1969
2247
|
receives every tab of that kind, in every pane, docked or floating. A kind
|
|
1970
2248
|
with no type in force renders the owner's "nothing can view this" notice
|
|
1971
|
-
rather than an empty pane.`,registerOptions:[{name:`key`,requirement:`required`,type:`string`,doc:`Your cell key: the entry renders where the owner dispatches this exact key. Registering an already-occupied key replaces that occupant.`}],ownerProps:[],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`
|
|
2249
|
+
rather than an empty pane.`,registerOptions:[{name:`key`,requirement:`required`,type:`string`,doc:`Your cell key: the entry renders where the owner dispatches this exact key. Registering an already-occupied key replaces that occupant.`}],ownerProps:[],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`,`useChat: UseChat`,`useConversation: UseConversation`,`useInput: SnapshotSelectorHook<InputState>`,`inputActions: InputActions`,`useSession: SessionSnapshotSelector`,`sessionId: SessionId`,`useProjection: UseProjection`,`useAccess: (action: RemoteEndpoint) => boolean`,`useTrajectory: UseTrajectory`],keyDomain:`open: any string the owner dispatches (no compile-time key set), none are taken yet`,hookContext:`TabHookContext`,slotInject:`SidebarRightTabInjected`,declaredBy:`an entry in 'rightbar.session' (client-ui-sidebar-right), so it exists while that entry is mounted`,occupants:[`client-ui-deliverables ReviewTab`,`client-ui-plan PlanPreview`,`client-ui-schedule ScheduleTaskTab`,`client-ui-sidebar-browser BrowserBody`,`client-ui-sidebar-documentpreview TextPreview`,`client-ui-sidebar-documentpreview SummaryPreview`,`client-ui-sidebar-files FilesBody`,`client-ui-sidebar-right GuideBody`,`client-ui-sidebar-terminal LazyTerminalBody`,`client-ui-subagent SidebarChatTab`,`experimental-client-ui-forge ChangesTab`,`experimental-session-inspector SessionInspectorView`,`timeline Panel`],replaceRisk:`none`,example:`return {
|
|
1972
2250
|
inject: ['slots'],
|
|
1973
2251
|
apply(ctx) {
|
|
1974
2252
|
ctx.slots.inject('sidebar.right.pane.tab', () => ctx.slots.register(
|
|
@@ -1981,7 +2259,7 @@ dispatched with the same key and information hook as the body. A type with a
|
|
|
1981
2259
|
live title — a terminal named after its shell, a chat after its first
|
|
1982
2260
|
line — registers here and reads its own store; one without registers
|
|
1983
2261
|
nothing and the chip shows the registry's \`title(address)\` text captured
|
|
1984
|
-
at open time.`,registerOptions:[{name:`key`,requirement:`required`,type:`string`,doc:`Your cell key: the entry renders where the owner dispatches this exact key. Registering an already-occupied key replaces that occupant.`}],ownerProps:[],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`
|
|
2262
|
+
at open time.`,registerOptions:[{name:`key`,requirement:`required`,type:`string`,doc:`Your cell key: the entry renders where the owner dispatches this exact key. Registering an already-occupied key replaces that occupant.`}],ownerProps:[],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`,`useChat: UseChat`,`useConversation: UseConversation`,`useInput: SnapshotSelectorHook<InputState>`,`inputActions: InputActions`,`useSession: SessionSnapshotSelector`,`sessionId: SessionId`,`useProjection: UseProjection`,`useAccess: (action: RemoteEndpoint) => boolean`,`useTrajectory: UseTrajectory`],keyDomain:`open: any string the owner dispatches (no compile-time key set), none are taken yet`,hookContext:`TabHookContext`,slotInject:`SidebarRightTabInjected`,declaredBy:`an entry in 'rightbar.session' (client-ui-sidebar-right), so it exists while that entry is mounted`,occupants:[`client-ui-plan PlanTitle`,`client-ui-schedule ScheduleTaskTabTitle`,`client-ui-sidebar-browser BrowserTitle`,`client-ui-sidebar-documentpreview TextTitle`,`client-ui-sidebar-documentpreview SummaryTitle`,`client-ui-sidebar-files FilesTitle`,`client-ui-sidebar-right GuideTitle`,`client-ui-sidebar-terminal TerminalTitle`,`experimental-client-ui-forge ChangesTabTitle`],replaceRisk:`none`,example:`return {
|
|
1985
2263
|
inject: ['slots'],
|
|
1986
2264
|
apply(ctx) {
|
|
1987
2265
|
ctx.slots.inject('sidebar.right.pane.tab.title', () => ctx.slots.register(
|
|
@@ -2003,7 +2281,7 @@ export interface DocumentBodyOwner {
|
|
|
2003
2281
|
readonly wrap: boolean
|
|
2004
2282
|
/** Report a renderer-owned scrollport; passing \`null\` restores the shared body as the owner. */
|
|
2005
2283
|
readonly scrollportRef: RefCallback<HTMLElement>
|
|
2006
|
-
}`],ownerPropsReferences:[`DocumentContent`],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`
|
|
2284
|
+
}`],ownerPropsReferences:[`DocumentContent`],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`,`useChat: UseChat`,`useConversation: UseConversation`,`useInput: SnapshotSelectorHook<InputState>`,`inputActions: InputActions`,`useSession: SessionSnapshotSelector`,`sessionId: SessionId`,`useProjection: UseProjection`,`useAccess: (action: RemoteEndpoint) => boolean`,`useTrajectory: UseTrajectory`],keyDomain:`open: any string the owner dispatches (no compile-time key set), none are taken yet`,hookContext:`UseSidebarRightTabInfo`,slotInject:`{ hooks: { tabInfo: SlotHookFactory<'sidebar.right.tab.document', UseSidebarRightTabInfo> } }`,declaredBy:`an entry in 'sidebar.right.pane.tab' (client-ui-sidebar-documentpreview), so it exists while that entry is mounted`,occupants:[`client-ui-sidebar-documentpreview CodeBody`,`client-ui-sidebar-documentpreview LazyExcelBody`,`client-ui-sidebar-documentpreview HtmlBody`,`client-ui-sidebar-documentpreview ImageBody`,`client-ui-sidebar-documentpreview MarkdownBody`,`client-ui-sidebar-documentpreview OfficeBody`,`client-ui-sidebar-documentpreview LazyPdfBody`,`client-ui-sidebar-documentpreview TextBody`],replaceRisk:`none`,example:`return {
|
|
2007
2285
|
inject: ['slots'],
|
|
2008
2286
|
apply(ctx) {
|
|
2009
2287
|
ctx.slots.inject('sidebar.right.tab.document', () => ctx.slots.register(
|
|
@@ -2028,7 +2306,7 @@ export type DocumentContent =
|
|
|
2028
2306
|
readonly failed: () => void
|
|
2029
2307
|
/** Cancel the current load and start a new revision. */
|
|
2030
2308
|
readonly reload: () => void
|
|
2031
|
-
}`],ownerPropsReferences:[`DocumentTextPage`],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`
|
|
2309
|
+
}`],ownerPropsReferences:[`DocumentTextPage`],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`,`useChat: UseChat`,`useConversation: UseConversation`,`useInput: SnapshotSelectorHook<InputState>`,`inputActions: InputActions`,`useSession: SessionSnapshotSelector`,`sessionId: SessionId`,`useProjection: UseProjection`,`useAccess: (action: RemoteEndpoint) => boolean`,`useTrajectory: UseTrajectory`],keyDomain:`open: any string the owner dispatches (no compile-time key set), none are taken yet`,hookContext:`UseSidebarRightTabInfo`,slotInject:`{ hooks: { tabInfo: SlotHookFactory<'sidebar.right.tab.document', UseSidebarRightTabInfo> } }`,declaredBy:`an entry in 'sidebar.right.pane.tab' (client-ui-sidebar-documentpreview), so it exists while that entry is mounted`,occupants:[`client-ui-sidebar-documentpreview OfficeFontAction`],replaceRisk:`none`,example:`return {
|
|
2032
2310
|
inject: ['slots'],
|
|
2033
2311
|
apply(ctx) {
|
|
2034
2312
|
ctx.slots.inject('sidebar.right.tab.document.action', () => ctx.slots.register(
|
|
@@ -2037,7 +2315,7 @@ export type DocumentContent =
|
|
|
2037
2315
|
))
|
|
2038
2316
|
},
|
|
2039
2317
|
}`,source:`packages/client/ui-sidebar-documentpreview/src/client/document/contract.ts:87`},{key:`sidebar.right.tab.document.actions`,kind:`list`,scope:`session`,summary:`Header toolbar contributions acting on the previewed file, rendered after the preview's own controls once the file's Host path is known.`,doc:`Header toolbar contributions acting on the previewed file, rendered
|
|
2040
|
-
after the preview's own controls once the file's Host path is known.`,registerOptions:[{name:`id`,requirement:`required`,type:`string`,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.`},{name:`order`,requirement:`optional`,type:`number`,doc:`Position among the entries, ascending (default 0).`},{name:`label`,requirement:`optional`,type:`string | (() => string)`,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.`}],ownerProps:[],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`
|
|
2318
|
+
after the preview's own controls once the file's Host path is known.`,registerOptions:[{name:`id`,requirement:`required`,type:`string`,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.`},{name:`order`,requirement:`optional`,type:`number`,doc:`Position among the entries, ascending (default 0).`},{name:`label`,requirement:`optional`,type:`string | (() => string)`,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.`}],ownerProps:[],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`,`useChat: UseChat`,`useConversation: UseConversation`,`useInput: SnapshotSelectorHook<InputState>`,`inputActions: InputActions`,`useSession: SessionSnapshotSelector`,`sessionId: SessionId`,`useProjection: UseProjection`,`useAccess: (action: RemoteEndpoint) => boolean`,`useTrajectory: UseTrajectory`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`an entry in 'sidebar.right.pane.tab' (client-ui-sidebar-documentpreview), so it exists while that entry is mounted`,occupants:[`client-ui-open-in-app OpenPathAction id 'open-in-app'`],replaceRisk:`none`,example:`return {
|
|
2041
2319
|
inject: ['slots'],
|
|
2042
2320
|
apply(ctx) {
|
|
2043
2321
|
ctx.slots.inject('sidebar.right.tab.document.actions', () => ctx.slots.register(
|
|
@@ -2059,7 +2337,7 @@ export interface DocumentBodyOwner {
|
|
|
2059
2337
|
readonly wrap: boolean
|
|
2060
2338
|
/** Report a renderer-owned scrollport; passing \`null\` restores the shared body as the owner. */
|
|
2061
2339
|
readonly scrollportRef: RefCallback<HTMLElement>
|
|
2062
|
-
}`],ownerPropsReferences:[`DocumentContent`],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`
|
|
2340
|
+
}`],ownerPropsReferences:[`DocumentContent`],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`,`useChat: UseChat`,`useConversation: UseConversation`,`useInput: SnapshotSelectorHook<InputState>`,`inputActions: InputActions`,`useSession: SessionSnapshotSelector`,`sessionId: SessionId`,`useProjection: UseProjection`,`useAccess: (action: RemoteEndpoint) => boolean`,`useTrajectory: UseTrajectory`],keyDomain:`open: any string the owner dispatches (no compile-time key set), none are taken yet`,hookContext:`UseSidebarRightTabInfo`,slotInject:`{ hooks: { tabInfo: SlotHookFactory<'sidebar.right.tab.document', UseSidebarRightTabInfo> } }`,declaredBy:`an entry in 'sidebar.right.tab.document' (client-ui-sidebar-documentpreview), so it exists while that entry is mounted`,occupants:[`client-ui-sidebar-documentpreview LazyPdfBody`],replaceRisk:`none`,example:`return {
|
|
2063
2341
|
inject: ['slots'],
|
|
2064
2342
|
apply(ctx) {
|
|
2065
2343
|
ctx.slots.inject('sidebar.right.tab.document.office.pdf', () => ctx.slots.register(
|
|
@@ -2068,7 +2346,7 @@ export interface DocumentBodyOwner {
|
|
|
2068
2346
|
))
|
|
2069
2347
|
},
|
|
2070
2348
|
}`,source:`packages/client/ui-sidebar-documentpreview/src/client/office/OfficeBody.tsx:19`},{key:`sidebar.right.tab.document.unpreviewable`,kind:`list`,scope:`session`,summary:`Empty-state contributions for a file this preview cannot render, offered where Retry would stand once the file's Host path is known.`,doc:`Empty-state contributions for a file this preview cannot render,
|
|
2071
|
-
offered where Retry would stand once the file's Host path is known.`,registerOptions:[{name:`id`,requirement:`required`,type:`string`,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.`},{name:`order`,requirement:`optional`,type:`number`,doc:`Position among the entries, ascending (default 0).`},{name:`label`,requirement:`optional`,type:`string | (() => string)`,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.`}],ownerProps:[],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`
|
|
2349
|
+
offered where Retry would stand once the file's Host path is known.`,registerOptions:[{name:`id`,requirement:`required`,type:`string`,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.`},{name:`order`,requirement:`optional`,type:`number`,doc:`Position among the entries, ascending (default 0).`},{name:`label`,requirement:`optional`,type:`string | (() => string)`,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.`}],ownerProps:[],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`,`useChat: UseChat`,`useConversation: UseConversation`,`useInput: SnapshotSelectorHook<InputState>`,`inputActions: InputActions`,`useSession: SessionSnapshotSelector`,`sessionId: SessionId`,`useProjection: UseProjection`,`useAccess: (action: RemoteEndpoint) => boolean`,`useTrajectory: UseTrajectory`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`an entry in 'sidebar.right.pane.tab' (client-ui-sidebar-documentpreview), so it exists while that entry is mounted`,occupants:[`client-ui-open-in-app OpenPathEmptyAction id 'open-in-app'`],replaceRisk:`none`,example:`return {
|
|
2072
2350
|
inject: ['slots'],
|
|
2073
2351
|
apply(ctx) {
|
|
2074
2352
|
ctx.slots.inject('sidebar.right.tab.document.unpreviewable', () => ctx.slots.register(
|
|
@@ -2076,7 +2354,7 @@ offered where Retry would stand once the file's Host path is known.`,registerOpt
|
|
|
2076
2354
|
() => React.createElement('div', null, 'hello'),
|
|
2077
2355
|
))
|
|
2078
2356
|
},
|
|
2079
|
-
}`,source:`packages/client/ui-sidebar-documentpreview/src/client/document/contract.ts:78`},{key:`sidebar.right.tab.files.actions`,kind:`list`,scope:`session`,summary:"Workspace directory actions after the `files` page's reload control.",doc:"Workspace directory actions after the `files` page's reload control.",registerOptions:[{name:`id`,requirement:`required`,type:`string`,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.`},{name:`order`,requirement:`optional`,type:`number`,doc:`Position among the entries, ascending (default 0).`},{name:`label`,requirement:`optional`,type:`string | (() => string)`,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.`}],ownerProps:[],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`
|
|
2357
|
+
}`,source:`packages/client/ui-sidebar-documentpreview/src/client/document/contract.ts:78`},{key:`sidebar.right.tab.files.actions`,kind:`list`,scope:`session`,summary:"Workspace directory actions after the `files` page's reload control.",doc:"Workspace directory actions after the `files` page's reload control.",registerOptions:[{name:`id`,requirement:`required`,type:`string`,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.`},{name:`order`,requirement:`optional`,type:`number`,doc:`Position among the entries, ascending (default 0).`},{name:`label`,requirement:`optional`,type:`string | (() => string)`,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.`}],ownerProps:[],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`,`useChat: UseChat`,`useConversation: UseConversation`,`useInput: SnapshotSelectorHook<InputState>`,`inputActions: InputActions`,`useSession: SessionSnapshotSelector`,`sessionId: SessionId`,`useProjection: UseProjection`,`useAccess: (action: RemoteEndpoint) => boolean`,`useTrajectory: UseTrajectory`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`an entry in 'sidebar.right.pane.tab' (client-ui-sidebar-files), so it exists while that entry is mounted`,occupants:[`client-ui-open-in-app OpenInAppAction id 'open-in-app'`],replaceRisk:`none`,example:`return {
|
|
2080
2358
|
inject: ['slots'],
|
|
2081
2359
|
apply(ctx) {
|
|
2082
2360
|
ctx.slots.inject('sidebar.right.tab.files.actions', () => ctx.slots.register(
|
|
@@ -2086,7 +2364,7 @@ offered where Retry would stand once the file's Host path is known.`,registerOpt
|
|
|
2086
2364
|
},
|
|
2087
2365
|
}`,source:`packages/client/ui-sidebar-files/src/client/index.ts:46`},{key:`sidebar.right.tab.guide`,kind:`chain`,scope:`session`,summary:`The guide tab's body.`,doc:`The guide tab's body. Selectors run in chain order and the first
|
|
2088
2366
|
non-declining entry replaces the shipped guide entirely; with no entry, or
|
|
2089
|
-
with every entry declining, the shipped guide renders.`,registerOptions:[{name:`select`,requirement:`required`,type:`(owner) => unknown | null`,doc:"Pure routing selector. Entries are tried in ascending order; the first non-null result wins and arrives as the component's `matched` prop. All-null falls through to the owner's fallback."}],ownerProps:[],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`
|
|
2367
|
+
with every entry declining, the shipped guide renders.`,registerOptions:[{name:`select`,requirement:`required`,type:`(owner) => unknown | null`,doc:"Pure routing selector. Entries are tried in ascending order; the first non-null result wins and arrives as the component's `matched` prop. All-null falls through to the owner's fallback."}],ownerProps:[],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`,`useChat: UseChat`,`useConversation: UseConversation`,`useInput: SnapshotSelectorHook<InputState>`,`inputActions: InputActions`,`useSession: SessionSnapshotSelector`,`sessionId: SessionId`,`useProjection: UseProjection`,`useAccess: (action: RemoteEndpoint) => boolean`,`useTrajectory: UseTrajectory`],keyDomain:``,hookContext:`UseSidebarRightTabInfo`,slotInject:`{ hooks: { tabInfo: SlotHookFactory<'sidebar.right.tab.guide', UseSidebarRightTabInfo> } }`,declaredBy:`an entry in 'sidebar.right.pane.tab' (client-ui-sidebar-right), so it exists while that entry is mounted`,occupants:[],replaceRisk:`none`,example:`return {
|
|
2090
2368
|
inject: ['slots'],
|
|
2091
2369
|
apply(ctx) {
|
|
2092
2370
|
ctx.slots.inject('sidebar.right.tab.guide', () => ctx.slots.register(
|
|
@@ -2111,7 +2389,7 @@ export interface SidebarRightGuideActionsOwnerProps {
|
|
|
2111
2389
|
readonly onPinnedChange: (id: string, pinned: boolean) => void
|
|
2112
2390
|
/** Close the More menu. */
|
|
2113
2391
|
readonly onDismiss: () => void
|
|
2114
|
-
}`],ownerPropsReferences:[`SidebarRightGuideActionEntry`],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`
|
|
2392
|
+
}`],ownerPropsReferences:[`SidebarRightGuideActionEntry`],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`an entry in 'sidebar.right.pane.tab' (client-ui-sidebar-right), so it exists while that entry is mounted`,occupants:[`client-ui-entry-customization EntryMenuContent id 'entry-customization'`],replaceRisk:`none`,example:`return {
|
|
2115
2393
|
inject: ['slots'],
|
|
2116
2394
|
apply(ctx) {
|
|
2117
2395
|
ctx.slots.inject('sidebar.right.tab.guide.actions', () => ctx.slots.register(
|
|
@@ -2125,7 +2403,7 @@ export interface SidebarRightGuideEntryOwnerProps {
|
|
|
2125
2403
|
readonly kind: string
|
|
2126
2404
|
readonly title: string
|
|
2127
2405
|
readonly description?: string
|
|
2128
|
-
}`],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`
|
|
2406
|
+
}`],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`,`useChat: UseChat`,`useConversation: UseConversation`,`useInput: SnapshotSelectorHook<InputState>`,`inputActions: InputActions`,`useSession: SessionSnapshotSelector`,`sessionId: SessionId`,`useProjection: UseProjection`,`useAccess: (action: RemoteEndpoint) => boolean`,`useTrajectory: UseTrajectory`],keyDomain:`open: any string the owner dispatches (no compile-time key set), none are taken yet`,hookContext:`UseSidebarRightTabInfo`,slotInject:`{ hooks: { tabInfo: SlotHookFactory<'sidebar.right.tab.guide.entry', UseSidebarRightTabInfo> } }`,declaredBy:`an entry in 'sidebar.right.pane.tab' (client-ui-sidebar-right), so it exists while that entry is mounted`,occupants:[`client-ui-sidebar-terminal TerminalGuide`],replaceRisk:`none`,example:`return {
|
|
2129
2407
|
inject: ['slots'],
|
|
2130
2408
|
apply(ctx) {
|
|
2131
2409
|
ctx.slots.inject('sidebar.right.tab.guide.entry', () => ctx.slots.register(
|
|
@@ -2147,7 +2425,7 @@ export interface SidebarRightTabMenuOwnerProps {
|
|
|
2147
2425
|
* over content the action may have just replaced.
|
|
2148
2426
|
*/
|
|
2149
2427
|
dismiss: () => void
|
|
2150
|
-
}`],ownerPropsReferences:[`TabRecord`],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`
|
|
2428
|
+
}`],ownerPropsReferences:[`TabRecord`],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`,`useChat: UseChat`,`useConversation: UseConversation`,`useInput: SnapshotSelectorHook<InputState>`,`inputActions: InputActions`,`useSession: SessionSnapshotSelector`,`sessionId: SessionId`,`useProjection: UseProjection`,`useAccess: (action: RemoteEndpoint) => boolean`,`useTrajectory: UseTrajectory`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`an entry in 'contextMenu.content' (client-ui-sidebar-right), so it exists while that entry is mounted`,occupants:[],replaceRisk:`none`,example:`return {
|
|
2151
2429
|
inject: ['slots'],
|
|
2152
2430
|
apply(ctx) {
|
|
2153
2431
|
ctx.slots.inject('sidebar.right.tab.menu.item', () => ctx.slots.register(
|
|
@@ -2166,7 +2444,7 @@ Declared by this package's 'sidebar' entry.`,registerOptions:[{name:`id`,require
|
|
|
2166
2444
|
export interface SidebarSessionActionOwnerProps {
|
|
2167
2445
|
/** Whether the sidebar renders wide content (false = 56px rail). */
|
|
2168
2446
|
wide: boolean
|
|
2169
|
-
}`],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`
|
|
2447
|
+
}`],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`an entry in 'sidebar' (client-ui-sidebar), so it exists while that entry is mounted`,occupants:[`deepseek-chat-import ImportSessionsAction id 'deepseek-chat-import'`],replaceRisk:`wraps-owner-content`,example:`return {
|
|
2170
2448
|
inject: ['slots'],
|
|
2171
2449
|
apply(ctx) {
|
|
2172
2450
|
ctx.slots.inject('sidebar.session.action', () => ctx.slots.register(
|
|
@@ -2174,7 +2452,7 @@ export interface SidebarSessionActionOwnerProps {
|
|
|
2174
2452
|
({ children }) => React.createElement('div', null, children),
|
|
2175
2453
|
))
|
|
2176
2454
|
},
|
|
2177
|
-
}`,source:`packages/client/ui-sidebar/src/client/contract/slots.ts:
|
|
2455
|
+
}`,source:`packages/client/ui-sidebar/src/client/contract/slots.ts:100`},{key:`sidebar.session.row.hover`,kind:`list`,scope:`root`,summary:`Section of the Session row's hover card between its relative time and its trailing status line.`,doc:`Section of the Session row's hover card between its relative time and
|
|
2178
2456
|
its trailing status line. Mounted only while that card is open.`,registerOptions:[{name:`id`,requirement:`required`,type:`string`,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.`},{name:`order`,requirement:`optional`,type:`number`,doc:`Position among the entries, ascending (default 0).`},{name:`label`,requirement:`optional`,type:`string | (() => string)`,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.`}],ownerProps:[`/**
|
|
2179
2457
|
* Owner share of the two Session-row schedule seats. Both receive only the
|
|
2180
2458
|
* row's Session identity: the occupant reads that Session's own scheduled
|
|
@@ -2183,7 +2461,7 @@ its trailing status line. Mounted only while that card is open.`,registerOptions
|
|
|
2183
2461
|
export interface SessionRowScheduleOwnerProps {
|
|
2184
2462
|
/** Session this row shows; the occupant addresses its own data by this id. */
|
|
2185
2463
|
readonly sessionId: SessionId
|
|
2186
|
-
}`],ownerPropsReferences:[`SessionId`],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`
|
|
2464
|
+
}`],ownerPropsReferences:[`SessionId`],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`an entry in 'sidebar.workspaces' (client-ui-workspace), so it exists while that entry is mounted`,occupants:[`client-ui-schedule SessionScheduleHover id 'schedule-tasks'`,`experimental-client-ui-forge SessionHoverForge id 'forge-panel.row'`],replaceRisk:`none`,example:`return {
|
|
2187
2465
|
inject: ['slots'],
|
|
2188
2466
|
apply(ctx) {
|
|
2189
2467
|
ctx.slots.inject('sidebar.session.row.hover', () => ctx.slots.register(
|
|
@@ -2191,7 +2469,7 @@ export interface SessionRowScheduleOwnerProps {
|
|
|
2191
2469
|
() => React.createElement('div', null, 'hello'),
|
|
2192
2470
|
))
|
|
2193
2471
|
},
|
|
2194
|
-
}`,source:`packages/client/ui-workspace/src/client/contract/slots.ts:
|
|
2472
|
+
}`,source:`packages/client/ui-workspace/src/client/contract/slots.ts:181`},{key:`sidebar.session.row.leading`,kind:`list`,scope:`root`,summary:`Leading decoration of one Session row, in the 16px cell before the title that the row's own state dot otherwise occupies.`,doc:`Leading decoration of one Session row, in the 16px cell before the title
|
|
2195
2473
|
that the row's own state dot otherwise occupies. A higher-priority state
|
|
2196
2474
|
(a pending interaction, a new message, live activity) replaces the seat
|
|
2197
2475
|
with that dot for the same row, so an occupant here never renders beside
|
|
@@ -2205,7 +2483,7 @@ seat renders there, and its live status appears on the hover card only.`,registe
|
|
|
2205
2483
|
export interface SessionRowScheduleOwnerProps {
|
|
2206
2484
|
/** Session this row shows; the occupant addresses its own data by this id. */
|
|
2207
2485
|
readonly sessionId: SessionId
|
|
2208
|
-
}`],ownerPropsReferences:[`SessionId`],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`
|
|
2486
|
+
}`],ownerPropsReferences:[`SessionId`],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`an entry in 'sidebar.workspaces' (client-ui-workspace), so it exists while that entry is mounted`,occupants:[`client-ui-schedule SessionScheduleMark id 'schedule-mark'`,`experimental-liveshare ViewerForkMarker id 'liveshare.fork'`],replaceRisk:`none`,example:`return {
|
|
2209
2487
|
inject: ['slots'],
|
|
2210
2488
|
apply(ctx) {
|
|
2211
2489
|
ctx.slots.inject('sidebar.session.row.leading', () => ctx.slots.register(
|
|
@@ -2213,7 +2491,7 @@ export interface SessionRowScheduleOwnerProps {
|
|
|
2213
2491
|
() => React.createElement('div', null, 'hello'),
|
|
2214
2492
|
))
|
|
2215
2493
|
},
|
|
2216
|
-
}`,source:`packages/client/ui-workspace/src/client/contract/slots.ts:
|
|
2494
|
+
}`,source:`packages/client/ui-workspace/src/client/contract/slots.ts:167`},{key:`sidebar.session.row.trailing`,kind:`list`,scope:`root`,summary:"Non-interactive icons after the row's time label, before its pin marker, in ascending `order`.",doc:`Non-interactive icons after the row's time label, before its pin marker,
|
|
2217
2495
|
in ascending \`order\`. On hover-capable devices, hidden while the row is
|
|
2218
2496
|
hovered, has keyboard focus on itself or its actions, or has an open menu.
|
|
2219
2497
|
Hoverless devices keep the icons beside the menu trigger. Blank Sessions
|
|
@@ -2222,7 +2500,7 @@ bind or retain the Session.`,registerOptions:[{name:`id`,requirement:`required`,
|
|
|
2222
2500
|
export interface SessionRowTrailingOwnerProps {
|
|
2223
2501
|
/** Session this row shows. */
|
|
2224
2502
|
readonly sessionId: SessionId
|
|
2225
|
-
}`],ownerPropsReferences:[`SessionId`],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`
|
|
2503
|
+
}`],ownerPropsReferences:[`SessionId`],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`an entry in 'sidebar.workspaces' (client-ui-workspace), so it exists while that entry is mounted`,occupants:[`experimental-client-ui-forge SessionRowForge id 'forge-panel.row'`],replaceRisk:`none`,example:`return {
|
|
2226
2504
|
inject: ['slots'],
|
|
2227
2505
|
apply(ctx) {
|
|
2228
2506
|
ctx.slots.inject('sidebar.session.row.trailing', () => ctx.slots.register(
|
|
@@ -2230,7 +2508,7 @@ export interface SessionRowTrailingOwnerProps {
|
|
|
2230
2508
|
() => React.createElement('div', null, 'hello'),
|
|
2231
2509
|
))
|
|
2232
2510
|
},
|
|
2233
|
-
}`,source:`packages/client/ui-workspace/src/client/contract/slots.ts:
|
|
2511
|
+
}`,source:`packages/client/ui-workspace/src/client/contract/slots.ts:176`},{key:`sidebar.settings`,kind:`single`,scope:`root`,summary:`The settings seat at the sidebar foot.`,doc:`The settings seat at the sidebar foot. Declared by this package's
|
|
2234
2512
|
'sidebar' entry; ui-settings registers its trigger row + modal panel.
|
|
2235
2513
|
The sidebar passes only its column state — it holds no settings state.`,registerOptions:[],ownerProps:[`/**
|
|
2236
2514
|
* Owner share of the sidebar settings seat: the column display state the
|
|
@@ -2239,7 +2517,7 @@ The sidebar passes only its column state — it holds no settings state.`,regist
|
|
|
2239
2517
|
export interface SidebarSettingsOwnerProps {
|
|
2240
2518
|
/** Whether the sidebar renders wide content (false = 56px rail). */
|
|
2241
2519
|
wide: boolean
|
|
2242
|
-
}`],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`
|
|
2520
|
+
}`],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`an entry in 'sidebar' (client-ui-sidebar), so it exists while that entry is mounted`,occupants:[`client-ui-settings-general SettingsRoot`],replaceRisk:`shadows-shipped-ui`,example:`return {
|
|
2243
2521
|
inject: ['slots'],
|
|
2244
2522
|
apply(ctx) {
|
|
2245
2523
|
ctx.slots.inject('sidebar.settings', () => ctx.slots.register(
|
|
@@ -2247,7 +2525,7 @@ export interface SidebarSettingsOwnerProps {
|
|
|
2247
2525
|
() => React.createElement('div', null, 'hello'),
|
|
2248
2526
|
))
|
|
2249
2527
|
},
|
|
2250
|
-
}`,source:`packages/client/ui-sidebar/src/client/contract/slots.ts:
|
|
2528
|
+
}`,source:`packages/client/ui-sidebar/src/client/contract/slots.ts:84`},{key:`sidebar.toggle.badge`,kind:`single`,scope:`root`,summary:`Non-interactive notification inside the collapsed sidebar expand button.`,doc:`Non-interactive notification inside the collapsed sidebar expand button.`,registerOptions:[],ownerProps:[],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`an entry in 'sidebar' (client-ui-sidebar), so it exists while that entry is mounted`,occupants:[`client-ui-settings-general DesktopUpdateBadge`],replaceRisk:`shadows-shipped-ui`,example:`return {
|
|
2251
2529
|
inject: ['slots'],
|
|
2252
2530
|
apply(ctx) {
|
|
2253
2531
|
ctx.slots.inject('sidebar.toggle.badge', () => ctx.slots.register(
|
|
@@ -2255,7 +2533,7 @@ export interface SidebarSettingsOwnerProps {
|
|
|
2255
2533
|
() => React.createElement('div', null, 'hello'),
|
|
2256
2534
|
))
|
|
2257
2535
|
},
|
|
2258
|
-
}`,source:`packages/client/ui-sidebar/src/client/contract/slots.ts:
|
|
2536
|
+
}`,source:`packages/client/ui-sidebar/src/client/contract/slots.ts:37`},{key:`sidebar.workspaces`,kind:`single`,scope:`root`,summary:`The workspace/session browsing region: section header, search, the grouped/flat session list, and every workspace dialog.`,doc:`The workspace/session browsing region: section header, search, the
|
|
2259
2537
|
grouped/flat session list, and every workspace dialog. Declared by this
|
|
2260
2538
|
package's 'sidebar' entry (declaring is claiming); ui-workspace
|
|
2261
2539
|
registers the browser. The section renders inside the sidebar viewport,
|
|
@@ -2269,7 +2547,7 @@ export interface SidebarSectionOwnerProps {
|
|
|
2269
2547
|
wide: boolean
|
|
2270
2548
|
/** Ensure the sidebar is visible; safe to call while already expanded. */
|
|
2271
2549
|
expandSidebar: () => void
|
|
2272
|
-
}`],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`
|
|
2550
|
+
}`],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`],keyDomain:``,hookContext:`SidebarSectionHookContext`,slotInject:`SidebarSectionInjected`,declaredBy:`an entry in 'sidebar' (client-ui-sidebar), so it exists while that entry is mounted`,occupants:[`client-ui-workspace WorkspaceBrowser`],replaceRisk:`shadows-shipped-ui`,example:`return {
|
|
2273
2551
|
inject: ['slots'],
|
|
2274
2552
|
apply(ctx) {
|
|
2275
2553
|
ctx.slots.inject('sidebar.workspaces', () => ctx.slots.register(
|
|
@@ -2277,7 +2555,7 @@ export interface SidebarSectionOwnerProps {
|
|
|
2277
2555
|
() => React.createElement('div', null, 'hello'),
|
|
2278
2556
|
))
|
|
2279
2557
|
},
|
|
2280
|
-
}`,source:`packages/client/ui-sidebar/src/client/contract/slots.ts:
|
|
2558
|
+
}`,source:`packages/client/ui-sidebar/src/client/contract/slots.ts:72`},{key:`sidebar.workspaces.directoryFlow`,kind:`single`,scope:`root`,summary:`Directory-flow hole under the sidebar browsing region (declared by the WorkspaceBrowser entry).`,doc:`Directory-flow hole under the sidebar browsing region (declared by the WorkspaceBrowser entry).`,registerOptions:[],ownerProps:[`/**
|
|
2281
2559
|
* Owner share of the directory-flow holes: the complete conversation between
|
|
2282
2560
|
* the trigger surface and the picking interaction. The occupant reads \`open\`
|
|
2283
2561
|
* to run/render its interaction and reports exactly one outcome per open.
|
|
@@ -2293,7 +2571,7 @@ export interface DirectoryFlowOwnerProps {
|
|
|
2293
2571
|
onCancel: () => void
|
|
2294
2572
|
/** The interaction itself failed (chooser missing, listing denied); the owner shows its error surface. */
|
|
2295
2573
|
onError: (message: string) => void
|
|
2296
|
-
}`],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`
|
|
2574
|
+
}`],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`an entry in 'sidebar.workspaces' (client-ui-workspace), so it exists while that entry is mounted`,occupants:[`client-ui-directory-picker-browse BrowseDirectoryFlow`,`client-ui-directory-picker-native NativeDirectoryFlow`],replaceRisk:`shadows-shipped-ui`,example:`return {
|
|
2297
2575
|
inject: ['slots'],
|
|
2298
2576
|
apply(ctx) {
|
|
2299
2577
|
ctx.slots.inject('sidebar.workspaces.directoryFlow', () => ctx.slots.register(
|
|
@@ -2301,13 +2579,13 @@ export interface DirectoryFlowOwnerProps {
|
|
|
2301
2579
|
() => React.createElement('div', null, 'hello'),
|
|
2302
2580
|
))
|
|
2303
2581
|
},
|
|
2304
|
-
}`,source:`packages/client/ui-workspace/src/client/contract/slots.ts:
|
|
2582
|
+
}`,source:`packages/client/ui-workspace/src/client/contract/slots.ts:149`},{key:`sidebar.workspaces.session.menu.item`,kind:`list`,scope:`root`,summary:"Legacy external Session menu rows, in ascending `order`, rendered together before the built-in Archive action.",doc:'Legacy external Session menu rows, in ascending `order`, rendered\ntogether before the built-in Archive action. Built-in actions use\nctx.contextMenus; Slot priority cannot replace them. Each entry renders a\n`role="menuitem"` button, owns its visibility and localized label,\nand dismisses through `useMenuOpenState`. The shared menu supplies\nkeyboard navigation and focus return.',registerOptions:[{name:`id`,requirement:`required`,type:`string`,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.`},{name:`order`,requirement:`optional`,type:`number`,doc:`Position among the entries, ascending (default 0).`},{name:`label`,requirement:`optional`,type:`string | (() => string)`,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.`}],ownerProps:[`/** Owner share of one Session row action occurrence: the row the action belongs to. */
|
|
2305
2583
|
export interface SessionRowOwnerProps {
|
|
2306
2584
|
/** Session the row shows. */
|
|
2307
2585
|
sessionId: SessionId
|
|
2308
2586
|
/** Row display title: persisted title, or empty when the Session has none. */
|
|
2309
2587
|
displayTitle: string
|
|
2310
|
-
}`],ownerPropsReferences:[`SessionId`],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`
|
|
2588
|
+
}`],ownerPropsReferences:[`SessionId`],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`],keyDomain:``,hookContext:`MenuOpenState`,slotInject:`{ hooks: { menuOpenState: SlotHookFactory<'sidebar.workspaces.session.menu.item', UseMenuOpenState> shortcuts: HostObservable<readonly ShortcutCatalogEntry[]> } }`,declaredBy:`an entry in 'contextMenu.content' (client-ui-workspace), so it exists while that entry is mounted`,occupants:[],replaceRisk:`none`,example:`return {
|
|
2311
2589
|
inject: ['slots'],
|
|
2312
2590
|
apply(ctx) {
|
|
2313
2591
|
const copyLabel = 'Copy session title' // Localize in the contributing package.
|
|
@@ -2326,7 +2604,7 @@ export interface SessionRowOwnerProps {
|
|
|
2326
2604
|
},
|
|
2327
2605
|
))
|
|
2328
2606
|
},
|
|
2329
|
-
}`,source:`packages/client/ui-workspace/src/client/contract/slots.ts:
|
|
2607
|
+
}`,source:`packages/client/ui-workspace/src/client/contract/slots.ts:211`},{key:`sidebar.workspaces.session.row.action`,kind:`list`,scope:`root`,summary:'The hover buttons at the end of one Session row, in ascending `order`, after the "..." menu trigger.',doc:`The hover buttons at the end of one Session row, in ascending \`order\`,
|
|
2330
2608
|
after the "..." menu trigger. ui-workspace registers \`archive\` (100) and
|
|
2331
2609
|
\`pin\` (200) here. An entry renders one icon button (or nothing, when its
|
|
2332
2610
|
action does not apply to the row) and owns the action it performs. Clicks
|
|
@@ -2338,7 +2616,7 @@ export interface SessionRowOwnerProps {
|
|
|
2338
2616
|
sessionId: SessionId
|
|
2339
2617
|
/** Row display title: persisted title, or empty when the Session has none. */
|
|
2340
2618
|
displayTitle: string
|
|
2341
|
-
}`],ownerPropsReferences:[`SessionId`],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`
|
|
2619
|
+
}`],ownerPropsReferences:[`SessionId`],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`an entry in 'sidebar.workspaces' (client-ui-workspace), so it exists while that entry is mounted`,occupants:[`client-ui-workspace ArchiveSessionRowButton id 'archive'`,`client-ui-workspace PinSessionRowButton id 'pin'`],replaceRisk:`none`,example:`return {
|
|
2342
2620
|
inject: ['slots'],
|
|
2343
2621
|
apply(ctx) {
|
|
2344
2622
|
ctx.slots.inject('sidebar.workspaces.session.row.action', () => ctx.slots.register(
|
|
@@ -2346,7 +2624,7 @@ export interface SessionRowOwnerProps {
|
|
|
2346
2624
|
() => React.createElement('div', null, 'hello'),
|
|
2347
2625
|
))
|
|
2348
2626
|
},
|
|
2349
|
-
}`,source:`packages/client/ui-workspace/src/client/contract/slots.ts:
|
|
2627
|
+
}`,source:`packages/client/ui-workspace/src/client/contract/slots.ts:230`},{key:`tool.call.images`,kind:`single`,scope:`session`,summary:`Durable images of a settled image-bearing Tool call, rendered through the attachment presentation plugin.`,doc:`Durable images of a settled image-bearing Tool call, rendered through
|
|
2350
2628
|
the attachment presentation plugin. The Tool layer never imports an
|
|
2351
2629
|
attachment implementation: a toolview declares this slot as a child and
|
|
2352
2630
|
renders it with the image card's references plus the Gateway-authorized
|
|
@@ -2364,7 +2642,7 @@ export interface ToolImagesOwnerProps {
|
|
|
2364
2642
|
loadImage: MessageImageLoader
|
|
2365
2643
|
/** Horizontal placement inside the owning record. */
|
|
2366
2644
|
align: 'start' | 'end'
|
|
2367
|
-
}`],ownerPropsReferences:[`MessageImageLoader`,`MessageImageSource`],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`
|
|
2645
|
+
}`],ownerPropsReferences:[`MessageImageLoader`,`MessageImageSource`],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`,`useChat: UseChat`,`useConversation: UseConversation`,`useInput: SnapshotSelectorHook<InputState>`,`inputActions: InputActions`,`useSession: SessionSnapshotSelector`,`sessionId: SessionId`,`useProjection: UseProjection`,`useAccess: (action: RemoteEndpoint) => boolean`,`useTrajectory: UseTrajectory`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`an entry in 'tool.call.toolview' (client-ui-tool), so it exists while that entry is mounted`,occupants:[`client-ui-attachment MessageImages`],replaceRisk:`shadows-shipped-ui`,example:`return {
|
|
2368
2646
|
inject: ['slots'],
|
|
2369
2647
|
apply(ctx) {
|
|
2370
2648
|
ctx.slots.inject('tool.call.images', () => ctx.slots.register(
|
|
@@ -2372,7 +2650,7 @@ export interface ToolImagesOwnerProps {
|
|
|
2372
2650
|
() => React.createElement('div', null, 'hello'),
|
|
2373
2651
|
))
|
|
2374
2652
|
},
|
|
2375
|
-
}`,source:`packages/client/ui-tool/src/client/contract/slots.ts:
|
|
2653
|
+
}`,source:`packages/client/ui-tool/src/client/contract/slots.ts:39`},{key:`tool.call.toolview`,kind:`keyed`,scope:`session`,summary:`Key by wire name, including custom tools; a typo never renders.`,doc:"Key by wire name, including custom tools; a typo never renders. Unclaimed keys use the generic row.\nUse `key: '<tool name>'` to replace the view; phase data has `name` and lazy, possibly partial `args`.",registerOptions:[{name:`key`,requirement:`required`,type:`string`,doc:`Your cell key: the entry renders where the owner dispatches this exact key. Registering an already-occupied key replaces that occupant.`}],ownerProps:[`/** Standard owner currency supplied to every atomic Tool view. */
|
|
2376
2654
|
export interface ToolCallCommonProps {
|
|
2377
2655
|
/** Stable Hook; each invocation owns its open state and subscribes to enclosing-Turn resets. */
|
|
2378
2656
|
useDisclosure: UseDisclosure
|
|
@@ -2395,7 +2673,7 @@ export type ToolCallOwnerProps = ToolCallCommonProps & ToolCallPhaseProps`,`/**
|
|
|
2395
2673
|
export type ToolCallPhaseProps =
|
|
2396
2674
|
| { readonly phase: 'preparing'; readonly block: PreparingToolCall }
|
|
2397
2675
|
| { readonly phase: 'start'; readonly block: StartedToolCall }
|
|
2398
|
-
| { readonly phase: 'result'; readonly block: ToolResultNode }`],ownerPropsReferences:[`MessageImageLoader`,`OpenFileOptions`,`PreparingToolCall`,`StartedToolCall`,`ToolResultNode`,`UseDisclosure`],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`
|
|
2676
|
+
| { readonly phase: 'result'; readonly block: ToolResultNode }`],ownerPropsReferences:[`MessageImageLoader`,`OpenFileOptions`,`PreparingToolCall`,`StartedToolCall`,`ToolResultNode`,`UseDisclosure`],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`,`useChat: UseChat`,`useConversation: UseConversation`,`useInput: SnapshotSelectorHook<InputState>`,`inputActions: InputActions`,`useSession: SessionSnapshotSelector`,`sessionId: SessionId`,`useProjection: UseProjection`,`useAccess: (action: RemoteEndpoint) => boolean`,`useTrajectory: UseTrajectory`],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`,hookContext:``,slotInject:``,declaredBy:`an entry in 'conversation.chat.node' (client-ui-tool), so it exists while that entry is mounted`,occupants:[`client-ui-deliverables PresentRow key 'present'`,`client-ui-skill SkillRow key 'skill'`,`client-ui-tool AskQuestionRow key 'ask_user_question'`,`client-ui-tool BashRow key 'bash'`,`client-ui-tool DetailsRow key 'create_goal'`,`client-ui-tool DetailsRow key 'get_goal'`,`client-ui-tool DetailsRow key 'update_goal'`,`client-ui-tool DetailsRow key 'schedule_create'`,`client-ui-tool DetailsRow key 'schedule_list'`,`client-ui-tool DetailsRow key 'schedule_view'`,`client-ui-tool DetailsRow key 'schedule_edit'`,`client-ui-tool DetailsRow key 'schedule_delete'`,`client-ui-tool DetailsRow key 'schedule_update'`,`client-ui-tool DetailsRow key 'cordis_inspect'`,`client-ui-tool DetailsRow key 'cordis_inspect_list'`,`client-ui-tool DetailsRow key 'cordis_inspect_query'`,`client-ui-tool DetailsRow key 'cordis_inspect_self'`,`client-ui-tool DetailsRow key 'workflow'`,`client-ui-tool DetailsRow key 'ralph'`,`client-ui-tool DetailsRow key 'session_event_read'`,`client-ui-tool DetailsRow key 'session_event_search'`,`client-ui-tool DetailsRow key 'session_event_trace'`,`client-ui-tool DetailsRow key 'session_search'`,`client-ui-tool DetailsRow key 'session_trace'`,`client-ui-tool DetailsRow key 'list_subagent_models'`,`client-ui-tool DetailsRow key 'subagent'`,`client-ui-tool DetailsRow key 'subagent_fork'`,`client-ui-tool DetailsRow key 'list_agents'`,`client-ui-tool DetailsRow key 'send_message'`,`client-ui-tool DetailsRow key 'session_send_message'`,`client-ui-tool DetailsRow key 'interrupt_agent'`,`client-ui-tool DetailsRow key 'job_list'`,`client-ui-tool DetailsRow key 'job_output'`,`client-ui-tool DetailsRow key 'job_kill'`,`client-ui-tool DetailsRow key 'terminal_open'`,`client-ui-tool DetailsRow key 'terminal_read'`,`client-ui-tool DetailsRow key 'terminal_list'`,`client-ui-tool DetailsRow key 'terminal_signal'`,`client-ui-tool DetailsRow key 'terminal_close'`,`client-ui-tool DetailsRow key 'lsp'`,`client-ui-tool DetailsRow key 'spawn_teammate'`,`client-ui-tool DetailsRow key 'team_task_create'`,`client-ui-tool DetailsRow key 'team_task_get'`,`client-ui-tool DetailsRow key 'team_task_update'`,`client-ui-tool DetailsRow key 'team_task_list'`,`client-ui-tool DetailsRow key 'wait_agent'`,`client-ui-tool FileMutationRow key 'apply_patch'`,`client-ui-tool FileMutationRow key 'edit'`,`client-ui-tool FileMutationRow key 'write'`,`client-ui-tool OfficeRow key 'office_render'`,`client-ui-tool OfficeRow key 'office_convert'`,`client-ui-tool OfficeRow key 'office_recalculate'`,`client-ui-tool ReadImageRow key 'read_image'`,`client-ui-tool ReadRow key 'read'`,`client-ui-tool SearchRow key 'grep'`,`client-ui-tool SearchRow key 'glob'`,`client-ui-tool TodoRow key 'todo_write'`,`client-ui-tool WebRow key 'web_search'`,`client-ui-tool WebRow key 'web_fetch'`,`timeline TaskCard key 'timeline_tasks'`,`client-ui-cordis CordisDefineRow key 'cordis_define'`,`client-ui-cordis CordisRunRow key 'cordis_run'`,`client-ui-cordis CordisActionRow key 'cordis_stop'`,`client-ui-cordis CordisActionRow key 'cordis_undefine'`],replaceRisk:`shadows-shipped-ui`,example:`return {
|
|
2399
2677
|
inject: ['slots'],
|
|
2400
2678
|
apply(ctx) {
|
|
2401
2679
|
ctx.slots.inject('tool.call.toolview', () => ctx.slots.register(
|
|
@@ -2403,12 +2681,12 @@ export type ToolCallPhaseProps =
|
|
|
2403
2681
|
() => React.createElement('div', null, 'hello'),
|
|
2404
2682
|
))
|
|
2405
2683
|
},
|
|
2406
|
-
}`,source:`packages/client/ui-tool/src/client/contract/slots.ts:
|
|
2684
|
+
}`,source:`packages/client/ui-tool/src/client/contract/slots.ts:21`},{key:`tool.view.cordis`,kind:`keyed`,scope:`session`,summary:"Interactive Package-owned region rendered inside the latest eligible `cordis_run` card in the conversation flow.",doc:"Interactive Package-owned region rendered inside the latest eligible\n`cordis_run` card in the conversation flow. Use it for controls and other\nUI the user can interact with. Dynamic Client code registers with\n`key: 'self'`; the Guard binds that key to the current Plugin and Package.",registerOptions:[{name:`key`,requirement:`required`,type:`string`,doc:`Your cell key: the entry renders where the owner dispatches this exact key. Registering an already-occupied key replaces that occupant.`}],ownerProps:[`/** Owner currency delivered to a dynamic Package's business view. */
|
|
2407
2685
|
export interface CordisToolViewOwnerProps {
|
|
2408
2686
|
readonly pluginId: CordisDynamicPluginId
|
|
2409
2687
|
readonly packageId: CordisDynamicPackageId
|
|
2410
2688
|
readonly pluginRunId: CordisDynamicPluginRunId
|
|
2411
|
-
}`],ownerPropsReferences:[`CordisDynamicPackageId`,`CordisDynamicPluginId`,`CordisDynamicPluginRunId`],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`
|
|
2689
|
+
}`],ownerPropsReferences:[`CordisDynamicPackageId`,`CordisDynamicPluginId`,`CordisDynamicPluginRunId`],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`,`useChat: UseChat`,`useConversation: UseConversation`,`useInput: SnapshotSelectorHook<InputState>`,`inputActions: InputActions`,`useSession: SessionSnapshotSelector`,`sessionId: SessionId`,`useProjection: UseProjection`,`useAccess: (action: RemoteEndpoint) => boolean`,`useTrajectory: UseTrajectory`],keyDomain:`open: any string the owner dispatches (no compile-time key set), none are taken yet`,hookContext:``,slotInject:``,declaredBy:`an entry in 'tool.call.toolview' (client-ui-cordis), so it exists while that entry is mounted`,occupants:[],replaceRisk:`none`,example:`return {
|
|
2412
2690
|
inject: ['slots'],
|
|
2413
2691
|
apply(ctx) {
|
|
2414
2692
|
ctx.slots.inject('tool.view.cordis', () => ctx.slots.register(
|
|
@@ -2436,7 +2714,7 @@ export interface DirectoryFlowOwnerProps {
|
|
|
2436
2714
|
onCancel: () => void
|
|
2437
2715
|
/** The interaction itself failed (chooser missing, listing denied); the owner shows its error surface. */
|
|
2438
2716
|
onError: (message: string) => void
|
|
2439
|
-
}`],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`
|
|
2717
|
+
}`],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`],keyDomain:``,hookContext:``,slotInject:``,declaredBy:`factory 'workspace.picker' (client-ui-workspace), so it exists while that definition is registered`,occupants:[`client-ui-directory-picker-browse BrowseDirectoryFlow`,`client-ui-directory-picker-native NativeDirectoryFlow`],replaceRisk:`shadows-shipped-ui`,example:`return {
|
|
2440
2718
|
inject: ['slots'],
|
|
2441
2719
|
apply(ctx) {
|
|
2442
2720
|
ctx.slots.inject('workspace.picker.directoryFlow', () => ctx.slots.register(
|
|
@@ -2444,11 +2722,11 @@ export interface DirectoryFlowOwnerProps {
|
|
|
2444
2722
|
() => React.createElement('div', null, 'hello'),
|
|
2445
2723
|
))
|
|
2446
2724
|
},
|
|
2447
|
-
}`,source:`packages/client/ui-workspace/src/client/contract/slots.ts:
|
|
2725
|
+
}`,source:`packages/client/ui-workspace/src/client/contract/slots.ts:157`},{key:`workspace.toast`,kind:`keyed`,scope:`root`,summary:`Workspace notices selected by their existing business discriminator.`,doc:`Workspace notices selected by their existing business discriminator.`,registerOptions:[{name:`key`,requirement:`required`,type:`string`,doc:`Your cell key: the entry renders where the owner dispatches this exact key. Registering an already-occupied key replaces that occupant.`}],ownerProps:[`/** Owner operations available to every keyed Workspace notice. */
|
|
2448
2726
|
export interface WorkspaceToastOwnerProps {
|
|
2449
2727
|
/** Dismiss the displayed notice. */
|
|
2450
2728
|
dismissToast: () => void
|
|
2451
|
-
}`],ownerPropsReferences:[`Workspace`],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`
|
|
2729
|
+
}`],ownerPropsReferences:[`Workspace`],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useSessionStatus: UseSessionStatus`,`useSessions: UseSessions`,`useSessionRetainInfo: UseSessionRetainInfo`,`useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean`,`useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean`],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`,hookContext:``,slotInject:``,declaredBy:`an entry in 'shell.overlay' (client-ui-workspace), so it exists while that entry is mounted`,occupants:[`client-ui-workspace ToastEntry<PropsRuntime<'workspace.toast', 'readingFailed'>> key 'readingFailed'`,`client-ui-workspace ToastEntry<PropsRuntime<'workspace.toast', 'sessionIdCopi… key 'sessionIdCopied'`,`client-ui-workspace ToastEntry<PropsRuntime<'workspace.toast', 'sessionIdCopy… key 'sessionIdCopyFailed'`,`client-ui-workspace ToastEntry<PropsRuntime<'workspace.toast', 'pinFailed'>> key 'pinFailed'`,`client-ui-workspace ToastEntry<PropsRuntime<'workspace.toast', 'unpinFailed'>> key 'unpinFailed'`,`client-ui-workspace ToastEntry<PropsRuntime<'workspace.toast', 'archivedNotOp… key 'archivedNotOpenable'`,`client-ui-workspace ToastEntry<PropsRuntime<'workspace.toast', 'defaultWorksp… key 'defaultWorkspaceFailed'`,`client-ui-workspace ToastEntry<PropsRuntime<'workspace.toast', 'shortcutForkF… key 'shortcutForkFailed'`,`client-ui-workspace ToastEntry<PropsRuntime<'workspace.toast', 'createFailed'>> key 'createFailed'`,`client-ui-workspace ToastEntry<PropsRuntime<'workspace.toast', 'forkRequiresO… key 'forkRequiresOpen'`,`client-ui-workspace ArchiveToastEntry`],replaceRisk:`shadows-shipped-ui`,example:`return {
|
|
2452
2730
|
inject: ['slots'],
|
|
2453
2731
|
apply(ctx) {
|
|
2454
2732
|
ctx.slots.inject('workspace.toast', () => ctx.slots.register(
|