@dalmia/calibrate-mcp 0.0.91 → 0.0.93

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.
@@ -915,7 +915,7 @@ http_headers = { "api-key-auth" = "YOUR_API_KEY_AUTH" }`;
915
915
  <h1>Instructions</h1>
916
916
  <p>One-click installation for Claude Desktop users</p>
917
917
  <div class="instruction-item">
918
- <a href="https://github.com/dalmia/calibrate-mcp/releases/download/v0.0.91/mcp-server.mcpb" download="mcp-server.mcpb" class="action-button header-action" style="display: inline-flex; margin-bottom: 16px;">
918
+ <a href="https://github.com/dalmia/calibrate-mcp/releases/download/v0.0.93/mcp-server.mcpb" download="mcp-server.mcpb" class="action-button header-action" style="display: inline-flex; margin-bottom: 16px;">
919
919
  📥 Download MCP Bundle
920
920
  </a>
921
921
  </div>
@@ -35,8 +35,8 @@ export declare function serverURLFromOptions(options: SDKOptions): URL | null;
35
35
  export declare const SDK_METADATA: {
36
36
  readonly language: "typescript";
37
37
  readonly openapiDocVersion: "0.1.0";
38
- readonly sdkVersion: "0.0.91";
38
+ readonly sdkVersion: "0.0.93";
39
39
  readonly genVersion: "2.915.1";
40
- readonly userAgent: "speakeasy-sdk/mcp-typescript 0.0.91 2.915.1 0.1.0 @dalmia/calibrate-mcp";
40
+ readonly userAgent: "speakeasy-sdk/mcp-typescript 0.0.93 2.915.1 0.1.0 @dalmia/calibrate-mcp";
41
41
  };
42
42
  //# sourceMappingURL=config.d.ts.map
package/esm/lib/config.js CHANGED
@@ -27,8 +27,8 @@ export function serverURLFromOptions(options) {
27
27
  export const SDK_METADATA = {
28
28
  language: "typescript",
29
29
  openapiDocVersion: "0.1.0",
30
- sdkVersion: "0.0.91",
30
+ sdkVersion: "0.0.93",
31
31
  genVersion: "2.915.1",
32
- userAgent: "speakeasy-sdk/mcp-typescript 0.0.91 2.915.1 0.1.0 @dalmia/calibrate-mcp",
32
+ userAgent: "speakeasy-sdk/mcp-typescript 0.0.93 2.915.1 0.1.0 @dalmia/calibrate-mcp",
33
33
  };
34
34
  //# sourceMappingURL=config.js.map
@@ -18,7 +18,7 @@ const routes = buildRouteMap({
18
18
  export const app = buildApplication(routes, {
19
19
  name: "mcp",
20
20
  versionInfo: {
21
- currentVersion: "0.0.91",
21
+ currentVersion: "0.0.93",
22
22
  },
23
23
  });
24
24
  run(app, process.argv.slice(2), buildContext(process));
@@ -56,7 +56,7 @@ import { tool$tracesList } from "./tools/tracesList.js";
56
56
  export function createMCPServer(deps) {
57
57
  const server = new McpServer({
58
58
  name: "CalibrateMcp",
59
- version: "0.0.91",
59
+ version: "0.0.93",
60
60
  });
61
61
  const getClient = deps.getSDK || (() => new CalibrateMcpCore({
62
62
  security: deps.security,
@@ -17,6 +17,17 @@ export declare const ReasoningMode$zodSchema: z.ZodEnum<{
17
17
  required: "required";
18
18
  hidden: "hidden";
19
19
  }>;
20
+ export declare const EvaluatorReasoningModes: {
21
+ readonly Optional: "optional";
22
+ readonly Required: "required";
23
+ readonly Hidden: "hidden";
24
+ };
25
+ export type EvaluatorReasoningModes = ClosedEnum<typeof EvaluatorReasoningModes>;
26
+ export declare const EvaluatorReasoningModes$zodSchema: z.ZodEnum<{
27
+ optional: "optional";
28
+ required: "required";
29
+ hidden: "hidden";
30
+ }>;
20
31
  export type CreateJobsRequest = {
21
32
  annotator_ids: Array<string>;
22
33
  item_ids?: Array<string> | undefined;
@@ -25,6 +36,9 @@ export type CreateJobsRequest = {
25
36
  evaluator_ids?: Array<string> | null | undefined;
26
37
  comments_enabled?: boolean | undefined;
27
38
  reasoning_mode?: ReasoningMode | undefined;
39
+ evaluator_reasoning_modes?: {
40
+ [k: string]: EvaluatorReasoningModes;
41
+ } | null | undefined;
28
42
  };
29
43
  export declare const CreateJobsRequest$zodSchema: z.ZodType<CreateJobsRequest>;
30
44
  //# sourceMappingURL=createjobsrequest.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"createjobsrequest.d.ts","sourceRoot":"","sources":["../../src/models/create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MAAM,uBAAuB,GAAG,UAAU,CAC9C,OAAO,uBAAuB,CAC/B,CAAC;AAEF,eAAO,MAAM,iCAAiC;;;;EAI5C,CAAC;AAEH,MAAM,MAAM,iBAAiB,GAAG;IAC9B,aAAa,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAC7B,QAAQ,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC;IACrC,UAAU,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IACjC,CAAC,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IAC9B,aAAa,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,IAAI,GAAG,SAAS,CAAC;IACjD,gBAAgB,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IACvC,cAAc,CAAC,EAAE,aAAa,GAAG,SAAS,CAAC;IAC3C,yBAAyB,CAAC,EACtB;QAAE,CAAC,CAAC,EAAE,MAAM,GAAG,uBAAuB,CAAA;KAAE,GACxC,IAAI,GACJ,SAAS,CAAC;CACf,CAAC;AAEF,eAAO,MAAM,2BAA2B,EAAE,CAAC,CAAC,OAAO,CAAC,iBAAiB,CA6BjE,CAAC"}
@@ -15,11 +15,22 @@ export const ReasoningMode$zodSchema = z.enum([
15
15
  "required",
16
16
  "hidden",
17
17
  ]).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");
18
+ export const EvaluatorReasoningModes = {
19
+ Optional: "optional",
20
+ Required: "required",
21
+ Hidden: "hidden",
22
+ };
23
+ export const EvaluatorReasoningModes$zodSchema = z.enum([
24
+ "optional",
25
+ "required",
26
+ "hidden",
27
+ ]);
18
28
  export const CreateJobsRequest$zodSchema = z
19
29
  .object({
20
30
  annotator_ids: z.array(z.string()).describe("Annotator IDs to assign, creating one labelling job for each annotator. Must be in your workspace"),
21
31
  comments_enabled: z.boolean().default(true).describe("When `true`, the labelling form lets the annotator leave a comment on each item"),
22
32
  evaluator_ids: z.array(z.string()).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"),
33
+ evaluator_reasoning_modes: z.record(z.string(), 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`"),
23
34
  item_ids: z.array(z.string()).optional().describe("Item IDs to assign. **Required when `select_all=false`**. Ignored when `select_all=true`"),
24
35
  q: z.string().nullable().optional().describe("Case-insensitive substring filter on `payload.name`. Applies only when `select_all=true`"),
25
36
  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"),
@@ -1 +1 @@
1
- {"version":3,"file":"createjobsrequest.js","sourceRoot":"","sources":["../../src/models/createjobsrequest.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAGzB;;GAEG;AACH,MAAM,CAAC,MAAM,aAAa,GAAG;IAC3B,QAAQ,EAAE,UAAU;IACpB,QAAQ,EAAE,UAAU;IACpB,MAAM,EAAE,QAAQ;CACR,CAAC;AAMX,MAAM,CAAC,MAAM,uBAAuB,GAAG,CAAC,CAAC,IAAI,CAAC;IAC5C,UAAU;IACV,UAAU;IACV,QAAQ;CACT,CAAC,CAAC,QAAQ,CACT,0KAA0K,CAC3K,CAAC;AAYF,MAAM,CAAC,MAAM,2BAA2B,GAAiC,CAAC;KACvE,MAAM,CAAC;IACN,aAAa,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,CACzC,mGAAmG,CACpG;IACD,gBAAgB,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,OAAO,CAAC,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"Speakeasy",
5
5
  "type": "module",
6
6
  "sideEffects": false,
@@ -930,7 +930,7 @@ http_headers = { "api-key-auth" = "YOUR_API_KEY_AUTH" }`;
930
930
  <h1>Instructions</h1>
931
931
  <p>One-click installation for Claude Desktop users</p>
932
932
  <div class="instruction-item">
933
- <a href="https://github.com/dalmia/calibrate-mcp/releases/download/v0.0.91/mcp-server.mcpb" download="mcp-server.mcpb" class="action-button header-action" style="display: inline-flex; margin-bottom: 16px;">
933
+ <a href="https://github.com/dalmia/calibrate-mcp/releases/download/v0.0.93/mcp-server.mcpb" download="mcp-server.mcpb" class="action-button header-action" style="display: inline-flex; margin-bottom: 16px;">
934
934
  📥 Download MCP Bundle
935
935
  </a>
936
936
  </div>
package/src/lib/config.ts CHANGED
@@ -65,8 +65,8 @@ export function serverURLFromOptions(options: SDKOptions): URL | null {
65
65
  export const SDK_METADATA = {
66
66
  language: "typescript",
67
67
  openapiDocVersion: "0.1.0",
68
- sdkVersion: "0.0.91",
68
+ sdkVersion: "0.0.93",
69
69
  genVersion: "2.915.1",
70
70
  userAgent:
71
- "speakeasy-sdk/mcp-typescript 0.0.91 2.915.1 0.1.0 @dalmia/calibrate-mcp",
71
+ "speakeasy-sdk/mcp-typescript 0.0.93 2.915.1 0.1.0 @dalmia/calibrate-mcp",
72
72
  } as const;
@@ -21,7 +21,7 @@ const routes = buildRouteMap({
21
21
  export const app = buildApplication(routes, {
22
22
  name: "mcp",
23
23
  versionInfo: {
24
- currentVersion: "0.0.91",
24
+ currentVersion: "0.0.93",
25
25
  },
26
26
  });
27
27
 
@@ -78,7 +78,7 @@ export function createMCPServer(deps: {
78
78
  }) {
79
79
  const server = new McpServer({
80
80
  name: "CalibrateMcp",
81
- version: "0.0.91",
81
+ version: "0.0.93",
82
82
  });
83
83
 
84
84
  const getClient = deps.getSDK || (() =>
@@ -26,6 +26,21 @@ export const ReasoningMode$zodSchema = z.enum([
26
26
  "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",
27
27
  );
28
28
 
29
+ export const EvaluatorReasoningModes = {
30
+ Optional: "optional",
31
+ Required: "required",
32
+ Hidden: "hidden",
33
+ } as const;
34
+ export type EvaluatorReasoningModes = ClosedEnum<
35
+ typeof EvaluatorReasoningModes
36
+ >;
37
+
38
+ export const EvaluatorReasoningModes$zodSchema = z.enum([
39
+ "optional",
40
+ "required",
41
+ "hidden",
42
+ ]);
43
+
29
44
  export type CreateJobsRequest = {
30
45
  annotator_ids: Array<string>;
31
46
  item_ids?: Array<string> | undefined;
@@ -34,6 +49,10 @@ export type CreateJobsRequest = {
34
49
  evaluator_ids?: Array<string> | null | undefined;
35
50
  comments_enabled?: boolean | undefined;
36
51
  reasoning_mode?: ReasoningMode | undefined;
52
+ evaluator_reasoning_modes?:
53
+ | { [k: string]: EvaluatorReasoningModes }
54
+ | null
55
+ | undefined;
37
56
  };
38
57
 
39
58
  export const CreateJobsRequest$zodSchema: z.ZodType<CreateJobsRequest> = z
@@ -47,6 +66,12 @@ export const CreateJobsRequest$zodSchema: z.ZodType<CreateJobsRequest> = z
47
66
  evaluator_ids: z.array(z.string()).nullable().optional().describe(
48
67
  "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",
49
68
  ),
69
+ evaluator_reasoning_modes: z.record(
70
+ z.string(),
71
+ EvaluatorReasoningModes$zodSchema,
72
+ ).nullable().optional().describe(
73
+ "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`",
74
+ ),
50
75
  item_ids: z.array(z.string()).optional().describe(
51
76
  "Item IDs to assign. **Required when `select_all=false`**. Ignored when `select_all=true`",
52
77
  ),