@dalmia/calibrate-mcp 0.0.69 → 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 CHANGED
@@ -1443,7 +1443,7 @@ var init_versions = __esm(() => {
1443
1443
  version2 = {
1444
1444
  major: 4,
1445
1445
  minor: 6,
1446
- patch: 6
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.69",
52982
+ sdkVersion: "0.0.70",
52983
52983
  genVersion: "2.915.1",
52984
- userAgent: "speakeasy-sdk/mcp-typescript 0.0.69 2.915.1 0.1.0 @dalmia/calibrate-mcp"
52984
+ userAgent: "speakeasy-sdk/mcp-typescript 0.0.70 2.915.1 0.1.0 @dalmia/calibrate-mcp"
52985
52985
  };
52986
52986
  });
52987
52987
 
@@ -57697,12 +57697,16 @@ var init_chatturn = __esm(() => {
57697
57697
  init_schemas4();
57698
57698
  ChatTurn$zodSchema = collectExtraKeys(object({
57699
57699
  content: string2().nullable().optional().describe("Message text. Omit for turns that only carry tool calls"),
57700
- role: string2().describe("Message author role in the conversation history")
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")
57701
57703
  }).describe("One message in a conversation, in OpenAI chat format").catchall(any()), "AdditionalProperties", true);
57702
57704
  ChatTurn$zodSchemaOutbound = object({
57703
57705
  AdditionalProperties: record(string2(), any()).optional(),
57704
57706
  content: nullable(string2()).optional(),
57705
- role: string2()
57707
+ label: nullable(string2()).optional(),
57708
+ role: string2(),
57709
+ versions: nullable(record(string2(), string2())).optional()
57706
57710
  }).describe("One message in a conversation, in OpenAI chat format").transform((v) => {
57707
57711
  const { AdditionalProperties, ...rest } = v;
57708
57712
  return {
@@ -57724,23 +57728,56 @@ var init_toolcall = __esm(() => {
57724
57728
  }).describe("One call to a tool");
57725
57729
  });
57726
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
+
57727
57742
  // src/models/itempayload.ts
57728
- var ItemPayload$zodSchema;
57743
+ var AgentResponseUnion$zodSchema, ItemPayloadInput$zodSchema, Output$zodSchema, ItemPayload$zodSchema;
57729
57744
  var init_itempayload = __esm(() => {
57730
57745
  init_zod();
57731
57746
  init_chatturn();
57732
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");
57733
57761
  ItemPayload$zodSchema = object({
57734
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"),
57735
- agent_response: string2().nullable().optional().describe("The reply to judge. An empty string when the reply was a tool call. For `llm` 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"),
57736
57767
  audio_path: string2().nullable().optional().describe("Storage key or `s3://` URI of the audio clip. For `tts` tasks"),
57737
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"),
57738
57769
  description: string2().nullable().optional().describe("A description of the item. For every task type"),
57739
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'),
57740
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"),
57741
- input: string2().nullable().optional().describe("The standalone input the agent was given. For `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"),
57742
57776
  name: string2().describe("Name of the item, unique within the task. For every task type"),
57743
- output: string2().nullable().optional().describe("The output to judge. For `llm-general` tasks"),
57777
+ output: union([
57778
+ TurnText$zodSchema,
57779
+ string2()
57780
+ ]).nullable().optional().describe("The output to judge. For `llm-general` tasks"),
57744
57781
  predicted_transcript: string2().nullable().optional().describe("The transcript to judge. For `stt` tasks"),
57745
57782
  reference_transcript: string2().nullable().optional().describe("The correct transcript. For `stt` tasks"),
57746
57783
  text: string2().nullable().optional().describe("The text that was spoken. For `tts` tasks"),
@@ -61685,13 +61722,13 @@ var init_traceturn = __esm(() => {
61685
61722
  });
61686
61723
 
61687
61724
  // src/models/traceingest.ts
61688
- var Input$zodSchema, TraceIngest$zodSchema;
61725
+ var TraceIngestInput$zodSchema, TraceIngest$zodSchema;
61689
61726
  var init_traceingest = __esm(() => {
61690
61727
  init_zod();
61691
61728
  init_tracemetadataentry();
61692
61729
  init_traceoutput();
61693
61730
  init_traceturn();
61694
- Input$zodSchema = union([
61731
+ TraceIngestInput$zodSchema = union([
61695
61732
  string2(),
61696
61733
  array(TraceTurn$zodSchema)
61697
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");
@@ -61858,7 +61895,7 @@ hits its trace limit.
61858
61895
  function createMCPServer(deps) {
61859
61896
  const server = new McpServer({
61860
61897
  name: "CalibrateMcp",
61861
- version: "0.0.69"
61898
+ version: "0.0.70"
61862
61899
  });
61863
61900
  const getClient = deps.getSDK || (() => new CalibrateMcpCore({
61864
61901
  security: deps.security,
@@ -63147,7 +63184,7 @@ http_headers = { "api-key-auth" = "YOUR_API_KEY_AUTH" }`;
63147
63184
  <h1>Instructions</h1>
63148
63185
  <p>One-click installation for Claude Desktop users</p>
63149
63186
  <div class="instruction-item">
63150
- <a href="https://github.com/dalmia/calibrate-mcp/releases/download/v0.0.69/mcp-server.mcpb" download="mcp-server.mcpb" class="action-button header-action" style="display: inline-flex; margin-bottom: 16px;">
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;">
63151
63188
  \uD83D\uDCE5 Download MCP Bundle
63152
63189
  </a>
63153
63190
  </div>
@@ -66101,7 +66138,7 @@ var routes = buildRouteMap({
66101
66138
  var app = buildApplication(routes, {
66102
66139
  name: "mcp",
66103
66140
  versionInfo: {
66104
- currentVersion: "0.0.69"
66141
+ currentVersion: "0.0.70"
66105
66142
  }
66106
66143
  });
66107
66144
  run(app, process3.argv.slice(2), buildContext(process3));
@@ -66109,5 +66146,5 @@ export {
66109
66146
  app
66110
66147
  };
66111
66148
 
66112
- //# debugId=DA30AC860E0887A164756E2164756E21
66149
+ //# debugId=E1B5DB298336254064756E2164756E21
66113
66150
  //# sourceMappingURL=mcp-server.js.map