├── .codespellignore ├── .github └── workflows │ └── ci.yml ├── .gitignore ├── .npmrc ├── .vscode └── settings.json ├── LICENSE ├── README.md ├── apps ├── agents │ ├── .dockerignore │ ├── .env.example │ ├── .eslintrc.cjs │ ├── .gitignore │ ├── LICENSE │ ├── jest.config.js │ ├── langgraph.json │ ├── package.json │ ├── src │ │ ├── configuration.ts │ │ ├── graph.ts │ │ ├── prompts.ts │ │ ├── security │ │ │ ├── auth.ts │ │ │ └── supabase-client.ts │ │ ├── tests │ │ │ └── integration │ │ │ │ └── graph.int.test.ts │ │ ├── tools.ts │ │ └── utils.ts │ ├── static │ │ └── studio_ui.png │ └── tsconfig.json └── web │ ├── .codespellignore │ ├── .dockerignore │ ├── .env.example │ ├── .gitignore │ ├── .prettierignore │ ├── LICENSE │ ├── components.json │ ├── eslint.config.js │ ├── next.config.mjs │ ├── package.json │ ├── pnpm-lock.yaml │ ├── postcss.config.mjs │ ├── prettier.config.js │ ├── public │ └── logo.svg │ ├── src │ ├── app │ │ ├── (app) │ │ │ ├── layout.tsx │ │ │ └── page.tsx │ │ ├── (auth) │ │ │ ├── auth-layout.tsx │ │ │ ├── layout.tsx │ │ │ ├── signin │ │ │ │ └── page.tsx │ │ │ └── signup │ │ │ │ └── page.tsx │ │ ├── api │ │ │ ├── [..._path] │ │ │ │ └── route.ts │ │ │ ├── auth │ │ │ │ └── callback │ │ │ │ │ └── route.ts │ │ │ ├── create-checkout-session │ │ │ │ └── route.ts │ │ │ ├── user │ │ │ │ └── credits │ │ │ │ │ └── route.ts │ │ │ └── webhooks │ │ │ │ └── stripe │ │ │ │ └── route.ts │ │ ├── auth-layout.tsx │ │ ├── favicon.ico │ │ ├── globals.css │ │ ├── layout.tsx │ │ ├── pricing │ │ │ ├── layout.tsx │ │ │ └── page.tsx │ │ ├── success │ │ │ └── page.tsx │ │ └── types │ │ │ └── deployment.ts │ ├── components │ │ ├── credits │ │ │ └── credit-balance.tsx │ │ ├── icons │ │ │ ├── github.tsx │ │ │ └── langgraph.tsx │ │ ├── navbar │ │ │ └── index.tsx │ │ ├── thread │ │ │ ├── ContentBlocksPreview.tsx │ │ │ ├── MultimodalPreview.tsx │ │ │ ├── agent-inbox │ │ │ │ ├── components │ │ │ │ │ ├── inbox-item-input.tsx │ │ │ │ │ ├── state-view.tsx │ │ │ │ │ ├── thread-actions-view.tsx │ │ │ │ │ ├── thread-id.tsx │ │ │ │ │ └── tool-call-table.tsx │ │ │ │ ├── hooks │ │ │ │ │ └── use-interrupted-actions.tsx │ │ │ │ ├── index.tsx │ │ │ │ ├── types.ts │ │ │ │ └── utils.ts │ │ │ ├── artifact.tsx │ │ │ ├── history │ │ │ │ └── index.tsx │ │ │ ├── index.tsx │ │ │ ├── markdown-styles.css │ │ │ ├── markdown-text.tsx │ │ │ ├── messages │ │ │ │ ├── ai.tsx │ │ │ │ ├── generic-interrupt.tsx │ │ │ │ ├── human.tsx │ │ │ │ ├── shared.tsx │ │ │ │ └── tool-calls.tsx │ │ │ ├── syntax-highlighter.tsx │ │ │ ├── tooltip-icon-button.tsx │ │ │ └── utils.ts │ │ └── ui │ │ │ ├── alert.tsx │ │ │ ├── avatar.tsx │ │ │ ├── badge.tsx │ │ │ ├── button.tsx │ │ │ ├── card.tsx │ │ │ ├── input.tsx │ │ │ ├── label.tsx │ │ │ ├── navigation-menu.tsx │ │ │ ├── password-input.tsx │ │ │ ├── progress.tsx │ │ │ ├── select.tsx │ │ │ ├── separator.tsx │ │ │ ├── sheet.tsx │ │ │ ├── skeleton.tsx │ │ │ ├── sonner.tsx │ │ │ ├── switch.tsx │ │ │ ├── textarea.tsx │ │ │ └── tooltip.tsx │ ├── constants.ts │ ├── features │ │ ├── graph-dropdown │ │ │ └── index.tsx │ │ ├── signin │ │ │ └── index.tsx │ │ ├── signup │ │ │ └── index.tsx │ │ └── user-auth-status │ │ │ └── index.tsx │ ├── hooks │ │ ├── use-credit-deduction.ts │ │ ├── use-file-upload.tsx │ │ └── useMediaQuery.tsx │ ├── lib │ │ ├── agent-inbox-interrupt.ts │ │ ├── auth │ │ │ ├── middleware.ts │ │ │ ├── supabase-client.ts │ │ │ ├── supabase-server.ts │ │ │ ├── supabase-utils.ts │ │ │ └── types.ts │ │ ├── ensure-tool-responses.ts │ │ ├── environment │ │ │ └── deployments.ts │ │ ├── multimodal-utils.ts │ │ ├── stripe-config.ts │ │ ├── stripe.ts │ │ └── utils.ts │ └── providers │ │ ├── Auth.tsx │ │ ├── Credits.tsx │ │ ├── Stream.tsx │ │ ├── Thread.tsx │ │ └── client.ts │ ├── tailwind.config.js │ └── tsconfig.json ├── docs ├── CREDIT_SYSTEM.md ├── SETUP_SUMMARY.md ├── SUPABASE_SETUP.md └── repository-overview.md ├── package.json ├── pnpm-lock.yaml ├── pnpm-workspace.yaml ├── supabase-schema.sql └── tsconfig.json /.codespellignore: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /.github/workflows/ci.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/langchain-ai/agent-auth-payments/HEAD/.github/workflows/ci.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/langchain-ai/agent-auth-payments/HEAD/.gitignore -------------------------------------------------------------------------------- /.npmrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/langchain-ai/agent-auth-payments/HEAD/.npmrc -------------------------------------------------------------------------------- /.vscode/settings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/langchain-ai/agent-auth-payments/HEAD/.vscode/settings.json -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/langchain-ai/agent-auth-payments/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/langchain-ai/agent-auth-payments/HEAD/README.md -------------------------------------------------------------------------------- /apps/agents/.dockerignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | dist -------------------------------------------------------------------------------- /apps/agents/.env.example: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/langchain-ai/agent-auth-payments/HEAD/apps/agents/.env.example -------------------------------------------------------------------------------- /apps/agents/.eslintrc.cjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/langchain-ai/agent-auth-payments/HEAD/apps/agents/.eslintrc.cjs -------------------------------------------------------------------------------- /apps/agents/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/langchain-ai/agent-auth-payments/HEAD/apps/agents/.gitignore -------------------------------------------------------------------------------- /apps/agents/LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/langchain-ai/agent-auth-payments/HEAD/apps/agents/LICENSE -------------------------------------------------------------------------------- /apps/agents/jest.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/langchain-ai/agent-auth-payments/HEAD/apps/agents/jest.config.js -------------------------------------------------------------------------------- /apps/agents/langgraph.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/langchain-ai/agent-auth-payments/HEAD/apps/agents/langgraph.json -------------------------------------------------------------------------------- /apps/agents/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/langchain-ai/agent-auth-payments/HEAD/apps/agents/package.json -------------------------------------------------------------------------------- /apps/agents/src/configuration.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/langchain-ai/agent-auth-payments/HEAD/apps/agents/src/configuration.ts -------------------------------------------------------------------------------- /apps/agents/src/graph.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/langchain-ai/agent-auth-payments/HEAD/apps/agents/src/graph.ts -------------------------------------------------------------------------------- /apps/agents/src/prompts.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/langchain-ai/agent-auth-payments/HEAD/apps/agents/src/prompts.ts -------------------------------------------------------------------------------- /apps/agents/src/security/auth.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/langchain-ai/agent-auth-payments/HEAD/apps/agents/src/security/auth.ts -------------------------------------------------------------------------------- /apps/agents/src/security/supabase-client.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/langchain-ai/agent-auth-payments/HEAD/apps/agents/src/security/supabase-client.ts -------------------------------------------------------------------------------- /apps/agents/src/tests/integration/graph.int.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/langchain-ai/agent-auth-payments/HEAD/apps/agents/src/tests/integration/graph.int.test.ts -------------------------------------------------------------------------------- /apps/agents/src/tools.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/langchain-ai/agent-auth-payments/HEAD/apps/agents/src/tools.ts -------------------------------------------------------------------------------- /apps/agents/src/utils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/langchain-ai/agent-auth-payments/HEAD/apps/agents/src/utils.ts -------------------------------------------------------------------------------- /apps/agents/static/studio_ui.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/langchain-ai/agent-auth-payments/HEAD/apps/agents/static/studio_ui.png -------------------------------------------------------------------------------- /apps/agents/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/langchain-ai/agent-auth-payments/HEAD/apps/agents/tsconfig.json -------------------------------------------------------------------------------- /apps/web/.codespellignore: -------------------------------------------------------------------------------- 1 | productionize -------------------------------------------------------------------------------- /apps/web/.dockerignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | .next 3 | .git 4 | .env -------------------------------------------------------------------------------- /apps/web/.env.example: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/langchain-ai/agent-auth-payments/HEAD/apps/web/.env.example -------------------------------------------------------------------------------- /apps/web/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/langchain-ai/agent-auth-payments/HEAD/apps/web/.gitignore -------------------------------------------------------------------------------- /apps/web/.prettierignore: -------------------------------------------------------------------------------- 1 | # Ignore artifacts: 2 | build 3 | coverage 4 | 5 | # 6 | pnpm-lock.yaml 7 | -------------------------------------------------------------------------------- /apps/web/LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/langchain-ai/agent-auth-payments/HEAD/apps/web/LICENSE -------------------------------------------------------------------------------- /apps/web/components.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/langchain-ai/agent-auth-payments/HEAD/apps/web/components.json -------------------------------------------------------------------------------- /apps/web/eslint.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/langchain-ai/agent-auth-payments/HEAD/apps/web/eslint.config.js -------------------------------------------------------------------------------- /apps/web/next.config.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/langchain-ai/agent-auth-payments/HEAD/apps/web/next.config.mjs -------------------------------------------------------------------------------- /apps/web/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/langchain-ai/agent-auth-payments/HEAD/apps/web/package.json -------------------------------------------------------------------------------- /apps/web/pnpm-lock.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/langchain-ai/agent-auth-payments/HEAD/apps/web/pnpm-lock.yaml -------------------------------------------------------------------------------- /apps/web/postcss.config.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/langchain-ai/agent-auth-payments/HEAD/apps/web/postcss.config.mjs -------------------------------------------------------------------------------- /apps/web/prettier.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/langchain-ai/agent-auth-payments/HEAD/apps/web/prettier.config.js -------------------------------------------------------------------------------- /apps/web/public/logo.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/langchain-ai/agent-auth-payments/HEAD/apps/web/public/logo.svg -------------------------------------------------------------------------------- /apps/web/src/app/(app)/layout.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/langchain-ai/agent-auth-payments/HEAD/apps/web/src/app/(app)/layout.tsx -------------------------------------------------------------------------------- /apps/web/src/app/(app)/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/langchain-ai/agent-auth-payments/HEAD/apps/web/src/app/(app)/page.tsx -------------------------------------------------------------------------------- /apps/web/src/app/(auth)/auth-layout.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/langchain-ai/agent-auth-payments/HEAD/apps/web/src/app/(auth)/auth-layout.tsx -------------------------------------------------------------------------------- /apps/web/src/app/(auth)/layout.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/langchain-ai/agent-auth-payments/HEAD/apps/web/src/app/(auth)/layout.tsx -------------------------------------------------------------------------------- /apps/web/src/app/(auth)/signin/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/langchain-ai/agent-auth-payments/HEAD/apps/web/src/app/(auth)/signin/page.tsx -------------------------------------------------------------------------------- /apps/web/src/app/(auth)/signup/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/langchain-ai/agent-auth-payments/HEAD/apps/web/src/app/(auth)/signup/page.tsx -------------------------------------------------------------------------------- /apps/web/src/app/api/[..._path]/route.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/langchain-ai/agent-auth-payments/HEAD/apps/web/src/app/api/[..._path]/route.ts -------------------------------------------------------------------------------- /apps/web/src/app/api/auth/callback/route.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/langchain-ai/agent-auth-payments/HEAD/apps/web/src/app/api/auth/callback/route.ts -------------------------------------------------------------------------------- /apps/web/src/app/api/create-checkout-session/route.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/langchain-ai/agent-auth-payments/HEAD/apps/web/src/app/api/create-checkout-session/route.ts -------------------------------------------------------------------------------- /apps/web/src/app/api/user/credits/route.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/langchain-ai/agent-auth-payments/HEAD/apps/web/src/app/api/user/credits/route.ts -------------------------------------------------------------------------------- /apps/web/src/app/api/webhooks/stripe/route.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/langchain-ai/agent-auth-payments/HEAD/apps/web/src/app/api/webhooks/stripe/route.ts -------------------------------------------------------------------------------- /apps/web/src/app/auth-layout.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/langchain-ai/agent-auth-payments/HEAD/apps/web/src/app/auth-layout.tsx -------------------------------------------------------------------------------- /apps/web/src/app/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/langchain-ai/agent-auth-payments/HEAD/apps/web/src/app/favicon.ico -------------------------------------------------------------------------------- /apps/web/src/app/globals.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/langchain-ai/agent-auth-payments/HEAD/apps/web/src/app/globals.css -------------------------------------------------------------------------------- /apps/web/src/app/layout.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/langchain-ai/agent-auth-payments/HEAD/apps/web/src/app/layout.tsx -------------------------------------------------------------------------------- /apps/web/src/app/pricing/layout.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/langchain-ai/agent-auth-payments/HEAD/apps/web/src/app/pricing/layout.tsx -------------------------------------------------------------------------------- /apps/web/src/app/pricing/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/langchain-ai/agent-auth-payments/HEAD/apps/web/src/app/pricing/page.tsx -------------------------------------------------------------------------------- /apps/web/src/app/success/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/langchain-ai/agent-auth-payments/HEAD/apps/web/src/app/success/page.tsx -------------------------------------------------------------------------------- /apps/web/src/app/types/deployment.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/langchain-ai/agent-auth-payments/HEAD/apps/web/src/app/types/deployment.ts -------------------------------------------------------------------------------- /apps/web/src/components/credits/credit-balance.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/langchain-ai/agent-auth-payments/HEAD/apps/web/src/components/credits/credit-balance.tsx -------------------------------------------------------------------------------- /apps/web/src/components/icons/github.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/langchain-ai/agent-auth-payments/HEAD/apps/web/src/components/icons/github.tsx -------------------------------------------------------------------------------- /apps/web/src/components/icons/langgraph.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/langchain-ai/agent-auth-payments/HEAD/apps/web/src/components/icons/langgraph.tsx -------------------------------------------------------------------------------- /apps/web/src/components/navbar/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/langchain-ai/agent-auth-payments/HEAD/apps/web/src/components/navbar/index.tsx -------------------------------------------------------------------------------- /apps/web/src/components/thread/ContentBlocksPreview.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/langchain-ai/agent-auth-payments/HEAD/apps/web/src/components/thread/ContentBlocksPreview.tsx -------------------------------------------------------------------------------- /apps/web/src/components/thread/MultimodalPreview.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/langchain-ai/agent-auth-payments/HEAD/apps/web/src/components/thread/MultimodalPreview.tsx -------------------------------------------------------------------------------- /apps/web/src/components/thread/agent-inbox/components/inbox-item-input.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/langchain-ai/agent-auth-payments/HEAD/apps/web/src/components/thread/agent-inbox/components/inbox-item-input.tsx -------------------------------------------------------------------------------- /apps/web/src/components/thread/agent-inbox/components/state-view.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/langchain-ai/agent-auth-payments/HEAD/apps/web/src/components/thread/agent-inbox/components/state-view.tsx -------------------------------------------------------------------------------- /apps/web/src/components/thread/agent-inbox/components/thread-actions-view.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/langchain-ai/agent-auth-payments/HEAD/apps/web/src/components/thread/agent-inbox/components/thread-actions-view.tsx -------------------------------------------------------------------------------- /apps/web/src/components/thread/agent-inbox/components/thread-id.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/langchain-ai/agent-auth-payments/HEAD/apps/web/src/components/thread/agent-inbox/components/thread-id.tsx -------------------------------------------------------------------------------- /apps/web/src/components/thread/agent-inbox/components/tool-call-table.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/langchain-ai/agent-auth-payments/HEAD/apps/web/src/components/thread/agent-inbox/components/tool-call-table.tsx -------------------------------------------------------------------------------- /apps/web/src/components/thread/agent-inbox/hooks/use-interrupted-actions.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/langchain-ai/agent-auth-payments/HEAD/apps/web/src/components/thread/agent-inbox/hooks/use-interrupted-actions.tsx -------------------------------------------------------------------------------- /apps/web/src/components/thread/agent-inbox/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/langchain-ai/agent-auth-payments/HEAD/apps/web/src/components/thread/agent-inbox/index.tsx -------------------------------------------------------------------------------- /apps/web/src/components/thread/agent-inbox/types.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/langchain-ai/agent-auth-payments/HEAD/apps/web/src/components/thread/agent-inbox/types.ts -------------------------------------------------------------------------------- /apps/web/src/components/thread/agent-inbox/utils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/langchain-ai/agent-auth-payments/HEAD/apps/web/src/components/thread/agent-inbox/utils.ts -------------------------------------------------------------------------------- /apps/web/src/components/thread/artifact.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/langchain-ai/agent-auth-payments/HEAD/apps/web/src/components/thread/artifact.tsx -------------------------------------------------------------------------------- /apps/web/src/components/thread/history/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/langchain-ai/agent-auth-payments/HEAD/apps/web/src/components/thread/history/index.tsx -------------------------------------------------------------------------------- /apps/web/src/components/thread/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/langchain-ai/agent-auth-payments/HEAD/apps/web/src/components/thread/index.tsx -------------------------------------------------------------------------------- /apps/web/src/components/thread/markdown-styles.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/langchain-ai/agent-auth-payments/HEAD/apps/web/src/components/thread/markdown-styles.css -------------------------------------------------------------------------------- /apps/web/src/components/thread/markdown-text.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/langchain-ai/agent-auth-payments/HEAD/apps/web/src/components/thread/markdown-text.tsx -------------------------------------------------------------------------------- /apps/web/src/components/thread/messages/ai.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/langchain-ai/agent-auth-payments/HEAD/apps/web/src/components/thread/messages/ai.tsx -------------------------------------------------------------------------------- /apps/web/src/components/thread/messages/generic-interrupt.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/langchain-ai/agent-auth-payments/HEAD/apps/web/src/components/thread/messages/generic-interrupt.tsx -------------------------------------------------------------------------------- /apps/web/src/components/thread/messages/human.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/langchain-ai/agent-auth-payments/HEAD/apps/web/src/components/thread/messages/human.tsx -------------------------------------------------------------------------------- /apps/web/src/components/thread/messages/shared.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/langchain-ai/agent-auth-payments/HEAD/apps/web/src/components/thread/messages/shared.tsx -------------------------------------------------------------------------------- /apps/web/src/components/thread/messages/tool-calls.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/langchain-ai/agent-auth-payments/HEAD/apps/web/src/components/thread/messages/tool-calls.tsx -------------------------------------------------------------------------------- /apps/web/src/components/thread/syntax-highlighter.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/langchain-ai/agent-auth-payments/HEAD/apps/web/src/components/thread/syntax-highlighter.tsx -------------------------------------------------------------------------------- /apps/web/src/components/thread/tooltip-icon-button.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/langchain-ai/agent-auth-payments/HEAD/apps/web/src/components/thread/tooltip-icon-button.tsx -------------------------------------------------------------------------------- /apps/web/src/components/thread/utils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/langchain-ai/agent-auth-payments/HEAD/apps/web/src/components/thread/utils.ts -------------------------------------------------------------------------------- /apps/web/src/components/ui/alert.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/langchain-ai/agent-auth-payments/HEAD/apps/web/src/components/ui/alert.tsx -------------------------------------------------------------------------------- /apps/web/src/components/ui/avatar.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/langchain-ai/agent-auth-payments/HEAD/apps/web/src/components/ui/avatar.tsx -------------------------------------------------------------------------------- /apps/web/src/components/ui/badge.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/langchain-ai/agent-auth-payments/HEAD/apps/web/src/components/ui/badge.tsx -------------------------------------------------------------------------------- /apps/web/src/components/ui/button.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/langchain-ai/agent-auth-payments/HEAD/apps/web/src/components/ui/button.tsx -------------------------------------------------------------------------------- /apps/web/src/components/ui/card.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/langchain-ai/agent-auth-payments/HEAD/apps/web/src/components/ui/card.tsx -------------------------------------------------------------------------------- /apps/web/src/components/ui/input.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/langchain-ai/agent-auth-payments/HEAD/apps/web/src/components/ui/input.tsx -------------------------------------------------------------------------------- /apps/web/src/components/ui/label.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/langchain-ai/agent-auth-payments/HEAD/apps/web/src/components/ui/label.tsx -------------------------------------------------------------------------------- /apps/web/src/components/ui/navigation-menu.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/langchain-ai/agent-auth-payments/HEAD/apps/web/src/components/ui/navigation-menu.tsx -------------------------------------------------------------------------------- /apps/web/src/components/ui/password-input.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/langchain-ai/agent-auth-payments/HEAD/apps/web/src/components/ui/password-input.tsx -------------------------------------------------------------------------------- /apps/web/src/components/ui/progress.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/langchain-ai/agent-auth-payments/HEAD/apps/web/src/components/ui/progress.tsx -------------------------------------------------------------------------------- /apps/web/src/components/ui/select.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/langchain-ai/agent-auth-payments/HEAD/apps/web/src/components/ui/select.tsx -------------------------------------------------------------------------------- /apps/web/src/components/ui/separator.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/langchain-ai/agent-auth-payments/HEAD/apps/web/src/components/ui/separator.tsx -------------------------------------------------------------------------------- /apps/web/src/components/ui/sheet.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/langchain-ai/agent-auth-payments/HEAD/apps/web/src/components/ui/sheet.tsx -------------------------------------------------------------------------------- /apps/web/src/components/ui/skeleton.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/langchain-ai/agent-auth-payments/HEAD/apps/web/src/components/ui/skeleton.tsx -------------------------------------------------------------------------------- /apps/web/src/components/ui/sonner.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/langchain-ai/agent-auth-payments/HEAD/apps/web/src/components/ui/sonner.tsx -------------------------------------------------------------------------------- /apps/web/src/components/ui/switch.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/langchain-ai/agent-auth-payments/HEAD/apps/web/src/components/ui/switch.tsx -------------------------------------------------------------------------------- /apps/web/src/components/ui/textarea.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/langchain-ai/agent-auth-payments/HEAD/apps/web/src/components/ui/textarea.tsx -------------------------------------------------------------------------------- /apps/web/src/components/ui/tooltip.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/langchain-ai/agent-auth-payments/HEAD/apps/web/src/components/ui/tooltip.tsx -------------------------------------------------------------------------------- /apps/web/src/constants.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/langchain-ai/agent-auth-payments/HEAD/apps/web/src/constants.ts -------------------------------------------------------------------------------- /apps/web/src/features/graph-dropdown/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/langchain-ai/agent-auth-payments/HEAD/apps/web/src/features/graph-dropdown/index.tsx -------------------------------------------------------------------------------- /apps/web/src/features/signin/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/langchain-ai/agent-auth-payments/HEAD/apps/web/src/features/signin/index.tsx -------------------------------------------------------------------------------- /apps/web/src/features/signup/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/langchain-ai/agent-auth-payments/HEAD/apps/web/src/features/signup/index.tsx -------------------------------------------------------------------------------- /apps/web/src/features/user-auth-status/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/langchain-ai/agent-auth-payments/HEAD/apps/web/src/features/user-auth-status/index.tsx -------------------------------------------------------------------------------- /apps/web/src/hooks/use-credit-deduction.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/langchain-ai/agent-auth-payments/HEAD/apps/web/src/hooks/use-credit-deduction.ts -------------------------------------------------------------------------------- /apps/web/src/hooks/use-file-upload.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/langchain-ai/agent-auth-payments/HEAD/apps/web/src/hooks/use-file-upload.tsx -------------------------------------------------------------------------------- /apps/web/src/hooks/useMediaQuery.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/langchain-ai/agent-auth-payments/HEAD/apps/web/src/hooks/useMediaQuery.tsx -------------------------------------------------------------------------------- /apps/web/src/lib/agent-inbox-interrupt.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/langchain-ai/agent-auth-payments/HEAD/apps/web/src/lib/agent-inbox-interrupt.ts -------------------------------------------------------------------------------- /apps/web/src/lib/auth/middleware.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/langchain-ai/agent-auth-payments/HEAD/apps/web/src/lib/auth/middleware.ts -------------------------------------------------------------------------------- /apps/web/src/lib/auth/supabase-client.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/langchain-ai/agent-auth-payments/HEAD/apps/web/src/lib/auth/supabase-client.ts -------------------------------------------------------------------------------- /apps/web/src/lib/auth/supabase-server.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/langchain-ai/agent-auth-payments/HEAD/apps/web/src/lib/auth/supabase-server.ts -------------------------------------------------------------------------------- /apps/web/src/lib/auth/supabase-utils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/langchain-ai/agent-auth-payments/HEAD/apps/web/src/lib/auth/supabase-utils.ts -------------------------------------------------------------------------------- /apps/web/src/lib/auth/types.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/langchain-ai/agent-auth-payments/HEAD/apps/web/src/lib/auth/types.ts -------------------------------------------------------------------------------- /apps/web/src/lib/ensure-tool-responses.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/langchain-ai/agent-auth-payments/HEAD/apps/web/src/lib/ensure-tool-responses.ts -------------------------------------------------------------------------------- /apps/web/src/lib/environment/deployments.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/langchain-ai/agent-auth-payments/HEAD/apps/web/src/lib/environment/deployments.ts -------------------------------------------------------------------------------- /apps/web/src/lib/multimodal-utils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/langchain-ai/agent-auth-payments/HEAD/apps/web/src/lib/multimodal-utils.ts -------------------------------------------------------------------------------- /apps/web/src/lib/stripe-config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/langchain-ai/agent-auth-payments/HEAD/apps/web/src/lib/stripe-config.ts -------------------------------------------------------------------------------- /apps/web/src/lib/stripe.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/langchain-ai/agent-auth-payments/HEAD/apps/web/src/lib/stripe.ts -------------------------------------------------------------------------------- /apps/web/src/lib/utils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/langchain-ai/agent-auth-payments/HEAD/apps/web/src/lib/utils.ts -------------------------------------------------------------------------------- /apps/web/src/providers/Auth.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/langchain-ai/agent-auth-payments/HEAD/apps/web/src/providers/Auth.tsx -------------------------------------------------------------------------------- /apps/web/src/providers/Credits.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/langchain-ai/agent-auth-payments/HEAD/apps/web/src/providers/Credits.tsx -------------------------------------------------------------------------------- /apps/web/src/providers/Stream.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/langchain-ai/agent-auth-payments/HEAD/apps/web/src/providers/Stream.tsx -------------------------------------------------------------------------------- /apps/web/src/providers/Thread.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/langchain-ai/agent-auth-payments/HEAD/apps/web/src/providers/Thread.tsx -------------------------------------------------------------------------------- /apps/web/src/providers/client.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/langchain-ai/agent-auth-payments/HEAD/apps/web/src/providers/client.ts -------------------------------------------------------------------------------- /apps/web/tailwind.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/langchain-ai/agent-auth-payments/HEAD/apps/web/tailwind.config.js -------------------------------------------------------------------------------- /apps/web/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/langchain-ai/agent-auth-payments/HEAD/apps/web/tsconfig.json -------------------------------------------------------------------------------- /docs/CREDIT_SYSTEM.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/langchain-ai/agent-auth-payments/HEAD/docs/CREDIT_SYSTEM.md -------------------------------------------------------------------------------- /docs/SETUP_SUMMARY.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/langchain-ai/agent-auth-payments/HEAD/docs/SETUP_SUMMARY.md -------------------------------------------------------------------------------- /docs/SUPABASE_SETUP.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/langchain-ai/agent-auth-payments/HEAD/docs/SUPABASE_SETUP.md -------------------------------------------------------------------------------- /docs/repository-overview.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/langchain-ai/agent-auth-payments/HEAD/docs/repository-overview.md -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/langchain-ai/agent-auth-payments/HEAD/package.json -------------------------------------------------------------------------------- /pnpm-lock.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/langchain-ai/agent-auth-payments/HEAD/pnpm-lock.yaml -------------------------------------------------------------------------------- /pnpm-workspace.yaml: -------------------------------------------------------------------------------- 1 | packages: 2 | - 'apps/*' -------------------------------------------------------------------------------- /supabase-schema.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/langchain-ai/agent-auth-payments/HEAD/supabase-schema.sql -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/langchain-ai/agent-auth-payments/HEAD/tsconfig.json --------------------------------------------------------------------------------