@superatomai/sdk-web 0.0.5 → 0.0.6
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.cjs +94 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +107 -2
- package/dist/index.d.ts +107 -2
- package/dist/index.js +89 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
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;
|
|
@@ -1311,6 +1402,7 @@ declare class SuperatomClient {
|
|
|
1311
1402
|
collection: string;
|
|
1312
1403
|
operation: string;
|
|
1313
1404
|
params?: Record<string, unknown>;
|
|
1405
|
+
SA_RUNTIME?: Record<string, unknown>;
|
|
1314
1406
|
timeout?: number;
|
|
1315
1407
|
}): Promise<{
|
|
1316
1408
|
data?: unknown;
|
|
@@ -1329,6 +1421,19 @@ declare class SuperatomClient {
|
|
|
1329
1421
|
};
|
|
1330
1422
|
error?: string;
|
|
1331
1423
|
}>;
|
|
1424
|
+
/**
|
|
1425
|
+
* Get AI-powered component suggestions based on a query
|
|
1426
|
+
* Delegates to component service
|
|
1427
|
+
*/
|
|
1428
|
+
getActions(options: {
|
|
1429
|
+
SA_RUNTIME?: Record<string, unknown>;
|
|
1430
|
+
timeout?: number;
|
|
1431
|
+
}): Promise<{
|
|
1432
|
+
success: boolean;
|
|
1433
|
+
data?: unknown;
|
|
1434
|
+
error?: string;
|
|
1435
|
+
}>;
|
|
1436
|
+
sendComponents(components: any[]): Promise<void>;
|
|
1332
1437
|
/**
|
|
1333
1438
|
* Create a new user
|
|
1334
1439
|
* Delegates to users service
|
|
@@ -1547,4 +1652,4 @@ declare function hasComponents(): boolean;
|
|
|
1547
1652
|
*/
|
|
1548
1653
|
declare const SDK_VERSION = "0.1.0";
|
|
1549
1654
|
|
|
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 };
|
|
1655
|
+
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;
|
|
@@ -1311,6 +1402,7 @@ declare class SuperatomClient {
|
|
|
1311
1402
|
collection: string;
|
|
1312
1403
|
operation: string;
|
|
1313
1404
|
params?: Record<string, unknown>;
|
|
1405
|
+
SA_RUNTIME?: Record<string, unknown>;
|
|
1314
1406
|
timeout?: number;
|
|
1315
1407
|
}): Promise<{
|
|
1316
1408
|
data?: unknown;
|
|
@@ -1329,6 +1421,19 @@ declare class SuperatomClient {
|
|
|
1329
1421
|
};
|
|
1330
1422
|
error?: string;
|
|
1331
1423
|
}>;
|
|
1424
|
+
/**
|
|
1425
|
+
* Get AI-powered component suggestions based on a query
|
|
1426
|
+
* Delegates to component service
|
|
1427
|
+
*/
|
|
1428
|
+
getActions(options: {
|
|
1429
|
+
SA_RUNTIME?: Record<string, unknown>;
|
|
1430
|
+
timeout?: number;
|
|
1431
|
+
}): Promise<{
|
|
1432
|
+
success: boolean;
|
|
1433
|
+
data?: unknown;
|
|
1434
|
+
error?: string;
|
|
1435
|
+
}>;
|
|
1436
|
+
sendComponents(components: any[]): Promise<void>;
|
|
1332
1437
|
/**
|
|
1333
1438
|
* Create a new user
|
|
1334
1439
|
* Delegates to users service
|
|
@@ -1547,4 +1652,4 @@ declare function hasComponents(): boolean;
|
|
|
1547
1652
|
*/
|
|
1548
1653
|
declare const SDK_VERSION = "0.1.0";
|
|
1549
1654
|
|
|
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 };
|
|
1655
|
+
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.js
CHANGED
|
@@ -394,6 +394,40 @@ var UILogsMessageSchema = z.object({
|
|
|
394
394
|
to: MessageParticipantSchema.optional(),
|
|
395
395
|
payload: UILogsPayloadSchema
|
|
396
396
|
});
|
|
397
|
+
var ActionsRequestPayloadSchema = z.object({
|
|
398
|
+
SA_RUNTIME: z.object({
|
|
399
|
+
threadId: z.string(),
|
|
400
|
+
uiBlockId: z.string()
|
|
401
|
+
}).optional()
|
|
402
|
+
});
|
|
403
|
+
var ActionsRequestMessageSchema = z.object({
|
|
404
|
+
id: z.string(),
|
|
405
|
+
from: MessageParticipantSchema,
|
|
406
|
+
type: z.literal("ACTIONS"),
|
|
407
|
+
payload: ActionsRequestPayloadSchema
|
|
408
|
+
});
|
|
409
|
+
var ActionsResponsePayloadSchema = z.object({
|
|
410
|
+
success: z.boolean(),
|
|
411
|
+
data: z.any().optional(),
|
|
412
|
+
error: z.string().optional()
|
|
413
|
+
});
|
|
414
|
+
var ActionsResponseMessageSchema = z.object({
|
|
415
|
+
id: z.string(),
|
|
416
|
+
type: z.literal("ACTIONS_RES"),
|
|
417
|
+
from: MessageParticipantSchema,
|
|
418
|
+
to: MessageParticipantSchema.optional(),
|
|
419
|
+
payload: ActionsResponsePayloadSchema
|
|
420
|
+
});
|
|
421
|
+
var ComponentsSendPayloadSchema = z.object({
|
|
422
|
+
components: z.array(z.any())
|
|
423
|
+
});
|
|
424
|
+
var ComponentsSendMessageSchema = z.object({
|
|
425
|
+
id: z.string(),
|
|
426
|
+
type: z.literal("COMPONENT_LIST_RES"),
|
|
427
|
+
from: MessageParticipantSchema,
|
|
428
|
+
to: MessageParticipantSchema.optional(),
|
|
429
|
+
payload: ComponentsSendPayloadSchema
|
|
430
|
+
});
|
|
397
431
|
var UsersRequestPayloadSchema = z.object({
|
|
398
432
|
operation: z.enum(["create", "update", "delete", "getAll", "getOne"]),
|
|
399
433
|
data: z.object({
|
|
@@ -530,6 +564,7 @@ __export(services_exports, {
|
|
|
530
564
|
deleteDashboard: () => deleteDashboard,
|
|
531
565
|
deleteReport: () => deleteReport,
|
|
532
566
|
deleteUser: () => deleteUser,
|
|
567
|
+
getActions: () => getActions,
|
|
533
568
|
getAllDashboards: () => getAllDashboards,
|
|
534
569
|
getAllReports: () => getAllReports,
|
|
535
570
|
getAllUsers: () => getAllUsers,
|
|
@@ -541,6 +576,7 @@ __export(services_exports, {
|
|
|
541
576
|
requestData: () => requestData,
|
|
542
577
|
sendAuthLoginRequest: () => sendAuthLoginRequest,
|
|
543
578
|
sendAuthVerifyRequest: () => sendAuthVerifyRequest,
|
|
579
|
+
sendComponents: () => sendComponents,
|
|
544
580
|
sendUserPromptRequest: () => sendUserPromptRequest,
|
|
545
581
|
sendUserPromptSuggestionsRequest: () => sendUserPromptSuggestionsRequest,
|
|
546
582
|
updateDashboard: () => updateDashboard,
|
|
@@ -691,7 +727,8 @@ async function requestData(client, options) {
|
|
|
691
727
|
payload: {
|
|
692
728
|
collection: options.collection,
|
|
693
729
|
op: options.operation,
|
|
694
|
-
params: options.params
|
|
730
|
+
params: options.params,
|
|
731
|
+
SA_RUNTIME: options.SA_RUNTIME
|
|
695
732
|
}
|
|
696
733
|
});
|
|
697
734
|
const response = await client.sendWithResponse(message, options.timeout);
|
|
@@ -721,6 +758,23 @@ async function getComponentSuggestions(client, query, options) {
|
|
|
721
758
|
error: payload.error
|
|
722
759
|
};
|
|
723
760
|
}
|
|
761
|
+
async function sendComponents(client, components) {
|
|
762
|
+
const messageId = `msg_${Date.now()}_${Math.random().toString(36).substring(7)}`;
|
|
763
|
+
const ws_msg = {
|
|
764
|
+
id: messageId,
|
|
765
|
+
type: "COMPONENT_LIST_RES",
|
|
766
|
+
from: {
|
|
767
|
+
type: "runtime"
|
|
768
|
+
},
|
|
769
|
+
to: {
|
|
770
|
+
type: "data-agent"
|
|
771
|
+
},
|
|
772
|
+
payload: {
|
|
773
|
+
components
|
|
774
|
+
}
|
|
775
|
+
};
|
|
776
|
+
client.send(ws_msg);
|
|
777
|
+
}
|
|
724
778
|
|
|
725
779
|
// src/services/users.ts
|
|
726
780
|
async function createUser(client, username, password, timeout) {
|
|
@@ -1079,6 +1133,27 @@ async function getReport(client, reportId, timeout) {
|
|
|
1079
1133
|
};
|
|
1080
1134
|
}
|
|
1081
1135
|
|
|
1136
|
+
// src/services/actions.ts
|
|
1137
|
+
async function getActions(client, options) {
|
|
1138
|
+
const messageId = `msg_${Date.now()}_${Math.random().toString(36).substring(7)}`;
|
|
1139
|
+
const message = ActionsRequestMessageSchema.parse({
|
|
1140
|
+
id: messageId,
|
|
1141
|
+
type: "ACTIONS",
|
|
1142
|
+
from: { type: "runtime" },
|
|
1143
|
+
to: { type: "data-agent" },
|
|
1144
|
+
payload: {
|
|
1145
|
+
SA_RUNTIME: options.SA_RUNTIME
|
|
1146
|
+
}
|
|
1147
|
+
});
|
|
1148
|
+
const response = await client.sendWithResponse(message, options.timeout);
|
|
1149
|
+
const payload = response.payload;
|
|
1150
|
+
return {
|
|
1151
|
+
success: payload.success,
|
|
1152
|
+
data: payload.data,
|
|
1153
|
+
error: payload.error
|
|
1154
|
+
};
|
|
1155
|
+
}
|
|
1156
|
+
|
|
1082
1157
|
// src/client.ts
|
|
1083
1158
|
var SuperatomClient = class {
|
|
1084
1159
|
constructor(config) {
|
|
@@ -1394,6 +1469,18 @@ var SuperatomClient = class {
|
|
|
1394
1469
|
this.log("info", "Requesting component suggestions for query:", query);
|
|
1395
1470
|
return getComponentSuggestions(this, query, options);
|
|
1396
1471
|
}
|
|
1472
|
+
/**
|
|
1473
|
+
* Get AI-powered component suggestions based on a query
|
|
1474
|
+
* Delegates to component service
|
|
1475
|
+
*/
|
|
1476
|
+
async getActions(options) {
|
|
1477
|
+
this.log("info", "Requesting actions");
|
|
1478
|
+
return getActions(this, options);
|
|
1479
|
+
}
|
|
1480
|
+
async sendComponents(components) {
|
|
1481
|
+
this.log("info", "Sending components");
|
|
1482
|
+
return sendComponents(this, components);
|
|
1483
|
+
}
|
|
1397
1484
|
// ==================== User Management Methods ====================
|
|
1398
1485
|
// These methods delegate to user service for admin user CRUD operations
|
|
1399
1486
|
/**
|
|
@@ -1565,6 +1652,6 @@ function hasComponents() {
|
|
|
1565
1652
|
// src/index.ts
|
|
1566
1653
|
var SDK_VERSION = "0.1.0";
|
|
1567
1654
|
|
|
1568
|
-
export { AuthLoginPayloadSchema, AuthLoginRequestMessageSchema, AuthLoginResponseMessageSchema, AuthLoginResponsePayloadSchema, AuthVerifyPayloadSchema, AuthVerifyRequestMessageSchema, AuthVerifyResponseMessageSchema, AuthVerifyResponsePayloadSchema, BundleChunkMessageSchema, BundleChunkPayloadSchema, BundleErrorMessageSchema, BundleErrorPayloadSchema, BundleRequestMessageSchema, BundleRequestPayloadSchema, ClientConfigSchema, ComponentSchema, DataRequestMessageSchema, DataRequestPayloadSchema, DataResponseMessageSchema, DataResponsePayloadSchema, MessageParticipantSchema, MessageSchema, SDK_VERSION, SuperatomClient, UILogEntrySchema, UILogsMessageSchema, UILogsPayloadSchema, UserPromptRequestMessageSchema, UserPromptRequestPayloadSchema, UserPromptResponseMessageSchema, UserPromptResponsePayloadSchema, UserPromptSuggestionsRequestMessageSchema, UserPromptSuggestionsRequestPayloadSchema, UserPromptSuggestionsResponseMessageSchema, UserPromptSuggestionsResponsePayloadSchema, getComponent, getComponents, hasComponents, services_exports as services, setup };
|
|
1655
|
+
export { ActionsRequestMessageSchema, ActionsRequestPayloadSchema, ActionsResponseMessageSchema, ActionsResponsePayloadSchema, AuthLoginPayloadSchema, AuthLoginRequestMessageSchema, AuthLoginResponseMessageSchema, AuthLoginResponsePayloadSchema, AuthVerifyPayloadSchema, AuthVerifyRequestMessageSchema, AuthVerifyResponseMessageSchema, AuthVerifyResponsePayloadSchema, BundleChunkMessageSchema, BundleChunkPayloadSchema, BundleErrorMessageSchema, BundleErrorPayloadSchema, BundleRequestMessageSchema, BundleRequestPayloadSchema, ClientConfigSchema, ComponentSchema, ComponentsSendMessageSchema, ComponentsSendPayloadSchema, DataRequestMessageSchema, DataRequestPayloadSchema, DataResponseMessageSchema, DataResponsePayloadSchema, MessageParticipantSchema, MessageSchema, SDK_VERSION, SuperatomClient, UILogEntrySchema, UILogsMessageSchema, UILogsPayloadSchema, UserPromptRequestMessageSchema, UserPromptRequestPayloadSchema, UserPromptResponseMessageSchema, UserPromptResponsePayloadSchema, UserPromptSuggestionsRequestMessageSchema, UserPromptSuggestionsRequestPayloadSchema, UserPromptSuggestionsResponseMessageSchema, UserPromptSuggestionsResponsePayloadSchema, getComponent, getComponents, hasComponents, services_exports as services, setup };
|
|
1569
1656
|
//# sourceMappingURL=index.js.map
|
|
1570
1657
|
//# sourceMappingURL=index.js.map
|