@shgroup/dsh-serenity-hooks 1.18.7 → 1.18.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/dsh.plugin.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "id": "dsh-serenity-hooks",
3
- "version": "1.18.7",
3
+ "version": "1.18.8",
4
4
  "main": "lib/index.js",
5
5
  "description": "宁静号 ACC harness(Native Cordis 插件):真实 DSH 工具 cc_fs/session/acc_msm/eap/neat/cce/loop + 拦截缝机械约束(safe-mode/路径守卫/会话落盘)。适配 DSH 公开版(0.1.0-rc,deepseek-ai/deepseek-harness)。私有(dsh-external 组织)。",
6
6
  "engines": {
package/lib/index.js CHANGED
@@ -2627,8 +2627,8 @@ function runGit(root, args) {
2627
2627
  "origin",
2628
2628
  branch
2629
2629
  ]);
2630
- if (!stderr || stderr.includes("->") || stderr === "") return stdout || `Pushed to origin/${branch}`;
2631
2630
  if (stderr.includes("non-fast-forward") || stderr.includes("rejected") || stderr.includes("[rejected]")) return `[REJECTED] Push to origin/${branch} was rejected (non-fast-forward).\n\n远程有新的提交,本地落后。操作建议:\n 1. 先用 bash: git fetch origin ${branch}\n 2. 查看远程变更: git log HEAD..origin/${branch}\n 3. 合并或变基: git merge origin/${branch} 或 git rebase origin/${branch}\n 4. 有冲突则手动解决后: git add ... && git commit\n 5. 再次推送: cc_git push`;
2631
+ if (!stderr || stderr.includes("->") || stderr === "") return stdout || `Pushed to origin/${branch}`;
2632
2632
  throw new Error(`cc_git push failed:\n${stderr}`);
2633
2633
  }
2634
2634
  case "pull": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shgroup/dsh-serenity-hooks",
3
- "version": "1.18.7",
3
+ "version": "1.18.8",
4
4
  "description": "宁静号 ACC harness — Native Cordis 插件(DeepSeek Harness 运行时)。真实 DSH 工具注册(cc_fs/session/acc_msm 等 9 工具)+ 拦截缝机械约束(safe-mode/路径守卫/会话落盘)+ 系统提示词注入(ACC/CCE/Constraints/SKILL/Session 五块)。适配 DSH 公开版(deepseek-ai/deepseek-harness 0.1.0-rc)。",
5
5
  "license": "MIT",
6
6
  "repository": {