@cccarv82/freya 2.1.0 → 2.1.2

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/cli/web-ui.js CHANGED
@@ -881,7 +881,8 @@
881
881
  async function doInit() {
882
882
  try {
883
883
  saveLocal();
884
- $('sidePath').textContent = dirOrDefault();
884
+ const sp = $('sidePath');
885
+ if (sp) sp.textContent = dirOrDefault();
885
886
  setPill('run', 'init…');
886
887
  setOut('');
887
888
  const r = await api('/api/init', { dir: dirOrDefault() });
@@ -977,6 +978,9 @@
977
978
  setOut(r.output);
978
979
  setLast(null);
979
980
  setPill('ok', 'health ok');
981
+ if (isHealthPage) {
982
+ refreshHealthChecklist();
983
+ }
980
984
  } catch (e) {
981
985
  setPill('err', 'health failed');
982
986
  setOut(String(e && e.message ? e.message : e));
@@ -1010,6 +1014,9 @@
1010
1014
  setLast(r.reportPath || null);
1011
1015
  if (r.reportText) state.lastText = r.reportText;
1012
1016
  await refreshReports({ selectLatest: true });
1017
+ if (isHealthPage) {
1018
+ refreshHealthChecklist();
1019
+ }
1013
1020
  setPill('ok', name + ' ok');
1014
1021
  } catch (e) {
1015
1022
  setPill('err', name + ' failed');
package/cli/web.js CHANGED
@@ -1275,6 +1275,13 @@ function buildHealthHtml(safeDefault, appVersion) {
1275
1275
  </section>
1276
1276
 
1277
1277
  <section class="reportsGrid" id="healthChecklist"></section>
1278
+
1279
+ <section class="panel" style="margin-top:16px">
1280
+ <div class="panelHead"><b>Saida</b></div>
1281
+ <div class="panelBody">
1282
+ <div id="reportPreview" class="log md" style="font-family: var(--sans);"></div>
1283
+ </div>
1284
+ </section>
1278
1285
  </div>
1279
1286
  </main>
1280
1287
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cccarv82/freya",
3
- "version": "2.1.0",
3
+ "version": "2.1.2",
4
4
  "description": "Personal AI Assistant with local-first persistence",
5
5
  "scripts": {
6
6
  "health": "node scripts/validate-data.js",