diff --git a/.gitattributes b/.gitattributes
index 88aa59f00f6dc80d586ad874af4ba550bed6cfae..1cf84fb3118a8606f4ab38a26794b927f45fd82d 100644
--- a/.gitattributes
+++ b/.gitattributes
@@ -3527,3 +3527,4 @@ novas/novacore-zephyr/claude-code-router/ui/node_modules/monaco-editor/dev/vs/ed
novas/novacore-zephyr/claude-code-router/ui/node_modules/monaco-editor/dev/vs/language/typescript/tsWorker.js filter=lfs diff=lfs merge=lfs -text
novas/novacore-zephyr/claude-code-router/ui/node_modules/monaco-editor/min-maps/vs/editor/editor.main.js.map filter=lfs diff=lfs merge=lfs -text
novas/novacore-zephyr/claude-code-router/node_modules/@esbuild/linux-x64/bin/esbuild filter=lfs diff=lfs merge=lfs -text
+novas/novacore-zephyr/claude-code-router/node_modules/esbuild/bin/esbuild filter=lfs diff=lfs merge=lfs -text
diff --git a/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/CHANGELOG.md b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/CHANGELOG.md
new file mode 100644
index 0000000000000000000000000000000000000000..48dee06a16c8b321b6cbec91a72786ac362b71d7
--- /dev/null
+++ b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/CHANGELOG.md
@@ -0,0 +1,1735 @@
+# Changelog
+
+## 0.54.0 (2025-06-11)
+
+Full Changelog: [sdk-v0.53.0...sdk-v0.54.0](https://github.com/anthropics/anthropic-sdk-typescript/compare/sdk-v0.53.0...sdk-v0.54.0)
+
+### Features
+
+* **api:** api update ([e923aa1](https://github.com/anthropics/anthropic-sdk-typescript/commit/e923aa1b48b1739def4d5d97756678979b4c01a3))
+* **api:** api update ([4877181](https://github.com/anthropics/anthropic-sdk-typescript/commit/4877181c118ebcf1b5d98ca4bfd26acf5dbdedab))
+* **api:** manual updates ([99b0111](https://github.com/anthropics/anthropic-sdk-typescript/commit/99b0111ec289eb4454c1290f80600d653a5a9c30))
+* **client:** add support for fine-grained-tool-streaming-2025-05-14 ([6b35dd9](https://github.com/anthropics/anthropic-sdk-typescript/commit/6b35dd968b47e6ed486ed6d0a7b8d29cf1928aaf))
+
+
+### Bug Fixes
+
+* **client:** deprecate BetaBase64PDFBlock in favor of BetaRequestDocumentBlock ([7fa10db](https://github.com/anthropics/anthropic-sdk-typescript/commit/7fa10db38d56f8839be3a3197b77a4c8f24fa42a))
+* **client:** improve error message in parsing JSON ([7c0cb84](https://github.com/anthropics/anthropic-sdk-typescript/commit/7c0cb8414473ffff3939f105d1bdb92b7d02ab5e))
+* **internal:** revert unintentional changes ([28dccec](https://github.com/anthropics/anthropic-sdk-typescript/commit/28dccec451d0426e7a0afe6de1122e5fddb057f5))
+
+
+### Chores
+
+* avoid type error in certain environments ([48c1a41](https://github.com/anthropics/anthropic-sdk-typescript/commit/48c1a4143bf2a6cae73007532e8292922a0b4fb8))
+* **tests:** add testing for invalid json raising ([52260c1](https://github.com/anthropics/anthropic-sdk-typescript/commit/52260c196ab91be10354770362b0e2191607337b))
+
+## 0.53.0 (2025-06-04)
+
+Full Changelog: [sdk-v0.52.0...sdk-v0.53.0](https://github.com/anthropics/anthropic-sdk-typescript/compare/sdk-v0.52.0...sdk-v0.53.0)
+
+### Features
+
+* **client:** add support for new text_editor_20250429 tool ([e49ebfb](https://github.com/anthropics/anthropic-sdk-typescript/commit/e49ebfb23729c5554796a2ef6b19869d2fb8854e))
+
+
+### Bug Fixes
+
+* **client:** correctly track input from server_tool_use input deltas ([4a14253](https://github.com/anthropics/anthropic-sdk-typescript/commit/4a142533c0e56b6cca120b15dc78779000496bc2))
+* **client:** fix link to streaming responses docs ([2ad98be](https://github.com/anthropics/anthropic-sdk-typescript/commit/2ad98be9088517715571438ef0cd577f428b50a4))
+* compat with more runtimes ([3c70ae3](https://github.com/anthropics/anthropic-sdk-typescript/commit/3c70ae35411566ae39428d1b0583fd9fe1b4f2a6))
+
+
+### Chores
+
+* adjust eslint.config.mjs ignore pattern ([ab404cf](https://github.com/anthropics/anthropic-sdk-typescript/commit/ab404cfddd74d6203acfb63c8e56c6727ab9ec9a))
+* **ci:** fix release workflow ([7e2e566](https://github.com/anthropics/anthropic-sdk-typescript/commit/7e2e5666b65168e926d32500a73f849e9d61fb17))
+* **deps:** bump eslint-plugin-prettier ([8f973c4](https://github.com/anthropics/anthropic-sdk-typescript/commit/8f973c428734fe37710f46cbbcb2c79a046246d9))
+* **docs:** use top-level-await in example snippets ([b4a60ee](https://github.com/anthropics/anthropic-sdk-typescript/commit/b4a60ee8a6912d7cfb68849b6369124260da69ed))
+* **examples:** show how to pass an authorization token to an MCP server ([340461b](https://github.com/anthropics/anthropic-sdk-typescript/commit/340461b39d9e27e281affda7ff9359c04bde3878))
+* improve publish-npm script --latest tag logic ([4a7bdc0](https://github.com/anthropics/anthropic-sdk-typescript/commit/4a7bdc07f5bbc0da266daaa163319665400318c9))
+* **internal:** codegen related update ([345af47](https://github.com/anthropics/anthropic-sdk-typescript/commit/345af474e599d8083aa473d043061ed64d9bd284))
+* **internal:** codegen related update ([6d924ef](https://github.com/anthropics/anthropic-sdk-typescript/commit/6d924efc8669b6cdadf4bb23612ca08afa3c7885))
+* **internal:** fix readablestream types in node 20 ([b68745b](https://github.com/anthropics/anthropic-sdk-typescript/commit/b68745b6a98aa0f12b9ce2e97d24a0cbed47758e))
+* **internal:** fix release workflows ([a8da56f](https://github.com/anthropics/anthropic-sdk-typescript/commit/a8da56f2ce042804925ec882cbdbe2ba1d66a183))
+
+
+### Documentation
+
+* **pagination:** improve naming ([8e62803](https://github.com/anthropics/anthropic-sdk-typescript/commit/8e62803aca24e182bf2202b1ea8ae9c6e3061883))
+
+## 0.52.0 (2025-05-22)
+
+Full Changelog: [sdk-v0.51.0...sdk-v0.52.0](https://github.com/anthropics/anthropic-sdk-typescript/compare/sdk-v0.51.0...sdk-v0.52.0)
+
+### Features
+
+* **api:** add claude 4 models, files API, code execution tool, MCP connector and more ([769f9da](https://github.com/anthropics/anthropic-sdk-typescript/commit/769f9da91cf4480d1e4aa4bb488d6d9cc2471985))
+
+
+### Chores
+
+* **internal:** codegen related update ([2ed236d](https://github.com/anthropics/anthropic-sdk-typescript/commit/2ed236ddb9977a91289c4799692a583f460ce8b6))
+* **internal:** version bump ([8ebaf61](https://github.com/anthropics/anthropic-sdk-typescript/commit/8ebaf616d2e5c6aebc153f19a403dde41ab5a9f1))
+
+## 0.51.0 (2025-05-15)
+
+Full Changelog: [sdk-v0.50.4...sdk-v0.51.0](https://github.com/anthropics/anthropic-sdk-typescript/compare/sdk-v0.50.4...sdk-v0.51.0)
+
+### Features
+
+* **bedrock:** support skipAuth on Bedrock client to bypass local auth requirements ([b661c5f](https://github.com/anthropics/anthropic-sdk-typescript/commit/b661c5fe4d93fa749de5b7cbbce98dc224a68adc))
+
+
+### Bug Fixes
+
+* **bedrock:** support model names with slashes ([cb5fa8a](https://github.com/anthropics/anthropic-sdk-typescript/commit/cb5fa8a8f55ed12382aeb5f09110b0d5fefc46bb))
+
+
+### Chores
+
+* **package:** remove engines ([f0378ec](https://github.com/anthropics/anthropic-sdk-typescript/commit/f0378ec0be0cac0b165d169a05548692f8ef3b69))
+
+## 0.50.4 (2025-05-12)
+
+Full Changelog: [sdk-v0.50.3...sdk-v0.50.4](https://github.com/anthropics/anthropic-sdk-typescript/compare/sdk-v0.50.3...sdk-v0.50.4)
+
+### Bug Fixes
+
+* **stream:** correctly accumulate usage ([c55b4f0](https://github.com/anthropics/anthropic-sdk-typescript/commit/c55b4f01cdd545faf93d6f463caef6f6c5839f07))
+
+## 0.50.3 (2025-05-09)
+
+Full Changelog: [sdk-v0.50.2...sdk-v0.50.3](https://github.com/anthropics/anthropic-sdk-typescript/compare/sdk-v0.50.2...sdk-v0.50.3)
+
+### Bug Fixes
+
+* **client:** always overwrite when merging headers ([657912a](https://github.com/anthropics/anthropic-sdk-typescript/commit/657912ad66f86e878291a4cab5436844efbb633b))
+* **client:** always overwrite when merging headers ([bf70c9f](https://github.com/anthropics/anthropic-sdk-typescript/commit/bf70c9f6c8031616cb3927d86272dbcce2158b4e))
+
+## 0.50.2 (2025-05-09)
+
+Full Changelog: [sdk-v0.50.1...sdk-v0.50.2](https://github.com/anthropics/anthropic-sdk-typescript/compare/sdk-v0.50.1...sdk-v0.50.2)
+
+### Bug Fixes
+
+* **ci:** bump publish workflow to node 20 ([306a081](https://github.com/anthropics/anthropic-sdk-typescript/commit/306a0816c3fe383ae8ac78a43ebb57927597417e))
+
+
+### Chores
+
+* **internal:** minor sync ([d89476f](https://github.com/anthropics/anthropic-sdk-typescript/commit/d89476ffacccdf1c30c03bbfac8ae3280a4e8d08))
+* sync repo ([508e385](https://github.com/anthropics/anthropic-sdk-typescript/commit/508e38511c13ba8842065d0dafbc7f462abe0322))
+
+
+### Documentation
+
+* update readme ([ef0c60a](https://github.com/anthropics/anthropic-sdk-typescript/commit/ef0c60afc9ebc690c6179466a22d3e26c77f71db))
+
+## 0.50.1 (2025-05-09)
+
+Full Changelog: [sdk-v0.50.0...sdk-v0.50.1](https://github.com/anthropics/anthropic-sdk-typescript/compare/sdk-v0.50.0...sdk-v0.50.1)
+
+## 0.50.0 (2025-05-09)
+
+Full Changelog: [sdk-v0.41.0...sdk-v0.50.0](https://github.com/anthropics/anthropic-sdk-typescript/compare/sdk-v0.41.0...sdk-v0.42.0)
+
+### Features
+
+* **api:** adds web search capabilities to the Claude API ([b36623f](https://github.com/anthropics/anthropic-sdk-typescript/commit/b36623f33134e937ba8fc7585ab5fab3b31203ed))
+* **api:** manual updates ([80d5daa](https://github.com/anthropics/anthropic-sdk-typescript/commit/80d5daaff943536fbf300f5f19d7c9922294e837))
+* **api:** manual updates ([3124e2b](https://github.com/anthropics/anthropic-sdk-typescript/commit/3124e2b5fc5d279403f409168186cb08de3b0d13))
+* **client:** add withOptions helper ([caab783](https://github.com/anthropics/anthropic-sdk-typescript/commit/caab78382741526d50e0c6d3a3e2834ac889fbd7))
+
+
+### Bug Fixes
+
+* **bedrock,vertex:** update to new SDK version ([cb620bb](https://github.com/anthropics/anthropic-sdk-typescript/commit/cb620bbb60e64f27168f74db7a48ad8c2d5f953e))
+* **client:** send all configured auth headers ([3961628](https://github.com/anthropics/anthropic-sdk-typescript/commit/3961628811d807cc967b9f0f781e55415b578f5d))
+* **internal:** fix file uploads in node 18 jest ([1071b34](https://github.com/anthropics/anthropic-sdk-typescript/commit/1071b342d56a81d375f2b373c649843f800a3ad5))
+* **mcp:** remove unused tools.ts ([4c4d763](https://github.com/anthropics/anthropic-sdk-typescript/commit/4c4d7635bf6c6ef3fd810adefb3a290ad0f59576))
+* **messages:** updates for server tools ([c2709b2](https://github.com/anthropics/anthropic-sdk-typescript/commit/c2709b27b17a5a80daf399b7bfca41b953706d51))
+* update old links ([f33a68a](https://github.com/anthropics/anthropic-sdk-typescript/commit/f33a68abddd29ef8f8fe1a334d7dcd259595c4cb))
+* **vertex,bedrock:** correct build script ([df895a7](https://github.com/anthropics/anthropic-sdk-typescript/commit/df895a7d7cbd51422343fca95ab9f1d58918b2a1))
+
+
+### Chores
+
+* **bedrock:** add `skipAuth` option to allow users to let authorization be handled elsewhere ([ee58772](https://github.com/anthropics/anthropic-sdk-typescript/commit/ee587723718109797efa80b020076c43a300f1b9))
+* **bedrock:** bump [@aws-sdk](https://github.com/aws-sdk) dependencies ([ff925db](https://github.com/anthropics/anthropic-sdk-typescript/commit/ff925db987a66950c997ec50b9c55e67152d1945))
+* **bedrock:** bump @aws-sdk/credential-providers ([9f611d6](https://github.com/anthropics/anthropic-sdk-typescript/commit/9f611d6ba8c6b3de02c3183e4f2f42d1540525f0))
+* **ci:** add timeout thresholds for CI jobs ([385f900](https://github.com/anthropics/anthropic-sdk-typescript/commit/385f900ae36892a8c65e2568faf46ce7bb011206))
+* **ci:** only use depot for staging repos ([1f05880](https://github.com/anthropics/anthropic-sdk-typescript/commit/1f058806ccd549aa99194fc8b808ab21c7655bcf))
+* **ci:** run on more branches and use depot runners ([7176150](https://github.com/anthropics/anthropic-sdk-typescript/commit/7176150915334f06ac2ee3ed854ddf6752c1e113))
+* **client:** drop support for EOL node versions ([ffbb2da](https://github.com/anthropics/anthropic-sdk-typescript/commit/ffbb2dac2b9e3b82c57d043dfb279ab95948cbc0))
+* **client:** minor internal fixes ([595678f](https://github.com/anthropics/anthropic-sdk-typescript/commit/595678f2b8588f20d7ca3d9219878a4d72c56c7d))
+* **internal:** codegen related update ([a6ae129](https://github.com/anthropics/anthropic-sdk-typescript/commit/a6ae12953f6f841d4585a8cf8cf03fa24f17d57c))
+* **internal:** fix format script ([9ce30ba](https://github.com/anthropics/anthropic-sdk-typescript/commit/9ce30ba225a37feb50c0089164bbec830ab18a1c))
+* **internal:** formatting fixes ([7bd4594](https://github.com/anthropics/anthropic-sdk-typescript/commit/7bd45941a46703db869161fd0585cd209efc782c))
+* **internal:** improve index signature formatting ([7dc3e19](https://github.com/anthropics/anthropic-sdk-typescript/commit/7dc3e190c854623c030d20530cef2f16798dae50))
+* **internal:** improve node 18 shims ([c6780dd](https://github.com/anthropics/anthropic-sdk-typescript/commit/c6780ddc12282ae1e6796825c713bacf5a50812c))
+* **internal:** reduce CI branch coverage ([464431d](https://github.com/anthropics/anthropic-sdk-typescript/commit/464431d1e57954812b10baa04d12795f4cba6b76))
+* **internal:** refactor utils ([b3dee57](https://github.com/anthropics/anthropic-sdk-typescript/commit/b3dee573e69afe41d1c588e732780b5d370980dd))
+* **internal:** share typescript helpers ([74187db](https://github.com/anthropics/anthropic-sdk-typescript/commit/74187dbc73585c68aa6ae0f05bcba6053d257434))
+* **internal:** upload builds and expand CI branch coverage ([bbda5d3](https://github.com/anthropics/anthropic-sdk-typescript/commit/bbda5d3ccd5c10abbd0727c33c9d63bd366ef557))
+* **perf:** faster base64 decoding ([975795a](https://github.com/anthropics/anthropic-sdk-typescript/commit/975795a61b3067396035621638feb631a7e44dbc))
+* **tests:** improve enum examples ([66cf6d4](https://github.com/anthropics/anthropic-sdk-typescript/commit/66cf6d4d460f93c728aeee069af4f134b853b7d7))
+
+
+### Documentation
+
+* **readme:** fix typo ([6f8fce9](https://github.com/anthropics/anthropic-sdk-typescript/commit/6f8fce9cf7a921b0fc7a5cf0aada0ce130667082))
+
+## 0.41.0 (2025-05-07)
+
+Full Changelog: [sdk-v0.40.1...sdk-v0.41.0](https://github.com/anthropics/anthropic-sdk-typescript/compare/sdk-v0.40.1...sdk-v0.41.0)
+
+### Features
+
+* **api:** adds web search capabilities to the Claude API ([fae7e52](https://github.com/anthropics/anthropic-sdk-typescript/commit/fae7e521568d9659e376d13c4e4a6c320b13b1d4))
+
+
+### Chores
+
+* **ci:** bump node version for release workflows ([3502747](https://github.com/anthropics/anthropic-sdk-typescript/commit/350274792ed3d9b7ea237ee60876883373344016))
+
+
+### Documentation
+
+* add examples to tsdocs ([19a9285](https://github.com/anthropics/anthropic-sdk-typescript/commit/19a928512b1616f2cac9c82f02e7bd9a158dab95))
+* **readme:** fix typo ([735574e](https://github.com/anthropics/anthropic-sdk-typescript/commit/735574e23b7956cbfd0c05d0374079391d5d4e96))
+
+## 0.40.1 (2025-04-28)
+
+Full Changelog: [sdk-v0.40.0...sdk-v0.40.1](https://github.com/anthropics/anthropic-sdk-typescript/compare/sdk-v0.40.0...sdk-v0.40.1)
+
+### Chores
+
+* **bedrock:** bump [@aws-sdk](https://github.com/aws-sdk) dependencies ([6440e1d](https://github.com/anthropics/anthropic-sdk-typescript/commit/6440e1db992779aeead231b420a55002ec0991d1))
+
+## 0.40.0 (2025-04-25)
+
+Full Changelog: [sdk-v0.39.0...sdk-v0.40.0](https://github.com/anthropics/anthropic-sdk-typescript/compare/sdk-v0.39.0...sdk-v0.40.0)
+
+### Features
+
+* add SKIP_BREW env var to ./scripts/bootstrap ([#710](https://github.com/anthropics/anthropic-sdk-typescript/issues/710)) ([1b8376a](https://github.com/anthropics/anthropic-sdk-typescript/commit/1b8376aac5475e1bb6b5f79c7c5684ab77908c1f))
+* **api:** extract ContentBlockDelta events into their own schemas ([#732](https://github.com/anthropics/anthropic-sdk-typescript/issues/732)) ([fd0ec83](https://github.com/anthropics/anthropic-sdk-typescript/commit/fd0ec836ab9244c05b913a68224f806b4ac8da60))
+* **api:** manual updates ([39b64c9](https://github.com/anthropics/anthropic-sdk-typescript/commit/39b64c96679efa08e9220c6c3ecff297c6aa8b7c))
+* **api:** manual updates ([771e05b](https://github.com/anthropics/anthropic-sdk-typescript/commit/771e05b24690dbda1d2118f10fd19304db4f0826))
+* **api:** manual updates ([ca6dbd6](https://github.com/anthropics/anthropic-sdk-typescript/commit/ca6dbd6b1588b94da6d1763cb52f54cc42aacaa1))
+* **api:** manual updates ([14df8cc](https://github.com/anthropics/anthropic-sdk-typescript/commit/14df8cce890993e7056dfe5432f86b53faf7a044))
+* **client:** accept RFC6838 JSON content types ([#713](https://github.com/anthropics/anthropic-sdk-typescript/issues/713)) ([fc32787](https://github.com/anthropics/anthropic-sdk-typescript/commit/fc3278702b3d27f792006e9710432f612e856af1))
+* **mcp:** allow opt-in mcp resources and endpoints ([#720](https://github.com/anthropics/anthropic-sdk-typescript/issues/720)) ([9f3a54e](https://github.com/anthropics/anthropic-sdk-typescript/commit/9f3a54e868feb78e63a4593aae3b7fffc4ce588f))
+
+
+### Bug Fixes
+
+* **api:** improve type resolution when importing as a package ([#738](https://github.com/anthropics/anthropic-sdk-typescript/issues/738)) ([8992ed4](https://github.com/anthropics/anthropic-sdk-typescript/commit/8992ed4b8fa3ce7216c0d8414b79ad71adefdf42))
+* avoid type error in certain environments ([#723](https://github.com/anthropics/anthropic-sdk-typescript/issues/723)) ([208fdaf](https://github.com/anthropics/anthropic-sdk-typescript/commit/208fdaf0e00ab4cb12c0172cda870f3f1e13098c))
+* **client:** deduplicate stop reason type ([#726](https://github.com/anthropics/anthropic-sdk-typescript/issues/726)) ([2d7cef1](https://github.com/anthropics/anthropic-sdk-typescript/commit/2d7cef14ecdb0501deac02ca270b355ffa5275f2))
+* **client:** send `X-Stainless-Timeout` in seconds ([#733](https://github.com/anthropics/anthropic-sdk-typescript/issues/733)) ([cae4f77](https://github.com/anthropics/anthropic-sdk-typescript/commit/cae4f77474a84d2ce81b890dfb39d3b28c8b5834))
+* **client:** send all configured auth headers ([#742](https://github.com/anthropics/anthropic-sdk-typescript/issues/742)) ([86708b4](https://github.com/anthropics/anthropic-sdk-typescript/commit/86708b496558fe52d46bd6a77f705273fad374b1))
+* **exports:** ensure resource imports don't require /index ([#717](https://github.com/anthropics/anthropic-sdk-typescript/issues/717)) ([56b2a80](https://github.com/anthropics/anthropic-sdk-typescript/commit/56b2a80145999256d4c075cf48be891df7832aad))
+* **internal:** work around https://github.com/vercel/next.js/issues/76881 ([#727](https://github.com/anthropics/anthropic-sdk-typescript/issues/727)) ([36ea0ef](https://github.com/anthropics/anthropic-sdk-typescript/commit/36ea0efd017d48931b3954034744234aec084a42))
+* **mcp:** remove unused tools.ts ([#740](https://github.com/anthropics/anthropic-sdk-typescript/issues/740)) ([26793e7](https://github.com/anthropics/anthropic-sdk-typescript/commit/26793e7fe5a7c03d5adac69564a588e5a030c01c))
+* remove duplicate exports ([2df4cdd](https://github.com/anthropics/anthropic-sdk-typescript/commit/2df4cdd6f3a4f35a858fde57ce6327c50d3319d8))
+
+
+### Chores
+
+* add hash of OpenAPI spec/config inputs to .stats.yml ([#725](https://github.com/anthropics/anthropic-sdk-typescript/issues/725)) ([271be7d](https://github.com/anthropics/anthropic-sdk-typescript/commit/271be7d6d3cc615df3c8c48d4e1fb907d286df62))
+* **bedrock:** bump @aws-sdk/credential-providers ([a4d88d7](https://github.com/anthropics/anthropic-sdk-typescript/commit/a4d88d7807e2cf1a0836dc05d9deff5bfc0c665f))
+* **ci:** add timeout thresholds for CI jobs ([1080c70](https://github.com/anthropics/anthropic-sdk-typescript/commit/1080c704f2e6c08d396aec7e3782c86c705cfe49))
+* **ci:** only use depot for staging repos ([359dafa](https://github.com/anthropics/anthropic-sdk-typescript/commit/359dafae718f626d1b0883fb40c0df3421d5939c))
+* **ci:** run on more branches and use depot runners ([3331315](https://github.com/anthropics/anthropic-sdk-typescript/commit/333131560d0e1557e037fbc2bc7b60b74d0c3fed))
+* **client:** minor internal fixes ([fcf3e35](https://github.com/anthropics/anthropic-sdk-typescript/commit/fcf3e3559692d09e5b5568a6cfa90c342bb33c60))
+* **internal:** add aliases for Record and Array ([#735](https://github.com/anthropics/anthropic-sdk-typescript/issues/735)) ([e0a4bec](https://github.com/anthropics/anthropic-sdk-typescript/commit/e0a4becfdd79898b1187b50b18bb5a082e67c7cd))
+* **internal:** add back release workflow ([68d54e5](https://github.com/anthropics/anthropic-sdk-typescript/commit/68d54e5540bf5cc9c9bf21c8e21a3d7225e17bba))
+* **internal:** codegen related update ([#737](https://github.com/anthropics/anthropic-sdk-typescript/issues/737)) ([2a368bb](https://github.com/anthropics/anthropic-sdk-typescript/commit/2a368bbb8d13d409116881ece456af3c36998c8f))
+* **internal:** fix lint ([2cf3641](https://github.com/anthropics/anthropic-sdk-typescript/commit/2cf3641681fdfc01bd8ffbb7154d2ebcb5d8a8d3))
+* **internal:** import ordering changes ([#708](https://github.com/anthropics/anthropic-sdk-typescript/issues/708)) ([a5680e1](https://github.com/anthropics/anthropic-sdk-typescript/commit/a5680e1466a6ea1bed0ddc4c880dd4e342ea1350))
+* **internal:** improve index signature formatting ([#739](https://github.com/anthropics/anthropic-sdk-typescript/issues/739)) ([627c5fa](https://github.com/anthropics/anthropic-sdk-typescript/commit/627c5fadfb1a0b84dd4715d96cb9234607952957))
+* **internal:** reduce CI branch coverage ([6ed0bd6](https://github.com/anthropics/anthropic-sdk-typescript/commit/6ed0bd6fa8e3076ff908a1cd1cec3f110afef431))
+* **internal:** remove CI condition ([#730](https://github.com/anthropics/anthropic-sdk-typescript/issues/730)) ([cc31518](https://github.com/anthropics/anthropic-sdk-typescript/commit/cc3151809070c885450f0884fb5120e0276e2d66))
+* **internal:** remove extra empty newlines ([#716](https://github.com/anthropics/anthropic-sdk-typescript/issues/716)) ([4d3c024](https://github.com/anthropics/anthropic-sdk-typescript/commit/4d3c02496ee09625fbcb5da545e90faa3890a885))
+* **internal:** update config ([#728](https://github.com/anthropics/anthropic-sdk-typescript/issues/728)) ([ababd80](https://github.com/anthropics/anthropic-sdk-typescript/commit/ababd809519fb31ae82395c77b997fd76a3d804e))
+* **internal:** upload builds and expand CI branch coverage ([#744](https://github.com/anthropics/anthropic-sdk-typescript/issues/744)) ([0b7432a](https://github.com/anthropics/anthropic-sdk-typescript/commit/0b7432a3f1088f36ae4c45f99872d18ad9167d80))
+* **tests:** improve enum examples ([#743](https://github.com/anthropics/anthropic-sdk-typescript/issues/743)) ([c1c93a7](https://github.com/anthropics/anthropic-sdk-typescript/commit/c1c93a7ecf17b4cd1956344678d325b36fafd598))
+
+## 0.39.0 (2025-02-28)
+
+Full Changelog: [sdk-v0.38.0...sdk-v0.39.0](https://github.com/anthropics/anthropic-sdk-typescript/compare/sdk-v0.38.0...sdk-v0.39.0)
+
+### Features
+
+* **api:** add support for disabling tool calls ([#701](https://github.com/anthropics/anthropic-sdk-typescript/issues/701)) ([1602b51](https://github.com/anthropics/anthropic-sdk-typescript/commit/1602b5156432d587c3fd55abb719cab98ef50928))
+
+
+### Documentation
+
+* update URLs from stainlessapi.com to stainless.com ([#699](https://github.com/anthropics/anthropic-sdk-typescript/issues/699)) ([05e33b7](https://github.com/anthropics/anthropic-sdk-typescript/commit/05e33b7f5fbcc2adacd2c3ab1d4c7806ea7d40fd))
+
+## 0.38.0 (2025-02-27)
+
+Full Changelog: [sdk-v0.37.0...sdk-v0.38.0](https://github.com/anthropics/anthropic-sdk-typescript/compare/sdk-v0.37.0...sdk-v0.38.0)
+
+### Features
+
+* **api:** add URL source blocks for images and PDFs ([#698](https://github.com/anthropics/anthropic-sdk-typescript/issues/698)) ([16e7336](https://github.com/anthropics/anthropic-sdk-typescript/commit/16e7336ca99f261ab21efabfadc927f3e3c34198))
+
+
+### Chores
+
+* **internal:** update spec ([#692](https://github.com/anthropics/anthropic-sdk-typescript/issues/692)) ([142f221](https://github.com/anthropics/anthropic-sdk-typescript/commit/142f221d364c7450f3397563f59e56f8d9a41e02))
+
+
+### Documentation
+
+* add thinking examples ([db6f761](https://github.com/anthropics/anthropic-sdk-typescript/commit/db6f761007b29b2ace293723f20728ad31b316dd))
+
+## 0.37.0 (2025-02-24)
+
+Full Changelog: [sdk-v0.36.3...sdk-v0.37.0](https://github.com/anthropics/anthropic-sdk-typescript/compare/sdk-v0.36.3...sdk-v0.37.0)
+
+### Features
+
+* **api:** add claude-3.7 + support for thinking ([ffab311](https://github.com/anthropics/anthropic-sdk-typescript/commit/ffab3113ddb042951a35d71e571727f8cce184ee))
+* **client:** send `X-Stainless-Timeout` header ([#679](https://github.com/anthropics/anthropic-sdk-typescript/issues/679)) ([1172430](https://github.com/anthropics/anthropic-sdk-typescript/commit/1172430c87ba42acd2e16f4960247fe4003641a5))
+* **pagination:** avoid fetching when has_more: false ([#680](https://github.com/anthropics/anthropic-sdk-typescript/issues/680)) ([d4df248](https://github.com/anthropics/anthropic-sdk-typescript/commit/d4df248ff4eafa15b5f4b21b3da69d1a710052fa))
+
+
+### Bug Fixes
+
+* **client:** fix export map for index exports ([#684](https://github.com/anthropics/anthropic-sdk-typescript/issues/684)) ([56d9c7a](https://github.com/anthropics/anthropic-sdk-typescript/commit/56d9c7ab269af132d2ac374b6b7b9e5e523e0720))
+* correctly decode multi-byte characters over multiple chunks ([#681](https://github.com/anthropics/anthropic-sdk-typescript/issues/681)) ([e369e3d](https://github.com/anthropics/anthropic-sdk-typescript/commit/e369e3d650f2d761c3479935502615cab2a42b8d))
+* optimize sse chunk reading off-by-one error ([#686](https://github.com/anthropics/anthropic-sdk-typescript/issues/686)) ([53669af](https://github.com/anthropics/anthropic-sdk-typescript/commit/53669af8507c503dfd109ea34896dd018fbb1fc8))
+
+
+### Chores
+
+* **api:** update openapi spec url ([#678](https://github.com/anthropics/anthropic-sdk-typescript/issues/678)) ([84401b1](https://github.com/anthropics/anthropic-sdk-typescript/commit/84401b1068a11ae241a03643d32c459d837a82c6))
+* **internal:** add missing return type annotation ([#685](https://github.com/anthropics/anthropic-sdk-typescript/issues/685)) ([a8862b9](https://github.com/anthropics/anthropic-sdk-typescript/commit/a8862b9d39f688707ecf2142b002aa27a3cbd09b))
+* **internal:** fix devcontainers setup ([#689](https://github.com/anthropics/anthropic-sdk-typescript/issues/689)) ([8665946](https://github.com/anthropics/anthropic-sdk-typescript/commit/8665946ded8472e892301449569aae30613175fa))
+* **internal:** reorder model constants ([#676](https://github.com/anthropics/anthropic-sdk-typescript/issues/676)) ([52a2a11](https://github.com/anthropics/anthropic-sdk-typescript/commit/52a2a11467e4c117b50516104eb9b29aca86e232))
+* **internal:** update models used in tests ([52a2a11](https://github.com/anthropics/anthropic-sdk-typescript/commit/52a2a11467e4c117b50516104eb9b29aca86e232))
+
+## 0.36.3 (2025-01-27)
+
+Full Changelog: [sdk-v0.36.2...sdk-v0.36.3](https://github.com/anthropics/anthropic-sdk-typescript/compare/sdk-v0.36.2...sdk-v0.36.3)
+
+### Bug Fixes
+
+* **streaming:** accumulate citations ([#675](https://github.com/anthropics/anthropic-sdk-typescript/issues/675)) ([522118f](https://github.com/anthropics/anthropic-sdk-typescript/commit/522118ffeab327e8476f12d9b9fa1f19042ed714))
+
+
+### Chores
+
+* **docs:** updates ([#673](https://github.com/anthropics/anthropic-sdk-typescript/issues/673)) ([751ecd0](https://github.com/anthropics/anthropic-sdk-typescript/commit/751ecd0d44707b21ccb390c81716937fae3d8e35))
+
+## 0.36.2 (2025-01-23)
+
+Full Changelog: [sdk-v0.36.1...sdk-v0.36.2](https://github.com/anthropics/anthropic-sdk-typescript/compare/sdk-v0.36.1...sdk-v0.36.2)
+
+### Bug Fixes
+
+* **bedrock:** update streaming util import ([255c059](https://github.com/anthropics/anthropic-sdk-typescript/commit/255c0599e333e6fae582255e3b0631538b168c69))
+
+## 0.36.1 (2025-01-23)
+
+Full Changelog: [sdk-v0.36.0...sdk-v0.36.1](https://github.com/anthropics/anthropic-sdk-typescript/compare/sdk-v0.36.0...sdk-v0.36.1)
+
+### Chores
+
+* **tests:** fix types ([9efe3ee](https://github.com/anthropics/anthropic-sdk-typescript/commit/9efe3eebf64bd762a34caf362a1cd1a0f0858f92))
+
+## 0.36.0 (2025-01-23)
+
+Full Changelog: [sdk-v0.35.0...sdk-v0.36.0](https://github.com/anthropics/anthropic-sdk-typescript/compare/sdk-v0.35.0...sdk-v0.36.0)
+
+### Features
+
+* **api:** add citations ([#668](https://github.com/anthropics/anthropic-sdk-typescript/issues/668)) ([1fef177](https://github.com/anthropics/anthropic-sdk-typescript/commit/1fef17749adbbeb243480b96c04941be29c0746c))
+* **client:** support results endpoint ([#666](https://github.com/anthropics/anthropic-sdk-typescript/issues/666)) ([db5fffe](https://github.com/anthropics/anthropic-sdk-typescript/commit/db5fffeb38a99a3e9283ebf001fbf767d756162e))
+* **stream:** expose `response` property as well ([b0235c7](https://github.com/anthropics/anthropic-sdk-typescript/commit/b0235c7b3ac174b3c8e670e381b4aa038e61c826))
+
+
+### Chores
+
+* **bedrock:** bump dependency on @anthropic-ai/sdk ([8745ca2](https://github.com/anthropics/anthropic-sdk-typescript/commit/8745ca2160f5af4d89e5732a44e560c5e2787aa8))
+* **internal:** fix import ([628b55e](https://github.com/anthropics/anthropic-sdk-typescript/commit/628b55ef5ff8f0245287ecaea688480a0174e2e9))
+* **internal:** minor restructuring ([#664](https://github.com/anthropics/anthropic-sdk-typescript/issues/664)) ([57aefa7](https://github.com/anthropics/anthropic-sdk-typescript/commit/57aefa73230d54da24d787a89adc277481986d02))
+* **vertex:** bump dependency on @anthropic-ai/sdk ([a1c7fcd](https://github.com/anthropics/anthropic-sdk-typescript/commit/a1c7fcdce081f860cbb1148c3862e3303ddb8a62))
+
+## 0.35.0 (2025-01-21)
+
+Full Changelog: [sdk-v0.34.0...sdk-v0.35.0](https://github.com/anthropics/anthropic-sdk-typescript/compare/sdk-v0.34.0...sdk-v0.35.0)
+
+### Features
+
+* add beta message streaming helpers ([#655](https://github.com/anthropics/anthropic-sdk-typescript/issues/655)) ([d7b5af1](https://github.com/anthropics/anthropic-sdk-typescript/commit/d7b5af1629dbcefdb7bfdca271ab497567830227))
+* **stream:** add `.withResponse()` ([#654](https://github.com/anthropics/anthropic-sdk-typescript/issues/654)) ([b54477f](https://github.com/anthropics/anthropic-sdk-typescript/commit/b54477f20c92db4c2c5ed89af5d46c36b035bf1e))
+* **streaming:** add `.request_id` getter ([4572478](https://github.com/anthropics/anthropic-sdk-typescript/commit/4572478266a67e12e32ffef69817cbc495943b1d))
+
+
+### Bug Fixes
+
+* **docs:** correct results return type ([#657](https://github.com/anthropics/anthropic-sdk-typescript/issues/657)) ([4e6d031](https://github.com/anthropics/anthropic-sdk-typescript/commit/4e6d031a41625ebf9c4311638e0c149179fcae0c))
+* **examples:** add token counting example ([2498e2e](https://github.com/anthropics/anthropic-sdk-typescript/commit/2498e2eaf49d66a664ed1fdcd7bbd331979cf5b2))
+* send correct Accept header for certain endpoints ([#651](https://github.com/anthropics/anthropic-sdk-typescript/issues/651)) ([17ffaeb](https://github.com/anthropics/anthropic-sdk-typescript/commit/17ffaeba5af48d13b08483973b82cfe1ae79347f))
+* **vertex:** add beta.messages.countTokens method ([51d3f23](https://github.com/anthropics/anthropic-sdk-typescript/commit/51d3f23a7cc1bea798cc8e4041e08114ebc3a4eb))
+
+
+### Chores
+
+* deprecate more models ([661f5f9](https://github.com/anthropics/anthropic-sdk-typescript/commit/661f5f9d9b24f3661df246dcf101dd9812b3e19e))
+* **internal:** add test ([#660](https://github.com/anthropics/anthropic-sdk-typescript/issues/660)) ([3ec7d1a](https://github.com/anthropics/anthropic-sdk-typescript/commit/3ec7d1a9eea30255b24cdb16c1a26705bdfea0ac))
+* **internal:** temporary revert commit ([#643](https://github.com/anthropics/anthropic-sdk-typescript/issues/643)) ([43dd43c](https://github.com/anthropics/anthropic-sdk-typescript/commit/43dd43c4c8ab69d5a60e59473af7dff5f7799048))
+* **internal:** update examples ([#649](https://github.com/anthropics/anthropic-sdk-typescript/issues/649)) ([036a239](https://github.com/anthropics/anthropic-sdk-typescript/commit/036a239800fec7e6cbc439f125101d5475eae5b3))
+* **types:** add `| undefined` to client options properties ([#656](https://github.com/anthropics/anthropic-sdk-typescript/issues/656)) ([d642298](https://github.com/anthropics/anthropic-sdk-typescript/commit/d642298334529ff95b9d7ac497d548a6b04dbcfb))
+
+
+### Documentation
+
+* **readme:** fix misplaced period ([#650](https://github.com/anthropics/anthropic-sdk-typescript/issues/650)) ([8754744](https://github.com/anthropics/anthropic-sdk-typescript/commit/87547448c8b4bf69a61756af1f12927f33b68680))
+* **readme:** fix Request IDs example ([#659](https://github.com/anthropics/anthropic-sdk-typescript/issues/659)) ([6d3162d](https://github.com/anthropics/anthropic-sdk-typescript/commit/6d3162da1ddb964b75e575376f278468ba1ed9f5))
+
+## 0.34.0 (2024-12-20)
+
+Full Changelog: [sdk-v0.33.1...sdk-v0.34.0](https://github.com/anthropics/anthropic-sdk-typescript/compare/sdk-v0.33.1...sdk-v0.34.0)
+
+### Features
+
+* **api:** add message batch delete endpoint ([#640](https://github.com/anthropics/anthropic-sdk-typescript/issues/640)) ([54f7e1f](https://github.com/anthropics/anthropic-sdk-typescript/commit/54f7e1ffb9a2956ee27a4a715b84717aa681eb7c))
+
+
+### Bug Fixes
+
+* **client:** normalize method ([#639](https://github.com/anthropics/anthropic-sdk-typescript/issues/639)) ([384bb04](https://github.com/anthropics/anthropic-sdk-typescript/commit/384bb042dd854ed753c6bd8e25f522d0e042bfbf))
+
+
+### Chores
+
+* bump testing data uri ([#637](https://github.com/anthropics/anthropic-sdk-typescript/issues/637)) ([3f23530](https://github.com/anthropics/anthropic-sdk-typescript/commit/3f23530fb55d9fec7278967ea02600e44e9f58e2))
+* **internal:** temporary revert commit ([#643](https://github.com/anthropics/anthropic-sdk-typescript/issues/643)) ([8057b1e](https://github.com/anthropics/anthropic-sdk-typescript/commit/8057b1eb67ccccee042a45f2efe53cccced15682))
+
+
+### Documentation
+
+* minor formatting changes ([#641](https://github.com/anthropics/anthropic-sdk-typescript/issues/641)) ([8b362ee](https://github.com/anthropics/anthropic-sdk-typescript/commit/8b362ee72954b31b4de920b35aed97255efa5e2e))
+* **readme:** add alpha callout ([#646](https://github.com/anthropics/anthropic-sdk-typescript/issues/646)) ([640304c](https://github.com/anthropics/anthropic-sdk-typescript/commit/640304c7c7e8bc67cbf799a646169736d89ad4c8))
+
+## 0.33.1 (2024-12-17)
+
+Full Changelog: [sdk-v0.33.0...sdk-v0.33.1](https://github.com/anthropics/anthropic-sdk-typescript/compare/sdk-v0.33.0...sdk-v0.33.1)
+
+### Bug Fixes
+
+* **vertex:** remove `anthropic_version` deletion for token counting ([88221be](https://github.com/anthropics/anthropic-sdk-typescript/commit/88221be305d6e13ccf92e6e9cdb00daba45b57db))
+
+
+### Chores
+
+* **internal:** fix some typos ([#633](https://github.com/anthropics/anthropic-sdk-typescript/issues/633)) ([a0298f5](https://github.com/anthropics/anthropic-sdk-typescript/commit/a0298f5f67b8ecd25de416dbb3eada68b86befd7))
+
+## 0.33.0 (2024-12-17)
+
+Full Changelog: [sdk-v0.32.1...sdk-v0.33.0](https://github.com/anthropics/anthropic-sdk-typescript/compare/sdk-v0.32.1...sdk-v0.33.0)
+
+### Features
+
+* **api:** general availability updates ([93d1316](https://github.com/anthropics/anthropic-sdk-typescript/commit/93d13168f950b2cdfc3b7c6664205b06418fea79))
+* **api:** general availability updates ([#631](https://github.com/anthropics/anthropic-sdk-typescript/issues/631)) ([b5c92e5](https://github.com/anthropics/anthropic-sdk-typescript/commit/b5c92e5b74c370ac3f9ba28e915bd54588a42be0))
+* **client:** add ._request_id property to object responses ([#596](https://github.com/anthropics/anthropic-sdk-typescript/issues/596)) ([9d6d584](https://github.com/anthropics/anthropic-sdk-typescript/commit/9d6d58430a216df9888434158bf628ae4b067aba))
+* **internal:** make git install file structure match npm ([#617](https://github.com/anthropics/anthropic-sdk-typescript/issues/617)) ([d3dd7d5](https://github.com/anthropics/anthropic-sdk-typescript/commit/d3dd7d5f8cad460dd18725d5c0f3c8db3f00115d))
+* **vertex:** support token counting ([9e76b4d](https://github.com/anthropics/anthropic-sdk-typescript/commit/9e76b4dc22d62b1239b382bb771b69ad8cff9442))
+
+
+### Bug Fixes
+
+* **docs:** add missing await to pagination example ([#609](https://github.com/anthropics/anthropic-sdk-typescript/issues/609)) ([e303077](https://github.com/anthropics/anthropic-sdk-typescript/commit/e303077ebab73c41adee7d25375b767c3fc78998))
+* **types:** remove anthropic-instant-1.2 model ([#599](https://github.com/anthropics/anthropic-sdk-typescript/issues/599)) ([e222a4d](https://github.com/anthropics/anthropic-sdk-typescript/commit/e222a4d0518aa80671c66ee2a25d87dc87a51316))
+
+
+### Chores
+
+* **api:** update spec version ([#607](https://github.com/anthropics/anthropic-sdk-typescript/issues/607)) ([ea44f9a](https://github.com/anthropics/anthropic-sdk-typescript/commit/ea44f9ac49dcc25a5dfa53880ebf61318ee90f6c))
+* **api:** update spec version ([#629](https://github.com/anthropics/anthropic-sdk-typescript/issues/629)) ([a25295c](https://github.com/anthropics/anthropic-sdk-typescript/commit/a25295cd6db7b57162fdd9049eb8a3c37bb94f08))
+* **bedrock,vertex:** remove unsupported countTokens method ([#597](https://github.com/anthropics/anthropic-sdk-typescript/issues/597)) ([17b7da5](https://github.com/anthropics/anthropic-sdk-typescript/commit/17b7da5ee6f35ea2bdd53a66a662871affae6341))
+* **bedrock:** remove unsupported methods ([6458dc1](https://github.com/anthropics/anthropic-sdk-typescript/commit/6458dc14544c16240a6580a21a36fcf5bde594b2))
+* **ci:** remove unneeded workflow ([#594](https://github.com/anthropics/anthropic-sdk-typescript/issues/594)) ([7572e48](https://github.com/anthropics/anthropic-sdk-typescript/commit/7572e48dbccb2090562399c7ff2d01503c86f445))
+* **client:** drop unused devDependency ([#610](https://github.com/anthropics/anthropic-sdk-typescript/issues/610)) ([5d0d523](https://github.com/anthropics/anthropic-sdk-typescript/commit/5d0d523390d8c34cae836c423940b67defb9d2aa))
+* improve browser error message ([#613](https://github.com/anthropics/anthropic-sdk-typescript/issues/613)) ([c26121e](https://github.com/anthropics/anthropic-sdk-typescript/commit/c26121e84039b7430995b6363876ea9795ba31ed))
+* **internal:** bump cross-spawn to v7.0.6 ([#624](https://github.com/anthropics/anthropic-sdk-typescript/issues/624)) ([e58ba9a](https://github.com/anthropics/anthropic-sdk-typescript/commit/e58ba9a177ec5c8545fd3a3f4fd3d2e7c722f023))
+* **internal:** remove unnecessary getRequestClient function ([#623](https://github.com/anthropics/anthropic-sdk-typescript/issues/623)) ([882c45f](https://github.com/anthropics/anthropic-sdk-typescript/commit/882c45f5a0bd1f4b996d59e6589a205c2111f46b))
+* **internal:** update isAbsoluteURL ([#627](https://github.com/anthropics/anthropic-sdk-typescript/issues/627)) ([2528ea0](https://github.com/anthropics/anthropic-sdk-typescript/commit/2528ea0dcfc83f38e76b58eaadaa5e8c5c0b188d))
+* **internal:** update spec ([#630](https://github.com/anthropics/anthropic-sdk-typescript/issues/630)) ([82cac06](https://github.com/anthropics/anthropic-sdk-typescript/commit/82cac065e2711467773c0ea62848cdf139ed5a11))
+* **internal:** use reexports not destructuring ([#604](https://github.com/anthropics/anthropic-sdk-typescript/issues/604)) ([e4daff2](https://github.com/anthropics/anthropic-sdk-typescript/commit/e4daff2b6a3fb42876ebd06ed4947c88cff919d8))
+* remove redundant word in comment ([#615](https://github.com/anthropics/anthropic-sdk-typescript/issues/615)) ([ef57a10](https://github.com/anthropics/anthropic-sdk-typescript/commit/ef57a103bcfc922a724a7c878f970dbd369b305e))
+* **tests:** limit array example length ([#611](https://github.com/anthropics/anthropic-sdk-typescript/issues/611)) ([91dc181](https://github.com/anthropics/anthropic-sdk-typescript/commit/91dc1812db2cc9e1f4660a13106bad932518b7cf))
+* **types:** nicer error class types + jsdocs ([#626](https://github.com/anthropics/anthropic-sdk-typescript/issues/626)) ([0287993](https://github.com/anthropics/anthropic-sdk-typescript/commit/0287993912ef81bd2c49603d120f49f4f979d75e))
+
+
+### Documentation
+
+* remove suggestion to use `npm` call out ([#614](https://github.com/anthropics/anthropic-sdk-typescript/issues/614)) ([6369261](https://github.com/anthropics/anthropic-sdk-typescript/commit/6369261e3597351f17b8f1a3945ca56b00eba177))
+* use latest sonnet in example snippets ([#625](https://github.com/anthropics/anthropic-sdk-typescript/issues/625)) ([f70882b](https://github.com/anthropics/anthropic-sdk-typescript/commit/f70882b0e8119a414b01b9f0b85fbe1ccb06f122))
+
+## 0.32.1 (2024-11-05)
+
+Full Changelog: [sdk-v0.32.0...sdk-v0.32.1](https://github.com/anthropics/anthropic-sdk-typescript/compare/sdk-v0.32.0...sdk-v0.32.1)
+
+### Bug Fixes
+
+* **bedrock:** don't mutate request body inputs ([f83b535](https://github.com/anthropics/anthropic-sdk-typescript/commit/f83b53520262219229cecc388f95d92be83c09d5))
+* **vertex:** don't mutate request body inputs ([e9a82e5](https://github.com/anthropics/anthropic-sdk-typescript/commit/e9a82e56f0d7fff956c2ebd19e103a190f8beb83))
+
+## 0.32.0 (2024-11-04)
+
+Full Changelog: [sdk-v0.31.0...sdk-v0.32.0](https://github.com/anthropics/anthropic-sdk-typescript/compare/sdk-v0.31.0...sdk-v0.32.0)
+
+### Features
+
+* **api:** add new haiku model ([#587](https://github.com/anthropics/anthropic-sdk-typescript/issues/587)) ([983b13c](https://github.com/anthropics/anthropic-sdk-typescript/commit/983b13c9e4f55b832fc4fddfd46bed89756d745e))
+
+
+### Bug Fixes
+
+* don't require deno to run build-deno ([#586](https://github.com/anthropics/anthropic-sdk-typescript/issues/586)) ([0e431d6](https://github.com/anthropics/anthropic-sdk-typescript/commit/0e431d61ec318aae09687dee0bfb922ccb8ddd15))
+* **types:** add missing token-counting-2024-11-01 ([#583](https://github.com/anthropics/anthropic-sdk-typescript/issues/583)) ([13d629c](https://github.com/anthropics/anthropic-sdk-typescript/commit/13d629c9b444a32b69729df7792199556a2b95f2))
+
+
+### Chores
+
+* remove unused build-deno condition ([#585](https://github.com/anthropics/anthropic-sdk-typescript/issues/585)) ([491e8fe](https://github.com/anthropics/anthropic-sdk-typescript/commit/491e8fe28745aeb55217809f94ad4e37900f4675))
+
+## 0.31.0 (2024-11-01)
+
+Full Changelog: [sdk-v0.30.1...sdk-v0.31.0](https://github.com/anthropics/anthropic-sdk-typescript/compare/sdk-v0.30.1...sdk-v0.31.0)
+
+### Features
+
+* **api:** add message token counting & PDFs support ([#582](https://github.com/anthropics/anthropic-sdk-typescript/issues/582)) ([b593837](https://github.com/anthropics/anthropic-sdk-typescript/commit/b593837ae2d320414a26b5ec53aa6d3f30a3e6bc))
+
+
+### Bug Fixes
+
+* **countTokens:** correctly set beta header ([1680757](https://github.com/anthropics/anthropic-sdk-typescript/commit/16807572af923831e384869a0a6ccccaa8dbec84))
+* **internal:** support pnpm git installs ([#579](https://github.com/anthropics/anthropic-sdk-typescript/issues/579)) ([86bb102](https://github.com/anthropics/anthropic-sdk-typescript/commit/86bb102ce33346930a8b0a553a909fcc7d964a36))
+* **types:** add missing token-counting-2024-11-01 ([aff1546](https://github.com/anthropics/anthropic-sdk-typescript/commit/aff1546cd84ce50a52d17bcdcaba54e60e92955a))
+
+
+### Reverts
+
+* disable isolatedModules and change imports ([#575](https://github.com/anthropics/anthropic-sdk-typescript/issues/575)) ([2c3b176](https://github.com/anthropics/anthropic-sdk-typescript/commit/2c3b176fc551c21abef240b4fa6a98d33ca52048))
+
+
+### Chores
+
+* **internal:** update spec version ([#571](https://github.com/anthropics/anthropic-sdk-typescript/issues/571)) ([5760012](https://github.com/anthropics/anthropic-sdk-typescript/commit/576001245f0b5222cb9b17fafb8619f68d51bec3))
+
+
+### Documentation
+
+* **readme:** minor typo fixes ([#577](https://github.com/anthropics/anthropic-sdk-typescript/issues/577)) ([8412854](https://github.com/anthropics/anthropic-sdk-typescript/commit/8412854c05837cdb8b8ff898bef2a4e0dbb23cd2))
+
+
+### Refactors
+
+* enable isolatedModules and change imports ([#573](https://github.com/anthropics/anthropic-sdk-typescript/issues/573)) ([9068b4b](https://github.com/anthropics/anthropic-sdk-typescript/commit/9068b4b0a0a08a69a9330ce03418135e11aa539e))
+* use type imports for type-only imports ([#580](https://github.com/anthropics/anthropic-sdk-typescript/issues/580)) ([2c8a337](https://github.com/anthropics/anthropic-sdk-typescript/commit/2c8a337033e850b7282d35b37c3ce36d5b0dabbe))
+
+## 0.30.1 (2024-10-23)
+
+Full Changelog: [sdk-v0.30.0...sdk-v0.30.1](https://github.com/anthropics/anthropic-sdk-typescript/compare/sdk-v0.30.0...sdk-v0.30.1)
+
+### Bug Fixes
+
+* **bedrock:** correct messages beta handling ([9b57586](https://github.com/anthropics/anthropic-sdk-typescript/commit/9b57586456221f8900902b8e85c7c017959c150a))
+* **vertex:** correct messages beta handling ([26f21ee](https://github.com/anthropics/anthropic-sdk-typescript/commit/26f21ee5f524f4cbfb7a97d40aa62553608b1d99))
+
+
+### Chores
+
+* **internal:** bumps eslint and related dependencies ([#570](https://github.com/anthropics/anthropic-sdk-typescript/issues/570)) ([0b3ebb0](https://github.com/anthropics/anthropic-sdk-typescript/commit/0b3ebb01c07356e09f0100c235200ca91384aa6a))
+
+## 0.30.0 (2024-10-22)
+
+Full Changelog: [sdk-v0.29.2...sdk-v0.30.0](https://github.com/anthropics/anthropic-sdk-typescript/compare/sdk-v0.29.2...sdk-v0.30.0)
+
+### Features
+
+* **api:** add new model and `computer-use-2024-10-22` beta ([6981d89](https://github.com/anthropics/anthropic-sdk-typescript/commit/6981d89d3efe6ae8d35c7562527a6c81ad8ed78f))
+* **bedrock:** add beta.messages.create() method ([6317592](https://github.com/anthropics/anthropic-sdk-typescript/commit/63175920a016a2ad187dd1127d263357cf6c007e))
+* **vertex:** add beta.messages.create() ([22cfdba](https://github.com/anthropics/anthropic-sdk-typescript/commit/22cfdba2a3a54e916f2efcbce62990544d3e5f5f))
+
+
+### Bug Fixes
+
+* **client:** respect x-stainless-retry-count default headers ([#562](https://github.com/anthropics/anthropic-sdk-typescript/issues/562)) ([274573f](https://github.com/anthropics/anthropic-sdk-typescript/commit/274573f5bc74e382302071850dee058ea2920f0c))
+
+
+### Chores
+
+* **api:** add title ([#564](https://github.com/anthropics/anthropic-sdk-typescript/issues/564)) ([a8b7544](https://github.com/anthropics/anthropic-sdk-typescript/commit/a8b7544e56d4a1dfa1f6de530ddaa728ae52c87f))
+* **internal:** update spec ([#566](https://github.com/anthropics/anthropic-sdk-typescript/issues/566)) ([5b998ea](https://github.com/anthropics/anthropic-sdk-typescript/commit/5b998eaf3216fba2283e7762faa115bd5f47a239))
+
+## 0.29.2 (2024-10-17)
+
+Full Changelog: [sdk-v0.29.1...sdk-v0.29.2](https://github.com/anthropics/anthropic-sdk-typescript/compare/sdk-v0.29.1...sdk-v0.29.2)
+
+### Bug Fixes
+
+* **types:** remove misleading betas TypedDict property for the Batch API ([#559](https://github.com/anthropics/anthropic-sdk-typescript/issues/559)) ([4de5d0a](https://github.com/anthropics/anthropic-sdk-typescript/commit/4de5d0a9d0a8733987d13dcef968146620d3b110))
+
+## 0.29.1 (2024-10-15)
+
+Full Changelog: [sdk-v0.29.0...sdk-v0.29.1](https://github.com/anthropics/anthropic-sdk-typescript/compare/sdk-v0.29.0...sdk-v0.29.1)
+
+### Bug Fixes
+
+* **beta:** merge betas param with the default value ([#556](https://github.com/anthropics/anthropic-sdk-typescript/issues/556)) ([5520bbc](https://github.com/anthropics/anthropic-sdk-typescript/commit/5520bbccaa75fbab5aa321402637c77651ae3c87))
+
+
+### Chores
+
+* **internal:** update spec URL ([#554](https://github.com/anthropics/anthropic-sdk-typescript/issues/554)) ([1fb6448](https://github.com/anthropics/anthropic-sdk-typescript/commit/1fb64489aa1b13c266692c7d14d2dd9b5350b7fc))
+
+## 0.29.0 (2024-10-08)
+
+Full Changelog: [sdk-v0.28.0...sdk-v0.29.0](https://github.com/anthropics/anthropic-sdk-typescript/compare/sdk-v0.28.0...sdk-v0.29.0)
+
+### Features
+
+* **api:** add message batches api ([4f114d5](https://github.com/anthropics/anthropic-sdk-typescript/commit/4f114d5121f5c66619c7bdd18d0aa2b7a627e3ff))
+
+
+### Chores
+
+* **internal:** move LineDecoder to a separate file ([#541](https://github.com/anthropics/anthropic-sdk-typescript/issues/541)) ([fd42469](https://github.com/anthropics/anthropic-sdk-typescript/commit/fd4246928d11347147955ca19efcd4c5b0accb10))
+* **internal:** pass props through internal parser ([#549](https://github.com/anthropics/anthropic-sdk-typescript/issues/549)) ([dd71955](https://github.com/anthropics/anthropic-sdk-typescript/commit/dd7195501e0419ca1e6bafd7341b0726e8b809ab))
+
+
+### Refactors
+
+* **types:** improve metadata type names ([#547](https://github.com/anthropics/anthropic-sdk-typescript/issues/547)) ([cef499c](https://github.com/anthropics/anthropic-sdk-typescript/commit/cef499cf3b01643f7e5e3c09524f49e198b940be))
+* **types:** improve metadata types ([#546](https://github.com/anthropics/anthropic-sdk-typescript/issues/546)) ([3fe538b](https://github.com/anthropics/anthropic-sdk-typescript/commit/3fe538bb8cd50e6d68cacc0846f287dc539238d3))
+* **types:** improve tool type names ([#543](https://github.com/anthropics/anthropic-sdk-typescript/issues/543)) ([18dbe77](https://github.com/anthropics/anthropic-sdk-typescript/commit/18dbe7773781eb3917c9609bf490b515d75e6841))
+* **types:** improve tool type names ([#544](https://github.com/anthropics/anthropic-sdk-typescript/issues/544)) ([fc2d823](https://github.com/anthropics/anthropic-sdk-typescript/commit/fc2d8230c6fb68e247743ffa82c3ba9f8b989adf))
+
+## 0.28.0 (2024-10-04)
+
+Full Changelog: [sdk-v0.27.3...sdk-v0.28.0](https://github.com/anthropics/anthropic-sdk-typescript/compare/sdk-v0.27.3...sdk-v0.28.0)
+
+### Features
+
+* **api:** support disabling parallel tool use ([#540](https://github.com/anthropics/anthropic-sdk-typescript/issues/540)) ([df0032f](https://github.com/anthropics/anthropic-sdk-typescript/commit/df0032f263884190b31a63ddcb20429372617deb))
+* **client:** allow overriding retry count header ([#536](https://github.com/anthropics/anthropic-sdk-typescript/issues/536)) ([ec11f91](https://github.com/anthropics/anthropic-sdk-typescript/commit/ec11f9189e9a24f413a9d48b21a10ce88e367ac3))
+* **client:** send retry count header ([#533](https://github.com/anthropics/anthropic-sdk-typescript/issues/533)) ([401b81c](https://github.com/anthropics/anthropic-sdk-typescript/commit/401b81c55c1f998dc917fc268884c162f214df20))
+
+
+### Bug Fixes
+
+* **types:** remove leftover polyfill usage ([#532](https://github.com/anthropics/anthropic-sdk-typescript/issues/532)) ([ac188b2](https://github.com/anthropics/anthropic-sdk-typescript/commit/ac188b29670d409c15e740bca26f8ef488cb7d05))
+
+
+### Chores
+
+* better object fallback behaviour for casting errors ([#503](https://github.com/anthropics/anthropic-sdk-typescript/issues/503)) ([3660e97](https://github.com/anthropics/anthropic-sdk-typescript/commit/3660e977e7127b10446b24b0a76b0133b3f666de))
+* better object fallback behaviour for casting errors ([#526](https://github.com/anthropics/anthropic-sdk-typescript/issues/526)) ([4ffb2e4](https://github.com/anthropics/anthropic-sdk-typescript/commit/4ffb2e4e1f5fef3ae58d9f4c99a63e75dd459c5b))
+* **internal:** add dev dependency ([#531](https://github.com/anthropics/anthropic-sdk-typescript/issues/531)) ([a9c127b](https://github.com/anthropics/anthropic-sdk-typescript/commit/a9c127b2854d0cf7efd49e7d46ff10fe52372949))
+
+
+### Documentation
+
+* improve and reference contributing documentation ([#539](https://github.com/anthropics/anthropic-sdk-typescript/issues/539)) ([cbef925](https://github.com/anthropics/anthropic-sdk-typescript/commit/cbef925519c63f09626ea7aa61ab8ba9d36bc35d))
+* update CONTRIBUTING.md ([#528](https://github.com/anthropics/anthropic-sdk-typescript/issues/528)) ([2609dec](https://github.com/anthropics/anthropic-sdk-typescript/commit/2609dec770d33b828c957e431f2d03871e67e629))
+
+## 0.27.3 (2024-09-09)
+
+Full Changelog: [sdk-v0.27.2...sdk-v0.27.3](https://github.com/anthropics/anthropic-sdk-typescript/compare/sdk-v0.27.2...sdk-v0.27.3)
+
+### Bug Fixes
+
+* **streaming:** correct error message serialisation ([#524](https://github.com/anthropics/anthropic-sdk-typescript/issues/524)) ([e150fa4](https://github.com/anthropics/anthropic-sdk-typescript/commit/e150fa47d0cd4cbbe1269e3971085d4a434fc3ba))
+* **uploads:** avoid making redundant memory copies ([#520](https://github.com/anthropics/anthropic-sdk-typescript/issues/520)) ([b6d2638](https://github.com/anthropics/anthropic-sdk-typescript/commit/b6d2638387612def84cebac2dedd5fbbea776d09))
+
+
+### Chores
+
+* **docs:** update browser support information ([#522](https://github.com/anthropics/anthropic-sdk-typescript/issues/522)) ([ce7aeb5](https://github.com/anthropics/anthropic-sdk-typescript/commit/ce7aeb59ccba4e4d19cb9aa88d7055fb585865ae))
+
+## 0.27.2 (2024-09-04)
+
+Full Changelog: [sdk-v0.27.1...sdk-v0.27.2](https://github.com/anthropics/anthropic-sdk-typescript/compare/sdk-v0.27.1...sdk-v0.27.2)
+
+### Bug Fixes
+
+* **client:** correct File construction from node-fetch Responses ([#518](https://github.com/anthropics/anthropic-sdk-typescript/issues/518)) ([62ae46f](https://github.com/anthropics/anthropic-sdk-typescript/commit/62ae46fb1e1b360850aafc9e935411c9b7d1c3bb))
+
+
+### Chores
+
+* **api:** deprecate claude-1 models ([53644d2](https://github.com/anthropics/anthropic-sdk-typescript/commit/53644d2690e62623afc04383cad0126f98ea37e8))
+* **ci:** install deps via ./script/bootstrap ([#515](https://github.com/anthropics/anthropic-sdk-typescript/issues/515)) ([90a8da1](https://github.com/anthropics/anthropic-sdk-typescript/commit/90a8da1dc937e9aea9fdf6862c3ddb414b39963a))
+* **internal:** dependency updates ([#519](https://github.com/anthropics/anthropic-sdk-typescript/issues/519)) ([b7b0cd6](https://github.com/anthropics/anthropic-sdk-typescript/commit/b7b0cd6579cd987662e7118f8563f68c0903f8da))
+* run tsc as part of lint script ([#513](https://github.com/anthropics/anthropic-sdk-typescript/issues/513)) ([c8127cf](https://github.com/anthropics/anthropic-sdk-typescript/commit/c8127cfa3bdd1370934fe122018e20fc659a4dbb))
+
+## 0.27.1 (2024-08-27)
+
+Full Changelog: [sdk-v0.27.0...sdk-v0.27.1](https://github.com/anthropics/anthropic-sdk-typescript/compare/sdk-v0.27.0...sdk-v0.27.1)
+
+### Chores
+
+* **ci:** check for build errors ([#511](https://github.com/anthropics/anthropic-sdk-typescript/issues/511)) ([3ab1d3d](https://github.com/anthropics/anthropic-sdk-typescript/commit/3ab1d3d936f5ba3500f2ce87012c38bd198c3cbd))
+
+## 0.27.0 (2024-08-21)
+
+Full Changelog: [sdk-v0.26.1...sdk-v0.27.0](https://github.com/anthropics/anthropic-sdk-typescript/compare/sdk-v0.26.1...sdk-v0.27.0)
+
+### Features
+
+* **client:** add support for browser usage ([#504](https://github.com/anthropics/anthropic-sdk-typescript/issues/504)) ([93c5f16](https://github.com/anthropics/anthropic-sdk-typescript/commit/93c5f16b4b8c3404bd67d6eb5a0556a8b0a5d027))
+
+
+### Documentation
+
+* **readme:** update formatting and clarity for CORS flag ([9cb2c35](https://github.com/anthropics/anthropic-sdk-typescript/commit/9cb2c35f92827eb8654b1669db5ba702770fcae4))
+
+## 0.26.1 (2024-08-15)
+
+Full Changelog: [sdk-v0.26.0...sdk-v0.26.1](https://github.com/anthropics/anthropic-sdk-typescript/compare/sdk-v0.26.0...sdk-v0.26.1)
+
+### Chores
+
+* **ci:** add CODEOWNERS file ([#498](https://github.com/anthropics/anthropic-sdk-typescript/issues/498)) ([c34433f](https://github.com/anthropics/anthropic-sdk-typescript/commit/c34433fb6528fdd00d189ea0a3b177d95c7c7fa9))
+* **docs/api:** update prompt caching helpers ([04195a3](https://github.com/anthropics/anthropic-sdk-typescript/commit/04195a345d62c98f826e5eecdad20f497db5b3e5))
+
+## 0.26.0 (2024-08-14)
+
+Full Changelog: [sdk-v0.25.2...sdk-v0.26.0](https://github.com/anthropics/anthropic-sdk-typescript/compare/sdk-v0.25.2...sdk-v0.26.0)
+
+### Features
+
+* **api:** add prompt caching beta ([c920b77](https://github.com/anthropics/anthropic-sdk-typescript/commit/c920b77fc67bd839bfeb6716ceab9d7c9bbe7393))
+* **client:** add streaming helpers ([39abc26](https://github.com/anthropics/anthropic-sdk-typescript/commit/39abc2635517d564ac8b7e63235f0a338fc4bed0))
+
+
+### Chores
+
+* **examples:** minor formatting changes ([#491](https://github.com/anthropics/anthropic-sdk-typescript/issues/491)) ([8afef58](https://github.com/anthropics/anthropic-sdk-typescript/commit/8afef584895ffa3f8382c98d2c0a3fc6138e9420))
+
+## 0.25.2 (2024-08-12)
+
+Full Changelog: [sdk-v0.25.1...sdk-v0.25.2](https://github.com/anthropics/anthropic-sdk-typescript/compare/sdk-v0.25.1...sdk-v0.25.2)
+
+### Chores
+
+* **ci:** bump prism mock server version ([#490](https://github.com/anthropics/anthropic-sdk-typescript/issues/490)) ([bfb27f5](https://github.com/anthropics/anthropic-sdk-typescript/commit/bfb27f54c9b4ff4f9ae06327db454f72431b5bf4))
+* **ci:** minor changes ([#488](https://github.com/anthropics/anthropic-sdk-typescript/issues/488)) ([747fd97](https://github.com/anthropics/anthropic-sdk-typescript/commit/747fd973af594cc52f244b33f31bcf8079733e7d))
+
+## 0.25.1 (2024-08-09)
+
+Full Changelog: [sdk-v0.25.0...sdk-v0.25.1](https://github.com/anthropics/anthropic-sdk-typescript/compare/sdk-v0.25.0...sdk-v0.25.1)
+
+### Chores
+
+* **internal:** update publish npm script ([#483](https://github.com/anthropics/anthropic-sdk-typescript/issues/483)) ([fb862ff](https://github.com/anthropics/anthropic-sdk-typescript/commit/fb862ff18be308ff710a2f97716f0ad1a62b9fbd))
+* **internal:** updates ([#487](https://github.com/anthropics/anthropic-sdk-typescript/issues/487)) ([67a3325](https://github.com/anthropics/anthropic-sdk-typescript/commit/67a3325aa05c5a19f06b0cb1e67517168427c300))
+* sync openapi version ([#481](https://github.com/anthropics/anthropic-sdk-typescript/issues/481)) ([5fd7e21](https://github.com/anthropics/anthropic-sdk-typescript/commit/5fd7e219732a4483c2edd9a812049569b31943c4))
+* sync openapi version ([#485](https://github.com/anthropics/anthropic-sdk-typescript/issues/485)) ([e74c522](https://github.com/anthropics/anthropic-sdk-typescript/commit/e74c522989cfb979ca916e416c7c14a349b32ef5))
+* sync openapi version ([#486](https://github.com/anthropics/anthropic-sdk-typescript/issues/486)) ([ad98e9e](https://github.com/anthropics/anthropic-sdk-typescript/commit/ad98e9eca5db4f5a04bf8c26e4c53050985cec33))
+
+## 0.25.0 (2024-07-29)
+
+Full Changelog: [sdk-v0.24.3...sdk-v0.25.0](https://github.com/anthropics/anthropic-sdk-typescript/compare/sdk-v0.24.3...sdk-v0.25.0)
+
+### Features
+
+* add back compat alias for InputJsonDelta ([8b08161](https://github.com/anthropics/anthropic-sdk-typescript/commit/8b081613a50821b8dfa8a1251d42337a20607411))
+* **client:** make request-id header more accessible ([#462](https://github.com/anthropics/anthropic-sdk-typescript/issues/462)) ([5ea6f8b](https://github.com/anthropics/anthropic-sdk-typescript/commit/5ea6f8be0696e3753d8624f72328a5cba3a86056))
+
+
+### Bug Fixes
+
+* **compat:** remove ReadableStream polyfill redundant since node v16 ([#478](https://github.com/anthropics/anthropic-sdk-typescript/issues/478)) ([75f5710](https://github.com/anthropics/anthropic-sdk-typescript/commit/75f5710d57e6f72b6770d32d9c6dd71bbfb43d85))
+* use relative paths ([#475](https://github.com/anthropics/anthropic-sdk-typescript/issues/475)) ([a8ca93c](https://github.com/anthropics/anthropic-sdk-typescript/commit/a8ca93cc40464dc76118f7dd72e94c52693f3d63))
+
+
+### Chores
+
+* **bedrock:** use `chunk` for internal SSE parsing instead of `completion` ([#472](https://github.com/anthropics/anthropic-sdk-typescript/issues/472)) ([0f6190a](https://github.com/anthropics/anthropic-sdk-typescript/commit/0f6190a69d8986ac3779441eba43d345ec3fb342))
+* **ci:** also run workflows for PRs targeting `next` ([#464](https://github.com/anthropics/anthropic-sdk-typescript/issues/464)) ([cc405a8](https://github.com/anthropics/anthropic-sdk-typescript/commit/cc405a8cc4ea26389b9d857d75818722d0bcbfcd))
+* **docs:** fix incorrect client var names ([#479](https://github.com/anthropics/anthropic-sdk-typescript/issues/479)) ([a247935](https://github.com/anthropics/anthropic-sdk-typescript/commit/a247935a86b87b90209f493921661d20c9bc6457))
+* **docs:** mention lack of support for web browser runtimes ([#468](https://github.com/anthropics/anthropic-sdk-typescript/issues/468)) ([968a7fb](https://github.com/anthropics/anthropic-sdk-typescript/commit/968a7fbb6cb779d17d9f6c485c0b61f241e327bc))
+* **docs:** minor update to formatting of API link in README ([#467](https://github.com/anthropics/anthropic-sdk-typescript/issues/467)) ([50b9f2b](https://github.com/anthropics/anthropic-sdk-typescript/commit/50b9f2b0c3feb4707af2b9e5f006a3f726782803))
+* **docs:** rename anthropic const to client ([#471](https://github.com/anthropics/anthropic-sdk-typescript/issues/471)) ([e1a7f9f](https://github.com/anthropics/anthropic-sdk-typescript/commit/e1a7f9f813077fb033c732c004c7bda85738a321))
+* **docs:** use client instead of package name in Node examples ([#469](https://github.com/anthropics/anthropic-sdk-typescript/issues/469)) ([8961ebf](https://github.com/anthropics/anthropic-sdk-typescript/commit/8961ebf54bbab898667119c8d9551e33a4de6846))
+* **internal:** add constant for default timeout ([#480](https://github.com/anthropics/anthropic-sdk-typescript/issues/480)) ([dc89753](https://github.com/anthropics/anthropic-sdk-typescript/commit/dc897537789c6b4bc31ee8238aad8ffaaa65df5e))
+* **internal:** minor changes to tests ([#465](https://github.com/anthropics/anthropic-sdk-typescript/issues/465)) ([c1fd563](https://github.com/anthropics/anthropic-sdk-typescript/commit/c1fd563693bd354a81e0ae55c7355144f06b7f0b))
+* **internal:** remove old reference to check-test-server ([8dc9afc](https://github.com/anthropics/anthropic-sdk-typescript/commit/8dc9afcf00c4a38c2d85171ebceafc5f6a47c117))
+* sync spec ([#470](https://github.com/anthropics/anthropic-sdk-typescript/issues/470)) ([b493aa4](https://github.com/anthropics/anthropic-sdk-typescript/commit/b493aa49d3d6e67be22c3e8255dd4286e6bbcdeb))
+* **tests:** update prism version ([#473](https://github.com/anthropics/anthropic-sdk-typescript/issues/473)) ([6f21ecf](https://github.com/anthropics/anthropic-sdk-typescript/commit/6f21ecfd781d04a7dc83641f069bb38d5584a320))
+
+
+### Refactors
+
+* extract model out to a named type and rename partialjson ([#477](https://github.com/anthropics/anthropic-sdk-typescript/issues/477)) ([d2d4e36](https://github.com/anthropics/anthropic-sdk-typescript/commit/d2d4e36b995cc84e8a3a7c64eb614011df399c5e))
+
+## 0.24.3 (2024-07-01)
+
+Full Changelog: [sdk-v0.24.2...sdk-v0.24.3](https://github.com/anthropics/anthropic-sdk-typescript/compare/sdk-v0.24.2...sdk-v0.24.3)
+
+### Bug Fixes
+
+* **types:** avoid errors on certain TS versions ([dd6aca5](https://github.com/anthropics/anthropic-sdk-typescript/commit/dd6aca56e58d52f09e67e227cccbf273b92adb13))
+
+## 0.24.2 (2024-06-28)
+
+Full Changelog: [sdk-v0.24.1...sdk-v0.24.2](https://github.com/anthropics/anthropic-sdk-typescript/compare/sdk-v0.24.1...sdk-v0.24.2)
+
+### Bug Fixes
+
+* **partial-json:** don't error on unknown tokens ([d212ce1](https://github.com/anthropics/anthropic-sdk-typescript/commit/d212ce152ca0b8846e7891636ad4ba287da50958))
+* **partial-json:** handle `null` token properly ([f53742f](https://github.com/anthropics/anthropic-sdk-typescript/commit/f53742f497a33b8f0639a63cec828d430a19cb27))
+
+
+### Chores
+
+* gitignore test server logs ([#451](https://github.com/anthropics/anthropic-sdk-typescript/issues/451)) ([ee1308f](https://github.com/anthropics/anthropic-sdk-typescript/commit/ee1308f74e5544ed0ce53bfd14ca49d0f03bcffb))
+* **tests:** add unit tests for partial-json-parser ([4fb3bea](https://github.com/anthropics/anthropic-sdk-typescript/commit/4fb3bea74538823c8ab359048f823029d4716277))
+
+## 0.24.1 (2024-06-25)
+
+Full Changelog: [sdk-v0.24.0...sdk-v0.24.1](https://github.com/anthropics/anthropic-sdk-typescript/compare/sdk-v0.24.0...sdk-v0.24.1)
+
+### Bug Fixes
+
+* **api:** add string to tool result block ([#448](https://github.com/anthropics/anthropic-sdk-typescript/issues/448)) ([87af4e9](https://github.com/anthropics/anthropic-sdk-typescript/commit/87af4e9280923ac73295f9b32086f82c2ed0c6f2))
+
+
+### Chores
+
+* **internal:** minor reformatting ([#444](https://github.com/anthropics/anthropic-sdk-typescript/issues/444)) ([46790bb](https://github.com/anthropics/anthropic-sdk-typescript/commit/46790bb462db01ae1725e120f2bdca0a89c8f722))
+* **internal:** replace deprecated aws-sdk packages with [@smithy](https://github.com/smithy) ([#447](https://github.com/anthropics/anthropic-sdk-typescript/issues/447)) ([4328cbf](https://github.com/anthropics/anthropic-sdk-typescript/commit/4328cbf9e64f8bfc9b95a9048b18729c9a938ba5))
+
+## 0.24.0 (2024-06-20)
+
+Full Changelog: [sdk-v0.23.0...sdk-v0.24.0](https://github.com/anthropics/anthropic-sdk-typescript/compare/sdk-v0.23.0...sdk-v0.24.0)
+
+### Features
+
+* **api:** add new claude-3-5-sonnet-20240620 model ([#438](https://github.com/anthropics/anthropic-sdk-typescript/issues/438)) ([8d60d1b](https://github.com/anthropics/anthropic-sdk-typescript/commit/8d60d1b6fb14988a2257727a1aaab9fbc8f75be3))
+
+## 0.23.0 (2024-06-14)
+
+Full Changelog: [sdk-v0.22.0...sdk-v0.23.0](https://github.com/anthropics/anthropic-sdk-typescript/compare/sdk-v0.22.0...sdk-v0.23.0)
+
+### Features
+
+* support `application/octet-stream` request bodies ([#436](https://github.com/anthropics/anthropic-sdk-typescript/issues/436)) ([3a8e6ed](https://github.com/anthropics/anthropic-sdk-typescript/commit/3a8e6ed7cc057b77fabeaf8f774f6231836022d7))
+
+
+### Bug Fixes
+
+* allow git imports for pnpm ([#433](https://github.com/anthropics/anthropic-sdk-typescript/issues/433)) ([a4f5263](https://github.com/anthropics/anthropic-sdk-typescript/commit/a4f5263692aea74fbf91d0591958aca16c820e00))
+
+## 0.22.0 (2024-05-30)
+
+Full Changelog: [sdk-v0.21.1...sdk-v0.22.0](https://github.com/anthropics/anthropic-sdk-typescript/compare/sdk-v0.21.1...sdk-v0.22.0)
+
+### Features
+
+* **api/types:** add stream event type aliases with a Raw prefix ([#428](https://github.com/anthropics/anthropic-sdk-typescript/issues/428)) ([1e367e4](https://github.com/anthropics/anthropic-sdk-typescript/commit/1e367e4020fa4691c565c89bdfba40c2f6060871))
+* **api:** tool use is GA and available on 3P ([#429](https://github.com/anthropics/anthropic-sdk-typescript/issues/429)) ([2decf85](https://github.com/anthropics/anthropic-sdk-typescript/commit/2decf85e7471932dad98c21d4ed2d476ab1588a6))
+* **bedrock:** support tools ([91fc61a](https://github.com/anthropics/anthropic-sdk-typescript/commit/91fc61ae7246705d26e96a95dae38b46e9ad9290))
+* **streaming:** add tools support ([4c83bb1](https://github.com/anthropics/anthropic-sdk-typescript/commit/4c83bb111735cd513c09d5ed57a5cb0888534afd))
+* **vertex:** support tools ([acf0aa7](https://github.com/anthropics/anthropic-sdk-typescript/commit/acf0aa7571425c8582740616e24883c2ec65218b))
+
+
+### Documentation
+
+* **helpers:** mention inputJson event ([0ef0e39](https://github.com/anthropics/anthropic-sdk-typescript/commit/0ef0e39a870541bbe800b03c1bdcf88eb6e1350c))
+* **readme:** add bundle size badge ([#426](https://github.com/anthropics/anthropic-sdk-typescript/issues/426)) ([bf7c1fd](https://github.com/anthropics/anthropic-sdk-typescript/commit/bf7c1fdaf3476d5c43079e8a0789ed0dd0c807a6))
+
+## 0.21.1 (2024-05-21)
+
+Full Changelog: [sdk-v0.21.0...sdk-v0.21.1](https://github.com/anthropics/anthropic-sdk-typescript/compare/sdk-v0.21.0...sdk-v0.21.1)
+
+### Chores
+
+* **docs:** fix typo ([#423](https://github.com/anthropics/anthropic-sdk-typescript/issues/423)) ([d42f458](https://github.com/anthropics/anthropic-sdk-typescript/commit/d42f45820347171bd456b0038406a53b098a4fa2))
+* **internal:** run build script over sub-packages ([6f04f66](https://github.com/anthropics/anthropic-sdk-typescript/commit/6f04f6689603ef5a59ce15f490d74392241694c3))
+
+## 0.21.0 (2024-05-16)
+
+Full Changelog: [sdk-v0.20.9...sdk-v0.21.0](https://github.com/anthropics/anthropic-sdk-typescript/compare/sdk-v0.20.9...sdk-v0.21.0)
+
+### Features
+
+* **api:** add `tool_choice` param, image block params inside `tool_result.content`, and streaming for `tool_use` blocks ([#418](https://github.com/anthropics/anthropic-sdk-typescript/issues/418)) ([421a1e6](https://github.com/anthropics/anthropic-sdk-typescript/commit/421a1e6f53cbb2f440e3668be3e13475976eebbf))
+
+
+### Chores
+
+* **docs:** add SECURITY.md ([#411](https://github.com/anthropics/anthropic-sdk-typescript/issues/411)) ([bf2ad84](https://github.com/anthropics/anthropic-sdk-typescript/commit/bf2ad8496d97de46b28575dfa37fa9cf15341eb4))
+* **internal:** add slightly better logging to scripts ([#415](https://github.com/anthropics/anthropic-sdk-typescript/issues/415)) ([7a042d2](https://github.com/anthropics/anthropic-sdk-typescript/commit/7a042d2dd5a5e310f15c02277c7f7a19e9772872))
+* **internal:** fix generated version numbers ([#413](https://github.com/anthropics/anthropic-sdk-typescript/issues/413)) ([ea77063](https://github.com/anthropics/anthropic-sdk-typescript/commit/ea770630897bb85caaecd39bccf478e4dd3f169c))
+
+## 0.20.9 (2024-05-07)
+
+Full Changelog: [sdk-v0.20.8...sdk-v0.20.9](https://github.com/anthropics/anthropic-sdk-typescript/compare/sdk-v0.20.8...sdk-v0.20.9)
+
+### Bug Fixes
+
+* **package:** revert recent client file change ([#409](https://github.com/anthropics/anthropic-sdk-typescript/issues/409)) ([9054249](https://github.com/anthropics/anthropic-sdk-typescript/commit/90542499ccf9f5d020e71e1c8dc8935e0c86ede4))
+
+
+### Chores
+
+* **internal:** add link to openapi spec ([#406](https://github.com/anthropics/anthropic-sdk-typescript/issues/406)) ([39c856d](https://github.com/anthropics/anthropic-sdk-typescript/commit/39c856d02abbb1d54efbacef087cc89b79bce017))
+* **internal:** bump prism version ([#407](https://github.com/anthropics/anthropic-sdk-typescript/issues/407)) ([0c1eb5d](https://github.com/anthropics/anthropic-sdk-typescript/commit/0c1eb5d5c500ea95fbf9a5ccce37c74170c6a84f))
+* **internal:** move client class to separate file ([#408](https://github.com/anthropics/anthropic-sdk-typescript/issues/408)) ([b5e1e4a](https://github.com/anthropics/anthropic-sdk-typescript/commit/b5e1e4a68c9fc00bede9134fa2214480bbbf5f2d))
+* **internal:** refactor scripts ([#404](https://github.com/anthropics/anthropic-sdk-typescript/issues/404)) ([f60e2d8](https://github.com/anthropics/anthropic-sdk-typescript/commit/f60e2d81bb241063507d2d7e728c78e78c1c5e51))
+
+## 0.20.8 (2024-04-29)
+
+Full Changelog: [sdk-v0.20.7...sdk-v0.20.8](https://github.com/anthropics/anthropic-sdk-typescript/compare/sdk-v0.20.7...sdk-v0.20.8)
+
+### Chores
+
+* **internal:** add scripts/test and scripts/mock ([#403](https://github.com/anthropics/anthropic-sdk-typescript/issues/403)) ([bdc6011](https://github.com/anthropics/anthropic-sdk-typescript/commit/bdc601192d651f9a7f6bf822c631db1d652d796c))
+* **internal:** use actions/checkout@v4 for codeflow ([#400](https://github.com/anthropics/anthropic-sdk-typescript/issues/400)) ([6d565d3](https://github.com/anthropics/anthropic-sdk-typescript/commit/6d565d366f8787e87cbe9ac851e42c13f88c2579))
+
+## 0.20.7 (2024-04-24)
+
+Full Changelog: [sdk-v0.20.6...sdk-v0.20.7](https://github.com/anthropics/anthropic-sdk-typescript/compare/sdk-v0.20.6...sdk-v0.20.7)
+
+### Chores
+
+* **internal:** use @swc/jest for running tests ([#397](https://github.com/anthropics/anthropic-sdk-typescript/issues/397)) ([0dbca67](https://github.com/anthropics/anthropic-sdk-typescript/commit/0dbca679f26f4a301810290601cc41f18525fe6e))
+
+## 0.20.6 (2024-04-17)
+
+Full Changelog: [sdk-v0.20.5...sdk-v0.20.6](https://github.com/anthropics/anthropic-sdk-typescript/compare/sdk-v0.20.5...sdk-v0.20.6)
+
+### Build System
+
+* configure UTF-8 locale in devcontainer ([#393](https://github.com/anthropics/anthropic-sdk-typescript/issues/393)) ([db10244](https://github.com/anthropics/anthropic-sdk-typescript/commit/db10244fa87a653c48bbcc2fffbad206dbe39645))
+
+## 0.20.5 (2024-04-15)
+
+Full Changelog: [sdk-v0.20.4...sdk-v0.20.5](https://github.com/anthropics/anthropic-sdk-typescript/compare/sdk-v0.20.4...sdk-v0.20.5)
+
+### Chores
+
+* **internal:** formatting ([#390](https://github.com/anthropics/anthropic-sdk-typescript/issues/390)) ([b7861b9](https://github.com/anthropics/anthropic-sdk-typescript/commit/b7861b940dc9c1c21eb6edf3bac8d1d62d2d372f))
+
+## 0.20.4 (2024-04-11)
+
+Full Changelog: [sdk-v0.20.3...sdk-v0.20.4](https://github.com/anthropics/anthropic-sdk-typescript/compare/sdk-v0.20.3...sdk-v0.20.4)
+
+### Chores
+
+* **internal:** update gitignore ([#388](https://github.com/anthropics/anthropic-sdk-typescript/issues/388)) ([03f03a2](https://github.com/anthropics/anthropic-sdk-typescript/commit/03f03a22532680a3b9bbd2e49116ef760b07a498))
+
+## 0.20.3 (2024-04-10)
+
+Full Changelog: [sdk-v0.20.2...sdk-v0.20.3](https://github.com/anthropics/anthropic-sdk-typescript/compare/sdk-v0.20.2...sdk-v0.20.3)
+
+### Bug Fixes
+
+* **vertex:** correct core client dependency constraint ([#384](https://github.com/anthropics/anthropic-sdk-typescript/issues/384)) ([de29699](https://github.com/anthropics/anthropic-sdk-typescript/commit/de2969902b68b5c46b6e682b8b947426c6ccf195))
+
+## 0.20.2 (2024-04-09)
+
+Full Changelog: [sdk-v0.20.1...sdk-v0.20.2](https://github.com/anthropics/anthropic-sdk-typescript/compare/sdk-v0.20.1...sdk-v0.20.2)
+
+### Chores
+
+* **internal:** update lock files ([#377](https://github.com/anthropics/anthropic-sdk-typescript/issues/377)) ([6d239ef](https://github.com/anthropics/anthropic-sdk-typescript/commit/6d239efaca730baba374a1b49f6b1a4037b3e163))
+
+## 0.20.1 (2024-04-04)
+
+Full Changelog: [sdk-v0.20.0...sdk-v0.20.1](https://github.com/anthropics/anthropic-sdk-typescript/compare/sdk-v0.20.0...sdk-v0.20.1)
+
+### Documentation
+
+* **readme:** mention tool use ([#375](https://github.com/anthropics/anthropic-sdk-typescript/issues/375)) ([72356dd](https://github.com/anthropics/anthropic-sdk-typescript/commit/72356dd9c498344074c292ffdab602d54c4fa13e))
+
+## 0.20.0 (2024-04-04)
+
+Full Changelog: [sdk-v0.19.2...sdk-v0.20.0](https://github.com/anthropics/anthropic-sdk-typescript/compare/sdk-v0.19.2...sdk-v0.20.0)
+
+### Features
+
+* **api:** tool use beta ([#374](https://github.com/anthropics/anthropic-sdk-typescript/issues/374)) ([e28514a](https://github.com/anthropics/anthropic-sdk-typescript/commit/e28514a305908f71e98bc33123bc99ed6bf7348f))
+
+
+### Bug Fixes
+
+* **types:** correctly mark type as a required property in requests ([#371](https://github.com/anthropics/anthropic-sdk-typescript/issues/371)) ([a04edd8](https://github.com/anthropics/anthropic-sdk-typescript/commit/a04edd8d7f4c552281b37a44099edf432d7fcb27))
+
+
+### Chores
+
+* **types:** consistent naming for text block types ([#373](https://github.com/anthropics/anthropic-sdk-typescript/issues/373)) ([84a6a58](https://github.com/anthropics/anthropic-sdk-typescript/commit/84a6a58ff978cc274b85656ca4394396e8b360e3))
+
+## 0.19.2 (2024-04-04)
+
+Full Changelog: [sdk-v0.19.1...sdk-v0.19.2](https://github.com/anthropics/anthropic-sdk-typescript/compare/sdk-v0.19.1...sdk-v0.19.2)
+
+### Bug Fixes
+
+* **streaming:** handle special line characters and fix multi-byte character decoding ([#370](https://github.com/anthropics/anthropic-sdk-typescript/issues/370)) ([7a97b38](https://github.com/anthropics/anthropic-sdk-typescript/commit/7a97b38e389809ef75c307d26fc671c829b5ea29))
+
+
+### Chores
+
+* **deps:** bump yarn to v1.22.22 ([#369](https://github.com/anthropics/anthropic-sdk-typescript/issues/369)) ([603d7b1](https://github.com/anthropics/anthropic-sdk-typescript/commit/603d7b17411bc25a562acb80ebde71ae058892d0))
+* **deps:** remove unused dependency digest-fetch ([#368](https://github.com/anthropics/anthropic-sdk-typescript/issues/368)) ([df1df0f](https://github.com/anthropics/anthropic-sdk-typescript/commit/df1df0f509682841c703fa1ea5062a796cfe2091))
+
+
+### Documentation
+
+* **readme:** change undocumented params wording ([#363](https://github.com/anthropics/anthropic-sdk-typescript/issues/363)) ([4222e08](https://github.com/anthropics/anthropic-sdk-typescript/commit/4222e088aff5e26a3d2fbe1b622781c6194b0469))
+
+## 0.19.1 (2024-03-29)
+
+Full Changelog: [sdk-v0.19.0...sdk-v0.19.1](https://github.com/anthropics/anthropic-sdk-typescript/compare/sdk-v0.19.0...sdk-v0.19.1)
+
+### Bug Fixes
+
+* **client:** correctly send deno version header ([#354](https://github.com/anthropics/anthropic-sdk-typescript/issues/354)) ([ad5162b](https://github.com/anthropics/anthropic-sdk-typescript/commit/ad5162be2ccb122eb355577f481732121b130b0b))
+* handle process.env being undefined in debug func ([#351](https://github.com/anthropics/anthropic-sdk-typescript/issues/351)) ([3b0f38a](https://github.com/anthropics/anthropic-sdk-typescript/commit/3b0f38ab427ae7d31c800cd5c8be1653da9ae709))
+* **streaming:** correct accumulation of output tokens ([#361](https://github.com/anthropics/anthropic-sdk-typescript/issues/361)) ([76af283](https://github.com/anthropics/anthropic-sdk-typescript/commit/76af283596530ccd3a77ed86788bc0ea1e93f3c1))
+* **types:** correct typo claude-2.1' to claude-2.1 ([#352](https://github.com/anthropics/anthropic-sdk-typescript/issues/352)) ([0d5efb9](https://github.com/anthropics/anthropic-sdk-typescript/commit/0d5efb9a0b9eb3ebe1df5ed10164fadfd886eac6))
+
+
+### Chores
+
+* **internal:** add type ([#359](https://github.com/anthropics/anthropic-sdk-typescript/issues/359)) ([9456414](https://github.com/anthropics/anthropic-sdk-typescript/commit/945641467deffb674f762920955c98d10f287c8e))
+
+
+### Documentation
+
+* **bedrock:** fix dead link ([#356](https://github.com/anthropics/anthropic-sdk-typescript/issues/356)) ([a953e00](https://github.com/anthropics/anthropic-sdk-typescript/commit/a953e0070698f3238b728ffe06a056a9f2d6b7ff))
+* **readme:** consistent use of sentence case in headings ([#347](https://github.com/anthropics/anthropic-sdk-typescript/issues/347)) ([30f45d1](https://github.com/anthropics/anthropic-sdk-typescript/commit/30f45d14a534d7392dfcc4fb503bf07ab8cf038d))
+* **readme:** document how to make undocumented requests ([#349](https://github.com/anthropics/anthropic-sdk-typescript/issues/349)) ([f92c50a](https://github.com/anthropics/anthropic-sdk-typescript/commit/f92c50ac6d9d1b8bdb837e52414aafd3224553da))
+
+## 0.19.0 (2024-03-19)
+
+Full Changelog: [sdk-v0.18.0...sdk-v0.19.0](https://github.com/anthropics/anthropic-sdk-typescript/compare/sdk-v0.18.0...sdk-v0.19.0)
+
+### Features
+
+* **vertex:** add support for overriding google auth ([#338](https://github.com/anthropics/anthropic-sdk-typescript/issues/338)) ([28d98c4](https://github.com/anthropics/anthropic-sdk-typescript/commit/28d98c487257a3c6b3c6d84597768d484fadb86d))
+* **vertex:** api is no longer in private beta ([#344](https://github.com/anthropics/anthropic-sdk-typescript/issues/344)) ([892127c](https://github.com/anthropics/anthropic-sdk-typescript/commit/892127cdac059eee11c1a322a5512f9250868023))
+
+
+### Bug Fixes
+
+* **internal:** make toFile use input file's options ([#343](https://github.com/anthropics/anthropic-sdk-typescript/issues/343)) ([2dc2174](https://github.com/anthropics/anthropic-sdk-typescript/commit/2dc217441d6da8f2192b3e81b03c985383b6816e))
+
+
+### Chores
+
+* **internal:** update generated pragma comment ([#341](https://github.com/anthropics/anthropic-sdk-typescript/issues/341)) ([fd60f63](https://github.com/anthropics/anthropic-sdk-typescript/commit/fd60f63d5e5cd978b287d66fd95deabe2ff089d2))
+
+
+### Documentation
+
+* fix typo in CONTRIBUTING.md ([#340](https://github.com/anthropics/anthropic-sdk-typescript/issues/340)) ([ba9f3fa](https://github.com/anthropics/anthropic-sdk-typescript/commit/ba9f3faa5e3d116fce232d81f554b2f95f573ec8))
+
+## 0.18.0 (2024-03-13)
+
+Full Changelog: [sdk-v0.17.2...sdk-v0.18.0](https://github.com/anthropics/anthropic-sdk-typescript/compare/sdk-v0.17.2...sdk-v0.18.0)
+
+### Features
+
+* **api:** add haiku model ([#333](https://github.com/anthropics/anthropic-sdk-typescript/issues/333)) ([11becc6](https://github.com/anthropics/anthropic-sdk-typescript/commit/11becc64a8b07b353835678e063a70e3a0bd85e3))
+
+
+### Documentation
+
+* update models in vertex examples ([#331](https://github.com/anthropics/anthropic-sdk-typescript/issues/331)) ([3d139b3](https://github.com/anthropics/anthropic-sdk-typescript/commit/3d139b374179ef5540a8e9436df06501c6ada6c5))
+
+## 0.17.2 (2024-03-12)
+
+Full Changelog: [sdk-v0.17.1...sdk-v0.17.2](https://github.com/anthropics/anthropic-sdk-typescript/compare/sdk-v0.17.1...sdk-v0.17.2)
+
+### Chores
+
+* **internal:** add explicit type annotation to decoder ([#324](https://github.com/anthropics/anthropic-sdk-typescript/issues/324)) ([7e172c7](https://github.com/anthropics/anthropic-sdk-typescript/commit/7e172c74f75414ee246cbd71104454c9e81efc0d))
+
+## 0.17.1 (2024-03-06)
+
+Full Changelog: [sdk-v0.17.0...sdk-v0.17.1](https://github.com/anthropics/anthropic-sdk-typescript/compare/sdk-v0.17.0...sdk-v0.17.1)
+
+### Documentation
+
+* deprecate old access token getter ([#322](https://github.com/anthropics/anthropic-sdk-typescript/issues/322)) ([1110548](https://github.com/anthropics/anthropic-sdk-typescript/commit/1110548d4543fab83bc0ef3beb99a75711cb028a))
+* remove extraneous --save and yarn install instructions ([#323](https://github.com/anthropics/anthropic-sdk-typescript/issues/323)) ([775ecb9](https://github.com/anthropics/anthropic-sdk-typescript/commit/775ecb9ef3ab17e88dabc149faa0876cd6ab5f0b))
+
+## 0.17.0 (2024-03-06)
+
+Full Changelog: [sdk-v0.16.1...sdk-v0.17.0](https://github.com/anthropics/anthropic-sdk-typescript/compare/sdk-v0.16.1...sdk-v0.17.0)
+
+### Features
+
+* **api:** add enum to model param for message ([#315](https://github.com/anthropics/anthropic-sdk-typescript/issues/315)) ([0c44de0](https://github.com/anthropics/anthropic-sdk-typescript/commit/0c44de01a5d5fc6dda3667f03779eb029247c18e))
+
+
+### Bug Fixes
+
+* **streaming:** correctly handle trailing new lines in byte chunks ([#317](https://github.com/anthropics/anthropic-sdk-typescript/issues/317)) ([0147b46](https://github.com/anthropics/anthropic-sdk-typescript/commit/0147b4693bd4b1dc3c9cba04a7082aad3c3cb42c))
+
+
+### Chores
+
+* **types:** fix accidental exposure of Buffer type to cloudflare ([#319](https://github.com/anthropics/anthropic-sdk-typescript/issues/319)) ([a5e4462](https://github.com/anthropics/anthropic-sdk-typescript/commit/a5e4462bcf054e8324cbcaa31d1b85ffc58113fd))
+
+
+### Documentation
+
+* **readme:** fix https proxy example ([#310](https://github.com/anthropics/anthropic-sdk-typescript/issues/310)) ([99d3c54](https://github.com/anthropics/anthropic-sdk-typescript/commit/99d3c545f45230ec5862ddbbfcb64f46b54d7d13))
+* **readme:** fix https proxy example ([#311](https://github.com/anthropics/anthropic-sdk-typescript/issues/311)) ([ffb603c](https://github.com/anthropics/anthropic-sdk-typescript/commit/ffb603c15a0f5d396c96ac545a0cdd0c814ec4ef))
+
+## 0.16.1 (2024-03-04)
+
+Full Changelog: [sdk-v0.16.0...sdk-v0.16.1](https://github.com/anthropics/anthropic-sdk-typescript/compare/sdk-v0.16.0...sdk-v0.16.1)
+
+### Chores
+
+* fix error handler in readme ([#307](https://github.com/anthropics/anthropic-sdk-typescript/issues/307)) ([5007a1e](https://github.com/anthropics/anthropic-sdk-typescript/commit/5007a1e71907648ea44e1663f5b7f71bb20d001d))
+
+
+### Documentation
+
+* **readme:** reference bedrock sdk ([#309](https://github.com/anthropics/anthropic-sdk-typescript/issues/309)) ([0fd0416](https://github.com/anthropics/anthropic-sdk-typescript/commit/0fd041617eca18dd506efffe5a4e2505dd1aa004))
+
+## 0.16.0 (2024-03-04)
+
+Full Changelog: [sdk-v0.15.0...sdk-v0.16.0](https://github.com/anthropics/anthropic-sdk-typescript/compare/sdk-v0.15.0...sdk-v0.16.0)
+
+### Features
+
+* **bedrock:** add messages API ([#305](https://github.com/anthropics/anthropic-sdk-typescript/issues/305)) ([8b7f89e](https://github.com/anthropics/anthropic-sdk-typescript/commit/8b7f89e1e60416f9ad5b575d43238a4259654395))
+
+
+### Chores
+
+* update examples ([459956a](https://github.com/anthropics/anthropic-sdk-typescript/commit/459956ac44b5a2fd1dd0d0828e0281875b5900e9))
+
+## 0.15.0 (2024-03-04)
+
+Full Changelog: [sdk-v0.14.1...sdk-v0.15.0](https://github.com/anthropics/anthropic-sdk-typescript/compare/sdk-v0.14.1...sdk-v0.15.0)
+
+### Features
+
+* **messages:** add support for image inputs ([#303](https://github.com/anthropics/anthropic-sdk-typescript/issues/303)) ([7663bd6](https://github.com/anthropics/anthropic-sdk-typescript/commit/7663bd6e1a4427483cf5f13889bc5c63314e5bae))
+
+
+### Bug Fixes
+
+* **MessageStream:** handle errors more gracefully in async iterator ([#301](https://github.com/anthropics/anthropic-sdk-typescript/issues/301)) ([9cc0daa](https://github.com/anthropics/anthropic-sdk-typescript/commit/9cc0daa9af5717953933e12b487bdbdd5b762cc7))
+
+
+### Chores
+
+* **docs:** mention install from git repo ([#302](https://github.com/anthropics/anthropic-sdk-typescript/issues/302)) ([dd2627b](https://github.com/anthropics/anthropic-sdk-typescript/commit/dd2627bc6404afbdccb2c2b66ee0dfcc3fc80031))
+* **internal:** update deps ([#296](https://github.com/anthropics/anthropic-sdk-typescript/issues/296)) ([8804a92](https://github.com/anthropics/anthropic-sdk-typescript/commit/8804a92e3c873d712cac75089af0e82104e6381c))
+
+
+### Documentation
+
+* **contributing:** improve wording ([#299](https://github.com/anthropics/anthropic-sdk-typescript/issues/299)) ([7697fa1](https://github.com/anthropics/anthropic-sdk-typescript/commit/7697fa1a3b680015c55ed715a1496c727630a3dc))
+* **readme:** fix typo in custom fetch implementation ([#300](https://github.com/anthropics/anthropic-sdk-typescript/issues/300)) ([a4974c3](https://github.com/anthropics/anthropic-sdk-typescript/commit/a4974c3080c6b592c2a25367932481a154e6c280))
+
+## 0.14.1 (2024-02-22)
+
+Full Changelog: [sdk-v0.14.0...sdk-v0.14.1](https://github.com/anthropics/anthropic-sdk-typescript/compare/sdk-v0.14.0...sdk-v0.14.1)
+
+### Chores
+
+* **ci:** update actions/setup-node action to v4 ([#295](https://github.com/anthropics/anthropic-sdk-typescript/issues/295)) ([359a856](https://github.com/anthropics/anthropic-sdk-typescript/commit/359a856c4c93d962ca3e117f4dd799849eb5fa7d))
+* **docs:** remove references to old bedrock package ([#289](https://github.com/anthropics/anthropic-sdk-typescript/issues/289)) ([33b935e](https://github.com/anthropics/anthropic-sdk-typescript/commit/33b935e3d840346dd464445901846d2b22888e1c))
+* **internal:** refactor release environment script ([#294](https://github.com/anthropics/anthropic-sdk-typescript/issues/294)) ([b7f8714](https://github.com/anthropics/anthropic-sdk-typescript/commit/b7f87143b16ad413adb943297e65473fd9b93b71))
+
+
+### Documentation
+
+* **readme:** fix header for streaming helpers ([#293](https://github.com/anthropics/anthropic-sdk-typescript/issues/293)) ([7278e6f](https://github.com/anthropics/anthropic-sdk-typescript/commit/7278e6f7d62d837c2af0b1a440dfa97b6a3f6b4e))
+
+
+### Refactors
+
+* **api:** mark completions API as legacy ([#291](https://github.com/anthropics/anthropic-sdk-typescript/issues/291)) ([c78e2e2](https://github.com/anthropics/anthropic-sdk-typescript/commit/c78e2e215067fabcc3eaee0a537213f55735b42e))
+
+## 0.14.0 (2024-02-13)
+
+Full Changelog: [sdk-v0.13.1...sdk-v0.14.0](https://github.com/anthropics/anthropic-sdk-typescript/compare/sdk-v0.13.1...sdk-v0.14.0)
+
+### β BREAKING CHANGES
+
+* **api:** messages is generally available ([#287](https://github.com/anthropics/anthropic-sdk-typescript/issues/287))
+
+### Features
+
+* **api:** messages is generally available ([#287](https://github.com/anthropics/anthropic-sdk-typescript/issues/287)) ([be0a828](https://github.com/anthropics/anthropic-sdk-typescript/commit/be0a82883cf9b1b9d2944525b86e40f2b42cea4f))
+
+## 0.13.1 (2024-02-07)
+
+Full Changelog: [sdk-v0.13.0...sdk-v0.13.1](https://github.com/anthropics/anthropic-sdk-typescript/compare/sdk-v0.13.0...sdk-v0.13.1)
+
+### Chores
+
+* **internal:** reformat pacakge.json ([#284](https://github.com/anthropics/anthropic-sdk-typescript/issues/284)) ([3760c68](https://github.com/anthropics/anthropic-sdk-typescript/commit/3760c68f207b596261da336cbe62b4b84fb1763f))
+* respect `application/vnd.api+json` content-type header ([#286](https://github.com/anthropics/anthropic-sdk-typescript/issues/286)) ([daf0cae](https://github.com/anthropics/anthropic-sdk-typescript/commit/daf0cae6087580d61d4423e113259c8315c2b85a))
+
+## 0.13.0 (2024-02-02)
+
+Full Changelog: [sdk-v0.12.8...sdk-v0.13.0](https://github.com/anthropics/anthropic-sdk-typescript/compare/sdk-v0.12.8...sdk-v0.13.0)
+
+### Features
+
+* **api:** add new usage response fields ([#281](https://github.com/anthropics/anthropic-sdk-typescript/issues/281)) ([77bd18f](https://github.com/anthropics/anthropic-sdk-typescript/commit/77bd18fb3d149c0706664304102fc5f12830f761))
+
+
+### Chores
+
+* **package:** fix formatting ([#283](https://github.com/anthropics/anthropic-sdk-typescript/issues/283)) ([f88579a](https://github.com/anthropics/anthropic-sdk-typescript/commit/f88579a0768e0a7d5064eec9e1dd79e86c66bce7))
+
+## 0.12.8 (2024-02-02)
+
+Full Changelog: [sdk-v0.12.7...sdk-v0.12.8](https://github.com/anthropics/anthropic-sdk-typescript/compare/sdk-v0.12.7...sdk-v0.12.8)
+
+### Chores
+
+* **interal:** make link to api.md relative ([#278](https://github.com/anthropics/anthropic-sdk-typescript/issues/278)) ([46f8c28](https://github.com/anthropics/anthropic-sdk-typescript/commit/46f8c2805af75a5a733fdaa53936765a483471cb))
+* **internal:** enable building when git installed ([#279](https://github.com/anthropics/anthropic-sdk-typescript/issues/279)) ([3065001](https://github.com/anthropics/anthropic-sdk-typescript/commit/3065001610041b0c74cc640b72f646b6ff867db1))
+
+
+### Documentation
+
+* add a CONTRIBUTING.md ([#280](https://github.com/anthropics/anthropic-sdk-typescript/issues/280)) ([5b53551](https://github.com/anthropics/anthropic-sdk-typescript/commit/5b535512f2eacdb9f2fef795c85f2d2aaeedaea3))
+
+## 0.12.7 (2024-01-31)
+
+Full Changelog: [sdk-v0.12.6...sdk-v0.12.7](https://github.com/anthropics/anthropic-sdk-typescript/compare/sdk-v0.12.6...sdk-v0.12.7)
+
+### Chores
+
+* **bedrock:** move bedrock SDK to the main repo ([#274](https://github.com/anthropics/anthropic-sdk-typescript/issues/274)) ([b4ef3a8](https://github.com/anthropics/anthropic-sdk-typescript/commit/b4ef3a854e447744a1e270ec1e7e6da81b98ade3))
+* **ci:** fix publish packages script ([#272](https://github.com/anthropics/anthropic-sdk-typescript/issues/272)) ([db3585d](https://github.com/anthropics/anthropic-sdk-typescript/commit/db3585daf759c9794ec307b05a568527a2e7df99))
+
+## 0.12.6 (2024-01-30)
+
+Full Changelog: [sdk-v0.12.5...sdk-v0.12.6](https://github.com/anthropics/anthropic-sdk-typescript/compare/sdk-v0.12.5...sdk-v0.12.6)
+
+### Chores
+
+* **internal:** support pre-release versioning ([#270](https://github.com/anthropics/anthropic-sdk-typescript/issues/270)) ([566069d](https://github.com/anthropics/anthropic-sdk-typescript/commit/566069d4eb1dbcc2123f4b455f855b0748d586ee))
+
+## 0.12.5 (2024-01-25)
+
+Full Changelog: [sdk-v0.12.4...sdk-v0.12.5](https://github.com/anthropics/anthropic-sdk-typescript/compare/sdk-v0.12.4...sdk-v0.12.5)
+
+### Chores
+
+* **internal:** don't re-export streaming type ([#267](https://github.com/anthropics/anthropic-sdk-typescript/issues/267)) ([bcae5a9](https://github.com/anthropics/anthropic-sdk-typescript/commit/bcae5a95078dfe091d01823cd38cf3c63d28026d))
+* **internal:** update release-please config ([#269](https://github.com/anthropics/anthropic-sdk-typescript/issues/269)) ([80952e6](https://github.com/anthropics/anthropic-sdk-typescript/commit/80952e6ff6aea24ade9ea45dcbe8bb61da385304))
+
+## 0.12.4 (2024-01-23)
+
+Full Changelog: [sdk-v0.12.3...sdk-v0.12.4](https://github.com/anthropics/anthropic-sdk-typescript/compare/sdk-v0.12.3...sdk-v0.12.4)
+
+### Chores
+
+* **internal:** add internal helpers & improve build scripts ([#261](https://github.com/anthropics/anthropic-sdk-typescript/issues/261)) ([4c1504a](https://github.com/anthropics/anthropic-sdk-typescript/commit/4c1504abc7eb8685a8409c4a19dc46d83ea26392))
+* **internal:** minor streaming updates ([#264](https://github.com/anthropics/anthropic-sdk-typescript/issues/264)) ([d4414ff](https://github.com/anthropics/anthropic-sdk-typescript/commit/d4414ffeafbc47769b91c4b2681f130b46d1a7c1))
+* **internal:** update resource client type ([#263](https://github.com/anthropics/anthropic-sdk-typescript/issues/263)) ([bc4f115](https://github.com/anthropics/anthropic-sdk-typescript/commit/bc4f115900cbeba1ff09d6f3cec79e639a8fda5e))
+
+## 0.12.3 (2024-01-19)
+
+Full Changelog: [v0.12.2...v0.12.3](https://github.com/anthropics/anthropic-sdk-typescript/compare/v0.12.2...v0.12.3)
+
+### Bug Fixes
+
+* allow body type in RequestOptions to be null ([#259](https://github.com/anthropics/anthropic-sdk-typescript/issues/259)) ([2f98de1](https://github.com/anthropics/anthropic-sdk-typescript/commit/2f98de1a42568b1242ce313ba046febb1c6625b5))
+
+## 0.12.2 (2024-01-18)
+
+Full Changelog: [v0.12.1...v0.12.2](https://github.com/anthropics/anthropic-sdk-typescript/compare/v0.12.1...v0.12.2)
+
+### Bug Fixes
+
+* **ci:** ignore stainless-app edits to release PR title ([#258](https://github.com/anthropics/anthropic-sdk-typescript/issues/258)) ([87e4ba8](https://github.com/anthropics/anthropic-sdk-typescript/commit/87e4ba82c5b498f881db9590edbfd68c8aba0930))
+* **types:** accept undefined for optional client options ([#257](https://github.com/anthropics/anthropic-sdk-typescript/issues/257)) ([a0e2c4a](https://github.com/anthropics/anthropic-sdk-typescript/commit/a0e2c4a4c4a269ad011d9a6c717c1ded2405711b))
+* use default base url if BASE_URL env var is blank ([#250](https://github.com/anthropics/anthropic-sdk-typescript/issues/250)) ([e38f32f](https://github.com/anthropics/anthropic-sdk-typescript/commit/e38f32f52398f3a082eb745e85179242ecee7663))
+
+
+### Chores
+
+* **internal:** debug logging for retries; speculative retry-after-ms support ([#256](https://github.com/anthropics/anthropic-sdk-typescript/issues/256)) ([b4b70fd](https://github.com/anthropics/anthropic-sdk-typescript/commit/b4b70fdbee45dd2a68e46135db45b61381538ae8))
+* **internal:** narrow type into stringifyQuery ([#253](https://github.com/anthropics/anthropic-sdk-typescript/issues/253)) ([3f42e07](https://github.com/anthropics/anthropic-sdk-typescript/commit/3f42e0702ab55cd841c0dc186732028d2fb9f5bb))
+
+
+### Documentation
+
+* fix missing async in readme code sample ([#255](https://github.com/anthropics/anthropic-sdk-typescript/issues/255)) ([553fb37](https://github.com/anthropics/anthropic-sdk-typescript/commit/553fb37159a9424a40df1e0f6bb36962ba9f5be8))
+* **readme:** improve api reference ([#254](https://github.com/anthropics/anthropic-sdk-typescript/issues/254)) ([3721927](https://github.com/anthropics/anthropic-sdk-typescript/commit/3721927e895d42c167e2464f30f7f2addb690ec6))
+
+## 0.12.1 (2024-01-08)
+
+Full Changelog: [v0.12.0...v0.12.1](https://github.com/anthropics/anthropic-sdk-typescript/compare/v0.12.0...v0.12.1)
+
+### Bug Fixes
+
+* **headers:** always send lowercase headers and strip undefined (BREAKING in rare cases) ([#245](https://github.com/anthropics/anthropic-sdk-typescript/issues/245)) ([7703066](https://github.com/anthropics/anthropic-sdk-typescript/commit/77030661f5612ea5312cb2fecf7987024ffd6ede))
+
+
+### Chores
+
+* add .keep files for examples and custom code directories ([#249](https://github.com/anthropics/anthropic-sdk-typescript/issues/249)) ([26b9062](https://github.com/anthropics/anthropic-sdk-typescript/commit/26b9062c7489dd3ee7f620edfea9888f92a859d7))
+* **internal:** improve type signatures ([#247](https://github.com/anthropics/anthropic-sdk-typescript/issues/247)) ([40edd29](https://github.com/anthropics/anthropic-sdk-typescript/commit/40edd299a83f1f60e973080d1fa84f6f42752663))
+
+## 0.12.0 (2023-12-21)
+
+Full Changelog: [v0.11.0...v0.12.0](https://github.com/anthropics/anthropic-sdk-typescript/compare/v0.11.0...v0.12.0)
+
+### β BREAKING CHANGES
+
+* remove anthropic-beta and x-api-key headers from param types ([#243](https://github.com/anthropics/anthropic-sdk-typescript/issues/243))
+
+### Bug Fixes
+
+* remove anthropic-beta and x-api-key headers from param types ([#243](https://github.com/anthropics/anthropic-sdk-typescript/issues/243)) ([60f67ae](https://github.com/anthropics/anthropic-sdk-typescript/commit/60f67ae757cfe8e482327f508a802b30ec3805a0))
+
+
+### Documentation
+
+* **readme:** add streaming helper documentation ([#238](https://github.com/anthropics/anthropic-sdk-typescript/issues/238)) ([d74ee71](https://github.com/anthropics/anthropic-sdk-typescript/commit/d74ee7159f366a3f78091eacdcea3049c1e81ec7))
+* **readme:** remove old migration guide ([#236](https://github.com/anthropics/anthropic-sdk-typescript/issues/236)) ([65dff0a](https://github.com/anthropics/anthropic-sdk-typescript/commit/65dff0adb2ec836b81da4f71fb94a316c5f1a942))
+* reformat README.md ([#241](https://github.com/anthropics/anthropic-sdk-typescript/issues/241)) ([eb12705](https://github.com/anthropics/anthropic-sdk-typescript/commit/eb12705a7d975f584ca31f24b99c35318cf6419b))
+
+
+### Refactors
+
+* write jest config in typescript ([#239](https://github.com/anthropics/anthropic-sdk-typescript/issues/239)) ([7c87f24](https://github.com/anthropics/anthropic-sdk-typescript/commit/7c87f242d921adfbd2bb21ed5f2c37ada2043f95))
+
+## 0.11.0 (2023-12-19)
+
+Full Changelog: [v0.10.2...v0.11.0](https://github.com/anthropics/anthropic-sdk-typescript/compare/v0.10.2...v0.11.0)
+
+### Features
+
+* **api:** add messages endpoint with streaming helpers ([#235](https://github.com/anthropics/anthropic-sdk-typescript/issues/235)) ([12b914f](https://github.com/anthropics/anthropic-sdk-typescript/commit/12b914f46f4aa625ff141ec0b6631400d0994f76))
+* **client:** support reading the base url from an env variable ([#223](https://github.com/anthropics/anthropic-sdk-typescript/issues/223)) ([5bc3600](https://github.com/anthropics/anthropic-sdk-typescript/commit/5bc3600a487e7ed49d944aaf36a43e0d895e907b))
+
+
+### Chores
+
+* **ci:** run release workflow once per day ([#232](https://github.com/anthropics/anthropic-sdk-typescript/issues/232)) ([115479f](https://github.com/anthropics/anthropic-sdk-typescript/commit/115479f403838a6d2c81587220029b68a4371c02))
+* **deps:** update dependency ts-jest to v29.1.1 ([#233](https://github.com/anthropics/anthropic-sdk-typescript/issues/233)) ([bec6ab1](https://github.com/anthropics/anthropic-sdk-typescript/commit/bec6ab127d9b20071ab673e8e37087a879467b74))
+* **deps:** update jest ([#234](https://github.com/anthropics/anthropic-sdk-typescript/issues/234)) ([5506174](https://github.com/anthropics/anthropic-sdk-typescript/commit/5506174092d5248354f3d288c84da5ba4749375c))
+* update dependencies ([#231](https://github.com/anthropics/anthropic-sdk-typescript/issues/231)) ([4e34536](https://github.com/anthropics/anthropic-sdk-typescript/commit/4e345362c9002528fb0d95ca739fb8211ab3aec8))
+* update prettier ([#230](https://github.com/anthropics/anthropic-sdk-typescript/issues/230)) ([173603e](https://github.com/anthropics/anthropic-sdk-typescript/commit/173603e14fc5fe87c056553ecec3278059fe58d9))
+
+
+### Documentation
+
+* update examples to show claude-2.1 ([#227](https://github.com/anthropics/anthropic-sdk-typescript/issues/227)) ([4b00d84](https://github.com/anthropics/anthropic-sdk-typescript/commit/4b00d84aee56090b5d576fdff9c3a07386475c72))
+
+
+### Build System
+
+* specify `packageManager: yarn` ([#229](https://github.com/anthropics/anthropic-sdk-typescript/issues/229)) ([d31dae4](https://github.com/anthropics/anthropic-sdk-typescript/commit/d31dae455d750a61ae3b9a751ab73309b0f87417))
+
+## 0.10.2 (2023-11-28)
+
+Full Changelog: [v0.10.1...v0.10.2](https://github.com/anthropics/anthropic-sdk-typescript/compare/v0.10.1...v0.10.2)
+
+## 0.10.1 (2023-11-24)
+
+Full Changelog: [v0.10.0...v0.10.1](https://github.com/anthropics/anthropic-sdk-typescript/compare/v0.10.0...v0.10.1)
+
+### Chores
+
+* **internal:** remove file import and conditionally run prepare ([#217](https://github.com/anthropics/anthropic-sdk-typescript/issues/217)) ([8ac5c7a](https://github.com/anthropics/anthropic-sdk-typescript/commit/8ac5c7ae63a7aa4262ad95e0f4d6a509428de794))
+
+## 0.10.0 (2023-11-21)
+
+Full Changelog: [v0.9.1...v0.10.0](https://github.com/anthropics/anthropic-sdk-typescript/compare/v0.9.1...v0.10.0)
+
+### Features
+
+* allow installing package directly from github ([#215](https://github.com/anthropics/anthropic-sdk-typescript/issues/215)) ([3de3f1b](https://github.com/anthropics/anthropic-sdk-typescript/commit/3de3f1b8124c110ead3ebedf709f4d5d088230cd))
+
+
+### Chores
+
+* **ci:** fix publish-npm ([#213](https://github.com/anthropics/anthropic-sdk-typescript/issues/213)) ([4ab77b7](https://github.com/anthropics/anthropic-sdk-typescript/commit/4ab77b7b323f22019193ba4f0a85fc89af193fbf))
+* **internal:** don't call prepare in dist ([#216](https://github.com/anthropics/anthropic-sdk-typescript/issues/216)) ([b031904](https://github.com/anthropics/anthropic-sdk-typescript/commit/b031904901a17878545cd8ce5c43f03cd364a8fe))
+
+## 0.9.1 (2023-11-14)
+
+Full Changelog: [v0.9.0...v0.9.1](https://github.com/anthropics/anthropic-sdk-typescript/compare/v0.9.0...v0.9.1)
+
+### Chores
+
+* **ci:** update release-please config ([#206](https://github.com/anthropics/anthropic-sdk-typescript/issues/206)) ([270b0b7](https://github.com/anthropics/anthropic-sdk-typescript/commit/270b0b725ea559ca4616ec8d8bac5a5cde1de0db))
+* **docs:** fix github links ([#208](https://github.com/anthropics/anthropic-sdk-typescript/issues/208)) ([b316603](https://github.com/anthropics/anthropic-sdk-typescript/commit/b3166033cffe31f5d11793ddd32e595161f1a2e6))
+* **internal:** update APIResource structure ([#211](https://github.com/anthropics/anthropic-sdk-typescript/issues/211)) ([0d6bbce](https://github.com/anthropics/anthropic-sdk-typescript/commit/0d6bbce8ff699b511133ee6bfb72c1244d85eb32))
+* **internal:** update jest config ([#210](https://github.com/anthropics/anthropic-sdk-typescript/issues/210)) ([b0c64eb](https://github.com/anthropics/anthropic-sdk-typescript/commit/b0c64eb9531d417f024567a4c74d9dd64743b889))
+* **internal:** update tsconfig ([#209](https://github.com/anthropics/anthropic-sdk-typescript/issues/209)) ([81b3e0b](https://github.com/anthropics/anthropic-sdk-typescript/commit/81b3e0b59801f737c6f1783e59eef8c1af77b1ad))
+
+## 0.9.0 (2023-11-05)
+
+Full Changelog: [v0.8.1...v0.9.0](https://github.com/anthropics/anthropic-sdk-typescript/compare/v0.8.1...v0.9.0)
+
+### Features
+
+* **client:** allow binary returns ([#203](https://github.com/anthropics/anthropic-sdk-typescript/issues/203)) ([5983d5e](https://github.com/anthropics/anthropic-sdk-typescript/commit/5983d5e5de327d6835c7baaea022914a101865a2))
+* **github:** include a devcontainer setup ([#202](https://github.com/anthropics/anthropic-sdk-typescript/issues/202)) ([ea97913](https://github.com/anthropics/anthropic-sdk-typescript/commit/ea97913a04a508da7704758b78a9b96d097be5a2))
+
+
+### Chores
+
+* **internal:** update gitignore ([#198](https://github.com/anthropics/anthropic-sdk-typescript/issues/198)) ([3048738](https://github.com/anthropics/anthropic-sdk-typescript/commit/3048738235b9dff9de19aae59ff66487dffb9e8e))
+* small cleanups ([#201](https://github.com/anthropics/anthropic-sdk-typescript/issues/201)) ([9f0a73d](https://github.com/anthropics/anthropic-sdk-typescript/commit/9f0a73d794fc110689ce1c67b68d0a68133adb8d))
+
+
+### Documentation
+
+* document customizing fetch ([#204](https://github.com/anthropics/anthropic-sdk-typescript/issues/204)) ([d2df724](https://github.com/anthropics/anthropic-sdk-typescript/commit/d2df7246ec244f2de73d359ffbff3f88acec781d))
+* fix github links ([#200](https://github.com/anthropics/anthropic-sdk-typescript/issues/200)) ([4038acd](https://github.com/anthropics/anthropic-sdk-typescript/commit/4038acd91f4de7c3b20efe7f76523d1e6970f5d9))
+* **readme:** mention version header ([#205](https://github.com/anthropics/anthropic-sdk-typescript/issues/205)) ([a8d8f07](https://github.com/anthropics/anthropic-sdk-typescript/commit/a8d8f07f9d4890195847b6ea86eb311e258e655f))
+
+## 0.8.1 (2023-10-25)
+
+Full Changelog: [v0.8.0...v0.8.1](https://github.com/anthropics/anthropic-sdk-typescript/compare/v0.8.0...v0.8.1)
+
+### Bug Fixes
+
+* typo in build script ([#197](https://github.com/anthropics/anthropic-sdk-typescript/issues/197)) ([212e990](https://github.com/anthropics/anthropic-sdk-typescript/commit/212e9903e9b72b3169f450d8ab11ebd384951dba))
+
+## 0.8.0 (2023-10-24)
+
+Full Changelog: [v0.7.0...v0.8.0](https://github.com/anthropics/anthropic-sdk-typescript/compare/v0.7.0...v0.8.0)
+
+### Features
+
+* **client:** adjust retry behavior to be exponential backoff ([#192](https://github.com/anthropics/anthropic-sdk-typescript/issues/192)) ([747afe2](https://github.com/anthropics/anthropic-sdk-typescript/commit/747afe2bdbbe3a5489e9b9bc6ed4fcf2a276e40b))
+
+## 0.7.0 (2023-10-19)
+
+Full Changelog: [v0.6.8...v0.7.0](https://github.com/anthropics/anthropic-sdk-typescript/compare/v0.6.8...v0.7.0)
+
+### Features
+
+* handle 204 No Content gracefully ([#190](https://github.com/anthropics/anthropic-sdk-typescript/issues/190)) ([c8a8bec](https://github.com/anthropics/anthropic-sdk-typescript/commit/c8a8becd127e5275333900c3bb76955605ae0f02))
+
+## 0.6.8 (2023-10-17)
+
+Full Changelog: [v0.6.7...v0.6.8](https://github.com/anthropics/anthropic-sdk-typescript/compare/v0.6.7...v0.6.8)
+
+### Bug Fixes
+
+* import web-streams-polyfill without overriding globals ([#186](https://github.com/anthropics/anthropic-sdk-typescript/issues/186)) ([e774e17](https://github.com/anthropics/anthropic-sdk-typescript/commit/e774e1774642668e080de5233aeaa33cf5f1b3ae))
+
+## 0.6.7 (2023-10-16)
+
+Full Changelog: [v0.6.6...v0.6.7](https://github.com/anthropics/anthropic-sdk-typescript/compare/v0.6.6...v0.6.7)
+
+### Bug Fixes
+
+* improve status code in error messages ([#183](https://github.com/anthropics/anthropic-sdk-typescript/issues/183)) ([7d3bbd4](https://github.com/anthropics/anthropic-sdk-typescript/commit/7d3bbd485c9628bb7c3fb5d1660934198981fcc7))
+
+
+### Chores
+
+* add case insensitive get header function ([#178](https://github.com/anthropics/anthropic-sdk-typescript/issues/178)) ([13c398d](https://github.com/anthropics/anthropic-sdk-typescript/commit/13c398dee3ff2eaa3b6046630eda9831580348f4))
+* **internal:** add debug logs for stream responses ([#182](https://github.com/anthropics/anthropic-sdk-typescript/issues/182)) ([a1fa1b7](https://github.com/anthropics/anthropic-sdk-typescript/commit/a1fa1b7766248f3178cb55ac5342409a57c1dbb8))
+* update comment ([#179](https://github.com/anthropics/anthropic-sdk-typescript/issues/179)) ([27a425e](https://github.com/anthropics/anthropic-sdk-typescript/commit/27a425ee64dcdc569b92ac27b501bca0dadf2dea))
+
+
+### Documentation
+
+* organisation -> organization (UK to US English) ([#185](https://github.com/anthropics/anthropic-sdk-typescript/issues/185)) ([70257d4](https://github.com/anthropics/anthropic-sdk-typescript/commit/70257d43296f5b448b5649a34b67a3a3a26704ab))
+
+
+### Refactors
+
+* **streaming:** change Stream constructor signature ([#174](https://github.com/anthropics/anthropic-sdk-typescript/issues/174)) ([1951824](https://github.com/anthropics/anthropic-sdk-typescript/commit/195182432c41a2a8a4fc425788267e60f36f5820))
+* **test:** refactor authentication tests ([#176](https://github.com/anthropics/anthropic-sdk-typescript/issues/176)) ([f59daad](https://github.com/anthropics/anthropic-sdk-typescript/commit/f59daad06cab4c5df3068ea7f71ecbb20d8af141))
+
+## 0.6.6 (2023-10-11)
+
+Full Changelog: [v0.6.5...v0.6.6](https://github.com/anthropics/anthropic-sdk-typescript/compare/v0.6.5...v0.6.6)
+
+### Chores
+
+* update README ([#173](https://github.com/anthropics/anthropic-sdk-typescript/issues/173)) ([5f50c1b](https://github.com/anthropics/anthropic-sdk-typescript/commit/5f50c1b2f160610c89f158a10d83029c356d925a))
+
+## 0.6.5 (2023-10-11)
+
+Full Changelog: [v0.6.4...v0.6.5](https://github.com/anthropics/anthropic-sdk-typescript/compare/v0.6.4...v0.6.5)
+
+### Features
+
+* **client:** handle retry-after with a date ([#162](https://github.com/anthropics/anthropic-sdk-typescript/issues/162)) ([31bd609](https://github.com/anthropics/anthropic-sdk-typescript/commit/31bd60905858a6532414665a1368ae9f5fd29370))
+* **client:** retry on 408 Request Timeout ([#151](https://github.com/anthropics/anthropic-sdk-typescript/issues/151)) ([3523ffe](https://github.com/anthropics/anthropic-sdk-typescript/commit/3523ffe5647448d5a5960b1339c9a17374e85dd5))
+* **client:** support importing node or web shims manually ([#157](https://github.com/anthropics/anthropic-sdk-typescript/issues/157)) ([c1237fe](https://github.com/anthropics/anthropic-sdk-typescript/commit/c1237feaea9ca2d244720f2f75e023450a78019f))
+* **errors:** add status code to error message ([#155](https://github.com/anthropics/anthropic-sdk-typescript/issues/155)) ([76cf128](https://github.com/anthropics/anthropic-sdk-typescript/commit/76cf128b68f206038945ac4f54f6f50e8a6a2c1b))
+* **package:** export a root error type ([#160](https://github.com/anthropics/anthropic-sdk-typescript/issues/160)) ([51d8d60](https://github.com/anthropics/anthropic-sdk-typescript/commit/51d8d60b72fbe99dcb4d5a9ec32abbcb21ba1460))
+
+
+### Bug Fixes
+
+* **client:** eliminate circular imports, which cause runtime errors in webpack dev bundles ([#170](https://github.com/anthropics/anthropic-sdk-typescript/issues/170)) ([4a86733](https://github.com/anthropics/anthropic-sdk-typescript/commit/4a86733b9d11349fca041683ac9d89685133557d))
+* fix namespace exports regression ([#171](https://github.com/anthropics/anthropic-sdk-typescript/issues/171)) ([0689a91](https://github.com/anthropics/anthropic-sdk-typescript/commit/0689a9196619d968870b7fd2e1a0f037a1aee282))
+* prevent ReferenceError, update compatibility to ES2020 and Node 18+ ([#169](https://github.com/anthropics/anthropic-sdk-typescript/issues/169)) ([9753314](https://github.com/anthropics/anthropic-sdk-typescript/commit/9753314b7e36a270bb4c29f2981c521ec9c17773))
+
+
+### Chores
+
+* **internal:** bump lock file ([#159](https://github.com/anthropics/anthropic-sdk-typescript/issues/159)) ([e6030fa](https://github.com/anthropics/anthropic-sdk-typescript/commit/e6030fa915f26569f9c48c478a5e6c01910a6557))
+* **internal:** minor formatting improvement ([#168](https://github.com/anthropics/anthropic-sdk-typescript/issues/168)) ([6447608](https://github.com/anthropics/anthropic-sdk-typescript/commit/644760883802bc2769a916fa477f2c6491f018fd))
+* **internal:** update lock file ([#161](https://github.com/anthropics/anthropic-sdk-typescript/issues/161)) ([370ce3c](https://github.com/anthropics/anthropic-sdk-typescript/commit/370ce3c34b87591071fefc8b53977078603b6ca4))
+* **internal:** update lock file ([#163](https://github.com/anthropics/anthropic-sdk-typescript/issues/163)) ([4a37181](https://github.com/anthropics/anthropic-sdk-typescript/commit/4a37181e0ceada13e3ed61d6df7aa34492dc57a7))
+* **internal:** update lock file ([#164](https://github.com/anthropics/anthropic-sdk-typescript/issues/164)) ([939c155](https://github.com/anthropics/anthropic-sdk-typescript/commit/939c155277e67c19f7b2ff956f7cf0d40d4671cd))
+
+
+### Documentation
+
+* **api.md:** add shared models ([#158](https://github.com/anthropics/anthropic-sdk-typescript/issues/158)) ([33e5518](https://github.com/anthropics/anthropic-sdk-typescript/commit/33e5518bdeca83bbbde0e144e444609f569f1477))
+* declare Bun 1.0 officially supported ([#154](https://github.com/anthropics/anthropic-sdk-typescript/issues/154)) ([429d8f4](https://github.com/anthropics/anthropic-sdk-typescript/commit/429d8f44b113a91599f0ebb69128636da82a5050))
+* **readme:** remove incorrect wording in opening ([#156](https://github.com/anthropics/anthropic-sdk-typescript/issues/156)) ([01973fe](https://github.com/anthropics/anthropic-sdk-typescript/commit/01973fe50b13ce2981656f8c13603975e7c43efd))
+
+## 0.6.4 (2023-09-08)
+
+Full Changelog: [v0.6.3...v0.6.4](https://github.com/anthropics/anthropic-sdk-typescript/compare/v0.6.3...v0.6.4)
+
+### Features
+
+* **package:** add Bun export map ([#139](https://github.com/anthropics/anthropic-sdk-typescript/issues/139)) ([ba3310d](https://github.com/anthropics/anthropic-sdk-typescript/commit/ba3310d903cd5fda91168266335f4e445e60cad4))
+
+
+### Bug Fixes
+
+* **client:** fix TS errors that appear when users Go to Source in VSCode ([#142](https://github.com/anthropics/anthropic-sdk-typescript/issues/142)) ([f7bfbea](https://github.com/anthropics/anthropic-sdk-typescript/commit/f7bfbeaa54d364201bbe5cddf3132875ae2a3ccf))
+* **client:** handle case where the client is instantiated with a undefined baseURL ([#143](https://github.com/anthropics/anthropic-sdk-typescript/issues/143)) ([10e5203](https://github.com/anthropics/anthropic-sdk-typescript/commit/10e52034990d90dcdaf26672ea384545b88ddf35))
+* **client:** use explicit file extensions in _shims imports ([#141](https://github.com/anthropics/anthropic-sdk-typescript/issues/141)) ([10fd687](https://github.com/anthropics/anthropic-sdk-typescript/commit/10fd68742a202c5c0a8b520db190c239dce9b676))
+* fix module not found errors in Vercel edge ([#148](https://github.com/anthropics/anthropic-sdk-typescript/issues/148)) ([72e51a1](https://github.com/anthropics/anthropic-sdk-typescript/commit/72e51a170855281a8d099b00c6fb1e9ccb276212))
+* **readme:** update link to api.md to use the correct branch ([#145](https://github.com/anthropics/anthropic-sdk-typescript/issues/145)) ([5db78ed](https://github.com/anthropics/anthropic-sdk-typescript/commit/5db78edec4826f86b2fc21ee3f470b49a4987029))
+
+
+### Chores
+
+* **internal:** export helper from core ([#147](https://github.com/anthropics/anthropic-sdk-typescript/issues/147)) ([7e79de1](https://github.com/anthropics/anthropic-sdk-typescript/commit/7e79de14edeab8110d740e996653e9f9cc2299a4))
+
+
+### Documentation
+
+* **readme:** add link to api.md ([#144](https://github.com/anthropics/anthropic-sdk-typescript/issues/144)) ([716c9f0](https://github.com/anthropics/anthropic-sdk-typescript/commit/716c9f0714c0e9c26cb6cdcb007457aff1284cf4))
+
+## 0.6.3 (2023-08-28)
+
+Full Changelog: [v0.6.2...v0.6.3](https://github.com/anthropics/anthropic-sdk-typescript/compare/v0.6.2...v0.6.3)
+
+### Bug Fixes
+
+* **types:** improve getNextPage() return type ([#137](https://github.com/anthropics/anthropic-sdk-typescript/issues/137)) ([713d603](https://github.com/anthropics/anthropic-sdk-typescript/commit/713d6032c2c3b3630314a9625a1672147ef19258))
+
+
+### Chores
+
+* **ci:** setup workflows to create releases and release PRs ([#135](https://github.com/anthropics/anthropic-sdk-typescript/issues/135)) ([56229d9](https://github.com/anthropics/anthropic-sdk-typescript/commit/56229d964733a8b00625dac4ff138b3ade7e4202))
+
+## [0.6.2](https://github.com/anthropics/anthropic-sdk-typescript/compare/v0.6.1...v0.6.2) (2023-08-26)
+
+
+### Bug Fixes
+
+* **stream:** declare Stream.controller as public ([#132](https://github.com/anthropics/anthropic-sdk-typescript/issues/132)) ([ff33a89](https://github.com/anthropics/anthropic-sdk-typescript/commit/ff33a893747aa708133bab14e97fba34ec776303))
+
+
+### Refactors
+
+* remove unnecessary line in constructor ([#131](https://github.com/anthropics/anthropic-sdk-typescript/issues/131)) ([dcdf5e5](https://github.com/anthropics/anthropic-sdk-typescript/commit/dcdf5e5183e99ae91d170ca09cc6da5e5637783f))
+
+
+### Chores
+
+* **internal:** add helper method ([#133](https://github.com/anthropics/anthropic-sdk-typescript/issues/133)) ([4c6950a](https://github.com/anthropics/anthropic-sdk-typescript/commit/4c6950a489b818151127aa1a39c239e4fd58a06e))
+* **internal:** export HeadersInit type shim ([#129](https://github.com/anthropics/anthropic-sdk-typescript/issues/129)) ([bcd51bd](https://github.com/anthropics/anthropic-sdk-typescript/commit/bcd51bd12ad0854baf28b59dcada871889032515))
+
+## [0.6.1](https://github.com/anthropics/anthropic-sdk-typescript/compare/v0.6.0...v0.6.1) (2023-08-23)
+
+
+### Features
+
+* allow a default timeout to be set for clients ([#113](https://github.com/anthropics/anthropic-sdk-typescript/issues/113)) ([1c5b2e2](https://github.com/anthropics/anthropic-sdk-typescript/commit/1c5b2e29926100a6e4a6176f0943e2c98991175d))
+* **client:** improve compatibility with Bun ([#119](https://github.com/anthropics/anthropic-sdk-typescript/issues/119)) ([fe4f5d5](https://github.com/anthropics/anthropic-sdk-typescript/commit/fe4f5d5e35e35cab2a62388eb595519e9c14635c))
+* **docs:** add documentation to the client constructor ([#118](https://github.com/anthropics/anthropic-sdk-typescript/issues/118)) ([79303f9](https://github.com/anthropics/anthropic-sdk-typescript/commit/79303f9c46a8248abd05fedbedbbed6e735c046d))
+* **types:** export RequestOptions type ([#127](https://github.com/anthropics/anthropic-sdk-typescript/issues/127)) ([9769751](https://github.com/anthropics/anthropic-sdk-typescript/commit/9769751b84853822e3e6596110ecb2c367f07438))
+* **types:** remove footgun with streaming params ([#125](https://github.com/anthropics/anthropic-sdk-typescript/issues/125)) ([3ed67b6](https://github.com/anthropics/anthropic-sdk-typescript/commit/3ed67b670bae14bc586df224aa57dd4dfa6e71f5))
+
+
+### Bug Fixes
+
+* **client:** fix TypeError when a request gets retried ([#117](https://github.com/anthropics/anthropic-sdk-typescript/issues/117)) ([0ade979](https://github.com/anthropics/anthropic-sdk-typescript/commit/0ade979a322c07f9a8f5322407b38352fe99b3ce))
+* **core:** fix navigator check for strange environments ([#124](https://github.com/anthropics/anthropic-sdk-typescript/issues/124)) ([c783604](https://github.com/anthropics/anthropic-sdk-typescript/commit/c7836040017d5ce35204c07be0b018e87e827fdb))
+* **types:** add catch-all overload to streaming methods ([#123](https://github.com/anthropics/anthropic-sdk-typescript/issues/123)) ([7c229a2](https://github.com/anthropics/anthropic-sdk-typescript/commit/7c229a24e6751bad22acb8c544113713140120fd))
+
+
+### Documentation
+
+* **readme:** fix typo ([#121](https://github.com/anthropics/anthropic-sdk-typescript/issues/121)) ([c5dbc3f](https://github.com/anthropics/anthropic-sdk-typescript/commit/c5dbc3fe89c84a728b6a4d7a4f6eadb228ac5688))
+
+
+### Chores
+
+* assign default reviewers to release PRs ([#115](https://github.com/anthropics/anthropic-sdk-typescript/issues/115)) ([1df3965](https://github.com/anthropics/anthropic-sdk-typescript/commit/1df3965a10256d30f8ce2af8d9890a26522117a9))
+* **internal:** add missing eslint-plugin-prettier ([#122](https://github.com/anthropics/anthropic-sdk-typescript/issues/122)) ([66bede0](https://github.com/anthropics/anthropic-sdk-typescript/commit/66bede0ae3ed7b5baa002bbb0c87b4156306f982))
+* **internal:** fix error happening in CloudFlare pages ([#116](https://github.com/anthropics/anthropic-sdk-typescript/issues/116)) ([b0dc7b3](https://github.com/anthropics/anthropic-sdk-typescript/commit/b0dc7b3b14520ce1f66c2b9d6a0f5aae4028985b))
+* **internal:** minor reformatting of code ([#120](https://github.com/anthropics/anthropic-sdk-typescript/issues/120)) ([4bcaf9e](https://github.com/anthropics/anthropic-sdk-typescript/commit/4bcaf9e30a312284cb22c2084e8242ad7d181ba8))
+
+## [0.6.0](https://github.com/anthropics/anthropic-sdk-typescript/compare/v0.5.10...v0.6.0) (2023-08-12)
+
+
+### Features
+
+* **client:** add support for accessing the raw response object ([#105](https://github.com/anthropics/anthropic-sdk-typescript/issues/105)) ([c86b059](https://github.com/anthropics/anthropic-sdk-typescript/commit/c86b0593a630f3adafc5c329019ea7028b6a41cd))
+* **client:** detect browser usage ([#101](https://github.com/anthropics/anthropic-sdk-typescript/issues/101)) ([f4cae3f](https://github.com/anthropics/anthropic-sdk-typescript/commit/f4cae3f63c2e65e087a7bf27dac1eeb8200e0a36))
+* **types:** improve streaming params types ([#102](https://github.com/anthropics/anthropic-sdk-typescript/issues/102)) ([cdf808c](https://github.com/anthropics/anthropic-sdk-typescript/commit/cdf808ca2a18cd744a5d1840e5e2adb3015e8d1d))
+
+
+### Documentation
+
+* **readme:** minor updates ([#107](https://github.com/anthropics/anthropic-sdk-typescript/issues/107)) ([406fd97](https://github.com/anthropics/anthropic-sdk-typescript/commit/406fd97d4cee0dd363ad548c9a251f78091a70e3))
+* **readme:** remove beta status + document versioning policy ([#100](https://github.com/anthropics/anthropic-sdk-typescript/issues/100)) ([e9ef3d2](https://github.com/anthropics/anthropic-sdk-typescript/commit/e9ef3d21a25e355d8bf94b7a941ad82ec5eafec8))
+
+
+### Chores
+
+* **docs:** remove trailing spaces ([#108](https://github.com/anthropics/anthropic-sdk-typescript/issues/108)) ([4ba2c6f](https://github.com/anthropics/anthropic-sdk-typescript/commit/4ba2c6f181521ed9a60ed45c35d2276129cd7a0b))
+* **internal:** conditionally include bin during build output ([#109](https://github.com/anthropics/anthropic-sdk-typescript/issues/109)) ([58ac305](https://github.com/anthropics/anthropic-sdk-typescript/commit/58ac305d752d6b5c378f91b988ddfb97231c003c))
+* **internal:** fix deno build ([#98](https://github.com/anthropics/anthropic-sdk-typescript/issues/98)) ([f011e04](https://github.com/anthropics/anthropic-sdk-typescript/commit/f011e041f2f9cabb12951013825c0f0a2a569053))
+* **internal:** remove deno build ([#103](https://github.com/anthropics/anthropic-sdk-typescript/issues/103)) ([9af1527](https://github.com/anthropics/anthropic-sdk-typescript/commit/9af152707a9bcf3027afc64f027566be25da2eb9))
+
+
+### Refactors
+
+* **client:** remove Stream.toReadableStream() ([#110](https://github.com/anthropics/anthropic-sdk-typescript/issues/110)) ([c370412](https://github.com/anthropics/anthropic-sdk-typescript/commit/c37041285ed9cccf6d980a953e14ffd4006a8acc))
+
+## [0.5.10](https://github.com/anthropics/anthropic-sdk-typescript/compare/v0.5.9...v0.5.10) (2023-08-01)
+
+
+### Refactors
+
+* create build for deno.land ([#93](https://github.com/anthropics/anthropic-sdk-typescript/issues/93)) ([2ea741a](https://github.com/anthropics/anthropic-sdk-typescript/commit/2ea741a4d4a3123b2eaafb87b73d7884c69ae23b))
+
+
+### Documentation
+
+* **readme:** add token counting reference ([#94](https://github.com/anthropics/anthropic-sdk-typescript/issues/94)) ([2c6a699](https://github.com/anthropics/anthropic-sdk-typescript/commit/2c6a699d499a3468fc4312a6b6c9493ffd1806a2))
+
+
+### Chores
+
+* **internal:** allow the build script to be run without yarn installed ([#91](https://github.com/anthropics/anthropic-sdk-typescript/issues/91)) ([9bd2b28](https://github.com/anthropics/anthropic-sdk-typescript/commit/9bd2b2871ca8a3b5f2466a904153d5c234094372))
+* **internal:** fix deno build ([#96](https://github.com/anthropics/anthropic-sdk-typescript/issues/96)) ([3fdab4e](https://github.com/anthropics/anthropic-sdk-typescript/commit/3fdab4e33b4c8668d17b8cddabbb09a22adf4124))
+
+## [0.5.9](https://github.com/anthropics/anthropic-sdk-typescript/compare/v0.5.8...v0.5.9) (2023-07-29)
+
+
+### Bug Fixes
+
+* **client:** handle undefined process in more places ([#87](https://github.com/anthropics/anthropic-sdk-typescript/issues/87)) ([d950c25](https://github.com/anthropics/anthropic-sdk-typescript/commit/d950c25469a6c6b0dd3cfecd282db078826366ba))
+* **examples:** avoid swallowing errors in example scripts ([#82](https://github.com/anthropics/anthropic-sdk-typescript/issues/82)) ([b27cfe9](https://github.com/anthropics/anthropic-sdk-typescript/commit/b27cfe9323bce983bb49f57dece98f1d9e507034))
+* fix undefined message in errors ([#86](https://github.com/anthropics/anthropic-sdk-typescript/issues/86)) ([5714a14](https://github.com/anthropics/anthropic-sdk-typescript/commit/5714a14d9af282a3d308b8694e6e03309d4b5642))
+
+
+### Chores
+
+* **internal:** minor refactoring of client instantiation ([#88](https://github.com/anthropics/anthropic-sdk-typescript/issues/88)) ([2c53e1c](https://github.com/anthropics/anthropic-sdk-typescript/commit/2c53e1ca28a444a48e5f1041d9eb9077608b3fc7))
+
+
+### Refactors
+
+* use destructuring arguments in client constructor and respect false values ([#89](https://github.com/anthropics/anthropic-sdk-typescript/issues/89)) ([8d4c686](https://github.com/anthropics/anthropic-sdk-typescript/commit/8d4c6860273bbd16027023700d521a5e48db76f7))
+
+## [0.5.8](https://github.com/anthropics/anthropic-sdk-typescript/compare/v0.5.7...v0.5.8) (2023-07-22)
+
+
+### Features
+
+* **streaming:** make requests immediately throw an error if an aborted signal is passed in ([#79](https://github.com/anthropics/anthropic-sdk-typescript/issues/79)) ([5c86597](https://github.com/anthropics/anthropic-sdk-typescript/commit/5c865979a21d18db87df43a9bdb27b701815f4bb))
+
+## [0.5.7](https://github.com/anthropics/anthropic-sdk-typescript/compare/v0.5.6...v0.5.7) (2023-07-19)
+
+
+### Features
+
+* add flexible enum to model param ([#73](https://github.com/anthropics/anthropic-sdk-typescript/issues/73)) ([a6bbcad](https://github.com/anthropics/anthropic-sdk-typescript/commit/a6bbcadb447060f3c2e60881d31d7b7fb7a50512))
+* **client:** export ClientOptions interface ([#75](https://github.com/anthropics/anthropic-sdk-typescript/issues/75)) ([0315ce1](https://github.com/anthropics/anthropic-sdk-typescript/commit/0315ce170db463ad900384ab7e4f62885cb471a2))
+* **deps:** remove unneeded qs dep ([#72](https://github.com/anthropics/anthropic-sdk-typescript/issues/72)) ([0aea5a6](https://github.com/anthropics/anthropic-sdk-typescript/commit/0aea5a6f4852f351ecbe9f46d6857a6fafc7e864))
+
+
+### Bug Fixes
+
+* **client:** fix errors with file uploads in the browser ([#76](https://github.com/anthropics/anthropic-sdk-typescript/issues/76)) ([ac48fa7](https://github.com/anthropics/anthropic-sdk-typescript/commit/ac48fa72bb764b2abed95f200bc658f65725e2b3))
+* fix error in environments without `TextEncoder` ([#70](https://github.com/anthropics/anthropic-sdk-typescript/issues/70)) ([5b78e05](https://github.com/anthropics/anthropic-sdk-typescript/commit/5b78e0586fd351258ccc05c8ba89a2ba66681b0d))
+* fix export map order ([#74](https://github.com/anthropics/anthropic-sdk-typescript/issues/74)) ([51e70cb](https://github.com/anthropics/anthropic-sdk-typescript/commit/51e70cb9b55128d4de1b0597fad475d0f4bc836c))
+
+## [0.5.6](https://github.com/anthropics/anthropic-sdk-typescript/compare/v0.5.5...v0.5.6) (2023-07-15)
+
+
+### Bug Fixes
+
+* fix errors with "named" client export in CJS ([#67](https://github.com/anthropics/anthropic-sdk-typescript/issues/67)) ([08ef69c](https://github.com/anthropics/anthropic-sdk-typescript/commit/08ef69cca87bbdf82440d163611f45e04e894234))
+
+## [0.5.5](https://github.com/anthropics/anthropic-sdk-typescript/compare/v0.5.4...v0.5.5) (2023-07-13)
+
+
+### Features
+
+* **client:** add support for passing a `signal` request option ([#55](https://github.com/anthropics/anthropic-sdk-typescript/issues/55)) ([09604e9](https://github.com/anthropics/anthropic-sdk-typescript/commit/09604e9990e13dd703f4bcfd0a241b8ec2ebbc71))
+
+
+### Bug Fixes
+
+* **streaming:** do not abort successfully completed streams ([#53](https://github.com/anthropics/anthropic-sdk-typescript/issues/53)) ([950dd49](https://github.com/anthropics/anthropic-sdk-typescript/commit/950dd4930429010d89ae31eef9ebb193be9517ad))
+
+
+### Documentation
+
+* **examples:** bump model to claude-2 in example scripts ([#57](https://github.com/anthropics/anthropic-sdk-typescript/issues/57)) ([f85c05d](https://github.com/anthropics/anthropic-sdk-typescript/commit/f85c05d49a7a9db1deb8eed9124934da763b721b))
+* **readme:** improvements to formatting code snippets ([#58](https://github.com/anthropics/anthropic-sdk-typescript/issues/58)) ([67bae64](https://github.com/anthropics/anthropic-sdk-typescript/commit/67bae64d5388e7e71ea3a891b3579c072b743f38))
+
+
+### Chores
+
+* **internal:** add helper function for b64 ([#62](https://github.com/anthropics/anthropic-sdk-typescript/issues/62)) ([04e303c](https://github.com/anthropics/anthropic-sdk-typescript/commit/04e303c5cc7b14a862b81379d547b3dc6e908720))
+* **internal:** let `toFile` helper accept promises to objects with name/type properties ([#63](https://github.com/anthropics/anthropic-sdk-typescript/issues/63)) ([93f9af2](https://github.com/anthropics/anthropic-sdk-typescript/commit/93f9af29a91cfced533d309d1816c58bc2efa355))
+* **internal:** remove unneeded type var usage ([#59](https://github.com/anthropics/anthropic-sdk-typescript/issues/59)) ([42fc4a9](https://github.com/anthropics/anthropic-sdk-typescript/commit/42fc4a90cc267f077b26d2bafebe487a74cae067))
+
+## [0.5.4](https://github.com/anthropics/anthropic-sdk-typescript/compare/v0.5.3...v0.5.4) (2023-07-11)
+
+
+### Features
+
+* **api:** reference claude-2 in examples ([#50](https://github.com/anthropics/anthropic-sdk-typescript/issues/50)) ([7c53ded](https://github.com/anthropics/anthropic-sdk-typescript/commit/7c53ded6b7f5f3efec0df295181f18469c37e09d))
+* **client:** support passing a custom `fetch` function ([#46](https://github.com/anthropics/anthropic-sdk-typescript/issues/46)) ([7d54366](https://github.com/anthropics/anthropic-sdk-typescript/commit/7d54366fcefa0267e831a0cca4d10c9a146d9f6c))
+
+
+### Bug Fixes
+
+* **client:** properly handle multi-byte characters in Content-Length ([#47](https://github.com/anthropics/anthropic-sdk-typescript/issues/47)) ([8dfff26](https://github.com/anthropics/anthropic-sdk-typescript/commit/8dfff2691a3ebd5721462c055d8da638ac77e571))
+
+
+### Refactors
+
+* **streaming:** make response body streaming polyfill more spec-compliant ([#44](https://github.com/anthropics/anthropic-sdk-typescript/issues/44)) ([047d328](https://github.com/anthropics/anthropic-sdk-typescript/commit/047d328cb0968fb1926e41326d35b595ba3fb3bc))
diff --git a/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/LICENSE b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/LICENSE
new file mode 100644
index 0000000000000000000000000000000000000000..ac71a66cf790ec2b4cc699891aed7671a6233dd7
--- /dev/null
+++ b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/LICENSE
@@ -0,0 +1,8 @@
+Copyright 2023 Anthropic, PBC.
+
+Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+
diff --git a/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/README.md b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/README.md
new file mode 100644
index 0000000000000000000000000000000000000000..1dfce99f78f1a3129f94191c46968f7176885677
--- /dev/null
+++ b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/README.md
@@ -0,0 +1,662 @@
+# Anthropic TypeScript API Library
+
+[](https://npmjs.org/package/@anthropic-ai/sdk) 
+
+This library provides convenient access to the Anthropic REST API from server-side TypeScript or JavaScript.
+
+The REST API documentation can be found on [docs.anthropic.com](https://docs.anthropic.com/claude/reference/). The full API of this library can be found in [api.md](api.md).
+
+## Installation
+
+```sh
+npm install @anthropic-ai/sdk
+```
+
+## Usage
+
+The full API of this library can be found in [api.md](api.md).
+
+
+```js
+import Anthropic from '@anthropic-ai/sdk';
+
+const client = new Anthropic({
+ apiKey: process.env['ANTHROPIC_API_KEY'], // This is the default and can be omitted
+});
+
+const message = await client.messages.create({
+ max_tokens: 1024,
+ messages: [{ role: 'user', content: 'Hello, Claude' }],
+ model: 'claude-3-5-sonnet-latest',
+});
+
+console.log(message.content);
+```
+
+## Streaming responses
+
+We provide support for streaming responses using Server Sent Events (SSE).
+
+```ts
+import Anthropic from '@anthropic-ai/sdk';
+
+const client = new Anthropic();
+
+const stream = await client.messages.create({
+ max_tokens: 1024,
+ messages: [{ role: 'user', content: 'Hello, Claude' }],
+ model: 'claude-3-5-sonnet-latest',
+ stream: true,
+});
+for await (const messageStreamEvent of stream) {
+ console.log(messageStreamEvent.type);
+}
+```
+
+If you need to cancel a stream, you can `break` from the loop
+or call `stream.controller.abort()`.
+
+### Request & Response types
+
+This library includes TypeScript definitions for all request params and response fields. You may import and use them like so:
+
+
+```ts
+import Anthropic from '@anthropic-ai/sdk';
+
+const client = new Anthropic({
+ apiKey: process.env['ANTHROPIC_API_KEY'], // This is the default and can be omitted
+});
+
+const params: Anthropic.MessageCreateParams = {
+ max_tokens: 1024,
+ messages: [{ role: 'user', content: 'Hello, Claude' }],
+ model: 'claude-3-5-sonnet-latest',
+};
+const message: Anthropic.Message = await client.messages.create(params);
+```
+
+Documentation for each method, request param, and response field are available in docstrings and will appear on hover in most modern editors.
+
+## Counting Tokens
+
+You can see the exact usage for a given request through the `usage` response property, e.g.
+
+```ts
+const message = await client.messages.create(...)
+console.log(message.usage)
+// { input_tokens: 25, output_tokens: 13 }
+```
+
+## Streaming Helpers
+
+This library provides several conveniences for streaming messages, for example:
+
+```ts
+import Anthropic from '@anthropic-ai/sdk';
+
+const anthropic = new Anthropic();
+
+async function main() {
+ const stream = anthropic.messages
+ .stream({
+ model: 'claude-3-5-sonnet-latest',
+ max_tokens: 1024,
+ messages: [
+ {
+ role: 'user',
+ content: 'Say hello there!',
+ },
+ ],
+ })
+ .on('text', (text) => {
+ console.log(text);
+ });
+
+ const message = await stream.finalMessage();
+ console.log(message);
+}
+
+main();
+```
+
+Streaming with `client.messages.stream(...)` exposes [various helpers for your convenience](helpers.md) including event handlers and accumulation.
+
+Alternatively, you can use `client.messages.create({ ..., stream: true })` which only returns an async iterable of the events in the stream and thus uses less memory (it does not build up a final message object for you).
+
+## Message Batches
+
+This SDK provides beta support for the [Message Batches API](https://docs.anthropic.com/en/docs/build-with-claude/message-batches) under the `client.beta.messages.batches` namespace.
+
+### Creating a batch
+
+Message Batches takes an array of requests, where each object has a `custom_id` identifier, and the exact same request `params` as the standard Messages API:
+
+```ts
+await anthropic.beta.messages.batches.create({
+ requests: [
+ {
+ custom_id: 'my-first-request',
+ params: {
+ model: 'claude-3-5-sonnet-latest',
+ max_tokens: 1024,
+ messages: [{ role: 'user', content: 'Hello, world' }],
+ },
+ },
+ {
+ custom_id: 'my-second-request',
+ params: {
+ model: 'claude-3-5-sonnet-latest',
+ max_tokens: 1024,
+ messages: [{ role: 'user', content: 'Hi again, friend' }],
+ },
+ },
+ ],
+});
+```
+
+### Getting results from a batch
+
+Once a Message Batch has been processed, indicated by `.processing_status === 'ended'`, you can access the results with `.batches.results()`
+
+```ts
+const results = await anthropic.beta.messages.batches.results(batch_id);
+for await (const entry of results) {
+ if (entry.result.type === 'succeeded') {
+ console.log(entry.result.message.content);
+ }
+}
+```
+
+## Tool use
+
+This SDK provides support for tool use, aka function calling. More details can be found in [the documentation](https://docs.anthropic.com/claude/docs/tool-use).
+
+## AWS Bedrock
+
+We provide support for the [Anthropic Bedrock API](https://aws.amazon.com/bedrock/claude/) through a [separate package](https://github.com/anthropics/anthropic-sdk-typescript/tree/main/packages/bedrock-sdk).
+
+## File uploads
+
+Request parameters that correspond to file uploads can be passed in many different forms:
+
+- `File` (or an object with the same structure)
+- a `fetch` `Response` (or an object with the same structure)
+- an `fs.ReadStream`
+- the return value of our `toFile` helper
+
+Note that we recommend you set the content-type explicitly as the files API will not infer it for you:
+
+```ts
+import fs from 'fs';
+import Anthropic, { toFile } from '@anthropic-ai/sdk';
+
+const client = new Anthropic();
+
+// If you have access to Node `fs` we recommend using `fs.createReadStream()`:
+await client.beta.files.upload({
+ file: await toFile(fs.createReadStream('/path/to/file'), undefined, { type: 'application/json' }),
+ betas: ['files-api-2025-04-14'],
+});
+
+// Or if you have the web `File` API you can pass a `File` instance:
+await client.beta.files.upload({
+ file: new File(['my bytes'], 'file.txt', { type: 'text/plain' }),
+ betas: ['files-api-2025-04-14'],
+});
+// You can also pass a `fetch` `Response`:
+await client.beta.files.upload({
+ file: await fetch('https://somesite/file'),
+ betas: ['files-api-2025-04-14'],
+});
+
+// Or a `Buffer` / `Uint8Array`
+await client.beta.files.upload({
+ file: await toFile(Buffer.from('my bytes'), 'file', { type: 'text/plain' }),
+ betas: ['files-api-2025-04-14'],
+});
+await client.beta.files.upload({
+ file: await toFile(new Uint8Array([0, 1, 2]), 'file', { type: 'text/plain' }),
+ betas: ['files-api-2025-04-14'],
+});
+```
+
+## Handling errors
+
+When the library is unable to connect to the API,
+or if the API returns a non-success status code (i.e., 4xx or 5xx response),
+a subclass of `APIError` will be thrown:
+
+
+```ts
+const message = await client.messages
+ .create({
+ max_tokens: 1024,
+ messages: [{ role: 'user', content: 'Hello, Claude' }],
+ model: 'claude-3-5-sonnet-latest',
+ })
+ .catch(async (err) => {
+ if (err instanceof Anthropic.APIError) {
+ console.log(err.status); // 400
+ console.log(err.name); // BadRequestError
+ console.log(err.headers); // {server: 'nginx', ...}
+ } else {
+ throw err;
+ }
+ });
+```
+
+Error codes are as follows:
+
+| Status Code | Error Type |
+| ----------- | -------------------------- |
+| 400 | `BadRequestError` |
+| 401 | `AuthenticationError` |
+| 403 | `PermissionDeniedError` |
+| 404 | `NotFoundError` |
+| 422 | `UnprocessableEntityError` |
+| 429 | `RateLimitError` |
+| >=500 | `InternalServerError` |
+| N/A | `APIConnectionError` |
+
+## Request IDs
+
+> For more information on debugging requests, see [these docs](https://docs.anthropic.com/en/api/errors#request-id)
+
+All object responses in the SDK provide a `_request_id` property which is added from the `request-id` response header so that you can quickly log failing requests and report them back to Anthropic.
+
+```ts
+const message = await client.messages.create({
+ max_tokens: 1024,
+ messages: [{ role: 'user', content: 'Hello, Claude' }],
+ model: 'claude-3-5-sonnet-latest',
+});
+console.log(message._request_id); // req_018EeWyXxfu5pfWkrYcMdjWG
+```
+
+### Retries
+
+Certain errors will be automatically retried 2 times by default, with a short exponential backoff.
+Connection errors (for example, due to a network connectivity problem), 408 Request Timeout, 409 Conflict,
+429 Rate Limit, and >=500 Internal errors will all be retried by default.
+
+You can use the `maxRetries` option to configure or disable this:
+
+
+```js
+// Configure the default for all requests:
+const client = new Anthropic({
+ maxRetries: 0, // default is 2
+});
+
+// Or, configure per-request:
+await client.messages.create({ max_tokens: 1024, messages: [{ role: 'user', content: 'Hello, Claude' }], model: 'claude-3-5-sonnet-latest' }, {
+ maxRetries: 5,
+});
+```
+
+### Timeouts
+
+By default requests time out after 10 minutes. However if you have specified a large `max_tokens` value and are
+_not_ streaming, the default timeout will be calculated dynamically using the formula:
+
+```typescript
+const minimum = 10 * 60;
+const calculated = (60 * 60 * maxTokens) / 128_000;
+return calculated < minimum ? minimum * 1000 : calculated * 1000;
+```
+
+which will result in a timeout up to 60 minutes, scaled by the `max_tokens` parameter, unless overriden at the request or client level.
+
+You can configure this with a `timeout` option:
+
+
+```ts
+// Configure the default for all requests:
+const client = new Anthropic({
+ timeout: 20 * 1000, // 20 seconds (default is 10 minutes)
+});
+
+// Override per-request:
+await client.messages.create({ max_tokens: 1024, messages: [{ role: 'user', content: 'Hello, Claude' }], model: 'claude-3-5-sonnet-latest' }, {
+ timeout: 5 * 1000,
+});
+```
+
+On timeout, an `APIConnectionTimeoutError` is thrown.
+
+Note that requests which time out will be [retried twice by default](#retries).
+
+### Long Requests
+
+> [!IMPORTANT]
+> We highly encourage you use the streaming [Messages API](#streaming-responses) for longer running requests.
+
+We do not recommend setting a large `max_tokens` values without using streaming.
+Some networks may drop idle connections after a certain period of time, which
+can cause the request to fail or [timeout](#timeouts) without receiving a response from Anthropic.
+
+This SDK will also throw an error if a non-streaming request is expected to be above roughly 10 minutes long.
+Passing `stream: true` or [overriding](#timeouts) the `timeout` option at the client or request level disables this error.
+
+An expected request latency longer than the [timeout](#timeouts) for a non-streaming request
+will result in the client terminating the connection and retrying without receiving a response.
+
+When supported by the `fetch` implementation, we set a [TCP socket keep-alive](https://tldp.org/HOWTO/TCP-Keepalive-HOWTO/overview.html) option in order
+to reduce the impact of idle connection timeouts on some networks.
+This can be [overriden](#configuring-an-https-agent-eg-for-proxies) by configuring a custom proxy.
+
+## Auto-pagination
+
+List methods in the Anthropic API are paginated.
+You can use the `for await β¦ of` syntax to iterate through items across all pages:
+
+```ts
+async function fetchAllBetaMessageBatches(params) {
+ const allBetaMessageBatches = [];
+ // Automatically fetches more pages as needed.
+ for await (const betaMessageBatch of client.beta.messages.batches.list({ limit: 20 })) {
+ allBetaMessageBatches.push(betaMessageBatch);
+ }
+ return allBetaMessageBatches;
+}
+```
+
+Alternatively, you can request a single page at a time:
+
+```ts
+let page = await client.beta.messages.batches.list({ limit: 20 });
+for (const betaMessageBatch of page.data) {
+ console.log(betaMessageBatch);
+}
+
+// Convenience methods are provided for manually paginating:
+while (page.hasNextPage()) {
+ page = await page.getNextPage();
+ // ...
+}
+```
+
+## Default Headers
+
+We automatically send the `anthropic-version` header set to `2023-06-01`.
+
+If you need to, you can override it by setting default headers on a per-request basis.
+
+Be aware that doing so may result in incorrect types and other unexpected or undefined behavior in the SDK.
+
+```ts
+import Anthropic from '@anthropic-ai/sdk';
+
+const client = new Anthropic();
+
+const message = await client.messages.create(
+ {
+ max_tokens: 1024,
+ messages: [{ role: 'user', content: 'Hello, Claude' }],
+ model: 'claude-3-5-sonnet-latest',
+ },
+ { headers: { 'anthropic-version': 'My-Custom-Value' } },
+);
+```
+
+## Advanced Usage
+
+### Accessing raw Response data (e.g., headers)
+
+The "raw" `Response` returned by `fetch()` can be accessed through the `.asResponse()` method on the `APIPromise` type that all methods return.
+This method returns as soon as the headers for a successful response are received and does not consume the response body, so you are free to write custom parsing or streaming logic.
+
+You can also use the `.withResponse()` method to get the raw `Response` along with the parsed data.
+Unlike `.asResponse()` this method consumes the body, returning once it is parsed.
+
+
+```ts
+const client = new Anthropic();
+
+const response = await client.messages
+ .create({
+ max_tokens: 1024,
+ messages: [{ role: 'user', content: 'Hello, Claude' }],
+ model: 'claude-3-5-sonnet-latest',
+ })
+ .asResponse();
+console.log(response.headers.get('X-My-Header'));
+console.log(response.statusText); // access the underlying Response object
+
+const { data: message, response: raw } = await client.messages
+ .create({
+ max_tokens: 1024,
+ messages: [{ role: 'user', content: 'Hello, Claude' }],
+ model: 'claude-3-5-sonnet-latest',
+ })
+ .withResponse();
+console.log(raw.headers.get('X-My-Header'));
+console.log(message.content);
+```
+
+### Logging
+
+> [!IMPORTANT]
+> All log messages are intended for debugging only. The format and content of log messages
+> may change between releases.
+
+#### Log levels
+
+The log level can be configured in two ways:
+
+1. Via the `ANTHROPIC_LOG` environment variable
+2. Using the `logLevel` client option (overrides the environment variable if set)
+
+```ts
+import Anthropic from '@anthropic-ai/sdk';
+
+const client = new Anthropic({
+ logLevel: 'debug', // Show all log messages
+});
+```
+
+Available log levels, from most to least verbose:
+
+- `'debug'` - Show debug messages, info, warnings, and errors
+- `'info'` - Show info messages, warnings, and errors
+- `'warn'` - Show warnings and errors (default)
+- `'error'` - Show only errors
+- `'off'` - Disable all logging
+
+At the `'debug'` level, all HTTP requests and responses are logged, including headers and bodies.
+Some authentication-related headers are redacted, but sensitive data in request and response bodies
+may still be visible.
+
+#### Custom logger
+
+By default, this library logs to `globalThis.console`. You can also provide a custom logger.
+Most logging libraries are supported, including [pino](https://www.npmjs.com/package/pino), [winston](https://www.npmjs.com/package/winston), [bunyan](https://www.npmjs.com/package/bunyan), [consola](https://www.npmjs.com/package/consola), [signale](https://www.npmjs.com/package/signale), and [@std/log](https://jsr.io/@std/log). If your logger doesn't work, please open an issue.
+
+When providing a custom logger, the `logLevel` option still controls which messages are emitted, messages
+below the configured level will not be sent to your logger.
+
+```ts
+import Anthropic from '@anthropic-ai/sdk';
+import pino from 'pino';
+
+const logger = pino();
+
+const client = new Anthropic({
+ logger: logger.child({ name: 'Anthropic' }),
+ logLevel: 'debug', // Send all messages to pino, allowing it to filter
+});
+```
+
+### Making custom/undocumented requests
+
+This library is typed for convenient access to the documented API. If you need to access undocumented
+endpoints, params, or response properties, the library can still be used.
+
+#### Undocumented endpoints
+
+To make requests to undocumented endpoints, you can use `client.get`, `client.post`, and other HTTP verbs.
+Options on the client, such as retries, will be respected when making these requests.
+
+```ts
+await client.post('/some/path', {
+ body: { some_prop: 'foo' },
+ query: { some_query_arg: 'bar' },
+});
+```
+
+#### Undocumented request params
+
+To make requests using undocumented parameters, you may use `// @ts-expect-error` on the undocumented
+parameter. This library doesn't validate at runtime that the request matches the type, so any extra values you
+send will be sent as-is.
+
+```ts
+client.foo.create({
+ foo: 'my_param',
+ bar: 12,
+ // @ts-expect-error baz is not yet public
+ baz: 'undocumented option',
+});
+```
+
+For requests with the `GET` verb, any extra params will be in the query, all other requests will send the
+extra param in the body.
+
+If you want to explicitly send an extra argument, you can do so with the `query`, `body`, and `headers` request
+options.
+
+#### Undocumented response properties
+
+To access undocumented response properties, you may access the response object with `// @ts-expect-error` on
+the response object, or cast the response object to the requisite type. Like the request params, we do not
+validate or strip extra properties from the response from the API.
+
+### Customizing the fetch client
+
+By default, this library expects a global `fetch` function is defined.
+
+If you want to use a different `fetch` function, you can either polyfill the global:
+
+```ts
+import fetch from 'my-fetch';
+
+globalThis.fetch = fetch;
+```
+
+Or pass it to the client:
+
+```ts
+import Anthropic from '@anthropic-ai/sdk';
+import fetch from 'my-fetch';
+
+const client = new Anthropic({ fetch });
+```
+
+### Fetch options
+
+If you want to set custom `fetch` options without overriding the `fetch` function, you can provide a `fetchOptions` object when instantiating the client or making a request. (Request-specific options override client options.)
+
+```ts
+import Anthropic from '@anthropic-ai/sdk';
+
+const client = new Anthropic({
+ fetchOptions: {
+ // `RequestInit` options
+ },
+});
+```
+
+#### Configuring proxies
+
+To modify proxy behavior, you can provide custom `fetchOptions` that add runtime-specific proxy
+options to requests:
+
+
**Node** [[docs](https://github.com/nodejs/undici/blob/main/docs/docs/api/ProxyAgent.md#example---proxyagent-with-fetch)]
+
+```ts
+import Anthropic from '@anthropic-ai/sdk';
+import * as undici from 'undici';
+
+const proxyAgent = new undici.ProxyAgent('http://localhost:8888');
+const client = new Anthropic({
+ fetchOptions: {
+ dispatcher: proxyAgent,
+ },
+});
+```
+
+
**Bun** [[docs](https://bun.sh/guides/http/proxy)]
+
+```ts
+import Anthropic from '@anthropic-ai/sdk';
+
+const client = new Anthropic({
+ fetchOptions: {
+ proxy: 'http://localhost:8888',
+ },
+});
+```
+
+
**Deno** [[docs](https://docs.deno.com/api/deno/~/Deno.createHttpClient)]
+
+```ts
+import Anthropic from 'npm:@anthropic-ai/sdk';
+
+const httpClient = Deno.createHttpClient({ proxy: { url: 'http://localhost:8888' } });
+const client = new Anthropic({
+ fetchOptions: {
+ client: httpClient,
+ },
+});
+```
+
+## Frequently Asked Questions
+
+## Semantic versioning
+
+This package generally follows [SemVer](https://semver.org/spec/v2.0.0.html) conventions, though certain backwards-incompatible changes may be released as minor versions:
+
+1. Changes that only affect static types, without breaking runtime behavior.
+2. Changes to library internals which are technically public but not intended or documented for external use. _(Please open a GitHub issue to let us know if you are relying on such internals.)_
+3. Changes that we do not expect to impact the vast majority of users in practice.
+
+We take backwards-compatibility seriously and work hard to ensure you can rely on a smooth upgrade experience.
+
+We are keen for your feedback; please open an [issue](https://www.github.com/anthropics/anthropic-sdk-typescript/issues) with questions, bugs, or suggestions.
+
+## Requirements
+
+TypeScript >= 4.9 is supported.
+
+The following runtimes are supported:
+
+- Node.js 20 LTS or later ([non-EOL](https://endoflife.date/nodejs)) versions.
+- Deno v1.28.0 or higher.
+- Bun 1.0 or later.
+- Cloudflare Workers.
+- Vercel Edge Runtime.
+- Jest 28 or greater with the `"node"` environment (`"jsdom"` is not supported at this time).
+- Nitro v2.6 or greater.
+- Web browsers: disabled by default to avoid exposing your secret API credentials (see our help center for [best practices](https://support.anthropic.com/en/articles/9767949-api-key-best-practices-keeping-your-keys-safe-and-secure)). Enable browser support by explicitly setting `dangerouslyAllowBrowser` to `true`.
+
+
+ More explanation
+ Why is this dangerous?
+ Enabling the dangerouslyAllowBrowser option can be dangerous because it exposes your secret API credentials in the client-side code. Web browsers are inherently less secure than server environments,
+ any user with access to the browser can potentially inspect, extract, and misuse these credentials. This could lead to unauthorized access using your credentials and potentially compromise sensitive data or functionality.
+ When might this not be dangerous?
+ In certain scenarios where enabling browser support might not pose significant risks:
+
+ - Internal Tools: If the application is used solely within a controlled internal environment where the users are trusted, the risk of credential exposure can be mitigated.
+ - Development or debugging purpose: Enabling this feature temporarily might be acceptable, provided the credentials are short-lived, aren't also used in production environments, or are frequently rotated.
+
+
+
+Note that React Native is not supported at this time.
+
+If you are interested in other runtime environments, please open or upvote an issue on GitHub.
+
+## Contributing
+
+See [the contributing documentation](./CONTRIBUTING.md).
diff --git a/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/_vendor/partial-json-parser/parser.d.mts b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/_vendor/partial-json-parser/parser.d.mts
new file mode 100644
index 0000000000000000000000000000000000000000..2a99ebe363281bb736ac01b53ec5d24c335fd18b
--- /dev/null
+++ b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/_vendor/partial-json-parser/parser.d.mts
@@ -0,0 +1,3 @@
+declare const partialParse: (input: string) => unknown;
+export { partialParse };
+//# sourceMappingURL=parser.d.mts.map
\ No newline at end of file
diff --git a/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/_vendor/partial-json-parser/parser.d.mts.map b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/_vendor/partial-json-parser/parser.d.mts.map
new file mode 100644
index 0000000000000000000000000000000000000000..dfd15fc506c6066f0ffcad15832edc7ecac05fee
--- /dev/null
+++ b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/_vendor/partial-json-parser/parser.d.mts.map
@@ -0,0 +1 @@
+{"version":3,"file":"parser.d.mts","sourceRoot":"","sources":["../../src/_vendor/partial-json-parser/parser.ts"],"names":[],"mappings":"AAKA,QAAA,MAgQE,YAAY,GAAI,OAAO,MAAM,KAAG,OAAgE,CAAC;AAEnG,OAAO,EAAE,YAAY,EAAE,CAAC"}
\ No newline at end of file
diff --git a/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/_vendor/partial-json-parser/parser.d.ts b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/_vendor/partial-json-parser/parser.d.ts
new file mode 100644
index 0000000000000000000000000000000000000000..bc450af6b68155d2b0f9381385771f3e4a586bd5
--- /dev/null
+++ b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/_vendor/partial-json-parser/parser.d.ts
@@ -0,0 +1,3 @@
+declare const partialParse: (input: string) => unknown;
+export { partialParse };
+//# sourceMappingURL=parser.d.ts.map
\ No newline at end of file
diff --git a/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/_vendor/partial-json-parser/parser.d.ts.map b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/_vendor/partial-json-parser/parser.d.ts.map
new file mode 100644
index 0000000000000000000000000000000000000000..95879fec05fe3da9bee6d937fe74973e0bd4f9ad
--- /dev/null
+++ b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/_vendor/partial-json-parser/parser.d.ts.map
@@ -0,0 +1 @@
+{"version":3,"file":"parser.d.ts","sourceRoot":"","sources":["../../src/_vendor/partial-json-parser/parser.ts"],"names":[],"mappings":"AAKA,QAAA,MAgQE,YAAY,GAAI,OAAO,MAAM,KAAG,OAAgE,CAAC;AAEnG,OAAO,EAAE,YAAY,EAAE,CAAC"}
\ No newline at end of file
diff --git a/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/_vendor/partial-json-parser/parser.js b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/_vendor/partial-json-parser/parser.js
new file mode 100644
index 0000000000000000000000000000000000000000..b7b4ec3df135c0aaeaa460c1f84de5e415eaf2f5
--- /dev/null
+++ b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/_vendor/partial-json-parser/parser.js
@@ -0,0 +1,226 @@
+"use strict";
+Object.defineProperty(exports, "__esModule", { value: true });
+exports.partialParse = void 0;
+const tokenize = (input) => {
+ let current = 0;
+ let tokens = [];
+ while (current < input.length) {
+ let char = input[current];
+ if (char === '\\') {
+ current++;
+ continue;
+ }
+ if (char === '{') {
+ tokens.push({
+ type: 'brace',
+ value: '{',
+ });
+ current++;
+ continue;
+ }
+ if (char === '}') {
+ tokens.push({
+ type: 'brace',
+ value: '}',
+ });
+ current++;
+ continue;
+ }
+ if (char === '[') {
+ tokens.push({
+ type: 'paren',
+ value: '[',
+ });
+ current++;
+ continue;
+ }
+ if (char === ']') {
+ tokens.push({
+ type: 'paren',
+ value: ']',
+ });
+ current++;
+ continue;
+ }
+ if (char === ':') {
+ tokens.push({
+ type: 'separator',
+ value: ':',
+ });
+ current++;
+ continue;
+ }
+ if (char === ',') {
+ tokens.push({
+ type: 'delimiter',
+ value: ',',
+ });
+ current++;
+ continue;
+ }
+ if (char === '"') {
+ let value = '';
+ let danglingQuote = false;
+ char = input[++current];
+ while (char !== '"') {
+ if (current === input.length) {
+ danglingQuote = true;
+ break;
+ }
+ if (char === '\\') {
+ current++;
+ if (current === input.length) {
+ danglingQuote = true;
+ break;
+ }
+ value += char + input[current];
+ char = input[++current];
+ }
+ else {
+ value += char;
+ char = input[++current];
+ }
+ }
+ char = input[++current];
+ if (!danglingQuote) {
+ tokens.push({
+ type: 'string',
+ value,
+ });
+ }
+ continue;
+ }
+ let WHITESPACE = /\s/;
+ if (char && WHITESPACE.test(char)) {
+ current++;
+ continue;
+ }
+ let NUMBERS = /[0-9]/;
+ if ((char && NUMBERS.test(char)) || char === '-' || char === '.') {
+ let value = '';
+ if (char === '-') {
+ value += char;
+ char = input[++current];
+ }
+ while ((char && NUMBERS.test(char)) || char === '.') {
+ value += char;
+ char = input[++current];
+ }
+ tokens.push({
+ type: 'number',
+ value,
+ });
+ continue;
+ }
+ let LETTERS = /[a-z]/i;
+ if (char && LETTERS.test(char)) {
+ let value = '';
+ while (char && LETTERS.test(char)) {
+ if (current === input.length) {
+ break;
+ }
+ value += char;
+ char = input[++current];
+ }
+ if (value == 'true' || value == 'false' || value === 'null') {
+ tokens.push({
+ type: 'name',
+ value,
+ });
+ }
+ else {
+ // unknown token, e.g. `nul` which isn't quite `null`
+ current++;
+ continue;
+ }
+ continue;
+ }
+ current++;
+ }
+ return tokens;
+}, strip = (tokens) => {
+ if (tokens.length === 0) {
+ return tokens;
+ }
+ let lastToken = tokens[tokens.length - 1];
+ switch (lastToken.type) {
+ case 'separator':
+ tokens = tokens.slice(0, tokens.length - 1);
+ return strip(tokens);
+ break;
+ case 'number':
+ let lastCharacterOfLastToken = lastToken.value[lastToken.value.length - 1];
+ if (lastCharacterOfLastToken === '.' || lastCharacterOfLastToken === '-') {
+ tokens = tokens.slice(0, tokens.length - 1);
+ return strip(tokens);
+ }
+ case 'string':
+ let tokenBeforeTheLastToken = tokens[tokens.length - 2];
+ if (tokenBeforeTheLastToken?.type === 'delimiter') {
+ tokens = tokens.slice(0, tokens.length - 1);
+ return strip(tokens);
+ }
+ else if (tokenBeforeTheLastToken?.type === 'brace' && tokenBeforeTheLastToken.value === '{') {
+ tokens = tokens.slice(0, tokens.length - 1);
+ return strip(tokens);
+ }
+ break;
+ case 'delimiter':
+ tokens = tokens.slice(0, tokens.length - 1);
+ return strip(tokens);
+ break;
+ }
+ return tokens;
+}, unstrip = (tokens) => {
+ let tail = [];
+ tokens.map((token) => {
+ if (token.type === 'brace') {
+ if (token.value === '{') {
+ tail.push('}');
+ }
+ else {
+ tail.splice(tail.lastIndexOf('}'), 1);
+ }
+ }
+ if (token.type === 'paren') {
+ if (token.value === '[') {
+ tail.push(']');
+ }
+ else {
+ tail.splice(tail.lastIndexOf(']'), 1);
+ }
+ }
+ });
+ if (tail.length > 0) {
+ tail.reverse().map((item) => {
+ if (item === '}') {
+ tokens.push({
+ type: 'brace',
+ value: '}',
+ });
+ }
+ else if (item === ']') {
+ tokens.push({
+ type: 'paren',
+ value: ']',
+ });
+ }
+ });
+ }
+ return tokens;
+}, generate = (tokens) => {
+ let output = '';
+ tokens.map((token) => {
+ switch (token.type) {
+ case 'string':
+ output += '"' + token.value + '"';
+ break;
+ default:
+ output += token.value;
+ break;
+ }
+ });
+ return output;
+}, partialParse = (input) => JSON.parse(generate(unstrip(strip(tokenize(input)))));
+exports.partialParse = partialParse;
+//# sourceMappingURL=parser.js.map
\ No newline at end of file
diff --git a/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/_vendor/partial-json-parser/parser.js.map b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/_vendor/partial-json-parser/parser.js.map
new file mode 100644
index 0000000000000000000000000000000000000000..b13dbebe3843ef2df86467cea2f1b4aa11e17879
--- /dev/null
+++ b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/_vendor/partial-json-parser/parser.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"parser.js","sourceRoot":"","sources":["../../src/_vendor/partial-json-parser/parser.ts"],"names":[],"mappings":";;;AAKA,MAAM,QAAQ,GAAG,CAAC,KAAa,EAAW,EAAE;IACxC,IAAI,OAAO,GAAG,CAAC,CAAC;IAChB,IAAI,MAAM,GAAY,EAAE,CAAC;IAEzB,OAAO,OAAO,GAAG,KAAK,CAAC,MAAM,EAAE,CAAC;QAC9B,IAAI,IAAI,GAAG,KAAK,CAAC,OAAO,CAAC,CAAC;QAE1B,IAAI,IAAI,KAAK,IAAI,EAAE,CAAC;YAClB,OAAO,EAAE,CAAC;YACV,SAAS;QACX,CAAC;QAED,IAAI,IAAI,KAAK,GAAG,EAAE,CAAC;YACjB,MAAM,CAAC,IAAI,CAAC;gBACV,IAAI,EAAE,OAAO;gBACb,KAAK,EAAE,GAAG;aACX,CAAC,CAAC;YAEH,OAAO,EAAE,CAAC;YACV,SAAS;QACX,CAAC;QAED,IAAI,IAAI,KAAK,GAAG,EAAE,CAAC;YACjB,MAAM,CAAC,IAAI,CAAC;gBACV,IAAI,EAAE,OAAO;gBACb,KAAK,EAAE,GAAG;aACX,CAAC,CAAC;YAEH,OAAO,EAAE,CAAC;YACV,SAAS;QACX,CAAC;QAED,IAAI,IAAI,KAAK,GAAG,EAAE,CAAC;YACjB,MAAM,CAAC,IAAI,CAAC;gBACV,IAAI,EAAE,OAAO;gBACb,KAAK,EAAE,GAAG;aACX,CAAC,CAAC;YAEH,OAAO,EAAE,CAAC;YACV,SAAS;QACX,CAAC;QAED,IAAI,IAAI,KAAK,GAAG,EAAE,CAAC;YACjB,MAAM,CAAC,IAAI,CAAC;gBACV,IAAI,EAAE,OAAO;gBACb,KAAK,EAAE,GAAG;aACX,CAAC,CAAC;YAEH,OAAO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,EAAE,CAAC,IAAI,CAAC,KAAK,CAAC,QAAQ,CAAC,OAAO,CAAC,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;AAE1F,oCAAY"}
\ No newline at end of file
diff --git a/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/_vendor/partial-json-parser/parser.mjs b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/_vendor/partial-json-parser/parser.mjs
new file mode 100644
index 0000000000000000000000000000000000000000..d2e0d5cbcd7ddbc688a328d3c17720ffed626586
--- /dev/null
+++ b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/_vendor/partial-json-parser/parser.mjs
@@ -0,0 +1,223 @@
+const tokenize = (input) => {
+ let current = 0;
+ let tokens = [];
+ while (current < input.length) {
+ let char = input[current];
+ if (char === '\\') {
+ current++;
+ continue;
+ }
+ if (char === '{') {
+ tokens.push({
+ type: 'brace',
+ value: '{',
+ });
+ current++;
+ continue;
+ }
+ if (char === '}') {
+ tokens.push({
+ type: 'brace',
+ value: '}',
+ });
+ current++;
+ continue;
+ }
+ if (char === '[') {
+ tokens.push({
+ type: 'paren',
+ value: '[',
+ });
+ current++;
+ continue;
+ }
+ if (char === ']') {
+ tokens.push({
+ type: 'paren',
+ value: ']',
+ });
+ current++;
+ continue;
+ }
+ if (char === ':') {
+ tokens.push({
+ type: 'separator',
+ value: ':',
+ });
+ current++;
+ continue;
+ }
+ if (char === ',') {
+ tokens.push({
+ type: 'delimiter',
+ value: ',',
+ });
+ current++;
+ continue;
+ }
+ if (char === '"') {
+ let value = '';
+ let danglingQuote = false;
+ char = input[++current];
+ while (char !== '"') {
+ if (current === input.length) {
+ danglingQuote = true;
+ break;
+ }
+ if (char === '\\') {
+ current++;
+ if (current === input.length) {
+ danglingQuote = true;
+ break;
+ }
+ value += char + input[current];
+ char = input[++current];
+ }
+ else {
+ value += char;
+ char = input[++current];
+ }
+ }
+ char = input[++current];
+ if (!danglingQuote) {
+ tokens.push({
+ type: 'string',
+ value,
+ });
+ }
+ continue;
+ }
+ let WHITESPACE = /\s/;
+ if (char && WHITESPACE.test(char)) {
+ current++;
+ continue;
+ }
+ let NUMBERS = /[0-9]/;
+ if ((char && NUMBERS.test(char)) || char === '-' || char === '.') {
+ let value = '';
+ if (char === '-') {
+ value += char;
+ char = input[++current];
+ }
+ while ((char && NUMBERS.test(char)) || char === '.') {
+ value += char;
+ char = input[++current];
+ }
+ tokens.push({
+ type: 'number',
+ value,
+ });
+ continue;
+ }
+ let LETTERS = /[a-z]/i;
+ if (char && LETTERS.test(char)) {
+ let value = '';
+ while (char && LETTERS.test(char)) {
+ if (current === input.length) {
+ break;
+ }
+ value += char;
+ char = input[++current];
+ }
+ if (value == 'true' || value == 'false' || value === 'null') {
+ tokens.push({
+ type: 'name',
+ value,
+ });
+ }
+ else {
+ // unknown token, e.g. `nul` which isn't quite `null`
+ current++;
+ continue;
+ }
+ continue;
+ }
+ current++;
+ }
+ return tokens;
+}, strip = (tokens) => {
+ if (tokens.length === 0) {
+ return tokens;
+ }
+ let lastToken = tokens[tokens.length - 1];
+ switch (lastToken.type) {
+ case 'separator':
+ tokens = tokens.slice(0, tokens.length - 1);
+ return strip(tokens);
+ break;
+ case 'number':
+ let lastCharacterOfLastToken = lastToken.value[lastToken.value.length - 1];
+ if (lastCharacterOfLastToken === '.' || lastCharacterOfLastToken === '-') {
+ tokens = tokens.slice(0, tokens.length - 1);
+ return strip(tokens);
+ }
+ case 'string':
+ let tokenBeforeTheLastToken = tokens[tokens.length - 2];
+ if (tokenBeforeTheLastToken?.type === 'delimiter') {
+ tokens = tokens.slice(0, tokens.length - 1);
+ return strip(tokens);
+ }
+ else if (tokenBeforeTheLastToken?.type === 'brace' && tokenBeforeTheLastToken.value === '{') {
+ tokens = tokens.slice(0, tokens.length - 1);
+ return strip(tokens);
+ }
+ break;
+ case 'delimiter':
+ tokens = tokens.slice(0, tokens.length - 1);
+ return strip(tokens);
+ break;
+ }
+ return tokens;
+}, unstrip = (tokens) => {
+ let tail = [];
+ tokens.map((token) => {
+ if (token.type === 'brace') {
+ if (token.value === '{') {
+ tail.push('}');
+ }
+ else {
+ tail.splice(tail.lastIndexOf('}'), 1);
+ }
+ }
+ if (token.type === 'paren') {
+ if (token.value === '[') {
+ tail.push(']');
+ }
+ else {
+ tail.splice(tail.lastIndexOf(']'), 1);
+ }
+ }
+ });
+ if (tail.length > 0) {
+ tail.reverse().map((item) => {
+ if (item === '}') {
+ tokens.push({
+ type: 'brace',
+ value: '}',
+ });
+ }
+ else if (item === ']') {
+ tokens.push({
+ type: 'paren',
+ value: ']',
+ });
+ }
+ });
+ }
+ return tokens;
+}, generate = (tokens) => {
+ let output = '';
+ tokens.map((token) => {
+ switch (token.type) {
+ case 'string':
+ output += '"' + token.value + '"';
+ break;
+ default:
+ output += token.value;
+ break;
+ }
+ });
+ return output;
+}, partialParse = (input) => JSON.parse(generate(unstrip(strip(tokenize(input)))));
+export { partialParse };
+//# sourceMappingURL=parser.mjs.map
\ No newline at end of file
diff --git a/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/_vendor/partial-json-parser/parser.mjs.map b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/_vendor/partial-json-parser/parser.mjs.map
new file mode 100644
index 0000000000000000000000000000000000000000..69ed39c2925dcb322bf38257064efc4989dce931
--- /dev/null
+++ b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/_vendor/partial-json-parser/parser.mjs.map
@@ -0,0 +1 @@
+{"version":3,"file":"parser.mjs","sourceRoot":"","sources":["../../src/_vendor/partial-json-parser/parser.ts"],"names":[],"mappings":"AAKA,MAAM,QAAQ,GAAG,CAAC,KAAa,EAAW,EAAE;IACxC,IAAI,OAAO,GAAG,CAAC,CAAC;IAChB,IAAI,MAAM,GAAY,EAAE,CAAC;IAEzB,OAAO,OAAO,GAAG,KAAK,CAAC,MAAM,EAAE,CAA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AC,CAAC,IAAI,EAAE,EAAE;YAC1B,IAAI,IAAI,KAAK,GAAG,EAAE,CAAC;gBACjB,MAAM,CAAC,IAAI,CAAC;oBACV,IAAI,EAAE,OAAO;oBACb,KAAK,EAAE,GAAG;iBACX,CAAC,CAAC;YACL,CAAC;iBAAM,IAAI,IAAI,KAAK,GAAG,EAAE,CAAC;gBACxB,MAAM,CAAC,IAAI,CAAC;oBACV,IAAI,EAAE,OAAO;oBACb,KAAK,EAAE,GAAG;iBACX,CAAC,CAAC;YACL,CAAC;QACH,CAAC,CAAC,CAAC;IACL,CAAC;IAED,OAAO,MAAM,CAAC;AAChB,CAAC,EACD,QAAQ,GAAG,CAAC,MAAe,EAAU,EAAE;IACrC,IAAI,MAAM,GAAG,EAAE,CAAC;IAEhB,MAAM,CAAC,GAAG,CAAC,CAAC,KAAK,EAAE,EAAE;QACnB,QAAQ,KAAK,CAAC,IAAI,EAAE,CAAC;YACnB,KAAK,QAAQ;gBACX,MAAM,IAAI,GAAG,GAAG,KAAK,CAAC,KAAK,GAAG,GAAG,CAAC;gBAClC,MAAM;YACR;gBACE,MAAM,IAAI,KAAK,CAAC,KAAK,CAAC;gBACtB,MAAM;QACV,CAAC;IACH,CAAC,CAAC,CAAC;IAEH,OAAO,MAAM,CAAC;AAChB,CAAC,EACD,YAAY,GAAG,CAAC,KAAa,EAAW,EAAE,CAAC,IAAI,CAAC,KAAK,CAAC,QAAQ,CAAC,OAAO,CAAC,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;AAEnG,OAAO,EAAE,YAAY,EAAE,CAAC"}
\ No newline at end of file
diff --git a/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/api-promise.d.mts b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/api-promise.d.mts
new file mode 100644
index 0000000000000000000000000000000000000000..b484f34cd1cf343f659694713d811df48bcd2e19
--- /dev/null
+++ b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/api-promise.d.mts
@@ -0,0 +1,2 @@
+export * from "./core/api-promise.mjs";
+//# sourceMappingURL=api-promise.d.mts.map
\ No newline at end of file
diff --git a/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/api-promise.d.mts.map b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/api-promise.d.mts.map
new file mode 100644
index 0000000000000000000000000000000000000000..b17a940fa7f48aef32176e205290b5b5acae729c
--- /dev/null
+++ b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/api-promise.d.mts.map
@@ -0,0 +1 @@
+{"version":3,"file":"api-promise.d.mts","sourceRoot":"","sources":["src/api-promise.ts"],"names":[],"mappings":""}
\ No newline at end of file
diff --git a/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/api-promise.d.ts b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/api-promise.d.ts
new file mode 100644
index 0000000000000000000000000000000000000000..f77b83cf5150fda491c9971bae4d072c124f831c
--- /dev/null
+++ b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/api-promise.d.ts
@@ -0,0 +1,2 @@
+export * from "./core/api-promise.js";
+//# sourceMappingURL=api-promise.d.ts.map
\ No newline at end of file
diff --git a/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/api-promise.d.ts.map b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/api-promise.d.ts.map
new file mode 100644
index 0000000000000000000000000000000000000000..9503fbb61fd51a7599869af6726387b96467cfe2
--- /dev/null
+++ b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/api-promise.d.ts.map
@@ -0,0 +1 @@
+{"version":3,"file":"api-promise.d.ts","sourceRoot":"","sources":["src/api-promise.ts"],"names":[],"mappings":""}
\ No newline at end of file
diff --git a/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/api-promise.js b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/api-promise.js
new file mode 100644
index 0000000000000000000000000000000000000000..9414cb54105c0efe0f24988a24d1058d570e7f19
--- /dev/null
+++ b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/api-promise.js
@@ -0,0 +1,6 @@
+"use strict";
+Object.defineProperty(exports, "__esModule", { value: true });
+const tslib_1 = require("./internal/tslib.js");
+/** @deprecated Import from ./core/api-promise instead */
+tslib_1.__exportStar(require("./core/api-promise.js"), exports);
+//# sourceMappingURL=api-promise.js.map
\ No newline at end of file
diff --git a/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/api-promise.js.map b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/api-promise.js.map
new file mode 100644
index 0000000000000000000000000000000000000000..0ec0ea260787aad1e82b50c46710dadeadeb4a65
--- /dev/null
+++ b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/api-promise.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"api-promise.js","sourceRoot":"","sources":["src/api-promise.ts"],"names":[],"mappings":";;;AAAA,yDAAyD;AACzD,gEAAmC"}
\ No newline at end of file
diff --git a/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/api-promise.mjs b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/api-promise.mjs
new file mode 100644
index 0000000000000000000000000000000000000000..2c98fbdf79ffcea9c2d5f4c62ad01320e45d6b9a
--- /dev/null
+++ b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/api-promise.mjs
@@ -0,0 +1,2 @@
+export * from "./core/api-promise.mjs";
+//# sourceMappingURL=api-promise.mjs.map
\ No newline at end of file
diff --git a/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/api-promise.mjs.map b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/api-promise.mjs.map
new file mode 100644
index 0000000000000000000000000000000000000000..05d2f025ff42f5deed93fa4562fd764e1d55cac7
--- /dev/null
+++ b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/api-promise.mjs.map
@@ -0,0 +1 @@
+{"version":3,"file":"api-promise.mjs","sourceRoot":"","sources":["src/api-promise.ts"],"names":[],"mappings":""}
\ No newline at end of file
diff --git a/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/bin/cli b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/bin/cli
new file mode 100644
index 0000000000000000000000000000000000000000..00d7c372f38fcedc51b53e2bb0cc6e5e07592341
--- /dev/null
+++ b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/bin/cli
@@ -0,0 +1,53 @@
+#!/usr/bin/env node
+
+const { spawnSync } = require('child_process');
+
+const commands = {
+ migrate: {
+ description:
+ 'Run migrations to update your code using @anthropic-ai/sdk@0.41 to be compatible with @anthropic-ai/sdk@0.50',
+ fn: () => {
+ const result = spawnSync(
+ 'npx',
+ [
+ '-y',
+ 'https://github.com/stainless-api/migrate-ts/releases/download/0.0.2/stainless-api-migrate-0.0.2-6.tgz',
+ '--migrationConfig',
+ require.resolve('./migration-config.json'),
+ ...process.argv.slice(3),
+ ],
+ { stdio: 'inherit' },
+ );
+ if (result.status !== 0) {
+ process.exit(result.status);
+ }
+ },
+ },
+};
+
+function exitWithHelp() {
+ console.log(`Usage: anthropic-ai-sdk `);
+ console.log();
+ console.log('Subcommands:');
+
+ for (const [name, info] of Object.entries(commands)) {
+ console.log(` ${name} ${info.description}`);
+ }
+
+ console.log();
+ process.exit(1);
+}
+
+if (process.argv.length < 3) {
+ exitWithHelp();
+}
+
+const commandName = process.argv[2];
+
+const command = commands[commandName];
+if (!command) {
+ console.log(`Unknown subcommand ${commandName}.`);
+ exitWithHelp();
+}
+
+command.fn();
diff --git a/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/bin/migration-config.json b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/bin/migration-config.json
new file mode 100644
index 0000000000000000000000000000000000000000..88a4afd5afb804eee63ef912869bcba434127936
--- /dev/null
+++ b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/bin/migration-config.json
@@ -0,0 +1,7 @@
+{
+ "pkg": "@anthropic-ai/sdk",
+ "githubRepo": "https://github.com/anthropics/anthropic-sdk-typescript",
+ "clientClass": "Anthropic",
+ "baseClientClass": "BaseAnthropic",
+ "methods": []
+}
diff --git a/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/client.d.mts b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/client.d.mts
new file mode 100644
index 0000000000000000000000000000000000000000..0d2573b06baa2043f7a170ce5d7b333cebb94ced
--- /dev/null
+++ b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/client.d.mts
@@ -0,0 +1,225 @@
+import type { RequestInit, RequestInfo } from "./internal/builtin-types.mjs";
+import type { PromiseOrValue, MergedRequestInit, FinalizedRequestInit } from "./internal/types.mjs";
+import { type Logger, type LogLevel } from "./internal/utils/log.mjs";
+export type { Logger, LogLevel } from "./internal/utils/log.mjs";
+import * as Opts from "./internal/request-options.mjs";
+import * as Errors from "./core/error.mjs";
+import * as Pagination from "./core/pagination.mjs";
+import { type PageParams, PageResponse } from "./core/pagination.mjs";
+import * as Uploads from "./core/uploads.mjs";
+import * as API from "./resources/index.mjs";
+import { APIPromise } from "./core/api-promise.mjs";
+import { type Fetch } from "./internal/builtin-types.mjs";
+import { HeadersLike, NullableHeaders } from "./internal/headers.mjs";
+import { FinalRequestOptions, RequestOptions } from "./internal/request-options.mjs";
+import { Completion, CompletionCreateParams, CompletionCreateParamsNonStreaming, CompletionCreateParamsStreaming, Completions } from "./resources/completions.mjs";
+import { ModelInfo, ModelInfosPage, ModelListParams, ModelRetrieveParams, Models } from "./resources/models.mjs";
+import { AnthropicBeta, Beta, BetaAPIError, BetaAuthenticationError, BetaBillingError, BetaError, BetaErrorResponse, BetaGatewayTimeoutError, BetaInvalidRequestError, BetaNotFoundError, BetaOverloadedError, BetaPermissionError, BetaRateLimitError } from "./resources/beta/beta.mjs";
+import { Base64ImageSource, Base64PDFSource, CacheControlEphemeral, CitationCharLocation, CitationCharLocationParam, CitationContentBlockLocation, CitationContentBlockLocationParam, CitationPageLocation, CitationPageLocationParam, CitationWebSearchResultLocationParam, CitationsConfigParam, CitationsDelta, CitationsWebSearchResultLocation, ContentBlock, ContentBlockDeltaEvent, ContentBlockParam, ContentBlockStartEvent, ContentBlockStopEvent, ContentBlockSource, ContentBlockSourceContent, DocumentBlockParam, ImageBlockParam, InputJSONDelta, Message, MessageStreamParams, MessageCountTokensParams, MessageCountTokensTool, MessageCreateParams, MessageCreateParamsNonStreaming, MessageCreateParamsStreaming, MessageDeltaEvent, MessageDeltaUsage, MessageParam, MessageStartEvent, MessageStopEvent, MessageStreamEvent, MessageTokensCount, Messages, Metadata, Model, PlainTextSource, RawContentBlockDelta, RawContentBlockDeltaEvent, RawContentBlockStartEvent, RawContentBlockStopEvent, RawMessageDeltaEvent, RawMessageStartEvent, RawMessageStopEvent, RawMessageStreamEvent, RedactedThinkingBlock, RedactedThinkingBlockParam, ServerToolUsage, ServerToolUseBlock, ServerToolUseBlockParam, SignatureDelta, StopReason, TextBlock, TextBlockParam, TextCitation, TextCitationParam, TextDelta, ThinkingBlock, ThinkingBlockParam, ThinkingConfigDisabled, ThinkingConfigEnabled, ThinkingConfigParam, ThinkingDelta, Tool, ToolBash20250124, ToolChoice, ToolChoiceAny, ToolChoiceAuto, ToolChoiceNone, ToolChoiceTool, ToolResultBlockParam, ToolTextEditor20250124, ToolUnion, ToolUseBlock, ToolUseBlockParam, URLImageSource, URLPDFSource, Usage, WebSearchResultBlock, WebSearchResultBlockParam, WebSearchTool20250305, WebSearchToolRequestError, WebSearchToolResultBlock, WebSearchToolResultBlockContent, WebSearchToolResultBlockParam, WebSearchToolResultBlockParamContent, WebSearchToolResultError } from "./resources/messages/messages.mjs";
+export interface ClientOptions {
+ /**
+ * Defaults to process.env['ANTHROPIC_API_KEY'].
+ */
+ apiKey?: string | null | undefined;
+ /**
+ * Defaults to process.env['ANTHROPIC_AUTH_TOKEN'].
+ */
+ authToken?: string | null | undefined;
+ /**
+ * Override the default base URL for the API, e.g., "https://api.example.com/v2/"
+ *
+ * Defaults to process.env['ANTHROPIC_BASE_URL'].
+ */
+ baseURL?: string | null | undefined;
+ /**
+ * The maximum amount of time (in milliseconds) that the client should wait for a response
+ * from the server before timing out a single request.
+ *
+ * Note that request timeouts are retried by default, so in a worst-case scenario you may wait
+ * much longer than this timeout before the promise succeeds or fails.
+ */
+ timeout?: number | undefined;
+ /**
+ * Additional `RequestInit` options to be passed to `fetch` calls.
+ * Properties will be overridden by per-request `fetchOptions`.
+ */
+ fetchOptions?: MergedRequestInit | undefined;
+ /**
+ * Specify a custom `fetch` function implementation.
+ *
+ * If not provided, we expect that `fetch` is defined globally.
+ */
+ fetch?: Fetch | undefined;
+ /**
+ * The maximum number of times that the client will retry a request in case of a
+ * temporary failure, like a network error or a 5XX error from the server.
+ *
+ * @default 2
+ */
+ maxRetries?: number | undefined;
+ /**
+ * Default headers to include with every request to the API.
+ *
+ * These can be removed in individual requests by explicitly setting the
+ * header to `null` in request options.
+ */
+ defaultHeaders?: HeadersLike | undefined;
+ /**
+ * Default query parameters to include with every request to the API.
+ *
+ * These can be removed in individual requests by explicitly setting the
+ * param to `undefined` in request options.
+ */
+ defaultQuery?: Record | undefined;
+ /**
+ * By default, client-side use of this library is not allowed, as it risks exposing your secret API credentials to attackers.
+ * Only set this option to `true` if you understand the risks and have appropriate mitigations in place.
+ */
+ dangerouslyAllowBrowser?: boolean | undefined;
+ /**
+ * Set the log level.
+ *
+ * Defaults to process.env['ANTHROPIC_LOG'] or 'warn' if it isn't set.
+ */
+ logLevel?: LogLevel | undefined;
+ /**
+ * Set the logger.
+ *
+ * Defaults to globalThis.console.
+ */
+ logger?: Logger | undefined;
+}
+export declare class BaseAnthropic {
+ #private;
+ apiKey: string | null;
+ authToken: string | null;
+ baseURL: string;
+ maxRetries: number;
+ timeout: number;
+ logger: Logger | undefined;
+ logLevel: LogLevel | undefined;
+ fetchOptions: MergedRequestInit | undefined;
+ private fetch;
+ protected idempotencyHeader?: string;
+ private _options;
+ /**
+ * API Client for interfacing with the Anthropic API.
+ *
+ * @param {string | null | undefined} [opts.apiKey=process.env['ANTHROPIC_API_KEY'] ?? null]
+ * @param {string | null | undefined} [opts.authToken=process.env['ANTHROPIC_AUTH_TOKEN'] ?? null]
+ * @param {string} [opts.baseURL=process.env['ANTHROPIC_BASE_URL'] ?? https://api.anthropic.com] - Override the default base URL for the API.
+ * @param {number} [opts.timeout=10 minutes] - The maximum amount of time (in milliseconds) the client will wait for a response before timing out.
+ * @param {MergedRequestInit} [opts.fetchOptions] - Additional `RequestInit` options to be passed to `fetch` calls.
+ * @param {Fetch} [opts.fetch] - Specify a custom `fetch` function implementation.
+ * @param {number} [opts.maxRetries=2] - The maximum number of times the client will retry a request.
+ * @param {HeadersLike} opts.defaultHeaders - Default headers to include with every request to the API.
+ * @param {Record} opts.defaultQuery - Default query parameters to include with every request to the API.
+ * @param {boolean} [opts.dangerouslyAllowBrowser=false] - By default, client-side use of this library is not allowed, as it risks exposing your secret API credentials to attackers.
+ */
+ constructor({ baseURL, apiKey, authToken, ...opts }?: ClientOptions);
+ /**
+ * Create a new client instance re-using the same options given to the current client with optional overriding.
+ */
+ withOptions(options: Partial): this;
+ protected defaultQuery(): Record | undefined;
+ protected validateHeaders({ values, nulls }: NullableHeaders): void;
+ protected authHeaders(opts: FinalRequestOptions): NullableHeaders | undefined;
+ protected apiKeyAuth(opts: FinalRequestOptions): NullableHeaders | undefined;
+ protected bearerAuth(opts: FinalRequestOptions): NullableHeaders | undefined;
+ /**
+ * Basic re-implementation of `qs.stringify` for primitive types.
+ */
+ protected stringifyQuery(query: Record): string;
+ private getUserAgent;
+ protected defaultIdempotencyKey(): string;
+ protected makeStatusError(status: number, error: Object, message: string | undefined, headers: Headers): Errors.APIError;
+ buildURL(path: string, query: Record | null | undefined): string;
+ _calculateNonstreamingTimeout(maxTokens: number): number;
+ /**
+ * Used as a callback for mutating the given `FinalRequestOptions` object.
+ */
+ protected prepareOptions(options: FinalRequestOptions): Promise;
+ /**
+ * Used as a callback for mutating the given `RequestInit` object.
+ *
+ * This is useful for cases where you want to add certain headers based off of
+ * the request properties, e.g. `method` or `url`.
+ */
+ protected prepareRequest(request: RequestInit, { url, options }: {
+ url: string;
+ options: FinalRequestOptions;
+ }): Promise;
+ get(path: string, opts?: PromiseOrValue): APIPromise;
+ post(path: string, opts?: PromiseOrValue): APIPromise;
+ patch(path: string, opts?: PromiseOrValue): APIPromise;
+ put(path: string, opts?: PromiseOrValue): APIPromise;
+ delete(path: string, opts?: PromiseOrValue): APIPromise;
+ private methodRequest;
+ request(options: PromiseOrValue, remainingRetries?: number | null): APIPromise;
+ private makeRequest;
+ getAPIList- = Pagination.AbstractPage
- >(path: string, Page: new (...args: any[]) => PageClass, opts?: RequestOptions): Pagination.PagePromise;
+ requestAPIList
- = Pagination.AbstractPage
- >(Page: new (...args: ConstructorParameters) => PageClass, options: FinalRequestOptions): Pagination.PagePromise;
+ fetchWithTimeout(url: RequestInfo, init: RequestInit | undefined, ms: number, controller: AbortController): Promise;
+ private shouldRetry;
+ private retryRequest;
+ private calculateDefaultRetryTimeoutMillis;
+ calculateNonstreamingTimeout(maxTokens: number, maxNonstreamingTokens?: number): number;
+ buildRequest(inputOptions: FinalRequestOptions, { retryCount }?: {
+ retryCount?: number;
+ }): {
+ req: FinalizedRequestInit;
+ url: string;
+ timeout: number;
+ };
+ private buildHeaders;
+ private buildBody;
+ static Anthropic: typeof BaseAnthropic;
+ static HUMAN_PROMPT: string;
+ static AI_PROMPT: string;
+ static DEFAULT_TIMEOUT: number;
+ static AnthropicError: typeof Errors.AnthropicError;
+ static APIError: typeof Errors.APIError;
+ static APIConnectionError: typeof Errors.APIConnectionError;
+ static APIConnectionTimeoutError: typeof Errors.APIConnectionTimeoutError;
+ static APIUserAbortError: typeof Errors.APIUserAbortError;
+ static NotFoundError: typeof Errors.NotFoundError;
+ static ConflictError: typeof Errors.ConflictError;
+ static RateLimitError: typeof Errors.RateLimitError;
+ static BadRequestError: typeof Errors.BadRequestError;
+ static AuthenticationError: typeof Errors.AuthenticationError;
+ static InternalServerError: typeof Errors.InternalServerError;
+ static PermissionDeniedError: typeof Errors.PermissionDeniedError;
+ static UnprocessableEntityError: typeof Errors.UnprocessableEntityError;
+ static toFile: typeof Uploads.toFile;
+}
+/**
+ * API Client for interfacing with the Anthropic API.
+ */
+export declare class Anthropic extends BaseAnthropic {
+ completions: API.Completions;
+ messages: API.Messages;
+ models: API.Models;
+ beta: API.Beta;
+}
+export declare namespace Anthropic {
+ export type RequestOptions = Opts.RequestOptions;
+ export import Page = Pagination.Page;
+ export { type PageParams as PageParams, type PageResponse as PageResponse };
+ export { Completions as Completions, type Completion as Completion, type CompletionCreateParams as CompletionCreateParams, type CompletionCreateParamsNonStreaming as CompletionCreateParamsNonStreaming, type CompletionCreateParamsStreaming as CompletionCreateParamsStreaming, };
+ export { Messages as Messages, type Base64ImageSource as Base64ImageSource, type Base64PDFSource as Base64PDFSource, type CacheControlEphemeral as CacheControlEphemeral, type CitationCharLocation as CitationCharLocation, type CitationCharLocationParam as CitationCharLocationParam, type CitationContentBlockLocation as CitationContentBlockLocation, type CitationContentBlockLocationParam as CitationContentBlockLocationParam, type CitationPageLocation as CitationPageLocation, type CitationPageLocationParam as CitationPageLocationParam, type CitationWebSearchResultLocationParam as CitationWebSearchResultLocationParam, type CitationsConfigParam as CitationsConfigParam, type CitationsDelta as CitationsDelta, type CitationsWebSearchResultLocation as CitationsWebSearchResultLocation, type ContentBlock as ContentBlock, type ContentBlockDeltaEvent as ContentBlockDeltaEvent, type ContentBlockParam as ContentBlockParam, type ContentBlockStartEvent as ContentBlockStartEvent, type ContentBlockStopEvent as ContentBlockStopEvent, type ContentBlockSource as ContentBlockSource, type ContentBlockSourceContent as ContentBlockSourceContent, type DocumentBlockParam as DocumentBlockParam, type ImageBlockParam as ImageBlockParam, type InputJSONDelta as InputJSONDelta, type Message as Message, type MessageCountTokensTool as MessageCountTokensTool, type MessageDeltaEvent as MessageDeltaEvent, type MessageDeltaUsage as MessageDeltaUsage, type MessageParam as MessageParam, type MessageStartEvent as MessageStartEvent, type MessageStopEvent as MessageStopEvent, type MessageStreamEvent as MessageStreamEvent, type MessageTokensCount as MessageTokensCount, type Metadata as Metadata, type Model as Model, type PlainTextSource as PlainTextSource, type RawContentBlockDelta as RawContentBlockDelta, type RawContentBlockDeltaEvent as RawContentBlockDeltaEvent, type RawContentBlockStartEvent as RawContentBlockStartEvent, type RawContentBlockStopEvent as RawContentBlockStopEvent, type RawMessageDeltaEvent as RawMessageDeltaEvent, type RawMessageStartEvent as RawMessageStartEvent, type RawMessageStopEvent as RawMessageStopEvent, type RawMessageStreamEvent as RawMessageStreamEvent, type RedactedThinkingBlock as RedactedThinkingBlock, type RedactedThinkingBlockParam as RedactedThinkingBlockParam, type ServerToolUsage as ServerToolUsage, type ServerToolUseBlock as ServerToolUseBlock, type ServerToolUseBlockParam as ServerToolUseBlockParam, type SignatureDelta as SignatureDelta, type StopReason as StopReason, type TextBlock as TextBlock, type TextBlockParam as TextBlockParam, type TextCitation as TextCitation, type TextCitationParam as TextCitationParam, type TextDelta as TextDelta, type ThinkingBlock as ThinkingBlock, type ThinkingBlockParam as ThinkingBlockParam, type ThinkingConfigDisabled as ThinkingConfigDisabled, type ThinkingConfigEnabled as ThinkingConfigEnabled, type ThinkingConfigParam as ThinkingConfigParam, type ThinkingDelta as ThinkingDelta, type Tool as Tool, type ToolBash20250124 as ToolBash20250124, type ToolChoice as ToolChoice, type ToolChoiceAny as ToolChoiceAny, type ToolChoiceAuto as ToolChoiceAuto, type ToolChoiceNone as ToolChoiceNone, type ToolChoiceTool as ToolChoiceTool, type ToolResultBlockParam as ToolResultBlockParam, type ToolTextEditor20250124 as ToolTextEditor20250124, type ToolUnion as ToolUnion, type ToolUseBlock as ToolUseBlock, type ToolUseBlockParam as ToolUseBlockParam, type URLImageSource as URLImageSource, type URLPDFSource as URLPDFSource, type Usage as Usage, type WebSearchResultBlock as WebSearchResultBlock, type WebSearchResultBlockParam as WebSearchResultBlockParam, type WebSearchTool20250305 as WebSearchTool20250305, type WebSearchToolRequestError as WebSearchToolRequestError, type WebSearchToolResultBlock as WebSearchToolResultBlock, type WebSearchToolResultBlockContent as WebSearchToolResultBlockContent, type WebSearchToolResultBlockParam as WebSearchToolResultBlockParam, type WebSearchToolResultBlockParamContent as WebSearchToolResultBlockParamContent, type WebSearchToolResultError as WebSearchToolResultError, type MessageCreateParams as MessageCreateParams, type MessageCreateParamsNonStreaming as MessageCreateParamsNonStreaming, type MessageCreateParamsStreaming as MessageCreateParamsStreaming, type MessageStreamParams as MessageStreamParams, type MessageCountTokensParams as MessageCountTokensParams, };
+ export { Models as Models, type ModelInfo as ModelInfo, type ModelInfosPage as ModelInfosPage, type ModelRetrieveParams as ModelRetrieveParams, type ModelListParams as ModelListParams, };
+ export { Beta as Beta, type AnthropicBeta as AnthropicBeta, type BetaAPIError as BetaAPIError, type BetaAuthenticationError as BetaAuthenticationError, type BetaBillingError as BetaBillingError, type BetaError as BetaError, type BetaErrorResponse as BetaErrorResponse, type BetaGatewayTimeoutError as BetaGatewayTimeoutError, type BetaInvalidRequestError as BetaInvalidRequestError, type BetaNotFoundError as BetaNotFoundError, type BetaOverloadedError as BetaOverloadedError, type BetaPermissionError as BetaPermissionError, type BetaRateLimitError as BetaRateLimitError, };
+ export type APIErrorObject = API.APIErrorObject;
+ export type AuthenticationError = API.AuthenticationError;
+ export type BillingError = API.BillingError;
+ export type ErrorObject = API.ErrorObject;
+ export type ErrorResponse = API.ErrorResponse;
+ export type GatewayTimeoutError = API.GatewayTimeoutError;
+ export type InvalidRequestError = API.InvalidRequestError;
+ export type NotFoundError = API.NotFoundError;
+ export type OverloadedError = API.OverloadedError;
+ export type PermissionError = API.PermissionError;
+ export type RateLimitError = API.RateLimitError;
+}
+export declare const HUMAN_PROMPT: string, AI_PROMPT: string;
+//# sourceMappingURL=client.d.mts.map
\ No newline at end of file
diff --git a/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/client.d.mts.map b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/client.d.mts.map
new file mode 100644
index 0000000000000000000000000000000000000000..863274d2d8478c7cc77045414941a6608f870240
--- /dev/null
+++ b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/client.d.mts.map
@@ -0,0 +1 @@
+{"version":3,"file":"client.d.mts","sourceRoot":"","sources":["src/client.ts"],"names":[],"mappings":"OAEO,KAAK,EAAE,WAAW,EAAE,WAAW,EAAY;OAC3C,KAAK,EAAc,cAAc,EAAE,iBAAiB,EAAE,oBAAoB,EAAE;OAI5E,EAAE,KAAK,MAAM,EAAE,KAAK,QAAQ,EAAiB;YACxC,EAAE,MAAM,EAAE,QAAQ,EAAE;OAKzB,KAAK,IAAI;OAET,KAAK,MAAM;OACX,KAAK,UAAU;OACf,EAAE,KAAK,UAAU,EAAE,YAAY,EAAE;OACjC,KAAK,OAAO;OACZ,KAAK,GAAG;OACR,EAAE,UAAU,EAAE;OACd,EAAE,KAAK,KAAK,EAAE;OAEd,EAAE,WAAW,EAAE,eAAe,EAAgB;OAC9C,EAAE,mBAAmB,EAAE,cAAc,EAAE;OACvC,EACL,UAAU,EACV,sBAAsB,EACtB,kCAAkC,EAClC,+BAA+B,EAC/B,WAAW,EACZ;OACM,EAAE,SAAS,EAAE,cAAc,EAAE,eAAe,EAAE,mBAAmB,EAAE,MAAM,EAAE;OAI3E,EACL,aAAa,EACb,IAAI,EACJ,YAAY,EACZ,uBAAuB,EACvB,gBAAgB,EAChB,SAAS,EACT,iBAAiB,EACjB,uBAAuB,EACvB,uBAAu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AC1D,MAAM,MAAM,YAAY,GAAG,GAAG,CAAC,YAAY,CAAC;IAC5C,MAAM,MAAM,WAAW,GAAG,GAAG,CAAC,WAAW,CAAC;IAC1C,MAAM,MAAM,aAAa,GAAG,GAAG,CAAC,aAAa,CAAC;IAC9C,MAAM,MAAM,mBAAmB,GAAG,GAAG,CAAC,mBAAmB,CAAC;IAC1D,MAAM,MAAM,mBAAmB,GAAG,GAAG,CAAC,mBAAmB,CAAC;IAC1D,MAAM,MAAM,aAAa,GAAG,GAAG,CAAC,aAAa,CAAC;IAC9C,MAAM,MAAM,eAAe,GAAG,GAAG,CAAC,eAAe,CAAC;IAClD,MAAM,MAAM,eAAe,GAAG,GAAG,CAAC,eAAe,CAAC;IAClD,MAAM,MAAM,cAAc,GAAG,GAAG,CAAC,cAAc,CAAC;CACjD;AACD,eAAO,MAAQ,YAAY,UAAE,SAAS,QAAc,CAAC"}
\ No newline at end of file
diff --git a/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/client.d.ts b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/client.d.ts
new file mode 100644
index 0000000000000000000000000000000000000000..da5835389a85b0770f07cc8310c19e8d9d2940fa
--- /dev/null
+++ b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/client.d.ts
@@ -0,0 +1,225 @@
+import type { RequestInit, RequestInfo } from "./internal/builtin-types.js";
+import type { PromiseOrValue, MergedRequestInit, FinalizedRequestInit } from "./internal/types.js";
+import { type Logger, type LogLevel } from "./internal/utils/log.js";
+export type { Logger, LogLevel } from "./internal/utils/log.js";
+import * as Opts from "./internal/request-options.js";
+import * as Errors from "./core/error.js";
+import * as Pagination from "./core/pagination.js";
+import { type PageParams, PageResponse } from "./core/pagination.js";
+import * as Uploads from "./core/uploads.js";
+import * as API from "./resources/index.js";
+import { APIPromise } from "./core/api-promise.js";
+import { type Fetch } from "./internal/builtin-types.js";
+import { HeadersLike, NullableHeaders } from "./internal/headers.js";
+import { FinalRequestOptions, RequestOptions } from "./internal/request-options.js";
+import { Completion, CompletionCreateParams, CompletionCreateParamsNonStreaming, CompletionCreateParamsStreaming, Completions } from "./resources/completions.js";
+import { ModelInfo, ModelInfosPage, ModelListParams, ModelRetrieveParams, Models } from "./resources/models.js";
+import { AnthropicBeta, Beta, BetaAPIError, BetaAuthenticationError, BetaBillingError, BetaError, BetaErrorResponse, BetaGatewayTimeoutError, BetaInvalidRequestError, BetaNotFoundError, BetaOverloadedError, BetaPermissionError, BetaRateLimitError } from "./resources/beta/beta.js";
+import { Base64ImageSource, Base64PDFSource, CacheControlEphemeral, CitationCharLocation, CitationCharLocationParam, CitationContentBlockLocation, CitationContentBlockLocationParam, CitationPageLocation, CitationPageLocationParam, CitationWebSearchResultLocationParam, CitationsConfigParam, CitationsDelta, CitationsWebSearchResultLocation, ContentBlock, ContentBlockDeltaEvent, ContentBlockParam, ContentBlockStartEvent, ContentBlockStopEvent, ContentBlockSource, ContentBlockSourceContent, DocumentBlockParam, ImageBlockParam, InputJSONDelta, Message, MessageStreamParams, MessageCountTokensParams, MessageCountTokensTool, MessageCreateParams, MessageCreateParamsNonStreaming, MessageCreateParamsStreaming, MessageDeltaEvent, MessageDeltaUsage, MessageParam, MessageStartEvent, MessageStopEvent, MessageStreamEvent, MessageTokensCount, Messages, Metadata, Model, PlainTextSource, RawContentBlockDelta, RawContentBlockDeltaEvent, RawContentBlockStartEvent, RawContentBlockStopEvent, RawMessageDeltaEvent, RawMessageStartEvent, RawMessageStopEvent, RawMessageStreamEvent, RedactedThinkingBlock, RedactedThinkingBlockParam, ServerToolUsage, ServerToolUseBlock, ServerToolUseBlockParam, SignatureDelta, StopReason, TextBlock, TextBlockParam, TextCitation, TextCitationParam, TextDelta, ThinkingBlock, ThinkingBlockParam, ThinkingConfigDisabled, ThinkingConfigEnabled, ThinkingConfigParam, ThinkingDelta, Tool, ToolBash20250124, ToolChoice, ToolChoiceAny, ToolChoiceAuto, ToolChoiceNone, ToolChoiceTool, ToolResultBlockParam, ToolTextEditor20250124, ToolUnion, ToolUseBlock, ToolUseBlockParam, URLImageSource, URLPDFSource, Usage, WebSearchResultBlock, WebSearchResultBlockParam, WebSearchTool20250305, WebSearchToolRequestError, WebSearchToolResultBlock, WebSearchToolResultBlockContent, WebSearchToolResultBlockParam, WebSearchToolResultBlockParamContent, WebSearchToolResultError } from "./resources/messages/messages.js";
+export interface ClientOptions {
+ /**
+ * Defaults to process.env['ANTHROPIC_API_KEY'].
+ */
+ apiKey?: string | null | undefined;
+ /**
+ * Defaults to process.env['ANTHROPIC_AUTH_TOKEN'].
+ */
+ authToken?: string | null | undefined;
+ /**
+ * Override the default base URL for the API, e.g., "https://api.example.com/v2/"
+ *
+ * Defaults to process.env['ANTHROPIC_BASE_URL'].
+ */
+ baseURL?: string | null | undefined;
+ /**
+ * The maximum amount of time (in milliseconds) that the client should wait for a response
+ * from the server before timing out a single request.
+ *
+ * Note that request timeouts are retried by default, so in a worst-case scenario you may wait
+ * much longer than this timeout before the promise succeeds or fails.
+ */
+ timeout?: number | undefined;
+ /**
+ * Additional `RequestInit` options to be passed to `fetch` calls.
+ * Properties will be overridden by per-request `fetchOptions`.
+ */
+ fetchOptions?: MergedRequestInit | undefined;
+ /**
+ * Specify a custom `fetch` function implementation.
+ *
+ * If not provided, we expect that `fetch` is defined globally.
+ */
+ fetch?: Fetch | undefined;
+ /**
+ * The maximum number of times that the client will retry a request in case of a
+ * temporary failure, like a network error or a 5XX error from the server.
+ *
+ * @default 2
+ */
+ maxRetries?: number | undefined;
+ /**
+ * Default headers to include with every request to the API.
+ *
+ * These can be removed in individual requests by explicitly setting the
+ * header to `null` in request options.
+ */
+ defaultHeaders?: HeadersLike | undefined;
+ /**
+ * Default query parameters to include with every request to the API.
+ *
+ * These can be removed in individual requests by explicitly setting the
+ * param to `undefined` in request options.
+ */
+ defaultQuery?: Record | undefined;
+ /**
+ * By default, client-side use of this library is not allowed, as it risks exposing your secret API credentials to attackers.
+ * Only set this option to `true` if you understand the risks and have appropriate mitigations in place.
+ */
+ dangerouslyAllowBrowser?: boolean | undefined;
+ /**
+ * Set the log level.
+ *
+ * Defaults to process.env['ANTHROPIC_LOG'] or 'warn' if it isn't set.
+ */
+ logLevel?: LogLevel | undefined;
+ /**
+ * Set the logger.
+ *
+ * Defaults to globalThis.console.
+ */
+ logger?: Logger | undefined;
+}
+export declare class BaseAnthropic {
+ #private;
+ apiKey: string | null;
+ authToken: string | null;
+ baseURL: string;
+ maxRetries: number;
+ timeout: number;
+ logger: Logger | undefined;
+ logLevel: LogLevel | undefined;
+ fetchOptions: MergedRequestInit | undefined;
+ private fetch;
+ protected idempotencyHeader?: string;
+ private _options;
+ /**
+ * API Client for interfacing with the Anthropic API.
+ *
+ * @param {string | null | undefined} [opts.apiKey=process.env['ANTHROPIC_API_KEY'] ?? null]
+ * @param {string | null | undefined} [opts.authToken=process.env['ANTHROPIC_AUTH_TOKEN'] ?? null]
+ * @param {string} [opts.baseURL=process.env['ANTHROPIC_BASE_URL'] ?? https://api.anthropic.com] - Override the default base URL for the API.
+ * @param {number} [opts.timeout=10 minutes] - The maximum amount of time (in milliseconds) the client will wait for a response before timing out.
+ * @param {MergedRequestInit} [opts.fetchOptions] - Additional `RequestInit` options to be passed to `fetch` calls.
+ * @param {Fetch} [opts.fetch] - Specify a custom `fetch` function implementation.
+ * @param {number} [opts.maxRetries=2] - The maximum number of times the client will retry a request.
+ * @param {HeadersLike} opts.defaultHeaders - Default headers to include with every request to the API.
+ * @param {Record} opts.defaultQuery - Default query parameters to include with every request to the API.
+ * @param {boolean} [opts.dangerouslyAllowBrowser=false] - By default, client-side use of this library is not allowed, as it risks exposing your secret API credentials to attackers.
+ */
+ constructor({ baseURL, apiKey, authToken, ...opts }?: ClientOptions);
+ /**
+ * Create a new client instance re-using the same options given to the current client with optional overriding.
+ */
+ withOptions(options: Partial): this;
+ protected defaultQuery(): Record | undefined;
+ protected validateHeaders({ values, nulls }: NullableHeaders): void;
+ protected authHeaders(opts: FinalRequestOptions): NullableHeaders | undefined;
+ protected apiKeyAuth(opts: FinalRequestOptions): NullableHeaders | undefined;
+ protected bearerAuth(opts: FinalRequestOptions): NullableHeaders | undefined;
+ /**
+ * Basic re-implementation of `qs.stringify` for primitive types.
+ */
+ protected stringifyQuery(query: Record): string;
+ private getUserAgent;
+ protected defaultIdempotencyKey(): string;
+ protected makeStatusError(status: number, error: Object, message: string | undefined, headers: Headers): Errors.APIError;
+ buildURL(path: string, query: Record | null | undefined): string;
+ _calculateNonstreamingTimeout(maxTokens: number): number;
+ /**
+ * Used as a callback for mutating the given `FinalRequestOptions` object.
+ */
+ protected prepareOptions(options: FinalRequestOptions): Promise;
+ /**
+ * Used as a callback for mutating the given `RequestInit` object.
+ *
+ * This is useful for cases where you want to add certain headers based off of
+ * the request properties, e.g. `method` or `url`.
+ */
+ protected prepareRequest(request: RequestInit, { url, options }: {
+ url: string;
+ options: FinalRequestOptions;
+ }): Promise;
+ get(path: string, opts?: PromiseOrValue): APIPromise;
+ post(path: string, opts?: PromiseOrValue): APIPromise;
+ patch(path: string, opts?: PromiseOrValue): APIPromise;
+ put(path: string, opts?: PromiseOrValue): APIPromise;
+ delete(path: string, opts?: PromiseOrValue): APIPromise;
+ private methodRequest;
+ request(options: PromiseOrValue, remainingRetries?: number | null): APIPromise;
+ private makeRequest;
+ getAPIList
- = Pagination.AbstractPage
- >(path: string, Page: new (...args: any[]) => PageClass, opts?: RequestOptions): Pagination.PagePromise;
+ requestAPIList
- = Pagination.AbstractPage
- >(Page: new (...args: ConstructorParameters) => PageClass, options: FinalRequestOptions): Pagination.PagePromise;
+ fetchWithTimeout(url: RequestInfo, init: RequestInit | undefined, ms: number, controller: AbortController): Promise;
+ private shouldRetry;
+ private retryRequest;
+ private calculateDefaultRetryTimeoutMillis;
+ calculateNonstreamingTimeout(maxTokens: number, maxNonstreamingTokens?: number): number;
+ buildRequest(inputOptions: FinalRequestOptions, { retryCount }?: {
+ retryCount?: number;
+ }): {
+ req: FinalizedRequestInit;
+ url: string;
+ timeout: number;
+ };
+ private buildHeaders;
+ private buildBody;
+ static Anthropic: typeof BaseAnthropic;
+ static HUMAN_PROMPT: string;
+ static AI_PROMPT: string;
+ static DEFAULT_TIMEOUT: number;
+ static AnthropicError: typeof Errors.AnthropicError;
+ static APIError: typeof Errors.APIError;
+ static APIConnectionError: typeof Errors.APIConnectionError;
+ static APIConnectionTimeoutError: typeof Errors.APIConnectionTimeoutError;
+ static APIUserAbortError: typeof Errors.APIUserAbortError;
+ static NotFoundError: typeof Errors.NotFoundError;
+ static ConflictError: typeof Errors.ConflictError;
+ static RateLimitError: typeof Errors.RateLimitError;
+ static BadRequestError: typeof Errors.BadRequestError;
+ static AuthenticationError: typeof Errors.AuthenticationError;
+ static InternalServerError: typeof Errors.InternalServerError;
+ static PermissionDeniedError: typeof Errors.PermissionDeniedError;
+ static UnprocessableEntityError: typeof Errors.UnprocessableEntityError;
+ static toFile: typeof Uploads.toFile;
+}
+/**
+ * API Client for interfacing with the Anthropic API.
+ */
+export declare class Anthropic extends BaseAnthropic {
+ completions: API.Completions;
+ messages: API.Messages;
+ models: API.Models;
+ beta: API.Beta;
+}
+export declare namespace Anthropic {
+ export type RequestOptions = Opts.RequestOptions;
+ export import Page = Pagination.Page;
+ export { type PageParams as PageParams, type PageResponse as PageResponse };
+ export { Completions as Completions, type Completion as Completion, type CompletionCreateParams as CompletionCreateParams, type CompletionCreateParamsNonStreaming as CompletionCreateParamsNonStreaming, type CompletionCreateParamsStreaming as CompletionCreateParamsStreaming, };
+ export { Messages as Messages, type Base64ImageSource as Base64ImageSource, type Base64PDFSource as Base64PDFSource, type CacheControlEphemeral as CacheControlEphemeral, type CitationCharLocation as CitationCharLocation, type CitationCharLocationParam as CitationCharLocationParam, type CitationContentBlockLocation as CitationContentBlockLocation, type CitationContentBlockLocationParam as CitationContentBlockLocationParam, type CitationPageLocation as CitationPageLocation, type CitationPageLocationParam as CitationPageLocationParam, type CitationWebSearchResultLocationParam as CitationWebSearchResultLocationParam, type CitationsConfigParam as CitationsConfigParam, type CitationsDelta as CitationsDelta, type CitationsWebSearchResultLocation as CitationsWebSearchResultLocation, type ContentBlock as ContentBlock, type ContentBlockDeltaEvent as ContentBlockDeltaEvent, type ContentBlockParam as ContentBlockParam, type ContentBlockStartEvent as ContentBlockStartEvent, type ContentBlockStopEvent as ContentBlockStopEvent, type ContentBlockSource as ContentBlockSource, type ContentBlockSourceContent as ContentBlockSourceContent, type DocumentBlockParam as DocumentBlockParam, type ImageBlockParam as ImageBlockParam, type InputJSONDelta as InputJSONDelta, type Message as Message, type MessageCountTokensTool as MessageCountTokensTool, type MessageDeltaEvent as MessageDeltaEvent, type MessageDeltaUsage as MessageDeltaUsage, type MessageParam as MessageParam, type MessageStartEvent as MessageStartEvent, type MessageStopEvent as MessageStopEvent, type MessageStreamEvent as MessageStreamEvent, type MessageTokensCount as MessageTokensCount, type Metadata as Metadata, type Model as Model, type PlainTextSource as PlainTextSource, type RawContentBlockDelta as RawContentBlockDelta, type RawContentBlockDeltaEvent as RawContentBlockDeltaEvent, type RawContentBlockStartEvent as RawContentBlockStartEvent, type RawContentBlockStopEvent as RawContentBlockStopEvent, type RawMessageDeltaEvent as RawMessageDeltaEvent, type RawMessageStartEvent as RawMessageStartEvent, type RawMessageStopEvent as RawMessageStopEvent, type RawMessageStreamEvent as RawMessageStreamEvent, type RedactedThinkingBlock as RedactedThinkingBlock, type RedactedThinkingBlockParam as RedactedThinkingBlockParam, type ServerToolUsage as ServerToolUsage, type ServerToolUseBlock as ServerToolUseBlock, type ServerToolUseBlockParam as ServerToolUseBlockParam, type SignatureDelta as SignatureDelta, type StopReason as StopReason, type TextBlock as TextBlock, type TextBlockParam as TextBlockParam, type TextCitation as TextCitation, type TextCitationParam as TextCitationParam, type TextDelta as TextDelta, type ThinkingBlock as ThinkingBlock, type ThinkingBlockParam as ThinkingBlockParam, type ThinkingConfigDisabled as ThinkingConfigDisabled, type ThinkingConfigEnabled as ThinkingConfigEnabled, type ThinkingConfigParam as ThinkingConfigParam, type ThinkingDelta as ThinkingDelta, type Tool as Tool, type ToolBash20250124 as ToolBash20250124, type ToolChoice as ToolChoice, type ToolChoiceAny as ToolChoiceAny, type ToolChoiceAuto as ToolChoiceAuto, type ToolChoiceNone as ToolChoiceNone, type ToolChoiceTool as ToolChoiceTool, type ToolResultBlockParam as ToolResultBlockParam, type ToolTextEditor20250124 as ToolTextEditor20250124, type ToolUnion as ToolUnion, type ToolUseBlock as ToolUseBlock, type ToolUseBlockParam as ToolUseBlockParam, type URLImageSource as URLImageSource, type URLPDFSource as URLPDFSource, type Usage as Usage, type WebSearchResultBlock as WebSearchResultBlock, type WebSearchResultBlockParam as WebSearchResultBlockParam, type WebSearchTool20250305 as WebSearchTool20250305, type WebSearchToolRequestError as WebSearchToolRequestError, type WebSearchToolResultBlock as WebSearchToolResultBlock, type WebSearchToolResultBlockContent as WebSearchToolResultBlockContent, type WebSearchToolResultBlockParam as WebSearchToolResultBlockParam, type WebSearchToolResultBlockParamContent as WebSearchToolResultBlockParamContent, type WebSearchToolResultError as WebSearchToolResultError, type MessageCreateParams as MessageCreateParams, type MessageCreateParamsNonStreaming as MessageCreateParamsNonStreaming, type MessageCreateParamsStreaming as MessageCreateParamsStreaming, type MessageStreamParams as MessageStreamParams, type MessageCountTokensParams as MessageCountTokensParams, };
+ export { Models as Models, type ModelInfo as ModelInfo, type ModelInfosPage as ModelInfosPage, type ModelRetrieveParams as ModelRetrieveParams, type ModelListParams as ModelListParams, };
+ export { Beta as Beta, type AnthropicBeta as AnthropicBeta, type BetaAPIError as BetaAPIError, type BetaAuthenticationError as BetaAuthenticationError, type BetaBillingError as BetaBillingError, type BetaError as BetaError, type BetaErrorResponse as BetaErrorResponse, type BetaGatewayTimeoutError as BetaGatewayTimeoutError, type BetaInvalidRequestError as BetaInvalidRequestError, type BetaNotFoundError as BetaNotFoundError, type BetaOverloadedError as BetaOverloadedError, type BetaPermissionError as BetaPermissionError, type BetaRateLimitError as BetaRateLimitError, };
+ export type APIErrorObject = API.APIErrorObject;
+ export type AuthenticationError = API.AuthenticationError;
+ export type BillingError = API.BillingError;
+ export type ErrorObject = API.ErrorObject;
+ export type ErrorResponse = API.ErrorResponse;
+ export type GatewayTimeoutError = API.GatewayTimeoutError;
+ export type InvalidRequestError = API.InvalidRequestError;
+ export type NotFoundError = API.NotFoundError;
+ export type OverloadedError = API.OverloadedError;
+ export type PermissionError = API.PermissionError;
+ export type RateLimitError = API.RateLimitError;
+}
+export declare const HUMAN_PROMPT: string, AI_PROMPT: string;
+//# sourceMappingURL=client.d.ts.map
\ No newline at end of file
diff --git a/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/client.d.ts.map b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/client.d.ts.map
new file mode 100644
index 0000000000000000000000000000000000000000..3eca2e3c63676a08351f16f437c84b560e04311c
--- /dev/null
+++ b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/client.d.ts.map
@@ -0,0 +1 @@
+{"version":3,"file":"client.d.ts","sourceRoot":"","sources":["src/client.ts"],"names":[],"mappings":"OAEO,KAAK,EAAE,WAAW,EAAE,WAAW,EAAY;OAC3C,KAAK,EAAc,cAAc,EAAE,iBAAiB,EAAE,oBAAoB,EAAE;OAI5E,EAAE,KAAK,MAAM,EAAE,KAAK,QAAQ,EAAiB;YACxC,EAAE,MAAM,EAAE,QAAQ,EAAE;OAKzB,KAAK,IAAI;OAET,KAAK,MAAM;OACX,KAAK,UAAU;OACf,EAAE,KAAK,UAAU,EAAE,YAAY,EAAE;OACjC,KAAK,OAAO;OACZ,KAAK,GAAG;OACR,EAAE,UAAU,EAAE;OACd,EAAE,KAAK,KAAK,EAAE;OAEd,EAAE,WAAW,EAAE,eAAe,EAAgB;OAC9C,EAAE,mBAAmB,EAAE,cAAc,EAAE;OACvC,EACL,UAAU,EACV,sBAAsB,EACtB,kCAAkC,EAClC,+BAA+B,EAC/B,WAAW,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,EAC/C,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,kBAAkB,IAAI,kBAAkB,GAC9C,CAAC;IAEF,MAAM,MAAM,cAAc,GAAG,GAAG,CAAC,cAAc,CAAC;IAChD,MAAM,MAAM,mBAAmB,GAAG,GAAG,CAAC,mBAAmB,CAAC;IAC1D,MAAM,MAAM,YAAY,GAAG,GAAG,CAAC,YAAY,CAAC;IAC5C,MAAM,MAAM,WAAW,GAAG,GAAG,CAAC,WAAW,CAAC;IAC1C,MAAM,MAAM,aAAa,GAAG,GAAG,CAAC,aAAa,CAAC;IAC9C,MAAM,MAAM,mBAAmB,GAAG,GAAG,CAAC,mBAAmB,CAAC;IAC1D,MAAM,MAAM,mBAAmB,GAAG,GAAG,CAAC,mBAAmB,CAAC;IAC1D,MAAM,MAAM,aAAa,GAAG,GAAG,CAAC,aAAa,CAAC;IAC9C,MAAM,MAAM,eAAe,GAAG,GAAG,CAAC,eAAe,CAAC;IAClD,MAAM,MAAM,eAAe,GAAG,GAAG,CAAC,eAAe,CAAC;IAClD,MAAM,MAAM,cAAc,GAAG,GAAG,CAAC,cAAc,CAAC;CACjD;AACD,eAAO,MAAQ,YAAY,UAAE,SAAS,QAAc,CAAC"}
\ No newline at end of file
diff --git a/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/client.js b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/client.js
new file mode 100644
index 0000000000000000000000000000000000000000..5b958ceb31c64d9d760a7a3721b6b3101328853d
--- /dev/null
+++ b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/client.js
@@ -0,0 +1,536 @@
+"use strict";
+// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
+var _a, _BaseAnthropic_encoder;
+Object.defineProperty(exports, "__esModule", { value: true });
+exports.AI_PROMPT = exports.HUMAN_PROMPT = exports.Anthropic = exports.BaseAnthropic = void 0;
+const tslib_1 = require("./internal/tslib.js");
+const uuid_1 = require("./internal/utils/uuid.js");
+const values_1 = require("./internal/utils/values.js");
+const sleep_1 = require("./internal/utils/sleep.js");
+const log_1 = require("./internal/utils/log.js");
+const errors_1 = require("./internal/errors.js");
+const detect_platform_1 = require("./internal/detect-platform.js");
+const Shims = tslib_1.__importStar(require("./internal/shims.js"));
+const Opts = tslib_1.__importStar(require("./internal/request-options.js"));
+const version_1 = require("./version.js");
+const Errors = tslib_1.__importStar(require("./core/error.js"));
+const Pagination = tslib_1.__importStar(require("./core/pagination.js"));
+const Uploads = tslib_1.__importStar(require("./core/uploads.js"));
+const API = tslib_1.__importStar(require("./resources/index.js"));
+const api_promise_1 = require("./core/api-promise.js");
+const detect_platform_2 = require("./internal/detect-platform.js");
+const headers_1 = require("./internal/headers.js");
+const completions_1 = require("./resources/completions.js");
+const models_1 = require("./resources/models.js");
+const env_1 = require("./internal/utils/env.js");
+const log_2 = require("./internal/utils/log.js");
+const values_2 = require("./internal/utils/values.js");
+const beta_1 = require("./resources/beta/beta.js");
+const messages_1 = require("./resources/messages/messages.js");
+class BaseAnthropic {
+ /**
+ * API Client for interfacing with the Anthropic API.
+ *
+ * @param {string | null | undefined} [opts.apiKey=process.env['ANTHROPIC_API_KEY'] ?? null]
+ * @param {string | null | undefined} [opts.authToken=process.env['ANTHROPIC_AUTH_TOKEN'] ?? null]
+ * @param {string} [opts.baseURL=process.env['ANTHROPIC_BASE_URL'] ?? https://api.anthropic.com] - Override the default base URL for the API.
+ * @param {number} [opts.timeout=10 minutes] - The maximum amount of time (in milliseconds) the client will wait for a response before timing out.
+ * @param {MergedRequestInit} [opts.fetchOptions] - Additional `RequestInit` options to be passed to `fetch` calls.
+ * @param {Fetch} [opts.fetch] - Specify a custom `fetch` function implementation.
+ * @param {number} [opts.maxRetries=2] - The maximum number of times the client will retry a request.
+ * @param {HeadersLike} opts.defaultHeaders - Default headers to include with every request to the API.
+ * @param {Record} opts.defaultQuery - Default query parameters to include with every request to the API.
+ * @param {boolean} [opts.dangerouslyAllowBrowser=false] - By default, client-side use of this library is not allowed, as it risks exposing your secret API credentials to attackers.
+ */
+ constructor({ baseURL = (0, env_1.readEnv)('ANTHROPIC_BASE_URL'), apiKey = (0, env_1.readEnv)('ANTHROPIC_API_KEY') ?? null, authToken = (0, env_1.readEnv)('ANTHROPIC_AUTH_TOKEN') ?? null, ...opts } = {}) {
+ _BaseAnthropic_encoder.set(this, void 0);
+ const options = {
+ apiKey,
+ authToken,
+ ...opts,
+ baseURL: baseURL || `https://api.anthropic.com`,
+ };
+ if (!options.dangerouslyAllowBrowser && (0, detect_platform_2.isRunningInBrowser)()) {
+ throw new Errors.AnthropicError("It looks like you're running in a browser-like environment.\n\nThis is disabled by default, as it risks exposing your secret API credentials to attackers.\nIf you understand the risks and have appropriate mitigations in place,\nyou can set the `dangerouslyAllowBrowser` option to `true`, e.g.,\n\nnew Anthropic({ apiKey, dangerouslyAllowBrowser: true });\n");
+ }
+ this.baseURL = options.baseURL;
+ this.timeout = options.timeout ?? Anthropic.DEFAULT_TIMEOUT /* 10 minutes */;
+ this.logger = options.logger ?? console;
+ const defaultLogLevel = 'warn';
+ // Set default logLevel early so that we can log a warning in parseLogLevel.
+ this.logLevel = defaultLogLevel;
+ this.logLevel =
+ (0, log_1.parseLogLevel)(options.logLevel, 'ClientOptions.logLevel', this) ??
+ (0, log_1.parseLogLevel)((0, env_1.readEnv)('ANTHROPIC_LOG'), "process.env['ANTHROPIC_LOG']", this) ??
+ defaultLogLevel;
+ this.fetchOptions = options.fetchOptions;
+ this.maxRetries = options.maxRetries ?? 2;
+ this.fetch = options.fetch ?? Shims.getDefaultFetch();
+ tslib_1.__classPrivateFieldSet(this, _BaseAnthropic_encoder, Opts.FallbackEncoder, "f");
+ this._options = options;
+ this.apiKey = apiKey;
+ this.authToken = authToken;
+ }
+ /**
+ * Create a new client instance re-using the same options given to the current client with optional overriding.
+ */
+ withOptions(options) {
+ return new this.constructor({
+ ...this._options,
+ baseURL: this.baseURL,
+ maxRetries: this.maxRetries,
+ timeout: this.timeout,
+ logger: this.logger,
+ logLevel: this.logLevel,
+ fetchOptions: this.fetchOptions,
+ apiKey: this.apiKey,
+ authToken: this.authToken,
+ ...options,
+ });
+ }
+ defaultQuery() {
+ return this._options.defaultQuery;
+ }
+ validateHeaders({ values, nulls }) {
+ if (this.apiKey && values.get('x-api-key')) {
+ return;
+ }
+ if (nulls.has('x-api-key')) {
+ return;
+ }
+ if (this.authToken && values.get('authorization')) {
+ return;
+ }
+ if (nulls.has('authorization')) {
+ return;
+ }
+ throw new Error('Could not resolve authentication method. Expected either apiKey or authToken to be set. Or for one of the "X-Api-Key" or "Authorization" headers to be explicitly omitted');
+ }
+ authHeaders(opts) {
+ return (0, headers_1.buildHeaders)([this.apiKeyAuth(opts), this.bearerAuth(opts)]);
+ }
+ apiKeyAuth(opts) {
+ if (this.apiKey == null) {
+ return undefined;
+ }
+ return (0, headers_1.buildHeaders)([{ 'X-Api-Key': this.apiKey }]);
+ }
+ bearerAuth(opts) {
+ if (this.authToken == null) {
+ return undefined;
+ }
+ return (0, headers_1.buildHeaders)([{ Authorization: `Bearer ${this.authToken}` }]);
+ }
+ /**
+ * Basic re-implementation of `qs.stringify` for primitive types.
+ */
+ stringifyQuery(query) {
+ return Object.entries(query)
+ .filter(([_, value]) => typeof value !== 'undefined')
+ .map(([key, value]) => {
+ if (typeof value === 'string' || typeof value === 'number' || typeof value === 'boolean') {
+ return `${encodeURIComponent(key)}=${encodeURIComponent(value)}`;
+ }
+ if (value === null) {
+ return `${encodeURIComponent(key)}=`;
+ }
+ throw new Errors.AnthropicError(`Cannot stringify type ${typeof value}; Expected string, number, boolean, or null. If you need to pass nested query parameters, you can manually encode them, e.g. { query: { 'foo[key1]': value1, 'foo[key2]': value2 } }, and please open a GitHub issue requesting better support for your use case.`);
+ })
+ .join('&');
+ }
+ getUserAgent() {
+ return `${this.constructor.name}/JS ${version_1.VERSION}`;
+ }
+ defaultIdempotencyKey() {
+ return `stainless-node-retry-${(0, uuid_1.uuid4)()}`;
+ }
+ makeStatusError(status, error, message, headers) {
+ return Errors.APIError.generate(status, error, message, headers);
+ }
+ buildURL(path, query) {
+ const url = (0, values_1.isAbsoluteURL)(path) ?
+ new URL(path)
+ : new URL(this.baseURL + (this.baseURL.endsWith('/') && path.startsWith('/') ? path.slice(1) : path));
+ const defaultQuery = this.defaultQuery();
+ if (!(0, values_2.isEmptyObj)(defaultQuery)) {
+ query = { ...defaultQuery, ...query };
+ }
+ if (typeof query === 'object' && query && !Array.isArray(query)) {
+ url.search = this.stringifyQuery(query);
+ }
+ return url.toString();
+ }
+ _calculateNonstreamingTimeout(maxTokens) {
+ const defaultTimeout = 10 * 60;
+ const expectedTimeout = (60 * 60 * maxTokens) / 128000;
+ if (expectedTimeout > defaultTimeout) {
+ throw new Errors.AnthropicError('Streaming is strongly recommended for operations that may take longer than 10 minutes. ' +
+ 'See https://github.com/anthropics/anthropic-sdk-typescript#streaming-responses for more details');
+ }
+ return defaultTimeout * 1000;
+ }
+ /**
+ * Used as a callback for mutating the given `FinalRequestOptions` object.
+ */
+ async prepareOptions(options) { }
+ /**
+ * Used as a callback for mutating the given `RequestInit` object.
+ *
+ * This is useful for cases where you want to add certain headers based off of
+ * the request properties, e.g. `method` or `url`.
+ */
+ async prepareRequest(request, { url, options }) { }
+ get(path, opts) {
+ return this.methodRequest('get', path, opts);
+ }
+ post(path, opts) {
+ return this.methodRequest('post', path, opts);
+ }
+ patch(path, opts) {
+ return this.methodRequest('patch', path, opts);
+ }
+ put(path, opts) {
+ return this.methodRequest('put', path, opts);
+ }
+ delete(path, opts) {
+ return this.methodRequest('delete', path, opts);
+ }
+ methodRequest(method, path, opts) {
+ return this.request(Promise.resolve(opts).then((opts) => {
+ return { method, path, ...opts };
+ }));
+ }
+ request(options, remainingRetries = null) {
+ return new api_promise_1.APIPromise(this, this.makeRequest(options, remainingRetries, undefined));
+ }
+ async makeRequest(optionsInput, retriesRemaining, retryOfRequestLogID) {
+ const options = await optionsInput;
+ const maxRetries = options.maxRetries ?? this.maxRetries;
+ if (retriesRemaining == null) {
+ retriesRemaining = maxRetries;
+ }
+ await this.prepareOptions(options);
+ const { req, url, timeout } = this.buildRequest(options, { retryCount: maxRetries - retriesRemaining });
+ await this.prepareRequest(req, { url, options });
+ /** Not an API request ID, just for correlating local log entries. */
+ const requestLogID = 'log_' + ((Math.random() * (1 << 24)) | 0).toString(16).padStart(6, '0');
+ const retryLogStr = retryOfRequestLogID === undefined ? '' : `, retryOf: ${retryOfRequestLogID}`;
+ const startTime = Date.now();
+ (0, log_2.loggerFor)(this).debug(`[${requestLogID}] sending request`, (0, log_2.formatRequestDetails)({
+ retryOfRequestLogID,
+ method: options.method,
+ url,
+ options,
+ headers: req.headers,
+ }));
+ if (options.signal?.aborted) {
+ throw new Errors.APIUserAbortError();
+ }
+ const controller = new AbortController();
+ const response = await this.fetchWithTimeout(url, req, timeout, controller).catch(errors_1.castToError);
+ const headersTime = Date.now();
+ if (response instanceof Error) {
+ const retryMessage = `retrying, ${retriesRemaining} attempts remaining`;
+ if (options.signal?.aborted) {
+ throw new Errors.APIUserAbortError();
+ }
+ // detect native connection timeout errors
+ // deno throws "TypeError: error sending request for url (https://example/): client error (Connect): tcp connect error: Operation timed out (os error 60): Operation timed out (os error 60)"
+ // undici throws "TypeError: fetch failed" with cause "ConnectTimeoutError: Connect Timeout Error (attempted address: example:443, timeout: 1ms)"
+ // others do not provide enough information to distinguish timeouts from other connection errors
+ const isTimeout = (0, errors_1.isAbortError)(response) ||
+ /timed? ?out/i.test(String(response) + ('cause' in response ? String(response.cause) : ''));
+ if (retriesRemaining) {
+ (0, log_2.loggerFor)(this).info(`[${requestLogID}] connection ${isTimeout ? 'timed out' : 'failed'} - ${retryMessage}`);
+ (0, log_2.loggerFor)(this).debug(`[${requestLogID}] connection ${isTimeout ? 'timed out' : 'failed'} (${retryMessage})`, (0, log_2.formatRequestDetails)({
+ retryOfRequestLogID,
+ url,
+ durationMs: headersTime - startTime,
+ message: response.message,
+ }));
+ return this.retryRequest(options, retriesRemaining, retryOfRequestLogID ?? requestLogID);
+ }
+ (0, log_2.loggerFor)(this).info(`[${requestLogID}] connection ${isTimeout ? 'timed out' : 'failed'} - error; no more retries left`);
+ (0, log_2.loggerFor)(this).debug(`[${requestLogID}] connection ${isTimeout ? 'timed out' : 'failed'} (error; no more retries left)`, (0, log_2.formatRequestDetails)({
+ retryOfRequestLogID,
+ url,
+ durationMs: headersTime - startTime,
+ message: response.message,
+ }));
+ if (isTimeout) {
+ throw new Errors.APIConnectionTimeoutError();
+ }
+ throw new Errors.APIConnectionError({ cause: response });
+ }
+ const specialHeaders = [...response.headers.entries()]
+ .filter(([name]) => name === 'request-id')
+ .map(([name, value]) => ', ' + name + ': ' + JSON.stringify(value))
+ .join('');
+ const responseInfo = `[${requestLogID}${retryLogStr}${specialHeaders}] ${req.method} ${url} ${response.ok ? 'succeeded' : 'failed'} with status ${response.status} in ${headersTime - startTime}ms`;
+ if (!response.ok) {
+ const shouldRetry = this.shouldRetry(response);
+ if (retriesRemaining && shouldRetry) {
+ const retryMessage = `retrying, ${retriesRemaining} attempts remaining`;
+ // We don't need the body of this response.
+ await Shims.CancelReadableStream(response.body);
+ (0, log_2.loggerFor)(this).info(`${responseInfo} - ${retryMessage}`);
+ (0, log_2.loggerFor)(this).debug(`[${requestLogID}] response error (${retryMessage})`, (0, log_2.formatRequestDetails)({
+ retryOfRequestLogID,
+ url: response.url,
+ status: response.status,
+ headers: response.headers,
+ durationMs: headersTime - startTime,
+ }));
+ return this.retryRequest(options, retriesRemaining, retryOfRequestLogID ?? requestLogID, response.headers);
+ }
+ const retryMessage = shouldRetry ? `error; no more retries left` : `error; not retryable`;
+ (0, log_2.loggerFor)(this).info(`${responseInfo} - ${retryMessage}`);
+ const errText = await response.text().catch((err) => (0, errors_1.castToError)(err).message);
+ const errJSON = (0, values_1.safeJSON)(errText);
+ const errMessage = errJSON ? undefined : errText;
+ (0, log_2.loggerFor)(this).debug(`[${requestLogID}] response error (${retryMessage})`, (0, log_2.formatRequestDetails)({
+ retryOfRequestLogID,
+ url: response.url,
+ status: response.status,
+ headers: response.headers,
+ message: errMessage,
+ durationMs: Date.now() - startTime,
+ }));
+ const err = this.makeStatusError(response.status, errJSON, errMessage, response.headers);
+ throw err;
+ }
+ (0, log_2.loggerFor)(this).info(responseInfo);
+ (0, log_2.loggerFor)(this).debug(`[${requestLogID}] response start`, (0, log_2.formatRequestDetails)({
+ retryOfRequestLogID,
+ url: response.url,
+ status: response.status,
+ headers: response.headers,
+ durationMs: headersTime - startTime,
+ }));
+ return { response, options, controller, requestLogID, retryOfRequestLogID, startTime };
+ }
+ getAPIList(path, Page, opts) {
+ return this.requestAPIList(Page, { method: 'get', path, ...opts });
+ }
+ requestAPIList(Page, options) {
+ const request = this.makeRequest(options, null, undefined);
+ return new Pagination.PagePromise(this, request, Page);
+ }
+ async fetchWithTimeout(url, init, ms, controller) {
+ const { signal, method, ...options } = init || {};
+ if (signal)
+ signal.addEventListener('abort', () => controller.abort());
+ const timeout = setTimeout(() => controller.abort(), ms);
+ const isReadableBody = (globalThis.ReadableStream && options.body instanceof globalThis.ReadableStream) ||
+ (typeof options.body === 'object' && options.body !== null && Symbol.asyncIterator in options.body);
+ const fetchOptions = {
+ signal: controller.signal,
+ ...(isReadableBody ? { duplex: 'half' } : {}),
+ method: 'GET',
+ ...options,
+ };
+ if (method) {
+ // Custom methods like 'patch' need to be uppercased
+ // See https://github.com/nodejs/undici/issues/2294
+ fetchOptions.method = method.toUpperCase();
+ }
+ try {
+ // use undefined this binding; fetch errors if bound to something else in browser/cloudflare
+ return await this.fetch.call(undefined, url, fetchOptions);
+ }
+ finally {
+ clearTimeout(timeout);
+ }
+ }
+ shouldRetry(response) {
+ // Note this is not a standard header.
+ const shouldRetryHeader = response.headers.get('x-should-retry');
+ // If the server explicitly says whether or not to retry, obey.
+ if (shouldRetryHeader === 'true')
+ return true;
+ if (shouldRetryHeader === 'false')
+ return false;
+ // Retry on request timeouts.
+ if (response.status === 408)
+ return true;
+ // Retry on lock timeouts.
+ if (response.status === 409)
+ return true;
+ // Retry on rate limits.
+ if (response.status === 429)
+ return true;
+ // Retry internal errors.
+ if (response.status >= 500)
+ return true;
+ return false;
+ }
+ async retryRequest(options, retriesRemaining, requestLogID, responseHeaders) {
+ let timeoutMillis;
+ // Note the `retry-after-ms` header may not be standard, but is a good idea and we'd like proactive support for it.
+ const retryAfterMillisHeader = responseHeaders?.get('retry-after-ms');
+ if (retryAfterMillisHeader) {
+ const timeoutMs = parseFloat(retryAfterMillisHeader);
+ if (!Number.isNaN(timeoutMs)) {
+ timeoutMillis = timeoutMs;
+ }
+ }
+ // About the Retry-After header: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Retry-After
+ const retryAfterHeader = responseHeaders?.get('retry-after');
+ if (retryAfterHeader && !timeoutMillis) {
+ const timeoutSeconds = parseFloat(retryAfterHeader);
+ if (!Number.isNaN(timeoutSeconds)) {
+ timeoutMillis = timeoutSeconds * 1000;
+ }
+ else {
+ timeoutMillis = Date.parse(retryAfterHeader) - Date.now();
+ }
+ }
+ // If the API asks us to wait a certain amount of time (and it's a reasonable amount),
+ // just do what it says, but otherwise calculate a default
+ if (!(timeoutMillis && 0 <= timeoutMillis && timeoutMillis < 60 * 1000)) {
+ const maxRetries = options.maxRetries ?? this.maxRetries;
+ timeoutMillis = this.calculateDefaultRetryTimeoutMillis(retriesRemaining, maxRetries);
+ }
+ await (0, sleep_1.sleep)(timeoutMillis);
+ return this.makeRequest(options, retriesRemaining - 1, requestLogID);
+ }
+ calculateDefaultRetryTimeoutMillis(retriesRemaining, maxRetries) {
+ const initialRetryDelay = 0.5;
+ const maxRetryDelay = 8.0;
+ const numRetries = maxRetries - retriesRemaining;
+ // Apply exponential backoff, but not more than the max.
+ const sleepSeconds = Math.min(initialRetryDelay * Math.pow(2, numRetries), maxRetryDelay);
+ // Apply some jitter, take up to at most 25 percent of the retry time.
+ const jitter = 1 - Math.random() * 0.25;
+ return sleepSeconds * jitter * 1000;
+ }
+ calculateNonstreamingTimeout(maxTokens, maxNonstreamingTokens) {
+ const maxTime = 60 * 60 * 1000; // 10 minutes
+ const defaultTime = 60 * 10 * 1000; // 10 minutes
+ const expectedTime = (maxTime * maxTokens) / 128000;
+ if (expectedTime > defaultTime || (maxNonstreamingTokens != null && maxTokens > maxNonstreamingTokens)) {
+ throw new Errors.AnthropicError('Streaming is strongly recommended for operations that may token longer than 10 minutes. See https://github.com/anthropics/anthropic-sdk-typescript#long-requests for more details');
+ }
+ return defaultTime;
+ }
+ buildRequest(inputOptions, { retryCount = 0 } = {}) {
+ const options = { ...inputOptions };
+ const { method, path, query } = options;
+ const url = this.buildURL(path, query);
+ if ('timeout' in options)
+ (0, values_1.validatePositiveInteger)('timeout', options.timeout);
+ options.timeout = options.timeout ?? this.timeout;
+ const { bodyHeaders, body } = this.buildBody({ options });
+ const reqHeaders = this.buildHeaders({ options: inputOptions, method, bodyHeaders, retryCount });
+ const req = {
+ method,
+ headers: reqHeaders,
+ ...(options.signal && { signal: options.signal }),
+ ...(globalThis.ReadableStream &&
+ body instanceof globalThis.ReadableStream && { duplex: 'half' }),
+ ...(body && { body }),
+ ...(this.fetchOptions ?? {}),
+ ...(options.fetchOptions ?? {}),
+ };
+ return { req, url, timeout: options.timeout };
+ }
+ buildHeaders({ options, method, bodyHeaders, retryCount, }) {
+ let idempotencyHeaders = {};
+ if (this.idempotencyHeader && method !== 'get') {
+ if (!options.idempotencyKey)
+ options.idempotencyKey = this.defaultIdempotencyKey();
+ idempotencyHeaders[this.idempotencyHeader] = options.idempotencyKey;
+ }
+ const headers = (0, headers_1.buildHeaders)([
+ idempotencyHeaders,
+ {
+ Accept: 'application/json',
+ 'User-Agent': this.getUserAgent(),
+ 'X-Stainless-Retry-Count': String(retryCount),
+ ...(options.timeout ? { 'X-Stainless-Timeout': String(Math.trunc(options.timeout / 1000)) } : {}),
+ ...(0, detect_platform_1.getPlatformHeaders)(),
+ ...(this._options.dangerouslyAllowBrowser ?
+ { 'anthropic-dangerous-direct-browser-access': 'true' }
+ : undefined),
+ 'anthropic-version': '2023-06-01',
+ },
+ this.authHeaders(options),
+ this._options.defaultHeaders,
+ bodyHeaders,
+ options.headers,
+ ]);
+ this.validateHeaders(headers);
+ return headers.values;
+ }
+ buildBody({ options: { body, headers: rawHeaders } }) {
+ if (!body) {
+ return { bodyHeaders: undefined, body: undefined };
+ }
+ const headers = (0, headers_1.buildHeaders)([rawHeaders]);
+ if (
+ // Pass raw type verbatim
+ ArrayBuffer.isView(body) ||
+ body instanceof ArrayBuffer ||
+ body instanceof DataView ||
+ (typeof body === 'string' &&
+ // Preserve legacy string encoding behavior for now
+ headers.values.has('content-type')) ||
+ // `Blob` is superset of `File`
+ body instanceof Blob ||
+ // `FormData` -> `multipart/form-data`
+ body instanceof FormData ||
+ // `URLSearchParams` -> `application/x-www-form-urlencoded`
+ body instanceof URLSearchParams ||
+ // Send chunked stream (each chunk has own `length`)
+ (globalThis.ReadableStream && body instanceof globalThis.ReadableStream)) {
+ return { bodyHeaders: undefined, body: body };
+ }
+ else if (typeof body === 'object' &&
+ (Symbol.asyncIterator in body ||
+ (Symbol.iterator in body && 'next' in body && typeof body.next === 'function'))) {
+ return { bodyHeaders: undefined, body: Shims.ReadableStreamFrom(body) };
+ }
+ else {
+ return tslib_1.__classPrivateFieldGet(this, _BaseAnthropic_encoder, "f").call(this, { body, headers });
+ }
+ }
+}
+exports.BaseAnthropic = BaseAnthropic;
+_a = BaseAnthropic, _BaseAnthropic_encoder = new WeakMap();
+BaseAnthropic.Anthropic = _a;
+BaseAnthropic.HUMAN_PROMPT = '\n\nHuman:';
+BaseAnthropic.AI_PROMPT = '\n\nAssistant:';
+BaseAnthropic.DEFAULT_TIMEOUT = 600000; // 10 minutes
+BaseAnthropic.AnthropicError = Errors.AnthropicError;
+BaseAnthropic.APIError = Errors.APIError;
+BaseAnthropic.APIConnectionError = Errors.APIConnectionError;
+BaseAnthropic.APIConnectionTimeoutError = Errors.APIConnectionTimeoutError;
+BaseAnthropic.APIUserAbortError = Errors.APIUserAbortError;
+BaseAnthropic.NotFoundError = Errors.NotFoundError;
+BaseAnthropic.ConflictError = Errors.ConflictError;
+BaseAnthropic.RateLimitError = Errors.RateLimitError;
+BaseAnthropic.BadRequestError = Errors.BadRequestError;
+BaseAnthropic.AuthenticationError = Errors.AuthenticationError;
+BaseAnthropic.InternalServerError = Errors.InternalServerError;
+BaseAnthropic.PermissionDeniedError = Errors.PermissionDeniedError;
+BaseAnthropic.UnprocessableEntityError = Errors.UnprocessableEntityError;
+BaseAnthropic.toFile = Uploads.toFile;
+/**
+ * API Client for interfacing with the Anthropic API.
+ */
+class Anthropic extends BaseAnthropic {
+ constructor() {
+ super(...arguments);
+ this.completions = new API.Completions(this);
+ this.messages = new API.Messages(this);
+ this.models = new API.Models(this);
+ this.beta = new API.Beta(this);
+ }
+}
+exports.Anthropic = Anthropic;
+Anthropic.Completions = completions_1.Completions;
+Anthropic.Messages = messages_1.Messages;
+Anthropic.Models = models_1.Models;
+Anthropic.Beta = beta_1.Beta;
+exports.HUMAN_PROMPT = Anthropic.HUMAN_PROMPT, exports.AI_PROMPT = Anthropic.AI_PROMPT;
+//# sourceMappingURL=client.js.map
\ No newline at end of file
diff --git a/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/client.js.map b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/client.js.map
new file mode 100644
index 0000000000000000000000000000000000000000..96644390db37d4341953ff534bec8e91847d3190
--- /dev/null
+++ b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/client.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"client.js","sourceRoot":"","sources":["src/client.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;;AAItF,mDAA8C;AAC9C,uDAA2F;AAC3F,qDAA+C;AAC/C,iDAAiF;AAEjF,iDAA8D;AAE9D,mEAAgE;AAChE,mEAA0C;AAC1C,4EAAmD;AACnD,0CA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CAAkB;AAGjC;;GAEG;AACH,MAAa,SAAU,SAAQ,aAAa;IAA5C;;QACE,gBAAW,GAAoB,IAAI,GAAG,CAAC,WAAW,CAAC,IAAI,CAAC,CAAC;QACzD,aAAQ,GAAiB,IAAI,GAAG,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC;QAChD,WAAM,GAAe,IAAI,GAAG,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;QAC1C,SAAI,GAAa,IAAI,GAAG,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IACtC,CAAC;CAAA;AALD,8BAKC;AACD,SAAS,CAAC,WAAW,GAAG,yBAAW,CAAC;AACpC,SAAS,CAAC,QAAQ,GAAG,mBAAQ,CAAC;AAC9B,SAAS,CAAC,MAAM,GAAG,eAAM,CAAC;AAC1B,SAAS,CAAC,IAAI,GAAG,WAAI,CAAC;AAiJP,oBAAY,GAAgB,SAAS,eAAvB,iBAAS,GAAK,SAAS,WAAC"}
\ No newline at end of file
diff --git a/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/client.mjs b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/client.mjs
new file mode 100644
index 0000000000000000000000000000000000000000..bb9211cba17e480491905157d806c12596e809c6
--- /dev/null
+++ b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/client.mjs
@@ -0,0 +1,531 @@
+// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
+var _a, _BaseAnthropic_encoder;
+import { __classPrivateFieldGet, __classPrivateFieldSet } from "./internal/tslib.mjs";
+import { uuid4 } from "./internal/utils/uuid.mjs";
+import { validatePositiveInteger, isAbsoluteURL, safeJSON } from "./internal/utils/values.mjs";
+import { sleep } from "./internal/utils/sleep.mjs";
+import { parseLogLevel } from "./internal/utils/log.mjs";
+import { castToError, isAbortError } from "./internal/errors.mjs";
+import { getPlatformHeaders } from "./internal/detect-platform.mjs";
+import * as Shims from "./internal/shims.mjs";
+import * as Opts from "./internal/request-options.mjs";
+import { VERSION } from "./version.mjs";
+import * as Errors from "./core/error.mjs";
+import * as Pagination from "./core/pagination.mjs";
+import * as Uploads from "./core/uploads.mjs";
+import * as API from "./resources/index.mjs";
+import { APIPromise } from "./core/api-promise.mjs";
+import { isRunningInBrowser } from "./internal/detect-platform.mjs";
+import { buildHeaders } from "./internal/headers.mjs";
+import { Completions, } from "./resources/completions.mjs";
+import { Models } from "./resources/models.mjs";
+import { readEnv } from "./internal/utils/env.mjs";
+import { formatRequestDetails, loggerFor } from "./internal/utils/log.mjs";
+import { isEmptyObj } from "./internal/utils/values.mjs";
+import { Beta, } from "./resources/beta/beta.mjs";
+import { Messages, } from "./resources/messages/messages.mjs";
+export class BaseAnthropic {
+ /**
+ * API Client for interfacing with the Anthropic API.
+ *
+ * @param {string | null | undefined} [opts.apiKey=process.env['ANTHROPIC_API_KEY'] ?? null]
+ * @param {string | null | undefined} [opts.authToken=process.env['ANTHROPIC_AUTH_TOKEN'] ?? null]
+ * @param {string} [opts.baseURL=process.env['ANTHROPIC_BASE_URL'] ?? https://api.anthropic.com] - Override the default base URL for the API.
+ * @param {number} [opts.timeout=10 minutes] - The maximum amount of time (in milliseconds) the client will wait for a response before timing out.
+ * @param {MergedRequestInit} [opts.fetchOptions] - Additional `RequestInit` options to be passed to `fetch` calls.
+ * @param {Fetch} [opts.fetch] - Specify a custom `fetch` function implementation.
+ * @param {number} [opts.maxRetries=2] - The maximum number of times the client will retry a request.
+ * @param {HeadersLike} opts.defaultHeaders - Default headers to include with every request to the API.
+ * @param {Record} opts.defaultQuery - Default query parameters to include with every request to the API.
+ * @param {boolean} [opts.dangerouslyAllowBrowser=false] - By default, client-side use of this library is not allowed, as it risks exposing your secret API credentials to attackers.
+ */
+ constructor({ baseURL = readEnv('ANTHROPIC_BASE_URL'), apiKey = readEnv('ANTHROPIC_API_KEY') ?? null, authToken = readEnv('ANTHROPIC_AUTH_TOKEN') ?? null, ...opts } = {}) {
+ _BaseAnthropic_encoder.set(this, void 0);
+ const options = {
+ apiKey,
+ authToken,
+ ...opts,
+ baseURL: baseURL || `https://api.anthropic.com`,
+ };
+ if (!options.dangerouslyAllowBrowser && isRunningInBrowser()) {
+ throw new Errors.AnthropicError("It looks like you're running in a browser-like environment.\n\nThis is disabled by default, as it risks exposing your secret API credentials to attackers.\nIf you understand the risks and have appropriate mitigations in place,\nyou can set the `dangerouslyAllowBrowser` option to `true`, e.g.,\n\nnew Anthropic({ apiKey, dangerouslyAllowBrowser: true });\n");
+ }
+ this.baseURL = options.baseURL;
+ this.timeout = options.timeout ?? Anthropic.DEFAULT_TIMEOUT /* 10 minutes */;
+ this.logger = options.logger ?? console;
+ const defaultLogLevel = 'warn';
+ // Set default logLevel early so that we can log a warning in parseLogLevel.
+ this.logLevel = defaultLogLevel;
+ this.logLevel =
+ parseLogLevel(options.logLevel, 'ClientOptions.logLevel', this) ??
+ parseLogLevel(readEnv('ANTHROPIC_LOG'), "process.env['ANTHROPIC_LOG']", this) ??
+ defaultLogLevel;
+ this.fetchOptions = options.fetchOptions;
+ this.maxRetries = options.maxRetries ?? 2;
+ this.fetch = options.fetch ?? Shims.getDefaultFetch();
+ __classPrivateFieldSet(this, _BaseAnthropic_encoder, Opts.FallbackEncoder, "f");
+ this._options = options;
+ this.apiKey = apiKey;
+ this.authToken = authToken;
+ }
+ /**
+ * Create a new client instance re-using the same options given to the current client with optional overriding.
+ */
+ withOptions(options) {
+ return new this.constructor({
+ ...this._options,
+ baseURL: this.baseURL,
+ maxRetries: this.maxRetries,
+ timeout: this.timeout,
+ logger: this.logger,
+ logLevel: this.logLevel,
+ fetchOptions: this.fetchOptions,
+ apiKey: this.apiKey,
+ authToken: this.authToken,
+ ...options,
+ });
+ }
+ defaultQuery() {
+ return this._options.defaultQuery;
+ }
+ validateHeaders({ values, nulls }) {
+ if (this.apiKey && values.get('x-api-key')) {
+ return;
+ }
+ if (nulls.has('x-api-key')) {
+ return;
+ }
+ if (this.authToken && values.get('authorization')) {
+ return;
+ }
+ if (nulls.has('authorization')) {
+ return;
+ }
+ throw new Error('Could not resolve authentication method. Expected either apiKey or authToken to be set. Or for one of the "X-Api-Key" or "Authorization" headers to be explicitly omitted');
+ }
+ authHeaders(opts) {
+ return buildHeaders([this.apiKeyAuth(opts), this.bearerAuth(opts)]);
+ }
+ apiKeyAuth(opts) {
+ if (this.apiKey == null) {
+ return undefined;
+ }
+ return buildHeaders([{ 'X-Api-Key': this.apiKey }]);
+ }
+ bearerAuth(opts) {
+ if (this.authToken == null) {
+ return undefined;
+ }
+ return buildHeaders([{ Authorization: `Bearer ${this.authToken}` }]);
+ }
+ /**
+ * Basic re-implementation of `qs.stringify` for primitive types.
+ */
+ stringifyQuery(query) {
+ return Object.entries(query)
+ .filter(([_, value]) => typeof value !== 'undefined')
+ .map(([key, value]) => {
+ if (typeof value === 'string' || typeof value === 'number' || typeof value === 'boolean') {
+ return `${encodeURIComponent(key)}=${encodeURIComponent(value)}`;
+ }
+ if (value === null) {
+ return `${encodeURIComponent(key)}=`;
+ }
+ throw new Errors.AnthropicError(`Cannot stringify type ${typeof value}; Expected string, number, boolean, or null. If you need to pass nested query parameters, you can manually encode them, e.g. { query: { 'foo[key1]': value1, 'foo[key2]': value2 } }, and please open a GitHub issue requesting better support for your use case.`);
+ })
+ .join('&');
+ }
+ getUserAgent() {
+ return `${this.constructor.name}/JS ${VERSION}`;
+ }
+ defaultIdempotencyKey() {
+ return `stainless-node-retry-${uuid4()}`;
+ }
+ makeStatusError(status, error, message, headers) {
+ return Errors.APIError.generate(status, error, message, headers);
+ }
+ buildURL(path, query) {
+ const url = isAbsoluteURL(path) ?
+ new URL(path)
+ : new URL(this.baseURL + (this.baseURL.endsWith('/') && path.startsWith('/') ? path.slice(1) : path));
+ const defaultQuery = this.defaultQuery();
+ if (!isEmptyObj(defaultQuery)) {
+ query = { ...defaultQuery, ...query };
+ }
+ if (typeof query === 'object' && query && !Array.isArray(query)) {
+ url.search = this.stringifyQuery(query);
+ }
+ return url.toString();
+ }
+ _calculateNonstreamingTimeout(maxTokens) {
+ const defaultTimeout = 10 * 60;
+ const expectedTimeout = (60 * 60 * maxTokens) / 128000;
+ if (expectedTimeout > defaultTimeout) {
+ throw new Errors.AnthropicError('Streaming is strongly recommended for operations that may take longer than 10 minutes. ' +
+ 'See https://github.com/anthropics/anthropic-sdk-typescript#streaming-responses for more details');
+ }
+ return defaultTimeout * 1000;
+ }
+ /**
+ * Used as a callback for mutating the given `FinalRequestOptions` object.
+ */
+ async prepareOptions(options) { }
+ /**
+ * Used as a callback for mutating the given `RequestInit` object.
+ *
+ * This is useful for cases where you want to add certain headers based off of
+ * the request properties, e.g. `method` or `url`.
+ */
+ async prepareRequest(request, { url, options }) { }
+ get(path, opts) {
+ return this.methodRequest('get', path, opts);
+ }
+ post(path, opts) {
+ return this.methodRequest('post', path, opts);
+ }
+ patch(path, opts) {
+ return this.methodRequest('patch', path, opts);
+ }
+ put(path, opts) {
+ return this.methodRequest('put', path, opts);
+ }
+ delete(path, opts) {
+ return this.methodRequest('delete', path, opts);
+ }
+ methodRequest(method, path, opts) {
+ return this.request(Promise.resolve(opts).then((opts) => {
+ return { method, path, ...opts };
+ }));
+ }
+ request(options, remainingRetries = null) {
+ return new APIPromise(this, this.makeRequest(options, remainingRetries, undefined));
+ }
+ async makeRequest(optionsInput, retriesRemaining, retryOfRequestLogID) {
+ const options = await optionsInput;
+ const maxRetries = options.maxRetries ?? this.maxRetries;
+ if (retriesRemaining == null) {
+ retriesRemaining = maxRetries;
+ }
+ await this.prepareOptions(options);
+ const { req, url, timeout } = this.buildRequest(options, { retryCount: maxRetries - retriesRemaining });
+ await this.prepareRequest(req, { url, options });
+ /** Not an API request ID, just for correlating local log entries. */
+ const requestLogID = 'log_' + ((Math.random() * (1 << 24)) | 0).toString(16).padStart(6, '0');
+ const retryLogStr = retryOfRequestLogID === undefined ? '' : `, retryOf: ${retryOfRequestLogID}`;
+ const startTime = Date.now();
+ loggerFor(this).debug(`[${requestLogID}] sending request`, formatRequestDetails({
+ retryOfRequestLogID,
+ method: options.method,
+ url,
+ options,
+ headers: req.headers,
+ }));
+ if (options.signal?.aborted) {
+ throw new Errors.APIUserAbortError();
+ }
+ const controller = new AbortController();
+ const response = await this.fetchWithTimeout(url, req, timeout, controller).catch(castToError);
+ const headersTime = Date.now();
+ if (response instanceof Error) {
+ const retryMessage = `retrying, ${retriesRemaining} attempts remaining`;
+ if (options.signal?.aborted) {
+ throw new Errors.APIUserAbortError();
+ }
+ // detect native connection timeout errors
+ // deno throws "TypeError: error sending request for url (https://example/): client error (Connect): tcp connect error: Operation timed out (os error 60): Operation timed out (os error 60)"
+ // undici throws "TypeError: fetch failed" with cause "ConnectTimeoutError: Connect Timeout Error (attempted address: example:443, timeout: 1ms)"
+ // others do not provide enough information to distinguish timeouts from other connection errors
+ const isTimeout = isAbortError(response) ||
+ /timed? ?out/i.test(String(response) + ('cause' in response ? String(response.cause) : ''));
+ if (retriesRemaining) {
+ loggerFor(this).info(`[${requestLogID}] connection ${isTimeout ? 'timed out' : 'failed'} - ${retryMessage}`);
+ loggerFor(this).debug(`[${requestLogID}] connection ${isTimeout ? 'timed out' : 'failed'} (${retryMessage})`, formatRequestDetails({
+ retryOfRequestLogID,
+ url,
+ durationMs: headersTime - startTime,
+ message: response.message,
+ }));
+ return this.retryRequest(options, retriesRemaining, retryOfRequestLogID ?? requestLogID);
+ }
+ loggerFor(this).info(`[${requestLogID}] connection ${isTimeout ? 'timed out' : 'failed'} - error; no more retries left`);
+ loggerFor(this).debug(`[${requestLogID}] connection ${isTimeout ? 'timed out' : 'failed'} (error; no more retries left)`, formatRequestDetails({
+ retryOfRequestLogID,
+ url,
+ durationMs: headersTime - startTime,
+ message: response.message,
+ }));
+ if (isTimeout) {
+ throw new Errors.APIConnectionTimeoutError();
+ }
+ throw new Errors.APIConnectionError({ cause: response });
+ }
+ const specialHeaders = [...response.headers.entries()]
+ .filter(([name]) => name === 'request-id')
+ .map(([name, value]) => ', ' + name + ': ' + JSON.stringify(value))
+ .join('');
+ const responseInfo = `[${requestLogID}${retryLogStr}${specialHeaders}] ${req.method} ${url} ${response.ok ? 'succeeded' : 'failed'} with status ${response.status} in ${headersTime - startTime}ms`;
+ if (!response.ok) {
+ const shouldRetry = this.shouldRetry(response);
+ if (retriesRemaining && shouldRetry) {
+ const retryMessage = `retrying, ${retriesRemaining} attempts remaining`;
+ // We don't need the body of this response.
+ await Shims.CancelReadableStream(response.body);
+ loggerFor(this).info(`${responseInfo} - ${retryMessage}`);
+ loggerFor(this).debug(`[${requestLogID}] response error (${retryMessage})`, formatRequestDetails({
+ retryOfRequestLogID,
+ url: response.url,
+ status: response.status,
+ headers: response.headers,
+ durationMs: headersTime - startTime,
+ }));
+ return this.retryRequest(options, retriesRemaining, retryOfRequestLogID ?? requestLogID, response.headers);
+ }
+ const retryMessage = shouldRetry ? `error; no more retries left` : `error; not retryable`;
+ loggerFor(this).info(`${responseInfo} - ${retryMessage}`);
+ const errText = await response.text().catch((err) => castToError(err).message);
+ const errJSON = safeJSON(errText);
+ const errMessage = errJSON ? undefined : errText;
+ loggerFor(this).debug(`[${requestLogID}] response error (${retryMessage})`, formatRequestDetails({
+ retryOfRequestLogID,
+ url: response.url,
+ status: response.status,
+ headers: response.headers,
+ message: errMessage,
+ durationMs: Date.now() - startTime,
+ }));
+ const err = this.makeStatusError(response.status, errJSON, errMessage, response.headers);
+ throw err;
+ }
+ loggerFor(this).info(responseInfo);
+ loggerFor(this).debug(`[${requestLogID}] response start`, formatRequestDetails({
+ retryOfRequestLogID,
+ url: response.url,
+ status: response.status,
+ headers: response.headers,
+ durationMs: headersTime - startTime,
+ }));
+ return { response, options, controller, requestLogID, retryOfRequestLogID, startTime };
+ }
+ getAPIList(path, Page, opts) {
+ return this.requestAPIList(Page, { method: 'get', path, ...opts });
+ }
+ requestAPIList(Page, options) {
+ const request = this.makeRequest(options, null, undefined);
+ return new Pagination.PagePromise(this, request, Page);
+ }
+ async fetchWithTimeout(url, init, ms, controller) {
+ const { signal, method, ...options } = init || {};
+ if (signal)
+ signal.addEventListener('abort', () => controller.abort());
+ const timeout = setTimeout(() => controller.abort(), ms);
+ const isReadableBody = (globalThis.ReadableStream && options.body instanceof globalThis.ReadableStream) ||
+ (typeof options.body === 'object' && options.body !== null && Symbol.asyncIterator in options.body);
+ const fetchOptions = {
+ signal: controller.signal,
+ ...(isReadableBody ? { duplex: 'half' } : {}),
+ method: 'GET',
+ ...options,
+ };
+ if (method) {
+ // Custom methods like 'patch' need to be uppercased
+ // See https://github.com/nodejs/undici/issues/2294
+ fetchOptions.method = method.toUpperCase();
+ }
+ try {
+ // use undefined this binding; fetch errors if bound to something else in browser/cloudflare
+ return await this.fetch.call(undefined, url, fetchOptions);
+ }
+ finally {
+ clearTimeout(timeout);
+ }
+ }
+ shouldRetry(response) {
+ // Note this is not a standard header.
+ const shouldRetryHeader = response.headers.get('x-should-retry');
+ // If the server explicitly says whether or not to retry, obey.
+ if (shouldRetryHeader === 'true')
+ return true;
+ if (shouldRetryHeader === 'false')
+ return false;
+ // Retry on request timeouts.
+ if (response.status === 408)
+ return true;
+ // Retry on lock timeouts.
+ if (response.status === 409)
+ return true;
+ // Retry on rate limits.
+ if (response.status === 429)
+ return true;
+ // Retry internal errors.
+ if (response.status >= 500)
+ return true;
+ return false;
+ }
+ async retryRequest(options, retriesRemaining, requestLogID, responseHeaders) {
+ let timeoutMillis;
+ // Note the `retry-after-ms` header may not be standard, but is a good idea and we'd like proactive support for it.
+ const retryAfterMillisHeader = responseHeaders?.get('retry-after-ms');
+ if (retryAfterMillisHeader) {
+ const timeoutMs = parseFloat(retryAfterMillisHeader);
+ if (!Number.isNaN(timeoutMs)) {
+ timeoutMillis = timeoutMs;
+ }
+ }
+ // About the Retry-After header: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Retry-After
+ const retryAfterHeader = responseHeaders?.get('retry-after');
+ if (retryAfterHeader && !timeoutMillis) {
+ const timeoutSeconds = parseFloat(retryAfterHeader);
+ if (!Number.isNaN(timeoutSeconds)) {
+ timeoutMillis = timeoutSeconds * 1000;
+ }
+ else {
+ timeoutMillis = Date.parse(retryAfterHeader) - Date.now();
+ }
+ }
+ // If the API asks us to wait a certain amount of time (and it's a reasonable amount),
+ // just do what it says, but otherwise calculate a default
+ if (!(timeoutMillis && 0 <= timeoutMillis && timeoutMillis < 60 * 1000)) {
+ const maxRetries = options.maxRetries ?? this.maxRetries;
+ timeoutMillis = this.calculateDefaultRetryTimeoutMillis(retriesRemaining, maxRetries);
+ }
+ await sleep(timeoutMillis);
+ return this.makeRequest(options, retriesRemaining - 1, requestLogID);
+ }
+ calculateDefaultRetryTimeoutMillis(retriesRemaining, maxRetries) {
+ const initialRetryDelay = 0.5;
+ const maxRetryDelay = 8.0;
+ const numRetries = maxRetries - retriesRemaining;
+ // Apply exponential backoff, but not more than the max.
+ const sleepSeconds = Math.min(initialRetryDelay * Math.pow(2, numRetries), maxRetryDelay);
+ // Apply some jitter, take up to at most 25 percent of the retry time.
+ const jitter = 1 - Math.random() * 0.25;
+ return sleepSeconds * jitter * 1000;
+ }
+ calculateNonstreamingTimeout(maxTokens, maxNonstreamingTokens) {
+ const maxTime = 60 * 60 * 1000; // 10 minutes
+ const defaultTime = 60 * 10 * 1000; // 10 minutes
+ const expectedTime = (maxTime * maxTokens) / 128000;
+ if (expectedTime > defaultTime || (maxNonstreamingTokens != null && maxTokens > maxNonstreamingTokens)) {
+ throw new Errors.AnthropicError('Streaming is strongly recommended for operations that may token longer than 10 minutes. See https://github.com/anthropics/anthropic-sdk-typescript#long-requests for more details');
+ }
+ return defaultTime;
+ }
+ buildRequest(inputOptions, { retryCount = 0 } = {}) {
+ const options = { ...inputOptions };
+ const { method, path, query } = options;
+ const url = this.buildURL(path, query);
+ if ('timeout' in options)
+ validatePositiveInteger('timeout', options.timeout);
+ options.timeout = options.timeout ?? this.timeout;
+ const { bodyHeaders, body } = this.buildBody({ options });
+ const reqHeaders = this.buildHeaders({ options: inputOptions, method, bodyHeaders, retryCount });
+ const req = {
+ method,
+ headers: reqHeaders,
+ ...(options.signal && { signal: options.signal }),
+ ...(globalThis.ReadableStream &&
+ body instanceof globalThis.ReadableStream && { duplex: 'half' }),
+ ...(body && { body }),
+ ...(this.fetchOptions ?? {}),
+ ...(options.fetchOptions ?? {}),
+ };
+ return { req, url, timeout: options.timeout };
+ }
+ buildHeaders({ options, method, bodyHeaders, retryCount, }) {
+ let idempotencyHeaders = {};
+ if (this.idempotencyHeader && method !== 'get') {
+ if (!options.idempotencyKey)
+ options.idempotencyKey = this.defaultIdempotencyKey();
+ idempotencyHeaders[this.idempotencyHeader] = options.idempotencyKey;
+ }
+ const headers = buildHeaders([
+ idempotencyHeaders,
+ {
+ Accept: 'application/json',
+ 'User-Agent': this.getUserAgent(),
+ 'X-Stainless-Retry-Count': String(retryCount),
+ ...(options.timeout ? { 'X-Stainless-Timeout': String(Math.trunc(options.timeout / 1000)) } : {}),
+ ...getPlatformHeaders(),
+ ...(this._options.dangerouslyAllowBrowser ?
+ { 'anthropic-dangerous-direct-browser-access': 'true' }
+ : undefined),
+ 'anthropic-version': '2023-06-01',
+ },
+ this.authHeaders(options),
+ this._options.defaultHeaders,
+ bodyHeaders,
+ options.headers,
+ ]);
+ this.validateHeaders(headers);
+ return headers.values;
+ }
+ buildBody({ options: { body, headers: rawHeaders } }) {
+ if (!body) {
+ return { bodyHeaders: undefined, body: undefined };
+ }
+ const headers = buildHeaders([rawHeaders]);
+ if (
+ // Pass raw type verbatim
+ ArrayBuffer.isView(body) ||
+ body instanceof ArrayBuffer ||
+ body instanceof DataView ||
+ (typeof body === 'string' &&
+ // Preserve legacy string encoding behavior for now
+ headers.values.has('content-type')) ||
+ // `Blob` is superset of `File`
+ body instanceof Blob ||
+ // `FormData` -> `multipart/form-data`
+ body instanceof FormData ||
+ // `URLSearchParams` -> `application/x-www-form-urlencoded`
+ body instanceof URLSearchParams ||
+ // Send chunked stream (each chunk has own `length`)
+ (globalThis.ReadableStream && body instanceof globalThis.ReadableStream)) {
+ return { bodyHeaders: undefined, body: body };
+ }
+ else if (typeof body === 'object' &&
+ (Symbol.asyncIterator in body ||
+ (Symbol.iterator in body && 'next' in body && typeof body.next === 'function'))) {
+ return { bodyHeaders: undefined, body: Shims.ReadableStreamFrom(body) };
+ }
+ else {
+ return __classPrivateFieldGet(this, _BaseAnthropic_encoder, "f").call(this, { body, headers });
+ }
+ }
+}
+_a = BaseAnthropic, _BaseAnthropic_encoder = new WeakMap();
+BaseAnthropic.Anthropic = _a;
+BaseAnthropic.HUMAN_PROMPT = '\n\nHuman:';
+BaseAnthropic.AI_PROMPT = '\n\nAssistant:';
+BaseAnthropic.DEFAULT_TIMEOUT = 600000; // 10 minutes
+BaseAnthropic.AnthropicError = Errors.AnthropicError;
+BaseAnthropic.APIError = Errors.APIError;
+BaseAnthropic.APIConnectionError = Errors.APIConnectionError;
+BaseAnthropic.APIConnectionTimeoutError = Errors.APIConnectionTimeoutError;
+BaseAnthropic.APIUserAbortError = Errors.APIUserAbortError;
+BaseAnthropic.NotFoundError = Errors.NotFoundError;
+BaseAnthropic.ConflictError = Errors.ConflictError;
+BaseAnthropic.RateLimitError = Errors.RateLimitError;
+BaseAnthropic.BadRequestError = Errors.BadRequestError;
+BaseAnthropic.AuthenticationError = Errors.AuthenticationError;
+BaseAnthropic.InternalServerError = Errors.InternalServerError;
+BaseAnthropic.PermissionDeniedError = Errors.PermissionDeniedError;
+BaseAnthropic.UnprocessableEntityError = Errors.UnprocessableEntityError;
+BaseAnthropic.toFile = Uploads.toFile;
+/**
+ * API Client for interfacing with the Anthropic API.
+ */
+export class Anthropic extends BaseAnthropic {
+ constructor() {
+ super(...arguments);
+ this.completions = new API.Completions(this);
+ this.messages = new API.Messages(this);
+ this.models = new API.Models(this);
+ this.beta = new API.Beta(this);
+ }
+}
+Anthropic.Completions = Completions;
+Anthropic.Messages = Messages;
+Anthropic.Models = Models;
+Anthropic.Beta = Beta;
+export const { HUMAN_PROMPT, AI_PROMPT } = Anthropic;
+//# sourceMappingURL=client.mjs.map
\ No newline at end of file
diff --git a/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/client.mjs.map b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/client.mjs.map
new file mode 100644
index 0000000000000000000000000000000000000000..2503468fab341cec36f5a8199771e6023dd0eb66
--- /dev/null
+++ b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/client.mjs.map
@@ -0,0 +1 @@
+{"version":3,"file":"client.mjs","sourceRoot":"","sources":["src/client.ts"],"names":[],"mappings":"AAAA,sFAAsF;;;OAI/E,EAAE,KAAK,EAAE;OACT,EAAE,uBAAuB,EAAE,aAAa,EAAE,QAAQ,EAAE;OACpD,EAAE,KAAK,EAAE;OACT,EAA8B,aAAa,EAAE;OAE7C,EAAE,WAAW,EAAE,YAAY,EAAE;OAE7B,EAAE,kBAAkB,EAAE;OACtB,KAAK,KAAK;OACV,KAAK,IAAI;OACT,EAAE,OAAO,EAAE;OACX,KAAK,MAAM;OACX,KAAK,UAAU;OAEf,KAAK,OAAO;OACZ,KAAK,GAAG;OACR,EAAE,UAAU,EAAE;OAEd,EAAE,kBAAkB,EAAE;OACtB,EAAgC,YAAY,EAAE;OAE9C,EAKL,WAAW,GACZ;OACM,EAAmE,MAAM,EAAE;OAC3E,EAAE,OAAO,EAAE;OACX,EAAE,oBAAoB,EAAE,SAAS,EAAE;OACnC,EAAE,UAAU,EAAE;OACd,EAEL,IAAI,GAYL;OACM,EAsCL,QAAQ,GAsDT;AAsFD,MAAM,OAAO,aAAa;IAgBxB;;;;;;;;;;;;;OAaG;IACH,YAAY,EACV,OAAO,GAAG,OAAO,CAAC,oBAAoB,CAAC,EACvC,MAAM,GAAG,OAAO,CAAC,mBAAmB,CAAC,IAAI,IAAI,EAC7C,SAAS,GAAG,OAAO,CAAC,sBAAsB,CAAC,IAAI,IAAI,EACnD,GAAG,IAAI,KACU,EAAE;QAvBrB,yCAA8B;QAwB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AA4B;AAC7C,2BAAa,GAAG,MAAM,CAAC,aAAa,AAAvB,CAAwB;AACrC,2BAAa,GAAG,MAAM,CAAC,aAAa,AAAvB,CAAwB;AACrC,4BAAc,GAAG,MAAM,CAAC,cAAc,AAAxB,CAAyB;AACvC,6BAAe,GAAG,MAAM,CAAC,eAAe,AAAzB,CAA0B;AACzC,iCAAmB,GAAG,MAAM,CAAC,mBAAmB,AAA7B,CAA8B;AACjD,iCAAmB,GAAG,MAAM,CAAC,mBAAmB,AAA7B,CAA8B;AACjD,mCAAqB,GAAG,MAAM,CAAC,qBAAqB,AAA/B,CAAgC;AACrD,sCAAwB,GAAG,MAAM,CAAC,wBAAwB,AAAlC,CAAmC;AAE3D,oBAAM,GAAG,OAAO,CAAC,MAAM,AAAjB,CAAkB;AAGjC;;GAEG;AACH,MAAM,OAAO,SAAU,SAAQ,aAAa;IAA5C;;QACE,gBAAW,GAAoB,IAAI,GAAG,CAAC,WAAW,CAAC,IAAI,CAAC,CAAC;QACzD,aAAQ,GAAiB,IAAI,GAAG,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC;QAChD,WAAM,GAAe,IAAI,GAAG,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;QAC1C,SAAI,GAAa,IAAI,GAAG,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IACtC,CAAC;CAAA;AACD,SAAS,CAAC,WAAW,GAAG,WAAW,CAAC;AACpC,SAAS,CAAC,QAAQ,GAAG,QAAQ,CAAC;AAC9B,SAAS,CAAC,MAAM,GAAG,MAAM,CAAC;AAC1B,SAAS,CAAC,IAAI,GAAG,IAAI,CAAC;AAiJtB,MAAM,CAAC,MAAM,EAAE,YAAY,EAAE,SAAS,EAAE,GAAG,SAAS,CAAC"}
\ No newline at end of file
diff --git a/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/core/api-promise.d.mts b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/core/api-promise.d.mts
new file mode 100644
index 0000000000000000000000000000000000000000..218dbec2eedddbde9e5897f975c0850fd13e1a80
--- /dev/null
+++ b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/core/api-promise.d.mts
@@ -0,0 +1,49 @@
+import { type BaseAnthropic } from "../client.mjs";
+import { type PromiseOrValue } from "../internal/types.mjs";
+import { type APIResponseProps, type WithRequestID } from "../internal/parse.mjs";
+/**
+ * A subclass of `Promise` providing additional helper methods
+ * for interacting with the SDK.
+ */
+export declare class APIPromise extends Promise> {
+ #private;
+ private responsePromise;
+ private parseResponse;
+ private parsedPromise;
+ constructor(client: BaseAnthropic, responsePromise: Promise, parseResponse?: (client: BaseAnthropic, props: APIResponseProps) => PromiseOrValue>);
+ _thenUnwrap(transform: (data: T, props: APIResponseProps) => U): APIPromise;
+ /**
+ * Gets the raw `Response` instance instead of parsing the response
+ * data.
+ *
+ * If you want to parse the response body but still get the `Response`
+ * instance, you can use {@link withResponse()}.
+ *
+ * π Getting the wrong TypeScript type for `Response`?
+ * Try setting `"moduleResolution": "NodeNext"` or add `"lib": ["DOM"]`
+ * to your `tsconfig.json`.
+ */
+ asResponse(): Promise;
+ /**
+ * Gets the parsed response data, the raw `Response` instance and the ID of the request,
+ * returned via the `request-id` header which is useful for debugging requests and resporting
+ * issues to Anthropic.
+ *
+ * If you just want to get the raw `Response` instance without parsing it,
+ * you can use {@link asResponse()}.
+ *
+ * π Getting the wrong TypeScript type for `Response`?
+ * Try setting `"moduleResolution": "NodeNext"` or add `"lib": ["DOM"]`
+ * to your `tsconfig.json`.
+ */
+ withResponse(): Promise<{
+ data: T;
+ response: Response;
+ request_id: string | null | undefined;
+ }>;
+ private parse;
+ then, TResult2 = never>(onfulfilled?: ((value: WithRequestID) => TResult1 | PromiseLike) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike) | undefined | null): Promise;
+ catch(onrejected?: ((reason: any) => TResult | PromiseLike) | undefined | null): Promise | TResult>;
+ finally(onfinally?: (() => void) | undefined | null): Promise>;
+}
+//# sourceMappingURL=api-promise.d.mts.map
\ No newline at end of file
diff --git a/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/core/api-promise.d.mts.map b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/core/api-promise.d.mts.map
new file mode 100644
index 0000000000000000000000000000000000000000..d000fea8d68cb590e32aa4dc4b929faf146b7027
--- /dev/null
+++ b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/core/api-promise.d.mts.map
@@ -0,0 +1 @@
+{"version":3,"file":"api-promise.d.mts","sourceRoot":"","sources":["../src/core/api-promise.ts"],"names":[],"mappings":"OAEO,EAAE,KAAK,aAAa,EAAE;OAEtB,EAAE,KAAK,cAAc,EAAE;OACvB,EACL,KAAK,gBAAgB,EACrB,KAAK,aAAa,EAGnB;AAED;;;GAGG;AACH,qBAAa,UAAU,CAAC,CAAC,CAAE,SAAQ,OAAO,CAAC,aAAa,CAAC,CAAC,CAAC,CAAC;;IAMxD,OAAO,CAAC,eAAe;IACvB,OAAO,CAAC,aAAa;IANvB,OAAO,CAAC,aAAa,CAAwC;gBAI3D,MAAM,EAAE,aAAa,EACb,eAAe,EAAE,OAAO,CAAC,gBAAgB,CAAC,EAC1C,aAAa,GAAE,CACrB,MAAM,EAAE,aAAa,EACrB,KAAK,EAAE,gBAAgB,KACpB,cAAc,CAAC,aAAa,CAAC,CAAC,CAAC,CAAwB;IAW9D,WAAW,CAAC,CAAC,EAAE,SAAS,EAAE,CAAC,IAAI,EAAE,CAAC,EAAE,KAAK,EAAE,gBAAgB,KAAK,CAAC,GAAG,UAAU,CAAC,CAAC,CAAC;IAMjF;;;;;;;;;;OAUG;IACH,UAAU,IAAI,OAAO,CAAC,QAAQ,CAAC;IAI/B;;;;;;;;;;;OAWG;IACG,YAAY,IAAI,OAAO,CAAC;QAAE,IAAI,EAAE,CAAC,CAAC;QAAC,QAAQ,EAAE,QAAQ,CAAC;QAAC,UAAU,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAA;KAAE,CAAC;IAKrG,OAAO,CAAC,KAAK;IASJ,IAAI,CAAC,QAAQ,GAAG,aAAa,CAAC,CAAC,CAAC,EAAE,QAAQ,GAAG,KAAK,EACzD,WAAW,CAAC,EAAE,CAAC,CAAC,KAAK,EAAE,aAAa,CAAC,CAAC,CAAC,KAAK,QAAQ,GAAG,WAAW,CAAC,QAAQ,CAAC,CAAC,GAAG,SAAS,GAAG,IAAI,EAChG,UAAU,CAAC,EAAE,CAAC,CAAC,MAAM,EAAE,GAAG,KAAK,QAAQ,GAAG,WAAW,CAAC,QAAQ,CAAC,CAAC,GAAG,SAAS,GAAG,IAAI,GAClF,OAAO,CAAC,QAAQ,GAAG,QAAQ,CAAC;IAItB,KAAK,CAAC,OAAO,GAAG,KAAK,EAC5B,UAAU,CAAC,EAAE,CAAC,CAAC,MAAM,EAAE,GAAG,KAAK,OAAO,GAAG,WAAW,CAAC,OAAO,CAAC,CAAC,GAAG,SAAS,GAAG,IAAI,GAChF,OAAO,CAAC,aAAa,CAAC,CAAC,CAAC,GAAG,OAAO,CAAC;IAI7B,OAAO,CAAC,SAAS,CAAC,EAAE,CAAC,MAAM,IAAI,CAAC,GAAG,SAAS,GAAG,IAAI,GAAG,OAAO,CAAC,aAAa,CAAC,CAAC,CAAC,CAAC;CAGzF"}
\ No newline at end of file
diff --git a/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/core/api-promise.d.ts b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/core/api-promise.d.ts
new file mode 100644
index 0000000000000000000000000000000000000000..bc02736bce6efd7e8fdec46bbfa01d9cf63929c6
--- /dev/null
+++ b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/core/api-promise.d.ts
@@ -0,0 +1,49 @@
+import { type BaseAnthropic } from "../client.js";
+import { type PromiseOrValue } from "../internal/types.js";
+import { type APIResponseProps, type WithRequestID } from "../internal/parse.js";
+/**
+ * A subclass of `Promise` providing additional helper methods
+ * for interacting with the SDK.
+ */
+export declare class APIPromise extends Promise> {
+ #private;
+ private responsePromise;
+ private parseResponse;
+ private parsedPromise;
+ constructor(client: BaseAnthropic, responsePromise: Promise, parseResponse?: (client: BaseAnthropic, props: APIResponseProps) => PromiseOrValue>);
+ _thenUnwrap(transform: (data: T, props: APIResponseProps) => U): APIPromise;
+ /**
+ * Gets the raw `Response` instance instead of parsing the response
+ * data.
+ *
+ * If you want to parse the response body but still get the `Response`
+ * instance, you can use {@link withResponse()}.
+ *
+ * π Getting the wrong TypeScript type for `Response`?
+ * Try setting `"moduleResolution": "NodeNext"` or add `"lib": ["DOM"]`
+ * to your `tsconfig.json`.
+ */
+ asResponse(): Promise;
+ /**
+ * Gets the parsed response data, the raw `Response` instance and the ID of the request,
+ * returned via the `request-id` header which is useful for debugging requests and resporting
+ * issues to Anthropic.
+ *
+ * If you just want to get the raw `Response` instance without parsing it,
+ * you can use {@link asResponse()}.
+ *
+ * π Getting the wrong TypeScript type for `Response`?
+ * Try setting `"moduleResolution": "NodeNext"` or add `"lib": ["DOM"]`
+ * to your `tsconfig.json`.
+ */
+ withResponse(): Promise<{
+ data: T;
+ response: Response;
+ request_id: string | null | undefined;
+ }>;
+ private parse;
+ then, TResult2 = never>(onfulfilled?: ((value: WithRequestID) => TResult1 | PromiseLike) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike) | undefined | null): Promise;
+ catch(onrejected?: ((reason: any) => TResult | PromiseLike) | undefined | null): Promise | TResult>;
+ finally(onfinally?: (() => void) | undefined | null): Promise>;
+}
+//# sourceMappingURL=api-promise.d.ts.map
\ No newline at end of file
diff --git a/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/core/api-promise.d.ts.map b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/core/api-promise.d.ts.map
new file mode 100644
index 0000000000000000000000000000000000000000..1a1a212897e26e330c7e2e8115d5014c06fab444
--- /dev/null
+++ b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/core/api-promise.d.ts.map
@@ -0,0 +1 @@
+{"version":3,"file":"api-promise.d.ts","sourceRoot":"","sources":["../src/core/api-promise.ts"],"names":[],"mappings":"OAEO,EAAE,KAAK,aAAa,EAAE;OAEtB,EAAE,KAAK,cAAc,EAAE;OACvB,EACL,KAAK,gBAAgB,EACrB,KAAK,aAAa,EAGnB;AAED;;;GAGG;AACH,qBAAa,UAAU,CAAC,CAAC,CAAE,SAAQ,OAAO,CAAC,aAAa,CAAC,CAAC,CAAC,CAAC;;IAMxD,OAAO,CAAC,eAAe;IACvB,OAAO,CAAC,aAAa;IANvB,OAAO,CAAC,aAAa,CAAwC;gBAI3D,MAAM,EAAE,aAAa,EACb,eAAe,EAAE,OAAO,CAAC,gBAAgB,CAAC,EAC1C,aAAa,GAAE,CACrB,MAAM,EAAE,aAAa,EACrB,KAAK,EAAE,gBAAgB,KACpB,cAAc,CAAC,aAAa,CAAC,CAAC,CAAC,CAAwB;IAW9D,WAAW,CAAC,CAAC,EAAE,SAAS,EAAE,CAAC,IAAI,EAAE,CAAC,EAAE,KAAK,EAAE,gBAAgB,KAAK,CAAC,GAAG,UAAU,CAAC,CAAC,CAAC;IAMjF;;;;;;;;;;OAUG;IACH,UAAU,IAAI,OAAO,CAAC,QAAQ,CAAC;IAI/B;;;;;;;;;;;OAWG;IACG,YAAY,IAAI,OAAO,CAAC;QAAE,IAAI,EAAE,CAAC,CAAC;QAAC,QAAQ,EAAE,QAAQ,CAAC;QAAC,UAAU,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAA;KAAE,CAAC;IAKrG,OAAO,CAAC,KAAK;IASJ,IAAI,CAAC,QAAQ,GAAG,aAAa,CAAC,CAAC,CAAC,EAAE,QAAQ,GAAG,KAAK,EACzD,WAAW,CAAC,EAAE,CAAC,CAAC,KAAK,EAAE,aAAa,CAAC,CAAC,CAAC,KAAK,QAAQ,GAAG,WAAW,CAAC,QAAQ,CAAC,CAAC,GAAG,SAAS,GAAG,IAAI,EAChG,UAAU,CAAC,EAAE,CAAC,CAAC,MAAM,EAAE,GAAG,KAAK,QAAQ,GAAG,WAAW,CAAC,QAAQ,CAAC,CAAC,GAAG,SAAS,GAAG,IAAI,GAClF,OAAO,CAAC,QAAQ,GAAG,QAAQ,CAAC;IAItB,KAAK,CAAC,OAAO,GAAG,KAAK,EAC5B,UAAU,CAAC,EAAE,CAAC,CAAC,MAAM,EAAE,GAAG,KAAK,OAAO,GAAG,WAAW,CAAC,OAAO,CAAC,CAAC,GAAG,SAAS,GAAG,IAAI,GAChF,OAAO,CAAC,aAAa,CAAC,CAAC,CAAC,GAAG,OAAO,CAAC;IAI7B,OAAO,CAAC,SAAS,CAAC,EAAE,CAAC,MAAM,IAAI,CAAC,GAAG,SAAS,GAAG,IAAI,GAAG,OAAO,CAAC,aAAa,CAAC,CAAC,CAAC,CAAC;CAGzF"}
\ No newline at end of file
diff --git a/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/core/api-promise.js b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/core/api-promise.js
new file mode 100644
index 0000000000000000000000000000000000000000..38f76482fe2f5f942adf773519f86634bdf3a19a
--- /dev/null
+++ b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/core/api-promise.js
@@ -0,0 +1,76 @@
+"use strict";
+// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
+var _APIPromise_client;
+Object.defineProperty(exports, "__esModule", { value: true });
+exports.APIPromise = void 0;
+const tslib_1 = require("../internal/tslib.js");
+const parse_1 = require("../internal/parse.js");
+/**
+ * A subclass of `Promise` providing additional helper methods
+ * for interacting with the SDK.
+ */
+class APIPromise extends Promise {
+ constructor(client, responsePromise, parseResponse = parse_1.defaultParseResponse) {
+ super((resolve) => {
+ // this is maybe a bit weird but this has to be a no-op to not implicitly
+ // parse the response body; instead .then, .catch, .finally are overridden
+ // to parse the response
+ resolve(null);
+ });
+ this.responsePromise = responsePromise;
+ this.parseResponse = parseResponse;
+ _APIPromise_client.set(this, void 0);
+ tslib_1.__classPrivateFieldSet(this, _APIPromise_client, client, "f");
+ }
+ _thenUnwrap(transform) {
+ return new APIPromise(tslib_1.__classPrivateFieldGet(this, _APIPromise_client, "f"), this.responsePromise, async (client, props) => (0, parse_1.addRequestID)(transform(await this.parseResponse(client, props), props), props.response));
+ }
+ /**
+ * Gets the raw `Response` instance instead of parsing the response
+ * data.
+ *
+ * If you want to parse the response body but still get the `Response`
+ * instance, you can use {@link withResponse()}.
+ *
+ * π Getting the wrong TypeScript type for `Response`?
+ * Try setting `"moduleResolution": "NodeNext"` or add `"lib": ["DOM"]`
+ * to your `tsconfig.json`.
+ */
+ asResponse() {
+ return this.responsePromise.then((p) => p.response);
+ }
+ /**
+ * Gets the parsed response data, the raw `Response` instance and the ID of the request,
+ * returned via the `request-id` header which is useful for debugging requests and resporting
+ * issues to Anthropic.
+ *
+ * If you just want to get the raw `Response` instance without parsing it,
+ * you can use {@link asResponse()}.
+ *
+ * π Getting the wrong TypeScript type for `Response`?
+ * Try setting `"moduleResolution": "NodeNext"` or add `"lib": ["DOM"]`
+ * to your `tsconfig.json`.
+ */
+ async withResponse() {
+ const [data, response] = await Promise.all([this.parse(), this.asResponse()]);
+ return { data, response, request_id: response.headers.get('request-id') };
+ }
+ parse() {
+ if (!this.parsedPromise) {
+ this.parsedPromise = this.responsePromise.then((data) => this.parseResponse(tslib_1.__classPrivateFieldGet(this, _APIPromise_client, "f"), data));
+ }
+ return this.parsedPromise;
+ }
+ then(onfulfilled, onrejected) {
+ return this.parse().then(onfulfilled, onrejected);
+ }
+ catch(onrejected) {
+ return this.parse().catch(onrejected);
+ }
+ finally(onfinally) {
+ return this.parse().finally(onfinally);
+ }
+}
+exports.APIPromise = APIPromise;
+_APIPromise_client = new WeakMap();
+//# sourceMappingURL=api-promise.js.map
\ No newline at end of file
diff --git a/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/core/api-promise.js.map b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/core/api-promise.js.map
new file mode 100644
index 0000000000000000000000000000000000000000..2cad468705b52fa2782efd692271c4a0ff0f038f
--- /dev/null
+++ b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/core/api-promise.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"api-promise.js","sourceRoot":"","sources":["../src/core/api-promise.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;;AAKtF,gDAK2B;AAE3B;;;GAGG;AACH,MAAa,UAAc,SAAQ,OAAyB;IAI1D,YACE,MAAqB,EACb,eAA0C,EAC1C,gBAGgC,4BAAoB;QAE5D,KAAK,CAAC,CAAC,OAAO,EAAE,EAAE;YAChB,yEAAyE;YACzE,0EAA0E;YAC1E,wBAAwB;YACxB,OAAO,CAAC,IAAW,CAAC,CAAC;QACvB,CAAC,CAAC,CAAC;QAXK,oBAAe,GAAf,eAAe,CAA2B;QAC1C,kBAAa,GAAb,aAAa,CAGuC;QAR9D,qCAAuB;QAgBrB,+BAAA,IAAI,sBAAW,MAAM,MAAA,CAAC;IACxB,CAAC;IAED,WAAW,CAAI,SAAkD;QAC/D,OAAO,IAAI,UAAU,CAAC,+BAAA,IAAI,0BAAQ,EAAE,IAAI,CAAC,eAAe,EAAE,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,CAChF,IAAA,oBAAY,EAAC,SAAS,CAAC,MAAM,IAAI,CAAC,aAAa,CAAC,MAAM,EAAE,KAAK,CAAC,EAAE,KAAK,CAAC,EAAE,KAAK,CAAC,QAAQ,CAAC,CACxF,CAAC;IACJ,CAAC;IAED;;;;;;;;;;OAUG;IACH,UAAU;QACR,OAAO,IAAI,CAAC,eAAe,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC;IACtD,CAAC;IAED;;;;;;;;;;;OAWG;IACH,KAAK,CAAC,YAAY;QAChB,MAAM,CAAC,IAAI,EAAE,QAAQ,CAAC,GAAG,MAAM,OAAO,CAAC,GAAG,CAAC,CAAC,IAAI,CAAC,KAAK,EAAE,EAAE,IAAI,CAAC,UAAU,EAAE,CAAC,CAAC,CAAC;QAC9E,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,UAAU,EAAE,QAAQ,CAAC,OAAO,CAAC,GAAG,CAAC,YAAY,CAAC,EAAE,CAAC;IAC5E,CAAC;IAEO,KAAK;QACX,IAAI,CAAC,IAAI,CAAC,aAAa,EAAE,CAAC;YACxB,IAAI,CAAC,aAAa,GAAG,IAAI,CAAC,eAAe,CAAC,IAAI,CAC5C,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,aAAa,CAAC,+BAAA,IAAI,0BAAQ,EAAE,IAAI,CAAqC,CACrF,CAAC;QACJ,CAAC;QACD,OAAO,IAAI,CAAC,aAAa,CAAC;IAC5B,CAAC;IAEQ,IAAI,CACX,WAAgG,EAChG,UAAmF;QAEnF,OAAO,IAAI,CAAC,KAAK,EAAE,CAAC,IAAI,CAAC,WAAW,EAAE,UAAU,CAAC,CAAC;IACpD,CAAC;IAEQ,KAAK,CACZ,UAAiF;QAEjF,OAAO,IAAI,CAAC,KAAK,EAAE,CAAC,KAAK,CAAC,UAAU,CAAC,CAAC;IACxC,CAAC;IAEQ,OAAO,CAAC,SAA2C;QAC1D,OAAO,IAAI,CAAC,KAAK,EAAE,CAAC,OAAO,CAAC,SAAS,CAAC,CAAC;IACzC,CAAC;CACF;AApFD,gCAoFC"}
\ No newline at end of file
diff --git a/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/core/api-promise.mjs b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/core/api-promise.mjs
new file mode 100644
index 0000000000000000000000000000000000000000..3d67649a3fbdb4fb965c4a38b32c7fd2ade7f095
--- /dev/null
+++ b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/core/api-promise.mjs
@@ -0,0 +1,72 @@
+// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
+var _APIPromise_client;
+import { __classPrivateFieldGet, __classPrivateFieldSet } from "../internal/tslib.mjs";
+import { defaultParseResponse, addRequestID, } from "../internal/parse.mjs";
+/**
+ * A subclass of `Promise` providing additional helper methods
+ * for interacting with the SDK.
+ */
+export class APIPromise extends Promise {
+ constructor(client, responsePromise, parseResponse = defaultParseResponse) {
+ super((resolve) => {
+ // this is maybe a bit weird but this has to be a no-op to not implicitly
+ // parse the response body; instead .then, .catch, .finally are overridden
+ // to parse the response
+ resolve(null);
+ });
+ this.responsePromise = responsePromise;
+ this.parseResponse = parseResponse;
+ _APIPromise_client.set(this, void 0);
+ __classPrivateFieldSet(this, _APIPromise_client, client, "f");
+ }
+ _thenUnwrap(transform) {
+ return new APIPromise(__classPrivateFieldGet(this, _APIPromise_client, "f"), this.responsePromise, async (client, props) => addRequestID(transform(await this.parseResponse(client, props), props), props.response));
+ }
+ /**
+ * Gets the raw `Response` instance instead of parsing the response
+ * data.
+ *
+ * If you want to parse the response body but still get the `Response`
+ * instance, you can use {@link withResponse()}.
+ *
+ * π Getting the wrong TypeScript type for `Response`?
+ * Try setting `"moduleResolution": "NodeNext"` or add `"lib": ["DOM"]`
+ * to your `tsconfig.json`.
+ */
+ asResponse() {
+ return this.responsePromise.then((p) => p.response);
+ }
+ /**
+ * Gets the parsed response data, the raw `Response` instance and the ID of the request,
+ * returned via the `request-id` header which is useful for debugging requests and resporting
+ * issues to Anthropic.
+ *
+ * If you just want to get the raw `Response` instance without parsing it,
+ * you can use {@link asResponse()}.
+ *
+ * π Getting the wrong TypeScript type for `Response`?
+ * Try setting `"moduleResolution": "NodeNext"` or add `"lib": ["DOM"]`
+ * to your `tsconfig.json`.
+ */
+ async withResponse() {
+ const [data, response] = await Promise.all([this.parse(), this.asResponse()]);
+ return { data, response, request_id: response.headers.get('request-id') };
+ }
+ parse() {
+ if (!this.parsedPromise) {
+ this.parsedPromise = this.responsePromise.then((data) => this.parseResponse(__classPrivateFieldGet(this, _APIPromise_client, "f"), data));
+ }
+ return this.parsedPromise;
+ }
+ then(onfulfilled, onrejected) {
+ return this.parse().then(onfulfilled, onrejected);
+ }
+ catch(onrejected) {
+ return this.parse().catch(onrejected);
+ }
+ finally(onfinally) {
+ return this.parse().finally(onfinally);
+ }
+}
+_APIPromise_client = new WeakMap();
+//# sourceMappingURL=api-promise.mjs.map
\ No newline at end of file
diff --git a/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/core/api-promise.mjs.map b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/core/api-promise.mjs.map
new file mode 100644
index 0000000000000000000000000000000000000000..c6f7e3fb7819993835abc8bb972afe61d0c2e2f3
--- /dev/null
+++ b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/core/api-promise.mjs.map
@@ -0,0 +1 @@
+{"version":3,"file":"api-promise.mjs","sourceRoot":"","sources":["../src/core/api-promise.ts"],"names":[],"mappings":"AAAA,sFAAsF;;;OAK/E,EAGL,oBAAoB,EACpB,YAAY,GACb;AAED;;;GAGG;AACH,MAAM,OAAO,UAAc,SAAQ,OAAyB;IAI1D,YACE,MAAqB,EACb,eAA0C,EAC1C,gBAGgC,oBAAoB;QAE5D,KAAK,CAAC,CAAC,OAAO,EAAE,EAAE;YAChB,yEAAyE;YACzE,0EAA0E;YAC1E,wBAAwB;YACxB,OAAO,CAAC,IAAW,CAAC,CAAC;QACvB,CAAC,CAAC,CAAC;QAXK,oBAAe,GAAf,eAAe,CAA2B;QAC1C,kBAAa,GAAb,aAAa,CAGuC;QAR9D,qCAAuB;QAgBrB,uBAAA,IAAI,sBAAW,MAAM,MAAA,CAAC;IACxB,CAAC;IAED,WAAW,CAAI,SAAkD;QAC/D,OAAO,IAAI,UAAU,CAAC,uBAAA,IAAI,0BAAQ,EAAE,IAAI,CAAC,eAAe,EAAE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EQ,OAAO,CAAC,SAA2C;QAC1D,OAAO,IAAI,CAAC,KAAK,EAAE,CAAC,OAAO,CAAC,SAAS,CAAC,CAAC;IACzC,CAAC;CACF"}
\ No newline at end of file
diff --git a/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/core/error.d.mts b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/core/error.d.mts
new file mode 100644
index 0000000000000000000000000000000000000000..b4825e26919182352841f8e52554e88f87fa77bc
--- /dev/null
+++ b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/core/error.d.mts
@@ -0,0 +1,47 @@
+export declare class AnthropicError extends Error {
+}
+export declare class APIError extends AnthropicError {
+ /** HTTP status for the response that caused the error */
+ readonly status: TStatus;
+ /** HTTP headers for the response that caused the error */
+ readonly headers: THeaders;
+ /** JSON body of the response that caused the error */
+ readonly error: TError;
+ readonly requestID: string | null | undefined;
+ constructor(status: TStatus, error: TError, message: string | undefined, headers: THeaders);
+ private static makeMessage;
+ static generate(status: number | undefined, errorResponse: Object | undefined, message: string | undefined, headers: Headers | undefined): APIError;
+}
+export declare class APIUserAbortError extends APIError {
+ constructor({ message }?: {
+ message?: string;
+ });
+}
+export declare class APIConnectionError extends APIError {
+ constructor({ message, cause }: {
+ message?: string | undefined;
+ cause?: Error | undefined;
+ });
+}
+export declare class APIConnectionTimeoutError extends APIConnectionError {
+ constructor({ message }?: {
+ message?: string;
+ });
+}
+export declare class BadRequestError extends APIError<400, Headers> {
+}
+export declare class AuthenticationError extends APIError<401, Headers> {
+}
+export declare class PermissionDeniedError extends APIError<403, Headers> {
+}
+export declare class NotFoundError extends APIError<404, Headers> {
+}
+export declare class ConflictError extends APIError<409, Headers> {
+}
+export declare class UnprocessableEntityError extends APIError<422, Headers> {
+}
+export declare class RateLimitError extends APIError<429, Headers> {
+}
+export declare class InternalServerError extends APIError {
+}
+//# sourceMappingURL=error.d.mts.map
\ No newline at end of file
diff --git a/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/core/error.d.mts.map b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/core/error.d.mts.map
new file mode 100644
index 0000000000000000000000000000000000000000..b61e7b9f1d2dd25f9ebb0a737df8ed37ded39cd3
--- /dev/null
+++ b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/core/error.d.mts.map
@@ -0,0 +1 @@
+{"version":3,"file":"error.d.mts","sourceRoot":"","sources":["../src/core/error.ts"],"names":[],"mappings":"AAIA,qBAAa,cAAe,SAAQ,KAAK;CAAG;AAE5C,qBAAa,QAAQ,CACnB,OAAO,SAAS,MAAM,GAAG,SAAS,GAAG,MAAM,GAAG,SAAS,EACvD,QAAQ,SAAS,OAAO,GAAG,SAAS,GAAG,OAAO,GAAG,SAAS,EAC1D,MAAM,SAAS,MAAM,GAAG,SAAS,GAAG,MAAM,GAAG,SAAS,CACtD,SAAQ,cAAc;IACtB,yDAAyD;IACzD,QAAQ,CAAC,MAAM,EAAE,OAAO,CAAC;IACzB,0DAA0D;IAC1D,QAAQ,CAAC,OAAO,EAAE,QAAQ,CAAC;IAC3B,sDAAsD;IACtD,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IAEvB,QAAQ,CAAC,SAAS,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;gBAElC,MAAM,EAAE,OAAO,EAAE,KAAK,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,GAAG,SAAS,EAAE,OAAO,EAAE,QAAQ;IAQ1F,OAAO,CAAC,MAAM,CAAC,WAAW;IAqB1B,MAAM,CAAC,QAAQ,CACb,MAAM,EAAE,MAAM,GAAG,SAAS,EAC1B,aAAa,EAAE,MAAM,GAAG,SAAS,EACjC,OAAO,EAAE,MAAM,GAAG,SAAS,EAC3B,OAAO,EAAE,OAAO,GAAG,SAAS,GAC3B,QAAQ;CAyCZ;AAED,qBAAa,iBAAkB,SAAQ,QAAQ,CAAC,SAAS,EAAE,SAAS,EAAE,SAAS,CAAC;gBAClE,EAAE,OAAO,EAAE,GAAE;QAAE,OAAO,CAAC,EAAE,MAAM,CAAA;KAAO;CAGnD;AAED,qBAAa,kBAAmB,SAAQ,QAAQ,CAAC,SAAS,EAAE,SAAS,EAAE,SAAS,CAAC;gBACnE,EAAE,OAAO,EAAE,KAAK,EAAE,EAAE;QAAE,OAAO,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;QAAC,KAAK,CAAC,EAAE,KAAK,GAAG,SAAS,CAAA;KAAE;CAM5F;AAED,qBAAa,yBAA0B,SAAQ,kBAAkB;gBACnD,EAAE,OAAO,EAAE,GAAE;QAAE,OAAO,CAAC,EAAE,MAAM,CAAA;KAAO;CAGnD;AAED,qBAAa,eAAgB,SAAQ,QAAQ,CAAC,GAAG,EAAE,OAAO,CAAC;CAAG;AAE9D,qBAAa,mBAAoB,SAAQ,QAAQ,CAAC,GAAG,EAAE,OAAO,CAAC;CAAG;AAElE,qBAAa,qBAAsB,SAAQ,QAAQ,CAAC,GAAG,EAAE,OAAO,CAAC;CAAG;AAEpE,qBAAa,aAAc,SAAQ,QAAQ,CAAC,GAAG,EAAE,OAAO,CAAC;CAAG;AAE5D,qBAAa,aAAc,SAAQ,QAAQ,CAAC,GAAG,EAAE,OAAO,CAAC;CAAG;AAE5D,qBAAa,wBAAyB,SAAQ,QAAQ,CAAC,GAAG,EAAE,OAAO,CAAC;CAAG;AAEvE,qBAAa,cAAe,SAAQ,QAAQ,CAAC,GAAG,EAAE,OAAO,CAAC;CAAG;AAE7D,qBAAa,mBAAoB,SAAQ,QAAQ,CAAC,MAAM,EAAE,OAAO,CAAC;CAAG"}
\ No newline at end of file
diff --git a/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/core/error.d.ts b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/core/error.d.ts
new file mode 100644
index 0000000000000000000000000000000000000000..13bc430e50dfe8c360a1add5a3daa037f555ed53
--- /dev/null
+++ b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/core/error.d.ts
@@ -0,0 +1,47 @@
+export declare class AnthropicError extends Error {
+}
+export declare class APIError extends AnthropicError {
+ /** HTTP status for the response that caused the error */
+ readonly status: TStatus;
+ /** HTTP headers for the response that caused the error */
+ readonly headers: THeaders;
+ /** JSON body of the response that caused the error */
+ readonly error: TError;
+ readonly requestID: string | null | undefined;
+ constructor(status: TStatus, error: TError, message: string | undefined, headers: THeaders);
+ private static makeMessage;
+ static generate(status: number | undefined, errorResponse: Object | undefined, message: string | undefined, headers: Headers | undefined): APIError;
+}
+export declare class APIUserAbortError extends APIError {
+ constructor({ message }?: {
+ message?: string;
+ });
+}
+export declare class APIConnectionError extends APIError {
+ constructor({ message, cause }: {
+ message?: string | undefined;
+ cause?: Error | undefined;
+ });
+}
+export declare class APIConnectionTimeoutError extends APIConnectionError {
+ constructor({ message }?: {
+ message?: string;
+ });
+}
+export declare class BadRequestError extends APIError<400, Headers> {
+}
+export declare class AuthenticationError extends APIError<401, Headers> {
+}
+export declare class PermissionDeniedError extends APIError<403, Headers> {
+}
+export declare class NotFoundError extends APIError<404, Headers> {
+}
+export declare class ConflictError extends APIError<409, Headers> {
+}
+export declare class UnprocessableEntityError extends APIError<422, Headers> {
+}
+export declare class RateLimitError extends APIError<429, Headers> {
+}
+export declare class InternalServerError extends APIError {
+}
+//# sourceMappingURL=error.d.ts.map
\ No newline at end of file
diff --git a/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/core/error.d.ts.map b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/core/error.d.ts.map
new file mode 100644
index 0000000000000000000000000000000000000000..2b6ddc83eb4999bbaf8f13ace341e8bbf6f01b4a
--- /dev/null
+++ b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/core/error.d.ts.map
@@ -0,0 +1 @@
+{"version":3,"file":"error.d.ts","sourceRoot":"","sources":["../src/core/error.ts"],"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,CAAA;KAAE;CAM5F;AAED,qBAAa,yBAA0B,SAAQ,kBAAkB;gBACnD,EAAE,OAAO,EAAE,GAAE;QAAE,OAAO,CAAC,EAAE,MAAM,CAAA;KAAO;CAGnD;AAED,qBAAa,eAAgB,SAAQ,QAAQ,CAAC,GAAG,EAAE,OAAO,CAAC;CAAG;AAE9D,qBAAa,mBAAoB,SAAQ,QAAQ,CAAC,GAAG,EAAE,OAAO,CAAC;CAAG;AAElE,qBAAa,qBAAsB,SAAQ,QAAQ,CAAC,GAAG,EAAE,OAAO,CAAC;CAAG;AAEpE,qBAAa,aAAc,SAAQ,QAAQ,CAAC,GAAG,EAAE,OAAO,CAAC;CAAG;AAE5D,qBAAa,aAAc,SAAQ,QAAQ,CAAC,GAAG,EAAE,OAAO,CAAC;CAAG;AAE5D,qBAAa,wBAAyB,SAAQ,QAAQ,CAAC,GAAG,EAAE,OAAO,CAAC;CAAG;AAEvE,qBAAa,cAAe,SAAQ,QAAQ,CAAC,GAAG,EAAE,OAAO,CAAC;CAAG;AAE7D,qBAAa,mBAAoB,SAAQ,QAAQ,CAAC,MAAM,EAAE,OAAO,CAAC;CAAG"}
\ No newline at end of file
diff --git a/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/core/error.js b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/core/error.js
new file mode 100644
index 0000000000000000000000000000000000000000..2ce1412798919820d41c3b4bed261cb8ea69d15b
--- /dev/null
+++ b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/core/error.js
@@ -0,0 +1,114 @@
+"use strict";
+// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
+Object.defineProperty(exports, "__esModule", { value: true });
+exports.InternalServerError = exports.RateLimitError = exports.UnprocessableEntityError = exports.ConflictError = exports.NotFoundError = exports.PermissionDeniedError = exports.AuthenticationError = exports.BadRequestError = exports.APIConnectionTimeoutError = exports.APIConnectionError = exports.APIUserAbortError = exports.APIError = exports.AnthropicError = void 0;
+const errors_1 = require("../internal/errors.js");
+class AnthropicError extends Error {
+}
+exports.AnthropicError = AnthropicError;
+class APIError extends AnthropicError {
+ constructor(status, error, message, headers) {
+ super(`${APIError.makeMessage(status, error, message)}`);
+ this.status = status;
+ this.headers = headers;
+ this.requestID = headers?.get('request-id');
+ this.error = error;
+ }
+ static makeMessage(status, error, message) {
+ const msg = error?.message ?
+ typeof error.message === 'string' ?
+ error.message
+ : JSON.stringify(error.message)
+ : error ? JSON.stringify(error)
+ : message;
+ if (status && msg) {
+ return `${status} ${msg}`;
+ }
+ if (status) {
+ return `${status} status code (no body)`;
+ }
+ if (msg) {
+ return msg;
+ }
+ return '(no status code or body)';
+ }
+ static generate(status, errorResponse, message, headers) {
+ if (!status || !headers) {
+ return new APIConnectionError({ message, cause: (0, errors_1.castToError)(errorResponse) });
+ }
+ const error = errorResponse;
+ if (status === 400) {
+ return new BadRequestError(status, error, message, headers);
+ }
+ if (status === 401) {
+ return new AuthenticationError(status, error, message, headers);
+ }
+ if (status === 403) {
+ return new PermissionDeniedError(status, error, message, headers);
+ }
+ if (status === 404) {
+ return new NotFoundError(status, error, message, headers);
+ }
+ if (status === 409) {
+ return new ConflictError(status, error, message, headers);
+ }
+ if (status === 422) {
+ return new UnprocessableEntityError(status, error, message, headers);
+ }
+ if (status === 429) {
+ return new RateLimitError(status, error, message, headers);
+ }
+ if (status >= 500) {
+ return new InternalServerError(status, error, message, headers);
+ }
+ return new APIError(status, error, message, headers);
+ }
+}
+exports.APIError = APIError;
+class APIUserAbortError extends APIError {
+ constructor({ message } = {}) {
+ super(undefined, undefined, message || 'Request was aborted.', undefined);
+ }
+}
+exports.APIUserAbortError = APIUserAbortError;
+class APIConnectionError extends APIError {
+ constructor({ message, cause }) {
+ super(undefined, undefined, message || 'Connection error.', undefined);
+ // in some environments the 'cause' property is already declared
+ // @ts-ignore
+ if (cause)
+ this.cause = cause;
+ }
+}
+exports.APIConnectionError = APIConnectionError;
+class APIConnectionTimeoutError extends APIConnectionError {
+ constructor({ message } = {}) {
+ super({ message: message ?? 'Request timed out.' });
+ }
+}
+exports.APIConnectionTimeoutError = APIConnectionTimeoutError;
+class BadRequestError extends APIError {
+}
+exports.BadRequestError = BadRequestError;
+class AuthenticationError extends APIError {
+}
+exports.AuthenticationError = AuthenticationError;
+class PermissionDeniedError extends APIError {
+}
+exports.PermissionDeniedError = PermissionDeniedError;
+class NotFoundError extends APIError {
+}
+exports.NotFoundError = NotFoundError;
+class ConflictError extends APIError {
+}
+exports.ConflictError = ConflictError;
+class UnprocessableEntityError extends APIError {
+}
+exports.UnprocessableEntityError = UnprocessableEntityError;
+class RateLimitError extends APIError {
+}
+exports.RateLimitError = RateLimitError;
+class InternalServerError extends APIError {
+}
+exports.InternalServerError = InternalServerError;
+//# sourceMappingURL=error.js.map
\ No newline at end of file
diff --git a/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/core/error.js.map b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/core/error.js.map
new file mode 100644
index 0000000000000000000000000000000000000000..bb8aa0eafeea95d6a3f766218a9612525c093af1
--- /dev/null
+++ b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/core/error.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"error.js","sourceRoot":"","sources":["../src/core/error.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAAiD;AAEjD,MAAa,cAAe,SAAQ,KAAK;CAAG;AAA5C,wCAA4C;AAE5C,MAAa,QAIX,SAAQ,cAAc;IAUtB,YAAY,MAAe,EAAE,KAAa,EAAE,OAA2B,EAAE,OAAiB;QACxF,KAAK,CAAC,GAAG,QAAQ,CAAC,WAAW,CAAC,MAAM,EAAE,KAAK,EAAE,OAAO,CAAC,EAAE,CAAC,CAAC;QACzD,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;QACrB,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAA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;CACF;AAJD,8CAIC;AAED,MAAa,kBAAmB,SAAQ,QAAyC;IAC/E,YAAY,EAAE,OAAO,EAAE,KAAK,EAA+D;QACzF,KAAK,CAAC,SAAS,EAAE,SAAS,EAAE,OAAO,IAAI,mBAAmB,EAAE,SAAS,CAAC,CAAC;QACvE,gEAAgE;QAChE,aAAa;QACb,IAAI,KAAK;YAAE,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;IAChC,CAAC;CACF;AAPD,gDAOC;AAED,MAAa,yBAA0B,SAAQ,kBAAkB;IAC/D,YAAY,EAAE,OAAO,KAA2B,EAAE;QAChD,KAAK,CAAC,EAAE,OAAO,EAAE,OAAO,IAAI,oBAAoB,EAAE,CAAC,CAAC;IACtD,CAAC;CACF;AAJD,8DAIC;AAED,MAAa,eAAgB,SAAQ,QAAsB;CAAG;AAA9D,0CAA8D;AAE9D,MAAa,mBAAoB,SAAQ,QAAsB;CAAG;AAAlE,kDAAkE;AAElE,MAAa,qBAAsB,SAAQ,QAAsB;CAAG;AAApE,sDAAoE;AAEpE,MAAa,aAAc,SAAQ,QAAsB;CAAG;AAA5D,sCAA4D;AAE5D,MAAa,aAAc,SAAQ,QAAsB;CAAG;AAA5D,sCAA4D;AAE5D,MAAa,wBAAyB,SAAQ,QAAsB;CAAG;AAAvE,4DAAuE;AAEvE,MAAa,cAAe,SAAQ,QAAsB;CAAG;AAA7D,wCAA6D;AAE7D,MAAa,mBAAoB,SAAQ,QAAyB;CAAG;AAArE,kDAAqE"}
\ No newline at end of file
diff --git a/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/core/error.mjs b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/core/error.mjs
new file mode 100644
index 0000000000000000000000000000000000000000..b2e189f8ca4a11f929acdabe2a2b016b3ffbdf14
--- /dev/null
+++ b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/core/error.mjs
@@ -0,0 +1,98 @@
+// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
+import { castToError } from "../internal/errors.mjs";
+export class AnthropicError extends Error {
+}
+export class APIError extends AnthropicError {
+ constructor(status, error, message, headers) {
+ super(`${APIError.makeMessage(status, error, message)}`);
+ this.status = status;
+ this.headers = headers;
+ this.requestID = headers?.get('request-id');
+ this.error = error;
+ }
+ static makeMessage(status, error, message) {
+ const msg = error?.message ?
+ typeof error.message === 'string' ?
+ error.message
+ : JSON.stringify(error.message)
+ : error ? JSON.stringify(error)
+ : message;
+ if (status && msg) {
+ return `${status} ${msg}`;
+ }
+ if (status) {
+ return `${status} status code (no body)`;
+ }
+ if (msg) {
+ return msg;
+ }
+ return '(no status code or body)';
+ }
+ static generate(status, errorResponse, message, headers) {
+ if (!status || !headers) {
+ return new APIConnectionError({ message, cause: castToError(errorResponse) });
+ }
+ const error = errorResponse;
+ if (status === 400) {
+ return new BadRequestError(status, error, message, headers);
+ }
+ if (status === 401) {
+ return new AuthenticationError(status, error, message, headers);
+ }
+ if (status === 403) {
+ return new PermissionDeniedError(status, error, message, headers);
+ }
+ if (status === 404) {
+ return new NotFoundError(status, error, message, headers);
+ }
+ if (status === 409) {
+ return new ConflictError(status, error, message, headers);
+ }
+ if (status === 422) {
+ return new UnprocessableEntityError(status, error, message, headers);
+ }
+ if (status === 429) {
+ return new RateLimitError(status, error, message, headers);
+ }
+ if (status >= 500) {
+ return new InternalServerError(status, error, message, headers);
+ }
+ return new APIError(status, error, message, headers);
+ }
+}
+export class APIUserAbortError extends APIError {
+ constructor({ message } = {}) {
+ super(undefined, undefined, message || 'Request was aborted.', undefined);
+ }
+}
+export class APIConnectionError extends APIError {
+ constructor({ message, cause }) {
+ super(undefined, undefined, message || 'Connection error.', undefined);
+ // in some environments the 'cause' property is already declared
+ // @ts-ignore
+ if (cause)
+ this.cause = cause;
+ }
+}
+export class APIConnectionTimeoutError extends APIConnectionError {
+ constructor({ message } = {}) {
+ super({ message: message ?? 'Request timed out.' });
+ }
+}
+export class BadRequestError extends APIError {
+}
+export class AuthenticationError extends APIError {
+}
+export class PermissionDeniedError extends APIError {
+}
+export class NotFoundError extends APIError {
+}
+export class ConflictError extends APIError {
+}
+export class UnprocessableEntityError extends APIError {
+}
+export class RateLimitError extends APIError {
+}
+export class InternalServerError extends APIError {
+}
+//# sourceMappingURL=error.mjs.map
\ No newline at end of file
diff --git a/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/core/error.mjs.map b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/core/error.mjs.map
new file mode 100644
index 0000000000000000000000000000000000000000..c90ca9e822c8732d9738abb213f82a52054ca1c8
--- /dev/null
+++ b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/core/error.mjs.map
@@ -0,0 +1 @@
+{"version":3,"file":"error.mjs","sourceRoot":"","sources":["../src/core/error.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;AAEtB,MAAM,OAAO,cAAe,SAAQ,KAAK;CAAG;AAE5C,MAAM,OAAO,QAIX,SAAQ,cAAc;IAUtB,YAAY,MAAe,EAAE,KAAa,EAAE,OAA2B,EAAE,OAAiB;QACxF,KAAK,CAAC,GAAG,QAAQ,CAAC,WAAW,CAAC,MAAM,EAAE,KAAK,EAAE,OAAO,CAAC,EAAE,CAAC,CAAC;QACzD,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;QACrB,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,SAAS,GAAG,OAAO,EAAE,GAAG,CAAC,YAAY,CAAC,CAAC;QAC5C,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;IACrB,CAAC;IAEO,MAAM,CAAC,WAAW,CAAC,MAA0B,EAAE,KAAU,EAAE,OAA2B;QAC5F,MAAM,GAAG,GACP,KAAK,EAAE,OAAO,CAAC,CAAC;YACd,OAAO,KAAK,CAAC,OAAO,KAAK,QAAQ,CAAC,CAAC;gBACjC,KAAK,CAA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kB;IAC/D,YAAY,EAAE,OAAO,KAA2B,EAAE;QAChD,KAAK,CAAC,EAAE,OAAO,EAAE,OAAO,IAAI,oBAAoB,EAAE,CAAC,CAAC;IACtD,CAAC;CACF;AAED,MAAM,OAAO,eAAgB,SAAQ,QAAsB;CAAG;AAE9D,MAAM,OAAO,mBAAoB,SAAQ,QAAsB;CAAG;AAElE,MAAM,OAAO,qBAAsB,SAAQ,QAAsB;CAAG;AAEpE,MAAM,OAAO,aAAc,SAAQ,QAAsB;CAAG;AAE5D,MAAM,OAAO,aAAc,SAAQ,QAAsB;CAAG;AAE5D,MAAM,OAAO,wBAAyB,SAAQ,QAAsB;CAAG;AAEvE,MAAM,OAAO,cAAe,SAAQ,QAAsB;CAAG;AAE7D,MAAM,OAAO,mBAAoB,SAAQ,QAAyB;CAAG"}
\ No newline at end of file
diff --git a/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/core/pagination.d.mts b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/core/pagination.d.mts
new file mode 100644
index 0000000000000000000000000000000000000000..209a0702f07f586eda2a20dfc4871597cef8678e
--- /dev/null
+++ b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/core/pagination.d.mts
@@ -0,0 +1,63 @@
+import { FinalRequestOptions } from "../internal/request-options.mjs";
+import { type BaseAnthropic } from "../client.mjs";
+import { APIPromise } from "./api-promise.mjs";
+import { type APIResponseProps } from "../internal/parse.mjs";
+export type PageRequestOptions = Pick;
+export declare abstract class AbstractPage
- implements AsyncIterable
- {
+ #private;
+ protected options: FinalRequestOptions;
+ protected response: Response;
+ protected body: unknown;
+ constructor(client: BaseAnthropic, response: Response, body: unknown, options: FinalRequestOptions);
+ abstract nextPageRequestOptions(): PageRequestOptions | null;
+ abstract getPaginatedItems(): Item[];
+ hasNextPage(): boolean;
+ getNextPage(): Promise;
+ iterPages(): AsyncGenerator;
+ [Symbol.asyncIterator](): AsyncGenerator
- ;
+}
+/**
+ * This subclass of Promise will resolve to an instantiated Page once the request completes.
+ *
+ * It also implements AsyncIterable to allow auto-paginating iteration on an unawaited list call, eg:
+ *
+ * for await (const item of client.items.list()) {
+ * console.log(item)
+ * }
+ */
+export declare class PagePromise, Item = ReturnType[number]> extends APIPromise implements AsyncIterable
- {
+ constructor(client: BaseAnthropic, request: Promise, Page: new (...args: ConstructorParameters) => PageClass);
+ /**
+ * Allow auto-paginating iteration on an unawaited list call, eg:
+ *
+ * for await (const item of client.items.list()) {
+ * console.log(item)
+ * }
+ */
+ [Symbol.asyncIterator](): AsyncGenerator
- ;
+}
+export interface PageResponse
- {
+ data: Array
- ;
+ has_more: boolean;
+ first_id: string | null;
+ last_id: string | null;
+}
+export interface PageParams {
+ /**
+ * Number of items per page.
+ */
+ limit?: number;
+ before_id?: string;
+ after_id?: string;
+}
+export declare class Page
- extends AbstractPage
- implements PageResponse
- {
+ data: Array
- ;
+ has_more: boolean;
+ first_id: string | null;
+ last_id: string | null;
+ constructor(client: BaseAnthropic, response: Response, body: PageResponse
- , options: FinalRequestOptions);
+ getPaginatedItems(): Item[];
+ hasNextPage(): boolean;
+ nextPageRequestOptions(): PageRequestOptions | null;
+}
+//# sourceMappingURL=pagination.d.mts.map
\ No newline at end of file
diff --git a/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/core/pagination.d.mts.map b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/core/pagination.d.mts.map
new file mode 100644
index 0000000000000000000000000000000000000000..aa4e39b383aacce2be1dbefb28b495f341eb6280
--- /dev/null
+++ b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/core/pagination.d.mts.map
@@ -0,0 +1 @@
+{"version":3,"file":"pagination.d.mts","sourceRoot":"","sources":["../src/core/pagination.ts"],"names":[],"mappings":"OAGO,EAAE,mBAAmB,EAAE;OAEvB,EAAE,KAAK,aAAa,EAAE;OACtB,EAAE,UAAU,EAAE;OACd,EAAE,KAAK,gBA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AY,CAAC,IAAI;IAChC,IAAI,EAAE,KAAK,CAAC,IAAI,CAAC,CAAC;IAElB,QAAQ,EAAE,OAAO,CAAC;IAElB,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;IAExB,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;CACxB;AAED,MAAM,WAAW,UAAU;IACzB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAED,qBAAa,IAAI,CAAC,IAAI,CAAE,SAAQ,YAAY,CAAC,IAAI,CAAE,YAAW,YAAY,CAAC,IAAI,CAAC;IAC9E,IAAI,EAAE,KAAK,CAAC,IAAI,CAAC,CAAC;IAElB,QAAQ,EAAE,OAAO,CAAC;IAElB,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;IAExB,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;gBAGrB,MAAM,EAAE,aAAa,EACrB,QAAQ,EAAE,QAAQ,EAClB,IAAI,EAAE,YAAY,CAAC,IAAI,CAAC,EACxB,OAAO,EAAE,mBAAmB;IAU9B,iBAAiB,IAAI,IAAI,EAAE;IAIlB,WAAW,IAAI,OAAO;IAQ/B,sBAAsB,IAAI,kBAAkB,GAAG,IAAI;CA8BpD"}
\ No newline at end of file
diff --git a/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/core/pagination.d.ts b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/core/pagination.d.ts
new file mode 100644
index 0000000000000000000000000000000000000000..8fd5d9db8b4895b7209abfaa85778bf409fc11ed
--- /dev/null
+++ b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/core/pagination.d.ts
@@ -0,0 +1,63 @@
+import { FinalRequestOptions } from "../internal/request-options.js";
+import { type BaseAnthropic } from "../client.js";
+import { APIPromise } from "./api-promise.js";
+import { type APIResponseProps } from "../internal/parse.js";
+export type PageRequestOptions = Pick;
+export declare abstract class AbstractPage
- implements AsyncIterable
- {
+ #private;
+ protected options: FinalRequestOptions;
+ protected response: Response;
+ protected body: unknown;
+ constructor(client: BaseAnthropic, response: Response, body: unknown, options: FinalRequestOptions);
+ abstract nextPageRequestOptions(): PageRequestOptions | null;
+ abstract getPaginatedItems(): Item[];
+ hasNextPage(): boolean;
+ getNextPage(): Promise;
+ iterPages(): AsyncGenerator;
+ [Symbol.asyncIterator](): AsyncGenerator
- ;
+}
+/**
+ * This subclass of Promise will resolve to an instantiated Page once the request completes.
+ *
+ * It also implements AsyncIterable to allow auto-paginating iteration on an unawaited list call, eg:
+ *
+ * for await (const item of client.items.list()) {
+ * console.log(item)
+ * }
+ */
+export declare class PagePromise, Item = ReturnType[number]> extends APIPromise implements AsyncIterable
- {
+ constructor(client: BaseAnthropic, request: Promise, Page: new (...args: ConstructorParameters) => PageClass);
+ /**
+ * Allow auto-paginating iteration on an unawaited list call, eg:
+ *
+ * for await (const item of client.items.list()) {
+ * console.log(item)
+ * }
+ */
+ [Symbol.asyncIterator](): AsyncGenerator
- ;
+}
+export interface PageResponse
- {
+ data: Array
- ;
+ has_more: boolean;
+ first_id: string | null;
+ last_id: string | null;
+}
+export interface PageParams {
+ /**
+ * Number of items per page.
+ */
+ limit?: number;
+ before_id?: string;
+ after_id?: string;
+}
+export declare class Page
- extends AbstractPage
- implements PageResponse
- {
+ data: Array
- ;
+ has_more: boolean;
+ first_id: string | null;
+ last_id: string | null;
+ constructor(client: BaseAnthropic, response: Response, body: PageResponse
- , options: FinalRequestOptions);
+ getPaginatedItems(): Item[];
+ hasNextPage(): boolean;
+ nextPageRequestOptions(): PageRequestOptions | null;
+}
+//# sourceMappingURL=pagination.d.ts.map
\ No newline at end of file
diff --git a/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/core/pagination.d.ts.map b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/core/pagination.d.ts.map
new file mode 100644
index 0000000000000000000000000000000000000000..f8e25d49bc1e20903536bb1df1d15f7df5e0f779
--- /dev/null
+++ b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/core/pagination.d.ts.map
@@ -0,0 +1 @@
+{"version":3,"file":"pagination.d.ts","sourceRoot":"","sources":["../src/core/pagination.ts"],"names":[],"mappings":"OAGO,EAAE,mBAAmB,EAAE;OAEvB,EAAE,KAAK,aAAa,EAAE;OACtB,EAAE,UAAU,EAAE;OACd,EAAE,KAAK,gBAAgB,EAAE;AAGhC,MAAM,MAAM,kBAAkB,GAAG,IAAI,CAAC,mBAAmB,EAAE,OAAO,GAAG,SAAS,GAAG,MAAM,GAAG,MAAM,GAAG,QAAQ,CAAC,CAAC;AAE7G,8BAAsB,YAAY,CAAC,IAAI,CAAE,YAAW,aAAa,CAAC,IAAI,CAAC;;IAErE,SAAS,CAAC,OAAO,EAAE,mBAAmB,CAAC;IAEvC,SAAS,CAAC,QAAQ,EAAE,QAAQ,CAAC;IAC7B,SAAS,CAAC,IAAI,EAAE,OAAO,CAAC;gBAEZ,MAAM,EAAE,aAAa,EAAE,QAAQ,EAAE,QAAQ,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,mBAAmB;IAOlG,QAAQ,CAAC,sBAAsB,IAAI,kBAAkB,GAAG,IAAI;IAE5D,QAAQ,CAAC,iBAAiB,IAAI,IAAI,EAAE;IAEpC,WAAW,IAAI,OAAO;IAMhB,WAAW,IAAI,OAAO,CAAC,IAAI,CAAC;IAW3B,SAAS,IAAI,cAAc,CAAC,IAAI,CAAC;IASjC,CAAC,MAAM,CAAC,aAAa,CAAC,IAAI,cAAc,CAAC,IAAI,CAAC;CAOtD;AAED;;;;;;;;GAQG;AACH,qBAAa,WAAW,CACpB,SAAS,SAAS,YAAY,CAAC,IAAI,CAAC,EACpC,IAAI,GAAG,UAAU,CAAC,SAAS,CAAC,mBAAmB,CAAC,CAAC,CAAC,MAAM,CAAC,CAE3D,SAAQ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js b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/core/pagination.js
new file mode 100644
index 0000000000000000000000000000000000000000..c46cfd326cb2254d9ca6c4556c3665d7b699ac06
--- /dev/null
+++ b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/core/pagination.js
@@ -0,0 +1,123 @@
+"use strict";
+// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
+var _AbstractPage_client;
+Object.defineProperty(exports, "__esModule", { value: true });
+exports.Page = exports.PagePromise = exports.AbstractPage = void 0;
+const tslib_1 = require("../internal/tslib.js");
+const error_1 = require("./error.js");
+const parse_1 = require("../internal/parse.js");
+const api_promise_1 = require("./api-promise.js");
+const values_1 = require("../internal/utils/values.js");
+class AbstractPage {
+ constructor(client, response, body, options) {
+ _AbstractPage_client.set(this, void 0);
+ tslib_1.__classPrivateFieldSet(this, _AbstractPage_client, client, "f");
+ this.options = options;
+ this.response = response;
+ this.body = body;
+ }
+ hasNextPage() {
+ const items = this.getPaginatedItems();
+ if (!items.length)
+ return false;
+ return this.nextPageRequestOptions() != null;
+ }
+ async getNextPage() {
+ const nextOptions = this.nextPageRequestOptions();
+ if (!nextOptions) {
+ throw new error_1.AnthropicError('No next page expected; please check `.hasNextPage()` before calling `.getNextPage()`.');
+ }
+ return await tslib_1.__classPrivateFieldGet(this, _AbstractPage_client, "f").requestAPIList(this.constructor, nextOptions);
+ }
+ async *iterPages() {
+ let page = this;
+ yield page;
+ while (page.hasNextPage()) {
+ page = await page.getNextPage();
+ yield page;
+ }
+ }
+ async *[(_AbstractPage_client = new WeakMap(), Symbol.asyncIterator)]() {
+ for await (const page of this.iterPages()) {
+ for (const item of page.getPaginatedItems()) {
+ yield item;
+ }
+ }
+ }
+}
+exports.AbstractPage = AbstractPage;
+/**
+ * This subclass of Promise will resolve to an instantiated Page once the request completes.
+ *
+ * It also implements AsyncIterable to allow auto-paginating iteration on an unawaited list call, eg:
+ *
+ * for await (const item of client.items.list()) {
+ * console.log(item)
+ * }
+ */
+class PagePromise extends api_promise_1.APIPromise {
+ constructor(client, request, Page) {
+ super(client, request, async (client, props) => new Page(client, props.response, await (0, parse_1.defaultParseResponse)(client, props), props.options));
+ }
+ /**
+ * Allow auto-paginating iteration on an unawaited list call, eg:
+ *
+ * for await (const item of client.items.list()) {
+ * console.log(item)
+ * }
+ */
+ async *[Symbol.asyncIterator]() {
+ const page = await this;
+ for await (const item of page) {
+ yield item;
+ }
+ }
+}
+exports.PagePromise = PagePromise;
+class Page extends AbstractPage {
+ constructor(client, response, body, options) {
+ super(client, response, body, options);
+ this.data = body.data || [];
+ this.has_more = body.has_more || false;
+ this.first_id = body.first_id || null;
+ this.last_id = body.last_id || null;
+ }
+ getPaginatedItems() {
+ return this.data ?? [];
+ }
+ hasNextPage() {
+ if (this.has_more === false) {
+ return false;
+ }
+ return super.hasNextPage();
+ }
+ nextPageRequestOptions() {
+ if (this.options.query?.['before_id']) {
+ // in reverse
+ const first_id = this.first_id;
+ if (!first_id) {
+ return null;
+ }
+ return {
+ ...this.options,
+ query: {
+ ...(0, values_1.maybeObj)(this.options.query),
+ before_id: first_id,
+ },
+ };
+ }
+ const cursor = this.last_id;
+ if (!cursor) {
+ return null;
+ }
+ return {
+ ...this.options,
+ query: {
+ ...(0, values_1.maybeObj)(this.options.query),
+ after_id: cursor,
+ },
+ };
+ }
+}
+exports.Page = Page;
+//# sourceMappingURL=pagination.js.map
\ No newline at end of file
diff --git a/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/core/pagination.js.map b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/core/pagination.js.map
new file mode 100644
index 0000000000000000000000000000000000000000..d1d93b017b590a1954f5bf58386274e7e508327b
--- /dev/null
+++ b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/core/pagination.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"pagination.js","sourceRoot":"","sources":["../src/core/pagination.ts"],"names":[],"mappings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B,CAAC;IAEQ,WAAW;QAClB,IAAI,IAAI,CAAC,QAAQ,KAAK,KAAK,EAAE,CAAC;YAC5B,OAAO,KAAK,CAAC;QACf,CAAC;QAED,OAAO,KAAK,CAAC,WAAW,EAAE,CAAC;IAC7B,CAAC;IAED,sBAAsB;QACpB,IAAK,IAAI,CAAC,OAAO,CAAC,KAAiC,EAAE,CAAC,WAAW,CAAC,EAAE,CAAC;YACnE,aAAa;YACb,MAAM,QAAQ,GAAG,IAAI,CAAC,QAAQ,CAAC;YAC/B,IAAI,CAAC,QAAQ,EAAE,CAAC;gBACd,OAAO,IAAI,CAAC;YACd,CAAC;YAED,OAAO;gBACL,GAAG,IAAI,CAAC,OAAO;gBACf,KAAK,EAAE;oBACL,GAAG,IAAA,iBAAQ,EAAC,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC;oBAC/B,SAAS,EAAE,QAAQ;iBACpB;aACF,CAAC;QACJ,CAAC;QAED,MAAM,MAAM,GAAG,IAAI,CAAC,OAAO,CAAC;QAC5B,IAAI,CAAC,MAAM,EAAE,CAAC;YACZ,OAAO,IAAI,CAAC;QACd,CAAC;QAED,OAAO;YACL,GAAG,IAAI,CAAC,OAAO;YACf,KAAK,EAAE;gBACL,GAAG,IAAA,iBAAQ,EAAC,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC;gBAC/B,QAAQ,EAAE,MAAM;aACjB;SACF,CAAC;IACJ,CAAC;CACF;AAjED,oBAiEC"}
\ No newline at end of file
diff --git a/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/core/pagination.mjs b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/core/pagination.mjs
new file mode 100644
index 0000000000000000000000000000000000000000..425937f0a2a5fc177866b479b1175f4a01c03600
--- /dev/null
+++ b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/core/pagination.mjs
@@ -0,0 +1,117 @@
+// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
+var _AbstractPage_client;
+import { __classPrivateFieldGet, __classPrivateFieldSet } from "../internal/tslib.mjs";
+import { AnthropicError } from "./error.mjs";
+import { defaultParseResponse } from "../internal/parse.mjs";
+import { APIPromise } from "./api-promise.mjs";
+import { maybeObj } from "../internal/utils/values.mjs";
+export class AbstractPage {
+ constructor(client, response, body, options) {
+ _AbstractPage_client.set(this, void 0);
+ __classPrivateFieldSet(this, _AbstractPage_client, client, "f");
+ this.options = options;
+ this.response = response;
+ this.body = body;
+ }
+ hasNextPage() {
+ const items = this.getPaginatedItems();
+ if (!items.length)
+ return false;
+ return this.nextPageRequestOptions() != null;
+ }
+ async getNextPage() {
+ const nextOptions = this.nextPageRequestOptions();
+ if (!nextOptions) {
+ throw new AnthropicError('No next page expected; please check `.hasNextPage()` before calling `.getNextPage()`.');
+ }
+ return await __classPrivateFieldGet(this, _AbstractPage_client, "f").requestAPIList(this.constructor, nextOptions);
+ }
+ async *iterPages() {
+ let page = this;
+ yield page;
+ while (page.hasNextPage()) {
+ page = await page.getNextPage();
+ yield page;
+ }
+ }
+ async *[(_AbstractPage_client = new WeakMap(), Symbol.asyncIterator)]() {
+ for await (const page of this.iterPages()) {
+ for (const item of page.getPaginatedItems()) {
+ yield item;
+ }
+ }
+ }
+}
+/**
+ * This subclass of Promise will resolve to an instantiated Page once the request completes.
+ *
+ * It also implements AsyncIterable to allow auto-paginating iteration on an unawaited list call, eg:
+ *
+ * for await (const item of client.items.list()) {
+ * console.log(item)
+ * }
+ */
+export class PagePromise extends APIPromise {
+ constructor(client, request, Page) {
+ super(client, request, async (client, props) => new Page(client, props.response, await defaultParseResponse(client, props), props.options));
+ }
+ /**
+ * Allow auto-paginating iteration on an unawaited list call, eg:
+ *
+ * for await (const item of client.items.list()) {
+ * console.log(item)
+ * }
+ */
+ async *[Symbol.asyncIterator]() {
+ const page = await this;
+ for await (const item of page) {
+ yield item;
+ }
+ }
+}
+export class Page extends AbstractPage {
+ constructor(client, response, body, options) {
+ super(client, response, body, options);
+ this.data = body.data || [];
+ this.has_more = body.has_more || false;
+ this.first_id = body.first_id || null;
+ this.last_id = body.last_id || null;
+ }
+ getPaginatedItems() {
+ return this.data ?? [];
+ }
+ hasNextPage() {
+ if (this.has_more === false) {
+ return false;
+ }
+ return super.hasNextPage();
+ }
+ nextPageRequestOptions() {
+ if (this.options.query?.['before_id']) {
+ // in reverse
+ const first_id = this.first_id;
+ if (!first_id) {
+ return null;
+ }
+ return {
+ ...this.options,
+ query: {
+ ...maybeObj(this.options.query),
+ before_id: first_id,
+ },
+ };
+ }
+ const cursor = this.last_id;
+ if (!cursor) {
+ return null;
+ }
+ return {
+ ...this.options,
+ query: {
+ ...maybeObj(this.options.query),
+ after_id: cursor,
+ },
+ };
+ }
+}
+//# sourceMappingURL=pagination.mjs.map
\ No newline at end of file
diff --git a/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/core/pagination.mjs.map b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/core/pagination.mjs.map
new file mode 100644
index 0000000000000000000000000000000000000000..6eab5d606fde0fb5410de1672b6d13683cec1a40
--- /dev/null
+++ b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/core/pagination.mjs.map
@@ -0,0 +1 @@
+{"version":3,"file":"pagination.mjs","sourceRoot":"","sources":["../src/core/pagination.ts"],"names":[],"mappings":"AAAA,sFAAsF;;;OAE/E,EAAE,cAAc,EAAE;OAElB,EAAE,oBAAoB,EAAiB;OAEvC,EAAE,UAAU,EAAE;OAEd,EAAE,QAAQ,EAAE;AAInB,MAAM,OAAgB,YAAY;IAOhC,YAAY,MAAqB,EAAE,QAAkB,EAAE,IAAa,EAAE,OAA4B;QANlG,uCAAuB;QAOrB,uBAAA,IAAI,wBAAW,MAAM,MAAA,CAAC;QACtB,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,QAAQ,GAAG,QAAQ,CAAC;QACzB,IAAI,CAAC,IAAI,GAAG,I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AO,IAAI,CAAC;YACd,CAAC;YAED,OAAO;gBACL,GAAG,IAAI,CAAC,OAAO;gBACf,KAAK,EAAE;oBACL,GAAG,QAAQ,CAAC,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC;oBAC/B,SAAS,EAAE,QAAQ;iBACpB;aACF,CAAC;QACJ,CAAC;QAED,MAAM,MAAM,GAAG,IAAI,CAAC,OAAO,CAAC;QAC5B,IAAI,CAAC,MAAM,EAAE,CAAC;YACZ,OAAO,IAAI,CAAC;QACd,CAAC;QAED,OAAO;YACL,GAAG,IAAI,CAAC,OAAO;YACf,KAAK,EAAE;gBACL,GAAG,QAAQ,CAAC,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC;gBAC/B,QAAQ,EAAE,MAAM;aACjB;SACF,CAAC;IACJ,CAAC;CACF"}
\ No newline at end of file
diff --git a/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/core/resource.d.mts b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/core/resource.d.mts
new file mode 100644
index 0000000000000000000000000000000000000000..820d0d81840746cd24d35e84ef4609cce58b2b32
--- /dev/null
+++ b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/core/resource.d.mts
@@ -0,0 +1,6 @@
+import { BaseAnthropic } from "../client.mjs";
+export declare class APIResource {
+ protected _client: BaseAnthropic;
+ constructor(client: BaseAnthropic);
+}
+//# sourceMappingURL=resource.d.mts.map
\ No newline at end of file
diff --git a/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/core/resource.d.mts.map b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/core/resource.d.mts.map
new file mode 100644
index 0000000000000000000000000000000000000000..2257ce9ed2044d36e455616a1b3858be271e58f4
--- /dev/null
+++ b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/core/resource.d.mts.map
@@ -0,0 +1 @@
+{"version":3,"file":"resource.d.mts","sourceRoot":"","sources":["../src/core/resource.ts"],"names":[],"mappings":"OAEO,EAAE,aAAa,EAAE;AAExB,qBAAa,WAAW;IACtB,SAAS,CAAC,OAAO,EAAE,aAAa,CAAC;gBAErB,MAAM,EAAE,aAAa;CAGlC"}
\ No newline at end of file
diff --git a/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/core/resource.d.ts b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/core/resource.d.ts
new file mode 100644
index 0000000000000000000000000000000000000000..a5487a42dabfcfa32057b5ce84c9252deee0365c
--- /dev/null
+++ b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/core/resource.d.ts
@@ -0,0 +1,6 @@
+import { BaseAnthropic } from "../client.js";
+export declare class APIResource {
+ protected _client: BaseAnthropic;
+ constructor(client: BaseAnthropic);
+}
+//# sourceMappingURL=resource.d.ts.map
\ No newline at end of file
diff --git a/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/core/resource.d.ts.map b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/core/resource.d.ts.map
new file mode 100644
index 0000000000000000000000000000000000000000..15cd56ac7ad226d1eeac3b393d297e0077cf2715
--- /dev/null
+++ b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/core/resource.d.ts.map
@@ -0,0 +1 @@
+{"version":3,"file":"resource.d.ts","sourceRoot":"","sources":["../src/core/resource.ts"],"names":[],"mappings":"OAEO,EAAE,aAAa,EAAE;AAExB,qBAAa,WAAW;IACtB,SAAS,CAAC,OAAO,EAAE,aAAa,CAAC;gBAErB,MAAM,EAAE,aAAa;CAGlC"}
\ No newline at end of file
diff --git a/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/core/resource.js b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/core/resource.js
new file mode 100644
index 0000000000000000000000000000000000000000..edccb482a6fd3bebc374ba12133cef050cf02704
--- /dev/null
+++ b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/core/resource.js
@@ -0,0 +1,11 @@
+"use strict";
+// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
+Object.defineProperty(exports, "__esModule", { value: true });
+exports.APIResource = void 0;
+class APIResource {
+ constructor(client) {
+ this._client = client;
+ }
+}
+exports.APIResource = APIResource;
+//# sourceMappingURL=resource.js.map
\ No newline at end of file
diff --git a/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/core/resource.js.map b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/core/resource.js.map
new file mode 100644
index 0000000000000000000000000000000000000000..136c798c7a0556e4f0757adb9c8b35b5eda03bb0
--- /dev/null
+++ b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/core/resource.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"resource.js","sourceRoot":"","sources":["../src/core/resource.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAItF,MAAa,WAAW;IAGtB,YAAY,MAAqB;QAC/B,IAAI,CAAC,OAAO,GAAG,MAAM,CAAC;IACxB,CAAC;CACF;AAND,kCAMC"}
\ No newline at end of file
diff --git a/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/core/resource.mjs b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/core/resource.mjs
new file mode 100644
index 0000000000000000000000000000000000000000..98ee0dc70a7b08c430bbc459f342952753844668
--- /dev/null
+++ b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/core/resource.mjs
@@ -0,0 +1,7 @@
+// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
+export class APIResource {
+ constructor(client) {
+ this._client = client;
+ }
+}
+//# sourceMappingURL=resource.mjs.map
\ No newline at end of file
diff --git a/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/core/resource.mjs.map b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/core/resource.mjs.map
new file mode 100644
index 0000000000000000000000000000000000000000..4e97db8a2ede2ddb266f324c205ee8804eddcb73
--- /dev/null
+++ b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/core/resource.mjs.map
@@ -0,0 +1 @@
+{"version":3,"file":"resource.mjs","sourceRoot":"","sources":["../src/core/resource.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAItF,MAAM,OAAO,WAAW;IAGtB,YAAY,MAAqB;QAC/B,IAAI,CAAC,OAAO,GAAG,MAAM,CAAC;IACxB,CAAC;CACF"}
\ No newline at end of file
diff --git a/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/core/streaming.d.mts b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/core/streaming.d.mts
new file mode 100644
index 0000000000000000000000000000000000000000..bfe6a8797589c90dee934af7b79c5d33e2595913
--- /dev/null
+++ b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/core/streaming.d.mts
@@ -0,0 +1,31 @@
+import { type ReadableStream } from "../internal/shim-types.mjs";
+export type ServerSentEvent = {
+ event: string | null;
+ data: string;
+ raw: string[];
+};
+export declare class Stream
- implements AsyncIterable
- {
+ private iterator;
+ controller: AbortController;
+ constructor(iterator: () => AsyncIterator
- , controller: AbortController);
+ static fromSSEResponse
- (response: Response, controller: AbortController): Stream
- ;
+ /**
+ * Generates a Stream from a newline-separated ReadableStream
+ * where each item is a JSON value.
+ */
+ static fromReadableStream
- (readableStream: ReadableStream, controller: AbortController): Stream
- ;
+ [Symbol.asyncIterator](): AsyncIterator
- ;
+ /**
+ * Splits the stream into two streams which can be
+ * independently read from at different speeds.
+ */
+ tee(): [Stream
- , Stream
- ];
+ /**
+ * Converts this stream to a newline-separated ReadableStream of
+ * JSON stringified values in the stream
+ * which can be turned back into a Stream with `Stream.fromReadableStream()`.
+ */
+ toReadableStream(): ReadableStream;
+}
+export declare function _iterSSEMessages(response: Response, controller: AbortController): AsyncGenerator;
+//# sourceMappingURL=streaming.d.mts.map
\ No newline at end of file
diff --git a/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/core/streaming.d.mts.map b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/core/streaming.d.mts.map
new file mode 100644
index 0000000000000000000000000000000000000000..fc916a8aedd8a8e0e518d3ddf5676c9ae9bffc6b
--- /dev/null
+++ b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/core/streaming.d.mts.map
@@ -0,0 +1 @@
+{"version":3,"file":"streaming.d.mts","sourceRoot":"","sources":["../src/core/streaming.ts"],"names":[],"mappings":"OACO,EAAE,KAAK,cAAc,EAAE;AAY9B,MAAM,MAAM,eAAe,GAAG;IAC5B,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,IAAI,EAAE,MAAM,CAAC;IACb,GAAG,EAAE,MAAM,EAAE,CAAC;CACf,CAAC;AAEF,qBAAa,MAAM,CAAC,IAAI,CAAE,YAAW,aAAa,CAAC,IAAI,CAAC;IAIpD,OAAO,CAAC,QAAQ;IAHlB,UAAU,EAAE,eAAe,CAAC;gBAGlB,QAAQ,EAAE,MAAM,aAAa,CAAC,IAAI,CAAC,EAC3C,UAAU,EAAE,eAAe;IAK7B,MAAM,CAAC,eAAe,CAAC,IAAI,EAAE,QAAQ,EAAE,QAAQ,EAAE,UAAU,EAAE,eAAe,GAAG,MAAM,CAAC,IAAI,CAAC;IA4D3F;;;OAGG;IACH,MAAM,CAAC,kBAAkB,CAAC,IAAI,EAAE,cAAc,EAAE,cAAc,EAAE,UAAU,EAAE,eAAe,GAAG,MAAM,CAAC,IAAI,CAAC;IA2C1G,CAAC,MAAM,CAAC,aAAa,CAAC,IAAI,aAAa,CAAC,IAAI,CAAC;IAI7C;;;OAGG;IACH,GAAG,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,EAAE,MAAM,CAAC,IAAI,CAAC,CAAC;IAwBnC;;;;OAIG;IACH,gBAAgB,IAAI,cAAc;CAyBnC;AAED,wBAAuB,gBAAgB,CACrC,QAAQ,EAAE,QAAQ,EAClB,UAAU,EAAE,eAAe,GAC1B,cAAc,CAAC,eAAe,EAAE,IAAI,EAAE,OAAO,CAAC,CA6BhD"}
\ No newline at end of file
diff --git a/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/core/streaming.d.ts b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/core/streaming.d.ts
new file mode 100644
index 0000000000000000000000000000000000000000..10c1323bebf4a38268a16fdbdfc6e6f804d327a2
--- /dev/null
+++ b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/core/streaming.d.ts
@@ -0,0 +1,31 @@
+import { type ReadableStream } from "../internal/shim-types.js";
+export type ServerSentEvent = {
+ event: string | null;
+ data: string;
+ raw: string[];
+};
+export declare class Stream
- implements AsyncIterable
- {
+ private iterator;
+ controller: AbortController;
+ constructor(iterator: () => AsyncIterator
- , controller: AbortController);
+ static fromSSEResponse
- (response: Response, controller: AbortController): Stream
- ;
+ /**
+ * Generates a Stream from a newline-separated ReadableStream
+ * where each item is a JSON value.
+ */
+ static fromReadableStream
- (readableStream: ReadableStream, controller: AbortController): Stream
- ;
+ [Symbol.asyncIterator](): AsyncIterator
- ;
+ /**
+ * Splits the stream into two streams which can be
+ * independently read from at different speeds.
+ */
+ tee(): [Stream
- , Stream
- ];
+ /**
+ * Converts this stream to a newline-separated ReadableStream of
+ * JSON stringified values in the stream
+ * which can be turned back into a Stream with `Stream.fromReadableStream()`.
+ */
+ toReadableStream(): ReadableStream;
+}
+export declare function _iterSSEMessages(response: Response, controller: AbortController): AsyncGenerator;
+//# sourceMappingURL=streaming.d.ts.map
\ No newline at end of file
diff --git a/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/core/streaming.d.ts.map b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/core/streaming.d.ts.map
new file mode 100644
index 0000000000000000000000000000000000000000..603a7ef552595b43dd2e10dad9664285d553da29
--- /dev/null
+++ b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/core/streaming.d.ts.map
@@ -0,0 +1 @@
+{"version":3,"file":"streaming.d.ts","sourceRoot":"","sources":["../src/core/streaming.ts"],"names":[],"mappings":"OACO,EAAE,KAAK,cAAc,EAAE;AAY9B,MAAM,MAAM,eAAe,GAAG;IAC5B,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,IAAI,EAAE,MAAM,CAAC;IACb,GAAG,EAAE,MAAM,EAAE,CAAC;CACf,CAAC;AAEF,qBAAa,MAAM,CAAC,IAAI,CAAE,YAAW,aAAa,CAAC,IAAI,CAAC;IAIpD,OAAO,CAAC,QAAQ;IAHlB,UAAU,EAAE,eAAe,CAAC;gBAGlB,QAAQ,EAAE,MAAM,aAAa,CAAC,IAAI,CAAC,EAC3C,UAAU,EAAE,eAAe;IAK7B,MAAM,CAAC,eAAe,CAAC,IAAI,EAAE,QAAQ,EAAE,QAAQ,EAAE,UAAU,EAAE,eAAe,GAAG,MAAM,CAAC,IAAI,CAAC;IA4D3F;;;OAGG;IACH,MAAM,CAAC,kBAAkB,CAAC,IAAI,EAAE,cAAc,EAAE,cAAc,EAAE,UAAU,EAAE,eAAe,GAAG,MAAM,CAAC,IAAI,CAAC;IA2C1G,CAAC,MAAM,CAAC,aAAa,CAAC,IAAI,aAAa,CAAC,IAAI,CAAC;IAI7C;;;OAGG;IACH,GAAG,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,EAAE,MAAM,CAAC,IAAI,CAAC,CAAC;IAwBnC;;;;OAIG;IACH,gBAAgB,IAAI,cAAc;CAyBnC;AAED,wBAAuB,gBAAgB,CACrC,QAAQ,EAAE,QAAQ,EAClB,UAAU,EAAE,eAAe,GAC1B,cAAc,CAAC,eAAe,EAAE,IAAI,EAAE,OAAO,CAAC,CA6BhD"}
\ No newline at end of file
diff --git a/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/core/streaming.js b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/core/streaming.js
new file mode 100644
index 0000000000000000000000000000000000000000..a6e5b745992e9593aa354da3665374db7cecf5be
--- /dev/null
+++ b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/core/streaming.js
@@ -0,0 +1,282 @@
+"use strict";
+Object.defineProperty(exports, "__esModule", { value: true });
+exports.Stream = void 0;
+exports._iterSSEMessages = _iterSSEMessages;
+const error_1 = require("./error.js");
+const shims_1 = require("../internal/shims.js");
+const line_1 = require("../internal/decoders/line.js");
+const shims_2 = require("../internal/shims.js");
+const errors_1 = require("../internal/errors.js");
+const values_1 = require("../internal/utils/values.js");
+const bytes_1 = require("../internal/utils/bytes.js");
+const error_2 = require("./error.js");
+class Stream {
+ constructor(iterator, controller) {
+ this.iterator = iterator;
+ this.controller = controller;
+ }
+ static fromSSEResponse(response, controller) {
+ let consumed = false;
+ async function* iterator() {
+ if (consumed) {
+ throw new error_1.AnthropicError('Cannot iterate over a consumed stream, use `.tee()` to split the stream.');
+ }
+ consumed = true;
+ let done = false;
+ try {
+ for await (const sse of _iterSSEMessages(response, controller)) {
+ if (sse.event === 'completion') {
+ try {
+ yield JSON.parse(sse.data);
+ }
+ catch (e) {
+ console.error(`Could not parse message into JSON:`, sse.data);
+ console.error(`From chunk:`, sse.raw);
+ throw e;
+ }
+ }
+ if (sse.event === 'message_start' ||
+ sse.event === 'message_delta' ||
+ sse.event === 'message_stop' ||
+ sse.event === 'content_block_start' ||
+ sse.event === 'content_block_delta' ||
+ sse.event === 'content_block_stop') {
+ try {
+ yield JSON.parse(sse.data);
+ }
+ catch (e) {
+ console.error(`Could not parse message into JSON:`, sse.data);
+ console.error(`From chunk:`, sse.raw);
+ throw e;
+ }
+ }
+ if (sse.event === 'ping') {
+ continue;
+ }
+ if (sse.event === 'error') {
+ throw new error_2.APIError(undefined, (0, values_1.safeJSON)(sse.data) ?? sse.data, undefined, response.headers);
+ }
+ }
+ done = true;
+ }
+ catch (e) {
+ // If the user calls `stream.controller.abort()`, we should exit without throwing.
+ if ((0, errors_1.isAbortError)(e))
+ return;
+ throw e;
+ }
+ finally {
+ // If the user `break`s, abort the ongoing request.
+ if (!done)
+ controller.abort();
+ }
+ }
+ return new Stream(iterator, controller);
+ }
+ /**
+ * Generates a Stream from a newline-separated ReadableStream
+ * where each item is a JSON value.
+ */
+ static fromReadableStream(readableStream, controller) {
+ let consumed = false;
+ async function* iterLines() {
+ const lineDecoder = new line_1.LineDecoder();
+ const iter = (0, shims_2.ReadableStreamToAsyncIterable)(readableStream);
+ for await (const chunk of iter) {
+ for (const line of lineDecoder.decode(chunk)) {
+ yield line;
+ }
+ }
+ for (const line of lineDecoder.flush()) {
+ yield line;
+ }
+ }
+ async function* iterator() {
+ if (consumed) {
+ throw new error_1.AnthropicError('Cannot iterate over a consumed stream, use `.tee()` to split the stream.');
+ }
+ consumed = true;
+ let done = false;
+ try {
+ for await (const line of iterLines()) {
+ if (done)
+ continue;
+ if (line)
+ yield JSON.parse(line);
+ }
+ done = true;
+ }
+ catch (e) {
+ // If the user calls `stream.controller.abort()`, we should exit without throwing.
+ if ((0, errors_1.isAbortError)(e))
+ return;
+ throw e;
+ }
+ finally {
+ // If the user `break`s, abort the ongoing request.
+ if (!done)
+ controller.abort();
+ }
+ }
+ return new Stream(iterator, controller);
+ }
+ [Symbol.asyncIterator]() {
+ return this.iterator();
+ }
+ /**
+ * Splits the stream into two streams which can be
+ * independently read from at different speeds.
+ */
+ tee() {
+ const left = [];
+ const right = [];
+ const iterator = this.iterator();
+ const teeIterator = (queue) => {
+ return {
+ next: () => {
+ if (queue.length === 0) {
+ const result = iterator.next();
+ left.push(result);
+ right.push(result);
+ }
+ return queue.shift();
+ },
+ };
+ };
+ return [
+ new Stream(() => teeIterator(left), this.controller),
+ new Stream(() => teeIterator(right), this.controller),
+ ];
+ }
+ /**
+ * Converts this stream to a newline-separated ReadableStream of
+ * JSON stringified values in the stream
+ * which can be turned back into a Stream with `Stream.fromReadableStream()`.
+ */
+ toReadableStream() {
+ const self = this;
+ let iter;
+ return (0, shims_1.makeReadableStream)({
+ async start() {
+ iter = self[Symbol.asyncIterator]();
+ },
+ async pull(ctrl) {
+ try {
+ const { value, done } = await iter.next();
+ if (done)
+ return ctrl.close();
+ const bytes = (0, bytes_1.encodeUTF8)(JSON.stringify(value) + '\n');
+ ctrl.enqueue(bytes);
+ }
+ catch (err) {
+ ctrl.error(err);
+ }
+ },
+ async cancel() {
+ await iter.return?.();
+ },
+ });
+ }
+}
+exports.Stream = Stream;
+async function* _iterSSEMessages(response, controller) {
+ if (!response.body) {
+ controller.abort();
+ if (typeof globalThis.navigator !== 'undefined' &&
+ globalThis.navigator.product === 'ReactNative') {
+ throw new error_1.AnthropicError(`The default react-native fetch implementation does not support streaming. Please use expo/fetch: https://docs.expo.dev/versions/latest/sdk/expo/#expofetch-api`);
+ }
+ throw new error_1.AnthropicError(`Attempted to iterate over a response with no body`);
+ }
+ const sseDecoder = new SSEDecoder();
+ const lineDecoder = new line_1.LineDecoder();
+ const iter = (0, shims_2.ReadableStreamToAsyncIterable)(response.body);
+ for await (const sseChunk of iterSSEChunks(iter)) {
+ for (const line of lineDecoder.decode(sseChunk)) {
+ const sse = sseDecoder.decode(line);
+ if (sse)
+ yield sse;
+ }
+ }
+ for (const line of lineDecoder.flush()) {
+ const sse = sseDecoder.decode(line);
+ if (sse)
+ yield sse;
+ }
+}
+/**
+ * Given an async iterable iterator, iterates over it and yields full
+ * SSE chunks, i.e. yields when a double new-line is encountered.
+ */
+async function* iterSSEChunks(iterator) {
+ let data = new Uint8Array();
+ for await (const chunk of iterator) {
+ if (chunk == null) {
+ continue;
+ }
+ const binaryChunk = chunk instanceof ArrayBuffer ? new Uint8Array(chunk)
+ : typeof chunk === 'string' ? (0, bytes_1.encodeUTF8)(chunk)
+ : chunk;
+ let newData = new Uint8Array(data.length + binaryChunk.length);
+ newData.set(data);
+ newData.set(binaryChunk, data.length);
+ data = newData;
+ let patternIndex;
+ while ((patternIndex = (0, line_1.findDoubleNewlineIndex)(data)) !== -1) {
+ yield data.slice(0, patternIndex);
+ data = data.slice(patternIndex);
+ }
+ }
+ if (data.length > 0) {
+ yield data;
+ }
+}
+class SSEDecoder {
+ constructor() {
+ this.event = null;
+ this.data = [];
+ this.chunks = [];
+ }
+ decode(line) {
+ if (line.endsWith('\r')) {
+ line = line.substring(0, line.length - 1);
+ }
+ if (!line) {
+ // empty line and we didn't previously encounter any messages
+ if (!this.event && !this.data.length)
+ return null;
+ const sse = {
+ event: this.event,
+ data: this.data.join('\n'),
+ raw: this.chunks,
+ };
+ this.event = null;
+ this.data = [];
+ this.chunks = [];
+ return sse;
+ }
+ this.chunks.push(line);
+ if (line.startsWith(':')) {
+ return null;
+ }
+ let [fieldname, _, value] = partition(line, ':');
+ if (value.startsWith(' ')) {
+ value = value.substring(1);
+ }
+ if (fieldname === 'event') {
+ this.event = value;
+ }
+ else if (fieldname === 'data') {
+ this.data.push(value);
+ }
+ return null;
+ }
+}
+function partition(str, delimiter) {
+ const index = str.indexOf(delimiter);
+ if (index !== -1) {
+ return [str.substring(0, index), delimiter, str.substring(index + delimiter.length)];
+ }
+ return [str, '', ''];
+}
+//# sourceMappingURL=streaming.js.map
\ No newline at end of file
diff --git a/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/core/streaming.js.map b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/core/streaming.js.map
new file mode 100644
index 0000000000000000000000000000000000000000..6113a9b911772e41bcabb555fdda06f6b2574bf3
--- /dev/null
+++ b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/core/streaming.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"streaming.js","sourceRoot":"","sources":["../src/core/streaming.ts"],"names":[],"mappings":";;;AAwMA,4CAgCC;AAxOD,sCAAyC;AAEzC,gDAAuD;AACvD,uDAAgF;AACh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AAC,CAAC,CAAC;QAC7B,CAAC;QAED,IAAI,SAAS,KAAK,OAAO,EAAE,CAAC;YAC1B,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;QACrB,CAAC;aAAM,IAAI,SAAS,KAAK,MAAM,EAAE,CAAC;YAChC,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;QACxB,CAAC;QAED,OAAO,IAAI,CAAC;IACd,CAAC;CACF;AAED,SAAS,SAAS,CAAC,GAAW,EAAE,SAAiB;IAC/C,MAAM,KAAK,GAAG,GAAG,CAAC,OAAO,CAAC,SAAS,CAAC,CAAC;IACrC,IAAI,KAAK,KAAK,CAAC,CAAC,EAAE,CAAC;QACjB,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC,EAAE,KAAK,CAAC,EAAE,SAAS,EAAE,GAAG,CAAC,SAAS,CAAC,KAAK,GAAG,SAAS,CAAC,MAAM,CAAC,CAAC,CAAC;IACvF,CAAC;IAED,OAAO,CAAC,GAAG,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;AACvB,CAAC"}
\ No newline at end of file
diff --git a/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/core/streaming.mjs b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/core/streaming.mjs
new file mode 100644
index 0000000000000000000000000000000000000000..dc86d56bb5603df2d5efc6eb1c9c3492dcf3bccf
--- /dev/null
+++ b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/core/streaming.mjs
@@ -0,0 +1,277 @@
+import { AnthropicError } from "./error.mjs";
+import { makeReadableStream } from "../internal/shims.mjs";
+import { findDoubleNewlineIndex, LineDecoder } from "../internal/decoders/line.mjs";
+import { ReadableStreamToAsyncIterable } from "../internal/shims.mjs";
+import { isAbortError } from "../internal/errors.mjs";
+import { safeJSON } from "../internal/utils/values.mjs";
+import { encodeUTF8 } from "../internal/utils/bytes.mjs";
+import { APIError } from "./error.mjs";
+export class Stream {
+ constructor(iterator, controller) {
+ this.iterator = iterator;
+ this.controller = controller;
+ }
+ static fromSSEResponse(response, controller) {
+ let consumed = false;
+ async function* iterator() {
+ if (consumed) {
+ throw new AnthropicError('Cannot iterate over a consumed stream, use `.tee()` to split the stream.');
+ }
+ consumed = true;
+ let done = false;
+ try {
+ for await (const sse of _iterSSEMessages(response, controller)) {
+ if (sse.event === 'completion') {
+ try {
+ yield JSON.parse(sse.data);
+ }
+ catch (e) {
+ console.error(`Could not parse message into JSON:`, sse.data);
+ console.error(`From chunk:`, sse.raw);
+ throw e;
+ }
+ }
+ if (sse.event === 'message_start' ||
+ sse.event === 'message_delta' ||
+ sse.event === 'message_stop' ||
+ sse.event === 'content_block_start' ||
+ sse.event === 'content_block_delta' ||
+ sse.event === 'content_block_stop') {
+ try {
+ yield JSON.parse(sse.data);
+ }
+ catch (e) {
+ console.error(`Could not parse message into JSON:`, sse.data);
+ console.error(`From chunk:`, sse.raw);
+ throw e;
+ }
+ }
+ if (sse.event === 'ping') {
+ continue;
+ }
+ if (sse.event === 'error') {
+ throw new APIError(undefined, safeJSON(sse.data) ?? sse.data, undefined, response.headers);
+ }
+ }
+ done = true;
+ }
+ catch (e) {
+ // If the user calls `stream.controller.abort()`, we should exit without throwing.
+ if (isAbortError(e))
+ return;
+ throw e;
+ }
+ finally {
+ // If the user `break`s, abort the ongoing request.
+ if (!done)
+ controller.abort();
+ }
+ }
+ return new Stream(iterator, controller);
+ }
+ /**
+ * Generates a Stream from a newline-separated ReadableStream
+ * where each item is a JSON value.
+ */
+ static fromReadableStream(readableStream, controller) {
+ let consumed = false;
+ async function* iterLines() {
+ const lineDecoder = new LineDecoder();
+ const iter = ReadableStreamToAsyncIterable(readableStream);
+ for await (const chunk of iter) {
+ for (const line of lineDecoder.decode(chunk)) {
+ yield line;
+ }
+ }
+ for (const line of lineDecoder.flush()) {
+ yield line;
+ }
+ }
+ async function* iterator() {
+ if (consumed) {
+ throw new AnthropicError('Cannot iterate over a consumed stream, use `.tee()` to split the stream.');
+ }
+ consumed = true;
+ let done = false;
+ try {
+ for await (const line of iterLines()) {
+ if (done)
+ continue;
+ if (line)
+ yield JSON.parse(line);
+ }
+ done = true;
+ }
+ catch (e) {
+ // If the user calls `stream.controller.abort()`, we should exit without throwing.
+ if (isAbortError(e))
+ return;
+ throw e;
+ }
+ finally {
+ // If the user `break`s, abort the ongoing request.
+ if (!done)
+ controller.abort();
+ }
+ }
+ return new Stream(iterator, controller);
+ }
+ [Symbol.asyncIterator]() {
+ return this.iterator();
+ }
+ /**
+ * Splits the stream into two streams which can be
+ * independently read from at different speeds.
+ */
+ tee() {
+ const left = [];
+ const right = [];
+ const iterator = this.iterator();
+ const teeIterator = (queue) => {
+ return {
+ next: () => {
+ if (queue.length === 0) {
+ const result = iterator.next();
+ left.push(result);
+ right.push(result);
+ }
+ return queue.shift();
+ },
+ };
+ };
+ return [
+ new Stream(() => teeIterator(left), this.controller),
+ new Stream(() => teeIterator(right), this.controller),
+ ];
+ }
+ /**
+ * Converts this stream to a newline-separated ReadableStream of
+ * JSON stringified values in the stream
+ * which can be turned back into a Stream with `Stream.fromReadableStream()`.
+ */
+ toReadableStream() {
+ const self = this;
+ let iter;
+ return makeReadableStream({
+ async start() {
+ iter = self[Symbol.asyncIterator]();
+ },
+ async pull(ctrl) {
+ try {
+ const { value, done } = await iter.next();
+ if (done)
+ return ctrl.close();
+ const bytes = encodeUTF8(JSON.stringify(value) + '\n');
+ ctrl.enqueue(bytes);
+ }
+ catch (err) {
+ ctrl.error(err);
+ }
+ },
+ async cancel() {
+ await iter.return?.();
+ },
+ });
+ }
+}
+export async function* _iterSSEMessages(response, controller) {
+ if (!response.body) {
+ controller.abort();
+ if (typeof globalThis.navigator !== 'undefined' &&
+ globalThis.navigator.product === 'ReactNative') {
+ throw new AnthropicError(`The default react-native fetch implementation does not support streaming. Please use expo/fetch: https://docs.expo.dev/versions/latest/sdk/expo/#expofetch-api`);
+ }
+ throw new AnthropicError(`Attempted to iterate over a response with no body`);
+ }
+ const sseDecoder = new SSEDecoder();
+ const lineDecoder = new LineDecoder();
+ const iter = ReadableStreamToAsyncIterable(response.body);
+ for await (const sseChunk of iterSSEChunks(iter)) {
+ for (const line of lineDecoder.decode(sseChunk)) {
+ const sse = sseDecoder.decode(line);
+ if (sse)
+ yield sse;
+ }
+ }
+ for (const line of lineDecoder.flush()) {
+ const sse = sseDecoder.decode(line);
+ if (sse)
+ yield sse;
+ }
+}
+/**
+ * Given an async iterable iterator, iterates over it and yields full
+ * SSE chunks, i.e. yields when a double new-line is encountered.
+ */
+async function* iterSSEChunks(iterator) {
+ let data = new Uint8Array();
+ for await (const chunk of iterator) {
+ if (chunk == null) {
+ continue;
+ }
+ const binaryChunk = chunk instanceof ArrayBuffer ? new Uint8Array(chunk)
+ : typeof chunk === 'string' ? encodeUTF8(chunk)
+ : chunk;
+ let newData = new Uint8Array(data.length + binaryChunk.length);
+ newData.set(data);
+ newData.set(binaryChunk, data.length);
+ data = newData;
+ let patternIndex;
+ while ((patternIndex = findDoubleNewlineIndex(data)) !== -1) {
+ yield data.slice(0, patternIndex);
+ data = data.slice(patternIndex);
+ }
+ }
+ if (data.length > 0) {
+ yield data;
+ }
+}
+class SSEDecoder {
+ constructor() {
+ this.event = null;
+ this.data = [];
+ this.chunks = [];
+ }
+ decode(line) {
+ if (line.endsWith('\r')) {
+ line = line.substring(0, line.length - 1);
+ }
+ if (!line) {
+ // empty line and we didn't previously encounter any messages
+ if (!this.event && !this.data.length)
+ return null;
+ const sse = {
+ event: this.event,
+ data: this.data.join('\n'),
+ raw: this.chunks,
+ };
+ this.event = null;
+ this.data = [];
+ this.chunks = [];
+ return sse;
+ }
+ this.chunks.push(line);
+ if (line.startsWith(':')) {
+ return null;
+ }
+ let [fieldname, _, value] = partition(line, ':');
+ if (value.startsWith(' ')) {
+ value = value.substring(1);
+ }
+ if (fieldname === 'event') {
+ this.event = value;
+ }
+ else if (fieldname === 'data') {
+ this.data.push(value);
+ }
+ return null;
+ }
+}
+function partition(str, delimiter) {
+ const index = str.indexOf(delimiter);
+ if (index !== -1) {
+ return [str.substring(0, index), delimiter, str.substring(index + delimiter.length)];
+ }
+ return [str, '', ''];
+}
+//# sourceMappingURL=streaming.mjs.map
\ No newline at end of file
diff --git a/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/core/streaming.mjs.map b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/core/streaming.mjs.map
new file mode 100644
index 0000000000000000000000000000000000000000..30810d09a848b76e1211a4430bc4f34d400d4c81
--- /dev/null
+++ b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/core/streaming.mjs.map
@@ -0,0 +1 @@
+{"version":3,"file":"streaming.mjs","sourceRoot":"","sources":["../src/core/streaming.ts"],"names":[],"mappings":"OAAO,EAAE,cAAc,EAAE;OAElB,EAAE,kBAAkB,EAAE;OACtB,EAAE,sBAAsB,EAAE,WAAW,EAAE;OACvC,EAAE,6BAA6B,EAAE;OACjC,EAAE,YAAY,EAAE;OAChB,EAAE,QAAQ,EAAE;OACZ,EAAE,UAAU,EAAE;OAEd,EAAE,QAAQ,EAAE;AAUnB,MAAM,OAAO,MAAM;IAGjB,YACU,QAAmC,EAC3C,UAA2B;QADnB,aAAQ,GAAR,QAAQ,CAA2B;QAG3C,IAAI,CAAC,UAAU,GAAG,UAAU,CAAC;IAC/B,CAAC;IAED,MAAM,CAAC,eAAe,CAAO,QAAkB,EAAE,UAA2B;QAC1E,IAAI,QAAQ,GAAG,KAAK,CAAC;QAErB,KAAK,SAAS,CAAC,CAAC,QAAQ;YACtB,IAAI,QAAQ,EAAE,CAAC;gBACb,MAAM,IAAI,cAAc,CAAC,0EAA0E,CAAC,CAAC;YACvG,CAAC;YACD,QAAQ,GAAG,IAAI,CAAC;YAChB,IAAI,IAAI,GAAG,KAAK,CAAC;YACjB,IAAI,CAAC;gBACH,IAAI,KAAK,EAAE,MAAM,GAAG,IAAI,gBAAgB,CAAC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E,EAAE,CAAC,CAAC;AACvB,CAAC"}
\ No newline at end of file
diff --git a/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/core/uploads.d.mts b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/core/uploads.d.mts
new file mode 100644
index 0000000000000000000000000000000000000000..df2209db2a363aa9e7624bc6d3accf7fc120a7bf
--- /dev/null
+++ b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/core/uploads.d.mts
@@ -0,0 +1,3 @@
+export { type Uploadable } from "../internal/uploads.mjs";
+export { toFile, type ToFileInput } from "../internal/to-file.mjs";
+//# sourceMappingURL=uploads.d.mts.map
\ No newline at end of file
diff --git a/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/core/uploads.d.mts.map b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/core/uploads.d.mts.map
new file mode 100644
index 0000000000000000000000000000000000000000..cfe0bb2c1fefd5f383d0bc058ba0971dbf9678fd
--- /dev/null
+++ b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/core/uploads.d.mts.map
@@ -0,0 +1 @@
+{"version":3,"file":"uploads.d.mts","sourceRoot":"","sources":["../src/core/uploads.ts"],"names":[],"mappings":"OAAO,EAAE,KAAK,UAAU,EAAE;OACnB,EAAE,MAAM,EAAE,KAAK,WAAW,EAAE"}
\ No newline at end of file
diff --git a/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/core/uploads.d.ts b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/core/uploads.d.ts
new file mode 100644
index 0000000000000000000000000000000000000000..fd629a8c12c8e06574b1666abfab0565b82a5691
--- /dev/null
+++ b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/core/uploads.d.ts
@@ -0,0 +1,3 @@
+export { type Uploadable } from "../internal/uploads.js";
+export { toFile, type ToFileInput } from "../internal/to-file.js";
+//# sourceMappingURL=uploads.d.ts.map
\ No newline at end of file
diff --git a/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/core/uploads.d.ts.map b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/core/uploads.d.ts.map
new file mode 100644
index 0000000000000000000000000000000000000000..ddc45f08ba335717d5f1451329f8bf8463e375ba
--- /dev/null
+++ b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/core/uploads.d.ts.map
@@ -0,0 +1 @@
+{"version":3,"file":"uploads.d.ts","sourceRoot":"","sources":["../src/core/uploads.ts"],"names":[],"mappings":"OAAO,EAAE,KAAK,UAAU,EAAE;OACnB,EAAE,MAAM,EAAE,KAAK,WAAW,EAAE"}
\ No newline at end of file
diff --git a/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/core/uploads.js b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/core/uploads.js
new file mode 100644
index 0000000000000000000000000000000000000000..61cf9206fc794fd7d0aa5efc395677317ed883b4
--- /dev/null
+++ b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/core/uploads.js
@@ -0,0 +1,6 @@
+"use strict";
+Object.defineProperty(exports, "__esModule", { value: true });
+exports.toFile = void 0;
+var to_file_1 = require("../internal/to-file.js");
+Object.defineProperty(exports, "toFile", { enumerable: true, get: function () { return to_file_1.toFile; } });
+//# sourceMappingURL=uploads.js.map
\ No newline at end of file
diff --git a/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/core/uploads.js.map b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/core/uploads.js.map
new file mode 100644
index 0000000000000000000000000000000000000000..cba2e776947d658c976711b870809b3072c0dd69
--- /dev/null
+++ b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/core/uploads.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"uploads.js","sourceRoot":"","sources":["../src/core/uploads.ts"],"names":[],"mappings":";;;AACA,kDAA+D;AAAtD,iGAAA,MAAM,OAAA"}
\ No newline at end of file
diff --git a/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/core/uploads.mjs b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/core/uploads.mjs
new file mode 100644
index 0000000000000000000000000000000000000000..40d3593e5244f4400c0305e48f97c7a3f70b2132
--- /dev/null
+++ b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/core/uploads.mjs
@@ -0,0 +1,2 @@
+export { toFile } from "../internal/to-file.mjs";
+//# sourceMappingURL=uploads.mjs.map
\ No newline at end of file
diff --git a/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/core/uploads.mjs.map b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/core/uploads.mjs.map
new file mode 100644
index 0000000000000000000000000000000000000000..31969af769d45251d1b2e7a7d2d68b7ff2c86ea2
--- /dev/null
+++ b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/core/uploads.mjs.map
@@ -0,0 +1 @@
+{"version":3,"file":"uploads.mjs","sourceRoot":"","sources":["../src/core/uploads.ts"],"names":[],"mappings":"OACO,EAAE,MAAM,EAAoB"}
\ No newline at end of file
diff --git a/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/error.d.mts b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/error.d.mts
new file mode 100644
index 0000000000000000000000000000000000000000..36a13f9d593c3a4f8c08fc91f22d3f9f110cc3e0
--- /dev/null
+++ b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/error.d.mts
@@ -0,0 +1,2 @@
+export * from "./core/error.mjs";
+//# sourceMappingURL=error.d.mts.map
\ No newline at end of file
diff --git a/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/error.d.mts.map b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/error.d.mts.map
new file mode 100644
index 0000000000000000000000000000000000000000..e9002be46e95495f75264177c815af9d22d84cac
--- /dev/null
+++ b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/error.d.mts.map
@@ -0,0 +1 @@
+{"version":3,"file":"error.d.mts","sourceRoot":"","sources":["src/error.ts"],"names":[],"mappings":""}
\ No newline at end of file
diff --git a/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/error.d.ts b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/error.d.ts
new file mode 100644
index 0000000000000000000000000000000000000000..2875f4af18c76115babb87c65facb69ceb9d838a
--- /dev/null
+++ b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/error.d.ts
@@ -0,0 +1,2 @@
+export * from "./core/error.js";
+//# sourceMappingURL=error.d.ts.map
\ No newline at end of file
diff --git a/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/error.d.ts.map b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/error.d.ts.map
new file mode 100644
index 0000000000000000000000000000000000000000..e2cafe341608944d9f257508520a46d6dd8ad568
--- /dev/null
+++ b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/error.d.ts.map
@@ -0,0 +1 @@
+{"version":3,"file":"error.d.ts","sourceRoot":"","sources":["src/error.ts"],"names":[],"mappings":""}
\ No newline at end of file
diff --git a/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/error.js b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/error.js
new file mode 100644
index 0000000000000000000000000000000000000000..e4ce4c8aa23258c79bbaff86aff238e028445b83
--- /dev/null
+++ b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/error.js
@@ -0,0 +1,6 @@
+"use strict";
+Object.defineProperty(exports, "__esModule", { value: true });
+const tslib_1 = require("./internal/tslib.js");
+/** @deprecated Import from ./core/error instead */
+tslib_1.__exportStar(require("./core/error.js"), exports);
+//# sourceMappingURL=error.js.map
\ No newline at end of file
diff --git a/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/error.js.map b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/error.js.map
new file mode 100644
index 0000000000000000000000000000000000000000..e76fa84ab75e87bd54cb8c7c0453e3998bafc3d9
--- /dev/null
+++ b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/error.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"error.js","sourceRoot":"","sources":["src/error.ts"],"names":[],"mappings":";;;AAAA,mDAAmD;AACnD,0DAA6B"}
\ No newline at end of file
diff --git a/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/error.mjs b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/error.mjs
new file mode 100644
index 0000000000000000000000000000000000000000..350c6d43000db82d0314844fa630a2659b4ec299
--- /dev/null
+++ b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/error.mjs
@@ -0,0 +1,2 @@
+export * from "./core/error.mjs";
+//# sourceMappingURL=error.mjs.map
\ No newline at end of file
diff --git a/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/error.mjs.map b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/error.mjs.map
new file mode 100644
index 0000000000000000000000000000000000000000..8757043ac9c270b82a1f01587c446d47362ae912
--- /dev/null
+++ b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/error.mjs.map
@@ -0,0 +1 @@
+{"version":3,"file":"error.mjs","sourceRoot":"","sources":["src/error.ts"],"names":[],"mappings":""}
\ No newline at end of file
diff --git a/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/index.d.mts b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/index.d.mts
new file mode 100644
index 0000000000000000000000000000000000000000..0dffee1882027d91ca0808a7bc70fbc1a9be6335
--- /dev/null
+++ b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/index.d.mts
@@ -0,0 +1,7 @@
+export { Anthropic as default } from "./client.mjs";
+export { type Uploadable, toFile } from "./core/uploads.mjs";
+export { APIPromise } from "./core/api-promise.mjs";
+export { BaseAnthropic, Anthropic, type ClientOptions, HUMAN_PROMPT, AI_PROMPT } from "./client.mjs";
+export { PagePromise } from "./core/pagination.mjs";
+export { AnthropicError, APIError, APIConnectionError, APIConnectionTimeoutError, APIUserAbortError, NotFoundError, ConflictError, RateLimitError, BadRequestError, AuthenticationError, InternalServerError, PermissionDeniedError, UnprocessableEntityError, } from "./core/error.mjs";
+//# sourceMappingURL=index.d.mts.map
\ No newline at end of file
diff --git a/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/index.d.mts.map b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/index.d.mts.map
new file mode 100644
index 0000000000000000000000000000000000000000..54786842474735a524d7987cf272f785aed85664
--- /dev/null
+++ b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/index.d.mts.map
@@ -0,0 +1 @@
+{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["src/index.ts"],"names":[],"mappings":"OAEO,EAAE,SAAS,IAAI,OAAO,EAAE;OAExB,EAAE,KAAK,UAAU,EAAE,MAAM,EAAE;OAC3B,EAAE,UAAU,EAAE;OACd,EAAE,aAAa,EAAE,SAAS,EAAE,KAAK,aAAa,EAAE,YAAY,EAAE,SAAS,EAAE;OACzE,EAAE,WAAW,EAAE;OACf,EACL,cAAc,EACd,QAAQ,EACR,kBAAkB,EAClB,yBAAyB,EACzB,iBAAiB,EACjB,aAAa,EACb,aAAa,EACb,cAAc,EACd,eAAe,EACf,mBAAmB,EACnB,mBAAmB,EACnB,qBAAqB,EACrB,wBAAwB,GACzB"}
\ No newline at end of file
diff --git a/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/index.d.ts b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/index.d.ts
new file mode 100644
index 0000000000000000000000000000000000000000..b81b2310e0aedb3eb178dd22f999ba7059eb08a8
--- /dev/null
+++ b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/index.d.ts
@@ -0,0 +1,7 @@
+export { Anthropic as default } from "./client.js";
+export { type Uploadable, toFile } from "./core/uploads.js";
+export { APIPromise } from "./core/api-promise.js";
+export { BaseAnthropic, Anthropic, type ClientOptions, HUMAN_PROMPT, AI_PROMPT } from "./client.js";
+export { PagePromise } from "./core/pagination.js";
+export { AnthropicError, APIError, APIConnectionError, APIConnectionTimeoutError, APIUserAbortError, NotFoundError, ConflictError, RateLimitError, BadRequestError, AuthenticationError, InternalServerError, PermissionDeniedError, UnprocessableEntityError, } from "./core/error.js";
+//# sourceMappingURL=index.d.ts.map
\ No newline at end of file
diff --git a/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/index.d.ts.map b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/index.d.ts.map
new file mode 100644
index 0000000000000000000000000000000000000000..e4f1402c227fad3087688f3b5f9106253bf2faa5
--- /dev/null
+++ b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/index.d.ts.map
@@ -0,0 +1 @@
+{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["src/index.ts"],"names":[],"mappings":"OAEO,EAAE,SAAS,IAAI,OAAO,EAAE;OAExB,EAAE,KAAK,UAAU,EAAE,MAAM,EAAE;OAC3B,EAAE,UAAU,EAAE;OACd,EAAE,aAAa,EAAE,SAAS,EAAE,KAAK,aAAa,EAAE,YAAY,EAAE,SAAS,EAAE;OACzE,EAAE,WAAW,EAAE;OACf,EACL,cAAc,EACd,QAAQ,EACR,kBAAkB,EAClB,yBAAyB,EACzB,iBAAiB,EACjB,aAAa,EACb,aAAa,EACb,cAAc,EACd,eAAe,EACf,mBAAmB,EACnB,mBAAmB,EACnB,qBAAqB,EACrB,wBAAwB,GACzB"}
\ No newline at end of file
diff --git a/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/index.js b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/index.js
new file mode 100644
index 0000000000000000000000000000000000000000..4212933fe40d7b0427e5565f7f4b611764f883a8
--- /dev/null
+++ b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/index.js
@@ -0,0 +1,35 @@
+"use strict";
+// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
+exports = module.exports = function (...args) {
+ return new exports.default(...args)
+}
+Object.defineProperty(exports, "__esModule", { value: true });
+exports.UnprocessableEntityError = exports.PermissionDeniedError = exports.InternalServerError = exports.AuthenticationError = exports.BadRequestError = exports.RateLimitError = exports.ConflictError = exports.NotFoundError = exports.APIUserAbortError = exports.APIConnectionTimeoutError = exports.APIConnectionError = exports.APIError = exports.AnthropicError = exports.PagePromise = exports.AI_PROMPT = exports.HUMAN_PROMPT = exports.Anthropic = exports.BaseAnthropic = exports.APIPromise = exports.toFile = exports.default = void 0;
+var client_1 = require("./client.js");
+Object.defineProperty(exports, "default", { enumerable: true, get: function () { return client_1.Anthropic; } });
+var uploads_1 = require("./core/uploads.js");
+Object.defineProperty(exports, "toFile", { enumerable: true, get: function () { return uploads_1.toFile; } });
+var api_promise_1 = require("./core/api-promise.js");
+Object.defineProperty(exports, "APIPromise", { enumerable: true, get: function () { return api_promise_1.APIPromise; } });
+var client_2 = require("./client.js");
+Object.defineProperty(exports, "BaseAnthropic", { enumerable: true, get: function () { return client_2.BaseAnthropic; } });
+Object.defineProperty(exports, "Anthropic", { enumerable: true, get: function () { return client_2.Anthropic; } });
+Object.defineProperty(exports, "HUMAN_PROMPT", { enumerable: true, get: function () { return client_2.HUMAN_PROMPT; } });
+Object.defineProperty(exports, "AI_PROMPT", { enumerable: true, get: function () { return client_2.AI_PROMPT; } });
+var pagination_1 = require("./core/pagination.js");
+Object.defineProperty(exports, "PagePromise", { enumerable: true, get: function () { return pagination_1.PagePromise; } });
+var error_1 = require("./core/error.js");
+Object.defineProperty(exports, "AnthropicError", { enumerable: true, get: function () { return error_1.AnthropicError; } });
+Object.defineProperty(exports, "APIError", { enumerable: true, get: function () { return error_1.APIError; } });
+Object.defineProperty(exports, "APIConnectionError", { enumerable: true, get: function () { return error_1.APIConnectionError; } });
+Object.defineProperty(exports, "APIConnectionTimeoutError", { enumerable: true, get: function () { return error_1.APIConnectionTimeoutError; } });
+Object.defineProperty(exports, "APIUserAbortError", { enumerable: true, get: function () { return error_1.APIUserAbortError; } });
+Object.defineProperty(exports, "NotFoundError", { enumerable: true, get: function () { return error_1.NotFoundError; } });
+Object.defineProperty(exports, "ConflictError", { enumerable: true, get: function () { return error_1.ConflictError; } });
+Object.defineProperty(exports, "RateLimitError", { enumerable: true, get: function () { return error_1.RateLimitError; } });
+Object.defineProperty(exports, "BadRequestError", { enumerable: true, get: function () { return error_1.BadRequestError; } });
+Object.defineProperty(exports, "AuthenticationError", { enumerable: true, get: function () { return error_1.AuthenticationError; } });
+Object.defineProperty(exports, "InternalServerError", { enumerable: true, get: function () { return error_1.InternalServerError; } });
+Object.defineProperty(exports, "PermissionDeniedError", { enumerable: true, get: function () { return error_1.PermissionDeniedError; } });
+Object.defineProperty(exports, "UnprocessableEntityError", { enumerable: true, get: function () { return error_1.UnprocessableEntityError; } });
+//# sourceMappingURL=index.js.map
\ No newline at end of file
diff --git a/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/index.js.map b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/index.js.map
new file mode 100644
index 0000000000000000000000000000000000000000..8267a84fc314d6dcbef716c8a94fe79385f70c6c
--- /dev/null
+++ b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/index.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"index.js","sourceRoot":"","sources":["src/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,sCAAgD;AAAvC,iGAAA,SAAS,OAAW;AAE7B,6CAAyD;AAA/B,iGAAA,MAAM,OAAA;AAChC,qDAAgD;AAAvC,yGAAA,UAAU,OAAA;AACnB,sCAAiG;AAAxF,uGAAA,aAAa,OAAA;AAAE,mGAAA,SAAS,OAAA;AAAsB,sGAAA,YAAY,OAAA;AAAE,mGAAA,SAAS,OAAA;AAC9E,mDAAgD;AAAvC,yGAAA,WAAW,OAAA;AACpB,yCAcsB;AAbpB,uGAAA,cAAc,OAAA;AACd,iGAAA,QAAQ,OAAA;AACR,2GAAA,kBAAkB,OAAA;AAClB,kHAAA,yBAAyB,OAAA;AACzB,0GAAA,iBAAiB,OAAA;AACjB,sGAAA,aAAa,OAAA;AACb,sGAAA,aAAa,OAAA;AACb,uGAAA,cAAc,OAAA;AACd,wGAAA,eAAe,OAAA;AACf,4GAAA,mBAAmB,OAAA;AACnB,4GAAA,mBAAmB,OAAA;AACnB,8GAAA,qBAAqB,OAAA;AACrB,iHAAA,wBAAwB,OAAA"}
\ No newline at end of file
diff --git a/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/index.mjs b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/index.mjs
new file mode 100644
index 0000000000000000000000000000000000000000..5d7711c40845d462bf52e746ac5b950675f2e017
--- /dev/null
+++ b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/index.mjs
@@ -0,0 +1,8 @@
+// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
+export { Anthropic as default } from "./client.mjs";
+export { toFile } from "./core/uploads.mjs";
+export { APIPromise } from "./core/api-promise.mjs";
+export { BaseAnthropic, Anthropic, HUMAN_PROMPT, AI_PROMPT } from "./client.mjs";
+export { PagePromise } from "./core/pagination.mjs";
+export { AnthropicError, APIError, APIConnectionError, APIConnectionTimeoutError, APIUserAbortError, NotFoundError, ConflictError, RateLimitError, BadRequestError, AuthenticationError, InternalServerError, PermissionDeniedError, UnprocessableEntityError, } from "./core/error.mjs";
+//# sourceMappingURL=index.mjs.map
\ No newline at end of file
diff --git a/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/index.mjs.map b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/index.mjs.map
new file mode 100644
index 0000000000000000000000000000000000000000..f97fa9e2578fc3ad50afe5c78b1910339f7f9cee
--- /dev/null
+++ b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/index.mjs.map
@@ -0,0 +1 @@
+{"version":3,"file":"index.mjs","sourceRoot":"","sources":["src/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,SAAS,IAAI,OAAO,EAAE;OAExB,EAAmB,MAAM,EAAE;OAC3B,EAAE,UAAU,EAAE;OACd,EAAE,aAAa,EAAE,SAAS,EAAsB,YAAY,EAAE,SAAS,EAAE;OACzE,EAAE,WAAW,EAAE;OACf,EACL,cAAc,EACd,QAAQ,EACR,kBAAkB,EAClB,yBAAyB,EACzB,iBAAiB,EACjB,aAAa,EACb,aAAa,EACb,cAAc,EACd,eAAe,EACf,mBAAmB,EACnB,mBAAmB,EACnB,qBAAqB,EACrB,wBAAwB,GACzB"}
\ No newline at end of file
diff --git a/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/internal/builtin-types.d.mts b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/internal/builtin-types.d.mts
new file mode 100644
index 0000000000000000000000000000000000000000..8231c03730e98a1be46600ce36532668ef3d6ff9
--- /dev/null
+++ b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/internal/builtin-types.d.mts
@@ -0,0 +1,73 @@
+export type Fetch = (input: string | URL | Request, init?: RequestInit) => Promise;
+/**
+ * An alias to the builtin `RequestInit` type so we can
+ * easily alias it in import statements if there are name clashes.
+ *
+ * https://developer.mozilla.org/docs/Web/API/RequestInit
+ */
+type _RequestInit = RequestInit;
+/**
+ * An alias to the builtin `Response` type so we can
+ * easily alias it in import statements if there are name clashes.
+ *
+ * https://developer.mozilla.org/docs/Web/API/Response
+ */
+type _Response = Response;
+/**
+ * The type for the first argument to `fetch`.
+ *
+ * https://developer.mozilla.org/docs/Web/API/Window/fetch#resource
+ */
+type _RequestInfo = Request | URL | string;
+/**
+ * The type for constructing `RequestInit` Headers.
+ *
+ * https://developer.mozilla.org/docs/Web/API/RequestInit#setting_headers
+ */
+type _HeadersInit = RequestInit['headers'];
+/**
+ * The type for constructing `RequestInit` body.
+ *
+ * https://developer.mozilla.org/docs/Web/API/RequestInit#body
+ */
+type _BodyInit = RequestInit['body'];
+/**
+ * An alias to the builtin `Array` type so we can
+ * easily alias it in import statements if there are name clashes.
+ */
+type _Array = Array;
+/**
+ * An alias to the builtin `Record` type so we can
+ * easily alias it in import statements if there are name clashes.
+ */
+type _Record = Record;
+export type { _Array as Array, _BodyInit as BodyInit, _HeadersInit as HeadersInit, _Record as Record, _RequestInfo as RequestInfo, _RequestInit as RequestInit, _Response as Response, };
+/**
+ * A copy of the builtin `EndingType` type as it isn't fully supported in certain
+ * environments and attempting to reference the global version will error.
+ *
+ * https://github.com/microsoft/TypeScript/blob/49ad1a3917a0ea57f5ff248159256e12bb1cb705/src/lib/dom.generated.d.ts#L27941
+ */
+type EndingType = 'native' | 'transparent';
+/**
+ * A copy of the builtin `BlobPropertyBag` type as it isn't fully supported in certain
+ * environments and attempting to reference the global version will error.
+ *
+ * https://github.com/microsoft/TypeScript/blob/49ad1a3917a0ea57f5ff248159256e12bb1cb705/src/lib/dom.generated.d.ts#L154
+ * https://developer.mozilla.org/en-US/docs/Web/API/Blob/Blob#options
+ */
+export interface BlobPropertyBag {
+ endings?: EndingType;
+ type?: string;
+}
+/**
+ * A copy of the builtin `FilePropertyBag` type as it isn't fully supported in certain
+ * environments and attempting to reference the global version will error.
+ *
+ * https://github.com/microsoft/TypeScript/blob/49ad1a3917a0ea57f5ff248159256e12bb1cb705/src/lib/dom.generated.d.ts#L503
+ * https://developer.mozilla.org/en-US/docs/Web/API/File/File#options
+ */
+export interface FilePropertyBag extends BlobPropertyBag {
+ lastModified?: number;
+}
+//# sourceMappingURL=builtin-types.d.mts.map
\ No newline at end of file
diff --git a/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/internal/builtin-types.d.mts.map b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/internal/builtin-types.d.mts.map
new file mode 100644
index 0000000000000000000000000000000000000000..9b71e28d5d2316d4286a11cd46e7ac6ea762615a
--- /dev/null
+++ b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/internal/builtin-types.d.mts.map
@@ -0,0 +1 @@
+{"version":3,"file":"builtin-types.d.mts","sourceRoot":"","sources":["../src/internal/builtin-types.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,KAAK,GAAG,CAAC,KAAK,EAAE,MAAM,GAAG,GAAG,GAAG,OAAO,EAAE,IAAI,CAAC,EAAE,WAAW,KAAK,OAAO,CAAC,QAAQ,CAAC,CAAC;AAE7F;;;;;GAKG;AACH,KAAK,YAAY,GAAG,WAAW,CAAC;AAEhC;;;;;GAKG;AACH,KAAK,SAAS,GAAG,QAAQ,CAAC;AAE1B;;;;GAIG;AACH,KAAK,YAAY,GAAG,OAAO,GAAG,GAAG,GAAG,MAAM,CAAC;AAE3C;;;;GAIG;AACH,KAAK,YAAY,GAAG,WAAW,CAAC,SAAS,CAAC,CAAC;AAE3C;;;;GAIG;AACH,KAAK,SAAS,GAAG,WAAW,CAAC,MAAM,CAAC,CAAC;AAErC;;;GAGG;AACH,KAAK,MAAM,CAAC,CAAC,IAAI,KAAK,CAAC,CAAC,CAAC,CAAC;AAE1B;;;GAGG;AACH,KAAK,OAAO,CAAC,CAAC,SAAS,MAAM,GAAG,EAAE,CAAC,IAAI,MAAM,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;AAEpD,YAAY,EACV,MAAM,IAAI,KAAK,EACf,SAAS,IAAI,QAAQ,EACrB,YAAY,IAAI,WAAW,EAC3B,OAAO,IAAI,MAAM,EACjB,YAAY,IAAI,WAAW,EAC3B,YAAY,IAAI,WAAW,EAC3B,SAAS,IAAI,QAAQ,GACtB,CAAC;AAEF;;;;;GAKG;AACH,KAAK,UAAU,GAAG,QAAQ,GAAG,aAAa,CAAC;AAE3C;;;;;;GAMG;AACH,MAAM,WAAW,eAAe;IAC9B,OAAO,CAAC,EAAE,UAAU,CAAC;IACrB,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED;;;;;;GAMG;AACH,MAAM,WAAW,eAAgB,SAAQ,eAAe;IACtD,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB"}
\ No newline at end of file
diff --git a/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/internal/builtin-types.d.ts b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/internal/builtin-types.d.ts
new file mode 100644
index 0000000000000000000000000000000000000000..a6c30e73eec3cc9048298929c8dcfe70bf7fda3b
--- /dev/null
+++ b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/internal/builtin-types.d.ts
@@ -0,0 +1,73 @@
+export type Fetch = (input: string | URL | Request, init?: RequestInit) => Promise;
+/**
+ * An alias to the builtin `RequestInit` type so we can
+ * easily alias it in import statements if there are name clashes.
+ *
+ * https://developer.mozilla.org/docs/Web/API/RequestInit
+ */
+type _RequestInit = RequestInit;
+/**
+ * An alias to the builtin `Response` type so we can
+ * easily alias it in import statements if there are name clashes.
+ *
+ * https://developer.mozilla.org/docs/Web/API/Response
+ */
+type _Response = Response;
+/**
+ * The type for the first argument to `fetch`.
+ *
+ * https://developer.mozilla.org/docs/Web/API/Window/fetch#resource
+ */
+type _RequestInfo = Request | URL | string;
+/**
+ * The type for constructing `RequestInit` Headers.
+ *
+ * https://developer.mozilla.org/docs/Web/API/RequestInit#setting_headers
+ */
+type _HeadersInit = RequestInit['headers'];
+/**
+ * The type for constructing `RequestInit` body.
+ *
+ * https://developer.mozilla.org/docs/Web/API/RequestInit#body
+ */
+type _BodyInit = RequestInit['body'];
+/**
+ * An alias to the builtin `Array` type so we can
+ * easily alias it in import statements if there are name clashes.
+ */
+type _Array = Array;
+/**
+ * An alias to the builtin `Record` type so we can
+ * easily alias it in import statements if there are name clashes.
+ */
+type _Record = Record;
+export type { _Array as Array, _BodyInit as BodyInit, _HeadersInit as HeadersInit, _Record as Record, _RequestInfo as RequestInfo, _RequestInit as RequestInit, _Response as Response, };
+/**
+ * A copy of the builtin `EndingType` type as it isn't fully supported in certain
+ * environments and attempting to reference the global version will error.
+ *
+ * https://github.com/microsoft/TypeScript/blob/49ad1a3917a0ea57f5ff248159256e12bb1cb705/src/lib/dom.generated.d.ts#L27941
+ */
+type EndingType = 'native' | 'transparent';
+/**
+ * A copy of the builtin `BlobPropertyBag` type as it isn't fully supported in certain
+ * environments and attempting to reference the global version will error.
+ *
+ * https://github.com/microsoft/TypeScript/blob/49ad1a3917a0ea57f5ff248159256e12bb1cb705/src/lib/dom.generated.d.ts#L154
+ * https://developer.mozilla.org/en-US/docs/Web/API/Blob/Blob#options
+ */
+export interface BlobPropertyBag {
+ endings?: EndingType;
+ type?: string;
+}
+/**
+ * A copy of the builtin `FilePropertyBag` type as it isn't fully supported in certain
+ * environments and attempting to reference the global version will error.
+ *
+ * https://github.com/microsoft/TypeScript/blob/49ad1a3917a0ea57f5ff248159256e12bb1cb705/src/lib/dom.generated.d.ts#L503
+ * https://developer.mozilla.org/en-US/docs/Web/API/File/File#options
+ */
+export interface FilePropertyBag extends BlobPropertyBag {
+ lastModified?: number;
+}
+//# sourceMappingURL=builtin-types.d.ts.map
\ No newline at end of file
diff --git a/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/internal/builtin-types.d.ts.map b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/internal/builtin-types.d.ts.map
new file mode 100644
index 0000000000000000000000000000000000000000..8a2570ed69c35d2aae831a4d10466b82015ffd42
--- /dev/null
+++ b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/internal/builtin-types.d.ts.map
@@ -0,0 +1 @@
+{"version":3,"file":"builtin-types.d.ts","sourceRoot":"","sources":["../src/internal/builtin-types.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,KAAK,GAAG,CAAC,KAAK,EAAE,MAAM,GAAG,GAAG,GAAG,OAAO,EAAE,IAAI,CAAC,EAAE,WAAW,KAAK,OAAO,CAAC,QAAQ,CAAC,CAAC;AAE7F;;;;;GAKG;AACH,KAAK,YAAY,GAAG,WAAW,CAAC;AAEhC;;;;;GAKG;AACH,KAAK,SAAS,GAAG,QAAQ,CAAC;AAE1B;;;;GAIG;AACH,KAAK,YAAY,GAAG,OAAO,GAAG,GAAG,GAAG,MAAM,CAAC;AAE3C;;;;GAIG;AACH,KAAK,YAAY,GAAG,WAAW,CAAC,SAAS,CAAC,CAAC;AAE3C;;;;GAIG;AACH,KAAK,SAAS,GAAG,WAAW,CAAC,MAAM,CAAC,CAAC;AAErC;;;GAGG;AACH,KAAK,MAAM,CAAC,CAAC,IAAI,KAAK,CAAC,CAAC,CAAC,CAAC;AAE1B;;;GAGG;AACH,KAAK,OAAO,CAAC,CAAC,SAAS,MAAM,GAAG,EAAE,CAAC,IAAI,MAAM,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;AAEpD,YAAY,EACV,MAAM,IAAI,KAAK,EACf,SAAS,IAAI,QAAQ,EACrB,YAAY,IAAI,WAAW,EAC3B,OAAO,IAAI,MAAM,EACjB,YAAY,IAAI,WAAW,EAC3B,YAAY,IAAI,WAAW,EAC3B,SAAS,IAAI,QAAQ,GACtB,CAAC;AAEF;;;;;GAKG;AACH,KAAK,UAAU,GAAG,QAAQ,GAAG,aAAa,CAAC;AAE3C;;;;;;GAMG;AACH,MAAM,WAAW,eAAe;IAC9B,OAAO,CAAC,EAAE,UAAU,CAAC;IACrB,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED;;;;;;GAMG;AACH,MAAM,WAAW,eAAgB,SAAQ,eAAe;IACtD,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB"}
\ No newline at end of file
diff --git a/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/internal/builtin-types.js b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/internal/builtin-types.js
new file mode 100644
index 0000000000000000000000000000000000000000..0e601d42465a0b013efb568bd7786dcaa8db781c
--- /dev/null
+++ b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/internal/builtin-types.js
@@ -0,0 +1,4 @@
+"use strict";
+// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
+Object.defineProperty(exports, "__esModule", { value: true });
+//# sourceMappingURL=builtin-types.js.map
\ No newline at end of file
diff --git a/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/internal/builtin-types.js.map b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/internal/builtin-types.js.map
new file mode 100644
index 0000000000000000000000000000000000000000..d42cfb6ef7d88a46d1fa15920790f3bb081f6183
--- /dev/null
+++ b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/internal/builtin-types.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"builtin-types.js","sourceRoot":"","sources":["../src/internal/builtin-types.ts"],"names":[],"mappings":";AAAA,sFAAsF"}
\ No newline at end of file
diff --git a/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/internal/builtin-types.mjs b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/internal/builtin-types.mjs
new file mode 100644
index 0000000000000000000000000000000000000000..08e5c4d4278224baa557243ce8f6f7785267fe90
--- /dev/null
+++ b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/internal/builtin-types.mjs
@@ -0,0 +1,3 @@
+// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
+export {};
+//# sourceMappingURL=builtin-types.mjs.map
\ No newline at end of file
diff --git a/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/internal/builtin-types.mjs.map b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/internal/builtin-types.mjs.map
new file mode 100644
index 0000000000000000000000000000000000000000..e470679effd587747ab9570cc3c5c3b54590dc1b
--- /dev/null
+++ b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/internal/builtin-types.mjs.map
@@ -0,0 +1 @@
+{"version":3,"file":"builtin-types.mjs","sourceRoot":"","sources":["../src/internal/builtin-types.ts"],"names":[],"mappings":"AAAA,sFAAsF"}
\ No newline at end of file
diff --git a/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/internal/constants.d.mts b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/internal/constants.d.mts
new file mode 100644
index 0000000000000000000000000000000000000000..032c80c98417cd7e4555ef883d0cdc3d3f709b64
--- /dev/null
+++ b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/internal/constants.d.mts
@@ -0,0 +1,5 @@
+/**
+ * Model-specific timeout constraints for non-streaming requests
+ */
+export declare const MODEL_NONSTREAMING_TOKENS: Record;
+//# sourceMappingURL=constants.d.mts.map
\ No newline at end of file
diff --git a/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/internal/constants.d.mts.map b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/internal/constants.d.mts.map
new file mode 100644
index 0000000000000000000000000000000000000000..014d301e431069201ffbe3c23fe42df580f437c0
--- /dev/null
+++ b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/internal/constants.d.mts.map
@@ -0,0 +1 @@
+{"version":3,"file":"constants.d.mts","sourceRoot":"","sources":["../src/internal/constants.ts"],"names":[],"mappings":"AAEA;;GAEG;AACH,eAAO,MAAM,yBAAyB,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAM5D,CAAC"}
\ No newline at end of file
diff --git a/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/internal/constants.d.ts b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/internal/constants.d.ts
new file mode 100644
index 0000000000000000000000000000000000000000..6bff005c0f6c7d170629258f4daea66254199bbe
--- /dev/null
+++ b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/internal/constants.d.ts
@@ -0,0 +1,5 @@
+/**
+ * Model-specific timeout constraints for non-streaming requests
+ */
+export declare const MODEL_NONSTREAMING_TOKENS: Record;
+//# sourceMappingURL=constants.d.ts.map
\ No newline at end of file
diff --git a/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/internal/constants.d.ts.map b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/internal/constants.d.ts.map
new file mode 100644
index 0000000000000000000000000000000000000000..66284b9c1a07071edb2eeecf9a296df582ce2e64
--- /dev/null
+++ b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/internal/constants.d.ts.map
@@ -0,0 +1 @@
+{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../src/internal/constants.ts"],"names":[],"mappings":"AAEA;;GAEG;AACH,eAAO,MAAM,yBAAyB,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAM5D,CAAC"}
\ No newline at end of file
diff --git a/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/internal/constants.js b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/internal/constants.js
new file mode 100644
index 0000000000000000000000000000000000000000..f01a236695b44c1614f5f1529f7906a0490600a7
--- /dev/null
+++ b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/internal/constants.js
@@ -0,0 +1,15 @@
+"use strict";
+// File containing shared constants
+Object.defineProperty(exports, "__esModule", { value: true });
+exports.MODEL_NONSTREAMING_TOKENS = void 0;
+/**
+ * Model-specific timeout constraints for non-streaming requests
+ */
+exports.MODEL_NONSTREAMING_TOKENS = {
+ 'claude-opus-4-20250514': 8192,
+ 'claude-opus-4-0': 8192,
+ 'claude-4-opus-20250514': 8192,
+ 'anthropic.claude-opus-4-20250514-v1:0': 8192,
+ 'claude-opus-4@20250514': 8192,
+};
+//# sourceMappingURL=constants.js.map
\ No newline at end of file
diff --git a/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/internal/constants.js.map b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/internal/constants.js.map
new file mode 100644
index 0000000000000000000000000000000000000000..1e3e218253b52b2b97c195ffca6de1c34f2ffc65
--- /dev/null
+++ b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/internal/constants.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"constants.js","sourceRoot":"","sources":["../src/internal/constants.ts"],"names":[],"mappings":";AAAA,mCAAmC;;;AAEnC;;GAEG;AACU,QAAA,yBAAyB,GAA2B;IAC/D,wBAAwB,EAAE,IAAI;IAC9B,iBAAiB,EAAE,IAAI;IACvB,wBAAwB,EAAE,IAAI;IAC9B,uCAAuC,EAAE,IAAI;IAC7C,wBAAwB,EAAE,IAAI;CAC/B,CAAC"}
\ No newline at end of file
diff --git a/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/internal/constants.mjs b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/internal/constants.mjs
new file mode 100644
index 0000000000000000000000000000000000000000..e2f4d03b3d878d4b07093fd7874dd2a981d306e5
--- /dev/null
+++ b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/internal/constants.mjs
@@ -0,0 +1,12 @@
+// File containing shared constants
+/**
+ * Model-specific timeout constraints for non-streaming requests
+ */
+export const MODEL_NONSTREAMING_TOKENS = {
+ 'claude-opus-4-20250514': 8192,
+ 'claude-opus-4-0': 8192,
+ 'claude-4-opus-20250514': 8192,
+ 'anthropic.claude-opus-4-20250514-v1:0': 8192,
+ 'claude-opus-4@20250514': 8192,
+};
+//# sourceMappingURL=constants.mjs.map
\ No newline at end of file
diff --git a/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/internal/constants.mjs.map b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/internal/constants.mjs.map
new file mode 100644
index 0000000000000000000000000000000000000000..b1f1b9d754a2d220448e05984d02ae1060151ad9
--- /dev/null
+++ b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/internal/constants.mjs.map
@@ -0,0 +1 @@
+{"version":3,"file":"constants.mjs","sourceRoot":"","sources":["../src/internal/constants.ts"],"names":[],"mappings":"AAAA,mCAAmC;AAEnC;;GAEG;AACH,MAAM,CAAC,MAAM,yBAAyB,GAA2B;IAC/D,wBAAwB,EAAE,IAAI;IAC9B,iBAAiB,EAAE,IAAI;IACvB,wBAAwB,EAAE,IAAI;IAC9B,uCAAuC,EAAE,IAAI;IAC7C,wBAAwB,EAAE,IAAI;CAC/B,CAAC"}
\ No newline at end of file
diff --git a/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/internal/decoders/jsonl.d.mts b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/internal/decoders/jsonl.d.mts
new file mode 100644
index 0000000000000000000000000000000000000000..a65828dd4df192762ed030e501b537d4b0689588
--- /dev/null
+++ b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/internal/decoders/jsonl.d.mts
@@ -0,0 +1,10 @@
+import { type Bytes } from "./line.mjs";
+export declare class JSONLDecoder {
+ private iterator;
+ controller: AbortController;
+ constructor(iterator: AsyncIterableIterator, controller: AbortController);
+ private decoder;
+ [Symbol.asyncIterator](): AsyncIterator;
+ static fromResponse(response: Response, controller: AbortController): JSONLDecoder;
+}
+//# sourceMappingURL=jsonl.d.mts.map
\ No newline at end of file
diff --git a/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/internal/decoders/jsonl.d.mts.map b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/internal/decoders/jsonl.d.mts.map
new file mode 100644
index 0000000000000000000000000000000000000000..5b884d54a7a9451aebf1568c2e8f9a98f7a984c4
--- /dev/null
+++ b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/internal/decoders/jsonl.d.mts.map
@@ -0,0 +1 @@
+{"version":3,"file":"jsonl.d.mts","sourceRoot":"","sources":["../../src/internal/decoders/jsonl.ts"],"names":[],"mappings":"OAEO,EAAe,KAAK,KAAK,EAAE;AAElC,qBAAa,YAAY,CAAC,CAAC;IAIvB,OAAO,CAAC,QAAQ;IAHlB,UAAU,EAAE,eAAe,CAAC;gBAGlB,QAAQ,EAAE,qBAAqB,CAAC,KAAK,CAAC,EAC9C,UAAU,EAAE,eAAe;YAKd,OAAO;IAatB,CAAC,MAAM,CAAC,aAAa,CAAC,IAAI,aAAa,CAAC,CAAC,CAAC;IAI1C,MAAM,CAAC,YAAY,CAAC,CAAC,EAAE,QAAQ,EAAE,QAAQ,EAAE,UAAU,EAAE,eAAe,GAAG,YAAY,CAAC,CAAC,CAAC;CAgBzF"}
\ No newline at end of file
diff --git a/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/internal/decoders/jsonl.d.ts b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/internal/decoders/jsonl.d.ts
new file mode 100644
index 0000000000000000000000000000000000000000..7fb0b3ec069b18b2e64af1db3260996f4ea31e95
--- /dev/null
+++ b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/internal/decoders/jsonl.d.ts
@@ -0,0 +1,10 @@
+import { type Bytes } from "./line.js";
+export declare class JSONLDecoder {
+ private iterator;
+ controller: AbortController;
+ constructor(iterator: AsyncIterableIterator, controller: AbortController);
+ private decoder;
+ [Symbol.asyncIterator](): AsyncIterator;
+ static fromResponse(response: Response, controller: AbortController): JSONLDecoder;
+}
+//# sourceMappingURL=jsonl.d.ts.map
\ No newline at end of file
diff --git a/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/internal/decoders/jsonl.d.ts.map b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/internal/decoders/jsonl.d.ts.map
new file mode 100644
index 0000000000000000000000000000000000000000..545b8028389711511289482fa893127c897d5a24
--- /dev/null
+++ b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/internal/decoders/jsonl.d.ts.map
@@ -0,0 +1 @@
+{"version":3,"file":"jsonl.d.ts","sourceRoot":"","sources":["../../src/internal/decoders/jsonl.ts"],"names":[],"mappings":"OAEO,EAAe,KAAK,KAAK,EAAE;AAElC,qBAAa,YAAY,CAAC,CAAC;IAIvB,OAAO,CAAC,QAAQ;IAHlB,UAAU,EAAE,eAAe,CAAC;gBAGlB,QAAQ,EAAE,qBAAqB,CAAC,KAAK,CAAC,EAC9C,UAAU,EAAE,eAAe;YAKd,OAAO;IAatB,CAAC,MAAM,CAAC,aAAa,CAAC,IAAI,aAAa,CAAC,CAAC,CAAC;IAI1C,MAAM,CAAC,YAAY,CAAC,CAAC,EAAE,QAAQ,EAAE,QAAQ,EAAE,UAAU,EAAE,eAAe,GAAG,YAAY,CAAC,CAAC,CAAC;CAgBzF"}
\ No newline at end of file
diff --git a/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/internal/decoders/jsonl.js b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/internal/decoders/jsonl.js
new file mode 100644
index 0000000000000000000000000000000000000000..16970b76a0371bb3cbaef97449db5d1e8c62fe85
--- /dev/null
+++ b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/internal/decoders/jsonl.js
@@ -0,0 +1,39 @@
+"use strict";
+Object.defineProperty(exports, "__esModule", { value: true });
+exports.JSONLDecoder = void 0;
+const error_1 = require("../../core/error.js");
+const shims_1 = require("../shims.js");
+const line_1 = require("./line.js");
+class JSONLDecoder {
+ constructor(iterator, controller) {
+ this.iterator = iterator;
+ this.controller = controller;
+ }
+ async *decoder() {
+ const lineDecoder = new line_1.LineDecoder();
+ for await (const chunk of this.iterator) {
+ for (const line of lineDecoder.decode(chunk)) {
+ yield JSON.parse(line);
+ }
+ }
+ for (const line of lineDecoder.flush()) {
+ yield JSON.parse(line);
+ }
+ }
+ [Symbol.asyncIterator]() {
+ return this.decoder();
+ }
+ static fromResponse(response, controller) {
+ if (!response.body) {
+ controller.abort();
+ if (typeof globalThis.navigator !== 'undefined' &&
+ globalThis.navigator.product === 'ReactNative') {
+ throw new error_1.AnthropicError(`The default react-native fetch implementation does not support streaming. Please use expo/fetch: https://docs.expo.dev/versions/latest/sdk/expo/#expofetch-api`);
+ }
+ throw new error_1.AnthropicError(`Attempted to iterate over a response with no body`);
+ }
+ return new JSONLDecoder((0, shims_1.ReadableStreamToAsyncIterable)(response.body), controller);
+ }
+}
+exports.JSONLDecoder = JSONLDecoder;
+//# sourceMappingURL=jsonl.js.map
\ No newline at end of file
diff --git a/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/internal/decoders/jsonl.js.map b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/internal/decoders/jsonl.js.map
new file mode 100644
index 0000000000000000000000000000000000000000..5c5988266c27b6a57efb8922fbd495e730c087e5
--- /dev/null
+++ b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/internal/decoders/jsonl.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"jsonl.js","sourceRoot":"","sources":["../../src/internal/decoders/jsonl.ts"],"names":[],"mappings":";;;AAAA,+CAAkD;AAClD,uCAAyD;AACzD,oCAAiD;AAEjD,MAAa,YAAY;IAGvB,YACU,QAAsC,EAC9C,UAA2B;QADnB,aAAQ,GAAR,QAAQ,CAA8B;QAG9C,IAAI,CAAC,UAAU,GAAG,UAAU,CAAC;IAC/B,CAAC;IAEO,KAAK,CAAC,CAAC,OAAO;QACpB,MAAM,WAAW,GAAG,IAAI,kBAAW,EAAE,CAAC;QACtC,IAAI,KAAK,EAAE,MAAM,KAAK,IAAI,IAAI,CAAC,QAAQ,EAAE,CAAC;YACxC,KAAK,MAAM,IAAI,IAAI,WAAW,CAAC,MAAM,CAAC,KAAK,CAAC,EAAE,CAAC;gBAC7C,MAAM,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC;YACzB,CAAC;QACH,CAAC;QAED,KAAK,MAAM,IAAI,IAAI,WAAW,CAAC,KAAK,EAAE,EAAE,CAAC;YACvC,MAAM,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC;QACzB,CAAC;IACH,CAAC;IAED,CAAC,MAAM,CAAC,aAAa,CAAC;QACpB,OAAO,IAAI,CAAC,OAAO,EAAE,CAAC;IACxB,CAAC;IAED,MAAM,CAAC,YAAY,CAAI,QAAkB,EAAE,UAA2B;QACpE,IAAI,CAAC,QAAQ,CAAC,IAAI,EAAE,CAAC;YACnB,UAAU,CAAC,KAAK,EAAE,CAAC;YACnB,IACE,OAAQ,UAAkB,CAAC,SAAS,KAAK,WAAW;gBACnD,UAAkB,CAAC,SAAS,CAAC,OAAO,KAAK,aAAa,EACvD,CAAC;gBACD,MAAM,IAAI,sBAAc,CACtB,gKAAgK,CACjK,CAAC;YACJ,CAAC;YACD,MAAM,IAAI,sBAAc,CAAC,mDAAmD,CAAC,CAAC;QAChF,CAAC;QAED,OAAO,IAAI,YAAY,CAAC,IAAA,qCAA6B,EAAQ,QAAQ,CAAC,IAAI,CAAC,EAAE,UAAU,CAAC,CAAC;IAC3F,CAAC;CACF;AA3CD,oCA2CC"}
\ No newline at end of file
diff --git a/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/internal/decoders/jsonl.mjs b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/internal/decoders/jsonl.mjs
new file mode 100644
index 0000000000000000000000000000000000000000..6d3f4b9eecb95ea05719d858243386be9f7df6a3
--- /dev/null
+++ b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/internal/decoders/jsonl.mjs
@@ -0,0 +1,35 @@
+import { AnthropicError } from "../../core/error.mjs";
+import { ReadableStreamToAsyncIterable } from "../shims.mjs";
+import { LineDecoder } from "./line.mjs";
+export class JSONLDecoder {
+ constructor(iterator, controller) {
+ this.iterator = iterator;
+ this.controller = controller;
+ }
+ async *decoder() {
+ const lineDecoder = new LineDecoder();
+ for await (const chunk of this.iterator) {
+ for (const line of lineDecoder.decode(chunk)) {
+ yield JSON.parse(line);
+ }
+ }
+ for (const line of lineDecoder.flush()) {
+ yield JSON.parse(line);
+ }
+ }
+ [Symbol.asyncIterator]() {
+ return this.decoder();
+ }
+ static fromResponse(response, controller) {
+ if (!response.body) {
+ controller.abort();
+ if (typeof globalThis.navigator !== 'undefined' &&
+ globalThis.navigator.product === 'ReactNative') {
+ throw new AnthropicError(`The default react-native fetch implementation does not support streaming. Please use expo/fetch: https://docs.expo.dev/versions/latest/sdk/expo/#expofetch-api`);
+ }
+ throw new AnthropicError(`Attempted to iterate over a response with no body`);
+ }
+ return new JSONLDecoder(ReadableStreamToAsyncIterable(response.body), controller);
+ }
+}
+//# sourceMappingURL=jsonl.mjs.map
\ No newline at end of file
diff --git a/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/internal/decoders/jsonl.mjs.map b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/internal/decoders/jsonl.mjs.map
new file mode 100644
index 0000000000000000000000000000000000000000..4417ab9cc6827d836caf0a2b9078ce48d631a42b
--- /dev/null
+++ b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/internal/decoders/jsonl.mjs.map
@@ -0,0 +1 @@
+{"version":3,"file":"jsonl.mjs","sourceRoot":"","sources":["../../src/internal/decoders/jsonl.ts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AAC,CAAC;IAC3F,CAAC;CACF"}
\ No newline at end of file
diff --git a/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/internal/decoders/line.d.mts b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/internal/decoders/line.d.mts
new file mode 100644
index 0000000000000000000000000000000000000000..0fb40d95fd425d85eff7dfb64aaa05918621f6f7
--- /dev/null
+++ b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/internal/decoders/line.d.mts
@@ -0,0 +1,17 @@
+export type Bytes = string | ArrayBuffer | Uint8Array | null | undefined;
+/**
+ * A re-implementation of httpx's `LineDecoder` in Python that handles incrementally
+ * reading lines from text.
+ *
+ * https://github.com/encode/httpx/blob/920333ea98118e9cf617f246905d7b202510941c/httpx/_decoders.py#L258
+ */
+export declare class LineDecoder {
+ #private;
+ static NEWLINE_CHARS: Set;
+ static NEWLINE_REGEXP: RegExp;
+ constructor();
+ decode(chunk: Bytes): string[];
+ flush(): string[];
+}
+export declare function findDoubleNewlineIndex(buffer: Uint8Array): number;
+//# sourceMappingURL=line.d.mts.map
\ No newline at end of file
diff --git a/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/internal/decoders/line.d.mts.map b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/internal/decoders/line.d.mts.map
new file mode 100644
index 0000000000000000000000000000000000000000..5d3352d2c422fd9a60f8137b1c3f460df51d79c0
--- /dev/null
+++ b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/internal/decoders/line.d.mts.map
@@ -0,0 +1 @@
+{"version":3,"file":"line.d.mts","sourceRoot":"","sources":["../../src/internal/decoders/line.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,KAAK,GAAG,MAAM,GAAG,WAAW,GAAG,UAAU,GAAG,IAAI,GAAG,SAAS,CAAC;AAEzE;;;;;GAKG;AACH,qBAAa,WAAW;;IAEtB,MAAM,CAAC,aAAa,cAAyB;IAC7C,MAAM,CAAC,cAAc,SAAkB;;IAUvC,MAAM,CAAC,KAAK,EAAE,KAAK,GAAG,MAAM,EAAE;IA6C9B,KAAK,IAAI,MAAM,EAAE;CAMlB;AA+BD,wBAAgB,sBAAsB,CAAC,MAAM,EAAE,UAAU,GAAG,MAAM,CA6BjE"}
\ No newline at end of file
diff --git a/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/internal/decoders/line.d.ts b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/internal/decoders/line.d.ts
new file mode 100644
index 0000000000000000000000000000000000000000..bd39367a83e236d19fd1eb681822d9a0945aa355
--- /dev/null
+++ b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/internal/decoders/line.d.ts
@@ -0,0 +1,17 @@
+export type Bytes = string | ArrayBuffer | Uint8Array | null | undefined;
+/**
+ * A re-implementation of httpx's `LineDecoder` in Python that handles incrementally
+ * reading lines from text.
+ *
+ * https://github.com/encode/httpx/blob/920333ea98118e9cf617f246905d7b202510941c/httpx/_decoders.py#L258
+ */
+export declare class LineDecoder {
+ #private;
+ static NEWLINE_CHARS: Set;
+ static NEWLINE_REGEXP: RegExp;
+ constructor();
+ decode(chunk: Bytes): string[];
+ flush(): string[];
+}
+export declare function findDoubleNewlineIndex(buffer: Uint8Array): number;
+//# sourceMappingURL=line.d.ts.map
\ No newline at end of file
diff --git a/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/internal/decoders/line.d.ts.map b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/internal/decoders/line.d.ts.map
new file mode 100644
index 0000000000000000000000000000000000000000..ccf562926431eb83b777043965e95e9cd96415a4
--- /dev/null
+++ b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/internal/decoders/line.d.ts.map
@@ -0,0 +1 @@
+{"version":3,"file":"line.d.ts","sourceRoot":"","sources":["../../src/internal/decoders/line.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,KAAK,GAAG,MAAM,GAAG,WAAW,GAAG,UAAU,GAAG,IAAI,GAAG,SAAS,CAAC;AAEzE;;;;;GAKG;AACH,qBAAa,WAAW;;IAEtB,MAAM,CAAC,aAAa,cAAyB;IAC7C,MAAM,CAAC,cAAc,SAAkB;;IAUvC,MAAM,CAAC,KAAK,EAAE,KAAK,GAAG,MAAM,EAAE;IA6C9B,KAAK,IAAI,MAAM,EAAE;CAMlB;AA+BD,wBAAgB,sBAAsB,CAAC,MAAM,EAAE,UAAU,GAAG,MAAM,CA6BjE"}
\ No newline at end of file
diff --git a/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/internal/decoders/line.js b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/internal/decoders/line.js
new file mode 100644
index 0000000000000000000000000000000000000000..949664f3c52dba341d94429f66fc3a81653e5d43
--- /dev/null
+++ b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/internal/decoders/line.js
@@ -0,0 +1,113 @@
+"use strict";
+var _LineDecoder_buffer, _LineDecoder_carriageReturnIndex;
+Object.defineProperty(exports, "__esModule", { value: true });
+exports.LineDecoder = void 0;
+exports.findDoubleNewlineIndex = findDoubleNewlineIndex;
+const tslib_1 = require("../tslib.js");
+const bytes_1 = require("../utils/bytes.js");
+/**
+ * A re-implementation of httpx's `LineDecoder` in Python that handles incrementally
+ * reading lines from text.
+ *
+ * https://github.com/encode/httpx/blob/920333ea98118e9cf617f246905d7b202510941c/httpx/_decoders.py#L258
+ */
+class LineDecoder {
+ constructor() {
+ _LineDecoder_buffer.set(this, void 0);
+ _LineDecoder_carriageReturnIndex.set(this, void 0);
+ tslib_1.__classPrivateFieldSet(this, _LineDecoder_buffer, new Uint8Array(), "f");
+ tslib_1.__classPrivateFieldSet(this, _LineDecoder_carriageReturnIndex, null, "f");
+ }
+ decode(chunk) {
+ if (chunk == null) {
+ return [];
+ }
+ const binaryChunk = chunk instanceof ArrayBuffer ? new Uint8Array(chunk)
+ : typeof chunk === 'string' ? (0, bytes_1.encodeUTF8)(chunk)
+ : chunk;
+ tslib_1.__classPrivateFieldSet(this, _LineDecoder_buffer, (0, bytes_1.concatBytes)([tslib_1.__classPrivateFieldGet(this, _LineDecoder_buffer, "f"), binaryChunk]), "f");
+ const lines = [];
+ let patternIndex;
+ while ((patternIndex = findNewlineIndex(tslib_1.__classPrivateFieldGet(this, _LineDecoder_buffer, "f"), tslib_1.__classPrivateFieldGet(this, _LineDecoder_carriageReturnIndex, "f"))) != null) {
+ if (patternIndex.carriage && tslib_1.__classPrivateFieldGet(this, _LineDecoder_carriageReturnIndex, "f") == null) {
+ // skip until we either get a corresponding `\n`, a new `\r` or nothing
+ tslib_1.__classPrivateFieldSet(this, _LineDecoder_carriageReturnIndex, patternIndex.index, "f");
+ continue;
+ }
+ // we got double \r or \rtext\n
+ if (tslib_1.__classPrivateFieldGet(this, _LineDecoder_carriageReturnIndex, "f") != null &&
+ (patternIndex.index !== tslib_1.__classPrivateFieldGet(this, _LineDecoder_carriageReturnIndex, "f") + 1 || patternIndex.carriage)) {
+ lines.push((0, bytes_1.decodeUTF8)(tslib_1.__classPrivateFieldGet(this, _LineDecoder_buffer, "f").subarray(0, tslib_1.__classPrivateFieldGet(this, _LineDecoder_carriageReturnIndex, "f") - 1)));
+ tslib_1.__classPrivateFieldSet(this, _LineDecoder_buffer, tslib_1.__classPrivateFieldGet(this, _LineDecoder_buffer, "f").subarray(tslib_1.__classPrivateFieldGet(this, _LineDecoder_carriageReturnIndex, "f")), "f");
+ tslib_1.__classPrivateFieldSet(this, _LineDecoder_carriageReturnIndex, null, "f");
+ continue;
+ }
+ const endIndex = tslib_1.__classPrivateFieldGet(this, _LineDecoder_carriageReturnIndex, "f") !== null ? patternIndex.preceding - 1 : patternIndex.preceding;
+ const line = (0, bytes_1.decodeUTF8)(tslib_1.__classPrivateFieldGet(this, _LineDecoder_buffer, "f").subarray(0, endIndex));
+ lines.push(line);
+ tslib_1.__classPrivateFieldSet(this, _LineDecoder_buffer, tslib_1.__classPrivateFieldGet(this, _LineDecoder_buffer, "f").subarray(patternIndex.index), "f");
+ tslib_1.__classPrivateFieldSet(this, _LineDecoder_carriageReturnIndex, null, "f");
+ }
+ return lines;
+ }
+ flush() {
+ if (!tslib_1.__classPrivateFieldGet(this, _LineDecoder_buffer, "f").length) {
+ return [];
+ }
+ return this.decode('\n');
+ }
+}
+exports.LineDecoder = LineDecoder;
+_LineDecoder_buffer = new WeakMap(), _LineDecoder_carriageReturnIndex = new WeakMap();
+// prettier-ignore
+LineDecoder.NEWLINE_CHARS = new Set(['\n', '\r']);
+LineDecoder.NEWLINE_REGEXP = /\r\n|[\n\r]/g;
+/**
+ * This function searches the buffer for the end patterns, (\r or \n)
+ * and returns an object with the index preceding the matched newline and the
+ * index after the newline char. `null` is returned if no new line is found.
+ *
+ * ```ts
+ * findNewLineIndex('abc\ndef') -> { preceding: 2, index: 3 }
+ * ```
+ */
+function findNewlineIndex(buffer, startIndex) {
+ const newline = 0x0a; // \n
+ const carriage = 0x0d; // \r
+ for (let i = startIndex ?? 0; i < buffer.length; i++) {
+ if (buffer[i] === newline) {
+ return { preceding: i, index: i + 1, carriage: false };
+ }
+ if (buffer[i] === carriage) {
+ return { preceding: i, index: i + 1, carriage: true };
+ }
+ }
+ return null;
+}
+function findDoubleNewlineIndex(buffer) {
+ // This function searches the buffer for the end patterns (\r\r, \n\n, \r\n\r\n)
+ // and returns the index right after the first occurrence of any pattern,
+ // or -1 if none of the patterns are found.
+ const newline = 0x0a; // \n
+ const carriage = 0x0d; // \r
+ for (let i = 0; i < buffer.length - 1; i++) {
+ if (buffer[i] === newline && buffer[i + 1] === newline) {
+ // \n\n
+ return i + 2;
+ }
+ if (buffer[i] === carriage && buffer[i + 1] === carriage) {
+ // \r\r
+ return i + 2;
+ }
+ if (buffer[i] === carriage &&
+ buffer[i + 1] === newline &&
+ i + 3 < buffer.length &&
+ buffer[i + 2] === carriage &&
+ buffer[i + 3] === newline) {
+ // \r\n\r\n
+ return i + 4;
+ }
+ }
+ return -1;
+}
+//# sourceMappingURL=line.js.map
\ No newline at end of file
diff --git a/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/internal/decoders/line.js.map b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/internal/decoders/line.js.map
new file mode 100644
index 0000000000000000000000000000000000000000..724edf3c3c2462015d4dc17a254502ce15eae5da
--- /dev/null
+++ b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/internal/decoders/line.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"line.js","sourceRoot":"","sources":["../../src/internal/decoders/line.ts"],"names":[],"mappings":";;;;AAyGA,wDA6BC;;AAtID,6CAAqE;AAIrE;;;;;GAKG;AACH,MAAa,WAAW;IAQtB;QAHA,sCAAoB;QACpB,mDAAoC;QAGlC,+BAAA,IAAI,uBAAW,IAAI,UAAU,EAAE,MAAA,CAAC;QAChC,+BAAA,IAAI,oCAAwB,IAAI,MAAA,CAAC;IACnC,CAAC;IAED,MAAM,CAAC,KAAY;QACjB,IAAI,KAAK,IAAI,IAAI,EAAE,CAAC;YAClB,OAAO,EAAE,CAAC;QACZ,CAAC;QAED,MAAM,WAAW,GACf,KAAK,YAAY,WAAW,CAAC,CAAC,CAAC,IAAI,UAAU,CAAC,KAAK,CAAC;YACpD,CAAC,CAAC,OAAO,KAAK,KAAK,QAAQ,CAAC,CAAC,CAAC,IAAA,kBAAU,EAAC,KAAK,CAAC;gBAC/C,CAAC,CAAC,KAAK,CAAC;QAEV,+BAAA,IAAI,uBAAW,IAAA,mBAAW,EAAC,CAAC,+BAAA,IAAI,2BAAQ,EAAE,WAAW,CAAC,CAAC,MAAA,CAAC;QAExD,MAAM,KAAK,GAAa,EAAE,CAAC;QAC3B,IAAI,YAAY,CAAC;QACjB,OAAO,CAAC,YAAY,GAAG,gBAAgB,CAAC,+BAAA,IAAI,2BAAQ,EAAE,+BAAA,IA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KAAK;IAE5B,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,MAAM,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC;QAC3C,IAAI,MAAM,CAAC,CAAC,CAAC,KAAK,OAAO,IAAI,MAAM,CAAC,CAAC,GAAG,CAAC,CAAC,KAAK,OAAO,EAAE,CAAC;YACvD,OAAO;YACP,OAAO,CAAC,GAAG,CAAC,CAAC;QACf,CAAC;QACD,IAAI,MAAM,CAAC,CAAC,CAAC,KAAK,QAAQ,IAAI,MAAM,CAAC,CAAC,GAAG,CAAC,CAAC,KAAK,QAAQ,EAAE,CAAC;YACzD,OAAO;YACP,OAAO,CAAC,GAAG,CAAC,CAAC;QACf,CAAC;QACD,IACE,MAAM,CAAC,CAAC,CAAC,KAAK,QAAQ;YACtB,MAAM,CAAC,CAAC,GAAG,CAAC,CAAC,KAAK,OAAO;YACzB,CAAC,GAAG,CAAC,GAAG,MAAM,CAAC,MAAM;YACrB,MAAM,CAAC,CAAC,GAAG,CAAC,CAAC,KAAK,QAAQ;YAC1B,MAAM,CAAC,CAAC,GAAG,CAAC,CAAC,KAAK,OAAO,EACzB,CAAC;YACD,WAAW;YACX,OAAO,CAAC,GAAG,CAAC,CAAC;QACf,CAAC;IACH,CAAC;IAED,OAAO,CAAC,CAAC,CAAC;AACZ,CAAC"}
\ No newline at end of file
diff --git a/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/internal/decoders/line.mjs b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/internal/decoders/line.mjs
new file mode 100644
index 0000000000000000000000000000000000000000..3e1207c0883f85ed285902ea8516b0a4a3b30520
--- /dev/null
+++ b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/internal/decoders/line.mjs
@@ -0,0 +1,108 @@
+var _LineDecoder_buffer, _LineDecoder_carriageReturnIndex;
+import { __classPrivateFieldGet, __classPrivateFieldSet } from "../tslib.mjs";
+import { concatBytes, decodeUTF8, encodeUTF8 } from "../utils/bytes.mjs";
+/**
+ * A re-implementation of httpx's `LineDecoder` in Python that handles incrementally
+ * reading lines from text.
+ *
+ * https://github.com/encode/httpx/blob/920333ea98118e9cf617f246905d7b202510941c/httpx/_decoders.py#L258
+ */
+export class LineDecoder {
+ constructor() {
+ _LineDecoder_buffer.set(this, void 0);
+ _LineDecoder_carriageReturnIndex.set(this, void 0);
+ __classPrivateFieldSet(this, _LineDecoder_buffer, new Uint8Array(), "f");
+ __classPrivateFieldSet(this, _LineDecoder_carriageReturnIndex, null, "f");
+ }
+ decode(chunk) {
+ if (chunk == null) {
+ return [];
+ }
+ const binaryChunk = chunk instanceof ArrayBuffer ? new Uint8Array(chunk)
+ : typeof chunk === 'string' ? encodeUTF8(chunk)
+ : chunk;
+ __classPrivateFieldSet(this, _LineDecoder_buffer, concatBytes([__classPrivateFieldGet(this, _LineDecoder_buffer, "f"), binaryChunk]), "f");
+ const lines = [];
+ let patternIndex;
+ while ((patternIndex = findNewlineIndex(__classPrivateFieldGet(this, _LineDecoder_buffer, "f"), __classPrivateFieldGet(this, _LineDecoder_carriageReturnIndex, "f"))) != null) {
+ if (patternIndex.carriage && __classPrivateFieldGet(this, _LineDecoder_carriageReturnIndex, "f") == null) {
+ // skip until we either get a corresponding `\n`, a new `\r` or nothing
+ __classPrivateFieldSet(this, _LineDecoder_carriageReturnIndex, patternIndex.index, "f");
+ continue;
+ }
+ // we got double \r or \rtext\n
+ if (__classPrivateFieldGet(this, _LineDecoder_carriageReturnIndex, "f") != null &&
+ (patternIndex.index !== __classPrivateFieldGet(this, _LineDecoder_carriageReturnIndex, "f") + 1 || patternIndex.carriage)) {
+ lines.push(decodeUTF8(__classPrivateFieldGet(this, _LineDecoder_buffer, "f").subarray(0, __classPrivateFieldGet(this, _LineDecoder_carriageReturnIndex, "f") - 1)));
+ __classPrivateFieldSet(this, _LineDecoder_buffer, __classPrivateFieldGet(this, _LineDecoder_buffer, "f").subarray(__classPrivateFieldGet(this, _LineDecoder_carriageReturnIndex, "f")), "f");
+ __classPrivateFieldSet(this, _LineDecoder_carriageReturnIndex, null, "f");
+ continue;
+ }
+ const endIndex = __classPrivateFieldGet(this, _LineDecoder_carriageReturnIndex, "f") !== null ? patternIndex.preceding - 1 : patternIndex.preceding;
+ const line = decodeUTF8(__classPrivateFieldGet(this, _LineDecoder_buffer, "f").subarray(0, endIndex));
+ lines.push(line);
+ __classPrivateFieldSet(this, _LineDecoder_buffer, __classPrivateFieldGet(this, _LineDecoder_buffer, "f").subarray(patternIndex.index), "f");
+ __classPrivateFieldSet(this, _LineDecoder_carriageReturnIndex, null, "f");
+ }
+ return lines;
+ }
+ flush() {
+ if (!__classPrivateFieldGet(this, _LineDecoder_buffer, "f").length) {
+ return [];
+ }
+ return this.decode('\n');
+ }
+}
+_LineDecoder_buffer = new WeakMap(), _LineDecoder_carriageReturnIndex = new WeakMap();
+// prettier-ignore
+LineDecoder.NEWLINE_CHARS = new Set(['\n', '\r']);
+LineDecoder.NEWLINE_REGEXP = /\r\n|[\n\r]/g;
+/**
+ * This function searches the buffer for the end patterns, (\r or \n)
+ * and returns an object with the index preceding the matched newline and the
+ * index after the newline char. `null` is returned if no new line is found.
+ *
+ * ```ts
+ * findNewLineIndex('abc\ndef') -> { preceding: 2, index: 3 }
+ * ```
+ */
+function findNewlineIndex(buffer, startIndex) {
+ const newline = 0x0a; // \n
+ const carriage = 0x0d; // \r
+ for (let i = startIndex ?? 0; i < buffer.length; i++) {
+ if (buffer[i] === newline) {
+ return { preceding: i, index: i + 1, carriage: false };
+ }
+ if (buffer[i] === carriage) {
+ return { preceding: i, index: i + 1, carriage: true };
+ }
+ }
+ return null;
+}
+export function findDoubleNewlineIndex(buffer) {
+ // This function searches the buffer for the end patterns (\r\r, \n\n, \r\n\r\n)
+ // and returns the index right after the first occurrence of any pattern,
+ // or -1 if none of the patterns are found.
+ const newline = 0x0a; // \n
+ const carriage = 0x0d; // \r
+ for (let i = 0; i < buffer.length - 1; i++) {
+ if (buffer[i] === newline && buffer[i + 1] === newline) {
+ // \n\n
+ return i + 2;
+ }
+ if (buffer[i] === carriage && buffer[i + 1] === carriage) {
+ // \r\r
+ return i + 2;
+ }
+ if (buffer[i] === carriage &&
+ buffer[i + 1] === newline &&
+ i + 3 < buffer.length &&
+ buffer[i + 2] === carriage &&
+ buffer[i + 3] === newline) {
+ // \r\n\r\n
+ return i + 4;
+ }
+ }
+ return -1;
+}
+//# sourceMappingURL=line.mjs.map
\ No newline at end of file
diff --git a/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/internal/decoders/line.mjs.map b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/internal/decoders/line.mjs.map
new file mode 100644
index 0000000000000000000000000000000000000000..2ef413a960a9d7e5c8774c5ad3e81ad35d32e2a5
--- /dev/null
+++ b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/internal/decoders/line.mjs.map
@@ -0,0 +1 @@
+{"version":3,"file":"line.mjs","sourceRoot":"","sources":["../../src/internal/decoders/line.ts"],"names":[],"mappings":";;OAAO,EAAE,WAAW,EAAE,UAAU,EAAE,UAAU,EAAE;AAI9C;;;;;GAKG;AACH,MAAM,OAAO,WAAW;IAQtB;QAHA,sCAAoB;QACpB,mDAAoC;QAGlC,uBAAA,IAAI,uBAAW,IAAI,UAAU,EAAE,MAAA,CAAC;QAChC,uBAAA,IAAI,oCAAwB,IAAI,MAAA,CAAC;IACnC,CAAC;IAED,MAAM,CAAC,KAAY;QACjB,IAAI,KAAK,IAAI,IAAI,EAAE,CAAC;YAClB,OAAO,EAAE,CAAC;QACZ,CAAC;QAED,MAAM,WAAW,GACf,KAAK,YAAY,WAAW,CAAC,CAAC,CAAC,IAAI,UAAU,CAAC,KAAK,CAAC;YACpD,CAAC,CAAC,OAAO,KAAK,KAAK,QAAQ,CAAC,CAAC,CAAC,UAAU,CAAC,KAAK,CAAC;gBAC/C,CAAC,CAAC,KA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xD,CAAC;IACH,CAAC;IAED,OAAO,IAAI,CAAC;AACd,CAAC;AAED,MAAM,UAAU,sBAAsB,CAAC,MAAkB;IACvD,gFAAgF;IAChF,yEAAyE;IACzE,2CAA2C;IAC3C,MAAM,OAAO,GAAG,IAAI,CAAC,CAAC,KAAK;IAC3B,MAAM,QAAQ,GAAG,IAAI,CAAC,CAAC,KAAK;IAE5B,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,MAAM,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC;QAC3C,IAAI,MAAM,CAAC,CAAC,CAAC,KAAK,OAAO,IAAI,MAAM,CAAC,CAAC,GAAG,CAAC,CAAC,KAAK,OAAO,EAAE,CAAC;YACvD,OAAO;YACP,OAAO,CAAC,GAAG,CAAC,CAAC;QACf,CAAC;QACD,IAAI,MAAM,CAAC,CAAC,CAAC,KAAK,QAAQ,IAAI,MAAM,CAAC,CAAC,GAAG,CAAC,CAAC,KAAK,QAAQ,EAAE,CAAC;YACzD,OAAO;YACP,OAAO,CAAC,GAAG,CAAC,CAAC;QACf,CAAC;QACD,IACE,MAAM,CAAC,CAAC,CAAC,KAAK,QAAQ;YACtB,MAAM,CAAC,CAAC,GAAG,CAAC,CAAC,KAAK,OAAO;YACzB,CAAC,GAAG,CAAC,GAAG,MAAM,CAAC,MAAM;YACrB,MAAM,CAAC,CAAC,GAAG,CAAC,CAAC,KAAK,QAAQ;YAC1B,MAAM,CAAC,CAAC,GAAG,CAAC,CAAC,KAAK,OAAO,EACzB,CAAC;YACD,WAAW;YACX,OAAO,CAAC,GAAG,CAAC,CAAC;QACf,CAAC;IACH,CAAC;IAED,OAAO,CAAC,CAAC,CAAC;AACZ,CAAC"}
\ No newline at end of file
diff --git a/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/internal/detect-platform.d.mts b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/internal/detect-platform.d.mts
new file mode 100644
index 0000000000000000000000000000000000000000..bbf4151ae79eeecdfa8703c1d69c0e93c7f7b017
--- /dev/null
+++ b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/internal/detect-platform.d.mts
@@ -0,0 +1,15 @@
+export declare const isRunningInBrowser: () => boolean;
+type Arch = 'x32' | 'x64' | 'arm' | 'arm64' | `other:${string}` | 'unknown';
+type PlatformName = 'MacOS' | 'Linux' | 'Windows' | 'FreeBSD' | 'OpenBSD' | 'iOS' | 'Android' | `Other:${string}` | 'Unknown';
+type Browser = 'ie' | 'edge' | 'chrome' | 'firefox' | 'safari';
+type PlatformProperties = {
+ 'X-Stainless-Lang': 'js';
+ 'X-Stainless-Package-Version': string;
+ 'X-Stainless-OS': PlatformName;
+ 'X-Stainless-Arch': Arch;
+ 'X-Stainless-Runtime': 'node' | 'deno' | 'edge' | `browser:${Browser}` | 'unknown';
+ 'X-Stainless-Runtime-Version': string;
+};
+export declare const getPlatformHeaders: () => PlatformProperties;
+export {};
+//# sourceMappingURL=detect-platform.d.mts.map
\ No newline at end of file
diff --git a/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/internal/detect-platform.d.mts.map b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/internal/detect-platform.d.mts.map
new file mode 100644
index 0000000000000000000000000000000000000000..53b52c8cc4ff153c93018a01facd8589e2989044
--- /dev/null
+++ b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/internal/detect-platform.d.mts.map
@@ -0,0 +1 @@
+{"version":3,"file":"detect-platform.d.mts","sourceRoot":"","sources":["../src/internal/detect-platform.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,kBAAkB,eAS9B,CAAC;AA0BF,KAAK,IAAI,GAAG,KAAK,GAAG,KAAK,GAAG,KAAK,GAAG,OAAO,GAAG,SAAS,MAAM,EAAE,GAAG,SAAS,CAAC;AAC5E,KAAK,YAAY,GACb,OAAO,GACP,OAAO,GACP,SAAS,GACT,SAAS,GACT,SAAS,GACT,KAAK,GACL,SAAS,GACT,SAAS,MAAM,EAAE,GACjB,SAAS,CAAC;AACd,KAAK,OAAO,GAAG,IAAI,GAAG,MAAM,GAAG,QAAQ,GAAG,SAAS,GAAG,QAAQ,CAAC;AAC/D,KAAK,kBAAkB,GAAG;IACxB,kBAAkB,EAAE,IAAI,CAAC;IACzB,6BAA6B,EAAE,MAAM,CAAC;IACtC,gBAAgB,EAAE,YAAY,CAAC;IAC/B,kBAAkB,EAAE,IAAI,CAAC;IACzB,qBAAqB,EAAE,MAAM,GAAG,MAAM,GAAG,MAAM,GAAG,WAAW,OAAO,EAAE,GAAG,SAAS,CAAC;IACnF,6BAA6B,EAAE,MAAM,CAAC;CACvC,CAAC;AAuIF,eAAO,MAAM,kBAAkB,0BAE9B,CAAC"}
\ No newline at end of file
diff --git a/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/internal/detect-platform.d.ts b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/internal/detect-platform.d.ts
new file mode 100644
index 0000000000000000000000000000000000000000..f7e7cd3aa55331969897cf5ca56d8b4b9618de43
--- /dev/null
+++ b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/internal/detect-platform.d.ts
@@ -0,0 +1,15 @@
+export declare const isRunningInBrowser: () => boolean;
+type Arch = 'x32' | 'x64' | 'arm' | 'arm64' | `other:${string}` | 'unknown';
+type PlatformName = 'MacOS' | 'Linux' | 'Windows' | 'FreeBSD' | 'OpenBSD' | 'iOS' | 'Android' | `Other:${string}` | 'Unknown';
+type Browser = 'ie' | 'edge' | 'chrome' | 'firefox' | 'safari';
+type PlatformProperties = {
+ 'X-Stainless-Lang': 'js';
+ 'X-Stainless-Package-Version': string;
+ 'X-Stainless-OS': PlatformName;
+ 'X-Stainless-Arch': Arch;
+ 'X-Stainless-Runtime': 'node' | 'deno' | 'edge' | `browser:${Browser}` | 'unknown';
+ 'X-Stainless-Runtime-Version': string;
+};
+export declare const getPlatformHeaders: () => PlatformProperties;
+export {};
+//# sourceMappingURL=detect-platform.d.ts.map
\ No newline at end of file
diff --git a/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/internal/detect-platform.d.ts.map b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/internal/detect-platform.d.ts.map
new file mode 100644
index 0000000000000000000000000000000000000000..cc17923710a979c90fb1c09170e2bb52270c9b4e
--- /dev/null
+++ b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/internal/detect-platform.d.ts.map
@@ -0,0 +1 @@
+{"version":3,"file":"detect-platform.d.ts","sourceRoot":"","sources":["../src/internal/detect-platform.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,kBAAkB,eAS9B,CAAC;AA0BF,KAAK,IAAI,GAAG,KAAK,GAAG,KAAK,GAAG,KAAK,GAAG,OAAO,GAAG,SAAS,MAAM,EAAE,GAAG,SAAS,CAAC;AAC5E,KAAK,YAAY,GACb,OAAO,GACP,OAAO,GACP,SAAS,GACT,SAAS,GACT,SAAS,GACT,KAAK,GACL,SAAS,GACT,SAAS,MAAM,EAAE,GACjB,SAAS,CAAC;AACd,KAAK,OAAO,GAAG,IAAI,GAAG,MAAM,GAAG,QAAQ,GAAG,SAAS,GAAG,QAAQ,CAAC;AAC/D,KAAK,kBAAkB,GAAG;IACxB,kBAAkB,EAAE,IAAI,CAAC;IACzB,6BAA6B,EAAE,MAAM,CAAC;IACtC,gBAAgB,EAAE,YAAY,CAAC;IAC/B,kBAAkB,EAAE,IAAI,CAAC;IACzB,qBAAqB,EAAE,MAAM,GAAG,MAAM,GAAG,MAAM,GAAG,WAAW,OAAO,EAAE,GAAG,SAAS,CAAC;IACnF,6BAA6B,EAAE,MAAM,CAAC;CACvC,CAAC;AAuIF,eAAO,MAAM,kBAAkB,0BAE9B,CAAC"}
\ No newline at end of file
diff --git a/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/internal/detect-platform.js b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/internal/detect-platform.js
new file mode 100644
index 0000000000000000000000000000000000000000..4b44ddc542e3e48616f192021118261115f28930
--- /dev/null
+++ b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/internal/detect-platform.js
@@ -0,0 +1,162 @@
+"use strict";
+// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
+Object.defineProperty(exports, "__esModule", { value: true });
+exports.getPlatformHeaders = exports.isRunningInBrowser = void 0;
+const version_1 = require("../version.js");
+const isRunningInBrowser = () => {
+ return (
+ // @ts-ignore
+ typeof window !== 'undefined' &&
+ // @ts-ignore
+ typeof window.document !== 'undefined' &&
+ // @ts-ignore
+ typeof navigator !== 'undefined');
+};
+exports.isRunningInBrowser = isRunningInBrowser;
+/**
+ * Note this does not detect 'browser'; for that, use getBrowserInfo().
+ */
+function getDetectedPlatform() {
+ if (typeof Deno !== 'undefined' && Deno.build != null) {
+ return 'deno';
+ }
+ if (typeof EdgeRuntime !== 'undefined') {
+ return 'edge';
+ }
+ if (Object.prototype.toString.call(typeof globalThis.process !== 'undefined' ? globalThis.process : 0) === '[object process]') {
+ return 'node';
+ }
+ return 'unknown';
+}
+const getPlatformProperties = () => {
+ const detectedPlatform = getDetectedPlatform();
+ if (detectedPlatform === 'deno') {
+ return {
+ 'X-Stainless-Lang': 'js',
+ 'X-Stainless-Package-Version': version_1.VERSION,
+ 'X-Stainless-OS': normalizePlatform(Deno.build.os),
+ 'X-Stainless-Arch': normalizeArch(Deno.build.arch),
+ 'X-Stainless-Runtime': 'deno',
+ 'X-Stainless-Runtime-Version': typeof Deno.version === 'string' ? Deno.version : Deno.version?.deno ?? 'unknown',
+ };
+ }
+ if (typeof EdgeRuntime !== 'undefined') {
+ return {
+ 'X-Stainless-Lang': 'js',
+ 'X-Stainless-Package-Version': version_1.VERSION,
+ 'X-Stainless-OS': 'Unknown',
+ 'X-Stainless-Arch': `other:${EdgeRuntime}`,
+ 'X-Stainless-Runtime': 'edge',
+ 'X-Stainless-Runtime-Version': globalThis.process.version,
+ };
+ }
+ // Check if Node.js
+ if (detectedPlatform === 'node') {
+ return {
+ 'X-Stainless-Lang': 'js',
+ 'X-Stainless-Package-Version': version_1.VERSION,
+ 'X-Stainless-OS': normalizePlatform(globalThis.process.platform ?? 'unknown'),
+ 'X-Stainless-Arch': normalizeArch(globalThis.process.arch ?? 'unknown'),
+ 'X-Stainless-Runtime': 'node',
+ 'X-Stainless-Runtime-Version': globalThis.process.version ?? 'unknown',
+ };
+ }
+ const browserInfo = getBrowserInfo();
+ if (browserInfo) {
+ return {
+ 'X-Stainless-Lang': 'js',
+ 'X-Stainless-Package-Version': version_1.VERSION,
+ 'X-Stainless-OS': 'Unknown',
+ 'X-Stainless-Arch': 'unknown',
+ 'X-Stainless-Runtime': `browser:${browserInfo.browser}`,
+ 'X-Stainless-Runtime-Version': browserInfo.version,
+ };
+ }
+ // TODO add support for Cloudflare workers, etc.
+ return {
+ 'X-Stainless-Lang': 'js',
+ 'X-Stainless-Package-Version': version_1.VERSION,
+ 'X-Stainless-OS': 'Unknown',
+ 'X-Stainless-Arch': 'unknown',
+ 'X-Stainless-Runtime': 'unknown',
+ 'X-Stainless-Runtime-Version': 'unknown',
+ };
+};
+// Note: modified from https://github.com/JS-DevTools/host-environment/blob/b1ab79ecde37db5d6e163c050e54fe7d287d7c92/src/isomorphic.browser.ts
+function getBrowserInfo() {
+ if (typeof navigator === 'undefined' || !navigator) {
+ return null;
+ }
+ // NOTE: The order matters here!
+ const browserPatterns = [
+ { key: 'edge', pattern: /Edge(?:\W+(\d+)\.(\d+)(?:\.(\d+))?)?/ },
+ { key: 'ie', pattern: /MSIE(?:\W+(\d+)\.(\d+)(?:\.(\d+))?)?/ },
+ { key: 'ie', pattern: /Trident(?:.*rv\:(\d+)\.(\d+)(?:\.(\d+))?)?/ },
+ { key: 'chrome', pattern: /Chrome(?:\W+(\d+)\.(\d+)(?:\.(\d+))?)?/ },
+ { key: 'firefox', pattern: /Firefox(?:\W+(\d+)\.(\d+)(?:\.(\d+))?)?/ },
+ { key: 'safari', pattern: /(?:Version\W+(\d+)\.(\d+)(?:\.(\d+))?)?(?:\W+Mobile\S*)?\W+Safari/ },
+ ];
+ // Find the FIRST matching browser
+ for (const { key, pattern } of browserPatterns) {
+ const match = pattern.exec(navigator.userAgent);
+ if (match) {
+ const major = match[1] || 0;
+ const minor = match[2] || 0;
+ const patch = match[3] || 0;
+ return { browser: key, version: `${major}.${minor}.${patch}` };
+ }
+ }
+ return null;
+}
+const normalizeArch = (arch) => {
+ // Node docs:
+ // - https://nodejs.org/api/process.html#processarch
+ // Deno docs:
+ // - https://doc.deno.land/deno/stable/~/Deno.build
+ if (arch === 'x32')
+ return 'x32';
+ if (arch === 'x86_64' || arch === 'x64')
+ return 'x64';
+ if (arch === 'arm')
+ return 'arm';
+ if (arch === 'aarch64' || arch === 'arm64')
+ return 'arm64';
+ if (arch)
+ return `other:${arch}`;
+ return 'unknown';
+};
+const normalizePlatform = (platform) => {
+ // Node platforms:
+ // - https://nodejs.org/api/process.html#processplatform
+ // Deno platforms:
+ // - https://doc.deno.land/deno/stable/~/Deno.build
+ // - https://github.com/denoland/deno/issues/14799
+ platform = platform.toLowerCase();
+ // NOTE: this iOS check is untested and may not work
+ // Node does not work natively on IOS, there is a fork at
+ // https://github.com/nodejs-mobile/nodejs-mobile
+ // however it is unknown at the time of writing how to detect if it is running
+ if (platform.includes('ios'))
+ return 'iOS';
+ if (platform === 'android')
+ return 'Android';
+ if (platform === 'darwin')
+ return 'MacOS';
+ if (platform === 'win32')
+ return 'Windows';
+ if (platform === 'freebsd')
+ return 'FreeBSD';
+ if (platform === 'openbsd')
+ return 'OpenBSD';
+ if (platform === 'linux')
+ return 'Linux';
+ if (platform)
+ return `Other:${platform}`;
+ return 'Unknown';
+};
+let _platformHeaders;
+const getPlatformHeaders = () => {
+ return (_platformHeaders ?? (_platformHeaders = getPlatformProperties()));
+};
+exports.getPlatformHeaders = getPlatformHeaders;
+//# sourceMappingURL=detect-platform.js.map
\ No newline at end of file
diff --git a/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/internal/detect-platform.js.map b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/internal/detect-platform.js.map
new file mode 100644
index 0000000000000000000000000000000000000000..83f71f0459a2e55e68f80b95be9d8dcb367f11de
--- /dev/null
+++ b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/internal/detect-platform.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"detect-platform.js","sourceRoot":"","sources":["../src/internal/detect-platform.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,2CAAqC;AAE9B,MAAM,kBAAkB,GAAG,GAAG,EAAE;IACrC,OAAO;IACL,aAAa;IACb,OAAO,MAAM,KAAK,WAAW;QAC7B,aAAa;QACb,OAAO,MAAM,CAAC,QAAQ,KAAK,WAAW;QACtC,aAAa;QACb,OAAO,SAAS,KAAK,WAAW,CACjC,CAAC;AACJ,CAAC,CAAC;AATW,QAAA,kBAAkB,sBAS7B;AAIF;;GAEG;AACH,SAAS,mBAAmB;IAC1B,IAAI,OAAO,IAAI,KAAK,WAAW,IAAI,IAAI,CAAC,KAAK,IAAI,IAAI,EAAE,CAAC;QACtD,OAAO,MAAM,CAAC;IAChB,CAAC;IACD,IAAI,OAAO,WAAW,KAAK,WAAW,EAAE,CAAC;QACvC,OAAO,MAAM,CAAC;IAChB,CAAC;IACD,IACE,MAAM,CAAC,SAAS,CAAC,QAAQ,CAAC,IAAI,CAC5B,OAAQ,UAAkB,CAAC,OAAO,KAAK,WAAW,CAAC,CAAC,CAAE,UAAkB,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,CACrF,KAAK,kBAAkB,EACxB,CAAC;QACD,OAAO,MAAM,CAAC;IAChB,CAAC;IACD,OAAO,SAAS,CAAC;AACnB,CAAC;AAwBD,MAAM,qBAAqB,G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IAAI,QAAQ,KAAK,QAAQ;QAAE,OAAO,OAAO,CAAC;IAC1C,IAAI,QAAQ,KAAK,OAAO;QAAE,OAAO,SAAS,CAAC;IAC3C,IAAI,QAAQ,KAAK,SAAS;QAAE,OAAO,SAAS,CAAC;IAC7C,IAAI,QAAQ,KAAK,SAAS;QAAE,OAAO,SAAS,CAAC;IAC7C,IAAI,QAAQ,KAAK,OAAO;QAAE,OAAO,OAAO,CAAC;IACzC,IAAI,QAAQ;QAAE,OAAO,SAAS,QAAQ,EAAE,CAAC;IACzC,OAAO,SAAS,CAAC;AACnB,CAAC,CAAC;AAEF,IAAI,gBAAoC,CAAC;AAClC,MAAM,kBAAkB,GAAG,GAAG,EAAE;IACrC,OAAO,CAAC,gBAAgB,KAAhB,gBAAgB,GAAK,qBAAqB,EAAE,EAAC,CAAC;AACxD,CAAC,CAAC;AAFW,QAAA,kBAAkB,sBAE7B"}
\ No newline at end of file
diff --git a/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/internal/detect-platform.mjs b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/internal/detect-platform.mjs
new file mode 100644
index 0000000000000000000000000000000000000000..7e828ecf98739dfcd1e3527824584a3a16467db3
--- /dev/null
+++ b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/internal/detect-platform.mjs
@@ -0,0 +1,157 @@
+// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
+import { VERSION } from "../version.mjs";
+export const isRunningInBrowser = () => {
+ return (
+ // @ts-ignore
+ typeof window !== 'undefined' &&
+ // @ts-ignore
+ typeof window.document !== 'undefined' &&
+ // @ts-ignore
+ typeof navigator !== 'undefined');
+};
+/**
+ * Note this does not detect 'browser'; for that, use getBrowserInfo().
+ */
+function getDetectedPlatform() {
+ if (typeof Deno !== 'undefined' && Deno.build != null) {
+ return 'deno';
+ }
+ if (typeof EdgeRuntime !== 'undefined') {
+ return 'edge';
+ }
+ if (Object.prototype.toString.call(typeof globalThis.process !== 'undefined' ? globalThis.process : 0) === '[object process]') {
+ return 'node';
+ }
+ return 'unknown';
+}
+const getPlatformProperties = () => {
+ const detectedPlatform = getDetectedPlatform();
+ if (detectedPlatform === 'deno') {
+ return {
+ 'X-Stainless-Lang': 'js',
+ 'X-Stainless-Package-Version': VERSION,
+ 'X-Stainless-OS': normalizePlatform(Deno.build.os),
+ 'X-Stainless-Arch': normalizeArch(Deno.build.arch),
+ 'X-Stainless-Runtime': 'deno',
+ 'X-Stainless-Runtime-Version': typeof Deno.version === 'string' ? Deno.version : Deno.version?.deno ?? 'unknown',
+ };
+ }
+ if (typeof EdgeRuntime !== 'undefined') {
+ return {
+ 'X-Stainless-Lang': 'js',
+ 'X-Stainless-Package-Version': VERSION,
+ 'X-Stainless-OS': 'Unknown',
+ 'X-Stainless-Arch': `other:${EdgeRuntime}`,
+ 'X-Stainless-Runtime': 'edge',
+ 'X-Stainless-Runtime-Version': globalThis.process.version,
+ };
+ }
+ // Check if Node.js
+ if (detectedPlatform === 'node') {
+ return {
+ 'X-Stainless-Lang': 'js',
+ 'X-Stainless-Package-Version': VERSION,
+ 'X-Stainless-OS': normalizePlatform(globalThis.process.platform ?? 'unknown'),
+ 'X-Stainless-Arch': normalizeArch(globalThis.process.arch ?? 'unknown'),
+ 'X-Stainless-Runtime': 'node',
+ 'X-Stainless-Runtime-Version': globalThis.process.version ?? 'unknown',
+ };
+ }
+ const browserInfo = getBrowserInfo();
+ if (browserInfo) {
+ return {
+ 'X-Stainless-Lang': 'js',
+ 'X-Stainless-Package-Version': VERSION,
+ 'X-Stainless-OS': 'Unknown',
+ 'X-Stainless-Arch': 'unknown',
+ 'X-Stainless-Runtime': `browser:${browserInfo.browser}`,
+ 'X-Stainless-Runtime-Version': browserInfo.version,
+ };
+ }
+ // TODO add support for Cloudflare workers, etc.
+ return {
+ 'X-Stainless-Lang': 'js',
+ 'X-Stainless-Package-Version': VERSION,
+ 'X-Stainless-OS': 'Unknown',
+ 'X-Stainless-Arch': 'unknown',
+ 'X-Stainless-Runtime': 'unknown',
+ 'X-Stainless-Runtime-Version': 'unknown',
+ };
+};
+// Note: modified from https://github.com/JS-DevTools/host-environment/blob/b1ab79ecde37db5d6e163c050e54fe7d287d7c92/src/isomorphic.browser.ts
+function getBrowserInfo() {
+ if (typeof navigator === 'undefined' || !navigator) {
+ return null;
+ }
+ // NOTE: The order matters here!
+ const browserPatterns = [
+ { key: 'edge', pattern: /Edge(?:\W+(\d+)\.(\d+)(?:\.(\d+))?)?/ },
+ { key: 'ie', pattern: /MSIE(?:\W+(\d+)\.(\d+)(?:\.(\d+))?)?/ },
+ { key: 'ie', pattern: /Trident(?:.*rv\:(\d+)\.(\d+)(?:\.(\d+))?)?/ },
+ { key: 'chrome', pattern: /Chrome(?:\W+(\d+)\.(\d+)(?:\.(\d+))?)?/ },
+ { key: 'firefox', pattern: /Firefox(?:\W+(\d+)\.(\d+)(?:\.(\d+))?)?/ },
+ { key: 'safari', pattern: /(?:Version\W+(\d+)\.(\d+)(?:\.(\d+))?)?(?:\W+Mobile\S*)?\W+Safari/ },
+ ];
+ // Find the FIRST matching browser
+ for (const { key, pattern } of browserPatterns) {
+ const match = pattern.exec(navigator.userAgent);
+ if (match) {
+ const major = match[1] || 0;
+ const minor = match[2] || 0;
+ const patch = match[3] || 0;
+ return { browser: key, version: `${major}.${minor}.${patch}` };
+ }
+ }
+ return null;
+}
+const normalizeArch = (arch) => {
+ // Node docs:
+ // - https://nodejs.org/api/process.html#processarch
+ // Deno docs:
+ // - https://doc.deno.land/deno/stable/~/Deno.build
+ if (arch === 'x32')
+ return 'x32';
+ if (arch === 'x86_64' || arch === 'x64')
+ return 'x64';
+ if (arch === 'arm')
+ return 'arm';
+ if (arch === 'aarch64' || arch === 'arm64')
+ return 'arm64';
+ if (arch)
+ return `other:${arch}`;
+ return 'unknown';
+};
+const normalizePlatform = (platform) => {
+ // Node platforms:
+ // - https://nodejs.org/api/process.html#processplatform
+ // Deno platforms:
+ // - https://doc.deno.land/deno/stable/~/Deno.build
+ // - https://github.com/denoland/deno/issues/14799
+ platform = platform.toLowerCase();
+ // NOTE: this iOS check is untested and may not work
+ // Node does not work natively on IOS, there is a fork at
+ // https://github.com/nodejs-mobile/nodejs-mobile
+ // however it is unknown at the time of writing how to detect if it is running
+ if (platform.includes('ios'))
+ return 'iOS';
+ if (platform === 'android')
+ return 'Android';
+ if (platform === 'darwin')
+ return 'MacOS';
+ if (platform === 'win32')
+ return 'Windows';
+ if (platform === 'freebsd')
+ return 'FreeBSD';
+ if (platform === 'openbsd')
+ return 'OpenBSD';
+ if (platform === 'linux')
+ return 'Linux';
+ if (platform)
+ return `Other:${platform}`;
+ return 'Unknown';
+};
+let _platformHeaders;
+export const getPlatformHeaders = () => {
+ return (_platformHeaders ?? (_platformHeaders = getPlatformProperties()));
+};
+//# sourceMappingURL=detect-platform.mjs.map
\ No newline at end of file
diff --git a/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/internal/detect-platform.mjs.map b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/internal/detect-platform.mjs.map
new file mode 100644
index 0000000000000000000000000000000000000000..a1575c144ca101790c53510ca2aca22ff60552ce
--- /dev/null
+++ b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/internal/detect-platform.mjs.map
@@ -0,0 +1 @@
+{"version":3,"file":"detect-platform.mjs","sourceRoot":"","sources":["../src/internal/detect-platform.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,OAAO,EAAE;AAElB,MAAM,CAAC,MAAM,kBAAkB,GAAG,GAAG,EAAE;IACrC,OAAO;IACL,aAAa;IACb,OAAO,MAAM,KAAK,WAAW;QAC7B,aAAa;QACb,OAAO,MAAM,CAAC,QAAQ,KAAK,WAAW;QACtC,aAAa;QACb,OAAO,SAAS,KAAK,WAAW,CACjC,CAAC;AACJ,CAAC,CAAC;AAIF;;GAEG;AACH,SAAS,mBAAmB;IAC1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,CAAC;IAC3D,IAAI,IAAI;QAAE,OAAO,SAAS,IAAI,EAAE,CAAC;IACjC,OAAO,SAAS,CAAC;AACnB,CAAC,CAAC;AAEF,MAAM,iBAAiB,GAAG,CAAC,QAAgB,EAAgB,EAAE;IAC3D,kBAAkB;IAClB,wDAAwD;IACxD,kBAAkB;IAClB,mDAAmD;IACnD,kDAAkD;IAElD,QAAQ,GAAG,QAAQ,CAAC,WAAW,EAAE,CAAC;IAElC,oDAAoD;IACpD,yDAAyD;IACzD,iDAAiD;IACjD,8EAA8E;IAC9E,IAAI,QAAQ,CAAC,QAAQ,CAAC,KAAK,CAAC;QAAE,OAAO,KAAK,CAAC;IAC3C,IAAI,QAAQ,KAAK,SAAS;QAAE,OAAO,SAAS,CAAC;IAC7C,IAAI,QAAQ,KAAK,QAAQ;QAAE,OAAO,OAAO,CAAC;IAC1C,IAAI,QAAQ,KAAK,OAAO;QAAE,OAAO,SAAS,CAAC;IAC3C,IAAI,QAAQ,KAAK,SAAS;QAAE,OAAO,SAAS,CAAC;IAC7C,IAAI,QAAQ,KAAK,SAAS;QAAE,OAAO,SAAS,CAAC;IAC7C,IAAI,QAAQ,KAAK,OAAO;QAAE,OAAO,OAAO,CAAC;IACzC,IAAI,QAAQ;QAAE,OAAO,SAAS,QAAQ,EAAE,CAAC;IACzC,OAAO,SAAS,CAAC;AACnB,CAAC,CAAC;AAEF,IAAI,gBAAoC,CAAC;AACzC,MAAM,CAAC,MAAM,kBAAkB,GAAG,GAAG,EAAE;IACrC,OAAO,CAAC,gBAAgB,KAAhB,gBAAgB,GAAK,qBAAqB,EAAE,EAAC,CAAC;AACxD,CAAC,CAAC"}
\ No newline at end of file
diff --git a/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/internal/errors.d.mts b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/internal/errors.d.mts
new file mode 100644
index 0000000000000000000000000000000000000000..2e506995a289c68b3ef0c4c2152a607c435dbfc6
--- /dev/null
+++ b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/internal/errors.d.mts
@@ -0,0 +1,3 @@
+export declare function isAbortError(err: unknown): boolean;
+export declare const castToError: (err: any) => Error;
+//# sourceMappingURL=errors.d.mts.map
\ No newline at end of file
diff --git a/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/internal/errors.d.mts.map b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/internal/errors.d.mts.map
new file mode 100644
index 0000000000000000000000000000000000000000..1ee8ad5323fa30a23e66ecc7e396ddffc952bb97
--- /dev/null
+++ b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/internal/errors.d.mts.map
@@ -0,0 +1 @@
+{"version":3,"file":"errors.d.mts","sourceRoot":"","sources":["../src/internal/errors.ts"],"names":[],"mappings":"AAEA,wBAAgB,YAAY,CAAC,GAAG,EAAE,OAAO,WASxC;AAED,eAAO,MAAM,WAAW,GAAI,KAAK,GAAG,KAAG,KAmBtC,CAAC"}
\ No newline at end of file
diff --git a/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/internal/errors.d.ts b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/internal/errors.d.ts
new file mode 100644
index 0000000000000000000000000000000000000000..5920d9b7bdbba9d9afc87870600fca0de16a72fb
--- /dev/null
+++ b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/internal/errors.d.ts
@@ -0,0 +1,3 @@
+export declare function isAbortError(err: unknown): boolean;
+export declare const castToError: (err: any) => Error;
+//# sourceMappingURL=errors.d.ts.map
\ No newline at end of file
diff --git a/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/internal/errors.d.ts.map b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/internal/errors.d.ts.map
new file mode 100644
index 0000000000000000000000000000000000000000..37dbd7ba0ec782c6dead35eae47b0f19e6014132
--- /dev/null
+++ b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/internal/errors.d.ts.map
@@ -0,0 +1 @@
+{"version":3,"file":"errors.d.ts","sourceRoot":"","sources":["../src/internal/errors.ts"],"names":[],"mappings":"AAEA,wBAAgB,YAAY,CAAC,GAAG,EAAE,OAAO,WASxC;AAED,eAAO,MAAM,WAAW,GAAI,KAAK,GAAG,KAAG,KAmBtC,CAAC"}
\ No newline at end of file
diff --git a/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/internal/errors.js b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/internal/errors.js
new file mode 100644
index 0000000000000000000000000000000000000000..31d1448933bbb7ded2a3615e137685bde90053ce
--- /dev/null
+++ b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/internal/errors.js
@@ -0,0 +1,41 @@
+"use strict";
+// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
+Object.defineProperty(exports, "__esModule", { value: true });
+exports.castToError = void 0;
+exports.isAbortError = isAbortError;
+function isAbortError(err) {
+ return (typeof err === 'object' &&
+ err !== null &&
+ // Spec-compliant fetch implementations
+ (('name' in err && err.name === 'AbortError') ||
+ // Expo fetch
+ ('message' in err && String(err.message).includes('FetchRequestCanceledException'))));
+}
+const castToError = (err) => {
+ if (err instanceof Error)
+ return err;
+ if (typeof err === 'object' && err !== null) {
+ try {
+ if (Object.prototype.toString.call(err) === '[object Error]') {
+ // @ts-ignore - not all envs have native support for cause yet
+ const error = new Error(err.message, err.cause ? { cause: err.cause } : {});
+ if (err.stack)
+ error.stack = err.stack;
+ // @ts-ignore - not all envs have native support for cause yet
+ if (err.cause && !error.cause)
+ error.cause = err.cause;
+ if (err.name)
+ error.name = err.name;
+ return error;
+ }
+ }
+ catch { }
+ try {
+ return new Error(JSON.stringify(err));
+ }
+ catch { }
+ }
+ return new Error(err);
+};
+exports.castToError = castToError;
+//# sourceMappingURL=errors.js.map
\ No newline at end of file
diff --git a/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/internal/errors.js.map b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/internal/errors.js.map
new file mode 100644
index 0000000000000000000000000000000000000000..4ab2c71b4519378fba1c42ffc7d64e2440f57bf6
--- /dev/null
+++ b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/internal/errors.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"errors.js","sourceRoot":"","sources":["../src/internal/errors.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,oCASC;AATD,SAAgB,YAAY,CAAC,GAAY;IACvC,OAAO,CACL,OAAO,GAAG,KAAK,QAAQ;QACvB,GAAG,KAAK,IAAI;QACZ,uCAAuC;QACvC,CAAC,CAAC,MAAM,IAAI,GAAG,IAAK,GAAW,CAAC,IAAI,KAAK,YAAY,CAAC;YACpD,aAAa;YACb,CAAC,SAAS,IAAI,GAAG,IAAI,MAAM,CAAE,GAAW,CAAC,OAAO,CAAC,CAAC,QAAQ,CAAC,+BAA+B,CAAC,CAAC,CAAC,CAChG,CAAC;AACJ,CAAC;AAEM,MAAM,WAAW,GAAG,CAAC,GAAQ,EAAS,EAAE;IAC7C,IAAI,GAAG,YAAY,KAAK;QAAE,OAAO,GAAG,CAAC;IACrC,IAAI,OAAO,GAAG,KAAK,QAAQ,IAAI,GAAG,KAAK,IAAI,EAAE,CAAC;QAC5C,IAAI,CAAC;YACH,IAAI,MAAM,CAAC,SAAS,CAAC,QAAQ,CAAC,IAAI,CAAC,GAAG,CAAC,KAAK,gBAAgB,EAAE,CAAC;gBAC7D,8DAA8D;gBAC9D,MAAM,KAAK,GAAG,IAAI,KAAK,CAAC,GAAG,CAAC,OAAO,EAAE,GAAG,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,KAAK,EAAE,GAAG,CAAC,KAAK,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC;gBAC5E,IAAI,GAAG,CAAC,KAAK;oBAAE,KAAK,CAAC,KAAK,GAAG,GAAG,CAAC,KAAK,CAAC;gBACvC,8DAA8D;gBAC9D,IAAI,GAAG,CAAC,KAAK,IAAI,CAAC,KAAK,CAAC,KAAK;oBAAE,KAAK,CAAC,KAAK,GAAG,GAAG,CAAC,KAAK,CAAC;gBACvD,IAAI,GAAG,CAAC,IAAI;oBAAE,KAAK,CAAC,IAAI,GAAG,GAAG,CAAC,IAAI,CAAC;gBACpC,OAAO,KAAK,CAAC;YACf,CAAC;QACH,CAAC;QAAC,MAAM,CAAC,CAAA,CAAC;QACV,IAAI,CAAC;YACH,OAAO,IAAI,KAAK,CAAC,IAAI,CAAC,SAAS,CAAC,GAAG,CAAC,CAAC,CAAC;QACxC,CAAC;QAAC,MAAM,CAAC,CAAA,CAAC;IACZ,CAAC;IACD,OAAO,IAAI,KAAK,CAAC,GAAG,CAAC,CAAC;AACxB,CAAC,CAAC;AAnBW,QAAA,WAAW,eAmBtB"}
\ No newline at end of file
diff --git a/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/internal/errors.mjs b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/internal/errors.mjs
new file mode 100644
index 0000000000000000000000000000000000000000..8b7356eb2500ce728416cdc3a64b47b289196fee
--- /dev/null
+++ b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/internal/errors.mjs
@@ -0,0 +1,36 @@
+// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
+export function isAbortError(err) {
+ return (typeof err === 'object' &&
+ err !== null &&
+ // Spec-compliant fetch implementations
+ (('name' in err && err.name === 'AbortError') ||
+ // Expo fetch
+ ('message' in err && String(err.message).includes('FetchRequestCanceledException'))));
+}
+export const castToError = (err) => {
+ if (err instanceof Error)
+ return err;
+ if (typeof err === 'object' && err !== null) {
+ try {
+ if (Object.prototype.toString.call(err) === '[object Error]') {
+ // @ts-ignore - not all envs have native support for cause yet
+ const error = new Error(err.message, err.cause ? { cause: err.cause } : {});
+ if (err.stack)
+ error.stack = err.stack;
+ // @ts-ignore - not all envs have native support for cause yet
+ if (err.cause && !error.cause)
+ error.cause = err.cause;
+ if (err.name)
+ error.name = err.name;
+ return error;
+ }
+ }
+ catch { }
+ try {
+ return new Error(JSON.stringify(err));
+ }
+ catch { }
+ }
+ return new Error(err);
+};
+//# sourceMappingURL=errors.mjs.map
\ No newline at end of file
diff --git a/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/internal/errors.mjs.map b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/internal/errors.mjs.map
new file mode 100644
index 0000000000000000000000000000000000000000..4ad2a9cda30207e7a2b1bfe5fd9405085706b14b
--- /dev/null
+++ b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/internal/errors.mjs.map
@@ -0,0 +1 @@
+{"version":3,"file":"errors.mjs","sourceRoot":"","sources":["../src/internal/errors.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,MAAM,UAAU,YAAY,CAAC,GAAY;IACvC,OAAO,CACL,OAAO,GAAG,KAAK,QAAQ;QACvB,GAAG,KAAK,IAAI;QACZ,uCAAuC;QACvC,CAAC,CAAC,MAAM,IAAI,GAAG,IAAK,GAAW,CAAC,IAAI,KAAK,YAAY,CAAC;YACpD,aAAa;YACb,CAAC,SAAS,IAAI,GAAG,IAAI,MAAM,CAAE,GAAW,CAAC,OAAO,CAAC,CAAC,QAAQ,CAAC,+BAA+B,CAAC,CAAC,CAAC,CAChG,CAAC;AACJ,CAAC;AAED,MAAM,CAAC,MAAM,WAAW,GAAG,CAAC,GAAQ,EAAS,EAAE;IAC7C,IAAI,GAAG,YAAY,KAAK;QAAE,OAAO,GAAG,CAAC;IACrC,IAAI,OAAO,GAAG,KAAK,QAAQ,IAAI,GAAG,KAAK,IAAI,EAAE,CAAC;QAC5C,IAAI,CAAC;YACH,IAAI,MAAM,CAAC,SAAS,CAAC,QAAQ,CAAC,IAAI,CAAC,GAAG,CAAC,KAAK,gBAAgB,EAAE,CAAC;gBAC7D,8DAA8D;gBAC9D,MAAM,KAAK,GAAG,IAAI,KAAK,CAAC,GAAG,CAAC,OAAO,EAAE,GAAG,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,KAAK,EAAE,GAAG,CAAC,KAAK,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC;gBAC5E,IAAI,GAAG,CAAC,KAAK;oBAAE,KAAK,CAAC,KAAK,GAAG,GAAG,CAAC,KAAK,CAAC;gBACvC,8DAA8D;gBAC9D,IAAI,GAAG,CAAC,KAAK,IAAI,CAAC,KAAK,CAAC,KAAK;oBAAE,KAAK,CAAC,KAAK,GAAG,GAAG,CAAC,KAAK,CAAC;gBACvD,IAAI,GAAG,CAAC,IAAI;oBAAE,KAAK,CAAC,IAAI,GAAG,GAAG,CAAC,IAAI,CAAC;gBACpC,OAAO,KAAK,CAAC;YACf,CAAC;QACH,CAAC;QAAC,MAAM,CAAC,CAAA,CAAC;QACV,IAAI,CAAC;YACH,OAAO,IAAI,KAAK,CAAC,IAAI,CAAC,SAAS,CAAC,GAAG,CAAC,CAAC,CAAC;QACxC,CAAC;QAAC,MAAM,CAAC,CAAA,CAAC;IACZ,CAAC;IACD,OAAO,IAAI,KAAK,CAAC,GAAG,CAAC,CAAC;AACxB,CAAC,CAAC"}
\ No newline at end of file
diff --git a/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/internal/headers.d.mts b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/internal/headers.d.mts
new file mode 100644
index 0000000000000000000000000000000000000000..7518e7b6a153cf20271c238e65f4b916cdcf4e47
--- /dev/null
+++ b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/internal/headers.d.mts
@@ -0,0 +1,22 @@
+type HeaderValue = string | undefined | null;
+export type HeadersLike = Headers | readonly HeaderValue[][] | Record | undefined | null | NullableHeaders;
+declare const brand_privateNullableHeaders: symbol & {
+ description: "brand.privateNullableHeaders";
+};
+/**
+ * @internal
+ * Users can pass explicit nulls to unset default headers. When we parse them
+ * into a standard headers type we need to preserve that information.
+ */
+export type NullableHeaders = {
+ /** Brand check, prevent users from creating a NullableHeaders. */
+ [_: typeof brand_privateNullableHeaders]: true;
+ /** Parsed headers. */
+ values: Headers;
+ /** Set of lowercase header names explicitly set to null. */
+ nulls: Set;
+};
+export declare const buildHeaders: (newHeaders: HeadersLike[]) => NullableHeaders;
+export declare const isEmptyHeaders: (headers: HeadersLike) => boolean;
+export {};
+//# sourceMappingURL=headers.d.mts.map
\ No newline at end of file
diff --git a/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/internal/headers.d.mts.map b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/internal/headers.d.mts.map
new file mode 100644
index 0000000000000000000000000000000000000000..564c1c2c911a719443abcaae1db48bb9662388e0
--- /dev/null
+++ b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/internal/headers.d.mts.map
@@ -0,0 +1 @@
+{"version":3,"file":"headers.d.mts","sourceRoot":"","sources":["../src/internal/headers.ts"],"names":[],"mappings":"AAEA,KAAK,WAAW,GAAG,MAAM,GAAG,SAAS,GAAG,IAAI,CAAC;AAC7C,MAAM,MAAM,WAAW,GACnB,OAAO,GACP,SAAS,WAAW,EAAE,EAAE,GACxB,MAAM,CAAC,MAAM,EAAE,WAAW,GAAG,SAAS,WAAW,EAAE,CAAC,GACpD,SAAS,GACT,IAAI,GACJ,eAAe,CAAC;AAEpB,QAAA,MAAM,4BAA4B,EAAiD,MAAM,GAAG;IAC1F,WAAW,EAAE,8BAA8B,CAAC;CAC7C,CAAC;AAEF;;;;GAIG;AACH,MAAM,MAAM,eAAe,GAAG;IAC5B,kEAAkE;IAClE,CAAC,CAAC,EAAE,OAAO,4BAA4B,GAAG,IAAI,CAAC;IAC/C,sBAAsB;IACtB,MAAM,EAAE,OAAO,CAAC;IAChB,4DAA4D;IAC5D,KAAK,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC;CACpB,CAAC;AA6CF,eAAO,MAAM,YAAY,GAAI,YAAY,WAAW,EAAE,KAAG,eAqBxD,CAAC;AAEF,eAAO,MAAM,cAAc,GAAI,SAAS,WAAW,YAGlD,CAAC"}
\ No newline at end of file
diff --git a/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/internal/headers.d.ts b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/internal/headers.d.ts
new file mode 100644
index 0000000000000000000000000000000000000000..3c36e518c08b8d6dae2b8fcae5fbf330f3953285
--- /dev/null
+++ b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/internal/headers.d.ts
@@ -0,0 +1,22 @@
+type HeaderValue = string | undefined | null;
+export type HeadersLike = Headers | readonly HeaderValue[][] | Record | undefined | null | NullableHeaders;
+declare const brand_privateNullableHeaders: symbol & {
+ description: "brand.privateNullableHeaders";
+};
+/**
+ * @internal
+ * Users can pass explicit nulls to unset default headers. When we parse them
+ * into a standard headers type we need to preserve that information.
+ */
+export type NullableHeaders = {
+ /** Brand check, prevent users from creating a NullableHeaders. */
+ [_: typeof brand_privateNullableHeaders]: true;
+ /** Parsed headers. */
+ values: Headers;
+ /** Set of lowercase header names explicitly set to null. */
+ nulls: Set;
+};
+export declare const buildHeaders: (newHeaders: HeadersLike[]) => NullableHeaders;
+export declare const isEmptyHeaders: (headers: HeadersLike) => boolean;
+export {};
+//# sourceMappingURL=headers.d.ts.map
\ No newline at end of file
diff --git a/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/internal/headers.d.ts.map b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/internal/headers.d.ts.map
new file mode 100644
index 0000000000000000000000000000000000000000..39aecf5bf340905458f8c5885d81f793626135e6
--- /dev/null
+++ b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/internal/headers.d.ts.map
@@ -0,0 +1 @@
+{"version":3,"file":"headers.d.ts","sourceRoot":"","sources":["../src/internal/headers.ts"],"names":[],"mappings":"AAEA,KAAK,WAAW,GAAG,MAAM,GAAG,SAAS,GAAG,IAAI,CAAC;AAC7C,MAAM,MAAM,WAAW,GACnB,OAAO,GACP,SAAS,WAAW,EAAE,EAAE,GACxB,MAAM,CAAC,MAAM,EAAE,WAAW,GAAG,SAAS,WAAW,EAAE,CAAC,GACpD,SAAS,GACT,IAAI,GACJ,eAAe,CAAC;AAEpB,QAAA,MAAM,4BAA4B,EAAiD,MAAM,GAAG;IAC1F,WAAW,EAAE,8BAA8B,CAAC;CAC7C,CAAC;AAEF;;;;GAIG;AACH,MAAM,MAAM,eAAe,GAAG;IAC5B,kEAAkE;IAClE,CAAC,CAAC,EAAE,OAAO,4BAA4B,GAAG,IAAI,CAAC;IAC/C,sBAAsB;IACtB,MAAM,EAAE,OAAO,CAAC;IAChB,4DAA4D;IAC5D,KAAK,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC;CACpB,CAAC;AA6CF,eAAO,MAAM,YAAY,GAAI,YAAY,WAAW,EAAE,KAAG,eAqBxD,CAAC;AAEF,eAAO,MAAM,cAAc,GAAI,SAAS,WAAW,YAGlD,CAAC"}
\ No newline at end of file
diff --git a/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/internal/headers.js b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/internal/headers.js
new file mode 100644
index 0000000000000000000000000000000000000000..a4569e8e457793ad4bd9ba1f48cb51ec015e7193
--- /dev/null
+++ b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/internal/headers.js
@@ -0,0 +1,79 @@
+"use strict";
+// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
+Object.defineProperty(exports, "__esModule", { value: true });
+exports.isEmptyHeaders = exports.buildHeaders = void 0;
+const brand_privateNullableHeaders = Symbol.for('brand.privateNullableHeaders');
+const isArray = Array.isArray;
+function* iterateHeaders(headers) {
+ if (!headers)
+ return;
+ if (brand_privateNullableHeaders in headers) {
+ const { values, nulls } = headers;
+ yield* values.entries();
+ for (const name of nulls) {
+ yield [name, null];
+ }
+ return;
+ }
+ let shouldClear = false;
+ let iter;
+ if (headers instanceof Headers) {
+ iter = headers.entries();
+ }
+ else if (isArray(headers)) {
+ iter = headers;
+ }
+ else {
+ shouldClear = true;
+ iter = Object.entries(headers ?? {});
+ }
+ for (let row of iter) {
+ const name = row[0];
+ if (typeof name !== 'string')
+ throw new TypeError('expected header name to be a string');
+ const values = isArray(row[1]) ? row[1] : [row[1]];
+ let didClear = false;
+ for (const value of values) {
+ if (value === undefined)
+ continue;
+ // Objects keys always overwrite older headers, they never append.
+ // Yield a null to clear the header before adding the new values.
+ if (shouldClear && !didClear) {
+ didClear = true;
+ yield [name, null];
+ }
+ yield [name, value];
+ }
+ }
+}
+const buildHeaders = (newHeaders) => {
+ const targetHeaders = new Headers();
+ const nullHeaders = new Set();
+ for (const headers of newHeaders) {
+ const seenHeaders = new Set();
+ for (const [name, value] of iterateHeaders(headers)) {
+ const lowerName = name.toLowerCase();
+ if (!seenHeaders.has(lowerName)) {
+ targetHeaders.delete(name);
+ seenHeaders.add(lowerName);
+ }
+ if (value === null) {
+ targetHeaders.delete(name);
+ nullHeaders.add(lowerName);
+ }
+ else {
+ targetHeaders.append(name, value);
+ nullHeaders.delete(lowerName);
+ }
+ }
+ }
+ return { [brand_privateNullableHeaders]: true, values: targetHeaders, nulls: nullHeaders };
+};
+exports.buildHeaders = buildHeaders;
+const isEmptyHeaders = (headers) => {
+ for (const _ of iterateHeaders(headers))
+ return false;
+ return true;
+};
+exports.isEmptyHeaders = isEmptyHeaders;
+//# sourceMappingURL=headers.js.map
\ No newline at end of file
diff --git a/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/internal/headers.js.map b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/internal/headers.js.map
new file mode 100644
index 0000000000000000000000000000000000000000..f95fa468a41254dcd9966d9b888cde0c6d3f8f09
--- /dev/null
+++ b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/internal/headers.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"headers.js","sourceRoot":"","sources":["../src/internal/headers.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAWtF,MAAM,4BAA4B,GAAG,MAAM,CAAC,GAAG,CAAC,8BAA8B,CAE7E,CAAC;AAgBF,MAAM,OAAO,GAAG,KAAK,CAAC,OAAsD,CAAC;AAE7E,QAAQ,CAAC,CAAC,cAAc,CAAC,OAAoB;IAC3C,IAAI,CAAC,OAAO;QAAE,OAAO;IAErB,IAAI,4BAA4B,IAAI,OAAO,EAAE,CAAC;QAC5C,MAAM,EAAE,MAAM,EAAE,KAAK,EAAE,GAAG,OAA0B,CAAC;QACrD,KAAK,CAAC,CAAC,MAAM,CAAC,OAAO,EAAE,CAAC;QACxB,KAAK,MAAM,IAAI,IAAI,KAAK,EAAE,CAAC;YACzB,MAAM,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC;QACrB,CAAC;QACD,OAAO;IACT,CAAC;IAED,IAAI,WAAW,GAAG,KAAK,CAAC;IACxB,IAAI,IAAiE,CAAC;IACtE,IAAI,OAAO,YAAY,OAAO,EAAE,CAAC;QAC/B,IAAI,GAAG,OAAO,CAAC,OAAO,EAAE,CAAC;IAC3B,CAAC;SAAM,IAAI,OAAO,CAAC,OAAO,CAAC,EAAE,CAAC;QAC5B,IAAI,GAAG,OAAO,CAAC;IACjB,CAAC;SAAM,CAAC;QACN,WAAW,GAAG,IAAI,CAAC;QACnB,IAAI,GAAG,MAAM,CAAC,OAAO,CAAC,OAAO,IAAI,EAAE,CAAC,CAAC;IACvC,CAAC;IACD,KAAK,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QACrB,MAAM,IAAI,GAAG,GAAG,CAAC,CAAC,CAAC,CAAC;QACpB,IAAI,OAAO,IAAI,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AAa,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;gBAC3B,WAAW,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;YAC7B,CAAC;iBAAM,CAAC;gBACN,aAAa,CAAC,MAAM,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;gBAClC,WAAW,CAAC,MAAM,CAAC,SAAS,CAAC,CAAC;YAChC,CAAC;QACH,CAAC;IACH,CAAC;IACD,OAAO,EAAE,CAAC,4BAA4B,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,aAAa,EAAE,KAAK,EAAE,WAAW,EAAE,CAAC;AAC7F,CAAC,CAAC;AArBW,QAAA,YAAY,gBAqBvB;AAEK,MAAM,cAAc,GAAG,CAAC,OAAoB,EAAE,EAAE;IACrD,KAAK,MAAM,CAAC,IAAI,cAAc,CAAC,OAAO,CAAC;QAAE,OAAO,KAAK,CAAC;IACtD,OAAO,IAAI,CAAC;AACd,CAAC,CAAC;AAHW,QAAA,cAAc,kBAGzB"}
\ No newline at end of file
diff --git a/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/internal/headers.mjs b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/internal/headers.mjs
new file mode 100644
index 0000000000000000000000000000000000000000..e84cd437dbeddb61ebd79bc17d308008f1a7ad8e
--- /dev/null
+++ b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/internal/headers.mjs
@@ -0,0 +1,74 @@
+// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
+const brand_privateNullableHeaders = Symbol.for('brand.privateNullableHeaders');
+const isArray = Array.isArray;
+function* iterateHeaders(headers) {
+ if (!headers)
+ return;
+ if (brand_privateNullableHeaders in headers) {
+ const { values, nulls } = headers;
+ yield* values.entries();
+ for (const name of nulls) {
+ yield [name, null];
+ }
+ return;
+ }
+ let shouldClear = false;
+ let iter;
+ if (headers instanceof Headers) {
+ iter = headers.entries();
+ }
+ else if (isArray(headers)) {
+ iter = headers;
+ }
+ else {
+ shouldClear = true;
+ iter = Object.entries(headers ?? {});
+ }
+ for (let row of iter) {
+ const name = row[0];
+ if (typeof name !== 'string')
+ throw new TypeError('expected header name to be a string');
+ const values = isArray(row[1]) ? row[1] : [row[1]];
+ let didClear = false;
+ for (const value of values) {
+ if (value === undefined)
+ continue;
+ // Objects keys always overwrite older headers, they never append.
+ // Yield a null to clear the header before adding the new values.
+ if (shouldClear && !didClear) {
+ didClear = true;
+ yield [name, null];
+ }
+ yield [name, value];
+ }
+ }
+}
+export const buildHeaders = (newHeaders) => {
+ const targetHeaders = new Headers();
+ const nullHeaders = new Set();
+ for (const headers of newHeaders) {
+ const seenHeaders = new Set();
+ for (const [name, value] of iterateHeaders(headers)) {
+ const lowerName = name.toLowerCase();
+ if (!seenHeaders.has(lowerName)) {
+ targetHeaders.delete(name);
+ seenHeaders.add(lowerName);
+ }
+ if (value === null) {
+ targetHeaders.delete(name);
+ nullHeaders.add(lowerName);
+ }
+ else {
+ targetHeaders.append(name, value);
+ nullHeaders.delete(lowerName);
+ }
+ }
+ }
+ return { [brand_privateNullableHeaders]: true, values: targetHeaders, nulls: nullHeaders };
+};
+export const isEmptyHeaders = (headers) => {
+ for (const _ of iterateHeaders(headers))
+ return false;
+ return true;
+};
+//# sourceMappingURL=headers.mjs.map
\ No newline at end of file
diff --git a/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/internal/headers.mjs.map b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/internal/headers.mjs.map
new file mode 100644
index 0000000000000000000000000000000000000000..7657b8c6214c93ddb0eeae0de2fe9f371dbb316b
--- /dev/null
+++ b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/internal/headers.mjs.map
@@ -0,0 +1 @@
+{"version":3,"file":"headers.mjs","sourceRoot":"","sources":["../src/internal/headers.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAWtF,MAAM,4BAA4B,GAAG,MAAM,CAAC,GA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C;IACD,OAAO,EAAE,CAAC,4BAA4B,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,aAAa,EAAE,KAAK,EAAE,WAAW,EAAE,CAAC;AAC7F,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,cAAc,GAAG,CAAC,OAAoB,EAAE,EAAE;IACrD,KAAK,MAAM,CAAC,IAAI,cAAc,CAAC,OAAO,CAAC;QAAE,OAAO,KAAK,CAAC;IACtD,OAAO,IAAI,CAAC;AACd,CAAC,CAAC"}
\ No newline at end of file
diff --git a/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/internal/parse.d.mts b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/internal/parse.d.mts
new file mode 100644
index 0000000000000000000000000000000000000000..21468eb8e97197322cf92b577cb48262dc8ae894
--- /dev/null
+++ b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/internal/parse.d.mts
@@ -0,0 +1,17 @@
+import type { FinalRequestOptions } from "./request-options.mjs";
+import { type BaseAnthropic } from "../client.mjs";
+import type { AbstractPage } from "../core/pagination.mjs";
+export type APIResponseProps = {
+ response: Response;
+ options: FinalRequestOptions;
+ controller: AbortController;
+ requestLogID: string;
+ retryOfRequestLogID: string | undefined;
+ startTime: number;
+};
+export declare function defaultParseResponse(client: BaseAnthropic, props: APIResponseProps): Promise>;
+export type WithRequestID = T extends Array | Response | AbstractPage ? T : T extends Record ? T & {
+ _request_id?: string | null;
+} : T;
+export declare function addRequestID(value: T, response: Response): WithRequestID;
+//# sourceMappingURL=parse.d.mts.map
\ No newline at end of file
diff --git a/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/internal/parse.d.mts.map b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/internal/parse.d.mts.map
new file mode 100644
index 0000000000000000000000000000000000000000..b26d29d9ca9d4629653506bb06bd9281c13b12ef
--- /dev/null
+++ b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/internal/parse.d.mts.map
@@ -0,0 +1 @@
+{"version":3,"file":"parse.d.mts","sourceRoot":"","sources":["../src/internal/parse.ts"],"names":[],"mappings":"OAEO,KAAK,EAAE,mBAAmB,EAAE;OAE5B,EAAE,KAAK,aAAa,EAAE;OAEtB,KAAK,EAAE,YAAY,EAAE;AAE5B,MAAM,MAAM,gBAAgB,GAAG;IAC7B,QAAQ,EAAE,QAAQ,CAAC;IACnB,OAAO,EAAE,mBAAmB,CAAC;IAC7B,UAAU,EAAE,eAAe,CAAC;IAC5B,YAAY,EAAE,MAAM,CAAC;IACrB,mBAAmB,EAAE,MAAM,GAAG,SAAS,CAAC;IACxC,SAAS,EAAE,MAAM,CAAC;CACnB,CAAC;AAEF,wBAAsB,oBAAoB,CAAC,CAAC,EAC1C,MAAM,EAAE,aAAa,EACrB,KAAK,EAAE,gBAAgB,GACtB,OAAO,CAAC,aAAa,CAAC,CAAC,CAAC,CAAC,CA+C3B;AAED,MAAM,MAAM,aAAa,CAAC,CAAC,IACzB,CAAC,SAAS,KAAK,CAAC,GAAG,CAAC,GAAG,QAAQ,GAAG,YAAY,CAAC,GAAG,CAAC,GAAG,CAAC,GACrD,CAAC,SAAS,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,CAAC,GAAG;IAAE,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;CAAE,GACnE,CAAC,CAAC;AAEN,wBAAgB,YAAY,CAAC,CAAC,EAAE,KAAK,EAAE,CAAC,EAAE,QAAQ,EAAE,QAAQ,GAAG,aAAa,CAAC,CAAC,CAAC,CAS9E"}
\ No newline at end of file
diff --git a/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/internal/parse.d.ts b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/internal/parse.d.ts
new file mode 100644
index 0000000000000000000000000000000000000000..d691ee8e9aab15b91704edb8c1e2a5d395cae947
--- /dev/null
+++ b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/internal/parse.d.ts
@@ -0,0 +1,17 @@
+import type { FinalRequestOptions } from "./request-options.js";
+import { type BaseAnthropic } from "../client.js";
+import type { AbstractPage } from "../core/pagination.js";
+export type APIResponseProps = {
+ response: Response;
+ options: FinalRequestOptions;
+ controller: AbortController;
+ requestLogID: string;
+ retryOfRequestLogID: string | undefined;
+ startTime: number;
+};
+export declare function defaultParseResponse(client: BaseAnthropic, props: APIResponseProps): Promise>;
+export type WithRequestID = T extends Array | Response | AbstractPage ? T : T extends Record ? T & {
+ _request_id?: string | null;
+} : T;
+export declare function addRequestID(value: T, response: Response): WithRequestID;
+//# sourceMappingURL=parse.d.ts.map
\ No newline at end of file
diff --git a/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/internal/parse.d.ts.map b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/internal/parse.d.ts.map
new file mode 100644
index 0000000000000000000000000000000000000000..70c18d4f24f7eccbee9d33874ac63e35ee492a3b
--- /dev/null
+++ b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/internal/parse.d.ts.map
@@ -0,0 +1 @@
+{"version":3,"file":"parse.d.ts","sourceRoot":"","sources":["../src/internal/parse.ts"],"names":[],"mappings":"OAEO,KAAK,EAAE,mBAAmB,EAAE;OAE5B,EAAE,KAAK,aAAa,EAAE;OAEtB,KAAK,EAAE,YAAY,EAAE;AAE5B,MAAM,MAAM,gBAAgB,GAAG;IAC7B,QAAQ,EAAE,QAAQ,CAAC;IACnB,OAAO,EAAE,mBAAmB,CAAC;IAC7B,UAAU,EAAE,eAAe,CAAC;IAC5B,YAAY,EAAE,MAAM,CAAC;IACrB,mBAAmB,EAAE,MAAM,GAAG,SAAS,CAAC;IACxC,SAAS,EAAE,MAAM,CAAC;CACnB,CAAC;AAEF,wBAAsB,oBAAoB,CAAC,CAAC,EAC1C,MAAM,EAAE,aAAa,EACrB,KAAK,EAAE,gBAAgB,GACtB,OAAO,CAAC,aAAa,CAAC,CAAC,CAAC,CAAC,CA+C3B;AAED,MAAM,MAAM,aAAa,CAAC,CAAC,IACzB,CAAC,SAAS,KAAK,CAAC,GAAG,CAAC,GAAG,QAAQ,GAAG,YAAY,CAAC,GAAG,CAAC,GAAG,CAAC,GACrD,CAAC,SAAS,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,CAAC,GAAG;IAAE,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;CAAE,GACnE,CAAC,CAAC;AAEN,wBAAgB,YAAY,CAAC,CAAC,EAAE,KAAK,EAAE,CAAC,EAAE,QAAQ,EAAE,QAAQ,GAAG,aAAa,CAAC,CAAC,CAAC,CAS9E"}
\ No newline at end of file
diff --git a/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/internal/parse.js b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/internal/parse.js
new file mode 100644
index 0000000000000000000000000000000000000000..35900bdf21d0638220e7d30e16f31e88db9bd6c0
--- /dev/null
+++ b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/internal/parse.js
@@ -0,0 +1,55 @@
+"use strict";
+// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
+Object.defineProperty(exports, "__esModule", { value: true });
+exports.defaultParseResponse = defaultParseResponse;
+exports.addRequestID = addRequestID;
+const streaming_1 = require("../core/streaming.js");
+const log_1 = require("./utils/log.js");
+async function defaultParseResponse(client, props) {
+ const { response, requestLogID, retryOfRequestLogID, startTime } = props;
+ const body = await (async () => {
+ if (props.options.stream) {
+ (0, log_1.loggerFor)(client).debug('response', response.status, response.url, response.headers, response.body);
+ // Note: there is an invariant here that isn't represented in the type system
+ // that if you set `stream: true` the response type must also be `Stream`
+ if (props.options.__streamClass) {
+ return props.options.__streamClass.fromSSEResponse(response, props.controller);
+ }
+ return streaming_1.Stream.fromSSEResponse(response, props.controller);
+ }
+ // fetch refuses to read the body when the status code is 204.
+ if (response.status === 204) {
+ return null;
+ }
+ if (props.options.__binaryResponse) {
+ return response;
+ }
+ const contentType = response.headers.get('content-type');
+ const mediaType = contentType?.split(';')[0]?.trim();
+ const isJSON = mediaType?.includes('application/json') || mediaType?.endsWith('+json');
+ if (isJSON) {
+ const json = await response.json();
+ return addRequestID(json, response);
+ }
+ const text = await response.text();
+ return text;
+ })();
+ (0, log_1.loggerFor)(client).debug(`[${requestLogID}] response parsed`, (0, log_1.formatRequestDetails)({
+ retryOfRequestLogID,
+ url: response.url,
+ status: response.status,
+ body,
+ durationMs: Date.now() - startTime,
+ }));
+ return body;
+}
+function addRequestID(value, response) {
+ if (!value || typeof value !== 'object' || Array.isArray(value)) {
+ return value;
+ }
+ return Object.defineProperty(value, '_request_id', {
+ value: response.headers.get('request-id'),
+ enumerable: false,
+ });
+}
+//# sourceMappingURL=parse.js.map
\ No newline at end of file
diff --git a/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/internal/parse.js.map b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/internal/parse.js.map
new file mode 100644
index 0000000000000000000000000000000000000000..bd1f09455079656169df5d1d26e53699281c04f5
--- /dev/null
+++ b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/internal/parse.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"parse.js","sourceRoot":"","sources":["../src/internal/parse.ts"],"names":[],"mappings":";AAAA,sFAAsF;;AAiBtF,oDAkDC;AAOD,oCASC;AAhFD,oDAA2C;AAE3C,wCAA8D;AAYvD,KAAK,UAAU,oBAAoB,CACxC,MAAqB,EACrB,KAAuB;IAEvB,MAAM,EAAE,QAAQ,EAAE,YAAY,EAAE,mBAAmB,EAAE,SAAS,EAAE,GAAG,KAAK,CAAC;IACzE,MAAM,IAAI,GAAG,MAAM,CAAC,KAAK,IAAI,EAAE;QAC7B,IAAI,KAAK,CAAC,OAAO,CAAC,MAAM,EAAE,CAAC;YACzB,IAAA,eAA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A,eAAS,EAAC,MAAM,CAAC,CAAC,KAAK,CACrB,IAAI,YAAY,mBAAmB,EACnC,IAAA,0BAAoB,EAAC;QACnB,mBAAmB;QACnB,GAAG,EAAE,QAAQ,CAAC,GAAG;QACjB,MAAM,EAAE,QAAQ,CAAC,MAAM;QACvB,IAAI;QACJ,UAAU,EAAE,IAAI,CAAC,GAAG,EAAE,GAAG,SAAS;KACnC,CAAC,CACH,CAAC;IACF,OAAO,IAAI,CAAC;AACd,CAAC;AAOD,SAAgB,YAAY,CAAI,KAAQ,EAAE,QAAkB;IAC1D,IAAI,CAAC,KAAK,IAAI,OAAO,KAAK,KAAK,QAAQ,IAAI,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,EAAE,CAAC;QAChE,OAAO,KAAyB,CAAC;IACnC,CAAC;IAED,OAAO,MAAM,CAAC,cAAc,CAAC,KAAK,EAAE,aAAa,EAAE;QACjD,KAAK,EAAE,QAAQ,CAAC,OAAO,CAAC,GAAG,CAAC,YAAY,CAAC;QACzC,UAAU,EAAE,KAAK;KAClB,CAAqB,CAAC;AACzB,CAAC"}
\ No newline at end of file
diff --git a/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/internal/parse.mjs b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/internal/parse.mjs
new file mode 100644
index 0000000000000000000000000000000000000000..b56963d40d8f5986fdcda451c28dc573e64714ee
--- /dev/null
+++ b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/internal/parse.mjs
@@ -0,0 +1,51 @@
+// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
+import { Stream } from "../core/streaming.mjs";
+import { formatRequestDetails, loggerFor } from "./utils/log.mjs";
+export async function defaultParseResponse(client, props) {
+ const { response, requestLogID, retryOfRequestLogID, startTime } = props;
+ const body = await (async () => {
+ if (props.options.stream) {
+ loggerFor(client).debug('response', response.status, response.url, response.headers, response.body);
+ // Note: there is an invariant here that isn't represented in the type system
+ // that if you set `stream: true` the response type must also be `Stream`
+ if (props.options.__streamClass) {
+ return props.options.__streamClass.fromSSEResponse(response, props.controller);
+ }
+ return Stream.fromSSEResponse(response, props.controller);
+ }
+ // fetch refuses to read the body when the status code is 204.
+ if (response.status === 204) {
+ return null;
+ }
+ if (props.options.__binaryResponse) {
+ return response;
+ }
+ const contentType = response.headers.get('content-type');
+ const mediaType = contentType?.split(';')[0]?.trim();
+ const isJSON = mediaType?.includes('application/json') || mediaType?.endsWith('+json');
+ if (isJSON) {
+ const json = await response.json();
+ return addRequestID(json, response);
+ }
+ const text = await response.text();
+ return text;
+ })();
+ loggerFor(client).debug(`[${requestLogID}] response parsed`, formatRequestDetails({
+ retryOfRequestLogID,
+ url: response.url,
+ status: response.status,
+ body,
+ durationMs: Date.now() - startTime,
+ }));
+ return body;
+}
+export function addRequestID(value, response) {
+ if (!value || typeof value !== 'object' || Array.isArray(value)) {
+ return value;
+ }
+ return Object.defineProperty(value, '_request_id', {
+ value: response.headers.get('request-id'),
+ enumerable: false,
+ });
+}
+//# sourceMappingURL=parse.mjs.map
\ No newline at end of file
diff --git a/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/internal/parse.mjs.map b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/internal/parse.mjs.map
new file mode 100644
index 0000000000000000000000000000000000000000..da0c35e0b7cf33c549ecf33017f0f0a1e99d5561
--- /dev/null
+++ b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/internal/parse.mjs.map
@@ -0,0 +1 @@
+{"version":3,"file":"parse.mjs","sourceRoot":"","sources":["../src/internal/parse.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAG/E,EAAE,MAAM,EAAE;OAEV,EAAE,oBAAoB,EAAE,SAAS,EAAE;AAY1C,MAAM,CAAC,KAAK,UAAU,oBAAoB,CACxC,MAAqB,EACrB,KAAuB;IAEvB,MAAM,EAAE,QAAQ,EAAE,YAAY,EAAE,mBAAm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AAQ,CAAC,CAAC;QAC3C,CAAC;QAED,MAAM,IAAI,GAAG,MAAM,QAAQ,CAAC,IAAI,EAAE,CAAC;QACnC,OAAO,IAAoB,CAAC;IAC9B,CAAC,CAAC,EAAE,CAAC;IACL,SAAS,CAAC,MAAM,CAAC,CAAC,KAAK,CACrB,IAAI,YAAY,mBAAmB,EACnC,oBAAoB,CAAC;QACnB,mBAAmB;QACnB,GAAG,EAAE,QAAQ,CAAC,GAAG;QACjB,MAAM,EAAE,QAAQ,CAAC,MAAM;QACvB,IAAI;QACJ,UAAU,EAAE,IAAI,CAAC,GAAG,EAAE,GAAG,SAAS;KACnC,CAAC,CACH,CAAC;IACF,OAAO,IAAI,CAAC;AACd,CAAC;AAOD,MAAM,UAAU,YAAY,CAAI,KAAQ,EAAE,QAAkB;IAC1D,IAAI,CAAC,KAAK,IAAI,OAAO,KAAK,KAAK,QAAQ,IAAI,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,EAAE,CAAC;QAChE,OAAO,KAAyB,CAAC;IACnC,CAAC;IAED,OAAO,MAAM,CAAC,cAAc,CAAC,KAAK,EAAE,aAAa,EAAE;QACjD,KAAK,EAAE,QAAQ,CAAC,OAAO,CAAC,GAAG,CAAC,YAAY,CAAC;QACzC,UAAU,EAAE,KAAK;KAClB,CAAqB,CAAC;AACzB,CAAC"}
\ No newline at end of file
diff --git a/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/internal/request-options.d.mts b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/internal/request-options.d.mts
new file mode 100644
index 0000000000000000000000000000000000000000..d15ee9439a8634c22fb90840c389590c420903d9
--- /dev/null
+++ b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/internal/request-options.d.mts
@@ -0,0 +1,34 @@
+import { NullableHeaders } from "./headers.mjs";
+import type { BodyInit } from "./builtin-types.mjs";
+import { Stream } from "../core/streaming.mjs";
+import type { HTTPMethod, MergedRequestInit } from "./types.mjs";
+import { type HeadersLike } from "./headers.mjs";
+export type FinalRequestOptions = RequestOptions & {
+ method: HTTPMethod;
+ path: string;
+};
+export type RequestOptions = {
+ method?: HTTPMethod;
+ path?: string;
+ query?: object | undefined | null;
+ body?: unknown;
+ headers?: HeadersLike;
+ maxRetries?: number;
+ stream?: boolean | undefined;
+ timeout?: number;
+ fetchOptions?: MergedRequestInit;
+ signal?: AbortSignal | undefined | null;
+ idempotencyKey?: string;
+ __binaryResponse?: boolean | undefined;
+ __streamClass?: typeof Stream;
+};
+export type EncodedContent = {
+ bodyHeaders: HeadersLike;
+ body: BodyInit;
+};
+export type RequestEncoder = (request: {
+ headers: NullableHeaders;
+ body: unknown;
+}) => EncodedContent;
+export declare const FallbackEncoder: RequestEncoder;
+//# sourceMappingURL=request-options.d.mts.map
\ No newline at end of file
diff --git a/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/internal/request-options.d.mts.map b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/internal/request-options.d.mts.map
new file mode 100644
index 0000000000000000000000000000000000000000..9629576e9a6f181ead97695e23591aaba88e0d88
--- /dev/null
+++ b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/internal/request-options.d.mts.map
@@ -0,0 +1 @@
+{"version":3,"file":"request-options.d.mts","sourceRoot":"","sources":["../src/internal/request-options.ts"],"names":[],"mappings":"OAEO,EAAE,eAAe,EAAE;OAEnB,KAAK,EAAE,QAAQ,EAAE;OACjB,EAAE,MAAM,EAAE;OACV,KAAK,EAAE,UAAU,EAAE,iBAAiB,EAAE;OACtC,EAAE,KAAK,WAAW,EAAE;AAE3B,MAAM,MAAM,mBAAmB,GAAG,cAAc,GAAG;IAAE,MAAM,EAAE,UAAU,CAAC;IAAC,IAAI,EAAE,MAAM,CAAA;CAAE,CAAC;AAExF,MAAM,MAAM,cAAc,GAAG;IAC3B,MAAM,CAAC,EAAE,UAAU,CAAC;IACpB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,GAAG,SAAS,GAAG,IAAI,CAAC;IAClC,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,OAAO,CAAC,EAAE,WAAW,CAAC;IACtB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,MAAM,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAC7B,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,YAAY,CAAC,EAAE,iBAAiB,CAAC;IACjC,MAAM,CAAC,EAAE,WAAW,GAAG,SAAS,GAAG,IAAI,CAAC;IACxC,cAAc,CAAC,EAAE,MAAM,CAAC;IAExB,gBAAgB,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IACvC,aAAa,CAAC,EAAE,OAAO,MAAM,CAAC;CAC/B,CAAC;AAEF,MAAM,MAAM,cAAc,GAAG;IAAE,WAAW,EAAE,WAAW,CAAC;IAAC,IAAI,EAAE,QAAQ,CAAA;CAAE,CAAC;AAC1E,MAAM,MAAM,cAAc,GAAG,CAAC,OAAO,EAAE;IAAE,OAAO,EAAE,eAAe,CAAC;IAAC,IAAI,EAAE,OAAO,CAAA;CAAE,KAAK,cAAc,CAAC;AAEtG,eAAO,MAAM,eAAe,EAAE,cAO7B,CAAC"}
\ No newline at end of file
diff --git a/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/internal/request-options.d.ts b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/internal/request-options.d.ts
new file mode 100644
index 0000000000000000000000000000000000000000..1951b5802467bbc4d9adb2a037c8958602f2392c
--- /dev/null
+++ b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/internal/request-options.d.ts
@@ -0,0 +1,34 @@
+import { NullableHeaders } from "./headers.js";
+import type { BodyInit } from "./builtin-types.js";
+import { Stream } from "../core/streaming.js";
+import type { HTTPMethod, MergedRequestInit } from "./types.js";
+import { type HeadersLike } from "./headers.js";
+export type FinalRequestOptions = RequestOptions & {
+ method: HTTPMethod;
+ path: string;
+};
+export type RequestOptions = {
+ method?: HTTPMethod;
+ path?: string;
+ query?: object | undefined | null;
+ body?: unknown;
+ headers?: HeadersLike;
+ maxRetries?: number;
+ stream?: boolean | undefined;
+ timeout?: number;
+ fetchOptions?: MergedRequestInit;
+ signal?: AbortSignal | undefined | null;
+ idempotencyKey?: string;
+ __binaryResponse?: boolean | undefined;
+ __streamClass?: typeof Stream;
+};
+export type EncodedContent = {
+ bodyHeaders: HeadersLike;
+ body: BodyInit;
+};
+export type RequestEncoder = (request: {
+ headers: NullableHeaders;
+ body: unknown;
+}) => EncodedContent;
+export declare const FallbackEncoder: RequestEncoder;
+//# sourceMappingURL=request-options.d.ts.map
\ No newline at end of file
diff --git a/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/internal/request-options.d.ts.map b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/internal/request-options.d.ts.map
new file mode 100644
index 0000000000000000000000000000000000000000..265c1111a1a691895c651c70c16c4bfda48e688a
--- /dev/null
+++ b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/internal/request-options.d.ts.map
@@ -0,0 +1 @@
+{"version":3,"file":"request-options.d.ts","sourceRoot":"","sources":["../src/internal/request-options.ts"],"names":[],"mappings":"OAEO,EAAE,eAAe,EAAE;OAEnB,KAAK,EAAE,QAAQ,EAAE;OACjB,EAAE,MAAM,EAAE;OACV,KAAK,EAAE,UAAU,EAAE,iBAAiB,EAAE;OACtC,EAAE,KAAK,WAAW,EAAE;AAE3B,MAAM,MAAM,mBAAmB,GAAG,cAAc,GAAG;IAAE,MAAM,EAAE,UAAU,CAAC;IAAC,IAAI,EAAE,MAAM,CAAA;CAAE,CAAC;AAExF,MAAM,MAAM,cAAc,GAAG;IAC3B,MAAM,CAAC,EAAE,UAAU,CAAC;IACpB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,GAAG,SAAS,GAAG,IAAI,CAAC;IAClC,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,OAAO,CAAC,EAAE,WAAW,CAAC;IACtB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,MAAM,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAC7B,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,YAAY,CAAC,EAAE,iBAAiB,CAAC;IACjC,MAAM,CAAC,EAAE,WAAW,GAAG,SAAS,GAAG,IAAI,CAAC;IACxC,cAAc,CAAC,EAAE,MAAM,CAAC;IAExB,gBAAgB,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IACvC,aAAa,CAAC,EAAE,OAAO,MAAM,CAAC;CAC/B,CAAC;AAEF,MAAM,MAAM,cAAc,GAAG;IAAE,WAAW,EAAE,WAAW,CAAC;IAAC,IAAI,EAAE,QAAQ,CAAA;CAAE,CAAC;AAC1E,MAAM,MAAM,cAAc,GAAG,CAAC,OAAO,EAAE;IAAE,OAAO,EAAE,eAAe,CAAC;IAAC,IAAI,EAAE,OAAO,CAAA;CAAE,KAAK,cAAc,CAAC;AAEtG,eAAO,MAAM,eAAe,EAAE,cAO7B,CAAC"}
\ No newline at end of file
diff --git a/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/internal/request-options.js b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/internal/request-options.js
new file mode 100644
index 0000000000000000000000000000000000000000..4cf2829ad01649666b5a98a9cee5268d494542a2
--- /dev/null
+++ b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/internal/request-options.js
@@ -0,0 +1,14 @@
+"use strict";
+// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
+Object.defineProperty(exports, "__esModule", { value: true });
+exports.FallbackEncoder = void 0;
+const FallbackEncoder = ({ headers, body }) => {
+ return {
+ bodyHeaders: {
+ 'content-type': 'application/json',
+ },
+ body: JSON.stringify(body),
+ };
+};
+exports.FallbackEncoder = FallbackEncoder;
+//# sourceMappingURL=request-options.js.map
\ No newline at end of file
diff --git a/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/internal/request-options.js.map b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/internal/request-options.js.map
new file mode 100644
index 0000000000000000000000000000000000000000..54fdfd871da1d506f0b7b3d7805c42b72503ed81
--- /dev/null
+++ b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/internal/request-options.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"request-options.js","sourceRoot":"","sources":["../src/internal/request-options.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AA+B/E,MAAM,eAAe,GAAmB,CAAC,EAAE,OAAO,EAAE,IAAI,EAAE,EAAE,EAAE;IACnE,OAAO;QACL,WAAW,EAAE;YACX,cAAc,EAAE,kBAAkB;SACnC;QACD,IAAI,EAAE,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC;KAC3B,CAAC;AACJ,CAAC,CAAC;AAPW,QAAA,eAAe,mBAO1B"}
\ No newline at end of file
diff --git a/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/internal/request-options.mjs b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/internal/request-options.mjs
new file mode 100644
index 0000000000000000000000000000000000000000..312df3532b08623fcb6f6de5614347d93440dd89
--- /dev/null
+++ b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/internal/request-options.mjs
@@ -0,0 +1,10 @@
+// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
+export const FallbackEncoder = ({ headers, body }) => {
+ return {
+ bodyHeaders: {
+ 'content-type': 'application/json',
+ },
+ body: JSON.stringify(body),
+ };
+};
+//# sourceMappingURL=request-options.mjs.map
\ No newline at end of file
diff --git a/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/internal/request-options.mjs.map b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/internal/request-options.mjs.map
new file mode 100644
index 0000000000000000000000000000000000000000..b7e2007f5ed2db4a2d1bf98780f38cbd7f948c1f
--- /dev/null
+++ b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/internal/request-options.mjs.map
@@ -0,0 +1 @@
+{"version":3,"file":"request-options.mjs","sourceRoot":"","sources":["../src/internal/request-options.ts"],"names":[],"mappings":"AAAA,sFAAsF;AA+BtF,MAAM,CAAC,MAAM,eAAe,GAAmB,CAAC,EAAE,OAAO,EAAE,IAAI,EAAE,EAAE,EAAE;IACnE,OAAO;QACL,WAAW,EAAE;YACX,cAAc,EAAE,kBAAkB;SACnC;QACD,IAAI,EAAE,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC;KAC3B,CAAC;AACJ,CAAC,CAAC"}
\ No newline at end of file
diff --git a/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/internal/shim-types.d.mts b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/internal/shim-types.d.mts
new file mode 100644
index 0000000000000000000000000000000000000000..407a6d08814c6966f99c1f8300157fc838e0837a
--- /dev/null
+++ b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/internal/shim-types.d.mts
@@ -0,0 +1,17 @@
+/**
+ * Shims for types that we can't always rely on being available globally.
+ *
+ * Note: these only exist at the type-level, there is no corresponding runtime
+ * version for any of these symbols.
+ */
+type NeverToAny = T extends never ? any : T;
+/** @ts-ignore */
+type _DOMReadableStream = globalThis.ReadableStream;
+/** @ts-ignore */
+type _NodeReadableStream = import('stream/web').ReadableStream;
+type _ConditionalNodeReadableStream = typeof globalThis extends {
+ ReadableStream: any;
+} ? never : _NodeReadableStream;
+type _ReadableStream = NeverToAny<([0] extends [1 & _DOMReadableStream] ? never : _DOMReadableStream) | ([0] extends [1 & _ConditionalNodeReadableStream] ? never : _ConditionalNodeReadableStream)>;
+export type { _ReadableStream as ReadableStream };
+//# sourceMappingURL=shim-types.d.mts.map
\ No newline at end of file
diff --git a/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/internal/shim-types.d.mts.map b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/internal/shim-types.d.mts.map
new file mode 100644
index 0000000000000000000000000000000000000000..5ef827c791208be5f66d1832c57ff4942d7321dc
--- /dev/null
+++ b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/internal/shim-types.d.mts.map
@@ -0,0 +1 @@
+{"version":3,"file":"shim-types.d.mts","sourceRoot":"","sources":["../src/internal/shim-types.ts"],"names":[],"mappings":"AAEA;;;;;GAKG;AAEH,KAAK,UAAU,CAAC,CAAC,IAAI,CAAC,SAAS,KAAK,GAAG,GAAG,GAAG,CAAC,CAAC;AAE/C,iBAAiB;AACjB,KAAK,kBAAkB,CAAC,CAAC,GAAG,GAAG,IAAI,UAAU,CAAC,cAAc,CAAC,CAAC,CAAC,CAAC;AAEhE,iBAAiB;AACjB,KAAK,mBAAmB,CAAC,CAAC,GAAG,GAAG,IAAI,OAAO,YAAY,EAAE,cAAc,CAAC,CAAC,CAAC,CAAC;AAE3E,KAAK,8BAA8B,CAAC,CAAC,GAAG,GAAG,IACzC,OAAO,UAAU,SAAS;IAAE,cAAc,EAAE,GAAG,CAAA;CAAE,GAAG,KAAK,GAAG,mBAAmB,CAAC,CAAC,CAAC,CAAC;AAErF,KAAK,eAAe,CAAC,CAAC,GAAG,GAAG,IAAI,UAAU,CACtC,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,GAAG,kBAAkB,CAAC,CAAC,CAAC,CAAC,GAAG,KAAK,GAAG,kBAAkB,CAAC,CAAC,CAAC,CAAC,GACzE,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,GAAG,8BAA8B,CAAC,CAAC,CAAC,CAAC,GAAG,KAAK,GAAG,8BAA8B,CAAC,CAAC,CAAC,CAAC,CACpG,CAAC;AAEF,YAAY,EAAE,eAAe,IAAI,cAAc,EAAE,CAAC"}
\ No newline at end of file
diff --git a/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/internal/shim-types.d.ts b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/internal/shim-types.d.ts
new file mode 100644
index 0000000000000000000000000000000000000000..f2bc2e7da4a7d6b01b8b119ca690757032a298f6
--- /dev/null
+++ b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/internal/shim-types.d.ts
@@ -0,0 +1,17 @@
+/**
+ * Shims for types that we can't always rely on being available globally.
+ *
+ * Note: these only exist at the type-level, there is no corresponding runtime
+ * version for any of these symbols.
+ */
+type NeverToAny = T extends never ? any : T;
+/** @ts-ignore */
+type _DOMReadableStream = globalThis.ReadableStream;
+/** @ts-ignore */
+type _NodeReadableStream = import('stream/web').ReadableStream;
+type _ConditionalNodeReadableStream = typeof globalThis extends {
+ ReadableStream: any;
+} ? never : _NodeReadableStream;
+type _ReadableStream = NeverToAny<([0] extends [1 & _DOMReadableStream] ? never : _DOMReadableStream) | ([0] extends [1 & _ConditionalNodeReadableStream] ? never : _ConditionalNodeReadableStream)>;
+export type { _ReadableStream as ReadableStream };
+//# sourceMappingURL=shim-types.d.ts.map
\ No newline at end of file
diff --git a/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/internal/shim-types.d.ts.map b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/internal/shim-types.d.ts.map
new file mode 100644
index 0000000000000000000000000000000000000000..66ecda1a3a0f5623206be8dd49a154c25e7abd3d
--- /dev/null
+++ b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/internal/shim-types.d.ts.map
@@ -0,0 +1 @@
+{"version":3,"file":"shim-types.d.ts","sourceRoot":"","sources":["../src/internal/shim-types.ts"],"names":[],"mappings":"AAEA;;;;;GAKG;AAEH,KAAK,UAAU,CAAC,CAAC,IAAI,CAAC,SAAS,KAAK,GAAG,GAAG,GAAG,CAAC,CAAC;AAE/C,iBAAiB;AACjB,KAAK,kBAAkB,CAAC,CAAC,GAAG,GAAG,IAAI,UAAU,CAAC,cAAc,CAAC,CAAC,CAAC,CAAC;AAEhE,iBAAiB;AACjB,KAAK,mBAAmB,CAAC,CAAC,GAAG,GAAG,IAAI,OAAO,YAAY,EAAE,cAAc,CAAC,CAAC,CAAC,CAAC;AAE3E,KAAK,8BAA8B,CAAC,CAAC,GAAG,GAAG,IACzC,OAAO,UAAU,SAAS;IAAE,cAAc,EAAE,GAAG,CAAA;CAAE,GAAG,KAAK,GAAG,mBAAmB,CAAC,CAAC,CAAC,CAAC;AAErF,KAAK,eAAe,CAAC,CAAC,GAAG,GAAG,IAAI,UAAU,CACtC,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,GAAG,kBAAkB,CAAC,CAAC,CAAC,CAAC,GAAG,KAAK,GAAG,kBAAkB,CAAC,CAAC,CAAC,CAAC,GACzE,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,GAAG,8BAA8B,CAAC,CAAC,CAAC,CAAC,GAAG,KAAK,GAAG,8BAA8B,CAAC,CAAC,CAAC,CAAC,CACpG,CAAC;AAEF,YAAY,EAAE,eAAe,IAAI,cAAc,EAAE,CAAC"}
\ No newline at end of file
diff --git a/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/internal/shim-types.js b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/internal/shim-types.js
new file mode 100644
index 0000000000000000000000000000000000000000..c5e5031ef895d4a6c61288b56b36d093efe0b3cc
--- /dev/null
+++ b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/internal/shim-types.js
@@ -0,0 +1,4 @@
+"use strict";
+// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
+Object.defineProperty(exports, "__esModule", { value: true });
+//# sourceMappingURL=shim-types.js.map
\ No newline at end of file
diff --git a/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/internal/shim-types.js.map b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/internal/shim-types.js.map
new file mode 100644
index 0000000000000000000000000000000000000000..cb30e0459ebfd01538bf234432340958bbbd9f85
--- /dev/null
+++ b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/internal/shim-types.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"shim-types.js","sourceRoot":"","sources":["../src/internal/shim-types.ts"],"names":[],"mappings":";AAAA,sFAAsF"}
\ No newline at end of file
diff --git a/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/internal/shim-types.mjs b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/internal/shim-types.mjs
new file mode 100644
index 0000000000000000000000000000000000000000..7f918e27249c018420245c6513cab5346c9f7e4e
--- /dev/null
+++ b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/internal/shim-types.mjs
@@ -0,0 +1,3 @@
+// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
+export {};
+//# sourceMappingURL=shim-types.mjs.map
\ No newline at end of file
diff --git a/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/internal/shim-types.mjs.map b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/internal/shim-types.mjs.map
new file mode 100644
index 0000000000000000000000000000000000000000..4082696eda469129d62b8617544346c8c46ca6dc
--- /dev/null
+++ b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/internal/shim-types.mjs.map
@@ -0,0 +1 @@
+{"version":3,"file":"shim-types.mjs","sourceRoot":"","sources":["../src/internal/shim-types.ts"],"names":[],"mappings":"AAAA,sFAAsF"}
\ No newline at end of file
diff --git a/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/internal/shims.d.mts b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/internal/shims.d.mts
new file mode 100644
index 0000000000000000000000000000000000000000..51e47ef174efe30defaa8dc397b745b40110f88d
--- /dev/null
+++ b/novas/novacore-zephyr/claude-code-router/node_modules/@anthropic-ai/sdk/internal/shims.d.mts
@@ -0,0 +1,20 @@
+import type { Fetch } from "./builtin-types.mjs";
+import type { ReadableStream } from "./shim-types.mjs";
+export declare function getDefaultFetch(): Fetch;
+type ReadableStreamArgs = ConstructorParameters;
+export declare function makeReadableStream(...args: ReadableStreamArgs): ReadableStream;
+export declare function ReadableStreamFrom(iterable: Iterable | AsyncIterable): ReadableStream;
+/**
+ * Most browsers don't yet have async iterable support for ReadableStream,
+ * and Node has a very different way of reading bytes from its "ReadableStream".
+ *
+ * This polyfill was pulled from https://github.com/MattiasBuelens/web-streams-polyfill/pull/122#issuecomment-1627354490
+ */
+export declare function ReadableStreamToAsyncIterable(stream: any): AsyncIterableIterator;
+/**
+ * Cancels a ReadableStream we don't need to consume.
+ * See https://undici.nodejs.org/#/?id=garbage-collection
+ */
+export declare function CancelReadableStream(stream: any): Promise