dsh-mattpocock-skills-deck 1.7.21 → 1.7.23

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.
Files changed (40) hide show
  1. package/README.md +39 -14
  2. package/lib/client.js +3780 -1416
  3. package/lib/detectChain.js +12 -2
  4. package/lib/handoffClaim.js +4 -2
  5. package/lib/index.js +6 -6
  6. package/lib/repoKeys.js +9 -4
  7. package/lib/sessionLifecycle.js +19 -4
  8. package/lib/sessionRefresh.js +10 -2
  9. package/lib/sessionSnapshot.js +53 -75
  10. package/lib/tracker/backends/README.md +1 -1
  11. package/lib/tracker/backends/github/backend.js +4 -0
  12. package/lib/tracker/backends/github/client.js +20 -7
  13. package/lib/tracker/backends/github/errors.js +21 -4
  14. package/lib/tracker/backends/github/index.js +21 -11
  15. package/lib/tracker/backends/github/label-colors-ops.js +291 -0
  16. package/lib/tracker/backends/github/labels.js +8 -23
  17. package/lib/tracker/backends/github/preflight.js +7 -8
  18. package/lib/tracker/backends/markdown/index.js +19 -5
  19. package/lib/tracker/backends/markdown/issues-create.js +9 -7
  20. package/lib/tracker/backends/markdown/issues-patch.js +15 -12
  21. package/lib/tracker/backends/markdown/issues-read.js +11 -11
  22. package/lib/tracker/backends/markdown/issues-status.js +3 -3
  23. package/lib/tracker/backends/markdown/label-colors-ops.js +220 -0
  24. package/lib/tracker/backends/markdown/label-colors-paint.js +45 -0
  25. package/lib/tracker/backends/markdown/label-colors-palette.js +47 -0
  26. package/lib/tracker/backends/markdown/label-colors.js +345 -0
  27. package/lib/tracker/backends/markdown/parse.js +33 -18
  28. package/lib/tracker/backends/markdown/write.js +8 -2
  29. package/lib/tracker/contract.js +110 -4
  30. package/lib/tracker/detection/detectionService.js +12 -11
  31. package/lib/workspaceCwd.js +275 -27
  32. package/lib/workspaceKey.js +178 -5
  33. package/package.json +1 -1
  34. package/scripts/fix-issue-body.mjs +468 -399
  35. package/scripts/wire-subissues.mjs +887 -837
  36. package/shared/label-color/colors.js +29 -0
  37. package/shared/label-color/ports.js +2 -0
  38. package/shared/label-color/prompt.js +18 -0
  39. package/shared/tracker/guide-steps.js +206 -0
  40. package/lib/tracker/backends/markdown/issues-labels.js +0 -45
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- <!-- AUTO-GENERATED by scripts/build.mjs — DO NOT EDIT. Source: ../README.md @ v1.7.21 -->
1
+ <!-- AUTO-GENERATED by scripts/build.mjs — DO NOT EDIT. Source: ../README.md @ v1.7.23 -->
2
2
 
3
3
  <h1 align="center">dsh-mattpocock-skills-deck</h1>
4
4
 
@@ -23,7 +23,7 @@
23
23
 
24
24
  前置要求:[DSH](https://www.npmjs.com/package/@deepseek-ai/dsh)(DeepSeek Harness)。在 DSH 里,你下指令、AI 干活;MattSkillsDeck 把这些活变成面板上的任务。
25
25
 
26
- **匹配的 DSH 内核版本:`0.1.5-rc.1`**(也就是 DSH 官方源上的当前 `latest`)。本版就是在这一版内核上开发、构建与验收的,两条安装命令都按它给。
26
+ **匹配的 DSH 内核版本:`0.1.5-rc.1`**(DSH 官方源上的当前 `latest`,也就是 `npm install -g @deepseek-ai/dsh` 装到的那一版)。本版就是在这一版内核上开发、构建与验收的,两条安装命令都按它给。DSH Desktop 2.0.10 自带的内核是**同一份代码、版本号写作 `0.1.5-rc.2`**(官方源上的 `next` 标签)——两者逐行比对只差 `version` 一个字段,核对过程见 [`research/624-file-channel.md`](research/624-file-channel.md) 第 6.3 节,所以桌面应用用户不需要另装内核。
27
27
 
28
28
  </div>
29
29
 
@@ -36,10 +36,10 @@ npm install -g @deepseek-ai/dsh
36
36
  dsh plugin --profile web add dsh-mattpocock-skills-deck # 用自启 web 服务(dsh web)
37
37
  # 或者
38
38
  dsh plugin --profile desktop add dsh-mattpocock-skills-deck # 用 DSH Desktop 桌面应用
39
- # 锁定最新版更稳(当前 1.7.21):
40
- dsh plugin --profile web add dsh-mattpocock-skills-deck@1.7.21 --registry https://registry.npmjs.org
39
+ # 锁定最新版更稳(当前 1.7.23):
40
+ dsh plugin --profile web add dsh-mattpocock-skills-deck@1.7.23 --registry https://registry.npmjs.org
41
41
  # 或者
42
- dsh plugin --profile desktop add dsh-mattpocock-skills-deck@1.7.21 --registry https://registry.npmjs.org
42
+ dsh plugin --profile desktop add dsh-mattpocock-skills-deck@1.7.23 --registry https://registry.npmjs.org
43
43
  ```
44
44
 
45
45
  <div align="center">
@@ -48,7 +48,7 @@ dsh plugin --profile desktop add dsh-mattpocock-skills-deck@1.7.21 --registry ht
48
48
 
49
49
  **点开面板不用再等:从点击到内容可见,真机实测从 5075 毫秒降到 193 毫秒。** 这是 2026-09-11 的真机复测;同一份记录里,提交阶段从 4948 毫秒降到 117 毫秒。做法是把标签折叠与地图行适配从「量一次、改一次」交替的循环改成先量后改,布局不再被反复重算。纪律与证据链见 [`docs/adr/20260911-zero-layout-jitter.md`](https://github.com/FeatherHunter/dsh-mattpocock-skills-deck/blob/main/docs/adr/20260911-zero-layout-jitter.md)。
50
50
 
51
- 窄屏用户可顺手把 dsh-better-sidebar 装进同一个 profile,列表与详情并排看。
51
+ 面板就开在 DSH 自己的右侧边栏里:左边列表、右边详情,并排看。不需要再装别的插件。
52
52
 
53
53
  **👇 装完重启,面板就绪就是这个样子。**
54
54
 
@@ -172,6 +172,19 @@ dsh plugin --profile web add dsh-mattpocock-skills-deck@latest --registry https:
172
172
 
173
173
  </details>
174
174
 
175
+ <details>
176
+ <summary>更新报错找不到新版本(No matching version),地址是镜像源?</summary>
177
+
178
+ 这是镜像源还没有同步到新版本:报错地址写着镜像源(例如 `registry.npmmirror.com`),而新版本已经在官方源上发布,包本身没有漏发。等镜像源同步完成就能正常更新;着急用的话,显式指定官方源装一次(下面这条命令不要去掉末尾的源参数,去掉就会走回镜像源):
179
+
180
+ ```bash
181
+ dsh plugin --profile web add dsh-mattpocock-skills-deck@latest --registry https://registry.npmjs.org
182
+ ```
183
+
184
+ 桌面应用用户把 `--profile web` 换成 `--profile desktop`。
185
+
186
+ </details>
187
+
175
188
  <h2 align="center"><sub>ARCHITECTURE</sub><br>架构</h2>
176
189
 
177
190
  <div align="center">
@@ -217,18 +230,30 @@ MIT © FeatherHunter
217
230
 
218
231
  感谢每一位提交 Issue、PR 与参与讨论的朋友,是你们让这个插件一点点变好。
219
232
 
220
- [@pioneerAlone](https://github.com/pioneerAlone) — 反馈了 #298(details/better-sidebar 重复,附完整复现与截图)、#274、#234 等状态栏与健康检查误报,并提交了修复 PR #273、#316,感谢你让「重装后到处异常」的体感得以一次清爽修复 🌹
233
+ [@pioneerAlone](https://github.com/pioneerAlone) — 反馈了 #298(details/better-sidebar 重复,附完整复现与截图)、#274、#234 等状态栏与健康检查误报、#645(镜像源滞后导致更新失败),并提交了修复 PR #273、#316,感谢你让「重装后到处异常」的体感得以一次清爽修复 🌹🌹🌹🌹🌹🌹
221
234
 
222
- [@Shimmernight](https://github.com/Shimmernight) — 提交了 #277 等 Issue,以及 PR #287、#275、#106(toast 主题、命名修正、macOS 适配)
235
+ [@Shimmernight](https://github.com/Shimmernight) — 提交了 #277 等 Issue,以及 PR #287、#275、#106(toast 主题、命名修正、macOS 适配) 🌹🌹🌹🌹
223
236
 
224
- [@21967201](https://github.com/21967201) — 提交了 PR #321(完善 triage + wayfinder 标签文档)
237
+ [@21967201](https://github.com/21967201) — 提交了 PR #321(完善 triage + wayfinder 标签文档) 🌹
225
238
 
226
- [@angenet](https://github.com/angenet) — 反馈了 #295、#262 等 macOS 环境检测问题
239
+ [@angenet](https://github.com/angenet) — 反馈了 #295、#262 等 macOS 环境检测问题 🌹🌹
227
240
 
228
- [@hyperion2144](https://github.com/hyperion2144) — 反馈了 #110 等环境检查问题
241
+ [@hyperion2144](https://github.com/hyperion2144) — 反馈了 #110 等环境检查问题 🌹
229
242
 
230
243
  [@tafcear](https://github.com/tafcear) — 反馈了 #422(非编码工作区状态栏降噪诉求),感谢你让非编码工作区不再被初始化横幅打扰 🌹
231
244
 
245
+ [@271912980](https://github.com/271912980) — 在 #257 下提出把会话做成稳定可寻址端点(会话 ID + 语义名)的想法
246
+
247
+ [@xiSage](https://github.com/xiSage) — 反馈了 #435(自托管 GitLab 仓库无法识别),并在讨论区发起 #436(按工作区关闭插件功能) 🌹
248
+
249
+ [@dis0neplay](https://github.com/dis0neplay) — 提交了 PR #493(修 CI 与 Pages 根目录跳转,按请求关闭) 🌹
250
+
251
+ [@snmtg1008](https://github.com/snmtg1008) — 在 #476 下留下了自己排查并修好「本地数据目录误报不可写」的完整方案
252
+
253
+ [@arnold117](https://github.com/arnold117) — 反馈了 #574(本地 Markdown 后端里多个工作单元撞号,只能看到第一个,评论还会写进别的文件),并提交了 PR #575 修好它(已合入),感谢你让一个仓库里并存多个工作单元时不再读错写错 🌹🌹
254
+
255
+ [@SbDonger](https://github.com/SbDonger) — 反馈了 #640(状态栏与输入框错位,输入框上方出现一条横向背景带) 🌹
256
+
232
257
  也感谢在评论区与讨论区留下想法的每一位朋友。如果你也遇到了问题或有新想法,欢迎直接提 Issue 或发起讨论。
233
258
 
234
259
  </div>
@@ -251,9 +276,9 @@ MIT © FeatherHunter
251
276
 
252
277
  <a href="https://featherhunter.github.io/dsh-mattpocock-skills-deck/star-history.html">
253
278
  <picture>
254
- <source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/FeatherHunter/dsh-mattpocock-skills-deck/main/docs/star-history-dark.svg?v=20260912" />
255
- <source media="(prefers-color-scheme: light)" srcset="https://raw.githubusercontent.com/FeatherHunter/dsh-mattpocock-skills-deck/main/docs/star-history-light.svg?v=20260912" />
256
- <img alt="Star History Chart" src="https://raw.githubusercontent.com/FeatherHunter/dsh-mattpocock-skills-deck/main/docs/star-history-light.svg?v=20260912" />
279
+ <source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/FeatherHunter/dsh-mattpocock-skills-deck/main/docs/star-history-dark.svg?v=20260920" />
280
+ <source media="(prefers-color-scheme: light)" srcset="https://raw.githubusercontent.com/FeatherHunter/dsh-mattpocock-skills-deck/main/docs/star-history-light.svg?v=20260920" />
281
+ <img alt="Star History Chart" src="https://raw.githubusercontent.com/FeatherHunter/dsh-mattpocock-skills-deck/main/docs/star-history-light.svg?v=20260920" />
257
282
  </picture>
258
283
  </a>
259
284