@buoy-gg/ask-buoy 7.0.34 → 7.0.36

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 (352) hide show
  1. package/README.md +35 -8
  2. package/lib/commonjs/blocks/AskBlocks.js +338 -1
  3. package/lib/commonjs/blocks/AskBlocks.js.map +1 -0
  4. package/lib/commonjs/blocks/BlockRenderer.js +262 -1
  5. package/lib/commonjs/blocks/BlockRenderer.js.map +1 -0
  6. package/lib/commonjs/blocks/ChromePrototypes.js +514 -1
  7. package/lib/commonjs/blocks/ChromePrototypes.js.map +1 -0
  8. package/lib/commonjs/blocks/DataBlocks.js +781 -1
  9. package/lib/commonjs/blocks/DataBlocks.js.map +1 -0
  10. package/lib/commonjs/blocks/ExtraBlocks.js +1860 -1
  11. package/lib/commonjs/blocks/ExtraBlocks.js.map +1 -0
  12. package/lib/commonjs/blocks/MediaBlocks.js +156 -1
  13. package/lib/commonjs/blocks/MediaBlocks.js.map +1 -0
  14. package/lib/commonjs/blocks/ReceiptBlocks.js +586 -1
  15. package/lib/commonjs/blocks/ReceiptBlocks.js.map +1 -0
  16. package/lib/commonjs/blocks/blockText.js +60 -0
  17. package/lib/commonjs/blocks/blockText.js.map +1 -0
  18. package/lib/commonjs/blocks/blockText.test.js +53 -0
  19. package/lib/commonjs/blocks/blockText.test.js.map +1 -0
  20. package/lib/commonjs/blocks/context.js +42 -1
  21. package/lib/commonjs/blocks/context.js.map +1 -0
  22. package/lib/commonjs/blocks/icons.js +96 -1
  23. package/lib/commonjs/blocks/icons.js.map +1 -0
  24. package/lib/commonjs/blocks/index.js +95 -1
  25. package/lib/commonjs/blocks/index.js.map +1 -0
  26. package/lib/commonjs/blocks/listRow.test.js +55 -0
  27. package/lib/commonjs/blocks/listRow.test.js.map +1 -0
  28. package/lib/commonjs/blocks/pageState.js +34 -0
  29. package/lib/commonjs/blocks/pageState.js.map +1 -0
  30. package/lib/commonjs/blocks/pageState.test.js +57 -0
  31. package/lib/commonjs/blocks/pageState.test.js.map +1 -0
  32. package/lib/commonjs/blocks/primitives.js +457 -1
  33. package/lib/commonjs/blocks/primitives.js.map +1 -0
  34. package/lib/commonjs/blocks/primitivesIndex.js +62 -1
  35. package/lib/commonjs/blocks/primitivesIndex.js.map +1 -0
  36. package/lib/commonjs/components/ApprovalCard.js +244 -1
  37. package/lib/commonjs/components/ApprovalCard.js.map +1 -0
  38. package/lib/commonjs/components/AskBuoyHeader.js +196 -1
  39. package/lib/commonjs/components/AskBuoyHeader.js.map +1 -0
  40. package/lib/commonjs/components/AskBuoyIcon.js +19 -1
  41. package/lib/commonjs/components/AskBuoyIcon.js.map +1 -0
  42. package/lib/commonjs/components/AskBuoyModal.js +479 -1
  43. package/lib/commonjs/components/AskBuoyModal.js.map +1 -0
  44. package/lib/commonjs/components/AskBuoySettings.js +119 -0
  45. package/lib/commonjs/components/AskBuoySettings.js.map +1 -0
  46. package/lib/commonjs/components/ChangesBar.js +211 -1
  47. package/lib/commonjs/components/ChangesBar.js.map +1 -0
  48. package/lib/commonjs/components/Composer.js +255 -1
  49. package/lib/commonjs/components/Composer.js.map +1 -0
  50. package/lib/commonjs/components/EmptyState.js +161 -1
  51. package/lib/commonjs/components/EmptyState.js.map +1 -0
  52. package/lib/commonjs/components/KeyboardPad.js +80 -0
  53. package/lib/commonjs/components/KeyboardPad.js.map +1 -0
  54. package/lib/commonjs/components/Markdown.js +310 -1
  55. package/lib/commonjs/components/Markdown.js.map +1 -0
  56. package/lib/commonjs/components/MessageList.js +930 -1
  57. package/lib/commonjs/components/MessageList.js.map +1 -0
  58. package/lib/commonjs/components/QueuedMessages.js +145 -0
  59. package/lib/commonjs/components/QueuedMessages.js.map +1 -0
  60. package/lib/commonjs/components/ThinkingStrip.js +223 -0
  61. package/lib/commonjs/components/ThinkingStrip.js.map +1 -0
  62. package/lib/commonjs/components/TypingDots.js +63 -1
  63. package/lib/commonjs/components/TypingDots.js.map +1 -0
  64. package/lib/commonjs/components/markdownParse.js +131 -0
  65. package/lib/commonjs/components/markdownParse.js.map +1 -0
  66. package/lib/commonjs/components/markdownParse.test.js +99 -0
  67. package/lib/commonjs/components/markdownParse.test.js.map +1 -0
  68. package/lib/commonjs/components/useCopyAction.js +50 -0
  69. package/lib/commonjs/components/useCopyAction.js.map +1 -0
  70. package/lib/commonjs/index.js +252 -1
  71. package/lib/commonjs/index.js.map +1 -0
  72. package/lib/commonjs/preset.js +90 -1
  73. package/lib/commonjs/preset.js.map +1 -0
  74. package/lib/commonjs/store/activityGroups.js +110 -0
  75. package/lib/commonjs/store/activityGroups.js.map +1 -0
  76. package/lib/commonjs/store/activityGroups.test.js +78 -0
  77. package/lib/commonjs/store/activityGroups.test.js.map +1 -0
  78. package/lib/commonjs/store/askBuoySettings.js +72 -0
  79. package/lib/commonjs/store/askBuoySettings.js.map +1 -0
  80. package/lib/commonjs/store/askBuoyStore.js +547 -1
  81. package/lib/commonjs/store/askBuoyStore.js.map +1 -0
  82. package/lib/commonjs/store/blockPlacement.js +64 -0
  83. package/lib/commonjs/store/blockPlacement.js.map +1 -0
  84. package/lib/commonjs/store/blockPlacement.test.js +123 -0
  85. package/lib/commonjs/store/blockPlacement.test.js.map +1 -0
  86. package/lib/commonjs/store/queue.test.js +150 -0
  87. package/lib/commonjs/store/queue.test.js.map +1 -0
  88. package/lib/commonjs/store/resetConversation.js +77 -0
  89. package/lib/commonjs/store/resetConversation.js.map +1 -0
  90. package/lib/commonjs/store/restorePending.test.js +63 -0
  91. package/lib/commonjs/store/restorePending.test.js.map +1 -0
  92. package/lib/commonjs/store/restoredIds.test.js +47 -0
  93. package/lib/commonjs/store/restoredIds.test.js.map +1 -0
  94. package/lib/commonjs/store/suggestions.js +54 -0
  95. package/lib/commonjs/store/suggestions.js.map +1 -0
  96. package/lib/commonjs/store/suggestions.test.js +58 -0
  97. package/lib/commonjs/store/suggestions.test.js.map +1 -0
  98. package/lib/commonjs/store/systemLine.test.js +77 -0
  99. package/lib/commonjs/store/systemLine.test.js.map +1 -0
  100. package/lib/commonjs/store/ticketPrompt.js +17 -0
  101. package/lib/commonjs/store/ticketPrompt.js.map +1 -0
  102. package/lib/commonjs/store/traceText.js +81 -0
  103. package/lib/commonjs/store/traceText.js.map +1 -0
  104. package/lib/commonjs/store/traceText.test.js +112 -0
  105. package/lib/commonjs/store/traceText.test.js.map +1 -0
  106. package/lib/commonjs/store/transcriptPersistence.js +297 -0
  107. package/lib/commonjs/store/transcriptPersistence.js.map +1 -0
  108. package/lib/commonjs/store/transcriptPersistence.test.js +333 -0
  109. package/lib/commonjs/store/transcriptPersistence.test.js.map +1 -0
  110. package/lib/commonjs/store/turnRendering.test.js +151 -0
  111. package/lib/commonjs/store/turnRendering.test.js.map +1 -0
  112. package/lib/commonjs/store/useAskBuoy.js +622 -1
  113. package/lib/commonjs/store/useAskBuoy.js.map +1 -0
  114. package/lib/commonjs/store/useAskBuoySettings.js +14 -0
  115. package/lib/commonjs/store/useAskBuoySettings.js.map +1 -0
  116. package/lib/commonjs/sync/askBuoySyncAdapter.js +140 -1
  117. package/lib/commonjs/sync/askBuoySyncAdapter.js.map +1 -0
  118. package/lib/commonjs/sync/askBuoySyncAdapter.test.js +141 -1
  119. package/lib/commonjs/sync/askBuoySyncAdapter.test.js.map +1 -0
  120. package/lib/commonjs/sync/wire.js +58 -1
  121. package/lib/commonjs/sync/wire.js.map +1 -0
  122. package/lib/commonjs/types.js +6 -1
  123. package/lib/commonjs/types.js.map +1 -0
  124. package/lib/module/blocks/AskBlocks.js +331 -1
  125. package/lib/module/blocks/AskBlocks.js.map +1 -0
  126. package/lib/module/blocks/BlockRenderer.js +257 -1
  127. package/lib/module/blocks/BlockRenderer.js.map +1 -0
  128. package/lib/module/blocks/ChromePrototypes.js +503 -1
  129. package/lib/module/blocks/ChromePrototypes.js.map +1 -0
  130. package/lib/module/blocks/DataBlocks.js +767 -1
  131. package/lib/module/blocks/DataBlocks.js.map +1 -0
  132. package/lib/module/blocks/ExtraBlocks.js +1833 -1
  133. package/lib/module/blocks/ExtraBlocks.js.map +1 -0
  134. package/lib/module/blocks/MediaBlocks.js +151 -1
  135. package/lib/module/blocks/MediaBlocks.js.map +1 -0
  136. package/lib/module/blocks/ReceiptBlocks.js +574 -1
  137. package/lib/module/blocks/ReceiptBlocks.js.map +1 -0
  138. package/lib/module/blocks/blockText.js +55 -0
  139. package/lib/module/blocks/blockText.js.map +1 -0
  140. package/lib/module/blocks/blockText.test.js +53 -0
  141. package/lib/module/blocks/blockText.test.js.map +1 -0
  142. package/lib/module/blocks/context.js +35 -1
  143. package/lib/module/blocks/context.js.map +1 -0
  144. package/lib/module/blocks/icons.js +91 -1
  145. package/lib/module/blocks/icons.js.map +1 -0
  146. package/lib/module/blocks/index.js +8 -1
  147. package/lib/module/blocks/index.js.map +1 -0
  148. package/lib/module/blocks/listRow.test.js +56 -0
  149. package/lib/module/blocks/listRow.test.js.map +1 -0
  150. package/lib/module/blocks/pageState.js +30 -0
  151. package/lib/module/blocks/pageState.js.map +1 -0
  152. package/lib/module/blocks/pageState.test.js +56 -0
  153. package/lib/module/blocks/pageState.test.js.map +1 -0
  154. package/lib/module/blocks/primitives.js +445 -1
  155. package/lib/module/blocks/primitives.js.map +1 -0
  156. package/lib/module/blocks/primitivesIndex.js +5 -1
  157. package/lib/module/blocks/primitivesIndex.js.map +1 -0
  158. package/lib/module/components/ApprovalCard.js +239 -1
  159. package/lib/module/components/ApprovalCard.js.map +1 -0
  160. package/lib/module/components/AskBuoyHeader.js +193 -1
  161. package/lib/module/components/AskBuoyHeader.js.map +1 -0
  162. package/lib/module/components/AskBuoyIcon.js +8 -1
  163. package/lib/module/components/AskBuoyIcon.js.map +1 -0
  164. package/lib/module/components/AskBuoyModal.js +474 -1
  165. package/lib/module/components/AskBuoyModal.js.map +1 -0
  166. package/lib/module/components/AskBuoySettings.js +114 -0
  167. package/lib/module/components/AskBuoySettings.js.map +1 -0
  168. package/lib/module/components/ChangesBar.js +206 -1
  169. package/lib/module/components/ChangesBar.js.map +1 -0
  170. package/lib/module/components/Composer.js +250 -1
  171. package/lib/module/components/Composer.js.map +1 -0
  172. package/lib/module/components/EmptyState.js +156 -1
  173. package/lib/module/components/EmptyState.js.map +1 -0
  174. package/lib/module/components/KeyboardPad.js +75 -0
  175. package/lib/module/components/KeyboardPad.js.map +1 -0
  176. package/lib/module/components/Markdown.js +305 -1
  177. package/lib/module/components/Markdown.js.map +1 -0
  178. package/lib/module/components/MessageList.js +924 -1
  179. package/lib/module/components/MessageList.js.map +1 -0
  180. package/lib/module/components/QueuedMessages.js +140 -0
  181. package/lib/module/components/QueuedMessages.js.map +1 -0
  182. package/lib/module/components/ThinkingStrip.js +218 -0
  183. package/lib/module/components/ThinkingStrip.js.map +1 -0
  184. package/lib/module/components/TypingDots.js +58 -1
  185. package/lib/module/components/TypingDots.js.map +1 -0
  186. package/lib/module/components/markdownParse.js +125 -0
  187. package/lib/module/components/markdownParse.js.map +1 -0
  188. package/lib/module/components/markdownParse.test.js +98 -0
  189. package/lib/module/components/markdownParse.test.js.map +1 -0
  190. package/lib/module/components/useCopyAction.js +46 -0
  191. package/lib/module/components/useCopyAction.js.map +1 -0
  192. package/lib/module/index.js +34 -1
  193. package/lib/module/index.js.map +1 -0
  194. package/lib/module/preset.js +73 -1
  195. package/lib/module/preset.js.map +1 -0
  196. package/lib/module/store/activityGroups.js +103 -0
  197. package/lib/module/store/activityGroups.js.map +1 -0
  198. package/lib/module/store/activityGroups.test.js +77 -0
  199. package/lib/module/store/activityGroups.test.js.map +1 -0
  200. package/lib/module/store/askBuoySettings.js +67 -0
  201. package/lib/module/store/askBuoySettings.js.map +1 -0
  202. package/lib/module/store/askBuoyStore.js +541 -1
  203. package/lib/module/store/askBuoyStore.js.map +1 -0
  204. package/lib/module/store/blockPlacement.js +59 -0
  205. package/lib/module/store/blockPlacement.js.map +1 -0
  206. package/lib/module/store/blockPlacement.test.js +122 -0
  207. package/lib/module/store/blockPlacement.test.js.map +1 -0
  208. package/lib/module/store/queue.test.js +149 -0
  209. package/lib/module/store/queue.test.js.map +1 -0
  210. package/lib/module/store/resetConversation.js +72 -0
  211. package/lib/module/store/resetConversation.js.map +1 -0
  212. package/lib/module/store/restorePending.test.js +62 -0
  213. package/lib/module/store/restorePending.test.js.map +1 -0
  214. package/lib/module/store/restoredIds.test.js +46 -0
  215. package/lib/module/store/restoredIds.test.js.map +1 -0
  216. package/lib/module/store/suggestions.js +49 -0
  217. package/lib/module/store/suggestions.js.map +1 -0
  218. package/lib/module/store/suggestions.test.js +57 -0
  219. package/lib/module/store/suggestions.test.js.map +1 -0
  220. package/lib/module/store/systemLine.test.js +76 -0
  221. package/lib/module/store/systemLine.test.js.map +1 -0
  222. package/lib/module/store/ticketPrompt.js +13 -0
  223. package/lib/module/store/ticketPrompt.js.map +1 -0
  224. package/lib/module/store/traceText.js +75 -0
  225. package/lib/module/store/traceText.js.map +1 -0
  226. package/lib/module/store/traceText.test.js +111 -0
  227. package/lib/module/store/traceText.test.js.map +1 -0
  228. package/lib/module/store/transcriptPersistence.js +287 -0
  229. package/lib/module/store/transcriptPersistence.js.map +1 -0
  230. package/lib/module/store/transcriptPersistence.test.js +332 -0
  231. package/lib/module/store/transcriptPersistence.test.js.map +1 -0
  232. package/lib/module/store/turnRendering.test.js +150 -0
  233. package/lib/module/store/turnRendering.test.js.map +1 -0
  234. package/lib/module/store/useAskBuoy.js +616 -1
  235. package/lib/module/store/useAskBuoy.js.map +1 -0
  236. package/lib/module/store/useAskBuoySettings.js +9 -0
  237. package/lib/module/store/useAskBuoySettings.js.map +1 -0
  238. package/lib/module/sync/askBuoySyncAdapter.js +135 -1
  239. package/lib/module/sync/askBuoySyncAdapter.js.map +1 -0
  240. package/lib/module/sync/askBuoySyncAdapter.test.js +140 -1
  241. package/lib/module/sync/askBuoySyncAdapter.test.js.map +1 -0
  242. package/lib/module/sync/wire.js +47 -1
  243. package/lib/module/sync/wire.js.map +1 -0
  244. package/lib/module/types.js +4 -1
  245. package/lib/module/types.js.map +1 -0
  246. package/lib/typescript/blocks/AskBlocks.d.ts.map +1 -0
  247. package/lib/typescript/blocks/BlockRenderer.d.ts.map +1 -0
  248. package/lib/typescript/blocks/ChromePrototypes.d.ts.map +1 -0
  249. package/lib/typescript/blocks/DataBlocks.d.ts +42 -0
  250. package/lib/typescript/blocks/DataBlocks.d.ts.map +1 -0
  251. package/lib/typescript/blocks/ExtraBlocks.d.ts +29 -2
  252. package/lib/typescript/blocks/ExtraBlocks.d.ts.map +1 -0
  253. package/lib/typescript/blocks/MediaBlocks.d.ts.map +1 -0
  254. package/lib/typescript/blocks/ReceiptBlocks.d.ts.map +1 -0
  255. package/lib/typescript/blocks/blockText.d.ts +14 -0
  256. package/lib/typescript/blocks/blockText.d.ts.map +1 -0
  257. package/lib/typescript/blocks/blockText.test.d.ts +2 -0
  258. package/lib/typescript/blocks/blockText.test.d.ts.map +1 -0
  259. package/lib/typescript/blocks/context.d.ts.map +1 -0
  260. package/lib/typescript/blocks/icons.d.ts.map +1 -0
  261. package/lib/typescript/blocks/index.d.ts.map +1 -0
  262. package/lib/typescript/blocks/listRow.test.d.ts +2 -0
  263. package/lib/typescript/blocks/listRow.test.d.ts.map +1 -0
  264. package/lib/typescript/blocks/pageState.d.ts +23 -0
  265. package/lib/typescript/blocks/pageState.d.ts.map +1 -0
  266. package/lib/typescript/blocks/pageState.test.d.ts +2 -0
  267. package/lib/typescript/blocks/pageState.test.d.ts.map +1 -0
  268. package/lib/typescript/blocks/primitives.d.ts +55 -10
  269. package/lib/typescript/blocks/primitives.d.ts.map +1 -0
  270. package/lib/typescript/blocks/primitivesIndex.d.ts +2 -1
  271. package/lib/typescript/blocks/primitivesIndex.d.ts.map +1 -0
  272. package/lib/typescript/components/ApprovalCard.d.ts.map +1 -0
  273. package/lib/typescript/components/AskBuoyHeader.d.ts +41 -1
  274. package/lib/typescript/components/AskBuoyHeader.d.ts.map +1 -0
  275. package/lib/typescript/components/AskBuoyIcon.d.ts.map +1 -0
  276. package/lib/typescript/components/AskBuoyModal.d.ts.map +1 -0
  277. package/lib/typescript/components/AskBuoySettings.d.ts +2 -0
  278. package/lib/typescript/components/AskBuoySettings.d.ts.map +1 -0
  279. package/lib/typescript/components/ChangesBar.d.ts.map +1 -0
  280. package/lib/typescript/components/Composer.d.ts +16 -1
  281. package/lib/typescript/components/Composer.d.ts.map +1 -0
  282. package/lib/typescript/components/EmptyState.d.ts +5 -1
  283. package/lib/typescript/components/EmptyState.d.ts.map +1 -0
  284. package/lib/typescript/components/KeyboardPad.d.ts +33 -0
  285. package/lib/typescript/components/KeyboardPad.d.ts.map +1 -0
  286. package/lib/typescript/components/Markdown.d.ts +0 -10
  287. package/lib/typescript/components/Markdown.d.ts.map +1 -0
  288. package/lib/typescript/components/MessageList.d.ts +19 -7
  289. package/lib/typescript/components/MessageList.d.ts.map +1 -0
  290. package/lib/typescript/components/QueuedMessages.d.ts +10 -0
  291. package/lib/typescript/components/QueuedMessages.d.ts.map +1 -0
  292. package/lib/typescript/components/ThinkingStrip.d.ts +5 -0
  293. package/lib/typescript/components/ThinkingStrip.d.ts.map +1 -0
  294. package/lib/typescript/components/TypingDots.d.ts.map +1 -0
  295. package/lib/typescript/components/markdownParse.d.ts +49 -0
  296. package/lib/typescript/components/markdownParse.d.ts.map +1 -0
  297. package/lib/typescript/components/markdownParse.test.d.ts +2 -0
  298. package/lib/typescript/components/markdownParse.test.d.ts.map +1 -0
  299. package/lib/typescript/components/useCopyAction.d.ts +5 -0
  300. package/lib/typescript/components/useCopyAction.d.ts.map +1 -0
  301. package/lib/typescript/index.d.ts +5 -0
  302. package/lib/typescript/index.d.ts.map +1 -0
  303. package/lib/typescript/preset.d.ts.map +1 -0
  304. package/lib/typescript/store/activityGroups.d.ts +29 -0
  305. package/lib/typescript/store/activityGroups.d.ts.map +1 -0
  306. package/lib/typescript/store/activityGroups.test.d.ts +2 -0
  307. package/lib/typescript/store/activityGroups.test.d.ts.map +1 -0
  308. package/lib/typescript/store/askBuoySettings.d.ts +44 -0
  309. package/lib/typescript/store/askBuoySettings.d.ts.map +1 -0
  310. package/lib/typescript/store/askBuoyStore.d.ts +216 -18
  311. package/lib/typescript/store/askBuoyStore.d.ts.map +1 -0
  312. package/lib/typescript/store/blockPlacement.d.ts +30 -0
  313. package/lib/typescript/store/blockPlacement.d.ts.map +1 -0
  314. package/lib/typescript/store/blockPlacement.test.d.ts +2 -0
  315. package/lib/typescript/store/blockPlacement.test.d.ts.map +1 -0
  316. package/lib/typescript/store/queue.test.d.ts +2 -0
  317. package/lib/typescript/store/queue.test.d.ts.map +1 -0
  318. package/lib/typescript/store/resetConversation.d.ts +38 -0
  319. package/lib/typescript/store/resetConversation.d.ts.map +1 -0
  320. package/lib/typescript/store/restorePending.test.d.ts +2 -0
  321. package/lib/typescript/store/restorePending.test.d.ts.map +1 -0
  322. package/lib/typescript/store/restoredIds.test.d.ts +2 -0
  323. package/lib/typescript/store/restoredIds.test.d.ts.map +1 -0
  324. package/lib/typescript/store/suggestions.d.ts +32 -0
  325. package/lib/typescript/store/suggestions.d.ts.map +1 -0
  326. package/lib/typescript/store/suggestions.test.d.ts +2 -0
  327. package/lib/typescript/store/suggestions.test.d.ts.map +1 -0
  328. package/lib/typescript/store/systemLine.test.d.ts +2 -0
  329. package/lib/typescript/store/systemLine.test.d.ts.map +1 -0
  330. package/lib/typescript/store/ticketPrompt.d.ts +11 -0
  331. package/lib/typescript/store/ticketPrompt.d.ts.map +1 -0
  332. package/lib/typescript/store/traceText.d.ts +33 -0
  333. package/lib/typescript/store/traceText.d.ts.map +1 -0
  334. package/lib/typescript/store/traceText.test.d.ts +2 -0
  335. package/lib/typescript/store/traceText.test.d.ts.map +1 -0
  336. package/lib/typescript/store/transcriptPersistence.d.ts +79 -0
  337. package/lib/typescript/store/transcriptPersistence.d.ts.map +1 -0
  338. package/lib/typescript/store/transcriptPersistence.test.d.ts +2 -0
  339. package/lib/typescript/store/transcriptPersistence.test.d.ts.map +1 -0
  340. package/lib/typescript/store/turnRendering.test.d.ts +2 -0
  341. package/lib/typescript/store/turnRendering.test.d.ts.map +1 -0
  342. package/lib/typescript/store/useAskBuoy.d.ts +23 -1
  343. package/lib/typescript/store/useAskBuoy.d.ts.map +1 -0
  344. package/lib/typescript/store/useAskBuoySettings.d.ts +3 -0
  345. package/lib/typescript/store/useAskBuoySettings.d.ts.map +1 -0
  346. package/lib/typescript/sync/askBuoySyncAdapter.d.ts +26 -6
  347. package/lib/typescript/sync/askBuoySyncAdapter.d.ts.map +1 -0
  348. package/lib/typescript/sync/askBuoySyncAdapter.test.d.ts.map +1 -0
  349. package/lib/typescript/sync/wire.d.ts.map +1 -0
  350. package/lib/typescript/types.d.ts +24 -1
  351. package/lib/typescript/types.d.ts.map +1 -0
  352. package/package.json +9 -9
@@ -1 +1,244 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.ApprovalCard=ApprovalCard;var _reactNative=require("react-native"),_sharedUi=require("@buoy-gg/shared-ui"),_jsxRuntime=require("react/jsx-runtime");function ApprovalCard({pending:e,onAnswer:t}){return(0,_jsxRuntime.jsxs)(_reactNative.View,{style:styles.card,testID:"buoy-ask-buoy-approval",children:[(0,_jsxRuntime.jsxs)(_reactNative.View,{style:styles.titleRow,children:[(0,_jsxRuntime.jsx)(_sharedUi.AlertTriangle,{size:14,color:_sharedUi.night.color.warning}),(0,_jsxRuntime.jsx)(_reactNative.Text,{style:styles.title,children:"Allow this change?"})]}),(0,_jsxRuntime.jsx)(_reactNative.Text,{style:styles.label,children:e.label}),e.description?(0,_jsxRuntime.jsx)(_reactNative.Text,{style:styles.description,children:e.description}):null,(0,_jsxRuntime.jsx)(_reactNative.Text,{style:styles.reason,children:e.reason}),(0,_jsxRuntime.jsxs)(_reactNative.View,{style:styles.actions,children:[(0,_jsxRuntime.jsx)(_reactNative.Pressable,{testID:"buoy-ask-buoy-approve",accessibilityRole:"button",onPress:()=>t(!0),style:({pressed:e})=>[styles.button,styles.approve,e&&styles.pressed],children:(0,_jsxRuntime.jsx)(_reactNative.Text,{style:styles.approveText,children:"Allow"})}),(0,_jsxRuntime.jsx)(_reactNative.Pressable,{testID:"buoy-ask-buoy-reject",accessibilityRole:"button",onPress:()=>t(!1),style:({pressed:e})=>[styles.button,styles.reject,e&&styles.pressed],children:(0,_jsxRuntime.jsx)(_reactNative.Text,{style:styles.rejectText,children:"Not now"})})]})]})}const styles=_reactNative.StyleSheet.create({card:{marginHorizontal:_sharedUi.night.gutter,marginBottom:10,padding:_sharedUi.night.cardPad,borderRadius:_sharedUi.night.radius.card,borderWidth:_reactNative.StyleSheet.hairlineWidth,borderColor:_sharedUi.night.color.accentBorderStrong,backgroundColor:_sharedUi.night.color.surface,gap:6},titleRow:{flexDirection:"row",alignItems:"center",gap:6},title:{color:_sharedUi.night.color.text,fontSize:_sharedUi.night.font.caption,fontWeight:"600"},label:{color:_sharedUi.night.color.text,fontSize:_sharedUi.night.font.row,fontWeight:"600",lineHeight:20},description:{color:_sharedUi.night.color.textSecondary,fontSize:_sharedUi.night.font.caption,lineHeight:18},reason:{color:_sharedUi.night.color.warning,fontSize:_sharedUi.night.font.caption,lineHeight:18},actions:{flexDirection:"row",gap:8,marginTop:6},button:{paddingHorizontal:16,paddingVertical:9,borderRadius:_sharedUi.night.radius.row},approve:{backgroundColor:_sharedUi.night.color.accent},approveText:{color:_sharedUi.night.color.onAccent,fontWeight:"600",fontSize:_sharedUi.night.font.caption},reject:{backgroundColor:_sharedUi.night.color.button},rejectText:{color:_sharedUi.night.color.text,fontSize:_sharedUi.night.font.caption},pressed:{opacity:.7}});
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.ApprovalCard = ApprovalCard;
7
+ var _react = require("react");
8
+ var _reactNative = require("react-native");
9
+ var _sharedUi = require("@buoy-gg/shared-ui");
10
+ var _jsxRuntime = require("react/jsx-runtime");
11
+ /**
12
+ * The approval prompt, shown only when the policy asks for a tap.
13
+ *
14
+ * It renders the EFFECT, not the payload. That is the whole design constraint:
15
+ * every other agent product assumes a developer is reading the proposed
16
+ * command before approving it, and the people this tool is for cannot evaluate
17
+ * `redux_dispatch({type:'SET_ENTITLEMENTS', payload:{…}})`. An approval prompt
18
+ * nobody can read is not oversight — it is a rubber stamp that looks like
19
+ * oversight, which is worse than having no prompt at all.
20
+ *
21
+ * WHICH IS WHY THE DETAIL IS COLLAPSED. The card sits between the message list
22
+ * and the composer, so its height is taken out of the transcript rather than
23
+ * scrolled: a card taller than the sheet pushes its own buttons off the bottom
24
+ * with nothing to scroll them back. That is what happened — `description` is
25
+ * the catalog summary, written for the MODEL, and zustand's runs to a
26
+ * twenty-line paragraph about merge semantics. A prompt you physically cannot
27
+ * answer is the worst failure mode this component has.
28
+ *
29
+ * So the visible card is fixed-height by construction — the title, the effect
30
+ * in one line, the consequence in one line, a disclosure, and the buttons —
31
+ * and the long text lives behind the disclosure inside a capped scroll box, so
32
+ * expanding it can never push the buttons away again either.
33
+ */
34
+
35
+ function ApprovalCard({
36
+ pending,
37
+ onAnswer
38
+ }) {
39
+ return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
40
+ style: styles.card,
41
+ testID: "buoy-ask-buoy-approval",
42
+ children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
43
+ style: styles.titleRow,
44
+ children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_sharedUi.AlertTriangle, {
45
+ size: 14,
46
+ color: _sharedUi.night.color.warning
47
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
48
+ style: styles.title,
49
+ children: "Allow this change?"
50
+ })]
51
+ }), pending.restored ? /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
52
+ style: styles.restored,
53
+ testID: "buoy-ask-buoy-approval-restored",
54
+ children: "Asked before the app restarted \u2014 check it still applies."
55
+ }) : null, /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
56
+ style: styles.label,
57
+ children: pending.label
58
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
59
+ style: styles.reason,
60
+ children: pending.reason
61
+ }), pending.description ? /*#__PURE__*/(0, _jsxRuntime.jsx)(ApprovalDetails, {
62
+ text: pending.description
63
+ }) : null, /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
64
+ style: styles.actions,
65
+ children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Pressable, {
66
+ testID: "buoy-ask-buoy-approve",
67
+ accessibilityRole: "button",
68
+ onPress: () => onAnswer(true),
69
+ style: ({
70
+ pressed
71
+ }) => [styles.button, styles.approve, pressed && styles.pressed],
72
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
73
+ style: styles.approveText,
74
+ children: "Allow"
75
+ })
76
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Pressable, {
77
+ testID: "buoy-ask-buoy-reject",
78
+ accessibilityRole: "button",
79
+ onPress: () => onAnswer(false),
80
+ style: ({
81
+ pressed
82
+ }) => [styles.button, styles.reject, pressed && styles.pressed],
83
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
84
+ style: styles.rejectText,
85
+ children: "Not now"
86
+ })
87
+ })]
88
+ })]
89
+ });
90
+ }
91
+
92
+ /**
93
+ * The catalog's own description, behind a disclosure, closed by default.
94
+ *
95
+ * Owns its open state rather than taking it as a prop: nothing above the card
96
+ * needs to know, and answering the prompt unmounts the whole thing anyway.
97
+ * One ChevronDown rotated in place, not a swap between two icon components —
98
+ * the tree keeps its shape whichever way it is pointing.
99
+ */
100
+ function ApprovalDetails({
101
+ text
102
+ }) {
103
+ const [open, setOpen] = (0, _react.useState)(false);
104
+ return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
105
+ children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.Pressable, {
106
+ testID: "buoy-ask-buoy-approval-details",
107
+ accessibilityRole: "button",
108
+ accessibilityState: {
109
+ expanded: open
110
+ },
111
+ onPress: () => setOpen(prev => !prev),
112
+ style: ({
113
+ pressed
114
+ }) => [styles.disclosure, pressed && styles.pressed],
115
+ hitSlop: 6,
116
+ children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
117
+ style: open ? styles.chevronOpen : styles.chevronClosed,
118
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_sharedUi.ChevronDown, {
119
+ size: 12,
120
+ color: _sharedUi.night.color.textTertiary
121
+ })
122
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
123
+ style: styles.disclosureText,
124
+ children: open ? "Hide details" : "Details"
125
+ })]
126
+ }), open ?
127
+ /*#__PURE__*/
128
+ // Capped and scrollable: the text behind this is unbounded, and the
129
+ // buttons below must stay on screen whatever it says.
130
+ (0, _jsxRuntime.jsx)(_reactNative.ScrollView, {
131
+ style: styles.detail,
132
+ contentContainerStyle: styles.detailContent,
133
+ nestedScrollEnabled: true,
134
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
135
+ style: styles.description,
136
+ children: text
137
+ })
138
+ }) : null]
139
+ });
140
+ }
141
+ const styles = _reactNative.StyleSheet.create({
142
+ card: {
143
+ marginHorizontal: _sharedUi.night.gutter,
144
+ marginBottom: 10,
145
+ padding: _sharedUi.night.cardPad,
146
+ borderRadius: _sharedUi.night.radius.card,
147
+ borderWidth: _reactNative.StyleSheet.hairlineWidth,
148
+ borderColor: _sharedUi.night.color.accentBorderStrong,
149
+ backgroundColor: _sharedUi.night.color.surface,
150
+ gap: 6
151
+ },
152
+ titleRow: {
153
+ flexDirection: "row",
154
+ alignItems: "center",
155
+ gap: 6
156
+ },
157
+ title: {
158
+ color: _sharedUi.night.color.text,
159
+ fontSize: _sharedUi.night.font.caption,
160
+ fontWeight: "600"
161
+ },
162
+ label: {
163
+ color: _sharedUi.night.color.text,
164
+ fontSize: _sharedUi.night.font.row,
165
+ fontWeight: "600",
166
+ lineHeight: 20
167
+ },
168
+ description: {
169
+ color: _sharedUi.night.color.textSecondary,
170
+ fontSize: _sharedUi.night.font.caption,
171
+ lineHeight: 18
172
+ },
173
+ reason: {
174
+ color: _sharedUi.night.color.warning,
175
+ fontSize: _sharedUi.night.font.caption,
176
+ lineHeight: 18
177
+ },
178
+ restored: {
179
+ color: _sharedUi.night.color.info,
180
+ backgroundColor: _sharedUi.night.color.infoSoft,
181
+ fontSize: _sharedUi.night.font.micro,
182
+ lineHeight: 16,
183
+ paddingHorizontal: 8,
184
+ paddingVertical: 5,
185
+ borderRadius: 8
186
+ },
187
+ disclosure: {
188
+ flexDirection: "row",
189
+ alignItems: "center",
190
+ gap: 4,
191
+ paddingVertical: 4
192
+ },
193
+ disclosureText: {
194
+ color: _sharedUi.night.color.textTertiary,
195
+ fontSize: _sharedUi.night.font.micro,
196
+ fontWeight: "600"
197
+ },
198
+ chevronOpen: {
199
+ transform: [{
200
+ rotate: "0deg"
201
+ }]
202
+ },
203
+ chevronClosed: {
204
+ transform: [{
205
+ rotate: "-90deg"
206
+ }]
207
+ },
208
+ detail: {
209
+ maxHeight: 150,
210
+ marginTop: 2
211
+ },
212
+ detailContent: {
213
+ paddingBottom: 2
214
+ },
215
+ actions: {
216
+ flexDirection: "row",
217
+ gap: 8,
218
+ marginTop: 6
219
+ },
220
+ button: {
221
+ paddingHorizontal: 16,
222
+ paddingVertical: 9,
223
+ borderRadius: _sharedUi.night.radius.row
224
+ },
225
+ approve: {
226
+ backgroundColor: _sharedUi.night.color.accent
227
+ },
228
+ approveText: {
229
+ color: _sharedUi.night.color.onAccent,
230
+ fontWeight: "600",
231
+ fontSize: _sharedUi.night.font.caption
232
+ },
233
+ reject: {
234
+ backgroundColor: _sharedUi.night.color.button
235
+ },
236
+ rejectText: {
237
+ color: _sharedUi.night.color.text,
238
+ fontSize: _sharedUi.night.font.caption
239
+ },
240
+ pressed: {
241
+ opacity: 0.7
242
+ }
243
+ });
244
+ //# sourceMappingURL=ApprovalCard.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["_react","require","_reactNative","_sharedUi","_jsxRuntime","ApprovalCard","pending","onAnswer","jsxs","View","style","styles","card","testID","children","titleRow","jsx","AlertTriangle","size","color","night","warning","Text","title","restored","label","reason","description","ApprovalDetails","text","actions","Pressable","accessibilityRole","onPress","pressed","button","approve","approveText","reject","rejectText","open","setOpen","useState","accessibilityState","expanded","prev","disclosure","hitSlop","chevronOpen","chevronClosed","ChevronDown","textTertiary","disclosureText","ScrollView","detail","contentContainerStyle","detailContent","nestedScrollEnabled","StyleSheet","create","marginHorizontal","gutter","marginBottom","padding","cardPad","borderRadius","radius","borderWidth","hairlineWidth","borderColor","accentBorderStrong","backgroundColor","surface","gap","flexDirection","alignItems","fontSize","font","caption","fontWeight","row","lineHeight","textSecondary","info","infoSoft","micro","paddingHorizontal","paddingVertical","transform","rotate","maxHeight","marginTop","paddingBottom","accent","onAccent","opacity"],"sourceRoot":"../../../src","sources":["components/ApprovalCard.tsx"],"mappings":";;;;;;AAuBA,IAAAA,MAAA,GAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AACA,IAAAE,SAAA,GAAAF,OAAA;AAAuE,IAAAG,WAAA,GAAAH,OAAA;AAzBvE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAYO,SAASI,YAAYA,CAAC;EAAEC,OAAO;EAAEC;AAA4B,CAAC,EAAE;EACrE,oBACE,IAAAH,WAAA,CAAAI,IAAA,EAACN,YAAA,CAAAO,IAAI;IAACC,KAAK,EAAEC,MAAM,CAACC,IAAK;IAACC,MAAM,EAAC,wBAAwB;IAAAC,QAAA,gBACvD,IAAAV,WAAA,CAAAI,IAAA,EAACN,YAAA,CAAAO,IAAI;MAACC,KAAK,EAAEC,MAAM,CAACI,QAAS;MAAAD,QAAA,gBAC3B,IAAAV,WAAA,CAAA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;EAAQ,CAAC;EAC7FxC,MAAM,EAAE;IAAEiC,eAAe,EAAEnD,eAAK,CAACD,KAAK,CAACgB;EAAO,CAAC;EAC/CI,UAAU,EAAE;IAAEpB,KAAK,EAAEC,eAAK,CAACD,KAAK,CAACU,IAAI;IAAE+C,QAAQ,EAAExD,eAAK,CAACyD,IAAI,CAACC;EAAQ,CAAC;EACrE5C,OAAO,EAAE;IAAE6D,OAAO,EAAE;EAAI;AAC1B,CAAC,CAAC","ignoreList":[]}
@@ -1 +1,196 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.AskBuoyHeader=AskBuoyHeader;var _react=require("react"),_reactNative=require("react-native"),_sharedUi=require("@buoy-gg/shared-ui"),_jsxRuntime=require("react/jsx-runtime");const HEADER_TICK_MS=200;function AskBuoyHeader({configured:e,busy:t,failed:s=!1,activeLabel:i,toolCount:r,hasMessages:a,onBack:o,onReset:n}){const[c,u]=(0,_react.useState)(!1);(0,_react.useEffect)(()=>{t?i&&u(!0):u(!1)},[t,i]);const d=e?s?"error":t?i||c?"robot":"thinking":"idle":"confused",l=e?t?i?`${i}…`:"Thinking…":r>0?`Ready · ${r} tool${1===r?"":"s"} available`:"Ready":"Not set up in this app";return(0,_jsxRuntime.jsxs)(_sharedUi.ModalHeader,{children:[o?(0,_jsxRuntime.jsx)(_sharedUi.ModalHeader.Navigation,{onBack:o}):null,(0,_jsxRuntime.jsx)(_reactNative.View,{style:styles.otto,testID:"buoy-ask-buoy-otto",children:(0,_jsxRuntime.jsx)(_sharedUi.Otto,{state:d,pixelSize:2,tickMs:HEADER_TICK_MS,water:!1})}),(0,_jsxRuntime.jsx)(_sharedUi.ModalHeader.Content,{title:"Ask Buoy",subtitle:l,testID:"buoy-ask-buoy-title"}),(0,_jsxRuntime.jsx)(_sharedUi.ModalHeader.Actions,{children:(0,_jsxRuntime.jsx)(_reactNative.TouchableOpacity,{testID:"buoy-ask-buoy-reset",accessibilityRole:"button",accessibilityLabel:"New conversation",disabled:!a,onPress:n,style:[styles.actionBtn,!a&&styles.actionBtnDisabled],children:(0,_jsxRuntime.jsx)(_sharedUi.Plus,{size:14,color:a?_sharedUi.night.color.textSecondary:_sharedUi.night.color.textTertiary})})})]})}const styles=_reactNative.StyleSheet.create({otto:{marginRight:8,justifyContent:"center"},actionBtn:{width:32,height:32,borderRadius:8,backgroundColor:_sharedUi.night.color.buttonSurface,borderWidth:1,borderColor:_sharedUi.night.color.border,alignItems:"center",justifyContent:"center"},actionBtnDisabled:{opacity:.55}});
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.AskBuoyHeader = AskBuoyHeader;
7
+ var _react = require("react");
8
+ var _reactNative = require("react-native");
9
+ var _sharedUi = require("@buoy-gg/shared-ui");
10
+ var _useCopyAction = require("./useCopyAction");
11
+ var _activityGroups = require("../store/activityGroups");
12
+ var _jsxRuntime = require("react/jsx-runtime");
13
+ /**
14
+ * The sheet header.
15
+ *
16
+ * Built on the shared `ModalHeader` so it matches Console, Network and Events
17
+ * 1:1 — the stock JsModal header was designed for a single centred title and
18
+ * paints its "Double tap: Toggle • Triple tap: Close" hint through the middle
19
+ * of it, which is how "Ask Buoy" ended up overprinted by grey italics.
20
+ *
21
+ * The subtitle is the one piece of live status the sheet has: what the agent
22
+ * is doing right now, in words a tester can act on. "Thinking…" while a
23
+ * response is streaming with no tool in flight, the current tool's title
24
+ * while one runs, and the reachable tool count at rest so a "why can't it
25
+ * see my network calls" question has an answer in the header.
26
+ *
27
+ * "New conversation" moved up here from a 11pt text link under the composer.
28
+ * A reset that lives under the keyboard is a reset nobody finds. Copy sits
29
+ * beside it for the same reason: the transcript actions under the newest
30
+ * answer are only reachable once you have scrolled back down to it.
31
+ */
32
+
33
+ /**
34
+ * Slower than the sprite's default 140ms.
35
+ *
36
+ * This mascot is ambient status a user stares at for the length of a turn,
37
+ * not a moment of delight they glance at once — at the stock tick it read as
38
+ * fidgeting in the corner of the eye while you were trying to read the
39
+ * answer next to it. Every other placement keeps the default.
40
+ */const HEADER_TICK_MS = 200;
41
+
42
+ /** No conversation to copy — the button is left out rather than left dead. */
43
+ const NO_TRANSCRIPT = () => "";
44
+ function AskBuoyHeader({
45
+ configured,
46
+ busy,
47
+ failed = false,
48
+ activeLabel,
49
+ awaitingApproval = false,
50
+ startedAt = null,
51
+ stopping = false,
52
+ readOnly = false,
53
+ toolCount,
54
+ hasMessages,
55
+ onBack,
56
+ onReset,
57
+ getTranscript,
58
+ onOpenSettings,
59
+ onTicket
60
+ }) {
61
+ const {
62
+ copied,
63
+ copy
64
+ } = (0, _useCopyAction.useCopyAction)(getTranscript ?? NO_TRANSCRIPT);
65
+
66
+ /**
67
+ * ONE mascot state per turn, held to the end of it.
68
+ *
69
+ * `activeLabel` drops to null in the gap between two tool calls, so deriving
70
+ * the state from it directly flipped robot → thinking → robot on every
71
+ * boundary. A turn that runs four tools swapped the sprite eight times in
72
+ * about three seconds — a strobe that reads as a glitch, not as progress.
73
+ * So the robot latches: once this turn has driven a tool it stays `robot`
74
+ * until the turn ends, which is also the honest summary of that turn.
75
+ *
76
+ * The SUBTITLE still tracks each call, because updating a line of text is
77
+ * informative where restarting an animation is just noise.
78
+ */
79
+ const [droveTool, setDroveTool] = (0, _react.useState)(false);
80
+ (0, _react.useEffect)(() => {
81
+ if (!busy) setDroveTool(false);else if (activeLabel) setDroveTool(true);
82
+ }, [busy, activeLabel]);
83
+
84
+ /**
85
+ * The elapsed clock. Ticks only while a turn is running and not parked on
86
+ * the user (nothing is elapsing while an approval card waits for a tap).
87
+ */
88
+ const ticking = busy && !awaitingApproval && startedAt !== null;
89
+ const [now, setNow] = (0, _react.useState)(() => Date.now());
90
+ (0, _react.useEffect)(() => {
91
+ if (!ticking) return;
92
+ setNow(Date.now());
93
+ const timer = setInterval(() => setNow(Date.now()), 1000);
94
+ return () => clearInterval(timer);
95
+ }, [ticking]);
96
+ const elapsed = ticking && startedAt !== null ? (0, _activityGroups.formatElapsed)(now - startedAt) : null;
97
+
98
+ /**
99
+ * Otto mirrors the subtitle, never contradicts it. This is the one place in
100
+ * the product where a mascot earns continuous presence: the user is waiting
101
+ * on a machine and the header is the only thing reporting on it.
102
+ *
103
+ * `robot` while a tool runs is literal — the agent IS driving the tools.
104
+ */
105
+ const otto = !configured ? "confused" : failed ? "error" : busy ? activeLabel || droveTool ? "robot" : "thinking" : "idle";
106
+ const working = stopping ? "Stopping" : activeLabel ?? "Thinking";
107
+ const subtitle = !configured ? "Not set up in this app" : awaitingApproval ? "Waiting for you" : busy ? elapsed ? `${working} · ${elapsed}` : `${working}…` : readOnly ? `Read only${toolCount > 0 ? ` · ${toolCount} tool${toolCount === 1 ? "" : "s"}` : ""}` : toolCount > 0 ? `Ready · ${toolCount} tool${toolCount === 1 ? "" : "s"} available` : "Ready";
108
+ return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_sharedUi.ModalHeader, {
109
+ children: [onBack ? /*#__PURE__*/(0, _jsxRuntime.jsx)(_sharedUi.ModalHeader.Navigation, {
110
+ onBack: onBack
111
+ }) : null, /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
112
+ style: styles.otto,
113
+ testID: "buoy-ask-buoy-otto",
114
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_sharedUi.Otto, {
115
+ state: otto,
116
+ pixelSize: 2,
117
+ tickMs: HEADER_TICK_MS,
118
+ water: false
119
+ })
120
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_sharedUi.ModalHeader.Content, {
121
+ title: "Ask Buoy",
122
+ subtitle: subtitle,
123
+ testID: "buoy-ask-buoy-title"
124
+ }), /*#__PURE__*/(0, _jsxRuntime.jsxs)(_sharedUi.ModalHeader.Actions, {
125
+ children: [onTicket ? /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.TouchableOpacity, {
126
+ testID: "buoy-ask-buoy-ticket",
127
+ accessibilityRole: "button",
128
+ accessibilityLabel: "Summarize for a ticket",
129
+ disabled: !hasMessages || busy,
130
+ onPress: onTicket,
131
+ style: [styles.actionBtn, (!hasMessages || busy) && styles.actionBtnDisabled],
132
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_sharedUi.FileText, {
133
+ size: 14,
134
+ color: hasMessages && !busy ? _sharedUi.night.color.textSecondary : _sharedUi.night.color.textTertiary
135
+ })
136
+ }) : null, getTranscript ? /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.TouchableOpacity, {
137
+ testID: "buoy-ask-buoy-copy-chat",
138
+ accessibilityRole: "button",
139
+ accessibilityLabel: copied ? "Conversation copied" : "Copy conversation",
140
+ disabled: !hasMessages,
141
+ onPress: copy,
142
+ style: [styles.actionBtn, !hasMessages && styles.actionBtnDisabled],
143
+ children: copied ? /*#__PURE__*/(0, _jsxRuntime.jsx)(_sharedUi.Check, {
144
+ size: 14,
145
+ color: _sharedUi.night.color.accent
146
+ }) : /*#__PURE__*/(0, _jsxRuntime.jsx)(_sharedUi.Copy, {
147
+ size: 14,
148
+ color: hasMessages ? _sharedUi.night.color.textSecondary : _sharedUi.night.color.textTertiary
149
+ })
150
+ }) : null, onOpenSettings ? /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.TouchableOpacity, {
151
+ testID: "buoy-ask-buoy-settings",
152
+ accessibilityRole: "button",
153
+ accessibilityLabel: "Settings",
154
+ onPress: onOpenSettings,
155
+ style: styles.actionBtn,
156
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_sharedUi.SettingsSolid, {
157
+ size: 14,
158
+ color: _sharedUi.night.color.textSecondary
159
+ })
160
+ }) : null, /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.TouchableOpacity, {
161
+ testID: "buoy-ask-buoy-reset",
162
+ accessibilityRole: "button",
163
+ accessibilityLabel: "New conversation",
164
+ disabled: !hasMessages,
165
+ onPress: onReset,
166
+ style: [styles.actionBtn, !hasMessages && styles.actionBtnDisabled],
167
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_sharedUi.Plus, {
168
+ size: 14,
169
+ color: hasMessages ? _sharedUi.night.color.textSecondary : _sharedUi.night.color.textTertiary
170
+ })
171
+ })]
172
+ })]
173
+ });
174
+ }
175
+ const styles = _reactNative.StyleSheet.create({
176
+ // 32pt of Otto (16 grid × 2pt) reading as the header's status glyph.
177
+ otto: {
178
+ marginRight: 8,
179
+ justifyContent: "center"
180
+ },
181
+ // Same plate as the Console header's action buttons.
182
+ actionBtn: {
183
+ width: 32,
184
+ height: 32,
185
+ borderRadius: 8,
186
+ backgroundColor: _sharedUi.night.color.buttonSurface,
187
+ borderWidth: 1,
188
+ borderColor: _sharedUi.night.color.border,
189
+ alignItems: "center",
190
+ justifyContent: "center"
191
+ },
192
+ actionBtnDisabled: {
193
+ opacity: 0.55
194
+ }
195
+ });
196
+ //# sourceMappingURL=AskBuoyHeader.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["_react","require","_reactNative","_sharedUi","_useCopyAction","_activityGroups","_jsxRuntime","HEADER_TICK_MS","NO_TRANSCRIPT","AskBuoyHeader","configured","busy","failed","activeLabel","awaitingApproval","startedAt","stopping","readOnly","toolCount","hasMessages","onBack","onReset","getTranscript","onOpenSettings","onTicket","copied","copy","useCopyAction","droveTool","setDroveTool","useState","useEffect","ticking","now","setNow","Date","timer","setInterval","clearInterval","elapsed","formatElapsed","otto","working","subtitle","jsxs","ModalHeader","children","jsx","Navigation","View","style","styles","testID","Otto","state","pixelSize","tickMs","water","Content","title","Actions","TouchableOpacity","accessibilityRole","accessibilityLabel","disabled","onPress","actionBtn","actionBtnDisabled","FileText","size","color","night","textSecondary","textTertiary","Check","accent","Copy","SettingsSolid","Plus","StyleSheet","create","marginRight","justifyContent","width","height","borderRadius","backgroundColor","buttonSurface","borderWidth","borderColor","border","alignItems","opacity"],"sourceRoot":"../../../src","sources":["components/AskBuoyHeader.tsx"],"mappings":";;;;;;AAmBA,IAAAA,MAAA,GAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AACA,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Property(exports,"__esModule",{value:!0}),Object.defineProperty(exports,"ASK_BUOY_ICON_COLOR",{enumerable:!0,get:function(){return _floatingToolsCore.ASK_BUOY_ICON_COLOR}}),Object.defineProperty(exports,"AskBuoyIcon",{enumerable:!0,get:function(){return _floatingToolsCore.AskBuoyIcon}});var _floatingToolsCore=require("@buoy-gg/floating-tools-core");
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ Object.defineProperty(exports, "ASK_BUOY_ICON_COLOR", {
7
+ enumerable: true,
8
+ get: function () {
9
+ return _floatingToolsCore.ASK_BUOY_ICON_COLOR;
10
+ }
11
+ });
12
+ Object.defineProperty(exports, "AskBuoyIcon", {
13
+ enumerable: true,
14
+ get: function () {
15
+ return _floatingToolsCore.AskBuoyIcon;
16
+ }
17
+ });
18
+ var _floatingToolsCore = require("@buoy-gg/floating-tools-core");
19
+ //# sourceMappingURL=AskBuoyIcon.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["_floatingToolsCore","require"],"sourceRoot":"../../../src","sources":["components/AskBuoyIcon.tsx"],"mappings":";;;;;;;;;;;;;;;;;AAIA,IAAAA,kBAAA,GAAAC,OAAA","ignoreList":[]}