Shared task board where people and AI coding agents work as teammates. Source-available, self-hostable.
Go
refactor(ui): move theme toggle from Chat to web app layout
Naiyuan Qinga0888751185a
diff --git a/apps/web/app/layout.tsx b/apps/web/app/layout.tsxindex 4c9091a351..f6c3840217 100644--- a/apps/web/app/layout.tsx+++ b/apps/web/app/layout.tsx@@ -2,6 +2,7 @@ import type { Metadata } from "next";import { Geist, Geist_Mono, Inter, Playfair_Display } from "next/font/google";import "@multica/ui/globals.css";import { ThemeProvider } from "@multica/ui/components/theme-provider";+import { ThemeToggle } from "./theme-toggle";import { Toaster } from "@multica/ui/components/ui/sonner";import { ServiceWorkerRegister } from "./sw-register";@@ -52,6 +53,7 @@ export default function RootLayout({enableSystemdisableTransitionOnChange>+ <ThemeToggle /><div className="flex h-dvh overflow-hidden">{children}</div></ThemeProvider><Toaster />diff --git a/apps/web/app/theme-toggle.tsx b/apps/web/app/theme-toggle.tsxnew file mode 100644index 0000000000..60342b4b65--- /dev/null+++ b/apps/web/app/theme-toggle.tsx@@ -0,0 +1,24 @@+"use client";++import { useTheme } from "next-themes";+import { Button } from "@multica/ui/components/ui/button";+import { HugeiconsIcon } from "@hugeicons/react";+import { Sun01Icon, Moon01Icon } from "@hugeicons/core-free-icons";++export function ThemeToggle() {+ const { theme, setTheme } = useTheme();++ return (+ <div className="fixed top-2 right-2 z-50">+ <Button+ variant="ghost"+ size="icon"+ onClick={() => setTheme(theme === "dark" ? "light" : "dark")}+ className="size-8 text-muted-foreground"+ >+ <HugeiconsIcon icon={Sun01Icon} strokeWidth={1.5} className="size-4 dark:hidden" />+ <HugeiconsIcon icon={Moon01Icon} strokeWidth={1.5} className="size-4 hidden dark:block" />+ </Button>+ </div>+ );+}diff --git a/apps/web/package.json b/apps/web/package.jsonindex 954a40087d..95b1b67cff 100644--- a/apps/web/package.json+++ b/apps/web/package.json@@ -17,6 +17,7 @@"@hugeicons/core-free-icons": "^3.1.1","@hugeicons/react": "^1.1.4","next": "16.1.6",+ "next-themes": "^0.4.6","react": "catalog:","react-dom": "catalog:"},diff --git a/packages/ui/src/components/chat.tsx b/packages/ui/src/components/chat.tsxindex 577df6a807..9dea198f7a 100644--- a/packages/ui/src/components/chat.tsx+++ b/packages/ui/src/components/chat.tsx@@ -1,14 +1,11 @@"use client";import { useRef, useState, useCallback, useMemo } from "react";-import { useTheme } from "next-themes";import { Button } from "@multica/ui/components/ui/button";import { Textarea } from "@multica/ui/components/ui/textarea";import { ChatInput } from "@multica/ui/components/chat-input";import { MemoizedMarkdown } from "@multica/ui/components/markdown";import { StreamingMarkdown } from "@multica/ui/components/markdown/StreamingMarkdown";-import { HugeiconsIcon } from "@hugeicons/react";-import { Sun01Icon, Moon01Icon } from "@hugeicons/core-free-icons";import { toast } from "@multica/ui/components/ui/sonner";import {useHubStore,@@ -27,8 +24,6 @@ import { cn } from "@multica/ui/lib/utils";export function Chat() {useHubInit()const deviceId = useDeviceId()- const { theme, setTheme } = useTheme()-const activeAgentId = useHubStore((s) => s.activeAgentId)const gwState = useGatewayStore((s) => s.connectionState)const hubId = useGatewayStore((s) => s.hubId)@@ -83,15 +78,6 @@ export function Chat() {</span></div><div className="flex items-center gap-1">- <Button- variant="ghost"- size="icon"- onClick={() => setTheme(theme === "dark" ? "light" : "dark")}- className="size-8 text-muted-foreground"- >- <HugeiconsIcon icon={Sun01Icon} strokeWidth={1.5} className="size-4 dark:hidden" />- <HugeiconsIcon icon={Moon01Icon} strokeWidth={1.5} className="size-4 hidden dark:block" />- </Button>{isConnected && (<Buttonvariant="ghost"diff --git a/pnpm-lock.yaml b/pnpm-lock.yamlindex a3131cb852..cba1da146e 100644--- a/pnpm-lock.yaml+++ b/pnpm-lock.yaml@@ -34,13 +34,13 @@ importers:dependencies:'@mariozechner/pi-agent-core':specifier: ^0.50.3- version: 0.50.3(@modelcontextprotocol/[email protected]([email protected])([email protected]))([email protected])([email protected])+ version: 0.50.3(@modelcontextprotocol/[email protected]([email protected])([email protected]))([email protected])([email protected])'@mariozechner/pi-ai':specifier: ^0.50.3- version: 0.50.3(@modelcontextprotocol/[email protected]([email protected])([email protected]))([email protected])([email protected])+ version: 0.50.3(@modelcontextprotocol/[email protected]([email protected])([email protected]))([email protected])([email protected])'@mariozechner/pi-coding-agent':specifier: ^0.50.3- version: 0.50.3(@modelcontextprotocol/[email protected]([email protected])([email protected]))([email protected])([email protected])+ version: 0.50.3(@modelcontextprotocol/[email protected]([email protected])([email protected]))([email protected])([email protected])'@mozilla/readability':specifier: ^0.6.0version: 0.6.0@@ -279,7 +279,7 @@ importers:version: 8.0.11([email protected])([email protected](@babel/[email protected])(@types/[email protected])([email protected]))([email protected])expo-router:specifier: ~6.0.23- version: 6.0.23(52130e04a12e6efd1d6e48b3f2ad01c3)+ version: 6.0.23(w7u2e3gmpia3npio76ytuzityu)expo-splash-screen:specifier: ~31.0.13version: 31.0.13([email protected])@@ -377,6 +377,9 @@ importers:next:specifier: 16.1.6+ next-themes:+ specifier: ^0.4.6react:specifier: 'catalog:'version: 19.2.3@@ -1862,105 +1865,89 @@ packages:resolution: {integrity: sha512-excjX8DfsIcJ10x1Kzr4RcWe1edC9PquDRRPx3YVCvQv+U5p7Yin2s32ftzikXojb1PIFc/9Mt28/y+iRklkrw==}cpu: [arm64]os: [linux]- libc: [glibc]'@img/[email protected]':resolution: {integrity: sha512-bFI7xcKFELdiNCVov8e44Ia4u2byA+l3XtsAj+Q8tfCwO6BQ8iDojYdvoPMqsKDkuoOo+X6HZA0s0q11ANMQ8A==}cpu: [arm]os: [linux]- libc: [glibc]'@img/[email protected]':resolution: {integrity: sha512-FMuvGijLDYG6lW+b/UvyilUWu5Ayu+3r2d1S8notiGCIyYU/76eig1UfMmkZ7vwgOrzKzlQbFSuQfgm7GYUPpA==}cpu: [ppc64]os: [linux]- libc: [glibc]'@img/[email protected]':resolution: {integrity: sha512-oVDbcR4zUC0ce82teubSm+x6ETixtKZBh/qbREIOcI3cULzDyb18Sr/Wcyx7NRQeQzOiHTNbZFF1UwPS2scyGA==}cpu: [riscv64]os: [linux]- libc: [glibc]'@img/[email protected]':resolution: {integrity: sha512-qmp9VrzgPgMoGZyPvrQHqk02uyjA0/QrTO26Tqk6l4ZV0MPWIW6LTkqOIov+J1yEu7MbFQaDpwdwJKhbJvuRxQ==}cpu: [s390x]os: [linux]- libc: [glibc]'@img/[email protected]':resolution: {integrity: sha512-tJxiiLsmHc9Ax1bz3oaOYBURTXGIRDODBqhveVHonrHJ9/+k89qbLl0bcJns+e4t4rvaNBxaEZsFtSfAdquPrw==}cpu: [x64]os: [linux]- libc: [glibc]'@img/[email protected]':resolution: {integrity: sha512-FVQHuwx1IIuNow9QAbYUzJ+En8KcVm9Lk5+uGUQJHaZmMECZmOlix9HnH7n1TRkXMS0pGxIJokIVB9SuqZGGXw==}cpu: [arm64]os: [linux]- libc: [musl]'@img/[email protected]':resolution: {integrity: sha512-+LpyBk7L44ZIXwz/VYfglaX/okxezESc6UxDSoyo2Ks6Jxc4Y7sGjpgU9s4PMgqgjj1gZCylTieNamqA1MF7Dg==}cpu: [x64]os: [linux]- libc: [musl]'@img/[email protected]':resolution: {integrity: sha512-bKQzaJRY/bkPOXyKx5EVup7qkaojECG6NLYswgktOZjaXecSAeCWiZwwiFf3/Y+O1HrauiE3FVsGxFg8c24rZg==}engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}cpu: [arm64]os: [linux]- libc: [glibc]'@img/[email protected]':resolution: {integrity: sha512-9dLqsvwtg1uuXBGZKsxem9595+ujv0sJ6Vi8wcTANSFpwV/GONat5eCkzQo/1O6zRIkh0m/8+5BjrRr7jDUSZw==}engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}cpu: [arm]os: [linux]- libc: [glibc]'@img/[email protected]':resolution: {integrity: sha512-7zznwNaqW6YtsfrGGDA6BRkISKAAE1Jo0QdpNYXNMHu2+0dTrPflTLNkpc8l7MUP5M16ZJcUvysVWWrMefZquA==}engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}cpu: [ppc64]os: [linux]- libc: [glibc]'@img/[email protected]':resolution: {integrity: sha512-51gJuLPTKa7piYPaVs8GmByo7/U7/7TZOq+cnXJIHZKavIRHAP77e3N2HEl3dgiqdD/w0yUfiJnII77PuDDFdw==}engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}cpu: [riscv64]os: [linux]- libc: [glibc]'@img/[email protected]':resolution: {integrity: sha512-nQtCk0PdKfho3eC5MrbQoigJ2gd1CgddUMkabUj+rBevs8tZ2cULOx46E7oyX+04WGfABgIwmMC0VqieTiR4jg==}engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}cpu: [s390x]os: [linux]- libc: [glibc]'@img/[email protected]':resolution: {integrity: sha512-MEzd8HPKxVxVenwAa+JRPwEC7QFjoPWuS5NZnBt6B3pu7EG2Ge0id1oLHZpPJdn3OQK+BQDiw9zStiHBTJQQQQ==}engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}cpu: [x64]os: [linux]- libc: [glibc]'@img/[email protected]':resolution: {integrity: sha512-fprJR6GtRsMt6Kyfq44IsChVZeGN97gTD331weR1ex1c1rypDEABN6Tm2xa1wE6lYb5DdEnk03NZPqA7Id21yg==}engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}cpu: [arm64]os: [linux]- libc: [musl]'@img/[email protected]':resolution: {integrity: sha512-Jg8wNT1MUzIvhBFxViqrEhWDGzqymo3sV7z7ZsaWbZNDLXRJZoRGrjulp60YYtV4wfY8VIKcWidjojlLcWrd8Q==}engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}cpu: [x64]os: [linux]- libc: [musl]'@img/[email protected]':resolution: {integrity: sha512-OdWTEiVkY2PHwqkbBI8frFxQQFekHaSSkUIJkwzclWZe64O1X4UlUjqqqLaPbUpMOQk6FBu/HtlGXNblIs0huw==}@@ -2125,28 +2112,24 @@ packages:engines: {node: '>= 10'}cpu: [arm64]os: [linux]- libc: [glibc]'@mariozechner/[email protected]':resolution: {integrity: sha512-4BC08CIaOXSSAGRZLEjqJmQfioED8ohAzwt0k2amZPEbH96YKoBNorq5EdwPf5VT+odS0DeyCwhwtxokRLZIvQ==}engines: {node: '>= 10'}cpu: [riscv64]os: [linux]- libc: [glibc]'@mariozechner/[email protected]':resolution: {integrity: sha512-GpNY5Y9nOzr0Vt0Qi5U88qwe6piiIHk44kSMexl8ns90LluN5UTNYmyfi7Xq3/lmPZCpnB2xvBTYbsXCxnopIA==}engines: {node: '>= 10'}cpu: [x64]os: [linux]- libc: [glibc]'@mariozechner/[email protected]':resolution: {integrity: sha512-+PnR48/x9GMY5Kh8BLjzHMx6trOegMtxAuqTM9X/bhV3QuW6sLLd7nojDHSGj/ZueK6i0tcQxvOrgNLozVtNDA==}engines: {node: '>= 10'}cpu: [x64]os: [linux]- libc: [musl]'@mariozechner/[email protected]':resolution: {integrity: sha512-+dy2vZ1Ph4EYj0cotB+bVUVk/uKl2bh9LOp/zlnFqoCCYDN6sm+L0VyIOPPo3hjoEVdGpHe1MUxp3qG/OLwXgg==}@@ -2308,28 +2291,24 @@ packages:engines: {node: '>= 10'}cpu: [arm64]os: [linux]- libc: [glibc]'@next/[email protected]':resolution: {integrity: sha512-S4J2v+8tT3NIO9u2q+S0G5KdvNDjXfAv06OhfOzNDaBn5rw84DGXWndOEB7d5/x852A20sW1M56vhC/tRVbccQ==}engines: {node: '>= 10'}cpu: [arm64]os: [linux]- libc: [musl]'@next/[email protected]':resolution: {integrity: sha512-2eEBDkFlMMNQnkTyPBhQOAyn2qMxyG2eE7GPH2WIDGEpEILcBPI/jdSv4t6xupSP+ot/jkfrCShLAa7+ZUPcJQ==}engines: {node: '>= 10'}cpu: [x64]os: [linux]- libc: [glibc]'@next/[email protected]':resolution: {integrity: sha512-oicJwRlyOoZXVlxmIMaTq7f8pN9QNbdes0q2FXfRsPhfCi8n8JmOZJm5oo1pwDaFbnnD421rVU409M3evFbIqg==}engines: {node: '>= 10'}cpu: [x64]os: [linux]- libc: [musl]'@next/[email protected]':resolution: {integrity: sha512-gQmm8izDTPgs+DCWH22kcDmuUp7NyiJgEl18bcr8irXA5N2m2O+JQIr6f3ct42GOs9c0h8QF3L5SzIxcYAAXXw==}@@ -2790,79 +2769,66 @@ packages:resolution: {integrity: sha512-eyrr5W08Ms9uM0mLcKfM/Uzx7hjhz2bcjv8P2uynfj0yU8GGPdz8iYrBPhiLOZqahoAMB8ZiolRZPbbU2MAi6Q==}cpu: [arm]os: [linux]- libc: [glibc]'@rollup/[email protected]':resolution: {integrity: sha512-Xds90ITXJCNyX9pDhqf85MKWUI4lqjiPAipJ8OLp8xqI2Ehk+TCVhF9rvOoN8xTbcafow3QOThkNnrM33uCFQA==}cpu: [arm]os: [linux]- libc: [musl]'@rollup/[email protected]':resolution: {integrity: sha512-Xws2KA4CLvZmXjy46SQaXSejuKPhwVdaNinldoYfqruZBaJHqVo6hnRa8SDo9z7PBW5x84SH64+izmldCgbezw==}cpu: [arm64]os: [linux]- libc: [glibc]'@rollup/[email protected]':resolution: {integrity: sha512-hrKXKbX5FdaRJj7lTMusmvKbhMJSGWJ+w++4KmjiDhpTgNlhYobMvKfDoIWecy4O60K6yA4SnztGuNTQF+Lplw==}cpu: [arm64]os: [linux]- libc: [musl]'@rollup/[email protected]':resolution: {integrity: sha512-6A+nccfSDGKsPm00d3xKcrsBcbqzCTAukjwWK6rbuAnB2bHaL3r9720HBVZ/no7+FhZLz/U3GwwZZEh6tOSI8Q==}cpu: [loong64]os: [linux]- libc: [glibc]'@rollup/[email protected]':resolution: {integrity: sha512-4P1VyYUe6XAJtQH1Hh99THxr0GKMMwIXsRNOceLrJnaHTDgk1FTcTimDgneRJPvB3LqDQxUmroBclQ1S0cIJwQ==}cpu: [loong64]os: [linux]- libc: [musl]'@rollup/[email protected]':resolution: {integrity: sha512-8Vv6pLuIZCMcgXre6c3nOPhE0gjz1+nZP6T+hwWjr7sVH8k0jRkH+XnfjjOTglyMBdSKBPPz54/y1gToSKwrSQ==}cpu: [ppc64]os: [linux]- libc: [glibc]'@rollup/[email protected]':resolution: {integrity: sha512-r1te1M0Sm2TBVD/RxBPC6RZVwNqUTwJTA7w+C/IW5v9Ssu6xmxWEi+iJQlpBhtUiT1raJ5b48pI8tBvEjEFnFA==}cpu: [ppc64]os: [linux]- libc: [musl]'@rollup/[email protected]':resolution: {integrity: sha512-say0uMU/RaPm3CDQLxUUTF2oNWL8ysvHkAjcCzV2znxBr23kFfaxocS9qJm+NdkRhF8wtdEEAJuYcLPhSPbjuQ==}cpu: [riscv64]os: [linux]- libc: [glibc]'@rollup/[email protected]':resolution: {integrity: sha512-/MU7/HizQGsnBREtRpcSbSV1zfkoxSTR7wLsRmBPQ8FwUj5sykrP1MyJTvsxP5KBq9SyE6kH8UQQQwa0ASeoQQ==}cpu: [riscv64]os: [linux]- libc: [musl]'@rollup/[email protected]':resolution: {integrity: sha512-Q9eh+gUGILIHEaJf66aF6a414jQbDnn29zeu0eX3dHMuysnhTvsUvZTCAyZ6tJhUjnvzBKE4FtuaYxutxRZpOg==}cpu: [s390x]os: [linux]- libc: [glibc]'@rollup/[email protected]':resolution: {integrity: sha512-OR5p5yG5OKSxHReWmwvM0P+VTPMwoBS45PXTMYaskKQqybkS3Kmugq1W+YbNWArF8/s7jQScgzXUhArzEQ7x0A==}cpu: [x64]os: [linux]- libc: [glibc]'@rollup/[email protected]':resolution: {integrity: sha512-XeatKzo4lHDsVEbm1XDHZlhYZZSQYym6dg2X/Ko0kSFgio+KXLsxwJQprnR48GvdIKDOpqWqssC3iBCjoMcMpw==}cpu: [x64]os: [linux]- libc: [musl]'@rollup/[email protected]':resolution: {integrity: sha512-Lu71y78F5qOfYmubYLHPcJm74GZLU6UJ4THkf/a1K7Tz2ycwC2VUbsqbJAXaR6Bx70SRdlVrt2+n5l7F0agTUw==}@@ -3187,28 +3153,24 @@ packages:engines: {node: '>= 10'}cpu: [arm64]os: [linux]- libc: [glibc]'@tailwindcss/[email protected]':resolution: {integrity: sha512-1px92582HkPQlaaCkdRcio71p8bc8i/ap5807tPRDK/uw953cauQBT8c5tVGkOwrHMfc2Yh6UuxaH4vtTjGvHg==}engines: {node: '>= 10'}cpu: [arm64]os: [linux]- libc: [musl]'@tailwindcss/[email protected]':resolution: {integrity: sha512-v3gyT0ivkfBLoZGF9LyHmts0Isc8jHZyVcbzio6Wpzifg/+5ZJpDiRiUhDLkcr7f/r38SWNe7ucxmGW3j3Kb/g==}engines: {node: '>= 10'}cpu: [x64]os: [linux]- libc: [glibc]'@tailwindcss/[email protected]':resolution: {integrity: sha512-bhJ2y2OQNlcRwwgOAGMY0xTFStt4/wyU6pvI6LSuZpRgKQwxTec0/3Scu91O8ir7qCR3AuepQKLU/kX99FouqQ==}engines: {node: '>= 10'}cpu: [x64]os: [linux]- libc: [musl]'@tailwindcss/[email protected]':resolution: {integrity: sha512-LffYTvPjODiP6PT16oNeUQJzNVyJl1cjIebq/rWWBF+3eDst5JGEFSc5cWxyRCJ0Mxl+KyIkqRxk1XPEs9x8TA==}@@ -3557,49 +3519,41 @@ packages:resolution: {integrity: sha512-34gw7PjDGB9JgePJEmhEqBhWvCiiWCuXsL9hYphDF7crW7UgI05gyBAi6MF58uGcMOiOqSJ2ybEeCvHcq0BCmQ==}cpu: [arm64]os: [linux]- libc: [glibc]'@unrs/[email protected]':resolution: {integrity: sha512-RyMIx6Uf53hhOtJDIamSbTskA99sPHS96wxVE/bJtePJJtpdKGXO1wY90oRdXuYOGOTuqjT8ACccMc4K6QmT3w==}cpu: [arm64]os: [linux]- libc: [musl]'@unrs/[email protected]':resolution: {integrity: sha512-D8Vae74A4/a+mZH0FbOkFJL9DSK2R6TFPC9M+jCWYia/q2einCubX10pecpDiTmkJVUH+y8K3BZClycD8nCShA==}cpu: [ppc64]os: [linux]- libc: [glibc]'@unrs/[email protected]':resolution: {integrity: sha512-frxL4OrzOWVVsOc96+V3aqTIQl1O2TjgExV4EKgRY09AJ9leZpEg8Ak9phadbuX0BA4k8U5qtvMSQQGGmaJqcQ==}cpu: [riscv64]os: [linux]- libc: [glibc]'@unrs/[email protected]':resolution: {integrity: sha512-mJ5vuDaIZ+l/acv01sHoXfpnyrNKOk/3aDoEdLO/Xtn9HuZlDD6jKxHlkN8ZhWyLJsRBxfv9GYM2utQ1SChKew==}cpu: [riscv64]os: [linux]- libc: [musl]'@unrs/[email protected]':resolution: {integrity: sha512-kELo8ebBVtb9sA7rMe1Cph4QHreByhaZ2QEADd9NzIQsYNQpt9UkM9iqr2lhGr5afh885d/cB5QeTXSbZHTYPg==}cpu: [s390x]os: [linux]- libc: [glibc]'@unrs/[email protected]':resolution: {integrity: sha512-C3ZAHugKgovV5YvAMsxhq0gtXuwESUKc5MhEtjBpLoHPLYM+iuwSj3lflFwK3DPm68660rZ7G8BMcwSro7hD5w==}cpu: [x64]os: [linux]- libc: [glibc]'@unrs/[email protected]':resolution: {integrity: sha512-rV0YSoyhK2nZ4vEswT/QwqzqQXw5I6CjoaYMOX0TqBlWhojUf8P94mvI7nuJTeaCkkds3QE4+zS8Ko+GdXuZtA==}cpu: [x64]os: [linux]- libc: [musl]'@unrs/[email protected]':resolution: {integrity: sha512-5u4RkfxJm+Ng7IWgkzi3qrFOvLvQYnPBmjmZQ8+szTK/b31fQCnleNl1GgEt7nIsZRIf5PLhPwT0WM+q45x/UQ==}@@ -6285,56 +6239,48 @@ packages:engines: {node: '>= 12.0.0'}cpu: [arm64]os: [linux]- libc: [glibc]resolution: {integrity: sha512-UK65WJAbwIJbiBFXpxrbTNArtfuznvxAJw4Q2ZGlU8kPeDIWEX1dg3rn2veBVUylA2Ezg89ktszWbaQnxD/e3A==}engines: {node: '>= 12.0.0'}cpu: [arm64]os: [linux]- libc: [glibc]resolution: {integrity: sha512-rCGBm2ax7kQ9pBSeITfCW9XSVF69VX+fm5DIpvDZQl4NnQoMQyRwhZQm9pd59m8leZ1IesRqWk2v/DntMo26lg==}engines: {node: '>= 12.0.0'}cpu: [arm64]os: [linux]- libc: [musl]resolution: {integrity: sha512-5Vh9dGeblpTxWHpOx8iauV02popZDsCYMPIgiuw97OJ5uaDsL86cnqSFs5LZkG3ghHoX5isLgWzMs+eD1YzrnA==}engines: {node: '>= 12.0.0'}cpu: [arm64]os: [linux]- libc: [musl]resolution: {integrity: sha512-Dk/jovSI7qqhJDiUibvaikNKI2x6kWPN79AQiD/E/KeQWMjdGe9kw51RAgoWFDi0coP4jinaH14Nrt/J8z3U4A==}engines: {node: '>= 12.0.0'}cpu: [x64]os: [linux]- libc: [glibc]resolution: {integrity: sha512-Cfd46gdmj1vQ+lR6VRTTadNHu6ALuw2pKR9lYq4FnhvgBc4zWY1EtZcAc6EffShbb1MFrIPfLDXD6Xprbnni4w==}engines: {node: '>= 12.0.0'}cpu: [x64]os: [linux]- libc: [glibc]resolution: {integrity: sha512-QKjTxXm8A9s6v9Tg3Fk0gscCQA1t/HMoF7Woy1u68wCk5kS4fR+q3vXa1p3++REW784cRAtkYKrPy6JKibrEZA==}engines: {node: '>= 12.0.0'}cpu: [x64]os: [linux]- libc: [musl]resolution: {integrity: sha512-XJaLUUFXb6/QG2lGIW6aIk6jKdtjtcffUT0NKvIqhSBY3hh9Ch+1LCeH80dR9q9LBjG3ewbDjnumefsLsP6aiA==}engines: {node: '>= 12.0.0'}cpu: [x64]os: [linux]- libc: [musl]resolution: {integrity: sha512-/wXegPS1hnhkeG4OXQKEMQeJd48RDC3qdh+OA8pCuOPCyvnm/yEayrJdJVqzBsqpy1aJklRCVxscpFur80o6iQ==}@@ -9128,11 +9074,11 @@ snapshots:package-manager-detector: 1.6.0tinyexec: 1.0.2- '@anthropic-ai/[email protected]([email protected])':+ '@anthropic-ai/[email protected]([email protected])':dependencies:json-schema-to-ts: 3.1.1optionalDependencies:- zod: 4.3.6+ zod: 3.25.76'@aws-crypto/[email protected]':dependencies:@@ -10656,7 +10602,7 @@ snapshots:wrap-ansi: 7.0.0ws: 8.18.3optionalDependencies:- expo-router: 6.0.23(52130e04a12e6efd1d6e48b3f2ad01c3)+ expo-router: 6.0.23(w7u2e3gmpia3npio76ytuzityu)transitivePeerDependencies:- bufferutil@@ -10905,12 +10851,12 @@ snapshots:'@floating-ui/[email protected]': {}- '@google/[email protected](@modelcontextprotocol/[email protected]([email protected])([email protected]))':+ '@google/[email protected](@modelcontextprotocol/[email protected]([email protected])([email protected]))':dependencies:google-auth-library: 10.5.0ws: 8.18.3optionalDependencies:- '@modelcontextprotocol/sdk': 1.25.3([email protected])([email protected])+ '@modelcontextprotocol/sdk': 1.25.3([email protected])([email protected])transitivePeerDependencies:- bufferutil- supports-color@@ -11245,9 +11191,9 @@ snapshots:std-env: 3.10.0yoctocolors: 2.1.2- '@mariozechner/[email protected](@modelcontextprotocol/[email protected]([email protected])([email protected]))([email protected])([email protected])':+ '@mariozechner/[email protected](@modelcontextprotocol/[email protected]([email protected])([email protected]))([email protected])([email protected])':dependencies:- '@mariozechner/pi-ai': 0.50.3(@modelcontextprotocol/[email protected]([email protected])([email protected]))([email protected])([email protected])+ '@mariozechner/pi-ai': 0.50.3(@modelcontextprotocol/[email protected]([email protected])([email protected]))([email protected])([email protected])'@mariozechner/pi-tui': 0.50.3transitivePeerDependencies:- '@modelcontextprotocol/sdk'@@ -11258,21 +11204,21 @@ snapshots:- ws- zod- '@mariozechner/[email protected](@modelcontextprotocol/[email protected]([email protected])([email protected]))([email protected])([email protected])':+ '@mariozechner/[email protected](@modelcontextprotocol/[email protected]([email protected])([email protected]))([email protected])([email protected])':dependencies:- '@anthropic-ai/sdk': 0.71.2([email protected])+ '@anthropic-ai/sdk': 0.71.2([email protected])'@aws-sdk/client-bedrock-runtime': 3.978.0- '@google/genai': 1.34.0(@modelcontextprotocol/[email protected]([email protected])([email protected]))+ '@google/genai': 1.34.0(@modelcontextprotocol/[email protected]([email protected])([email protected]))'@mistralai/mistralai': 1.10.0'@sinclair/typebox': 0.34.48ajv: 8.17.1ajv-formats: 3.0.1([email protected])chalk: 5.6.2- openai: 6.10.0([email protected])([email protected])+ openai: 6.10.0([email protected])([email protected])partial-json: 0.1.7proxy-agent: 6.5.0undici: 7.19.2- zod-to-json-schema: 3.25.1([email protected])+ zod-to-json-schema: 3.25.1([email protected])transitivePeerDependencies:- '@modelcontextprotocol/sdk'- aws-crt@@ -11282,12 +11228,12 @@ snapshots:- ws- zod- '@mariozechner/[email protected](@modelcontextprotocol/[email protected]([email protected])([email protected]))([email protected])([email protected])':+ '@mariozechner/[email protected](@modelcontextprotocol/[email protected]([email protected])([email protected]))([email protected])([email protected])':dependencies:'@mariozechner/clipboard': 0.3.0'@mariozechner/jiti': 2.6.5- '@mariozechner/pi-agent-core': 0.50.3(@modelcontextprotocol/[email protected]([email protected])([email protected]))([email protected])([email protected])- '@mariozechner/pi-ai': 0.50.3(@modelcontextprotocol/[email protected]([email protected])([email protected]))([email protected])([email protected])+ '@mariozechner/pi-agent-core': 0.50.3(@modelcontextprotocol/[email protected]([email protected])([email protected]))([email protected])([email protected])+ '@mariozechner/pi-ai': 0.50.3(@modelcontextprotocol/[email protected]([email protected])([email protected]))([email protected])([email protected])'@mariozechner/pi-tui': 0.50.3'@silvia-odwyer/photon-node': 0.3.4chalk: 5.6.2@@ -11345,29 +11291,6 @@ snapshots:- hono- supports-color- dependencies:- '@hono/node-server': 1.19.9([email protected])- ajv: 8.17.1- ajv-formats: 3.0.1([email protected])- content-type: 1.0.5- cors: 2.8.6- cross-spawn: 7.0.6- eventsource: 3.0.7- eventsource-parser: 3.0.6- express: 5.2.1- express-rate-limit: 7.5.1([email protected])- jose: 6.1.3- json-schema-typed: 8.0.2- pkce-challenge: 5.0.1- raw-body: 3.0.2- zod: 4.3.6- zod-to-json-schema: 3.25.1([email protected])- transitivePeerDependencies:- - hono- - supports-color- optional: true-'@mozilla/[email protected]': {}'@mswjs/[email protected]':@@ -14384,7 +14307,7 @@ snapshots:eslint: 9.39.2([email protected])- eslint-plugin-import: 2.32.0(@typescript-eslint/[email protected]([email protected]([email protected]))([email protected]))([email protected])([email protected]([email protected]))+ eslint-plugin-import: 2.32.0(@typescript-eslint/[email protected]([email protected]([email protected]))([email protected]))([email protected]([email protected]))eslint-plugin-react: 7.37.5([email protected]([email protected]))eslint-plugin-react-hooks: 5.2.0([email protected]([email protected]))globals: 16.4.0@@ -14399,8 +14322,8 @@ snapshots:'@next/eslint-plugin-next': 16.1.6eslint: 9.39.2([email protected])eslint-import-resolver-node: 0.3.9- eslint-import-resolver-typescript: 3.10.1([email protected])([email protected]([email protected]))- eslint-plugin-import: 2.32.0(@typescript-eslint/[email protected]([email protected]([email protected]))([email protected]))([email protected])([email protected]([email protected]))+ eslint-import-resolver-typescript: 3.10.1([email protected](@typescript-eslint/[email protected]([email protected]([email protected]))([email protected]))([email protected]([email protected])))([email protected]([email protected]))+ eslint-plugin-import: 2.32.0(@typescript-eslint/[email protected]([email protected]([email protected]))([email protected]))([email protected]([email protected](@typescript-eslint/[email protected]([email protected]([email protected]))([email protected]))([email protected]([email protected])))([email protected]([email protected])))([email protected]([email protected]))eslint-plugin-jsx-a11y: 6.10.2([email protected]([email protected]))eslint-plugin-react: 7.37.5([email protected]([email protected]))eslint-plugin-react-hooks: 7.0.1([email protected]([email protected]))@@ -14422,6 +14345,21 @@ snapshots:transitivePeerDependencies:- supports-color+ [email protected]([email protected](@typescript-eslint/[email protected]([email protected]([email protected]))([email protected]))([email protected]([email protected])))([email protected]([email protected])):+ dependencies:+ '@nolyfill/is-core-module': 1.0.39+ debug: 4.4.3+ eslint: 9.39.2([email protected])+ get-tsconfig: 4.13.0+ is-bun-module: 2.0.0+ stable-hash: 0.0.5+ tinyglobby: 0.2.15+ unrs-resolver: 1.11.1+ optionalDependencies:+ eslint-plugin-import: 2.32.0(@typescript-eslint/[email protected]([email protected]([email protected]))([email protected]))([email protected]([email protected](@typescript-eslint/[email protected]([email protected]([email protected]))([email protected]))([email protected]([email protected])))([email protected]([email protected])))([email protected]([email protected]))+ transitivePeerDependencies:+ - supports-color+dependencies:'@nolyfill/is-core-module': 1.0.39@@ -14433,18 +14371,18 @@ snapshots:tinyglobby: 0.2.15unrs-resolver: 1.11.1optionalDependencies:- eslint-plugin-import: 2.32.0(@typescript-eslint/[email protected]([email protected]([email protected]))([email protected]))([email protected])([email protected]([email protected]))+ eslint-plugin-import: 2.32.0(@typescript-eslint/[email protected]([email protected]([email protected]))([email protected]))([email protected]([email protected]))transitivePeerDependencies:- supports-color- [email protected](@typescript-eslint/[email protected]([email protected]([email protected]))([email protected]))([email protected])([email protected])([email protected]([email protected])):+ [email protected](@typescript-eslint/[email protected]([email protected]([email protected]))([email protected]))([email protected])([email protected]([email protected](@typescript-eslint/[email protected]([email protected]([email protected]))([email protected]))([email protected]([email protected])))([email protected]([email protected])))([email protected]([email protected])):dependencies:debug: 3.2.7optionalDependencies:eslint: 9.39.2([email protected])eslint-import-resolver-node: 0.3.9- eslint-import-resolver-typescript: 3.10.1([email protected])([email protected]([email protected]))+ eslint-import-resolver-typescript: 3.10.1([email protected](@typescript-eslint/[email protected]([email protected]([email protected]))([email protected]))([email protected]([email protected])))([email protected]([email protected]))transitivePeerDependencies:- supports-color@@ -14457,7 +14395,7 @@ snapshots:- supports-color- typescript- [email protected](@typescript-eslint/[email protected]([email protected]([email protected]))([email protected]))([email protected])([email protected]([email protected])):+ [email protected](@typescript-eslint/[email protected]([email protected]([email protected]))([email protected]))([email protected]([email protected](@typescript-eslint/[email protected]([email protected]([email protected]))([email protected]))([email protected]([email protected])))([email protected]([email protected])))([email protected]([email protected])):dependencies:'@rtsao/scc': 1.1.0array-includes: 3.1.9@@ -14468,7 +14406,36 @@ snapshots:doctrine: 2.1.0eslint: 9.39.2([email protected])eslint-import-resolver-node: 0.3.9- eslint-module-utils: 2.12.1(@typescript-eslint/[email protected]([email protected]([email protected]))([email protected]))([email protected])([email protected])([email protected]([email protected]))+ eslint-module-utils: 2.12.1(@typescript-eslint/[email protected]([email protected]([email protected]))([email protected]))([email protected])([email protected]([email protected](@typescript-eslint/[email protected]([email protected]([email protected]))([email protected]))([email protected]([email protected])))([email protected]([email protected])))([email protected]([email protected]))+ hasown: 2.0.2+ is-core-module: 2.16.1+ is-glob: 4.0.3+ minimatch: 3.1.2+ object.fromentries: 2.0.8+ object.groupby: 1.0.3+ object.values: 1.2.1+ semver: 6.3.1+ string.prototype.trimend: 1.0.9+ tsconfig-paths: 3.15.0+ optionalDependencies:+ transitivePeerDependencies:+ - eslint-import-resolver-typescript+ - eslint-import-resolver-webpack+ - supports-color++ [email protected](@typescript-eslint/[email protected]([email protected]([email protected]))([email protected]))([email protected]([email protected])):+ dependencies:+ '@rtsao/scc': 1.1.0+ array-includes: 3.1.9+ array.prototype.findlastindex: 1.2.6+ array.prototype.flat: 1.3.3+ array.prototype.flatmap: 1.3.3+ debug: 3.2.7+ doctrine: 2.1.0+ eslint: 9.39.2([email protected])+ eslint-import-resolver-node: 0.3.9+ eslint-module-utils: 2.12.1(@typescript-eslint/[email protected]([email protected]([email protected]))([email protected]))([email protected])([email protected]([email protected](@typescript-eslint/[email protected]([email protected]([email protected]))([email protected]))([email protected]([email protected])))([email protected]([email protected])))([email protected]([email protected]))hasown: 2.0.2is-core-module: 2.16.1is-glob: 4.0.3@@ -14793,7 +14760,7 @@ snapshots:react: 19.1.0- [email protected](52130e04a12e6efd1d6e48b3f2ad01c3):+ [email protected](w7u2e3gmpia3npio76ytuzityu):dependencies:'@expo/metro-runtime': 6.1.2([email protected])([email protected]([email protected]))([email protected](@babel/[email protected])(@types/[email protected])([email protected]))([email protected])'@expo/schema-utils': 0.1.8@@ -17180,10 +17147,10 @@ snapshots:is-docker: 2.2.1is-wsl: 2.2.0optionalDependencies:ws: 8.18.3- zod: 4.3.6+ zod: 3.25.76dependencies:@@ -19471,10 +19438,6 @@ snapshots:dependencies:zod: 3.25.76- dependencies:- zod: 4.3.6-dependencies:zod: 4.3.6