@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.
- package/README.md +132 -0
- package/lib/commonjs/AgentSettingsPanel.js +1067 -0
- package/lib/commonjs/AgentSettingsPanel.js.map +1 -0
- package/lib/commonjs/AgentSphereIcon.js +243 -0
- package/lib/commonjs/AgentSphereIcon.js.map +1 -0
- package/lib/commonjs/AttachmentPickerStatusModal.js +96 -0
- package/lib/commonjs/AttachmentPickerStatusModal.js.map +1 -0
- package/lib/commonjs/AttachmentPreviewStrip.js +49 -0
- package/lib/commonjs/AttachmentPreviewStrip.js.map +1 -0
- package/lib/commonjs/ChannelsPanel.js +733 -0
- package/lib/commonjs/ChannelsPanel.js.map +1 -0
- package/lib/commonjs/ConversationChat.js +219 -0
- package/lib/commonjs/ConversationChat.js.map +1 -0
- package/lib/commonjs/ConversationComposer.js +323 -0
- package/lib/commonjs/ConversationComposer.js.map +1 -0
- package/lib/commonjs/ConversationMessageList.js +105 -0
- package/lib/commonjs/ConversationMessageList.js.map +1 -0
- package/lib/commonjs/ConversationScreen.js +241 -0
- package/lib/commonjs/ConversationScreen.js.map +1 -0
- package/lib/commonjs/EditorDrawer.js +1127 -0
- package/lib/commonjs/EditorDrawer.js.map +1 -0
- package/lib/commonjs/EditorTabPanel.js +28 -0
- package/lib/commonjs/EditorTabPanel.js.map +1 -0
- package/lib/commonjs/FilesPanel.js +533 -0
- package/lib/commonjs/FilesPanel.js.map +1 -0
- package/lib/commonjs/MarkdownText.js +313 -0
- package/lib/commonjs/MarkdownText.js.map +1 -0
- package/lib/commonjs/MessageActionBar.js +90 -0
- package/lib/commonjs/MessageActionBar.js.map +1 -0
- package/lib/commonjs/RenameAgentModal.js +99 -0
- package/lib/commonjs/RenameAgentModal.js.map +1 -0
- package/lib/commonjs/ShareAgentModal.js +349 -0
- package/lib/commonjs/ShareAgentModal.js.map +1 -0
- package/lib/commonjs/ShareAgentModal.styles.js +236 -0
- package/lib/commonjs/ShareAgentModal.styles.js.map +1 -0
- package/lib/commonjs/SuperagentHomeScreen.js +316 -0
- package/lib/commonjs/SuperagentHomeScreen.js.map +1 -0
- package/lib/commonjs/ToolApprovalCard.js +542 -0
- package/lib/commonjs/ToolApprovalCard.js.map +1 -0
- package/lib/commonjs/ToolCallSummary.js +632 -0
- package/lib/commonjs/ToolCallSummary.js.map +1 -0
- package/lib/commonjs/agentSphereStyles.js +38 -0
- package/lib/commonjs/agentSphereStyles.js.map +1 -0
- package/lib/commonjs/apiClient.js +158 -0
- package/lib/commonjs/apiClient.js.map +1 -0
- package/lib/commonjs/attachmentFileHelpers.js +104 -0
- package/lib/commonjs/attachmentFileHelpers.js.map +1 -0
- package/lib/commonjs/attachmentUpload.js +87 -0
- package/lib/commonjs/attachmentUpload.js.map +1 -0
- package/lib/commonjs/composerStyles.js +248 -0
- package/lib/commonjs/composerStyles.js.map +1 -0
- package/lib/commonjs/connectorBrandIcons.js +82 -0
- package/lib/commonjs/connectorBrandIcons.js.map +1 -0
- package/lib/commonjs/connectorCatalog.js +377 -0
- package/lib/commonjs/connectorCatalog.js.map +1 -0
- package/lib/commonjs/constants.js +15 -0
- package/lib/commonjs/constants.js.map +1 -0
- package/lib/commonjs/conversationParts.js +273 -0
- package/lib/commonjs/conversationParts.js.map +1 -0
- package/lib/commonjs/conversationRuntime.js +144 -0
- package/lib/commonjs/conversationRuntime.js.map +1 -0
- package/lib/commonjs/conversationStyles.js +758 -0
- package/lib/commonjs/conversationStyles.js.map +1 -0
- package/lib/commonjs/editorShellStyles.js +1032 -0
- package/lib/commonjs/editorShellStyles.js.map +1 -0
- package/lib/commonjs/editorTabs.js +42 -0
- package/lib/commonjs/editorTabs.js.map +1 -0
- package/lib/commonjs/fileTreeUtils.js +133 -0
- package/lib/commonjs/fileTreeUtils.js.map +1 -0
- package/lib/commonjs/index.js +110 -0
- package/lib/commonjs/index.js.map +1 -0
- package/lib/commonjs/markdownStyles.js +157 -0
- package/lib/commonjs/markdownStyles.js.map +1 -0
- package/lib/commonjs/mediaUtils.js +61 -0
- package/lib/commonjs/mediaUtils.js.map +1 -0
- package/lib/commonjs/messageActionStyles.js +45 -0
- package/lib/commonjs/messageActionStyles.js.map +1 -0
- package/lib/commonjs/messageUtils.js +55 -0
- package/lib/commonjs/messageUtils.js.map +1 -0
- package/lib/commonjs/nativeActionSheet.js +21 -0
- package/lib/commonjs/nativeActionSheet.js.map +1 -0
- package/lib/commonjs/nativeActionSheet.web.js +10 -0
- package/lib/commonjs/nativeActionSheet.web.js.map +1 -0
- package/lib/commonjs/package.json +1 -0
- package/lib/commonjs/paperTheme.js +59 -0
- package/lib/commonjs/paperTheme.js.map +1 -0
- package/lib/commonjs/realtimeClient.js +99 -0
- package/lib/commonjs/realtimeClient.js.map +1 -0
- package/lib/commonjs/renameAgentModalStyles.js +83 -0
- package/lib/commonjs/renameAgentModalStyles.js.map +1 -0
- package/lib/commonjs/screenParts.js +220 -0
- package/lib/commonjs/screenParts.js.map +1 -0
- package/lib/commonjs/styles.js +343 -0
- package/lib/commonjs/styles.js.map +1 -0
- package/lib/commonjs/superagentApiClient.js +613 -0
- package/lib/commonjs/superagentApiClient.js.map +1 -0
- package/lib/commonjs/types.js +6 -0
- package/lib/commonjs/types.js.map +1 -0
- package/lib/commonjs/useSuperagentAttachmentPicker.js +80 -0
- package/lib/commonjs/useSuperagentAttachmentPicker.js.map +1 -0
- package/lib/commonjs/useSuperagentConversation.js +216 -0
- package/lib/commonjs/useSuperagentConversation.js.map +1 -0
- package/lib/commonjs/useSuperagentRuntime.js +1207 -0
- package/lib/commonjs/useSuperagentRuntime.js.map +1 -0
- package/lib/module/AgentSettingsPanel.js +1062 -0
- package/lib/module/AgentSettingsPanel.js.map +1 -0
- package/lib/module/AgentSphereIcon.js +237 -0
- package/lib/module/AgentSphereIcon.js.map +1 -0
- package/lib/module/AttachmentPickerStatusModal.js +91 -0
- package/lib/module/AttachmentPickerStatusModal.js.map +1 -0
- package/lib/module/AttachmentPreviewStrip.js +44 -0
- package/lib/module/AttachmentPreviewStrip.js.map +1 -0
- package/lib/module/ChannelsPanel.js +728 -0
- package/lib/module/ChannelsPanel.js.map +1 -0
- package/lib/module/ConversationChat.js +214 -0
- package/lib/module/ConversationChat.js.map +1 -0
- package/lib/module/ConversationComposer.js +318 -0
- package/lib/module/ConversationComposer.js.map +1 -0
- package/lib/module/ConversationMessageList.js +100 -0
- package/lib/module/ConversationMessageList.js.map +1 -0
- package/lib/module/ConversationScreen.js +236 -0
- package/lib/module/ConversationScreen.js.map +1 -0
- package/lib/module/EditorDrawer.js +1122 -0
- package/lib/module/EditorDrawer.js.map +1 -0
- package/lib/module/EditorTabPanel.js +23 -0
- package/lib/module/EditorTabPanel.js.map +1 -0
- package/lib/module/FilesPanel.js +528 -0
- package/lib/module/FilesPanel.js.map +1 -0
- package/lib/module/MarkdownText.js +308 -0
- package/lib/module/MarkdownText.js.map +1 -0
- package/lib/module/MessageActionBar.js +85 -0
- package/lib/module/MessageActionBar.js.map +1 -0
- package/lib/module/RenameAgentModal.js +94 -0
- package/lib/module/RenameAgentModal.js.map +1 -0
- package/lib/module/ShareAgentModal.js +344 -0
- package/lib/module/ShareAgentModal.js.map +1 -0
- package/lib/module/ShareAgentModal.styles.js +232 -0
- package/lib/module/ShareAgentModal.styles.js.map +1 -0
- package/lib/module/SuperagentHomeScreen.js +311 -0
- package/lib/module/SuperagentHomeScreen.js.map +1 -0
- package/lib/module/ToolApprovalCard.js +537 -0
- package/lib/module/ToolApprovalCard.js.map +1 -0
- package/lib/module/ToolCallSummary.js +627 -0
- package/lib/module/ToolCallSummary.js.map +1 -0
- package/lib/module/agentSphereStyles.js +34 -0
- package/lib/module/agentSphereStyles.js.map +1 -0
- package/lib/module/apiClient.js +154 -0
- package/lib/module/apiClient.js.map +1 -0
- package/lib/module/attachmentFileHelpers.js +97 -0
- package/lib/module/attachmentFileHelpers.js.map +1 -0
- package/lib/module/attachmentUpload.js +82 -0
- package/lib/module/attachmentUpload.js.map +1 -0
- package/lib/module/composerStyles.js +244 -0
- package/lib/module/composerStyles.js.map +1 -0
- package/lib/module/connectorBrandIcons.js +76 -0
- package/lib/module/connectorBrandIcons.js.map +1 -0
- package/lib/module/connectorCatalog.js +373 -0
- package/lib/module/connectorCatalog.js.map +1 -0
- package/lib/module/constants.js +10 -0
- package/lib/module/constants.js.map +1 -0
- package/lib/module/conversationParts.js +266 -0
- package/lib/module/conversationParts.js.map +1 -0
- package/lib/module/conversationRuntime.js +129 -0
- package/lib/module/conversationRuntime.js.map +1 -0
- package/lib/module/conversationStyles.js +754 -0
- package/lib/module/conversationStyles.js.map +1 -0
- package/lib/module/editorShellStyles.js +1028 -0
- package/lib/module/editorShellStyles.js.map +1 -0
- package/lib/module/editorTabs.js +37 -0
- package/lib/module/editorTabs.js.map +1 -0
- package/lib/module/fileTreeUtils.js +120 -0
- package/lib/module/fileTreeUtils.js.map +1 -0
- package/lib/module/index.js +17 -0
- package/lib/module/index.js.map +1 -0
- package/lib/module/markdownStyles.js +153 -0
- package/lib/module/markdownStyles.js.map +1 -0
- package/lib/module/mediaUtils.js +53 -0
- package/lib/module/mediaUtils.js.map +1 -0
- package/lib/module/messageActionStyles.js +41 -0
- package/lib/module/messageActionStyles.js.map +1 -0
- package/lib/module/messageUtils.js +46 -0
- package/lib/module/messageUtils.js.map +1 -0
- package/lib/module/nativeActionSheet.js +17 -0
- package/lib/module/nativeActionSheet.js.map +1 -0
- package/lib/module/nativeActionSheet.web.js +6 -0
- package/lib/module/nativeActionSheet.web.js.map +1 -0
- package/lib/module/package.json +1 -0
- package/lib/module/paperTheme.js +55 -0
- package/lib/module/paperTheme.js.map +1 -0
- package/lib/module/realtimeClient.js +95 -0
- package/lib/module/realtimeClient.js.map +1 -0
- package/lib/module/renameAgentModalStyles.js +79 -0
- package/lib/module/renameAgentModalStyles.js.map +1 -0
- package/lib/module/screenParts.js +210 -0
- package/lib/module/screenParts.js.map +1 -0
- package/lib/module/styles.js +339 -0
- package/lib/module/styles.js.map +1 -0
- package/lib/module/superagentApiClient.js +609 -0
- package/lib/module/superagentApiClient.js.map +1 -0
- package/lib/module/types.js +4 -0
- package/lib/module/types.js.map +1 -0
- package/lib/module/useSuperagentAttachmentPicker.js +75 -0
- package/lib/module/useSuperagentAttachmentPicker.js.map +1 -0
- package/lib/module/useSuperagentConversation.js +212 -0
- package/lib/module/useSuperagentConversation.js.map +1 -0
- package/lib/module/useSuperagentRuntime.js +1203 -0
- package/lib/module/useSuperagentRuntime.js.map +1 -0
- package/lib/typescript/commonjs/AgentSettingsPanel.d.ts +19 -0
- package/lib/typescript/commonjs/AgentSettingsPanel.d.ts.map +1 -0
- package/lib/typescript/commonjs/AgentSphereIcon.d.ts +15 -0
- package/lib/typescript/commonjs/AgentSphereIcon.d.ts.map +1 -0
- package/lib/typescript/commonjs/AttachmentPickerStatusModal.d.ts +8 -0
- package/lib/typescript/commonjs/AttachmentPickerStatusModal.d.ts.map +1 -0
- package/lib/typescript/commonjs/AttachmentPreviewStrip.d.ts +7 -0
- package/lib/typescript/commonjs/AttachmentPreviewStrip.d.ts.map +1 -0
- package/lib/typescript/commonjs/ChannelsPanel.d.ts +21 -0
- package/lib/typescript/commonjs/ChannelsPanel.d.ts.map +1 -0
- package/lib/typescript/commonjs/ConversationChat.d.ts +22 -0
- package/lib/typescript/commonjs/ConversationChat.d.ts.map +1 -0
- package/lib/typescript/commonjs/ConversationComposer.d.ts +24 -0
- package/lib/typescript/commonjs/ConversationComposer.d.ts.map +1 -0
- package/lib/typescript/commonjs/ConversationMessageList.d.ts +17 -0
- package/lib/typescript/commonjs/ConversationMessageList.d.ts.map +1 -0
- package/lib/typescript/commonjs/ConversationScreen.d.ts +80 -0
- package/lib/typescript/commonjs/ConversationScreen.d.ts.map +1 -0
- package/lib/typescript/commonjs/EditorDrawer.d.ts +67 -0
- package/lib/typescript/commonjs/EditorDrawer.d.ts.map +1 -0
- package/lib/typescript/commonjs/EditorTabPanel.d.ts +6 -0
- package/lib/typescript/commonjs/EditorTabPanel.d.ts.map +1 -0
- package/lib/typescript/commonjs/FilesPanel.d.ts +14 -0
- package/lib/typescript/commonjs/FilesPanel.d.ts.map +1 -0
- package/lib/typescript/commonjs/MarkdownText.d.ts +10 -0
- package/lib/typescript/commonjs/MarkdownText.d.ts.map +1 -0
- package/lib/typescript/commonjs/MessageActionBar.d.ts +8 -0
- package/lib/typescript/commonjs/MessageActionBar.d.ts.map +1 -0
- package/lib/typescript/commonjs/RenameAgentModal.d.ts +10 -0
- package/lib/typescript/commonjs/RenameAgentModal.d.ts.map +1 -0
- package/lib/typescript/commonjs/ShareAgentModal.d.ts +15 -0
- package/lib/typescript/commonjs/ShareAgentModal.d.ts.map +1 -0
- package/lib/typescript/commonjs/ShareAgentModal.styles.d.ts +229 -0
- package/lib/typescript/commonjs/ShareAgentModal.styles.d.ts.map +1 -0
- package/lib/typescript/commonjs/SuperagentHomeScreen.d.ts +4 -0
- package/lib/typescript/commonjs/SuperagentHomeScreen.d.ts.map +1 -0
- package/lib/typescript/commonjs/ToolApprovalCard.d.ts +13 -0
- package/lib/typescript/commonjs/ToolApprovalCard.d.ts.map +1 -0
- package/lib/typescript/commonjs/ToolCallSummary.d.ts +16 -0
- package/lib/typescript/commonjs/ToolCallSummary.d.ts.map +1 -0
- package/lib/typescript/commonjs/agentSphereStyles.d.ts +31 -0
- package/lib/typescript/commonjs/agentSphereStyles.d.ts.map +1 -0
- package/lib/typescript/commonjs/apiClient.d.ts +4 -0
- package/lib/typescript/commonjs/apiClient.d.ts.map +1 -0
- package/lib/typescript/commonjs/attachmentFileHelpers.d.ts +6 -0
- package/lib/typescript/commonjs/attachmentFileHelpers.d.ts.map +1 -0
- package/lib/typescript/commonjs/attachmentUpload.d.ts +12 -0
- package/lib/typescript/commonjs/attachmentUpload.d.ts.map +1 -0
- package/lib/typescript/commonjs/composerStyles.d.ts +241 -0
- package/lib/typescript/commonjs/composerStyles.d.ts.map +1 -0
- package/lib/typescript/commonjs/connectorBrandIcons.d.ts +7 -0
- package/lib/typescript/commonjs/connectorBrandIcons.d.ts.map +1 -0
- package/lib/typescript/commonjs/connectorCatalog.d.ts +3 -0
- package/lib/typescript/commonjs/connectorCatalog.d.ts.map +1 -0
- package/lib/typescript/commonjs/constants.d.ts +4 -0
- package/lib/typescript/commonjs/constants.d.ts.map +1 -0
- package/lib/typescript/commonjs/conversationParts.d.ts +29 -0
- package/lib/typescript/commonjs/conversationParts.d.ts.map +1 -0
- package/lib/typescript/commonjs/conversationRuntime.d.ts +67 -0
- package/lib/typescript/commonjs/conversationRuntime.d.ts.map +1 -0
- package/lib/typescript/commonjs/conversationStyles.d.ts +742 -0
- package/lib/typescript/commonjs/conversationStyles.d.ts.map +1 -0
- package/lib/typescript/commonjs/editorShellStyles.d.ts +1025 -0
- package/lib/typescript/commonjs/editorShellStyles.d.ts.map +1 -0
- package/lib/typescript/commonjs/editorTabs.d.ts +11 -0
- package/lib/typescript/commonjs/editorTabs.d.ts.map +1 -0
- package/lib/typescript/commonjs/fileTreeUtils.d.ts +17 -0
- package/lib/typescript/commonjs/fileTreeUtils.d.ts.map +1 -0
- package/lib/typescript/commonjs/index.d.ts +20 -0
- package/lib/typescript/commonjs/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/markdownStyles.d.ts +150 -0
- package/lib/typescript/commonjs/markdownStyles.d.ts.map +1 -0
- package/lib/typescript/commonjs/mediaUtils.d.ts +9 -0
- package/lib/typescript/commonjs/mediaUtils.d.ts.map +1 -0
- package/lib/typescript/commonjs/messageActionStyles.d.ts +38 -0
- package/lib/typescript/commonjs/messageActionStyles.d.ts.map +1 -0
- package/lib/typescript/commonjs/messageUtils.d.ts +8 -0
- package/lib/typescript/commonjs/messageUtils.d.ts.map +1 -0
- package/lib/typescript/commonjs/nativeActionSheet.d.ts +6 -0
- package/lib/typescript/commonjs/nativeActionSheet.d.ts.map +1 -0
- package/lib/typescript/commonjs/nativeActionSheet.web.d.ts +3 -0
- package/lib/typescript/commonjs/nativeActionSheet.web.d.ts.map +1 -0
- package/lib/typescript/commonjs/package.json +1 -0
- package/lib/typescript/commonjs/paperTheme.d.ts +3 -0
- package/lib/typescript/commonjs/paperTheme.d.ts.map +1 -0
- package/lib/typescript/commonjs/realtimeClient.d.ts +16 -0
- package/lib/typescript/commonjs/realtimeClient.d.ts.map +1 -0
- package/lib/typescript/commonjs/renameAgentModalStyles.d.ts +76 -0
- package/lib/typescript/commonjs/renameAgentModalStyles.d.ts.map +1 -0
- package/lib/typescript/commonjs/screenParts.d.ts +31 -0
- package/lib/typescript/commonjs/screenParts.d.ts.map +1 -0
- package/lib/typescript/commonjs/styles.d.ts +336 -0
- package/lib/typescript/commonjs/styles.d.ts.map +1 -0
- package/lib/typescript/commonjs/superagentApiClient.d.ts +66 -0
- package/lib/typescript/commonjs/superagentApiClient.d.ts.map +1 -0
- package/lib/typescript/commonjs/types.d.ts +437 -0
- package/lib/typescript/commonjs/types.d.ts.map +1 -0
- package/lib/typescript/commonjs/useSuperagentAttachmentPicker.d.ts +30 -0
- package/lib/typescript/commonjs/useSuperagentAttachmentPicker.d.ts.map +1 -0
- package/lib/typescript/commonjs/useSuperagentConversation.d.ts +36 -0
- package/lib/typescript/commonjs/useSuperagentConversation.d.ts.map +1 -0
- package/lib/typescript/commonjs/useSuperagentRuntime.d.ts +163 -0
- package/lib/typescript/commonjs/useSuperagentRuntime.d.ts.map +1 -0
- package/lib/typescript/module/AgentSettingsPanel.d.ts +19 -0
- package/lib/typescript/module/AgentSettingsPanel.d.ts.map +1 -0
- package/lib/typescript/module/AgentSphereIcon.d.ts +15 -0
- package/lib/typescript/module/AgentSphereIcon.d.ts.map +1 -0
- package/lib/typescript/module/AttachmentPickerStatusModal.d.ts +8 -0
- package/lib/typescript/module/AttachmentPickerStatusModal.d.ts.map +1 -0
- package/lib/typescript/module/AttachmentPreviewStrip.d.ts +7 -0
- package/lib/typescript/module/AttachmentPreviewStrip.d.ts.map +1 -0
- package/lib/typescript/module/ChannelsPanel.d.ts +21 -0
- package/lib/typescript/module/ChannelsPanel.d.ts.map +1 -0
- package/lib/typescript/module/ConversationChat.d.ts +22 -0
- package/lib/typescript/module/ConversationChat.d.ts.map +1 -0
- package/lib/typescript/module/ConversationComposer.d.ts +24 -0
- package/lib/typescript/module/ConversationComposer.d.ts.map +1 -0
- package/lib/typescript/module/ConversationMessageList.d.ts +17 -0
- package/lib/typescript/module/ConversationMessageList.d.ts.map +1 -0
- package/lib/typescript/module/ConversationScreen.d.ts +80 -0
- package/lib/typescript/module/ConversationScreen.d.ts.map +1 -0
- package/lib/typescript/module/EditorDrawer.d.ts +67 -0
- package/lib/typescript/module/EditorDrawer.d.ts.map +1 -0
- package/lib/typescript/module/EditorTabPanel.d.ts +6 -0
- package/lib/typescript/module/EditorTabPanel.d.ts.map +1 -0
- package/lib/typescript/module/FilesPanel.d.ts +14 -0
- package/lib/typescript/module/FilesPanel.d.ts.map +1 -0
- package/lib/typescript/module/MarkdownText.d.ts +10 -0
- package/lib/typescript/module/MarkdownText.d.ts.map +1 -0
- package/lib/typescript/module/MessageActionBar.d.ts +8 -0
- package/lib/typescript/module/MessageActionBar.d.ts.map +1 -0
- package/lib/typescript/module/RenameAgentModal.d.ts +10 -0
- package/lib/typescript/module/RenameAgentModal.d.ts.map +1 -0
- package/lib/typescript/module/ShareAgentModal.d.ts +15 -0
- package/lib/typescript/module/ShareAgentModal.d.ts.map +1 -0
- package/lib/typescript/module/ShareAgentModal.styles.d.ts +229 -0
- package/lib/typescript/module/ShareAgentModal.styles.d.ts.map +1 -0
- package/lib/typescript/module/SuperagentHomeScreen.d.ts +4 -0
- package/lib/typescript/module/SuperagentHomeScreen.d.ts.map +1 -0
- package/lib/typescript/module/ToolApprovalCard.d.ts +13 -0
- package/lib/typescript/module/ToolApprovalCard.d.ts.map +1 -0
- package/lib/typescript/module/ToolCallSummary.d.ts +16 -0
- package/lib/typescript/module/ToolCallSummary.d.ts.map +1 -0
- package/lib/typescript/module/agentSphereStyles.d.ts +31 -0
- package/lib/typescript/module/agentSphereStyles.d.ts.map +1 -0
- package/lib/typescript/module/apiClient.d.ts +4 -0
- package/lib/typescript/module/apiClient.d.ts.map +1 -0
- package/lib/typescript/module/attachmentFileHelpers.d.ts +6 -0
- package/lib/typescript/module/attachmentFileHelpers.d.ts.map +1 -0
- package/lib/typescript/module/attachmentUpload.d.ts +12 -0
- package/lib/typescript/module/attachmentUpload.d.ts.map +1 -0
- package/lib/typescript/module/composerStyles.d.ts +241 -0
- package/lib/typescript/module/composerStyles.d.ts.map +1 -0
- package/lib/typescript/module/connectorBrandIcons.d.ts +7 -0
- package/lib/typescript/module/connectorBrandIcons.d.ts.map +1 -0
- package/lib/typescript/module/connectorCatalog.d.ts +3 -0
- package/lib/typescript/module/connectorCatalog.d.ts.map +1 -0
- package/lib/typescript/module/constants.d.ts +4 -0
- package/lib/typescript/module/constants.d.ts.map +1 -0
- package/lib/typescript/module/conversationParts.d.ts +29 -0
- package/lib/typescript/module/conversationParts.d.ts.map +1 -0
- package/lib/typescript/module/conversationRuntime.d.ts +67 -0
- package/lib/typescript/module/conversationRuntime.d.ts.map +1 -0
- package/lib/typescript/module/conversationStyles.d.ts +742 -0
- package/lib/typescript/module/conversationStyles.d.ts.map +1 -0
- package/lib/typescript/module/editorShellStyles.d.ts +1025 -0
- package/lib/typescript/module/editorShellStyles.d.ts.map +1 -0
- package/lib/typescript/module/editorTabs.d.ts +11 -0
- package/lib/typescript/module/editorTabs.d.ts.map +1 -0
- package/lib/typescript/module/fileTreeUtils.d.ts +17 -0
- package/lib/typescript/module/fileTreeUtils.d.ts.map +1 -0
- package/lib/typescript/module/index.d.ts +20 -0
- package/lib/typescript/module/index.d.ts.map +1 -0
- package/lib/typescript/module/markdownStyles.d.ts +150 -0
- package/lib/typescript/module/markdownStyles.d.ts.map +1 -0
- package/lib/typescript/module/mediaUtils.d.ts +9 -0
- package/lib/typescript/module/mediaUtils.d.ts.map +1 -0
- package/lib/typescript/module/messageActionStyles.d.ts +38 -0
- package/lib/typescript/module/messageActionStyles.d.ts.map +1 -0
- package/lib/typescript/module/messageUtils.d.ts +8 -0
- package/lib/typescript/module/messageUtils.d.ts.map +1 -0
- package/lib/typescript/module/nativeActionSheet.d.ts +6 -0
- package/lib/typescript/module/nativeActionSheet.d.ts.map +1 -0
- package/lib/typescript/module/nativeActionSheet.web.d.ts +3 -0
- package/lib/typescript/module/nativeActionSheet.web.d.ts.map +1 -0
- package/lib/typescript/module/package.json +1 -0
- package/lib/typescript/module/paperTheme.d.ts +3 -0
- package/lib/typescript/module/paperTheme.d.ts.map +1 -0
- package/lib/typescript/module/realtimeClient.d.ts +16 -0
- package/lib/typescript/module/realtimeClient.d.ts.map +1 -0
- package/lib/typescript/module/renameAgentModalStyles.d.ts +76 -0
- package/lib/typescript/module/renameAgentModalStyles.d.ts.map +1 -0
- package/lib/typescript/module/screenParts.d.ts +31 -0
- package/lib/typescript/module/screenParts.d.ts.map +1 -0
- package/lib/typescript/module/styles.d.ts +336 -0
- package/lib/typescript/module/styles.d.ts.map +1 -0
- package/lib/typescript/module/superagentApiClient.d.ts +66 -0
- package/lib/typescript/module/superagentApiClient.d.ts.map +1 -0
- package/lib/typescript/module/types.d.ts +437 -0
- package/lib/typescript/module/types.d.ts.map +1 -0
- package/lib/typescript/module/useSuperagentAttachmentPicker.d.ts +30 -0
- package/lib/typescript/module/useSuperagentAttachmentPicker.d.ts.map +1 -0
- package/lib/typescript/module/useSuperagentConversation.d.ts +36 -0
- package/lib/typescript/module/useSuperagentConversation.d.ts.map +1 -0
- package/lib/typescript/module/useSuperagentRuntime.d.ts +163 -0
- package/lib/typescript/module/useSuperagentRuntime.d.ts.map +1 -0
- package/package.json +87 -0
- package/src/AgentSettingsPanel.tsx +1122 -0
- package/src/AgentSphereIcon.tsx +170 -0
- package/src/AttachmentPickerStatusModal.tsx +80 -0
- package/src/AttachmentPreviewStrip.tsx +38 -0
- package/src/ChannelsPanel.tsx +705 -0
- package/src/ConversationChat.tsx +245 -0
- package/src/ConversationComposer.tsx +368 -0
- package/src/ConversationMessageList.tsx +140 -0
- package/src/ConversationScreen.tsx +320 -0
- package/src/EditorDrawer.tsx +1297 -0
- package/src/EditorTabPanel.tsx +19 -0
- package/src/FilesPanel.tsx +577 -0
- package/src/MarkdownText.tsx +317 -0
- package/src/MessageActionBar.tsx +126 -0
- package/src/RenameAgentModal.tsx +107 -0
- package/src/ShareAgentModal.styles.ts +95 -0
- package/src/ShareAgentModal.tsx +320 -0
- package/src/SuperagentHomeScreen.tsx +318 -0
- package/src/ToolApprovalCard.tsx +592 -0
- package/src/ToolCallSummary.tsx +599 -0
- package/src/agentSphereStyles.ts +25 -0
- package/src/apiClient.ts +189 -0
- package/src/attachmentFileHelpers.ts +109 -0
- package/src/attachmentUpload.ts +112 -0
- package/src/composerStyles.ts +167 -0
- package/src/connectorBrandIcons.tsx +69 -0
- package/src/connectorCatalog.ts +414 -0
- package/src/constants.ts +9 -0
- package/src/conversationParts.tsx +307 -0
- package/src/conversationRuntime.ts +171 -0
- package/src/conversationStyles.ts +412 -0
- package/src/editorShellStyles.ts +1023 -0
- package/src/editorTabs.ts +26 -0
- package/src/fileTreeUtils.ts +165 -0
- package/src/index.ts +110 -0
- package/src/markdownStyles.ts +64 -0
- package/src/mediaUtils.ts +75 -0
- package/src/messageActionStyles.ts +26 -0
- package/src/messageUtils.ts +58 -0
- package/src/nativeActionSheet.ts +25 -0
- package/src/nativeActionSheet.web.ts +5 -0
- package/src/paperTheme.ts +52 -0
- package/src/realtimeClient.ts +149 -0
- package/src/renameAgentModalStyles.ts +77 -0
- package/src/screenParts.tsx +185 -0
- package/src/styles.ts +190 -0
- package/src/superagentApiClient.ts +895 -0
- package/src/types.ts +514 -0
- package/src/useSuperagentAttachmentPicker.tsx +117 -0
- package/src/useSuperagentConversation.ts +242 -0
- package/src/useSuperagentRuntime.ts +1371 -0
|
@@ -0,0 +1,336 @@
|
|
|
1
|
+
export declare const styles: {
|
|
2
|
+
safeArea: {
|
|
3
|
+
flex: number;
|
|
4
|
+
backgroundColor: string;
|
|
5
|
+
};
|
|
6
|
+
container: {
|
|
7
|
+
paddingBottom: number;
|
|
8
|
+
paddingHorizontal: number;
|
|
9
|
+
paddingTop: number;
|
|
10
|
+
};
|
|
11
|
+
homeTopBar: {
|
|
12
|
+
alignItems: "center";
|
|
13
|
+
borderBottomColor: string;
|
|
14
|
+
borderBottomWidth: number;
|
|
15
|
+
flexDirection: "row";
|
|
16
|
+
minHeight: number;
|
|
17
|
+
paddingHorizontal: number;
|
|
18
|
+
paddingVertical: number;
|
|
19
|
+
};
|
|
20
|
+
topBarSide: {
|
|
21
|
+
alignItems: "center";
|
|
22
|
+
justifyContent: "center";
|
|
23
|
+
minWidth: number;
|
|
24
|
+
};
|
|
25
|
+
topBarRight: {
|
|
26
|
+
alignItems: "flex-end";
|
|
27
|
+
};
|
|
28
|
+
topBarTitleWrap: {
|
|
29
|
+
alignItems: "center";
|
|
30
|
+
flex: number;
|
|
31
|
+
justifyContent: "center";
|
|
32
|
+
minWidth: number;
|
|
33
|
+
};
|
|
34
|
+
topBarTitle: {
|
|
35
|
+
color: string;
|
|
36
|
+
fontSize: number;
|
|
37
|
+
fontWeight: "900";
|
|
38
|
+
letterSpacing: number;
|
|
39
|
+
lineHeight: number;
|
|
40
|
+
};
|
|
41
|
+
homeIntro: {
|
|
42
|
+
marginBottom: number;
|
|
43
|
+
paddingTop: number;
|
|
44
|
+
};
|
|
45
|
+
header: {
|
|
46
|
+
alignItems: "center";
|
|
47
|
+
flexDirection: "row";
|
|
48
|
+
justifyContent: "space-between";
|
|
49
|
+
minHeight: number;
|
|
50
|
+
paddingBottom: number;
|
|
51
|
+
paddingTop: number;
|
|
52
|
+
};
|
|
53
|
+
headerAccessory: {
|
|
54
|
+
flexShrink: number;
|
|
55
|
+
marginLeft: number;
|
|
56
|
+
};
|
|
57
|
+
eyebrow: {
|
|
58
|
+
color: string;
|
|
59
|
+
fontSize: number;
|
|
60
|
+
fontWeight: "800";
|
|
61
|
+
marginTop: number;
|
|
62
|
+
};
|
|
63
|
+
title: {
|
|
64
|
+
color: string;
|
|
65
|
+
fontSize: number;
|
|
66
|
+
fontWeight: "900";
|
|
67
|
+
letterSpacing: number;
|
|
68
|
+
lineHeight: number;
|
|
69
|
+
};
|
|
70
|
+
subtitle: {
|
|
71
|
+
color: string;
|
|
72
|
+
fontSize: number;
|
|
73
|
+
fontWeight: "600";
|
|
74
|
+
lineHeight: number;
|
|
75
|
+
marginTop: number;
|
|
76
|
+
};
|
|
77
|
+
headerAvatar: {
|
|
78
|
+
alignItems: "center";
|
|
79
|
+
backgroundColor: string;
|
|
80
|
+
borderColor: string;
|
|
81
|
+
borderRadius: number;
|
|
82
|
+
borderWidth: number;
|
|
83
|
+
height: number;
|
|
84
|
+
justifyContent: "center";
|
|
85
|
+
width: number;
|
|
86
|
+
};
|
|
87
|
+
loadingPanel: {
|
|
88
|
+
alignItems: "center";
|
|
89
|
+
backgroundColor: string;
|
|
90
|
+
borderColor: string;
|
|
91
|
+
borderRadius: number;
|
|
92
|
+
borderWidth: number;
|
|
93
|
+
padding: number;
|
|
94
|
+
};
|
|
95
|
+
heroPanel: {
|
|
96
|
+
backgroundColor: string;
|
|
97
|
+
borderColor: string;
|
|
98
|
+
borderRadius: number;
|
|
99
|
+
borderWidth: number;
|
|
100
|
+
overflow: "hidden";
|
|
101
|
+
padding: number;
|
|
102
|
+
};
|
|
103
|
+
heroTopRow: {
|
|
104
|
+
alignItems: "center";
|
|
105
|
+
flexDirection: "row";
|
|
106
|
+
justifyContent: "space-between";
|
|
107
|
+
marginBottom: number;
|
|
108
|
+
};
|
|
109
|
+
heroLabel: {
|
|
110
|
+
color: string;
|
|
111
|
+
fontSize: number;
|
|
112
|
+
fontWeight: "900";
|
|
113
|
+
textTransform: "uppercase";
|
|
114
|
+
};
|
|
115
|
+
agentCard: {
|
|
116
|
+
alignItems: "flex-start";
|
|
117
|
+
flexDirection: "row";
|
|
118
|
+
minHeight: number;
|
|
119
|
+
};
|
|
120
|
+
avatar: {
|
|
121
|
+
alignItems: "center";
|
|
122
|
+
backgroundColor: string;
|
|
123
|
+
borderColor: string;
|
|
124
|
+
borderRadius: number;
|
|
125
|
+
borderWidth: number;
|
|
126
|
+
height: number;
|
|
127
|
+
justifyContent: "center";
|
|
128
|
+
width: number;
|
|
129
|
+
};
|
|
130
|
+
avatarText: {
|
|
131
|
+
color: string;
|
|
132
|
+
fontSize: number;
|
|
133
|
+
fontWeight: "900";
|
|
134
|
+
};
|
|
135
|
+
agentCardBody: {
|
|
136
|
+
flex: number;
|
|
137
|
+
marginLeft: number;
|
|
138
|
+
minWidth: number;
|
|
139
|
+
};
|
|
140
|
+
agentName: {
|
|
141
|
+
color: string;
|
|
142
|
+
fontSize: number;
|
|
143
|
+
fontWeight: "900";
|
|
144
|
+
lineHeight: number;
|
|
145
|
+
};
|
|
146
|
+
agentDescription: {
|
|
147
|
+
color: string;
|
|
148
|
+
fontSize: number;
|
|
149
|
+
fontWeight: "600";
|
|
150
|
+
lineHeight: number;
|
|
151
|
+
marginTop: number;
|
|
152
|
+
};
|
|
153
|
+
chevron: {
|
|
154
|
+
color: string;
|
|
155
|
+
fontSize: number;
|
|
156
|
+
fontWeight: "900";
|
|
157
|
+
};
|
|
158
|
+
agentMetaRow: {
|
|
159
|
+
flexDirection: "row";
|
|
160
|
+
flexWrap: "wrap";
|
|
161
|
+
marginLeft: number;
|
|
162
|
+
marginTop: number;
|
|
163
|
+
};
|
|
164
|
+
agentMetaPill: {
|
|
165
|
+
backgroundColor: string;
|
|
166
|
+
borderColor: string;
|
|
167
|
+
borderRadius: number;
|
|
168
|
+
borderWidth: number;
|
|
169
|
+
marginRight: number;
|
|
170
|
+
marginTop: number;
|
|
171
|
+
paddingHorizontal: number;
|
|
172
|
+
paddingVertical: number;
|
|
173
|
+
};
|
|
174
|
+
agentMetaText: {
|
|
175
|
+
color: string;
|
|
176
|
+
fontSize: number;
|
|
177
|
+
fontWeight: "800";
|
|
178
|
+
};
|
|
179
|
+
emptyPanel: {
|
|
180
|
+
backgroundColor: string;
|
|
181
|
+
borderColor: string;
|
|
182
|
+
borderRadius: number;
|
|
183
|
+
borderWidth: number;
|
|
184
|
+
padding: number;
|
|
185
|
+
};
|
|
186
|
+
emptyTitle: {
|
|
187
|
+
color: string;
|
|
188
|
+
fontSize: number;
|
|
189
|
+
fontWeight: "900";
|
|
190
|
+
lineHeight: number;
|
|
191
|
+
marginTop: number;
|
|
192
|
+
};
|
|
193
|
+
emptyBody: {
|
|
194
|
+
color: string;
|
|
195
|
+
fontSize: number;
|
|
196
|
+
fontWeight: "600";
|
|
197
|
+
lineHeight: number;
|
|
198
|
+
marginTop: number;
|
|
199
|
+
};
|
|
200
|
+
emptyChipRow: {
|
|
201
|
+
flexDirection: "row";
|
|
202
|
+
flexWrap: "wrap";
|
|
203
|
+
marginTop: number;
|
|
204
|
+
};
|
|
205
|
+
emptyChip: {
|
|
206
|
+
backgroundColor: string;
|
|
207
|
+
borderColor: string;
|
|
208
|
+
borderRadius: number;
|
|
209
|
+
borderWidth: number;
|
|
210
|
+
marginRight: number;
|
|
211
|
+
marginTop: number;
|
|
212
|
+
paddingHorizontal: number;
|
|
213
|
+
paddingVertical: number;
|
|
214
|
+
};
|
|
215
|
+
emptyChipText: {
|
|
216
|
+
color: string;
|
|
217
|
+
fontSize: number;
|
|
218
|
+
fontWeight: "800";
|
|
219
|
+
};
|
|
220
|
+
primaryButton: {
|
|
221
|
+
alignItems: "center";
|
|
222
|
+
backgroundColor: string;
|
|
223
|
+
borderRadius: number;
|
|
224
|
+
justifyContent: "center";
|
|
225
|
+
marginTop: number;
|
|
226
|
+
minHeight: number;
|
|
227
|
+
paddingHorizontal: number;
|
|
228
|
+
};
|
|
229
|
+
primaryButtonText: {
|
|
230
|
+
color: string;
|
|
231
|
+
fontSize: number;
|
|
232
|
+
fontWeight: "900";
|
|
233
|
+
};
|
|
234
|
+
secondaryButton: {
|
|
235
|
+
alignItems: "center";
|
|
236
|
+
backgroundColor: string;
|
|
237
|
+
borderColor: string;
|
|
238
|
+
borderRadius: number;
|
|
239
|
+
borderWidth: number;
|
|
240
|
+
flexDirection: "row";
|
|
241
|
+
justifyContent: "center";
|
|
242
|
+
marginTop: number;
|
|
243
|
+
minHeight: number;
|
|
244
|
+
paddingHorizontal: number;
|
|
245
|
+
};
|
|
246
|
+
secondaryButtonText: {
|
|
247
|
+
color: string;
|
|
248
|
+
fontSize: number;
|
|
249
|
+
fontWeight: "900";
|
|
250
|
+
marginLeft: number;
|
|
251
|
+
};
|
|
252
|
+
recentSection: {
|
|
253
|
+
marginTop: number;
|
|
254
|
+
};
|
|
255
|
+
sectionHeader: {
|
|
256
|
+
alignItems: "center";
|
|
257
|
+
flexDirection: "row";
|
|
258
|
+
justifyContent: "space-between";
|
|
259
|
+
marginBottom: number;
|
|
260
|
+
};
|
|
261
|
+
sectionTitle: {
|
|
262
|
+
color: string;
|
|
263
|
+
fontSize: number;
|
|
264
|
+
fontWeight: "900";
|
|
265
|
+
};
|
|
266
|
+
sectionCount: {
|
|
267
|
+
color: string;
|
|
268
|
+
fontSize: number;
|
|
269
|
+
fontWeight: "900";
|
|
270
|
+
};
|
|
271
|
+
agentRow: {
|
|
272
|
+
alignItems: "center";
|
|
273
|
+
backgroundColor: string;
|
|
274
|
+
borderColor: string;
|
|
275
|
+
borderRadius: number;
|
|
276
|
+
borderWidth: number;
|
|
277
|
+
flexDirection: "row";
|
|
278
|
+
justifyContent: "space-between";
|
|
279
|
+
marginBottom: number;
|
|
280
|
+
minHeight: number;
|
|
281
|
+
paddingHorizontal: number;
|
|
282
|
+
paddingVertical: number;
|
|
283
|
+
};
|
|
284
|
+
agentRowBody: {
|
|
285
|
+
flex: number;
|
|
286
|
+
marginLeft: number;
|
|
287
|
+
minWidth: number;
|
|
288
|
+
};
|
|
289
|
+
agentRowName: {
|
|
290
|
+
color: string;
|
|
291
|
+
fontSize: number;
|
|
292
|
+
fontWeight: "900";
|
|
293
|
+
};
|
|
294
|
+
agentRowDescription: {
|
|
295
|
+
color: string;
|
|
296
|
+
fontSize: number;
|
|
297
|
+
fontWeight: "600";
|
|
298
|
+
lineHeight: number;
|
|
299
|
+
marginTop: number;
|
|
300
|
+
};
|
|
301
|
+
compactAvatar: {
|
|
302
|
+
alignItems: "center";
|
|
303
|
+
backgroundColor: string;
|
|
304
|
+
borderColor: string;
|
|
305
|
+
borderRadius: number;
|
|
306
|
+
borderWidth: number;
|
|
307
|
+
height: number;
|
|
308
|
+
justifyContent: "center";
|
|
309
|
+
width: number;
|
|
310
|
+
};
|
|
311
|
+
placeholder: {
|
|
312
|
+
flex: number;
|
|
313
|
+
padding: number;
|
|
314
|
+
};
|
|
315
|
+
backButton: {
|
|
316
|
+
alignSelf: "flex-start";
|
|
317
|
+
marginBottom: number;
|
|
318
|
+
paddingVertical: number;
|
|
319
|
+
};
|
|
320
|
+
backButtonText: {
|
|
321
|
+
color: string;
|
|
322
|
+
fontSize: number;
|
|
323
|
+
fontWeight: "700";
|
|
324
|
+
};
|
|
325
|
+
helperText: {
|
|
326
|
+
color: string;
|
|
327
|
+
fontSize: number;
|
|
328
|
+
fontWeight: "700";
|
|
329
|
+
lineHeight: number;
|
|
330
|
+
marginTop: number;
|
|
331
|
+
};
|
|
332
|
+
pressed: {
|
|
333
|
+
opacity: number;
|
|
334
|
+
};
|
|
335
|
+
};
|
|
336
|
+
//# sourceMappingURL=styles.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../src/styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA2LjB,CAAC"}
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import type { SuperagentAgent, SuperagentAutomation, SuperagentAutomationCreditsSummary, SuperagentChannelStatus, SuperagentCollaborator, SuperagentConnector, SuperagentConnectorActionInput, SuperagentIMessageActivation, SuperagentIMessageChannelStatus, SuperagentInviteCollaboratorsResult, SuperagentLineActivation, SuperagentModelChoice, SuperagentSandboxFileContent, SuperagentSecret, SuperagentTelegramChannelStatus, SuperagentToolPermissionConfig } from './types';
|
|
2
|
+
export type SuperagentApiClientConfig = {
|
|
3
|
+
baseUrl: string;
|
|
4
|
+
currentUserId?: string | null;
|
|
5
|
+
getAccessToken: () => Promise<string | null | undefined> | string | null | undefined;
|
|
6
|
+
getHeaders?: () => Promise<Record<string, string> | undefined> | Record<string, string> | undefined;
|
|
7
|
+
};
|
|
8
|
+
export type SuperagentVoiceLiveSession = {
|
|
9
|
+
sessionId: string;
|
|
10
|
+
streamToken: string;
|
|
11
|
+
websocketUrl: string;
|
|
12
|
+
};
|
|
13
|
+
export type SuperagentConnectorsResult = {
|
|
14
|
+
availableConnectors: SuperagentConnector[];
|
|
15
|
+
connectedConnectors: SuperagentConnector[];
|
|
16
|
+
};
|
|
17
|
+
export type InitiateConnectorConnectionResult = {
|
|
18
|
+
already_authorized?: boolean;
|
|
19
|
+
connection_id?: string | null;
|
|
20
|
+
error?: string | null;
|
|
21
|
+
error_message?: string | null;
|
|
22
|
+
other_user_email?: string | null;
|
|
23
|
+
redirect_url?: string | null;
|
|
24
|
+
};
|
|
25
|
+
export type ConnectorConnectionStatus = 'ACTIVE' | 'FAILED' | 'PENDING';
|
|
26
|
+
export declare function createSuperagentApiClient(config: SuperagentApiClientConfig): {
|
|
27
|
+
listAgents(): Promise<SuperagentAgent[]>;
|
|
28
|
+
createAgent(): Promise<SuperagentAgent>;
|
|
29
|
+
renameAgent(agentId: string, name: string): Promise<SuperagentAgent>;
|
|
30
|
+
updateAgentModel(agentId: string, model: SuperagentModelChoice | string): Promise<SuperagentAgent>;
|
|
31
|
+
updateToolPermissions(agentId: string, config: SuperagentToolPermissionConfig): Promise<SuperagentAgent>;
|
|
32
|
+
deleteAgent(agentId: string): Promise<void>;
|
|
33
|
+
listCollaborators(agentId: string): Promise<SuperagentCollaborator[]>;
|
|
34
|
+
inviteCollaborators(agentId: string, emails: string[], addAsGuest?: boolean): Promise<SuperagentInviteCollaboratorsResult>;
|
|
35
|
+
listSecrets(agentId: string): Promise<SuperagentSecret[]>;
|
|
36
|
+
saveSecret(agentId: string, name: string, value: string): Promise<void>;
|
|
37
|
+
deleteSecret(agentId: string, name: string): Promise<void>;
|
|
38
|
+
listConnectors(agentId: string): Promise<SuperagentConnectorsResult>;
|
|
39
|
+
listAutomations(agentId: string): Promise<SuperagentAutomation[]>;
|
|
40
|
+
listAutomationCredits(agentId: string): Promise<Record<string, SuperagentAutomationCreditsSummary>>;
|
|
41
|
+
listSandboxFiles(agentId: string): Promise<string[]>;
|
|
42
|
+
readSandboxFile(agentId: string, path: string): Promise<SuperagentSandboxFileContent>;
|
|
43
|
+
writeSandboxFile(agentId: string, path: string, content: string): Promise<void>;
|
|
44
|
+
initiateConnectorConnection(agentId: string, connectorId: string, options?: Pick<SuperagentConnectorActionInput, "accessMode" | "forceReconnect" | "scopes">): Promise<InitiateConnectorConnectionResult>;
|
|
45
|
+
getConnectorConnectionStatus(agentId: string, connectorId: string, connectionId: string): Promise<ConnectorConnectionStatus>;
|
|
46
|
+
getRuntimeAuthToken(agentId: string): Promise<string>;
|
|
47
|
+
getWhatsAppConnectUrl(agentId: string, runtimeAuthToken: string): string;
|
|
48
|
+
getChannelStatus(agentId: string, runtimeAuthToken: string): Promise<SuperagentChannelStatus>;
|
|
49
|
+
getTelegramStatus(agentId: string, runtimeAuthToken: string): Promise<SuperagentTelegramChannelStatus>;
|
|
50
|
+
getIMessageStatus(agentId: string, runtimeAuthToken: string): Promise<SuperagentIMessageChannelStatus>;
|
|
51
|
+
generateIMessageCode(agentId: string, runtimeAuthToken: string): Promise<SuperagentIMessageActivation>;
|
|
52
|
+
disconnectIMessage(agentId: string, runtimeAuthToken: string): Promise<SuperagentIMessageChannelStatus>;
|
|
53
|
+
setupTelegram(agentId: string, runtimeAuthToken: string, token: string): Promise<SuperagentTelegramChannelStatus>;
|
|
54
|
+
disconnectTelegram(agentId: string, runtimeAuthToken: string): Promise<void>;
|
|
55
|
+
generateLineCode(agentId: string, runtimeAuthToken: string): Promise<SuperagentLineActivation>;
|
|
56
|
+
disconnectConnector(agentId: string, connectorId: string): Promise<void>;
|
|
57
|
+
removeConnector(agentId: string, connectorId: string): Promise<void>;
|
|
58
|
+
toggleAutomation(agentId: string, automation: SuperagentAutomation): Promise<SuperagentAutomation>;
|
|
59
|
+
archiveAutomation(agentId: string, automation: SuperagentAutomation): Promise<SuperagentAutomation>;
|
|
60
|
+
restoreAutomation(agentId: string, automation: SuperagentAutomation): Promise<SuperagentAutomation>;
|
|
61
|
+
deleteAutomation(agentId: string, automation: SuperagentAutomation): Promise<void>;
|
|
62
|
+
runAutomationNow(agentId: string, automation: SuperagentAutomation): Promise<void>;
|
|
63
|
+
createVoiceLiveSession(agentId: string, conversationId: string | null): Promise<SuperagentVoiceLiveSession>;
|
|
64
|
+
deleteVoiceLiveSession(agentId: string, sessionId: string): Promise<void>;
|
|
65
|
+
};
|
|
66
|
+
//# sourceMappingURL=superagentApiClient.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"superagentApiClient.d.ts","sourceRoot":"","sources":["../../../src/superagentApiClient.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,eAAe,EACf,oBAAoB,EACpB,kCAAkC,EAClC,uBAAuB,EACvB,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