@buildautomaton/cli 0.1.86 → 0.1.87

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/cli.js CHANGED
@@ -30462,7 +30462,7 @@ var {
30462
30462
  } = import_index.default;
30463
30463
 
30464
30464
  // src/cli-version.ts
30465
- var CLI_VERSION = "0.1.86".length > 0 ? "0.1.86" : "0.0.0-dev";
30465
+ var CLI_VERSION = "0.1.87".length > 0 ? "0.1.87" : "0.0.0-dev";
30466
30466
 
30467
30467
  // src/cli/defaults.ts
30468
30468
  var DEFAULT_API_URL = process.env.BUILDAUTOMATON_API_URL ?? "https://api.buildautomaton.com";
@@ -39876,6 +39876,7 @@ function buildCursorTaskToolCallUpdate(params) {
39876
39876
  const model = typeof params.model === "string" ? params.model : void 0;
39877
39877
  const agentId = typeof params.agentId === "string" ? params.agentId : typeof params.agent_id === "string" ? params.agent_id : void 0;
39878
39878
  const durationMs = typeof params.durationMs === "number" ? params.durationMs : typeof params.duration_ms === "number" ? params.duration_ms : void 0;
39879
+ const isBackground = typeof params.isBackground === "boolean" ? params.isBackground : typeof params.is_background === "boolean" ? params.is_background : typeof params.runInBackground === "boolean" ? params.runInBackground : typeof params.run_in_background === "boolean" ? params.run_in_background : void 0;
39879
39880
  return {
39880
39881
  sessionUpdate: "tool_call_update",
39881
39882
  toolCallId,
@@ -39886,7 +39887,8 @@ function buildCursorTaskToolCallUpdate(params) {
39886
39887
  ...subagentType != null ? { subagentType } : {},
39887
39888
  ...model != null ? { model } : {},
39888
39889
  ...agentId != null ? { agentId } : {},
39889
- ...durationMs != null ? { durationMs } : {}
39890
+ ...durationMs != null ? { durationMs } : {},
39891
+ ...isBackground != null ? { isBackground } : {}
39890
39892
  }
39891
39893
  };
39892
39894
  }