@mneme-ai/xray 2.161.0 โ†’ 2.162.0

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/public/index.html +11 -3
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mneme-ai/xray",
3
- "version": "2.161.0",
3
+ "version": "2.162.0",
4
4
  "description": "Mneme Repo X-Ray โ€” a signed, raw-free, deterministic X-Ray of any repo. Every number is reproducible from git/AST/metadata and sealed with an offline-verifiable NOTARY receipt. No source code ever leaves the machine; no LLM guesses anything.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
package/public/index.html CHANGED
@@ -125,6 +125,7 @@
125
125
  .bitem .arr{color:#c2c6cd}
126
126
  .bitem.muted{cursor:default;color:var(--sub)}.bitem.muted:hover{background:none}
127
127
  .lock{margin-right:4px}
128
+ .boardnote{font-size:12.5px;color:var(--sub);margin:0 0 14px;line-height:1.5}.boardnote b{color:var(--ink2);font-weight:600}
128
129
  .signincta{border:1px dashed var(--line);border-radius:var(--r);padding:28px;text-align:center;color:var(--sub);font-size:14px;line-height:1.7;background:var(--soft)}
129
130
  .signincta b{color:var(--ink)}
130
131
  .listfoot{display:flex;justify-content:space-between;align-items:center;padding:14px 4px 0;font-size:13px}
@@ -287,6 +288,7 @@
287
288
 
288
289
  <div class="board">
289
290
  <div class="tabs"><button id="tabBoard" class="tab on">Recently X-rayed</button><button id="tabMine" class="tab" style="display:none">My repos</button></div>
291
+ <p class="boardnote" id="boardnote">๐ŸŒ <b>Public</b> โ€” recent X-Rays of <b>public</b> repos, visible to everyone. Private repos never appear here.</p>
290
292
  <div id="board"></div>
291
293
  </div>
292
294
  </div>
@@ -408,8 +410,14 @@ async function openReport(fp, isPrivate){
408
410
  if(signed&&signed.report){ render(signed); window.scrollTo({top:0,behavior:"smooth"}); }
409
411
  }catch{}
410
412
  }
411
- document.getElementById("tabBoard").addEventListener("click",e=>{tab="board";setTab(e.target);loadList();});
412
- document.getElementById("tabMine").addEventListener("click",e=>{tab="mine";setTab(e.target);loadList();});
413
+ function updateBoardNote(){
414
+ const n=document.getElementById("boardnote"); if(!n) return;
415
+ n.innerHTML = tab==="mine"
416
+ ? "๐Ÿ”’ <b>Private to you</b> โ€” only someone with your key sees these. Includes your private/local repos."
417
+ : "๐ŸŒ <b>Public</b> โ€” recent X-Rays of <b>public</b> repos, visible to everyone. Private repos never appear here.";
418
+ }
419
+ document.getElementById("tabBoard").addEventListener("click",e=>{tab="board";setTab(e.target);updateBoardNote();loadList();});
420
+ document.getElementById("tabMine").addEventListener("click",e=>{tab="mine";setTab(e.target);updateBoardNote();loadList();});
413
421
  function setTab(t){document.querySelectorAll(".tab").forEach(x=>x.classList.remove("on"));t.classList.add("on");}
414
422
 
415
423
  document.getElementById("f").addEventListener("submit", async e=>{
@@ -524,7 +532,7 @@ document.getElementById("localpack").addEventListener("click", async ()=>{
524
532
  }catch(ex){ err.textContent="Could not reach the local agent. Run: npx @mneme-ai/xray bridge"; err.style.display="block"; }
525
533
  finally{ btn.disabled=false; btn.textContent="๐Ÿ“ฆ Pack"; }
526
534
  });
527
- document.getElementById("copyr").textContent = "ยฉ " + new Date().getFullYear() + " Mneme ยท MIT";
535
+ document.getElementById("copyr").textContent = "ยฉ " + new Date().getFullYear() + " Mneme";
528
536
  detectBridge();
529
537
  refreshKeyState();
530
538
  loadList();