@agent-relay/dashboard-server 2.0.46 → 2.0.47
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 +2 -1
- package/dist/server.js.map +1 -1
- package/out/404.html +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 +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 +1 -1
- 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 +10 -10
- /package/out/_next/static/{kt1pBkOoE9ZJk69H9H3_X → 8HZf56LQSyhTavUG83J66}/_buildManifest.js +0 -0
- /package/out/_next/static/{kt1pBkOoE9ZJk69H9H3_X → 8HZf56LQSyhTavUG83J66}/_ssgManifest.js +0 -0
package/dist/server.js
CHANGED
|
@@ -311,10 +311,11 @@ export async function startDashboard(portOrOptions, dataDirArg, teamDirArg, dbPa
|
|
|
311
311
|
const disableStorage = process.env.RELAY_DISABLE_STORAGE === 'true';
|
|
312
312
|
// Use createStorageAdapter to match daemon's storage type (JSONL by default)
|
|
313
313
|
// This ensures dashboard reads from the same storage as daemon writes to
|
|
314
|
+
// Enable watchForChanges so JSONL adapter auto-reloads when daemon writes new messages
|
|
314
315
|
const storagePath = dbPath ?? path.join(dataDir, 'messages.sqlite');
|
|
315
316
|
const storage = disableStorage
|
|
316
317
|
? undefined
|
|
317
|
-
: await createStorageAdapter(storagePath);
|
|
318
|
+
: await createStorageAdapter(storagePath, { watchForChanges: true });
|
|
318
319
|
const defaultWorkspaceId = process.env.RELAY_WORKSPACE_ID ?? process.env.AGENT_RELAY_WORKSPACE_ID;
|
|
319
320
|
const resolveWorkspaceId = (req) => {
|
|
320
321
|
const fromQuery = req.query.workspaceId;
|