vibe-splain 1.0.4 → 1.0.5

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/dist/index.js CHANGED
@@ -382,8 +382,7 @@ async function regenerateUI(projectRoot, dossier) {
382
382
  cpSync(templateDir, uiDir, { recursive: true });
383
383
  let html = await readFile4(join4(templateDir, "index.html"), "utf8");
384
384
  const injection = `<script>window.__VIBE_DOSSIER__ = ${JSON.stringify(dossier)};</script>`;
385
- html = html.replace("</head>", `${injection}
386
- </head>`);
385
+ html = html.replace("<!-- VIBE_DOSSIER_INJECTION_POINT -->", injection);
387
386
  await writeFile3(join4(uiDir, "index.html"), html, "utf8");
388
387
  console.error("[vibe-splain] UI regenerated at", join4(uiDir, "index.html"));
389
388
  }
@@ -8,6 +8,7 @@
8
8
  <link rel="preconnect" href="https://fonts.googleapis.com" />
9
9
  <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
10
10
  <link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=JetBrains+Mono:wght@400;500&display=swap" rel="stylesheet" />
11
+ <!-- VIBE_DOSSIER_INJECTION_POINT -->
11
12
  <script type="module" crossorigin>var gSe=Object.defineProperty;var JU=t=>{throw TypeError(t)};var hSe=(t,e,n)=>e in t?gSe(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n;var Ze=(t,e,n)=>hSe(t,typeof e!="symbol"?e+"":e,n),XU=(t,e,n)=>e.has(t)||JU("Cannot "+n);var A3=(t,e,n)=>(XU(t,e,"read from private field"),n?n.call(t):e.get(t)),eH=(t,e,n)=>e.has(t)?JU("Cannot add the same private member more than once"):e instanceof WeakSet?e.add(t):e.set(t,n),jE=(t,e,n,a)=>(XU(t,e,"write to private field"),a?a.call(t,n):e.set(t,n),n);(function(){const e=document.createElement("link").relList;if(e&&e.supports&&e.supports("modulepreload"))return;for(const r of document.querySelectorAll('link[rel="modulepreload"]'))a(r);new MutationObserver(r=>{for(const i of r)if(i.type==="childList")for(const o of i.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&a(o)}).observe(document,{childList:!0,subtree:!0});function n(r){const i={};return r.integrity&&(i.integrity=r.integrity),r.referrerPolicy&&(i.referrerPolicy=r.referrerPolicy),r.crossOrigin==="use-credentials"?i.credentials="include":r.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function a(r){if(r.ep)return;r.ep=!0;const i=n(r);fetch(r.href,i)}})();var nl=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function dA(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var eae={exports:{}},OS={},tae={exports:{}},Rn={};/**
12
13
  * @license React
13
14
  * react.production.min.js
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vibe-splain",
3
- "version": "1.0.4",
3
+ "version": "1.0.5",
4
4
  "description": "Architectural dossier engine for vibe-coded projects. Runs as an MCP server inside your coding agent.",
5
5
  "type": "module",
6
6
  "license": "MIT",