@clagentic/console 1.7.1-beta.1 → 1.8.0-beta.2
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/bin/cli.js +199 -2545
- package/lib/build-sha.json +2 -2
- package/lib/cli/daemon-launch.js +797 -0
- package/lib/cli/ipc-subcommands.js +186 -0
- package/lib/cli/menus.js +847 -0
- package/lib/cli/net-detect.js +209 -0
- package/lib/cli/tui.js +589 -0
- package/lib/pages.js +13 -17
- package/lib/project-loop.js +10 -2
- package/lib/project.js +6 -0
- package/lib/public/css/base.css +14 -1
- package/lib/public/css/diagnostics.css +15 -0
- package/lib/public/css/home-hub.css +32 -15
- package/lib/public/css/overlays.css +19 -0
- package/lib/public/index.html +12 -11
- package/lib/public/manifest.json +1 -1
- package/lib/public/modules/app-connection.js +187 -4
- package/lib/public/modules/app-history-replay.js +155 -0
- package/lib/public/modules/app-home-hub.js +33 -30
- package/lib/public/modules/app-messages.js +1245 -1489
- package/lib/public/modules/app-notifications.js +4 -4
- package/lib/public/modules/command-palette.js +11 -22
- package/lib/public/modules/context-sources.js +1 -6
- package/lib/public/modules/filebrowser.js +25 -13
- package/lib/public/modules/mcp-ui.js +2 -2
- package/lib/public/modules/notifications.js +22 -1
- package/lib/public/modules/playbook.js +6 -6
- package/lib/public/modules/project-settings.js +5 -13
- package/lib/public/modules/qrcode.js +2 -2
- package/lib/public/modules/relative-time.js +27 -0
- package/lib/public/modules/scheduler-history.js +1 -5
- package/lib/public/modules/server-settings.js +28 -15
- package/lib/public/modules/sidebar-projects.js +1 -1
- package/lib/public/modules/sidebar-sessions.js +1 -15
- package/lib/public/modules/sidebar.js +3 -3
- package/lib/public/modules/utils.js +6 -1
- package/lib/public/sw.js +24 -4
- package/lib/server-auth.js +48 -2
- package/lib/server-settings.js +70 -4
- package/lib/server.js +269 -15
- package/lib/sessions.js +9 -2
- package/lib/smtp.js +6 -6
- package/lib/users.js +19 -10
- package/lib/worktree.js +73 -1
- package/lib/yoke/adapters/codex.js +1 -1
- package/package.json +1 -1
package/lib/pages.js
CHANGED
|
@@ -5,7 +5,7 @@ function setupPageHtml(httpsUrl, httpUrl, hasCert, lanMode) {
|
|
|
5
5
|
<meta name="apple-mobile-web-app-capable" content="yes">
|
|
6
6
|
<link rel="manifest" href="/manifest.json">
|
|
7
7
|
<link rel="apple-touch-icon" href="/apple-touch-icon.png">
|
|
8
|
-
<title>Setup - Clagentic:Console</title>
|
|
8
|
+
<title>Setup - Clagentic: Console</title>
|
|
9
9
|
<style>
|
|
10
10
|
:root{--s-bg:#060810;--s-text:#C8D4E0;--s-accent:#00CFFF;--s-muted:#7A8FA6;--s-border:#1E2E48;--s-dimmer:#3D5068;--s-success:#29D9A8;--s-accent-15:rgba(0,207,255,0.15);--s-success-10:rgba(41,217,168,0.1);--s-success-15:rgba(41,217,168,0.15);--s-accent-06:rgba(0,207,255,0.06);--s-muted-06:rgba(122,143,166,0.06);--s-muted-15:rgba(122,143,166,0.15)}
|
|
11
11
|
@media(prefers-color-scheme:light){:root{--s-bg:#F4F7FB;--s-text:#1E2A38;--s-accent:#0099CC;--s-muted:#4A5D72;--s-border:#B4C6D9;--s-dimmer:#8FA4BA;--s-success:#1BA87E;--s-accent-15:rgba(0,153,204,0.15);--s-success-10:rgba(27,168,126,0.1);--s-success-15:rgba(27,168,126,0.15);--s-accent-06:rgba(0,153,204,0.06);--s-muted-06:rgba(74,93,114,0.06);--s-muted-15:rgba(74,93,114,0.15)}}
|
|
@@ -65,7 +65,7 @@ h1{color:var(--s-accent);font-size:22px;margin:0 0 4px;text-align:center}
|
|
|
65
65
|
.done-note .skip-link{display:inline;margin-top:0;font-size:13px}
|
|
66
66
|
</style></head><body>
|
|
67
67
|
<div class="c">
|
|
68
|
-
<h1>Clagentic:Console</h1>
|
|
68
|
+
<h1>Clagentic: Console</h1>
|
|
69
69
|
<p class="subtitle">Setup your device for the best experience</p>
|
|
70
70
|
|
|
71
71
|
<div class="steps-bar" id="steps-bar"></div>
|
|
@@ -118,7 +118,7 @@ h1{color:var(--s-accent);font-size:22px;margin:0 0 4px;text-align:center}
|
|
|
118
118
|
<div class="step-card" id="step-pwa">
|
|
119
119
|
<div class="step-label">Step <span class="step-cur">2</span> of <span class="step-total">3</span></div>
|
|
120
120
|
<div class="step-title">Add to Home Screen</div>
|
|
121
|
-
<div class="step-desc">Install Clagentic:Console as an app for quick access and a full-screen experience.</div>
|
|
121
|
+
<div class="step-desc">Install Clagentic: Console as an app for quick access and a full-screen experience.</div>
|
|
122
122
|
|
|
123
123
|
<div class="platform-ios">
|
|
124
124
|
<div class="check-status warn">On iOS, push notifications only work from the installed app. This step is required.</div>
|
|
@@ -158,12 +158,12 @@ h1{color:var(--s-accent);font-size:22px;margin:0 0 4px;text-align:center}
|
|
|
158
158
|
</div>
|
|
159
159
|
<div class="instruction"><div class="inst-num">2</div>
|
|
160
160
|
<div class="inst-text">Click it and then click <b>Install</b> to confirm.
|
|
161
|
-
<div class="note">If there is no icon, go to <b>Menu > Install Clagentic:Console</b> or <b>Menu > Save and Share > Install</b>.</div>
|
|
161
|
+
<div class="note">If there is no icon, go to <b>Menu > Install Clagentic: Console</b> or <b>Menu > Save and Share > Install</b>.</div>
|
|
162
162
|
</div>
|
|
163
163
|
</div>
|
|
164
164
|
</div>
|
|
165
165
|
|
|
166
|
-
<div id="pwa-status" class="check-status pending">After installing, open Clagentic:Console from your home screen to continue setup.</div>
|
|
166
|
+
<div id="pwa-status" class="check-status pending">After installing, open Clagentic: Console from your home screen to continue setup.</div>
|
|
167
167
|
<button class="skip-link" id="pwa-skip" onclick="nextStep()" style="display:none">Skip for now</button>
|
|
168
168
|
</div>
|
|
169
169
|
|
|
@@ -191,7 +191,7 @@ h1{color:var(--s-accent);font-size:22px;margin:0 0 4px;text-align:center}
|
|
|
191
191
|
<div class="done-title">All set!</div>
|
|
192
192
|
<div class="done-desc">Your device is configured. You can change these settings anytime from the app.</div>
|
|
193
193
|
<p class="done-note" id="remote-access-note">Want access outside your local network? Options include <a href="https://tailscale.com" target="_blank" rel="noopener">Tailscale</a>, <a href="https://developers.cloudflare.com/cloudflare-one/connections/connect-networks/" target="_blank" rel="noopener">Cloudflare Tunnel</a>, or your existing VPN. <button class="skip-link" onclick="document.getElementById('remote-access-note').style.display='none'">Dismiss</button></p>
|
|
194
|
-
<a class="btn" id="done-link" href="${httpsUrl}">Open Clagentic:Console</a>
|
|
194
|
+
<a class="btn" id="done-link" href="${httpsUrl}">Open Clagentic: Console</a>
|
|
195
195
|
</div>
|
|
196
196
|
</div>
|
|
197
197
|
</div>
|
|
@@ -447,7 +447,7 @@ function pushDone() {
|
|
|
447
447
|
pushStatus.textContent = "Push notifications enabled!";
|
|
448
448
|
fireConfetti();
|
|
449
449
|
navigator.serviceWorker.ready.then(function(reg) {
|
|
450
|
-
reg.showNotification("\ud83c\udf89 Welcome to Clagentic:Console!", {
|
|
450
|
+
reg.showNotification("\ud83c\udf89 Welcome to Clagentic: Console!", {
|
|
451
451
|
body: "\ud83d\udd14 You\u2019ll be notified when Claude responds.",
|
|
452
452
|
tag: "claude-welcome",
|
|
453
453
|
});
|
|
@@ -554,10 +554,6 @@ if (!isHttps && !isLocal) {
|
|
|
554
554
|
}
|
|
555
555
|
|
|
556
556
|
|
|
557
|
-
function escapeHtml(s) {
|
|
558
|
-
return String(s).replace(/&/g, "&").replace(/</g, "<").replace(/>/g, ">").replace(/"/g, """);
|
|
559
|
-
}
|
|
560
|
-
|
|
561
557
|
// --- Build auth page CSS variables from ayu-light theme (same logic as theme.js computeVars) ---
|
|
562
558
|
var path = require("path");
|
|
563
559
|
var _authTheme = require(path.join(__dirname, "themes", "ayu-light.json"));
|
|
@@ -702,7 +698,7 @@ function adminSetupPageHtml() {
|
|
|
702
698
|
return '<!DOCTYPE html><html lang="en"><head>' +
|
|
703
699
|
'<meta charset="UTF-8">' +
|
|
704
700
|
'<meta name="viewport" content="width=device-width,initial-scale=1,viewport-fit=cover">' +
|
|
705
|
-
'<title>Admin Setup - Clagentic:Console</title>' +
|
|
701
|
+
'<title>Admin Setup - Clagentic: Console</title>' +
|
|
706
702
|
'<style>' + authPageStyles + '</style></head><body><div class="c">' +
|
|
707
703
|
'<div class="steps-bar"><span class="steps-dot current" id="dot0"></span><span class="steps-dot" id="dot1"></span><span class="steps-dot" id="dot2"></span><span class="steps-dot" id="dot3"></span></div>' +
|
|
708
704
|
|
|
@@ -797,7 +793,7 @@ function multiUserLoginPageHtml() {
|
|
|
797
793
|
return '<!DOCTYPE html><html lang="en"><head>' +
|
|
798
794
|
'<meta charset="UTF-8">' +
|
|
799
795
|
'<meta name="viewport" content="width=device-width,initial-scale=1,viewport-fit=cover">' +
|
|
800
|
-
'<title>Login - Clagentic:Console</title>' +
|
|
796
|
+
'<title>Login - Clagentic: Console</title>' +
|
|
801
797
|
'<style>' + authPageStyles + '</style></head><body><div class="c">' +
|
|
802
798
|
'<div class="steps-bar"><span class="steps-dot current" id="dot0"></span><span class="steps-dot" id="dot1"></span></div>' +
|
|
803
799
|
|
|
@@ -885,7 +881,7 @@ function invitePageHtml(inviteCode) {
|
|
|
885
881
|
return '<!DOCTYPE html><html lang="en"><head>' +
|
|
886
882
|
'<meta charset="UTF-8">' +
|
|
887
883
|
'<meta name="viewport" content="width=device-width,initial-scale=1,viewport-fit=cover">' +
|
|
888
|
-
'<title>Join - Clagentic:Console</title>' +
|
|
884
|
+
'<title>Join - Clagentic: Console</title>' +
|
|
889
885
|
'<style>' + authPageStyles + '</style></head><body><div class="c">' +
|
|
890
886
|
'<div class="steps-bar"><span class="steps-dot current" id="dot0"></span><span class="steps-dot" id="dot1"></span><span class="steps-dot" id="dot2"></span></div>' +
|
|
891
887
|
|
|
@@ -966,7 +962,7 @@ function smtpLoginPageHtml() {
|
|
|
966
962
|
return '<!DOCTYPE html><html lang="en"><head>' +
|
|
967
963
|
'<meta charset="UTF-8">' +
|
|
968
964
|
'<meta name="viewport" content="width=device-width,initial-scale=1,viewport-fit=cover">' +
|
|
969
|
-
'<title>Login - Clagentic:Console</title>' +
|
|
965
|
+
'<title>Login - Clagentic: Console</title>' +
|
|
970
966
|
'<style>' + authPageStyles +
|
|
971
967
|
'.otp-input{width:100%;font-size:24px;letter-spacing:8px;text-align:center;padding:12px;' +
|
|
972
968
|
'background:var(--field-bg);border:1px solid var(--field-border);border-radius:8px;color:var(--fg);' +
|
|
@@ -1122,7 +1118,7 @@ function smtpInvitePageHtml(inviteCode) {
|
|
|
1122
1118
|
return '<!DOCTYPE html><html lang="en"><head>' +
|
|
1123
1119
|
'<meta charset="UTF-8">' +
|
|
1124
1120
|
'<meta name="viewport" content="width=device-width,initial-scale=1,viewport-fit=cover">' +
|
|
1125
|
-
'<title>Join - Clagentic:Console</title>' +
|
|
1121
|
+
'<title>Join - Clagentic: Console</title>' +
|
|
1126
1122
|
'<style>' + authPageStyles + '</style></head><body><div class="c">' +
|
|
1127
1123
|
'<div class="steps-bar"><span class="steps-dot current" id="dot0"></span><span class="steps-dot" id="dot1"></span><span class="steps-dot" id="dot2"></span></div>' +
|
|
1128
1124
|
|
|
@@ -1210,7 +1206,7 @@ function noProjectsPageHtml() {
|
|
|
1210
1206
|
return '<!DOCTYPE html><html lang="en"><head>' +
|
|
1211
1207
|
'<meta charset="UTF-8">' +
|
|
1212
1208
|
'<meta name="viewport" content="width=device-width,initial-scale=1,viewport-fit=cover">' +
|
|
1213
|
-
'<title>Clagentic:Console</title>' +
|
|
1209
|
+
'<title>Clagentic: Console</title>' +
|
|
1214
1210
|
'<style>' + authPageStyles + '</style></head><body><div class="c">' +
|
|
1215
1211
|
'<h1>Hang tight!</h1>' +
|
|
1216
1212
|
'<div class="sub">No projects have been assigned to your account yet.</div>' +
|
package/lib/project-loop.js
CHANGED
|
@@ -35,7 +35,7 @@ function validateLoopId(id) {
|
|
|
35
35
|
*
|
|
36
36
|
* ctx fields:
|
|
37
37
|
* cwd, slug, sm, sdk, send, sendTo, sendToSession, pushModule,
|
|
38
|
-
* getHubSchedules, getAllProjectSessions, getStatus,
|
|
38
|
+
* getHubSchedules, getAllProjectSessions, getSessionUnread, getStatus,
|
|
39
39
|
* getLinuxUserForSession, onProcessingChanged,
|
|
40
40
|
* hydrateImageRefs
|
|
41
41
|
*/
|
|
@@ -51,6 +51,8 @@ function attachLoop(ctx) {
|
|
|
51
51
|
var notificationsModule = ctx.notificationsModule;
|
|
52
52
|
var getHubSchedules = ctx.getHubSchedules;
|
|
53
53
|
var getAllProjectSessions = ctx.getAllProjectSessions;
|
|
54
|
+
// lr-0aa7b6: per-session unread lookup — (ws, sessionProjectSlug, localId) => count.
|
|
55
|
+
var getSessionUnread = ctx.getSessionUnread || function () { return 0; };
|
|
54
56
|
var getStatus = ctx.getStatus;
|
|
55
57
|
var getLinuxUserForSession = ctx.getLinuxUserForSession;
|
|
56
58
|
var onProcessingChanged = ctx.onProcessingChanged;
|
|
@@ -1375,16 +1377,22 @@ function attachLoop(ctx) {
|
|
|
1375
1377
|
// project-biased pool.
|
|
1376
1378
|
var top = allSessions.slice(0, 10);
|
|
1377
1379
|
var mapped = top.map(function (s) {
|
|
1380
|
+
var sessProjectSlug = s._projectSlug || slug;
|
|
1378
1381
|
return {
|
|
1379
1382
|
id: s.localId,
|
|
1380
1383
|
title: s.title || "New Session",
|
|
1381
1384
|
lastActivity: s.lastActivity || s.createdAt || 0,
|
|
1382
|
-
projectSlug:
|
|
1385
|
+
projectSlug: sessProjectSlug,
|
|
1383
1386
|
projectTitle: s._projectTitle || slug,
|
|
1384
1387
|
projectIcon: s._projectIcon || null,
|
|
1385
1388
|
vendor: s.vendor || null,
|
|
1386
1389
|
agentName: s.agentName || null,
|
|
1387
1390
|
isProcessing: !!s.isProcessing,
|
|
1391
|
+
// lr-0aa7b6: THIS session's own unread count, not the project
|
|
1392
|
+
// aggregate — the client keys the merged status dot's alert(red)
|
|
1393
|
+
// state on this field so only the actually-notifying session's
|
|
1394
|
+
// row lights up, not every sibling row in the same project.
|
|
1395
|
+
unread: getSessionUnread(ws, sessProjectSlug, s.localId),
|
|
1388
1396
|
};
|
|
1389
1397
|
});
|
|
1390
1398
|
sendTo(ws, { type: "hub_recent_sessions", sessions: mapped });
|
package/lib/project.js
CHANGED
|
@@ -165,6 +165,11 @@ function createProjectContext(opts) {
|
|
|
165
165
|
var getProjectList = opts.getProjectList || function () { return []; };
|
|
166
166
|
var getAllProjectSessions = opts.getAllProjectSessions || function () { return []; };
|
|
167
167
|
var getHubSchedules = opts.getHubSchedules || function () { return []; };
|
|
168
|
+
// lr-0aa7b6: per-session unread lookup consumed by the Home Hub Recent
|
|
169
|
+
// Sessions data path (project-loop.js hub_recent_sessions_list) to
|
|
170
|
+
// attribute alert state to the individual notifying session rather than
|
|
171
|
+
// the whole project.
|
|
172
|
+
var getSessionUnread = opts.getSessionUnread || function () { return 0; };
|
|
168
173
|
var moveScheduleToProject = opts.moveScheduleToProject || function () { return { ok: false, error: "Not supported" }; };
|
|
169
174
|
var moveAllSchedulesToProject = opts.moveAllSchedulesToProject || function () { return { ok: false, error: "Not supported" }; };
|
|
170
175
|
var getScheduleCount = opts.getScheduleCount || function () { return 0; };
|
|
@@ -621,6 +626,7 @@ function createProjectContext(opts) {
|
|
|
621
626
|
notificationsModule: _notifications,
|
|
622
627
|
getHubSchedules: getHubSchedules,
|
|
623
628
|
getAllProjectSessions: getAllProjectSessions,
|
|
629
|
+
getSessionUnread: getSessionUnread,
|
|
624
630
|
getStatus: getStatus,
|
|
625
631
|
getLinuxUserForSession: getLinuxUserForSession,
|
|
626
632
|
onProcessingChanged: onProcessingChanged,
|
package/lib/public/css/base.css
CHANGED
|
@@ -227,11 +227,24 @@ html, body {
|
|
|
227
227
|
opacity: 1;
|
|
228
228
|
transform: translateX(-50%) translateY(0);
|
|
229
229
|
}
|
|
230
|
+
/* lr-136f81: --warning-bg / --error-12 are translucent tokens designed for
|
|
231
|
+
inline diagnostic badges sitting inside an already-opaque panel
|
|
232
|
+
(diagnostics.css:310-312). A position:fixed overlay toast has live chat
|
|
233
|
+
content behind it, so a translucent background lets that content bleed
|
|
234
|
+
through and the toast reads as malformed. Layer the tint over the opaque
|
|
235
|
+
--bg-alt toast surface instead of using the translucent token directly —
|
|
236
|
+
--warning-bg itself stays untouched so the diagnostic-badge use case is
|
|
237
|
+
unaffected. */
|
|
230
238
|
.toast.toast-warn {
|
|
231
|
-
background: var(--warning-bg);
|
|
239
|
+
background: linear-gradient(var(--warning-bg), var(--warning-bg)), var(--bg-alt);
|
|
232
240
|
border-color: var(--warning);
|
|
233
241
|
color: var(--warning);
|
|
234
242
|
}
|
|
243
|
+
.toast.toast-error {
|
|
244
|
+
background: linear-gradient(var(--error-12), var(--error-12)), var(--bg-alt);
|
|
245
|
+
border-color: var(--error);
|
|
246
|
+
color: var(--error);
|
|
247
|
+
}
|
|
235
248
|
|
|
236
249
|
/* SW update banner — shown when a new service worker activates while the page is visible */
|
|
237
250
|
.sw-update-banner {
|
|
@@ -241,6 +241,21 @@
|
|
|
241
241
|
-------------------------------------------------------- */
|
|
242
242
|
.toast-diagnostic {
|
|
243
243
|
position: relative;
|
|
244
|
+
/* lr-56fb36: the base .toast rule (base.css) sets left:50% and bottom:80px
|
|
245
|
+
for its own center-bottom, single-toast anchoring. .toast-diagnostic
|
|
246
|
+
already overrides transform (translateY only, no translateX) and
|
|
247
|
+
position (relative, not fixed), but left/bottom are separate properties
|
|
248
|
+
that were never reset here — the cascade lets them leak through
|
|
249
|
+
unchanged, offsetting this box away from the normal-flow position the
|
|
250
|
+
corner-anchored #diagnostic-toast-container (lr-e901) computes for it.
|
|
251
|
+
That leftover left:50% is what pushes the toast off past the right
|
|
252
|
+
viewport edge on both desktop and mobile despite the lr-fab390/lr-4ef618
|
|
253
|
+
width clamps, which only bound the box's own width, not its offset.
|
|
254
|
+
Reset both explicitly so this box's position comes entirely from normal
|
|
255
|
+
flow inside the container, matching the positioning-comes-from-the-
|
|
256
|
+
parent contract stated below. */
|
|
257
|
+
left: auto;
|
|
258
|
+
bottom: auto;
|
|
244
259
|
opacity: 0;
|
|
245
260
|
transform: translateY(-8px);
|
|
246
261
|
pointer-events: auto;
|
|
@@ -491,28 +491,40 @@
|
|
|
491
491
|
opacity: 1;
|
|
492
492
|
box-shadow: 0 0 6px rgba(80, 250, 123, 0.4);
|
|
493
493
|
}
|
|
494
|
+
/* Alert state — color precedence LOCKED (andy, lr-0aa7b6):
|
|
495
|
+
alert(red) > processing(green) > live(green) > idle(grey). This class is
|
|
496
|
+
applied instead of .processing when the row's session is notifying, so
|
|
497
|
+
red always wins visually even if the session is also active. Same red
|
|
498
|
+
used by .icon-strip-project-badge (unread badge). Formerly a SEPARATE
|
|
499
|
+
right-side dot (.hub-recent-alert-dot, removed) — now just another color
|
|
500
|
+
state of the single left dot. */
|
|
501
|
+
.hub-recent-dot.alert {
|
|
502
|
+
background: #e74c3c;
|
|
503
|
+
opacity: 1;
|
|
504
|
+
box-shadow: 0 0 6px rgba(231, 76, 60, 0.5);
|
|
505
|
+
}
|
|
494
506
|
.hub-recent-project-icon {
|
|
495
507
|
font-size: 14px;
|
|
496
508
|
width: 20px;
|
|
497
509
|
text-align: center;
|
|
498
510
|
flex-shrink: 0;
|
|
499
511
|
}
|
|
500
|
-
/*
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
height: 6px;
|
|
506
|
-
border-radius: 50%;
|
|
507
|
-
flex-shrink: 0;
|
|
508
|
-
background: #e74c3c;
|
|
509
|
-
}
|
|
510
|
-
.hub-recent-project-icon--blank {
|
|
512
|
+
/* Fallback badge for projects with no emoji/custom icon set — same "two
|
|
513
|
+
letters from the project name" abbreviation sidebar-projects.js and
|
|
514
|
+
sidebar-mobile.js render via getProjectAbbrev() for the identical
|
|
515
|
+
null-icon case (lr-e5faff), sized to fit the Recent Sessions row. */
|
|
516
|
+
.hub-recent-project-icon--abbrev {
|
|
511
517
|
width: 20px;
|
|
512
518
|
height: 20px;
|
|
513
519
|
border-radius: 4px;
|
|
514
520
|
background: rgba(var(--overlay-rgb), 0.08);
|
|
515
|
-
display: inline-
|
|
521
|
+
display: inline-flex;
|
|
522
|
+
align-items: center;
|
|
523
|
+
justify-content: center;
|
|
524
|
+
font-size: 9px;
|
|
525
|
+
font-weight: 700;
|
|
526
|
+
letter-spacing: -0.2px;
|
|
527
|
+
color: var(--text-secondary);
|
|
516
528
|
vertical-align: middle;
|
|
517
529
|
}
|
|
518
530
|
.hub-recent-title {
|
|
@@ -565,11 +577,16 @@
|
|
|
565
577
|
#home-hub {
|
|
566
578
|
padding: 32px 16px calc(80px + var(--safe-bottom, 0px));
|
|
567
579
|
}
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
580
|
+
/* Close button (top:16px, 40px circle, right:20px) occupies the top-right
|
|
581
|
+
corner of #home-hub's padding box. Push the inner content down so the
|
|
582
|
+
search bar — full-width at this breakpoint — clears the button instead
|
|
583
|
+
of running underneath it (lr-ea6c65). */
|
|
571
584
|
.home-hub-inner {
|
|
572
585
|
max-width: 100%;
|
|
586
|
+
margin-top: 44px;
|
|
587
|
+
}
|
|
588
|
+
.hub-greeting h1 {
|
|
589
|
+
font-size: 22px;
|
|
573
590
|
}
|
|
574
591
|
.hub-columns {
|
|
575
592
|
grid-template-columns: 1fr;
|
|
@@ -1325,3 +1325,22 @@ button.top-bar-pill.pill-accent:hover { background: color-mix(in srgb, var(--acc
|
|
|
1325
1325
|
margin-top: 1.2rem;
|
|
1326
1326
|
letter-spacing: 0.03em;
|
|
1327
1327
|
}
|
|
1328
|
+
|
|
1329
|
+
/* lr-de5fcb Surface 1: shown only in the explicit "session expired" state,
|
|
1330
|
+
never during a normal transient-disconnect reconnect. */
|
|
1331
|
+
#connect-overlay-signin-btn {
|
|
1332
|
+
margin-top: 1rem;
|
|
1333
|
+
padding: 0.5rem 1.2rem;
|
|
1334
|
+
border-radius: 6px;
|
|
1335
|
+
border: 1px solid #DA7756;
|
|
1336
|
+
background: transparent;
|
|
1337
|
+
color: #DA7756;
|
|
1338
|
+
font-family: var(--font-mono);
|
|
1339
|
+
font-size: 0.85rem;
|
|
1340
|
+
cursor: pointer;
|
|
1341
|
+
}
|
|
1342
|
+
|
|
1343
|
+
#connect-overlay-signin-btn:hover {
|
|
1344
|
+
background: #DA7756;
|
|
1345
|
+
color: #000;
|
|
1346
|
+
}
|
package/lib/public/index.html
CHANGED
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
<meta name="theme-color" content="#282a36">
|
|
15
15
|
<link rel="icon" type="image/png" href="favicon-banded.png">
|
|
16
16
|
<link rel="apple-touch-icon" href="apple-touch-icon.png">
|
|
17
|
-
<title>Clagentic:Console</title>
|
|
17
|
+
<title>Clagentic: Console</title>
|
|
18
18
|
<link rel="preconnect" href="https://fonts.googleapis.com">
|
|
19
19
|
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
|
20
20
|
<link href="https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;1,9..40,300&family=DM+Mono:wght@300;400;500&family=Roboto+Mono:wght@400;500;700&family=Nunito:wght@700;800&display=swap" rel="stylesheet">
|
|
@@ -52,11 +52,11 @@
|
|
|
52
52
|
<button id="ext-pill" class="top-bar-ext-btn" title="Chrome Extension"><i data-lucide="puzzle"></i> Extension</button>
|
|
53
53
|
<div id="ext-popover" class="ext-popover">
|
|
54
54
|
<div class="ext-popover-header">
|
|
55
|
-
<div class="ext-popover-title">Clagentic:Console for Chrome <span class="ext-experimental">Experimental</span></div>
|
|
55
|
+
<div class="ext-popover-title">Clagentic: Console for Chrome <span class="ext-experimental">Experimental</span></div>
|
|
56
56
|
<div class="ext-popover-sub">v0.1.0</div>
|
|
57
57
|
</div>
|
|
58
58
|
<div class="ext-popover-connected hidden" id="ext-connected-banner"><i data-lucide="check-circle"></i> Extension connected</div>
|
|
59
|
-
<div class="ext-popover-desc" id="ext-popover-desc">Connect your browser to Clagentic:Console. Gives Claude visibility into open tabs, console, network, DOM, and screenshots.</div>
|
|
59
|
+
<div class="ext-popover-desc" id="ext-popover-desc">Connect your browser to Clagentic: Console. Gives Claude visibility into open tabs, console, network, DOM, and screenshots.</div>
|
|
60
60
|
<button class="ext-popover-download" id="ext-download-btn"><i data-lucide="download"></i> Download Extension (.zip)</button>
|
|
61
61
|
<div class="ext-popover-status hidden" id="ext-download-status"></div>
|
|
62
62
|
<div class="ext-popover-divider" id="ext-popover-divider"></div>
|
|
@@ -95,9 +95,9 @@
|
|
|
95
95
|
|
|
96
96
|
<!-- === Icon Strip === -->
|
|
97
97
|
<div id="icon-strip">
|
|
98
|
-
<div class="icon-strip-home" title="Clagentic:Console">
|
|
98
|
+
<div class="icon-strip-home" title="Clagentic: Console">
|
|
99
99
|
<span class="icon-strip-pill"></span>
|
|
100
|
-
<svg class="icon-strip-logo" width="38" height="38" viewBox="0 0 72 72" fill="none" xmlns="http://www.w3.org/2000/svg" aria-label="Clagentic:Console">
|
|
100
|
+
<svg class="icon-strip-logo" width="38" height="38" viewBox="0 0 72 72" fill="none" xmlns="http://www.w3.org/2000/svg" aria-label="Clagentic: Console">
|
|
101
101
|
<defs>
|
|
102
102
|
<linearGradient id="cg-strip" gradientUnits="userSpaceOnUse" x1="6" y1="10" x2="66" y2="62">
|
|
103
103
|
<stop offset="0%" stop-color="#00CFFF"/>
|
|
@@ -282,6 +282,7 @@
|
|
|
282
282
|
<div id="connect-overlay">
|
|
283
283
|
<svg id="console-logo-svg" viewBox="0 0 112 112" xmlns="http://www.w3.org/2000/svg" aria-hidden="true"></svg>
|
|
284
284
|
<p id="connect-overlay-msg">Reconnecting to server…</p>
|
|
285
|
+
<button id="connect-overlay-signin-btn" class="hidden">Sign in again</button>
|
|
285
286
|
</div>
|
|
286
287
|
<div id="sticky-notes-container" class="hidden"></div>
|
|
287
288
|
<div id="replay-loading" class="hidden">
|
|
@@ -949,7 +950,7 @@
|
|
|
949
950
|
<button class="layout-option" data-brand="classic">
|
|
950
951
|
<span class="layout-option-icon">◈</span>
|
|
951
952
|
<span class="layout-option-label">Classic</span>
|
|
952
|
-
<span class="layout-option-desc">The original Clagentic:Console look. Dracula dark, Ayu light.</span>
|
|
953
|
+
<span class="layout-option-desc">The original Clagentic: Console look. Dracula dark, Ayu light.</span>
|
|
953
954
|
</button>
|
|
954
955
|
</div>
|
|
955
956
|
</div>
|
|
@@ -1427,7 +1428,7 @@
|
|
|
1427
1428
|
</div>
|
|
1428
1429
|
<div class="server-settings-section" data-section="restart">
|
|
1429
1430
|
<h2>Restart</h2>
|
|
1430
|
-
<p class="settings-hint" style="margin-bottom: 16px;">Restart the Clagentic:Console daemon process. All active sessions will be briefly interrupted and clients will automatically reconnect.</p>
|
|
1431
|
+
<p class="settings-hint" style="margin-bottom: 16px;">Restart the Clagentic: Console daemon process. All active sessions will be briefly interrupted and clients will automatically reconnect.</p>
|
|
1431
1432
|
<div class="settings-card">
|
|
1432
1433
|
<div class="settings-field">
|
|
1433
1434
|
<label class="settings-label">Restart Daemon</label>
|
|
@@ -1445,7 +1446,7 @@
|
|
|
1445
1446
|
<div class="settings-danger-icon"><i data-lucide="alert-triangle"></i></div>
|
|
1446
1447
|
<div class="settings-danger-body">
|
|
1447
1448
|
<h3 class="settings-danger-title">Danger Zone</h3>
|
|
1448
|
-
<p class="settings-danger-desc">Shutting down the server will terminate all active sessions, disconnect all clients, and stop the Clagentic:Console daemon process. This action cannot be undone.</p>
|
|
1449
|
+
<p class="settings-danger-desc">Shutting down the server will terminate all active sessions, disconnect all clients, and stop the Clagentic: Console daemon process. This action cannot be undone.</p>
|
|
1449
1450
|
</div>
|
|
1450
1451
|
</div>
|
|
1451
1452
|
<div class="settings-card settings-card-danger">
|
|
@@ -1696,7 +1697,7 @@
|
|
|
1696
1697
|
<button class="skills-close" id="mcp-modal-close"><i data-lucide="x"></i></button>
|
|
1697
1698
|
</div>
|
|
1698
1699
|
<div class="mcp-content" id="mcp-content">
|
|
1699
|
-
<p class="mcp-no-servers">No MCP servers detected. Configure in Clagentic:Console Chrome Extension.</p>
|
|
1700
|
+
<p class="mcp-no-servers">No MCP servers detected. Configure in Clagentic: Console Chrome Extension.</p>
|
|
1700
1701
|
</div>
|
|
1701
1702
|
</div>
|
|
1702
1703
|
</div>
|
|
@@ -1794,7 +1795,7 @@
|
|
|
1794
1795
|
<h3>Provide details</h3>
|
|
1795
1796
|
<div id="ralph-input-task-section" class="hidden">
|
|
1796
1797
|
<label class="ralph-field-label" for="ralph-task">Task description <span class="ralph-field-req">*</span></label>
|
|
1797
|
-
<p class="ralph-hint">Write a rough idea. Clagentic:Console will refine it into detailed instructions.</p>
|
|
1798
|
+
<p class="ralph-hint">Write a rough idea. Clagentic: Console will refine it into detailed instructions.</p>
|
|
1798
1799
|
<textarea id="ralph-task" rows="5" placeholder="e.g. Add dark mode toggle to the settings page"></textarea>
|
|
1799
1800
|
</div>
|
|
1800
1801
|
<div id="ralph-input-prompt-section" class="hidden">
|
|
@@ -2082,7 +2083,7 @@
|
|
|
2082
2083
|
<div class="pwa-modal-card">
|
|
2083
2084
|
<div class="pwa-modal-icon">📲</div>
|
|
2084
2085
|
<h3 class="pwa-modal-title">Add to Home Screen</h3>
|
|
2085
|
-
<p class="pwa-modal-desc">Add Clagentic:Console to your home screen for a better experience.</p>
|
|
2086
|
+
<p class="pwa-modal-desc">Add Clagentic: Console to your home screen for a better experience.</p>
|
|
2086
2087
|
<ul class="pwa-modal-benefits">
|
|
2087
2088
|
<li><i data-lucide="maximize" class="pwa-benefit-icon"></i>Full-screen — no browser toolbar</li>
|
|
2088
2089
|
<li><i data-lucide="bell" class="pwa-benefit-icon"></i>Push notifications when tasks finish</li>
|
package/lib/public/manifest.json
CHANGED