Skip to content

DeepSeek Harness Tauri 桌面版 | Only 8mb installer, zero environment setup, preset plugins, Windows / macOS / Linux.

chore(pet): dsh-pet-component 升级至 0.2.4 (#936)

Mao Mr3fbcbf4f80f7
diff --git a/README.en.md b/README.en.md
index 84687159..91b10115 100644
--- a/README.en.md
+++ b/README.en.md
@@ -159,7 +159,7 @@ See the [English development guide](<./docs/DEVELOPMENT.md>) or [Chinese develop
- [deepseek-harness](https://github.com/deepseek-ai/deepseek-harness) — upstream `dsh` agent platform
- [deepseek-harness-pkg](https://github.com/dsh-tauri/deepseek-harness-pkg) — prebuilt Harness distributions and download source
-- [dsh-pet](https://github.com/PC2005-cloud/dsh-pet) · [dsh-pet-mov](https://github.com/dsh-tauri/dsh-pet-mov) · [dsh-pet-component](https://github.com/hairyf/dsh-pet-component) — pet assets and renderer
+- [dsh-pet](https://github.com/PC2005-cloud/dsh-pet) · [dsh-pet-mov](https://github.com/dsh-tauri/dsh-pet-mov) · [dsh-pet-component](https://github.com/dsh-tauri/dsh-pet-component) — pet assets and renderer
- [dsh-plugin-codex-pets](https://github.com/Skylarking/dsh-plugin-codex-pets) · [BongoCat](https://github.com/ayangweb/BongoCat) · [dsh-dafeiyu](https://github.com/QCYTSN/dsh-dafeiyu) · [codex-to-dsh-pet](https://github.com/Signalight/codex-to-dsh-pet) — pet reference projects
## License
diff --git a/README.es.md b/README.es.md
index 9fd09912..793be00e 100644
--- a/README.es.md
+++ b/README.es.md
@@ -159,7 +159,7 @@ Consultá la [guía en inglés](<./docs/DEVELOPMENT.md>) o la [guía en chino](<
- [deepseek-harness](https://github.com/deepseek-ai/deepseek-harness) — plataforma agent `dsh` oficial
- [deepseek-harness-pkg](https://github.com/dsh-tauri/deepseek-harness-pkg) — distribuciones Harness prearmadas y fuente de descarga
-- [dsh-pet](https://github.com/PC2005-cloud/dsh-pet) · [dsh-pet-mov](https://github.com/dsh-tauri/dsh-pet-mov) · [dsh-pet-component](https://github.com/hairyf/dsh-pet-component) — recursos y render de mascotas
+- [dsh-pet](https://github.com/PC2005-cloud/dsh-pet) · [dsh-pet-mov](https://github.com/dsh-tauri/dsh-pet-mov) · [dsh-pet-component](https://github.com/dsh-tauri/dsh-pet-component) — recursos y render de mascotas
- [dsh-plugin-codex-pets](https://github.com/Skylarking/dsh-plugin-codex-pets) · [BongoCat](https://github.com/ayangweb/BongoCat) · [dsh-dafeiyu](https://github.com/QCYTSN/dsh-dafeiyu) · [codex-to-dsh-pet](https://github.com/Signalight/codex-to-dsh-pet) — proyectos de referencia de mascotas
## Licencia
diff --git a/README.md b/README.md
index 7c6c8c68..dfbeb412 100644
--- a/README.md
+++ b/README.md
@@ -160,7 +160,7 @@ Windows 启动失败时会通过原生对话框显示具体错误。若出现 `S
- [deepseek-harness](https://github.com/deepseek-ai/deepseek-harness) — 上游 `dsh` agent 平台
- [deepseek-harness-pkg](https://github.com/dsh-tauri/deepseek-harness-pkg) — 预打包 Harness 发行版与下载源
-- [dsh-pet](https://github.com/PC2005-cloud/dsh-pet) · [dsh-pet-mov](https://github.com/dsh-tauri/dsh-pet-mov) · [dsh-pet-component](https://github.com/hairyf/dsh-pet-component) — 桌宠素材与渲染组件
+- [dsh-pet](https://github.com/PC2005-cloud/dsh-pet) · [dsh-pet-mov](https://github.com/dsh-tauri/dsh-pet-mov) · [dsh-pet-component](https://github.com/dsh-tauri/dsh-pet-component) — 桌宠素材与渲染组件
- [dsh-plugin-codex-pets](https://github.com/Skylarking/dsh-plugin-codex-pets) · [BongoCat](https://github.com/ayangweb/BongoCat) · [dsh-dafeiyu](https://github.com/QCYTSN/dsh-dafeiyu) · [codex-to-dsh-pet](https://github.com/Signalight/codex-to-dsh-pet) — 桌宠参考项目
## License
diff --git a/packages/dsh-tauri-pet/docs/sync-log.md b/packages/dsh-tauri-pet/docs/sync-log.md
index 670a7b1b..ab3be042 100644
--- a/packages/dsh-tauri-pet/docs/sync-log.md
+++ b/packages/dsh-tauri-pet/docs/sync-log.md
@@ -26,6 +26,26 @@
## 同步记录
+### 2026 —— dsh-pet-component v0.2.4:仓库迁到 `dsh-tauri/`,单击语义改为「每次有效单击」
+
+不是上游同步,而是渲染层依赖升级(`dsh-pet-component@^0.2.3` → `^0.2.4`),
+记录在此以便核对单击语义与命令面。类型声明只增不改(`dist/index.d.mts` 净增 20 行),宿主侧无需改动。
+
+- **仓库迁移**:0.2.4 的 `package.json` 把 `homepage`/`repository`/`bugs` 由 `hairyf/dsh-pet-component` 改为
+ `dsh-tauri/dsh-pet-component`;`README.md`、`README.en.md`、`README.es.md` 的组件链接同步改名
+ (本文档历史条目保留当时的旧名;`docs/specs/upstram.sync.md` 已固定禁止修改,其 §1.1 仍写作 `hairyf/`)。
+- **单击语义**:原「双击(< `DOUBLE_CLICK_MS`)插播一次 waving、保留既有双击合约」改为**每次有效左键单击**
+ 都插播一次 waving(dsh 侧取动作池 `animations.clicks`,Codex 配置走 waving 行)。本仓 `src/pet/app.tsx`
+ 未使用单击/双击语义(`onHitboxPointerDown/Up` 交给 `useWindowDraggable`),观感变化仅是多一次动作插播。
+- **新增对话输入(本仓未启用)**:`PetCommonProps` 新增 `dialogue?: boolean`、`onDialogue?: PetDialogueHandler`、
+ `toastRef?: Ref<HTMLDivElement>`,`PetRef` 新增 `reply(text, options?)`,并导出 `PetReplyOptions`/`PetDialogueHandler`。
+ 启用 `dialogue` 后 500 ms 内的第二次有效单击打开输入 toast;本仓气泡仍走宿主 `pet.bubble`,故不启用。
+- **供应链登记**:`minimumReleaseAgeExclude` 条目同步改为 `[email protected]`(新版本未满最短发布时长);
+ **删除** `trustPolicyExclude: [email protected]` —— 0.2.4 带 npm provenance 证明,不再被
+ `trustPolicy: no-downgrade` 判为降级;删除后 `pnpm install --lockfile-only` 仍报
+ `✓ Lockfile passes supply-chain policies (1171 entries)`。
+- 校验:`pnpm typecheck`、`pnpm exec vitest run src/pet test/pet-asset-headers.test.ts`(97 passed)。
+
### 2026 —— 技能 `hatch-dsh-pet` 改述上游素材生成流程(上游 `README.md` @ `d73a2bb`,运行期基线不变)
用户指出原技能「不是对 dsh-pet 视频生成流程的描述」:它只讲本机 Codex 图集契约,第 2 步直说
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index b46bd94e..47265f73 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -184,8 +184,8 @@ catalogs:
specifier: ^5.101.4
version: 5.101.4
dsh-pet-component:
- specifier: ^0.2.3
- version: 0.2.3
+ specifier: ^0.2.4
+ version: 0.2.4
i18next:
specifier: ^26.3.6
version: 26.3.6
@@ -358,7 +358,7 @@ importers:
version: 2.4.4
dsh-pet-component:
specifier: catalog:runtime
i18next:
specifier: catalog:runtime
version: 26.3.6([email protected])
@@ -4285,8 +4285,8 @@ packages:
resolution: {integrity: sha512-nI4U3TottKAcAD9LLud4Cb7b2QztQMUEfHbvhTH09bqXTxnSie8WnjPALV/WMCrJZ6UV/qHJ6L03OqO3LcdYZw==}
engines: {node: '>=12'}
- resolution: {integrity: sha512-KjvhYQ6IR8TlhLrQxxXco+IA/AytEuqGrL0FcLGBM+J1StQh5EC1Y7hcmI7pN79mhqg36LxTfChahcOXtmC4bw==}
+ resolution: {integrity: sha512-q8HIQX7sx47Rb53g67YXWgNOlFFDooXNvxAAkYW6Nhzyu1mGnTjZ14cGsuD5QKumxVnG5yE8yvR2SqWnk1DEKQ==}
peerDependencies:
react: ^19.0.0
@@ -9928,7 +9928,7 @@ snapshots:
dependencies:
'@gravity-ui/icons': 2.21.0([email protected])
'@reause/core': 0.1.7([email protected])
diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yaml
index 101c82ef..7adad0b8 100644
--- a/pnpm-workspace.yaml
+++ b/pnpm-workspace.yaml
@@ -12,7 +12,7 @@ inject-workspace-packages: true
minimumReleaseAgeExclude:
- '@reause/[email protected]'
- '@reause/[email protected]'
- '@deepseek-ai/[email protected]'
- '@deepseek-ai/[email protected]'
- '@deepseek-ai/[email protected]'
@@ -95,9 +95,6 @@ minimumReleaseAgeExclude:
shellEmulator: true
trustPolicy: no-downgrade
-
-trustPolicyExclude:
packages:
- packages/*
@@ -171,7 +168,7 @@ catalogs:
'@overlastic/react': ^0.9.0
'@reause/core': ^0.1.7
'@tanstack/react-query': ^5.101.4
- dsh-pet-component: ^0.2.3
+ dsh-pet-component: ^0.2.4
i18next: ^26.3.6
react: ^19.2.8
react-dom: ^19.2.8