Skip to content

Improve Electron and Windows embedding support#3362

Open
kgarg2468 wants to merge 1 commit into
jo-inc:masterfrom
kgarg2468:kgarg/electron-windows-click-support
Open

Improve Electron and Windows embedding support#3362
kgarg2468 wants to merge 1 commit into
jo-inc:masterfrom
kgarg2468:kgarg/electron-windows-click-support

Conversation

@kgarg2468
Copy link
Copy Markdown

Summary

  • import server plugins via pathToFileURL(...).href, which fixes dynamic import() on Windows filesystem paths
  • add raw viewport coordinate clicks (x/y) to /tabs/:tabId/click for cross-origin iframe cases such as Turnstile
  • expose coordinate click fields through the OpenClaw tool schema and OpenAPI spec

Addresses two self-contained items from #3348.

Testing

  • npm run build (existing TypeScript errors remain, script still succeeds by design and copies plugin.js)
  • NODE_OPTIONS='--experimental-vm-modules' npx jest --runInBand --forceExit tests/unit/plugins.test.js tests/unit/openapi.test.js tests/unit/screenshotToolResult.test.js
  • npm rebuild better-sqlite3 && NODE_OPTIONS='--experimental-vm-modules' npx jest --config jest.config.e2e.cjs --runInBand --forceExit tests/e2e/formSubmission.test.js

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant