open-agents-ai 0.101.2 → 0.101.3
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/index.js +3 -3
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -6258,12 +6258,12 @@ var init_skill_tools = __esm({
|
|
|
6258
6258
|
}
|
|
6259
6259
|
async execute(args) {
|
|
6260
6260
|
const start = performance.now();
|
|
6261
|
-
const name = String(args["name"] ?? "").trim();
|
|
6261
|
+
const name = String(args["name"] ?? args["skill_name"] ?? args["skillName"] ?? "").trim();
|
|
6262
6262
|
if (!name) {
|
|
6263
6263
|
return {
|
|
6264
6264
|
success: false,
|
|
6265
6265
|
output: "",
|
|
6266
|
-
error: "Skill name is required. Use skill_list to see available skills.",
|
|
6266
|
+
error: "Skill name is required. Pass the skill name as the 'name' parameter. Use skill_list to see available skills.",
|
|
6267
6267
|
durationMs: performance.now() - start
|
|
6268
6268
|
};
|
|
6269
6269
|
}
|
|
@@ -6373,7 +6373,7 @@ var init_skill_builder = __esm({
|
|
|
6373
6373
|
}
|
|
6374
6374
|
async execute(args) {
|
|
6375
6375
|
const start = performance.now();
|
|
6376
|
-
const skillRequest = String(args["skill_request"] ?? "").trim();
|
|
6376
|
+
const skillRequest = String(args["skill_request"] ?? args["request"] ?? args["description"] ?? args["prompt"] ?? "").trim();
|
|
6377
6377
|
const targetDir = String(args["target_dir"] ?? join15(this.repoRoot, ".oa", "skills"));
|
|
6378
6378
|
const shouldValidate = args["validate"] !== false;
|
|
6379
6379
|
if (!skillRequest) {
|
package/package.json
CHANGED