@anthropic-ai/claude-agent-sdk 0.3.305 → 0.3.307

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/browser-sdk.d.ts CHANGED
@@ -89,6 +89,13 @@ type BrowserQueryOptionsBase = {
89
89
  * each turn's result. At most one per turn.
90
90
  */
91
91
  promptSuggestions?: boolean;
92
+ /**
93
+ * Dialog kinds (`request_user_dialog` `dialog_kind` values) this consumer's
94
+ * `onUserDialog` can render, declared on `initialize`. The remote CLI sends
95
+ * only kinds an attached client declared, so `onUserDialog` alone does not
96
+ * opt in. A non-empty list without `onUserDialog` throws.
97
+ */
98
+ supportedDialogKinds?: string[];
92
99
  };
93
100
  /**
94
101
  * Exactly one of `websocket` | `sse` must be provided. `sse` is the v1alpha2