Commit Graph

430 Commits

Author SHA1 Message Date
Will Chen
b520f7d97c turbo edits promo message (#218) 2025-05-21 15:30:41 -07:00
Will Chen
b3fa56288e Token bar promo message (#217) 2025-05-21 15:24:43 -07:00
Will Chen
618fed8523 Show promo messages for relevant AI errors (#216) 2025-05-21 15:23:51 -07:00
Will Chen
96153f29bb Deprecate pro budget in app since it's not accurate (#210) 2025-05-20 21:51:34 -07:00
Will Chen
be8252c130 Skip AI rules generation if it already exists upon import (#204) 2025-05-19 22:42:02 -07:00
Will Chen
4d2b4783bc Fix scaffold copy and better error handling for create app (#202)
I was over-eager in https://github.com/dyad-sh/dyad/pull/200 and removed
copyDirectoryRecursive which is actually needed to copy the scaffold
out.
2025-05-19 17:58:49 -07:00
Will Chen
b4b9556e2c Add a keep going suggestion (#201) 2025-05-19 15:38:33 -07:00
Will Chen
68cb6b3d7d Robust app folder rename (#200)
Fixes #89
2025-05-19 14:59:55 -07:00
Will Chen
cbfe26bac1 Rename branch (#199)
This is more important now that import app is available and not every
git repo will be initialized with `main` as the default branch. This
handles the other common case which is the `master` branch.
2025-05-19 14:41:18 -07:00
Will Chen
bc8166c274 Fix proxy server injection for gzip content (#190)
Some dev servers like next.js use Gzip which breaks our content
injection so we avoid getting gzipped response when we need to do the
shim injection.
2025-05-19 14:11:55 -07:00
Will Chen
6e08bc5c62 Import app (#189)
Fixes #163
2025-05-19 14:03:10 -07:00
Will Chen
b5671c0a59 Auto-commit extra files (#197)
Whenever Dyad does a commit from a proposal, it will automatically amend
the commit with outside changes (e.g. made outside of Dyad).

This helps avoid a lot of user confusion, e.g.
https://github.com/dyad-sh/dyad/issues/187

https://www.reddit.com/r/dyadbuilders/comments/1kjysc0/error_pushing_images/

Edge cases:
If a user adds a file outside of Dyad, and then they hit retry, it will
revert these outside changes, but it's still technically in the version
history, so I think it's OK. This should also be a pretty unusual
situation.

Fixes #164 
Fixes #187
2025-05-19 13:42:27 -07:00
Will Chen
648724b4e9 Fix #186 by only fetching normal functions for supabase context (#194)
Fixes #186, #168.
2025-05-19 11:48:33 -07:00
Will Chen
59c18c3859 Extract AI rules (#188) 2025-05-17 23:04:48 -07:00
Will Chen
38535bea46 Bump to v0.6.0 (#185) 2025-05-16 23:29:33 -07:00
Will Chen
5966dd7f4b Proxy server to inject shim (#178)
things to test:

- [x] allow real URL to open in new window
- [x] packaging in electron?
- [ ] does it work on windows?
- [x] make sure it works with older apps
- [x] what about cache / reuse? - maybe use a bigger range of ports??
2025-05-16 23:28:26 -07:00
Will Chen
63e41454c7 Explicit thinking (#183) 2025-05-16 22:35:08 -07:00
Will Chen
f9f33596bd Smart files context (#184) 2025-05-16 22:21:45 -07:00
Will Chen
2455c554ee Add sonnet 3.5 (#182) 2025-05-16 11:06:43 -07:00
Will Chen
92fb4f9b27 useful utility for debugging raw LLM response (#181)
Co-authored-by: graphite-app[bot] <96075541+graphite-app[bot]@users.noreply.github.com>
2025-05-16 11:06:27 -07:00
Will Chen
9a288fd82e Fix local models (#176)
Fixes #167
2025-05-15 16:46:29 -07:00
Will Chen
56900ebe9a More robust check of whether release notes exist (#175) 2025-05-15 16:45:46 -07:00
Will Chen
7bcb68e87d Fix model client gateway prefix check (openAI erroneously not using dyad gateway for dyad pro) (#174) 2025-05-15 16:31:52 -07:00
Will Chen
0798438621 Add loading indicator for in-progress message & fix bug with multiple loaders (#173) 2025-05-15 16:12:46 -07:00
Will Chen
09fc028f94 Mark which models are eligible for turbo edits (#172) 2025-05-15 16:02:42 -07:00
Will Chen
16e1dd7fc4 Add Claude Haiku 3.5 (#171) 2025-05-15 15:41:14 -07:00
Will Chen
bbf4bb765c Allow overriding gateway URL (#169) 2025-05-15 15:09:45 -07:00
Will Chen
35b459d82d Support turbo edits (pro) (#166) 2025-05-14 23:35:50 -07:00
Will Chen
d545babb63 Quick fix for Google models (#160) 2025-05-13 22:21:27 -07:00
Will Chen
4863a3861c Fix JSON.stringify log (#158) 2025-05-13 16:05:09 -07:00
Will Chen
763757b235 Disable chat input suggested actions during streaming (#157) 2025-05-13 15:44:34 -07:00
Will Chen
4661012390 Do not allow custom models for (dyad/auto) & drive-by: key improvement (#156) 2025-05-13 15:42:01 -07:00
Will Chen
069c221292 Implement saver mode (#154) 2025-05-13 15:34:41 -07:00
Will Chen
3763423dc7 Pro mode selector: saver mode (#153) 2025-05-13 12:24:32 -07:00
Will Chen
14d9a12464 Max chat turns settings (default to 5) (#152) 2025-05-13 11:51:44 -07:00
Will Chen
d1a6b06fd5 Polish settings page (#151) 2025-05-13 10:54:12 -07:00
Will Chen
6b4620ca98 Pin to ubuntu v22.04 for linux release (#150) 2025-05-12 23:34:03 -07:00
Will Chen
1f16faf3ab Bump to v0.5.0 2025-05-12 23:32:30 -07:00
Will Chen
ee5865dcf8 Precise custom model selection & simplify language model/provider log… (#147)
…ic (no merging)
2025-05-12 23:24:39 -07:00
Will Chen
b45dff3862 Inline model picker props (#146) 2025-05-12 23:07:36 -07:00
Will Chen
843a097e82 Fix model picker UX (#145) 2025-05-12 22:41:53 -07:00
Will Chen
d1027622b4 Loosen provider type to a string (#144) 2025-05-12 22:29:36 -07:00
Will Chen
f628c81f4c Refactor constants/models and inline (#143) 2025-05-12 22:20:16 -07:00
Will Chen
877c8f7f4f Simplify provider logic and migrate getContextWindow (#142) 2025-05-12 22:18:49 -07:00
Will Chen
11ba46db38 Update model picker to group language models by providers (from IPC) (#141) 2025-05-12 22:06:41 -07:00
Will Chen
0dc4d6c617 fix ipc naming for get system platform (#140) 2025-05-12 21:57:49 -07:00
Will Chen
993c5417e3 Fix DB schemas (#138) 2025-05-12 21:51:08 -07:00
Will Chen
f5a6a1abca Delete custom provider (#137) 2025-05-12 17:31:03 -07:00
Will Chen
ea9301c771 Support delete custom model (#136) 2025-05-12 16:37:39 -07:00
Will Chen
e115074937 Fix DB schema (#135) 2025-05-12 16:12:36 -07:00