@chappibunny/repolens 1.9.10 โ†’ 1.9.11

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/CHANGELOG.md CHANGED
@@ -2,6 +2,12 @@
2
2
 
3
3
  All notable changes to RepoLens will be documented in this file.
4
4
 
5
+ ## 1.9.11
6
+
7
+ ### ๐Ÿ› Bug Fixes
8
+
9
+ - **Fixed uninstall hang**: Refactored to use `promptYesNo` helper instead of raw readline (stdin was not properly closing)
10
+
5
11
  ## 1.9.10
6
12
 
7
13
  ### ๐Ÿ“น Documentation
package/README.md CHANGED
@@ -17,7 +17,7 @@
17
17
 
18
18
  RepoLens scans your repository, generates living architecture documentation, and publishes it to Notion, Confluence, GitHub Wiki, or Markdown โ€” automatically on every push. Engineers get technical docs. Stakeholders get readable system overviews. Nobody writes a word.
19
19
 
20
- > Stable as of v1.0 โ€” [API guarantees](docs/STABILITY.md) ยท [Security hardened](SECURITY.md) ยท v1.9.10
20
+ > Stable as of v1.0 โ€” [API guarantees](docs/STABILITY.md) ยท [Security hardened](SECURITY.md) ยท v1.9.11
21
21
 
22
22
  ---
23
23
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chappibunny/repolens",
3
- "version": "1.9.10",
3
+ "version": "1.9.11",
4
4
  "description": "AI-assisted documentation intelligence system for technical and non-technical audiences",
5
5
  "license": "MIT",
6
6
  "type": "module",
package/src/cli.js CHANGED
@@ -672,13 +672,9 @@ async function main() {
672
672
  if (isCI || isTest) {
673
673
  info("\nCI/test environment detected โ€” skipping confirmation (use --force to suppress this message).");
674
674
  } else {
675
- const rl = createInterface({ input: process.stdin, output: process.stdout });
676
- const answer = await new Promise((resolve) => {
677
- rl.question(`\nRemove ${found.length} item${found.length === 1 ? "" : "s"}? This cannot be undone. (y/N): `, resolve);
678
- });
679
- rl.close();
675
+ const confirmed = await promptYesNo(`\nRemove ${found.length} item${found.length === 1 ? "" : "s"}? This cannot be undone.`, false);
680
676
 
681
- if (!answer || answer.trim().toLowerCase() !== "y") {
677
+ if (!confirmed) {
682
678
  info("Uninstall cancelled.");
683
679
  await closeTelemetry();
684
680
  return;