danube-cli 0.2.5 → 0.2.6

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 +7 -6
  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.6",
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
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "danube-cli",
3
- "version": "0.2.5",
3
+ "version": "0.2.6",
4
4
  "description": "Danube CLI — agent-first tool infrastructure for AI agents",
5
5
  "type": "module",
6
6
  "license": "MIT",