@alivault/pico 0.10.3 → 0.11.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/.output/nitro.json +1 -1
- package/.output/public/assets/{index-DZbiiE6N.js → index-DPU34F0T.js} +8 -8
- package/.output/public/assets/routes-CVlcrX-A.js +2195 -0
- package/.output/public/assets/styles-Chvsnn7o.css +2 -0
- package/.output/server/_ssr/{router-qUSM3V8V.mjs → router-Ccz1kegF.mjs} +4 -4
- package/.output/server/_ssr/{routes-DMdIR42g.mjs → routes-D3Hu5M6D.mjs} +46 -5
- package/.output/server/_ssr/{routes-Ia1sMc23.mjs → routes-DGf2MDLT.mjs} +330 -57
- package/.output/server/_ssr/ssr.mjs +2 -2
- package/.output/server/{_tanstack-start-manifest_v-PFy5bdx9.mjs → _tanstack-start-manifest_v-BWLjOj7J.mjs} +4 -4
- package/.output/server/index.mjs +453 -453
- package/package.json +1 -1
- package/.output/public/assets/routes-Cov4KirM.js +0 -2195
- package/.output/public/assets/styles-hk0oLlcJ.css +0 -2
|
@@ -2,7 +2,7 @@ import { i as __toESM } from "../_runtime.mjs";
|
|
|
2
2
|
import { $ as require_react, Q as require_jsx_runtime } from "../_libs/@base-ui/react+[...].mjs";
|
|
3
3
|
import { a as createRouter, c as createRootRoute, n as Scripts, r as HeadContent, s as createFileRoute } from "../_libs/@tanstack/react-router+[...].mjs";
|
|
4
4
|
import { I as CircleCheck, S as Info, _ as OctagonX, a as TriangleAlert } from "../_libs/lucide-react.mjs";
|
|
5
|
-
import { B as createCompactionSummaryItem, G as extractToolText, I as appliedThemeClassColorMode, J as mergeAssistantBlocksForStreaming, L as assistantBlocksFromMessage, M as TooltipProvider, R as buildItemsFromSync, T as Spinner, U as extractMessageImages, W as extractMessageText$1, f as PICO_SHIKI_VARIABLE_DEFAULTS, kt as toolCategoryFromTool, n as APPLIED_THEME_STORAGE_KEY, t as APPLIED_THEME_CLASSES, u as PICO_CODE_SHIKI_THEME, x as Route$54 } from "./routes-
|
|
5
|
+
import { B as createCompactionSummaryItem, G as extractToolText, I as appliedThemeClassColorMode, J as mergeAssistantBlocksForStreaming, L as assistantBlocksFromMessage, M as TooltipProvider, R as buildItemsFromSync, T as Spinner, U as extractMessageImages, W as extractMessageText$1, f as PICO_SHIKI_VARIABLE_DEFAULTS, kt as toolCategoryFromTool, n as APPLIED_THEME_STORAGE_KEY, t as APPLIED_THEME_CLASSES, u as PICO_CODE_SHIKI_THEME, x as Route$54 } from "./routes-D3Hu5M6D.mjs";
|
|
6
6
|
import { t as QueryClient } from "../_libs/tanstack__query-core.mjs";
|
|
7
7
|
import { t as setupRouterSsrQueryIntegration } from "../_libs/@tanstack/react-router-ssr-query+[...].mjs";
|
|
8
8
|
import { n as HotkeysProvider } from "../_libs/tanstack__react-hotkeys.mjs";
|
|
@@ -20,7 +20,7 @@ import os, { homedir } from "node:os";
|
|
|
20
20
|
import { performance } from "node:perf_hooks";
|
|
21
21
|
import { isMainThread } from "node:worker_threads";
|
|
22
22
|
import { execSync, spawn } from "node:child_process";
|
|
23
|
-
//#region node_modules/.nitro/vite/services/ssr/assets/router-
|
|
23
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/router-Ccz1kegF.js
|
|
24
24
|
var import_react = /* @__PURE__ */ __toESM(require_react());
|
|
25
25
|
var import_jsx_runtime = require_jsx_runtime();
|
|
26
26
|
function sonnerThemeFromAppliedTheme(theme) {
|
|
@@ -37,7 +37,7 @@ var Toaster$1 = ({ ...props }) => {
|
|
|
37
37
|
info: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Info, { className: "size-4" }),
|
|
38
38
|
warning: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(TriangleAlert, { className: "size-4" }),
|
|
39
39
|
error: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(OctagonX, { className: "size-4" }),
|
|
40
|
-
loading: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Spinner, {
|
|
40
|
+
loading: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Spinner, { size: "md" })
|
|
41
41
|
},
|
|
42
42
|
style: {
|
|
43
43
|
"--normal-bg": "var(--popover)",
|
|
@@ -87,7 +87,7 @@ function AppProviders({ children }) {
|
|
|
87
87
|
})
|
|
88
88
|
});
|
|
89
89
|
}
|
|
90
|
-
var styles_default = "/assets/styles-
|
|
90
|
+
var styles_default = "/assets/styles-Chvsnn7o.css";
|
|
91
91
|
var TANSTACK_DEVTOOLS_SETTINGS_KEY = "tanstack_devtools_settings";
|
|
92
92
|
var TANSTACK_DEVTOOLS_DEFAULTS_STORAGE_KEY = "pico-tanstack-devtools-defaults-v1";
|
|
93
93
|
var TANSTACK_DEVTOOLS_CONFIG = {
|
|
@@ -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 { F as Command, J as ArrowDown, K as ArrowRight, U as ArrowUp, Y as ArrowBigUp, g as Option, q as ArrowLeft, z as ChevronUp } 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-D3Hu5M6D.js
|
|
9
9
|
var import_react = /* @__PURE__ */ __toESM(require_react());
|
|
10
10
|
var import_jsx_runtime = require_jsx_runtime();
|
|
11
11
|
function cn(...inputs) {
|
|
@@ -222,15 +222,56 @@ function TitleTooltip({ title, children, kbd, rows, side, align, sideOffset, cla
|
|
|
222
222
|
}) : null] })
|
|
223
223
|
})] });
|
|
224
224
|
}
|
|
225
|
-
|
|
225
|
+
var SPINNER_CELLS = [
|
|
226
|
+
{
|
|
227
|
+
id: "top-left",
|
|
228
|
+
className: "pico-spinner-pixel-0"
|
|
229
|
+
},
|
|
230
|
+
{
|
|
231
|
+
id: "top",
|
|
232
|
+
className: "pico-spinner-pixel-1"
|
|
233
|
+
},
|
|
234
|
+
{
|
|
235
|
+
id: "top-right",
|
|
236
|
+
className: "pico-spinner-pixel-2"
|
|
237
|
+
},
|
|
238
|
+
{
|
|
239
|
+
id: "right",
|
|
240
|
+
className: "pico-spinner-pixel-5"
|
|
241
|
+
},
|
|
242
|
+
{
|
|
243
|
+
id: "bottom-right",
|
|
244
|
+
className: "pico-spinner-pixel-8"
|
|
245
|
+
},
|
|
246
|
+
{
|
|
247
|
+
id: "bottom",
|
|
248
|
+
className: "pico-spinner-pixel-7"
|
|
249
|
+
},
|
|
250
|
+
{
|
|
251
|
+
id: "bottom-left",
|
|
252
|
+
className: "pico-spinner-pixel-6"
|
|
253
|
+
},
|
|
254
|
+
{
|
|
255
|
+
id: "left",
|
|
256
|
+
className: "pico-spinner-pixel-3"
|
|
257
|
+
}
|
|
258
|
+
];
|
|
259
|
+
var SPINNER_SIZE_CLASS_NAMES = {
|
|
260
|
+
xs: "size-3",
|
|
261
|
+
sm: "size-3.5",
|
|
262
|
+
md: "size-4"
|
|
263
|
+
};
|
|
264
|
+
function Spinner({ className, size = "sm", "aria-label": ariaLabel = "Loading", ...props }) {
|
|
226
265
|
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", {
|
|
227
266
|
role: "status",
|
|
228
267
|
"aria-label": ariaLabel,
|
|
229
|
-
|
|
268
|
+
"data-pico-spinner-size": size,
|
|
269
|
+
className: cn("pico-spinner pointer-events-none inline-flex shrink-0 items-center justify-center font-mono leading-none text-primary select-none", SPINNER_SIZE_CLASS_NAMES[size], className),
|
|
230
270
|
...props,
|
|
231
271
|
children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", {
|
|
232
272
|
"aria-hidden": "true",
|
|
233
|
-
className: "pico-spinner-
|
|
273
|
+
className: "pico-spinner-pixels",
|
|
274
|
+
children: SPINNER_CELLS.map((cell) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { className: cn("pico-spinner-pixel", cell.className) }, cell.id))
|
|
234
275
|
})
|
|
235
276
|
});
|
|
236
277
|
}
|
|
@@ -3200,7 +3241,7 @@ function getSessionTitle(summary) {
|
|
|
3200
3241
|
if (summary?.name?.trim()) return summary.name.trim();
|
|
3201
3242
|
return "New session";
|
|
3202
3243
|
}
|
|
3203
|
-
var $$splitComponentImporter = () => import("./routes-
|
|
3244
|
+
var $$splitComponentImporter = () => import("./routes-DGf2MDLT.mjs");
|
|
3204
3245
|
var indexSearchSchema = object({ session: string().optional() });
|
|
3205
3246
|
var Route = createFileRoute("/")({
|
|
3206
3247
|
validateSearch: indexSearchSchema,
|