@superatomai/sdk-web 0.0.5 → 0.0.7

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/dist/index.d.cts CHANGED
@@ -740,6 +740,84 @@ declare const UILogsMessageSchema: z.ZodObject<{
740
740
  }, z.core.$strip>;
741
741
  }, z.core.$strip>;
742
742
  type UILogsMessage = z.infer<typeof UILogsMessageSchema>;
743
+ /**
744
+ * Actions request payload schema
745
+ * Synced with sdk-nodejs: ActionsRequestPayloadSchema
746
+ */
747
+ declare const ActionsRequestPayloadSchema: z.ZodObject<{
748
+ SA_RUNTIME: z.ZodOptional<z.ZodObject<{
749
+ threadId: z.ZodString;
750
+ uiBlockId: z.ZodString;
751
+ }, z.core.$strip>>;
752
+ }, z.core.$strip>;
753
+ type ActionsRequestPayload = z.infer<typeof ActionsRequestPayloadSchema>;
754
+ declare const ActionsRequestMessageSchema: z.ZodObject<{
755
+ id: z.ZodString;
756
+ from: z.ZodObject<{
757
+ id: z.ZodOptional<z.ZodString>;
758
+ type: z.ZodOptional<z.ZodString>;
759
+ }, z.core.$strip>;
760
+ type: z.ZodLiteral<"ACTIONS">;
761
+ payload: z.ZodObject<{
762
+ SA_RUNTIME: z.ZodOptional<z.ZodObject<{
763
+ threadId: z.ZodString;
764
+ uiBlockId: z.ZodString;
765
+ }, z.core.$strip>>;
766
+ }, z.core.$strip>;
767
+ }, z.core.$strip>;
768
+ type ActionsRequestMessage = z.infer<typeof ActionsRequestMessageSchema>;
769
+ declare const ActionsResponsePayloadSchema: z.ZodObject<{
770
+ success: z.ZodBoolean;
771
+ data: z.ZodOptional<z.ZodAny>;
772
+ error: z.ZodOptional<z.ZodString>;
773
+ }, z.core.$strip>;
774
+ type ActionsResponsePayload = z.infer<typeof ActionsResponsePayloadSchema>;
775
+ declare const ActionsResponseMessageSchema: z.ZodObject<{
776
+ id: z.ZodString;
777
+ type: z.ZodLiteral<"ACTIONS_RES">;
778
+ from: z.ZodObject<{
779
+ id: z.ZodOptional<z.ZodString>;
780
+ type: z.ZodOptional<z.ZodString>;
781
+ }, z.core.$strip>;
782
+ to: z.ZodOptional<z.ZodObject<{
783
+ id: z.ZodOptional<z.ZodString>;
784
+ type: z.ZodOptional<z.ZodString>;
785
+ }, z.core.$strip>>;
786
+ payload: z.ZodObject<{
787
+ success: z.ZodBoolean;
788
+ data: z.ZodOptional<z.ZodAny>;
789
+ error: z.ZodOptional<z.ZodString>;
790
+ }, z.core.$strip>;
791
+ }, z.core.$strip>;
792
+ type ActionsResponseMessage = z.infer<typeof ActionsResponseMessageSchema>;
793
+ /**
794
+ * Components request payload schema
795
+ * Synced with sdk-nodejs: ComponentsRequestPayloadSchema
796
+ */
797
+ declare const ComponentsSendPayloadSchema: z.ZodObject<{
798
+ components: z.ZodArray<z.ZodAny>;
799
+ }, z.core.$strip>;
800
+ type ComponentsSendPayload = z.infer<typeof ComponentsSendPayloadSchema>;
801
+ /**
802
+ * Components request message schema
803
+ * Synced with sdk-nodejs: ComponentsRequestMessageSchema
804
+ */
805
+ declare const ComponentsSendMessageSchema: z.ZodObject<{
806
+ id: z.ZodString;
807
+ type: z.ZodLiteral<"COMPONENT_LIST_RES">;
808
+ from: z.ZodObject<{
809
+ id: z.ZodOptional<z.ZodString>;
810
+ type: z.ZodOptional<z.ZodString>;
811
+ }, z.core.$strip>;
812
+ to: z.ZodOptional<z.ZodObject<{
813
+ id: z.ZodOptional<z.ZodString>;
814
+ type: z.ZodOptional<z.ZodString>;
815
+ }, z.core.$strip>>;
816
+ payload: z.ZodObject<{
817
+ components: z.ZodArray<z.ZodAny>;
818
+ }, z.core.$strip>;
819
+ }, z.core.$strip>;
820
+ type ComponentsSendMessage = z.infer<typeof ComponentsSendMessageSchema>;
743
821
  /**
744
822
  * Client configuration schema
745
823
  */
@@ -841,6 +919,7 @@ declare function requestData(client: SuperatomClient, options: {
841
919
  collection: string;
842
920
  operation: string;
843
921
  params?: Record<string, unknown>;
922
+ SA_RUNTIME?: Record<string, unknown>;
844
923
  timeout?: number;
845
924
  }): Promise<{
846
925
  data?: unknown;
@@ -870,6 +949,7 @@ declare function getComponentSuggestions(client: SuperatomClient, query: string,
870
949
  };
871
950
  error?: string;
872
951
  }>;
952
+ declare function sendComponents(client: SuperatomClient, components: any[]): Promise<void>;
873
953
 
874
954
  /**
875
955
  * Users Service
@@ -1117,6 +1197,15 @@ declare function getReport(client: SuperatomClient, reportId: string, timeout?:
1117
1197
  message?: string;
1118
1198
  }>;
1119
1199
 
1200
+ declare function getActions(client: SuperatomClient, options: {
1201
+ SA_RUNTIME?: Record<string, unknown>;
1202
+ timeout?: number;
1203
+ }): Promise<{
1204
+ success: boolean;
1205
+ data?: unknown;
1206
+ error?: string;
1207
+ }>;
1208
+
1120
1209
  /**
1121
1210
  * Services Index
1122
1211
  * Re-exports all service functions for easy importing
@@ -1143,6 +1232,7 @@ declare const index_createUser: typeof createUser;
1143
1232
  declare const index_deleteDashboard: typeof deleteDashboard;
1144
1233
  declare const index_deleteReport: typeof deleteReport;
1145
1234
  declare const index_deleteUser: typeof deleteUser;
1235
+ declare const index_getActions: typeof getActions;
1146
1236
  declare const index_getAllDashboards: typeof getAllDashboards;
1147
1237
  declare const index_getAllReports: typeof getAllReports;
1148
1238
  declare const index_getAllUsers: typeof getAllUsers;
@@ -1154,13 +1244,14 @@ declare const index_requestBundle: typeof requestBundle;
1154
1244
  declare const index_requestData: typeof requestData;
1155
1245
  declare const index_sendAuthLoginRequest: typeof sendAuthLoginRequest;
1156
1246
  declare const index_sendAuthVerifyRequest: typeof sendAuthVerifyRequest;
1247
+ declare const index_sendComponents: typeof sendComponents;
1157
1248
  declare const index_sendUserPromptRequest: typeof sendUserPromptRequest;
1158
1249
  declare const index_sendUserPromptSuggestionsRequest: typeof sendUserPromptSuggestionsRequest;
1159
1250
  declare const index_updateDashboard: typeof updateDashboard;
1160
1251
  declare const index_updateReport: typeof updateReport;
1161
1252
  declare const index_updateUser: typeof updateUser;
1162
1253
  declare namespace index {
1163
- export { type index_Binding as Binding, index_BindingSchema as BindingSchema, type DSLRendererProps$1 as DSLRendererProps, DSLRendererPropsSchema$1 as DSLRendererPropsSchema, type index_Dashboard as Dashboard, type index_Expression as Expression, index_ExpressionSchema as ExpressionSchema, type index_ForDirective as ForDirective, index_ForDirectiveSchema as ForDirectiveSchema, type index_QuerySpec as QuerySpec, index_QuerySpecSchema as QuerySpecSchema, type index_Report as Report, type DSLRendererProps as ReportDSLRendererProps, type index_UIComponent as UIComponent, index_UIComponentSchema as UIComponentSchema, type index_UIElement as UIElement, index_UIElementSchema as UIElementSchema, type index_User as User, index_createDashboard as createDashboard, index_createReport as createReport, index_createUser as createUser, index_deleteDashboard as deleteDashboard, index_deleteReport as deleteReport, index_deleteUser as deleteUser, index_getAllDashboards as getAllDashboards, index_getAllReports as getAllReports, index_getAllUsers as getAllUsers, index_getComponentSuggestions as getComponentSuggestions, index_getDashboard as getDashboard, index_getReport as getReport, index_getUser as getUser, index_requestBundle as requestBundle, index_requestData as requestData, index_sendAuthLoginRequest as sendAuthLoginRequest, index_sendAuthVerifyRequest as sendAuthVerifyRequest, index_sendUserPromptRequest as sendUserPromptRequest, index_sendUserPromptSuggestionsRequest as sendUserPromptSuggestionsRequest, index_updateDashboard as updateDashboard, index_updateReport as updateReport, index_updateUser as updateUser };
1254
+ export { type index_Binding as Binding, index_BindingSchema as BindingSchema, type DSLRendererProps$1 as DSLRendererProps, DSLRendererPropsSchema$1 as DSLRendererPropsSchema, type index_Dashboard as Dashboard, type index_Expression as Expression, index_ExpressionSchema as ExpressionSchema, type index_ForDirective as ForDirective, index_ForDirectiveSchema as ForDirectiveSchema, type index_QuerySpec as QuerySpec, index_QuerySpecSchema as QuerySpecSchema, type index_Report as Report, type DSLRendererProps as ReportDSLRendererProps, type index_UIComponent as UIComponent, index_UIComponentSchema as UIComponentSchema, type index_UIElement as UIElement, index_UIElementSchema as UIElementSchema, type index_User as User, index_createDashboard as createDashboard, index_createReport as createReport, index_createUser as createUser, index_deleteDashboard as deleteDashboard, index_deleteReport as deleteReport, index_deleteUser as deleteUser, index_getActions as getActions, index_getAllDashboards as getAllDashboards, index_getAllReports as getAllReports, index_getAllUsers as getAllUsers, index_getComponentSuggestions as getComponentSuggestions, index_getDashboard as getDashboard, index_getReport as getReport, index_getUser as getUser, index_requestBundle as requestBundle, index_requestData as requestData, index_sendAuthLoginRequest as sendAuthLoginRequest, index_sendAuthVerifyRequest as sendAuthVerifyRequest, index_sendComponents as sendComponents, index_sendUserPromptRequest as sendUserPromptRequest, index_sendUserPromptSuggestionsRequest as sendUserPromptSuggestionsRequest, index_updateDashboard as updateDashboard, index_updateReport as updateReport, index_updateUser as updateUser };
1164
1255
  }
1165
1256
 
1166
1257
  type MessageHandler = (message: Message) => void;
@@ -1264,6 +1355,10 @@ declare class SuperatomClient {
1264
1355
  * Get current reconnection attempts
1265
1356
  */
1266
1357
  getReconnectAttempts(): number;
1358
+ /**
1359
+ * Get client type
1360
+ */
1361
+ get type(): string;
1267
1362
  /**
1268
1363
  * Send a message and wait for response with timeout (alias for sendWithResponse)
1269
1364
  */
@@ -1311,6 +1406,7 @@ declare class SuperatomClient {
1311
1406
  collection: string;
1312
1407
  operation: string;
1313
1408
  params?: Record<string, unknown>;
1409
+ SA_RUNTIME?: Record<string, unknown>;
1314
1410
  timeout?: number;
1315
1411
  }): Promise<{
1316
1412
  data?: unknown;
@@ -1329,6 +1425,19 @@ declare class SuperatomClient {
1329
1425
  };
1330
1426
  error?: string;
1331
1427
  }>;
1428
+ /**
1429
+ * Get AI-powered component suggestions based on a query
1430
+ * Delegates to component service
1431
+ */
1432
+ getActions(options: {
1433
+ SA_RUNTIME?: Record<string, unknown>;
1434
+ timeout?: number;
1435
+ }): Promise<{
1436
+ success: boolean;
1437
+ data?: unknown;
1438
+ error?: string;
1439
+ }>;
1440
+ sendComponents(components: any[]): Promise<void>;
1332
1441
  /**
1333
1442
  * Create a new user
1334
1443
  * Delegates to users service
@@ -1547,4 +1656,4 @@ declare function hasComponents(): boolean;
1547
1656
  */
1548
1657
  declare const SDK_VERSION = "0.1.0";
1549
1658
 
1550
- export { type AuthLoginPayload, AuthLoginPayloadSchema, type AuthLoginRequestMessage, AuthLoginRequestMessageSchema, type AuthLoginResponseMessage, AuthLoginResponseMessageSchema, type AuthLoginResponsePayload, AuthLoginResponsePayloadSchema, type AuthVerifyPayload, AuthVerifyPayloadSchema, type AuthVerifyRequestMessage, AuthVerifyRequestMessageSchema, type AuthVerifyResponseMessage, AuthVerifyResponseMessageSchema, type AuthVerifyResponsePayload, AuthVerifyResponsePayloadSchema, type BundleChunkMessage, BundleChunkMessageSchema, type BundleChunkPayload, BundleChunkPayloadSchema, type BundleErrorMessage, BundleErrorMessageSchema, type BundleErrorPayload, BundleErrorPayloadSchema, type BundleRequestMessage, BundleRequestMessageSchema, type BundleRequestPayload, BundleRequestPayloadSchema, type ClientConfig, ClientConfigSchema, type Component, ComponentSchema, type ComponentsRegistry, type DataRequestMessage, DataRequestMessageSchema, type DataRequestPayload, DataRequestPayloadSchema, type DataResponseMessage, DataResponseMessageSchema, type DataResponsePayload, DataResponsePayloadSchema, type Message, type MessageParticipant, MessageParticipantSchema, MessageSchema, type MountFunction, type ResolvedClientConfig, SDK_VERSION, type SuperAtomGlobal, SuperatomClient, type UILogEntry, UILogEntrySchema, type UILogsMessage, UILogsMessageSchema, type UILogsPayload, UILogsPayloadSchema, type UserPromptRequestMessage, UserPromptRequestMessageSchema, type UserPromptRequestPayload, UserPromptRequestPayloadSchema, type UserPromptResponseMessage, UserPromptResponseMessageSchema, type UserPromptResponsePayload, UserPromptResponsePayloadSchema, type UserPromptSuggestionsRequestMessage, UserPromptSuggestionsRequestMessageSchema, type UserPromptSuggestionsRequestPayload, UserPromptSuggestionsRequestPayloadSchema, type UserPromptSuggestionsResponseMessage, UserPromptSuggestionsResponseMessageSchema, type UserPromptSuggestionsResponsePayload, UserPromptSuggestionsResponsePayloadSchema, getComponent, getComponents, hasComponents, index as services, setup };
1659
+ export { type ActionsRequestMessage, ActionsRequestMessageSchema, type ActionsRequestPayload, ActionsRequestPayloadSchema, type ActionsResponseMessage, ActionsResponseMessageSchema, type ActionsResponsePayload, ActionsResponsePayloadSchema, type AuthLoginPayload, AuthLoginPayloadSchema, type AuthLoginRequestMessage, AuthLoginRequestMessageSchema, type AuthLoginResponseMessage, AuthLoginResponseMessageSchema, type AuthLoginResponsePayload, AuthLoginResponsePayloadSchema, type AuthVerifyPayload, AuthVerifyPayloadSchema, type AuthVerifyRequestMessage, AuthVerifyRequestMessageSchema, type AuthVerifyResponseMessage, AuthVerifyResponseMessageSchema, type AuthVerifyResponsePayload, AuthVerifyResponsePayloadSchema, type BundleChunkMessage, BundleChunkMessageSchema, type BundleChunkPayload, BundleChunkPayloadSchema, type BundleErrorMessage, BundleErrorMessageSchema, type BundleErrorPayload, BundleErrorPayloadSchema, type BundleRequestMessage, BundleRequestMessageSchema, type BundleRequestPayload, BundleRequestPayloadSchema, type ClientConfig, ClientConfigSchema, type Component, ComponentSchema, type ComponentsRegistry, type ComponentsSendMessage, ComponentsSendMessageSchema, type ComponentsSendPayload, ComponentsSendPayloadSchema, type DataRequestMessage, DataRequestMessageSchema, type DataRequestPayload, DataRequestPayloadSchema, type DataResponseMessage, DataResponseMessageSchema, type DataResponsePayload, DataResponsePayloadSchema, type Message, type MessageParticipant, MessageParticipantSchema, MessageSchema, type MountFunction, type ResolvedClientConfig, SDK_VERSION, type SuperAtomGlobal, SuperatomClient, type UILogEntry, UILogEntrySchema, type UILogsMessage, UILogsMessageSchema, type UILogsPayload, UILogsPayloadSchema, type UserPromptRequestMessage, UserPromptRequestMessageSchema, type UserPromptRequestPayload, UserPromptRequestPayloadSchema, type UserPromptResponseMessage, UserPromptResponseMessageSchema, type UserPromptResponsePayload, UserPromptResponsePayloadSchema, type UserPromptSuggestionsRequestMessage, UserPromptSuggestionsRequestMessageSchema, type UserPromptSuggestionsRequestPayload, UserPromptSuggestionsRequestPayloadSchema, type UserPromptSuggestionsResponseMessage, UserPromptSuggestionsResponseMessageSchema, type UserPromptSuggestionsResponsePayload, UserPromptSuggestionsResponsePayloadSchema, getComponent, getComponents, hasComponents, index as services, setup };
package/dist/index.d.ts CHANGED
@@ -740,6 +740,84 @@ declare const UILogsMessageSchema: z.ZodObject<{
740
740
  }, z.core.$strip>;
741
741
  }, z.core.$strip>;
742
742
  type UILogsMessage = z.infer<typeof UILogsMessageSchema>;
743
+ /**
744
+ * Actions request payload schema
745
+ * Synced with sdk-nodejs: ActionsRequestPayloadSchema
746
+ */
747
+ declare const ActionsRequestPayloadSchema: z.ZodObject<{
748
+ SA_RUNTIME: z.ZodOptional<z.ZodObject<{
749
+ threadId: z.ZodString;
750
+ uiBlockId: z.ZodString;
751
+ }, z.core.$strip>>;
752
+ }, z.core.$strip>;
753
+ type ActionsRequestPayload = z.infer<typeof ActionsRequestPayloadSchema>;
754
+ declare const ActionsRequestMessageSchema: z.ZodObject<{
755
+ id: z.ZodString;
756
+ from: z.ZodObject<{
757
+ id: z.ZodOptional<z.ZodString>;
758
+ type: z.ZodOptional<z.ZodString>;
759
+ }, z.core.$strip>;
760
+ type: z.ZodLiteral<"ACTIONS">;
761
+ payload: z.ZodObject<{
762
+ SA_RUNTIME: z.ZodOptional<z.ZodObject<{
763
+ threadId: z.ZodString;
764
+ uiBlockId: z.ZodString;
765
+ }, z.core.$strip>>;
766
+ }, z.core.$strip>;
767
+ }, z.core.$strip>;
768
+ type ActionsRequestMessage = z.infer<typeof ActionsRequestMessageSchema>;
769
+ declare const ActionsResponsePayloadSchema: z.ZodObject<{
770
+ success: z.ZodBoolean;
771
+ data: z.ZodOptional<z.ZodAny>;
772
+ error: z.ZodOptional<z.ZodString>;
773
+ }, z.core.$strip>;
774
+ type ActionsResponsePayload = z.infer<typeof ActionsResponsePayloadSchema>;
775
+ declare const ActionsResponseMessageSchema: z.ZodObject<{
776
+ id: z.ZodString;
777
+ type: z.ZodLiteral<"ACTIONS_RES">;
778
+ from: z.ZodObject<{
779
+ id: z.ZodOptional<z.ZodString>;
780
+ type: z.ZodOptional<z.ZodString>;
781
+ }, z.core.$strip>;
782
+ to: z.ZodOptional<z.ZodObject<{
783
+ id: z.ZodOptional<z.ZodString>;
784
+ type: z.ZodOptional<z.ZodString>;
785
+ }, z.core.$strip>>;
786
+ payload: z.ZodObject<{
787
+ success: z.ZodBoolean;
788
+ data: z.ZodOptional<z.ZodAny>;
789
+ error: z.ZodOptional<z.ZodString>;
790
+ }, z.core.$strip>;
791
+ }, z.core.$strip>;
792
+ type ActionsResponseMessage = z.infer<typeof ActionsResponseMessageSchema>;
793
+ /**
794
+ * Components request payload schema
795
+ * Synced with sdk-nodejs: ComponentsRequestPayloadSchema
796
+ */
797
+ declare const ComponentsSendPayloadSchema: z.ZodObject<{
798
+ components: z.ZodArray<z.ZodAny>;
799
+ }, z.core.$strip>;
800
+ type ComponentsSendPayload = z.infer<typeof ComponentsSendPayloadSchema>;
801
+ /**
802
+ * Components request message schema
803
+ * Synced with sdk-nodejs: ComponentsRequestMessageSchema
804
+ */
805
+ declare const ComponentsSendMessageSchema: z.ZodObject<{
806
+ id: z.ZodString;
807
+ type: z.ZodLiteral<"COMPONENT_LIST_RES">;
808
+ from: z.ZodObject<{
809
+ id: z.ZodOptional<z.ZodString>;
810
+ type: z.ZodOptional<z.ZodString>;
811
+ }, z.core.$strip>;
812
+ to: z.ZodOptional<z.ZodObject<{
813
+ id: z.ZodOptional<z.ZodString>;
814
+ type: z.ZodOptional<z.ZodString>;
815
+ }, z.core.$strip>>;
816
+ payload: z.ZodObject<{
817
+ components: z.ZodArray<z.ZodAny>;
818
+ }, z.core.$strip>;
819
+ }, z.core.$strip>;
820
+ type ComponentsSendMessage = z.infer<typeof ComponentsSendMessageSchema>;
743
821
  /**
744
822
  * Client configuration schema
745
823
  */
@@ -841,6 +919,7 @@ declare function requestData(client: SuperatomClient, options: {
841
919
  collection: string;
842
920
  operation: string;
843
921
  params?: Record<string, unknown>;
922
+ SA_RUNTIME?: Record<string, unknown>;
844
923
  timeout?: number;
845
924
  }): Promise<{
846
925
  data?: unknown;
@@ -870,6 +949,7 @@ declare function getComponentSuggestions(client: SuperatomClient, query: string,
870
949
  };
871
950
  error?: string;
872
951
  }>;
952
+ declare function sendComponents(client: SuperatomClient, components: any[]): Promise<void>;
873
953
 
874
954
  /**
875
955
  * Users Service
@@ -1117,6 +1197,15 @@ declare function getReport(client: SuperatomClient, reportId: string, timeout?:
1117
1197
  message?: string;
1118
1198
  }>;
1119
1199
 
1200
+ declare function getActions(client: SuperatomClient, options: {
1201
+ SA_RUNTIME?: Record<string, unknown>;
1202
+ timeout?: number;
1203
+ }): Promise<{
1204
+ success: boolean;
1205
+ data?: unknown;
1206
+ error?: string;
1207
+ }>;
1208
+
1120
1209
  /**
1121
1210
  * Services Index
1122
1211
  * Re-exports all service functions for easy importing
@@ -1143,6 +1232,7 @@ declare const index_createUser: typeof createUser;
1143
1232
  declare const index_deleteDashboard: typeof deleteDashboard;
1144
1233
  declare const index_deleteReport: typeof deleteReport;
1145
1234
  declare const index_deleteUser: typeof deleteUser;
1235
+ declare const index_getActions: typeof getActions;
1146
1236
  declare const index_getAllDashboards: typeof getAllDashboards;
1147
1237
  declare const index_getAllReports: typeof getAllReports;
1148
1238
  declare const index_getAllUsers: typeof getAllUsers;
@@ -1154,13 +1244,14 @@ declare const index_requestBundle: typeof requestBundle;
1154
1244
  declare const index_requestData: typeof requestData;
1155
1245
  declare const index_sendAuthLoginRequest: typeof sendAuthLoginRequest;
1156
1246
  declare const index_sendAuthVerifyRequest: typeof sendAuthVerifyRequest;
1247
+ declare const index_sendComponents: typeof sendComponents;
1157
1248
  declare const index_sendUserPromptRequest: typeof sendUserPromptRequest;
1158
1249
  declare const index_sendUserPromptSuggestionsRequest: typeof sendUserPromptSuggestionsRequest;
1159
1250
  declare const index_updateDashboard: typeof updateDashboard;
1160
1251
  declare const index_updateReport: typeof updateReport;
1161
1252
  declare const index_updateUser: typeof updateUser;
1162
1253
  declare namespace index {
1163
- export { type index_Binding as Binding, index_BindingSchema as BindingSchema, type DSLRendererProps$1 as DSLRendererProps, DSLRendererPropsSchema$1 as DSLRendererPropsSchema, type index_Dashboard as Dashboard, type index_Expression as Expression, index_ExpressionSchema as ExpressionSchema, type index_ForDirective as ForDirective, index_ForDirectiveSchema as ForDirectiveSchema, type index_QuerySpec as QuerySpec, index_QuerySpecSchema as QuerySpecSchema, type index_Report as Report, type DSLRendererProps as ReportDSLRendererProps, type index_UIComponent as UIComponent, index_UIComponentSchema as UIComponentSchema, type index_UIElement as UIElement, index_UIElementSchema as UIElementSchema, type index_User as User, index_createDashboard as createDashboard, index_createReport as createReport, index_createUser as createUser, index_deleteDashboard as deleteDashboard, index_deleteReport as deleteReport, index_deleteUser as deleteUser, index_getAllDashboards as getAllDashboards, index_getAllReports as getAllReports, index_getAllUsers as getAllUsers, index_getComponentSuggestions as getComponentSuggestions, index_getDashboard as getDashboard, index_getReport as getReport, index_getUser as getUser, index_requestBundle as requestBundle, index_requestData as requestData, index_sendAuthLoginRequest as sendAuthLoginRequest, index_sendAuthVerifyRequest as sendAuthVerifyRequest, index_sendUserPromptRequest as sendUserPromptRequest, index_sendUserPromptSuggestionsRequest as sendUserPromptSuggestionsRequest, index_updateDashboard as updateDashboard, index_updateReport as updateReport, index_updateUser as updateUser };
1254
+ export { type index_Binding as Binding, index_BindingSchema as BindingSchema, type DSLRendererProps$1 as DSLRendererProps, DSLRendererPropsSchema$1 as DSLRendererPropsSchema, type index_Dashboard as Dashboard, type index_Expression as Expression, index_ExpressionSchema as ExpressionSchema, type index_ForDirective as ForDirective, index_ForDirectiveSchema as ForDirectiveSchema, type index_QuerySpec as QuerySpec, index_QuerySpecSchema as QuerySpecSchema, type index_Report as Report, type DSLRendererProps as ReportDSLRendererProps, type index_UIComponent as UIComponent, index_UIComponentSchema as UIComponentSchema, type index_UIElement as UIElement, index_UIElementSchema as UIElementSchema, type index_User as User, index_createDashboard as createDashboard, index_createReport as createReport, index_createUser as createUser, index_deleteDashboard as deleteDashboard, index_deleteReport as deleteReport, index_deleteUser as deleteUser, index_getActions as getActions, index_getAllDashboards as getAllDashboards, index_getAllReports as getAllReports, index_getAllUsers as getAllUsers, index_getComponentSuggestions as getComponentSuggestions, index_getDashboard as getDashboard, index_getReport as getReport, index_getUser as getUser, index_requestBundle as requestBundle, index_requestData as requestData, index_sendAuthLoginRequest as sendAuthLoginRequest, index_sendAuthVerifyRequest as sendAuthVerifyRequest, index_sendComponents as sendComponents, index_sendUserPromptRequest as sendUserPromptRequest, index_sendUserPromptSuggestionsRequest as sendUserPromptSuggestionsRequest, index_updateDashboard as updateDashboard, index_updateReport as updateReport, index_updateUser as updateUser };
1164
1255
  }
1165
1256
 
1166
1257
  type MessageHandler = (message: Message) => void;
@@ -1264,6 +1355,10 @@ declare class SuperatomClient {
1264
1355
  * Get current reconnection attempts
1265
1356
  */
1266
1357
  getReconnectAttempts(): number;
1358
+ /**
1359
+ * Get client type
1360
+ */
1361
+ get type(): string;
1267
1362
  /**
1268
1363
  * Send a message and wait for response with timeout (alias for sendWithResponse)
1269
1364
  */
@@ -1311,6 +1406,7 @@ declare class SuperatomClient {
1311
1406
  collection: string;
1312
1407
  operation: string;
1313
1408
  params?: Record<string, unknown>;
1409
+ SA_RUNTIME?: Record<string, unknown>;
1314
1410
  timeout?: number;
1315
1411
  }): Promise<{
1316
1412
  data?: unknown;
@@ -1329,6 +1425,19 @@ declare class SuperatomClient {
1329
1425
  };
1330
1426
  error?: string;
1331
1427
  }>;
1428
+ /**
1429
+ * Get AI-powered component suggestions based on a query
1430
+ * Delegates to component service
1431
+ */
1432
+ getActions(options: {
1433
+ SA_RUNTIME?: Record<string, unknown>;
1434
+ timeout?: number;
1435
+ }): Promise<{
1436
+ success: boolean;
1437
+ data?: unknown;
1438
+ error?: string;
1439
+ }>;
1440
+ sendComponents(components: any[]): Promise<void>;
1332
1441
  /**
1333
1442
  * Create a new user
1334
1443
  * Delegates to users service
@@ -1547,4 +1656,4 @@ declare function hasComponents(): boolean;
1547
1656
  */
1548
1657
  declare const SDK_VERSION = "0.1.0";
1549
1658
 
1550
- export { type AuthLoginPayload, AuthLoginPayloadSchema, type AuthLoginRequestMessage, AuthLoginRequestMessageSchema, type AuthLoginResponseMessage, AuthLoginResponseMessageSchema, type AuthLoginResponsePayload, AuthLoginResponsePayloadSchema, type AuthVerifyPayload, AuthVerifyPayloadSchema, type AuthVerifyRequestMessage, AuthVerifyRequestMessageSchema, type AuthVerifyResponseMessage, AuthVerifyResponseMessageSchema, type AuthVerifyResponsePayload, AuthVerifyResponsePayloadSchema, type BundleChunkMessage, BundleChunkMessageSchema, type BundleChunkPayload, BundleChunkPayloadSchema, type BundleErrorMessage, BundleErrorMessageSchema, type BundleErrorPayload, BundleErrorPayloadSchema, type BundleRequestMessage, BundleRequestMessageSchema, type BundleRequestPayload, BundleRequestPayloadSchema, type ClientConfig, ClientConfigSchema, type Component, ComponentSchema, type ComponentsRegistry, type DataRequestMessage, DataRequestMessageSchema, type DataRequestPayload, DataRequestPayloadSchema, type DataResponseMessage, DataResponseMessageSchema, type DataResponsePayload, DataResponsePayloadSchema, type Message, type MessageParticipant, MessageParticipantSchema, MessageSchema, type MountFunction, type ResolvedClientConfig, SDK_VERSION, type SuperAtomGlobal, SuperatomClient, type UILogEntry, UILogEntrySchema, type UILogsMessage, UILogsMessageSchema, type UILogsPayload, UILogsPayloadSchema, type UserPromptRequestMessage, UserPromptRequestMessageSchema, type UserPromptRequestPayload, UserPromptRequestPayloadSchema, type UserPromptResponseMessage, UserPromptResponseMessageSchema, type UserPromptResponsePayload, UserPromptResponsePayloadSchema, type UserPromptSuggestionsRequestMessage, UserPromptSuggestionsRequestMessageSchema, type UserPromptSuggestionsRequestPayload, UserPromptSuggestionsRequestPayloadSchema, type UserPromptSuggestionsResponseMessage, UserPromptSuggestionsResponseMessageSchema, type UserPromptSuggestionsResponsePayload, UserPromptSuggestionsResponsePayloadSchema, getComponent, getComponents, hasComponents, index as services, setup };
1659
+ export { type ActionsRequestMessage, ActionsRequestMessageSchema, type ActionsRequestPayload, ActionsRequestPayloadSchema, type ActionsResponseMessage, ActionsResponseMessageSchema, type ActionsResponsePayload, ActionsResponsePayloadSchema, type AuthLoginPayload, AuthLoginPayloadSchema, type AuthLoginRequestMessage, AuthLoginRequestMessageSchema, type AuthLoginResponseMessage, AuthLoginResponseMessageSchema, type AuthLoginResponsePayload, AuthLoginResponsePayloadSchema, type AuthVerifyPayload, AuthVerifyPayloadSchema, type AuthVerifyRequestMessage, AuthVerifyRequestMessageSchema, type AuthVerifyResponseMessage, AuthVerifyResponseMessageSchema, type AuthVerifyResponsePayload, AuthVerifyResponsePayloadSchema, type BundleChunkMessage, BundleChunkMessageSchema, type BundleChunkPayload, BundleChunkPayloadSchema, type BundleErrorMessage, BundleErrorMessageSchema, type BundleErrorPayload, BundleErrorPayloadSchema, type BundleRequestMessage, BundleRequestMessageSchema, type BundleRequestPayload, BundleRequestPayloadSchema, type ClientConfig, ClientConfigSchema, type Component, ComponentSchema, type ComponentsRegistry, type ComponentsSendMessage, ComponentsSendMessageSchema, type ComponentsSendPayload, ComponentsSendPayloadSchema, type DataRequestMessage, DataRequestMessageSchema, type DataRequestPayload, DataRequestPayloadSchema, type DataResponseMessage, DataResponseMessageSchema, type DataResponsePayload, DataResponsePayloadSchema, type Message, type MessageParticipant, MessageParticipantSchema, MessageSchema, type MountFunction, type ResolvedClientConfig, SDK_VERSION, type SuperAtomGlobal, SuperatomClient, type UILogEntry, UILogEntrySchema, type UILogsMessage, UILogsMessageSchema, type UILogsPayload, UILogsPayloadSchema, type UserPromptRequestMessage, UserPromptRequestMessageSchema, type UserPromptRequestPayload, UserPromptRequestPayloadSchema, type UserPromptResponseMessage, UserPromptResponseMessageSchema, type UserPromptResponsePayload, UserPromptResponsePayloadSchema, type UserPromptSuggestionsRequestMessage, UserPromptSuggestionsRequestMessageSchema, type UserPromptSuggestionsRequestPayload, UserPromptSuggestionsRequestPayloadSchema, type UserPromptSuggestionsResponseMessage, UserPromptSuggestionsResponseMessageSchema, type UserPromptSuggestionsResponsePayload, UserPromptSuggestionsResponsePayloadSchema, getComponent, getComponents, hasComponents, index as services, setup };