@web42/cli 0.2.4 → 0.2.5

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.
@@ -78,7 +78,10 @@ export const sendCommand = new Command("send")
78
78
  interceptors: [bearerInterceptor],
79
79
  },
80
80
  }));
81
- client = await factory.createFromUrl(a2aData.a2a_url);
81
+ // a2aData.a2a_url is the full JSON-RPC endpoint, e.g. https://foo.ngrok.dev/a2a/jsonrpc
82
+ // createFromUrl needs the base URL; it will append /.well-known/agent-card.json itself
83
+ const a2aBaseUrl = new URL(a2aData.a2a_url).origin;
84
+ client = await factory.createFromUrl(a2aBaseUrl);
82
85
  connectSpinner.stop();
83
86
  }
84
87
  catch {
package/dist/version.d.ts CHANGED
@@ -1 +1 @@
1
- export declare const CLI_VERSION = "0.2.4";
1
+ export declare const CLI_VERSION = "0.2.5";
package/dist/version.js CHANGED
@@ -1 +1 @@
1
- export const CLI_VERSION = "0.2.4";
1
+ export const CLI_VERSION = "0.2.5";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@web42/cli",
3
- "version": "0.2.4",
3
+ "version": "0.2.5",
4
4
  "description": "CLI for the Web42 Agent Marketplace - push, install, and remix OpenClaw agent packages",
5
5
  "type": "module",
6
6
  "bin": {