Exclude Capacitor sync output from codebase context#3220
Exclude Capacitor sync output from codebase context#3220riderx wants to merge 1 commit intodyad-sh:mainfrom
Conversation
|
I have read the CLA Document and I hereby sign the CLA You can retrigger this bot by commenting recheck in this Pull Request. Posted by the CLA Assistant Lite bot. |
There was a problem hiding this comment.
Code Review
This pull request introduces a mechanism to exclude Capacitor-generated artifacts from the codebase extraction process to prevent token inflation. It defines specific path prefixes for Android and iOS Capacitor build outputs and implements path normalization and exclusion logic in both native and isomorphic git collection methods. Additionally, a new test suite was added to verify these exclusions. I have no feedback to provide.
Summary
Why
Capacitor sync copies the built web app into native folders like
android/app/src/main/assets/publicandios/App/App/public. Those files are generated artifacts and can drastically inflate token usage in Dyad after mobile syncs.Addresses #1149.
Testing