@metorial/anthropic 1.0.0 → 1.0.2

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/dist/index.d.cts CHANGED
@@ -1,4 +1,4 @@
1
- import * as _metorial_sdk from '@metorial/sdk';
1
+ import * as _metorial_mcp_sdk_utils from '@metorial/mcp-sdk-utils';
2
2
  import * as _metorial_mcp_session from '@metorial/mcp-session';
3
3
  import { ToolUnion, ToolUseBlock, MessageParam } from '@anthropic-ai/sdk/resources/messages';
4
4
 
@@ -10,7 +10,7 @@ declare let metorialAnthropic: ((session: _metorial_mcp_session.MetorialMcpSessi
10
10
  tools: ToolUnion[];
11
11
  callTools: (calls: ToolUseBlock[]) => Promise<MessageParam>;
12
12
  }>;
13
- ofSdk: (sdk: _metorial_sdk.Metorial, init: _metorial_mcp_session.MetorialMcpSessionInit, input: void) => Promise<{
13
+ ofSdk: (sdk: _metorial_mcp_sdk_utils.McpSDK, init: _metorial_mcp_session.MetorialMcpSessionInit, input: void) => Promise<{
14
14
  tools: ToolUnion[];
15
15
  callTools: (calls: ToolUseBlock[]) => Promise<MessageParam>;
16
16
  }>;
package/dist/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import * as _metorial_sdk from '@metorial/sdk';
1
+ import * as _metorial_mcp_sdk_utils from '@metorial/mcp-sdk-utils';
2
2
  import * as _metorial_mcp_session from '@metorial/mcp-session';
3
3
  import { ToolUnion, ToolUseBlock, MessageParam } from '@anthropic-ai/sdk/resources/messages';
4
4
 
@@ -10,7 +10,7 @@ declare let metorialAnthropic: ((session: _metorial_mcp_session.MetorialMcpSessi
10
10
  tools: ToolUnion[];
11
11
  callTools: (calls: ToolUseBlock[]) => Promise<MessageParam>;
12
12
  }>;
13
- ofSdk: (sdk: _metorial_sdk.Metorial, init: _metorial_mcp_session.MetorialMcpSessionInit, input: void) => Promise<{
13
+ ofSdk: (sdk: _metorial_mcp_sdk_utils.McpSDK, init: _metorial_mcp_session.MetorialMcpSessionInit, input: void) => Promise<{
14
14
  tools: ToolUnion[];
15
15
  callTools: (calls: ToolUseBlock[]) => Promise<MessageParam>;
16
16
  }>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@metorial/anthropic",
3
- "version": "1.0.0",
3
+ "version": "1.0.2",
4
4
  "author": "Metorial Inc.",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -26,10 +26,9 @@
26
26
  ],
27
27
  "dependencies": {
28
28
  "@metorial/core": "^1.0.0",
29
- "@metorial/mcp-sdk-utils": "^1.0.0",
30
- "@metorial/mcp-session": "^1.0.0",
31
- "@metorial/openai-compatible": "^1.0.0",
32
- "@metorial/sdk": "^1.0.0"
29
+ "@metorial/mcp-sdk-utils": "^1.0.1",
30
+ "@metorial/mcp-session": "^1.0.1",
31
+ "@metorial/openai-compatible": "^1.0.1"
33
32
  },
34
33
  "peerDependencies": {
35
34
  "@anthropic-ai/sdk": "*"