@arbidocs/sdk 0.4.106 → 0.4.107

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 CHANGED
@@ -4492,6 +4492,10 @@ async function streamSSE(response, callbacks = {}) {
4492
4492
  artifacts.push(data);
4493
4493
  callbacks.onArtifact?.(data);
4494
4494
  },
4495
+ "arbi.mail_draft": (raw) => {
4496
+ const data = JSON.parse(raw);
4497
+ callbacks.onMailDraft?.(data);
4498
+ },
4495
4499
  "arbi.error": (raw) => {
4496
4500
  const data = JSON.parse(raw);
4497
4501
  const message = typeof data?.message === "string" && data.message.length > 0 ? data.message : data.code;
@@ -8705,6 +8709,7 @@ var Arbi = class {
8705
8709
  onMetadata: options.onMetadata,
8706
8710
  onUserInputRequest: options.onUserInputRequest,
8707
8711
  onArtifact: options.onArtifact,
8712
+ onMailDraft: options.onMailDraft,
8708
8713
  onElapsedTime: options.onElapsedTime,
8709
8714
  onComplete: options.onComplete
8710
8715
  };