@2kw/ai-mcp-server 8.3.1-dev.2 → 8.4.0-dev.10

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.
@@ -103,7 +103,8 @@ export function register(server, client) {
103
103
  content: [
104
104
  {
105
105
  type: "text",
106
- text: `Traces (${result.totalElements ?? 0} total, page ${(result.number ?? 0) + 1}/${result.totalPages ?? 1}):\n${lines.join("\n") || "(none)"}`,
106
+ // The list counts nothing (#1923): totalPages only says whether a next page exists.
107
+ text: `Traces (page ${(result.number ?? 0) + 1}${(result.number ?? 0) + 1 < (result.totalPages ?? 1) ? ", more on the next page" : ""}):\n${lines.join("\n") || "(none)"}`,
107
108
  },
108
109
  ],
109
110
  };
@@ -171,7 +172,7 @@ export function register(server, client) {
171
172
  content: [
172
173
  {
173
174
  type: "text",
174
- text: `Sessions (${result.totalElements ?? 0} total, page ${(result.number ?? 0) + 1}/${result.totalPages ?? 1}):\n${lines.join("\n") || "(none)"}`,
175
+ text: `Sessions (page ${(result.number ?? 0) + 1}${(result.number ?? 0) + 1 < (result.totalPages ?? 1) ? ", more on the next page" : ""}):\n${lines.join("\n") || "(none)"}`,
175
176
  },
176
177
  ],
177
178
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@2kw/ai-mcp-server",
3
- "version": "8.3.1-dev.2",
3
+ "version": "8.4.0-dev.10",
4
4
  "description": "MCP server for 2kw.ai — EU-hosted AI platform: OpenAI-compatible LLM gateway, schema-driven document extraction, transcription, agents with a knowledge base, and cost observability. 199 tools for Claude Code, Cursor, and Windsurf.",
5
5
  "mcpName": "ai.2kw/mcp-server",
6
6
  "keywords": [