Shared task board where people and AI coding agents work as teammates. Source-available, self-hostable.
Go
feat(desktop): add auto-update functionality
Jiang Bohan0459769746fd
diff --git a/apps/desktop/dev-app-update.yml b/apps/desktop/dev-app-update.ymlnew file mode 100644index 0000000000..95ca79f949--- /dev/null+++ b/apps/desktop/dev-app-update.yml@@ -0,0 +1,3 @@+provider: github+owner: multica-ai+repo: multicadiff --git a/apps/desktop/electron-builder.json5 b/apps/desktop/electron-builder.json5index b30a5ab720..0a7de5ff1a 100644--- a/apps/desktop/electron-builder.json5+++ b/apps/desktop/electron-builder.json5@@ -63,5 +63,10 @@"category": "Utility","artifactName": "${productName}-Linux-${version}.${ext}"},- "npmRebuild": false+ "npmRebuild": false,+ "publish": {+ "provider": "github",+ "owner": "multica-ai",+ "repo": "multica"+ }}diff --git a/apps/desktop/package.json b/apps/desktop/package.jsonindex f9411f118d..446fe137eb 100644--- a/apps/desktop/package.json+++ b/apps/desktop/package.json@@ -20,6 +20,7 @@"@multica/sdk": "workspace:*","@multica/store": "workspace:*","@multica/ui": "workspace:*",+ "electron-updater": "^6.7.3","qrcode.react": "^4.2.0","react": "catalog:","react-dom": "catalog:",diff --git a/apps/desktop/src/main/index.ts b/apps/desktop/src/main/index.tsindex ad958405db..509452fdf5 100644--- a/apps/desktop/src/main/index.ts+++ b/apps/desktop/src/main/index.ts@@ -48,6 +48,7 @@ import { app, BrowserWindow, shell, ipcMain } from 'electron'import { fileURLToPath } from 'node:url'import path from 'node:path'import { registerAllIpcHandlers, initializeApp, cleanupAll, setupDeviceConfirmation } from './ipc/index.js'+import { createUpdater, AutoUpdater } from './updater/index.js'// CJS output will have __dirname natively, but TypeScript source needs this for type checkingconst __dirname = path.dirname(fileURLToPath(import.meta.url))@@ -67,6 +68,7 @@ process.env.VITE_PUBLIC = VITE_DEV_SERVER_URL ? path.join(process.env.APP_ROOT,const forceOnboarding = process.argv.includes('--force-onboarding')let win: BrowserWindow | null+let updater: AutoUpdaterfunction createWindow() {win = new BrowserWindow({@@ -128,4 +130,30 @@ app.whenReady().then(async () => {if (win) {setupDeviceConfirmation(win)}++ // Initialize auto-updater+ const forceDevUpdate = process.env.FORCE_DEV_UPDATE === 'true'+ updater = createUpdater(forceDevUpdate)+ updater.setMainWindow(() => win)++ // Auto-check for updates in production (or when forced in dev)+ const isDev = !!VITE_DEV_SERVER_URL+ if (!isDev || forceDevUpdate) {+ win?.once('ready-to-show', () => {+ updater.checkForUpdates()+ })+ }++ // Update IPC handlers+ ipcMain.handle('update:check', async () => {+ await updater.checkForUpdates()+ })++ ipcMain.handle('update:download', async () => {+ await updater.downloadUpdate()+ })++ ipcMain.handle('update:install', () => {+ updater.quitAndInstall()+ })})diff --git a/apps/desktop/src/main/updater/index.ts b/apps/desktop/src/main/updater/index.tsnew file mode 100644index 0000000000..7dfab058d2--- /dev/null+++ b/apps/desktop/src/main/updater/index.ts@@ -0,0 +1,121 @@+/**+ * Auto-updater module using electron-updater+ * Checks for updates from GitHub releases and handles download/install+ */+import { autoUpdater, UpdateInfo, ProgressInfo } from 'electron-updater'+import { BrowserWindow } from 'electron'++export interface UpdateStatus {+ status: 'checking' | 'available' | 'not-available' | 'downloading' | 'downloaded' | 'error'+ info?: UpdateInfo+ progress?: ProgressInfo+ error?: string+}++export class AutoUpdater {+ private mainWindow: (() => BrowserWindow | null) | null = null++ constructor(forceDevUpdateConfig = false) {+ // Configure auto-updater+ autoUpdater.autoDownload = false+ autoUpdater.autoInstallOnAppQuit = true++ // Enable update checking in dev mode for testing+ if (forceDevUpdateConfig) {+ autoUpdater.forceDevUpdateConfig = true+ console.log('[AutoUpdater] Force dev update config enabled')+ }++ // Enable logging+ autoUpdater.logger = {+ info: (msg) => console.log('[AutoUpdater]', msg),+ warn: (msg) => console.warn('[AutoUpdater]', msg),+ error: (msg) => console.error('[AutoUpdater]', msg),+ debug: (msg) => console.log('[AutoUpdater:debug]', msg)+ }++ // Set up event handlers+ autoUpdater.on('checking-for-update', () => {+ this.sendStatus({ status: 'checking' })+ })++ autoUpdater.on('update-available', (info: UpdateInfo) => {+ this.sendStatus({ status: 'available', info })+ })++ autoUpdater.on('update-not-available', (info: UpdateInfo) => {+ this.sendStatus({ status: 'not-available', info })+ })++ autoUpdater.on('download-progress', (progress: ProgressInfo) => {+ this.sendStatus({ status: 'downloading', progress })+ })++ autoUpdater.on('update-downloaded', (info: UpdateInfo) => {+ this.sendStatus({ status: 'downloaded', info })+ })++ autoUpdater.on('error', (err: Error) => {+ this.sendStatus({ status: 'error', error: err.message })+ })+ }++ /**+ * Set the main window reference for sending IPC messages+ */+ setMainWindow(getWindow: () => BrowserWindow | null): void {+ this.mainWindow = getWindow+ }++ /**+ * Check for updates+ */+ async checkForUpdates(): Promise<void> {+ try {+ await autoUpdater.checkForUpdates()+ } catch (err) {+ console.error('[AutoUpdater] Check for updates failed:', err)+ this.sendStatus({+ status: 'error',+ error: err instanceof Error ? err.message : 'Unknown error'+ })+ }+ }++ /**+ * Download the available update+ */+ async downloadUpdate(): Promise<void> {+ try {+ await autoUpdater.downloadUpdate()+ } catch (err) {+ console.error('[AutoUpdater] Download update failed:', err)+ this.sendStatus({+ status: 'error',+ error: err instanceof Error ? err.message : 'Download failed'+ })+ }+ }++ /**+ * Quit and install the downloaded update+ */+ quitAndInstall(): void {+ autoUpdater.quitAndInstall()+ }++ /**+ * Send update status to renderer+ */+ private sendStatus(status: UpdateStatus): void {+ const window = this.mainWindow?.()+ if (window && !window.isDestroyed()) {+ window.webContents.send('update:status', status)+ }+ }+}++// Factory function to create updater with options+export function createUpdater(forceDevUpdateConfig = false): AutoUpdater {+ return new AutoUpdater(forceDevUpdateConfig)+}diff --git a/apps/desktop/src/preload/index.ts b/apps/desktop/src/preload/index.tsindex 44acd17211..528da18a23 100644--- a/apps/desktop/src/preload/index.ts+++ b/apps/desktop/src/preload/index.ts@@ -237,6 +237,26 @@ const electronAPI = {wake: (reason?: string) => ipcRenderer.invoke('heartbeat:wake', reason),},+ // Auto-update+ update: {+ /** Check for updates */+ check: () => ipcRenderer.invoke('update:check'),+ /** Download the available update */+ download: () => ipcRenderer.invoke('update:download'),+ /** Quit and install the downloaded update */+ install: () => ipcRenderer.invoke('update:install'),+ /** Listen for update status changes (returns unsubscribe function) */+ onStatus: (callback: (status: { status: string; info?: unknown; progress?: unknown; error?: string }) => void) => {+ const listener = (_event: Electron.IpcRendererEvent, status: Parameters<typeof callback>[0]): void => {+ callback(status)+ }+ ipcRenderer.on('update:status', listener)+ return (): void => {+ ipcRenderer.removeListener('update:status', listener)+ }+ },+ },+// Local chat (direct IPC, no Gateway required)localChat: {/** Subscribe to agent events for local direct chat */diff --git a/apps/desktop/src/renderer/src/components/update-notification.tsx b/apps/desktop/src/renderer/src/components/update-notification.tsxnew file mode 100644index 0000000000..4eb85fdf17--- /dev/null+++ b/apps/desktop/src/renderer/src/components/update-notification.tsx@@ -0,0 +1,144 @@+/**+ * Update notification component+ * Shows when a new version is available and allows user to download/install+ */+import { useState, useEffect } from 'react'+import { HugeiconsIcon } from '@hugeicons/react'+import {+ Download04Icon,+ Loading03Icon,+ CheckmarkCircle02Icon,+ AlertCircleIcon,+ Cancel01Icon,+} from '@hugeicons/core-free-icons'+import { Button } from '@multica/ui/components/ui/button'++interface UpdateInfo {+ version: string+ releaseDate?: string+ releaseNotes?: string | null+}++interface UpdateProgress {+ percent: number+ bytesPerSecond: number+ total: number+ transferred: number+}++interface UpdateStatus {+ status: 'checking' | 'available' | 'not-available' | 'downloading' | 'downloaded' | 'error'+ info?: UpdateInfo+ progress?: UpdateProgress+ error?: string+}++export function UpdateNotification(): React.JSX.Element | null {+ const [updateStatus, setUpdateStatus] = useState<UpdateStatus | null>(null)+ const [dismissed, setDismissed] = useState(false)++ useEffect(() => {+ const unsubscribe = window.electronAPI.update.onStatus((status: UpdateStatus) => {+ setUpdateStatus(status)+ // Reset dismissed state when a new update becomes available+ if (status.status === 'available') {+ setDismissed(false)+ }+ })++ return () => unsubscribe()+ }, [])++ const handleDownload = async (): Promise<void> => {+ await window.electronAPI.update.download()+ }++ const handleInstall = (): void => {+ window.electronAPI.update.install()+ }++ const handleDismiss = (): void => {+ setDismissed(true)+ }++ // Don't show if dismissed or no relevant status+ if (dismissed) return null+ if (!updateStatus) return null+ if (updateStatus.status === 'checking' || updateStatus.status === 'not-available') return null++ const version = updateStatus.info?.version+ const isError = updateStatus.status === 'error'++ return (+ <div className="fixed bottom-4 right-4 z-50 animate-in slide-in-from-bottom-2 fade-in duration-300">+ <div className="flex items-center gap-3 rounded-lg border bg-card p-3 shadow-lg">+ {/* Icon */}+ <div+ className={`flex h-8 w-8 items-center justify-center rounded-full ${isError ? 'bg-destructive/10' : 'bg-primary/10'}`}+ >+ {isError ? (+ <HugeiconsIcon icon={AlertCircleIcon} className="h-4 w-4 text-destructive" />+ ) : updateStatus.status === 'downloaded' ? (+ <HugeiconsIcon icon={CheckmarkCircle02Icon} className="h-4 w-4 text-primary" />+ ) : updateStatus.status === 'downloading' ? (+ <HugeiconsIcon icon={Loading03Icon} className="h-4 w-4 text-primary animate-spin" />+ ) : (+ <HugeiconsIcon icon={Download04Icon} className="h-4 w-4 text-primary" />+ )}+ </div>++ {/* Content */}+ <div className="flex flex-col gap-0.5">+ <span className="text-sm font-medium">+ {isError+ ? 'Update failed'+ : updateStatus.status === 'downloaded'+ ? 'Update ready'+ : updateStatus.status === 'downloading'+ ? 'Downloading update...'+ : 'Update available'}+ </span>+ <span className="text-xs text-muted-foreground">+ {isError+ ? 'Please download manually from GitHub'+ : updateStatus.status === 'downloading' && updateStatus.progress+ ? `${Math.round(updateStatus.progress.percent)}%`+ : version+ ? `Version ${version}`+ : 'New version available'}+ </span>+ </div>++ {/* Actions */}+ <div className="flex items-center gap-1 ml-2">+ {updateStatus.status === 'available' && (+ <Button size="sm" variant="default" onClick={handleDownload}>+ Download+ </Button>+ )}+ {updateStatus.status === 'downloaded' && (+ <Button size="sm" variant="default" onClick={handleInstall}>+ Restart+ </Button>+ )}+ {isError && (+ <Button+ size="sm"+ variant="outline"+ onClick={() =>+ window.open('https://github.com/multica-ai/multica/releases', '_blank')+ }+ >+ View Releases+ </Button>+ )}+ {updateStatus.status !== 'downloading' && (+ <Button size="icon" variant="ghost" className="h-7 w-7" onClick={handleDismiss}>+ <HugeiconsIcon icon={Cancel01Icon} className="h-4 w-4" />+ </Button>+ )}+ </div>+ </div>+ </div>+ )+}diff --git a/apps/desktop/src/renderer/src/pages/layout.tsx b/apps/desktop/src/renderer/src/pages/layout.tsxindex e1d9cb1df0..9146c90f7e 100644--- a/apps/desktop/src/renderer/src/pages/layout.tsx+++ b/apps/desktop/src/renderer/src/pages/layout.tsx@@ -13,6 +13,7 @@ import {} from '@hugeicons/core-free-icons'import { cn } from '@multica/ui/lib/utils'import { DeviceConfirmDialog } from '../components/device-confirm-dialog'+import { UpdateNotification } from '../components/update-notification'import ChatPage from './chat'const tabs = [@@ -85,6 +86,7 @@ export default function Layout() {</main><Toaster /><DeviceConfirmDialog />+ <UpdateNotification /></div>)}diff --git a/pnpm-lock.yaml b/pnpm-lock.yamlindex 9f1db6aa3f..70b7bad9f7 100644--- a/pnpm-lock.yaml+++ b/pnpm-lock.yaml@@ -251,6 +251,9 @@ importers:'@multica/ui':specifier: workspace:*version: link:../../packages/ui+ electron-updater:+ specifier: ^6.7.3+ version: 6.7.3qrcode.react:specifier: ^4.2.0version: 4.2.0([email protected])@@ -417,7 +420,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(x2t3rftrl3zckf7etg5727wz3e)+ version: 6.0.23(8dceef04c573932de716d76b2aeca19d)expo-splash-screen:specifier: ~31.0.13version: 31.0.13([email protected])@@ -597,13 +600,13 @@ importers:dependencies:'@mariozechner/pi-agent-core':specifier: 'catalog:'- version: 0.52.9(@modelcontextprotocol/[email protected]([email protected]))([email protected])([email protected])+ version: 0.52.9(@modelcontextprotocol/[email protected]([email protected]))([email protected])([email protected])'@mariozechner/pi-ai':specifier: 'catalog:'- version: 0.52.9(@modelcontextprotocol/[email protected]([email protected]))([email protected])([email protected])+ version: 0.52.9(@modelcontextprotocol/[email protected]([email protected]))([email protected])([email protected])'@mariozechner/pi-coding-agent':specifier: 'catalog:'- version: 0.52.9(@modelcontextprotocol/[email protected]([email protected]))([email protected])([email protected])+ version: 0.52.9(@modelcontextprotocol/[email protected]([email protected]))([email protected])([email protected])'@multica/types':specifier: workspace:*version: link:../types@@ -2322,89 +2325,105 @@ 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==}@@ -2569,30 +2588,35 @@ packages:engines: {node: '>= 10'}cpu: [arm64]os: [linux]+ libc: [glibc]'@mariozechner/[email protected]':resolution: {integrity: sha512-0/Gi5Xq2V6goXBop19ePoHvXsmJD9SzFlO3S+d6+T2b+BlPcpOu3Oa0wTjl+cZrLAAEzA86aPNBI+VVAFDFPKw==}engines: {node: '>= 10'}cpu: [arm64]os: [linux]+ libc: [musl]'@mariozechner/[email protected]':resolution: {integrity: sha512-2AFFiXB24qf0zOZsxI1GJGb9wQGlOJyN6UwoXqmKS3dpQi/l6ix30IzDDA4c4ZcCcx4D+9HLYXhC1w7Sov8pXA==}engines: {node: '>= 10'}cpu: [riscv64]os: [linux]+ libc: [glibc]'@mariozechner/[email protected]':resolution: {integrity: sha512-v6fVnsn7WMGg73Dab8QMwyFce7tzGfgEixKgzLP8f1GJqkJZi5zO4k4FOHzSgUufgLil63gnxvMpjWkgfeQN7A==}engines: {node: '>= 10'}cpu: [x64]os: [linux]+ libc: [glibc]'@mariozechner/[email protected]':resolution: {integrity: sha512-xVUtnoMQ8v2JVyfJLKKXACA6avdnchdbBkTsZs8BgJQo29qwCp5NIHAUO8gbJ40iaEGToW5RlmVk2M9V0HsHEw==}engines: {node: '>= 10'}cpu: [x64]os: [linux]+ libc: [musl]'@mariozechner/[email protected]':resolution: {integrity: sha512-AEgg95TNi8TGgak2wSXZkXKCvAUTjWoU1Pqb0ON7JHrX78p616XUFNTJohtIon3e0w6k0pYPZeCuqRCza/Tqeg==}@@ -2770,24 +2794,28 @@ 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==}@@ -3289,66 +3317,79 @@ packages:resolution: {integrity: sha512-F8sWbhZ7tyuEfsmOxwc2giKDQzN3+kuBLPwwZGyVkLlKGdV1nvnNwYD0fKQ8+XS6hp9nY7B+ZeK01EBUE7aHaw==}cpu: [arm]os: [linux]+ libc: [glibc]'@rollup/[email protected]':resolution: {integrity: sha512-rGfNUfn0GIeXtBP1wL5MnzSj98+PZe/AXaGBCRmT0ts80lU5CATYGxXukeTX39XBKsxzFpEeK+Mrp9faXOlmrw==}cpu: [arm]os: [linux]+ libc: [musl]'@rollup/[email protected]':resolution: {integrity: sha512-MMtej3YHWeg/0klK2Qodf3yrNzz6CGjo2UntLvk2RSPlhzgLvYEB3frRvbEF2wRKh1Z2fDIg9KRPe1fawv7C+g==}cpu: [arm64]os: [linux]+ libc: [glibc]'@rollup/[email protected]':resolution: {integrity: sha512-1a/qhaaOXhqXGpMFMET9VqwZakkljWHLmZOX48R0I/YLbhdxr1m4gtG1Hq7++VhVUmf+L3sTAf9op4JlhQ5u1Q==}cpu: [arm64]os: [linux]+ libc: [musl]'@rollup/[email protected]':resolution: {integrity: sha512-QWO6RQTZ/cqYtJMtxhkRkidoNGXc7ERPbZN7dVW5SdURuLeVU7lwKMpo18XdcmpWYd0qsP1bwKPf7DNSUinhvA==}cpu: [loong64]os: [linux]+ libc: [glibc]'@rollup/[email protected]':resolution: {integrity: sha512-xpObYIf+8gprgWaPP32xiN5RVTi/s5FCR+XMXSKmhfoJjrpRAjCuuqQXyxUa/eJTdAE6eJ+KDKaoEqjZQxh3Gw==}cpu: [loong64]os: [linux]+ libc: [musl]'@rollup/[email protected]':resolution: {integrity: sha512-4BrCgrpZo4hvzMDKRqEaW1zeecScDCR+2nZ86ATLhAoJ5FQ+lbHVD3ttKe74/c7tNT9c6F2viwB3ufwp01Oh2w==}cpu: [ppc64]os: [linux]+ libc: [glibc]'@rollup/[email protected]':resolution: {integrity: sha512-NOlUuzesGauESAyEYFSe3QTUguL+lvrN1HtwEEsU2rOwdUDeTMJdO5dUYl/2hKf9jWydJrO9OL/XSSf65R5+Xw==}cpu: [ppc64]os: [linux]+ libc: [musl]'@rollup/[email protected]':resolution: {integrity: sha512-ptA88htVp0AwUUqhVghwDIKlvJMD/fmL/wrQj99PRHFRAG6Z5nbWoWG4o81Nt9FT+IuqUQi+L31ZKAFeJ5Is+A==}cpu: [riscv64]os: [linux]+ libc: [glibc]'@rollup/[email protected]':resolution: {integrity: sha512-S51t7aMMTNdmAMPpBg7OOsTdn4tySRQvklmL3RpDRyknk87+Sp3xaumlatU+ppQ+5raY7sSTcC2beGgvhENfuw==}cpu: [riscv64]os: [linux]+ libc: [musl]'@rollup/[email protected]':resolution: {integrity: sha512-Bl00OFnVFkL82FHbEqy3k5CUCKH6OEJL54KCyx2oqsmZnFTR8IoNqBF+mjQVcRCT5sB6yOvK8A37LNm/kPJiZg==}cpu: [s390x]os: [linux]+ libc: [glibc]'@rollup/[email protected]':resolution: {integrity: sha512-ABca4ceT4N+Tv/GtotnWAeXZUZuM/9AQyCyKYyKnpk4yoA7QIAuBt6Hkgpw8kActYlew2mvckXkvx0FfoInnLg==}cpu: [x64]os: [linux]+ libc: [glibc]'@rollup/[email protected]':resolution: {integrity: sha512-HFps0JeGtuOR2convgRRkHCekD7j+gdAuXM+/i6kGzQtFhlCtQkpwtNzkNj6QhCDp7DRJ7+qC/1Vg2jt5iSOFw==}cpu: [x64]os: [linux]+ libc: [musl]'@rollup/[email protected]':resolution: {integrity: sha512-H+hXEv9gdVQuDTgnqD+SQffoWoc0Of59AStSzTEj/feWTBAnSfSD3+Dql1ZruJQxmykT/JVY0dE8Ka7z0DH1hw==}@@ -3673,24 +3714,28 @@ 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==}@@ -4201,41 +4246,49 @@ 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==}@@ -5356,6 +5409,9 @@ packages:resolution: {integrity: sha512-9tfDXhJ4RKFNerfjdCcZfufu49vg620741MNs26a9+bhLThdB+plgMeou98CAaHu/WATj2iHOOHTp1hWtABj2A==}+ resolution: {integrity: sha512-EgkT8Z9noqXKbwc3u5FkJA+r48jwZ5DTUiOkJMOTEEH//n5Am6wfQGz7nvSFEA2oIAMv9jRzn5JKTyWeSKOPgg==}+resolution: {integrity: sha512-OHp/vjdlubNlhNkPkL/+3JD34ii5ov7M0GpuXEVdQeqdQ3ulvVR7Dg/rNBLfS5XPIFwgoBLDf9sjjrL+CuDyRQ==}engines: {node: ^20.19.0 || >=22.12.0}@@ -7005,72 +7061,84 @@ 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-WKyLWztD71rTnou4xAD5kQT+982wvca7E6QoLpoawZ1gP9JM0GJj4Tp5jMUh9B3AitHbRZ2/H3W5xQmdEOUlLg==}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-mVZ7Pg2zIbe3XlNbZJdjs86YViQFoJSpc41CbVmKBPiGmC4YrfeOyz65ms2qpAobVd7WQsbW4PdsSJEMymyIMg==}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-xGlFWRMl+0KvUhgySdIaReQdB4FNudfUTARn7q0hh/V67PVGCs3ADFjw+6++kG1RNd0zdGRlEKa+T13/tQjPMA==}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-eowF8PrKHw9LpoZii5tdZwnBcYDxRw2rRCyvAXLi34iyeYfqCQNA9rmUM0ce62NlPhCvof1+9ivRaTY6pSKDaA==}engines: {node: '>= 12.0.0'}cpu: [x64]os: [linux]+ libc: [musl]resolution: {integrity: sha512-/wXegPS1hnhkeG4OXQKEMQeJd48RDC3qdh+OA8pCuOPCyvnm/yEayrJdJVqzBsqpy1aJklRCVxscpFur80o6iQ==}@@ -7161,6 +7229,13 @@ packages:resolution: {integrity: sha512-FT1yDzDYEoYWhnSGnpE/4Kj1fLZkDFyqRb7fNt6FdYOSxlUWAtp42Eh6Wb0rGIv/m9Bgo7x4GhQbm5Ys4SG5ow==}+ resolution: {integrity: sha512-TM9YBvyC84ZxE3rgfefxUWiQKLilstD6k7PTGt6wfbtXF8ixIJLOL3VYyV/z+ZiPLsVxAsKAFVwWlWeb2Y8Yyw==}++ resolution: {integrity: sha512-pDo3lu8Jhfjqls6GkMgpahsF9kCyayhgykjyLMNFTKWrpVdAQtYyB4muAMWozBB4ig/dtWAmsMxLEI8wuz+DYQ==}+ deprecated: This package is deprecated. Use require('node:util').isDeepStrictEqual instead.+resolution: {integrity: sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ==}@@ -9339,6 +9414,9 @@ packages:resolution: {integrity: sha512-+FbBPE1o9QAYvviau/qC5SE3caw21q3xkvWKBtja5vgqOWIHHJ3ioaq1VPfn/Szqctz2bU/oYeKd9/z5BL+PVg==}+ resolution: {integrity: sha512-qVtvMxeXbVej0cQWKqVSSAHmKZEHAvxdF8HEUBFWts8h+xEo5m/lEiPakuyZ3BnCBjOD8i24kzNOiOLLgsSxhA==}+resolution: {integrity: sha512-0+DUvqWMValLmha6lr4kD8iAMK1HzV0/aKnCtWb9v9641TnP/MFb7Pc2bxoxQjTXAErryXVgUOfv2YqNllqGeg==}@@ -10149,12 +10227,6 @@ snapshots:package-manager-detector: 1.6.0tinyexec: 1.0.2- '@anthropic-ai/[email protected]([email protected])':- dependencies:- json-schema-to-ts: 3.1.1- optionalDependencies:- zod: 3.25.76-'@anthropic-ai/[email protected]([email protected])':dependencies:json-schema-to-ts: 3.1.1@@ -11780,7 +11852,7 @@ snapshots:wrap-ansi: 7.0.0ws: 8.19.0optionalDependencies:- expo-router: 6.0.23(x2t3rftrl3zckf7etg5727wz3e)+ expo-router: 6.0.23(8dceef04c573932de716d76b2aeca19d)transitivePeerDependencies:- bufferutil@@ -12029,18 +12101,6 @@ snapshots:'@floating-ui/[email protected]': {}- dependencies:- google-auth-library: 10.5.0- protobufjs: 7.5.4- ws: 8.19.0- optionalDependencies:- '@modelcontextprotocol/sdk': 1.26.0([email protected])- transitivePeerDependencies:- - bufferutil- - supports-color- - utf-8-validate-dependencies:google-auth-library: 10.5.0@@ -12389,18 +12449,6 @@ snapshots:std-env: 3.10.0yoctocolors: 2.1.2- '@mariozechner/[email protected](@modelcontextprotocol/[email protected]([email protected]))([email protected])([email protected])':- dependencies:- '@mariozechner/pi-ai': 0.52.9(@modelcontextprotocol/[email protected]([email protected]))([email protected])([email protected])- transitivePeerDependencies:- - '@modelcontextprotocol/sdk'- - aws-crt- - bufferutil- - supports-color- - utf-8-validate- - ws- - zod-'@mariozechner/[email protected](@modelcontextprotocol/[email protected]([email protected]))([email protected])([email protected])':dependencies:'@mariozechner/pi-ai': 0.52.9(@modelcontextprotocol/[email protected]([email protected]))([email protected])([email protected])@@ -12413,30 +12461,6 @@ snapshots:- ws- zod- '@mariozechner/[email protected](@modelcontextprotocol/[email protected]([email protected]))([email protected])([email protected])':- dependencies:- '@anthropic-ai/sdk': 0.73.0([email protected])- '@aws-sdk/client-bedrock-runtime': 3.986.0- '@google/genai': 1.40.0(@modelcontextprotocol/[email protected]([email protected]))- '@mistralai/mistralai': 1.10.0- '@sinclair/typebox': 0.34.48- ajv: 8.17.1- ajv-formats: 3.0.1([email protected])- chalk: 5.6.2- openai: 6.10.0([email protected])([email protected])- partial-json: 0.1.7- proxy-agent: 6.5.0- undici: 7.21.0- zod-to-json-schema: 3.25.1([email protected])- transitivePeerDependencies:- - '@modelcontextprotocol/sdk'- - aws-crt- - bufferutil- - supports-color- - utf-8-validate- - ws- - zod-'@mariozechner/[email protected](@modelcontextprotocol/[email protected]([email protected]))([email protected])([email protected])':dependencies:'@anthropic-ai/sdk': 0.73.0([email protected])@@ -12461,35 +12485,6 @@ snapshots:- ws- zod- '@mariozechner/[email protected](@modelcontextprotocol/[email protected]([email protected]))([email protected])([email protected])':- dependencies:- '@mariozechner/jiti': 2.6.5- '@mariozechner/pi-agent-core': 0.52.9(@modelcontextprotocol/[email protected]([email protected]))([email protected])([email protected])- '@mariozechner/pi-ai': 0.52.9(@modelcontextprotocol/[email protected]([email protected]))([email protected])([email protected])- '@mariozechner/pi-tui': 0.52.9- '@silvia-odwyer/photon-node': 0.3.4- chalk: 5.6.2- cli-highlight: 2.1.11- diff: 8.0.3- file-type: 21.3.0- glob: 13.0.1- hosted-git-info: 9.0.2- ignore: 7.0.5- marked: 15.0.12- minimatch: 10.1.2- proper-lockfile: 4.1.2- yaml: 2.8.2- optionalDependencies:- '@mariozechner/clipboard': 0.3.2- transitivePeerDependencies:- - '@modelcontextprotocol/sdk'- - aws-crt- - bufferutil- - supports-color- - utf-8-validate- - ws- - zod-'@mariozechner/[email protected](@modelcontextprotocol/[email protected]([email protected]))([email protected])([email protected])':dependencies:'@mariozechner/jiti': 2.6.5@@ -15557,6 +15552,19 @@ snapshots:+ dependencies:+ builder-util-runtime: 9.5.1+ fs-extra: 10.1.0+ js-yaml: 4.1.1+ lazy-val: 1.0.5+ lodash.escaperegexp: 4.1.2+ lodash.isequal: 4.5.0+ semver: 7.7.4+ tiny-typed-emitter: 2.1.0+ transitivePeerDependencies:+ - supports-color+[email protected]([email protected](@types/[email protected])([email protected])([email protected])):dependencies:'@babel/core': 7.29.0@@ -16291,7 +16299,7 @@ snapshots:react: 19.1.0- [email protected](x2t3rftrl3zckf7etg5727wz3e):+ [email protected](8dceef04c573932de716d76b2aeca19d):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@@ -17776,6 +17784,10 @@ snapshots:+ [email protected]: {}++ [email protected]: {}+@@ -18838,11 +18850,6 @@ snapshots:is-docker: 2.2.1is-wsl: 2.2.0- optionalDependencies:- ws: 8.19.0- zod: 3.25.76-optionalDependencies:ws: 8.19.0@@ -20696,6 +20703,8 @@ snapshots:+ [email protected]: {}+