use-agently 0.21.0 → 0.22.0
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/build/bin.js +5 -5
- package/package.json +2 -2
package/build/bin.js
CHANGED
|
@@ -91820,7 +91820,7 @@ function PayTransaction(wallet) {
|
|
|
91820
91820
|
// ../use-agently-sdk/package.json
|
|
91821
91821
|
var package_default = {
|
|
91822
91822
|
name: "@use-agently/sdk",
|
|
91823
|
-
version: "0.
|
|
91823
|
+
version: "0.22.0",
|
|
91824
91824
|
description: "Core SDK for the Agently platform — wallet management, A2A, MCP, x402 payments",
|
|
91825
91825
|
homepage: "https://github.com/AgentlyHQ/use-agently/tree/main/packages/use-agently-sdk",
|
|
91826
91826
|
bugs: {
|
|
@@ -94912,7 +94912,7 @@ async function getAgentCardURL(client, uri) {
|
|
|
94912
94912
|
if (!agent) {
|
|
94913
94913
|
throw new Error(`Agent (${uri}) not found.`);
|
|
94914
94914
|
}
|
|
94915
|
-
const service = agent.metadata?.services?.find((s) => s.name === "a2a");
|
|
94915
|
+
const service = agent.metadata?.services?.find((s) => s.name.toLowerCase() === "a2a");
|
|
94916
94916
|
if (!service) {
|
|
94917
94917
|
throw new Error(`Agent (${uri}) has no A2A service registered.`);
|
|
94918
94918
|
}
|
|
@@ -96285,7 +96285,7 @@ async function getMcpURL(client, input) {
|
|
|
96285
96285
|
if (!agent) {
|
|
96286
96286
|
throw new Error(`Agent (${input}) not found.`);
|
|
96287
96287
|
}
|
|
96288
|
-
const service = agent.metadata?.services?.find((s) => s.name === "mcp");
|
|
96288
|
+
const service = agent.metadata?.services?.find((s) => s.name.toLowerCase() === "mcp");
|
|
96289
96289
|
if (!service) {
|
|
96290
96290
|
throw new Error(`Agent (${input}) has no MCP service registered.`);
|
|
96291
96291
|
}
|
|
@@ -96487,7 +96487,7 @@ var balanceCommand = new Command("balance").description("Check wallet balance on
|
|
|
96487
96487
|
// package.json
|
|
96488
96488
|
var package_default2 = {
|
|
96489
96489
|
name: "use-agently",
|
|
96490
|
-
version: "0.
|
|
96490
|
+
version: "0.22.0",
|
|
96491
96491
|
description: "Use Agently CLI",
|
|
96492
96492
|
homepage: "https://use-agently.com",
|
|
96493
96493
|
bugs: "https://github.com/AgentlyHQ/use-agently/issues",
|
|
@@ -96511,7 +96511,7 @@ var package_default2 = {
|
|
|
96511
96511
|
test: "bun test"
|
|
96512
96512
|
},
|
|
96513
96513
|
dependencies: {
|
|
96514
|
-
"@use-agently/sdk": "0.
|
|
96514
|
+
"@use-agently/sdk": "0.22.0",
|
|
96515
96515
|
boxen: "^8.0.1",
|
|
96516
96516
|
"cli-table3": "^0.6.5",
|
|
96517
96517
|
commander: "^14.0.3",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "use-agently",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.22.0",
|
|
4
4
|
"description": "Use Agently CLI",
|
|
5
5
|
"homepage": "https://use-agently.com",
|
|
6
6
|
"bugs": "https://github.com/AgentlyHQ/use-agently/issues",
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"test": "bun test"
|
|
25
25
|
},
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@use-agently/sdk": "0.
|
|
27
|
+
"@use-agently/sdk": "0.22.0",
|
|
28
28
|
"boxen": "^8.0.1",
|
|
29
29
|
"cli-table3": "^0.6.5",
|
|
30
30
|
"commander": "^14.0.3",
|