From 9e2c19259a35c4e87883aa958a73fc94560717e4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=9B=B7=E7=94=B5=E8=8A=BD=E8=A1=A3?= Date: Mon, 23 Mar 2026 16:51:02 -0400 Subject: [PATCH] update --- build/electron-builder.runtime.json | 2 +- build/release/latest-mac.yml | 14 +++++----- package.json | 2 +- src/renderer/App.tsx | 2 +- .../components/communication/MessageItem.tsx | 6 +--- src/renderer/styles.css | 28 +++++++++---------- 6 files changed, 25 insertions(+), 29 deletions(-) diff --git a/build/electron-builder.runtime.json b/build/electron-builder.runtime.json index 342ceaff..aa10c5cc 100644 --- a/build/electron-builder.runtime.json +++ b/build/electron-builder.runtime.json @@ -4,7 +4,7 @@ "output": "/Users/zacharyzhang/Documents/Github/AgentCompany/build/release" }, "extraMetadata": { - "version": "0.4.77" + "version": "0.4.80" }, "mac": { "hardenedRuntime": false, diff --git a/build/release/latest-mac.yml b/build/release/latest-mac.yml index 02ec8654..15e4d7c7 100644 --- a/build/release/latest-mac.yml +++ b/build/release/latest-mac.yml @@ -1,8 +1,8 @@ -version: 0.4.77 +version: 0.4.80 files: - - url: AgentCompany-0.4.77-arm64-mac.zip - sha512: rM2oPamJ0mHhH4bkIrcdJT+raflsJpiKI331HDD/flZvGnB0L3zveHEjkG6eZkIvpQOh78d9/HjPRUuB2lGZ+w== - size: 113614712 -path: AgentCompany-0.4.77-arm64-mac.zip -sha512: rM2oPamJ0mHhH4bkIrcdJT+raflsJpiKI331HDD/flZvGnB0L3zveHEjkG6eZkIvpQOh78d9/HjPRUuB2lGZ+w== -releaseDate: '2026-03-23T20:26:33.820Z' + - url: AgentCompany-0.4.80-arm64-mac.zip + sha512: 5gKuP0v6BeMrgiEre/WXXERVAyjh7imWgleoV18ZU5fly+/wq8witKgg8o+E5kid7VUSqTYlvePRtkT8NrYYhg== + size: 113614651 +path: AgentCompany-0.4.80-arm64-mac.zip +sha512: 5gKuP0v6BeMrgiEre/WXXERVAyjh7imWgleoV18ZU5fly+/wq8witKgg8o+E5kid7VUSqTYlvePRtkT8NrYYhg== +releaseDate: '2026-03-23T20:47:41.499Z' diff --git a/package.json b/package.json index 0b863a48..48afb1e2 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "agent-company", - "version": "0.4.77", + "version": "0.4.80", "private": true, "type": "module", "description": "Cross-platform Electron desktop control plane for local-first AI agent companies.", diff --git a/src/renderer/App.tsx b/src/renderer/App.tsx index 1434acf8..3255bbe1 100644 --- a/src/renderer/App.tsx +++ b/src/renderer/App.tsx @@ -384,7 +384,7 @@ export function App() { : undefined, tasks: badges.todoTasks > 0 ? { count: badges.todoTasks, tone: "default" } : undefined, approvals: badges.pendingApprovals > 0 ? { count: badges.pendingApprovals, tone: "warn" } : undefined, - communication: (badges.unreadMessages + activeInboxCount) > 0 ? { count: badges.unreadMessages + activeInboxCount, tone: "warn" } : undefined, + communication: badges.unreadMessages > 0 ? { count: badges.unreadMessages, tone: "warn" } : undefined, } : {}, [badges, activeInboxCount]); const companyWorkspaces = useMemo(() => snapshot?.workspaces.filter((workspace) => !currentCompany || workspace.companyId === currentCompany.id) ?? [], [snapshot, currentCompany]); diff --git a/src/renderer/components/communication/MessageItem.tsx b/src/renderer/components/communication/MessageItem.tsx index 8ba5d69a..56f413be 100644 --- a/src/renderer/components/communication/MessageItem.tsx +++ b/src/renderer/components/communication/MessageItem.tsx @@ -73,10 +73,7 @@ export const MessageBubble = memo(function MessageBubble({ isUnread ? "bg-[color:var(--panel)]" : "hover:bg-[color:var(--panel-soft)]/40" - } ${ - isUrgent ? "border-l-[3px]" : "" }`} - style={isUrgent ? { borderLeftColor: "var(--danger)" } : undefined} > @@ -177,8 +174,7 @@ export function TaskCommentBubble({ initial={{ opacity: 0, y: 6 }} animate={{ opacity: 1, y: 0 }} transition={{ duration: 0.18 }} - className="group relative flex gap-3 rounded-[8px] border-l-[3px] bg-[color:var(--panel)] px-4 py-3" - style={{ borderLeftColor: isBoard ? "var(--accent)" : deptColor }} + className="group relative flex gap-3 rounded-[8px] bg-[color:var(--panel)] px-4 py-3" >
diff --git a/src/renderer/styles.css b/src/renderer/styles.css index c077e392..b9f0744e 100644 --- a/src/renderer/styles.css +++ b/src/renderer/styles.css @@ -39,13 +39,13 @@ :root[data-theme="dark"] { color-scheme: dark; - --bg: #0f1117; - --bg-subtle: #161820; - --panel: #1b1e26; - --panel-soft: #252830; - --panel-strong: #1e2129; - --line: rgba(148, 163, 190, 0.1); - --line-strong: rgba(148, 163, 190, 0.18); + --bg: #16181f; + --bg-subtle: #1a1c24; + --panel: #1e2028; + --panel-soft: #24262e; + --panel-strong: #1c1e26; + --line: rgba(148, 163, 190, 0.12); + --line-strong: rgba(148, 163, 190, 0.2); --text: #edf0f7; --muted: #8b95a5; --muted-strong: #b0b8c8; @@ -65,13 +65,13 @@ @media (prefers-color-scheme: dark) { :root[data-theme="system"] { color-scheme: dark; - --bg: #0f1117; - --bg-subtle: #161820; - --panel: #1b1e26; - --panel-soft: #252830; - --panel-strong: #1e2129; - --line: rgba(148, 163, 190, 0.1); - --line-strong: rgba(148, 163, 190, 0.18); + --bg: #16181f; + --bg-subtle: #1a1c24; + --panel: #1e2028; + --panel-soft: #24262e; + --panel-strong: #1c1e26; + --line: rgba(148, 163, 190, 0.12); + --line-strong: rgba(148, 163, 190, 0.2); --text: #edf0f7; --muted: #8b95a5; --muted-strong: #b0b8c8;