open-swe/apps/web/src/app/page.tsx
Dylan Boudro d778021da3
feat: Auth from Stream --> Middleware (#280)
* init auth stream --> middleware

* minor cleanup

* fix build

* fix github token

* minor format

* handle access token + GH install key

* add prompt to install GH app

* fix build

* fix gh install token passing

* remove console logs

* CR

* CR

* move dep, rm private key string replace

* CR minor fixes

* Update apps/web/src/providers/client.ts

---------

Co-authored-by: Brace Sproul <braceasproul@gmail.com>
2025-06-23 17:18:28 -07:00

23 lines
661 B
TypeScript

"use client";
import { Thread } from "@/components/thread";
import { ThreadProvider } from "@/providers/Thread";
import { StreamProvider } from "@/providers/Stream";
import { Toaster } from "@/components/ui/sonner";
import React from "react";
import { GitHubAppProvider } from "@/providers/GitHubApp";
export default function DemoPage(): React.ReactNode {
return (
<React.Suspense fallback={<div>Loading (layout)...</div>}>
<Toaster />
<GitHubAppProvider>
<ThreadProvider>
<StreamProvider>
<Thread />
</StreamProvider>
</ThreadProvider>
</GitHubAppProvider>
</React.Suspense>
);
}