@octavus/client-sdk 2.2.0 → 2.4.0

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.ts CHANGED
@@ -344,6 +344,18 @@ interface OctavusChatOptions {
344
344
  onStop?: () => void;
345
345
  /** Callback when a resource is updated */
346
346
  onResourceUpdate?: (name: string, value: unknown) => void;
347
+ /**
348
+ * Callback when execution starts with the session/execution ID.
349
+ * Useful for tracking the current execution for activity logs.
350
+ *
351
+ * @example
352
+ * ```typescript
353
+ * onStart: (sessionId) => {
354
+ * setCurrentSessionId(sessionId);
355
+ * }
356
+ * ```
357
+ */
358
+ onStart?: (sessionId: string) => void;
347
359
  }
348
360
  type Listener = () => void;
349
361
  /**