@clagentic/console 1.0.0-beta.3 → 1.0.1-beta.1
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/CREDITS.md +1 -0
- package/LICENSE +1 -0
- package/README.md +64 -174
- package/bin/cli.js +10 -15
- package/lib/agents-favorites.js +1 -0
- package/lib/ask-user-mcp-server.js +1 -0
- package/lib/config.js +1 -0
- package/lib/crisis-safety.js +1 -0
- package/lib/daemon.js +38 -2
- package/lib/dm.js +1 -0
- package/lib/mcp-local.js +1 -0
- package/lib/os-users.js +1 -0
- package/lib/pages.js +8 -71
- package/lib/project-connection.js +3 -28
- package/lib/project-external-trigger.js +1 -0
- package/lib/project-http.js +1 -0
- package/lib/project-knowledge.js +3 -2
- package/lib/project-loop.js +1 -1
- package/lib/project-mcp.js +1 -0
- package/lib/project-memory.js +1 -0
- package/lib/project-sessions.js +2 -1
- package/lib/project-user-message.js +2 -1
- package/lib/project.js +1 -0
- package/lib/public/app.js +2 -1
- package/lib/public/css/admin.css +23 -0
- package/lib/public/css/base.css +52 -0
- package/lib/public/css/channel-layout.css +1 -0
- package/lib/public/css/debate.css +1 -0
- package/lib/public/css/filebrowser.css +14 -0
- package/lib/public/css/home-hub.css +1 -0
- package/lib/public/css/icon-strip.css +2 -15
- package/lib/public/css/loop.css +1 -0
- package/lib/public/css/mention.css +2 -1
- package/lib/public/css/server-settings.css +206 -41
- package/lib/public/css/session-search.css +1 -0
- package/lib/public/css/stt.css +1 -0
- package/lib/public/index.html +45 -48
- package/lib/public/modules/admin.js +55 -2
- package/lib/public/modules/app-connection.js +1 -1
- package/lib/public/modules/app-dm.js +1 -1
- package/lib/public/modules/app-favicon.js +1 -0
- package/lib/public/modules/app-home-hub.js +1 -0
- package/lib/public/modules/app-loop-ui.js +1 -1
- package/lib/public/modules/app-loop-wizard.js +1 -1
- package/lib/public/modules/app-messages.js +23 -3
- package/lib/public/modules/app-misc.js +2 -9
- package/lib/public/modules/app-notifications.js +2 -2
- package/lib/public/modules/app-panels.js +13 -7
- package/lib/public/modules/app-projects.js +1 -0
- package/lib/public/modules/app-rate-limit.js +1 -1
- package/lib/public/modules/app-rendering.js +14 -7
- package/lib/public/modules/app-skills-install.js +1 -1
- package/lib/public/modules/command-palette.js +1 -1
- package/lib/public/modules/mention.js +3 -2
- package/lib/public/modules/notifications.js +34 -0
- package/lib/public/modules/playbook.js +1 -0
- package/lib/public/modules/profile.js +1 -1
- package/lib/public/modules/project-settings.js +179 -12
- package/lib/public/modules/project-switcher.js +29 -91
- package/lib/public/modules/server-settings.js +234 -11
- package/lib/public/modules/session-search.js +1 -0
- package/lib/public/modules/sidebar-mobile.js +0 -1
- package/lib/public/modules/sidebar-projects.js +19 -0
- package/lib/public/modules/sidebar-sessions.js +1 -0
- package/lib/public/modules/sidebar-users.js +3 -3
- package/lib/public/modules/store.js +26 -4
- package/lib/public/modules/theme.js +9 -9
- package/lib/public/modules/tools.js +2 -1
- package/lib/public/modules/user-settings.js +1 -1
- package/lib/public/style.css +1 -0
- package/lib/public/sw.js +10 -2
- package/lib/push.js +2 -1
- package/lib/sdk-bridge.js +1 -0
- package/lib/sdk-message-processor.js +11 -0
- package/lib/sdk-worker.js +1 -0
- package/lib/server-auth.js +2 -2
- package/lib/server-dm.js +1 -0
- package/lib/server-palette.js +1 -0
- package/lib/server-settings.js +26 -25
- package/lib/server-skills.js +1 -1
- package/lib/server.js +28 -4
- package/lib/session-search.js +1 -0
- package/lib/sessions.js +4 -1
- package/lib/smtp.js +7 -7
- package/lib/users-auth.js +30 -5
- package/lib/users-preferences.js +1 -0
- package/lib/users.js +2 -0
- package/lib/ws-schema.js +1 -0
- package/lib/yoke/adapters/claude-worker.js +1 -0
- package/lib/yoke/adapters/claude.js +1 -0
- package/lib/yoke/adapters/codex.js +1 -1
- package/lib/yoke/mcp-bridge-server.js +1 -0
- package/package.json +3 -3
package/lib/pages.js
CHANGED
|
@@ -48,8 +48,8 @@ function setupPageHtml(httpsUrl, httpUrl, hasCert, lanMode) {
|
|
|
48
48
|
<link rel="apple-touch-icon" href="/apple-touch-icon.png">
|
|
49
49
|
<title>Setup - Clagentic:Console</title>
|
|
50
50
|
<style>
|
|
51
|
-
:root{--s-bg:#
|
|
52
|
-
@media(prefers-color-scheme:light){:root{--s-bg:#
|
|
51
|
+
: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)}
|
|
52
|
+
@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)}}
|
|
53
53
|
*{margin:0;padding:0;box-sizing:border-box}
|
|
54
54
|
body{background:var(--s-bg);color:var(--s-text);font-family:system-ui,-apple-system,sans-serif;min-height:100dvh;display:flex;justify-content:center;padding:env(safe-area-inset-top,0) 20px 40px}
|
|
55
55
|
.c{max-width:480px;width:100%;padding-top:40px}
|
|
@@ -100,6 +100,10 @@ h1{color:var(--s-accent);font-size:22px;margin:0 0 4px;text-align:center}
|
|
|
100
100
|
|
|
101
101
|
.skip-link{display:block;text-align:center;color:var(--s-dimmer);font-size:13px;text-decoration:none;margin-top:12px;cursor:pointer;border:none;background:none;font-family:inherit}
|
|
102
102
|
.skip-link:hover{color:var(--s-muted)}
|
|
103
|
+
.done-note{font-size:13px;color:var(--s-muted);line-height:1.6;margin-bottom:20px;text-align:left}
|
|
104
|
+
.done-note a{color:var(--s-accent);text-decoration:none}
|
|
105
|
+
.done-note a:hover{text-decoration:underline}
|
|
106
|
+
.done-note .skip-link{display:inline;margin-top:0;font-size:13px}
|
|
103
107
|
</style></head><body>
|
|
104
108
|
<div class="c">
|
|
105
109
|
<h1>Clagentic:Console</h1>
|
|
@@ -107,44 +111,6 @@ h1{color:var(--s-accent);font-size:22px;margin:0 0 4px;text-align:center}
|
|
|
107
111
|
|
|
108
112
|
<div class="steps-bar" id="steps-bar"></div>
|
|
109
113
|
|
|
110
|
-
<!-- Step: Tailscale -->
|
|
111
|
-
<div class="step-card" id="step-tailscale">
|
|
112
|
-
<div class="step-label">Step <span class="step-cur">1</span> of <span class="step-total">4</span></div>
|
|
113
|
-
<div class="step-title">Connect via Tailscale</div>
|
|
114
|
-
<div class="step-desc">Tailscale creates a private VPN so you can access Clagentic:Console from anywhere. It needs to be installed on <b>both</b> the server (the machine running Clagentic:Console) and this device.</div>
|
|
115
|
-
|
|
116
|
-
<div class="instruction"><div class="inst-num">1</div>
|
|
117
|
-
<div class="inst-text"><b>Server:</b> Install Tailscale on the machine running Clagentic:Console.
|
|
118
|
-
<div class="note">If you are viewing this page, the server likely already has Tailscale. You can verify by checking its 100.x.x.x IP.</div>
|
|
119
|
-
</div>
|
|
120
|
-
</div>
|
|
121
|
-
|
|
122
|
-
<div class="instruction"><div class="inst-num">2</div>
|
|
123
|
-
<div class="inst-text"><b>This device:</b> Install Tailscale here and sign in with the same account.
|
|
124
|
-
<div class="platform-ios" style="margin-top:8px">
|
|
125
|
-
<a class="btn" href="https://apps.apple.com/app/tailscale/id1470499037" target="_blank" rel="noopener">App Store</a>
|
|
126
|
-
</div>
|
|
127
|
-
<div class="platform-android" style="margin-top:8px">
|
|
128
|
-
<a class="btn" href="https://play.google.com/store/apps/details?id=com.tailscale.ipn" target="_blank" rel="noopener">Google Play</a>
|
|
129
|
-
</div>
|
|
130
|
-
<div class="platform-desktop" style="margin-top:8px">
|
|
131
|
-
<a class="btn" href="https://tailscale.com/download" target="_blank" rel="noopener">Download Tailscale</a>
|
|
132
|
-
</div>
|
|
133
|
-
</div>
|
|
134
|
-
</div>
|
|
135
|
-
|
|
136
|
-
<div class="instruction"><div class="inst-num">3</div>
|
|
137
|
-
<div class="inst-text">Once both devices are on Tailscale, open the relay using the server's Tailscale IP.
|
|
138
|
-
<div class="note" id="tailscale-url-hint"></div>
|
|
139
|
-
</div>
|
|
140
|
-
</div>
|
|
141
|
-
|
|
142
|
-
<div id="ts-status" class="check-status pending">Checking connection...</div>
|
|
143
|
-
<div class="btn-row">
|
|
144
|
-
<button class="btn" id="ts-next" onclick="nextStep()" disabled>Verifying...</button>
|
|
145
|
-
</div>
|
|
146
|
-
</div>
|
|
147
|
-
|
|
148
114
|
<!-- Step: Certificate -->
|
|
149
115
|
<div class="step-card" id="step-cert">
|
|
150
116
|
<div class="step-label">Step <span class="step-cur">1</span> of <span class="step-total">3</span></div>
|
|
@@ -256,6 +222,7 @@ h1{color:var(--s-accent);font-size:22px;margin:0 0 4px;text-align:center}
|
|
|
256
222
|
<div class="btn-row">
|
|
257
223
|
<button class="btn" id="push-next" onclick="nextStep()" style="display:none;width:100%">Finish</button>
|
|
258
224
|
</div>
|
|
225
|
+
<button class="skip-link" id="push-skip" onclick="nextStep()">Skip — I'll enable notifications later</button>
|
|
259
226
|
</div>
|
|
260
227
|
|
|
261
228
|
<!-- Done -->
|
|
@@ -264,6 +231,7 @@ h1{color:var(--s-accent);font-size:22px;margin:0 0 4px;text-align:center}
|
|
|
264
231
|
<div class="done-icon">✓</div>
|
|
265
232
|
<div class="done-title">All set!</div>
|
|
266
233
|
<div class="done-desc">Your device is configured. You can change these settings anytime from the app.</div>
|
|
234
|
+
<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>
|
|
267
235
|
<a class="btn" id="done-link" href="${httpsUrl}">Open Clagentic:Console</a>
|
|
268
236
|
</div>
|
|
269
237
|
</div>
|
|
@@ -301,8 +269,6 @@ if (isIOS) {
|
|
|
301
269
|
}
|
|
302
270
|
}
|
|
303
271
|
|
|
304
|
-
// Tailscale detection
|
|
305
|
-
var isTailscale = /^100\./.test(location.hostname);
|
|
306
272
|
var isLocal = location.hostname === "localhost" || location.hostname === "127.0.0.1";
|
|
307
273
|
|
|
308
274
|
// Detect push subscription, then build steps
|
|
@@ -330,7 +296,6 @@ if (isStandalone && localStorage.getItem("setup-pending")) {
|
|
|
330
296
|
|
|
331
297
|
function buildSteps(hasPushSub) {
|
|
332
298
|
steps = [];
|
|
333
|
-
if (!isTailscale && !isLocal && !lanMode) steps.push("tailscale");
|
|
334
299
|
if (hasCert && !isHttps) steps.push("cert");
|
|
335
300
|
if (isAndroid) {
|
|
336
301
|
// Android: push first (works in browser), then PWA as optional
|
|
@@ -418,34 +383,6 @@ function nextStep() {
|
|
|
418
383
|
if (currentStep < steps.length - 1) showStep(currentStep + 1);
|
|
419
384
|
}
|
|
420
385
|
|
|
421
|
-
// --- Step: Tailscale ---
|
|
422
|
-
var tsStatus = document.getElementById("ts-status");
|
|
423
|
-
var tsNext = document.getElementById("ts-next");
|
|
424
|
-
var tsUrlHint = document.getElementById("tailscale-url-hint");
|
|
425
|
-
|
|
426
|
-
if (isTailscale) {
|
|
427
|
-
tsStatus.className = "check-status ok";
|
|
428
|
-
tsStatus.textContent = "Connected via Tailscale (" + location.hostname + ")";
|
|
429
|
-
tsNext.disabled = false;
|
|
430
|
-
tsNext.textContent = "Next";
|
|
431
|
-
} else if (isLocal) {
|
|
432
|
-
tsStatus.className = "check-status ok";
|
|
433
|
-
tsStatus.textContent = "Running locally. Tailscale is optional.";
|
|
434
|
-
tsNext.disabled = false;
|
|
435
|
-
tsNext.textContent = "Next";
|
|
436
|
-
} else {
|
|
437
|
-
tsStatus.className = "check-status warn";
|
|
438
|
-
tsStatus.textContent = "You are not on a Tailscale network. Install Tailscale and access the relay via your 100.x.x.x IP.";
|
|
439
|
-
tsNext.disabled = false;
|
|
440
|
-
tsNext.textContent = "Next";
|
|
441
|
-
}
|
|
442
|
-
|
|
443
|
-
// Show the Tailscale URL hint
|
|
444
|
-
if (httpsUrl.indexOf("100.") !== -1) {
|
|
445
|
-
tsUrlHint.textContent = "Your relay: " + httpsUrl;
|
|
446
|
-
} else if (httpUrl.indexOf("100.") !== -1) {
|
|
447
|
-
tsUrlHint.textContent = "Your relay: " + httpUrl;
|
|
448
|
-
}
|
|
449
386
|
|
|
450
387
|
// --- Step: Certificate ---
|
|
451
388
|
// Same pattern as main page HTTP->HTTPS check: fetch httpsUrl/info (has CORS headers).
|
|
@@ -149,36 +149,11 @@ function attachConnection(ctx) {
|
|
|
149
149
|
if (_notifications) _notifications.sendConnectionState(ws, sendTo);
|
|
150
150
|
|
|
151
151
|
// Session list (filtered for access control)
|
|
152
|
+
// Use the canonical mapper from sessions.js
|
|
153
|
+
var activeId = restoredActive ? restoredActive.localId : sm.activeSessionId;
|
|
152
154
|
sendTo(ws, {
|
|
153
155
|
type: "session_list",
|
|
154
|
-
sessions: allSessions.map(function (s) {
|
|
155
|
-
var loop = s.loop ? Object.assign({}, s.loop) : null;
|
|
156
|
-
if (loop && loop.loopId && loopRegistry) {
|
|
157
|
-
var rec = loopRegistry.getById(loop.loopId);
|
|
158
|
-
if (rec) {
|
|
159
|
-
if (rec.name) loop.name = rec.name;
|
|
160
|
-
if (rec.source) loop.source = rec.source;
|
|
161
|
-
}
|
|
162
|
-
}
|
|
163
|
-
return {
|
|
164
|
-
id: s.localId,
|
|
165
|
-
cliSessionId: s.cliSessionId || null,
|
|
166
|
-
title: s.title || "New Session",
|
|
167
|
-
active: s.localId === (restoredActive ? restoredActive.localId : sm.activeSessionId),
|
|
168
|
-
isProcessing: s.isProcessing,
|
|
169
|
-
lastActivity: s.lastActivity || s.createdAt || 0,
|
|
170
|
-
loop: loop,
|
|
171
|
-
ownerId: s.ownerId || null,
|
|
172
|
-
sessionVisibility: s.sessionVisibility || "shared",
|
|
173
|
-
bookmarked: !!s.bookmarked,
|
|
174
|
-
favoriteOrder: typeof s.favoriteOrder === "number" ? s.favoriteOrder : null,
|
|
175
|
-
// Keep this aligned with sessions.js:mapSessionForClient — fields
|
|
176
|
-
// omitted here vanish from the row when this connect-time path runs
|
|
177
|
-
// instead of the standard broadcast.
|
|
178
|
-
vendor: s.vendor || null,
|
|
179
|
-
agentName: s.agentName || null,
|
|
180
|
-
};
|
|
181
|
-
}),
|
|
156
|
+
sessions: allSessions.map(function (s) { return sm.mapSessionForClient(s, activeId); }),
|
|
182
157
|
});
|
|
183
158
|
|
|
184
159
|
// Restore active session for this client from server-side presence
|
package/lib/project-http.js
CHANGED
package/lib/project-knowledge.js
CHANGED
|
@@ -5,7 +5,7 @@ var path = require("path");
|
|
|
5
5
|
* Attach knowledge file management to a project context.
|
|
6
6
|
* ctx fields: cwd, sendTo
|
|
7
7
|
*
|
|
8
|
-
* Note:
|
|
8
|
+
* Note: knowledge_promote and knowledge_depromote were mate-only features (lr-316f).
|
|
9
9
|
* Those message types are kept as no-ops for safe handling.
|
|
10
10
|
*/
|
|
11
11
|
function attachKnowledge(ctx) {
|
|
@@ -72,7 +72,7 @@ function attachKnowledge(ctx) {
|
|
|
72
72
|
return true;
|
|
73
73
|
}
|
|
74
74
|
|
|
75
|
-
// knowledge_promote
|
|
75
|
+
// knowledge_promote and knowledge_depromote are no-op stubs (mate-only feature, lr-316f)
|
|
76
76
|
if (msg.type === "knowledge_promote" || msg.type === "knowledge_depromote") {
|
|
77
77
|
return true;
|
|
78
78
|
}
|
|
@@ -86,3 +86,4 @@ function attachKnowledge(ctx) {
|
|
|
86
86
|
}
|
|
87
87
|
|
|
88
88
|
module.exports = { attachKnowledge };
|
|
89
|
+
|
package/lib/project-loop.js
CHANGED
|
@@ -934,7 +934,7 @@ function attachLoop(ctx) {
|
|
|
934
934
|
return true;
|
|
935
935
|
}
|
|
936
936
|
|
|
937
|
-
// Default: "draft" mode —
|
|
937
|
+
// Default: "draft" mode — crafts files via the clay-ralph skill
|
|
938
938
|
var _draftIsSimple = wData.loopMode === "simple";
|
|
939
939
|
var craftingPrompt;
|
|
940
940
|
if (_draftIsSimple) {
|
package/lib/project-mcp.js
CHANGED
package/lib/project-memory.js
CHANGED
package/lib/project-sessions.js
CHANGED
|
@@ -452,7 +452,7 @@ function attachSessions(ctx) {
|
|
|
452
452
|
}
|
|
453
453
|
|
|
454
454
|
if (msg.type === "set_mate_dm") {
|
|
455
|
-
// set_mate_dm is a no-op
|
|
455
|
+
// set_mate_dm is a no-op stub (mate feature removed, lr-316f)
|
|
456
456
|
return true;
|
|
457
457
|
}
|
|
458
458
|
|
|
@@ -1579,3 +1579,4 @@ function attachSessions(ctx) {
|
|
|
1579
1579
|
}
|
|
1580
1580
|
|
|
1581
1581
|
module.exports = { attachSessions: attachSessions };
|
|
1582
|
+
|
|
@@ -73,7 +73,7 @@ function attachUserMessage(ctx) {
|
|
|
73
73
|
// --------------- Sticky notes ---------------
|
|
74
74
|
|
|
75
75
|
function syncNotesKnowledge() {
|
|
76
|
-
// No-op
|
|
76
|
+
// No-op stub (mate-only feature, lr-316f)
|
|
77
77
|
}
|
|
78
78
|
|
|
79
79
|
// --------------- Main handler ---------------
|
|
@@ -626,3 +626,4 @@ function attachUserMessage(ctx) {
|
|
|
626
626
|
}
|
|
627
627
|
|
|
628
628
|
module.exports = { attachUserMessage: attachUserMessage };
|
|
629
|
+
|
package/lib/project.js
CHANGED
package/lib/public/app.js
CHANGED
|
@@ -972,7 +972,7 @@ import { initMention, handleMentionStart, handleMentionStream, handleMentionDone
|
|
|
972
972
|
requireSkills({
|
|
973
973
|
title: "Skill Installation Required",
|
|
974
974
|
reason: "This feature requires the following skill to be installed.",
|
|
975
|
-
skills: [
|
|
975
|
+
skills: []
|
|
976
976
|
}, cb);
|
|
977
977
|
},
|
|
978
978
|
getProjects: function () { return getCachedProjects(); },
|
|
@@ -1029,3 +1029,4 @@ import { initMention, handleMentionStart, handleMentionStream, handleMentionDone
|
|
|
1029
1029
|
} else {
|
|
1030
1030
|
inputEl.focus();
|
|
1031
1031
|
}
|
|
1032
|
+
|
package/lib/public/css/admin.css
CHANGED
|
@@ -734,3 +734,26 @@
|
|
|
734
734
|
.admin-perm-toggle:checked::before {
|
|
735
735
|
transform: translateX(16px);
|
|
736
736
|
}
|
|
737
|
+
|
|
738
|
+
.migration-callout {
|
|
739
|
+
background: var(--overlay-soft, rgba(124, 58, 237, 0.08));
|
|
740
|
+
border: 1px solid var(--accent, #7c3aed);
|
|
741
|
+
border-radius: 8px;
|
|
742
|
+
padding: 14px 16px;
|
|
743
|
+
margin-bottom: 16px;
|
|
744
|
+
}
|
|
745
|
+
|
|
746
|
+
.migration-callout strong {
|
|
747
|
+
display: block;
|
|
748
|
+
margin-bottom: 6px;
|
|
749
|
+
}
|
|
750
|
+
|
|
751
|
+
.migration-callout p {
|
|
752
|
+
margin: 0 0 10px 0;
|
|
753
|
+
font-size: 13px;
|
|
754
|
+
color: var(--text-muted);
|
|
755
|
+
}
|
|
756
|
+
|
|
757
|
+
.migration-callout .admin-action-btn {
|
|
758
|
+
margin-top: 4px;
|
|
759
|
+
}
|
package/lib/public/css/base.css
CHANGED
|
@@ -233,3 +233,55 @@ html, body {
|
|
|
233
233
|
color: var(--warning);
|
|
234
234
|
}
|
|
235
235
|
|
|
236
|
+
/* SW update banner — shown when a new service worker activates while the page is visible */
|
|
237
|
+
.sw-update-banner {
|
|
238
|
+
position: fixed;
|
|
239
|
+
bottom: 80px;
|
|
240
|
+
left: 50%;
|
|
241
|
+
transform: translateX(-50%) translateY(8px);
|
|
242
|
+
background: var(--bg-alt);
|
|
243
|
+
color: var(--text);
|
|
244
|
+
border: 1px solid var(--accent);
|
|
245
|
+
border-radius: 10px;
|
|
246
|
+
padding: 8px 12px 8px 16px;
|
|
247
|
+
font-size: 13px;
|
|
248
|
+
font-weight: 500;
|
|
249
|
+
z-index: 400;
|
|
250
|
+
opacity: 0;
|
|
251
|
+
transition: opacity 0.2s, transform 0.2s;
|
|
252
|
+
box-shadow: 0 4px 20px rgba(var(--shadow-rgb), 0.3);
|
|
253
|
+
display: flex;
|
|
254
|
+
align-items: center;
|
|
255
|
+
gap: 10px;
|
|
256
|
+
white-space: nowrap;
|
|
257
|
+
}
|
|
258
|
+
.sw-update-banner.visible {
|
|
259
|
+
opacity: 1;
|
|
260
|
+
transform: translateX(-50%) translateY(0);
|
|
261
|
+
}
|
|
262
|
+
.sw-update-banner-btn {
|
|
263
|
+
background: var(--accent);
|
|
264
|
+
color: var(--accent-text, #1a1208);
|
|
265
|
+
border: none;
|
|
266
|
+
border-radius: 6px;
|
|
267
|
+
padding: 4px 10px;
|
|
268
|
+
font-size: 12px;
|
|
269
|
+
font-weight: 600;
|
|
270
|
+
cursor: pointer;
|
|
271
|
+
}
|
|
272
|
+
.sw-update-banner-btn:hover {
|
|
273
|
+
filter: brightness(1.1);
|
|
274
|
+
}
|
|
275
|
+
.sw-update-banner-dismiss {
|
|
276
|
+
background: transparent;
|
|
277
|
+
border: none;
|
|
278
|
+
color: var(--text-dim);
|
|
279
|
+
cursor: pointer;
|
|
280
|
+
font-size: 14px;
|
|
281
|
+
padding: 2px 4px;
|
|
282
|
+
line-height: 1;
|
|
283
|
+
}
|
|
284
|
+
.sw-update-banner-dismiss:hover {
|
|
285
|
+
color: var(--text);
|
|
286
|
+
}
|
|
287
|
+
|
|
@@ -921,6 +921,20 @@
|
|
|
921
921
|
display: block;
|
|
922
922
|
width: calc(100% - 32px);
|
|
923
923
|
margin: 0 16px 12px;
|
|
924
|
+
padding: 10px 12px;
|
|
925
|
+
font-family: inherit;
|
|
926
|
+
font-size: 14px;
|
|
927
|
+
font-weight: 600;
|
|
928
|
+
color: var(--text);
|
|
929
|
+
background: var(--bg-alt);
|
|
930
|
+
border: 1px solid var(--border);
|
|
931
|
+
border-radius: 10px;
|
|
932
|
+
-webkit-appearance: none;
|
|
933
|
+
appearance: none;
|
|
934
|
+
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
|
|
935
|
+
background-repeat: no-repeat;
|
|
936
|
+
background-position: right 12px center;
|
|
937
|
+
cursor: pointer;
|
|
924
938
|
}
|
|
925
939
|
|
|
926
940
|
.project-settings-content {
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
display: flex;
|
|
11
11
|
flex-direction: column;
|
|
12
12
|
align-items: center;
|
|
13
|
-
padding: 0 0
|
|
13
|
+
padding: 0 0 64px;
|
|
14
14
|
overflow: hidden;
|
|
15
15
|
z-index: 2;
|
|
16
16
|
}
|
|
@@ -832,17 +832,6 @@
|
|
|
832
832
|
bottom of the strip. Groups the \u2318M hint pill with the users
|
|
833
833
|
list so the hint sits directly above the mate avatars rather than
|
|
834
834
|
floating up in the project section's flex flow. */
|
|
835
|
-
.icon-strip-mate-section {
|
|
836
|
-
position: absolute;
|
|
837
|
-
bottom: 74px; /* above user-island (58px + 8px bottom + 8px gap) */
|
|
838
|
-
left: 50%;
|
|
839
|
-
transform: translateX(-50%);
|
|
840
|
-
display: flex;
|
|
841
|
-
flex-direction: column;
|
|
842
|
-
align-items: center;
|
|
843
|
-
gap: 4px;
|
|
844
|
-
}
|
|
845
|
-
|
|
846
835
|
/* --- User avatars (circle, inside the mate section) --- */
|
|
847
836
|
.icon-strip-users {
|
|
848
837
|
width: 56px;
|
|
@@ -850,9 +839,7 @@
|
|
|
850
839
|
flex-direction: column;
|
|
851
840
|
align-items: center;
|
|
852
841
|
gap: 0;
|
|
853
|
-
padding:
|
|
854
|
-
background: var(--bg-alt);
|
|
855
|
-
border-radius: 8px;
|
|
842
|
+
padding: 4px 0;
|
|
856
843
|
}
|
|
857
844
|
|
|
858
845
|
.icon-strip-users.hidden {
|
package/lib/public/css/loop.css
CHANGED
|
@@ -288,7 +288,7 @@
|
|
|
288
288
|
}
|
|
289
289
|
|
|
290
290
|
/* DM-style mention: override the DM mate avatar so it uses the mentioned mate's avatar */
|
|
291
|
-
.msg-mention-dm .dm-bubble-avatar-
|
|
291
|
+
.msg-mention-dm .dm-bubble-avatar-agent {
|
|
292
292
|
/* Inherits dm-bubble-avatar styling from mates.css */
|
|
293
293
|
}
|
|
294
294
|
|
|
@@ -315,3 +315,4 @@
|
|
|
315
315
|
padding: 4px 12px;
|
|
316
316
|
}
|
|
317
317
|
}
|
|
318
|
+
|