bitfab-cli 0.2.263 → 0.2.265

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 (2) hide show
  1. package/dist/index.js +34 -3
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -28465,17 +28465,45 @@ 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 renames the group without changing membership. Creation is idempotent when all supplied test runs already share one group. All resources must belong to the active organization.",
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 and required when editing.")
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 an existing experiment (replay test run). Provide the experiment id and at least one of name, notes, or experimentGroupId. Omitted fields keep their current values; pass an empty notes string to clear notes, a group id to move the experiment to that existing group, or null to remove it from its group.",
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."),
28500
+ experimentGroupId: external_exports.uuid().nullable().optional().describe("Existing experiment group id to move this experiment into. Omit to keep its current group; pass null to remove it from its group.")
28473
28501
  }
28474
28502
  };
28475
28503
  var getExperiment = {
28476
28504
  name: "get_experiment",
28477
28505
  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.",
28506
+ 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
28507
  inputSchema: {
28480
28508
  testRunId: external_exports.uuid().describe("The experiment (test run) id, from list_experiments")
28481
28509
  }
@@ -28493,7 +28521,10 @@ var getGraderLabels = {
28493
28521
  var ALL_TOOL_CONTRACTS = [
28494
28522
  getGraderLabels,
28495
28523
  getExperiment,
28524
+ getExperimentGroup,
28525
+ saveExperiment,
28496
28526
  saveExperimentGroup,
28527
+ listExperimentGroups,
28497
28528
  getBitfabApiKey,
28498
28529
  getApiKeyContext,
28499
28530
  listOrganizations,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bitfab-cli",
3
- "version": "0.2.263",
3
+ "version": "0.2.265",
4
4
  "description": "Install and configure the Bitfab plugin in Claude Code, Codex, or Cursor.",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",