Commit Graph

1277 Commits

Author SHA1 Message Date
Jason Laster
c826c3174b Support running playwright tests with and without supabase 2025-03-13 10:42:25 -07:00
Jason Laster
9d010b2884 Support submitting feedback 2025-03-13 10:42:25 -07:00
Brian Hackett
25d17fa0e5 Remove instructions about not being verbose 2025-03-13 10:36:47 -07:00
Brian Hackett
a5e0a6c3db Fix lint errors 2025-03-13 09:21:45 -07:00
Brian Hackett
9e58d6bb64
Use Nut API development server instead of webcontainers (#50) 2025-03-13 07:59:10 -07:00
Jason Laster
58f2cb0f58 add supabase 2025-03-13 07:09:36 -07:00
Jason Laster
3b9e859fc8 cursorrules 2025-03-13 07:09:36 -07:00
Jason Laster
db0e3abb51 Add playwright 2025-03-12 17:54:44 -07:00
Jason Laster
7849e2198c tsc fixes 2025-03-12 12:26:17 -07:00
Jason Laster
36abf17081 fix empty functions 2025-03-12 12:26:17 -07:00
Jason Laster
f1f225af6b fix consistent returns 2025-03-12 12:26:17 -07:00
Jason Laster
e63ff8ab54 Remove unused variables 2025-03-12 12:26:17 -07:00
Jason Laster
9993bf1640 Fix naming conventions 2025-03-12 12:26:17 -07:00
Jason Laster
3d7c885584 fix no-restricted-imports 2025-03-12 12:26:17 -07:00
Domi
82ce4d0ffe
[PRO-1050] Fix solution saving for large problems 2025-03-12 23:16:39 +08:00
D. Seifert
37f9496414 fix solution saving for large problems 2025-03-12 22:19:53 +08:00
Jason Laster
5948a48c94 Linter fixes 2025-03-11 12:11:41 -07:00
Brian Hackett
9ca3c9c977
Use Nut API for developer chat messages (#47) 2025-03-10 11:56:14 -07:00
Jason Laster
a37fb7a491 update otel 2025-03-10 10:31:33 -07:00
Brian Hackett
721ee8ab32 Use a variable factor during message compression 2025-03-06 08:46:42 -08:00
Brian Hackett
35058618b1 Set api key when counting tokens 2025-03-06 08:31:15 -08:00
Brian Hackett
f3f1cc12c8 fix error parsing 2025-03-06 08:28:08 -08:00
Brian Hackett
72fa945dc2 Improve logging for oversize messages 2025-03-06 08:23:23 -08:00
Brian Hackett
35ab0cbab1 Add compression for overly long messages 2025-03-06 08:06:47 -08:00
Brian Hackett
427a9732ee dark mode styling for problems 2025-03-04 13:42:38 -08:00
Brian Hackett
b2a74a2857 dark mode about 2025-03-04 12:06:08 -08:00
Brian Hackett
f34cf9ed5e
Assorted telemetry related fixes (#46) 2025-03-04 08:55:05 -08:00
Brian Hackett
23fa6f2217
Assorted fixes around approve changes UI (#45) 2025-03-04 07:22:42 -08:00
Brian Hackett
1e7af9f5c8
Support feedback for individual prompts (#43) 2025-03-03 08:54:08 -08:00
Brian Hackett
2722c47fed Include chat ID in more console logs 2025-02-28 07:09:31 -08:00
Brian Hackett
ed5d7a81d9 Merge branch 'main' of github.com:replayio/bolt 2025-02-28 07:06:44 -08:00
Brian Hackett
790b3cb73b Remove noisy log message 2025-02-27 14:55:35 -08:00
Jason Laster
a362eb8a75 Sentry follow up fix 2025-02-27 17:31:31 -05:00
Jason Laster
18f1983097 Use remix vite:dev in development 2025-02-27 17:15:14 -05:00
Brian Hackett
1809aa89d7 Use 3.7 sonnet 2025-02-24 13:02:19 -08:00
Brian Hackett
4ee4f2060d
Recognize image content when talking to anthropic (#37) 2025-02-24 07:24:32 -08:00
Brian Hackett
7326682c94 Watch for empty cookie strings 2025-02-21 09:37:36 -08:00
Brian Hackett
a489a8d749 Remove login key requirement 2025-02-21 09:24:07 -08:00
Brian Hackett
65df615702 Merge branch 'main' of github.com:replayio/bolt 2025-02-21 09:17:27 -08:00
Brian Hackett
63dcd6702e Add login key system 2025-02-21 09:00:23 -08:00
Chris Toshok
e4a57bf59e
[PRO-974] add sentry for both client and server (#20)
Basically ran through the remix + cloudflare setup docs.
2025-02-20 14:13:19 -07:00
Brian Hackett
38d389a42e Wrap chat component in <Suspense> 2025-02-20 11:27:22 -08:00
Mateusz Burzyński
6acb94b5af
Wrap database in async suspense value (#36) 2025-02-20 11:05:57 -08:00
Brian Hackett
12cd21f1d3 Add comment on workflow 2025-02-20 11:02:43 -08:00
Brian Hackett
3c3a97aa50
Show information about anthropic calls when clicking usage (#34) 2025-02-19 16:19:42 -08:00
Brian Hackett
dbaf92b3e8 Only run deploy action when manually triggered 2025-02-19 14:46:49 -08:00
Chris Toshok
4795d02150
instrument whether an api key is the user's or ours (#33)
introduce an `AnthropicApiKey` type so we aren't passing a string/boolean everywhere.
2025-02-19 13:58:40 -08:00
Brian Hackett
fabf53b49c Merge branch 'main' of github.com:replayio/bolt 2025-02-19 08:58:02 -08:00
Brian Hackett
b616ac673b about page copy 2025-02-19 08:57:49 -08:00
Chris Toshok
8d3a8eeb3a
use AsyncLocalStorageContextManager to propagate trace context around (#32)
I noticed that the `llm.chat.*_tokens` attributes weren't in spans, and it turns out none of the attributes from the wrapped function make it in.  only those added synchronously from within `wrapWithSpan` do.

A few things in play here:

1. Switch from `ZoneContextManager` (which doesn't work with native async/await) to `AsyncLocalStorageContextManager` (which does.)
2. (1) requires we use a pnpm patch, since wrangler requires that we import `async_hooks` statically, and the otel code `requires` it, and also requires that it's spelled `node:async_hooks`.
3. encode the payload we try to send _before_ doing the retry loop, so we don't re-encode for each attempt.
4. switch from `startActiveSpan` to `context.with` + `startSpan`.  The latter allows us to wrap an async function.  the former is for synchronous functions.
2025-02-19 06:49:32 -08:00