Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 16 additions & 1 deletion .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,18 @@ GOOGLE_CLIENT_SECRET=
MICROSOFT_CLIENT_ID=
MICROSOFT_CLIENT_SECRET=

# Zoom OAuth (optional)
Copy link
Copy Markdown
Contributor

@cubic-dev-ai cubic-dev-ai bot Mar 25, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2: Zoom variables are marked optional, but the runtime env schema requires them.

Prompt for AI agents
Check if this issue is valid — if so, understand the root cause and fix it. At .env.example, line 14:

<comment>Zoom variables are marked optional, but the runtime env schema requires them.</comment>

<file context>
@@ -11,8 +11,18 @@ GOOGLE_CLIENT_SECRET=
 MICROSOFT_CLIENT_ID=
 MICROSOFT_CLIENT_SECRET=
 
+# Zoom OAuth (optional)
+ZOOM_CLIENT_ID=
+ZOOM_CLIENT_SECRET=
</file context>
Suggested change
# Zoom OAuth (optional)
# Zoom OAuth
Fix with Cubic

ZOOM_CLIENT_ID=
ZOOM_CLIENT_SECRET=

# Google Places API (optional)
GOOGLE_MAPS_API_KEY=
NEXT_PUBLIC_GOOGLE_MAPS_API_KEY=

# Vercel (optional)
VERCEL_URL=
NEXT_PUBLIC_VERCEL_URL=
NEXT_PUBLIC_VERCEL_ENV="development"

# Upstash Redis or Redis HTTP proxy
UPSTASH_REDIS_REST_URL="http://localhost:8079"
Expand All @@ -29,4 +39,9 @@ SRH_CONNECTION_STRING="redis://redis:6379"

# Marble Blog (optional)
MARBLE_WORKSPACE_KEY=
MARBLE_API_URL=https://api.marblecms.com
MARBLE_API_URL=https://api.marblecms.com

# AI integrations (optional)
COMPOSIO_API_KEY=
Copy link
Copy Markdown
Contributor

@cubic-dev-ai cubic-dev-ai bot Mar 25, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2: The AI integrations section is labeled optional, but FIRECRAWL and BROWSERBASE keys are required by env validation.

Prompt for AI agents
Check if this issue is valid — if so, understand the root cause and fix it. At .env.example, line 45:

<comment>The AI integrations section is labeled optional, but FIRECRAWL and BROWSERBASE keys are required by env validation.</comment>

<file context>
@@ -29,4 +39,9 @@ SRH_CONNECTION_STRING="redis://redis:6379"
+MARBLE_API_URL=https://api.marblecms.com
+
+# AI integrations (optional)
+COMPOSIO_API_KEY=
+FIRECRAWL_API_KEY=
+BROWSERBASE_API_KEY=
</file context>
Fix with Cubic

FIRECRAWL_API_KEY=
BROWSERBASE_API_KEY=
4 changes: 2 additions & 2 deletions apps/web/src/lib/trpc/client.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ export const trpc = createTRPCClient<AppRouter>({
links: [
loggerLink({
enabled: (op) =>
process.env.NEXT_PUBLIC_ENV === "development" ||
env.NEXT_PUBLIC_ENV === "development" ||
(op.direction === "down" && op.result instanceof Error),
}),
httpBatchStreamLink({
Expand Down Expand Up @@ -77,7 +77,7 @@ export function TRPCReactProvider(props: Readonly<TRPCReactProviderProps>) {
links: [
loggerLink({
enabled: (op) =>
process.env.NEXT_PUBLIC_ENV === "development" ||
env.NEXT_PUBLIC_ENV === "development" ||
(op.direction === "down" && op.result instanceof Error),
}),
httpBatchStreamLink({
Expand Down
Loading