@dalmia/calibrate-mcp 0.0.92 → 0.0.94
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 +21 -15
- package/bin/mcp-server.js.map +12 -12
- 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.js +1 -1
- package/esm/models/createjobsrequest.d.ts +14 -0
- package/esm/models/createjobsrequest.d.ts.map +1 -1
- package/esm/models/createjobsrequest.js +11 -0
- package/esm/models/createjobsrequest.js.map +1 -1
- package/esm/models/evaluatorversioncompact.js +1 -1
- package/esm/models/evaluatorversioncompact.js.map +1 -1
- package/esm/models/evaluatorversioncreate.js +1 -1
- package/esm/models/evaluatorversioncreate.js.map +1 -1
- package/esm/models/evaluatorversioncreaterequest.js +1 -1
- package/esm/models/evaluatorversioncreaterequest.js.map +1 -1
- package/esm/models/outputconfig.js +1 -1
- package/esm/models/outputconfig.js.map +1 -1
- package/esm/models/outputscaleentry.js +4 -4
- package/esm/models/outputscaleentry.js.map +1 -1
- package/package.json +1 -1
- 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 +1 -1
- package/src/models/createjobsrequest.ts +25 -0
- package/src/models/evaluatorversioncompact.ts +1 -1
- package/src/models/evaluatorversioncreate.ts +1 -1
- package/src/models/evaluatorversioncreaterequest.ts +1 -1
- package/src/models/outputconfig.ts +1 -1
- package/src/models/outputscaleentry.ts +4 -4
package/bin/mcp-server.js
CHANGED
|
@@ -53308,9 +53308,9 @@ var init_config = __esm(() => {
|
|
|
53308
53308
|
SDK_METADATA = {
|
|
53309
53309
|
language: "typescript",
|
|
53310
53310
|
openapiDocVersion: "0.1.0",
|
|
53311
|
-
sdkVersion: "0.0.
|
|
53311
|
+
sdkVersion: "0.0.94",
|
|
53312
53312
|
genVersion: "2.915.1",
|
|
53313
|
-
userAgent: "speakeasy-sdk/mcp-typescript 0.0.
|
|
53313
|
+
userAgent: "speakeasy-sdk/mcp-typescript 0.0.94 2.915.1 0.1.0 @dalmia/calibrate-mcp"
|
|
53314
53314
|
};
|
|
53315
53315
|
});
|
|
53316
53316
|
|
|
@@ -58646,7 +58646,7 @@ var init_annotationTasksCreateEvaluatorRun2 = __esm(() => {
|
|
|
58646
58646
|
});
|
|
58647
58647
|
|
|
58648
58648
|
// src/models/createjobsrequest.ts
|
|
58649
|
-
var ReasoningMode$zodSchema, CreateJobsRequest$zodSchema;
|
|
58649
|
+
var ReasoningMode$zodSchema, EvaluatorReasoningModes$zodSchema, CreateJobsRequest$zodSchema;
|
|
58650
58650
|
var init_createjobsrequest = __esm(() => {
|
|
58651
58651
|
init_zod();
|
|
58652
58652
|
ReasoningMode$zodSchema = _enum([
|
|
@@ -58654,10 +58654,16 @@ var init_createjobsrequest = __esm(() => {
|
|
|
58654
58654
|
"required",
|
|
58655
58655
|
"hidden"
|
|
58656
58656
|
]).describe("How the labelling form treats the reasoning box on each judgement. `optional` shows it, `required` shows it and asks the annotator to fill it in, `hidden` leaves it out");
|
|
58657
|
+
EvaluatorReasoningModes$zodSchema = _enum([
|
|
58658
|
+
"optional",
|
|
58659
|
+
"required",
|
|
58660
|
+
"hidden"
|
|
58661
|
+
]);
|
|
58657
58662
|
CreateJobsRequest$zodSchema = object({
|
|
58658
58663
|
annotator_ids: array(string2()).describe("Annotator IDs to assign, creating one labelling job for each annotator. Must be in your workspace"),
|
|
58659
58664
|
comments_enabled: boolean2().default(true).describe("When `true`, the labelling form lets the annotator leave a comment on each item"),
|
|
58660
58665
|
evaluator_ids: array(string2()).nullable().optional().describe("Subset of the task's linked evaluators to show in these jobs. Must be a subset of the current links, an empty list gives a 400. Applies to every annotator's job. Omit (`None`) to snapshot every linked evaluator"),
|
|
58666
|
+
evaluator_reasoning_modes: record(string2(), EvaluatorReasoningModes$zodSchema).nullable().optional().describe("Map of evaluator ID to how the labelling form treats the reasoning box for that evaluator, with the same values as `reasoning_mode`. Every ID must be an evaluator on these jobs, otherwise you get a 400. An evaluator left out uses `reasoning_mode`"),
|
|
58661
58667
|
item_ids: array(string2()).optional().describe("Item IDs to assign. **Required when `select_all=false`**. Ignored when `select_all=true`"),
|
|
58662
58668
|
q: string2().nullable().optional().describe("Case-insensitive substring filter on `payload.name`. Applies only when `select_all=true`"),
|
|
58663
58669
|
reasoning_mode: ReasoningMode$zodSchema.default("optional").describe("How the labelling form treats the reasoning box on each judgement. `optional` shows it, `required` shows it and asks the annotator to fill it in, `hidden` leaves it out"),
|
|
@@ -61194,10 +61200,10 @@ var OutputScaleEntry$zodSchema;
|
|
|
61194
61200
|
var init_outputscaleentry = __esm(() => {
|
|
61195
61201
|
init_zod();
|
|
61196
61202
|
OutputScaleEntry$zodSchema = object({
|
|
61197
|
-
color: string2().nullable().optional().describe("Color to show for this
|
|
61198
|
-
description: string2().nullable().optional().describe("Rubric text for this
|
|
61199
|
-
name: string2().describe("Short label for this
|
|
61200
|
-
value: any().optional().describe("The value for this
|
|
61203
|
+
color: string2().nullable().optional().describe("Color to show for this row. Omit for the default"),
|
|
61204
|
+
description: string2().nullable().optional().describe("Rubric text for this row, added to the judge prompt. Omit to leave this row undescribed"),
|
|
61205
|
+
name: string2().describe("Short label for this row"),
|
|
61206
|
+
value: any().optional().describe("The value for this row. Use a boolean for a `binary` evaluator, a number for a `rating` one. For a rating evaluator, give the label for the worst result the lowest number and the label for the best result the highest number")
|
|
61201
61207
|
}).describe("One entry in an evaluator's output_config.scale. `value` is bool|number|string\ndepending on output_type.");
|
|
61202
61208
|
});
|
|
61203
61209
|
|
|
@@ -61207,7 +61213,7 @@ var init_outputconfig = __esm(() => {
|
|
|
61207
61213
|
init_zod();
|
|
61208
61214
|
init_outputscaleentry();
|
|
61209
61215
|
OutputConfig$zodSchema = object({
|
|
61210
|
-
scale: array(OutputScaleEntry$zodSchema).nullable().optional().describe("The
|
|
61216
|
+
scale: array(OutputScaleEntry$zodSchema).nullable().optional().describe("The rows of the rating scale, each a number and its label. For a rating evaluator, give the label for the worst result the lowest number and the label for the best result the highest number")
|
|
61211
61217
|
});
|
|
61212
61218
|
});
|
|
61213
61219
|
|
|
@@ -61219,7 +61225,7 @@ var init_evaluatorversioncreate = __esm(() => {
|
|
|
61219
61225
|
init_variablespec();
|
|
61220
61226
|
EvaluatorVersionCreate$zodSchema = object({
|
|
61221
61227
|
judge_model: string2().describe("The model that runs the judge, named the way its provider does, for example `openai/gpt-4.1` or `anthropic/claude-sonnet-4`"),
|
|
61222
|
-
output_config: OutputConfig$zodSchema.nullable().optional().describe("The scale
|
|
61228
|
+
output_config: OutputConfig$zodSchema.nullable().optional().describe("The rows of the rating scale, each a number and its label. Required for a `rating` evaluator. For a rating evaluator, give the label for the worst result the lowest number and the label for the best result the highest number. A `binary` evaluator uses the default Correct/Wrong labels unless you set your own"),
|
|
61223
61229
|
system_prompt: string2().describe('Judge system prompt. May contain `{{"{{"}}variable}}` placeholders'),
|
|
61224
61230
|
variables: array(VariableSpec$zodSchema).nullable().optional().describe('Declared prompt variables. Omit if the prompt has no `{{"{{"}}placeholders}}`')
|
|
61225
61231
|
}).describe("One version of an evaluator: its judge prompt, model, variables, and rubric.");
|
|
@@ -61404,7 +61410,7 @@ var init_evaluatorversioncreaterequest = __esm(() => {
|
|
|
61404
61410
|
EvaluatorVersionCreateRequest$zodSchema = object({
|
|
61405
61411
|
judge_model: string2().describe("The model that runs the judge, named the way its provider does, for example `openai/gpt-4.1` or `anthropic/claude-sonnet-4`"),
|
|
61406
61412
|
make_live: boolean2().default(false).describe("When `true`, immediately point the evaluator's live version at this new version"),
|
|
61407
|
-
output_config: OutputConfig$zodSchema.nullable().optional().describe("The scale
|
|
61413
|
+
output_config: OutputConfig$zodSchema.nullable().optional().describe("The rows of the rating scale, each a number and its label. Required for a `rating` evaluator. For a rating evaluator, give the label for the worst result the lowest number and the label for the best result the highest number. A `binary` evaluator uses the default Correct/Wrong labels unless you set your own"),
|
|
61408
61414
|
system_prompt: string2().describe('Judge system prompt. May contain `{{"{{"}}variable}}` placeholders'),
|
|
61409
61415
|
variables: array(VariableSpec$zodSchema).nullable().optional().describe("Declared prompt variables. Omit if the prompt has none. After the first version the variable names are fixed. You can change a variable's description or default, but not add, remove, or rename one")
|
|
61410
61416
|
}).describe("Request body for adding a version to an existing evaluator.");
|
|
@@ -61565,7 +61571,7 @@ var init_evaluatorversioncompact = __esm(() => {
|
|
|
61565
61571
|
EvaluatorVersionCompact$zodSchema = object({
|
|
61566
61572
|
created_at: string2().describe("When the version was created (ISO 8601 UTC)"),
|
|
61567
61573
|
judge_model: string2().describe("The model that runs the judge, named the way its provider does, for example `openai/gpt-4.1` or `anthropic/claude-sonnet-4`"),
|
|
61568
|
-
output_config: OutputConfig$zodSchema.nullable().optional().describe("The scale
|
|
61574
|
+
output_config: OutputConfig$zodSchema.nullable().optional().describe("The rows of the rating scale, each a number and its label. Required for a `rating` evaluator. For a rating evaluator, give the label for the worst result the lowest number and the label for the best result the highest number. A `binary` evaluator uses the default Correct/Wrong labels unless you set your own"),
|
|
61569
61575
|
system_prompt: string2().nullable().optional().describe('Judge system prompt, with `{{"{{"}}variable}}` placeholders unrendered'),
|
|
61570
61576
|
uuid: string2().describe("Version ID"),
|
|
61571
61577
|
variables: array(VariableSpec$zodSchema).nullable().optional().describe("Declared prompt variables"),
|
|
@@ -63387,7 +63393,7 @@ and metadata.
|
|
|
63387
63393
|
function createMCPServer(deps) {
|
|
63388
63394
|
const server = new McpServer({
|
|
63389
63395
|
name: "CalibrateMcp",
|
|
63390
|
-
version: "0.0.
|
|
63396
|
+
version: "0.0.94"
|
|
63391
63397
|
});
|
|
63392
63398
|
const getClient = deps.getSDK || (() => new CalibrateMcpCore({
|
|
63393
63399
|
security: deps.security,
|
|
@@ -64725,7 +64731,7 @@ http_headers = { "api-key-auth" = "YOUR_API_KEY_AUTH" }`;
|
|
|
64725
64731
|
<h1>Instructions</h1>
|
|
64726
64732
|
<p>One-click installation for Claude Desktop users</p>
|
|
64727
64733
|
<div class="instruction-item">
|
|
64728
|
-
<a href="https://github.com/dalmia/calibrate-mcp/releases/download/v0.0.
|
|
64734
|
+
<a href="https://github.com/dalmia/calibrate-mcp/releases/download/v0.0.94/mcp-server.mcpb" download="mcp-server.mcpb" class="action-button header-action" style="display: inline-flex; margin-bottom: 16px;">
|
|
64729
64735
|
\uD83D\uDCE5 Download MCP Bundle
|
|
64730
64736
|
</a>
|
|
64731
64737
|
</div>
|
|
@@ -67679,7 +67685,7 @@ var routes = buildRouteMap({
|
|
|
67679
67685
|
var app = buildApplication(routes, {
|
|
67680
67686
|
name: "mcp",
|
|
67681
67687
|
versionInfo: {
|
|
67682
|
-
currentVersion: "0.0.
|
|
67688
|
+
currentVersion: "0.0.94"
|
|
67683
67689
|
}
|
|
67684
67690
|
});
|
|
67685
67691
|
run(app, process3.argv.slice(2), buildContext(process3));
|
|
@@ -67687,5 +67693,5 @@ export {
|
|
|
67687
67693
|
app
|
|
67688
67694
|
};
|
|
67689
67695
|
|
|
67690
|
-
//# debugId=
|
|
67696
|
+
//# debugId=D36DA465B26C45F864756E2164756E21
|
|
67691
67697
|
//# sourceMappingURL=mcp-server.js.map
|