@dalmia/calibrate-mcp 0.0.17 → 0.0.18
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 +38 -13
- package/bin/mcp-server.js.map +10 -8
- 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/agenttestrunlistitem.d.ts +4 -9
- package/esm/models/agenttestrunlistitem.d.ts.map +1 -1
- package/esm/models/agenttestrunlistitem.js +6 -10
- package/esm/models/agenttestrunlistitem.js.map +1 -1
- package/esm/models/modelrunsummary.d.ts +18 -0
- package/esm/models/modelrunsummary.d.ts.map +1 -0
- package/esm/models/modelrunsummary.js +13 -0
- package/esm/models/modelrunsummary.js.map +1 -0
- package/esm/models/testruncasesummary.d.ts +16 -0
- package/esm/models/testruncasesummary.d.ts.map +1 -0
- package/esm/models/testruncasesummary.js +10 -0
- package/esm/models/testruncasesummary.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/agenttestrunlistitem.ts +16 -21
- package/src/models/modelrunsummary.ts +42 -0
- package/src/models/testruncasesummary.ts +29 -0
package/bin/mcp-server.js
CHANGED
|
@@ -51392,9 +51392,9 @@ var init_config = __esm(() => {
|
|
|
51392
51392
|
SDK_METADATA = {
|
|
51393
51393
|
language: "typescript",
|
|
51394
51394
|
openapiDocVersion: "0.1.0",
|
|
51395
|
-
sdkVersion: "0.0.
|
|
51395
|
+
sdkVersion: "0.0.18",
|
|
51396
51396
|
genVersion: "2.915.1",
|
|
51397
|
-
userAgent: "speakeasy-sdk/mcp-typescript 0.0.
|
|
51397
|
+
userAgent: "speakeasy-sdk/mcp-typescript 0.0.18 2.915.1 0.1.0 @dalmia/calibrate-mcp"
|
|
51398
51398
|
};
|
|
51399
51399
|
});
|
|
51400
51400
|
|
|
@@ -54672,14 +54672,41 @@ var init_agentTestsListForAgent2 = __esm(() => {
|
|
|
54672
54672
|
};
|
|
54673
54673
|
});
|
|
54674
54674
|
|
|
54675
|
+
// src/models/modelrunsummary.ts
|
|
54676
|
+
var ModelRunSummary$zodSchema;
|
|
54677
|
+
var init_modelrunsummary = __esm(() => {
|
|
54678
|
+
init_zod();
|
|
54679
|
+
ModelRunSummary$zodSchema = object({
|
|
54680
|
+
failed: int().nullable().optional().describe("Number of test cases that failed for this model"),
|
|
54681
|
+
message: string2().default("").describe("Status or result message for this model"),
|
|
54682
|
+
model: string2().describe("Model name these results are for"),
|
|
54683
|
+
passed: int().nullable().optional().describe("Number of test cases that passed for this model"),
|
|
54684
|
+
success: boolean2().nullable().optional().describe("Whether this model's run succeeded"),
|
|
54685
|
+
total_tests: int().nullable().optional().describe("Total test cases for this model")
|
|
54686
|
+
}).describe("Flat summary for one model in a benchmark run-LIST item. The full results\nfor each case of a model live on the benchmark detail endpoint\n(`GET /agent-tests/benchmark/{task_id}`), not here.");
|
|
54687
|
+
});
|
|
54688
|
+
|
|
54689
|
+
// src/models/testruncasesummary.ts
|
|
54690
|
+
var TestRunCaseSummary$zodSchema;
|
|
54691
|
+
var init_testruncasesummary = __esm(() => {
|
|
54692
|
+
init_zod();
|
|
54693
|
+
TestRunCaseSummary$zodSchema = object({
|
|
54694
|
+
name: string2().nullable().optional().describe("Name of the test case"),
|
|
54695
|
+
passed: boolean2().nullable().optional().describe("Whether the case passed (null if it errored or is still running)")
|
|
54696
|
+
}).describe(`Flat summary for one test case in the run-LIST endpoints. Carries only
|
|
54697
|
+
enough to render a run's pass/fail breakdown and a case name. The full detail
|
|
54698
|
+
for each case (agent output, judge verdicts, reasoning, latency, cost, the
|
|
54699
|
+
test-case definition) lives on the run-DETAIL endpoint
|
|
54700
|
+
(\`GET /agent-tests/run/{task_id}\`).`);
|
|
54701
|
+
});
|
|
54702
|
+
|
|
54675
54703
|
// src/models/agenttestrunlistitem.ts
|
|
54676
54704
|
var AgentTestRunListItemType$zodSchema, AgentTestRunListItem$zodSchema;
|
|
54677
54705
|
var init_agenttestrunlistitem = __esm(() => {
|
|
54678
54706
|
init_zod();
|
|
54679
|
-
|
|
54707
|
+
init_modelrunsummary();
|
|
54680
54708
|
init_taskstatus();
|
|
54681
|
-
|
|
54682
|
-
init_testrunevaluator();
|
|
54709
|
+
init_testruncasesummary();
|
|
54683
54710
|
AgentTestRunListItemType$zodSchema = _enum([
|
|
54684
54711
|
"llm-unit-test",
|
|
54685
54712
|
"llm-benchmark"
|
|
@@ -54687,15 +54714,13 @@ var init_agenttestrunlistitem = __esm(() => {
|
|
|
54687
54714
|
AgentTestRunListItem$zodSchema = object({
|
|
54688
54715
|
cost: record(string2(), any()).nullable().optional().describe("Aggregated cost as `{mean, min, max, count}` (USD)"),
|
|
54689
54716
|
error: boolean2().default(false).describe("True if the run failed"),
|
|
54690
|
-
evaluators: array(TestRunEvaluator$zodSchema).nullable().optional().describe("The evaluators used in this run. Each verdict in `judge_results` links to one of these by `evaluator_uuid`"),
|
|
54691
54717
|
failed: int().nullable().optional().describe("Number of test cases that failed"),
|
|
54692
54718
|
is_public: boolean2().default(false).describe("Whether the run is shared publicly"),
|
|
54693
54719
|
latency_ms: record(string2(), any()).nullable().optional().describe("Aggregated latency in milliseconds, as `{p50, p95, p99, count}`"),
|
|
54694
|
-
|
|
54695
|
-
model_results: array(ModelResult$zodSchema).nullable().optional().describe("Results for each model in a benchmark run"),
|
|
54720
|
+
model_results: array(ModelRunSummary$zodSchema).nullable().optional().describe("Flat summary for each model in a benchmark run (fetch the benchmark detail for full results)"),
|
|
54696
54721
|
name: string2().describe("Display name, such as `Run 1` for a unit test or `Benchmark 1` for a benchmark"),
|
|
54697
54722
|
passed: int().nullable().optional().describe("Number of test cases that passed"),
|
|
54698
|
-
results: array(
|
|
54723
|
+
results: array(TestRunCaseSummary$zodSchema).nullable().optional().describe("Flat pass/fail summary for each test case (fetch the run detail for full results)"),
|
|
54699
54724
|
share_token: string2().nullable().optional().describe("Token for building the public share URL"),
|
|
54700
54725
|
status: TaskStatus$zodSchema,
|
|
54701
54726
|
total_tests: int().nullable().optional().describe("Total number of test cases"),
|
|
@@ -58456,7 +58481,7 @@ fields to change (name, config). Returns the updated test. Fails with
|
|
|
58456
58481
|
function createMCPServer(deps) {
|
|
58457
58482
|
const server = new McpServer({
|
|
58458
58483
|
name: "CalibrateMcp",
|
|
58459
|
-
version: "0.0.
|
|
58484
|
+
version: "0.0.18"
|
|
58460
58485
|
});
|
|
58461
58486
|
const getClient = deps.getSDK || (() => new CalibrateMcpCore({
|
|
58462
58487
|
security: deps.security,
|
|
@@ -59662,7 +59687,7 @@ http_headers = { "api-key-auth" = "YOUR_API_KEY_AUTH" }`;
|
|
|
59662
59687
|
<h1>Instructions</h1>
|
|
59663
59688
|
<p>One-click installation for Claude Desktop users</p>
|
|
59664
59689
|
<div class="instruction-item">
|
|
59665
|
-
<a href="https://github.com/dalmia/calibrate-mcp/releases/download/v0.0.
|
|
59690
|
+
<a href="https://github.com/dalmia/calibrate-mcp/releases/download/v0.0.18/mcp-server.mcpb" download="mcp-server.mcpb" class="action-button header-action" style="display: inline-flex; margin-bottom: 16px;">
|
|
59666
59691
|
\uD83D\uDCE5 Download MCP Bundle
|
|
59667
59692
|
</a>
|
|
59668
59693
|
</div>
|
|
@@ -62314,7 +62339,7 @@ var routes = buildRouteMap({
|
|
|
62314
62339
|
var app = buildApplication(routes, {
|
|
62315
62340
|
name: "mcp",
|
|
62316
62341
|
versionInfo: {
|
|
62317
|
-
currentVersion: "0.0.
|
|
62342
|
+
currentVersion: "0.0.18"
|
|
62318
62343
|
}
|
|
62319
62344
|
});
|
|
62320
62345
|
run(app, process4.argv.slice(2), buildContext(process4));
|
|
@@ -62322,5 +62347,5 @@ export {
|
|
|
62322
62347
|
app
|
|
62323
62348
|
};
|
|
62324
62349
|
|
|
62325
|
-
//# debugId=
|
|
62350
|
+
//# debugId=E95251CDECEB21E364756E2164756E21
|
|
62326
62351
|
//# sourceMappingURL=mcp-server.js.map
|