@anthropic-ai/claude-code 1.0.117 → 1.0.119

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.
Files changed (3) hide show
  1. package/cli.js +888 -881
  2. package/package.json +1 -1
  3. package/sdk.mjs +4 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@anthropic-ai/claude-code",
3
- "version": "1.0.117",
3
+ "version": "1.0.119",
4
4
  "main": "sdk.mjs",
5
5
  "types": "sdk.d.ts",
6
6
  "bin": {
package/sdk.mjs CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  // (c) Anthropic PBC. All rights reserved. Use is subject to Anthropic's Commercial Terms of Service (https://www.anthropic.com/legal/commercial-terms).
4
4
 
5
- // Version: 1.0.117
5
+ // Version: 1.0.119
6
6
 
7
7
  // Want to see the unminified source? We're hiring!
8
8
  // https://job-boards.greenhouse.io/anthropic/jobs/4816199008
@@ -6962,9 +6962,11 @@ class Query {
6962
6962
  }
6963
6963
  }
6964
6964
  }
6965
+ const sdkMcpServers = this.sdkMcpTransports.size > 0 ? Array.from(this.sdkMcpTransports.keys()) : undefined;
6965
6966
  const initRequest = {
6966
6967
  subtype: "initialize",
6967
- hooks
6968
+ hooks,
6969
+ sdkMcpServers
6968
6970
  };
6969
6971
  const response = await this.request(initRequest);
6970
6972
  return response.response;