@chappibunny/repolens 1.9.10 โ†’ 1.9.12

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,18 @@
2
2
 
3
3
  All notable changes to RepoLens will be documented in this file.
4
4
 
5
+ ## 1.9.12
6
+
7
+ ### ๐Ÿ› Bug Fixes
8
+
9
+ - **PR comment failure no longer crashes publish**: 403 errors from `upsertPrComment` are now caught and logged as warnings instead of crashing the entire workflow
10
+
11
+ ## 1.9.11
12
+
13
+ ### ๐Ÿ› Bug Fixes
14
+
15
+ - **Fixed uninstall hang**: Refactored to use `promptYesNo` helper instead of raw readline (stdin was not properly closing)
16
+
5
17
  ## 1.9.10
6
18
 
7
19
  ### ๐Ÿ“น 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.12
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.12",
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
@@ -487,7 +487,12 @@ async function main() {
487
487
  await publishDocs(cfg, renderedPages, scan, pluginManager);
488
488
  stopTimer(publishTimer);
489
489
 
490
- await upsertPrComment(diffData);
490
+ // PR comment is best-effort - don't fail the whole run if it errors
491
+ try {
492
+ await upsertPrComment(diffData);
493
+ } catch (prCommentErr) {
494
+ warn(`PR comment failed (non-blocking): ${prCommentErr.message}`);
495
+ }
491
496
  info("โœ“ Documentation published successfully");
492
497
 
493
498
  const totalDuration = stopTimer(commandTimer);
@@ -672,13 +677,9 @@ async function main() {
672
677
  if (isCI || isTest) {
673
678
  info("\nCI/test environment detected โ€” skipping confirmation (use --force to suppress this message).");
674
679
  } 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();
680
+ const confirmed = await promptYesNo(`\nRemove ${found.length} item${found.length === 1 ? "" : "s"}? This cannot be undone.`, false);
680
681
 
681
- if (!answer || answer.trim().toLowerCase() !== "y") {
682
+ if (!confirmed) {
682
683
  info("Uninstall cancelled.");
683
684
  await closeTelemetry();
684
685
  return;