@jive-ai/cli 0.0.21 → 0.0.22

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/index.mjs +7 -3
  2. package/package.json +1 -1
package/dist/index.mjs CHANGED
@@ -1512,10 +1512,14 @@ async function startMcpServer() {
1512
1512
  if (!args) throw new Error("Missing arguments");
1513
1513
  switch (name) {
1514
1514
  case "list_subagents": {
1515
- const subagents$1 = await apiClient$1.getSubagents(teamId);
1515
+ const results = (await apiClient$1.getSubagents(teamId)).map((subagent) => ({
1516
+ name: subagent.name,
1517
+ description: subagent.description,
1518
+ id: subagent.id
1519
+ }));
1516
1520
  return { content: [{
1517
1521
  type: "text",
1518
- text: JSON.stringify(subagents$1, null, 2)
1522
+ text: JSON.stringify(results, null, 2)
1519
1523
  }] };
1520
1524
  }
1521
1525
  case "call_subagent": return { content: [{
@@ -2113,7 +2117,7 @@ async function checkTeamMembership() {
2113
2117
 
2114
2118
  //#endregion
2115
2119
  //#region package.json
2116
- var version = "0.0.21";
2120
+ var version = "0.0.22";
2117
2121
 
2118
2122
  //#endregion
2119
2123
  //#region src/index.ts
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "private": false,
3
3
  "name": "@jive-ai/cli",
4
- "version": "0.0.21",
4
+ "version": "0.0.22",
5
5
  "main": "index.js",
6
6
  "files": [
7
7
  "dist",