You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
v0.2.4: --headed flag actually works on browser-driving subcommands; dismiss new "Skip intro" overlay
Two bug reports from a first-time user, both confirmed and fixed:
#1 (Commander option resolution)
`--headed` had no effect on `submit`, `resume`, `fetch`, `loop`. The
flag was defined on each subcommand without a default, so
`opts.headed` resolved to `undefined` (falsy) and the browser
always launched headless regardless of CLI intent. The wizard
itself was unaffected because the program-level `--headed` had a
`true` default. Fixed by giving each browser-driving subcommand
the same `--headed (default: true)` + `--no-headed` pattern as the
program level. So `pnpm design submit <id>` now launches headed
by default; `--no-headed` flips for CI / smoke tests. Verified
via a Commander parser smoke test before shipping.
#2 (Live UI regression)
`fillNewProject` timed out clicking the Create button on first
project creation per session. claude.ai/design started shipping a
"Skip intro" onboarding overlay that intercepts pointer events on
the form behind it. Added `dismissOnboardingOverlay()` at the
start of `fillNewProject` — best-effort 1.5s wait, click if
visible, silently fall through if not. Tries multiple locators
("Skip intro", "Skip", text fallback) so a future copy rotation
doesn't silently regress us. Once dismissed, the persistent
profile never sees it again; on subsequent runs the dismissal is
a silent no-op.
Co-authored-by: Cursor <cursoragent@cursor.com>
Copy file name to clipboardExpand all lines: package.json
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
{
2
2
"name": "@ekolabs/claude-design-loop",
3
-
"version": "0.2.3",
3
+
"version": "0.2.4",
4
4
"description": "Round-trip design loop between your IDE and claude.ai/design. Capture a route, send a brief, iterate visually with Claude, fetch the handoff bundle, translate it into framework-native scaffolds, and verify the result.",
Copy file name to clipboardExpand all lines: src/cli.ts
+9-5Lines changed: 9 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -67,7 +67,7 @@ const program = new Command();
67
67
program
68
68
.name('design-loop')
69
69
.description('Round-trip design loop between your IDE and claude.ai/design')
70
-
.version('0.2.3');
70
+
.version('0.2.4');
71
71
72
72
// Default action: when no subcommand is supplied, drop into the wizard.
73
73
program
@@ -106,7 +106,8 @@ program
106
106
'Drive claude.ai/design end-to-end for an existing loop: open project, attach screenshots, send brief, wait for the first design pass, then hand control to an interactive terminal prompt for review/iterate/fetch.',
107
107
)
108
108
.argument('<loopId>','loop id (the directory name under design-loops/)')
109
-
.option('--headed','show the browser window (recommended for review)')
109
+
.option('--headed','show the browser window (recommended for review)',true)
110
+
.option('--no-headed','run the browser headless (CI / quick smoke tests)')
0 commit comments