@dalmia/calibrate-mcp 0.0.68 → 0.0.69

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.
Files changed (42) hide show
  1. package/bin/mcp-server.js +83 -8
  2. package/bin/mcp-server.js.map +13 -9
  3. package/esm/landing-page.js +1 -1
  4. package/esm/lib/config.d.ts +2 -2
  5. package/esm/lib/config.js +2 -2
  6. package/esm/mcp-server/mcp-server.js +1 -1
  7. package/esm/mcp-server/server.js +1 -1
  8. package/esm/models/annotationitempayload.d.ts +4 -1
  9. package/esm/models/annotationitempayload.d.ts.map +1 -1
  10. package/esm/models/annotationitempayload.js +5 -1
  11. package/esm/models/annotationitempayload.js.map +1 -1
  12. package/esm/models/chatturn.d.ts +14 -0
  13. package/esm/models/chatturn.d.ts.map +1 -0
  14. package/esm/models/chatturn.js +21 -0
  15. package/esm/models/chatturn.js.map +1 -0
  16. package/esm/models/itemmetadataentry.d.ts +10 -0
  17. package/esm/models/itemmetadataentry.d.ts.map +1 -0
  18. package/esm/models/itemmetadataentry.js +10 -0
  19. package/esm/models/itemmetadataentry.js.map +1 -0
  20. package/esm/models/itempayload.d.ts +29 -0
  21. package/esm/models/itempayload.d.ts.map +1 -0
  22. package/esm/models/itempayload.js +26 -0
  23. package/esm/models/itempayload.js.map +1 -0
  24. package/esm/models/itemupdatepayload.d.ts +4 -1
  25. package/esm/models/itemupdatepayload.d.ts.map +1 -1
  26. package/esm/models/itemupdatepayload.js +5 -1
  27. package/esm/models/itemupdatepayload.js.map +1 -1
  28. package/esm/models/toolcall.d.ts +14 -0
  29. package/esm/models/toolcall.d.ts.map +1 -0
  30. package/esm/models/toolcall.js +11 -0
  31. package/esm/models/toolcall.js.map +1 -0
  32. package/package.json +1 -1
  33. package/src/landing-page.ts +1 -1
  34. package/src/lib/config.ts +2 -2
  35. package/src/mcp-server/mcp-server.ts +1 -1
  36. package/src/mcp-server/server.ts +1 -1
  37. package/src/models/annotationitempayload.ts +13 -3
  38. package/src/models/chatturn.ts +44 -0
  39. package/src/models/itemmetadataentry.ts +18 -0
  40. package/src/models/itempayload.ts +83 -0
  41. package/src/models/itemupdatepayload.ts +16 -3
  42. package/src/models/toolcall.ts +28 -0
package/bin/mcp-server.js CHANGED
@@ -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.68",
52982
+ sdkVersion: "0.0.69",
52983
52983
  genVersion: "2.915.1",
52984
- userAgent: "speakeasy-sdk/mcp-typescript 0.0.68 2.915.1 0.1.0 @dalmia/calibrate-mcp"
52984
+ userAgent: "speakeasy-sdk/mcp-typescript 0.0.69 2.915.1 0.1.0 @dalmia/calibrate-mcp"
52985
52985
  };
52986
52986
  });
52987
52987
 
@@ -57680,14 +57680,86 @@ 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
+ role: string2().describe("Message author role in the conversation history")
57701
+ }).describe("One message in a conversation, in OpenAI chat format").catchall(any()), "AdditionalProperties", true);
57702
+ ChatTurn$zodSchemaOutbound = object({
57703
+ AdditionalProperties: record(string2(), any()).optional(),
57704
+ content: nullable(string2()).optional(),
57705
+ role: string2()
57706
+ }).describe("One message in a conversation, in OpenAI chat format").transform((v) => {
57707
+ const { AdditionalProperties, ...rest } = v;
57708
+ return {
57709
+ ...rest,
57710
+ ...AdditionalProperties
57711
+ };
57712
+ });
57713
+ });
57714
+
57715
+ // src/models/toolcall.ts
57716
+ var ToolCall$zodSchema;
57717
+ var init_toolcall = __esm(() => {
57718
+ init_zod();
57719
+ ToolCall$zodSchema = object({
57720
+ 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"),
57721
+ arguments: record(string2(), any()).nullable().optional().describe("Argument values the agent passed to the tool. Omit when the call had none"),
57722
+ output: any().optional().describe("What the tool returned for this call. Any JSON value. Omit when you do not record it"),
57723
+ tool: string2().describe("Name of the tool the agent called")
57724
+ }).describe("One call to a tool");
57725
+ });
57726
+
57727
+ // src/models/itempayload.ts
57728
+ var ItemPayload$zodSchema;
57729
+ var init_itempayload = __esm(() => {
57730
+ init_zod();
57731
+ init_chatturn();
57732
+ init_toolcall();
57733
+ ItemPayload$zodSchema = object({
57734
+ 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"),
57736
+ audio_path: string2().nullable().optional().describe("Storage key or `s3://` URI of the audio clip. For `tts` tasks"),
57737
+ 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
+ description: string2().nullable().optional().describe("A description of the item. For every task type"),
57739
+ 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
+ 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"),
57742
+ 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"),
57744
+ predicted_transcript: string2().nullable().optional().describe("The transcript to judge. For `stt` tasks"),
57745
+ reference_transcript: string2().nullable().optional().describe("The correct transcript. For `stt` tasks"),
57746
+ text: string2().nullable().optional().describe("The text that was spoken. For `tts` tasks"),
57747
+ 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"),
57748
+ transcript: array(ChatTurn$zodSchema).nullable().optional().describe("The full conversation to judge. For `conversation` tasks")
57749
+ }).describe("What an annotation item holds. Which fields apply depends on the task type");
57750
+ });
57751
+
57683
57752
  // src/models/annotationitempayload.ts
57684
57753
  var AnnotationItemPayload$zodSchema;
57685
57754
  var init_annotationitempayload = __esm(() => {
57686
57755
  init_zod();
57756
+ init_itemmetadataentry();
57757
+ init_itempayload();
57687
57758
  AnnotationItemPayload$zodSchema = object({
57688
57759
  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
57760
  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
- payload: any().optional().describe("The item's payload. `name` is required and unique within the task for every type. The other fields depend on the task `type`:\n\n- `stt`: `name`, `reference_transcript`, `predicted_transcript`\n- `llm`: `name`, `chat_history` (list of `{role, content}` turns ending at the user turn), `agent_response` (the reply to judge), optional `evaluator_variables`\n- `llm-general`: `name`, `input`, `output`, optional `evaluator_variables`\n- `conversation`: `name`, `transcript` (list of `{role, content}` turns), optional `evaluator_variables`\n\n`evaluator_variables` maps an evaluator ID to that evaluator's `{{\"{{\"}}variable}}` values for this item")
57761
+ 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"),
57762
+ payload: ItemPayload$zodSchema.describe("What an annotation item holds. Which fields apply depends on the task type")
57691
57763
  });
57692
57764
  });
57693
57765
 
@@ -59418,8 +59490,11 @@ must be in your workspace.
59418
59490
  var ItemUpdatePayload$zodSchema;
59419
59491
  var init_itemupdatepayload = __esm(() => {
59420
59492
  init_zod();
59493
+ init_itemmetadataentry();
59494
+ init_itempayload();
59421
59495
  ItemUpdatePayload$zodSchema = object({
59422
- payload: any().optional().describe("The item's new payload. `payload['name']` is still required and must be unique within the task"),
59496
+ 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"),
59497
+ payload: ItemPayload$zodSchema.describe("What an annotation item holds. Which fields apply depends on the task type"),
59423
59498
  uuid: string2().describe("ID of the item to update")
59424
59499
  });
59425
59500
  });
@@ -61783,7 +61858,7 @@ hits its trace limit.
61783
61858
  function createMCPServer(deps) {
61784
61859
  const server = new McpServer({
61785
61860
  name: "CalibrateMcp",
61786
- version: "0.0.68"
61861
+ version: "0.0.69"
61787
61862
  });
61788
61863
  const getClient = deps.getSDK || (() => new CalibrateMcpCore({
61789
61864
  security: deps.security,
@@ -63072,7 +63147,7 @@ http_headers = { "api-key-auth" = "YOUR_API_KEY_AUTH" }`;
63072
63147
  <h1>Instructions</h1>
63073
63148
  <p>One-click installation for Claude Desktop users</p>
63074
63149
  <div class="instruction-item">
63075
- <a href="https://github.com/dalmia/calibrate-mcp/releases/download/v0.0.68/mcp-server.mcpb" download="mcp-server.mcpb" class="action-button header-action" style="display: inline-flex; margin-bottom: 16px;">
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;">
63076
63151
  \uD83D\uDCE5 Download MCP Bundle
63077
63152
  </a>
63078
63153
  </div>
@@ -66026,7 +66101,7 @@ var routes = buildRouteMap({
66026
66101
  var app = buildApplication(routes, {
66027
66102
  name: "mcp",
66028
66103
  versionInfo: {
66029
- currentVersion: "0.0.68"
66104
+ currentVersion: "0.0.69"
66030
66105
  }
66031
66106
  });
66032
66107
  run(app, process3.argv.slice(2), buildContext(process3));
@@ -66034,5 +66109,5 @@ export {
66034
66109
  app
66035
66110
  };
66036
66111
 
66037
- //# debugId=EE93391F8D4C1CAE64756E2164756E21
66112
+ //# debugId=DA30AC860E0887A164756E2164756E21
66038
66113
  //# sourceMappingURL=mcp-server.js.map