bitfab-cli 0.2.262 → 0.2.264
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/dist/index.js +33 -3
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -28465,17 +28465,44 @@ var listTracePlans = {
|
|
|
28465
28465
|
var saveExperimentGroup = {
|
|
28466
28466
|
name: "save_experiment_group",
|
|
28467
28467
|
title: "Save Experiment Group",
|
|
28468
|
-
description: "Create or edit an experiment group. To create, omit experimentGroupId and provide testRunIds plus an optional name; the supplied experiments are grouped together. To edit, provide experimentGroupId and name but omit testRunIds; editing
|
|
28468
|
+
description: "Create or edit an experiment group. To create, omit experimentGroupId and provide testRunIds plus an optional name and notes; the supplied experiments are grouped together. To edit, provide experimentGroupId and at least one of name or notes, but omit testRunIds; editing metadata does not change membership. Creation is idempotent when all supplied test runs already share one group. All resources must belong to the active organization.",
|
|
28469
28469
|
inputSchema: {
|
|
28470
28470
|
experimentGroupId: external_exports.uuid().optional().describe("Existing experiment group id to rename. Omit when creating."),
|
|
28471
28471
|
testRunIds: external_exports.preprocess(parseJsonString, external_exports.array(external_exports.uuid()).min(1).max(100)).optional().describe("Experiment (test run) ids to group (1-100). Required when creating; omit when editing."),
|
|
28472
|
-
name: external_exports.string().trim().min(1).max(120).optional().describe("Human-readable group name. Optional when creating
|
|
28472
|
+
name: external_exports.string().trim().min(1).max(120).optional().describe("Human-readable group name. Optional when creating or editing."),
|
|
28473
|
+
notes: external_exports.string().max(1e4).optional().describe("Optional group notes. Omit to keep existing notes when editing; pass an empty string to clear them.")
|
|
28474
|
+
}
|
|
28475
|
+
};
|
|
28476
|
+
var listExperimentGroups = {
|
|
28477
|
+
name: "list_experiment_groups",
|
|
28478
|
+
title: "List Experiment Groups",
|
|
28479
|
+
description: "List recent experiment groups in the active organization, newest first. Each group includes its id, name, notes, creation time, and the experiment ids currently in the group.",
|
|
28480
|
+
inputSchema: {
|
|
28481
|
+
limit: external_exports.preprocess(parseJsonString, external_exports.number().int().min(1).max(50)).optional().describe("Max experiment groups to return (default 20, max 50)")
|
|
28482
|
+
}
|
|
28483
|
+
};
|
|
28484
|
+
var getExperimentGroup = {
|
|
28485
|
+
name: "get_experiment_group",
|
|
28486
|
+
title: "Get Experiment Group",
|
|
28487
|
+
description: "Get one experiment group by id, including its name, notes, creation and update times, and its member experiments with each experiment's id, name, status, and creation time. Use list_experiment_groups to discover recent group ids.",
|
|
28488
|
+
inputSchema: {
|
|
28489
|
+
experimentGroupId: external_exports.uuid().describe("The experiment group id to get")
|
|
28490
|
+
}
|
|
28491
|
+
};
|
|
28492
|
+
var saveExperiment = {
|
|
28493
|
+
name: "save_experiment",
|
|
28494
|
+
title: "Save Experiment",
|
|
28495
|
+
description: "Update the human-readable metadata for an existing experiment (replay test run). Provide the experiment id and at least one of name or notes. Omitted fields keep their current values; pass an empty notes string to clear notes.",
|
|
28496
|
+
inputSchema: {
|
|
28497
|
+
testRunId: external_exports.uuid().describe("The experiment (test run) id to update"),
|
|
28498
|
+
name: external_exports.string().trim().min(1).max(120).optional().describe("Optional human-readable experiment name"),
|
|
28499
|
+
notes: external_exports.string().max(1e4).optional().describe("Optional experiment notes. Omit to keep existing notes; pass an empty string to clear them.")
|
|
28473
28500
|
}
|
|
28474
28501
|
};
|
|
28475
28502
|
var getExperiment = {
|
|
28476
28503
|
name: "get_experiment",
|
|
28477
28504
|
title: "Get Experiment",
|
|
28478
|
-
description: "Get a single experiment (replay test run) by id, with its status, pass/fail totals, delta, experiment group, and grader results: the aggregate passing/failing checks and pass rate, plus a per-grader breakdown (each assigned grader's own passing/failing and pass rate on the run). Use this when you already have an experiment id and want just that run's results, instead of paging the whole function's history with list_experiments.",
|
|
28505
|
+
description: "Get a single experiment (replay test run) by id, with its name, notes, status, pass/fail totals, delta, experiment group, and grader results: the aggregate passing/failing checks and pass rate, plus a per-grader breakdown (each assigned grader's own passing/failing and pass rate on the run). Use this when you already have an experiment id and want just that run's results, instead of paging the whole function's history with list_experiments.",
|
|
28479
28506
|
inputSchema: {
|
|
28480
28507
|
testRunId: external_exports.uuid().describe("The experiment (test run) id, from list_experiments")
|
|
28481
28508
|
}
|
|
@@ -28493,7 +28520,10 @@ var getGraderLabels = {
|
|
|
28493
28520
|
var ALL_TOOL_CONTRACTS = [
|
|
28494
28521
|
getGraderLabels,
|
|
28495
28522
|
getExperiment,
|
|
28523
|
+
getExperimentGroup,
|
|
28524
|
+
saveExperiment,
|
|
28496
28525
|
saveExperimentGroup,
|
|
28526
|
+
listExperimentGroups,
|
|
28497
28527
|
getBitfabApiKey,
|
|
28498
28528
|
getApiKeyContext,
|
|
28499
28529
|
listOrganizations,
|