@chappibunny/repolens 1.9.6 โ†’ 1.9.9

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,25 @@
2
2
 
3
3
  All notable changes to RepoLens will be documented in this file.
4
4
 
5
+ ## 1.9.9
6
+
7
+ ### ๐Ÿ› Bug Fixes
8
+
9
+ - **Fixed cache age calculation**: Use `Math.max(0, ...)` to prevent negative age due to filesystem timestamp precision
10
+
11
+ ## 1.9.8
12
+
13
+ ### ๐Ÿ“ธ Documentation
14
+
15
+ - **Added publisher screenshots**: README now shows Notion and Confluence output examples in 2-column layout
16
+ - **Organized assets**: Moved screenshots to `assets/` folder with consistent naming
17
+
18
+ ## 1.9.7
19
+
20
+ ### ๐Ÿ“น Documentation
21
+
22
+ - **Fixed demo video embed**: Use Loom thumbnail with link (iframes don't render in GitHub markdown)
23
+
5
24
  ## 1.9.6
6
25
 
7
26
  ### ๐Ÿ“น 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.6
20
+ > Stable as of v1.0 โ€” [API guarantees](docs/STABILITY.md) ยท [Security hardened](SECURITY.md) ยท v1.9.9
21
21
 
22
22
  ---
23
23
 
@@ -25,10 +25,21 @@ RepoLens scans your repository, generates living architecture documentation, and
25
25
 
26
26
  > **Try it now** โ€” no installation required. Run `npx @chappibunny/repolens demo` on any repo for an instant local preview.
27
27
 
28
- <div style="position: relative; padding-bottom: 40.955631399317404%; height: 0;"><iframe src="https://www.loom.com/embed/8e077624e69f41319fd93acbbe03871e" frameborder="0" webkitallowfullscreen mozallowfullscreen allowfullscreen style="position: absolute; top: 0; left: 0; width: 100%; height: 100%;"></iframe></div>
28
+ [![RepoLens Demo](https://cdn.loom.com/sessions/thumbnails/8e077624e69f41319fd93acbbe03871e-with-play.gif)](https://www.loom.com/share/8e077624e69f41319fd93acbbe03871e)
29
29
 
30
30
  โ–ถ๏ธ *Click to watch demo*
31
31
 
32
+ <table>
33
+ <tr>
34
+ <td width="50%"><img src="assets/notion-screenshot.png" alt="Notion output" /></td>
35
+ <td width="50%"><img src="assets/confluence-screenshot.png" alt="Confluence output" /></td>
36
+ </tr>
37
+ <tr>
38
+ <td align="center"><em>Notion</em></td>
39
+ <td align="center"><em>Confluence</em></td>
40
+ </tr>
41
+ </table>
42
+
32
43
  <details>
33
44
  <summary>๐Ÿ” <strong>Supported Languages</strong> (16 auto-detected)</summary>
34
45
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chappibunny/repolens",
3
- "version": "1.9.6",
3
+ "version": "1.9.9",
4
4
  "description": "AI-assisted documentation intelligence system for technical and non-technical audiences",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -28,7 +28,8 @@ export async function loadDocCache(cacheDir) {
28
28
  fs.readFile(cachePath, "utf8"),
29
29
  fs.stat(cachePath),
30
30
  ]);
31
- const age = Date.now() - stat.mtimeMs;
31
+ // Math.max ensures age is never negative due to timing precision
32
+ const age = Math.max(0, Date.now() - stat.mtimeMs);
32
33
  return { cache: JSON.parse(raw), age };
33
34
  } catch {
34
35
  return { cache: {}, age: null };