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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/client.js CHANGED
@@ -964,7 +964,7 @@ export interface DirectoryFlowOwnerProps {
964
964
  () => React.createElement('div', null, 'hello'),
965
965
  ))
966
966
  },
967
- }`,source:`packages/client/ui-workspace/src/client/contract/slots.ts:137`},{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
967
+ }`,source:`packages/client/ui-workspace/src/client/contract/slots.ts:141`},{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
968
  editor and submit action, and fixed overlays must portal to the document body because the
969
969
  docked composer contains them.`,registerOptions:[],ownerProps:[`/** A toolbar activity hides ordinary accessory controls while expanded; its occupant must release expansion on unmount. */
970
970
  export interface InputActivityOwnerProps extends InputControlOwnerProps {
@@ -2155,7 +2155,26 @@ export interface SidebarRightTabMenuOwnerProps {
2155
2155
  () => React.createElement('div', null, 'hello'),
2156
2156
  ))
2157
2157
  },
2158
- }`,source:`packages/client/ui-sidebar-right/src/client/contract/slots.ts:105`},{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
2158
+ }`,source:`packages/client/ui-sidebar-right/src/client/contract/slots.ts:105`},{key:`sidebar.session.action`,kind:`hoc`,scope:`root`,summary:"HOC layer around the inner content of the New-session row — the Tooltip and button the shell passes as `children`, rendered only while the Peer may create Sessions.",doc:`HOC layer around the inner content of the New-session row — the Tooltip
2159
+ and button the shell passes as \`children\`, rendered only while the Peer
2160
+ may create Sessions. An occupant receives that content and returns it,
2161
+ possibly wrapped, together with its own controls, so it decorates the
2162
+ row without adding a wrapper element. Occupants nest around the content
2163
+ instead of rendering beside it: one that adds nothing must return
2164
+ \`children\`, and with no occupant the content renders unchanged.
2165
+ Declared by this package's 'sidebar' entry.`,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:[`/** Owner share of the New-session row's HOC layer. */
2166
+ export interface SidebarSessionActionOwnerProps {
2167
+ /** Whether the sidebar renders wide content (false = 56px rail). */
2168
+ wide: boolean
2169
+ }`],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useSessions: UseSessions`,`useSessionStatus: UseSessionStatus`,`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
+ inject: ['slots'],
2171
+ apply(ctx) {
2172
+ ctx.slots.inject('sidebar.session.action', () => ctx.slots.register(
2173
+ { name: 'sidebar.session.action', id: 'my-layer', order: 100 },
2174
+ ({ children }) => React.createElement('div', null, children),
2175
+ ))
2176
+ },
2177
+ }`,source:`packages/client/ui-sidebar/src/client/contract/slots.ts:86`},{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
2159
2178
  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:[`/**
2160
2179
  * Owner share of the two Session-row schedule seats. Both receive only the
2161
2180
  * row's Session identity: the occupant reads that Session's own scheduled
@@ -2172,7 +2191,7 @@ export interface SessionRowScheduleOwnerProps {
2172
2191
  () => React.createElement('div', null, 'hello'),
2173
2192
  ))
2174
2193
  },
2175
- }`,source:`packages/client/ui-workspace/src/client/contract/slots.ts:163`},{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
2194
+ }`,source:`packages/client/ui-workspace/src/client/contract/slots.ts:175`},{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
2176
2195
  that the row's own state dot otherwise occupies. A higher-priority state
2177
2196
  (a pending interaction, a new message, live activity) replaces the seat
2178
2197
  with that dot for the same row, so an occupant here never renders beside
@@ -2194,7 +2213,7 @@ export interface SessionRowScheduleOwnerProps {
2194
2213
  () => React.createElement('div', null, 'hello'),
2195
2214
  ))
2196
2215
  },
2197
- }`,source:`packages/client/ui-workspace/src/client/contract/slots.ts:149`},{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,
2216
+ }`,source:`packages/client/ui-workspace/src/client/contract/slots.ts:161`},{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,
2198
2217
  in ascending \`order\`. On hover-capable devices, hidden while the row is
2199
2218
  hovered, has keyboard focus on itself or its actions, or has an open menu.
2200
2219
  Hoverless devices keep the icons beside the menu trigger. Blank Sessions
@@ -2211,7 +2230,7 @@ export interface SessionRowTrailingOwnerProps {
2211
2230
  () => React.createElement('div', null, 'hello'),
2212
2231
  ))
2213
2232
  },
2214
- }`,source:`packages/client/ui-workspace/src/client/contract/slots.ts:158`},{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
2233
+ }`,source:`packages/client/ui-workspace/src/client/contract/slots.ts:170`},{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
2215
2234
  'sidebar' entry; ui-settings registers its trigger row + modal panel.
2216
2235
  The sidebar passes only its column state — it holds no settings state.`,registerOptions:[],ownerProps:[`/**
2217
2236
  * Owner share of the sidebar settings seat: the column display state the
@@ -2282,7 +2301,7 @@ export interface DirectoryFlowOwnerProps {
2282
2301
  () => React.createElement('div', null, 'hello'),
2283
2302
  ))
2284
2303
  },
2285
- }`,source:`packages/client/ui-workspace/src/client/contract/slots.ts:139`},{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. */
2304
+ }`,source:`packages/client/ui-workspace/src/client/contract/slots.ts:143`},{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. */
2286
2305
  export interface SessionRowOwnerProps {
2287
2306
  /** Session the row shows. */
2288
2307
  sessionId: SessionId
@@ -2307,7 +2326,7 @@ export interface SessionRowOwnerProps {
2307
2326
  },
2308
2327
  ))
2309
2328
  },
2310
- }`,source:`packages/client/ui-workspace/src/client/contract/slots.ts:193`},{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\`,
2329
+ }`,source:`packages/client/ui-workspace/src/client/contract/slots.ts:205`},{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\`,
2311
2330
  after the "..." menu trigger. ui-workspace registers \`archive\` (100) and
2312
2331
  \`pin\` (200) here. An entry renders one icon button (or nothing, when its
2313
2332
  action does not apply to the row) and owns the action it performs. Clicks
@@ -2327,7 +2346,7 @@ export interface SessionRowOwnerProps {
2327
2346
  () => React.createElement('div', null, 'hello'),
2328
2347
  ))
2329
2348
  },
2330
- }`,source:`packages/client/ui-workspace/src/client/contract/slots.ts:212`},{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
2349
+ }`,source:`packages/client/ui-workspace/src/client/contract/slots.ts:224`},{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
2331
2350
  the attachment presentation plugin. The Tool layer never imports an
2332
2351
  attachment implementation: a toolview declares this slot as a child and
2333
2352
  renders it with the image card's references plus the Gateway-authorized
@@ -2397,7 +2416,35 @@ export interface CordisToolViewOwnerProps {
2397
2416
  () => React.createElement('div', null, 'hello'),
2398
2417
  ))
2399
2418
  },
2400
- }`,source:`packages/extensions/ui-cordis/src/client/slots.ts:31`},{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. */
2419
+ }`,source:`packages/extensions/ui-cordis/src/client/slots.ts:31`},{key:`workspace.picker.directoryFlow`,kind:`single`,scope:`root`,summary:"Directory-flow hole under every `workspace.picker` Factory occurrence (declared by the Factory definition).",doc:`Directory-flow hole under every \`workspace.picker\` Factory occurrence
2420
+ (declared by the Factory definition). A directory-picker package
2421
+ registers the same occupant here as in the other two directory-flow
2422
+ holes; while this hole is empty, Factory occurrences offer no
2423
+ "Add workspace…" entry.`,registerOptions:[],ownerProps:[`/**
2424
+ * Owner share of the directory-flow holes: the complete conversation between
2425
+ * the trigger surface and the picking interaction. The occupant reads \`open\`
2426
+ * to run/render its interaction and reports exactly one outcome per open.
2427
+ */
2428
+ export interface DirectoryFlowOwnerProps {
2429
+ /** True while a picking interaction is requested; flipping back to false withdraws the request. */
2430
+ open: boolean
2431
+ /** True while the owner adopts a picked path (\`createWorkspace\` in flight); occupants disable their commit affordances. */
2432
+ busy: boolean
2433
+ /** The operator picked a directory (absolute host path); the owner adopts it. */
2434
+ onPicked: (path: string) => void
2435
+ /** The operator dismissed the interaction; the owner just closes the flow. */
2436
+ onCancel: () => void
2437
+ /** The interaction itself failed (chooser missing, listing denied); the owner shows its error surface. */
2438
+ onError: (message: string) => void
2439
+ }`],ownerPropsReferences:[],standardProps:[`useRemoteAccess: (action: RemoteEndpoint) => boolean`,`useResource: UseResource`,`useContextMenu: UseContextMenu`,`useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>`,`usePanelInfo: UsePanelInfo`,`useSessions: UseSessions`,`useSessionStatus: UseSessionStatus`,`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
+ inject: ['slots'],
2441
+ apply(ctx) {
2442
+ ctx.slots.inject('workspace.picker.directoryFlow', () => ctx.slots.register(
2443
+ { name: 'workspace.picker.directoryFlow' },
2444
+ () => React.createElement('div', null, 'hello'),
2445
+ ))
2446
+ },
2447
+ }`,source:`packages/client/ui-workspace/src/client/contract/slots.ts:151`},{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. */
2401
2448
  export interface WorkspaceToastOwnerProps {
2402
2449
  /** Dismiss the displayed notice. */
2403
2450
  dismissToast: () => void