@dalmia/calibrate-mcp 0.0.32 → 0.0.34
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/bin/mcp-server.js +576 -104
- package/bin/mcp-server.js.map +27 -14
- package/esm/funcs/annotatorsCreate.d.ts +16 -0
- package/esm/funcs/annotatorsCreate.d.ts.map +1 -0
- package/esm/funcs/annotatorsCreate.js +86 -0
- package/esm/funcs/annotatorsCreate.js.map +1 -0
- package/esm/funcs/annotatorsList.d.ts +16 -0
- package/esm/funcs/annotatorsList.d.ts.map +1 -0
- package/esm/funcs/annotatorsList.js +85 -0
- package/esm/funcs/annotatorsList.js.map +1 -0
- package/esm/funcs/annotatorsUpdate.d.ts +16 -0
- package/esm/funcs/annotatorsUpdate.d.ts.map +1 -0
- package/esm/funcs/annotatorsUpdate.js +92 -0
- package/esm/funcs/annotatorsUpdate.js.map +1 -0
- package/esm/landing-page.js +1 -1
- package/esm/lib/config.d.ts +2 -2
- package/esm/lib/config.js +2 -2
- package/esm/mcp-server/mcp-server.js +1 -1
- package/esm/mcp-server/server.d.ts.map +1 -1
- package/esm/mcp-server/server.js +7 -1
- package/esm/mcp-server/server.js.map +1 -1
- package/esm/mcp-server/tools/annotatorsCreate.d.ts +7 -0
- package/esm/mcp-server/tools/annotatorsCreate.d.ts.map +1 -0
- package/esm/mcp-server/tools/annotatorsCreate.js +34 -0
- package/esm/mcp-server/tools/annotatorsCreate.js.map +1 -0
- package/esm/mcp-server/tools/annotatorsList.d.ts +7 -0
- package/esm/mcp-server/tools/annotatorsList.d.ts.map +1 -0
- package/esm/mcp-server/tools/annotatorsList.js +34 -0
- package/esm/mcp-server/tools/annotatorsList.js.map +1 -0
- package/esm/mcp-server/tools/annotatorsUpdate.d.ts +7 -0
- package/esm/mcp-server/tools/annotatorsUpdate.d.ts.map +1 -0
- package/esm/mcp-server/tools/annotatorsUpdate.js +34 -0
- package/esm/mcp-server/tools/annotatorsUpdate.js.map +1 -0
- package/esm/models/{routersagentsagentresponse.d.ts → agentresponse.d.ts} +7 -7
- package/esm/models/agentresponse.d.ts.map +1 -0
- package/esm/models/{routersagentsagentresponse.js → agentresponse.js} +5 -5
- package/esm/models/agentresponse.js.map +1 -0
- package/esm/models/agentsummary.d.ts +1 -0
- package/esm/models/agentsummary.d.ts.map +1 -1
- package/esm/models/agentsummary.js +1 -0
- package/esm/models/agentsummary.js.map +1 -1
- package/esm/models/annotatorcreate.d.ts +6 -0
- package/esm/models/annotatorcreate.d.ts.map +1 -0
- package/esm/models/annotatorcreate.js +8 -0
- package/esm/models/annotatorcreate.js.map +1 -0
- package/esm/models/annotatorcreateresponse.d.ts +7 -0
- package/esm/models/annotatorcreateresponse.d.ts.map +1 -0
- package/esm/models/annotatorcreateresponse.js +9 -0
- package/esm/models/annotatorcreateresponse.js.map +1 -0
- package/esm/models/annotatorresponse.d.ts +12 -0
- package/esm/models/annotatorresponse.d.ts.map +1 -0
- package/esm/models/annotatorresponse.js +15 -0
- package/esm/models/annotatorresponse.js.map +1 -0
- package/esm/models/annotatorupdate.d.ts +6 -0
- package/esm/models/annotatorupdate.d.ts.map +1 -0
- package/esm/models/annotatorupdate.js +8 -0
- package/esm/models/annotatorupdate.js.map +1 -0
- package/esm/models/createannotatorendpointannotatorspostop.d.ts +12 -0
- package/esm/models/createannotatorendpointannotatorspostop.d.ts.map +1 -0
- package/esm/models/createannotatorendpointannotatorspostop.js +16 -0
- package/esm/models/createannotatorendpointannotatorspostop.js.map +1 -0
- package/esm/models/getagentendpointagentsagentuuidgetop.d.ts +2 -2
- package/esm/models/getagentendpointagentsagentuuidgetop.d.ts.map +1 -1
- package/esm/models/getagentendpointagentsagentuuidgetop.js +2 -2
- package/esm/models/getagentendpointagentsagentuuidgetop.js.map +1 -1
- package/esm/models/listannotatorsannotatorsgetop.d.ts +10 -0
- package/esm/models/listannotatorsannotatorsgetop.d.ts.map +1 -0
- package/esm/models/listannotatorsannotatorsgetop.js +14 -0
- package/esm/models/listannotatorsannotatorsgetop.js.map +1 -0
- package/esm/models/updateagentendpointagentsagentuuidputop.d.ts +2 -2
- package/esm/models/updateagentendpointagentsagentuuidputop.d.ts.map +1 -1
- package/esm/models/updateagentendpointagentsagentuuidputop.js +2 -2
- package/esm/models/updateagentendpointagentsagentuuidputop.js.map +1 -1
- package/esm/models/updateannotatorendpointannotatorsannotatoruuidputop.d.ts +13 -0
- package/esm/models/updateannotatorendpointannotatorsannotatoruuidputop.d.ts.map +1 -0
- package/esm/models/updateannotatorendpointannotatorsannotatoruuidputop.js +19 -0
- package/esm/models/updateannotatorendpointannotatorsannotatoruuidputop.js.map +1 -0
- package/esm/tool-names.d.ts.map +1 -1
- package/esm/tool-names.js +12 -0
- package/esm/tool-names.js.map +1 -1
- package/package.json +1 -1
- package/src/funcs/annotatorsCreate.ts +149 -0
- package/src/funcs/annotatorsList.ts +148 -0
- package/src/funcs/annotatorsUpdate.ts +160 -0
- package/src/landing-page.ts +1 -1
- package/src/lib/config.ts +2 -2
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +7 -1
- package/src/mcp-server/tools/annotatorsCreate.ts +43 -0
- package/src/mcp-server/tools/annotatorsList.ts +42 -0
- package/src/mcp-server/tools/annotatorsUpdate.ts +42 -0
- package/src/models/{routersagentsagentresponse.ts → agentresponse.ts} +7 -11
- package/src/models/agentsummary.ts +2 -0
- package/src/models/annotatorcreate.ts +11 -0
- package/src/models/annotatorcreateresponse.ts +14 -0
- package/src/models/annotatorresponse.ts +36 -0
- package/src/models/annotatorupdate.ts +13 -0
- package/src/models/createannotatorendpointannotatorspostop.ts +40 -0
- package/src/models/getagentendpointagentsagentuuidgetop.ts +3 -6
- package/src/models/listannotatorsannotatorsgetop.ts +34 -0
- package/src/models/updateagentendpointagentsagentuuidputop.ts +3 -6
- package/src/models/updateannotatorendpointannotatorsannotatoruuidputop.ts +42 -0
- package/src/tool-names.ts +12 -0
- package/esm/models/routersagentsagentresponse.d.ts.map +0 -1
- package/esm/models/routersagentsagentresponse.js.map +0 -1
package/bin/mcp-server.js
CHANGED
|
@@ -13350,14 +13350,17 @@ var require_dist = __commonJS((exports) => {
|
|
|
13350
13350
|
return result;
|
|
13351
13351
|
}
|
|
13352
13352
|
function parse5(header, options) {
|
|
13353
|
+
const stopChar = options?.comma === true ? COMMA : 65536;
|
|
13353
13354
|
const len = header.length;
|
|
13354
|
-
let index = skipOWS(header, 0, len);
|
|
13355
|
+
let index = skipOWS(header, options?.start ?? 0, len);
|
|
13355
13356
|
const valueStart = index;
|
|
13356
|
-
index = skipValue(header, index, len);
|
|
13357
|
+
index = skipValue(header, index, len, stopChar);
|
|
13357
13358
|
const valueEnd = trailingOWS(header, valueStart, index);
|
|
13358
13359
|
const type = header.slice(valueStart, valueEnd).toLowerCase();
|
|
13359
|
-
|
|
13360
|
-
|
|
13360
|
+
if (options?.parameters === false) {
|
|
13361
|
+
return { type, index, parameters: new NullObject };
|
|
13362
|
+
}
|
|
13363
|
+
return parseParameters(header, type, index, len, stopChar);
|
|
13361
13364
|
}
|
|
13362
13365
|
var SP = 32;
|
|
13363
13366
|
var HTAB = 9;
|
|
@@ -13365,14 +13368,19 @@ var require_dist = __commonJS((exports) => {
|
|
|
13365
13368
|
var EQ = 61;
|
|
13366
13369
|
var DQUOTE = 34;
|
|
13367
13370
|
var BSLASH = 92;
|
|
13368
|
-
|
|
13371
|
+
var COMMA = 44;
|
|
13372
|
+
function parseParameters(header, type, index, len, stopChar) {
|
|
13369
13373
|
const parameters = new NullObject;
|
|
13370
13374
|
parameter:
|
|
13371
13375
|
while (index < len) {
|
|
13376
|
+
if (header.charCodeAt(index) === stopChar)
|
|
13377
|
+
break;
|
|
13372
13378
|
index = skipOWS(header, index + 1, len);
|
|
13373
13379
|
const keyStart = index;
|
|
13374
13380
|
while (index < len) {
|
|
13375
13381
|
const code = header.charCodeAt(index);
|
|
13382
|
+
if (code === stopChar)
|
|
13383
|
+
break parameter;
|
|
13376
13384
|
if (code === SEMI)
|
|
13377
13385
|
continue parameter;
|
|
13378
13386
|
if (code === EQ) {
|
|
@@ -13385,7 +13393,7 @@ var require_dist = __commonJS((exports) => {
|
|
|
13385
13393
|
while (index < len) {
|
|
13386
13394
|
const code2 = header.charCodeAt(index++);
|
|
13387
13395
|
if (code2 === DQUOTE) {
|
|
13388
|
-
index = skipValue(header, index, len);
|
|
13396
|
+
index = skipValue(header, index, len, stopChar);
|
|
13389
13397
|
if (parameters[key] === undefined)
|
|
13390
13398
|
parameters[key] = value;
|
|
13391
13399
|
break;
|
|
@@ -13399,7 +13407,7 @@ var require_dist = __commonJS((exports) => {
|
|
|
13399
13407
|
continue parameter;
|
|
13400
13408
|
}
|
|
13401
13409
|
const valueStart = index;
|
|
13402
|
-
index = skipValue(header, index, len);
|
|
13410
|
+
index = skipValue(header, index, len, stopChar);
|
|
13403
13411
|
if (parameters[key] === undefined) {
|
|
13404
13412
|
const valueEnd = trailingOWS(header, valueStart, index);
|
|
13405
13413
|
parameters[key] = header.slice(valueStart, valueEnd);
|
|
@@ -13409,12 +13417,12 @@ var require_dist = __commonJS((exports) => {
|
|
|
13409
13417
|
index++;
|
|
13410
13418
|
}
|
|
13411
13419
|
}
|
|
13412
|
-
return parameters;
|
|
13420
|
+
return { type, index, parameters };
|
|
13413
13421
|
}
|
|
13414
|
-
function skipValue(str, index, len) {
|
|
13422
|
+
function skipValue(str, index, len, stopChar) {
|
|
13415
13423
|
while (index < len) {
|
|
13416
|
-
const
|
|
13417
|
-
if (
|
|
13424
|
+
const code = str.charCodeAt(index);
|
|
13425
|
+
if (code === SEMI || code === stopChar)
|
|
13418
13426
|
break;
|
|
13419
13427
|
index++;
|
|
13420
13428
|
}
|
|
@@ -23133,14 +23141,17 @@ var require_dist2 = __commonJS((exports) => {
|
|
|
23133
23141
|
return result;
|
|
23134
23142
|
}
|
|
23135
23143
|
function parse5(header, options) {
|
|
23144
|
+
const stopChar = options?.comma === true ? COMMA : 65536;
|
|
23136
23145
|
const len = header.length;
|
|
23137
|
-
let index = skipOWS(header, 0, len);
|
|
23146
|
+
let index = skipOWS(header, options?.start ?? 0, len);
|
|
23138
23147
|
const valueStart = index;
|
|
23139
|
-
index = skipValue(header, index, len);
|
|
23148
|
+
index = skipValue(header, index, len, stopChar);
|
|
23140
23149
|
const valueEnd = trailingOWS(header, valueStart, index);
|
|
23141
23150
|
const type = header.slice(valueStart, valueEnd).toLowerCase();
|
|
23142
|
-
|
|
23143
|
-
|
|
23151
|
+
if (options?.parameters === false) {
|
|
23152
|
+
return { type, index, parameters: new NullObject };
|
|
23153
|
+
}
|
|
23154
|
+
return parseParameters(header, type, index, len, stopChar);
|
|
23144
23155
|
}
|
|
23145
23156
|
var SP = 32;
|
|
23146
23157
|
var HTAB = 9;
|
|
@@ -23148,14 +23159,19 @@ var require_dist2 = __commonJS((exports) => {
|
|
|
23148
23159
|
var EQ = 61;
|
|
23149
23160
|
var DQUOTE = 34;
|
|
23150
23161
|
var BSLASH = 92;
|
|
23151
|
-
|
|
23162
|
+
var COMMA = 44;
|
|
23163
|
+
function parseParameters(header, type, index, len, stopChar) {
|
|
23152
23164
|
const parameters = new NullObject;
|
|
23153
23165
|
parameter:
|
|
23154
23166
|
while (index < len) {
|
|
23167
|
+
if (header.charCodeAt(index) === stopChar)
|
|
23168
|
+
break;
|
|
23155
23169
|
index = skipOWS(header, index + 1, len);
|
|
23156
23170
|
const keyStart = index;
|
|
23157
23171
|
while (index < len) {
|
|
23158
23172
|
const code = header.charCodeAt(index);
|
|
23173
|
+
if (code === stopChar)
|
|
23174
|
+
break parameter;
|
|
23159
23175
|
if (code === SEMI)
|
|
23160
23176
|
continue parameter;
|
|
23161
23177
|
if (code === EQ) {
|
|
@@ -23168,7 +23184,7 @@ var require_dist2 = __commonJS((exports) => {
|
|
|
23168
23184
|
while (index < len) {
|
|
23169
23185
|
const code2 = header.charCodeAt(index++);
|
|
23170
23186
|
if (code2 === DQUOTE) {
|
|
23171
|
-
index = skipValue(header, index, len);
|
|
23187
|
+
index = skipValue(header, index, len, stopChar);
|
|
23172
23188
|
if (parameters[key] === undefined)
|
|
23173
23189
|
parameters[key] = value;
|
|
23174
23190
|
break;
|
|
@@ -23182,7 +23198,7 @@ var require_dist2 = __commonJS((exports) => {
|
|
|
23182
23198
|
continue parameter;
|
|
23183
23199
|
}
|
|
23184
23200
|
const valueStart = index;
|
|
23185
|
-
index = skipValue(header, index, len);
|
|
23201
|
+
index = skipValue(header, index, len, stopChar);
|
|
23186
23202
|
if (parameters[key] === undefined) {
|
|
23187
23203
|
const valueEnd = trailingOWS(header, valueStart, index);
|
|
23188
23204
|
parameters[key] = header.slice(valueStart, valueEnd);
|
|
@@ -23192,12 +23208,12 @@ var require_dist2 = __commonJS((exports) => {
|
|
|
23192
23208
|
index++;
|
|
23193
23209
|
}
|
|
23194
23210
|
}
|
|
23195
|
-
return parameters;
|
|
23211
|
+
return { type, index, parameters };
|
|
23196
23212
|
}
|
|
23197
|
-
function skipValue(str, index, len) {
|
|
23213
|
+
function skipValue(str, index, len, stopChar) {
|
|
23198
23214
|
while (index < len) {
|
|
23199
|
-
const
|
|
23200
|
-
if (
|
|
23215
|
+
const code = str.charCodeAt(index);
|
|
23216
|
+
if (code === SEMI || code === stopChar)
|
|
23201
23217
|
break;
|
|
23202
23218
|
index++;
|
|
23203
23219
|
}
|
|
@@ -51412,9 +51428,9 @@ var init_config = __esm(() => {
|
|
|
51412
51428
|
SDK_METADATA = {
|
|
51413
51429
|
language: "typescript",
|
|
51414
51430
|
openapiDocVersion: "0.1.0",
|
|
51415
|
-
sdkVersion: "0.0.
|
|
51431
|
+
sdkVersion: "0.0.34",
|
|
51416
51432
|
genVersion: "2.915.1",
|
|
51417
|
-
userAgent: "speakeasy-sdk/mcp-typescript 0.0.
|
|
51433
|
+
userAgent: "speakeasy-sdk/mcp-typescript 0.0.34 2.915.1 0.1.0 @dalmia/calibrate-mcp"
|
|
51418
51434
|
};
|
|
51419
51435
|
});
|
|
51420
51436
|
|
|
@@ -53073,19 +53089,19 @@ Requires a Calibrate API key (CALIBRATE_API_KEY).
|
|
|
53073
53089
|
};
|
|
53074
53090
|
});
|
|
53075
53091
|
|
|
53076
|
-
// src/models/
|
|
53077
|
-
var
|
|
53078
|
-
var
|
|
53092
|
+
// src/models/agentresponse.ts
|
|
53093
|
+
var AgentResponseType$zodSchema, AgentResponse$zodSchema;
|
|
53094
|
+
var init_agentresponse = __esm(() => {
|
|
53079
53095
|
init_zod();
|
|
53080
|
-
|
|
53096
|
+
AgentResponseType$zodSchema = _enum([
|
|
53081
53097
|
"agent",
|
|
53082
53098
|
"connection"
|
|
53083
53099
|
]).describe("- `agent`: built inside Calibrate\n- `connection`: your existing agent connected to Calibrate");
|
|
53084
|
-
|
|
53100
|
+
AgentResponse$zodSchema = object({
|
|
53085
53101
|
config: record(string2(), any()).nullable().optional().describe("Agent configuration"),
|
|
53086
53102
|
created_at: string2().describe("When the agent was created (ISO 8601 UTC)"),
|
|
53087
53103
|
name: string2().describe("Name of the agent"),
|
|
53088
|
-
type:
|
|
53104
|
+
type: AgentResponseType$zodSchema.describe("- `agent`: built inside Calibrate\n- `connection`: your existing agent connected to Calibrate"),
|
|
53089
53105
|
updated_at: string2().describe("When the agent was last updated (ISO 8601 UTC)"),
|
|
53090
53106
|
uuid: string2().describe("ID of the agent")
|
|
53091
53107
|
});
|
|
@@ -53095,14 +53111,14 @@ var init_routersagentsagentresponse = __esm(() => {
|
|
|
53095
53111
|
var GetAgentEndpointAgentsAgentUuidGetRequest$zodSchema, GetAgentEndpointAgentsAgentUuidGetResponse$zodSchema;
|
|
53096
53112
|
var init_getagentendpointagentsagentuuidgetop = __esm(() => {
|
|
53097
53113
|
init_zod();
|
|
53114
|
+
init_agentresponse();
|
|
53098
53115
|
init_httpvalidationerror();
|
|
53099
|
-
init_routersagentsagentresponse();
|
|
53100
53116
|
GetAgentEndpointAgentsAgentUuidGetRequest$zodSchema = object({
|
|
53101
53117
|
agent_uuid: string2().describe("The agent to retrieve"),
|
|
53102
53118
|
xAPIKey: string2().nullable().optional()
|
|
53103
53119
|
});
|
|
53104
53120
|
GetAgentEndpointAgentsAgentUuidGetResponse$zodSchema = union([
|
|
53105
|
-
|
|
53121
|
+
AgentResponse$zodSchema,
|
|
53106
53122
|
HTTPValidationError$zodSchema
|
|
53107
53123
|
]);
|
|
53108
53124
|
});
|
|
@@ -53394,6 +53410,7 @@ var init_agentsummary = __esm(() => {
|
|
|
53394
53410
|
]).describe("- `agent`: built inside Calibrate\n- `connection`: your existing agent connected to Calibrate");
|
|
53395
53411
|
AgentSummary$zodSchema = object({
|
|
53396
53412
|
connection_verified: boolean2().nullable().optional().describe("Whether the agent's connection has been verified, for a `type=connection` agent"),
|
|
53413
|
+
created_at: string2().describe("When the agent was created (ISO 8601 UTC)"),
|
|
53397
53414
|
has_default_inputs: boolean2().describe("Whether the agent has custom request fields configured"),
|
|
53398
53415
|
name: string2().describe("Name of the agent"),
|
|
53399
53416
|
type: AgentSummaryType$zodSchema.describe("- `agent`: built inside Calibrate\n- `connection`: your existing agent connected to Calibrate"),
|
|
@@ -53935,16 +53952,16 @@ var init_agentupdate = __esm(() => {
|
|
|
53935
53952
|
var UpdateAgentEndpointAgentsAgentUuidPutRequest$zodSchema, UpdateAgentEndpointAgentsAgentUuidPutResponse$zodSchema;
|
|
53936
53953
|
var init_updateagentendpointagentsagentuuidputop = __esm(() => {
|
|
53937
53954
|
init_zod();
|
|
53955
|
+
init_agentresponse();
|
|
53938
53956
|
init_agentupdate();
|
|
53939
53957
|
init_httpvalidationerror();
|
|
53940
|
-
init_routersagentsagentresponse();
|
|
53941
53958
|
UpdateAgentEndpointAgentsAgentUuidPutRequest$zodSchema = object({
|
|
53942
53959
|
agent_uuid: string2().describe("The agent to update"),
|
|
53943
53960
|
body: AgentUpdate$zodSchema,
|
|
53944
53961
|
xAPIKey: string2().nullable().optional()
|
|
53945
53962
|
});
|
|
53946
53963
|
UpdateAgentEndpointAgentsAgentUuidPutResponse$zodSchema = union([
|
|
53947
|
-
|
|
53964
|
+
AgentResponse$zodSchema,
|
|
53948
53965
|
HTTPValidationError$zodSchema
|
|
53949
53966
|
]);
|
|
53950
53967
|
});
|
|
@@ -57440,6 +57457,440 @@ var init_annotationTasksUpdateItems2 = __esm(() => {
|
|
|
57440
57457
|
};
|
|
57441
57458
|
});
|
|
57442
57459
|
|
|
57460
|
+
// src/models/annotatorcreate.ts
|
|
57461
|
+
var AnnotatorCreate$zodSchema;
|
|
57462
|
+
var init_annotatorcreate = __esm(() => {
|
|
57463
|
+
init_zod();
|
|
57464
|
+
AnnotatorCreate$zodSchema = object({
|
|
57465
|
+
name: string2().describe("Annotator name, unique within your workspace")
|
|
57466
|
+
});
|
|
57467
|
+
});
|
|
57468
|
+
|
|
57469
|
+
// src/models/annotatorcreateresponse.ts
|
|
57470
|
+
var AnnotatorCreateResponse$zodSchema;
|
|
57471
|
+
var init_annotatorcreateresponse = __esm(() => {
|
|
57472
|
+
init_zod();
|
|
57473
|
+
AnnotatorCreateResponse$zodSchema = object({
|
|
57474
|
+
message: string2().describe("Success message"),
|
|
57475
|
+
uuid: string2().describe("ID of the newly created annotator")
|
|
57476
|
+
});
|
|
57477
|
+
});
|
|
57478
|
+
|
|
57479
|
+
// src/models/createannotatorendpointannotatorspostop.ts
|
|
57480
|
+
var CreateAnnotatorEndpointAnnotatorsPostRequest$zodSchema, CreateAnnotatorEndpointAnnotatorsPostResponse$zodSchema;
|
|
57481
|
+
var init_createannotatorendpointannotatorspostop = __esm(() => {
|
|
57482
|
+
init_zod();
|
|
57483
|
+
init_annotatorcreate();
|
|
57484
|
+
init_annotatorcreateresponse();
|
|
57485
|
+
init_httpvalidationerror();
|
|
57486
|
+
CreateAnnotatorEndpointAnnotatorsPostRequest$zodSchema = object({
|
|
57487
|
+
body: AnnotatorCreate$zodSchema,
|
|
57488
|
+
xAPIKey: string2().nullable().optional()
|
|
57489
|
+
});
|
|
57490
|
+
CreateAnnotatorEndpointAnnotatorsPostResponse$zodSchema = union([
|
|
57491
|
+
AnnotatorCreateResponse$zodSchema,
|
|
57492
|
+
HTTPValidationError$zodSchema
|
|
57493
|
+
]);
|
|
57494
|
+
});
|
|
57495
|
+
|
|
57496
|
+
// src/funcs/annotatorsCreate.ts
|
|
57497
|
+
function annotatorsCreate(client$, request, options) {
|
|
57498
|
+
return new APIPromise($do27(client$, request, options));
|
|
57499
|
+
}
|
|
57500
|
+
async function $do27(client$, request, options) {
|
|
57501
|
+
const parsed$ = safeParse4(request, (value$) => CreateAnnotatorEndpointAnnotatorsPostRequest$zodSchema.parse(value$), "Input validation failed");
|
|
57502
|
+
if (!parsed$.ok) {
|
|
57503
|
+
return [parsed$, { status: "invalid" }];
|
|
57504
|
+
}
|
|
57505
|
+
const payload$ = parsed$.value;
|
|
57506
|
+
const body$ = encodeJSON("body", payload$.body, { explode: true });
|
|
57507
|
+
const path$ = pathToFunc("/annotators")();
|
|
57508
|
+
const headers$ = new Headers(compactMap({
|
|
57509
|
+
"Content-Type": "application/json",
|
|
57510
|
+
Accept: "application/json",
|
|
57511
|
+
"X-API-Key": encodeSimple("X-API-Key", payload$.xAPIKey, {
|
|
57512
|
+
explode: false,
|
|
57513
|
+
charEncoding: "none"
|
|
57514
|
+
})
|
|
57515
|
+
}));
|
|
57516
|
+
const securityInput = await extractSecurity(client$._options.security);
|
|
57517
|
+
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
57518
|
+
const context = {
|
|
57519
|
+
options: client$._options,
|
|
57520
|
+
baseURL: options?.serverURL ?? client$._baseURL ?? "",
|
|
57521
|
+
operationID: "create_annotator_endpoint_annotators_post",
|
|
57522
|
+
oAuth2Scopes: null,
|
|
57523
|
+
resolvedSecurity: requestSecurity,
|
|
57524
|
+
securitySource: client$._options.security,
|
|
57525
|
+
retryConfig: options?.retries || client$._options.retryConfig || { strategy: "none" },
|
|
57526
|
+
retryCodes: options?.retryCodes || [
|
|
57527
|
+
"429",
|
|
57528
|
+
"500",
|
|
57529
|
+
"502",
|
|
57530
|
+
"503",
|
|
57531
|
+
"504"
|
|
57532
|
+
]
|
|
57533
|
+
};
|
|
57534
|
+
const requestRes = client$._createRequest(context, {
|
|
57535
|
+
security: requestSecurity,
|
|
57536
|
+
method: "POST",
|
|
57537
|
+
baseURL: options?.serverURL,
|
|
57538
|
+
path: path$,
|
|
57539
|
+
headers: headers$,
|
|
57540
|
+
body: body$,
|
|
57541
|
+
userAgent: client$._options.userAgent,
|
|
57542
|
+
timeoutMs: options?.timeoutMs || client$._options.timeoutMs || -1
|
|
57543
|
+
}, options);
|
|
57544
|
+
if (!requestRes.ok) {
|
|
57545
|
+
return [requestRes, { status: "invalid" }];
|
|
57546
|
+
}
|
|
57547
|
+
const req$ = requestRes.value;
|
|
57548
|
+
const doResult = await client$._do(req$, {
|
|
57549
|
+
context,
|
|
57550
|
+
errorCodes: [],
|
|
57551
|
+
retryConfig: context.retryConfig,
|
|
57552
|
+
retryCodes: context.retryCodes
|
|
57553
|
+
});
|
|
57554
|
+
if (!doResult.ok) {
|
|
57555
|
+
return [doResult, { status: "request-error", request: req$ }];
|
|
57556
|
+
}
|
|
57557
|
+
return [doResult, {
|
|
57558
|
+
status: "complete",
|
|
57559
|
+
request: req$,
|
|
57560
|
+
response: doResult.value
|
|
57561
|
+
}];
|
|
57562
|
+
}
|
|
57563
|
+
var init_annotatorsCreate = __esm(() => {
|
|
57564
|
+
init_encodings();
|
|
57565
|
+
init_primitives();
|
|
57566
|
+
init_schemas4();
|
|
57567
|
+
init_security();
|
|
57568
|
+
init_url();
|
|
57569
|
+
init_createannotatorendpointannotatorspostop();
|
|
57570
|
+
init_async();
|
|
57571
|
+
});
|
|
57572
|
+
|
|
57573
|
+
// src/mcp-server/tools/annotatorsCreate.ts
|
|
57574
|
+
var args27, tool$annotatorsCreate;
|
|
57575
|
+
var init_annotatorsCreate2 = __esm(() => {
|
|
57576
|
+
init_annotatorsCreate();
|
|
57577
|
+
init_createannotatorendpointannotatorspostop();
|
|
57578
|
+
init_tools();
|
|
57579
|
+
args27 = {
|
|
57580
|
+
request: CreateAnnotatorEndpointAnnotatorsPostRequest$zodSchema
|
|
57581
|
+
};
|
|
57582
|
+
tool$annotatorsCreate = {
|
|
57583
|
+
name: "create-annotator",
|
|
57584
|
+
description: `Create an annotator, a human labeller who can be assigned annotation tasks.
|
|
57585
|
+
`,
|
|
57586
|
+
scopes: ["write"],
|
|
57587
|
+
annotations: {
|
|
57588
|
+
title: "Create annotator",
|
|
57589
|
+
destructiveHint: false,
|
|
57590
|
+
idempotentHint: false,
|
|
57591
|
+
openWorldHint: true,
|
|
57592
|
+
readOnlyHint: false
|
|
57593
|
+
},
|
|
57594
|
+
args: args27,
|
|
57595
|
+
tool: async (client, args28, ctx) => {
|
|
57596
|
+
const [result] = await annotatorsCreate(client, args28.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
57597
|
+
if (!result.ok) {
|
|
57598
|
+
return {
|
|
57599
|
+
content: [{ type: "text", text: result.error.message }],
|
|
57600
|
+
isError: true
|
|
57601
|
+
};
|
|
57602
|
+
}
|
|
57603
|
+
return formatResult(result.value);
|
|
57604
|
+
}
|
|
57605
|
+
};
|
|
57606
|
+
});
|
|
57607
|
+
|
|
57608
|
+
// src/models/annotatorresponse.ts
|
|
57609
|
+
var AnnotatorResponse$zodSchema;
|
|
57610
|
+
var init_annotatorresponse = __esm(() => {
|
|
57611
|
+
init_zod();
|
|
57612
|
+
AnnotatorResponse$zodSchema = object({
|
|
57613
|
+
created_at: string2().describe("When the annotator was created (ISO 8601 UTC)"),
|
|
57614
|
+
current_agreement: number2().nullable().optional().describe("Latest pairwise mean agreement with other annotators, from 0 to 1"),
|
|
57615
|
+
jobs_count: int().nullable().optional().describe("Number of labelling jobs assigned to this annotator"),
|
|
57616
|
+
name: string2().describe("Annotator name"),
|
|
57617
|
+
pair_count: int().nullable().optional().describe("Number of comparable annotation pairs behind the current agreement score"),
|
|
57618
|
+
updated_at: string2().describe("When the annotator was last updated (ISO 8601 UTC)"),
|
|
57619
|
+
uuid: string2().describe("Annotator ID")
|
|
57620
|
+
});
|
|
57621
|
+
});
|
|
57622
|
+
|
|
57623
|
+
// src/models/listannotatorsannotatorsgetop.ts
|
|
57624
|
+
var ListAnnotatorsAnnotatorsGetRequest$zodSchema, ListAnnotatorsAnnotatorsGetResponse$zodSchema;
|
|
57625
|
+
var init_listannotatorsannotatorsgetop = __esm(() => {
|
|
57626
|
+
init_zod();
|
|
57627
|
+
init_annotatorresponse();
|
|
57628
|
+
init_httpvalidationerror();
|
|
57629
|
+
ListAnnotatorsAnnotatorsGetRequest$zodSchema = object({
|
|
57630
|
+
xAPIKey: string2().nullable().optional()
|
|
57631
|
+
});
|
|
57632
|
+
ListAnnotatorsAnnotatorsGetResponse$zodSchema = union([
|
|
57633
|
+
array(AnnotatorResponse$zodSchema).describe("Successful Response"),
|
|
57634
|
+
HTTPValidationError$zodSchema
|
|
57635
|
+
]);
|
|
57636
|
+
});
|
|
57637
|
+
|
|
57638
|
+
// src/funcs/annotatorsList.ts
|
|
57639
|
+
function annotatorsList(client$, request, options) {
|
|
57640
|
+
return new APIPromise($do28(client$, request, options));
|
|
57641
|
+
}
|
|
57642
|
+
async function $do28(client$, request, options) {
|
|
57643
|
+
const parsed$ = safeParse4(request, (value$) => ListAnnotatorsAnnotatorsGetRequest$zodSchema.optional().parse(value$), "Input validation failed");
|
|
57644
|
+
if (!parsed$.ok) {
|
|
57645
|
+
return [parsed$, { status: "invalid" }];
|
|
57646
|
+
}
|
|
57647
|
+
const payload$ = parsed$.value;
|
|
57648
|
+
const body$ = null;
|
|
57649
|
+
const path$ = pathToFunc("/annotators")();
|
|
57650
|
+
const headers$ = new Headers(compactMap({
|
|
57651
|
+
Accept: "application/json",
|
|
57652
|
+
"X-API-Key": encodeSimple("X-API-Key", payload$?.xAPIKey, {
|
|
57653
|
+
explode: false,
|
|
57654
|
+
charEncoding: "none"
|
|
57655
|
+
})
|
|
57656
|
+
}));
|
|
57657
|
+
const securityInput = await extractSecurity(client$._options.security);
|
|
57658
|
+
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
57659
|
+
const context = {
|
|
57660
|
+
options: client$._options,
|
|
57661
|
+
baseURL: options?.serverURL ?? client$._baseURL ?? "",
|
|
57662
|
+
operationID: "list_annotators_annotators_get",
|
|
57663
|
+
oAuth2Scopes: null,
|
|
57664
|
+
resolvedSecurity: requestSecurity,
|
|
57665
|
+
securitySource: client$._options.security,
|
|
57666
|
+
retryConfig: options?.retries || client$._options.retryConfig || { strategy: "none" },
|
|
57667
|
+
retryCodes: options?.retryCodes || [
|
|
57668
|
+
"429",
|
|
57669
|
+
"500",
|
|
57670
|
+
"502",
|
|
57671
|
+
"503",
|
|
57672
|
+
"504"
|
|
57673
|
+
]
|
|
57674
|
+
};
|
|
57675
|
+
const requestRes = client$._createRequest(context, {
|
|
57676
|
+
security: requestSecurity,
|
|
57677
|
+
method: "GET",
|
|
57678
|
+
baseURL: options?.serverURL,
|
|
57679
|
+
path: path$,
|
|
57680
|
+
headers: headers$,
|
|
57681
|
+
body: body$,
|
|
57682
|
+
userAgent: client$._options.userAgent,
|
|
57683
|
+
timeoutMs: options?.timeoutMs || client$._options.timeoutMs || -1
|
|
57684
|
+
}, options);
|
|
57685
|
+
if (!requestRes.ok) {
|
|
57686
|
+
return [requestRes, { status: "invalid" }];
|
|
57687
|
+
}
|
|
57688
|
+
const req$ = requestRes.value;
|
|
57689
|
+
const doResult = await client$._do(req$, {
|
|
57690
|
+
context,
|
|
57691
|
+
errorCodes: [],
|
|
57692
|
+
retryConfig: context.retryConfig,
|
|
57693
|
+
retryCodes: context.retryCodes
|
|
57694
|
+
});
|
|
57695
|
+
if (!doResult.ok) {
|
|
57696
|
+
return [doResult, { status: "request-error", request: req$ }];
|
|
57697
|
+
}
|
|
57698
|
+
return [doResult, {
|
|
57699
|
+
status: "complete",
|
|
57700
|
+
request: req$,
|
|
57701
|
+
response: doResult.value
|
|
57702
|
+
}];
|
|
57703
|
+
}
|
|
57704
|
+
var init_annotatorsList = __esm(() => {
|
|
57705
|
+
init_encodings();
|
|
57706
|
+
init_primitives();
|
|
57707
|
+
init_schemas4();
|
|
57708
|
+
init_security();
|
|
57709
|
+
init_url();
|
|
57710
|
+
init_listannotatorsannotatorsgetop();
|
|
57711
|
+
init_async();
|
|
57712
|
+
});
|
|
57713
|
+
|
|
57714
|
+
// src/mcp-server/tools/annotatorsList.ts
|
|
57715
|
+
var args28, tool$annotatorsList;
|
|
57716
|
+
var init_annotatorsList2 = __esm(() => {
|
|
57717
|
+
init_annotatorsList();
|
|
57718
|
+
init_listannotatorsannotatorsgetop();
|
|
57719
|
+
init_tools();
|
|
57720
|
+
args28 = {
|
|
57721
|
+
request: ListAnnotatorsAnnotatorsGetRequest$zodSchema.optional()
|
|
57722
|
+
};
|
|
57723
|
+
tool$annotatorsList = {
|
|
57724
|
+
name: "list-annotators",
|
|
57725
|
+
description: `List your annotators with their job counts and agreement scores.
|
|
57726
|
+
`,
|
|
57727
|
+
scopes: ["read"],
|
|
57728
|
+
annotations: {
|
|
57729
|
+
title: "List annotators",
|
|
57730
|
+
destructiveHint: false,
|
|
57731
|
+
idempotentHint: false,
|
|
57732
|
+
openWorldHint: true,
|
|
57733
|
+
readOnlyHint: true
|
|
57734
|
+
},
|
|
57735
|
+
args: args28,
|
|
57736
|
+
tool: async (client, args29, ctx) => {
|
|
57737
|
+
const [result] = await annotatorsList(client, args29.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
57738
|
+
if (!result.ok) {
|
|
57739
|
+
return {
|
|
57740
|
+
content: [{ type: "text", text: result.error.message }],
|
|
57741
|
+
isError: true
|
|
57742
|
+
};
|
|
57743
|
+
}
|
|
57744
|
+
return formatResult(result.value);
|
|
57745
|
+
}
|
|
57746
|
+
};
|
|
57747
|
+
});
|
|
57748
|
+
|
|
57749
|
+
// src/models/annotatorupdate.ts
|
|
57750
|
+
var AnnotatorUpdate$zodSchema;
|
|
57751
|
+
var init_annotatorupdate = __esm(() => {
|
|
57752
|
+
init_zod();
|
|
57753
|
+
AnnotatorUpdate$zodSchema = object({
|
|
57754
|
+
name: string2().nullable().optional().describe("New annotator name, unique within your workspace. Omit to leave unchanged")
|
|
57755
|
+
});
|
|
57756
|
+
});
|
|
57757
|
+
|
|
57758
|
+
// src/models/updateannotatorendpointannotatorsannotatoruuidputop.ts
|
|
57759
|
+
var UpdateAnnotatorEndpointAnnotatorsAnnotatorUuidPutRequest$zodSchema, UpdateAnnotatorEndpointAnnotatorsAnnotatorUuidPutResponse$zodSchema;
|
|
57760
|
+
var init_updateannotatorendpointannotatorsannotatoruuidputop = __esm(() => {
|
|
57761
|
+
init_zod();
|
|
57762
|
+
init_annotatorresponse();
|
|
57763
|
+
init_annotatorupdate();
|
|
57764
|
+
init_httpvalidationerror();
|
|
57765
|
+
UpdateAnnotatorEndpointAnnotatorsAnnotatorUuidPutRequest$zodSchema = object({
|
|
57766
|
+
annotator_uuid: string2().describe("Annotator to update"),
|
|
57767
|
+
body: AnnotatorUpdate$zodSchema,
|
|
57768
|
+
xAPIKey: string2().nullable().optional()
|
|
57769
|
+
});
|
|
57770
|
+
UpdateAnnotatorEndpointAnnotatorsAnnotatorUuidPutResponse$zodSchema = union([
|
|
57771
|
+
AnnotatorResponse$zodSchema,
|
|
57772
|
+
HTTPValidationError$zodSchema
|
|
57773
|
+
]);
|
|
57774
|
+
});
|
|
57775
|
+
|
|
57776
|
+
// src/funcs/annotatorsUpdate.ts
|
|
57777
|
+
function annotatorsUpdate(client$, request, options) {
|
|
57778
|
+
return new APIPromise($do29(client$, request, options));
|
|
57779
|
+
}
|
|
57780
|
+
async function $do29(client$, request, options) {
|
|
57781
|
+
const parsed$ = safeParse4(request, (value$) => UpdateAnnotatorEndpointAnnotatorsAnnotatorUuidPutRequest$zodSchema.parse(value$), "Input validation failed");
|
|
57782
|
+
if (!parsed$.ok) {
|
|
57783
|
+
return [parsed$, { status: "invalid" }];
|
|
57784
|
+
}
|
|
57785
|
+
const payload$ = parsed$.value;
|
|
57786
|
+
const body$ = encodeJSON("body", payload$.body, { explode: true });
|
|
57787
|
+
const pathParams$ = {
|
|
57788
|
+
annotator_uuid: encodeSimple("annotator_uuid", payload$.annotator_uuid, {
|
|
57789
|
+
explode: false,
|
|
57790
|
+
charEncoding: "percent"
|
|
57791
|
+
})
|
|
57792
|
+
};
|
|
57793
|
+
const path$ = pathToFunc("/annotators/{annotator_uuid}")(pathParams$);
|
|
57794
|
+
const headers$ = new Headers(compactMap({
|
|
57795
|
+
"Content-Type": "application/json",
|
|
57796
|
+
Accept: "application/json",
|
|
57797
|
+
"X-API-Key": encodeSimple("X-API-Key", payload$.xAPIKey, {
|
|
57798
|
+
explode: false,
|
|
57799
|
+
charEncoding: "none"
|
|
57800
|
+
})
|
|
57801
|
+
}));
|
|
57802
|
+
const securityInput = await extractSecurity(client$._options.security);
|
|
57803
|
+
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
57804
|
+
const context = {
|
|
57805
|
+
options: client$._options,
|
|
57806
|
+
baseURL: options?.serverURL ?? client$._baseURL ?? "",
|
|
57807
|
+
operationID: "update_annotator_endpoint_annotators__annotator_uuid__put",
|
|
57808
|
+
oAuth2Scopes: null,
|
|
57809
|
+
resolvedSecurity: requestSecurity,
|
|
57810
|
+
securitySource: client$._options.security,
|
|
57811
|
+
retryConfig: options?.retries || client$._options.retryConfig || { strategy: "none" },
|
|
57812
|
+
retryCodes: options?.retryCodes || [
|
|
57813
|
+
"429",
|
|
57814
|
+
"500",
|
|
57815
|
+
"502",
|
|
57816
|
+
"503",
|
|
57817
|
+
"504"
|
|
57818
|
+
]
|
|
57819
|
+
};
|
|
57820
|
+
const requestRes = client$._createRequest(context, {
|
|
57821
|
+
security: requestSecurity,
|
|
57822
|
+
method: "PUT",
|
|
57823
|
+
baseURL: options?.serverURL,
|
|
57824
|
+
path: path$,
|
|
57825
|
+
headers: headers$,
|
|
57826
|
+
body: body$,
|
|
57827
|
+
userAgent: client$._options.userAgent,
|
|
57828
|
+
timeoutMs: options?.timeoutMs || client$._options.timeoutMs || -1
|
|
57829
|
+
}, options);
|
|
57830
|
+
if (!requestRes.ok) {
|
|
57831
|
+
return [requestRes, { status: "invalid" }];
|
|
57832
|
+
}
|
|
57833
|
+
const req$ = requestRes.value;
|
|
57834
|
+
const doResult = await client$._do(req$, {
|
|
57835
|
+
context,
|
|
57836
|
+
errorCodes: [],
|
|
57837
|
+
retryConfig: context.retryConfig,
|
|
57838
|
+
retryCodes: context.retryCodes
|
|
57839
|
+
});
|
|
57840
|
+
if (!doResult.ok) {
|
|
57841
|
+
return [doResult, { status: "request-error", request: req$ }];
|
|
57842
|
+
}
|
|
57843
|
+
return [doResult, {
|
|
57844
|
+
status: "complete",
|
|
57845
|
+
request: req$,
|
|
57846
|
+
response: doResult.value
|
|
57847
|
+
}];
|
|
57848
|
+
}
|
|
57849
|
+
var init_annotatorsUpdate = __esm(() => {
|
|
57850
|
+
init_encodings();
|
|
57851
|
+
init_primitives();
|
|
57852
|
+
init_schemas4();
|
|
57853
|
+
init_security();
|
|
57854
|
+
init_url();
|
|
57855
|
+
init_updateannotatorendpointannotatorsannotatoruuidputop();
|
|
57856
|
+
init_async();
|
|
57857
|
+
});
|
|
57858
|
+
|
|
57859
|
+
// src/mcp-server/tools/annotatorsUpdate.ts
|
|
57860
|
+
var args29, tool$annotatorsUpdate;
|
|
57861
|
+
var init_annotatorsUpdate2 = __esm(() => {
|
|
57862
|
+
init_annotatorsUpdate();
|
|
57863
|
+
init_updateannotatorendpointannotatorsannotatoruuidputop();
|
|
57864
|
+
init_tools();
|
|
57865
|
+
args29 = {
|
|
57866
|
+
request: UpdateAnnotatorEndpointAnnotatorsAnnotatorUuidPutRequest$zodSchema
|
|
57867
|
+
};
|
|
57868
|
+
tool$annotatorsUpdate = {
|
|
57869
|
+
name: "update-annotator",
|
|
57870
|
+
description: `Rename an annotator in your workspace.
|
|
57871
|
+
`,
|
|
57872
|
+
scopes: ["write"],
|
|
57873
|
+
annotations: {
|
|
57874
|
+
title: "Update annotator",
|
|
57875
|
+
destructiveHint: false,
|
|
57876
|
+
idempotentHint: true,
|
|
57877
|
+
openWorldHint: true,
|
|
57878
|
+
readOnlyHint: false
|
|
57879
|
+
},
|
|
57880
|
+
args: args29,
|
|
57881
|
+
tool: async (client, args30, ctx) => {
|
|
57882
|
+
const [result] = await annotatorsUpdate(client, args30.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
57883
|
+
if (!result.ok) {
|
|
57884
|
+
return {
|
|
57885
|
+
content: [{ type: "text", text: result.error.message }],
|
|
57886
|
+
isError: true
|
|
57887
|
+
};
|
|
57888
|
+
}
|
|
57889
|
+
return formatResult(result.value);
|
|
57890
|
+
}
|
|
57891
|
+
};
|
|
57892
|
+
});
|
|
57893
|
+
|
|
57443
57894
|
// src/models/outputscaleentry.ts
|
|
57444
57895
|
var OutputScaleEntry$zodSchema;
|
|
57445
57896
|
var init_outputscaleentry = __esm(() => {
|
|
@@ -57535,9 +57986,9 @@ var init_createevaluatorendpointevaluatorspostop = __esm(() => {
|
|
|
57535
57986
|
|
|
57536
57987
|
// src/funcs/evaluatorsCreate.ts
|
|
57537
57988
|
function evaluatorsCreate(client$, request, options) {
|
|
57538
|
-
return new APIPromise($
|
|
57989
|
+
return new APIPromise($do30(client$, request, options));
|
|
57539
57990
|
}
|
|
57540
|
-
async function $
|
|
57991
|
+
async function $do30(client$, request, options) {
|
|
57541
57992
|
const parsed$ = safeParse4(request, (value$) => CreateEvaluatorEndpointEvaluatorsPostRequest$zodSchema.parse(value$), "Input validation failed");
|
|
57542
57993
|
if (!parsed$.ok) {
|
|
57543
57994
|
return [parsed$, { status: "invalid" }];
|
|
@@ -57611,12 +58062,12 @@ var init_evaluatorsCreate = __esm(() => {
|
|
|
57611
58062
|
});
|
|
57612
58063
|
|
|
57613
58064
|
// src/mcp-server/tools/evaluatorsCreate.ts
|
|
57614
|
-
var
|
|
58065
|
+
var args30, tool$evaluatorsCreate;
|
|
57615
58066
|
var init_evaluatorsCreate2 = __esm(() => {
|
|
57616
58067
|
init_evaluatorsCreate();
|
|
57617
58068
|
init_createevaluatorendpointevaluatorspostop();
|
|
57618
58069
|
init_tools();
|
|
57619
|
-
|
|
58070
|
+
args30 = {
|
|
57620
58071
|
request: CreateEvaluatorEndpointEvaluatorsPostRequest$zodSchema
|
|
57621
58072
|
};
|
|
57622
58073
|
tool$evaluatorsCreate = {
|
|
@@ -57631,9 +58082,9 @@ var init_evaluatorsCreate2 = __esm(() => {
|
|
|
57631
58082
|
openWorldHint: true,
|
|
57632
58083
|
readOnlyHint: false
|
|
57633
58084
|
},
|
|
57634
|
-
args:
|
|
57635
|
-
tool: async (client,
|
|
57636
|
-
const [result] = await evaluatorsCreate(client,
|
|
58085
|
+
args: args30,
|
|
58086
|
+
tool: async (client, args31, ctx) => {
|
|
58087
|
+
const [result] = await evaluatorsCreate(client, args31.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
57637
58088
|
if (!result.ok) {
|
|
57638
58089
|
return {
|
|
57639
58090
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -57690,9 +58141,9 @@ var init_createversionevaluatorsevaluatoruuidversionspostop = __esm(() => {
|
|
|
57690
58141
|
|
|
57691
58142
|
// src/funcs/evaluatorsCreateVersion.ts
|
|
57692
58143
|
function evaluatorsCreateVersion(client$, request, options) {
|
|
57693
|
-
return new APIPromise($
|
|
58144
|
+
return new APIPromise($do31(client$, request, options));
|
|
57694
58145
|
}
|
|
57695
|
-
async function $
|
|
58146
|
+
async function $do31(client$, request, options) {
|
|
57696
58147
|
const parsed$ = safeParse4(request, (value$) => CreateVersionEvaluatorsEvaluatorUuidVersionsPostRequest$zodSchema.parse(value$), "Input validation failed");
|
|
57697
58148
|
if (!parsed$.ok) {
|
|
57698
58149
|
return [parsed$, { status: "invalid" }];
|
|
@@ -57772,12 +58223,12 @@ var init_evaluatorsCreateVersion = __esm(() => {
|
|
|
57772
58223
|
});
|
|
57773
58224
|
|
|
57774
58225
|
// src/mcp-server/tools/evaluatorsCreateVersion.ts
|
|
57775
|
-
var
|
|
58226
|
+
var args31, tool$evaluatorsCreateVersion;
|
|
57776
58227
|
var init_evaluatorsCreateVersion2 = __esm(() => {
|
|
57777
58228
|
init_evaluatorsCreateVersion();
|
|
57778
58229
|
init_createversionevaluatorsevaluatoruuidversionspostop();
|
|
57779
58230
|
init_tools();
|
|
57780
|
-
|
|
58231
|
+
args31 = {
|
|
57781
58232
|
request: CreateVersionEvaluatorsEvaluatorUuidVersionsPostRequest$zodSchema
|
|
57782
58233
|
};
|
|
57783
58234
|
tool$evaluatorsCreateVersion = {
|
|
@@ -57792,9 +58243,9 @@ var init_evaluatorsCreateVersion2 = __esm(() => {
|
|
|
57792
58243
|
openWorldHint: true,
|
|
57793
58244
|
readOnlyHint: false
|
|
57794
58245
|
},
|
|
57795
|
-
args:
|
|
57796
|
-
tool: async (client,
|
|
57797
|
-
const [result] = await evaluatorsCreateVersion(client,
|
|
58246
|
+
args: args31,
|
|
58247
|
+
tool: async (client, args32, ctx) => {
|
|
58248
|
+
const [result] = await evaluatorsCreateVersion(client, args32.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
57798
58249
|
if (!result.ok) {
|
|
57799
58250
|
return {
|
|
57800
58251
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -57879,9 +58330,9 @@ var init_getevaluatorendpointevaluatorsevaluatoruuidgetop = __esm(() => {
|
|
|
57879
58330
|
|
|
57880
58331
|
// src/funcs/evaluatorsGet.ts
|
|
57881
58332
|
function evaluatorsGet(client$, request, options) {
|
|
57882
|
-
return new APIPromise($
|
|
58333
|
+
return new APIPromise($do32(client$, request, options));
|
|
57883
58334
|
}
|
|
57884
|
-
async function $
|
|
58335
|
+
async function $do32(client$, request, options) {
|
|
57885
58336
|
const parsed$ = safeParse4(request, (value$) => GetEvaluatorEndpointEvaluatorsEvaluatorUuidGetRequest$zodSchema.parse(value$), "Input validation failed");
|
|
57886
58337
|
if (!parsed$.ok) {
|
|
57887
58338
|
return [parsed$, { status: "invalid" }];
|
|
@@ -57964,12 +58415,12 @@ var init_evaluatorsGet = __esm(() => {
|
|
|
57964
58415
|
});
|
|
57965
58416
|
|
|
57966
58417
|
// src/mcp-server/tools/evaluatorsGet.ts
|
|
57967
|
-
var
|
|
58418
|
+
var args32, tool$evaluatorsGet;
|
|
57968
58419
|
var init_evaluatorsGet2 = __esm(() => {
|
|
57969
58420
|
init_evaluatorsGet();
|
|
57970
58421
|
init_getevaluatorendpointevaluatorsevaluatoruuidgetop();
|
|
57971
58422
|
init_tools();
|
|
57972
|
-
|
|
58423
|
+
args32 = {
|
|
57973
58424
|
request: GetEvaluatorEndpointEvaluatorsEvaluatorUuidGetRequest$zodSchema
|
|
57974
58425
|
};
|
|
57975
58426
|
tool$evaluatorsGet = {
|
|
@@ -57984,9 +58435,9 @@ var init_evaluatorsGet2 = __esm(() => {
|
|
|
57984
58435
|
openWorldHint: true,
|
|
57985
58436
|
readOnlyHint: true
|
|
57986
58437
|
},
|
|
57987
|
-
args:
|
|
57988
|
-
tool: async (client,
|
|
57989
|
-
const [result] = await evaluatorsGet(client,
|
|
58438
|
+
args: args32,
|
|
58439
|
+
tool: async (client, args33, ctx) => {
|
|
58440
|
+
const [result] = await evaluatorsGet(client, args33.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
57990
58441
|
if (!result.ok) {
|
|
57991
58442
|
return {
|
|
57992
58443
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -58032,9 +58483,9 @@ var init_listevaluatorsevaluatorsgetop = __esm(() => {
|
|
|
58032
58483
|
|
|
58033
58484
|
// src/funcs/evaluatorsList.ts
|
|
58034
58485
|
function evaluatorsList(client$, request, options) {
|
|
58035
|
-
return new APIPromise($
|
|
58486
|
+
return new APIPromise($do33(client$, request, options));
|
|
58036
58487
|
}
|
|
58037
|
-
async function $
|
|
58488
|
+
async function $do33(client$, request, options) {
|
|
58038
58489
|
const parsed$ = safeParse4(request, (value$) => ListEvaluatorsEvaluatorsGetRequest$zodSchema.optional().parse(value$), "Input validation failed");
|
|
58039
58490
|
if (!parsed$.ok) {
|
|
58040
58491
|
return [parsed$, { status: "invalid" }];
|
|
@@ -58116,12 +58567,12 @@ var init_evaluatorsList = __esm(() => {
|
|
|
58116
58567
|
});
|
|
58117
58568
|
|
|
58118
58569
|
// src/mcp-server/tools/evaluatorsList.ts
|
|
58119
|
-
var
|
|
58570
|
+
var args33, tool$evaluatorsList;
|
|
58120
58571
|
var init_evaluatorsList2 = __esm(() => {
|
|
58121
58572
|
init_evaluatorsList();
|
|
58122
58573
|
init_listevaluatorsevaluatorsgetop();
|
|
58123
58574
|
init_tools();
|
|
58124
|
-
|
|
58575
|
+
args33 = {
|
|
58125
58576
|
request: ListEvaluatorsEvaluatorsGetRequest$zodSchema.optional()
|
|
58126
58577
|
};
|
|
58127
58578
|
tool$evaluatorsList = {
|
|
@@ -58136,9 +58587,9 @@ var init_evaluatorsList2 = __esm(() => {
|
|
|
58136
58587
|
openWorldHint: true,
|
|
58137
58588
|
readOnlyHint: true
|
|
58138
58589
|
},
|
|
58139
|
-
args:
|
|
58140
|
-
tool: async (client,
|
|
58141
|
-
const [result] = await evaluatorsList(client,
|
|
58590
|
+
args: args33,
|
|
58591
|
+
tool: async (client, args34, ctx) => {
|
|
58592
|
+
const [result] = await evaluatorsList(client, args34.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
58142
58593
|
if (!result.ok) {
|
|
58143
58594
|
return {
|
|
58144
58595
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -58268,9 +58719,9 @@ var init_bulkuploadteststestsbulkpostop = __esm(() => {
|
|
|
58268
58719
|
|
|
58269
58720
|
// src/funcs/testsBulkCreate.ts
|
|
58270
58721
|
function testsBulkCreate(client$, request, options) {
|
|
58271
|
-
return new APIPromise($
|
|
58722
|
+
return new APIPromise($do34(client$, request, options));
|
|
58272
58723
|
}
|
|
58273
|
-
async function $
|
|
58724
|
+
async function $do34(client$, request, options) {
|
|
58274
58725
|
const parsed$ = safeParse4(request, (value$) => BulkUploadTestsTestsBulkPostRequest$zodSchema.parse(value$), "Input validation failed");
|
|
58275
58726
|
if (!parsed$.ok) {
|
|
58276
58727
|
return [parsed$, { status: "invalid" }];
|
|
@@ -58344,12 +58795,12 @@ var init_testsBulkCreate = __esm(() => {
|
|
|
58344
58795
|
});
|
|
58345
58796
|
|
|
58346
58797
|
// src/mcp-server/tools/testsBulkCreate.ts
|
|
58347
|
-
var
|
|
58798
|
+
var args34, tool$testsBulkCreate;
|
|
58348
58799
|
var init_testsBulkCreate2 = __esm(() => {
|
|
58349
58800
|
init_testsBulkCreate();
|
|
58350
58801
|
init_bulkuploadteststestsbulkpostop();
|
|
58351
58802
|
init_tools();
|
|
58352
|
-
|
|
58803
|
+
args34 = {
|
|
58353
58804
|
request: BulkUploadTestsTestsBulkPostRequest$zodSchema
|
|
58354
58805
|
};
|
|
58355
58806
|
tool$testsBulkCreate = {
|
|
@@ -58366,9 +58817,9 @@ tests including their UUIDs.
|
|
|
58366
58817
|
openWorldHint: true,
|
|
58367
58818
|
readOnlyHint: false
|
|
58368
58819
|
},
|
|
58369
|
-
args:
|
|
58370
|
-
tool: async (client,
|
|
58371
|
-
const [result] = await testsBulkCreate(client,
|
|
58820
|
+
args: args34,
|
|
58821
|
+
tool: async (client, args35, ctx) => {
|
|
58822
|
+
const [result] = await testsBulkCreate(client, args35.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
58372
58823
|
if (!result.ok) {
|
|
58373
58824
|
return {
|
|
58374
58825
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -58427,9 +58878,9 @@ var init_createtestendpointtestspostop = __esm(() => {
|
|
|
58427
58878
|
|
|
58428
58879
|
// src/funcs/testsCreate.ts
|
|
58429
58880
|
function testsCreate(client$, request, options) {
|
|
58430
|
-
return new APIPromise($
|
|
58881
|
+
return new APIPromise($do35(client$, request, options));
|
|
58431
58882
|
}
|
|
58432
|
-
async function $
|
|
58883
|
+
async function $do35(client$, request, options) {
|
|
58433
58884
|
const parsed$ = safeParse4(request, (value$) => CreateTestEndpointTestsPostRequest$zodSchema.parse(value$), "Input validation failed");
|
|
58434
58885
|
if (!parsed$.ok) {
|
|
58435
58886
|
return [parsed$, { status: "invalid" }];
|
|
@@ -58503,12 +58954,12 @@ var init_testsCreate = __esm(() => {
|
|
|
58503
58954
|
});
|
|
58504
58955
|
|
|
58505
58956
|
// src/mcp-server/tools/testsCreate.ts
|
|
58506
|
-
var
|
|
58957
|
+
var args35, tool$testsCreate;
|
|
58507
58958
|
var init_testsCreate2 = __esm(() => {
|
|
58508
58959
|
init_testsCreate();
|
|
58509
58960
|
init_createtestendpointtestspostop();
|
|
58510
58961
|
init_tools();
|
|
58511
|
-
|
|
58962
|
+
args35 = {
|
|
58512
58963
|
request: CreateTestEndpointTestsPostRequest$zodSchema
|
|
58513
58964
|
};
|
|
58514
58965
|
tool$testsCreate = {
|
|
@@ -58525,9 +58976,9 @@ Requires a Calibrate API key (CALIBRATE_API_KEY).
|
|
|
58525
58976
|
openWorldHint: true,
|
|
58526
58977
|
readOnlyHint: false
|
|
58527
58978
|
},
|
|
58528
|
-
args:
|
|
58529
|
-
tool: async (client,
|
|
58530
|
-
const [result] = await testsCreate(client,
|
|
58979
|
+
args: args35,
|
|
58980
|
+
tool: async (client, args36, ctx) => {
|
|
58981
|
+
const [result] = await testsCreate(client, args36.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
58531
58982
|
if (!result.ok) {
|
|
58532
58983
|
return {
|
|
58533
58984
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -58577,9 +59028,9 @@ var init_gettestendpointteststestuuidgetop = __esm(() => {
|
|
|
58577
59028
|
|
|
58578
59029
|
// src/funcs/testsGet.ts
|
|
58579
59030
|
function testsGet(client$, request, options) {
|
|
58580
|
-
return new APIPromise($
|
|
59031
|
+
return new APIPromise($do36(client$, request, options));
|
|
58581
59032
|
}
|
|
58582
|
-
async function $
|
|
59033
|
+
async function $do36(client$, request, options) {
|
|
58583
59034
|
const parsed$ = safeParse4(request, (value$) => GetTestEndpointTestsTestUuidGetRequest$zodSchema.parse(value$), "Input validation failed");
|
|
58584
59035
|
if (!parsed$.ok) {
|
|
58585
59036
|
return [parsed$, { status: "invalid" }];
|
|
@@ -58658,12 +59109,12 @@ var init_testsGet = __esm(() => {
|
|
|
58658
59109
|
});
|
|
58659
59110
|
|
|
58660
59111
|
// src/mcp-server/tools/testsGet.ts
|
|
58661
|
-
var
|
|
59112
|
+
var args36, tool$testsGet;
|
|
58662
59113
|
var init_testsGet2 = __esm(() => {
|
|
58663
59114
|
init_testsGet();
|
|
58664
59115
|
init_gettestendpointteststestuuidgetop();
|
|
58665
59116
|
init_tools();
|
|
58666
|
-
|
|
59117
|
+
args36 = {
|
|
58667
59118
|
request: GetTestEndpointTestsTestUuidGetRequest$zodSchema
|
|
58668
59119
|
};
|
|
58669
59120
|
tool$testsGet = {
|
|
@@ -58680,9 +59131,9 @@ exist or belongs to another org.
|
|
|
58680
59131
|
openWorldHint: true,
|
|
58681
59132
|
readOnlyHint: true
|
|
58682
59133
|
},
|
|
58683
|
-
args:
|
|
58684
|
-
tool: async (client,
|
|
58685
|
-
const [result] = await testsGet(client,
|
|
59134
|
+
args: args36,
|
|
59135
|
+
tool: async (client, args37, ctx) => {
|
|
59136
|
+
const [result] = await testsGet(client, args37.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
58686
59137
|
if (!result.ok) {
|
|
58687
59138
|
return {
|
|
58688
59139
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -58714,9 +59165,9 @@ var init_listteststestsgetop = __esm(() => {
|
|
|
58714
59165
|
|
|
58715
59166
|
// src/funcs/testsList.ts
|
|
58716
59167
|
function testsList(client$, request, options) {
|
|
58717
|
-
return new APIPromise($
|
|
59168
|
+
return new APIPromise($do37(client$, request, options));
|
|
58718
59169
|
}
|
|
58719
|
-
async function $
|
|
59170
|
+
async function $do37(client$, request, options) {
|
|
58720
59171
|
const parsed$ = safeParse4(request, (value$) => ListTestsTestsGetRequest$zodSchema.optional().parse(value$), "Input validation failed");
|
|
58721
59172
|
if (!parsed$.ok) {
|
|
58722
59173
|
return [parsed$, { status: "invalid" }];
|
|
@@ -58795,12 +59246,12 @@ var init_testsList = __esm(() => {
|
|
|
58795
59246
|
});
|
|
58796
59247
|
|
|
58797
59248
|
// src/mcp-server/tools/testsList.ts
|
|
58798
|
-
var
|
|
59249
|
+
var args37, tool$testsList;
|
|
58799
59250
|
var init_testsList2 = __esm(() => {
|
|
58800
59251
|
init_testsList();
|
|
58801
59252
|
init_listteststestsgetop();
|
|
58802
59253
|
init_tools();
|
|
58803
|
-
|
|
59254
|
+
args37 = {
|
|
58804
59255
|
request: ListTestsTestsGetRequest$zodSchema.optional()
|
|
58805
59256
|
};
|
|
58806
59257
|
tool$testsList = {
|
|
@@ -58817,9 +59268,9 @@ before creating runs.
|
|
|
58817
59268
|
openWorldHint: true,
|
|
58818
59269
|
readOnlyHint: true
|
|
58819
59270
|
},
|
|
58820
|
-
args:
|
|
58821
|
-
tool: async (client,
|
|
58822
|
-
const [result] = await testsList(client,
|
|
59271
|
+
args: args37,
|
|
59272
|
+
tool: async (client, args38, ctx) => {
|
|
59273
|
+
const [result] = await testsList(client, args38.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
58823
59274
|
if (!result.ok) {
|
|
58824
59275
|
return {
|
|
58825
59276
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -58876,9 +59327,9 @@ var init_updatetestendpointteststestuuidputop = __esm(() => {
|
|
|
58876
59327
|
|
|
58877
59328
|
// src/funcs/testsUpdate.ts
|
|
58878
59329
|
function testsUpdate(client$, request, options) {
|
|
58879
|
-
return new APIPromise($
|
|
59330
|
+
return new APIPromise($do38(client$, request, options));
|
|
58880
59331
|
}
|
|
58881
|
-
async function $
|
|
59332
|
+
async function $do38(client$, request, options) {
|
|
58882
59333
|
const parsed$ = safeParse4(request, (value$) => UpdateTestEndpointTestsTestUuidPutRequest$zodSchema.parse(value$), "Input validation failed");
|
|
58883
59334
|
if (!parsed$.ok) {
|
|
58884
59335
|
return [parsed$, { status: "invalid" }];
|
|
@@ -58958,12 +59409,12 @@ var init_testsUpdate = __esm(() => {
|
|
|
58958
59409
|
});
|
|
58959
59410
|
|
|
58960
59411
|
// src/mcp-server/tools/testsUpdate.ts
|
|
58961
|
-
var
|
|
59412
|
+
var args38, tool$testsUpdate;
|
|
58962
59413
|
var init_testsUpdate2 = __esm(() => {
|
|
58963
59414
|
init_testsUpdate();
|
|
58964
59415
|
init_updatetestendpointteststestuuidputop();
|
|
58965
59416
|
init_tools();
|
|
58966
|
-
|
|
59417
|
+
args38 = {
|
|
58967
59418
|
request: UpdateTestEndpointTestsTestUuidPutRequest$zodSchema
|
|
58968
59419
|
};
|
|
58969
59420
|
tool$testsUpdate = {
|
|
@@ -58980,9 +59431,9 @@ fields to change (name, config). Returns the updated test. Fails with
|
|
|
58980
59431
|
openWorldHint: true,
|
|
58981
59432
|
readOnlyHint: false
|
|
58982
59433
|
},
|
|
58983
|
-
args:
|
|
58984
|
-
tool: async (client,
|
|
58985
|
-
const [result] = await testsUpdate(client,
|
|
59434
|
+
args: args38,
|
|
59435
|
+
tool: async (client, args39, ctx) => {
|
|
59436
|
+
const [result] = await testsUpdate(client, args39.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
58986
59437
|
if (!result.ok) {
|
|
58987
59438
|
return {
|
|
58988
59439
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -58998,16 +59449,16 @@ fields to change (name, config). Returns the updated test. Fails with
|
|
|
58998
59449
|
function createMCPServer(deps) {
|
|
58999
59450
|
const server = new McpServer({
|
|
59000
59451
|
name: "CalibrateMcp",
|
|
59001
|
-
version: "0.0.
|
|
59452
|
+
version: "0.0.34"
|
|
59002
59453
|
});
|
|
59003
59454
|
const getClient = deps.getSDK || (() => new CalibrateMcpCore({
|
|
59004
59455
|
security: deps.security,
|
|
59005
59456
|
serverURL: deps.serverURL,
|
|
59006
59457
|
serverIdx: deps.serverIdx,
|
|
59007
59458
|
debugLogger: deps.logger.level === "debug" ? {
|
|
59008
|
-
log: (...
|
|
59009
|
-
group: (...
|
|
59010
|
-
groupEnd: (...
|
|
59459
|
+
log: (...args39) => console.log(...args39),
|
|
59460
|
+
group: (...args39) => console.group(...args39),
|
|
59461
|
+
groupEnd: (...args39) => console.groupEnd(...args39)
|
|
59011
59462
|
} : undefined
|
|
59012
59463
|
}));
|
|
59013
59464
|
const scopes = new Set(deps.scopes);
|
|
@@ -59052,6 +59503,9 @@ function createMCPServer(deps) {
|
|
|
59052
59503
|
tool(tool$annotationTasksGetEvaluatorRun);
|
|
59053
59504
|
tool(tool$annotationTasksGetAgreement);
|
|
59054
59505
|
tool(tool$annotationTasksGetSummary);
|
|
59506
|
+
tool(tool$annotatorsCreate);
|
|
59507
|
+
tool(tool$annotatorsList);
|
|
59508
|
+
tool(tool$annotatorsUpdate);
|
|
59055
59509
|
if (deps.dynamic) {
|
|
59056
59510
|
registerDynamicTools(deps.logger, server, getClient, toolMap, scopes);
|
|
59057
59511
|
}
|
|
@@ -59088,6 +59542,9 @@ var init_server2 = __esm(() => {
|
|
|
59088
59542
|
init_annotationTasksList2();
|
|
59089
59543
|
init_annotationTasksSetEvaluators2();
|
|
59090
59544
|
init_annotationTasksUpdateItems2();
|
|
59545
|
+
init_annotatorsCreate2();
|
|
59546
|
+
init_annotatorsList2();
|
|
59547
|
+
init_annotatorsUpdate2();
|
|
59091
59548
|
init_evaluatorsCreate2();
|
|
59092
59549
|
init_evaluatorsCreateVersion2();
|
|
59093
59550
|
init_evaluatorsGet2();
|
|
@@ -59317,6 +59774,21 @@ must be in your workspace.
|
|
|
59317
59774
|
{
|
|
59318
59775
|
name: "get-annotation-summary",
|
|
59319
59776
|
description: `Get a paginated summary table for a task, with each item's evaluator values and human labels.
|
|
59777
|
+
`
|
|
59778
|
+
},
|
|
59779
|
+
{
|
|
59780
|
+
name: "create-annotator",
|
|
59781
|
+
description: `Create an annotator, a human labeller who can be assigned annotation tasks.
|
|
59782
|
+
`
|
|
59783
|
+
},
|
|
59784
|
+
{
|
|
59785
|
+
name: "list-annotators",
|
|
59786
|
+
description: `List your annotators with their job counts and agreement scores.
|
|
59787
|
+
`
|
|
59788
|
+
},
|
|
59789
|
+
{
|
|
59790
|
+
name: "update-annotator",
|
|
59791
|
+
description: `Rename an annotator in your workspace.
|
|
59320
59792
|
`
|
|
59321
59793
|
}
|
|
59322
59794
|
];
|
|
@@ -60225,7 +60697,7 @@ http_headers = { "api-key-auth" = "YOUR_API_KEY_AUTH" }`;
|
|
|
60225
60697
|
<h1>Instructions</h1>
|
|
60226
60698
|
<p>One-click installation for Claude Desktop users</p>
|
|
60227
60699
|
<div class="instruction-item">
|
|
60228
|
-
<a href="https://github.com/dalmia/calibrate-mcp/releases/download/v0.0.
|
|
60700
|
+
<a href="https://github.com/dalmia/calibrate-mcp/releases/download/v0.0.34/mcp-server.mcpb" download="mcp-server.mcpb" class="action-button header-action" style="display: inline-flex; margin-bottom: 16px;">
|
|
60229
60701
|
\uD83D\uDCE5 Download MCP Bundle
|
|
60230
60702
|
</a>
|
|
60231
60703
|
</div>
|
|
@@ -63112,7 +63584,7 @@ var routes = buildRouteMap({
|
|
|
63112
63584
|
var app = buildApplication(routes, {
|
|
63113
63585
|
name: "mcp",
|
|
63114
63586
|
versionInfo: {
|
|
63115
|
-
currentVersion: "0.0.
|
|
63587
|
+
currentVersion: "0.0.34"
|
|
63116
63588
|
}
|
|
63117
63589
|
});
|
|
63118
63590
|
run(app, process4.argv.slice(2), buildContext(process4));
|
|
@@ -63120,5 +63592,5 @@ export {
|
|
|
63120
63592
|
app
|
|
63121
63593
|
};
|
|
63122
63594
|
|
|
63123
|
-
//# debugId=
|
|
63595
|
+
//# debugId=66D9BA849227688064756E2164756E21
|
|
63124
63596
|
//# sourceMappingURL=mcp-server.js.map
|