@kesike/dsh-exit 0.2.2 → 0.2.4
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/README.md +11 -11
- package/README.zh-CN.md +11 -11
- package/package.json +2 -2
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 KeS1Ke
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
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.
|
package/README.md
CHANGED
|
@@ -7,13 +7,12 @@
|
|
|
7
7
|
[](https://npmjs.com/package/@deepseek-ai/dsh)
|
|
8
8
|
[](https://www.npmjs.com/package/@kesike/dsh-exit)
|
|
9
9
|
[](https://github.com/KeS1Ke/dsh-exit)
|
|
10
|
-
[](package.json)
|
|
11
11
|
[](package.json)
|
|
12
12
|
|
|
13
13
|
[简体中文](https://github.com/KeS1Ke/dsh-exit/blob/main/README.zh-CN.md)
|
|
14
14
|
|
|
15
15
|
</div>
|
|
16
|
-
|
|
17
16
|
> [!IMPORTANT]
|
|
18
17
|
> Confirming the action terminates the dsh host process and releases its ports. The host terminal window and the current browser tab are intentionally left open.
|
|
19
18
|
|
|
@@ -34,23 +33,23 @@
|
|
|
34
33
|
The animation, video, and screenshot below are repository showcase assets. They stay in GitHub for documentation and are intentionally excluded from the npm package.
|
|
35
34
|
|
|
36
35
|
<p align="center">
|
|
37
|
-
<img src="docs/dsh-exit-landscape.webp" alt="Landscape animated dsh-exit flow generated by Archify" width="720">
|
|
36
|
+
<img src="https://raw.githubusercontent.com/KeS1Ke/dsh-exit/main/docs/dsh-exit-landscape.webp" alt="Landscape animated dsh-exit flow generated by Archify" width="720">
|
|
38
37
|
</p>
|
|
39
38
|
|
|
40
39
|
<p align="center">
|
|
41
|
-
<video controls muted loop playsinline width="720" poster="docs/dsh-exit-landscape.webp">
|
|
42
|
-
<source src="docs/dsh-exit-landscape.mp4" type="video/mp4">
|
|
43
|
-
<source src="docs/dsh-exit-landscape.webm" type="video/webm">
|
|
40
|
+
<video controls muted loop playsinline width="720" poster="https://raw.githubusercontent.com/KeS1Ke/dsh-exit/main/docs/dsh-exit-landscape.webp">
|
|
41
|
+
<source src="https://raw.githubusercontent.com/KeS1Ke/dsh-exit/main/docs/dsh-exit-landscape.mp4" type="video/mp4">
|
|
42
|
+
<source src="https://raw.githubusercontent.com/KeS1Ke/dsh-exit/main/docs/dsh-exit-landscape.webm" type="video/webm">
|
|
44
43
|
<a href="https://github.com/KeS1Ke/dsh-exit/blob/main/docs/dsh-exit-landscape.mp4">Download the exit-flow video</a>
|
|
45
44
|
</video>
|
|
46
45
|
</p>
|
|
47
46
|
|
|
48
47
|
## 📸 Real dsh UI
|
|
49
48
|
|
|
50
|
-
The capture below
|
|
49
|
+
The capture below is a current dsh settings view with `dsh-exit` installed. The red **Exit** entry is the plugin's real navigation item at the bottom of the settings list.
|
|
51
50
|
|
|
52
51
|
<p align="center">
|
|
53
|
-
<img src="docs/dsh-exit-real.png" alt="Running dsh Web UI with the dsh-exit
|
|
52
|
+
<img src="https://raw.githubusercontent.com/KeS1Ke/dsh-exit/main/docs/dsh-exit-real.png" alt="Running dsh Web UI with the dsh-exit Exit entry at the bottom of Settings navigation" width="720">
|
|
54
53
|
</p>
|
|
55
54
|
|
|
56
55
|
## 🧱 npm package contents
|
|
@@ -68,6 +67,7 @@ The npm package contains only the four core runtime files above plus package met
|
|
|
68
67
|
| --- | --- |
|
|
69
68
|
| Animated WebP | [`docs/dsh-exit-landscape.webp`](https://github.com/KeS1Ke/dsh-exit/blob/main/docs/dsh-exit-landscape.webp) |
|
|
70
69
|
| MP4 / WebM video | [`docs/dsh-exit-landscape.mp4`](https://github.com/KeS1Ke/dsh-exit/blob/main/docs/dsh-exit-landscape.mp4) · [`docs/dsh-exit-landscape.webm`](https://github.com/KeS1Ke/dsh-exit/blob/main/docs/dsh-exit-landscape.webm) |
|
|
70
|
+
| Archify source | [`docs/exit-flow-landscape.html`](https://github.com/KeS1Ke/dsh-exit/blob/main/docs/exit-flow-landscape.html) · [`docs/exit-flow-landscape.workflow.json`](https://github.com/KeS1Ke/dsh-exit/blob/main/docs/exit-flow-landscape.workflow.json) |
|
|
71
71
|
| Real UI capture | [`docs/dsh-exit-real.png`](https://github.com/KeS1Ke/dsh-exit/blob/main/docs/dsh-exit-real.png) |
|
|
72
72
|
|
|
73
73
|
|
|
@@ -90,7 +90,7 @@ dsh plugin --profile web remove @kesike/dsh-exit
|
|
|
90
90
|
|
|
91
91
|
| Interaction | Result |
|
|
92
92
|
| --- | --- |
|
|
93
|
-
| Click the
|
|
93
|
+
| Click the red **Exit** item at the bottom of Settings navigation | Opens the exit section and confirmation action. |
|
|
94
94
|
| Click **Cancel**, press **Esc**, or click outside | Closes the modal without changing the host. |
|
|
95
95
|
| Click **Confirm exit** | Disables duplicate actions and invokes the host Remote method. |
|
|
96
96
|
| Remote call fails | Restores the controls and shows an inline error message. |
|
|
@@ -122,10 +122,10 @@ node --check lib/client.js
|
|
|
122
122
|
|
|
123
123
|
- **Target:** DeepSeek Harness web profile
|
|
124
124
|
- **Install mode:** npm package
|
|
125
|
-
- **Surface:**
|
|
125
|
+
- **Surface:** final section in the Settings navigation
|
|
126
126
|
- **Action:** terminate the dsh host process
|
|
127
127
|
- **Runtime port:** read from the current dsh Web address in the settings page
|
|
128
|
-
- **Repository topics:** `dsh` · `deepseek-harness` · `plugin` · `javascript` · `web`
|
|
128
|
+
- **Repository topics:** `dsh` · `deepseek-harness` · `dsh-plugin` · `plugin` · `javascript` · `web`
|
|
129
129
|
|
|
130
130
|
The power icon comes from [Lucide](https://lucide.dev/icons/power) and is used under its ISC license.
|
|
131
131
|
|
package/README.zh-CN.md
CHANGED
|
@@ -7,13 +7,12 @@
|
|
|
7
7
|
[](https://npmjs.com/package/@deepseek-ai/dsh)
|
|
8
8
|
[](https://www.npmjs.com/package/@kesike/dsh-exit)
|
|
9
9
|
[](https://github.com/KeS1Ke/dsh-exit)
|
|
10
|
-
[](package.json)
|
|
11
11
|
[](package.json)
|
|
12
12
|
|
|
13
13
|
**简体中文** | [English](https://github.com/KeS1Ke/dsh-exit/blob/main/README.md)
|
|
14
14
|
|
|
15
15
|
</div>
|
|
16
|
-
|
|
17
16
|
> [!IMPORTANT]
|
|
18
17
|
> 确认退出后会结束 dsh 宿主进程并释放其占用的端口;宿主终端窗口和当前浏览器标签页会被刻意保留。
|
|
19
18
|
|
|
@@ -34,23 +33,23 @@
|
|
|
34
33
|
下面的动画、视频和截图是仓库专用展示素材,保留在 GitHub 用于文档展示,并明确排除在 npm 包之外。
|
|
35
34
|
|
|
36
35
|
<p align="center">
|
|
37
|
-
<img src="docs/dsh-exit-landscape.webp" alt="由 Archify 生成的横版 dsh-exit 动态流程图" width="720">
|
|
36
|
+
<img src="https://raw.githubusercontent.com/KeS1Ke/dsh-exit/main/docs/dsh-exit-landscape.webp" alt="由 Archify 生成的横版 dsh-exit 动态流程图" width="720">
|
|
38
37
|
</p>
|
|
39
38
|
|
|
40
39
|
<p align="center">
|
|
41
|
-
<video controls muted loop playsinline width="720" poster="docs/dsh-exit-landscape.webp">
|
|
42
|
-
<source src="docs/dsh-exit-landscape.mp4" type="video/mp4">
|
|
43
|
-
<source src="docs/dsh-exit-landscape.webm" type="video/webm">
|
|
40
|
+
<video controls muted loop playsinline width="720" poster="https://raw.githubusercontent.com/KeS1Ke/dsh-exit/main/docs/dsh-exit-landscape.webp">
|
|
41
|
+
<source src="https://raw.githubusercontent.com/KeS1Ke/dsh-exit/main/docs/dsh-exit-landscape.mp4" type="video/mp4">
|
|
42
|
+
<source src="https://raw.githubusercontent.com/KeS1Ke/dsh-exit/main/docs/dsh-exit-landscape.webm" type="video/webm">
|
|
44
43
|
<a href="https://github.com/KeS1Ke/dsh-exit/blob/main/docs/dsh-exit-landscape.mp4">下载退出流程视频</a>
|
|
45
44
|
</video>
|
|
46
45
|
</p>
|
|
47
46
|
|
|
48
47
|
## 📸 真实 dsh 界面
|
|
49
48
|
|
|
50
|
-
|
|
49
|
+
下图是已经安装 `dsh-exit` 的真实 dsh 设置界面;红色的**退出**就是设置左侧列表底部的插件导航项。
|
|
51
50
|
|
|
52
51
|
<p align="center">
|
|
53
|
-
<img src="docs/dsh-exit-real.png" alt="运行中的 dsh Web
|
|
52
|
+
<img src="https://raw.githubusercontent.com/KeS1Ke/dsh-exit/main/docs/dsh-exit-real.png" alt="运行中的 dsh Web 设置界面与底部的 dsh-exit 退出栏目" width="720">
|
|
54
53
|
</p>
|
|
55
54
|
|
|
56
55
|
## 🧱 npm 包内容
|
|
@@ -68,6 +67,7 @@ npm 包只包含上面四个核心运行文件、包元数据和 README;GitHub
|
|
|
68
67
|
| --- | --- |
|
|
69
68
|
| 动画 WebP | [`docs/dsh-exit-landscape.webp`](https://github.com/KeS1Ke/dsh-exit/blob/main/docs/dsh-exit-landscape.webp) |
|
|
70
69
|
| MP4 / WebM 视频 | [`docs/dsh-exit-landscape.mp4`](https://github.com/KeS1Ke/dsh-exit/blob/main/docs/dsh-exit-landscape.mp4) · [`docs/dsh-exit-landscape.webm`](https://github.com/KeS1Ke/dsh-exit/blob/main/docs/dsh-exit-landscape.webm) |
|
|
70
|
+
| Archify 源文件 | [`docs/exit-flow-landscape.html`](https://github.com/KeS1Ke/dsh-exit/blob/main/docs/exit-flow-landscape.html) · [`docs/exit-flow-landscape.workflow.json`](https://github.com/KeS1Ke/dsh-exit/blob/main/docs/exit-flow-landscape.workflow.json) |
|
|
71
71
|
| 真实界面截图 | [`docs/dsh-exit-real.png`](https://github.com/KeS1Ke/dsh-exit/blob/main/docs/dsh-exit-real.png) |
|
|
72
72
|
|
|
73
73
|
|
|
@@ -90,7 +90,7 @@ dsh plugin --profile web remove @kesike/dsh-exit
|
|
|
90
90
|
|
|
91
91
|
| 操作 | 结果 |
|
|
92
92
|
| --- | --- |
|
|
93
|
-
|
|
|
93
|
+
| 点击设置左侧列表底部的红色**退出**栏目 | 打开退出栏目和确认操作。 |
|
|
94
94
|
| 点击**取消**、按 `Esc` 或点击弹窗外部 | 关闭弹窗,不改变宿主状态。 |
|
|
95
95
|
| 点击**确认退出** | 禁用重复操作并调用宿主 Remote 方法。 |
|
|
96
96
|
| Remote 调用失败 | 恢复控件并显示行内错误信息。 |
|
|
@@ -122,10 +122,10 @@ node --check lib/client.js
|
|
|
122
122
|
|
|
123
123
|
- **目标:** DeepSeek Harness Web profile
|
|
124
124
|
- **安装方式:** npm 包
|
|
125
|
-
- **界面位置:**
|
|
125
|
+
- **界面位置:** 设置左侧导航的最后一栏
|
|
126
126
|
- **执行动作:** 结束 dsh 宿主进程
|
|
127
127
|
- **运行端口:** 从设置页当前 dsh Web 地址动态读取
|
|
128
|
-
- **仓库主题:** `dsh` · `deepseek-harness` · `plugin` · `javascript` · `web`
|
|
128
|
+
- **仓库主题:** `dsh` · `deepseek-harness` · `dsh-plugin` · `plugin` · `javascript` · `web`
|
|
129
129
|
|
|
130
130
|
电源图标来自 [Lucide](https://lucide.dev/icons/power),遵循其 ISC 许可使用。
|
|
131
131
|
|