tempo-api-mcp 1.1.0 → 2.0.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/dist/bundle.js +27 -15
- package/dist/index.js +1 -1
- package/package.json +9 -9
package/dist/bundle.js
CHANGED
|
@@ -10506,7 +10506,6 @@ ZodNaN.create = (params) => {
|
|
|
10506
10506
|
...processCreateParams(params)
|
|
10507
10507
|
});
|
|
10508
10508
|
};
|
|
10509
|
-
var BRAND = Symbol("zod_brand");
|
|
10510
10509
|
var ZodBranded = class extends ZodType {
|
|
10511
10510
|
_parse(input) {
|
|
10512
10511
|
const { ctx } = this._processInputParams(input);
|
|
@@ -10731,7 +10730,6 @@ function $constructor(name, initializer3, params) {
|
|
|
10731
10730
|
Object.defineProperty(_, "name", { value: name });
|
|
10732
10731
|
return _;
|
|
10733
10732
|
}
|
|
10734
|
-
var $brand = Symbol("zod_brand");
|
|
10735
10733
|
var $ZodAsyncError = class extends Error {
|
|
10736
10734
|
constructor() {
|
|
10737
10735
|
super(`Encountered Promise during synchronous parse. Use .parseAsync() instead.`);
|
|
@@ -10878,7 +10876,7 @@ function floatSafeRemainder2(val, step) {
|
|
|
10878
10876
|
const stepInt = Number.parseInt(step.toFixed(decCount).replace(".", ""));
|
|
10879
10877
|
return valInt % stepInt / 10 ** decCount;
|
|
10880
10878
|
}
|
|
10881
|
-
var EVALUATING = Symbol("evaluating");
|
|
10879
|
+
var EVALUATING = /* @__PURE__ */ Symbol("evaluating");
|
|
10882
10880
|
function defineLazy(object3, key, getter) {
|
|
10883
10881
|
let value = void 0;
|
|
10884
10882
|
Object.defineProperty(object3, key, {
|
|
@@ -14405,8 +14403,6 @@ function en_default2() {
|
|
|
14405
14403
|
|
|
14406
14404
|
// node_modules/zod/v4/core/registries.js
|
|
14407
14405
|
var _a;
|
|
14408
|
-
var $output = Symbol("ZodOutput");
|
|
14409
|
-
var $input = Symbol("ZodInput");
|
|
14410
14406
|
var $ZodRegistry = class {
|
|
14411
14407
|
constructor() {
|
|
14412
14408
|
this._map = /* @__PURE__ */ new WeakMap();
|
|
@@ -17550,10 +17546,9 @@ var ProgressTokenSchema = union([string2(), number2().int()]);
|
|
|
17550
17546
|
var CursorSchema = string2();
|
|
17551
17547
|
var TaskCreationParamsSchema = looseObject({
|
|
17552
17548
|
/**
|
|
17553
|
-
*
|
|
17554
|
-
* If null, the task has unlimited lifetime until manually cleaned up.
|
|
17549
|
+
* Requested duration in milliseconds to retain task from creation.
|
|
17555
17550
|
*/
|
|
17556
|
-
ttl:
|
|
17551
|
+
ttl: number2().optional(),
|
|
17557
17552
|
/**
|
|
17558
17553
|
* Time in milliseconds to wait between task status requests.
|
|
17559
17554
|
*/
|
|
@@ -17853,7 +17848,11 @@ var ClientCapabilitiesSchema = object2({
|
|
|
17853
17848
|
/**
|
|
17854
17849
|
* Present if the client supports task creation.
|
|
17855
17850
|
*/
|
|
17856
|
-
tasks: ClientTasksCapabilitySchema.optional()
|
|
17851
|
+
tasks: ClientTasksCapabilitySchema.optional(),
|
|
17852
|
+
/**
|
|
17853
|
+
* Extensions that the client supports. Keys are extension identifiers (vendor-prefix/extension-name).
|
|
17854
|
+
*/
|
|
17855
|
+
extensions: record(string2(), AssertObjectSchema).optional()
|
|
17857
17856
|
});
|
|
17858
17857
|
var InitializeRequestParamsSchema = BaseRequestParamsSchema.extend({
|
|
17859
17858
|
/**
|
|
@@ -17914,7 +17913,11 @@ var ServerCapabilitiesSchema = object2({
|
|
|
17914
17913
|
/**
|
|
17915
17914
|
* Present if the server supports task creation.
|
|
17916
17915
|
*/
|
|
17917
|
-
tasks: ServerTasksCapabilitySchema.optional()
|
|
17916
|
+
tasks: ServerTasksCapabilitySchema.optional(),
|
|
17917
|
+
/**
|
|
17918
|
+
* Extensions that the server supports. Keys are extension identifiers (vendor-prefix/extension-name).
|
|
17919
|
+
*/
|
|
17920
|
+
extensions: record(string2(), AssertObjectSchema).optional()
|
|
17918
17921
|
});
|
|
17919
17922
|
var InitializeResultSchema = ResultSchema.extend({
|
|
17920
17923
|
/**
|
|
@@ -18106,6 +18109,12 @@ var ResourceSchema = object2({
|
|
|
18106
18109
|
* The MIME type of this resource, if known.
|
|
18107
18110
|
*/
|
|
18108
18111
|
mimeType: optional(string2()),
|
|
18112
|
+
/**
|
|
18113
|
+
* The size of the raw resource content, in bytes (i.e., before base64 encoding or any tokenization), if known.
|
|
18114
|
+
*
|
|
18115
|
+
* This can be used by Hosts to display file sizes and estimate context window usage.
|
|
18116
|
+
*/
|
|
18117
|
+
size: optional(number2()),
|
|
18109
18118
|
/**
|
|
18110
18119
|
* Optional annotations for the client.
|
|
18111
18120
|
*/
|
|
@@ -19051,9 +19060,6 @@ function isTerminal(status) {
|
|
|
19051
19060
|
return status === "completed" || status === "failed" || status === "cancelled";
|
|
19052
19061
|
}
|
|
19053
19062
|
|
|
19054
|
-
// node_modules/zod-to-json-schema/dist/esm/Options.js
|
|
19055
|
-
var ignoreOverride = Symbol("Let zodToJsonSchema decide on which parser to use");
|
|
19056
|
-
|
|
19057
19063
|
// node_modules/zod-to-json-schema/dist/esm/parsers/string.js
|
|
19058
19064
|
var ALPHA_NUMERIC = new Set("ABCDEFGHIJKLMNOPQRSTUVXYZabcdefghijklmnopqrstuvxyz0123456789");
|
|
19059
19065
|
|
|
@@ -19290,6 +19296,10 @@ var Protocol = class {
|
|
|
19290
19296
|
this._progressHandlers.clear();
|
|
19291
19297
|
this._taskProgressTokens.clear();
|
|
19292
19298
|
this._pendingDebouncedNotifications.clear();
|
|
19299
|
+
for (const info of this._timeoutInfo.values()) {
|
|
19300
|
+
clearTimeout(info.timeoutId);
|
|
19301
|
+
}
|
|
19302
|
+
this._timeoutInfo.clear();
|
|
19293
19303
|
for (const controller of this._requestHandlerAbortControllers.values()) {
|
|
19294
19304
|
controller.abort();
|
|
19295
19305
|
}
|
|
@@ -19420,7 +19430,9 @@ var Protocol = class {
|
|
|
19420
19430
|
await capturedTransport?.send(errorResponse);
|
|
19421
19431
|
}
|
|
19422
19432
|
}).catch((error2) => this._onerror(new Error(`Failed to send response: ${error2}`))).finally(() => {
|
|
19423
|
-
this._requestHandlerAbortControllers.
|
|
19433
|
+
if (this._requestHandlerAbortControllers.get(request.id) === abortController) {
|
|
19434
|
+
this._requestHandlerAbortControllers.delete(request.id);
|
|
19435
|
+
}
|
|
19424
19436
|
});
|
|
19425
19437
|
}
|
|
19426
19438
|
_onprogress(notification) {
|
|
@@ -21902,7 +21914,7 @@ for (const tool of toolDefinitions3) handlers[tool.name] = (n, a) => handleTool3
|
|
|
21902
21914
|
for (const tool of toolDefinitions4) handlers[tool.name] = (n, a) => handleTool4(n, a, client);
|
|
21903
21915
|
for (const tool of toolDefinitions5) handlers[tool.name] = (n, a) => handleTool5(n, a, client);
|
|
21904
21916
|
var server = new Server(
|
|
21905
|
-
{ name: "tempo-api-mcp", version: "
|
|
21917
|
+
{ name: "tempo-api-mcp", version: "2.0.0" },
|
|
21906
21918
|
{ capabilities: { tools: {} } }
|
|
21907
21919
|
);
|
|
21908
21920
|
server.setRequestHandler(ListToolsRequestSchema, async () => ({ tools: allTools }));
|
package/dist/index.js
CHANGED
|
@@ -27,7 +27,7 @@ for (const tool of accountTools)
|
|
|
27
27
|
handlers[tool.name] = (n, a) => handleAccounts(n, a, client);
|
|
28
28
|
for (const tool of projectTools)
|
|
29
29
|
handlers[tool.name] = (n, a) => handleProjects(n, a, client);
|
|
30
|
-
const server = new Server({ name: 'tempo-api-mcp', version: '
|
|
30
|
+
const server = new Server({ name: 'tempo-api-mcp', version: '2.0.0' }, { capabilities: { tools: {} } });
|
|
31
31
|
server.setRequestHandler(ListToolsRequestSchema, async () => ({ tools: allTools }));
|
|
32
32
|
server.setRequestHandler(CallToolRequestSchema, async (request) => {
|
|
33
33
|
const { name, arguments: args = {} } = request.params;
|
package/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "tempo-api-mcp",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "2.0.0",
|
|
4
4
|
"description": "Tempo API MCP server for Claude — developed and maintained by AI (Claude Sonnet 4.6)",
|
|
5
5
|
"author": "Claude Sonnet 4.6 (AI) <https://www.anthropic.com/claude>",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
8
|
-
"url": "https://github.com/chrischall/tempo-api-mcp"
|
|
8
|
+
"url": "git+https://github.com/chrischall/tempo-api-mcp.git"
|
|
9
9
|
},
|
|
10
10
|
"type": "module",
|
|
11
11
|
"bin": {
|
|
@@ -24,14 +24,14 @@
|
|
|
24
24
|
"test:coverage": "vitest run --coverage"
|
|
25
25
|
},
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@modelcontextprotocol/sdk": "^1.
|
|
28
|
-
"dotenv": "^17.
|
|
27
|
+
"@modelcontextprotocol/sdk": "^1.29.0",
|
|
28
|
+
"dotenv": "^17.4.0"
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|
|
31
|
-
"@types/node": "^
|
|
32
|
-
"@vitest/coverage-v8": "^4.1.
|
|
33
|
-
"esbuild": "^0.
|
|
34
|
-
"typescript": "^
|
|
35
|
-
"vitest": "^4.1.
|
|
31
|
+
"@types/node": "^25.5.2",
|
|
32
|
+
"@vitest/coverage-v8": "^4.1.2",
|
|
33
|
+
"esbuild": "^0.27.0",
|
|
34
|
+
"typescript": "^6.0.2",
|
|
35
|
+
"vitest": "^4.1.2"
|
|
36
36
|
}
|
|
37
37
|
}
|