@deepseek-ai/dsh-cordis-client-runner 0.2.1-alpha.4 → 0.2.1-alpha.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.
- package/lib/client.js +38 -0
- package/package.json +6 -6
package/lib/client.js
CHANGED
|
@@ -3492,6 +3492,44 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
|
|
|
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
3493
|
source: "packages/client/ui-conversation/src/client/contract/slots.ts:298"
|
|
3494
3494
|
},
|
|
3495
|
+
{
|
|
3496
|
+
key: "conversation.input.model.label",
|
|
3497
|
+
kind: "single",
|
|
3498
|
+
scope: "session",
|
|
3499
|
+
summary: "Non-interactive inline model label; selection controls remain owner-managed.",
|
|
3500
|
+
doc: "Non-interactive inline model label; selection controls remain owner-managed.\nWithout a contribution, the composer displays the catalog name.",
|
|
3501
|
+
registerOptions: [],
|
|
3502
|
+
ownerProps: ["/** Catalog data for a model name inside the composer's existing controls. */\nexport interface ModelLabelOwner {\n /** Provider identity and localized display name; contains no connection configuration. */\n provider: Pick<ModelProviderGroup, 'id' | 'name'>\n /** The exact provider's model catalog entry. */\n model: ModelCatalogModel\n /** Trigger caption, root-menu current value, or selectable model row. */\n placement: 'trigger' | 'menu' | 'option'\n /** Whether this provider/model pair is the current selection. */\n selected: boolean\n}"],
|
|
3503
|
+
ownerPropsReferences: ["ModelCatalogModel", "ModelProviderGroup"],
|
|
3504
|
+
standardProps: [
|
|
3505
|
+
"useRemoteAccess: (action: RemoteEndpoint) => boolean",
|
|
3506
|
+
"useResource: UseResource",
|
|
3507
|
+
"useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>",
|
|
3508
|
+
"usePanelInfo: UsePanelInfo",
|
|
3509
|
+
"useSessions: UseSessions",
|
|
3510
|
+
"useSessionStatus: UseSessionStatus",
|
|
3511
|
+
"useSessionRetainInfo: UseSessionRetainInfo",
|
|
3512
|
+
"useSessionAccess: (sessionId: SessionId, action: RemoteEndpoint) => boolean",
|
|
3513
|
+
"useWorkspaceAccess: (workspaceId: WorkspaceId, action: RemoteEndpoint) => boolean",
|
|
3514
|
+
"useChat: UseChat",
|
|
3515
|
+
"useConversation: UseConversation",
|
|
3516
|
+
"useInput: SnapshotSelectorHook<InputState>",
|
|
3517
|
+
"inputActions: InputActions",
|
|
3518
|
+
"useSession: SessionSnapshotSelector",
|
|
3519
|
+
"sessionId: SessionId",
|
|
3520
|
+
"useProjection: UseProjection",
|
|
3521
|
+
"useAccess: (action: RemoteEndpoint) => boolean",
|
|
3522
|
+
"useTrajectory: UseTrajectory"
|
|
3523
|
+
],
|
|
3524
|
+
keyDomain: "",
|
|
3525
|
+
hookContext: "",
|
|
3526
|
+
slotInject: "",
|
|
3527
|
+
declaredBy: "an entry in 'conversation.input.model' (client-ui-model-selection), so it exists while that entry is mounted",
|
|
3528
|
+
occupants: [],
|
|
3529
|
+
replaceRisk: "none",
|
|
3530
|
+
example: "return {\n inject: ['slots'],\n apply(ctx) {\n ctx.slots.inject('conversation.input.model.label', () => ctx.slots.register(\n { name: 'conversation.input.model.label' },\n ({ provider, model }) => React.createElement('span', { title: provider.name }, model.name),\n ))\n },\n}",
|
|
3531
|
+
source: "packages/client/ui-model-selection/src/client/slots.ts:36"
|
|
3532
|
+
},
|
|
3495
3533
|
{
|
|
3496
3534
|
key: "conversation.input.overlay",
|
|
3497
3535
|
kind: "list",
|
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-alpha.
|
|
4
|
+
"version": "0.2.1-alpha.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-alpha.2",
|
|
46
|
-
"@deepseek-ai/dsh-api-remotes": "0.2.1-alpha.
|
|
47
|
-
"@deepseek-ai/dsh-client-modules": "0.2.1-alpha.
|
|
48
|
-
"@deepseek-ai/dsh-client-ui-renderer": "0.2.1-alpha.
|
|
49
|
-
"@deepseek-ai/dsh-client-ui-theme": "0.2.1-alpha.
|
|
46
|
+
"@deepseek-ai/dsh-api-remotes": "0.2.1-alpha.5",
|
|
47
|
+
"@deepseek-ai/dsh-client-modules": "0.2.1-alpha.5",
|
|
48
|
+
"@deepseek-ai/dsh-client-ui-renderer": "0.2.1-alpha.5",
|
|
49
|
+
"@deepseek-ai/dsh-client-ui-theme": "0.2.1-alpha.5",
|
|
50
50
|
"@deepseek-ai/cordis": "~4.0.5-alpha.2",
|
|
51
51
|
"react": "^18.2.0",
|
|
52
|
-
"@deepseek-ai/dsh-util-values": "0.2.1-alpha.
|
|
52
|
+
"@deepseek-ai/dsh-util-values": "0.2.1-alpha.5"
|
|
53
53
|
},
|
|
54
54
|
"files": [
|
|
55
55
|
"locale/*.json",
|