viyv-browser-mcp 0.10.3 → 0.11.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.
package/dist/index.js CHANGED
@@ -11943,7 +11943,7 @@ function decideSyncAction(state, selfVersion) {
11943
11943
 
11944
11944
  // src/native-host-updater.ts
11945
11945
  var PKG_VERSION = (() => {
11946
- if (true) return "0.10.3";
11946
+ if (true) return "0.11.0";
11947
11947
  try {
11948
11948
  const here = fileURLToPath(import.meta.url);
11949
11949
  const pkgPath = resolve2(here, "..", "..", "package.json");
@@ -33687,13 +33687,17 @@ var smBundleSchema = external_exports.object({
33687
33687
  fetches: external_exports.array(external_exports.object({ fetch_id: external_exports.string() }).passthrough()),
33688
33688
  scenario: external_exports.object({ scenario_id: external_exports.string() }).passthrough()
33689
33689
  }).passthrough();
33690
+ var smRuntimeParamsSchema = external_exports.record(external_exports.union([external_exports.string(), external_exports.array(external_exports.string())])).optional();
33690
33691
  var smRunInlineOptionsSchema = external_exports.object({
33691
33692
  tabId: external_exports.coerce.number().optional(),
33692
33693
  tabStrategy: external_exports.enum(["reuse", "create", "create-then-close"]).optional(),
33693
33694
  chromeProfile: external_exports.string().optional(),
33694
33695
  timeoutMs: external_exports.coerce.number().int().positive().optional(),
33695
33696
  abortSignal: external_exports.string().optional(),
33696
- dryRun: external_exports.boolean().optional()
33697
+ dryRun: external_exports.boolean().optional(),
33698
+ // F3: scenario-wide cartesian-product cap. Omitted = runtime default
33699
+ // (SAFETY.DEFAULT_MAX_TOTAL_ITERATIONS = 1000). Batch callers override.
33700
+ maxTotalIterations: external_exports.coerce.number().int().positive().optional()
33697
33701
  }).optional();
33698
33702
  var smRunInlineTool = {
33699
33703
  name: "sm_run_inline",
@@ -33704,8 +33708,12 @@ var smRunInlineTool = {
33704
33708
  related: SM_RUN_INLINE_RELATED,
33705
33709
  inputSchema: external_exports.object({
33706
33710
  bundle: smBundleSchema.describe("Self-contained SM definitions to execute"),
33707
- params: external_exports.record(external_exports.unknown()).optional().describe("Scenario parameter values"),
33708
- options: smRunInlineOptionsSchema.describe("Tab / timeout / abort / dry-run")
33711
+ params: smRuntimeParamsSchema.describe(
33712
+ "Scenario parameter values (string or string[]; numeric/boolean params pass as strings)"
33713
+ ),
33714
+ options: smRunInlineOptionsSchema.describe(
33715
+ "Tab / timeout / abort / dry-run / maxTotalIterations"
33716
+ )
33709
33717
  })
33710
33718
  };
33711
33719
  var smProbeInlineTool = {
@@ -33718,12 +33726,19 @@ var smProbeInlineTool = {
33718
33726
  inputSchema: external_exports.object({
33719
33727
  bundle: smBundleSchema.describe("Bundle whose target locators to probe"),
33720
33728
  targetIds: external_exports.array(external_exports.string()).optional().describe("Subset of target_ids to probe; default = all targets in the bundle"),
33729
+ // F3: probe also exercises scenario.params resolution so callers get a
33730
+ // `missing-params` / `invalid-param-value` signal before committing to
33731
+ // a full run. Probe itself runs no scenario steps.
33732
+ params: smRuntimeParamsSchema.describe(
33733
+ "Scenario parameter values for resolution-only validation (probe does not execute steps)"
33734
+ ),
33721
33735
  options: external_exports.object({
33722
33736
  tabId: external_exports.coerce.number().optional(),
33723
33737
  tabStrategy: external_exports.enum(["reuse", "create", "create-then-close"]).optional(),
33724
33738
  chromeProfile: external_exports.string().optional(),
33725
33739
  timeoutMs: external_exports.coerce.number().int().positive().optional(),
33726
- abortSignal: external_exports.string().optional()
33740
+ abortSignal: external_exports.string().optional(),
33741
+ maxTotalIterations: external_exports.coerce.number().int().positive().optional()
33727
33742
  }).optional()
33728
33743
  })
33729
33744
  };