bitfab-cli 0.2.484 → 0.2.486

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 +18 -5
  2. package/package.json +4 -4
package/dist/index.js CHANGED
@@ -6,7 +6,11 @@ var __getOwnPropNames = Object.getOwnPropertyNames;
6
6
  var __getProtoOf = Object.getPrototypeOf;
7
7
  var __hasOwnProp = Object.prototype.hasOwnProperty;
8
8
  var __commonJS = (cb, mod) => function __require() {
9
- return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
9
+ try {
10
+ return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
11
+ } catch (e) {
12
+ throw mod = 0, e;
13
+ }
10
14
  };
11
15
  var __export = (target, all) => {
12
16
  for (var name in all)
@@ -29672,6 +29676,14 @@ var saveTraceCategories = {
29672
29676
  categoryIds: external_exports.preprocess(parseJsonString, external_exports.array(external_exports.uuid()).max(100)).describe("Every category the trace belongs to, replacing its saved set. An empty list clears it.")
29673
29677
  }
29674
29678
  };
29679
+ var generateScenario = {
29680
+ name: "generate_scenario",
29681
+ title: "Generate Scenario",
29682
+ description: "Start building the scenario for one trace and return at once, without waiting for it. The scenario appears on the trace later: read it with get_scenario. Bitfab builds the trigger itself for a noah-agent-turn trace, and the organization's scenario callback, when one is set up, fills in the rest for any trace. A trace that already has a scenario is left as it is and answers with that scenario's id. A replay, a trace outside this organization, or a trace Bitfab cannot build a scenario for (not noah-agent-turn and no scenario callback) is refused. Adding traces to a dataset links each one to an empty scenario, and starts this same build for each only when the organization has a scenario callback.",
29683
+ inputSchema: {
29684
+ traceId: external_exports.uuid().describe("The trace to build a scenario for.")
29685
+ }
29686
+ };
29675
29687
  var generateScenarioAssertions = {
29676
29688
  name: "generate_scenario_assertions",
29677
29689
  title: "Generate Scenario Assertions",
@@ -29749,6 +29761,7 @@ var ALL_TOOL_CONTRACTS = [
29749
29761
  getScenario,
29750
29762
  saveScenario,
29751
29763
  saveTraceCategories,
29764
+ generateScenario,
29752
29765
  generateScenarioAssertions
29753
29766
  ];
29754
29767
  var TOOL_NAMES = ALL_TOOL_CONTRACTS.map((contract) => contract.name).sort();
@@ -31126,10 +31139,10 @@ var semver2 = __toESM(require_semver2(), 1);
31126
31139
 
31127
31140
  // ../bitfab-plugin-lib/dist/bakedSdkVersions.js
31128
31141
  var BAKED_SDK_VERSIONS = {
31129
- typescript: "0.68.6",
31130
- python: "0.68.6",
31131
- ruby: "0.67.1",
31132
- go: "0.67.2"
31142
+ typescript: "0.68.8",
31143
+ python: "0.68.7",
31144
+ ruby: "0.67.2",
31145
+ go: "0.67.3"
31133
31146
  };
31134
31147
 
31135
31148
  // ../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.484",
3
+ "version": "0.2.486",
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",
@@ -44,14 +44,14 @@
44
44
  "node": ">=18.0.0"
45
45
  },
46
46
  "dependencies": {
47
- "@anthropic-ai/claude-agent-sdk": "^0.3.296",
47
+ "@anthropic-ai/claude-agent-sdk": "^0.3.307",
48
48
  "@clack/prompts": "^1.8.1"
49
49
  },
50
50
  "devDependencies": {
51
51
  "@types/node": "^26.6.5",
52
52
  "bitfab-plugin-lib": "workspace:*",
53
- "tsup": "^8.5.1",
53
+ "tsup": "^9.0.0",
54
54
  "typescript": "^7.0.2",
55
- "vitest": "^5.0.4"
55
+ "vitest": "^5.0.5"
56
56
  }
57
57
  }