loopctl-mcp-server 2.23.0 → 2.24.0
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/index.js +16 -4
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -1097,9 +1097,10 @@ async function knowledgeIngestionJobs({ limit, offset, since_days } = {}) {
|
|
|
1097
1097
|
|
|
1098
1098
|
// --- Knowledge Analytics Tools (orch key) ---
|
|
1099
1099
|
|
|
1100
|
-
async function knowledgeAnalyticsTop({ limit, since_days, access_type } = {}) {
|
|
1100
|
+
async function knowledgeAnalyticsTop({ limit, offset, since_days, access_type } = {}) {
|
|
1101
1101
|
const params = new URLSearchParams();
|
|
1102
1102
|
if (limit != null) params.set("limit", String(limit));
|
|
1103
|
+
if (offset != null) params.set("offset", String(offset));
|
|
1103
1104
|
if (since_days != null) params.set("since_days", String(since_days));
|
|
1104
1105
|
if (access_type) params.set("access_type", access_type);
|
|
1105
1106
|
const qs = params.toString();
|
|
@@ -1187,10 +1188,11 @@ async function knowledgeAgentUsage({ api_key_id, agent_id, limit, since_days } =
|
|
|
1187
1188
|
return toContent(result);
|
|
1188
1189
|
}
|
|
1189
1190
|
|
|
1190
|
-
async function knowledgeUnusedArticles({ days_unused, limit } = {}) {
|
|
1191
|
+
async function knowledgeUnusedArticles({ days_unused, limit, offset } = {}) {
|
|
1191
1192
|
const params = new URLSearchParams();
|
|
1192
1193
|
if (days_unused != null) params.set("days_unused", String(days_unused));
|
|
1193
1194
|
if (limit != null) params.set("limit", String(limit));
|
|
1195
|
+
if (offset != null) params.set("offset", String(offset));
|
|
1194
1196
|
const qs = params.toString();
|
|
1195
1197
|
const path = qs
|
|
1196
1198
|
? `/api/v1/knowledge/analytics/unused-articles?${qs}`
|
|
@@ -3102,10 +3104,15 @@ const TOOLS = [
|
|
|
3102
3104
|
properties: {
|
|
3103
3105
|
limit: {
|
|
3104
3106
|
type: "integer",
|
|
3105
|
-
description: "Max rows
|
|
3107
|
+
description: "Max rows per page. Default 20, max 100.",
|
|
3106
3108
|
minimum: 1,
|
|
3107
3109
|
maximum: 100,
|
|
3108
3110
|
},
|
|
3111
|
+
offset: {
|
|
3112
|
+
type: "integer",
|
|
3113
|
+
description: "Rows to skip — page the ranking past the first page. Default 0.",
|
|
3114
|
+
minimum: 0,
|
|
3115
|
+
},
|
|
3109
3116
|
since_days: {
|
|
3110
3117
|
type: "integer",
|
|
3111
3118
|
description: "Look back this many days. Default 7.",
|
|
@@ -3188,10 +3195,15 @@ const TOOLS = [
|
|
|
3188
3195
|
},
|
|
3189
3196
|
limit: {
|
|
3190
3197
|
type: "integer",
|
|
3191
|
-
description: "Max rows
|
|
3198
|
+
description: "Max rows per page. Default 50, max 200.",
|
|
3192
3199
|
minimum: 1,
|
|
3193
3200
|
maximum: 200,
|
|
3194
3201
|
},
|
|
3202
|
+
offset: {
|
|
3203
|
+
type: "integer",
|
|
3204
|
+
description: "Rows to skip — page the full unused set to completeness. Default 0.",
|
|
3205
|
+
minimum: 0,
|
|
3206
|
+
},
|
|
3195
3207
|
},
|
|
3196
3208
|
required: [],
|
|
3197
3209
|
},
|