@deepseek-ai/dsh-cordis-client-runner 0.2.1-rc.3 → 0.2.1-rc.5

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 +12 -12
  2. package/package.json +6 -6
package/lib/client.js CHANGED
@@ -2525,7 +2525,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
2525
2525
  occupants: ["client-ui-message-feedback MessageFeedbackActions id 'feedback'"],
2526
2526
  replaceRisk: "none",
2527
2527
  example: "return {\n inject: ['slots'],\n apply(ctx) {\n ctx.slots.inject('conversation.chat.assistant-actions', () => ctx.slots.register(\n { name: 'conversation.chat.assistant-actions', id: 'my-entry', order: 100, label: 'My entry' },\n () => React.createElement('div', null, 'hello'),\n ))\n },\n}",
2528
- source: "packages/client/ui-chat/src/client/contract/slots.ts:441"
2528
+ source: "packages/client/ui-chat/src/client/contract/slots.ts:447"
2529
2529
  },
2530
2530
  {
2531
2531
  key: "conversation.chat.commandview",
@@ -2572,7 +2572,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
2572
2572
  occupants: [],
2573
2573
  replaceRisk: "none",
2574
2574
  example: "return {\n inject: ['slots'],\n apply(ctx) {\n ctx.slots.inject('conversation.chat.commandview', () => ctx.slots.register(\n { name: 'conversation.chat.commandview', key: '<one key the owner dispatches>' },\n () => React.createElement('div', null, 'hello'),\n ))\n },\n}",
2575
- source: "packages/client/ui-chat/src/client/contract/slots.ts:423"
2575
+ source: "packages/client/ui-chat/src/client/contract/slots.ts:429"
2576
2576
  },
2577
2577
  {
2578
2578
  key: "conversation.chat.flow",
@@ -2614,7 +2614,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
2614
2614
  occupants: ["client-ui-chat ChatFlow"],
2615
2615
  replaceRisk: "shadows-shipped-ui",
2616
2616
  example: "return {\n inject: ['slots'],\n apply(ctx) {\n ctx.slots.inject('conversation.chat.flow', () => ctx.slots.register(\n { name: 'conversation.chat.flow' },\n () => React.createElement('div', null, 'hello'),\n ))\n },\n}",
2617
- source: "packages/client/ui-chat/src/client/contract/slots.ts:390"
2617
+ source: "packages/client/ui-chat/src/client/contract/slots.ts:396"
2618
2618
  },
2619
2619
  {
2620
2620
  key: "conversation.chat.message.images",
@@ -2656,7 +2656,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
2656
2656
  occupants: ["client-ui-attachment MessageImages"],
2657
2657
  replaceRisk: "shadows-shipped-ui",
2658
2658
  example: "return {\n inject: ['slots'],\n apply(ctx) {\n ctx.slots.inject('conversation.chat.message.images', () => ctx.slots.register(\n { name: 'conversation.chat.message.images' },\n () => React.createElement('div', null, 'hello'),\n ))\n },\n}",
2659
- source: "packages/client/ui-chat/src/client/contract/slots.ts:415"
2659
+ source: "packages/client/ui-chat/src/client/contract/slots.ts:421"
2660
2660
  },
2661
2661
  {
2662
2662
  key: "conversation.chat.node",
@@ -2725,16 +2725,16 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
2725
2725
  ],
2726
2726
  replaceRisk: "shadows-shipped-ui",
2727
2727
  example: "return {\n inject: ['slots'],\n apply(ctx) {\n ctx.slots.inject('conversation.chat.node', () => ctx.slots.register(\n { name: 'conversation.chat.node', key: '<one key the owner dispatches>' },\n () => React.createElement('div', null, 'hello'),\n ))\n },\n}",
2728
- source: "packages/client/ui-chat/src/client/contract/slots.ts:402"
2728
+ source: "packages/client/ui-chat/src/client/contract/slots.ts:408"
2729
2729
  },
2730
2730
  {
2731
2731
  key: "conversation.chat.reasoning.body",
2732
2732
  kind: "single",
2733
2733
  scope: "session",
2734
- summary: "Expanded reasoning body with the unchanged model text.",
2735
- doc: "Expanded reasoning body with the unchanged model text. The official entry\nhas priority 100 and calls the reasoning Content Factory; smaller priority\nvalues replace it. Contributions must preserve access to the original text.",
2734
+ summary: "Expanded reasoning body with raw and display-ready text.",
2735
+ doc: "Expanded reasoning body with raw and display-ready text. The official entry\nhas priority 100 and calls the reasoning Content Factory; smaller priority\nvalues replace it. Contributions must preserve access to untranslated display text.",
2736
2736
  registerOptions: [],
2737
- ownerProps: ["/** Original model-provided reasoning offered to the expanded Body Slot. */\nexport interface ReasoningBodyOwnerProps {\n /** Complete or streaming reasoning text. */\n readonly text: string\n /** Whether the reasoning tail is still streaming. */\n readonly running: boolean\n}"],
2737
+ ownerProps: ["/** Original and display-ready reasoning offered to the expanded Body Slot. */\nexport interface ReasoningBodyOwnerProps {\n /** Complete or streaming model output. */\n readonly rawText: string\n /** Reasoning text prepared for display. */\n readonly text: string\n /** Whether the reasoning tail is still streaming. */\n readonly running: boolean\n}"],
2738
2738
  ownerPropsReferences: [],
2739
2739
  standardProps: [
2740
2740
  "useRemoteAccess: (action: RemoteEndpoint) => boolean",
@@ -2763,7 +2763,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
2763
2763
  occupants: ["client-ui-chat DefaultReasoningBody", "experimental-client-ui-cot-translation TranslationBody"],
2764
2764
  replaceRisk: "shadows-shipped-ui",
2765
2765
  example: "return {\n inject: ['slots'],\n apply(ctx) {\n ctx.slots.inject('conversation.chat.reasoning.body', () => ctx.slots.register(\n { name: 'conversation.chat.reasoning.body' },\n () => React.createElement('div', null, 'hello'),\n ))\n },\n}",
2766
- source: "packages/client/ui-chat/src/client/contract/slots.ts:429"
2766
+ source: "packages/client/ui-chat/src/client/contract/slots.ts:435"
2767
2767
  },
2768
2768
  {
2769
2769
  key: "conversation.chat.turnTail",
@@ -2824,7 +2824,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
2824
2824
  ],
2825
2825
  replaceRisk: "none",
2826
2826
  example: "return {\n inject: ['slots'],\n apply(ctx) {\n ctx.slots.inject('conversation.chat.turnTail', () => ctx.slots.register(\n { name: 'conversation.chat.turnTail', id: 'my-entry', order: 100, label: 'My entry' },\n () => React.createElement('div', null, 'hello'),\n ))\n },\n}",
2827
- source: "packages/client/ui-chat/src/client/contract/slots.ts:435"
2827
+ source: "packages/client/ui-chat/src/client/contract/slots.ts:441"
2828
2828
  },
2829
2829
  {
2830
2830
  key: "conversation.chat.user.images",
@@ -2866,7 +2866,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
2866
2866
  occupants: ["client-ui-attachment MessageImages"],
2867
2867
  replaceRisk: "shadows-shipped-ui",
2868
2868
  example: "return {\n inject: ['slots'],\n apply(ctx) {\n ctx.slots.inject('conversation.chat.user.images', () => ctx.slots.register(\n { name: 'conversation.chat.user.images' },\n () => React.createElement('div', null, 'hello'),\n ))\n },\n}",
2869
- source: "packages/client/ui-chat/src/client/contract/slots.ts:417"
2869
+ source: "packages/client/ui-chat/src/client/contract/slots.ts:423"
2870
2870
  },
2871
2871
  {
2872
2872
  key: "conversation.composer",
@@ -5569,7 +5569,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
5569
5569
  occupants: ["client-ui-settings-account AccountQuotaNotice"],
5570
5570
  replaceRisk: "none",
5571
5571
  example: "return {\n inject: ['slots'],\n apply(ctx) {\n ctx.slots.inject('shell.quota-notice', () => ctx.slots.register(\n { name: 'shell.quota-notice', select: owner => null },\n () => React.createElement('div', null, 'hello'),\n ))\n },\n}",
5572
- source: "packages/client/ui-chat/src/client/contract/slots.ts:449"
5572
+ source: "packages/client/ui-chat/src/client/contract/slots.ts:455"
5573
5573
  },
5574
5574
  {
5575
5575
  key: "sidebar",
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.3",
4
+ "version": "0.2.1-rc.5",
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.3",
47
- "@deepseek-ai/dsh-client-modules": "0.2.1-rc.3",
48
- "@deepseek-ai/dsh-client-ui-renderer": "0.2.1-rc.3",
49
- "@deepseek-ai/dsh-client-ui-theme": "0.2.1-rc.3",
46
+ "@deepseek-ai/dsh-api-remotes": "0.2.1-rc.5",
47
+ "@deepseek-ai/dsh-client-modules": "0.2.1-rc.5",
48
+ "@deepseek-ai/dsh-client-ui-renderer": "0.2.1-rc.5",
49
+ "@deepseek-ai/dsh-client-ui-theme": "0.2.1-rc.5",
50
50
  "@deepseek-ai/cordis": "~4.0.5",
51
51
  "react": "^18.2.0",
52
- "@deepseek-ai/dsh-util-values": "0.2.1-rc.3"
52
+ "@deepseek-ai/dsh-util-values": "0.2.1-rc.5"
53
53
  },
54
54
  "files": [
55
55
  "locale/*.json",