clay-server 3.2.2-beta.2 → 3.2.2-beta.3
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/lib/public/css/pane.css
CHANGED
|
@@ -83,7 +83,7 @@ body.pane-mode #input-area {
|
|
|
83
83
|
gap: 6px;
|
|
84
84
|
padding: 0 5px 0 9px;
|
|
85
85
|
border-bottom: 1px solid var(--border-subtle);
|
|
86
|
-
background: var(--
|
|
86
|
+
background: var(--bg);
|
|
87
87
|
color: var(--text-secondary);
|
|
88
88
|
flex-shrink: 0;
|
|
89
89
|
}
|
|
@@ -194,7 +194,9 @@ button.split-pair-role:hover { filter: brightness(1.25); }
|
|
|
194
194
|
display: none;
|
|
195
195
|
align-items: center;
|
|
196
196
|
gap: 6px;
|
|
197
|
-
|
|
197
|
+
width: 100%;
|
|
198
|
+
max-width: var(--content-width);
|
|
199
|
+
margin: 0 auto;
|
|
198
200
|
padding: 4px 10px;
|
|
199
201
|
border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent);
|
|
200
202
|
border-bottom: 0;
|
|
@@ -205,6 +207,9 @@ button.split-pair-role:hover { filter: brightness(1.25); }
|
|
|
205
207
|
line-height: 1.4;
|
|
206
208
|
}
|
|
207
209
|
.pane-delegation-notice.visible { display: flex; }
|
|
210
|
+
.pane-delegation-notice.visible + #input-wrapper #input-row {
|
|
211
|
+
border-radius: 0 0 8px 8px;
|
|
212
|
+
}
|
|
208
213
|
.pane-delegation-notice::before {
|
|
209
214
|
content: "";
|
|
210
215
|
width: 6px;
|
|
@@ -260,11 +260,12 @@ var workerNoticeEl = null;
|
|
|
260
260
|
export function showWorkerDelegationNotice(driverTitle) {
|
|
261
261
|
if (!store.get('paneMode')) return;
|
|
262
262
|
var inputArea = document.getElementById("input-area");
|
|
263
|
-
|
|
263
|
+
var inputWrapper = document.getElementById("input-wrapper");
|
|
264
|
+
if (!inputArea || !inputWrapper) return;
|
|
264
265
|
if (!workerNoticeEl) {
|
|
265
266
|
workerNoticeEl = document.createElement("div");
|
|
266
267
|
workerNoticeEl.className = "pane-delegation-notice";
|
|
267
|
-
inputArea.
|
|
268
|
+
inputArea.insertBefore(workerNoticeEl, inputWrapper);
|
|
268
269
|
}
|
|
269
270
|
var who = driverTitle ? "“" + driverTitle + "”" : "the Driver";
|
|
270
271
|
workerNoticeEl.textContent = "Following an instruction from " + who + " — messages you send now join the same turn.";
|
package/package.json
CHANGED