@lmzhen/dsh-evolution-merge 0.0.0 → 0.29.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 (53) hide show
  1. package/README.md +27 -1
  2. package/lib/index.js +3814 -0
  3. package/lib/types/adapters/channel.d.ts +42 -0
  4. package/lib/types/adapters/engine-screen.d.ts +55 -0
  5. package/lib/types/adapters/library.d.ts +8 -0
  6. package/lib/types/adapters/model-runner.d.ts +28 -0
  7. package/lib/types/adapters/undo.d.ts +9 -0
  8. package/lib/types/approve-command.d.ts +22 -0
  9. package/lib/types/authoring-flow.d.ts +40 -0
  10. package/lib/types/channel-port.d.ts +61 -0
  11. package/lib/types/commands.d.ts +55 -0
  12. package/lib/types/commit-assembly.d.ts +27 -0
  13. package/lib/types/commit-execute.d.ts +29 -0
  14. package/lib/types/commit-plan.d.ts +45 -0
  15. package/lib/types/commit-receipt.d.ts +17 -0
  16. package/lib/types/contracts.d.ts +141 -0
  17. package/lib/types/coordinator.d.ts +65 -0
  18. package/lib/types/decision.d.ts +18 -0
  19. package/lib/types/doctor.d.ts +10 -0
  20. package/lib/types/gate-cache.d.ts +12 -0
  21. package/lib/types/index.d.ts +81 -0
  22. package/lib/types/ladder.d.ts +65 -0
  23. package/lib/types/merge-command.d.ts +39 -0
  24. package/lib/types/merge-routes.d.ts +24 -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 +14 -0
  29. package/lib/types/pending-actions.d.ts +17 -0
  30. package/lib/types/prompts.d.ts +15 -0
  31. package/lib/types/read-commands.d.ts +9 -0
  32. package/lib/types/report.d.ts +10 -0
  33. package/lib/types/resume-command.d.ts +24 -0
  34. package/lib/types/round2-outcome.d.ts +13 -0
  35. package/lib/types/routes.d.ts +64 -0
  36. package/lib/types/rules.d.ts +24 -0
  37. package/lib/types/run-shell.d.ts +65 -0
  38. package/lib/types/runtime.d.ts +37 -0
  39. package/lib/types/scan-command.d.ts +21 -0
  40. package/lib/types/scan-ports.d.ts +32 -0
  41. package/lib/types/scan-run.d.ts +46 -0
  42. package/lib/types/skill-card.d.ts +12 -0
  43. package/lib/types/skipped.d.ts +8 -0
  44. package/lib/types/stage-tool-registry.d.ts +14 -0
  45. package/lib/types/stage-tool.d.ts +45 -0
  46. package/lib/types/staged-tree.d.ts +4 -0
  47. package/lib/types/staging-files.d.ts +15 -0
  48. package/lib/types/staging.d.ts +49 -0
  49. package/lib/types/state.d.ts +29 -0
  50. package/lib/types/status.d.ts +14 -0
  51. package/lib/types/supersede.d.ts +8 -0
  52. package/lib/types/undo-merge.d.ts +13 -0
  53. package/package.json +31 -3
package/README.md CHANGED
@@ -1,3 +1,29 @@
1
1
  # @lmzhen/dsh-evolution-merge
2
2
 
3
- Placeholder package. The real release is published from the family CI workflow.
3
+ Skill auto-merge host surface: candidate screening through the vendored pipeline,
4
+ two-round child authoring, per-pair staging, pending approval, commit receipts and
5
+ unit undo.
6
+
7
+ ## Surface
8
+
9
+ - `/evolution merge <subcommand>` — canonical command.
10
+ - `/merge <subcommand>` — 0.29 compatibility alias; removed in 0.30.
11
+ - Four read-only routes under `/api/dsh-evolution/merge/*`.
12
+
13
+ ```text
14
+ /evolution merge scan | pair <a> <b> | status [id] | pending | report [id] |
15
+ approve <id> | reject <id> | resume [id] [--clear <id>] |
16
+ skipped [--restore <id>] | doctor | runs | cancel [id] | undo <target> --run <id>
17
+ ```
18
+
19
+ ## Models
20
+
21
+ The engine needs local `potion-multilingual-128M-int8` and
22
+ `potion-multilingual-128M-pca64-int8` directories under `mergeModelsRoot`
23
+ (falling back to `SKILL_MERGE_MODELS_ROOT`). No auto provisioning; missing
24
+ models fail loud and `/evolution doctor` warns.
25
+
26
+ ## Read-only panel
27
+
28
+ The browser panel is `@lmzhen/dsh-evolution-merge-ui`, mounted by the
29
+ `all` bundle only. The host row is mounted by `all`, `host` and `preset`.