dsh-kinich-theme 1.0.0
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/CHANGELOG.md +39 -0
- package/LICENSE +31 -0
- package/README.md +111 -0
- package/README.zh-CN.md +102 -0
- package/RELEASE_NOTES.md +35 -0
- package/THIRD_PARTY_ASSETS.md +47 -0
- package/cordis.patch.yml +5 -0
- package/lib/client.js +1196 -0
- package/lib/index.js +98 -0
- package/package.json +96 -0
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
## 1.0.0 — First stable public release
|
|
4
|
+
|
|
5
|
+
- Promoted the v0.9.1 product experience to the first stable public release.
|
|
6
|
+
- Added public npm/GitHub metadata and one-command DSH installation documentation.
|
|
7
|
+
- Added English and Simplified Chinese public README files.
|
|
8
|
+
- Kept the three visual modes: Jungle, Phlogiston, and Sunlit.
|
|
9
|
+
- Kept Minimal / Balanced / Immersive visual intensity controls.
|
|
10
|
+
- Kept Ajaw Companion 2.0 with session-state feedback, click/double-click interaction, rAF drag, mirror, rotation, and reset.
|
|
11
|
+
- Kept themed sidebar branding and blank-session Hero branding.
|
|
12
|
+
- Kept mode-aware dynamic environment effects with reduced-motion support.
|
|
13
|
+
- Ships prebuilt Host and Client bundles; end users do not need a build step.
|
|
14
|
+
|
|
15
|
+
## 0.9.1
|
|
16
|
+
|
|
17
|
+
- Added dynamic mode-aware ambient effects: Jungle fireflies, Phlogiston energy sparks, and Sunlit dust/light pass.
|
|
18
|
+
- Added an ambient motion toggle and intensity-aware density.
|
|
19
|
+
- Dynamic motion automatically disables under `prefers-reduced-motion`.
|
|
20
|
+
|
|
21
|
+
## 0.9.0
|
|
22
|
+
|
|
23
|
+
- Added session running/completed visual feedback bridged from the session-scoped composer dock.
|
|
24
|
+
- Added Ajaw Companion 2.0 with thinking/success/idle moods, double-click flip, and richer status feedback.
|
|
25
|
+
- Deepened Jungle / Phlogiston / Sunlit composition and sidebar branding.
|
|
26
|
+
- Added Minimal / Balanced / Immersive visual intensity.
|
|
27
|
+
|
|
28
|
+
## 0.8.0
|
|
29
|
+
|
|
30
|
+
- Added three live visual modes and live DSH semantic-token switching.
|
|
31
|
+
- Redesigned Hero/sidebar branding and product-style Settings UI.
|
|
32
|
+
- Added Ajaw hover and click reactions.
|
|
33
|
+
|
|
34
|
+
## 0.7.0
|
|
35
|
+
|
|
36
|
+
- Moved build generation to esbuild.
|
|
37
|
+
- Unified persisted setting definitions.
|
|
38
|
+
- Added rAF-throttled Ajaw dragging.
|
|
39
|
+
- Added visual presets, Ajaw reset, and character-position previews.
|
package/LICENSE
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Xian-JL
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of the original plugin code and associated documentation files (the
|
|
7
|
+
"Software"), to deal in the Software without restriction, including without
|
|
8
|
+
limitation the rights to use, copy, modify, merge, publish, distribute,
|
|
9
|
+
sublicense, and/or sell copies of the Software, and to permit persons to whom
|
|
10
|
+
the Software is furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
|
22
|
+
|
|
23
|
+
Third-party content notice
|
|
24
|
+
--------------------------
|
|
25
|
+
|
|
26
|
+
This license applies only to the original plugin code and documentation. It
|
|
27
|
+
does not grant any rights to third-party game characters, artwork, trademarks,
|
|
28
|
+
or other visual assets embedded in lib/client.js. Those materials remain the
|
|
29
|
+
property of their respective rights holders and are documented in
|
|
30
|
+
THIRD_PARTY_ASSETS.md. Users and redistributors are responsible for complying
|
|
31
|
+
with the applicable third-party terms.
|
package/README.md
ADDED
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
# Kinich Theme for DeepSeek Harness
|
|
2
|
+
|
|
3
|
+
Interactive **Kinich & Ajaw** themed UI experience for DeepSeek Harness Web.
|
|
4
|
+
|
|
5
|
+
- Repository: https://github.com/Xian-JL/dsh-Kinich-theme
|
|
6
|
+
- npm: `dsh-kinich-theme`
|
|
7
|
+
- Stable release: `1.0.0`
|
|
8
|
+
- Target runtime: `@deepseek-ai/dsh@0.1.5-rc.1` Web
|
|
9
|
+
|
|
10
|
+
> This is an independent community plugin and is not affiliated with or endorsed by DeepSeek or HoYoverse.
|
|
11
|
+
|
|
12
|
+
## Install
|
|
13
|
+
|
|
14
|
+
```powershell
|
|
15
|
+
dsh plugin --profile web add dsh-kinich-theme
|
|
16
|
+
```
|
|
17
|
+
|
|
18
|
+
Then launch DSH Web:
|
|
19
|
+
|
|
20
|
+
```powershell
|
|
21
|
+
dsh web
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
No local clone, build step, or esbuild installation is required for normal users. The npm package ships prebuilt `lib/index.js` and `lib/client.js`.
|
|
25
|
+
|
|
26
|
+
## Update
|
|
27
|
+
|
|
28
|
+
```powershell
|
|
29
|
+
dsh plugin --profile web add dsh-kinich-theme@latest
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
## Uninstall
|
|
33
|
+
|
|
34
|
+
```powershell
|
|
35
|
+
dsh plugin --profile web remove dsh-kinich-theme
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
## Features
|
|
39
|
+
|
|
40
|
+
### Three complete visual modes
|
|
41
|
+
|
|
42
|
+
- **Jungle** — deep forest greens, organic ambience, firefly-like motion.
|
|
43
|
+
- **Phlogiston** — dark lime/orange energy language with stronger edge glow.
|
|
44
|
+
- **Sunlit** — lighter stone-and-gold presentation optimized for long sessions.
|
|
45
|
+
|
|
46
|
+
### Visual intensity
|
|
47
|
+
|
|
48
|
+
Choose **Minimal**, **Balanced**, or **Immersive** independently from the visual mode.
|
|
49
|
+
|
|
50
|
+
### Ajaw Companion 2.0
|
|
51
|
+
|
|
52
|
+
- Idle / hover / reaction / dragging states.
|
|
53
|
+
- Session-aware thinking and completion feedback.
|
|
54
|
+
- Drag position, mirror, rotation, and reset controls.
|
|
55
|
+
- Double-click interaction and lightweight idle moods.
|
|
56
|
+
|
|
57
|
+
### DSH-native integration
|
|
58
|
+
|
|
59
|
+
- Kinich/Ajaw sidebar branding.
|
|
60
|
+
- Blank-session Hero branding.
|
|
61
|
+
- Native DSH settings integration.
|
|
62
|
+
- Live DSH semantic-token overrides.
|
|
63
|
+
- Dynamic environment effects with `prefers-reduced-motion` support.
|
|
64
|
+
|
|
65
|
+
## Settings
|
|
66
|
+
|
|
67
|
+
Open DSH **Settings → General → Kinich Theme** to configure:
|
|
68
|
+
|
|
69
|
+
- Jungle / Phlogiston / Sunlit
|
|
70
|
+
- Minimal / Balanced / Immersive
|
|
71
|
+
- Kinich character layer
|
|
72
|
+
- Ajaw companion
|
|
73
|
+
- Natlan ornament / texture
|
|
74
|
+
- Dynamic environment motion
|
|
75
|
+
|
|
76
|
+
## Compatibility
|
|
77
|
+
|
|
78
|
+
`v1.0.0` targets the current stable DSH Web line used for this release:
|
|
79
|
+
|
|
80
|
+
```text
|
|
81
|
+
@deepseek-ai/dsh 0.1.5-rc.1
|
|
82
|
+
Node.js ^22.19.0 || >=24.0.0
|
|
83
|
+
```
|
|
84
|
+
|
|
85
|
+
DeepSeek Harness is still evolving quickly. If a future DSH release changes plugin APIs, use the latest Kinich Theme release that explicitly lists support for that DSH version.
|
|
86
|
+
|
|
87
|
+
## Development
|
|
88
|
+
|
|
89
|
+
```powershell
|
|
90
|
+
npm install
|
|
91
|
+
npm run verify
|
|
92
|
+
```
|
|
93
|
+
|
|
94
|
+
The source tree is modular under `src/`; `esbuild` produces the prebuilt Host and Client bundles in `lib/`.
|
|
95
|
+
|
|
96
|
+
## Project structure
|
|
97
|
+
|
|
98
|
+
```text
|
|
99
|
+
src/ Modular Host / Client / shared source
|
|
100
|
+
assets/ Source visual assets used to generate the runtime bundle
|
|
101
|
+
scripts/ Build and verification tooling
|
|
102
|
+
lib/ Prebuilt DSH runtime entrypoints
|
|
103
|
+
```
|
|
104
|
+
|
|
105
|
+
## Credits and third-party assets
|
|
106
|
+
|
|
107
|
+
See [`THIRD_PARTY_ASSETS.md`](./THIRD_PARTY_ASSETS.md). The MIT license covers the original plugin code and documentation only; third-party characters, artwork, trademarks, and visual materials remain subject to their respective rights and terms.
|
|
108
|
+
|
|
109
|
+
## License
|
|
110
|
+
|
|
111
|
+
Original plugin code and documentation: MIT. See [`LICENSE`](./LICENSE).
|
package/README.zh-CN.md
ADDED
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
# Kinich Theme for DeepSeek Harness
|
|
2
|
+
|
|
3
|
+
面向 DeepSeek Harness Web 的 **基尼奇(Kinich)& 阿乔(Ajaw)交互主题插件**。
|
|
4
|
+
|
|
5
|
+
- GitHub:https://github.com/Xian-JL/dsh-Kinich-theme
|
|
6
|
+
- npm:`dsh-kinich-theme`
|
|
7
|
+
- 正式版本:`1.0.0`
|
|
8
|
+
- 目标运行环境:`@deepseek-ai/dsh@0.1.5-rc.1` Web
|
|
9
|
+
|
|
10
|
+
> 本项目是独立社区插件,与 DeepSeek、HoYoverse 无官方关联,也不代表其认可或背书。
|
|
11
|
+
|
|
12
|
+
## 安装
|
|
13
|
+
|
|
14
|
+
```powershell
|
|
15
|
+
dsh plugin --profile web add dsh-kinich-theme
|
|
16
|
+
```
|
|
17
|
+
|
|
18
|
+
随后启动:
|
|
19
|
+
|
|
20
|
+
```powershell
|
|
21
|
+
dsh web
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
普通用户无需克隆仓库、运行构建或安装 esbuild;npm 包中已经包含预构建的 `lib/index.js` 与 `lib/client.js`。
|
|
25
|
+
|
|
26
|
+
## 更新
|
|
27
|
+
|
|
28
|
+
```powershell
|
|
29
|
+
dsh plugin --profile web add dsh-kinich-theme@latest
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
## 卸载
|
|
33
|
+
|
|
34
|
+
```powershell
|
|
35
|
+
dsh plugin --profile web remove dsh-kinich-theme
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
## 主要功能
|
|
39
|
+
|
|
40
|
+
### 三套完整视觉模式
|
|
41
|
+
|
|
42
|
+
- **Jungle**:深绿雨林、自然环境氛围与萤火动态。
|
|
43
|
+
- **Phlogiston**:深色 + 荧光绿/橙色的燃素能量语言。
|
|
44
|
+
- **Sunlit**:浅石色、金绿配色,适合长时间阅读。
|
|
45
|
+
|
|
46
|
+
### 视觉强度
|
|
47
|
+
|
|
48
|
+
视觉模式之外,可独立选择 **Minimal / Balanced / Immersive** 三档表现强度。
|
|
49
|
+
|
|
50
|
+
### Ajaw Companion 2.0
|
|
51
|
+
|
|
52
|
+
- Idle / Hover / Reacting / Dragging 状态。
|
|
53
|
+
- 根据 DSH 会话运行与完成状态反馈。
|
|
54
|
+
- 支持拖拽、镜像、旋转、复位。
|
|
55
|
+
- 双击互动与轻量随机待机状态。
|
|
56
|
+
|
|
57
|
+
### 原生 DSH 集成
|
|
58
|
+
|
|
59
|
+
- Sidebar Kinich/Ajaw 品牌区域。
|
|
60
|
+
- 空白会话 Hero 品牌视觉。
|
|
61
|
+
- 原生 Settings 设置项。
|
|
62
|
+
- DSH Semantic Token 实时覆盖。
|
|
63
|
+
- 动态环境效果,并支持 `prefers-reduced-motion`。
|
|
64
|
+
|
|
65
|
+
## 设置入口
|
|
66
|
+
|
|
67
|
+
进入 **Settings → General → Kinich Theme**,可调整:
|
|
68
|
+
|
|
69
|
+
- Jungle / Phlogiston / Sunlit
|
|
70
|
+
- Minimal / Balanced / Immersive
|
|
71
|
+
- 基尼奇角色层
|
|
72
|
+
- 阿乔伙伴
|
|
73
|
+
- 纳塔边角装饰与纹理
|
|
74
|
+
- 动态环境效果
|
|
75
|
+
|
|
76
|
+
## 兼容性
|
|
77
|
+
|
|
78
|
+
`v1.0.0` 正式面向:
|
|
79
|
+
|
|
80
|
+
```text
|
|
81
|
+
@deepseek-ai/dsh 0.1.5-rc.1
|
|
82
|
+
Node.js ^22.19.0 || >=24.0.0
|
|
83
|
+
```
|
|
84
|
+
|
|
85
|
+
DeepSeek Harness 仍处于快速迭代阶段。未来 DSH API 发生变化时,请使用明确声明兼容对应 DSH 版本的 Kinich Theme 版本。
|
|
86
|
+
|
|
87
|
+
## 开发
|
|
88
|
+
|
|
89
|
+
```powershell
|
|
90
|
+
npm install
|
|
91
|
+
npm run verify
|
|
92
|
+
```
|
|
93
|
+
|
|
94
|
+
源码位于 `src/`,使用 esbuild 生成 `lib/` 中的 Host / Client 预构建运行文件。
|
|
95
|
+
|
|
96
|
+
## 素材与署名
|
|
97
|
+
|
|
98
|
+
详见 [`THIRD_PARTY_ASSETS.md`](./THIRD_PARTY_ASSETS.md)。MIT 许可仅覆盖本项目原创代码和文档;第三方角色、图片、商标及视觉素材仍受各自权利和条款约束。
|
|
99
|
+
|
|
100
|
+
## License
|
|
101
|
+
|
|
102
|
+
原创插件代码及文档采用 MIT License,详见 [`LICENSE`](./LICENSE)。
|
package/RELEASE_NOTES.md
ADDED
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
# Kinich Theme v1.0.0
|
|
2
|
+
|
|
3
|
+
First stable public release of Kinich Theme for DeepSeek Harness Web.
|
|
4
|
+
|
|
5
|
+
## Highlights
|
|
6
|
+
|
|
7
|
+
- Jungle / Phlogiston / Sunlit visual modes
|
|
8
|
+
- Minimal / Balanced / Immersive visual intensity
|
|
9
|
+
- Ajaw Companion 2.0
|
|
10
|
+
- DSH session-state visual feedback
|
|
11
|
+
- Kinich/Ajaw sidebar and blank-session Hero branding
|
|
12
|
+
- Dynamic environment effects with reduced-motion support
|
|
13
|
+
- Native DSH settings and semantic-token integration
|
|
14
|
+
- Prebuilt runtime package with one-command installation
|
|
15
|
+
|
|
16
|
+
## Install
|
|
17
|
+
|
|
18
|
+
```powershell
|
|
19
|
+
dsh plugin --profile web add dsh-kinich-theme
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
Then:
|
|
23
|
+
|
|
24
|
+
```powershell
|
|
25
|
+
dsh web
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
## Compatibility
|
|
29
|
+
|
|
30
|
+
- DeepSeek Harness Web: `0.1.5-rc.1`
|
|
31
|
+
- Node.js: `^22.19.0 || >=24.0.0`
|
|
32
|
+
|
|
33
|
+
## Important asset notice
|
|
34
|
+
|
|
35
|
+
The MIT license covers the original plugin code and documentation only. The runtime bundle contains processed third-party visual materials documented in `THIRD_PARTY_ASSETS.md`. Public redistribution rights for those materials must be confirmed separately before publication.
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
# 第三方素材记录
|
|
2
|
+
|
|
3
|
+
本文件记录 `dsh-kinich-theme 1.0.0` 实际使用的视觉素材、当前仓库中的处理后文件及其来源说明。它是来源清单,不构成授权证明或法律意见。
|
|
4
|
+
|
|
5
|
+
v1.0.0 延续既有 的素材恢复方案:此前只存在于 `lib/client.js` data URI 中的处理后素材恢复为独立文件;`npm run build` 会从这些文件重新生成完全自包含的 Client Bundle。
|
|
6
|
+
|
|
7
|
+
## 实际嵌入浏览器包的素材
|
|
8
|
+
|
|
9
|
+
| 包内用途 | v1.0.0 处理后文件 | 来源 | 处理方式 | 默认状态 |
|
|
10
|
+
| --- | --- | --- | --- | --- |
|
|
11
|
+
| 阿乔品牌标记 | `assets/mascot/ajaw-mark.png` | Bilibili UP 主“公公的日常”提供/发布的素材集 | 去除透明留白、最近邻缩放至 112×112 PNG,构建时作为 data URI 嵌入 Client Bundle | 开启 |
|
|
12
|
+
| 阿乔待机动画 | `assets/mascot/ajaw-idle.webp` | Bilibili UP 主“公公的日常”提供/发布的素材集 | 从纵向五帧源图最近邻缩放至 128×485 无损 WebP,构建时作为 data URI 嵌入 Client Bundle | 开启 |
|
|
13
|
+
| 基尼奇角色装饰 | `assets/character/kinich-character.webp` | 米游社《【原神档案室】丨基尼奇》:https://www.miyoushe.com/ys/article/58586903 | 保留透明通道、缩放至 520×520、转 WebP;UI 中降低不透明度并做底部遮罩 | 关闭 |
|
|
14
|
+
| 纳塔边角装饰 | `assets/ornaments/natlan-corner.webp` | 米游社《【原神】纳塔角色立绘~新背景图》:https://www.miyoushe.com/ys/article/55171368 | 裁切、去白底、缩放并转透明 WebP;UI 中按日夜模式低透明度混合 | 开启 |
|
|
15
|
+
|
|
16
|
+
## 处理后文件校验值
|
|
17
|
+
|
|
18
|
+
- `ajaw-mark.png`: `e28cc6f7d740508985d5796797710521905c3fb39614724cc5d31ef872ec538e`
|
|
19
|
+
- `ajaw-idle.webp`: `df3ade3f54f0e5c7623999f0e8af33ce565d018d49210e1e4acaa85036fee59e`
|
|
20
|
+
- `kinich-character.webp`: `3b8aed011da5cbad0bce197938b8c316e74e4d656a2bf06045469b335caad702`
|
|
21
|
+
- `natlan-corner.webp`: `c6b945094e477ea02d342ef13a348bbee3214231e957bb6fa258681aedd34f3d`
|
|
22
|
+
|
|
23
|
+
这些文件字节与 v1.0.0 Client Bundle 中的四个 data URI 完全一致;v1.0.0 仍沿用这些处理后素材。
|
|
24
|
+
|
|
25
|
+
## 原始素材路径记录(历史)
|
|
26
|
+
|
|
27
|
+
重构前文档记录的原始工作文件包括:
|
|
28
|
+
|
|
29
|
+
- `assets/originals/mascot/ajaw-pixel.png`
|
|
30
|
+
- `assets/originals/mascot/ajaw-idle-source.png`
|
|
31
|
+
- `assets/originals/character/kinich-illustration.png`
|
|
32
|
+
- `assets/originals/ornaments/natlan-corner-source.png`
|
|
33
|
+
|
|
34
|
+
这些原始工作文件不在本次上传的 v0.8.0 ZIP 内,因此当前项目仍仅保留实际嵌入运行包的处理后文件,没有凭空补造原始素材。
|
|
35
|
+
|
|
36
|
+
## 原创实现
|
|
37
|
+
|
|
38
|
+
- 像素几何网格、燃素色光晕及响应式遮罩由插件 CSS 原创生成,不使用外部纹理图片。
|
|
39
|
+
- 主题色板为针对 DSH 语义 Token 编写的原创配置。
|
|
40
|
+
|
|
41
|
+
## 公开发布前必须复核
|
|
42
|
+
|
|
43
|
+
1. 保存每项素材作者或权利人的明确再分发许可记录。
|
|
44
|
+
2. 核实是否允许修改、压缩、透明化及嵌入 npm 包。
|
|
45
|
+
3. 按许可补充作者署名、作品链接、许可名称和版权声明。
|
|
46
|
+
4. 如任一素材没有公开再分发许可,公开版应替换为自制或明确授权素材。
|
|
47
|
+
5. 复核“原神”、角色及相关视觉元素的商标、同人内容与平台规则。
|