@cryptiklemur/lattice 1.20.3 → 1.22.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.
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { useState, useEffect, useRef } from "react";
|
|
2
|
-
import { Plus, ChevronDown, Search, LayoutDashboard, FolderOpen, TerminalSquare, StickyNote, Calendar, BarChart3, Bookmark } from "lucide-react";
|
|
2
|
+
import { Plus, ChevronDown, Search, LayoutDashboard, FolderOpen, TerminalSquare, StickyNote, Calendar, BarChart3, Bookmark, Settings, Network } from "lucide-react";
|
|
3
3
|
import { LatticeLogomark } from "../ui/LatticeLogomark";
|
|
4
4
|
import type { SessionSummary, ServerMessage, SettingsDataMessage } from "@lattice/shared";
|
|
5
5
|
import type { DateRange } from "./SessionList";
|
|
@@ -11,7 +11,8 @@ import { useSession } from "../../hooks/useSession";
|
|
|
11
11
|
import { clearSession } from "../../stores/session";
|
|
12
12
|
import { useOnline } from "../../hooks/useOnline";
|
|
13
13
|
import { openTab, openSessionTab, getWorkspaceStore } from "../../stores/workspace";
|
|
14
|
-
import { getSidebarStore, goToAnalytics } from "../../stores/sidebar";
|
|
14
|
+
import { getSidebarStore, goToAnalytics, openSettings } from "../../stores/sidebar";
|
|
15
|
+
import { setAnalyticsScope } from "../../stores/analytics";
|
|
15
16
|
import { ProjectRail } from "./ProjectRail";
|
|
16
17
|
import { SessionList } from "./SessionList";
|
|
17
18
|
import { UserIsland } from "./UserIsland";
|
|
@@ -267,6 +268,35 @@ export function Sidebar({ onSessionSelect }: { onSessionSelect?: () => void }) {
|
|
|
267
268
|
</span>
|
|
268
269
|
</div>
|
|
269
270
|
<div className="flex-1 overflow-auto px-4 py-3 pb-16">
|
|
271
|
+
<div className="flex flex-col gap-0.5 mb-3">
|
|
272
|
+
<button
|
|
273
|
+
type="button"
|
|
274
|
+
onClick={function () {
|
|
275
|
+
setAnalyticsScope("global");
|
|
276
|
+
openTab("analytics");
|
|
277
|
+
}}
|
|
278
|
+
className="flex items-center gap-2 w-full px-2 py-1.5 rounded-lg text-[11px] text-base-content/40 hover:text-base-content/70 hover:bg-base-300/30 transition-colors"
|
|
279
|
+
>
|
|
280
|
+
<BarChart3 size={12} />
|
|
281
|
+
<span className="font-mono tracking-wide">Global Analytics</span>
|
|
282
|
+
</button>
|
|
283
|
+
<button
|
|
284
|
+
type="button"
|
|
285
|
+
onClick={function () { openSettings("nodes"); }}
|
|
286
|
+
className="flex items-center gap-2 w-full px-2 py-1.5 rounded-lg text-[11px] text-base-content/40 hover:text-base-content/70 hover:bg-base-300/30 transition-colors"
|
|
287
|
+
>
|
|
288
|
+
<Network size={12} />
|
|
289
|
+
<span className="font-mono tracking-wide">Nodes</span>
|
|
290
|
+
</button>
|
|
291
|
+
<button
|
|
292
|
+
type="button"
|
|
293
|
+
onClick={function () { openSettings("appearance"); }}
|
|
294
|
+
className="flex items-center gap-2 w-full px-2 py-1.5 rounded-lg text-[11px] text-base-content/40 hover:text-base-content/70 hover:bg-base-300/30 transition-colors"
|
|
295
|
+
>
|
|
296
|
+
<Settings size={12} />
|
|
297
|
+
<span className="font-mono tracking-wide">Settings</span>
|
|
298
|
+
</button>
|
|
299
|
+
</div>
|
|
270
300
|
<SectionLabel label="Projects" />
|
|
271
301
|
<div className="text-[12px] text-base-content/40 px-4">
|
|
272
302
|
Select a project from the rail to view sessions.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cryptiklemur/lattice",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.22.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>",
|