dsh-agent-enhancer 0.3.21 → 0.3.22

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/lib/client.js CHANGED
@@ -111,6 +111,7 @@ function resolveSettings(value) {
111
111
  browserAgentBrowser: resolveBrowserAgentBrowser(value?.browserAgentBrowser),
112
112
  browserAgentDebugTools: value?.browserAgentDebugTools === true,
113
113
  browserAgentDemonstrate: value?.browserAgentDemonstrate === true,
114
+ browserAgentAutoHeal: value?.browserAgentAutoHeal === true,
114
115
  browserAgentIdleClose: resolveBrowserAgentIdleClose(value?.browserAgentIdleClose),
115
116
  webChatBridgeEnabled: value?.webChatBridgeEnabled ?? true,
116
117
  instructionsSkillsEnabled: value?.instructionsSkillsEnabled ?? true,
@@ -2861,6 +2862,7 @@ function SettingsFeaturesPanel(props) {
2861
2862
  onBrowserAgentBrowser,
2862
2863
  onBrowserAgentDebugTools,
2863
2864
  onBrowserAgentDemonstrate,
2865
+ onBrowserAgentAutoHeal,
2864
2866
  onBrowserAgentIdleClose,
2865
2867
  onOpenModel,
2866
2868
  featureExtraDescription
@@ -2926,6 +2928,21 @@ function SettingsFeaturesPanel(props) {
2926
2928
  )
2927
2929
  ] }),
2928
2930
  /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("p", { className: css_module_default.settingDescription, children: t("browserAgentDemonstrateHint") }),
2931
+ /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)("label", { className: css_module_default.browserAgentExtraRow, children: [
2932
+ /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("span", { children: t("browserAgentAutoHeal") }),
2933
+ /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
2934
+ import_dsh_client_ui_primitives4.Switch,
2935
+ {
2936
+ label: t("browserAgentAutoHeal"),
2937
+ checked: settings.browserAgentAutoHeal,
2938
+ disabled: busy || onBrowserAgentAutoHeal === void 0,
2939
+ onChange: (checked) => {
2940
+ onBrowserAgentAutoHeal?.(checked);
2941
+ }
2942
+ }
2943
+ )
2944
+ ] }),
2945
+ /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("p", { className: css_module_default.settingDescription, children: t("browserAgentAutoHealHint") }),
2929
2946
  /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)("label", { className: css_module_default.browserAgentExtraRow, children: [
2930
2947
  /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("span", { children: t("browserAgentIdleClose") }),
2931
2948
  /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
@@ -9008,6 +9025,19 @@ function PluginSettingsBody({ form, t, persist, loadCatalog, getRemote }) {
9008
9025
  setSaving(null);
9009
9026
  }
9010
9027
  };
9028
+ const onBrowserAgentAutoHeal = async (enabled) => {
9029
+ setSaving("browserAgentAutoHeal");
9030
+ setError(false);
9031
+ setSaveDetail(null);
9032
+ try {
9033
+ await writeOps([{ op: "set", path: ["browserAgentAutoHeal"], value: enabled }]);
9034
+ } catch (cause) {
9035
+ setError(true);
9036
+ setSaveDetail(cause instanceof Error ? cause.message : String(cause));
9037
+ } finally {
9038
+ setSaving(null);
9039
+ }
9040
+ };
9011
9041
  const onBrowserAgentDemonstrate = async (enabled) => {
9012
9042
  setSaving("browserAgentDemonstrate");
9013
9043
  setError(false);
@@ -9148,6 +9178,9 @@ function PluginSettingsBody({ form, t, persist, loadCatalog, getRemote }) {
9148
9178
  onBrowserAgentDemonstrate: (enabled) => {
9149
9179
  void onBrowserAgentDemonstrate(enabled);
9150
9180
  },
9181
+ onBrowserAgentAutoHeal: (enabled) => {
9182
+ void onBrowserAgentAutoHeal(enabled);
9183
+ },
9151
9184
  onBrowserAgentIdleClose: (value) => {
9152
9185
  void onBrowserAgentIdleClose(value);
9153
9186
  },
@@ -10929,6 +10962,8 @@ var agentLocales = {
10929
10962
  browserAgentDebugToolsHint: "\u4E00\u4E2A\u5F00\u5173\u540C\u65F6\u542F\u7528\uFF1A\u8BFB\u53D6\u7F51\u7EDC\u8BF7\u6C42\u4E0E\u63A7\u5236\u53F0\u8F93\u51FA\uFF08browser_network / browser_console\uFF09\uFF0C\u4EE5\u53CA\u6A21\u62DF\u6DF1\u8272\u6A21\u5F0F\u3001\u51CF\u5C11\u52A8\u753B\u3001\u89C6\u53E3\u5C3A\u5BF8\uFF08browser_emulate\uFF09\u3002\u53EA\u8BB0\u5F55 URL\u3001\u72B6\u6001\u3001\u8017\u65F6\u4E0E console \u6587\u672C\uFF0C\u4E0D\u8BFB\u8BF7\u6C42\u5934\u3001Cookie\u3001\u54CD\u5E94\u4F53\u3002",
10930
10963
  browserAgentDemonstrate: "\u6F14\u793A\u5F55\u5236",
10931
10964
  browserAgentDemonstrateHint: "\u5F00\u542F\u540E\u53EF\u4EE5\u5728\u53F3\u4FA7\u680F\u6D4F\u89C8\u5668\u9762\u677F\u70B9\u300C\u5F00\u59CB\u6F14\u793A\u300D\uFF0C\u6F14\u793A\u4E00\u904D\u6D41\u7A0B\u540E\u70B9\u300C\u7ED3\u675F\u5E76\u67E5\u770B\u6B65\u9AA4\u300D\uFF1B\u667A\u80FD\u4F53\u4E5F\u80FD\u5728\u5BF9\u8BDD\u91CC\u53D1\u8D77\u6F14\u793A\u3002\u5BC6\u7801 / \u9A8C\u8BC1\u7801 / token \u7C7B\u5B57\u6BB5\u53EA\u4F1A\u8BB0\u5F55\u4E3A ***\u3002",
10965
+ browserAgentAutoHeal: "\u6D41\u7A0B\u81EA\u52A8\u9002\u5E94\u7F51\u7AD9\u6539\u7248",
10966
+ browserAgentAutoHealHint: "\u4FDD\u5B58\u7684\u6D41\u7A0B\u5361\u4F4F\u65F6\uFF0C\u667A\u80FD\u4F53\u8865\u5B8C\u7684\u505A\u6CD5\u4F1A\u76F4\u63A5\u5199\u56DE\u6D41\u7A0B\uFF0C\u4E0D\u518D\u9010\u6B21\u8BE2\u95EE\u3002\u53EA\u6539\u300C\u600E\u4E48\u627E\u5230\u63A7\u4EF6\u300D\uFF0C\u4E0D\u6539\u586B\u5199\u7684\u5185\u5BB9\uFF1B\u53EA\u5728\u540C\u4E00\u4E2A\u7F51\u7AD9\u5185\u751F\u6548\uFF0C\u6BCF\u4E2A\u6D41\u7A0B\u6BCF\u5929\u6700\u591A 3 \u6B21\u3002\u4FA7\u680F\u53EF\u300C\u64A4\u9500\u4E0A\u6B21\u4FEE\u6539\u300D\u3002",
10932
10967
  browserAgentIdleClose: "\u81EA\u52A8\u5173\u95ED\u95F2\u7F6E\u6807\u7B7E",
10933
10968
  browserAgentIdleCloseHint: "\u8D85\u8FC7\u6240\u9009\u65F6\u957F\u6CA1\u4EBA\u7528\u7684\u6807\u7B7E\u81EA\u52A8\u5173\u95ED\uFF0C\u907F\u514D\u4E13\u7528\u6D4F\u89C8\u5668\u8D8A\u5F00\u8D8A\u591A\u3002\u5F53\u524D\u7ED1\u5B9A\u6807\u7B7E\u3001\u6B63\u5728\u770B\u7684\u6807\u7B7E\u548C\u6700\u540E\u4E00\u4E2A\u6807\u7B7E\u4E0D\u4F1A\u88AB\u5173\u3002",
10934
10969
  browserAgentIdleClose_10m: "10 \u5206\u949F",
@@ -10966,9 +11001,12 @@ var agentLocales = {
10966
11001
  browserAgentDemoRecipeSteps: "\u67E5\u770B\u6B65\u9AA4",
10967
11002
  browserAgentDemoRecipeRenamed: "\u5DF2\u91CD\u547D\u540D\u4E3A\u300C{name}\u300D",
10968
11003
  browserAgentDemoRecipeSetVar: "\u8BBE\u4E3A\u53C2\u6570",
10969
- browserAgentDemoRecipeVarName: "\u53D8\u91CF\u540D",
10970
- browserAgentDemoRecipeVarConfirm: "\u786E\u5B9A",
10971
- browserAgentDemoRecipeVarNameRequired: "\u5148\u7ED9\u53D8\u91CF\u8D77\u4E2A\u540D\u5B57",
11004
+ browserAgentDemoSuggestTitle: "\u8FD9\u51E0\u4E2A\u503C\u4EE5\u540E\u8981\u6362\u5417\uFF1F",
11005
+ browserAgentDemoSuggestRow: "\u300C{value}\u300D\u5728\u300C{label}\u300D",
11006
+ browserAgentDemoSuggestMake: "\u6BCF\u6B21\u95EE\u6211",
11007
+ browserAgentDemoSuggestKeep: "\u4FDD\u6301\u56FA\u5B9A",
11008
+ browserAgentDemoRecipeVarHint: "2026-11-01 \u6216 \u4E0A\u5468",
11009
+ browserAgentDemoRecipeVarWorking: "\u5904\u7406\u4E2D\u2026",
10972
11010
  browserAgentDemoRecipeParameterized: "\u5DF2\u628A\u8FD9\u4E00\u6B65\u53D8\u6210\u53D8\u91CF\u300C{name}\u300D",
10973
11011
  browserAgentDemoHealText: "\u7B2C {n} \u6B65\u7684\u63A7\u4EF6\u53D8\u4E86\uFF0C\u73B0\u5728\u6539\u7528\u300C{label}\u300D\u3002\u8981\u8BB0\u4F4F\u8FD9\u6B21\u7684\u505A\u6CD5\u5417\uFF1F",
10974
11012
  browserAgentDemoHealInserted: "\u53E6\u5916\u8865\u4E86 {n} \u6B65\uFF08\u5F39\u7A97\u3001\u5F15\u5BFC\u4E4B\u7C7B\uFF09\u3002",
@@ -11633,6 +11671,8 @@ var agentLocales = {
11633
11671
  browserAgentDebugToolsHint: "One switch enables both: reading network requests and console output (browser_network / browser_console), and emulating dark mode, reduced motion or a viewport size (browser_emulate). Only URLs, status, timing and console text are recorded \u2014 never request headers, cookies or bodies.",
11634
11672
  browserAgentDemonstrate: "Demonstration recording",
11635
11673
  browserAgentDemonstrateHint: "Once on, press Start recording in the browser pane of the right sidebar, perform the flow, then press Stop and show steps. The agent can also start a demonstration from chat. Password / OTP / token fields are recorded only as ***.",
11674
+ browserAgentAutoHeal: "Let flows adapt to site changes",
11675
+ browserAgentAutoHealHint: "When a saved flow gets stuck, the fix the agent worked out is kept without asking. Only how a control is found changes, never the recorded values; it applies to the same site only, at most 3 times per flow per day. Undo lives in the sidebar.",
11636
11676
  browserAgentIdleClose: "Close idle tabs",
11637
11677
  browserAgentIdleCloseHint: "Closes tabs nobody used for longer than the selected time, so the dedicated browser does not pile them up. The bound tab, the tab you are looking at, and the last tab are never closed.",
11638
11678
  browserAgentIdleClose_10m: "10 minutes",
@@ -11670,9 +11710,12 @@ var agentLocales = {
11670
11710
  browserAgentDemoRecipeSteps: "View steps",
11671
11711
  browserAgentDemoRecipeRenamed: 'Renamed to "{name}"',
11672
11712
  browserAgentDemoRecipeSetVar: "Make a variable",
11673
- browserAgentDemoRecipeVarName: "Variable name",
11674
- browserAgentDemoRecipeVarConfirm: "OK",
11675
- browserAgentDemoRecipeVarNameRequired: "Name the variable first",
11713
+ browserAgentDemoSuggestTitle: "Should these change every time?",
11714
+ browserAgentDemoSuggestRow: '"{value}" in "{label}"',
11715
+ browserAgentDemoSuggestMake: "Ask me",
11716
+ browserAgentDemoSuggestKeep: "Keep fixed",
11717
+ browserAgentDemoRecipeVarHint: "2026-11-01 or last week",
11718
+ browserAgentDemoRecipeVarWorking: "Working\u2026",
11676
11719
  browserAgentDemoRecipeParameterized: 'Step now uses the variable "{name}"',
11677
11720
  browserAgentDemoHealText: 'Step {n} moved: the flow will use "{label}" instead. Remember this?',
11678
11721
  browserAgentDemoHealInserted: "Plus {n} extra step(s) (a banner or a prompt).",
@@ -12635,8 +12678,8 @@ function BrowserAgentTab(props) {
12635
12678
  const [recipeBusy, setRecipeBusy] = (0, import_react23.useState)(false);
12636
12679
  const [openRecipeId, setOpenRecipeId] = (0, import_react23.useState)(null);
12637
12680
  const [recipeStepRows, setRecipeStepRows] = (0, import_react23.useState)([]);
12638
- const [paramTarget, setParamTarget] = (0, import_react23.useState)(null);
12639
- const [paramName, setParamName] = (0, import_react23.useState)("");
12681
+ const [paramBusyIndex, setParamBusyIndex] = (0, import_react23.useState)(null);
12682
+ const [suggestions, setSuggestions] = (0, import_react23.useState)(null);
12640
12683
  const [varsFor, setVarsFor] = (0, import_react23.useState)(null);
12641
12684
  const [varsValues, setVarsValues] = (0, import_react23.useState)({});
12642
12685
  const [renamingId, setRenamingId] = (0, import_react23.useState)(null);
@@ -12669,6 +12712,8 @@ function BrowserAgentTab(props) {
12669
12712
  return;
12670
12713
  }
12671
12714
  setRecipeName("");
12715
+ const items = result.suggestions ?? [];
12716
+ setSuggestions(result.recipe !== void 0 && items.length > 0 ? { recipeId: result.recipe.id, items } : null);
12672
12717
  setHint(t("browserAgentDemoRecipeSaved").replace("{name}", result.recipe?.name ?? name));
12673
12718
  } finally {
12674
12719
  setRecipeBusy(false);
@@ -12715,15 +12760,10 @@ function BrowserAgentTab(props) {
12715
12760
  return;
12716
12761
  }
12717
12762
  setRecipeStepRows(result.steps ?? []);
12718
- setParamTarget(null);
12719
12763
  setOpenRecipeId(recipe.id);
12720
12764
  };
12721
- const submitParameter = async (recipe, index) => {
12722
- const name = paramName.trim();
12723
- if (name === "") {
12724
- setHint(t("browserAgentDemoRecipeVarNameRequired"));
12725
- return;
12726
- }
12765
+ const parameterizeStep = async (recipe, index, label) => {
12766
+ setParamBusyIndex(index);
12727
12767
  setRecipeBusy(true);
12728
12768
  setHint(null);
12729
12769
  try {
@@ -12731,19 +12771,20 @@ function BrowserAgentTab(props) {
12731
12771
  action: "parameterize",
12732
12772
  id: recipe.id,
12733
12773
  index,
12734
- name
12774
+ ...label === void 0 ? {} : { label }
12735
12775
  });
12736
12776
  if (result.recipes !== void 0) setRecipes(result.recipes);
12737
12777
  if (!result.ok) {
12738
12778
  setHint(result.error ?? t("browserAgentDemoRecipeFailed"));
12739
12779
  return;
12740
12780
  }
12741
- setParamTarget(null);
12742
- setParamName("");
12781
+ const applied = result.recipe?.variables[result.recipe.variables.length - 1];
12743
12782
  const refreshed = await agentEnhancerBrowserAgentDemoRecipes.invoke(remote(), { action: "steps", id: recipe.id });
12744
12783
  if (refreshed.steps !== void 0) setRecipeStepRows(refreshed.steps);
12745
- setHint(t("browserAgentDemoRecipeParameterized").replace("{name}", name));
12784
+ setSuggestions((previous) => previous === null ? null : { ...previous, items: previous.items.filter((item) => item.index !== index) });
12785
+ setHint(t("browserAgentDemoRecipeParameterized").replace("{name}", applied?.label ?? ""));
12746
12786
  } finally {
12787
+ setParamBusyIndex(null);
12747
12788
  setRecipeBusy(false);
12748
12789
  }
12749
12790
  };
@@ -13002,6 +13043,39 @@ function BrowserAgentTab(props) {
13002
13043
  }
13003
13044
  )
13004
13045
  ] }) : null,
13046
+ suggestions === null ? null : /* @__PURE__ */ (0, import_jsx_runtime28.jsxs)("div", { className: css_module_default.browserAgentHeal, children: [
13047
+ /* @__PURE__ */ (0, import_jsx_runtime28.jsx)("p", { className: css_module_default.browserAgentHealText, children: t("browserAgentDemoSuggestTitle") }),
13048
+ suggestions.items.map((item) => {
13049
+ const recipe = recipes.find((candidate) => candidate.id === suggestions.recipeId);
13050
+ return /* @__PURE__ */ (0, import_jsx_runtime28.jsxs)("div", { className: css_module_default.browserAgentRecipeStepRow, children: [
13051
+ /* @__PURE__ */ (0, import_jsx_runtime28.jsx)("span", { className: css_module_default.browserAgentRecipeStepText, children: t("browserAgentDemoSuggestRow").replace("{value}", item.value).replace("{label}", item.label) }),
13052
+ /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
13053
+ "button",
13054
+ {
13055
+ type: "button",
13056
+ className: css_module_default.browserAgentButton,
13057
+ disabled: recipeBusy || recipe === void 0,
13058
+ onClick: () => {
13059
+ if (recipe !== void 0) void parameterizeStep(recipe, item.index, item.label);
13060
+ },
13061
+ children: t("browserAgentDemoSuggestMake")
13062
+ }
13063
+ ),
13064
+ /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
13065
+ "button",
13066
+ {
13067
+ type: "button",
13068
+ className: css_module_default.browserAgentButton,
13069
+ disabled: recipeBusy,
13070
+ onClick: () => {
13071
+ setSuggestions(null);
13072
+ },
13073
+ children: t("browserAgentDemoSuggestKeep")
13074
+ }
13075
+ )
13076
+ ] }, `${item.index}-${item.value}`);
13077
+ })
13078
+ ] }),
13005
13079
  recipes.length > 0 ? /* @__PURE__ */ (0, import_jsx_runtime28.jsxs)("div", { className: css_module_default.browserAgentTabListSection, children: [
13006
13080
  /* @__PURE__ */ (0, import_jsx_runtime28.jsx)("p", { className: css_module_default.browserAgentPaneNote, children: t("browserAgentDemoRecipesTitle") }),
13007
13081
  /* @__PURE__ */ (0, import_jsx_runtime28.jsx)("ul", { className: css_module_default.browserAgentRecipeList, children: recipes.map((recipe) => /* @__PURE__ */ (0, import_jsx_runtime28.jsxs)("li", { className: css_module_default.browserAgentRecipeItem, children: [
@@ -13057,7 +13131,7 @@ function BrowserAgentTab(props) {
13057
13131
  }
13058
13132
  ),
13059
13133
  /* @__PURE__ */ (0, import_jsx_runtime28.jsx)("span", { className: css_module_default.browserAgentRecipeSteps, children: t("browserAgentDemoRecipeStepCount").replace("{n}", String(recipe.steps)) }),
13060
- recipe.variables.length === 0 ? null : /* @__PURE__ */ (0, import_jsx_runtime28.jsx)("span", { className: css_module_default.browserAgentRecipeVarsBadge, children: recipe.variables.map((variable) => variable.name).join(", ") }),
13134
+ recipe.variables.length === 0 ? null : /* @__PURE__ */ (0, import_jsx_runtime28.jsx)("span", { className: css_module_default.browserAgentRecipeVarsBadge, children: recipe.variables.map((variable) => variable.label).join("\u3001") }),
13061
13135
  /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
13062
13136
  "button",
13063
13137
  {
@@ -13127,13 +13201,15 @@ function BrowserAgentTab(props) {
13127
13201
  ] }),
13128
13202
  varsFor === recipe.id ? /* @__PURE__ */ (0, import_jsx_runtime28.jsxs)("div", { className: css_module_default.browserAgentRecipeVars, children: [
13129
13203
  recipe.variables.map((variable) => /* @__PURE__ */ (0, import_jsx_runtime28.jsxs)("label", { className: css_module_default.browserAgentRecipeVarRow, children: [
13130
- /* @__PURE__ */ (0, import_jsx_runtime28.jsx)("span", { className: css_module_default.browserAgentRecipeVarName, children: variable.name }),
13204
+ /* @__PURE__ */ (0, import_jsx_runtime28.jsx)("span", { className: css_module_default.browserAgentRecipeVarName, children: variable.label }),
13131
13205
  /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
13132
13206
  "input",
13133
13207
  {
13134
13208
  className: css_module_default.browserAgentDemoName,
13209
+ type: variable.kind === "date" ? "date" : "text",
13210
+ placeholder: t("browserAgentDemoRecipeVarHint"),
13135
13211
  value: varsValues[variable.name] ?? "",
13136
- "aria-label": variable.name,
13212
+ "aria-label": variable.label,
13137
13213
  disabled: recipeBusy,
13138
13214
  onChange: (event) => {
13139
13215
  const next = event.target.value;
@@ -13177,55 +13253,16 @@ function BrowserAgentTab(props) {
13177
13253
  ". ",
13178
13254
  row.label
13179
13255
  ] }),
13180
- row.canParameterize ? paramTarget?.recipeId === recipe.id && paramTarget.index === row.index ? /* @__PURE__ */ (0, import_jsx_runtime28.jsxs)("span", { className: css_module_default.browserAgentRecipeParam, children: [
13181
- /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
13182
- "input",
13183
- {
13184
- className: css_module_default.browserAgentDemoName,
13185
- value: paramName,
13186
- placeholder: t("browserAgentDemoRecipeVarName"),
13187
- "aria-label": t("browserAgentDemoRecipeVarName"),
13188
- disabled: recipeBusy,
13189
- onChange: (event) => {
13190
- setParamName(event.target.value);
13191
- }
13192
- }
13193
- ),
13194
- /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
13195
- "button",
13196
- {
13197
- type: "button",
13198
- className: css_module_default.browserAgentButton,
13199
- disabled: recipeBusy,
13200
- onClick: () => {
13201
- void submitParameter(recipe, row.index);
13202
- },
13203
- children: t("browserAgentDemoRecipeVarConfirm")
13204
- }
13205
- ),
13206
- /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
13207
- "button",
13208
- {
13209
- type: "button",
13210
- className: css_module_default.browserAgentButton,
13211
- disabled: recipeBusy,
13212
- onClick: () => {
13213
- setParamTarget(null);
13214
- },
13215
- children: t("browserAgentDemoRecipeCancel")
13216
- }
13217
- )
13218
- ] }) : /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
13256
+ row.canParameterize ? /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
13219
13257
  "button",
13220
13258
  {
13221
13259
  type: "button",
13222
13260
  className: css_module_default.browserAgentButton,
13223
13261
  disabled: recipeBusy,
13224
13262
  onClick: () => {
13225
- setParamTarget({ recipeId: recipe.id, index: row.index });
13226
- setParamName("");
13263
+ void parameterizeStep(recipe, row.index);
13227
13264
  },
13228
- children: t("browserAgentDemoRecipeSetVar")
13265
+ children: paramBusyIndex === row.index ? t("browserAgentDemoRecipeVarWorking") : t("browserAgentDemoRecipeSetVar")
13229
13266
  }
13230
13267
  ) : null
13231
13268
  ] }, row.index)),