@cryptiklemur/lattice 1.18.6 → 1.19.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/package.json +1 -1
- package/server/src/daemon.ts +12 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cryptiklemur/lattice",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.19.0",
|
|
4
4
|
"description": "Multi-machine agentic dashboard for Claude Code. Monitor sessions, manage MCP servers and skills, orchestrate across mesh-networked nodes.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Aaron Scherer <me@aaronscherer.me>",
|
package/server/src/daemon.ts
CHANGED
|
@@ -373,4 +373,16 @@ export async function startDaemon(portOverride?: number | null): Promise<void> {
|
|
|
373
373
|
return;
|
|
374
374
|
}
|
|
375
375
|
});
|
|
376
|
+
|
|
377
|
+
setInterval(function () {
|
|
378
|
+
var currentConfig = loadConfig();
|
|
379
|
+
var currentIdentity = loadOrCreateIdentity();
|
|
380
|
+
broadcast({ type: "mesh:nodes", nodes: buildNodesMessage() });
|
|
381
|
+
broadcast({
|
|
382
|
+
type: "projects:list",
|
|
383
|
+
projects: currentConfig.projects.map(function (p: typeof currentConfig.projects[number]) {
|
|
384
|
+
return { slug: p.slug, path: p.path, title: p.title, nodeId: currentIdentity.id, nodeName: currentConfig.name, isRemote: false };
|
|
385
|
+
}),
|
|
386
|
+
});
|
|
387
|
+
}, 10000);
|
|
376
388
|
}
|