@clagentic/console 1.0.0-beta.4 → 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.
Files changed (93) hide show
  1. package/CREDITS.md +1 -0
  2. package/LICENSE +1 -0
  3. package/README.md +64 -174
  4. package/bin/cli.js +10 -15
  5. package/lib/agents-favorites.js +1 -0
  6. package/lib/ask-user-mcp-server.js +1 -0
  7. package/lib/config.js +1 -0
  8. package/lib/crisis-safety.js +1 -0
  9. package/lib/daemon.js +38 -2
  10. package/lib/dm.js +1 -0
  11. package/lib/mcp-local.js +1 -0
  12. package/lib/os-users.js +1 -0
  13. package/lib/pages.js +8 -71
  14. package/lib/project-connection.js +3 -28
  15. package/lib/project-external-trigger.js +1 -0
  16. package/lib/project-http.js +1 -0
  17. package/lib/project-knowledge.js +3 -2
  18. package/lib/project-loop.js +1 -1
  19. package/lib/project-mcp.js +1 -0
  20. package/lib/project-memory.js +1 -0
  21. package/lib/project-sessions.js +2 -1
  22. package/lib/project-user-message.js +2 -1
  23. package/lib/project.js +1 -0
  24. package/lib/public/app.js +2 -1
  25. package/lib/public/css/admin.css +23 -0
  26. package/lib/public/css/base.css +52 -0
  27. package/lib/public/css/channel-layout.css +1 -0
  28. package/lib/public/css/debate.css +1 -0
  29. package/lib/public/css/filebrowser.css +14 -0
  30. package/lib/public/css/home-hub.css +1 -0
  31. package/lib/public/css/icon-strip.css +2 -15
  32. package/lib/public/css/loop.css +1 -0
  33. package/lib/public/css/mention.css +2 -1
  34. package/lib/public/css/server-settings.css +206 -41
  35. package/lib/public/css/session-search.css +1 -0
  36. package/lib/public/css/stt.css +1 -0
  37. package/lib/public/index.html +45 -48
  38. package/lib/public/modules/admin.js +55 -2
  39. package/lib/public/modules/app-connection.js +1 -1
  40. package/lib/public/modules/app-dm.js +1 -1
  41. package/lib/public/modules/app-favicon.js +1 -0
  42. package/lib/public/modules/app-home-hub.js +1 -0
  43. package/lib/public/modules/app-loop-ui.js +1 -1
  44. package/lib/public/modules/app-loop-wizard.js +1 -1
  45. package/lib/public/modules/app-messages.js +16 -4
  46. package/lib/public/modules/app-misc.js +2 -9
  47. package/lib/public/modules/app-notifications.js +2 -2
  48. package/lib/public/modules/app-panels.js +13 -7
  49. package/lib/public/modules/app-projects.js +1 -0
  50. package/lib/public/modules/app-rate-limit.js +1 -1
  51. package/lib/public/modules/app-rendering.js +9 -4
  52. package/lib/public/modules/app-skills-install.js +1 -1
  53. package/lib/public/modules/command-palette.js +1 -1
  54. package/lib/public/modules/mention.js +3 -2
  55. package/lib/public/modules/notifications.js +34 -0
  56. package/lib/public/modules/playbook.js +1 -0
  57. package/lib/public/modules/profile.js +1 -1
  58. package/lib/public/modules/project-settings.js +179 -12
  59. package/lib/public/modules/project-switcher.js +29 -91
  60. package/lib/public/modules/server-settings.js +234 -11
  61. package/lib/public/modules/session-search.js +1 -0
  62. package/lib/public/modules/sidebar-mobile.js +0 -1
  63. package/lib/public/modules/sidebar-projects.js +19 -0
  64. package/lib/public/modules/sidebar-sessions.js +1 -0
  65. package/lib/public/modules/sidebar-users.js +3 -3
  66. package/lib/public/modules/store.js +26 -4
  67. package/lib/public/modules/theme.js +9 -9
  68. package/lib/public/modules/tools.js +2 -1
  69. package/lib/public/modules/user-settings.js +1 -1
  70. package/lib/public/style.css +1 -0
  71. package/lib/public/sw.js +10 -2
  72. package/lib/push.js +2 -1
  73. package/lib/sdk-bridge.js +1 -0
  74. package/lib/sdk-message-processor.js +11 -0
  75. package/lib/sdk-worker.js +1 -0
  76. package/lib/server-auth.js +2 -2
  77. package/lib/server-dm.js +1 -0
  78. package/lib/server-palette.js +1 -0
  79. package/lib/server-settings.js +26 -25
  80. package/lib/server-skills.js +1 -1
  81. package/lib/server.js +28 -4
  82. package/lib/session-search.js +1 -0
  83. package/lib/sessions.js +4 -1
  84. package/lib/smtp.js +7 -7
  85. package/lib/users-auth.js +30 -5
  86. package/lib/users-preferences.js +1 -0
  87. package/lib/users.js +2 -0
  88. package/lib/ws-schema.js +1 -0
  89. package/lib/yoke/adapters/claude-worker.js +1 -0
  90. package/lib/yoke/adapters/claude.js +1 -0
  91. package/lib/yoke/adapters/codex.js +1 -1
  92. package/lib/yoke/mcp-bridge-server.js +1 -0
  93. 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:#282a36;--s-text:#f8f8f2;--s-accent:#ffb86c;--s-muted:#6272a4;--s-border:#44475a;--s-dimmer:#6272a4;--s-success:#50fa7b;--s-accent-15:rgba(255,184,108,0.15);--s-success-10:rgba(80,250,123,0.1);--s-success-15:rgba(80,250,123,0.15);--s-accent-06:rgba(255,184,108,0.06);--s-muted-06:rgba(98,114,164,0.06);--s-muted-15:rgba(98,114,164,0.15)}
52
- @media(prefers-color-scheme:light){:root{--s-bg:#FAFAFA;--s-text:#5C6166;--s-accent:#FA8D3E;--s-muted:#A0A6AC;--s-border:#D2D4D8;--s-dimmer:#8A9199;--s-success:#6CBF49;--s-accent-15:rgba(250,141,62,0.15);--s-success-10:rgba(108,191,73,0.1);--s-success-15:rgba(108,191,73,0.15);--s-accent-06:rgba(250,141,62,0.06);--s-muted-06:rgba(160,166,172,0.06);--s-muted-15:rgba(160,166,172,0.15)}}
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">&#10003;</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
@@ -234,3 +234,4 @@ function attachExternalTrigger(ctx) {
234
234
  }
235
235
 
236
236
  module.exports = { attachExternalTrigger: attachExternalTrigger };
237
+
@@ -751,3 +751,4 @@ function attachHTTP(ctx) {
751
751
  }
752
752
 
753
753
  module.exports = { attachHTTP: attachHTTP, parseJsonBody: parseJsonBody };
754
+
@@ -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: knowledge promote/depromote were mate-only features (lr-316f).
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 / knowledge_depromote were mate-only — no-op
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
+
@@ -934,7 +934,7 @@ function attachLoop(ctx) {
934
934
  return true;
935
935
  }
936
936
 
937
- // Default: "draft" mode — Clay crafts files via the clay-ralph skill
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) {
@@ -372,3 +372,4 @@ function attachMcp(ctx) {
372
372
  }
373
373
 
374
374
  module.exports = { attachMcp: attachMcp };
375
+
@@ -37,3 +37,4 @@ function attachMemory(ctx) {
37
37
  }
38
38
 
39
39
  module.exports = { attachMemory };
40
+
@@ -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 now that mates are removed (lr-316f)
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: sticky notes knowledge sync was a mates-only feature (lr-316f)
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
@@ -1301,3 +1301,4 @@ function createProjectContext(opts) {
1301
1301
  }
1302
1302
 
1303
1303
  module.exports = { createProjectContext: createProjectContext, safePath: safePath, validateEnvString: validateEnvString };
1304
+
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: [{ name: "clay-ralph", url: "https://github.com/chadbyte/clay-ralph", scope: "global" }]
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
+
@@ -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
+ }
@@ -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
+
@@ -439,3 +439,4 @@ body.mate-dm-active .turn-meta {
439
439
  padding: initial !important;
440
440
  }
441
441
  }
442
+
@@ -1607,3 +1607,4 @@
1607
1607
  }
1608
1608
  .debate-brief-resolved-label .lucide { width: 14px; height: 14px; }
1609
1609
  .debate-brief-resolved-label.debate-brief-cancelled { color: var(--text-secondary); }
1610
+
@@ -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 {
@@ -543,3 +543,4 @@
543
543
  /* ==========================================================================
544
544
  (Certificate section removed — now handled by Trust Certificate playbook)
545
545
  ========================================================================== */
546
+
@@ -10,7 +10,7 @@
10
10
  display: flex;
11
11
  flex-direction: column;
12
12
  align-items: center;
13
- padding: 0 0 80px;
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: 6px 0;
854
- background: var(--bg-alt);
855
- border-radius: 8px;
842
+ padding: 4px 0;
856
843
  }
857
844
 
858
845
  .icon-strip-users.hidden {
@@ -1246,3 +1246,4 @@
1246
1246
  padding: 12px 16px;
1247
1247
  border-top: 1px solid var(--border);
1248
1248
  }
1249
+
@@ -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-mate {
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
+