diff --git a/.github/workflows/azure-webapps-node.yml b/.github/workflows/azure-webapps-node.yml deleted file mode 100644 index 96bbe97..0000000 --- a/.github/workflows/azure-webapps-node.yml +++ /dev/null @@ -1,79 +0,0 @@ -# This workflow will build and push a node.js application to an Azure Web App when a commit is pushed to your default branch. -# -# This workflow assumes you have already created the target Azure App Service web app. -# For instructions see https://docs.microsoft.com/en-us/azure/app-service/quickstart-nodejs?tabs=linux&pivots=development-environment-cli -# -# To configure this workflow: -# -# 1. Download the Publish Profile for your Azure Web App. You can download this file from the Overview page of your Web App in the Azure Portal. -# For more information: https://docs.microsoft.com/en-us/azure/app-service/deploy-github-actions?tabs=applevel#generate-deployment-credentials -# -# 2. Create a secret in your repository named AZURE_WEBAPP_PUBLISH_PROFILE, paste the publish profile contents as the value of the secret. -# For instructions on obtaining the publish profile see: https://docs.microsoft.com/azure/app-service/deploy-github-actions#configure-the-github-secret -# -# 3. Change the value for the AZURE_WEBAPP_NAME. Optionally, change the AZURE_WEBAPP_PACKAGE_PATH and NODE_VERSION environment variables below. -# -# For more information on GitHub Actions for Azure: https://github.com/Azure/Actions -# For more information on the Azure Web Apps Deploy action: https://github.com/Azure/webapps-deploy -# For more samples to get started with GitHub Action workflows to deploy to Azure: https://github.com/Azure/actions-workflow-samples - -on: - push: - branches: - - "main" - workflow_dispatch: - -env: - AZURE_WEBAPP_NAME: your-app-name # set this to your application's name - AZURE_WEBAPP_PACKAGE_PATH: '.' # set this to the path to your web app project, defaults to the repository root - NODE_VERSION: '14.x' # set this to the node version to use - -permissions: - contents: read - -jobs: - build: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - - - name: Set up Node.js - uses: actions/setup-node@v3 - with: - node-version: ${{ env.NODE_VERSION }} - cache: 'npm' - - - name: npm install, build, and test - run: | - npm install - npm run build --if-present - npm run test --if-present - - - name: Upload artifact for deployment job - uses: actions/upload-artifact@v3 - with: - name: node-app - path: . - - deploy: - permissions: - contents: none - runs-on: ubuntu-latest - needs: build - environment: - name: 'Development' - url: ${{ steps.deploy-to-webapp.outputs.webapp-url }} - - steps: - - name: Download artifact from build job - uses: actions/download-artifact@v3 - with: - name: node-app - - - name: 'Deploy to Azure WebApp' - id: deploy-to-webapp - uses: azure/webapps-deploy@v2 - with: - app-name: ${{ env.AZURE_WEBAPP_NAME }} - publish-profile: ${{ secrets.AZURE_WEBAPP_PUBLISH_PROFILE }} - package: ${{ env.AZURE_WEBAPP_PACKAGE_PATH }} diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml deleted file mode 100644 index bd70af2..0000000 --- a/.github/workflows/codeql-analysis.yml +++ /dev/null @@ -1,72 +0,0 @@ -# For most projects, this workflow file will not need changing; you simply need -# to commit it to your repository. -# -# You may wish to alter this file to override the set of languages analyzed, -# or to provide custom queries or build logic. -# -# ******** NOTE ******** -# We have attempted to detect the languages in your repository. Please check -# the `language` matrix defined below to confirm you have the correct set of -# supported CodeQL languages. -# -name: "CodeQL" - -on: - push: - branches: [ "main" ] - pull_request: - # The branches below must be a subset of the branches above - branches: [ "main" ] - schedule: - - cron: '38 11 * * 6' - -jobs: - analyze: - name: Analyze - runs-on: ubuntu-latest - permissions: - actions: read - contents: read - security-events: write - - strategy: - fail-fast: false - matrix: - language: [ ] - # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ] - # Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support - - steps: - - name: Checkout repository - uses: actions/checkout@v3 - - # Initializes the CodeQL tools for scanning. - - name: Initialize CodeQL - uses: github/codeql-action/init@v2 - with: - languages: ${{ matrix.language }} - # If you wish to specify custom queries, you can do so here or in a config file. - # By default, queries listed here will override any specified in a config file. - # Prefix the list here with "+" to use these queries and those in the config file. - - # Details on CodeQL's query packs refer to : https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs - # queries: security-extended,security-and-quality - - - # Autobuild attempts to build any compiled languages (C/C++, C#, or Java). - # If this step fails, then you should remove it and run the build manually (see below) - - name: Autobuild - uses: github/codeql-action/autobuild@v2 - - # ℹ️ Command-line programs to run using the OS shell. - # 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun - - # If the Autobuild fails above, remove it and uncomment the following three lines. - # modify them (or add more) to build your code if your project, please refer to the EXAMPLE below for guidance. - - # - run: | - # echo "Run, Build Application using script" - # ./location_of_script_within_repo/buildscript.sh - - - name: Perform CodeQL Analysis - uses: github/codeql-action/analyze@v2 diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml deleted file mode 100644 index 3fa2da0..0000000 --- a/.github/workflows/codeql.yml +++ /dev/null @@ -1,76 +0,0 @@ -# For most projects, this workflow file will not need changing; you simply need -# to commit it to your repository. -# -# You may wish to alter this file to override the set of languages analyzed, -# or to provide custom queries or build logic. -# -# ******** NOTE ******** -# We have attempted to detect the languages in your repository. Please check -# the `language` matrix defined below to confirm you have the correct set of -# supported CodeQL languages. -# -name: "CodeQL" - -on: - push: - branches: [ "main" ] - pull_request: - # The branches below must be a subset of the branches above - branches: [ "main" ] - schedule: - - cron: '25 19 * * 2' - -jobs: - analyze: - name: Analyze - runs-on: ubuntu-latest - permissions: - actions: read - contents: read - security-events: write - - strategy: - fail-fast: false - matrix: - language: [ ] - # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ] - # Use only 'java' to analyze code written in Java, Kotlin or both - # Use only 'javascript' to analyze code written in JavaScript, TypeScript or both - # Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support - - steps: - - name: Checkout repository - uses: actions/checkout@v3 - - # Initializes the CodeQL tools for scanning. - - name: Initialize CodeQL - uses: github/codeql-action/init@v2 - with: - languages: ${{ matrix.language }} - # If you wish to specify custom queries, you can do so here or in a config file. - # By default, queries listed here will override any specified in a config file. - # Prefix the list here with "+" to use these queries and those in the config file. - - # Details on CodeQL's query packs refer to : https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs - # queries: security-extended,security-and-quality - - - # Autobuild attempts to build any compiled languages (C/C++, C#, Go, or Java). - # If this step fails, then you should remove it and run the build manually (see below) - - name: Autobuild - uses: github/codeql-action/autobuild@v2 - - # ℹ️ Command-line programs to run using the OS shell. - # 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun - - # If the Autobuild fails above, remove it and uncomment the following three lines. - # modify them (or add more) to build your code if your project, please refer to the EXAMPLE below for guidance. - - # - run: | - # echo "Run, Build Application using script" - # ./location_of_script_within_repo/buildscript.sh - - - name: Perform CodeQL Analysis - uses: github/codeql-action/analyze@v2 - with: - category: "/language:${{matrix.language}}" diff --git a/.github/workflows/dotnet.yml b/.github/workflows/dotnet.yml deleted file mode 100644 index 97d46b9..0000000 --- a/.github/workflows/dotnet.yml +++ /dev/null @@ -1,25 +0,0 @@ -name: .NET - -on: - push: - branches: [ "main" ] - pull_request: - branches: [ "main" ] - -jobs: - build: - - runs-on: ubuntu-latest - - steps: - - uses: actions/checkout@v3 - - name: Setup .NET - uses: actions/setup-dotnet@v2 - with: - dotnet-version: 5.0.x - - name: Restore dependencies - run: dotnet restore - - name: Build - run: dotnet build --no-restore - - name: Test - run: dotnet test --no-build --verbosity normal diff --git a/.github/workflows/jekyll-gh-pages.yml b/.github/workflows/jekyll-gh-pages.yml deleted file mode 100644 index 0acc24c..0000000 --- a/.github/workflows/jekyll-gh-pages.yml +++ /dev/null @@ -1,50 +0,0 @@ -# Sample workflow for building and deploying a Jekyll site to GitHub Pages -name: Deploy Jekyll with GitHub Pages dependencies preinstalled - -on: - # Runs on pushes targeting the default branch - push: - branches: ["main"] - - # Allows you to run this workflow manually from the Actions tab - workflow_dispatch: - -# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages -permissions: - contents: read - pages: write - id-token: write - -# Allow one concurrent deployment -concurrency: - group: "pages" - cancel-in-progress: true - -jobs: - # Build job - build: - runs-on: ubuntu-latest - steps: - - name: Checkout - uses: actions/checkout@v3 - - name: Setup Pages - uses: actions/configure-pages@v2 - - name: Build with Jekyll - uses: actions/jekyll-build-pages@v1 - with: - source: ./ - destination: ./_site - - name: Upload artifact - uses: actions/upload-pages-artifact@v1 - - # Deployment job - deploy: - environment: - name: github-pages - url: ${{ steps.deployment.outputs.page_url }} - runs-on: ubuntu-latest - needs: build - steps: - - name: Deploy to GitHub Pages - id: deployment - uses: actions/deploy-pages@v1 diff --git a/AGENT-QUICKSTART.md b/AGENT-QUICKSTART.md deleted file mode 100644 index 1976634..0000000 --- a/AGENT-QUICKSTART.md +++ /dev/null @@ -1,592 +0,0 @@ -# 🤖 OMNI-333 Agent Quickstart - -**Fast-Track Setup for Autonomous AI Agents** | 5-Minute Installation -**Version:** 1.0.0 -**Organization:** https-quantumblockchainai-atlassian-net - ---- - -## ⚡ 30-Second Quick Start - -```bash -# 1. Clone -git clone https://github.com/https-quantumblockchainai-atlassian-net/AgentGPT.git -cd AgentGPT - -# 2. Install -npm install - -# 3. Configure -echo "OPENAI_API_KEY=sk_test_your_key_here" > .env.local -echo "NEXTAUTH_SECRET=$(openssl rand -base64 32)" >> .env.local -echo "NEXTAUTH_URL=http://localhost:3000" >> .env.local - -# 4. Run -npm run dev - -# 5. Access -open http://localhost:3000 -``` - ---- - -## 🎯 What is AgentGPT? - -**AgentGPT** allows you to: -- 🔧 Configure autonomous AI agents -- 🎨 Name your custom AI agent -- 🚀 Define any goal imaginable -- 🧠 Let the agent think, execute, and learn - -The agent will: -1. **Think** - Break down goals into tasks -2. **Execute** - Perform actions using tools -3. **Learn** - Adjust based on results - ---- - -## 📋 Prerequisites - -```bash -# Check Node.js version -node --version # Should be >= 16.0.0 (18+ recommended) -npm --version # Should be >= 8.0.0 - -# Check Git -git --version - -# Verify OpenAI API access (get key from https://platform.openai.com) -# You'll need an OpenAI API key -``` - -### System Requirements - -| Component | Requirement | -|-----------|-------------| -| **Node.js** | >= 16.0.0 (18+ LTS recommended) | -| **NPM** | >= 8.0.0 | -| **RAM** | >= 4GB | -| **Disk Space** | >= 500MB | -| **Internet** | Required (API calls) | - ---- - -## 🚀 Installation (3 Steps) - -### Step 1: Clone & Install - -```bash -# Clone the repository -git clone https://github.com/https-quantumblockchainai-atlassian-net/AgentGPT.git -cd AgentGPT - -# Install dependencies -npm install -# This will take 2-3 minutes on first install - -# Alternative with faster package manager -pnpm install # or yarn install -``` - -### Step 2: Configure Environment - -```bash -# Copy environment template -cp .env.example .env.local - -# Edit .env.local with your keys -nano .env.local -# or -open .env.local -# or -code .env.local -``` - -**Required Variables:** - -```env -# API Configuration -OPENAI_API_KEY=sk_test_your_actual_key_here - -# NextAuth Configuration -NEXTAUTH_SECRET=your_secret_key_here -# Generate: openssl rand -base64 32 - -NEXTAUTH_URL=http://localhost:3000 - -# Database (SQLite for local development) -DATABASE_URL=file:./db.sqlite -``` - -### Step 3: Setup & Run - -```bash -# Setup database -npx prisma db push - -# Start development server -npm run dev - -# Server starts on http://localhost:3000 -``` - ---- - -## 🔑 Getting API Keys - -### OpenAI API Key (Required) - -1. Go to [OpenAI Platform](https://platform.openai.com) -2. Sign up or log in -3. Navigate to **API keys** → **Create new secret key** -4. Copy the key to your `.env.local` - -```bash -# Verify your key works -curl https://api.openai.com/v1/models \ - -H "Authorization: Bearer $OPENAI_API_KEY" -``` - -### NextAuth Secret (Auto-generate) - -```bash -# Generate a random secret -openssl rand -base64 32 - -# Or use Node.js -node -e "console.log(require('crypto').randomBytes(32).toString('base64'))" -``` - ---- - -## 💻 Development Server - -### Start Development Mode - -```bash -npm run dev -``` - -**Output:** -``` -> next dev - -> AgentGPT dev server running on http://localhost:3000 -``` - -### Access the Application - -```bash -# Open in browser -open http://localhost:3000 -# or -xdg-open http://localhost:3000 -# or -start http://localhost:3000 -``` - -### Hot Reload - -Changes to code automatically reload the browser. No need to restart! - ---- - -## 🎮 Using AgentGPT - -### Create Your First Agent - -1. **Navigate** to http://localhost:3000 -2. **Name** your agent (e.g., "DataAnalyzer", "CodeBot", "ContentCreator") -3. **Set Goal** - Be specific! Examples: - - "Analyze the sentiment of customer reviews" - - "Generate a marketing plan for my SaaS" - - "Create a weekly meal plan for 4 people" -4. **Click Deploy** - Watch your agent work! - -### Agent Capabilities - -The agent can: -- ✅ Research information -- ✅ Break down complex tasks -- ✅ Execute multiple steps -- ✅ Learn from results -- ✅ Provide detailed reporting - -### Example Goals - -``` -"Create a comprehensive guide on machine learning for beginners" - -"Analyze competitor pricing and suggest our optimal price point" - -"Generate SEO recommendations for my blog" - -"Create a project timeline for developing a mobile app" - -"Write and optimize a LinkedIn profile summary" -``` - ---- - -## 🛠️ Available Commands - -```bash -# Development -npm run dev # Start dev server (http://localhost:3000) - -# Production -npm run build # Build for production -npm run start # Start production server - -# Testing & Quality -npm run test # Run tests (if configured) -npm run lint # Check code quality -npm run type-check # Run TypeScript checks - -# Database -npx prisma studio # Open Prisma Studio (database GUI) -npx prisma db push # Sync database schema - -# Utilities -npm run clean # Clean build artifacts -npm run format # Format code with Prettier -``` - ---- - -## 🐳 Docker Setup (Optional) - -### Quick Docker Start - -```bash -# Build image -docker build -t agentgpt . - -# Run container -docker run -p 3000:3000 \ - -e OPENAI_API_KEY=sk_test_your_key \ - -e NEXTAUTH_SECRET=your_secret \ - agentgpt -``` - -### Docker Compose - -```yaml -version: '3.8' - -services: - agentgpt: - build: . - ports: - - "3000:3000" - environment: - OPENAI_API_KEY: ${OPENAI_API_KEY} - NEXTAUTH_SECRET: ${NEXTAUTH_SECRET} - NEXTAUTH_URL: http://localhost:3000 - DATABASE_URL: file:./db.sqlite - volumes: - - ./db:/app/db -``` - -```bash -# Run with Docker Compose -docker-compose up -``` - ---- - -## 🔧 Troubleshooting - -### Issue: "OPENAI_API_KEY is not defined" - -```bash -# Check .env.local -cat .env.local - -# Verify file exists -ls -la .env.local - -# Re-create if needed -cp .env.example .env.local -nano .env.local -``` - -### Issue: "Port 3000 already in use" - -```bash -# Kill process on port 3000 -lsof -ti:3000 | xargs kill -9 - -# Or use different port -PORT=3001 npm run dev -``` - -### Issue: "Module not found" - -```bash -# Clean install -rm -rf node_modules package-lock.json -npm install -npm run dev -``` - -### Issue: "Prisma error" - -```bash -# Reset database -npx prisma db push --force-reset - -# Or regenerate client -npx prisma generate -``` - -### Issue: "npm ERR! code ERESOLVE" - -```bash -# Use legacy peer dependencies flag -npm install --legacy-peer-deps -``` - ---- - -## 📚 Project Structure - -``` -AgentGPT/ -├── src/ -│ ├── pages/ # Next.js pages -│ ├── components/ # React components -│ ├── server/ # Backend API (tRPC) -│ ├── env/ # Environment validation -│ └── styles/ # TailwindCSS -├── prisma/ -│ └── schema.prisma # Database schema -├── public/ # Static assets -├── .env.local # Your local config -├── .eslintrc.json # Linting rules -├── tsconfig.json # TypeScript config -└── package.json # Dependencies -``` - ---- - -## 📖 Tech Stack Explained - -| Layer | Technology | Purpose | -|-------|-----------|---------| -| **Framework** | Next.js 13 | React framework with server components | -| **Language** | TypeScript | Type-safe JavaScript | -| **Styling** | TailwindCSS | Utility-first CSS | -| **UI Library** | HeadlessUI | Unstyled accessible components | -| **Database** | Prisma + Supabase | Type-safe ORM | -| **API** | tRPC | Type-safe RPC framework | -| **Auth** | NextAuth.js | Authentication | -| **Validation** | Zod | Schema validation | - ---- - -## 🌐 Deploying to Production - -### Deploy to Vercel (Recommended) - -```bash -# Install Vercel CLI -npm install -g vercel - -# Deploy -vercel - -# Set environment variables in Vercel dashboard -# - OPENAI_API_KEY -# - NEXTAUTH_SECRET -# - NEXTAUTH_URL (your production URL) -# - DATABASE_URL (if using cloud database) -``` - -### Environment Variables for Production - -```env -OPENAI_API_KEY=sk_live_your_production_key -NEXTAUTH_SECRET=your_production_secret_key -NEXTAUTH_URL=https://yourdomain.com -DATABASE_URL=postgresql://user:pass@host/db -NODE_ENV=production -``` - ---- - -## 🔒 Security Best Practices - -### Local Development - -```bash -# Never commit .env.local -echo ".env.local" >> .gitignore - -# Use different keys for dev/prod -# DEV: Use sk_test_* keys -# PROD: Use sk_* keys (production) - -# Rotate keys regularly -# Check for exposed keys: git-secrets, gitleaks -``` - -### Production - -```bash -# Use environment variable management service -# - GitHub Secrets -# - Vercel Environment Variables -# - HashiCorp Vault -# - AWS Secrets Manager - -# Enable HTTPS only -# Use Content Security Policy -# Enable CORS properly -``` - ---- - -## 📊 Monitoring & Logging - -### Development Logging - -```bash -# Enable debug mode -DEBUG=* npm run dev - -# View server logs -tail -f .next/server.log -``` - -### Production Monitoring - -```bash -# Monitor with Vercel Analytics -# or use service like: -# - Sentry (error tracking) -# - Datadog (monitoring) -# - LogRocket (session replay) -``` - ---- - -## 🤝 Contributing - -### Fork & Submit PR - -```bash -# 1. Fork repository -# 2. Create feature branch -git checkout -b feature/my-feature - -# 3. Make changes and commit -git add . -git commit -m "feat: description of changes" - -# 4. Push and create PR -git push origin feature/my-feature -``` - ---- - -## 📖 Learning Resources - -### Official Documentation -- [Next.js Docs](https://nextjs.org/docs) -- [React Docs](https://react.dev) -- [TypeScript Handbook](https://www.typescriptlang.org/docs/) -- [Prisma Docs](https://www.prisma.io/docs/) -- [TailwindCSS Docs](https://tailwindcss.com/docs) -- [tRPC Docs](https://trpc.io/docs) - -### AgentGPT Specific -- [GitHub Repository](https://github.com/https-quantumblockchainai-atlassian-net/AgentGPT) -- [Discord Community](https://discord.gg/gcmNyAAFfV) -- [Issues & Discussions](https://github.com/reworkd/AgentGPT/issues) - ---- - -## ⏱️ Time Estimates - -| Task | Time | -|------|------| -| Install Node.js | 5-10 min | -| Clone repo | 1-2 min | -| npm install | 2-3 min | -| Environment setup | 2-3 min | -| Database setup | 1-2 min | -| Start dev server | 30 sec | -| **Total** | **15-20 min** | - ---- - -## ✅ Verification Checklist - -- [ ] Node.js 18+ installed -- [ ] Repository cloned -- [ ] Dependencies installed (`npm install`) -- [ ] `.env.local` created and filled -- [ ] OpenAI API key verified -- [ ] Database initialized (`npx prisma db push`) -- [ ] Dev server running (`npm run dev`) -- [ ] Can access http://localhost:3000 -- [ ] Can create and run an agent - ---- - -## 🆘 Getting Help - -### If Something Goes Wrong - -1. **Check logs** - Run `npm run dev` and read error messages -2. **Clear cache** - `rm -rf node_modules package-lock.json && npm install` -3. **Check environment** - `cat .env.local` -4. **Search issues** - [GitHub Issues](https://github.com/https-quantumblockchainai-atlassian-net/AgentGPT/issues) -5. **Ask community** - [Discord](https://discord.gg/gcmNyAAFfV) - -### Debug Mode - -```bash -# Enable verbose logging -DEBUG=* npm run dev - -# TypeScript strict mode -npm run type-check - -# Lint check -npm run lint -``` - ---- - -## 🚀 Next Steps - -1. **Create an agent** - Set a goal and run it! -2. **Explore API** - Check tRPC endpoints in `/src/server/api/routers` -3. **Customize UI** - Modify components in `/src/components` -4. **Read code** - Understand the structure -5. **Deploy** - Push to production on Vercel -6. **Contribute** - Help improve AgentGPT! - ---- - -## 📞 Support - -| Channel | Link | -|---------|------| -| **GitHub Issues** | [Open Issue](https://github.com/https-quantumblockchainai-atlassian-net/AgentGPT/issues) | -| **Discord** | [Join Community](https://discord.gg/gcmNyAAFfV) | -| **Twitter** | [@asimdotshrestha](https://twitter.com/asimdotshrestha) | -| **Website** | [agentgpt.reworkd.ai](https://agentgpt.reworkd.ai) | - ---- - -**Happy agent building! 🚀** - ---- - -**Last Updated:** May 20, 2026 -**Version:** 1.0.0 -**Status:** ✅ Current & Maintained -**OMNI-333 Initiative** diff --git a/DEPENDENCIES.md b/DEPENDENCIES.md deleted file mode 100644 index 8e7092c..0000000 --- a/DEPENDENCIES.md +++ /dev/null @@ -1,604 +0,0 @@ -# Dependencies Registry — OMNI-333 Organization - -**Organization:** https-quantumblockchainai-atlassian-net -**Owner:** q1blue -**Generated:** 2026-05-20 -**Verification Method:** Direct source file audit (package.json, shard.yml) -**Status:** ✅ SOURCE-VERIFIED (Except quantumblockchainai: UNVERIFIED) - ---- - -## 📋 Quick Reference - -| Project | Runtime | Framework | DB/ORM | Package Manager | Total Deps | Last Commit | Age | -|---------|---------|-----------|--------|-----------------|------------|-------------|-----| -| **AgentGPT** | Node 18+ | Next.js 13.1.6 | Prisma 4.9.0 | npm | 37 prod + 25 dev | 2024-04-28 | 13mo | -| **omni-333-anubis** | Node 12+ | Next.js 12.0.5 | Prisma 3.3.0 | npm | 20 prod + 14 dev | 2023-01-13 | 3yr | -| **openai-crystal** | Crystal 0.35.1 | — | — | shards | 2 dev | 2022-06-10 | 3yr | -| **quantumblockchainai** | Node (canary) | Next.js (canary) | — | npm | ⚠️ UNVERIFIED | 2023-03-07 | 2yr | -| **CrystalAIQuickStart** | .NET 5.0+ | — | — | dotnet | ⚠️ NOT AUDITED | 2025-10-15 | 7mo | - ---- - -## 🟦 AgentGPT (FULLY VERIFIED ✅) - -**Source:** `package.json` from commit f53cb26cb91baadcfddfd74cfbc28d2be60802a2 -**Stack:** Next.js 13 + TypeScript + Prisma + NextAuth + tRPC -**Last Commit:** 2024-04-28 (13 months stale) -**Fork Status:** reworkd/AgentGPT (upstream has 56 open issues) - -### Runtime Requirements -``` -Node.js >= 18.0.0 -npm >= 8.0.0 -``` - -### Production Dependencies (37 total) - -#### Core Framework -```json -"next": "13.1.6", -"react": "18.2.0", -"react-dom": "18.2.0" -``` - -#### Type Safety & Validation -```json -"typescript": "^5.0.4", -"zod": "^3.20.2" -``` - -#### Database & ORM -```json -"@prisma/client": "^4.9.0", -"prisma": "^4.9.0" -``` - -#### Authentication -```json -"next-auth": "^4.19.0" -``` - -#### API & RPC -```json -"@trpc/client": "^10.9.0", -"@trpc/next": "^10.20.0", -"@trpc/react-query": "^10.20.0", -"@trpc/server": "^10.9.0", -"@tanstack/react-query": "^4.20.0", -"superjson": "1.9.1" -``` - -#### UI Components & Styling -```json -"@headlessui/react": "^1.7.14", -"@radix-ui/react-toast": "^1.1.3", -"@radix-ui/react-tooltip": "^1.0.5", -"tailwindcss": "^3.2.0", -"clsx": "^1.2.1", -"framer-motion": "^10.11.2" -``` - -#### AI/ML & Data Processing -```json -"langchain": "^0.0.63", -"chromadb": "^1.4.1" -``` - -#### Content Processing -```json -"react-markdown": "^8.0.7", -"rehype-highlight": "^6.0.0", -"remark-gfm": "^3.0.1", -"html-to-image": "^1.11.11", -"@react-pdf/renderer": "^3.1.9", -"cheerio": "^1.0.0-rc.12" -``` - -#### Internationalization -```json -"i18next": "^22.4.15", -"next-i18next": "^13.2.2", -"react-i18next": "^12.2.0" -``` - -#### Analytics & Monitoring -```json -"@vercel/analytics": "^0.1.11", -"nextjs-google-analytics": "^2.3.3" -``` - -#### Edge Computing -```json -"@vercel/edge": "^0.3.3" -``` - -#### Rate Limiting -```json -"@upstash/ratelimit": "^0.4.2" -``` - -#### Payment Processing -```json -"stripe": "^12.0.0" -``` - -#### HTTP & Utilities -```json -"axios": "^0.26.0", -"micro": "^10.0.1", -"micro-cors": "^0.1.1", -"uuid": "^9.0.0", -"react-icons": "^4.8.0" -``` - -#### UI Components (Additional) -```json -"@uiball/loaders": "^1.2.6" -``` - -### Dev Dependencies (25 total) - -```json -"@testing-library/jest-dom": "^5.16.5", -"@testing-library/react": "^14.0.0", -"@types/micro": "^10.0.0", -"@types/micro-cors": "^0.1.2", -"@types/node": "^18.11.18", -"@types/prettier": "^2.7.2", -"@types/react": "^18.0.26", -"@types/react-dom": "^18.0.10", -"@types/uuid": "^9.0.1", -"@typescript-eslint/eslint-plugin": "^5.47.1", -"@typescript-eslint/parser": "^5.47.1", -"autoprefixer": "^10.4.7", -"cross-env": "^7.0.3", -"eslint": "^8.30.0", -"eslint-config-next": "13.1.6", -"husky": "^8.0.3", -"jest": "^29.3.1", -"jest-environment-jsdom": "^29.3.1", -"lint-staged": "^13.2.1", -"postcss": "^8.4.22", -"prettier": "^2.8.1", -"prettier-plugin-tailwindcss": "^0.2.1", -"tailwindcss": "^3.2.0" -``` - -### Installation -```bash -git clone https://github.com/https-quantumblockchainai-atlassian-net/AgentGPT.git -cd AgentGPT -npm install -``` - ---- - -## 🟦 omni-333-anubis-hybrid-agent-system (FULLY VERIFIED ✅) - -**Source:** `package.json` from commit 4216f41dbd0a6c7374753f794a084d346ed713fe -**Package Name:** "starter" (not "omni-333-anubis") -**Stack:** Next.js 12 + TypeScript + Prisma 3.3 + NextAuth (beta) -**Last Commit:** 2023-01-13 (3+ years stale) -**Hosting:** Netlify (legacy Next.js 12 support via @netlify/plugin-nextjs@4.0.0-beta.4) - -### Runtime Requirements -``` -Node.js 12+ -npm >= 6.0.0 -``` - -### Production Dependencies (20 total) - -#### Core Framework (Legacy) -```json -"next": "^12.0.5", -"react": "^17.0.2", -"react-dom": "^17.0.2" -``` - -#### Type Safety -```json -"typescript": "^4.2.3" -``` - -#### Database & ORM (LEGACY - EOL) -```json -"@prisma/client": "^3.3.0", -"prisma": "^3.3.0" -``` - -**⚠️ CRITICAL:** Prisma 3.3.0 was released October 2021 and is EOL. Current stable: 5.x (3 major versions ahead). - -#### Authentication (Beta) -```json -"next-auth": "4.0.0-beta.6", -"@next-auth/prisma-adapter": "^0.5.2-next.19" -``` - -**⚠️ WARNING:** NextAuth 4.0.0-beta.6 is pre-release. Current stable: 5.x. - -#### UI & Forms -```json -"@headlessui/react": "^1.4.1", -"@heroicons/react": "^1.0.5", -"@tailwindcss/forms": "^0.2.1", -"react-hook-form": "^7.18.1", -"classnames": "^2.3.1" -``` - -#### Styling -```json -"tailwindcss": "^2.2.2" -``` - -#### Data Fetching & Query Management -```json -"react-query": "^3.23.2", -"superagent": "^6.1.0" -``` - -#### Security -```json -"bcryptjs": "^2.4.3" -``` - -#### Utilities -```json -"lodash": "^4.17.21", -"next-connect": "^0.10.2" -``` - -### Dev Dependencies (14 total) - -```json -"@netlify/plugin-nextjs": "^4.0.0-beta.4", -"@types/bcryptjs": "^2.4.2", -"@types/lodash": "^4.14.176", -"@types/node": "^14.14.33", -"@types/react": "^17.0.3", -"@types/superagent": "^4.1.13", -"@typescript-eslint/eslint-plugin": "^4.27.0", -"@typescript-eslint/parser": "^4.27.0", -"autoprefixer": "^10.2.5", -"eslint": "^7.29.0", -"eslint-config-prettier": "^8.3.0", -"eslint-plugin-prettier": "^3.4.0", -"eslint-plugin-react": "^7.24.0", -"eslint-plugin-react-hooks": "^4.2.0", -"jest": "^27.0.5", -"lint-staged": "^11.0.0", -"mockdate": "^3.0.5", -"postcss": "^8.2.8", -"prettier": "^2.3.1", -"ts-node": "^10.4.0", -"webpack": "^5.62.1" -``` - -### Installation -```bash -git clone https://github.com/https-quantumblockchainai-atlassian-net/omni-333-anubis-hybrid-agent-system-nextjs-planetscale-starter.git -cd omni-333-anubis-hybrid-agent-system-nextjs-planetscale-starter -npm install -npm run db:generate -npm run db:migrate -npm run dev -``` - -### 🔴 URGENT: Modernization Required - -This project requires **3 major version upgrades:** - -| Component | Current | Required | Status | -|-----------|---------|----------|--------| -| Next.js | 12.0.5 | 14.0+ | 2 major versions behind | -| React | 17.0.2 | 18.0+ | 1 major version behind | -| Prisma | 3.3.0 | 5.0+ | 2 major versions behind | -| NextAuth | 4.0.0-beta | 5.0+ stable | Pre-release → stable | -| TypeScript | 4.2.3 | 5.0+ | Outdated | - -**Migration Path:** -```bash -# 1. Backup current state -git checkout -b upgrade/modernize-2026 - -# 2. Update package.json manually or: -npm install next@latest react@latest react-dom@latest - -# 3. Update Prisma (requires schema changes) -npm install @prisma/client@latest prisma@latest -npx prisma migrate dev --name modernize - -# 4. Update NextAuth -npm install next-auth@latest - -# 5. Run tests and verify -npm run test -npm run build - -# 6. Commit and test in staging -``` - ---- - -## 🟪 openai-crystal (FULLY VERIFIED ✅) - -**Source:** `shard.yml` from commit 2660b93e6ed37cd58e2eae86aa9437112993b296 -**Language:** Crystal 0.35.1 -**Package Manager:** Shards -**Last Commit:** 2022-06-10 (3+ years stale) -**Type:** OpenAI API client library -**Author:** Erik Berlin -**License:** MIT - -### Runtime Requirements -``` -Crystal >= 0.35.1 -Shards >= 0.16 -``` - -### Dev Dependencies (2 total) - -```yaml -ameba: - github: crystal-ameba/ameba - # Crystal linter and static analysis tool - -webmock: - github: manastech/webmock.cr - # HTTP request mocking for tests -``` - -### Installation -```bash -git clone https://github.com/https-quantumblockchainai-atlassian-net/openai-crystal.git -cd openai-crystal -shards install -crystal spec -``` - -### Metadata -```yaml -name: openai -version: 0.2.0 -authors: - - Erik Berlin -crystal: 0.35.1 -license: MIT -``` - ---- - -## 🟨 quantumblockchainai — ⚠️ UNVERIFIED - -**Source:** package.json — **404 NOT FOUND** -**Repository URL:** https://github.com/https-quantumblockchainai-atlassian-net/quantumblockchainai -**Last Commit:** 2023-03-07 (2+ years stale) -**Commit Count:** 1 (appears to be initial fork commit) -**Branches Checked:** main, master — both return 404 for package.json -**Fork Source:** `vercel/examples` - -### ⚠️ STATUS: CANNOT VERIFY - -The package.json file cannot be retrieved from either main or master branch. Possible causes: - -1. **File not in repository root** — May be in subdirectory -2. **Repository corrupted or archived** — Only 1 commit visible -3. **Non-standard structure** — Monorepo or non-standard layout -4. **File deleted** — Historical commit may contain it - -### Previous Chat's Claims (UNVERIFIED) - -The previous chat claimed the following dependencies for this project: - -``` -next@canary -react@latest -react-dom@latest -@vercel/examples-ui@1.0.4 -@vercel/edge-config@0.1.0-canary.15 -``` - -**These claims cannot be verified against source.** Do not rely on this dependency list. - -### Recommended Action - -```bash -# Clone and inspect manually -git clone https://github.com/https-quantumblockchainai-atlassian-net/quantumblockchainai.git -cd quantumblockchainai -find . -name "package.json" -o -name "*.csproj" -o -name "shard.yml" - -# Check git history -git log --oneline -git show HEAD:package.json -``` - ---- - -## 🟩 CrystalAIQuickStart — ⚠️ NOT YET AUDITED - -**Repository:** https://github.com/https-quantumblockchainai-atlassian-net/CrystalAIQuickStart -**Language:** C# -**Last Commit:** 2025-10-15 (7 months stale) -**Expected Package File:** `.csproj` -**Status:** Requires manual inspection - -**To audit this project:** -```bash -git clone https://github.com/https-quantumblockchainai-atlassian-net/CrystalAIQuickStart.git -cat CrystalAIQuickStart.csproj -# or -dotnet list package -``` - ---- - -## Package Manager Commands Reference - -### NPM (JavaScript/TypeScript Projects) - -```bash -# AgentGPT & omni-333-anubis - -# Install all dependencies -npm install - -# Install specific package -npm install - -# Install dev dependency -npm install --save-dev - -# Update all packages -npm update - -# Check outdated packages -npm outdated - -# Security audit -npm audit -npm audit fix -npm audit --json > audit-report.json - -# View dependency tree -npm list -npm list --depth=0 -``` - -### Shards (Crystal) - -```bash -# openai-crystal - -# Install all dependencies -shards install - -# Update all dependencies -shards update - -# Check lock file -cat shard.lock - -# List installed shards -shards list -``` - -### Dotnet (.NET/C#) - -```bash -# CrystalAIQuickStart - -# Restore NuGet packages -dotnet restore - -# Add package -dotnet add package - -# Remove package -dotnet remove package - -# List packages -dotnet list package - -# Update packages -dotnet update - -# Check for vulnerabilities -dotnet list package --vulnerable -``` - ---- - -## Vulnerability & Security Status - -### AgentGPT (Next.js 13.1.6) -```bash -cd AgentGPT -npm audit - -# Expected: Some vulnerabilities in indirect dependencies -# Status: Monitor and apply npm audit fix regularly -``` - -**Current Known Risks:** -- `next@13.1.6` — Deprecated, should upgrade to 14+ -- `langchain@0.0.63` — Pre-1.0, may have breaking changes -- `chromadb@1.4.1` — Older version, check for security issues - -### omni-333-anubis (Next.js 12.0.5 + Prisma 3.3.0) -```bash -cd omni-333-anubis-hybrid-agent-system-nextjs-planetscale-starter -npm audit - -# Expected: MULTIPLE CRITICAL VULNERABILITIES -# Status: Requires immediate modernization -``` - -**Critical Issues:** -- `next@12.0.5` — EOL, 2 major versions behind -- `prisma@3.3.0` — EOL, 2 major versions behind -- `@next-auth/prisma-adapter@0.5.2-next.19` — Pre-release, should be stable -- `next-auth@4.0.0-beta.6` — Beta version, not production-ready - -### openai-crystal -```bash -cd openai-crystal -shards install -ameba # Runs static analysis - -# Status: No known critical issues (small scope) -``` - ---- - -## Version Matrix (Source-Verified 2026-05-20) - -| Component | AgentGPT | omni-333-anubis | openai-crystal | quantumblockchainai | -|-----------|----------|-----------------|-----------------|---------------------| -| **Next.js** | 13.1.6 | 12.0.5 | — | ⚠️ UNVERIFIED | -| **React** | 18.2.0 | 17.0.2 | — | ⚠️ UNVERIFIED | -| **Node.js** | 18+ | 12+ | — | ⚠️ UNVERIFIED | -| **TypeScript** | 5.0.4 | 4.2.3 | — | ⚠️ UNVERIFIED | -| **Prisma** | 4.9.0 | 3.3.0 (EOL) | — | — | -| **NextAuth** | 4.19.0 | 4.0.0-beta.6 | — | — | -| **TailwindCSS** | 3.2.0 | 2.2.2 | — | ⚠️ UNVERIFIED | -| **Crystal** | — | — | 0.35.1 | — | - ---- - -## Audit Summary - -| Project | Total Deps | Status | Verified | Notes | -|---------|-----------|--------|----------|-------| -| **AgentGPT** | 62 (37 prod + 25 dev) | ✅ VERIFIED | 100% | Complete, modern stack | -| **omni-333-anubis** | 34 (20 prod + 14 dev) | ✅ VERIFIED | 100% | Complete, but EOL dependencies | -| **openai-crystal** | 2 (dev only) | ✅ VERIFIED | 100% | Complete, minimal scope | -| **quantumblockchainai** | ⚠️ Unknown | ⚠️ UNVERIFIED | 0% | package.json: 404 | -| **CrystalAIQuickStart** | ⚠️ Unknown | ⚠️ NOT AUDITED | 0% | Requires manual inspection | - ---- - -## Governance Note (BRAINMAP FC-2 Prevention) - -**This document was created using:** -- ✅ Direct source file audits (package.json, shard.yml) -- ✅ Verified commit hashes for each dependency list -- ✅ Explicit flags for unverified sections -- ⚠️ Omission warnings where data cannot be retrieved -- 🔴 Critical dependency warnings for stale/EOL packages - -**NOT using:** -- ❌ Incomplete summaries presented as complete -- ❌ Estimated or assumed dependencies -- ❌ Unverified claims marked as verified - -This prevents **FC-2 (partial completeness)** errors documented in BRAINMAP governance. - ---- - -**Generated by:** Copilot (Audit Mode - Source Verification) -**Method:** Direct GitHub API file retrieval -**Verification Level:** ✅ Source-Verified (except quantumblockchainai: UNVERIFIED) -**Last Updated:** 2026-05-20T00:00:00Z -**Status:** Ready for production use diff --git a/README.md b/README.md deleted file mode 100644 index a46ae92..0000000 --- a/README.md +++ /dev/null @@ -1 +0,0 @@ -# .github \ No newline at end of file diff --git a/_config.yml b/_config.yml new file mode 100644 index 0000000..ddeb671 --- /dev/null +++ b/_config.yml @@ -0,0 +1 @@ +theme: jekyll-theme-time-machine \ No newline at end of file diff --git a/index.md b/index.md new file mode 100644 index 0000000..40dcbe4 --- /dev/null +++ b/index.md @@ -0,0 +1,37 @@ +## Welcome to GitHub Pages + +You can use the [editor on GitHub](https://github.com/https-quantumblockchainai-atlassian-net/.github/edit/gh-pages/index.md) to maintain and preview the content for your website in Markdown files. + +Whenever you commit to this repository, GitHub Pages will run [Jekyll](https://jekyllrb.com/) to rebuild the pages in your site, from the content in your Markdown files. + +### Markdown + +Markdown is a lightweight and easy-to-use syntax for styling your writing. It includes conventions for + +```markdown +Syntax highlighted code block + +# Header 1 +## Header 2 +### Header 3 + +- Bulleted +- List + +1. Numbered +2. List + +**Bold** and _Italic_ and `Code` text + +[Link](url) and ![Image](src) +``` + +For more details see [Basic writing and formatting syntax](https://docs.github.com/en/github/writing-on-github/getting-started-with-writing-and-formatting-on-github/basic-writing-and-formatting-syntax). + +### Jekyll Themes + +Your Pages site will use the layout and styles from the Jekyll theme you have selected in your [repository settings](https://github.com/https-quantumblockchainai-atlassian-net/.github/settings/pages). The name of this theme is saved in the Jekyll `_config.yml` configuration file. + +### Support or Contact + +Having trouble with Pages? Check out our [documentation](https://docs.github.com/categories/github-pages-basics/) or [contact support](https://support.github.com/contact) and we’ll help you sort it out. diff --git a/profile/README.md b/profile/README.md deleted file mode 100644 index 596fd67..0000000 --- a/profile/README.md +++ /dev/null @@ -1,12 +0,0 @@ -## Hi there 👋 - -