Commit Graph

105 Commits

Author SHA1 Message Date
Will Chen
f4c7d614bd Escape dyad tags inside thinking blocks (#229) 2025-05-22 16:06:28 -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
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
59c18c3859 Extract AI rules (#188) 2025-05-17 23:04:48 -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
f9f33596bd Smart files context (#184) 2025-05-16 22:21:45 -07:00
Will Chen
56900ebe9a More robust check of whether release notes exist (#175) 2025-05-15 16:45:46 -07:00
Will Chen
35b459d82d Support turbo edits (pro) (#166) 2025-05-14 23:35:50 -07:00
Will Chen
4863a3861c Fix JSON.stringify log (#158) 2025-05-13 16:05:09 -07:00
Will Chen
069c221292 Implement saver mode (#154) 2025-05-13 15:34:41 -07:00
Will Chen
14d9a12464 Max chat turns settings (default to 5) (#152) 2025-05-13 11:51:44 -07:00
Will Chen
877c8f7f4f Simplify provider logic and migrate getContextWindow (#142) 2025-05-12 22:18:49 -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
Will Chen
477015b43d allow creating and listing custom language model (#134) 2025-05-12 16:00:16 -07:00
Will Chen
642895f0ba Allow creating custom providers (#132) 2025-05-12 15:04:42 -07:00
Will Chen
cd7eaa8ece Prep for custom models: support reading custom providers (#131) 2025-05-12 14:52:48 -07:00
Will Chen
c71638a508 Simplify handlers & IPC client: move from Result pattern to throwing errors (#120) 2025-05-09 15:14:12 -07:00
Will Chen
b2eb05a1bc Simplify error handling for IPC handlers (#119) 2025-05-08 23:47:05 -07:00
Will Chen
c203b1d009 make checkout version and revert version fit pattern (#118) 2025-05-08 23:23:24 -07:00
Will Chen
b6eeaab1bb migrate current branch to query pattern (#116) 2025-05-08 22:23:00 -07:00
Will Chen
2537fbb342 lint using oxlint (#106) 2025-05-08 17:21:35 -07:00
Will Chen
0d56651220 Run prettier on everything (#104) 2025-05-06 23:02:28 -07:00
Will Chen
fddc227b4a Add workflow scope for github (#101) 2025-05-06 13:00:47 -07:00
Will Chen
45b1738f03 check supabase token before retrieving context (#99) 2025-05-06 12:54:28 -07:00
Will Chen
939c7db2ec make sure supabase is configured before retrieiving supabase app info (#97) 2025-05-06 12:26:38 -07:00
Will Chen
20362d7b08 Fix undo and redo by using initial commit hash for chat (#94) 2025-05-06 12:15:42 -07:00
Will Chen
c425daf893 Show warning if there's uncommitted changes (#92) 2025-05-06 11:07:31 -07:00
Will Chen
43ec6a4563 Add warning banner if user is not on main branch (#91) 2025-05-06 11:06:27 -07:00
Will Chen
1fcb58a141 Refactor version handlers (#90)
refactor version handlers
2025-05-06 10:16:09 -07:00
Will Chen
a720e0073d Max versions shown (#83) 2025-05-05 14:29:06 -07:00
Will Chen
ac8ef73bee Support image/file attachments (#80) 2025-05-05 12:38:09 -07:00
Will Chen
4e4bf51bba Delete chat (#77) 2025-05-02 15:43:40 -07:00
Will Chen
b9dc2cc0f9 Undo button (#76) 2025-05-02 15:35:39 -07:00
Will Chen
46cb7ca577 redo reverts code (when possible) (#75) 2025-05-02 14:55:46 -07:00
Piotr Wilkin (ilintar)
5fc49231ee Add LM Studio support (#22) 2025-05-02 14:51:32 -07:00
Will Chen
3529627172 Undo chat history (#74) 2025-05-02 13:47:59 -07:00
Will Chen
1bbfedc668 Provide suggestions for running commands (restart/refresh/rebuild) (#62) 2025-05-01 21:44:51 -07:00
Will Chen
19d1e89029 Create Upload Chat Session help feature (#48) 2025-04-29 15:36:32 -07:00
Will Chen
a53d72701b provide a way to disconnect github repo (#47) 2025-04-29 12:12:47 -07:00
Will Chen
a33e6c6ae3 Custom window controls (#46) 2025-04-29 11:41:40 -07:00
Will Chen
672bd790fa Add heuristic to suggest fix code output (#45)
Add heuristic to fix code output
2025-04-29 11:34:21 -07:00
Will Chen
674dc6aeb0 Provide a way to open app folder in finder (#42) 2025-04-28 22:57:13 -07:00