clay-server 2.26.0-beta.6 → 2.26.0-beta.8
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/project.js
CHANGED
|
@@ -4418,7 +4418,7 @@ function createProjectContext(opts) {
|
|
|
4418
4418
|
return;
|
|
4419
4419
|
}
|
|
4420
4420
|
// Sanitize filename — strip path separators
|
|
4421
|
-
var safeName = path.basename(fileName).replace(/[
|
|
4421
|
+
var safeName = path.basename(fileName).replace(/[\x00-\x1f\/\\:*?"<>|]/g, "_");
|
|
4422
4422
|
if (!safeName) safeName = "upload";
|
|
4423
4423
|
|
|
4424
4424
|
// Check size
|
package/lib/public/css/input.css
CHANGED
package/lib/public/index.html
CHANGED
|
@@ -445,7 +445,6 @@
|
|
|
445
445
|
<div class="context-picker-section" id="context-picker-tabs"></div>
|
|
446
446
|
</div>
|
|
447
447
|
</div>
|
|
448
|
-
<div id="suggestion-chips" class="hidden"></div>
|
|
449
448
|
<div id="input-row">
|
|
450
449
|
<div id="context-mini" class="hidden">
|
|
451
450
|
<div class="context-mini-bar">
|
|
@@ -454,6 +453,7 @@
|
|
|
454
453
|
<span class="context-mini-label" id="context-mini-label">0%</span>
|
|
455
454
|
</div>
|
|
456
455
|
<div id="image-preview-bar"></div>
|
|
456
|
+
<div id="suggestion-chips" class="hidden"></div>
|
|
457
457
|
<textarea id="input" rows="1" placeholder="Message Claude Code..." enterkeyhint="send" dir="auto"></textarea>
|
|
458
458
|
<div id="input-bottom">
|
|
459
459
|
<div id="attach-wrap">
|
|
@@ -3946,8 +3946,8 @@ export function renderUserStrip(allUsers, onlineUserIds, myUserId, dmFavorites,
|
|
|
3946
3946
|
// All other users
|
|
3947
3947
|
var allOthers = cachedAllUsers.filter(function (u) { return u.id !== myUserId; });
|
|
3948
3948
|
|
|
3949
|
-
// Hide section if no other users
|
|
3950
|
-
if (allOthers.length === 0) {
|
|
3949
|
+
// Hide section if no other users and no mates
|
|
3950
|
+
if (allOthers.length === 0 && cachedMates.length === 0) {
|
|
3951
3951
|
container.innerHTML = "";
|
|
3952
3952
|
container.classList.add("hidden");
|
|
3953
3953
|
return;
|