@jini-ai/ui 0.7.3-next.2 → 0.7.4

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 (285) hide show
  1. package/CHANGELOG.md +7 -0
  2. package/README.md +3 -3
  3. package/dist/browser/index.d.ts +2 -0
  4. package/dist/browser/index.js +2 -0
  5. package/dist/browser/mount-renderer.d.ts +33 -0
  6. package/dist/browser/mount-renderer.js +14 -0
  7. package/dist/browser/useDismissibleDropdown.d.ts +50 -0
  8. package/dist/browser/useDismissibleDropdown.js +49 -0
  9. package/dist/core.d.ts +4 -4
  10. package/dist/core.js +4 -1
  11. package/dist/features/admin-widgets/components/InfoTip.js +5 -5
  12. package/dist/features/admin-widgets/components/InfoTip.rules.d.ts +1 -1
  13. package/dist/features/admin-widgets/components/InfoTip.rules.js +1 -1
  14. package/dist/features/admin-widgets/components/SeeMore/SeeMore.js +3 -3
  15. package/dist/features/admin-widgets/components/Select/Select.js +7 -7
  16. package/dist/features/app-shell/SiteToast.d.ts +24 -0
  17. package/dist/features/app-shell/SiteToast.js +9 -0
  18. package/dist/features/app-shell/copyable-details.d.ts +12 -0
  19. package/dist/features/app-shell/copyable-details.js +17 -0
  20. package/dist/features/app-shell/expanded-mode.d.ts +76 -0
  21. package/dist/features/app-shell/expanded-mode.js +70 -0
  22. package/dist/features/app-shell/index.d.ts +8 -0
  23. package/dist/features/app-shell/index.js +8 -0
  24. package/dist/features/app-shell/use-delete-confirmation.hooks.d.ts +48 -0
  25. package/dist/features/app-shell/use-delete-confirmation.hooks.js +57 -0
  26. package/dist/features/app-shell/use-expanded-mode.hooks.d.ts +19 -0
  27. package/dist/features/app-shell/use-expanded-mode.hooks.js +39 -0
  28. package/dist/features/app-shell/use-site-toast.hooks.d.ts +56 -0
  29. package/dist/features/app-shell/use-site-toast.hooks.js +44 -0
  30. package/dist/features/app-shell/use-theme-preference.hooks.d.ts +30 -0
  31. package/dist/features/app-shell/use-theme-preference.hooks.js +42 -0
  32. package/dist/features/app-version/use-app-version.d.ts +53 -0
  33. package/dist/features/app-version/use-app-version.js +42 -0
  34. package/dist/features/asset-grid/react/components/AssetGrid.d.ts +1 -1
  35. package/dist/features/asset-grid/react/components/AssetGrid.js +1 -1
  36. package/dist/features/asset-grid/react/components/DeleteConfirmDialog.d.ts +1 -1
  37. package/dist/features/asset-grid/react/components/DeleteConfirmDialog.js +1 -1
  38. package/dist/features/asset-tree-browser/react/components/AssetTreeBrowser.d.ts +2 -2
  39. package/dist/features/asset-tree-browser/react/components/AssetTreeBrowser.js +1 -1
  40. package/dist/features/asset-tree-browser/react/components/FilePreviewPane.d.ts +1 -1
  41. package/dist/features/browser-chrome/react/components/BrowserViewportControls.d.ts +1 -1
  42. package/dist/features/browser-chrome/react/components/BrowserViewportControls.js +1 -1
  43. package/dist/features/charts/catalog-manifests.js +5 -1
  44. package/dist/features/charts/table.js +4 -4
  45. package/dist/features/command-palette/index.d.ts +1 -0
  46. package/dist/features/command-palette/index.js +1 -0
  47. package/dist/features/command-palette/react/components/CommandPalette.d.ts +9 -9
  48. package/dist/features/command-palette/react/components/CommandPalette.hooks.js +28 -1
  49. package/dist/features/command-palette/react/components/CommandPalette.js +3 -5
  50. package/dist/features/connectors/ConnectorsBrowser.d.ts +1 -1
  51. package/dist/features/connectors/ConnectorsBrowser.js +2 -2
  52. package/dist/features/connectors/components/ConnectorCard.hooks.js +2 -2
  53. package/dist/features/connectors/components/ConnectorCard.js +4 -4
  54. package/dist/features/connectors/components/ConnectorDetailDrawer.d.ts +1 -1
  55. package/dist/features/connectors/components/ConnectorDetailDrawer.js +7 -7
  56. package/dist/features/connectors/components/ConnectorGrid.js +1 -1
  57. package/dist/features/connectors/components/ConnectorLogo.js +1 -1
  58. package/dist/features/connectors/components/ConnectorSearchBar.js +1 -1
  59. package/dist/features/connectors/components/ProviderTabBar.js +1 -1
  60. package/dist/features/execution/claude/env-fields.d.ts +1 -1
  61. package/dist/features/execution/codex/env-fields.d.ts +1 -1
  62. package/dist/features/execution/constants.d.ts +2 -2
  63. package/dist/features/execution/constants.js +1 -1
  64. package/dist/features/execution/dependencies.d.ts +2 -3
  65. package/dist/features/execution/http-adapter.d.ts +2 -3
  66. package/dist/features/execution/index.d.ts +0 -2
  67. package/dist/features/execution/react/components/AgentCliEnvFields.d.ts +1 -1
  68. package/dist/features/execution/react/components/AgentDiagnosticRow.d.ts +1 -1
  69. package/dist/features/execution/react/components/AgentDiagnosticRow.js +3 -1
  70. package/dist/features/execution/react/components/ByokProviderForm.d.ts +10 -2
  71. package/dist/features/execution/react/components/ByokProviderForm.hooks.d.ts +2 -2
  72. package/dist/features/execution/react/components/ByokProviderForm.js +15 -4
  73. package/dist/features/execution/react/components/ExecutionTab.d.ts +2 -3
  74. package/dist/features/execution/react/components/ExecutionTab.hooks.d.ts +14 -4
  75. package/dist/features/execution/react/components/ExecutionTab.hooks.js +66 -9
  76. package/dist/features/execution/react/components/ExecutionTab.js +27 -10
  77. package/dist/features/execution/react/components/LocalCliAgentCard.d.ts +4 -4
  78. package/dist/features/execution/react/components/LocalCliAgentList.d.ts +4 -4
  79. package/dist/features/execution/react/components/LocalCliAgentList.hooks.d.ts +3 -3
  80. package/dist/features/execution/react/components/LocalCliAgentSettings.d.ts +2 -2
  81. package/dist/features/execution/react/components/ProviderChipGroup.d.ts +1 -1
  82. package/dist/features/execution/react/components/SearchableModelSelect.d.ts +1 -1
  83. package/dist/features/execution/react/hooks/use-byok-field-validation.hooks.d.ts +2 -2
  84. package/dist/features/execution/react/hooks/use-execution-credential.hooks.d.ts +1 -1
  85. package/dist/features/execution/react/hooks/useExecutionTab.d.ts +2 -3
  86. package/dist/features/execution/react/hooks/useLocalCliAgentCard.d.ts +4 -4
  87. package/dist/features/execution/react/hooks/useLocalCliAgentList.d.ts +4 -4
  88. package/dist/features/execution/react/hooks/useReasoningControl.d.ts +3 -3
  89. package/dist/features/execution/rules.d.ts +6 -6
  90. package/dist/features/execution/rules.js +1 -1
  91. package/dist/features/external-mcp/react/components/ExternalMcpTab.js +4 -4
  92. package/dist/features/file-dropzone/react/components/FileDropzone.d.ts +1 -1
  93. package/dist/features/file-dropzone/react/components/FileDropzone.js +1 -1
  94. package/dist/features/find/find-bar-state.d.ts +58 -0
  95. package/dist/features/find/find-bar-state.js +45 -0
  96. package/dist/features/find/find-focus-clock.d.ts +19 -0
  97. package/dist/features/find/find-focus-clock.js +9 -0
  98. package/dist/features/find/find-input-focus.d.ts +88 -0
  99. package/dist/features/find/find-input-focus.js +88 -0
  100. package/dist/features/find/find-target.d.ts +141 -0
  101. package/dist/features/find/find-target.js +160 -0
  102. package/dist/features/find/index.d.ts +10 -0
  103. package/dist/features/find/index.js +10 -0
  104. package/dist/features/find/use-find-bar-effects.hooks.d.ts +14 -0
  105. package/dist/features/find/use-find-bar-effects.hooks.js +92 -0
  106. package/dist/features/find/use-find-bar-state.hooks.d.ts +43 -0
  107. package/dist/features/find/use-find-bar-state.hooks.js +49 -0
  108. package/dist/features/find/use-find-focus-reclaim.hooks.d.ts +21 -0
  109. package/dist/features/find/use-find-focus-reclaim.hooks.js +64 -0
  110. package/dist/features/find/use-find-input-binding.hooks.d.ts +18 -0
  111. package/dist/features/find/use-find-input-binding.hooks.js +76 -0
  112. package/dist/features/find-bar/FindBar.d.ts +41 -0
  113. package/dist/features/find-bar/FindBar.js +31 -0
  114. package/dist/features/find-bar/index.d.ts +2 -0
  115. package/dist/features/find-bar/index.js +2 -0
  116. package/dist/features/folder-path-drop/index.d.ts +3 -1
  117. package/dist/features/folder-path-drop/index.js +1 -0
  118. package/dist/features/folder-path-drop/react/hooks/useClassifiedPathDrop.d.ts +50 -0
  119. package/dist/features/folder-path-drop/react/hooks/useClassifiedPathDrop.js +50 -0
  120. package/dist/features/folder-path-drop/types.d.ts +14 -0
  121. package/dist/features/i18n/context.d.ts +1 -1
  122. package/dist/features/i18n/context.js +1 -1
  123. package/dist/features/iframe-pool/react/dom-sync.d.ts +13 -3
  124. package/dist/features/iframe-pool/react/dom-sync.js +7 -7
  125. package/dist/features/import-handoff/use-import-handoff.d.ts +38 -0
  126. package/dist/features/import-handoff/use-import-handoff.js +40 -0
  127. package/dist/features/integrations/rules.js +39 -41
  128. package/dist/features/interactive-ui/interactive-ui.css +1 -1
  129. package/dist/features/interactive-ui/providers/native/data-table.js +1 -1
  130. package/dist/features/interactive-ui/providers/shadcn/checkbox-field.js +1 -1
  131. package/dist/features/interactive-ui/providers/shadcn/data-table.js +3 -3
  132. package/dist/features/interactive-ui/providers/shadcn/radio-group-field.js +1 -1
  133. package/dist/features/live-views/index.d.ts +6 -0
  134. package/dist/features/live-views/index.js +6 -0
  135. package/dist/features/live-views/use-live-views.d.ts +31 -0
  136. package/dist/features/live-views/use-live-views.js +88 -0
  137. package/dist/features/live-views/use-site-view-preference.d.ts +33 -0
  138. package/dist/features/live-views/use-site-view-preference.js +32 -0
  139. package/dist/features/live-views/use-webview-load-failure.d.ts +90 -0
  140. package/dist/features/live-views/use-webview-load-failure.js +122 -0
  141. package/dist/features/mcp-ui/credential-card.d.ts +1 -0
  142. package/dist/features/mcp-ui/credential-card.js +1 -1
  143. package/dist/features/mcp-ui/surfaces/fields.js +1 -2
  144. package/dist/features/mcp-ui/surfaces/tool-approval.d.ts +10 -0
  145. package/dist/features/mcp-ui/surfaces/tool-approval.js +15 -0
  146. package/dist/features/media-providers/dependencies.d.ts +7 -1
  147. package/dist/features/media-providers/dependencies.js +43 -0
  148. package/dist/features/media-providers/index.d.ts +2 -2
  149. package/dist/features/media-providers/index.js +1 -1
  150. package/dist/features/media-providers/ports.d.ts +39 -5
  151. package/dist/features/media-providers/react/components/MediaProvidersTab.d.ts +4 -3
  152. package/dist/features/media-providers/react/components/MediaProvidersTab.js +1 -1
  153. package/dist/features/media-providers/react/hooks/useMediaProvidersTab.d.ts +3 -2
  154. package/dist/features/media-providers/react/hooks/useMediaProvidersTab.js +41 -3
  155. package/dist/features/memory/react/components/MemoryConnectedPanel.js +2 -2
  156. package/dist/features/memory/react/components/MemoryEntryCard.js +1 -1
  157. package/dist/features/memory/react/components/MemoryHooksPanel.js +2 -2
  158. package/dist/features/memory/react/components/MemoryList.js +2 -2
  159. package/dist/features/memory/react/components/MemorySettingsPanel.js +2 -2
  160. package/dist/features/memory/react/components/MemorySuggestionPanel.js +1 -1
  161. package/dist/features/memory/react/hooks/useMemoryConnectors.hooks.js +3 -3
  162. package/dist/features/memory/react/hooks/useMemoryConnectors.rules.d.ts +4 -1
  163. package/dist/features/memory/react/hooks/useMemoryConnectors.rules.js +1 -1
  164. package/dist/features/memory/react/render-markdown.js +1 -1
  165. package/dist/features/nav-availability/nav-availability.d.ts +18 -0
  166. package/dist/features/nav-availability/nav-availability.js +12 -0
  167. package/dist/features/number-stepper/NumberStepper.d.ts +39 -0
  168. package/dist/features/number-stepper/NumberStepper.js +16 -0
  169. package/dist/features/number-stepper/index.d.ts +5 -0
  170. package/dist/features/number-stepper/index.js +5 -0
  171. package/dist/features/number-stepper/number-stepper.d.ts +34 -0
  172. package/dist/features/number-stepper/number-stepper.js +32 -0
  173. package/dist/features/number-stepper/use-number-stepper.hooks.d.ts +20 -0
  174. package/dist/features/number-stepper/use-number-stepper.hooks.js +29 -0
  175. package/dist/features/number-stepper/use-optimistic-number-setting.hooks.d.ts +36 -0
  176. package/dist/features/number-stepper/use-optimistic-number-setting.hooks.js +25 -0
  177. package/dist/features/panel-kit/ErrorNotice.js +8 -1
  178. package/dist/features/panel-kit/helpers/standing-draft-local-backup.d.ts +1 -1
  179. package/dist/features/panel-kit/helpers/standing-draft-recovery-message.d.ts +1 -1
  180. package/dist/features/panel-kit/hooks/use-standing-draft-autosave.hooks.d.ts +1 -37
  181. package/dist/features/panel-kit/hooks/use-standing-draft-recovery.hooks.d.ts +2 -1
  182. package/dist/features/panel-kit/hooks/use-standing-draft-state.hooks.d.ts +2 -1
  183. package/dist/features/panel-kit/hooks/use-standing-draft-writes.hooks.d.ts +2 -1
  184. package/dist/features/panel-kit/index.d.ts +2 -1
  185. package/dist/features/privacy/react/components/PrivacyTab.d.ts +1 -1
  186. package/dist/features/privacy/react/components/PrivacyTab.js +1 -1
  187. package/dist/features/progress-card/components/ProgressCard.d.ts +1 -1
  188. package/dist/features/progress-card/components/ProgressCard.js +1 -1
  189. package/dist/features/resource-dashboard/react/components/ResourceBoard.d.ts +1 -1
  190. package/dist/features/resource-dashboard/react/components/ResourceBoardToolbar.d.ts +1 -1
  191. package/dist/features/resource-dashboard/react/components/ResourceBoardToolbar.js +1 -1
  192. package/dist/features/resource-dashboard/react/components/ResourceCardParts.d.ts +1 -1
  193. package/dist/features/resource-dashboard/react/components/ResourceCardParts.js +7 -2
  194. package/dist/features/resource-dashboard/react/components/ResourceRowListView.d.ts +1 -1
  195. package/dist/features/resource-dashboard/react/components/ResourceRowListView.js +1 -1
  196. package/dist/features/resource-dashboard/react/components/ResourceRunHistoryList.d.ts +1 -1
  197. package/dist/features/resource-dashboard/react/components/ResourceRunHistoryList.js +1 -1
  198. package/dist/features/resource-dashboard/react/components/StatusPill.d.ts +1 -1
  199. package/dist/features/resource-dashboard/react/components/StatusPill.js +1 -1
  200. package/dist/features/resource-dashboard/react/hooks/useResourceBoard.js +6 -1
  201. package/dist/features/resource-monitor/ResourceTable.d.ts +67 -0
  202. package/dist/features/resource-monitor/ResourceTable.js +25 -0
  203. package/dist/features/resource-monitor/index.d.ts +4 -0
  204. package/dist/features/resource-monitor/index.js +4 -0
  205. package/dist/features/resource-monitor/resource-stop.d.ts +16 -0
  206. package/dist/features/resource-monitor/resource-stop.js +11 -0
  207. package/dist/features/resource-monitor/use-resource-readings.hooks.d.ts +44 -0
  208. package/dist/features/resource-monitor/use-resource-readings.hooks.js +91 -0
  209. package/dist/features/settings/dialog/styles/settings-dialog.css +251 -251
  210. package/dist/features/site-card/index.d.ts +4 -1
  211. package/dist/features/site-card/index.js +3 -0
  212. package/dist/features/site-card/use-created-site-return.hooks.d.ts +36 -0
  213. package/dist/features/site-card/use-created-site-return.hooks.js +43 -0
  214. package/dist/features/site-card/use-site-card-preview.hooks.d.ts +39 -0
  215. package/dist/features/site-card/use-site-card-preview.hooks.js +31 -0
  216. package/dist/features/site-card/use-site-list-prefs.hooks.d.ts +29 -8
  217. package/dist/features/site-card/use-site-list-prefs.hooks.js +56 -9
  218. package/dist/features/site-card/use-site-preview.hooks.d.ts +67 -0
  219. package/dist/features/site-card/use-site-preview.hooks.js +94 -0
  220. package/dist/features/sketch-editor/react/components/SketchEditor.d.ts +2 -2
  221. package/dist/features/sketch-editor/react/components/SketchEditor.js +1 -1
  222. package/dist/features/skills/react/components/SkillRow.js +1 -1
  223. package/dist/features/source-config-list/react/components/SourceConfigAddForm.js +2 -2
  224. package/dist/features/source-config-list/react/components/SourceConfigField.js +1 -1
  225. package/dist/features/source-config-list/react/components/SourceConfigItemCard.js +5 -5
  226. package/dist/features/source-config-list/react/components/SourceConfigList.d.ts +1 -1
  227. package/dist/features/source-config-list/react/components/SourceConfigList.js +1 -1
  228. package/dist/features/source-config-list/react/components/SourceConfigListView.js +3 -3
  229. package/dist/features/source-config-list/react/components/SourceConfigTestControl.d.ts +1 -1
  230. package/dist/features/source-config-list/react/components/SourceConfigTestControl.js +1 -1
  231. package/dist/features/tab-launcher-menu/react/components/TabLauncherMenu.d.ts +1 -1
  232. package/dist/features/tab-launcher-menu/react/components/TabLauncherMenu.js +1 -1
  233. package/dist/features/tab-strip/react/components/TabBar.js +2 -2
  234. package/dist/features/tab-strip/react/components/TabStrip.d.ts +1 -1
  235. package/dist/features/tab-strip/react/components/TabStrip.js +1 -1
  236. package/dist/features/tab-strip/scrollable.js +0 -2
  237. package/dist/features/tabbed-dialog/react/components/TabbedDialog.d.ts +1 -1
  238. package/dist/features/tabbed-dialog/react/components/TabbedDialog.js +1 -1
  239. package/dist/features/version-manager/react/components/VersionManagerModal.d.ts +1 -1
  240. package/dist/features/version-manager/react/components/VersionManagerModal.js +1 -1
  241. package/dist/features/viewer-shell/react/components/CommentSidePanel.d.ts +2 -2
  242. package/dist/features/viewer-shell/react/components/CommentSidePanel.js +1 -1
  243. package/dist/features/viewer-shell/react/components/MarkdownSplitPane.d.ts +1 -1
  244. package/dist/features/viewer-shell/react/components/MarkdownSplitPane.js +1 -1
  245. package/dist/features/viewer-shell/react/components/SegmentedToggle.d.ts +1 -1
  246. package/dist/features/viewer-shell/react/components/SegmentedToggle.js +1 -1
  247. package/dist/features/viewer-shell/react/components/ViewportSwitcher.d.ts +1 -1
  248. package/dist/features/viewer-shell/react/components/ViewportSwitcher.js +1 -1
  249. package/dist/features/viewer-shell/react/components/ViewportToggleGroup.d.ts +1 -1
  250. package/dist/features/viewer-shell/react/components/ViewportToggleGroup.js +1 -1
  251. package/dist/features/zoom/use-zoom.d.ts +141 -0
  252. package/dist/features/zoom/use-zoom.js +204 -0
  253. package/dist/index.d.ts +1 -0
  254. package/dist/index.js +1 -0
  255. package/dist/react/components/ComponentKitPreview.d.ts +1 -1
  256. package/dist/react/components/ComponentKitPreview.js +1 -1
  257. package/dist/react/components/CustomSelect.js +1 -1
  258. package/dist/react/components/ExportDiagnosticsButton.d.ts +6 -2
  259. package/dist/react/components/ExportDiagnosticsButton.js +3 -3
  260. package/dist/react/components/FileImportPanel.js +1 -1
  261. package/dist/react/components/Icon.js +1 -1
  262. package/dist/react/components/IconFrame.d.ts +15 -0
  263. package/dist/react/components/IconFrame.js +11 -0
  264. package/dist/react/components/ImportChoice.js +1 -1
  265. package/dist/react/components/Notice.js +1 -1
  266. package/dist/react/components/OnboardingDropdown.js +1 -1
  267. package/dist/react/components/PaletteTweaks.js +1 -1
  268. package/dist/react/components/TooltipLayer.d.ts +13 -3
  269. package/dist/react/components/TooltipLayer.js +12 -12
  270. package/dist/react/mcp-ui/host-message-source.d.ts +3 -1
  271. package/dist/react/mcp-ui/host-message-source.js +1 -1
  272. package/dist/react/testing.js +3 -1
  273. package/dist/renderers/annotation-canvas/rules.js +30 -27
  274. package/dist/renderers/react/components/ArtifactView.js +1 -1
  275. package/dist/renderers/renderers/markdown.d.ts +3 -1
  276. package/dist/renderers/renderers/markdown.js +2 -2
  277. package/dist/styles/admin.css +54 -54
  278. package/dist/utils/zip.js +43 -36
  279. package/package.json +66 -9
  280. package/dist/features/execution/ports.d.ts +0 -71
  281. package/dist/features/execution/ports.js +0 -2
  282. package/dist/features/execution/types.d.ts +0 -472
  283. package/dist/features/execution/types.js +0 -2
  284. package/dist/react/components/CustomSelectMarkup.d.ts +0 -27
  285. package/dist/react/components/CustomSelectMarkup.js +0 -35
@@ -85,7 +85,7 @@
85
85
  }
86
86
 
87
87
 
88
- .select-trigger {
88
+ .jini-ui-select-trigger {
89
89
  width: 100%; box-sizing: border-box;
90
90
  display: inline-flex; align-items: center; justify-content: space-between; gap: var(--jini-space-2);
91
91
  background: var(--jini-bg-elevated); color: var(--jini-text);
@@ -96,59 +96,59 @@
96
96
  cursor: pointer; text-align: left;
97
97
  transition: border-color 0.14s, box-shadow 0.14s;
98
98
  }
99
- .select-trigger:hover { opacity: 1; }
100
- .select-trigger:focus-visible, .select-trigger[aria-expanded="true"] {
99
+ .jini-ui-select-trigger:hover { opacity: 1; }
100
+ .jini-ui-select-trigger:focus-visible, .jini-ui-select-trigger[aria-expanded="true"] {
101
101
  outline: none; border-color: var(--jini-accent); box-shadow: 0 0 0 3px var(--jini-accent-ring);
102
102
  }
103
- .select-trigger:disabled { cursor: default; border-color: var(--jini-border-strong); background: var(--jini-bg-subtle); color: var(--jini-text-disabled); }
104
- .select-trigger-label { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
105
- .select-trigger-label.is-placeholder { color: var(--jini-text-disabled); }
103
+ .jini-ui-select-trigger:disabled { cursor: default; border-color: var(--jini-border-strong); background: var(--jini-bg-subtle); color: var(--jini-text-disabled); }
104
+ .jini-ui-select-trigger-label { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
105
+ .jini-ui-select-trigger-label.is-placeholder { color: var(--jini-text-disabled); }
106
106
 
107
- .select-trigger-chevron {
107
+ .jini-ui-select-trigger-chevron {
108
108
  width: 14px; height: 14px; flex-shrink: 0;
109
109
  background: currentColor;
110
110
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M3.5 5.5 7 9l3.5-3.5' fill='none' stroke='currentColor' stroke-width='1.5'/%3E%3C/svg%3E") center / 14px no-repeat;
111
111
  background-repeat: no-repeat; background-position: center; background-size: 14px;
112
112
  }
113
113
 
114
- .select-panel {
114
+ .jini-ui-select-panel {
115
115
  position: fixed; z-index: 50;
116
116
  display: flex; flex-direction: column;
117
117
  background: var(--jini-bg-elevated); border: 1px solid var(--jini-border-strong); border-radius: var(--jini-radius);
118
118
  box-shadow: var(--jini-shadow-md); overflow: hidden;
119
119
  }
120
- .select-panel:focus { outline: none; }
121
- .select-search {
120
+ .jini-ui-select-panel:focus { outline: none; }
121
+ .jini-ui-select-search {
122
122
  margin: var(--jini-space-2); width: auto;
123
123
  }
124
- .select-list {
124
+ .jini-ui-select-list {
125
125
  list-style: none; margin: 0; padding: var(--jini-space-1) 0;
126
126
  flex: 1 1 auto; min-height: 0; overflow-y: auto;
127
127
  }
128
- .select-empty {
128
+ .jini-ui-select-empty {
129
129
  padding: var(--jini-space-3); font-size: var(--jini-font-size-sm); color: var(--jini-text-muted); text-align: center;
130
130
  }
131
- .select-option {
131
+ .jini-ui-select-option {
132
132
  display: flex; align-items: center; justify-content: space-between; gap: var(--jini-space-2);
133
133
  padding: 0.5rem 0.75rem; font-size: var(--jini-font-size-sm); color: var(--jini-text); cursor: pointer;
134
134
  }
135
- .select-option:hover, .select-option.is-highlighted { background: var(--jini-bg-subtle); }
135
+ .jini-ui-select-option:hover, .jini-ui-select-option.is-highlighted { background: var(--jini-bg-subtle); }
136
136
 
137
- .select-option.is-selected {
137
+ .jini-ui-select-option.is-selected {
138
138
  background: color-mix(in oklab, var(--jini-accent) 14%, var(--jini-bg-elevated));
139
139
  color: var(--jini-accent);
140
140
  font-weight: 600;
141
141
  }
142
- .select-option.is-selected.is-highlighted {
142
+ .jini-ui-select-option.is-selected.is-highlighted {
143
143
  background: color-mix(in oklab, var(--jini-accent) 22%, var(--jini-bg-elevated));
144
144
  }
145
- .select-option-check { flex-shrink: 0; width: 16px; height: 16px; color: var(--jini-accent); }
145
+ .jini-ui-select-option-check { flex-shrink: 0; width: 16px; height: 16px; color: var(--jini-accent); }
146
146
 
147
- .see-more {
147
+ .jini-ui-see-more {
148
148
  display: block;
149
149
  }
150
150
 
151
- .see-more .see-more-text {
151
+ .jini-ui-see-more .jini-ui-see-more-text {
152
152
  display: -webkit-box;
153
153
  -webkit-box-orient: vertical;
154
154
  -webkit-line-clamp: var(--see-more-lines, 2);
@@ -158,13 +158,13 @@
158
158
  text-overflow: clip;
159
159
  }
160
160
 
161
- .see-more .see-more-text.is-expanded {
161
+ .jini-ui-see-more .jini-ui-see-more-text.is-expanded {
162
162
  display: block;
163
163
  -webkit-line-clamp: unset;
164
164
  overflow: visible;
165
165
  }
166
166
 
167
- .see-more .see-more-toggle {
167
+ .jini-ui-see-more .jini-ui-see-more-toggle {
168
168
  display: inline-block;
169
169
  margin-top: 0.15rem;
170
170
  padding: 0;
@@ -181,27 +181,27 @@
181
181
  cursor: pointer;
182
182
  }
183
183
 
184
- .see-more .see-more-toggle:hover {
184
+ .jini-ui-see-more .jini-ui-see-more-toggle:hover {
185
185
  opacity: 1;
186
186
  text-decoration: underline;
187
187
  text-underline-offset: 2px;
188
188
  }
189
189
 
190
- .info-tip { position: relative; display: inline-flex; margin-left: 0.35rem; vertical-align: middle; }
190
+ .jini-ui-info-tip { position: relative; display: inline-flex; margin-left: 0.35rem; vertical-align: middle; }
191
191
  /* In a wrapping label row, inline help takes a full row and pushes fields down safely. */
192
- .info-tip.info-tip--inline { display: contents; }
193
- .info-tip-inline-copy {
192
+ .jini-ui-info-tip.jini-ui-info-tip--inline { display: contents; }
193
+ .jini-ui-info-tip-inline-copy {
194
194
  flex-basis: 100%; font-size: var(--jini-font-size-xs, 12px); font-weight: 400;
195
195
  line-height: 1.5; color: var(--jini-text-muted); overflow-wrap: anywhere;
196
196
  }
197
- .info-tip-icon {
197
+ .jini-ui-info-tip-icon {
198
198
  display: inline-flex; align-items: center; justify-content: center;
199
199
  width: 1.1rem; height: 1.1rem; border-radius: 50%; color: var(--jini-text-disabled);
200
200
  font-size: 0.95rem; line-height: 1; cursor: pointer;
201
201
  }
202
- .info-tip:hover .info-tip-icon, .info-tip:focus-within .info-tip-icon { color: var(--jini-accent); }
203
- .info-tip-icon:focus-visible { outline: 2px solid var(--jini-accent); outline-offset: 2px; border-radius: 50%; }
204
- .info-tip-bubble {
202
+ .jini-ui-info-tip:hover .jini-ui-info-tip-icon, .jini-ui-info-tip:focus-within .jini-ui-info-tip-icon { color: var(--jini-accent); }
203
+ .jini-ui-info-tip-icon:focus-visible { outline: 2px solid var(--jini-accent); outline-offset: 2px; border-radius: 50%; }
204
+ .jini-ui-info-tip-bubble {
205
205
  position: fixed; transform: translate(-50%, calc(-100% - 8px));
206
206
  width: max-content; max-width: min(18rem, calc(100vw - 16px)); padding: 0.55rem 0.75rem; border-radius: var(--jini-radius-sm);
207
207
  background: var(--jini-bg-panel); color: var(--jini-text); font-size: 0.78rem; font-weight: 400;
@@ -209,19 +209,19 @@
209
209
  box-shadow: 0 4px 16px var(--jini-backdrop); border: 1px solid var(--jini-border);
210
210
  pointer-events: none; z-index: 1000;
211
211
  }
212
- .info-tip-bubble::after {
212
+ .jini-ui-info-tip-bubble::after {
213
213
  content: ""; position: absolute; top: 100%; left: var(--info-tip-arrow-left, 50%); transform: translateX(-50%);
214
214
  border: 5px solid transparent; border-top-color: var(--jini-bg-panel);
215
215
  }
216
216
 
217
217
  /* "• " lines (`infoTipLines`): each bullet's wrapped text hangs past its dot. */
218
- .info-tip-line { display: block; }
219
- .info-tip-bullet { display: flex; gap: 0.4em; }
220
- .info-tip-bullet + .info-tip-bullet { margin-top: 0.3em; }
221
- .info-tip-bullet > span:first-child { flex: none; }
218
+ .jini-ui-info-tip-line { display: block; }
219
+ .jini-ui-info-tip-bullet { display: flex; gap: 0.4em; }
220
+ .jini-ui-info-tip-bullet + .jini-ui-info-tip-bullet { margin-top: 0.3em; }
221
+ .jini-ui-info-tip-bullet > span:first-child { flex: none; }
222
222
 
223
- .info-tip-bubble-below { transform: translate(-50%, 8px); }
224
- .info-tip-bubble-below::after {
223
+ .jini-ui-info-tip-bubble-below { transform: translate(-50%, 8px); }
224
+ .jini-ui-info-tip-bubble-below::after {
225
225
  top: auto; bottom: 100%; border-top-color: transparent; border-bottom-color: var(--jini-bg-panel);
226
226
  }
227
227
 
@@ -249,34 +249,34 @@
249
249
  @media (prefers-reduced-motion: reduce) { .jini-scroll-jump__btn { transition: none; } }
250
250
  @media (max-width: 640px) { .jini-scroll-jump__btn { width: 44px; height: 44px; } }
251
251
 
252
- .tab-bar { display: flex; flex-wrap: wrap; gap: 0.3rem; border-bottom: 1px solid var(--jini-border); margin-bottom: 1.3rem; }
252
+ .jini-ui-tab-bar { display: flex; flex-wrap: wrap; gap: 0.3rem; border-bottom: 1px solid var(--jini-border); margin-bottom: 1.3rem; }
253
253
 
254
- .tab-bar-item {
254
+ .jini-ui-tab-bar-item {
255
255
  display: inline-flex; align-items: center;
256
256
  background: none; border: none; border-bottom: 2px solid transparent; border-radius: 0;
257
257
  padding: 0.65rem 0.9rem; font-family: var(--jini-font-ui); font-size: var(--jini-font-size-sm); font-weight: 600;
258
258
  color: var(--jini-text-muted); cursor: pointer; transition: color 0.14s, border-color 0.14s; flex-shrink: 0;
259
259
  }
260
- .tab-bar-item:hover { background: none; color: var(--jini-text); opacity: 1; }
261
- .tab-bar-item[aria-selected="true"] { color: var(--jini-accent); border-bottom-color: var(--jini-accent); }
262
- .tab-bar-count { margin-left: 0.4rem; font-size: var(--jini-font-size-2xs); color: var(--jini-text-disabled); font-variant-numeric: tabular-nums; }
263
- .tab-bar-item[aria-selected="true"] .tab-bar-count { color: var(--jini-accent); opacity: 0.75; }
260
+ .jini-ui-tab-bar-item:hover { background: none; color: var(--jini-text); opacity: 1; }
261
+ .jini-ui-tab-bar-item[aria-selected="true"] { color: var(--jini-accent); border-bottom-color: var(--jini-accent); }
262
+ .jini-ui-tab-bar-count { margin-left: 0.4rem; font-size: var(--jini-font-size-2xs); color: var(--jini-text-disabled); font-variant-numeric: tabular-nums; }
263
+ .jini-ui-tab-bar-item[aria-selected="true"] .jini-ui-tab-bar-count { color: var(--jini-accent); opacity: 0.75; }
264
264
 
265
- .tab-bar-tag {
265
+ .jini-tab-bar-tag {
266
266
  margin-left: 0.4rem; font-size: 9px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase;
267
267
  color: var(--jini-text-disabled); border: 1px solid var(--jini-border); padding: 1px 5px; border-radius: 5px;
268
268
  }
269
- .tab-bar-item[aria-selected="true"] .tab-bar-tag { color: var(--jini-accent); opacity: 0.75; }
269
+ .jini-ui-tab-bar-item[aria-selected="true"] .jini-tab-bar-tag { color: var(--jini-accent); opacity: 0.75; }
270
270
 
271
- .tab-bar-dot { width: 0.4rem; height: 0.4rem; border-radius: 50%; background: var(--jini-success); margin-right: 0.4rem; flex-shrink: 0; }
271
+ .jini-tab-bar-dot { width: 0.4rem; height: 0.4rem; border-radius: 50%; background: var(--jini-success); margin-right: 0.4rem; flex-shrink: 0; }
272
272
 
273
- .tab-bar-icon { display: inline-flex; align-items: center; margin-right: 0.4rem; flex-shrink: 0; width: 1em; height: 1em; color: currentColor; }
273
+ .jini-ui-tab-bar-icon { display: inline-flex; align-items: center; margin-right: 0.4rem; flex-shrink: 0; width: 1em; height: 1em; color: currentColor; }
274
274
 
275
- .tab-bar-item:disabled { color: var(--jini-text-disabled); background: none; cursor: not-allowed; }
276
- .tab-bar-item:disabled:hover { color: var(--jini-text-disabled); background: none; }
277
- .tab-bar-item:disabled .tab-bar-count { color: var(--jini-text-disabled); }
275
+ .jini-ui-tab-bar-item:disabled { color: var(--jini-text-disabled); background: none; cursor: not-allowed; }
276
+ .jini-ui-tab-bar-item:disabled:hover { color: var(--jini-text-disabled); background: none; }
277
+ .jini-ui-tab-bar-item:disabled .jini-ui-tab-bar-count { color: var(--jini-text-disabled); }
278
278
 
279
- .tab-bar .visually-hidden { position: absolute; top: 0; left: 0; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
279
+ .jini-ui-tab-bar .visually-hidden { position: absolute; top: 0; left: 0; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
280
280
 
281
281
  .jini-coming-soon-panel .settings-ui-inert-note {
282
282
  margin: 0 0 12px; padding: 10px 14px; font-size: 12px; line-height: 1.5;
@@ -285,11 +285,11 @@
285
285
  }
286
286
  .jini-coming-soon-panel .settings-ui-inert-control { opacity: 0.55; }
287
287
 
288
- .select-search { box-sizing: border-box; padding: .5rem .7rem; background: var(--jini-bg-elevated); color: var(--jini-text); border: 1px solid var(--jini-border); border-radius: var(--jini-radius-sm); font: inherit; }
289
- .tab-bar-item:focus-visible { outline: 2px solid var(--jini-accent); outline-offset: 2px; }
288
+ .jini-ui-select-search { box-sizing: border-box; padding: .5rem .7rem; background: var(--jini-bg-elevated); color: var(--jini-text); border: 1px solid var(--jini-border); border-radius: var(--jini-radius-sm); font: inherit; }
289
+ .jini-ui-tab-bar-item:focus-visible { outline: 2px solid var(--jini-accent); outline-offset: 2px; }
290
290
  .jini-coming-soon-notice-kicker { color: var(--jini-text-muted); font-size: .75rem; }
291
291
  .jini-coming-soon-notice h1 { margin: 0 0 .4rem; }
292
292
  .jini-coming-soon-notice p { color: var(--jini-text-muted); }
293
293
 
294
- .admin-layout { background: var(--jini-bg); color: var(--jini-text); font-family: var(--jini-font-body); }
295
- .admin-layout :is(h1, h2, h3) { font-family: var(--jini-font-heading); }
294
+ .jini-admin-layout { background: var(--jini-bg); color: var(--jini-text); font-family: var(--jini-font-body); }
295
+ .jini-admin-layout :is(h1, h2, h3) { font-family: var(--jini-font-heading); }
package/dist/utils/zip.js CHANGED
@@ -26,6 +26,46 @@ function dosTime(d) {
26
26
  (d.getDate() & 0x1f);
27
27
  return { time, date };
28
28
  }
29
+ function encodeLocalFileHeader({ nameBytes, flags, crc, size, timestamp }) {
30
+ const local = new Uint8Array(30 + nameBytes.length);
31
+ const lv = new DataView(local.buffer);
32
+ lv.setUint32(0, 0x04034b50, true); // signature
33
+ lv.setUint16(4, 20, true); // version needed
34
+ lv.setUint16(6, flags, true); // flags (bit 11 = UTF-8 name)
35
+ lv.setUint16(8, 0, true); // method: stored
36
+ lv.setUint16(10, timestamp.time, true); // mod time
37
+ lv.setUint16(12, timestamp.date, true); // mod date
38
+ lv.setUint32(14, crc, true); // crc-32
39
+ lv.setUint32(18, size, true); // compressed size
40
+ lv.setUint32(22, size, true); // uncompressed size
41
+ lv.setUint16(26, nameBytes.length, true);
42
+ lv.setUint16(28, 0, true);
43
+ local.set(nameBytes, 30);
44
+ return local;
45
+ }
46
+ function encodeCentralDirectoryHeader({ nameBytes, flags, crc, size, timestamp }, offset) {
47
+ const central = new Uint8Array(46 + nameBytes.length);
48
+ const cv = new DataView(central.buffer);
49
+ cv.setUint32(0, 0x02014b50, true); // signature
50
+ cv.setUint16(4, 20, true); // version made by
51
+ cv.setUint16(6, 20, true); // version needed
52
+ cv.setUint16(8, flags, true); // flags (bit 11 = UTF-8 name)
53
+ cv.setUint16(10, 0, true); // method
54
+ cv.setUint16(12, timestamp.time, true);
55
+ cv.setUint16(14, timestamp.date, true);
56
+ cv.setUint32(16, crc, true);
57
+ cv.setUint32(20, size, true);
58
+ cv.setUint32(24, size, true);
59
+ cv.setUint16(28, nameBytes.length, true);
60
+ cv.setUint16(30, 0, true); // extra len
61
+ cv.setUint16(32, 0, true); // comment len
62
+ cv.setUint16(34, 0, true); // disk number
63
+ cv.setUint16(36, 0, true); // internal attrs
64
+ cv.setUint32(38, 0, true); // external attrs
65
+ cv.setUint32(42, offset, true); // relative offset of local header
66
+ central.set(nameBytes, 46);
67
+ return central;
68
+ }
29
69
  /**
30
70
  * Build a stored-mode (uncompressed) ZIP archive from a flat list of
31
71
  * UTF-8 text entries.
@@ -54,43 +94,10 @@ export function buildZip({ entries }, _optional = {}) {
54
94
  // General-purpose bit 11 (0x0800) signals UTF-8 filenames so readers
55
95
  // decode non-ASCII names correctly instead of CP437.
56
96
  const flags = nameBytes.some((b) => b > 0x7f) ? 0x0800 : 0;
57
- // Local file header (30 bytes + name).
58
- const local = new Uint8Array(30 + nameBytes.length);
59
- const lv = new DataView(local.buffer);
60
- lv.setUint32(0, 0x04034b50, true); // signature
61
- lv.setUint16(4, 20, true); // version needed
62
- lv.setUint16(6, flags, true); // flags (bit 11 = UTF-8 name)
63
- lv.setUint16(8, 0, true); // method: stored
64
- lv.setUint16(10, now.time, true); // mod time
65
- lv.setUint16(12, now.date, true); // mod date
66
- lv.setUint32(14, crc, true); // crc-32
67
- lv.setUint32(18, size, true); // compressed size
68
- lv.setUint32(22, size, true); // uncompressed size
69
- lv.setUint16(26, nameBytes.length, true);
70
- lv.setUint16(28, 0, true);
71
- local.set(nameBytes, 30);
97
+ const headerFields = { nameBytes, flags, crc, size, timestamp: now };
98
+ const local = encodeLocalFileHeader(headerFields);
72
99
  localChunks.push(local, dataBytes);
73
- // Central directory header (46 bytes + name).
74
- const central = new Uint8Array(46 + nameBytes.length);
75
- const cv = new DataView(central.buffer);
76
- cv.setUint32(0, 0x02014b50, true); // signature
77
- cv.setUint16(4, 20, true); // version made by
78
- cv.setUint16(6, 20, true); // version needed
79
- cv.setUint16(8, flags, true); // flags (bit 11 = UTF-8 name)
80
- cv.setUint16(10, 0, true); // method
81
- cv.setUint16(12, now.time, true);
82
- cv.setUint16(14, now.date, true);
83
- cv.setUint32(16, crc, true);
84
- cv.setUint32(20, size, true);
85
- cv.setUint32(24, size, true);
86
- cv.setUint16(28, nameBytes.length, true);
87
- cv.setUint16(30, 0, true); // extra len
88
- cv.setUint16(32, 0, true); // comment len
89
- cv.setUint16(34, 0, true); // disk number
90
- cv.setUint16(36, 0, true); // internal attrs
91
- cv.setUint32(38, 0, true); // external attrs
92
- cv.setUint32(42, offset, true); // relative offset of local header
93
- central.set(nameBytes, 46);
100
+ const central = encodeCentralDirectoryHeader(headerFields, offset);
94
101
  centralChunks.push(central);
95
102
  offset += local.length + dataBytes.length;
96
103
  centralSize += central.length;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jini-ai/ui",
3
- "version": "0.7.3-next.2",
3
+ "version": "0.7.4",
4
4
  "description": "Generic, product-neutral React UI primitives and feature domains. Framework-free types, decision rules, catalogs, and host port contracts live behind ./core (no React, no DOM). The Excalidraw editor lives behind ./sketch-editor; the GrapesJS-backed inline HTML editor lives behind ./html-editor.",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
@@ -38,7 +38,13 @@
38
38
  "./fetch-query": "browser",
39
39
  "./fetch-query/tanstack": "browser",
40
40
  "./tab-strip": "browser",
41
+ "./find": "browser",
41
42
  "./site-card": "browser",
43
+ "./resource-monitor": "browser",
44
+ "./zoom": "browser",
45
+ "./app-version": "browser",
46
+ "./live-views": "browser",
47
+ "./import-handoff": "browser",
42
48
  "./site-card.css": "browser",
43
49
  "./admin-widgets.css": "browser",
44
50
  "./theme": "browser",
@@ -48,7 +54,10 @@
48
54
  "./charts/react": "browser",
49
55
  "./mcp-ui/credential-card": "universal",
50
56
  "./react-kit": "browser",
51
- "./react/testing": "browser"
57
+ "./react/testing": "browser",
58
+ "./number-stepper": "browser",
59
+ "./app-shell": "browser",
60
+ "./find-bar": "browser"
52
61
  },
53
62
  "isolation": {
54
63
  "entries": {
@@ -59,12 +68,15 @@
59
68
  "shared": [
60
69
  "src/react/kit.tsx",
61
70
  "src/features/charts",
71
+ "src/features/find/find-query-scheduler.ts",
62
72
  "src/features/interactive-ui/registry.ts",
63
73
  "src/features/interactive-ui/table-data.ts",
74
+ "src/features/live-views/live-views.ts",
64
75
  "src/theme/default.ts",
65
76
  "src/theme/stylesheet.ts",
66
77
  "src/theme/validation.ts",
67
78
  "src/theme/types.ts",
79
+ "src/theme/color-scheme.ts",
68
80
  "src/browser"
69
81
  ]
70
82
  },
@@ -202,11 +214,41 @@
202
214
  "import": "./dist/features/panel-kit/fetch-query/tanstack.js",
203
215
  "default": "./dist/features/panel-kit/fetch-query/tanstack.js"
204
216
  },
217
+ "./find": {
218
+ "types": "./dist/features/find/index.d.ts",
219
+ "import": "./dist/features/find/index.js",
220
+ "default": "./dist/features/find/index.js"
221
+ },
205
222
  "./site-card": {
206
223
  "types": "./dist/features/site-card/index.d.ts",
207
224
  "import": "./dist/features/site-card/index.js",
208
225
  "default": "./dist/features/site-card/index.js"
209
226
  },
227
+ "./resource-monitor": {
228
+ "types": "./dist/features/resource-monitor/index.d.ts",
229
+ "import": "./dist/features/resource-monitor/index.js",
230
+ "default": "./dist/features/resource-monitor/index.js"
231
+ },
232
+ "./zoom": {
233
+ "types": "./dist/features/zoom/use-zoom.d.ts",
234
+ "import": "./dist/features/zoom/use-zoom.js",
235
+ "default": "./dist/features/zoom/use-zoom.js"
236
+ },
237
+ "./app-version": {
238
+ "types": "./dist/features/app-version/use-app-version.d.ts",
239
+ "import": "./dist/features/app-version/use-app-version.js",
240
+ "default": "./dist/features/app-version/use-app-version.js"
241
+ },
242
+ "./live-views": {
243
+ "types": "./dist/features/live-views/index.d.ts",
244
+ "import": "./dist/features/live-views/index.js",
245
+ "default": "./dist/features/live-views/index.js"
246
+ },
247
+ "./import-handoff": {
248
+ "types": "./dist/features/import-handoff/use-import-handoff.d.ts",
249
+ "import": "./dist/features/import-handoff/use-import-handoff.js",
250
+ "default": "./dist/features/import-handoff/use-import-handoff.js"
251
+ },
210
252
  "./site-card.css": "./dist/features/site-card/site-card.css",
211
253
  "./tab-strip": {
212
254
  "types": "./dist/features/tab-strip/index.d.ts",
@@ -249,6 +291,21 @@
249
291
  "types": "./dist/react/testing.d.ts",
250
292
  "import": "./dist/react/testing.js",
251
293
  "default": "./dist/react/testing.js"
294
+ },
295
+ "./number-stepper": {
296
+ "types": "./dist/features/number-stepper/index.d.ts",
297
+ "import": "./dist/features/number-stepper/index.js",
298
+ "default": "./dist/features/number-stepper/index.js"
299
+ },
300
+ "./app-shell": {
301
+ "types": "./dist/features/app-shell/index.d.ts",
302
+ "import": "./dist/features/app-shell/index.js",
303
+ "default": "./dist/features/app-shell/index.js"
304
+ },
305
+ "./find-bar": {
306
+ "types": "./dist/features/find-bar/index.d.ts",
307
+ "import": "./dist/features/find-bar/index.js",
308
+ "default": "./dist/features/find-bar/index.js"
252
309
  }
253
310
  },
254
311
  "files": [
@@ -297,17 +354,17 @@
297
354
  "tailwind-merge": "^2.6.0",
298
355
  "tailwindcss": "^4.1.16",
299
356
  "zod": "^4.6.6",
300
- "@jini-ai/agent-runtime": "^0.7.3-next.2",
301
- "@jini-ai/agentic": "^0.7.3-next.2",
302
- "@jini-ai/core": "^0.7.3-next.2",
303
- "@jini-ai/integrations": "^0.7.3-next.2",
304
- "@jini-ai/ui-kit": "^0.7.3-next.2"
357
+ "@jini-ai/core": "^0.7.4",
358
+ "@jini-ai/agentic": "^0.7.4",
359
+ "@jini-ai/integrations": "^0.7.4",
360
+ "@jini-ai/agent-runtime": "^0.7.4",
361
+ "@jini-ai/ui-kit": "^0.7.4"
305
362
  },
306
363
  "dependencies": {
307
364
  "micromark": "^4.0.0",
308
365
  "micromark-extension-gfm": "^3.0.0",
309
- "@jini-ai/protocol": "^0.7.3-next.2",
310
- "@jini-ai/core": "^0.7.3-next.2"
366
+ "@jini-ai/core": "^0.7.4",
367
+ "@jini-ai/protocol": "^0.7.4"
311
368
  },
312
369
  "peerDependencies": {
313
370
  "@tanstack/react-query": "^5.0.0",
@@ -1,71 +0,0 @@
1
- import type { AgentExecutableSource, ByokConfig, DetectedAgent } from './types.js';
2
- /**
3
- * The host-specific transport this tab needs. Genuinely host-owned: the origin
4
- * called its own daemon's agent-scan and connection-test endpoints. This
5
- * feature ships only a fake in `dependencies.ts`; a real host supplies its own
6
- * implementation (same convention as `McpIntegrationsPort`).
7
- */
8
- export interface ExecutionPort {
9
- /** Code-agent CLIs present on this machine. Called on mount and on rescan.
10
- * REJECTS if detection itself fails (host process crashed, the host's
11
- * transport to its own probing mechanism is down, etc.) — an empty
12
- * resolved array means "detection ran and found nothing," a genuinely
13
- * different state from "detection could not run." A host implementation
14
- * must not collapse the two into the same `[]`. */
15
- detectLocalAgents(): Promise<readonly DetectedAgent[]>;
16
- /**
17
- * Probes the BYOK endpoint with the supplied credentials. Two distinct
18
- * outcomes, both documented per this package's error-reporting contract
19
- * (§3.1 — a domain-outcome exception to "ports reject"):
20
- * - **Resolves** with `ok: false` when the endpoint was REACHED and it
21
- * rejected the credentials/model — that rejection IS the answer to
22
- * "does this connection work?", so it is a value, not a failure.
23
- * - **Rejects** when the test itself could not run — a transport failure,
24
- * timeout, or malformed base URL never got an answer FROM the provider
25
- * at all, so there is nothing to report as a value.
26
- */
27
- testConnection(config: ByokConfig): Promise<{
28
- ok: boolean;
29
- message?: string;
30
- }>;
31
- /** Live model discovery. Optional — without it the model field falls back to
32
- * the selected preset's `preferredModels` plus free text. REJECTS on any
33
- * failure (auth, timeout, unreachable endpoint, unsupported protocol) —
34
- * unlike `testConnection`, there is no legitimate "reachable but empty"
35
- * answer worth treating as a value here: a provider genuinely reporting
36
- * zero models is indistinguishable in practice from "the call to list
37
- * them failed," so every non-crash outcome resolves either a real,
38
- * non-empty list or rejects with why it couldn't. A host must not resolve
39
- * `[]` to mean "the request failed." */
40
- listModels?(config: ByokConfig): Promise<readonly string[]>;
41
- /** Re-runs the host's own agent detection (e.g. after the operator installs
42
- * a CLI). Optional; without it the rescan button is not rendered. Same
43
- * reject-on-failure contract as `detectLocalAgents`. */
44
- rescanLocalAgents?(): Promise<readonly DetectedAgent[]>;
45
- /**
46
- * Checks that a detected CLI can actually run — the Local CLI counterpart of
47
- * `testConnection`, and it splits its outcomes the same way (§3.1):
48
- * - **Resolves** with `ok: false` when the CLI was reached and reported a
49
- * problem the operator can fix (not signed in, expired credentials, an
50
- * unusable model choice). That report IS the answer to "does this work?".
51
- * - **Rejects** when the check could not run at all — the host could not
52
- * spawn the binary, its transport to the probing host is down, the
53
- * request timed out. There is no answer to report as a value.
54
- *
55
- * Optional; without it no Test button is rendered on the selected card.
56
- * `model` is the operator's current per-agent pick, so a host whose probe
57
- * can validate the model choice gets the chance to.
58
- *
59
- * `usedExecutableSource`/`detectedExecutablePath` are optional: a host
60
- * whose probe can tell which binary it actually invoked reports them so
61
- * the card can offer `agentExecutableRepairState`'s repair affordance;
62
- * a host that can't just omits both and the affordance never renders.
63
- */
64
- testAgent?(agentId: string, model?: string | undefined): Promise<{
65
- ok: boolean;
66
- message?: string;
67
- usedExecutableSource?: AgentExecutableSource;
68
- detectedExecutablePath?: string;
69
- }>;
70
- }
71
- //# sourceMappingURL=ports.d.ts.map
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=ports.js.map