Commit Graph

63 Commits

Author SHA1 Message Date
Will Chen
9869fefbcb Support dyad docker (#674)
TODOs:
- [ ] clean-up docker images

https://claude.ai/chat/13b2c5d3-0d46-49e3-a771-d10edf1e29f4
2025-08-26 11:07:40 -07:00
Will Chen
4e9a927a7b smart context v3 (#1022)
<!-- This is an auto-generated description by cubic. -->

## Summary by cubic
Adds Smart Context v3 with selectable modes (Off, Conservative,
Balanced) and surfaces token savings in chat. Also improves token
estimation by counting per-file tokens when Smart Context is enabled.

- **New Features**
- Smart Context selector in Pro settings with three options.
Conservative is the default when enabled without an explicit choice.
- New setting: proSmartContextOption ("balanced"); undefined implies
Conservative.
- Engine now receives enable_smart_files_context and smart_context_mode.
- Chat shows a DyadTokenSavings card when the message contains
token-savings?original-tokens=...&smart-context-tokens=..., with percent
saved and a tooltip for exact tokens.
- Token estimation uses extracted file contents for accuracy when Pro +
Smart Context is on; otherwise falls back to formatted codebase output.

<!-- End of auto-generated description by cubic. -->
2025-08-20 14:16:07 -07:00
Will Chen
5db0b04400 Support exclude paths in manual context management (#774) 2025-08-05 14:33:39 -07:00
Will Chen
b0f08eaf15 Neon / portal template support (#713)
TODOs:
- [x] Do restart when checkout / restore if there is a DB
- [x] List all branches (branch id, name, date)
- [x] Allow checking out versions with no DB
- [x] safeguard to never delete main branches
- [x] create app hook for neon template
- [x] weird UX with connector on configure panel
- [x] tiny neon logo in connector
- [x] deploy to vercel
- [x] build forgot password page
- [x] what about email setup
- [x] lots of imgix errors
- [x] edit file - db snapshot
- [x] DYAD_DISABLE_DB_PUSH
- [ ] update portal doc
- [x] switch preview branch to be read-only endpoint
- [x] disable supabase sys prompt if neon is enabled
- [ ] https://payloadcms.com/docs/upload/storage-adapters
- [x] need to use main branch...

Phase 2?
- [x] generate DB migrations
2025-08-04 16:36:09 -07:00
Will Chen
e947eede7a community templates (#691) 2025-07-23 10:11:16 -07:00
Will Chen
444397ea86 Create Publish panel to easy GitHub and Vercel push (#655) 2025-07-17 15:54:08 -07:00
Will Chen
a1aee5c2b8 Graduate file editing from experimental (#599) 2025-07-08 11:39:46 -07:00
Will Chen
a93536386b Support Beta release channel (#591) 2025-07-07 17:15:02 -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
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
52205be9db Allow toggling pro in pro mode selector (#539)
Fixes #512
2025-07-01 13:06:46 -07:00
Will Chen
2ea9500f73 Configurable thinking budget (default to medium) (#494) 2025-06-25 15:36:05 -07:00
Will Chen
5d678c2ead Smart auto (#476) 2025-06-23 23:08:29 -07:00
Will Chen
9fbd7031d9 build ask mode (#444) 2025-06-19 10:42:51 -07:00
Will Chen
382fe9bab5 support setting for writing supabase migration files (#427) 2025-06-17 15:14:02 -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
3558663ab7 Support native Git (experimental) (#338) 2025-06-04 21:37:05 -07:00
Will Chen
647fd0169e make it easy to write multiple e2e tests (#280) 2025-05-29 00:03:51 -07:00
Will Chen
a915d892f7 Support Next.js template & template hub (#241) 2025-05-27 00:16:30 -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
b4b9556e2c Add a keep going suggestion (#201) 2025-05-19 15:38:33 -07:00
Will Chen
f9f33596bd Smart files context (#184) 2025-05-16 22:21:45 -07:00
Will Chen
35b459d82d Support turbo edits (pro) (#166) 2025-05-14 23:35:50 -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
ee5865dcf8 Precise custom model selection & simplify language model/provider log… (#147)
…ic (no merging)
2025-05-12 23:24:39 -07:00
Will Chen
d1027622b4 Loosen provider type to a string (#144) 2025-05-12 22:29:36 -07:00
Will Chen
0d56651220 Run prettier on everything (#104) 2025-05-06 23:02:28 -07:00
Will Chen
7e48b74813 Put file editing behind an experiment (#98) 2025-05-06 12:59:49 -07:00
Will Chen
390496f8f8 Fix isAnyProvider and don't make it a hard block (#93) 2025-05-06 12:13:03 -07:00
Piotr Wilkin (ilintar)
5fc49231ee Add LM Studio support (#22) 2025-05-02 14:51:32 -07:00
Will Chen
1bbfedc668 Provide suggestions for running commands (restart/refresh/rebuild) (#62) 2025-05-01 21:44:51 -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
37928a9017 Show release notes on startup (#44) 2025-04-29 11:02:27 -07:00
Will Chen
7ab1aab9b0 Refactor auto-suggestion (#40) 2025-04-28 22:43:37 -07:00
Will Chen
9fb5439ecf Summarize into new chat suggested action (#34) 2025-04-28 16:14:12 -07:00
Will Chen
1e866c8f99 Graduate Supabase integration from experiments (#29) 2025-04-28 13:14:51 -07:00
Will Chen
eda2f9206d Support deep link for Dyad Pro (#25) 2025-04-26 10:58:11 -07:00
Will Chen
4848b2f085 Add toggle for disabling Dyad Pro (#24)
* Add toggle for disabling Dyad Pro
* Entering key for Dyad pro enables dyad pro
2025-04-26 10:13:35 -07:00
Will Chen
b616598bab Add ollama support (#7) 2025-04-23 14:48:57 -07:00
Will Chen
09deb98ba1 Add description (optional) to SQL query 2025-04-23 12:59:09 -07:00
Will Chen
6e1935bbba Support supabase function deployment 2025-04-23 12:59:09 -07:00
Will Chen
922ee7d90a Handle token refresh for supabase 2025-04-23 12:59:09 -07:00
Will Chen
bf70c1bb00 Supabase integration experiment setting (off by default) 2025-04-23 12:59:09 -07:00
Will Chen
4294ce5767 Supabase support: client, auth & SQL 2025-04-23 12:59:09 -07:00
Will Chen
ec43482d6c Basic Supabase OAuth integration & project-app binding 2025-04-23 12:59:09 -07:00
Will Chen
09b3bf3fee Prompt user to move to applications folder on first run 2025-04-21 16:27:07 -07:00
Will Chen
7041525c20 Handle rename & deletes in proposal 2025-04-21 16:19:40 -07:00