dsh-lazy-mount 0.0.0-stage → 1.2.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/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 dsh-lazy-mount contributors
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
@@ -1,3 +1,34 @@
1
- # Temporary Holding Version
1
+ # dsh-lazy-mount
2
2
 
3
- This version is a temporary placeholder for this package. An operational version to replace this has been submitted for review and is awaiting a staged release.
3
+ 为 DeepSeek Harness(dsh)准备的**插件懒加载管理器**:把重型插件的加载推迟到窗口可用之后,并在设置面板里选择延迟哪些插件。
4
+
5
+ > Defer heavy plugin activation until after the window is usable, with a settings page to pick which plugins.
6
+
7
+ ## 安装
8
+
9
+ ```bash
10
+ dsh plugin install dsh-lazy-mount
11
+ ```
12
+
13
+ 装好后打开 **设置 → 懒加载**,勾选要延迟的插件。
14
+
15
+ ## 它做什么、不做什么
16
+
17
+ **能做**:让指定插件不在启动时加载,改为启动约 5 秒后唤醒。功能不丢,只是晚几秒就绪。
18
+
19
+ **不能做**:让窗口更早出现。dsh 桌面壳的显示顺序固定为「全部插件加载完 → 发 ready → 才 window.show()」,窗口一定晚于所有插件就绪。
20
+
21
+ 各插件前端体积、缓存冷热才是启动耗时的大头,与本插件无关。如果期望「装了快一倍」,那不是它。
22
+
23
+ ## 完整文档
24
+
25
+ 设计原理、三个容易踩的坑、启动日志字段、已知限制与实测数据,都在仓库里:
26
+
27
+ **<https://github.com/Slammingbang/dsh-lazy-mount>**
28
+
29
+ - [工作原理与设计约束](https://github.com/Slammingbang/dsh-lazy-mount#工作原理给想看代码的人)
30
+ - [已知问题与待办](https://github.com/Slammingbang/dsh-lazy-mount/blob/main/docs/KnownIssues.md)
31
+
32
+ ## License
33
+
34
+ MIT