Skip to content

The open-source app everyone uses to manage agents at work

build(deps): bump lucide-react from 0.577.0 to 1.32.0 (#11885)

dependabot[bot]0b01593602d8
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index b3eea93c2d..6feb84c95b 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -1029,8 +1029,8 @@ importers:
specifier: 0.49.0
version: 0.49.0([email protected])
lucide-react:
- specifier: ^0.577.0
- version: 0.577.0([email protected])
+ specifier: ^1.32.0
+ version: 1.32.0([email protected])
mermaid:
specifier: ^11.16.1
version: 11.16.1
@@ -6792,8 +6792,8 @@ packages:
resolution: {integrity: sha512-I+lBvqMMFfqaV8CJCISjI3wbjmwVu/VyOoU7+qtu9d7ioW5klMgsTTiUOUp+DJvfTTzKXoPbyC6YfgkNcyPSOg==}
- resolution: {integrity: sha512-4LjoFv2eEPwYDPg/CUdBJQSDfPyzXCRrVW1X7jrx/trgxnxkHFjnVZINbzvzxjN70dxychOfg+FTYwBiS3pQ5A==}
+ resolution: {integrity: sha512-txX56hMFnRxPi1f9/nH69YN8uvAO6a7Y1KSWKjCDAtdD9+soEgmWuCt6iRm1pkxUZo2+YntSdsE1L6bIuKoY8Q==}
peerDependencies:
react: ^19.2.8
@@ -14258,7 +14258,7 @@ snapshots:
dependencies:
react: 19.2.8
diff --git a/ui/package.json b/ui/package.json
index 58a0f585cc..36ce03841e 100644
--- a/ui/package.json
+++ b/ui/package.json
@@ -58,7 +58,7 @@
"cmdk": "^1.1.1",
"i18next": "^26.3.6",
"lexical": "0.49.0",
- "lucide-react": "^0.577.0",
+ "lucide-react": "^1.32.0",
"mermaid": "^11.16.1",
"motion": "^12.42.2",
"radix-ui": "^1.6.7",
diff --git a/ui/src/components/MarkdownBody.tsx b/ui/src/components/MarkdownBody.tsx
index a26cafac79..98c06bf01f 100644
--- a/ui/src/components/MarkdownBody.tsx
+++ b/ui/src/components/MarkdownBody.tsx
@@ -1,9 +1,10 @@
import { isValidElement, memo, useCallback, useEffect, useId, useMemo, useRef, useState, type ReactNode } from "react";
import { useQuery } from "@tanstack/react-query";
-import { Check, Copy, ExternalLink, Github, WrapText } from "lucide-react";
+import { Check, Copy, ExternalLink, WrapText } from "lucide-react";
import Markdown, { defaultUrlTransform, type Components, type Options } from "react-markdown";
import remarkGfm from "remark-gfm";
import { cn } from "../lib/utils";
+import { GithubIcon } from "@/components/icons/github-icon";
import { Link, useCaseHref } from "@/lib/router";
import { useTheme } from "../context/ThemeContext";
import { useOptionalCompany } from "../context/CompanyContext";
@@ -895,7 +896,7 @@ function MarkdownBodyImpl({
const isGitHubLink = isGitHubUrl(href);
const isExternal = isExternalHttpUrl(href);
const leadingIcon = isGitHubLink ? (
- <Github aria-hidden="true" className="mr-1 inline h-3.5 w-3.5 align-(--va-0_125em)" />
+ <GithubIcon aria-hidden="true" className="mr-1 inline h-3.5 w-3.5 align-(--va-0_125em)" />
) : null;
const trailingIcon = isExternal && !isGitHubLink ? (
<ExternalLink aria-hidden="true" className="ml-1 inline h-3 w-3 align-(--va-0_125em)" />
diff --git a/ui/src/components/ProjectProperties.tsx b/ui/src/components/ProjectProperties.tsx
index 1f8c95d24c..d4f890772a 100644
--- a/ui/src/components/ProjectProperties.tsx
+++ b/ui/src/components/ProjectProperties.tsx
@@ -17,7 +17,8 @@ import { Separator } from "@/components/ui/separator";
import { Button } from "@/components/ui/button";
import { Popover, PopoverContent, PopoverTrigger } from "@/components/ui/popover";
import { Tooltip, TooltipContent, TooltipTrigger } from "@/components/ui/tooltip";
-import { AlertCircle, Archive, ArchiveRestore, Check, ExternalLink, Github, Loader2, Plus, Trash2, X } from "lucide-react";
+import { AlertCircle, Archive, ArchiveRestore, Check, ExternalLink, Loader2, Plus, Trash2, X } from "lucide-react";
+import { GithubIcon } from "@/components/icons/github-icon";
import { ChoosePathButton } from "./PathInstructionsModal";
import { ToggleSwitch } from "@/components/ui/toggle-switch";
import { DraftInput } from "./agent-config-primitives";
@@ -727,13 +728,13 @@ export function ProjectProperties({ project, onUpdate, onFieldUpdate, getFieldSa
rel="noreferrer"
className="inline-flex min-w-0 items-center gap-1.5 text-xs text-muted-foreground hover:text-foreground hover:underline"
>
- <Github className="h-3 w-3 shrink-0" />
+ <GithubIcon className="h-3 w-3 shrink-0" />
<span className="break-all min-w-0">{formatRepoUrl(codebase.repoUrl)}</span>
<ExternalLink className="h-3 w-3 shrink-0" />
</a>
) : (
<div className="inline-flex min-w-0 items-center gap-1.5 text-xs text-muted-foreground">
- <Github className="h-3 w-3 shrink-0" />
+ <GithubIcon className="h-3 w-3 shrink-0" />
<span className="break-all min-w-0">{codebase.repoUrl}</span>
</div>
)}
diff --git a/ui/src/components/icons/github-icon.tsx b/ui/src/components/icons/github-icon.tsx
new file mode 100644
index 0000000000..9e01e0fc1e
--- /dev/null
+++ b/ui/src/components/icons/github-icon.tsx
@@ -0,0 +1,20 @@
+import { createLucideIcon } from "lucide-react";
+
+/**
+ * The GitHub mark, as a `lucide-react` icon.
+ *
+ * `lucide-react` removed all brand icons (including `Github`) in its 1.x
+ * release. This component rebuilds the old mark with `createLucideIcon`, so
+ * it stays a drop-in replacement: same props, same `LucideIcon` type, same
+ * rendered output as the icon this file replaces.
+ */
+export const GithubIcon = createLucideIcon("github", [
+ [
+ "path",
+ {
+ d: "M15 22v-4a4.8 4.8 0 0 0-1-3.5c3 0 6-2 6-5.5.08-1.25-.27-2.48-1-3.5.28-1.15.28-2.35 0-3.5 0 0-1 0-3 1.5-2.64-.5-5.36-.5-8 0C6 2 5 2 5 2c-.3 1.15-.3 2.35 0 3.5A5.403 5.403 0 0 0 4 9c0 3.5 3 5.5 6 5.5-.39.49-.68 1.05-.85 1.65-.17.6-.22 1.23-.15 1.85v4",
+ key: "tonef",
+ },
+ ],
+ ["path", { d: "M9 18c-4.51 2-5-2-7-2", key: "9comsn" }],
+]);
diff --git a/ui/src/lib/external-objects.ts b/ui/src/lib/external-objects.ts
index d977e2b7a5..382e47ad73 100644
--- a/ui/src/lib/external-objects.ts
+++ b/ui/src/lib/external-objects.ts
@@ -9,13 +9,13 @@ import {
Clock,
CloudOff,
GitMerge,
- Github,
GitPullRequest,
KeyRound,
Loader2,
XCircle,
type LucideIcon,
} from "lucide-react";
+import { GithubIcon } from "@/components/icons/github-icon";
import type {
ExternalObjectLivenessState,
ExternalObjectStatusCategory,
@@ -55,7 +55,7 @@ const EXTERNAL_OBJECT_ICON_KEYS: Record<string, LucideIcon> = {
circle: Circle,
"circle-dot": CircleDot,
clock: Clock,
- github: Github,
+ github: GithubIcon,
"git-merge": GitMerge,
"git-pull-request": GitPullRequest,
key: KeyRound,
diff --git a/ui/src/pages/CompanyImport.tsx b/ui/src/pages/CompanyImport.tsx
index 496a2eab51..6104c9244a 100644
--- a/ui/src/pages/CompanyImport.tsx
+++ b/ui/src/pages/CompanyImport.tsx
@@ -30,11 +30,11 @@ import {
Check,
ChevronRight,
Download,
- Github,
Loader2,
Package,
Upload,
} from "lucide-react";
+import { GithubIcon } from "../components/icons/github-icon";
import { Field, adapterLabels } from "../components/agent-config-primitives";
import { getAdapterLabel } from "../adapters/adapter-display-registry";
import { defaultCreateValues } from "../components/agent-config-defaults";
@@ -1784,7 +1784,7 @@ export function CompanyImport() {
<div className="grid gap-2 md:grid-cols-2">
{(
[
- { key: "github", icon: Github, label: "GitHub repo" },
+ { key: "github", icon: GithubIcon, label: "GitHub repo" },
{ key: "local", icon: Upload, label: "Local zip" },
] as const
).map(({ key, icon: Icon, label }) => (
diff --git a/ui/src/pages/CompanySkills.tsx b/ui/src/pages/CompanySkills.tsx
index 42a9325d46..5ef66a9197 100644
--- a/ui/src/pages/CompanySkills.tsx
+++ b/ui/src/pages/CompanySkills.tsx
@@ -136,7 +136,6 @@ import {
FolderOpen,
FolderSearch,
GitFork,
- Github,
Globe,
HelpCircle,
LayoutGrid,
@@ -164,6 +163,7 @@ import {
X,
XOctagon,
} from "lucide-react";
+import { GithubIcon } from "../components/icons/github-icon";
import type { FolderListItem, FolderListResult } from "@paperclipai/shared";
type SkillTreeNode = {
@@ -265,7 +265,7 @@ function sourceMeta(sourceBadge: CompanySkillSourceBadge, sourceLabel: string |
case "github":
return isSkillsShManaged
? { icon: VercelMark, label: sourceLabel ?? "skills.sh", managedLabel: "skills.sh managed" }
- : { icon: Github, label: sourceLabel ?? "GitHub", managedLabel: "GitHub managed" };
+ : { icon: GithubIcon, label: sourceLabel ?? "GitHub", managedLabel: "GitHub managed" };
case "url":
return { icon: Link2, label: sourceLabel ?? "URL", managedLabel: "URL managed" };
case "local":
@@ -3412,7 +3412,7 @@ export function SkillDetailPage({
<div className="mb-2 text-xs font-medium uppercase tracking-wide text-muted-foreground">Source</div>
{githubSource ? (
<div className="flex items-start gap-2 text-sm">
- <Github className="mt-0.5 h-4 w-4 shrink-0 text-muted-foreground" aria-hidden="true" />
+ <GithubIcon className="mt-0.5 h-4 w-4 shrink-0 text-muted-foreground" aria-hidden="true" />
<div className="min-w-0">
<div className="text-foreground">{githubLabel}</div>
<a
diff --git a/ui/src/pages/TeamCatalog.tsx b/ui/src/pages/TeamCatalog.tsx
index cd69e869b3..44218cfc88 100644
--- a/ui/src/pages/TeamCatalog.tsx
+++ b/ui/src/pages/TeamCatalog.tsx
@@ -95,7 +95,6 @@ import {
Folder,
FolderKanban,
FolderOpen,
- Github,
KeyRound,
Link2,
Loader2,
@@ -108,6 +107,7 @@ import {
XCircle,
XOctagon,
} from "lucide-react";
+import { GithubIcon } from "../components/icons/github-icon";
// Matches design §11 breakpoints. Module-level so stories and the page agree.
const DESKTOP_MIN = 1024;
@@ -330,7 +330,7 @@ function RiskBanner({ team }: { team: CatalogTeam }) {
function sourceKindIcon(type: CatalogTeamSourceRef["type"]) {
switch (type) {
case "github":
- return Github;
+ return GithubIcon;
case "url":
return Link2;
case "local_path":
diff --git a/ui/src/pages/agent-skills/agent-skill-source.ts b/ui/src/pages/agent-skills/agent-skill-source.ts
index 139676dfe3..9869dcea6d 100644
--- a/ui/src/pages/agent-skills/agent-skill-source.ts
+++ b/ui/src/pages/agent-skills/agent-skill-source.ts
@@ -1,4 +1,5 @@
-import { Boxes, Folder, Github, Link2, Paperclip, type LucideIcon } from "lucide-react";
+import { Boxes, Folder, Link2, Paperclip, type LucideIcon } from "lucide-react";
+import { GithubIcon } from "@/components/icons/github-icon";
import type { CompanySkillListItem } from "@paperclipai/shared";
export interface AgentSkillSourceMeta {
@@ -90,12 +91,12 @@ function displayCatalogSourceLabel(label: string | null | undefined) {
export function buildAgentSkillSourceMeta(skill: SourceSkill): AgentSkillSourceMeta {
if (skill.sourceBadge === "github" || skill.sourceType === "github") {
const repo = githubRepoLabel(skill.sourceLabel) ?? githubRepoLabel(skill.sourceLocator);
- return { icon: Github, label: repo ? `GitHub · ${repo}` : "GitHub" };
+ return { icon: GithubIcon, label: repo ? `GitHub · ${repo}` : "GitHub" };
}
if (skill.sourceBadge === "skills_sh" || skill.sourceType === "skills_sh") {
const repo = githubRepoLabel(skill.sourceLabel) ?? githubRepoLabel(skill.sourceLocator);
- return { icon: Github, label: repo ? `skills.sh · ${repo}` : "skills.sh" };
+ return { icon: GithubIcon, label: repo ? `skills.sh · ${repo}` : "skills.sh" };
}
if (skill.sourceBadge === "url" || skill.sourceType === "url") {
diff --git a/ui/storybook/stories/agent-skill-row.stories.tsx b/ui/storybook/stories/agent-skill-row.stories.tsx
index 34d62c99d4..fef898a117 100644
--- a/ui/storybook/stories/agent-skill-row.stories.tsx
+++ b/ui/storybook/stories/agent-skill-row.stories.tsx
@@ -1,6 +1,7 @@
import { useState } from "react";
import type { Meta, StoryObj } from "@storybook/react-vite";
-import { Folder, Github } from "lucide-react";
+import { Folder } from "lucide-react";
+import { GithubIcon } from "@/components/icons/github-icon";
import { AgentSkillRow, type AgentSkillRowData } from "@/pages/agent-skills/AgentSkillRow";
const ENABLED: AgentSkillRowData = {
@@ -9,7 +10,7 @@ const ENABLED: AgentSkillRowData = {
icon: { key: "agent-browser", name: "agent-browser", slug: "agent-browser", iconUrl: null, color: null },
summary: "Drive a real browser to inspect and interact with web pages.",
chip: "automation",
- sourceMeta: { icon: Github, label: "GitHub · vercel-labs/agent-browser" },
+ sourceMeta: { icon: GithubIcon, label: "GitHub · vercel-labs/agent-browser" },
linkTo: "/skills/agent-browser",
slug: "agent-browser",
tagline: "Drive a real browser to inspect and interact with web pages.",