@anthropic-ai/claude-agent-sdk 0.3.306 → 0.3.308
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/bridge.mjs +71 -71
- package/browser-sdk.d.ts +7 -0
- package/browser-sdk.js +37 -37
- package/core-36zyfan5.mjs +52 -0
- package/{core-p79weg14.mjs → core-5682eevd.mjs} +4 -4
- package/core-nne0e2ds.mjs +40 -0
- package/{core-mh5qmqqf.mjs → core-xpxe8nzb.mjs} +1 -1
- package/core.mjs +10 -10
- package/manifest.json +19 -20
- package/manifest.zst.json +23 -24
- package/package.json +14 -14
- package/sdk.d.ts +11 -1
- package/sdk.mjs +74 -74
- package/core-50f20fv8.mjs +0 -40
- package/core-x5tcx9zy.mjs +0 -52
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
|