@kesike/dsh-exit 0.1.2 → 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/README.md +23 -7
- package/README.zh-CN.md +23 -7
- package/lib/client.js +2 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
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)
|
|
@@ -28,10 +28,20 @@
|
|
|
28
28
|
- Keeps the terminal window and browser tab available for the next action.
|
|
29
29
|
- Uses the existing dsh design tokens and the Lucide `power` icon.
|
|
30
30
|
|
|
31
|
-
## 🎬
|
|
31
|
+
## 🎬 GitHub showcase
|
|
32
|
+
|
|
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.
|
|
34
|
+
|
|
35
|
+
<p align="center">
|
|
36
|
+
<img src="docs/dsh-exit-landscape.webp" alt="Landscape animated dsh-exit flow generated by Archify" width="720">
|
|
37
|
+
</p>
|
|
32
38
|
|
|
33
39
|
<p align="center">
|
|
34
|
-
<
|
|
40
|
+
<video controls muted loop playsinline width="720" poster="docs/dsh-exit-landscape.webp">
|
|
41
|
+
<source src="docs/dsh-exit-landscape.mp4" type="video/mp4">
|
|
42
|
+
<source src="docs/dsh-exit-landscape.webm" type="video/webm">
|
|
43
|
+
<a href="https://github.com/KeS1Ke/dsh-exit/blob/main/docs/dsh-exit-landscape.mp4">Download the exit-flow video</a>
|
|
44
|
+
</video>
|
|
35
45
|
</p>
|
|
36
46
|
|
|
37
47
|
## 📸 Real dsh UI
|
|
@@ -39,10 +49,10 @@
|
|
|
39
49
|
The capture below comes from a running dsh Web profile with `dsh-exit` installed. The red power button is the actual plugin control rendered at the lower-right corner.
|
|
40
50
|
|
|
41
51
|
<p align="center">
|
|
42
|
-
<img src="
|
|
52
|
+
<img src="docs/dsh-exit-real.png" alt="Running dsh Web UI with the dsh-exit power button in the lower-right corner" width="720">
|
|
43
53
|
</p>
|
|
44
54
|
|
|
45
|
-
## 🧱
|
|
55
|
+
## 🧱 npm package contents
|
|
46
56
|
|
|
47
57
|
| Layer | File | Responsibility |
|
|
48
58
|
| --- | --- | --- |
|
|
@@ -50,8 +60,14 @@ The capture below comes from a running dsh Web profile with `dsh-exit` installed
|
|
|
50
60
|
| Client | [`lib/client.js`](lib/client.js) | Self-contained browser bundle: button, CSS, modal, keyboard handling, and Remote mounting. |
|
|
51
61
|
| Bundle patch | [`cordis.patch.yml`](cordis.patch.yml) | Inserts the plugin row into the dsh profile. |
|
|
52
62
|
| Package metadata | [`package.json`](package.json) | Declares the host entry, web client, and bundle patch. |
|
|
53
|
-
|
|
54
|
-
|
|
63
|
+
|
|
64
|
+
The npm package contains only the four core runtime files above plus package metadata and README files. GitHub-only media is kept separately:
|
|
65
|
+
|
|
66
|
+
| Showcase asset | Location |
|
|
67
|
+
| --- | --- |
|
|
68
|
+
| Animated WebP | [`docs/dsh-exit-landscape.webp`](https://github.com/KeS1Ke/dsh-exit/blob/main/docs/dsh-exit-landscape.webp) |
|
|
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
|
+
| Real UI capture | [`docs/dsh-exit-real.png`](https://github.com/KeS1Ke/dsh-exit/blob/main/docs/dsh-exit-real.png) |
|
|
55
71
|
|
|
56
72
|
|
|
57
73
|
## 🚀 Install from npm
|
package/README.zh-CN.md
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
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)
|
|
@@ -28,10 +28,20 @@
|
|
|
28
28
|
- 保留宿主终端窗口和浏览器标签页,方便后续操作。
|
|
29
29
|
- 使用 dsh 现有设计令牌与 Lucide `power` 电源图标。
|
|
30
30
|
|
|
31
|
-
## 🎬
|
|
31
|
+
## 🎬 GitHub 展示区
|
|
32
|
+
|
|
33
|
+
下面的动画、视频和截图是仓库专用展示素材,保留在 GitHub 用于文档展示,并明确排除在 npm 包之外。
|
|
34
|
+
|
|
35
|
+
<p align="center">
|
|
36
|
+
<img src="docs/dsh-exit-landscape.webp" alt="由 Archify 生成的横版 dsh-exit 动态流程图" width="720">
|
|
37
|
+
</p>
|
|
32
38
|
|
|
33
39
|
<p align="center">
|
|
34
|
-
<
|
|
40
|
+
<video controls muted loop playsinline width="720" poster="docs/dsh-exit-landscape.webp">
|
|
41
|
+
<source src="docs/dsh-exit-landscape.mp4" type="video/mp4">
|
|
42
|
+
<source src="docs/dsh-exit-landscape.webm" type="video/webm">
|
|
43
|
+
<a href="https://github.com/KeS1Ke/dsh-exit/blob/main/docs/dsh-exit-landscape.mp4">下载退出流程视频</a>
|
|
44
|
+
</video>
|
|
35
45
|
</p>
|
|
36
46
|
|
|
37
47
|
## 📸 真实 dsh 界面
|
|
@@ -39,10 +49,10 @@
|
|
|
39
49
|
下图来自已经安装 `dsh-exit` 的真实 dsh Web profile;右下角的红色电源按钮就是插件实际渲染的控件。
|
|
40
50
|
|
|
41
51
|
<p align="center">
|
|
42
|
-
<img src="
|
|
52
|
+
<img src="docs/dsh-exit-real.png" alt="运行中的 dsh Web 界面与右下角 dsh-exit 电源按钮" width="720">
|
|
43
53
|
</p>
|
|
44
54
|
|
|
45
|
-
## 🧱
|
|
55
|
+
## 🧱 npm 包内容
|
|
46
56
|
|
|
47
57
|
| 层次 | 文件 | 职责 |
|
|
48
58
|
| --- | --- | --- |
|
|
@@ -50,8 +60,14 @@
|
|
|
50
60
|
| 客户端 | [`lib/client.js`](lib/client.js) | 自包含浏览器 bundle:按钮、样式、弹窗、键盘交互和 Remote 挂载。 |
|
|
51
61
|
| Bundle 补丁 | [`cordis.patch.yml`](cordis.patch.yml) | 向 dsh profile 插入插件行。 |
|
|
52
62
|
| 包元数据 | [`package.json`](package.json) | 声明宿主入口、Web 客户端和 Bundle 补丁。 |
|
|
53
|
-
|
|
54
|
-
|
|
63
|
+
|
|
64
|
+
npm 包只包含上面四个核心运行文件、包元数据和 README;GitHub 展示素材单独保留在仓库中:
|
|
65
|
+
|
|
66
|
+
| 展示素材 | 位置 |
|
|
67
|
+
| --- | --- |
|
|
68
|
+
| 动画 WebP | [`docs/dsh-exit-landscape.webp`](https://github.com/KeS1Ke/dsh-exit/blob/main/docs/dsh-exit-landscape.webp) |
|
|
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
|
+
| 真实界面截图 | [`docs/dsh-exit-real.png`](https://github.com/KeS1Ke/dsh-exit/blob/main/docs/dsh-exit-real.png) |
|
|
55
71
|
|
|
56
72
|
|
|
57
73
|
## 🚀 从 npm 安装
|
package/lib/client.js
CHANGED
|
@@ -8,8 +8,8 @@
|
|
|
8
8
|
* 无外部依赖:全部逻辑在本工厂内完成,不 require 任何模块。
|
|
9
9
|
*/
|
|
10
10
|
window.__ModuleLoader__.load({
|
|
11
|
-
// The
|
|
12
|
-
id: "dsh-exit",
|
|
11
|
+
// The loader key follows the resolved npm package name, including its scope.
|
|
12
|
+
id: "@kesike/dsh-exit",
|
|
13
13
|
factory: () => {
|
|
14
14
|
var module = { exports: {} };
|
|
15
15
|
var exports = module.exports;
|