Repository navigation
Fix LM Studio wizard prompter binding - #90429
Conversation
|
Codex review: needs maintainer review before merge. Reviewed June 7, 2026, 3:25 AM ET / 07:25 UTC. Summary PR surface: Source +2, Tests +85. Total +87 across 2 files. Reproducibility: yes. by source inspection: current main extracts Review metrics: none identified. Merge readiness Overall follows the weaker of proof and patch quality, so missing proof can cap an otherwise strong patch. Risk before merge
Maintainer options:
Next step before merge
Security Review detailsBest possible solution: Land this narrow provider-local fix after maintainer review, then handle Windows gateway release or LKG consumption in the downstream Windows rollout path. Do we have a high-confidence way to reproduce the issue? Yes by source inspection: current main extracts Is this the best way to solve the issue? Yes; binding only the extracted LM Studio callbacks is the narrowest maintainable fix because fallback callback callers are preserved and direct AGENTS.md: found and applied where relevant. Codex review notes: model gpt-5.5, reasoning high; reviewed against ab33fe33d1e0. Label changesLabel changes:
Label justifications:
Evidence reviewedPR surface: Source +2, Tests +85. Total +87 across 2 files. View PR surface stats
What I checked:
Likely related people:
What the crustacean ranks mean
Shiny media proof means a screenshot, video, or linked artifact directly shows the changed behavior. Runtime, network, CSP, and security claims still need visible diagnostics. How this review workflow works
|
Screen.Recording.2026-06-04.133056.mp4 |
|
Nice narrow fix. I especially like that you covered both One tiny follow-up thought: if we expect other provider setup flows to keep destructuring class-backed prompter methods, it may be worth adding a small shared helper (or even a short comment near the binding) so this receiver-preservation pattern doesn't have to be rediscovered elsewhere. Not blocking here — just a maintainability note. |
Bind LM Studio setup prompter methods before storing them as callbacks so the gateway wizard class prompter keeps its receiver. Co-authored-by: Copilot <[email protected]>
ce56acf to
8887707
Compare
|
Maintainer verification for rebased head 8887707. Reviewed current behavior and owner boundary: LM Studio setup extracts Local proof:
Real behavior proof: contributor supplied Windows setup wizard video proof showing More... -> LM Studio advancing to the LM Studio base URL step after the fix. I also verified the code path locally by source inspection against the class-backed CI: Not tested by me: a fresh Windows GUI run; I relied on the supplied video proof plus local regression/unit proof for the provider setup path. |
Summary
textandnoteclass-method prompter paths.Real behavior proof
2026.5.28withTypeError: Cannot read properties of undefined (reading 'prompt').openclaw-windows-nodesetup UI against a localOpenClawGatewayWSL gateway. The installed gateway bundle was patched with this PR's LM Studio prompter binding change for B-side validation.openclaw-gateway.service, launched the Windows setup wizard, selected More… → LM Studio, and reran the headless LM Studio provider probe.LM Studio base URLstep instead of throwing the prompt TypeError.Verification
pnpm buildpnpm test extensions/lmstudio/src/setup.test.ts— 38 passedpnpm exec oxfmt --check --threads=1 extensions/lmstudio/src/setup.ts extensions/lmstudio/src/setup.test.tspnpm lint:extensionsnotebinding coverage; this PR now includes that regression test.Notes
pnpm check:changedcould not run locally because the Crabbox/Testbox wrapper failed its local binary sanity check before starting the remote check.