@noname_oni@theo@mikeysee@convex Yes!
You can now require env vars and also configure how they propagate to components in convex.config.ts.
New deployments inherit default env vars, now for local dev too.
You can also read/write env vars via files or scripts via CLI - including defaults.
@GorkaCesium "Cooling the ASICs would be trivial" -> you sure?
Lacking conduction/convection leaves only radiation, which sounds tricky for heat dumping
@tiagoefreitas@kiwicopple I went with the prosemirror OT model over Yjs CRDTs. I started exploring CRDT sync in Convex via the automerge-sync component, but for prosemirror-sync I found the rebase approach to be more correct. But if automerge has a lighter weight server impl that would be great to know
Handy validation utilities landed in @convex 1.29:
v.object({name: v.string(), age: v.string()})
.pick("name")
.extend({id: https://t.co/KsYsHoB04M("users")})
.partial();
I'll be working on the core API in addition to convex-helpers & components
Grok did a decent job, but to make it more concrete I've built two components to do this.
Workpool - durable functions with steps, suspension until time/event & more
Workpool - general-purpose queues w/ parallelism limits, retry configs, exactly-once execution of onComplete
@lgrammel I'm adding to @βconvex-dev/workflow * to improve HIL, incl. AI SDK loops- adding pause/resume- akin to promises / signals / condition variables for Convex fns.
Planning to ship soon - would love to chat / coordinate!
*Durable async serverless functions akin to termporal
I feel clever subbing `return await fn()` with `return fn()`
But gotchas don't seem worth it anymore
β’ Breaks try/catch/finally expectations
β’ Loses stack trace context
My default is now to always await. Change my mind.
@ZubairIbnZamir@convex It's up to date! There's also an ongoing effort to support zod4, which will be backwards compatible (using the same clever trick zod used of a separate /zod4 entrypoint)
Big updates to the Agent Component:
- Abort an async stream remotely
- Pending, failed, and aborted streamed messages auto-save
- AI SDK v5 support
- Easier to use alongside AI SDK vs. wrapping
- Type-safe custom context passed to tools
- <SmoothText>msg.text</SmoothText>
@vishyfishy2 You can do either - http streaming has always worked via the `toUIMessageStream` & co.
Delta streaming is opt-in and streams only the changes to all subscribers (and can be resumed).
Doing both is possible right now - simplest is to read both the deltas & HTTP & de-dupe tho