mirror of
https://github.com/backnotprop/plannotator.git
synced 2026-09-14 14:17:26 +08:00
6754dea8df
Two v0.19.28 release-gate follow-ups. 1. install.ps1 prompt timeout: PowerShell prompts had no timeout (only the IsInputRedirected gate), so an attached-but-unattended Windows console (PsExec/provisioner first-run or -Reconfigure) could hang. Added Read-LineWithTimeout (standard KeyAvailable polling) -> same bounded read + safe-"no" fallback install.sh already had; default 30s, PLANNOTATOR_PROMPT_TIMEOUT=0 waits forever. Real humans answer in time; -NonInteractive / redirected runs never prompt; the checkbox picker is only reachable after a bounded "yes", so it can't hang unattended. 2. Sweep stale OpenCode archive stub: the /plannotator-archive removal (#873) cleaned the skill scopes but not the OpenCode commands dir, leaving an npm-postinstall upgrader with a dead plannotator-archive.md (empty no-op). Swept in all three installers' cleanup. install.test.ts: assert the OpenCode stub cleanup (sh/ps1/cmd) and the ps1 prompt timeout. 72 pass.