@eigenhq/kern 0.1.0 → 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -415,6 +415,7 @@ var MOTION = {
415
415
  paper: { dampingRatio: 0.85, responseMs: 520, restMs: 575 }
416
416
  }
417
417
  };
418
+ var PALETTE_NAMES = ["meadow", "air", "cloud", "poplar", "path", "dusk", "roof"];
418
419
  var KERN_ICONS = {
419
420
  AddIcon,
420
421
  AlarmIcon,
@@ -593,27 +594,27 @@ function AvatarRipple({ colorClassName, shapeClassName = "rounded-full" }) {
593
594
  }
594
595
  );
595
596
  }
596
- var AVATAR_RAMPS = ["moss", "lake", "ochre", "clay", "plum", "flint", "brick"];
597
+ var AVATAR_RAMPS = ["meadow", "air", "poplar", "cloud", "dusk", "path", "roof"];
597
598
  var AVATAR_TONES = ["rich", "soft"];
598
599
  var MONOGRAM_GRADIENTS = {
599
600
  rich: {
600
- moss: "from-ramp-1-500 to-ramp-1-600 text-label-on-tint",
601
- lake: "from-ramp-2-500 to-ramp-2-600 text-label-on-tint",
602
- ochre: "from-ramp-4-300 to-ramp-4-400 text-ramp-4-800",
603
- clay: "from-ramp-3-500 to-ramp-3-600 text-label-on-tint",
604
- plum: "from-ramp-6-500 to-ramp-6-600 text-label-on-tint",
605
- flint: "from-ramp-5-500 to-ramp-5-600 text-label-on-tint",
606
- brick: "from-ramp-7-500 to-ramp-7-600 text-label-on-tint"
601
+ meadow: "from-meadow-500 to-meadow-600 text-label-on-tint",
602
+ air: "from-air-500 to-air-600 text-label-on-tint",
603
+ poplar: "from-poplar-300 to-poplar-400 text-poplar-800",
604
+ cloud: "from-cloud-500 to-cloud-600 text-label-on-tint",
605
+ dusk: "from-dusk-500 to-dusk-600 text-label-on-tint",
606
+ path: "from-path-500 to-path-600 text-label-on-tint",
607
+ roof: "from-roof-500 to-roof-600 text-label-on-tint"
607
608
  },
608
609
  // In dark mode the pale steps glare on black, so a soft avatar turns to the ramp's deep 700–800 steps with pale ink.
609
610
  soft: {
610
- moss: "from-ramp-1-200 to-ramp-1-300 text-ramp-1-800 dark:from-ramp-1-700 dark:to-ramp-1-800 dark:text-ramp-1-200",
611
- lake: "from-ramp-2-200 to-ramp-2-300 text-ramp-2-800 dark:from-ramp-2-700 dark:to-ramp-2-800 dark:text-ramp-2-200",
612
- ochre: "from-ramp-4-200 to-ramp-4-300 text-ramp-4-800 dark:from-ramp-4-700 dark:to-ramp-4-800 dark:text-ramp-4-200",
613
- clay: "from-ramp-3-200 to-ramp-3-300 text-ramp-3-800 dark:from-ramp-3-700 dark:to-ramp-3-800 dark:text-ramp-3-200",
614
- plum: "from-ramp-6-200 to-ramp-6-300 text-ramp-6-800 dark:from-ramp-6-700 dark:to-ramp-6-800 dark:text-ramp-6-200",
615
- flint: "from-ramp-5-200 to-ramp-5-300 text-ramp-5-800 dark:from-ramp-5-700 dark:to-ramp-5-800 dark:text-ramp-5-200",
616
- brick: "from-ramp-7-200 to-ramp-7-300 text-ramp-7-800 dark:from-ramp-7-700 dark:to-ramp-7-800 dark:text-ramp-7-200"
611
+ meadow: "from-meadow-200 to-meadow-300 text-meadow-800 dark:from-meadow-700 dark:to-meadow-800 dark:text-meadow-200",
612
+ air: "from-air-200 to-air-300 text-air-800 dark:from-air-700 dark:to-air-800 dark:text-air-200",
613
+ poplar: "from-poplar-200 to-poplar-300 text-poplar-800 dark:from-poplar-700 dark:to-poplar-800 dark:text-poplar-200",
614
+ cloud: "from-cloud-200 to-cloud-300 text-cloud-800 dark:from-cloud-700 dark:to-cloud-800 dark:text-cloud-200",
615
+ dusk: "from-dusk-200 to-dusk-300 text-dusk-800 dark:from-dusk-700 dark:to-dusk-800 dark:text-dusk-200",
616
+ path: "from-path-200 to-path-300 text-path-800 dark:from-path-700 dark:to-path-800 dark:text-path-200",
617
+ roof: "from-roof-200 to-roof-300 text-roof-800 dark:from-roof-700 dark:to-roof-800 dark:text-roof-200"
617
618
  }
618
619
  };
619
620
  var AVATAR_COLORS = AVATAR_TONES.flatMap((tone) => AVATAR_RAMPS.map((ramp) => ({ ramp, tone })));
@@ -978,7 +979,7 @@ function GlassCapsule({ children, className }) {
978
979
  function toLitCardClassName(isLit) {
979
980
  return cn(
980
981
  "outline outline-[1.5px] -outline-offset-[1.5px] transition-[outline-color] duration-(--duration-fade) motion-reduce:transition-none",
981
- isLit ? "outline-ramp-1-300/55" : "outline-transparent"
982
+ isLit ? "outline-meadow-300/55" : "outline-transparent"
982
983
  );
983
984
  }
984
985
  var FILL_SIZE_CLASSNAME = { md: "size-10 [&_svg]:size-5", sm: "size-8 [&_svg]:size-4" };
@@ -1383,7 +1384,7 @@ function PaneCaption({ children }) {
1383
1384
  return /* @__PURE__ */ jsx("p", { className: "text-caption tabular-nums text-label-secondary", children });
1384
1385
  }
1385
1386
  var ICON_TILE_STROKE_WIDTH = 2;
1386
- function IconTile({ icon: Icon, className = "bg-ramp-5-500" }) {
1387
+ function IconTile({ icon: Icon, className = "bg-path-500" }) {
1387
1388
  return /* @__PURE__ */ jsx("span", { className: cn("flex size-7 shrink-0 items-center justify-center rounded-tile text-label-on-tint", className), children: /* @__PURE__ */ jsx(Icon, { className: "size-4", strokeWidth: ICON_TILE_STROKE_WIDTH }) });
1388
1389
  }
1389
1390
  function TypeAvatar({ icon: Icon, className, size = "md" }) {
@@ -1418,23 +1419,14 @@ function StatusGlyph({ tone }) {
1418
1419
  }
1419
1420
  );
1420
1421
  }
1421
- var CHIP_COLOR_BY_AVATAR_RAMP = {
1422
- moss: "meadow",
1423
- lake: "air",
1424
- ochre: "poplar",
1425
- clay: "cloud",
1426
- plum: "dusk",
1427
- flint: "path",
1428
- brick: "roof"
1429
- };
1430
1422
  var CHIP_COLOR_CLASSNAMES = {
1431
- meadow: { rest: "bg-ramp-1-200 text-ramp-1-800 [&_svg]:text-ramp-1-600 dark:bg-ramp-1-800 dark:text-ramp-1-100 dark:[&_svg]:text-ramp-1-300", hover: "bg-ramp-1-300 dark:bg-ramp-1-700", chosen: "bg-ramp-1-500 text-label-on-tint" },
1432
- air: { rest: "bg-ramp-2-200 text-ramp-2-800 [&_svg]:text-ramp-2-600 dark:bg-ramp-2-800 dark:text-ramp-2-100 dark:[&_svg]:text-ramp-2-300", hover: "bg-ramp-2-300 dark:bg-ramp-2-700", chosen: "bg-ramp-2-500 text-label-on-tint" },
1433
- poplar: { rest: "bg-ramp-4-200 text-ramp-4-800 [&_svg]:text-ramp-4-600 dark:bg-ramp-4-800 dark:text-ramp-4-100 dark:[&_svg]:text-ramp-4-300", hover: "bg-ramp-4-300 dark:bg-ramp-4-700", chosen: "bg-ramp-4-400 text-ramp-4-900" },
1434
- cloud: { rest: "bg-ramp-3-200 text-ramp-3-800 [&_svg]:text-ramp-3-600 dark:bg-ramp-3-800 dark:text-ramp-3-100 dark:[&_svg]:text-ramp-3-300", hover: "bg-ramp-3-300 dark:bg-ramp-3-700", chosen: "bg-ramp-3-500 text-label-on-tint" },
1435
- dusk: { rest: "bg-ramp-6-200 text-ramp-6-800 [&_svg]:text-ramp-6-600 dark:bg-ramp-6-800 dark:text-ramp-6-100 dark:[&_svg]:text-ramp-6-300", hover: "bg-ramp-6-300 dark:bg-ramp-6-700", chosen: "bg-ramp-6-500 text-label-on-tint" },
1436
- roof: { rest: "bg-ramp-7-200 text-ramp-7-800 [&_svg]:text-ramp-7-600 dark:bg-ramp-7-800 dark:text-ramp-7-100 dark:[&_svg]:text-ramp-7-300", hover: "bg-ramp-7-300 dark:bg-ramp-7-700", chosen: "bg-ramp-7-500 text-label-on-tint" },
1437
- path: { rest: "bg-ramp-5-200 text-ramp-5-800 [&_svg]:text-ramp-5-600 dark:bg-ramp-5-700 dark:text-ramp-5-100 dark:[&_svg]:text-ramp-5-300", hover: "bg-ramp-5-300 dark:bg-ramp-5-600", chosen: "bg-ramp-5-700 text-label-on-tint" }
1423
+ meadow: { rest: "bg-meadow-200 text-meadow-800 [&_svg]:text-meadow-600 dark:bg-meadow-800 dark:text-meadow-100 dark:[&_svg]:text-meadow-300", hover: "bg-meadow-300 dark:bg-meadow-700", chosen: "bg-meadow-500 text-label-on-tint" },
1424
+ air: { rest: "bg-air-200 text-air-800 [&_svg]:text-air-600 dark:bg-air-800 dark:text-air-100 dark:[&_svg]:text-air-300", hover: "bg-air-300 dark:bg-air-700", chosen: "bg-air-500 text-label-on-tint" },
1425
+ poplar: { rest: "bg-poplar-200 text-poplar-800 [&_svg]:text-poplar-600 dark:bg-poplar-800 dark:text-poplar-100 dark:[&_svg]:text-poplar-300", hover: "bg-poplar-300 dark:bg-poplar-700", chosen: "bg-poplar-400 text-poplar-900" },
1426
+ cloud: { rest: "bg-cloud-200 text-cloud-800 [&_svg]:text-cloud-600 dark:bg-cloud-800 dark:text-cloud-100 dark:[&_svg]:text-cloud-300", hover: "bg-cloud-300 dark:bg-cloud-700", chosen: "bg-cloud-500 text-label-on-tint" },
1427
+ dusk: { rest: "bg-dusk-200 text-dusk-800 [&_svg]:text-dusk-600 dark:bg-dusk-800 dark:text-dusk-100 dark:[&_svg]:text-dusk-300", hover: "bg-dusk-300 dark:bg-dusk-700", chosen: "bg-dusk-500 text-label-on-tint" },
1428
+ roof: { rest: "bg-roof-200 text-roof-800 [&_svg]:text-roof-600 dark:bg-roof-800 dark:text-roof-100 dark:[&_svg]:text-roof-300", hover: "bg-roof-300 dark:bg-roof-700", chosen: "bg-roof-500 text-label-on-tint" },
1429
+ path: { rest: "bg-path-200 text-path-800 [&_svg]:text-path-600 dark:bg-path-700 dark:text-path-100 dark:[&_svg]:text-path-300", hover: "bg-path-300 dark:bg-path-600", chosen: "bg-path-700 text-label-on-tint" }
1438
1430
  };
1439
1431
  function PickerMenuTag({ variant, children }) {
1440
1432
  return /* @__PURE__ */ jsx(
@@ -1515,7 +1507,7 @@ function PickerMenuContent({
1515
1507
  rowIndex === highlightedIndex && "bg-fill-base"
1516
1508
  );
1517
1509
  const chipClassName = (choice, rowIndex) => {
1518
- const chipColors = CHIP_COLOR_CLASSNAMES[choice.color ?? CHIP_COLOR_BY_AVATAR_RAMP[toAvatarRamp(choice.label)]];
1510
+ const chipColors = CHIP_COLOR_CLASSNAMES[choice.color ?? toAvatarRamp(choice.label)];
1519
1511
  return cn(
1520
1512
  "flex h-8 cursor-default select-none items-center gap-1.5 rounded-full px-3.5 text-callout leading-none",
1521
1513
  "transition-[background-color,color,box-shadow] duration-(--duration-fade) ease-sheet motion-reduce:transition-none",
@@ -1925,7 +1917,7 @@ function StarButton({ starred, pending = false, label, onToggle, size = "sm" })
1925
1917
  const iconClassName = size === "sm" ? "size-4" : "size-[18px]";
1926
1918
  const Icon = starred ? StarFilledIcon : StarIcon;
1927
1919
  if (!onToggle) {
1928
- return /* @__PURE__ */ jsx("span", { role: "img", "aria-label": label, className: cn(FILL_GLASS_CLASSNAME, FILL_SIZE_CLASSNAME[size]), children: /* @__PURE__ */ jsx(Icon, { className: cn(iconClassName, starred && "text-ramp-4-400") }) });
1920
+ return /* @__PURE__ */ jsx("span", { role: "img", "aria-label": label, className: cn(FILL_GLASS_CLASSNAME, FILL_SIZE_CLASSNAME[size]), children: /* @__PURE__ */ jsx(Icon, { className: cn(iconClassName, starred && "text-poplar-400") }) });
1929
1921
  }
1930
1922
  return /* @__PURE__ */ jsxs("span", { className: "relative inline-grid shrink-0 place-items-center", children: [
1931
1923
  /* @__PURE__ */ jsx(
@@ -1948,13 +1940,13 @@ function StarButton({ starred, pending = false, label, onToggle, size = "sm" })
1948
1940
  ),
1949
1941
  /* @__PURE__ */ jsxs("span", { "aria-hidden": true, className: "pointer-events-none absolute inset-0 grid place-items-center text-label-primary/80", children: [
1950
1942
  isBursting && /* @__PURE__ */ jsx("span", { className: "absolute inset-0 grid place-items-center motion-reduce:hidden", children: /* @__PURE__ */ jsxs("span", { className: cn("relative", iconClassName), children: [
1951
- /* @__PURE__ */ jsx("span", { className: "absolute inset-0 animate-[kern-star-ring_560ms_var(--theme-ease-standard)_both] rounded-full border-solid border-ramp-4-300" }),
1943
+ /* @__PURE__ */ jsx("span", { className: "absolute inset-0 animate-[kern-star-ring_560ms_var(--theme-ease-standard)_both] rounded-full border-solid border-poplar-300" }),
1952
1944
  STAR_SPARKS.map((spark) => /* @__PURE__ */ jsx(
1953
1945
  "span",
1954
1946
  {
1955
1947
  className: cn(
1956
1948
  "absolute left-1/2 top-1/2 -ml-[1.5px] -mt-[1.5px] size-[3px] animate-[kern-star-spark_640ms_var(--theme-ease-standard)_60ms_both] rounded-full",
1957
- spark.isLight ? "bg-ramp-4-200" : "bg-ramp-4-400"
1949
+ spark.isLight ? "bg-poplar-200" : "bg-poplar-400"
1958
1950
  ),
1959
1951
  style: { "--spark-angle": `${spark.angleDeg}deg`, "--spark-distance": `${spark.distancePx}px` }
1960
1952
  },
@@ -1969,7 +1961,7 @@ function StarButton({ starred, pending = false, label, onToggle, size = "sm" })
1969
1961
  changeCount > 0 && (starred ? "animate-[kern-star-land_640ms_var(--theme-ease-standard)_both]" : "animate-[kern-star-lift_320ms_var(--theme-ease-standard)]"),
1970
1962
  pending && "animate-pulse"
1971
1963
  ),
1972
- children: /* @__PURE__ */ jsx(Icon, { className: cn(iconClassName, starred && "text-ramp-4-400") })
1964
+ children: /* @__PURE__ */ jsx(Icon, { className: cn(iconClassName, starred && "text-poplar-400") })
1973
1965
  },
1974
1966
  `${starred}-${changeCount}`
1975
1967
  )
@@ -2104,7 +2096,7 @@ function DisclosureRow({
2104
2096
  onClick: () => onOpenChange(!open),
2105
2097
  className: "flex min-h-11 w-full items-center gap-3 px-3 py-2 text-left transition-colors duration-(--duration-fade) enabled:hover:bg-fill-hover focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-tint-base disabled:cursor-default",
2106
2098
  children: [
2107
- /* @__PURE__ */ jsx(IconTile, { icon, className: "bg-ramp-5-500" }),
2099
+ /* @__PURE__ */ jsx(IconTile, { icon, className: "bg-path-500" }),
2108
2100
  /* @__PURE__ */ jsx("span", { className: "min-w-0 flex-1 text-body", children: title }),
2109
2101
  /* @__PURE__ */ jsxs("span", { className: "flex shrink-0 items-center gap-0.5 text-body tabular-nums text-label-secondary", children: [
2110
2102
  summary,
@@ -2222,11 +2214,13 @@ function StatusPill({ label, tone }) {
2222
2214
  className: cn(
2223
2215
  // h-fit, so a flex row that stretches its items never stretches the pill past its text; nowrap, so a narrow table column never breaks its word.
2224
2216
  "h-fit shrink-0 whitespace-nowrap rounded-full px-2 py-0.5 text-caption font-semibold transition-colors duration-(--duration-fade) motion-reduce:transition-none",
2225
- tone === "amber" && "bg-status-warning-tint text-status-warning-text",
2217
+ // Warning and critical pills carry their tone's border too: on a white card their pale tint alone read as coloured text, not as a pill.
2218
+ (tone === "amber" || tone === "red") && "ring-1 ring-inset",
2219
+ tone === "amber" && "bg-status-warning-tint text-status-warning-text ring-status-warning-border",
2226
2220
  tone === "blue" && "bg-tint-base/10 text-tint-base",
2227
2221
  tone === "muted" && "bg-fill-base text-label-secondary",
2228
- tone === "red" && "bg-status-critical-tint text-status-critical-text",
2229
- tone === "clay" && "bg-ramp-3-50 text-ramp-3-700"
2222
+ tone === "red" && "bg-status-critical-tint text-status-critical-text ring-status-critical-border",
2223
+ tone === "cloud" && "bg-cloud-50 text-cloud-700"
2230
2224
  ),
2231
2225
  children: /* @__PURE__ */ jsx("span", { className: "inline-block animate-settle-in motion-reduce:animate-none", children: label }, label)
2232
2226
  }
@@ -2329,7 +2323,7 @@ function StatusCard({
2329
2323
  ),
2330
2324
  children: [
2331
2325
  /* @__PURE__ */ jsxs("div", { className: "-mr-1 flex items-center gap-2", children: [
2332
- /* @__PURE__ */ jsx("span", { className: cn("size-2 shrink-0 rounded-full transition-colors duration-(--duration-fade) motion-reduce:transition-none", live ? "bg-ramp-1-500" : "bg-label-secondary/40") }),
2326
+ /* @__PURE__ */ jsx("span", { className: cn("size-2 shrink-0 rounded-full transition-colors duration-(--duration-fade) motion-reduce:transition-none", live ? "bg-meadow-500" : "bg-label-secondary/40") }),
2333
2327
  /* @__PURE__ */ jsx("h3", { className: "min-w-0 flex-1 text-callout font-semibold tracking-tight", children: title }),
2334
2328
  status && /* @__PURE__ */ jsx("span", { className: "text-xs tabular-nums text-label-secondary", children: status }),
2335
2329
  action
@@ -2968,7 +2962,7 @@ function AppWindow({ rail, wash = "afternoon", children, className }) {
2968
2962
  }
2969
2963
  function Panes({ children, className }) {
2970
2964
  if (useContext(WindowShellContext)) return /* @__PURE__ */ jsx(Fragment, { children });
2971
- return /* @__PURE__ */ jsx("div", { className: cn("kern-home relative isolate flex h-full min-h-0 overflow-hidden text-label-primary", className), children });
2965
+ return /* @__PURE__ */ jsx("div", { "data-panes-ground": "", className: cn("kern-home relative isolate flex h-full min-h-0 overflow-hidden bg-surface-base text-label-primary", className), children });
2972
2966
  }
2973
2967
  function ListPane({
2974
2968
  label,
@@ -3679,7 +3673,7 @@ function MediaSenderBadge({
3679
3673
  if (!hasGroup && !isFromAgent && senderName === null) return null;
3680
3674
  return /* @__PURE__ */ jsxs("span", { className: "flex items-center gap-1 drop-shadow-[0_1px_2px_var(--theme-conversation-media-badge-shadow)]", children: [
3681
3675
  hasGroup && /* @__PURE__ */ jsx("span", { className: "block rounded-full bg-surface-base/80 p-px ring-1 ring-conversation-media-badge-ring/70", children: /* @__PURE__ */ jsx(ConversationAvatar, { sizePx: 15, monogram: null, participantNames: groupParticipantNames }) }),
3682
- isFromAgent ? agentAvatarUrl ? /* @__PURE__ */ jsx("img", { src: agentAvatarUrl, alt: "", title: "Agent", className: "size-[22px] rounded-full object-cover ring-[1.5px] ring-conversation-media-badge-ring/80" }) : /* @__PURE__ */ jsx("span", { title: "Agent", className: "flex size-[22px] items-center justify-center rounded-full bg-ramp-5-700/85 text-label-on-tint ring-[1.5px] ring-conversation-media-badge-ring/80", children: /* @__PURE__ */ jsx(MasksIcon, { className: "size-3" }) }) : senderName !== null && /* @__PURE__ */ jsx("span", { title: senderName, className: "block rounded-full ring-[1.5px] ring-conversation-media-badge-ring/80", children: /* @__PURE__ */ jsx(ConversationAvatar, { sizePx: 22, monogram: toMonogram(senderName), tintFromName: senderName }) })
3676
+ isFromAgent ? agentAvatarUrl ? /* @__PURE__ */ jsx("img", { src: agentAvatarUrl, alt: "", title: "Agent", className: "size-[22px] rounded-full object-cover ring-[1.5px] ring-conversation-media-badge-ring/80" }) : /* @__PURE__ */ jsx("span", { title: "Agent", className: "flex size-[22px] items-center justify-center rounded-full bg-path-700/85 text-label-on-tint ring-[1.5px] ring-conversation-media-badge-ring/80", children: /* @__PURE__ */ jsx(MasksIcon, { className: "size-3" }) }) : senderName !== null && /* @__PURE__ */ jsx("span", { title: senderName, className: "block rounded-full ring-[1.5px] ring-conversation-media-badge-ring/80", children: /* @__PURE__ */ jsx(ConversationAvatar, { sizePx: 22, monogram: toMonogram(senderName), tintFromName: senderName }) })
3683
3677
  ] });
3684
3678
  }
3685
3679
  var COLLAPSED_TAG_COUNT = 3;
@@ -3928,8 +3922,8 @@ function TranscriptCard({ icon: Icon, title, status, isRunning = true, label, on
3928
3922
  /* @__PURE__ */ jsx("span", { className: "truncate text-footnote font-semibold text-label-primary", children: title }),
3929
3923
  /* @__PURE__ */ jsxs("span", { className: "flex min-w-0 items-center gap-1.5 text-caption text-label-secondary", children: [
3930
3924
  isRunning && /* @__PURE__ */ jsxs("span", { className: "relative flex size-1.5 shrink-0", "aria-hidden": true, children: [
3931
- /* @__PURE__ */ jsx("span", { className: "absolute inline-flex size-full animate-ping rounded-full bg-ramp-1-500 opacity-60 motion-reduce:animate-none" }),
3932
- /* @__PURE__ */ jsx("span", { className: "relative inline-flex size-1.5 rounded-full bg-ramp-1-500" })
3925
+ /* @__PURE__ */ jsx("span", { className: "absolute inline-flex size-full animate-ping rounded-full bg-meadow-500 opacity-60 motion-reduce:animate-none" }),
3926
+ /* @__PURE__ */ jsx("span", { className: "relative inline-flex size-1.5 rounded-full bg-meadow-500" })
3933
3927
  ] }),
3934
3928
  /* @__PURE__ */ jsx("span", { className: "truncate", children: status })
3935
3929
  ] })
@@ -6831,7 +6825,7 @@ function ViewerMedia({
6831
6825
  playsInline: true,
6832
6826
  onLoadedMetadata: (event) => onNaturalSize({ widthPx: event.currentTarget.videoWidth, heightPx: event.currentTarget.videoHeight }),
6833
6827
  onError: () => setHasFailed(true),
6834
- className: "size-full bg-ramp-5-900 object-contain"
6828
+ className: "size-full bg-path-900 object-contain"
6835
6829
  }
6836
6830
  );
6837
6831
  }
@@ -7508,37 +7502,37 @@ function ToolbarPickerGroup({ label, leading, value, newLabel, newIcon, onPick,
7508
7502
  ] });
7509
7503
  }
7510
7504
  var RAMP_STYLES = {
7511
- lake: { tileClassName: "bg-ramp-2-500", dotClassName: "bg-ramp-2-500", colorVariable: "--air-500" },
7512
- plum: { tileClassName: "bg-ramp-6-500", dotClassName: "bg-ramp-6-500", colorVariable: "--dusk-500" },
7513
- ochre: { tileClassName: "bg-ramp-4-500", dotClassName: "bg-ramp-4-500", colorVariable: "--poplar-500" },
7514
- clay: { tileClassName: "bg-ramp-3-500", dotClassName: "bg-ramp-3-500", colorVariable: "--cloud-500" },
7515
- brick: { tileClassName: "bg-ramp-7-500", dotClassName: "bg-ramp-7-500", colorVariable: "--roof-500" },
7516
- flint: { tileClassName: "bg-ramp-5-500", dotClassName: "bg-ramp-5-500", colorVariable: "--path-500" }
7505
+ air: { tileClassName: "bg-air-500", dotClassName: "bg-air-500", colorVariable: "--air-500" },
7506
+ dusk: { tileClassName: "bg-dusk-500", dotClassName: "bg-dusk-500", colorVariable: "--dusk-500" },
7507
+ poplar: { tileClassName: "bg-poplar-500", dotClassName: "bg-poplar-500", colorVariable: "--poplar-500" },
7508
+ cloud: { tileClassName: "bg-cloud-500", dotClassName: "bg-cloud-500", colorVariable: "--cloud-500" },
7509
+ roof: { tileClassName: "bg-roof-500", dotClassName: "bg-roof-500", colorVariable: "--roof-500" },
7510
+ path: { tileClassName: "bg-path-500", dotClassName: "bg-path-500", colorVariable: "--path-500" }
7517
7511
  };
7518
- var HASHED_RAMPS = ["lake", "plum", "ochre", "clay", "brick", "flint"];
7512
+ var HASHED_RAMPS = ["air", "dusk", "poplar", "cloud", "roof", "path"];
7519
7513
  var KNOWN_TYPE_STYLES = {
7520
- Person: { ramp: "lake", icon: UserRoundedIcon },
7521
- Place: { ramp: "clay", icon: MapPointIcon },
7522
- Bar: { ramp: "clay", icon: Wine },
7523
- Restaurant: { ramp: "clay", icon: UtensilsCrossed },
7524
- Store: { ramp: "clay", icon: ShoppingBag },
7525
- GeographicArea: { ramp: "ochre", icon: MapIcon },
7526
- City: { ramp: "ochre", icon: MapIcon },
7527
- Borough: { ramp: "ochre", icon: MapIcon },
7528
- Neighborhood: { ramp: "ochre", icon: MapIcon },
7529
- Category: { ramp: "flint", icon: TagIcon },
7530
- ConsumerProduct: { ramp: "plum", icon: BagIcon },
7531
- Product: { ramp: "plum", icon: BagIcon },
7532
- FurnitureProduct: { ramp: "plum", icon: Sofa },
7533
- Organization: { ramp: "brick", icon: Building2 },
7534
- Company: { ramp: "brick", icon: Building2 },
7535
- Event: { ramp: "brick", icon: CalendarMinimalisticIcon }
7514
+ Person: { ramp: "air", icon: UserRoundedIcon },
7515
+ Place: { ramp: "cloud", icon: MapPointIcon },
7516
+ Bar: { ramp: "cloud", icon: Wine },
7517
+ Restaurant: { ramp: "cloud", icon: UtensilsCrossed },
7518
+ Store: { ramp: "cloud", icon: ShoppingBag },
7519
+ GeographicArea: { ramp: "poplar", icon: MapIcon },
7520
+ City: { ramp: "poplar", icon: MapIcon },
7521
+ Borough: { ramp: "poplar", icon: MapIcon },
7522
+ Neighborhood: { ramp: "poplar", icon: MapIcon },
7523
+ Category: { ramp: "path", icon: TagIcon },
7524
+ ConsumerProduct: { ramp: "dusk", icon: BagIcon },
7525
+ Product: { ramp: "dusk", icon: BagIcon },
7526
+ FurnitureProduct: { ramp: "dusk", icon: Sofa },
7527
+ Organization: { ramp: "roof", icon: Building2 },
7528
+ Company: { ramp: "roof", icon: Building2 },
7529
+ Event: { ramp: "roof", icon: CalendarMinimalisticIcon }
7536
7530
  };
7537
7531
  var toHashedRamp = (typeKey) => {
7538
7532
  const hash = [...typeKey].reduce((accumulated, character) => accumulated * 31 + character.charCodeAt(0) >>> 0, 7);
7539
7533
  return HASHED_RAMPS[hash % HASHED_RAMPS.length];
7540
7534
  };
7541
- var toKeywordStyle = (typeKey) => /product/i.test(typeKey) ? { ramp: "plum", icon: BagIcon } : /area|city|region|country|neighbou?rhood/i.test(typeKey) ? { ramp: "ochre", icon: MapIcon } : /place|venue|restaurant|cafe|shop/i.test(typeKey) ? { ramp: "clay", icon: MapPointIcon } : null;
7535
+ var toKeywordStyle = (typeKey) => /product/i.test(typeKey) ? { ramp: "dusk", icon: BagIcon } : /area|city|region|country|neighbou?rhood/i.test(typeKey) ? { ramp: "poplar", icon: MapIcon } : /place|venue|restaurant|cafe|shop/i.test(typeKey) ? { ramp: "cloud", icon: MapPointIcon } : null;
7542
7536
  function toGraphTypeStyle(typeKey) {
7543
7537
  const known = KNOWN_TYPE_STYLES[typeKey] ?? toKeywordStyle(typeKey) ?? { ramp: toHashedRamp(typeKey), icon: Shapes };
7544
7538
  return { icon: known.icon, ...RAMP_STYLES[known.ramp] };
@@ -7577,11 +7571,11 @@ function relationshipCurrent(entries) {
7577
7571
 
7578
7572
  // src/graph/relationship-kind-style.ts
7579
7573
  var RELATIONSHIP_KIND_STYLES = {
7580
- KNOWS_ABOUT: { colorVariable: "--path-500", tileClassName: "bg-ramp-5-500", markClassName: "bg-ramp-5-500", dashes: false },
7581
- OBSERVED_WITH: { colorVariable: "--air-500", tileClassName: "bg-ramp-2-500", markClassName: "bg-ramp-2-500", dashes: [1.5, 4] },
7582
- MAY_KNOW: { colorVariable: "--poplar-500", tileClassName: "bg-ramp-4-500", markClassName: "bg-ramp-4-500", dashes: [7, 5] },
7583
- RELATIONSHIP_STATE: { colorVariable: "--dusk-500", tileClassName: "bg-ramp-6-500", markClassName: "bg-ramp-6-500", dashes: false },
7584
- PROVISIONAL_LINK: { colorVariable: "--roof-500", tileClassName: "bg-ramp-7-500", markClassName: "bg-ramp-7-500", dashes: [3, 3] }
7574
+ KNOWS_ABOUT: { colorVariable: "--path-500", tileClassName: "bg-path-500", markClassName: "bg-path-500", dashes: false },
7575
+ OBSERVED_WITH: { colorVariable: "--air-500", tileClassName: "bg-air-500", markClassName: "bg-air-500", dashes: [1.5, 4] },
7576
+ MAY_KNOW: { colorVariable: "--poplar-500", tileClassName: "bg-poplar-500", markClassName: "bg-poplar-500", dashes: [7, 5] },
7577
+ RELATIONSHIP_STATE: { colorVariable: "--dusk-500", tileClassName: "bg-dusk-500", markClassName: "bg-dusk-500", dashes: false },
7578
+ PROVISIONAL_LINK: { colorVariable: "--roof-500", tileClassName: "bg-roof-500", markClassName: "bg-roof-500", dashes: [3, 3] }
7585
7579
  };
7586
7580
  var RELATIONSHIP_KINDS = Object.keys(RELATIONSHIP_KIND_STYLES);
7587
7581
  function toRelationshipKindStyle(edgeType) {
@@ -8310,7 +8304,7 @@ function Switch({
8310
8304
  className: cn(
8311
8305
  "relative inline-flex h-[31px] w-[51px] shrink-0 cursor-pointer items-center rounded-full p-[2px] outline-hidden",
8312
8306
  "transition-colors duration-(--duration-fade) motion-reduce:transition-none",
8313
- "bg-fill-base data-[state=checked]:bg-ramp-1-500",
8307
+ "bg-fill-base data-[state=checked]:bg-meadow-500",
8314
8308
  "focus-visible:ring-2 focus-visible:ring-tint-base focus-visible:ring-offset-2 focus-visible:ring-offset-transparent",
8315
8309
  "disabled:cursor-not-allowed disabled:opacity-50",
8316
8310
  className
@@ -8358,13 +8352,13 @@ function toGlassCanvasTheme(element, toTypeColorVariable2) {
8358
8352
  provisionalPerson: readToken("--cloud-500"),
8359
8353
  socialEdgeByType: toRelationshipKindColors(readToken),
8360
8354
  avatarByRamp: {
8361
- moss: { from: readToken("--meadow-500"), to: readToken("--meadow-600"), ink: readToken("--theme-label-on-tint") },
8362
- lake: { from: readToken("--air-500"), to: readToken("--air-600"), ink: readToken("--theme-label-on-tint") },
8363
- ochre: { from: readToken("--poplar-300"), to: readToken("--poplar-400"), ink: readToken("--poplar-800") },
8364
- clay: { from: readToken("--cloud-500"), to: readToken("--cloud-600"), ink: readToken("--theme-label-on-tint") },
8365
- plum: { from: readToken("--dusk-500"), to: readToken("--dusk-600"), ink: readToken("--theme-label-on-tint") },
8366
- flint: { from: readToken("--path-500"), to: readToken("--path-600"), ink: readToken("--theme-label-on-tint") },
8367
- brick: { from: readToken("--roof-500"), to: readToken("--roof-600"), ink: readToken("--theme-label-on-tint") }
8355
+ meadow: { from: readToken("--meadow-500"), to: readToken("--meadow-600"), ink: readToken("--theme-label-on-tint") },
8356
+ air: { from: readToken("--air-500"), to: readToken("--air-600"), ink: readToken("--theme-label-on-tint") },
8357
+ poplar: { from: readToken("--poplar-300"), to: readToken("--poplar-400"), ink: readToken("--poplar-800") },
8358
+ cloud: { from: readToken("--cloud-500"), to: readToken("--cloud-600"), ink: readToken("--theme-label-on-tint") },
8359
+ dusk: { from: readToken("--dusk-500"), to: readToken("--dusk-600"), ink: readToken("--theme-label-on-tint") },
8360
+ path: { from: readToken("--path-500"), to: readToken("--path-600"), ink: readToken("--theme-label-on-tint") },
8361
+ roof: { from: readToken("--roof-500"), to: readToken("--roof-600"), ink: readToken("--theme-label-on-tint") }
8368
8362
  },
8369
8363
  typeColor
8370
8364
  }
@@ -9032,7 +9026,7 @@ var EDGE_WORDS = {
9032
9026
  };
9033
9027
  var toInitials2 = (name) => name.split(/\s+/).filter((word) => /\p{L}/u.test(word.charAt(0))).slice(0, 2).map((word) => word.charAt(0).toUpperCase()).join("");
9034
9028
  function toAvatarImage(name, colors, background, isHollow = false) {
9035
- const avatar = colors.avatarByRamp[toAvatarRamp(name)] ?? colors.avatarByRamp.flint;
9029
+ const avatar = colors.avatarByRamp[toAvatarRamp(name)] ?? colors.avatarByRamp.path;
9036
9030
  const initials = toInitials2(name) || "?";
9037
9031
  const fill = isHollow ? background : "url(#g)";
9038
9032
  const ink = isHollow ? avatar.to : avatar.ink;
@@ -9060,7 +9054,7 @@ function toSocialGraphVisNodes(nodes, edges, rootUserId, selectedId, theme, pinn
9060
9054
  const hasRing = isTourFocus || isHighlighted || isSelected || isRoot || isPinned;
9061
9055
  const showsAvatar = nodes.length <= AVATAR_NODE_LIMIT || hasRing;
9062
9056
  const isProvisional = node.stage === "provisional";
9063
- const avatarRamp = colors.avatarByRamp[toAvatarRamp(name)] ?? colors.avatarByRamp.flint;
9057
+ const avatarRamp = colors.avatarByRamp[toAvatarRamp(name)] ?? colors.avatarByRamp.path;
9064
9058
  return {
9065
9059
  id: node.id,
9066
9060
  label: name,
@@ -9164,13 +9158,13 @@ function toMentionVisEdges(mentions, theme, selectedMentionId) {
9164
9158
 
9165
9159
  // src/graph/social-graph-compact-vis-map.ts
9166
9160
  var AVATAR_RAMP_SHADES = {
9167
- moss: { from: "--meadow-500", to: "--meadow-600", ink: "--theme-label-on-tint" },
9168
- lake: { from: "--air-500", to: "--air-600", ink: "--theme-label-on-tint" },
9169
- ochre: { from: "--poplar-300", to: "--poplar-400", ink: "--poplar-800" },
9170
- clay: { from: "--cloud-500", to: "--cloud-600", ink: "--theme-label-on-tint" },
9171
- plum: { from: "--dusk-500", to: "--dusk-600", ink: "--theme-label-on-tint" },
9172
- flint: { from: "--path-500", to: "--path-600", ink: "--theme-label-on-tint" },
9173
- brick: { from: "--roof-500", to: "--roof-600", ink: "--theme-label-on-tint" }
9161
+ meadow: { from: "--meadow-500", to: "--meadow-600", ink: "--theme-label-on-tint" },
9162
+ air: { from: "--air-500", to: "--air-600", ink: "--theme-label-on-tint" },
9163
+ poplar: { from: "--poplar-300", to: "--poplar-400", ink: "--poplar-800" },
9164
+ cloud: { from: "--cloud-500", to: "--cloud-600", ink: "--theme-label-on-tint" },
9165
+ dusk: { from: "--dusk-500", to: "--dusk-600", ink: "--theme-label-on-tint" },
9166
+ path: { from: "--path-500", to: "--path-600", ink: "--theme-label-on-tint" },
9167
+ roof: { from: "--roof-500", to: "--roof-600", ink: "--theme-label-on-tint" }
9174
9168
  };
9175
9169
  function toCompactGraphPalette(element) {
9176
9170
  const style = getComputedStyle(element);
@@ -10022,7 +10016,7 @@ function Accordion({ className, ...props }) {
10022
10016
  function AccordionItem({ className, ...props }) {
10023
10017
  return /* @__PURE__ */ jsx(Accordion$1.Item, { "data-slot": "accordion-item", className: cn(ACCORDION_ITEM_HAIRLINE_CLASSNAME, className), ...props });
10024
10018
  }
10025
- function AccordionTrigger({ icon, iconClassName = "bg-ramp-5-500", summary, children }) {
10019
+ function AccordionTrigger({ icon, iconClassName = "bg-path-500", summary, children }) {
10026
10020
  return /* @__PURE__ */ jsx(Accordion$1.Header, { className: "flex", children: /* @__PURE__ */ jsxs(
10027
10021
  Accordion$1.Trigger,
10028
10022
  {
@@ -11951,7 +11945,7 @@ function AgentStatusGlyph({ status, size = "md", className }) {
11951
11945
  const label = AGENT_STEP_STATUS_LABELS[status];
11952
11946
  return /* @__PURE__ */ jsxs("span", { role: "img", "aria-label": label, "data-agent-status": status, className: cn("inline-flex shrink-0 items-center justify-center", sizeClassName, className), children: [
11953
11947
  status === "pending" && /* @__PURE__ */ jsx("span", { "aria-hidden": true, className: "size-[78%] rounded-full border-[1.5px] border-label-tertiary" }),
11954
- status === "running" && /* @__PURE__ */ jsx("span", { "aria-hidden": true, className: "size-[50%] animate-agent-breathe rounded-full bg-ramp-1-500 motion-reduce:animate-none" }),
11948
+ status === "running" && /* @__PURE__ */ jsx("span", { "aria-hidden": true, className: "size-[50%] animate-agent-breathe rounded-full bg-meadow-500 motion-reduce:animate-none" }),
11955
11949
  status === "done" && /* @__PURE__ */ jsx(CheckCircleIcon, { "aria-hidden": true, className: "size-full text-label-secondary" }),
11956
11950
  status === "failed" && /* @__PURE__ */ jsx(CloseCircleIcon, { "aria-hidden": true, className: "size-full text-status-critical-base" }),
11957
11951
  status === "blocked" && /* @__PURE__ */ jsx(ForbiddenCircleIcon, { "aria-hidden": true, className: "size-full text-status-warning-base" }),
@@ -11961,24 +11955,22 @@ function AgentStatusGlyph({ status, size = "md", className }) {
11961
11955
 
11962
11956
  // src/agent/motion/agent-tone.ts
11963
11957
  var AGENT_TONE_CLASSNAMES = {
11964
- poplar: { solid: "bg-ramp-4-500", ink: "text-ramp-4-600 dark:text-ramp-4-400", tint: "bg-ramp-4-500/18 text-ramp-4-700 dark:text-ramp-4-300", sparkDark: "bg-ramp-4-500", sparkLight: "bg-ramp-4-200", ring: "border-ramp-4-300" },
11965
- meadow: { solid: "bg-ramp-1-500", ink: "text-ramp-1-600 dark:text-ramp-1-400", tint: "bg-ramp-1-500/16 text-ramp-1-700 dark:text-ramp-1-300", sparkDark: "bg-ramp-1-500", sparkLight: "bg-ramp-4-300", ring: "border-ramp-1-300" },
11966
- air: { solid: "bg-ramp-2-500", ink: "text-ramp-2-600 dark:text-ramp-2-400", tint: "bg-ramp-2-500/16 text-ramp-2-700 dark:text-ramp-2-300", sparkDark: "bg-ramp-2-500", sparkLight: "bg-ramp-2-200", ring: "border-ramp-2-300" },
11967
- lake: { solid: "bg-ramp-2-500", ink: "text-ramp-2-600 dark:text-ramp-2-400", tint: "bg-ramp-2-500/16 text-ramp-2-700 dark:text-ramp-2-300", sparkDark: "bg-ramp-2-500", sparkLight: "bg-ramp-2-200", ring: "border-ramp-2-300" },
11968
- dusk: { solid: "bg-ramp-6-500", ink: "text-ramp-6-600 dark:text-ramp-6-400", tint: "bg-ramp-6-500/16 text-ramp-6-700 dark:text-ramp-6-300", sparkDark: "bg-ramp-6-500", sparkLight: "bg-ramp-6-200", ring: "border-ramp-6-300" },
11969
- cloud: { solid: "bg-ramp-3-500", ink: "text-ramp-3-600 dark:text-ramp-3-400", tint: "bg-ramp-3-500/16 text-ramp-3-700 dark:text-ramp-3-300", sparkDark: "bg-ramp-3-500", sparkLight: "bg-ramp-3-200", ring: "border-ramp-3-300" },
11970
- plum: { solid: "bg-ramp-6-500", ink: "text-ramp-6-600 dark:text-ramp-6-400", tint: "bg-ramp-6-500/16 text-ramp-6-700 dark:text-ramp-6-300", sparkDark: "bg-ramp-6-500", sparkLight: "bg-ramp-6-200", ring: "border-ramp-6-300" },
11971
- roof: { solid: "bg-ramp-7-500", ink: "text-ramp-7-600 dark:text-ramp-7-400", tint: "bg-ramp-7-500/16 text-ramp-7-700 dark:text-ramp-7-300", sparkDark: "bg-ramp-7-500", sparkLight: "bg-ramp-7-200", ring: "border-ramp-7-300" },
11972
- ochre: { solid: "bg-ramp-4-500", ink: "text-ramp-4-600 dark:text-ramp-4-400", tint: "bg-ramp-4-500/18 text-ramp-4-700 dark:text-ramp-4-300", sparkDark: "bg-ramp-4-500", sparkLight: "bg-ramp-4-200", ring: "border-ramp-4-300" },
11973
- tint: { solid: "bg-tint-base", ink: "text-tint-base", tint: "bg-tint-base/14 text-tint-base", sparkDark: "bg-tint-base", sparkLight: "bg-ramp-2-200", ring: "border-tint-base/50" }
11958
+ poplar: { solid: "bg-poplar-500", ink: "text-poplar-600 dark:text-poplar-400", tint: "bg-poplar-500/18 text-poplar-700 dark:text-poplar-300", sparkDark: "bg-poplar-500", sparkLight: "bg-poplar-200", ring: "border-poplar-300" },
11959
+ meadow: { solid: "bg-meadow-500", ink: "text-meadow-600 dark:text-meadow-400", tint: "bg-meadow-500/16 text-meadow-700 dark:text-meadow-300", sparkDark: "bg-meadow-500", sparkLight: "bg-poplar-300", ring: "border-meadow-300" },
11960
+ air: { solid: "bg-air-500", ink: "text-air-600 dark:text-air-400", tint: "bg-air-500/16 text-air-700 dark:text-air-300", sparkDark: "bg-air-500", sparkLight: "bg-air-200", ring: "border-air-300" },
11961
+ dusk: { solid: "bg-dusk-500", ink: "text-dusk-600 dark:text-dusk-400", tint: "bg-dusk-500/16 text-dusk-700 dark:text-dusk-300", sparkDark: "bg-dusk-500", sparkLight: "bg-dusk-200", ring: "border-dusk-300" },
11962
+ cloud: { solid: "bg-cloud-500", ink: "text-cloud-600 dark:text-cloud-400", tint: "bg-cloud-500/16 text-cloud-700 dark:text-cloud-300", sparkDark: "bg-cloud-500", sparkLight: "bg-cloud-200", ring: "border-cloud-300" },
11963
+ path: { solid: "bg-path-500", ink: "text-path-600 dark:text-path-400", tint: "bg-path-500/16 text-path-700 dark:text-path-300", sparkDark: "bg-path-500", sparkLight: "bg-path-200", ring: "border-path-300" },
11964
+ roof: { solid: "bg-roof-500", ink: "text-roof-600 dark:text-roof-400", tint: "bg-roof-500/16 text-roof-700 dark:text-roof-300", sparkDark: "bg-roof-500", sparkLight: "bg-roof-200", ring: "border-roof-300" },
11965
+ tint: { solid: "bg-tint-base", ink: "text-tint-base", tint: "bg-tint-base/14 text-tint-base", sparkDark: "bg-tint-base", sparkLight: "bg-air-200", ring: "border-tint-base/50" }
11974
11966
  };
11975
11967
  function toAgentToneClassNames(tone) {
11976
11968
  return AGENT_TONE_CLASSNAMES[tone];
11977
11969
  }
11978
11970
  var CHANGE_KEY_CLASSNAMES = {
11979
11971
  plain: {
11980
- added: "rounded-[3px] bg-ramp-2-500/14 text-ramp-2-700 dark:text-ramp-2-300",
11981
- removed: "text-label-secondary line-through decoration-ramp-3-500 decoration-[1.5px]"
11972
+ added: "rounded-[3px] bg-air-500/14 text-air-700 dark:text-air-300",
11973
+ removed: "text-label-secondary line-through decoration-cloud-500 decoration-[1.5px]"
11982
11974
  },
11983
11975
  tint: {
11984
11976
  added: "rounded-[3px] bg-label-on-tint/22 text-label-on-tint",
@@ -13022,7 +13014,10 @@ function loadPierre() {
13022
13014
  }
13023
13015
  function subscribeToPierre(listener) {
13024
13016
  pierreListeners.add(listener);
13025
- loadPierre().catch((error) => console.error("Kern could not load Pierre's Diffs, so code shows as plain text.", error));
13017
+ loadPierre().catch((error) => {
13018
+ if (error instanceof Error && error.name === "KernArtifactOmission") return;
13019
+ console.error("Kern could not load Pierre's Diffs, so code shows as plain text.", error);
13020
+ });
13026
13021
  return () => pierreListeners.delete(listener);
13027
13022
  }
13028
13023
  function usePierre() {
@@ -13175,7 +13170,7 @@ function toPatchBodyLines(patch) {
13175
13170
  }
13176
13171
  var MIN_FOLDED_LINE_COUNT = 4;
13177
13172
  var COPIED_DURATION_MS = 1600;
13178
- function CodeBlock({ code, language, filename, lineNumbers = true, highlightedLines, wrap = false, foldAfterLines = 24, copyable = true, className }) {
13173
+ function CodeBlock({ code, language, filename, lineNumbers = true, highlightedLines, wrap = false, foldAfterLines = 24, copyable = true, layout = "auto", className }) {
13179
13174
  const pierre = usePierre();
13180
13175
  const codeLines = useMemo(() => toCodeLines(code), [code]);
13181
13176
  const isFoldable = foldAfterLines > 0 && codeLines.length - foldAfterLines >= MIN_FOLDED_LINE_COUNT;
@@ -13185,13 +13180,26 @@ function CodeBlock({ code, language, filename, lineNumbers = true, highlightedLi
13185
13180
  const resolvedLanguage = language ?? (filename ? toLanguageFromFileName(filename) : void 0) ?? "text";
13186
13181
  const highlightCss = useMemo(() => toHighlightCss(highlightedLines ?? []), [highlightedLines]);
13187
13182
  const PierreFile = pierre?.File;
13183
+ if (toIsCompactLayout(layout, codeLines.length, filename, highlightedLines)) {
13184
+ const line = code.trim();
13185
+ return /* @__PURE__ */ jsxs("figure", { className: cn(CODE_SURFACE_CLASSNAME, "relative flex items-center gap-1 pr-1.5", className), children: [
13186
+ /* @__PURE__ */ jsx("div", { className: "min-w-0 flex-1 py-2", children: PierreFile ? /* @__PURE__ */ jsx(
13187
+ PierreFile,
13188
+ {
13189
+ file: { name: `code.${resolvedLanguage}`, contents: line, lang: resolvedLanguage },
13190
+ options: { theme: KERN_CODE_THEME_NAME, disableFileHeader: true, disableLineNumbers: true, overflow: wrap ? "wrap" : "scroll", lineHoverHighlight: "disabled" }
13191
+ }
13192
+ ) : /* @__PURE__ */ jsx(PlainCodeFallback, { codeLines: [line], lineNumbers: false, wrap }) }),
13193
+ copyable && /* @__PURE__ */ jsx(CopyCodeButton, { code: line })
13194
+ ] });
13195
+ }
13188
13196
  return /* @__PURE__ */ jsxs("figure", { className: cn(CODE_SURFACE_CLASSNAME, "relative", className), children: [
13189
- /* @__PURE__ */ jsxs("figcaption", { className: "flex min-h-9 items-center gap-2 border-b border-(--kern-code-border) pl-3 pr-1.5 text-footnote", children: [
13190
- filename ? /* @__PURE__ */ jsx(TruncatedText, { text: filename, clip: "middle", keep: "file-name", className: "flex-1 font-medium" }) : /* @__PURE__ */ jsx("span", { className: "flex-1" }),
13191
- /* @__PURE__ */ jsx("span", { className: "shrink-0 text-label-secondary", children: toLanguageLabel(resolvedLanguage) }),
13197
+ /* @__PURE__ */ jsxs("figcaption", { className: "flex h-9 items-center gap-2 pl-3.5 pr-1.5 text-caption text-(--kern-code-line-number)", children: [
13198
+ filename ? /* @__PURE__ */ jsx(TruncatedText, { text: filename, clip: "middle", keep: "file-name", className: "flex-1 font-medium text-(--kern-code-foreground)" }) : /* @__PURE__ */ jsx("span", { className: "flex-1" }),
13199
+ /* @__PURE__ */ jsx("span", { className: "shrink-0", children: toLanguageLabel(resolvedLanguage) }),
13192
13200
  copyable && /* @__PURE__ */ jsx(CopyCodeButton, { code })
13193
13201
  ] }),
13194
- /* @__PURE__ */ jsx("div", { children: PierreFile ? /* @__PURE__ */ jsx(
13202
+ /* @__PURE__ */ jsx("div", { className: "pb-1.5", children: PierreFile ? /* @__PURE__ */ jsx(
13195
13203
  PierreFile,
13196
13204
  {
13197
13205
  file: { name: filename ?? `code.${resolvedLanguage}`, contents: shownCode, lang: resolvedLanguage },
@@ -13217,6 +13225,11 @@ function CodeBlock({ code, language, filename, lineNumbers = true, highlightedLi
13217
13225
  ) })
13218
13226
  ] });
13219
13227
  }
13228
+ function toIsCompactLayout(layout, lineCount, filename, highlightedLines) {
13229
+ if (layout === "compact") return true;
13230
+ if (layout === "full") return false;
13231
+ return lineCount <= 1 && !filename && (highlightedLines?.length ?? 0) === 0;
13232
+ }
13220
13233
  function toHighlightCss(highlightedLines) {
13221
13234
  const lineNumbers = [...new Set(highlightedLines.flatMap((entry) => typeof entry === "number" ? [entry] : Array.from({ length: Math.max(0, entry[1] - entry[0] + 1) }, (_, offset) => entry[0] + offset)))];
13222
13235
  if (lineNumbers.length === 0) return "";
@@ -13642,8 +13655,8 @@ function StreamingText({
13642
13655
  // src/agent/sources/agent-source.utils.ts
13643
13656
  var SOURCE_KIND_TONES = {
13644
13657
  web: "air",
13645
- document: "plum",
13646
- message: "ochre"
13658
+ document: "dusk",
13659
+ message: "poplar"
13647
13660
  };
13648
13661
  function toSourceTone(source) {
13649
13662
  return source.tone ?? SOURCE_KIND_TONES[source.kind ?? "web"];
@@ -14532,7 +14545,7 @@ var BAR_PATH = "M5.8 9h6.4";
14532
14545
  var ICON_PROGRESS = { pending: 0, running: null, done: 1 };
14533
14546
  function toMarkTone(status, tone) {
14534
14547
  if (status === "failed") return "roof";
14535
- if (status === "blocked") return "ochre";
14548
+ if (status === "blocked") return "poplar";
14536
14549
  return tone;
14537
14550
  }
14538
14551
  function PlanStepMark({
@@ -14591,7 +14604,7 @@ function PlanStepMark({
14591
14604
  }
14592
14605
 
14593
14606
  // src/agent/work/plan-list.utils.ts
14594
- var PLAN_STEP_TONES = ["dusk", "air", "poplar", "meadow", "cloud", "lake", "plum", "ochre"];
14607
+ var PLAN_STEP_TONES = ["dusk", "air", "poplar", "meadow", "cloud", "air", "dusk", "poplar"];
14595
14608
  function toPlanStepTone(tone, stepIndex) {
14596
14609
  return tone ?? PLAN_STEP_TONES[stepIndex % PLAN_STEP_TONES.length];
14597
14610
  }
@@ -14610,7 +14623,7 @@ function toPlanRevisionAnnouncement({ title, revision }) {
14610
14623
  return `The plan changed: ${title} ${revisionText}`;
14611
14624
  }
14612
14625
  var WASH_MS = 1800;
14613
- function ReInkText({ text, wash = "lake", isReducedMotion: isReducedMotionOverride, className }) {
14626
+ function ReInkText({ text, wash = "air", isReducedMotion: isReducedMotionOverride, className }) {
14614
14627
  const isReducedMotion = useIsReducedMotion(isReducedMotionOverride);
14615
14628
  const textRef = useRef(null);
14616
14629
  const [shown, setShown] = useState({ text, changeCount: 0 });
@@ -14620,8 +14633,8 @@ function ReInkText({ text, wash = "lake", isReducedMotion: isReducedMotionOverri
14620
14633
  if (shown.changeCount === 0 || wash === "none" || isReducedMotion || !textElement || typeof textElement.animate !== "function") return;
14621
14634
  textElement.animate(
14622
14635
  [
14623
- { backgroundColor: "color-mix(in srgb, var(--color-lake-500) 16%, transparent)" },
14624
- { backgroundColor: "color-mix(in srgb, var(--color-lake-500) 16%, transparent)", offset: 0.2 },
14636
+ { backgroundColor: "color-mix(in srgb, var(--color-air-500) 16%, transparent)" },
14637
+ { backgroundColor: "color-mix(in srgb, var(--color-air-500) 16%, transparent)", offset: 0.2 },
14625
14638
  { backgroundColor: "transparent" }
14626
14639
  ],
14627
14640
  { duration: WASH_MS, easing: "ease-out" }
@@ -14906,12 +14919,12 @@ function PlanStepItem({ step, tone, marks, isArriving, deck, isReducedMotion })
14906
14919
  ...deckStyle
14907
14920
  },
14908
14921
  children: /* @__PURE__ */ jsxs("div", { className: cn("relative min-h-0", frame.isClipped && "overflow-hidden"), children: [
14909
- isAdded && isArriving && !isReducedMotion && /* @__PURE__ */ jsx("span", { "aria-hidden": true, className: "absolute -inset-x-1.5 inset-y-0.5 rounded-thumb bg-ramp-2-500/14 dark:bg-ramp-2-500/28", style: { animation: "kern-agent-crossfade 1600ms var(--theme-ease-standard) 300ms reverse both" } }),
14922
+ isAdded && isArriving && !isReducedMotion && /* @__PURE__ */ jsx("span", { "aria-hidden": true, className: "absolute -inset-x-1.5 inset-y-0.5 rounded-thumb bg-air-500/14 dark:bg-air-500/28", style: { animation: "kern-agent-crossfade 1600ms var(--theme-ease-standard) 300ms reverse both" } }),
14910
14923
  isSplit && /* @__PURE__ */ jsx(
14911
14924
  "span",
14912
14925
  {
14913
14926
  "aria-hidden": true,
14914
- className: "pointer-events-none absolute top-0 left-[7.25px] h-[13px] w-[7px] rounded-bl-[6px] border-b-[1.5px] border-l-[1.5px] border-ramp-1-400",
14927
+ className: "pointer-events-none absolute top-0 left-[7.25px] h-[13px] w-[7px] rounded-bl-[6px] border-b-[1.5px] border-l-[1.5px] border-meadow-400",
14915
14928
  style: { transformOrigin: "top", transform: isShown || !isArriving ? "none" : "scaleY(0)", transition: isReducedMotion ? REDUCED_FADE : toSpringTransition(["transform"], "settle", 240) }
14916
14929
  }
14917
14930
  ),
@@ -14984,15 +14997,13 @@ function TickFan({ tones }) {
14984
14997
  )) });
14985
14998
  }
14986
14999
  var TICK_FAN_FILL_CLASSNAMES = {
14987
- poplar: "bg-ramp-4-500",
14988
- meadow: "bg-ramp-1-500",
14989
- air: "bg-ramp-2-500",
14990
- lake: "bg-ramp-2-500",
14991
- dusk: "bg-ramp-6-500",
14992
- cloud: "bg-ramp-3-500",
14993
- plum: "bg-ramp-6-500",
14994
- roof: "bg-ramp-7-500",
14995
- ochre: "bg-ramp-4-500",
15000
+ poplar: "bg-poplar-500",
15001
+ meadow: "bg-meadow-500",
15002
+ air: "bg-air-500",
15003
+ dusk: "bg-dusk-500",
15004
+ cloud: "bg-cloud-500",
15005
+ path: "bg-path-500",
15006
+ roof: "bg-roof-500",
14996
15007
  tint: "bg-tint-base"
14997
15008
  };
14998
15009
  function LongFoldRow({ summary, isOpen, onToggle }) {
@@ -15027,7 +15038,7 @@ function toLandingStyle(itemIndex, isReducedMotion) {
15027
15038
  ["--rise-from"]: "8px"
15028
15039
  };
15029
15040
  }
15030
- function CallResult({ result, tone = "lake", isReducedMotion: isReducedMotionOverride, className }) {
15041
+ function CallResult({ result, tone = "air", isReducedMotion: isReducedMotionOverride, className }) {
15031
15042
  const isReducedMotion = useIsReducedMotion(isReducedMotionOverride);
15032
15043
  return /* @__PURE__ */ jsxs("div", { "data-call-result": result.kind, className: cn("flex min-w-0 flex-col gap-1.5", className), children: [
15033
15044
  /* @__PURE__ */ jsx("span", { className: "text-caption text-label-secondary", style: toLandingStyle(0, isReducedMotion), children: result.caption }),
@@ -15104,7 +15115,7 @@ function PageResult({ result, isReducedMotion }) {
15104
15115
  "mark",
15105
15116
  {
15106
15117
  ref: highlightRef,
15107
- className: "rounded-[3px] bg-transparent bg-linear-to-r from-ramp-2-500/25 to-ramp-2-500/25 bg-no-repeat text-label-primary [background-position:0_100%] [background-size:100%_100%] dark:from-ramp-2-400/30 dark:to-ramp-2-400/30",
15118
+ className: "rounded-[3px] bg-transparent bg-linear-to-r from-air-500/25 to-air-500/25 bg-no-repeat text-label-primary [background-position:0_100%] [background-size:100%_100%] dark:from-air-400/30 dark:to-air-400/30",
15108
15119
  children: result.passageFound
15109
15120
  }
15110
15121
  ),
@@ -15155,12 +15166,12 @@ function TimeResult({ result, tone, isReducedMotion }) {
15155
15166
  // src/agent/work/tool-call-kinds.ts
15156
15167
  var TOOL_CALL_KINDS = {
15157
15168
  read: { icon: NotebookIcon, tone: "dusk" },
15158
- search: { icon: MagnifierIcon, tone: "lake" },
15169
+ search: { icon: MagnifierIcon, tone: "air" },
15159
15170
  web: { icon: EarthIcon, tone: "air" },
15160
15171
  map: { icon: MapPointIcon, tone: "meadow" },
15161
- calendar: { icon: CalendarMarkIcon, tone: "plum" },
15172
+ calendar: { icon: CalendarMarkIcon, tone: "dusk" },
15162
15173
  send: { icon: PlainIcon, tone: "cloud" },
15163
- people: { icon: UsersGroupRoundedIcon, tone: "ochre" },
15174
+ people: { icon: UsersGroupRoundedIcon, tone: "poplar" },
15164
15175
  photos: { icon: GalleryIcon, tone: "poplar" },
15165
15176
  voice: { icon: PlayIcon, tone: "air" },
15166
15177
  write: { icon: PenIcon, tone: "cloud" }
@@ -15617,7 +15628,7 @@ function Flight({
15617
15628
  }
15618
15629
  );
15619
15630
  }
15620
- function WarmthWash({ washClassName = "bg-ramp-1-500/8", isReducedMotion }) {
15631
+ function WarmthWash({ washClassName = "bg-meadow-500/8", isReducedMotion }) {
15621
15632
  const elementRef = useRef(null);
15622
15633
  useLayoutEffect(() => {
15623
15634
  const element = elementRef.current;
@@ -15975,7 +15986,7 @@ function ApprovalTile({
15975
15986
  {
15976
15987
  "aria-hidden": true,
15977
15988
  "data-tile-state": "denied",
15978
- className: cn("grid shrink-0 place-items-center bg-ramp-5-400 text-label-on-tint", shapeClassName, isLanding && "animate-agent-bump"),
15989
+ className: cn("grid shrink-0 place-items-center bg-path-400 text-label-on-tint", shapeClassName, isLanding && "animate-agent-bump"),
15979
15990
  style: { width: sizePx, height: sizePx, "--bump-from": 0.97 },
15980
15991
  children: /* @__PURE__ */ jsx(CloseIcon, { size: glyphSizePx, strokeWidth: 2 })
15981
15992
  }
@@ -15985,7 +15996,7 @@ function ApprovalTile({
15985
15996
  /* @__PURE__ */ jsx(
15986
15997
  "span",
15987
15998
  {
15988
- className: cn("grid size-full place-items-center bg-ramp-1-500 text-label-on-tint", shapeClassName, isLanding && "animate-agent-bump"),
15999
+ className: cn("grid size-full place-items-center bg-meadow-500 text-label-on-tint", shapeClassName, isLanding && "animate-agent-bump"),
15989
16000
  style: { "--bump-from": 0.6 },
15990
16001
  children: /* @__PURE__ */ jsx(WhiteTick, { sizePx: glyphSizePx, delayMs: 90, isDrawn: isLanding })
15991
16002
  }
@@ -16014,14 +16025,14 @@ function QuestionTile({ icon: Icon, tone, outcome, celebration = "burst", isRedu
16014
16025
  return /* @__PURE__ */ jsxs("span", { "aria-hidden": true, "data-tile-state": "swatch", className: "relative grid size-7 shrink-0 place-items-center", children: [
16015
16026
  /* @__PURE__ */ jsxs("span", { className: "relative grid size-7 place-items-center overflow-hidden rounded-tile text-label-on-tint", children: [
16016
16027
  /* @__PURE__ */ jsx("img", { alt: "", src: outcome.picture.url, className: "absolute inset-0 size-full object-cover", style: { objectPosition: outcome.picture.focus } }),
16017
- /* @__PURE__ */ jsx("span", { className: cn("absolute inset-0 bg-ramp-5-900/35", isLanding && "animate-agent-crossfade") }),
16028
+ /* @__PURE__ */ jsx("span", { className: cn("absolute inset-0 bg-path-900/35", isLanding && "animate-agent-crossfade") }),
16018
16029
  /* @__PURE__ */ jsx(WhiteTick, { sizePx: 16, delayMs: 110, isDrawn: isLanding })
16019
16030
  ] }),
16020
16031
  celebration === "burst" && /* @__PURE__ */ jsx(CompletionBurst, { tone: "poplar", size: "lg", delayMs: 90, isReducedMotion })
16021
16032
  ] });
16022
16033
  }
16023
16034
  return /* @__PURE__ */ jsxs("span", { "aria-hidden": true, "data-tile-state": "tick", className: "relative grid size-7 shrink-0 place-items-center", children: [
16024
- /* @__PURE__ */ jsx("span", { className: cn("grid size-7 place-items-center rounded-tile bg-ramp-1-500 text-label-on-tint", isLanding && "animate-agent-bump"), style: { "--bump-from": 0.6 }, children: /* @__PURE__ */ jsx(WhiteTick, { sizePx: 16, delayMs: 90, isDrawn: isLanding }) }),
16035
+ /* @__PURE__ */ jsx("span", { className: cn("grid size-7 place-items-center rounded-tile bg-meadow-500 text-label-on-tint", isLanding && "animate-agent-bump"), style: { "--bump-from": 0.6 }, children: /* @__PURE__ */ jsx(WhiteTick, { sizePx: 16, delayMs: 90, isDrawn: isLanding }) }),
16025
16036
  celebration === "burst" && /* @__PURE__ */ jsx(CompletionBurst, { tone: "meadow", size: "lg", delayMs: 70, isReducedMotion })
16026
16037
  ] });
16027
16038
  }
@@ -16205,7 +16216,7 @@ function ApprovalStack({
16205
16216
  departingRequests.map((request) => /* @__PURE__ */ jsx(DepartingCard, { request, isReducedMotion }, request.id))
16206
16217
  ] }) }),
16207
16218
  /* @__PURE__ */ jsx(SmoothHeight, { isReducedMotion, children: answeredRequests.length > 0 && /* @__PURE__ */ jsxs("section", { "aria-label": "Answered", className: cn(AGENT_CARD_CLASSNAME, "relative isolate overflow-hidden", pendingRequests.length + departingRequests.length > 0 && "mt-3"), children: [
16208
- hasCompletedHere && /* @__PURE__ */ jsx(WarmthWash, { washClassName: "bg-ramp-1-500/10", isReducedMotion }),
16219
+ hasCompletedHere && /* @__PURE__ */ jsx(WarmthWash, { washClassName: "bg-meadow-500/10", isReducedMotion }),
16209
16220
  /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-2 px-3 pt-2.5 pb-1", children: [
16210
16221
  /* @__PURE__ */ jsx(ShieldCheckIcon, { "aria-hidden": true, className: "size-3.5 shrink-0 text-label-tertiary" }),
16211
16222
  /* @__PURE__ */ jsx("p", { "aria-live": "polite", "aria-atomic": "true", className: "min-w-0 flex-1 text-footnote text-label-secondary", children: summaryLine }),
@@ -16350,7 +16361,7 @@ function DealtItem({ index, isDealt, isReducedMotion, children, className }) {
16350
16361
  );
16351
16362
  }
16352
16363
  function ChosenMark({ sizeClassName = "size-6", isReducedMotion }) {
16353
- return /* @__PURE__ */ jsx("span", { "aria-hidden": true, className: cn("grid shrink-0 place-items-center rounded-full bg-ramp-1-500 text-label-on-tint", sizeClassName, !isReducedMotion && "animate-agent-bump"), children: /* @__PURE__ */ jsx(CheckIcon, { className: "size-3.5", strokeWidth: 2.5 }) });
16364
+ return /* @__PURE__ */ jsx("span", { "aria-hidden": true, className: cn("grid shrink-0 place-items-center rounded-full bg-meadow-500 text-label-on-tint", sizeClassName, !isReducedMotion && "animate-agent-bump"), children: /* @__PURE__ */ jsx(CheckIcon, { className: "size-3.5", strokeWidth: 2.5 }) });
16354
16365
  }
16355
16366
  function SendButton({ label, isDisabled, onSend }) {
16356
16367
  return /* @__PURE__ */ jsx(AgentCardButton, { variant: "primary", label, disabled: isDisabled, onClick: onSend, children: /* @__PURE__ */ jsx(ArrowUpIcon, { "aria-hidden": true, className: "-mx-1 size-3.5" }) });
@@ -16385,7 +16396,7 @@ function WordChoices({
16385
16396
  "inline-flex h-8 max-w-full items-center gap-1.5 rounded-full text-footnote font-medium outline-hidden select-none",
16386
16397
  "transition-[background-color,color,opacity,transform] duration-(--duration-fade) ease-sheet active:scale-[0.97] focus-visible:ring-2 focus-visible:ring-tint-base/40 motion-reduce:transition-none",
16387
16398
  choice.leading ? "py-1 pr-3 pl-1" : "px-3",
16388
- isSentence ? "text-tint-base shadow-[inset_0_0_0_1px_color-mix(in_srgb,var(--theme-tint-base)_45%,transparent)] hover:bg-tint-base/8" : isChosen ? "bg-ramp-1-500/16 text-label-primary" : "bg-surface-base text-label-primary shadow-[0_0_0_0.5px_var(--theme-separator-hairline)] hover:bg-fill-hover",
16399
+ isSentence ? "text-tint-base shadow-[inset_0_0_0_1px_color-mix(in_srgb,var(--theme-tint-base)_45%,transparent)] hover:bg-tint-base/8" : isChosen ? "bg-meadow-500/16 text-label-primary" : "bg-surface-base text-label-primary shadow-[0_0_0_0.5px_var(--theme-separator-hairline)] hover:bg-fill-hover",
16389
16400
  isTravelling && "invisible",
16390
16401
  travellingChoiceId !== void 0 && !isTravelling && "opacity-0"
16391
16402
  ),
@@ -16609,7 +16620,7 @@ function PointPin({ point, isReducedMotion }) {
16609
16620
  {
16610
16621
  className: cn("absolute block -translate-x-1/2 -translate-y-full", !isReducedMotion && "animate-agent-bump"),
16611
16622
  style: { "--bump-from": 0.7, transformOrigin: "50% 100%" },
16612
- children: /* @__PURE__ */ jsx(MapPointFilledIcon, { className: "size-7 text-ramp-7-500 drop-shadow-[0_2px_3px_var(--theme-shadow-raised-color)]" })
16623
+ children: /* @__PURE__ */ jsx(MapPointFilledIcon, { className: "size-7 text-roof-500 drop-shadow-[0_2px_3px_var(--theme-shadow-raised-color)]" })
16613
16624
  }
16614
16625
  ) });
16615
16626
  }
@@ -16662,7 +16673,7 @@ function PointAnswer({
16662
16673
  function PointRecord({ picture, point }) {
16663
16674
  return /* @__PURE__ */ jsxs("span", { "aria-hidden": true, className: "relative block h-9 w-12 shrink-0 overflow-hidden rounded-[5px]", children: [
16664
16675
  /* @__PURE__ */ jsx("img", { alt: "", src: picture.url, className: "size-full object-cover", style: { objectPosition: picture.focus } }),
16665
- /* @__PURE__ */ jsx("span", { className: "absolute size-1.5 -translate-x-1/2 -translate-y-1/2 rounded-full bg-ramp-7-500 ring-1 ring-label-on-tint", style: { left: `${point.xPercent}%`, top: `${point.yPercent}%` } })
16676
+ /* @__PURE__ */ jsx("span", { className: "absolute size-1.5 -translate-x-1/2 -translate-y-1/2 rounded-full bg-roof-500 ring-1 ring-label-on-tint", style: { left: `${point.xPercent}%`, top: `${point.yPercent}%` } })
16666
16677
  ] });
16667
16678
  }
16668
16679
  var PRINT_WIDTH_PX = 108;
@@ -17048,7 +17059,7 @@ function QuestionCard({
17048
17059
  "data-question-motion": motion2,
17049
17060
  className: cn("relative isolate", surface === "card" && AGENT_CARD_CLASSNAME),
17050
17061
  children: [
17051
- isCelebrating && /* @__PURE__ */ jsx(WarmthWash, { washClassName: "rounded-[inherit] bg-ramp-1-500/8", isReducedMotion }),
17062
+ isCelebrating && /* @__PURE__ */ jsx(WarmthWash, { washClassName: "rounded-[inherit] bg-meadow-500/8", isReducedMotion }),
17052
17063
  isSortingTableKind ? (
17053
17064
  // The table closes to its record on its own spring, and its prints are dealt in from beyond the card, so nothing clips it.
17054
17065
  /* @__PURE__ */ jsx("div", { children: content })
@@ -17065,7 +17076,7 @@ function QuestionCard({
17065
17076
  toRadiusPx: travel.target === "tile" ? 7 : 6,
17066
17077
  isReducedMotion,
17067
17078
  onLand: () => setTravel({ phase: "landed", target: travel.target, choiceId: travel.choiceId, picture: travel.picture, words: travel.words }),
17068
- className: travel.target === "gap" ? "flex items-center justify-center bg-ramp-2-500/14" : void 0,
17079
+ className: travel.target === "gap" ? "flex items-center justify-center bg-air-500/14" : void 0,
17069
17080
  children: travel.picture ? /* @__PURE__ */ jsx("img", { alt: "", src: travel.picture.url, className: "size-full object-cover", style: { objectPosition: travel.picture.focus } }) : /* @__PURE__ */ jsx("span", { className: "text-body font-semibold whitespace-nowrap text-label-primary", children: travel.words })
17070
17081
  }
17071
17082
  )
@@ -17100,9 +17111,9 @@ function SentenceGap({
17100
17111
  }, [isLandingHere, isReducedMotion]);
17101
17112
  if (words !== void 0) {
17102
17113
  return /* @__PURE__ */ jsxs("span", { className: "relative inline-block rounded-[6px] px-0.5", children: [
17103
- /* @__PURE__ */ jsx("span", { ref: washRef, "aria-hidden": true, className: "absolute inset-0 -z-10 rounded-[6px] bg-ramp-2-500/24 opacity-0" }),
17114
+ /* @__PURE__ */ jsx("span", { ref: washRef, "aria-hidden": true, className: "absolute inset-0 -z-10 rounded-[6px] bg-air-500/24 opacity-0" }),
17104
17115
  /* @__PURE__ */ jsx("span", { className: cn("relative", isLandingHere && isReducedMotion && "animate-agent-crossfade"), children: words }),
17105
- isLandingHere && /* @__PURE__ */ jsx("span", { "aria-hidden": true, className: "pointer-events-none absolute top-1/2 left-1/2 size-0", children: /* @__PURE__ */ jsx("span", { className: "absolute -inset-3", children: /* @__PURE__ */ jsx(CompletionBurst, { tone: "lake", size: "lg", isReducedMotion }) }) })
17116
+ isLandingHere && /* @__PURE__ */ jsx("span", { "aria-hidden": true, className: "pointer-events-none absolute top-1/2 left-1/2 size-0", children: /* @__PURE__ */ jsx("span", { className: "absolute -inset-3", children: /* @__PURE__ */ jsx(CompletionBurst, { tone: "air", size: "lg", isReducedMotion }) }) })
17106
17117
  ] });
17107
17118
  }
17108
17119
  return /* @__PURE__ */ jsx(
@@ -17112,7 +17123,7 @@ function SentenceGap({
17112
17123
  "aria-label": "A gap for your answer",
17113
17124
  role: "img",
17114
17125
  className: cn(
17115
- "mx-0.5 inline-block h-[1.15em] w-[74px] rounded-[6px] bg-ramp-2-500/14 align-[-0.22em] shadow-[inset_0_-1.5px_0_color-mix(in_srgb,var(--color-lake-500)_60%,transparent)]",
17126
+ "mx-0.5 inline-block h-[1.15em] w-[74px] rounded-[6px] bg-air-500/14 align-[-0.22em] shadow-[inset_0_-1.5px_0_color-mix(in_srgb,var(--color-air-500)_60%,transparent)]",
17116
17127
  isWaiting && !isReducedMotion && "animate-agent-breathe"
17117
17128
  ),
17118
17129
  style: { width: widthPx || void 0, transition: isReducedMotion ? void 0 : toSpringTransition(["width"], "settle") }
@@ -17411,7 +17422,7 @@ function toStretchInkClassName(span) {
17411
17422
  }
17412
17423
  function SpanTile({ span, sizeClassName, isBreathing }) {
17413
17424
  const Glyph = RUN_SPAN_KIND_GLYPHS[span.kind];
17414
- const fillClassName = span.kind === "wait" ? "bg-ramp-5-500" : toAgentToneClassNames(RUN_SPAN_KIND_TONES[span.kind]).solid;
17425
+ const fillClassName = span.kind === "wait" ? "bg-path-500" : toAgentToneClassNames(RUN_SPAN_KIND_TONES[span.kind]).solid;
17415
17426
  return /* @__PURE__ */ jsx("span", { "aria-hidden": true, className: cn("grid shrink-0 place-items-center rounded-[5px] text-label-on-tint", sizeClassName, fillClassName, isBreathing && "animate-agent-breathe"), children: Glyph ? /* @__PURE__ */ jsx(Glyph, { className: "size-[62%]", strokeWidth: 2 }) : /* @__PURE__ */ jsx("span", { className: "size-1 rounded-full bg-current" }) });
17416
17427
  }
17417
17428
  function StrokeDrawing({
@@ -17669,7 +17680,7 @@ var NAME_CLASSNAME = {
17669
17680
  };
17670
17681
  var BAR_CLASSNAME = {
17671
17682
  pending: "bg-label-tertiary/20",
17672
- running: "animate-agent-breathe bg-ramp-1-500 motion-reduce:animate-none",
17683
+ running: "animate-agent-breathe bg-meadow-500 motion-reduce:animate-none",
17673
17684
  done: "bg-label-tertiary/40",
17674
17685
  failed: "bg-status-critical-border",
17675
17686
  blocked: "bg-status-warning-base/50",
@@ -18406,7 +18417,7 @@ function WrittenIn({ text, changeState, surface, isReducedMotion }) {
18406
18417
  children: text
18407
18418
  }
18408
18419
  ),
18409
- !isOpen && /* @__PURE__ */ jsx(KickAt, { tone: "lake", isReducedMotion })
18420
+ !isOpen && /* @__PURE__ */ jsx(KickAt, { tone: "air", isReducedMotion })
18410
18421
  ] });
18411
18422
  }
18412
18423
  function StruckOut({ text, changeState, surface, isReducedMotion }) {
@@ -18493,7 +18504,7 @@ function PencilProofCounts({ addedCount, removedCount, isReducedMotion: isReduce
18493
18504
  if (addedCount + removedCount === 0) return null;
18494
18505
  const bumpStyle = { "--bump-from": 0.86 };
18495
18506
  return /* @__PURE__ */ jsxs("span", { className: cn("flex shrink-0 items-center gap-1.5 text-footnote font-semibold tabular-nums", className), "aria-label": `${addedCount} additions and ${removedCount} removals to review`, children: [
18496
- /* @__PURE__ */ jsxs("span", { "aria-hidden": true, className: cn("inline-block", toAgentToneClassNames("lake").ink, !isReducedMotion && "animate-agent-bump"), style: bumpStyle, children: [
18507
+ /* @__PURE__ */ jsxs("span", { "aria-hidden": true, className: cn("inline-block", toAgentToneClassNames("air").ink, !isReducedMotion && "animate-agent-bump"), style: bumpStyle, children: [
18497
18508
  "+",
18498
18509
  addedCount
18499
18510
  ] }, `added-${addedCount}`),
@@ -18660,7 +18671,7 @@ function RaisedHandBar({ handState, onRaiseHand, onStop, isReducedMotion: isRedu
18660
18671
  onClick: () => handState === "down" && onRaiseHand(),
18661
18672
  className: cn(
18662
18673
  "inline-flex h-8 items-center gap-1.5 rounded-full px-3 text-footnote font-semibold outline-hidden focus-visible:ring-2 focus-visible:ring-tint-base/40",
18663
- isUp && "bg-ramp-4-400 text-label-on-tint",
18674
+ isUp && "bg-poplar-400 text-label-on-tint",
18664
18675
  isHeard && toAgentToneClassNames("meadow").tint,
18665
18676
  handState === "down" && "text-label-primary hover:bg-fill-hover"
18666
18677
  ),
@@ -18682,7 +18693,7 @@ function RaisedHandBar({ handState, onRaiseHand, onStop, isReducedMotion: isRedu
18682
18693
  type: "button",
18683
18694
  "aria-label": "Stop",
18684
18695
  onClick: onStop,
18685
- className: "grid size-8 place-items-center rounded-full text-label-secondary outline-hidden transition-colors duration-(--duration-fade) hover:bg-fill-hover hover:text-ramp-7-500 focus-visible:ring-2 focus-visible:ring-tint-base/40",
18696
+ className: "grid size-8 place-items-center rounded-full text-label-secondary outline-hidden transition-colors duration-(--duration-fade) hover:bg-fill-hover hover:text-roof-500 focus-visible:ring-2 focus-visible:ring-tint-base/40",
18686
18697
  children: /* @__PURE__ */ jsx(StopFilledIcon, { "aria-hidden": true, className: "size-3.5" })
18687
18698
  }
18688
18699
  )
@@ -18827,7 +18838,7 @@ function SteerRunBar({ state, statusLabel, elapsedMs, onStop, onPause, onResume,
18827
18838
  "span",
18828
18839
  {
18829
18840
  "aria-hidden": true,
18830
- className: cn("size-2 shrink-0 rounded-full", state === "running" ? "animate-agent-breathe bg-ramp-1-500 motion-reduce:animate-none" : "bg-label-tertiary")
18841
+ className: cn("size-2 shrink-0 rounded-full", state === "running" ? "animate-agent-breathe bg-meadow-500 motion-reduce:animate-none" : "bg-label-tertiary")
18831
18842
  }
18832
18843
  ),
18833
18844
  /* @__PURE__ */ jsx("span", { className: cn("min-w-0 flex-1 truncate text-footnote tabular-nums", isStopping ? "text-label-secondary" : "text-label-primary"), children: toAgentRunStatusText({ state, statusLabel, elapsedMs }) }),
@@ -18983,7 +18994,7 @@ function RewindText({
18983
18994
  className: cn(
18984
18995
  "rounded-[4px] underline-offset-[5px] outline-hidden [box-decoration-break:clone] focus-visible:ring-2 focus-visible:ring-tint-base/40",
18985
18996
  canTakeBack && "cursor-pointer underline decoration-label-tertiary/40 decoration-dotted decoration-2 transition-colors duration-(--duration-fade) hover:bg-fill-hover",
18986
- isTakenBack && phase === "settled" && "underline decoration-ramp-4-400/80 decoration-wavy decoration-2",
18997
+ isTakenBack && phase === "settled" && "underline decoration-poplar-400/80 decoration-wavy decoration-2",
18987
18998
  className
18988
18999
  ),
18989
19000
  children: [
@@ -19110,7 +19121,7 @@ function ThreadedNote({
19110
19121
  strokeLinejoin: "round",
19111
19122
  pathLength: 1,
19112
19123
  strokeDasharray: 1,
19113
- className: cn("transition-[stroke] duration-(--duration-reveal) ease-sheet", isTaken ? "stroke-ramp-1-500/80" : "stroke-tint-base/75"),
19124
+ className: cn("transition-[stroke] duration-(--duration-reveal) ease-sheet", isTaken ? "stroke-meadow-500/80" : "stroke-tint-base/75"),
19114
19125
  style: isReducedMotion ? void 0 : { animation: "kern-agent-draw 820ms cubic-bezier(0.45, 0.05, 0.25, 1) 240ms both", "--draw-length": 1 }
19115
19126
  }
19116
19127
  ) })
@@ -19180,7 +19191,7 @@ function BackgroundTaskCard({
19180
19191
  className: "mt-1 bg-fill-pressed"
19181
19192
  }
19182
19193
  ),
19183
- (state === "running" || state === "paused") && caption && /* @__PURE__ */ jsx(TaskLine, { leading: Icon && state === "running" ? /* @__PURE__ */ jsx("span", { "aria-hidden": true, className: "size-1.5 shrink-0 animate-agent-breathe rounded-full bg-ramp-1-500 motion-reduce:animate-none" }) : void 0, children: caption }),
19194
+ (state === "running" || state === "paused") && caption && /* @__PURE__ */ jsx(TaskLine, { leading: Icon && state === "running" ? /* @__PURE__ */ jsx("span", { "aria-hidden": true, className: "size-1.5 shrink-0 animate-agent-breathe rounded-full bg-meadow-500 motion-reduce:animate-none" }) : void 0, children: caption }),
19184
19195
  state === "done" && /* @__PURE__ */ jsx(TaskLine, { leading: /* @__PURE__ */ jsx(CheckIcon, { "aria-hidden": true, className: "size-3.5 shrink-0 text-label-secondary" }), tone: "primary", children: resultSummary ?? BACKGROUND_TASK_STATE_LABELS.done }),
19185
19196
  state === "failed" && /* @__PURE__ */ jsxs("div", { className: "flex flex-col items-start gap-2.5", children: [
19186
19197
  /* @__PURE__ */ jsx("p", { className: "text-footnote text-status-critical-text [overflow-wrap:anywhere]", children: error ?? "The task stopped before it finished." }),
@@ -19224,10 +19235,9 @@ var AGENT_ISLAND_METRICS = {
19224
19235
  var COMPACT_FACE_GAPS_PX = 30;
19225
19236
  var FACE_IN_DELAY_MS = 120;
19226
19237
  function useMeasuredSize() {
19227
- const elementRef = useRef(null);
19238
+ const [element, elementRef] = useState(null);
19228
19239
  const [measuredSize, setMeasuredSize] = useState({ widthPx: 0, heightPx: 0 });
19229
19240
  useLayoutEffect(() => {
19230
- const element = elementRef.current;
19231
19241
  if (!element) return;
19232
19242
  const measure = () => setMeasuredSize({ widthPx: element.offsetWidth, heightPx: element.offsetHeight });
19233
19243
  measure();
@@ -19235,7 +19245,7 @@ function useMeasuredSize() {
19235
19245
  const resizeObserver = new ResizeObserver(measure);
19236
19246
  resizeObserver.observe(element);
19237
19247
  return () => resizeObserver.disconnect();
19238
- }, []);
19248
+ }, [element]);
19239
19249
  return { elementRef, ...measuredSize };
19240
19250
  }
19241
19251
  function toFaceStyle(isShown, isReducedMotion) {
@@ -19427,10 +19437,10 @@ function IslandWaveform({ levels, shownCount = levels.length, tone = "cloud", he
19427
19437
  var BACKGROUND_TASK_KIND_TONES = {
19428
19438
  task: "meadow",
19429
19439
  reply: "dusk",
19430
- timer: "ochre",
19440
+ timer: "poplar",
19431
19441
  voiceNote: "cloud",
19432
19442
  found: "air",
19433
- photos: "lake"
19443
+ photos: "air"
19434
19444
  };
19435
19445
  var BACKGROUND_TASK_RESULT_LABELS = {
19436
19446
  task: "Done",
@@ -19715,7 +19725,7 @@ function ArtifactCard({
19715
19725
  /* @__PURE__ */ jsxs("span", { id: captionId, className: "flex min-w-0 items-center gap-1.5 text-footnote text-label-secondary", children: [
19716
19726
  /* @__PURE__ */ jsx("span", { className: "sr-only", children: `${ARTIFACT_KIND_LABELS[kind]}, ` }),
19717
19727
  state === "writing" && /* @__PURE__ */ jsxs(Fragment, { children: [
19718
- /* @__PURE__ */ jsx("span", { "aria-hidden": true, className: "size-1.5 shrink-0 animate-agent-breathe rounded-full bg-ramp-1-500 motion-reduce:animate-none" }),
19728
+ /* @__PURE__ */ jsx("span", { "aria-hidden": true, className: "size-1.5 shrink-0 animate-agent-breathe rounded-full bg-meadow-500 motion-reduce:animate-none" }),
19719
19729
  /* @__PURE__ */ jsx("span", { children: "Writing\u2026" })
19720
19730
  ] }),
19721
19731
  state === "ready" && /* @__PURE__ */ jsx("span", { className: "truncate", children: toArtifactCardCaption({ versionNumber, updatedLabel }) }),
@@ -19847,7 +19857,7 @@ function ArtifactIsland({
19847
19857
  className: cn(
19848
19858
  "h-9 shrink-0 rounded-full bg-label-primary px-4 text-footnote font-semibold text-(--theme-neutral-1000) outline-hidden",
19849
19859
  "transition-transform duration-(--duration-press) ease-sheet active:scale-95 motion-reduce:transition-none",
19850
- "focus-visible:ring-2 focus-visible:ring-ramp-4-300",
19860
+ "focus-visible:ring-2 focus-visible:ring-poplar-300",
19851
19861
  !preview && "ml-auto"
19852
19862
  ),
19853
19863
  children: "Open"
@@ -20001,7 +20011,7 @@ function ArtifactPanel({
20001
20011
  /* @__PURE__ */ jsx("span", { className: "shrink-0", children: ARTIFACT_KIND_LABELS[kind] }),
20002
20012
  /* @__PURE__ */ jsx("span", { "aria-hidden": true, children: "\xB7" }),
20003
20013
  isWriting ? /* @__PURE__ */ jsxs(Fragment, { children: [
20004
- /* @__PURE__ */ jsx("span", { "aria-hidden": true, className: "size-1.5 shrink-0 animate-agent-breathe rounded-full bg-ramp-1-500 motion-reduce:animate-none" }),
20014
+ /* @__PURE__ */ jsx("span", { "aria-hidden": true, className: "size-1.5 shrink-0 animate-agent-breathe rounded-full bg-meadow-500 motion-reduce:animate-none" }),
20005
20015
  /* @__PURE__ */ jsx("span", { children: "Writing\u2026" })
20006
20016
  ] }) : state === "failed" && !isViewingOlderVersion ? /* @__PURE__ */ jsx("span", { className: "truncate text-status-critical-text", children: "Didn't finish" }) : /* @__PURE__ */ jsx("span", { className: "truncate", children: selectedVersion?.createdLabel })
20007
20017
  ] })
@@ -20112,7 +20122,7 @@ function ArtifactSidePane({
20112
20122
  className: cn("relative h-full shrink-0 overflow-hidden", className),
20113
20123
  style: { ...toPaneGlassStyle({ side: "trailing" }), width: isTucked ? ARTIFACT_SPINE_WIDTH_PX : widthPx, transition: isReducedMotion ? void 0 : toSpringTransition(["width"], "settle") },
20114
20124
  children: [
20115
- /* @__PURE__ */ jsx("span", { "aria-hidden": true, className: cn("absolute inset-y-0 left-0 z-10 w-[3px] bg-ramp-3-500 transition-opacity duration-(--duration-fade) ease-sheet", isTucked ? "opacity-100" : "opacity-40") }),
20125
+ /* @__PURE__ */ jsx("span", { "aria-hidden": true, className: cn("absolute inset-y-0 left-0 z-10 w-[3px] bg-cloud-500 transition-opacity duration-(--duration-fade) ease-sheet", isTucked ? "opacity-100" : "opacity-40") }),
20116
20126
  /* @__PURE__ */ jsx(
20117
20127
  "div",
20118
20128
  {
@@ -20138,14 +20148,14 @@ function ArtifactSidePane({
20138
20148
  ),
20139
20149
  style: { width: ARTIFACT_SPINE_WIDTH_PX },
20140
20150
  children: /* @__PURE__ */ jsxs("span", { ref: spineMarksRef, className: "flex flex-col items-center gap-3", children: [
20141
- /* @__PURE__ */ jsx(KindIcon, { "aria-hidden": true, className: "size-4 text-ramp-3-600 dark:text-ramp-3-300" }),
20151
+ /* @__PURE__ */ jsx(KindIcon, { "aria-hidden": true, className: "size-4 text-cloud-600 dark:text-cloud-300" }),
20142
20152
  /* @__PURE__ */ jsx("span", { className: "text-footnote font-semibold whitespace-nowrap text-label-secondary [writing-mode:vertical-rl]", children: title }),
20143
20153
  /* @__PURE__ */ jsx(
20144
20154
  "span",
20145
20155
  {
20146
20156
  "aria-hidden": true,
20147
20157
  "data-unseen-revision": hasUnseenRevision || void 0,
20148
- className: cn("size-2 rounded-full bg-ramp-1-500 transition-opacity duration-(--duration-fade) ease-sheet", hasUnseenRevision ? "opacity-100" : "opacity-0")
20158
+ className: cn("size-2 rounded-full bg-meadow-500 transition-opacity duration-(--duration-fade) ease-sheet", hasUnseenRevision ? "opacity-100" : "opacity-0")
20149
20159
  }
20150
20160
  )
20151
20161
  ] })
@@ -21096,7 +21106,7 @@ function AgentIdentityStatusDot({ status }) {
21096
21106
  "aria-hidden": true,
21097
21107
  className: cn(
21098
21108
  "size-1.5 rounded-full",
21099
- status === "working" ? "animate-agent-breathe bg-ramp-1-500 motion-reduce:animate-none" : "bg-label-tertiary"
21109
+ status === "working" ? "animate-agent-breathe bg-meadow-500 motion-reduce:animate-none" : "bg-label-tertiary"
21100
21110
  )
21101
21111
  }
21102
21112
  ) });
@@ -21511,7 +21521,7 @@ function AgentScreenThumbnail({ image, variant, pageTitle, state, action, needsY
21511
21521
  /* @__PURE__ */ jsxs("span", { className: "flex min-w-0 flex-1 flex-col gap-0.5", children: [
21512
21522
  /* @__PURE__ */ jsx("span", { className: cn("truncate text-body font-semibold", state === "ended" ? "text-label-secondary" : "text-label-primary"), children: title }),
21513
21523
  /* @__PURE__ */ jsxs("span", { id: captionId, className: "flex min-w-0 items-center gap-1.5 text-footnote text-label-secondary", children: [
21514
- isLive && /* @__PURE__ */ jsx("span", { "aria-hidden": true, className: "size-1.5 shrink-0 animate-agent-breathe rounded-full bg-ramp-1-500 motion-reduce:animate-none" }),
21524
+ isLive && /* @__PURE__ */ jsx("span", { "aria-hidden": true, className: "size-1.5 shrink-0 animate-agent-breathe rounded-full bg-meadow-500 motion-reduce:animate-none" }),
21515
21525
  state === "needs-you" && /* @__PURE__ */ jsx("span", { "aria-hidden": true, className: "size-1.5 shrink-0 rounded-full bg-status-warning-base" }),
21516
21526
  /* @__PURE__ */ jsx("span", { className: "truncate", children: toAgentScreenCaption({ state, variant, action }) })
21517
21527
  ] })
@@ -21539,8 +21549,8 @@ var RE_INK_BEATS = {
21539
21549
  };
21540
21550
  var SURFACE_CLASSNAMES = {
21541
21551
  plain: {
21542
- inkVariables: "[--re-ink-wash:color-mix(in_srgb,var(--lake-500)_14%,transparent)] [--re-ink-ink:var(--lake-700)] dark:[--re-ink-ink:var(--lake-300)]",
21543
- strike: "bg-ramp-3-500"
21552
+ inkVariables: "[--re-ink-wash:color-mix(in_srgb,var(--air-500)_14%,transparent)] [--re-ink-ink:var(--air-700)] dark:[--re-ink-ink:var(--air-300)]",
21553
+ strike: "bg-cloud-500"
21544
21554
  },
21545
21555
  tint: {
21546
21556
  inkVariables: "[--re-ink-wash:color-mix(in_srgb,var(--theme-label-on-tint)_22%,transparent)] [--re-ink-ink:var(--theme-label-on-tint)]",
@@ -21653,7 +21663,7 @@ function DiffReInk({
21653
21663
  )) }, leaving.changeCount)
21654
21664
  ] }) });
21655
21665
  }
21656
- var DRAFT_TONES = ["air", "poplar", "plum", "lake", "dusk", "ochre"];
21666
+ var DRAFT_TONES = ["air", "poplar", "dusk", "air", "dusk", "poplar"];
21657
21667
  var STACK_WIDTH_CLASSNAME = "w-[min(100%,320px)]";
21658
21668
  var STACKED_TRANSFORMS = ["none", "translate(-3px, 7px) rotate(-1.4deg)", "translate(4px, 13px) rotate(1.2deg)"];
21659
21669
  var STANDARD_EASING2 = "cubic-bezier(0.32, 0.72, 0, 1)";
@@ -23218,7 +23228,7 @@ function CapsuleCells({ code, cellGroups, isReducedMotion, isInvalid }) {
23218
23228
  fill: "none",
23219
23229
  strokeWidth: "2",
23220
23230
  strokeLinecap: "round",
23221
- className: isAccepted ? "stroke-ramp-1-500 dark:stroke-ramp-1-400" : "stroke-tint-base",
23231
+ className: isAccepted ? "stroke-meadow-500 dark:stroke-meadow-400" : "stroke-tint-base",
23222
23232
  style: {
23223
23233
  width: "calc(100% - 2px)",
23224
23234
  height: "calc(100% - 2px)",
@@ -23236,7 +23246,7 @@ function CapsuleCells({ code, cellGroups, isReducedMotion, isInvalid }) {
23236
23246
  {
23237
23247
  "aria-hidden": true,
23238
23248
  "data-slot": "input-otp-refusal",
23239
- className: "absolute inset-x-8 -bottom-2.5 h-0.5 rounded-full bg-ramp-7-500/70 dark:bg-ramp-7-400/80",
23249
+ className: "absolute inset-x-8 -bottom-2.5 h-0.5 rounded-full bg-roof-500/70 dark:bg-roof-400/80",
23240
23250
  style: phase === "rejected" && !isReducedMotion ? { animation: `kern-otp-line ${REJECT_HOLD_MS + 250}ms var(--theme-ease-standard) both` } : void 0
23241
23251
  },
23242
23252
  state.phaseKey
@@ -23280,7 +23290,7 @@ function KeyCap({ code, cellIndex, isReducedMotion, isAwake }) {
23280
23290
  {
23281
23291
  "aria-hidden": true,
23282
23292
  "data-slot": "input-otp-refusal",
23283
- className: cn("pointer-events-none absolute inset-0 bg-ramp-7-500/16 dark:bg-ramp-7-400/20", isReducedMotion && "opacity-60"),
23293
+ className: cn("pointer-events-none absolute inset-0 bg-roof-500/16 dark:bg-roof-400/20", isReducedMotion && "opacity-60"),
23284
23294
  style: isReducedMotion ? void 0 : { animation: `kern-otp-wash ${REJECT_HOLD_MS + 250}ms ease-out both` }
23285
23295
  },
23286
23296
  state.phaseKey
@@ -23289,7 +23299,7 @@ function KeyCap({ code, cellIndex, isReducedMotion, isAwake }) {
23289
23299
  "span",
23290
23300
  {
23291
23301
  "aria-hidden": true,
23292
- className: "pointer-events-none absolute inset-0 bg-ramp-1-500/18 dark:bg-ramp-1-400/22",
23302
+ className: "pointer-events-none absolute inset-0 bg-meadow-500/18 dark:bg-meadow-400/22",
23293
23303
  style: isReducedMotion ? { opacity: 0.35 } : { animation: `kern-otp-bloom-rest 1100ms ease-out ${120 + cellIndex * 45}ms both` }
23294
23304
  }
23295
23305
  ),
@@ -23337,7 +23347,7 @@ function KeycapCells({ code, cellGroups, isReducedMotion, isInvalid }) {
23337
23347
  ]
23338
23348
  }
23339
23349
  ),
23340
- isInvalid && code.phase === "entering" && /* @__PURE__ */ jsx("span", { "aria-hidden": true, "data-slot": "input-otp-refusal", className: "absolute inset-x-8 -bottom-2.5 h-0.5 rounded-full bg-ramp-7-500/70 dark:bg-ramp-7-400/80" })
23350
+ isInvalid && code.phase === "entering" && /* @__PURE__ */ jsx("span", { "aria-hidden": true, "data-slot": "input-otp-refusal", className: "absolute inset-x-8 -bottom-2.5 h-0.5 rounded-full bg-roof-500/70 dark:bg-roof-400/80" })
23341
23351
  ] });
23342
23352
  }
23343
23353
  function StatusLine({ code, messages, id, isInvalid }) {
@@ -23363,7 +23373,7 @@ function StatusLine({ code, messages, id, isInvalid }) {
23363
23373
  "data-slot": "input-otp-status",
23364
23374
  className: cn(
23365
23375
  "m-0 text-footnote tabular-nums motion-safe:animate-[kern-otp-fade_var(--duration-fade)_ease-out_both]",
23366
- phase === "rejected" || isInvalid && phase === "entering" ? "text-ramp-7-600 dark:text-ramp-7-400" : phase === "accepted" ? "text-label-primary" : "text-label-secondary",
23376
+ phase === "rejected" || isInvalid && phase === "entering" ? "text-roof-600 dark:text-roof-400" : phase === "accepted" ? "text-label-primary" : "text-label-secondary",
23367
23377
  phase === "disabled" && "opacity-50"
23368
23378
  ),
23369
23379
  children: line
@@ -23616,7 +23626,7 @@ var LABEL_TONE_CLASS_NAMES = {
23616
23626
  blue: "bg-tint-base/10 text-tint-base",
23617
23627
  muted: "bg-fill-base text-label-secondary",
23618
23628
  red: "bg-status-critical-tint text-status-critical-text",
23619
- clay: "bg-ramp-3-50 text-ramp-3-700",
23629
+ cloud: "bg-cloud-50 text-cloud-700",
23620
23630
  green: "bg-status-success-tint text-status-success-text"
23621
23631
  };
23622
23632
  function toBadgeCountText(count, max) {
@@ -24511,18 +24521,18 @@ function toPathNumber2(value) {
24511
24521
  }
24512
24522
 
24513
24523
  // src/data/chart/chart-colors.ts
24514
- var CHART_SERIES_COLORS = ["ochre", "moss", "terracotta", "sky", "dusk"];
24524
+ var CHART_SERIES_COLORS = ["poplar", "meadow", "roof", "air", "dusk"];
24515
24525
  var CHART_SERIES_VARIABLES_CLASSNAME = cn(
24516
- "[--chart-ochre:var(--poplar-600)] dark:[--chart-ochre:var(--poplar-400)] [--chart-ochre-ink:var(--path-900)]",
24517
- "[--chart-moss:var(--meadow-600)] dark:[--chart-moss:var(--meadow-400)] [--chart-moss-ink:var(--theme-label-on-tint)] dark:[--chart-moss-ink:var(--path-900)]",
24518
- "[--chart-terracotta:var(--roof-500)] dark:[--chart-terracotta:var(--roof-400)] [--chart-terracotta-ink:var(--theme-label-on-tint)] dark:[--chart-terracotta-ink:var(--path-900)]",
24519
- "[--chart-sky:var(--air-600)] dark:[--chart-sky:var(--air-400)] [--chart-sky-ink:var(--theme-label-on-tint)] dark:[--chart-sky-ink:var(--path-900)]",
24526
+ "[--chart-poplar:var(--poplar-600)] dark:[--chart-poplar:var(--poplar-400)] [--chart-poplar-ink:var(--path-900)]",
24527
+ "[--chart-meadow:var(--meadow-600)] dark:[--chart-meadow:var(--meadow-400)] [--chart-meadow-ink:var(--theme-label-on-tint)] dark:[--chart-meadow-ink:var(--path-900)]",
24528
+ "[--chart-roof:var(--roof-500)] dark:[--chart-roof:var(--roof-400)] [--chart-roof-ink:var(--theme-label-on-tint)] dark:[--chart-roof-ink:var(--path-900)]",
24529
+ "[--chart-air:var(--air-600)] dark:[--chart-air:var(--air-400)] [--chart-air-ink:var(--theme-label-on-tint)] dark:[--chart-air-ink:var(--path-900)]",
24520
24530
  "[--chart-dusk:var(--dusk-500)] dark:[--chart-dusk:var(--dusk-400)] [--chart-dusk-ink:var(--theme-label-on-tint)] dark:[--chart-dusk-ink:var(--path-900)]",
24521
24531
  "[--chart-tint:var(--theme-tint-base)] [--chart-tint-ink:var(--theme-label-on-tint)]",
24522
24532
  "[--chart-other:var(--path-400)] dark:[--chart-other:var(--path-500)] [--chart-other-ink:var(--path-900)] dark:[--chart-other-ink:var(--theme-label-on-tint)]",
24523
24533
  // A deeper step in light and a paler one in dark for text in a series colour, at least 4.5:1 on the card in both themes.
24524
- "[--chart-ochre-text:var(--poplar-800)] dark:[--chart-ochre-text:var(--poplar-300)] [--chart-moss-text:var(--meadow-700)] dark:[--chart-moss-text:var(--meadow-300)]",
24525
- "[--chart-terracotta-text:var(--roof-600)] dark:[--chart-terracotta-text:var(--roof-300)] [--chart-sky-text:var(--air-700)] dark:[--chart-sky-text:var(--air-300)]",
24534
+ "[--chart-poplar-text:var(--poplar-800)] dark:[--chart-poplar-text:var(--poplar-300)] [--chart-meadow-text:var(--meadow-700)] dark:[--chart-meadow-text:var(--meadow-300)]",
24535
+ "[--chart-roof-text:var(--roof-600)] dark:[--chart-roof-text:var(--roof-300)] [--chart-air-text:var(--air-700)] dark:[--chart-air-text:var(--air-300)]",
24526
24536
  "[--chart-dusk-text:var(--dusk-600)] dark:[--chart-dusk-text:var(--dusk-300)] [--chart-tint-text:var(--theme-tint-base)] [--chart-other-text:var(--path-600)] dark:[--chart-other-text:var(--path-300)]"
24527
24537
  );
24528
24538
  function toSeriesColorValue(color) {
@@ -25048,7 +25058,7 @@ var SPARKLINE_INSET_PX = 4;
25048
25058
  function Sparkline({
25049
25059
  values,
25050
25060
  label,
25051
- color = "ochre",
25061
+ color = "poplar",
25052
25062
  fill = "area",
25053
25063
  widthPx = 72,
25054
25064
  heightPx = 24,
@@ -25155,6 +25165,6 @@ function SegmentedBar({
25155
25165
  ] });
25156
25166
  }
25157
25167
 
25158
- export { AGENT_CARD_ACTIONS_CLASSNAME, AGENT_CARD_CLASSNAME, AGENT_IDENTITY_STATUS_LABELS, AGENT_ISLAND_METRICS, AGENT_ISLAND_SIZES, AGENT_STEP_STATUS_LABELS, APPROVAL_CARD_CLASSNAME, ARTIFACT_KIND_ICONS, ARTIFACT_KIND_LABELS, ARTIFACT_SPINE_WIDTH_PX, AVATAR_COLORS, Accordion, AccordionContent, AccordionItem, AccordionTrigger, ActionsModule, ActivityIndicator, AgentCard, AgentCardButton, AgentCaret, AgentChangeDivider, AgentDisclosure, AgentIdentity, AgentIsland, AgentQuestion, AgentRunBar, AgentScreenPreview, AgentScreenThumbnail, AgentStatusGlyph, Alert, AlertDialog, AlertDialogContent, AlertDialogTrigger, AppRail, AppRailAccount, AppWindow, ApprovalCard, ApprovalContent, ApprovalRequest, ApprovalStack, ApprovalTile, ArtifactCard, ArtifactIsland, ArtifactPanel, ArtifactSidePane, AspectRatio, Avatar, AvatarGroup, AvatarRampsProvider, BACKGROUND_TASK_DONE_SHOWN_MS, BACKGROUND_TASK_KIND_ICONS, BACKGROUND_TASK_KIND_TONES, BACKGROUND_TASK_RESULT_LABELS, BACKGROUND_TASK_STATE_LABELS, BackButton, BackgroundTaskCard, BackgroundTaskIsland, BackgroundTaskLine, Badge, BarChart, Blockquote, BodyText, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbPath, BreadcrumbSeparator, BubbleTail, BumpingValue, ButtonGroup, ButtonGroupSeparator, ButtonGroupText, CHANGE_KEY_CLASSNAMES, CHART_SERIES_COLORS, CHART_SERIES_VARIABLES_CLASSNAME, CHART_TEXTURES, CHART_TEXTURE_VARIANT_COUNT, COLLAPSED_TAG_COUNT, COPIED_CONFIRMATION_MS, Calendar, CallResult, CanvasControls, Card, CardStack, Carousel, ChangeCountLabel, ChartContainer, ChartDefinitions, ChartKey, ChartSkeleton, ChartTooltip, ChatBubble, Checkbox, ChipsDisclosure, CitationMarker, CitedAnswer, CodeBlock, Collapsible, CollapsibleContent, CollapsibleTrigger, CommandDialog, CommandMenu, CommentRow, CompletionBurst, CompletionTick, CompletionWarmth, ComposeArea, Composer, ComposerSuggestions, ContentPane, ContextMenu, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuSeparator, ContextMenuTrigger, ContextMeter, ConversationAvatar, ConversationView, CopyableValue, DEFAULT_JSON_STRING_LENGTH, DEFAULT_PANE_GLASS_MIX_PERCENT, DEFAULT_REACTIONS, DIMMED_EDGE_OPACITY, DIMMED_NODE_OPACITY, DatePicker, DeliveryReceiptLabel, Dialog, DialogClose, DialogCloseButton, DialogContent, DialogTrigger, DiffReInk, DiffReview, DiffView, DisclosureRow, DisclosureRowSkeleton, Divider, DrawnTick, EDGE_TYPE_NAMES, EPISODE_DIMMED_CLASSNAME, Empty, EmptyActions, EmptyDescription, EmptyMedia, EmptyPane, EmptyTitle, FILL_ICON_BUTTON_CLASSNAME, FactRow, Field, FileAttachmentCard, FilterLinesIcon, GLASS_BUTTON_CLASS_NAME, GLASS_CARD_CLASSNAME, GlassButton, GlassCapsule, GlassMenuTrigger, GraphObjectInspectorView, GraphTypeAvatar, HAIRLINE_STACK_CLASSNAME, HairlineList, HandoffDivider, Heading, HoverCard, HoverCardContent, HoverCardPerson, HoverCardTrigger, FILL_SIZE_CLASSNAME as ICON_BUTTON_FILL_SIZE_CLASSNAME, IDENTITY_ZOOM, IconButton, IconCircle, IconRail, IconRailDivider, IconRailItem, IconTile, IdentityModule, InlineCitation, InlineCode, InlineDiff, InlineSearchCapsule, InputGroup, InputGroupAddon, InputGroupButton, InputGroupInput, InputGroupText, InputGroupTextarea, InputOTP, InsetRow, InspectorHeader, InspectorMoreMenu, InspectorPane, IslandGlyph, IslandProgressRing, IslandWaveform, JOINED_BUTTON_CLASSNAME, JOINED_PICKER_CLASSNAME, JsonViewer, KERN_CODE_THEME_NAME, KERN_ICONS, Kbd, KbdGroup, KernWordmark, LIST_PANE_WIDTH_LIMITS, Label, LabelledSeparator, LargeTitle, Lead, LineChart, LinkPreviewCard, LinkRow, List, ListEmpty, ListGroup, ListGroupItem, ListGroupLabel, ListItem, ListPane, ListPaneContent, ListRailProvider, ListRow, ListRowControl, ListRowSeparator, ListRowSkeleton, ListRows, LoadError, LocationPreview, LogStream, MAX_ZOOM_SCALE, MEDIA_SOURCE_ATTRIBUTE, MENTION_EDGE_PREFIX, MENTION_NODE_PREFIX, MENU_CONTENT_CLASS_NAME, MENU_ROW_CLASS_NAME, MESSAGE_SELECTED_CLASSNAME, METER_CRITICAL_FRACTION, METER_WARNING_FRACTION, MIN_TRANSCRIPT_SEARCH_LENGTH, MIN_ZOOM_SCALE, MODEL_ERROR_COPY, MOTION, MediaGrid, MediaPicture, MediaSenderBadge, MediaTile, MediaViewerFallbackProvider, MediaViewerProvider, MemoryList, MentionToken, Menu, MenuContent, MenuGroup, MenuItem, MenuLinkItem, MenuPicker, MenuSection, MenuSeparator, MenuToggleItem, MenuTrigger, MenuTriggerButton, MessageStamp, ModelErrorNotice, ModelPicker, ModulePair, MorphingGlyph, MultiFileDiff, MutedButton, MutedLine, MutedLineSkeleton, MutedLink, MutedRetryLine, NativeSelect, NativeSelectOptGroup, NativeSelectOption, NavigationMenu, NavigationMenuContent, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuPanelLink, NavigationMenuTrigger, ObjectGraphCanvas, ObjectTags, OrDivider, PANE_KEYBOARD_LARGE_STEP_PX, PANE_KEYBOARD_STEP_PX, PENCIL_PROOF_PUT_BACK_MS, PERSON_AVATAR_SIZE_PX, PERSON_TYPE_KEY, PHONE_STATUS_BAR_HEIGHT_PX, PINNED_AVATAR_SIZE_PX, PLACE_TYPE_KEYS, PLAN_STEP_TONES, PROVENANCE_GLYPHS, Page, PageHeader, PageSection, PageTabBar, Pagination, PaintedDab, PaneBar, PaneBody, PaneCanvas, PaneCaption, PaneFloat, PaneResizeHandle, PaneSearchField, PaneTitle, Panes, PencilProof, PencilProofActions, PencilProofCounts, PersonAvatar, PhotoStack, PhotoTile, PickerMenu, PickerMenuContent, PickerMenuTag, PickerModule, PickerMonogram, PinnedGrid, PinnedTile, PlainItem, PlainItemSkeleton, PlanList, PlanStepMark, PolicyNotice, Popover, PopoverContent2 as PopoverContent, PopoverTrigger, PresentationContext, PressableRow, PrimaryButton, ProgressBar, ProgressRing, ProvenanceBadge, QuestionCard, QuestionTile, RADIUS_PX, RAISED_HAND_LABELS, RELATIONSHIP_GROUP_EDGE_TYPES, RELATIONSHIP_KINDS, REWIND_TIMING, RadioGroup, RaisedHandBar, RatingComposer, ReInkText, ReactionBadge, ReasoningDisclosure, ReasoningThoughtList, ReasoningTicker, ReplyCount, ReplyQuote, ReplyThreadView, ResizableHandle, ResizablePanel, ResizablePanelGroup, ResponseVersionSwitcher, ResponseVersions, RevealGroup, RewindText, RollingFigure, RollingLine, RoundMenuTrigger, RowButton, RunTimeline, SEARCH_FIELD_CLASSNAME, SEARCH_SUGGESTIONS_CLASSNAME, SEARCH_SUGGESTION_GROUP_CLASSNAME, SEARCH_SUGGESTION_HIGHLIGHTED_CLASSNAME, SEARCH_SUGGESTION_LEADING_CLASSNAME, SEARCH_SUGGESTION_ROW_CLASSNAME, SEARCH_TOKEN_CLASSNAME, SPACING_PX, STICKER_EMOJIS, STICKER_FILENAME_PREFIX, STORY_FONT_FAMILY, ScrollArea, ScrollEdge, SearchSuggestionContent, SearchSuggestionIcon, SearchTokenChip, SecondaryButton, SecondaryText, SectionErrorBoundary, SectionLabel, SectionNav, SegmentedBar, SegmentedControl, Select, SelectContent, SelectGroup, SelectItem, SelectSeparator, SelectTrigger, SenderAvatar, Separator, Sheet, SheetClose, SheetContent, SheetTrigger, Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarHeader, SidebarInset, SidebarItem, SidebarItemSkeleton, SidebarProvider, SidebarSubItem, SidebarTrigger, SignInCard, SignInTransition, Skeleton, Slider, SmoothHeight, SocialGraphCanvas, SocialGraphInspectorView, SourceFavicon, SourcePicture, SourcePreview, SourcesPanel, Sparkline, StarButton, StarredMark, StatusCard, StatusDot, StatusGlyph, StatusIcon, StatusPill, StickerImage, StopButton, StreamingText, StrengthMeter, StrokeDrawnIcon, SummaryRow, SummaryRowSkeleton, Switch, TAIL_PATH, THREAD_LINE_COLOR, THREAD_LINE_INSET, THREAD_LINE_STROKE, TOOLBAR_FIELD_CLASSNAME, TOOLBAR_PILL_GROUP_CLASSNAME, TOOL_CALL_KINDS, TOOL_CALL_SLIP_CLASSNAME, TOOL_CALL_SQUARE_DELAY_MS, TYPE_SCALE_PX, Table, TableBody, TableCaption, TableCell, TableCellMenu, TableCellPerson, TableEmpty, TableFooter, TableHead, TableHeader, TableRow, TableRowActions, TableRowsSkeleton, Tabs, TabsContent, TabsList, TabsTrigger, TagList, TextArea, TextField, TextLink, TextureDefinitions, TexturedShape, ThreadBracket, ThreadRailLine, ThreadedNote, ThreadedTranscript, Toast, ToastProvider, ToastViewport, Toaster, Toggle, ToggleGroup, ToggleGroupItem, ToolCallCard, ToolCallGroup, ToolCallResultChip, ToolCallTile, ToolbarJoinedIconButton, ToolbarPickerGroup, ToolbarPickerTrigger, ToolbarPillDivider, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, TrailingValue, TranscriptCard, TranscriptDivider, TranscriptEventDivider, TranscriptEventRunDivider, TranscriptEventRunFoldButton, TranscriptRow, TranscriptSearchBar, TruncatedText, TypeAvatar, TypingBubble, UNKNOWN_SENDER_NOTICE_TEXT, UiLink, UiProvider, UnknownSenderNotice, UsageMeter, VideoAttachmentTile, VoiceMessageBubble, Wallpaper, WindowShell, applyFade, buildReplyThreads, buildThreadRails, canSaveMemoryEdit, chatBubbleTailColors, chatBubbleVariants, cn, distanceToOpacity, egoEdgeId, findTranscriptMatchIds, hasPreviewAndCode, hidesReplyCount, isContiguousReply, isEscapeForGoingBack, isRailWidth, isSidebarShortcut, isStickerFilename, jumpToSection, loadPierre, playSpring, relationshipCurrent, renderPlainMediaImage, showsReplyQuote, toActiveEscapeBackTarget, toAdjacentVersionIds, toAgentScreenActionText, toAgentToneClassNames, toAnswerLine, toApprovalStackSummary, toAreaPath, toArtifactCardCaption, toAttemptLabel, toAttributeText, toAvatarColor, toAvatarColorClassName, toAvatarRamp, toBackgroundTaskFraction, toBackgroundTaskProgressText, toBackgroundTaskStatusLabel, toBadgeCountText, toBandScale, toCanonicalKnowsAbout, toCanvasHighlight, toCaptionTint, toChangeCounts, toChartDefinitionId, toCitationLabel, toClaimText, toClampedSizes, toClampedZoom, toClampedZoomScale, toClockLabel, toColumnPath, toCompactNumber, toComposerSuggestionKeyAction, toComposerTrigger, toContainedSize, toContextCaption, toContextLevel, toContextPercent, toConversationTitle, toCountWord, toCssColor, toDiffCounts, toDiffCountsLabel, toDiffReviewSummary, toDiffTokens, toDistinctAvatarColors, toDistinctAvatarRamps, toDominantColor, toDurationLabel, toEdgeKey, toEdgeSummaryText, toEpisodeBandClassName, toEpisodeRowPosition, toEvidence, toEvidencePathIds, toFileKindLabel, toFileSizeLabel, toFileTypeLabel, toFilteredCommandGroups, toFittingTagCount, toFlatSectionNavItems, toForgottenAnnouncement, toGlassCanvasTheme, toGraphTypeStyle, toGrowthClipPath, toGrowthOrigin, toHandoffSentence, toHighlightCss, toHunkPatch, toInitialSizes, toInlineDiffSegments, toJsonText, toJsonTree, toLanguageFromFileName, toLanguageLabel, toLinePath, toLinearScale, toLitCardClassName, toLogText, toMarkdownBlocks, toMarkdownInlines, toMatchingSuggestionGroups, toMentionIdFromCanvasId, toMentionNodeId, toMentionVisEdges, toMentionVisNodes, toMessageReplyToId, toMeterLevel, toModelErrorAnnouncement, toMonogram, toMonogramClassName, toNearestSlideIndex, toNextHighlightedItemId, toNiceTicks, toObjectGraphVisEdges, toObjectGraphVisNodes, toOpenThread, toPageItems, toPairEdges, toPaneGlassStyle, toPayloadSections, toPencilProofChangeLabel, toPencilProofChanges, toPencilProofOpenCounts, toPencilProofPieces, toPencilProofText, toPercentLabel, toPersonImage, toPersonName, toPlainText, toPredicateLabel, toQuestionAnswerLine, toQuoteSegments, toReadingSectionId, toRecordingClock, toRelationshipGroups, toRelationshipKindColors, toRelationshipKindStyle, toRemainingSeconds, toReorderedItems, toReplyToMessageId, toResizedPaneWidth, toResolutionLine, toResolvedSeries, toRunHeaderLabel, toRunSpanCounts, toRunStrokeStretches, toRunStrokeSummary, toSectionNavGroups, toSelectionHighlight, toSeriesColorValue, toSeriesInkValue, toSeriesPaint, toSeriesTextValue, toShares, toShownProgress, toShownTags, toSmoothAreaPath, toSmoothLinePath, toSocialGraphVisEdges, toSocialGraphVisNodes, toSourceCountLabel, toSourceDomain, toSourceRowElementId, toSourceSiteLabel, toSourceText, toSourceTone, toSpreadLabelPositions, toSpringTiming, toSpringTransition, toStackedSegments, toStatementGroups, toStatementValueText, toSteppedPaneWidth, toStippleTile, toSuggestionOptionId, toSuggestionsEmptyText, toTextWithSuggestion, toThreadTimestamp, toTimeAxisTicks, toTimeLeftLabel, toTitleSegments, toToggledPaneWidth, toTokenCountLabel, toToolCallLook, toTopLevelSections, toTotalChangeCounts, toTranscriptEventIcon, toTranscriptEventKind, toTranscriptEventRuns, toTranscriptEventSummary, toTypeColorVariable, toTypeLabel, toTypeShape, toUnmatchedQuotes, toUsageInlineLabel, toUsedFraction, toVersionMetaLine, toVersionsNewestFirst, toVersionsOldestFirst, toViewerTimestamp, toWaterfallBarGeometry, toWordDiff, toWords, toZoomAboutPoint, useActiveSection, useAvatarColor, useAvatarRamp, useChart, useCommandMenuShortcut, useComposerSuggestionKeys, useEpisodeBandGaps, useEscapeToGoBack, useGrowthFromOrigin, useHasMediaViewer, useIsListRail, useIsReducedMotion, useMediaViewer, useMonogramClassName, useOneTimeCode, usePencilProof, usePrefersReducedMotion2 as usePrefersReducedMotion, usePresentation, useRevealGroupMember, useSidebar, useToast, useTranscriptSearchShortcut, weightedDistances };
25168
+ export { AGENT_CARD_ACTIONS_CLASSNAME, AGENT_CARD_CLASSNAME, AGENT_IDENTITY_STATUS_LABELS, AGENT_ISLAND_METRICS, AGENT_ISLAND_SIZES, AGENT_STEP_STATUS_LABELS, APPROVAL_CARD_CLASSNAME, ARTIFACT_KIND_ICONS, ARTIFACT_KIND_LABELS, ARTIFACT_SPINE_WIDTH_PX, AVATAR_COLORS, Accordion, AccordionContent, AccordionItem, AccordionTrigger, ActionsModule, ActivityIndicator, AgentCard, AgentCardButton, AgentCaret, AgentChangeDivider, AgentDisclosure, AgentIdentity, AgentIsland, AgentQuestion, AgentRunBar, AgentScreenPreview, AgentScreenThumbnail, AgentStatusGlyph, Alert, AlertDialog, AlertDialogContent, AlertDialogTrigger, AppRail, AppRailAccount, AppWindow, ApprovalCard, ApprovalContent, ApprovalRequest, ApprovalStack, ApprovalTile, ArtifactCard, ArtifactIsland, ArtifactPanel, ArtifactSidePane, AspectRatio, Avatar, AvatarGroup, AvatarRampsProvider, BACKGROUND_TASK_DONE_SHOWN_MS, BACKGROUND_TASK_KIND_ICONS, BACKGROUND_TASK_KIND_TONES, BACKGROUND_TASK_RESULT_LABELS, BACKGROUND_TASK_STATE_LABELS, BackButton, BackgroundTaskCard, BackgroundTaskIsland, BackgroundTaskLine, Badge, BarChart, Blockquote, BodyText, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbPath, BreadcrumbSeparator, BubbleTail, BumpingValue, ButtonGroup, ButtonGroupSeparator, ButtonGroupText, CHANGE_KEY_CLASSNAMES, CHART_SERIES_COLORS, CHART_SERIES_VARIABLES_CLASSNAME, CHART_TEXTURES, CHART_TEXTURE_VARIANT_COUNT, COLLAPSED_TAG_COUNT, COPIED_CONFIRMATION_MS, Calendar, CallResult, CanvasControls, Card, CardStack, Carousel, ChangeCountLabel, ChartContainer, ChartDefinitions, ChartKey, ChartSkeleton, ChartTooltip, ChatBubble, Checkbox, ChipsDisclosure, CitationMarker, CitedAnswer, CodeBlock, Collapsible, CollapsibleContent, CollapsibleTrigger, CommandDialog, CommandMenu, CommentRow, CompletionBurst, CompletionTick, CompletionWarmth, ComposeArea, Composer, ComposerSuggestions, ContentPane, ContextMenu, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuSeparator, ContextMenuTrigger, ContextMeter, ConversationAvatar, ConversationView, CopyableValue, DEFAULT_JSON_STRING_LENGTH, DEFAULT_PANE_GLASS_MIX_PERCENT, DEFAULT_REACTIONS, DIMMED_EDGE_OPACITY, DIMMED_NODE_OPACITY, DatePicker, DeliveryReceiptLabel, Dialog, DialogClose, DialogCloseButton, DialogContent, DialogTrigger, DiffReInk, DiffReview, DiffView, DisclosureRow, DisclosureRowSkeleton, Divider, DrawnTick, EDGE_TYPE_NAMES, EPISODE_DIMMED_CLASSNAME, Empty, EmptyActions, EmptyDescription, EmptyMedia, EmptyPane, EmptyTitle, FILL_ICON_BUTTON_CLASSNAME, FactRow, Field, FileAttachmentCard, FilterLinesIcon, GLASS_BUTTON_CLASS_NAME, GLASS_CARD_CLASSNAME, GlassButton, GlassCapsule, GlassMenuTrigger, GraphObjectInspectorView, GraphTypeAvatar, HAIRLINE_STACK_CLASSNAME, HairlineList, HandoffDivider, Heading, HoverCard, HoverCardContent, HoverCardPerson, HoverCardTrigger, FILL_SIZE_CLASSNAME as ICON_BUTTON_FILL_SIZE_CLASSNAME, IDENTITY_ZOOM, IconButton, IconCircle, IconRail, IconRailDivider, IconRailItem, IconTile, IdentityModule, InlineCitation, InlineCode, InlineDiff, InlineSearchCapsule, InputGroup, InputGroupAddon, InputGroupButton, InputGroupInput, InputGroupText, InputGroupTextarea, InputOTP, InsetRow, InspectorHeader, InspectorMoreMenu, InspectorPane, IslandGlyph, IslandProgressRing, IslandWaveform, JOINED_BUTTON_CLASSNAME, JOINED_PICKER_CLASSNAME, JsonViewer, KERN_CODE_THEME_NAME, KERN_ICONS, Kbd, KbdGroup, KernWordmark, LIST_PANE_WIDTH_LIMITS, Label, LabelledSeparator, LargeTitle, Lead, LineChart, LinkPreviewCard, LinkRow, List, ListEmpty, ListGroup, ListGroupItem, ListGroupLabel, ListItem, ListPane, ListPaneContent, ListRailProvider, ListRow, ListRowControl, ListRowSeparator, ListRowSkeleton, ListRows, LoadError, LocationPreview, LogStream, MAX_ZOOM_SCALE, MEDIA_SOURCE_ATTRIBUTE, MENTION_EDGE_PREFIX, MENTION_NODE_PREFIX, MENU_CONTENT_CLASS_NAME, MENU_ROW_CLASS_NAME, MESSAGE_SELECTED_CLASSNAME, METER_CRITICAL_FRACTION, METER_WARNING_FRACTION, MIN_TRANSCRIPT_SEARCH_LENGTH, MIN_ZOOM_SCALE, MODEL_ERROR_COPY, MOTION, MediaGrid, MediaPicture, MediaSenderBadge, MediaTile, MediaViewerFallbackProvider, MediaViewerProvider, MemoryList, MentionToken, Menu, MenuContent, MenuGroup, MenuItem, MenuLinkItem, MenuPicker, MenuSection, MenuSeparator, MenuToggleItem, MenuTrigger, MenuTriggerButton, MessageStamp, ModelErrorNotice, ModelPicker, ModulePair, MorphingGlyph, MultiFileDiff, MutedButton, MutedLine, MutedLineSkeleton, MutedLink, MutedRetryLine, NativeSelect, NativeSelectOptGroup, NativeSelectOption, NavigationMenu, NavigationMenuContent, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuPanelLink, NavigationMenuTrigger, ObjectGraphCanvas, ObjectTags, OrDivider, PALETTE_NAMES, PANE_KEYBOARD_LARGE_STEP_PX, PANE_KEYBOARD_STEP_PX, PENCIL_PROOF_PUT_BACK_MS, PERSON_AVATAR_SIZE_PX, PERSON_TYPE_KEY, PHONE_STATUS_BAR_HEIGHT_PX, PINNED_AVATAR_SIZE_PX, PLACE_TYPE_KEYS, PLAN_STEP_TONES, PROVENANCE_GLYPHS, Page, PageHeader, PageSection, PageTabBar, Pagination, PaintedDab, PaneBar, PaneBody, PaneCanvas, PaneCaption, PaneFloat, PaneResizeHandle, PaneSearchField, PaneTitle, Panes, PencilProof, PencilProofActions, PencilProofCounts, PersonAvatar, PhotoStack, PhotoTile, PickerMenu, PickerMenuContent, PickerMenuTag, PickerModule, PickerMonogram, PinnedGrid, PinnedTile, PlainItem, PlainItemSkeleton, PlanList, PlanStepMark, PolicyNotice, Popover, PopoverContent2 as PopoverContent, PopoverTrigger, PresentationContext, PressableRow, PrimaryButton, ProgressBar, ProgressRing, ProvenanceBadge, QuestionCard, QuestionTile, RADIUS_PX, RAISED_HAND_LABELS, RELATIONSHIP_GROUP_EDGE_TYPES, RELATIONSHIP_KINDS, REWIND_TIMING, RadioGroup, RaisedHandBar, RatingComposer, ReInkText, ReactionBadge, ReasoningDisclosure, ReasoningThoughtList, ReasoningTicker, ReplyCount, ReplyQuote, ReplyThreadView, ResizableHandle, ResizablePanel, ResizablePanelGroup, ResponseVersionSwitcher, ResponseVersions, RevealGroup, RewindText, RollingFigure, RollingLine, RoundMenuTrigger, RowButton, RunTimeline, SEARCH_FIELD_CLASSNAME, SEARCH_SUGGESTIONS_CLASSNAME, SEARCH_SUGGESTION_GROUP_CLASSNAME, SEARCH_SUGGESTION_HIGHLIGHTED_CLASSNAME, SEARCH_SUGGESTION_LEADING_CLASSNAME, SEARCH_SUGGESTION_ROW_CLASSNAME, SEARCH_TOKEN_CLASSNAME, SPACING_PX, STICKER_EMOJIS, STICKER_FILENAME_PREFIX, STORY_FONT_FAMILY, ScrollArea, ScrollEdge, SearchSuggestionContent, SearchSuggestionIcon, SearchTokenChip, SecondaryButton, SecondaryText, SectionErrorBoundary, SectionLabel, SectionNav, SegmentedBar, SegmentedControl, Select, SelectContent, SelectGroup, SelectItem, SelectSeparator, SelectTrigger, SenderAvatar, Separator, Sheet, SheetClose, SheetContent, SheetTrigger, Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarHeader, SidebarInset, SidebarItem, SidebarItemSkeleton, SidebarProvider, SidebarSubItem, SidebarTrigger, SignInCard, SignInTransition, Skeleton, Slider, SmoothHeight, SocialGraphCanvas, SocialGraphInspectorView, SourceFavicon, SourcePicture, SourcePreview, SourcesPanel, Sparkline, StarButton, StarredMark, StatusCard, StatusDot, StatusGlyph, StatusIcon, StatusPill, StickerImage, StopButton, StreamingText, StrengthMeter, StrokeDrawnIcon, SummaryRow, SummaryRowSkeleton, Switch, TAIL_PATH, THREAD_LINE_COLOR, THREAD_LINE_INSET, THREAD_LINE_STROKE, TOOLBAR_FIELD_CLASSNAME, TOOLBAR_PILL_GROUP_CLASSNAME, TOOL_CALL_KINDS, TOOL_CALL_SLIP_CLASSNAME, TOOL_CALL_SQUARE_DELAY_MS, TYPE_SCALE_PX, Table, TableBody, TableCaption, TableCell, TableCellMenu, TableCellPerson, TableEmpty, TableFooter, TableHead, TableHeader, TableRow, TableRowActions, TableRowsSkeleton, Tabs, TabsContent, TabsList, TabsTrigger, TagList, TextArea, TextField, TextLink, TextureDefinitions, TexturedShape, ThreadBracket, ThreadRailLine, ThreadedNote, ThreadedTranscript, Toast, ToastProvider, ToastViewport, Toaster, Toggle, ToggleGroup, ToggleGroupItem, ToolCallCard, ToolCallGroup, ToolCallResultChip, ToolCallTile, ToolbarJoinedIconButton, ToolbarPickerGroup, ToolbarPickerTrigger, ToolbarPillDivider, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, TrailingValue, TranscriptCard, TranscriptDivider, TranscriptEventDivider, TranscriptEventRunDivider, TranscriptEventRunFoldButton, TranscriptRow, TranscriptSearchBar, TruncatedText, TypeAvatar, TypingBubble, UNKNOWN_SENDER_NOTICE_TEXT, UiLink, UiProvider, UnknownSenderNotice, UsageMeter, VideoAttachmentTile, VoiceMessageBubble, Wallpaper, WindowShell, applyFade, buildReplyThreads, buildThreadRails, canSaveMemoryEdit, chatBubbleTailColors, chatBubbleVariants, cn, distanceToOpacity, egoEdgeId, findTranscriptMatchIds, hasPreviewAndCode, hidesReplyCount, isContiguousReply, isEscapeForGoingBack, isRailWidth, isSidebarShortcut, isStickerFilename, jumpToSection, loadPierre, playSpring, relationshipCurrent, renderPlainMediaImage, showsReplyQuote, toActiveEscapeBackTarget, toAdjacentVersionIds, toAgentScreenActionText, toAgentToneClassNames, toAnswerLine, toApprovalStackSummary, toAreaPath, toArtifactCardCaption, toAttemptLabel, toAttributeText, toAvatarColor, toAvatarColorClassName, toAvatarRamp, toBackgroundTaskFraction, toBackgroundTaskProgressText, toBackgroundTaskStatusLabel, toBadgeCountText, toBandScale, toCanonicalKnowsAbout, toCanvasHighlight, toCaptionTint, toChangeCounts, toChartDefinitionId, toCitationLabel, toClaimText, toClampedSizes, toClampedZoom, toClampedZoomScale, toClockLabel, toColumnPath, toCompactNumber, toComposerSuggestionKeyAction, toComposerTrigger, toContainedSize, toContextCaption, toContextLevel, toContextPercent, toConversationTitle, toCountWord, toCssColor, toDiffCounts, toDiffCountsLabel, toDiffReviewSummary, toDiffTokens, toDistinctAvatarColors, toDistinctAvatarRamps, toDominantColor, toDurationLabel, toEdgeKey, toEdgeSummaryText, toEpisodeBandClassName, toEpisodeRowPosition, toEvidence, toEvidencePathIds, toFileKindLabel, toFileSizeLabel, toFileTypeLabel, toFilteredCommandGroups, toFittingTagCount, toFlatSectionNavItems, toForgottenAnnouncement, toGlassCanvasTheme, toGraphTypeStyle, toGrowthClipPath, toGrowthOrigin, toHandoffSentence, toHighlightCss, toHunkPatch, toInitialSizes, toInlineDiffSegments, toJsonText, toJsonTree, toLanguageFromFileName, toLanguageLabel, toLinePath, toLinearScale, toLitCardClassName, toLogText, toMarkdownBlocks, toMarkdownInlines, toMatchingSuggestionGroups, toMentionIdFromCanvasId, toMentionNodeId, toMentionVisEdges, toMentionVisNodes, toMessageReplyToId, toMeterLevel, toModelErrorAnnouncement, toMonogram, toMonogramClassName, toNearestSlideIndex, toNextHighlightedItemId, toNiceTicks, toObjectGraphVisEdges, toObjectGraphVisNodes, toOpenThread, toPageItems, toPairEdges, toPaneGlassStyle, toPayloadSections, toPencilProofChangeLabel, toPencilProofChanges, toPencilProofOpenCounts, toPencilProofPieces, toPencilProofText, toPercentLabel, toPersonImage, toPersonName, toPlainText, toPredicateLabel, toQuestionAnswerLine, toQuoteSegments, toReadingSectionId, toRecordingClock, toRelationshipGroups, toRelationshipKindColors, toRelationshipKindStyle, toRemainingSeconds, toReorderedItems, toReplyToMessageId, toResizedPaneWidth, toResolutionLine, toResolvedSeries, toRunHeaderLabel, toRunSpanCounts, toRunStrokeStretches, toRunStrokeSummary, toSectionNavGroups, toSelectionHighlight, toSeriesColorValue, toSeriesInkValue, toSeriesPaint, toSeriesTextValue, toShares, toShownProgress, toShownTags, toSmoothAreaPath, toSmoothLinePath, toSocialGraphVisEdges, toSocialGraphVisNodes, toSourceCountLabel, toSourceDomain, toSourceRowElementId, toSourceSiteLabel, toSourceText, toSourceTone, toSpreadLabelPositions, toSpringTiming, toSpringTransition, toStackedSegments, toStatementGroups, toStatementValueText, toSteppedPaneWidth, toStippleTile, toSuggestionOptionId, toSuggestionsEmptyText, toTextWithSuggestion, toThreadTimestamp, toTimeAxisTicks, toTimeLeftLabel, toTitleSegments, toToggledPaneWidth, toTokenCountLabel, toToolCallLook, toTopLevelSections, toTotalChangeCounts, toTranscriptEventIcon, toTranscriptEventKind, toTranscriptEventRuns, toTranscriptEventSummary, toTypeColorVariable, toTypeLabel, toTypeShape, toUnmatchedQuotes, toUsageInlineLabel, toUsedFraction, toVersionMetaLine, toVersionsNewestFirst, toVersionsOldestFirst, toViewerTimestamp, toWaterfallBarGeometry, toWordDiff, toWords, toZoomAboutPoint, useActiveSection, useAvatarColor, useAvatarRamp, useChart, useCommandMenuShortcut, useComposerSuggestionKeys, useEpisodeBandGaps, useEscapeToGoBack, useGrowthFromOrigin, useHasMediaViewer, useIsListRail, useIsReducedMotion, useMediaViewer, useMonogramClassName, useOneTimeCode, usePencilProof, usePrefersReducedMotion2 as usePrefersReducedMotion, usePresentation, useRevealGroupMember, useSidebar, useToast, useTranscriptSearchShortcut, weightedDistances };
25159
25169
  //# sourceMappingURL=index.js.map
25160
25170
  //# sourceMappingURL=index.js.map