Commit Graph

2 Commits

Author SHA1 Message Date
d18db479b7 feat: 0.5.1 - two escape hatches and self-repair
The goal is users who dare to install it. Three additions:

1. doctor.ps1 -Fix
   Runs the 12 checks, then repairs what is safe to repair: re-copy the runtime
   copy, add exports["./client"], add the dependencies entry, sync missing
   skills. It deliberately does NOT touch the profile's own cordis.patch.yml
   (that could break other plugins) - it only prints a hint.

2. install.ps1 -Rollback
   Restores package.json from the newest package.json.bak-* and removes the
   plugin directories. One command back to the pre-install state.

3. Friendly install ending
   Prints the three next steps (quit/reopen, doctor, moyun_ultimate_profile)
   plus the two escape commands, instead of a single terse line.

doctor also detects and reports whether the install is in FULL or COMPLEMENT
mode by reading the bundle patch, so complement mode is no longer misreported.
2026-11-17 14:58:14 +08:00
07fabc9fe6 feat: 0.2.1 - add doctor.ps1 and TROUBLESHOOTING.md, document effect boundaries
Answers the issues raised in the comments:

1. "keeps triggering safety refusal" -> README now separates three layers:
   host permission (this package fixes it), model willingness (prompt layer),
   provider-side moderation (nothing can fix it). TROUBLESHOOTING gives a
   decision tree with commands.
2. "how do I verify it worked" -> doctor.ps1 checks 11 items and prints
   [OK]/[WARN]/[FAIL]. Verified locally: OK=11 WARN=2 FAIL=0.
3. "does it conflict with purge" -> documented: both target the same config
   ids, last-applied wins. doctor warns when a user-layer override or a
   conflicting plugin is detected.
4. "incomplete / missing stuff" -> documented that the 63 skills need their
   external binaries (nuclei/fscan/IDA/jadx...), which the package does not ship.
5. "stronger armor makes the model dumber" -> confirmed in README as a real
   trade-off with per-layer guidance on what to turn off.
2026-11-17 14:20:47 +08:00