@deepseek-ai/dsh-cordis-client-runner 0.2.0-rc.1 → 0.2.0-rc.2

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 +59 -4
  2. package/package.json +6 -6
package/lib/client.js CHANGED
@@ -2532,7 +2532,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
2532
2532
  "useProjection: UseProjection",
2533
2533
  "useTrajectory: UseTrajectory"
2534
2534
  ],
2535
- keyDomain: "fixed by the owner's key table { [Kind in ChatNodeKind]: { node: ChatNode<Kind> } }, already taken: assistant-step, command, command-input, compaction, context, manual-compaction, model-retry, steering, system-prompt, tool-call, turn-error, turn-max-tokens, turn-process, turn-tail, turn-trigger, unknown, user, workflow-run",
2535
+ keyDomain: "fixed by the owner's key table { [Kind in ChatNodeKind]: { node: ChatNode<Kind> } }, already taken: assistant-step, command, command-input, compaction, context, 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",
2536
2536
  hookContext: "ChatNodeHookContext",
2537
2537
  slotInject: "ChatNodeInjected",
2538
2538
  declaredBy: "an entry in 'conversation.view' (client-ui-chat), so it exists while that entry is mounted",
@@ -2554,6 +2554,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
2554
2554
  "client-ui-chat UnknownNodeView key 'unknown'",
2555
2555
  "client-ui-goal GoalCommandInputView key 'command-input'",
2556
2556
  "client-ui-tool ToolCallTree key 'tool-call'",
2557
+ "client-ui-user-questions QuestionReplyView key 'question-reply'",
2557
2558
  "client-ui-workflow-run WorkflowRunPanel key 'workflow-run'"
2558
2559
  ],
2559
2560
  replaceRisk: "shadows-shipped-ui",
@@ -3670,7 +3671,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
3670
3671
  slotInject: "",
3671
3672
  declaredBy: "an entry in 'conversation.session.header' (client-ui-conversation), so it exists while that entry is mounted",
3672
3673
  occupants: [
3673
- "client-ui-open-in-app OpenInAppAction id 'open-in-app'",
3674
+ "client-ui-open-in-app SessionOpenInAppAction id 'open-in-app'",
3674
3675
  "client-ui-schedule ScheduleCatalogAction id 'schedule-catalog'",
3675
3676
  "session-log-export SessionLogDownloadHeaderAction id 'session-log-download'"
3676
3677
  ],
@@ -5443,6 +5444,60 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
5443
5444
  example: "return {\n inject: ['slots'],\n apply(ctx) {\n ctx.slots.inject('sidebar.right.tab.document.unpreviewable', () => ctx.slots.register(\n { name: 'sidebar.right.tab.document.unpreviewable', id: 'my-entry', order: 100, label: 'My entry' },\n () => React.createElement('div', null, 'hello'),\n ))\n },\n}",
5444
5445
  source: "packages/client/ui-sidebar-documentpreview/src/client/document/contract.ts:78"
5445
5446
  },
5447
+ {
5448
+ key: "sidebar.right.tab.files.actions",
5449
+ kind: "list",
5450
+ scope: "session",
5451
+ summary: "Workspace directory actions after the file tree's reload control.",
5452
+ doc: "Workspace directory actions after the file tree's reload control.",
5453
+ registerOptions: [
5454
+ {
5455
+ name: "id",
5456
+ requirement: "required",
5457
+ type: "string",
5458
+ 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."
5459
+ },
5460
+ {
5461
+ name: "order",
5462
+ requirement: "optional",
5463
+ type: "number",
5464
+ doc: "Position among the entries, ascending (default 0)."
5465
+ },
5466
+ {
5467
+ name: "label",
5468
+ requirement: "optional",
5469
+ type: "string | (() => string)",
5470
+ 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."
5471
+ }
5472
+ ],
5473
+ ownerProps: [],
5474
+ ownerPropsReferences: [],
5475
+ standardProps: [
5476
+ "useResource: UseResource",
5477
+ "useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>",
5478
+ "usePanelInfo: UsePanelInfo",
5479
+ "useSessions: UseSessions",
5480
+ "useSessionStatus: UseSessionStatus",
5481
+ "useSessionRetainInfo: UseSessionRetainInfo",
5482
+ "useWorkspaces: SnapshotSelectorHook<WorkspaceSnapshot>",
5483
+ "useChat: UseChat",
5484
+ "useConversation: UseConversation",
5485
+ "useInput: SnapshotSelectorHook<InputState>",
5486
+ "inputActions: InputActions",
5487
+ "useSession: SessionSnapshotSelector",
5488
+ "sessionId: SessionId",
5489
+ "useProjection: UseProjection",
5490
+ "useTrajectory: UseTrajectory"
5491
+ ],
5492
+ keyDomain: "",
5493
+ hookContext: "",
5494
+ slotInject: "",
5495
+ declaredBy: "an entry in 'sidebar.right.pane.tab' (client-ui-sidebar-files), so it exists while that entry is mounted",
5496
+ occupants: ["client-ui-open-in-app OpenInAppAction id 'open-in-app'"],
5497
+ replaceRisk: "none",
5498
+ example: "return {\n inject: ['slots'],\n apply(ctx) {\n ctx.slots.inject('sidebar.right.tab.files.actions', () => ctx.slots.register(\n { name: 'sidebar.right.tab.files.actions', id: 'my-entry', order: 100, label: 'My entry' },\n () => React.createElement('div', null, 'hello'),\n ))\n },\n}",
5499
+ source: "packages/client/ui-sidebar-files/src/client/index.ts:34"
5500
+ },
5446
5501
  {
5447
5502
  key: "sidebar.right.tab.guide",
5448
5503
  kind: "chain",
@@ -5907,7 +5962,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
5907
5962
  occupants: ["client-ui-attachment MessageImages"],
5908
5963
  replaceRisk: "shadows-shipped-ui",
5909
5964
  example: "return {\n inject: ['slots'],\n apply(ctx) {\n ctx.slots.inject('tool.call.images', () => ctx.slots.register(\n { name: 'tool.call.images' },\n () => React.createElement('div', null, 'hello'),\n ))\n },\n}",
5910
- source: "packages/client/ui-tool/src/client/contract/slots.ts:45"
5965
+ source: "packages/client/ui-tool/src/client/contract/slots.ts:46"
5911
5966
  },
5912
5967
  {
5913
5968
  key: "tool.call.toolview",
@@ -6013,7 +6068,7 @@ call: (method, args = null) => env.invoke(method, args) }, harnessTrap(), ...Obj
6013
6068
  ],
6014
6069
  replaceRisk: "shadows-shipped-ui",
6015
6070
  example: "return {\n inject: ['slots'],\n apply(ctx) {\n ctx.slots.inject('tool.call.toolview', () => ctx.slots.register(\n { name: 'tool.call.toolview', key: '<one key the owner dispatches>' },\n () => React.createElement('div', null, 'hello'),\n ))\n },\n}",
6016
- source: "packages/client/ui-tool/src/client/contract/slots.ts:25"
6071
+ source: "packages/client/ui-tool/src/client/contract/slots.ts:26"
6017
6072
  },
6018
6073
  {
6019
6074
  key: "tool.view.cordis",
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.0-rc.1",
4
+ "version": "0.2.0-rc.2",
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },
@@ -44,12 +44,12 @@
44
44
  "@types/react": "~18.3.1",
45
45
  "react": "^18.2.0",
46
46
  "@deepseek-ai/cordis-plugin-loader": "~1.0.5",
47
- "@deepseek-ai/dsh-api-remotes": "0.2.0-rc.1",
48
- "@deepseek-ai/dsh-client-modules": "0.2.0-rc.1",
49
- "@deepseek-ai/dsh-client-ui-renderer": "0.2.0-rc.1",
50
- "@deepseek-ai/dsh-client-ui-theme": "0.2.0-rc.1",
47
+ "@deepseek-ai/dsh-client-modules": "0.2.0-rc.2",
48
+ "@deepseek-ai/dsh-api-remotes": "0.2.0-rc.2",
49
+ "@deepseek-ai/dsh-client-ui-renderer": "0.2.0-rc.2",
51
50
  "@deepseek-ai/cordis": "~4.0.4",
52
- "@deepseek-ai/dsh-util-values": "0.2.0-rc.1"
51
+ "@deepseek-ai/dsh-client-ui-theme": "0.2.0-rc.2",
52
+ "@deepseek-ai/dsh-util-values": "0.2.0-rc.2"
53
53
  },
54
54
  "files": [
55
55
  "lib/index.js",