@cryptiklemur/lattice 1.22.3 → 1.23.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.
@@ -10,7 +10,7 @@ import { useSidebar } from "../../hooks/useSidebar";
10
10
  import { useSession } from "../../hooks/useSession";
11
11
  import { clearSession } from "../../stores/session";
12
12
  import { useOnline } from "../../hooks/useOnline";
13
- import { openTab, openSessionTab, getWorkspaceStore } from "../../stores/workspace";
13
+ import { openTab, openSessionTab, closeTab, getWorkspaceStore } from "../../stores/workspace";
14
14
  import { getSidebarStore, goToAnalytics, openSettings } from "../../stores/sidebar";
15
15
  import { setAnalyticsScope } from "../../stores/analytics";
16
16
  import { ProjectRail } from "./ProjectRail";
@@ -269,6 +269,22 @@ export function Sidebar({ onSessionSelect }: { onSessionSelect?: () => void }) {
269
269
  </div>
270
270
  <div className="flex-1 overflow-auto px-4 py-3 pb-16">
271
271
  <div className="flex flex-col gap-0.5 mb-3">
272
+ <button
273
+ type="button"
274
+ onClick={function () {
275
+ var store = getWorkspaceStore();
276
+ var state = store.state;
277
+ var activePane = state.panes.find(function (p) { return p.id === state.activePaneId; });
278
+ var activeTab = activePane ? state.tabs.find(function (t) { return t.id === activePane!.activeTabId; }) : null;
279
+ if (activeTab && activeTab.id !== "chat") {
280
+ closeTab(activeTab.id);
281
+ }
282
+ }}
283
+ 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"
284
+ >
285
+ <LayoutDashboard size={12} />
286
+ <span className="font-mono tracking-wide">Dashboard</span>
287
+ </button>
272
288
  <button
273
289
  type="button"
274
290
  onClick={function () {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cryptiklemur/lattice",
3
- "version": "1.22.3",
3
+ "version": "1.23.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>",