Skip to content

armgit / Cap

Public Imported from GitHub
0

Open source Loom alternative. Beautiful, shareable screen recordings.

Add Groq AI support for video metadata generation (#826)

Richie McIlroy96570d9bbbd6
diff --git a/.env.example b/.env.example
index b467676ed..c57a09b2c 100644
--- a/.env.example
+++ b/.env.example
@@ -72,8 +72,10 @@ NEXTAUTH_SECRET=
# Audio transcription
# DEEPGRAM_API_KEY=
+
# Cap AI
# OPENAI_API_KEY=
+# GROQ_API_KEY=
# Only needed by cap.so cloud
# NEXT_LOOPS_KEY=
diff --git a/apps/web/actions/videos/generate-ai-metadata.ts b/apps/web/actions/videos/generate-ai-metadata.ts
index 1c1f64fc7..f589e16c1 100644
--- a/apps/web/actions/videos/generate-ai-metadata.ts
+++ b/apps/web/actions/videos/generate-ai-metadata.ts
@@ -8,10 +8,12 @@ import { VideoMetadata } from "@cap/database/types";
import { eq } from "drizzle-orm";
import { serverEnv } from "@cap/env";
import { createBucketProvider } from "@/utils/s3";
+import { getGroqClient, GROQ_MODEL } from "@/lib/groq-client";
export async function generateAiMetadata(videoId: string, userId: string) {
- if (!serverEnv().OPENAI_API_KEY) {
+ const groqClient = getGroqClient();
+ if (!groqClient && !serverEnv().OPENAI_API_KEY) {
console.error(
- "[generateAiMetadata] Missing OpenAI API key, skipping AI metadata generation"
+ "[generateAiMetadata] Missing Groq or OpenAI API key, skipping AI metadata generation"
);
return;
}
@@ -156,27 +158,69 @@ export async function generateAiMetadata(videoId: string, userId: string) {
Return ONLY valid JSON without any markdown formatting or code blocks.
Transcript:
${transcriptText}`;
- const aiRes = await fetch("https://api.openai.com/v1/chat/completions", {
- method: "POST",
- headers: {
- "Content-Type": "application/json",
- Authorization: `Bearer ${serverEnv().OPENAI_API_KEY}`,
- },
- body: JSON.stringify({
- model: "gpt-4o-mini",
- messages: [{ role: "user", content: prompt }],
- }),
- });
- if (!aiRes.ok) {
- const errorText = await aiRes.text();
- console.error(
- `[generateAiMetadata] OpenAI API error: ${aiRes.status} ${errorText}`
- );
- throw new Error(`OpenAI API error: ${aiRes.status} ${errorText}`);
- }
- const aiJson = await aiRes.json();
- const content = aiJson.choices?.[0]?.message?.content || "{}";
+ let content = "{}";
+
+ if (groqClient) {
+ try {
+ const completion = await groqClient.chat.completions.create({
+ messages: [{ role: "user", content: prompt }],
+ model: GROQ_MODEL,
+ });
+ content = completion.choices?.[0]?.message?.content || "{}";
+ } catch (groqError) {
+ console.error(
+ `[generateAiMetadata] Groq API error: ${groqError}, falling back to OpenAI`
+ );
+ // Fallback to OpenAI if Groq fails and OpenAI key exists
+ if (serverEnv().OPENAI_API_KEY) {
+ const aiRes = await fetch("https://api.openai.com/v1/chat/completions", {
+ method: "POST",
+ headers: {
+ "Content-Type": "application/json",
+ Authorization: `Bearer ${serverEnv().OPENAI_API_KEY}`,
+ },
+ body: JSON.stringify({
+ model: "gpt-4o-mini",
+ messages: [{ role: "user", content: prompt }],
+ }),
+ });
+ if (!aiRes.ok) {
+ const errorText = await aiRes.text();
+ console.error(
+ `[generateAiMetadata] OpenAI API error: ${aiRes.status} ${errorText}`
+ );
+ throw new Error(`OpenAI API error: ${aiRes.status} ${errorText}`);
+ }
+ const aiJson = await aiRes.json();
+ content = aiJson.choices?.[0]?.message?.content || "{}";
+ } else {
+ throw groqError;
+ }
+ }
+ } else if (serverEnv().OPENAI_API_KEY) {
+ // Use OpenAI if Groq client is not available
+ const aiRes = await fetch("https://api.openai.com/v1/chat/completions", {
+ method: "POST",
+ headers: {
+ "Content-Type": "application/json",
+ Authorization: `Bearer ${serverEnv().OPENAI_API_KEY}`,
+ },
+ body: JSON.stringify({
+ model: "gpt-4o-mini",
+ messages: [{ role: "user", content: prompt }],
+ }),
+ });
+ if (!aiRes.ok) {
+ const errorText = await aiRes.text();
+ console.error(
+ `[generateAiMetadata] OpenAI API error: ${aiRes.status} ${errorText}`
+ );
+ throw new Error(`OpenAI API error: ${aiRes.status} ${errorText}`);
+ }
+ const aiJson = await aiRes.json();
+ content = aiJson.choices?.[0]?.message?.content || "{}";
+ }
let data: {
title?: string;
@@ -193,7 +237,7 @@ ${transcriptText}`;
}
data = JSON.parse(cleanContent.trim());
} catch (e) {
- console.error(`[generateAiMetadata] Error parsing OpenAI response: ${e}`);
+ console.error(`[generateAiMetadata] Error parsing AI response: ${e}`);
data = {
title: "Generated Title",
summary:
diff --git a/apps/web/lib/groq-client.ts b/apps/web/lib/groq-client.ts
new file mode 100644
index 000000000..628108c36
--- /dev/null
+++ b/apps/web/lib/groq-client.ts
@@ -0,0 +1,20 @@
+import Groq from "groq-sdk";
+import { serverEnv } from "@cap/env";
+
+let groqClient: Groq | null = null;
+
+export function getGroqClient(): Groq | null {
+ if (!serverEnv().GROQ_API_KEY) {
+ return null;
+ }
+
+ if (!groqClient) {
+ groqClient = new Groq({
+ apiKey: serverEnv().GROQ_API_KEY
+ });
+ }
+
+ return groqClient;
+}
+
+export const GROQ_MODEL = "meta-llama/llama-4-maverick-17b-128e-instruct";
\ No newline at end of file
diff --git a/apps/web/package.json b/apps/web/package.json
index 7024ee230..8f4321c09 100644
--- a/apps/web/package.json
+++ b/apps/web/package.json
@@ -69,6 +69,7 @@
"framer-motion": "^11.13.1",
"geist": "^1.3.1",
"gif.js": "0.2.0",
+ "groq-sdk": "^0.29.0",
"hls.js": "^1.5.3",
"hono": "^4.7.1",
"js-cookie": "^3.0.5",
diff --git a/packages/env/server.ts b/packages/env/server.ts
index 14fee6109..dd9f7dd0e 100644
--- a/packages/env/server.ts
+++ b/packages/env/server.ts
@@ -42,6 +42,7 @@ function createServerEnv() {
STRIPE_WEBHOOK_SECRET: z.string().optional(),
DISCORD_FEEDBACK_WEBHOOK_URL: z.string().optional(),
OPENAI_API_KEY: z.string().optional(),
+ GROQ_API_KEY: z.string().optional(),
INTERCOM_SECRET: z.string().optional(),
VERCEL_ENV: z
.union([
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 738ef3b7d..7f0ab0e99 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -13,7 +13,7 @@ importers:
version: 0.10.1
dotenv-cli:
specifier: latest
- version: 8.0.0
+ version: 10.0.0
prettier:
specifier: ^2.5.1
version: 2.8.8
@@ -576,6 +576,9 @@ importers:
gif.js:
specifier: 0.2.0
version: 0.2.0
+ groq-sdk:
+ specifier: ^0.29.0
+ version: 0.29.0([email protected])
hls.js:
specifier: ^1.5.3
version: 1.6.2
@@ -849,10 +852,10 @@ importers:
version: 18.3.21
'@types/react-dom':
specifier: latest
- version: 19.1.6(@types/[email protected])
+ version: 19.1.7(@types/[email protected])
dotenv-cli:
specifier: latest
- version: 8.0.0
+ version: 10.0.0
drizzle-kit:
specifier: 0.31.0
version: 0.31.0
@@ -902,28 +905,28 @@ importers:
'@radix-ui/react-dialog':
specifier: ^1.0.5
'@radix-ui/react-dropdown-menu':
specifier: ^2.0.6
'@radix-ui/react-label':
specifier: ^2.0.2
'@radix-ui/react-navigation-menu':
specifier: ^1.1.4
'@radix-ui/react-popover':
specifier: ^1.0.7
'@radix-ui/react-select':
specifier: ^2.2.5
'@radix-ui/react-slot':
specifier: ^1.0.2
version: 1.2.2(@types/[email protected])([email protected])
'@radix-ui/react-switch':
specifier: ^1.1.0
'@tailwindcss/typography':
specifier: ^0.5.9
@@ -957,7 +960,7 @@ importers:
version: 18.3.21
'@types/react-dom':
specifier: latest
- version: 19.1.6(@types/[email protected])
+ version: 19.1.7(@types/[email protected])
'@vitejs/plugin-react':
specifier: ^4.0.3
@@ -5490,10 +5493,10 @@ packages:
react-dom:
optional: true
- '@storybook/[email protected]':
- resolution: {integrity: sha512-xcwTnBzsm0MxB+LZrqvrz10tzVfhTs0zIqufxsgRA1YCzkF1v7YFVVq8xW754WZiyel4mDADCUwntrnFwyQSIQ==}
+ '@storybook/[email protected]':
+ resolution: {integrity: sha512-Cx1XVZdIiGPWnTIRTEwge13S9GTT5E5LilApaCJuSngAJ6slIxLZuSaqzVPd1xQmytIClBzCXIL+tKzEEZPsqQ==}
peerDependencies:
- storybook: ^9.1.0-alpha.8
+ storybook: ^9.2.0-alpha.1
vite: ^5.0.0 || ^6.0.0 || ^7.0.0
'@storybook/[email protected]':
@@ -5509,10 +5512,10 @@ packages:
peerDependencies:
storybook: ^8.6.12
- '@storybook/[email protected]':
- resolution: {integrity: sha512-1NAFT8wHIzk9q5ATwNUhkO392ni54n6d0l+Gd1Vi7S+AZSaDOqaeqjy3Zda1I1bw0suNwGJlk4ye8Oo4XzHq3g==}
+ '@storybook/[email protected]':
+ resolution: {integrity: sha512-LUF5DGlss72LzZYFbXq7smHyETyLII5y84bS67xd4lfqyXHpMtj6KddyHsSPA9FQvVR8tYK/jmpzj1Z4PNeWJg==}
peerDependencies:
- storybook: ^9.1.0-alpha.8
+ storybook: ^9.2.0-alpha.1
'@storybook/[email protected]':
resolution: {integrity: sha512-bOmTNJE4FM6+3/1hPQVgha8cLxX2Nyi/4Z+tYq0pCDEyQqGRTD2KXre9XsSCnziRaGxiW80OrKkmqWY8Otuu4A==}
@@ -6100,8 +6103,8 @@ packages:
peerDependencies:
'@types/react': ^18.0.0
- '@types/[email protected]':
- resolution: {integrity: sha512-4hOiT/dwO8Ko0gV1m/TJZYk3y0KBnY9vzDh7W+DH17b2HFSOGgdj33dhihPeuy3l0q23+4e+hoXHV6hCC4dCXw==}
+ '@types/[email protected]':
+ resolution: {integrity: sha512-i5ZzwYpqjmrKenzkoLM2Ibzt6mAsM7pxB6BCIouEVVmgiqaMj1TjaK7hnA36hbW5aZv20kx7Lw6hWzPWg0Rurw==}
peerDependencies:
'@types/react': ^19.0.0
@@ -7750,12 +7753,12 @@ packages:
resolution: {integrity: sha512-1gxPBJpI/pcjQhKgIU91II6Wkay+dLcN3M6rf2uwP8hRur3HtQXjVrdAK3sjC0piaEuxzMwjXChcETiJl47lAQ==}
engines: {node: '>=18'}
- resolution: {integrity: sha512-aLqYbK7xKOiTMIRf1lDPbI+Y+Ip/wo5k3eyp6ePysVaSqbyxjyK3dK35BTxG+rmd7djf5q2UPs4noPNH+cj0Qw==}
+ resolution: {integrity: sha512-lnOnttzfrzkRx2echxJHQRB6vOAMSCzzZg79IxpC00tU42wZPuZkQxNNrrwVAxaQZIIh001l4PxVlCrBxngBzA==}
hasBin: true
- resolution: {integrity: sha512-GopVGCpVS1UKH75VKHGuQFqS1Gusej0z4FyQkPdwjil2gNIv+LNsqBlboOzpJFZKVT95GkCyWJbBSdFEFUWI2A==}
+ resolution: {integrity: sha512-zIHwmZPRshsCdpMDyVsqGmgyP0yT8GAgXUnkdAoJisxvf33k7yO6OuoKmcTGuXPWSsm8Oh88nZicRLA9Y0rUeA==}
engines: {node: '>=12'}
@@ -7766,6 +7769,10 @@ packages:
resolution: {integrity: sha512-m/C+AwOAr9/W1UOIZUo232ejMNnJAJtYQjUbHoNTBNTJSvqzzDh7vnrei3o3r3m9blf6ZoDkvcw0VmozNRFJxg==}
engines: {node: '>=12'}
+ resolution: {integrity: sha512-kQhDYKZecqnM0fCnzI5eIv5L4cAe/iRI+HqMbO/hbRdTAeXDG+M9FjipUxNfbARuEg4iHIbhnhs78BCHNbSxEQ==}
+ engines: {node: '>=12'}
+
resolution: {integrity: sha512-pcKVT+GbfPA+bUovPIilgVOoq+onNBo/YQBG86sf3/GFHkN6lRJPm1l7dKN0IMAk57RQoIm4GUllRrasLlcaSg==}
hasBin: true
@@ -8861,6 +8868,9 @@ packages:
resolution: {integrity: sha512-5v6yZd4JK3eMI3FqqCouswVqwugaA9r4dNZB1wwcmrD02QkV5H0y7XBQW8QwQqEaZY1pM9aqORSORhJRdNK44Q==}
engines: {node: '>=6.0'}
+ resolution: {integrity: sha512-oDbTqE5yg7mEzSRG0WnvezA/loaM6rY+hHl1Es8MbeOs/zgZFw+DZu3zTXJ0ik4fdNQ3/N6MluOjmytUMkZHtQ==}
+
resolution: {integrity: sha512-O1Ld7Dr+nqPnmGpdhzLmMTQ4vAsD+rHwMm1NLUmoUFFymBOMKxCCrtDxqdBRYXdeEPEi3SyoR4TizJLQrnKBNA==}
engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0}
@@ -10507,7 +10517,6 @@ packages:
resolution: {integrity: sha512-/jKZoMpw0F8GRwl4/eLROPA3cfcXtLApP0QzLmUT/HuPCZWyB7IY9ZrMeKw2O/nFIqPQB3PVM9aYm0F312AXDQ==}
engines: {node: '>=10.5.0'}
- deprecated: Use your platform's native DOMException instead
resolution: {integrity: sha512-8Mc2HhqPdlIfedsuZoc3yioPuzp6b+L5jRCRY1QzuWZh2EGJVQrGppC6V6cF0bLdbW0+O2YpqCA25aF/1lvipQ==}
@@ -16852,14 +16861,14 @@ snapshots:
'@types/react': 18.3.21
'@types/react-dom': 18.3.7(@types/[email protected])
dependencies:
react: 19.1.0
react-dom: 19.1.0([email protected])
optionalDependencies:
'@types/react': 18.3.21
- '@types/react-dom': 19.1.6(@types/[email protected])
+ '@types/react-dom': 19.1.7(@types/[email protected])
dependencies:
@@ -16870,14 +16879,14 @@ snapshots:
'@types/react': 18.3.21
'@types/react-dom': 18.3.7(@types/[email protected])
dependencies:
react: 19.1.0
react-dom: 19.1.0([email protected])
optionalDependencies:
'@types/react': 18.3.21
- '@types/react-dom': 19.1.6(@types/[email protected])
+ '@types/react-dom': 19.1.7(@types/[email protected])
dependencies:
@@ -16891,17 +16900,17 @@ snapshots:
'@types/react': 18.3.21
'@types/react-dom': 18.3.7(@types/[email protected])
dependencies:
'@radix-ui/react-compose-refs': 1.1.2(@types/[email protected])([email protected])
'@radix-ui/react-context': 1.1.2(@types/[email protected])([email protected])
'@radix-ui/react-slot': 1.2.2(@types/[email protected])([email protected])
react: 19.1.0
react-dom: 19.1.0([email protected])
optionalDependencies:
'@types/react': 18.3.21
- '@types/react-dom': 19.1.6(@types/[email protected])
+ '@types/react-dom': 19.1.7(@types/[email protected])
dependencies:
@@ -16915,17 +16924,17 @@ snapshots:
'@types/react': 18.3.21
'@types/react-dom': 18.3.7(@types/[email protected])
dependencies:
'@radix-ui/react-compose-refs': 1.1.2(@types/[email protected])([email protected])
'@radix-ui/react-context': 1.1.2(@types/[email protected])([email protected])
'@radix-ui/react-slot': 1.2.3(@types/[email protected])([email protected])
react: 19.1.0
react-dom: 19.1.0([email protected])
optionalDependencies:
'@types/react': 18.3.21
- '@types/react-dom': 19.1.6(@types/[email protected])
+ '@types/react-dom': 19.1.7(@types/[email protected])
dependencies:
@@ -16971,18 +16980,18 @@ snapshots:
transitivePeerDependencies:
- '@types/react'
dependencies:
'@radix-ui/primitive': 1.1.2
'@radix-ui/react-compose-refs': 1.1.2(@types/[email protected])([email protected])
'@radix-ui/react-context': 1.1.2(@types/[email protected])([email protected])
- '@radix-ui/react-dismissable-layer': 1.1.9(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])
+ '@radix-ui/react-dismissable-layer': 1.1.9(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])
'@radix-ui/react-focus-guards': 1.1.2(@types/[email protected])([email protected])
'@radix-ui/react-id': 1.1.1(@types/[email protected])([email protected])
'@radix-ui/react-slot': 1.2.2(@types/[email protected])([email protected])
'@radix-ui/react-use-controllable-state': 1.2.2(@types/[email protected])([email protected])
aria-hidden: 1.2.4
@@ -16991,7 +17000,7 @@ snapshots:
react-remove-scroll: 2.6.3(@types/[email protected])([email protected])
optionalDependencies:
'@types/react': 18.3.21
- '@types/react-dom': 19.1.6(@types/[email protected])
+ '@types/react-dom': 19.1.7(@types/[email protected])
dependencies:
@@ -17023,18 +17032,18 @@ snapshots:
'@types/react': 18.3.21
'@types/react-dom': 18.3.7(@types/[email protected])
dependencies:
'@radix-ui/primitive': 1.1.2
'@radix-ui/react-compose-refs': 1.1.2(@types/[email protected])([email protected])
'@radix-ui/react-use-callback-ref': 1.1.1(@types/[email protected])([email protected])
'@radix-ui/react-use-escape-keydown': 1.1.1(@types/[email protected])([email protected])
react: 19.1.0
react-dom: 19.1.0([email protected])
optionalDependencies:
'@types/react': 18.3.21
- '@types/react-dom': 19.1.6(@types/[email protected])
+ '@types/react-dom': 19.1.7(@types/[email protected])
dependencies:
@@ -17049,18 +17058,18 @@ snapshots:
'@types/react': 18.3.21
'@types/react-dom': 18.3.7(@types/[email protected])
dependencies:
'@radix-ui/primitive': 1.1.2
'@radix-ui/react-compose-refs': 1.1.2(@types/[email protected])([email protected])
'@radix-ui/react-use-callback-ref': 1.1.1(@types/[email protected])([email protected])
'@radix-ui/react-use-escape-keydown': 1.1.1(@types/[email protected])([email protected])
react: 19.1.0
react-dom: 19.1.0([email protected])
optionalDependencies:
'@types/react': 18.3.21
- '@types/react-dom': 19.1.6(@types/[email protected])
+ '@types/react-dom': 19.1.7(@types/[email protected])
dependencies:
@@ -17077,20 +17086,20 @@ snapshots:
'@types/react': 18.3.21
'@types/react-dom': 18.3.7(@types/[email protected])
dependencies:
'@radix-ui/primitive': 1.1.2
'@radix-ui/react-compose-refs': 1.1.2(@types/[email protected])([email protected])
'@radix-ui/react-context': 1.1.2(@types/[email protected])([email protected])
'@radix-ui/react-id': 1.1.1(@types/[email protected])([email protected])
'@radix-ui/react-use-controllable-state': 1.2.2(@types/[email protected])([email protected])
react: 19.1.0
react-dom: 19.1.0([email protected])
optionalDependencies:
'@types/react': 18.3.21
- '@types/react-dom': 19.1.6(@types/[email protected])
+ '@types/react-dom': 19.1.7(@types/[email protected])
dependencies:
@@ -17123,16 +17132,16 @@ snapshots:
'@types/react': 18.3.21
'@types/react-dom': 18.3.7(@types/[email protected])
dependencies:
'@radix-ui/react-compose-refs': 1.1.2(@types/[email protected])([email protected])
'@radix-ui/react-use-callback-ref': 1.1.1(@types/[email protected])([email protected])
react: 19.1.0
react-dom: 19.1.0([email protected])
optionalDependencies:
'@types/react': 18.3.21
- '@types/react-dom': 19.1.6(@types/[email protected])
+ '@types/react-dom': 19.1.7(@types/[email protected])
dependencies:
@@ -17145,16 +17154,16 @@ snapshots:
'@types/react': 18.3.21
'@types/react-dom': 18.3.7(@types/[email protected])
dependencies:
'@radix-ui/react-compose-refs': 1.1.2(@types/[email protected])([email protected])
'@radix-ui/react-use-callback-ref': 1.1.1(@types/[email protected])([email protected])
react: 19.1.0
react-dom: 19.1.0([email protected])
optionalDependencies:
'@types/react': 18.3.21
- '@types/react-dom': 19.1.6(@types/[email protected])
+ '@types/react-dom': 19.1.7(@types/[email protected])
dependencies:
@@ -17169,14 +17178,14 @@ snapshots:
optionalDependencies:
'@types/react': 18.3.21
dependencies:
react: 19.1.0
react-dom: 19.1.0([email protected])
optionalDependencies:
'@types/react': 18.3.21
- '@types/react-dom': 19.1.6(@types/[email protected])
+ '@types/react-dom': 19.1.7(@types/[email protected])
dependencies:
@@ -17204,22 +17213,22 @@ snapshots:
'@types/react': 18.3.21
'@types/react-dom': 18.3.7(@types/[email protected])
dependencies:
'@radix-ui/primitive': 1.1.2
'@radix-ui/react-compose-refs': 1.1.2(@types/[email protected])([email protected])
'@radix-ui/react-context': 1.1.2(@types/[email protected])([email protected])
'@radix-ui/react-direction': 1.1.1(@types/[email protected])([email protected])
- '@radix-ui/react-dismissable-layer': 1.1.9(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])
+ '@radix-ui/react-dismissable-layer': 1.1.9(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])
'@radix-ui/react-focus-guards': 1.1.2(@types/[email protected])([email protected])
'@radix-ui/react-id': 1.1.1(@types/[email protected])([email protected])
- '@radix-ui/react-roving-focus': 1.1.9(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])
+ '@radix-ui/react-roving-focus': 1.1.9(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])
'@radix-ui/react-slot': 1.2.2(@types/[email protected])([email protected])
'@radix-ui/react-use-callback-ref': 1.1.1(@types/[email protected])([email protected])
aria-hidden: 1.2.4
@@ -17228,43 +17237,43 @@ snapshots:
react-remove-scroll: 2.6.3(@types/[email protected])([email protected])
optionalDependencies:
'@types/react': 18.3.21
- '@types/react-dom': 19.1.6(@types/[email protected])
+ '@types/react-dom': 19.1.7(@types/[email protected])
dependencies:
'@radix-ui/primitive': 1.1.2
'@radix-ui/react-compose-refs': 1.1.2(@types/[email protected])([email protected])
'@radix-ui/react-context': 1.1.2(@types/[email protected])([email protected])
'@radix-ui/react-direction': 1.1.1(@types/[email protected])([email protected])
- '@radix-ui/react-dismissable-layer': 1.1.9(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])
+ '@radix-ui/react-dismissable-layer': 1.1.9(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])
'@radix-ui/react-id': 1.1.1(@types/[email protected])([email protected])
'@radix-ui/react-use-callback-ref': 1.1.1(@types/[email protected])([email protected])
'@radix-ui/react-use-controllable-state': 1.2.2(@types/[email protected])([email protected])
'@radix-ui/react-use-layout-effect': 1.1.1(@types/[email protected])([email protected])
'@radix-ui/react-use-previous': 1.1.1(@types/[email protected])([email protected])
- '@radix-ui/react-visually-hidden': 1.2.2(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])
+ '@radix-ui/react-visually-hidden': 1.2.2(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])
react: 19.1.0
react-dom: 19.1.0([email protected])
optionalDependencies:
'@types/react': 18.3.21
- '@types/react-dom': 19.1.6(@types/[email protected])
+ '@types/react-dom': 19.1.7(@types/[email protected])
dependencies:
'@radix-ui/primitive': 1.1.2
'@radix-ui/react-compose-refs': 1.1.2(@types/[email protected])([email protected])
'@radix-ui/react-context': 1.1.2(@types/[email protected])([email protected])
- '@radix-ui/react-dismissable-layer': 1.1.9(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])
+ '@radix-ui/react-dismissable-layer': 1.1.9(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])
'@radix-ui/react-focus-guards': 1.1.2(@types/[email protected])([email protected])
'@radix-ui/react-id': 1.1.1(@types/[email protected])([email protected])
'@radix-ui/react-slot': 1.2.2(@types/[email protected])([email protected])
'@radix-ui/react-use-controllable-state': 1.2.2(@types/[email protected])([email protected])
aria-hidden: 1.2.4
@@ -17273,7 +17282,7 @@ snapshots:
react-remove-scroll: 2.6.3(@types/[email protected])([email protected])
optionalDependencies:
'@types/react': 18.3.21
- '@types/react-dom': 19.1.6(@types/[email protected])
+ '@types/react-dom': 19.1.7(@types/[email protected])
dependencies:
@@ -17293,13 +17302,13 @@ snapshots:
'@types/react': 18.3.21
'@types/react-dom': 18.3.7(@types/[email protected])
dependencies:
'@floating-ui/react-dom': 2.1.2([email protected]([email protected]))([email protected])
'@radix-ui/react-compose-refs': 1.1.2(@types/[email protected])([email protected])
'@radix-ui/react-context': 1.1.2(@types/[email protected])([email protected])
'@radix-ui/react-use-callback-ref': 1.1.1(@types/[email protected])([email protected])
'@radix-ui/react-use-layout-effect': 1.1.1(@types/[email protected])([email protected])
'@radix-ui/react-use-rect': 1.1.1(@types/[email protected])([email protected])
@@ -17309,7 +17318,7 @@ snapshots:
react-dom: 19.1.0([email protected])
optionalDependencies:
'@types/react': 18.3.21
- '@types/react-dom': 19.1.6(@types/[email protected])
+ '@types/react-dom': 19.1.7(@types/[email protected])
dependencies:
@@ -17329,13 +17338,13 @@ snapshots:
'@types/react': 18.3.21
'@types/react-dom': 18.3.7(@types/[email protected])
dependencies:
'@floating-ui/react-dom': 2.1.2([email protected]([email protected]))([email protected])
'@radix-ui/react-compose-refs': 1.1.2(@types/[email protected])([email protected])
'@radix-ui/react-context': 1.1.2(@types/[email protected])([email protected])
'@radix-ui/react-use-callback-ref': 1.1.1(@types/[email protected])([email protected])
'@radix-ui/react-use-layout-effect': 1.1.1(@types/[email protected])([email protected])
'@radix-ui/react-use-rect': 1.1.1(@types/[email protected])([email protected])
@@ -17345,7 +17354,7 @@ snapshots:
react-dom: 19.1.0([email protected])
optionalDependencies:
'@types/react': 18.3.21
- '@types/react-dom': 19.1.6(@types/[email protected])
+ '@types/react-dom': 19.1.7(@types/[email protected])
dependencies:
@@ -17364,15 +17373,15 @@ snapshots:
'@types/react': 18.3.21
'@types/react-dom': 18.3.7(@types/[email protected])
dependencies:
'@radix-ui/react-use-layout-effect': 1.1.1(@types/[email protected])([email protected])
react: 19.1.0
react-dom: 19.1.0([email protected])
optionalDependencies:
'@types/react': 18.3.21
- '@types/react-dom': 19.1.6(@types/[email protected])
+ '@types/react-dom': 19.1.7(@types/[email protected])
dependencies:
@@ -17384,15 +17393,15 @@ snapshots:
'@types/react': 18.3.21
'@types/react-dom': 18.3.7(@types/[email protected])
dependencies:
'@radix-ui/react-use-layout-effect': 1.1.1(@types/[email protected])([email protected])
react: 19.1.0
react-dom: 19.1.0([email protected])
optionalDependencies:
'@types/react': 18.3.21
- '@types/react-dom': 19.1.6(@types/[email protected])
+ '@types/react-dom': 19.1.7(@types/[email protected])
dependencies:
@@ -17412,7 +17421,7 @@ snapshots:
'@types/react': 18.3.21
'@types/react-dom': 18.3.7(@types/[email protected])
dependencies:
'@radix-ui/react-compose-refs': 1.1.2(@types/[email protected])([email protected])
'@radix-ui/react-use-layout-effect': 1.1.1(@types/[email protected])([email protected])
@@ -17420,7 +17429,7 @@ snapshots:
react-dom: 19.1.0([email protected])
optionalDependencies:
'@types/react': 18.3.21
- '@types/react-dom': 19.1.6(@types/[email protected])
+ '@types/react-dom': 19.1.7(@types/[email protected])
dependencies:
@@ -17438,14 +17447,14 @@ snapshots:
'@types/react': 18.3.21
'@types/react-dom': 18.3.7(@types/[email protected])
dependencies:
'@radix-ui/react-slot': 1.2.2(@types/[email protected])([email protected])
react: 19.1.0
react-dom: 19.1.0([email protected])
optionalDependencies:
'@types/react': 18.3.21
- '@types/react-dom': 19.1.6(@types/[email protected])
+ '@types/react-dom': 19.1.7(@types/[email protected])
dependencies:
@@ -17456,14 +17465,14 @@ snapshots:
'@types/react': 18.3.21
'@types/react-dom': 18.3.7(@types/[email protected])
dependencies:
'@radix-ui/react-slot': 1.2.3(@types/[email protected])([email protected])
react: 19.1.0
react-dom: 19.1.0([email protected])
optionalDependencies:
'@types/react': 18.3.21
- '@types/react-dom': 19.1.6(@types/[email protected])
+ '@types/react-dom': 19.1.7(@types/[email protected])
dependencies:
@@ -17482,22 +17491,22 @@ snapshots:
'@types/react': 18.3.21
'@types/react-dom': 18.3.7(@types/[email protected])
dependencies:
'@radix-ui/primitive': 1.1.2
'@radix-ui/react-compose-refs': 1.1.2(@types/[email protected])([email protected])
'@radix-ui/react-context': 1.1.2(@types/[email protected])([email protected])
'@radix-ui/react-direction': 1.1.1(@types/[email protected])([email protected])
'@radix-ui/react-id': 1.1.1(@types/[email protected])([email protected])
'@radix-ui/react-use-callback-ref': 1.1.1(@types/[email protected])([email protected])
'@radix-ui/react-use-controllable-state': 1.2.2(@types/[email protected])([email protected])
react: 19.1.0
react-dom: 19.1.0([email protected])
optionalDependencies:
'@types/react': 18.3.21
- '@types/react-dom': 19.1.6(@types/[email protected])
+ '@types/react-dom': 19.1.7(@types/[email protected])
dependencies:
@@ -17528,34 +17537,34 @@ snapshots:
'@types/react': 18.3.21
'@types/react-dom': 18.3.7(@types/[email protected])
dependencies:
'@radix-ui/number': 1.1.1
'@radix-ui/primitive': 1.1.2
'@radix-ui/react-compose-refs': 1.1.2(@types/[email protected])([email protected])
'@radix-ui/react-context': 1.1.2(@types/[email protected])([email protected])
'@radix-ui/react-direction': 1.1.1(@types/[email protected])([email protected])
- '@radix-ui/react-dismissable-layer': 1.1.10(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])
+ '@radix-ui/react-dismissable-layer': 1.1.10(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])
'@radix-ui/react-focus-guards': 1.1.2(@types/[email protected])([email protected])
'@radix-ui/react-id': 1.1.1(@types/[email protected])([email protected])
'@radix-ui/react-slot': 1.2.3(@types/[email protected])([email protected])
'@radix-ui/react-use-callback-ref': 1.1.1(@types/[email protected])([email protected])
'@radix-ui/react-use-controllable-state': 1.2.2(@types/[email protected])([email protected])
'@radix-ui/react-use-layout-effect': 1.1.1(@types/[email protected])([email protected])
'@radix-ui/react-use-previous': 1.1.1(@types/[email protected])([email protected])
- '@radix-ui/react-visually-hidden': 1.2.3(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])
+ '@radix-ui/react-visually-hidden': 1.2.3(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])
aria-hidden: 1.2.4
react: 19.1.0
react-dom: 19.1.0([email protected])
react-remove-scroll: 2.6.3(@types/[email protected])([email protected])
optionalDependencies:
'@types/react': 18.3.21
- '@types/react-dom': 19.1.6(@types/[email protected])
+ '@types/react-dom': 19.1.7(@types/[email protected])
dependencies:
@@ -17596,12 +17605,12 @@ snapshots:
optionalDependencies:
'@types/react': 18.3.21
dependencies:
'@radix-ui/primitive': 1.1.2
'@radix-ui/react-compose-refs': 1.1.2(@types/[email protected])([email protected])
'@radix-ui/react-context': 1.1.2(@types/[email protected])([email protected])
'@radix-ui/react-use-controllable-state': 1.2.2(@types/[email protected])([email protected])
'@radix-ui/react-use-previous': 1.1.1(@types/[email protected])([email protected])
'@radix-ui/react-use-size': 1.1.1(@types/[email protected])([email protected])
@@ -17609,7 +17618,7 @@ snapshots:
react-dom: 19.1.0([email protected])
optionalDependencies:
'@types/react': 18.3.21
- '@types/react-dom': 19.1.6(@types/[email protected])
+ '@types/react-dom': 19.1.7(@types/[email protected])
dependencies:
@@ -17716,14 +17725,14 @@ snapshots:
'@types/react': 18.3.21
'@types/react-dom': 18.3.7(@types/[email protected])
dependencies:
react: 19.1.0
react-dom: 19.1.0([email protected])
optionalDependencies:
'@types/react': 18.3.21
- '@types/react-dom': 19.1.6(@types/[email protected])
+ '@types/react-dom': 19.1.7(@types/[email protected])
dependencies:
@@ -17734,14 +17743,14 @@ snapshots:
'@types/react': 18.3.21
'@types/react-dom': 18.3.7(@types/[email protected])
dependencies:
react: 19.1.0
react-dom: 19.1.0([email protected])
optionalDependencies:
'@types/react': 18.3.21
- '@types/react-dom': 19.1.6(@types/[email protected])
+ '@types/react-dom': 19.1.7(@types/[email protected])
'@radix-ui/[email protected]': {}
@@ -18708,9 +18717,9 @@ snapshots:
react: 19.1.0
react-dom: 19.1.0([email protected])
dependencies:
- '@storybook/csf-plugin': 9.1.0-alpha.8([email protected]([email protected]))
+ '@storybook/csf-plugin': 9.2.0-alpha.1([email protected]([email protected]))
storybook: 8.6.12([email protected])
ts-dedent: 2.2.0
@@ -18741,7 +18750,7 @@ snapshots:
storybook: 8.6.12([email protected])
unplugin: 1.16.1
dependencies:
storybook: 8.6.12([email protected])
unplugin: 1.16.1
@@ -19402,7 +19411,7 @@ snapshots:
dependencies:
'@types/react': 18.3.21
dependencies:
'@types/react': 18.3.21
@@ -19539,7 +19548,7 @@ snapshots:
'@typescript-eslint/scope-manager': 5.62.0
'@typescript-eslint/types': 5.62.0
'@typescript-eslint/typescript-estree': 5.62.0([email protected])
- debug: 4.4.0
+ debug: 4.4.0([email protected])
eslint: 9.30.1([email protected])
optionalDependencies:
typescript: 5.8.3
@@ -21044,10 +21053,6 @@ snapshots:
dependencies:
ms: 2.1.3
- dependencies:
- ms: 2.1.3
-
dependencies:
ms: 2.1.3
@@ -21249,19 +21254,23 @@ snapshots:
dependencies:
type-fest: 4.41.0
dependencies:
cross-spawn: 7.0.6
- dotenv: 16.5.0
- dotenv-expand: 10.0.0
+ dotenv: 17.2.1
+ dotenv-expand: 11.0.7
minimist: 1.2.8
+ dependencies:
+ dotenv: 16.5.0
+
dependencies:
'@drizzle-team/brocli': 0.10.2
@@ -21790,7 +21799,7 @@ snapshots:
dependencies:
'@nolyfill/is-core-module': 1.0.39
- debug: 4.4.0
+ debug: 4.4.0([email protected])
eslint: 9.30.1([email protected])
get-tsconfig: 4.10.0
is-bun-module: 2.0.0
@@ -22904,6 +22913,18 @@ snapshots:
section-matter: 1.0.0
strip-bom-string: 1.0.0
+ dependencies:
+ '@types/node': 18.19.97
+ '@types/node-fetch': 2.6.12
+ abort-controller: 3.0.0
+ agentkeepalive: 4.6.0
+ form-data-encoder: 1.7.2
+ formdata-node: 4.4.1
+ node-fetch: 2.7.0([email protected])
+ transitivePeerDependencies:
+ - encoding
+
dependencies:
duplexer: 0.1.2
@@ -26933,7 +26954,7 @@ snapshots:
dependencies:
'@storybook/types': 9.0.0-alpha.1([email protected]([email protected]))
magic-string: 0.30.17
solid-js: 1.9.6