Commit Graph

97 Commits

Author SHA1 Message Date
Avraham Sakal 88adc15899 consolidate openrouter instance creation 2025-09-28 13:23:07 -04:00
Avraham Sakal d9053e1fc0 fix: read cloudflare-style envs 2025-09-28 11:46:13 -04:00
Avraham Sakal 3ae805220a remove sensitive config 2025-09-28 11:35:39 -04:00
Avraham Sakal a76ec7ae1d fix: immutable optimistic update to trigger re-render 2025-09-21 22:36:30 -04:00
Avraham Sakal 83254fb770 fix: authjs reads correct cookie in dev and prod 2025-09-21 20:41:44 -04:00
Avraham Sakal 67841355ac fix: "enter" updates conversation title 2025-09-21 20:40:58 -04:00
Avraham Sakal 542b6e45c3 fix: type error 2025-09-21 20:21:30 -04:00
Avraham Sakal 185a16be6f fix: production auth: was reading incorrect cookie 2025-09-21 20:03:18 -04:00
Avraham Sakal bb4a581154 remove typebox, not used 2025-09-21 19:42:29 -04:00
Avraham Sakal 680d734f85 always traustHost 2025-09-21 19:42:21 -04:00
Avraham Sakal edfaabeb0d return failed jwt for debugging auth 2025-09-21 19:37:04 -04:00
Avraham Sakal 5bd5fbe9dc fix: imported type 2025-09-21 19:36:10 -04:00
Avraham Sakal 6311966f92 fix: move new user creation code to isgnIn callback 2025-09-21 19:20:10 -04:00
Avraham Sakal 0207e4fc47 authz/authn on all trpc procedures 2025-09-21 19:12:15 -04:00
Avraham Sakal fc70806b10 protect conversation trpc routes 2025-09-21 17:26:51 -04:00
Avraham Sakal a7709e8abd delete unneeded types 2025-09-21 17:16:24 -04:00
Avraham Sakal 360bfc6df3 drop db interface, use kysely instead for more more flexibility (at the cost of more coupling) 2025-09-21 17:14:27 -04:00
Avraham Sakal 21931a20cb obsolete facts db layer 2025-09-21 14:48:37 -04:00
Avraham Sakal a41b97b442 obsolete messages db layer 2025-09-21 14:46:42 -04:00
Avraham Sakal 3941b73b03 obsolete conversations db layer 2025-09-21 14:44:43 -04:00
Avraham Sakal 51b14c8b2b fix: build errors (couldn't find package) 2025-09-21 14:33:36 -04:00
Avraham Sakal f8c8c4906a fix: type errors 2025-09-21 14:23:59 -04:00
Avraham Sakal 9ef79e99df format 2025-09-21 14:23:39 -04:00
Avraham Sakal d32515a75f re-organize files 2025-09-21 12:13:18 -04:00
Avraham Sakal 61540f9338 basic user-tailored UI 2025-09-18 10:45:00 -04:00
Avraham Sakal 83e3f867dd can sign in and out 2025-09-18 10:05:20 -04:00
Avraham Sakal 6d80d3a9a6 variable-length TextInput for conversation title 2025-09-16 09:21:36 -04:00
Avraham Sakal db6057431a oops. forgot to use openrouter from the ctx 2025-09-16 09:14:48 -04:00
Avraham Sakal 81338b8831 use environment variables from cloudflare's environment 2025-09-16 09:09:33 -04:00
Avraham Sakal c98342e886 serverless-friendly postgres connection 2025-09-14 22:25:13 -04:00
Avraham Sakal c48c069b10 add non-secret envs to wrangler.toml 2025-09-14 22:09:50 -04:00
Avraham Sakal 2b4cb55f65 get postgres connection string from environment variable 2025-09-14 21:53:09 -04:00
Avraham Sakal 641d8ad039 housekeeping 2025-09-14 21:52:44 -04:00
Avraham Sakal f6b432a145 rename wrangler project 2025-09-14 21:48:26 -04:00
Avraham Sakal cac6bf142c scrollable message list with sticky conversation header 2025-09-14 21:47:44 -04:00
Avraham Sakal 6668361f05 UI overhaul: fonts, colors, scrollable message boxes, animated text generation status updates 2025-09-14 16:17:01 -04:00
Avraham Sakal ebfbb22525 streaming response 2025-09-14 13:36:43 -04:00
Avraham Sakal 1dddae6a05 improve look 2025-09-14 12:09:46 -04:00
Avraham Sakal af852e27b8 update AGENTS.md 2025-09-01 21:24:53 -04:00
Avraham Sakal 382f60de72 implement lowdb factTriggers.findByConversationId 2025-09-01 21:13:18 -04:00
Avraham Sakal fef408d399 just use nemo, it's great 2025-09-01 21:05:22 -04:00
Avraham Sakal b20c48ce0a deletable messages 2025-09-01 21:04:57 -04:00
Avraham Sakal d0902e9df1 site title at the top of the layout; more verbose "welcome" page 2025-08-31 20:32:25 -04:00
Avraham Sakal 8845f78810 filled menu icons when active 2025-08-31 20:19:29 -04:00
Avraham Sakal 84eaab08ea expand use of react-query for state management 2025-08-31 15:07:01 -04:00
Avraham Sakal 20f6f6918f optimistically update "delete conversation" mutation 2025-08-31 13:40:28 -04:00
Avraham Sakal de316c3e7e invalidate react-query queries upon mutations 2025-08-31 12:33:53 -04:00
Avraham Sakal f4e9c62e96 transition to postgresql for persistence layer 2025-08-31 12:04:18 -04:00
Avraham Sakal d827412feb update postgresql schema 2025-08-29 16:17:39 -04:00
Avraham Sakal afee7dd8c9 abstract application-to-database interface 2025-08-29 16:17:20 -04:00