@vale-dinap/lucidly 0.2.0 → 0.4.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.
- package/CHANGELOG.md +74 -26
- package/README.md +60 -13
- package/dist/adapters/claude-code.js +38 -5
- package/dist/adapters/claude-tools.js +73 -0
- package/dist/adapters/shell-writes.js +506 -0
- package/dist/cli.js +19 -8
- package/dist/core/engine.js +93 -6
- package/dist/core/summary.js +41 -0
- package/dist/core/text.js +13 -0
- package/dist/server/server.js +126 -14
- package/dist/server/session.js +49 -5
- package/dist/sources/claude-sessions.js +13 -0
- package/package.json +1 -1
- package/web/app.js +4884 -3411
- package/web/index.html +14 -4
- package/web/style.css +1282 -973
- package/web/theme.js +9 -0
package/web/index.html
CHANGED
|
@@ -6,8 +6,10 @@
|
|
|
6
6
|
<title>Lucidly</title>
|
|
7
7
|
<link rel="icon" href="favicon.svg" type="image/svg+xml" />
|
|
8
8
|
<link rel="stylesheet" href="style.css" />
|
|
9
|
+
<script src="theme.js"></script>
|
|
9
10
|
</head>
|
|
10
11
|
<body>
|
|
12
|
+
<nav class="tabs" id="tabs" role="tablist" aria-label="Open sessions" hidden></nav>
|
|
11
13
|
<header class="top">
|
|
12
14
|
<div class="brand"><img src="favicon.svg" alt="" width="20" height="20" /><span>Lucidly</span></div>
|
|
13
15
|
<button class="ibtn open-btn" id="sessionsBtn" title="Open session (O)" aria-label="Open session">
|
|
@@ -33,7 +35,12 @@
|
|
|
33
35
|
<button class="meter" id="tokens" hidden title="Token usage (T)" aria-haspopup="dialog"></button>
|
|
34
36
|
<div class="pop" id="tokensPop" hidden></div>
|
|
35
37
|
</div>
|
|
38
|
+
<button class="ibtn theme-btn" id="themeBtn" type="button"></button>
|
|
36
39
|
</header>
|
|
40
|
+
<div class="down-bar" id="downBar" role="alert" hidden>
|
|
41
|
+
<svg viewBox="0 0 24 24" aria-hidden="true"><path d="M9 7V3m6 4V3M7 7h10v4a5 5 0 0 1-10 0zM12 16v5" /><path d="M4 4l16 16" /></svg>
|
|
42
|
+
<span><b>The Lucidly server has stopped.</b> This page no longer updates: it shows the session as of <span id="downAt"></span>. Run <code>lucidly</code> again and it reconnects by itself.</span>
|
|
43
|
+
</div>
|
|
37
44
|
|
|
38
45
|
<main class="main">
|
|
39
46
|
<section class="pane" id="pane">
|
|
@@ -41,8 +48,9 @@
|
|
|
41
48
|
|
|
42
49
|
<div class="toolbar" id="tbPath">
|
|
43
50
|
<nav class="seg vseg" aria-label="View">
|
|
51
|
+
<button type="button" data-view="glance" title="The run at a glance: is it going fine, does it need you? (V)">Glance</button>
|
|
44
52
|
<button type="button" data-view="simple" class="on" title="Tasks and their steps as nodes: the essentials (V)">Simple</button>
|
|
45
|
-
<button type="button" data-view="detailed" title="Every step, with its details (V)">Detailed</button>
|
|
53
|
+
<button type="button" data-view="detailed" title="Every step, with its details (V)">Detailed</button>
|
|
46
54
|
<button type="button" data-view="files" title="Every file the agent changed, with its edits (V)">Files</button>
|
|
47
55
|
<button type="button" data-view="actions" title="Every action in order, for debugging (V)">Actions</button>
|
|
48
56
|
</nav>
|
|
@@ -54,14 +62,15 @@
|
|
|
54
62
|
<input type="search" id="pathSearch" placeholder="Search steps, files, commands" autocomplete="off" />
|
|
55
63
|
</div>
|
|
56
64
|
<div class="zoomer" id="flowZoom" role="group" aria-label="Zoom" hidden><input type="range" id="flowZoomRange" min="0" max="6" step="1" value="3" aria-label="Zoom" title="Zoom: 50% to 200% (Ctrl+scroll, - and =)" /><button type="button" data-fz="0" class="zv">100%</button></div>
|
|
57
|
-
<button class="ibtn heat-btn" id="heatBtn" aria-pressed="false" aria-label="Token heat" title="Token heat (H)"><svg viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3c.5 3.2 4.5 5.2 4.5 10a4.5 4.5 0 0 1-9 0c0-2 .9-3.4 2-4.5.2 1.6 1 2.6 2 3 .3-3.3-.8-5.8.5-8.5z" /></svg></button>
|
|
65
|
+
<button class="ibtn heat-btn" id="heatBtn" aria-pressed="false" aria-label="Token heat" title="Token heat (H)"><svg viewBox="0 0 24 24" aria-hidden="true"><path d="M12 3c.5 3.2 4.5 5.2 4.5 10a4.5 4.5 0 0 1-9 0c0-2 .9-3.4 2-4.5.2 1.6 1 2.6 2 3 .3-3.3-.8-5.8.5-8.5z" /></svg></button>
|
|
58
66
|
<button class="tbtn" id="expandAll" title="Expand all (E)">Expand all</button>
|
|
59
67
|
</div>
|
|
60
68
|
|
|
61
69
|
<div class="toolbar" id="tbActions" hidden>
|
|
62
70
|
<nav class="seg vseg" aria-label="View">
|
|
71
|
+
<button type="button" data-view="glance" title="The run at a glance: is it going fine, does it need you? (V)">Glance</button>
|
|
63
72
|
<button type="button" data-view="simple" title="Tasks and their steps as nodes: the essentials (V)">Simple</button>
|
|
64
|
-
<button type="button" data-view="detailed" title="Every step, with its details (V)">Detailed</button>
|
|
73
|
+
<button type="button" data-view="detailed" title="Every step, with its details (V)">Detailed</button>
|
|
65
74
|
<button type="button" data-view="files" title="Every file the agent changed, with its edits (V)">Files</button>
|
|
66
75
|
<button type="button" data-view="actions" class="on" title="Every action in order, for debugging (V)">Actions</button>
|
|
67
76
|
</nav>
|
|
@@ -94,7 +103,7 @@
|
|
|
94
103
|
|
|
95
104
|
<dialog id="picker" class="picker">
|
|
96
105
|
<form method="dialog" class="picker-h">
|
|
97
|
-
<h3>Open session</h3>
|
|
106
|
+
<h3 id="pickerTitle">Open session</h3>
|
|
98
107
|
<nav class="seg">
|
|
99
108
|
<button type="button" data-scope="project" class="on">This project</button>
|
|
100
109
|
<button type="button" data-scope="all">All projects</button>
|
|
@@ -103,6 +112,7 @@
|
|
|
103
112
|
</form>
|
|
104
113
|
<div id="pickerOpen"></div>
|
|
105
114
|
<ul id="pickerList" class="plist"></ul>
|
|
115
|
+
<div class="picker-hint" id="pickerHint"></div>
|
|
106
116
|
<label class="picker-f" title="A file saved with the download button: keeps a run after its transcript is gone, or lets someone else open it">
|
|
107
117
|
<svg viewBox="0 0 24 24" aria-hidden="true"><path d="M12 20V9m0 0l-4 4m4-4l4 4M5 4h14" /></svg>
|
|
108
118
|
Open a saved snapshot…
|