dsh-gacha-calendar 0.8.6

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 EastMG
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 ADDED
@@ -0,0 +1,61 @@
1
+ # dsh-gacha-calendar
2
+
3
+ DeepSeek Harness 桌面端侧边栏插件:一键查看主流二游的**当期卡池与活动起止**,支持联网自动刷新,支持手动添加或删除条目。
4
+ 全程使用 DeepSeek Harness 进行 Vibe Coding 开发。
5
+
6
+ ## 功能
7
+
8
+ - 侧边栏底部「📅 二游排期」按钮 → 悬浮面板,按行展示每款游戏的当期卡池、卡池起止、当期活动、活动起止
9
+ - **倒计时显示**剩余时间,悬停查看卡池/活动全名原始文本
10
+ - **联网抓取**:各游戏来源独立(官网公告 / Wiki / 第三方站),失败自动降级;来源可在设置页切换或自定义地址
11
+ - **设置页**:自动刷新开关与频率(1–42 天)、展示顺序、条目显隐/删除、新增自定义条目(名称+图标+来源链接,内容由链接解析产出)
12
+
13
+ 内置覆盖 10 款游戏:
14
+
15
+ | 游戏 | 服务器 |
16
+ |---|---|
17
+ | 原神 | 国服 |
18
+ | 崩坏:星穹铁道 | 国服 |
19
+ | 绝区零 | 国服 |
20
+ | 鸣潮 | 国服 |
21
+ | 明日方舟 | 国服 |
22
+ | 明日方舟:终末地 | 国服 |
23
+ | 蔚蓝档案 | 国服 |
24
+ | 蔚蓝档案 | 国际服 |
25
+ | 重返未来:1999 | 国服 |
26
+ | 异环 | 国服 |
27
+
28
+ ## 数据来源
29
+
30
+ 排期数据实时抓取自各游戏**官方公告 / Wiki / 第三方站**(非内置静态数据)。
31
+
32
+ ## 安装
33
+
34
+ ```bash
35
+ dsh plugin --profile desktop add dsh-gacha-calendar
36
+ ```
37
+
38
+ 或将仓库复制到 profile 的 `node_modules` 后重启 DSH Desktop。
39
+
40
+ ## 开发
41
+
42
+ ```bash
43
+ npm run typecheck # 类型检查
44
+ npm run build # 构建(tsdown)
45
+ ```
46
+
47
+ ## 插件结构
48
+
49
+ ```
50
+ dsh-gacha-calendar/
51
+ ├── package.json # dsh.bundle.patch + dsh.client.inject(DSH 加载规范)
52
+ ├── cordis.patch.yml # bundle patch
53
+ ├── lib/
54
+ │ ├── index.js # host 端:配置 schema + 同源代理(CORS/Referer 反爬绕行,白名单域名)
55
+ │ └── client.js # web 端:面板 + 设置页 + 各游戏解析器与来源注册表
56
+ └── README.md
57
+ ```
58
+
59
+ ## License
60
+
61
+ MIT
@@ -0,0 +1,4 @@
1
+ # dsh bundle patch: inserts the gacha calendar plugin into the profile layer stack.
2
+ - insert:
3
+ - id: gacha-calendar
4
+ name: dsh-gacha-calendar