[GH-ISSUE #25] M001/S03/T03: Add P011 (Generation.js BYOK detection → IPC routing) and update test-patches.js counts to 11 entries #24

Open
opened 2026-06-04 14:29:27 -04:00 by yindo · 0 comments
Owner

Originally created by @BillyOutlast on GitHub (May 17, 2026).
Original GitHub issue: https://github.com/Heretek-AI/GDevelop-BYOK/issues/25

T03: Add P011 (Generation.js BYOK detection → IPC routing) and update test-patches.js counts to 11 entries

Why: P011 intercepts AI requests in Generation.js when the BYOK preset is active, routing them through the IPC bridge (window.byokAi.request()) instead of making HTTP API calls. This is the behavioral change that makes BYOK work end-to-end. test-patches.js needs its entry counts updated from 9→11 to match the new manifest size.

Files

  • patch/manifest.json
  • scripts/test-patches.js

Verification

  • node scripts/restore-fixtures.js && node scripts/patch.js --repo test/fixtures --strict && node scripts/test-patches.js && node --test "test/unit/.test.js" "test/integration/.test.js"
Originally created by @BillyOutlast on GitHub (May 17, 2026). Original GitHub issue: https://github.com/Heretek-AI/GDevelop-BYOK/issues/25 ## T03: Add P011 (Generation.js BYOK detection → IPC routing) and update test-patches.js counts to 11 entries Why: P011 intercepts AI requests in Generation.js when the BYOK preset is active, routing them through the IPC bridge (`window.byokAi.request()`) instead of making HTTP API calls. This is the behavioral change that makes BYOK work end-to-end. test-patches.js needs its entry counts updated from 9→11 to match the new manifest size. ### Files - `patch/manifest.json` - `scripts/test-patches.js` ### Verification - [ ] node scripts/restore-fixtures.js && node scripts/patch.js --repo test/fixtures --strict && node scripts/test-patches.js && node --test "test/unit/*.test.js" "test/integration/*.test.js"
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Heretek-AI/GDevelop-BYOK#24