@michengai/dsh-codex-pet 1.0.6 → 1.0.8
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/CHANGELOG.md +13 -0
- package/CHANGELOG.zh-CN.md +14 -0
- package/assets/icon.svg +26 -0
- package/lib/client.js +413 -249
- package/package.json +5 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,18 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [1.0.8] - 2026-11-03
|
|
4
|
+
|
|
5
|
+
- The lag is gone: the plugin no longer opens every session just to collect notifications. Machines with many sessions used to stall for tens of seconds on startup, on maximizing the window, and on view switches; it now matches the cost of not installing the plugin.
|
|
6
|
+
- Collapsing the pet costs nothing: no timers, no session subscriptions, no animation polling while it is collapsed. Notifications and state come back when it is shown again.
|
|
7
|
+
- Notifications now behave the way people expect: hiding and showing the pet no longer resurrects notices you already dismissed; muting a running notice still notifies you when that turn finishes; sessions that completed while the pet was hidden show up again.
|
|
8
|
+
- The three header entries in settings (GitHub, feedback, check for updates) no longer wrap onto two lines or stretch across the row; they match the host button metrics.
|
|
9
|
+
- The update dialog now looks like the one in the sibling plugins, and it is visible with proper styling when opened from the pet's own settings.
|
|
10
|
+
- Closing and reopening settings keeps the pet description you had already typed.
|
|
11
|
+
## [1.0.7] - 2026-10-27
|
|
12
|
+
|
|
13
|
+
- Add custom vector plugin icon: Add transparent vector SVG icon `assets/icon.svg` and register it via `icon` field in `package.json` for better recognition in plugin catalogs.
|
|
14
|
+
- Include icon in distribution package: Add `assets/icon.svg` to the `files` array in `package.json` to ensure npm release tarball includes the icon asset.
|
|
15
|
+
|
|
3
16
|
## [1.0.6] - 2026-10-24
|
|
4
17
|
|
|
5
18
|
- Upgrade host admission policy: Declare `engines.dsh: ">=0.2.0-rc.1 <0.3.0-0"` to support the entire DeepSeek Harness `0.2.x` line (including `0.2.0-rc.1` onwards, future alphas, RCs, and stable releases) without requiring routine plugin version bumps.
|
package/CHANGELOG.zh-CN.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# 更新日志
|
|
2
2
|
|
|
3
|
+
## [1.0.8] - 2026-11-03
|
|
4
|
+
|
|
5
|
+
- 卡顿显著消失:插件不再为了收集通知而逐个打开会话。此前会话多的机器启动、窗口最大化、切换视图都会连续卡上几十秒,现在与不装插件的水平一致。
|
|
6
|
+
- 收起宠物后开销归零:收起状态下不再有任何定时器、会话订阅与动画轮询;重新显示后通知与状态照常恢复。
|
|
7
|
+
- 通知更符合直觉:收起再展开不会重复弹出你已经关掉的通知;关掉「运行中」的通知后,这一轮跑完仍会提醒;收起期间其他会话新完成的任务,展开后会正常提醒。
|
|
8
|
+
- 设置页顶部三个入口(GitHub / 问题反馈 / 检查更新)不再错位成两行或被拉满整行,与宿主按钮尺寸一致。
|
|
9
|
+
- 「检查更新」弹窗改为与技能管理等插件一致的外观,并修复了从宠物自己的设置里打开时看不见、没有样式的问题。
|
|
10
|
+
- 关闭设置后再打开,创建宠物时已输入的描述不会丢失。
|
|
11
|
+
|
|
12
|
+
## [1.0.7] - 2026-10-27
|
|
13
|
+
|
|
14
|
+
- 增加专属插件矢量图标:新增透明底矢量 SVG 图标 `assets/icon.svg`,并在 `package.json` 中配置 `icon` 字段,提升插件市场与管理面板的辨识度。
|
|
15
|
+
- 完善发布包打包规范:将 `assets/icon.svg` 纳入 `package.json` 的 `files` 列表,确保 npm 发行包携带完整的图标资产。
|
|
16
|
+
|
|
3
17
|
## [1.0.6] - 2026-10-24
|
|
4
18
|
|
|
5
19
|
- 宿主准入机制全面升级:声明 `engines.dsh: ">=0.2.0-rc.1 <0.3.0-0"`,全面开放对 DeepSeek Harness 整个 `0.2.x` 系列的支持(包含已支持的 `0.2.0-rc.1` 起及后续全部 alpha/rc/正式版),非破坏性宿主升级无需再重复发版。
|
package/assets/icon.svg
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
<svg width="36" height="36" viewBox="0 0 36 36" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<defs>
|
|
3
|
+
<linearGradient id="dsh_svg_pet_ear" x1="6" y1="6" x2="30" y2="30" gradientUnits="userSpaceOnUse">
|
|
4
|
+
<stop stop-color="#F43F5E"/>
|
|
5
|
+
<stop offset="1" stop-color="#FB7185"/>
|
|
6
|
+
</linearGradient>
|
|
7
|
+
<linearGradient id="dsh_svg_pet_head" x1="6" y1="10" x2="30" y2="28" gradientUnits="userSpaceOnUse">
|
|
8
|
+
<stop stop-color="#EC4899"/>
|
|
9
|
+
<stop offset="1" stop-color="#F43F5E"/>
|
|
10
|
+
</linearGradient>
|
|
11
|
+
</defs>
|
|
12
|
+
<!-- Cyber Cat Ears -->
|
|
13
|
+
<path d="M9 16L6.5 8L15 12" fill="url(#dsh_svg_pet_ear)" stroke="#FFFFFF" stroke-width="1.8" stroke-linejoin="round"/>
|
|
14
|
+
<path d="M27 16L29.5 8L21 12" fill="url(#dsh_svg_pet_ear)" stroke="#FFFFFF" stroke-width="1.8" stroke-linejoin="round"/>
|
|
15
|
+
<polygon points="9,13 7.8,9.5 12,11.5" fill="#FFE4E6"/>
|
|
16
|
+
<polygon points="27,13 28.2,9.5 24,11.5" fill="#FFE4E6"/>
|
|
17
|
+
<!-- Rounded Cat Head Shell -->
|
|
18
|
+
<rect x="6.5" y="11.5" width="23" height="18.5" rx="9" fill="url(#dsh_svg_pet_head)"/>
|
|
19
|
+
<!-- Cyber Visor Glasses -->
|
|
20
|
+
<rect x="9" y="15.5" width="18" height="7.5" rx="3.75" fill="#1E293B"/>
|
|
21
|
+
<!-- Cheerful Cyan LED Eyes -->
|
|
22
|
+
<path d="M12 19C12.5 17.8 14 17.8 14.5 19" stroke="#06B6D4" stroke-width="1.8" stroke-linecap="round"/>
|
|
23
|
+
<path d="M21.5 19C22 17.8 23.5 17.8 24 19" stroke="#06B6D4" stroke-width="1.8" stroke-linecap="round"/>
|
|
24
|
+
<!-- Cute Mouth -->
|
|
25
|
+
<path d="M16 25.5C16.8 26.5 17.5 26.5 18 25.5C18.5 26.5 19.2 26.5 20 25.5" stroke="#FFFFFF" stroke-width="1.5" stroke-linecap="round"/>
|
|
26
|
+
</svg>
|