@bugbug-io/cli 14.0.8 → 14.1.0

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.
@@ -47,7 +47,7 @@ import {
47
47
  waitForSuiteRun,
48
48
  waitForTestRun,
49
49
  writeReportXml
50
- } from "./chunk-6556H2AL.js";
50
+ } from "./chunk-RW5JOZ3C.js";
51
51
  import "./chunk-BSHFIPEX.js";
52
52
  import "./chunk-PR4QN5HX.js";
53
53
 
@@ -3298,4 +3298,4 @@ var NavigatorApp = ({ initialRoute, initialRouteState }) => {
3298
3298
  export {
3299
3299
  NavigatorApp
3300
3300
  };
3301
- //# sourceMappingURL=NavigatorApp-R47EJJAF.js.map
3301
+ //# sourceMappingURL=NavigatorApp-SIKHI5JP.js.map
@@ -5,7 +5,7 @@ var startNavigator = async (opts = {}) => {
5
5
  const [{ render }, React, { NavigatorApp }] = await Promise.all([
6
6
  import("./render-U36YSDSA.js"),
7
7
  import("react"),
8
- import("./NavigatorApp-R47EJJAF.js")
8
+ import("./NavigatorApp-SIKHI5JP.js")
9
9
  ]);
10
10
  const element = React.createElement(
11
11
  NavigatorApp,
@@ -20,4 +20,4 @@ var startNavigator = async (opts = {}) => {
20
20
  export {
21
21
  startNavigator
22
22
  };
23
- //# sourceMappingURL=app-7OABS5ZT.js.map
23
+ //# sourceMappingURL=app-GQK4SIGI.js.map
@@ -8923,7 +8923,7 @@ var require_main = __commonJS({
8923
8923
  // ../core/package.json
8924
8924
  var package_default = {
8925
8925
  name: "@bugbug-io/core",
8926
- version: "14.0.8",
8926
+ version: "14.1.0",
8927
8927
  private: true,
8928
8928
  type: "module",
8929
8929
  main: "dist/index.js",
@@ -58193,7 +58193,7 @@ var readEnvFiles2 = (cwd) => {
58193
58193
  var buildUserAgent2 = (clientType, version) => `BugBug ${clientType.toUpperCase()} ${version}`;
58194
58194
  var package_default2 = {
58195
58195
  name: "@bugbug-io/core",
58196
- version: "14.0.8",
58196
+ version: "14.1.0",
58197
58197
  private: true,
58198
58198
  type: "module",
58199
58199
  main: "dist/index.js",
@@ -63524,6 +63524,7 @@ var StepTypeSchema = external_exports.enum([
63524
63524
  "hover",
63525
63525
  "ifCondition",
63526
63526
  "mouseDown",
63527
+ "mouseMove",
63527
63528
  "mouseUp",
63528
63529
  "newTab",
63529
63530
  "pageVisualRegression",
@@ -63535,7 +63536,7 @@ var StepTypeSchema = external_exports.enum([
63535
63536
  "switchContext",
63536
63537
  "type",
63537
63538
  "uploadFile"
63538
- ]).describe("Available step types: answerPrompt, assert, change, clear, click, dblClick, rightClick, closeTab, dragAndDrop, elementVisualRegression, execute, goto, goBack, goForward, hover, ifCondition, mouseDown, mouseUp, newTab, pageVisualRegression, pasteFromClipboard, reloadPage, scroll, select, setLocalVariable, switchContext, type, uploadFile.");
63539
+ ]).describe("Available step types: answerPrompt, assert, change, clear, click, dblClick, rightClick, closeTab, dragAndDrop, elementVisualRegression, execute, goto, goBack, goForward, hover, ifCondition, mouseDown, mouseMove, mouseUp, newTab, pageVisualRegression, pasteFromClipboard, reloadPage, scroll, select, setLocalVariable, switchContext, type, uploadFile.");
63539
63540
  var AssertionTypeSchema = external_exports.enum([
63540
63541
  "contain",
63541
63542
  "equal",
@@ -63800,6 +63801,17 @@ var MouseDownStepSchema = StepBaseSchema.extend({
63800
63801
  interactionPosition: InteractionPositionSchema.describe("Mouse-down position relative to the target element."),
63801
63802
  selectorsPresets: external_exports.array(SelectorsPresetSchema).describe("Target selectors used to locate the element.")
63802
63803
  });
63804
+ var MouseMoveStepSchema = StepBaseSchema.extend({
63805
+ type: external_exports.literal("mouseMove").describe("Move the mouse to an element or viewport coordinate."),
63806
+ isTargetDocument: external_exports.boolean().optional().describe("Whether to move relative to the viewport instead of a target element."),
63807
+ interactionPosition: InteractionPositionSchema.optional().describe("Position relative to the target element when isTargetDocument is false."),
63808
+ clientX: external_exports.number().nonnegative().nullable().optional().describe("X coordinate. Required by the API when isTargetDocument is true."),
63809
+ clientY: external_exports.number().nonnegative().nullable().optional().describe("Y coordinate. Required by the API when isTargetDocument is true."),
63810
+ mouseMoveSteps: external_exports.number().int().positive().nullable().optional().describe("Optional number of intermediate mouse-move events."),
63811
+ mouseButtons: external_exports.array(external_exports.enum(["left", "right", "middle", "back"])).optional().describe("Mouse buttons held while moving."),
63812
+ modifierKeys: external_exports.array(external_exports.enum(["ctrl", "shift", "alt", "meta"])).optional().describe("Keyboard modifier keys held while moving."),
63813
+ selectorsPresets: external_exports.array(SelectorsPresetSchema).optional().describe("Target selectors when moving relative to an element.")
63814
+ });
63803
63815
  var MouseUpStepSchema = StepBaseSchema.extend({
63804
63816
  type: external_exports.literal("mouseUp").describe("Release the mouse button on the targeted element."),
63805
63817
  interactionPosition: InteractionPositionSchema.describe("Mouse-up position relative to the target element."),
@@ -63891,6 +63903,7 @@ var allStepsSchemas = [
63891
63903
  HoverStepSchema,
63892
63904
  IfConditionStepSchema,
63893
63905
  MouseDownStepSchema,
63906
+ MouseMoveStepSchema,
63894
63907
  MouseUpStepSchema,
63895
63908
  NewTabStepSchema,
63896
63909
  PageVisualRegressionStepSchema,
@@ -64831,4 +64844,4 @@ export {
64831
64844
  formatErrorMessage,
64832
64845
  showError
64833
64846
  };
64834
- //# sourceMappingURL=chunk-6556H2AL.js.map
64847
+ //# sourceMappingURL=chunk-RW5JOZ3C.js.map
package/dist/index.js CHANGED
@@ -51,7 +51,7 @@ import {
51
51
  waitForSuiteRun,
52
52
  waitForTestRun,
53
53
  writeReportXml
54
- } from "./chunk-6556H2AL.js";
54
+ } from "./chunk-RW5JOZ3C.js";
55
55
  import "./chunk-BSHFIPEX.js";
56
56
  import "./chunk-PR4QN5HX.js";
57
57
 
@@ -1208,7 +1208,7 @@ program.exitOverride();
1208
1208
  });
1209
1209
  analytics.trackEvent("cli_session_started");
1210
1210
  if (startupMode.type === "commandline" && await shouldRedirectUnauthenticatedCommandToInit(process.argv, hasUsableSession)) {
1211
- const { startNavigator } = await import("./app-7OABS5ZT.js");
1211
+ const { startNavigator } = await import("./app-GQK4SIGI.js");
1212
1212
  await startNavigator({
1213
1213
  initialRoute: "/init",
1214
1214
  initialRouteState: {
@@ -1220,7 +1220,7 @@ program.exitOverride();
1220
1220
  return;
1221
1221
  }
1222
1222
  if (startupMode.type === "navigator") {
1223
- const { startNavigator } = await import("./app-7OABS5ZT.js");
1223
+ const { startNavigator } = await import("./app-GQK4SIGI.js");
1224
1224
  await startNavigator({
1225
1225
  initialRoute: startupMode.route,
1226
1226
  token: config.token,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bugbug-io/cli",
3
- "version": "14.0.8",
3
+ "version": "14.1.0",
4
4
  "description": "BugBug CLI for test automation, CI workflows, and AI-agent plugin installation",
5
5
  "type": "module",
6
6
  "bin": {