History

fix: standardize design system tokens and typography (#198)

* fix: standardize design system tokens and typography - Bump dark mode --muted-foreground from 0.56 to 0.65 for readable secondary text - Bump dark mode --border from 0.235 to 0.28 for visible borders - Bump dark mode --sidebar-foreground from 0.72 to 0.78 - Replace all arbitrary font sizes with standard Tailwind scale: text-[0.625rem]→text-xs, text-[0.75rem]→text-xs, text-[0.8125rem]→text-sm, text-[0.9375rem]→text-base, text-[9-13px]→text-xs, text-[14-15px]→text-sm - Remove all opacity modifiers on text-muted-foreground (46 occurrences) — the token itself is already the correct contrast level * bump sidebar nav items from text-xs to text-sm * bump text-xs to text-sm for readable content Upgrade form labels, descriptions, helper text, error messages, dialog descriptions, select triggers, and loading states from text-xs (12px) to text-sm (14px). Keeps text-xs for badges, tooltips, code blocks, column headers, and secondary metadata.

Rhys Sullivan committed 7 months ago

Commit 88b43841 parent 857a85432 files · +247 −247Browse files

Unified · Split

32 files
  1. apps/cloud/src/routes/billing.tsx +7 −7
  2. apps/cloud/src/routes/billing_.plans.tsx +9 −9
  3. apps/cloud/src/routes/org.tsx +15 −15
  4. apps/cloud/src/web/shell.tsx +11 −11
  5. apps/local/src/web/shell.tsx +16 −16
  6. packages/plugins/google-discovery/src/react/AddGoogleDiscoverySource.tsx +15 −15
  7. packages/plugins/google-discovery/src/react/EditGoogleDiscoverySource.tsx +5 −5
  8. packages/plugins/google-discovery/src/react/GoogleDiscoverySourceSummary.tsx +2 −2
  9. packages/plugins/graphql/src/react/AddGraphqlSource.tsx +4 −4
  10. packages/plugins/graphql/src/react/EditGraphqlSource.tsx +4 −4
  11. packages/plugins/mcp/src/react/AddMcpSource.tsx +21 −21
  12. packages/plugins/mcp/src/react/EditMcpSource.tsx +8 −8
  13. packages/plugins/mcp/src/react/McpSourceSummary.tsx +2 −2
  14. packages/plugins/onepassword/src/react/OnePasswordSettings.tsx +28 −28
  15. packages/plugins/openapi/src/react/AddOpenApiSource.tsx +13 −13
  16. packages/plugins/openapi/src/react/EditOpenApiSource.tsx +4 −4
  17. packages/react/src/components/calendar.tsx +2 −2
  18. packages/react/src/components/card-stack.tsx +1 −1
  19. packages/react/src/components/code-block.tsx +6 −6
  20. packages/react/src/components/expandable-code-block.tsx +2 −2
  21. packages/react/src/components/markdown.tsx +4 −4
  22. packages/react/src/components/mcp-install-card.tsx +3 −3
  23. packages/react/src/components/schema-explorer.tsx +8 −8
  24. packages/react/src/components/tool-tree.tsx +6 −6
  25. packages/react/src/pages/secrets.tsx +18 −18
  26. packages/react/src/pages/source-detail.tsx +2 −2
  27. packages/react/src/pages/sources-add.tsx +2 −2
  28. packages/react/src/pages/sources.tsx +9 −9
  29. packages/react/src/pages/tools.tsx +3 −3
  30. packages/react/src/plugins/secret-header-auth.tsx +13 −13
  31. packages/react/src/plugins/secret-picker.tsx +1 −1
  32. packages/react/src/styles/globals.css +3 −3
apps/cloud/src/routes/billing.tsx+7−7
@@ -65,7 +65,7 @@ function BillingPage() { · 64 unmodified lines
65 <div className="flex items-center justify-between py-4">65 <div className="flex items-center justify-between py-4">
66 <div>66 <div>
67 <div className="flex items-center gap-2">67 <div className="flex items-center gap-2">
68 <p className="text-[0.8125rem] font-medium text-foreground leading-none">68 <p className="text-sm font-medium text-foreground leading-none">
69 {planName}69 {planName}
70 </p>70 </p>
71 {isSwitching && (71 {isSwitching && (
@@ -79,7 +79,7 @@ function BillingPage() { · 7 unmodified lines
79 </Badge>79 </Badge>
80 )}80 )}
81 </div>81 </div>
82 <p className="mt-1 text-[0.75rem] text-muted-foreground/70 leading-none">82 <p className="mt-1 text-xs text-muted-foreground leading-none">
83 {isSwitching && sub?.currentPeriodEnd83 {isSwitching && sub?.currentPeriodEnd
84 ? `Starts ${new Date(sub.currentPeriodEnd).toLocaleDateString(undefined, { month: "long", day: "numeric", year: "numeric" })}`84 ? `Starts ${new Date(sub.currentPeriodEnd).toLocaleDateString(undefined, { month: "long", day: "numeric", year: "numeric" })}`
85 : isCanceling && sub?.currentPeriodEnd85 : isCanceling && sub?.currentPeriodEnd
@@ -95,14 +95,14 @@ function BillingPage() { · 9 unmodified lines
95 variant="ghost"95 variant="ghost"
96 type="button"96 type="button"
97 onClick={() => openCustomerPortal()}97 onClick={() => openCustomerPortal()}
98 className="rounded-md px-3 py-1.5 text-[0.75rem] font-medium text-destructive transition-colors hover:bg-destructive/10"98 className="rounded-md px-3 py-1.5 text-xs font-medium text-destructive transition-colors hover:bg-destructive/10"
99 >99 >
100 Cancel plan100 Cancel plan
101 </Button>101 </Button>
102 )}102 )}
103 <Link103 <Link
104 to="/billing/plans"104 to="/billing/plans"
105 className="rounded-md bg-primary px-3 py-1.5 text-[0.75rem] font-medium text-primary-foreground transition-colors hover:bg-primary/90"105 className="rounded-md bg-primary px-3 py-1.5 text-xs font-medium text-primary-foreground transition-colors hover:bg-primary/90"
106 >106 >
107 Manage107 Manage
108 </Link>108 </Link>
@@ -116,10 +116,10 @@ function BillingPage() { · 7 unmodified lines
116 {executions && (116 {executions && (
117 <div className="py-4">117 <div className="py-4">
118 <div className="flex items-center justify-between mb-2">118 <div className="flex items-center justify-between mb-2">
119 <p className="text-[0.8125rem] font-medium text-foreground">Executions</p>119 <p className="text-sm font-medium text-foreground">Executions</p>
120 <p className="text-[0.8125rem] tabular-nums text-muted-foreground">120 <p className="text-sm tabular-nums text-muted-foreground">
121 {executions.usage.toLocaleString()}121 {executions.usage.toLocaleString()}
122 <span className="text-muted-foreground/50">122 <span className="text-muted-foreground">
123 {" / "}123 {" / "}
124 {executions.granted.toLocaleString()} this month124 {executions.granted.toLocaleString()} this month
125 </span>125 </span>
apps/cloud/src/routes/billing_.plans.tsx+9−9
@@ -58,7 +58,7 @@ function PlansPage() { · 57 unmodified lines
58 <div className="mb-8">58 <div className="mb-8">
59 <Link59 <Link
60 to="/billing"60 to="/billing"
61 className="inline-flex items-center gap-1 text-[0.8125rem] text-muted-foreground hover:text-foreground transition-colors mb-4"61 className="inline-flex items-center gap-1 text-sm text-muted-foreground hover:text-foreground transition-colors mb-4"
62 >62 >
63 <svg viewBox="0 0 16 16" fill="none" className="size-3.5">63 <svg viewBox="0 0 16 16" fill="none" className="size-3.5">
64 <path64 <path
@@ -74,7 +74,7 @@ function PlansPage() { · 9 unmodified lines
74 <h1 className="font-display text-3xl tracking-tight text-foreground lg:text-4xl">74 <h1 className="font-display text-3xl tracking-tight text-foreground lg:text-4xl">
75 Choose a plan75 Choose a plan
76 </h1>76 </h1>
77 <p className="mt-1.5 text-[0.875rem] text-muted-foreground">77 <p className="mt-1.5 text-sm text-muted-foreground">
78 Pick the plan that works for you. Upgrade or downgrade anytime.78 Pick the plan that works for you. Upgrade or downgrade anytime.
79 </p>79 </p>
80 </div>80 </div>
@@ -117,7 +117,7 @@ function PlansPage() { · 36 unmodified lines
117 ].join(" ")}117 ].join(" ")}
118 >118 >
119 <div className="flex items-center justify-between">119 <div className="flex items-center justify-between">
120 <p className="text-[0.9375rem] font-semibold text-foreground leading-none">120 <p className="text-base font-semibold text-foreground leading-none">
121 {plan.name}121 {plan.name}
122 </p>122 </p>
123 {isCurrent && (123 {isCurrent && (
@@ -136,14 +136,14 @@ function PlansPage() { · 12 unmodified lines
136 </Badge>136 </Badge>
137 )}137 )}
138 </div>138 </div>
139 <p className="mt-1 text-[0.75rem] text-muted-foreground/70">{meta.tagline}</p>139 <p className="mt-1 text-sm text-muted-foreground">{meta.tagline}</p>
140 140
141 <div className="mt-4 flex items-baseline gap-1.5">141 <div className="mt-4 flex items-baseline gap-1.5">
142 <span className="text-2xl font-semibold text-foreground tabular-nums">142 <span className="text-2xl font-semibold text-foreground tabular-nums">
143 ${plan.price?.amount ?? 0}143 ${plan.price?.amount ?? 0}
144 </span>144 </span>
145 {plan.price?.interval && (145 {plan.price?.interval && (
146 <span className="text-[0.75rem] text-muted-foreground/60">146 <span className="text-sm text-muted-foreground">
147 USD / seat / {plan.price.interval}147 USD / seat / {plan.price.interval}
148 </span>148 </span>
149 )}149 )}
@@ -151,7 +151,7 @@ function PlansPage() { · 1 unmodified line
151 151
152 <div className="mt-4">152 <div className="mt-4">
153 {(isCurrent && !isCanceling) || isScheduled ? (153 {(isCurrent && !isCanceling) || isScheduled ? (
154 <div className="flex h-9 items-center justify-center rounded-md border border-border bg-muted/30 text-[0.8125rem] font-medium text-muted-foreground">154 <div className="flex h-9 items-center justify-center rounded-md border border-border bg-muted/30 text-sm font-medium text-muted-foreground">
155 {isCurrent ? "Current plan" : "Scheduled"}155 {isCurrent ? "Current plan" : "Scheduled"}
156 </div>156 </div>
157 ) : isCanceling ? (157 ) : isCanceling ? (
@@ -159,7 +159,7 @@ function PlansPage() { · 1 unmodified line
159 type="button"159 type="button"
160 disabled={loadingPlan !== null}160 disabled={loadingPlan !== null}
161 onClick={() => openCustomerPortal()}161 onClick={() => openCustomerPortal()}
162 className="flex h-9 w-full items-center justify-center rounded-md bg-primary text-[0.8125rem] font-medium text-primary-foreground transition-colors hover:bg-primary/90 disabled:opacity-60"162 className="flex h-9 w-full items-center justify-center rounded-md bg-primary text-sm font-medium text-primary-foreground transition-colors hover:bg-primary/90 disabled:opacity-60"
163 >163 >
164 Resume164 Resume
165 </Button>165 </Button>
@@ -173,7 +173,7 @@ function PlansPage() { · 7 unmodified lines
173 setLoadingPlan(null);173 setLoadingPlan(null);
174 }}174 }}
175 className={[175 className={[
176 "flex h-9 w-full items-center justify-center rounded-md text-[0.8125rem] font-medium transition-colors disabled:opacity-60",176 "flex h-9 w-full items-center justify-center rounded-md text-sm font-medium transition-colors disabled:opacity-60",
177 isUpgradeAction177 isUpgradeAction
178 ? "bg-primary text-primary-foreground hover:bg-primary/90"178 ? "bg-primary text-primary-foreground hover:bg-primary/90"
179 : "border border-border bg-background text-foreground hover:bg-muted",179 : "border border-border bg-background text-foreground hover:bg-muted",
@@ -188,7 +188,7 @@ function PlansPage() { · 8 unmodified lines
188 {meta.features.map((f) => (188 {meta.features.map((f) => (
189 <li189 <li
190 key={f}190 key={f}
191 className="flex items-start gap-2 text-[0.75rem] text-muted-foreground"191 className="flex items-start gap-2 text-xs text-muted-foreground"
192 >192 >
193 <svg193 <svg
194 viewBox="0 0 16 16"194 viewBox="0 0 16 16"
apps/cloud/src/routes/org.tsx+15−15
@@ -353,7 +353,7 @@ function OrgPage() { · 352 unmodified lines
353 {member.avatarUrl ? (353 {member.avatarUrl ? (
354 <img src={member.avatarUrl} alt="" className="size-8 rounded-full" />354 <img src={member.avatarUrl} alt="" className="size-8 rounded-full" />
355 ) : (355 ) : (
356 <div className="flex size-8 items-center justify-center rounded-full bg-muted text-[0.625rem] font-semibold text-muted-foreground">356 <div className="flex size-8 items-center justify-center rounded-full bg-muted text-xs font-semibold text-muted-foreground">
357 {member.name357 {member.name
358 ? member.name358 ? member.name
359 .split(" ")359 .split(" ")
@@ -368,7 +368,7 @@ function OrgPage() { · 8 unmodified lines
368 {/* Name + email */}368 {/* Name + email */}
369 <div className="min-w-0">369 <div className="min-w-0">
370 <div className="flex items-center gap-2">370 <div className="flex items-center gap-2">
371 <p className="truncate text-[0.8125rem] font-medium text-foreground leading-none">371 <p className="truncate text-sm font-medium text-foreground leading-none">
372 {member.name ?? member.email}372 {member.name ?? member.email}
373 </p>373 </p>
374 {member.isCurrentUser && (374 {member.isCurrentUser && (
@@ -381,19 +381,19 @@ function OrgPage() { · 6 unmodified lines
381 )}381 )}
382 </div>382 </div>
383 {member.name && (383 {member.name && (
384 <p className="mt-0.5 truncate text-[0.75rem] text-muted-foreground leading-none">384 <p className="mt-0.5 truncate text-xs text-muted-foreground leading-none">
385 {member.email}385 {member.email}
386 </p>386 </p>
387 )}387 )}
388 </div>388 </div>
389 389
390 {/* Role */}390 {/* Role */}
391 <p className="text-[0.8125rem] text-muted-foreground capitalize leading-none">391 <p className="text-sm text-muted-foreground capitalize leading-none">
392 {member.role}392 {member.role}
393 </p>393 </p>
394 394
395 {/* Last active */}395 {/* Last active */}
396 <p className="text-[0.75rem] text-muted-foreground leading-none">396 <p className="text-xs text-muted-foreground leading-none">
397 {formatLastActive(member.lastActiveAt)}397 {formatLastActive(member.lastActiveAt)}
398 </p>398 </p>
399 399
@@ -417,14 +417,14 @@ function OrgPage() { · 17 unmodified lines
417 {roles.length > 0 && (417 {roles.length > 0 && (
418 <>418 <>
419 <DropdownMenuSub>419 <DropdownMenuSub>
420 <DropdownMenuSubTrigger className="text-[0.75rem]">420 <DropdownMenuSubTrigger className="text-xs">
421 Change role421 Change role
422 </DropdownMenuSubTrigger>422 </DropdownMenuSubTrigger>
423 <DropdownMenuSubContent>423 <DropdownMenuSubContent>
424 {roles.map((role) => (424 {roles.map((role) => (
425 <DropdownMenuItem425 <DropdownMenuItem
426 key={role.slug}426 key={role.slug}
427 className="text-[0.75rem]"427 className="text-xs"
428 disabled={role.slug === member.role}428 disabled={role.slug === member.role}
429 onClick={() =>429 onClick={() =>
430 handleChangeRole(member.id, role.slug, role.name)430 handleChangeRole(member.id, role.slug, role.name)
@@ -452,7 +452,7 @@ function OrgPage() { · 21 unmodified lines
452 </>452 </>
453 )}453 )}
454 <DropdownMenuItem454 <DropdownMenuItem
455 className="text-destructive focus:text-destructive text-[0.75rem]"455 className="text-destructive focus:text-destructive text-sm"
456 onClick={() => handleRemove(member.id, member.name ?? member.email)}456 onClick={() => handleRemove(member.id, member.name ?? member.email)}
457 >457 >
458 Remove member458 Remove member
@@ -539,7 +539,7 @@ function DomainCard({ · 80 unmodified lines
539 </DropdownMenuTrigger>539 </DropdownMenuTrigger>
540 <DropdownMenuContent align="end" className="w-44">540 <DropdownMenuContent align="end" className="w-44">
541 <DropdownMenuItem541 <DropdownMenuItem
542 className="text-destructive focus:text-destructive text-[0.75rem]"542 className="text-destructive focus:text-destructive text-sm"
543 onClick={onDelete}543 onClick={onDelete}
544 >544 >
545 Remove domain545 Remove domain
@@ -618,7 +618,7 @@ function InviteDialog(props: { · 72 unmodified lines
618 <DialogContent className="sm:max-w-[400px]">618 <DialogContent className="sm:max-w-[400px]">
619 <DialogHeader>619 <DialogHeader>
620 <DialogTitle className="font-display text-xl">Invite member</DialogTitle>620 <DialogTitle className="font-display text-xl">Invite member</DialogTitle>
621 <DialogDescription className="text-[0.8125rem] leading-relaxed">621 <DialogDescription className="text-sm leading-relaxed">
622 Send an email invitation to join your organization.622 Send an email invitation to join your organization.
623 </DialogDescription>623 </DialogDescription>
624 </DialogHeader>624 </DialogHeader>
@@ -627,7 +627,7 @@ function InviteDialog(props: { · 2 unmodified lines
627 <div className="grid gap-1.5">627 <div className="grid gap-1.5">
628 <Label628 <Label
629 htmlFor="invite-email"629 htmlFor="invite-email"
630 className="text-[0.6875rem] font-medium uppercase tracking-wider text-muted-foreground"630 className="text-sm font-medium uppercase tracking-wider text-muted-foreground"
631 >631 >
632 Email632 Email
633 </Label>633 </Label>
@@ -642,7 +642,7 @@ function InviteDialog(props: { · 8 unmodified lines
642 onKeyDown={(e) => {642 onKeyDown={(e) => {
643 if (e.key === "Enter") handleInvite();643 if (e.key === "Enter") handleInvite();
644 }}644 }}
645 className="text-[0.8125rem] h-9"645 className="text-sm h-9"
646 />646 />
647 </div>647 </div>
648 648
@@ -650,7 +650,7 @@ function InviteDialog(props: { · 1 unmodified line
650 <div className="grid gap-1.5">650 <div className="grid gap-1.5">
651 <Label651 <Label
652 htmlFor="invite-role"652 htmlFor="invite-role"
653 className="text-[0.6875rem] font-medium uppercase tracking-wider text-muted-foreground"653 className="text-sm font-medium uppercase tracking-wider text-muted-foreground"
654 >654 >
655 Role655 Role
656 </Label>656 </Label>
@@ -658,7 +658,7 @@ function InviteDialog(props: { · 1 unmodified line
658 value={state.roleSlug}658 value={state.roleSlug}
659 onValueChange={(v) => dispatch({ type: "setRole", roleSlug: v })}659 onValueChange={(v) => dispatch({ type: "setRole", roleSlug: v })}
660 >660 >
661 <SelectTrigger id="invite-role" className="h-9 text-[0.8125rem]">661 <SelectTrigger id="invite-role" className="h-9 text-sm">
662 <SelectValue placeholder="Select a role" />662 <SelectValue placeholder="Select a role" />
663 </SelectTrigger>663 </SelectTrigger>
664 <SelectContent>664 <SelectContent>
@@ -674,7 +674,7 @@ function InviteDialog(props: { · 9 unmodified lines
674 674
675 {state.status === "error" && state.error && (675 {state.status === "error" && state.error && (
676 <div className="rounded-lg border border-destructive/30 bg-destructive/5 px-3 py-2">676 <div className="rounded-lg border border-destructive/30 bg-destructive/5 px-3 py-2">
677 <p className="text-[0.75rem] text-destructive">{state.error}</p>677 <p className="text-sm text-destructive">{state.error}</p>
678 </div>678 </div>
679 )}679 )}
680 </div>680 </div>
apps/cloud/src/web/shell.tsx+11−11
@@ -28,7 +28,7 @@ function NavItem(props: { to: string; label: string; active: boolean; onNavigate · 27 unmodified lines
28 to={props.to}28 to={props.to}
29 onClick={props.onNavigate}29 onClick={props.onNavigate}
30 className={[30 className={[
31 "flex items-center gap-2.5 rounded-md px-2.5 py-1.5 text-[13px] transition-colors",31 "flex items-center gap-2.5 rounded-md px-2.5 py-1.5 text-sm transition-colors",
32 props.active32 props.active
33 ? "bg-sidebar-active text-foreground font-medium"33 ? "bg-sidebar-active text-foreground font-medium"
34 : "text-sidebar-foreground hover:bg-sidebar-active/60 hover:text-foreground",34 : "text-sidebar-foreground hover:bg-sidebar-active/60 hover:text-foreground",
@@ -47,14 +47,14 @@ function SourceList(props: { pathname: string; onNavigate?: () => void }) { · 12 unmodified lines
47 47
48 return Result.match(sources, {48 return Result.match(sources, {
49 onInitial: () => (49 onInitial: () => (
50 <div className="px-2.5 py-2 text-[11px] text-muted-foreground/40">Loading…</div>50 <div className="px-2.5 py-2 text-xs text-muted-foreground">Loading…</div>
51 ),51 ),
52 onFailure: () => (52 onFailure: () => (
53 <div className="px-2.5 py-2 text-[11px] text-muted-foreground/40">No sources yet</div>53 <div className="px-2.5 py-2 text-xs text-muted-foreground">No sources yet</div>
54 ),54 ),
55 onSuccess: ({ value }) =>55 onSuccess: ({ value }) =>
56 value.length === 0 ? (56 value.length === 0 ? (
57 <div className="px-2.5 py-2 text-[11px] leading-relaxed text-muted-foreground/40">57 <div className="px-2.5 py-2 text-sm leading-relaxed text-muted-foreground">
58 No sources yet58 No sources yet
59 </div>59 </div>
60 ) : (60 ) : (
@@ -70,7 +70,7 @@ function SourceList(props: { pathname: string; onNavigate?: () => void }) { · 9 unmodified lines
70 params={{ namespace: s.id }}70 params={{ namespace: s.id }}
71 onClick={props.onNavigate}71 onClick={props.onNavigate}
72 className={[72 className={[
73 "group flex items-center gap-2 rounded-md px-2.5 py-1.5 text-[13px] transition-colors",73 "group flex items-center gap-2 rounded-md px-2.5 py-1.5 text-xs transition-colors",
74 active74 active
75 ? "bg-sidebar-active text-foreground font-medium"75 ? "bg-sidebar-active text-foreground font-medium"
76 : "text-sidebar-foreground hover:bg-sidebar-active/60 hover:text-foreground",76 : "text-sidebar-foreground hover:bg-sidebar-active/60 hover:text-foreground",
@@ -78,7 +78,7 @@ function SourceList(props: { pathname: string; onNavigate?: () => void }) { · 1 unmodified line
78 >78 >
79 <SourceFavicon url={s.url} />79 <SourceFavicon url={s.url} />
80 <span className="flex-1 truncate">{s.name}</span>80 <span className="flex-1 truncate">{s.name}</span>
81 <span className="rounded bg-secondary/50 px-1 py-px text-[9px] font-medium text-muted-foreground/50">81 <span className="rounded bg-secondary/50 px-1 py-px text-xs font-medium text-muted-foreground">
82 {s.kind}82 {s.kind}
83 </span>83 </span>
84 </Link>84 </Link>
@@ -110,16 +110,16 @@ function UserFooter() { · 25 unmodified lines
110 {auth.user.avatarUrl ? (110 {auth.user.avatarUrl ? (
111 <img src={auth.user.avatarUrl} alt="" className="size-7 shrink-0 rounded-full" />111 <img src={auth.user.avatarUrl} alt="" className="size-7 shrink-0 rounded-full" />
112 ) : (112 ) : (
113 <div className="flex size-7 shrink-0 items-center justify-center rounded-full bg-primary/10 text-[10px] font-semibold text-primary">113 <div className="flex size-7 shrink-0 items-center justify-center rounded-full bg-primary/10 text-xs font-semibold text-primary">
114 {initials}114 {initials}
115 </div>115 </div>
116 )}116 )}
117 <div className="min-w-0 flex-1">117 <div className="min-w-0 flex-1">
118 <p className="truncate text-[12px] font-medium text-foreground">118 <p className="truncate text-xs font-medium text-foreground">
119 {auth.user.name ?? auth.user.email}119 {auth.user.name ?? auth.user.email}
120 </p>120 </p>
121 {auth.organization && (121 {auth.organization && (
122 <p className="truncate text-[10px] text-muted-foreground">{auth.organization.name}</p>122 <p className="truncate text-xs text-muted-foreground">{auth.organization.name}</p>
123 )}123 )}
124 </div>124 </div>
125 <form action={AUTH_PATHS.logout} method="post">125 <form action={AUTH_PATHS.logout} method="post">
@@ -127,7 +127,7 @@ function UserFooter() { · 1 unmodified line
127 variant="ghost"127 variant="ghost"
128 size="icon-xs"128 size="icon-xs"
129 type="submit"129 type="submit"
130 className="shrink-0 text-muted-foreground/50 hover:bg-sidebar-active hover:text-foreground"130 className="shrink-0 text-muted-foreground hover:bg-sidebar-active hover:text-foreground"
131 title="Sign out"131 title="Sign out"
132 >132 >
133 <svg viewBox="0 0 16 16" fill="none" className="size-3.5">133 <svg viewBox="0 0 16 16" fill="none" className="size-3.5">
@@ -170,7 +170,7 @@ function SidebarContent(props: { pathname: string; onNavigate?: () => void; show · 36 unmodified lines
170 <NavItem to="/org" label="Organization" active={isOrg} onNavigate={props.onNavigate} />170 <NavItem to="/org" label="Organization" active={isOrg} onNavigate={props.onNavigate} />
171 <NavItem to="/billing" label="Billing" active={isBilling} onNavigate={props.onNavigate} />171 <NavItem to="/billing" label="Billing" active={isBilling} onNavigate={props.onNavigate} />
172 172
173 <div className="mt-5 mb-1 px-2.5 text-[10px] font-medium uppercase tracking-widest text-muted-foreground/50">173 <div className="mt-5 mb-1 px-2.5 text-xs font-medium uppercase tracking-widest text-muted-foreground">
174 <span>Sources</span>174 <span>Sources</span>
175 </div>175 </div>
176 176
apps/local/src/web/shell.tsx+16−16
@@ -152,8 +152,8 @@ function UpdateCard(props: { latestVersion: string; channel: UpdateChannel }) { · 151 unmodified lines
152 </svg>152 </svg>
153 </div>153 </div>
154 <div className="min-w-0">154 <div className="min-w-0">
155 <p className="text-[11px] font-semibold text-foreground">Update available</p>155 <p className="text-xs font-semibold text-foreground">Update available</p>
156 <p className="text-[10px] text-muted-foreground">v{props.latestVersion}</p>156 <p className="text-sm text-muted-foreground">v{props.latestVersion}</p>
157 </div>157 </div>
158 </div>158 </div>
159 <Button159 <Button
@@ -162,7 +162,7 @@ function UpdateCard(props: { latestVersion: string; channel: UpdateChannel }) { · 2 unmodified lines
162 onClick={handleCopy}162 onClick={handleCopy}
163 className="mt-2.5 flex w-full items-center justify-between gap-2 rounded-lg border-border/60 bg-background/50 px-2.5 py-1.5 text-left hover:bg-background/80"163 className="mt-2.5 flex w-full items-center justify-between gap-2 rounded-lg border-border/60 bg-background/50 px-2.5 py-1.5 text-left hover:bg-background/80"
164 >164 >
165 <code className="truncate font-mono text-[10px] text-sidebar-foreground">{command}</code>165 <code className="truncate font-mono text-xs text-sidebar-foreground">{command}</code>
166 <span className="shrink-0 text-muted-foreground transition-colors group-hover:text-foreground">166 <span className="shrink-0 text-muted-foreground transition-colors group-hover:text-foreground">
167 {copied ? (167 {copied ? (
168 <svg viewBox="0 0 16 16" fill="none" className="size-3 text-primary">168 <svg viewBox="0 0 16 16" fill="none" className="size-3 text-primary">
@@ -207,7 +207,7 @@ function NavItem(props: { to: string; label: string; active: boolean; onNavigate · 38 unmodified lines
207 to={props.to}207 to={props.to}
208 onClick={props.onNavigate}208 onClick={props.onNavigate}
209 className={[209 className={[
210 "flex items-center gap-2.5 rounded-md px-2.5 py-1.5 text-[13px] transition-colors",210 "flex items-center gap-2.5 rounded-md px-2.5 py-1.5 text-sm transition-colors",
211 props.active211 props.active
212 ? "bg-sidebar-active text-foreground font-medium"212 ? "bg-sidebar-active text-foreground font-medium"
213 : "text-sidebar-foreground hover:bg-sidebar-active/60 hover:text-foreground",213 : "text-sidebar-foreground hover:bg-sidebar-active/60 hover:text-foreground",
@@ -226,14 +226,14 @@ function SourceList(props: { pathname: string; onNavigate?: () => void }) { · 12 unmodified lines
226 226
227 return Result.match(sources, {227 return Result.match(sources, {
228 onInitial: () => (228 onInitial: () => (
229 <div className="px-2.5 py-2 text-[11px] text-muted-foreground/40">Loading…</div>229 <div className="px-2.5 py-2 text-xs text-muted-foreground">Loading…</div>
230 ),230 ),
231 onFailure: () => (231 onFailure: () => (
232 <div className="px-2.5 py-2 text-[11px] text-muted-foreground/40">No sources yet</div>232 <div className="px-2.5 py-2 text-xs text-muted-foreground">No sources yet</div>
233 ),233 ),
234 onSuccess: ({ value }) =>234 onSuccess: ({ value }) =>
235 value.length === 0 ? (235 value.length === 0 ? (
236 <div className="px-2.5 py-2 text-[11px] leading-relaxed text-muted-foreground/40">236 <div className="px-2.5 py-2 text-sm leading-relaxed text-muted-foreground">
237 No sources yet237 No sources yet
238 </div>238 </div>
239 ) : (239 ) : (
@@ -249,7 +249,7 @@ function SourceList(props: { pathname: string; onNavigate?: () => void }) { · 9 unmodified lines
249 params={{ namespace: s.id }}249 params={{ namespace: s.id }}
250 onClick={props.onNavigate}250 onClick={props.onNavigate}
251 className={[251 className={[
252 "group flex items-center gap-2 rounded-md px-2.5 py-1.5 text-[13px] transition-colors",252 "group flex items-center gap-2 rounded-md px-2.5 py-1.5 text-xs transition-colors",
253 active253 active
254 ? "bg-sidebar-active text-foreground font-medium"254 ? "bg-sidebar-active text-foreground font-medium"
255 : "text-sidebar-foreground hover:bg-sidebar-active/60 hover:text-foreground",255 : "text-sidebar-foreground hover:bg-sidebar-active/60 hover:text-foreground",
@@ -257,7 +257,7 @@ function SourceList(props: { pathname: string; onNavigate?: () => void }) { · 1 unmodified line
257 >257 >
258 <SourceFavicon url={s.url} />258 <SourceFavicon url={s.url} />
259 <span className="flex-1 truncate">{s.name}</span>259 <span className="flex-1 truncate">{s.name}</span>
260 <span className="rounded bg-secondary/50 px-1 py-px text-[9px] font-medium text-muted-foreground/50">260 <span className="rounded bg-secondary/50 px-1 py-px text-xs font-medium text-muted-foreground">
261 {s.kind}261 {s.kind}
262 </span>262 </span>
263 </Link>263 </Link>
@@ -278,14 +278,14 @@ function ScopeLabel() { · 14 unmodified lines
278 278
279 return (279 return (
280 <div className="mb-1.5 flex items-center gap-1.5 rounded-md px-2.5 py-1.5" title={name}>280 <div className="mb-1.5 flex items-center gap-1.5 rounded-md px-2.5 py-1.5" title={name}>
281 <svg viewBox="0 0 16 16" fill="none" className="size-3.5 shrink-0 text-muted-foreground/50">281 <svg viewBox="0 0 16 16" fill="none" className="size-3.5 shrink-0 text-muted-foreground">
282 <path282 <path
283 d="M2 4.5C2 3.67 2.67 3 3.5 3h3.09a1 1 0 0 1 .7.29l1.42 1.42a1 1 0 0 0 .7.29H12.5c.83 0 1.5.67 1.5 1.5v5.5c0 .83-.67 1.5-1.5 1.5h-9A1.5 1.5 0 0 1 2 12V4.5z"283 d="M2 4.5C2 3.67 2.67 3 3.5 3h3.09a1 1 0 0 1 .7.29l1.42 1.42a1 1 0 0 0 .7.29H12.5c.83 0 1.5.67 1.5 1.5v5.5c0 .83-.67 1.5-1.5 1.5h-9A1.5 1.5 0 0 1 2 12V4.5z"
284 stroke="currentColor"284 stroke="currentColor"
285 strokeWidth="1.2"285 strokeWidth="1.2"
286 />286 />
287 </svg>287 </svg>
288 <span className="truncate text-[12px] font-medium text-foreground/80">{folder}</span>288 <span className="truncate text-xs font-medium text-foreground/80">{folder}</span>
289 </div>289 </div>
290 );290 );
291}291}
@@ -319,7 +319,7 @@ function SidebarContent(props: { · 27 unmodified lines
319 <NavItem to="/secrets" label="Secrets" active={isSecrets} onNavigate={props.onNavigate} />319 <NavItem to="/secrets" label="Secrets" active={isSecrets} onNavigate={props.onNavigate} />
320 320
321 {/* Sources list */}321 {/* Sources list */}
322 <div className="mt-5 mb-1 px-2.5 text-[10px] font-medium uppercase tracking-widest text-muted-foreground/50">322 <div className="mt-5 mb-1 px-2.5 text-xs font-medium uppercase tracking-widest text-muted-foreground">
323 <span>Sources</span>323 <span>Sources</span>
324 </div>324 </div>
325 325
@@ -332,12 +332,12 @@ function SidebarContent(props: { · 6 unmodified lines
332 332
333 {/* Footer */}333 {/* Footer */}
334 <div className="shrink-0 border-t border-sidebar-border px-4 py-2.5">334 <div className="shrink-0 border-t border-sidebar-border px-4 py-2.5">
335 <div className="flex flex-col gap-1.5 text-[11px] leading-none">335 <div className="flex flex-col gap-1.5 text-xs leading-none">
336 <a336 <a
337 href={`${VITE_GITHUB_URL}/issues`}337 href={`${VITE_GITHUB_URL}/issues`}
338 target="_blank"338 target="_blank"
339 rel="noreferrer"339 rel="noreferrer"
340 className="text-muted-foreground/70 transition-colors hover:text-foreground"340 className="text-muted-foreground transition-colors hover:text-foreground"
341 >341 >
342 Feedback / bug?342 Feedback / bug?
343 </a>343 </a>
@@ -345,11 +345,11 @@ function SidebarContent(props: { · 1 unmodified line
345 href={VITE_GITHUB_URL}345 href={VITE_GITHUB_URL}
346 target="_blank"346 target="_blank"
347 rel="noreferrer"347 rel="noreferrer"
348 className="text-muted-foreground/70 transition-colors hover:text-foreground"348 className="text-muted-foreground transition-colors hover:text-foreground"
349 >349 >
350 Star on GitHub350 Star on GitHub
351 </a>351 </a>
352 <span className="mt-0.5 text-[10px] text-muted-foreground/50 tabular-nums">352 <span className="mt-0.5 text-xs text-muted-foreground tabular-nums">
353 v{VITE_APP_VERSION}353 v{VITE_APP_VERSION}
354 </span>354 </span>
355 </div>355 </div>
packages/plugins/google-discovery/src/react/AddGoogleDiscoverySource.tsx+15−15
@@ -61,40 +61,40 @@ function InlineCreateSecret(props: { · 60 unmodified lines
61 61
62 return (62 return (
63 <div className="rounded-lg border border-primary/20 bg-primary/[0.02] p-3 space-y-2.5">63 <div className="rounded-lg border border-primary/20 bg-primary/[0.02] p-3 space-y-2.5">
64 <p className="text-[11px] font-semibold text-primary tracking-wide uppercase">New secret</p>64 <p className="text-xs font-semibold text-primary tracking-wide uppercase">New secret</p>
65 <div className="grid grid-cols-2 gap-2">65 <div className="grid grid-cols-2 gap-2">
66 <div className="space-y-1">66 <div className="space-y-1">
67 <Label className="text-[10px] uppercase tracking-wider text-muted-foreground">ID</Label>67 <Label className="text-xs uppercase tracking-wider text-muted-foreground">ID</Label>
68 <Input68 <Input
69 value={secretId}69 value={secretId}
70 onChange={(e) => setSecretIdValue((e.target as HTMLInputElement).value)}70 onChange={(e) => setSecretIdValue((e.target as HTMLInputElement).value)}
71 placeholder="google-client-secret"71 placeholder="google-client-secret"
72 className="h-8 text-xs font-mono"72 className="h-8 text-sm font-mono"
73 />73 />
74 </div>74 </div>
75 <div className="space-y-1">75 <div className="space-y-1">
76 <Label className="text-[10px] uppercase tracking-wider text-muted-foreground">76 <Label className="text-xs uppercase tracking-wider text-muted-foreground">
77 Label77 Label
78 </Label>78 </Label>
79 <Input79 <Input
80 value={secretName}80 value={secretName}
81 onChange={(e) => setSecretName((e.target as HTMLInputElement).value)}81 onChange={(e) => setSecretName((e.target as HTMLInputElement).value)}
82 placeholder="Client Secret"82 placeholder="Client Secret"
83 className="h-8 text-xs"83 className="h-8 text-sm"
84 />84 />
85 </div>85 </div>
86 </div>86 </div>
87 <div className="space-y-1">87 <div className="space-y-1">
88 <Label className="text-[10px] uppercase tracking-wider text-muted-foreground">Value</Label>88 <Label className="text-xs uppercase tracking-wider text-muted-foreground">Value</Label>
89 <Input89 <Input
90 type="password"90 type="password"
91 value={secretValue}91 value={secretValue}
92 onChange={(e) => setSecretValue((e.target as HTMLInputElement).value)}92 onChange={(e) => setSecretValue((e.target as HTMLInputElement).value)}
93 placeholder="paste your client secret…"93 placeholder="paste your client secret…"
94 className="h-8 text-xs font-mono"94 className="h-8 text-sm font-mono"
95 />95 />
96 </div>96 </div>
97 {error && <p className="text-[11px] text-destructive">{error}</p>}97 {error && <p className="text-sm text-destructive">{error}</p>}
98 <div className="flex gap-1.5 pt-0.5">98 <div className="flex gap-1.5 pt-0.5">
99 <Button variant="outline" size="xs" onClick={props.onCancel}>99 <Button variant="outline" size="xs" onClick={props.onCancel}>
100 Cancel100 Cancel
@@ -582,7 +582,7 @@ export default function AddGoogleDiscoverySource(props: { · 481 unmodified lines
582 <div className="space-y-6">582 <div className="space-y-6">
583 <div>583 <div>
584 <h1 className="text-xl font-semibold text-foreground">Add Google Discovery Source</h1>584 <h1 className="text-xl font-semibold text-foreground">Add Google Discovery Source</h1>
585 <p className="mt-1 text-[13px] text-muted-foreground">585 <p className="mt-1 text-sm text-muted-foreground">
586 Connect a Google API from its Discovery document and register its methods as tools.586 Connect a Google API from its Discovery document and register its methods as tools.
587 </p>587 </p>
588 </div>588 </div>
@@ -590,7 +590,7 @@ export default function AddGoogleDiscoverySource(props: { · 1 unmodified line
590 <section className="space-y-2">590 <section className="space-y-2">
591 <div className="flex items-center justify-between gap-3">591 <div className="flex items-center justify-between gap-3">
592 <Label>Presets</Label>592 <Label>Presets</Label>
593 <span className="text-xs text-muted-foreground">593 <span className="text-sm text-muted-foreground">
594 Select a Google API to prefill the source.594 Select a Google API to prefill the source.
595 </span>595 </span>
596 </div>596 </div>
@@ -620,11 +620,11 @@ export default function AddGoogleDiscoverySource(props: { · 23 unmodified lines
620 </div>620 </div>
621 <div className="min-w-0">621 <div className="min-w-0">
622 <p className="text-sm font-semibold text-foreground">{template.name}</p>622 <p className="text-sm font-semibold text-foreground">{template.name}</p>
623 <p className="mt-1 text-xs text-muted-foreground">{template.summary}</p>623 <p className="mt-1 text-sm text-muted-foreground">{template.summary}</p>
624 </div>624 </div>
625 </div>625 </div>
626 <div className="mt-3 flex items-center justify-between gap-3">626 <div className="mt-3 flex items-center justify-between gap-3">
627 <p className="text-[11px] font-mono text-muted-foreground">627 <p className="text-xs font-mono text-muted-foreground">
628 {template.service} · {template.version}628 {template.service} · {template.version}
629 </p>629 </p>
630 <div className="h-px flex-1 bg-border/70" />630 <div className="h-px flex-1 bg-border/70" />
@@ -680,7 +680,7 @@ export default function AddGoogleDiscoverySource(props: { · 49 unmodified lines
680 </div>680 </div>
681 <div>681 <div>
682 <p className="text-sm font-semibold text-foreground">{probe.title ?? probe.name}</p>682 <p className="text-sm font-semibold text-foreground">{probe.title ?? probe.name}</p>
683 <p className="mt-1 text-xs text-muted-foreground">683 <p className="mt-1 text-sm text-muted-foreground">
684 {probe.service} · {probe.version}684 {probe.service} · {probe.version}
685 </p>685 </p>
686 </div>686 </div>
@@ -731,7 +731,7 @@ export default function AddGoogleDiscoverySource(props: { · 44 unmodified lines
731 <Collapsible open={showScopes} onOpenChange={setShowScopes} className="space-y-2">731 <Collapsible open={showScopes} onOpenChange={setShowScopes} className="space-y-2">
732 <div className="flex items-start justify-between gap-3">732 <div className="flex items-start justify-between gap-3">
733 <div className="min-w-0 space-y-1">733 <div className="min-w-0 space-y-1">
734 <p className="text-xs text-muted-foreground">734 <p className="text-sm text-muted-foreground">
735 {canUseOAuth735 {canUseOAuth
736 ? `${probe?.scopes.length ?? 0} scopes will be requested from Google.`736 ? `${probe?.scopes.length ?? 0} scopes will be requested from Google.`
737 : "This API does not advertise OAuth scopes."}737 : "This API does not advertise OAuth scopes."}
@@ -782,7 +782,7 @@ export default function AddGoogleDiscoverySource(props: { · 44 unmodified lines
782 {(probe?.scopes ?? []).map((scope) => (782 {(probe?.scopes ?? []).map((scope) => (
783 <li783 <li
784 key={scope}784 key={scope}
785 className="break-all font-mono text-[11px] text-muted-foreground"785 className="break-all font-mono text-xs text-muted-foreground"
786 >786 >
787 {scope}787 {scope}
788 </li>788 </li>
packages/plugins/google-discovery/src/react/EditGoogleDiscoverySource.tsx+5−5
@@ -23,7 +23,7 @@ export default function EditGoogleDiscoverySource({ · 22 unmodified lines
23 <div className="space-y-6">23 <div className="space-y-6">
24 <div>24 <div>
25 <h1 className="text-xl font-semibold text-foreground">Edit Google Discovery Source</h1>25 <h1 className="text-xl font-semibold text-foreground">Edit Google Discovery Source</h1>
26 <p className="mt-1 text-[13px] text-muted-foreground">26 <p className="mt-1 text-sm text-muted-foreground">
27 View configuration for this Google API source. To change authentication, remove and re-add27 View configuration for this Google API source. To change authentication, remove and re-add
28 the source with updated OAuth credentials.28 the source with updated OAuth credentials.
29 </p>29 </p>
@@ -40,7 +40,7 @@ export default function EditGoogleDiscoverySource({ · 10 unmodified lines
40 </p>40 </p>
41 )}41 )}
42 </div>42 </div>
43 <Badge variant="secondary" className="text-[10px]">43 <Badge variant="secondary" className="text-xs">
44 Google Discovery44 Google Discovery
45 </Badge>45 </Badge>
46 </div>46 </div>
@@ -49,13 +49,13 @@ export default function EditGoogleDiscoverySource({ · 2 unmodified lines
49 <div className="space-y-3">49 <div className="space-y-3">
50 <div className="grid grid-cols-2 gap-3 text-sm">50 <div className="grid grid-cols-2 gap-3 text-sm">
51 <div className="rounded-lg border border-border bg-card/50 p-3">51 <div className="rounded-lg border border-border bg-card/50 p-3">
52 <p className="text-[10px] uppercase tracking-wider text-muted-foreground mb-1">52 <p className="text-xs uppercase tracking-wider text-muted-foreground mb-1">
53 Service53 Service
54 </p>54 </p>
55 <p className="text-sm font-medium text-foreground">{config.service}</p>55 <p className="text-sm font-medium text-foreground">{config.service}</p>
56 </div>56 </div>
57 <div className="rounded-lg border border-border bg-card/50 p-3">57 <div className="rounded-lg border border-border bg-card/50 p-3">
58 <p className="text-[10px] uppercase tracking-wider text-muted-foreground mb-1">58 <p className="text-xs uppercase tracking-wider text-muted-foreground mb-1">
59 Version59 Version
60 </p>60 </p>
61 <p className="text-sm font-medium text-foreground">{config.version}</p>61 <p className="text-sm font-medium text-foreground">{config.version}</p>
@@ -63,7 +63,7 @@ export default function EditGoogleDiscoverySource({ · 1 unmodified line
63 </div>63 </div>
64 64
65 <div className="rounded-lg border border-border bg-card/50 p-3">65 <div className="rounded-lg border border-border bg-card/50 p-3">
66 <p className="text-[10px] uppercase tracking-wider text-muted-foreground mb-1">66 <p className="text-xs uppercase tracking-wider text-muted-foreground mb-1">
67 Authentication67 Authentication
68 </p>68 </p>
69 <p className="text-sm font-medium text-foreground capitalize">69 <p className="text-sm font-medium text-foreground capitalize">
packages/plugins/google-discovery/src/react/GoogleDiscoverySourceSummary.tsx+2−2
@@ -3,10 +3,10 @@ import { Badge } from "@executor/react/components/badge"; · 2 unmodified lines
3export default function GoogleDiscoverySourceSummary({ sourceId }: { readonly sourceId: string }) {3export default function GoogleDiscoverySourceSummary({ sourceId }: { readonly sourceId: string }) {
4 return (4 return (
5 <span className="inline-flex items-center gap-1.5">5 <span className="inline-flex items-center gap-1.5">
6 <Badge variant="secondary" className="text-[10px]">6 <Badge variant="secondary" className="text-xs">
7 Google7 Google
8 </Badge>8 </Badge>
9 <span className="text-xs text-muted-foreground">{sourceId}</span>9 <span className="text-sm text-muted-foreground">{sourceId}</span>
10 </span>10 </span>
11 );11 );
12}12}
packages/plugins/graphql/src/react/AddGraphqlSource.tsx+4−4
@@ -106,7 +106,7 @@ export default function AddGraphqlSource(props: { · 105 unmodified lines
106 placeholder="https://api.example.com/graphql"106 placeholder="https://api.example.com/graphql"
107 className="font-mono text-sm"107 className="font-mono text-sm"
108 />108 />
109 <p className="text-[12px] text-muted-foreground">109 <p className="text-sm text-muted-foreground">
110 The endpoint will be introspected to discover available queries and mutations.110 The endpoint will be introspected to discover available queries and mutations.
111 </p>111 </p>
112 </section>112 </section>
@@ -122,7 +122,7 @@ export default function AddGraphqlSource(props: { · 9 unmodified lines
122 placeholder="my_api"122 placeholder="my_api"
123 className="font-mono text-sm"123 className="font-mono text-sm"
124 />124 />
125 <p className="text-[12px] text-muted-foreground">125 <p className="text-sm text-muted-foreground">
126 A prefix for the tool names. Derived from the endpoint hostname if not provided.126 A prefix for the tool names. Derived from the endpoint hostname if not provided.
127 </p>127 </p>
128 </section>128 </section>
@@ -134,7 +134,7 @@ export default function AddGraphqlSource(props: { · 5 unmodified lines
134 <Label>134 <Label>
135 Authentication <span className="text-muted-foreground font-normal">(optional)</span>135 Authentication <span className="text-muted-foreground font-normal">(optional)</span>
136 </Label>136 </Label>
137 <p className="mt-1 text-[12px] text-muted-foreground">137 <p className="mt-1 text-sm text-muted-foreground">
138 Secret-backed headers sent with every request, including introspection.138 Secret-backed headers sent with every request, including introspection.
139 </p>139 </p>
140 </div>140 </div>
@@ -171,7 +171,7 @@ export default function AddGraphqlSource(props: { · 30 unmodified lines
171 {/* Error */}171 {/* Error */}
172 {addError && (172 {addError && (
173 <div className="rounded-lg border border-destructive/30 bg-destructive/5 px-3 py-2">173 <div className="rounded-lg border border-destructive/30 bg-destructive/5 px-3 py-2">
174 <p className="text-[12px] text-destructive">{addError}</p>174 <p className="text-sm text-destructive">{addError}</p>
175 </div>175 </div>
176 )}176 )}
177 177
packages/plugins/graphql/src/react/EditGraphqlSource.tsx+4−4
@@ -69,7 +69,7 @@ function EditForm(props: { · 68 unmodified lines
69 <div className="space-y-6">69 <div className="space-y-6">
70 <div>70 <div>
71 <h1 className="text-xl font-semibold text-foreground">Edit GraphQL Source</h1>71 <h1 className="text-xl font-semibold text-foreground">Edit GraphQL Source</h1>
72 <p className="mt-1 text-[13px] text-muted-foreground">72 <p className="mt-1 text-sm text-muted-foreground">
73 Update the endpoint and authentication headers for this source.73 Update the endpoint and authentication headers for this source.
74 </p>74 </p>
75 </div>75 </div>
@@ -78,7 +78,7 @@ function EditForm(props: { · 2 unmodified lines
78 <div className="min-w-0 flex-1">78 <div className="min-w-0 flex-1">
79 <p className="truncate text-sm font-semibold text-card-foreground">{props.sourceId}</p>79 <p className="truncate text-sm font-semibold text-card-foreground">{props.sourceId}</p>
80 </div>80 </div>
81 <Badge variant="secondary" className="text-[10px]">81 <Badge variant="secondary" className="text-xs">
82 GraphQL82 GraphQL
83 </Badge>83 </Badge>
84 </div>84 </div>
@@ -129,7 +129,7 @@ function EditForm(props: { · 44 unmodified lines
129 129
130 {error && (130 {error && (
131 <div className="rounded-lg border border-destructive/30 bg-destructive/5 px-3 py-2">131 <div className="rounded-lg border border-destructive/30 bg-destructive/5 px-3 py-2">
132 <p className="text-[12px] text-destructive">{error}</p>132 <p className="text-sm text-destructive">{error}</p>
133 </div>133 </div>
134 )}134 )}
135 135
@@ -158,7 +158,7 @@ export default function EditGraphqlSource(props: { sourceId: string; onSave: () · 22 unmodified lines
158 <div className="space-y-6">158 <div className="space-y-6">
159 <div>159 <div>
160 <h1 className="text-xl font-semibold text-foreground">Edit GraphQL Source</h1>160 <h1 className="text-xl font-semibold text-foreground">Edit GraphQL Source</h1>
161 <p className="mt-1 text-[13px] text-muted-foreground">Loading configuration…</p>161 <p className="mt-1 text-sm text-muted-foreground">Loading configuration…</p>
162 </div>162 </div>
163 </div>163 </div>
164 );164 );
packages/plugins/mcp/src/react/AddMcpSource.tsx+21−21
@@ -487,7 +487,7 @@ export default function AddMcpSource(props: { · 486 unmodified lines
487 <div className="space-y-6">487 <div className="space-y-6">
488 <div>488 <div>
489 <h1 className="text-xl font-semibold text-foreground">Add MCP Source</h1>489 <h1 className="text-xl font-semibold text-foreground">Add MCP Source</h1>
490 <p className="mt-1 text-[13px] text-muted-foreground">490 <p className="mt-1 text-sm text-muted-foreground">
491 Connect to an MCP server to discover and use its tools.491 Connect to an MCP server to discover and use its tools.
492 </p>492 </p>
493 </div>493 </div>
@@ -550,7 +550,7 @@ export default function AddMcpSource(props: { · 56 unmodified lines
550 </Button>550 </Button>
551 )}551 )}
552 </div>552 </div>
553 <p className="text-[12px] text-muted-foreground">553 <p className="text-sm text-muted-foreground">
554 Supports Streamable HTTP and SSE transports.554 Supports Streamable HTTP and SSE transports.
555 </p>555 </p>
556 </section>556 </section>
@@ -581,7 +581,7 @@ export default function AddMcpSource(props: { · 24 unmodified lines
581 <p className="truncate text-sm font-semibold text-card-foreground leading-none">581 <p className="truncate text-sm font-semibold text-card-foreground leading-none">
582 {probe.serverName ?? probe.name}582 {probe.serverName ?? probe.name}
583 </p>583 </p>
584 <p className="mt-1 text-[12px] text-muted-foreground leading-none">584 <p className="mt-1 text-xs text-muted-foreground leading-none">
585 {probe.connected585 {probe.connected
586 ? `${probe.toolCount} tool${probe.toolCount !== 1 ? "s" : ""} available`586 ? `${probe.toolCount} tool${probe.toolCount !== 1 ? "s" : ""} available`
587 : "OAuth required to discover tools"}587 : "OAuth required to discover tools"}
@@ -590,14 +590,14 @@ export default function AddMcpSource(props: { · 2 unmodified lines
590 {probe.connected ? (590 {probe.connected ? (
591 <Badge591 <Badge
592 variant="outline"592 variant="outline"
593 className="border-emerald-500/20 bg-emerald-500/10 text-[10px] text-emerald-600 dark:text-emerald-400"593 className="border-emerald-500/20 bg-emerald-500/10 text-xs text-emerald-600 dark:text-emerald-400"
594 >594 >
595 Connected595 Connected
596 </Badge>596 </Badge>
597 ) : (597 ) : (
598 <Badge598 <Badge
599 variant="outline"599 variant="outline"
600 className="border-amber-500/20 bg-amber-500/10 text-[10px] text-amber-600 dark:text-amber-400"600 className="border-amber-500/20 bg-amber-500/10 text-xs text-amber-600 dark:text-amber-400"
601 >601 >
602 OAuth required602 OAuth required
603 </Badge>603 </Badge>
@@ -625,7 +625,7 @@ export default function AddMcpSource(props: { · 21 unmodified lines
625 >625 >
626 <RadioGroupItem value="none" />626 <RadioGroupItem value="none" />
627 <span className="text-xs font-medium text-foreground">None</span>627 <span className="text-xs font-medium text-foreground">None</span>
628 <span className="ml-auto text-[10px] text-muted-foreground">628 <span className="ml-auto text-xs text-muted-foreground">
629 no auth header629 no auth header
630 </span>630 </span>
631 </Label>631 </Label>
@@ -640,7 +640,7 @@ export default function AddMcpSource(props: { · 8 unmodified lines
640 >640 >
641 <RadioGroupItem value="header" />641 <RadioGroupItem value="header" />
642 <span className="text-xs font-medium text-foreground">Header</span>642 <span className="text-xs font-medium text-foreground">Header</span>
643 <span className="ml-auto text-[10px] text-muted-foreground">643 <span className="ml-auto text-xs text-muted-foreground">
644 use a secret-backed auth header644 use a secret-backed auth header
645 </span>645 </span>
646 </Label>646 </Label>
@@ -655,7 +655,7 @@ export default function AddMcpSource(props: { · 8 unmodified lines
655 >655 >
656 <RadioGroupItem value="oauth2" />656 <RadioGroupItem value="oauth2" />
657 <span className="text-xs font-medium text-foreground">OAuth</span>657 <span className="text-xs font-medium text-foreground">OAuth</span>
658 <span className="ml-auto text-[10px] text-muted-foreground">658 <span className="ml-auto text-xs text-muted-foreground">
659 sign in with the server&apos;s OAuth flow659 sign in with the server&apos;s OAuth flow
660 </span>660 </span>
661 </Label>661 </Label>
@@ -710,7 +710,7 @@ export default function AddMcpSource(props: { · 48 unmodified lines
710 {state.step === "oauth-starting" && (710 {state.step === "oauth-starting" && (
711 <div className="flex items-center gap-2 rounded-lg border border-border bg-muted/30 px-3 py-2.5">711 <div className="flex items-center gap-2 rounded-lg border border-border bg-muted/30 px-3 py-2.5">
712 <Spinner className="size-3.5" />712 <Spinner className="size-3.5" />
713 <span className="text-xs text-muted-foreground">Starting authorization…</span>713 <span className="text-sm text-muted-foreground">Starting authorization…</span>
714 </div>714 </div>
715 )}715 )}
716 716
@@ -751,7 +751,7 @@ export default function AddMcpSource(props: { · 34 unmodified lines
751 )}751 )}
752 752
753 {remoteAuthMode === "none" && probe.requiresOAuth && (753 {remoteAuthMode === "none" && probe.requiresOAuth && (
754 <p className="text-[12px] text-amber-600 dark:text-amber-400">754 <p className="text-xs text-amber-600 dark:text-amber-400">
755 This server requires authentication before it can be added.755 This server requires authentication before it can be added.
756 </p>756 </p>
757 )}757 )}
@@ -764,7 +764,7 @@ export default function AddMcpSource(props: { · 6 unmodified lines
764 <div className="flex items-center justify-between gap-3">764 <div className="flex items-center justify-between gap-3">
765 <div>765 <div>
766 <Label>Additional headers</Label>766 <Label>Additional headers</Label>
767 <p className="mt-1 text-[12px] text-muted-foreground">767 <p className="mt-1 text-sm text-muted-foreground">
768 Plaintext headers sent with every request. Use authentication for secret-backed768 Plaintext headers sent with every request. Use authentication for secret-backed
769 auth headers.769 auth headers.
770 </p>770 </p>
@@ -790,7 +790,7 @@ export default function AddMcpSource(props: { · 19 unmodified lines
790 className="rounded-lg border border-border bg-card p-3 space-y-2"790 className="rounded-lg border border-border bg-card p-3 space-y-2"
791 >791 >
792 <div className="flex items-center justify-between">792 <div className="flex items-center justify-between">
793 <Label className="text-[10px] uppercase tracking-wider text-muted-foreground">793 <Label className="text-xs uppercase tracking-wider text-muted-foreground">
794 Header794 Header
795 </Label>795 </Label>
796 <Button796 <Button
@@ -809,7 +809,7 @@ export default function AddMcpSource(props: { · 12 unmodified lines
809 </div>809 </div>
810 <div className="grid grid-cols-2 gap-2">810 <div className="grid grid-cols-2 gap-2">
811 <div className="space-y-1">811 <div className="space-y-1">
812 <Label className="text-[10px] uppercase tracking-wider text-muted-foreground">812 <Label className="text-xs uppercase tracking-wider text-muted-foreground">
813 Name813 Name
814 </Label>814 </Label>
815 <Input815 <Input
@@ -824,11 +824,11 @@ export default function AddMcpSource(props: { · 8 unmodified lines
824 )824 )
825 }825 }
826 placeholder="X-Organization-Id"826 placeholder="X-Organization-Id"
827 className="h-8 text-xs font-mono"827 className="h-8 text-sm font-mono"
828 />828 />
829 </div>829 </div>
830 <div className="space-y-1">830 <div className="space-y-1">
831 <Label className="text-[10px] uppercase tracking-wider text-muted-foreground">831 <Label className="text-xs uppercase tracking-wider text-muted-foreground">
832 Value832 Value
833 </Label>833 </Label>
834 <Input834 <Input
@@ -846,7 +846,7 @@ export default function AddMcpSource(props: { · 11 unmodified lines
846 )846 )
847 }847 }
848 placeholder="workspace-id"848 placeholder="workspace-id"
849 className="h-8 text-xs font-mono"849 className="h-8 text-sm font-mono"
850 />850 />
851 </div>851 </div>
852 </div>852 </div>
@@ -861,7 +861,7 @@ export default function AddMcpSource(props: { · 8 unmodified lines
861 {error && (861 {error && (
862 <div className="space-y-2">862 <div className="space-y-2">
863 <div className="rounded-lg border border-destructive/30 bg-destructive/5 px-3 py-2">863 <div className="rounded-lg border border-destructive/30 bg-destructive/5 px-3 py-2">
864 <p className="text-[12px] text-destructive">{error}</p>864 <p className="text-sm text-destructive">{error}</p>
865 </div>865 </div>
866 <Button866 <Button
867 variant="outline"867 variant="outline"
@@ -914,7 +914,7 @@ export default function AddMcpSource(props: { · 46 unmodified lines
914 placeholder="npx"914 placeholder="npx"
915 className="font-mono text-sm"915 className="font-mono text-sm"
916 />916 />
917 <p className="text-[12px] text-muted-foreground">917 <p className="text-sm text-muted-foreground">
918 The executable to run (e.g. npx, uvx, node).918 The executable to run (e.g. npx, uvx, node).
919 </p>919 </p>
920 </div>920 </div>
@@ -927,7 +927,7 @@ export default function AddMcpSource(props: { · 6 unmodified lines
927 placeholder="-y chrome-devtools-mcp@latest"927 placeholder="-y chrome-devtools-mcp@latest"
928 className="font-mono text-sm"928 className="font-mono text-sm"
929 />929 />
930 <p className="text-[12px] text-muted-foreground">930 <p className="text-sm text-muted-foreground">
931 Space-separated arguments passed to the command.931 Space-separated arguments passed to the command.
932 </p>932 </p>
933 </div>933 </div>
@@ -956,14 +956,14 @@ export default function AddMcpSource(props: { · 22 unmodified lines
956 rows={3}956 rows={3}
957 className="font-mono text-sm"957 className="font-mono text-sm"
958 />958 />
959 <p className="text-[12px] text-muted-foreground">One per line, KEY=value format.</p>959 <p className="text-sm text-muted-foreground">One per line, KEY=value format.</p>
960 </div>960 </div>
961 </section>961 </section>
962 962
963 {/* Stdio error */}963 {/* Stdio error */}
964 {stdioError && (964 {stdioError && (
965 <div className="rounded-lg border border-destructive/30 bg-destructive/5 px-3 py-2">965 <div className="rounded-lg border border-destructive/30 bg-destructive/5 px-3 py-2">
966 <p className="text-[12px] text-destructive">{stdioError}</p>966 <p className="text-sm text-destructive">{stdioError}</p>
967 </div>967 </div>
968 )}968 )}
969 969
packages/plugins/mcp/src/react/EditMcpSource.tsx+8−8
@@ -89,7 +89,7 @@ function RemoteEditForm(props: { · 88 unmodified lines
89 <div className="space-y-6">89 <div className="space-y-6">
90 <div>90 <div>
91 <h1 className="text-xl font-semibold text-foreground">Edit MCP Source</h1>91 <h1 className="text-xl font-semibold text-foreground">Edit MCP Source</h1>
92 <p className="mt-1 text-[13px] text-muted-foreground">92 <p className="mt-1 text-sm text-muted-foreground">
93 Update the endpoint and headers for this MCP connection.93 Update the endpoint and headers for this MCP connection.
94 </p>94 </p>
95 </div>95 </div>
@@ -98,7 +98,7 @@ function RemoteEditForm(props: { · 2 unmodified lines
98 <div className="min-w-0 flex-1">98 <div className="min-w-0 flex-1">
99 <p className="truncate text-sm font-semibold text-card-foreground">{props.sourceId}</p>99 <p className="truncate text-sm font-semibold text-card-foreground">{props.sourceId}</p>
100 </div>100 </div>
101 <Badge variant="secondary" className="text-[10px]">101 <Badge variant="secondary" className="text-xs">
102 remote102 remote
103 </Badge>103 </Badge>
104 </div>104 </div>
@@ -126,13 +126,13 @@ function RemoteEditForm(props: { · 21 unmodified lines
126 value={entry.name}126 value={entry.name}
127 onChange={(e) => updateHeader(i, "name", (e.target as HTMLInputElement).value)}127 onChange={(e) => updateHeader(i, "name", (e.target as HTMLInputElement).value)}
128 placeholder="Header name"128 placeholder="Header name"
129 className="h-8 text-xs font-mono flex-1"129 className="h-8 text-sm font-mono flex-1"
130 />130 />
131 <Input131 <Input
132 value={entry.value}132 value={entry.value}
133 onChange={(e) => updateHeader(i, "value", (e.target as HTMLInputElement).value)}133 onChange={(e) => updateHeader(i, "value", (e.target as HTMLInputElement).value)}
134 placeholder="Header value"134 placeholder="Header value"
135 className="h-8 text-xs font-mono flex-1"135 className="h-8 text-sm font-mono flex-1"
136 />136 />
137 <Button137 <Button
138 variant="ghost"138 variant="ghost"
@@ -151,7 +151,7 @@ function RemoteEditForm(props: { · 12 unmodified lines
151 151
152 {error && (152 {error && (
153 <div className="rounded-lg border border-destructive/30 bg-destructive/5 px-3 py-2">153 <div className="rounded-lg border border-destructive/30 bg-destructive/5 px-3 py-2">
154 <p className="text-[12px] text-destructive">{error}</p>154 <p className="text-sm text-destructive">{error}</p>
155 </div>155 </div>
156 )}156 )}
157 157
@@ -181,7 +181,7 @@ function StdioReadOnly(props: { · 23 unmodified lines
181 <div className="space-y-6">181 <div className="space-y-6">
182 <div>182 <div>
183 <h1 className="text-xl font-semibold text-foreground">Edit MCP Source</h1>183 <h1 className="text-xl font-semibold text-foreground">Edit MCP Source</h1>
184 <p className="mt-1 text-[13px] text-muted-foreground">184 <p className="mt-1 text-sm text-muted-foreground">
185 Stdio MCP sources cannot be edited in the UI. Modify the executor.jsonc config file185 Stdio MCP sources cannot be edited in the UI. Modify the executor.jsonc config file
186 directly.186 directly.
187 </p>187 </p>
@@ -194,7 +194,7 @@ function StdioReadOnly(props: { · 6 unmodified lines
194 {command} {(args ?? []).join(" ")}194 {command} {(args ?? []).join(" ")}
195 </p>195 </p>
196 </div>196 </div>
197 <Badge variant="secondary" className="text-[10px]">197 <Badge variant="secondary" className="text-xs">
198 stdio198 stdio
199 </Badge>199 </Badge>
200 </div>200 </div>
@@ -225,7 +225,7 @@ export default function EditMcpSource({ · 24 unmodified lines
225 <div className="space-y-6">225 <div className="space-y-6">
226 <div>226 <div>
227 <h1 className="text-xl font-semibold text-foreground">Edit MCP Source</h1>227 <h1 className="text-xl font-semibold text-foreground">Edit MCP Source</h1>
228 <p className="mt-1 text-[13px] text-muted-foreground">Loading configuration…</p>228 <p className="mt-1 text-sm text-muted-foreground">Loading configuration…</p>
229 </div>229 </div>
230 </div>230 </div>
231 );231 );
packages/plugins/mcp/src/react/McpSourceSummary.tsx+2−2
@@ -7,10 +7,10 @@ import { Badge } from "@executor/react/components/badge"; · 6 unmodified lines
7export default function McpSourceSummary({ sourceId }: { readonly sourceId: string }) {7export default function McpSourceSummary({ sourceId }: { readonly sourceId: string }) {
8 return (8 return (
9 <span className="inline-flex items-center gap-1.5">9 <span className="inline-flex items-center gap-1.5">
10 <Badge variant="secondary" className="text-[10px]">10 <Badge variant="secondary" className="text-xs">
11 MCP11 MCP
12 </Badge>12 </Badge>
13 <span className="text-xs text-muted-foreground">{sourceId}</span>13 <span className="text-sm text-muted-foreground">{sourceId}</span>
14 </span>14 </span>
15 );15 );
16}16}
packages/plugins/onepassword/src/react/OnePasswordSettings.tsx+28−28
@@ -74,7 +74,7 @@ function VaultPicker(props: { · 73 unmodified lines
74 74
75 if (!account) {75 if (!account) {
76 return (76 return (
77 <p className="text-[11px] text-muted-foreground/50 py-1">77 <p className="text-xs text-muted-foreground py-1">
78 Enter account details to load vaults.78 Enter account details to load vaults.
79 </p>79 </p>
80 );80 );
@@ -90,7 +90,7 @@ function VaultPicker(props: { · 9 unmodified lines
90 if (v) props.onVaultSelect(v.id, v.name);90 if (v) props.onVaultSelect(v.id, v.name);
91 }}91 }}
92 >92 >
93 <SelectTrigger className="h-9 text-[13px]">93 <SelectTrigger className="h-9 text-sm">
94 <SelectValue placeholder={isLoading ? "Loading…" : "Select a vault"} />94 <SelectValue placeholder={isLoading ? "Loading…" : "Select a vault"} />
95 </SelectTrigger>95 </SelectTrigger>
96 <SelectContent>96 <SelectContent>
@@ -103,7 +103,7 @@ function VaultPicker(props: { · 6 unmodified lines
103 </Select>103 </Select>
104 {error && (104 {error && (
105 <div className="rounded-md border border-destructive/20 bg-destructive/5 px-2.5 py-1.5">105 <div className="rounded-md border border-destructive/20 bg-destructive/5 px-2.5 py-1.5">
106 <p className="text-[11px] text-destructive leading-relaxed whitespace-pre-line">106 <p className="text-xs text-destructive leading-relaxed whitespace-pre-line">
107 {error}107 {error}
108 </p>108 </p>
109 </div>109 </div>
@@ -182,7 +182,7 @@ function ConfigDialog(props: { · 72 unmodified lines
182 <DialogTitle className="font-display text-xl">182 <DialogTitle className="font-display text-xl">
183 {isEdit ? "Edit 1Password" : "Connect 1Password"}183 {isEdit ? "Edit 1Password" : "Connect 1Password"}
184 </DialogTitle>184 </DialogTitle>
185 <DialogDescription className="text-[13px] leading-relaxed">185 <DialogDescription className="text-sm leading-relaxed">
186 Link a vault to resolve secrets via the 1Password desktop app or a service account.186 Link a vault to resolve secrets via the 1Password desktop app or a service account.
187 </DialogDescription>187 </DialogDescription>
188 </DialogHeader>188 </DialogHeader>
@@ -190,14 +190,14 @@ function ConfigDialog(props: { · 1 unmodified line
190 <div className="grid gap-5 py-3">190 <div className="grid gap-5 py-3">
191 {/* Auth method */}191 {/* Auth method */}
192 <div className="grid gap-1.5">192 <div className="grid gap-1.5">
193 <Label className="text-[11px] font-medium uppercase tracking-[0.08em] text-muted-foreground">193 <Label className="text-xs font-medium uppercase tracking-[0.08em] text-muted-foreground">
194 Auth method194 Auth method
195 </Label>195 </Label>
196 <Select196 <Select
197 value={authKind}197 value={authKind}
198 onValueChange={(v) => setAuthKind(v as "desktop-app" | "service-account")}198 onValueChange={(v) => setAuthKind(v as "desktop-app" | "service-account")}
199 >199 >
200 <SelectTrigger className="h-9 text-[13px]">200 <SelectTrigger className="h-9 text-sm">
201 <SelectValue />201 <SelectValue />
202 </SelectTrigger>202 </SelectTrigger>
203 <SelectContent>203 <SelectContent>
@@ -209,16 +209,16 @@ function ConfigDialog(props: { · 5 unmodified lines
209 209
210 {/* Account / token */}210 {/* Account / token */}
211 <div className="grid gap-1.5">211 <div className="grid gap-1.5">
212 <Label className="text-[11px] font-medium uppercase tracking-[0.08em] text-muted-foreground">212 <Label className="text-xs font-medium uppercase tracking-[0.08em] text-muted-foreground">
213 {authKind === "desktop-app" ? "Account domain" : "Token secret ID"}213 {authKind === "desktop-app" ? "Account domain" : "Token secret ID"}
214 </Label>214 </Label>
215 <Input215 <Input
216 placeholder={authKind === "desktop-app" ? "my.1password.com" : "op-service-token"}216 placeholder={authKind === "desktop-app" ? "my.1password.com" : "op-service-token"}
217 value={accountName}217 value={accountName}
218 onChange={(e) => setAccountName((e.target as HTMLInputElement).value)}218 onChange={(e) => setAccountName((e.target as HTMLInputElement).value)}
219 className="font-mono text-[13px] h-9"219 className="font-mono text-xs h-9"
220 />220 />
221 <p className="text-[11px] text-muted-foreground/60 leading-relaxed">221 <p className="text-xs text-muted-foreground leading-relaxed">
222 {authKind === "desktop-app"222 {authKind === "desktop-app"
223 ? "Requires the 1Password desktop app with biometric unlock."223 ? "Requires the 1Password desktop app with biometric unlock."
224 : "Reference an executor secret that holds the service account token."}224 : "Reference an executor secret that holds the service account token."}
@@ -227,7 +227,7 @@ function ConfigDialog(props: { · 2 unmodified lines
227 227
228 {/* Vault */}228 {/* Vault */}
229 <div className="grid gap-1.5">229 <div className="grid gap-1.5">
230 <Label className="text-[11px] font-medium uppercase tracking-[0.08em] text-muted-foreground">230 <Label className="text-xs font-medium uppercase tracking-[0.08em] text-muted-foreground">
231 Vault231 Vault
232 </Label>232 </Label>
233 <VaultPicker233 <VaultPicker
@@ -239,25 +239,25 @@ function ConfigDialog(props: { · 5 unmodified lines
239 setVaultName(name);239 setVaultName(name);
240 }}240 }}
241 />241 />
242 {vaultId && <p className="font-mono text-[10px] text-muted-foreground/50">{vaultId}</p>}242 {vaultId && <p className="font-mono text-xs text-muted-foreground">{vaultId}</p>}
243 </div>243 </div>
244 244
245 {/* Display name */}245 {/* Display name */}
246 <div className="grid gap-1.5">246 <div className="grid gap-1.5">
247 <Label className="text-[11px] font-medium uppercase tracking-[0.08em] text-muted-foreground">247 <Label className="text-xs font-medium uppercase tracking-[0.08em] text-muted-foreground">
248 Display name248 Display name
249 </Label>249 </Label>
250 <Input250 <Input
251 placeholder="1Password"251 placeholder="1Password"
252 value={vaultName}252 value={vaultName}
253 onChange={(e) => setVaultName((e.target as HTMLInputElement).value)}253 onChange={(e) => setVaultName((e.target as HTMLInputElement).value)}
254 className="text-[13px] h-9"254 className="text-sm h-9"
255 />255 />
256 </div>256 </div>
257 257
258 {error && (258 {error && (
259 <div className="rounded-md border border-destructive/20 bg-destructive/5 px-3 py-2">259 <div className="rounded-md border border-destructive/20 bg-destructive/5 px-3 py-2">
260 <p className="text-[12px] text-destructive whitespace-pre-line">{error}</p>260 <p className="text-xs text-destructive whitespace-pre-line">{error}</p>
261 </div>261 </div>
262 )}262 )}
263 </div>263 </div>
@@ -322,19 +322,19 @@ export default function OnePasswordSettings() { · 58 unmodified lines
322 <div className="flex items-center gap-3 px-5 py-4 border-b border-border/40">322 <div className="flex items-center gap-3 px-5 py-4 border-b border-border/40">
323 <div className="flex-1 min-w-0">323 <div className="flex-1 min-w-0">
324 <div className="flex items-center gap-2">324 <div className="flex items-center gap-2">
325 <h3 className="text-[13px] font-semibold text-foreground leading-none">1Password</h3>325 <h3 className="text-xs font-semibold text-foreground leading-none">1Password</h3>
326 {isLoading ? (326 {isLoading ? (
327 <span className="size-1.5 rounded-full bg-muted-foreground/30 animate-pulse" />327 <span className="size-1.5 rounded-full bg-muted-foreground/30 animate-pulse" />
328 ) : isError ? (328 ) : isError ? (
329 <span className="rounded-full bg-destructive/15 px-2 py-0.5 text-[10px] font-medium text-destructive leading-none">329 <span className="rounded-full bg-destructive/15 px-2 py-0.5 text-xs font-medium text-destructive leading-none">
330 Error330 Error
331 </span>331 </span>
332 ) : config ? (332 ) : config ? (
333 <span className="rounded-full bg-emerald-500/15 px-2 py-0.5 text-[10px] font-medium text-emerald-600 dark:text-emerald-400 leading-none">333 <span className="rounded-full bg-emerald-500/15 px-2 py-0.5 text-xs font-medium text-emerald-600 dark:text-emerald-400 leading-none">
334 Connected334 Connected
335 </span>335 </span>
336 ) : (336 ) : (
337 <span className="rounded-full bg-muted px-2 py-0.5 text-[10px] font-medium text-muted-foreground leading-none">337 <span className="rounded-full bg-muted px-2 py-0.5 text-xs font-medium text-muted-foreground leading-none">
338 Not configured338 Not configured
339 </span>339 </span>
340 )}340 )}
@@ -345,7 +345,7 @@ export default function OnePasswordSettings() { · 4 unmodified lines
345 <Button345 <Button
346 variant="ghost"346 variant="ghost"
347 size="sm"347 size="sm"
348 className="h-7 px-2.5 text-[12px]"348 className="h-7 px-2.5 text-xs"
349 onClick={() => setConfigOpen(true)}349 onClick={() => setConfigOpen(true)}
350 >350 >
351 Edit351 Edit
@@ -353,7 +353,7 @@ export default function OnePasswordSettings() { · 1 unmodified line
353 <Button353 <Button
354 variant="ghost"354 variant="ghost"
355 size="sm"355 size="sm"
356 className="h-7 px-2.5 text-[12px] text-destructive/70 hover:text-destructive"356 className="h-7 px-2.5 text-xs text-destructive/70 hover:text-destructive"
357 onClick={handleRemove}357 onClick={handleRemove}
358 >358 >
359 Disconnect359 Disconnect
@@ -367,35 +367,35 @@ export default function OnePasswordSettings() { · 7 unmodified lines
367 {isLoading ? (367 {isLoading ? (
368 <div className="flex items-center gap-2">368 <div className="flex items-center gap-2">
369 <div className="size-1.5 rounded-full bg-muted-foreground/30 animate-pulse" />369 <div className="size-1.5 rounded-full bg-muted-foreground/30 animate-pulse" />
370 <p className="text-[12px] text-muted-foreground/50">Loading…</p>370 <p className="text-sm text-muted-foreground">Loading…</p>
371 </div>371 </div>
372 ) : isError ? (372 ) : isError ? (
373 <div className="rounded-md border border-destructive/20 bg-destructive/5 px-3 py-2">373 <div className="rounded-md border border-destructive/20 bg-destructive/5 px-3 py-2">
374 <p className="text-[12px] text-destructive">Failed to load configuration</p>374 <p className="text-sm text-destructive">Failed to load configuration</p>
375 </div>375 </div>
376 ) : config ? (376 ) : config ? (
377 <div className="grid grid-cols-[auto_1fr] gap-x-6 gap-y-2 text-[12px]">377 <div className="grid grid-cols-[auto_1fr] gap-x-6 gap-y-2 text-xs">
378 <span className="text-muted-foreground/60">Auth</span>378 <span className="text-muted-foreground">Auth</span>
379 <span className="font-mono text-foreground/80">379 <span className="font-mono text-foreground/80">
380 {config.auth.kind === "desktop-app" ? config.auth.accountName : "service-account"}380 {config.auth.kind === "desktop-app" ? config.auth.accountName : "service-account"}
381 </span>381 </span>
382 <span className="text-muted-foreground/60">Vault</span>382 <span className="text-muted-foreground">Vault</span>
383 <div className="flex items-center gap-2">383 <div className="flex items-center gap-2">
384 <span className="text-foreground/80">{config.name}</span>384 <span className="text-foreground/80">{config.name}</span>
385 <span className="font-mono text-[10px] text-muted-foreground/40">385 <span className="font-mono text-xs text-muted-foreground">
386 {config.vaultId}386 {config.vaultId}
387 </span>387 </span>
388 </div>388 </div>
389 </div>389 </div>
390 ) : (390 ) : (
391 <div className="flex items-center justify-between">391 <div className="flex items-center justify-between">
392 <p className="text-[12px] text-muted-foreground/60 leading-relaxed">392 <p className="text-xs text-muted-foreground leading-relaxed">
393 Resolve secrets from your 1Password vault.393 Resolve secrets from your 1Password vault.
394 </p>394 </p>
395 <Button395 <Button
396 variant="outline"396 variant="outline"
397 size="sm"397 size="sm"
398 className="h-7 text-[12px] shrink-0"398 className="h-7 text-xs shrink-0"
399 onClick={() => setConfigOpen(true)}399 onClick={() => setConfigOpen(true)}
400 >400 >
401 Connect401 Connect
packages/plugins/openapi/src/react/AddOpenApiSource.tsx+13−13
@@ -253,13 +253,13 @@ export default function AddOpenApiSource(props: { · 252 unmodified lines
253 253
254 {analyzeError && (254 {analyzeError && (
255 <div className="rounded-lg border border-destructive/30 bg-destructive/5 px-3 py-2">255 <div className="rounded-lg border border-destructive/30 bg-destructive/5 px-3 py-2">
256 <p className="text-[12px] text-destructive">{analyzeError}</p>256 <p className="text-sm text-destructive">{analyzeError}</p>
257 </div>257 </div>
258 )}258 )}
259 259
260 {!preview && (260 {!preview && (
261 <div className="flex items-center justify-between">261 <div className="flex items-center justify-between">
262 <p className="text-[12px] text-muted-foreground">262 <p className="text-sm text-muted-foreground">
263 Paste a URL or raw JSON/YAML content.263 Paste a URL or raw JSON/YAML content.
264 </p>264 </p>
265 <Button disabled={!specUrl.trim() || analyzing} onClick={handleAnalyze}>265 <Button disabled={!specUrl.trim() || analyzing} onClick={handleAnalyze}>
@@ -279,7 +279,7 @@ export default function AddOpenApiSource(props: { · 13 unmodified lines
279 <p className="text-sm font-semibold text-card-foreground leading-none truncate">279 <p className="text-sm font-semibold text-card-foreground leading-none truncate">
280 {Option.getOrElse(preview.title, () => "API")}280 {Option.getOrElse(preview.title, () => "API")}
281 </p>281 </p>
282 <p className="mt-1 text-[12px] text-muted-foreground leading-none">282 <p className="mt-1 text-xs text-muted-foreground leading-none">
283 {Option.getOrElse(preview.version, () => "")}283 {Option.getOrElse(preview.version, () => "")}
284 {Option.isSome(preview.version) && " · "}284 {Option.isSome(preview.version) && " · "}
285 {preview.operationCount} operation{preview.operationCount !== 1 ? "s" : ""}285 {preview.operationCount} operation{preview.operationCount !== 1 ? "s" : ""}
@@ -290,12 +290,12 @@ export default function AddOpenApiSource(props: { · 4 unmodified lines
290 {preview.tags.length > 0 && (290 {preview.tags.length > 0 && (
291 <div className="hidden sm:flex flex-wrap gap-1 max-w-[200px] justify-end">291 <div className="hidden sm:flex flex-wrap gap-1 max-w-[200px] justify-end">
292 {preview.tags.slice(0, 4).map((tag) => (292 {preview.tags.slice(0, 4).map((tag) => (
293 <Badge key={tag} variant="secondary" className="text-[10px]">293 <Badge key={tag} variant="secondary" className="text-xs">
294 {tag}294 {tag}
295 </Badge>295 </Badge>
296 ))}296 ))}
297 {preview.tags.length > 4 && (297 {preview.tags.length > 4 && (
298 <span className="text-[10px] text-muted-foreground">298 <span className="text-sm text-muted-foreground">
299 +{preview.tags.length - 4}299 +{preview.tags.length - 4}
300 </span>300 </span>
301 )}301 )}
@@ -310,7 +310,7 @@ export default function AddOpenApiSource(props: { · 8 unmodified lines
310 value={sourceName}310 value={sourceName}
311 onChange={(e) => setSourceName((e.target as HTMLInputElement).value)}311 onChange={(e) => setSourceName((e.target as HTMLInputElement).value)}
312 placeholder="e.g. Sentry API"312 placeholder="e.g. Sentry API"
313 className="text-[0.8125rem]"313 className="text-sm"
314 />314 />
315 </section>315 </section>
316 316
@@ -325,9 +325,9 @@ export default function AddOpenApiSource(props: { · 8 unmodified lines
325 )325 )
326 }326 }
327 placeholder="e.g. sentry, stripe, github"327 placeholder="e.g. sentry, stripe, github"
328 className="font-mono text-[0.8125rem]"328 className="font-mono text-sm"
329 />329 />
330 <p className="text-[0.75rem] text-muted-foreground">330 <p className="text-sm text-muted-foreground">
331 Unique identifier for this source. Used in tool names.331 Unique identifier for this source. Used in tool names.
332 </p>332 </p>
333 </section>333 </section>
@@ -373,7 +373,7 @@ export default function AddOpenApiSource(props: { · 39 unmodified lines
373 )}373 )}
374 374
375 {!baseUrl.trim() && (375 {!baseUrl.trim() && (
376 <p className="text-[11px] text-amber-600 dark:text-amber-400">376 <p className="text-xs text-amber-600 dark:text-amber-400">
377 A base URL is required to make requests.377 A base URL is required to make requests.
378 </p>378 </p>
379 )}379 )}
@@ -402,7 +402,7 @@ export default function AddOpenApiSource(props: { · 22 unmodified lines
402 <RadioGroupItem value={String(i)} />402 <RadioGroupItem value={String(i)} />
403 <span className="text-xs font-medium text-foreground">{preset.label}</span>403 <span className="text-xs font-medium text-foreground">{preset.label}</span>
404 {preset.secretHeaders.length > 0 && (404 {preset.secretHeaders.length > 0 && (
405 <span className="ml-auto text-[10px] text-muted-foreground">405 <span className="ml-auto text-xs text-muted-foreground">
406 {preset.secretHeaders.length} header406 {preset.secretHeaders.length} header
407 {preset.secretHeaders.length > 1 ? "s" : ""}407 {preset.secretHeaders.length > 1 ? "s" : ""}
408 </span>408 </span>
@@ -419,7 +419,7 @@ export default function AddOpenApiSource(props: { · 10 unmodified lines
419 >419 >
420 <RadioGroupItem value="-2" />420 <RadioGroupItem value="-2" />
421 <span className="text-xs font-medium text-foreground">Custom</span>421 <span className="text-xs font-medium text-foreground">Custom</span>
422 <span className="ml-auto text-[10px] text-muted-foreground">422 <span className="ml-auto text-xs text-muted-foreground">
423 configure manually423 configure manually
424 </span>424 </span>
425 </Label>425 </Label>
@@ -433,7 +433,7 @@ export default function AddOpenApiSource(props: { · 7 unmodified lines
433 >433 >
434 <RadioGroupItem value="-1" />434 <RadioGroupItem value="-1" />
435 <span className="text-xs font-medium text-foreground">None</span>435 <span className="text-xs font-medium text-foreground">None</span>
436 <span className="ml-auto text-[10px] text-muted-foreground">skip auth</span>436 <span className="ml-auto text-xs text-muted-foreground">skip auth</span>
437 </Label>437 </Label>
438 </RadioGroup>438 </RadioGroup>
439 )}439 )}
@@ -472,7 +472,7 @@ export default function AddOpenApiSource(props: { · 32 unmodified lines
472 {/* Add error */}472 {/* Add error */}
473 {addError && (473 {addError && (
474 <div className="rounded-lg border border-destructive/30 bg-destructive/5 px-3 py-2">474 <div className="rounded-lg border border-destructive/30 bg-destructive/5 px-3 py-2">
475 <p className="text-[12px] text-destructive">{addError}</p>475 <p className="text-sm text-destructive">{addError}</p>
476 </div>476 </div>
477 )}477 )}
478 478
packages/plugins/openapi/src/react/EditOpenApiSource.tsx+4−4
@@ -69,7 +69,7 @@ function EditForm(props: { · 68 unmodified lines
69 <div className="space-y-6">69 <div className="space-y-6">
70 <div>70 <div>
71 <h1 className="text-xl font-semibold text-foreground">Edit OpenAPI Source</h1>71 <h1 className="text-xl font-semibold text-foreground">Edit OpenAPI Source</h1>
72 <p className="mt-1 text-[13px] text-muted-foreground">72 <p className="mt-1 text-sm text-muted-foreground">
73 Update the base URL and authentication headers for this source.73 Update the base URL and authentication headers for this source.
74 </p>74 </p>
75 </div>75 </div>
@@ -78,7 +78,7 @@ function EditForm(props: { · 2 unmodified lines
78 <div className="min-w-0 flex-1">78 <div className="min-w-0 flex-1">
79 <p className="truncate text-sm font-semibold text-card-foreground">{props.sourceId}</p>79 <p className="truncate text-sm font-semibold text-card-foreground">{props.sourceId}</p>
80 </div>80 </div>
81 <Badge variant="secondary" className="text-[10px]">81 <Badge variant="secondary" className="text-xs">
82 OpenAPI82 OpenAPI
83 </Badge>83 </Badge>
84 </div>84 </div>
@@ -129,7 +129,7 @@ function EditForm(props: { · 44 unmodified lines
129 129
130 {error && (130 {error && (
131 <div className="rounded-lg border border-destructive/30 bg-destructive/5 px-3 py-2">131 <div className="rounded-lg border border-destructive/30 bg-destructive/5 px-3 py-2">
132 <p className="text-[12px] text-destructive">{error}</p>132 <p className="text-sm text-destructive">{error}</p>
133 </div>133 </div>
134 )}134 )}
135 135
@@ -158,7 +158,7 @@ export default function EditOpenApiSource(props: { sourceId: string; onSave: () · 22 unmodified lines
158 <div className="space-y-6">158 <div className="space-y-6">
159 <div>159 <div>
160 <h1 className="text-xl font-semibold text-foreground">Edit OpenAPI Source</h1>160 <h1 className="text-xl font-semibold text-foreground">Edit OpenAPI Source</h1>
161 <p className="mt-1 text-[13px] text-muted-foreground">Loading configuration…</p>161 <p className="mt-1 text-sm text-muted-foreground">Loading configuration…</p>
162 </div>162 </div>
163 </div>163 </div>
164 );164 );
packages/react/src/components/calendar.tsx+2−2
@@ -74,13 +74,13 @@ function Calendar({ · 73 unmodified lines
74 table: "w-full border-collapse",74 table: "w-full border-collapse",
75 weekdays: cn("flex", defaultClassNames.weekdays),75 weekdays: cn("flex", defaultClassNames.weekdays),
76 weekday: cn(76 weekday: cn(
77 "flex-1 rounded-md text-[0.8rem] font-normal text-muted-foreground select-none",77 "flex-1 rounded-md text-sm font-normal text-muted-foreground select-none",
78 defaultClassNames.weekday,78 defaultClassNames.weekday,
79 ),79 ),
80 week: cn("mt-2 flex w-full", defaultClassNames.week),80 week: cn("mt-2 flex w-full", defaultClassNames.week),
81 week_number_header: cn("w-(--cell-size) select-none", defaultClassNames.week_number_header),81 week_number_header: cn("w-(--cell-size) select-none", defaultClassNames.week_number_header),
82 week_number: cn(82 week_number: cn(
83 "text-[0.8rem] text-muted-foreground select-none",83 "text-sm text-muted-foreground select-none",
84 defaultClassNames.week_number,84 defaultClassNames.week_number,
85 ),85 ),
86 day: cn(86 day: cn(
packages/react/src/components/card-stack.tsx+1−1
@@ -299,7 +299,7 @@ function CardStackEntryField({ · 298 unmodified lines
299 </div>299 </div>
300 )}300 )}
301 {children}301 {children}
302 {hint && <p className="text-[12px] text-muted-foreground">{hint}</p>}302 {hint && <p className="text-sm text-muted-foreground">{hint}</p>}
303 </div>303 </div>
304 );304 );
305}305}
packages/react/src/components/code-block.tsx+6−6
@@ -110,14 +110,14 @@ export function CodeBlock(props: { · 109 unmodified lines
110 <div className={cn("rounded-lg border border-border bg-card/60 overflow-hidden", className)}>110 <div className={cn("rounded-lg border border-border bg-card/60 overflow-hidden", className)}>
111 {title && (111 {title && (
112 <div className="flex items-center justify-between border-b border-border px-3 py-2">112 <div className="flex items-center justify-between border-b border-border px-3 py-2">
113 <span className="text-[11px] font-medium uppercase tracking-wider text-muted-foreground/70">113 <span className="text-sm font-medium uppercase tracking-wider text-muted-foreground">
114 {title}114 {title}
115 </span>115 </span>
116 <Button116 <Button
117 variant="ghost"117 variant="ghost"
118 size="icon-xs"118 size="icon-xs"
119 onClick={handleCopy}119 onClick={handleCopy}
120 className="text-muted-foreground/30 hover:text-muted-foreground"120 className="text-muted-foreground hover:text-muted-foreground"
121 title="Copy"121 title="Copy"
122 >122 >
123 {copied ? <CheckIcon /> : <CopyIcon />}123 {copied ? <CheckIcon /> : <CopyIcon />}
@@ -130,7 +130,7 @@ export function CodeBlock(props: { · 6 unmodified lines
130 variant="ghost"130 variant="ghost"
131 size="icon-xs"131 size="icon-xs"
132 onClick={handleCopy}132 onClick={handleCopy}
133 className="absolute right-2 top-2 z-10 rounded-md border border-border bg-card/90 p-1.5 text-muted-foreground/40 opacity-0 backdrop-blur-sm hover:text-foreground group-hover:opacity-100 transition-opacity"133 className="absolute right-2 top-2 z-10 rounded-md border border-border bg-card/90 p-1.5 text-muted-foreground opacity-0 backdrop-blur-sm hover:text-foreground group-hover:opacity-100 transition-opacity"
134 title="Copy to clipboard"134 title="Copy to clipboard"
135 >135 >
136 {copied ? <CheckIcon /> : <CopyIcon />}136 {copied ? <CheckIcon /> : <CopyIcon />}
@@ -138,11 +138,11 @@ export function CodeBlock(props: { · 1 unmodified line
138 )}138 )}
139 139
140 <div140 <div
141 className="overflow-auto text-[12px] leading-relaxed [&_pre]:!bg-transparent [&_pre]:p-3 [&_code]:font-mono"141 className="overflow-auto text-sm leading-relaxed [&_pre]:!bg-transparent [&_pre]:p-3 [&_code]:font-mono"
142 style={maxH ? { maxHeight: maxH } : undefined}142 style={maxH ? { maxHeight: maxH } : undefined}
143 >143 >
144 {highlighted ?? (144 {highlighted ?? (
145 <pre className="p-3 font-mono text-[12px] leading-relaxed text-foreground/60">145 <pre className="p-3 font-mono text-sm leading-relaxed text-foreground/60">
146 {code}146 {code}
147 </pre>147 </pre>
148 )}148 )}
@@ -154,7 +154,7 @@ export function CodeBlock(props: { · 5 unmodified lines
154 variant="outline"154 variant="outline"
155 size="sm"155 size="sm"
156 onClick={() => setExpanded(true)}156 onClick={() => setExpanded(true)}
157 className="text-[11px] font-medium text-muted-foreground hover:text-foreground"157 className="text-xs font-medium text-muted-foreground hover:text-foreground"
158 >158 >
159 Show all ({lines.length} lines)159 Show all ({lines.length} lines)
160 </Button>160 </Button>
packages/react/src/components/expandable-code-block.tsx+2−2
@@ -369,13 +369,13 @@ export function ExpandableCodeBlock(props: { · 368 unmodified lines
369 variant="ghost"369 variant="ghost"
370 size="icon-xs"370 size="icon-xs"
371 onClick={handleCopy}371 onClick={handleCopy}
372 className="absolute right-2 top-2 z-10 rounded-md border border-border bg-card/90 p-1.5 text-muted-foreground/40 opacity-0 backdrop-blur-sm hover:text-foreground group-hover:opacity-100 transition-opacity"372 className="absolute right-2 top-2 z-10 rounded-md border border-border bg-card/90 p-1.5 text-muted-foreground opacity-0 backdrop-blur-sm hover:text-foreground group-hover:opacity-100 transition-opacity"
373 title="Copy to clipboard"373 title="Copy to clipboard"
374 >374 >
375 {copied ? <CheckIcon /> : <CopyIcon />}375 {copied ? <CheckIcon /> : <CopyIcon />}
376 </Button>376 </Button>
377 377
378 <pre className="overflow-auto p-3 font-mono text-[0.75rem] leading-6 !bg-transparent">378 <pre className="overflow-auto p-3 font-mono text-xs leading-6 !bg-transparent">
379 <code>379 <code>
380 <HighlightedCode380 <HighlightedCode
381 tokens={tokens}381 tokens={tokens}
packages/react/src/components/markdown.tsx+4−4
@@ -27,7 +27,7 @@ function PreBlock(props: { children?: ReactNode; node?: unknown }) { · 26 unmodified lines
27}27}
28 28
29const PROSE_CLASSES = [29const PROSE_CLASSES = [
30 "text-[13px] leading-relaxed text-muted-foreground",30 "text-sm leading-relaxed text-muted-foreground",
31 // paragraphs31 // paragraphs
32 "[&_p]:mb-[0.4em] [&_p:last-child]:mb-0",32 "[&_p]:mb-[0.4em] [&_p:last-child]:mb-0",
33 // bold33 // bold
@@ -47,10 +47,10 @@ const PROSE_CLASSES = [ · 13 unmodified lines
47 "[&_th]:border [&_th]:border-border [&_th]:px-2 [&_th]:py-1 [&_th]:text-left [&_th]:bg-muted [&_th]:font-semibold [&_th]:text-foreground",47 "[&_th]:border [&_th]:border-border [&_th]:px-2 [&_th]:py-1 [&_th]:text-left [&_th]:bg-muted [&_th]:font-semibold [&_th]:text-foreground",
48 "[&_td]:border [&_td]:border-border [&_td]:px-2 [&_td]:py-1 [&_td]:text-left [&_td]:bg-background",48 "[&_td]:border [&_td]:border-border [&_td]:px-2 [&_td]:py-1 [&_td]:text-left [&_td]:bg-background",
49 // headings49 // headings
50 "[&_h1]:font-semibold [&_h1]:text-foreground [&_h1]:mt-2 [&_h1]:mb-1 [&_h1]:text-[15px]",50 "[&_h1]:font-semibold [&_h1]:text-foreground [&_h1]:mt-2 [&_h1]:mb-1 [&_h1]:text-sm",
51 "[&_h2]:font-semibold [&_h2]:text-foreground [&_h2]:mt-2 [&_h2]:mb-1 [&_h2]:text-sm",51 "[&_h2]:font-semibold [&_h2]:text-foreground [&_h2]:mt-2 [&_h2]:mb-1 [&_h2]:text-sm",
52 "[&_h3]:font-semibold [&_h3]:text-foreground [&_h3]:mt-2 [&_h3]:mb-1 [&_h3]:text-[13px]",52 "[&_h3]:font-semibold [&_h3]:text-foreground [&_h3]:mt-2 [&_h3]:mb-1 [&_h3]:text-xs",
53 "[&_h4]:font-semibold [&_h4]:text-foreground [&_h4]:mt-2 [&_h4]:mb-1 [&_h4]:text-[13px]",53 "[&_h4]:font-semibold [&_h4]:text-foreground [&_h4]:mt-2 [&_h4]:mb-1 [&_h4]:text-xs",
54 // blockquote54 // blockquote
55 "[&_blockquote]:border-l-2 [&_blockquote]:border-border [&_blockquote]:pl-3 [&_blockquote]:my-1.5 [&_blockquote]:text-muted-foreground",55 "[&_blockquote]:border-l-2 [&_blockquote]:border-border [&_blockquote]:pl-3 [&_blockquote]:my-1.5 [&_blockquote]:text-muted-foreground",
56 // hr56 // hr
packages/react/src/components/mcp-install-card.tsx+3−3
@@ -53,7 +53,7 @@ export function McpInstallCard(props: { className?: string }) { · 52 unmodified lines
53 <div className="mb-3 flex items-start justify-between gap-3">53 <div className="mb-3 flex items-start justify-between gap-3">
54 <div className="space-y-1">54 <div className="space-y-1">
55 <h2 className="text-sm font-semibold text-foreground">Connect an agent</h2>55 <h2 className="text-sm font-semibold text-foreground">Connect an agent</h2>
56 <p className="text-[13px] text-muted-foreground">{description}</p>56 <p className="text-sm text-muted-foreground">{description}</p>
57 </div>57 </div>
58 <div className="flex shrink-0 items-center gap-2 text-muted-foreground">58 <div className="flex shrink-0 items-center gap-2 text-muted-foreground">
59 <div className="group/agents flex items-center">59 <div className="group/agents flex items-center">
@@ -72,7 +72,7 @@ export function McpInstallCard(props: { className?: string }) { · 12 unmodified lines
72 </span>72 </span>
73 ))}73 ))}
74 </div>74 </div>
75 <span className="text-[12px] text-muted-foreground/70">and more</span>75 <span className="text-sm text-muted-foreground">and more</span>
76 </div>76 </div>
77 </div>77 </div>
78 78
@@ -87,7 +87,7 @@ export function McpInstallCard(props: { className?: string }) { · 8 unmodified lines
87 </TabsContent>87 </TabsContent>
88 <TabsContent value="stdio">88 <TabsContent value="stdio">
89 <CodeBlock code={command} lang="bash" />89 <CodeBlock code={command} lang="bash" />
90 <p className="mt-3 text-[12px] text-muted-foreground">90 <p className="mt-3 text-xs text-muted-foreground">
91 {isDev91 {isDev
92 ? "Uses the repo-local dev CLI. Run from the repository root."92 ? "Uses the repo-local dev CLI. Run from the repository root."
93 : "Requires the executor CLI on your PATH."}93 : "Requires the executor CLI on your PATH."}
packages/react/src/components/schema-explorer.tsx+8−8
@@ -181,7 +181,7 @@ const mergeAllOf = (schemas: JsonSchema[], root: JsonSchema): JsonSchema => { · 180 unmodified lines
181// Type label styling — plain text, no colored pills181// Type label styling — plain text, no colored pills
182// ---------------------------------------------------------------------------182// ---------------------------------------------------------------------------
183 183
184const typeClasses = "font-mono text-[0.6875rem] leading-5 text-muted-foreground";184const typeClasses = "font-mono text-xs leading-5 text-muted-foreground";
185 185
186// ---------------------------------------------------------------------------186// ---------------------------------------------------------------------------
187// PropertyRow187// PropertyRow
@@ -255,14 +255,14 @@ function PropertyRow(props: { · 67 unmodified lines
255 <p className={typeClasses}>{typeLabel}</p>255 <p className={typeClasses}>{typeLabel}</p>
256 {!hideRequiredBadge &&256 {!hideRequiredBadge &&
257 (required ? (257 (required ? (
258 <p className="text-[0.6875rem] leading-5 font-medium text-orange-600 dark:text-orange-400">258 <p className="text-xs leading-5 font-medium text-orange-600 dark:text-orange-400">
259 required259 required
260 </p>260 </p>
261 ) : (261 ) : (
262 <p className="text-[0.6875rem] leading-5 text-muted-foreground">optional</p>262 <p className="text-xs leading-5 text-muted-foreground">optional</p>
263 ))}263 ))}
264 {schema.default !== undefined && (264 {schema.default !== undefined && (
265 <p className="text-[0.6875rem] leading-5 text-muted-foreground">265 <p className="text-xs leading-5 text-muted-foreground">
266 = {JSON.stringify(schema.default)}266 = {JSON.stringify(schema.default)}
267 </p>267 </p>
268 )}268 )}
@@ -272,7 +272,7 @@ function PropertyRow(props: { · 3 unmodified lines
272 {/* Description — below the row */}272 {/* Description — below the row */}
273 {description && (273 {description && (
274 <p274 <p
275 className="pr-4 pb-2.5 text-[0.8125rem] leading-5 text-muted-foreground"275 className="pr-4 pb-2.5 text-sm leading-5 text-muted-foreground"
276 style={{ paddingLeft: `${depth * 16 + 36}px` }}276 style={{ paddingLeft: `${depth * 16 + 36}px` }}
277 >277 >
278 {description}278 {description}
@@ -298,7 +298,7 @@ function PropertyChildren(props: { schema: JsonSchema; root: JsonSchema; depth: · 19 unmodified lines
298 298
299 if (depth > 6) {299 if (depth > 6) {
300 return (300 return (
301 <p className="px-4 py-2 text-[0.8125rem] text-muted-foreground">301 <p className="px-4 py-2 text-sm text-muted-foreground">
302 Nested too deep to display.302 Nested too deep to display.
303 </p>303 </p>
304 );304 );
@@ -357,7 +357,7 @@ function PropertyChildren(props: { schema: JsonSchema; root: JsonSchema; depth: · 52 unmodified lines
357 return (357 return (
358 <div>358 <div>
359 <p359 <p
360 className="px-4 py-2 text-[0.6875rem] font-medium uppercase tracking-widest text-muted-foreground"360 className="px-4 py-2 text-xs font-medium uppercase tracking-widest text-muted-foreground"
361 style={depth > 0 ? { paddingLeft: `${depth * 16 + 16}px` } : undefined}361 style={depth > 0 ? { paddingLeft: `${depth * 16 + 16}px` } : undefined}
362 >362 >
363 {label}363 {label}
@@ -446,7 +446,7 @@ export function SchemaExplorer(props: { schema: unknown; title?: string }) { · 82 unmodified lines
446 <CardStackHeader446 <CardStackHeader
447 rightSlot={447 rightSlot={
448 countLabel ? (448 countLabel ? (
449 <span className="shrink-0 tabular-nums text-[11px] text-muted-foreground">449 <span className="shrink-0 tabular-nums text-xs text-muted-foreground">
450 {countLabel}450 {countLabel}
451 </span>451 </span>
452 ) : undefined452 ) : undefined
packages/react/src/components/tool-tree.tsx+6−6
@@ -254,14 +254,14 @@ export function ToolTree(props: { · 253 unmodified lines
254 return (254 return (
255 <div className="flex h-full min-h-0 flex-col bg-muted/20">255 <div className="flex h-full min-h-0 flex-col bg-muted/20">
256 <div className="flex shrink-0 items-center gap-2 px-3 py-2">256 <div className="flex shrink-0 items-center gap-2 px-3 py-2">
257 <SearchIcon aria-hidden className="size-3 shrink-0 text-muted-foreground/60" />257 <SearchIcon aria-hidden className="size-3 shrink-0 text-muted-foreground" />
258 <Input258 <Input
259 ref={searchRef}259 ref={searchRef}
260 value={search}260 value={search}
261 onChange={(e) => setSearch(e.target.value)}261 onChange={(e) => setSearch(e.target.value)}
262 placeholder={`Filter ${tools.length} tools…`}262 placeholder={`Filter ${tools.length} tools…`}
263 aria-label="Filter tools"263 aria-label="Filter tools"
264 className="h-auto min-w-0 flex-1 rounded-none border-0 bg-transparent p-0 text-[0.75rem] shadow-none outline-none placeholder:text-muted-foreground/50 focus-visible:border-transparent focus-visible:ring-0"264 className="h-auto min-w-0 flex-1 rounded-none border-0 bg-transparent p-0 text-xs shadow-none outline-none placeholder:text-muted-foreground focus-visible:border-transparent focus-visible:ring-0"
265 />265 />
266 {search.length > 0 && (266 {search.length > 0 && (
267 <Button267 <Button
@@ -278,7 +278,7 @@ export function ToolTree(props: { · 10 unmodified lines
278 <div className="mx-2 border-t border-border/30" />278 <div className="mx-2 border-t border-border/30" />
279 <div className="min-h-0 flex-1 overflow-y-auto">279 <div className="min-h-0 flex-1 overflow-y-auto">
280 {filteredTools.length === 0 ? (280 {filteredTools.length === 0 ? (
281 <div className="p-4 text-center text-[13px] text-muted-foreground">281 <div className="p-4 text-center text-xs text-muted-foreground">
282 {terms.length > 0 ? "No tools match your filter" : "No tools available"}282 {terms.length > 0 ? "No tools match your filter" : "No tools available"}
283 </div>283 </div>
284 ) : (284 ) : (
@@ -318,7 +318,7 @@ export function ToolTree(props: { · 33 unmodified lines
318const rowIndent = (depth: number) => 12 + depth * 16;318const rowIndent = (depth: number) => 12 + depth * 16;
319 319
320const rowBaseClasses =320const rowBaseClasses =
321 "relative flex h-auto w-full items-center justify-start gap-2 rounded-none py-2 text-[13px] font-normal transition-[background-color] duration-150";321 "relative flex h-auto w-full items-center justify-start gap-2 rounded-none py-2 text-xs font-normal transition-[background-color] duration-150";
322 322
323function ToolGroupRow(props: {323function ToolGroupRow(props: {
324 segment: string;324 segment: string;
@@ -343,10 +343,10 @@ function ToolGroupRow(props: { · 18 unmodified lines
343 props.open && "rotate-90",343 props.open && "rotate-90",
344 )}344 )}
345 />345 />
346 <span className="min-w-0 flex-1 truncate text-left font-mono text-[13px] text-foreground">346 <span className="min-w-0 flex-1 truncate text-left font-mono text-xs text-foreground">
347 {highlightMatch(props.segment, props.search)}347 {highlightMatch(props.segment, props.search)}
348 </span>348 </span>
349 <span className="shrink-0 tabular-nums text-[11px] text-muted-foreground">{props.count}</span>349 <span className="shrink-0 tabular-nums text-xs text-muted-foreground">{props.count}</span>
350 </Button>350 </Button>
351 );351 );
352}352}
packages/react/src/pages/secrets.tsx+18−18
@@ -103,7 +103,7 @@ function AddSecretDialog(props: { open: boolean; onOpenChange: (v: boolean) => v · 102 unmodified lines
103 <DialogContent className="sm:max-w-[440px]">103 <DialogContent className="sm:max-w-[440px]">
104 <DialogHeader>104 <DialogHeader>
105 <DialogTitle className="font-display text-xl">New secret</DialogTitle>105 <DialogTitle className="font-display text-xl">New secret</DialogTitle>
106 <DialogDescription className="text-[13px] leading-relaxed">106 <DialogDescription className="text-sm leading-relaxed">
107 Store a credential or API key. Values are kept in your system keychain when available,107 Store a credential or API key. Values are kept in your system keychain when available,
108 with a local encrypted file fallback.108 with a local encrypted file fallback.
109 </DialogDescription>109 </DialogDescription>
@@ -114,7 +114,7 @@ function AddSecretDialog(props: { open: boolean; onOpenChange: (v: boolean) => v · 4 unmodified lines
114 <div className="grid gap-1.5">114 <div className="grid gap-1.5">
115 <Label115 <Label
116 htmlFor="secret-id"116 htmlFor="secret-id"
117 className="text-[11px] font-medium uppercase tracking-wider text-muted-foreground"117 className="text-sm font-medium uppercase tracking-wider text-muted-foreground"
118 >118 >
119 ID119 ID
120 </Label>120 </Label>
@@ -123,13 +123,13 @@ function AddSecretDialog(props: { open: boolean; onOpenChange: (v: boolean) => v · 2 unmodified lines
123 placeholder="github-token"123 placeholder="github-token"
124 value={id}124 value={id}
125 onChange={(e) => setId((e.target as HTMLInputElement).value)}125 onChange={(e) => setId((e.target as HTMLInputElement).value)}
126 className="font-mono text-[13px] h-9"126 className="font-mono text-xs h-9"
127 />127 />
128 </div>128 </div>
129 <div className="grid gap-1.5">129 <div className="grid gap-1.5">
130 <Label130 <Label
131 htmlFor="secret-name"131 htmlFor="secret-name"
132 className="text-[11px] font-medium uppercase tracking-wider text-muted-foreground"132 className="text-sm font-medium uppercase tracking-wider text-muted-foreground"
133 >133 >
134 Name134 Name
135 </Label>135 </Label>
@@ -138,7 +138,7 @@ function AddSecretDialog(props: { open: boolean; onOpenChange: (v: boolean) => v · 2 unmodified lines
138 placeholder="GitHub PAT"138 placeholder="GitHub PAT"
139 value={name}139 value={name}
140 onChange={(e) => setName((e.target as HTMLInputElement).value)}140 onChange={(e) => setName((e.target as HTMLInputElement).value)}
141 className="text-[13px] h-9"141 className="text-sm h-9"
142 />142 />
143 </div>143 </div>
144 </div>144 </div>
@@ -146,7 +146,7 @@ function AddSecretDialog(props: { open: boolean; onOpenChange: (v: boolean) => v · 1 unmodified line
146 <div className="grid gap-1.5">146 <div className="grid gap-1.5">
147 <Label147 <Label
148 htmlFor="secret-value"148 htmlFor="secret-value"
149 className="text-[11px] font-medium uppercase tracking-wider text-muted-foreground"149 className="text-sm font-medium uppercase tracking-wider text-muted-foreground"
150 >150 >
151 Value151 Value
152 </Label>152 </Label>
@@ -156,7 +156,7 @@ function AddSecretDialog(props: { open: boolean; onOpenChange: (v: boolean) => v · 3 unmodified lines
156 placeholder="ghp_xxxxxxxxxxxxxxxxxxxx"156 placeholder="ghp_xxxxxxxxxxxxxxxxxxxx"
157 value={value}157 value={value}
158 onChange={(e) => setValue((e.target as HTMLInputElement).value)}158 onChange={(e) => setValue((e.target as HTMLInputElement).value)}
159 className="font-mono text-[13px] h-9"159 className="font-mono text-xs h-9"
160 />160 />
161 </div>161 </div>
162 162
@@ -164,10 +164,10 @@ function AddSecretDialog(props: { open: boolean; onOpenChange: (v: boolean) => v · 1 unmodified line
164 <div className="grid gap-1.5">164 <div className="grid gap-1.5">
165 <Label165 <Label
166 htmlFor="secret-purpose"166 htmlFor="secret-purpose"
167 className="text-[11px] font-medium uppercase tracking-wider text-muted-foreground"167 className="text-sm font-medium uppercase tracking-wider text-muted-foreground"
168 >168 >
169 Purpose{" "}169 Purpose{" "}
170 <span className="normal-case tracking-normal font-normal text-muted-foreground/60">170 <span className="normal-case tracking-normal font-normal text-muted-foreground">
171 (opt.)171 (opt.)
172 </span>172 </span>
173 </Label>173 </Label>
@@ -176,18 +176,18 @@ function AddSecretDialog(props: { open: boolean; onOpenChange: (v: boolean) => v · 2 unmodified lines
176 placeholder="GitHub API auth"176 placeholder="GitHub API auth"
177 value={purpose}177 value={purpose}
178 onChange={(e) => setPurpose((e.target as HTMLInputElement).value)}178 onChange={(e) => setPurpose((e.target as HTMLInputElement).value)}
179 className="text-[13px] h-9"179 className="text-sm h-9"
180 />180 />
181 </div>181 </div>
182 <div className="grid gap-1.5">182 <div className="grid gap-1.5">
183 <Label183 <Label
184 htmlFor="secret-provider"184 htmlFor="secret-provider"
185 className="text-[11px] font-medium uppercase tracking-wider text-muted-foreground"185 className="text-sm font-medium uppercase tracking-wider text-muted-foreground"
186 >186 >
187 Storage187 Storage
188 </Label>188 </Label>
189 <Select value={provider} onValueChange={setProvider}>189 <Select value={provider} onValueChange={setProvider}>
190 <SelectTrigger id="secret-provider" className="h-9 text-[13px]">190 <SelectTrigger id="secret-provider" className="h-9 text-sm">
191 <SelectValue />191 <SelectValue />
192 </SelectTrigger>192 </SelectTrigger>
193 <SelectContent>193 <SelectContent>
@@ -201,7 +201,7 @@ function AddSecretDialog(props: { open: boolean; onOpenChange: (v: boolean) => v · 7 unmodified lines
201 201
202 {error && (202 {error && (
203 <div className="rounded-lg border border-destructive/30 bg-destructive/5 px-3 py-2">203 <div className="rounded-lg border border-destructive/30 bg-destructive/5 px-3 py-2">
204 <p className="text-[12px] text-destructive">{error}</p>204 <p className="text-sm text-destructive">{error}</p>
205 </div>205 </div>
206 )}206 )}
207 </div>207 </div>
@@ -265,7 +265,7 @@ function SecretRow(props: { · 57 unmodified lines
265 </DropdownMenuTrigger>265 </DropdownMenuTrigger>
266 <DropdownMenuContent align="end" className="w-40">266 <DropdownMenuContent align="end" className="w-40">
267 <DropdownMenuItem267 <DropdownMenuItem
268 className="text-destructive focus:text-destructive text-[12px]"268 className="text-destructive focus:text-destructive text-sm"
269 onClick={props.onRemove}269 onClick={props.onRemove}
270 >270 >
271 Remove secret271 Remove secret
@@ -312,7 +312,7 @@ export function SecretsPage(props: { secretProviderPlugins: readonly SecretProvi · 40 unmodified lines
312 <h1 className="font-display text-[2rem] tracking-tight text-foreground leading-none">312 <h1 className="font-display text-[2rem] tracking-tight text-foreground leading-none">
313 Secrets313 Secrets
314 </h1>314 </h1>
315 <p className="mt-2 text-[13px] text-muted-foreground leading-relaxed">315 <p className="mt-2 text-sm text-muted-foreground leading-relaxed">
316 Credentials and API keys used by your connected sources.316 Credentials and API keys used by your connected sources.
317 </p>317 </p>
318 </div>318 </div>
@@ -349,12 +349,12 @@ export function SecretsPage(props: { secretProviderPlugins: readonly SecretProvi · 30 unmodified lines
349 onInitial: () => (349 onInitial: () => (
350 <div className="flex items-center gap-2 py-8">350 <div className="flex items-center gap-2 py-8">
351 <div className="size-1.5 rounded-full bg-muted-foreground/30 animate-pulse" />351 <div className="size-1.5 rounded-full bg-muted-foreground/30 animate-pulse" />
352 <p className="text-[13px] text-muted-foreground/60">Loading secrets…</p>352 <p className="text-sm text-muted-foreground">Loading secrets…</p>
353 </div>353 </div>
354 ),354 ),
355 onFailure: () => (355 onFailure: () => (
356 <div className="rounded-lg border border-destructive/30 bg-destructive/5 px-4 py-3">356 <div className="rounded-lg border border-destructive/30 bg-destructive/5 px-4 py-3">
357 <p className="text-[13px] text-destructive">Failed to load secrets</p>357 <p className="text-sm text-destructive">Failed to load secrets</p>
358 </div>358 </div>
359 ),359 ),
360 onSuccess: ({ value }) => (360 onSuccess: ({ value }) => (
@@ -372,7 +372,7 @@ export function SecretsPage(props: { secretProviderPlugins: readonly SecretProvi · 11 unmodified lines
372 <Button372 <Button
373 variant="link"373 variant="link"
374 size="sm"374 size="sm"
375 className="h-7 px-0 text-[12px]"375 className="h-7 px-0 text-xs"
376 onClick={() => setAddOpen(true)}376 onClick={() => setAddOpen(true)}
377 >377 >
378 Add your first secret378 Add your first secret
packages/react/src/pages/source-detail.tsx+2−2
@@ -121,7 +121,7 @@ export function SourceDetailPage(props: { · 120 unmodified lines
121 )}121 )}
122 <Badge variant="secondary">{sourceData?.kind ?? "source"}</Badge>122 <Badge variant="secondary">{sourceData?.kind ?? "source"}</Badge>
123 {Result.isSuccess(tools) && !editing && (123 {Result.isSuccess(tools) && !editing && (
124 <span className="hidden text-[11px] tabular-nums text-muted-foreground/50 sm:block">124 <span className="hidden text-xs tabular-nums text-muted-foreground sm:block">
125 {sourceTools.length} {sourceTools.length === 1 ? "tool" : "tools"}125 {sourceTools.length} {sourceTools.length === 1 ? "tool" : "tools"}
126 </span>126 </span>
127 )}127 )}
@@ -155,7 +155,7 @@ export function SourceDetailPage(props: { · 27 unmodified lines
155 !editing &&155 !editing &&
156 (confirmDelete ? (156 (confirmDelete ? (
157 <div className="flex items-center gap-2">157 <div className="flex items-center gap-2">
158 <span className="text-[11px] font-medium text-destructive">Confirm?</span>158 <span className="text-xs font-medium text-destructive">Confirm?</span>
159 <Button159 <Button
160 variant="outline"160 variant="outline"
161 size="sm"161 size="sm"
packages/react/src/pages/sources-add.tsx+2−2
@@ -28,10 +28,10 @@ export function SourcesAddPage(props: { · 27 unmodified lines
28 <div className="min-h-0 flex-1 overflow-y-auto">28 <div className="min-h-0 flex-1 overflow-y-auto">
29 <div className="mx-auto max-w-4xl px-6 py-10 lg:px-10 lg:py-14">29 <div className="mx-auto max-w-4xl px-6 py-10 lg:px-10 lg:py-14">
30 <div className="flex flex-col items-center justify-center rounded-2xl border border-dashed border-border py-20">30 <div className="flex flex-col items-center justify-center rounded-2xl border border-dashed border-border py-20">
31 <p className="text-[14px] font-medium text-foreground/70 mb-1">31 <p className="text-sm font-medium text-foreground/70 mb-1">
32 Unknown source type: {pluginKey}32 Unknown source type: {pluginKey}
33 </p>33 </p>
34 <p className="text-[13px] text-muted-foreground/60 mb-5">34 <p className="text-xs text-muted-foreground mb-5">
35 This source plugin is not registered.35 This source plugin is not registered.
36 </p>36 </p>
37 <Link37 <Link
packages/react/src/pages/sources.tsx+9−9
@@ -72,7 +72,7 @@ export function SourcesPage(props: { sourcePlugins: readonly SourcePlugin[] }) { · 71 unmodified lines
72 <h1 className="font-display text-3xl tracking-tight text-foreground lg:text-4xl">72 <h1 className="font-display text-3xl tracking-tight text-foreground lg:text-4xl">
73 Sources73 Sources
74 </h1>74 </h1>
75 <p className="mt-1.5 text-[14px] text-muted-foreground">75 <p className="mt-1.5 text-sm text-muted-foreground">
76 Tool providers available in this workspace.76 Tool providers available in this workspace.
77 </p>77 </p>
78 </div>78 </div>
@@ -139,8 +139,8 @@ export function SourcesPage(props: { sourcePlugins: readonly SourcePlugin[] }) { · 60 unmodified lines
139 />139 />
140 </svg>140 </svg>
141 </div>141 </div>
142 <p className="text-[14px] font-medium text-foreground/70 mb-1">No sources yet</p>142 <p className="text-sm font-medium text-foreground/70 mb-1">No sources yet</p>
143 <p className="text-[13px] text-muted-foreground/60 mb-5">143 <p className="text-xs text-muted-foreground mb-5">
144 Add a source to get started.144 Add a source to get started.
145 </p>145 </p>
146 </div>146 </div>
@@ -150,7 +150,7 @@ export function SourcesPage(props: { sourcePlugins: readonly SourcePlugin[] }) { · 3 unmodified lines
150 <section className="space-y-3">150 <section className="space-y-3">
151 <div>151 <div>
152 <h2 className="text-sm font-semibold text-foreground">Built-in</h2>152 <h2 className="text-sm font-semibold text-foreground">Built-in</h2>
153 <p className="mt-1 text-[13px] text-muted-foreground">153 <p className="mt-1 text-sm text-muted-foreground">
154 Runtime sources exposed by the loaded executor plugins.154 Runtime sources exposed by the loaded executor plugins.
155 </p>155 </p>
156 </div>156 </div>
@@ -162,7 +162,7 @@ export function SourcesPage(props: { sourcePlugins: readonly SourcePlugin[] }) { · 5 unmodified lines
162 <section className="space-y-3">162 <section className="space-y-3">
163 <div>163 <div>
164 <h2 className="text-sm font-semibold text-foreground">Connected</h2>164 <h2 className="text-sm font-semibold text-foreground">Connected</h2>
165 <p className="mt-1 text-[13px] text-muted-foreground">165 <p className="mt-1 text-sm text-muted-foreground">
166 User-configured sources available in this workspace.166 User-configured sources available in this workspace.
167 </p>167 </p>
168 </div>168 </div>
@@ -207,7 +207,7 @@ function PresetCard({ preset, pluginKey, pluginLabel }: PresetEntry) { · 38 unmodified lines
207 <div className="min-w-0 flex-1">207 <div className="min-w-0 flex-1">
208 <div className="flex items-center gap-2">208 <div className="flex items-center gap-2">
209 <span className="truncate text-sm font-medium text-foreground">{preset.name}</span>209 <span className="truncate text-sm font-medium text-foreground">{preset.name}</span>
210 <span className="shrink-0 rounded bg-secondary px-1.5 py-0.5 text-[10px] font-medium text-secondary-foreground">210 <span className="shrink-0 rounded bg-secondary px-1.5 py-0.5 text-xs font-medium text-secondary-foreground">
211 {pluginLabel}211 {pluginLabel}
212 </span>212 </span>
213 </div>213 </div>
@@ -234,7 +234,7 @@ function PresetGrid(props: { plugins: readonly SourcePlugin[] }) { · 20 unmodified lines
234 <section className="mb-8 space-y-3">234 <section className="mb-8 space-y-3">
235 <div>235 <div>
236 <h2 className="text-sm font-semibold text-foreground">Popular sources</h2>236 <h2 className="text-sm font-semibold text-foreground">Popular sources</h2>
237 <p className="mt-1 text-[13px] text-muted-foreground">237 <p className="mt-1 text-sm text-muted-foreground">
238 One-click setup for common APIs and services.238 One-click setup for common APIs and services.
239 </p>239 </p>
240 </div>240 </div>
@@ -280,11 +280,11 @@ function SourceGrid(props: { · 39 unmodified lines
280 <div className="truncate text-sm font-semibold text-foreground">{s.name}</div>280 <div className="truncate text-sm font-semibold text-foreground">{s.name}</div>
281 <div className="flex shrink-0 items-center gap-1.5">281 <div className="flex shrink-0 items-center gap-1.5">
282 {s.runtime && (282 {s.runtime && (
283 <span className="rounded bg-muted px-1.5 py-0.5 text-[10px] font-medium text-muted-foreground">283 <span className="rounded bg-muted px-1.5 py-0.5 text-xs font-medium text-muted-foreground">
284 built-in284 built-in
285 </span>285 </span>
286 )}286 )}
287 <span className="rounded bg-secondary px-1.5 py-0.5 text-[10px] font-medium text-secondary-foreground">287 <span className="rounded bg-secondary px-1.5 py-0.5 text-xs font-medium text-secondary-foreground">
288 {s.kind}288 {s.kind}
289 </span>289 </span>
290 </div>290 </div>
packages/react/src/pages/tools.tsx+3−3
@@ -16,7 +16,7 @@ export function ToolsPage() { · 15 unmodified lines
16 <h1 className="font-display text-3xl tracking-tight text-foreground lg:text-4xl">16 <h1 className="font-display text-3xl tracking-tight text-foreground lg:text-4xl">
17 Tools17 Tools
18 </h1>18 </h1>
19 <p className="mt-1.5 text-[14px] text-muted-foreground">19 <p className="mt-1.5 text-sm text-muted-foreground">
20 All registered tools across your connected sources.20 All registered tools across your connected sources.
21 </p>21 </p>
22 </div>22 </div>
@@ -38,10 +38,10 @@ export function ToolsPage() { · 15 unmodified lines
38 />38 />
39 </svg>39 </svg>
40 </div>40 </div>
41 <p className="text-[14px] font-medium text-foreground/70 mb-1">41 <p className="text-sm font-medium text-foreground/70 mb-1">
42 No tools registered42 No tools registered
43 </p>43 </p>
44 <p className="text-[13px] text-muted-foreground/60">44 <p className="text-sm text-muted-foreground">
45 Add a source to start discovering tools.45 Add a source to start discovering tools.
46 </p>46 </p>
47 </div>47 </div>
packages/react/src/plugins/secret-header-auth.tsx+13−13
@@ -99,31 +99,31 @@ function InlineCreateSecret(props: { · 98 unmodified lines
99 99
100 return (100 return (
101 <div className="rounded-lg border border-primary/20 bg-primary/[0.02] p-3 space-y-2.5">101 <div className="rounded-lg border border-primary/20 bg-primary/[0.02] p-3 space-y-2.5">
102 <p className="text-[11px] font-semibold text-primary tracking-wide uppercase">New secret</p>102 <p className="text-xs font-semibold text-primary tracking-wide uppercase">New secret</p>
103 <div className="grid grid-cols-2 gap-2">103 <div className="grid grid-cols-2 gap-2">
104 <div className="space-y-1">104 <div className="space-y-1">
105 <Label className="text-[10px] uppercase tracking-wider text-muted-foreground">ID</Label>105 <Label className="text-xs uppercase tracking-wider text-muted-foreground">ID</Label>
106 <Input106 <Input
107 value={secretId}107 value={secretId}
108 onChange={(e) => setSecretId((e.target as HTMLInputElement).value)}108 onChange={(e) => setSecretId((e.target as HTMLInputElement).value)}
109 placeholder="my-api-token"109 placeholder="my-api-token"
110 className="h-8 text-xs font-mono"110 className="h-8 text-sm font-mono"
111 />111 />
112 </div>112 </div>
113 <div className="space-y-1">113 <div className="space-y-1">
114 <Label className="text-[10px] uppercase tracking-wider text-muted-foreground">114 <Label className="text-xs uppercase tracking-wider text-muted-foreground">
115 Label115 Label
116 </Label>116 </Label>
117 <Input117 <Input
118 value={secretName}118 value={secretName}
119 onChange={(e) => setSecretName((e.target as HTMLInputElement).value)}119 onChange={(e) => setSecretName((e.target as HTMLInputElement).value)}
120 placeholder="API Token"120 placeholder="API Token"
121 className="h-8 text-xs"121 className="h-8 text-sm"
122 />122 />
123 </div>123 </div>
124 </div>124 </div>
125 <div className="space-y-1">125 <div className="space-y-1">
126 <Label className="text-[10px] uppercase tracking-wider text-muted-foreground">Value</Label>126 <Label className="text-xs uppercase tracking-wider text-muted-foreground">Value</Label>
127 <div className="relative">127 <div className="relative">
128 <Input128 <Input
129 type={secretRevealed ? "text" : "password"}129 type={secretRevealed ? "text" : "password"}
@@ -144,7 +144,7 @@ function InlineCreateSecret(props: { · 14 unmodified lines
144 </Button>144 </Button>
145 </div>145 </div>
146 </div>146 </div>
147 {error && <p className="text-[11px] text-destructive">{error}</p>}147 {error && <p className="text-sm text-destructive">{error}</p>}
148 <div className="flex gap-1.5 pt-0.5">148 <div className="flex gap-1.5 pt-0.5">
149 <Button variant="outline" size="xs" onClick={props.onCancel}>149 <Button variant="outline" size="xs" onClick={props.onCancel}>
150 Cancel150 Cancel
@@ -326,7 +326,7 @@ export function SecretHeaderAuthRow(props: { · 175 unmodified lines
326 return (326 return (
327 <div className="rounded-lg border border-border bg-card p-3 space-y-2.5">327 <div className="rounded-lg border border-border bg-card p-3 space-y-2.5">
328 <div className="flex items-center justify-between">328 <div className="flex items-center justify-between">
329 <Label className="text-[10px] uppercase tracking-wider text-muted-foreground">329 <Label className="text-xs uppercase tracking-wider text-muted-foreground">
330 {label}330 {label}
331 </Label>331 </Label>
332 {onRemove && (332 {onRemove && (
@@ -369,7 +369,7 @@ export function SecretHeaderAuthRow(props: { · 36 unmodified lines
369 {presetKey !== undefined && (369 {presetKey !== undefined && (
370 <div className="grid grid-cols-2 gap-2">370 <div className="grid grid-cols-2 gap-2">
371 <div className="space-y-1">371 <div className="space-y-1">
372 <Label className="text-[10px] uppercase tracking-wider text-muted-foreground">372 <Label className="text-xs uppercase tracking-wider text-muted-foreground">
373 Name373 Name
374 </Label>374 </Label>
375 <Input375 <Input
@@ -382,13 +382,13 @@ export function SecretHeaderAuthRow(props: { · 6 unmodified lines
382 })382 })
383 }383 }
384 placeholder="Authorization"384 placeholder="Authorization"
385 className="h-8 text-xs font-mono"385 className="h-8 text-sm font-mono"
386 />386 />
387 </div>387 </div>
388 <div className="space-y-1">388 <div className="space-y-1">
389 <Label className="text-[10px] uppercase tracking-wider text-muted-foreground">389 <Label className="text-xs uppercase tracking-wider text-muted-foreground">
390 Prefix{" "}390 Prefix{" "}
391 <span className="normal-case tracking-normal font-normal text-muted-foreground/60">391 <span className="normal-case tracking-normal font-normal text-muted-foreground">
392 (opt.)392 (opt.)
393 </span>393 </span>
394 </Label>394 </Label>
@@ -402,7 +402,7 @@ export function SecretHeaderAuthRow(props: { · 7 unmodified lines
402 })402 })
403 }403 }
404 placeholder="Bearer "404 placeholder="Bearer "
405 className="h-8 text-xs font-mono"405 className="h-8 text-sm font-mono"
406 />406 />
407 </div>407 </div>
408 </div>408 </div>
packages/react/src/plugins/secret-picker.tsx+1−1
@@ -116,7 +116,7 @@ export function SecretPicker(props: { · 115 unmodified lines
116 }}116 }}
117 >117 >
118 <span className="truncate">{secret.name}</span>118 <span className="truncate">{secret.name}</span>
119 <span className="ml-auto truncate text-[10px] font-mono text-muted-foreground">119 <span className="ml-auto truncate text-xs font-mono text-muted-foreground">
120 {secret.id}120 {secret.id}
121 </span>121 </span>
122 </CommandItem>122 </CommandItem>
packages/react/src/styles/globals.css+3−3
@@ -99,16 +99,16 @@ · 98 unmodified lines
99 --secondary: oklch(0.195 0.007 260);99 --secondary: oklch(0.195 0.007 260);
100 --secondary-foreground: oklch(0.78 0.008 250);100 --secondary-foreground: oklch(0.78 0.008 250);
101 --muted: oklch(0.175 0.005 260);101 --muted: oklch(0.175 0.005 260);
102 --muted-foreground: oklch(0.56 0.01 250);102 --muted-foreground: oklch(0.65 0.01 250);
103 --accent: oklch(0.195 0.008 260);103 --accent: oklch(0.195 0.008 260);
104 --accent-foreground: oklch(0.9 0.008 250);104 --accent-foreground: oklch(0.9 0.008 250);
105 --destructive: oklch(0.62 0.22 25);105 --destructive: oklch(0.62 0.22 25);
106 --border: oklch(0.235 0.007 260);106 --border: oklch(0.28 0.007 260);
107 --input: oklch(0.195 0.007 260);107 --input: oklch(0.195 0.007 260);
108 --ring: oklch(0.72 0.15 175);108 --ring: oklch(0.72 0.15 175);
109 109
110 --sidebar: oklch(0.105 0.005 260);110 --sidebar: oklch(0.105 0.005 260);
111 --sidebar-foreground: oklch(0.72 0.008 250);111 --sidebar-foreground: oklch(0.78 0.008 250);
112 --sidebar-border: oklch(0.2 0.006 260);112 --sidebar-border: oklch(0.2 0.006 260);
113 --sidebar-active: oklch(0.18 0.008 260);113 --sidebar-active: oklch(0.18 0.008 260);
114 114

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t