@lmzhen/dsh-evolution-merge 0.0.0-stage → 0.28.0

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 (55) hide show
  1. package/README.md +25 -2
  2. package/lib/index.js +3997 -0
  3. package/lib/types/adapters/channel.d.ts +42 -0
  4. package/lib/types/adapters/library.d.ts +8 -0
  5. package/lib/types/adapters/model.d.ts +31 -0
  6. package/lib/types/adapters/undo.d.ts +9 -0
  7. package/lib/types/approve-command.d.ts +22 -0
  8. package/lib/types/authoring-flow.d.ts +35 -0
  9. package/lib/types/channel-port.d.ts +60 -0
  10. package/lib/types/commands.d.ts +55 -0
  11. package/lib/types/commit-assembly.d.ts +25 -0
  12. package/lib/types/commit-execute.d.ts +29 -0
  13. package/lib/types/commit-plan.d.ts +45 -0
  14. package/lib/types/commit-receipt.d.ts +14 -0
  15. package/lib/types/contracts.d.ts +136 -0
  16. package/lib/types/coordinator.d.ts +57 -0
  17. package/lib/types/decision.d.ts +18 -0
  18. package/lib/types/doctor.d.ts +10 -0
  19. package/lib/types/gate-cache.d.ts +12 -0
  20. package/lib/types/gate-filter.d.ts +31 -0
  21. package/lib/types/index.d.ts +82 -0
  22. package/lib/types/ladder.d.ts +65 -0
  23. package/lib/types/merge-command.d.ts +36 -0
  24. package/lib/types/merge-routes.d.ts +23 -0
  25. package/lib/types/merge-tool.d.ts +22 -0
  26. package/lib/types/new-child-authoring.d.ts +29 -0
  27. package/lib/types/pair-command.d.ts +20 -0
  28. package/lib/types/params.d.ts +13 -0
  29. package/lib/types/pending-actions.d.ts +17 -0
  30. package/lib/types/prompts.d.ts +13 -0
  31. package/lib/types/propose.d.ts +26 -0
  32. package/lib/types/read-commands.d.ts +9 -0
  33. package/lib/types/report.d.ts +10 -0
  34. package/lib/types/resume-command.d.ts +24 -0
  35. package/lib/types/round2-outcome.d.ts +13 -0
  36. package/lib/types/routes.d.ts +49 -0
  37. package/lib/types/rules.d.ts +24 -0
  38. package/lib/types/run-shell.d.ts +65 -0
  39. package/lib/types/runtime.d.ts +38 -0
  40. package/lib/types/scan-command.d.ts +21 -0
  41. package/lib/types/scan-ports.d.ts +32 -0
  42. package/lib/types/scan-run.d.ts +44 -0
  43. package/lib/types/screening-port.d.ts +47 -0
  44. package/lib/types/screening.d.ts +30 -0
  45. package/lib/types/skipped.d.ts +8 -0
  46. package/lib/types/stage-tool-registry.d.ts +14 -0
  47. package/lib/types/stage-tool.d.ts +45 -0
  48. package/lib/types/staged-tree.d.ts +4 -0
  49. package/lib/types/staging-files.d.ts +15 -0
  50. package/lib/types/staging.d.ts +43 -0
  51. package/lib/types/state.d.ts +29 -0
  52. package/lib/types/status.d.ts +14 -0
  53. package/lib/types/supersede.d.ts +8 -0
  54. package/lib/types/undo-merge.d.ts +13 -0
  55. package/package.json +40 -4
package/README.md CHANGED
@@ -1,3 +1,26 @@
1
- # Temporary Holding Version
1
+ # @lmzhen/dsh-evolution-merge
2
2
 
3
- This version is a temporary placeholder for this package. An operational version to replace this has been submitted for review and is awaiting a staged release.
3
+ 技能自动合并的 host 面:候选筛选、两轮子代理、审批队列、staging/commit receipt 与 undo。
4
+
5
+ ## 用法
6
+
7
+ - `/merge scan`:词面候选 + 可用的 C3/L0–L2 闸门,逐对判定。
8
+ - `/merge status|pending|skipped|report|runs|cancel`:只读或取消。
9
+ - `/merge approve|reject|resume`:待批准/重跑。
10
+ - `/merge undo <target> --run <id>`:按 commit receipt 走跨技能单元回退。
11
+
12
+ ## 参数
13
+
14
+ | 参数 | 档 | 默认 | 说明 |
15
+ |---|---|---|---|
16
+ | `mergeApproval` | E3 | `false` | 第一轮后停到待批准清单 |
17
+ | `mergeSkippedTtlDays` | E3 | `0` | 无需合并保留天数,0 永不过期 |
18
+ | `mergeRunTimeoutMinutes` | E3 | `0` | 单次运行上限,0 无上限 |
19
+ | `mergePairTimeoutMinutes` | E2 | `15` | 单对轮次超时 |
20
+
21
+ ## 已知限制
22
+
23
+ - 模型不可用或默认模型未挂载时,screening 回退为词面候选;C3/L0–L2 不运行。
24
+ - `merge_stage` 只对当前绑定的 child 开放;未绑定 child 返回 `not-merge-child`。
25
+ - undo 的 blob 预检首次会索引版本正文,库很大时是一次性成本。
26
+ - tree restore 后的 supersede 覆盖本进程及共享 runs.json 中的 merge run;跨 profile home 不共享。