bitfab-cli 0.2.376 → 0.2.378

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 +15 -4
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -23939,6 +23939,16 @@ var deleteAssertionCategory = {
23939
23939
  description: "Delete an assertion category from this organization. Its assertions are kept and become uncategorized. Their existing verdicts are kept.",
23940
23940
  inputSchema: { id: external_exports.uuid().describe("ID of the category to delete.") }
23941
23941
  };
23942
+ var generateTraceAssertions = {
23943
+ name: "generate_trace_assertions",
23944
+ title: "Generate Trace Assertions",
23945
+ description: "Generate review-ready assertion drafts from what one original trace actually did. Call this when the user asks Bitfab to generate assertions, infer expected behavior from a trace, or turn a known root cause into regression checks. Bitfab reads the organization's existing assertion categories, selects the categories supported by trace evidence, and generates assertions one category at a time. The generated assertions are saved awaiting human review, so they are not checked on replays until a person approves them. The call is idempotent by default and returns the assertions from the existing generation run instead of spending model calls again. Set regenerate to true to archive the prior generated drafts and replace them. Human-authored assertions are never replaced. Pass rootCause when the user knows why the trace was wrong; it narrows the evidence and produces smaller assertions. A replay trace id is refused because assertions belong to the original trace.",
23946
+ inputSchema: {
23947
+ traceId: external_exports.uuid().describe("The ORIGINAL trace to generate assertions for. A replay trace id is refused, and the error names the original to retry with."),
23948
+ rootCause: external_exports.string().trim().min(1).max(1e4).optional().describe("Optional known cause of the bad behavior. Use it to focus generation on the smallest assertions that would catch this failure."),
23949
+ regenerate: external_exports.preprocess(parseJsonString, external_exports.boolean()).optional().describe("Set true to rerun generation and replace prior generated drafts. Omit or set false to reuse the existing generation result.")
23950
+ }
23951
+ };
23942
23952
  var saveTraceAssertions = {
23943
23953
  name: "save_trace_assertions",
23944
23954
  title: "Save Trace Assertions",
@@ -24270,6 +24280,7 @@ var ALL_TOOL_CONTRACTS = [
24270
24280
  listAssertionCategories,
24271
24281
  getAssertionCategory,
24272
24282
  deleteAssertionCategory,
24283
+ generateTraceAssertions,
24273
24284
  saveTraceAssertions,
24274
24285
  getTraceAssertions,
24275
24286
  archiveTraceAssertions,
@@ -24895,10 +24906,10 @@ var semver3 = __toESM(require_semver2(), 1);
24895
24906
 
24896
24907
  // ../bitfab-plugin-lib/dist/bakedSdkVersions.js
24897
24908
  var BAKED_SDK_VERSIONS = {
24898
- typescript: "0.58.3",
24899
- python: "0.58.4",
24900
- ruby: "0.58.3",
24901
- go: "0.58.3"
24909
+ typescript: "0.58.4",
24910
+ python: "0.58.5",
24911
+ ruby: "0.58.4",
24912
+ go: "0.58.4"
24902
24913
  };
24903
24914
 
24904
24915
  // ../bitfab-plugin-lib/dist/installedSdk.js
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bitfab-cli",
3
- "version": "0.2.376",
3
+ "version": "0.2.378",
4
4
  "description": "Install and configure the Bitfab plugin in Claude Code, Codex, or Cursor, or the Bitfab skill pack in Amp (Alpha).",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",