@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.
- package/dist/commands/send.js +4 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
package/dist/commands/send.js
CHANGED
|
@@ -78,7 +78,10 @@ export const sendCommand = new Command("send")
|
|
|
78
78
|
interceptors: [bearerInterceptor],
|
|
79
79
|
},
|
|
80
80
|
}));
|
|
81
|
-
|
|
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.
|
|
1
|
+
export declare const CLI_VERSION = "0.2.5";
|
package/dist/version.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const CLI_VERSION = "0.2.
|
|
1
|
+
export const CLI_VERSION = "0.2.5";
|