@superatomai/sdk-node 0.0.6 → 0.0.8
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.mts +5 -0
- package/dist/index.d.ts +5 -0
- package/dist/index.js +969 -68
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +969 -68
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -1042,6 +1042,10 @@ declare class UIBlock {
|
|
|
1042
1042
|
* @returns Promise resolving to Action[]
|
|
1043
1043
|
*/
|
|
1044
1044
|
getOrFetchActions(generateFn: () => Promise<Action[]>): Promise<Action[]>;
|
|
1045
|
+
/**
|
|
1046
|
+
* Set or replace all actions
|
|
1047
|
+
*/
|
|
1048
|
+
setActions(actions: Action[]): void;
|
|
1045
1049
|
/**
|
|
1046
1050
|
* Add a single action (only if actions are resolved)
|
|
1047
1051
|
*/
|
|
@@ -1323,6 +1327,7 @@ declare class SuperatomSDK {
|
|
|
1323
1327
|
constructor(config: SuperatomSDKConfig);
|
|
1324
1328
|
/**
|
|
1325
1329
|
* Initialize PromptLoader and load prompts into memory
|
|
1330
|
+
* Tries to load from file system first, then falls back to hardcoded prompts
|
|
1326
1331
|
*/
|
|
1327
1332
|
private initializePromptLoader;
|
|
1328
1333
|
/**
|
package/dist/index.d.ts
CHANGED
|
@@ -1042,6 +1042,10 @@ declare class UIBlock {
|
|
|
1042
1042
|
* @returns Promise resolving to Action[]
|
|
1043
1043
|
*/
|
|
1044
1044
|
getOrFetchActions(generateFn: () => Promise<Action[]>): Promise<Action[]>;
|
|
1045
|
+
/**
|
|
1046
|
+
* Set or replace all actions
|
|
1047
|
+
*/
|
|
1048
|
+
setActions(actions: Action[]): void;
|
|
1045
1049
|
/**
|
|
1046
1050
|
* Add a single action (only if actions are resolved)
|
|
1047
1051
|
*/
|
|
@@ -1323,6 +1327,7 @@ declare class SuperatomSDK {
|
|
|
1323
1327
|
constructor(config: SuperatomSDKConfig);
|
|
1324
1328
|
/**
|
|
1325
1329
|
* Initialize PromptLoader and load prompts into memory
|
|
1330
|
+
* Tries to load from file system first, then falls back to hardcoded prompts
|
|
1326
1331
|
*/
|
|
1327
1332
|
private initializePromptLoader;
|
|
1328
1333
|
/**
|