@cryptiklemur/lattice 1.11.5 → 1.11.6
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.
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { useEffect, useRef, useState } from "react";
|
|
1
|
+
import { useEffect, useRef, useState, useMemo } from "react";
|
|
2
2
|
import type { SessionSummary, SessionListMessage, SessionCreatedMessage } from "@lattice/shared";
|
|
3
3
|
import type { ServerMessage } from "@lattice/shared";
|
|
4
4
|
import { useWebSocket } from "../../hooks/useWebSocket";
|
|
@@ -251,6 +251,15 @@ export function SessionList(props: SessionListProps) {
|
|
|
251
251
|
}
|
|
252
252
|
}
|
|
253
253
|
|
|
254
|
+
var grouped = useMemo(function () {
|
|
255
|
+
var displayed = props.filter
|
|
256
|
+
? sessions.filter(function (s) {
|
|
257
|
+
return s.title.toLowerCase().includes(props.filter!.toLowerCase());
|
|
258
|
+
})
|
|
259
|
+
: sessions;
|
|
260
|
+
return groupByTime(displayed);
|
|
261
|
+
}, [sessions, props.filter]);
|
|
262
|
+
|
|
254
263
|
if (!props.projectSlug) {
|
|
255
264
|
return (
|
|
256
265
|
<div className="flex-1 flex items-start px-3 py-1.5">
|
|
@@ -269,14 +278,6 @@ export function SessionList(props: SessionListProps) {
|
|
|
269
278
|
);
|
|
270
279
|
}
|
|
271
280
|
|
|
272
|
-
var displayed = props.filter
|
|
273
|
-
? sessions.filter(function (s) {
|
|
274
|
-
return s.title.toLowerCase().includes(props.filter!.toLowerCase());
|
|
275
|
-
})
|
|
276
|
-
: sessions;
|
|
277
|
-
|
|
278
|
-
var grouped = groupByTime(displayed);
|
|
279
|
-
|
|
280
281
|
return (
|
|
281
282
|
<div className="flex flex-col flex-1 overflow-hidden min-h-0">
|
|
282
283
|
<div className="flex-1 overflow-y-auto overflow-x-hidden scrollbar-hidden py-0.5 pb-16">
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cryptiklemur/lattice",
|
|
3
|
-
"version": "1.11.
|
|
3
|
+
"version": "1.11.6",
|
|
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>",
|