@usetheo/ui 0.10.0-next.0 → 0.12.0-next.0

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 (44) hide show
  1. package/CHANGELOG.md +166 -3
  2. package/DESIGN.md +456 -0
  3. package/README.md +32 -21
  4. package/dist/chunk-BX7A5GUV.js +78 -0
  5. package/dist/chunk-BX7A5GUV.js.map +1 -0
  6. package/dist/{chunk-H3ANHVEL.js → chunk-DKQAHZG2.js} +4 -4
  7. package/dist/{chunk-H3ANHVEL.js.map → chunk-DKQAHZG2.js.map} +1 -1
  8. package/dist/{chunk-DAKIL5PC.js → chunk-IPEYGWA7.js} +3 -3
  9. package/dist/{chunk-DAKIL5PC.js.map → chunk-IPEYGWA7.js.map} +1 -1
  10. package/dist/chunk-MI5CXMZU.js +171 -0
  11. package/dist/chunk-MI5CXMZU.js.map +1 -0
  12. package/dist/chunk-QJGGTIUN.js +110 -0
  13. package/dist/chunk-QJGGTIUN.js.map +1 -0
  14. package/dist/chunk-R2PAGRDP.js +152 -0
  15. package/dist/chunk-R2PAGRDP.js.map +1 -0
  16. package/dist/{chunk-QU6RLHYH.js → chunk-TNBJ36XJ.js} +3 -3
  17. package/dist/{chunk-QU6RLHYH.js.map → chunk-TNBJ36XJ.js.map} +1 -1
  18. package/dist/chunk-ZNILW4G5.js +199 -0
  19. package/dist/chunk-ZNILW4G5.js.map +1 -0
  20. package/dist/components.css +1 -1
  21. package/dist/composites/agent-stream/index.js +3 -3
  22. package/dist/composites/data-table/index.js +10 -0
  23. package/dist/composites/data-table/index.js.map +1 -0
  24. package/dist/composites/page-shell/index.js +7 -0
  25. package/dist/composites/page-shell/index.js.map +1 -0
  26. package/dist/composites/rule-editor/index.js +2 -2
  27. package/dist/composites/skill-editor/index.js +2 -2
  28. package/dist/index.d.ts +281 -12
  29. package/dist/index.js +47 -42
  30. package/dist/index.js.map +1 -1
  31. package/dist/primitives/action-bar/index.js +4 -0
  32. package/dist/primitives/action-bar/index.js.map +1 -0
  33. package/dist/primitives/dropdown-menu/index.js +4 -0
  34. package/dist/primitives/dropdown-menu/index.js.map +1 -0
  35. package/dist/primitives/pin-input/index.js +4 -0
  36. package/dist/primitives/pin-input/index.js.map +1 -0
  37. package/llms.txt +7 -4
  38. package/package.json +114 -82
  39. package/registry/index.json +30 -0
  40. package/registry/r/action-bar.json +22 -0
  41. package/registry/r/data-table.json +27 -0
  42. package/registry/r/dropdown-menu.json +23 -0
  43. package/registry/r/page-shell.json +25 -0
  44. package/registry/r/pin-input.json +20 -0
package/dist/index.d.ts CHANGED
@@ -16,6 +16,7 @@ import * as CheckboxPrimitive from '@radix-ui/react-checkbox';
16
16
  import * as RadioGroupPrimitive from '@radix-ui/react-radio-group';
17
17
  import * as SwitchPrimitive from '@radix-ui/react-switch';
18
18
  import * as lucide_react from 'lucide-react';
19
+ import * as DropdownMenuPrimitive from '@radix-ui/react-dropdown-menu';
19
20
 
20
21
  /**
21
22
  * Merge Tailwind classes with conflict resolution.
@@ -942,8 +943,8 @@ declare const Tabs: react.ForwardRefExoticComponent<TabsPrimitive.TabsProps & re
942
943
  */
943
944
  declare const Provider: react.FC<TooltipPrimitive.TooltipProviderProps>;
944
945
  declare const Root$2: react.FC<TooltipPrimitive.TooltipProps>;
945
- declare const Trigger: react.ForwardRefExoticComponent<TooltipPrimitive.TooltipTriggerProps & react.RefAttributes<HTMLButtonElement>>;
946
- declare const Content$1: react.ForwardRefExoticComponent<Omit<TooltipPrimitive.TooltipContentProps & react.RefAttributes<HTMLDivElement>, "ref"> & react.RefAttributes<HTMLDivElement>>;
946
+ declare const Trigger$1: react.ForwardRefExoticComponent<TooltipPrimitive.TooltipTriggerProps & react.RefAttributes<HTMLButtonElement>>;
947
+ declare const Content$2: react.ForwardRefExoticComponent<Omit<TooltipPrimitive.TooltipContentProps & react.RefAttributes<HTMLDivElement>, "ref"> & react.RefAttributes<HTMLDivElement>>;
947
948
  interface TooltipProps extends ComponentPropsWithoutRef<typeof TooltipPrimitive.Root> {
948
949
  label: ReactNode;
949
950
  side?: "top" | "right" | "bottom" | "left";
@@ -959,8 +960,8 @@ declare const Tooltip: ({ label, side, align, delayDuration, children, ...rootPr
959
960
  declare const TooltipWithStatics: typeof Tooltip & {
960
961
  Provider: typeof Provider;
961
962
  Root: typeof Root$2;
962
- Trigger: typeof Trigger;
963
- Content: typeof Content$1;
963
+ Trigger: typeof Trigger$1;
964
+ Content: typeof Content$2;
964
965
  };
965
966
 
966
967
  /**
@@ -1052,10 +1053,10 @@ declare const Avatar: react.ForwardRefExoticComponent<AvatarProps & react.RefAtt
1052
1053
  * - Adds a small red asterisk when `required` is set.
1053
1054
  * - Inherits disabled visuals from the wrapper (`peer-disabled`).
1054
1055
  */
1055
- interface LabelProps extends ComponentPropsWithoutRef<typeof LabelPrimitive.Root> {
1056
+ interface LabelProps$1 extends ComponentPropsWithoutRef<typeof LabelPrimitive.Root> {
1056
1057
  required?: boolean;
1057
1058
  }
1058
- declare const Label: react.ForwardRefExoticComponent<LabelProps & react.RefAttributes<HTMLLabelElement>>;
1059
+ declare const Label$1: react.ForwardRefExoticComponent<LabelProps$1 & react.RefAttributes<HTMLLabelElement>>;
1059
1060
 
1060
1061
  /**
1061
1062
  * FormField — composition wrapper for accessible form rows.
@@ -1193,7 +1194,7 @@ interface CheckboxProps extends ComponentPropsWithoutRef<typeof CheckboxPrimitiv
1193
1194
  }
1194
1195
  declare const Checkbox: react.ForwardRefExoticComponent<CheckboxProps & react.RefAttributes<HTMLButtonElement>>;
1195
1196
 
1196
- declare const RadioGroup: react.ForwardRefExoticComponent<Omit<RadioGroupPrimitive.RadioGroupProps & react.RefAttributes<HTMLDivElement>, "ref"> & react.RefAttributes<HTMLDivElement>> & {
1197
+ declare const RadioGroup$1: react.ForwardRefExoticComponent<Omit<RadioGroupPrimitive.RadioGroupProps & react.RefAttributes<HTMLDivElement>, "ref"> & react.RefAttributes<HTMLDivElement>> & {
1197
1198
  Item: react.ForwardRefExoticComponent<Omit<RadioGroupPrimitive.RadioGroupItemProps & react.RefAttributes<HTMLButtonElement>, "ref"> & react.RefAttributes<HTMLButtonElement>>;
1198
1199
  };
1199
1200
 
@@ -2042,7 +2043,7 @@ declare function ToolCallCard({ className, tool, icon: Icon, target, status, out
2042
2043
  interface SectionProps extends Omit<HTMLAttributes<HTMLDivElement>, "title"> {
2043
2044
  title?: ReactNode;
2044
2045
  }
2045
- interface ItemProps extends Omit<ButtonHTMLAttributes<HTMLButtonElement>, "type"> {
2046
+ interface ItemProps$1 extends Omit<ButtonHTMLAttributes<HTMLButtonElement>, "type"> {
2046
2047
  icon?: ElementType;
2047
2048
  active?: boolean;
2048
2049
  count?: number | string;
@@ -2052,7 +2053,7 @@ interface ItemProps extends Omit<ButtonHTMLAttributes<HTMLButtonElement>, "type"
2052
2053
  declare const Sidebar: react.ForwardRefExoticComponent<HTMLAttributes<HTMLElement> & react.RefAttributes<HTMLElement>> & {
2053
2054
  Header: react.ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & react.RefAttributes<HTMLDivElement>>;
2054
2055
  Section: react.ForwardRefExoticComponent<SectionProps & react.RefAttributes<HTMLDivElement>>;
2055
- Item: react.ForwardRefExoticComponent<ItemProps & react.RefAttributes<HTMLElement>>;
2056
+ Item: react.ForwardRefExoticComponent<ItemProps$1 & react.RefAttributes<HTMLElement>>;
2056
2057
  Footer: react.ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & react.RefAttributes<HTMLDivElement>>;
2057
2058
  };
2058
2059
 
@@ -2111,7 +2112,7 @@ declare const sheetVariants: (props?: ({
2111
2112
  interface ContentProps extends ComponentPropsWithoutRef<typeof DialogPrimitive.Content>, VariantProps<typeof sheetVariants> {
2112
2113
  hideCloseButton?: boolean;
2113
2114
  }
2114
- declare const Content: react.ForwardRefExoticComponent<ContentProps & react.RefAttributes<HTMLDivElement>>;
2115
+ declare const Content$1: react.ForwardRefExoticComponent<ContentProps & react.RefAttributes<HTMLDivElement>>;
2115
2116
  declare const Header$1: {
2116
2117
  ({ className, ...props }: HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
2117
2118
  displayName: string;
@@ -2129,7 +2130,7 @@ declare const Description: react.ForwardRefExoticComponent<Omit<DialogPrimitive.
2129
2130
  declare const Sheet: typeof DialogPrimitive.Root & {
2130
2131
  Trigger: typeof DialogPrimitive.Trigger;
2131
2132
  Close: typeof DialogPrimitive.Close;
2132
- Content: typeof Content;
2133
+ Content: typeof Content$1;
2133
2134
  Overlay: typeof Overlay;
2134
2135
  Header: typeof Header$1;
2135
2136
  Body: typeof Body$1;
@@ -3123,6 +3124,274 @@ interface PaginationProps extends Omit<HTMLAttributes<HTMLElement>, "onChange">
3123
3124
  declare function computePageRange(currentPage: number, totalPages: number, siblingCount?: number): Array<number | "ellipsis-start" | "ellipsis-end">;
3124
3125
  declare const Pagination: react.ForwardRefExoticComponent<PaginationProps & react.RefAttributes<HTMLElement>>;
3125
3126
 
3127
+ /**
3128
+ * DropdownMenu — accessible menu primitive built on Radix.
3129
+ *
3130
+ * Composition (single import surface):
3131
+ * <DropdownMenu>
3132
+ * <DropdownMenu.Trigger>…</DropdownMenu.Trigger>
3133
+ * <DropdownMenu.Content>
3134
+ * <DropdownMenu.Label>Section</DropdownMenu.Label>
3135
+ * <DropdownMenu.Item onSelect={…}>Edit</DropdownMenu.Item>
3136
+ * <DropdownMenu.Separator />
3137
+ * <DropdownMenu.Item disabled>Delete</DropdownMenu.Item>
3138
+ * </DropdownMenu.Content>
3139
+ * </DropdownMenu>
3140
+ *
3141
+ * The primitive consolidates 5 prior direct-Radix usages
3142
+ * (`model-selector`, `intent-selector`, `agent-profile`,
3143
+ * `theme-switcher`, `theo-code-shell`) under a single styled
3144
+ * wrapper so consumers get consistent visuals + the design tokens.
3145
+ *
3146
+ * a11y note for tests: Radix's focus-guard spans intentionally
3147
+ * violate `aria-hidden-focus`. Tests should pass
3148
+ * `{ rules: { "aria-hidden-focus": { enabled: false } } }` to axe.
3149
+ */
3150
+ declare const Trigger: react.ForwardRefExoticComponent<DropdownMenuPrimitive.DropdownMenuTriggerProps & react.RefAttributes<HTMLButtonElement>>;
3151
+ declare const Portal: react.FC<DropdownMenuPrimitive.DropdownMenuPortalProps>;
3152
+ declare const Group: react.ForwardRefExoticComponent<DropdownMenuPrimitive.DropdownMenuGroupProps & react.RefAttributes<HTMLDivElement>>;
3153
+ declare const Sub: react.FC<DropdownMenuPrimitive.DropdownMenuSubProps>;
3154
+ declare const RadioGroup: react.ForwardRefExoticComponent<DropdownMenuPrimitive.DropdownMenuRadioGroupProps & react.RefAttributes<HTMLDivElement>>;
3155
+ declare const Content: react.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuContentProps & react.RefAttributes<HTMLDivElement>, "ref"> & react.RefAttributes<HTMLDivElement>>;
3156
+ interface ItemProps extends ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.Item> {
3157
+ inset?: boolean;
3158
+ }
3159
+ declare const Item: react.ForwardRefExoticComponent<ItemProps & react.RefAttributes<HTMLDivElement>>;
3160
+ declare const CheckboxItem: react.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuCheckboxItemProps & react.RefAttributes<HTMLDivElement>, "ref"> & react.RefAttributes<HTMLDivElement>>;
3161
+ declare const RadioItem: react.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuRadioItemProps & react.RefAttributes<HTMLDivElement>, "ref"> & react.RefAttributes<HTMLDivElement>>;
3162
+ interface LabelProps extends ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.Label> {
3163
+ inset?: boolean;
3164
+ }
3165
+ declare const Label: react.ForwardRefExoticComponent<LabelProps & react.RefAttributes<HTMLDivElement>>;
3166
+ declare const Separator: react.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuSeparatorProps & react.RefAttributes<HTMLDivElement>, "ref"> & react.RefAttributes<HTMLDivElement>>;
3167
+ declare const Shortcut: {
3168
+ ({ className, ...props }: HTMLAttributes<HTMLSpanElement>): react_jsx_runtime.JSX.Element;
3169
+ displayName: string;
3170
+ };
3171
+ declare const SubTrigger: react.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuSubTriggerProps & react.RefAttributes<HTMLDivElement>, "ref"> & {
3172
+ inset?: boolean;
3173
+ } & react.RefAttributes<HTMLDivElement>>;
3174
+ declare const SubContent: react.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuSubContentProps & react.RefAttributes<HTMLDivElement>, "ref"> & react.RefAttributes<HTMLDivElement>>;
3175
+ type DropdownMenuRoot = typeof DropdownMenuPrimitive.Root & {
3176
+ Trigger: typeof Trigger;
3177
+ Portal: typeof Portal;
3178
+ Content: typeof Content;
3179
+ Item: typeof Item;
3180
+ CheckboxItem: typeof CheckboxItem;
3181
+ RadioItem: typeof RadioItem;
3182
+ Label: typeof Label;
3183
+ Separator: typeof Separator;
3184
+ Shortcut: typeof Shortcut;
3185
+ Group: typeof Group;
3186
+ Sub: typeof Sub;
3187
+ SubTrigger: typeof SubTrigger;
3188
+ SubContent: typeof SubContent;
3189
+ RadioGroup: typeof RadioGroup;
3190
+ };
3191
+ declare const DropdownMenu: DropdownMenuRoot;
3192
+
3193
+ /**
3194
+ * ActionBar — page-top action strip primitive.
3195
+ *
3196
+ * A horizontal flexbox row with three optional slots:
3197
+ * - Search input (flex-1, grows to fill)
3198
+ * - Filter icon button (next to search)
3199
+ * - Primary action button (right-aligned)
3200
+ *
3201
+ * Returns `null` when no props are provided — don't render an empty
3202
+ * bar. Used standalone or composed inside `<PageShell>` (Brief #5).
3203
+ *
3204
+ * @example
3205
+ * <ActionBar
3206
+ * search={{ placeholder: "Search projects…", value: q, onChange: setQ }}
3207
+ * primaryAction={{ label: "New project", icon: Plus, onClick: openModal }}
3208
+ * />
3209
+ */
3210
+ interface ActionBarProps extends Omit<HTMLAttributes<HTMLDivElement>, "children"> {
3211
+ search?: {
3212
+ placeholder: string;
3213
+ value: string;
3214
+ onChange: (value: string) => void;
3215
+ };
3216
+ primaryAction?: {
3217
+ label: ReactNode;
3218
+ icon?: ElementType;
3219
+ onClick: () => void;
3220
+ loading?: boolean;
3221
+ };
3222
+ onFilterClick?: () => void;
3223
+ }
3224
+ declare const ActionBar: react.ForwardRefExoticComponent<ActionBarProps & react.RefAttributes<HTMLDivElement>>;
3225
+
3226
+ /**
3227
+ * PinInput — multi-slot OTP / code input primitive.
3228
+ *
3229
+ * Renders N separate boxes (default 6) that auto-advance focus on
3230
+ * input. Paste handling fills all slots from clipboard (whitespace
3231
+ * stripped). Arrow keys navigate; backspace clears current slot
3232
+ * then moves focus back when empty.
3233
+ *
3234
+ * Industry-standard pattern for email verification codes (Apple,
3235
+ * Stripe, Clerk, Auth0, GitHub two-factor).
3236
+ *
3237
+ * @example
3238
+ * <PinInput
3239
+ * length={6}
3240
+ * value={code}
3241
+ * onChange={setCode}
3242
+ * onComplete={(v) => verify(v)}
3243
+ * inputMode="numeric"
3244
+ * aria-label="Verification code"
3245
+ * />
3246
+ *
3247
+ * Note: value is treated as controlled. If you pass a complete value
3248
+ * on mount, onComplete will NOT fire — onComplete fires only on
3249
+ * transitions from incomplete → complete.
3250
+ */
3251
+ interface PinInputProps extends Omit<HTMLAttributes<HTMLDivElement>, "onChange" | "inputMode"> {
3252
+ length?: number;
3253
+ value?: string;
3254
+ onChange?: (value: string) => void;
3255
+ onComplete?: (value: string) => void;
3256
+ inputMode?: "numeric" | "alphanumeric";
3257
+ size?: "sm" | "md" | "lg";
3258
+ disabled?: boolean;
3259
+ error?: boolean;
3260
+ "aria-label": string;
3261
+ autoFocus?: boolean;
3262
+ mask?: boolean;
3263
+ }
3264
+ declare const PinInput: react.ForwardRefExoticComponent<PinInputProps & react.RefAttributes<HTMLDivElement>>;
3265
+
3266
+ /**
3267
+ * DataTable — generic, sortable, expandable composite over `<Table>`.
3268
+ *
3269
+ * Adds operator-grade entity-list patterns on top of the plain Table
3270
+ * primitive: sortable headers, sticky header, expandable rows
3271
+ * (multi-row by default), row action menus (Dropdown), client-side
3272
+ * pagination, loading skeleton rows, empty state. Both sort and
3273
+ * pagination support controlled OR uncontrolled mode (consumer
3274
+ * passes onSortChange / onPageChange to take over state).
3275
+ *
3276
+ * @example
3277
+ * <DataTable
3278
+ * columns={[
3279
+ * { key: "name", label: "Name", sortable: true },
3280
+ * { key: "status", label: "Status" },
3281
+ * ]}
3282
+ * data={domains}
3283
+ * rowKey={(d) => d.id}
3284
+ * expandable={(d) => d.status === "pending" ? <DnsRecords domain={d} /> : null}
3285
+ * rowActions={(d) => (
3286
+ * <>
3287
+ * <DropdownMenu.Item onSelect={() => editDomain(d)}>Edit</DropdownMenu.Item>
3288
+ * <DropdownMenu.Item onSelect={() => deleteDomain(d)}>Delete</DropdownMenu.Item>
3289
+ * </>
3290
+ * )}
3291
+ * />
3292
+ */
3293
+ interface DataTableColumn<T> {
3294
+ key: string;
3295
+ label: ReactNode;
3296
+ align?: "left" | "center" | "right";
3297
+ sortable?: boolean;
3298
+ width?: string;
3299
+ render?: (row: T) => ReactNode;
3300
+ className?: string;
3301
+ }
3302
+ interface DataTableSort {
3303
+ key: string;
3304
+ direction: "asc" | "desc";
3305
+ }
3306
+ interface DataTableProps<T> {
3307
+ data: T[];
3308
+ columns: DataTableColumn<T>[];
3309
+ rowKey: (row: T) => string;
3310
+ stickyHeader?: boolean;
3311
+ expandable?: (row: T) => ReactNode | null;
3312
+ expandMode?: "single" | "multiple";
3313
+ rowActions?: (row: T) => ReactNode;
3314
+ pagination?: {
3315
+ pageSize: number;
3316
+ controlledPage?: number;
3317
+ onPageChange?: (page: number) => void;
3318
+ } | null;
3319
+ defaultSort?: DataTableSort;
3320
+ sort?: DataTableSort | null;
3321
+ onSortChange?: (sort: DataTableSort | null) => void;
3322
+ loading?: boolean;
3323
+ emptyState?: ReactNode;
3324
+ className?: string;
3325
+ }
3326
+ declare function DataTable<T>(props: DataTableProps<T>): ReactNode;
3327
+
3328
+ /**
3329
+ * PageShell — page-level scaffold composite.
3330
+ *
3331
+ * Renders title + optional description + optional ActionBar, then
3332
+ * one of four mutually-exclusive content states:
3333
+ * 1. loading (highest precedence)
3334
+ * 2. error
3335
+ * 3. empty
3336
+ * 4. children (default)
3337
+ *
3338
+ * Scope-narrowed per Brief #5 D3: PageShell does NOT manage
3339
+ * `document.title`. Use the optional `onTitleChange` callback to
3340
+ * wire your own hook (e.g. useSetPageTitle, react-helmet,
3341
+ * next/head).
3342
+ *
3343
+ * @example
3344
+ * <PageShell
3345
+ * title="Domains"
3346
+ * description="Custom domains and DNS verification."
3347
+ * search={{ placeholder: "Search…", value: q, onChange: setQ }}
3348
+ * primaryAction={{ label: "Add domain", icon: Plus, onClick: openModal }}
3349
+ * loading={isLoading}
3350
+ * error={error ? { message: error.message, onRetry: refetch } : undefined}
3351
+ * empty={data?.length === 0 ? { title: "No domains yet" } : undefined}
3352
+ * >
3353
+ * <DataTable columns={…} data={data} />
3354
+ * </PageShell>
3355
+ */
3356
+ interface PageShellProps {
3357
+ title: string;
3358
+ description?: ReactNode;
3359
+ /** Optional callback invoked when `title` changes — wire to your own document.title hook. */
3360
+ onTitleChange?: (title: string) => void;
3361
+ primaryAction?: {
3362
+ label: ReactNode;
3363
+ icon?: ElementType;
3364
+ onClick: () => void;
3365
+ loading?: boolean;
3366
+ };
3367
+ search?: {
3368
+ placeholder: string;
3369
+ value: string;
3370
+ onChange: (v: string) => void;
3371
+ };
3372
+ onFilterClick?: () => void;
3373
+ loading?: boolean;
3374
+ /** Custom loading UI. Defaults to a centered spinner card. */
3375
+ loadingNode?: ReactNode;
3376
+ error?: {
3377
+ message: string;
3378
+ onRetry?: () => void;
3379
+ docsHref?: string;
3380
+ };
3381
+ empty?: {
3382
+ icon?: ElementType;
3383
+ title: string;
3384
+ description?: ReactNode;
3385
+ action?: {
3386
+ label: string;
3387
+ onClick: () => void;
3388
+ };
3389
+ };
3390
+ children?: ReactNode;
3391
+ className?: string;
3392
+ }
3393
+ declare const PageShell: react.ForwardRefExoticComponent<PageShellProps & react.RefAttributes<HTMLElement>>;
3394
+
3126
3395
  interface ProgressChecklistProps extends Omit<HTMLAttributes<HTMLDivElement>, "title"> {
3127
3396
  title?: ReactNode;
3128
3397
  steps: TaskStep[];
@@ -4189,4 +4458,4 @@ interface CommandPaletteProps {
4189
4458
  */
4190
4459
  declare function CommandPalette({ open, onOpenChange, items, onSelect, placeholder, emptyMessage, filter, }: CommandPaletteProps): react_jsx_runtime.JSX.Element;
4191
4460
 
4192
- export { ALL_MODES, AccountMenu, type AccountMenuProps, AgentComposer, type AgentDraft, AgentEditor, AgentErrorCard, type AgentErrorKind, AgentEvent, type AgentEvent$1 as AgentEventModel, type AgentEventStatus, type AgentEventType, AgentHandoff, AgentProfile, type AgentProfileDescriptor, AgentStartingState, AgentStream, type AgentStreamItem, AgentStreaming, AgentTimeline, Alert, type AlertIntent, type AlertProps, ApprovalCard, type ApprovalSeverity, ArtifactPreview, type Attachment, AttachmentChip, type AuditActorKind, type AuditEntry, AuditLogEntry, type AuditSeverity, AutoCompactNotice, Avatar, BadgeWithDot as Badge, type BadgeProps, BrowserControls, BuildLogStream, Button, type ButtonProps, type Capability, CapabilityIndicator, type CapabilityState, Card, ChatComposer, ChatMessage, ChatMessageAction, type ChatMessageActionProps, ChatMessageActions, type ChatMessageActionsProps, ChatMessageBranch, ChatMessageBranchContent, type ChatMessageBranchContentProps, ChatMessageBranchNext, type ChatMessageBranchNextProps, ChatMessageBranchPage, type ChatMessageBranchPageProps, ChatMessageBranchPrevious, type ChatMessageBranchPreviousProps, type ChatMessageBranchProps, ChatMessageBranchSelector, type ChatMessageBranchSelectorProps, ChatMessageContent, type ChatMessageContentProps, type ChatMessageContentVariant, type ChatMessageProps, ChatMessageResponse, type ChatMessageResponseProps, ChatMessageRoot, type ChatMessageRootProps, ChatMessageToolbar, type ChatMessageToolbarProps, ChatThread, Checkbox, CodeBlock, type CodeBlockProps, type ColorScale, type CommandItem, CommandPalette, type ComposerMode, ConfirmDialog, type ConfirmDialogProps, ContextCard, ContextWindowBar, CopyButton, type CopyButtonProps, CostMeter, type CreatedFile, CreatedFilesCard, type CronJob, CronJobCard, type CronJobStatus, CronJobsList, type CustomContentUIPart, DangerZone, type DangerZoneActionProps, type DangerZoneProps, DataPart, type DataPartProps, type DataRenderer, type DataRendererMap, type DataUIPart, type DefineThemeInput, type Density, type DensityContextValue, type Deployment, DeploymentRow, type DeploymentStatus, Dialog, type DiffHunk, type DiffLine, type DiffLineKind, DiffViewer, type Domain, DomainConfig, type DomainStatus, EmptyState, type EnvScope, type EnvVar, EnvVarEditor, FilePart, type FilePartProps, type FileUIPart, FolderContextCard, type FolderEntry, FolderSelector, FormField, HOOK_EVENTS, type HandoffParty, HookConfig, type HookEntry, type HookEvent, type HookEventEntry, HookEventLog, type HookEventResult, Input, type InputProps, type IntentOption, IntentSelector, Label, type Lane, LaneBoard, type LaneCard, type LaneState, type LogLevel, type LogLine, LoginSplit, type MCPServer, MCPServerCard, MCPServerList, type MCPServerStatus, MODE_LABEL, MemoryEditor, type MemoryLayer, type MemoryScope, type MentionItem, MentionMenu, type MentionTrigger, type MessageRole, type Metric, MetricsPanel, type Mode, type ModelCapabilityFlag, ModelCard, type ModelInfo, type ModelOption, ModelSelector, Pagination, type PaginationProps, type PartRendererMap, type PermissionDecision, type PermissionDecisionKind, PermissionMatrix, PermissionModal, type PermissionOperation, type PermissionRequest, type PermissionRule, PlanBadge, type PlanBadgeProps, type PlanNode, type PlanNodeStatus, type PlanTier, type PreviewEnv, PreviewEnvCard, PreviewPanel, type PreviewService, Progress, ProgressChecklist, type ProgressProps, type Project, ProjectCard, type ProjectStatus, ProjectSwitcher, type ProviderMetadata, type QuickAction, QuickActionChips, RadioGroup, type RailStep, type ReasoningFileUIPart, ReasoningPart, type ReasoningPartProps, type ReasoningUIPart, type RecentFolder, RecentFoldersList, type RenderPartOptions, type RollbackTarget, RollbackUI, type Rule, RuleCard, RuleEditor, type RuleScope, type RuleState, RunStats, type RunningTaskItem, type RunningTaskStatus, RunningTasksPanel, ScrollArea, Select, SessionListItem, type SessionMode, type SessionRunStatus, type SessionStatus, type SessionSummary, SessionTimeline, Sheet, Sidebar, Skeleton, type Skill, SkillCard, SkillEditor, type SkillSource, type SkillState, SkillsList, SocialAuthRow, type SocialProvider, SourceDocumentPart, type SourceDocumentPartProps, type SourceDocumentUIPart, SourceUrlPart, type SourceUrlPartProps, type SourceUrlUIPart, StatTile, type StatTileProps, StatusDot, type StatusDotProps, type StatusKind, type StepStartUIPart, StepsRail, SubAgentDispatch, type SubAgentRun, type SubAgentState, Switch, SystemPromptEditor, Table, type TableCellProps, type TableHeaderCellProps, type TableProps, Tabs, TaskHeader, TaskNode, TaskPlan, type TaskSource, type TaskStatus, type TaskStep, type TaskStepStatus, type TerminalLine, TerminalPanel, TextPart, type TextPartProps, type TextUIPart, Textarea, type TextareaProps, type Theme, type ThemeFonts, type ThemeMode, ThemeProvider, ThemeScript, ThemeSwitcher, TheoUIProvider, type TheoUIProviderProps, Timestamp, type TimestampProps, Toast, type ToastVariant, Toaster, TokenUsageChart, type TokenUsagePoint, ToolCall, ToolCallCard, ToolCallPart, type ToolCallPartProps, type ToolCallStatus, type ToolEnablement, type ToolEntry, type ToolInvocationState, ToolResult, type ToolUIPart, ToolsList, TooltipWithStatics as Tooltip, TopNav, type UIMessage, type UIMessagePart, UsageMeter, type UsageMeterProps, type UsageMetric, anthropicStyle, auroraTerminal, avatarVariants, badgeVariants, builtinThemes, buttonVariants, capabilityPresets, classicPaper, cn, computePageRange, defineTheme, dracula, githubDark, hex, isCustomContentUIPart, isDataUIPart, isFileUIPart, isReasoningFileUIPart, isReasoningUIPart, isSourceDocumentUIPart, isSourceUrlUIPart, isStepStartUIPart, isTextUIPart, isToolUIPart, linearGlass, modelCapabilityPresets, oneDark, openaiStyle, renderPart, rgb, sheetVariants, useDensity, useTheme, useToast, vercelMono, violetForge };
4461
+ export { ALL_MODES, AccountMenu, type AccountMenuProps, ActionBar, type ActionBarProps, AgentComposer, type AgentDraft, AgentEditor, AgentErrorCard, type AgentErrorKind, AgentEvent, type AgentEvent$1 as AgentEventModel, type AgentEventStatus, type AgentEventType, AgentHandoff, AgentProfile, type AgentProfileDescriptor, AgentStartingState, AgentStream, type AgentStreamItem, AgentStreaming, AgentTimeline, Alert, type AlertIntent, type AlertProps, ApprovalCard, type ApprovalSeverity, ArtifactPreview, type Attachment, AttachmentChip, type AuditActorKind, type AuditEntry, AuditLogEntry, type AuditSeverity, AutoCompactNotice, Avatar, BadgeWithDot as Badge, type BadgeProps, BrowserControls, BuildLogStream, Button, type ButtonProps, type Capability, CapabilityIndicator, type CapabilityState, Card, ChatComposer, ChatMessage, ChatMessageAction, type ChatMessageActionProps, ChatMessageActions, type ChatMessageActionsProps, ChatMessageBranch, ChatMessageBranchContent, type ChatMessageBranchContentProps, ChatMessageBranchNext, type ChatMessageBranchNextProps, ChatMessageBranchPage, type ChatMessageBranchPageProps, ChatMessageBranchPrevious, type ChatMessageBranchPreviousProps, type ChatMessageBranchProps, ChatMessageBranchSelector, type ChatMessageBranchSelectorProps, ChatMessageContent, type ChatMessageContentProps, type ChatMessageContentVariant, type ChatMessageProps, ChatMessageResponse, type ChatMessageResponseProps, ChatMessageRoot, type ChatMessageRootProps, ChatMessageToolbar, type ChatMessageToolbarProps, ChatThread, Checkbox, CodeBlock, type CodeBlockProps, type ColorScale, type CommandItem, CommandPalette, type ComposerMode, ConfirmDialog, type ConfirmDialogProps, ContextCard, ContextWindowBar, CopyButton, type CopyButtonProps, CostMeter, type CreatedFile, CreatedFilesCard, type CronJob, CronJobCard, type CronJobStatus, CronJobsList, type CustomContentUIPart, DangerZone, type DangerZoneActionProps, type DangerZoneProps, DataPart, type DataPartProps, type DataRenderer, type DataRendererMap, DataTable, type DataTableColumn, type DataTableProps, type DataTableSort, type DataUIPart, type DefineThemeInput, type Density, type DensityContextValue, type Deployment, DeploymentRow, type DeploymentStatus, Dialog, type DiffHunk, type DiffLine, type DiffLineKind, DiffViewer, type Domain, DomainConfig, type DomainStatus, DropdownMenu, EmptyState, type EnvScope, type EnvVar, EnvVarEditor, FilePart, type FilePartProps, type FileUIPart, FolderContextCard, type FolderEntry, FolderSelector, FormField, HOOK_EVENTS, type HandoffParty, HookConfig, type HookEntry, type HookEvent, type HookEventEntry, HookEventLog, type HookEventResult, Input, type InputProps, type IntentOption, IntentSelector, Label$1 as Label, type Lane, LaneBoard, type LaneCard, type LaneState, type LogLevel, type LogLine, LoginSplit, type MCPServer, MCPServerCard, MCPServerList, type MCPServerStatus, MODE_LABEL, MemoryEditor, type MemoryLayer, type MemoryScope, type MentionItem, MentionMenu, type MentionTrigger, type MessageRole, type Metric, MetricsPanel, type Mode, type ModelCapabilityFlag, ModelCard, type ModelInfo, type ModelOption, ModelSelector, PageShell, type PageShellProps, Pagination, type PaginationProps, type PartRendererMap, type PermissionDecision, type PermissionDecisionKind, PermissionMatrix, PermissionModal, type PermissionOperation, type PermissionRequest, type PermissionRule, PinInput, type PinInputProps, PlanBadge, type PlanBadgeProps, type PlanNode, type PlanNodeStatus, type PlanTier, type PreviewEnv, PreviewEnvCard, PreviewPanel, type PreviewService, Progress, ProgressChecklist, type ProgressProps, type Project, ProjectCard, type ProjectStatus, ProjectSwitcher, type ProviderMetadata, type QuickAction, QuickActionChips, RadioGroup$1 as RadioGroup, type RailStep, type ReasoningFileUIPart, ReasoningPart, type ReasoningPartProps, type ReasoningUIPart, type RecentFolder, RecentFoldersList, type RenderPartOptions, type RollbackTarget, RollbackUI, type Rule, RuleCard, RuleEditor, type RuleScope, type RuleState, RunStats, type RunningTaskItem, type RunningTaskStatus, RunningTasksPanel, ScrollArea, Select, SessionListItem, type SessionMode, type SessionRunStatus, type SessionStatus, type SessionSummary, SessionTimeline, Sheet, Sidebar, Skeleton, type Skill, SkillCard, SkillEditor, type SkillSource, type SkillState, SkillsList, SocialAuthRow, type SocialProvider, SourceDocumentPart, type SourceDocumentPartProps, type SourceDocumentUIPart, SourceUrlPart, type SourceUrlPartProps, type SourceUrlUIPart, StatTile, type StatTileProps, StatusDot, type StatusDotProps, type StatusKind, type StepStartUIPart, StepsRail, SubAgentDispatch, type SubAgentRun, type SubAgentState, Switch, SystemPromptEditor, Table, type TableCellProps, type TableHeaderCellProps, type TableProps, Tabs, TaskHeader, TaskNode, TaskPlan, type TaskSource, type TaskStatus, type TaskStep, type TaskStepStatus, type TerminalLine, TerminalPanel, TextPart, type TextPartProps, type TextUIPart, Textarea, type TextareaProps, type Theme, type ThemeFonts, type ThemeMode, ThemeProvider, ThemeScript, ThemeSwitcher, TheoUIProvider, type TheoUIProviderProps, Timestamp, type TimestampProps, Toast, type ToastVariant, Toaster, TokenUsageChart, type TokenUsagePoint, ToolCall, ToolCallCard, ToolCallPart, type ToolCallPartProps, type ToolCallStatus, type ToolEnablement, type ToolEntry, type ToolInvocationState, ToolResult, type ToolUIPart, ToolsList, TooltipWithStatics as Tooltip, TopNav, type UIMessage, type UIMessagePart, UsageMeter, type UsageMeterProps, type UsageMetric, anthropicStyle, auroraTerminal, avatarVariants, badgeVariants, builtinThemes, buttonVariants, capabilityPresets, classicPaper, cn, computePageRange, defineTheme, dracula, githubDark, hex, isCustomContentUIPart, isDataUIPart, isFileUIPart, isReasoningFileUIPart, isReasoningUIPart, isSourceDocumentUIPart, isSourceUrlUIPart, isStepStartUIPart, isTextUIPart, isToolUIPart, linearGlass, modelCapabilityPresets, oneDark, openaiStyle, renderPart, rgb, sheetVariants, useDensity, useTheme, useToast, vercelMono, violetForge };
package/dist/index.js CHANGED
@@ -1,90 +1,96 @@
1
+ export { PreviewPanel } from './chunk-BGKA6DI6.js';
2
+ export { ProjectCard } from './chunk-FLBTGNQI.js';
3
+ export { RollbackUI } from './chunk-V7OOTVK3.js';
4
+ export { RuleEditor } from './chunk-TNBJ36XJ.js';
5
+ export { SkillEditor } from './chunk-IPEYGWA7.js';
1
6
  export { SkillsList } from './chunk-AEVSVDT6.js';
2
7
  export { TaskHeader } from './chunk-BPUQWMBD.js';
3
8
  export { UsageMeter } from './chunk-AC4MGCXI.js';
9
+ export { DataTable } from './chunk-ZNILW4G5.js';
10
+ export { DeploymentRow } from './chunk-W2PVSIW3.js';
11
+ export { DomainConfig } from './chunk-DFADMEJK.js';
12
+ export { EnvVarEditor } from './chunk-WVPDQMC2.js';
4
13
  export { MCPServerList } from './chunk-B75MEYNR.js';
14
+ export { PageShell } from './chunk-QJGGTIUN.js';
5
15
  export { PermissionModal } from './chunk-QSOIJ6J3.js';
6
16
  export { PreviewEnvCard } from './chunk-LIGWMGXM.js';
7
- export { PreviewPanel } from './chunk-BGKA6DI6.js';
8
- export { ProjectCard } from './chunk-FLBTGNQI.js';
9
- export { RollbackUI } from './chunk-V7OOTVK3.js';
10
- export { RuleEditor } from './chunk-QU6RLHYH.js';
11
- export { SkillEditor } from './chunk-DAKIL5PC.js';
17
+ export { AgentTimeline } from './chunk-4UUSJJFZ.js';
18
+ import './chunk-ZXPDS6DH.js';
12
19
  export { CodeBlock } from './chunk-ZESICCKK.js';
13
20
  export { CommandPalette } from './chunk-BP2SETUC.js';
14
21
  export { ConfirmDialog } from './chunk-GIEPEFRX.js';
15
22
  export { CronJobsList } from './chunk-KQNKKV2C.js';
16
- export { DeploymentRow } from './chunk-W2PVSIW3.js';
17
- export { DomainConfig } from './chunk-DFADMEJK.js';
18
- export { EnvVarEditor } from './chunk-WVPDQMC2.js';
23
+ export { ToolResult } from './chunk-HG4WEERE.js';
24
+ export { ToolsList } from './chunk-JQXLPVWP.js';
25
+ export { TooltipWithStatics as Tooltip } from './chunk-FUT45NFW.js';
19
26
  export { TopNav } from './chunk-74NZ5U3E.js';
20
27
  export { AccountMenu } from './chunk-ZJRWCQEN.js';
21
28
  export { AgentComposer } from './chunk-CDA6RYOX.js';
29
+ export { ChatComposer } from './chunk-HQFTW7SF.js';
22
30
  export { AgentEditor } from './chunk-TO3UAT6O.js';
23
31
  export { ALL_MODES, MODE_LABEL } from './chunk-VM4RMQQN.js';
24
- export { AgentStream } from './chunk-H3ANHVEL.js';
32
+ export { AgentStream } from './chunk-DKQAHZG2.js';
33
+ export { ApprovalCard } from './chunk-SF6R5VMQ.js';
25
34
  export { ChatMessage, ChatMessageAction, ChatMessageActions, ChatMessageBranch, ChatMessageBranchContent, ChatMessageBranchNext, ChatMessageBranchPage, ChatMessageBranchPrevious, ChatMessageBranchSelector, ChatMessageContent, ChatMessageResponse, ChatMessageRoot, ChatMessageToolbar, DataPart, FilePart, ReasoningPart, SourceDocumentPart, SourceUrlPart, TextPart, ToolCallPart, isCustomContentUIPart, isDataUIPart, isFileUIPart, isReasoningFileUIPart, isReasoningUIPart, isSourceDocumentUIPart, isSourceUrlUIPart, isStepStartUIPart, isTextUIPart, isToolUIPart, renderPart } from './chunk-VI5M7KJ2.js';
26
35
  import { safeHref } from './chunk-673R3GSK.js';
27
- export { AgentTimeline } from './chunk-4UUSJJFZ.js';
28
- export { ApprovalCard } from './chunk-SF6R5VMQ.js';
29
- import './chunk-ZXPDS6DH.js';
30
- export { ChatComposer } from './chunk-HQFTW7SF.js';
36
+ export { TaskNode, TaskPlan } from './chunk-XUJYEADU.js';
37
+ export { TerminalPanel } from './chunk-LEEH63B2.js';
38
+ export { Textarea } from './chunk-WWNH5ENT.js';
31
39
  export { Timestamp } from './chunk-4ZBZBRG5.js';
32
40
  import { Toaster } from './chunk-I7WYM63C.js';
33
41
  export { Toast, Toaster, useToast } from './chunk-I7WYM63C.js';
34
42
  export { TokenUsageChart } from './chunk-AXKBNRZW.js';
35
43
  export { ToolCall } from './chunk-SP4CP5HY.js';
36
44
  export { ToolCallCard } from './chunk-CWFMFKDI.js';
37
- export { ToolResult } from './chunk-HG4WEERE.js';
38
- export { ToolsList } from './chunk-JQXLPVWP.js';
39
- export { TooltipWithStatics as Tooltip } from './chunk-FUT45NFW.js';
45
+ export { StatTile } from './chunk-XRKIEL5M.js';
46
+ export { StatusDot } from './chunk-NQZYY4LR.js';
47
+ export { StepsRail } from './chunk-LHRWVM3G.js';
40
48
  export { SubAgentDispatch } from './chunk-ZIKFOD6N.js';
41
49
  export { Switch } from './chunk-3HOXC25T.js';
42
50
  export { SystemPromptEditor } from './chunk-BNQAJGEN.js';
43
51
  export { Table } from './chunk-YRSKXEOD.js';
44
52
  export { Tabs } from './chunk-GBJB5WLT.js';
45
- export { TaskNode, TaskPlan } from './chunk-XUJYEADU.js';
46
- export { TerminalPanel } from './chunk-LEEH63B2.js';
47
- export { Textarea } from './chunk-WWNH5ENT.js';
53
+ export { Select } from './chunk-EP25QJ4N.js';
54
+ export { SessionListItem } from './chunk-CIYGNPKT.js';
55
+ export { SessionTimeline } from './chunk-XVYNSIQC.js';
48
56
  export { Sheet, sheetVariants } from './chunk-CWVKSV7S.js';
49
57
  export { Sidebar } from './chunk-RVOBP7PO.js';
50
58
  export { Skeleton } from './chunk-K5ARID4S.js';
51
59
  export { SkillCard } from './chunk-47QJVWW2.js';
52
60
  export { SocialAuthRow } from './chunk-3QGO5SB3.js';
53
- export { StatTile } from './chunk-XRKIEL5M.js';
54
- export { StatusDot } from './chunk-NQZYY4LR.js';
55
- export { StepsRail } from './chunk-LHRWVM3G.js';
61
+ export { ProjectSwitcher } from './chunk-62FT22CI.js';
62
+ export { QuickActionChips } from './chunk-K6RTLPIJ.js';
63
+ export { RadioGroup } from './chunk-E5A7HN6H.js';
56
64
  export { RecentFoldersList } from './chunk-5FF5EUZP.js';
57
65
  export { RuleCard } from './chunk-UOXU7NDY.js';
58
66
  export { RunStats } from './chunk-3GHLNCM3.js';
59
67
  export { RunningTasksPanel } from './chunk-GUQFYUIC.js';
60
68
  export { ScrollArea } from './chunk-AODIMN2N.js';
61
- export { Select } from './chunk-EP25QJ4N.js';
62
- export { SessionListItem } from './chunk-CIYGNPKT.js';
63
- export { SessionTimeline } from './chunk-XVYNSIQC.js';
69
+ export { ModelCard, modelCapabilityPresets } from './chunk-X5L62PXY.js';
70
+ export { ModelSelector } from './chunk-RTYYJPPE.js';
64
71
  export { Pagination, computePageRange } from './chunk-YOGHS4UU.js';
65
72
  export { PermissionMatrix } from './chunk-KRN4NE4U.js';
73
+ export { PinInput } from './chunk-R2PAGRDP.js';
66
74
  export { PlanBadge } from './chunk-R63ZKLQM.js';
67
75
  export { Progress } from './chunk-2XPWOUEH.js';
68
76
  export { ProgressChecklist } from './chunk-CKXY4FTV.js';
69
- export { ProjectSwitcher } from './chunk-62FT22CI.js';
70
- export { QuickActionChips } from './chunk-K6RTLPIJ.js';
71
- export { RadioGroup } from './chunk-E5A7HN6H.js';
77
+ export { IntentSelector } from './chunk-EU55O4P7.js';
78
+ export { Label } from './chunk-PR6OZF6D.js';
72
79
  export { LaneBoard } from './chunk-L2BI762I.js';
73
80
  export { LoginSplit } from './chunk-755NWSNW.js';
74
81
  export { MCPServerCard } from './chunk-QB6BNHO3.js';
75
82
  export { MemoryEditor } from './chunk-CVOKZITR.js';
76
83
  export { MentionMenu } from './chunk-6VINZJBV.js';
77
84
  export { MetricsPanel } from './chunk-UAYOOTRR.js';
78
- export { ModelCard, modelCapabilityPresets } from './chunk-X5L62PXY.js';
79
- export { ModelSelector } from './chunk-RTYYJPPE.js';
85
+ export { DropdownMenu } from './chunk-MI5CXMZU.js';
86
+ export { EmptyState } from './chunk-SWJ4EUOI.js';
80
87
  export { FolderContextCard } from './chunk-BVDASR3Y.js';
81
88
  export { FolderSelector } from './chunk-PPH5NTHV.js';
82
89
  export { FormField } from './chunk-TK24HQJJ.js';
83
90
  export { HOOK_EVENTS, HookConfig } from './chunk-PWXOXPFT.js';
84
91
  export { HookEventLog } from './chunk-EI63GTN7.js';
85
92
  export { Input } from './chunk-H3VJMFJQ.js';
86
- export { IntentSelector } from './chunk-EU55O4P7.js';
87
- export { Label } from './chunk-PR6OZF6D.js';
93
+ export { ContextWindowBar } from './chunk-CG7O3A42.js';
88
94
  export { CopyButton } from './chunk-F436537E.js';
89
95
  export { CostMeter } from './chunk-LKYSX3QF.js';
90
96
  export { CreatedFilesCard } from './chunk-UDTAMHXW.js';
@@ -92,7 +98,7 @@ export { CronJobCard } from './chunk-WKEUU2FU.js';
92
98
  export { DangerZone } from './chunk-ZDAOHMCW.js';
93
99
  export { Dialog } from './chunk-2UJROWAG.js';
94
100
  export { DiffViewer } from './chunk-ET44426Q.js';
95
- export { EmptyState } from './chunk-SWJ4EUOI.js';
101
+ export { BrowserControls } from './chunk-VMMATOPE.js';
96
102
  export { BuildLogStream } from './chunk-XGCV5E6W.js';
97
103
  export { Button, buttonVariants } from './chunk-57NXT3OX.js';
98
104
  export { CapabilityIndicator, capabilityPresets } from './chunk-CYOLRWOX.js';
@@ -100,7 +106,7 @@ export { Card } from './chunk-ZALLCR7X.js';
100
106
  export { ChatThread } from './chunk-PASI2U2R.js';
101
107
  export { Checkbox } from './chunk-G3LWNTVZ.js';
102
108
  export { ContextCard } from './chunk-WKLW7RC6.js';
103
- export { ContextWindowBar } from './chunk-CG7O3A42.js';
109
+ export { AgentStreaming } from './chunk-ETEIDY34.js';
104
110
  export { Alert } from './chunk-W3DUDZDU.js';
105
111
  export { ArtifactPreview } from './chunk-XWTISHXO.js';
106
112
  export { AttachmentChip } from './chunk-MCIFB6VS.js';
@@ -108,19 +114,18 @@ export { AuditLogEntry } from './chunk-ATHOPBCA.js';
108
114
  export { AutoCompactNotice } from './chunk-7RXYW5VM.js';
109
115
  export { Avatar, avatarVariants } from './chunk-7GLBWWMW.js';
110
116
  export { BadgeWithDot as Badge, badgeVariants } from './chunk-O23LKHUR.js';
111
- export { BrowserControls } from './chunk-VMMATOPE.js';
117
+ export { ActionBar } from './chunk-BX7A5GUV.js';
112
118
  export { AgentErrorCard } from './chunk-HGPBGLNP.js';
113
119
  export { AgentEvent } from './chunk-D23LRJT6.js';
114
120
  export { AgentHandoff } from './chunk-GSO7MISR.js';
115
121
  export { AgentProfile } from './chunk-WSJGZNUH.js';
116
122
  export { AgentStartingState } from './chunk-4L63UW3I.js';
117
- export { AgentStreaming } from './chunk-ETEIDY34.js';
118
123
  import './chunk-UGKI466V.js';
119
124
  import { cn } from './chunk-ZSRJCIWF.js';
120
125
  export { cn } from './chunk-ZSRJCIWF.js';
121
126
  import { createContext, useContext, useMemo, useState, useEffect, useRef, useCallback } from 'react';
122
127
  import { jsx, jsxs } from 'react/jsx-runtime';
123
- import * as DropdownMenu from '@radix-ui/react-dropdown-menu';
128
+ import * as DropdownMenu2 from '@radix-ui/react-dropdown-menu';
124
129
  import { Palette, Check, Moon, Sun } from 'lucide-react';
125
130
 
126
131
  var DensityContext = createContext(void 0);
@@ -375,8 +380,8 @@ function ThemeSwitcher({ className, showModeToggle = true }) {
375
380
  ", mode: ",
376
381
  mode
377
382
  ] }),
378
- /* @__PURE__ */ jsxs(DropdownMenu.Root, { children: [
379
- /* @__PURE__ */ jsx(DropdownMenu.Trigger, { asChild: true, children: /* @__PURE__ */ jsxs(
383
+ /* @__PURE__ */ jsxs(DropdownMenu2.Root, { children: [
384
+ /* @__PURE__ */ jsx(DropdownMenu2.Trigger, { asChild: true, children: /* @__PURE__ */ jsxs(
380
385
  "button",
381
386
  {
382
387
  type: "button",
@@ -393,8 +398,8 @@ function ThemeSwitcher({ className, showModeToggle = true }) {
393
398
  ]
394
399
  }
395
400
  ) }),
396
- /* @__PURE__ */ jsx(DropdownMenu.Portal, { children: /* @__PURE__ */ jsx(
397
- DropdownMenu.Content,
401
+ /* @__PURE__ */ jsx(DropdownMenu2.Portal, { children: /* @__PURE__ */ jsx(
402
+ DropdownMenu2.Content,
398
403
  {
399
404
  align: "end",
400
405
  sideOffset: 6,
@@ -404,7 +409,7 @@ function ThemeSwitcher({ className, showModeToggle = true }) {
404
409
  "data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[state=closed]:animate-out"
405
410
  ),
406
411
  children: themes.map((t) => /* @__PURE__ */ jsxs(
407
- DropdownMenu.Item,
412
+ DropdownMenu2.Item,
408
413
  {
409
414
  onSelect: () => setTheme(t.name),
410
415
  className: cn(