@sparkelf/dsh-plus 0.2.2-alpha.2.40 → 0.2.2-alpha.2.42

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@sparkelf/dsh-plus",
3
3
  "description": "DeepSeek Harness Plus official-base Web distribution profile and ranged compatibility patchset",
4
- "version": "0.2.2-alpha.2.40",
4
+ "version": "0.2.2-alpha.2.42",
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },
@@ -82,7 +82,7 @@
82
82
  "@deepseek-ai/dsh-experimental-agent-team-profile": "0.2.2-alpha.2",
83
83
  "@sparkelf/dsh-mobile-bridge": "0.2.18",
84
84
  "@sparkelf/dsh-quant": "0.91.0-sparkelf.13",
85
- "@sparkelf/dsh-task-bus": "0.1.4",
85
+ "@sparkelf/dsh-task-bus": "0.1.6",
86
86
  "@deepseek-ai/dsh-experimental-auto-review": "0.2.2-alpha.2",
87
87
  "@sparkelf/dsh-genui": "0.15.0-sparkelf.1",
88
88
  "@deepseek-ai/dsh-anonymous-user-id": "0.2.2-alpha.2",
@@ -590,6 +590,23 @@
590
590
  },
591
591
  "file": "./patches/ui-sidebar-right-global-panel.patch",
592
592
  "retireWhen": "官方 ui-sidebar-right 的 RightbarRoot 在 global panel(activePanelId !== null)下渲染 rightbar.session 后退役"
593
+ },
594
+ {
595
+ "id": "dsh-resource-ref-chip",
596
+ "dsh": ">=0.2.2-alpha.2",
597
+ "target": {
598
+ "kind": "dsh-source",
599
+ "paths": [
600
+ "packages/client/ui-primitives/",
601
+ "packages/client/ui-conversation/"
602
+ ],
603
+ "packages": [
604
+ "@deepseek-ai/dsh-client-ui-primitives",
605
+ "@deepseek-ai/dsh-client-ui-conversation"
606
+ ]
607
+ },
608
+ "file": "./patches/dsh-resource-ref-chip.patch",
609
+ "retireWhen": "官方 primitives 的 ReferenceIconKind 增加 resource 类型后退役"
593
610
  }
594
611
  ]
595
612
  },
@@ -656,7 +673,7 @@
656
673
  ],
657
674
  "packages": {
658
675
  "@sparkelf/dsh-api-client": "0.5.3",
659
- "@sparkelf/dsh-dataops-managed": "0.3.28",
676
+ "@sparkelf/dsh-dataops-managed": "0.3.29",
660
677
  "@sparkelf/dsh-genui": "0.15.0-sparkelf.1",
661
678
  "@sparkelf/dsh-knowledge-base": "0.1.27",
662
679
  "@sparkelf/dsh-mineru": "0.1.4",
@@ -666,7 +683,7 @@
666
683
  "@sparkelf/dsh-ssh-manager": "0.7.5",
667
684
  "@sparkelf/dsh-workbench-vault": "0.1.2",
668
685
  "dsh-right-bg-anim": "1.1.0",
669
- "@sparkelf/dsh-task-bus": "0.1.4",
686
+ "@sparkelf/dsh-task-bus": "0.1.6",
670
687
  "@sparkelf/dsh-credential-manager": "0.1.3",
671
688
  "@sparkelf/dsh-dataops-account": "0.2.0",
672
689
  "@sparkelf/dsh-group-chat": "0.5.1",
@@ -0,0 +1,40 @@
1
+ diff --git a/packages/client/ui-conversation/src/client/contract/draft-editor.ts b/packages/client/ui-conversation/src/client/contract/draft-editor.ts
2
+ index b305bb3a3c..0aee9f6be2 100644
3
+ --- a/packages/client/ui-conversation/src/client/contract/draft-editor.ts
4
+ +++ b/packages/client/ui-conversation/src/client/contract/draft-editor.ts
5
+ @@ -15,7 +15,7 @@ export interface ReferenceInsert {
6
+ readonly source: string
7
+ readonly ref: string
8
+ readonly label: string
9
+ - readonly appearance?: 'session' | 'file' | 'folder'
10
+ + readonly appearance?: 'session' | 'file' | 'folder' | 'resource'
11
+ readonly clipboardText: string
12
+ }
13
+
14
+ diff --git a/packages/client/ui-primitives/src/ReferenceIcon.tsx b/packages/client/ui-primitives/src/ReferenceIcon.tsx
15
+ index ca566c40f6..198e6bbb1d 100644
16
+ --- a/packages/client/ui-primitives/src/ReferenceIcon.tsx
17
+ +++ b/packages/client/ui-primitives/src/ReferenceIcon.tsx
18
+ @@ -6,7 +6,7 @@ import {
19
+ } from './icons/shared-artwork.tsx'
20
+
21
+ /** Reference domains with distinct composer and transcript glyphs. */
22
+ -export type ReferenceIconKind = 'session' | 'file' | 'folder'
23
+ +export type ReferenceIconKind = 'session' | 'file' | 'folder' | 'resource'
24
+
25
+ /** Props shared by inline reference glyphs. */
26
+ export interface ReferenceIconProps extends IconProps {
27
+ @@ -27,6 +27,13 @@ function ReferenceIconArtwork({ kind, size = 16, className, strokeWidth }: Weigh
28
+ case 'session': return <ChatLinesOutlineArtwork size={size} className={className} strokeWidth={strokeWidth} />
29
+ case 'file': return <BrowseOutlineArtwork size={size} className={className} strokeWidth={strokeWidth} />
30
+ case 'folder': return <FolderCloseArtwork size={size} className={className} strokeWidth={strokeWidth} />
31
+ + case 'resource': return (
32
+ + <svg width={size} height={size} viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth={strokeWidth} strokeLinecap="round" strokeLinejoin="round" className={className} aria-hidden>
33
+ + <path d="M21 8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16Z" />
34
+ + <path d="m3.3 7 8.7 5 8.7-5" />
35
+ + <path d="M12 22V12" />
36
+ + </svg>
37
+ + )
38
+ }
39
+ }
40
+