@kesike/dsh-exit 0.1.0 → 0.1.2

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 CHANGED
@@ -7,10 +7,10 @@
7
7
  [![dsh web plugin](https://img.shields.io/badge/dsh-web%20plugin-4f46e5?style=for-the-badge)](https://npmjs.com/package/@deepseek-ai/dsh)
8
8
  [![npm](https://img.shields.io/npm/v/%40kesike%2Fdsh-exit?style=for-the-badge&label=npm)](https://www.npmjs.com/package/@kesike/dsh-exit)
9
9
  [![Platform](https://img.shields.io/badge/platform-web-0ea5e9?style=for-the-badge)](https://github.com/KeS1Ke/dsh-exit)
10
- [![Version](https://img.shields.io/badge/version-0.1.0-64748b?style=for-the-badge)](package.json)
10
+ [![Version](https://img.shields.io/badge/version-0.1.2-64748b?style=for-the-badge)](package.json)
11
11
  [![Dependencies](https://img.shields.io/badge/runtime%20dependencies-none-16a34a?style=for-the-badge)](package.json)
12
12
 
13
- [简体中文](README.zh-CN.md)
13
+ [简体中文](https://github.com/KeS1Ke/dsh-exit/blob/main/README.zh-CN.md)
14
14
 
15
15
  </div>
16
16
 
@@ -31,7 +31,7 @@
31
31
  ## 🎬 Animated exit flow
32
32
 
33
33
  <p align="center">
34
- <img src="docs/dsh-exit-landscape.webp" alt="Landscape animated dsh-exit flow generated by Archify" width="720">
34
+ <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">
35
35
  </p>
36
36
 
37
37
  ## 📸 Real dsh UI
@@ -39,7 +39,7 @@
39
39
  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
40
 
41
41
  <p align="center">
42
- <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">
42
+ <img src="https://raw.githubusercontent.com/KeS1Ke/dsh-exit/main/docs/dsh-exit-real.png" alt="Running dsh Web UI with the dsh-exit power button in the lower-right corner" width="720">
43
43
  </p>
44
44
 
45
45
  ## 🧱 What ships
@@ -50,8 +50,8 @@ The capture below comes from a running dsh Web profile with `dsh-exit` installed
50
50
  | Client | [`lib/client.js`](lib/client.js) | Self-contained browser bundle: button, CSS, modal, keyboard handling, and Remote mounting. |
51
51
  | Bundle patch | [`cordis.patch.yml`](cordis.patch.yml) | Inserts the plugin row into the dsh profile. |
52
52
  | Package metadata | [`package.json`](package.json) | Declares the host entry, web client, and bundle patch. |
53
- | Animated flow | [`docs/dsh-exit-landscape.webp`](docs/dsh-exit-landscape.webp) | Landscape Archify trace animation rendered inline as animated WebP. |
54
- | Real UI capture | [`docs/dsh-exit-real.png`](docs/dsh-exit-real.png) | Running dsh Web profile with the actual button visible. |
53
+ | Animated flow | [`docs/dsh-exit-landscape.webp`](https://github.com/KeS1Ke/dsh-exit/blob/main/docs/dsh-exit-landscape.webp) | Landscape Archify trace animation rendered inline as animated WebP. |
54
+ | Real UI capture | [`docs/dsh-exit-real.png`](https://github.com/KeS1Ke/dsh-exit/blob/main/docs/dsh-exit-real.png) | Running dsh Web profile with the actual button visible. |
55
55
 
56
56
 
57
57
  ## 🚀 Install from npm
package/README.zh-CN.md CHANGED
@@ -7,10 +7,10 @@
7
7
  [![dsh Web 插件](https://img.shields.io/badge/dsh-Web%20%E6%8F%92%E4%BB%B6-4f46e5?style=for-the-badge)](https://npmjs.com/package/@deepseek-ai/dsh)
8
8
  [![npm](https://img.shields.io/npm/v/%40kesike%2Fdsh-exit?style=for-the-badge&label=npm)](https://www.npmjs.com/package/@kesike/dsh-exit)
9
9
  [![平台](https://img.shields.io/badge/%E5%B9%B3%E5%8F%B0-Web-0ea5e9?style=for-the-badge)](https://github.com/KeS1Ke/dsh-exit)
10
- [![版本](https://img.shields.io/badge/%E7%89%88%E6%9C%AC-0.1.0-64748b?style=for-the-badge)](package.json)
10
+ [![版本](https://img.shields.io/badge/%E7%89%88%E6%9C%AC-0.1.2-64748b?style=for-the-badge)](package.json)
11
11
  [![依赖](https://img.shields.io/badge/%E8%BF%90%E8%A1%8C%E6%97%B6%E4%BE%9D%E8%B5%96-%E6%97%A0-16a34a?style=for-the-badge)](package.json)
12
12
 
13
- **简体中文** | [English](README.md)
13
+ **简体中文** | [English](https://github.com/KeS1Ke/dsh-exit/blob/main/README.md)
14
14
 
15
15
  </div>
16
16
 
@@ -31,7 +31,7 @@
31
31
  ## 🎬 动态退出流程
32
32
 
33
33
  <p align="center">
34
- <img src="docs/dsh-exit-landscape.webp" alt="由 Archify 生成的横版 dsh-exit 动态流程图" width="720">
34
+ <img src="https://raw.githubusercontent.com/KeS1Ke/dsh-exit/main/docs/dsh-exit-landscape.webp" alt="由 Archify 生成的横版 dsh-exit 动态流程图" width="720">
35
35
  </p>
36
36
 
37
37
  ## 📸 真实 dsh 界面
@@ -39,7 +39,7 @@
39
39
  下图来自已经安装 `dsh-exit` 的真实 dsh Web profile;右下角的红色电源按钮就是插件实际渲染的控件。
40
40
 
41
41
  <p align="center">
42
- <img src="docs/dsh-exit-real.png" alt="运行中的 dsh Web 界面与右下角 dsh-exit 电源按钮" width="720">
42
+ <img src="https://raw.githubusercontent.com/KeS1Ke/dsh-exit/main/docs/dsh-exit-real.png" alt="运行中的 dsh Web 界面与右下角 dsh-exit 电源按钮" width="720">
43
43
  </p>
44
44
 
45
45
  ## 🧱 项目组成
@@ -50,8 +50,8 @@
50
50
  | 客户端 | [`lib/client.js`](lib/client.js) | 自包含浏览器 bundle:按钮、样式、弹窗、键盘交互和 Remote 挂载。 |
51
51
  | Bundle 补丁 | [`cordis.patch.yml`](cordis.patch.yml) | 向 dsh profile 插入插件行。 |
52
52
  | 包元数据 | [`package.json`](package.json) | 声明宿主入口、Web 客户端和 Bundle 补丁。 |
53
- | 动态流程 | [`docs/dsh-exit-landscape.webp`](docs/dsh-exit-landscape.webp) | 横版 Archify trace 动画,以动画 WebP 直接内嵌。 |
54
- | 真实界面截图 | [`docs/dsh-exit-real.png`](docs/dsh-exit-real.png) | 已运行 dsh Web profile 中的实际按钮。 |
53
+ | 动态流程 | [`docs/dsh-exit-landscape.webp`](https://github.com/KeS1Ke/dsh-exit/blob/main/docs/dsh-exit-landscape.webp) | 横版 Archify trace 动画,以动画 WebP 直接内嵌。 |
54
+ | 真实界面截图 | [`docs/dsh-exit-real.png`](https://github.com/KeS1Ke/dsh-exit/blob/main/docs/dsh-exit-real.png) | 已运行 dsh Web profile 中的实际按钮。 |
55
55
 
56
56
 
57
57
  ## 🚀 从 npm 安装
package/lib/client.js CHANGED
@@ -8,7 +8,8 @@
8
8
  * 无外部依赖:全部逻辑在本工厂内完成,不 require 任何模块。
9
9
  */
10
10
  window.__ModuleLoader__.load({
11
- id: "@kesike/dsh-exit",
11
+ // The bundle row is addressed by the stable dsh patch id, not the npm scope.
12
+ id: "dsh-exit",
12
13
  factory: () => {
13
14
  var module = { exports: {} };
14
15
  var exports = module.exports;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kesike/dsh-exit",
3
- "version": "0.1.0",
3
+ "version": "0.1.2",
4
4
  "type": "module",
5
5
  "description": "在 dsh web 界面提供退出按钮:确认后结束宿主进程并释放端口",
6
6
  "keywords": [
@@ -32,10 +32,7 @@
32
32
  "files": [
33
33
  "lib",
34
34
  "cordis.patch.yml",
35
- "README.md",
36
- "README.zh-CN.md",
37
- "docs/dsh-exit-landscape.webp",
38
- "docs/dsh-exit-real.png"
35
+ "!README.zh-CN.md"
39
36
  ],
40
37
  "publishConfig": {
41
38
  "access": "public",
Binary file
Binary file