@linbin-mk/dsh-brand-deepseek 0.1.3
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/LICENSE +21 -0
- package/NOTICE +60 -0
- package/README.en.md +114 -0
- package/README.md +114 -0
- package/cordis.patch.yml +3 -0
- package/lib/client.js +1233 -0
- package/lib/index.js +26 -0
- package/package.json +121 -0
package/lib/index.js
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import z from "@deepseek-ai/schemastery";
|
|
2
|
+
//#region src/index.ts
|
|
3
|
+
const inject = ["settings"];
|
|
4
|
+
/** Settings namespace holding the persisted brand style. */
|
|
5
|
+
const NS = "dsh-brand-deepseek";
|
|
6
|
+
/** Host plugin body — registers the namespace, nothing else. */
|
|
7
|
+
function apply(ctx) {
|
|
8
|
+
ctx.effect(() => {
|
|
9
|
+
ctx.settings.register(NS, z.object({
|
|
10
|
+
enabled: z.boolean().default(true),
|
|
11
|
+
hero: z.boolean().default(true),
|
|
12
|
+
trajectoryTab: z.boolean().default(true),
|
|
13
|
+
sessionLogButton: z.boolean().default(true),
|
|
14
|
+
color: z.string().default("#4176e6")
|
|
15
|
+
}), { base: {
|
|
16
|
+
enabled: true,
|
|
17
|
+
hero: true,
|
|
18
|
+
trajectoryTab: true,
|
|
19
|
+
sessionLogButton: true,
|
|
20
|
+
color: "#4176e6"
|
|
21
|
+
} });
|
|
22
|
+
return () => {};
|
|
23
|
+
}, "dsh-brand-deepseek: settings namespace");
|
|
24
|
+
}
|
|
25
|
+
//#endregion
|
|
26
|
+
export { apply, inject };
|
package/package.json
ADDED
|
@@ -0,0 +1,121 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@linbin-mk/dsh-brand-deepseek",
|
|
3
|
+
"version": "0.1.3",
|
|
4
|
+
"description": "Third-party DeepSeek Harness brand plugin: whale mark plus a minimal 'deepseek' wordmark for the Web client sidebar.",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"main": "./lib/index.js",
|
|
7
|
+
"exports": {
|
|
8
|
+
".": {
|
|
9
|
+
"default": "./lib/index.js"
|
|
10
|
+
},
|
|
11
|
+
"./client": {
|
|
12
|
+
"default": "./lib/client.js"
|
|
13
|
+
},
|
|
14
|
+
"./cordis.patch.yml": "./cordis.patch.yml",
|
|
15
|
+
"./package.json": "./package.json"
|
|
16
|
+
},
|
|
17
|
+
"dsh": {
|
|
18
|
+
"bundle": {
|
|
19
|
+
"patch": "./cordis.patch.yml"
|
|
20
|
+
},
|
|
21
|
+
"client": {
|
|
22
|
+
"platform": "web",
|
|
23
|
+
"inject": [
|
|
24
|
+
"@deepseek-ai/dsh-api-remotes",
|
|
25
|
+
"@deepseek-ai/dsh-client-locale",
|
|
26
|
+
"@deepseek-ai/dsh-client-ui-renderer",
|
|
27
|
+
"@deepseek-ai/dsh-client-ui-settings",
|
|
28
|
+
"@deepseek-ai/dsh-client-ui-sidebar"
|
|
29
|
+
]
|
|
30
|
+
}
|
|
31
|
+
},
|
|
32
|
+
"scripts": {
|
|
33
|
+
"build": "node build.mjs",
|
|
34
|
+
"build:check": "node build.mjs && git diff --exit-code -- lib",
|
|
35
|
+
"test": "node scripts/smoke-client.mjs && node scripts/smoke-visibility.mjs"
|
|
36
|
+
},
|
|
37
|
+
"files": [
|
|
38
|
+
"lib/**/*.js",
|
|
39
|
+
"cordis.patch.yml",
|
|
40
|
+
"README.md",
|
|
41
|
+
"README.en.md",
|
|
42
|
+
"LICENSE",
|
|
43
|
+
"NOTICE"
|
|
44
|
+
],
|
|
45
|
+
"engines": {
|
|
46
|
+
"node": "^22.19.0 || >=24.0.0"
|
|
47
|
+
},
|
|
48
|
+
"packageManager": "pnpm@11.7.0",
|
|
49
|
+
"dependencies": {
|
|
50
|
+
"@deepseek-ai/schemastery": "^3.18.2"
|
|
51
|
+
},
|
|
52
|
+
"peerDependencies": {
|
|
53
|
+
"@deepseek-ai/cordis": "^4.0.2",
|
|
54
|
+
"@deepseek-ai/dsh-api-remotes": "^0.1.5-rc.1",
|
|
55
|
+
"@deepseek-ai/dsh-client-locale": "^0.1.5-rc.1",
|
|
56
|
+
"@deepseek-ai/dsh-client-ui-conversation": "^0.1.5-rc.1",
|
|
57
|
+
"@deepseek-ai/dsh-client-ui-primitives": "^0.1.5-rc.1",
|
|
58
|
+
"@deepseek-ai/dsh-client-ui-renderer": "^0.1.5-rc.1",
|
|
59
|
+
"@deepseek-ai/dsh-client-ui-settings": "^0.1.5-rc.1",
|
|
60
|
+
"@deepseek-ai/dsh-client-ui-sidebar": "^0.1.5-rc.1",
|
|
61
|
+
"@deepseek-ai/dsh-client-ui-slots": "^0.1.5-rc.1",
|
|
62
|
+
"@deepseek-ai/dsh-settings": "^0.1.5-rc.1"
|
|
63
|
+
},
|
|
64
|
+
"peerDependenciesMeta": {
|
|
65
|
+
"@deepseek-ai/cordis": { "optional": true },
|
|
66
|
+
"@deepseek-ai/dsh-api-remotes": { "optional": true },
|
|
67
|
+
"@deepseek-ai/dsh-client-locale": { "optional": true },
|
|
68
|
+
"@deepseek-ai/dsh-client-ui-conversation": { "optional": true },
|
|
69
|
+
"@deepseek-ai/dsh-client-ui-primitives": { "optional": true },
|
|
70
|
+
"@deepseek-ai/dsh-client-ui-renderer": { "optional": true },
|
|
71
|
+
"@deepseek-ai/dsh-client-ui-settings": { "optional": true },
|
|
72
|
+
"@deepseek-ai/dsh-client-ui-sidebar": { "optional": true },
|
|
73
|
+
"@deepseek-ai/dsh-client-ui-slots": { "optional": true },
|
|
74
|
+
"@deepseek-ai/dsh-settings": { "optional": true }
|
|
75
|
+
},
|
|
76
|
+
"devDependencies": {
|
|
77
|
+
"@deepseek-ai/cordis": "^4.0.2",
|
|
78
|
+
"@deepseek-ai/dsh-api-remotes": "^0.1.5-rc.1",
|
|
79
|
+
"@deepseek-ai/dsh-client-locale": "^0.1.5-rc.1",
|
|
80
|
+
"@deepseek-ai/dsh-client-ui-conversation": "^0.1.5-rc.1",
|
|
81
|
+
"@deepseek-ai/dsh-client-ui-primitives": "^0.1.5-rc.1",
|
|
82
|
+
"@deepseek-ai/dsh-client-ui-renderer": "^0.1.5-rc.1",
|
|
83
|
+
"@deepseek-ai/dsh-client-ui-settings": "^0.1.5-rc.1",
|
|
84
|
+
"@deepseek-ai/dsh-client-ui-sidebar": "^0.1.5-rc.1",
|
|
85
|
+
"@deepseek-ai/dsh-client-ui-slots": "^0.1.5-rc.1",
|
|
86
|
+
"@deepseek-ai/dsh-settings": "^0.1.5-rc.1",
|
|
87
|
+
"@types/react": "^18.3.1",
|
|
88
|
+
"jsdom": "^25.0.1",
|
|
89
|
+
"react": "^18.2.0",
|
|
90
|
+
"tsdown": "^0.22.2",
|
|
91
|
+
"typescript": "^6.0.3"
|
|
92
|
+
},
|
|
93
|
+
"author": "linbin-mk (https://github.com/linbin-mk)",
|
|
94
|
+
"keywords": [
|
|
95
|
+
"dsh",
|
|
96
|
+
"dsh-plugin",
|
|
97
|
+
"deepseek",
|
|
98
|
+
"deepseek-harness",
|
|
99
|
+
"cordis",
|
|
100
|
+
"brand",
|
|
101
|
+
"branding",
|
|
102
|
+
"logo",
|
|
103
|
+
"sidebar",
|
|
104
|
+
"wordmark",
|
|
105
|
+
"deepseek-brand",
|
|
106
|
+
"web"
|
|
107
|
+
],
|
|
108
|
+
"repository": {
|
|
109
|
+
"type": "git",
|
|
110
|
+
"url": "git+https://github.com/linbin-mk/dsh-brand-deepseek.git"
|
|
111
|
+
},
|
|
112
|
+
"homepage": "https://github.com/linbin-mk/dsh-brand-deepseek#readme",
|
|
113
|
+
"bugs": {
|
|
114
|
+
"url": "https://github.com/linbin-mk/dsh-brand-deepseek/issues"
|
|
115
|
+
},
|
|
116
|
+
"publishConfig": {
|
|
117
|
+
"registry": "https://registry.npmjs.org",
|
|
118
|
+
"access": "public"
|
|
119
|
+
},
|
|
120
|
+
"license": "MIT"
|
|
121
|
+
}
|