@jive-ai/cli 0.0.17 → 0.0.19
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.mjs +39 -5
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -1388,7 +1388,11 @@ async function startMcpServer() {
|
|
|
1388
1388
|
return { tools: [
|
|
1389
1389
|
{
|
|
1390
1390
|
name: "list_subagents",
|
|
1391
|
-
description: "List all subagents for the selected team. Returns lightweight list of subagent names, descriptions and IDs."
|
|
1391
|
+
description: "List all subagents for the selected team. Returns lightweight list of subagent names, descriptions and IDs.",
|
|
1392
|
+
inputSchema: {
|
|
1393
|
+
type: "object",
|
|
1394
|
+
properties: {}
|
|
1395
|
+
}
|
|
1392
1396
|
},
|
|
1393
1397
|
{
|
|
1394
1398
|
name: "call_subagent",
|
|
@@ -1410,7 +1414,27 @@ async function startMcpServer() {
|
|
|
1410
1414
|
},
|
|
1411
1415
|
{
|
|
1412
1416
|
name: "list_mcp_servers",
|
|
1413
|
-
description: "List all MCP servers for the selected team. Returns lightweight list of server names, descriptions and IDs."
|
|
1417
|
+
description: "List all MCP servers for the selected team. Returns lightweight list of server names, descriptions and IDs.",
|
|
1418
|
+
inputSchema: {
|
|
1419
|
+
type: "object",
|
|
1420
|
+
properties: {}
|
|
1421
|
+
}
|
|
1422
|
+
},
|
|
1423
|
+
{
|
|
1424
|
+
name: "get_mcp_servers",
|
|
1425
|
+
description: "Get full MCP server details by their IDs",
|
|
1426
|
+
inputSchema: {
|
|
1427
|
+
type: "object",
|
|
1428
|
+
properties: { ids: {
|
|
1429
|
+
type: "array",
|
|
1430
|
+
items: {
|
|
1431
|
+
type: "string",
|
|
1432
|
+
description: "MCP server ID to retrieve"
|
|
1433
|
+
},
|
|
1434
|
+
description: "Array of MCP server IDs to retrieve"
|
|
1435
|
+
} },
|
|
1436
|
+
required: ["ids"]
|
|
1437
|
+
}
|
|
1414
1438
|
},
|
|
1415
1439
|
{
|
|
1416
1440
|
name: "list_tools",
|
|
@@ -1515,8 +1539,18 @@ async function startMcpServer() {
|
|
|
1515
1539
|
text: (await apiRequest(`/api/subagents/${args.id}/call`, { prompt: args.prompt })).prompt
|
|
1516
1540
|
}] };
|
|
1517
1541
|
case "list_mcp_servers": {
|
|
1518
|
-
const
|
|
1519
|
-
|
|
1542
|
+
const results = mcpServers.filter((server$1) => ({
|
|
1543
|
+
name: server$1.name,
|
|
1544
|
+
description: truncateString(server$1.description, 100),
|
|
1545
|
+
id: server$1.id
|
|
1546
|
+
}));
|
|
1547
|
+
return { content: [{
|
|
1548
|
+
type: "text",
|
|
1549
|
+
text: JSON.stringify(results, null, 2)
|
|
1550
|
+
}] };
|
|
1551
|
+
}
|
|
1552
|
+
case "get_mcp_servers": {
|
|
1553
|
+
const results = mcpServers.filter((server$1) => args.ids.includes(server$1.id));
|
|
1520
1554
|
return { content: [{
|
|
1521
1555
|
type: "text",
|
|
1522
1556
|
text: JSON.stringify(results, null, 2)
|
|
@@ -2095,7 +2129,7 @@ async function checkTeamMembership() {
|
|
|
2095
2129
|
|
|
2096
2130
|
//#endregion
|
|
2097
2131
|
//#region package.json
|
|
2098
|
-
var version = "0.0.
|
|
2132
|
+
var version = "0.0.19";
|
|
2099
2133
|
|
|
2100
2134
|
//#endregion
|
|
2101
2135
|
//#region src/index.ts
|