@anthropic-ai/claude-code 1.0.30 → 1.0.32

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@anthropic-ai/claude-code",
3
- "version": "1.0.30",
3
+ "version": "1.0.32",
4
4
  "main": "sdk.mjs",
5
5
  "types": "sdk.d.ts",
6
6
  "bin": {
package/sdk.d.ts CHANGED
@@ -25,7 +25,13 @@ export type McpSSEServerConfig = {
25
25
  headers?: Record<string, string>
26
26
  }
27
27
 
28
- export type McpServerConfig = McpStdioServerConfig | McpSSEServerConfig
28
+ export type McpHttpServerConfig = {
29
+ type: 'http'
30
+ url: string
31
+ headers?: Record<string, string>
32
+ }
33
+
34
+ export type McpServerConfig = McpStdioServerConfig | McpSSEServerConfig | McpHttpServerConfig
29
35
 
30
36
  export type Options = {
31
37
  abortController?: AbortController
package/sdk.mjs CHANGED
@@ -1,6 +1,6 @@
1
1
  // (c) Anthropic PBC. All rights reserved. Use is subject to Anthropic's Commercial Terms of Service (https://www.anthropic.com/legal/commercial-terms).
2
2
 
3
- // Version: 1.0.30
3
+ // Version: 1.0.32
4
4
 
5
5
  // src/entrypoints/sdk.ts
6
6
  import { spawn } from "child_process";
Binary file