@agent-relay/dashboard-server 2.0.75 → 2.0.76
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/dist/server.js +7 -9
- package/dist/server.js.map +1 -1
- package/out/404.html +1 -1
- package/out/_next/static/chunks/{285-d90511ea4690c27f.js → 285-040c3ec4fba3b3a3.js} +1 -1
- package/out/about.html +1 -1
- package/out/about.txt +1 -1
- package/out/app/onboarding.html +1 -1
- package/out/app/onboarding.txt +1 -1
- package/out/app.html +1 -1
- package/out/app.txt +2 -2
- package/out/blog/go-to-bed-wake-up-to-a-finished-product.html +1 -1
- package/out/blog/go-to-bed-wake-up-to-a-finished-product.txt +1 -1
- package/out/blog/let-them-cook-multi-agent-orchestration.html +1 -1
- package/out/blog/let-them-cook-multi-agent-orchestration.txt +1 -1
- package/out/blog.html +1 -1
- package/out/blog.txt +1 -1
- package/out/careers.html +1 -1
- package/out/careers.txt +1 -1
- package/out/changelog.html +1 -1
- package/out/changelog.txt +1 -1
- package/out/cloud/link.html +1 -1
- package/out/cloud/link.txt +1 -1
- package/out/complete-profile.html +1 -1
- package/out/complete-profile.txt +1 -1
- package/out/connect-repos.html +1 -1
- package/out/connect-repos.txt +1 -1
- package/out/contact.html +1 -1
- package/out/contact.txt +1 -1
- package/out/docs.html +1 -1
- package/out/docs.txt +1 -1
- package/out/history.html +1 -1
- package/out/history.txt +1 -1
- package/out/index.html +1 -1
- package/out/index.txt +2 -2
- package/out/login.html +1 -1
- package/out/login.txt +1 -1
- package/out/metrics.html +1 -1
- package/out/metrics.txt +1 -1
- package/out/pricing.html +1 -1
- package/out/pricing.txt +1 -1
- package/out/privacy.html +1 -1
- package/out/privacy.txt +1 -1
- package/out/providers/setup/claude.html +1 -1
- package/out/providers/setup/claude.txt +1 -1
- package/out/providers/setup/codex.html +1 -1
- package/out/providers/setup/codex.txt +1 -1
- package/out/providers/setup/cursor.html +1 -1
- package/out/providers/setup/cursor.txt +1 -1
- package/out/providers.html +1 -1
- package/out/providers.txt +1 -1
- package/out/security.html +1 -1
- package/out/security.txt +1 -1
- package/out/signup.html +1 -1
- package/out/signup.txt +1 -1
- package/out/terms.html +1 -1
- package/out/terms.txt +1 -1
- package/package.json +1 -1
- /package/out/_next/static/{4kMPp3uMfICqAWT7vypt4 → uYsrO2eF7EUfys_Pd62tF}/_buildManifest.js +0 -0
- /package/out/_next/static/{4kMPp3uMfICqAWT7vypt4 → uYsrO2eF7EUfys_Pd62tF}/_ssgManifest.js +0 -0
package/dist/server.js
CHANGED
|
@@ -2114,16 +2114,14 @@ export async function startDashboard(portOrOptions, dataDirArg, teamDirArg, dbPa
|
|
|
2114
2114
|
initializingClients.add(ws);
|
|
2115
2115
|
try {
|
|
2116
2116
|
const data = await getAllData();
|
|
2117
|
-
|
|
2118
|
-
|
|
2119
|
-
|
|
2120
|
-
|
|
2121
|
-
|
|
2122
|
-
if (!payload || payload.length === 0) {
|
|
2123
|
-
console.warn('[dashboard] Skipping initial send - empty payload');
|
|
2124
|
-
return;
|
|
2117
|
+
if (!data) {
|
|
2118
|
+
// Team data temporarily unavailable — skip the initial send.
|
|
2119
|
+
// Reconnecting clients keep their previous data (no empty-screen flash).
|
|
2120
|
+
// New clients wait for the first successful broadcastData() cycle.
|
|
2121
|
+
debug('[dashboard] Team data unavailable on connect - deferring initial send to next broadcast');
|
|
2125
2122
|
}
|
|
2126
|
-
if (ws.readyState === WebSocket.OPEN) {
|
|
2123
|
+
else if (ws.readyState === WebSocket.OPEN) {
|
|
2124
|
+
const payload = JSON.stringify(data);
|
|
2127
2125
|
debug(`[dashboard] Sending initial data, size: ${payload.length}, first 200 chars: ${payload.substring(0, 200)}`);
|
|
2128
2126
|
ws.send(payload);
|
|
2129
2127
|
debug('[dashboard] Initial data sent successfully');
|