clay-server 2.16.0-beta.1 → 2.16.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
@@ -6751,9 +6751,16 @@ import { initLongPress } from './modules/longpress.js';
6751
6751
  modal.querySelector(".pwa-modal-backdrop").addEventListener("click", closeModal);
6752
6752
 
6753
6753
  confirmBtn.addEventListener("click", function () {
6754
- // Redirect to HTTP setup page (port + 1)
6755
- var port = parseInt(location.port, 10) || (location.protocol === "https:" ? 443 : 80);
6756
- var setupUrl = "http://" + location.hostname + ":" + (port + 1) + "/setup";
6754
+ // Redirect to setup page
6755
+ var port = parseInt(location.port, 10);
6756
+ var setupUrl;
6757
+ if (!port) {
6758
+ // Standard port (443/80), behind a reverse proxy with real cert
6759
+ setupUrl = location.protocol + "//" + location.hostname + "/setup";
6760
+ } else {
6761
+ // Non-standard port, Clay serving directly with onboarding server on port+1
6762
+ setupUrl = "http://" + location.hostname + ":" + (port + 1) + "/setup";
6763
+ }
6757
6764
  location.href = setupUrl;
6758
6765
  });
6759
6766
 
@@ -232,14 +232,15 @@
232
232
 
233
233
  .msg-copy-hint {
234
234
  position: absolute;
235
- top: 4px;
235
+ bottom: -18px;
236
236
  right: 20px;
237
- font-size: 12px;
237
+ font-size: 11px;
238
238
  color: var(--text-dimmer);
239
239
  font-weight: 500;
240
240
  opacity: 0;
241
241
  transition: color 0.15s, opacity 0.15s;
242
242
  pointer-events: none;
243
+ white-space: nowrap;
243
244
  }
244
245
 
245
246
  .msg-assistant:hover .msg-copy-hint { opacity: 1; }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "clay-server",
3
- "version": "2.16.0-beta.1",
3
+ "version": "2.16.0",
4
4
  "description": "Web UI for Claude Code. Any device. Push notifications.",
5
5
  "bin": {
6
6
  "clay-server": "./bin/cli.js",