@linxin666/dsh-pet 0.3.10 → 0.3.11
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.i18n.yaml +2 -2
- package/README.md +11 -1
- package/README.zh.md +11 -1
- package/lib/client.js +1 -1
- package/lib/client.js.map +1 -1
- package/lib/types/host/run-guarded.d.ts +40 -0
- package/lib/types/host/run-guarded.d.ts.map +1 -0
- package/lib/types/host/run-guarded.js +69 -0
- package/package.json +14 -14
- package/src/client/index.ts +2 -2
- package/src/host/run-guarded.ts +76 -0
- package/src/registry.test.ts +13 -4
package/README.i18n.yaml
CHANGED
|
@@ -2,5 +2,5 @@
|
|
|
2
2
|
# side as of the last confirmed-consistent state. Both languages carry equal authority;
|
|
3
3
|
# after editing either side, bring the other along and re-record with:
|
|
4
4
|
# node scripts/verify-docs.mjs --write <dir>
|
|
5
|
-
README.md:
|
|
6
|
-
README.zh.md:
|
|
5
|
+
README.md: ffee16de7b99b507daad27a7c8b8a8838ddcfbb2
|
|
6
|
+
README.zh.md: c6f82762211fa7361ae27bb6fbb2d5fe066b284d
|
package/README.md
CHANGED
|
@@ -208,7 +208,7 @@ Host-side sibling plugins can push one structured announcement through the `pet`
|
|
|
208
208
|
| `whale-girl` | 鲸鱼娘(原版) | The repository's original whale-girl atlas |
|
|
209
209
|
| `whale-girl-refined` | 鲸鱼娘(精致版) | An AI-assisted derivative with repaired and refined details, based on the whale-girl design direction |
|
|
210
210
|
|
|
211
|
-
The Miku pet is deliberately not bundled: it is a frames2d gameplay pet installed on demand from the Workshop (see the frames2d section above).
|
|
211
|
+
The Miku pet is deliberately not bundled: it is a frames2d gameplay pet installed on demand from the Workshop (see the frames2d section above). The **Starry Doll pet** (星夜人偶, contributed by Theater-ahyeon under CC-BY-NC-SA-4.0) is likewise Workshop-only: a sprite2d gothic starry doll cut out from a single illustration and animated with paper-doll transforms (breath, hop, wave, droop, and a review-state magnifier); install it from the Workshop's pet list and it lands in `$DSH_HOME/pets/starry-doll/`.
|
|
212
212
|
|
|
213
213
|
The refined variant references DreamSkin's “DeepSeek-Whale” theme. The historical source record identifies `powerdog996` as the original theme author and marks the theme as MIT: [DreamSkin](https://dreamskin.cc), [repository source record](https://github.com/zhu1090093659/dsh-web/commit/87edd7ff4800dffd40bc93fb76e4ae450390facd). This attribution records the source and derivative relationship; it does not present the refined variant as an official work of the original author or redefine the original artwork's licensing scope.
|
|
214
214
|
|
|
@@ -224,6 +224,16 @@ Sprite pets use 8-column atlases with 192×208 cells generated by the [hatch-pet
|
|
|
224
224
|
|---|---|---|---|
|
|
225
225
|
|  |  |  |   |
|
|
226
226
|
|
|
227
|
+
The community **Starry Doll** pet (Workshop-only, contributed by Theater-ahyeon under CC-BY-NC-SA-4.0) ships the same preview set:
|
|
228
|
+
|
|
229
|
+
| idle | waiting | running | jumping |
|
|
230
|
+
|---|---|---|---|
|
|
231
|
+
|  |  |  |  |
|
|
232
|
+
|
|
233
|
+
| waving | review | failed | move left/right |
|
|
234
|
+
|---|---|---|---|
|
|
235
|
+
|  |  |  |   |
|
|
236
|
+
|
|
227
237
|
## Architecture
|
|
228
238
|
|
|
229
239
|
```text
|
package/README.zh.md
CHANGED
|
@@ -208,7 +208,7 @@ frames2d 宠物可声明 `gameplay` 块——从 miku 桌宠泛化而来的可
|
|
|
208
208
|
| `whale-girl` | 鲸鱼娘(原版) | 仓库原有的鲸鱼娘图集 |
|
|
209
209
|
| `whale-girl-refined` | 鲸鱼娘(精致版) | 以鲸鱼娘设计方向为基础,经 AI 辅助二次创作、修复和细节精修的衍生版本 |
|
|
210
210
|
|
|
211
|
-
Miku 宠物有意不随包内置:它是 frames2d 玩法宠物,经创意工坊按需安装(见上文 frames2d
|
|
211
|
+
Miku 宠物有意不随包内置:它是 frames2d 玩法宠物,经创意工坊按需安装(见上文 frames2d 一节)。**星夜人偶(Starry Doll)**(Theater-ahyeon 以 CC-BY-NC-SA-4.0 贡献)同样仅经创意工坊分发:sprite2d 哥特星夜人偶,从单张插画抠像后以剪纸变换生成动画(呼吸、蹦跳、挥手、沮丧、review 态放大镜道具),从创意工坊宠物列表安装后落在 `$DSH_HOME/pets/starry-doll/`。
|
|
212
212
|
|
|
213
213
|
精致版参考了 DreamSkin 的「DeepSeek-鲸鱼娘」主题。历史来源记录标注原主题作者为 `powerdog996`,并标注主题为 MIT:[DreamSkin](https://dreamskin.cc)、[仓库来源记录](https://github.com/zhu1090093659/dsh-web/commit/87edd7ff4800dffd40bc93fb76e4ae450390facd)。此处用于记录素材来源与衍生关系;精致版不表述为原作者的官方作品,也不重新定义原始美术作品的授权范围。
|
|
214
214
|
|
|
@@ -224,6 +224,16 @@ Miku 宠物有意不随包内置:它是 frames2d 玩法宠物,经创意工
|
|
|
224
224
|
|---|---|---|---|
|
|
225
225
|
|  |  |  |   |
|
|
226
226
|
|
|
227
|
+
社区贡献的**星夜人偶**宠物(仅经创意工坊分发,Theater-ahyeon 以 CC-BY-NC-SA-4.0 贡献)随附同一套状态预览:
|
|
228
|
+
|
|
229
|
+
| idle | waiting | running | jumping |
|
|
230
|
+
|---|---|---|---|
|
|
231
|
+
|  |  |  |  |
|
|
232
|
+
|
|
233
|
+
| waving | review | failed | 左右移动 |
|
|
234
|
+
|---|---|---|---|
|
|
235
|
+
|  |  |  |   |
|
|
236
|
+
|
|
227
237
|
## 架构
|
|
228
238
|
|
|
229
239
|
```text
|
package/lib/client.js
CHANGED