@cccarv82/freya 1.0.23 → 1.0.24

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/cli/web-ui.js +8 -1
  2. package/package.json +1 -1
package/cli/web-ui.js CHANGED
@@ -107,7 +107,14 @@
107
107
  function setOut(text) {
108
108
  state.lastText = text || '';
109
109
  const el = $('reportPreview');
110
- if (el) el.innerHTML = renderMarkdown(state.lastText);
110
+ if (!el) return;
111
+ try {
112
+ el.innerHTML = renderMarkdown(state.lastText);
113
+ } catch (e) {
114
+ // Fallback: never hide the error/output if markdown rendering breaks
115
+ try { console.error('renderMarkdown failed:', e); } catch {}
116
+ el.textContent = state.lastText;
117
+ }
111
118
  }
112
119
 
113
120
  function clearOut() {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cccarv82/freya",
3
- "version": "1.0.23",
3
+ "version": "1.0.24",
4
4
  "description": "Personal AI Assistant with local-first persistence",
5
5
  "scripts": {
6
6
  "health": "node scripts/validate-data.js",