clay-server 3.4.0-beta.23 → 3.4.0-beta.25
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
|
@@ -25,6 +25,10 @@ body.pane-mode #sticky-notes-container {
|
|
|
25
25
|
|
|
26
26
|
body.pane-mode #file-viewer { display: none !important; }
|
|
27
27
|
|
|
28
|
+
body.pane-mode #connect-overlay { background: var(--bg); }
|
|
29
|
+
body.pane-mode #connect-overlay #ascii-logo-canvas { display: none; }
|
|
30
|
+
body.pane-mode #connect-overlay-msg { color: var(--text-dimmer); }
|
|
31
|
+
|
|
28
32
|
body.pane-mode .notif-banner-container {
|
|
29
33
|
display: none !important;
|
|
30
34
|
}
|
package/lib/public/index.html
CHANGED
|
@@ -403,7 +403,7 @@
|
|
|
403
403
|
<div id="app">
|
|
404
404
|
<div id="connect-overlay">
|
|
405
405
|
<canvas id="ascii-logo-canvas"></canvas>
|
|
406
|
-
<p id="connect-overlay-msg">
|
|
406
|
+
<p id="connect-overlay-msg">Connecting…</p>
|
|
407
407
|
</div>
|
|
408
408
|
<div id="sticky-notes-container" class="hidden"></div>
|
|
409
409
|
<div id="debate-info-float" class="hidden"></div>
|
|
@@ -17,6 +17,7 @@ var reconnectTimer = null;
|
|
|
17
17
|
var reconnectDelay = 1000;
|
|
18
18
|
var connectTimeoutId = null;
|
|
19
19
|
var connectOverlay = null;
|
|
20
|
+
var hasConnectedOnce = false;
|
|
20
21
|
|
|
21
22
|
export function initConnection() {
|
|
22
23
|
connectOverlay = document.getElementById("connect-overlay");
|
|
@@ -39,6 +40,7 @@ export function initConnection() {
|
|
|
39
40
|
if (state.connected !== prev.connected) {
|
|
40
41
|
var sendBtn = getSendBtn();
|
|
41
42
|
if (state.connected) {
|
|
43
|
+
hasConnectedOnce = true;
|
|
42
44
|
if (sendBtn) sendBtn.disabled = false;
|
|
43
45
|
if (connectOverlay) connectOverlay.classList.add("hidden");
|
|
44
46
|
var updPill = document.getElementById("update-pill-wrap");
|
|
@@ -46,6 +48,10 @@ export function initConnection() {
|
|
|
46
48
|
stopLogoAnimation();
|
|
47
49
|
} else {
|
|
48
50
|
if (sendBtn) sendBtn.disabled = true;
|
|
51
|
+
if (hasConnectedOnce && connectOverlay) {
|
|
52
|
+
var overlayMessage = document.getElementById("connect-overlay-msg");
|
|
53
|
+
if (overlayMessage) overlayMessage.textContent = "Reconnecting to server…";
|
|
54
|
+
}
|
|
49
55
|
if (connectOverlay) connectOverlay.classList.remove("hidden");
|
|
50
56
|
startLogoAnimation();
|
|
51
57
|
}
|
|
@@ -991,6 +991,9 @@ function createKiroAdapter(opts) {
|
|
|
991
991
|
return _fetchKasToken(_binaryPath, _cwd);
|
|
992
992
|
});
|
|
993
993
|
await _acp.start();
|
|
994
|
+
// kiro-cli boots the KAS server, MCP subsystem and SQLite before it
|
|
995
|
+
// answers initialize, which measures ~20s cold. 30s left no margin and
|
|
996
|
+
// timed out under load, so allow a wide window here.
|
|
994
997
|
await _acp.send("initialize", {
|
|
995
998
|
protocolVersion: 1,
|
|
996
999
|
clientInfo: { name: "clay", version: "1.0.0" },
|
|
@@ -1000,7 +1003,7 @@ function createKiroAdapter(opts) {
|
|
|
1000
1003
|
// calls, so implementing them later means bypassing canUseTool and
|
|
1001
1004
|
// needs explicit cwd confinement first.
|
|
1002
1005
|
clientCapabilities: { fs: { readTextFile: false, writeTextFile: false } },
|
|
1003
|
-
},
|
|
1006
|
+
}, 90000);
|
|
1004
1007
|
_initialized = true;
|
|
1005
1008
|
|
|
1006
1009
|
if (_shuttingDown) throw createShutdownError();
|
package/package.json
CHANGED