bitfab-cli 0.2.433 → 0.2.435

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 +12 -11
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -29231,21 +29231,22 @@ var saveSimPlan = {
29231
29231
  })).min(1).max(500)).describe("Nodes to change (1-500). `name` is the span name; `captureContent` false stops recording that span's inputs and outputs and does the same for every node beneath it, true records them again for that node only.")
29232
29232
  }
29233
29233
  };
29234
- var scenarioTraceIdSchema = external_exports.uuid().describe("ID of the trace the scenario was built from.");
29234
+ var scenarioTargetSchema = {
29235
+ traceId: external_exports.uuid().optional().describe("ID of a trace whose scenario to use. Send this or scenarioId, not both."),
29236
+ scenarioId: external_exports.uuid().optional().describe("ID of the scenario, as get_scenario prints it. Send this or traceId, not both.")
29237
+ };
29235
29238
  var getScenario = {
29236
29239
  name: "get_scenario",
29237
29240
  title: "Get Scenario",
29238
- description: "Read the scenario built from one trace: the situation the trace function's run was in, as the trigger that started the run and the data available when it arrived, with a name and a description. It describes the situation only, never what the run did or should do. Returns the trigger and data summaries, then the name, description, trigger, and data as JSON in exactly the shape save_scenario accepts. Call it before save_scenario so an edit starts from what is saved.",
29239
- inputSchema: {
29240
- traceId: scenarioTraceIdSchema
29241
- }
29241
+ description: "Read one scenario, found by its id or by a trace it was built from: the situation the trace function's run was in, as the trigger that started the run and the data available when it arrived, with a name and a description. It describes the situation only, never what the run did or should do. Returns the trigger and data summaries, then the name, description, trigger, and data as JSON in exactly the shape save_scenario accepts. Call it before save_scenario so an edit starts from what is saved.",
29242
+ inputSchema: scenarioTargetSchema
29242
29243
  };
29243
29244
  var saveScenario = {
29244
29245
  name: "save_scenario",
29245
29246
  title: "Save Scenario",
29246
- description: "Update the scenario built from one trace, for example to add history the run had available, record data it was missing, or correct the trigger. name, description, trigger, and data each replace the saved value whole, and fields left out are kept. To add to the data without resending it, use appendData instead of data: its history entries go after the saved ones and its missing items after the saved missing items, in one step that cannot lose another caller's append made at the same time. Send data or appendData, not both. trigger, data, and appendData entries must keep the shape get_scenario returns. A history entry's source names the span on this trace its text came from; set it to null or leave it out when the text is not in the trace, and the entry still counts as data the run had but cannot be cited as evidence when the scenario is turned into assertions. A source naming a span that is not on this trace is refused. The trigger and data summaries are rebuilt from what is saved. It only updates a scenario that already exists; a trace with no scenario is refused. Returns the saved scenario.",
29247
+ description: "Update one scenario, found by its id or by a trace it was built from, for example to add history the run had available, record data it was missing, or correct the trigger. name, description, trigger, and data each replace the saved value whole, and fields left out are kept. To add to the data without resending it, use appendData instead of data: its history entries go after the saved ones and its missing items after the saved missing items, in one step that cannot lose another caller's append made at the same time. Send data or appendData, not both. trigger, data, and appendData entries must keep the shape get_scenario returns. A history entry's source names the span its text came from, on any trace linked to the scenario (a trace that finds it by traceId is one); set it to null or leave it out when the text is not in such a trace, and the entry still counts as data the run had but cannot be cited as evidence when the scenario is turned into assertions. A source naming a span on any other trace is refused. The trigger and data summaries are rebuilt from what is saved. It only updates a scenario that already exists; a trace with no scenario, or a scenario id that does not exist, is refused. Returns the saved scenario.",
29247
29248
  inputSchema: {
29248
- traceId: scenarioTraceIdSchema,
29249
+ ...scenarioTargetSchema,
29249
29250
  name: external_exports.string().min(1).optional().describe("The scenario's name."),
29250
29251
  description: external_exports.string().min(1).optional().describe("The scenario's description."),
29251
29252
  trigger: external_exports.preprocess(parseJsonString, external_exports.record(external_exports.string(), external_exports.unknown())).optional().describe("The whole trigger object, in the shape get_scenario returns: what started the run."),
@@ -29920,10 +29921,10 @@ var semver3 = __toESM(require_semver2(), 1);
29920
29921
 
29921
29922
  // ../bitfab-plugin-lib/dist/bakedSdkVersions.js
29922
29923
  var BAKED_SDK_VERSIONS = {
29923
- typescript: "0.64.17",
29924
- python: "0.64.17",
29925
- ruby: "0.64.15",
29926
- go: "0.64.16"
29924
+ typescript: "0.64.18",
29925
+ python: "0.64.18",
29926
+ ruby: "0.64.16",
29927
+ go: "0.64.17"
29927
29928
  };
29928
29929
 
29929
29930
  // ../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.433",
3
+ "version": "0.2.435",
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",