Commit Graph

191 Commits

Author SHA1 Message Date
Will Chen
cb60a0562b Send request id for LLM engine calls (#659) 2025-07-17 14:16:23 -07:00
Will Chen
2c284d0f20 Allow configuring environmental variables in panel (#626)
- [ ] Add test cases
2025-07-11 10:52:52 -07:00
Will Chen
65b3d9cb3e Fix git migration edge case (#612)
Fixes #608
2025-07-10 10:12:58 -07:00
Will Chen
a1aee5c2b8 Graduate file editing from experimental (#599) 2025-07-08 11:39:46 -07:00
Will Chen
b6fd985d99 Fix OLLAMA_HOST support (#598)
Fixes #411
2025-07-08 11:37:23 -07:00
Will Chen
ab6a9d3b34 Disable auto-update setting & settings page has scroll shortcuts (#590)
Fixes https://github.com/dyad-sh/dyad/issues/561
2025-07-07 15:43:06 -07:00
Will Chen
bc38f9b2d7 Improve check error performance by off-loading to worker thread w/ incremental compilation (#575) 2025-07-07 12:47:33 -07:00
Will Chen
77e39874ad truly disable check problems (#566) 2025-07-03 17:51:37 -07:00
Will Chen
f60a6c4829 Skip auto-fix if there's deps being added (#553) 2025-07-03 10:07:03 -07:00
Will Chen
7d9776243d Remove thinking tags from incremental fixes (#552) 2025-07-03 10:02:34 -07:00
Will Chen
c3362fdaff Normalize app files (#547) 2025-07-02 16:51:26 -07:00
Will Chen
678cd3277e Problems: auto-fix & problem panel (#541)
Test cases:
- [x] create-ts-errors
  - [x] with auto-fix
  - [x] without auto-fix 
- [x] create-unfixable-ts-errors
- [x] manually edit file & click recheck
- [x] fix all
- [x] delete and rename case

THINGS
- [x] error handling for checkProblems isn't working as expected
- [x] make sure it works for both default templates (add tests) 
- [x] fix bad animation
- [x] change file context (prompt/files)

IF everything passes in Windows AND defensive try catch... then enable
by default
- [x] enable auto-fix by default
2025-07-02 15:43:26 -07:00
Will Chen
d5307a7207 Capacitor command fix (#498) 2025-06-25 16:45:49 -07:00
Will Chen
a985a5aadf Ensure fs changes in response processor are within app dir (#496) 2025-06-25 16:13:10 -07:00
Will Chen
2ea9500f73 Configurable thinking budget (default to medium) (#494) 2025-06-25 15:36:05 -07:00
Will Chen
52aebae903 Fix order of dyad tag processing (#495)
Fixes #493
2025-06-25 15:34:11 -07:00
Will Chen
ed4ec1ef58 Optimize summarization (#487)
Fixes #435
2025-06-24 21:01:09 -07:00
Will Chen
47f3ec460a Add Capacitor support (#483)
Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>
2025-06-24 14:35:05 -07:00
Will Chen
5d678c2ead Smart auto (#476) 2025-06-23 23:08:29 -07:00
Will Chen
3041563809 Finish incomplete dyad write (#475)
Fixes #452 
Fixes #456 
Fixes #195
2025-06-23 22:53:55 -07:00
Will Chen
2f00dc5955 Add more logging around git commit failure (#467)
Help with #464

Co-authored-by: William Chen <will@mac.lan>
2025-06-23 13:11:28 -07:00
Will Chen
c879a4e01d always use engine if pro modes are enabled (#449) 2025-06-19 12:04:24 -07:00
Will Chen
9fbd7031d9 build ask mode (#444) 2025-06-19 10:42:51 -07:00
Will Chen
8464609ba8 Fix parsing dyad tags with nested tags: < > (#445)
Fixes #441
2025-06-19 10:08:26 -07:00
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 Chen
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
5694934183 Lower o3/o4 mini max output tokens to maximize input tokens (#424) 2025-06-17 10:31:24 -07:00
Will Chen
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
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
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
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
34ea593928 Fix bug with copy app (#371)
Fixes #361
2025-06-09 14:58:55 -07:00
Will Chen
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 Chen
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
d3fbb48472 Copy app (#349)
Fixes #12
2025-06-05 22:26:17 -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
3558663ab7 Support native Git (experimental) (#338) 2025-06-04 21:37:05 -07:00