@dev-blinq/bvt-playwright-js 1.0.0-dev.4.staging.74.1 → 1.0.0-dev.4.staging.79.1

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/index.d.mts CHANGED
@@ -8212,11 +8212,13 @@ type CustomCodeRuntimeOptions = {
8212
8212
  readonly driver?: CustomCodeDriver;
8213
8213
  readonly policy?: CustomCodePolicy;
8214
8214
  readonly logger?: AgentLoggerInput;
8215
+ readonly pgHostBridge?: boolean;
8215
8216
  };
8216
8217
  declare class CustomCodeRuntime {
8217
8218
  private readonly driver;
8218
8219
  private readonly policy;
8219
8220
  private readonly logger?;
8221
+ private readonly pgHostBridge;
8220
8222
  constructor(options?: CustomCodeRuntimeOptions);
8221
8223
  execute(input: ExecuteCustomCodeInput): Promise<CustomCodeExecutionResult>;
8222
8224
  }
package/index.mjs CHANGED
@@ -9803,6 +9803,7 @@ const FieldKindSchema = _enum([
9803
9803
  "number",
9804
9804
  "date",
9805
9805
  "select",
9806
+ "custom-select",
9806
9807
  "multiselect",
9807
9808
  "checkbox",
9808
9809
  "radio",
@@ -9829,12 +9830,23 @@ const FillFormBatchResultEntrySchema = object({
9829
9830
  "error"
9830
9831
  ]),
9831
9832
  error: string().optional(),
9832
- actualValue: string().optional()
9833
+ actualValue: string().optional(),
9834
+ signal: object({
9835
+ filled: boolean(),
9836
+ matchesConfirmField: boolean().optional(),
9837
+ valueSatisfiesIntent: boolean().optional()
9838
+ }).strict().optional()
9833
9839
  }).strict();
9834
9840
  const FillFormBatchResultSchema = object({
9835
9841
  results: array(FillFormBatchResultEntrySchema),
9836
- domGrew: boolean()
9842
+ domGrew: boolean(),
9843
+ fieldTimingsMs: array(number().nonnegative()).optional()
9844
+ }).strict();
9845
+ const FormFieldDataTokenSchema = object({
9846
+ fieldId: string().min(1),
9847
+ value: union([string(), array(string())])
9837
9848
  }).strict();
9849
+ const FormFieldDataTokenPlanSchema = object({ tokens: array(FormFieldDataTokenSchema) }).strict();
9838
9850
 
9839
9851
  //#endregion
9840
9852
  //#region ../../core/schemas/src/ai-chat/types.ts
@@ -9885,13 +9897,31 @@ const GenerateParameterizedStepNameRequestSchema = object({
9885
9897
  scenarioId: string().min(1).optional(),
9886
9898
  projectId: string().min(1).optional()
9887
9899
  });
9900
+ const AiChatFormFieldSnapshotSchema = object({
9901
+ tag: string().min(1),
9902
+ type: string().nullable(),
9903
+ id: string().nullable(),
9904
+ name: string().nullable(),
9905
+ ariaLabel: string().nullable(),
9906
+ placeholder: string().nullable(),
9907
+ required: boolean(),
9908
+ disabled: boolean(),
9909
+ readOnly: boolean().default(false),
9910
+ label: string().nullable(),
9911
+ selector: string().nullable(),
9912
+ options: array(string()).optional(),
9913
+ formIndex: number().int().nonnegative().nullable().optional(),
9914
+ formName: string().nullable().optional()
9915
+ }).strict();
9888
9916
  const AiChatPageContextSchema = object({
9889
9917
  url: string().url(),
9890
9918
  title: string().min(1),
9891
9919
  accessibilityTree: string().min(1),
9892
9920
  visibleText: string().min(1).optional(),
9893
9921
  domSnapshot: string().min(1).optional(),
9894
- screenshotBase64: string().min(1).optional()
9922
+ screenshotBase64: string().min(1).optional(),
9923
+ formFields: array(AiChatFormFieldSnapshotSchema).optional(),
9924
+ formFieldsCapped: boolean().optional()
9895
9925
  }).strict();
9896
9926
  const ValidationComplexitySchema = _enum([
9897
9927
  "simple",