Skip to content

Shared task board where people and AI coding agents work as teammates. Source-available, self-hostable.

Go

merge: integrate origin/main into feat/onboarding-check

Naiyuan Qingb310b57ce955
diff --cc apps/desktop/package.json
index 9730e1073f,446fe137eb..41d9da1305
--- a/apps/desktop/package.json
+++ b/apps/desktop/package.json
@@@ -19,7 -20,7 +19,8 @@@
"@multica/sdk": "workspace:*",
"@multica/store": "workspace:*",
"@multica/ui": "workspace:*",
- "electron-updater": "^6.7.3",
++"electron-updater": "^6.7.3",
+ "lucide-react": "^0.563.0",
"qrcode.react": "^4.2.0",
"react": "catalog:",
"react-dom": "catalog:",
diff --cc apps/desktop/src/main/index.ts
index 47fba83b46,509452fdf5..a4428d31fe
--- a/apps/desktop/src/main/index.ts
+++ b/apps/desktop/src/main/index.ts
@@@ -48,7 -48,7 +48,8 @@@ import { app, BrowserWindow, shell, ipc
import { fileURLToPath } from 'node:url'
import path from 'node:path'
import { registerAllIpcHandlers, initializeApp, cleanupAll, setupDeviceConfirmation } from './ipc/index.js'
+import { appStateManager } from '@multica/core'
+ import { createUpdater, AutoUpdater } from './updater/index.js'
// CJS output will have __dirname natively, but TypeScript source needs this for type checking
const __dirname = path.dirname(fileURLToPath(import.meta.url))
diff --cc packages/ui/package.json
index b33bd59ae5,41fec451c9..4b9e7167d7
--- a/packages/ui/package.json
+++ b/packages/ui/package.json
@@@ -4,8 -4,7 +4,8 @@@
"private": true,
"type": "module",
"sideEffects": [
- "**/*.css",
- "**/*.css"
++"**/*.css",
+ "./src/styles/fonts.ts"
],
"scripts": {
"typecheck": "tsc --noEmit",
@@@ -34,8 -31,8 +34,9 @@@
"@tiptap/starter-kit": "^3.19.0",
"class-variance-authority": "catalog:",
"clsx": "catalog:",
+ "katex": "^0.16.28",
"linkify-it": "^5.0.0",
+ "lucide-react": "^0.563.0",
"next-themes": "^0.4.6",
"qr-scanner": "^1.4.2",
"react": "catalog:",
diff --cc packages/ui/src/components/tool-call-item.tsx
index 4d1a043b39,32888fae8d..2936714d92
--- a/packages/ui/src/components/tool-call-item.tsx
+++ b/packages/ui/src/components/tool-call-item.tsx
@@@ -1,19 -1,20 +1,20 @@@
"use client"
import { memo, useState } from "react"
-import { HugeiconsIcon } from "@hugeicons/react"
import {
- File01Icon,
- FloppyDiskIcon,
- FileEditIcon,
- CommandLineIcon,
- Search01Icon,
- FolderOpenIcon,
- GlobeIcon,
- DatabaseIcon,
- GitBranchIcon,
- ChartBarLineIcon,
- ArrowRight01Icon,
-} from "@hugeicons/core-free-icons"
+ File,
+ Save,
+ FileEdit,
+ Terminal,
+ Search,
+ FolderOpen,
+ Globe,
+ Database,
+ GitBranch,
++ BarChart3,
+ ChevronRight,
+ type LucideIcon,
+} from "lucide-react"
import { cn, getTextContent } from "@multica/ui/lib/utils"
import type { Message } from "@multica/store"
@@@ -21,24 -22,25 +22,25 @@@
// Tool display config
// ---------------------------------------------------------------------------
-const TOOL_DISPLAY: Record<string, { label: string; icon: typeof File01Icon }> = {
- read: { label: "Read", icon: File01Icon },
- write: { label: "Write", icon: FloppyDiskIcon },
- edit: { label: "Edit", icon: FileEditIcon },
- exec: { label: "Exec", icon: CommandLineIcon },
- bash: { label: "Exec", icon: CommandLineIcon },
- process: { label: "Process", icon: CommandLineIcon },
- grep: { label: "Grep", icon: Search01Icon },
- find: { label: "Find", icon: Search01Icon },
- ls: { label: "ListDir", icon: FolderOpenIcon },
- glob: { label: "Glob", icon: Search01Icon },
- web_search: { label: "WebSearch", icon: GlobeIcon },
- web_fetch: { label: "WebFetch", icon: GlobeIcon },
- memory_get: { label: "MemoryGet", icon: DatabaseIcon },
- memory_set: { label: "MemorySet", icon: DatabaseIcon },
- memory_delete: { label: "MemoryDelete", icon: DatabaseIcon },
- memory_list: { label: "MemoryList", icon: DatabaseIcon },
- sessions_spawn: { label: "SpawnSession", icon: GitBranchIcon },
- data: { label: "Data", icon: ChartBarLineIcon },
+const TOOL_DISPLAY: Record<string, { label: string; icon: LucideIcon }> = {
+ read: { label: "Read", icon: File },
+ write: { label: "Write", icon: Save },
+ edit: { label: "Edit", icon: FileEdit },
+ exec: { label: "Exec", icon: Terminal },
+ bash: { label: "Exec", icon: Terminal },
+ process: { label: "Process", icon: Terminal },
+ grep: { label: "Grep", icon: Search },
+ find: { label: "Find", icon: Search },
+ ls: { label: "ListDir", icon: FolderOpen },
+ glob: { label: "Glob", icon: Search },
+ web_search: { label: "WebSearch", icon: Globe },
+ web_fetch: { label: "WebFetch", icon: Globe },
+ memory_get: { label: "MemoryGet", icon: Database },
+ memory_set: { label: "MemorySet", icon: Database },
+ memory_delete: { label: "MemoryDelete", icon: Database },
+ memory_list: { label: "MemoryList", icon: Database },
+ sessions_spawn: { label: "SpawnSession", icon: GitBranch },
++ data: { label: "Data", icon: BarChart3 },
}
// ---------------------------------------------------------------------------
diff --cc pnpm-lock.yaml
index fc9cc0d1b4,288cdcaef9..a79b09a8f5
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@@ -242,9 -251,9 +242,12 @@@ importers
'@multica/ui':
specifier: workspace:*
version: link:../../packages/ui
+ electron-updater:
+ specifier: ^6.7.3
+ version: 6.7.3
+ lucide-react:
+ specifier: ^0.563.0
+ version: 0.563.0([email protected])
qrcode.react:
specifier: ^4.2.0
version: 4.2.0([email protected])
@@@ -579,13 -600,13 +582,13 @@@
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
@@@ -15859,9 -15943,9 +15945,9 @@@ snapshots
'@typescript-eslint/parser': 8.55.0([email protected]([email protected]))([email protected])
eslint: 9.39.2([email protected])
-- eslint-import-resolver-typescript: 3.10.1([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.5.0
@@@ -15876,8 -15960,8 +15962,8 @@@
'@next/eslint-plugin-next': 16.1.6
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-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]))
@@@ -15899,7 -15983,7 +15985,7 @@@
transitivePeerDependencies:
- supports-color
dependencies:
'@nolyfill/is-core-module': 1.0.39
debug: 4.4.3
@@@ -15910,18 -15994,18 +15996,18 @@@
tinyglobby: 0.2.15
unrs-resolver: 1.11.1
optionalDependencies:
transitivePeerDependencies:
- supports-color
dependencies:
debug: 3.2.7
optionalDependencies:
'@typescript-eslint/parser': 8.55.0([email protected]([email protected]))([email protected])
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]))
transitivePeerDependencies:
- supports-color
@@@ -15934,7 -16018,7 +16020,7 @@@
- supports-color
- typescript
dependencies:
'@rtsao/scc': 1.1.0
array-includes: 3.1.9
@@@ -15945,7 -16029,7 +16031,7 @@@
doctrine: 2.1.0
eslint: 9.39.2([email protected])
eslint-import-resolver-node: 0.3.9
hasown: 2.0.2
is-core-module: 2.16.1
is-glob: 4.0.3