@cccarv82/freya 1.0.61 → 1.0.63

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.css CHANGED
@@ -350,6 +350,7 @@ body {
350
350
  background: rgba(0,0,0,.18);
351
351
  min-height: 120px;
352
352
  outline: none;
353
+ white-space: pre-wrap;
353
354
  }
354
355
 
355
356
  .reportPreview strong { font-weight: 700; }
package/cli/web-ui.js CHANGED
@@ -555,7 +555,7 @@
555
555
  for (const item of list) {
556
556
  const card = document.createElement('div');
557
557
  const mode = state.reportModes[item.relPath] || 'preview';
558
- const expanded = state.reportExpanded && state.reportExpanded[item.relPath];
558
+ const expanded = (state.reportExpanded && state.reportExpanded[item.relPath]) || mode === 'raw';
559
559
  card.className = 'reportCard' + (mode === 'raw' ? ' raw' : '') + (expanded ? ' expanded' : '');
560
560
 
561
561
  const meta = fmtWhen(item.mtimeMs);
@@ -601,7 +601,7 @@
601
601
  });
602
602
  preview.addEventListener('blur', () => {
603
603
  preview.dataset.editing = '';
604
- const val = preview.textContent || '';
604
+ const val = preview.innerText || '';
605
605
  state.reportTexts[item.relPath] = val;
606
606
  if (raw) {
607
607
  raw.value = val;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cccarv82/freya",
3
- "version": "1.0.61",
3
+ "version": "1.0.63",
4
4
  "description": "Personal AI Assistant with local-first persistence",
5
5
  "scripts": {
6
6
  "health": "node scripts/validate-data.js",