@iqai/adk 0.0.8 → 0.0.9

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/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # @iqai/adk
2
2
 
3
+ ## 0.0.9
4
+
5
+ ### Patch Changes
6
+
7
+ - b0b2f93: Adds description back to mcp config
8
+ - 6cf2ba0: Adds proper type to convertMcpMessagesToADK method
9
+
3
10
  ## 0.0.8
4
11
 
5
12
  ### Patch Changes
package/dist/index.d.mts CHANGED
@@ -2684,6 +2684,7 @@ declare class LoadMemoryTool extends BaseTool {
2684
2684
 
2685
2685
  type McpConfig = {
2686
2686
  name: string;
2687
+ description: string;
2687
2688
  transport: McpTransportType;
2688
2689
  timeout?: number;
2689
2690
  retryOptions?: {
package/dist/index.d.ts CHANGED
@@ -2684,6 +2684,7 @@ declare class LoadMemoryTool extends BaseTool {
2684
2684
 
2685
2685
  type McpConfig = {
2686
2686
  name: string;
2687
+ description: string;
2687
2688
  transport: McpTransportType;
2688
2689
  timeout?: number;
2689
2690
  retryOptions?: {
package/dist/index.js CHANGED
@@ -3084,7 +3084,7 @@ var McpSamplingHandler = (_class17 = class {
3084
3084
  this.logger.warn(
3085
3085
  `Unknown MCP content type: ${mcpMessage.content.type}`
3086
3086
  );
3087
- adkContent = mcpMessage.content.text || "";
3087
+ adkContent = mcpMessage.content.data || "";
3088
3088
  }
3089
3089
  const adkMessage = {
3090
3090
  role: adkRole,
package/dist/index.mjs CHANGED
@@ -3084,7 +3084,7 @@ var McpSamplingHandler = class {
3084
3084
  this.logger.warn(
3085
3085
  `Unknown MCP content type: ${mcpMessage.content.type}`
3086
3086
  );
3087
- adkContent = mcpMessage.content.text || "";
3087
+ adkContent = mcpMessage.content.data || "";
3088
3088
  }
3089
3089
  const adkMessage = {
3090
3090
  role: adkRole,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@iqai/adk",
3
- "version": "0.0.8",
3
+ "version": "0.0.9",
4
4
  "description": "Agent Development Kit for TypeScript with multi-provider LLM support",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",