@adcp/client 3.3.1 → 3.3.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.
Files changed (2) hide show
  1. package/bin/adcp.js +2 -2
  2. package/package.json +5 -2
package/bin/adcp.js CHANGED
@@ -65,8 +65,8 @@ function extractProtocolMessage(conversation, protocol) {
65
65
  * Display agent info - just calls library method
66
66
  */
67
67
  async function displayAgentInfo(agentConfig, jsonOutput) {
68
- const client = new AdCPClient(agentConfig);
69
- const info = await client.getAgentInfo();
68
+ const client = new AdCPClient([agentConfig]);
69
+ const info = await client.agent(agentConfig.id).getAgentInfo();
70
70
 
71
71
  if (jsonOutput) {
72
72
  console.log(JSON.stringify(info, null, 2));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adcp/client",
3
- "version": "3.3.1",
3
+ "version": "3.3.2",
4
4
  "description": "AdCP client library with protocol support for MCP and A2A, includes testing framework",
5
5
  "main": "dist/lib/index.js",
6
6
  "types": "dist/lib/index.d.ts",
@@ -148,7 +148,10 @@
148
148
  },
149
149
  "overrides": {
150
150
  "@types/glob": "^8.1.0",
151
- "js-yaml": "^4.1.1"
151
+ "js-yaml": "^4.1.1",
152
+ "@changesets/parse": {
153
+ "js-yaml": "^3.14.1"
154
+ }
152
155
  },
153
156
  "adcp_version": "v2.5"
154
157
  }