@deepseek-ai/dsh-cordis-client-runner 0.2.1-rc.2 → 0.2.1-rc.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/lib/client.js +174 -30
  2. package/package.json +6 -6
package/lib/client.js CHANGED
@@ -1539,7 +1539,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
1539
1539
  },
1540
1540
  {
1541
1541
  signature: "connectWorkspace(workspaceId: WorkspaceId, options?: Pick<StartSessionOptions, 'agentPreset'>): Promise<SessionId>",
1542
- description: "Resolve the Session for a new conversation in a Workspace: the Host reuses the first listed blank member while it is reusable and otherwise creates one, under the requested preset or the Host default.",
1542
+ description: "Resolve the Session for a new conversation in a Workspace: navigation names the first reusable blank member, skipping blanks that list a preset other than a requested one, and the Host reuses it under the requested preset or its default, or creates another Session.",
1543
1543
  parameters: [{
1544
1544
  name: "workspaceId",
1545
1545
  description: "target Workspace."
@@ -1551,13 +1551,13 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
1551
1551
  },
1552
1552
  {
1553
1553
  signature: "startSession(workspaceId?: WorkspaceId, options?: StartSessionOptions): void",
1554
- description: "Create a fresh Session, or reuse a blank when preparing an explicit draft. A creation the Host refuses is shown through the Workspace notice and leaves the selection as it was.",
1554
+ description: "Open the Workspace blank `connectWorkspace` resolves, so New Session returns to that blank's unsent draft. A creation the Host refuses is shown through the Workspace notice and leaves the selection as it was.",
1555
1555
  parameters: [{
1556
1556
  name: "workspaceId",
1557
1557
  description: "explicit target; absent inherits the current or most recent Workspace."
1558
1558
  }, {
1559
1559
  name: "options",
1560
- description: "initial content and the reused blank's preset; existing text or attachments are preserved unless clearPreviousDraft is true."
1560
+ description: "initial content, the blank's preset, and `whenDraftExists`, which decides whether existing text or attachments are kept, replaced, or followed by the prompt."
1561
1561
  }]
1562
1562
  },
1563
1563
  {
@@ -1851,7 +1851,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
1851
1851
  },
1852
1852
  {
1853
1853
  name: "DraftInitializationOptions",
1854
- declaration: "export interface DraftInitializationOptions {\n readonly prompt?: string;\n readonly clearPreviousDraft?: boolean;\n}"
1854
+ declaration: "export interface DraftInitializationOptions {\n readonly prompt?: string;\n readonly clearPreviousDraft?: boolean;\n readonly whenDraftExists?: 'replace' | 'append' | 'keep';\n}"
1855
1855
  },
1856
1856
  {
1857
1857
  name: "EntryKeyOf",
@@ -2917,7 +2917,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
2917
2917
  ],
2918
2918
  replaceRisk: "none",
2919
2919
  example: "return {\n inject: ['slots'],\n apply(ctx) {\n ctx.slots.inject('conversation.composer', () => ctx.slots.register(\n { name: 'conversation.composer', select: owner => null },\n () => React.createElement('div', null, 'hello'),\n ))\n },\n}",
2920
- source: "packages/client/ui-conversation/src/client/contract/slots.ts:260"
2920
+ source: "packages/client/ui-conversation/src/client/contract/slots.ts:262"
2921
2921
  },
2922
2922
  {
2923
2923
  key: "conversation.composer.bar",
@@ -2953,7 +2953,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
2953
2953
  occupants: ["client-ui-conversation InputBar"],
2954
2954
  replaceRisk: "shadows-shipped-ui",
2955
2955
  example: "return {\n inject: ['slots'],\n apply(ctx) {\n ctx.slots.inject('conversation.composer.bar', () => ctx.slots.register(\n { name: 'conversation.composer.bar' },\n () => React.createElement('div', null, 'hello'),\n ))\n },\n}",
2956
- source: "packages/client/ui-conversation/src/client/contract/slots.ts:282"
2956
+ source: "packages/client/ui-conversation/src/client/contract/slots.ts:284"
2957
2957
  },
2958
2958
  {
2959
2959
  key: "conversation.composer.dock",
@@ -3010,7 +3010,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
3010
3010
  occupants: ["client-ui-chat ActivityPill id 'activity'", "client-ui-chat UsagePill id 'usage'"],
3011
3011
  replaceRisk: "none",
3012
3012
  example: "return {\n inject: ['slots'],\n apply(ctx) {\n ctx.slots.inject('conversation.composer.dock', () => ctx.slots.register(\n { name: 'conversation.composer.dock', id: 'my-entry', order: 100, label: 'My entry' },\n () => React.createElement('div', null, 'hello'),\n ))\n },\n}",
3013
- source: "packages/client/ui-conversation/src/client/contract/slots.ts:274"
3013
+ source: "packages/client/ui-conversation/src/client/contract/slots.ts:276"
3014
3014
  },
3015
3015
  {
3016
3016
  key: "conversation.header",
@@ -3111,7 +3111,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
3111
3111
  occupants: ["client-ui-agent-preset AgentPresetSeat"],
3112
3112
  replaceRisk: "shadows-shipped-ui",
3113
3113
  example: "return {\n inject: ['slots'],\n apply(ctx) {\n ctx.slots.inject('conversation.hero.agentPreset', () => ctx.slots.register(\n { name: 'conversation.hero.agentPreset' },\n () => React.createElement('div', null, 'hello'),\n ))\n },\n}",
3114
- source: "packages/client/ui-conversation/src/client/contract/slots.ts:266"
3114
+ source: "packages/client/ui-conversation/src/client/contract/slots.ts:268"
3115
3115
  },
3116
3116
  {
3117
3117
  key: "conversation.hero.brand.mark",
@@ -3140,7 +3140,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
3140
3140
  occupants: [],
3141
3141
  replaceRisk: "none",
3142
3142
  example: "return {\n inject: ['slots'],\n apply(ctx) {\n ctx.slots.inject('conversation.hero.brand.mark', () => ctx.slots.register(\n { name: 'conversation.hero.brand.mark' },\n () => React.createElement('div', null, 'hello'),\n ))\n },\n}",
3143
- source: "packages/client/ui-conversation/src/client/contract/slots.ts:264"
3143
+ source: "packages/client/ui-conversation/src/client/contract/slots.ts:266"
3144
3144
  },
3145
3145
  {
3146
3146
  key: "conversation.hero.options",
@@ -3197,7 +3197,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
3197
3197
  occupants: [],
3198
3198
  replaceRisk: "none",
3199
3199
  example: "return {\n inject: ['slots'],\n apply(ctx) {\n ctx.slots.inject('conversation.hero.options', () => ctx.slots.register(\n { name: 'conversation.hero.options', id: 'my-entry', order: 100, label: 'My entry' },\n () => React.createElement('div', null, 'hello'),\n ))\n },\n}",
3200
- source: "packages/client/ui-conversation/src/client/contract/slots.ts:268"
3200
+ source: "packages/client/ui-conversation/src/client/contract/slots.ts:270"
3201
3201
  },
3202
3202
  {
3203
3203
  key: "conversation.hero.workspace",
@@ -3226,7 +3226,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
3226
3226
  occupants: ["client-ui-workspace WorkspacePicker"],
3227
3227
  replaceRisk: "shadows-shipped-ui",
3228
3228
  example: "return {\n inject: ['slots'],\n apply(ctx) {\n ctx.slots.inject('conversation.hero.workspace', () => ctx.slots.register(\n { name: 'conversation.hero.workspace' },\n () => React.createElement('div', null, 'hello'),\n ))\n },\n}",
3229
- source: "packages/client/ui-conversation/src/client/contract/slots.ts:262"
3229
+ source: "packages/client/ui-conversation/src/client/contract/slots.ts:264"
3230
3230
  },
3231
3231
  {
3232
3232
  key: "conversation.hero.workspace.directoryFlow",
@@ -3293,7 +3293,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
3293
3293
  occupants: ["experimental-client-ui-voice-input VoiceInput"],
3294
3294
  replaceRisk: "shadows-shipped-ui",
3295
3295
  example: "return {\n inject: ['slots'],\n apply(ctx) {\n ctx.slots.inject('conversation.input.activity', () => ctx.slots.register(\n { name: 'conversation.input.activity' },\n () => React.createElement('div', null, 'hello'),\n ))\n },\n}",
3296
- source: "packages/client/ui-conversation/src/client/contract/slots.ts:280"
3296
+ source: "packages/client/ui-conversation/src/client/contract/slots.ts:282"
3297
3297
  },
3298
3298
  {
3299
3299
  key: "conversation.input.attachments",
@@ -3333,7 +3333,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
3333
3333
  occupants: ["client-ui-attachment ComposerAttachments"],
3334
3334
  replaceRisk: "shadows-shipped-ui",
3335
3335
  example: "return {\n inject: ['slots'],\n apply(ctx) {\n ctx.slots.inject('conversation.input.attachments', () => ctx.slots.register(\n { name: 'conversation.input.attachments' },\n () => React.createElement('div', null, 'hello'),\n ))\n },\n}",
3336
- source: "packages/client/ui-conversation/src/client/contract/slots.ts:284"
3336
+ source: "packages/client/ui-conversation/src/client/contract/slots.ts:286"
3337
3337
  },
3338
3338
  {
3339
3339
  key: "conversation.input.dock",
@@ -3395,7 +3395,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
3395
3395
  ],
3396
3396
  replaceRisk: "none",
3397
3397
  example: "return {\n inject: ['slots'],\n apply(ctx) {\n ctx.slots.inject('conversation.input.dock', () => ctx.slots.register(\n { name: 'conversation.input.dock', id: 'my-entry', order: 100, label: 'My entry' },\n () => React.createElement('div', null, 'hello'),\n ))\n },\n}",
3398
- source: "packages/client/ui-conversation/src/client/contract/slots.ts:270"
3398
+ source: "packages/client/ui-conversation/src/client/contract/slots.ts:272"
3399
3399
  },
3400
3400
  {
3401
3401
  key: "conversation.input.left",
@@ -3452,7 +3452,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
3452
3452
  occupants: [],
3453
3453
  replaceRisk: "none",
3454
3454
  example: "return {\n inject: ['slots'],\n apply(ctx) {\n ctx.slots.inject('conversation.input.left', () => ctx.slots.register(\n { name: 'conversation.input.left', id: 'my-entry', order: 100, label: 'My entry' },\n () => React.createElement('div', null, 'hello'),\n ))\n },\n}",
3455
- source: "packages/client/ui-conversation/src/client/contract/slots.ts:276"
3455
+ source: "packages/client/ui-conversation/src/client/contract/slots.ts:278"
3456
3456
  },
3457
3457
  {
3458
3458
  key: "conversation.input.model",
@@ -3490,7 +3490,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
3490
3490
  occupants: ["client-ui-model-selection ModelSelect"],
3491
3491
  replaceRisk: "shadows-shipped-ui",
3492
3492
  example: "return {\n inject: ['slots'],\n apply(ctx) {\n ctx.slots.inject('conversation.input.model', () => ctx.slots.register(\n { name: 'conversation.input.model' },\n () => React.createElement('div', null, 'hello'),\n ))\n },\n}",
3493
- source: "packages/client/ui-conversation/src/client/contract/slots.ts:298"
3493
+ source: "packages/client/ui-conversation/src/client/contract/slots.ts:300"
3494
3494
  },
3495
3495
  {
3496
3496
  key: "conversation.input.model.label",
@@ -3589,7 +3589,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
3589
3589
  ],
3590
3590
  replaceRisk: "none",
3591
3591
  example: "return {\n inject: ['slots'],\n apply(ctx) {\n ctx.slots.inject('conversation.input.overlay', () => ctx.slots.register(\n { name: 'conversation.input.overlay', id: 'my-entry', order: 100, label: 'My entry' },\n () => React.createElement('div', null, 'hello'),\n ))\n },\n}",
3592
- source: "packages/client/ui-conversation/src/client/contract/slots.ts:272"
3592
+ source: "packages/client/ui-conversation/src/client/contract/slots.ts:274"
3593
3593
  },
3594
3594
  {
3595
3595
  key: "conversation.input.permission",
@@ -3627,7 +3627,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
3627
3627
  occupants: ["client-ui-permission-presets PermissionSelect"],
3628
3628
  replaceRisk: "shadows-shipped-ui",
3629
3629
  example: "return {\n inject: ['slots'],\n apply(ctx) {\n ctx.slots.inject('conversation.input.permission', () => ctx.slots.register(\n { name: 'conversation.input.permission' },\n () => React.createElement('div', null, 'hello'),\n ))\n },\n}",
3630
- source: "packages/client/ui-conversation/src/client/contract/slots.ts:292"
3630
+ source: "packages/client/ui-conversation/src/client/contract/slots.ts:294"
3631
3631
  },
3632
3632
  {
3633
3633
  key: "conversation.input.plan",
@@ -3665,7 +3665,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
3665
3665
  occupants: ["client-ui-plan PlanChip"],
3666
3666
  replaceRisk: "shadows-shipped-ui",
3667
3667
  example: "return {\n inject: ['slots'],\n apply(ctx) {\n ctx.slots.inject('conversation.input.plan', () => ctx.slots.register(\n { name: 'conversation.input.plan' },\n () => React.createElement('div', null, 'hello'),\n ))\n },\n}",
3668
- source: "packages/client/ui-conversation/src/client/contract/slots.ts:290"
3668
+ source: "packages/client/ui-conversation/src/client/contract/slots.ts:292"
3669
3669
  },
3670
3670
  {
3671
3671
  key: "conversation.input.right",
@@ -3722,7 +3722,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
3722
3722
  occupants: [],
3723
3723
  replaceRisk: "none",
3724
3724
  example: "return {\n inject: ['slots'],\n apply(ctx) {\n ctx.slots.inject('conversation.input.right', () => ctx.slots.register(\n { name: 'conversation.input.right', id: 'my-entry', order: 100, label: 'My entry' },\n () => React.createElement('div', null, 'hello'),\n ))\n },\n}",
3725
- source: "packages/client/ui-conversation/src/client/contract/slots.ts:278"
3725
+ source: "packages/client/ui-conversation/src/client/contract/slots.ts:280"
3726
3726
  },
3727
3727
  {
3728
3728
  key: "conversation.plan-review.actions",
@@ -4056,6 +4056,54 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
4056
4056
  example: "return {\n inject: ['slots'],\n apply(ctx) {\n ctx.slots.inject('conversation.session.header.utilities', () => ctx.slots.register(\n { name: 'conversation.session.header.utilities', id: 'my-entry', order: 100, label: 'My entry' },\n () => React.createElement('div', null, 'hello'),\n ))\n },\n}",
4057
4057
  source: "packages/client/ui-conversation/src/client/contract/slots.ts:235"
4058
4058
  },
4059
+ {
4060
+ key: "conversation.session.header.views.actions",
4061
+ kind: "list",
4062
+ scope: "root",
4063
+ summary: "Rows of the View tab row's More menu; the header shows More only while this list has registrations.",
4064
+ doc: "Rows of the View tab row's More menu; the header shows More only while this list has registrations.",
4065
+ registerOptions: [
4066
+ {
4067
+ name: "id",
4068
+ requirement: "required",
4069
+ type: "string",
4070
+ 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."
4071
+ },
4072
+ {
4073
+ name: "order",
4074
+ requirement: "optional",
4075
+ type: "number",
4076
+ doc: "Position among the entries, ascending (default 0)."
4077
+ },
4078
+ {
4079
+ name: "label",
4080
+ requirement: "optional",
4081
+ type: "string | (() => string)",
4082
+ 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."
4083
+ }
4084
+ ],
4085
+ ownerProps: ["/** Owner share of the View tab row's More menu rows. */\nexport interface ConversationViewActionsOwnerProps {\n /** Views outside the header in registration order. */\n readonly entries: readonly ConversationViewActionEntry[]\n /**\n * Select a View in this Session without changing its pin state.\n * @param id - Listed View id.\n */\n readonly onOpen: (id: string) => void\n /**\n * Pin or unpin a View in every Session.\n * @param id - Listed View id.\n * @param pinned - Whether the View is manually pinned; the width budget can still fold it into More.\n */\n readonly onPinnedChange: (id: string, pinned: boolean) => void\n /** Close the More menu. */\n readonly onDismiss: () => void\n}"],
4086
+ ownerPropsReferences: ["ConversationViewActionEntry"],
4087
+ standardProps: [
4088
+ "useRemoteAccess: (action: RemoteEndpoint) => boolean",
4089
+ "useResource: UseResource",
4090
+ "useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>",
4091
+ "usePanelInfo: UsePanelInfo",
4092
+ "useSessions: UseSessions",
4093
+ "useSessionStatus: UseSessionStatus",
4094
+ "useSessionRetainInfo: UseSessionRetainInfo",
4095
+ "useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean",
4096
+ "useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean"
4097
+ ],
4098
+ keyDomain: "",
4099
+ hookContext: "",
4100
+ slotInject: "",
4101
+ declaredBy: "an entry in 'conversation.session.header' (client-ui-conversation), so it exists while that entry is mounted",
4102
+ occupants: ["client-ui-entry-customization EntryMenuContent id 'entry-customization'"],
4103
+ replaceRisk: "none",
4104
+ example: "return {\n inject: ['slots'],\n apply(ctx) {\n ctx.slots.inject('conversation.session.header.views.actions', () => ctx.slots.register(\n { name: 'conversation.session.header.views.actions', id: 'my-entry', order: 100, label: 'My entry' },\n () => React.createElement('div', null, 'hello'),\n ))\n },\n}",
4105
+ source: "packages/client/ui-conversation/src/client/contract/slots.ts:258"
4106
+ },
4059
4107
  {
4060
4108
  key: "conversation.trajectory.images",
4061
4109
  kind: "single",
@@ -4204,7 +4252,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
4204
4252
  occupants: ["client-ui-chat ChatView id 'chat'", "client-ui-trajectory TrajectoryView id 'trajectory'"],
4205
4253
  replaceRisk: "none",
4206
4254
  example: "return {\n inject: ['slots'],\n apply(ctx) {\n ctx.slots.inject('conversation.view', () => ctx.slots.register(\n { name: 'conversation.view', id: 'my-entry', order: 100, label: 'My entry' },\n () => React.createElement('div', null, 'hello'),\n ))\n },\n}",
4207
- source: "packages/client/ui-conversation/src/client/contract/slots.ts:258"
4255
+ source: "packages/client/ui-conversation/src/client/contract/slots.ts:260"
4208
4256
  },
4209
4257
  {
4210
4258
  key: "deliverables.file.actions",
@@ -5579,7 +5627,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
5579
5627
  occupants: ["client-ui-brand-official OfficialBrandMark"],
5580
5628
  replaceRisk: "shadows-shipped-ui",
5581
5629
  example: "return {\n inject: ['slots'],\n apply(ctx) {\n ctx.slots.inject('sidebar.brand.mark', () => ctx.slots.register(\n { name: 'sidebar.brand.mark' },\n () => React.createElement('div', null, 'hello'),\n ))\n },\n}",
5582
- source: "packages/client/ui-sidebar/src/client/contract/slots.ts:25"
5630
+ source: "packages/client/ui-sidebar/src/client/contract/slots.ts:26"
5583
5631
  },
5584
5632
  {
5585
5633
  key: "sidebar.brand.name",
@@ -5608,7 +5656,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
5608
5656
  occupants: ["client-ui-brand-official OfficialBrandName"],
5609
5657
  replaceRisk: "shadows-shipped-ui",
5610
5658
  example: "return {\n inject: ['slots'],\n apply(ctx) {\n ctx.slots.inject('sidebar.brand.name', () => ctx.slots.register(\n { name: 'sidebar.brand.name' },\n () => React.createElement('div', null, 'hello'),\n ))\n },\n}",
5611
- source: "packages/client/ui-sidebar/src/client/contract/slots.ts:30"
5659
+ source: "packages/client/ui-sidebar/src/client/contract/slots.ts:31"
5612
5660
  },
5613
5661
  {
5614
5662
  key: "sidebar.chat.conversation",
@@ -5694,7 +5742,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
5694
5742
  occupants: ["client-ui-cordis CordisPanel id 'cordis-panel'"],
5695
5743
  replaceRisk: "none",
5696
5744
  example: "return {\n inject: ['slots'],\n apply(ctx) {\n ctx.slots.inject('sidebar.footer.action', () => ctx.slots.register(\n { name: 'sidebar.footer.action', id: 'my-entry', order: 100, label: 'My entry' },\n () => React.createElement('div', null, 'hello'),\n ))\n },\n}",
5697
- source: "packages/client/ui-sidebar/src/client/contract/slots.ts:53"
5745
+ source: "packages/client/ui-sidebar/src/client/contract/slots.ts:56"
5698
5746
  },
5699
5747
  {
5700
5748
  key: "sidebar.panellist",
@@ -5742,7 +5790,55 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
5742
5790
  occupants: ["client-ui-plugin-manager PluginsPanelIcon", "client-ui-schedule TaskManagerIcon"],
5743
5791
  replaceRisk: "none",
5744
5792
  example: "return {\n inject: ['slots'],\n apply(ctx) {\n ctx.slots.inject('sidebar.panellist', () => ctx.slots.register(\n { name: 'sidebar.panellist', id: 'my-entry', order: 100, label: 'My entry' },\n () => React.createElement('div', null, 'hello'),\n ))\n },\n}",
5745
- source: "packages/client/ui-sidebar/src/client/contract/slots.ts:35"
5793
+ source: "packages/client/ui-sidebar/src/client/contract/slots.ts:36"
5794
+ },
5795
+ {
5796
+ key: "sidebar.panellist.actions",
5797
+ kind: "list",
5798
+ scope: "root",
5799
+ summary: "Rows of the panel list's More menu; the sidebar shows More only while this list has registrations.",
5800
+ doc: "Rows of the panel list's More menu; the sidebar shows More only while this list has registrations.",
5801
+ registerOptions: [
5802
+ {
5803
+ name: "id",
5804
+ requirement: "required",
5805
+ type: "string",
5806
+ 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."
5807
+ },
5808
+ {
5809
+ name: "order",
5810
+ requirement: "optional",
5811
+ type: "number",
5812
+ doc: "Position among the entries, ascending (default 0)."
5813
+ },
5814
+ {
5815
+ name: "label",
5816
+ requirement: "optional",
5817
+ type: "string | (() => string)",
5818
+ 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."
5819
+ }
5820
+ ],
5821
+ ownerProps: ["/** Owner share of the panel list's More menu rows. */\nexport interface SidebarPanelActionsOwnerProps {\n /** Customizable panels in registration order; Plugins is never listed. */\n readonly entries: readonly SidebarPanelActionEntry[]\n /**\n * Open a panel without changing its pin state.\n * @param id - Listed panel id.\n */\n readonly onOpen: (id: string) => void\n /**\n * Show (true) or unpin (false) a panel launcher.\n * @param id - Listed panel id.\n * @param pinned - Whether the launcher shows in the sidebar.\n */\n readonly onPinnedChange: (id: string, pinned: boolean) => void\n /** Close the More menu. */\n readonly onDismiss: () => void\n}"],
5822
+ ownerPropsReferences: ["SidebarPanelActionEntry"],
5823
+ standardProps: [
5824
+ "useRemoteAccess: (action: RemoteEndpoint) => boolean",
5825
+ "useResource: UseResource",
5826
+ "useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>",
5827
+ "usePanelInfo: UsePanelInfo",
5828
+ "useSessions: UseSessions",
5829
+ "useSessionStatus: UseSessionStatus",
5830
+ "useSessionRetainInfo: UseSessionRetainInfo",
5831
+ "useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean",
5832
+ "useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean"
5833
+ ],
5834
+ keyDomain: "",
5835
+ hookContext: "",
5836
+ slotInject: "",
5837
+ declaredBy: "an entry in 'sidebar' (client-ui-sidebar), so it exists while that entry is mounted",
5838
+ occupants: ["client-ui-entry-customization EntryMenuContent id 'entry-customization'"],
5839
+ replaceRisk: "none",
5840
+ example: "return {\n inject: ['slots'],\n apply(ctx) {\n ctx.slots.inject('sidebar.panellist.actions', () => ctx.slots.register(\n { name: 'sidebar.panellist.actions', id: 'my-entry', order: 100, label: 'My entry' },\n () => React.createElement('div', null, 'hello'),\n ))\n },\n}",
5841
+ source: "packages/client/ui-sidebar/src/client/contract/slots.ts:38"
5746
5842
  },
5747
5843
  {
5748
5844
  key: "sidebar.right.pane.tab",
@@ -6201,6 +6297,54 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
6201
6297
  example: "return {\n inject: ['slots'],\n apply(ctx) {\n ctx.slots.inject('sidebar.right.tab.guide', () => ctx.slots.register(\n { name: 'sidebar.right.tab.guide', select: owner => null },\n () => React.createElement('div', null, 'hello'),\n ))\n },\n}",
6202
6298
  source: "packages/client/ui-sidebar-right/src/client/contract/slots.ts:84"
6203
6299
  },
6300
+ {
6301
+ key: "sidebar.right.tab.guide.actions",
6302
+ kind: "list",
6303
+ scope: "root",
6304
+ summary: "Rows of the guide's More menu; the guide shows More only while this list has registrations.",
6305
+ doc: "Rows of the guide's More menu; the guide shows More only while this list has registrations.",
6306
+ registerOptions: [
6307
+ {
6308
+ name: "id",
6309
+ requirement: "required",
6310
+ type: "string",
6311
+ 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."
6312
+ },
6313
+ {
6314
+ name: "order",
6315
+ requirement: "optional",
6316
+ type: "number",
6317
+ doc: "Position among the entries, ascending (default 0)."
6318
+ },
6319
+ {
6320
+ name: "label",
6321
+ requirement: "optional",
6322
+ type: "string | (() => string)",
6323
+ 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."
6324
+ }
6325
+ ],
6326
+ ownerProps: ["/** Owner share of the guide's More menu rows. */\nexport interface SidebarRightGuideActionsOwnerProps {\n /** Guide cards in registry order; cards of kind `files` are never listed. */\n readonly entries: readonly SidebarRightGuideActionEntry[]\n /**\n * Open a card's tab type in the guide's place without changing its pin state.\n * @param id - Listed card id.\n */\n readonly onOpen: (id: string) => void\n /**\n * Show (true) or unpin (false) a guide card.\n * @param id - Listed card id.\n * @param pinned - Whether the card shows on the guide.\n */\n readonly onPinnedChange: (id: string, pinned: boolean) => void\n /** Close the More menu. */\n readonly onDismiss: () => void\n}"],
6327
+ ownerPropsReferences: ["SidebarRightGuideActionEntry"],
6328
+ standardProps: [
6329
+ "useRemoteAccess: (action: RemoteEndpoint) => boolean",
6330
+ "useResource: UseResource",
6331
+ "useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>",
6332
+ "usePanelInfo: UsePanelInfo",
6333
+ "useSessions: UseSessions",
6334
+ "useSessionStatus: UseSessionStatus",
6335
+ "useSessionRetainInfo: UseSessionRetainInfo",
6336
+ "useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean",
6337
+ "useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean"
6338
+ ],
6339
+ keyDomain: "",
6340
+ hookContext: "",
6341
+ slotInject: "",
6342
+ declaredBy: "an entry in 'sidebar.right.pane.tab' (client-ui-sidebar-right), so it exists while that entry is mounted",
6343
+ occupants: ["client-ui-entry-customization EntryMenuContent id 'entry-customization'"],
6344
+ replaceRisk: "none",
6345
+ example: "return {\n inject: ['slots'],\n apply(ctx) {\n ctx.slots.inject('sidebar.right.tab.guide.actions', () => ctx.slots.register(\n { name: 'sidebar.right.tab.guide.actions', id: 'my-entry', order: 100, label: 'My entry' },\n () => React.createElement('div', null, 'hello'),\n ))\n },\n}",
6346
+ source: "packages/client/ui-sidebar-right/src/client/contract/slots.ts:91"
6347
+ },
6204
6348
  {
6205
6349
  key: "sidebar.right.tab.guide.entry",
6206
6350
  kind: "keyed",
@@ -6242,7 +6386,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
6242
6386
  occupants: ["client-ui-sidebar-terminal TerminalGuide"],
6243
6387
  replaceRisk: "none",
6244
6388
  example: "return {\n inject: ['slots'],\n apply(ctx) {\n ctx.slots.inject('sidebar.right.tab.guide.entry', () => ctx.slots.register(\n { name: 'sidebar.right.tab.guide.entry', key: '<one key the owner dispatches>' },\n () => React.createElement('div', null, 'hello'),\n ))\n },\n}",
6245
- source: "packages/client/ui-sidebar-right/src/client/contract/slots.ts:91"
6389
+ source: "packages/client/ui-sidebar-right/src/client/contract/slots.ts:93"
6246
6390
  },
6247
6391
  {
6248
6392
  key: "sidebar.right.tab.menu.item",
@@ -6299,7 +6443,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
6299
6443
  occupants: [],
6300
6444
  replaceRisk: "none",
6301
6445
  example: "return {\n inject: ['slots'],\n apply(ctx) {\n ctx.slots.inject('sidebar.right.tab.menu.item', () => ctx.slots.register(\n { name: 'sidebar.right.tab.menu.item', id: 'my-entry', order: 100, label: 'My entry' },\n () => React.createElement('div', null, 'hello'),\n ))\n },\n}",
6302
- source: "packages/client/ui-sidebar-right/src/client/contract/slots.ts:103"
6446
+ source: "packages/client/ui-sidebar-right/src/client/contract/slots.ts:105"
6303
6447
  },
6304
6448
  {
6305
6449
  key: "sidebar.session.row.hover",
@@ -6424,7 +6568,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
6424
6568
  occupants: ["client-ui-settings-general SettingsRoot"],
6425
6569
  replaceRisk: "shadows-shipped-ui",
6426
6570
  example: "return {\n inject: ['slots'],\n apply(ctx) {\n ctx.slots.inject('sidebar.settings', () => ctx.slots.register(\n { name: 'sidebar.settings' },\n () => React.createElement('div', null, 'hello'),\n ))\n },\n}",
6427
- source: "packages/client/ui-sidebar/src/client/contract/slots.ts:48"
6571
+ source: "packages/client/ui-sidebar/src/client/contract/slots.ts:51"
6428
6572
  },
6429
6573
  {
6430
6574
  key: "sidebar.toggle.badge",
@@ -6453,7 +6597,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
6453
6597
  occupants: ["client-ui-settings-general DesktopUpdateBadge"],
6454
6598
  replaceRisk: "shadows-shipped-ui",
6455
6599
  example: "return {\n inject: ['slots'],\n apply(ctx) {\n ctx.slots.inject('sidebar.toggle.badge', () => ctx.slots.register(\n { name: 'sidebar.toggle.badge' },\n () => React.createElement('div', null, 'hello'),\n ))\n },\n}",
6456
- source: "packages/client/ui-sidebar/src/client/contract/slots.ts:19"
6600
+ source: "packages/client/ui-sidebar/src/client/contract/slots.ts:20"
6457
6601
  },
6458
6602
  {
6459
6603
  key: "sidebar.workspaces",
@@ -6482,7 +6626,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
6482
6626
  occupants: ["client-ui-workspace WorkspaceBrowser"],
6483
6627
  replaceRisk: "shadows-shipped-ui",
6484
6628
  example: "return {\n inject: ['slots'],\n apply(ctx) {\n ctx.slots.inject('sidebar.workspaces', () => ctx.slots.register(\n { name: 'sidebar.workspaces' },\n () => React.createElement('div', null, 'hello'),\n ))\n },\n}",
6485
- source: "packages/client/ui-sidebar/src/client/contract/slots.ts:42"
6629
+ source: "packages/client/ui-sidebar/src/client/contract/slots.ts:45"
6486
6630
  },
6487
6631
  {
6488
6632
  key: "sidebar.workspaces.directoryFlow",
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@deepseek-ai/dsh-cordis-client-runner",
3
3
  "description": "Browser half of dynamic dual-half plugin packages: event subscription, closure evaluation, guard facade, and loader entries",
4
- "version": "0.2.1-rc.2",
4
+ "version": "0.2.1-rc.4",
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },
@@ -43,13 +43,13 @@
43
43
  },
44
44
  "devDependencies": {
45
45
  "@deepseek-ai/cordis-plugin-loader": "~1.0.6",
46
- "@deepseek-ai/dsh-api-remotes": "0.2.1-rc.2",
47
- "@deepseek-ai/dsh-client-modules": "0.2.1-rc.2",
48
- "@deepseek-ai/dsh-client-ui-renderer": "0.2.1-rc.2",
49
- "@deepseek-ai/dsh-client-ui-theme": "0.2.1-rc.2",
46
+ "@deepseek-ai/dsh-api-remotes": "0.2.1-rc.4",
47
+ "@deepseek-ai/dsh-client-modules": "0.2.1-rc.4",
48
+ "@deepseek-ai/dsh-client-ui-renderer": "0.2.1-rc.4",
49
+ "@deepseek-ai/dsh-client-ui-theme": "0.2.1-rc.4",
50
50
  "@deepseek-ai/cordis": "~4.0.5",
51
51
  "react": "^18.2.0",
52
- "@deepseek-ai/dsh-util-values": "0.2.1-rc.2"
52
+ "@deepseek-ai/dsh-util-values": "0.2.1-rc.4"
53
53
  },
54
54
  "files": [
55
55
  "locale/*.json",