@browserbasehq/stagehand 3.0.7-alpha-73eda31e5436b14bcca653dbed6fc3c9ee48b55f → 3.0.7-alpha-5b288d9ac37406ff22460ac8050bea26b87a378e

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 +5 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -179,7 +179,7 @@ var __forAwait = (obj, it, method) => (it = obj[__knownSymbol("asyncIterator")])
179
179
  var STAGEHAND_VERSION;
180
180
  var init_version = __esm({
181
181
  "lib/version.ts"() {
182
- STAGEHAND_VERSION = "3.0.7-alpha-73eda31e5436b14bcca653dbed6fc3c9ee48b55f";
182
+ STAGEHAND_VERSION = "3.0.7-alpha-5b288d9ac37406ff22460ac8050bea26b87a378e";
183
183
  }
184
184
  });
185
185
 
@@ -32261,6 +32261,10 @@ function createStandardAction(toolCallName, toolResult, args, reasoning) {
32261
32261
  reasoning,
32262
32262
  taskCompleted: toolCallName === "close" ? args == null ? void 0 : args.taskComplete : false
32263
32263
  }, args);
32264
+ if (toolCallName === "screenshot") {
32265
+ action.result = "screenshotTaken";
32266
+ return action;
32267
+ }
32264
32268
  if (toolCallName !== "ariaTree" && toolResult) {
32265
32269
  const { output } = toolResult;
32266
32270
  Object.assign(action, output);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@browserbasehq/stagehand",
3
- "version": "3.0.7-alpha-73eda31e5436b14bcca653dbed6fc3c9ee48b55f",
3
+ "version": "3.0.7-alpha-5b288d9ac37406ff22460ac8050bea26b87a378e",
4
4
  "description": "An AI web browsing framework focused on simplicity and extensibility.",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",