@chaibuilder/sdk 2.6.4 → 3.0.3

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/core.d.ts CHANGED
@@ -172,7 +172,7 @@ export declare interface ChaiBuilderEditorProps {
172
172
  /**
173
173
  * Auto save support
174
174
  */
175
- autoSaveSupport?: boolean;
175
+ autoSave?: boolean;
176
176
  /**
177
177
  * Auto save interval in seconds
178
178
  */
@@ -197,15 +197,10 @@ export declare interface ChaiBuilderEditorProps {
197
197
  * Import HTML support
198
198
  */
199
199
  importHTMLSupport?: boolean;
200
- /**
201
- * AI context
202
- */
203
- aiContext?: string;
204
200
  /**
205
201
  * Ask AI callback
206
202
  */
207
203
  askAiCallBack?: (type: "styles" | "content", prompt: string, blocks: ChaiBlock[], lang: string) => Promise<AskAiResponse>;
208
- saveAiContextCallback?: (content: string) => Promise<true | Error>;
209
204
  /**
210
205
  * Get partial blocks
211
206
  * @returns {Record<string, { type: string; name: string; description?: string }>}