Commit Graph

37 Commits

Author SHA1 Message Date
Will Chen
a6dca76d29 Allow referencing other apps (#692)
- [x] Update chat_stream_handlers
- [x] Update token handlers
- [x] Update HomeChatInput
- [x] update lexical chat input: do not allow referencing same app
(current app, or other already selected apps)
- [x] I don't think smart context will work on this...
- [x] Enter doesn't clear...
2025-08-13 16:22:49 -07:00
Will Chen
ab757d2b96 Add GPT 5 support (#902) 2025-08-11 15:00:02 -07:00
Abdur Rahman
bbc50197c2 fix: improve close button alignment in chat error containers (#782)
Adjusted positioning to top-2.5 left-2 and add left padding to prevent
text overlap with the close button. 

<img width="715" height="61" alt="image"
src="https://github.com/user-attachments/assets/1e47f577-2b11-4928-82a6-053abc77dd1e"
/>

<img width="727" height="101" alt="image"
src="https://github.com/user-attachments/assets/b6058eca-93e0-445e-b17a-dee81911b90b"
/>
2025-08-05 14:34:17 -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
a6e0ea2f73 Upgrade oxlint and disable line (#690)
side note: test.only check doesn't work because oxlint hardcodes to find
jest
https://github.com/oxc-project/oxc/blob/main/crates/oxc_linter/src/utils/jest/parse_jest_fn.rs#L317
2025-07-31 13:02:29 -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
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
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
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
534cbad909 Allow manual context management (#376) 2025-06-10 13:52:20 -07:00
Will Chen
7f410ce830 Better supabase error message (#336)
Fixes #287
2025-06-04 22:22:00 -07:00
Will Chen
7235eab227 Make CI run cross-platform (#295) 2025-06-03 13:04:16 -07:00
Will Chen
509e044137 Boilerplate free tests (#277) 2025-05-28 22:55:54 -07:00
Will Chen
644012c9a5 Simple playwright e2e test (#234) 2025-05-23 10:44:52 -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
ea9301c771 Support delete custom model (#136) 2025-05-12 16:37:39 -07:00
Will Chen
79a2b5a906 Fix markdown parsing & remove rehypeRaw (#130)
Fixes #121
2025-05-12 13:52:54 -07:00
Will Chen
34ac9df743 Refactor useVersions to @tanstack/react-query (#114)
working
2025-05-08 22:04:20 -07:00
Will Chen
2537fbb342 lint using oxlint (#106) 2025-05-08 17:21:35 -07:00
Will Chen
0e8cc26fb5 Add prettier hook & contribution guide (#105) 2025-05-06 23:15:56 -07:00
Will Chen
0d56651220 Run prettier on everything (#104) 2025-05-06 23:02:28 -07:00
Will Chen
971afb835f Bump to v0.4.0 (#85) 2025-05-05 15:10:18 -07:00
Will Chen
a6eaaa6a94 Regenrate package-lock.json 2025-05-02 14:59:16 -07:00
Piotr Wilkin (ilintar)
5fc49231ee Add LM Studio support (#22) 2025-05-02 14:51:32 -07:00
Will Chen
b616598bab Add ollama support (#7) 2025-04-23 14:48:57 -07:00
Will Chen
6e1935bbba Support supabase function deployment 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
16d5320485 Enable opt-in telemetry 2025-04-21 12:49:54 -07:00
Will Chen
7aec3ef455 Sketch out approval UX 2025-04-18 10:58:59 -07:00
Will Chen
e1911162e3 Use pnpm and more clean-up of sandbox mode 2025-04-17 17:33:09 -07:00
Will Chen
26fb5c8dc6 Kill on port 32100 on restart app (clean up orphan process) 2025-04-15 21:42:01 -07:00
Will Chen
2fb868ac27 Add electron logging 2025-04-15 17:16:48 -07:00
Will Chen
6ad73b8f2c fix path 2025-04-12 22:39:09 -07:00
Will Chen
a4a763a06d working sandpack 2025-04-11 23:11:56 -07:00
Will Chen
d3c1f8e34c clear runtime consent and settings 2025-04-11 14:23:14 -07:00
Will Chen
6ca060d207 Fix env var handling for MacOs 2025-04-11 10:33:10 -07:00
Will Chen
43f67e0739 Initial open-source release 2025-04-11 09:38:16 -07:00