@broberg/lens-daemon 0.1.29 → 0.1.30

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/package.json +1 -1
  2. package/src/flow.ts +2 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@broberg/lens-daemon",
3
- "version": "0.1.29",
3
+ "version": "0.1.30",
4
4
  "description": "The Lens module of the cardmem daemon (flows, critic, coverage, capture sessions, the /lens/* routes and the cardmem-lens MCP) as a package. The daemon mounts createLensRouter(deps) + createLensMcpRouter(deps). Bun runtime.",
5
5
  "type": "module",
6
6
  "license": "MIT",
package/src/flow.ts CHANGED
@@ -2856,7 +2856,8 @@ export async function runFlow(flow: Flow, env: AuthEnv, opts: RunFlowOptions = {
2856
2856
  // ── leaf step ──
2857
2857
  const i = idx;
2858
2858
  idx += 1;
2859
- const label = step.label ?? describe(bindSelectorVars(step, vars));
2859
+ // F009.134 — a loop row reaches the label too («mockup-{{s}}» stayed literal).
2860
+ const label = step.label != null ? subst(step.label, vars) : describe(bindSelectorVars(step, vars));
2860
2861
  // F009.122 — which browser this step runs in. `sp` is the page every line
2861
2862
  // below acts on; the loop's own `page` is the default browser.
2862
2863
  const browserName = (step as { browser?: string }).browser ?? 'main';