@tangle-network/agent-app 0.45.41 → 0.45.43

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.
Files changed (47) hide show
  1. package/dist/{DesignCanvas-EODMDQMT.js → DesignCanvas-P2ZVK6FM.js} +2 -2
  2. package/dist/{DesignCanvasEditor-DRRZ6ZD3.js → DesignCanvasEditor-DGNCA54P.js} +3 -3
  3. package/dist/{InvitationsPanel-BATXZHY4.js → InvitationsPanel-F56UOQXA.js} +2 -2
  4. package/dist/{TimelineEditor-IIBVCAZV.js → TimelineEditor-OTNPJ3SN.js} +2 -2
  5. package/dist/{agent-session-controls-BGNNTeJ5.d.ts → agent-session-controls-BMgWtock.d.ts} +5 -7
  6. package/dist/assistant/index.d.ts +1 -1
  7. package/dist/assistant/index.js +8 -8
  8. package/dist/assistant/index.js.map +1 -1
  9. package/dist/chat-react/index.d.ts +1 -1
  10. package/dist/chat-react/index.js +1 -1
  11. package/dist/{chunk-5MZXWPFN.js → chunk-54FYYXAX.js} +2 -2
  12. package/dist/chunk-54FYYXAX.js.map +1 -0
  13. package/dist/{chunk-5N434BGF.js → chunk-65OZT566.js} +4 -4
  14. package/dist/chunk-65OZT566.js.map +1 -0
  15. package/dist/{chunk-UXRJAUJL.js → chunk-B62EZF52.js} +3 -3
  16. package/dist/{chunk-7MV23XBW.js → chunk-IUSO2XRE.js} +2 -2
  17. package/dist/{chunk-7MV23XBW.js.map → chunk-IUSO2XRE.js.map} +1 -1
  18. package/dist/{chunk-MJOZ7K5U.js → chunk-M5JHGU2X.js} +13 -12
  19. package/dist/chunk-M5JHGU2X.js.map +1 -0
  20. package/dist/{chunk-7O4FZAFP.js → chunk-PE67O2LH.js} +13 -13
  21. package/dist/{chunk-7O4FZAFP.js.map → chunk-PE67O2LH.js.map} +1 -1
  22. package/dist/{chunk-556RB3XI.js → chunk-TL37E5YY.js} +3 -3
  23. package/dist/chunk-TL37E5YY.js.map +1 -0
  24. package/dist/{chunk-35SI5SUX.js → chunk-UTN647ES.js} +37 -37
  25. package/dist/chunk-UTN647ES.js.map +1 -0
  26. package/dist/design-canvas-react/index.js +4 -4
  27. package/dist/design-canvas-react/index.js.map +1 -1
  28. package/dist/design-canvas-react/lazy.js +1 -1
  29. package/dist/sequences-react/index.js +2 -2
  30. package/dist/studio-react/index.js +11 -11
  31. package/dist/studio-react/index.js.map +1 -1
  32. package/dist/teams-react/index.js +1 -1
  33. package/dist/teams-react/lazy.js +1 -1
  34. package/dist/web-react/index.d.ts +1 -1
  35. package/dist/web-react/index.js +3 -3
  36. package/dist/work-product-react/index.js +1 -1
  37. package/package.json +1 -1
  38. package/dist/chunk-35SI5SUX.js.map +0 -1
  39. package/dist/chunk-556RB3XI.js.map +0 -1
  40. package/dist/chunk-5MZXWPFN.js.map +0 -1
  41. package/dist/chunk-5N434BGF.js.map +0 -1
  42. package/dist/chunk-MJOZ7K5U.js.map +0 -1
  43. /package/dist/{DesignCanvas-EODMDQMT.js.map → DesignCanvas-P2ZVK6FM.js.map} +0 -0
  44. /package/dist/{DesignCanvasEditor-DRRZ6ZD3.js.map → DesignCanvasEditor-DGNCA54P.js.map} +0 -0
  45. /package/dist/{InvitationsPanel-BATXZHY4.js.map → InvitationsPanel-F56UOQXA.js.map} +0 -0
  46. /package/dist/{TimelineEditor-IIBVCAZV.js.map → TimelineEditor-OTNPJ3SN.js.map} +0 -0
  47. /package/dist/{chunk-UXRJAUJL.js.map → chunk-B62EZF52.js.map} +0 -0
@@ -4,7 +4,7 @@ import {
4
4
  import {
5
5
  WorkProductCard,
6
6
  workProductPartsFromMessageParts
7
- } from "./chunk-5MZXWPFN.js";
7
+ } from "./chunk-54FYYXAX.js";
8
8
  import {
9
9
  ChevronDown,
10
10
  OVERLAY_SHADOW,
@@ -12,7 +12,7 @@ import {
12
12
  PopoverSurface,
13
13
  usePending,
14
14
  usePopover
15
- } from "./chunk-MJOZ7K5U.js";
15
+ } from "./chunk-M5JHGU2X.js";
16
16
  import {
17
17
  UNTITLED_SESSION_LABEL,
18
18
  mergeSessionPages,
@@ -307,7 +307,7 @@ function QuestionOptionList({
307
307
  return /* @__PURE__ */ jsx2(Fragment, { children: options.map((option, optionIndex) => {
308
308
  const inputId = `${idPrefix}-${optionIndex}`;
309
309
  const checked = selectedValues.includes(option.value);
310
- return /* @__PURE__ */ jsxs("label", { htmlFor: inputId, className: "flex cursor-pointer gap-2 rounded-lg border border-border/70 p-3 transition-colors hover:bg-accent", children: [
310
+ return /* @__PURE__ */ jsxs("label", { htmlFor: inputId, className: "flex cursor-pointer gap-2 rounded-lg border border-strong p-3 transition-colors hover:bg-accent", children: [
311
311
  /* @__PURE__ */ jsx2(
312
312
  "input",
313
313
  {
@@ -460,7 +460,7 @@ function InteractionQuestionCard({
460
460
  } else if (submitting) {
461
461
  submitLabel = "Submitting\u2026";
462
462
  }
463
- return /* @__PURE__ */ jsxs("div", { className: `rounded-xl border border-border bg-card p-4 shadow-sm ${className ?? ""}`, children: [
463
+ return /* @__PURE__ */ jsxs("div", { className: `rounded-xl border border-card-edge bg-card p-4 ${className ?? ""}`, children: [
464
464
  /* @__PURE__ */ jsxs("div", { className: "mb-3 flex flex-wrap items-center justify-between gap-2", children: [
465
465
  /* @__PURE__ */ jsxs("div", { className: "flex flex-wrap items-center gap-2", children: [
466
466
  /* @__PURE__ */ jsx2(InteractionBadge, { variant: "outline", children: kindLabel ?? "Question" }),
@@ -611,7 +611,7 @@ function DurablePlanCard({
611
611
  setLocalError(null);
612
612
  await decide(decision, decision === "rejected" ? trimmed : void 0);
613
613
  }
614
- return /* @__PURE__ */ jsxs2("div", { className: `rounded-xl border border-primary/40 bg-card p-4 shadow-sm ${className ?? ""}`, children: [
614
+ return /* @__PURE__ */ jsxs2("div", { className: `rounded-xl border border-primary/40 bg-card p-4 ${className ?? ""}`, children: [
615
615
  /* @__PURE__ */ jsxs2("div", { className: "mb-3 flex flex-wrap items-center justify-between gap-2", children: [
616
616
  /* @__PURE__ */ jsxs2("div", { className: "flex flex-wrap items-center gap-2", children: [
617
617
  /* @__PURE__ */ jsx3(InteractionBadge, { variant: "outline", children: "Plan decision" }),
@@ -755,7 +755,7 @@ function InteractionPlanCard({
755
755
  }
756
756
  const terminalNote = TERMINAL_NOTES2[status];
757
757
  const approved = status === "answered";
758
- return /* @__PURE__ */ jsxs3("div", { className: `rounded-xl border border-border bg-card p-4 shadow-sm ${className ?? ""}`, children: [
758
+ return /* @__PURE__ */ jsxs3("div", { className: `rounded-xl border border-card-edge bg-card p-4 ${className ?? ""}`, children: [
759
759
  /* @__PURE__ */ jsxs3("div", { className: "mb-3 flex flex-wrap items-center justify-between gap-2", children: [
760
760
  /* @__PURE__ */ jsxs3("div", { className: "flex flex-wrap items-center gap-2", children: [
761
761
  /* @__PURE__ */ jsx4(InteractionBadge, { variant: "outline", children: "Plan" }),
@@ -1536,7 +1536,7 @@ function ChatComposer({
1536
1536
  onDragOver: onAttach ? handleDragOver : void 0,
1537
1537
  onDrop: onAttach ? handleDrop : void 0,
1538
1538
  children: [
1539
- dragOver && /* @__PURE__ */ jsx7("div", { className: "pointer-events-none absolute inset-0 z-10 flex items-center justify-center rounded-2xl border-2 border-dashed border-primary/50 bg-card/95", children: /* @__PURE__ */ jsxs5("div", { className: "text-center", children: [
1539
+ dragOver && /* @__PURE__ */ jsx7("div", { className: "pointer-events-none absolute inset-0 z-10 flex items-center justify-center rounded-2xl border-2 border-dashed border-primary/50 bg-card", children: /* @__PURE__ */ jsxs5("div", { className: "text-center", children: [
1540
1540
  /* @__PURE__ */ jsx7("span", { className: "mx-auto mb-2 flex h-11 w-11 items-center justify-center rounded-xl bg-primary/10 text-primary", children: /* @__PURE__ */ jsx7(UploadGlyph, { className: "h-5 w-5" }) }),
1541
1541
  /* @__PURE__ */ jsx7("p", { className: "text-sm font-semibold text-foreground", children: dropTitle }),
1542
1542
  /* @__PURE__ */ jsx7("p", { className: "mt-0.5 text-xs text-muted-foreground", children: dropDescription })
@@ -1617,7 +1617,7 @@ function ChatComposer({
1617
1617
  "div",
1618
1618
  {
1619
1619
  "data-testid": "composer-card",
1620
- className: `flex flex-col gap-1.5 rounded-2xl border border-border bg-card px-3 py-2.5 transition focus-within:border-primary/40 focus-within:ring-2 focus-within:ring-primary/15 ${floating ? "shadow-[0_1px_2px_hsl(var(--foreground)/0.05),0_12px_28px_hsl(var(--foreground)/0.07)] dark:shadow-[0_1px_2px_hsl(var(--foreground)/0.14),0_12px_28px_hsl(var(--foreground)/0.22)]" : ""}`,
1620
+ className: `flex flex-col gap-1.5 rounded-2xl border border-card-edge bg-card px-3 py-2.5 transition focus-within:border-primary/40 focus-within:ring-2 focus-within:ring-primary/15 ${floating ? "shadow-raised" : ""}`,
1621
1621
  children: [
1622
1622
  /* @__PURE__ */ jsx7(
1623
1623
  "textarea",
@@ -2392,7 +2392,7 @@ function FlowWaterfall({ trace }) {
2392
2392
  function MissionActivityLane({ activity, startedAt, nowMs }) {
2393
2393
  const [expanded, setExpanded] = useState10(false);
2394
2394
  if (activity.length === 0) return null;
2395
- return /* @__PURE__ */ jsxs6("div", { className: "mt-1 border-l border-border/50 pl-3", children: [
2395
+ return /* @__PURE__ */ jsxs6("div", { className: "mt-1 border-l border-border pl-3", children: [
2396
2396
  activity.map((run) => {
2397
2397
  const tone = activityTone(run.status);
2398
2398
  const cost = formatActivityCost(run.costUsd);
@@ -2426,7 +2426,7 @@ function MissionActivityLane({ activity, startedAt, nowMs }) {
2426
2426
  ]
2427
2427
  }
2428
2428
  ),
2429
- expanded && /* @__PURE__ */ jsx8("div", { className: "rounded-md border border-border/50 bg-secondary p-2", children: /* @__PURE__ */ jsx8(
2429
+ expanded && /* @__PURE__ */ jsx8("div", { className: "rounded-md border border-border bg-secondary p-2", children: /* @__PURE__ */ jsx8(
2430
2430
  FlowWaterfall,
2431
2431
  {
2432
2432
  trace: stepActivityFlowTrace(activity, {
@@ -2445,7 +2445,7 @@ function ActivityRow({
2445
2445
  const tone = activityTone(record.status);
2446
2446
  const cost = formatActivityCost(record.costUsd);
2447
2447
  const duration = formatActivityDuration(record.durationMs);
2448
- return /* @__PURE__ */ jsxs6("div", { className: "rounded-lg border border-border/60 bg-card", children: [
2448
+ return /* @__PURE__ */ jsxs6("div", { className: "rounded-lg border border-card-edge bg-card", children: [
2449
2449
  /* @__PURE__ */ jsxs6("button", { type: "button", onClick: () => setOpen((v) => !v), className: "flex w-full items-center gap-2.5 px-3 py-2 text-left text-sm", children: [
2450
2450
  /* @__PURE__ */ jsx8(StatusDot, { tone }),
2451
2451
  /* @__PURE__ */ jsxs6("span", { className: "min-w-0 flex-1 truncate", children: [
@@ -2466,8 +2466,8 @@ function ActivityRow({
2466
2466
  cost && /* @__PURE__ */ jsx8("span", { className: "shrink-0 font-mono text-[11px] tabular-nums text-muted-foreground", children: cost }),
2467
2467
  /* @__PURE__ */ jsx8(ChevronGlyph, { className: `h-3 w-3 shrink-0 text-muted-foreground transition-transform ${open ? "rotate-180" : ""}` })
2468
2468
  ] }),
2469
- open && /* @__PURE__ */ jsxs6("div", { className: "space-y-2.5 border-t border-border/40 px-3 py-2.5", children: [
2470
- record.durationMs !== void 0 && /* @__PURE__ */ jsx8("div", { className: "rounded-md border border-border/50 bg-secondary p-2", children: /* @__PURE__ */ jsx8(FlowWaterfall, { trace: stepActivityFlowTrace([record]) }) }),
2469
+ open && /* @__PURE__ */ jsxs6("div", { className: "space-y-2.5 border-t border-border px-3 py-2.5", children: [
2470
+ record.durationMs !== void 0 && /* @__PURE__ */ jsx8("div", { className: "rounded-md border border-border bg-secondary p-2", children: /* @__PURE__ */ jsx8(FlowWaterfall, { trace: stepActivityFlowTrace([record]) }) }),
2471
2471
  /* @__PURE__ */ jsxs6("dl", { className: "grid grid-cols-[auto_1fr] gap-x-3 gap-y-1 font-mono text-[11px]", children: [
2472
2472
  /* @__PURE__ */ jsx8("dt", { className: "text-muted-foreground/60", children: "task" }),
2473
2473
  /* @__PURE__ */ jsx8("dd", { className: "truncate text-muted-foreground", children: record.taskId }),
@@ -2769,7 +2769,7 @@ function SourceRow({
2769
2769
  const status = source.status ?? "ready";
2770
2770
  const statusLine = describeProvenanceSourceStatus(source);
2771
2771
  const openable = status === "ready" && (onOpenSource !== void 0 || source.href !== void 0);
2772
- return /* @__PURE__ */ jsxs7("li", { className: "rounded-md border border-border/60 bg-background/40 px-2.5 py-2", children: [
2772
+ return /* @__PURE__ */ jsxs7("li", { className: "rounded-md border border-card-edge bg-card px-2.5 py-2", children: [
2773
2773
  /* @__PURE__ */ jsxs7("div", { className: "flex flex-wrap items-baseline gap-x-2 gap-y-1", children: [
2774
2774
  /* @__PURE__ */ jsx9("span", { className: "text-[13px] font-medium text-foreground", children: source.label }),
2775
2775
  source.locator && /* @__PURE__ */ jsx9("span", { className: "text-[11px] text-muted-foreground", children: source.locator }),
@@ -2977,7 +2977,7 @@ function ProvenanceValue({
2977
2977
  /* @__PURE__ */ jsx9("p", { className: "rounded-md bg-destructive/10 px-2 py-1.5 text-[11px] leading-snug text-destructive", children: gap.message }, gap.kind)
2978
2978
  )),
2979
2979
  loading.length > 0 && sources.length === 0 && /* @__PURE__ */ jsx9("p", { role: "status", className: "text-[11px] text-muted-foreground", children: "Looking up where this came from\u2026" }),
2980
- inputs.length > 0 && /* @__PURE__ */ jsxs7("div", { className: "border-t border-border/60 pt-2", children: [
2980
+ inputs.length > 0 && /* @__PURE__ */ jsxs7("div", { className: "border-t border-border pt-2", children: [
2981
2981
  /* @__PURE__ */ jsx9("p", { className: "text-[10px] font-medium uppercase tracking-wide text-muted-foreground", children: record.derivation ? `Computed from ${record.derivation}` : "Computed from" }),
2982
2982
  /* @__PURE__ */ jsx9("ul", { className: "mt-1.5 space-y-1.5", children: inputs.map((input, index) => /* @__PURE__ */ jsx9("li", { children: /* @__PURE__ */ jsx9(
2983
2983
  ProvenanceValue,
@@ -3065,7 +3065,7 @@ function SeatPaywall({
3065
3065
  const recurringPrice = offer ? usd(offer.recurring.priceCents) : `$${priceUsd}`;
3066
3066
  const recurringUsage = offer ? usd(offer.recurring.includedCreditsCents) : `$${includedUsageUsd}`;
3067
3067
  const introductory = offer?.introductory ?? null;
3068
- return /* @__PURE__ */ jsx10("div", { className: "flex min-h-[60vh] w-full items-center justify-center p-6", children: /* @__PURE__ */ jsxs8("div", { className: "w-full max-w-md rounded-2xl border border-border bg-card p-8 shadow-sm", children: [
3068
+ return /* @__PURE__ */ jsx10("div", { className: "flex min-h-[60vh] w-full items-center justify-center p-6", children: /* @__PURE__ */ jsxs8("div", { className: "w-full max-w-md rounded-2xl border border-card-edge bg-card p-8", children: [
3069
3069
  /* @__PURE__ */ jsx10("p", { className: "text-xs font-medium uppercase tracking-wide text-muted-foreground", children: product }),
3070
3070
  /* @__PURE__ */ jsxs8("h1", { className: "mt-2 text-2xl font-semibold tracking-tight text-foreground", children: [
3071
3071
  "Unlock ",
@@ -3372,7 +3372,7 @@ function useSessionActions({
3372
3372
  void submitRename();
3373
3373
  }
3374
3374
  },
3375
- className: "mt-1.5 h-9 w-full rounded-md border border-border bg-background px-3 text-sm text-foreground"
3375
+ className: "mt-1.5 h-9 w-full rounded-md border border-strong bg-background px-3 text-sm text-foreground"
3376
3376
  }
3377
3377
  )
3378
3378
  ]
@@ -3445,7 +3445,7 @@ function SessionDialog({
3445
3445
  role: "dialog",
3446
3446
  "aria-modal": "true",
3447
3447
  "aria-label": title,
3448
- className: `relative w-full max-w-sm rounded-xl border border-border bg-popover p-5 ${OVERLAY_SHADOW}`,
3448
+ className: `relative w-full max-w-sm rounded-xl border border-card-edge bg-popover p-5 ${OVERLAY_SHADOW}`,
3449
3449
  children: [
3450
3450
  /* @__PURE__ */ jsx11("h2", { className: "text-sm font-semibold text-foreground", children: title }),
3451
3451
  /* @__PURE__ */ jsx11("div", { className: "mt-3", children }),
@@ -3597,7 +3597,7 @@ function SessionHistoryPanel({
3597
3597
  onChange: (e) => onQueryChange(e.target.value),
3598
3598
  placeholder: "Search your sessions\u2026",
3599
3599
  "aria-label": "Search sessions",
3600
- className: "h-9 min-w-0 appearance-none rounded-md border border-border bg-card px-3 text-sm text-foreground placeholder:text-muted-foreground sm:flex-1 [&::-webkit-search-cancel-button]:appearance-none"
3600
+ className: "h-9 min-w-0 appearance-none rounded-md border border-strong bg-card px-3 text-sm text-foreground placeholder:text-muted-foreground sm:flex-1 [&::-webkit-search-cancel-button]:appearance-none"
3601
3601
  }
3602
3602
  ),
3603
3603
  /* @__PURE__ */ jsxs9(
@@ -3606,7 +3606,7 @@ function SessionHistoryPanel({
3606
3606
  value: sort,
3607
3607
  onChange: (e) => onSortChange(e.target.value),
3608
3608
  "aria-label": "Sort sessions",
3609
- className: "h-9 shrink-0 appearance-none rounded-md border border-border bg-card px-2 text-sm text-foreground sm:w-[132px]",
3609
+ className: "h-9 shrink-0 appearance-none rounded-md border border-strong bg-card px-2 text-sm text-foreground sm:w-[132px]",
3610
3610
  children: [
3611
3611
  /* @__PURE__ */ jsx11("option", { value: "newest", children: "Newest" }),
3612
3612
  /* @__PURE__ */ jsx11("option", { value: "oldest", children: "Oldest" })
@@ -3614,7 +3614,7 @@ function SessionHistoryPanel({
3614
3614
  }
3615
3615
  )
3616
3616
  ] }),
3617
- onBulkAction && /* @__PURE__ */ jsxs9("div", { className: `flex flex-col gap-2 border-t border-border/60 px-3 py-3 ${column}`, children: [
3617
+ onBulkAction && /* @__PURE__ */ jsxs9("div", { className: `flex flex-col gap-2 border-t border-border px-3 py-3 ${column}`, children: [
3618
3618
  /* @__PURE__ */ jsxs9("div", { className: "flex flex-wrap items-center gap-2", children: [
3619
3619
  /* @__PURE__ */ jsx11(
3620
3620
  "button",
@@ -3665,7 +3665,7 @@ function SessionHistoryPanel({
3665
3665
  value: ageDays,
3666
3666
  onChange: (event) => setAgeDays(event.target.value),
3667
3667
  "aria-invalid": ageDays.length > 0 && !validAgeDays,
3668
- className: "h-8 w-20 rounded-md border border-border bg-card px-2 text-xs tabular-nums text-foreground"
3668
+ className: "h-8 w-20 rounded-md border border-strong bg-card px-2 text-xs tabular-nums text-foreground"
3669
3669
  }
3670
3670
  ),
3671
3671
  /* @__PURE__ */ jsx11("span", { className: "text-xs text-muted-foreground", children: "days" }),
@@ -3810,7 +3810,7 @@ function SessionRow({
3810
3810
  const extras = extraActions?.(session) ?? [];
3811
3811
  const hasMenu = Boolean(onRename) || Boolean(onDelete) || extras.length > 0;
3812
3812
  const showUnread = Boolean(session.unread) && !responding;
3813
- return /* @__PURE__ */ jsxs9("div", { className: "group relative flex items-center gap-2 rounded-lg px-3 py-2.5 transition-colors hover:bg-accent", children: [
3813
+ return /* @__PURE__ */ jsxs9("div", { className: `group relative flex items-center gap-2 rounded-lg px-3 py-2.5 transition-colors hover:bg-accent ${selected ? "bg-primary/10" : ""}`, children: [
3814
3814
  selectable && /* @__PURE__ */ jsx11(
3815
3815
  "input",
3816
3816
  {
@@ -3855,7 +3855,7 @@ function SessionRow({
3855
3855
  role: "menu",
3856
3856
  triggerRef,
3857
3857
  panelRef,
3858
- className: `w-36 overflow-hidden rounded-md border border-border bg-popover py-1 ${OVERLAY_SHADOW}`,
3858
+ className: `w-36 overflow-hidden rounded-md border border-card-edge bg-popover py-1 ${OVERLAY_SHADOW}`,
3859
3859
  children: [
3860
3860
  onRename && /* @__PURE__ */ jsx11(
3861
3861
  "button",
@@ -4269,7 +4269,7 @@ function groupColumns(columns) {
4269
4269
  }
4270
4270
  return groups;
4271
4271
  }
4272
- var INPUT_CLASS = "w-full rounded-md border border-border bg-background px-2 py-1 text-sm text-foreground outline-none focus:border-primary/60 focus:ring-1 focus:ring-primary/40";
4272
+ var INPUT_CLASS = "w-full rounded-md border border-strong bg-background px-2 py-1 text-sm text-foreground outline-none focus:border-primary/60 focus:ring-1 focus:ring-primary/40";
4273
4273
  var BASIS_TONES2 = {
4274
4274
  extracted: "border-primary/60 text-primary",
4275
4275
  entered: "border-success/60 text-success",
@@ -4541,7 +4541,7 @@ function RecordGrid({
4541
4541
  role: "status",
4542
4542
  "aria-busy": "true",
4543
4543
  "aria-live": "polite",
4544
- className: "space-y-2 rounded-xl border border-border bg-card p-4",
4544
+ className: "space-y-2 rounded-xl border border-card-edge bg-card p-4",
4545
4545
  children: [
4546
4546
  /* @__PURE__ */ jsxs10("span", { className: "sr-only", children: [
4547
4547
  "Loading ",
@@ -4621,7 +4621,7 @@ function RecordGrid({
4621
4621
  const columnSpan = columns.length + (onDelete ? 1 : 0);
4622
4622
  return /* @__PURE__ */ jsxs10("div", { className: `space-y-3 ${className ?? ""}`, children: [
4623
4623
  toolbar,
4624
- /* @__PURE__ */ jsx12("div", { className: "overflow-x-auto rounded-xl border border-border bg-card", children: /* @__PURE__ */ jsxs10(
4624
+ /* @__PURE__ */ jsx12("div", { className: "overflow-x-auto rounded-xl border border-card-edge bg-card", children: /* @__PURE__ */ jsxs10(
4625
4625
  "table",
4626
4626
  {
4627
4627
  role: "grid",
@@ -4647,7 +4647,7 @@ function RecordGrid({
4647
4647
  const pending = row.id in pendingRows;
4648
4648
  const rowError = rowErrors[row.id];
4649
4649
  return /* @__PURE__ */ jsxs10(Fragment6, { children: [
4650
- /* @__PURE__ */ jsxs10("tr", { role: "row", "aria-busy": pending, className: `border-b border-border/50 ${pending ? "opacity-60" : ""}`, children: [
4650
+ /* @__PURE__ */ jsxs10("tr", { role: "row", "aria-busy": pending, className: `border-b border-border ${pending ? "opacity-60" : ""}`, children: [
4651
4651
  columns.map((column) => {
4652
4652
  const key = cellKey(row.id, column.id);
4653
4653
  const applicable = isRecordGridCellApplicable(column, row.values);
@@ -4780,7 +4780,7 @@ function RecordGrid({
4780
4780
  }
4781
4781
  ) })
4782
4782
  ] }),
4783
- rowError !== void 0 && /* @__PURE__ */ jsx12("tr", { role: "row", className: "border-b border-border/50", children: /* @__PURE__ */ jsx12("td", { role: "gridcell", colSpan: columnSpan, className: "px-3 pb-2", children: /* @__PURE__ */ jsx12("p", { role: "alert", className: "rounded-md bg-destructive/10 px-2.5 py-1.5 text-xs text-destructive", children: rowError }) }) })
4783
+ rowError !== void 0 && /* @__PURE__ */ jsx12("tr", { role: "row", className: "border-b border-border", children: /* @__PURE__ */ jsx12("td", { role: "gridcell", colSpan: columnSpan, className: "px-3 pb-2", children: /* @__PURE__ */ jsx12("p", { role: "alert", className: "rounded-md bg-destructive/10 px-2.5 py-1.5 text-xs text-destructive", children: rowError }) }) })
4784
4784
  ] }, row.id);
4785
4785
  }) }),
4786
4786
  hasFooter && /* @__PURE__ */ jsx12("tfoot", { children: /* @__PURE__ */ jsxs10("tr", { role: "row", className: "border-t-2 border-border", children: [
@@ -4944,7 +4944,7 @@ function SourceMarker({ panelId, columnHeader, rowLabel, source, open, onToggle
4944
4944
  role: "note",
4945
4945
  triggerRef,
4946
4946
  panelRef,
4947
- className: `w-64 rounded-lg border border-border bg-popover p-3 text-left ${OVERLAY_SHADOW}`,
4947
+ className: `w-64 rounded-lg border border-card-edge bg-popover p-3 text-left ${OVERLAY_SHADOW}`,
4948
4948
  children: [
4949
4949
  source.quote && /* @__PURE__ */ jsxs10("span", { className: "block border-l-2 border-primary/50 pl-2 text-xs italic leading-snug text-foreground", children: [
4950
4950
  "\u201C",
@@ -4994,7 +4994,7 @@ function AddRecordForm({
4994
4994
  event.preventDefault();
4995
4995
  onSubmit();
4996
4996
  },
4997
- className: "space-y-4 rounded-xl border border-border bg-card p-4",
4997
+ className: "space-y-4 rounded-xl border border-card-edge bg-card p-4",
4998
4998
  children: [
4999
4999
  /* @__PURE__ */ jsx12("h3", { className: "text-sm font-semibold text-foreground", children: label }),
5000
5000
  formError !== null && /* @__PURE__ */ jsx12("p", { role: "alert", className: "rounded-md bg-destructive/10 px-3 py-2 text-xs text-destructive", children: formError }),
@@ -5004,7 +5004,7 @@ function AddRecordForm({
5004
5004
  return /* @__PURE__ */ jsxs10(
5005
5005
  "fieldset",
5006
5006
  {
5007
- className: group.label === null ? "min-w-0" : "min-w-0 rounded-lg border border-border/70 p-3",
5007
+ className: group.label === null ? "min-w-0" : "min-w-0 rounded-lg border border-card-edge p-3",
5008
5008
  children: [
5009
5009
  group.label !== null && /* @__PURE__ */ jsx12("legend", { className: "px-1 text-xs font-medium text-muted-foreground", children: group.label }),
5010
5010
  /* @__PURE__ */ jsx12("div", { className: "grid gap-3 sm:grid-cols-2", children: fields.map((column) => {
@@ -5160,7 +5160,7 @@ function formatTokensPerSecond(msg) {
5160
5160
  return `${Math.round(msg.completionTokens / (msg.durationMs / 1e3))} tok/s`;
5161
5161
  }
5162
5162
  function RunDrillIn({ run, onClose }) {
5163
- return /* @__PURE__ */ jsxs11("div", { className: `fixed inset-y-0 right-0 z-50 flex w-[480px] max-w-full flex-col border-l border-border bg-popover ${OVERLAY_SHADOW}`, children: [
5163
+ return /* @__PURE__ */ jsxs11("div", { className: `fixed inset-y-0 right-0 z-50 flex w-[480px] max-w-full flex-col border-l border-card-edge bg-popover ${OVERLAY_SHADOW}`, children: [
5164
5164
  /* @__PURE__ */ jsxs11("div", { className: "flex items-center gap-2 border-b border-border px-4 py-3", children: [
5165
5165
  /* @__PURE__ */ jsx13(
5166
5166
  "span",
@@ -5185,8 +5185,8 @@ function RunDrillIn({ run, onClose }) {
5185
5185
  ] }),
5186
5186
  /* @__PURE__ */ jsxs11("div", { className: "flex-1 space-y-3 overflow-y-auto p-4", children: [
5187
5187
  run.steps.length === 0 && /* @__PURE__ */ jsx13("p", { className: "text-sm text-muted-foreground", children: "No steps recorded yet." }),
5188
- run.steps.map((step, i) => /* @__PURE__ */ jsxs11("div", { className: "rounded-lg border border-border/60 bg-background", children: [
5189
- /* @__PURE__ */ jsxs11("div", { className: "flex items-baseline gap-2 border-b border-border/40 px-3 py-1.5", children: [
5188
+ run.steps.map((step, i) => /* @__PURE__ */ jsxs11("div", { className: "rounded-lg border border-card-edge bg-card", children: [
5189
+ /* @__PURE__ */ jsxs11("div", { className: "flex items-baseline gap-2 border-b border-border px-3 py-1.5", children: [
5190
5190
  /* @__PURE__ */ jsx13("span", { className: `font-mono text-[11px] ${step.status === "error" ? "text-destructive" : "text-muted-foreground"}`, children: step.status === "error" ? "\u2717" : "$" }),
5191
5191
  /* @__PURE__ */ jsx13("code", { className: "min-w-0 flex-1 truncate font-mono text-xs", children: step.label }),
5192
5192
  /* @__PURE__ */ jsx13("span", { className: "shrink-0 text-[10px] text-muted-foreground", children: new Date(step.at).toLocaleTimeString() })
@@ -5680,7 +5680,7 @@ function AssistantMessageImpl({
5680
5680
  formatTokensPerSecond(msg) && /* @__PURE__ */ jsx13("span", { children: formatTokensPerSecond(msg) }),
5681
5681
  formatModelCost(msg, models) && /* @__PURE__ */ jsx13("span", { children: formatModelCost(msg, models) })
5682
5682
  ] }),
5683
- reasoning && /* @__PURE__ */ jsxs11("details", { className: "mb-2 rounded-lg border-l-2 border-border/70 bg-secondary px-3 py-2", open: !hasAnswerText, children: [
5683
+ reasoning && /* @__PURE__ */ jsxs11("details", { className: "mb-2 rounded-lg border-l-2 border-border bg-secondary px-3 py-2", open: !hasAnswerText, children: [
5684
5684
  /* @__PURE__ */ jsx13("summary", { className: "cursor-pointer select-none text-xs font-medium text-muted-foreground", children: !hasAnswerText ? /* @__PURE__ */ jsxs11("span", { className: "animate-pulse", children: [
5685
5685
  "Thinking",
5686
5686
  thinkingSeconds >= 3 ? ` \xB7 ${thinkingSeconds}s` : "\u2026"
@@ -5990,4 +5990,4 @@ export {
5990
5990
  useThinkingSeconds,
5991
5991
  ChatMessages
5992
5992
  };
5993
- //# sourceMappingURL=chunk-35SI5SUX.js.map
5993
+ //# sourceMappingURL=chunk-UTN647ES.js.map