976e065fe5c02f8ca7b91c0495a9adcc6e868262
This allows us to identify which Dyad Pro user filed an issue on GitHub by using a partial internal identifier <!-- CURSOR_SUMMARY --> --- > [!NOTE] > Adds a redacted Dyad Pro user ID (last 4 chars) to bug report/session templates, sourced from the Pro user info endpoint and exposed via user budget info. > > - **Frontend (HelpDialog)**: > - Display `Pro User ID` in prefilled bug report and session report bodies using `userBudget.redactedUserId`. > - Consume `useUserBudgetInfo` to access `userBudget`. > - **IPC/Backend**: > - `get-user-budget`: derive `redactedUserId` from `user_info.user_id` (mask all but last 4 chars); include in test mock and response. > - **Types**: > - Extend `UserBudgetInfoSchema` with `redactedUserId: string`. > > <sup>Written by [Cursor Bugbot](https://cursor.com/dashboard?tab=bugbot) for commit 1883a1ef94fec25b370df3d46054fb56d659dee8. This will update automatically on new commits. Configure [here](https://cursor.com/dashboard?tab=bugbot).</sup> <!-- /CURSOR_SUMMARY --> <!-- This is an auto-generated description by cubic. --> --- ## Summary by cubic Adds a redacted Dyad Pro user ID (last 4 chars) to bug report templates to help correlate GitHub issues with Pro accounts while protecting privacy. - **New Features** - Derives redactedUserId from user_info.user_id in the Pro IPC handler and adds it to UserBudgetInfo. - Shows “Pro User ID” in HelpDialog’s debug info and session details. - Extends UserBudgetInfo schema with a redactedUserId field. <sup>Written for commit 1883a1ef94fec25b370df3d46054fb56d659dee8. Summary will update automatically on new commits.</sup> <!-- End of auto-generated description by cubic. -->
Dyad
Dyad is a local, open-source AI app builder. It's fast, private, and fully under your control — like Lovable, v0, or Bolt, but running right on your machine.
More info at: https://dyad.sh/
🚀 Features
- ⚡️ Local: Fast, private and no lock-in.
- 🛠 Bring your own keys: Use your own AI API keys — no vendor lock-in.
- 🖥️ Cross-platform: Easy to run on Mac or Windows.
📦 Download
No sign-up required. Just download and go.
👉 Download for your platform
🤝 Community
Join our growing community of AI app builders on Reddit: r/dyadbuilders - share your projects and get help from the community!
🛠️ Contributing
Dyad is open-source (Apache 2.0 licensed).
If you're interested in contributing to dyad, please read our contributing doc.
License
- All the code in this repo outside of
src/prois open-source and licensed under Apache 2.0 - see LICENSE. - All the code in this repo within
src/prois fair-source and licensed under Functional Source License 1.1 Apache 2.0 - see LICENSE.
Description
Languages
TypeScript
97.6%
JavaScript
1.4%
CSS
0.5%
Shell
0.4%