claude-discover 1.9.4 → 1.10.0

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.
@@ -14,8 +14,8 @@ electron.contextBridge.exposeInMainWorld("api", {
14
14
  deactivateSwitch: (name) => electron.ipcRenderer.invoke("switch:deactivate", name),
15
15
  setSwitchKeepActive: (name, value) => electron.ipcRenderer.invoke("switch:keep-active", name, value),
16
16
  listSessions: (date, granularity = "day") => electron.ipcRenderer.invoke("sessions:list", date, granularity),
17
- readSession: (id, date = null, granularity = "day") => electron.ipcRenderer.invoke("sessions:read", id, date, granularity),
18
- readRequests: (id, date = null, granularity = "day") => electron.ipcRenderer.invoke("sessions:read-requests", id, date, granularity),
17
+ readSession: (filePath, date = null, granularity = "day") => electron.ipcRenderer.invoke("sessions:read", filePath, date, granularity),
18
+ readRequests: (filePath, date = null, granularity = "day") => electron.ipcRenderer.invoke("sessions:read-requests", filePath, date, granularity),
19
19
  onSessionsUpdate: subscribe("sessions:update"),
20
20
  onScanProgress: subscribe("sessions:scan-progress"),
21
21
  getWorkHours: () => electron.ipcRenderer.invoke("work-hours:get"),
@@ -616,6 +616,8 @@
616
616
  color: var(--accent, #4ea1ff);
617
617
  }
618
618
 
619
+ .session-command { color: var(--accent); }
620
+
619
621
  .subagent-tag,
620
622
  .worktree-tag {
621
623
  font-family: var(--font-mono), monospace;
@@ -625,6 +627,8 @@
625
627
 
626
628
  .worktree-tag { color: #34d399; }
627
629
 
630
+ .session-tag { color: #4ade80; }
631
+
628
632
  .fork-tag {
629
633
  color: var(--accent);
630
634
  font-weight: bold;
@@ -721,7 +725,7 @@
721
725
  }
722
726
 
723
727
  .conv-row + .conv-row { margin-top: 15px; }
724
- /* One instruction row per API call (see groupTurns) — the gap keeps two calls' strips apart. */
728
+ /* The session's one instruction row (see flatten) — the gap keeps its strips off the first message. */
725
729
  .conv-row-instruction + .conv-row { margin-top: 20px; }
726
730
  .conv-row-assistant + .conv-row-user { margin-top: 60px; }
727
731
  .conv-row-assistant + .conv-row-assistant { margin-top: 0; }
@@ -921,6 +925,7 @@ button.msg-summary:hover { color: var(--text); background: var(--bg-elev-2); bor
921
925
  text-align: left;
922
926
  margin: 0;
923
927
  }
928
+ & .block-command + .block-text { margin-top: 4px; }
924
929
  }
925
930
 
926
931
  .turn-assistant .block-text { color: var(--text); }
@@ -1052,14 +1057,31 @@ button.msg-summary:hover { color: var(--text); background: var(--bg-elev-2); bor
1052
1057
  }
1053
1058
  }
1054
1059
 
1055
- /* Instruction files (system prompt / CLAUDE.md / memory) extracted from the captured API requests. */
1056
- .instruction-file {
1060
+ /* Instruction files (system prompt / CLAUDE.md / memory) extracted from the captured API requests,
1061
+ and the label over each group — one unbroken strip down the whole run. */
1062
+ .instruction-file,
1063
+ .instruction-source {
1057
1064
  border-left: 2px solid #a78bfa;
1058
1065
  padding-left: 8px;
1059
1066
  margin-left: -10px;
1060
1067
  }
1061
1068
 
1069
+ /* Group label over the strips read from one part of the request (system prompt / tools / user message). */
1070
+ .instruction-source {
1071
+ font-family: var(--font-mono), monospace;
1072
+ font-size: calc(10.5px * var(--font-scale, 1));
1073
+ color: var(--text-faint);
1074
+ text-transform: uppercase;
1075
+ letter-spacing: 0.04em;
1076
+ padding-top: 6px;
1077
+ }
1078
+ .instruction-source:first-child { padding-top: 0; }
1079
+
1062
1080
  /* Full-width toggle so the estimated token count can sit right-aligned, like msg-header-right. */
1081
+ /* Nested tool rows cancel the aux-body's right padding so their counts line up with the strips'. */
1082
+ .instruction-file .instruction-file { border-left-color: var(--border); margin-right: -8px; }
1083
+ /* A rule under the strip's count marks it as the sum of the tool counts below. */
1084
+ .aux-body > .instruction-file:first-child .instruction-tokens { border-top: 1px solid var(--border); padding-top: 2px; }
1063
1085
  .instruction-file .aux-toggle { display: flex; width: 100%; align-items: center; }
1064
1086
  .instruction-tokens { margin-left: auto; color: var(--text-faint); }
1065
1087
 
@@ -2319,4 +2341,4 @@ button:hover { background: var(--border); }
2319
2341
  .kind-suggest { color: #6ea882; }
2320
2342
  .kind-web { color: #5fa8ad; }
2321
2343
  .kind-security { color: #c4937b; }
2322
- .kind-quota, .kind-status, .kind-count { color: var(--text-faint); }
2344
+ .kind-quota, .kind-status, .kind-count, .kind-aux { color: var(--text-faint); }