{"owner":"supermemoryai","repo":"supermemory","hasSkills":true,"hasMcp":false,"mcpConfig":null,"found":["CLAUDE.md"],"skills":{"CLAUDE.md":"# CLAUDE.md\n\nThis file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.\n\n## Repository Structure\n\nThis is a **Turbo monorepo** containing multiple applications and shared packages:\n\n### Applications (`apps/`)\n- **`web/`** - Next.js web application\n- **`mcp/`** - Model Context Protocol server\n\n## Development Commands\n\n### Root Level (Monorepo)\n- `bun run dev` - Start all applications in development mode\n- `bun run build` - Build all applications\n- `bun run check-types` - Run TypeScript checks across all apps\n- `bun run format-lint` - Format and lint code using Biome\n\n### Web Application (`apps/web/`)\n- `bun run dev` - Start Next.js development server\n- `bun run build` - Build Next.js application\n- `bun run lint` - Run Next.js linting\n\n## Architecture Overview\n\n### Core Technology Stack\n- **Runtime**: Next.js (web)\n- **Framework**: Next.js (web)\n- **Language**: TypeScript throughout\n- **Package Manager**: Bun\n- **Monorepo**: Turbo\n- **Authentication**: Better Auth\n- **Monitoring**: Sentry\n\n### API Application (Primary Backend)\nThe API serves as the core backend with these key features:\n\n**Key API Routes**\n- `/v3/documents` - CRUD operations for documents/memories\n- `/v3/search` - Semantic search across indexed content\n- `/v3/connections` - External service integrations (Google Drive, Notion, OneDrive)\n- `/v3/settings` - Organization and user settings\n- `/v3/analytics` - Usage analytics and reporting\n- `/api/auth/*` - Authentication endpoints\n\n### Web Application\nNext.js application providing user interface for:\n\n## Key Libraries & Dependencies\n\n### Shared Dependencies\n- `better-auth` - Authentication system with organization support\n- `drizzle-orm` - Database ORM\n- `zod` - Schema validation\n- `hono` - Web framework (API & MCP)\n- `@sentry/*` - Error monitoring\n- `turbo` - Monorepo build system\n\n### Web-Specific\n- `next` - React framework\n- `@radix-ui/*` - UI components\n- `@tanstack/react-query` - Data fetching\n- `recharts` - Analytics visualization\n\n## Development Workflow\n\n### Content Processing Pipeline\nAll content goes through the `IngestContentWorkflow` which handles:\n- Content type detection and extraction\n- AI-powered summarization and automatic tagging\n- Vector embedding generation using Cloudflare AI\n- Chunking for semantic search optimization\n- Space relationship management\n\n### Environment Configuration\n- Uses `wrangler.jsonc` for Cloudflare Workers configuration\n- Supports staging and production environments\n- Requires Cloudflare bindings: Hyperdrive (DB), AI, KV storage, Workflows\n- Cron triggers every 4 hours for connection imports\n\n### Error Handling & Monitoring\n- HTTPException for consistent API error responses\n- Sentry integration with user and organization context\n- Custom logging that filters analytics noise\n\n## Code Quality & Standards\n\n### Linting & Formatting\n- **Biome** used for linting and formatting across the monorepo\n- Run `bun run format-lint` to format and lint all code\n- Configuration in `biome.json` at repository root\n\n### TypeScript\n- Strict TypeScript configuration with `@total-typescript/tsconfig`\n- Type checking with `bun run check-types`\n- Cloudflare Workers type generation with `cf-typegen`\n\n### Database Management\n- Drizzle ORM with schema located in shared packages\n- Database migrations handled through Drizzle Kit\n- Schema types automatically generated and shared\n\n## Security & Best Practices\n\n### Authentication\n- Better Auth handles user authentication and organization management\n- API key authentication for external access\n- Role-based access control within organizations\n\n### Data Handling\n- Content hashing to prevent duplicate processing\n- Secure handling of external service credentials\n- Automatic content type detection and validation\n\n### Deployment\n- Cloudflare Workers for scalable serverless deployment\n- Source map uploads to Sentry for production debugging\n- Environment-specific configuration management\n"},"files":{"CLAUDE.md":"# CLAUDE.md\n\nThis file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.\n\n## Repository Structure\n\nThis is a **Turbo monorepo** containing multiple applications and shared packages:\n\n### Applications (`apps/`)\n- **`web/`** - Next.js web application\n- **`mcp/`** - Model Context Protocol server\n\n## Development Commands\n\n### Root Level (Monorepo)\n- `bun run dev` - Start all applications in development mode\n- `bun run build` - Build all applications\n- `bun run check-types` - Run TypeScript checks across all apps\n- `bun run format-lint` - Format and lint code using Biome\n\n### Web Application (`apps/web/`)\n- `bun run dev` - Start Next.js development server\n- `bun run build` - Build Next.js application\n- `bun run lint` - Run Next.js linting\n\n## Architecture Overview\n\n### Core Technology Stack\n- **Runtime**: Next.js (web)\n- **Framework**: Next.js (web)\n- **Language**: TypeScript throughout\n- **Package Manager**: Bun\n- **Monorepo**: Turbo\n- **Authentication**: Better Auth\n- **Monitoring**: Sentry\n\n### API Application (Primary Backend)\nThe API serves as the core backend with these key features:\n\n**Key API Routes**\n- `/v3/documents` - CRUD operations for documents/memories\n- `/v3/search` - Semantic search across indexed content\n- `/v3/connections` - External service integrations (Google Drive, Notion, OneDrive)\n- `/v3/settings` - Organization and user settings\n- `/v3/analytics` - Usage analytics and reporting\n- `/api/auth/*` - Authentication endpoints\n\n### Web Application\nNext.js application providing user interface for:\n\n## Key Libraries & Dependencies\n\n### Shared Dependencies\n- `better-auth` - Authentication system with organization support\n- `drizzle-orm` - Database ORM\n- `zod` - Schema validation\n- `hono` - Web framework (API & MCP)\n- `@sentry/*` - Error monitoring\n- `turbo` - Monorepo build system\n\n### Web-Specific\n- `next` - React framework\n- `@radix-ui/*` - UI components\n- `@tanstack/react-query` - Data fetching\n- `recharts` - Analytics visualization\n\n## Development Workflow\n\n### Content Processing Pipeline\nAll content goes through the `IngestContentWorkflow` which handles:\n- Content type detection and extraction\n- AI-powered summarization and automatic tagging\n- Vector embedding generation using Cloudflare AI\n- Chunking for semantic search optimization\n- Space relationship management\n\n### Environment Configuration\n- Uses `wrangler.jsonc` for Cloudflare Workers configuration\n- Supports staging and production environments\n- Requires Cloudflare bindings: Hyperdrive (DB), AI, KV storage, Workflows\n- Cron triggers every 4 hours for connection imports\n\n### Error Handling & Monitoring\n- HTTPException for consistent API error responses\n- Sentry integration with user and organization context\n- Custom logging that filters analytics noise\n\n## Code Quality & Standards\n\n### Linting & Formatting\n- **Biome** used for linting and formatting across the monorepo\n- Run `bun run format-lint` to format and lint all code\n- Configuration in `biome.json` at repository root\n\n### TypeScript\n- Strict TypeScript configuration with `@total-typescript/tsconfig`\n- Type checking with `bun run check-types`\n- Cloudflare Workers type generation with `cf-typegen`\n\n### Database Management\n- Drizzle ORM with schema located in shared packages\n- Database migrations handled through Drizzle Kit\n- Schema types automatically generated and shared\n\n## Security & Best Practices\n\n### Authentication\n- Better Auth handles user authentication and organization management\n- API key authentication for external access\n- Role-based access control within organizations\n\n### Data Handling\n- Content hashing to prevent duplicate processing\n- Secure handling of external service credentials\n- Automatic content type detection and validation\n\n### Deployment\n- Cloudflare Workers for scalable serverless deployment\n- Source map uploads to Sentry for production debugging\n- Environment-specific configuration management\n"},"items":[{"name":"CLAUDE.md","path":"CLAUDE.md","title":"CLAUDE.md","content":"# CLAUDE.md\n\nThis file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.\n\n## Repository Structure\n\nThis is a **Turbo monorepo** containing multiple applications and shared packages:\n\n### Applications (`apps/`)\n- **`web/`** - Next.js web application\n- **`mcp/`** - Model Context Protocol server\n\n## Development Commands\n\n### Root Level (Monorepo)\n- `bun run dev` - Start all applications in development mode\n- `bun run build` - Build all applications\n- `bun run check-types` - Run TypeScript checks across all apps\n- `bun run format-lint` - Format and lint code using Biome\n\n### Web Application (`apps/web/`)\n- `bun run dev` - Start Next.js development server\n- `bun run build` - Build Next.js application\n- `bun run lint` - Run Next.js linting\n\n## Architecture Overview\n\n### Core Technology Stack\n- **Runtime**: Next.js (web)\n- **Framework**: Next.js (web)\n- **Language**: TypeScript throughout\n- **Package Manager**: Bun\n- **Monorepo**: Turbo\n- **Authentication**: Better Auth\n- **Monitoring**: Sentry\n\n### API Application (Primary Backend)\nThe API serves as the core backend with these key features:\n\n**Key API Routes**\n- `/v3/documents` - CRUD operations for documents/memories\n- `/v3/search` - Semantic search across indexed content\n- `/v3/connections` - External service integrations (Google Drive, Notion, OneDrive)\n- `/v3/settings` - Organization and user settings\n- `/v3/analytics` - Usage analytics and reporting\n- `/api/auth/*` - Authentication endpoints\n\n### Web Application\nNext.js application providing user interface for:\n\n## Key Libraries & Dependencies\n\n### Shared Dependencies\n- `better-auth` - Authentication system with organization support\n- `drizzle-orm` - Database ORM\n- `zod` - Schema validation\n- `hono` - Web framework (API & MCP)\n- `@sentry/*` - Error monitoring\n- `turbo` - Monorepo build system\n\n### Web-Specific\n- `next` - React framework\n- `@radix-ui/*` - UI components\n- `@tanstack/react-query` - Data fetching\n- `recharts` - Analytics visualization\n\n## Development Workflow\n\n### Content Processing Pipeline\nAll content goes through the `IngestContentWorkflow` which handles:\n- Content type detection and extraction\n- AI-powered summarization and automatic tagging\n- Vector embedding generation using Cloudflare AI\n- Chunking for semantic search optimization\n- Space relationship management\n\n### Environment Configuration\n- Uses `wrangler.jsonc` for Cloudflare Workers configuration\n- Supports staging and production environments\n- Requires Cloudflare bindings: Hyperdrive (DB), AI, KV storage, Workflows\n- Cron triggers every 4 hours for connection imports\n\n### Error Handling & Monitoring\n- HTTPException for consistent API error responses\n- Sentry integration with user and organization context\n- Custom logging that filters analytics noise\n\n## Code Quality & Standards\n\n### Linting & Formatting\n- **Biome** used for linting and formatting across the monorepo\n- Run `bun run format-lint` to format and lint all code\n- Configuration in `biome.json` at repository root\n\n### TypeScript\n- Strict TypeScript configuration with `@total-typescript/tsconfig`\n- Type checking with `bun run check-types`\n- Cloudflare Workers type generation with `cf-typegen`\n\n### Database Management\n- Drizzle ORM with schema located in shared packages\n- Database migrations handled through Drizzle Kit\n- Schema types automatically generated and shared\n\n## Security & Best Practices\n\n### Authentication\n- Better Auth handles user authentication and organization management\n- API key authentication for external access\n- Role-based access control within organizations\n\n### Data Handling\n- Content hashing to prevent duplicate processing\n- Secure handling of external service credentials\n- Automatic content type detection and validation\n\n### Deployment\n- Cloudflare Workers for scalable serverless deployment\n- Source map uploads to Sentry for production debugging\n- Environment-specific configuration management\n","category":"root","tokens":991}]}