Commit Graph
498 Commits
Author SHA1 Message Date
Will Chen b4d5f211f7 Do not commit if only execute SQL queries (#446)
Fixes #438
2025-06-19 09:21:37 -07:00
Will Chen 897d2e522c enable engine for all models (#434) 2025-06-18 17:17:29 -07:00
Will Chen e326f14779 Revert "Revert "Update gemini 2.5 models to GA variants (#425)" (#429)" (#437)
This reverts commit ff4e93d747.
2025-06-18 17:11:17 -07:00
Will Chen 5a35c427ba Add R1 (#436) 2025-06-18 12:34:52 -07:00
Will Chenandgraphite-app[bot] bd809a010d GitHub workflows (#428)
Fixes #348 
Fixes #274 
Fixes #149 

- Connect to existing repos
- Push to other branches on GitHub besides main
- Allows force push (with confirmation) dialog

---------

Co-authored-by: graphite-app[bot] <96075541+graphite-app[bot]@users.noreply.github.com>
2025-06-17 16:59:26 -07:00
Will Chen 382fe9bab5 support setting for writing supabase migration files (#427) 2025-06-17 15:14:02 -07:00
Will Chen ff4e93d747 Revert "Update gemini 2.5 models to GA variants (#425)" (#429)
This reverts commit d69284e3b0.
2025-06-17 12:57:43 -07:00
Will Chen 18843e1a2f Hide model fallbacks in error message (remove clutter for Pro) (#426) 2025-06-17 12:48:32 -07:00
Will Chen 5694934183 Lower o3/o4 mini max output tokens to maximize input tokens (#424) 2025-06-17 10:31:24 -07:00
Will Chenandgraphite-app[bot] d69284e3b0 Update gemini 2.5 models to GA variants (#425)
Co-authored-by: graphite-app[bot] <96075541+graphite-app[bot]@users.noreply.github.com>
2025-06-17 10:24:54 -07:00
Will Chen 2fc33d04c1 Make delete app better handled & revamp error toast (#422)
Fixes #395 
Fixes #270 
Fixes #268
2025-06-16 23:36:43 -07:00
Will Chen df38fb0f80 Graceful deeplink return (#423)
Fixes #393
2025-06-16 23:18:53 -07:00
Will Chen f25f6c7631 debounce GitHub repo name check & show create repo error details (#418)
Fixes #366
2025-06-16 23:18:11 -07:00
Will Chen d6d6918d1b Safe send (#421) 2025-06-16 21:58:20 -07:00
Will Chen 30b5c0d0ef Replace thinking with native Gemini thinking summaries (#400)
This uses Gemini's native [thinking
summaries](https://cloud.google.com/vertex-ai/generative-ai/docs/thinking#thought-summaries)
which were recently added to the API.

Why? The grafted thinking would sometimes cause weird issues where the
model, especially Gemini 2.5 Flash, got confused and put dyad tags like
`<dyad-write>` inside the `<think>` tags.

This also improves the UX because you can see the native thoughts rather
than having the Gemini response load for a while without any feedback.

I tried adding Anthropic extended thinking, however it requires temp to
be set at 1, which isn't ideal for Dyad's use case where we need precise
syntax following.
2025-06-16 17:29:32 -07:00
Will Chen 3a6ab12bed Rotate messages in promo banner (show tips) (#420) 2025-06-16 17:11:02 -07:00
Will Chen 8abb399168 Show link to GitHub docs on error (#416) 2025-06-16 14:26:24 -07:00
Will Chen f9eb14d25f Better supabase error message (#415) 2025-06-16 14:25:05 -07:00
Will Chen 67dc9f4c42 Print engine/gateway URL more clearly (#396) 2025-06-13 10:05:12 -07:00
Will Chen 99e6592abc commit upgrade (#391) 2025-06-11 15:42:10 -07:00
Will Chen 007e0b2f22 Add pb-2 to HomeChatInput (#389) 2025-06-11 15:23:16 -07:00
Will Chen b044acb61f Polish chat input UX (#388) 2025-06-11 14:39:55 -07:00
Will Chen c1aa6803ce Click to edit UI (#385)
- [x] add e2e test - happy case (make sure it clears selection and next
prompt is empty, and preview is cleared); de-selection case
- [x] shim - old & new file
- [x] upgrade path
- [x] add docs
- [x] add try-catch to parser script
- [x] make it work for next.js
- [x] extract npm package
- [x] make sure plugin doesn't apply in prod
2025-06-11 13:05:27 -07:00
Will Chen fa80014e16 Remove budget saver mode (#378)
This code was quite complex and hairy and resulted in very opaque errors
(for both free and pro users). There's not much benefit to budget saver
because Google removed 2.5 Pro free quota a while ago (after it
graduated the model from experimental to preview). Dyad Pro users can
still use 2.5 Flash free quota by disabling Dyad Pro by clicking on the
Dyad Pro button at the top.
2025-06-10 13:54:27 -07:00
Will Chen 534cbad909 Allow manual context management (#376) 2025-06-10 13:52:20 -07:00
Will Chen 66f1bf2077 Update system prompt to avoid mixed-case directories (#374)
#347
2025-06-09 17:32:01 -07:00
Will Chen b3f1802924 Finetune model picker UI (#375) 2025-06-09 16:10:19 -07:00
Will Chen ac98a52ab1 Fix unit test & run in CI (#372) 2025-06-09 15:23:10 -07:00
Will Chen 34ea593928 Fix bug with copy app (#371)
Fixes #361
2025-06-09 14:58:55 -07:00
Will Chenandgraphite-app[bot] c2696cf1f9 Better error logs when reporting bug/uploading chat session (#370)
Co-authored-by: graphite-app[bot] <96075541+graphite-app[bot]@users.noreply.github.com>
2025-06-09 14:56:22 -07:00
Will Chen 8d9962ddfc do not show release notes under e2e tests (#369) 2025-06-09 14:16:50 -07:00
Will Chen ddce3c65d3 Lower max tokens for anthropic (#367) 2025-06-09 13:44:13 -07:00
Will Chenandcubic-dev-ai[bot] 1a39238ecf Use max retries 3 when there's no backup clients (#339)
Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>
2025-06-09 13:43:54 -07:00
Will Chen 91cfbbe36e Fix supabase prompt (#355) 2025-06-06 14:16:54 -07:00
Will Chen 4907fcafd8 E2E test for fixing errors (#351) 2025-06-05 23:29:52 -07:00
Will Chen d3fbb48472 Copy app (#349)
Fixes #12
2025-06-05 22:26:17 -07:00
Will Chen 6a8c90a15b Update system prompt to reduce Dyad hallucinating imports (#344)
Fixes #342
2025-06-05 16:55:46 -07:00
Will Chen 0123e68dda Instrument extra files warning (#345)
https://github.com/dyad-sh/dyad/issues/244
2025-06-05 15:24:31 -07:00
Will Chen 16bf0828f5 Fix stale app UI (supabase) & overall E2E test infra improvements (#337)
Fixes #269
2025-06-04 23:07:59 -07:00
Will Chen 7f410ce830 Better supabase error message (#336)
Fixes #287
2025-06-04 22:22:00 -07:00
Will Chen 3558663ab7 Support native Git (experimental) (#338) 2025-06-04 21:37:05 -07:00
Will Chen 2ba22e83e7 dyad pro users who disable it shouldn't see nudge messages (#330)
Fixes #272
2025-06-03 23:58:34 -07:00
Will Chen 9d1a0f7ad7 pro: show remaining credits (#329)
Fixes #265
2025-06-03 23:46:35 -07:00
Will Chen 0f4e532206 Clean package.json & rebaseline snapshots (#328) 2025-06-03 23:28:06 -07:00
Will Chenandcubic-dev-ai[bot] e060f780b9 Use npm install --legacy-peer-deps (#326)
Fixes #309 

Unfortunately a lot of React.js apps have this problem with peer deps
because older dependencies specify pre-v19. Because Dyad app templates
do (and should) explicitly specify React as a dependnecy, using
`--legacy-peer-deps` gives us the right behavior where it effectively
does not install peer deps and avoids the React version errors.

For pnpm, we have an explicit lockfiles for our templates so there isn't
an issue.

Context:
https://stackoverflow.com/questions/66239691/what-does-npm-install-legacy-peer-deps-do-exactly-when-is-it-recommended-wh

---------

Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>
2025-06-03 22:26:39 -07:00
Will Chen b8f7490288 Stabilize E2E test by alphabetically sorting files for context (#321) 2025-06-03 17:58:59 -07:00
Will Chen fc1ebe9e8a e2e tests for engine (#322) 2025-06-03 16:11:16 -07:00
Will Chen 7235eab227 Make CI run cross-platform (#295) 2025-06-03 13:04:16 -07:00
Will Chen 5802c39825 Rename app E2E (#315) 2025-06-02 22:46:35 -07:00
Will Chenandcubic-dev-ai[bot] 1dde72e776 Delete app E2E (#313)
Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>
2025-06-02 22:06:21 -07:00