@kortix/ui 0.15.6 → 0.15.8

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 (226) hide show
  1. package/README.md +7 -7
  2. package/dist/_vendor/kortix-shared.js +36 -1
  3. package/dist/_vendor/shared/my-kortix-agent.d.ts +7 -0
  4. package/dist/_vendor/shared/pixel-mark.d.ts +18 -0
  5. package/dist/customize/connectors/catalog/connector-categories.d.ts +2 -2
  6. package/dist/customize/connectors/catalog/connector-categories.js +2 -2
  7. package/dist/customize/connectors/detail/connector-modal.js +1 -1
  8. package/dist/customize/providers/provider-accordion.js +3 -2
  9. package/dist/customize/providers/provider-connect.d.ts +7 -0
  10. package/dist/customize/providers/provider-connect.js +21 -2
  11. package/dist/customize/providers/provider-sheet.js +3 -2
  12. package/dist/customize/sections/gateway-view.d.ts +2 -2
  13. package/dist/customize/sections/gateway-view.js +30 -15
  14. package/dist/customize/sections/llm-provider/chatgpt-subscription-connect.d.ts +3 -1
  15. package/dist/customize/sections/llm-provider/chatgpt-subscription-connect.js +2 -2
  16. package/dist/customize/sections/view/account-secret-resources-panel.js +8 -5
  17. package/dist/customize/sections/view/agent-editor-basics-fields.js +1 -1
  18. package/dist/customize/sections/view/gateway/gateway-logs.d.ts +1 -1
  19. package/dist/customize/sections/view/git-view.js +1 -1
  20. package/dist/customize/sections/view/permission-editor.js +1 -1
  21. package/dist/customize/sections/view/review-center-connected.js +15 -3
  22. package/dist/customize/sections/view/subscription-usage.d.ts +269 -17
  23. package/dist/customize/sections/view/subscription-usage.js +197 -54
  24. package/dist/customize/shared/entity/entity-modal.js +8 -10
  25. package/dist/files/project/components/drive-toolbar.d.ts +1 -1
  26. package/dist/files/project/components/drive-toolbar.js +1 -1
  27. package/dist/files/project/store/version-store.d.ts +1 -1
  28. package/dist/files/renderers/shared/scroll-area-compat.d.ts +6 -6
  29. package/dist/files/renderers/shared/scroll-area-compat.js +7 -9
  30. package/dist/files/renderers/shared/select-compat.js +3 -7
  31. package/dist/files/viewer/file-preview-modal.d.ts +10 -11
  32. package/dist/files/viewer/file-preview-modal.js +17 -18
  33. package/dist/i18n/en.d.ts +40 -47
  34. package/dist/i18n/en.js +47 -54
  35. package/dist/i18n/ui-catalog/app-registry-translation-keys.generated.js +5 -0
  36. package/dist/index.js +1 -1
  37. package/dist/internal/account-hub/account-hub-location.js +2 -2
  38. package/dist/internal/account-hub/use-account-members.d.ts +28 -1
  39. package/dist/internal/account-hub/use-account-members.js +27 -10
  40. package/dist/internal/auth/auth-primitives.d.ts +27 -0
  41. package/dist/internal/auth/auth-primitives.js +21 -0
  42. package/dist/internal/billing/index.d.ts +1 -0
  43. package/dist/internal/billing/index.js +2 -0
  44. package/dist/internal/billing/use-free-grant-unspent.d.ts +10 -0
  45. package/dist/internal/billing/use-free-grant-unspent.js +20 -0
  46. package/dist/internal/components/agent-mark.d.ts +1 -8
  47. package/dist/internal/components/agent-mark.js +2 -19
  48. package/dist/internal/lib/billing/billing-gate-state.d.ts +20 -0
  49. package/dist/internal/lib/billing/billing-gate-state.js +22 -0
  50. package/dist/internal/lib/error-handler.js +0 -2
  51. package/dist/internal/lib/navigation/modified-click.js +2 -2
  52. package/dist/internal/lib/pixel-mark.d.ts +3 -20
  53. package/dist/internal/lib/pixel-mark.js +3 -34
  54. package/dist/internal/notifications/notification-inbox.js +1 -1
  55. package/dist/internal/stores/active-space-store.d.ts +1 -1
  56. package/dist/internal/stores/browser-recents-store.d.ts +1 -1
  57. package/dist/internal/stores/current-account-store.d.ts +1 -1
  58. package/dist/internal/stores/first-chat-store.d.ts +1 -1
  59. package/dist/internal/stores/mobile-app-promo-store.d.ts +1 -1
  60. package/dist/internal/stores/session-browser-store.d.ts +1 -1
  61. package/dist/internal/stores/session-expanded-store.d.ts +1 -1
  62. package/dist/internal/stores/session-filter-store.d.ts +1 -1
  63. package/dist/internal/stores/session-history-view-store.d.ts +1 -1
  64. package/dist/internal/stores/session-hover-store.d.ts +1 -1
  65. package/dist/internal/stores/session-hover-store.js +1 -1
  66. package/dist/internal/stores/session-panel-memory-store.d.ts +1 -1
  67. package/dist/internal/stores/sound-store.d.ts +1 -1
  68. package/dist/internal/stores/tab-store.d.ts +1 -1
  69. package/dist/internal/stores/upgrade-dialog-store.d.ts +0 -2
  70. package/dist/internal/stores/upgrade-dialog-store.js +0 -2
  71. package/dist/internal/stores/user-preferences-store.d.ts +1 -1
  72. package/dist/internal/stores/web-notification-store.d.ts +1 -1
  73. package/dist/lib/base-ui-compat.d.ts +149 -0
  74. package/dist/lib/base-ui-compat.js +339 -0
  75. package/dist/lib/portal-container.d.ts +3 -7
  76. package/dist/lib/portal-container.js +5 -3
  77. package/dist/lib/z-stack.d.ts +4 -4
  78. package/dist/lib/z-stack.js +5 -5
  79. package/dist/markdown/setup-links/approval-decision.d.ts +1 -1
  80. package/dist/markdown/setup-links/approval-decision.js +1 -1
  81. package/dist/primitives/accordion.d.ts +36 -5
  82. package/dist/primitives/accordion.js +41 -8
  83. package/dist/primitives/alert-dialog.d.ts +33 -11
  84. package/dist/primitives/alert-dialog.js +41 -19
  85. package/dist/primitives/avatar.d.ts +5 -2
  86. package/dist/primitives/avatar.js +3 -3
  87. package/dist/primitives/badge.js +1 -1
  88. package/dist/primitives/breadcrumb.js +1 -1
  89. package/dist/primitives/button-group.js +3 -3
  90. package/dist/primitives/button.js +1 -1
  91. package/dist/primitives/checkbox.d.ts +14 -5
  92. package/dist/primitives/checkbox.js +24 -9
  93. package/dist/primitives/collapsible.d.ts +16 -4
  94. package/dist/primitives/collapsible.js +18 -7
  95. package/dist/primitives/command-core.d.ts +121 -0
  96. package/dist/primitives/command-core.js +642 -0
  97. package/dist/primitives/command.d.ts +38 -4
  98. package/dist/primitives/command.js +22 -13
  99. package/dist/primitives/context-menu.d.ts +61 -31
  100. package/dist/primitives/context-menu.js +40 -53
  101. package/dist/primitives/dialog.d.ts +48 -10
  102. package/dist/primitives/dialog.js +48 -19
  103. package/dist/primitives/disclosure.d.ts +1 -1
  104. package/dist/primitives/disclosure.js +2 -2
  105. package/dist/primitives/drawer.d.ts +28 -9
  106. package/dist/primitives/drawer.js +42 -18
  107. package/dist/primitives/dropdown-menu.d.ts +55 -33
  108. package/dist/primitives/dropdown-menu.js +46 -82
  109. package/dist/primitives/faded-scroll-area.js +2 -1
  110. package/dist/primitives/hint.js +3 -3
  111. package/dist/primitives/hover-card.d.ts +17 -5
  112. package/dist/primitives/hover-card.js +45 -8
  113. package/dist/primitives/item.js +2 -2
  114. package/dist/primitives/label.d.ts +5 -2
  115. package/dist/primitives/label.js +10 -3
  116. package/dist/primitives/menu-base.d.ts +150 -0
  117. package/dist/primitives/menu-base.js +171 -0
  118. package/dist/primitives/menu-recipe.d.ts +1 -1
  119. package/dist/primitives/menu-recipe.js +2 -7
  120. package/dist/primitives/modal.d.ts +19 -52
  121. package/dist/primitives/modal.js +24 -28
  122. package/dist/primitives/navigation-menu.d.ts +36 -11
  123. package/dist/primitives/navigation-menu.js +31 -12
  124. package/dist/primitives/popover.d.ts +31 -6
  125. package/dist/primitives/popover.js +79 -12
  126. package/dist/primitives/preview-image.d.ts +18 -7
  127. package/dist/primitives/preview-image.js +14 -11
  128. package/dist/primitives/progress.d.ts +4 -2
  129. package/dist/primitives/progress.js +4 -3
  130. package/dist/primitives/project-icon-picker.js +2 -2
  131. package/dist/primitives/radio-group.d.ts +28 -5
  132. package/dist/primitives/radio-group.js +18 -10
  133. package/dist/primitives/scroll-area.d.ts +2 -2
  134. package/dist/primitives/scroll-area.js +8 -3
  135. package/dist/primitives/select.d.ts +55 -12
  136. package/dist/primitives/select.js +93 -36
  137. package/dist/primitives/separator.d.ts +6 -2
  138. package/dist/primitives/separator.js +10 -2
  139. package/dist/primitives/sheet.d.ts +17 -10
  140. package/dist/primitives/sheet.js +19 -22
  141. package/dist/primitives/sidebar-menu-primitives.js +8 -8
  142. package/dist/primitives/slider-native.d.ts +2 -2
  143. package/dist/primitives/slider-native.js +11 -9
  144. package/dist/primitives/slider.d.ts +24 -6
  145. package/dist/primitives/slider.js +26 -24
  146. package/dist/primitives/slot.d.ts +6 -0
  147. package/dist/primitives/slot.js +7 -0
  148. package/dist/primitives/split-sheet.js +1 -1
  149. package/dist/primitives/stepper.js +1 -1
  150. package/dist/primitives/switch.d.ts +16 -3
  151. package/dist/primitives/switch.js +7 -6
  152. package/dist/primitives/tabs.d.ts +36 -20
  153. package/dist/primitives/tabs.js +131 -102
  154. package/dist/primitives/toggle.d.ts +16 -3
  155. package/dist/primitives/toggle.js +8 -3
  156. package/dist/primitives/tooltip.d.ts +24 -5
  157. package/dist/primitives/tooltip.js +32 -10
  158. package/dist/primitives/type-to-confirm-dialog.d.ts +1 -1
  159. package/dist/primitives/type-to-confirm-dialog.js +1 -1
  160. package/dist/session/composer/animated-placeholder.js +1 -1
  161. package/dist/session/composer/chat-input/chat-input-control.js +3 -3
  162. package/dist/session/composer/editor/composer-editor.js +1 -1
  163. package/dist/session/composer/menus/menu-shell.d.ts +1 -1
  164. package/dist/session/composer/menus/menu-shell.js +1 -1
  165. package/dist/session/composer/menus/mount.js +1 -1
  166. package/dist/session/composer/reasoning-effort-selector.js +1 -1
  167. package/dist/session/header/session-site-header.js +2 -2
  168. package/dist/session/header/subagent-hover-card.js +2 -2
  169. package/dist/session/media/image-preview.js +1 -1
  170. package/dist/session/models/model-selector.d.ts +1 -1
  171. package/dist/session/models/model-selector.js +18 -12
  172. package/dist/session/models/subscription-switcher.d.ts +37 -0
  173. package/dist/session/models/subscription-switcher.js +97 -0
  174. package/dist/session/models/subscription-windows.d.ts +40 -0
  175. package/dist/session/models/subscription-windows.js +86 -0
  176. package/dist/session/overrides/session-overrides-control.js +3 -3
  177. package/dist/session/panel/diff-dialog.js +1 -1
  178. package/dist/session/panel/easy/detail-view.js +3 -3
  179. package/dist/session/panel/mobile-tool-drawer.js +2 -2
  180. package/dist/session/panel/panel-fallback.js +1 -1
  181. package/dist/session/panel/session-files-explorer.d.ts +1 -1
  182. package/dist/session/panel/session-files-explorer.js +1 -1
  183. package/dist/session/prompts/ask-deck.d.ts +14 -2
  184. package/dist/session/prompts/ask-deck.js +6 -2
  185. package/dist/session/thread/session-chat.js +2 -2
  186. package/dist/session/thread/session-context-message-explorer.js +1 -1
  187. package/dist/session/thread/turn-share.js +3 -4
  188. package/dist/session/tool/shared/show-helpers.js +1 -1
  189. package/dist/session/turn/message-time-label.js +1 -1
  190. package/dist/styles.css +1 -1
  191. package/dist/test-utils/intl.d.ts +40 -47
  192. package/dist/workspace/admin/settings-search.js +4 -12
  193. package/dist/workspace/inbox/workspace-inbox.js +11 -2
  194. package/dist/workspace/layout/new-session-create.d.ts +4 -2
  195. package/dist/workspace/layout/new-session-create.js +11 -0
  196. package/dist/workspace/projects/modal/project-icon-field.js +9 -23
  197. package/dist/workspace/review/approval-modal.d.ts +6 -6
  198. package/dist/workspace/review/approval-modal.js +10 -14
  199. package/dist/workspace/review/review-center.d.ts +9 -2
  200. package/dist/workspace/review/review-center.js +258 -126
  201. package/dist/workspace/review/review-detail.d.ts +20 -10
  202. package/dist/workspace/review/review-detail.js +39 -44
  203. package/dist/workspace/review/review-meta.d.ts +27 -6
  204. package/dist/workspace/review/review-meta.js +46 -34
  205. package/dist/workspace/sessions/session-row.js +1 -1
  206. package/dist/workspace/sidebar/footer/project-download-app-nav.d.ts +10 -0
  207. package/dist/workspace/sidebar/footer/project-download-app-nav.js +53 -0
  208. package/dist/workspace/sidebar/footer/promo-nav-row.d.ts +2 -1
  209. package/dist/workspace/sidebar/footer/promo-nav-row.js +1 -1
  210. package/dist/workspace/sidebar/project-session-list.js +2 -2
  211. package/dist/workspace/sidebar/project-sidebar.d.ts +6 -1
  212. package/dist/workspace/sidebar/project-sidebar.js +3 -2
  213. package/dist/workspace/sidebar/session-brief-hover-card.d.ts +1 -1
  214. package/dist/workspace/sidebar/session-brief-hover-card.js +3 -3
  215. package/dist/workspace/sidebar/session-title.d.ts +2 -2
  216. package/dist/workspace/sidebar/session-title.js +2 -2
  217. package/dist/workspace/sidebar/workspace-menu-model.d.ts +19 -13
  218. package/dist/workspace/sidebar/workspace-menu-model.js +7 -8
  219. package/dist/workspace/sidebar/workspace-menu-section.js +1 -1
  220. package/dist/workspace/spaces/space-links.js +1 -1
  221. package/dist/workspace/spaces/space-threads-tab.js +1 -1
  222. package/package.json +16 -35
  223. package/skills/kortix-ui/SKILL.md +1 -1
  224. package/skills/kortix-ui/references/custom-dashboard.md +1 -1
  225. package/dist/customize/sections/view/subscription-usage-tab.d.ts +0 -25
  226. package/dist/customize/sections/view/subscription-usage-tab.js +0 -121
@@ -62,13 +62,11 @@ const OWNS_ITS_DIRECTORY = {
62
62
  * drop focus trap continuity.
63
63
  */
64
64
  export function EntityDetailModal({ projectId, entity, kind, open, isResolving = false, aside, meta, paneOverride, removable = false, source, onOpenChange, }) {
65
- // A skill/command with no description renders no `ModalDescription`, so
66
- // Radix's Dialog can't find one to auto-associate via `aria-describedby`
67
- // and logs a dev-only "Missing Description" warning. Passing
68
- // `aria-describedby={undefined}` explicitly (as its own prop key, not just
69
- // omitting the attribute) is Radix's documented opt-out — the warning
70
- // message itself names this exact fix. Only applied when there truly is no
71
- // description; when one exists, `ModalDescription` wires up normally.
65
+ // A skill/command with no description renders no `ModalDescription`.
66
+ // Passing `aria-describedby={undefined}` explicitly (as its own prop key,
67
+ // not just omitting the attribute) states that the dialog has no
68
+ // description. Only applied when there truly is no description; when one
69
+ // exists, `ModalDescription` wires up `aria-describedby` normally.
72
70
  const suppressDescriptionWarning = !entity?.description;
73
71
  return (_jsx(Modal, { open: open, onOpenChange: onOpenChange, children: _jsx(ModalContent, { className: "bg-popover space-y-0 lg:max-w-6xl", ...(suppressDescriptionWarning ? { 'aria-describedby': undefined } : {}), children: entity ? (_jsx(EntityModalBody, { projectId: projectId, entity: entity, kind: kind, aside: aside, meta: meta, paneOverride: paneOverride, removable: removable, source: source }, entity.path)) : isResolving ? (_jsx(EntityModalSkeleton, { kind: kind })) : null }) }));
74
72
  }
@@ -77,8 +75,8 @@ export function EntityDetailModal({ projectId, entity, kind, open, isResolving =
77
75
  * has not arrived. Shape-matched to `EntityModalBody` — same header, same
78
76
  * `lg:w-64` file rail — so the handover fills placeholders in place.
79
77
  *
80
- * `ModalTitle` is real, not decorative: Radix's Dialog requires an accessible
81
- * name for the whole time it is open, including this window.
78
+ * `ModalTitle` is real, not decorative: a dialog needs an accessible name for
79
+ * the whole time it is open, including this window.
82
80
  */
83
81
  function EntityModalSkeleton({ kind }) {
84
82
  const tI18nComplete = useTranslations('hardcodedUi.i18nComplete');
@@ -123,7 +121,7 @@ function EntityModalBody({ projectId, entity, kind, aside, meta, paneOverride, r
123
121
  // The click does not send the prompt directly — `configure.start` opens a
124
122
  // whole new chat, which is a bigger commitment than a pencil icon implies,
125
123
  // so an AlertDialog confirms first. The dialog nests inside this modal's
126
- // React tree on purpose: rendered as a sibling, Radix would read every
124
+ // React tree on purpose: rendered as a sibling, the modal would read every
127
125
  // click in the alert as an outside-click and dismiss the modal underneath
128
126
  // (see packages/ui/src/primitives/alert-dialog.tsx).
129
127
  // Kortix's own files (a `source`) are read-only here.
@@ -120,7 +120,7 @@ type DriveMenuItemComponent = ComponentType<{
120
120
  }>;
121
121
  /**
122
122
  * Contents of the "New" menu, injectable like `FolderDriveMenuItems` so the
123
- * entries can be rendered — and their handlers driven — without a live Radix
123
+ * entries can be rendered — and their handlers driven — without a live
124
124
  * portal.
125
125
  */
126
126
  export declare function DriveNewMenuItems({ Item, Separator: MenuSeparator, onUpload, onUploadFolder, onNewFile, onNewFolder, }: {
@@ -178,7 +178,7 @@ export function hasWriteActions(props) {
178
178
  }
179
179
  /**
180
180
  * Contents of the "New" menu, injectable like `FolderDriveMenuItems` so the
181
- * entries can be rendered — and their handlers driven — without a live Radix
181
+ * entries can be rendered — and their handlers driven — without a live
182
182
  * portal.
183
183
  */
184
184
  export function DriveNewMenuItems({ Item, Separator: MenuSeparator, onUpload, onUploadFolder, onNewFile, onNewFolder, }) {
@@ -2,7 +2,7 @@ interface VersionStore {
2
2
  selectedByProject: Record<string, string | undefined>;
3
3
  setVersion: (projectId: string, ref: string | null) => void;
4
4
  }
5
- export declare const useVersionStore: import("zustand").UseBoundStore<Omit<import("zustand").StoreApi<VersionStore>, "setState" | "persist"> & {
5
+ export declare const useVersionStore: import("zustand").UseBoundStore<Omit<import("zustand").StoreApi<VersionStore>, "persist" | "setState"> & {
6
6
  setState(partial: VersionStore | Partial<VersionStore> | ((state: VersionStore) => VersionStore | Partial<VersionStore>), replace?: false | undefined): unknown;
7
7
  setState(state: VersionStore | ((state: VersionStore) => VersionStore), replace: true): unknown;
8
8
  persist: {
@@ -1,4 +1,4 @@
1
- import * as ScrollAreaPrimitive from '@radix-ui/react-scroll-area';
1
+ import { ScrollArea as ScrollAreaPrimitive } from '@base-ui/react/scroll-area';
2
2
  import * as React from 'react';
3
3
  type ScrollAreaCompatProps = Omit<React.ComponentProps<typeof ScrollAreaPrimitive.Root>, 'children'> & {
4
4
  children?: React.ReactNode;
@@ -6,16 +6,16 @@ type ScrollAreaCompatProps = Omit<React.ComponentProps<typeof ScrollAreaPrimitiv
6
6
  /** Cosmetic-only in this shim (no CSS mask fade); accepted for API parity. */
7
7
  scrollFade?: boolean;
8
8
  /**
9
- * Cosmetic-only in this shim: Radix's custom overlay scrollbar doesn't
10
- * reflow layout the way a native scrollbar does, so there's no gutter to
11
- * reserve. Accepted for API parity with extend.ai's base-ui ScrollArea.
9
+ * Cosmetic-only in this shim: the overlay scrollbar doesn't reflow layout
10
+ * the way a native scrollbar does, so there's no gutter to reserve.
11
+ * Accepted for API parity with extend.ai's ScrollArea.
12
12
  */
13
13
  scrollbarGutter?: boolean;
14
14
  viewportClassName?: string;
15
15
  /**
16
16
  * `ref` is typed by hand here (a plain `(instance) => void` callback plus
17
17
  * `RefObject`) instead of via `React.ComponentProps<typeof
18
- * ScrollAreaPrimitive.Viewport>`: Radix's ref type is baked into its own
18
+ * ScrollAreaPrimitive.Viewport>`: the library's ref type is baked into its own
19
19
  * compiled `.d.ts`, independently instantiated from whatever callers pass
20
20
  * (e.g. `@extend-ai/react-xlsx`'s `viewportProps.ref`), and `@types/react`
21
21
  * 19.2's ref-cleanup-return branding makes those two independently
@@ -26,7 +26,7 @@ type ScrollAreaCompatProps = Omit<React.ComponentProps<typeof ScrollAreaPrimitiv
26
26
  * returning anything is assignable where `void` is expected" rule then
27
27
  * accepts any caller's ref callback. `ref` is destructured out below and
28
28
  * merged with `viewportRef` — see `mergeRefs` — so it never needs to
29
- * satisfy Radix's own nominal type anyway.
29
+ * satisfy the library's own nominal type anyway.
30
30
  */
31
31
  viewportProps?: React.ComponentPropsWithoutRef<typeof ScrollAreaPrimitive.Viewport> & {
32
32
  ref?: ((instance: HTMLDivElement | null) => void) | React.RefObject<HTMLDivElement | null> | null;
@@ -3,13 +3,11 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
3
3
  // Vendored extend.ai viewers (e.g. pdf-viewer.tsx) are written against
4
4
  // extend.ai's own `ScrollArea`, which wraps `@base-ui/react/scroll-area` and
5
5
  // exposes a richer prop surface (`orientation`, `scrollFade`,
6
- // `viewportClassName`, `viewportProps`, `viewportRef`) than this repo's
7
- // shadcn/Radix-based `@/components/ui/scroll-area`. Rather than pull in
8
- // `@base-ui/react` or widen the app-wide scroll-area component, this shim
9
- // reimplements just the props the vendored viewers actually use on top of
10
- // the `@radix-ui/react-scroll-area` primitive already used elsewhere in the
11
- // app, so the vendor diff in pdf-viewer.tsx stays a single import swap.
12
- import * as ScrollAreaPrimitive from '@radix-ui/react-scroll-area';
6
+ // `viewportClassName`, `viewportProps`, `viewportRef`) than the app-wide
7
+ // `@kortix/ui/scroll-area`. This shim implements just the props the vendored
8
+ // viewers use on the same Base UI primitive, so the vendor diff in
9
+ // pdf-viewer.tsx stays a single import swap.
10
+ import { ScrollArea as ScrollAreaPrimitive } from '@base-ui/react/scroll-area';
13
11
  import * as React from 'react';
14
12
  import { cn } from '../../../lib/utils.js';
15
13
  /**
@@ -34,8 +32,8 @@ export function mergeRefs(...refs) {
34
32
  export function ScrollArea({ className, children, orientation = 'both', scrollFade: _scrollFade, scrollbarGutter: _scrollbarGutter, viewportClassName, viewportProps, viewportRef, ...props }) {
35
33
  const { className: viewportPropsClassName, ref: viewportPropsRef, ...restViewportProps } = viewportProps ?? {};
36
34
  const mergedViewportRef = React.useMemo(() => mergeRefs(viewportPropsRef, viewportRef), [viewportPropsRef, viewportRef]);
37
- return (_jsxs(ScrollAreaPrimitive.Root, { "data-slot": "scroll-area", className: cn('relative overflow-hidden', className), ...props, children: [_jsx(ScrollAreaPrimitive.Viewport, { ...restViewportProps, ref: mergedViewportRef, "data-slot": "scroll-area-viewport", className: cn('focus-visible:ring-ring/50 size-full rounded-[inherit] transition-[color,box-shadow] outline-none focus-visible:ring-[3px] focus-visible:outline-1 [&>div]:!block', viewportPropsClassName, viewportClassName), children: children }), orientation !== 'horizontal' ? _jsx(ScrollBar, { orientation: "vertical" }) : null, orientation !== 'vertical' ? _jsx(ScrollBar, { orientation: "horizontal" }) : null, orientation === 'both' ? _jsx(ScrollAreaPrimitive.Corner, {}) : null] }));
35
+ return (_jsxs(ScrollAreaPrimitive.Root, { "data-slot": "scroll-area", className: cn('relative overflow-hidden', className), ...props, children: [_jsx(ScrollAreaPrimitive.Viewport, { ...restViewportProps, ref: mergedViewportRef, "data-slot": "scroll-area-viewport", className: cn('focus-visible:ring-ring/50 size-full rounded-[inherit] transition-[color,box-shadow] outline-none focus-visible:ring-[3px] focus-visible:outline-1', viewportPropsClassName, viewportClassName), children: children }), orientation !== 'horizontal' ? _jsx(ScrollBar, { orientation: "vertical" }) : null, orientation !== 'vertical' ? _jsx(ScrollBar, { orientation: "horizontal" }) : null, orientation === 'both' ? _jsx(ScrollAreaPrimitive.Corner, {}) : null] }));
38
36
  }
39
37
  function ScrollBar({ className, orientation = 'vertical', ...props }) {
40
- return (_jsx(ScrollAreaPrimitive.ScrollAreaScrollbar, { "data-slot": "scroll-area-scrollbar", orientation: orientation, className: cn('flex touch-none p-px transition-colors select-none', orientation === 'vertical' && 'h-full w-2.5 border-l border-l-transparent', orientation === 'horizontal' && 'h-2.5 flex-col border-t border-t-transparent', className), ...props, children: _jsx(ScrollAreaPrimitive.ScrollAreaThumb, { "data-slot": "scroll-area-thumb", className: "bg-border relative flex-1 cursor-grab rounded-full active:cursor-grabbing" }) }));
38
+ return (_jsx(ScrollAreaPrimitive.Scrollbar, { "data-slot": "scroll-area-scrollbar", orientation: orientation, className: cn('flex touch-none p-px select-none opacity-0 transition-opacity duration-moderate data-hovering:opacity-100 data-scrolling:opacity-100 data-scrolling:duration-0', orientation === 'vertical' && 'h-full w-2.5 border-l border-l-transparent', orientation === 'horizontal' && 'h-2.5 flex-col border-t border-t-transparent', className), ...props, children: _jsx(ScrollAreaPrimitive.Thumb, { "data-slot": "scroll-area-thumb", className: "bg-border relative flex-1 cursor-grab rounded-full active:cursor-grabbing" }) }));
41
39
  }
@@ -2,13 +2,9 @@
2
2
  import { jsx as _jsx } from "react/jsx-runtime";
3
3
  // Vendored extend.ai viewers (e.g. pdf-viewer.tsx) are written against
4
4
  // extend.ai's own base-ui-powered `Select` (`modal` on the root,
5
- // `alignItemWithTrigger` on the content/popup), which doesn't line up with
6
- // this repo's shadcn/Radix-based `@/components/ui/select`. Radix's
7
- // `Select.Root` has no `modal` concept and shadcn's `SelectContent` has no
8
- // `alignItemWithTrigger` concept — both are already effectively "off" in the
9
- // Radix version, so this shim just accepts (and drops) those two props for
10
- // API parity instead of widening the app-wide select component or pulling
11
- // in `@base-ui/react`.
5
+ // `alignItemWithTrigger` on the content/popup). `@kortix/ui`'s `Select` runs
6
+ // on Base UI too and accepts both props, but this shim drops them, so these
7
+ // viewers keep the non-modal, popper-positioned select they have always had.
12
8
  import { SelectContent as SelectContentPrimitive, SelectItem, Select as SelectPrimitive, SelectTrigger, SelectValue, } from '../../../primitives/select.js';
13
9
  export { SelectItem, SelectTrigger, SelectValue };
14
10
  export function Select({ modal: _modal, ...props }) {
@@ -48,16 +48,15 @@ export interface FilePreviewModalProps extends FilePreviewState {
48
48
  * source down; this component owns all the chrome so every surface looks and
49
49
  * behaves identically (one full-bleed brand style, no variants).
50
50
  *
51
- * It portals to <body>. Two things make it survive being nested inside a
52
- * parent Radix modal Dialog (the Customize overlay), which would otherwise
53
- * make it inert:
54
- * 1. `pointer-events-auto` on the backdrop + surface — Radix sets body
55
- * `pointer-events:none` on everything outside its own content, so without
56
- * this every click is dead.
57
- * 2. A native `wheel`/`touchmove` listener that stops propagation before the
58
- * event reaches `document`, where Radix's `react-remove-scroll` would call
59
- * `preventDefault` and kill mouse-wheel scrolling. (Keyboard scroll never
60
- * hit that path, which is why only the mouse appeared broken.)
61
- * Z-index is dialog-depth aware so it always stacks above its host overlay.
51
+ * It portals to <body>, also when nested inside a parent modal dialog (the
52
+ * Customize overlay). That dialog blocks outside pointer input with a
53
+ * full-screen backdrop and locks page scroll. Three things keep this preview
54
+ * usable on top of it:
55
+ * 1. Z-index is dialog-depth aware, so it stacks above the host's backdrop.
56
+ * 2. `pointer-events-auto` on the backdrop + surface, so an ancestor that
57
+ * sets `pointer-events:none` cannot make it inert.
58
+ * 3. A native `wheel`/`touchmove` listener that stops propagation before the
59
+ * event reaches `document`, so no document-level wheel handler can cancel
60
+ * scrolling here.
62
61
  */
63
62
  export declare function FilePreviewModal({ selectedFilePath, panelMode, filePathList, currentFileIndex, onClose: closePreview, onNext: nextPreview, onPrev: prevPreview, source, HistoryContent, renderFileIcon, statusSlot, extraActions, shareContext, historyLabel, embedded, targetLine, }: FilePreviewModalProps): import("react").JSX.Element | null;
@@ -41,17 +41,16 @@ const NO_REFRESH = {
41
41
  * source down; this component owns all the chrome so every surface looks and
42
42
  * behaves identically (one full-bleed brand style, no variants).
43
43
  *
44
- * It portals to <body>. Two things make it survive being nested inside a
45
- * parent Radix modal Dialog (the Customize overlay), which would otherwise
46
- * make it inert:
47
- * 1. `pointer-events-auto` on the backdrop + surface — Radix sets body
48
- * `pointer-events:none` on everything outside its own content, so without
49
- * this every click is dead.
50
- * 2. A native `wheel`/`touchmove` listener that stops propagation before the
51
- * event reaches `document`, where Radix's `react-remove-scroll` would call
52
- * `preventDefault` and kill mouse-wheel scrolling. (Keyboard scroll never
53
- * hit that path, which is why only the mouse appeared broken.)
54
- * Z-index is dialog-depth aware so it always stacks above its host overlay.
44
+ * It portals to <body>, also when nested inside a parent modal dialog (the
45
+ * Customize overlay). That dialog blocks outside pointer input with a
46
+ * full-screen backdrop and locks page scroll. Three things keep this preview
47
+ * usable on top of it:
48
+ * 1. Z-index is dialog-depth aware, so it stacks above the host's backdrop.
49
+ * 2. `pointer-events-auto` on the backdrop + surface, so an ancestor that
50
+ * sets `pointer-events:none` cannot make it inert.
51
+ * 3. A native `wheel`/`touchmove` listener that stops propagation before the
52
+ * event reaches `document`, so no document-level wheel handler can cancel
53
+ * scrolling here.
55
54
  */
56
55
  export function FilePreviewModal({ selectedFilePath, panelMode, filePathList, currentFileIndex, onClose: closePreview, onNext: nextPreview, onPrev: prevPreview, source, HistoryContent, renderFileIcon, statusSlot, extraActions, shareContext, historyLabel = "History", embedded = false, targetLine = null, }) {
57
56
  const tI18nHardcoded = useTranslations("hardcodedUi");
@@ -98,14 +97,14 @@ export function FilePreviewModal({ selectedFilePath, panelMode, filePathList, cu
98
97
  setExpanded(false);
99
98
  }, [selectedFilePath, targetLine]);
100
99
  // Keyboard navigation. Capture-phase + stopImmediatePropagation so ESC only
101
- // closes the preview, not a host Radix dialog underneath (Customize overlay).
100
+ // closes the preview, not a host dialog underneath (Customize overlay).
102
101
  useEffect(() => {
103
102
  if (!isOpen)
104
103
  return;
105
104
  const handleKeyDown = (e) => {
106
105
  // Focus trap: keep Tab cycling within the dialog. Only acts when focus is
107
- // already inside our surface, so when nested under the Customize Radix
108
- // dialog (whose own FocusScope owns focus) we don't hijack its Tab order.
106
+ // already inside our surface, so when nested under the Customize
107
+ // dialog (whose own focus trap owns focus) we don't hijack its Tab order.
109
108
  if (e.key === "Tab") {
110
109
  const surface = surfaceRef.current;
111
110
  if (surface && surface.contains(document.activeElement)) {
@@ -178,7 +177,7 @@ export function FilePreviewModal({ selectedFilePath, panelMode, filePathList, cu
178
177
  ]);
179
178
  // Move focus into the dialog on open and restore it to the triggering element
180
179
  // on close. Standalone (session Files tab) this completes the focus trap;
181
- // nested under the Customize Radix dialog, Radix's FocusScope may keep focus —
180
+ // nested under the Customize dialog, that dialog's focus trap may keep focus —
182
181
  // we make a single, non-looping attempt and don't fight it (no regression).
183
182
  useEffect(() => {
184
183
  // Inline (embedded) viewers must not steal focus from the chat composer.
@@ -202,10 +201,10 @@ export function FilePreviewModal({ selectedFilePath, panelMode, filePathList, cu
202
201
  };
203
202
  }
204
203
  }, [isOpen, fullscreen]);
205
- // Keep wheel/touch scroll alive when nested under a Radix modal Dialog:
206
- // stop the event before it reaches document, where react-remove-scroll would
204
+ // Keep wheel/touch scroll alive when nested under a modal dialog: stop the
205
+ // event before it reaches document, where a scroll-lock listener could
207
206
  // preventDefault it. Native listener (not React onWheel) so it fires during
208
- // real DOM bubbling, ahead of the document-level listener.
207
+ // real DOM bubbling, ahead of any document-level listener.
209
208
  const contentRef = useRef(null);
210
209
  // A host theme with larger controls, or a narrow panel: the toolbar drops the
211
210
  // Download label, the previous/next pair (the arrow keys still step), the
package/dist/i18n/en.d.ts CHANGED
@@ -98,16 +98,6 @@ declare const catalog: {
98
98
  access: string;
99
99
  actions: string;
100
100
  coolingDown: string;
101
- usageFiveHour: string;
102
- usageWeekly: string;
103
- usageWeeklyModel: string;
104
- usagePercent: string;
105
- usagePercentResets: string;
106
- usageLimitReached: string;
107
- usageLimitResets: string;
108
- usageNotSeen: string;
109
- usageObserved: string;
110
- usageAriaLabel: string;
111
101
  member: string;
112
102
  members: string;
113
103
  actionsFor: string;
@@ -149,6 +139,9 @@ declare const catalog: {
149
139
  providerKeys: string;
150
140
  chooseSharedKeys: string;
151
141
  sessionKeyPool: string;
142
+ subscriptionSwitcher: string;
143
+ subscriptionSwitcherDefault: string;
144
+ subscriptionSwitcherUse: string;
152
145
  sharedSessionKeys: string;
153
146
  promptedSessionKeys: string;
154
147
  noPersonSessionKeys: string;
@@ -1779,6 +1772,8 @@ declare const catalog: {
1779
1772
  title: string;
1780
1773
  description: string;
1781
1774
  confirmDescription: string;
1775
+ unknownDescription: string;
1776
+ closedDescription: string;
1782
1777
  notReceived: string;
1783
1778
  confirmNotReceived: string;
1784
1779
  resendIn: string;
@@ -6197,6 +6192,11 @@ declare const catalog: {
6197
6192
  textadca5dfd1e42: string;
6198
6193
  text16ba47efb9f2: string;
6199
6194
  textfd8b8dae4421: string;
6195
+ text674900a77b79: string;
6196
+ text765a8cb04cf5: string;
6197
+ texta68ee4167406: string;
6198
+ texta69c4dece144: string;
6199
+ textab3aff8f7642: string;
6200
6200
  };
6201
6201
  publicShareConfirm: {
6202
6202
  title: string;
@@ -6377,6 +6377,10 @@ declare const catalog: {
6377
6377
  deniedDescription: string;
6378
6378
  failed: string;
6379
6379
  };
6380
+ reviewPane: {
6381
+ emptyTitle: string;
6382
+ emptyDescription: string;
6383
+ };
6380
6384
  };
6381
6385
  commandPalette: {
6382
6386
  title: string;
@@ -9786,45 +9790,34 @@ declare const catalog: {
9786
9790
  fiveHour: string;
9787
9791
  weekly: string;
9788
9792
  weeklyModel: string;
9789
- reconnect: string;
9790
- disabledTitle: string;
9791
- disabledDescription: string;
9792
- text0: string;
9793
- text1: string;
9794
- text2: string;
9795
- text3: string;
9796
- text4: string;
9797
- text5: string;
9798
- text6: string;
9799
- text7: string;
9800
- text8: string;
9801
- text9: string;
9802
- text10: string;
9803
- text11: string;
9804
- text12: string;
9805
- text13: string;
9806
- text14: string;
9807
- text15: string;
9808
- text16: string;
9809
- text17: string;
9810
- text18: string;
9811
- text19: string;
9812
- text20: string;
9813
- text21: string;
9814
- text22: string;
9815
- text23: string;
9816
- text24: string;
9817
- text25: string;
9818
- text26: string;
9819
- resets: string;
9793
+ inactive: string;
9794
+ limitReached: string;
9795
+ checking: string;
9796
+ title: string;
9820
9797
  observed: string;
9821
9798
  meterLabel: string;
9822
- refreshLabel: string;
9823
- fiveHourNotReported: string;
9824
- fableIncluded: string;
9825
- chatgptUsage: string;
9826
- claudeUsage: string;
9827
- allSubscriptions: string;
9799
+ extraUsage: string;
9800
+ apps: string;
9801
+ codeReview: string;
9802
+ percent: string;
9803
+ percentResets: string;
9804
+ percentBack: string;
9805
+ resetPassed: string;
9806
+ notStarted: string;
9807
+ reconnectToSee: string;
9808
+ availableNow: string;
9809
+ availableCount: string;
9810
+ nextBack: string;
9811
+ rowPeak: string;
9812
+ rowSomeLimited: string;
9813
+ rowAllLimited: string;
9814
+ rowAllLimitedBack: string;
9815
+ noUsageYet: string;
9816
+ refreshFailed: string;
9817
+ loadFailed: string;
9818
+ rowSomeLimitedBack: string;
9819
+ weeklyAll: string;
9820
+ notReported: string;
9828
9821
  };
9829
9822
  gatewayRouting: {
9830
9823
  exceptions: string;
package/dist/i18n/en.js CHANGED
@@ -52,7 +52,7 @@ const catalog = {
52
52
  "oauthWaiting": "Waiting for authorization…",
53
53
  "oauthFinishing": "Signed in. Saving your account…",
54
54
  "oauthExpired": "Authorization timed out. Try again.",
55
- "oauthPrivateDescription": "Use your ChatGPT Plus or Pro plan in this workspace. New accounts are private to you until you share them.",
55
+ "oauthPrivateDescription": "Use your ChatGPT Plus or Pro plan in this workspace. New accounts are shared with every workspace member. You can make one private.",
56
56
  "chatGptSubscription": "ChatGPT subscription",
57
57
  "manageChatGptAccounts": "Manage ChatGPT accounts",
58
58
  "connect": "Connect",
@@ -88,7 +88,7 @@ const catalog = {
88
88
  "deleteError": "Secret could not be deleted",
89
89
  "accessError": "Access could not be changed",
90
90
  "sharedTitle": "Provider connections",
91
- "sharedDescription": "Add API keys, ChatGPT accounts and Claude accounts. New ones are private to you until you share them. Choose which ones each session uses.",
91
+ "sharedDescription": "Add API keys, ChatGPT accounts and Claude accounts. New ones are shared with every workspace member. You can make one private. Choose which ones each session uses.",
92
92
  "legacyProjectKey": "Existing workspace key · Used when this session has no key selection",
93
93
  "keyCount": "{count, plural, one {# key} other {# keys}}",
94
94
  "providerKeysFor": "{provider} API keys",
@@ -99,16 +99,6 @@ const catalog = {
99
99
  "access": "Access",
100
100
  "actions": "Actions",
101
101
  "coolingDown": "Cooling down",
102
- "usageFiveHour": "5-hour",
103
- "usageWeekly": "Weekly",
104
- "usageWeeklyModel": "Weekly · {model}",
105
- "usagePercent": "{percent}% used",
106
- "usagePercentResets": "{percent}% · resets {time}",
107
- "usageLimitReached": "Limit reached",
108
- "usageLimitResets": "Limit reached · resets {time}",
109
- "usageNotSeen": "Usage appears after the first request",
110
- "usageObserved": "Updated {time}",
111
- "usageAriaLabel": "{window}: {percent}% used",
112
102
  "member": "member",
113
103
  "members": "members",
114
104
  "actionsFor": "Actions for {label}",
@@ -150,6 +140,9 @@ const catalog = {
150
140
  "providerKeys": "Provider keys",
151
141
  "chooseSharedKeys": "Choose the shared keys this session can use.",
152
142
  "sessionKeyPool": "Session key pool",
143
+ "subscriptionSwitcher": "Subscription",
144
+ "subscriptionSwitcherDefault": "Rotates through every connected subscription",
145
+ "subscriptionSwitcherUse": "Use {label} for this session",
153
146
  "sharedSessionKeys": "This session is shared with the workspace, so only keys shared with the whole workspace work here. Keys granted to you work in your private sessions.",
154
147
  "promptedSessionKeys": "Another member has prompted this session, so it no longer acts for its owner. Only keys shared with the whole workspace work here.",
155
148
  "noPersonSessionKeys": "This session does not act for a person: it started before personal keys existed, or unattended. Only keys shared with the whole workspace work here. Start a new session to use your own keys.",
@@ -169,7 +162,7 @@ const catalog = {
169
162
  "claudeAccounts": "Claude accounts",
170
163
  "noClaudeAccounts": "No Claude accounts yet",
171
164
  "connectClaude": "Sign in with Claude",
172
- "claudeOauthPrivateDescription": "Use your Claude Pro or Max plan for Claude models in this workspace. New accounts are private to you until you share them.",
165
+ "claudeOauthPrivateDescription": "Use your Claude Pro or Max plan for Claude models in this workspace. New accounts are shared with every workspace member. You can make one private.",
173
166
  "claudeOauthCreationDescription": "Sign in with your Claude Pro or Max account. Kortix stores the login encrypted and never shows it.",
174
167
  "claudeDefaultAccountLabel": "Claude · {name}",
175
168
  "claudeAccountConnected": "Claude account connected",
@@ -1780,6 +1773,8 @@ const catalog = {
1780
1773
  "title": "Check your email",
1781
1774
  "description": "We sent a link to <address>{email}</address>. Open it to continue.",
1782
1775
  "confirmDescription": "We sent a confirmation email to <address>{email}</address>. Confirm your email to continue.",
1776
+ "unknownDescription": "We emailed <address>{email}</address> — a sign-in link, or a confirmation link for a new account.",
1777
+ "closedDescription": "If <address>{email}</address> has an account, its sign-in link is on its way.",
1783
1778
  "notReceived": "Didn't receive the link?",
1784
1779
  "confirmNotReceived": "Didn't receive the confirmation email?",
1785
1780
  "resendIn": "Resend in {seconds}",
@@ -2713,7 +2708,7 @@ const catalog = {
2713
2708
  "text0026c5053478": "Revert",
2714
2709
  "text004bad6bfbd7": "Patched the retry to back off",
2715
2710
  "text0059798b7f70": "(optional)",
2716
- "text005b4c1dad87": "Search workspaces, accounts, owners",
2711
+ "text005b4c1dad87": "Search workspaces, accounts, owners or an ID",
2717
2712
  "text005c9bcbce1e": "Creating trigger...",
2718
2713
  "text008e94f6ea7c": "What you own",
2719
2714
  "text009e910ccb18": "enterpriseAccordionTokenBody",
@@ -6197,7 +6192,12 @@ const catalog = {
6197
6192
  "textfd8fee75dbb5": "IdP groups map to roles in this workspace",
6198
6193
  "textadca5dfd1e42": "Bundle members into groups and give the whole group a role: one grant instead of dozens, revoked just as easily.",
6199
6194
  "text16ba47efb9f2": "A complete, filterable trail of every admin and agent action in this workspace: who did what, where, and when.",
6200
- "textfd8b8dae4421": "Danger zone"
6195
+ "textfd8b8dae4421": "Danger zone",
6196
+ "text674900a77b79": "LLM",
6197
+ "text765a8cb04cf5": "LLM Hold Refund",
6198
+ "texta68ee4167406": "Proxy",
6199
+ "texta69c4dece144": "Storage",
6200
+ "textab3aff8f7642": "Top-up Bonus"
6201
6201
  },
6202
6202
  "publicShareConfirm": {
6203
6203
  "title": "Create a public link?",
@@ -6377,6 +6377,10 @@ const catalog = {
6377
6377
  "denied": "Access denied",
6378
6378
  "deniedDescription": "My Kortix gets your answer.",
6379
6379
  "failed": "Could not send your decision. Try again."
6380
+ },
6381
+ "reviewPane": {
6382
+ "emptyTitle": "Select an item",
6383
+ "emptyDescription": "Its details open here. Press J and K to move through the list."
6380
6384
  }
6381
6385
  },
6382
6386
  "commandPalette": {
@@ -9784,48 +9788,37 @@ const catalog = {
9784
9788
  "issue": "Issue #{number}"
9785
9789
  },
9786
9790
  "subscriptionUsage": {
9787
- "fiveHour": "5-hour limit",
9788
- "weekly": "Weekly limit",
9791
+ "fiveHour": "5-hour",
9792
+ "weekly": "Weekly",
9789
9793
  "weeklyModel": "Weekly · {model}",
9790
- "reconnect": "Reconnect",
9791
- "disabledTitle": "Subscription usage is unavailable",
9792
- "disabledDescription": "Subscription connections are not enabled for this workspace.",
9793
- "text0": "Reconnect needed",
9794
- "text1": "Inactive",
9795
- "text2": "Refresh failed",
9796
- "text3": "Awaiting usage",
9797
- "text4": "Limit reached",
9798
- "text5": "Last known usage",
9799
- "text6": "Usage reported",
9800
- "text7": "Subscription",
9801
- "text8": "used",
9802
- "text9": "Reset time passed · refresh for current usage",
9803
- "text10": "Reset time not reported",
9804
- "text11": "Checking provider usage…",
9805
- "text12": "No usage reported yet. Refresh after using this subscription.",
9806
- "text13": "Could not update. Showing last known data.",
9807
- "text14": "Waiting for provider data",
9808
- "text15": "Checking…",
9809
- "text16": "Refresh",
9810
- "text17": "Subscription usage",
9811
- "text18": "Track the limits of your connected ChatGPT and Claude subscriptions.",
9812
- "text19": "Usage could not load",
9813
- "text20": "Try loading your connected subscriptions again.",
9814
- "text21": "Retry",
9815
- "text22": "No connected subscriptions",
9816
- "text23": "Connect ChatGPT or Claude in Providers to see reported usage and reset times.",
9817
- "text24": "Connect a subscription",
9818
- "text25": "Usage is shared across apps that use the same subscription. Checks automatically every minute while this tab is open.",
9819
- "text26": "Limits vary by plan. Only windows reported by your connection appear here; missing data does not mean unlimited usage. File limits are not reported. API spend appears in Costs.",
9820
- "resets": "Resets {time}",
9794
+ "inactive": "Inactive",
9795
+ "limitReached": "Limit reached",
9796
+ "checking": "Checking provider usage…",
9797
+ "title": "Subscription usage",
9821
9798
  "observed": "Observed {time}",
9822
9799
  "meterLabel": "{label}: {percent}% used",
9823
- "refreshLabel": "Refresh {label} usage",
9824
- "fiveHourNotReported": "Five-hour window not reported by this connection.",
9825
- "fableIncluded": "Fable usage also counts toward your overall weekly allowance.",
9826
- "chatgptUsage": "ChatGPT subscription usage",
9827
- "claudeUsage": "Claude subscription usage",
9828
- "allSubscriptions": "All subscriptions"
9800
+ "extraUsage": "Extra usage",
9801
+ "apps": "Apps",
9802
+ "codeReview": "Code review",
9803
+ "percent": "{percent}%",
9804
+ "percentResets": "{percent}% · resets {time}",
9805
+ "percentBack": "{percent}% · back {time}",
9806
+ "resetPassed": "Reset · updating",
9807
+ "notStarted": "Not started",
9808
+ "reconnectToSee": "Reconnect to see usage",
9809
+ "availableNow": "Available now",
9810
+ "availableCount": "{available} of {total, plural, one {# account} other {# accounts}}",
9811
+ "nextBack": "Next back",
9812
+ "rowPeak": "{window} · {percent}% used",
9813
+ "rowSomeLimited": "{limited} of {total} at limit",
9814
+ "rowAllLimited": "At limit",
9815
+ "rowAllLimitedBack": "At limit · back {time}",
9816
+ "noUsageYet": "No usage reported yet.",
9817
+ "refreshFailed": "Could not refresh · showing last known usage.",
9818
+ "loadFailed": "Usage could not load.",
9819
+ "rowSomeLimitedBack": "{limited} of {total} at limit · next back {time}",
9820
+ "weeklyAll": "Weekly · all models",
9821
+ "notReported": "Not reported"
9829
9822
  },
9830
9823
  "gatewayRouting": {
9831
9824
  "exceptions": "Exceptions",
@@ -49,6 +49,8 @@ export const APP_REGISTRY_TRANSLATION_KEYS = {
49
49
  'How this works': 'textbdbd7706de64',
50
50
  'IdP groups map to roles on your workspaces': 'textb978cac03a79',
51
51
  'Kortix prepares a machine the first time you start a session here. Nothing needs to be set up in advance.': 'text5c48b158361a',
52
+ LLM: 'text674900a77b79',
53
+ 'LLM Hold Refund': 'text765a8cb04cf5',
52
54
  'LLM Overage': 'text3f6365f81e08',
53
55
  'Machine Bonus': 'text917ffd97c41a',
54
56
  Members: 'text1044a4c056d0',
@@ -65,6 +67,7 @@ export const APP_REGISTRY_TRANSLATION_KEYS = {
65
67
  Workspace: 'text985959785319',
66
68
  Workspaces: 'text04e2a9728af7',
67
69
  Promotional: 'texta9b8859fba62',
70
+ Proxy: 'texta68ee4167406',
68
71
  Purchase: 'text5b5e9c65b400',
69
72
  'Reflects on recent activity and curates .kortix/memory, opening a memory CR each run.': 'textb762cc8a7284',
70
73
  Refund: 'text6b37bd35081f',
@@ -86,11 +89,13 @@ export const APP_REGISTRY_TRANSLATION_KEYS = {
86
89
  Skills: 'text66d0f523a379',
87
90
  'Spend & gateway': 'text9e0bb75942fd',
88
91
  'Stream events out via audit webhooks': 'textc12b32f6ae34',
92
+ Storage: 'texta69c4dece144',
89
93
  Su: 'text2d88a3a2842e',
90
94
  'Sync membership automatically from your identity provider': 'texte164235035e6',
91
95
  Th: 'text3bff939c10f4',
92
96
  'This workspace’s environment is ready': 'text108fd36702c5',
93
97
  'Tier Grant': 'text16a2a5617354',
98
+ 'Top-up Bonus': 'textab3aff8f7642',
94
99
  Tokens: 'texta039dfb9628b',
95
100
  Triggers: 'texte62f2148a64d',
96
101
  Tu: 'text62afcc74654d',
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- // @kortix/ui root barrel: light core primitives only (Radix, cva, motion).
1
+ // @kortix/ui root barrel: light core primitives only (Base UI, cva, motion).
2
2
  // Heavy or app-shaped modules are reachable only through their own subpath,
3
3
  // never from here: charts ('@kortix/ui/chart'), maps ('@kortix/ui/map'), grids
4
4
  // ('@kortix/ui/data-grid'), mermaid, emoji data ('@kortix/ui/emoji-picker'),
@@ -113,8 +113,8 @@ export const HubLink = forwardRef(function HubLink({ to, onClick, onPointerEnter
113
113
  return;
114
114
  event.preventDefault();
115
115
  // One frame later, not now. Many of these rows live inside a menu or
116
- // another modal, and Radix restores focus to the trigger as that layer
117
- // unmounts. Opening a focus-trapping dialog in the same tick lets that
116
+ // another modal, and a closing layer restores focus to its trigger as
117
+ // it unmounts. Opening a focus-trapping dialog in the same tick lets that
118
118
  // restore land last and pull focus back OUT of the hub. A frame is
119
119
  // imperceptible and puts the two in the right order.
120
120
  requestAnimationFrame(() => openAccountPanel(to));