agentbnb 5.1.6 → 5.1.7
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/{chunk-ZZVFYYUA.js → chunk-FQYADBO5.js} +13 -1
- package/dist/{chunk-DC5AC6UA.js → chunk-MU226LM7.js} +13 -1
- package/dist/cli/index.js +2 -2
- package/dist/{execute-RKBWFIDK.js → execute-CB32MISD.js} +1 -1
- package/dist/{execute-BH7A37T4.js → execute-LN7Q65J4.js} +1 -1
- package/dist/index.js +13 -1
- package/dist/{serve-skill-EZSFLMAM.js → serve-skill-SDZHK2KG.js} +1 -1
- package/dist/{server-RKVZ4HXC.js → server-ARYOX2EE.js} +1 -1
- package/dist/{service-coordinator-JB6VM6SF.js → service-coordinator-H53LPOB4.js} +2 -2
- package/dist/skills/agentbnb/bootstrap.js +2 -2
- package/package.json +1 -1
- package/skills/agentbnb/SKILL.md +1 -1
|
@@ -149,7 +149,19 @@ async function executeCapabilityRequest(opts) {
|
|
|
149
149
|
return { success: true, result: successResult };
|
|
150
150
|
};
|
|
151
151
|
if (skillExecutor) {
|
|
152
|
-
|
|
152
|
+
let targetSkillId = resolvedSkillId ?? skillId;
|
|
153
|
+
if (!targetSkillId) {
|
|
154
|
+
const available = skillExecutor.listSkills();
|
|
155
|
+
if (available.length > 0) {
|
|
156
|
+
targetSkillId = available[0];
|
|
157
|
+
} else {
|
|
158
|
+
return handleFailure(
|
|
159
|
+
"failure",
|
|
160
|
+
Date.now() - startMs,
|
|
161
|
+
"No skill_id specified and no skills registered on this provider."
|
|
162
|
+
);
|
|
163
|
+
}
|
|
164
|
+
}
|
|
153
165
|
try {
|
|
154
166
|
const execResult = await skillExecutor.execute(targetSkillId, params, onProgress);
|
|
155
167
|
if (!execResult.success) {
|
|
@@ -710,7 +710,19 @@ async function executeCapabilityRequest(opts) {
|
|
|
710
710
|
return { success: true, result: successResult };
|
|
711
711
|
};
|
|
712
712
|
if (skillExecutor) {
|
|
713
|
-
|
|
713
|
+
let targetSkillId = resolvedSkillId ?? skillId;
|
|
714
|
+
if (!targetSkillId) {
|
|
715
|
+
const available = skillExecutor.listSkills();
|
|
716
|
+
if (available.length > 0) {
|
|
717
|
+
targetSkillId = available[0];
|
|
718
|
+
} else {
|
|
719
|
+
return handleFailure(
|
|
720
|
+
"failure",
|
|
721
|
+
Date.now() - startMs,
|
|
722
|
+
"No skill_id specified and no skills registered on this provider."
|
|
723
|
+
);
|
|
724
|
+
}
|
|
725
|
+
}
|
|
714
726
|
try {
|
|
715
727
|
const execResult = await skillExecutor.execute(targetSkillId, params, onProgress);
|
|
716
728
|
if (!execResult.success) {
|
package/dist/cli/index.js
CHANGED
|
@@ -1559,7 +1559,7 @@ program.command("serve").description("Start the AgentBnB gateway server").option
|
|
|
1559
1559
|
process.exit(1);
|
|
1560
1560
|
}
|
|
1561
1561
|
const { ProcessGuard } = await import("../process-guard-CC7CNRQJ.js");
|
|
1562
|
-
const { ServiceCoordinator } = await import("../service-coordinator-
|
|
1562
|
+
const { ServiceCoordinator } = await import("../service-coordinator-H53LPOB4.js");
|
|
1563
1563
|
const port = opts.port ? parseInt(opts.port, 10) : config.gateway_port;
|
|
1564
1564
|
const registryPort = parseInt(opts.registryPort, 10);
|
|
1565
1565
|
if (!Number.isFinite(port) || !Number.isFinite(registryPort)) {
|
|
@@ -1928,7 +1928,7 @@ Feedback for skill: ${opts.skill} (${feedbacks.length} entries)
|
|
|
1928
1928
|
}
|
|
1929
1929
|
});
|
|
1930
1930
|
program.command("mcp-server").description("Start an MCP (Model Context Protocol) server for IDE integration").action(async () => {
|
|
1931
|
-
const { startMcpServer } = await import("../server-
|
|
1931
|
+
const { startMcpServer } = await import("../server-ARYOX2EE.js");
|
|
1932
1932
|
await startMcpServer();
|
|
1933
1933
|
});
|
|
1934
1934
|
await program.parseAsync(process.argv);
|
package/dist/index.js
CHANGED
|
@@ -1055,7 +1055,19 @@ async function executeCapabilityRequest(opts) {
|
|
|
1055
1055
|
return { success: true, result: successResult };
|
|
1056
1056
|
};
|
|
1057
1057
|
if (skillExecutor) {
|
|
1058
|
-
|
|
1058
|
+
let targetSkillId = resolvedSkillId ?? skillId;
|
|
1059
|
+
if (!targetSkillId) {
|
|
1060
|
+
const available = skillExecutor.listSkills();
|
|
1061
|
+
if (available.length > 0) {
|
|
1062
|
+
targetSkillId = available[0];
|
|
1063
|
+
} else {
|
|
1064
|
+
return handleFailure(
|
|
1065
|
+
"failure",
|
|
1066
|
+
Date.now() - startMs,
|
|
1067
|
+
"No skill_id specified and no skills registered on this provider."
|
|
1068
|
+
);
|
|
1069
|
+
}
|
|
1070
|
+
}
|
|
1059
1071
|
try {
|
|
1060
1072
|
const execResult = await skillExecutor.execute(targetSkillId, params, onProgress);
|
|
1061
1073
|
if (!execResult.success) {
|
|
@@ -277,7 +277,7 @@ async function startMcpServer() {
|
|
|
277
277
|
registerPublishTool(server, ctx);
|
|
278
278
|
const { registerRequestTool } = await import("./request-YOWPXVLQ.js");
|
|
279
279
|
const { registerConductTool } = await import("./conduct-KM6ZNJGE.js");
|
|
280
|
-
const { registerServeSkillTool } = await import("./serve-skill-
|
|
280
|
+
const { registerServeSkillTool } = await import("./serve-skill-SDZHK2KG.js");
|
|
281
281
|
registerRequestTool(server, ctx);
|
|
282
282
|
registerConductTool(server, ctx);
|
|
283
283
|
registerServeSkillTool(server, ctx);
|
|
@@ -41,7 +41,7 @@ import {
|
|
|
41
41
|
import {
|
|
42
42
|
executeCapabilityBatch,
|
|
43
43
|
executeCapabilityRequest
|
|
44
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-FQYADBO5.js";
|
|
45
45
|
import "./chunk-UKT6H7YT.js";
|
|
46
46
|
import {
|
|
47
47
|
getActivityFeed,
|
|
@@ -4593,7 +4593,7 @@ var ServiceCoordinator = class {
|
|
|
4593
4593
|
}
|
|
4594
4594
|
if (opts.registryUrl && opts.relay) {
|
|
4595
4595
|
const { RelayClient } = await import("./websocket-client-6IIDGXKB.js");
|
|
4596
|
-
const { executeCapabilityRequest: executeCapabilityRequest2 } = await import("./execute-
|
|
4596
|
+
const { executeCapabilityRequest: executeCapabilityRequest2 } = await import("./execute-CB32MISD.js");
|
|
4597
4597
|
const cards = listCards(this.runtime.registryDb, this.config.owner);
|
|
4598
4598
|
const card = cards[0] ?? {
|
|
4599
4599
|
id: randomUUID5(),
|
|
@@ -36,7 +36,7 @@ import {
|
|
|
36
36
|
updateCard,
|
|
37
37
|
updateSkillAvailability,
|
|
38
38
|
updateSkillIdleRate
|
|
39
|
-
} from "../../chunk-
|
|
39
|
+
} from "../../chunk-MU226LM7.js";
|
|
40
40
|
import {
|
|
41
41
|
bootstrapAgent,
|
|
42
42
|
generateKeyPair,
|
|
@@ -5431,7 +5431,7 @@ var ServiceCoordinator = class {
|
|
|
5431
5431
|
}
|
|
5432
5432
|
if (opts.registryUrl && opts.relay) {
|
|
5433
5433
|
const { RelayClient: RelayClient2 } = await import("../../websocket-client-WRN3HO73.js");
|
|
5434
|
-
const { executeCapabilityRequest: executeCapabilityRequest2 } = await import("../../execute-
|
|
5434
|
+
const { executeCapabilityRequest: executeCapabilityRequest2 } = await import("../../execute-LN7Q65J4.js");
|
|
5435
5435
|
const cards = listCards(this.runtime.registryDb, this.config.owner);
|
|
5436
5436
|
const card = cards[0] ?? {
|
|
5437
5437
|
id: randomUUID6(),
|
package/package.json
CHANGED
package/skills/agentbnb/SKILL.md
CHANGED
|
@@ -5,7 +5,7 @@ license: MIT
|
|
|
5
5
|
compatibility: "Requires Node.js >= 20 and pnpm. Designed for OpenClaw agents. Compatible with Claude Code, Gemini CLI, and other AgentSkills-compatible tools."
|
|
6
6
|
metadata:
|
|
7
7
|
author: "Cheng Wen Chen"
|
|
8
|
-
version: "5.1.
|
|
8
|
+
version: "5.1.7"
|
|
9
9
|
tags: "ai-agent-skill,claude-code,agent-skills,p2p,capability-sharing"
|
|
10
10
|
---
|
|
11
11
|
|