@phren/cli 0.1.35 → 0.1.37

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/ui/data.d.ts CHANGED
@@ -24,6 +24,11 @@ interface GraphNode {
24
24
  scoreKeys?: string[];
25
25
  topicSlug?: string;
26
26
  topicLabel?: string;
27
+ /** Findings only: the `## YYYY-MM-DD` heading the entry sits under. */
28
+ date?: string;
29
+ /** Project nodes only: real per-project totals for tooltips/labels. */
30
+ findingCount?: number;
31
+ taskCount?: number;
27
32
  }
28
33
  interface GraphDocRef {
29
34
  doc: string;
package/dist/ui/data.js CHANGED
@@ -185,6 +185,19 @@ export async function buildGraph(phrenPath, profile, focusProject, existingDb) {
185
185
  const topicMetaMap = new Map();
186
186
  // Track which project nodes have already been pushed (same name may appear in multiple stores)
187
187
  const addedProjectNodeIds = new Set();
188
+ // Project nodes by name so per-project finding/task totals can be stamped after the scans
189
+ const projectNodeByName = new Map();
190
+ // Finding ids are content hashes, so duplicate-text bullets collide — every
191
+ // id-keyed map downstream (renderer, selection, removal) then conflates the
192
+ // twins. Salt repeat occurrences deterministically (file order); the FIRST
193
+ // occurrence keeps the canonical id so findingNodeIdForLine / lookup-event
194
+ // targeting stays in lockstep.
195
+ const usedFindingIds = new Map();
196
+ const uniqueFindingId = (id) => {
197
+ const seen = usedFindingIds.get(id) || 0;
198
+ usedFindingIds.set(id, seen + 1);
199
+ return seen === 0 ? id : `${id}-${seen + 1}`;
200
+ };
188
201
  for (const { storePath, project } of storeProjects) {
189
202
  // Load dynamic topics for this project
190
203
  const { topics: projectTopics } = readProjectTopics(storePath, project);
@@ -198,7 +211,7 @@ export async function buildGraph(phrenPath, profile, focusProject, existingDb) {
198
211
  if (!fs.existsSync(findingsPath)) {
199
212
  if (!addedProjectNodeIds.has(project)) {
200
213
  addedProjectNodeIds.add(project);
201
- nodes.push({
214
+ const projectNode = {
202
215
  id: project,
203
216
  label: project,
204
217
  fullLabel: project,
@@ -207,13 +220,17 @@ export async function buildGraph(phrenPath, profile, focusProject, existingDb) {
207
220
  project,
208
221
  store: storeName,
209
222
  tagged: false,
210
- });
223
+ findingCount: 0,
224
+ taskCount: 0,
225
+ };
226
+ nodes.push(projectNode);
227
+ projectNodeByName.set(project, projectNode);
211
228
  }
212
229
  continue;
213
230
  }
214
231
  if (!addedProjectNodeIds.has(project)) {
215
232
  addedProjectNodeIds.add(project);
216
- nodes.push({
233
+ const projectNode = {
217
234
  id: project,
218
235
  label: project,
219
236
  fullLabel: project,
@@ -222,7 +239,11 @@ export async function buildGraph(phrenPath, profile, focusProject, existingDb) {
222
239
  project,
223
240
  store: storeName,
224
241
  tagged: false,
225
- });
242
+ findingCount: 0,
243
+ taskCount: 0,
244
+ };
245
+ nodes.push(projectNode);
246
+ projectNodeByName.set(project, projectNode);
226
247
  }
227
248
  const content = fs.readFileSync(findingsPath, "utf8");
228
249
  const lines = content.split("\n");
@@ -235,8 +256,15 @@ export async function buildGraph(phrenPath, profile, focusProject, existingDb) {
235
256
  // Support heading-based findings: ## topic / ### title / paragraph
236
257
  let currentHeadingTag;
237
258
  let _currentHeadingTitle;
259
+ // FINDINGS.md groups entries under `## YYYY-MM-DD` date headings
260
+ let currentDate;
238
261
  for (let lineIdx = 0; lineIdx < lines.length; lineIdx++) {
239
262
  const line = lines[lineIdx];
263
+ const dateMatch = line.match(/^##\s+(\d{4}-\d{2}-\d{2})\s*$/);
264
+ if (dateMatch) {
265
+ currentDate = dateMatch[1];
266
+ continue;
267
+ }
240
268
  // Track heading context for heading-based findings
241
269
  const h2Match = line.match(/^##\s+([a-z_-]+)\s*$/i);
242
270
  if (h2Match) {
@@ -264,7 +292,7 @@ export async function buildGraph(phrenPath, profile, focusProject, existingDb) {
264
292
  continue;
265
293
  const topic = classifyTopicForText(`[${currentHeadingTag}] ${text}`, projectTopics);
266
294
  const scoreKey = entryScoreKey(project, FINDINGS_FILENAME, `[${currentHeadingTag}] ${text}`);
267
- const nodeId = findingStableId(scoreKey);
295
+ const nodeId = uniqueFindingId(findingStableId(scoreKey));
268
296
  taggedCount++;
269
297
  nodes.push({
270
298
  id: nodeId,
@@ -280,6 +308,7 @@ export async function buildGraph(phrenPath, profile, focusProject, existingDb) {
280
308
  refDocs: [{ doc: `${project}/FINDINGS.md`, project, scoreKey }],
281
309
  topicSlug: topic.slug,
282
310
  topicLabel: topic.label,
311
+ date: currentDate,
283
312
  });
284
313
  links.push({ source: project, target: nodeId });
285
314
  for (const other of exactProjectMentions(text, projectSet, project)) {
@@ -299,7 +328,7 @@ export async function buildGraph(phrenPath, profile, focusProject, existingDb) {
299
328
  // Classify the finding using the project's topic system
300
329
  const topic = classifyTopicForText(`[${tag}] ${text}`, projectTopics);
301
330
  const scoreKey = entryScoreKey(project, FINDINGS_FILENAME, `[${tag}] ${text}`);
302
- const nodeId = findingStableId(scoreKey);
331
+ const nodeId = uniqueFindingId(findingStableId(scoreKey));
303
332
  taggedCount++;
304
333
  nodes.push({
305
334
  id: nodeId,
@@ -315,6 +344,7 @@ export async function buildGraph(phrenPath, profile, focusProject, existingDb) {
315
344
  refDocs: [{ doc: `${project}/FINDINGS.md`, project, scoreKey }],
316
345
  topicSlug: topic.slug,
317
346
  topicLabel: topic.label,
347
+ date: currentDate,
318
348
  });
319
349
  links.push({ source: project, target: nodeId });
320
350
  for (const other of exactProjectMentions(text, projectSet, project)) {
@@ -334,7 +364,7 @@ export async function buildGraph(phrenPath, profile, focusProject, existingDb) {
334
364
  // Classify using dynamic topics
335
365
  const topic = classifyTopicForText(text, projectTopics);
336
366
  const scoreKey = entryScoreKey(project, FINDINGS_FILENAME, text);
337
- const nodeId = findingStableId(scoreKey);
367
+ const nodeId = uniqueFindingId(findingStableId(scoreKey));
338
368
  untaggedAdded++;
339
369
  nodes.push({
340
370
  id: nodeId,
@@ -350,9 +380,14 @@ export async function buildGraph(phrenPath, profile, focusProject, existingDb) {
350
380
  refDocs: [{ doc: `${project}/FINDINGS.md`, project, scoreKey }],
351
381
  topicSlug: topic.slug,
352
382
  topicLabel: topic.label,
383
+ date: currentDate,
353
384
  });
354
385
  links.push({ source: project, target: nodeId });
355
386
  }
387
+ const projectNode = projectNodeByName.get(project);
388
+ if (projectNode) {
389
+ projectNode.findingCount = (projectNode.findingCount || 0) + taggedCount + untaggedAdded;
390
+ }
356
391
  }
357
392
  // ── Tasks ──────────────────────────────────────────────────────────
358
393
  try {
@@ -391,6 +426,10 @@ export async function buildGraph(phrenPath, profile, focusProject, existingDb) {
391
426
  taskCount++;
392
427
  }
393
428
  }
429
+ const projectNode = projectNodeByName.get(project);
430
+ if (projectNode) {
431
+ projectNode.taskCount = (projectNode.taskCount || 0) + taskCount;
432
+ }
394
433
  }
395
434
  }
396
435
  catch {
@@ -0,0 +1 @@
1
+ export declare const GRAPH_HUD_STYLES = "\n/* \u2500\u2500 Full-bleed graph tab \u2014 total dark immersion (header included) \u2500\u2500 */\nbody:has(#tab-graph.active) { background: #04050b; }\nbody:has(#tab-graph.active) .main { max-width: none; padding: 0; }\nbody:has(#tab-graph.active) .header {\n background: rgba(5, 6, 13, 0.92);\n border-bottom: 1px solid rgba(103, 232, 249, 0.12);\n backdrop-filter: blur(10px);\n -webkit-backdrop-filter: blur(10px);\n}\nbody:has(#tab-graph.active) .header .nav-item { color: #7f8db8; }\nbody:has(#tab-graph.active) .header .nav-item.active { color: #67e8f9; }\nbody:has(#tab-graph.active) .header .brand-name,\nbody:has(#tab-graph.active) .header-brand { color: #dbe6ff; }\n#tab-graph .graph-container {\n background: #04050b;\n border: none;\n border-radius: 0;\n position: relative;\n overflow: hidden;\n}\n#tab-graph #graph-canvas {\n height: calc(100vh - 64px);\n min-height: 520px;\n}\n\n/* \u2500\u2500 Overlay chrome \u2014 compact HUD clustered top-right (GraphRAG) \u2500\u2500\u2500\u2500 */\n#tab-graph .graph-filters {\n background: transparent;\n border: none;\n box-shadow: none;\n padding: 0;\n left: auto;\n right: 60px;\n width: min(560px, 60%);\n z-index: 10;\n}\n#tab-graph .graph-controls { z-index: 10; }\n#tab-graph .graph-controls button {\n width: 34px;\n height: 34px;\n border-radius: 8px;\n border: 1px solid rgba(103, 232, 249, 0.2);\n background: rgba(8, 10, 22, 0.85);\n color: #9fb2e8;\n font: 700 13px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;\n cursor: pointer;\n transition: border-color 0.15s ease, color 0.15s ease;\n}\n#tab-graph .graph-controls button:hover {\n border-color: rgba(103, 232, 249, 0.55);\n color: #e6f6ff;\n}\n\n/* \u2500\u2500 Docked dossier \u2014 left side, compact (GraphRAG inspector) \u2500\u2500\u2500\u2500\u2500\u2500\u2500 */\n#graph-node-popover.phren-docked {\n left: 16px !important;\n right: auto !important;\n top: 68px !important;\n bottom: 16px;\n width: 340px;\n max-width: min(360px, calc(100% - 32px));\n pointer-events: none;\n z-index: 12;\n}\n/* Edge drag handle to widen/narrow the docked dossier (symmetric with the\n contents pane). The popover itself is pointer-transparent, so the handle\n re-enables pointer events for itself. */\n#graph-node-popover.phren-docked .phren-dossier-resize {\n position: absolute;\n right: -4px;\n top: 0;\n bottom: 0;\n width: 9px;\n cursor: ew-resize;\n z-index: 20;\n pointer-events: auto;\n touch-action: none;\n}\n#graph-node-popover.phren-docked .phren-dossier-resize::after {\n content: \"\";\n position: absolute;\n right: 3px;\n top: 50%;\n transform: translateY(-50%);\n width: 3px;\n height: 38px;\n border-radius: 999px;\n background: rgba(103, 232, 249, 0.28);\n opacity: 0;\n transition: opacity 0.15s ease;\n}\n#graph-node-popover.phren-docked .phren-dossier-resize:hover::after,\n#graph-node-popover.phren-docked .phren-dossier-resize.dragging::after {\n opacity: 1;\n}\n/* GraphRAG-style stats row + relationships in the inspector */\n.phren-dossier-stats {\n display: grid;\n grid-template-columns: repeat(3, 1fr);\n border: 1px solid rgba(103, 232, 249, 0.16);\n border-radius: 8px;\n overflow: hidden;\n margin: 12px 0 4px;\n}\n.phren-dossier-stats > div {\n padding: 8px 10px;\n border-right: 1px solid rgba(103, 232, 249, 0.12);\n}\n.phren-dossier-stats > div:last-child { border-right: 0; }\n.phren-dossier-stats .k {\n font: 700 8.5px/1.4 ui-monospace, Menlo, monospace;\n letter-spacing: 0.12em; color: #6b76a0; text-transform: uppercase;\n}\n.phren-dossier-stats .v {\n font: 700 14px/1.2 ui-monospace, Menlo, monospace; color: #67e8f9; margin-top: 3px;\n}\n.phren-rel-row {\n display: flex; align-items: baseline; justify-content: space-between; gap: 10px;\n padding: 7px 0; border-bottom: 1px solid rgba(120, 150, 220, 0.08); cursor: pointer;\n}\n.phren-rel-row:last-child { border-bottom: 0; }\n.phren-rel-row .n { font-size: 12px; color: #d6e2ff; overflow: hidden; text-overflow: ellipsis; }\n.phren-rel-row .n small { display: block; color: #6b76a0; font-size: 10px; margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }\n.phren-rel-row .w { font: 600 11px/1.4 ui-monospace, Menlo, monospace; color: #67e8f9; font-variant-numeric: tabular-nums; }\n.phren-rel-row:hover .n { color: #eaf2ff; }\n#graph-node-popover.phren-docked #graph-node-popover-card {\n --surface: #0a0d1e;\n --surface-raised: rgba(22, 27, 52, 0.9);\n --surface-sunken: rgba(5, 6, 15, 0.92);\n --ink: #dbe4ff;\n --muted: #8b96c9;\n --border: rgba(103, 232, 249, 0.2);\n --accent: #67e8f9;\n --accent-dim: rgba(103, 232, 249, 0.12);\n height: 100%;\n overflow: auto;\n pointer-events: auto;\n background: rgba(8, 10, 22, 0.92);\n border: 1px solid rgba(103, 232, 249, 0.22);\n box-shadow: 0 16px 60px rgba(0, 0, 0, 0.6), 0 0 30px rgba(103, 232, 249, 0.05);\n border-radius: 12px;\n color: #dbe4ff;\n backdrop-filter: blur(14px);\n -webkit-backdrop-filter: blur(14px);\n}\n#graph-node-popover.phren-docked .phren-dossier-kind {\n font: 700 10px/1.4 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;\n color: #67e8f9;\n letter-spacing: 0.16em;\n text-transform: uppercase;\n}\n#graph-node-popover.phren-docked #graph-node-popover-card { padding: 14px 15px; }\n#graph-node-popover.phren-docked .phren-dossier-text {\n white-space: pre-wrap;\n line-height: 1.6;\n font-size: 13px;\n color: #dde6fb;\n}\n.phren-dossier-section {\n font: 700 9.5px/1.4 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;\n color: #67e8f9;\n letter-spacing: 0.14em;\n text-transform: uppercase;\n margin-top: 4px;\n}\n.phren-dossier-nav {\n display: inline-flex;\n align-items: center;\n gap: 10px;\n font: 600 11px/1.4 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;\n color: #8b96c9;\n}\n.phren-dossier-nav button {\n width: 28px;\n height: 28px;\n border-radius: 6px;\n border: 1px solid rgba(103, 232, 249, 0.2);\n background: rgba(12, 15, 30, 0.9);\n color: #9fb2e8;\n font-size: 14px;\n line-height: 1;\n cursor: pointer;\n transition: border-color 0.15s ease, color 0.15s ease;\n}\n.phren-dossier-nav button:hover {\n border-color: rgba(103, 232, 249, 0.55);\n color: #e6f6ff;\n}\n";
@@ -0,0 +1,194 @@
1
+ // Holographic chrome for the Graph tab. Appended LAST in the page <style>
2
+ // block so it wins the cascade over the base styles. The graph canvas is
3
+ // immersive-dark in BOTH app themes (the 3D scene is always a dark void —
4
+ // a light chrome ring around it read as unfinished).
5
+ export const GRAPH_HUD_STYLES = `
6
+ /* ── Full-bleed graph tab — total dark immersion (header included) ── */
7
+ body:has(#tab-graph.active) { background: #04050b; }
8
+ body:has(#tab-graph.active) .main { max-width: none; padding: 0; }
9
+ body:has(#tab-graph.active) .header {
10
+ background: rgba(5, 6, 13, 0.92);
11
+ border-bottom: 1px solid rgba(103, 232, 249, 0.12);
12
+ backdrop-filter: blur(10px);
13
+ -webkit-backdrop-filter: blur(10px);
14
+ }
15
+ body:has(#tab-graph.active) .header .nav-item { color: #7f8db8; }
16
+ body:has(#tab-graph.active) .header .nav-item.active { color: #67e8f9; }
17
+ body:has(#tab-graph.active) .header .brand-name,
18
+ body:has(#tab-graph.active) .header-brand { color: #dbe6ff; }
19
+ #tab-graph .graph-container {
20
+ background: #04050b;
21
+ border: none;
22
+ border-radius: 0;
23
+ position: relative;
24
+ overflow: hidden;
25
+ }
26
+ #tab-graph #graph-canvas {
27
+ height: calc(100vh - 64px);
28
+ min-height: 520px;
29
+ }
30
+
31
+ /* ── Overlay chrome — compact HUD clustered top-right (GraphRAG) ──── */
32
+ #tab-graph .graph-filters {
33
+ background: transparent;
34
+ border: none;
35
+ box-shadow: none;
36
+ padding: 0;
37
+ left: auto;
38
+ right: 60px;
39
+ width: min(560px, 60%);
40
+ z-index: 10;
41
+ }
42
+ #tab-graph .graph-controls { z-index: 10; }
43
+ #tab-graph .graph-controls button {
44
+ width: 34px;
45
+ height: 34px;
46
+ border-radius: 8px;
47
+ border: 1px solid rgba(103, 232, 249, 0.2);
48
+ background: rgba(8, 10, 22, 0.85);
49
+ color: #9fb2e8;
50
+ font: 700 13px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
51
+ cursor: pointer;
52
+ transition: border-color 0.15s ease, color 0.15s ease;
53
+ }
54
+ #tab-graph .graph-controls button:hover {
55
+ border-color: rgba(103, 232, 249, 0.55);
56
+ color: #e6f6ff;
57
+ }
58
+
59
+ /* ── Docked dossier — left side, compact (GraphRAG inspector) ─────── */
60
+ #graph-node-popover.phren-docked {
61
+ left: 16px !important;
62
+ right: auto !important;
63
+ top: 68px !important;
64
+ bottom: 16px;
65
+ width: 340px;
66
+ max-width: min(360px, calc(100% - 32px));
67
+ pointer-events: none;
68
+ z-index: 12;
69
+ }
70
+ /* Edge drag handle to widen/narrow the docked dossier (symmetric with the
71
+ contents pane). The popover itself is pointer-transparent, so the handle
72
+ re-enables pointer events for itself. */
73
+ #graph-node-popover.phren-docked .phren-dossier-resize {
74
+ position: absolute;
75
+ right: -4px;
76
+ top: 0;
77
+ bottom: 0;
78
+ width: 9px;
79
+ cursor: ew-resize;
80
+ z-index: 20;
81
+ pointer-events: auto;
82
+ touch-action: none;
83
+ }
84
+ #graph-node-popover.phren-docked .phren-dossier-resize::after {
85
+ content: "";
86
+ position: absolute;
87
+ right: 3px;
88
+ top: 50%;
89
+ transform: translateY(-50%);
90
+ width: 3px;
91
+ height: 38px;
92
+ border-radius: 999px;
93
+ background: rgba(103, 232, 249, 0.28);
94
+ opacity: 0;
95
+ transition: opacity 0.15s ease;
96
+ }
97
+ #graph-node-popover.phren-docked .phren-dossier-resize:hover::after,
98
+ #graph-node-popover.phren-docked .phren-dossier-resize.dragging::after {
99
+ opacity: 1;
100
+ }
101
+ /* GraphRAG-style stats row + relationships in the inspector */
102
+ .phren-dossier-stats {
103
+ display: grid;
104
+ grid-template-columns: repeat(3, 1fr);
105
+ border: 1px solid rgba(103, 232, 249, 0.16);
106
+ border-radius: 8px;
107
+ overflow: hidden;
108
+ margin: 12px 0 4px;
109
+ }
110
+ .phren-dossier-stats > div {
111
+ padding: 8px 10px;
112
+ border-right: 1px solid rgba(103, 232, 249, 0.12);
113
+ }
114
+ .phren-dossier-stats > div:last-child { border-right: 0; }
115
+ .phren-dossier-stats .k {
116
+ font: 700 8.5px/1.4 ui-monospace, Menlo, monospace;
117
+ letter-spacing: 0.12em; color: #6b76a0; text-transform: uppercase;
118
+ }
119
+ .phren-dossier-stats .v {
120
+ font: 700 14px/1.2 ui-monospace, Menlo, monospace; color: #67e8f9; margin-top: 3px;
121
+ }
122
+ .phren-rel-row {
123
+ display: flex; align-items: baseline; justify-content: space-between; gap: 10px;
124
+ padding: 7px 0; border-bottom: 1px solid rgba(120, 150, 220, 0.08); cursor: pointer;
125
+ }
126
+ .phren-rel-row:last-child { border-bottom: 0; }
127
+ .phren-rel-row .n { font-size: 12px; color: #d6e2ff; overflow: hidden; text-overflow: ellipsis; }
128
+ .phren-rel-row .n small { display: block; color: #6b76a0; font-size: 10px; margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
129
+ .phren-rel-row .w { font: 600 11px/1.4 ui-monospace, Menlo, monospace; color: #67e8f9; font-variant-numeric: tabular-nums; }
130
+ .phren-rel-row:hover .n { color: #eaf2ff; }
131
+ #graph-node-popover.phren-docked #graph-node-popover-card {
132
+ --surface: #0a0d1e;
133
+ --surface-raised: rgba(22, 27, 52, 0.9);
134
+ --surface-sunken: rgba(5, 6, 15, 0.92);
135
+ --ink: #dbe4ff;
136
+ --muted: #8b96c9;
137
+ --border: rgba(103, 232, 249, 0.2);
138
+ --accent: #67e8f9;
139
+ --accent-dim: rgba(103, 232, 249, 0.12);
140
+ height: 100%;
141
+ overflow: auto;
142
+ pointer-events: auto;
143
+ background: rgba(8, 10, 22, 0.92);
144
+ border: 1px solid rgba(103, 232, 249, 0.22);
145
+ box-shadow: 0 16px 60px rgba(0, 0, 0, 0.6), 0 0 30px rgba(103, 232, 249, 0.05);
146
+ border-radius: 12px;
147
+ color: #dbe4ff;
148
+ backdrop-filter: blur(14px);
149
+ -webkit-backdrop-filter: blur(14px);
150
+ }
151
+ #graph-node-popover.phren-docked .phren-dossier-kind {
152
+ font: 700 10px/1.4 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
153
+ color: #67e8f9;
154
+ letter-spacing: 0.16em;
155
+ text-transform: uppercase;
156
+ }
157
+ #graph-node-popover.phren-docked #graph-node-popover-card { padding: 14px 15px; }
158
+ #graph-node-popover.phren-docked .phren-dossier-text {
159
+ white-space: pre-wrap;
160
+ line-height: 1.6;
161
+ font-size: 13px;
162
+ color: #dde6fb;
163
+ }
164
+ .phren-dossier-section {
165
+ font: 700 9.5px/1.4 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
166
+ color: #67e8f9;
167
+ letter-spacing: 0.14em;
168
+ text-transform: uppercase;
169
+ margin-top: 4px;
170
+ }
171
+ .phren-dossier-nav {
172
+ display: inline-flex;
173
+ align-items: center;
174
+ gap: 10px;
175
+ font: 600 11px/1.4 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
176
+ color: #8b96c9;
177
+ }
178
+ .phren-dossier-nav button {
179
+ width: 28px;
180
+ height: 28px;
181
+ border-radius: 6px;
182
+ border: 1px solid rgba(103, 232, 249, 0.2);
183
+ background: rgba(12, 15, 30, 0.9);
184
+ color: #9fb2e8;
185
+ font-size: 14px;
186
+ line-height: 1;
187
+ cursor: pointer;
188
+ transition: border-color 0.15s ease, color 0.15s ease;
189
+ }
190
+ .phren-dossier-nav button:hover {
191
+ border-color: rgba(103, 232, 249, 0.55);
192
+ color: #e6f6ff;
193
+ }
194
+ `;
package/dist/ui/graph.js CHANGED
@@ -26,7 +26,7 @@ export function renderGraphScript() {
26
26
  }
27
27
  return `
28
28
  (function() {
29
- console.error('[phrenGraph] Bundled Sigma asset not found. Run "npm run build" in the phren repo root.');
29
+ console.error('[phrenGraph] Bundled graph renderer asset not found. Run "npm run build" in the phren repo root.');
30
30
  window.phrenGraph = window.phrenGraph || {
31
31
  __renderer: 'missing',
32
32
  mount: function() {},
package/dist/ui/page.js CHANGED
@@ -2,6 +2,7 @@ import { WEB_UI_STYLES, renderWebUiScript } from "./assets.js";
2
2
  import { renderGraphScript } from "./graph.js";
3
3
  import { LAYOUT_VIEWPORT_STYLES, PROJECT_REFERENCE_UI_STYLES, REVIEW_UI_STYLES, SETTINGS_TAB_UI_STYLES, TASK_UI_STYLES } from "./styles.js";
4
4
  import { PHREN_DEEP_VOID_STYLES } from "./deep-void.js";
5
+ import { GRAPH_HUD_STYLES } from "./graph-chrome.js";
5
6
  import { renderSharedWebUiHelpers, renderSkillUiEnhancementScript, renderProfileSwitcherScript, renderProjectReferenceEnhancementScript, renderTasksAndSettingsScript, renderReviewQueueKeyboardScript, renderSearchScript, renderEventWiringScript, renderGraphHostScript, renderActivityStreamScript, renderGraphWalkScript, } from "./scripts.js";
6
7
  function h(s) {
7
8
  return s
@@ -20,6 +21,7 @@ export function renderWebUiPage(_phrenPath, authToken, nonce) {
20
21
  <link rel="preconnect" href="https://fonts.bunny.net" />
21
22
  <link href="https://fonts.bunny.net/css?family=inter:400,500,600,700|space-grotesk:400,500,600,700|jetbrains-mono:400,500,700&display=swap" rel="stylesheet" />
22
23
  <title>phren</title>
24
+ <link rel="icon" href="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Ccircle cx='16' cy='16' r='15' fill='%2312122a'/%3E%3Ccircle cx='16' cy='16' r='8' fill='%237c6bf5'/%3E%3Ccircle cx='13' cy='13' r='3' fill='%23a99cfa'/%3E%3C/svg%3E" />
23
25
  <style>
24
26
  ${WEB_UI_STYLES}
25
27
  ${PROJECT_REFERENCE_UI_STYLES}
@@ -28,6 +30,7 @@ ${TASK_UI_STYLES}
28
30
  ${REVIEW_UI_STYLES}
29
31
  ${PHREN_DEEP_VOID_STYLES}
30
32
  ${LAYOUT_VIEWPORT_STYLES}
33
+ ${GRAPH_HUD_STYLES}
31
34
  </style>
32
35
  </head>
33
36
  <body>