clay-server 2.26.0-beta.7 → 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(/[^a-zA-Z0-9._\-\(\)\[\] ]/g, "_");
4421
+ var safeName = path.basename(fileName).replace(/[\x00-\x1f\/\\:*?"<>|]/g, "_");
4422
4422
  if (!safeName) safeName = "upload";
4423
4423
 
4424
4424
  // Check size
@@ -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 (single-user mode or alone)
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;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "clay-server",
3
- "version": "2.26.0-beta.7",
3
+ "version": "2.26.0-beta.8",
4
4
  "description": "Self-hosted Claude Code in your browser. Multi-session, multi-user, push notifications.",
5
5
  "bin": {
6
6
  "clay-server": "./bin/cli.js",