@jini-ai/ui 0.1.2 → 0.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1402) hide show
  1. package/README.md +108 -18
  2. package/dist/browser/useDismissOnOutsideOrEscape.d.ts.map +1 -1
  3. package/dist/browser/useDismissOnOutsideOrEscape.js +3 -2
  4. package/dist/browser/useDismissOnOutsideOrEscape.js.map +1 -1
  5. package/dist/browser/useGlobalKeydown.js +1 -1
  6. package/dist/browser/useGlobalKeydown.js.map +1 -1
  7. package/dist/core.d.ts +69 -0
  8. package/dist/core.d.ts.map +1 -0
  9. package/dist/core.js +66 -0
  10. package/dist/core.js.map +1 -0
  11. package/dist/features/a2ui/catalog-from-registry.d.ts +30 -0
  12. package/dist/features/a2ui/catalog-from-registry.d.ts.map +1 -0
  13. package/dist/features/a2ui/catalog-from-registry.js +25 -0
  14. package/dist/features/a2ui/catalog-from-registry.js.map +1 -0
  15. package/dist/features/a2ui/index.d.ts +5 -0
  16. package/dist/features/a2ui/index.d.ts.map +1 -0
  17. package/dist/features/a2ui/index.js +5 -0
  18. package/dist/features/a2ui/index.js.map +1 -0
  19. package/dist/features/a2ui/protocol.d.ts +7 -0
  20. package/dist/features/a2ui/protocol.d.ts.map +1 -0
  21. package/dist/features/a2ui/protocol.js +7 -0
  22. package/dist/features/a2ui/protocol.js.map +1 -0
  23. package/dist/features/a2ui/renderer.d.ts +17 -0
  24. package/dist/features/a2ui/renderer.d.ts.map +1 -0
  25. package/dist/features/a2ui/renderer.js +80 -0
  26. package/dist/features/a2ui/renderer.js.map +1 -0
  27. package/dist/features/a2ui/use-a2ui-surface.d.ts +13 -0
  28. package/dist/features/a2ui/use-a2ui-surface.d.ts.map +1 -0
  29. package/dist/features/a2ui/use-a2ui-surface.js +17 -0
  30. package/dist/features/a2ui/use-a2ui-surface.js.map +1 -0
  31. package/dist/features/about/index.d.ts +7 -0
  32. package/dist/features/about/index.d.ts.map +1 -0
  33. package/dist/features/about/index.js +4 -0
  34. package/dist/features/about/index.js.map +1 -0
  35. package/dist/features/about/react/components/AboutTab.d.ts +82 -0
  36. package/dist/features/about/react/components/AboutTab.d.ts.map +1 -0
  37. package/dist/features/about/react/components/AboutTab.js +70 -0
  38. package/dist/features/about/react/components/AboutTab.js.map +1 -0
  39. package/dist/features/about/react/hooks/useSilentUpdatesToggle.d.ts +44 -0
  40. package/dist/features/about/react/hooks/useSilentUpdatesToggle.d.ts.map +1 -0
  41. package/dist/features/about/react/hooks/useSilentUpdatesToggle.js +44 -0
  42. package/dist/features/about/react/hooks/useSilentUpdatesToggle.js.map +1 -0
  43. package/dist/features/about/rules.d.ts +105 -0
  44. package/dist/features/about/rules.d.ts.map +1 -0
  45. package/dist/features/about/rules.js +240 -0
  46. package/dist/features/about/rules.js.map +1 -0
  47. package/dist/features/about/types.d.ts +110 -0
  48. package/dist/features/about/types.d.ts.map +1 -0
  49. package/dist/features/about/types.js +20 -0
  50. package/dist/features/about/types.js.map +1 -0
  51. package/dist/features/appearance/constants.d.ts +16 -0
  52. package/dist/features/appearance/constants.d.ts.map +1 -0
  53. package/dist/features/appearance/constants.js +23 -0
  54. package/dist/features/appearance/constants.js.map +1 -0
  55. package/dist/features/appearance/index.d.ts +5 -0
  56. package/dist/features/appearance/index.d.ts.map +1 -0
  57. package/dist/features/appearance/index.js.map +1 -0
  58. package/dist/features/appearance/react/components/AppearanceTab.d.ts.map +1 -0
  59. package/dist/features/appearance/react/components/AppearanceTab.js +31 -0
  60. package/dist/features/appearance/react/components/AppearanceTab.js.map +1 -0
  61. package/dist/features/appearance/rules.d.ts +31 -0
  62. package/dist/features/appearance/rules.d.ts.map +1 -0
  63. package/dist/features/appearance/rules.js +45 -0
  64. package/dist/features/appearance/rules.js.map +1 -0
  65. package/dist/features/appearance/types.d.ts +12 -0
  66. package/dist/features/appearance/types.d.ts.map +1 -0
  67. package/dist/features/appearance/types.js +8 -0
  68. package/dist/features/appearance/types.js.map +1 -0
  69. package/dist/features/asset-grid/react/components/AssetGrid.d.ts.map +1 -1
  70. package/dist/features/asset-grid/react/components/AssetGrid.js +44 -9
  71. package/dist/features/asset-grid/react/components/AssetGrid.js.map +1 -1
  72. package/dist/features/asset-grid/react/hooks/useAssetGridLiveUpdates.d.ts.map +1 -1
  73. package/dist/features/asset-grid/react/hooks/useAssetGridLiveUpdates.js +39 -2
  74. package/dist/features/asset-grid/react/hooks/useAssetGridLiveUpdates.js.map +1 -1
  75. package/dist/features/asset-tree-browser/rules.d.ts +1 -0
  76. package/dist/features/asset-tree-browser/rules.d.ts.map +1 -1
  77. package/dist/features/asset-tree-browser/rules.js.map +1 -1
  78. package/dist/features/connectors/ConnectorsBrowser.d.ts.map +1 -1
  79. package/dist/features/connectors/ConnectorsBrowser.js +2 -2
  80. package/dist/features/connectors/ConnectorsBrowser.js.map +1 -1
  81. package/dist/features/connectors/components/ConnectorCard.d.ts.map +1 -1
  82. package/dist/features/connectors/components/ConnectorCard.js.map +1 -1
  83. package/dist/features/connectors/components/ConnectorDetailDrawer.d.ts.map +1 -1
  84. package/dist/features/connectors/components/ConnectorDetailDrawer.js.map +1 -1
  85. package/dist/features/connectors/dependencies.d.ts +1 -1
  86. package/dist/features/connectors/dependencies.d.ts.map +1 -1
  87. package/dist/features/connectors/dependencies.js +1 -2
  88. package/dist/features/connectors/dependencies.js.map +1 -1
  89. package/dist/features/connectors/hooks/useConnectorAuthorization.d.ts +38 -0
  90. package/dist/features/connectors/hooks/useConnectorAuthorization.d.ts.map +1 -1
  91. package/dist/features/connectors/hooks/useConnectorAuthorization.js +76 -63
  92. package/dist/features/connectors/hooks/useConnectorAuthorization.js.map +1 -1
  93. package/dist/features/connectors/hooks/useConnectorCatalog.d.ts.map +1 -1
  94. package/dist/features/connectors/hooks/useConnectorCatalog.js.map +1 -1
  95. package/dist/features/connectors/hooks/useConnectorDetail.d.ts.map +1 -1
  96. package/dist/features/connectors/hooks/useConnectorDetail.js +1 -1
  97. package/dist/features/connectors/hooks/useConnectorDetail.js.map +1 -1
  98. package/dist/features/connectors/index.d.ts +4 -4
  99. package/dist/features/connectors/index.d.ts.map +1 -1
  100. package/dist/features/connectors/index.js +2 -2
  101. package/dist/features/connectors/index.js.map +1 -1
  102. package/dist/features/execution/constants.d.ts +55 -0
  103. package/dist/features/execution/constants.d.ts.map +1 -0
  104. package/dist/features/execution/constants.js +187 -0
  105. package/dist/features/execution/constants.js.map +1 -0
  106. package/dist/features/execution/dependencies.d.ts +41 -0
  107. package/dist/features/execution/dependencies.d.ts.map +1 -0
  108. package/dist/features/execution/dependencies.js +64 -0
  109. package/dist/features/execution/dependencies.js.map +1 -0
  110. package/dist/features/execution/index.d.ts +24 -0
  111. package/dist/features/execution/index.d.ts.map +1 -0
  112. package/dist/features/execution/index.js +13 -0
  113. package/dist/features/execution/index.js.map +1 -0
  114. package/dist/features/execution/ports.d.ts +71 -0
  115. package/dist/features/execution/ports.d.ts.map +1 -0
  116. package/dist/features/execution/ports.js.map +1 -0
  117. package/dist/features/execution/react/components/AgentCliEnvFields.d.ts +26 -0
  118. package/dist/features/execution/react/components/AgentCliEnvFields.d.ts.map +1 -0
  119. package/dist/features/execution/react/components/AgentCliEnvFields.js +25 -0
  120. package/dist/features/execution/react/components/AgentCliEnvFields.js.map +1 -0
  121. package/dist/features/execution/react/components/AgentDiagnosticRow.d.ts +32 -0
  122. package/dist/features/execution/react/components/AgentDiagnosticRow.d.ts.map +1 -0
  123. package/dist/features/execution/react/components/AgentDiagnosticRow.js +61 -0
  124. package/dist/features/execution/react/components/AgentDiagnosticRow.js.map +1 -0
  125. package/dist/features/execution/react/components/ByokProviderForm.d.ts +73 -0
  126. package/dist/features/execution/react/components/ByokProviderForm.d.ts.map +1 -0
  127. package/dist/features/execution/react/components/ByokProviderForm.js +88 -0
  128. package/dist/features/execution/react/components/ByokProviderForm.js.map +1 -0
  129. package/dist/features/execution/react/components/ExecutionTab.d.ts +60 -0
  130. package/dist/features/execution/react/components/ExecutionTab.d.ts.map +1 -0
  131. package/dist/features/execution/react/components/ExecutionTab.js +91 -0
  132. package/dist/features/execution/react/components/ExecutionTab.js.map +1 -0
  133. package/dist/features/execution/react/components/LocalCliAgentCard.d.ts +40 -0
  134. package/dist/features/execution/react/components/LocalCliAgentCard.d.ts.map +1 -0
  135. package/dist/features/execution/react/components/LocalCliAgentCard.js +121 -0
  136. package/dist/features/execution/react/components/LocalCliAgentCard.js.map +1 -0
  137. package/dist/features/execution/react/components/LocalCliAgentList.d.ts +37 -0
  138. package/dist/features/execution/react/components/LocalCliAgentList.d.ts.map +1 -0
  139. package/dist/features/execution/react/components/LocalCliAgentList.js +18 -0
  140. package/dist/features/execution/react/components/LocalCliAgentList.js.map +1 -0
  141. package/dist/features/execution/react/components/ProviderChipGroup.d.ts +21 -0
  142. package/dist/features/execution/react/components/ProviderChipGroup.d.ts.map +1 -0
  143. package/dist/features/execution/react/components/ProviderChipGroup.js +22 -0
  144. package/dist/features/execution/react/components/ProviderChipGroup.js.map +1 -0
  145. package/dist/features/execution/react/components/SearchableModelSelect.d.ts +45 -0
  146. package/dist/features/execution/react/components/SearchableModelSelect.d.ts.map +1 -0
  147. package/dist/features/execution/react/components/SearchableModelSelect.js +55 -0
  148. package/dist/features/execution/react/components/SearchableModelSelect.js.map +1 -0
  149. package/dist/features/execution/react/hooks/useExecutionTab.d.ts +38 -0
  150. package/dist/features/execution/react/hooks/useExecutionTab.d.ts.map +1 -0
  151. package/dist/features/execution/react/hooks/useExecutionTab.js +158 -0
  152. package/dist/features/execution/react/hooks/useExecutionTab.js.map +1 -0
  153. package/dist/features/execution/rules.d.ts +218 -0
  154. package/dist/features/execution/rules.d.ts.map +1 -0
  155. package/dist/features/execution/rules.js +414 -0
  156. package/dist/features/execution/rules.js.map +1 -0
  157. package/dist/features/execution/types.d.ts +410 -0
  158. package/dist/features/execution/types.d.ts.map +1 -0
  159. package/dist/features/execution/types.js +19 -0
  160. package/dist/features/execution/types.js.map +1 -0
  161. package/dist/features/external-mcp/constants.d.ts +3 -0
  162. package/dist/features/external-mcp/constants.d.ts.map +1 -0
  163. package/dist/features/external-mcp/constants.js +22 -0
  164. package/dist/features/external-mcp/constants.js.map +1 -0
  165. package/dist/features/external-mcp/index.d.ts +4 -0
  166. package/dist/features/external-mcp/index.d.ts.map +1 -0
  167. package/dist/features/external-mcp/index.js +3 -0
  168. package/dist/features/external-mcp/index.js.map +1 -0
  169. package/dist/features/external-mcp/react/components/ExternalMcpTab.d.ts +23 -0
  170. package/dist/features/external-mcp/react/components/ExternalMcpTab.d.ts.map +1 -0
  171. package/dist/features/external-mcp/react/components/ExternalMcpTab.js +53 -0
  172. package/dist/features/external-mcp/react/components/ExternalMcpTab.js.map +1 -0
  173. package/dist/features/html-editor/canvas-content-wrapper.d.ts +16 -0
  174. package/dist/features/html-editor/canvas-content-wrapper.d.ts.map +1 -0
  175. package/dist/features/html-editor/canvas-content-wrapper.js +86 -0
  176. package/dist/features/html-editor/canvas-content-wrapper.js.map +1 -0
  177. package/dist/features/html-editor/canvas-embed-placeholders.d.ts +65 -0
  178. package/dist/features/html-editor/canvas-embed-placeholders.d.ts.map +1 -0
  179. package/dist/features/html-editor/canvas-embed-placeholders.js +190 -0
  180. package/dist/features/html-editor/canvas-embed-placeholders.js.map +1 -0
  181. package/dist/features/html-editor/canvas-style.d.ts +73 -0
  182. package/dist/features/html-editor/canvas-style.d.ts.map +1 -0
  183. package/dist/features/html-editor/canvas-style.js +64 -0
  184. package/dist/features/html-editor/canvas-style.js.map +1 -0
  185. package/dist/features/html-editor/css.d.ts +22 -0
  186. package/dist/features/html-editor/css.d.ts.map +1 -0
  187. package/dist/features/html-editor/css.js +140 -0
  188. package/dist/features/html-editor/css.js.map +1 -0
  189. package/dist/features/html-editor/dom.d.ts +15 -0
  190. package/dist/features/html-editor/dom.d.ts.map +1 -0
  191. package/dist/features/html-editor/dom.js +20 -0
  192. package/dist/features/html-editor/dom.js.map +1 -0
  193. package/dist/features/html-editor/index.d.ts +8 -0
  194. package/dist/features/html-editor/index.d.ts.map +1 -0
  195. package/dist/features/html-editor/index.js +5 -0
  196. package/dist/features/html-editor/index.js.map +1 -0
  197. package/dist/features/html-editor/react/components/InteractiveHtmlEditor.d.ts +94 -0
  198. package/dist/features/html-editor/react/components/InteractiveHtmlEditor.d.ts.map +1 -0
  199. package/dist/features/html-editor/react/components/InteractiveHtmlEditor.js +15 -0
  200. package/dist/features/html-editor/react/components/InteractiveHtmlEditor.js.map +1 -0
  201. package/dist/features/html-editor/react/hooks/useInteractiveHtmlEditor.d.ts +33 -0
  202. package/dist/features/html-editor/react/hooks/useInteractiveHtmlEditor.d.ts.map +1 -0
  203. package/dist/features/html-editor/react/hooks/useInteractiveHtmlEditor.js +170 -0
  204. package/dist/features/html-editor/react/hooks/useInteractiveHtmlEditor.js.map +1 -0
  205. package/dist/features/html-viewer/dependencies.d.ts +1 -1
  206. package/dist/features/html-viewer/dependencies.d.ts.map +1 -1
  207. package/dist/features/html-viewer/dependencies.js +2 -2
  208. package/dist/features/html-viewer/dependencies.js.map +1 -1
  209. package/dist/features/html-viewer/react/hooks/useDeckNavigation.d.ts +2 -2
  210. package/dist/features/html-viewer/react/hooks/useDeckNavigation.js +3 -3
  211. package/dist/features/html-viewer/react/hooks/useDeckNavigation.js.map +1 -1
  212. package/dist/features/i18n/context.d.ts +35 -2
  213. package/dist/features/i18n/context.d.ts.map +1 -1
  214. package/dist/features/i18n/context.js +1 -1
  215. package/dist/features/i18n/context.js.map +1 -1
  216. package/dist/features/i18n/dictionaries/index.d.ts +63 -0
  217. package/dist/features/i18n/dictionaries/index.d.ts.map +1 -0
  218. package/dist/features/i18n/dictionaries/index.js +70 -0
  219. package/dist/features/i18n/dictionaries/index.js.map +1 -0
  220. package/dist/features/i18n/dictionaries/settings-dialog.ar.d.ts +8 -0
  221. package/dist/features/i18n/dictionaries/settings-dialog.ar.d.ts.map +1 -0
  222. package/dist/features/i18n/dictionaries/settings-dialog.ar.js +239 -0
  223. package/dist/features/i18n/dictionaries/settings-dialog.ar.js.map +1 -0
  224. package/dist/features/i18n/dictionaries/settings-dialog.bn.d.ts +8 -0
  225. package/dist/features/i18n/dictionaries/settings-dialog.bn.d.ts.map +1 -0
  226. package/dist/features/i18n/dictionaries/settings-dialog.bn.js +239 -0
  227. package/dist/features/i18n/dictionaries/settings-dialog.bn.js.map +1 -0
  228. package/dist/features/i18n/dictionaries/settings-dialog.de.d.ts +17 -0
  229. package/dist/features/i18n/dictionaries/settings-dialog.de.d.ts.map +1 -0
  230. package/dist/features/i18n/dictionaries/settings-dialog.de.js +239 -0
  231. package/dist/features/i18n/dictionaries/settings-dialog.de.js.map +1 -0
  232. package/dist/features/i18n/dictionaries/settings-dialog.en.d.ts +33 -0
  233. package/dist/features/i18n/dictionaries/settings-dialog.en.d.ts.map +1 -0
  234. package/dist/features/i18n/dictionaries/settings-dialog.en.js +239 -0
  235. package/dist/features/i18n/dictionaries/settings-dialog.en.js.map +1 -0
  236. package/dist/features/i18n/dictionaries/settings-dialog.es.d.ts +17 -0
  237. package/dist/features/i18n/dictionaries/settings-dialog.es.d.ts.map +1 -0
  238. package/dist/features/i18n/dictionaries/settings-dialog.es.js +239 -0
  239. package/dist/features/i18n/dictionaries/settings-dialog.es.js.map +1 -0
  240. package/dist/features/i18n/dictionaries/settings-dialog.fa.d.ts +8 -0
  241. package/dist/features/i18n/dictionaries/settings-dialog.fa.d.ts.map +1 -0
  242. package/dist/features/i18n/dictionaries/settings-dialog.fa.js +239 -0
  243. package/dist/features/i18n/dictionaries/settings-dialog.fa.js.map +1 -0
  244. package/dist/features/i18n/dictionaries/settings-dialog.fr.d.ts +17 -0
  245. package/dist/features/i18n/dictionaries/settings-dialog.fr.d.ts.map +1 -0
  246. package/dist/features/i18n/dictionaries/settings-dialog.fr.js +239 -0
  247. package/dist/features/i18n/dictionaries/settings-dialog.fr.js.map +1 -0
  248. package/dist/features/i18n/dictionaries/settings-dialog.hi.d.ts +8 -0
  249. package/dist/features/i18n/dictionaries/settings-dialog.hi.d.ts.map +1 -0
  250. package/dist/features/i18n/dictionaries/settings-dialog.hi.js +239 -0
  251. package/dist/features/i18n/dictionaries/settings-dialog.hi.js.map +1 -0
  252. package/dist/features/i18n/dictionaries/settings-dialog.hu.d.ts +8 -0
  253. package/dist/features/i18n/dictionaries/settings-dialog.hu.d.ts.map +1 -0
  254. package/dist/features/i18n/dictionaries/settings-dialog.hu.js +239 -0
  255. package/dist/features/i18n/dictionaries/settings-dialog.hu.js.map +1 -0
  256. package/dist/features/i18n/dictionaries/settings-dialog.id.d.ts +17 -0
  257. package/dist/features/i18n/dictionaries/settings-dialog.id.d.ts.map +1 -0
  258. package/dist/features/i18n/dictionaries/settings-dialog.id.js +239 -0
  259. package/dist/features/i18n/dictionaries/settings-dialog.id.js.map +1 -0
  260. package/dist/features/i18n/dictionaries/settings-dialog.it.d.ts +17 -0
  261. package/dist/features/i18n/dictionaries/settings-dialog.it.d.ts.map +1 -0
  262. package/dist/features/i18n/dictionaries/settings-dialog.it.js +239 -0
  263. package/dist/features/i18n/dictionaries/settings-dialog.it.js.map +1 -0
  264. package/dist/features/i18n/dictionaries/settings-dialog.ja.d.ts +8 -0
  265. package/dist/features/i18n/dictionaries/settings-dialog.ja.d.ts.map +1 -0
  266. package/dist/features/i18n/dictionaries/settings-dialog.ja.js +239 -0
  267. package/dist/features/i18n/dictionaries/settings-dialog.ja.js.map +1 -0
  268. package/dist/features/i18n/dictionaries/settings-dialog.ko.d.ts +8 -0
  269. package/dist/features/i18n/dictionaries/settings-dialog.ko.d.ts.map +1 -0
  270. package/dist/features/i18n/dictionaries/settings-dialog.ko.js +239 -0
  271. package/dist/features/i18n/dictionaries/settings-dialog.ko.js.map +1 -0
  272. package/dist/features/i18n/dictionaries/settings-dialog.pl.d.ts +8 -0
  273. package/dist/features/i18n/dictionaries/settings-dialog.pl.d.ts.map +1 -0
  274. package/dist/features/i18n/dictionaries/settings-dialog.pl.js +239 -0
  275. package/dist/features/i18n/dictionaries/settings-dialog.pl.js.map +1 -0
  276. package/dist/features/i18n/dictionaries/settings-dialog.pt-BR.d.ts +8 -0
  277. package/dist/features/i18n/dictionaries/settings-dialog.pt-BR.d.ts.map +1 -0
  278. package/dist/features/i18n/dictionaries/settings-dialog.pt-BR.js +239 -0
  279. package/dist/features/i18n/dictionaries/settings-dialog.pt-BR.js.map +1 -0
  280. package/dist/features/i18n/dictionaries/settings-dialog.ru.d.ts +8 -0
  281. package/dist/features/i18n/dictionaries/settings-dialog.ru.d.ts.map +1 -0
  282. package/dist/features/i18n/dictionaries/settings-dialog.ru.js +239 -0
  283. package/dist/features/i18n/dictionaries/settings-dialog.ru.js.map +1 -0
  284. package/dist/features/i18n/dictionaries/settings-dialog.th.d.ts +17 -0
  285. package/dist/features/i18n/dictionaries/settings-dialog.th.d.ts.map +1 -0
  286. package/dist/features/i18n/dictionaries/settings-dialog.th.js +239 -0
  287. package/dist/features/i18n/dictionaries/settings-dialog.th.js.map +1 -0
  288. package/dist/features/i18n/dictionaries/settings-dialog.tr.d.ts +17 -0
  289. package/dist/features/i18n/dictionaries/settings-dialog.tr.d.ts.map +1 -0
  290. package/dist/features/i18n/dictionaries/settings-dialog.tr.js +239 -0
  291. package/dist/features/i18n/dictionaries/settings-dialog.tr.js.map +1 -0
  292. package/dist/features/i18n/dictionaries/settings-dialog.uk.d.ts +17 -0
  293. package/dist/features/i18n/dictionaries/settings-dialog.uk.d.ts.map +1 -0
  294. package/dist/features/i18n/dictionaries/settings-dialog.uk.js +239 -0
  295. package/dist/features/i18n/dictionaries/settings-dialog.uk.js.map +1 -0
  296. package/dist/features/i18n/dictionaries/settings-dialog.ur.d.ts +8 -0
  297. package/dist/features/i18n/dictionaries/settings-dialog.ur.d.ts.map +1 -0
  298. package/dist/features/i18n/dictionaries/settings-dialog.ur.js +239 -0
  299. package/dist/features/i18n/dictionaries/settings-dialog.ur.js.map +1 -0
  300. package/dist/features/i18n/dictionaries/settings-dialog.zh-CN.d.ts +17 -0
  301. package/dist/features/i18n/dictionaries/settings-dialog.zh-CN.d.ts.map +1 -0
  302. package/dist/features/i18n/dictionaries/settings-dialog.zh-CN.js +239 -0
  303. package/dist/features/i18n/dictionaries/settings-dialog.zh-CN.js.map +1 -0
  304. package/dist/features/i18n/dictionaries/settings-dialog.zh-TW.d.ts +20 -0
  305. package/dist/features/i18n/dictionaries/settings-dialog.zh-TW.d.ts.map +1 -0
  306. package/dist/features/i18n/dictionaries/settings-dialog.zh-TW.js +239 -0
  307. package/dist/features/i18n/dictionaries/settings-dialog.zh-TW.js.map +1 -0
  308. package/dist/features/i18n/dictionaries/types.d.ts +16 -0
  309. package/dist/features/i18n/dictionaries/types.d.ts.map +1 -0
  310. package/dist/features/i18n/dictionaries/types.js.map +1 -0
  311. package/dist/features/i18n/index.d.ts +2 -0
  312. package/dist/features/i18n/index.d.ts.map +1 -1
  313. package/dist/features/i18n/index.js +1 -0
  314. package/dist/features/i18n/index.js.map +1 -1
  315. package/dist/features/iframe-pool/react/components/PooledIframe.d.ts.map +1 -1
  316. package/dist/features/iframe-pool/react/components/PooledIframe.js +27 -3
  317. package/dist/features/iframe-pool/react/components/PooledIframe.js.map +1 -1
  318. package/dist/features/instructions/index.d.ts.map +1 -0
  319. package/dist/features/instructions/index.js.map +1 -0
  320. package/dist/features/instructions/react/components/InstructionsTab.d.ts.map +1 -0
  321. package/dist/features/instructions/react/components/InstructionsTab.js +16 -0
  322. package/dist/features/instructions/react/components/InstructionsTab.js.map +1 -0
  323. package/dist/features/integrations/constants.d.ts.map +1 -0
  324. package/dist/features/integrations/constants.js.map +1 -0
  325. package/dist/features/integrations/dependencies.d.ts.map +1 -0
  326. package/dist/features/integrations/dependencies.js.map +1 -0
  327. package/dist/features/integrations/index.d.ts +18 -0
  328. package/dist/features/integrations/index.d.ts.map +1 -0
  329. package/dist/features/integrations/index.js +10 -0
  330. package/dist/features/integrations/index.js.map +1 -0
  331. package/dist/features/integrations/ports.d.ts.map +1 -0
  332. package/dist/features/integrations/ports.js +2 -0
  333. package/dist/features/integrations/ports.js.map +1 -0
  334. package/dist/features/integrations/react/components/ClientPicker.d.ts.map +1 -0
  335. package/dist/features/integrations/react/components/ClientPicker.js +31 -0
  336. package/dist/features/integrations/react/components/ClientPicker.js.map +1 -0
  337. package/dist/features/integrations/react/components/CodexInstallToggleButton.d.ts.map +1 -0
  338. package/dist/features/integrations/react/components/CodexInstallToggleButton.js +21 -0
  339. package/dist/features/integrations/react/components/CodexInstallToggleButton.js.map +1 -0
  340. package/dist/features/integrations/react/components/IntegrationsTab.d.ts +27 -0
  341. package/dist/features/integrations/react/components/IntegrationsTab.d.ts.map +1 -0
  342. package/dist/features/integrations/react/components/IntegrationsTab.js +61 -0
  343. package/dist/features/integrations/react/components/IntegrationsTab.js.map +1 -0
  344. package/dist/features/integrations/react/components/SnippetBlock.d.ts.map +1 -0
  345. package/dist/features/integrations/react/components/SnippetBlock.js +53 -0
  346. package/dist/features/integrations/react/components/SnippetBlock.js.map +1 -0
  347. package/dist/features/integrations/react/hooks/useCodexInstallToggle.d.ts.map +1 -0
  348. package/dist/features/integrations/react/hooks/useCodexInstallToggle.js.map +1 -0
  349. package/dist/features/integrations/react/hooks/useMcpInstallInfo.d.ts.map +1 -0
  350. package/dist/features/integrations/react/hooks/useMcpInstallInfo.js.map +1 -0
  351. package/dist/features/integrations/rules.d.ts +55 -0
  352. package/dist/features/integrations/rules.d.ts.map +1 -0
  353. package/dist/features/integrations/rules.js +193 -0
  354. package/dist/features/integrations/rules.js.map +1 -0
  355. package/dist/features/integrations/types.d.ts +58 -0
  356. package/dist/features/integrations/types.d.ts.map +1 -0
  357. package/dist/features/integrations/types.js +15 -0
  358. package/dist/features/integrations/types.js.map +1 -0
  359. package/dist/features/interactive-ui/index.d.ts +23 -0
  360. package/dist/features/interactive-ui/index.d.ts.map +1 -0
  361. package/dist/features/interactive-ui/index.js +37 -0
  362. package/dist/features/interactive-ui/index.js.map +1 -0
  363. package/dist/features/interactive-ui/interactive-ui.css +2 -0
  364. package/dist/features/interactive-ui/manifests.d.ts +21 -0
  365. package/dist/features/interactive-ui/manifests.d.ts.map +1 -0
  366. package/dist/features/interactive-ui/manifests.js +37 -0
  367. package/dist/features/interactive-ui/manifests.js.map +1 -0
  368. package/dist/features/interactive-ui/providers/native/data-table.d.ts +12 -0
  369. package/dist/features/interactive-ui/providers/native/data-table.d.ts.map +1 -0
  370. package/dist/features/interactive-ui/providers/native/data-table.js +5 -0
  371. package/dist/features/interactive-ui/providers/native/data-table.js.map +1 -0
  372. package/dist/features/interactive-ui/providers/native/data-table.manifest.d.ts +57 -0
  373. package/dist/features/interactive-ui/providers/native/data-table.manifest.d.ts.map +1 -0
  374. package/dist/features/interactive-ui/providers/native/data-table.manifest.js +31 -0
  375. package/dist/features/interactive-ui/providers/native/data-table.manifest.js.map +1 -0
  376. package/dist/features/interactive-ui/providers/native/index.d.ts +3 -0
  377. package/dist/features/interactive-ui/providers/native/index.d.ts.map +1 -0
  378. package/dist/features/interactive-ui/providers/native/index.js +3 -0
  379. package/dist/features/interactive-ui/providers/native/index.js.map +1 -0
  380. package/dist/features/interactive-ui/providers/recharts/bar-chart.d.ts +8 -0
  381. package/dist/features/interactive-ui/providers/recharts/bar-chart.d.ts.map +1 -0
  382. package/dist/features/interactive-ui/providers/recharts/bar-chart.js +6 -0
  383. package/dist/features/interactive-ui/providers/recharts/bar-chart.js.map +1 -0
  384. package/dist/features/interactive-ui/providers/recharts/bar-chart.manifest.d.ts +21 -0
  385. package/dist/features/interactive-ui/providers/recharts/bar-chart.manifest.d.ts.map +1 -0
  386. package/dist/features/interactive-ui/providers/recharts/bar-chart.manifest.js +18 -0
  387. package/dist/features/interactive-ui/providers/recharts/bar-chart.manifest.js.map +1 -0
  388. package/dist/features/interactive-ui/providers/recharts/index.d.ts +7 -0
  389. package/dist/features/interactive-ui/providers/recharts/index.d.ts.map +1 -0
  390. package/dist/features/interactive-ui/providers/recharts/index.js +7 -0
  391. package/dist/features/interactive-ui/providers/recharts/index.js.map +1 -0
  392. package/dist/features/interactive-ui/providers/recharts/line-chart.d.ts +8 -0
  393. package/dist/features/interactive-ui/providers/recharts/line-chart.d.ts.map +1 -0
  394. package/dist/features/interactive-ui/providers/recharts/line-chart.js +6 -0
  395. package/dist/features/interactive-ui/providers/recharts/line-chart.js.map +1 -0
  396. package/dist/features/interactive-ui/providers/recharts/line-chart.manifest.d.ts +20 -0
  397. package/dist/features/interactive-ui/providers/recharts/line-chart.manifest.d.ts.map +1 -0
  398. package/dist/features/interactive-ui/providers/recharts/line-chart.manifest.js +17 -0
  399. package/dist/features/interactive-ui/providers/recharts/line-chart.manifest.js.map +1 -0
  400. package/dist/features/interactive-ui/providers/recharts/pie-chart.d.ts +10 -0
  401. package/dist/features/interactive-ui/providers/recharts/pie-chart.d.ts.map +1 -0
  402. package/dist/features/interactive-ui/providers/recharts/pie-chart.js +7 -0
  403. package/dist/features/interactive-ui/providers/recharts/pie-chart.js.map +1 -0
  404. package/dist/features/interactive-ui/providers/recharts/pie-chart.manifest.d.ts +41 -0
  405. package/dist/features/interactive-ui/providers/recharts/pie-chart.manifest.d.ts.map +1 -0
  406. package/dist/features/interactive-ui/providers/recharts/pie-chart.manifest.js +15 -0
  407. package/dist/features/interactive-ui/providers/recharts/pie-chart.manifest.js.map +1 -0
  408. package/dist/features/interactive-ui/providers/shadcn/action-button.d.ts +14 -0
  409. package/dist/features/interactive-ui/providers/shadcn/action-button.d.ts.map +1 -0
  410. package/dist/features/interactive-ui/providers/shadcn/action-button.js +6 -0
  411. package/dist/features/interactive-ui/providers/shadcn/action-button.js.map +1 -0
  412. package/dist/features/interactive-ui/providers/shadcn/action-button.manifest.d.ts +24 -0
  413. package/dist/features/interactive-ui/providers/shadcn/action-button.manifest.d.ts.map +1 -0
  414. package/dist/features/interactive-ui/providers/shadcn/action-button.manifest.js +21 -0
  415. package/dist/features/interactive-ui/providers/shadcn/action-button.manifest.js.map +1 -0
  416. package/dist/features/interactive-ui/providers/shadcn/button.d.ts +18 -0
  417. package/dist/features/interactive-ui/providers/shadcn/button.d.ts.map +1 -0
  418. package/dist/features/interactive-ui/providers/shadcn/button.js +40 -0
  419. package/dist/features/interactive-ui/providers/shadcn/button.js.map +1 -0
  420. package/dist/features/interactive-ui/providers/shadcn/card.d.ts +13 -0
  421. package/dist/features/interactive-ui/providers/shadcn/card.d.ts.map +1 -0
  422. package/dist/features/interactive-ui/providers/shadcn/card.js +21 -0
  423. package/dist/features/interactive-ui/providers/shadcn/card.js.map +1 -0
  424. package/dist/features/interactive-ui/providers/shadcn/checkbox-field.d.ts +9 -0
  425. package/dist/features/interactive-ui/providers/shadcn/checkbox-field.d.ts.map +1 -0
  426. package/dist/features/interactive-ui/providers/shadcn/checkbox-field.js +9 -0
  427. package/dist/features/interactive-ui/providers/shadcn/checkbox-field.js.map +1 -0
  428. package/dist/features/interactive-ui/providers/shadcn/checkbox-field.manifest.d.ts +17 -0
  429. package/dist/features/interactive-ui/providers/shadcn/checkbox-field.manifest.d.ts.map +1 -0
  430. package/dist/features/interactive-ui/providers/shadcn/checkbox-field.manifest.js +16 -0
  431. package/dist/features/interactive-ui/providers/shadcn/checkbox-field.manifest.js.map +1 -0
  432. package/dist/features/interactive-ui/providers/shadcn/checkbox.d.ts +10 -0
  433. package/dist/features/interactive-ui/providers/shadcn/checkbox.d.ts.map +1 -0
  434. package/dist/features/interactive-ui/providers/shadcn/checkbox.js +14 -0
  435. package/dist/features/interactive-ui/providers/shadcn/checkbox.js.map +1 -0
  436. package/dist/features/interactive-ui/providers/shadcn/content-card.d.ts +7 -0
  437. package/dist/features/interactive-ui/providers/shadcn/content-card.d.ts.map +1 -0
  438. package/dist/features/interactive-ui/providers/shadcn/content-card.js +6 -0
  439. package/dist/features/interactive-ui/providers/shadcn/content-card.js.map +1 -0
  440. package/dist/features/interactive-ui/providers/shadcn/content-card.manifest.d.ts +17 -0
  441. package/dist/features/interactive-ui/providers/shadcn/content-card.manifest.d.ts.map +1 -0
  442. package/dist/features/interactive-ui/providers/shadcn/content-card.manifest.js +16 -0
  443. package/dist/features/interactive-ui/providers/shadcn/content-card.manifest.js.map +1 -0
  444. package/dist/features/interactive-ui/providers/shadcn/data-table.d.ts +13 -0
  445. package/dist/features/interactive-ui/providers/shadcn/data-table.d.ts.map +1 -0
  446. package/dist/features/interactive-ui/providers/shadcn/data-table.js +7 -0
  447. package/dist/features/interactive-ui/providers/shadcn/data-table.js.map +1 -0
  448. package/dist/features/interactive-ui/providers/shadcn/data-table.manifest.d.ts +47 -0
  449. package/dist/features/interactive-ui/providers/shadcn/data-table.manifest.d.ts.map +1 -0
  450. package/dist/features/interactive-ui/providers/shadcn/data-table.manifest.js +21 -0
  451. package/dist/features/interactive-ui/providers/shadcn/data-table.manifest.js.map +1 -0
  452. package/dist/features/interactive-ui/providers/shadcn/index.d.ts +15 -0
  453. package/dist/features/interactive-ui/providers/shadcn/index.d.ts.map +1 -0
  454. package/dist/features/interactive-ui/providers/shadcn/index.js +15 -0
  455. package/dist/features/interactive-ui/providers/shadcn/index.js.map +1 -0
  456. package/dist/features/interactive-ui/providers/shadcn/input.d.ts +8 -0
  457. package/dist/features/interactive-ui/providers/shadcn/input.d.ts.map +1 -0
  458. package/dist/features/interactive-ui/providers/shadcn/input.js +13 -0
  459. package/dist/features/interactive-ui/providers/shadcn/input.js.map +1 -0
  460. package/dist/features/interactive-ui/providers/shadcn/label.d.ts +11 -0
  461. package/dist/features/interactive-ui/providers/shadcn/label.d.ts.map +1 -0
  462. package/dist/features/interactive-ui/providers/shadcn/label.js +15 -0
  463. package/dist/features/interactive-ui/providers/shadcn/label.js.map +1 -0
  464. package/dist/features/interactive-ui/providers/shadcn/lib/utils.d.ts +9 -0
  465. package/dist/features/interactive-ui/providers/shadcn/lib/utils.d.ts.map +1 -0
  466. package/dist/features/interactive-ui/providers/shadcn/lib/utils.js +12 -0
  467. package/dist/features/interactive-ui/providers/shadcn/lib/utils.js.map +1 -0
  468. package/dist/features/interactive-ui/providers/shadcn/radio-group-field.d.ts +13 -0
  469. package/dist/features/interactive-ui/providers/shadcn/radio-group-field.d.ts.map +1 -0
  470. package/dist/features/interactive-ui/providers/shadcn/radio-group-field.js +14 -0
  471. package/dist/features/interactive-ui/providers/shadcn/radio-group-field.js.map +1 -0
  472. package/dist/features/interactive-ui/providers/shadcn/radio-group-field.manifest.d.ts +44 -0
  473. package/dist/features/interactive-ui/providers/shadcn/radio-group-field.manifest.d.ts.map +1 -0
  474. package/dist/features/interactive-ui/providers/shadcn/radio-group-field.manifest.js +16 -0
  475. package/dist/features/interactive-ui/providers/shadcn/radio-group-field.manifest.js.map +1 -0
  476. package/dist/features/interactive-ui/providers/shadcn/radio-group.d.ts +11 -0
  477. package/dist/features/interactive-ui/providers/shadcn/radio-group.d.ts.map +1 -0
  478. package/dist/features/interactive-ui/providers/shadcn/radio-group.js +20 -0
  479. package/dist/features/interactive-ui/providers/shadcn/radio-group.js.map +1 -0
  480. package/dist/features/interactive-ui/providers/shadcn/select-field.d.ts +14 -0
  481. package/dist/features/interactive-ui/providers/shadcn/select-field.d.ts.map +1 -0
  482. package/dist/features/interactive-ui/providers/shadcn/select-field.js +8 -0
  483. package/dist/features/interactive-ui/providers/shadcn/select-field.js.map +1 -0
  484. package/dist/features/interactive-ui/providers/shadcn/select-field.manifest.d.ts +47 -0
  485. package/dist/features/interactive-ui/providers/shadcn/select-field.manifest.d.ts.map +1 -0
  486. package/dist/features/interactive-ui/providers/shadcn/select-field.manifest.js +17 -0
  487. package/dist/features/interactive-ui/providers/shadcn/select-field.manifest.js.map +1 -0
  488. package/dist/features/interactive-ui/providers/shadcn/select.d.ts +19 -0
  489. package/dist/features/interactive-ui/providers/shadcn/select.d.ts.map +1 -0
  490. package/dist/features/interactive-ui/providers/shadcn/select.js +30 -0
  491. package/dist/features/interactive-ui/providers/shadcn/select.js.map +1 -0
  492. package/dist/features/interactive-ui/providers/shadcn/table.d.ts +17 -0
  493. package/dist/features/interactive-ui/providers/shadcn/table.d.ts.map +1 -0
  494. package/dist/features/interactive-ui/providers/shadcn/table.js +35 -0
  495. package/dist/features/interactive-ui/providers/shadcn/table.js.map +1 -0
  496. package/dist/features/interactive-ui/providers/shadcn/text-input-field.d.ts +16 -0
  497. package/dist/features/interactive-ui/providers/shadcn/text-input-field.d.ts.map +1 -0
  498. package/dist/features/interactive-ui/providers/shadcn/text-input-field.js +6 -0
  499. package/dist/features/interactive-ui/providers/shadcn/text-input-field.js.map +1 -0
  500. package/dist/features/interactive-ui/providers/shadcn/text-input-field.manifest.d.ts +20 -0
  501. package/dist/features/interactive-ui/providers/shadcn/text-input-field.manifest.d.ts.map +1 -0
  502. package/dist/features/interactive-ui/providers/shadcn/text-input-field.manifest.js +17 -0
  503. package/dist/features/interactive-ui/providers/shadcn/text-input-field.manifest.js.map +1 -0
  504. package/dist/features/interactive-ui/registry.d.ts +27 -0
  505. package/dist/features/interactive-ui/registry.d.ts.map +1 -0
  506. package/dist/features/interactive-ui/registry.js +27 -0
  507. package/dist/features/interactive-ui/registry.js.map +1 -0
  508. package/dist/features/interactive-ui/types.d.ts +18 -0
  509. package/dist/features/interactive-ui/types.d.ts.map +1 -0
  510. package/dist/features/interactive-ui/types.js.map +1 -0
  511. package/dist/features/language/index.d.ts.map +1 -0
  512. package/dist/features/language/index.js.map +1 -0
  513. package/dist/features/language/react/components/LanguageTab.d.ts.map +1 -0
  514. package/dist/features/language/react/components/LanguageTab.js +18 -0
  515. package/dist/features/language/react/components/LanguageTab.js.map +1 -0
  516. package/dist/features/language/types.d.ts +21 -0
  517. package/dist/features/language/types.d.ts.map +1 -0
  518. package/dist/features/language/types.js +2 -0
  519. package/dist/features/language/types.js.map +1 -0
  520. package/dist/features/list-detail-panel/types.d.ts +1 -1
  521. package/dist/features/list-detail-panel/types.js +1 -1
  522. package/dist/features/mcp-ui/confirmation-store.d.ts +110 -0
  523. package/dist/features/mcp-ui/confirmation-store.d.ts.map +1 -0
  524. package/dist/features/mcp-ui/confirmation-store.js +149 -0
  525. package/dist/features/mcp-ui/confirmation-store.js.map +1 -0
  526. package/dist/features/mcp-ui/early-message-buffer.d.ts +62 -0
  527. package/dist/features/mcp-ui/early-message-buffer.d.ts.map +1 -0
  528. package/dist/features/mcp-ui/early-message-buffer.js +69 -0
  529. package/dist/features/mcp-ui/early-message-buffer.js.map +1 -0
  530. package/dist/features/mcp-ui/escape.d.ts +51 -0
  531. package/dist/features/mcp-ui/escape.d.ts.map +1 -0
  532. package/dist/features/mcp-ui/escape.js +68 -0
  533. package/dist/features/mcp-ui/escape.js.map +1 -0
  534. package/dist/features/mcp-ui/index.d.ts +28 -0
  535. package/dist/features/mcp-ui/index.d.ts.map +1 -0
  536. package/dist/features/mcp-ui/index.js +28 -0
  537. package/dist/features/mcp-ui/index.js.map +1 -0
  538. package/dist/features/mcp-ui/protocol.d.ts +59 -0
  539. package/dist/features/mcp-ui/protocol.d.ts.map +1 -0
  540. package/dist/features/mcp-ui/protocol.js +58 -0
  541. package/dist/features/mcp-ui/protocol.js.map +1 -0
  542. package/dist/features/mcp-ui/resource.d.ts +192 -0
  543. package/dist/features/mcp-ui/resource.d.ts.map +1 -0
  544. package/dist/features/mcp-ui/resource.js +228 -0
  545. package/dist/features/mcp-ui/resource.js.map +1 -0
  546. package/dist/features/mcp-ui/sandbox-proxy.d.ts +132 -0
  547. package/dist/features/mcp-ui/sandbox-proxy.d.ts.map +1 -0
  548. package/dist/features/mcp-ui/sandbox-proxy.js +167 -0
  549. package/dist/features/mcp-ui/sandbox-proxy.js.map +1 -0
  550. package/dist/features/mcp-ui/surfaces/bridge.d.ts +43 -0
  551. package/dist/features/mcp-ui/surfaces/bridge.d.ts.map +1 -0
  552. package/dist/features/mcp-ui/surfaces/bridge.js +200 -0
  553. package/dist/features/mcp-ui/surfaces/bridge.js.map +1 -0
  554. package/dist/features/mcp-ui/surfaces/checkbox.d.ts +25 -0
  555. package/dist/features/mcp-ui/surfaces/checkbox.d.ts.map +1 -0
  556. package/dist/features/mcp-ui/surfaces/checkbox.js +26 -0
  557. package/dist/features/mcp-ui/surfaces/checkbox.js.map +1 -0
  558. package/dist/features/mcp-ui/surfaces/choice-group.d.ts +34 -0
  559. package/dist/features/mcp-ui/surfaces/choice-group.d.ts.map +1 -0
  560. package/dist/features/mcp-ui/surfaces/choice-group.js +70 -0
  561. package/dist/features/mcp-ui/surfaces/choice-group.js.map +1 -0
  562. package/dist/features/mcp-ui/surfaces/confirmation.d.ts +75 -0
  563. package/dist/features/mcp-ui/surfaces/confirmation.d.ts.map +1 -0
  564. package/dist/features/mcp-ui/surfaces/confirmation.js +148 -0
  565. package/dist/features/mcp-ui/surfaces/confirmation.js.map +1 -0
  566. package/dist/features/mcp-ui/surfaces/document.d.ts +173 -0
  567. package/dist/features/mcp-ui/surfaces/document.d.ts.map +1 -0
  568. package/dist/features/mcp-ui/surfaces/document.js +327 -0
  569. package/dist/features/mcp-ui/surfaces/document.js.map +1 -0
  570. package/dist/features/mcp-ui/surfaces/fields.d.ts +77 -0
  571. package/dist/features/mcp-ui/surfaces/fields.d.ts.map +1 -0
  572. package/dist/features/mcp-ui/surfaces/fields.js +97 -0
  573. package/dist/features/mcp-ui/surfaces/fields.js.map +1 -0
  574. package/dist/features/mcp-ui/surfaces/form.d.ts +78 -0
  575. package/dist/features/mcp-ui/surfaces/form.d.ts.map +1 -0
  576. package/dist/features/mcp-ui/surfaces/form.js +218 -0
  577. package/dist/features/mcp-ui/surfaces/form.js.map +1 -0
  578. package/dist/features/mcp-ui/surfaces/index.d.ts +12 -0
  579. package/dist/features/mcp-ui/surfaces/index.d.ts.map +1 -0
  580. package/dist/features/mcp-ui/surfaces/index.js +12 -0
  581. package/dist/features/mcp-ui/surfaces/index.js.map +1 -0
  582. package/dist/features/mcp-ui/surfaces/outcome.d.ts +102 -0
  583. package/dist/features/mcp-ui/surfaces/outcome.d.ts.map +1 -0
  584. package/dist/features/mcp-ui/surfaces/outcome.js +119 -0
  585. package/dist/features/mcp-ui/surfaces/outcome.js.map +1 -0
  586. package/dist/features/mcp-ui/surfaces/select.d.ts +35 -0
  587. package/dist/features/mcp-ui/surfaces/select.d.ts.map +1 -0
  588. package/dist/features/mcp-ui/surfaces/select.js +36 -0
  589. package/dist/features/mcp-ui/surfaces/select.js.map +1 -0
  590. package/dist/features/mcp-ui/surfaces/text-input.d.ts +35 -0
  591. package/dist/features/mcp-ui/surfaces/text-input.d.ts.map +1 -0
  592. package/dist/features/mcp-ui/surfaces/text-input.js +61 -0
  593. package/dist/features/mcp-ui/surfaces/text-input.js.map +1 -0
  594. package/dist/features/mcp-ui/surfaces/tokens.d.ts +106 -0
  595. package/dist/features/mcp-ui/surfaces/tokens.d.ts.map +1 -0
  596. package/dist/features/mcp-ui/surfaces/tokens.js +165 -0
  597. package/dist/features/mcp-ui/surfaces/tokens.js.map +1 -0
  598. package/dist/features/media-providers/constants.d.ts +10 -0
  599. package/dist/features/media-providers/constants.d.ts.map +1 -0
  600. package/dist/features/media-providers/constants.js +90 -0
  601. package/dist/features/media-providers/constants.js.map +1 -0
  602. package/dist/features/media-providers/dependencies.d.ts +27 -0
  603. package/dist/features/media-providers/dependencies.d.ts.map +1 -0
  604. package/dist/features/media-providers/dependencies.js +29 -0
  605. package/dist/features/media-providers/dependencies.js.map +1 -0
  606. package/dist/features/media-providers/index.d.ts +10 -0
  607. package/dist/features/media-providers/index.d.ts.map +1 -0
  608. package/dist/features/media-providers/index.js +6 -0
  609. package/dist/features/media-providers/index.js.map +1 -0
  610. package/dist/features/media-providers/ports.d.ts +51 -0
  611. package/dist/features/media-providers/ports.d.ts.map +1 -0
  612. package/dist/features/media-providers/ports.js +2 -0
  613. package/dist/features/media-providers/ports.js.map +1 -0
  614. package/dist/features/media-providers/react/components/MediaProvidersTab.d.ts +59 -0
  615. package/dist/features/media-providers/react/components/MediaProvidersTab.d.ts.map +1 -0
  616. package/dist/features/media-providers/react/components/MediaProvidersTab.js +92 -0
  617. package/dist/features/media-providers/react/components/MediaProvidersTab.js.map +1 -0
  618. package/dist/features/media-providers/react/hooks/useMediaProvidersTab.d.ts +58 -0
  619. package/dist/features/media-providers/react/hooks/useMediaProvidersTab.d.ts.map +1 -0
  620. package/dist/features/media-providers/react/hooks/useMediaProvidersTab.js +294 -0
  621. package/dist/features/media-providers/react/hooks/useMediaProvidersTab.js.map +1 -0
  622. package/dist/features/media-providers/rules.d.ts +139 -0
  623. package/dist/features/media-providers/rules.d.ts.map +1 -0
  624. package/dist/features/media-providers/rules.js +227 -0
  625. package/dist/features/media-providers/rules.js.map +1 -0
  626. package/dist/features/media-providers/types.d.ts +102 -0
  627. package/dist/features/media-providers/types.d.ts.map +1 -0
  628. package/dist/features/media-providers/types.js +27 -0
  629. package/dist/features/media-providers/types.js.map +1 -0
  630. package/dist/features/memory/constants.d.ts +0 -2
  631. package/dist/features/memory/constants.d.ts.map +1 -1
  632. package/dist/features/memory/constants.js +0 -9
  633. package/dist/features/memory/constants.js.map +1 -1
  634. package/dist/features/memory/dependencies.d.ts +1 -28
  635. package/dist/features/memory/dependencies.d.ts.map +1 -1
  636. package/dist/features/memory/dependencies.js +39 -23
  637. package/dist/features/memory/dependencies.js.map +1 -1
  638. package/dist/features/memory/formatters.d.ts +5 -2
  639. package/dist/features/memory/formatters.d.ts.map +1 -1
  640. package/dist/features/memory/formatters.js +1 -2
  641. package/dist/features/memory/formatters.js.map +1 -1
  642. package/dist/features/memory/index.d.ts +8 -8
  643. package/dist/features/memory/index.d.ts.map +1 -1
  644. package/dist/features/memory/index.js +6 -10
  645. package/dist/features/memory/index.js.map +1 -1
  646. package/dist/features/memory/ports.d.ts +1 -1
  647. package/dist/features/memory/react/components/MemoryConnectedPanel.d.ts +1 -1
  648. package/dist/features/memory/react/components/MemoryConnectedPanel.d.ts.map +1 -1
  649. package/dist/features/memory/react/components/MemoryConnectedPanel.js +2 -1
  650. package/dist/features/memory/react/components/MemoryConnectedPanel.js.map +1 -1
  651. package/dist/features/memory/react/components/MemoryEntryCard.d.ts.map +1 -1
  652. package/dist/features/memory/react/components/MemoryEntryCard.js +2 -1
  653. package/dist/features/memory/react/components/MemoryEntryCard.js.map +1 -1
  654. package/dist/features/memory/react/components/MemoryExtractionCard.d.ts.map +1 -1
  655. package/dist/features/memory/react/components/MemoryExtractionCard.js +1 -1
  656. package/dist/features/memory/react/components/MemoryExtractionCard.js.map +1 -1
  657. package/dist/features/memory/react/components/MemoryManualEditor.d.ts.map +1 -1
  658. package/dist/features/memory/react/components/MemoryManualEditor.js +2 -1
  659. package/dist/features/memory/react/components/MemoryManualEditor.js.map +1 -1
  660. package/dist/features/memory/react/components/MemorySettingsPanel.d.ts +22 -0
  661. package/dist/features/memory/react/components/MemorySettingsPanel.d.ts.map +1 -0
  662. package/dist/features/memory/react/components/MemorySettingsPanel.js +30 -0
  663. package/dist/features/memory/react/components/MemorySettingsPanel.js.map +1 -0
  664. package/dist/features/memory/react/hooks/useMemoryConfig.hooks.d.ts.map +1 -1
  665. package/dist/features/memory/react/hooks/useMemoryConfig.hooks.js +1 -1
  666. package/dist/features/memory/react/hooks/useMemoryConfig.hooks.js.map +1 -1
  667. package/dist/features/memory/react/hooks/useMemoryConnectors.hooks.d.ts +43 -1
  668. package/dist/features/memory/react/hooks/useMemoryConnectors.hooks.d.ts.map +1 -1
  669. package/dist/features/memory/react/hooks/useMemoryConnectors.hooks.js +99 -99
  670. package/dist/features/memory/react/hooks/useMemoryConnectors.hooks.js.map +1 -1
  671. package/dist/features/memory/react/hooks/useMemoryConnectors.rules.d.ts +54 -0
  672. package/dist/features/memory/react/hooks/useMemoryConnectors.rules.d.ts.map +1 -0
  673. package/dist/features/memory/react/hooks/useMemoryConnectors.rules.js +81 -0
  674. package/dist/features/memory/react/hooks/useMemoryConnectors.rules.js.map +1 -0
  675. package/dist/features/memory/react/hooks/useMemoryEntries.hooks.d.ts.map +1 -1
  676. package/dist/features/memory/react/hooks/useMemoryEntries.hooks.js +1 -1
  677. package/dist/features/memory/react/hooks/useMemoryEntries.hooks.js.map +1 -1
  678. package/dist/features/memory/react/hooks/useMemoryExtractions.hooks.d.ts.map +1 -1
  679. package/dist/features/memory/react/hooks/useMemoryExtractions.hooks.js.map +1 -1
  680. package/dist/features/memory/react/render-markdown.d.ts.map +1 -1
  681. package/dist/features/memory/react/render-markdown.js +3 -2
  682. package/dist/features/memory/react/render-markdown.js.map +1 -1
  683. package/dist/features/memory/react/styles.d.ts +11 -0
  684. package/dist/features/memory/react/styles.d.ts.map +1 -0
  685. package/dist/features/memory/react/styles.js +18 -0
  686. package/dist/features/memory/react/styles.js.map +1 -0
  687. package/dist/features/memory/rules.d.ts +1 -1
  688. package/dist/features/memory/rules.js +2 -2
  689. package/dist/features/memory/rules.js.map +1 -1
  690. package/dist/features/memory/types.d.ts +1 -1
  691. package/dist/features/memory/types.d.ts.map +1 -1
  692. package/dist/features/notifications/constants.d.ts.map +1 -0
  693. package/dist/features/notifications/constants.js +8 -0
  694. package/dist/features/notifications/constants.js.map +1 -0
  695. package/dist/features/notifications/index.d.ts +5 -0
  696. package/dist/features/notifications/index.d.ts.map +1 -0
  697. package/dist/features/notifications/index.js.map +1 -0
  698. package/dist/features/notifications/notifications-catalog.d.ts +25 -0
  699. package/dist/features/notifications/notifications-catalog.d.ts.map +1 -0
  700. package/dist/features/notifications/notifications-catalog.js +27 -0
  701. package/dist/features/notifications/notifications-catalog.js.map +1 -0
  702. package/dist/features/notifications/react/components/NotificationsTab.d.ts +48 -0
  703. package/dist/features/notifications/react/components/NotificationsTab.d.ts.map +1 -0
  704. package/dist/features/notifications/react/components/NotificationsTab.js +84 -0
  705. package/dist/features/notifications/react/components/NotificationsTab.js.map +1 -0
  706. package/dist/features/notifications/rules.d.ts +21 -0
  707. package/dist/features/notifications/rules.d.ts.map +1 -0
  708. package/dist/features/notifications/rules.js +7 -0
  709. package/dist/features/notifications/rules.js.map +1 -0
  710. package/dist/features/notifications/types.d.ts +15 -0
  711. package/dist/features/notifications/types.d.ts.map +1 -0
  712. package/dist/features/notifications/types.js +2 -0
  713. package/dist/features/notifications/types.js.map +1 -0
  714. package/dist/features/privacy/index.d.ts +5 -0
  715. package/dist/features/privacy/index.d.ts.map +1 -0
  716. package/dist/features/privacy/index.js.map +1 -0
  717. package/dist/features/privacy/react/components/PrivacyTab.d.ts +34 -0
  718. package/dist/features/privacy/react/components/PrivacyTab.d.ts.map +1 -0
  719. package/dist/features/privacy/react/components/PrivacyTab.js +36 -0
  720. package/dist/features/privacy/react/components/PrivacyTab.js.map +1 -0
  721. package/dist/features/privacy/rules.d.ts.map +1 -0
  722. package/dist/features/privacy/rules.js +70 -0
  723. package/dist/features/privacy/rules.js.map +1 -0
  724. package/dist/features/privacy/types.d.ts.map +1 -0
  725. package/dist/features/privacy/types.js.map +1 -0
  726. package/dist/features/project-locations/dependencies.d.ts +20 -0
  727. package/dist/features/project-locations/dependencies.d.ts.map +1 -0
  728. package/dist/features/project-locations/dependencies.js +45 -0
  729. package/dist/features/project-locations/dependencies.js.map +1 -0
  730. package/dist/features/project-locations/index.d.ts +9 -0
  731. package/dist/features/project-locations/index.d.ts.map +1 -0
  732. package/dist/features/project-locations/index.js +5 -0
  733. package/dist/features/project-locations/index.js.map +1 -0
  734. package/dist/features/project-locations/ports.d.ts +41 -0
  735. package/dist/features/project-locations/ports.d.ts.map +1 -0
  736. package/dist/features/project-locations/ports.js +2 -0
  737. package/dist/features/project-locations/ports.js.map +1 -0
  738. package/dist/features/project-locations/react/components/ProjectLocationsTab.d.ts +36 -0
  739. package/dist/features/project-locations/react/components/ProjectLocationsTab.d.ts.map +1 -0
  740. package/dist/features/project-locations/react/components/ProjectLocationsTab.js +53 -0
  741. package/dist/features/project-locations/react/components/ProjectLocationsTab.js.map +1 -0
  742. package/dist/features/project-locations/react/hooks/useProjectLocationsTab.d.ts +41 -0
  743. package/dist/features/project-locations/react/hooks/useProjectLocationsTab.d.ts.map +1 -0
  744. package/dist/features/project-locations/react/hooks/useProjectLocationsTab.js +157 -0
  745. package/dist/features/project-locations/react/hooks/useProjectLocationsTab.js.map +1 -0
  746. package/dist/features/project-locations/rules.d.ts +53 -0
  747. package/dist/features/project-locations/rules.d.ts.map +1 -0
  748. package/dist/features/project-locations/rules.js +82 -0
  749. package/dist/features/project-locations/rules.js.map +1 -0
  750. package/dist/features/project-locations/types.d.ts +78 -0
  751. package/dist/features/project-locations/types.d.ts.map +1 -0
  752. package/dist/features/project-locations/types.js +13 -0
  753. package/dist/features/project-locations/types.js.map +1 -0
  754. package/dist/features/resource-dashboard/types.d.ts +1 -1
  755. package/dist/features/resource-dashboard/types.js +1 -1
  756. package/dist/features/settings/dialog/index.d.ts +7 -0
  757. package/dist/features/settings/dialog/index.d.ts.map +1 -0
  758. package/dist/features/settings/dialog/index.js +8 -0
  759. package/dist/features/settings/dialog/index.js.map +1 -0
  760. package/dist/features/settings/dialog/react/components/SettingsDialogShell.d.ts +33 -0
  761. package/dist/features/settings/dialog/react/components/SettingsDialogShell.d.ts.map +1 -0
  762. package/dist/features/settings/dialog/react/components/SettingsDialogShell.js +32 -0
  763. package/dist/features/settings/dialog/react/components/SettingsDialogShell.js.map +1 -0
  764. package/dist/features/settings/dialog/react/hooks/useSettingsDialogShell.d.ts +11 -0
  765. package/dist/features/settings/dialog/react/hooks/useSettingsDialogShell.d.ts.map +1 -0
  766. package/dist/features/settings/dialog/react/hooks/useSettingsDialogShell.js +10 -0
  767. package/dist/features/settings/dialog/react/hooks/useSettingsDialogShell.js.map +1 -0
  768. package/dist/features/settings/dialog/styles/settings-dialog.css +4434 -0
  769. package/dist/features/skills/dependencies.d.ts +18 -0
  770. package/dist/features/skills/dependencies.d.ts.map +1 -0
  771. package/dist/features/skills/dependencies.js +82 -0
  772. package/dist/features/skills/dependencies.js.map +1 -0
  773. package/dist/features/skills/index.d.ts +13 -0
  774. package/dist/features/skills/index.d.ts.map +1 -0
  775. package/dist/features/skills/index.js +7 -0
  776. package/dist/features/skills/index.js.map +1 -0
  777. package/dist/features/skills/ports.d.ts +45 -0
  778. package/dist/features/skills/ports.d.ts.map +1 -0
  779. package/dist/features/skills/ports.js +2 -0
  780. package/dist/features/skills/ports.js.map +1 -0
  781. package/dist/features/skills/react/components/SkillDraftForm.d.ts +39 -0
  782. package/dist/features/skills/react/components/SkillDraftForm.d.ts.map +1 -0
  783. package/dist/features/skills/react/components/SkillDraftForm.js +29 -0
  784. package/dist/features/skills/react/components/SkillDraftForm.js.map +1 -0
  785. package/dist/features/skills/react/components/SkillRow.d.ts +54 -0
  786. package/dist/features/skills/react/components/SkillRow.d.ts.map +1 -0
  787. package/dist/features/skills/react/components/SkillRow.js +34 -0
  788. package/dist/features/skills/react/components/SkillRow.js.map +1 -0
  789. package/dist/features/skills/react/components/SkillsTab.d.ts +34 -0
  790. package/dist/features/skills/react/components/SkillsTab.d.ts.map +1 -0
  791. package/dist/features/skills/react/components/SkillsTab.js +33 -0
  792. package/dist/features/skills/react/components/SkillsTab.js.map +1 -0
  793. package/dist/features/skills/react/hooks/useSkillsTab.d.ts +70 -0
  794. package/dist/features/skills/react/hooks/useSkillsTab.d.ts.map +1 -0
  795. package/dist/features/skills/react/hooks/useSkillsTab.js +282 -0
  796. package/dist/features/skills/react/hooks/useSkillsTab.js.map +1 -0
  797. package/dist/features/skills/rules.d.ts +156 -0
  798. package/dist/features/skills/rules.d.ts.map +1 -0
  799. package/dist/features/skills/rules.js +272 -0
  800. package/dist/features/skills/rules.js.map +1 -0
  801. package/dist/features/skills/types.d.ts +97 -0
  802. package/dist/features/skills/types.d.ts.map +1 -0
  803. package/dist/features/skills/types.js +18 -0
  804. package/dist/features/skills/types.js.map +1 -0
  805. package/dist/features/source-config-list/agent-handles.d.ts +121 -0
  806. package/dist/features/source-config-list/agent-handles.d.ts.map +1 -0
  807. package/dist/features/source-config-list/agent-handles.js +151 -0
  808. package/dist/features/source-config-list/agent-handles.js.map +1 -0
  809. package/dist/features/source-config-list/index.d.ts +6 -5
  810. package/dist/features/source-config-list/index.d.ts.map +1 -1
  811. package/dist/features/source-config-list/index.js +3 -2
  812. package/dist/features/source-config-list/index.js.map +1 -1
  813. package/dist/features/source-config-list/react/components/SourceConfigAddForm.d.ts +28 -1
  814. package/dist/features/source-config-list/react/components/SourceConfigAddForm.d.ts.map +1 -1
  815. package/dist/features/source-config-list/react/components/SourceConfigAddForm.js +25 -4
  816. package/dist/features/source-config-list/react/components/SourceConfigAddForm.js.map +1 -1
  817. package/dist/features/source-config-list/react/components/SourceConfigField.d.ts +36 -1
  818. package/dist/features/source-config-list/react/components/SourceConfigField.d.ts.map +1 -1
  819. package/dist/features/source-config-list/react/components/SourceConfigField.js +74 -3
  820. package/dist/features/source-config-list/react/components/SourceConfigField.js.map +1 -1
  821. package/dist/features/source-config-list/react/components/SourceConfigItemCard.d.ts +39 -2
  822. package/dist/features/source-config-list/react/components/SourceConfigItemCard.d.ts.map +1 -1
  823. package/dist/features/source-config-list/react/components/SourceConfigItemCard.js +55 -4
  824. package/dist/features/source-config-list/react/components/SourceConfigItemCard.js.map +1 -1
  825. package/dist/features/source-config-list/react/components/SourceConfigList.d.ts +9 -3
  826. package/dist/features/source-config-list/react/components/SourceConfigList.d.ts.map +1 -1
  827. package/dist/features/source-config-list/react/components/SourceConfigList.js +2 -2
  828. package/dist/features/source-config-list/react/components/SourceConfigList.js.map +1 -1
  829. package/dist/features/source-config-list/react/components/SourceConfigListView.d.ts +13 -2
  830. package/dist/features/source-config-list/react/components/SourceConfigListView.d.ts.map +1 -1
  831. package/dist/features/source-config-list/react/components/SourceConfigListView.js +8 -2
  832. package/dist/features/source-config-list/react/components/SourceConfigListView.js.map +1 -1
  833. package/dist/features/source-config-list/react/components/SourceConfigTestControl.d.ts +18 -1
  834. package/dist/features/source-config-list/react/components/SourceConfigTestControl.d.ts.map +1 -1
  835. package/dist/features/source-config-list/react/components/SourceConfigTestControl.js +16 -2
  836. package/dist/features/source-config-list/react/components/SourceConfigTestControl.js.map +1 -1
  837. package/dist/features/source-config-list/react/hooks/useSourceConfigAddForm.d.ts.map +1 -1
  838. package/dist/features/source-config-list/react/hooks/useSourceConfigAddForm.js.map +1 -1
  839. package/dist/features/source-config-list/react/hooks/useSourceConfigList.d.ts +12 -1
  840. package/dist/features/source-config-list/react/hooks/useSourceConfigList.d.ts.map +1 -1
  841. package/dist/features/source-config-list/react/hooks/useSourceConfigList.js.map +1 -1
  842. package/dist/features/source-config-list/rules.d.ts +22 -5
  843. package/dist/features/source-config-list/rules.d.ts.map +1 -1
  844. package/dist/features/source-config-list/rules.js +56 -16
  845. package/dist/features/source-config-list/rules.js.map +1 -1
  846. package/dist/features/source-config-list/types.d.ts +16 -2
  847. package/dist/features/source-config-list/types.d.ts.map +1 -1
  848. package/dist/features/tab-strip/types.d.ts +1 -1
  849. package/dist/features/tabbed-dialog/index.d.ts +7 -0
  850. package/dist/features/tabbed-dialog/index.d.ts.map +1 -0
  851. package/dist/features/tabbed-dialog/index.js +4 -0
  852. package/dist/features/tabbed-dialog/index.js.map +1 -0
  853. package/dist/features/tabbed-dialog/react/components/TabbedDialog.d.ts +71 -0
  854. package/dist/features/tabbed-dialog/react/components/TabbedDialog.d.ts.map +1 -0
  855. package/dist/features/tabbed-dialog/react/components/TabbedDialog.js +72 -0
  856. package/dist/features/tabbed-dialog/react/components/TabbedDialog.js.map +1 -0
  857. package/dist/features/tabbed-dialog/react/hooks/useTabbedDialog.d.ts +39 -0
  858. package/dist/features/tabbed-dialog/react/hooks/useTabbedDialog.d.ts.map +1 -0
  859. package/dist/features/tabbed-dialog/react/hooks/useTabbedDialog.js +50 -0
  860. package/dist/features/tabbed-dialog/react/hooks/useTabbedDialog.js.map +1 -0
  861. package/dist/features/tabbed-dialog/rules.d.ts +13 -0
  862. package/dist/features/tabbed-dialog/rules.d.ts.map +1 -0
  863. package/dist/features/tabbed-dialog/rules.js.map +1 -0
  864. package/dist/features/tabbed-dialog/styles/tabbed-dialog.css +406 -0
  865. package/dist/features/tabbed-dialog/types.d.ts +51 -0
  866. package/dist/features/tabbed-dialog/types.d.ts.map +1 -0
  867. package/dist/features/tabbed-dialog/types.js +23 -0
  868. package/dist/features/tabbed-dialog/types.js.map +1 -0
  869. package/dist/features/viewer-shell/react/components/ViewportSwitcher.d.ts +1 -1
  870. package/dist/features/viewer-shell/react/components/ViewportSwitcher.js +1 -1
  871. package/dist/features/viewer-shell/rules.d.ts +1 -1
  872. package/dist/features/viewer-shell/rules.js +1 -1
  873. package/dist/icon-name.d.ts +21 -0
  874. package/dist/icon-name.d.ts.map +1 -0
  875. package/dist/icon-name.js +25 -0
  876. package/dist/icon-name.js.map +1 -0
  877. package/dist/index.d.ts +16 -9
  878. package/dist/index.d.ts.map +1 -1
  879. package/dist/index.js +32 -9
  880. package/dist/index.js.map +1 -1
  881. package/dist/react/components/AgentIcon.d.ts +5 -3
  882. package/dist/react/components/AgentIcon.d.ts.map +1 -1
  883. package/dist/react/components/AgentIcon.js +40 -13
  884. package/dist/react/components/AgentIcon.js.map +1 -1
  885. package/dist/react/components/AppChromeHeader.js +1 -1
  886. package/dist/react/components/AppChromeHeader.js.map +1 -1
  887. package/dist/react/components/CustomSelect.d.ts +19 -4
  888. package/dist/react/components/CustomSelect.d.ts.map +1 -1
  889. package/dist/react/components/CustomSelect.js +59 -12
  890. package/dist/react/components/CustomSelect.js.map +1 -1
  891. package/dist/react/components/EdgeScrollZones.js +1 -1
  892. package/dist/react/components/EdgeScrollZones.js.map +1 -1
  893. package/dist/react/components/ExportDiagnosticsButton.d.ts.map +1 -1
  894. package/dist/react/components/ExportDiagnosticsButton.js +5 -2
  895. package/dist/react/components/ExportDiagnosticsButton.js.map +1 -1
  896. package/dist/react/components/HeaderActionsMenu.d.ts +1 -1
  897. package/dist/react/components/HeaderActionsMenu.d.ts.map +1 -1
  898. package/dist/react/components/HeaderActionsMenu.js +1 -1
  899. package/dist/react/components/HeaderActionsMenu.js.map +1 -1
  900. package/dist/react/components/Icon.d.ts +7 -4
  901. package/dist/react/components/Icon.d.ts.map +1 -1
  902. package/dist/react/components/Icon.js +133 -213
  903. package/dist/react/components/Icon.js.map +1 -1
  904. package/dist/react/components/LanguageMenu.d.ts +2 -4
  905. package/dist/react/components/LanguageMenu.d.ts.map +1 -1
  906. package/dist/react/components/LanguageMenu.js +1 -1
  907. package/dist/react/components/LanguageMenu.js.map +1 -1
  908. package/dist/react/components/Loading.js +1 -1
  909. package/dist/react/components/Loading.js.map +1 -1
  910. package/dist/react/components/PaletteTweaks.js +1 -1
  911. package/dist/react/components/PaletteTweaks.js.map +1 -1
  912. package/dist/react/components/RemixIcon.d.ts +3 -3
  913. package/dist/react/components/RemixIcon.d.ts.map +1 -1
  914. package/dist/react/components/RemixIcon.js +39 -3
  915. package/dist/react/components/RemixIcon.js.map +1 -1
  916. package/dist/react/components/Toast.js +1 -1
  917. package/dist/react/components/Toast.js.map +1 -1
  918. package/dist/react/components/WorkingDirPicker.js +1 -1
  919. package/dist/react/components/WorkingDirPicker.js.map +1 -1
  920. package/dist/react/components/agent-icon-data-uris.generated.d.ts +2 -0
  921. package/dist/react/components/agent-icon-data-uris.generated.d.ts.map +1 -0
  922. package/dist/react/components/agent-icon-data-uris.generated.js +27 -0
  923. package/dist/react/components/agent-icon-data-uris.generated.js.map +1 -0
  924. package/dist/react/components/remixicon-font/remixicon.css +3270 -0
  925. package/dist/react/components/remixicon-font/remixicon.woff2 +0 -0
  926. package/dist/react/hooks/useBrandFonts.d.ts.map +1 -1
  927. package/dist/react/hooks/useBrandFonts.js +2 -3
  928. package/dist/react/hooks/useBrandFonts.js.map +1 -1
  929. package/dist/react/mcp-ui/McpUiHost.d.ts +19 -0
  930. package/dist/react/mcp-ui/McpUiHost.d.ts.map +1 -0
  931. package/dist/react/mcp-ui/McpUiHost.js +34 -0
  932. package/dist/react/mcp-ui/McpUiHost.js.map +1 -0
  933. package/dist/react/mcp-ui/host-message-source.d.ts +27 -0
  934. package/dist/react/mcp-ui/host-message-source.d.ts.map +1 -0
  935. package/dist/react/mcp-ui/host-message-source.js +33 -0
  936. package/dist/react/mcp-ui/host-message-source.js.map +1 -0
  937. package/dist/react/mcp-ui/index.d.ts +23 -0
  938. package/dist/react/mcp-ui/index.d.ts.map +1 -0
  939. package/dist/react/mcp-ui/index.js +26 -0
  940. package/dist/react/mcp-ui/index.js.map +1 -0
  941. package/dist/react/mcp-ui/useMcpUiHost.d.ts +160 -0
  942. package/dist/react/mcp-ui/useMcpUiHost.d.ts.map +1 -0
  943. package/dist/react/mcp-ui/useMcpUiHost.js +193 -0
  944. package/dist/react/mcp-ui/useMcpUiHost.js.map +1 -0
  945. package/dist/renderers/annotation-canvas/dependencies.d.ts +13 -0
  946. package/dist/renderers/annotation-canvas/dependencies.d.ts.map +1 -0
  947. package/dist/renderers/annotation-canvas/dependencies.js +8 -0
  948. package/dist/renderers/annotation-canvas/dependencies.js.map +1 -0
  949. package/dist/renderers/annotation-canvas/drawing.d.ts +39 -0
  950. package/dist/renderers/annotation-canvas/drawing.d.ts.map +1 -0
  951. package/dist/renderers/annotation-canvas/drawing.js +135 -0
  952. package/dist/renderers/annotation-canvas/drawing.js.map +1 -0
  953. package/dist/renderers/annotation-canvas/index.d.ts +13 -0
  954. package/dist/renderers/annotation-canvas/index.d.ts.map +1 -0
  955. package/dist/renderers/annotation-canvas/index.js +7 -0
  956. package/dist/renderers/annotation-canvas/index.js.map +1 -0
  957. package/dist/renderers/annotation-canvas/ports.d.ts +30 -0
  958. package/dist/renderers/annotation-canvas/ports.d.ts.map +1 -0
  959. package/dist/renderers/annotation-canvas/ports.js +2 -0
  960. package/dist/renderers/annotation-canvas/ports.js.map +1 -0
  961. package/dist/renderers/annotation-canvas/react/components/AnnotationCanvas.d.ts +24 -0
  962. package/dist/renderers/annotation-canvas/react/components/AnnotationCanvas.d.ts.map +1 -0
  963. package/dist/renderers/annotation-canvas/react/components/AnnotationCanvas.js +102 -0
  964. package/dist/renderers/annotation-canvas/react/components/AnnotationCanvas.js.map +1 -0
  965. package/dist/renderers/annotation-canvas/react/components/icons.d.ts +11 -0
  966. package/dist/renderers/annotation-canvas/react/components/icons.d.ts.map +1 -0
  967. package/dist/renderers/annotation-canvas/react/components/icons.js +21 -0
  968. package/dist/renderers/annotation-canvas/react/components/icons.js.map +1 -0
  969. package/dist/renderers/annotation-canvas/react/hooks/useAnnotationCanvas.controller.d.ts +146 -0
  970. package/dist/renderers/annotation-canvas/react/hooks/useAnnotationCanvas.controller.d.ts.map +1 -0
  971. package/dist/renderers/annotation-canvas/react/hooks/useAnnotationCanvas.controller.js +118 -0
  972. package/dist/renderers/annotation-canvas/react/hooks/useAnnotationCanvas.controller.js.map +1 -0
  973. package/dist/renderers/annotation-canvas/react/hooks/useAnnotationCanvas.d.ts +101 -0
  974. package/dist/renderers/annotation-canvas/react/hooks/useAnnotationCanvas.d.ts.map +1 -0
  975. package/dist/renderers/annotation-canvas/react/hooks/useAnnotationCanvas.js +834 -0
  976. package/dist/renderers/annotation-canvas/react/hooks/useAnnotationCanvas.js.map +1 -0
  977. package/dist/renderers/annotation-canvas/rules.d.ts +73 -0
  978. package/dist/renderers/annotation-canvas/rules.d.ts.map +1 -0
  979. package/dist/renderers/annotation-canvas/rules.js +177 -0
  980. package/dist/renderers/annotation-canvas/rules.js.map +1 -0
  981. package/dist/renderers/annotation-canvas/types.d.ts +108 -0
  982. package/dist/renderers/annotation-canvas/types.d.ts.map +1 -0
  983. package/dist/renderers/annotation-canvas/types.js +2 -0
  984. package/dist/renderers/annotation-canvas/types.js.map +1 -0
  985. package/dist/renderers/html-utils.d.ts +25 -0
  986. package/dist/renderers/html-utils.d.ts.map +1 -0
  987. package/dist/renderers/html-utils.js +53 -0
  988. package/dist/renderers/html-utils.js.map +1 -0
  989. package/dist/renderers/index.d.ts +45 -0
  990. package/dist/renderers/index.d.ts.map +1 -0
  991. package/dist/renderers/index.js +36 -0
  992. package/dist/renderers/index.js.map +1 -0
  993. package/dist/renderers/new-tab-preview.d.ts +22 -0
  994. package/dist/renderers/new-tab-preview.d.ts.map +1 -0
  995. package/dist/renderers/new-tab-preview.js +50 -0
  996. package/dist/renderers/new-tab-preview.js.map +1 -0
  997. package/dist/renderers/preview-modal-shell/index.d.ts +10 -0
  998. package/dist/renderers/preview-modal-shell/index.d.ts.map +1 -0
  999. package/dist/renderers/preview-modal-shell/index.js +5 -0
  1000. package/dist/renderers/preview-modal-shell/index.js.map +1 -0
  1001. package/dist/renderers/preview-modal-shell/react/components/PreviewModalShell.d.ts +62 -0
  1002. package/dist/renderers/preview-modal-shell/react/components/PreviewModalShell.d.ts.map +1 -0
  1003. package/dist/renderers/preview-modal-shell/react/components/PreviewModalShell.js +74 -0
  1004. package/dist/renderers/preview-modal-shell/react/components/PreviewModalShell.js.map +1 -0
  1005. package/dist/renderers/preview-modal-shell/react/components/icons.d.ts +12 -0
  1006. package/dist/renderers/preview-modal-shell/react/components/icons.d.ts.map +1 -0
  1007. package/dist/renderers/preview-modal-shell/react/components/icons.js +11 -0
  1008. package/dist/renderers/preview-modal-shell/react/components/icons.js.map +1 -0
  1009. package/dist/renderers/preview-modal-shell/react/hooks/usePreviewModalShell.d.ts +50 -0
  1010. package/dist/renderers/preview-modal-shell/react/hooks/usePreviewModalShell.d.ts.map +1 -0
  1011. package/dist/renderers/preview-modal-shell/react/hooks/usePreviewModalShell.js +171 -0
  1012. package/dist/renderers/preview-modal-shell/react/hooks/usePreviewModalShell.js.map +1 -0
  1013. package/dist/renderers/preview-modal-shell/rules.d.ts +44 -0
  1014. package/dist/renderers/preview-modal-shell/rules.d.ts.map +1 -0
  1015. package/dist/renderers/preview-modal-shell/rules.js +50 -0
  1016. package/dist/renderers/preview-modal-shell/rules.js.map +1 -0
  1017. package/dist/renderers/preview-modal-shell/types.d.ts +50 -0
  1018. package/dist/renderers/preview-modal-shell/types.d.ts.map +1 -0
  1019. package/dist/renderers/preview-modal-shell/types.js +14 -0
  1020. package/dist/renderers/preview-modal-shell/types.js.map +1 -0
  1021. package/dist/renderers/react/components/ArtifactView.d.ts +46 -0
  1022. package/dist/renderers/react/components/ArtifactView.d.ts.map +1 -0
  1023. package/dist/renderers/react/components/ArtifactView.js +35 -0
  1024. package/dist/renderers/react/components/ArtifactView.js.map +1 -0
  1025. package/dist/renderers/react/components/SrcDocSandbox.d.ts +13 -0
  1026. package/dist/renderers/react/components/SrcDocSandbox.d.ts.map +1 -0
  1027. package/dist/renderers/react/components/SrcDocSandbox.js +34 -0
  1028. package/dist/renderers/react/components/SrcDocSandbox.js.map +1 -0
  1029. package/dist/renderers/react/i18n.d.ts +30 -0
  1030. package/dist/renderers/react/i18n.d.ts.map +1 -0
  1031. package/dist/renderers/react/i18n.js +40 -0
  1032. package/dist/renderers/react/i18n.js.map +1 -0
  1033. package/dist/renderers/registry.d.ts +57 -0
  1034. package/dist/renderers/registry.d.ts.map +1 -0
  1035. package/dist/renderers/registry.js +39 -0
  1036. package/dist/renderers/registry.js.map +1 -0
  1037. package/dist/renderers/renderers/html.d.ts +10 -0
  1038. package/dist/renderers/renderers/html.d.ts.map +1 -0
  1039. package/dist/renderers/renderers/html.js +23 -0
  1040. package/dist/renderers/renderers/html.js.map +1 -0
  1041. package/dist/renderers/renderers/index.d.ts +12 -0
  1042. package/dist/renderers/renderers/index.d.ts.map +1 -0
  1043. package/dist/renderers/renderers/index.js +18 -0
  1044. package/dist/renderers/renderers/index.js.map +1 -0
  1045. package/dist/renderers/renderers/markdown.d.ts +4 -0
  1046. package/dist/renderers/renderers/markdown.d.ts.map +1 -0
  1047. package/dist/renderers/renderers/markdown.js +126 -0
  1048. package/dist/renderers/renderers/markdown.js.map +1 -0
  1049. package/dist/renderers/renderers/react-component.d.ts +10 -0
  1050. package/dist/renderers/renderers/react-component.d.ts.map +1 -0
  1051. package/dist/renderers/renderers/react-component.js +19 -0
  1052. package/dist/renderers/renderers/react-component.js.map +1 -0
  1053. package/dist/renderers/renderers/svg.d.ts +3 -0
  1054. package/dist/renderers/renderers/svg.d.ts.map +1 -0
  1055. package/dist/renderers/renderers/svg.js +14 -0
  1056. package/dist/renderers/renderers/svg.js.map +1 -0
  1057. package/dist/renderers/sandbox-bridge.d.ts +44 -0
  1058. package/dist/renderers/sandbox-bridge.d.ts.map +1 -0
  1059. package/dist/renderers/sandbox-bridge.js +46 -0
  1060. package/dist/renderers/sandbox-bridge.js.map +1 -0
  1061. package/dist/renderers/sandboxed-document.d.ts +34 -0
  1062. package/dist/renderers/sandboxed-document.d.ts.map +1 -0
  1063. package/dist/renderers/sandboxed-document.js +152 -0
  1064. package/dist/renderers/sandboxed-document.js.map +1 -0
  1065. package/dist/renderers/shiki.d.ts +2 -0
  1066. package/dist/renderers/shiki.d.ts.map +1 -0
  1067. package/dist/renderers/shiki.js +55 -0
  1068. package/dist/renderers/shiki.js.map +1 -0
  1069. package/dist/renderers/srcdoc/bridge.d.ts +37 -0
  1070. package/dist/renderers/srcdoc/bridge.d.ts.map +1 -0
  1071. package/dist/renderers/srcdoc/bridge.js +35 -0
  1072. package/dist/renderers/srcdoc/bridge.js.map +1 -0
  1073. package/dist/renderers/srcdoc/build.d.ts +130 -0
  1074. package/dist/renderers/srcdoc/build.d.ts.map +1 -0
  1075. package/dist/renderers/srcdoc/build.js +448 -0
  1076. package/dist/renderers/srcdoc/build.js.map +1 -0
  1077. package/dist/renderers/srcdoc/index.d.ts +3 -0
  1078. package/dist/renderers/srcdoc/index.d.ts.map +1 -0
  1079. package/dist/renderers/srcdoc/index.js +3 -0
  1080. package/dist/renderers/srcdoc/index.js.map +1 -0
  1081. package/dist/renderers/types.d.ts +98 -0
  1082. package/dist/renderers/types.d.ts.map +1 -0
  1083. package/dist/renderers/types.js +2 -0
  1084. package/dist/renderers/types.js.map +1 -0
  1085. package/dist/renderers/url-load-decision.d.ts +93 -0
  1086. package/dist/renderers/url-load-decision.d.ts.map +1 -0
  1087. package/dist/renderers/url-load-decision.js +116 -0
  1088. package/dist/renderers/url-load-decision.js.map +1 -0
  1089. package/dist/utils/appearance.d.ts +2 -16
  1090. package/dist/utils/appearance.d.ts.map +1 -1
  1091. package/dist/utils/appearance.js +11 -51
  1092. package/dist/utils/appearance.js.map +1 -1
  1093. package/dist/utils/endpoint-policy.d.ts +65 -0
  1094. package/dist/utils/endpoint-policy.d.ts.map +1 -0
  1095. package/dist/utils/endpoint-policy.js +157 -0
  1096. package/dist/utils/endpoint-policy.js.map +1 -0
  1097. package/dist/utils/file-transfer.d.ts +10 -0
  1098. package/dist/utils/file-transfer.d.ts.map +1 -1
  1099. package/dist/utils/file-transfer.js +22 -1
  1100. package/dist/utils/file-transfer.js.map +1 -1
  1101. package/dist/utils/notifications.d.ts +2 -9
  1102. package/dist/utils/notifications.d.ts.map +1 -1
  1103. package/dist/utils/notifications.js +1 -13
  1104. package/dist/utils/notifications.js.map +1 -1
  1105. package/package.json +123 -20
  1106. package/LICENSE +0 -201
  1107. package/dist/components/AgentIcon.d.ts +0 -15
  1108. package/dist/components/AgentIcon.d.ts.map +0 -1
  1109. package/dist/components/AgentIcon.js +0 -80
  1110. package/dist/components/AgentIcon.js.map +0 -1
  1111. package/dist/components/AppChromeHeader.d.ts +0 -19
  1112. package/dist/components/AppChromeHeader.d.ts.map +0 -1
  1113. package/dist/components/AppChromeHeader.js +0 -11
  1114. package/dist/components/AppChromeHeader.js.map +0 -1
  1115. package/dist/components/CustomSelect.d.ts +0 -28
  1116. package/dist/components/CustomSelect.d.ts.map +0 -1
  1117. package/dist/components/CustomSelect.js +0 -167
  1118. package/dist/components/CustomSelect.js.map +0 -1
  1119. package/dist/components/ExportDiagnosticsButton.d.ts +0 -40
  1120. package/dist/components/ExportDiagnosticsButton.d.ts.map +0 -1
  1121. package/dist/components/ExportDiagnosticsButton.js +0 -112
  1122. package/dist/components/ExportDiagnosticsButton.js.map +0 -1
  1123. package/dist/components/Icon.d.ts +0 -15
  1124. package/dist/components/Icon.d.ts.map +0 -1
  1125. package/dist/components/Icon.js +0 -236
  1126. package/dist/components/Icon.js.map +0 -1
  1127. package/dist/components/KitErrorBoundary.d.ts +0 -13
  1128. package/dist/components/KitErrorBoundary.d.ts.map +0 -1
  1129. package/dist/components/KitErrorBoundary.js +0 -30
  1130. package/dist/components/KitErrorBoundary.js.map +0 -1
  1131. package/dist/components/LanguageMenu.d.ts +0 -23
  1132. package/dist/components/LanguageMenu.d.ts.map +0 -1
  1133. package/dist/components/LanguageMenu.js +0 -44
  1134. package/dist/components/LanguageMenu.js.map +0 -1
  1135. package/dist/components/Loading.d.ts +0 -27
  1136. package/dist/components/Loading.d.ts.map +0 -1
  1137. package/dist/components/Loading.js +0 -24
  1138. package/dist/components/Loading.js.map +0 -1
  1139. package/dist/components/PaletteTweaks.d.ts +0 -11
  1140. package/dist/components/PaletteTweaks.d.ts.map +0 -1
  1141. package/dist/components/PaletteTweaks.js +0 -65
  1142. package/dist/components/PaletteTweaks.js.map +0 -1
  1143. package/dist/components/RemixIcon.d.ts +0 -15
  1144. package/dist/components/RemixIcon.d.ts.map +0 -1
  1145. package/dist/components/RemixIcon.js +0 -19
  1146. package/dist/components/RemixIcon.js.map +0 -1
  1147. package/dist/components/Toast.d.ts +0 -18
  1148. package/dist/components/Toast.d.ts.map +0 -1
  1149. package/dist/components/Toast.js +0 -70
  1150. package/dist/components/Toast.js.map +0 -1
  1151. package/dist/components/TooltipLayer.d.ts +0 -9
  1152. package/dist/components/TooltipLayer.d.ts.map +0 -1
  1153. package/dist/components/TooltipLayer.js +0 -289
  1154. package/dist/components/TooltipLayer.js.map +0 -1
  1155. package/dist/components/WorkingDirPicker.d.ts +0 -47
  1156. package/dist/components/WorkingDirPicker.d.ts.map +0 -1
  1157. package/dist/components/WorkingDirPicker.js +0 -63
  1158. package/dist/components/WorkingDirPicker.js.map +0 -1
  1159. package/dist/features/agent-tools/model-context.d.ts +0 -30
  1160. package/dist/features/agent-tools/model-context.d.ts.map +0 -1
  1161. package/dist/features/agent-tools/model-context.js +0 -29
  1162. package/dist/features/agent-tools/model-context.js.map +0 -1
  1163. package/dist/features/agent-tools/types.d.ts +0 -34
  1164. package/dist/features/agent-tools/types.d.ts.map +0 -1
  1165. package/dist/features/agent-tools/types.js +0 -18
  1166. package/dist/features/agent-tools/types.js.map +0 -1
  1167. package/dist/features/rich-text-input/constants.d.ts +0 -16
  1168. package/dist/features/rich-text-input/constants.d.ts.map +0 -1
  1169. package/dist/features/rich-text-input/constants.js +0 -18
  1170. package/dist/features/rich-text-input/constants.js.map +0 -1
  1171. package/dist/features/rich-text-input/deserialize.d.ts +0 -9
  1172. package/dist/features/rich-text-input/deserialize.d.ts.map +0 -1
  1173. package/dist/features/rich-text-input/deserialize.js +0 -55
  1174. package/dist/features/rich-text-input/deserialize.js.map +0 -1
  1175. package/dist/features/rich-text-input/index.d.ts +0 -12
  1176. package/dist/features/rich-text-input/index.d.ts.map +0 -1
  1177. package/dist/features/rich-text-input/index.js +0 -11
  1178. package/dist/features/rich-text-input/index.js.map +0 -1
  1179. package/dist/features/rich-text-input/mention-node.d.ts +0 -56
  1180. package/dist/features/rich-text-input/mention-node.d.ts.map +0 -1
  1181. package/dist/features/rich-text-input/mention-node.js +0 -142
  1182. package/dist/features/rich-text-input/mention-node.js.map +0 -1
  1183. package/dist/features/rich-text-input/mention-parser.d.ts +0 -47
  1184. package/dist/features/rich-text-input/mention-parser.d.ts.map +0 -1
  1185. package/dist/features/rich-text-input/mention-parser.js +0 -239
  1186. package/dist/features/rich-text-input/mention-parser.js.map +0 -1
  1187. package/dist/features/rich-text-input/react/components/CaretFloatingLayer.d.ts +0 -20
  1188. package/dist/features/rich-text-input/react/components/CaretFloatingLayer.d.ts.map +0 -1
  1189. package/dist/features/rich-text-input/react/components/CaretFloatingLayer.js +0 -33
  1190. package/dist/features/rich-text-input/react/components/CaretFloatingLayer.js.map +0 -1
  1191. package/dist/features/rich-text-input/react/components/RichTextInput.d.ts +0 -61
  1192. package/dist/features/rich-text-input/react/components/RichTextInput.d.ts.map +0 -1
  1193. package/dist/features/rich-text-input/react/components/RichTextInput.js +0 -154
  1194. package/dist/features/rich-text-input/react/components/RichTextInput.js.map +0 -1
  1195. package/dist/features/rich-text-input/react/hooks/useCaretFloatingLayerPosition.d.ts +0 -15
  1196. package/dist/features/rich-text-input/react/hooks/useCaretFloatingLayerPosition.d.ts.map +0 -1
  1197. package/dist/features/rich-text-input/react/hooks/useCaretFloatingLayerPosition.js +0 -54
  1198. package/dist/features/rich-text-input/react/hooks/useCaretFloatingLayerPosition.js.map +0 -1
  1199. package/dist/features/rich-text-input/react/hooks/useKeyboardCommands.d.ts +0 -11
  1200. package/dist/features/rich-text-input/react/hooks/useKeyboardCommands.d.ts.map +0 -1
  1201. package/dist/features/rich-text-input/react/hooks/useKeyboardCommands.js +0 -70
  1202. package/dist/features/rich-text-input/react/hooks/useKeyboardCommands.js.map +0 -1
  1203. package/dist/features/rich-text-input/react/hooks/useMentionAtomicNavigation.d.ts +0 -8
  1204. package/dist/features/rich-text-input/react/hooks/useMentionAtomicNavigation.d.ts.map +0 -1
  1205. package/dist/features/rich-text-input/react/hooks/useMentionAtomicNavigation.js +0 -63
  1206. package/dist/features/rich-text-input/react/hooks/useMentionAtomicNavigation.js.map +0 -1
  1207. package/dist/features/rich-text-input/react/hooks/useMentionColorStamping.d.ts +0 -18
  1208. package/dist/features/rich-text-input/react/hooks/useMentionColorStamping.d.ts.map +0 -1
  1209. package/dist/features/rich-text-input/react/hooks/useMentionColorStamping.js +0 -64
  1210. package/dist/features/rich-text-input/react/hooks/useMentionColorStamping.js.map +0 -1
  1211. package/dist/features/rich-text-input/react/hooks/usePasteFiles.d.ts +0 -5
  1212. package/dist/features/rich-text-input/react/hooks/usePasteFiles.d.ts.map +0 -1
  1213. package/dist/features/rich-text-input/react/hooks/usePasteFiles.js +0 -24
  1214. package/dist/features/rich-text-input/react/hooks/usePasteFiles.js.map +0 -1
  1215. package/dist/features/rich-text-input/react/hooks/useSeededValue.d.ts +0 -21
  1216. package/dist/features/rich-text-input/react/hooks/useSeededValue.d.ts.map +0 -1
  1217. package/dist/features/rich-text-input/react/hooks/useSeededValue.js +0 -35
  1218. package/dist/features/rich-text-input/react/hooks/useSeededValue.js.map +0 -1
  1219. package/dist/features/rich-text-input/react/hooks/useSyncedOnChange.d.ts +0 -10
  1220. package/dist/features/rich-text-input/react/hooks/useSyncedOnChange.d.ts.map +0 -1
  1221. package/dist/features/rich-text-input/react/hooks/useSyncedOnChange.js +0 -29
  1222. package/dist/features/rich-text-input/react/hooks/useSyncedOnChange.js.map +0 -1
  1223. package/dist/features/rich-text-input/react/hooks/useTriggerDetection.d.ts +0 -6
  1224. package/dist/features/rich-text-input/react/hooks/useTriggerDetection.d.ts.map +0 -1
  1225. package/dist/features/rich-text-input/react/hooks/useTriggerDetection.js +0 -39
  1226. package/dist/features/rich-text-input/react/hooks/useTriggerDetection.js.map +0 -1
  1227. package/dist/features/rich-text-input/react/test-support/lexical-harness.d.ts +0 -11
  1228. package/dist/features/rich-text-input/react/test-support/lexical-harness.d.ts.map +0 -1
  1229. package/dist/features/rich-text-input/react/test-support/lexical-harness.js +0 -35
  1230. package/dist/features/rich-text-input/react/test-support/lexical-harness.js.map +0 -1
  1231. package/dist/features/rich-text-input/rules.d.ts +0 -83
  1232. package/dist/features/rich-text-input/rules.d.ts.map +0 -1
  1233. package/dist/features/rich-text-input/rules.js +0 -317
  1234. package/dist/features/rich-text-input/rules.js.map +0 -1
  1235. package/dist/features/rich-text-input/serialize.d.ts +0 -8
  1236. package/dist/features/rich-text-input/serialize.d.ts.map +0 -1
  1237. package/dist/features/rich-text-input/serialize.js +0 -44
  1238. package/dist/features/rich-text-input/serialize.js.map +0 -1
  1239. package/dist/features/rich-text-input/types.d.ts +0 -83
  1240. package/dist/features/rich-text-input/types.d.ts.map +0 -1
  1241. package/dist/features/rich-text-input/types.js +0 -15
  1242. package/dist/features/rich-text-input/types.js.map +0 -1
  1243. package/dist/features/settings-dialog/index.d.ts +0 -7
  1244. package/dist/features/settings-dialog/index.d.ts.map +0 -1
  1245. package/dist/features/settings-dialog/index.js +0 -4
  1246. package/dist/features/settings-dialog/index.js.map +0 -1
  1247. package/dist/features/settings-dialog/react/components/SettingsDialogShell.d.ts +0 -49
  1248. package/dist/features/settings-dialog/react/components/SettingsDialogShell.d.ts.map +0 -1
  1249. package/dist/features/settings-dialog/react/components/SettingsDialogShell.js +0 -55
  1250. package/dist/features/settings-dialog/react/components/SettingsDialogShell.js.map +0 -1
  1251. package/dist/features/settings-dialog/react/hooks/useSettingsDialogShell.d.ts +0 -39
  1252. package/dist/features/settings-dialog/react/hooks/useSettingsDialogShell.d.ts.map +0 -1
  1253. package/dist/features/settings-dialog/react/hooks/useSettingsDialogShell.js +0 -50
  1254. package/dist/features/settings-dialog/react/hooks/useSettingsDialogShell.js.map +0 -1
  1255. package/dist/features/settings-dialog/rules.d.ts +0 -13
  1256. package/dist/features/settings-dialog/rules.d.ts.map +0 -1
  1257. package/dist/features/settings-dialog/rules.js.map +0 -1
  1258. package/dist/features/settings-dialog/tabs/appearance/constants.d.ts +0 -12
  1259. package/dist/features/settings-dialog/tabs/appearance/constants.d.ts.map +0 -1
  1260. package/dist/features/settings-dialog/tabs/appearance/constants.js +0 -10
  1261. package/dist/features/settings-dialog/tabs/appearance/constants.js.map +0 -1
  1262. package/dist/features/settings-dialog/tabs/appearance/index.d.ts +0 -6
  1263. package/dist/features/settings-dialog/tabs/appearance/index.d.ts.map +0 -1
  1264. package/dist/features/settings-dialog/tabs/appearance/index.js.map +0 -1
  1265. package/dist/features/settings-dialog/tabs/appearance/react/components/AppearanceTab.d.ts.map +0 -1
  1266. package/dist/features/settings-dialog/tabs/appearance/react/components/AppearanceTab.js +0 -31
  1267. package/dist/features/settings-dialog/tabs/appearance/react/components/AppearanceTab.js.map +0 -1
  1268. package/dist/features/settings-dialog/tabs/appearance/types.d.ts +0 -12
  1269. package/dist/features/settings-dialog/tabs/appearance/types.d.ts.map +0 -1
  1270. package/dist/features/settings-dialog/tabs/appearance/types.js +0 -8
  1271. package/dist/features/settings-dialog/tabs/appearance/types.js.map +0 -1
  1272. package/dist/features/settings-dialog/tabs/instructions/index.d.ts.map +0 -1
  1273. package/dist/features/settings-dialog/tabs/instructions/index.js.map +0 -1
  1274. package/dist/features/settings-dialog/tabs/instructions/react/components/InstructionsTab.d.ts.map +0 -1
  1275. package/dist/features/settings-dialog/tabs/instructions/react/components/InstructionsTab.js +0 -16
  1276. package/dist/features/settings-dialog/tabs/instructions/react/components/InstructionsTab.js.map +0 -1
  1277. package/dist/features/settings-dialog/tabs/integrations/constants.d.ts.map +0 -1
  1278. package/dist/features/settings-dialog/tabs/integrations/constants.js.map +0 -1
  1279. package/dist/features/settings-dialog/tabs/integrations/dependencies.d.ts.map +0 -1
  1280. package/dist/features/settings-dialog/tabs/integrations/dependencies.js.map +0 -1
  1281. package/dist/features/settings-dialog/tabs/integrations/index.d.ts +0 -19
  1282. package/dist/features/settings-dialog/tabs/integrations/index.d.ts.map +0 -1
  1283. package/dist/features/settings-dialog/tabs/integrations/index.js +0 -10
  1284. package/dist/features/settings-dialog/tabs/integrations/index.js.map +0 -1
  1285. package/dist/features/settings-dialog/tabs/integrations/ports.d.ts.map +0 -1
  1286. package/dist/features/settings-dialog/tabs/integrations/ports.js.map +0 -1
  1287. package/dist/features/settings-dialog/tabs/integrations/react/components/ClientPicker.d.ts.map +0 -1
  1288. package/dist/features/settings-dialog/tabs/integrations/react/components/ClientPicker.js +0 -31
  1289. package/dist/features/settings-dialog/tabs/integrations/react/components/ClientPicker.js.map +0 -1
  1290. package/dist/features/settings-dialog/tabs/integrations/react/components/CodexInstallToggleButton.d.ts.map +0 -1
  1291. package/dist/features/settings-dialog/tabs/integrations/react/components/CodexInstallToggleButton.js +0 -21
  1292. package/dist/features/settings-dialog/tabs/integrations/react/components/CodexInstallToggleButton.js.map +0 -1
  1293. package/dist/features/settings-dialog/tabs/integrations/react/components/IntegrationsTab.d.ts +0 -27
  1294. package/dist/features/settings-dialog/tabs/integrations/react/components/IntegrationsTab.d.ts.map +0 -1
  1295. package/dist/features/settings-dialog/tabs/integrations/react/components/IntegrationsTab.js +0 -54
  1296. package/dist/features/settings-dialog/tabs/integrations/react/components/IntegrationsTab.js.map +0 -1
  1297. package/dist/features/settings-dialog/tabs/integrations/react/components/SnippetBlock.d.ts.map +0 -1
  1298. package/dist/features/settings-dialog/tabs/integrations/react/components/SnippetBlock.js +0 -53
  1299. package/dist/features/settings-dialog/tabs/integrations/react/components/SnippetBlock.js.map +0 -1
  1300. package/dist/features/settings-dialog/tabs/integrations/react/hooks/useCodexInstallToggle.d.ts.map +0 -1
  1301. package/dist/features/settings-dialog/tabs/integrations/react/hooks/useCodexInstallToggle.js.map +0 -1
  1302. package/dist/features/settings-dialog/tabs/integrations/react/hooks/useMcpInstallInfo.d.ts.map +0 -1
  1303. package/dist/features/settings-dialog/tabs/integrations/react/hooks/useMcpInstallInfo.js.map +0 -1
  1304. package/dist/features/settings-dialog/tabs/integrations/rules.d.ts +0 -45
  1305. package/dist/features/settings-dialog/tabs/integrations/rules.d.ts.map +0 -1
  1306. package/dist/features/settings-dialog/tabs/integrations/rules.js +0 -181
  1307. package/dist/features/settings-dialog/tabs/integrations/rules.js.map +0 -1
  1308. package/dist/features/settings-dialog/tabs/integrations/types.d.ts +0 -58
  1309. package/dist/features/settings-dialog/tabs/integrations/types.d.ts.map +0 -1
  1310. package/dist/features/settings-dialog/tabs/integrations/types.js +0 -15
  1311. package/dist/features/settings-dialog/tabs/integrations/types.js.map +0 -1
  1312. package/dist/features/settings-dialog/tabs/language/index.d.ts.map +0 -1
  1313. package/dist/features/settings-dialog/tabs/language/index.js.map +0 -1
  1314. package/dist/features/settings-dialog/tabs/language/react/components/LanguageTab.d.ts.map +0 -1
  1315. package/dist/features/settings-dialog/tabs/language/react/components/LanguageTab.js +0 -18
  1316. package/dist/features/settings-dialog/tabs/language/react/components/LanguageTab.js.map +0 -1
  1317. package/dist/features/settings-dialog/tabs/language/types.d.ts +0 -15
  1318. package/dist/features/settings-dialog/tabs/language/types.d.ts.map +0 -1
  1319. package/dist/features/settings-dialog/tabs/language/types.js.map +0 -1
  1320. package/dist/features/settings-dialog/tabs/notifications/constants.d.ts.map +0 -1
  1321. package/dist/features/settings-dialog/tabs/notifications/constants.js +0 -8
  1322. package/dist/features/settings-dialog/tabs/notifications/constants.js.map +0 -1
  1323. package/dist/features/settings-dialog/tabs/notifications/index.d.ts +0 -5
  1324. package/dist/features/settings-dialog/tabs/notifications/index.d.ts.map +0 -1
  1325. package/dist/features/settings-dialog/tabs/notifications/index.js.map +0 -1
  1326. package/dist/features/settings-dialog/tabs/notifications/react/components/NotificationsTab.d.ts +0 -33
  1327. package/dist/features/settings-dialog/tabs/notifications/react/components/NotificationsTab.d.ts.map +0 -1
  1328. package/dist/features/settings-dialog/tabs/notifications/react/components/NotificationsTab.js +0 -71
  1329. package/dist/features/settings-dialog/tabs/notifications/react/components/NotificationsTab.js.map +0 -1
  1330. package/dist/features/settings-dialog/tabs/notifications/types.d.ts +0 -15
  1331. package/dist/features/settings-dialog/tabs/notifications/types.d.ts.map +0 -1
  1332. package/dist/features/settings-dialog/tabs/notifications/types.js.map +0 -1
  1333. package/dist/features/settings-dialog/tabs/privacy/index.d.ts +0 -5
  1334. package/dist/features/settings-dialog/tabs/privacy/index.d.ts.map +0 -1
  1335. package/dist/features/settings-dialog/tabs/privacy/index.js.map +0 -1
  1336. package/dist/features/settings-dialog/tabs/privacy/react/components/PrivacyTab.d.ts +0 -34
  1337. package/dist/features/settings-dialog/tabs/privacy/react/components/PrivacyTab.d.ts.map +0 -1
  1338. package/dist/features/settings-dialog/tabs/privacy/react/components/PrivacyTab.js +0 -36
  1339. package/dist/features/settings-dialog/tabs/privacy/react/components/PrivacyTab.js.map +0 -1
  1340. package/dist/features/settings-dialog/tabs/privacy/rules.d.ts.map +0 -1
  1341. package/dist/features/settings-dialog/tabs/privacy/rules.js +0 -70
  1342. package/dist/features/settings-dialog/tabs/privacy/rules.js.map +0 -1
  1343. package/dist/features/settings-dialog/tabs/privacy/types.d.ts.map +0 -1
  1344. package/dist/features/settings-dialog/tabs/privacy/types.js.map +0 -1
  1345. package/dist/features/settings-dialog/types.d.ts +0 -46
  1346. package/dist/features/settings-dialog/types.d.ts.map +0 -1
  1347. package/dist/features/settings-dialog/types.js +0 -18
  1348. package/dist/features/settings-dialog/types.js.map +0 -1
  1349. package/dist/hooks/useCoalescedCallback.d.ts +0 -35
  1350. package/dist/hooks/useCoalescedCallback.d.ts.map +0 -1
  1351. package/dist/hooks/useCoalescedCallback.js +0 -61
  1352. package/dist/hooks/useCoalescedCallback.js.map +0 -1
  1353. package/dist/hooks/useDebouncedValue.d.ts +0 -2
  1354. package/dist/hooks/useDebouncedValue.d.ts.map +0 -1
  1355. package/dist/hooks/useDebouncedValue.js +0 -14
  1356. package/dist/hooks/useDebouncedValue.js.map +0 -1
  1357. package/dist/hooks/useInView.d.ts +0 -19
  1358. package/dist/hooks/useInView.d.ts.map +0 -1
  1359. package/dist/hooks/useInView.js +0 -39
  1360. package/dist/hooks/useInView.js.map +0 -1
  1361. package/dist/hooks/useResizableSplitPane.d.ts +0 -44
  1362. package/dist/hooks/useResizableSplitPane.d.ts.map +0 -1
  1363. package/dist/hooks/useResizableSplitPane.js +0 -259
  1364. package/dist/hooks/useResizableSplitPane.js.map +0 -1
  1365. package/dist/hooks/useStableHandler.d.ts +0 -10
  1366. package/dist/hooks/useStableHandler.d.ts.map +0 -1
  1367. package/dist/hooks/useStableHandler.js +0 -17
  1368. package/dist/hooks/useStableHandler.js.map +0 -1
  1369. package/dist/vitest-chat-entry.d.ts +0 -13
  1370. package/dist/vitest-chat-entry.d.ts.map +0 -1
  1371. package/dist/vitest-chat-entry.js +0 -13
  1372. package/dist/vitest-chat-entry.js.map +0 -1
  1373. /package/dist/features/{settings-dialog/tabs/appearance → appearance}/index.js +0 -0
  1374. /package/dist/features/{settings-dialog/tabs/appearance → appearance}/react/components/AppearanceTab.d.ts +0 -0
  1375. /package/dist/features/{settings-dialog/tabs/integrations → execution}/ports.js +0 -0
  1376. /package/dist/features/{settings-dialog/tabs/language → i18n/dictionaries}/types.js +0 -0
  1377. /package/dist/features/{settings-dialog/tabs/instructions → instructions}/index.d.ts +0 -0
  1378. /package/dist/features/{settings-dialog/tabs/instructions → instructions}/index.js +0 -0
  1379. /package/dist/features/{settings-dialog/tabs/instructions → instructions}/react/components/InstructionsTab.d.ts +0 -0
  1380. /package/dist/features/{settings-dialog/tabs/integrations → integrations}/constants.d.ts +0 -0
  1381. /package/dist/features/{settings-dialog/tabs/integrations → integrations}/constants.js +0 -0
  1382. /package/dist/features/{settings-dialog/tabs/integrations → integrations}/dependencies.d.ts +0 -0
  1383. /package/dist/features/{settings-dialog/tabs/integrations → integrations}/dependencies.js +0 -0
  1384. /package/dist/features/{settings-dialog/tabs/integrations → integrations}/ports.d.ts +0 -0
  1385. /package/dist/features/{settings-dialog/tabs/integrations → integrations}/react/components/ClientPicker.d.ts +0 -0
  1386. /package/dist/features/{settings-dialog/tabs/integrations → integrations}/react/components/CodexInstallToggleButton.d.ts +0 -0
  1387. /package/dist/features/{settings-dialog/tabs/integrations → integrations}/react/components/SnippetBlock.d.ts +0 -0
  1388. /package/dist/features/{settings-dialog/tabs/integrations → integrations}/react/hooks/useCodexInstallToggle.d.ts +0 -0
  1389. /package/dist/features/{settings-dialog/tabs/integrations → integrations}/react/hooks/useCodexInstallToggle.js +0 -0
  1390. /package/dist/features/{settings-dialog/tabs/integrations → integrations}/react/hooks/useMcpInstallInfo.d.ts +0 -0
  1391. /package/dist/features/{settings-dialog/tabs/integrations → integrations}/react/hooks/useMcpInstallInfo.js +0 -0
  1392. /package/dist/features/{settings-dialog/tabs/notifications → interactive-ui}/types.js +0 -0
  1393. /package/dist/features/{settings-dialog/tabs/language → language}/index.d.ts +0 -0
  1394. /package/dist/features/{settings-dialog/tabs/language → language}/index.js +0 -0
  1395. /package/dist/features/{settings-dialog/tabs/language → language}/react/components/LanguageTab.d.ts +0 -0
  1396. /package/dist/features/{settings-dialog/tabs/notifications → notifications}/constants.d.ts +0 -0
  1397. /package/dist/features/{settings-dialog/tabs/notifications → notifications}/index.js +0 -0
  1398. /package/dist/features/{settings-dialog/tabs/privacy → privacy}/index.js +0 -0
  1399. /package/dist/features/{settings-dialog/tabs/privacy → privacy}/rules.d.ts +0 -0
  1400. /package/dist/features/{settings-dialog/tabs/privacy → privacy}/types.d.ts +0 -0
  1401. /package/dist/features/{settings-dialog/tabs/privacy → privacy}/types.js +0 -0
  1402. /package/dist/features/{settings-dialog → tabbed-dialog}/rules.js +0 -0
@@ -1,49 +0,0 @@
1
- import type { ReactNode } from 'react';
2
- import type { SettingsDialogChromeLabels, SettingsDialogTabMeta } from '../../types.js';
3
- /** One sidebar-nav entry + its rendered panel. Extends the pure
4
- * `SettingsDialogTabMeta` shape with the render-specific fields
5
- * (`icon`/`panel`) that only make sense in the React layer. */
6
- export interface SettingsDialogTab<TId extends string = string> extends SettingsDialogTabMeta<TId> {
7
- icon?: ReactNode;
8
- panel: ReactNode;
9
- }
10
- export interface SettingsDialogShellProps<T extends SettingsDialogTab = SettingsDialogTab> {
11
- tabs: readonly T[];
12
- initialActiveTabId?: string;
13
- activeTabId?: string;
14
- onActiveTabIdChange?: (tabId: string) => void;
15
- /** Closes the dialog (backdrop click, close button, Escape). Omit to
16
- * render the shell without a close affordance — e.g. embedded inline
17
- * rather than as a modal overlay. */
18
- onClose?: () => void;
19
- /** Renders the tall centered hero (kicker/title/subtitle) instead of the
20
- * normal per-tab header — e.g. a first-run "Welcome" variant. */
21
- welcome?: boolean;
22
- defaultSidebarCollapsed?: boolean;
23
- /** Shows the fullscreen toggle button and applies its expanded state as a
24
- * modifier class. Defaults to `true`; a host with no use for fullscreen
25
- * can turn it off. */
26
- fullscreenEnabled?: boolean;
27
- defaultFullscreen?: boolean;
28
- labels?: SettingsDialogChromeLabels;
29
- /** Extra chrome rendered in the top-right strip, alongside the fullscreen
30
- * toggle and close button — e.g. a host's own autosave-status indicator.
31
- * Fully host-owned; the shell renders it as-is. */
32
- chromeExtra?: ReactNode;
33
- dialogAriaLabelledBy?: string;
34
- className?: string;
35
- }
36
- /**
37
- * Generic tabbed-settings-dialog chrome: modal backdrop + sidebar nav +
38
- * active-panel switching + fullscreen/collapse/close affordances. Carries no
39
- * opinion about what any tab contains — a host supplies `tabs`, each with
40
- * its own `panel` (any `ReactNode`, including one of this package's own
41
- * `tabs/*` components or a fully product-specific one).
42
- *
43
- * Proof this is separable from any one tab's content: in the origin
44
- * `SettingsDialog.tsx`, 8 of its 17 real tabs were already separate files
45
- * the original component merely mounted — the shell itself never reached
46
- * into a tab's internals.
47
- */
48
- export declare function SettingsDialogShell<T extends SettingsDialogTab>({ tabs, initialActiveTabId, activeTabId: controlledActiveTabId, onActiveTabIdChange, onClose, welcome, defaultSidebarCollapsed, fullscreenEnabled, defaultFullscreen, labels, chromeExtra, dialogAriaLabelledBy, className, }: SettingsDialogShellProps<T>): import("react").JSX.Element;
49
- //# sourceMappingURL=SettingsDialogShell.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"SettingsDialogShell.d.ts","sourceRoot":"","sources":["../../../../../src/features/settings-dialog/react/components/SettingsDialogShell.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAGvC,OAAO,KAAK,EAAE,0BAA0B,EAAE,qBAAqB,EAAE,MAAM,gBAAgB,CAAC;AAIxF;;gEAEgE;AAChE,MAAM,WAAW,iBAAiB,CAAC,GAAG,SAAS,MAAM,GAAG,MAAM,CAAE,SAAQ,qBAAqB,CAAC,GAAG,CAAC;IAChG,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,KAAK,EAAE,SAAS,CAAC;CAClB;AAED,MAAM,WAAW,wBAAwB,CAAC,CAAC,SAAS,iBAAiB,GAAG,iBAAiB;IACvF,IAAI,EAAE,SAAS,CAAC,EAAE,CAAC;IACnB,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,mBAAmB,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAC9C;;0CAEsC;IACtC,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB;sEACkE;IAClE,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,uBAAuB,CAAC,EAAE,OAAO,CAAC;IAClC;;2BAEuB;IACvB,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,MAAM,CAAC,EAAE,0BAA0B,CAAC;IACpC;;wDAEoD;IACpD,WAAW,CAAC,EAAE,SAAS,CAAC;IACxB,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED;;;;;;;;;;;GAWG;AACH,wBAAgB,mBAAmB,CAAC,CAAC,SAAS,iBAAiB,EAAE,EAC/D,IAAI,EACJ,kBAAkB,EAClB,WAAW,EAAE,qBAAqB,EAClC,mBAAmB,EACnB,OAAO,EACP,OAAe,EACf,uBAA+B,EAC/B,iBAAwB,EACxB,iBAAyB,EACzB,MAAM,EACN,WAAW,EACX,oBAA8C,EAC9C,SAAS,GACV,EAAE,wBAAwB,CAAC,CAAC,CAAC,+BAgJ7B"}
@@ -1,55 +0,0 @@
1
- import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
2
- import { useT } from '../../../i18n/index.js';
3
- import { Icon } from '../../../../react/components/Icon.js';
4
- import { findActiveTab } from '../../rules.js';
5
- import { useSettingsDialogShell } from '../hooks/useSettingsDialogShell.js';
6
- /**
7
- * Generic tabbed-settings-dialog chrome: modal backdrop + sidebar nav +
8
- * active-panel switching + fullscreen/collapse/close affordances. Carries no
9
- * opinion about what any tab contains — a host supplies `tabs`, each with
10
- * its own `panel` (any `ReactNode`, including one of this package's own
11
- * `tabs/*` components or a fully product-specific one).
12
- *
13
- * Proof this is separable from any one tab's content: in the origin
14
- * `SettingsDialog.tsx`, 8 of its 17 real tabs were already separate files
15
- * the original component merely mounted — the shell itself never reached
16
- * into a tab's internals.
17
- */
18
- export function SettingsDialogShell({ tabs, initialActiveTabId, activeTabId: controlledActiveTabId, onActiveTabIdChange, onClose, welcome = false, defaultSidebarCollapsed = false, fullscreenEnabled = true, defaultFullscreen = false, labels, chromeExtra, dialogAriaLabelledBy = 'settings-dialog-title', className, }) {
19
- const t = useT();
20
- const shell = useSettingsDialogShell({
21
- tabs,
22
- initialActiveTabId,
23
- activeTabId: controlledActiveTabId,
24
- onActiveTabIdChange,
25
- onClose,
26
- defaultSidebarCollapsed,
27
- defaultFullscreen,
28
- });
29
- const activeTab = findActiveTab(tabs, shell.activeTabId);
30
- const kicker = labels?.kicker ?? t('Settings');
31
- const welcomeKicker = labels?.welcomeKicker ?? t('Welcome');
32
- const welcomeTitle = labels?.welcomeTitle ?? t('Get started');
33
- const welcomeSubtitle = labels?.welcomeSubtitle ?? t('Set up your preferences before you begin.');
34
- const closeLabel = labels?.closeLabel ?? t('Close');
35
- const fullscreenLabel = labels?.fullscreenLabel ?? t('Fullscreen');
36
- const exitFullscreenLabel = labels?.exitFullscreenLabel ?? t('Exit fullscreen');
37
- const collapseSidebarLabel = labels?.collapseSidebarLabel ?? t('Collapse settings sidebar');
38
- const expandSidebarLabel = labels?.expandSidebarLabel ?? t('Expand settings sidebar');
39
- const sidebarAriaLabel = labels?.sidebarAriaLabel ?? t('Settings sections');
40
- const sidebarToggleLabel = shell.sidebarCollapsed ? expandSidebarLabel : collapseSidebarLabel;
41
- const fullscreenToggleLabel = shell.fullscreen ? exitFullscreenLabel : fullscreenLabel;
42
- const dialogClassName = [
43
- 'jini-settings-dialog',
44
- shell.sidebarCollapsed ? 'jini-settings-dialog-sidebar-collapsed' : '',
45
- shell.fullscreen ? 'jini-settings-dialog-fullscreen' : '',
46
- className ?? '',
47
- ]
48
- .filter(Boolean)
49
- .join(' ');
50
- return (_jsx("div", { className: "jini-settings-dialog-backdrop", onClick: onClose, "data-testid": "settings-dialog-backdrop", children: _jsxs("div", { className: dialogClassName, role: "dialog", "aria-modal": "true", "aria-labelledby": dialogAriaLabelledBy, onClick: (event) => event.stopPropagation(), children: [_jsxs("div", { className: "jini-settings-dialog-chrome", children: [chromeExtra, fullscreenEnabled ? (_jsx("button", { type: "button", className: "jini-settings-dialog-chrome-btn jini-settings-dialog-fullscreen-toggle", onClick: shell.toggleFullscreen, "aria-label": fullscreenToggleLabel, "aria-pressed": shell.fullscreen, title: fullscreenToggleLabel, children: _jsx(Icon, { name: shell.fullscreen ? 'minimize' : 'maximize', size: 15, strokeWidth: 2 }) })) : null, onClose ? (_jsx("button", { type: "button", className: "jini-settings-dialog-chrome-btn jini-settings-dialog-close", onClick: onClose, "aria-label": closeLabel, title: closeLabel, children: _jsx(Icon, { name: "close", size: 16, strokeWidth: 2 }) })) : null] }), _jsx("header", { className: "jini-settings-dialog-head", id: dialogAriaLabelledBy, children: welcome ? (_jsxs(_Fragment, { children: [_jsx("span", { className: "jini-settings-dialog-kicker", children: welcomeKicker }), _jsx("h2", { children: welcomeTitle }), _jsx("p", { className: "jini-settings-dialog-subtitle", children: welcomeSubtitle })] })) : (_jsxs(_Fragment, { children: [_jsx("span", { className: "jini-settings-dialog-kicker", children: kicker }), _jsxs("div", { className: "jini-settings-dialog-head-line", children: [_jsx("h2", { children: activeTab?.title ?? activeTab?.label ?? '' }), activeTab?.subtitle ? (_jsx("p", { className: "jini-settings-dialog-subtitle", children: activeTab.subtitle })) : null] })] })) }), _jsxs("div", { className: "jini-settings-dialog-body", children: [_jsx("button", { type: "button", className: "jini-settings-dialog-sidebar-toggle", onClick: shell.toggleSidebarCollapsed, "aria-label": sidebarToggleLabel, "aria-pressed": shell.sidebarCollapsed, "aria-controls": "jini-settings-dialog-sidebar", title: sidebarToggleLabel, children: _jsx(Icon, { name: shell.sidebarCollapsed ? 'chevron-right' : 'chevron-left', size: 15, strokeWidth: 2 }) }), _jsx("aside", { id: "jini-settings-dialog-sidebar", className: "jini-settings-dialog-sidebar", "aria-label": sidebarAriaLabel, "aria-hidden": shell.sidebarCollapsed ? true : undefined, children: tabs.map((tab) => {
51
- const active = tab.id === shell.activeTabId;
52
- return (_jsxs("button", { type: "button", className: `jini-settings-dialog-nav-item${active ? ' active' : ''}`, "aria-pressed": active, onClick: () => shell.setActiveTabId(tab.id), "data-testid": `settings-dialog-nav-${tab.id}`, children: [tab.icon, _jsxs("span", { children: [_jsx("strong", { children: tab.label }), tab.navHint ? _jsx("small", { children: tab.navHint }) : null] })] }, tab.id));
53
- }) }), _jsx("div", { className: "jini-settings-dialog-content", ref: shell.contentRef, children: activeTab?.panel })] })] }) }));
54
- }
55
- //# sourceMappingURL=SettingsDialogShell.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"SettingsDialogShell.js","sourceRoot":"","sources":["../../../../../src/features/settings-dialog/react/components/SettingsDialogShell.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,IAAI,EAAE,MAAM,wBAAwB,CAAC;AAC9C,OAAO,EAAE,IAAI,EAAE,MAAM,sCAAsC,CAAC;AAE5D,OAAO,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAC/C,OAAO,EAAE,sBAAsB,EAAE,MAAM,oCAAoC,CAAC;AAqC5E;;;;;;;;;;;GAWG;AACH,MAAM,UAAU,mBAAmB,CAA8B,EAC/D,IAAI,EACJ,kBAAkB,EAClB,WAAW,EAAE,qBAAqB,EAClC,mBAAmB,EACnB,OAAO,EACP,OAAO,GAAG,KAAK,EACf,uBAAuB,GAAG,KAAK,EAC/B,iBAAiB,GAAG,IAAI,EACxB,iBAAiB,GAAG,KAAK,EACzB,MAAM,EACN,WAAW,EACX,oBAAoB,GAAG,uBAAuB,EAC9C,SAAS,GACmB;IAC5B,MAAM,CAAC,GAAG,IAAI,EAAE,CAAC;IACjB,MAAM,KAAK,GAAG,sBAAsB,CAAC;QACnC,IAAI;QACJ,kBAAkB;QAClB,WAAW,EAAE,qBAAqB;QAClC,mBAAmB;QACnB,OAAO;QACP,uBAAuB;QACvB,iBAAiB;KAClB,CAAC,CAAC;IAEH,MAAM,SAAS,GAAG,aAAa,CAAC,IAAI,EAAE,KAAK,CAAC,WAAW,CAAC,CAAC;IAEzD,MAAM,MAAM,GAAG,MAAM,EAAE,M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BAC9B,uBAAuB,GAAG,CAAC,EAAE,EAAE,aAE3C,GAAG,CAAC,IAAI,EACT,2BACE,2BAAS,GAAG,CAAC,KAAK,GAAU,EAC3B,GAAG,CAAC,OAAO,CAAC,CAAC,CAAC,0BAAQ,GAAG,CAAC,OAAO,GAAS,CAAC,CAAC,CAAC,IAAI,IAC7C,KAXF,GAAG,CAAC,EAAE,CAYJ,CACV,CAAC;4BACJ,CAAC,CAAC,GACI,EAER,cAAK,SAAS,EAAC,8BAA8B,EAAC,GAAG,EAAE,KAAK,CAAC,UAAU,YAChE,SAAS,EAAE,KAAK,GACb,IACF,IACF,GACF,CACP,CAAC;AACJ,CAAC"}
@@ -1,39 +0,0 @@
1
- import type { RefObject } from 'react';
2
- import type { SettingsDialogTabMeta } from '../../types.js';
3
- export interface UseSettingsDialogShellParams<T extends SettingsDialogTabMeta> {
4
- tabs: readonly T[];
5
- /** Uncontrolled initial active tab id. Ignored once `activeTabId` (the
6
- * controlled prop) is supplied. */
7
- initialActiveTabId?: string | undefined;
8
- /** Controlled active tab id. Supply together with `onActiveTabIdChange` to
9
- * drive the active tab from host state (e.g. a route param); omit both
10
- * for uncontrolled internal state. */
11
- activeTabId?: string | undefined;
12
- onActiveTabIdChange?: ((tabId: string) => void) | undefined;
13
- /** Closes the dialog. Wired to the backdrop click, the close button, and
14
- * the global Escape key — all three are standard modal affordances, not
15
- * settings-specific behavior. Omit to disable Escape-to-close and render
16
- * the shell without a close button (a host embedding the shell inline,
17
- * not as a modal). */
18
- onClose?: (() => void) | undefined;
19
- defaultSidebarCollapsed?: boolean | undefined;
20
- defaultFullscreen?: boolean | undefined;
21
- }
22
- export interface SettingsDialogShellController {
23
- activeTabId: string | null;
24
- setActiveTabId: (tabId: string) => void;
25
- sidebarCollapsed: boolean;
26
- toggleSidebarCollapsed: () => void;
27
- fullscreen: boolean;
28
- toggleFullscreen: () => void;
29
- contentRef: RefObject<HTMLDivElement | null>;
30
- }
31
- /**
32
- * Owns the shell's own UI state: which tab is active, whether the sidebar is
33
- * collapsed, whether the dialog is fullscreen, and the "scroll the content
34
- * pane back to the top when the active tab changes" + "Escape closes the
35
- * dialog" behaviors. None of this reads or writes any tab's own data — a
36
- * tab's internal state (e.g. a draft config) stays owned by that tab.
37
- */
38
- export declare function useSettingsDialogShell<T extends SettingsDialogTabMeta>({ tabs, initialActiveTabId, activeTabId: controlledActiveTabId, onActiveTabIdChange, onClose, defaultSidebarCollapsed, defaultFullscreen, }: UseSettingsDialogShellParams<T>): SettingsDialogShellController;
39
- //# sourceMappingURL=useSettingsDialogShell.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"useSettingsDialogShell.d.ts","sourceRoot":"","sources":["../../../../../src/features/settings-dialog/react/hooks/useSettingsDialogShell.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,gBAAgB,CAAC;AAI5D,MAAM,WAAW,4BAA4B,CAAC,CAAC,SAAS,qBAAqB;IAC3E,IAAI,EAAE,SAAS,CAAC,EAAE,CAAC;IACnB;wCACoC;IACpC,kBAAkB,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACxC;;2CAEuC;IACvC,WAAW,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACjC,mBAAmB,CAAC,EAAE,CAAC,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC,GAAG,SAAS,CAAC;IAC5D;;;;2BAIuB;IACvB,OAAO,CAAC,EAAE,CAAC,MAAM,IAAI,CAAC,GAAG,SAAS,CAAC;IACnC,uBAAuB,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAC9C,iBAAiB,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;CACzC;AAED,MAAM,WAAW,6BAA6B;IAC5C,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,cAAc,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACxC,gBAAgB,EAAE,OAAO,CAAC;IAC1B,sBAAsB,EAAE,MAAM,IAAI,CAAC;IACnC,UAAU,EAAE,OAAO,CAAC;IACpB,gBAAgB,EAAE,MAAM,IAAI,CAAC;IAC7B,UAAU,EAAE,SAAS,CAAC,cAAc,GAAG,IAAI,CAAC,CAAC;CAC9C;AAED;;;;;;GAMG;AACH,wBAAgB,sBAAsB,CAAC,CAAC,SAAS,qBAAqB,EAAE,EACtE,IAAI,EACJ,kBAAkB,EAClB,WAAW,EAAE,qBAAqB,EAClC,mBAAmB,EACnB,OAAO,EACP,uBAA+B,EAC/B,iBAAyB,GAC1B,EAAE,4BAA4B,CAAC,CAAC,CAAC,GAAG,6BAA6B,CA6CjE"}
@@ -1,50 +0,0 @@
1
- import { useEffect, useRef, useState } from 'react';
2
- import { resolveInitialActiveTabId } from '../../rules.js';
3
- import { useDismissOnOutsideOrEscape } from '../../../../browser/useDismissOnOutsideOrEscape.js';
4
- /**
5
- * Owns the shell's own UI state: which tab is active, whether the sidebar is
6
- * collapsed, whether the dialog is fullscreen, and the "scroll the content
7
- * pane back to the top when the active tab changes" + "Escape closes the
8
- * dialog" behaviors. None of this reads or writes any tab's own data — a
9
- * tab's internal state (e.g. a draft config) stays owned by that tab.
10
- */
11
- export function useSettingsDialogShell({ tabs, initialActiveTabId, activeTabId: controlledActiveTabId, onActiveTabIdChange, onClose, defaultSidebarCollapsed = false, defaultFullscreen = false, }) {
12
- const [uncontrolledActiveTabId, setUncontrolledActiveTabId] = useState(() => resolveInitialActiveTabId(tabs, initialActiveTabId));
13
- const isControlled = controlledActiveTabId !== undefined;
14
- const activeTabId = isControlled ? controlledActiveTabId : uncontrolledActiveTabId;
15
- const setActiveTabId = (tabId) => {
16
- if (!isControlled)
17
- setUncontrolledActiveTabId(tabId);
18
- onActiveTabIdChange?.(tabId);
19
- };
20
- const [sidebarCollapsed, setSidebarCollapsed] = useState(defaultSidebarCollapsed);
21
- const toggleSidebarCollapsed = () => setSidebarCollapsed((current) => !current);
22
- const [fullscreen, setFullscreen] = useState(defaultFullscreen);
23
- const toggleFullscreen = () => setFullscreen((current) => !current);
24
- const contentRef = useRef(null);
25
- // Scroll the content pane back to the top whenever the active tab
26
- // changes — without this, switching from a long tab the user had
27
- // scrolled into a short one leaves the new tab's header out of view.
28
- useEffect(() => {
29
- const el = contentRef.current;
30
- if (el)
31
- el.scrollTop = 0;
32
- }, [activeTabId]);
33
- // Global Escape closes the dialog — standard modal affordance alongside
34
- // the backdrop click and the close button. Routed through the shared
35
- // `useDismissOnOutsideOrEscape` toolbox hook (packages/ui/src/browser/)
36
- // in its Escape-only shape (no `containerRef` — the backdrop click is
37
- // already handled separately by the host), matching the call site that
38
- // hook's own doc comment names for this exact hook.
39
- useDismissOnOutsideOrEscape(() => onClose?.(), { enabled: Boolean(onClose) });
40
- return {
41
- activeTabId,
42
- setActiveTabId,
43
- sidebarCollapsed,
44
- toggleSidebarCollapsed,
45
- fullscreen,
46
- toggleFullscreen,
47
- contentRef,
48
- };
49
- }
50
- //# sourceMappingURL=useSettingsDialogShell.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"useSettingsDialogShell.js","sourceRoot":"","sources":["../../../../../src/features/settings-dialog/react/hooks/useSettingsDialogShell.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAGpD,OAAO,EAAE,yBAAyB,EAAE,MAAM,gBAAgB,CAAC;AAC3D,OAAO,EAAE,2BAA2B,EAAE,MAAM,oDAAoD,CAAC;AAgCjG;;;;;;GAMG;AACH,MAAM,UAAU,sBAAsB,CAAkC,EACtE,IAAI,EACJ,kBAAkB,EAClB,WAAW,EAAE,qBAAqB,EAClC,mBAAmB,EACnB,OAAO,EACP,uBAAuB,GAAG,KAAK,EAC/B,iBAAiB,GAAG,KAAK,GACO;IAChC,MAAM,CAAC,uBAAuB,EAAE,0BAA0B,CAAC,GAAG,QAAQ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OAAO,EAAE,OAAO,CAAC,OAAO,CAAC,EAAE,CAAC,CAAC;IAE9E,OAAO;QACL,WAAW;QACX,cAAc;QACd,gBAAgB;QAChB,sBAAsB;QACtB,UAAU;QACV,gBAAgB;QAChB,UAAU;KACX,CAAC;AACJ,CAAC"}
@@ -1,13 +0,0 @@
1
- import type { SettingsDialogTabMeta } from './types.js';
2
- /**
3
- * Resolves which tab id should be active: the requested id if it exists in
4
- * `tabs`, otherwise the first tab's id, otherwise `null` (an empty tab
5
- * list). Pulled out of the shell's `useState` initializer so it's testable
6
- * without mounting React — a host that passes an `initialTabId` no longer
7
- * present in `tabs` (e.g. a deep link to a since-removed tab) still lands on
8
- * a valid tab instead of a blank content pane.
9
- */
10
- export declare function resolveInitialActiveTabId<T extends SettingsDialogTabMeta>(tabs: readonly T[], initialTabId?: string | null): string | null;
11
- /** Finds a tab by id, or `undefined` if `activeTabId` is `null`/not present. */
12
- export declare function findActiveTab<T extends SettingsDialogTabMeta>(tabs: readonly T[], activeTabId: string | null): T | undefined;
13
- //# sourceMappingURL=rules.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"rules.d.ts","sourceRoot":"","sources":["../../../src/features/settings-dialog/rules.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,YAAY,CAAC;AAExD;;;;;;;GAOG;AACH,wBAAgB,yBAAyB,CAAC,CAAC,SAAS,qBAAqB,EACvE,IAAI,EAAE,SAAS,CAAC,EAAE,EAClB,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,GAC3B,MAAM,GAAG,IAAI,CAKf;AAED,gFAAgF;AAChF,wBAAgB,aAAa,CAAC,CAAC,SAAS,qBAAqB,EAC3D,IAAI,EAAE,SAAS,CAAC,EAAE,EAClB,WAAW,EAAE,MAAM,GAAG,IAAI,GACzB,CAAC,GAAG,SAAS,CAGf"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"rules.js","sourceRoot":"","sources":["../../../src/features/settings-dialog/rules.ts"],"names":[],"mappings":"AAEA;;;;;;;GAOG;AACH,MAAM,UAAU,yBAAyB,CACvC,IAAkB,EAClB,YAA4B;IAE5B,IAAI,YAAY,IAAI,IAAI,IAAI,IAAI,CAAC,IAAI,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,GAAG,CAAC,EAAE,KAAK,YAAY,CAAC,EAAE,CAAC;QACxE,OAAO,YAAY,CAAC;IACtB,CAAC;IACD,OAAO,IAAI,CAAC,CAAC,CAAC,EAAE,EAAE,IAAI,IAAI,CAAC;AAC7B,CAAC;AAED,gFAAgF;AAChF,MAAM,UAAU,aAAa,CAC3B,IAAkB,EAClB,WAA0B;IAE1B,IAAI,WAAW,IAAI,IAAI;QAAE,OAAO,SAAS,CAAC;IAC1C,OAAO,IAAI,CAAC,IAAI,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,GAAG,CAAC,EAAE,KAAK,WAAW,CAAC,CAAC;AACpD,CAAC"}
@@ -1,12 +0,0 @@
1
- import type { SettingsThemeChoice } from './types.js';
2
- export interface ThemeOption {
3
- value: SettingsThemeChoice;
4
- label: string;
5
- icon?: 'sun' | 'moon';
6
- }
7
- /** Plain-English defaults for the three segmented-control options — a host
8
- * wanting localized copy overrides via `AppearanceTabProps.themeLabels` (the
9
- * component wraps each through `useT()` regardless, so this is only the
10
- * fallback text, same convention as every other tab in this feature). */
11
- export declare const THEME_OPTIONS: ThemeOption[];
12
- //# sourceMappingURL=constants.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../../../src/features/settings-dialog/tabs/appearance/constants.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,YAAY,CAAC;AAEtD,MAAM,WAAW,WAAW;IAC1B,KAAK,EAAE,mBAAmB,CAAC;IAC3B,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,KAAK,GAAG,MAAM,CAAC;CACvB;AAED;;;0EAG0E;AAC1E,eAAO,MAAM,aAAa,EAAE,WAAW,EAItC,CAAC"}
@@ -1,10 +0,0 @@
1
- /** Plain-English defaults for the three segmented-control options — a host
2
- * wanting localized copy overrides via `AppearanceTabProps.themeLabels` (the
3
- * component wraps each through `useT()` regardless, so this is only the
4
- * fallback text, same convention as every other tab in this feature). */
5
- export const THEME_OPTIONS = [
6
- { value: 'system', label: 'System' },
7
- { value: 'light', label: 'Light', icon: 'sun' },
8
- { value: 'dark', label: 'Dark', icon: 'moon' },
9
- ];
10
- //# sourceMappingURL=constants.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../src/features/settings-dialog/tabs/appearance/constants.ts"],"names":[],"mappings":"AAQA;;;0EAG0E;AAC1E,MAAM,CAAC,MAAM,aAAa,GAAkB;IAC1C,EAAE,KAAK,EAAE,QAAQ,EAAE,KAAK,EAAE,QAAQ,EAAE;IACpC,EAAE,KAAK,EAAE,OAAO,EAAE,KAAK,EAAE,OAAO,EAAE,IAAI,EAAE,KAAK,EAAE;IAC/C,EAAE,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE;CAC/C,CAAC"}
@@ -1,6 +0,0 @@
1
- export type { SettingsThemeChoice } from './types.js';
2
- export { THEME_OPTIONS } from './constants.js';
3
- export type { ThemeOption } from './constants.js';
4
- export { AppearanceTab } from './react/components/AppearanceTab.js';
5
- export type { AppearanceTabProps } from './react/components/AppearanceTab.js';
6
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/features/settings-dialog/tabs/appearance/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,mBAAmB,EAAE,MAAM,YAAY,CAAC;AACtD,OAAO,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAC/C,YAAY,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAElD,OAAO,EAAE,aAAa,EAAE,MAAM,qCAAqC,CAAC;AACpE,YAAY,EAAE,kBAAkB,EAAE,MAAM,qCAAqC,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/features/settings-dialog/tabs/appearance/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAG/C,OAAO,EAAE,aAAa,EAAE,MAAM,qCAAqC,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"AppearanceTab.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/settings-dialog/tabs/appearance/react/components/AppearanceTab.tsx"],"names":[],"mappings":"AAYA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,gBAAgB,CAAC;AAE1D,MAAM,WAAW,kBAAkB;IACjC,KAAK,EAAE,mBAAmB,CAAC;IAC3B,aAAa,EAAE,CAAC,KAAK,EAAE,mBAAmB,KAAK,IAAI,CAAC;IACpD;6EACyE;IACzE,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,mBAAmB,EAAE,CAAC,WAAW,EAAE,MAAM,KAAK,IAAI,CAAC;IACnD,sEAAsE;IACtE,cAAc,CAAC,EAAE,SAAS,MAAM,EAAE,CAAC;IACnC;;;;6DAIyD;IACzD,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,sBAAsB,CAAC,EAAE,MAAM,CAAC;IAChC,qBAAqB,CAAC,EAAE,MAAM,CAAC;CAChC;AAED;;;;;GAKG;AACH,wBAAgB,aAAa,CAAC,EAC5B,KAAK,EACL,aAAa,EACb,WAAW,EACX,mBAAmB,EACnB,cAAgC,EAChC,WAAkB,EAClB,SAAS,EACT,WAAW,EACX,sBAAsB,EACtB,qBAAqB,GACtB,EAAE,kBAAkB,+BAiEpB"}
@@ -1,31 +0,0 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- import { useLayoutEffect } from 'react';
3
- import { useT } from '../../../../../../features/i18n/index.js';
4
- import { Icon } from '../../../../../../react/components/Icon.js';
5
- import { ACCENT_SWATCHES, DEFAULT_ACCENT_COLOR, applyAppearanceToDocument, normalizeAccentColor, resolveAccentColor, } from '../../../../../../utils/appearance.js';
6
- import { THEME_OPTIONS } from '../../constants.js';
7
- /**
8
- * Theme (system/light/dark) segmented control + accent-color swatch grid
9
- * with a custom color picker. Origin: `AppearanceSection` in
10
- * `SettingsDialog.tsx` — GENERIC, no product coupling beyond the (already
11
- * dropped) analytics tracking calls.
12
- */
13
- export function AppearanceTab({ theme, onThemeChange, accentColor, onAccentColorChange, accentSwatches = ACCENT_SWATCHES, livePreview = true, ariaLabel, accentLabel, defaultAccentAriaLabel, customAccentAriaLabel, }) {
14
- const t = useT();
15
- const resolvedAccent = resolveAccentColor(accentColor);
16
- const resolvedAriaLabel = ariaLabel ?? t('Appearance');
17
- const resolvedAccentLabel = accentLabel ?? t('Accent color');
18
- const resolvedDefaultAccentAriaLabel = defaultAccentAriaLabel ?? t('Default accent color');
19
- const resolvedCustomAccentAriaLabel = customAccentAriaLabel ?? t('Custom accent color');
20
- const appliedTheme = theme === 'system' ? undefined : theme;
21
- useLayoutEffect(() => {
22
- if (!livePreview)
23
- return;
24
- applyAppearanceToDocument({ ...(appliedTheme ? { theme: appliedTheme } : {}), accentColor: resolvedAccent });
25
- }, [livePreview, appliedTheme, resolvedAccent]);
26
- return (_jsxs("section", { className: "jini-settings-section jini-settings-appearance", children: [_jsx("div", { className: "jini-seg-control", role: "group", "aria-label": resolvedAriaLabel, style: { '--seg-cols': THEME_OPTIONS.length }, children: THEME_OPTIONS.map((option) => (_jsxs("button", { type: "button", className: 'jini-seg-btn' + (theme === option.value ? ' active' : ''), "aria-pressed": theme === option.value, onClick: () => onThemeChange(option.value), children: [option.icon ? _jsx(Icon, { name: option.icon, size: 14, "aria-hidden": "true" }) : null, _jsx("span", { className: "jini-seg-title", children: t(option.label) })] }, option.value))) }), _jsxs("div", { className: "jini-field", children: [_jsx("span", { className: "jini-field-label", children: resolvedAccentLabel }), _jsxs("div", { className: "jini-accent-swatches", role: "radiogroup", "aria-label": resolvedAccentLabel, children: [accentSwatches.map((color) => {
27
- const active = resolvedAccent === color;
28
- return (_jsx("button", { type: "button", className: `jini-accent-swatch${active ? ' active' : ''}`, style: { background: color }, "aria-label": color === DEFAULT_ACCENT_COLOR ? resolvedDefaultAccentAriaLabel : color, "aria-checked": active, role: "radio", onClick: () => onAccentColorChange(normalizeAccentColor(color) ?? color) }, color));
29
- }), _jsx("input", { type: "color", "aria-label": resolvedCustomAccentAriaLabel, className: "jini-accent-swatch-picker", value: resolvedAccent, onChange: (event) => onAccentColorChange(event.target.value) })] })] })] }));
30
- }
31
- //# sourceMappingURL=AppearanceTab.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"AppearanceTab.js","sourceRoot":"","sources":["../../../../../../../src/features/settings-dialog/tabs/appearance/react/components/AppearanceTab.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,OAAO,CAAC;AAExC,OAAO,EAAE,IAAI,EAAE,MAAM,0CAA0C,CAAC;AAChE,OAAO,EAAE,IAAI,EAAE,MAAM,4CAA4C,CAAC;AAClE,OAAO,EACL,eAAe,EACf,oBAAoB,EACpB,yBAAyB,EACzB,oBAAoB,EACpB,kBAAkB,GACnB,MAAM,uCAAuC,CAAC;AAC/C,OAAO,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AAwBnD;;;;;GAKG;AACH,MAAM,UAAU,aAAa,CAAC,EAC5B,KAAK,EACL,aAAa,EACb,WAAW,EACX,mBAAmB,EACnB,cAAc,GAAG,eAAe,EAChC,WAAW,GAAG,IAAI,EAClB,SAAS,EACT,WAAW,EACX,sBAAsB,EACtB,qBAAqB,GACF;IACnB,MAAM,CAAC,GAAG,IAAI,EAAE,CAAC;IACjB,MAAM,cAA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@ -1,12 +0,0 @@
1
- /**
2
- * Origin: `AppearanceSection` in `SettingsDialog.tsx` (theme segmented
3
- * control + accent-color swatch grid + custom color picker), GENERIC per
4
- * `foundry/docs/jini-port/recon/r6-god-component-internals.md` §1.3. See
5
- * `packages/ui/source-map.md` for the full provenance note.
6
- */
7
- /** `'system'` in addition to this package's `AppearanceTheme` ('light' |
8
- * 'dark') — the origin's segmented control has a third "follow the OS"
9
- * option that `applyAppearanceToDocument` already models as "theme
10
- * omitted." */
11
- export type SettingsThemeChoice = 'system' | 'light' | 'dark';
12
- //# sourceMappingURL=types.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/features/settings-dialog/tabs/appearance/types.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH;;;gBAGgB;AAChB,MAAM,MAAM,mBAAmB,GAAG,QAAQ,GAAG,OAAO,GAAG,MAAM,CAAC"}
@@ -1,8 +0,0 @@
1
- /**
2
- * Origin: `AppearanceSection` in `SettingsDialog.tsx` (theme segmented
3
- * control + accent-color swatch grid + custom color picker), GENERIC per
4
- * `foundry/docs/jini-port/recon/r6-god-component-internals.md` §1.3. See
5
- * `packages/ui/source-map.md` for the full provenance note.
6
- */
7
- export {};
8
- //# sourceMappingURL=types.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"types.js","sourceRoot":"","sources":["../../../../../src/features/settings-dialog/tabs/appearance/types.ts"],"names":[],"mappings":"AAAA;;;;;GAKG"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/features/settings-dialog/tabs/instructions/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,uCAAuC,CAAC;AACxE,YAAY,EAAE,oBAAoB,EAAE,MAAM,uCAAuC,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/features/settings-dialog/tabs/instructions/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,uCAAuC,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"InstructionsTab.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/settings-dialog/tabs/instructions/react/components/InstructionsTab.tsx"],"names":[],"mappings":"AAEA,MAAM,WAAW,oBAAoB;IACnC,KAAK,EAAE,MAAM,CAAC;IACd;;;;;;;OAOG;IACH,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,GAAG,SAAS,KAAK,IAAI,CAAC;IAC9C,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED;;;;;GAKG;AACH,wBAAgB,eAAe,CAAC,EAC9B,KAAK,EACL,QAAQ,EACR,KAAK,EACL,WAAW,EACX,WAAW,EACX,IAAQ,EACR,SAAgB,GACjB,EAAE,oBAAoB,+BA4BtB"}
@@ -1,16 +0,0 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- import { useT } from '../../../../../../features/i18n/index.js';
3
- /**
4
- * A plain textarea bound to a free-text "custom instructions" string.
5
- * Origin: the inline `instructions` tab body in `SettingsDialog.tsx` —
6
- * GENERIC, the simplest tab in the whole sweep (no state beyond the bound
7
- * value, no branching, no side effects).
8
- */
9
- export function InstructionsTab({ value, onChange, title, description, placeholder, rows = 5, maxLength = 5000, }) {
10
- const t = useT();
11
- const resolvedTitle = title ?? t('Custom instructions');
12
- const resolvedDescription = description ?? t('Extra instructions applied to every conversation, in addition to any per-project instructions.');
13
- const resolvedPlaceholder = placeholder ?? t('e.g. Always respond concisely and avoid unnecessary caveats.');
14
- return (_jsx("section", { className: "jini-settings-section jini-settings-section-card jini-instructions-section", children: _jsxs("div", { className: "jini-field-block jini-instructions-card", children: [_jsx("div", { className: "jini-block-head", children: _jsxs("div", { children: [_jsx("h4", { children: resolvedTitle }), _jsx("p", { className: "jini-hint", children: resolvedDescription })] }) }), _jsx("textarea", { className: "jini-custom-instructions-input jini-instructions-input", rows: rows, maxLength: maxLength, placeholder: resolvedPlaceholder, "aria-label": resolvedTitle, value: value, onChange: (event) => onChange(event.target.value || undefined) })] }) }));
15
- }
16
- //# sourceMappingURL=InstructionsTab.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"InstructionsTab.js","sourceRoot":"","sources":["../../../../../../../src/features/settings-dialog/tabs/instructions/react/components/InstructionsTab.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,0CAA0C,CAAC;AAoBhE;;;;;GAKG;AACH,MAAM,UAAU,eAAe,CAAC,EAC9B,KAAK,EACL,QAAQ,EACR,KAAK,EACL,WAAW,EACX,WAAW,EACX,IAAI,GAAG,CAAC,EACR,SAAS,GAAG,IAAI,GACK;IACrB,MAAM,CAAC,GAAG,IAAI,EAAE,CAAC;IACjB,MAAM,aAAa,GAAG,KAAK,IAAI,CAAC,CAAC,qBAAqB,CAAC,CAAC;IACxD,MAAM,mBAAmB,GACvB,WAAW,IAAI,CAAC,CAAC,gGAAgG,CAAC,CAAC;IACrH,MAAM,mBAAmB,GAAG,WAAW,IAAI,CAAC,CAAC,8DAA8D,CAAC,CAAC;IAE7G,OAAO,CACL,kBAAS,SAAS,EAAC,4EAA4E,YAC7F,eAAK,SAAS,EAAC,yCAAyC,aACtD,cAAK,SAAS,EAAC,iBAAiB,YAC9B,0BACE,uBAAK,aAAa,GAAM,EACxB,YAAG,SAAS,EAAC,WAAW,YAAE,mBAAmB,GAAK,IAC9C,GACF,EACN,mBACE,SAAS,EAAC,wDAAwD,EAClE,IAAI,EAAE,IAAI,EACV,SAAS,EAAE,SAAS,EACpB,WAAW,EAAE,mBAAmB,gBACpB,aAAa,EACzB,KAAK,EAAE,KAAK,EACZ,QAAQ,EAAE,CAAC,KAAK,EAAE,EAAE,CAAC,QAAQ,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,IAAI,SAAS,CAAC,GAC9D,IACE,GACE,CACX,CAAC;AACJ,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../../../src/features/settings-dialog/tabs/integrations/constants.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,YAAY,CAAC;AAEtD,eAAO,MAAM,WAAW,EAAE,SAAS,mBAAmB,EAQrD,CAAC;AAEF,eAAO,MAAM,qBAAqB,WAAW,CAAC;AAE9C;;4DAE4D;AAC5D,eAAO,MAAM,uBAAuB,eAAe,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../src/features/settings-dialog/tabs/integrations/constants.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,WAAW,GAAmC;IACzD,EAAE,EAAE,EAAE,QAAQ,EAAE,KAAK,EAAE,aAAa,EAAE;IACtC,EAAE,EAAE,EAAE,OAAO,EAAE,KAAK,EAAE,OAAO,EAAE;IAC/B,EAAE,EAAE,EAAE,QAAQ,EAAE,KAAK,EAAE,QAAQ,EAAE;IACjC,EAAE,EAAE,EAAE,QAAQ,EAAE,KAAK,EAAE,SAAS,EAAE;IAClC,EAAE,EAAE,EAAE,aAAa,EAAE,KAAK,EAAE,aAAa,EAAE;IAC3C,EAAE,EAAE,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE;IAC3B,EAAE,EAAE,EAAE,UAAU,EAAE,KAAK,EAAE,UAAU,EAAE;CACtC,CAAC;AAEF,MAAM,CAAC,MAAM,qBAAqB,GAAG,QAAQ,CAAC;AAE9C;;4DAE4D;AAC5D,MAAM,CAAC,MAAM,uBAAuB,GAAG,YAAY,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"dependencies.d.ts","sourceRoot":"","sources":["../../../../../src/features/settings-dialog/tabs/integrations/dependencies.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,YAAY,CAAC;AACtD,OAAO,KAAK,EAAE,kBAAkB,EAAE,cAAc,EAAE,MAAM,YAAY,CAAC;AAErE,MAAM,WAAW,8BAA8B;IAC7C,IAAI,CAAC,EAAE,cAAc,CAAC;IACtB,WAAW,CAAC,EAAE,kBAAkB,CAAC;IACjC,2EAA2E;IAC3E,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAYD;;;;;GAKG;AACH,wBAAgB,6BAA6B,CAAC,OAAO,GAAE,8BAAmC,GAAG,mBAAmB,CAuB/G"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"dependencies.js","sourceRoot":"","sources":["../../../../../src/features/settings-dialog/tabs/integrations/dependencies.ts"],"names":[],"mappings":"AAUA,MAAM,iBAAiB,GAAmB;IACxC,OAAO,EAAE,MAAM;IACf,IAAI,EAAE,CAAC,iBAAiB,EAAE,KAAK,CAAC;IAChC,SAAS,EAAE,oBAAoB;IAC/B,QAAQ,EAAE,QAAQ;IAClB,SAAS,EAAE,IAAI;IACf,UAAU,EAAE,IAAI;IAChB,SAAS,EAAE,IAAI;CAChB,CAAC;AAEF;;;;;GAKG;AACH,MAAM,UAAU,6BAA6B,CAAC,UAA0C,EAAE;IACxF,MAAM,IAAI,GAAG,OAAO,CAAC,IAAI,IAAI,iBAAiB,CAAC;IAC/C,IAAI,WAAW,GAAG,OAAO,CAAC,WAAW,IAAI,EAAE,SAAS,EAAE,IAAI,EAAE,SAAS,EAAE,KAAK,EAAE,CAAC;IAC/E,MAAM,SAAS,GAAG,OAAO,CAAC,SAAS,IAAI,CAAC,CAAC;IACzC,MAAM,KAAK,GAAG,CAAI,KAAQ,EAAc,EAAE,CACxC,SAAS,GAAG,CAAC,CAAC,CAAC,CAAC,IAAI,OAAO,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,UAAU,CAAC,GAAG,EAAE,CAAC,OAAO,CAAC,KAAK,CAAC,EAAE,SAAS,CAAC,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC;IAEjH,OAAO;QACL,gBAAgB;YACd,OAAO,KAAK,CAAC,EAAE,GAAG,IAAI,EAAE,CAAC,CAAC;QAC5B,CAAC;QACD,uBAAuB;YACrB,OAAO,KAAK,CAAC,EAAE,GAAG,WAAW,EAAE,CAAC,CAAC;QACnC,CAAC;QACD,eAAe;YACb,WAAW,GAAG,EAAE,GAAG,WAAW,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC;YAClD,OAAO,KAAK,CAAC,SAAS,CAAC,CAAC;QAC1B,CAAC;QACD,iBAAiB;YACf,WAAW,GAAG,EAAE,GAAG,WAAW,EAAE,SAAS,EAAE,KAAK,EAAE,CAAC;YACnD,OAAO,KAAK,CAAC,SAAS,CAAC,CAAC;QAC1B,CAAC;KACF,CAAC;AACJ,CAAC"}
@@ -1,19 +0,0 @@
1
- export type { CodexInstallStatus, McpClientDescriptor, McpClientId, McpClientSnippet, McpInstallInfo, McpInstallPlatform, McpSnippetLanguage, McpStdioServerConfig, } from './types.js';
2
- export { DEFAULT_MCP_CLIENT_ID, DEFAULT_MCP_SERVER_NAME, MCP_CLIENTS } from './constants.js';
3
- export { buildClaudeCliSnippet, buildCodexEnvToml, buildCodexTomlSnippet, buildCursorDeeplink, buildMcpStdioServerConfig, buildSharedMcpJson, buildVsCodeSnippet, buildZedSnippet, commandPaletteShortcut, homeConfigPath, methodLabelForClient, settingsShortcut, snippetForClient, utf8Btoa, } from './rules.js';
4
- export type { McpIntegrationsPort } from './ports.js';
5
- export { createFakeMcpIntegrationsPort } from './dependencies.js';
6
- export type { FakeMcpIntegrationsPortOptions } from './dependencies.js';
7
- export { useMcpInstallInfo, useWiredMcpInstallInfo } from './react/hooks/useMcpInstallInfo.js';
8
- export type { McpInstallInfoController } from './react/hooks/useMcpInstallInfo.js';
9
- export { useCodexInstallToggle, useWiredCodexInstallToggle } from './react/hooks/useCodexInstallToggle.js';
10
- export type { CodexInstallToggleController } from './react/hooks/useCodexInstallToggle.js';
11
- export { ClientPicker } from './react/components/ClientPicker.js';
12
- export type { ClientPickerProps } from './react/components/ClientPicker.js';
13
- export { SnippetBlock } from './react/components/SnippetBlock.js';
14
- export type { SnippetBlockProps } from './react/components/SnippetBlock.js';
15
- export { CodexInstallToggleButton } from './react/components/CodexInstallToggleButton.js';
16
- export type { CodexInstallToggleButtonProps } from './react/components/CodexInstallToggleButton.js';
17
- export { IntegrationsTab } from './react/components/IntegrationsTab.js';
18
- export type { IntegrationsTabProps } from './react/components/IntegrationsTab.js';
19
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/features/settings-dialog/tabs/integrations/index.ts"],"names":[],"mappings":"AAAA,YAAY,EACV,kBAAkB,EAClB,mBAAmB,EACnB,WAAW,EACX,gBAAgB,EAChB,cAAc,EACd,kBAAkB,EAClB,kBAAkB,EAClB,oBAAoB,GACrB,MAAM,YAAY,CAAC;AAEpB,OAAO,EAAE,qBAAqB,EAAE,uBAAuB,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAE7F,OAAO,EACL,qBAAqB,EACrB,iBAAiB,EACjB,qBAAqB,EACrB,mBAAmB,EACnB,yBAAyB,EACzB,kBAAkB,EAClB,kBAAkB,EAClB,eAAe,EACf,sBAAsB,EACtB,cAAc,EACd,oBAAoB,EACpB,gBAAgB,EAChB,gBAAgB,EAChB,QAAQ,GACT,MAAM,YAAY,CAAC;AAEpB,YAAY,EAAE,mBAAmB,EAAE,MAAM,YAAY,CAAC;AACtD,OAAO,EAAE,6BAA6B,EAAE,MAAM,mBAAmB,CAAC;AAClE,YAAY,EAAE,8BAA8B,EAAE,MAAM,mBAAmB,CAAC;AAExE,OAAO,EAAE,iBAAiB,EAAE,sBAAsB,EAAE,MAAM,oCAAoC,CAAC;AAC/F,YAAY,EAAE,wBAAwB,EAAE,MAAM,oCAAoC,CAAC;AACnF,OAAO,EAAE,qBAAqB,EAAE,0BAA0B,EAAE,MAAM,wCAAwC,CAAC;AAC3G,YAAY,EAAE,4BAA4B,EAAE,MAAM,wCAAwC,CAAC;AAE3F,OAAO,EAAE,YAAY,EAAE,MAAM,oCAAoC,CAAC;AAClE,YAAY,EAAE,iBAAiB,EAAE,MAAM,oCAAoC,CAAC;AAC5E,OAAO,EAAE,YAAY,EAAE,MAAM,oCAAoC,CAAC;AAClE,YAAY,EAAE,iBAAiB,EAAE,MAAM,oCAAoC,CAAC;AAC5E,OAAO,EAAE,wBAAwB,EAAE,MAAM,gDAAgD,CAAC;AAC1F,YAAY,EAAE,6BAA6B,EAAE,MAAM,gDAAgD,CAAC;AACpG,OAAO,EAAE,eAAe,EAAE,MAAM,uCAAuC,CAAC;AACxE,YAAY,EAAE,oBAAoB,EAAE,MAAM,uCAAuC,CAAC"}
@@ -1,10 +0,0 @@
1
- export { DEFAULT_MCP_CLIENT_ID, DEFAULT_MCP_SERVER_NAME, MCP_CLIENTS } from './constants.js';
2
- export { buildClaudeCliSnippet, buildCodexEnvToml, buildCodexTomlSnippet, buildCursorDeeplink, buildMcpStdioServerConfig, buildSharedMcpJson, buildVsCodeSnippet, buildZedSnippet, commandPaletteShortcut, homeConfigPath, methodLabelForClient, settingsShortcut, snippetForClient, utf8Btoa, } from './rules.js';
3
- export { createFakeMcpIntegrationsPort } from './dependencies.js';
4
- export { useMcpInstallInfo, useWiredMcpInstallInfo } from './react/hooks/useMcpInstallInfo.js';
5
- export { useCodexInstallToggle, useWiredCodexInstallToggle } from './react/hooks/useCodexInstallToggle.js';
6
- export { ClientPicker } from './react/components/ClientPicker.js';
7
- export { SnippetBlock } from './react/components/SnippetBlock.js';
8
- export { CodexInstallToggleButton } from './react/components/CodexInstallToggleButton.js';
9
- export { IntegrationsTab } from './react/components/IntegrationsTab.js';
10
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/features/settings-dialog/tabs/integrations/index.ts"],"names":[],"mappings":"AAWA,OAAO,EAAE,qBAAqB,EAAE,uBAAuB,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAE7F,OAAO,EACL,qBAAqB,EACrB,iBAAiB,EACjB,qBAAqB,EACrB,mBAAmB,EACnB,yBAAyB,EACzB,kBAAkB,EAClB,kBAAkB,EAClB,eAAe,EACf,sBAAsB,EACtB,cAAc,EACd,oBAAoB,EACpB,gBAAgB,EAChB,gBAAgB,EAChB,QAAQ,GACT,MAAM,YAAY,CAAC;AAGpB,OAAO,EAAE,6BAA6B,EAAE,MAAM,mBAAmB,CAAC;AAGlE,OAAO,EAAE,iBAAiB,EAAE,sBAAsB,EAAE,MAAM,oCAAoC,CAAC;AAE/F,OAAO,EAAE,qBAAqB,EAAE,0BAA0B,EAAE,MAAM,wCAAwC,CAAC;AAG3G,OAAO,EAAE,YAAY,EAAE,MAAM,oCAAoC,CAAC;AAElE,OAAO,EAAE,YAAY,EAAE,MAAM,oCAAoC,CAAC;AAElE,OAAO,EAAE,wBAAwB,EAAE,MAAM,gDAAgD,CAAC;AAE1F,OAAO,EAAE,eAAe,EAAE,MAAM,uCAAuC,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"ports.d.ts","sourceRoot":"","sources":["../../../../../src/features/settings-dialog/tabs/integrations/ports.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,cAAc,EAAE,MAAM,YAAY,CAAC;AAErE;;;;;;GAMG;AACH,MAAM,WAAW,mBAAmB;IAClC;;uBAEmB;IACnB,gBAAgB,IAAI,OAAO,CAAC,cAAc,CAAC,CAAC;IAC5C;;qCAEiC;IACjC,uBAAuB,CAAC,IAAI,OAAO,CAAC,kBAAkB,CAAC,CAAC;IACxD,eAAe,CAAC,IAAI,OAAO,CAAC,IAAI,CAAC,CAAC;IAClC,iBAAiB,CAAC,IAAI,OAAO,CAAC,IAAI,CAAC,CAAC;CACrC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"ports.js","sourceRoot":"","sources":["../../../../../src/features/settings-dialog/tabs/integrations/ports.ts"],"names":[],"mappings":""}
@@ -1 +0,0 @@
1
- {"version":3,"file":"ClientPicker.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/settings-dialog/tabs/integrations/react/components/ClientPicker.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,mBAAmB,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAEvE,MAAM,WAAW,iBAAiB;IAChC,OAAO,EAAE,SAAS,mBAAmB,EAAE,CAAC;IACxC,gBAAgB,EAAE,WAAW,CAAC;IAC9B,QAAQ,EAAE,CAAC,QAAQ,EAAE,WAAW,KAAK,IAAI,CAAC;IAC1C;;4CAEwC;IACxC,WAAW,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACjC;;;;;;;;;OASG;IACH,YAAY,CAAC,EAAE,QAAQ,CAAC,OAAO,CAAC,MAAM,CAAC,WAAW,EAAE,MAAM,CAAC,CAAC,CAAC,GAAG,SAAS,CAAC;CAC3E;AAED;;;GAGG;AACH,wBAAgB,YAAY,CAAC,EAAE,OAAO,EAAE,gBAAgB,EAAE,QAAQ,EAAE,WAAW,EAAE,YAAY,EAAE,EAAE,iBAAiB,+BA2DjH"}
@@ -1,31 +0,0 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- import { useRef, useState } from 'react';
3
- import { useT } from '../../../../../../features/i18n/index.js';
4
- import { Icon } from '../../../../../../react/components/Icon.js';
5
- import { useDismissOnOutsideOrEscape } from '../../../../../../browser/useDismissOnOutsideOrEscape.js';
6
- /**
7
- * Dropdown client picker. Origin: the `ds-picker` markup inline in
8
- * `IntegrationsSection` — closes on outside click or Escape.
9
- */
10
- export function ClientPicker({ clients, selectedClientId, onSelect, methodLabel, methodLabels }) {
11
- const t = useT();
12
- const [open, setOpen] = useState(false);
13
- const rootRef = useRef(null);
14
- const selected = clients.find((c) => c.id === selectedClientId) ?? clients[0];
15
- // Close on outside click or Escape — routed through the shared
16
- // `useDismissOnOutsideOrEscape` toolbox hook (packages/ui/src/browser/)
17
- // instead of a hand-rolled listener pair; the origin used `mousedown`,
18
- // the shared hook uses `pointerdown` (matching every other real
19
- // popover/dropdown call site — see that hook's own doc comment), a
20
- // behaviorally-equivalent upgrade for this same dismiss-on-outside-click
21
- // pattern.
22
- useDismissOnOutsideOrEscape(() => setOpen(false), { enabled: open, containerRef: rootRef });
23
- return (_jsxs("div", { className: "jini-picker", ref: rootRef, children: [_jsxs("button", { type: "button", className: `jini-picker-trigger${open ? ' open' : ''}`, onClick: () => setOpen((v) => !v), "aria-haspopup": "listbox", "aria-expanded": open, children: [_jsxs("span", { className: "jini-picker-meta", children: [_jsx("span", { className: "jini-picker-title", children: selected ? t(selected.label) : '' }), methodLabel ? _jsx("span", { className: "jini-picker-sub", children: methodLabel }) : null] }), _jsx(Icon, { name: "chevron-down", size: 14, className: "jini-picker-chevron", style: { transform: open ? 'rotate(180deg)' : undefined } })] }), open ? (_jsx("div", { className: "jini-picker-popover", role: "listbox", children: _jsx("div", { className: "jini-picker-list", children: clients.map((client) => {
24
- const active = client.id === selectedClientId;
25
- return (_jsxs("button", { type: "button", role: "option", "aria-selected": active, className: `jini-picker-item${active ? ' active' : ''}`, onClick: () => {
26
- onSelect(client.id);
27
- setOpen(false);
28
- }, children: [_jsx("span", { className: "jini-picker-item-title", children: t(client.label) }), methodLabels?.[client.id] ? (_jsx("span", { className: "jini-picker-item-sub", children: methodLabels[client.id] })) : null] }, client.id));
29
- }) }) })) : null] }));
30
- }
31
- //# sourceMappingURL=ClientPicker.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ClientPicker.js","sourceRoot":"","sources":["../../../../../../../src/features/settings-dialog/tabs/integrations/react/components/ClientPicker.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,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V,CAAC;oBACJ,CAAC,CAAC,GACE,GACF,CACP,CAAC,CAAC,CAAC,IAAI,IACJ,CACP,CAAC;AACJ,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"CodexInstallToggleButton.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/settings-dialog/tabs/integrations/react/components/CodexInstallToggleButton.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,gBAAgB,CAAC;AAG1D,MAAM,WAAW,6BAA6B;IAC5C,IAAI,EAAE,IAAI,CAAC,mBAAmB,EAAE,yBAAyB,GAAG,iBAAiB,GAAG,mBAAmB,CAAC,CAAC;CACtG;AAED;;;;;GAKG;AACH,wBAAgB,wBAAwB,CAAC,EAAE,IAAI,EAAE,EAAE,6BAA6B,sCA6B/E"}
@@ -1,21 +0,0 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- import { useT } from '../../../../../../features/i18n/index.js';
3
- import { useCodexInstallToggle } from '../hooks/useCodexInstallToggle.js';
4
- /**
5
- * One-click Codex MCP install/uninstall button. Renders nothing until the
6
- * initial status check resolves, and nothing at all if the host's port
7
- * doesn't support Codex one-click install (falls back to snippet-copy-only,
8
- * same as every other client).
9
- */
10
- export function CodexInstallToggleButton({ port }) {
11
- const t = useT();
12
- const { available, installed, busy, error, successKind, toggle } = useCodexInstallToggle(port);
13
- if (available === null)
14
- return null;
15
- if (!available) {
16
- return (_jsxs("div", { className: "jini-codex-install-row", children: [_jsx("button", { type: "button", className: "jini-button", disabled: true, children: t('One-click install') }), _jsx("span", { className: "jini-hint", children: t('Not available for this daemon.') })] }));
17
- }
18
- const label = installed ? t('Uninstall') : t('One-click install');
19
- return (_jsxs("div", { className: "jini-codex-install-row", children: [_jsx("button", { type: "button", className: installed ? 'jini-button' : 'jini-button jini-button-primary', disabled: busy, onClick: toggle, children: busy ? t('Working…') : label }), error ? _jsx("span", { className: "jini-hint jini-hint-error", children: t('Install failed: {error}', { error }) }) : null, !error && successKind === 'installed' ? _jsx("span", { className: "jini-hint", children: t('MCP server installed.') }) : null, !error && successKind === 'uninstalled' ? _jsx("span", { className: "jini-hint", children: t('MCP server uninstalled.') }) : null] }));
20
- }
21
- //# sourceMappingURL=CodexInstallToggleButton.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"CodexInstallToggleButton.js","sourceRoot":"","sources":["../../../../../../../src/features/settings-dialog/tabs/integrations/react/components/CodexInstallToggleButton.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,0CAA0C,CAAC;AAEhE,OAAO,EAAE,qBAAqB,EAAE,MAAM,mCAAmC,CAAC;AAM1E;;;;;GAKG;AACH,MAAM,UAAU,wBAAwB,CAAC,EAAE,IAAI,EAAiC;IAC9E,MAAM,CAAC,GAAG,IAAI,EAAE,CAAC;IACjB,MAAM,EAAE,SAAS,EAAE,SAAS,EAAE,IAAI,EAAE,KAAK,EAAE,WAAW,EAAE,MAAM,EAAE,GAAG,qBAAqB,CAAC,IAAI,CAAC,CAAC;IAE/F,IAAI,SAAS,KAAK,IAAI;QAAE,OAAO,IAAI,CAAC;IAEpC,IAAI,CAAC,SAAS,EAAE,CAAC;QACf,OAAO,CACL,eAAK,SAAS,EAAC,wBAAwB,aACrC,iBAAQ,IAAI,EAAC,QAAQ,EAAC,SAAS,EAAC,aAAa,EAAC,QAAQ,kBACnD,CAAC,CAAC,mBAAmB,CAAC,GAChB,EACT,eAAM,SAAS,EAAC,WAAW,YAAE,CAAC,CAAC,gCAAgC,CAAC,GAAQ,IACpE,CACP,CAAC;IACJ,CAAC;IAED,MAAM,KAAK,GAAG,SAAS,CAAC,CAAC,CAAC,CAAC,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,mBAAmB,CAAC,CAAC;IAElE,OAAO,CACL,eAAK,SAAS,EAAC,wBAAwB,aACrC,iBAAQ,IAAI,EAAC,QAAQ,EAAC,SAAS,EAAE,SAAS,CAAC,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