@alivault/pico 0.3.0 → 0.3.2
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/.output/nitro.json +1 -1
- package/.output/public/assets/{index-BMJXPFQq.js → index-ga3WrbUv.js} +3 -3
- package/.output/public/assets/{routes-BPkTKiWN.js → routes-BApV813x.js} +3 -3
- package/.output/public/assets/styles-4lJzavCj.css +2 -0
- package/.output/server/_ssr/{router-DB3DegnY.mjs → router-DQcefit6.mjs} +3 -3
- package/.output/server/_ssr/{routes-RV18btaL.mjs → routes-C7eO3ZVn.mjs} +66 -64
- package/.output/server/_ssr/{routes-C2DKvBRY.mjs → routes-DHXvlqAP.mjs} +2 -2
- package/.output/server/_ssr/ssr.mjs +2 -2
- package/.output/server/{_tanstack-start-manifest_v-K79umiqV.mjs → _tanstack-start-manifest_v-ChF3TvKp.mjs} +4 -4
- package/.output/server/index.mjs +542 -542
- package/package.json +1 -1
- package/.output/public/assets/styles-BteSJJZQ.css +0 -2
|
@@ -2,7 +2,7 @@ import { i as __toESM } from "../_runtime.mjs";
|
|
|
2
2
|
import { A as DialogRoot, C as MenuPortal, D as TabsTab, E as TabsList$1, F as DialogBackdrop, I as Separator, K as mergeProps, L as Input, M as DialogPopup, N as DialogDescription$1, O as TabsRoot, P as DialogClose, R as Button, S as MenuPositioner, T as MenuItem, X as require_react, Y as require_jsx_runtime, _ as AccordionRoot, a as CollapsiblePanel, b as MenuSubmenuRoot, c as PopoverPopup, d as PopoverTrigger$1, f as PopoverRoot, g as AccordionItem$1, h as AccordionHeader, i as ContextMenuRoot, j as DialogPortal$1, k as DialogTitle$1, l as PopoverPositioner, m as AccordionTrigger$1, n as Toggle, o as CollapsibleTrigger$1, p as AccordionPanel, r as ContextMenuTrigger$1, s as CollapsibleRoot, t as ToggleGroup, u as PopoverPortal, v as MenuSubmenuTrigger, w as MenuPopup, x as MenuRoot, y as MenuTrigger, z as useRender } from "../_libs/@base-ui/react+[...].mjs";
|
|
3
3
|
import { t as cva } from "../_libs/class-variance-authority+clsx.mjs";
|
|
4
4
|
import { A as ChevronsUpDown, B as ArrowDown, C as FolderPlus, D as Copy, E as Download, F as Check, I as ArrowUp, L as ArrowUpToLine, M as ChevronUp, N as ChevronRight, O as Command, P as ChevronDown, S as Folder, T as EllipsisVertical, _ as ListEnd, a as Square, b as GitBranch, c as Settings2, d as PanelLeft, f as PanelLeftOpen, g as ListStart, h as OctagonX, j as ChevronsDownUp, l as Search, n as WandSparkles, o as SquarePen, p as PanelLeftClose, r as Upload, s as SquareArrowOutUpRight, t as X, u as PanelRight, w as Ellipsis, x as GitCommitHorizontal, y as ImagePlus, z as ArrowLeft } from "../_libs/lucide-react.mjs";
|
|
5
|
-
import { $ as readStoredRightSidebarOpen, B as normalizeSessionSelectionKeys, C as TooltipContent, E as VIEWER_CONTEXT_STORAGE_KEY, G as readStoredAutoScrollEnabled, H as normalizeThemeMode, I as flattenTree, J as readStoredDraftDirectory, K as readStoredCenterMessages, L as getSessionTitle, M as createInitialSessionState, O as buildItemsFromSync, Q as readStoredRecentDirectories, S as Tooltip$1, T as TooltipTrigger, U as previewUrlForImage, V as normalizeStoredDirectoryList, W as promptDraftKey, X as readStoredPinnedSessionKeys, Y as readStoredHideToolBlocks, Z as readStoredPromptDraft, _ as SESSION_DONE_SOUND_ENABLED_STORAGE_KEY, a as HIDE_TOOL_BLOCKS_STORAGE_KEY, at as safeLocalStorageSetItem, c as PINNED_SESSIONS_STORAGE_KEY, ct as thinkingSummaryText, d as RIGHT_SIDEBAR_FILE_TREE_WIDTH_STORAGE_KEY, et as readStoredSessionDoneDesktopNotificationsEnabled, f as RIGHT_SIDEBAR_HISTORY_HEIGHT_STORAGE_KEY, g as SESSION_DONE_DESKTOP_NOTIFICATIONS_ENABLED_STORAGE_KEY, h as Route, i as DRAFT_DIRECTORY_STORAGE_KEY, it as safeLocalStorageGetItem, j as createContextId, k as cn, l as RECENT_DIRECTORIES_STORAGE_KEY, m as RIGHT_SIDEBAR_WIDTHS_STORAGE_KEY, n as CENTER_MESSAGES_STORAGE_KEY, nt as readStoredSidebarDirectories, o as Kbd, ot as sameContextUsage, p as RIGHT_SIDEBAR_OPEN_STORAGE_KEY, q as readStoredCollapsedDirectories, r as COLLAPSED_DIRECTORIES_STORAGE_KEY, rt as rememberStoredPromptDraft, s as KeyboardShortcutContent, st as sessionListEntryKey, t as AUTO_SCROLL_ENABLED_STORAGE_KEY, tt as readStoredSessionDoneSoundEnabled, u as RIGHT_SIDEBAR_ACTIVE_TAB_STORAGE_KEY, v as SIDEBAR_DIRECTORIES_STORAGE_KEY, x as TitleTooltip, y as Spinner, z as normalizePromptImage } from "./routes-
|
|
5
|
+
import { $ as readStoredRightSidebarOpen, B as normalizeSessionSelectionKeys, C as TooltipContent, E as VIEWER_CONTEXT_STORAGE_KEY, G as readStoredAutoScrollEnabled, H as normalizeThemeMode, I as flattenTree, J as readStoredDraftDirectory, K as readStoredCenterMessages, L as getSessionTitle, M as createInitialSessionState, O as buildItemsFromSync, Q as readStoredRecentDirectories, S as Tooltip$1, T as TooltipTrigger, U as previewUrlForImage, V as normalizeStoredDirectoryList, W as promptDraftKey, X as readStoredPinnedSessionKeys, Y as readStoredHideToolBlocks, Z as readStoredPromptDraft, _ as SESSION_DONE_SOUND_ENABLED_STORAGE_KEY, a as HIDE_TOOL_BLOCKS_STORAGE_KEY, at as safeLocalStorageSetItem, c as PINNED_SESSIONS_STORAGE_KEY, ct as thinkingSummaryText, d as RIGHT_SIDEBAR_FILE_TREE_WIDTH_STORAGE_KEY, et as readStoredSessionDoneDesktopNotificationsEnabled, f as RIGHT_SIDEBAR_HISTORY_HEIGHT_STORAGE_KEY, g as SESSION_DONE_DESKTOP_NOTIFICATIONS_ENABLED_STORAGE_KEY, h as Route, i as DRAFT_DIRECTORY_STORAGE_KEY, it as safeLocalStorageGetItem, j as createContextId, k as cn, l as RECENT_DIRECTORIES_STORAGE_KEY, m as RIGHT_SIDEBAR_WIDTHS_STORAGE_KEY, n as CENTER_MESSAGES_STORAGE_KEY, nt as readStoredSidebarDirectories, o as Kbd, ot as sameContextUsage, p as RIGHT_SIDEBAR_OPEN_STORAGE_KEY, q as readStoredCollapsedDirectories, r as COLLAPSED_DIRECTORIES_STORAGE_KEY, rt as rememberStoredPromptDraft, s as KeyboardShortcutContent, st as sessionListEntryKey, t as AUTO_SCROLL_ENABLED_STORAGE_KEY, tt as readStoredSessionDoneSoundEnabled, u as RIGHT_SIDEBAR_ACTIVE_TAB_STORAGE_KEY, v as SIDEBAR_DIRECTORIES_STORAGE_KEY, x as TitleTooltip, y as Spinner, z as normalizePromptImage } from "./routes-DHXvlqAP.mjs";
|
|
6
6
|
import { i as useQuery, n as useIsMutating, o as useQueryClient, r as useIsFetching, t as useMutation } from "../_libs/tanstack__react-query.mjs";
|
|
7
7
|
import { t as useHotkeys } from "../_libs/tanstack__react-hotkeys.mjs";
|
|
8
8
|
import { a as matchesKeyboardEvent, i as batch, o as formatForDisplay, r as createStore } from "../_libs/@tanstack/hotkeys+[...].mjs";
|
|
@@ -19,7 +19,7 @@ import { t as remarkGfm } from "../_libs/remark-gfm.mjs";
|
|
|
19
19
|
import { a as getBuiltInSpriteSheet, i as getBuiltInFileIconColor, n as FileTree, r as createFileTreeIconResolver, t as useFileTree } from "../_libs/@pierre/trees+[...].mjs";
|
|
20
20
|
import { a as closestCenter, d as useSensors, f as CSS$1, i as PointerSensor, n as DragOverlay, t as DndContext, u as useSensor } from "../_libs/@dnd-kit/core+[...].mjs";
|
|
21
21
|
import { a as verticalListSortingStrategy, i as useSortable, n as arrayMove, r as horizontalListSortingStrategy, t as SortableContext } from "../_libs/dnd-kit__sortable.mjs";
|
|
22
|
-
//#region node_modules/.nitro/vite/services/ssr/assets/routes-
|
|
22
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/routes-C7eO3ZVn.js
|
|
23
23
|
var import_react = /* @__PURE__ */ __toESM(require_react());
|
|
24
24
|
var import_jsx_runtime = require_jsx_runtime();
|
|
25
25
|
var MOBILE_BREAKPOINT = 768;
|
|
@@ -16278,18 +16278,14 @@ var AppShellSessionHeader = import_react.memo(function AppShellSessionHeader({ a
|
|
|
16278
16278
|
}), { compare: shallowRecordEqual });
|
|
16279
16279
|
const hideToolBlocks = useSelector(displaySettingsStore, (settings) => settings.hideToolBlocks);
|
|
16280
16280
|
const { isMobile: sidebarIsMobile, openMobile: sidebarOpenMobile, state: sidebarState } = useSidebar();
|
|
16281
|
-
const
|
|
16282
|
-
const showCollapsedNewSessionButton = !sidebarOpen;
|
|
16281
|
+
const showCollapsedNewSessionButton = !(sidebarIsMobile ? sidebarOpenMobile : sidebarState === "expanded");
|
|
16283
16282
|
const displaySessionTitle = isSessionViewLoading ? loadingDisplaySessionTitle : getCurrentSessionTitleFromState(sessionHeaderState);
|
|
16284
16283
|
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", {
|
|
16285
|
-
className: "sticky top-0 z-50 flex
|
|
16284
|
+
className: "sticky top-0 z-50 flex h-[var(--header-height)] w-full shrink-0 items-center border-b border-border/70 bg-background p-2",
|
|
16286
16285
|
children: /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", {
|
|
16287
16286
|
className: "relative flex w-full items-center gap-1",
|
|
16288
16287
|
children: [
|
|
16289
|
-
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(SidebarTrigger, {
|
|
16290
|
-
variant: sidebarOpen ? "secondary" : "ghost",
|
|
16291
|
-
className: "shrink-0"
|
|
16292
|
-
}),
|
|
16288
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(SidebarTrigger, { className: "shrink-0" }),
|
|
16293
16289
|
showCollapsedNewSessionButton ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)(TitleTooltip, {
|
|
16294
16290
|
title: defaultNewSessionDirectory ? `Create a new session in ${formatDisplayPath$1(defaultNewSessionDirectory)}` : "Create a new session",
|
|
16295
16291
|
kbd: formatShortcutLabel("Control+N"),
|
|
@@ -16439,7 +16435,7 @@ var AppShellSessionHeader = import_react.memo(function AppShellSessionHeader({ a
|
|
|
16439
16435
|
kbd: formatShortcutLabel("Control+\\"),
|
|
16440
16436
|
children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Button$1, {
|
|
16441
16437
|
size: "icon",
|
|
16442
|
-
variant:
|
|
16438
|
+
variant: "ghost",
|
|
16443
16439
|
className: "hidden md:inline-flex",
|
|
16444
16440
|
"aria-pressed": gitPanelOpen,
|
|
16445
16441
|
"aria-label": "Toggle right sidebar",
|
|
@@ -16902,7 +16898,7 @@ var DirectorySessionGroup = import_react.memo(function DirectorySessionGroup({ d
|
|
|
16902
16898
|
const showHeaderLoadingSpinner = showLoadingSpinner && unpinnedSessionKeys.length === 0 && collapsed;
|
|
16903
16899
|
const hasDirectoryActions = !overlay && Boolean(onCreateSessionInDirectory || onDeleteOldSessionsInDirectory || onRemoveDirectory);
|
|
16904
16900
|
const directoryHeader = /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", {
|
|
16905
|
-
className: "flex items-center gap-2 rounded-lg
|
|
16901
|
+
className: "flex items-center gap-2 rounded-lg",
|
|
16906
16902
|
children: [
|
|
16907
16903
|
/* @__PURE__ */ (0, import_jsx_runtime.jsxs)(CollapsibleTrigger, {
|
|
16908
16904
|
type: "button",
|
|
@@ -16916,7 +16912,7 @@ var DirectorySessionGroup = import_react.memo(function DirectorySessionGroup({ d
|
|
|
16916
16912
|
className: "max-w-full min-w-0",
|
|
16917
16913
|
children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(DirectoryPathLabel, { path: directory })
|
|
16918
16914
|
}),
|
|
16919
|
-
!searchActive ? collapsed ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)(ChevronRight, { className: "size-4 shrink-0 opacity-0 transition-opacity group-hover/directory-label:opacity-100 group-focus-visible/directory-label:opacity-100" }) : /* @__PURE__ */ (0, import_jsx_runtime.jsx)(ChevronDown, { className: "size-4 shrink-0 opacity-0 transition-opacity group-hover/directory-label:opacity-100 group-focus-visible/directory-label:opacity-100" }) : null,
|
|
16915
|
+
!searchActive && !overlay ? collapsed ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)(ChevronRight, { className: "size-4 shrink-0 opacity-0 transition-opacity group-hover/directory-label:opacity-100 group-focus-visible/directory-label:opacity-100" }) : /* @__PURE__ */ (0, import_jsx_runtime.jsx)(ChevronDown, { className: "size-4 shrink-0 opacity-0 transition-opacity group-hover/directory-label:opacity-100 group-focus-visible/directory-label:opacity-100" }) : null,
|
|
16920
16916
|
showHeaderLoadingSpinner ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Spinner, { className: "size-3.5 shrink-0" }) : null
|
|
16921
16917
|
]
|
|
16922
16918
|
}),
|
|
@@ -16965,7 +16961,7 @@ var DirectorySessionGroup = import_react.memo(function DirectorySessionGroup({ d
|
|
|
16965
16961
|
if (searchActive || overlay) return;
|
|
16966
16962
|
collapsedDirectoryStore.setCollapsed(directory, !open);
|
|
16967
16963
|
},
|
|
16968
|
-
className: cn("rounded-lg py-1", isDragging && !overlay && "opacity-0"),
|
|
16964
|
+
className: cn("rounded-lg py-1", overlay && "bg-sidebar shadow-lg ring-1 ring-sidebar-border/70", isDragging && !overlay && "opacity-0"),
|
|
16969
16965
|
children: /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(SidebarGroup, {
|
|
16970
16966
|
className: "py-0",
|
|
16971
16967
|
children: [hasDirectoryActions && !isMobile ? /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(ContextMenu$1, { children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)(ContextMenuTrigger, { render: directoryHeader }), /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(ContextMenuContent, {
|
|
@@ -16985,7 +16981,7 @@ var DirectorySessionGroup = import_react.memo(function DirectorySessionGroup({ d
|
|
|
16985
16981
|
children: "Remove from sidebar"
|
|
16986
16982
|
}) : null
|
|
16987
16983
|
]
|
|
16988
|
-
})] }) : directoryHeader, /* @__PURE__ */ (0, import_jsx_runtime.jsx)(CollapsibleContent, { children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(SidebarGroupContent, { children: showLoadingState ? /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", {
|
|
16984
|
+
})] }) : directoryHeader, !overlay ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)(CollapsibleContent, { children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(SidebarGroupContent, { children: showLoadingState ? /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", {
|
|
16989
16985
|
className: "flex items-center gap-2 px-2 py-2 text-sm text-sidebar-foreground/70",
|
|
16990
16986
|
children: [showLoadingSpinner ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Spinner, {}) : /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", {
|
|
16991
16987
|
className: "size-4",
|
|
@@ -17006,7 +17002,7 @@ var DirectorySessionGroup = import_react.memo(function DirectorySessionGroup({ d
|
|
|
17006
17002
|
onRenameSession,
|
|
17007
17003
|
onDeleteSession,
|
|
17008
17004
|
onTogglePinnedSession
|
|
17009
|
-
}, entryKey)) }), hasMoreSessions
|
|
17005
|
+
}, entryKey)) }), hasMoreSessions ? /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(Button$1, {
|
|
17010
17006
|
variant: "ghost",
|
|
17011
17007
|
className: "h-8 justify-start pl-8 text-sidebar-foreground/60 hover:bg-sidebar-accent/50 hover:text-sidebar-accent-foreground",
|
|
17012
17008
|
onClick: () => {
|
|
@@ -17023,7 +17019,7 @@ var DirectorySessionGroup = import_react.memo(function DirectorySessionGroup({ d
|
|
|
17023
17019
|
}) : /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", {
|
|
17024
17020
|
className: "px-2 py-2 text-sm text-sidebar-foreground/70",
|
|
17025
17021
|
children: searchActive ? "No matching unpinned sessions." : "No unpinned sessions."
|
|
17026
|
-
}) }) })]
|
|
17022
|
+
}) }) }) : null]
|
|
17027
17023
|
})
|
|
17028
17024
|
});
|
|
17029
17025
|
});
|
|
@@ -17088,29 +17084,32 @@ function DirectoryCollapseAllButton({ searchActive, visibleDirectories, collapse
|
|
|
17088
17084
|
function AppSidebarHeader({ onOpenSessionsDialog, onCreateSession }) {
|
|
17089
17085
|
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(SidebarHeader, {
|
|
17090
17086
|
className: "gap-2 border-b border-sidebar-border/70",
|
|
17091
|
-
children: /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(SidebarMenu, {
|
|
17092
|
-
|
|
17093
|
-
|
|
17094
|
-
|
|
17095
|
-
|
|
17096
|
-
|
|
17097
|
-
|
|
17098
|
-
|
|
17099
|
-
|
|
17100
|
-
|
|
17101
|
-
|
|
17102
|
-
|
|
17103
|
-
|
|
17104
|
-
|
|
17105
|
-
|
|
17106
|
-
|
|
17107
|
-
|
|
17108
|
-
|
|
17109
|
-
|
|
17110
|
-
|
|
17111
|
-
|
|
17112
|
-
|
|
17113
|
-
|
|
17087
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(SidebarMenu, {
|
|
17088
|
+
className: "gap-1",
|
|
17089
|
+
children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)(SidebarMenuItem, { children: /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(SidebarMenuButton, {
|
|
17090
|
+
type: "button",
|
|
17091
|
+
onClick: onOpenSessionsDialog,
|
|
17092
|
+
children: [
|
|
17093
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(Search, {}),
|
|
17094
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { children: "Search sessions..." }),
|
|
17095
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", {
|
|
17096
|
+
className: "ml-auto hidden items-center md:flex",
|
|
17097
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Kbd, { children: formatShortcutLabel("Control+S") })
|
|
17098
|
+
})
|
|
17099
|
+
]
|
|
17100
|
+
}) }), /* @__PURE__ */ (0, import_jsx_runtime.jsx)(SidebarMenuItem, { children: /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(SidebarMenuButton, {
|
|
17101
|
+
type: "button",
|
|
17102
|
+
onClick: onCreateSession,
|
|
17103
|
+
children: [
|
|
17104
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(SquarePen, {}),
|
|
17105
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { children: "New session" }),
|
|
17106
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", {
|
|
17107
|
+
className: "ml-auto hidden items-center md:flex",
|
|
17108
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Kbd, { children: formatShortcutLabel("Control+N") })
|
|
17109
|
+
})
|
|
17110
|
+
]
|
|
17111
|
+
}) })]
|
|
17112
|
+
})
|
|
17114
17113
|
});
|
|
17115
17114
|
}
|
|
17116
17115
|
function AppSidebarDirectoriesHeader({ sessionSearch, visibleDirectories, matchingSessionCount, collapsed, collapsedDirectoryStore, onOpenAddDirectoryDialog }) {
|
|
@@ -17234,7 +17233,7 @@ function AppSidebar({ sessionSearch, onOpenSessionsDialog, visibleDirectories, d
|
|
|
17234
17233
|
};
|
|
17235
17234
|
return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(Sidebar, {
|
|
17236
17235
|
collapsible: "offcanvas",
|
|
17237
|
-
className: "top-(--header-height) !h-[calc(
|
|
17236
|
+
className: "top-[var(--header-height)] !h-[calc(100svh_-_var(--header-height))] border-r border-sidebar-border/70",
|
|
17238
17237
|
children: [
|
|
17239
17238
|
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(AppSidebarHeader, {
|
|
17240
17239
|
onOpenSessionsDialog,
|
|
@@ -17340,29 +17339,32 @@ function AppSidebar({ sessionSearch, onOpenSessionsDialog, visibleDirectories, d
|
|
|
17340
17339
|
})] }),
|
|
17341
17340
|
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(SidebarFooter, {
|
|
17342
17341
|
className: "gap-2 border-t border-sidebar-border/70",
|
|
17343
|
-
children: /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(SidebarMenu, {
|
|
17344
|
-
|
|
17345
|
-
|
|
17346
|
-
|
|
17347
|
-
|
|
17348
|
-
|
|
17349
|
-
|
|
17350
|
-
|
|
17351
|
-
|
|
17352
|
-
|
|
17353
|
-
|
|
17354
|
-
|
|
17355
|
-
|
|
17356
|
-
|
|
17357
|
-
|
|
17358
|
-
|
|
17359
|
-
|
|
17360
|
-
|
|
17361
|
-
|
|
17362
|
-
|
|
17363
|
-
|
|
17364
|
-
|
|
17365
|
-
|
|
17342
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(SidebarMenu, {
|
|
17343
|
+
className: "gap-1",
|
|
17344
|
+
children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)(SidebarMenuItem, { children: /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(SidebarMenuButton, {
|
|
17345
|
+
type: "button",
|
|
17346
|
+
onClick: onOpenCommandPalette,
|
|
17347
|
+
children: [
|
|
17348
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(Command, {}),
|
|
17349
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { children: "Commands" }),
|
|
17350
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", {
|
|
17351
|
+
className: "ml-auto hidden items-center md:flex",
|
|
17352
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Kbd, { children: formatShortcutLabel("Control+K") })
|
|
17353
|
+
})
|
|
17354
|
+
]
|
|
17355
|
+
}) }), /* @__PURE__ */ (0, import_jsx_runtime.jsx)(SidebarMenuItem, { children: /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(SidebarMenuButton, {
|
|
17356
|
+
type: "button",
|
|
17357
|
+
onClick: onOpenSettings,
|
|
17358
|
+
children: [
|
|
17359
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(Settings2, {}),
|
|
17360
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { children: "Settings" }),
|
|
17361
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", {
|
|
17362
|
+
className: "ml-auto hidden items-center md:flex",
|
|
17363
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Kbd, { children: formatShortcutLabel("Control+,") })
|
|
17364
|
+
})
|
|
17365
|
+
]
|
|
17366
|
+
}) })]
|
|
17367
|
+
})
|
|
17366
17368
|
}),
|
|
17367
17369
|
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(SidebarRail, {})
|
|
17368
17370
|
]
|
|
@@ -22088,7 +22090,7 @@ function PicoAppShell({ sessionId, onSelectSession }) {
|
|
|
22088
22090
|
});
|
|
22089
22091
|
}, [sidebarStore]);
|
|
22090
22092
|
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(SidebarProvider, {
|
|
22091
|
-
className: "h-full flex-col overflow-hidden bg-background [--header-height:
|
|
22093
|
+
className: "h-full flex-col overflow-hidden bg-background [--header-height:3rem]",
|
|
22092
22094
|
children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(AppShellSessionWorkspace, {
|
|
22093
22095
|
ref: sessionWorkspaceRef,
|
|
22094
22096
|
viewerContextId,
|
|
@@ -5,7 +5,7 @@ import { n as clsx } from "../_libs/class-variance-authority+clsx.mjs";
|
|
|
5
5
|
import { t as twMerge } from "../_libs/tailwind-merge.mjs";
|
|
6
6
|
import { B as ArrowDown, I as ArrowUp, M as ChevronUp, O as Command, R as ArrowRight, V as ArrowBigUp, m as Option, z as ArrowLeft } from "../_libs/lucide-react.mjs";
|
|
7
7
|
import { n as string, t as object } from "../_libs/zod.mjs";
|
|
8
|
-
//#region node_modules/.nitro/vite/services/ssr/assets/routes-
|
|
8
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/routes-DHXvlqAP.js
|
|
9
9
|
var import_react = /* @__PURE__ */ __toESM(require_react());
|
|
10
10
|
var import_jsx_runtime = require_jsx_runtime();
|
|
11
11
|
function cn(...inputs) {
|
|
@@ -1279,7 +1279,7 @@ function getSessionTitle(summary) {
|
|
|
1279
1279
|
if (summary?.name?.trim()) return summary.name.trim();
|
|
1280
1280
|
return "New session";
|
|
1281
1281
|
}
|
|
1282
|
-
var $$splitComponentImporter = () => import("./routes-
|
|
1282
|
+
var $$splitComponentImporter = () => import("./routes-C7eO3ZVn.mjs");
|
|
1283
1283
|
var indexSearchSchema = object({ session: string().optional() });
|
|
1284
1284
|
var Route = createFileRoute("/")({
|
|
1285
1285
|
validateSearch: indexSearchSchema,
|
|
@@ -3813,7 +3813,7 @@ var defaultSerovalPlugins = [
|
|
|
3813
3813
|
* the dev styles URL for route-scoped CSS collection.
|
|
3814
3814
|
*/
|
|
3815
3815
|
async function getStartManifest(matchedRoutes) {
|
|
3816
|
-
const { tsrStartManifest } = await import("../_tanstack-start-manifest_v-
|
|
3816
|
+
const { tsrStartManifest } = await import("../_tanstack-start-manifest_v-ChF3TvKp.mjs");
|
|
3817
3817
|
const startManifest = tsrStartManifest();
|
|
3818
3818
|
const rootRoute = startManifest.routes[rootRouteId] = startManifest.routes["__root__"] || {};
|
|
3819
3819
|
rootRoute.assets = rootRoute.assets || [];
|
|
@@ -4799,7 +4799,7 @@ var baseManifestPromise;
|
|
|
4799
4799
|
var cachedFinalManifestPromise;
|
|
4800
4800
|
async function loadEntries() {
|
|
4801
4801
|
const [routerEntry, startEntry, pluginAdapters] = await Promise.all([
|
|
4802
|
-
import("./router-
|
|
4802
|
+
import("./router-DQcefit6.mjs"),
|
|
4803
4803
|
import("./start-Captdpmb.mjs"),
|
|
4804
4804
|
import("../__23tanstack-start-plugin-adapters-y_fshQDY.mjs")
|
|
4805
4805
|
]);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
//#region node_modules/.nitro/vite/services/ssr/assets/_tanstack-start-manifest_v-
|
|
1
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/_tanstack-start-manifest_v-ChF3TvKp.js
|
|
2
2
|
var tsrStartManifest = () => ({
|
|
3
3
|
routes: {
|
|
4
4
|
__root__: {
|
|
@@ -50,16 +50,16 @@ var tsrStartManifest = () => ({
|
|
|
50
50
|
"/api/ui/$id"
|
|
51
51
|
],
|
|
52
52
|
assets: void 0,
|
|
53
|
-
preloads: ["/assets/index-
|
|
53
|
+
preloads: ["/assets/index-ga3WrbUv.js", "/assets/rolldown-runtime-S-ySWqyJ.js"]
|
|
54
54
|
},
|
|
55
55
|
"/": {
|
|
56
56
|
filePath: "/home/runner/work/pico/pico/src/routes/index.tsx",
|
|
57
57
|
children: void 0,
|
|
58
58
|
assets: void 0,
|
|
59
|
-
preloads: ["/assets/routes-
|
|
59
|
+
preloads: ["/assets/routes-BApV813x.js"]
|
|
60
60
|
}
|
|
61
61
|
},
|
|
62
|
-
clientEntry: "/assets/index-
|
|
62
|
+
clientEntry: "/assets/index-ga3WrbUv.js"
|
|
63
63
|
});
|
|
64
64
|
//#endregion
|
|
65
65
|
export { tsrStartManifest };
|