claude-discover 1.10.15 → 1.10.16
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/out/main/main.js +41 -60
- package/out/preload/preload.cjs +3 -1
- package/out/renderer/assets/{index-B0GbqX3Q.css → index-BT23D4e7.css} +33 -127
- package/out/renderer/assets/{index-DBvvvzOo.js → index-CqJoMYk1.js} +735 -1238
- package/out/renderer/assets/{vendors-CstdHEvv.js → vendors-DVmtvyac.js} +787 -752
- package/out/renderer/index.html +3 -3
- package/package.json +3 -3
package/out/main/main.js
CHANGED
|
@@ -454,8 +454,6 @@ var RECENT_CLAUDE_DIRS = local.recents || [CLAUDE_DIR];
|
|
|
454
454
|
var CLAUDE_PROJECTS_DIR = join(CLAUDE_DIR, "projects");
|
|
455
455
|
var CLAUDE_SETTINGS = join(CLAUDE_DIR, "settings.json");
|
|
456
456
|
var CLAUDE_DEBUG_DIR = join(CLAUDE_DIR, "debug");
|
|
457
|
-
var insideDir = CLAUDE_DIR === process.env.CLAUDE_CONFIG_DIR || basename(CLAUDE_DIR) !== ".claude";
|
|
458
|
-
var CLAUDE_CONFIG = join(insideDir ? CLAUDE_DIR : dirname(CLAUDE_DIR), ".claude.json");
|
|
459
457
|
var STATUSLINE_PATH = join(import.meta.dirname, "../../bin/claude/statusline.mjs");
|
|
460
458
|
var PROXY_PATH = join(import.meta.dirname, "../../bin/proxy.mjs");
|
|
461
459
|
var LAUNCH_MODE = launchMode(import.meta.dirname, { dev: false });
|
|
@@ -1960,6 +1958,7 @@ var SessionParser = class {
|
|
|
1960
1958
|
this.tokenTotal = 0;
|
|
1961
1959
|
this.lastSeenTs = null;
|
|
1962
1960
|
this.modelId = null;
|
|
1961
|
+
this.caveat = null;
|
|
1963
1962
|
this.commandUuids = /* @__PURE__ */ new Set();
|
|
1964
1963
|
this.seenUuids = /* @__PURE__ */ new Set();
|
|
1965
1964
|
this.typedCommands = /* @__PURE__ */ new Map();
|
|
@@ -2002,6 +2001,7 @@ var SessionParser = class {
|
|
|
2002
2001
|
return false;
|
|
2003
2002
|
}
|
|
2004
2003
|
obj._ts = ts;
|
|
2004
|
+
if (obj.parentUuid && obj.parentUuid === this.caveat?.uuid && ts < this.caveat._ts) this.caveat._ts = ts;
|
|
2005
2005
|
if (inherited != null) {
|
|
2006
2006
|
if (meta.startedAt == null || inherited < meta.startedAt) meta.startedAt = inherited;
|
|
2007
2007
|
if (inherited > meta.lastActivityAt) meta.lastActivityAt = inherited;
|
|
@@ -2074,8 +2074,10 @@ var SessionParser = class {
|
|
|
2074
2074
|
} else if (text.startsWith("<local-command-stdout>")) {
|
|
2075
2075
|
if (meta.firstUserCommand) meta.firstUserCommand += "\n" + text;
|
|
2076
2076
|
obj.isMeta = true;
|
|
2077
|
-
} else if (text.startsWith("<local-command-caveat>"))
|
|
2078
|
-
|
|
2077
|
+
} else if (text.startsWith("<local-command-caveat>")) {
|
|
2078
|
+
obj.isMeta = true;
|
|
2079
|
+
this.caveat = obj;
|
|
2080
|
+
} else if (text.startsWith("<scheduled-task")) meta.hasScheduledTask = true;
|
|
2079
2081
|
else if (text && !obj.isMeta && !obj.isCompactSummary) {
|
|
2080
2082
|
if (obj.promptId && text.startsWith("/")) this.typedCommands.set(`${obj.promptId} ${text.split(/\s/)[0]}`, obj);
|
|
2081
2083
|
if (!meta.firstUserPrompt) meta.firstUserPrompt = text.slice(0, 300);
|
|
@@ -2452,55 +2454,6 @@ var MetaCache = class {
|
|
|
2452
2454
|
return this.periodMetas.delete(filePath);
|
|
2453
2455
|
}
|
|
2454
2456
|
};
|
|
2455
|
-
// src/main/sessions/Experiments.js
|
|
2456
|
-
var Experiments = class {
|
|
2457
|
-
#mtime = null;
|
|
2458
|
-
#byId = /* @__PURE__ */ new Map();
|
|
2459
|
-
constructor(file = CLAUDE_CONFIG) {
|
|
2460
|
-
this.file = file;
|
|
2461
|
-
}
|
|
2462
|
-
async get() {
|
|
2463
|
-
try {
|
|
2464
|
-
const { mtimeMs } = await fsp.stat(this.file);
|
|
2465
|
-
if (mtimeMs === this.#mtime) return this.#byId;
|
|
2466
|
-
const slots = Object.values(JSON.parse(await fsp.readFile(this.file, "utf8")).clientDataCacheSlots ?? {}).filter((s) => s?.data);
|
|
2467
|
-
this.#byId = collect(slots);
|
|
2468
|
-
this.#mtime = mtimeMs;
|
|
2469
|
-
} catch {}
|
|
2470
|
-
return this.#byId;
|
|
2471
|
-
}
|
|
2472
|
-
async read() {
|
|
2473
|
-
return Object.fromEntries(await this.get());
|
|
2474
|
-
}
|
|
2475
|
-
async name(sessions) {
|
|
2476
|
-
const byId = await this.get();
|
|
2477
|
-
for (const m of sessions) m.experimentName = byId.get(m.experiment)?.name ?? null;
|
|
2478
|
-
}
|
|
2479
|
-
};
|
|
2480
|
-
function collect(slots) {
|
|
2481
|
-
const plain = new Set(slots.filter((s) => !s.data.atis).flatMap((s) => Object.entries(s.data).map(entryKey)));
|
|
2482
|
-
const byId = /* @__PURE__ */ new Map();
|
|
2483
|
-
for (const { data, model, at } of slots.filter((s) => s.data.atis).sort((a, b) => a.at - b.at)) {
|
|
2484
|
-
if (!byId.has(data.atis)) byId.set(data.atis, {
|
|
2485
|
-
name: null,
|
|
2486
|
-
models: [],
|
|
2487
|
-
cachedAt: null,
|
|
2488
|
-
settings: null
|
|
2489
|
-
});
|
|
2490
|
-
const e = byId.get(data.atis);
|
|
2491
|
-
e.settings = pick(data, (k, v) => k !== "atis" && k !== "experimentKey" && !plain.has(entryKey([k, v])));
|
|
2492
|
-
e.name = data.experimentKey ?? e.name;
|
|
2493
|
-
e.cachedAt = Number(at);
|
|
2494
|
-
if (!e.models.includes(model)) e.models.push(model);
|
|
2495
|
-
}
|
|
2496
|
-
const all = [...byId.values()];
|
|
2497
|
-
const inOthers = (e, k, v) => all.some((o) => o !== e && o.models.some((m) => e.models.includes(m)) && entryKey([k, o.settings[k]]) === entryKey([k, v]));
|
|
2498
|
-
const own = all.map((e) => pick(e.settings, (k, v) => !inOthers(e, k, v)));
|
|
2499
|
-
for (const [i, e] of all.entries()) e.settings = own[i];
|
|
2500
|
-
return byId;
|
|
2501
|
-
}
|
|
2502
|
-
var pick = (from, keep) => Object.fromEntries(Object.entries(from).filter(([k, v]) => keep(k, v)));
|
|
2503
|
-
var entryKey = ([k, v]) => `${k}=${JSON.stringify(v)}`;
|
|
2504
2457
|
// src/main/sessions/ProjectResolver.js
|
|
2505
2458
|
var WORKTREE = /\/\.claude\/worktrees\/([^/]+)/;
|
|
2506
2459
|
var TEMP_ROOT = /^(.*?\/AppData\/Local\/Temp|\/(?:private\/)?(?:tmp|var\/folders\/[^/]+\/[^/]+\/T))\/(.+)/i;
|
|
@@ -2864,6 +2817,7 @@ var isSafeId = (id) => /^[\w-]+$/.test(id);
|
|
|
2864
2817
|
var debugLogOf = (reader) => reader.parentSessionId || !isSafeId(reader.sessionId) ? null : new McpDebugLog(reader.sessionId);
|
|
2865
2818
|
var SessionsService = class extends EventEmitter {
|
|
2866
2819
|
#branch = null;
|
|
2820
|
+
#opened = null;
|
|
2867
2821
|
constructor({ root, throttleMs = 100, scanner = null } = {}) {
|
|
2868
2822
|
super();
|
|
2869
2823
|
this.scanner = scanner ?? new SessionsScanner(root ? { root } : {});
|
|
@@ -2871,7 +2825,6 @@ var SessionsService = class extends EventEmitter {
|
|
|
2871
2825
|
this.throttleMs = throttleMs;
|
|
2872
2826
|
this.metaCache = new MetaCache();
|
|
2873
2827
|
this.projects = new ProjectResolver();
|
|
2874
|
-
this.experiments = new Experiments();
|
|
2875
2828
|
this.activeDay = null;
|
|
2876
2829
|
this.scanAbort = null;
|
|
2877
2830
|
this.updateTimer = null;
|
|
@@ -2880,7 +2833,7 @@ var SessionsService = class extends EventEmitter {
|
|
|
2880
2833
|
this.emittedSeq = 0;
|
|
2881
2834
|
}
|
|
2882
2835
|
async readSession(filePath, date = null, granularity = "day") {
|
|
2883
|
-
const meta = this
|
|
2836
|
+
const meta = this.#meta(filePath);
|
|
2884
2837
|
if (!meta) return null;
|
|
2885
2838
|
const range = date ? periodBounds(date, granularity) : null;
|
|
2886
2839
|
const reader = new SessionFile(meta.filePath);
|
|
@@ -2963,7 +2916,7 @@ var SessionsService = class extends EventEmitter {
|
|
|
2963
2916
|
};
|
|
2964
2917
|
}
|
|
2965
2918
|
async readRequests(filePath, date = null, granularity = "day") {
|
|
2966
|
-
const meta = this
|
|
2919
|
+
const meta = this.#meta(filePath);
|
|
2967
2920
|
if (!meta || !isSafeId(meta.sessionId)) return [];
|
|
2968
2921
|
const range = date ? periodBounds(date, granularity) : null;
|
|
2969
2922
|
const own = await this.#requestFile(meta.sessionId, meta.parentSessionId).read(range);
|
|
@@ -2978,7 +2931,19 @@ var SessionsService = class extends EventEmitter {
|
|
|
2978
2931
|
return [...own, ...unattributed].sort((a, b) => Date.parse(a.timestamp) - Date.parse(b.timestamp));
|
|
2979
2932
|
}
|
|
2980
2933
|
avatarPath(filePath) {
|
|
2981
|
-
return this
|
|
2934
|
+
return this.#meta(filePath)?.avatar ?? null;
|
|
2935
|
+
}
|
|
2936
|
+
async openFile(filePath) {
|
|
2937
|
+
if (!filePath?.endsWith(".jsonl")) throw new Error(`Not a .jsonl transcript: ${filePath}`);
|
|
2938
|
+
const meta = await this._scanSession(new SessionFile(filePath));
|
|
2939
|
+
if (!meta) throw new Error(`Can't read ${filePath}`);
|
|
2940
|
+
if (!meta.messageCount) throw new Error(`No Claude Code messages in ${filePath}`);
|
|
2941
|
+
meta.projectShort = suffixLabels([meta.project]).get(meta.project);
|
|
2942
|
+
this.#opened = stripInternal(meta);
|
|
2943
|
+
return this.#opened;
|
|
2944
|
+
}
|
|
2945
|
+
#meta(filePath) {
|
|
2946
|
+
return this.metaCache.get(filePath) ?? (this.#opened?.filePath === filePath ? this.#opened : null);
|
|
2982
2947
|
}
|
|
2983
2948
|
#requestFile(sessionId, parentSessionId) {
|
|
2984
2949
|
const agentId = parentSessionId && sessionId.startsWith("agent-") ? sessionId.slice(6) : null;
|
|
@@ -3092,7 +3057,6 @@ var SessionsService = class extends EventEmitter {
|
|
|
3092
3057
|
}));
|
|
3093
3058
|
const labels = suffixLabels(sessions.map((m) => m.project));
|
|
3094
3059
|
for (const m of sessions) m.projectShort = m.tempPath ? "Temp" : labels.get(m.project);
|
|
3095
|
-
await this.experiments.name(sessions);
|
|
3096
3060
|
return sessions;
|
|
3097
3061
|
}
|
|
3098
3062
|
_dedupedDay(day) {
|
|
@@ -14139,7 +14103,7 @@ var MainWindow = class {
|
|
|
14139
14103
|
// src/main/updater.js
|
|
14140
14104
|
var updater = new NpmUpdater({
|
|
14141
14105
|
name: "claude-discover",
|
|
14142
|
-
version: "1.10.
|
|
14106
|
+
version: "1.10.16",
|
|
14143
14107
|
bin: { "claude-discover": "bin/claude-discover.mjs" }
|
|
14144
14108
|
}, { dev: false });
|
|
14145
14109
|
// src/main/Application.js
|
|
@@ -14165,8 +14129,8 @@ var Application = class {
|
|
|
14165
14129
|
});
|
|
14166
14130
|
ipcMain.handle("sessions:list", (_e, date, granularity) => sessionsService.list(date, granularity));
|
|
14167
14131
|
ipcMain.handle("sessions:read", (_e, filePath, date, granularity) => sessionsService.readSession(filePath, date, granularity));
|
|
14168
|
-
ipcMain.handle("experiments:read", () => sessionsService.experiments.read());
|
|
14169
14132
|
ipcMain.handle("sessions:read-requests", (_e, filePath, date, granularity) => sessionsService.readRequests(filePath, date, granularity));
|
|
14133
|
+
ipcMain.handle("sessions:open-file", (_e, filePath) => sessionsService.openFile(filePath));
|
|
14170
14134
|
ipcMain.handle("sessions:read-avatar", (_e, filePath) => webpDataUrl(sessionsService.avatarPath(filePath)));
|
|
14171
14135
|
ipcMain.handle("switch:status", (_e, name) => switchers.status(name));
|
|
14172
14136
|
ipcMain.handle("switch:activate", (_e, name) => switchers.activate(name));
|
|
@@ -14196,6 +14160,17 @@ var Application = class {
|
|
|
14196
14160
|
BrowserWindow.getAllWindows().forEach((w) => w.close());
|
|
14197
14161
|
app.exit(0);
|
|
14198
14162
|
}
|
|
14163
|
+
async #pickSessionFile() {
|
|
14164
|
+
const { canceled, filePaths } = await dialog.showOpenDialog({
|
|
14165
|
+
title: "Open session file",
|
|
14166
|
+
properties: ["openFile"],
|
|
14167
|
+
filters: [{
|
|
14168
|
+
name: "Session transcripts",
|
|
14169
|
+
extensions: ["jsonl"]
|
|
14170
|
+
}]
|
|
14171
|
+
});
|
|
14172
|
+
if (!canceled && filePaths[0]) this.win.send("sessions:open-file", filePaths[0]);
|
|
14173
|
+
}
|
|
14199
14174
|
#buildMenu() {
|
|
14200
14175
|
const { win, switchers } = this;
|
|
14201
14176
|
const changeDir = (dir) => switchers.activate("claudedir", dir);
|
|
@@ -14204,6 +14179,12 @@ var Application = class {
|
|
|
14204
14179
|
{
|
|
14205
14180
|
label: "File",
|
|
14206
14181
|
submenu: [
|
|
14182
|
+
{
|
|
14183
|
+
label: "Open session file…",
|
|
14184
|
+
accelerator: "CmdOrCtrl+O",
|
|
14185
|
+
click: () => this.#pickSessionFile()
|
|
14186
|
+
},
|
|
14187
|
+
{ type: "separator" },
|
|
14207
14188
|
{
|
|
14208
14189
|
label: "Change directory…",
|
|
14209
14190
|
click: () => changeDir()
|
package/out/preload/preload.cjs
CHANGED
|
@@ -15,9 +15,11 @@ electron.contextBridge.exposeInMainWorld("api", {
|
|
|
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
17
|
readSession: (filePath, date = null, granularity = "day") => electron.ipcRenderer.invoke("sessions:read", filePath, date, granularity),
|
|
18
|
-
readExperiments: () => electron.ipcRenderer.invoke("experiments:read"),
|
|
19
18
|
readRequests: (filePath, date = null, granularity = "day") => electron.ipcRenderer.invoke("sessions:read-requests", filePath, date, granularity),
|
|
20
19
|
readAvatar: (filePath) => electron.ipcRenderer.invoke("sessions:read-avatar", filePath),
|
|
20
|
+
openSessionFile: (filePath) => electron.ipcRenderer.invoke("sessions:open-file", filePath),
|
|
21
|
+
onOpenSessionFile: subscribe("sessions:open-file"),
|
|
22
|
+
pathForFile: (file) => electron.webUtils.getPathForFile(file),
|
|
21
23
|
onSessionsUpdate: subscribe("sessions:update"),
|
|
22
24
|
onScanProgress: subscribe("sessions:scan-progress"),
|
|
23
25
|
getWorkHours: () => electron.ipcRenderer.invoke("work-hours:get"),
|
|
@@ -118,25 +118,6 @@
|
|
|
118
118
|
font-size: 11px;
|
|
119
119
|
color: var(--text-dim);
|
|
120
120
|
}
|
|
121
|
-
.experiment-band {
|
|
122
|
-
display: block;
|
|
123
|
-
box-sizing: content-box; /* its width attribute is the canvas's inner width; the border goes outside, as on .gantt-canvas */
|
|
124
|
-
background: var(--bg-elev);
|
|
125
|
-
border: 1px solid var(--border);
|
|
126
|
-
border-bottom: none;
|
|
127
|
-
border-top-left-radius: 4px;
|
|
128
|
-
border-top-right-radius: 4px;
|
|
129
|
-
}
|
|
130
|
-
|
|
131
|
-
.experiment-band-label { font: 10px var(--font-mono), monospace; fill: #8f97a8; }
|
|
132
|
-
.experiment-lane {
|
|
133
|
-
cursor: pointer;
|
|
134
|
-
|
|
135
|
-
& .experiment-lane-hit { fill: transparent; }
|
|
136
|
-
&:hover .experiment-lane-hit, &.open .experiment-lane-hit { fill: rgb(255 255 255 / 0.06); }
|
|
137
|
-
&:hover .experiment-band-label, &.open .experiment-band-label { fill: #cbd1dc; }
|
|
138
|
-
&.open .experiment-band-label { font-weight: 700; }
|
|
139
|
-
}
|
|
140
121
|
/* Floats over the gantt canvas's bottom-right corner, outside its scroll area so it stays put; clears the 5px scrollbar */
|
|
141
122
|
.source-legend {
|
|
142
123
|
position: absolute;
|
|
@@ -258,12 +239,6 @@
|
|
|
258
239
|
& svg { display: block; }
|
|
259
240
|
}
|
|
260
241
|
|
|
261
|
-
.experiment-band + .gantt-canvas {
|
|
262
|
-
border-top-left-radius: 0;
|
|
263
|
-
border-top-right-radius: 0;
|
|
264
|
-
border-top: none;
|
|
265
|
-
}
|
|
266
|
-
|
|
267
242
|
/* Pinned over the chart svg's own header rows; overflow lets the work-hours overlay run down the chart */
|
|
268
243
|
.gantt-header {
|
|
269
244
|
position: sticky;
|
|
@@ -669,13 +644,6 @@
|
|
|
669
644
|
|
|
670
645
|
& b { color: var(--text-dim); }
|
|
671
646
|
}
|
|
672
|
-
/* first on the session row's second line, right of its timeline, so the icons line up down the list */
|
|
673
|
-
.experiment-tag {
|
|
674
|
-
display: flex;
|
|
675
|
-
align-items: center;
|
|
676
|
-
height: 14px;
|
|
677
|
-
cursor: pointer;
|
|
678
|
-
}
|
|
679
647
|
.session-list {
|
|
680
648
|
display: flex;
|
|
681
649
|
flex-direction: column;
|
|
@@ -897,12 +865,15 @@
|
|
|
897
865
|
}
|
|
898
866
|
|
|
899
867
|
/* the MCP blocks' color: the debug log fills them in */
|
|
900
|
-
.debug-badge
|
|
868
|
+
.debug-badge,
|
|
869
|
+
.experiment-badge {
|
|
901
870
|
display: inline-flex; align-items: center; justify-content: center;
|
|
902
871
|
width: 18px; height: 18px;
|
|
903
872
|
color: var(--mcp);
|
|
904
873
|
}
|
|
905
874
|
|
|
875
|
+
.experiment-badge { color: #c084fc; }
|
|
876
|
+
|
|
906
877
|
/* 18px line height keeps it on the label's line */
|
|
907
878
|
.session-row-time {
|
|
908
879
|
grid-area: time;
|
|
@@ -958,7 +929,7 @@
|
|
|
958
929
|
& > * { flex: none; }
|
|
959
930
|
& > :last-child { flex: 0 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
960
931
|
& > * + *::before { content: ', '; }
|
|
961
|
-
& >
|
|
932
|
+
& > .fork-tag + *::before { content: '\00a0'; }
|
|
962
933
|
& .subagent-tag, & .worktree-tag { font-size: inherit; }
|
|
963
934
|
}
|
|
964
935
|
.session-model { color: var(--text-dim); }
|
|
@@ -2388,99 +2359,37 @@ button.msg-summary:hover { color: var(--text); background: var(--bg-elev-2); bor
|
|
|
2388
2359
|
}
|
|
2389
2360
|
|
|
2390
2361
|
.view-tab-pane-row > .session-summary { min-height: 0; }
|
|
2391
|
-
|
|
2392
|
-
|
|
2393
|
-
|
|
2394
|
-
|
|
2395
|
-
font-size: 14px;
|
|
2396
|
-
line-height: 1.55;
|
|
2397
|
-
color: var(--text);
|
|
2362
|
+
/* A transcript opened from a file isn't part of the timeline — its own accent says so */
|
|
2363
|
+
.opened-file {
|
|
2364
|
+
--section-accent: var(--warn);
|
|
2365
|
+
gap: 10px;
|
|
2398
2366
|
|
|
2399
|
-
&
|
|
2400
|
-
|
|
2367
|
+
& .opened-file-icon { flex: none; color: var(--section-accent); }
|
|
2368
|
+
& .opened-file-path {
|
|
2369
|
+
flex: 1;
|
|
2370
|
+
min-width: 0;
|
|
2371
|
+
overflow: hidden;
|
|
2372
|
+
text-overflow: ellipsis;
|
|
2373
|
+
white-space: nowrap;
|
|
2374
|
+
direction: rtl; /* ellipsis at the start, so the file name stays visible (the <bdi> keeps the path itself LTR) */
|
|
2375
|
+
text-align: left;
|
|
2376
|
+
font-family: var(--font-mono);
|
|
2401
2377
|
font-size: 12px;
|
|
2402
|
-
|
|
2403
|
-
|
|
2404
|
-
text-transform: uppercase;
|
|
2405
|
-
color: var(--label);
|
|
2378
|
+
color: var(--text-dim);
|
|
2379
|
+
user-select: text;
|
|
2406
2380
|
}
|
|
2407
|
-
&
|
|
2408
|
-
|
|
2409
|
-
|
|
2410
|
-
|
|
2411
|
-
|
|
2412
|
-
|
|
2413
|
-
|
|
2414
|
-
|
|
2415
|
-
|
|
2416
|
-
|
|
2417
|
-
& dt { margin-top: 20px; color: var(--text); }
|
|
2418
|
-
& dt:first-child { margin-top: 0; }
|
|
2419
|
-
& dd { margin-top: 4px; color: #c3c9d4; }
|
|
2420
|
-
/* prose, so a reading face rather than code */
|
|
2421
|
-
& pre {
|
|
2422
|
-
margin: 6px 0 0;
|
|
2423
|
-
max-height: 420px;
|
|
2424
|
-
overflow: auto;
|
|
2425
|
-
padding: 12px 16px;
|
|
2426
|
-
background: var(--bg-elev);
|
|
2427
|
-
border-radius: 6px;
|
|
2428
|
-
font: 14px/1.65 var(--font-sans);
|
|
2429
|
-
color: #d4d9e1;
|
|
2430
|
-
white-space: pre-wrap;
|
|
2431
|
-
}
|
|
2381
|
+
& .opened-file-close {
|
|
2382
|
+
flex: none;
|
|
2383
|
+
display: flex;
|
|
2384
|
+
padding: 4px;
|
|
2385
|
+
border: none;
|
|
2386
|
+
border-radius: 4px;
|
|
2387
|
+
background: none;
|
|
2388
|
+
color: var(--text-dim);
|
|
2389
|
+
cursor: pointer;
|
|
2390
|
+
&:hover { background: var(--selected); color: var(--text); }
|
|
2432
2391
|
}
|
|
2433
2392
|
}
|
|
2434
|
-
|
|
2435
|
-
/* the session's tab bar height, so the panes line up */
|
|
2436
|
-
.experiment-details-header {
|
|
2437
|
-
flex: none;
|
|
2438
|
-
box-sizing: border-box;
|
|
2439
|
-
height: var(--pane-header-height);
|
|
2440
|
-
display: flex;
|
|
2441
|
-
align-items: center;
|
|
2442
|
-
padding: 0 24px; /* the body's, so its centered column lines up with the text's */
|
|
2443
|
-
border-bottom: 1px solid var(--border);
|
|
2444
|
-
|
|
2445
|
-
& .experiment-details-header-row { flex: 1; display: flex; align-items: center; justify-content: space-between; }
|
|
2446
|
-
& h2 { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 15px; font-weight: 600; }
|
|
2447
|
-
}
|
|
2448
|
-
|
|
2449
|
-
.experiment-details-close {
|
|
2450
|
-
display: flex;
|
|
2451
|
-
padding: 4px;
|
|
2452
|
-
background: none;
|
|
2453
|
-
border: none;
|
|
2454
|
-
border-radius: 4px;
|
|
2455
|
-
color: var(--text-dim);
|
|
2456
|
-
cursor: pointer;
|
|
2457
|
-
|
|
2458
|
-
&:hover { color: var(--text); background: rgba(255, 255, 255, 0.06); }
|
|
2459
|
-
}
|
|
2460
|
-
|
|
2461
|
-
.experiment-details-body {
|
|
2462
|
-
flex: 1;
|
|
2463
|
-
min-height: 0;
|
|
2464
|
-
overflow-y: auto;
|
|
2465
|
-
padding: 28px 24px 48px;
|
|
2466
|
-
}
|
|
2467
|
-
|
|
2468
|
-
/* a readable line length for the prompt sections; the header's row shares it, so the title lines up with the text */
|
|
2469
|
-
.experiment-details-header-row, .experiment-details-content {
|
|
2470
|
-
max-width: 760px;
|
|
2471
|
-
margin: 0 auto;
|
|
2472
|
-
}
|
|
2473
|
-
|
|
2474
|
-
/* a markdown quote, as ui/Markdown.css draws them */
|
|
2475
|
-
.experiment-intro {
|
|
2476
|
-
margin: 0 0 32px;
|
|
2477
|
-
padding: 4px 0 4px 14px;
|
|
2478
|
-
border-left: 3px solid var(--border-strong);
|
|
2479
|
-
color: var(--label);
|
|
2480
|
-
line-height: 1.65;
|
|
2481
|
-
}
|
|
2482
|
-
|
|
2483
|
-
.experiment-note { margin: 0 0 20px; font-size: 13px; line-height: 1.6; color: var(--label); }
|
|
2484
2393
|
.statusbar-group { display: inline-flex; align-items: center; gap: 8px; cursor: default; }
|
|
2485
2394
|
|
|
2486
2395
|
.statusbar-seg {
|
|
@@ -2640,6 +2549,7 @@ button.msg-summary:hover { color: var(--text); background: var(--bg-elev-2); bor
|
|
|
2640
2549
|
border-top: 1px solid var(--border);
|
|
2641
2550
|
font-size: 12px;
|
|
2642
2551
|
color: var(--text-faint);
|
|
2552
|
+
white-space: nowrap; /* segments keep one line; only the Claude dir path gives way, ellipsized */
|
|
2643
2553
|
}
|
|
2644
2554
|
|
|
2645
2555
|
.statusbar > * + * { padding-left: 8px; border-left: 1px solid rgb(255 255 255 / 0.17); }
|
|
@@ -2654,7 +2564,6 @@ button.msg-summary:hover { color: var(--text); background: var(--bg-elev-2); bor
|
|
|
2654
2564
|
min-width: 0;
|
|
2655
2565
|
overflow: hidden;
|
|
2656
2566
|
text-overflow: ellipsis;
|
|
2657
|
-
white-space: nowrap;
|
|
2658
2567
|
}
|
|
2659
2568
|
|
|
2660
2569
|
/* The daily and weekly bars as one segment under one tooltip, hover-tinted like the switches */
|
|
@@ -2669,7 +2578,6 @@ button.msg-summary:hover { color: var(--text); background: var(--bg-elev-2); bor
|
|
|
2669
2578
|
}
|
|
2670
2579
|
.statusbar-limit {
|
|
2671
2580
|
gap: 6px;
|
|
2672
|
-
white-space: nowrap;
|
|
2673
2581
|
& .progress-bar { width: 48px; }
|
|
2674
2582
|
& .statusbar-num { min-width: 3.5ch; color: var(--text-dim); }
|
|
2675
2583
|
&.warn .statusbar-num { color: var(--warn); }
|
|
@@ -2717,7 +2625,6 @@ button.msg-summary:hover { color: var(--text); background: var(--bg-elev-2); bor
|
|
|
2717
2625
|
gap: 4px;
|
|
2718
2626
|
color: var(--accent);
|
|
2719
2627
|
font-weight: 700;
|
|
2720
|
-
white-space: nowrap;
|
|
2721
2628
|
}
|
|
2722
2629
|
|
|
2723
2630
|
/* Session-loading indicator */
|
|
@@ -2730,7 +2637,6 @@ button.msg-summary:hover { color: var(--text); background: var(--bg-elev-2); bor
|
|
|
2730
2637
|
width: 220px;
|
|
2731
2638
|
margin-right: auto;
|
|
2732
2639
|
}
|
|
2733
|
-
.statusbar-loading-text { white-space: nowrap; }
|
|
2734
2640
|
/* Fixed width: a growing count or "100%" never shifts its neighbours */
|
|
2735
2641
|
.statusbar-num {
|
|
2736
2642
|
display: inline-block;
|
|
@@ -2789,7 +2695,7 @@ button.msg-summary:hover { color: var(--text); background: var(--bg-elev-2); bor
|
|
|
2789
2695
|
& > .gantt-wrap {
|
|
2790
2696
|
flex: 1;
|
|
2791
2697
|
padding-right: 0;
|
|
2792
|
-
& .
|
|
2698
|
+
& .gantt-canvas { border-top-right-radius: 0; border-bottom-right-radius: 0; border-right: none; }
|
|
2793
2699
|
}
|
|
2794
2700
|
& > .gantt-side { flex: 0 0 var(--gantt-side-width); }
|
|
2795
2701
|
}
|