@dudko.dev/agent-web-ui 0.0.1 → 0.0.2

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 (234) hide show
  1. package/README.md +66 -1
  2. package/dist/{chunk-4EHUITGU.js → chunk-SVYHDLAZ.js} +7 -1
  3. package/dist/{chunk-4EHUITGU.js.map → chunk-SVYHDLAZ.js.map} +1 -1
  4. package/dist/{chunk-A55Q377T.js → chunk-VCR7LU7J.js} +7 -1
  5. package/dist/{chunk-A55Q377T.js.map → chunk-VCR7LU7J.js.map} +1 -1
  6. package/dist/{chunk-P2F2P3JC.js → chunk-WFM6B7CL.js} +7 -1
  7. package/dist/{chunk-P2F2P3JC.js.map → chunk-WFM6B7CL.js.map} +1 -1
  8. package/dist/{chunk-TPK25QGK.js → chunk-WZ7K7JIP.js} +7 -1
  9. package/dist/{chunk-TPK25QGK.js.map → chunk-WZ7K7JIP.js.map} +1 -1
  10. package/dist/chunk-ZBHESK6V.js +1440 -0
  11. package/dist/chunk-ZBHESK6V.js.map +1 -0
  12. package/dist/controller.cjs +1891 -0
  13. package/dist/controller.cjs.map +1 -0
  14. package/dist/controller.d.cts +253 -0
  15. package/dist/controller.d.ts +253 -0
  16. package/dist/controller.js +482 -0
  17. package/dist/controller.js.map +1 -0
  18. package/dist/{en-CcNUz2tN.d.cts → en-Dg2MtzcJ.d.cts} +6 -0
  19. package/dist/{en-CcNUz2tN.d.ts → en-Dg2MtzcJ.d.ts} +6 -0
  20. package/dist/index.cjs +133 -0
  21. package/dist/index.cjs.map +1 -1
  22. package/dist/index.d.cts +82 -4
  23. package/dist/index.d.ts +82 -4
  24. package/dist/index.js +142 -1419
  25. package/dist/index.js.map +1 -1
  26. package/dist/{labels-UuWI7wPo.d.ts → labels-CmiTBLWD.d.cts} +68 -100
  27. package/dist/{labels-D5BrHct4.d.cts → labels-DH1ESUtm.d.ts} +68 -100
  28. package/dist/locales/be.cjs +12 -0
  29. package/dist/locales/be.cjs.map +1 -1
  30. package/dist/locales/be.d.cts +4 -2
  31. package/dist/locales/be.d.ts +4 -2
  32. package/dist/locales/be.js +7 -1
  33. package/dist/locales/be.js.map +1 -1
  34. package/dist/locales/bg.cjs +12 -0
  35. package/dist/locales/bg.cjs.map +1 -1
  36. package/dist/locales/bg.d.cts +4 -2
  37. package/dist/locales/bg.d.ts +4 -2
  38. package/dist/locales/bg.js +7 -1
  39. package/dist/locales/bg.js.map +1 -1
  40. package/dist/locales/ca.cjs +12 -0
  41. package/dist/locales/ca.cjs.map +1 -1
  42. package/dist/locales/ca.d.cts +4 -2
  43. package/dist/locales/ca.d.ts +4 -2
  44. package/dist/locales/ca.js +7 -1
  45. package/dist/locales/ca.js.map +1 -1
  46. package/dist/locales/cs.cjs +12 -0
  47. package/dist/locales/cs.cjs.map +1 -1
  48. package/dist/locales/cs.d.cts +4 -2
  49. package/dist/locales/cs.d.ts +4 -2
  50. package/dist/locales/cs.js +7 -1
  51. package/dist/locales/cs.js.map +1 -1
  52. package/dist/locales/da.cjs +12 -0
  53. package/dist/locales/da.cjs.map +1 -1
  54. package/dist/locales/da.d.cts +4 -2
  55. package/dist/locales/da.d.ts +4 -2
  56. package/dist/locales/da.js +7 -1
  57. package/dist/locales/da.js.map +1 -1
  58. package/dist/locales/de.cjs +12 -0
  59. package/dist/locales/de.cjs.map +1 -1
  60. package/dist/locales/de.d.cts +4 -2
  61. package/dist/locales/de.d.ts +4 -2
  62. package/dist/locales/de.js +7 -1
  63. package/dist/locales/de.js.map +1 -1
  64. package/dist/locales/el.cjs +12 -0
  65. package/dist/locales/el.cjs.map +1 -1
  66. package/dist/locales/el.d.cts +4 -2
  67. package/dist/locales/el.d.ts +4 -2
  68. package/dist/locales/el.js +7 -1
  69. package/dist/locales/el.js.map +1 -1
  70. package/dist/locales/en.cjs +12 -0
  71. package/dist/locales/en.cjs.map +1 -1
  72. package/dist/locales/en.d.cts +4 -2
  73. package/dist/locales/en.d.ts +4 -2
  74. package/dist/locales/en.js +7 -1
  75. package/dist/locales/en.js.map +1 -1
  76. package/dist/locales/es-419.cjs +16 -1
  77. package/dist/locales/es-419.cjs.map +1 -1
  78. package/dist/locales/es-419.d.cts +4 -2
  79. package/dist/locales/es-419.d.ts +4 -2
  80. package/dist/locales/es-419.js +6 -3
  81. package/dist/locales/es-419.js.map +1 -1
  82. package/dist/locales/es.cjs +12 -0
  83. package/dist/locales/es.cjs.map +1 -1
  84. package/dist/locales/es.d.cts +4 -2
  85. package/dist/locales/es.d.ts +4 -2
  86. package/dist/locales/es.js +2 -2
  87. package/dist/locales/fi.cjs +12 -0
  88. package/dist/locales/fi.cjs.map +1 -1
  89. package/dist/locales/fi.d.cts +4 -2
  90. package/dist/locales/fi.d.ts +4 -2
  91. package/dist/locales/fi.js +7 -1
  92. package/dist/locales/fi.js.map +1 -1
  93. package/dist/locales/fr-CA.cjs +12 -0
  94. package/dist/locales/fr-CA.cjs.map +1 -1
  95. package/dist/locales/fr-CA.d.cts +4 -2
  96. package/dist/locales/fr-CA.d.ts +4 -2
  97. package/dist/locales/fr-CA.js +2 -2
  98. package/dist/locales/fr.cjs +12 -0
  99. package/dist/locales/fr.cjs.map +1 -1
  100. package/dist/locales/fr.d.cts +4 -2
  101. package/dist/locales/fr.d.ts +4 -2
  102. package/dist/locales/fr.js +2 -2
  103. package/dist/locales/gn.cjs +12 -0
  104. package/dist/locales/gn.cjs.map +1 -1
  105. package/dist/locales/gn.d.cts +4 -2
  106. package/dist/locales/gn.d.ts +4 -2
  107. package/dist/locales/gn.js +7 -1
  108. package/dist/locales/gn.js.map +1 -1
  109. package/dist/locales/hr.cjs +12 -0
  110. package/dist/locales/hr.cjs.map +1 -1
  111. package/dist/locales/hr.d.cts +4 -2
  112. package/dist/locales/hr.d.ts +4 -2
  113. package/dist/locales/hr.js +7 -1
  114. package/dist/locales/hr.js.map +1 -1
  115. package/dist/locales/ht.cjs +12 -0
  116. package/dist/locales/ht.cjs.map +1 -1
  117. package/dist/locales/ht.d.cts +4 -2
  118. package/dist/locales/ht.d.ts +4 -2
  119. package/dist/locales/ht.js +7 -1
  120. package/dist/locales/ht.js.map +1 -1
  121. package/dist/locales/hu.cjs +12 -0
  122. package/dist/locales/hu.cjs.map +1 -1
  123. package/dist/locales/hu.d.cts +4 -2
  124. package/dist/locales/hu.d.ts +4 -2
  125. package/dist/locales/hu.js +7 -1
  126. package/dist/locales/hu.js.map +1 -1
  127. package/dist/locales/index.cjs +6 -0
  128. package/dist/locales/index.cjs.map +1 -1
  129. package/dist/locales/index.d.cts +6 -4
  130. package/dist/locales/index.d.ts +6 -4
  131. package/dist/locales/index.js +1 -1
  132. package/dist/locales/it.cjs +12 -0
  133. package/dist/locales/it.cjs.map +1 -1
  134. package/dist/locales/it.d.cts +4 -2
  135. package/dist/locales/it.d.ts +4 -2
  136. package/dist/locales/it.js +7 -1
  137. package/dist/locales/it.js.map +1 -1
  138. package/dist/locales/nb.cjs +12 -0
  139. package/dist/locales/nb.cjs.map +1 -1
  140. package/dist/locales/nb.d.cts +4 -2
  141. package/dist/locales/nb.d.ts +4 -2
  142. package/dist/locales/nb.js +7 -1
  143. package/dist/locales/nb.js.map +1 -1
  144. package/dist/locales/nl.cjs +12 -0
  145. package/dist/locales/nl.cjs.map +1 -1
  146. package/dist/locales/nl.d.cts +4 -2
  147. package/dist/locales/nl.d.ts +4 -2
  148. package/dist/locales/nl.js +7 -1
  149. package/dist/locales/nl.js.map +1 -1
  150. package/dist/locales/pl.cjs +12 -0
  151. package/dist/locales/pl.cjs.map +1 -1
  152. package/dist/locales/pl.d.cts +4 -2
  153. package/dist/locales/pl.d.ts +4 -2
  154. package/dist/locales/pl.js +7 -1
  155. package/dist/locales/pl.js.map +1 -1
  156. package/dist/locales/pt-BR.cjs +12 -0
  157. package/dist/locales/pt-BR.cjs.map +1 -1
  158. package/dist/locales/pt-BR.d.cts +4 -2
  159. package/dist/locales/pt-BR.d.ts +4 -2
  160. package/dist/locales/pt-BR.js +7 -1
  161. package/dist/locales/pt-BR.js.map +1 -1
  162. package/dist/locales/pt.cjs +12 -0
  163. package/dist/locales/pt.cjs.map +1 -1
  164. package/dist/locales/pt.d.cts +4 -2
  165. package/dist/locales/pt.d.ts +4 -2
  166. package/dist/locales/pt.js +7 -1
  167. package/dist/locales/pt.js.map +1 -1
  168. package/dist/locales/qu.cjs +12 -0
  169. package/dist/locales/qu.cjs.map +1 -1
  170. package/dist/locales/qu.d.cts +4 -2
  171. package/dist/locales/qu.d.ts +4 -2
  172. package/dist/locales/qu.js +7 -1
  173. package/dist/locales/qu.js.map +1 -1
  174. package/dist/locales/ro.cjs +12 -0
  175. package/dist/locales/ro.cjs.map +1 -1
  176. package/dist/locales/ro.d.cts +4 -2
  177. package/dist/locales/ro.d.ts +4 -2
  178. package/dist/locales/ro.js +7 -1
  179. package/dist/locales/ro.js.map +1 -1
  180. package/dist/locales/ru.cjs +12 -0
  181. package/dist/locales/ru.cjs.map +1 -1
  182. package/dist/locales/ru.d.cts +4 -2
  183. package/dist/locales/ru.d.ts +4 -2
  184. package/dist/locales/ru.js +7 -1
  185. package/dist/locales/ru.js.map +1 -1
  186. package/dist/locales/sk.cjs +12 -0
  187. package/dist/locales/sk.cjs.map +1 -1
  188. package/dist/locales/sk.d.cts +4 -2
  189. package/dist/locales/sk.d.ts +4 -2
  190. package/dist/locales/sk.js +7 -1
  191. package/dist/locales/sk.js.map +1 -1
  192. package/dist/locales/sq.cjs +12 -0
  193. package/dist/locales/sq.cjs.map +1 -1
  194. package/dist/locales/sq.d.cts +4 -2
  195. package/dist/locales/sq.d.ts +4 -2
  196. package/dist/locales/sq.js +7 -1
  197. package/dist/locales/sq.js.map +1 -1
  198. package/dist/locales/sr-Latn.cjs +12 -0
  199. package/dist/locales/sr-Latn.cjs.map +1 -1
  200. package/dist/locales/sr-Latn.d.cts +4 -2
  201. package/dist/locales/sr-Latn.d.ts +4 -2
  202. package/dist/locales/sr-Latn.js +2 -2
  203. package/dist/locales/sr.cjs +12 -0
  204. package/dist/locales/sr.cjs.map +1 -1
  205. package/dist/locales/sr.d.cts +4 -2
  206. package/dist/locales/sr.d.ts +4 -2
  207. package/dist/locales/sr.js +2 -2
  208. package/dist/locales/sv.cjs +12 -0
  209. package/dist/locales/sv.cjs.map +1 -1
  210. package/dist/locales/sv.d.cts +4 -2
  211. package/dist/locales/sv.d.ts +4 -2
  212. package/dist/locales/sv.js +7 -1
  213. package/dist/locales/sv.js.map +1 -1
  214. package/dist/locales/tr.cjs +12 -0
  215. package/dist/locales/tr.cjs.map +1 -1
  216. package/dist/locales/tr.d.cts +4 -2
  217. package/dist/locales/tr.d.ts +4 -2
  218. package/dist/locales/tr.js +7 -1
  219. package/dist/locales/tr.js.map +1 -1
  220. package/dist/locales/uk.cjs +12 -0
  221. package/dist/locales/uk.cjs.map +1 -1
  222. package/dist/locales/uk.d.cts +4 -2
  223. package/dist/locales/uk.d.ts +4 -2
  224. package/dist/locales/uk.js +7 -1
  225. package/dist/locales/uk.js.map +1 -1
  226. package/dist/mcp-app.d.cts +491 -3
  227. package/dist/mcp-app.d.ts +491 -3
  228. package/dist/questions-Dw--IEjT.d.cts +100 -0
  229. package/dist/questions-Dw--IEjT.d.ts +100 -0
  230. package/dist/{types-BmvgYUzF.d.cts → types-CQquuZpl.d.cts} +1 -1
  231. package/dist/{types-Cr5gmUts.d.ts → types-CXZfZVP5.d.ts} +1 -1
  232. package/dist/{mcp-app-entry-BA-Ca39z.d.ts → types-DnBCok3z.d.cts} +2 -488
  233. package/dist/{mcp-app-entry-tybABaHg.d.cts → types-DnBCok3z.d.ts} +2 -488
  234. package/package.json +13 -3
package/dist/index.d.cts CHANGED
@@ -1,7 +1,9 @@
1
1
  import { AgentEvent, IUsage, Skill, ToolApprovalRequest, ToolApprovalContext, ToolApprovalDecision } from '@dudko.dev/agent-web';
2
- import { A as AgentUiState, C as ChatAttachment, R as RemoteRunView, L as LessonView, h as ChatMessage, i as ApprovalView, S as SubagentView, j as SubagentNode } from './mcp-app-entry-tybABaHg.cjs';
3
- export { f as AgentStatus, k as AppView, B as BrowserOAuthProvider, l as BrowserOAuthProviderOptions, m as BudgetView, n as CompactionView, o as ConnectedMcp, D as DecisionView, E as ElicitationView, F as FetchView, p as McpAppsConnectionLike, q as McpCatalogEntry, M as McpElicitationFieldSchema, a as McpElicitationHandler, d as McpElicitationOptions, b as McpElicitationRequest, c as McpElicitationResult, e as McpElicitationSchema, r as McpHttpServerConfig, s as McpModule, t as McpOAuthCallback, u as McpOAuthRegistration, v as McpOAuthRegistrationKind, w as McpProtocolMode, x as McpServerInstructions, y as McpServerProtocol, z as McpServerResult, G as MediaView, H as ModelLoadState, Q as QuestionView, I as QueuedMessageView, J as ReplanState, K as SkillConsentView, N as StepEscalationView, O as StepView, T as ToolCallView, P as TranscriptView, U as UserNoteView, W as WrittenFileView } from './mcp-app-entry-tybABaHg.cjs';
4
- export { a as ASK_USER_TOOL_NAME, b as ATTACHMENT_BOUNDS, c as AgentLabels, A as AgentLabelsOverride, d as AttachmentBounds, e as AttachmentFiles, f as AttachmentOverLimit, g as AttachmentTextOptions, h as AttachmentTransform, C as ComposerAttachment, i as ComposerNotice, E as ELICITATION_MAX_OPTIONS, j as ELICITATION_TIMEOUT_MS, k as ELICITATION_VALUE_MAX_CHARS, l as ElicitationControl, m as ElicitationDraft, n as ElicitationDraftValue, o as ElicitationField, p as ElicitationFormOutcome, q as ElicitationIssue, r as ElicitationIssueKind, s as ElicitationLink, t as ElicitationOption, u as ElicitationOutcomeReason, v as ElicitationQueue, w as ElicitationQueueOptions, F as FileKind, I as INPUT_COUNTER_FROM, M as MenuSection, N as NoticeTexts, P as PendingElicitation, x as PendingQuestion, Q as QUESTION_TIMEOUT_MS, y as QuestionOutcomeReason, z as QuestionQueue, B as QuestionQueueOptions, S as SavedAttachments, D as SlashCommand, G as SteerIntent, T as TextExcerpt, H as askUserOutputKept, J as askUserWith, K as attachmentFileName, L as attachmentKindOf, O as attachmentLabel, R as attachmentOverLimit, U as attachmentRefusal, V as attachmentTransformOf, W as boxLength, X as createElicitationQueue, Y as createQuestionQueue, Z as dataUrlParts, _ as defaultLabels, $ as defaultNoticeTexts, a0 as elicitationConnectOptions, a1 as elicitationFields, a2 as elicitationFormAnswer, a3 as elicitationInitialDraft, a4 as elicitationLink, a5 as elicitationSettings, a6 as elicitationTimeoutOf, a7 as excerptNote, a8 as fileKindOf, a9 as fileNameOf, aa as filterCommands, ab as formatClock, ac as formatCountdown, ad as formatElapsed, ae as freeAttachmentPath, af as inputCounterShown, ag as insertionFits, ah as isOneCharacter, ai as lineCountOf, aj as longTextName, ak as longTextRoute, al as menuKeyTarget, am as menuSections, an as mergeLabels, ao as messageOverLimit, ap as micProblemText, aq as noticesOf, ar as overflowOf, as as parseSlash, at as questionChoiceOf, au as questionOtherOf, av as questionTimeoutOf, aw as saveAttachments, ax as steerIntent, ay as textExcerpt, az as voiceMessageName, aA as withAttachments, aB as withoutOwnWords } from './labels-D5BrHct4.cjs';
2
+ import { A as AgentUiState, C as ChatAttachment, R as RemoteRunView, L as LessonView, a as ChatMessage, b as ApprovalView, S as SubagentView, i as SubagentNode } from './types-DnBCok3z.cjs';
3
+ export { h as AgentStatus, j as AppView, B as BrowserOAuthProvider, k as BrowserOAuthProviderOptions, l as BudgetView, m as CompactionView, n as ConnectedMcp, D as DecisionView, E as ElicitationView, F as FetchView, o as McpAppsConnectionLike, p as McpCatalogEntry, M as McpElicitationFieldSchema, c as McpElicitationHandler, f as McpElicitationOptions, d as McpElicitationRequest, e as McpElicitationResult, g as McpElicitationSchema, q as McpHttpServerConfig, r as McpModule, s as McpOAuthCallback, t as McpOAuthRegistration, u as McpOAuthRegistrationKind, v as McpProtocolMode, w as McpServerInstructions, x as McpServerProtocol, y as McpServerResult, z as MediaView, G as ModelLoadState, Q as QuestionView, H as QueuedMessageView, I as ReplanState, J as SkillConsentView, K as StepEscalationView, N as StepView, T as ToolCallView, O as TranscriptView, U as UserNoteView, W as WrittenFileView } from './types-DnBCok3z.cjs';
4
+ export { a as ATTACHMENT_BOUNDS, b as AgentLabels, A as AgentLabelsOverride, c as AttachmentBounds, d as AttachmentFiles, e as AttachmentOverLimit, f as AttachmentTextOptions, g as AttachmentTransform, C as ComposerAttachment, h as ComposerNotice, E as ELICITATION_MAX_OPTIONS, i as ELICITATION_TIMEOUT_MS, j as ELICITATION_VALUE_MAX_CHARS, k as ElicitationControl, l as ElicitationDraft, m as ElicitationDraftValue, n as ElicitationField, o as ElicitationFormOutcome, p as ElicitationIssue, q as ElicitationIssueKind, r as ElicitationLink, s as ElicitationOption, t as ElicitationOutcomeReason, u as ElicitationQueue, v as ElicitationQueueOptions, F as FileKind, I as INPUT_COUNTER_FROM, M as MenuSection, N as NotReadyInput, w as NotReadyIntent, x as NotReadyReason, y as NoticeTexts, P as PendingElicitation, S as SavedAttachments, z as SlashCommand, B as SteerIntent, T as TextExcerpt, W as WaitingSendStep, D as attachmentFileName, G as attachmentKindOf, H as attachmentLabel, J as attachmentOverLimit, K as attachmentRefusal, L as attachmentTransformOf, O as boxLength, Q as createElicitationQueue, R as dataUrlParts, U as defaultLabels, V as defaultNoticeTexts, X as elicitationConnectOptions, Y as elicitationFields, Z as elicitationFormAnswer, _ as elicitationInitialDraft, $ as elicitationLink, a0 as elicitationSettings, a1 as elicitationTimeoutOf, a2 as excerptNote, a3 as fileKindOf, a4 as fileNameOf, a5 as filterCommands, a6 as formatClock, a7 as formatCountdown, a8 as formatElapsed, a9 as freeAttachmentPath, aa as inputCounterShown, ab as insertionFits, ac as isOneCharacter, ad as lineCountOf, ae as longTextName, af as longTextRoute, ag as menuKeyTarget, ah as menuSections, ai as mergeLabels, aj as messageOverLimit, ak as micProblemText, al as notReadyIntent, am as notReadyReason, an as noticesOf, ao as overflowOf, ap as parseSlash, aq as saveAttachments, ar as steerIntent, as as textExcerpt, at as voiceMessageName, au as waitingSendStep, av as withAttachments } from './labels-CmiTBLWD.cjs';
5
+ export { A as ASK_USER_TOOL_NAME, P as PendingQuestion, a as QUESTION_TIMEOUT_MS, Q as QuestionOutcomeReason, b as QuestionQueue, c as QuestionQueueOptions, d as askUserOutputKept, e as askUserWith, f as createQuestionQueue, q as questionChoiceOf, g as questionOtherOf, h as questionTimeoutOf, w as withoutOwnWords } from './questions-Dw--IEjT.cjs';
6
+ import './mcp-app.cjs';
5
7
  import './mcp-app-policy-DXKQ2jjM.cjs';
6
8
 
7
9
  /**
@@ -224,6 +226,82 @@ declare const followsAfterScroll: (following: boolean, before: ScrollMeasure, no
224
226
  */
225
227
  declare const followsAfterResize: (following: boolean, before: ScrollMeasure, now: ScrollMeasure) => boolean;
226
228
 
229
+ /**
230
+ * Where a component lives: in the document, or in a shadow root (a web component's). The chat
231
+ * reads the focus, the element under a point and the target of an event; seen from the DOCUMENT,
232
+ * everything inside a shadow root is its HOST - `document.activeElement` is the host, a click
233
+ * inside comes from the host, `document.elementFromPoint` over a button finds the host. These
234
+ * helpers ask the component's own root instead, and look through open shadow roots where the
235
+ * question is about the whole page (what is on top at a point).
236
+ *
237
+ * In the light DOM every helper answers exactly what the `document` call it replaces did: the
238
+ * root is the document, nothing is retargeted, no shadow root is crossed.
239
+ *
240
+ * No framework, no DOM UI: they read the DOM and make nothing. Structural types (`nodeType`,
241
+ * `host`), so they run - and are tested - without a DOM.
242
+ */
243
+ /** A shadow root: a document fragment with a host. */
244
+ declare const isShadowRoot: (node: unknown) => node is ShadowRoot;
245
+ /**
246
+ * The root `node` lives in: its shadow root, else its document. A node that is not in a document
247
+ * yet (or any more) answers its owner document - never the detached subtree it hangs in.
248
+ */
249
+ declare const rootOf: (node: Node) => Document | ShadowRoot;
250
+ /**
251
+ * What has the focus, as seen from `at`'s root (or from that root itself): in a shadow root the
252
+ * focused element of that tree (a nested component's host when the focus is deeper), `null`
253
+ * when the focus is outside it; in the document, `document.activeElement`.
254
+ */
255
+ declare const activeElementOf: (at: Node | Document | ShadowRoot) => Element | null;
256
+ /**
257
+ * The element that really has the focus: from `root`'s active element down through every open
258
+ * shadow root it is the host of. In the light DOM, `document.activeElement`.
259
+ */
260
+ declare const deepActiveElement: (root: Document | ShadowRoot) => Element | null;
261
+ /** Nothing on the page has the focus: the document's active element is none or its body. */
262
+ declare const nothingFocused: (doc: Document) => boolean;
263
+ /**
264
+ * `ancestor` contains `node` across shadow boundaries: up from `node` through its parents and,
265
+ * at a shadow root, on to its host. In one tree, `ancestor.contains(node)`.
266
+ */
267
+ declare const composedContains: (ancestor: Node, node: Node | null | undefined) => boolean;
268
+ /**
269
+ * Where an event really began: the innermost target of its path (inside an open shadow root),
270
+ * else `event.target`. A listener on the document sees the host as the target of an event from
271
+ * inside a shadow root; this is the element itself. Only while the event is dispatched.
272
+ */
273
+ declare const eventTargetOf: (event: Event) => EventTarget | null;
274
+ /**
275
+ * The event began inside `node`. In one tree (the target not retargeted), `node.contains(target)`
276
+ * - exactly what a listener on the document asked before. From inside a shadow root (the
277
+ * document sees the host as the target), whether `node` is on the event's composed path.
278
+ * Only while the event is dispatched.
279
+ */
280
+ declare const isEventInside: (event: Event, node: Node | null | undefined) => boolean;
281
+ /**
282
+ * The element on top at a point of the viewport, looked for on the whole page: the document's
283
+ * answer, then down through each open shadow root it is the host of. In the light DOM,
284
+ * `document.elementFromPoint(x, y)`. A closed shadow root stays its host.
285
+ */
286
+ declare const deepElementFromPoint: (doc: Document, x: number, y: number) => Element | null;
287
+ /**
288
+ * The shadow roots `node` is inside, innermost first; none in the light DOM. Events that do not
289
+ * leave a shadow tree (`scroll`) are heard on these as well as on the window.
290
+ */
291
+ declare const shadowRootsAround: (node: Node) => ShadowRoot[];
292
+ /**
293
+ * Listens for `scroll` anywhere around `node` (capture: any scroller), on the window and on every
294
+ * shadow root `node` is inside - a scroll inside a shadow tree never reaches the window. In the
295
+ * light DOM, `window.addEventListener('scroll', listener, true)`. Returns the way to stop.
296
+ */
297
+ declare const listenScrollAround: (node: Node, listener: (event: Event) => void) => (() => void);
298
+ /**
299
+ * Where a dialog opened from `from` is mounted so that the chat's theme applies: the nearest
300
+ * ancestor matching `selector` (`.awr-chat, .awr-theme`), else the shadow root `from` lives in
301
+ * (styles adopted there apply), else the document's body - what it was before.
302
+ */
303
+ declare const portalHostOf: (from: Element, selector: string) => Element | ShadowRoot;
304
+
227
305
  /**
228
306
  * Downscale an image in the browser before it goes to a model. Providers bill
229
307
  * images by their pixel size and resize anything over ~1.15 MP / 1568 px on
@@ -915,5 +993,5 @@ interface AudioSpeakerOptions {
915
993
  */
916
994
  declare const createAudioSpeaker: (options: AudioSpeakerOptions) => SpeakText;
917
995
 
918
- export { AgentUiState, ApprovalView, ChatAttachment, ChatHistoryStore, ChatMessage, FOLLOW_LEAVE_PX, FOLLOW_REJOIN_PX, FRAME_MAX_HEIGHT, FRAME_MIN_HEIGHT, HTML_PREVIEW_MAX_CHARS, LessonView, MicError, NAMED_FILES_MAX, NAMED_FILES_SCAN_MAX, NAMED_FILES_TEXT_MAX, PROMPT_ARM_MS, RECORDING_DEFAULT_MAX_MS, RECORDING_TYPES, RemoteRunView, SpeechOutputError, SubagentNode, SubagentView, agentStateReducer, agentStatusOf, attachmentsText, audioExtensionOf, audioTypeOf, buildSandboxedDocument, chatTitle, clampFrameHeight, coalesce, createApprovalQueue, createAudioSpeaker, createBrowserSpeaker, createInitialAgentState, createPromptArming, createRecordingRecognizer, cspMetaTag, downscaleImage, endGap, errMessage, escapeAttribute, followOtherTabs, followsAfterResize, followsAfterScroll, formatDuration, formatProbability, formatTokens, imageSizeOf, imagesInOutput, languageOfText, lessonsOf, linkedFilesOf, listenToOtherTabs, mergeChatRecord, micProblemOf, namedFilesOf, newChatId, ownUnsaved, pathsNamedIn, pendingApprovalsOf, pickRecordingType, previewValue, recordingSupported, remoteAnswerOf, sandboxTokens, sandboxedCsp, saveChat, scriptOfLanguage, scriptOfText, speakableText, speechSynthesisSupported, splitForSpeech, startRecording, stopTracks, subagentTree, tokenizeHtml, unchangedSince, voiceFor, voicesOf, webSearchOf, withCspFirst, withPolicyFirst, workspacePathOf };
996
+ export { AgentUiState, ApprovalView, ChatAttachment, ChatHistoryStore, ChatMessage, FOLLOW_LEAVE_PX, FOLLOW_REJOIN_PX, FRAME_MAX_HEIGHT, FRAME_MIN_HEIGHT, HTML_PREVIEW_MAX_CHARS, LessonView, MicError, NAMED_FILES_MAX, NAMED_FILES_SCAN_MAX, NAMED_FILES_TEXT_MAX, PROMPT_ARM_MS, RECORDING_DEFAULT_MAX_MS, RECORDING_TYPES, RemoteRunView, SpeechOutputError, SubagentNode, SubagentView, activeElementOf, agentStateReducer, agentStatusOf, attachmentsText, audioExtensionOf, audioTypeOf, buildSandboxedDocument, chatTitle, clampFrameHeight, coalesce, composedContains, createApprovalQueue, createAudioSpeaker, createBrowserSpeaker, createInitialAgentState, createPromptArming, createRecordingRecognizer, cspMetaTag, deepActiveElement, deepElementFromPoint, downscaleImage, endGap, errMessage, escapeAttribute, eventTargetOf, followOtherTabs, followsAfterResize, followsAfterScroll, formatDuration, formatProbability, formatTokens, imageSizeOf, imagesInOutput, isEventInside, isShadowRoot, languageOfText, lessonsOf, linkedFilesOf, listenScrollAround, listenToOtherTabs, mergeChatRecord, micProblemOf, namedFilesOf, newChatId, nothingFocused, ownUnsaved, pathsNamedIn, pendingApprovalsOf, pickRecordingType, portalHostOf, previewValue, recordingSupported, remoteAnswerOf, rootOf, sandboxTokens, sandboxedCsp, saveChat, scriptOfLanguage, scriptOfText, shadowRootsAround, speakableText, speechSynthesisSupported, splitForSpeech, startRecording, stopTracks, subagentTree, tokenizeHtml, unchangedSince, voiceFor, voicesOf, webSearchOf, withCspFirst, withPolicyFirst, workspacePathOf };
919
997
  export type { AgentAction, ApprovalQueue, AttachmentTexts, AudioLike, AudioSpeakerOptions, BrowserSpeakerOptions, ChatBase, ChatHistoryStoreOptions, ChatRecord, ChatSummary, DownscaleOptions, ImageSize, MediaRecorderConstructorLike, MediaRecorderLike, MicProblem, NamedFilesOptions, PromptArming, ReadAloudState, RecordedAudio, Recording, RecordingDeps, RecordingRecognizerOptions, SandboxedDocumentOptions, ScrollMeasure, SourceToken, SpeakText, SpeakableOptions, SpeechPlayback, SpeechRecognizerLike, SpeechScript, SpeechSynthesisLike, SpeechUtteranceLike, SpeechVoiceLike, StartRecordingOptions, SynthesizeSpeech, TranscribeAudio, WebSearchResultView, WebSearchView };
package/dist/index.d.ts CHANGED
@@ -1,7 +1,9 @@
1
1
  import { AgentEvent, IUsage, Skill, ToolApprovalRequest, ToolApprovalContext, ToolApprovalDecision } from '@dudko.dev/agent-web';
2
- import { A as AgentUiState, C as ChatAttachment, R as RemoteRunView, L as LessonView, h as ChatMessage, i as ApprovalView, S as SubagentView, j as SubagentNode } from './mcp-app-entry-BA-Ca39z.js';
3
- export { f as AgentStatus, k as AppView, B as BrowserOAuthProvider, l as BrowserOAuthProviderOptions, m as BudgetView, n as CompactionView, o as ConnectedMcp, D as DecisionView, E as ElicitationView, F as FetchView, p as McpAppsConnectionLike, q as McpCatalogEntry, M as McpElicitationFieldSchema, a as McpElicitationHandler, d as McpElicitationOptions, b as McpElicitationRequest, c as McpElicitationResult, e as McpElicitationSchema, r as McpHttpServerConfig, s as McpModule, t as McpOAuthCallback, u as McpOAuthRegistration, v as McpOAuthRegistrationKind, w as McpProtocolMode, x as McpServerInstructions, y as McpServerProtocol, z as McpServerResult, G as MediaView, H as ModelLoadState, Q as QuestionView, I as QueuedMessageView, J as ReplanState, K as SkillConsentView, N as StepEscalationView, O as StepView, T as ToolCallView, P as TranscriptView, U as UserNoteView, W as WrittenFileView } from './mcp-app-entry-BA-Ca39z.js';
4
- export { a as ASK_USER_TOOL_NAME, b as ATTACHMENT_BOUNDS, c as AgentLabels, A as AgentLabelsOverride, d as AttachmentBounds, e as AttachmentFiles, f as AttachmentOverLimit, g as AttachmentTextOptions, h as AttachmentTransform, C as ComposerAttachment, i as ComposerNotice, E as ELICITATION_MAX_OPTIONS, j as ELICITATION_TIMEOUT_MS, k as ELICITATION_VALUE_MAX_CHARS, l as ElicitationControl, m as ElicitationDraft, n as ElicitationDraftValue, o as ElicitationField, p as ElicitationFormOutcome, q as ElicitationIssue, r as ElicitationIssueKind, s as ElicitationLink, t as ElicitationOption, u as ElicitationOutcomeReason, v as ElicitationQueue, w as ElicitationQueueOptions, F as FileKind, I as INPUT_COUNTER_FROM, M as MenuSection, N as NoticeTexts, P as PendingElicitation, x as PendingQuestion, Q as QUESTION_TIMEOUT_MS, y as QuestionOutcomeReason, z as QuestionQueue, B as QuestionQueueOptions, S as SavedAttachments, D as SlashCommand, G as SteerIntent, T as TextExcerpt, H as askUserOutputKept, J as askUserWith, K as attachmentFileName, L as attachmentKindOf, O as attachmentLabel, R as attachmentOverLimit, U as attachmentRefusal, V as attachmentTransformOf, W as boxLength, X as createElicitationQueue, Y as createQuestionQueue, Z as dataUrlParts, _ as defaultLabels, $ as defaultNoticeTexts, a0 as elicitationConnectOptions, a1 as elicitationFields, a2 as elicitationFormAnswer, a3 as elicitationInitialDraft, a4 as elicitationLink, a5 as elicitationSettings, a6 as elicitationTimeoutOf, a7 as excerptNote, a8 as fileKindOf, a9 as fileNameOf, aa as filterCommands, ab as formatClock, ac as formatCountdown, ad as formatElapsed, ae as freeAttachmentPath, af as inputCounterShown, ag as insertionFits, ah as isOneCharacter, ai as lineCountOf, aj as longTextName, ak as longTextRoute, al as menuKeyTarget, am as menuSections, an as mergeLabels, ao as messageOverLimit, ap as micProblemText, aq as noticesOf, ar as overflowOf, as as parseSlash, at as questionChoiceOf, au as questionOtherOf, av as questionTimeoutOf, aw as saveAttachments, ax as steerIntent, ay as textExcerpt, az as voiceMessageName, aA as withAttachments, aB as withoutOwnWords } from './labels-UuWI7wPo.js';
2
+ import { A as AgentUiState, C as ChatAttachment, R as RemoteRunView, L as LessonView, a as ChatMessage, b as ApprovalView, S as SubagentView, i as SubagentNode } from './types-DnBCok3z.js';
3
+ export { h as AgentStatus, j as AppView, B as BrowserOAuthProvider, k as BrowserOAuthProviderOptions, l as BudgetView, m as CompactionView, n as ConnectedMcp, D as DecisionView, E as ElicitationView, F as FetchView, o as McpAppsConnectionLike, p as McpCatalogEntry, M as McpElicitationFieldSchema, c as McpElicitationHandler, f as McpElicitationOptions, d as McpElicitationRequest, e as McpElicitationResult, g as McpElicitationSchema, q as McpHttpServerConfig, r as McpModule, s as McpOAuthCallback, t as McpOAuthRegistration, u as McpOAuthRegistrationKind, v as McpProtocolMode, w as McpServerInstructions, x as McpServerProtocol, y as McpServerResult, z as MediaView, G as ModelLoadState, Q as QuestionView, H as QueuedMessageView, I as ReplanState, J as SkillConsentView, K as StepEscalationView, N as StepView, T as ToolCallView, O as TranscriptView, U as UserNoteView, W as WrittenFileView } from './types-DnBCok3z.js';
4
+ export { a as ATTACHMENT_BOUNDS, b as AgentLabels, A as AgentLabelsOverride, c as AttachmentBounds, d as AttachmentFiles, e as AttachmentOverLimit, f as AttachmentTextOptions, g as AttachmentTransform, C as ComposerAttachment, h as ComposerNotice, E as ELICITATION_MAX_OPTIONS, i as ELICITATION_TIMEOUT_MS, j as ELICITATION_VALUE_MAX_CHARS, k as ElicitationControl, l as ElicitationDraft, m as ElicitationDraftValue, n as ElicitationField, o as ElicitationFormOutcome, p as ElicitationIssue, q as ElicitationIssueKind, r as ElicitationLink, s as ElicitationOption, t as ElicitationOutcomeReason, u as ElicitationQueue, v as ElicitationQueueOptions, F as FileKind, I as INPUT_COUNTER_FROM, M as MenuSection, N as NotReadyInput, w as NotReadyIntent, x as NotReadyReason, y as NoticeTexts, P as PendingElicitation, S as SavedAttachments, z as SlashCommand, B as SteerIntent, T as TextExcerpt, W as WaitingSendStep, D as attachmentFileName, G as attachmentKindOf, H as attachmentLabel, J as attachmentOverLimit, K as attachmentRefusal, L as attachmentTransformOf, O as boxLength, Q as createElicitationQueue, R as dataUrlParts, U as defaultLabels, V as defaultNoticeTexts, X as elicitationConnectOptions, Y as elicitationFields, Z as elicitationFormAnswer, _ as elicitationInitialDraft, $ as elicitationLink, a0 as elicitationSettings, a1 as elicitationTimeoutOf, a2 as excerptNote, a3 as fileKindOf, a4 as fileNameOf, a5 as filterCommands, a6 as formatClock, a7 as formatCountdown, a8 as formatElapsed, a9 as freeAttachmentPath, aa as inputCounterShown, ab as insertionFits, ac as isOneCharacter, ad as lineCountOf, ae as longTextName, af as longTextRoute, ag as menuKeyTarget, ah as menuSections, ai as mergeLabels, aj as messageOverLimit, ak as micProblemText, al as notReadyIntent, am as notReadyReason, an as noticesOf, ao as overflowOf, ap as parseSlash, aq as saveAttachments, ar as steerIntent, as as textExcerpt, at as voiceMessageName, au as waitingSendStep, av as withAttachments } from './labels-DH1ESUtm.js';
5
+ export { A as ASK_USER_TOOL_NAME, P as PendingQuestion, a as QUESTION_TIMEOUT_MS, Q as QuestionOutcomeReason, b as QuestionQueue, c as QuestionQueueOptions, d as askUserOutputKept, e as askUserWith, f as createQuestionQueue, q as questionChoiceOf, g as questionOtherOf, h as questionTimeoutOf, w as withoutOwnWords } from './questions-Dw--IEjT.js';
6
+ import './mcp-app.js';
5
7
  import './mcp-app-policy-DXKQ2jjM.js';
6
8
 
7
9
  /**
@@ -224,6 +226,82 @@ declare const followsAfterScroll: (following: boolean, before: ScrollMeasure, no
224
226
  */
225
227
  declare const followsAfterResize: (following: boolean, before: ScrollMeasure, now: ScrollMeasure) => boolean;
226
228
 
229
+ /**
230
+ * Where a component lives: in the document, or in a shadow root (a web component's). The chat
231
+ * reads the focus, the element under a point and the target of an event; seen from the DOCUMENT,
232
+ * everything inside a shadow root is its HOST - `document.activeElement` is the host, a click
233
+ * inside comes from the host, `document.elementFromPoint` over a button finds the host. These
234
+ * helpers ask the component's own root instead, and look through open shadow roots where the
235
+ * question is about the whole page (what is on top at a point).
236
+ *
237
+ * In the light DOM every helper answers exactly what the `document` call it replaces did: the
238
+ * root is the document, nothing is retargeted, no shadow root is crossed.
239
+ *
240
+ * No framework, no DOM UI: they read the DOM and make nothing. Structural types (`nodeType`,
241
+ * `host`), so they run - and are tested - without a DOM.
242
+ */
243
+ /** A shadow root: a document fragment with a host. */
244
+ declare const isShadowRoot: (node: unknown) => node is ShadowRoot;
245
+ /**
246
+ * The root `node` lives in: its shadow root, else its document. A node that is not in a document
247
+ * yet (or any more) answers its owner document - never the detached subtree it hangs in.
248
+ */
249
+ declare const rootOf: (node: Node) => Document | ShadowRoot;
250
+ /**
251
+ * What has the focus, as seen from `at`'s root (or from that root itself): in a shadow root the
252
+ * focused element of that tree (a nested component's host when the focus is deeper), `null`
253
+ * when the focus is outside it; in the document, `document.activeElement`.
254
+ */
255
+ declare const activeElementOf: (at: Node | Document | ShadowRoot) => Element | null;
256
+ /**
257
+ * The element that really has the focus: from `root`'s active element down through every open
258
+ * shadow root it is the host of. In the light DOM, `document.activeElement`.
259
+ */
260
+ declare const deepActiveElement: (root: Document | ShadowRoot) => Element | null;
261
+ /** Nothing on the page has the focus: the document's active element is none or its body. */
262
+ declare const nothingFocused: (doc: Document) => boolean;
263
+ /**
264
+ * `ancestor` contains `node` across shadow boundaries: up from `node` through its parents and,
265
+ * at a shadow root, on to its host. In one tree, `ancestor.contains(node)`.
266
+ */
267
+ declare const composedContains: (ancestor: Node, node: Node | null | undefined) => boolean;
268
+ /**
269
+ * Where an event really began: the innermost target of its path (inside an open shadow root),
270
+ * else `event.target`. A listener on the document sees the host as the target of an event from
271
+ * inside a shadow root; this is the element itself. Only while the event is dispatched.
272
+ */
273
+ declare const eventTargetOf: (event: Event) => EventTarget | null;
274
+ /**
275
+ * The event began inside `node`. In one tree (the target not retargeted), `node.contains(target)`
276
+ * - exactly what a listener on the document asked before. From inside a shadow root (the
277
+ * document sees the host as the target), whether `node` is on the event's composed path.
278
+ * Only while the event is dispatched.
279
+ */
280
+ declare const isEventInside: (event: Event, node: Node | null | undefined) => boolean;
281
+ /**
282
+ * The element on top at a point of the viewport, looked for on the whole page: the document's
283
+ * answer, then down through each open shadow root it is the host of. In the light DOM,
284
+ * `document.elementFromPoint(x, y)`. A closed shadow root stays its host.
285
+ */
286
+ declare const deepElementFromPoint: (doc: Document, x: number, y: number) => Element | null;
287
+ /**
288
+ * The shadow roots `node` is inside, innermost first; none in the light DOM. Events that do not
289
+ * leave a shadow tree (`scroll`) are heard on these as well as on the window.
290
+ */
291
+ declare const shadowRootsAround: (node: Node) => ShadowRoot[];
292
+ /**
293
+ * Listens for `scroll` anywhere around `node` (capture: any scroller), on the window and on every
294
+ * shadow root `node` is inside - a scroll inside a shadow tree never reaches the window. In the
295
+ * light DOM, `window.addEventListener('scroll', listener, true)`. Returns the way to stop.
296
+ */
297
+ declare const listenScrollAround: (node: Node, listener: (event: Event) => void) => (() => void);
298
+ /**
299
+ * Where a dialog opened from `from` is mounted so that the chat's theme applies: the nearest
300
+ * ancestor matching `selector` (`.awr-chat, .awr-theme`), else the shadow root `from` lives in
301
+ * (styles adopted there apply), else the document's body - what it was before.
302
+ */
303
+ declare const portalHostOf: (from: Element, selector: string) => Element | ShadowRoot;
304
+
227
305
  /**
228
306
  * Downscale an image in the browser before it goes to a model. Providers bill
229
307
  * images by their pixel size and resize anything over ~1.15 MP / 1568 px on
@@ -915,5 +993,5 @@ interface AudioSpeakerOptions {
915
993
  */
916
994
  declare const createAudioSpeaker: (options: AudioSpeakerOptions) => SpeakText;
917
995
 
918
- export { AgentUiState, ApprovalView, ChatAttachment, ChatHistoryStore, ChatMessage, FOLLOW_LEAVE_PX, FOLLOW_REJOIN_PX, FRAME_MAX_HEIGHT, FRAME_MIN_HEIGHT, HTML_PREVIEW_MAX_CHARS, LessonView, MicError, NAMED_FILES_MAX, NAMED_FILES_SCAN_MAX, NAMED_FILES_TEXT_MAX, PROMPT_ARM_MS, RECORDING_DEFAULT_MAX_MS, RECORDING_TYPES, RemoteRunView, SpeechOutputError, SubagentNode, SubagentView, agentStateReducer, agentStatusOf, attachmentsText, audioExtensionOf, audioTypeOf, buildSandboxedDocument, chatTitle, clampFrameHeight, coalesce, createApprovalQueue, createAudioSpeaker, createBrowserSpeaker, createInitialAgentState, createPromptArming, createRecordingRecognizer, cspMetaTag, downscaleImage, endGap, errMessage, escapeAttribute, followOtherTabs, followsAfterResize, followsAfterScroll, formatDuration, formatProbability, formatTokens, imageSizeOf, imagesInOutput, languageOfText, lessonsOf, linkedFilesOf, listenToOtherTabs, mergeChatRecord, micProblemOf, namedFilesOf, newChatId, ownUnsaved, pathsNamedIn, pendingApprovalsOf, pickRecordingType, previewValue, recordingSupported, remoteAnswerOf, sandboxTokens, sandboxedCsp, saveChat, scriptOfLanguage, scriptOfText, speakableText, speechSynthesisSupported, splitForSpeech, startRecording, stopTracks, subagentTree, tokenizeHtml, unchangedSince, voiceFor, voicesOf, webSearchOf, withCspFirst, withPolicyFirst, workspacePathOf };
996
+ export { AgentUiState, ApprovalView, ChatAttachment, ChatHistoryStore, ChatMessage, FOLLOW_LEAVE_PX, FOLLOW_REJOIN_PX, FRAME_MAX_HEIGHT, FRAME_MIN_HEIGHT, HTML_PREVIEW_MAX_CHARS, LessonView, MicError, NAMED_FILES_MAX, NAMED_FILES_SCAN_MAX, NAMED_FILES_TEXT_MAX, PROMPT_ARM_MS, RECORDING_DEFAULT_MAX_MS, RECORDING_TYPES, RemoteRunView, SpeechOutputError, SubagentNode, SubagentView, activeElementOf, agentStateReducer, agentStatusOf, attachmentsText, audioExtensionOf, audioTypeOf, buildSandboxedDocument, chatTitle, clampFrameHeight, coalesce, composedContains, createApprovalQueue, createAudioSpeaker, createBrowserSpeaker, createInitialAgentState, createPromptArming, createRecordingRecognizer, cspMetaTag, deepActiveElement, deepElementFromPoint, downscaleImage, endGap, errMessage, escapeAttribute, eventTargetOf, followOtherTabs, followsAfterResize, followsAfterScroll, formatDuration, formatProbability, formatTokens, imageSizeOf, imagesInOutput, isEventInside, isShadowRoot, languageOfText, lessonsOf, linkedFilesOf, listenScrollAround, listenToOtherTabs, mergeChatRecord, micProblemOf, namedFilesOf, newChatId, nothingFocused, ownUnsaved, pathsNamedIn, pendingApprovalsOf, pickRecordingType, portalHostOf, previewValue, recordingSupported, remoteAnswerOf, rootOf, sandboxTokens, sandboxedCsp, saveChat, scriptOfLanguage, scriptOfText, shadowRootsAround, speakableText, speechSynthesisSupported, splitForSpeech, startRecording, stopTracks, subagentTree, tokenizeHtml, unchangedSince, voiceFor, voicesOf, webSearchOf, withCspFirst, withPolicyFirst, workspacePathOf };
919
997
  export type { AgentAction, ApprovalQueue, AttachmentTexts, AudioLike, AudioSpeakerOptions, BrowserSpeakerOptions, ChatBase, ChatHistoryStoreOptions, ChatRecord, ChatSummary, DownscaleOptions, ImageSize, MediaRecorderConstructorLike, MediaRecorderLike, MicProblem, NamedFilesOptions, PromptArming, ReadAloudState, RecordedAudio, Recording, RecordingDeps, RecordingRecognizerOptions, SandboxedDocumentOptions, ScrollMeasure, SourceToken, SpeakText, SpeakableOptions, SpeechPlayback, SpeechRecognizerLike, SpeechScript, SpeechSynthesisLike, SpeechUtteranceLike, SpeechVoiceLike, StartRecordingOptions, SynthesizeSpeech, TranscribeAudio, WebSearchResultView, WebSearchView };