@base44/superagent-native 0.0.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 (465) hide show
  1. package/README.md +132 -0
  2. package/lib/commonjs/AgentSettingsPanel.js +1067 -0
  3. package/lib/commonjs/AgentSettingsPanel.js.map +1 -0
  4. package/lib/commonjs/AgentSphereIcon.js +243 -0
  5. package/lib/commonjs/AgentSphereIcon.js.map +1 -0
  6. package/lib/commonjs/AttachmentPickerStatusModal.js +96 -0
  7. package/lib/commonjs/AttachmentPickerStatusModal.js.map +1 -0
  8. package/lib/commonjs/AttachmentPreviewStrip.js +49 -0
  9. package/lib/commonjs/AttachmentPreviewStrip.js.map +1 -0
  10. package/lib/commonjs/ChannelsPanel.js +733 -0
  11. package/lib/commonjs/ChannelsPanel.js.map +1 -0
  12. package/lib/commonjs/ConversationChat.js +219 -0
  13. package/lib/commonjs/ConversationChat.js.map +1 -0
  14. package/lib/commonjs/ConversationComposer.js +323 -0
  15. package/lib/commonjs/ConversationComposer.js.map +1 -0
  16. package/lib/commonjs/ConversationMessageList.js +105 -0
  17. package/lib/commonjs/ConversationMessageList.js.map +1 -0
  18. package/lib/commonjs/ConversationScreen.js +241 -0
  19. package/lib/commonjs/ConversationScreen.js.map +1 -0
  20. package/lib/commonjs/EditorDrawer.js +1127 -0
  21. package/lib/commonjs/EditorDrawer.js.map +1 -0
  22. package/lib/commonjs/EditorTabPanel.js +28 -0
  23. package/lib/commonjs/EditorTabPanel.js.map +1 -0
  24. package/lib/commonjs/FilesPanel.js +533 -0
  25. package/lib/commonjs/FilesPanel.js.map +1 -0
  26. package/lib/commonjs/MarkdownText.js +313 -0
  27. package/lib/commonjs/MarkdownText.js.map +1 -0
  28. package/lib/commonjs/MessageActionBar.js +90 -0
  29. package/lib/commonjs/MessageActionBar.js.map +1 -0
  30. package/lib/commonjs/RenameAgentModal.js +99 -0
  31. package/lib/commonjs/RenameAgentModal.js.map +1 -0
  32. package/lib/commonjs/ShareAgentModal.js +349 -0
  33. package/lib/commonjs/ShareAgentModal.js.map +1 -0
  34. package/lib/commonjs/ShareAgentModal.styles.js +236 -0
  35. package/lib/commonjs/ShareAgentModal.styles.js.map +1 -0
  36. package/lib/commonjs/SuperagentHomeScreen.js +316 -0
  37. package/lib/commonjs/SuperagentHomeScreen.js.map +1 -0
  38. package/lib/commonjs/ToolApprovalCard.js +542 -0
  39. package/lib/commonjs/ToolApprovalCard.js.map +1 -0
  40. package/lib/commonjs/ToolCallSummary.js +632 -0
  41. package/lib/commonjs/ToolCallSummary.js.map +1 -0
  42. package/lib/commonjs/agentSphereStyles.js +38 -0
  43. package/lib/commonjs/agentSphereStyles.js.map +1 -0
  44. package/lib/commonjs/apiClient.js +158 -0
  45. package/lib/commonjs/apiClient.js.map +1 -0
  46. package/lib/commonjs/attachmentFileHelpers.js +104 -0
  47. package/lib/commonjs/attachmentFileHelpers.js.map +1 -0
  48. package/lib/commonjs/attachmentUpload.js +87 -0
  49. package/lib/commonjs/attachmentUpload.js.map +1 -0
  50. package/lib/commonjs/composerStyles.js +248 -0
  51. package/lib/commonjs/composerStyles.js.map +1 -0
  52. package/lib/commonjs/connectorBrandIcons.js +82 -0
  53. package/lib/commonjs/connectorBrandIcons.js.map +1 -0
  54. package/lib/commonjs/connectorCatalog.js +377 -0
  55. package/lib/commonjs/connectorCatalog.js.map +1 -0
  56. package/lib/commonjs/constants.js +15 -0
  57. package/lib/commonjs/constants.js.map +1 -0
  58. package/lib/commonjs/conversationParts.js +273 -0
  59. package/lib/commonjs/conversationParts.js.map +1 -0
  60. package/lib/commonjs/conversationRuntime.js +144 -0
  61. package/lib/commonjs/conversationRuntime.js.map +1 -0
  62. package/lib/commonjs/conversationStyles.js +758 -0
  63. package/lib/commonjs/conversationStyles.js.map +1 -0
  64. package/lib/commonjs/editorShellStyles.js +1032 -0
  65. package/lib/commonjs/editorShellStyles.js.map +1 -0
  66. package/lib/commonjs/editorTabs.js +42 -0
  67. package/lib/commonjs/editorTabs.js.map +1 -0
  68. package/lib/commonjs/fileTreeUtils.js +133 -0
  69. package/lib/commonjs/fileTreeUtils.js.map +1 -0
  70. package/lib/commonjs/index.js +110 -0
  71. package/lib/commonjs/index.js.map +1 -0
  72. package/lib/commonjs/markdownStyles.js +157 -0
  73. package/lib/commonjs/markdownStyles.js.map +1 -0
  74. package/lib/commonjs/mediaUtils.js +61 -0
  75. package/lib/commonjs/mediaUtils.js.map +1 -0
  76. package/lib/commonjs/messageActionStyles.js +45 -0
  77. package/lib/commonjs/messageActionStyles.js.map +1 -0
  78. package/lib/commonjs/messageUtils.js +55 -0
  79. package/lib/commonjs/messageUtils.js.map +1 -0
  80. package/lib/commonjs/nativeActionSheet.js +21 -0
  81. package/lib/commonjs/nativeActionSheet.js.map +1 -0
  82. package/lib/commonjs/nativeActionSheet.web.js +10 -0
  83. package/lib/commonjs/nativeActionSheet.web.js.map +1 -0
  84. package/lib/commonjs/package.json +1 -0
  85. package/lib/commonjs/paperTheme.js +59 -0
  86. package/lib/commonjs/paperTheme.js.map +1 -0
  87. package/lib/commonjs/realtimeClient.js +99 -0
  88. package/lib/commonjs/realtimeClient.js.map +1 -0
  89. package/lib/commonjs/renameAgentModalStyles.js +83 -0
  90. package/lib/commonjs/renameAgentModalStyles.js.map +1 -0
  91. package/lib/commonjs/screenParts.js +220 -0
  92. package/lib/commonjs/screenParts.js.map +1 -0
  93. package/lib/commonjs/styles.js +343 -0
  94. package/lib/commonjs/styles.js.map +1 -0
  95. package/lib/commonjs/superagentApiClient.js +613 -0
  96. package/lib/commonjs/superagentApiClient.js.map +1 -0
  97. package/lib/commonjs/types.js +6 -0
  98. package/lib/commonjs/types.js.map +1 -0
  99. package/lib/commonjs/useSuperagentAttachmentPicker.js +80 -0
  100. package/lib/commonjs/useSuperagentAttachmentPicker.js.map +1 -0
  101. package/lib/commonjs/useSuperagentConversation.js +216 -0
  102. package/lib/commonjs/useSuperagentConversation.js.map +1 -0
  103. package/lib/commonjs/useSuperagentRuntime.js +1207 -0
  104. package/lib/commonjs/useSuperagentRuntime.js.map +1 -0
  105. package/lib/module/AgentSettingsPanel.js +1062 -0
  106. package/lib/module/AgentSettingsPanel.js.map +1 -0
  107. package/lib/module/AgentSphereIcon.js +237 -0
  108. package/lib/module/AgentSphereIcon.js.map +1 -0
  109. package/lib/module/AttachmentPickerStatusModal.js +91 -0
  110. package/lib/module/AttachmentPickerStatusModal.js.map +1 -0
  111. package/lib/module/AttachmentPreviewStrip.js +44 -0
  112. package/lib/module/AttachmentPreviewStrip.js.map +1 -0
  113. package/lib/module/ChannelsPanel.js +728 -0
  114. package/lib/module/ChannelsPanel.js.map +1 -0
  115. package/lib/module/ConversationChat.js +214 -0
  116. package/lib/module/ConversationChat.js.map +1 -0
  117. package/lib/module/ConversationComposer.js +318 -0
  118. package/lib/module/ConversationComposer.js.map +1 -0
  119. package/lib/module/ConversationMessageList.js +100 -0
  120. package/lib/module/ConversationMessageList.js.map +1 -0
  121. package/lib/module/ConversationScreen.js +236 -0
  122. package/lib/module/ConversationScreen.js.map +1 -0
  123. package/lib/module/EditorDrawer.js +1122 -0
  124. package/lib/module/EditorDrawer.js.map +1 -0
  125. package/lib/module/EditorTabPanel.js +23 -0
  126. package/lib/module/EditorTabPanel.js.map +1 -0
  127. package/lib/module/FilesPanel.js +528 -0
  128. package/lib/module/FilesPanel.js.map +1 -0
  129. package/lib/module/MarkdownText.js +308 -0
  130. package/lib/module/MarkdownText.js.map +1 -0
  131. package/lib/module/MessageActionBar.js +85 -0
  132. package/lib/module/MessageActionBar.js.map +1 -0
  133. package/lib/module/RenameAgentModal.js +94 -0
  134. package/lib/module/RenameAgentModal.js.map +1 -0
  135. package/lib/module/ShareAgentModal.js +344 -0
  136. package/lib/module/ShareAgentModal.js.map +1 -0
  137. package/lib/module/ShareAgentModal.styles.js +232 -0
  138. package/lib/module/ShareAgentModal.styles.js.map +1 -0
  139. package/lib/module/SuperagentHomeScreen.js +311 -0
  140. package/lib/module/SuperagentHomeScreen.js.map +1 -0
  141. package/lib/module/ToolApprovalCard.js +537 -0
  142. package/lib/module/ToolApprovalCard.js.map +1 -0
  143. package/lib/module/ToolCallSummary.js +627 -0
  144. package/lib/module/ToolCallSummary.js.map +1 -0
  145. package/lib/module/agentSphereStyles.js +34 -0
  146. package/lib/module/agentSphereStyles.js.map +1 -0
  147. package/lib/module/apiClient.js +154 -0
  148. package/lib/module/apiClient.js.map +1 -0
  149. package/lib/module/attachmentFileHelpers.js +97 -0
  150. package/lib/module/attachmentFileHelpers.js.map +1 -0
  151. package/lib/module/attachmentUpload.js +82 -0
  152. package/lib/module/attachmentUpload.js.map +1 -0
  153. package/lib/module/composerStyles.js +244 -0
  154. package/lib/module/composerStyles.js.map +1 -0
  155. package/lib/module/connectorBrandIcons.js +76 -0
  156. package/lib/module/connectorBrandIcons.js.map +1 -0
  157. package/lib/module/connectorCatalog.js +373 -0
  158. package/lib/module/connectorCatalog.js.map +1 -0
  159. package/lib/module/constants.js +10 -0
  160. package/lib/module/constants.js.map +1 -0
  161. package/lib/module/conversationParts.js +266 -0
  162. package/lib/module/conversationParts.js.map +1 -0
  163. package/lib/module/conversationRuntime.js +129 -0
  164. package/lib/module/conversationRuntime.js.map +1 -0
  165. package/lib/module/conversationStyles.js +754 -0
  166. package/lib/module/conversationStyles.js.map +1 -0
  167. package/lib/module/editorShellStyles.js +1028 -0
  168. package/lib/module/editorShellStyles.js.map +1 -0
  169. package/lib/module/editorTabs.js +37 -0
  170. package/lib/module/editorTabs.js.map +1 -0
  171. package/lib/module/fileTreeUtils.js +120 -0
  172. package/lib/module/fileTreeUtils.js.map +1 -0
  173. package/lib/module/index.js +17 -0
  174. package/lib/module/index.js.map +1 -0
  175. package/lib/module/markdownStyles.js +153 -0
  176. package/lib/module/markdownStyles.js.map +1 -0
  177. package/lib/module/mediaUtils.js +53 -0
  178. package/lib/module/mediaUtils.js.map +1 -0
  179. package/lib/module/messageActionStyles.js +41 -0
  180. package/lib/module/messageActionStyles.js.map +1 -0
  181. package/lib/module/messageUtils.js +46 -0
  182. package/lib/module/messageUtils.js.map +1 -0
  183. package/lib/module/nativeActionSheet.js +17 -0
  184. package/lib/module/nativeActionSheet.js.map +1 -0
  185. package/lib/module/nativeActionSheet.web.js +6 -0
  186. package/lib/module/nativeActionSheet.web.js.map +1 -0
  187. package/lib/module/package.json +1 -0
  188. package/lib/module/paperTheme.js +55 -0
  189. package/lib/module/paperTheme.js.map +1 -0
  190. package/lib/module/realtimeClient.js +95 -0
  191. package/lib/module/realtimeClient.js.map +1 -0
  192. package/lib/module/renameAgentModalStyles.js +79 -0
  193. package/lib/module/renameAgentModalStyles.js.map +1 -0
  194. package/lib/module/screenParts.js +210 -0
  195. package/lib/module/screenParts.js.map +1 -0
  196. package/lib/module/styles.js +339 -0
  197. package/lib/module/styles.js.map +1 -0
  198. package/lib/module/superagentApiClient.js +609 -0
  199. package/lib/module/superagentApiClient.js.map +1 -0
  200. package/lib/module/types.js +4 -0
  201. package/lib/module/types.js.map +1 -0
  202. package/lib/module/useSuperagentAttachmentPicker.js +75 -0
  203. package/lib/module/useSuperagentAttachmentPicker.js.map +1 -0
  204. package/lib/module/useSuperagentConversation.js +212 -0
  205. package/lib/module/useSuperagentConversation.js.map +1 -0
  206. package/lib/module/useSuperagentRuntime.js +1203 -0
  207. package/lib/module/useSuperagentRuntime.js.map +1 -0
  208. package/lib/typescript/commonjs/AgentSettingsPanel.d.ts +19 -0
  209. package/lib/typescript/commonjs/AgentSettingsPanel.d.ts.map +1 -0
  210. package/lib/typescript/commonjs/AgentSphereIcon.d.ts +15 -0
  211. package/lib/typescript/commonjs/AgentSphereIcon.d.ts.map +1 -0
  212. package/lib/typescript/commonjs/AttachmentPickerStatusModal.d.ts +8 -0
  213. package/lib/typescript/commonjs/AttachmentPickerStatusModal.d.ts.map +1 -0
  214. package/lib/typescript/commonjs/AttachmentPreviewStrip.d.ts +7 -0
  215. package/lib/typescript/commonjs/AttachmentPreviewStrip.d.ts.map +1 -0
  216. package/lib/typescript/commonjs/ChannelsPanel.d.ts +21 -0
  217. package/lib/typescript/commonjs/ChannelsPanel.d.ts.map +1 -0
  218. package/lib/typescript/commonjs/ConversationChat.d.ts +22 -0
  219. package/lib/typescript/commonjs/ConversationChat.d.ts.map +1 -0
  220. package/lib/typescript/commonjs/ConversationComposer.d.ts +24 -0
  221. package/lib/typescript/commonjs/ConversationComposer.d.ts.map +1 -0
  222. package/lib/typescript/commonjs/ConversationMessageList.d.ts +17 -0
  223. package/lib/typescript/commonjs/ConversationMessageList.d.ts.map +1 -0
  224. package/lib/typescript/commonjs/ConversationScreen.d.ts +80 -0
  225. package/lib/typescript/commonjs/ConversationScreen.d.ts.map +1 -0
  226. package/lib/typescript/commonjs/EditorDrawer.d.ts +67 -0
  227. package/lib/typescript/commonjs/EditorDrawer.d.ts.map +1 -0
  228. package/lib/typescript/commonjs/EditorTabPanel.d.ts +6 -0
  229. package/lib/typescript/commonjs/EditorTabPanel.d.ts.map +1 -0
  230. package/lib/typescript/commonjs/FilesPanel.d.ts +14 -0
  231. package/lib/typescript/commonjs/FilesPanel.d.ts.map +1 -0
  232. package/lib/typescript/commonjs/MarkdownText.d.ts +10 -0
  233. package/lib/typescript/commonjs/MarkdownText.d.ts.map +1 -0
  234. package/lib/typescript/commonjs/MessageActionBar.d.ts +8 -0
  235. package/lib/typescript/commonjs/MessageActionBar.d.ts.map +1 -0
  236. package/lib/typescript/commonjs/RenameAgentModal.d.ts +10 -0
  237. package/lib/typescript/commonjs/RenameAgentModal.d.ts.map +1 -0
  238. package/lib/typescript/commonjs/ShareAgentModal.d.ts +15 -0
  239. package/lib/typescript/commonjs/ShareAgentModal.d.ts.map +1 -0
  240. package/lib/typescript/commonjs/ShareAgentModal.styles.d.ts +229 -0
  241. package/lib/typescript/commonjs/ShareAgentModal.styles.d.ts.map +1 -0
  242. package/lib/typescript/commonjs/SuperagentHomeScreen.d.ts +4 -0
  243. package/lib/typescript/commonjs/SuperagentHomeScreen.d.ts.map +1 -0
  244. package/lib/typescript/commonjs/ToolApprovalCard.d.ts +13 -0
  245. package/lib/typescript/commonjs/ToolApprovalCard.d.ts.map +1 -0
  246. package/lib/typescript/commonjs/ToolCallSummary.d.ts +16 -0
  247. package/lib/typescript/commonjs/ToolCallSummary.d.ts.map +1 -0
  248. package/lib/typescript/commonjs/agentSphereStyles.d.ts +31 -0
  249. package/lib/typescript/commonjs/agentSphereStyles.d.ts.map +1 -0
  250. package/lib/typescript/commonjs/apiClient.d.ts +4 -0
  251. package/lib/typescript/commonjs/apiClient.d.ts.map +1 -0
  252. package/lib/typescript/commonjs/attachmentFileHelpers.d.ts +6 -0
  253. package/lib/typescript/commonjs/attachmentFileHelpers.d.ts.map +1 -0
  254. package/lib/typescript/commonjs/attachmentUpload.d.ts +12 -0
  255. package/lib/typescript/commonjs/attachmentUpload.d.ts.map +1 -0
  256. package/lib/typescript/commonjs/composerStyles.d.ts +241 -0
  257. package/lib/typescript/commonjs/composerStyles.d.ts.map +1 -0
  258. package/lib/typescript/commonjs/connectorBrandIcons.d.ts +7 -0
  259. package/lib/typescript/commonjs/connectorBrandIcons.d.ts.map +1 -0
  260. package/lib/typescript/commonjs/connectorCatalog.d.ts +3 -0
  261. package/lib/typescript/commonjs/connectorCatalog.d.ts.map +1 -0
  262. package/lib/typescript/commonjs/constants.d.ts +4 -0
  263. package/lib/typescript/commonjs/constants.d.ts.map +1 -0
  264. package/lib/typescript/commonjs/conversationParts.d.ts +29 -0
  265. package/lib/typescript/commonjs/conversationParts.d.ts.map +1 -0
  266. package/lib/typescript/commonjs/conversationRuntime.d.ts +67 -0
  267. package/lib/typescript/commonjs/conversationRuntime.d.ts.map +1 -0
  268. package/lib/typescript/commonjs/conversationStyles.d.ts +742 -0
  269. package/lib/typescript/commonjs/conversationStyles.d.ts.map +1 -0
  270. package/lib/typescript/commonjs/editorShellStyles.d.ts +1025 -0
  271. package/lib/typescript/commonjs/editorShellStyles.d.ts.map +1 -0
  272. package/lib/typescript/commonjs/editorTabs.d.ts +11 -0
  273. package/lib/typescript/commonjs/editorTabs.d.ts.map +1 -0
  274. package/lib/typescript/commonjs/fileTreeUtils.d.ts +17 -0
  275. package/lib/typescript/commonjs/fileTreeUtils.d.ts.map +1 -0
  276. package/lib/typescript/commonjs/index.d.ts +20 -0
  277. package/lib/typescript/commonjs/index.d.ts.map +1 -0
  278. package/lib/typescript/commonjs/markdownStyles.d.ts +150 -0
  279. package/lib/typescript/commonjs/markdownStyles.d.ts.map +1 -0
  280. package/lib/typescript/commonjs/mediaUtils.d.ts +9 -0
  281. package/lib/typescript/commonjs/mediaUtils.d.ts.map +1 -0
  282. package/lib/typescript/commonjs/messageActionStyles.d.ts +38 -0
  283. package/lib/typescript/commonjs/messageActionStyles.d.ts.map +1 -0
  284. package/lib/typescript/commonjs/messageUtils.d.ts +8 -0
  285. package/lib/typescript/commonjs/messageUtils.d.ts.map +1 -0
  286. package/lib/typescript/commonjs/nativeActionSheet.d.ts +6 -0
  287. package/lib/typescript/commonjs/nativeActionSheet.d.ts.map +1 -0
  288. package/lib/typescript/commonjs/nativeActionSheet.web.d.ts +3 -0
  289. package/lib/typescript/commonjs/nativeActionSheet.web.d.ts.map +1 -0
  290. package/lib/typescript/commonjs/package.json +1 -0
  291. package/lib/typescript/commonjs/paperTheme.d.ts +3 -0
  292. package/lib/typescript/commonjs/paperTheme.d.ts.map +1 -0
  293. package/lib/typescript/commonjs/realtimeClient.d.ts +16 -0
  294. package/lib/typescript/commonjs/realtimeClient.d.ts.map +1 -0
  295. package/lib/typescript/commonjs/renameAgentModalStyles.d.ts +76 -0
  296. package/lib/typescript/commonjs/renameAgentModalStyles.d.ts.map +1 -0
  297. package/lib/typescript/commonjs/screenParts.d.ts +31 -0
  298. package/lib/typescript/commonjs/screenParts.d.ts.map +1 -0
  299. package/lib/typescript/commonjs/styles.d.ts +336 -0
  300. package/lib/typescript/commonjs/styles.d.ts.map +1 -0
  301. package/lib/typescript/commonjs/superagentApiClient.d.ts +66 -0
  302. package/lib/typescript/commonjs/superagentApiClient.d.ts.map +1 -0
  303. package/lib/typescript/commonjs/types.d.ts +437 -0
  304. package/lib/typescript/commonjs/types.d.ts.map +1 -0
  305. package/lib/typescript/commonjs/useSuperagentAttachmentPicker.d.ts +30 -0
  306. package/lib/typescript/commonjs/useSuperagentAttachmentPicker.d.ts.map +1 -0
  307. package/lib/typescript/commonjs/useSuperagentConversation.d.ts +36 -0
  308. package/lib/typescript/commonjs/useSuperagentConversation.d.ts.map +1 -0
  309. package/lib/typescript/commonjs/useSuperagentRuntime.d.ts +163 -0
  310. package/lib/typescript/commonjs/useSuperagentRuntime.d.ts.map +1 -0
  311. package/lib/typescript/module/AgentSettingsPanel.d.ts +19 -0
  312. package/lib/typescript/module/AgentSettingsPanel.d.ts.map +1 -0
  313. package/lib/typescript/module/AgentSphereIcon.d.ts +15 -0
  314. package/lib/typescript/module/AgentSphereIcon.d.ts.map +1 -0
  315. package/lib/typescript/module/AttachmentPickerStatusModal.d.ts +8 -0
  316. package/lib/typescript/module/AttachmentPickerStatusModal.d.ts.map +1 -0
  317. package/lib/typescript/module/AttachmentPreviewStrip.d.ts +7 -0
  318. package/lib/typescript/module/AttachmentPreviewStrip.d.ts.map +1 -0
  319. package/lib/typescript/module/ChannelsPanel.d.ts +21 -0
  320. package/lib/typescript/module/ChannelsPanel.d.ts.map +1 -0
  321. package/lib/typescript/module/ConversationChat.d.ts +22 -0
  322. package/lib/typescript/module/ConversationChat.d.ts.map +1 -0
  323. package/lib/typescript/module/ConversationComposer.d.ts +24 -0
  324. package/lib/typescript/module/ConversationComposer.d.ts.map +1 -0
  325. package/lib/typescript/module/ConversationMessageList.d.ts +17 -0
  326. package/lib/typescript/module/ConversationMessageList.d.ts.map +1 -0
  327. package/lib/typescript/module/ConversationScreen.d.ts +80 -0
  328. package/lib/typescript/module/ConversationScreen.d.ts.map +1 -0
  329. package/lib/typescript/module/EditorDrawer.d.ts +67 -0
  330. package/lib/typescript/module/EditorDrawer.d.ts.map +1 -0
  331. package/lib/typescript/module/EditorTabPanel.d.ts +6 -0
  332. package/lib/typescript/module/EditorTabPanel.d.ts.map +1 -0
  333. package/lib/typescript/module/FilesPanel.d.ts +14 -0
  334. package/lib/typescript/module/FilesPanel.d.ts.map +1 -0
  335. package/lib/typescript/module/MarkdownText.d.ts +10 -0
  336. package/lib/typescript/module/MarkdownText.d.ts.map +1 -0
  337. package/lib/typescript/module/MessageActionBar.d.ts +8 -0
  338. package/lib/typescript/module/MessageActionBar.d.ts.map +1 -0
  339. package/lib/typescript/module/RenameAgentModal.d.ts +10 -0
  340. package/lib/typescript/module/RenameAgentModal.d.ts.map +1 -0
  341. package/lib/typescript/module/ShareAgentModal.d.ts +15 -0
  342. package/lib/typescript/module/ShareAgentModal.d.ts.map +1 -0
  343. package/lib/typescript/module/ShareAgentModal.styles.d.ts +229 -0
  344. package/lib/typescript/module/ShareAgentModal.styles.d.ts.map +1 -0
  345. package/lib/typescript/module/SuperagentHomeScreen.d.ts +4 -0
  346. package/lib/typescript/module/SuperagentHomeScreen.d.ts.map +1 -0
  347. package/lib/typescript/module/ToolApprovalCard.d.ts +13 -0
  348. package/lib/typescript/module/ToolApprovalCard.d.ts.map +1 -0
  349. package/lib/typescript/module/ToolCallSummary.d.ts +16 -0
  350. package/lib/typescript/module/ToolCallSummary.d.ts.map +1 -0
  351. package/lib/typescript/module/agentSphereStyles.d.ts +31 -0
  352. package/lib/typescript/module/agentSphereStyles.d.ts.map +1 -0
  353. package/lib/typescript/module/apiClient.d.ts +4 -0
  354. package/lib/typescript/module/apiClient.d.ts.map +1 -0
  355. package/lib/typescript/module/attachmentFileHelpers.d.ts +6 -0
  356. package/lib/typescript/module/attachmentFileHelpers.d.ts.map +1 -0
  357. package/lib/typescript/module/attachmentUpload.d.ts +12 -0
  358. package/lib/typescript/module/attachmentUpload.d.ts.map +1 -0
  359. package/lib/typescript/module/composerStyles.d.ts +241 -0
  360. package/lib/typescript/module/composerStyles.d.ts.map +1 -0
  361. package/lib/typescript/module/connectorBrandIcons.d.ts +7 -0
  362. package/lib/typescript/module/connectorBrandIcons.d.ts.map +1 -0
  363. package/lib/typescript/module/connectorCatalog.d.ts +3 -0
  364. package/lib/typescript/module/connectorCatalog.d.ts.map +1 -0
  365. package/lib/typescript/module/constants.d.ts +4 -0
  366. package/lib/typescript/module/constants.d.ts.map +1 -0
  367. package/lib/typescript/module/conversationParts.d.ts +29 -0
  368. package/lib/typescript/module/conversationParts.d.ts.map +1 -0
  369. package/lib/typescript/module/conversationRuntime.d.ts +67 -0
  370. package/lib/typescript/module/conversationRuntime.d.ts.map +1 -0
  371. package/lib/typescript/module/conversationStyles.d.ts +742 -0
  372. package/lib/typescript/module/conversationStyles.d.ts.map +1 -0
  373. package/lib/typescript/module/editorShellStyles.d.ts +1025 -0
  374. package/lib/typescript/module/editorShellStyles.d.ts.map +1 -0
  375. package/lib/typescript/module/editorTabs.d.ts +11 -0
  376. package/lib/typescript/module/editorTabs.d.ts.map +1 -0
  377. package/lib/typescript/module/fileTreeUtils.d.ts +17 -0
  378. package/lib/typescript/module/fileTreeUtils.d.ts.map +1 -0
  379. package/lib/typescript/module/index.d.ts +20 -0
  380. package/lib/typescript/module/index.d.ts.map +1 -0
  381. package/lib/typescript/module/markdownStyles.d.ts +150 -0
  382. package/lib/typescript/module/markdownStyles.d.ts.map +1 -0
  383. package/lib/typescript/module/mediaUtils.d.ts +9 -0
  384. package/lib/typescript/module/mediaUtils.d.ts.map +1 -0
  385. package/lib/typescript/module/messageActionStyles.d.ts +38 -0
  386. package/lib/typescript/module/messageActionStyles.d.ts.map +1 -0
  387. package/lib/typescript/module/messageUtils.d.ts +8 -0
  388. package/lib/typescript/module/messageUtils.d.ts.map +1 -0
  389. package/lib/typescript/module/nativeActionSheet.d.ts +6 -0
  390. package/lib/typescript/module/nativeActionSheet.d.ts.map +1 -0
  391. package/lib/typescript/module/nativeActionSheet.web.d.ts +3 -0
  392. package/lib/typescript/module/nativeActionSheet.web.d.ts.map +1 -0
  393. package/lib/typescript/module/package.json +1 -0
  394. package/lib/typescript/module/paperTheme.d.ts +3 -0
  395. package/lib/typescript/module/paperTheme.d.ts.map +1 -0
  396. package/lib/typescript/module/realtimeClient.d.ts +16 -0
  397. package/lib/typescript/module/realtimeClient.d.ts.map +1 -0
  398. package/lib/typescript/module/renameAgentModalStyles.d.ts +76 -0
  399. package/lib/typescript/module/renameAgentModalStyles.d.ts.map +1 -0
  400. package/lib/typescript/module/screenParts.d.ts +31 -0
  401. package/lib/typescript/module/screenParts.d.ts.map +1 -0
  402. package/lib/typescript/module/styles.d.ts +336 -0
  403. package/lib/typescript/module/styles.d.ts.map +1 -0
  404. package/lib/typescript/module/superagentApiClient.d.ts +66 -0
  405. package/lib/typescript/module/superagentApiClient.d.ts.map +1 -0
  406. package/lib/typescript/module/types.d.ts +437 -0
  407. package/lib/typescript/module/types.d.ts.map +1 -0
  408. package/lib/typescript/module/useSuperagentAttachmentPicker.d.ts +30 -0
  409. package/lib/typescript/module/useSuperagentAttachmentPicker.d.ts.map +1 -0
  410. package/lib/typescript/module/useSuperagentConversation.d.ts +36 -0
  411. package/lib/typescript/module/useSuperagentConversation.d.ts.map +1 -0
  412. package/lib/typescript/module/useSuperagentRuntime.d.ts +163 -0
  413. package/lib/typescript/module/useSuperagentRuntime.d.ts.map +1 -0
  414. package/package.json +87 -0
  415. package/src/AgentSettingsPanel.tsx +1122 -0
  416. package/src/AgentSphereIcon.tsx +170 -0
  417. package/src/AttachmentPickerStatusModal.tsx +80 -0
  418. package/src/AttachmentPreviewStrip.tsx +38 -0
  419. package/src/ChannelsPanel.tsx +705 -0
  420. package/src/ConversationChat.tsx +245 -0
  421. package/src/ConversationComposer.tsx +368 -0
  422. package/src/ConversationMessageList.tsx +140 -0
  423. package/src/ConversationScreen.tsx +320 -0
  424. package/src/EditorDrawer.tsx +1297 -0
  425. package/src/EditorTabPanel.tsx +19 -0
  426. package/src/FilesPanel.tsx +577 -0
  427. package/src/MarkdownText.tsx +317 -0
  428. package/src/MessageActionBar.tsx +126 -0
  429. package/src/RenameAgentModal.tsx +107 -0
  430. package/src/ShareAgentModal.styles.ts +95 -0
  431. package/src/ShareAgentModal.tsx +320 -0
  432. package/src/SuperagentHomeScreen.tsx +318 -0
  433. package/src/ToolApprovalCard.tsx +592 -0
  434. package/src/ToolCallSummary.tsx +599 -0
  435. package/src/agentSphereStyles.ts +25 -0
  436. package/src/apiClient.ts +189 -0
  437. package/src/attachmentFileHelpers.ts +109 -0
  438. package/src/attachmentUpload.ts +112 -0
  439. package/src/composerStyles.ts +167 -0
  440. package/src/connectorBrandIcons.tsx +69 -0
  441. package/src/connectorCatalog.ts +414 -0
  442. package/src/constants.ts +9 -0
  443. package/src/conversationParts.tsx +307 -0
  444. package/src/conversationRuntime.ts +171 -0
  445. package/src/conversationStyles.ts +412 -0
  446. package/src/editorShellStyles.ts +1023 -0
  447. package/src/editorTabs.ts +26 -0
  448. package/src/fileTreeUtils.ts +165 -0
  449. package/src/index.ts +110 -0
  450. package/src/markdownStyles.ts +64 -0
  451. package/src/mediaUtils.ts +75 -0
  452. package/src/messageActionStyles.ts +26 -0
  453. package/src/messageUtils.ts +58 -0
  454. package/src/nativeActionSheet.ts +25 -0
  455. package/src/nativeActionSheet.web.ts +5 -0
  456. package/src/paperTheme.ts +52 -0
  457. package/src/realtimeClient.ts +149 -0
  458. package/src/renameAgentModalStyles.ts +77 -0
  459. package/src/screenParts.tsx +185 -0
  460. package/src/styles.ts +190 -0
  461. package/src/superagentApiClient.ts +895 -0
  462. package/src/types.ts +514 -0
  463. package/src/useSuperagentAttachmentPicker.tsx +117 -0
  464. package/src/useSuperagentConversation.ts +242 -0
  465. package/src/useSuperagentRuntime.ts +1371 -0
@@ -0,0 +1 @@
1
+ {"version":3,"file":"editorShellStyles.d.ts","sourceRoot":"","sources":["../../../src/editorShellStyles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA4/B5B,CAAC"}
@@ -0,0 +1,11 @@
1
+ import type { SuperagentEditorTab } from './types';
2
+ export declare const EDITOR_TAB_SECTIONS: Array<{
3
+ title?: string;
4
+ tabs: Array<{
5
+ id: SuperagentEditorTab;
6
+ label: string;
7
+ detail?: string;
8
+ }>;
9
+ }>;
10
+ export declare function getEditorTabLabel(tab: SuperagentEditorTab): string;
11
+ //# sourceMappingURL=editorTabs.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"editorTabs.d.ts","sourceRoot":"","sources":["../../../src/editorTabs.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAC;AAEnD,eAAO,MAAM,mBAAmB,EAAE,KAAK,CAAC;IACtC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,KAAK,CAAC;QAAE,EAAE,EAAE,mBAAmB,CAAC;QAAC,KAAK,EAAE,MAAM,CAAC;QAAC,MAAM,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;CAC1E,CAWA,CAAC;AAEF,wBAAgB,iBAAiB,CAAC,GAAG,EAAE,mBAAmB,UAOzD"}
@@ -0,0 +1,17 @@
1
+ import type { SuperagentSandboxFileNode } from './types';
2
+ export declare const DEFAULT_SANDBOX_FILE_PATHS: string[];
3
+ export type SuperagentFileCategory = 'code' | 'html' | 'image' | 'markdown' | 'pdf' | 'text';
4
+ export declare function normalizeFilePaths(paths?: string[]): string[];
5
+ export declare function buildFileTree(paths: string[]): {
6
+ fileCount: number;
7
+ folderCount: number;
8
+ tree: SuperagentSandboxFileNode[];
9
+ };
10
+ export declare function flattenFileTree(nodes: SuperagentSandboxFileNode[], parentPath?: string): string[];
11
+ export declare function getFileCategory(filePath: string): SuperagentFileCategory;
12
+ export declare function isEditableFile(filePath: string): boolean;
13
+ export declare function getFileName(path: string): string;
14
+ export declare function getFolderPath(path: string): string;
15
+ export declare function getFileExtension(path: string): string;
16
+ export declare function getImageMimeType(filePath: string): "image/bmp" | "image/gif" | "image/x-icon" | "image/jpeg" | "image/svg+xml" | "image/webp" | "image/png";
17
+ //# sourceMappingURL=fileTreeUtils.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"fileTreeUtils.d.ts","sourceRoot":"","sources":["../../../src/fileTreeUtils.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,SAAS,CAAC;AAIzD,eAAO,MAAM,0BAA0B,UAStC,CAAC;AAEF,MAAM,MAAM,sBAAsB,GAAG,MAAM,GAAG,MAAM,GAAG,OAAO,GAAG,UAAU,GAAG,KAAK,GAAG,MAAM,CAAC;AAE7F,wBAAgB,kBAAkB,CAAC,KAAK,GAAE,MAAM,EAAO,YAMtD;AAED,wBAAgB,aAAa,CAAC,KAAK,EAAE,MAAM,EAAE;;;;EA4C5C;AAED,wBAAgB,eAAe,CAAC,KAAK,EAAE,yBAAyB,EAAE,EAAE,UAAU,SAAK,YAalF;AAED,wBAAgB,eAAe,CAAC,QAAQ,EAAE,MAAM,GAAG,sBAAsB,CAqCxE;AAED,wBAAgB,cAAc,CAAC,QAAQ,EAAE,MAAM,WAG9C;AAED,wBAAgB,WAAW,CAAC,IAAI,EAAE,MAAM,UAEvC;AAED,wBAAgB,aAAa,CAAC,IAAI,EAAE,MAAM,UAIzC;AAED,wBAAgB,gBAAgB,CAAC,IAAI,EAAE,MAAM,UAI5C;AAED,wBAAgB,gBAAgB,CAAC,QAAQ,EAAE,MAAM,4GAkBhD"}
@@ -0,0 +1,20 @@
1
+ export { createSuperagentNativeClient } from './apiClient';
2
+ export { createSuperagentApiClient } from './superagentApiClient';
3
+ export { SUPERAGENT_CONNECTOR_CATALOG } from './connectorCatalog';
4
+ export { MarkdownText } from './MarkdownText';
5
+ export { createSuperagentSocketClient } from './realtimeClient';
6
+ export { SUPERAGENT_ATTACHMENT_SIZE_LIMIT_MB, SUPERAGENT_SUPPORTED_ATTACHMENT_EXTENSIONS, } from './mediaUtils';
7
+ export { EditorDrawer } from './EditorDrawer';
8
+ export { EditorTabPanel } from './EditorTabPanel';
9
+ export { superagentPaperTheme } from './paperTheme';
10
+ export { SuperagentHomeScreen } from './SuperagentHomeScreen';
11
+ export { ToolCallSummary } from './ToolCallSummary';
12
+ export { useSuperagentAttachmentPicker } from './useSuperagentAttachmentPicker';
13
+ export { useSuperagentConversation } from './useSuperagentConversation';
14
+ export { useSuperagentRuntime } from './useSuperagentRuntime';
15
+ export type { SuperagentSocketClientConfig, SuperagentSocketLike } from './realtimeClient';
16
+ export type { ConnectorConnectionStatus, InitiateConnectorConnectionResult, SuperagentApiClientConfig, SuperagentConnectorsResult, SuperagentVoiceLiveSession, } from './superagentApiClient';
17
+ export type { SuperagentAttachmentPickerAdapters, SuperagentAttachmentPickerMode, SuperagentNativeMediaItem, } from './useSuperagentAttachmentPicker';
18
+ export type { SuperagentLiveAudioCapture, SuperagentLiveAudioCaptureInput, SuperagentLiveAudioChunk, SuperagentExternalAuthCallbackEvent, SuperagentExternalAuthCallbackStatus, SuperagentLiveVoiceAudioAdapters, SuperagentNativeRuntimeAdapters, SuperagentRealtimeSocketFactoryInput, SuperagentRuntimeConfig, SuperagentRuntimeSocket, SuperagentSandboxPickedFile, } from './useSuperagentRuntime';
19
+ export type { QueuedSuperagentMessage, SuperagentAgent, SuperagentAgentActionInput, SuperagentAutomation, SuperagentAutomationActionInput, SuperagentAutomationCreditsSummary, SuperagentAutomationType, SuperagentChannelActionInput, SuperagentChannelId, SuperagentChannelStatus, SuperagentChannelUrlActionInput, SuperagentCollaborator, SuperagentConnector, SuperagentConnectorAccessMode, SuperagentConnectorActionInput, SuperagentConnectorStatus, SuperagentConversation, SuperagentEditorTab, SuperagentHomeScreenProps, SuperagentIMessageActivation, SuperagentIMessageChannelStatus, SuperagentIMessageCodeShareInput, SuperagentLineActivation, SuperagentLineChannelStatus, SuperagentLineCodeShareInput, SuperagentLiveVoiceInput, SuperagentInviteCollaboratorResult, SuperagentInviteCollaboratorsResult, SuperagentMarkdownRenderer, SuperagentMarkdownRendererProps, SuperagentMediaActionContext, SuperagentMediaAttachment, SuperagentMediaPicker, SuperagentMessage, SuperagentModelChoice, SuperagentModelUpdateInput, SuperagentNativeClient, SuperagentNativeClientConfig, SuperagentOpenWorkspaceMembersInput, SuperagentPaginatedMessages, SuperagentCopyMessageInput, SuperagentRealtimeClient, SuperagentRealtimeHandlers, SuperagentRenameAgentInput, SuperagentRoute, SuperagentSandboxFileActionInput, SuperagentSandboxFileContent, SuperagentSandboxFileNode, SuperagentSandboxFileSaveInput, SuperagentSandboxFileUploadInput, SuperagentSandboxFileUploadResult, SuperagentSecret, SuperagentSecretDeleteInput, SuperagentSecretSaveInput, SuperagentShareAgentInput, SuperagentTelegramChannelStatus, SuperagentTelegramSetupInput, SuperagentToolCall, SuperagentToolPermissionConfig, SuperagentToolPermissionsUpdateInput, SuperagentToolRenderer, SuperagentToolRendererProps, SuperagentToolRenderers, SuperagentVoiceInput, SuperagentWhatsAppChannelStatus, } from './types';
20
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,4BAA4B,EAAE,MAAM,aAAa,CAAC;AAC3D,OAAO,EAAE,yBAAyB,EAAE,MAAM,uBAAuB,CAAC;AAClE,OAAO,EAAE,4BAA4B,EAAE,MAAM,oBAAoB,CAAC;AAClE,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EAAE,4BAA4B,EAAE,MAAM,kBAAkB,CAAC;AAChE,OAAO,EACL,mCAAmC,EACnC,0CAA0C,GAC3C,MAAM,cAAc,CAAC;AACtB,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,oBAAoB,EAAE,MAAM,cAAc,CAAC;AACpD,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAC9D,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,6BAA6B,EAAE,MAAM,iCAAiC,CAAC;AAChF,OAAO,EAAE,yBAAyB,EAAE,MAAM,6BAA6B,CAAC;AACxE,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAC9D,YAAY,EAAE,4BAA4B,EAAE,oBAAoB,EAAE,MAAM,kBAAkB,CAAC;AAC3F,YAAY,EACV,yBAAyB,EACzB,iCAAiC,EACjC,yBAAyB,EACzB,0BAA0B,EAC1B,0BAA0B,GAC3B,MAAM,uBAAuB,CAAC;AAC/B,YAAY,EACV,kCAAkC,EAClC,8BAA8B,EAC9B,yBAAyB,GAC1B,MAAM,iCAAiC,CAAC;AACzC,YAAY,EACV,0BAA0B,EAC1B,+BAA+B,EAC/B,wBAAwB,EACxB,mCAAmC,EACnC,oCAAoC,EACpC,gCAAgC,EAChC,+BAA+B,EAC/B,oCAAoC,EACpC,uBAAuB,EACvB,uBAAuB,EACvB,2BAA2B,GAC5B,MAAM,wBAAwB,CAAC;AAChC,YAAY,EACV,uBAAuB,EACvB,eAAe,EACf,0BAA0B,EAC1B,oBAAoB,EACpB,+BAA+B,EAC/B,kCAAkC,EAClC,wBAAwB,EACxB,4BAA4B,EAC5B,mBAAmB,EACnB,uBAAuB,EACvB,+BAA+B,EAC/B,sBAAsB,EACtB,mBAAmB,EACnB,6BAA6B,EAC7B,8BAA8B,EAC9B,yBAAyB,EACzB,sBAAsB,EACtB,mBAAmB,EACnB,yBAAyB,EACzB,4BAA4B,EAC5B,+BAA+B,EAC/B,gCAAgC,EAChC,wBAAwB,EACxB,2BAA2B,EAC3B,4BAA4B,EAC5B,wBAAwB,EACxB,kCAAkC,EAClC,mCAAmC,EACnC,0BAA0B,EAC1B,+BAA+B,EAC/B,4BAA4B,EAC5B,yBAAyB,EACzB,qBAAqB,EACrB,iBAAiB,EACjB,qBAAqB,EACrB,0BAA0B,EAC1B,sBAAsB,EACtB,4BAA4B,EAC5B,mCAAmC,EACnC,2BAA2B,EAC3B,0BAA0B,EAC1B,wBAAwB,EACxB,0BAA0B,EAC1B,0BAA0B,EAC1B,eAAe,EACf,gCAAgC,EAChC,4BAA4B,EAC5B,yBAAyB,EACzB,8BAA8B,EAC9B,gCAAgC,EAChC,iCAAiC,EACjC,gBAAgB,EAChB,2BAA2B,EAC3B,yBAAyB,EACzB,yBAAyB,EACzB,+BAA+B,EAC/B,4BAA4B,EAC5B,kBAAkB,EAClB,8BAA8B,EAC9B,oCAAoC,EACpC,sBAAsB,EACtB,2BAA2B,EAC3B,uBAAuB,EACvB,oBAAoB,EACpB,+BAA+B,GAChC,MAAM,SAAS,CAAC"}
@@ -0,0 +1,150 @@
1
+ export declare const markdownStyles: {
2
+ root: {};
3
+ wideRoot: {
4
+ width: "100%";
5
+ };
6
+ paragraph: {
7
+ color: string;
8
+ fontSize: number;
9
+ lineHeight: number;
10
+ marginVertical: number;
11
+ };
12
+ heading1: {
13
+ color: string;
14
+ fontSize: number;
15
+ fontWeight: "800";
16
+ lineHeight: number;
17
+ marginBottom: number;
18
+ marginTop: number;
19
+ };
20
+ heading2: {
21
+ color: string;
22
+ fontSize: number;
23
+ fontWeight: "800";
24
+ lineHeight: number;
25
+ marginBottom: number;
26
+ marginTop: number;
27
+ };
28
+ heading3: {
29
+ color: string;
30
+ fontSize: number;
31
+ fontWeight: "800";
32
+ lineHeight: number;
33
+ marginBottom: number;
34
+ marginTop: number;
35
+ };
36
+ list: {
37
+ marginVertical: number;
38
+ };
39
+ listItem: {
40
+ flexDirection: "row";
41
+ marginVertical: number;
42
+ };
43
+ listMarker: {
44
+ color: string;
45
+ fontSize: number;
46
+ lineHeight: number;
47
+ marginRight: number;
48
+ minWidth: number;
49
+ textAlign: "center";
50
+ };
51
+ listText: {
52
+ color: string;
53
+ flex: number;
54
+ fontSize: number;
55
+ lineHeight: number;
56
+ };
57
+ quote: {
58
+ backgroundColor: string;
59
+ borderLeftColor: string;
60
+ borderLeftWidth: number;
61
+ borderRadius: number;
62
+ marginVertical: number;
63
+ paddingHorizontal: number;
64
+ paddingVertical: number;
65
+ };
66
+ quoteText: {
67
+ color: string;
68
+ fontSize: number;
69
+ fontStyle: "italic";
70
+ lineHeight: number;
71
+ };
72
+ codeBlockScroll: {
73
+ marginVertical: number;
74
+ width: "100%";
75
+ };
76
+ codeBlock: {
77
+ backgroundColor: string;
78
+ borderColor: string;
79
+ borderRadius: number;
80
+ borderWidth: number;
81
+ minWidth: "100%";
82
+ paddingHorizontal: number;
83
+ paddingVertical: number;
84
+ };
85
+ codeBlockText: {
86
+ color: string;
87
+ fontFamily: string;
88
+ fontSize: number;
89
+ lineHeight: number;
90
+ };
91
+ tableScroll: {
92
+ marginVertical: number;
93
+ width: "100%";
94
+ };
95
+ table: {
96
+ backgroundColor: string;
97
+ borderColor: string;
98
+ borderRadius: number;
99
+ borderWidth: number;
100
+ overflow: "hidden";
101
+ };
102
+ tableRow: {
103
+ borderTopColor: string;
104
+ borderTopWidth: number;
105
+ flexDirection: "row";
106
+ };
107
+ tableHeaderRow: {
108
+ backgroundColor: string;
109
+ borderTopWidth: number;
110
+ };
111
+ tableCell: {
112
+ borderLeftColor: string;
113
+ borderLeftWidth: number;
114
+ paddingHorizontal: number;
115
+ paddingVertical: number;
116
+ };
117
+ tableHeaderCell: {
118
+ borderLeftWidth: number;
119
+ };
120
+ tableText: {
121
+ color: string;
122
+ fontSize: number;
123
+ lineHeight: number;
124
+ };
125
+ tableHeaderText: {
126
+ color: string;
127
+ fontSize: number;
128
+ fontWeight: "800";
129
+ lineHeight: number;
130
+ };
131
+ inlineCode: {
132
+ backgroundColor: string;
133
+ borderRadius: number;
134
+ color: string;
135
+ fontFamily: string;
136
+ fontSize: number;
137
+ };
138
+ strong: {
139
+ color: string;
140
+ fontWeight: "800";
141
+ };
142
+ italic: {
143
+ fontStyle: "italic";
144
+ };
145
+ link: {
146
+ color: string;
147
+ textDecorationLine: "underline";
148
+ };
149
+ };
150
+ //# sourceMappingURL=markdownStyles.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"markdownStyles.d.ts","sourceRoot":"","sources":["../../../src/markdownStyles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA6DzB,CAAC"}
@@ -0,0 +1,9 @@
1
+ import type { SuperagentMediaAttachment } from './types';
2
+ export declare const MAX_ATTACHMENTS = 10;
3
+ export declare const SUPERAGENT_SUPPORTED_ATTACHMENT_EXTENSIONS: readonly [".jpg", ".jpeg", ".png", ".webp", ".pdf", ".txt", ".html", ".csv", ".xlsx", ".docx", ".json", ".md"];
4
+ export declare const SUPERAGENT_ATTACHMENT_SIZE_LIMIT_MB: Record<string, number>;
5
+ export declare function normalizeMediaAttachments(input: unknown): SuperagentMediaAttachment[];
6
+ export declare function buildAttachmentPrompt(attachments: SuperagentMediaAttachment[]): string;
7
+ export declare function getAttachmentName(attachment: SuperagentMediaAttachment): string;
8
+ export declare function isImageAttachment(attachment: SuperagentMediaAttachment): boolean;
9
+ //# sourceMappingURL=mediaUtils.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"mediaUtils.d.ts","sourceRoot":"","sources":["../../../src/mediaUtils.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,SAAS,CAAC;AAEzD,eAAO,MAAM,eAAe,KAAK,CAAC;AAClC,eAAO,MAAM,0CAA0C,gHAa7C,CAAC;AAEX,eAAO,MAAM,mCAAmC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAatE,CAAC;AAEF,wBAAgB,yBAAyB,CAAC,KAAK,EAAE,OAAO,+BAIvD;AAED,wBAAgB,qBAAqB,CAAC,WAAW,EAAE,yBAAyB,EAAE,UAQ7E;AAED,wBAAgB,iBAAiB,CAAC,UAAU,EAAE,yBAAyB,UAWtE;AAED,wBAAgB,iBAAiB,CAAC,UAAU,EAAE,yBAAyB,WAItE"}
@@ -0,0 +1,38 @@
1
+ export declare const messageActionStyles: {
2
+ bar: {
3
+ alignItems: "center";
4
+ alignSelf: "flex-start";
5
+ flexDirection: "row";
6
+ marginTop: number;
7
+ };
8
+ barUser: {
9
+ alignSelf: "flex-end";
10
+ };
11
+ button: {
12
+ alignItems: "center";
13
+ backgroundColor: string;
14
+ borderColor: string;
15
+ borderRadius: number;
16
+ borderWidth: number;
17
+ flexDirection: "row";
18
+ marginRight: number;
19
+ minHeight: number;
20
+ paddingHorizontal: number;
21
+ };
22
+ buttonDanger: {
23
+ borderColor: string;
24
+ };
25
+ buttonDisabled: {
26
+ opacity: number;
27
+ };
28
+ label: {
29
+ color: string;
30
+ fontSize: number;
31
+ fontWeight: "700";
32
+ marginLeft: number;
33
+ };
34
+ labelDanger: {
35
+ color: string;
36
+ };
37
+ };
38
+ //# sourceMappingURL=messageActionStyles.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"messageActionStyles.d.ts","sourceRoot":"","sources":["../../../src/messageActionStyles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAuB9B,CAAC"}
@@ -0,0 +1,8 @@
1
+ import type { SuperagentMessage, SuperagentReplyTo, SuperagentToolCall } from './types';
2
+ export declare function getMessageFiles(message: SuperagentMessage): string[];
3
+ export declare function getMessageToolCalls(message: SuperagentMessage): SuperagentToolCall[];
4
+ export declare function getReplyTo(message: SuperagentMessage): SuperagentReplyTo | undefined;
5
+ export declare function shouldShowDateSeparator(message: SuperagentMessage, previousMessage?: SuperagentMessage): boolean;
6
+ export declare function formatDateLabel(value?: string): string;
7
+ export declare function getFileName(url: string): string;
8
+ //# sourceMappingURL=messageUtils.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"messageUtils.d.ts","sourceRoot":"","sources":["../../../src/messageUtils.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,iBAAiB,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAC;AAExF,wBAAgB,eAAe,CAAC,OAAO,EAAE,iBAAiB,YAEzD;AAED,wBAAgB,mBAAmB,CAAC,OAAO,EAAE,iBAAiB,GAAG,kBAAkB,EAAE,CAEpF;AAED,wBAAgB,UAAU,CAAC,OAAO,EAAE,iBAAiB,GAAG,iBAAiB,GAAG,SAAS,CAapF;AAED,wBAAgB,uBAAuB,CACrC,OAAO,EAAE,iBAAiB,EAC1B,eAAe,CAAC,EAAE,iBAAiB,WAKpC;AAED,wBAAgB,eAAe,CAAC,KAAK,CAAC,EAAE,MAAM,UAY7C;AAED,wBAAgB,WAAW,CAAC,GAAG,EAAE,MAAM,UAStC"}
@@ -0,0 +1,6 @@
1
+ export type NativeActionSheetOption = {
2
+ label: string;
3
+ onPress: () => void;
4
+ };
5
+ export declare function showNativeActionSheet(title: string, actions: NativeActionSheetOption[]): boolean;
6
+ //# sourceMappingURL=nativeActionSheet.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"nativeActionSheet.d.ts","sourceRoot":"","sources":["../../../src/nativeActionSheet.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,uBAAuB,GAAG;IACpC,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,IAAI,CAAC;CACrB,CAAC;AAEF,wBAAgB,qBAAqB,CAAC,KAAK,EAAE,MAAM,EAAE,OAAO,EAAE,uBAAuB,EAAE,WAiBtF"}
@@ -0,0 +1,3 @@
1
+ import type { NativeActionSheetOption } from './nativeActionSheet';
2
+ export declare function showNativeActionSheet(_title: string, _actions: NativeActionSheetOption[]): boolean;
3
+ //# sourceMappingURL=nativeActionSheet.web.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"nativeActionSheet.web.d.ts","sourceRoot":"","sources":["../../../src/nativeActionSheet.web.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,qBAAqB,CAAC;AAEnE,wBAAgB,qBAAqB,CAAC,MAAM,EAAE,MAAM,EAAE,QAAQ,EAAE,uBAAuB,EAAE,WAExF"}
@@ -0,0 +1 @@
1
+ {"type":"module"}
@@ -0,0 +1,3 @@
1
+ import type { ProviderProps } from 'react-native-paper';
2
+ export declare const superagentPaperTheme: ProviderProps["theme"];
3
+ //# sourceMappingURL=paperTheme.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"paperTheme.d.ts","sourceRoot":"","sources":["../../../src/paperTheme.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AAExD,eAAO,MAAM,oBAAoB,EAiD5B,aAAa,CAAC,OAAO,CAAC,CAAC"}
@@ -0,0 +1,16 @@
1
+ import type { SuperagentRealtimeClient } from './types';
2
+ type SocketListener = (...args: unknown[]) => void;
3
+ export type SuperagentSocketLike = {
4
+ connected?: boolean;
5
+ emit(event: string, ...args: unknown[]): void;
6
+ on(event: string, listener: SocketListener): void;
7
+ off?(event: string, listener: SocketListener): void;
8
+ removeListener?(event: string, listener: SocketListener): void;
9
+ };
10
+ export type SuperagentSocketClientConfig = {
11
+ socket: SuperagentSocketLike;
12
+ roomMetadata?: Record<string, unknown> | ((conversationId: string) => Record<string, unknown> | undefined);
13
+ };
14
+ export declare function createSuperagentSocketClient({ socket, roomMetadata, }: SuperagentSocketClientConfig): SuperagentRealtimeClient;
15
+ export {};
16
+ //# sourceMappingURL=realtimeClient.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"realtimeClient.d.ts","sourceRoot":"","sources":["../../../src/realtimeClient.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAGV,wBAAwB,EAEzB,MAAM,SAAS,CAAC;AAEjB,KAAK,cAAc,GAAG,CAAC,GAAG,IAAI,EAAE,OAAO,EAAE,KAAK,IAAI,CAAC;AAEnD,MAAM,MAAM,oBAAoB,GAAG;IACjC,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,IAAI,CAAC,KAAK,EAAE,MAAM,EAAE,GAAG,IAAI,EAAE,OAAO,EAAE,GAAG,IAAI,CAAC;IAC9C,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,QAAQ,EAAE,cAAc,GAAG,IAAI,CAAC;IAClD,GAAG,CAAC,CAAC,KAAK,EAAE,MAAM,EAAE,QAAQ,EAAE,cAAc,GAAG,IAAI,CAAC;IACpD,cAAc,CAAC,CAAC,KAAK,EAAE,MAAM,EAAE,QAAQ,EAAE,cAAc,GAAG,IAAI,CAAC;CAChE,CAAC;AAEF,MAAM,MAAM,4BAA4B,GAAG;IACzC,MAAM,EAAE,oBAAoB,CAAC;IAC7B,YAAY,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,CAAC,CAAC,cAAc,EAAE,MAAM,KAAK,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS,CAAC,CAAC;CAC5G,CAAC;AAOF,wBAAgB,4BAA4B,CAAC,EAC3C,MAAM,EACN,YAAY,GACb,EAAE,4BAA4B,GAAG,wBAAwB,CAiEzD"}
@@ -0,0 +1,76 @@
1
+ export declare const renameAgentModalStyles: {
2
+ actions: {
3
+ flexDirection: "row";
4
+ gap: number;
5
+ marginTop: number;
6
+ };
7
+ backdrop: {
8
+ alignItems: "center";
9
+ backgroundColor: string;
10
+ flex: number;
11
+ justifyContent: "center";
12
+ padding: number;
13
+ };
14
+ button: {
15
+ alignItems: "center";
16
+ borderRadius: number;
17
+ flex: number;
18
+ height: number;
19
+ justifyContent: "center";
20
+ };
21
+ card: {
22
+ backgroundColor: string;
23
+ borderColor: string;
24
+ borderRadius: number;
25
+ borderWidth: number;
26
+ padding: number;
27
+ width: "100%";
28
+ };
29
+ error: {
30
+ color: string;
31
+ fontSize: number;
32
+ lineHeight: number;
33
+ marginTop: number;
34
+ };
35
+ input: {
36
+ backgroundColor: string;
37
+ borderColor: string;
38
+ borderRadius: number;
39
+ borderWidth: number;
40
+ color: string;
41
+ fontSize: number;
42
+ fontWeight: "600";
43
+ height: number;
44
+ marginTop: number;
45
+ paddingHorizontal: number;
46
+ };
47
+ pressed: {
48
+ opacity: number;
49
+ };
50
+ primaryButton: {
51
+ backgroundColor: string;
52
+ };
53
+ primaryButtonText: {
54
+ color: string;
55
+ fontSize: number;
56
+ fontWeight: "800";
57
+ };
58
+ primaryPressed: {
59
+ opacity: number;
60
+ };
61
+ secondaryButton: {
62
+ backgroundColor: string;
63
+ };
64
+ secondaryButtonText: {
65
+ color: string;
66
+ fontSize: number;
67
+ fontWeight: "700";
68
+ };
69
+ title: {
70
+ color: string;
71
+ fontSize: number;
72
+ fontWeight: "800";
73
+ textAlign: "center";
74
+ };
75
+ };
76
+ //# sourceMappingURL=renameAgentModalStyles.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"renameAgentModalStyles.d.ts","sourceRoot":"","sources":["../../../src/renameAgentModalStyles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA0EjC,CAAC"}
@@ -0,0 +1,31 @@
1
+ import React from 'react';
2
+ import type { SuperagentAgent, SuperagentHomeScreenProps } from './types';
3
+ export declare function AgentCard({ agent, automationCount, connectorCount, latestMessages, onPress, }: {
4
+ agent: SuperagentAgent;
5
+ automationCount?: number;
6
+ connectorCount?: number;
7
+ latestMessages: SuperagentHomeScreenProps['latestMessages'];
8
+ onPress: () => void;
9
+ }): React.JSX.Element;
10
+ export declare function EmptyState({ onCreateAgent, isCreating, }: {
11
+ onCreateAgent: () => void;
12
+ isCreating: boolean;
13
+ }): React.JSX.Element;
14
+ export declare function AgentRow({ agent, latestMessages, onPress, }: {
15
+ agent: SuperagentAgent;
16
+ latestMessages?: SuperagentHomeScreenProps['latestMessages'];
17
+ onPress: () => void;
18
+ }): React.JSX.Element;
19
+ export declare function HeaderProfile({ userAvatarUrl }: {
20
+ userAvatarUrl?: string | null;
21
+ }): React.JSX.Element;
22
+ export declare function CreateAgentButton({ isCreating, onPress, }: {
23
+ isCreating: boolean;
24
+ onPress: () => void;
25
+ }): React.JSX.Element;
26
+ export declare function PlaceholderPage({ title, body, onBack, }: {
27
+ title: string;
28
+ body: string;
29
+ onBack: () => void;
30
+ }): React.JSX.Element;
31
+ //# sourceMappingURL=screenParts.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"screenParts.d.ts","sourceRoot":"","sources":["../../../src/screenParts.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAM1B,OAAO,KAAK,EAAE,eAAe,EAAE,yBAAyB,EAAE,MAAM,SAAS,CAAC;AAE1E,wBAAgB,SAAS,CAAC,EACxB,KAAK,EACL,eAAmB,EACnB,cAAkB,EAClB,cAAc,EACd,OAAO,GACR,EAAE;IACD,KAAK,EAAE,eAAe,CAAC;IACvB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,cAAc,EAAE,yBAAyB,CAAC,gBAAgB,CAAC,CAAC;IAC5D,OAAO,EAAE,MAAM,IAAI,CAAC;CACrB,qBAqCA;AAED,wBAAgB,UAAU,CAAC,EACzB,aAAa,EACb,UAAU,GACX,EAAE;IACD,aAAa,EAAE,MAAM,IAAI,CAAC;IAC1B,UAAU,EAAE,OAAO,CAAC;CACrB,qBA2BA;AAED,wBAAgB,QAAQ,CAAC,EACvB,KAAK,EACL,cAAc,EACd,OAAO,GACR,EAAE;IACD,KAAK,EAAE,eAAe,CAAC;IACvB,cAAc,CAAC,EAAE,yBAAyB,CAAC,gBAAgB,CAAC,CAAC;IAC7D,OAAO,EAAE,MAAM,IAAI,CAAC;CACrB,qBAqBA;AAED,wBAAgB,aAAa,CAAC,EAAE,aAAa,EAAE,EAAE;IAAE,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;CAAE,qBAMjF;AAED,wBAAgB,iBAAiB,CAAC,EAChC,UAAU,EACV,OAAO,GACR,EAAE;IACD,UAAU,EAAE,OAAO,CAAC;IACpB,OAAO,EAAE,MAAM,IAAI,CAAC;CACrB,qBAYA;AAED,wBAAgB,eAAe,CAAC,EAC9B,KAAK,EACL,IAAI,EACJ,MAAM,GACP,EAAE;IACD,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,IAAI,CAAC;CACpB,qBAYA"}