danube-cli 0.2.5 → 0.2.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.
Files changed (2) hide show
  1. package/dist/danube.mjs +10 -9
  2. package/package.json +1 -1
package/dist/danube.mjs CHANGED
@@ -166,7 +166,7 @@ var package_default;
166
166
  var init_package = __esm(() => {
167
167
  package_default = {
168
168
  name: "danube-cli",
169
- version: "0.2.5",
169
+ version: "0.2.7",
170
170
  description: "Danube CLI — agent-first tool infrastructure for AI agents",
171
171
  type: "module",
172
172
  license: "MIT",
@@ -1149,8 +1149,8 @@ function register6(program) {
1149
1149
  process.exit(1);
1150
1150
  }
1151
1151
  const client = getClient(ctx.apiKey, ctx.profile);
1152
- const results = await client.post("/v1/tools/call/batch", calls);
1153
- output(results);
1152
+ const results = await client.post("/v1/tools/call/batch", { calls });
1153
+ output(results.results ?? results);
1154
1154
  }));
1155
1155
  tools.command("search <query>").description("Search for tools by name or description").option("--service <id>", "Filter by service ID").option("--limit <n>", "Maximum results", "10").action(handleErrors(async (query, opts) => {
1156
1156
  const client = getClient(ctx.apiKey, ctx.profile);
@@ -1208,9 +1208,10 @@ function register6(program) {
1208
1208
  limit: opts.limit
1209
1209
  });
1210
1210
  outputTable(result, [
1211
- { header: "ID", key: "id", style: "dim" },
1212
- { header: "Name", key: "name", style: "bold" },
1213
- { header: "Description", key: "description" }
1211
+ { header: "ID", key: "tool_id", style: "dim" },
1212
+ { header: "Name", key: "tool_name", style: "bold" },
1213
+ { header: "Description", key: "description" },
1214
+ { header: "Reason", key: "reason" }
1214
1215
  ], `Recommended tools based on ${toolInfo.name}`);
1215
1216
  }));
1216
1217
  }
@@ -1388,15 +1389,15 @@ ${chalk4.bold(skill.name)}`);
1388
1389
  console.log(chalk4.dim(skill.description));
1389
1390
  }
1390
1391
  console.log();
1391
- if (skill.skill_md) {
1392
- console.log(skill.skill_md);
1392
+ if (skill.skill_md_content) {
1393
+ console.log(skill.skill_md_content);
1393
1394
  }
1394
1395
  } else {
1395
1396
  output({
1396
1397
  id: skill.id,
1397
1398
  name: skill.name,
1398
1399
  description: skill.description,
1399
- skill_md: skill.skill_md
1400
+ skill_md_content: skill.skill_md_content
1400
1401
  });
1401
1402
  }
1402
1403
  }));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "danube-cli",
3
- "version": "0.2.5",
3
+ "version": "0.2.7",
4
4
  "description": "Danube CLI — agent-first tool infrastructure for AI agents",
5
5
  "type": "module",
6
6
  "license": "MIT",