@anthropic-ai/claude-agent-sdk 0.3.312 → 0.3.315
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/README.md +1 -1
- package/bridge.mjs +82 -87
- package/browser-sdk.js +44 -51
- package/core-39qh0swp.mjs +18 -0
- package/core-d4nhj2hh.mjs +33 -0
- package/core-p0gry34p.mjs +43 -0
- package/core-q6qw5xwf.mjs +17 -0
- package/core.d.ts +1 -0
- package/core.mjs +12 -21
- package/manifest.json +19 -21
- package/manifest.zst.json +23 -25
- package/package.json +14 -14
- package/sdk-tools.d.ts +5 -0
- package/sdk.d.ts +35 -12
- package/sdk.mjs +77 -82
- package/core-azmey26z.mjs +0 -52
- package/core-jhgm58v5.mjs +0 -40
- package/core-qw4t51gr.mjs +0 -27
- package/core-x7q9bdvq.mjs +0 -26
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
// (c) Anthropic PBC. All rights reserved. Use is subject to the Legal Agreements outlined here: https://code.claude.com/docs/en/legal-and-compliance.
|
|
2
|
+
|
|
3
|
+
// Version: 0.3.315
|
|
4
|
+
|
|
5
|
+
//! symbol-dispose-prelude: defines Symbol.dispose and Symbol.asyncDispose if missing, for this bundle's `using`.
|
|
6
|
+
if (typeof Symbol.dispose !== 'symbol') {
|
|
7
|
+
try {
|
|
8
|
+
Symbol.dispose = Symbol.for('Symbol.dispose')
|
|
9
|
+
} catch {}
|
|
10
|
+
}
|
|
11
|
+
if (typeof Symbol.asyncDispose !== 'symbol') {
|
|
12
|
+
try {
|
|
13
|
+
Symbol.asyncDispose = Symbol.for('Symbol.asyncDispose')
|
|
14
|
+
} catch {}
|
|
15
|
+
}
|
|
16
|
+
import{createHash as r}from"crypto";function _e(e){if(typeof e!=="string"&&!ArrayBuffer.isView(e))throw Object.assign(TypeError("sha256Hex: the data is neither text nor bytes"),{code:"ERR_INVALID_ARG_TYPE"});return r("sha256").update(e).digest("hex")}
|
|
17
|
+
export{_e};
|