@dalmia/calibrate-mcp 0.0.68 → 0.0.70
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 +123 -11
- package/bin/mcp-server.js.map +16 -11
- 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/annotationitempayload.d.ts +4 -1
- package/esm/models/annotationitempayload.d.ts.map +1 -1
- package/esm/models/annotationitempayload.js +5 -1
- package/esm/models/annotationitempayload.js.map +1 -1
- package/esm/models/chatturn.d.ts +18 -0
- package/esm/models/chatturn.d.ts.map +1 -0
- package/esm/models/chatturn.js +25 -0
- package/esm/models/chatturn.js.map +1 -0
- package/esm/models/itemmetadataentry.d.ts +10 -0
- package/esm/models/itemmetadataentry.d.ts.map +1 -0
- package/esm/models/itemmetadataentry.js +10 -0
- package/esm/models/itemmetadataentry.js.map +1 -0
- package/esm/models/itempayload.d.ts +45 -0
- package/esm/models/itempayload.d.ts.map +1 -0
- package/esm/models/itempayload.js +49 -0
- package/esm/models/itempayload.js.map +1 -0
- package/esm/models/itemupdatepayload.d.ts +4 -1
- package/esm/models/itemupdatepayload.d.ts.map +1 -1
- package/esm/models/itemupdatepayload.js +5 -1
- package/esm/models/itemupdatepayload.js.map +1 -1
- package/esm/models/toolcall.d.ts +14 -0
- package/esm/models/toolcall.d.ts.map +1 -0
- package/esm/models/toolcall.js +11 -0
- package/esm/models/toolcall.js.map +1 -0
- package/esm/models/traceingest.d.ts +2 -2
- package/esm/models/traceingest.d.ts.map +1 -1
- package/esm/models/traceingest.js +1 -1
- package/esm/models/traceingest.js.map +1 -1
- package/esm/models/turntext.d.ts +13 -0
- package/esm/models/turntext.d.ts.map +1 -0
- package/esm/models/turntext.js +10 -0
- package/esm/models/turntext.js.map +1 -0
- 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/annotationitempayload.ts +13 -3
- package/src/models/chatturn.ts +54 -0
- package/src/models/itemmetadataentry.ts +18 -0
- package/src/models/itempayload.ts +128 -0
- package/src/models/itemupdatepayload.ts +16 -3
- package/src/models/toolcall.ts +28 -0
- package/src/models/traceingest.ts +2 -2
- package/src/models/turntext.ts +28 -0
package/bin/mcp-server.js
CHANGED
|
@@ -1443,7 +1443,7 @@ var init_versions = __esm(() => {
|
|
|
1443
1443
|
version2 = {
|
|
1444
1444
|
major: 4,
|
|
1445
1445
|
minor: 6,
|
|
1446
|
-
patch:
|
|
1446
|
+
patch: 7
|
|
1447
1447
|
};
|
|
1448
1448
|
});
|
|
1449
1449
|
|
|
@@ -52979,9 +52979,9 @@ var init_config = __esm(() => {
|
|
|
52979
52979
|
SDK_METADATA = {
|
|
52980
52980
|
language: "typescript",
|
|
52981
52981
|
openapiDocVersion: "0.1.0",
|
|
52982
|
-
sdkVersion: "0.0.
|
|
52982
|
+
sdkVersion: "0.0.70",
|
|
52983
52983
|
genVersion: "2.915.1",
|
|
52984
|
-
userAgent: "speakeasy-sdk/mcp-typescript 0.0.
|
|
52984
|
+
userAgent: "speakeasy-sdk/mcp-typescript 0.0.70 2.915.1 0.1.0 @dalmia/calibrate-mcp"
|
|
52985
52985
|
};
|
|
52986
52986
|
});
|
|
52987
52987
|
|
|
@@ -57680,14 +57680,123 @@ var init_bulkcreateitemsresponse = __esm(() => {
|
|
|
57680
57680
|
});
|
|
57681
57681
|
});
|
|
57682
57682
|
|
|
57683
|
+
// src/models/itemmetadataentry.ts
|
|
57684
|
+
var ItemMetadataEntry$zodSchema;
|
|
57685
|
+
var init_itemmetadataentry = __esm(() => {
|
|
57686
|
+
init_zod();
|
|
57687
|
+
ItemMetadataEntry$zodSchema = object({
|
|
57688
|
+
key: string2().describe("Name of the metadata entry"),
|
|
57689
|
+
value: string2().describe("Value of the metadata entry")
|
|
57690
|
+
}).describe("One key-value pair stored with an item and shown beside it on the labelling form");
|
|
57691
|
+
});
|
|
57692
|
+
|
|
57693
|
+
// src/models/chatturn.ts
|
|
57694
|
+
var ChatTurn$zodSchema, ChatTurn$zodSchemaOutbound;
|
|
57695
|
+
var init_chatturn = __esm(() => {
|
|
57696
|
+
init_zod();
|
|
57697
|
+
init_schemas4();
|
|
57698
|
+
ChatTurn$zodSchema = collectExtraKeys(object({
|
|
57699
|
+
content: string2().nullable().optional().describe("Message text. Omit for turns that only carry tool calls"),
|
|
57700
|
+
label: string2().nullable().optional().describe("Display name for the text in `content`, shown to annotators"),
|
|
57701
|
+
role: string2().describe("Message author role in the conversation history"),
|
|
57702
|
+
versions: record(string2(), string2()).nullable().optional().describe("Other forms of the same text, such as a translation or a human rewrite, keyed by the name annotators see for each. Shown to annotators only")
|
|
57703
|
+
}).describe("One message in a conversation, in OpenAI chat format").catchall(any()), "AdditionalProperties", true);
|
|
57704
|
+
ChatTurn$zodSchemaOutbound = object({
|
|
57705
|
+
AdditionalProperties: record(string2(), any()).optional(),
|
|
57706
|
+
content: nullable(string2()).optional(),
|
|
57707
|
+
label: nullable(string2()).optional(),
|
|
57708
|
+
role: string2(),
|
|
57709
|
+
versions: nullable(record(string2(), string2())).optional()
|
|
57710
|
+
}).describe("One message in a conversation, in OpenAI chat format").transform((v) => {
|
|
57711
|
+
const { AdditionalProperties, ...rest } = v;
|
|
57712
|
+
return {
|
|
57713
|
+
...rest,
|
|
57714
|
+
...AdditionalProperties
|
|
57715
|
+
};
|
|
57716
|
+
});
|
|
57717
|
+
});
|
|
57718
|
+
|
|
57719
|
+
// src/models/toolcall.ts
|
|
57720
|
+
var ToolCall$zodSchema;
|
|
57721
|
+
var init_toolcall = __esm(() => {
|
|
57722
|
+
init_zod();
|
|
57723
|
+
ToolCall$zodSchema = object({
|
|
57724
|
+
accept_any_arguments: boolean2().nullable().optional().describe("When `true`, only the tool name had to match and `arguments` was ignored. Carried over from a tool-call test's expected calls"),
|
|
57725
|
+
arguments: record(string2(), any()).nullable().optional().describe("Argument values the agent passed to the tool. Omit when the call had none"),
|
|
57726
|
+
output: any().optional().describe("What the tool returned for this call. Any JSON value. Omit when you do not record it"),
|
|
57727
|
+
tool: string2().describe("Name of the tool the agent called")
|
|
57728
|
+
}).describe("One call to a tool");
|
|
57729
|
+
});
|
|
57730
|
+
|
|
57731
|
+
// src/models/turntext.ts
|
|
57732
|
+
var TurnText$zodSchema;
|
|
57733
|
+
var init_turntext = __esm(() => {
|
|
57734
|
+
init_zod();
|
|
57735
|
+
TurnText$zodSchema = object({
|
|
57736
|
+
content: string2().describe("The text the LLM judge reads and annotators see by default"),
|
|
57737
|
+
label: string2().nullable().optional().describe("Display name for the text in `content`, shown to annotators"),
|
|
57738
|
+
versions: record(string2(), string2()).nullable().optional().describe("Other forms of the same text, such as a translation or a human rewrite, keyed by the name annotators see for each. Shown to annotators only")
|
|
57739
|
+
}).describe("Text with a display name and other forms of it, sent in place of a plain string");
|
|
57740
|
+
});
|
|
57741
|
+
|
|
57742
|
+
// src/models/itempayload.ts
|
|
57743
|
+
var AgentResponseUnion$zodSchema, ItemPayloadInput$zodSchema, Output$zodSchema, ItemPayload$zodSchema;
|
|
57744
|
+
var init_itempayload = __esm(() => {
|
|
57745
|
+
init_zod();
|
|
57746
|
+
init_chatturn();
|
|
57747
|
+
init_toolcall();
|
|
57748
|
+
init_turntext();
|
|
57749
|
+
AgentResponseUnion$zodSchema = union([
|
|
57750
|
+
TurnText$zodSchema,
|
|
57751
|
+
string2()
|
|
57752
|
+
]).describe("The reply to judge. An empty string when the reply was a tool call. For `llm` tasks");
|
|
57753
|
+
ItemPayloadInput$zodSchema = union([
|
|
57754
|
+
TurnText$zodSchema,
|
|
57755
|
+
string2()
|
|
57756
|
+
]).describe("The standalone input the agent was given. For `llm-general` tasks");
|
|
57757
|
+
Output$zodSchema = union([
|
|
57758
|
+
TurnText$zodSchema,
|
|
57759
|
+
string2()
|
|
57760
|
+
]).describe("The output to judge. For `llm-general` tasks");
|
|
57761
|
+
ItemPayload$zodSchema = object({
|
|
57762
|
+
actual_tool_calls: array(ToolCall$zodSchema).nullable().optional().describe("Tool calls the agent made. Sending this marks the item as a tool call for a person to judge. For `llm` and `llm-general` tasks"),
|
|
57763
|
+
agent_response: union([
|
|
57764
|
+
TurnText$zodSchema,
|
|
57765
|
+
string2()
|
|
57766
|
+
]).nullable().optional().describe("The reply to judge. An empty string when the reply was a tool call. For `llm` tasks"),
|
|
57767
|
+
audio_path: string2().nullable().optional().describe("Storage key or `s3://` URI of the audio clip. For `tts` tasks"),
|
|
57768
|
+
chat_history: array(ChatTurn$zodSchema).nullable().optional().describe("The conversation up to the reply being judged, ending at the user turn. For `llm` tasks"),
|
|
57769
|
+
description: string2().nullable().optional().describe("A description of the item. For every task type"),
|
|
57770
|
+
evaluator_variables: record(string2(), record(string2(), any())).nullable().optional().describe('Values for each evaluator\'s `{{"{{"}}variable}}` placeholders, keyed by evaluator ID. For `llm`, `llm-general` and `conversation` tasks'),
|
|
57771
|
+
expected_tool_calls: array(ToolCall$zodSchema).nullable().optional().describe("Tool calls the agent should have made. Sending this marks the item as a tool call for a person to judge. For `llm` and `llm-general` tasks"),
|
|
57772
|
+
input: union([
|
|
57773
|
+
TurnText$zodSchema,
|
|
57774
|
+
string2()
|
|
57775
|
+
]).nullable().optional().describe("The standalone input the agent was given. For `llm-general` tasks"),
|
|
57776
|
+
name: string2().describe("Name of the item, unique within the task. For every task type"),
|
|
57777
|
+
output: union([
|
|
57778
|
+
TurnText$zodSchema,
|
|
57779
|
+
string2()
|
|
57780
|
+
]).nullable().optional().describe("The output to judge. For `llm-general` tasks"),
|
|
57781
|
+
predicted_transcript: string2().nullable().optional().describe("The transcript to judge. For `stt` tasks"),
|
|
57782
|
+
reference_transcript: string2().nullable().optional().describe("The correct transcript. For `stt` tasks"),
|
|
57783
|
+
text: string2().nullable().optional().describe("The text that was spoken. For `tts` tasks"),
|
|
57784
|
+
tool_calls: array(ToolCall$zodSchema).nullable().optional().describe("Tool calls the agent made in place of a text reply. With no text reply, sending this marks the item as a tool call for a person to judge. For `llm` and `llm-general` tasks"),
|
|
57785
|
+
transcript: array(ChatTurn$zodSchema).nullable().optional().describe("The full conversation to judge. For `conversation` tasks")
|
|
57786
|
+
}).describe("What an annotation item holds. Which fields apply depends on the task type");
|
|
57787
|
+
});
|
|
57788
|
+
|
|
57683
57789
|
// src/models/annotationitempayload.ts
|
|
57684
57790
|
var AnnotationItemPayload$zodSchema;
|
|
57685
57791
|
var init_annotationitempayload = __esm(() => {
|
|
57686
57792
|
init_zod();
|
|
57793
|
+
init_itemmetadataentry();
|
|
57794
|
+
init_itempayload();
|
|
57687
57795
|
AnnotationItemPayload$zodSchema = object({
|
|
57688
57796
|
annotations: record(string2(), any()).nullable().optional().describe("Human annotations to seed, keyed by evaluator ID. Each evaluator ID must be linked to the task. Put the judgement in `value`, a bool for binary or a number for rating, with optional `reasoning`. Requires `annotator_id`"),
|
|
57689
57797
|
evaluator_results: record(string2(), any()).nullable().optional().describe("Evaluator scores to record, keyed by evaluator ID. Each evaluator ID must be linked to the task. Put the score in `value`, a bool for binary or a number within the scale for rating, with optional `reasoning` and `version_number`. Omit `version_number` to record against the evaluator's live version. An item recording a tool call takes the tool-call evaluator and no other, and every other item takes any evaluator except that one"),
|
|
57690
|
-
|
|
57798
|
+
metadata: array(ItemMetadataEntry$zodSchema).nullable().optional().describe("Key-value pairs stored with the item and shown beside it on the labelling form. Omit if you have none"),
|
|
57799
|
+
payload: ItemPayload$zodSchema.describe("What an annotation item holds. Which fields apply depends on the task type")
|
|
57691
57800
|
});
|
|
57692
57801
|
});
|
|
57693
57802
|
|
|
@@ -59418,8 +59527,11 @@ must be in your workspace.
|
|
|
59418
59527
|
var ItemUpdatePayload$zodSchema;
|
|
59419
59528
|
var init_itemupdatepayload = __esm(() => {
|
|
59420
59529
|
init_zod();
|
|
59530
|
+
init_itemmetadataentry();
|
|
59531
|
+
init_itempayload();
|
|
59421
59532
|
ItemUpdatePayload$zodSchema = object({
|
|
59422
|
-
|
|
59533
|
+
metadata: array(ItemMetadataEntry$zodSchema).nullable().optional().describe("Key-value pairs stored with the item and shown beside it on the labelling form. Omit to leave the stored pairs as they are. Send an empty list to clear them"),
|
|
59534
|
+
payload: ItemPayload$zodSchema.describe("What an annotation item holds. Which fields apply depends on the task type"),
|
|
59423
59535
|
uuid: string2().describe("ID of the item to update")
|
|
59424
59536
|
});
|
|
59425
59537
|
});
|
|
@@ -61610,13 +61722,13 @@ var init_traceturn = __esm(() => {
|
|
|
61610
61722
|
});
|
|
61611
61723
|
|
|
61612
61724
|
// src/models/traceingest.ts
|
|
61613
|
-
var
|
|
61725
|
+
var TraceIngestInput$zodSchema, TraceIngest$zodSchema;
|
|
61614
61726
|
var init_traceingest = __esm(() => {
|
|
61615
61727
|
init_zod();
|
|
61616
61728
|
init_tracemetadataentry();
|
|
61617
61729
|
init_traceoutput();
|
|
61618
61730
|
init_traceturn();
|
|
61619
|
-
|
|
61731
|
+
TraceIngestInput$zodSchema = union([
|
|
61620
61732
|
string2(),
|
|
61621
61733
|
array(TraceTurn$zodSchema)
|
|
61622
61734
|
]).describe("What the agent was given for this turn. For a `general` agent, the standalone prompt as a string. For a `conversation` agent, the history up to the reported output, oldest turn first, in OpenAI chat format");
|
|
@@ -61783,7 +61895,7 @@ hits its trace limit.
|
|
|
61783
61895
|
function createMCPServer(deps) {
|
|
61784
61896
|
const server = new McpServer({
|
|
61785
61897
|
name: "CalibrateMcp",
|
|
61786
|
-
version: "0.0.
|
|
61898
|
+
version: "0.0.70"
|
|
61787
61899
|
});
|
|
61788
61900
|
const getClient = deps.getSDK || (() => new CalibrateMcpCore({
|
|
61789
61901
|
security: deps.security,
|
|
@@ -63072,7 +63184,7 @@ http_headers = { "api-key-auth" = "YOUR_API_KEY_AUTH" }`;
|
|
|
63072
63184
|
<h1>Instructions</h1>
|
|
63073
63185
|
<p>One-click installation for Claude Desktop users</p>
|
|
63074
63186
|
<div class="instruction-item">
|
|
63075
|
-
<a href="https://github.com/dalmia/calibrate-mcp/releases/download/v0.0.
|
|
63187
|
+
<a href="https://github.com/dalmia/calibrate-mcp/releases/download/v0.0.70/mcp-server.mcpb" download="mcp-server.mcpb" class="action-button header-action" style="display: inline-flex; margin-bottom: 16px;">
|
|
63076
63188
|
\uD83D\uDCE5 Download MCP Bundle
|
|
63077
63189
|
</a>
|
|
63078
63190
|
</div>
|
|
@@ -66026,7 +66138,7 @@ var routes = buildRouteMap({
|
|
|
66026
66138
|
var app = buildApplication(routes, {
|
|
66027
66139
|
name: "mcp",
|
|
66028
66140
|
versionInfo: {
|
|
66029
|
-
currentVersion: "0.0.
|
|
66141
|
+
currentVersion: "0.0.70"
|
|
66030
66142
|
}
|
|
66031
66143
|
});
|
|
66032
66144
|
run(app, process3.argv.slice(2), buildContext(process3));
|
|
@@ -66034,5 +66146,5 @@ export {
|
|
|
66034
66146
|
app
|
|
66035
66147
|
};
|
|
66036
66148
|
|
|
66037
|
-
//# debugId=
|
|
66149
|
+
//# debugId=E1B5DB298336254064756E2164756E21
|
|
66038
66150
|
//# sourceMappingURL=mcp-server.js.map
|