@superatomai/sdk-node 0.0.7 → 0.0.9

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 CHANGED
@@ -863,9 +863,9 @@ declare class LLM {
863
863
  private static _groqStream;
864
864
  /**
865
865
  * Parse JSON string, handling markdown code blocks and surrounding text
866
- * Enhanced version from anthropic.ts implementation
866
+ * Enhanced version with jsonrepair to handle malformed JSON from LLMs
867
867
  * @param text - Text that may contain JSON wrapped in ```json...``` or with surrounding text
868
- * @returns Parsed JSON object
868
+ * @returns Parsed JSON object or array
869
869
  */
870
870
  private static _parseJSON;
871
871
  }
@@ -1327,6 +1327,7 @@ declare class SuperatomSDK {
1327
1327
  constructor(config: SuperatomSDKConfig);
1328
1328
  /**
1329
1329
  * Initialize PromptLoader and load prompts into memory
1330
+ * Tries to load from file system first, then falls back to hardcoded prompts
1330
1331
  */
1331
1332
  private initializePromptLoader;
1332
1333
  /**
package/dist/index.d.ts CHANGED
@@ -863,9 +863,9 @@ declare class LLM {
863
863
  private static _groqStream;
864
864
  /**
865
865
  * Parse JSON string, handling markdown code blocks and surrounding text
866
- * Enhanced version from anthropic.ts implementation
866
+ * Enhanced version with jsonrepair to handle malformed JSON from LLMs
867
867
  * @param text - Text that may contain JSON wrapped in ```json...``` or with surrounding text
868
- * @returns Parsed JSON object
868
+ * @returns Parsed JSON object or array
869
869
  */
870
870
  private static _parseJSON;
871
871
  }
@@ -1327,6 +1327,7 @@ declare class SuperatomSDK {
1327
1327
  constructor(config: SuperatomSDKConfig);
1328
1328
  /**
1329
1329
  * Initialize PromptLoader and load prompts into memory
1330
+ * Tries to load from file system first, then falls back to hardcoded prompts
1330
1331
  */
1331
1332
  private initializePromptLoader;
1332
1333
  /**