clay-server 2.32.0-beta.8 → 2.32.0

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/app.js CHANGED
@@ -522,6 +522,15 @@ import { initDebate, handleDebatePreparing, handleDebateStarted, handleDebateRes
522
522
  forceScrollToBottom();
523
523
  });
524
524
 
525
+ // Scroll to bottom when returning to the app (e.g. switching back from another
526
+ // Android app or tab). Without this the browser restores a stale scroll offset
527
+ // and leaves the user stranded mid-session instead of at the latest message.
528
+ document.addEventListener("visibilitychange", function () {
529
+ if (!document.hidden) {
530
+ scrollToBottom();
531
+ }
532
+ });
533
+
525
534
  // Fork session from a user message
526
535
  messagesEl.addEventListener("click", function(e) {
527
536
  var btn = e.target.closest(".msg-action-fork");
@@ -746,12 +746,14 @@
746
746
  display: flex;
747
747
  align-items: center;
748
748
  justify-content: space-between;
749
+ gap: 4px;
749
750
  }
750
751
 
751
752
  #input-bottom-right {
752
753
  display: flex;
753
754
  align-items: center;
754
755
  gap: 4px;
756
+ flex-shrink: 0;
755
757
  }
756
758
 
757
759
  /* --- Vendor toggle (split toggle) --- */
@@ -812,17 +814,25 @@
812
814
  .vendor-toggle-label {
813
815
  pointer-events: none;
814
816
  }
815
- @media (max-width: 600px) {
817
+ @media (max-width: 900px) {
816
818
  .vendor-toggle-label { display: none; }
819
+ .vendor-toggle-btn { padding: 0 8px; }
817
820
  }
818
821
 
819
822
  /* --- Attach buttons & menu --- */
820
823
  #attach-wrap {
821
824
  position: relative;
822
- flex-shrink: 0;
825
+ min-width: 0;
823
826
  display: flex;
824
827
  align-items: center;
825
828
  gap: 2px;
829
+ flex-wrap: nowrap;
830
+ overflow: hidden;
831
+ }
832
+
833
+ /* Allow popovers (context picker) to escape when open */
834
+ #attach-wrap:has(#context-sources-picker:not(.hidden)) {
835
+ overflow: visible;
826
836
  }
827
837
 
828
838
  #attach-file-btn,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "clay-server",
3
- "version": "2.32.0-beta.8",
3
+ "version": "2.32.0",
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",