@dalmia/calibrate-mcp 0.0.38 → 0.0.39

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.38/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.39/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.38";
38
+ readonly sdkVersion: "0.0.39";
39
39
  readonly genVersion: "2.915.1";
40
- readonly userAgent: "speakeasy-sdk/mcp-typescript 0.0.38 2.915.1 0.1.0 @dalmia/calibrate-mcp";
40
+ readonly userAgent: "speakeasy-sdk/mcp-typescript 0.0.39 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.38",
30
+ sdkVersion: "0.0.39",
31
31
  genVersion: "2.915.1",
32
- userAgent: "speakeasy-sdk/mcp-typescript 0.0.38 2.915.1 0.1.0 @dalmia/calibrate-mcp",
32
+ userAgent: "speakeasy-sdk/mcp-typescript 0.0.39 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.38",
21
+ currentVersion: "0.0.39",
22
22
  },
23
23
  });
24
24
  run(app, process.argv.slice(2), buildContext(process));
@@ -49,7 +49,7 @@ import { tool$tracesCreate } from "./tools/tracesCreate.js";
49
49
  export function createMCPServer(deps) {
50
50
  const server = new McpServer({
51
51
  name: "CalibrateMcp",
52
- version: "0.0.38",
52
+ version: "0.0.39",
53
53
  });
54
54
  const getClient = deps.getSDK || (() => new CalibrateMcpCore({
55
55
  security: deps.security,
@@ -1,10 +1,30 @@
1
1
  import * as z from "zod";
2
+ import { ClosedEnum } from "../types/enums.js";
3
+ /**
4
+ * 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
5
+ */
6
+ export declare const ReasoningMode: {
7
+ readonly Optional: "optional";
8
+ readonly Required: "required";
9
+ readonly Hidden: "hidden";
10
+ };
11
+ /**
12
+ * 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
13
+ */
14
+ export type ReasoningMode = ClosedEnum<typeof ReasoningMode>;
15
+ export declare const ReasoningMode$zodSchema: z.ZodEnum<{
16
+ optional: "optional";
17
+ required: "required";
18
+ hidden: "hidden";
19
+ }>;
2
20
  export type CreateJobsRequest = {
3
21
  annotator_ids: Array<string>;
4
22
  item_ids?: Array<string> | undefined;
5
23
  select_all?: boolean | undefined;
6
24
  q?: string | null | undefined;
7
25
  evaluator_ids?: Array<string> | null | undefined;
26
+ comments_enabled?: boolean | undefined;
27
+ reasoning_mode?: ReasoningMode | undefined;
8
28
  };
9
29
  export declare const CreateJobsRequest$zodSchema: z.ZodType<CreateJobsRequest>;
10
30
  //# sourceMappingURL=createjobsrequest.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"createjobsrequest.d.ts","sourceRoot":"","sources":["../../src/models/createjobsrequest.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAEzB,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;CAClD,CAAC;AAEF,eAAO,MAAM,2BAA2B,EAAE,CAAC,CAAC,OAAO,CAAC,iBAAiB,CAiBjE,CAAC"}
1
+ {"version":3,"file":"createjobsrequest.d.ts","sourceRoot":"","sources":["../../src/models/createjobsrequest.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAE/C;;GAEG;AACH,eAAO,MAAM,aAAa;;;;CAIhB,CAAC;AACX;;GAEG;AACH,MAAM,MAAM,aAAa,GAAG,UAAU,CAAC,OAAO,aAAa,CAAC,CAAC;AAE7D,eAAO,MAAM,uBAAuB;;;;EAMnC,CAAC;AAEF,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;CAC5C,CAAC;AAEF,eAAO,MAAM,2BAA2B,EAAE,CAAC,CAAC,OAAO,CAAC,iBAAiB,CAuBjE,CAAC"}
@@ -2,12 +2,27 @@
2
2
  * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
3
  */
4
4
  import * as z from "zod";
5
+ /**
6
+ * 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
7
+ */
8
+ export const ReasoningMode = {
9
+ Optional: "optional",
10
+ Required: "required",
11
+ Hidden: "hidden",
12
+ };
13
+ export const ReasoningMode$zodSchema = z.enum([
14
+ "optional",
15
+ "required",
16
+ "hidden",
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");
5
18
  export const CreateJobsRequest$zodSchema = z
6
19
  .object({
7
20
  annotator_ids: z.array(z.string()).describe("Annotator IDs to assign, creating one labelling job for each annotator. Must be in your workspace"),
21
+ comments_enabled: z.boolean().default(true).describe("When `true`, the labelling form lets the annotator leave a comment on each item"),
8
22
  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"),
9
23
  item_ids: z.array(z.string()).optional().describe("Item IDs to assign. **Required when `select_all=false`**. Ignored when `select_all=true`"),
10
24
  q: z.string().nullable().optional().describe("Case-insensitive substring filter on `payload.name`. Applies only when `select_all=true`"),
25
+ 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"),
11
26
  select_all: z.boolean().default(false).describe("When `true`, assign every item in the task and ignore `item_ids`. Set `q` to assign only items whose name matches it"),
12
27
  });
13
28
  //# sourceMappingURL=createjobsrequest.js.map
@@ -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;AAUzB,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,aAAa,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAC/D,oNAAoN,CACrN;IACD,QAAQ,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAC/C,0FAA0F,CAC3F;IACD,CAAC,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAC1C,0FAA0F,CAC3F;IACD,UAAU,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC,QAAQ,CAC7C,sHAAsH,CACvH;CACF,CAAC,CAAC"}
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,IAAI,CAAC,CAAC,QAAQ,CAClD,iFAAiF,CAClF;IACD,aAAa,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAC/D,oNAAoN,CACrN;IACD,QAAQ,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAC/C,0FAA0F,CAC3F;IACD,CAAC,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAC1C,0FAA0F,CAC3F;IACD,cAAc,EAAE,uBAAuB,CAAC,OAAO,CAAC,UAAU,CAAC,CAAC,QAAQ,CAClE,0KAA0K,CAC3K;IACD,UAAU,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC,QAAQ,CAC7C,sHAAsH,CACvH;CACF,CAAC,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dalmia/calibrate-mcp",
3
- "version": "0.0.38",
3
+ "version": "0.0.39",
4
4
  "author": "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.38/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.39/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.38",
68
+ sdkVersion: "0.0.39",
69
69
  genVersion: "2.915.1",
70
70
  userAgent:
71
- "speakeasy-sdk/mcp-typescript 0.0.38 2.915.1 0.1.0 @dalmia/calibrate-mcp",
71
+ "speakeasy-sdk/mcp-typescript 0.0.39 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.38",
24
+ currentVersion: "0.0.39",
25
25
  },
26
26
  });
27
27
 
@@ -71,7 +71,7 @@ export function createMCPServer(deps: {
71
71
  }) {
72
72
  const server = new McpServer({
73
73
  name: "CalibrateMcp",
74
- version: "0.0.38",
74
+ version: "0.0.39",
75
75
  });
76
76
 
77
77
  const getClient = deps.getSDK || (() =>
@@ -3,6 +3,28 @@
3
3
  */
4
4
 
5
5
  import * as z from "zod";
6
+ import { ClosedEnum } from "../types/enums.js";
7
+
8
+ /**
9
+ * 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
10
+ */
11
+ export const ReasoningMode = {
12
+ Optional: "optional",
13
+ Required: "required",
14
+ Hidden: "hidden",
15
+ } as const;
16
+ /**
17
+ * 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
+ */
19
+ export type ReasoningMode = ClosedEnum<typeof ReasoningMode>;
20
+
21
+ export const ReasoningMode$zodSchema = z.enum([
22
+ "optional",
23
+ "required",
24
+ "hidden",
25
+ ]).describe(
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
+ );
6
28
 
7
29
  export type CreateJobsRequest = {
8
30
  annotator_ids: Array<string>;
@@ -10,6 +32,8 @@ export type CreateJobsRequest = {
10
32
  select_all?: boolean | undefined;
11
33
  q?: string | null | undefined;
12
34
  evaluator_ids?: Array<string> | null | undefined;
35
+ comments_enabled?: boolean | undefined;
36
+ reasoning_mode?: ReasoningMode | undefined;
13
37
  };
14
38
 
15
39
  export const CreateJobsRequest$zodSchema: z.ZodType<CreateJobsRequest> = z
@@ -17,6 +41,9 @@ export const CreateJobsRequest$zodSchema: z.ZodType<CreateJobsRequest> = z
17
41
  annotator_ids: z.array(z.string()).describe(
18
42
  "Annotator IDs to assign, creating one labelling job for each annotator. Must be in your workspace",
19
43
  ),
44
+ comments_enabled: z.boolean().default(true).describe(
45
+ "When `true`, the labelling form lets the annotator leave a comment on each item",
46
+ ),
20
47
  evaluator_ids: z.array(z.string()).nullable().optional().describe(
21
48
  "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",
22
49
  ),
@@ -26,6 +53,9 @@ export const CreateJobsRequest$zodSchema: z.ZodType<CreateJobsRequest> = z
26
53
  q: z.string().nullable().optional().describe(
27
54
  "Case-insensitive substring filter on `payload.name`. Applies only when `select_all=true`",
28
55
  ),
56
+ reasoning_mode: ReasoningMode$zodSchema.default("optional").describe(
57
+ "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",
58
+ ),
29
59
  select_all: z.boolean().default(false).describe(
30
60
  "When `true`, assign every item in the task and ignore `item_ids`. Set `q` to assign only items whose name matches it",
31
61
  ),