Open source alternatives to paid SaaS apps: Notion, Slack, Auth0, Vercel and more. Curated list with licenses and GitHub stars.
JavaScript alternativesauth0-alternativeawesomeawesome-listfigma-alternativefirebase-alternativefree-softwarenotion-alternativeopen-sourceopen-source-alternativesopen-source-softwarepostman-alternativeprivacysaassaas-alternativesself-hostedselfhostedslack-alternativevercel-alternativezapier-alternative
Swap: replace content
Anil-matchada1bc274994f
diff --git a/.github/ISSUE_TEMPLATE/add-alternative.yml b/.github/ISSUE_TEMPLATE/add-alternative.ymlnew file mode 100644index 0000000..813283d--- /dev/null+++ b/.github/ISSUE_TEMPLATE/add-alternative.yml@@ -0,0 +1,72 @@+name: Add an open source alternative+description: Suggest an open source project as an alternative to a paid SaaS app (yours or someone else's).+title: "Add <your project> as an alternative to <SaaS app>"+labels: ["new-alternative"]+body:+ - type: markdown+ attributes:+ value: |+ Thanks for contributing! One SaaS app can have many alternatives, so submit one issue per alternative.+ A bot will check your repo and open a pull request automatically.+ - type: input+ id: tool+ attributes:+ label: Paid SaaS app being replaced+ description: The product name, e.g. Notion, Slack, Auth0.+ validations:+ required: true+ - type: input+ id: repo+ attributes:+ label: GitHub repository of the alternative+ description: In owner/name form, e.g. AppFlowy-IO/AppFlowy. The repo must be public and not archived.+ placeholder: owner/name+ validations:+ required: true+ - type: input+ id: name+ attributes:+ label: Project name (optional)+ description: Defaults to the repo name.+ - type: textarea+ id: description+ attributes:+ label: One-line description+ description: What it does and how it replaces the SaaS app. Max 160 characters, plain text.+ validations:+ required: true+ - type: dropdown+ id: category+ attributes:+ label: Category (only used if the SaaS app is not in the list yet)+ options:+ - AI+ - Analytics+ - Automation+ - CRM+ - Communication+ - Customer Support+ - Design+ - Developer Tools+ - E-commerce+ - Education+ - Finance+ - Forms+ - Marketing+ - Monitoring+ - Product+ - Productivity+ - Project Management+ - Publishing+ - Security+ - Storage+ - Video+ validations:+ required: true+ - type: checkboxes+ id: confirm+ attributes:+ label: Confirmation+ options:+ - label: The project is open source under a license that allows self-hosting or free use of its source.+ required: truediff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.mdnew file mode 100644index 0000000..6fc7b0d--- /dev/null+++ b/.github/PULL_REQUEST_TEMPLATE.md@@ -0,0 +1,10 @@+## What does this PR add?++- SaaS app:+- Alternative (owner/name):++## Checklist++- [ ] I edited `data.json` only (README.md is generated by `node scripts/build-readme.mjs`)+- [ ] The repo is public, not archived, and open source+- [ ] The description is one plain-text line (max 160 chars)diff --git a/.github/workflows/add-from-issue.yml b/.github/workflows/add-from-issue.ymlnew file mode 100644index 0000000..5152a24--- /dev/null+++ b/.github/workflows/add-from-issue.yml@@ -0,0 +1,61 @@+name: Add alternative from issue++on:+ issues:+ types: [opened, edited]++permissions:+ contents: write+ pull-requests: write+ issues: write++jobs:+ add:+ if: contains(github.event.issue.labels.*.name, 'new-alternative')+ runs-on: ubuntu-latest+ steps:+ - uses: actions/checkout@v4+ - uses: actions/setup-node@v4+ with:+ node-version: 22+ - name: Parse and validate the submission+ id: parse+ continue-on-error: true+ env:+ ISSUE_BODY: ${{ github.event.issue.body }}+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}+ RESULT_FILE: ${{ runner.temp }}/issue-result.md+ run: node scripts/add-from-issue.mjs+ - name: Report a rejected submission+ if: steps.parse.outcome == 'failure'+ env:+ GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}+ ISSUE_NUMBER: ${{ github.event.issue.number }}+ run: gh issue comment "$ISSUE_NUMBER" --body-file "${{ runner.temp }}/issue-result.md"+ - name: Refresh stats and rebuild README+ if: steps.parse.outcome == 'success'+ env:+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}+ run: |+ node scripts/validate.mjs+ node scripts/refresh-stats.mjs+ node scripts/build-readme.mjs+ - name: Open a pull request+ if: steps.parse.outcome == 'success'+ env:+ GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}+ ISSUE_NUMBER: ${{ github.event.issue.number }}+ run: |+ branch="add-alternative-$ISSUE_NUMBER"+ git config user.name "github-actions[bot]"+ git config user.email "41898282+github-actions[bot]@users.noreply.github.com"+ git checkout -B "$branch"+ git add data.json stats.json README.md+ git commit -m "Add alternative from issue #$ISSUE_NUMBER"+ git push --force origin "$branch"+ gh pr create --base main --head "$branch" \+ --title "Add alternative from issue #$ISSUE_NUMBER" \+ --body "Closes #$ISSUE_NUMBER++ $(cat "${{ runner.temp }}/issue-result.md")" || gh pr edit "$branch" --body "Closes #$ISSUE_NUMBER"+ gh issue comment "$ISSUE_NUMBER" --body-file "${{ runner.temp }}/issue-result.md"diff --git a/.github/workflows/refresh.yml b/.github/workflows/refresh.ymlnew file mode 100644index 0000000..c8ccc3b--- /dev/null+++ b/.github/workflows/refresh.yml@@ -0,0 +1,29 @@+name: Refresh stars and licenses++on:+ schedule:+ - cron: "0 6 * * 1"+ workflow_dispatch:++permissions:+ contents: write++jobs:+ refresh:+ runs-on: ubuntu-latest+ steps:+ - uses: actions/checkout@v4+ - uses: actions/setup-node@v4+ with:+ node-version: 22+ - env:+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}+ run: |+ node scripts/refresh-stats.mjs+ node scripts/build-readme.mjs+ - name: Commit changes+ run: |+ git config user.name "github-actions[bot]"+ git config user.email "41898282+github-actions[bot]@users.noreply.github.com"+ git add stats.json README.md+ git diff --cached --quiet || { git commit -m "Refresh stars and licenses"; git push; }diff --git a/.github/workflows/validate.yml b/.github/workflows/validate.ymlnew file mode 100644index 0000000..44b19b0--- /dev/null+++ b/.github/workflows/validate.yml@@ -0,0 +1,22 @@+name: Validate++on:+ pull_request:+ paths: ["data.json", "scripts/**", "README.md"]++permissions:+ contents: read++jobs:+ validate:+ runs-on: ubuntu-latest+ steps:+ - uses: actions/checkout@v4+ - uses: actions/setup-node@v4+ with:+ node-version: 22+ - run: node scripts/validate.mjs+ - name: README must match data.json+ run: |+ node scripts/build-readme.mjs+ git diff --exit-code README.md || { echo "README.md is out of date. Run: node scripts/build-readme.mjs"; exit 1; }diff --git a/.gitignore b/.gitignoreindex e81126e..fd4f2b0 100644--- a/.gitignore+++ b/.gitignore@@ -1,39 +1,2 @@-# Environment variables and secrets-.env-.env*-*.env-!.env.example--# Node dependencies and build-node_modules/-.next/-out/-build/-dist/-.pnp-.pnp.js-npm-debug.log*-yarn-debug.log*-yarn-error.log*-.pnpm-debug.log*--# Python caches and virtual environments-__pycache__/-*.py[cod]-*$py.class-*.so-.Python-env/-venv/-.venv/-ENV/-.pytest_cache/-.coverage--# OS and IDE files+node_modules.DS_Store-Thumbs.db-.vscode/-.idea/-*.swp-*.swodiff --git a/CONTRIBUTING.md b/CONTRIBUTING.mdnew file mode 100644index 0000000..e4d21eb--- /dev/null+++ b/CONTRIBUTING.md@@ -0,0 +1,38 @@+# Contributing++You can add your own project (or any open source project) as an alternative to a paid SaaS app. One SaaS app can have many alternatives, and each one is listed side by side.++## Easiest: open an issue++1. [Open the "Add an open source alternative" form](../../issues/new?template=add-alternative.yml).+2. Fill in the SaaS app, your GitHub repo (`owner/name`) and a one-line description.+3. A bot checks that the repo is public and not archived, then opens a pull request for you. If something is wrong it comments on the issue.++Submit one issue per alternative. To add several alternatives to the same app, open several issues.++## Or: open a pull request++1. Edit [`data.json`](data.json). Add an object to the `alternatives` array of the SaaS app, or add a new app:++ ```json+ {+ "slug": "notion",+ "name": "Notion",+ "category": "Productivity",+ "description": "All-in-one workspace for notes, docs and wikis.",+ "alternatives": [+ { "name": "AppFlowy", "repo": "AppFlowy-IO/AppFlowy", "license": "AGPL-3.0", "description": "Privacy-first Notion alternative." }+ ]+ }+ ```++ Projects without a GitHub repo can use `"repo": null, "url": "https://..."`.+2. Run `node scripts/validate.mjs` and `node scripts/build-readme.mjs`. Don't edit `README.md` by hand.+3. Open the PR. CI checks the data and that the README is up to date.++## Rules++- The project must be genuinely open source, public, and not archived.+- The SaaS app being replaced must be a paid (or freemium) product.+- Descriptions are one plain-text line, 160 characters at most.+- Stars and licenses are refreshed automatically every week.diff --git a/LICENSE b/LICENSEdeleted file mode 100644index 67246de..0000000--- a/LICENSE+++ /dev/null@@ -1,21 +0,0 @@-MIT License--Copyright (c) 2026 Anil Matcha--Permission is hereby granted, free of charge, to any person obtaining a copy-of this software and associated documentation files (the "Software"), to deal-in the Software without restriction, including without limitation the rights-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell-copies of the Software, and to permit persons to whom the Software is-furnished to do so, subject to the following conditions:--The above copyright notice and this permission notice shall be included in all-copies or substantial portions of the Software.--THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE-SOFTWARE.diff --git a/README.md b/README.mdindex d0253f9..358a505 100644--- a/README.md+++ b/README.md@@ -1,98 +1,1587 @@-# OpenSpaces — The Free, Open-Source Alternative to ChatGPT Spaces+# Awesome Open Source SaaS Alternatives [](https://awesome.re)-**A free, open-source, self-hostable AI workspace for shared pages, conversations, and AI tools.**+> A curated list of open source alternatives to paid SaaS apps, with licenses and GitHub stars.-OpenSpaces brings shared workspaces, editable pages, conversations, and AI tools into one place. Run it on infrastructure you control, inspect and change the code, and connect it to supported AI services such as MuAPI.+Looking for a free, self-hostable replacement for a paid tool? Find the tool below and pick an alternative. **Want to add yours? [Submit it here](../../issues/new?template=add-alternative.yml)**, see [CONTRIBUTING.md](CONTRIBUTING.md).-OpenSpaces is an independent community project. It is not affiliated with or endorsed by OpenAI. ChatGPT and ChatGPT Spaces are trademarks of OpenAI.+## Contents-## Why OpenSpaces?+- [AI](#ai)+- [Analytics](#analytics)+- [Automation](#automation)+- [CRM](#crm)+- [Communication](#communication)+- [Customer Support](#customer-support)+- [Design](#design)+- [Developer Tools](#developer-tools)+- [E-commerce](#e-commerce)+- [Education](#education)+- [Finance](#finance)+- [Forms](#forms)+- [Marketing](#marketing)+- [Monitoring](#monitoring)+- [Product](#product)+- [Productivity](#productivity)+- [Project Management](#project-management)+- [Publishing](#publishing)+- [Security](#security)+- [Storage](#storage)+- [Video](#video)-- **Open source and self-hostable:** use the MIT-licensed software and choose where to run it.-- **Workspace-centered:** organize work in Spaces with pages and conversations.-- **AI in the workflow:** chat with configured models and use writing and image generation tools in the page editor.-- **Built to adapt:** extend the application and its integrations for your own needs.+## AI-The software is free to use. Hosting, database, and third-party AI provider usage may have separate costs; OpenSpaces does not include free model inference.+### Character.AI-## What works today+Character.AI: paid SaaS product.-- Create and manage Spaces, pages, and messages.-- Edit pages with a TipTap rich-text editor, Markdown mode, slash commands, autosave, and inline AI actions.-- Use the configured MuAPI integration for chat and image generation.-- Upload media through the configured provider integration.-- Explore early meeting notes and Dot agent interfaces.+| Alternative | Description | License | Stars |+|---|---|---|---|+| [ai-character-studio](https://github.com/SamurAIGPT/ai-character-studio) | Open-source AI character creator & roleplay chat studio | See repo | ★ 21 |+| [open-character-ai](https://github.com/Anil-matcha/open-character-ai) | Open-source Character.AI alternative | See repo | ★ 53 |-**Project status:** OpenSpaces is under active development. Some interface flows are prototypes or simulated, and several README claims from earlier versions described planned behavior. In particular, the current WebSocket is not a collaborative editing system; agent execution and meeting transcription are not complete production workflows. Check the code and issues before relying on a feature.+### ChatGPT-## Security and deployment status+AI chat assistant.-The current codebase does not yet enforce authentication and per-Space authorization consistently across API routes. Do not expose it as a multi-user service or use it with sensitive data until that boundary has been implemented and reviewed. Configure secrets and database access privately; never commit `.env` files or credentials.+| Alternative | Description | License | Stars |+|---|---|---|---|+| [open-spaces](https://github.com/Anil-matcha/open-spaces) | Free, open-source alternative to ChatGPT Spaces: a self-hostable AI workspace for shared pages and conversations. | MIT | ★ 3.4k |+| [Open WebUI](https://github.com/open-webui/open-webui) | Self-hosted AI interface for Ollama and OpenAI-compatible APIs. | Open WebUI License (BSD-3 based) | ★ 154k |+| [Ollama](https://github.com/ollama/ollama) | Run large language models locally. | MIT | ★ 183k |+| [LibreChat](https://github.com/danny-avila/LibreChat) | Multi-provider ChatGPT-style interface. | MIT | ★ 46k |+| [jan](https://github.com/janhq/jan) | Jan is an open source alternative to ChatGPT that runs 100% offline on your computer. | NOASSERTION | ★ 45k |-## Tech stack+### ChatGPT Agent-- **Web app:** Next.js, React, Tailwind CSS, TipTap-- **API:** FastAPI, SQLAlchemy-- **Database:** PostgreSQL-compatible configuration (including Supabase)-- **AI provider integration:** MuAPI+ChatGPT Agent: paid SaaS product.-## Run locally+| Alternative | Description | License | Stars |+|---|---|---|---|+| [open-dots](https://github.com/Anil-matcha/open-dots) | Open-source, self-hosted AI agent workspace and alternative to OpenAI Dots, Meta Muse, Grok Bot, Instinct, Manus Cue, Claude Cowork, and ChatGPT agent. MIT-lice | See repo | ★ 5.7k |-### Requirements+### Claude Cowork-- Node.js and npm-- Python 3.10 or newer-- A PostgreSQL database for persistent storage (the app also has an in-memory development fallback)-- A MuAPI API key for provider-backed chat, image generation, and uploads+Claude Cowork: paid SaaS product.-### 1. Configure and start the API+| Alternative | Description | License | Stars |+|---|---|---|---|+| [open-dots](https://github.com/Anil-matcha/open-dots) | Open-source, self-hosted AI agent workspace and alternative to OpenAI Dots, Meta Muse, Grok Bot, Instinct, Manus Cue, Claude Cowork, and ChatGPT agent. MIT-lice | See repo | ★ 5.7k |-```bash-cd server-python -m venv .venv-source .venv/bin/activate # Windows: .venv\Scripts\activate-pip install -r requirements.txt-cp .env.example .env-```+### Cluely++Cluely: paid SaaS product.++| Alternative | Description | License | Stars |+|---|---|---|---|+| [natively-cluely-ai-assistant](https://github.com/Natively-AI-assistant/natively-cluely-ai-assistant) | Natively — Free open-source AI meeting assistant, interview copilot, and note taker. The best alternative to Cluely, Otter, Granola, Final Round AI, Fireflies, | NOASSERTION | ★ 2.9k |+| [pluely](https://github.com/iamsrikanthnani/pluely) | The Open Source Alternative to Cluely - A lightning-fast, privacy-first AI assistant that works seamlessly during meetings, interviews, and conversations withou | GPL-3.0 | ★ 2.7k |++### ElevenLabs++ElevenLabs: paid SaaS product.++| Alternative | Description | License | Stars |+|---|---|---|---|+| [my-podcast](https://github.com/SamurAIGPT/my-podcast) | Open-source AI voiceover & podcast narration studio | See repo | ★ 12 |++### FaceApp++FaceApp: paid SaaS product.++| Alternative | Description | License | Stars |+|---|---|---|---|+| [ai-kid-to-adult-prediction](https://github.com/SamurAIGPT/ai-kid-to-adult-prediction) | Open-source AI age progression & kid-to-adult prediction tool | See repo | ★ 2 |++### Facetune++Facetune: paid SaaS product.++| Alternative | Description | License | Stars |+|---|---|---|---|+| [ai-wedding-photo](https://github.com/SamurAIGPT/ai-wedding-photo) | Open-source AI wedding photo generator | See repo | ★ 6 |++### Final Round AI++Final Round AI: paid SaaS product.++| Alternative | Description | License | Stars |+|---|---|---|---|+| [natively-cluely-ai-assistant](https://github.com/Natively-AI-assistant/natively-cluely-ai-assistant) | Natively — Free open-source AI meeting assistant, interview copilot, and note taker. The best alternative to Cluely, Otter, Granola, Final Round AI, Fireflies, | NOASSERTION | ★ 2.9k |++### Fireflies.ai++Fireflies.ai: paid SaaS product.++| Alternative | Description | License | Stars |+|---|---|---|---|+| [natively-cluely-ai-assistant](https://github.com/Natively-AI-assistant/natively-cluely-ai-assistant) | Natively — Free open-source AI meeting assistant, interview copilot, and note taker. The best alternative to Cluely, Otter, Granola, Final Round AI, Fireflies, | NOASSERTION | ★ 2.9k |++### FloraFauna AI++FloraFauna AI: paid SaaS product.++| Alternative | Description | License | Stars |+|---|---|---|---|+| [Vibe-Workflow](https://github.com/SamurAIGPT/Vibe-Workflow) | Free, open-source alternative to Weavy AI, Krea Nodes, Freepik Spaces & FloraFauna AI — node-based AI workflow builder for generative image & video pipelines | MIT | ★ 620 |++### Freepik++Freepik: paid SaaS product.++| Alternative | Description | License | Stars |+|---|---|---|---|+| [Vibe-Workflow](https://github.com/SamurAIGPT/Vibe-Workflow) | Free, open-source alternative to Weavy AI, Krea Nodes, Freepik Spaces & FloraFauna AI — node-based AI workflow builder for generative image & video pipelines | MIT | ★ 620 |+| [Open-Generative-AI](https://github.com/Anil-matcha/Open-Generative-AI) | Unrestricted Open-source alternative to AI video platforms | MIT | ★ 30k |++### Genspark++Genspark: paid SaaS product.++| Alternative | Description | License | Stars |+|---|---|---|---|+| [lemonai](https://github.com/hexdocom/lemonai) | Lemon AI is the first Full-stack Open-source Self-Evolving General AI Agent, offering a fully local alternative to Agentic platforms like Manus & Genspark AI.🔔 | NOASSERTION | ★ 1.6k |++### GitHub Copilot++AI coding assistant.++| Alternative | Description | License | Stars |+|---|---|---|---|+| [Continue](https://github.com/continuedev/continue) | Open source AI code assistant for IDEs. | Apache-2.0 | ★ 36k |+| [Tabby](https://github.com/TabbyML/tabby) | Self-hosted AI coding assistant. | Apache-2.0 (core) | ★ 34k |++### Granola++Granola: paid SaaS product.++| Alternative | Description | License | Stars |+|---|---|---|---|+| [natively-cluely-ai-assistant](https://github.com/Natively-AI-assistant/natively-cluely-ai-assistant) | Natively — Free open-source AI meeting assistant, interview copilot, and note taker. The best alternative to Cluely, Otter, Granola, Final Round AI, Fireflies, | NOASSERTION | ★ 2.9k |++### Grok Bot++Grok Bot: paid SaaS product.++| Alternative | Description | License | Stars |+|---|---|---|---|+| [open-grok-bot](https://github.com/Anil-matcha/open-grok-bot) | Open-source alternative to Grok bot with a FastAPI API, Next.js UI, governed computer use, Docker/remote runtimes, approvals, connectors, and local-first state. | See repo | ★ 12 |+| [open-dots](https://github.com/Anil-matcha/open-dots) | Open-source, self-hosted AI agent workspace and alternative to OpenAI Dots, Meta Muse, Grok Bot, Instinct, Manus Cue, Claude Cowork, and ChatGPT agent. MIT-lice | See repo | ★ 5.7k |++### Higgsfield++Higgsfield: paid SaaS product.++| Alternative | Description | License | Stars |+|---|---|---|---|+| [Open-Generative-AI](https://github.com/Anil-matcha/Open-Generative-AI) | Unrestricted Open-source alternative to AI video platforms | MIT | ★ 30k |++### Ink Hunter++Ink Hunter: paid SaaS product.++| Alternative | Description | License | Stars |+|---|---|---|---|+| [ai-tattoo-try-on](https://github.com/SamurAIGPT/ai-tattoo-try-on) | Open-source AI tattoo try-on & virtual placement simulator | See repo | ★ 4 |++### Krea++Krea: paid SaaS product.++| Alternative | Description | License | Stars |+|---|---|---|---|+| [Vibe-Workflow](https://github.com/SamurAIGPT/Vibe-Workflow) | Free, open-source alternative to Weavy AI, Krea Nodes, Freepik Spaces & FloraFauna AI — node-based AI workflow builder for generative image & video pipelines | MIT | ★ 620 |++### Lensa AI++Lensa AI: paid SaaS product.++| Alternative | Description | License | Stars |+|---|---|---|---|+| [ai-royal-portrait](https://github.com/SamurAIGPT/ai-royal-portrait) | Open-source AI royal portrait & style transformation tool | See repo | ★ 4 |+| [magicself-ai](https://github.com/SamurAIGPT/magicself-ai) | Open-source AI selfie-to-artwork generator | See repo | ★ 6 |++### Manus++Manus: paid SaaS product.++| Alternative | Description | License | Stars |+|---|---|---|---|+| [open-agent](https://github.com/AFK-surf/open-agent) | Open-source alternative to Claude Agent SDK, ChatGPT Agents, and Manus. | Apache-2.0 | ★ 1.0k |++### Midjourney++AI image generation.++| Alternative | Description | License | Stars |+|---|---|---|---|+| [ComfyUI](https://github.com/comfyanonymous/ComfyUI) | Node-based diffusion workflow engine. Quality depends on the model you load. | GPL-3.0 | ★ 137k |+| [Stable Diffusion WebUI](https://github.com/AUTOMATIC1111/stable-diffusion-webui) | Self-hosted image generation with Stable Diffusion models. | AGPL-3.0 | ★ 165k |++### ModiFace++ModiFace: paid SaaS product.++| Alternative | Description | License | Stars |+|---|---|---|---|+| [ai-professional-makeup-generator](https://github.com/SamurAIGPT/ai-professional-makeup-generator) | Open-source AI virtual makeup try-on tool | See repo | ★ 10 |++### Murf AI++Murf AI: paid SaaS product.++| Alternative | Description | License | Stars |+|---|---|---|---|+| [my-podcast](https://github.com/SamurAIGPT/my-podcast) | Open-source AI voiceover & podcast narration studio | See repo | ★ 12 |++### NotebookLM++NotebookLM: paid SaaS product.++| Alternative | Description | License | Stars |+|---|---|---|---|+| [notebookllama](https://github.com/run-llama/notebookllama) | A fully open-source, LlamaCloud-backed alternative to NotebookLM | MIT | ★ 2.0k |+| [insights-lm-public](https://github.com/theaiautomators/insights-lm-public) | Open-source, self-hosted alternative to NotebookLM. Chat with your documents, generate audio summaries, and ground AI in your own sources—built with Supabase an | MIT | ★ 658 |++### OpenArt++OpenArt: paid SaaS product.++| Alternative | Description | License | Stars |+|---|---|---|---|+| [Open-Generative-AI](https://github.com/Anil-matcha/Open-Generative-AI) | Unrestricted Open-source alternative to AI video platforms | MIT | ★ 30k |++### Otter.ai++Otter.ai: paid SaaS product.++| Alternative | Description | License | Stars |+|---|---|---|---|+| [natively-cluely-ai-assistant](https://github.com/Natively-AI-assistant/natively-cluely-ai-assistant) | Natively — Free open-source AI meeting assistant, interview copilot, and note taker. The best alternative to Cluely, Otter, Granola, Final Round AI, Fireflies, | NOASSERTION | ★ 2.9k |++### Prisma++Prisma: paid SaaS product.++| Alternative | Description | License | Stars |+|---|---|---|---|+| [magicself-ai](https://github.com/SamurAIGPT/magicself-ai) | Open-source AI selfie-to-artwork generator | See repo | ★ 6 |++### PromptBase++PromptBase: paid SaaS product.++| Alternative | Description | License | Stars |+|---|---|---|---|+| [prompt-architect](https://github.com/SamurAIGPT/prompt-architect) | Open-source AI prompt engineering workspace | See repo | ★ 23 |++### PromptPerfect++PromptPerfect: paid SaaS product.++| Alternative | Description | License | Stars |+|---|---|---|---|+| [prompt-architect](https://github.com/SamurAIGPT/prompt-architect) | Open-source AI prompt engineering workspace | See repo | ★ 23 |++### Remini++Remini: paid SaaS product.++| Alternative | Description | License | Stars |+|---|---|---|---|+| [ai-wedding-photo](https://github.com/SamurAIGPT/ai-wedding-photo) | Open-source AI wedding photo generator | See repo | ★ 6 |+| [old-photo-restore](https://github.com/SamurAIGPT/old-photo-restore) | Open-source AI old photo restoration tool | See repo | ★ 13 |++### Replika++Replika: paid SaaS product.++| Alternative | Description | License | Stars |+|---|---|---|---|+| [ai-character-studio](https://github.com/SamurAIGPT/ai-character-studio) | Open-source AI character creator & roleplay chat studio | See repo | ★ 21 |++### Retell AI++Retell AI: paid SaaS product.++| Alternative | Description | License | Stars |+|---|---|---|---|+| [dograh](https://github.com/dograh-hq/dograh) | Open source voice AI platform. Self-hosted alternative to Vapi and Retell. On Prem, BYOK across Speech to Speech or LLM/STT/TTS, with a visual workflow builder, | BSD-2-Clause | ★ 5.9k |++### Superwhisper++Superwhisper: paid SaaS product.++| Alternative | Description | License | Stars |+|---|---|---|---|+| [VoiceInk](https://github.com/Beingpax/VoiceInk) | The best open-source alternative to Superwhisper & Wispr Flow. Voice-to-text app for macOS with no subscription | NOASSERTION | ★ 6.8k |++### Tattoosmart++Tattoosmart: paid SaaS product.++| Alternative | Description | License | Stars |+|---|---|---|---|+| [ai-tattoo-try-on](https://github.com/SamurAIGPT/ai-tattoo-try-on) | Open-source AI tattoo try-on & virtual placement simulator | See repo | ★ 4 |++### Vapi++Vapi: paid SaaS product.++| Alternative | Description | License | Stars |+|---|---|---|---|+| [dograh](https://github.com/dograh-hq/dograh) | Open source voice AI platform. Self-hosted alternative to Vapi and Retell. On Prem, BYOK across Speech to Speech or LLM/STT/TTS, with a visual workflow builder, | BSD-2-Clause | ★ 5.9k |++### Weavy++Weavy: paid SaaS product.++| Alternative | Description | License | Stars |+|---|---|---|---|+| [Vibe-Workflow](https://github.com/SamurAIGPT/Vibe-Workflow) | Free, open-source alternative to Weavy AI, Krea Nodes, Freepik Spaces & FloraFauna AI — node-based AI workflow builder for generative image & video pipelines | MIT | ★ 620 |++### Wispr Flow++Wispr Flow: paid SaaS product.++| Alternative | Description | License | Stars |+|---|---|---|---|+| [VoiceInk](https://github.com/Beingpax/VoiceInk) | The best open-source alternative to Superwhisper & Wispr Flow. Voice-to-text app for macOS with no subscription | NOASSERTION | ★ 6.8k |+| [freeflow](https://github.com/zachlatta/freeflow) | Free & fast alternative to Wispr Flow | MIT | ★ 2.9k |++### YouCam Hair++YouCam Hair: paid SaaS product.++| Alternative | Description | License | Stars |+|---|---|---|---|+| [ai-hair-style-simulator](https://github.com/SamurAIGPT/ai-hair-style-simulator) | Open-source AI hairstyle simulator & virtual hair makeover | See repo | ★ 12 |++### YouCam Makeup++YouCam Makeup: paid SaaS product.++| Alternative | Description | License | Stars |+|---|---|---|---|+| [ai-professional-makeup-generator](https://github.com/SamurAIGPT/ai-professional-makeup-generator) | Open-source AI virtual makeup try-on tool | See repo | ★ 10 |++## Analytics++### Google Analytics++Website and product analytics.++| Alternative | Description | License | Stars |+|---|---|---|---|+| [Plausible](https://github.com/plausible/analytics) | Lightweight, privacy-friendly web analytics. | AGPL-3.0 | ★ 29k |+| [Umami](https://github.com/umami-software/umami) | Simple, fast, privacy-focused analytics. | MIT | ★ 39k |+| [PostHog](https://github.com/PostHog/posthog) | Product analytics suite with session replay. Web analytics is one part. | MIT | ★ 40k |+| [matomo](https://github.com/matomo-org/matomo) | Empowering People Ethically 🚀 — Matomo is hiring! Join us → https://matomo.org/jobs Matomo is the leading open-source alternative to Google Analytics, giving y | GPL-3.0 | ★ 22k |+| [rybbit](https://github.com/rybbit-io/rybbit) | 🐸 Rybbit - open-source and privacy-friendly alternative to Google Analytics that is 10x more intuitive. | AGPL-3.0 | ★ 13k |+| [vince](https://github.com/vinceanalytics/vince) | Self Hosted Alternative To Google Analytics | AGPL-3.0 | ★ 2.0k |+| [litlyx](https://github.com/Litlyx/litlyx) | Powerful Analytics Solution. Setup in 30 seconds. Display all your data on a Simple, AI-powered dashboard. Fully self-hostable and GDPR compliant. Alternative t | Apache-2.0 | ★ 1.7k |+| [xyne](https://github.com/xynehq/xyne) | AI-first Search & Answer Engine for work. Open-source alternative to Glean. | Apache-2.0 | ★ 694 |++### Mixpanel++Mixpanel: paid SaaS product.++| Alternative | Description | License | Stars |+|---|---|---|---|+| [openpanel](https://github.com/Openpanel-dev/openpanel) | OpenPanel is an open-source web and product analytics platform, an open-source alternative to Mixpanel with optional self-hosting. | AGPL-3.0 | ★ 7.1k |+| [litlyx](https://github.com/Litlyx/litlyx) | Powerful Analytics Solution. Setup in 30 seconds. Display all your data on a Simple, AI-powered dashboard. Fully self-hostable and GDPR compliant. Alternative t | Apache-2.0 | ★ 1.7k |++### Tableau / Looker++Business intelligence.++| Alternative | Description | License | Stars |+|---|---|---|---|+| [Metabase](https://github.com/metabase/metabase) | Lightweight BI for dashboards and questions without SQL. | AGPL-3.0 | ★ 50k |+| [Apache Superset](https://github.com/apache/superset) | Data exploration and visualization platform. | Apache-2.0 | ★ 75k |+| [dataease](https://github.com/dataease/dataease) | 🔥 人人可用的开源 BI 工具,数据可视化神器。An open-source BI tool alternative to Tableau. | NOASSERTION | ★ 25k |+| [graphic-walker](https://github.com/Kanaries/graphic-walker) | An open source alternative to Tableau. Embeddable visual analytic | Apache-2.0 | ★ 3.3k |++## Automation++### Arcade.dev++Arcade.dev: paid SaaS product.++| Alternative | Description | License | Stars |+|---|---|---|---|+| [open-agent-connector](https://github.com/Anil-matcha/open-agent-connector) | Open-source, self-hosted alternative to Composio, Nango, Merge.dev, and Arcade.dev for AI agent integrations. Run GitHub, Slack, Hacker News, and custom HTTP ac | See repo | ★ 838 |++### Composio++Composio: paid SaaS product.++| Alternative | Description | License | Stars |+|---|---|---|---|+| [open-agent-connector](https://github.com/Anil-matcha/open-agent-connector) | Open-source, self-hosted alternative to Composio, Nango, Merge.dev, and Arcade.dev for AI agent integrations. Run GitHub, Slack, Hacker News, and custom HTTP ac | See repo | ★ 838 |++### Merge++Merge: paid SaaS product.++| Alternative | Description | License | Stars |+|---|---|---|---|+| [open-agent-connector](https://github.com/Anil-matcha/open-agent-connector) | Open-source, self-hosted alternative to Composio, Nango, Merge.dev, and Arcade.dev for AI agent integrations. Run GitHub, Slack, Hacker News, and custom HTTP ac | See repo | ★ 838 |++### Nango++Nango: paid SaaS product.++| Alternative | Description | License | Stars |+|---|---|---|---|+| [open-agent-connector](https://github.com/Anil-matcha/open-agent-connector) | Open-source, self-hosted alternative to Composio, Nango, Merge.dev, and Arcade.dev for AI agent integrations. Run GitHub, Slack, Hacker News, and custom HTTP ac | See repo | ★ 838 |++### Zapier++No-code workflow automation.++| Alternative | Description | License | Stars |+|---|---|---|---|+| [Activepieces](https://github.com/activepieces/activepieces) | No-code business automation with an extensible piece system. | MIT | ★ 25k |+| [Huginn](https://github.com/huginn/huginn) | Build agents that monitor and act on your behalf. | MIT | ★ 50k |+| [n8n](https://github.com/n8n-io/n8n) | Workflow automation with a visual editor. Fair-code, not OSI open source. | Sustainable Use (fair-code) | ★ 207k |+| [bytechef](https://github.com/bytechefhq/bytechef) | Open-source AI agents and workflow automation. Self-host or embed in your SaaS. Apache 2.0 alternative to n8n and Zapier. | NOASSERTION | ★ 1.0k |++## CRM++### Kommo++Kommo: paid SaaS product.++| Alternative | Description | License | Stars |+|---|---|---|---|+| [DeskcommCRM](https://github.com/melgarafael/DeskcommCRM) | Open-source AI sales OS — self-hosted CRM with native AI agents + WhatsApp (WAHA). Open alternative to Kommo, Octadesk & Intercom for any business that sells by | MIT | ★ 4.5k |++### Salesforce++Customer relationship management.++| Alternative | Description | License | Stars |+|---|---|---|---|+| [Twenty](https://github.com/twentyhq/twenty) | Modern open source CRM. | AGPL-3.0 | ★ 58k |++## Communication++### Claude Tag++Claude Tag: paid SaaS product.++| Alternative | Description | License | Stars |+|---|---|---|---|+| [open-claude-tag](https://github.com/Anil-matcha/open-claude-tag) | Self-hostable channel-native AI teammate for Slack. Open source alternative to Claude Tag. LLM-agnostic. | MIT | ★ 17 |++### Discord++Discord: paid SaaS product.++| Alternative | Description | License | Stars |+|---|---|---|---|+| [Quiet](https://github.com/TryQuiet/quiet) | A private, p2p alternative to Slack and Discord built on Tor & IPFS | GPL-3.0 | ★ 2.7k |++### Google Meet++Google Meet: paid SaaS product.++| Alternative | Description | License | Stars |+|---|---|---|---|+| [mirotalksfu](https://github.com/miroslavpejic85/mirotalksfu) | 🏆 Self-hosted, open-source WebRTC video conferencing platform for real-time communication and collaboration. A modern alternative to Zoom, Google Meet, Jitsi M | AGPL-3.0 | ★ 3.1k |++### Microsoft Teams++Microsoft Teams: paid SaaS product.++| Alternative | Description | License | Stars |+|---|---|---|---|+| [mirotalksfu](https://github.com/miroslavpejic85/mirotalksfu) | 🏆 Self-hosted, open-source WebRTC video conferencing platform for real-time communication and collaboration. A modern alternative to Zoom, Google Meet, Jitsi M | AGPL-3.0 | ★ 3.1k |++### Slack++Team chat and collaboration.++| Alternative | Description | License | Stars |+|---|---|---|---|+| [Mattermost](https://github.com/mattermost/mattermost) | Self-hosted secure team collaboration platform. | MIT / AGPL-3.0 | ★ 39k |+| [Rocket.Chat](https://github.com/RocketChat/Rocket.Chat) | Open source team chat with omnichannel support. | MIT | ★ 46k |+| [Zulip](https://github.com/zulip/zulip) | Threaded team chat that keeps conversations organized. | Apache-2.0 | ★ 26k |+| [Huly](https://github.com/hcengineering/platform) | Huly — All-in-One Project Management Platform (alternative to Linear, Jira, Slack, Notion, Motion) | EPL-2.0 | ★ 28k |+| [Quiet](https://github.com/TryQuiet/quiet) | A private, p2p alternative to Slack and Discord built on Tor & IPFS | GPL-3.0 | ★ 2.7k |++### Twilio++Twilio: paid SaaS product.++| Alternative | Description | License | Stars |+|---|---|---|---|+| [fonoster](https://github.com/fonoster/fonoster) | 🚀 The open-source alternative to Twilio. | MIT | ★ 8.1k |++### Zoom++Video conferencing.++| Alternative | Description | License | Stars |+|---|---|---|---|+| [Jitsi Meet](https://github.com/jitsi/jitsi-meet) | Secure, scalable video conferencing you can self-host. | Apache-2.0 | ★ 30k |+| [mirotalksfu](https://github.com/miroslavpejic85/mirotalksfu) | 🏆 Self-hosted, open-source WebRTC video conferencing platform for real-time communication and collaboration. A modern alternative to Zoom, Google Meet, Jitsi M | AGPL-3.0 | ★ 3.1k |++## Customer Support++### Crisp++Crisp: paid SaaS product.++| Alternative | Description | License | Stars |+|---|---|---|---|+| [chaskiq](https://github.com/chaskiq/chaskiq) | A full featured Live Chat, Support & Marketing platform, alternative to Intercom, Drift, Crisp. | NOASSERTION | ★ 3.6k |++### Drift++Drift: paid SaaS product.++| Alternative | Description | License | Stars |+|---|---|---|---|+| [chaskiq](https://github.com/chaskiq/chaskiq) | A full featured Live Chat, Support & Marketing platform, alternative to Intercom, Drift, Crisp. | NOASSERTION | ★ 3.6k |++### Intercom++Customer messaging and support.++| Alternative | Description | License | Stars |+|---|---|---|---|+| [Chatwoot](https://github.com/chatwoot/chatwoot) | Omnichannel customer support platform. | MIT | ★ 38k |+| [DeskcommCRM](https://github.com/melgarafael/DeskcommCRM) | Open-source AI sales OS — self-hosted CRM with native AI agents + WhatsApp (WAHA). Open alternative to Kommo, Octadesk & Intercom for any business that sells by | MIT | ★ 4.5k |+| [chaskiq](https://github.com/chaskiq/chaskiq) | A full featured Live Chat, Support & Marketing platform, alternative to Intercom, Drift, Crisp. | NOASSERTION | ★ 3.6k |+| [libredesk](https://github.com/abhinavxd/libredesk) | Open-source, self-hosted customer support desk in a single binary. A lightweight alternative to Intercom, Zendesk, Chatwoot. | AGPL-3.0 | ★ 3.0k |++### Zendesk++Helpdesk and ticketing.++| Alternative | Description | License | Stars |+|---|---|---|---|+| [Zammad](https://github.com/zammad/zammad) | Web-based helpdesk and customer support system. | AGPL-3.0 | ★ 6.0k |+| [chatwoot](https://github.com/chatwoot/chatwoot) | Open-source live-chat, email support, omni-channel desk. An alternative to Intercom, Zendesk, Salesforce Service Cloud etc. 🔥💬 | NOASSERTION | ★ 38k |+| [libredesk](https://github.com/abhinavxd/libredesk) | Open-source, self-hosted customer support desk in a single binary. A lightweight alternative to Intercom, Zendesk, Chatwoot. | AGPL-3.0 | ★ 3.0k |++## Design++### Adobe Photoshop++Raster image editing.++| Alternative | Description | License | Stars |+|---|---|---|---|+| [Krita](https://github.com/KDE/krita) | Digital painting and illustration. For photo editing, see GIMP. | GPL-3.0 | ★ 11k |+| [GIMP](https://www.gimp.org) | Long-standing free image editor. | GPL-3.0 | |++### Booth AI++Booth AI: paid SaaS product.++| Alternative | Description | License | Stars |+|---|---|---|---|+| [amazon-product-studio](https://github.com/SamurAIGPT/amazon-product-studio) | Open-source AI product photography studio for Amazon sellers | See repo | ★ 16 |++### Brandmark++Brandmark: paid SaaS product.++| Alternative | Description | License | Stars |+|---|---|---|---|+| [ai-logo-studio](https://github.com/SamurAIGPT/ai-logo-studio) | Open-source AI logo generator & brand identity studio | See repo | ★ 8 |++### Figma++Collaborative interface design.++| Alternative | Description | License | Stars |+|---|---|---|---|+| [Penpot](https://github.com/penpot/penpot) | Design and prototyping platform for design and code teams. | MPL-2.0 | ★ 61k |++### Flair AI++Flair AI: paid SaaS product.++| Alternative | Description | License | Stars |+|---|---|---|---|+| [amazon-product-studio](https://github.com/SamurAIGPT/amazon-product-studio) | Open-source AI product photography studio for Amazon sellers | See repo | ★ 16 |++### Framer++Framer: paid SaaS product.++| Alternative | Description | License | Stars |+|---|---|---|---|+| [Instatic](https://github.com/CoreBunch/Instatic) | The open-source alternative to Webflow, Framer and WordPress. Agentic self-hosted visual CMS outputting clean static pages. Users, roles, plugins, content, data | MIT | ★ 8.9k |++### Galileo AI++Galileo AI: paid SaaS product.++| Alternative | Description | License | Stars |+|---|---|---|---|+| [Open-AI-Design-Agent](https://github.com/Anil-matcha/Open-AI-Design-Agent) | Open-source AI design agent | MIT | ★ 447 |++### HitPaw++HitPaw: paid SaaS product.++| Alternative | Description | License | Stars |+|---|---|---|---|+| [clearmark-ai](https://github.com/SamurAIGPT/clearmark-ai) | Open-source AI watermark remover | See repo | ★ 9 |++### Looka++Looka: paid SaaS product.++| Alternative | Description | License | Stars |+|---|---|---|---|+| [ai-logo-studio](https://github.com/SamurAIGPT/ai-logo-studio) | Open-source AI logo generator & brand identity studio | See repo | ★ 8 |++### Lovart++Lovart: paid SaaS product.++| Alternative | Description | License | Stars |+|---|---|---|---|+| [Open-AI-Design-Agent](https://github.com/Anil-matcha/Open-AI-Design-Agent) | Open-source AI design agent | MIT | ★ 447 |++### Lucidchart++Diagramming and flowcharts.++| Alternative | Description | License | Stars |+|---|---|---|---|+| [draw.io](https://github.com/jgraph/drawio) | Diagramming for flowcharts and architecture. | Apache-2.0 | ★ 8.7k |++### Magic Patterns++Magic Patterns: paid SaaS product.++| Alternative | Description | License | Stars |+|---|---|---|---|+| [Open-AI-Design-Agent](https://github.com/Anil-matcha/Open-AI-Design-Agent) | Open-source AI design agent | MIT | ★ 447 |++### Miro++Online whiteboard for collaboration.++| Alternative | Description | License | Stars |+|---|---|---|---|+| [Excalidraw](https://github.com/excalidraw/excalidraw) | Virtual hand-drawn style whiteboard. | MIT | ★ 134k |++### Pebblely++Pebblely: paid SaaS product.++| Alternative | Description | License | Stars |+|---|---|---|---|+| [pet-product-studio](https://github.com/SamurAIGPT/pet-product-studio) | Open-source AI pet product ad generator | See repo | ★ 5 |++### Photoroom++Photoroom: paid SaaS product.++| Alternative | Description | License | Stars |+|---|---|---|---|+| [resale-photo-enhancer](https://github.com/SamurAIGPT/resale-photo-enhancer) | Open-source AI product photo studio for resellers | See repo | ★ 8 |++### Reimagine Home++Reimagine Home: paid SaaS product.++| Alternative | Description | License | Stars |+|---|---|---|---|+| [ai-room-declutter](https://github.com/SamurAIGPT/ai-room-declutter) | Open-source AI room declutter & interior redesign tool | See repo | ★ 7 |++### RoomGPT++RoomGPT: paid SaaS product.++| Alternative | Description | License | Stars |+|---|---|---|---|+| [ai-room-declutter](https://github.com/SamurAIGPT/ai-room-declutter) | Open-source AI room declutter & interior redesign tool | See repo | ★ 7 |++### Watermarkremover.io++Watermarkremover.io: paid SaaS product.++| Alternative | Description | License | Stars |+|---|---|---|---|+| [clearmark-ai](https://github.com/SamurAIGPT/clearmark-ai) | Open-source AI watermark remover | See repo | ★ 9 |++### Webflow++Webflow: paid SaaS product.++| Alternative | Description | License | Stars |+|---|---|---|---|+| [Instatic](https://github.com/CoreBunch/Instatic) | The open-source alternative to Webflow, Framer and WordPress. Agentic self-hosted visual CMS outputting clean static pages. Users, roles, plugins, content, data | MIT | ★ 8.9k |++## Developer Tools++### Ably++Ably: paid SaaS product.++| Alternative | Description | License | Stars |+|---|---|---|---|+| [centrifugo](https://github.com/centrifugal/centrifugo) | Scalable real-time messaging server in a language-agnostic way. Self-hosted alternative to Pubnub, Pusher, Ably, socket.io, Phoenix.PubSub, SignalR. Set up once | Apache-2.0 | ★ 11k |++### Algolia++Hosted search.++| Alternative | Description | License | Stars |+|---|---|---|---|+| [Meilisearch](https://github.com/meilisearch/meilisearch) | Fast, typo-tolerant search engine. | MIT | ★ 60k |+| [Typesense](https://github.com/typesense/typesense) | Open source typo-tolerant search engine. | GPL-3.0 | ★ 27k |++### Apollo GraphOS++Apollo GraphOS: paid SaaS product.++| Alternative | Description | License | Stars |+|---|---|---|---|+| [cosmo](https://github.com/wundergraph/cosmo) | The open-source solution to building, maintaining, and collaborating on GraphQL Federation at Scale. The alternative to Apollo Studio and GraphOS. | Apache-2.0 | ★ 1.3k |++### Auth0++Identity and authentication platform.++| Alternative | Description | License | Stars |+|---|---|---|---|+| [Keycloak](https://github.com/keycloak/keycloak) | Identity and access management for apps and services. | Apache-2.0 | ★ 37k |+| [Ory Kratos](https://github.com/ory/kratos) | API-first identity and user management. | Apache-2.0 | ★ 14k |+| [SuperTokens](https://github.com/supertokens/supertokens-core) | Open source authentication with your own database. | Apache-2.0 | ★ 15k |+| [hanko](https://github.com/teamhanko/hanko) | Modern authentication, on your terms. Open source alternative to Auth0, Clerk, WorkOS, Stytch. | NOASSERTION | ★ 9.0k |++### AWS Cognito++AWS Cognito: paid SaaS product.++| Alternative | Description | License | Stars |+|---|---|---|---|+| [supertokens-core](https://github.com/supertokens/supertokens-core) | Open source alternative to Auth0 / Firebase Auth / AWS Cognito | NOASSERTION | ★ 15k |++### Clerk++Clerk: paid SaaS product.++| Alternative | Description | License | Stars |+|---|---|---|---|+| [hanko](https://github.com/teamhanko/hanko) | Modern authentication, on your terms. Open source alternative to Auth0, Clerk, WorkOS, Stytch. | NOASSERTION | ★ 9.0k |++### Cypress Cloud++Cypress Cloud: paid SaaS product.++| Alternative | Description | License | Stars |+|---|---|---|---|+| [sorry-cypress](https://github.com/sorry-cypress/sorry-cypress) | Open-source, free, self-hosted alternative to Cypress Dashboard | MIT | ★ 2.8k |++### Elastic Cloud++Elastic Cloud: paid SaaS product.++| Alternative | Description | License | Stars |+|---|---|---|---|+| [openobserve](https://github.com/openobserve/openobserve) | Open source observability platform for logs, metrics, traces, RUM (web, android, ios), Session replay, pipelines, SLO and LLM observability. A sophisticated, si | AGPL-3.0 | ★ 22k |+| [Sonic](https://github.com/valeriansaliou/sonic) | 🦔 Fast, lightweight & schema-less search backend. An alternative to Elasticsearch that runs on a few MBs of RAM. | MPL-2.0 | ★ 21k |++### Firebase++Backend-as-a-service for apps.++| Alternative | Description | License | Stars |+|---|---|---|---|+| [Supabase](https://github.com/supabase/supabase) | Postgres database, auth, storage and realtime. | Apache-2.0 | ★ 111k |+| [Appwrite](https://github.com/appwrite/appwrite) | Backend platform for web, mobile and Flutter apps. | BSD-3-Clause | ★ 58k |+| [PocketBase](https://github.com/pocketbase/pocketbase) | Single-file backend with realtime database and auth. | MIT | ★ 61k |+| [supertokens-core](https://github.com/supertokens/supertokens-core) | Open source alternative to Auth0 / Firebase Auth / AWS Cognito | NOASSERTION | ★ 15k |+| [measure](https://github.com/measure-sh/measure) | Measure helps mobile teams monitor and fix crashes, ANRs, bugs, and performance issues. The open source alternative to Firebase Crashlytics. | Apache-2.0 | ★ 1.4k |++### Heroku++Heroku: paid SaaS product.++| Alternative | Description | License | Stars |+|---|---|---|---|+| [coolify](https://github.com/coollabsio/coolify) | An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 280+ | Apache-2.0 | ★ 63k |+| [dokploy](https://github.com/Dokploy/dokploy) | Open Source Alternative to Vercel, Netlify and Heroku. | NOASSERTION | ★ 38k |+| [kubero](https://github.com/kubero-dev/kubero) | A free and self-hosted PaaS alternative to Heroku / Netlify / Coolify / Vercel / Dokku / Portainer running on Kubernetes | GPL-3.0 | ★ 4.4k |++### Insomnia++Insomnia: paid SaaS product.++| Alternative | Description | License | Stars |+|---|---|---|---|+| [hoppscotch](https://github.com/hoppscotch/hoppscotch) | Open-Source API Development Ecosystem • https://hoppscotch.io • Offline, On-Prem & Cloud • Web, Desktop & CLI • Open-Source Alternative to Postman, Insomnia | MIT | ★ 81k |+| [bruno](https://github.com/usebruno/bruno) | Opensource IDE For Exploring and Testing API's (lightweight alternative to Postman/Insomnia) | MIT | ★ 47k |++### LaunchDarkly++Feature flags.++| Alternative | Description | License | Stars |+|---|---|---|---|+| [Unleash](https://github.com/Unleash/unleash) | Open source feature management. | AGPL-3.0 | ★ 14k |++### Netlify++Netlify: paid SaaS product.++| Alternative | Description | License | Stars |+|---|---|---|---|+| [coolify](https://github.com/coollabsio/coolify) | An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 280+ | Apache-2.0 | ★ 63k |+| [dokploy](https://github.com/Dokploy/dokploy) | Open Source Alternative to Vercel, Netlify and Heroku. | NOASSERTION | ★ 38k |+| [kubero](https://github.com/kubero-dev/kubero) | A free and self-hosted PaaS alternative to Heroku / Netlify / Coolify / Vercel / Dokku / Portainer running on Kubernetes | GPL-3.0 | ★ 4.4k |-Edit `server/.env` and set `MUAPI_API_KEY`. For persistence, set `DATABASE_URL` (and `DIRECT_URL` if needed) to your PostgreSQL connection string. Keep this file private.+### ngrok-```bash-python run.py-```+ngrok: paid SaaS product.-The API runs at `http://localhost:8000`; its interactive docs are at `http://localhost:8000/docs`.+| Alternative | Description | License | Stars |+|---|---|---|---|+| [piko](https://github.com/andydunstall/piko) | An open-source alternative to Ngrok, designed to serve production traffic and be simple to host (particularly on Kubernetes) | MIT | ★ 2.2k |-### 2. Start the web app+### Pinecone-In another terminal:+Pinecone: paid SaaS product.-```bash-cd client-npm ci-npm run dev-```+| Alternative | Description | License | Stars |+|---|---|---|---|+| [typesense](https://github.com/typesense/typesense) | Open Source alternative to Algolia + Pinecone and an Easier-to-Use alternative to ElasticSearch ⚡ 🔍 ✨ Fast, typo tolerant, in-memory fuzzy Search Engine for bu | GPL-3.0 | ★ 27k |++### Postman++API testing and development.++| Alternative | Description | License | Stars |+|---|---|---|---|+| [Bruno](https://github.com/usebruno/bruno) | Git-friendly offline API client. | MIT | ★ 47k |+| [Hoppscotch](https://github.com/hoppscotch/hoppscotch) | Lightweight open source API development ecosystem. | MIT | ★ 81k |+| [Pororoca](https://github.com/alexandrehtrb/Pororoca) | An API testing tool with support for HTTP/2 and HTTP/3. Alternative to Postman. | NOASSERTION | ★ 670 |++### PubNub++PubNub: paid SaaS product.++| Alternative | Description | License | Stars |+|---|---|---|---|+| [centrifugo](https://github.com/centrifugal/centrifugo) | Scalable real-time messaging server in a language-agnostic way. Self-hosted alternative to Pubnub, Pusher, Ably, socket.io, Phoenix.PubSub, SignalR. Set up once | Apache-2.0 | ★ 11k |++### Pusher++Pusher: paid SaaS product.++| Alternative | Description | License | Stars |+|---|---|---|---|+| [centrifugo](https://github.com/centrifugal/centrifugo) | Scalable real-time messaging server in a language-agnostic way. Self-hosted alternative to Pubnub, Pusher, Ably, socket.io, Phoenix.PubSub, SignalR. Set up once | Apache-2.0 | ★ 11k |++### Retool++Internal tool builder.++| Alternative | Description | License | Stars |+|---|---|---|---|+| [Appsmith](https://github.com/appsmithorg/appsmith) | Low-code platform for internal apps. | Apache-2.0 | ★ 41k |+| [ToolJet](https://github.com/ToolJet/ToolJet) | Low-code platform for business apps. | AGPL-3.0 | ★ 41k |+| [windmill](https://github.com/windmill-labs/windmill) | Open-source developer platform to power your entire infra and turn scripts into webhooks, workflows and UIs. Fastest workflow engine (13x vs Airflow). Open-sour | NOASSERTION | ★ 18k |++### ShipFast++ShipFast: paid SaaS product.++| Alternative | Description | License | Stars |+|---|---|---|---|+| [ai-saas-starter](https://github.com/SamurAIGPT/ai-saas-starter) | Production-ready Next.js AI SaaS boilerplate | See repo | ★ 25 |++### Stytch++Stytch: paid SaaS product.++| Alternative | Description | License | Stars |+|---|---|---|---|+| [hanko](https://github.com/teamhanko/hanko) | Modern authentication, on your terms. Open source alternative to Auth0, Clerk, WorkOS, Stytch. | NOASSERTION | ★ 9.0k |++### Terraform++Infrastructure as code.++| Alternative | Description | License | Stars |+|---|---|---|---|+| [OpenTofu](https://github.com/opentofu/opentofu) | Community-driven Terraform fork. | MPL-2.0 | ★ 30k |++### Vercel++Frontend hosting and deployment platform.++| Alternative | Description | License | Stars |+|---|---|---|---|+| [Coolify](https://github.com/coollabsio/coolify) | Self-hostable alternative to Vercel, Heroku and Netlify. | Apache-2.0 | ★ 63k |+| [Dokku](https://github.com/dokku/dokku) | Self-hosted Heroku-style PaaS. Lacks preview deploys and edge features. | MIT | ★ 32k |+| [CapRover](https://github.com/caprover/caprover) | Self-hosted PaaS on Docker and nginx. Covers hosting and deploys only. | Apache-2.0 | ★ 15k |+| [dokploy](https://github.com/Dokploy/dokploy) | Open Source Alternative to Vercel, Netlify and Heroku. | NOASSERTION | ★ 38k |+| [kubero](https://github.com/kubero-dev/kubero) | A free and self-hosted PaaS alternative to Heroku / Netlify / Coolify / Vercel / Dokku / Portainer running on Kubernetes | GPL-3.0 | ★ 4.4k |+| [temps](https://github.com/gotempsh/temps) | AI-native open-source alternative to Vercel + Sentry + PostHog + Pingdom + Resend + E2B. 440+ CLI operations with drop-in skills for Claude Code, Codex & OpenCo | Apache-2.0 | ★ 836 |++### WorkOS++WorkOS: paid SaaS product.++| Alternative | Description | License | Stars |+|---|---|---|---|+| [hanko](https://github.com/teamhanko/hanko) | Modern authentication, on your terms. Open source alternative to Auth0, Clerk, WorkOS, Stytch. | NOASSERTION | ★ 9.0k |++## E-commerce++### Botika++Botika: paid SaaS product.++| Alternative | Description | License | Stars |+|---|---|---|---|+| [ai-tryon](https://github.com/SamurAIGPT/ai-tryon) | Open-source AI virtual try-on tool | See repo | ★ 15 |++### Lalaland++Lalaland: paid SaaS product.++| Alternative | Description | License | Stars |+|---|---|---|---|+| [ai-tryon](https://github.com/SamurAIGPT/ai-tryon) | Open-source AI virtual try-on tool | See repo | ★ 15 |++### Shopify++Online store platform.++| Alternative | Description | License | Stars |+|---|---|---|---|+| [Medusa](https://github.com/medusajs/medusa) | Composable commerce engine. | MIT | ★ 37k |+| [Saleor](https://github.com/saleor/saleor) | Headless commerce backend. No storefront out of the box. | BSD-3-Clause | ★ 23k |++## Education++### Podia++Podia: paid SaaS product.++| Alternative | Description | License | Stars |+|---|---|---|---|+| [courselit](https://github.com/codelitdev/courselit) | Create/Sell courses and digital downloads and publish blogs on your own branded website. An open source alternative to Teachable, Thinkific, Podia and the likes | AGPL-3.0 | ★ 1.3k |++### Teachable++Teachable: paid SaaS product.++| Alternative | Description | License | Stars |+|---|---|---|---|+| [classroomio](https://github.com/classroomio/classroomio) | The Open Source Education Platform for Companies. A Simple and Beautiful Alternative to Moodle LMS, EdX, Thinkific and Teachable | AGPL-3.0 | ★ 1.7k |+| [courselit](https://github.com/codelitdev/courselit) | Create/Sell courses and digital downloads and publish blogs on your own branded website. An open source alternative to Teachable, Thinkific, Podia and the likes | AGPL-3.0 | ★ 1.3k |++### Thinkific++Thinkific: paid SaaS product.++| Alternative | Description | License | Stars |+|---|---|---|---|+| [classroomio](https://github.com/classroomio/classroomio) | The Open Source Education Platform for Companies. A Simple and Beautiful Alternative to Moodle LMS, EdX, Thinkific and Teachable | AGPL-3.0 | ★ 1.7k |+| [courselit](https://github.com/codelitdev/courselit) | Create/Sell courses and digital downloads and publish blogs on your own branded website. An open source alternative to Teachable, Thinkific, Podia and the likes | AGPL-3.0 | ★ 1.3k |++## Finance++### Carta++Carta: paid SaaS product.++| Alternative | Description | License | Stars |+|---|---|---|---|+| [captable](https://github.com/captableinc/captable) | #1 Open-Source Captable, an alternative to Carta, Pully, Angelist and others. | AGPL-3.0 | ★ 823 |++### QuickBooks++QuickBooks: paid SaaS product.++| Alternative | Description | License | Stars |+|---|---|---|---|+| [bigcapital](https://github.com/bigcapitalhq/bigcapital) | 💵 Independent financial accounting with intelligent reporting, alternative to Quickbooks, Xero, Wave. | AGPL-3.0 | ★ 3.9k |++### Splitwise++Splitwise: paid SaaS product.++| Alternative | Description | License | Stars |+|---|---|---|---|+| [spliit](https://github.com/spliit-app/spliit) | Free and Open Source Alternative to Splitwise. Share expenses with your friends and family. | MIT | ★ 3.0k |+| [split-pro](https://github.com/oss-apps/split-pro) | Open source alternative to Splitwise | MIT | ★ 1.5k |++### Stripe Billing++Subscription billing.++| Alternative | Description | License | Stars |+|---|---|---|---|+| [Lago](https://github.com/getlago/lago) | Open source metering and usage-based billing. | AGPL-3.0 | ★ 11k |++### Xero++Xero: paid SaaS product.++| Alternative | Description | License | Stars |+|---|---|---|---|+| [bigcapital](https://github.com/bigcapitalhq/bigcapital) | 💵 Independent financial accounting with intelligent reporting, alternative to Quickbooks, Xero, Wave. | AGPL-3.0 | ★ 3.9k |++### YNAB++YNAB: paid SaaS product.++| Alternative | Description | License | Stars |+|---|---|---|---|+| [financial-freedom](https://github.com/serversideup/financial-freedom) | 🔥🔥🔥 An open source alternative to Mint, YNAB, and more. Stay on budget and build wealth without sacrificing your privacy. | GPL-3.0 | ★ 2.9k |++## Forms++### Qualtrics++Qualtrics: paid SaaS product.++| Alternative | Description | License | Stars |+|---|---|---|---|+| [LimeSurvey](https://github.com/LimeSurvey/LimeSurvey) | 🔥 LimeSurvey – A powerful, open-source survey platform. A free alternative to SurveyMonkey, Typeform, Qualtrics, and Google Forms, making it simple to create o | NOASSERTION | ★ 3.8k |++### SurveyMonkey++SurveyMonkey: paid SaaS product.++| Alternative | Description | License | Stars |+|---|---|---|---|+| [SurveyKing](https://github.com/javahuang/SurveyKing) | One command to deploy a more powerful, self‑hosted alternative to SurveyMonkey. | MIT | ★ 4.0k |+| [LimeSurvey](https://github.com/LimeSurvey/LimeSurvey) | 🔥 LimeSurvey – A powerful, open-source survey platform. A free alternative to SurveyMonkey, Typeform, Qualtrics, and Google Forms, making it simple to create o | NOASSERTION | ★ 3.8k |++### Typeform++Forms and surveys.++| Alternative | Description | License | Stars |+|---|---|---|---|+| [Formbricks](https://github.com/formbricks/formbricks) | Open source survey and experience management. | AGPL-3.0 | ★ 13k |+| [LimeSurvey](https://github.com/LimeSurvey/LimeSurvey) | 🔥 LimeSurvey – A powerful, open-source survey platform. A free alternative to SurveyMonkey, Typeform, Qualtrics, and Google Forms, making it simple to create o | NOASSERTION | ★ 3.8k |++## Marketing++### Ahrefs++Ahrefs: paid SaaS product.++| Alternative | Description | License | Stars |+|---|---|---|---|+| [open-seo](https://github.com/every-app/open-seo) | Open source alternative to Semrush and Ahrefs | MIT | ★ 23k |++### Arcads++Arcads: paid SaaS product.++| Alternative | Description | License | Stars |+|---|---|---|---|+| [Open-AI-UGC](https://github.com/Anil-matcha/Open-AI-UGC) | Open AI UGC | MIT | ★ 363 |++### Braze++Braze: paid SaaS product.++| Alternative | Description | License | Stars |+|---|---|---|---|+| [laudspeaker](https://github.com/laudspeaker/laudspeaker) | 📢 Laudspeaker is an Open Source Customer Engagement and Product Onboarding Platform. Open Source alternative to Braze / One Signal / Customer Io / Appcues / Pe | NOASSERTION | ★ 2.6k |++### Buffer++Buffer: paid SaaS product.++| Alternative | Description | License | Stars |+|---|---|---|---|+| [social-post](https://github.com/SamurAIGPT/social-post) | Open-source AI social media post generator | See repo | ★ 44 |+| [Free-AI-Social-Media-Scheduler](https://github.com/Anil-matcha/Free-AI-Social-Media-Scheduler) | Free open-source AI social media scheduler — self-hostable alternative to Postiz, Buffer, and Hootsuite with built-in AI content generation. | MIT | ★ 5 |++### Customer.io++Customer.io: paid SaaS product.++| Alternative | Description | License | Stars |+|---|---|---|---|+| [laudspeaker](https://github.com/laudspeaker/laudspeaker) | 📢 Laudspeaker is an Open Source Customer Engagement and Product Onboarding Platform. Open Source alternative to Braze / One Signal / Customer Io / Appcues / Pe | NOASSERTION | ★ 2.6k |++### Hootsuite++Hootsuite: paid SaaS product.++| Alternative | Description | License | Stars |+|---|---|---|---|+| [Free-AI-Social-Media-Scheduler](https://github.com/Anil-matcha/Free-AI-Social-Media-Scheduler) | Free open-source AI social media scheduler — self-hostable alternative to Postiz, Buffer, and Hootsuite with built-in AI content generation. | MIT | ★ 5 |++### Lavender++Lavender: paid SaaS product.++| Alternative | Description | License | Stars |+|---|---|---|---|+| [mail-wise](https://github.com/SamurAIGPT/mail-wise) | Open-source AI email composer & cold outreach assistant | See repo | ★ 7 |++### Linktree++Linktree: paid SaaS product.++| Alternative | Description | License | Stars |+|---|---|---|---|+| [LinkFree](https://github.com/MichaelBarney/LinkFree) | A free and open source alternative to LinkTree | Apache-2.0 | ★ 691 |++### Mailchimp++Email marketing.++| Alternative | Description | License | Stars |+|---|---|---|---|+| [Listmonk](https://github.com/knadh/listmonk) | Newsletter and mailing list manager. No automation workflows. | AGPL-3.0 | ★ 24k |+| [forwardemail.net](https://github.com/forwardemail/forwardemail.net) | Privacy-focused encrypted email for everyone. All-in-one alternative to Gmail + Mailchimp + Sendgrid. | NOASSERTION | ★ 1.7k |++### Mailgun++Mailgun: paid SaaS product.++| Alternative | Description | License | Stars |+|---|---|---|---|+| [relay](https://github.com/hyvor/relay) | 📨 Open-Source Email API for Developers. Cloud & Self-hosted Alternative to SES, Mailgun, SendGrid. | AGPL-3.0 | ★ 918 |+| [posta](https://github.com/goposta/posta) | Self-hosted email delivery platform that enables applications to send emails via HTTP APIs while handling SMTP delivery, templates, storage, security, and analy | AGPL-3.0 | ★ 524 |++### MakeUGC++MakeUGC: paid SaaS product.++| Alternative | Description | License | Stars |+|---|---|---|---|+| [Open-AI-UGC](https://github.com/Anil-matcha/Open-AI-UGC) | Open AI UGC | MIT | ★ 363 |++### OneSignal++OneSignal: paid SaaS product.++| Alternative | Description | License | Stars |+|---|---|---|---|+| [laudspeaker](https://github.com/laudspeaker/laudspeaker) | 📢 Laudspeaker is an Open Source Customer Engagement and Product Onboarding Platform. Open Source alternative to Braze / One Signal / Customer Io / Appcues / Pe | NOASSERTION | ★ 2.6k |++### Reply.io++Reply.io: paid SaaS product.++| Alternative | Description | License | Stars |+|---|---|---|---|+| [mail-wise](https://github.com/SamurAIGPT/mail-wise) | Open-source AI email composer & cold outreach assistant | See repo | ★ 7 |++### Resend++Resend: paid SaaS product.++| Alternative | Description | License | Stars |+|---|---|---|---|+| [useSend](https://github.com/usesend/useSend) | Open source alternative to Resend, Sendgrid, Postmark etc. | AGPL-3.0 | ★ 4.7k |+| [temps](https://github.com/gotempsh/temps) | AI-native open-source alternative to Vercel + Sentry + PostHog + Pingdom + Resend + E2B. 440+ CLI operations with drop-in skills for Claude Code, Codex & OpenCo | Apache-2.0 | ★ 836 |++### Screaming Frog++Screaming Frog: paid SaaS product.++| Alternative | Description | License | Stars |+|---|---|---|---|+| [LibreCrawl](https://github.com/PhialsBasement/LibreCrawl) | Free desktop SEO crawler - open source alternative to Screaming Frog and similar tools. Crawl websites, analyze links, extract SEO data, and export results with | MIT | ★ 1.0k |++### Semrush++Semrush: paid SaaS product.-Open `http://localhost:3000`.+| Alternative | Description | License | Stars |+|---|---|---|---|+| [geo-checker](https://github.com/SamurAIGPT/geo-checker) | Open-source AI GEO (Generative Engine Optimization) auditor | See repo | ★ 14 |-## Configuration+### SendGrid-The API reads these settings from `server/.env`:+SendGrid: paid SaaS product.-| Variable | Purpose |-| --- | --- |-| `PORT` | API port; defaults to `8000` |-| `HOST` | API bind address; defaults to `0.0.0.0` |-| `CORS_ORIGINS` | Comma-separated allowed browser origins |-| `DATABASE_URL` | PostgreSQL connection string |-| `DIRECT_URL` | Optional direct database connection string; takes precedence when set |-| `DEFAULT_MODEL` | Default configured chat model |-| `MUAPI_API_KEY` | Provider key for MuAPI-backed features |+| Alternative | Description | License | Stars |+|---|---|---|---|+| [useSend](https://github.com/usesend/useSend) | Open source alternative to Resend, Sendgrid, Postmark etc. | AGPL-3.0 | ★ 4.7k |+| [forwardemail.net](https://github.com/forwardemail/forwardemail.net) | Privacy-focused encrypted email for everyone. All-in-one alternative to Gmail + Mailchimp + Sendgrid. | NOASSERTION | ★ 1.7k |+| [relay](https://github.com/hyvor/relay) | 📨 Open-Source Email API for Developers. Cloud & Self-hosted Alternative to SES, Mailgun, SendGrid. | AGPL-3.0 | ★ 918 |++### Sendible++Sendible: paid SaaS product.++| Alternative | Description | License | Stars |+|---|---|---|---|+| [brightbean-studio](https://github.com/brightbeanxyz/brightbean-studio) | Open-source, self-hostable social media management platform. Schedule, publish, and manage content across 10+ platforms from a single dashboard. Free alternativ | AGPL-3.0 | ★ 2.5k |++### SocialPilot++SocialPilot: paid SaaS product.++| Alternative | Description | License | Stars |+|---|---|---|---|+| [brightbean-studio](https://github.com/brightbeanxyz/brightbean-studio) | Open-source, self-hostable social media management platform. Schedule, publish, and manage content across 10+ platforms from a single dashboard. Free alternativ | AGPL-3.0 | ★ 2.5k |++### Surfer SEO++Surfer SEO: paid SaaS product.++| Alternative | Description | License | Stars |+|---|---|---|---|+| [geo-checker](https://github.com/SamurAIGPT/geo-checker) | Open-source AI GEO (Generative Engine Optimization) auditor | See repo | ★ 14 |++## Monitoring++### Datadog++Infrastructure and application monitoring.++| Alternative | Description | License | Stars |+|---|---|---|---|+| [Grafana](https://github.com/grafana/grafana) | Dashboards and metrics for monitoring. Usually paired with Prometheus. | AGPL-3.0 | ★ 77k |+| [SigNoz](https://github.com/SigNoz/signoz) | OpenTelemetry-native APM, logs and traces. | MIT (core) | ★ 32k |+| [openobserve](https://github.com/openobserve/openobserve) | Open source observability platform for logs, metrics, traces, RUM (web, android, ios), Session replay, pipelines, SLO and LLM observability. A sophisticated, si | AGPL-3.0 | ★ 22k |++### Pingdom++Pingdom: paid SaaS product.++| Alternative | Description | License | Stars |+|---|---|---|---|+| [temps](https://github.com/gotempsh/temps) | AI-native open-source alternative to Vercel + Sentry + PostHog + Pingdom + Resend + E2B. 440+ CLI operations with drop-in skills for Claude Code, Codex & OpenCo | Apache-2.0 | ★ 836 |++### Sentry++Sentry: paid SaaS product.++| Alternative | Description | License | Stars |+|---|---|---|---|+| [temps](https://github.com/gotempsh/temps) | AI-native open-source alternative to Vercel + Sentry + PostHog + Pingdom + Resend + E2B. 440+ CLI operations with drop-in skills for Claude Code, Codex & OpenCo | Apache-2.0 | ★ 836 |++### Splunk++Splunk: paid SaaS product.++| Alternative | Description | License | Stars |+|---|---|---|---|+| [openobserve](https://github.com/openobserve/openobserve) | Open source observability platform for logs, metrics, traces, RUM (web, android, ios), Session replay, pipelines, SLO and LLM observability. A sophisticated, si | AGPL-3.0 | ★ 22k |++## Product++### Appcues++Appcues: paid SaaS product.++| Alternative | Description | License | Stars |+|---|---|---|---|+| [laudspeaker](https://github.com/laudspeaker/laudspeaker) | 📢 Laudspeaker is an Open Source Customer Engagement and Product Onboarding Platform. Open Source alternative to Braze / One Signal / Customer Io / Appcues / Pe | NOASSERTION | ★ 2.6k |+| [usertour](https://github.com/usertour/usertour) | Usertour is an open-source user onboarding platform. It allows you to create in-app product tours, checklists, and surveys in minutes—effortlessly and with full | NOASSERTION | ★ 2.3k |++### Pendo++Pendo: paid SaaS product.++| Alternative | Description | License | Stars |+|---|---|---|---|+| [laudspeaker](https://github.com/laudspeaker/laudspeaker) | 📢 Laudspeaker is an Open Source Customer Engagement and Product Onboarding Platform. Open Source alternative to Braze / One Signal / Customer Io / Appcues / Pe | NOASSERTION | ★ 2.6k |++### Userflow++Userflow: paid SaaS product.++| Alternative | Description | License | Stars |+|---|---|---|---|+| [usertour](https://github.com/usertour/usertour) | Usertour is an open-source user onboarding platform. It allows you to create in-app product tours, checklists, and surveys in minutes—effortlessly and with full | NOASSERTION | ★ 2.3k |++## Productivity++### Airtable++Spreadsheet-database hybrid.++| Alternative | Description | License | Stars |+|---|---|---|---|+| [NocoDB](https://github.com/nocodb/nocodb) | Turns any database into a smart spreadsheet. | AGPL-3.0 | ★ 65k |+| [Baserow](https://github.com/bram2w/baserow) | No-code database and application builder. | MIT | ★ 6.1k |++### Calendly++Scheduling and booking.++| Alternative | Description | License | Stars |+|---|---|---|---|+| [Cal.com](https://github.com/calcom/cal.com) | Scheduling infrastructure for everyone. | MIT | ★ 49k |++### Confluence++Confluence: paid SaaS product.++| Alternative | Description | License | Stars |+|---|---|---|---|+| [docmost](https://github.com/docmost/docmost) | Docmost is an open-source collaborative wiki and documentation software. It is an open-source alternative to Confluence and Notion. | AGPL-3.0 | ★ 22k |++### DocuSign++E-signatures.++| Alternative | Description | License | Stars |+|---|---|---|---|+| [Documenso](https://github.com/documenso/documenso) | Open source document signing. | AGPL-3.0 | ★ 15k |++### Evernote++Note taking.++| Alternative | Description | License | Stars |+|---|---|---|---|+| [Joplin](https://github.com/laurent22/joplin) | Note-taking app with end-to-end encrypted sync. | AGPL-3.0 | ★ 57k |+| [notesnook](https://github.com/streetwriters/notesnook) | A fully open source & end-to-end encrypted note taking alternative to Evernote. | GPL-3.0 | ★ 15k |++### Kickresume++Kickresume: paid SaaS product.++| Alternative | Description | License | Stars |+|---|---|---|---|+| [ai-resume-builder](https://github.com/SamurAIGPT/ai-resume-builder) | Open-source AI resume builder & optimizer | See repo | ★ 10 |++### Microsoft Office++Documents, spreadsheets and presentations.++| Alternative | Description | License | Stars |+|---|---|---|---|+| [LibreOffice](https://github.com/LibreOffice/core) | Full office suite with Writer, Calc and Impress. | GPL-3.0 | ★ 4.5k |+| [ONLYOFFICE](https://github.com/ONLYOFFICE/DocumentServer) | Online editors compatible with Office formats. | AGPL-3.0 | ★ 7.0k |++### Notion++All-in-one workspace for notes, docs and wikis.++| Alternative | Description | License | Stars |+|---|---|---|---|+| [AppFlowy](https://github.com/AppFlowy-IO/AppFlowy) | Privacy-first Notion alternative built with Flutter and Rust. | AGPL-3.0 | ★ 77k |+| [AFFiNE](https://github.com/toeverything/AFFiNE) | Docs, whiteboards and databases in one local-first workspace. | MIT | ★ 73k |+| [SiYuan](https://github.com/siyuan-note/siyuan) | Local-first personal knowledge management system. | AGPL-3.0 | ★ 47k |+| [Logseq](https://github.com/logseq/logseq) | Privacy-first outliner for notes and knowledge. No native databases. | AGPL-3.0 | ★ 45k |+| [Huly](https://github.com/hcengineering/platform) | Huly — All-in-One Project Management Platform (alternative to Linear, Jira, Slack, Notion, Motion) | EPL-2.0 | ★ 28k |+| [focalboard](https://github.com/mattermost-community/focalboard) | Focalboard is an open source, self-hosted alternative to Trello, Notion, and Asana. | NOASSERTION | ★ 26k |+| [docmost](https://github.com/docmost/docmost) | Docmost is an open-source collaborative wiki and documentation software. It is an open-source alternative to Confluence and Notion. | AGPL-3.0 | ★ 22k |++### Teal++Teal: paid SaaS product.++| Alternative | Description | License | Stars |+|---|---|---|---|+| [ai-resume-builder](https://github.com/SamurAIGPT/ai-resume-builder) | Open-source AI resume builder & optimizer | See repo | ★ 10 |++## Project Management++### Asana++Asana: paid SaaS product.++| Alternative | Description | License | Stars |+|---|---|---|---|+| [focalboard](https://github.com/mattermost-community/focalboard) | Focalboard is an open source, self-hosted alternative to Trello, Notion, and Asana. | NOASSERTION | ★ 26k |++### ClickUp++ClickUp: paid SaaS product.++| Alternative | Description | License | Stars |+|---|---|---|---|+| [Paca](https://github.com/Paca-AI/paca) | AI-native, free, open-source alternative to Jira, Trello, ClickUp & Monday. Built for Scrum teams where humans and AI agents collaborate as equals — on the same | Apache-2.0 | ★ 1.9k |++### Jira++Issue and project tracking.++| Alternative | Description | License | Stars |+|---|---|---|---|+| [Plane](https://github.com/makeplane/plane) | Issues, cycles and modules for modern teams. | AGPL-3.0 | ★ 61k |+| [Huly](https://github.com/hcengineering/platform) | Huly — All-in-One Project Management Platform (alternative to Linear, Jira, Slack, Notion, Motion) | EPL-2.0 | ★ 28k |+| [Paca](https://github.com/Paca-AI/paca) | AI-native, free, open-source alternative to Jira, Trello, ClickUp & Monday. Built for Scrum teams where humans and AI agents collaborate as equals — on the same | Apache-2.0 | ★ 1.9k |++### Linear++Linear: paid SaaS product.++| Alternative | Description | License | Stars |+|---|---|---|---|+| [Huly](https://github.com/hcengineering/platform) | Huly — All-in-One Project Management Platform (alternative to Linear, Jira, Slack, Notion, Motion) | EPL-2.0 | ★ 28k |+| [ItsAPlan](https://github.com/croffasia/itsaplan) | Open-source, self-hosted alternative to Linear and Plane. Project management and issue tracking where teams and AI agents work side by side to plan and ship pro | AGPL-3.0 | ★ 942 |++### Monday.com++Monday.com: paid SaaS product.++| Alternative | Description | License | Stars |+|---|---|---|---|+| [Paca](https://github.com/Paca-AI/paca) | AI-native, free, open-source alternative to Jira, Trello, ClickUp & Monday. Built for Scrum teams where humans and AI agents collaborate as equals — on the same | Apache-2.0 | ★ 1.9k |++### Trello++Kanban boards.++| Alternative | Description | License | Stars |+|---|---|---|---|+| [WeKan](https://github.com/wekan/wekan) | Open source kanban board. | MIT | ★ 21k |+| [focalboard](https://github.com/mattermost-community/focalboard) | Focalboard is an open source, self-hosted alternative to Trello, Notion, and Asana. | NOASSERTION | ★ 26k |+| [Paca](https://github.com/Paca-AI/paca) | AI-native, free, open-source alternative to Jira, Trello, ClickUp & Monday. Built for Scrum teams where humans and AI agents collaborate as equals — on the same | Apache-2.0 | ★ 1.9k |++## Publishing++### Disqus++Disqus: paid SaaS product.++| Alternative | Description | License | Stars |+|---|---|---|---|+| [mouthful](https://github.com/vkuznecovas/mouthful) | Mouthful is a self-hosted alternative to Disqus | MIT | ★ 775 |++### Medium / Substack++Blogging and newsletters.++| Alternative | Description | License | Stars |+|---|---|---|---|+| [Ghost](https://github.com/TryGhost/Ghost) | Publishing platform with memberships and newsletters. | MIT | ★ 56k |++## Security++### 1Password++Password manager.++| Alternative | Description | License | Stars |+|---|---|---|---|+| [Bitwarden](https://github.com/bitwarden/server) | Open source password manager for individuals and teams. | AGPL-3.0 / Bitwarden License | ★ 20k |+| [Vaultwarden](https://github.com/dani-garcia/vaultwarden) | Self-hosted Bitwarden-compatible server. | AGPL-3.0 | ★ 69k |+| [KeePassXC](https://github.com/keepassxreboot/keepassxc) | Cross-platform offline password manager. | GPL-2.0 / GPL-3.0 | ★ 29k |++### Censys++Censys: paid SaaS product.++| Alternative | Description | License | Stars |+|---|---|---|---|+| [ivre](https://github.com/ivre/ivre) | Network recon framework. Build your own, self-hosted and fully-controlled alternatives to Shodan / ZoomEye / Censys and GreyNoise, run your Passive DNS service, | GPL-3.0 | ★ 4.2k |++### Shodan++Shodan: paid SaaS product.++| Alternative | Description | License | Stars |+|---|---|---|---|+| [ivre](https://github.com/ivre/ivre) | Network recon framework. Build your own, self-hosted and fully-controlled alternatives to Shodan / ZoomEye / Censys and GreyNoise, run your Passive DNS service, | GPL-3.0 | ★ 4.2k |++## Storage++### Dropbox++Cloud file storage and sync.++| Alternative | Description | License | Stars |+|---|---|---|---|+| [Nextcloud](https://github.com/nextcloud/server) | Self-hosted file sync, sharing and collaboration platform. | AGPL-3.0 | ★ 37k |+| [Syncthing](https://github.com/syncthing/syncthing) | Peer-to-peer file sync. No cloud storage or share links. | MPL-2.0 | ★ 89k |++## Video++### Adobe Premiere Pro++Professional video editing.++| Alternative | Description | License | Stars |+|---|---|---|---|+| [Kdenlive](https://github.com/KDE/kdenlive) | Multi-track non-linear video editor. | GPL-3.0 | ★ 5.8k |+| [OpenShot](https://github.com/OpenShot/openshot-qt) | Easy-to-use cross-platform video editor. | GPL-3.0 | ★ 6.6k |++### CleanShot X++CleanShot X: paid SaaS product.++| Alternative | Description | License | Stars |+|---|---|---|---|+| [better-shot](https://github.com/KartikLabhshetwar/better-shot) | Screenshot, screen recording, and video editor for macOS. Native SwiftUI app with capture deck, 75+ customizable shortcuts, URL scheme automation, and self-host | NOASSERTION | ★ 2.4k |+| [Capso](https://github.com/lzhgus/Capso) | Open-source screenshot and screen recording for macOS. The free, native alternative to CleanShot X. Built with Swift 6.0 and SwiftUI. | NOASSERTION | ★ 1.4k |++### Klap++Klap: paid SaaS product.++| Alternative | Description | License | Stars |+|---|---|---|---|+| [AI-Youtube-Shorts-Generator](https://github.com/Anil-matcha/AI-Youtube-Shorts-Generator) | Open-source alternative to Opus Clip, Vidyo.ai, Klap & SubMagic. Turn long-form YouTube videos into viral 9:16 shorts using LLM highlight detection, Whisper tra | MIT | ★ 5.3k |++### Loom++Screen recording and sharing.++| Alternative | Description | License | Stars |+|---|---|---|---|+| [Cap](https://github.com/CapSoftware/Cap) | Open source screen recorder and sharing tool. | AGPL-3.0 | ★ 23k |+| [better-shot](https://github.com/KartikLabhshetwar/better-shot) | Screenshot, screen recording, and video editor for macOS. Native SwiftUI app with capture deck, 75+ customizable shortcuts, URL scheme automation, and self-host | NOASSERTION | ★ 2.4k |++### Opus Clip++Opus Clip: paid SaaS product.++| Alternative | Description | License | Stars |+|---|---|---|---|+| [ai-clipping-comfyui](https://github.com/Anil-matcha/ai-clipping-comfyui) | Free open-source Opus Clip alternative for ComfyUI | MIT | ★ 28 |+| [AI-Youtube-Shorts-Generator](https://github.com/Anil-matcha/AI-Youtube-Shorts-Generator) | Open-source alternative to Opus Clip, Vidyo.ai, Klap & SubMagic. Turn long-form YouTube videos into viral 9:16 shorts using LLM highlight detection, Whisper tra | MIT | ★ 5.3k |++### SubMagic++SubMagic: paid SaaS product.++| Alternative | Description | License | Stars |+|---|---|---|---|+| [AI-Youtube-Shorts-Generator](https://github.com/Anil-matcha/AI-Youtube-Shorts-Generator) | Open-source alternative to Opus Clip, Vidyo.ai, Klap & SubMagic. Turn long-form YouTube videos into viral 9:16 shorts using LLM highlight detection, Whisper tra | MIT | ★ 5.3k |++### Vidyo.ai++Vidyo.ai: paid SaaS product.++| Alternative | Description | License | Stars |+|---|---|---|---|+| [AI-Youtube-Shorts-Generator](https://github.com/Anil-matcha/AI-Youtube-Shorts-Generator) | Open-source alternative to Opus Clip, Vidyo.ai, Klap & SubMagic. Turn long-form YouTube videos into viral 9:16 shorts using LLM highlight detection, Whisper tra | MIT | ★ 5.3k |++## Notes++- Licenses and star counts are refreshed from the GitHub API and can change. Check each project before you adopt it.+- "Open source" here means source is publicly available. Some entries use fair-code or source-available licenses and are marked as such.++## Data sources++- **Curated entries:** the original tool-to-alternative pairs are maintained by hand in [`data.json`](data.json).+- **Discovered entries:** more pairs were found with the [GitHub Search API](https://docs.github.com/en/rest/search/search#search-repositories) by looking for public repositories whose description says "alternative to X". Those entries reuse the repository's own GitHub description, and a human decided which targets are paid SaaS products.+- **Stars, licenses and last-push dates:** pulled from the [GitHub REST API](https://docs.github.com/en/rest/repos/repos#get-a-repository) and refreshed weekly. Where GitHub can't detect a license, the entry says "See repo".+- **Community submissions:** added through the [issue form](../../issues/new?template=add-alternative.yml) and pull requests.+- **Verification:** the original curated pairs were cross-checked against independent sources (comparison articles and directories). Where a project replaces only part of a product, its description says so.+- **Disclosure:** some listed projects are maintained by the author of this list ([Anil-matcha](https://github.com/Anil-matcha) and [SamurAIGPT](https://github.com/SamurAIGPT)). Each one's own repository description claims it as an alternative to the listed app.+- This list does not copy data from AlternativeTo, OpenAlternative or other directories.## Contributing-Issues, bug reports, and pull requests are welcome. Please include steps to reproduce bugs and describe the behavior you expect. For larger changes, open an issue first so the approach can be discussed.+Add or edit entries in [`data.json`](data.json), then run:-## License+```bash+GITHUB_TOKEN=... node scripts/refresh-stats.mjs+node scripts/build-readme.mjs+```-OpenSpaces is distributed under the [MIT License](LICENSE).+README.md is generated, so please don't edit it by hand.diff --git a/THEME_PLAN.md b/THEME_PLAN.mddeleted file mode 100644index 21022a1..0000000--- a/THEME_PLAN.md+++ /dev/null@@ -1,39 +0,0 @@-# 🎨 OpenSpaces Theme System: Light & Dark Mode Design Plan--## 1. Objective & Philosophy-To deliver an authentic, distraction-free collaborative experience designed for Open Spaces and Canvas. The theme system dynamically adapts between a deep obsidian dark mode and a crisp, readable paper-white light mode using `next-themes` with zero layout shift or hydration flicker.-------## 2. Core Color Palette & Token Hierarchy--| Token Name | CSS Variable | Light Mode Value | Dark Mode Value | Usage Context |-| :--- | :--- | :--- | :--- | :--- |-| **Canvas Background** | `--bg-canvas` | `#fbfbfa` / `#f4f4f5` | `#141416` | Main working area, Page canvas |-| **Sidebar Background**| `--bg-sidebar` | `#f7f7f8` | `#18181b` | Navigation, spaces list |-| **Surface / Card** | `--bg-card` | `#ffffff` | `#1e1e24` | Modals, cards, editor toolbar |-| **Elevated Hover** | `--bg-hover` | `#f0f0f2` | `#27272a` | Hover states, selected tabs |-| **Border Primary** | `--border-primary` | `#e4e4e7` (Zinc 200) | `#2e2e34` (Zinc 800) | Structural dividers, tab borders |-| **Border Subtle** | `--border-subtle` | `#f4f4f5` (Zinc 100) | `#232328` (Zinc 850) | Inset cards, subtle separators |-| **Text Primary** | `--text-primary` | `#18181b` (Zinc 900) | `#f4f4f5` (Zinc 100) | Main headings, page content |-| **Text Secondary** | `--text-secondary` | `#52525b` (Zinc 600) | `#a1a1aa` (Zinc 400) | Subtitles, descriptions, captions |-| **Text Muted** | `--text-muted` | `#71717a` (Zinc 500) | `#71717a` (Zinc 500) | Timestamps, counters, icons |-| **Accent Primary** | `--accent-indigo` | `#4f46e5` (Indigo 600) | `#6366f1` (Indigo 500) | Buttons, active badges, highlights |-| **Accent Gradient** | `--accent-grad` | `from-indigo-600 to-violet-600` | `from-indigo-500 to-violet-500` | Brand logo, Dot agent avatars |-| **Agent Bubble** | `--bubble-agent` | `#f4f4f5` | `#202025` | AI/Dot response container |-| **User Bubble** | `--bubble-user` | `#4f46e5` | `#4f46e5` | User chat bubbles |-------## 3. Implementation Plan with `next-themes`--1. **Provider Setup**:- - `client/src/components/ThemeProvider.js` wrapping root layout with `attribute="class"`, `defaultTheme="system"`, and `enableSystem`.-2. **HTML Suppression**:- - Add `suppressHydrationWarning` to `<html lang="en">` in `src/app/layout.js`.-3. **Tailwind v4 Configuration**:- - Configure `@custom-variant dark (&:where(.dark, .dark *));` in `src/app/globals.css`.-4. **Theme Toggle Component**:- - Create `src/components/ThemeToggle.js` for switching between Light, Dark, and System modes.-5. **Component Upgrades**:- - Upgrade `Sidebar`, `SpaceHeader`, `PagesCanvas`, `SpaceChat`, `DotsManager`, and `MeetingIntelligence` to use seamless responsive dark/light classes.diff --git a/client/.gitignore b/client/.gitignoredeleted file mode 100644index 5ef6a52..0000000--- a/client/.gitignore+++ /dev/null@@ -1,41 +0,0 @@-# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.--# dependencies-/node_modules-/.pnp-.pnp.*-.yarn/*-!.yarn/patches-!.yarn/plugins-!.yarn/releases-!.yarn/versions--# testing-/coverage--# next.js-/.next/-/out/--# production-/build--# misc-.DS_Store-*.pem--# debug-npm-debug.log*-yarn-debug.log*-yarn-error.log*-.pnpm-debug.log*--# env files (can opt-in for committing if needed)-.env*--# vercel-.vercel--# typescript-*.tsbuildinfo-next-env.d.tsdiff --git a/client/AGENTS.md b/client/AGENTS.mddeleted file mode 100644index 643577d..0000000--- a/client/AGENTS.md+++ /dev/null@@ -1,9 +0,0 @@-<!-- BEGIN:nextjs-agent-rules -->--# This is NOT the Next.js you know--This version has breaking changes — APIs, conventions, and file structure may all differ from your training data. Read the relevant guide in `node_modules/next/dist/docs/` (resolved from this file's directory; in monorepos the `next` package may not be visible from the repo root) before writing any code. Heed deprecation notices.--This block is written and re-added by `next dev` — verify at `node_modules/next/dist/server/lib/generate-agent-files.js`. Removing it from a diff only re-creates the uncommitted change; committing it with your work keeps the tree clean.--<!-- END:nextjs-agent-rules -->diff --git a/client/CLAUDE.md b/client/CLAUDE.mddeleted file mode 100644index 43c994c..0000000--- a/client/CLAUDE.md+++ /dev/null@@ -1 +0,0 @@diff --git a/client/README.md b/client/README.mddeleted file mode 100644index f747e11..0000000--- a/client/README.md+++ /dev/null@@ -1,27 +0,0 @@-# OpenSpaces Client--Modern frontend application for OpenSpaces, built with **Next.js 16 (App Router)**, **Tailwind CSS v4**, and **TipTap**.--## Features Included--- **OpenDots Living Document Editor**: TipTap powered rich document canvas with full Markdown round-tripping.-- **Slash Commands Menu (`/`)**: Keyboard-first insertion menu for blocks, headings, lists, tables, and AI tools.-- **Inline AI Writing Assistant (`AiPromptView.js`)**: Context-aware document section writer with in-place shimmering loader.-- **Inline Image Generation (`AiImageView.js`)**: High-res image generation via MuAPI `gpt-image-2-text-to-image` with aspect ratio options and smart prompt suggestions.-- **Spaces & Discussion**: Multi-workspace sidebar, discussion threads with agent mentions, and meeting transcription intelligence.-- **Theme Support**: Seamless Light and Dark mode using `next-themes`.--## Getting Started--```bash-npm install-npm run dev-```--Open [http://localhost:3000](http://localhost:3000) to view the application.--## Build--```bash-npm run build-```diff --git a/client/eslint.config.mjs b/client/eslint.config.mjsdeleted file mode 100644index 05e726d..0000000--- a/client/eslint.config.mjs+++ /dev/null@@ -1,18 +0,0 @@-import { defineConfig, globalIgnores } from "eslint/config";-import nextVitals from "eslint-config-next/core-web-vitals";-import nextTs from "eslint-config-next/typescript";--const eslintConfig = defineConfig([- ...nextVitals,- ...nextTs,- // Override default ignores of eslint-config-next.- globalIgnores([- // Default ignores of eslint-config-next:- ".next/**",- "out/**",- "build/**",- "next-env.d.ts",- ]),-]);--export default eslintConfig;diff --git a/client/jsconfig.json b/client/jsconfig.jsondeleted file mode 100644index abe04df..0000000--- a/client/jsconfig.json+++ /dev/null@@ -1,8 +0,0 @@-{- "compilerOptions": {- "baseUrl": ".",- "paths": {- "@/*": ["./src/*"]- }- }-}diff --git a/client/next.config.mjs b/client/next.config.mjsdeleted file mode 100644index b108e1a..0000000--- a/client/next.config.mjs+++ /dev/null@@ -1,6 +0,0 @@-/** @type {import('next').NextConfig} */-const nextConfig = {- /* config options here */-};--export default nextConfig;diff --git a/client/package-lock.json b/client/package-lock.jsondeleted file mode 100644index a0496ab..0000000--- a/client/package-lock.json+++ /dev/null@@ -1,9148 +0,0 @@-{- "name": "client",- "version": "0.1.0",- "lockfileVersion": 3,- "requires": true,- "packages": {- "": {- "name": "client",- "version": "0.1.0",- "dependencies": {- "@tiptap/core": "^3.31.4",- "@tiptap/extension-image": "^3.31.4",- "@tiptap/extension-placeholder": "^3.31.4",- "@tiptap/extension-table": "^3.31.4",- "@tiptap/extension-task-item": "^3.31.4",- "@tiptap/extension-task-list": "^3.31.4",- "@tiptap/markdown": "^3.31.4",- "@tiptap/pm": "^3.31.4",- "@tiptap/react": "^3.31.4",- "@tiptap/starter-kit": "^3.31.4",- "@tiptap/suggestion": "^3.31.4",- "next": "16.3.8",- "next-themes": "^0.4.6",- "react": "19.2.8",- "react-dom": "19.2.8",- "react-icons": "^5.7.0",- "react-markdown": "^10.1.0",- "remark-gfm": "^4.0.1"- },- "devDependencies": {- "@tailwindcss/postcss": "^4",- "eslint": "^9",- "eslint-config-next": "16.3.8",- "tailwindcss": "^4"- }- },- "node_modules/@alloc/quick-lru": {- "version": "5.3.0",- "resolved": "https://registry.npmjs.org/@alloc/quick-lru/-/quick-lru-5.3.0.tgz",- "integrity": "sha512-U4+70Pc5ZS9osnCBCE5Jha/ciHM+Yp+CNMNC/7HvYbNRk1Ldd+f7qO65W5qfhu/TCv+/ozljlXXe9Nj8419DMA==",- "dev": true,- "license": "MIT",- "engines": {- "node": ">=10"- },- "funding": {- "url": "https://github.com/sponsors/sindresorhus"- }- },- "node_modules/@babel/code-frame": {- "version": "7.29.7",- "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.29.7.tgz",- "integrity": "sha512-Aup7aUOfpbAUg2ROOJN6Iw5f9DMBlzu0mIkm/malLQFN/YQgO48wCj0Kxa3sEHJvPVFg7siR+qRInwXd2qhQKw==",- "dev": true,- "license": "MIT",- "dependencies": {- "@babel/helper-validator-identifier": "^7.29.7",- "js-tokens": "^4.0.0",- "picocolors": "^1.1.1"- },- "engines": {- "node": ">=6.9.0"- }- },- "node_modules/@babel/compat-data": {- "version": "7.29.7",- "resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.29.7.tgz",- "integrity": "sha512-locTkQyKvwIEgBzVrn8693ebc97F2U8ZHjbXwDXJ5Fn2TCpNwTlKcaKLkdHop5c/icOFE7qt7Q9JC5hnKNa6Gg==",- "dev": true,- "license": "MIT",- "engines": {- "node": ">=6.9.0"- }- },- "node_modules/@babel/core": {- "version": "7.29.7",- "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.29.7.tgz",- "integrity": "sha512-RgHBCvtjbOK2gXSNBNIkNoEc9qoVEtau3hj8gEqKQuL3HZAibKarWFEI3Lfm6EYKkLalOh8eSrj9b+ch9H/VBA==",- "dev": true,- "license": "MIT",- "dependencies": {- "@babel/code-frame": "^7.29.7",- "@babel/generator": "^7.29.7",- "@babel/helper-compilation-targets": "^7.29.7",- "@babel/helper-module-transforms": "^7.29.7",- "@babel/helpers": "^7.29.7",- "@babel/parser": "^7.29.7",- "@babel/template": "^7.29.7",- "@babel/traverse": "^7.29.7",- "@babel/types": "^7.29.7",- "@jridgewell/remapping": "^2.3.5",- "convert-source-map": "^2.0.0",- "debug": "^4.1.0",- "gensync": "^1.0.0-beta.2",- "json5": "^2.2.3",- "semver": "^6.3.1"- },- "engines": {- "node": ">=6.9.0"- },- "funding": {- "type": "opencollective",- "url": "https://opencollective.com/babel"- }- },- "node_modules/@babel/generator": {- "version": "7.29.8",- "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.29.8.tgz",- "integrity": "sha512-gZbepsdh3WDtgZKWL+vTPh71LSBrm/Y4/QDZBVCcYfmeTEEuoOYwlSy+G1StfJg+/Zy550u/3TATbm7qDbbMtg==",- "dev": true,- "license": "MIT",- "dependencies": {- "@babel/parser": "^7.29.8",- "@babel/types": "^7.29.8",- "@jridgewell/gen-mapping": "^0.3.12",- "@jridgewell/trace-mapping": "^0.3.28",- "jsesc": "^3.0.2"- },- "engines": {- "node": ">=6.9.0"- }- },- "node_modules/@babel/helper-compilation-targets": {- "version": "7.29.7",- "resolved": "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-7.29.7.tgz",- "integrity": "sha512-wem6WaBj4NaVYVdNhLPPVacES6ZJ+KBBfSkTMD3YZxbP3rm3Di85tJU5ljaUNhaOynt+Aj0xruhYuzQBt8n71g==",- "dev": true,- "license": "MIT",- "dependencies": {- "@babel/compat-data": "^7.29.7",- "@babel/helper-validator-option": "^7.29.7",- "browserslist": "^4.24.0",- "lru-cache": "^5.1.1",- "semver": "^6.3.1"- },- "engines": {- "node": ">=6.9.0"- }- },- "node_modules/@babel/helper-globals": {- "version": "7.29.7",- "resolved": "https://registry.npmjs.org/@babel/helper-globals/-/helper-globals-7.29.7.tgz",- "integrity": "sha512-3nQVUAtvkKH9zahfWgw96Jc/uFOmjACE1kQz82E2lqWmHBgjzbNlsC22nuQTfahmWeQtTq5nQ/4Nnd2A1wj4zA==",- "dev": true,- "license": "MIT",- "engines": {- "node": ">=6.9.0"- }- },- "node_modules/@babel/helper-module-imports": {- "version": "7.29.7",- "resolved": "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.29.7.tgz",- "integrity": "sha512-ejHwrQQYcm9xnTivShn2IDOlIzInN34AXskvq9QicvCtEzq1Vzclu/tKF8Jq1Cg8JG2GL6/EmjgsCT7lXepE3g==",- "dev": true,- "license": "MIT",- "dependencies": {- "@babel/traverse": "^7.29.7",- "@babel/types": "^7.29.7"- },- "engines": {- "node": ">=6.9.0"- }- },- "node_modules/@babel/helper-module-transforms": {- "version": "7.29.7",- "resolved": "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.29.7.tgz",- "integrity": "sha512-UPUVSyXbOh627KiCIGQSgwWzGeBKLkaJ9PJEdrngIwMSzxLR4jS4+f1f1jb7VzBbg8nFLaYotvVPFCTqdrmTAg==",- "dev": true,- "license": "MIT",- "dependencies": {- "@babel/helper-module-imports": "^7.29.7",- "@babel/helper-validator-identifier": "^7.29.7",- "@babel/traverse": "^7.29.7"- },- "engines": {- "node": ">=6.9.0"- },- "peerDependencies": {- "@babel/core": "^7.0.0"- }- },- "node_modules/@babel/helper-string-parser": {- "version": "7.29.7",- "resolved": "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-7.29.7.tgz",- "integrity": "sha512-Pb5ijPrZ89GDH8223L4UP8i6QApWxs04RbPQJTeWDV0/keR2E36MeKnyr6LYmUUvqRRI+Iv87SuF1W6ErINzYw==",- "dev": true,- "license": "MIT",- "engines": {- "node": ">=6.9.0"- }- },- "node_modules/@babel/helper-validator-identifier": {- "version": "7.29.7",- "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.29.7.tgz",- "integrity": "sha512-qehxGkRj55h/ff8EMaJ+cYhyaKlHIxqYDn682wQD7RNp9UujOQsHog2uS0r2vzr4pW+sXf90NeeayjcNaX3fFg==",- "dev": true,- "license": "MIT",- "engines": {- "node": ">=6.9.0"- }- },- "node_modules/@babel/helper-validator-option": {- "version": "7.29.7",- "resolved": "https://registry.npmjs.org/@babel/helper-validator-option/-/helper-validator-option-7.29.7.tgz",- "integrity": "sha512-N9ZErrD+yW5geCDtBqnOoxmR8+tNKiGuxKlDpuJxfsqpa2dFcexaziGAE/qoHLiDDreVNMupxGmSoNlyvsA3gw==",- "dev": true,- "license": "MIT",- "engines": {- "node": ">=6.9.0"- }- },- "node_modules/@babel/helpers": {- "version": "7.29.7",- "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.29.7.tgz",- "integrity": "sha512-1k2lAGRMfHTcwuNYcCNUmaUffmQv8KWMfh2iJUUeRlwlwH4FdNG7mfPI10NPfLHJFThE4Tyr4mv7kTNZOiPuBg==",- "dev": true,- "license": "MIT",- "dependencies": {- "@babel/template": "^7.29.7",- "@babel/types": "^7.29.7"- },- "engines": {- "node": ">=6.9.0"- }- },- "node_modules/@babel/parser": {- "version": "7.29.9",- "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.29.9.tgz",- "integrity": "sha512-CjXrNHTnvqBVqHgdBysY3vk2T8tpJHb5/RMeHJBTyVa9xgugCB0CJTx/3oO8RV2QRQP391RWpB7D6hLjm8V9uA==",- "dev": true,- "license": "MIT",- "dependencies": {- "@babel/types": "^7.29.8"- },- "bin": {- "parser": "bin/babel-parser.js"- },- "engines": {- "node": ">=6.0.0"- }- },- "node_modules/@babel/template": {- "version": "7.29.7",- "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.29.7.tgz",- "integrity": "sha512-puq+Gf35oI24FeN11LkoUQFqv9uwNeWpxXZi/Ji3rRIoKAzKnxRaZ+Gkj0vKS9ZCiTESfng1N9LyOyXvo+m+Gg==",- "dev": true,- "license": "MIT",- "dependencies": {- "@babel/code-frame": "^7.29.7",- "@babel/parser": "^7.29.7",- "@babel/types": "^7.29.7"- },- "engines": {- "node": ">=6.9.0"- }- },- "node_modules/@babel/traverse": {- "version": "7.29.8",- "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.29.8.tgz",- "integrity": "sha512-I5z7H3bf/41ktsNVLtpN0wAa336HkqIHQ5BuPLEhTkt1jVSyZpeNKIzTgEWmlxjdg81R0IgUCcaE+Ok3NvrfZg==",- "dev": true,- "license": "MIT",- "dependencies": {- "@babel/code-frame": "^7.29.7",- "@babel/generator": "^7.29.8",- "@babel/helper-globals": "^7.29.7",- "@babel/parser": "^7.29.8",- "@babel/template": "^7.29.7",- "@babel/types": "^7.29.8",- "debug": "^4.3.1"- },- "engines": {- "node": ">=6.9.0"- }- },- "node_modules/@babel/types": {- "version": "7.29.8",- "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.29.8.tgz",- "integrity": "sha512-Vj1jF3cPfxg7OAfoI7QnVKLoILlm2JF9pnVHrX8qx7AHMiYWT+NDAA7jChlNgRS4WTLc/fD1lXLmPixluj+3Gg==",- "dev": true,- "license": "MIT",- "dependencies": {- "@babel/helper-string-parser": "^7.29.7",- "@babel/helper-validator-identifier": "^7.29.7"- },- "engines": {- "node": ">=6.9.0"- }- },- "node_modules/@emnapi/core": {- "version": "1.10.0",- "resolved": "https://registry.npmjs.org/@emnapi/core/-/core-1.10.0.tgz",- "integrity": "sha512-yq6OkJ4p82CAfPl0u9mQebQHKPJkY7WrIuk205cTYnYe+k2Z8YBh11FrbRG/H6ihirqcacOgl2BIO8oyMQLeXw==",- "dev": true,- "license": "MIT",- "optional": true,- "dependencies": {- "@emnapi/wasi-threads": "1.2.1",- "tslib": "^2.4.0"- }- },- "node_modules/@emnapi/runtime": {- "version": "1.11.3",- "resolved": "https://registry.npmjs.org/@emnapi/runtime/-/runtime-1.11.3.tgz",- "integrity": "sha512-Xz4Tpyki7XyrpbUK1jR1AhdAdaXyhhY4lZ3neLodmhpuWfy2PAQN5B46sAiU4liOXGLkHypn/qU+jvfWSCYYLA==",- "license": "MIT",- "optional": true,- "dependencies": {- "tslib": "^2.4.0"- }- },- "node_modules/@emnapi/wasi-threads": {- "version": "1.2.1",- "resolved": "https://registry.npmjs.org/@emnapi/wasi-threads/-/wasi-threads-1.2.1.tgz",- "integrity": "sha512-uTII7OYF+/Mes/MrcIOYp5yOtSMLBWSIoLPpcgwipoiKbli6k322tcoFsxoIIxPDqW01SQGAgko4EzZi2BNv2w==",- "dev": true,- "license": "MIT",- "optional": true,- "dependencies": {- "tslib": "^2.4.0"- }- },- "node_modules/@eslint-community/eslint-utils": {- "version": "4.10.1",- "resolved": "https://registry.npmjs.org/@eslint-community/eslint-utils/-/eslint-utils-4.10.1.tgz",- "integrity": "sha512-cuadcxVFE8sDK6iWJbs8Sn0av2Nrh2QSGQhVlBW9AaAHqHwjWsZHT8LJ4hFGPh7ASBV2deFdM7H/DPjulmh8rg==",- "dev": true,- "license": "MIT",- "dependencies": {- "eslint-visitor-keys": "^3.4.3"- },- "engines": {- "node": "^12.22.0 || ^14.17.0 || >=16.0.0"- },- "funding": {- "url": "https://opencollective.com/eslint"- },- "peerDependencies": {- "eslint": "^6.0.0 || ^7.0.0 || >=8.0.0"- }- },- "node_modules/@eslint-community/eslint-utils/node_modules/eslint-visitor-keys": {- "version": "3.4.3",- "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-3.4.3.tgz",- "integrity": "sha512-wpc+LXeiyiisxPlEkUzU6svyS1frIO3Mgxj1fdy7Pm8Ygzguax2N3Fa/D/ag1WqbOprdI+uY6wMUl8/a2G+iag==",- "dev": true,- "license": "Apache-2.0",- "engines": {- "node": "^12.22.0 || ^14.17.0 || >=16.0.0"- },- "funding": {- "url": "https://opencollective.com/eslint"- }- },- "node_modules/@eslint-community/regexpp": {- "version": "4.12.2",- "resolved": "https://registry.npmjs.org/@eslint-community/regexpp/-/regexpp-4.12.2.tgz",- "integrity": "sha512-EriSTlt5OC9/7SXkRSCAhfSxxoSUgBm33OH+IkwbdpgoqsSsUg7y3uh+IICI/Qg4BBWr3U2i39RpmycbxMq4ew==",- "dev": true,- "license": "MIT",- "engines": {- "node": "^12.0.0 || ^14.0.0 || >=16.0.0"- }- },- "node_modules/@eslint/config-array": {- "version": "0.21.2",- "resolved": "https://registry.npmjs.org/@eslint/config-array/-/config-array-0.21.2.tgz",- "integrity": "sha512-nJl2KGTlrf9GjLimgIru+V/mzgSK0ABCDQRvxw5BjURL7WfH5uoWmizbH7QB6MmnMBd8cIC9uceWnezL1VZWWw==",- "dev": true,- "license": "Apache-2.0",- "dependencies": {- "@eslint/object-schema": "^2.1.7",- "debug": "^4.3.1",- "minimatch": "^3.1.5"- },- "engines": {- "node": "^18.18.0 || ^20.9.0 || >=21.1.0"- }- },- "node_modules/@eslint/config-helpers": {- "version": "0.4.2",- "resolved": "https://registry.npmjs.org/@eslint/config-helpers/-/config-helpers-0.4.2.tgz",- "integrity": "sha512-gBrxN88gOIf3R7ja5K9slwNayVcZgK6SOUORm2uBzTeIEfeVaIhOpCtTox3P6R7o2jLFwLFTLnC7kU/RGcYEgw==",- "dev": true,- "license": "Apache-2.0",- "dependencies": {- "@eslint/core": "^0.17.0"- },- "engines": {- "node": "^18.18.0 || ^20.9.0 || >=21.1.0"- }- },- "node_modules/@eslint/core": {- "version": "0.17.0",- "resolved": "https://registry.npmjs.org/@eslint/core/-/core-0.17.0.tgz",- "integrity": "sha512-yL/sLrpmtDaFEiUj1osRP4TI2MDz1AddJL+jZ7KSqvBuliN4xqYY54IfdN8qD8Toa6g1iloph1fxQNkjOxrrpQ==",- "dev": true,- "license": "Apache-2.0",- "dependencies": {- "@types/json-schema": "^7.0.15"- },- "engines": {- "node": "^18.18.0 || ^20.9.0 || >=21.1.0"- }- },- "node_modules/@eslint/eslintrc": {- "version": "3.3.7",- "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-3.3.7.tgz",- "integrity": "sha512-F42g89Qd5oAWtp0k0nnSrjziAKza7w8SVT4mStc18LZMaRb4J1HQAHLCalEtDCxrTuksx7NU9qsmeLwpOfPqWw==",- "dev": true,- "license": "MIT",- "dependencies": {- "ajv": "^6.14.0",- "debug": "^4.3.2",- "espree": "^10.0.1",- "globals": "^14.0.0",- "ignore": "^5.2.0",- "import-fresh": "^3.2.1",- "js-yaml": "^4.3.2",- "minimatch": "^3.1.5",- "strip-json-comments": "^3.1.1"- },- "engines": {- "node": "^18.18.0 || ^20.9.0 || >=21.1.0"- },- "funding": {- "url": "https://opencollective.com/eslint"- }- },- "node_modules/@eslint/js": {- "version": "9.39.5",- "resolved": "https://registry.npmjs.org/@eslint/js/-/js-9.39.5.tgz",- "integrity": "sha512-QywQuszQh77pIXCsq998c8hbhSTI/azTty1Z6N53dmAudKHhy573j3yvRLsX2BSp8YpLtoCEG8E9DJe+8zUh4A==",- "dev": true,- "license": "MIT",- "engines": {- "node": "^18.18.0 || ^20.9.0 || >=21.1.0"- },- "funding": {- "url": "https://eslint.org/donate"- }- },- "node_modules/@eslint/object-schema": {- "version": "2.1.7",- "resolved": "https://registry.npmjs.org/@eslint/object-schema/-/object-schema-2.1.7.tgz",- "integrity": "sha512-VtAOaymWVfZcmZbp6E2mympDIHvyjXs/12LqWYjVw6qjrfF+VK+fyG33kChz3nnK+SU5/NeHOqrTEHS8sXO3OA==",- "dev": true,- "license": "Apache-2.0",- "engines": {- "node": "^18.18.0 || ^20.9.0 || >=21.1.0"- }- },- "node_modules/@eslint/plugin-kit": {- "version": "0.4.1",- "resolved": "https://registry.npmjs.org/@eslint/plugin-kit/-/plugin-kit-0.4.1.tgz",- "integrity": "sha512-43/qtrDUokr7LJqoF2c3+RInu/t4zfrpYdoSDfYyhg52rwLV6TnOvdG4fXm7IkSB3wErkcmJS9iEhjVtOSEjjA==",- "dev": true,- "license": "Apache-2.0",- "dependencies": {- "@eslint/core": "^0.17.0",- "levn": "^0.4.1"- },- "engines": {- "node": "^18.18.0 || ^20.9.0 || >=21.1.0"- }- },- "node_modules/@floating-ui/core": {- "version": "1.8.0",- "resolved": "https://registry.npmjs.org/@floating-ui/core/-/core-1.8.0.tgz",- "integrity": "sha512-0CIZ5itps/8x7BG8dEIhs53BvCUH2PCoogtakwRTut+Arm58sJooJ0AuZhLw2HJYIR5cMLNPBSS728sPho2khQ==",- "license": "MIT",- "dependencies": {- "@floating-ui/utils": "^0.2.12"- }- },- "node_modules/@floating-ui/dom": {- "version": "1.8.0",- "resolved": "https://registry.npmjs.org/@floating-ui/dom/-/dom-1.8.0.tgz",- "integrity": "sha512-yXSrzeHZBTZadLOlfyhCkJHNeLJnHRnRInwdZ40L7ZiaAtrBwoYlsDrX3v5zB1Utk7CLfzcOVnVVWoXEky7Ceg==",- "license": "MIT",- "dependencies": {- "@floating-ui/core": "^1.8.0",- "@floating-ui/utils": "^0.2.12"- }- },- "node_modules/@floating-ui/utils": {- "version": "0.2.12",- "resolved": "https://registry.npmjs.org/@floating-ui/utils/-/utils-0.2.12.tgz",- "integrity": "sha512-HpCo8tmWzLVad5s2d19EhAz5zqrrQ6s69qd6moPMQvkOuSwDT1YgRfWSVuc4ennqrgv3OHppiOGMQ7oC13yIww==",- "license": "MIT"- },- "node_modules/@humanfs/core": {- "version": "0.19.2",- "resolved": "https://registry.npmjs.org/@humanfs/core/-/core-0.19.2.tgz",- "integrity": "sha512-UhXNm+CFMWcbChXywFwkmhqjs3PRCmcSa/hfBgLIb7oQ5HNb1wS0icWsGtSAUNgefHeI+eBrA8I1fxmbHsGdvA==",- "dev": true,- "license": "Apache-2.0",- "dependencies": {- "@humanfs/types": "^0.15.0"- },- "engines": {- "node": ">=18.18.0"- }- },- "node_modules/@humanfs/node": {- "version": "0.16.8",- "resolved": "https://registry.npmjs.org/@humanfs/node/-/node-0.16.8.tgz",- "integrity": "sha512-gE1eQNZ3R++kTzFUpdGlpmy8kDZD/MLyHqDwqjkVQI0JMdI1D51sy1H958PNXYkM2rAac7e5/CnIKZrHtPh3BQ==",- "dev": true,- "license": "Apache-2.0",- "dependencies": {- "@humanfs/core": "^0.19.2",- "@humanfs/types": "^0.15.0",- "@humanwhocodes/retry": "^0.4.0"- },- "engines": {- "node": ">=18.18.0"- }- },- "node_modules/@humanfs/types": {- "version": "0.15.0",- "resolved": "https://registry.npmjs.org/@humanfs/types/-/types-0.15.0.tgz",- "integrity": "sha512-ZZ1w0aoQkwuUuC7Yf+7sdeaNfqQiiLcSRbfI08oAxqLtpXQr9AIVX7Ay7HLDuiLYAaFPu8oBYNq/QIi9URHJ3Q==",- "dev": true,- "license": "Apache-2.0",- "engines": {- "node": ">=18.18.0"- }- },- "node_modules/@humanwhocodes/module-importer": {- "version": "1.0.1",- "resolved": "https://registry.npmjs.org/@humanwhocodes/module-importer/-/module-importer-1.0.1.tgz",- "integrity": "sha512-bxveV4V8v5Yb4ncFTT3rPSgZBOpCkjfK0y4oVVVJwIuDVBRMDXrPyXRL988i5ap9m9bnyEEjWfm5WkBmtffLfA==",- "dev": true,- "license": "Apache-2.0",- "engines": {- "node": ">=12.22"- },- "funding": {- "type": "github",- "url": "https://github.com/sponsors/nzakas"- }- },- "node_modules/@humanwhocodes/retry": {- "version": "0.4.3",- "resolved": "https://registry.npmjs.org/@humanwhocodes/retry/-/retry-0.4.3.tgz",- "integrity": "sha512-bV0Tgo9K4hfPCek+aMAn81RppFKv2ySDQeMoSZuvTASywNTnVJCArCZE2FWqpvIatKu7VMRLWlR1EazvVhDyhQ==",- "dev": true,- "license": "Apache-2.0",- "engines": {- "node": ">=18.18"- },- "funding": {- "type": "github",- "url": "https://github.com/sponsors/nzakas"- }- },- "node_modules/@img/colour": {- "version": "1.1.0",- "resolved": "https://registry.npmjs.org/@img/colour/-/colour-1.1.0.tgz",- "integrity": "sha512-Td76q7j57o/tLVdgS746cYARfSyxk8iEfRxewL9h4OMzYhbW4TAcppl0mT4eyqXddh6L/jwoM75mo7ixa/pCeQ==",- "license": "MIT",- "optional": true,- "engines": {- "node": ">=18"- }- },- "node_modules/@img/sharp-darwin-arm64": {- "version": "0.35.5",- "resolved": "https://registry.npmjs.org/@img/sharp-darwin-arm64/-/sharp-darwin-arm64-0.35.5.tgz",- "integrity": "sha512-QRUlFQ0WxvdWyqqG/WtI3iupfD5rBzmCHXSdPsY91sAtVtTo7Q4cb6zOccZ3gqEqkr0f1As1ehLqmEpDsRf+lg==",- "cpu": [- "arm64"- ],- "license": "Apache-2.0",- "optional": true,- "os": [- "darwin"- ],- "engines": {- "node": ">=20.9.0"- },- "funding": {- "url": "https://opencollective.com/libvips"- },- "optionalDependencies": {- "@img/sharp-libvips-darwin-arm64": "1.3.4"- }- },- "node_modules/@img/sharp-darwin-x64": {- "version": "0.35.5",- "resolved": "https://registry.npmjs.org/@img/sharp-darwin-x64/-/sharp-darwin-x64-0.35.5.tgz",- "integrity": "sha512-+BR255RhDlpygUpOc/Jdt1nT6DQ3XG/ERo5wbcdOf5Q320dKtPCKPLR1LJs9VGXRaMa8l1uUa0tkCNOXiAxZUw==",- "cpu": [- "x64"- ],- "license": "Apache-2.0",- "optional": true,- "os": [- "darwin"- ],- "engines": {- "node": ">=20.9.0"- },- "funding": {- "url": "https://opencollective.com/libvips"- },- "optionalDependencies": {- "@img/sharp-libvips-darwin-x64": "1.3.4"- }- },- "node_modules/@img/sharp-freebsd-wasm32": {- "version": "0.35.5",- "resolved": "https://registry.npmjs.org/@img/sharp-freebsd-wasm32/-/sharp-freebsd-wasm32-0.35.5.tgz",- "integrity": "sha512-Y/z91nEZ4uIBX5X3nfTovjU9lHNKFYbL2lpHCLVNmXQK03VIZvXBBt0KxbPGp2SdGSF+2mQU4e+hQaWOt86iAw==",- "license": "Apache-2.0",- "optional": true,- "os": [- "freebsd"- ],- "dependencies": {- "@img/sharp-wasm32": "0.35.5"- },- "engines": {- "node": ">=20.9.0"- },- "funding": {- "url": "https://opencollective.com/libvips"- }- },- "node_modules/@img/sharp-libvips-darwin-arm64": {- "version": "1.3.4",- "resolved": "https://registry.npmjs.org/@img/sharp-libvips-darwin-arm64/-/sharp-libvips-darwin-arm64-1.3.4.tgz",- "integrity": "sha512-5R89nBYiRdUlSWJxPhO+GVtaXzXSxKnRu/xqMn3KTA3L9EB9Oy/P+Nn2f2vlhPuUdy/Zusb2DarbyTpGCfEDuw==",- "cpu": [- "arm64"- ],- "license": "LGPL-3.0-or-later",- "optional": true,- "os": [- "darwin"- ],- "funding": {- "url": "https://opencollective.com/libvips"- }- },- "node_modules/@img/sharp-libvips-darwin-x64": {- "version": "1.3.4",- "resolved": "https://registry.npmjs.org/@img/sharp-libvips-darwin-x64/-/sharp-libvips-darwin-x64-1.3.4.tgz",- "integrity": "sha512-iR2OKH80yi0U+dUplyh3/xdpFvps6YkCwsXenIJxqxR1v9o+xtKTGbS9H7cps+2Vxjc8B1j96p75NmTGjIhtpQ==",- "cpu": [- "x64"- ],- "license": "LGPL-3.0-or-later",- "optional": true,- "os": [- "darwin"- ],- "funding": {- "url": "https://opencollective.com/libvips"- }- },- "node_modules/@img/sharp-libvips-linux-arm": {- "version": "1.3.4",- "resolved": "https://registry.npmjs.org/@img/sharp-libvips-linux-arm/-/sharp-libvips-linux-arm-1.3.4.tgz",- "integrity": "sha512-LmRtTsOHuvM2+wlO2Db37dx5MiZhB0FvSunciw48YjdOkZz9KAiRbm8ujeMOA1INqmei5NapFxYEK1D1ZSidmw==",- "cpu": [- "arm"- ],- "libc": [- "glibc"- ],- "license": "LGPL-3.0-or-later",- "optional": true,- "os": [- "linux"- ],- "funding": {- "url": "https://opencollective.com/libvips"- }- },- "node_modules/@img/sharp-libvips-linux-arm64": {- "version": "1.3.4",- "resolved": "https://registry.npmjs.org/@img/sharp-libvips-linux-arm64/-/sharp-libvips-linux-arm64-1.3.4.tgz",- "integrity": "sha512-Y3dgX/6lE2QhQb+Gxy0WZxfg9MEm/JBjamZpS2IklP7xIQoKN4hzAm7KcMVGtaVDt3neE9OKBC7vAfonA/Lr1A==",- "cpu": [- "arm64"- ],- "libc": [- "glibc"- ],- "license": "LGPL-3.0-or-later",- "optional": true,- "os": [- "linux"- ],- "funding": {- "url": "https://opencollective.com/libvips"- }- },- "node_modules/@img/sharp-libvips-linux-ppc64": {- "version": "1.3.4",- "resolved": "https://registry.npmjs.org/@img/sharp-libvips-linux-ppc64/-/sharp-libvips-linux-ppc64-1.3.4.tgz",- "integrity": "sha512-Le6boB8Tai0Nis+gIxIpKx68UDVVIqdR8Tin5Yf1z2LJJQLDJvCDRqRu+jC2qCoD+eIomonmOwB4smBRxfVpYQ==",- "cpu": [- "ppc64"- ],- "libc": [- "glibc"- ],- "license": "LGPL-3.0-or-later",- "optional": true,- "os": [- "linux"- ],- "funding": {- "url": "https://opencollective.com/libvips"- }- },- "node_modules/@img/sharp-libvips-linux-riscv64": {- "version": "1.3.4",- "resolved": "https://registry.npmjs.org/@img/sharp-libvips-linux-riscv64/-/sharp-libvips-linux-riscv64-1.3.4.tgz",- "integrity": "sha512-aHkkIEHPRdQEegJN20MLmGtxYD9R2wQr3Cwpddnu5+YKMt6Uzax7S9h5gpZTo8wyrGuZSlfQ63OevL5mTyOC7Q==",- "cpu": [- "riscv64"- ],- "libc": [- "glibc"- ],- "license": "LGPL-3.0-or-later",- "optional": true,- "os": [- "linux"- ],- "funding": {- "url": "https://opencollective.com/libvips"- }- },- "node_modules/@img/sharp-libvips-linux-s390x": {- "version": "1.3.4",- "resolved": "https://registry.npmjs.org/@img/sharp-libvips-linux-s390x/-/sharp-libvips-linux-s390x-1.3.4.tgz",- "integrity": "sha512-ra/mB6MikESDUO7Yg+Mi95bFBb9GsObURuhnOv3OqknjGe9sZrG8tCe9q0xSIGrtLgvgw0gKnFWcK4blSgQOuQ==",- "cpu": [- "s390x"- ],- "libc": [- "glibc"- ],- "license": "LGPL-3.0-or-later",- "optional": true,- "os": [- "linux"- ],- "funding": {- "url": "https://opencollective.com/libvips"- }- },- "node_modules/@img/sharp-libvips-linux-x64": {- "version": "1.3.4",- "resolved": "https://registry.npmjs.org/@img/sharp-libvips-linux-x64/-/sharp-libvips-linux-x64-1.3.4.tgz",- "integrity": "sha512-GJ//SSXbnwSDes02umB3nDJLFcQzw8a18V8fyhqr6tV515tOEMdImjjxj1AoafMRz56F3PHgftnj1QEKSU1zkw==",- "cpu": [- "x64"- ],- "libc": [- "glibc"- ],- "license": "LGPL-3.0-or-later",- "optional": true,- "os": [- "linux"- ],- "funding": {- "url": "https://opencollective.com/libvips"- }- },- "node_modules/@img/sharp-libvips-linuxmusl-arm64": {- "version": "1.3.4",- "resolved": "https://registry.npmjs.org/@img/sharp-libvips-linuxmusl-arm64/-/sharp-libvips-linuxmusl-arm64-1.3.4.tgz",- "integrity": "sha512-hvulFwtjUcagsis6BBxHwGFwWoNZjgYmULGVrZcyfNbjA8hKILbRxGg15/7w5HDyXHXUos/j6baAWqnCyQ2DWA==",- "cpu": [- "arm64"- ],- "libc": [- "musl"- ],- "license": "LGPL-3.0-or-later",- "optional": true,- "os": [- "linux"- ],- "funding": {- "url": "https://opencollective.com/libvips"- }- },- "node_modules/@img/sharp-libvips-linuxmusl-x64": {- "version": "1.3.4",- "resolved": "https://registry.npmjs.org/@img/sharp-libvips-linuxmusl-x64/-/sharp-libvips-linuxmusl-x64-1.3.4.tgz",- "integrity": "sha512-6zXKeE/p39I1AmA3cJG35eyBGNqNddLnUXjhwBnsGjFPWqf5VKkDBEqaEkPDoTEtkxwi2vv8Tcr2mDyP4So7Fg==",- "cpu": [- "x64"- ],- "libc": [- "musl"- ],- "license": "LGPL-3.0-or-later",- "optional": true,- "os": [- "linux"- ],- "funding": {- "url": "https://opencollective.com/libvips"- }- },- "node_modules/@img/sharp-linux-arm": {- "version": "0.35.5",- "resolved": "https://registry.npmjs.org/@img/sharp-linux-arm/-/sharp-linux-arm-0.35.5.tgz",- "integrity": "sha512-LEaXK2WdXVK5ykcw0buWyPMsmLLL2vpHLD6yrNSW+JGEL3BZPA4tpKN6iaMc4AxTTAoaX/sU1rOL51lcIz48ZQ==",- "cpu": [- "arm"- ],- "libc": [- "glibc"- ],- "license": "Apache-2.0",- "optional": true,- "os": [- "linux"- ],- "engines": {- "node": ">=20.9.0"- },- "funding": {- "url": "https://opencollective.com/libvips"- },- "optionalDependencies": {- "@img/sharp-libvips-linux-arm": "1.3.4"- }- },- "node_modules/@img/sharp-linux-arm64": {- "version": "0.35.5",- "resolved": "https://registry.npmjs.org/@img/sharp-linux-arm64/-/sharp-linux-arm64-0.35.5.tgz",- "integrity": "sha512-LYVx5JTsOM2CBzmxreh+nl64/3H6Xb09iSLknqH47z2T2DFFxDeFLP5y4dJwe6H7uGQlHPyEEtIqyo3DYsRwdQ==",- "cpu": [- "arm64"- ],- "libc": [- "glibc"- ],- "license": "Apache-2.0",- "optional": true,- "os": [- "linux"- ],- "engines": {- "node": ">=20.9.0"- },- "funding": {- "url": "https://opencollective.com/libvips"- },- "optionalDependencies": {- "@img/sharp-libvips-linux-arm64": "1.3.4"- }- },- "node_modules/@img/sharp-linux-ppc64": {- "version": "0.35.5",- "resolved": "https://registry.npmjs.org/@img/sharp-linux-ppc64/-/sharp-linux-ppc64-0.35.5.tgz",- "integrity": "sha512-QVxAAq8evVRI9ia2vqgwrmWucn5Dfv+JdWzj75pD8omHLPSP7f8p20O8jxzjCcuCEQEOtYOZUmX1hkiZ0kdevA==",- "cpu": [- "ppc64"- ],- "libc": [- "glibc"- ],- "license": "Apache-2.0",- "optional": true,- "os": [- "linux"- ],- "engines": {- "node": ">=20.9.0"- },- "funding": {- "url": "https://opencollective.com/libvips"- },- "optionalDependencies": {- "@img/sharp-libvips-linux-ppc64": "1.3.4"- }- },- "node_modules/@img/sharp-linux-riscv64": {- "version": "0.35.5",- "resolved": "https://registry.npmjs.org/@img/sharp-linux-riscv64/-/sharp-linux-riscv64-0.35.5.tgz",- "integrity": "sha512-LtdreXguaavKODPIfzJ4kffx7UNt1omwtK0rch4EBbbSTXPnxWmYSayXdLJw0fJzQ97kHt1gL/yh4tvU+nCyRQ==",- "cpu": [- "riscv64"- ],- "libc": [- "glibc"- ],- "license": "Apache-2.0",- "optional": true,- "os": [- "linux"- ],- "engines": {- "node": ">=20.9.0"- },- "funding": {- "url": "https://opencollective.com/libvips"- },- "optionalDependencies": {- "@img/sharp-libvips-linux-riscv64": "1.3.4"- }- },- "node_modules/@img/sharp-linux-s390x": {- "version": "0.35.5",- "resolved": "https://registry.npmjs.org/@img/sharp-linux-s390x/-/sharp-linux-s390x-0.35.5.tgz",- "integrity": "sha512-UZasTOFiYzotTsGOCu42BfUzP6Tu6Do/947iRm1RsLKvlllxwGcn4RN27LibGWceix4Y+Pmw3jsnTcCQIgWjqA==",- "cpu": [- "s390x"- ],- "libc": [- "glibc"- ],- "license": "Apache-2.0",- "optional": true,- "os": [- "linux"- ],- "engines": {- "node": ">=20.9.0"- },- "funding": {- "url": "https://opencollective.com/libvips"- },- "optionalDependencies": {- "@img/sharp-libvips-linux-s390x": "1.3.4"- }- },- "node_modules/@img/sharp-linux-x64": {- "version": "0.35.5",- "resolved": "https://registry.npmjs.org/@img/sharp-linux-x64/-/sharp-linux-x64-0.35.5.tgz",- "integrity": "sha512-SxFtLTeJInhAA9Q836kux2vZNeOBQEx658qvbboZScr0wIARym3IcGmW7KpVD5sbVg0Ojy+udFQdayYIZyoNog==",- "cpu": [- "x64"- ],- "libc": [- "glibc"- ],- "license": "Apache-2.0",- "optional": true,- "os": [- "linux"- ],- "engines": {- "node": ">=20.9.0"- },- "funding": {- "url": "https://opencollective.com/libvips"- },- "optionalDependencies": {- "@img/sharp-libvips-linux-x64": "1.3.4"- }- },- "node_modules/@img/sharp-linuxmusl-arm64": {- "version": "0.35.5",- "resolved": "https://registry.npmjs.org/@img/sharp-linuxmusl-arm64/-/sharp-linuxmusl-arm64-0.35.5.tgz",- "integrity": "sha512-9HbMclmI1zlNkFRs3z9/eBtDjfD0sGlrX1z6b1qwmiFY5ElDLh4BC0LPBdVp7z1DXFiKlIcznf+ZlsuZzLxQqg==",- "cpu": [- "arm64"- ],- "libc": [- "musl"- ],- "license": "Apache-2.0",- "optional": true,- "os": [- "linux"- ],- "engines": {- "node": ">=20.9.0"- },- "funding": {- "url": "https://opencollective.com/libvips"- },- "optionalDependencies": {- "@img/sharp-libvips-linuxmusl-arm64": "1.3.4"- }- },- "node_modules/@img/sharp-linuxmusl-x64": {- "version": "0.35.5",- "resolved": "https://registry.npmjs.org/@img/sharp-linuxmusl-x64/-/sharp-linuxmusl-x64-0.35.5.tgz",- "integrity": "sha512-4KOphqB035HrVdqLZfCgMzzERrQkkzOwRhl4OAkRO1YCldbaFjySXMaK534Mo0V+LndnlJk+sbUyLeU0ULyD1A==",- "cpu": [- "x64"- ],- "libc": [- "musl"- ],- "license": "Apache-2.0",- "optional": true,- "os": [- "linux"- ],- "engines": {- "node": ">=20.9.0"- },- "funding": {- "url": "https://opencollective.com/libvips"- },- "optionalDependencies": {- "@img/sharp-libvips-linuxmusl-x64": "1.3.4"- }- },- "node_modules/@img/sharp-wasm32": {- "version": "0.35.5",- "resolved": "https://registry.npmjs.org/@img/sharp-wasm32/-/sharp-wasm32-0.35.5.tgz",- "integrity": "sha512-Ptsga1su4tQx+LLF1ECS9U6nz5kmrXKo6XVbtR48Ke3ZRxxgaWBu7IDtEe1quo8hiupwm6WFqxVlXaSf7IINGQ==",- "license": "Apache-2.0 AND LGPL-3.0-or-later AND MIT",- "optional": true,- "dependencies": {- "@emnapi/runtime": "^1.11.3"- },- "engines": {- "node": ">=20.9.0"- },- "funding": {- "url": "https://opencollective.com/libvips"- }- },- "node_modules/@img/sharp-webcontainers-wasm32": {- "version": "0.35.5",- "resolved": "https://registry.npmjs.org/@img/sharp-webcontainers-wasm32/-/sharp-webcontainers-wasm32-0.35.5.tgz",- "integrity": "sha512-hfhF/FmoQyTUkA0bIKFOtw536BQSeBMe6BF6QyWlrPxT754+TFLaZ7sKKTfvvM0yJgKgaYTwnFCIZ/GuDw5SUA==",- "cpu": [- "wasm32"- ],- "license": "Apache-2.0",- "optional": true,- "dependencies": {- "@img/sharp-wasm32": "0.35.5"- },- "engines": {- "node": ">=20.9.0"- },- "funding": {- "url": "https://opencollective.com/libvips"- }- },- "node_modules/@img/sharp-win32-arm64": {- "version": "0.35.5",- "resolved": "https://registry.npmjs.org/@img/sharp-win32-arm64/-/sharp-win32-arm64-0.35.5.tgz",- "integrity": "sha512-X4t7g+7ZA5DKblCBEXGjUqqemj4vczING/5viFwAL8h4N3qYeyjwdCvRLHi4EdOUI+2Z7UFlp1VM+p/AuEtm6Q==",- "cpu": [- "arm64"- ],- "license": "Apache-2.0 AND LGPL-3.0-or-later",- "optional": true,- "os": [- "win32"- ],- "engines": {- "node": ">=20.9.0"- },- "funding": {- "url": "https://opencollective.com/libvips"- }- },- "node_modules/@img/sharp-win32-ia32": {- "version": "0.35.5",- "resolved": "https://registry.npmjs.org/@img/sharp-win32-ia32/-/sharp-win32-ia32-0.35.5.tgz",- "integrity": "sha512-5Zm82LoBc43nhwNybZlG7Y1KO//Zhsn306fQl29ZOuStHLGTo3BWL83q3cznX0poxSAMuYL1On/BHBxkBeKr6A==",- "cpu": [- "ia32"- ],- "license": "Apache-2.0 AND LGPL-3.0-or-later",- "optional": true,- "os": [- "win32"- ],- "engines": {- "node": "^20.9.0"- },- "funding": {- "url": "https://opencollective.com/libvips"- }- },- "node_modules/@img/sharp-win32-x64": {- "version": "0.35.5",- "resolved": "https://registry.npmjs.org/@img/sharp-win32-x64/-/sharp-win32-x64-0.35.5.tgz",- "integrity": "sha512-x76eH0vEiHlcMQu8Y8IenntaACtddpT6W0wmXtWrnKcnKI7ME5DdgqhAD6SEWOEl1v2zDvkZDhFA9KnURwpfqg==",- "cpu": [- "x64"- ],- "license": "Apache-2.0 AND LGPL-3.0-or-later",- "optional": true,- "os": [- "win32"- ],- "engines": {- "node": ">=20.9.0"- },- "funding": {- "url": "https://opencollective.com/libvips"- }- },- "node_modules/@jridgewell/gen-mapping": {- "version": "0.3.13",- "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.13.tgz",- "integrity": "sha512-2kkt/7niJ6MgEPxF0bYdQ6etZaA+fQvDcLKckhy1yIQOzaoKjBBjSj63/aLVjYE3qhRt5dvM+uUyfCg6UKCBbA==",- "dev": true,- "license": "MIT",- "dependencies": {- "@jridgewell/sourcemap-codec": "^1.5.0",- "@jridgewell/trace-mapping": "^0.3.24"- }- },- "node_modules/@jridgewell/remapping": {- "version": "2.3.5",- "resolved": "https://registry.npmjs.org/@jridgewell/remapping/-/remapping-2.3.5.tgz",- "integrity": "sha512-LI9u/+laYG4Ds1TDKSJW2YPrIlcVYOwi2fUC6xB43lueCjgxV4lffOCZCtYFiH6TNOX+tQKXx97T4IKHbhyHEQ==",- "dev": true,- "license": "MIT",- "dependencies": {- "@jridgewell/gen-mapping": "^0.3.5",- "@jridgewell/trace-mapping": "^0.3.24"- }- },- "node_modules/@jridgewell/resolve-uri": {- "version": "3.1.2",- "resolved": "https://registry.npmjs.org/@jridgewell/resolve-uri/-/resolve-uri-3.1.2.tgz",- "integrity": "sha512-bRISgCIjP20/tbWSPWMEi54QVPRZExkuD9lJL+UIxUKtwVJA8wW1Trb1jMs1RFXo1CBTNZ/5hpC9QvmKWdopKw==",- "dev": true,- "license": "MIT",- "engines": {- "node": ">=6.0.0"- }- },- "node_modules/@jridgewell/sourcemap-codec": {- "version": "1.6.0",- "resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.6.0.tgz",- "integrity": "sha512-T7jf+5zgsZHwNJ4lvQ7/aezbyk0nNX+zJVWpmHA7VYsEx7a7qr5Rg5IbtJFqkgze5Y2sruq1RUY8Q837Od7iFw==",- "dev": true,- "license": "MIT"- },- "node_modules/@jridgewell/trace-mapping": {- "version": "0.3.31",- "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.31.tgz",- "integrity": "sha512-zzNR+SdQSDJzc8joaeP8QQoCQr8NuYx2dIIytl1QeBEZHJ9uW6hebsrYgbz8hJwUQao3TWCMtmfV8Nu1twOLAw==",- "dev": true,- "license": "MIT",- "dependencies": {- "@jridgewell/resolve-uri": "^3.1.0",- "@jridgewell/sourcemap-codec": "^1.4.14"- }- },- "node_modules/@napi-rs/wasm-runtime": {- "version": "1.2.4",- "resolved": "https://registry.npmjs.org/@napi-rs/wasm-runtime/-/wasm-runtime-1.2.4.tgz",- "integrity": "sha512-AJxoUD2/15ESHbvpcyjU274nsAPLuOtPHCk0vKJM5pj//Fg/B1FXNWjPnXTT9PymCYYiHo4zPj0ZomXBKhoy7g==",- "dev": true,- "license": "MIT",- "optional": true,- "dependencies": {- "@tybys/wasm-util": "^0.10.3"- },- "engines": {- "node": "^20.19.0 || ^22.13.0 || >=23.5.0"- },- "funding": {- "type": "github",- "url": "https://github.com/sponsors/Brooooooklyn"- },- "peerDependencies": {- "@emnapi/core": "^1.7.1 || ^2.0.0-alpha.4",- "@emnapi/runtime": "^1.7.1 || ^2.0.0-alpha.4"- }- },- "node_modules/@next/env": {- "version": "16.3.8",- "resolved": "https://registry.npmjs.org/@next/env/-/env-16.3.8.tgz",- "integrity": "sha512-Al9zqHVV7TJv0eFuOU4U7Lvv74PTih4Ch63sk2xCIpSTkE3udFnaOcnzP2lQVymiL7yS9Cj2iClUXlR3EQ5sEw==",- "license": "MIT"- },- "node_modules/@next/eslint-plugin-next": {- "version": "16.3.8",- "resolved": "https://registry.npmjs.org/@next/eslint-plugin-next/-/eslint-plugin-next-16.3.8.tgz",- "integrity": "sha512-eCR9RcLTZrVS+K3+VOhi0xMdUUGNuriCHHhU1ZoABC/QQ/Gp0OWbLKQxV2/9DkmihYdYRcQWFmZXW8M1AMUXYw==",- "dev": true,- "license": "MIT",- "dependencies": {- "@eslint-community/eslint-utils": "4.9.1",- "fast-glob": "3.3.1"- }- },- "node_modules/@next/eslint-plugin-next/node_modules/@eslint-community/eslint-utils": {- "version": "4.9.1",- "resolved": "https://registry.npmjs.org/@eslint-community/eslint-utils/-/eslint-utils-4.9.1.tgz",- "integrity": "sha512-phrYmNiYppR7znFEdqgfWHXR6NCkZEK7hwWDHZUjit/2/U0r6XvkDl0SYnoM51Hq7FhCGdLDT6zxCCOY1hexsQ==",- "dev": true,- "license": "MIT",- "dependencies": {- "eslint-visitor-keys": "^3.4.3"- },- "engines": {- "node": "^12.22.0 || ^14.17.0 || >=16.0.0"- },- "funding": {- "url": "https://opencollective.com/eslint"- },- "peerDependencies": {- "eslint": "^6.0.0 || ^7.0.0 || >=8.0.0"- }- },- "node_modules/@next/eslint-plugin-next/node_modules/eslint-visitor-keys": {- "version": "3.4.3",- "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-3.4.3.tgz",- "integrity": "sha512-wpc+LXeiyiisxPlEkUzU6svyS1frIO3Mgxj1fdy7Pm8Ygzguax2N3Fa/D/ag1WqbOprdI+uY6wMUl8/a2G+iag==",- "dev": true,- "license": "Apache-2.0",- "engines": {- "node": "^12.22.0 || ^14.17.0 || >=16.0.0"- },- "funding": {- "url": "https://opencollective.com/eslint"- }- },- "node_modules/@next/swc-darwin-arm64": {- "version": "16.3.8",- "resolved": "https://registry.npmjs.org/@next/swc-darwin-arm64/-/swc-darwin-arm64-16.3.8.tgz",- "integrity": "sha512-2JPRMh2nmQG5CiL7cXGL9AGwnPWJQ//cTtAUCT+w511QHk79SYz3LGv/pc5X643B/WEO0rvu3Yww0hqwt3kgeA==",- "cpu": [- "arm64"- ],- "license": "MIT",- "optional": true,- "os": [- "darwin"- ],- "engines": {- "node": ">= 10"- }- },- "node_modules/@next/swc-darwin-x64": {- "version": "16.3.8",- "resolved": "https://registry.npmjs.org/@next/swc-darwin-x64/-/swc-darwin-x64-16.3.8.tgz",- "integrity": "sha512-GZtCCOBKJ4leVIT/Th0llWKhD1ca92lzbQiS5R5ON9QkoiFnilFsebDae1JU2a3HWoKMEmEZWGs1AGLavVM72Q==",- "cpu": [- "x64"- ],- "license": "MIT",- "optional": true,- "os": [- "darwin"- ],- "engines": {- "node": ">= 10"- }- },- "node_modules/@next/swc-linux-arm64-gnu": {- "version": "16.3.8",- "resolved": "https://registry.npmjs.org/@next/swc-linux-arm64-gnu/-/swc-linux-arm64-gnu-16.3.8.tgz",- "integrity": "sha512-O659ygeQYqneJ1fBKMpFxIFqYkYswu8IAS1OCKK/4f3ZgJJm1dRz4fVJZRi/kLLWjnBKnebOePA4WNv+sV1pVA==",- "cpu": [- "arm64"- ],- "libc": [- "glibc"- ],- "license": "MIT",- "optional": true,- "os": [- "linux"- ],- "engines": {- "node": ">= 10"- }- },- "node_modules/@next/swc-linux-arm64-musl": {- "version": "16.3.8",- "resolved": "https://registry.npmjs.org/@next/swc-linux-arm64-musl/-/swc-linux-arm64-musl-16.3.8.tgz",- "integrity": "sha512-dSjKSyWpzxoO1d3DIZZcP4XJcNaKeLmxQMFOiYl5vuBRMmweIqnAhty8tAmRsvTss779cK1FtYnDMj40e4TQlg==",- "cpu": [- "arm64"- ],- "libc": [- "musl"- ],- "license": "MIT",- "optional": true,- "os": [- "linux"- ],- "engines": {- "node": ">= 10"- }- },- "node_modules/@next/swc-linux-x64-gnu": {- "version": "16.3.8",- "resolved": "https://registry.npmjs.org/@next/swc-linux-x64-gnu/-/swc-linux-x64-gnu-16.3.8.tgz",- "integrity": "sha512-lbqOuz3RPRcv+o9msNsJw5x4+Y1ZwPTs6vmL6DCf7i0fZfvng/F59wyeDwqHIvV0mK//RBy/jJkZ+nCKsSMXjQ==",- "cpu": [- "x64"- ],- "libc": [- "glibc"- ],- "license": "MIT",- "optional": true,- "os": [- "linux"- ],- "engines": {- "node": ">= 10"- }- },- "node_modules/@next/swc-linux-x64-musl": {- "version": "16.3.8",- "resolved": "https://registry.npmjs.org/@next/swc-linux-x64-musl/-/swc-linux-x64-musl-16.3.8.tgz",- "integrity": "sha512-+316WswI8ScVgZeUd+1KGaXkHhaYQzCjvH/05TZSpJ8zBizb1a4G7DtO7F12jcBIqMOtsz9ji1t48fmKtzqsGA==",- "cpu": [- "x64"- ],- "libc": [- "musl"- ],- "license": "MIT",- "optional": true,- "os": [- "linux"- ],- "engines": {- "node": ">= 10"- }- },- "node_modules/@next/swc-win32-arm64-msvc": {- "version": "16.3.8",- "resolved": "https://registry.npmjs.org/@next/swc-win32-arm64-msvc/-/swc-win32-arm64-msvc-16.3.8.tgz",- "integrity": "sha512-ji0gd4kMYUxO+1fJBIbiBVRCjzG/lloiyCccnlebvb1ZJ5qXCPZqYg4Jl1DrrixnWNMKylzgpmMWx0yNDYXlzw==",- "cpu": [- "arm64"- ],- "license": "MIT",- "optional": true,- "os": [- "win32"- ],- "engines": {- "node": ">= 10"- }- },- "node_modules/@next/swc-win32-x64-msvc": {- "version": "16.3.8",- "resolved": "https://registry.npmjs.org/@next/swc-win32-x64-msvc/-/swc-win32-x64-msvc-16.3.8.tgz",- "integrity": "sha512-WcTlaKt/TWkh5kUjdJcUmB1XgZ+1c6fz4Y9fDHL73YNSdGaUWjceeWrrlwF0nv19iABYWC4iAq1oX1w4Bn0vfg==",- "cpu": [- "x64"- ],- "license": "MIT",- "optional": true,- "os": [- "win32"- ],- "engines": {- "node": ">= 10"- }- },- "node_modules/@nodelib/fs.scandir": {- "version": "2.1.5",- "resolved": "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz",- "integrity": "sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g==",- "dev": true,- "license": "MIT",- "dependencies": {- "@nodelib/fs.stat": "2.0.5",- "run-parallel": "^1.1.9"- },- "engines": {- "node": ">= 8"- }- },- "node_modules/@nodelib/fs.stat": {- "version": "2.0.5",- "resolved": "https://registry.npmjs.org/@nodelib/fs.stat/-/fs.stat-2.0.5.tgz",- "integrity": "sha512-RkhPPp2zrqDAQA/2jNhnztcPAlv64XdhIp7a7454A5ovI7Bukxgt7MX7udwAu3zg1DcpPU0rz3VV1SeaqvY4+A==",- "dev": true,- "license": "MIT",- "engines": {- "node": ">= 8"- }- },- "node_modules/@nodelib/fs.walk": {- "version": "1.2.8",- "resolved": "https://registry.npmjs.org/@nodelib/fs.walk/-/fs.walk-1.2.8.tgz",- "integrity": "sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg==",- "dev": true,- "license": "MIT",- "dependencies": {- "@nodelib/fs.scandir": "2.1.5",- "fastq": "^1.6.0"- },- "engines": {- "node": ">= 8"- }- },- "node_modules/@nolyfill/is-core-module": {- "version": "1.0.39",- "resolved": "https://registry.npmjs.org/@nolyfill/is-core-module/-/is-core-module-1.0.39.tgz",- "integrity": "sha512-nn5ozdjYQpUCZlWGuxcJY/KpxkWQs4DcbMCmKojjyrYDEAGy4Ce19NN4v5MduafTwJlbKc99UA8YhSVqq9yPZA==",- "dev": true,- "license": "MIT",- "engines": {- "node": ">=12.4.0"- }- },- "node_modules/@rtsao/scc": {- "version": "1.1.0",- "resolved": "https://registry.npmjs.org/@rtsao/scc/-/scc-1.1.0.tgz",- "integrity": "sha512-zt6OdqaDoOnJ1ZYsCYGt9YmWzDXl4vQdKTyJev62gFhRGKdx7mcT54V9KIjg+d2wi9EXsPvAPKe7i7WjfVWB8g==",- "dev": true,- "license": "MIT"- },- "node_modules/@swc/helpers": {- "version": "0.5.23",- "resolved": "https://registry.npmjs.org/@swc/helpers/-/helpers-0.5.23.tgz",- "integrity": "sha512-5lSsMOTXURePglDfvuAQUqkGek9Hg2kksOYay2m0+XR++b2NWYL/4sWyuvVBIs8oKnJaxkdi9whaL/sqN13afw==",- "license": "Apache-2.0",- "dependencies": {- "tslib": "^2.8.0"- }- },- "node_modules/@tailwindcss/node": {- "version": "4.3.3",- "resolved": "https://registry.npmjs.org/@tailwindcss/node/-/node-4.3.3.tgz",- "integrity": "sha512-/T8IKEsf9VTU6tLjgC7+sv2mOPtQxzE2jMw7u4Tt40Tx+QSZxpzh95/H6cMKoja9XuW7iMdLJYBB0o9G1CaAgg==",- "dev": true,- "license": "MIT",- "dependencies": {- "@jridgewell/remapping": "^2.3.5",- "enhanced-resolve": "^5.24.1",- "jiti": "^2.7.0",- "lightningcss": "1.32.0",- "magic-string": "^0.30.21",- "source-map-js": "^1.2.1",- "tailwindcss": "4.3.3"- }- },- "node_modules/@tailwindcss/oxide": {- "version": "4.3.3",- "resolved": "https://registry.npmjs.org/@tailwindcss/oxide/-/oxide-4.3.3.tgz",- "integrity": "sha512-krXjAikiaFSPaK/FkAQT5UTx3VormQaiZ5hBFlJZ9UFQGB/rwg1MZIhHAG9smMQRTdyJxP6Qt5MwMtdyU5FWrA==",- "dev": true,- "license": "MIT",- "engines": {- "node": ">= 20"- },- "optionalDependencies": {- "@tailwindcss/oxide-android-arm64": "4.3.3",- "@tailwindcss/oxide-darwin-arm64": "4.3.3",- "@tailwindcss/oxide-darwin-x64": "4.3.3",- "@tailwindcss/oxide-freebsd-x64": "4.3.3",- "@tailwindcss/oxide-linux-arm-gnueabihf": "4.3.3",- "@tailwindcss/oxide-linux-arm64-gnu": "4.3.3",- "@tailwindcss/oxide-linux-arm64-musl": "4.3.3",- "@tailwindcss/oxide-linux-x64-gnu": "4.3.3",- "@tailwindcss/oxide-linux-x64-musl": "4.3.3",- "@tailwindcss/oxide-wasm32-wasi": "4.3.3",- "@tailwindcss/oxide-win32-arm64-msvc": "4.3.3",- "@tailwindcss/oxide-win32-x64-msvc": "4.3.3"- }- },- "node_modules/@tailwindcss/oxide-android-arm64": {- "version": "4.3.3",- "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-android-arm64/-/oxide-android-arm64-4.3.3.tgz",- "integrity": "sha512-Y85A2gmPSkl5Ve5qR86GL4HT509cFqQh1aes9p3sSkyTPwt0Pppf3GkwGe4JPACcRYjgJIEhQgM6dBClnr0NYw==",- "cpu": [- "arm64"- ],- "dev": true,- "license": "MIT",- "optional": true,- "os": [- "android"- ],- "engines": {- "node": ">= 20"- }- },- "node_modules/@tailwindcss/oxide-darwin-arm64": {- "version": "4.3.3",- "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-darwin-arm64/-/oxide-darwin-arm64-4.3.3.tgz",- "integrity": "sha512-BiaWatpBcERQFDlOjRDpIVXuFK5PJez5SA4JMg6VYZdBYU+qKfV/vqjcIs+IYmtitf1xYQZTwXvU/8y4lfZUGw==",- "cpu": [- "arm64"- ],- "dev": true,- "license": "MIT",- "optional": true,- "os": [- "darwin"- ],- "engines": {- "node": ">= 20"- }- },- "node_modules/@tailwindcss/oxide-darwin-x64": {- "version": "4.3.3",- "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-darwin-x64/-/oxide-darwin-x64-4.3.3.tgz",- "integrity": "sha512-fAeUqfV5ndhxRwai8cXGzdLvul9utWOmeTkv69unv4ZXixjn61Z+p9lCWdwOwA3TYboG3BwdVuN/RDjhBRl0mw==",- "cpu": [- "x64"- ],- "dev": true,- "license": "MIT",- "optional": true,- "os": [- "darwin"- ],- "engines": {- "node": ">= 20"- }- },- "node_modules/@tailwindcss/oxide-freebsd-x64": {- "version": "4.3.3",- "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-freebsd-x64/-/oxide-freebsd-x64-4.3.3.tgz",- "integrity": "sha512-iyf5bV6+wnAlflVeEy7R25dupxTNECZN5QMI0qNT6eT+EgaGdZcKhGkr5SdoaWiLJ3spLqIY9VCeSGrwmtg4kw==",- "cpu": [- "x64"- ],- "dev": true,- "license": "MIT",- "optional": true,- "os": [- "freebsd"- ],- "engines": {- "node": ">= 20"- }- },- "node_modules/@tailwindcss/oxide-linux-arm-gnueabihf": {- "version": "4.3.3",- "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-linux-arm-gnueabihf/-/oxide-linux-arm-gnueabihf-4.3.3.tgz",- "integrity": "sha512-aAYUprJAJQWWbRrPvtjdroZ56Md+JM8pMiopS6xGEwDfLhqj+2ver2p4nU4Mb3CRqcMmNBjo8KkUgcxhkzVQGQ==",- "cpu": [- "arm"- ],- "dev": true,- "license": "MIT",- "optional": true,- "os": [- "linux"- ],- "engines": {- "node": ">= 20"- }- },- "node_modules/@tailwindcss/oxide-linux-arm64-gnu": {- "version": "4.3.3",- "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-linux-arm64-gnu/-/oxide-linux-arm64-gnu-4.3.3.tgz",- "integrity": "sha512-nDxldcEENOxZRzC2uu9jrutZdAAQtb+8WWDCSnWL1zvBk1+FN+x6MtDViPB5AJMfttVCUhehGWus3XBPgatM/w==",- "cpu": [- "arm64"- ],- "dev": true,- "libc": [- "glibc"- ],- "license": "MIT",- "optional": true,- "os": [- "linux"- ],- "engines": {- "node": ">= 20"- }- },- "node_modules/@tailwindcss/oxide-linux-arm64-musl": {- "version": "4.3.3",- "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-linux-arm64-musl/-/oxide-linux-arm64-musl-4.3.3.tgz",- "integrity": "sha512-Md44bD6veX/PC5iyF8cDVnw4HBIANZepRZZ7a8DQOvkfo5WUBwcp6iAuCUz23u+4SUkhJlD3eL7hNdW8ezd/kA==",- "cpu": [- "arm64"- ],- "dev": true,- "libc": [- "musl"- ],- "license": "MIT",- "optional": true,- "os": [- "linux"- ],- "engines": {- "node": ">= 20"- }- },- "node_modules/@tailwindcss/oxide-linux-x64-gnu": {- "version": "4.3.3",- "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-linux-x64-gnu/-/oxide-linux-x64-gnu-4.3.3.tgz",- "integrity": "sha512-tx7us1muwOKAKWao2v/GaafFeQboE6aj88vC6ziN2NCGcRm8gWUhwjzg+YdVB1e4boAtdtma4L43onunI6NS4w==",- "cpu": [- "x64"- ],- "dev": true,- "libc": [- "glibc"- ],- "license": "MIT",- "optional": true,- "os": [- "linux"- ],- "engines": {- "node": ">= 20"- }- },- "node_modules/@tailwindcss/oxide-linux-x64-musl": {- "version": "4.3.3",- "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-linux-x64-musl/-/oxide-linux-x64-musl-4.3.3.tgz",- "integrity": "sha512-SJxX60smvHgasZoBy11dX6YRjXJFovwWBoedhbQPOBzgFWBHGB+TVPWB9BxzR7TTxU8FQZAI2AyiNCMzFm8Img==",- "cpu": [- "x64"- ],- "dev": true,- "libc": [- "musl"- ],- "license": "MIT",- "optional": true,- "os": [- "linux"- ],- "engines": {- "node": ">= 20"- }- },- "node_modules/@tailwindcss/oxide-wasm32-wasi": {- "version": "4.3.3",- "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-wasm32-wasi/-/oxide-wasm32-wasi-4.3.3.tgz",- "integrity": "sha512-jx1+rPhY/5Ympkktd656HBWEBLxP7dH06losBLjjf5vgCODXvi9KhtftWcMIwTFIDqBr7cRnQkdLnAG+IOlGvQ==",- "bundleDependencies": [- "@napi-rs/wasm-runtime",- "@emnapi/core",- "@emnapi/runtime",- "@tybys/wasm-util",- "@emnapi/wasi-threads",- "tslib"- ],- "cpu": [- "wasm32"- ],- "dev": true,- "license": "MIT",- "optional": true,- "dependencies": {- "@emnapi/core": "^1.11.1",- "@emnapi/runtime": "^1.11.1",- "@emnapi/wasi-threads": "^1.2.2",- "@napi-rs/wasm-runtime": "^1.1.4",- "@tybys/wasm-util": "^0.10.2",- "tslib": "^2.8.1"- },- "engines": {- "node": ">=14.0.0"- }- },- "node_modules/@tailwindcss/oxide-win32-arm64-msvc": {- "version": "4.3.3",- "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-win32-arm64-msvc/-/oxide-win32-arm64-msvc-4.3.3.tgz",- "integrity": "sha512-3rc292Ca2ceK6Ulcc/bAVnTs/3nDtoPhyEKlgPv+yQJQi/JS/AMJlqzxvlDacL1nekbrcf6bTqp/jV4qgnPxNQ==",- "cpu": [- "arm64"- ],- "dev": true,- "license": "MIT",- "optional": true,- "os": [- "win32"- ],- "engines": {- "node": ">= 20"- }- },- "node_modules/@tailwindcss/oxide-win32-x64-msvc": {- "version": "4.3.3",- "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-win32-x64-msvc/-/oxide-win32-x64-msvc-4.3.3.tgz",- "integrity": "sha512-yJ0pwIVc/nYeGoV02WtsN8KYyLQv7kyI2wDnkezyJlGGjkd4QLwDGAwl47YpPJeuI0M0ObaXGSPjvWDPeTPggw==",- "cpu": [- "x64"- ],- "dev": true,- "license": "MIT",- "optional": true,- "os": [- "win32"- ],- "engines": {- "node": ">= 20"- }- },- "node_modules/@tailwindcss/postcss": {- "version": "4.3.3",- "resolved": "https://registry.npmjs.org/@tailwindcss/postcss/-/postcss-4.3.3.tgz",- "integrity": "sha512-JTSZZGQi1AyKirbLN3azmjVzef92tcX7h+iSqPdaeStyFpGpDlKvvpxeOE8njhbUanbRwr3z8DyzhICWnMtQeg==",- "dev": true,- "license": "MIT",- "dependencies": {- "@alloc/quick-lru": "^5.2.0",- "@tailwindcss/node": "4.3.3",- "@tailwindcss/oxide": "4.3.3",- "postcss": "^8.5.16",- "tailwindcss": "4.3.3"- }- },- "node_modules/@tiptap/core": {- "version": "3.31.4",- "resolved": "https://registry.npmjs.org/@tiptap/core/-/core-3.31.4.tgz",- "integrity": "sha512-cIVUQYBycighzsk6GbmCef8ZiEDVxoT5EuAe4xg2q9dNkDqCXVqI4YGr9aavCQEiAS4uHiRwqvcsPqJHipFDfg==",- "license": "MIT",- "funding": {- "type": "github",- "url": "https://github.com/sponsors/ueberdosis"- },- "peerDependencies": {- "@tiptap/pm": "3.31.4"- }- },- "node_modules/@tiptap/extension-blockquote": {- "version": "3.31.4",- "resolved": "https://registry.npmjs.org/@tiptap/extension-blockquote/-/extension-blockquote-3.31.4.tgz",- "integrity": "sha512-FHnbvCIW0eDKgUUFjmvEB0ax9YUBW7/Unm+38qpuQROvU872yRqhnDtycKT9IKk46jNdjM4A4fAGUbge10CrAA==",- "license": "MIT",- "funding": {- "type": "github",- "url": "https://github.com/sponsors/ueberdosis"- },- "peerDependencies": {- "@tiptap/core": "3.31.4",- "@tiptap/pm": "3.31.4"- }- },- "node_modules/@tiptap/extension-bold": {- "version": "3.31.4",- "resolved": "https://registry.npmjs.org/@tiptap/extension-bold/-/extension-bold-3.31.4.tgz",- "integrity": "sha512-QX1xoXvO0gz6uVsoLegumqQ4MJXL7lcUDQZ4J7la7LBqiIh4efrCmp2EXbhpr37M/YQL7w8q3g7H/VovSh7xIg==",- "license": "MIT",- "funding": {- "type": "github",- "url": "https://github.com/sponsors/ueberdosis"- },- "peerDependencies": {- "@tiptap/core": "3.31.4"- }- },- "node_modules/@tiptap/extension-bubble-menu": {- "version": "3.31.4",- "resolved": "https://registry.npmjs.org/@tiptap/extension-bubble-menu/-/extension-bubble-menu-3.31.4.tgz",- "integrity": "sha512-Ml/yswuys+3QkOMajfXyAGlUKCxEbT3dMyF8vHwQ5mDk9MDm+dqp10It5CrDBkUT/KkVTa6AJI3kb0TXZJZiAA==",- "license": "MIT",- "optional": true,- "dependencies": {- "@floating-ui/dom": "^1.0.0"- },- "funding": {- "type": "github",- "url": "https://github.com/sponsors/ueberdosis"- },- "peerDependencies": {- "@tiptap/core": "3.31.4",- "@tiptap/pm": "3.31.4"- }- },- "node_modules/@tiptap/extension-bullet-list": {- "version": "3.31.4",- "resolved": "https://registry.npmjs.org/@tiptap/extension-bullet-list/-/extension-bullet-list-3.31.4.tgz",- "integrity": "sha512-gHn1RDR4olCnmKpH+G9x+f8R+iKPNVdLlvbFkIpR/stjabZi7fB4Rr5GiHWsulbtxAjdQrNjnVeNdGM4rBxApw==",- "license": "MIT",- "funding": {- "type": "github",- "url": "https://github.com/sponsors/ueberdosis"- },- "peerDependencies": {- "@tiptap/extension-list": "3.31.4"- }- },- "node_modules/@tiptap/extension-code": {- "version": "3.31.4",- "resolved": "https://registry.npmjs.org/@tiptap/extension-code/-/extension-code-3.31.4.tgz",- "integrity": "sha512-pzi8GNDs5J1DEoO1HNYiJ5WZpgOZzlc/2VIa77mMpEuD4hZxuK0BQzlF/O6Ps/O5P1lGJT4xS0Yowpzb9mD9RA==",- "license": "MIT",- "funding": {- "type": "github",- "url": "https://github.com/sponsors/ueberdosis"- },- "peerDependencies": {- "@tiptap/core": "3.31.4"- }- },- "node_modules/@tiptap/extension-code-block": {- "version": "3.31.4",- "resolved": "https://registry.npmjs.org/@tiptap/extension-code-block/-/extension-code-block-3.31.4.tgz",- "integrity": "sha512-su/B/cfQ1HpiHl6JfJ6wa+RVEptiYsV4dCntE8XQNj2dUcII4y6w6PQbbswOoDrU79uXHsAvpy44215rghG4LA==",- "license": "MIT",- "funding": {- "type": "github",- "url": "https://github.com/sponsors/ueberdosis"- },- "peerDependencies": {- "@tiptap/core": "3.31.4",- "@tiptap/pm": "3.31.4"- }- },- "node_modules/@tiptap/extension-document": {- "version": "3.31.4",- "resolved": "https://registry.npmjs.org/@tiptap/extension-document/-/extension-document-3.31.4.tgz",- "integrity": "sha512-vT20u62RWR+BLIyNJ54e24MPUY4zm8VF7tcgJnxQXi7BgVJWcNMtMWWDIkPJ4JNXwfoIznKh3jzYsaYmbCJgQQ==",- "license": "MIT",- "funding": {- "type": "github",- "url": "https://github.com/sponsors/ueberdosis"- },- "peerDependencies": {- "@tiptap/core": "3.31.4"- }- },- "node_modules/@tiptap/extension-dropcursor": {- "version": "3.31.4",- "resolved": "https://registry.npmjs.org/@tiptap/extension-dropcursor/-/extension-dropcursor-3.31.4.tgz",- "integrity": "sha512-5TbCPCC4RL+QT1NYHjXCYDBHBtVqYOFvFEnk3v98lvXCM2PNL13ofXUfJPuykAVy1OdTAx4DlZOQAD9WKy/IdQ==",- "license": "MIT",- "funding": {- "type": "github",- "url": "https://github.com/sponsors/ueberdosis"- },- "peerDependencies": {- "@tiptap/extensions": "3.31.4"- }- },- "node_modules/@tiptap/extension-floating-menu": {- "version": "3.31.4",- "resolved": "https://registry.npmjs.org/@tiptap/extension-floating-menu/-/extension-floating-menu-3.31.4.tgz",- "integrity": "sha512-pKzulkDmolpVt7IP9FSPsC5pKbXQ5pyeqkaAYr8cyOVW+KUObpPRIzAuXvEso8PCjWgwJ1f2qyishOEMw8MbfQ==",- "license": "MIT",- "optional": true,- "funding": {- "type": "github",- "url": "https://github.com/sponsors/ueberdosis"- },- "peerDependencies": {- "@floating-ui/dom": "^1.0.0",- "@tiptap/core": "3.31.4",- "@tiptap/pm": "3.31.4"- }- },- "node_modules/@tiptap/extension-gapcursor": {- "version": "3.31.4",- "resolved": "https://registry.npmjs.org/@tiptap/extension-gapcursor/-/extension-gapcursor-3.31.4.tgz",- "integrity": "sha512-hBogUAepQH6IQUhaePhPWzQ1Oeu+yqlJVMKO06Eue5m36uRy1PZZAQ780pCGT0SC4R5MH2td1N8EUQ7bupQdDA==",- "license": "MIT",- "funding": {- "type": "github",- "url": "https://github.com/sponsors/ueberdosis"- },- "peerDependencies": {- "@tiptap/extensions": "3.31.4"- }- },- "node_modules/@tiptap/extension-hard-break": {- "version": "3.31.4",- "resolved": "https://registry.npmjs.org/@tiptap/extension-hard-break/-/extension-hard-break-3.31.4.tgz",- "integrity": "sha512-oLNajLyUvRMg1qtzFgKGduygTlpaHFB9PU+M+pUWdA4sa1bRnxS2Y++Ao4lHYopJ7nxatLndrYoCIHkotqkPDQ==",- "license": "MIT",- "funding": {- "type": "github",- "url": "https://github.com/sponsors/ueberdosis"- },- "peerDependencies": {- "@tiptap/core": "3.31.4"- }- },- "node_modules/@tiptap/extension-heading": {- "version": "3.31.4",- "resolved": "https://registry.npmjs.org/@tiptap/extension-heading/-/extension-heading-3.31.4.tgz",- "integrity": "sha512-KqlSeLathpdxCc3kVHBCA/RkHvb+V7u5vgiSEu1Cv3L70r7F19COMGODav/k1AGYBgEXKL6lM9cy8cloE5/28g==",- "license": "MIT",- "funding": {- "type": "github",- "url": "https://github.com/sponsors/ueberdosis"- },- "peerDependencies": {- "@tiptap/core": "3.31.4"- }- },- "node_modules/@tiptap/extension-horizontal-rule": {- "version": "3.31.4",- "resolved": "https://registry.npmjs.org/@tiptap/extension-horizontal-rule/-/extension-horizontal-rule-3.31.4.tgz",- "integrity": "sha512-ws0Kh8kfHL7ESILSXj0HJAXs8G10ewlW1sedXKm8dm0op9L8il+xl8bEJVoqG/jMf77900Fc2CaQldcCGRpF1g==",- "license": "MIT",- "funding": {- "type": "github",- "url": "https://github.com/sponsors/ueberdosis"- },- "peerDependencies": {- "@tiptap/core": "3.31.4",- "@tiptap/pm": "3.31.4"- }- },- "node_modules/@tiptap/extension-image": {- "version": "3.31.4",- "resolved": "https://registry.npmjs.org/@tiptap/extension-image/-/extension-image-3.31.4.tgz",- "integrity": "sha512-vtD+rK73abJnPRKOjU37sQTCa5Auyg451yhqZD/3lZKiFJDBHAZKI7lQARkXBQYK289hBhK6yMIwofoqCBvi3g==",- "license": "MIT",- "funding": {- "type": "github",- "url": "https://github.com/sponsors/ueberdosis"- },- "peerDependencies": {- "@tiptap/core": "3.31.4"- }- },- "node_modules/@tiptap/extension-italic": {- "version": "3.31.4",- "resolved": "https://registry.npmjs.org/@tiptap/extension-italic/-/extension-italic-3.31.4.tgz",- "integrity": "sha512-pftTQBPYZocNDAj/u6OyDIp7YxmN0+N895cQPogJQ6qMHdLiRhzgawiEewJkniyN1w8k3Wx/Etp8pTKrxaOOBQ==",- "license": "MIT",- "funding": {- "type": "github",- "url": "https://github.com/sponsors/ueberdosis"- },- "peerDependencies": {- "@tiptap/core": "3.31.4"- }- },- "node_modules/@tiptap/extension-link": {- "version": "3.31.4",- "resolved": "https://registry.npmjs.org/@tiptap/extension-link/-/extension-link-3.31.4.tgz",- "integrity": "sha512-LLxW3qfeL9gvDdMPVdxYFYZ0zZSjsoIDhOqjJ5U2UfaK3U2iwkKTBgV2qT+FWf3uUHmBRjBZ08q3dRPmWBAD5g==",- "license": "MIT",- "dependencies": {- "linkifyjs": "^4.3.3"- },- "funding": {- "type": "github",- "url": "https://github.com/sponsors/ueberdosis"- },- "peerDependencies": {- "@tiptap/core": "3.31.4",- "@tiptap/pm": "3.31.4"- }- },- "node_modules/@tiptap/extension-list": {- "version": "3.31.4",- "resolved": "https://registry.npmjs.org/@tiptap/extension-list/-/extension-list-3.31.4.tgz",- "integrity": "sha512-Wd4YRYxOdf+TtF33/QsRo1RK1CecVxjYGjUBIKNGHAywfh8tghgV4YOUCiV1iJqYt2IBs+RWlIqTmdIPzBrd4A==",- "license": "MIT",- "funding": {- "type": "github",- "url": "https://github.com/sponsors/ueberdosis"- },- "peerDependencies": {- "@tiptap/core": "3.31.4",- "@tiptap/pm": "3.31.4"- }- },- "node_modules/@tiptap/extension-list-item": {- "version": "3.31.4",- "resolved": "https://registry.npmjs.org/@tiptap/extension-list-item/-/extension-list-item-3.31.4.tgz",- "integrity": "sha512-ao8XAPvhOrtGFILs+fKtOM91omDSpUC8X19m44gbaq5xJDVpIMZ0rP+NAVUS72G7LskhcHa0bu/Pm022bUVjVw==",- "license": "MIT",- "funding": {- "type": "github",- "url": "https://github.com/sponsors/ueberdosis"- },- "peerDependencies": {- "@tiptap/extension-list": "3.31.4"- }- },- "node_modules/@tiptap/extension-list-keymap": {- "version": "3.31.4",- "resolved": "https://registry.npmjs.org/@tiptap/extension-list-keymap/-/extension-list-keymap-3.31.4.tgz",- "integrity": "sha512-etdkl/YnYfwtALDxecJ+4WYgJAez1fn1vzzZqJklZBpgqiZtny3NxpvWS7/JhsltNG84Wo/oovpfJgVmzhddrw==",- "license": "MIT",- "funding": {- "type": "github",- "url": "https://github.com/sponsors/ueberdosis"- },- "peerDependencies": {- "@tiptap/extension-list": "3.31.4"- }- },- "node_modules/@tiptap/extension-ordered-list": {- "version": "3.31.4",- "resolved": "https://registry.npmjs.org/@tiptap/extension-ordered-list/-/extension-ordered-list-3.31.4.tgz",- "integrity": "sha512-UNWyF+Dhm08znszIMnT8Y2kJ1lvtiCvUGs1aG7m9cPHxDa7VycWnOqdtXWkc+6xRLNiC0zgWCFWgLLHduV8pRQ==",- "license": "MIT",- "funding": {- "type": "github",- "url": "https://github.com/sponsors/ueberdosis"- },- "peerDependencies": {- "@tiptap/extension-list": "3.31.4"- }- },- "node_modules/@tiptap/extension-paragraph": {- "version": "3.31.4",- "resolved": "https://registry.npmjs.org/@tiptap/extension-paragraph/-/extension-paragraph-3.31.4.tgz",- "integrity": "sha512-WZlBgw+XVKXerRlmEsoQ7x1PwSU+dh3X+b70+ViZsLebdfsmmYBIaNDrvIGwG9UQr5eLnddJnZplMSTI2YKs+g==",- "license": "MIT",- "funding": {- "type": "github",- "url": "https://github.com/sponsors/ueberdosis"- },- "peerDependencies": {- "@tiptap/core": "3.31.4"- }- },- "node_modules/@tiptap/extension-placeholder": {- "version": "3.31.4",- "resolved": "https://registry.npmjs.org/@tiptap/extension-placeholder/-/extension-placeholder-3.31.4.tgz",- "integrity": "sha512-3SoJopaOzaA9IZHSk9ZXHiO6ib8ErPh7ssRh3bIaxfD+BqRyXcm4hV4yfFXTqrDCnl5FE+DbBRGmeVAVkDko3g==",- "license": "MIT",- "funding": {- "type": "github",- "url": "https://github.com/sponsors/ueberdosis"- },- "peerDependencies": {- "@tiptap/extensions": "3.31.4"- }- },- "node_modules/@tiptap/extension-strike": {- "version": "3.31.4",- "resolved": "https://registry.npmjs.org/@tiptap/extension-strike/-/extension-strike-3.31.4.tgz",- "integrity": "sha512-4MBr63TJIMqxCjE+gAPdlY1IdELgvbAP516K3Ntn/BkcpEbEoPMEYVz+XTxULyHQEuARDO6jsXPPxRXpA74jaw==",- "license": "MIT",- "funding": {- "type": "github",- "url": "https://github.com/sponsors/ueberdosis"- },- "peerDependencies": {- "@tiptap/core": "3.31.4"- }- },- "node_modules/@tiptap/extension-table": {- "version": "3.31.4",- "resolved": "https://registry.npmjs.org/@tiptap/extension-table/-/extension-table-3.31.4.tgz",- "integrity": "sha512-ai7DLwg/xmhlUas3LgWaPQdPlZ8StliY6Dn+iUH6eyZ/TQqRDY/oeIsKWaHpXq22T5M5dMlZPTg172ZdtwKswQ==",- "license": "MIT",- "funding": {- "type": "github",- "url": "https://github.com/sponsors/ueberdosis"- },- "peerDependencies": {- "@tiptap/core": "3.31.4",- "@tiptap/pm": "3.31.4"- }- },- "node_modules/@tiptap/extension-task-item": {- "version": "3.31.4",- "resolved": "https://registry.npmjs.org/@tiptap/extension-task-item/-/extension-task-item-3.31.4.tgz",- "integrity": "sha512-pRe8jtsu5PQ6gNiZkYOKmNQi4SLHWW0dxXGqOG87GHmdvsko9V1JzS9dYEPGUFyjHyRg1DfrsmlMee24bggMoA==",- "license": "MIT",- "funding": {- "type": "github",- "url": "https://github.com/sponsors/ueberdosis"- },- "peerDependencies": {- "@tiptap/extension-list": "3.31.4"- }- },- "node_modules/@tiptap/extension-task-list": {- "version": "3.31.4",- "resolved": "https://registry.npmjs.org/@tiptap/extension-task-list/-/extension-task-list-3.31.4.tgz",- "integrity": "sha512-c4jTxIGvJzmtsk1V1EBjqEuDk+rY+b9bQq5fup+BXW/W3u5ELM8DUuTlfRpBzGis3RD0096oNBfqv7XdG5Yvjg==",- "license": "MIT",- "funding": {- "type": "github",- "url": "https://github.com/sponsors/ueberdosis"- },- "peerDependencies": {- "@tiptap/extension-list": "3.31.4"- }- },- "node_modules/@tiptap/extension-text": {- "version": "3.31.4",- "resolved": "https://registry.npmjs.org/@tiptap/extension-text/-/extension-text-3.31.4.tgz",- "integrity": "sha512-WL2ZRpFksgQcXJN05/UQH09YCH9LlhdLrSEcviASvEH/aAfsKiJlDrouN8PET+YAWK/F5xFc5/Q1z0xj+I23jw==",- "license": "MIT",- "funding": {- "type": "github",- "url": "https://github.com/sponsors/ueberdosis"- },- "peerDependencies": {- "@tiptap/core": "3.31.4"- }- },- "node_modules/@tiptap/extension-underline": {- "version": "3.31.4",- "resolved": "https://registry.npmjs.org/@tiptap/extension-underline/-/extension-underline-3.31.4.tgz",- "integrity": "sha512-0iFGPIqmqGkCrOFh1OPo7Dzv5s86dVN3bZaugsz0jK04otkb8bn04ZDKP2/6Wq+lcK0M9DfJ0QqfW5hC2nBZxQ==",- "license": "MIT",- "funding": {- "type": "github",- "url": "https://github.com/sponsors/ueberdosis"- },- "peerDependencies": {- "@tiptap/core": "3.31.4"- }- },- "node_modules/@tiptap/extensions": {- "version": "3.31.4",- "resolved": "https://registry.npmjs.org/@tiptap/extensions/-/extensions-3.31.4.tgz",- "integrity": "sha512-nIupIne/sHpV2Kw1M4MOmr4+G454KI8BXM5+LWKOU2EpzfALZWVSy7koF9lVRna4Zp5Gv8hfg5Z8kvmrYQvhkw==",- "license": "MIT",- "funding": {- "type": "github",- "url": "https://github.com/sponsors/ueberdosis"- },- "peerDependencies": {- "@tiptap/core": "3.31.4",- "@tiptap/pm": "3.31.4"- }- },- "node_modules/@tiptap/markdown": {- "version": "3.31.4",- "resolved": "https://registry.npmjs.org/@tiptap/markdown/-/markdown-3.31.4.tgz",- "integrity": "sha512-lmR9V1/eQ41BaR2zBgYG/+Liy7K7Ch17ZNxVy8dpUVlNpWxxoHUMXNsCg2uEyXP3NLpZaKiY0+drSu9oK1DbSA==",- "license": "MIT",- "dependencies": {- "marked": "^17.0.1"- },- "funding": {- "type": "github",- "url": "https://github.com/sponsors/ueberdosis"- },- "peerDependencies": {- "@tiptap/core": "3.31.4",- "@tiptap/pm": "3.31.4"- }- },- "node_modules/@tiptap/pm": {- "version": "3.31.4",- "resolved": "https://registry.npmjs.org/@tiptap/pm/-/pm-3.31.4.tgz",- "integrity": "sha512-x7dwth79cQp4QGae66/RJqMDJQv0+n7b7dD7cyFQBWqzPFLJxN/4paHY4qbWedZjNLhRyIOAD9a5q4AYM1zmPA==",- "license": "MIT",- "dependencies": {- "prosemirror-changeset": "^2.4.1",- "prosemirror-commands": "^1.7.1",- "prosemirror-dropcursor": "^1.8.2",- "prosemirror-gapcursor": "^1.4.1",- "prosemirror-history": "^1.5.0",- "prosemirror-inputrules": "^1.5.1",- "prosemirror-keymap": "^1.2.3",- "prosemirror-model": "^1.25.11",- "prosemirror-schema-list": "^1.5.1",- "prosemirror-state": "^1.4.4",- "prosemirror-tables": "^1.8.5",- "prosemirror-transform": "^1.12.0",- "prosemirror-view": "^1.42.3"- },- "funding": {- "type": "github",- "url": "https://github.com/sponsors/ueberdosis"- }- },- "node_modules/@tiptap/react": {- "version": "3.31.4",- "resolved": "https://registry.npmjs.org/@tiptap/react/-/react-3.31.4.tgz",- "integrity": "sha512-mBvvXgdPhMinT1NPfwHvFK1dFdMXHVWMSeNn0IPj7/zV0XBmOnASkEOwoIvl8NluKYEtpZBE1yA+6pN2enLa5g==",- "license": "MIT",- "dependencies": {- "@types/use-sync-external-store": "^0.0.6",- "fast-equals": "^5.3.3",- "use-sync-external-store": "^1.4.0"- },- "funding": {- "type": "github",- "url": "https://github.com/sponsors/ueberdosis"- },- "optionalDependencies": {- "@tiptap/extension-bubble-menu": "3.31.4",- "@tiptap/extension-floating-menu": "3.31.4"- },- "peerDependencies": {- "@tiptap/core": "3.31.4",- "@tiptap/pm": "3.31.4",- "@types/react": "^17.0.0 || ^18.0.0 || ^19.0.0",- "@types/react-dom": "^17.0.0 || ^18.0.0 || ^19.0.0",- "react": "^17.0.0 || ^18.0.0 || ^19.0.0",- "react-dom": "^17.0.0 || ^18.0.0 || ^19.0.0"- }- },- "node_modules/@tiptap/starter-kit": {- "version": "3.31.4",- "resolved": "https://registry.npmjs.org/@tiptap/starter-kit/-/starter-kit-3.31.4.tgz",- "integrity": "sha512-u7HIJ9vK6kFe4S4J2CIcDLrhRZzoTMSyU0XxjQ6lUNF7pWW3rMi//pvi8RcsZmxGjyb8CpXAqYgNl7f9WyaUeA==",- "license": "MIT",- "dependencies": {- "@tiptap/core": "3.31.4",- "@tiptap/extension-blockquote": "3.31.4",- "@tiptap/extension-bold": "3.31.4",- "@tiptap/extension-bullet-list": "3.31.4",- "@tiptap/extension-code": "3.31.4",- "@tiptap/extension-code-block": "3.31.4",- "@tiptap/extension-document": "3.31.4",- "@tiptap/extension-dropcursor": "3.31.4",- "@tiptap/extension-gapcursor": "3.31.4",- "@tiptap/extension-hard-break": "3.31.4",- "@tiptap/extension-heading": "3.31.4",- "@tiptap/extension-horizontal-rule": "3.31.4",- "@tiptap/extension-italic": "3.31.4",- "@tiptap/extension-link": "3.31.4",- "@tiptap/extension-list": "3.31.4",- "@tiptap/extension-list-item": "3.31.4",- "@tiptap/extension-list-keymap": "3.31.4",- "@tiptap/extension-ordered-list": "3.31.4",- "@tiptap/extension-paragraph": "3.31.4",- "@tiptap/extension-strike": "3.31.4",- "@tiptap/extension-text": "3.31.4",- "@tiptap/extension-underline": "3.31.4",- "@tiptap/extensions": "3.31.4",- "@tiptap/pm": "3.31.4"- },- "funding": {- "type": "github",- "url": "https://github.com/sponsors/ueberdosis"- }- },- "node_modules/@tiptap/suggestion": {- "version": "3.31.4",- "resolved": "https://registry.npmjs.org/@tiptap/suggestion/-/suggestion-3.31.4.tgz",- "integrity": "sha512-J9WWMQDAzZOlF9VSdLohpxgrwlB1NscqvNhOPoS3WjwrzQqLj+FAvcchfJQcnybF5mYOtftFZexpOzOt1MqjUA==",- "license": "MIT",- "funding": {- "type": "github",- "url": "https://github.com/sponsors/ueberdosis"- },- "peerDependencies": {- "@floating-ui/dom": "^1.0.0",- "@tiptap/core": "3.31.4",- "@tiptap/pm": "3.31.4"- }- },- "node_modules/@tybys/wasm-util": {- "version": "0.10.4",- "resolved": "https://registry.npmjs.org/@tybys/wasm-util/-/wasm-util-0.10.4.tgz",- "integrity": "sha512-W3c4gRigFS0T/Ma4qIYF3GDAc5AQdHb1yL5znJT1Zv1YaD9Kitx656wBjvr19qbiosmZT8lWDM5BEMynUqX65A==",- "dev": true,- "license": "MIT",- "optional": true,- "dependencies": {- "tslib": "^2.4.0"- }- },- "node_modules/@types/debug": {- "version": "4.1.13",- "resolved": "https://registry.npmjs.org/@types/debug/-/debug-4.1.13.tgz",- "integrity": "sha512-KSVgmQmzMwPlmtljOomayoR89W4FynCAi3E8PPs7vmDVPe84hT+vGPKkJfThkmXs0x0jAaa9U8uW8bbfyS2fWw==",- "license": "MIT",- "dependencies": {- "@types/ms": "*"- }- },- "node_modules/@types/estree": {- "version": "1.0.9",- "resolved": "https://registry.npmjs.org/@types/estree/-/estree-1.0.9.tgz",- "integrity": "sha512-GhdPgy1el4/ImP05X05Uw4cw2/M93BCUmnEvWZNStlCzEKME4Fkk+YpoA5OiHNQmoS7Cafb8Xa3Pya8m1Qrzeg==",- "license": "MIT"- },- "node_modules/@types/estree-jsx": {- "version": "1.0.5",- "resolved": "https://registry.npmjs.org/@types/estree-jsx/-/estree-jsx-1.0.5.tgz",- "integrity": "sha512-52CcUVNFyfb1A2ALocQw/Dd1BQFNmSdkuC3BkZ6iqhdMfQz7JWOFRuJFloOzjk+6WijU56m9oKXFAXc7o3Towg==",- "license": "MIT",- "dependencies": {- "@types/estree": "*"- }- },- "node_modules/@types/hast": {- "version": "3.0.5",- "resolved": "https://registry.npmjs.org/@types/hast/-/hast-3.0.5.tgz",- "integrity": "sha512-rp/ezSWaD1m44dPKICGhiskI13nVr7qTloFwDa/IYkhhf5nzwP+zIQcIJh3WIFSBOy/H1PzB40jPjMDksN4F+g==",- "license": "MIT",- "dependencies": {- "@types/unist": "*"- }- },- "node_modules/@types/json-schema": {- "version": "7.0.15",- "resolved": "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.15.tgz",- "integrity": "sha512-5+fP8P8MFNC+AyZCDxrB2pkZFPGzqQWUzpSeuuVLvm8VMcorNYavBqoFcxK8bQz4Qsbn4oUEEem4wDLfcysGHA==",- "dev": true,- "license": "MIT"- },- "node_modules/@types/json5": {- "version": "0.0.29",- "resolved": "https://registry.npmjs.org/@types/json5/-/json5-0.0.29.tgz",- "integrity": "sha512-dRLjCWHYg4oaA77cxO64oO+7JwCwnIzkZPdrrC71jQmQtlhM556pwKo5bUzqvZndkVbeFLIIi+9TC40JNF5hNQ==",- "dev": true,- "license": "MIT"- },- "node_modules/@types/mdast": {- "version": "4.0.4",- "resolved": "https://registry.npmjs.org/@types/mdast/-/mdast-4.0.4.tgz",- "integrity": "sha512-kGaNbPh1k7AFzgpud/gMdvIm5xuECykRR+JnWKQno9TAXVa6WIVCGTPvYGekIDL4uwCZQSYbUxNBSb1aUo79oA==",- "license": "MIT",- "dependencies": {- "@types/unist": "*"- }- },- "node_modules/@types/ms": {- "version": "2.1.0",- "resolved": "https://registry.npmjs.org/@types/ms/-/ms-2.1.0.tgz",- "integrity": "sha512-GsCCIZDE/p3i96vtEqx+7dBUGXrc7zeSK3wwPHIaRThS+9OhWIXRqzs4d6k1SVU8g91DrNRWxWUGhp5KXQb2VA==",- "license": "MIT"- },- "node_modules/@types/react": {- "version": "19.3.0",- "resolved": "https://registry.npmjs.org/@types/react/-/react-19.3.0.tgz",- "integrity": "sha512-N0rFCuH9YoxG9/m61l9MfpJKfmLOVU0em7ipIz6TRgSSkvReLB9vL85GB+yr8Bs5leqpvg96JSwF4ZS1s4viQg==",- "license": "MIT",- "peer": true,- "dependencies": {- "csstype": "^3.2.2"- }- },- "node_modules/@types/react-dom": {- "version": "19.3.0",- "resolved": "https://registry.npmjs.org/@types/react-dom/-/react-dom-19.3.0.tgz",- "integrity": "sha512-ZI7bU42mZXXKHn/qNLEw2IrbiINU7X5+vfgdixBHkCNpYWXjKgfQ/P+uyGb5CjOLB9UcnTeg3rylQtV2hym44Q==",- "license": "MIT",- "peer": true,- "peerDependencies": {- "@types/react": "^19.3.0"- }- },- "node_modules/@types/unist": {- "version": "3.0.3",- "resolved": "https://registry.npmjs.org/@types/unist/-/unist-3.0.3.tgz",- "integrity": "sha512-ko/gIFJRv177XgZsZcBwnqJN5x/Gien8qNOn0D5bQU/zAzVf9Zt3BlcUiLqhV9y4ARk0GbT3tnUiPNgnTXzc/Q==",- "license": "MIT"- },- "node_modules/@types/use-sync-external-store": {- "version": "0.0.6",- "resolved": "https://registry.npmjs.org/@types/use-sync-external-store/-/use-sync-external-store-0.0.6.tgz",- "integrity": "sha512-zFDAD+tlpf2r4asuHEj0XH6pY6i0g5NeAHPn+15wk3BV6JA69eERFXC1gyGThDkVa1zCyKr5jox1+2LbV/AMLg==",- "license": "MIT"- },- "node_modules/@typescript-eslint/eslint-plugin": {- "version": "8.71.0",- "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.71.0.tgz",- "integrity": "sha512-pqcS9c1HxZTHt7End4nXqd0s5lJrrFzrgCkKFJrsbUnaL6M3+6oBFZaslg6Gjsl3argl2DDRFROnXARaZ2e4Nw==",- "dev": true,- "license": "MIT",- "dependencies": {- "@eslint-community/regexpp": "^4.12.2",- "@typescript-eslint/scope-manager": "8.71.0",- "@typescript-eslint/type-utils": "8.71.0",- "@typescript-eslint/utils": "8.71.0",- "@typescript-eslint/visitor-keys": "8.71.0",- "ignore": "^7.0.5",- "natural-compare": "^1.4.0",- "ts-api-utils": "^2.5.0"- },- "engines": {- "node": "^18.18.0 || ^20.9.0 || >=21.1.0"- },- "funding": {- "type": "opencollective",- "url": "https://opencollective.com/typescript-eslint"- },- "peerDependencies": {- "@typescript-eslint/parser": "^8.71.0",- "eslint": "^8.57.0 || ^9.0.0 || ^10.0.0",- "typescript": ">=4.8.4 <6.1.0"- }- },- "node_modules/@typescript-eslint/eslint-plugin/node_modules/ignore": {- "version": "7.0.12",- "resolved": "https://registry.npmjs.org/ignore/-/ignore-7.0.12.tgz",- "integrity": "sha512-/8UvqAPU9DGTI9k4mxtf49U37Isfwr8Uts96+SBHIkFxPJnHS0Ew4f00sM4Scd8V8EjM0jUNtVDdv1kPdt35lg==",- "dev": true,- "license": "MIT",- "engines": {- "node": ">= 4"- }- },- "node_modules/@typescript-eslint/parser": {- "version": "8.71.0",- "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-8.71.0.tgz",- "integrity": "sha512-CG4nPk1f2zc8yw4pALqHsFYH2hdo+h1T9daSp21+Hnxi9LOE3GT9hAfTKJCBXVNM2GmYs1eMEP615wPoeOgk3A==",- "dev": true,- "license": "MIT",- "dependencies": {- "@typescript-eslint/scope-manager": "8.71.0",- "@typescript-eslint/types": "8.71.0",- "@typescript-eslint/typescript-estree": "8.71.0",- "@typescript-eslint/visitor-keys": "8.71.0",- "debug": "^4.4.3"- },- "engines": {- "node": "^18.18.0 || ^20.9.0 || >=21.1.0"- },- "funding": {- "type": "opencollective",- "url": "https://opencollective.com/typescript-eslint"- },- "peerDependencies": {- "eslint": "^8.57.0 || ^9.0.0 || ^10.0.0",- "typescript": ">=4.8.4 <6.1.0"- }- },- "node_modules/@typescript-eslint/project-service": {- "version": "8.71.0",- "resolved": "https://registry.npmjs.org/@typescript-eslint/project-service/-/project-service-8.71.0.tgz",- "integrity": "sha512-aABjw5rjBacYONVPaPiWOCjJu0vEF4a25iQuodlmQYL1trtLZ0X/y+2Vzl3BKI1odM4LnwLE1oUDXYp1wzx1TQ==",- "dev": true,- "license": "MIT",- "dependencies": {- "@typescript-eslint/tsconfig-utils": "^8.71.0",- "@typescript-eslint/types": "^8.71.0",- "debug": "^4.4.3"- },- "engines": {- "node": "^18.18.0 || ^20.9.0 || >=21.1.0"- },- "funding": {- "type": "opencollective",- "url": "https://opencollective.com/typescript-eslint"- },- "peerDependencies": {- "typescript": ">=4.8.4 <6.1.0"- }- },- "node_modules/@typescript-eslint/scope-manager": {- "version": "8.71.0",- "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.71.0.tgz",- "integrity": "sha512-gWF0BhUcnjZxSpLE8ngS/59n2SB0J3YqRxvX1+2aoRJk9hNtHSLOV+TcarFiOr5ipXm3yc1QrI4c9YZc8zyCxw==",- "dev": true,- "license": "MIT",- "dependencies": {- "@typescript-eslint/types": "8.71.0",- "@typescript-eslint/visitor-keys": "8.71.0"- },- "engines": {- "node": "^18.18.0 || ^20.9.0 || >=21.1.0"- },- "funding": {- "type": "opencollective",- "url": "https://opencollective.com/typescript-eslint"- }- },- "node_modules/@typescript-eslint/tsconfig-utils": {- "version": "8.71.0",- "resolved": "https://registry.npmjs.org/@typescript-eslint/tsconfig-utils/-/tsconfig-utils-8.71.0.tgz",- "integrity": "sha512-Z1UlWHADEK2Mlb9NpWfDeSjqoZ5EyrOv4R3eQpbkzqn/EwaIdOpXXupEA1+0ZIOSJSZZDBHG0BrQyN8zUG6Pwg==",- "dev": true,- "license": "MIT",- "engines": {- "node": "^18.18.0 || ^20.9.0 || >=21.1.0"- },- "funding": {- "type": "opencollective",- "url": "https://opencollective.com/typescript-eslint"- },- "peerDependencies": {- "typescript": ">=4.8.4 <6.1.0"- }- },- "node_modules/@typescript-eslint/type-utils": {- "version": "8.71.0",- "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-8.71.0.tgz",- "integrity": "sha512-i8uO1qbdxeKgRnS5sCRt6On3/nfo2d2DwQe3Yvjx543zLy7r8ySqRuPPiIIXAhS03U0v5NfAFx+rUgxFzKKwNw==",- "dev": true,- "license": "MIT",- "dependencies": {- "@typescript-eslint/types": "8.71.0",- "@typescript-eslint/typescript-estree": "8.71.0",- "@typescript-eslint/utils": "8.71.0",- "debug": "^4.4.3",- "ts-api-utils": "^2.5.0"- },- "engines": {- "node": "^18.18.0 || ^20.9.0 || >=21.1.0"- },- "funding": {- "type": "opencollective",- "url": "https://opencollective.com/typescript-eslint"- },- "peerDependencies": {- "eslint": "^8.57.0 || ^9.0.0 || ^10.0.0",- "typescript": ">=4.8.4 <6.1.0"- }- },- "node_modules/@typescript-eslint/types": {- "version": "8.71.0",- "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.71.0.tgz",- "integrity": "sha512-cJ4OoxPGWvFnBTnSZyaU+qJzGTqPTGJY+gDchj6cRyLRdmIdt4rcsE4twj+zPfrNiWuVi38wijHzShL++Z9atQ==",- "dev": true,- "license": "MIT",- "engines": {- "node": "^18.18.0 || ^20.9.0 || >=21.1.0"- },- "funding": {- "type": "opencollective",- "url": "https://opencollective.com/typescript-eslint"- }- },- "node_modules/@typescript-eslint/typescript-estree": {- "version": "8.71.0",- "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.71.0.tgz",- "integrity": "sha512-PEEF4G5sLLWAS5BpPrUvms4ySZkiBQQZM4z+3ReI46axK5Vqr/vXBQatJQIZZOYdGyPUAKTtsrWzpqKuU+3DEw==",- "dev": true,- "license": "MIT",- "dependencies": {- "@typescript-eslint/project-service": "8.71.0",- "@typescript-eslint/tsconfig-utils": "8.71.0",- "@typescript-eslint/types": "8.71.0",- "@typescript-eslint/visitor-keys": "8.71.0",- "debug": "^4.4.3",- "minimatch": "^10.2.2",- "semver": "^7.7.3",- "tinyglobby": "^0.2.15",- "ts-api-utils": "^2.5.0"- },- "engines": {- "node": "^18.18.0 || ^20.9.0 || >=21.1.0"- },- "funding": {- "type": "opencollective",- "url": "https://opencollective.com/typescript-eslint"- },- "peerDependencies": {- "typescript": ">=4.8.4 <6.1.0"- }- },- "node_modules/@typescript-eslint/typescript-estree/node_modules/balanced-match": {- "version": "4.0.4",- "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-4.0.4.tgz",- "integrity": "sha512-BLrgEcRTwX2o6gGxGOCNyMvGSp35YofuYzw9h1IMTRmKqttAZZVU67bdb9Pr2vUHA8+j3i2tJfjO6C6+4myGTA==",- "dev": true,- "license": "MIT",- "engines": {- "node": "18 || 20 || >=22"- }- },- "node_modules/@typescript-eslint/typescript-estree/node_modules/brace-expansion": {- "version": "5.0.12",- "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-5.0.12.tgz",- "integrity": "sha512-YovQ3rzhaLMIrDjNDMkNS01tea93qhEhG5xy8f6+R0l+dw3Ki+5sCoIoI942iuLZTHWogWktgwVDhU09iNEimQ==",- "dev": true,- "license": "MIT",- "dependencies": {- "balanced-match": "^4.0.2"- },- "engines": {- "node": "20 || >=22"- }- },- "node_modules/@typescript-eslint/typescript-estree/node_modules/minimatch": {- "version": "10.2.6",- "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-10.2.6.tgz",- "integrity": "sha512-vpLQEs+VLCr1nU0BXS07maYoFwlDAH0gngQuuttxIwutDFEMHq2blX+8vpgxDdK3J1PwjCJiep77OitTZ4Ll1A==",- "dev": true,- "license": "BlueOak-1.0.0",- "dependencies": {- "brace-expansion": "^5.0.8"- },- "engines": {- "node": "18 || 20 || >=22"- },- "funding": {- "url": "https://github.com/sponsors/isaacs"- }- },- "node_modules/@typescript-eslint/typescript-estree/node_modules/semver": {- "version": "7.8.5",- "resolved": "https://registry.npmjs.org/semver/-/semver-7.8.5.tgz",- "integrity": "sha512-Y7/KDsb8LjooZpwaqGyulO6DQlksgCncchHGk+sZIY4SBvUocMBEFH5Ur1fI4dV+Jvl0w6cjvucaIi40puRioA==",- "dev": true,- "license": "ISC",- "bin": {- "semver": "bin/semver.js"- },- "engines": {- "node": ">=10"- }- },- "node_modules/@typescript-eslint/utils": {- "version": "8.71.0",- "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.71.0.tgz",- "integrity": "sha512-pKR/tEMVrXZG23UFKUn5BQf3zfmfk7KQceI2cGzywZ5nxM5Eu3hEJU1utjWzydtzBbcJAQhHN8iPCxobHpPcZQ==",- "dev": true,- "license": "MIT",- "dependencies": {- "@eslint-community/eslint-utils": "^4.9.1",- "@typescript-eslint/scope-manager": "8.71.0",- "@typescript-eslint/types": "8.71.0",- "@typescript-eslint/typescript-estree": "8.71.0"- },- "engines": {- "node": "^18.18.0 || ^20.9.0 || >=21.1.0"- },- "funding": {- "type": "opencollective",- "url": "https://opencollective.com/typescript-eslint"- },- "peerDependencies": {- "eslint": "^8.57.0 || ^9.0.0 || ^10.0.0",- "typescript": ">=4.8.4 <6.1.0"- }- },- "node_modules/@typescript-eslint/visitor-keys": {- "version": "8.71.0",- "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.71.0.tgz",- "integrity": "sha512-8eQ9R218XORK+KLosnf4bu/QsUXvUyVwTbArg7/0NMB1Pu87OJKvj4nhFblkYE8gQV73mW1dx1ptlPCkwRGa7A==",- "dev": true,- "license": "MIT",- "dependencies": {- "@typescript-eslint/types": "8.71.0",- "eslint-visitor-keys": "^5.0.0"- },- "engines": {- "node": "^18.18.0 || ^20.9.0 || >=21.1.0"- },- "funding": {- "type": "opencollective",- "url": "https://opencollective.com/typescript-eslint"- }- },- "node_modules/@typescript-eslint/visitor-keys/node_modules/eslint-visitor-keys": {- "version": "5.0.1",- "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-5.0.1.tgz",- "integrity": "sha512-tD40eHxA35h0PEIZNeIjkHoDR4YjjJp34biM0mDvplBe//mB+IHCqHDGV7pxF+7MklTvighcCPPZC7ynWyjdTA==",- "dev": true,- "license": "Apache-2.0",- "engines": {- "node": "^20.19.0 || ^22.13.0 || >=24"- },- "funding": {- "url": "https://opencollective.com/eslint"- }- },- "node_modules/@ungap/structured-clone": {- "version": "1.4.0",- "resolved": "https://registry.npmjs.org/@ungap/structured-clone/-/structured-clone-1.4.0.tgz",- "integrity": "sha512-1mEZtMKPM09vDmQt5y7YvmN2+DFTP7Tg0EWXdic8/C6VRnpb33e4ghisCIE3WZjsE2N8mf+QV1Zqh7ZFYLWInQ==",- "license": "ISC"- },- "node_modules/@unrs/resolver-binding-android-arm-eabi": {- "version": "1.12.2",- "resolved": "https://registry.npmjs.org/@unrs/resolver-binding-android-arm-eabi/-/resolver-binding-android-arm-eabi-1.12.2.tgz",- "integrity": "sha512-g5T90pqg1bo/7mytQx6F4iBNC0Wsh9cu+z9veDbFjc7HjpesJFWD7QMS0NGStXM075+7dJPPVvBbpZlnrdpi/w==",- "cpu": [- "arm"- ],- "dev": true,- "license": "MIT",- "optional": true,- "os": [- "android"- ]- },- "node_modules/@unrs/resolver-binding-android-arm64": {- "version": "1.12.2",- "resolved": "https://registry.npmjs.org/@unrs/resolver-binding-android-arm64/-/resolver-binding-android-arm64-1.12.2.tgz",- "integrity": "sha512-YGCRZv/9GLhwmz6mYDeTsm/92BAyR28l6c2ReweVW5pWgfsitWLY8upvfRlGdoyD8HjeTHSYJWyZGD4KJA/nFQ==",- "cpu": [- "arm64"- ],- "dev": true,- "license": "MIT",- "optional": true,- "os": [- "android"- ]- },- "node_modules/@unrs/resolver-binding-darwin-arm64": {- "version": "1.12.2",- "resolved": "https://registry.npmjs.org/@unrs/resolver-binding-darwin-arm64/-/resolver-binding-darwin-arm64-1.12.2.tgz",- "integrity": "sha512-u9DiNT1auQMO20A9SyTuG3wUgQWB9Z7KjAg0uFuCDR1FsAY8A0CG2S6JpHS1xwm/w1G08bjXZDcyOCjv1WAm2w==",- "cpu": [- "arm64"- ],- "dev": true,- "license": "MIT",- "optional": true,- "os": [- "darwin"- ]- },- "node_modules/@unrs/resolver-binding-darwin-x64": {- "version": "1.12.2",- "resolved": "https://registry.npmjs.org/@unrs/resolver-binding-darwin-x64/-/resolver-binding-darwin-x64-1.12.2.tgz",- "integrity": "sha512-f7rPLi/T1HVKZu/u6t87lroib16n8vrSzcyxI7lg4BGO9UF26KhQL44sd9eOUgrTYhvRXtWOIZT5PejdPyJfUA==",- "cpu": [- "x64"- ],- "dev": true,- "license": "MIT",- "optional": true,- "os": [- "darwin"- ]- },- "node_modules/@unrs/resolver-binding-freebsd-x64": {- "version": "1.12.2",- "resolved": "https://registry.npmjs.org/@unrs/resolver-binding-freebsd-x64/-/resolver-binding-freebsd-x64-1.12.2.tgz",- "integrity": "sha512-BpcOjWCJub6nRZUS2zA20pmLvjtqAtGejETaIyRLiZiQf++cbrjltLA5NN/xaXfqeOBOSlMFbemIl5/S5tljmg==",- "cpu": [- "x64"- ],- "dev": true,- "license": "MIT",- "optional": true,- "os": [- "freebsd"- ]- },- "node_modules/@unrs/resolver-binding-linux-arm-gnueabihf": {- "version": "1.12.2",- "resolved": "https://registry.npmjs.org/@unrs/resolver-binding-linux-arm-gnueabihf/-/resolver-binding-linux-arm-gnueabihf-1.12.2.tgz",- "integrity": "sha512-vZTDvdSISZjJx66OzJqtsOhzifbqRjbmI1Mnu49fQDwog5GtDI4QidRiEAYbZCRj9C8YZEW+3ZjqsyS9GR4k2A==",- "cpu": [- "arm"- ],- "dev": true,- "license": "MIT",- "optional": true,- "os": [- "linux"- ]- },- "node_modules/@unrs/resolver-binding-linux-arm-musleabihf": {- "version": "1.12.2",- "resolved": "https://registry.npmjs.org/@unrs/resolver-binding-linux-arm-musleabihf/-/resolver-binding-linux-arm-musleabihf-1.12.2.tgz",- "integrity": "sha512-BiPI+IrIlwcW4nLLMM21+B1dFPzd55yAVgVGrdgDjNef+ch03GdxrcyaIz8X9SsQirh/kCQ7mviyWlMxdh2D7g==",- "cpu": [- "arm"- ],- "dev": true,- "license": "MIT",- "optional": true,- "os": [- "linux"- ]- },- "node_modules/@unrs/resolver-binding-linux-arm64-gnu": {- "version": "1.12.2",- "resolved": "https://registry.npmjs.org/@unrs/resolver-binding-linux-arm64-gnu/-/resolver-binding-linux-arm64-gnu-1.12.2.tgz",- "integrity": "sha512-zJc0H99FEPoFfSrNpa91HYfxzfAJCr502oxNK1cfdC9hlaFI43RT+JFCann9JUgZmLzzntChHyn13Sgn9ljHNg==",- "cpu": [- "arm64"- ],- "dev": true,- "libc": [- "glibc"- ],- "license": "MIT",- "optional": true,- "os": [- "linux"- ]- },- "node_modules/@unrs/resolver-binding-linux-arm64-musl": {- "version": "1.12.2",- "resolved": "https://registry.npmjs.org/@unrs/resolver-binding-linux-arm64-musl/-/resolver-binding-linux-arm64-musl-1.12.2.tgz",- "integrity": "sha512-KQ3Lki6l+Pz1k/eBipN41ES+YUK30beLGb9YqcB1O542cyLCNE6GaxrfcY3T6EezmGGk84wb5XyO9loTM9tkcA==",- "cpu": [- "arm64"- ],- "dev": true,- "libc": [- "musl"- ],- "license": "MIT",- "optional": true,- "os": [- "linux"- ]- },- "node_modules/@unrs/resolver-binding-linux-loong64-gnu": {- "version": "1.12.2",- "resolved": "https://registry.npmjs.org/@unrs/resolver-binding-linux-loong64-gnu/-/resolver-binding-linux-loong64-gnu-1.12.2.tgz",- "integrity": "sha512-3SJGEh1DborhG6pyxvhPzCT4bbSIVihsvgJc13P1bHG7KLdNDaF9T3gsTwFc7Jw/5Y5/iWOjkEx7Zy0NvCGX3Q==",- "cpu": [- "loong64"- ],- "dev": true,- "libc": [- "glibc"- ],- "license": "MIT",- "optional": true,- "os": [- "linux"- ]- },- "node_modules/@unrs/resolver-binding-linux-loong64-musl": {- "version": "1.12.2",- "resolved": "https://registry.npmjs.org/@unrs/resolver-binding-linux-loong64-musl/-/resolver-binding-linux-loong64-musl-1.12.2.tgz",- "integrity": "sha512-jiuG/Obbel7uw1PwHNFfrkiKhLAF6mnyZ6aWlOAVN9WqKm8v0OFGnciJIHu8+CMvXLQ8AD51LPzAoUfT21D5Ew==",- "cpu": [- "loong64"- ],- "dev": true,- "libc": [- "musl"- ],- "license": "MIT",- "optional": true,- "os": [- "linux"- ]- },- "node_modules/@unrs/resolver-binding-linux-ppc64-gnu": {- "version": "1.12.2",- "resolved": "https://registry.npmjs.org/@unrs/resolver-binding-linux-ppc64-gnu/-/resolver-binding-linux-ppc64-gnu-1.12.2.tgz",- "integrity": "sha512-q7xRvVpmcfeL+LlZg8Pbbo6QaTZwDU5BaGZbwfhkEsXJn3Was8xYfE0RBH266xZt0rM6B7i8xAYIvjthuUIWHg==",- "cpu": [- "ppc64"- ],- "dev": true,- "libc": [- "glibc"- ],- "license": "MIT",- "optional": true,- "os": [- "linux"- ]- },- "node_modules/@unrs/resolver-binding-linux-riscv64-gnu": {- "version": "1.12.2",- "resolved": "https://registry.npmjs.org/@unrs/resolver-binding-linux-riscv64-gnu/-/resolver-binding-linux-riscv64-gnu-1.12.2.tgz",- "integrity": "sha512-0CVdx6lcnT3Q9inOH8tsMIOJ6ImndllMjqJHg8RLVdB7Vq4SfkEXl9mCSsVNuNA4MCYycRicCUxPCabVHJRr6A==",- "cpu": [- "riscv64"- ],- "dev": true,- "libc": [- "glibc"- ],- "license": "MIT",- "optional": true,- "os": [- "linux"- ]- },- "node_modules/@unrs/resolver-binding-linux-riscv64-musl": {- "version": "1.12.2",- "resolved": "https://registry.npmjs.org/@unrs/resolver-binding-linux-riscv64-musl/-/resolver-binding-linux-riscv64-musl-1.12.2.tgz",- "integrity": "sha512-iOwlRo9vnp6R6ohHQS11n0NnfdXx/omhkocmIfaPRpQhKZ+3BDMkkdRVh53qjkFkpPddf+FETA28NwGN7l5l+w==",- "cpu": [- "riscv64"- ],- "dev": true,- "libc": [- "musl"- ],- "license": "MIT",- "optional": true,- "os": [- "linux"- ]- },- "node_modules/@unrs/resolver-binding-linux-s390x-gnu": {- "version": "1.12.2",- "resolved": "https://registry.npmjs.org/@unrs/resolver-binding-linux-s390x-gnu/-/resolver-binding-linux-s390x-gnu-1.12.2.tgz",- "integrity": "sha512-HYJtLfXq94q8iZNFT1lknx258wlkkWhZeUXJRqzKBBUJ00CvZ+N33zgbCqimLjsyw5Va6uUxhVa12mI+kaveEw==",- "cpu": [- "s390x"- ],- "dev": true,- "libc": [- "glibc"- ],- "license": "MIT",- "optional": true,- "os": [- "linux"- ]- },- "node_modules/@unrs/resolver-binding-linux-x64-gnu": {- "version": "1.12.2",- "resolved": "https://registry.npmjs.org/@unrs/resolver-binding-linux-x64-gnu/-/resolver-binding-linux-x64-gnu-1.12.2.tgz",- "integrity": "sha512-mPsUhunKKDih5O96Y6enDQyHc1SqBPlY1E/SfMWDM3EdJ95Z9CArPeCVwCCqbP45ljvivdEk8Fxn+SIb1rDAJQ==",- "cpu": [- "x64"- ],- "dev": true,- "libc": [- "glibc"- ],- "license": "MIT",- "optional": true,- "os": [- "linux"- ]- },- "node_modules/@unrs/resolver-binding-linux-x64-musl": {- "version": "1.12.2",- "resolved": "https://registry.npmjs.org/@unrs/resolver-binding-linux-x64-musl/-/resolver-binding-linux-x64-musl-1.12.2.tgz",- "integrity": "sha512-azrt6+5ydLd8Vt210AAFis/lZevSfPw93EJRIJG+xPu4WCJ8K0kppCTpMyLPcKT7H15M4Jnt2tMp5bOvCkRC6A==",- "cpu": [- "x64"- ],- "dev": true,- "libc": [- "musl"- ],- "license": "MIT",- "optional": true,- "os": [- "linux"- ]- },- "node_modules/@unrs/resolver-binding-openharmony-arm64": {- "version": "1.12.2",- "resolved": "https://registry.npmjs.org/@unrs/resolver-binding-openharmony-arm64/-/resolver-binding-openharmony-arm64-1.12.2.tgz",- "integrity": "sha512-YZ9hP4O0X9PQb8eO980qmLNGH4zT3I9+SZTdt0Pr0YyuGQhYKoOZkV02VzrzyOZJ5xIJ3UFIenKkUkGg8GjgWQ==",- "cpu": [- "arm64"- ],- "dev": true,- "license": "MIT",- "optional": true,- "os": [- "openharmony"- ]- },- "node_modules/@unrs/resolver-binding-wasm32-wasi": {- "version": "1.12.2",- "resolved": "https://registry.npmjs.org/@unrs/resolver-binding-wasm32-wasi/-/resolver-binding-wasm32-wasi-1.12.2.tgz",- "integrity": "sha512-tYFDIkMxSflfEc/h92ZWNsZlHSwgimbNHSO3PL2JWQHfCuC2q316jMyYU9TIWZsFK2bQwyK5VAdYgn8ygPj69A==",- "cpu": [- "wasm32"- ],- "dev": true,- "license": "MIT",- "optional": true,- "dependencies": {- "@emnapi/core": "1.10.0",- "@emnapi/runtime": "1.10.0",- "@napi-rs/wasm-runtime": "^1.1.4"- },- "engines": {- "node": ">=14.0.0"- }- },- "node_modules/@unrs/resolver-binding-wasm32-wasi/node_modules/@emnapi/runtime": {- "version": "1.10.0",- "resolved": "https://registry.npmjs.org/@emnapi/runtime/-/runtime-1.10.0.tgz",- "integrity": "sha512-ewvYlk86xUoGI0zQRNq/mC+16R1QeDlKQy21Ki3oSYXNgLb45GV1P6A0M+/s6nyCuNDqe5VpaY84BzXGwVbwFA==",- "dev": true,- "license": "MIT",- "optional": true,- "dependencies": {- "tslib": "^2.4.0"- }- },- "node_modules/@unrs/resolver-binding-win32-arm64-msvc": {- "version": "1.12.2",- "resolved": "https://registry.npmjs.org/@unrs/resolver-binding-win32-arm64-msvc/-/resolver-binding-win32-arm64-msvc-1.12.2.tgz",- "integrity": "sha512-qzNyg3xL0VPQmCaUh+N5jSitce6k+uCBfMDesWRnlULOZaqUkaJ0ybdT+UqlAWJoQjuqfIU/0Ptx9bteN4D82g==",- "cpu": [- "arm64"- ],- "dev": true,- "license": "MIT",- "optional": true,- "os": [- "win32"- ]- },- "node_modules/@unrs/resolver-binding-win32-ia32-msvc": {- "version": "1.12.2",- "resolved": "https://registry.npmjs.org/@unrs/resolver-binding-win32-ia32-msvc/-/resolver-binding-win32-ia32-msvc-1.12.2.tgz",- "integrity": "sha512-WD9sY00OfpHVGfsnHZoA8jVT+esS/Bg8z8jzxp5BnDCjjwsuKsPQrzswwpFy4J1AUJbXPRfkpcX0mXrzeXW79g==",- "cpu": [- "ia32"- ],- "dev": true,- "license": "MIT",- "optional": true,- "os": [- "win32"- ]- },- "node_modules/@unrs/resolver-binding-win32-x64-msvc": {- "version": "1.12.2",- "resolved": "https://registry.npmjs.org/@unrs/resolver-binding-win32-x64-msvc/-/resolver-binding-win32-x64-msvc-1.12.2.tgz",- "integrity": "sha512-nAB74NfSNKknqQ1RrYj6uz8FcXEomu/MATJZxh/x+BArzN2U3JbOYC0APYzUIGhVY3m5hRxA8VPNdPBoG8txlA==",- "cpu": [- "x64"- ],- "dev": true,- "license": "MIT",- "optional": true,- "os": [- "win32"- ]- },- "node_modules/acorn": {- "version": "8.18.0",- "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.18.0.tgz",- "integrity": "sha512-lGq+9yr1/GuAWaVYIHRjvvySG5/4VfKIvC8EWxStPdcDh/Ka7FG3twP6v4d5BkravUilhIAsG4Qj83t02LWUPQ==",- "dev": true,- "license": "MIT",- "bin": {- "acorn": "bin/acorn"- },- "engines": {- "node": ">=0.4.0"- }- },- "node_modules/acorn-jsx": {- "version": "5.3.2",- "resolved": "https://registry.npmjs.org/acorn-jsx/-/acorn-jsx-5.3.2.tgz",- "integrity": "sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ==",- "dev": true,- "license": "MIT",- "peerDependencies": {- "acorn": "^6.0.0 || ^7.0.0 || ^8.0.0"- }- },- "node_modules/ajv": {- "version": "6.15.0",- "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.15.0.tgz",- "integrity": "sha512-fgFx7Hfoq60ytK2c7DhnF8jIvzYgOMxfugjLOSMHjLIPgenqa7S7oaagATUq99mV6IYvN2tRmC0wnTYX6iPbMw==",- "dev": true,- "license": "MIT",- "dependencies": {- "fast-deep-equal": "^3.1.1",- "fast-json-stable-stringify": "^2.0.0",- "json-schema-traverse": "^0.4.1",- "uri-js": "^4.2.2"- },- "funding": {- "type": "github",- "url": "https://github.com/sponsors/epoberezkin"- }- },- "node_modules/ansi-styles": {- "version": "4.3.0",- "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz",- "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==",- "dev": true,- "license": "MIT",- "dependencies": {- "color-convert": "^2.0.1"- },- "engines": {- "node": ">=8"- },- "funding": {- "url": "https://github.com/chalk/ansi-styles?sponsor=1"- }- },- "node_modules/argparse": {- "version": "2.0.1",- "resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz",- "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==",- "dev": true,- "license": "Python-2.0"- },- "node_modules/aria-query": {- "version": "5.3.2",- "resolved": "https://registry.npmjs.org/aria-query/-/aria-query-5.3.2.tgz",- "integrity": "sha512-COROpnaoap1E2F000S62r6A60uHZnmlvomhfyT2DlTcrY1OrBKn2UhH7qn5wTC9zMvD0AY7csdPSNwKP+7WiQw==",- "dev": true,- "license": "Apache-2.0",- "engines": {- "node": ">= 0.4"- }- },- "node_modules/array-buffer-byte-length": {- "version": "1.0.2",- "resolved": "https://registry.npmjs.org/array-buffer-byte-length/-/array-buffer-byte-length-1.0.2.tgz",- "integrity": "sha512-LHE+8BuR7RYGDKvnrmcuSq3tDcKv9OFEXQt/HpbZhY7V6h0zlUXutnAD82GiFx9rdieCMjkvtcsPqBwgUl1Iiw==",- "dev": true,- "license": "MIT",- "dependencies": {- "call-bound": "^1.0.3",- "is-array-buffer": "^3.0.5"- },- "engines": {- "node": ">= 0.4"- },- "funding": {- "url": "https://github.com/sponsors/ljharb"- }- },- "node_modules/array-includes": {- "version": "3.2.0",- "resolved": "https://registry.npmjs.org/array-includes/-/array-includes-3.2.0.tgz",- "integrity": "sha512-VXY5eFRarnXcYxwBjJzPmEhH55+rmP79/+ueDhi0F+TuqfHCItagIHqxeUZrmgrOPa31QTh9H85DjX3FfJ0FTg==",- "dev": true,- "license": "MIT",- "dependencies": {- "call-bind": "^1.0.9",- "call-bound": "^1.0.4",- "define-properties": "^1.2.1",- "es-abstract": "^1.24.2",- "es-object-atoms": "^1.1.2",- "es-shim-unscopables": "^1.1.0",- "is-string": "^1.1.1",- "math-intrinsics": "^1.1.0"- },- "engines": {- "node": ">= 0.4"- },- "funding": {- "url": "https://github.com/sponsors/ljharb"- }- },- "node_modules/array.prototype.findlast": {- "version": "1.2.5",- "resolved": "https://registry.npmjs.org/array.prototype.findlast/-/array.prototype.findlast-1.2.5.tgz",- "integrity": "sha512-CVvd6FHg1Z3POpBLxO6E6zr+rSKEQ9L6rZHAaY7lLfhKsWYUBBOuMs0e9o24oopj6H+geRCX0YJ+TJLBK2eHyQ==",- "dev": true,- "license": "MIT",- "dependencies": {- "call-bind": "^1.0.7",- "define-properties": "^1.2.1",- "es-abstract": "^1.23.2",- "es-errors": "^1.3.0",- "es-object-atoms": "^1.0.0",- "es-shim-unscopables": "^1.0.2"- },- "engines": {- "node": ">= 0.4"- },- "funding": {- "url": "https://github.com/sponsors/ljharb"- }- },- "node_modules/array.prototype.findlastindex": {- "version": "1.2.6",- "resolved": "https://registry.npmjs.org/array.prototype.findlastindex/-/array.prototype.findlastindex-1.2.6.tgz",- "integrity": "sha512-F/TKATkzseUExPlfvmwQKGITM3DGTK+vkAsCZoDc5daVygbJBnjEUCbgkAvVFsgfXfX4YIqZ/27G3k3tdXrTxQ==",- "dev": true,- "license": "MIT",- "dependencies": {- "call-bind": "^1.0.8",- "call-bound": "^1.0.4",- "define-properties": "^1.2.1",- "es-abstract": "^1.23.9",- "es-errors": "^1.3.0",- "es-object-atoms": "^1.1.1",- "es-shim-unscopables": "^1.1.0"- },- "engines": {- "node": ">= 0.4"- },- "funding": {- "url": "https://github.com/sponsors/ljharb"- }- },- "node_modules/array.prototype.flat": {- "version": "1.3.3",- "resolved": "https://registry.npmjs.org/array.prototype.flat/-/array.prototype.flat-1.3.3.tgz",- "integrity": "sha512-rwG/ja1neyLqCuGZ5YYrznA62D4mZXg0i1cIskIUKSiqF3Cje9/wXAls9B9s1Wa2fomMsIv8czB8jZcPmxCXFg==",- "dev": true,- "license": "MIT",- "dependencies": {- "call-bind": "^1.0.8",- "define-properties": "^1.2.1",- "es-abstract": "^1.23.5",- "es-shim-unscopables": "^1.0.2"- },- "engines": {- "node": ">= 0.4"- },- "funding": {- "url": "https://github.com/sponsors/ljharb"- }- },- "node_modules/array.prototype.flatmap": {- "version": "1.3.3",- "resolved": "https://registry.npmjs.org/array.prototype.flatmap/-/array.prototype.flatmap-1.3.3.tgz",- "integrity": "sha512-Y7Wt51eKJSyi80hFrJCePGGNo5ktJCslFuboqJsbf57CCPcm5zztluPlc4/aD8sWsKvlwatezpV4U1efk8kpjg==",- "dev": true,- "license": "MIT",- "dependencies": {- "call-bind": "^1.0.8",- "define-properties": "^1.2.1",- "es-abstract": "^1.23.5",- "es-shim-unscopables": "^1.0.2"- },- "engines": {- "node": ">= 0.4"- },- "funding": {- "url": "https://github.com/sponsors/ljharb"- }- },- "node_modules/array.prototype.tosorted": {- "version": "1.1.4",- "resolved": "https://registry.npmjs.org/array.prototype.tosorted/-/array.prototype.tosorted-1.1.4.tgz",- "integrity": "sha512-p6Fx8B7b7ZhL/gmUsAy0D15WhvDccw3mnGNbZpi3pmeJdxtWsj2jEaI4Y6oo3XiHfzuSgPwKc04MYt6KgvC/wA==",- "dev": true,- "license": "MIT",- "dependencies": {- "call-bind": "^1.0.7",- "define-properties": "^1.2.1",- "es-abstract": "^1.23.3",- "es-errors": "^1.3.0",- "es-shim-unscopables": "^1.0.2"- },- "engines": {- "node": ">= 0.4"- }- },- "node_modules/arraybuffer.prototype.slice": {- "version": "1.0.4",- "resolved": "https://registry.npmjs.org/arraybuffer.prototype.slice/-/arraybuffer.prototype.slice-1.0.4.tgz",- "integrity": "sha512-BNoCY6SXXPQ7gF2opIP4GBE+Xw7U+pHMYKuzjgCN3GwiaIR09UUeKfheyIry77QtrCBlC0KK0q5/TER/tYh3PQ==",- "dev": true,- "license": "MIT",- "dependencies": {- "array-buffer-byte-length": "^1.0.1",- "call-bind": "^1.0.8",- "define-properties": "^1.2.1",- "es-abstract": "^1.23.5",- "es-errors": "^1.3.0",- "get-intrinsic": "^1.2.6",- "is-array-buffer": "^3.0.4"- },- "engines": {- "node": ">= 0.4"- },- "funding": {- "url": "https://github.com/sponsors/ljharb"- }- },- "node_modules/ast-types-flow": {- "version": "0.0.8",- "resolved": "https://registry.npmjs.org/ast-types-flow/-/ast-types-flow-0.0.8.tgz",- "integrity": "sha512-OH/2E5Fg20h2aPrbe+QL8JZQFko0YZaF+j4mnQ7BGhfavO7OpSLa8a0y9sBwomHdSbkhTS8TQNayBfnW5DwbvQ==",- "dev": true,- "license": "MIT"- },- "node_modules/async-function": {- "version": "1.0.0",- "resolved": "https://registry.npmjs.org/async-function/-/async-function-1.0.0.tgz",- "integrity": "sha512-hsU18Ae8CDTR6Kgu9DYf0EbCr/a5iGL0rytQDobUcdpYOKokk8LEjVphnXkDkgpi0wYVsqrXuP0bZxJaTqdgoA==",- "dev": true,- "license": "MIT",- "engines": {- "node": ">= 0.4"- }- },- "node_modules/available-typed-arrays": {- "version": "1.0.7",- "resolved": "https://registry.npmjs.org/available-typed-arrays/-/available-typed-arrays-1.0.7.tgz",- "integrity": "sha512-wvUjBtSGN7+7SjNpq/9M2Tg350UZD3q62IFZLbRAR1bSMlCo1ZaeW+BJ+D090e4hIIZLBcTDWe4Mh4jvUDajzQ==",- "dev": true,- "license": "MIT",- "dependencies": {- "possible-typed-array-names": "^1.0.0"- },- "engines": {- "node": ">= 0.4"- },- "funding": {- "url": "https://github.com/sponsors/ljharb"- }- },- "node_modules/axe-core": {- "version": "4.13.0",- "resolved": "https://registry.npmjs.org/axe-core/-/axe-core-4.13.0.tgz",- "integrity": "sha512-UzGt8zg7Ny8djbYMhxl2zuEevVa7r2gJjYY5Lwr1xM7+XU2nd6CkIWFTVcCIbAP63vSz71NaVyyuSk9lHKcy0A==",- "dev": true,- "license": "MPL-2.0",- "engines": {- "node": ">=4"- }- },- "node_modules/axobject-query": {- "version": "4.1.0",- "resolved": "https://registry.npmjs.org/axobject-query/-/axobject-query-4.1.0.tgz",- "integrity": "sha512-qIj0G9wZbMGNLjLmg1PT6v2mE9AH2zlnADJD/2tC6E00hgmhUOfEB6greHPAfLRSufHqROIUTkw6E+M3lH0PTQ==",- "dev": true,- "license": "Apache-2.0",- "engines": {- "node": ">= 0.4"- }- },- "node_modules/bail": {- "version": "2.0.2",- "resolved": "https://registry.npmjs.org/bail/-/bail-2.0.2.tgz",- "integrity": "sha512-0xO6mYd7JB2YesxDKplafRpsiOzPt9V02ddPCLbY1xYGPOX24NTyN50qnUxgCPcSoYMhKpAuBTjQoRZCAkUDRw==",- "license": "MIT",- "funding": {- "type": "github",- "url": "https://github.com/sponsors/wooorm"- }- },- "node_modules/balanced-match": {- "version": "1.0.2",- "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz",- "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==",- "dev": true,- "license": "MIT"- },- "node_modules/baseline-browser-mapping": {- "version": "2.11.27",- "resolved": "https://registry.npmjs.org/baseline-browser-mapping/-/baseline-browser-mapping-2.11.27.tgz",- "integrity": "sha512-ElY12DaROGuan+lMmZ8Cvo/ZUbXPe7Enc/9VU/b1T3Kp4dwytRcNdR8DoSJN5SNJT/CuvcCA0DHDVmMOCePdRQ==",- "license": "Apache-2.0",- "bin": {- "baseline-browser-mapping": "dist/cli.cjs"- },- "engines": {- "node": ">=6.0.0"- }- },- "node_modules/brace-expansion": {- "version": "1.1.21",- "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.21.tgz",- "integrity": "sha512-9zeA+KLZNNzglF2TPKRQEDyx6Yby7daAkuy8MiPzpXPsYDWi/DRM8jmwUDxokQjYqBpv5DgPiwD4h4ZZSy1Ujw==",- "dev": true,- "license": "MIT",- "dependencies": {- "balanced-match": "^1.0.0",- "concat-map": "0.0.1"- }- },- "node_modules/braces": {- "version": "3.0.3",- "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.3.tgz",- "integrity": "sha512-yQbXgO/OSZVD2IsiLlro+7Hf6Q18EJrKSEsdoMzKePKXct3gvD8oLcOQdIzGupr5Fj+EDe8gO/lxc1BzfMpxvA==",- "dev": true,- "license": "MIT",- "dependencies": {- "fill-range": "^7.1.1"- },- "engines": {- "node": ">=8"- }- },- "node_modules/browserslist": {- "version": "4.29.3",- "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.29.3.tgz",- "integrity": "sha512-1R4kiYKXGViqEN0CnoDrXc1StD9niAwu+j2dukWzrD4bJgsD4lDmEp0CRbc6E/vYJIfTHwPmwyaKtVSudICdPA==",- "dev": true,- "funding": [- {- "type": "opencollective",- "url": "https://opencollective.com/browserslist"- },- {- "type": "tidelift",- "url": "https://tidelift.com/funding/github/npm/browserslist"- },- {- "type": "github",- "url": "https://github.com/sponsors/ai"- }- ],- "license": "MIT",- "dependencies": {- "baseline-browser-mapping": "^2.11.26",- "caniuse-lite": "^1.0.30001813",- "electron-to-chromium": "^1.5.439",- "node-releases": "^2.0.57",- "update-browserslist-db": "^1.3.3"- },- "bin": {- "browserslist": "cli.js"- },- "engines": {- "node": "^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7"- }- },- "node_modules/call-bind": {- "version": "1.0.9",- "resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.9.tgz",- "integrity": "sha512-a/hy+pNsFUTR+Iz8TCJvXudKVLAnz/DyeSUo10I5yvFDQJBFU2s9uqQpoSrJlroHUKoKqzg+epxyP9lqFdzfBQ==",- "dev": true,- "license": "MIT",- "dependencies": {- "call-bind-apply-helpers": "^1.0.2",- "es-define-property": "^1.0.1",- "get-intrinsic": "^1.3.0",- "set-function-length": "^1.2.2"- },- "engines": {- "node": ">= 0.4"- },- "funding": {- "url": "https://github.com/sponsors/ljharb"- }- },- "node_modules/call-bind-apply-helpers": {- "version": "1.0.2",- "resolved": "https://registry.npmjs.org/call-bind-apply-helpers/-/call-bind-apply-helpers-1.0.2.tgz",- "integrity": "sha512-Sp1ablJ0ivDkSzjcaJdxEunN5/XvksFJ2sMBFfq6x0ryhQV/2b/KwFe21cMpmHtPOSij8K99/wSfoEuTObmuMQ==",- "dev": true,- "license": "MIT",- "dependencies": {- "es-errors": "^1.3.0",- "function-bind": "^1.1.2"- },- "engines": {- "node": ">= 0.4"- }- },- "node_modules/call-bound": {- "version": "1.0.4",- "resolved": "https://registry.npmjs.org/call-bound/-/call-bound-1.0.4.tgz",- "integrity": "sha512-+ys997U96po4Kx/ABpBCqhA9EuxJaQWDQg7295H4hBphv3IZg0boBKuwYpt4YXp6MZ5AmZQnU/tyMTlRpaSejg==",- "dev": true,- "license": "MIT",- "dependencies": {- "call-bind-apply-helpers": "^1.0.2",- "get-intrinsic": "^1.3.0"- },- "engines": {- "node": ">= 0.4"- },- "funding": {- "url": "https://github.com/sponsors/ljharb"- }- },- "node_modules/callsites": {- "version": "3.1.0",- "resolved": "https://registry.npmjs.org/callsites/-/callsites-3.1.0.tgz",- "integrity": "sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==",- "dev": true,- "license": "MIT",- "engines": {- "node": ">=6"- }- },- "node_modules/caniuse-lite": {- "version": "1.0.30001814",- "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001814.tgz",- "integrity": "sha512-/Uaf1lAzr59XcMpW0o96WoEfr+VXK2OX4U9AgFoiSHsVJ4HppnIFUjtYzsyDH2+tgANaQb2/oxYGwCPapN1FpA==",- "funding": [- {- "type": "opencollective",- "url": "https://opencollective.com/browserslist"- },- {- "type": "tidelift",- "url": "https://tidelift.com/funding/github/npm/caniuse-lite"- },- {- "type": "github",- "url": "https://github.com/sponsors/ai"- }- ],- "license": "CC-BY-4.0"- },- "node_modules/ccount": {- "version": "2.0.1",- "resolved": "https://registry.npmjs.org/ccount/-/ccount-2.0.1.tgz",- "integrity": "sha512-eyrF0jiFpY+3drT6383f1qhkbGsLSifNAjA61IUjZjmLCWjItY6LB9ft9YhoDgwfmclB2zhu51Lc7+95b8NRAg==",- "license": "MIT",- "funding": {- "type": "github",- "url": "https://github.com/sponsors/wooorm"- }- },- "node_modules/chalk": {- "version": "4.1.2",- "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz",- "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==",- "dev": true,- "license": "MIT",- "dependencies": {- "ansi-styles": "^4.1.0",- "supports-color": "^7.1.0"- },- "engines": {- "node": ">=10"- },- "funding": {- "url": "https://github.com/chalk/chalk?sponsor=1"- }- },- "node_modules/character-entities": {- "version": "2.0.2",- "resolved": "https://registry.npmjs.org/character-entities/-/character-entities-2.0.2.tgz",- "integrity": "sha512-shx7oQ0Awen/BRIdkjkvz54PnEEI/EjwXDSIZp86/KKdbafHh1Df/RYGBhn4hbe2+uKC9FnT5UCEdyPz3ai9hQ==",- "license": "MIT",- "funding": {- "type": "github",- "url": "https://github.com/sponsors/wooorm"- }- },- "node_modules/character-entities-html4": {- "version": "2.1.0",- "resolved": "https://registry.npmjs.org/character-entities-html4/-/character-entities-html4-2.1.0.tgz",- "integrity": "sha512-1v7fgQRj6hnSwFpq1Eu0ynr/CDEw0rXo2B61qXrLNdHZmPKgb7fqS1a2JwF0rISo9q77jDI8VMEHoApn8qDoZA==",- "license": "MIT",- "funding": {- "type": "github",- "url": "https://github.com/sponsors/wooorm"- }- },- "node_modules/character-entities-legacy": {- "version": "3.0.0",- "resolved": "https://registry.npmjs.org/character-entities-legacy/-/character-entities-legacy-3.0.0.tgz",- "integrity": "sha512-RpPp0asT/6ufRm//AJVwpViZbGM/MkjQFxJccQRHmISF/22NBtsHqAWmL+/pmkPWoIUJdWyeVleTl1wydHATVQ==",- "license": "MIT",- "funding": {- "type": "github",- "url": "https://github.com/sponsors/wooorm"- }- },- "node_modules/character-reference-invalid": {- "version": "2.0.1",- "resolved": "https://registry.npmjs.org/character-reference-invalid/-/character-reference-invalid-2.0.1.tgz",- "integrity": "sha512-iBZ4F4wRbyORVsu0jPV7gXkOsGYjGHPmAyv+HiHG8gi5PtC9KI2j1+v8/tlibRvjoWX027ypmG/n0HtO5t7unw==",- "license": "MIT",- "funding": {- "type": "github",- "url": "https://github.com/sponsors/wooorm"- }- },- "node_modules/client-only": {- "version": "0.0.1",- "resolved": "https://registry.npmjs.org/client-only/-/client-only-0.0.1.tgz",- "integrity": "sha512-IV3Ou0jSMzZrd3pZ48nLkT9DA7Ag1pnPzaiQhpW7c3RbcqqzvzzVu+L8gfqMp/8IM2MQtSiqaCxrrcfu8I8rMA==",- "license": "MIT"- },- "node_modules/color-convert": {- "version": "2.0.1",- "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz",- "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==",- "dev": true,- "license": "MIT",- "dependencies": {- "color-name": "~1.1.4"- },- "engines": {- "node": ">=7.0.0"- }- },- "node_modules/color-name": {- "version": "1.1.4",- "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz",- "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==",- "dev": true,- "license": "MIT"- },- "node_modules/comma-separated-tokens": {- "version": "2.0.3",- "resolved": "https://registry.npmjs.org/comma-separated-tokens/-/comma-separated-tokens-2.0.3.tgz",- "integrity": "sha512-Fu4hJdvzeylCfQPp9SGWidpzrMs7tTrlu6Vb8XGaRGck8QSNZJJp538Wrb60Lax4fPwR64ViY468OIUTbRlGZg==",- "license": "MIT",- "funding": {- "type": "github",- "url": "https://github.com/sponsors/wooorm"- }- },- "node_modules/concat-map": {- "version": "0.0.1",- "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz",- "integrity": "sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==",- "dev": true,- "license": "MIT"- },- "node_modules/convert-source-map": {- "version": "2.0.0",- "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-2.0.0.tgz",- "integrity": "sha512-Kvp459HrV2FEJ1CAsi1Ku+MY3kasH19TFykTz2xWmMeq6bk2NU3XXvfJ+Q61m0xktWwt+1HSYf3JZsTms3aRJg==",- "dev": true,- "license": "MIT"- },- "node_modules/cross-spawn": {- "version": "7.0.6",- "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.6.tgz",- "integrity": "sha512-uV2QOWP2nWzsy2aMp8aRibhi9dlzF5Hgh5SHaB9OiTGEyDTiJJyx0uy51QXdyWbtAHNua4XJzUKca3OzKUd3vA==",- "dev": true,- "license": "MIT",- "dependencies": {- "path-key": "^3.1.0",- "shebang-command": "^2.0.0",- "which": "^2.0.1"- },- "engines": {- "node": ">= 8"- }- },- "node_modules/csstype": {- "version": "3.2.3",- "resolved": "https://registry.npmjs.org/csstype/-/csstype-3.2.3.tgz",- "integrity": "sha512-z1HGKcYy2xA8AGQfwrn0PAy+PB7X/GSj3UVJW9qKyn43xWa+gl5nXmU4qqLMRzWVLFC8KusUX8T/0kCiOYpAIQ==",- "license": "MIT",- "peer": true- },- "node_modules/damerau-levenshtein": {- "version": "1.0.8",- "resolved": "https://registry.npmjs.org/damerau-levenshtein/-/damerau-levenshtein-1.0.8.tgz",- "integrity": "sha512-sdQSFB7+llfUcQHUQO3+B8ERRj0Oa4w9POWMI/puGtuf7gFywGmkaLCElnudfTiKZV+NvHqL0ifzdrI8Ro7ESA==",- "dev": true,- "license": "BSD-2-Clause"- },- "node_modules/data-view-buffer": {- "version": "1.0.2",- "resolved": "https://registry.npmjs.org/data-view-buffer/-/data-view-buffer-1.0.2.tgz",- "integrity": "sha512-EmKO5V3OLXh1rtK2wgXRansaK1/mtVdTUEiEI0W8RkvgT05kfxaH29PliLnpLP73yYO6142Q72QNa8Wx/A5CqQ==",- "dev": true,- "license": "MIT",- "dependencies": {- "call-bound": "^1.0.3",- "es-errors": "^1.3.0",- "is-data-view": "^1.0.2"- },- "engines": {- "node": ">= 0.4"- },- "funding": {- "url": "https://github.com/sponsors/ljharb"- }- },- "node_modules/data-view-byte-length": {- "version": "1.0.2",- "resolved": "https://registry.npmjs.org/data-view-byte-length/-/data-view-byte-length-1.0.2.tgz",- "integrity": "sha512-tuhGbE6CfTM9+5ANGf+oQb72Ky/0+s3xKUpHvShfiz2RxMFgFPjsXuRLBVMtvMs15awe45SRb83D6wH4ew6wlQ==",- "dev": true,- "license": "MIT",- "dependencies": {- "call-bound": "^1.0.3",- "es-errors": "^1.3.0",- "is-data-view": "^1.0.2"- },- "engines": {- "node": ">= 0.4"- },- "funding": {- "url": "https://github.com/sponsors/inspect-js"- }- },- "node_modules/data-view-byte-offset": {- "version": "1.0.1",- "resolved": "https://registry.npmjs.org/data-view-byte-offset/-/data-view-byte-offset-1.0.1.tgz",- "integrity": "sha512-BS8PfmtDGnrgYdOonGZQdLZslWIeCGFP9tpan0hi1Co2Zr2NKADsvGYA8XxuG/4UWgJ6Cjtv+YJnB6MM69QGlQ==",- "dev": true,- "license": "MIT",- "dependencies": {- "call-bound": "^1.0.2",- "es-errors": "^1.3.0",- "is-data-view": "^1.0.1"- },- "engines": {- "node": ">= 0.4"- },- "funding": {- "url": "https://github.com/sponsors/ljharb"- }- },- "node_modules/debug": {- "version": "4.4.3",- "resolved": "https://registry.npmjs.org/debug/-/debug-4.4.3.tgz",- "integrity": "sha512-RGwwWnwQvkVfavKVt22FGLw+xYSdzARwm0ru6DhTVA3umU5hZc28V3kO4stgYryrTlLpuvgI9GiijltAjNbcqA==",- "license": "MIT",- "dependencies": {- "ms": "^2.1.3"- },- "engines": {- "node": ">=6.0"- },- "peerDependenciesMeta": {- "supports-color": {- "optional": true- }- }- },- "node_modules/decode-named-character-reference": {- "version": "1.3.0",- "resolved": "https://registry.npmjs.org/decode-named-character-reference/-/decode-named-character-reference-1.3.0.tgz",- "integrity": "sha512-GtpQYB283KrPp6nRw50q3U9/VfOutZOe103qlN7BPP6Ad27xYnOIWv4lPzo8HCAL+mMZofJ9KEy30fq6MfaK6Q==",- "license": "MIT",- "dependencies": {- "character-entities": "^2.0.0"- },- "funding": {- "type": "github",- "url": "https://github.com/sponsors/wooorm"- }- },- "node_modules/deep-is": {- "version": "0.1.4",- "resolved": "https://registry.npmjs.org/deep-is/-/deep-is-0.1.4.tgz",- "integrity": "sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ==",- "dev": true,- "license": "MIT"- },- "node_modules/define-data-property": {- "version": "1.1.4",- "resolved": "https://registry.npmjs.org/define-data-property/-/define-data-property-1.1.4.tgz",- "integrity": "sha512-rBMvIzlpA8v6E+SJZoo++HAYqsLrkg7MSfIinMPFhmkorw7X+dOXVJQs+QT69zGkzMyfDnIMN2Wid1+NbL3T+A==",- "dev": true,- "license": "MIT",- "dependencies": {- "es-define-property": "^1.0.0",- "es-errors": "^1.3.0",- "gopd": "^1.0.1"- },- "engines": {- "node": ">= 0.4"- },- "funding": {- "url": "https://github.com/sponsors/ljharb"- }- },- "node_modules/define-properties": {- "version": "1.2.1",- "resolved": "https://registry.npmjs.org/define-properties/-/define-properties-1.2.1.tgz",- "integrity": "sha512-8QmQKqEASLd5nx0U1B1okLElbUuuttJ/AnYmRXbbbGDWh6uS208EjD4Xqq/I9wK7u0v6O08XhTWnt5XtEbR6Dg==",- "dev": true,- "license": "MIT",- "dependencies": {- "define-data-property": "^1.0.1",- "has-property-descriptors": "^1.0.0",- "object-keys": "^1.1.1"- },- "engines": {- "node": ">= 0.4"- },- "funding": {- "url": "https://github.com/sponsors/ljharb"- }- },- "node_modules/dequal": {- "version": "2.0.3",- "resolved": "https://registry.npmjs.org/dequal/-/dequal-2.0.3.tgz",- "integrity": "sha512-0je+qPKHEMohvfRTCEo3CrPG6cAzAYgmzKyxRiYSSDkS6eGJdyVJm7WaYA5ECaAD9wLB2T4EEeymA5aFVcYXCA==",- "license": "MIT",- "engines": {- "node": ">=6"- }- },- "node_modules/detect-libc": {- "version": "2.1.2",- "resolved": "https://registry.npmjs.org/detect-libc/-/detect-libc-2.1.2.tgz",- "integrity": "sha512-Btj2BOOO83o3WyH59e8MgXsxEQVcarkUOpEYrubB0urwnN10yQ364rsiByU11nZlqWYZm05i/of7io4mzihBtQ==",- "devOptional": true,- "license": "Apache-2.0",- "engines": {- "node": ">=8"- }- },- "node_modules/devlop": {- "version": "1.1.0",- "resolved": "https://registry.npmjs.org/devlop/-/devlop-1.1.0.tgz",- "integrity": "sha512-RWmIqhcFf1lRYBvNmr7qTNuyCt/7/ns2jbpp1+PalgE/rDQcBT0fioSMUpJ93irlUhC5hrg4cYqe6U+0ImW0rA==",- "license": "MIT",- "dependencies": {- "dequal": "^2.0.0"- },- "funding": {- "type": "github",- "url": "https://github.com/sponsors/wooorm"- }- },- "node_modules/doctrine": {- "version": "2.1.0",- "resolved": "https://registry.npmjs.org/doctrine/-/doctrine-2.1.0.tgz",- "integrity": "sha512-35mSku4ZXK0vfCuHEDAwt55dg2jNajHZ1odvF+8SSr82EsZY4QmXfuWso8oEd8zRhVObSN18aM0CjSdoBX7zIw==",- "dev": true,- "license": "Apache-2.0",- "dependencies": {- "esutils": "^2.0.2"- },- "engines": {- "node": ">=0.10.0"- }- },- "node_modules/dunder-proto": {- "version": "1.0.1",- "resolved": "https://registry.npmjs.org/dunder-proto/-/dunder-proto-1.0.1.tgz",- "integrity": "sha512-KIN/nDJBQRcXw0MLVhZE9iQHmG68qAVIBg9CqmUYjmQIhgij9U5MFvrqkUL5FbtyyzZuOeOt0zdeRe4UY7ct+A==",- "dev": true,- "license": "MIT",- "dependencies": {- "call-bind-apply-helpers": "^1.0.1",- "es-errors": "^1.3.0",- "gopd": "^1.2.0"- },- "engines": {- "node": ">= 0.4"- }- },- "node_modules/electron-to-chromium": {- "version": "1.5.444",- "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.444.tgz",- "integrity": "sha512-5ss/uJfoDYDHT0lfJzT6FbcskIzROIOPf0BbbFkGcvDzoJU7i//9GDrwwIHQVmIsrAGiF3ihpADBRIsrEFt1rQ==",- "dev": true,- "license": "ISC"- },- "node_modules/emoji-regex": {- "version": "9.2.2",- "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-9.2.2.tgz",- "integrity": "sha512-L18DaJsXSUk2+42pv8mLs5jJT2hqFkFE4j21wOmgbUqsZ2hL72NsUU785g9RXgo3s0ZNgVl42TiHp3ZtOv/Vyg==",- "dev": true,- "license": "MIT"- },- "node_modules/enhanced-resolve": {- "version": "5.26.0",- "resolved": "https://registry.npmjs.org/enhanced-resolve/-/enhanced-resolve-5.26.0.tgz",- "integrity": "sha512-9vhedylFonb2YGogzUKX6+Ja72gOJbN1QHAqdrvqLwhdl/QWbKopzoUC9EbQNVsAns/bx/4uyqalrQAoy1IByw==",- "dev": true,- "license": "MIT",- "dependencies": {- "graceful-fs": "^4.2.4",- "tapable": "^2.3.3"- },- "engines": {- "node": ">=10.13.0"- }- },- "node_modules/es-abstract": {- "version": "1.24.2",- "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.24.2.tgz",- "integrity": "sha512-2FpH9Q5i2RRwyEP1AylXe6nYLR5OhaJTZwmlcP0dL/+JCbgg7yyEo/sEK6HeGZRf3dFpWwThaRHVApXSkW3xeg==",- "dev": true,- "license": "MIT",- "dependencies": {- "array-buffer-byte-length": "^1.0.2",- "arraybuffer.prototype.slice": "^1.0.4",- "available-typed-arrays": "^1.0.7",- "call-bind": "^1.0.8",- "call-bound": "^1.0.4",- "data-view-buffer": "^1.0.2",- "data-view-byte-length": "^1.0.2",- "data-view-byte-offset": "^1.0.1",- "es-define-property": "^1.0.1",- "es-errors": "^1.3.0",- "es-object-atoms": "^1.1.1",- "es-set-tostringtag": "^2.1.0",- "es-to-primitive": "^1.3.0",- "function.prototype.name": "^1.1.8",- "get-intrinsic": "^1.3.0",- "get-proto": "^1.0.1",- "get-symbol-description": "^1.1.0",- "globalthis": "^1.0.4",- "gopd": "^1.2.0",- "has-property-descriptors": "^1.0.2",- "has-proto": "^1.2.0",- "has-symbols": "^1.1.0",- "hasown": "^2.0.2",- "internal-slot": "^1.1.0",- "is-array-buffer": "^3.0.5",- "is-callable": "^1.2.7",- "is-data-view": "^1.0.2",- "is-negative-zero": "^2.0.3",- "is-regex": "^1.2.1",- "is-set": "^2.0.3",- "is-shared-array-buffer": "^1.0.4",- "is-string": "^1.1.1",- "is-typed-array": "^1.1.15",- "is-weakref": "^1.1.1",- "math-intrinsics": "^1.1.0",- "object-inspect": "^1.13.4",- "object-keys": "^1.1.1",- "object.assign": "^4.1.7",- "own-keys": "^1.0.1",- "regexp.prototype.flags": "^1.5.4",- "safe-array-concat": "^1.1.3",- "safe-push-apply": "^1.0.0",- "safe-regex-test": "^1.1.0",- "set-proto": "^1.0.0",- "stop-iteration-iterator": "^1.1.0",- "string.prototype.trim": "^1.2.10",- "string.prototype.trimend": "^1.0.9",- "string.prototype.trimstart": "^1.0.8",- "typed-array-buffer": "^1.0.3",- "typed-array-byte-length": "^1.0.3",- "typed-array-byte-offset": "^1.0.4",- "typed-array-length": "^1.0.7",- "unbox-primitive": "^1.1.0",- "which-typed-array": "^1.1.19"- },- "engines": {- "node": ">= 0.4"- },- "funding": {- "url": "https://github.com/sponsors/ljharb"- }- },- "node_modules/es-abstract-get": {- "version": "1.0.0",- "resolved": "https://registry.npmjs.org/es-abstract-get/-/es-abstract-get-1.0.0.tgz",- "integrity": "sha512-6PMWXpdhshVvFp+FoWYs1EvG1Nj0tvk0dZM+XcK0xMEM1czRVcP6ohqPWHy6qPagSpC8j4+p89WXlT+xXJs/fg==",- "dev": true,- "license": "MIT",- "dependencies": {- "es-errors": "^1.3.0",- "es-object-atoms": "^1.1.2",- "is-callable": "^1.2.7",- "object-inspect": "^1.13.4"- },- "engines": {- "node": ">= 0.4"- },- "funding": {- "url": "https://github.com/sponsors/ljharb"- }- },- "node_modules/es-define-property": {- "version": "1.0.1",- "resolved": "https://registry.npmjs.org/es-define-property/-/es-define-property-1.0.1.tgz",- "integrity": "sha512-e3nRfgfUZ4rNGL232gUgX06QNyyez04KdjFrF+LTRoOXmrOgFKDg4BCdsjW8EnT69eqdYGmRpJwiPVYNrCaW3g==",- "dev": true,- "license": "MIT",- "engines": {- "node": ">= 0.4"- }- },- "node_modules/es-errors": {- "version": "1.3.0",- "resolved": "https://registry.npmjs.org/es-errors/-/es-errors-1.3.0.tgz",- "integrity": "sha512-Zf5H2Kxt2xjTvbJvP2ZWLEICxA6j+hAmMzIlypy4xcBg1vKVnx89Wy0GbS+kf5cwCVFFzdCFh2XSCFNULS6csw==",- "dev": true,- "license": "MIT",- "engines": {- "node": ">= 0.4"- }- },- "node_modules/es-iterator-helpers": {- "version": "1.4.0",- "resolved": "https://registry.npmjs.org/es-iterator-helpers/-/es-iterator-helpers-1.4.0.tgz",- "integrity": "sha512-c/A0P0oxkACDc+cKWw8evLXK83oBKgn0qPOqCYT4x9uolpCIJAcYvJC9QYKNDRPsTeGyCrQ326jrvgZWdCdK5Q==",- "dev": true,- "license": "MIT",- "dependencies": {- "call-bind": "^1.0.9",- "call-bound": "^1.0.4",- "define-properties": "^1.2.1",- "es-abstract": "^1.24.2",- "es-errors": "^1.3.0",- "es-set-tostringtag": "^2.1.0",- "function-bind": "^1.1.2",- "get-intrinsic": "^1.3.0",- "globalthis": "^1.0.4",- "gopd": "^1.2.0",- "has-property-descriptors": "^1.0.2",- "has-proto": "^1.2.0",- "has-symbols": "^1.1.0",- "internal-slot": "^1.1.0",- "iterator.prototype": "^1.1.5",- "math-intrinsics": "^1.1.0"- },- "engines": {- "node": ">= 0.4"- }- },- "node_modules/es-object-atoms": {- "version": "1.1.2",- "resolved": "https://registry.npmjs.org/es-object-atoms/-/es-object-atoms-1.1.2.tgz",- "integrity": "sha512-HWcBoN6NileqtSydK2FqHbS/LoDd2pqrnQHLyJzBj4kOp/ky2MWMN694xOfkK8/SnUsW2DH7EfyVlydKCsm1Zw==",- "dev": true,- "license": "MIT",- "dependencies": {- "es-errors": "^1.3.0"- },- "engines": {- "node": ">= 0.4"- }- },- "node_modules/es-set-tostringtag": {- "version": "2.1.0",- "resolved": "https://registry.npmjs.org/es-set-tostringtag/-/es-set-tostringtag-2.1.0.tgz",- "integrity": "sha512-j6vWzfrGVfyXxge+O0x5sh6cvxAog0a/4Rdd2K36zCMV5eJ+/+tOAngRO8cODMNWbVRdVlmGZQL2YS3yR8bIUA==",- "dev": true,- "license": "MIT",- "dependencies": {- "es-errors": "^1.3.0",- "get-intrinsic": "^1.2.6",- "has-tostringtag": "^1.0.2",- "hasown": "^2.0.2"- },- "engines": {- "node": ">= 0.4"- }- },- "node_modules/es-shim-unscopables": {- "version": "1.1.0",- "resolved": "https://registry.npmjs.org/es-shim-unscopables/-/es-shim-unscopables-1.1.0.tgz",- "integrity": "sha512-d9T8ucsEhh8Bi1woXCf+TIKDIROLG5WCkxg8geBCbvk22kzwC5G2OnXVMO6FUsvQlgUUXQ2itephWDLqDzbeCw==",- "dev": true,- "license": "MIT",- "dependencies": {- "hasown": "^2.0.2"- },- "engines": {- "node": ">= 0.4"- }- },- "node_modules/es-to-primitive": {- "version": "1.3.4",- "resolved": "https://registry.npmjs.org/es-to-primitive/-/es-to-primitive-1.3.4.tgz",- "integrity": "sha512-yPDz7wqpg1/mmHLmS3tcfTfbw5f1eryXvyghYBffGdERwe+mV7ZcWzTR8LR17Kvqt3qfPurjlonmnq3MKXIOXw==",- "dev": true,- "license": "MIT",- "dependencies": {- "es-abstract-get": "^1.0.0",- "es-define-property": "^1.0.1",- "es-errors": "^1.3.0",- "is-callable": "^1.2.7",- "is-date-object": "^1.1.0",- "is-symbol": "^1.1.1"- },- "engines": {- "node": ">= 0.4"- },- "funding": {- "url": "https://github.com/sponsors/ljharb"- }- },- "node_modules/escalade": {- "version": "3.2.0",- "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.2.0.tgz",- "integrity": "sha512-WUj2qlxaQtO4g6Pq5c29GTcWGDyd8itL8zTlipgECz3JesAiiOKotd8JU6otB3PACgG6xkJUyVhboMS+bje/jA==",- "dev": true,- "license": "MIT",- "engines": {- "node": ">=6"- }- },- "node_modules/escape-string-regexp": {- "version": "4.0.0",- "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz",- "integrity": "sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==",- "dev": true,- "license": "MIT",- "engines": {- "node": ">=10"- },- "funding": {- "url": "https://github.com/sponsors/sindresorhus"- }- },- "node_modules/eslint": {- "version": "9.39.5",- "resolved": "https://registry.npmjs.org/eslint/-/eslint-9.39.5.tgz",- "integrity": "sha512-DgZS62aPLXKlnxILS/AYCoRvHaZeXceIzlXPkkGGzJWSow1aEk0lbTlxUSlyjC8jcaKxAdOnTDz+o1JFSBsyjw==",- "deprecated": "This version is no longer supported. Please see https://eslint.org/version-support for other options.",- "dev": true,- "license": "MIT",- "dependencies": {- "@eslint-community/eslint-utils": "^4.8.0",- "@eslint-community/regexpp": "^4.12.1",- "@eslint/config-array": "^0.21.2",- "@eslint/config-helpers": "^0.4.2",- "@eslint/core": "^0.17.0",- "@eslint/eslintrc": "^3.3.6",- "@eslint/js": "9.39.5",- "@eslint/plugin-kit": "^0.4.1",- "@humanfs/node": "^0.16.6",- "@humanwhocodes/module-importer": "^1.0.1",- "@humanwhocodes/retry": "^0.4.2",- "@types/estree": "^1.0.6",- "ajv": "^6.14.0",- "chalk": "^4.0.0",- "cross-spawn": "^7.0.6",- "debug": "^4.3.2",- "escape-string-regexp": "^4.0.0",- "eslint-scope": "^8.4.0",- "eslint-visitor-keys": "^4.2.1",- "espree": "^10.4.0",- "esquery": "^1.5.0",- "esutils": "^2.0.2",- "fast-deep-equal": "^3.1.3",- "file-entry-cache": "^8.0.0",- "find-up": "^5.0.0",- "glob-parent": "^6.0.2",- "ignore": "^5.2.0",- "imurmurhash": "^0.1.4",- "is-glob": "^4.0.0",- "json-stable-stringify-without-jsonify": "^1.0.1",- "lodash.merge": "^4.6.2",- "minimatch": "^3.1.5",- "natural-compare": "^1.4.0",- "optionator": "^0.9.3"- },- "bin": {- "eslint": "bin/eslint.js"- },- "engines": {- "node": "^18.18.0 || ^20.9.0 || >=21.1.0"- },- "funding": {- "url": "https://eslint.org/donate"- },- "peerDependencies": {- "jiti": "*"- },- "peerDependenciesMeta": {- "jiti": {- "optional": true- }- }- },- "node_modules/eslint-config-next": {- "version": "16.3.8",- "resolved": "https://registry.npmjs.org/eslint-config-next/-/eslint-config-next-16.3.8.tgz",- "integrity": "sha512-81vovwMe6NGnoFsl0KUJWzlS+y239i3fdsxs49gSEX3pDQW2cuKy+fxUPXNkQqqx6OCPheYPtBlSufc9aZ0k+w==",- "dev": true,- "license": "MIT",- "dependencies": {- "@next/eslint-plugin-next": "16.3.8",- "eslint-import-resolver-node": "^0.3.6",- "eslint-import-resolver-typescript": "^3.5.2",- "eslint-plugin-import": "^2.32.0",- "eslint-plugin-jsx-a11y": "^6.10.0",- "eslint-plugin-react": "^7.37.0",- "eslint-plugin-react-hooks": "^7.0.0",- "globals": "16.4.0",- "typescript-eslint": "^8.46.0"- },- "peerDependencies": {- "eslint": ">=9.0.0",- "typescript": ">=3.3.1"- },- "peerDependenciesMeta": {- "typescript": {- "optional": true- }- }- },- "node_modules/eslint-config-next/node_modules/globals": {- "version": "16.4.0",- "resolved": "https://registry.npmjs.org/globals/-/globals-16.4.0.tgz",- "integrity": "sha512-ob/2LcVVaVGCYN+r14cnwnoDPUufjiYgSqRhiFD0Q1iI4Odora5RE8Iv1D24hAz5oMophRGkGz+yuvQmmUMnMw==",- "dev": true,- "license": "MIT",- "engines": {- "node": ">=18"- },- "funding": {- "url": "https://github.com/sponsors/sindresorhus"- }- },- "node_modules/eslint-import-resolver-node": {- "version": "0.3.10",- "resolved": "https://registry.npmjs.org/eslint-import-resolver-node/-/eslint-import-resolver-node-0.3.10.tgz",- "integrity": "sha512-tRrKqFyCaKict5hOd244sL6EQFNycnMQnBe+j8uqGNXYzsImGbGUU4ibtoaBmv5FLwJwcFJNeg1GeVjQfbMrDQ==",- "dev": true,- "license": "MIT",- "dependencies": {- "debug": "^3.2.7",- "is-core-module": "^2.16.1",- "resolve": "^2.0.0-next.6"- }- },- "node_modules/eslint-import-resolver-node/node_modules/debug": {- "version": "3.2.7",- "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.7.tgz",- "integrity": "sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==",- "dev": true,- "license": "MIT",- "dependencies": {- "ms": "^2.1.1"- }- },- "node_modules/eslint-import-resolver-typescript": {- "version": "3.10.1",- "resolved": "https://registry.npmjs.org/eslint-import-resolver-typescript/-/eslint-import-resolver-typescript-3.10.1.tgz",- "integrity": "sha512-A1rHYb06zjMGAxdLSkN2fXPBwuSaQ0iO5M/hdyS0Ajj1VBaRp0sPD3dn1FhME3c/JluGFbwSxyCfqdSbtQLAHQ==",- "dev": true,- "license": "ISC",- "dependencies": {- "@nolyfill/is-core-module": "1.0.39",- "debug": "^4.4.0",- "get-tsconfig": "^4.10.0",- "is-bun-module": "^2.0.0",- "stable-hash": "^0.0.5",- "tinyglobby": "^0.2.13",- "unrs-resolver": "^1.6.2"- },- "engines": {- "node": "^14.18.0 || >=16.0.0"- },- "funding": {- "url": "https://opencollective.com/eslint-import-resolver-typescript"- },- "peerDependencies": {- "eslint": "*",- "eslint-plugin-import": "*",- "eslint-plugin-import-x": "*"- },- "peerDependenciesMeta": {- "eslint-plugin-import": {- "optional": true- },- "eslint-plugin-import-x": {- "optional": true- }- }- },- "node_modules/eslint-module-utils": {- "version": "2.14.0",- "resolved": "https://registry.npmjs.org/eslint-module-utils/-/eslint-module-utils-2.14.0.tgz",- "integrity": "sha512-W2WCRZ9Dqntd+2u8jJcVMV2PKulc6RdLgUUoh/yQr3uB6lo/ZOeGx11sv60/8S4QFFKNslAlWhr9u0Ef7ZW6Ig==",- "dev": true,- "license": "MIT",- "dependencies": {- "debug": "^3.2.7"- },- "engines": {- "node": ">=4"- },- "peerDependenciesMeta": {- "eslint": {- "optional": true- }- }- },- "node_modules/eslint-module-utils/node_modules/debug": {- "version": "3.2.7",- "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.7.tgz",- "integrity": "sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==",- "dev": true,- "license": "MIT",- "dependencies": {- "ms": "^2.1.1"- }- },- "node_modules/eslint-plugin-import": {- "version": "2.32.0",- "resolved": "https://registry.npmjs.org/eslint-plugin-import/-/eslint-plugin-import-2.32.0.tgz",- "integrity": "sha512-whOE1HFo/qJDyX4SnXzP4N6zOWn79WhnCUY/iDR0mPfQZO8wcYE4JClzI2oZrhBnnMUCBCHZhO6VQyoBU95mZA==",- "dev": true,- "license": "MIT",- "dependencies": {- "@rtsao/scc": "^1.1.0",- "array-includes": "^3.1.9",- "array.prototype.findlastindex": "^1.2.6",- "array.prototype.flat": "^1.3.3",- "array.prototype.flatmap": "^1.3.3",- "debug": "^3.2.7",- "doctrine": "^2.1.0",- "eslint-import-resolver-node": "^0.3.9",- "eslint-module-utils": "^2.12.1",- "hasown": "^2.0.2",- "is-core-module": "^2.16.1",- "is-glob": "^4.0.3",- "minimatch": "^3.1.2",- "object.fromentries": "^2.0.8",- "object.groupby": "^1.0.3",- "object.values": "^1.2.1",- "semver": "^6.3.1",- "string.prototype.trimend": "^1.0.9",- "tsconfig-paths": "^3.15.0"- },- "engines": {- "node": ">=4"- },- "peerDependencies": {- "eslint": "^2 || ^3 || ^4 || ^5 || ^6 || ^7.2.0 || ^8 || ^9"- }- },- "node_modules/eslint-plugin-import/node_modules/debug": {- "version": "3.2.7",- "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.7.tgz",- "integrity": "sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==",- "dev": true,- "license": "MIT",- "dependencies": {- "ms": "^2.1.1"- }- },- "node_modules/eslint-plugin-jsx-a11y": {- "version": "6.10.2",- "resolved": "https://registry.npmjs.org/eslint-plugin-jsx-a11y/-/eslint-plugin-jsx-a11y-6.10.2.tgz",- "integrity": "sha512-scB3nz4WmG75pV8+3eRUQOHZlNSUhFNq37xnpgRkCCELU3XMvXAxLk1eqWWyE22Ki4Q01Fnsw9BA3cJHDPgn2Q==",- "dev": true,- "license": "MIT",- "dependencies": {- "aria-query": "^5.3.2",- "array-includes": "^3.1.8",- "array.prototype.flatmap": "^1.3.2",- "ast-types-flow": "^0.0.8",- "axe-core": "^4.10.0",- "axobject-query": "^4.1.0",- "damerau-levenshtein": "^1.0.8",- "emoji-regex": "^9.2.2",- "hasown": "^2.0.2",- "jsx-ast-utils": "^3.3.5",- "language-tags": "^1.0.9",- "minimatch": "^3.1.2",- "object.fromentries": "^2.0.8",- "safe-regex-test": "^1.0.3",- "string.prototype.includes": "^2.0.1"- },- "engines": {- "node": ">=4.0"- },- "peerDependencies": {- "eslint": "^3 || ^4 || ^5 || ^6 || ^7 || ^8 || ^9"- }- },- "node_modules/eslint-plugin-react": {- "version": "7.37.5",- "resolved": "https://registry.npmjs.org/eslint-plugin-react/-/eslint-plugin-react-7.37.5.tgz",- "integrity": "sha512-Qteup0SqU15kdocexFNAJMvCJEfa2xUKNV4CC1xsVMrIIqEy3SQ/rqyxCWNzfrd3/ldy6HMlD2e0JDVpDg2qIA==",- "dev": true,- "license": "MIT",- "dependencies": {- "array-includes": "^3.1.8",- "array.prototype.findlast": "^1.2.5",- "array.prototype.flatmap": "^1.3.3",- "array.prototype.tosorted": "^1.1.4",- "doctrine": "^2.1.0",- "es-iterator-helpers": "^1.2.1",- "estraverse": "^5.3.0",- "hasown": "^2.0.2",- "jsx-ast-utils": "^2.4.1 || ^3.0.0",- "minimatch": "^3.1.2",- "object.entries": "^1.1.9",- "object.fromentries": "^2.0.8",- "object.values": "^1.2.1",- "prop-types": "^15.8.1",- "resolve": "^2.0.0-next.5",- "semver": "^6.3.1",- "string.prototype.matchall": "^4.0.12",- "string.prototype.repeat": "^1.0.0"- },- "engines": {- "node": ">=4"- },- "peerDependencies": {- "eslint": "^3 || ^4 || ^5 || ^6 || ^7 || ^8 || ^9.7"- }- },- "node_modules/eslint-plugin-react-hooks": {- "version": "7.1.1",- "resolved": "https://registry.npmjs.org/eslint-plugin-react-hooks/-/eslint-plugin-react-hooks-7.1.1.tgz",- "integrity": "sha512-f2I7Gw6JbvCexzIInuSbZpfdQ44D7iqdWX01FKLvrPgqxoE7oMj8clOfto8U6vYiz4yd5oKu39rRSVOe1zRu0g==",- "dev": true,- "license": "MIT",- "dependencies": {- "@babel/core": "^7.24.4",- "@babel/parser": "^7.24.4",- "hermes-parser": "^0.25.1",- "zod": "^3.25.0 || ^4.0.0",- "zod-validation-error": "^3.5.0 || ^4.0.0"- },- "engines": {- "node": ">=18"- },- "peerDependencies": {- "eslint": "^3.0.0 || ^4.0.0 || ^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0-0 || ^9.0.0 || ^10.0.0"- }- },- "node_modules/eslint-scope": {- "version": "8.4.0",- "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-8.4.0.tgz",- "integrity": "sha512-sNXOfKCn74rt8RICKMvJS7XKV/Xk9kA7DyJr8mJik3S7Cwgy3qlkkmyS2uQB3jiJg6VNdZd/pDBJu0nvG2NlTg==",- "dev": true,- "license": "BSD-2-Clause",- "dependencies": {- "esrecurse": "^4.3.0",- "estraverse": "^5.2.0"- },- "engines": {- "node": "^18.18.0 || ^20.9.0 || >=21.1.0"- },- "funding": {- "url": "https://opencollective.com/eslint"- }- },- "node_modules/eslint-visitor-keys": {- "version": "4.2.1",- "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-4.2.1.tgz",- "integrity": "sha512-Uhdk5sfqcee/9H/rCOJikYz67o0a2Tw2hGRPOG2Y1R2dg7brRe1uG0yaNQDHu+TO/uQPF/5eCapvYSmHUjt7JQ==",- "dev": true,- "license": "Apache-2.0",- "engines": {- "node": "^18.18.0 || ^20.9.0 || >=21.1.0"- },- "funding": {- "url": "https://opencollective.com/eslint"- }- },- "node_modules/espree": {- "version": "10.4.0",- "resolved": "https://registry.npmjs.org/espree/-/espree-10.4.0.tgz",- "integrity": "sha512-j6PAQ2uUr79PZhBjP5C5fhl8e39FmRnOjsD5lGnWrFU8i2G776tBK7+nP8KuQUTTyAZUwfQqXAgrVH5MbH9CYQ==",- "dev": true,- "license": "BSD-2-Clause",- "dependencies": {- "acorn": "^8.15.0",- "acorn-jsx": "^5.3.2",- "eslint-visitor-keys": "^4.2.1"- },- "engines": {- "node": "^18.18.0 || ^20.9.0 || >=21.1.0"- },- "funding": {- "url": "https://opencollective.com/eslint"- }- },- "node_modules/esquery": {- "version": "1.7.0",- "resolved": "https://registry.npmjs.org/esquery/-/esquery-1.7.0.tgz",- "integrity": "sha512-Ap6G0WQwcU/LHsvLwON1fAQX9Zp0A2Y6Y/cJBl9r/JbW90Zyg4/zbG6zzKa2OTALELarYHmKu0GhpM5EO+7T0g==",- "dev": true,- "license": "BSD-3-Clause",- "dependencies": {- "estraverse": "^5.1.0"- },- "engines": {- "node": ">=0.10"- }- },- "node_modules/esrecurse": {- "version": "4.3.0",- "resolved": "https://registry.npmjs.org/esrecurse/-/esrecurse-4.3.0.tgz",- "integrity": "sha512-KmfKL3b6G+RXvP8N1vr3Tq1kL/oCFgn2NYXEtqP8/L3pKapUA4G8cFVaoF3SU323CD4XypR/ffioHmkti6/Tag==",- "dev": true,- "license": "BSD-2-Clause",- "dependencies": {- "estraverse": "^5.2.0"- },- "engines": {- "node": ">=4.0"- }- },- "node_modules/estraverse": {- "version": "5.3.0",- "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.3.0.tgz",- "integrity": "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==",- "dev": true,- "license": "BSD-2-Clause",- "engines": {- "node": ">=4.0"- }- },- "node_modules/estree-util-is-identifier-name": {- "version": "3.0.0",- "resolved": "https://registry.npmjs.org/estree-util-is-identifier-name/-/estree-util-is-identifier-name-3.0.0.tgz",- "integrity": "sha512-hFtqIDZTIUZ9BXLb8y4pYGyk6+wekIivNVTcmvk8NoOh+VeRn5y6cEHzbURrWbfp1fIqdVipilzj+lfaadNZmg==",- "license": "MIT",- "funding": {- "type": "opencollective",- "url": "https://opencollective.com/unified"- }- },- "node_modules/esutils": {- "version": "2.0.3",- "resolved": "https://registry.npmjs.org/esutils/-/esutils-2.0.3.tgz",- "integrity": "sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==",- "dev": true,- "license": "BSD-2-Clause",- "engines": {- "node": ">=0.10.0"- }- },- "node_modules/extend": {- "version": "3.0.2",- "resolved": "https://registry.npmjs.org/extend/-/extend-3.0.2.tgz",- "integrity": "sha512-fjquC59cD7CyW6urNXK0FBufkZcoiGG80wTuPujX590cB5Ttln20E2UB4S/WARVqhXffZl2LNgS+gQdPIIim/g==",- "license": "MIT"- },- "node_modules/fast-deep-equal": {- "version": "3.1.3",- "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz",- "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==",- "dev": true,- "license": "MIT"- },- "node_modules/fast-equals": {- "version": "5.4.3",- "resolved": "https://registry.npmjs.org/fast-equals/-/fast-equals-5.4.3.tgz",- "integrity": "sha512-8unmvA0qrfpFWBYUate9BTGtQdKHWBYt+KdAIkag7Vvxe7wz8Q2nJg7fLMC0bJqe0bjP31kca7Ckaawrs4Istg==",- "license": "MIT",- "engines": {- "node": ">=6.0.0"- }- },- "node_modules/fast-glob": {- "version": "3.3.1",- "resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.3.1.tgz",- "integrity": "sha512-kNFPyjhh5cKjrUltxs+wFx+ZkbRaxxmZ+X0ZU31SOsxCEtP9VPgtq2teZw1DebupL5GmDaNQ6yKMMVcM41iqDg==",- "dev": true,- "license": "MIT",- "dependencies": {- "@nodelib/fs.stat": "^2.0.2",- "@nodelib/fs.walk": "^1.2.3",- "glob-parent": "^5.1.2",- "merge2": "^1.3.0",- "micromatch": "^4.0.4"- },- "engines": {- "node": ">=8.6.0"- }- },- "node_modules/fast-glob/node_modules/glob-parent": {- "version": "5.1.2",- "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz",- "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==",- "dev": true,- "license": "ISC",- "dependencies": {- "is-glob": "^4.0.1"- },- "engines": {- "node": ">= 6"- }- },- "node_modules/fast-json-stable-stringify": {- "version": "2.1.0",- "resolved": "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz",- "integrity": "sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==",- "dev": true,- "license": "MIT"- },- "node_modules/fast-levenshtein": {- "version": "2.0.6",- "resolved": "https://registry.npmjs.org/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz",- "integrity": "sha512-DCXu6Ifhqcks7TZKY3Hxp3y6qphY5SJZmrWMDrKcERSOXWQdMhU9Ig/PYrzyw/ul9jOIyh0N4M0tbC5hodg8dw==",- "dev": true,- "license": "MIT"- },- "node_modules/fastq": {- "version": "1.20.3",- "resolved": "https://registry.npmjs.org/fastq/-/fastq-1.20.3.tgz",- "integrity": "sha512-XKv5nnLs6nLF71NgiKJLIZFLkPyIEuOselLG7ujZnGrRfQK8HpvY+WqKhAJUAdLomwVHErVS4LfxFlPq0/FTAw==",- "dev": true,- "license": "ISC",- "dependencies": {- "reusify": "^1.0.4"- }- },- "node_modules/file-entry-cache": {- "version": "8.0.0",- "resolved": "https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-8.0.0.tgz",- "integrity": "sha512-XXTUwCvisa5oacNGRP9SfNtYBNAMi+RPwBFmblZEF7N7swHYQS6/Zfk7SRwx4D5j3CH211YNRco1DEMNVfZCnQ==",- "dev": true,- "license": "MIT",- "dependencies": {- "flat-cache": "^4.0.0"- },- "engines": {- "node": ">=16.0.0"- }- },- "node_modules/fill-range": {- "version": "7.1.1",- "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.1.1.tgz",- "integrity": "sha512-YsGpe3WHLK8ZYi4tWDg2Jy3ebRz2rXowDxnld4bkQB00cc/1Zw9AWnC0i9ztDJitivtQvaI9KaLyKrc+hBW0yg==",- "dev": true,- "license": "MIT",- "dependencies": {- "to-regex-range": "^5.0.1"- },- "engines": {- "node": ">=8"- }- },- "node_modules/find-up": {- "version": "5.0.0",- "resolved": "https://registry.npmjs.org/find-up/-/find-up-5.0.0.tgz",- "integrity": "sha512-78/PXT1wlLLDgTzDs7sjq9hzz0vXD+zn+7wypEe4fXQxCmdmqfGsEPQxmiCSQI3ajFV91bVSsvNtrJRiW6nGng==",- "dev": true,- "license": "MIT",- "dependencies": {- "locate-path": "^6.0.0",- "path-exists": "^4.0.0"- },- "engines": {- "node": ">=10"- },- "funding": {- "url": "https://github.com/sponsors/sindresorhus"- }- },- "node_modules/flat-cache": {- "version": "4.0.1",- "resolved": "https://registry.npmjs.org/flat-cache/-/flat-cache-4.0.1.tgz",- "integrity": "sha512-f7ccFPK3SXFHpx15UIGyRJ/FJQctuKZ0zVuN3frBo4HnK3cay9VEW0R6yPYFHC0AgqhukPzKjq22t5DmAyqGyw==",- "dev": true,- "license": "MIT",- "dependencies": {- "flatted": "^3.2.9",- "keyv": "^4.5.4"- },- "engines": {- "node": ">=16"- }- },- "node_modules/flatted": {- "version": "3.4.4",- "resolved": "https://registry.npmjs.org/flatted/-/flatted-3.4.4.tgz",- "integrity": "sha512-5+ybhBZANEJxaH3X5evAFatUxLfEHSr7n6kYJ+1Qd0mUqr4eu9gIf6GDbWHf8RJijHrjjO8G+la14SlL2SeS1Q==",- "dev": true,- "license": "ISC"- },- "node_modules/for-each": {- "version": "0.3.5",- "resolved": "https://registry.npmjs.org/for-each/-/for-each-0.3.5.tgz",- "integrity": "sha512-dKx12eRCVIzqCxFGplyFKJMPvLEWgmNtUrpTiJIR5u97zEhRG8ySrtboPHZXx7daLxQVrl643cTzbab2tkQjxg==",- "dev": true,- "license": "MIT",- "dependencies": {- "is-callable": "^1.2.7"- },- "engines": {- "node": ">= 0.4"- },- "funding": {- "url": "https://github.com/sponsors/ljharb"- }- },- "node_modules/function-bind": {- "version": "1.1.2",- "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.2.tgz",- "integrity": "sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA==",- "dev": true,- "license": "MIT",- "funding": {- "url": "https://github.com/sponsors/ljharb"- }- },- "node_modules/function.prototype.name": {- "version": "1.2.0",- "resolved": "https://registry.npmjs.org/function.prototype.name/-/function.prototype.name-1.2.0.tgz",- "integrity": "sha512-jObKIik1P2QjPHP5nz5BaOtUlfgS0fWo8IUByNXkM+o+02sJOi94em77GwJKQSJ3gfPHdgzLNrHc1uokV4P/ew==",- "dev": true,- "license": "MIT",- "dependencies": {- "call-bind": "^1.0.9",- "call-bound": "^1.0.4",- "es-define-property": "^1.0.1",- "es-errors": "^1.3.0",- "functions-have-names": "^1.2.3",- "has-property-descriptors": "^1.0.2",- "hasown": "^2.0.4",- "is-callable": "^1.2.7",- "is-document.all": "^1.0.0"- },- "engines": {- "node": ">= 0.4"- },- "funding": {- "url": "https://github.com/sponsors/ljharb"- }- },- "node_modules/functions-have-names": {- "version": "1.2.3",- "resolved": "https://registry.npmjs.org/functions-have-names/-/functions-have-names-1.2.3.tgz",- "integrity": "sha512-xckBUXyTIqT97tq2x2AMb+g163b5JFysYk0x4qxNFwbfQkmNZoiRHb6sPzI9/QV33WeuvVYBUIiD4NzNIyqaRQ==",- "dev": true,- "license": "MIT",- "funding": {- "url": "https://github.com/sponsors/ljharb"- }- },- "node_modules/generator-function": {- "version": "2.0.1",- "resolved": "https://registry.npmjs.org/generator-function/-/generator-function-2.0.1.tgz",- "integrity": "sha512-SFdFmIJi+ybC0vjlHN0ZGVGHc3lgE0DxPAT0djjVg+kjOnSqclqmj0KQ7ykTOLP6YxoqOvuAODGdcHJn+43q3g==",- "dev": true,- "license": "MIT",- "engines": {- "node": ">= 0.4"- }- },- "node_modules/gensync": {- "version": "1.0.0-beta.2",- "resolved": "https://registry.npmjs.org/gensync/-/gensync-1.0.0-beta.2.tgz",- "integrity": "sha512-3hN7NaskYvMDLQY55gnW3NQ+mesEAepTqlg+VEbj7zzqEMBVNhzcGYYeqFo/TlYz6eQiFcp1HcsCZO+nGgS8zg==",- "dev": true,- "license": "MIT",- "engines": {- "node": ">=6.9.0"- }- },- "node_modules/get-intrinsic": {- "version": "1.3.0",- "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.3.0.tgz",- "integrity": "sha512-9fSjSaos/fRIVIp+xSJlE6lfwhES7LNtKaCBIamHsjr2na1BiABJPo0mOjjz8GJDURarmCPGqaiVg5mfjb98CQ==",- "dev": true,- "license": "MIT",- "dependencies": {- "call-bind-apply-helpers": "^1.0.2",- "es-define-property": "^1.0.1",- "es-errors": "^1.3.0",- "es-object-atoms": "^1.1.1",- "function-bind": "^1.1.2",- "get-proto": "^1.0.1",- "gopd": "^1.2.0",- "has-symbols": "^1.1.0",- "hasown": "^2.0.2",- "math-intrinsics": "^1.1.0"- },- "engines": {- "node": ">= 0.4"- },- "funding": {- "url": "https://github.com/sponsors/ljharb"- }- },- "node_modules/get-proto": {- "version": "1.0.1",- "resolved": "https://registry.npmjs.org/get-proto/-/get-proto-1.0.1.tgz",- "integrity": "sha512-sTSfBjoXBp89JvIKIefqw7U2CCebsc74kiY6awiGogKtoSGbgjYE/G/+l9sF3MWFPNc9IcoOC4ODfKHfxFmp0g==",- "dev": true,- "license": "MIT",- "dependencies": {- "dunder-proto": "^1.0.1",- "es-object-atoms": "^1.0.0"- },- "engines": {- "node": ">= 0.4"- }- },- "node_modules/get-symbol-description": {- "version": "1.1.0",- "resolved": "https://registry.npmjs.org/get-symbol-description/-/get-symbol-description-1.1.0.tgz",- "integrity": "sha512-w9UMqWwJxHNOvoNzSJ2oPF5wvYcvP7jUvYzhp67yEhTi17ZDBBC1z9pTdGuzjD+EFIqLSYRweZjqfiPzQ06Ebg==",- "dev": true,- "license": "MIT",- "dependencies": {- "call-bound": "^1.0.3",- "es-errors": "^1.3.0",- "get-intrinsic": "^1.2.6"- },- "engines": {- "node": ">= 0.4"- },- "funding": {- "url": "https://github.com/sponsors/ljharb"- }- },- "node_modules/get-tsconfig": {- "version": "4.14.3",- "resolved": "https://registry.npmjs.org/get-tsconfig/-/get-tsconfig-4.14.3.tgz",- "integrity": "sha512-++QEw4DIY7WGoukz+/+A/8dGYPT9l9yIadnmSgZ8Rjr3YVSVDipQSO9CdnJo9ePqFqUUqh+wk9uIaoiAwsiPkA==",- "dev": true,- "license": "MIT",- "dependencies": {- "resolve-pkg-maps": "^1.0.0"- },- "funding": {- "url": "https://github.com/privatenumber/get-tsconfig?sponsor=1"- }- },- "node_modules/glob-parent": {- "version": "6.0.2",- "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-6.0.2.tgz",- "integrity": "sha512-XxwI8EOhVQgWp6iDL+3b0r86f4d6AX6zSU55HfB4ydCEuXLXc5FcYeOu+nnGftS4TEju/11rt4KJPTMgbfmv4A==",- "dev": true,- "license": "ISC",- "dependencies": {- "is-glob": "^4.0.3"- },- "engines": {- "node": ">=10.13.0"- }- },- "node_modules/globals": {- "version": "14.0.0",- "resolved": "https://registry.npmjs.org/globals/-/globals-14.0.0.tgz",- "integrity": "sha512-oahGvuMGQlPw/ivIYBjVSrWAfWLBeku5tpPE2fOPLi+WHffIWbuh2tCjhyQhTBPMf5E9jDEH4FOmTYgYwbKwtQ==",- "dev": true,- "license": "MIT",- "engines": {- "node": ">=18"- },- "funding": {- "url": "https://github.com/sponsors/sindresorhus"- }- },- "node_modules/globalthis": {- "version": "1.0.4",- "resolved": "https://registry.npmjs.org/globalthis/-/globalthis-1.0.4.tgz",- "integrity": "sha512-DpLKbNU4WylpxJykQujfCcwYWiV/Jhm50Goo0wrVILAv5jOr9d+H+UR3PhSCD2rCCEIg0uc+G+muBTwD54JhDQ==",- "dev": true,- "license": "MIT",- "dependencies": {- "define-properties": "^1.2.1",- "gopd": "^1.0.1"- },- "engines": {- "node": ">= 0.4"- },- "funding": {- "url": "https://github.com/sponsors/ljharb"- }- },- "node_modules/gopd": {- "version": "1.2.0",- "resolved": "https://registry.npmjs.org/gopd/-/gopd-1.2.0.tgz",- "integrity": "sha512-ZUKRh6/kUFoAiTAtTYPZJ3hw9wNxx+BIBOijnlG9PnrJsCcSjs1wyyD6vJpaYtgnzDrKYRSqf3OO6Rfa93xsRg==",- "dev": true,- "license": "MIT",- "engines": {- "node": ">= 0.4"- },- "funding": {- "url": "https://github.com/sponsors/ljharb"- }- },- "node_modules/graceful-fs": {- "version": "4.2.11",- "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.11.tgz",- "integrity": "sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ==",- "dev": true,- "license": "ISC"- },- "node_modules/has-bigints": {- "version": "1.1.0",- "resolved": "https://registry.npmjs.org/has-bigints/-/has-bigints-1.1.0.tgz",- "integrity": "sha512-R3pbpkcIqv2Pm3dUwgjclDRVmWpTJW2DcMzcIhEXEx1oh/CEMObMm3KLmRJOdvhM7o4uQBnwr8pzRK2sJWIqfg==",- "dev": true,- "license": "MIT",- "engines": {- "node": ">= 0.4"- },- "funding": {- "url": "https://github.com/sponsors/ljharb"- }- },- "node_modules/has-flag": {- "version": "4.0.0",- "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz",- "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==",- "dev": true,- "license": "MIT",- "engines": {- "node": ">=8"- }- },- "node_modules/has-property-descriptors": {- "version": "1.0.2",- "resolved": "https://registry.npmjs.org/has-property-descriptors/-/has-property-descriptors-1.0.2.tgz",- "integrity": "sha512-55JNKuIW+vq4Ke1BjOTjM2YctQIvCT7GFzHwmfZPGo5wnrgkid0YQtnAleFSqumZm4az3n2BS+erby5ipJdgrg==",- "dev": true,- "license": "MIT",- "dependencies": {- "es-define-property": "^1.0.0"- },- "funding": {- "url": "https://github.com/sponsors/ljharb"- }- },- "node_modules/has-proto": {- "version": "1.2.0",- "resolved": "https://registry.npmjs.org/has-proto/-/has-proto-1.2.0.tgz",- "integrity": "sha512-KIL7eQPfHQRC8+XluaIw7BHUwwqL19bQn4hzNgdr+1wXoU0KKj6rufu47lhY7KbJR2C6T6+PfyN0Ea7wkSS+qQ==",- "dev": true,- "license": "MIT",- "dependencies": {- "dunder-proto": "^1.0.0"- },- "engines": {- "node": ">= 0.4"- },- "funding": {- "url": "https://github.com/sponsors/ljharb"- }- },- "node_modules/has-symbols": {- "version": "1.1.0",- "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.1.0.tgz",- "integrity": "sha512-1cDNdwJ2Jaohmb3sg4OmKaMBwuC48sYni5HUw2DvsC8LjGTLK9h+eb1X6RyuOHe4hT0ULCW68iomhjUoKUqlPQ==",- "dev": true,- "license": "MIT",- "engines": {- "node": ">= 0.4"- },- "funding": {- "url": "https://github.com/sponsors/ljharb"- }- },- "node_modules/has-tostringtag": {- "version": "1.0.2",- "resolved": "https://registry.npmjs.org/has-tostringtag/-/has-tostringtag-1.0.2.tgz",- "integrity": "sha512-NqADB8VjPFLM2V0VvHUewwwsw0ZWBaIdgo+ieHtK3hasLz4qeCRjYcqfB6AQrBggRKppKF8L52/VqdVsO47Dlw==",- "dev": true,- "license": "MIT",- "dependencies": {- "has-symbols": "^1.0.3"- },- "engines": {- "node": ">= 0.4"- },- "funding": {- "url": "https://github.com/sponsors/ljharb"- }- },- "node_modules/hasown": {- "version": "2.0.4",- "resolved": "https://registry.npmjs.org/hasown/-/hasown-2.0.4.tgz",- "integrity": "sha512-T2UbfbBEF32wiepXIsMlTW9+dDYC6wMh/t/vYA4tuOMKqWz/n3vr1NFSxQiyP+zk2mXsoMA/i/7qV6LKut1t1A==",- "dev": true,- "license": "MIT",- "dependencies": {- "function-bind": "^1.1.2"- },- "engines": {- "node": ">= 0.4"- }- },- "node_modules/hast-util-to-jsx-runtime": {- "version": "2.3.6",- "resolved": "https://registry.npmjs.org/hast-util-to-jsx-runtime/-/hast-util-to-jsx-runtime-2.3.6.tgz",- "integrity": "sha512-zl6s8LwNyo1P9uw+XJGvZtdFF1GdAkOg8ujOw+4Pyb76874fLps4ueHXDhXWdk6YHQ6OgUtinliG7RsYvCbbBg==",- "license": "MIT",- "dependencies": {- "@types/estree": "^1.0.0",- "@types/hast": "^3.0.0",- "@types/unist": "^3.0.0",- "comma-separated-tokens": "^2.0.0",- "devlop": "^1.0.0",- "estree-util-is-identifier-name": "^3.0.0",- "hast-util-whitespace": "^3.0.0",- "mdast-util-mdx-expression": "^2.0.0",- "mdast-util-mdx-jsx": "^3.0.0",- "mdast-util-mdxjs-esm": "^2.0.0",- "property-information": "^7.0.0",- "space-separated-tokens": "^2.0.0",- "style-to-js": "^1.0.0",- "unist-util-position": "^5.0.0",- "vfile-message": "^4.0.0"- },- "funding": {- "type": "opencollective",- "url": "https://opencollective.com/unified"- }- },- "node_modules/hast-util-whitespace": {- "version": "3.0.0",- "resolved": "https://registry.npmjs.org/hast-util-whitespace/-/hast-util-whitespace-3.0.0.tgz",- "integrity": "sha512-88JUN06ipLwsnv+dVn+OIYOvAuvBMy/Qoi6O7mQHxdPXpjy+Cd6xRkWwux7DKO+4sYILtLBRIKgsdpS2gQc7qw==",- "license": "MIT",- "dependencies": {- "@types/hast": "^3.0.0"- },- "funding": {- "type": "opencollective",- "url": "https://opencollective.com/unified"- }- },- "node_modules/hermes-estree": {- "version": "0.25.1",- "resolved": "https://registry.npmjs.org/hermes-estree/-/hermes-estree-0.25.1.tgz",- "integrity": "sha512-0wUoCcLp+5Ev5pDW2OriHC2MJCbwLwuRx+gAqMTOkGKJJiBCLjtrvy4PWUGn6MIVefecRpzoOZ/UV6iGdOr+Cw==",- "dev": true,- "license": "MIT"- },- "node_modules/hermes-parser": {- "version": "0.25.1",- "resolved": "https://registry.npmjs.org/hermes-parser/-/hermes-parser-0.25.1.tgz",- "integrity": "sha512-6pEjquH3rqaI6cYAXYPcz9MS4rY6R4ngRgrgfDshRptUZIc3lw0MCIJIGDj9++mfySOuPTHB4nrSW99BCvOPIA==",- "dev": true,- "license": "MIT",- "dependencies": {- "hermes-estree": "0.25.1"- }- },- "node_modules/html-url-attributes": {- "version": "3.0.1",- "resolved": "https://registry.npmjs.org/html-url-attributes/-/html-url-attributes-3.0.1.tgz",- "integrity": "sha512-ol6UPyBWqsrO6EJySPz2O7ZSr856WDrEzM5zMqp+FJJLGMW35cLYmmZnl0vztAZxRUoNZJFTCohfjuIJ8I4QBQ==",- "license": "MIT",- "funding": {- "type": "opencollective",- "url": "https://opencollective.com/unified"- }- },- "node_modules/ignore": {- "version": "5.3.2",- "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.3.2.tgz",- "integrity": "sha512-hsBTNUqQTDwkWtcdYI2i06Y/nUBEsNEDJKjWdigLvegy8kDuJAS8uRlpkkcQpyEXL0Z/pjDy5HBmMjRCJ2gq+g==",- "dev": true,- "license": "MIT",- "engines": {- "node": ">= 4"- }- },- "node_modules/import-fresh": {- "version": "3.3.1",- "resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-3.3.1.tgz",- "integrity": "sha512-TR3KfrTZTYLPB6jUjfx6MF9WcWrHL9su5TObK4ZkYgBdWKPOFoSoQIdEuTuR82pmtxH2spWG9h6etwfr1pLBqQ==",- "dev": true,- "license": "MIT",- "dependencies": {- "parent-module": "^1.0.0",- "resolve-from": "^4.0.0"- },- "engines": {- "node": ">=6"- },- "funding": {- "url": "https://github.com/sponsors/sindresorhus"- }- },- "node_modules/imurmurhash": {- "version": "0.1.4",- "resolved": "https://registry.npmjs.org/imurmurhash/-/imurmurhash-0.1.4.tgz",- "integrity": "sha512-JmXMZ6wuvDmLiHEml9ykzqO6lwFbof0GG4IkcGaENdCRDDmMVnny7s5HsIgHCbaq0w2MyPhDqkhTUgS2LU2PHA==",- "dev": true,- "license": "MIT",- "engines": {- "node": ">=0.8.19"- }- },- "node_modules/inline-style-parser": {- "version": "0.2.7",- "resolved": "https://registry.npmjs.org/inline-style-parser/-/inline-style-parser-0.2.7.tgz",- "integrity": "sha512-Nb2ctOyNR8DqQoR0OwRG95uNWIC0C1lCgf5Naz5H6Ji72KZ8OcFZLz2P5sNgwlyoJ8Yif11oMuYs5pBQa86csA==",- "license": "MIT"- },- "node_modules/internal-slot": {- "version": "1.1.0",- "resolved": "https://registry.npmjs.org/internal-slot/-/internal-slot-1.1.0.tgz",- "integrity": "sha512-4gd7VpWNQNB4UKKCFFVcp1AVv+FMOgs9NKzjHKusc8jTMhd5eL1NqQqOpE0KzMds804/yHlglp3uxgluOqAPLw==",- "dev": true,- "license": "MIT",- "dependencies": {- "es-errors": "^1.3.0",- "hasown": "^2.0.2",- "side-channel": "^1.1.0"- },- "engines": {- "node": ">= 0.4"- }- },- "node_modules/is-alphabetical": {- "version": "2.0.1",- "resolved": "https://registry.npmjs.org/is-alphabetical/-/is-alphabetical-2.0.1.tgz",- "integrity": "sha512-FWyyY60MeTNyeSRpkM2Iry0G9hpr7/9kD40mD/cGQEuilcZYS4okz8SN2Q6rLCJ8gbCt6fN+rC+6tMGS99LaxQ==",- "license": "MIT",- "funding": {- "type": "github",- "url": "https://github.com/sponsors/wooorm"- }- },- "node_modules/is-alphanumerical": {- "version": "2.0.1",- "resolved": "https://registry.npmjs.org/is-alphanumerical/-/is-alphanumerical-2.0.1.tgz",- "integrity": "sha512-hmbYhX/9MUMF5uh7tOXyK/n0ZvWpad5caBA17GsC6vyuCqaWliRG5K1qS9inmUhEMaOBIW7/whAnSwveW/LtZw==",- "license": "MIT",- "dependencies": {- "is-alphabetical": "^2.0.0",- "is-decimal": "^2.0.0"- },- "funding": {- "type": "github",- "url": "https://github.com/sponsors/wooorm"- }- },- "node_modules/is-array-buffer": {- "version": "3.0.5",- "resolved": "https://registry.npmjs.org/is-array-buffer/-/is-array-buffer-3.0.5.tgz",- "integrity": "sha512-DDfANUiiG2wC1qawP66qlTugJeL5HyzMpfr8lLK+jMQirGzNod0B12cFB/9q838Ru27sBwfw78/rdoU7RERz6A==",- "dev": true,- "license": "MIT",- "dependencies": {- "call-bind": "^1.0.8",- "call-bound": "^1.0.3",- "get-intrinsic": "^1.2.6"- },- "engines": {- "node": ">= 0.4"- },- "funding": {- "url": "https://github.com/sponsors/ljharb"- }- },- "node_modules/is-async-function": {- "version": "2.1.1",- "resolved": "https://registry.npmjs.org/is-async-function/-/is-async-function-2.1.1.tgz",- "integrity": "sha512-9dgM/cZBnNvjzaMYHVoxxfPj2QXt22Ev7SuuPrs+xav0ukGB0S6d4ydZdEiM48kLx5kDV+QBPrpVnFyefL8kkQ==",- "dev": true,- "license": "MIT",- "dependencies": {- "async-function": "^1.0.0",- "call-bound": "^1.0.3",- "get-proto": "^1.0.1",- "has-tostringtag": "^1.0.2",- "safe-regex-test": "^1.1.0"- },- "engines": {- "node": ">= 0.4"- },- "funding": {- "url": "https://github.com/sponsors/ljharb"- }- },- "node_modules/is-bigint": {- "version": "1.1.0",- "resolved": "https://registry.npmjs.org/is-bigint/-/is-bigint-1.1.0.tgz",- "integrity": "sha512-n4ZT37wG78iz03xPRKJrHTdZbe3IicyucEtdRsV5yglwc3GyUfbAfpSeD0FJ41NbUNSt5wbhqfp1fS+BgnvDFQ==",- "dev": true,- "license": "MIT",- "dependencies": {- "has-bigints": "^1.0.2"- },- "engines": {- "node": ">= 0.4"- },- "funding": {- "url": "https://github.com/sponsors/ljharb"- }- },- "node_modules/is-boolean-object": {- "version": "1.2.2",- "resolved": "https://registry.npmjs.org/is-boolean-object/-/is-boolean-object-1.2.2.tgz",- "integrity": "sha512-wa56o2/ElJMYqjCjGkXri7it5FbebW5usLw/nPmCMs5DeZ7eziSYZhSmPRn0txqeW4LnAmQQU7FgqLpsEFKM4A==",- "dev": true,- "license": "MIT",- "dependencies": {- "call-bound": "^1.0.3",- "has-tostringtag": "^1.0.2"- },- "engines": {- "node": ">= 0.4"- },- "funding": {- "url": "https://github.com/sponsors/ljharb"- }- },- "node_modules/is-bun-module": {- "version": "2.0.0",- "resolved": "https://registry.npmjs.org/is-bun-module/-/is-bun-module-2.0.0.tgz",- "integrity": "sha512-gNCGbnnnnFAUGKeZ9PdbyeGYJqewpmc2aKHUEMO5nQPWU9lOmv7jcmQIv+qHD8fXW6W7qfuCwX4rY9LNRjXrkQ==",- "dev": true,- "license": "MIT",- "dependencies": {- "semver": "^7.7.1"- }- },- "node_modules/is-bun-module/node_modules/semver": {- "version": "7.8.5",- "resolved": "https://registry.npmjs.org/semver/-/semver-7.8.5.tgz",- "integrity": "sha512-Y7/KDsb8LjooZpwaqGyulO6DQlksgCncchHGk+sZIY4SBvUocMBEFH5Ur1fI4dV+Jvl0w6cjvucaIi40puRioA==",- "dev": true,- "license": "ISC",- "bin": {- "semver": "bin/semver.js"- },- "engines": {- "node": ">=10"- }- },- "node_modules/is-callable": {- "version": "1.2.7",- "resolved": "https://registry.npmjs.org/is-callable/-/is-callable-1.2.7.tgz",- "integrity": "sha512-1BC0BVFhS/p0qtw6enp8e+8OD0UrK0oFLztSjNzhcKA3WDuJxxAPXzPuPtKkjEY9UUoEWlX/8fgKeu2S8i9JTA==",- "dev": true,- "license": "MIT",- "engines": {- "node": ">= 0.4"- },- "funding": {- "url": "https://github.com/sponsors/ljharb"- }- },- "node_modules/is-core-module": {- "version": "2.17.0",- "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.17.0.tgz",- "integrity": "sha512-J/vG0zBCbIKOQFfufSwyXdMrsohyJIUNkrnmo6WZGzoM7tr/lsbfW5b2BvisL6zsyMzK9UxV9L6c7AoFbyXHOA==",- "dev": true,- "license": "MIT",- "dependencies": {- "hasown": "^2.0.4"- },- "engines": {- "node": ">= 0.4"- },- "funding": {- "url": "https://github.com/sponsors/ljharb"- }- },- "node_modules/is-data-view": {- "version": "1.0.2",- "resolved": "https://registry.npmjs.org/is-data-view/-/is-data-view-1.0.2.tgz",- "integrity": "sha512-RKtWF8pGmS87i2D6gqQu/l7EYRlVdfzemCJN/P3UOs//x1QE7mfhvzHIApBTRf7axvT6DMGwSwBXYCT0nfB9xw==",- "dev": true,- "license": "MIT",- "dependencies": {- "call-bound": "^1.0.2",- "get-intrinsic": "^1.2.6",- "is-typed-array": "^1.1.13"- },- "engines": {- "node": ">= 0.4"- },- "funding": {- "url": "https://github.com/sponsors/ljharb"- }- },- "node_modules/is-date-object": {- "version": "1.1.0",- "resolved": "https://registry.npmjs.org/is-date-object/-/is-date-object-1.1.0.tgz",- "integrity": "sha512-PwwhEakHVKTdRNVOw+/Gyh0+MzlCl4R6qKvkhuvLtPMggI1WAHt9sOwZxQLSGpUaDnrdyDsomoRgNnCfKNSXXg==",- "dev": true,- "license": "MIT",- "dependencies": {- "call-bound": "^1.0.2",- "has-tostringtag": "^1.0.2"- },- "engines": {- "node": ">= 0.4"- },- "funding": {- "url": "https://github.com/sponsors/ljharb"- }- },- "node_modules/is-decimal": {- "version": "2.0.1",- "resolved": "https://registry.npmjs.org/is-decimal/-/is-decimal-2.0.1.tgz",- "integrity": "sha512-AAB9hiomQs5DXWcRB1rqsxGUstbRroFOPPVAomNk/3XHR5JyEZChOyTWe2oayKnsSsr/kcGqF+z6yuH6HHpN0A==",- "license": "MIT",- "funding": {- "type": "github",- "url": "https://github.com/sponsors/wooorm"- }- },- "node_modules/is-document.all": {- "version": "1.0.0",- "resolved": "https://registry.npmjs.org/is-document.all/-/is-document.all-1.0.0.tgz",- "integrity": "sha512-+XSoyS05OdBbhFuELhgTCpFNHkpBOJqtsZfUFFpe5QTw+9Sjbh8zitxhQkYAo6wV7e1Vb8cAPvpCk9jGam/82g==",- "dev": true,- "license": "MIT",- "dependencies": {- "call-bound": "^1.0.4"- },- "engines": {- "node": ">= 0.4"- },- "funding": {- "url": "https://github.com/sponsors/ljharb"- }- },- "node_modules/is-extglob": {- "version": "2.1.1",- "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz",- "integrity": "sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==",- "dev": true,- "license": "MIT",- "engines": {- "node": ">=0.10.0"- }- },- "node_modules/is-finalizationregistry": {- "version": "1.1.1",- "resolved": "https://registry.npmjs.org/is-finalizationregistry/-/is-finalizationregistry-1.1.1.tgz",- "integrity": "sha512-1pC6N8qWJbWoPtEjgcL2xyhQOP491EQjeUo3qTKcmV8YSDDJrOepfG8pcC7h/QgnQHYSv0mJ3Z/ZWxmatVrysg==",- "dev": true,- "license": "MIT",- "dependencies": {- "call-bound": "^1.0.3"- },- "engines": {- "node": ">= 0.4"- },- "funding": {- "url": "https://github.com/sponsors/ljharb"- }- },- "node_modules/is-generator-function": {- "version": "1.1.2",- "resolved": "https://registry.npmjs.org/is-generator-function/-/is-generator-function-1.1.2.tgz",- "integrity": "sha512-upqt1SkGkODW9tsGNG5mtXTXtECizwtS2kA161M+gJPc1xdb/Ax629af6YrTwcOeQHbewrPNlE5Dx7kzvXTizA==",- "dev": true,- "license": "MIT",- "dependencies": {- "call-bound": "^1.0.4",- "generator-function": "^2.0.0",- "get-proto": "^1.0.1",- "has-tostringtag": "^1.0.2",- "safe-regex-test": "^1.1.0"- },- "engines": {- "node": ">= 0.4"- },- "funding": {- "url": "https://github.com/sponsors/ljharb"- }- },- "node_modules/is-glob": {- "version": "4.0.3",- "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz",- "integrity": "sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==",- "dev": true,- "license": "MIT",- "dependencies": {- "is-extglob": "^2.1.1"- },- "engines": {- "node": ">=0.10.0"- }- },- "node_modules/is-hexadecimal": {- "version": "2.0.1",- "resolved": "https://registry.npmjs.org/is-hexadecimal/-/is-hexadecimal-2.0.1.tgz",- "integrity": "sha512-DgZQp241c8oO6cA1SbTEWiXeoxV42vlcJxgH+B3hi1AiqqKruZR3ZGF8In3fj4+/y/7rHvlOZLZtgJ/4ttYGZg==",- "license": "MIT",- "funding": {- "type": "github",- "url": "https://github.com/sponsors/wooorm"- }- },- "node_modules/is-map": {- "version": "2.0.3",- "resolved": "https://registry.npmjs.org/is-map/-/is-map-2.0.3.tgz",- "integrity": "sha512-1Qed0/Hr2m+YqxnM09CjA2d/i6YZNfF6R2oRAOj36eUdS6qIV/huPJNSEpKbupewFs+ZsJlxsjjPbc0/afW6Lw==",- "dev": true,- "license": "MIT",- "engines": {- "node": ">= 0.4"- },- "funding": {- "url": "https://github.com/sponsors/ljharb"- }- },- "node_modules/is-negative-zero": {- "version": "2.0.3",- "resolved": "https://registry.npmjs.org/is-negative-zero/-/is-negative-zero-2.0.3.tgz",- "integrity": "sha512-5KoIu2Ngpyek75jXodFvnafB6DJgr3u8uuK0LEZJjrU19DrMD3EVERaR8sjz8CCGgpZvxPl9SuE1GMVPFHx1mw==",- "dev": true,- "license": "MIT",- "engines": {- "node": ">= 0.4"- },- "funding": {- "url": "https://github.com/sponsors/ljharb"- }- },- "node_modules/is-number": {- "version": "7.0.0",- "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz",- "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==",- "dev": true,- "license": "MIT",- "engines": {- "node": ">=0.12.0"- }- },- "node_modules/is-number-object": {- "version": "1.1.1",- "resolved": "https://registry.npmjs.org/is-number-object/-/is-number-object-1.1.1.tgz",- "integrity": "sha512-lZhclumE1G6VYD8VHe35wFaIif+CTy5SJIi5+3y4psDgWu4wPDoBhF8NxUOinEc7pHgiTsT6MaBb92rKhhD+Xw==",- "dev": true,- "license": "MIT",- "dependencies": {- "call-bound": "^1.0.3",- "has-tostringtag": "^1.0.2"- },- "engines": {- "node": ">= 0.4"- },- "funding": {- "url": "https://github.com/sponsors/ljharb"- }- },- "node_modules/is-plain-obj": {- "version": "4.1.0",- "resolved": "https://registry.npmjs.org/is-plain-obj/-/is-plain-obj-4.1.0.tgz",- "integrity": "sha512-+Pgi+vMuUNkJyExiMBt5IlFoMyKnr5zhJ4Uspz58WOhBF5QoIZkFyNHIbBAtHwzVAgk5RtndVNsDRN61/mmDqg==",- "license": "MIT",- "engines": {- "node": ">=12"- },- "funding": {- "url": "https://github.com/sponsors/sindresorhus"- }- },- "node_modules/is-regex": {- "version": "1.2.1",- "resolved": "https://registry.npmjs.org/is-regex/-/is-regex-1.2.1.tgz",- "integrity": "sha512-MjYsKHO5O7mCsmRGxWcLWheFqN9DJ/2TmngvjKXihe6efViPqc274+Fx/4fYj/r03+ESvBdTXK0V6tA3rgez1g==",- "dev": true,- "license": "MIT",- "dependencies": {- "call-bound": "^1.0.2",- "gopd": "^1.2.0",- "has-tostringtag": "^1.0.2",- "hasown": "^2.0.2"- },- "engines": {- "node": ">= 0.4"- },- "funding": {- "url": "https://github.com/sponsors/ljharb"- }- },- "node_modules/is-set": {- "version": "2.0.3",- "resolved": "https://registry.npmjs.org/is-set/-/is-set-2.0.3.tgz",- "integrity": "sha512-iPAjerrse27/ygGLxw+EBR9agv9Y6uLeYVJMu+QNCoouJ1/1ri0mGrcWpfCqFZuzzx3WjtwxG098X+n4OuRkPg==",- "dev": true,- "license": "MIT",- "engines": {- "node": ">= 0.4"- },- "funding": {- "url": "https://github.com/sponsors/ljharb"- }- },- "node_modules/is-shared-array-buffer": {- "version": "1.0.4",- "resolved": "https://registry.npmjs.org/is-shared-array-buffer/-/is-shared-array-buffer-1.0.4.tgz",- "integrity": "sha512-ISWac8drv4ZGfwKl5slpHG9OwPNty4jOWPRIhBpxOoD+hqITiwuipOQ2bNthAzwA3B4fIjO4Nln74N0S9byq8A==",- "dev": true,- "license": "MIT",- "dependencies": {- "call-bound": "^1.0.3"- },- "engines": {- "node": ">= 0.4"- },- "funding": {- "url": "https://github.com/sponsors/ljharb"- }- },- "node_modules/is-string": {- "version": "1.1.1",- "resolved": "https://registry.npmjs.org/is-string/-/is-string-1.1.1.tgz",- "integrity": "sha512-BtEeSsoaQjlSPBemMQIrY1MY0uM6vnS1g5fmufYOtnxLGUZM2178PKbhsk7Ffv58IX+ZtcvoGwccYsh0PglkAA==",- "dev": true,- "license": "MIT",- "dependencies": {- "call-bound": "^1.0.3",- "has-tostringtag": "^1.0.2"- },- "engines": {- "node": ">= 0.4"- },- "funding": {- "url": "https://github.com/sponsors/ljharb"- }- },- "node_modules/is-symbol": {- "version": "1.1.1",- "resolved": "https://registry.npmjs.org/is-symbol/-/is-symbol-1.1.1.tgz",- "integrity": "sha512-9gGx6GTtCQM73BgmHQXfDmLtfjjTUDSyoxTCbp5WtoixAhfgsDirWIcVQ/IHpvI5Vgd5i/J5F7B9cN/WlVbC/w==",- "dev": true,- "license": "MIT",- "dependencies": {- "call-bound": "^1.0.2",- "has-symbols": "^1.1.0",- "safe-regex-test": "^1.1.0"- },- "engines": {- "node": ">= 0.4"- },- "funding": {- "url": "https://github.com/sponsors/ljharb"- }- },- "node_modules/is-typed-array": {- "version": "1.1.15",- "resolved": "https://registry.npmjs.org/is-typed-array/-/is-typed-array-1.1.15.tgz",- "integrity": "sha512-p3EcsicXjit7SaskXHs1hA91QxgTw46Fv6EFKKGS5DRFLD8yKnohjF3hxoju94b/OcMZoQukzpPpBE9uLVKzgQ==",- "dev": true,- "license": "MIT",- "dependencies": {- "which-typed-array": "^1.1.16"- },- "engines": {- "node": ">= 0.4"- },- "funding": {- "url": "https://github.com/sponsors/ljharb"- }- },- "node_modules/is-weakmap": {- "version": "2.0.2",- "resolved": "https://registry.npmjs.org/is-weakmap/-/is-weakmap-2.0.2.tgz",- "integrity": "sha512-K5pXYOm9wqY1RgjpL3YTkF39tni1XajUIkawTLUo9EZEVUFga5gSQJF8nNS7ZwJQ02y+1YCNYcMh+HIf1ZqE+w==",- "dev": true,- "license": "MIT",- "engines": {- "node": ">= 0.4"- },- "funding": {- "url": "https://github.com/sponsors/ljharb"- }- },- "node_modules/is-weakref": {- "version": "1.1.1",- "resolved": "https://registry.npmjs.org/is-weakref/-/is-weakref-1.1.1.tgz",- "integrity": "sha512-6i9mGWSlqzNMEqpCp93KwRS1uUOodk2OJ6b+sq7ZPDSy2WuI5NFIxp/254TytR8ftefexkWn5xNiHUNpPOfSew==",- "dev": true,- "license": "MIT",- "dependencies": {- "call-bound": "^1.0.3"- },- "engines": {- "node": ">= 0.4"- },- "funding": {- "url": "https://github.com/sponsors/ljharb"- }- },- "node_modules/is-weakset": {- "version": "2.0.4",- "resolved": "https://registry.npmjs.org/is-weakset/-/is-weakset-2.0.4.tgz",- "integrity": "sha512-mfcwb6IzQyOKTs84CQMrOwW4gQcaTOAWJ0zzJCl2WSPDrWk/OzDaImWFH3djXhb24g4eudZfLRozAvPGw4d9hQ==",- "dev": true,- "license": "MIT",- "dependencies": {- "call-bound": "^1.0.3",- "get-intrinsic": "^1.2.6"- },- "engines": {- "node": ">= 0.4"- },- "funding": {- "url": "https://github.com/sponsors/ljharb"- }- },- "node_modules/isarray": {- "version": "2.0.5",- "resolved": "https://registry.npmjs.org/isarray/-/isarray-2.0.5.tgz",- "integrity": "sha512-xHjhDr3cNBK0BzdUJSPXZntQUx/mwMS5Rw4A7lPJ90XGAO6ISP/ePDNuo0vhqOZU+UD5JoodwCAAoZQd3FeAKw==",- "dev": true,- "license": "MIT"- },- "node_modules/isexe": {- "version": "2.0.0",- "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz",- "integrity": "sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==",- "dev": true,- "license": "ISC"- },- "node_modules/iterator.prototype": {- "version": "1.1.5",- "resolved": "https://registry.npmjs.org/iterator.prototype/-/iterator.prototype-1.1.5.tgz",- "integrity": "sha512-H0dkQoCa3b2VEeKQBOxFph+JAbcrQdE7KC0UkqwpLmv2EC4P41QXP+rqo9wYodACiG5/WM5s9oDApTU8utwj9g==",- "dev": true,- "license": "MIT",- "dependencies": {- "define-data-property": "^1.1.4",- "es-object-atoms": "^1.0.0",- "get-intrinsic": "^1.2.6",- "get-proto": "^1.0.0",- "has-symbols": "^1.1.0",- "set-function-name": "^2.0.2"- },- "engines": {- "node": ">= 0.4"- }- },- "node_modules/jiti": {- "version": "2.7.0",- "resolved": "https://registry.npmjs.org/jiti/-/jiti-2.7.0.tgz",- "integrity": "sha512-AC/7JofJvZGrrneWNaEnJeOLUx+JlGt7tNa0wZiRPT4MY1wmfKjt2+6O2p2uz2+skll8OZZmJMNqeke7kKbNgQ==",- "dev": true,- "license": "MIT",- "bin": {- "jiti": "lib/jiti-cli.mjs"- }- },- "node_modules/js-tokens": {- "version": "4.0.0",- "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz",- "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==",- "dev": true,- "license": "MIT"- },- "node_modules/js-yaml": {- "version": "4.3.2",- "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.3.2.tgz",- "integrity": "sha512-SFNOvSJ+Dgf/9An904Yx+CgSlIPCkIpao4qo51lpee25TIRejdH3rhR4EZMGoNx3/TP3O+wzWuiTFl4sqbltzA==",- "dev": true,- "funding": [- {- "type": "github",- "url": "https://github.com/sponsors/puzrin"- },- {- "type": "github",- "url": "https://github.com/sponsors/nodeca"- }- ],- "license": "MIT",- "dependencies": {- "argparse": "^2.0.1"- },- "bin": {- "js-yaml": "bin/js-yaml.js"- }- },- "node_modules/jsesc": {- "version": "3.1.0",- "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-3.1.0.tgz",- "integrity": "sha512-/sM3dO2FOzXjKQhJuo0Q173wf2KOo8t4I8vHy6lF9poUp7bKT0/NHE8fPX23PwfhnykfqnC2xRxOnVw5XuGIaA==",- "dev": true,- "license": "MIT",- "bin": {- "jsesc": "bin/jsesc"- },- "engines": {- "node": ">=6"- }- },- "node_modules/json-buffer": {- "version": "3.0.1",- "resolved": "https://registry.npmjs.org/json-buffer/-/json-buffer-3.0.1.tgz",- "integrity": "sha512-4bV5BfR2mqfQTJm+V5tPPdf+ZpuhiIvTuAB5g8kcrXOZpTT/QwwVRWBywX1ozr6lEuPdbHxwaJlm9G6mI2sfSQ==",- "dev": true,- "license": "MIT"- },- "node_modules/json-schema-traverse": {- "version": "0.4.1",- "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz",- "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==",- "dev": true,- "license": "MIT"- },- "node_modules/json-stable-stringify-without-jsonify": {- "version": "1.0.1",- "resolved": "https://registry.npmjs.org/json-stable-stringify-without-jsonify/-/json-stable-stringify-without-jsonify-1.0.1.tgz",- "integrity": "sha512-Bdboy+l7tA3OGW6FjyFHWkP5LuByj1Tk33Ljyq0axyzdk9//JSi2u3fP1QSmd1KNwq6VOKYGlAu87CisVir6Pw==",- "dev": true,- "license": "MIT"- },- "node_modules/json5": {- "version": "2.2.3",- "resolved": "https://registry.npmjs.org/json5/-/json5-2.2.3.tgz",- "integrity": "sha512-XmOWe7eyHYH14cLdVPoyg+GOH3rYX++KpzrylJwSW98t3Nk+U8XOl8FWKOgwtzdb8lXGf6zYwDUzeHMWfxasyg==",- "dev": true,- "license": "MIT",- "bin": {- "json5": "lib/cli.js"- },- "engines": {- "node": ">=6"- }- },- "node_modules/jsx-ast-utils": {- "version": "3.3.5",- "resolved": "https://registry.npmjs.org/jsx-ast-utils/-/jsx-ast-utils-3.3.5.tgz",- "integrity": "sha512-ZZow9HBI5O6EPgSJLUb8n2NKgmVWTwCvHGwFuJlMjvLFqlGG6pjirPhtdsseaLZjSibD8eegzmYpUZwoIlj2cQ==",- "dev": true,- "license": "MIT",- "dependencies": {- "array-includes": "^3.1.6",- "array.prototype.flat": "^1.3.1",- "object.assign": "^4.1.4",- "object.values": "^1.1.6"- },- "engines": {- "node": ">=4.0"- }- },- "node_modules/keyv": {- "version": "4.5.4",- "resolved": "https://registry.npmjs.org/keyv/-/keyv-4.5.4.tgz",- "integrity": "sha512-oxVHkHR/EJf2CNXnWxRLW6mg7JyCCUcG0DtEGmL2ctUo1PNTin1PUil+r/+4r5MpVgC/fn1kjsx7mjSujKqIpw==",- "dev": true,- "license": "MIT",- "dependencies": {- "json-buffer": "3.0.1"- }- },- "node_modules/language-subtag-registry": {- "version": "0.3.23",- "resolved": "https://registry.npmjs.org/language-subtag-registry/-/language-subtag-registry-0.3.23.tgz",- "integrity": "sha512-0K65Lea881pHotoGEa5gDlMxt3pctLi2RplBb7Ezh4rRdLEOtgi7n4EwK9lamnUCkKBqaeKRVebTq6BAxSkpXQ==",- "dev": true,- "license": "CC0-1.0"- },- "node_modules/language-tags": {- "version": "1.0.9",- "resolved": "https://registry.npmjs.org/language-tags/-/language-tags-1.0.9.tgz",- "integrity": "sha512-MbjN408fEndfiQXbFQ1vnd+1NoLDsnQW41410oQBXiyXDMYH5z505juWa4KUE1LqxRC7DgOgZDbKLxHIwm27hA==",- "dev": true,- "license": "MIT",- "dependencies": {- "language-subtag-registry": "^0.3.20"- },- "engines": {- "node": ">=0.10"- }- },- "node_modules/levn": {- "version": "0.4.1",- "resolved": "https://registry.npmjs.org/levn/-/levn-0.4.1.tgz",- "integrity": "sha512-+bT2uH4E5LGE7h/n3evcS/sQlJXCpIp6ym8OWJ5eV6+67Dsql/LaaT7qJBAt2rzfoa/5QBGBhxDix1dMt2kQKQ==",- "dev": true,- "license": "MIT",- "dependencies": {- "prelude-ls": "^1.2.1",- "type-check": "~0.4.0"- },- "engines": {- "node": ">= 0.8.0"- }- },- "node_modules/lightningcss": {- "version": "1.32.0",- "resolved": "https://registry.npmjs.org/lightningcss/-/lightningcss-1.32.0.tgz",- "integrity": "sha512-NXYBzinNrblfraPGyrbPoD19C1h9lfI/1mzgWYvXUTe414Gz/X1FD2XBZSZM7rRTrMA8JL3OtAaGifrIKhQ5yQ==",- "dev": true,- "license": "MPL-2.0",- "dependencies": {- "detect-libc": "^2.0.3"- },- "engines": {- "node": ">= 12.0.0"- },- "funding": {- "type": "opencollective",- "url": "https://opencollective.com/parcel"- },- "optionalDependencies": {- "lightningcss-android-arm64": "1.32.0",- "lightningcss-darwin-arm64": "1.32.0",- "lightningcss-darwin-x64": "1.32.0",- "lightningcss-freebsd-x64": "1.32.0",- "lightningcss-linux-arm-gnueabihf": "1.32.0",- "lightningcss-linux-arm64-gnu": "1.32.0",- "lightningcss-linux-arm64-musl": "1.32.0",- "lightningcss-linux-x64-gnu": "1.32.0",- "lightningcss-linux-x64-musl": "1.32.0",- "lightningcss-win32-arm64-msvc": "1.32.0",- "lightningcss-win32-x64-msvc": "1.32.0"- }- },- "node_modules/lightningcss-android-arm64": {- "version": "1.32.0",- "resolved": "https://registry.npmjs.org/lightningcss-android-arm64/-/lightningcss-android-arm64-1.32.0.tgz",- "integrity": "sha512-YK7/ClTt4kAK0vo6w3X+Pnm0D2cf2vPHbhOXdoNti1Ga0al1P4TBZhwjATvjNwLEBCnKvjJc2jQgHXH0NEwlAg==",- "cpu": [- "arm64"- ],- "dev": true,- "license": "MPL-2.0",- "optional": true,- "os": [- "android"- ],- "engines": {- "node": ">= 12.0.0"- },- "funding": {- "type": "opencollective",- "url": "https://opencollective.com/parcel"- }- },- "node_modules/lightningcss-darwin-arm64": {- "version": "1.32.0",- "resolved": "https://registry.npmjs.org/lightningcss-darwin-arm64/-/lightningcss-darwin-arm64-1.32.0.tgz",- "integrity": "sha512-RzeG9Ju5bag2Bv1/lwlVJvBE3q6TtXskdZLLCyfg5pt+HLz9BqlICO7LZM7VHNTTn/5PRhHFBSjk5lc4cmscPQ==",- "cpu": [- "arm64"- ],- "dev": true,- "license": "MPL-2.0",- "optional": true,- "os": [- "darwin"- ],- "engines": {- "node": ">= 12.0.0"- },- "funding": {- "type": "opencollective",- "url": "https://opencollective.com/parcel"- }- },- "node_modules/lightningcss-darwin-x64": {- "version": "1.32.0",- "resolved": "https://registry.npmjs.org/lightningcss-darwin-x64/-/lightningcss-darwin-x64-1.32.0.tgz",- "integrity": "sha512-U+QsBp2m/s2wqpUYT/6wnlagdZbtZdndSmut/NJqlCcMLTWp5muCrID+K5UJ6jqD2BFshejCYXniPDbNh73V8w==",- "cpu": [- "x64"- ],- "dev": true,- "license": "MPL-2.0",- "optional": true,- "os": [- "darwin"- ],- "engines": {- "node": ">= 12.0.0"- },- "funding": {- "type": "opencollective",- "url": "https://opencollective.com/parcel"- }- },- "node_modules/lightningcss-freebsd-x64": {- "version": "1.32.0",- "resolved": "https://registry.npmjs.org/lightningcss-freebsd-x64/-/lightningcss-freebsd-x64-1.32.0.tgz",- "integrity": "sha512-JCTigedEksZk3tHTTthnMdVfGf61Fky8Ji2E4YjUTEQX14xiy/lTzXnu1vwiZe3bYe0q+SpsSH/CTeDXK6WHig==",- "cpu": [- "x64"- ],- "dev": true,- "license": "MPL-2.0",- "optional": true,- "os": [- "freebsd"- ],- "engines": {- "node": ">= 12.0.0"- },- "funding": {- "type": "opencollective",- "url": "https://opencollective.com/parcel"- }- },- "node_modules/lightningcss-linux-arm-gnueabihf": {- "version": "1.32.0",- "resolved": "https://registry.npmjs.org/lightningcss-linux-arm-gnueabihf/-/lightningcss-linux-arm-gnueabihf-1.32.0.tgz",- "integrity": "sha512-x6rnnpRa2GL0zQOkt6rts3YDPzduLpWvwAF6EMhXFVZXD4tPrBkEFqzGowzCsIWsPjqSK+tyNEODUBXeeVHSkw==",- "cpu": [- "arm"- ],- "dev": true,- "license": "MPL-2.0",- "optional": true,- "os": [- "linux"- ],- "engines": {- "node": ">= 12.0.0"- },- "funding": {- "type": "opencollective",- "url": "https://opencollective.com/parcel"- }- },- "node_modules/lightningcss-linux-arm64-gnu": {- "version": "1.32.0",- "resolved": "https://registry.npmjs.org/lightningcss-linux-arm64-gnu/-/lightningcss-linux-arm64-gnu-1.32.0.tgz",- "integrity": "sha512-0nnMyoyOLRJXfbMOilaSRcLH3Jw5z9HDNGfT/gwCPgaDjnx0i8w7vBzFLFR1f6CMLKF8gVbebmkUN3fa/kQJpQ==",- "cpu": [- "arm64"- ],- "dev": true,- "libc": [- "glibc"- ],- "license": "MPL-2.0",- "optional": true,- "os": [- "linux"- ],- "engines": {- "node": ">= 12.0.0"- },- "funding": {- "type": "opencollective",- "url": "https://opencollective.com/parcel"- }- },- "node_modules/lightningcss-linux-arm64-musl": {- "version": "1.32.0",- "resolved": "https://registry.npmjs.org/lightningcss-linux-arm64-musl/-/lightningcss-linux-arm64-musl-1.32.0.tgz",- "integrity": "sha512-UpQkoenr4UJEzgVIYpI80lDFvRmPVg6oqboNHfoH4CQIfNA+HOrZ7Mo7KZP02dC6LjghPQJeBsvXhJod/wnIBg==",- "cpu": [- "arm64"- ],- "dev": true,- "libc": [- "musl"- ],- "license": "MPL-2.0",- "optional": true,- "os": [- "linux"- ],- "engines": {- "node": ">= 12.0.0"- },- "funding": {- "type": "opencollective",- "url": "https://opencollective.com/parcel"- }- },- "node_modules/lightningcss-linux-x64-gnu": {- "version": "1.32.0",- "resolved": "https://registry.npmjs.org/lightningcss-linux-x64-gnu/-/lightningcss-linux-x64-gnu-1.32.0.tgz",- "integrity": "sha512-V7Qr52IhZmdKPVr+Vtw8o+WLsQJYCTd8loIfpDaMRWGUZfBOYEJeyJIkqGIDMZPwPx24pUMfwSxxI8phr/MbOA==",- "cpu": [- "x64"- ],- "dev": true,- "libc": [- "glibc"- ],- "license": "MPL-2.0",- "optional": true,- "os": [- "linux"- ],- "engines": {- "node": ">= 12.0.0"- },- "funding": {- "type": "opencollective",- "url": "https://opencollective.com/parcel"- }- },- "node_modules/lightningcss-linux-x64-musl": {- "version": "1.32.0",- "resolved": "https://registry.npmjs.org/lightningcss-linux-x64-musl/-/lightningcss-linux-x64-musl-1.32.0.tgz",- "integrity": "sha512-bYcLp+Vb0awsiXg/80uCRezCYHNg1/l3mt0gzHnWV9XP1W5sKa5/TCdGWaR/zBM2PeF/HbsQv/j2URNOiVuxWg==",- "cpu": [- "x64"- ],- "dev": true,- "libc": [- "musl"- ],- "license": "MPL-2.0",- "optional": true,- "os": [- "linux"- ],- "engines": {- "node": ">= 12.0.0"- },- "funding": {- "type": "opencollective",- "url": "https://opencollective.com/parcel"- }- },- "node_modules/lightningcss-win32-arm64-msvc": {- "version": "1.32.0",- "resolved": "https://registry.npmjs.org/lightningcss-win32-arm64-msvc/-/lightningcss-win32-arm64-msvc-1.32.0.tgz",- "integrity": "sha512-8SbC8BR40pS6baCM8sbtYDSwEVQd4JlFTOlaD3gWGHfThTcABnNDBda6eTZeqbofalIJhFx0qKzgHJmcPTnGdw==",- "cpu": [- "arm64"- ],- "dev": true,- "license": "MPL-2.0",- "optional": true,- "os": [- "win32"- ],- "engines": {- "node": ">= 12.0.0"- },- "funding": {- "type": "opencollective",- "url": "https://opencollective.com/parcel"- }- },- "node_modules/lightningcss-win32-x64-msvc": {- "version": "1.32.0",- "resolved": "https://registry.npmjs.org/lightningcss-win32-x64-msvc/-/lightningcss-win32-x64-msvc-1.32.0.tgz",- "integrity": "sha512-Amq9B/SoZYdDi1kFrojnoqPLxYhQ4Wo5XiL8EVJrVsB8ARoC1PWW6VGtT0WKCemjy8aC+louJnjS7U18x3b06Q==",- "cpu": [- "x64"- ],- "dev": true,- "license": "MPL-2.0",- "optional": true,- "os": [- "win32"- ],- "engines": {- "node": ">= 12.0.0"- },- "funding": {- "type": "opencollective",- "url": "https://opencollective.com/parcel"- }- },- "node_modules/linkifyjs": {- "version": "4.3.3",- "resolved": "https://registry.npmjs.org/linkifyjs/-/linkifyjs-4.3.3.tgz",- "integrity": "sha512-P8aEP5U/D1/IlTY2OeYsErdwh9bGuLE30NcXtKEjgdHcahveQoQwM2yZNsioQHsWFz0P7KKudisbrzCgR0sDHg==",- "license": "MIT"- },- "node_modules/locate-path": {- "version": "6.0.0",- "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-6.0.0.tgz",- "integrity": "sha512-iPZK6eYjbxRu3uB4/WZ3EsEIMJFMqAoopl3R+zuq0UjcAm/MO6KCweDgPfP3elTztoKP3KtnVHxTn2NHBSDVUw==",- "dev": true,- "license": "MIT",- "dependencies": {- "p-locate": "^5.0.0"- },- "engines": {- "node": ">=10"- },- "funding": {- "url": "https://github.com/sponsors/sindresorhus"- }- },- "node_modules/lodash.merge": {- "version": "4.6.2",- "resolved": "https://registry.npmjs.org/lodash.merge/-/lodash.merge-4.6.2.tgz",- "integrity": "sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ==",- "dev": true,- "license": "MIT"- },- "node_modules/longest-streak": {- "version": "3.1.0",- "resolved": "https://registry.npmjs.org/longest-streak/-/longest-streak-3.1.0.tgz",- "integrity": "sha512-9Ri+o0JYgehTaVBBDoMqIl8GXtbWg711O3srftcHhZ0dqnETqLaoIK0x17fUw9rFSlK/0NlsKe0Ahhyl5pXE2g==",- "license": "MIT",- "funding": {- "type": "github",- "url": "https://github.com/sponsors/wooorm"- }- },- "node_modules/loose-envify": {- "version": "1.4.0",- "resolved": "https://registry.npmjs.org/loose-envify/-/loose-envify-1.4.0.tgz",- "integrity": "sha512-lyuxPGr/Wfhrlem2CL/UcnUc1zcqKAImBDzukY7Y5F/yQiNdko6+fRLevlw1HgMySw7f611UIY408EtxRSoK3Q==",- "dev": true,- "license": "MIT",- "dependencies": {- "js-tokens": "^3.0.0 || ^4.0.0"- },- "bin": {- "loose-envify": "cli.js"- }- },- "node_modules/lru-cache": {- "version": "5.1.1",- "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-5.1.1.tgz",- "integrity": "sha512-KpNARQA3Iwv+jTA0utUVVbrh+Jlrr1Fv0e56GGzAFOXN7dk/FviaDW8LHmK52DlcH4WP2n6gI8vN1aesBFgo9w==",- "dev": true,- "license": "ISC",- "dependencies": {- "yallist": "^3.0.2"- }- },- "node_modules/magic-string": {- "version": "0.30.21",- "resolved": "https://registry.npmjs.org/magic-string/-/magic-string-0.30.21.tgz",- "integrity": "sha512-vd2F4YUyEXKGcLHoq+TEyCjxueSeHnFxyyjNp80yg0XV4vUhnDer/lvvlqM/arB5bXQN5K2/3oinyCRyx8T2CQ==",- "dev": true,- "license": "MIT",- "dependencies": {- "@jridgewell/sourcemap-codec": "^1.5.5"- }- },- "node_modules/markdown-table": {- "version": "3.0.4",- "resolved": "https://registry.npmjs.org/markdown-table/-/markdown-table-3.0.4.tgz",- "integrity": "sha512-wiYz4+JrLyb/DqW2hkFJxP7Vd7JuTDm77fvbM8VfEQdmSMqcImWeeRbHwZjBjIFki/VaMK2BhFi7oUUZeM5bqw==",- "license": "MIT",- "funding": {- "type": "github",- "url": "https://github.com/sponsors/wooorm"- }- },- "node_modules/marked": {- "version": "17.0.6",- "resolved": "https://registry.npmjs.org/marked/-/marked-17.0.6.tgz",- "integrity": "sha512-gB0gkNafnonOw0obSTEGZTT86IuhILt2Wfx0mWH/1Au83kybTayroZ/V6nS25mN7u8ASy+5fMhgB3XPNrOZdmA==",- "license": "MIT",- "bin": {- "marked": "bin/marked.js"- },- "engines": {- "node": ">= 20"- }- },- "node_modules/math-intrinsics": {- "version": "1.1.0",- "resolved": "https://registry.npmjs.org/math-intrinsics/-/math-intrinsics-1.1.0.tgz",- "integrity": "sha512-/IXtbwEk5HTPyEwyKX6hGkYXxM9nbj64B+ilVJnC/R6B0pH5G4V3b0pVbL7DBj4tkhBAppbQUlf6F6Xl9LHu1g==",- "dev": true,- "license": "MIT",- "engines": {- "node": ">= 0.4"- }- },- "node_modules/mdast-util-find-and-replace": {- "version": "3.0.3",- "resolved": "https://registry.npmjs.org/mdast-util-find-and-replace/-/mdast-util-find-and-replace-3.0.3.tgz",- "integrity": "sha512-xPgpDNl0/OXHsI7TlaIs22lWnH3KlpvZdXG1ET/m/YT2Hhdkx8lJV4kLphE6l9simyM4KPDFBwas08BgEob6Jw==",- "license": "MIT",- "dependencies": {- "@types/mdast": "^4.0.0",- "escape-string-regexp": "^5.0.0",- "unist-util-is": "^6.0.0",- "unist-util-visit-parents": "^6.0.0"- },- "funding": {- "type": "opencollective",- "url": "https://opencollective.com/unified"- }- },- "node_modules/mdast-util-find-and-replace/node_modules/escape-string-regexp": {- "version": "5.0.0",- "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-5.0.0.tgz",- "integrity": "sha512-/veY75JbMK4j1yjvuUxuVsiS/hr/4iHs9FTT6cgTexxdE0Ly/glccBAkloH/DofkjRbZU3bnoj38mOmhkZ0lHw==",- "license": "MIT",- "engines": {- "node": ">=12"- },- "funding": {- "url": "https://github.com/sponsors/sindresorhus"- }- },- "node_modules/mdast-util-from-markdown": {- "version": "2.1.0",- "resolved": "https://registry.npmjs.org/mdast-util-from-markdown/-/mdast-util-from-markdown-2.1.0.tgz",- "integrity": "sha512-KRLgmPaP2H1ul2bpoJkOS+9pAcDAAj9Nu1mqLnh8NLeJG5tlvj42TH80PIGBpROWlRXLk0lDrWNuZCFy/tsB4A==",- "license": "MIT",- "dependencies": {- "@types/mdast": "^4.0.0",- "@types/unist": "^3.0.0",- "decode-named-character-reference": "^1.0.0",- "devlop": "^1.0.0",- "mdast-util-to-string": "^4.0.0",- "micromark": "^4.0.0",- "micromark-util-decode-numeric-character-reference": "^2.0.0",- "micromark-util-decode-string": "^2.0.0",- "micromark-util-normalize-identifier": "^2.0.0",- "micromark-util-symbol": "^2.0.0",- "micromark-util-types": "^2.0.0",- "unist-util-stringify-position": "^4.0.0"- },- "funding": {- "type": "opencollective",- "url": "https://opencollective.com/unified"- }- },- "node_modules/mdast-util-gfm": {- "version": "3.1.0",- "resolved": "https://registry.npmjs.org/mdast-util-gfm/-/mdast-util-gfm-3.1.0.tgz",- "integrity": "sha512-0ulfdQOM3ysHhCJ1p06l0b0VKlhU0wuQs3thxZQagjcjPrlFRqY215uZGHHJan9GEAXd9MbfPjFJz+qMkVR6zQ==",- "license": "MIT",- "dependencies": {- "mdast-util-from-markdown": "^2.0.0",- "mdast-util-gfm-autolink-literal": "^2.0.0",- "mdast-util-gfm-footnote": "^2.0.0",- "mdast-util-gfm-strikethrough": "^2.0.0",- "mdast-util-gfm-table": "^2.0.0",- "mdast-util-gfm-task-list-item": "^2.0.0",- "mdast-util-to-markdown": "^2.0.0"- },- "funding": {- "type": "opencollective",- "url": "https://opencollective.com/unified"- }- },- "node_modules/mdast-util-gfm-autolink-literal": {- "version": "2.0.1",- "resolved": "https://registry.npmjs.org/mdast-util-gfm-autolink-literal/-/mdast-util-gfm-autolink-literal-2.0.1.tgz",- "integrity": "sha512-5HVP2MKaP6L+G6YaxPNjuL0BPrq9orG3TsrZ9YXbA3vDw/ACI4MEsnoDpn6ZNm7GnZgtAcONJyPhOP8tNJQavQ==",- "license": "MIT",- "dependencies": {- "@types/mdast": "^4.0.0",- "ccount": "^2.0.0",- "devlop": "^1.0.0",- "mdast-util-find-and-replace": "^3.0.0",- "micromark-util-character": "^2.0.0"- },- "funding": {- "type": "opencollective",- "url": "https://opencollective.com/unified"- }- },- "node_modules/mdast-util-gfm-footnote": {- "version": "2.1.0",- "resolved": "https://registry.npmjs.org/mdast-util-gfm-footnote/-/mdast-util-gfm-footnote-2.1.0.tgz",- "integrity": "sha512-sqpDWlsHn7Ac9GNZQMeUzPQSMzR6Wv0WKRNvQRg0KqHh02fpTz69Qc1QSseNX29bhz1ROIyNyxExfawVKTm1GQ==",- "license": "MIT",- "dependencies": {- "@types/mdast": "^4.0.0",- "devlop": "^1.1.0",- "mdast-util-from-markdown": "^2.0.0",- "mdast-util-to-markdown": "^2.0.0",- "micromark-util-normalize-identifier": "^2.0.0"- },- "funding": {- "type": "opencollective",- "url": "https://opencollective.com/unified"- }- },- "node_modules/mdast-util-gfm-strikethrough": {- "version": "2.0.1",- "resolved": "https://registry.npmjs.org/mdast-util-gfm-strikethrough/-/mdast-util-gfm-strikethrough-2.0.1.tgz",- "integrity": "sha512-OuJHqvr455pwu2OaOrir7dbzqs4jlWKOtlu9L6GjcIjjQwNyw02VntQsr/Ek6/A13vgnXfUhBekWRUP1OkNivw==",- "license": "MIT",- "dependencies": {- "@types/mdast": "^4.0.0",- "mdast-util-from-markdown": "^2.0.0",- "mdast-util-to-markdown": "^2.0.0"- },- "funding": {- "type": "opencollective",- "url": "https://opencollective.com/unified"- }- },- "node_modules/mdast-util-gfm-table": {- "version": "2.0.0",- "resolved": "https://registry.npmjs.org/mdast-util-gfm-table/-/mdast-util-gfm-table-2.0.0.tgz",- "integrity": "sha512-78UEvebzz/rJIxLvE7ZtDd/vIQ0RHv+3Mh5DR96p7cS7HsBhYIICDBCu8csTNWNO6tBWfqXPWekRuj2FNOGOZg==",- "license": "MIT",- "dependencies": {- "@types/mdast": "^4.0.0",- "devlop": "^1.0.0",- "markdown-table": "^3.0.0",- "mdast-util-from-markdown": "^2.0.0",- "mdast-util-to-markdown": "^2.0.0"- },- "funding": {- "type": "opencollective",- "url": "https://opencollective.com/unified"- }- },- "node_modules/mdast-util-gfm-task-list-item": {- "version": "2.0.0",- "resolved": "https://registry.npmjs.org/mdast-util-gfm-task-list-item/-/mdast-util-gfm-task-list-item-2.0.0.tgz",- "integrity": "sha512-IrtvNvjxC1o06taBAVJznEnkiHxLFTzgonUdy8hzFVeDun0uTjxxrRGVaNFqkU1wJR3RBPEfsxmU6jDWPofrTQ==",- "license": "MIT",- "dependencies": {- "@types/mdast": "^4.0.0",- "devlop": "^1.0.0",- "mdast-util-from-markdown": "^2.0.0",- "mdast-util-to-markdown": "^2.0.0"- },- "funding": {- "type": "opencollective",- "url": "https://opencollective.com/unified"- }- },- "node_modules/mdast-util-mdx-expression": {- "version": "2.0.1",- "resolved": "https://registry.npmjs.org/mdast-util-mdx-expression/-/mdast-util-mdx-expression-2.0.1.tgz",- "integrity": "sha512-J6f+9hUp+ldTZqKRSg7Vw5V6MqjATc+3E4gf3CFNcuZNWD8XdyI6zQ8GqH7f8169MM6P7hMBRDVGnn7oHB9kXQ==",- "license": "MIT",- "dependencies": {- "@types/estree-jsx": "^1.0.0",- "@types/hast": "^3.0.0",- "@types/mdast": "^4.0.0",- "devlop": "^1.0.0",- "mdast-util-from-markdown": "^2.0.0",- "mdast-util-to-markdown": "^2.0.0"- },- "funding": {- "type": "opencollective",- "url": "https://opencollective.com/unified"- }- },- "node_modules/mdast-util-mdx-jsx": {- "version": "3.2.0",- "resolved": "https://registry.npmjs.org/mdast-util-mdx-jsx/-/mdast-util-mdx-jsx-3.2.0.tgz",- "integrity": "sha512-lj/z8v0r6ZtsN/cGNNtemmmfoLAFZnjMbNyLzBafjzikOM+glrjNHPlf6lQDOTccj9n5b0PPihEBbhneMyGs1Q==",- "license": "MIT",- "dependencies": {- "@types/estree-jsx": "^1.0.0",- "@types/hast": "^3.0.0",- "@types/mdast": "^4.0.0",- "@types/unist": "^3.0.0",- "ccount": "^2.0.0",- "devlop": "^1.1.0",- "mdast-util-from-markdown": "^2.0.0",- "mdast-util-to-markdown": "^2.0.0",- "parse-entities": "^4.0.0",- "stringify-entities": "^4.0.0",- "unist-util-stringify-position": "^4.0.0",- "vfile-message": "^4.0.0"- },- "funding": {- "type": "opencollective",- "url": "https://opencollective.com/unified"- }- },- "node_modules/mdast-util-mdxjs-esm": {- "version": "2.0.1",- "resolved": "https://registry.npmjs.org/mdast-util-mdxjs-esm/-/mdast-util-mdxjs-esm-2.0.1.tgz",- "integrity": "sha512-EcmOpxsZ96CvlP03NghtH1EsLtr0n9Tm4lPUJUBccV9RwUOneqSycg19n5HGzCf+10LozMRSObtVr3ee1WoHtg==",- "license": "MIT",- "dependencies": {- "@types/estree-jsx": "^1.0.0",- "@types/hast": "^3.0.0",- "@types/mdast": "^4.0.0",- "devlop": "^1.0.0",- "mdast-util-from-markdown": "^2.0.0",- "mdast-util-to-markdown": "^2.0.0"- },- "funding": {- "type": "opencollective",- "url": "https://opencollective.com/unified"- }- },- "node_modules/mdast-util-phrasing": {- "version": "4.1.0",- "resolved": "https://registry.npmjs.org/mdast-util-phrasing/-/mdast-util-phrasing-4.1.0.tgz",- "integrity": "sha512-TqICwyvJJpBwvGAMZjj4J2n0X8QWp21b9l0o7eXyVJ25YNWYbJDVIyD1bZXE6WtV6RmKJVYmQAKWa0zWOABz2w==",- "license": "MIT",- "dependencies": {- "@types/mdast": "^4.0.0",- "unist-util-is": "^6.0.0"- },- "funding": {- "type": "opencollective",- "url": "https://opencollective.com/unified"- }- },- "node_modules/mdast-util-to-hast": {- "version": "13.2.1",- "resolved": "https://registry.npmjs.org/mdast-util-to-hast/-/mdast-util-to-hast-13.2.1.tgz",- "integrity": "sha512-cctsq2wp5vTsLIcaymblUriiTcZd0CwWtCbLvrOzYCDZoWyMNV8sZ7krj09FSnsiJi3WVsHLM4k6Dq/yaPyCXA==",- "license": "MIT",- "dependencies": {- "@types/hast": "^3.0.0",- "@types/mdast": "^4.0.0",- "@ungap/structured-clone": "^1.0.0",- "devlop": "^1.0.0",- "micromark-util-sanitize-uri": "^2.0.0",- "trim-lines": "^3.0.0",- "unist-util-position": "^5.0.0",- "unist-util-visit": "^5.0.0",- "vfile": "^6.0.0"- },- "funding": {- "type": "opencollective",- "url": "https://opencollective.com/unified"- }- },- "node_modules/mdast-util-to-markdown": {- "version": "2.2.0",- "resolved": "https://registry.npmjs.org/mdast-util-to-markdown/-/mdast-util-to-markdown-2.2.0.tgz",- "integrity": "sha512-2Jn/ADrHFFyyniBMi0bncTbJqU78K3/TEYvzvwrWWzD9MYPUa/Gm4r3nOeKFQg/PDM5BsbDYdc8ackW4NTY6NA==",- "license": "MIT",- "dependencies": {- "@types/mdast": "^4.0.0",- "@types/unist": "^3.0.0",- "longest-streak": "^3.0.0",- "mdast-util-phrasing": "^4.0.0",- "mdast-util-to-string": "^4.0.0",- "micromark-util-character": "^2.0.0",- "micromark-util-classify-character": "^2.0.0",- "micromark-util-decode-string": "^2.0.0",- "micromark-util-html-tag-name": "^2.0.0",- "unist-util-visit": "^5.0.0",- "zwitch": "^2.0.0"- },- "funding": {- "type": "opencollective",- "url": "https://opencollective.com/unified"- }- },- "node_modules/mdast-util-to-string": {- "version": "4.0.0",- "resolved": "https://registry.npmjs.org/mdast-util-to-string/-/mdast-util-to-string-4.0.0.tgz",- "integrity": "sha512-0H44vDimn51F0YwvxSJSm0eCDOJTRlmN0R1yBh4HLj9wiV1Dn0QoXGbvFAWj2hSItVTlCmBF1hqKlIyUBVFLPg==",- "license": "MIT",- "dependencies": {- "@types/mdast": "^4.0.0"- },- "funding": {- "type": "opencollective",- "url": "https://opencollective.com/unified"- }- },- "node_modules/merge2": {- "version": "1.4.1",- "resolved": "https://registry.npmjs.org/merge2/-/merge2-1.4.1.tgz",- "integrity": "sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==",- "dev": true,- "license": "MIT",- "engines": {- "node": ">= 8"- }- },- "node_modules/micromark": {- "version": "4.0.3",- "resolved": "https://registry.npmjs.org/micromark/-/micromark-4.0.3.tgz",- "integrity": "sha512-oGYfQzHSG5dOMovQcJ3fyTmZlWAWpi0XA0sJwJs+i6OT88o1+Jtw/8z0CmdowSLxGhhFK89rQ/oXph/wN02PNw==",- "funding": [- {- "type": "GitHub Sponsors",- "url": "https://github.com/sponsors/unifiedjs"- },- {- "type": "OpenCollective",- "url": "https://opencollective.com/unified"- }- ],- "license": "MIT",- "dependencies": {- "@types/debug": "^4.0.0",- "debug": "^4.0.0",- "decode-named-character-reference": "^1.0.0",- "devlop": "^1.0.0",- "micromark-core-commonmark": "^2.0.0",- "micromark-factory-space": "^2.0.0",- "micromark-util-character": "^2.0.0",- "micromark-util-chunked": "^2.0.0",- "micromark-util-combine-extensions": "^2.0.0",- "micromark-util-decode-numeric-character-reference": "^2.0.0",- "micromark-util-edit-map": "^1.0.0",- "micromark-util-encode": "^2.0.0",- "micromark-util-normalize-identifier": "^2.0.0",- "micromark-util-resolve-all": "^2.0.0",- "micromark-util-sanitize-uri": "^2.0.0",- "micromark-util-subtokenize": "^2.0.0",- "micromark-util-symbol": "^2.0.0",- "micromark-util-types": "^2.0.0"- }- },- "node_modules/micromark-core-commonmark": {- "version": "2.0.4",- "resolved": "https://registry.npmjs.org/micromark-core-commonmark/-/micromark-core-commonmark-2.0.4.tgz",- "integrity": "sha512-wxEeE8v8XVvOrxn1TZj74qYhAtTQsSqufHVS3uNVyT1MupXxhyaHk8/9xDNPh9BmL77QNDgWTkZ3RsYHB2ry7w==",- "funding": [- {- "type": "GitHub Sponsors",- "url": "https://github.com/sponsors/unifiedjs"- },- {- "type": "OpenCollective",- "url": "https://opencollective.com/unified"- }- ],- "license": "MIT",- "dependencies": {- "decode-named-character-reference": "^1.0.0",- "devlop": "^1.0.0",- "micromark-factory-destination": "^2.0.0",- "micromark-factory-label": "^2.0.0",- "micromark-factory-space": "^2.1.0",- "micromark-factory-title": "^2.0.0",- "micromark-factory-whitespace": "^2.0.0",- "micromark-util-character": "^2.0.0",- "micromark-util-chunked": "^2.0.0",- "micromark-util-classify-character": "^2.0.0",- "micromark-util-edit-map": "^1.0.0",- "micromark-util-html-tag-name": "^2.0.0",- "micromark-util-normalize-identifier": "^2.0.0",- "micromark-util-resolve-all": "^2.0.0",- "micromark-util-subtokenize": "^2.0.0",- "micromark-util-symbol": "^2.0.0",- "micromark-util-types": "^2.0.3"- }- },- "node_modules/micromark-extension-gfm": {- "version": "3.0.0",- "resolved": "https://registry.npmjs.org/micromark-extension-gfm/-/micromark-extension-gfm-3.0.0.tgz",- "integrity": "sha512-vsKArQsicm7t0z2GugkCKtZehqUm31oeGBV/KVSorWSy8ZlNAv7ytjFhvaryUiCUJYqs+NoE6AFhpQvBTM6Q4w==",- "license": "MIT",- "dependencies": {- "micromark-extension-gfm-autolink-literal": "^2.0.0",- "micromark-extension-gfm-footnote": "^2.0.0",- "micromark-extension-gfm-strikethrough": "^2.0.0",- "micromark-extension-gfm-table": "^2.0.0",- "micromark-extension-gfm-tagfilter": "^2.0.0",- "micromark-extension-gfm-task-list-item": "^2.0.0",- "micromark-util-combine-extensions": "^2.0.0",- "micromark-util-types": "^2.0.0"- },- "funding": {- "type": "opencollective",- "url": "https://opencollective.com/unified"- }- },- "node_modules/micromark-extension-gfm-autolink-literal": {- "version": "2.1.0",- "resolved": "https://registry.npmjs.org/micromark-extension-gfm-autolink-literal/-/micromark-extension-gfm-autolink-literal-2.1.0.tgz",- "integrity": "sha512-oOg7knzhicgQ3t4QCjCWgTmfNhvQbDDnJeVu9v81r7NltNCVmhPy1fJRX27pISafdjL+SVc4d3l48Gb6pbRypw==",- "license": "MIT",- "dependencies": {- "micromark-util-character": "^2.0.0",- "micromark-util-sanitize-uri": "^2.0.0",- "micromark-util-symbol": "^2.0.0",- "micromark-util-types": "^2.0.0"- },- "funding": {- "type": "opencollective",- "url": "https://opencollective.com/unified"- }- },- "node_modules/micromark-extension-gfm-footnote": {- "version": "2.1.0",- "resolved": "https://registry.npmjs.org/micromark-extension-gfm-footnote/-/micromark-extension-gfm-footnote-2.1.0.tgz",- "integrity": "sha512-/yPhxI1ntnDNsiHtzLKYnE3vf9JZ6cAisqVDauhp4CEHxlb4uoOTxOCJ+9s51bIB8U1N1FJ1RXOKTIlD5B/gqw==",- "license": "MIT",- "dependencies": {- "devlop": "^1.0.0",- "micromark-core-commonmark": "^2.0.0",- "micromark-factory-space": "^2.0.0",- "micromark-util-character": "^2.0.0",- "micromark-util-normalize-identifier": "^2.0.0",- "micromark-util-sanitize-uri": "^2.0.0",- "micromark-util-symbol": "^2.0.0",- "micromark-util-types": "^2.0.0"- },- "funding": {- "type": "opencollective",- "url": "https://opencollective.com/unified"- }- },- "node_modules/micromark-extension-gfm-strikethrough": {- "version": "2.1.0",- "resolved": "https://registry.npmjs.org/micromark-extension-gfm-strikethrough/-/micromark-extension-gfm-strikethrough-2.1.0.tgz",- "integrity": "sha512-ADVjpOOkjz1hhkZLlBiYA9cR2Anf8F4HqZUO6e5eDcPQd0Txw5fxLzzxnEkSkfnD0wziSGiv7sYhk/ktvbf1uw==",- "license": "MIT",- "dependencies": {- "devlop": "^1.0.0",- "micromark-util-chunked": "^2.0.0",- "micromark-util-classify-character": "^2.0.0",- "micromark-util-resolve-all": "^2.0.0",- "micromark-util-symbol": "^2.0.0",- "micromark-util-types": "^2.0.0"- },- "funding": {- "type": "opencollective",- "url": "https://opencollective.com/unified"- }- },- "node_modules/micromark-extension-gfm-table": {- "version": "2.1.2",- "resolved": "https://registry.npmjs.org/micromark-extension-gfm-table/-/micromark-extension-gfm-table-2.1.2.tgz",- "integrity": "sha512-pRzm4kDTu0MjlmBkxmS9yYhw60nncfcEwu9NNdPFSQEFXS95ZKyIIyTSHu/o3ReBUrLKYEq+7YaXCRn/bPB4MA==",- "license": "MIT",- "dependencies": {- "devlop": "^1.0.0",- "micromark-factory-space": "^2.0.0",- "micromark-util-character": "^2.0.0",- "micromark-util-symbol": "^2.0.0",- "micromark-util-types": "^2.0.0"- },- "funding": {- "type": "opencollective",- "url": "https://opencollective.com/unified"- }- },- "node_modules/micromark-extension-gfm-tagfilter": {- "version": "2.0.0",- "resolved": "https://registry.npmjs.org/micromark-extension-gfm-tagfilter/-/micromark-extension-gfm-tagfilter-2.0.0.tgz",- "integrity": "sha512-xHlTOmuCSotIA8TW1mDIM6X2O1SiX5P9IuDtqGonFhEK0qgRI4yeC6vMxEV2dgyr2TiD+2PQ10o+cOhdVAcwfg==",- "license": "MIT",- "dependencies": {- "micromark-util-types": "^2.0.0"- },- "funding": {- "type": "opencollective",- "url": "https://opencollective.com/unified"- }- },- "node_modules/micromark-extension-gfm-task-list-item": {- "version": "2.1.0",- "resolved": "https://registry.npmjs.org/micromark-extension-gfm-task-list-item/-/micromark-extension-gfm-task-list-item-2.1.0.tgz",- "integrity": "sha512-qIBZhqxqI6fjLDYFTBIa4eivDMnP+OZqsNwmQ3xNLE4Cxwc+zfQEfbs6tzAo2Hjq+bh6q5F+Z8/cksrLFYWQQw==",- "license": "MIT",- "dependencies": {- "devlop": "^1.0.0",- "micromark-factory-space": "^2.0.0",- "micromark-util-character": "^2.0.0",- "micromark-util-symbol": "^2.0.0",- "micromark-util-types": "^2.0.0"- },- "funding": {- "type": "opencollective",- "url": "https://opencollective.com/unified"- }- },- "node_modules/micromark-factory-destination": {- "version": "2.0.1",- "resolved": "https://registry.npmjs.org/micromark-factory-destination/-/micromark-factory-destination-2.0.1.tgz",- "integrity": "sha512-Xe6rDdJlkmbFRExpTOmRj9N3MaWmbAgdpSrBQvCFqhezUn4AHqJHbaEnfbVYYiexVSs//tqOdY/DxhjdCiJnIA==",- "funding": [- {- "type": "GitHub Sponsors",- "url": "https://github.com/sponsors/unifiedjs"- },- {- "type": "OpenCollective",- "url": "https://opencollective.com/unified"- }- ],- "license": "MIT",- "dependencies": {- "micromark-util-character": "^2.0.0",- "micromark-util-symbol": "^2.0.0",- "micromark-util-types": "^2.0.0"- }- },- "node_modules/micromark-factory-label": {- "version": "2.0.1",- "resolved": "https://registry.npmjs.org/micromark-factory-label/-/micromark-factory-label-2.0.1.tgz",- "integrity": "sha512-VFMekyQExqIW7xIChcXn4ok29YE3rnuyveW3wZQWWqF4Nv9Wk5rgJ99KzPvHjkmPXF93FXIbBp6YdW3t71/7Vg==",- "funding": [- {- "type": "GitHub Sponsors",- "url": "https://github.com/sponsors/unifiedjs"- },- {- "type": "OpenCollective",- "url": "https://opencollective.com/unified"- }- ],- "license": "MIT",- "dependencies": {- "devlop": "^1.0.0",- "micromark-util-character": "^2.0.0",- "micromark-util-symbol": "^2.0.0",- "micromark-util-types": "^2.0.0"- }- },- "node_modules/micromark-factory-space": {- "version": "2.1.0",- "resolved": "https://registry.npmjs.org/micromark-factory-space/-/micromark-factory-space-2.1.0.tgz",- "integrity": "sha512-fS8hnLIjnjvdQIj39Geug8wWsR0HrYZ43KShKxNfwT7t2LOHo/LbWZEzEaSOjwtjdCsjoE6syHhonEzW0zv0+Q==",- "funding": [- {- "type": "GitHub Sponsors",- "url": "https://github.com/sponsors/unifiedjs"- },- {- "type": "OpenCollective",- "url": "https://opencollective.com/unified"- }- ],- "license": "MIT",- "dependencies": {- "micromark-util-character": "^2.0.0",- "micromark-util-types": "^2.0.0"- }- },- "node_modules/micromark-factory-title": {- "version": "2.0.1",- "resolved": "https://registry.npmjs.org/micromark-factory-title/-/micromark-factory-title-2.0.1.tgz",- "integrity": "sha512-5bZ+3CjhAd9eChYTHsjy6TGxpOFSKgKKJPJxr293jTbfry2KDoWkhBb6TcPVB4NmzaPhMs1Frm9AZH7OD4Cjzw==",- "funding": [- {- "type": "GitHub Sponsors",- "url": "https://github.com/sponsors/unifiedjs"- },- {- "type": "OpenCollective",- "url": "https://opencollective.com/unified"- }- ],- "license": "MIT",- "dependencies": {- "micromark-factory-space": "^2.0.0",- "micromark-util-character": "^2.0.0",- "micromark-util-symbol": "^2.0.0",- "micromark-util-types": "^2.0.0"- }- },- "node_modules/micromark-factory-whitespace": {- "version": "2.0.1",- "resolved": "https://registry.npmjs.org/micromark-factory-whitespace/-/micromark-factory-whitespace-2.0.1.tgz",- "integrity": "sha512-Ob0nuZ3PKt/n0hORHyvoD9uZhr+Za8sFoP+OnMcnWK5lngSzALgQYKMr9RJVOWLqQYuyn6ulqGWSXdwf6F80lQ==",- "funding": [- {- "type": "GitHub Sponsors",- "url": "https://github.com/sponsors/unifiedjs"- },- {- "type": "OpenCollective",- "url": "https://opencollective.com/unified"- }- ],- "license": "MIT",- "dependencies": {- "micromark-factory-space": "^2.0.0",- "micromark-util-character": "^2.0.0",- "micromark-util-symbol": "^2.0.0",- "micromark-util-types": "^2.0.0"- }- },- "node_modules/micromark-util-character": {- "version": "2.1.1",- "resolved": "https://registry.npmjs.org/micromark-util-character/-/micromark-util-character-2.1.1.tgz",- "integrity": "sha512-wv8tdUTJ3thSFFFJKtpYKOYiGP2+v96Hvk4Tu8KpCAsTMs6yi+nVmGh1syvSCsaxz45J6Jbw+9DD6g97+NV67Q==",- "funding": [- {- "type": "GitHub Sponsors",- "url": "https://github.com/sponsors/unifiedjs"- },- {- "type": "OpenCollective",- "url": "https://opencollective.com/unified"- }- ],- "license": "MIT",- "dependencies": {- "micromark-util-symbol": "^2.0.0",- "micromark-util-types": "^2.0.0"- }- },- "node_modules/micromark-util-chunked": {- "version": "2.0.1",- "resolved": "https://registry.npmjs.org/micromark-util-chunked/-/micromark-util-chunked-2.0.1.tgz",- "integrity": "sha512-QUNFEOPELfmvv+4xiNg2sRYeS/P84pTW0TCgP5zc9FpXetHY0ab7SxKyAQCNCc1eK0459uoLI1y5oO5Vc1dbhA==",- "funding": [- {- "type": "GitHub Sponsors",- "url": "https://github.com/sponsors/unifiedjs"- },- {- "type": "OpenCollective",- "url": "https://opencollective.com/unified"- }- ],- "license": "MIT",- "dependencies": {- "micromark-util-symbol": "^2.0.0"- }- },- "node_modules/micromark-util-classify-character": {- "version": "2.0.1",- "resolved": "https://registry.npmjs.org/micromark-util-classify-character/-/micromark-util-classify-character-2.0.1.tgz",- "integrity": "sha512-K0kHzM6afW/MbeWYWLjoHQv1sgg2Q9EccHEDzSkxiP/EaagNzCm7T/WMKZ3rjMbvIpvBiZgwR3dKMygtA4mG1Q==",- "funding": [- {- "type": "GitHub Sponsors",- "url": "https://github.com/sponsors/unifiedjs"- },- {- "type": "OpenCollective",- "url": "https://opencollective.com/unified"- }- ],- "license": "MIT",- "dependencies": {- "micromark-util-character": "^2.0.0",- "micromark-util-symbol": "^2.0.0",- "micromark-util-types": "^2.0.0"- }- },- "node_modules/micromark-util-combine-extensions": {- "version": "2.0.1",- "resolved": "https://registry.npmjs.org/micromark-util-combine-extensions/-/micromark-util-combine-extensions-2.0.1.tgz",- "integrity": "sha512-OnAnH8Ujmy59JcyZw8JSbK9cGpdVY44NKgSM7E9Eh7DiLS2E9RNQf0dONaGDzEG9yjEl5hcqeIsj4hfRkLH/Bg==",- "funding": [- {- "type": "GitHub Sponsors",- "url": "https://github.com/sponsors/unifiedjs"- },- {- "type": "OpenCollective",- "url": "https://opencollective.com/unified"- }- ],- "license": "MIT",- "dependencies": {- "micromark-util-chunked": "^2.0.0",- "micromark-util-types": "^2.0.0"- }- },- "node_modules/micromark-util-decode-numeric-character-reference": {- "version": "2.0.2",- "resolved": "https://registry.npmjs.org/micromark-util-decode-numeric-character-reference/-/micromark-util-decode-numeric-character-reference-2.0.2.tgz",- "integrity": "sha512-ccUbYk6CwVdkmCQMyr64dXz42EfHGkPQlBj5p7YVGzq8I7CtjXZJrubAYezf7Rp+bjPseiROqe7G6foFd+lEuw==",- "funding": [- {- "type": "GitHub Sponsors",- "url": "https://github.com/sponsors/unifiedjs"- },- {- "type": "OpenCollective",- "url": "https://opencollective.com/unified"- }- ],- "license": "MIT",- "dependencies": {- "micromark-util-symbol": "^2.0.0"- }- },- "node_modules/micromark-util-decode-string": {- "version": "2.0.1",- "resolved": "https://registry.npmjs.org/micromark-util-decode-string/-/micromark-util-decode-string-2.0.1.tgz",- "integrity": "sha512-nDV/77Fj6eH1ynwscYTOsbK7rR//Uj0bZXBwJZRfaLEJ1iGBR6kIfNmlNqaqJf649EP0F3NWNdeJi03elllNUQ==",- "funding": [- {- "type": "GitHub Sponsors",- "url": "https://github.com/sponsors/unifiedjs"- },- {- "type": "OpenCollective",- "url": "https://opencollective.com/unified"- }- ],- "license": "MIT",- "dependencies": {- "decode-named-character-reference": "^1.0.0",- "micromark-util-character": "^2.0.0",- "micromark-util-decode-numeric-character-reference": "^2.0.0",- "micromark-util-symbol": "^2.0.0"- }- },- "node_modules/micromark-util-edit-map": {- "version": "1.0.0",- "resolved": "https://registry.npmjs.org/micromark-util-edit-map/-/micromark-util-edit-map-1.0.0.tgz",- "integrity": "sha512-Pa2ljlsEL6sVwFaYeyrOLSYbQt73JvGbPOYFq+9AElXiSnfI5Q4465RRZ1sHv7lDjDOnGRDDaqPXqClqWK/q1Q==",- "funding": [- {- "type": "GitHub Sponsors",- "url": "https://github.com/sponsors/unifiedjs"- },- {- "type": "OpenCollective",- "url": "https://opencollective.com/unified"- }- ],- "license": "MIT",- "dependencies": {- "micromark-util-types": "^2.0.0"- }- },- "node_modules/micromark-util-encode": {- "version": "2.0.1",- "resolved": "https://registry.npmjs.org/micromark-util-encode/-/micromark-util-encode-2.0.1.tgz",- "integrity": "sha512-c3cVx2y4KqUnwopcO9b/SCdo2O67LwJJ/UyqGfbigahfegL9myoEFoDYZgkT7f36T0bLrM9hZTAaAyH+PCAXjw==",- "funding": [- {- "type": "GitHub Sponsors",- "url": "https://github.com/sponsors/unifiedjs"- },- {- "type": "OpenCollective",- "url": "https://opencollective.com/unified"- }- ],- "license": "MIT"- },- "node_modules/micromark-util-html-tag-name": {- "version": "2.0.1",- "resolved": "https://registry.npmjs.org/micromark-util-html-tag-name/-/micromark-util-html-tag-name-2.0.1.tgz",- "integrity": "sha512-2cNEiYDhCWKI+Gs9T0Tiysk136SnR13hhO8yW6BGNyhOC4qYFnwF1nKfD3HFAIXA5c45RrIG1ub11GiXeYd1xA==",- "funding": [- {- "type": "GitHub Sponsors",- "url": "https://github.com/sponsors/unifiedjs"- },- {- "type": "OpenCollective",- "url": "https://opencollective.com/unified"- }- ],- "license": "MIT"- },- "node_modules/micromark-util-normalize-identifier": {- "version": "2.0.1",- "resolved": "https://registry.npmjs.org/micromark-util-normalize-identifier/-/micromark-util-normalize-identifier-2.0.1.tgz",- "integrity": "sha512-sxPqmo70LyARJs0w2UclACPUUEqltCkJ6PhKdMIDuJ3gSf/Q+/GIe3WKl0Ijb/GyH9lOpUkRAO2wp0GVkLvS9Q==",- "funding": [- {- "type": "GitHub Sponsors",- "url": "https://github.com/sponsors/unifiedjs"- },- {- "type": "OpenCollective",- "url": "https://opencollective.com/unified"- }- ],- "license": "MIT",- "dependencies": {- "micromark-util-symbol": "^2.0.0"- }- },- "node_modules/micromark-util-resolve-all": {- "version": "2.0.1",- "resolved": "https://registry.npmjs.org/micromark-util-resolve-all/-/micromark-util-resolve-all-2.0.1.tgz",- "integrity": "sha512-VdQyxFWFT2/FGJgwQnJYbe1jjQoNTS4RjglmSjTUlpUMa95Htx9NHeYW4rGDJzbjvCsl9eLjMQwGeElsqmzcHg==",- "funding": [- {- "type": "GitHub Sponsors",- "url": "https://github.com/sponsors/unifiedjs"- },- {- "type": "OpenCollective",- "url": "https://opencollective.com/unified"- }- ],- "license": "MIT",- "dependencies": {- "micromark-util-types": "^2.0.0"- }- },- "node_modules/micromark-util-sanitize-uri": {- "version": "2.0.1",- "resolved": "https://registry.npmjs.org/micromark-util-sanitize-uri/-/micromark-util-sanitize-uri-2.0.1.tgz",- "integrity": "sha512-9N9IomZ/YuGGZZmQec1MbgxtlgougxTodVwDzzEouPKo3qFWvymFHWcnDi2vzV1ff6kas9ucW+o3yzJK9YB1AQ==",- "funding": [- {- "type": "GitHub Sponsors",- "url": "https://github.com/sponsors/unifiedjs"- },- {- "type": "OpenCollective",- "url": "https://opencollective.com/unified"- }- ],- "license": "MIT",- "dependencies": {- "micromark-util-character": "^2.0.0",- "micromark-util-encode": "^2.0.0",- "micromark-util-symbol": "^2.0.0"- }- },- "node_modules/micromark-util-subtokenize": {- "version": "2.1.0",- "resolved": "https://registry.npmjs.org/micromark-util-subtokenize/-/micromark-util-subtokenize-2.1.0.tgz",- "integrity": "sha512-XQLu552iSctvnEcgXw6+Sx75GflAPNED1qx7eBJ+wydBb2KCbRZe+NwvIEEMM83uml1+2WSXpBAcp9IUCgCYWA==",- "funding": [- {- "type": "GitHub Sponsors",- "url": "https://github.com/sponsors/unifiedjs"- },- {- "type": "OpenCollective",- "url": "https://opencollective.com/unified"- }- ],- "license": "MIT",- "dependencies": {- "devlop": "^1.0.0",- "micromark-util-chunked": "^2.0.0",- "micromark-util-symbol": "^2.0.0",- "micromark-util-types": "^2.0.0"- }- },- "node_modules/micromark-util-symbol": {- "version": "2.0.1",- "resolved": "https://registry.npmjs.org/micromark-util-symbol/-/micromark-util-symbol-2.0.1.tgz",- "integrity": "sha512-vs5t8Apaud9N28kgCrRUdEed4UJ+wWNvicHLPxCa9ENlYuAY31M0ETy5y1vA33YoNPDFTghEbnh6efaE8h4x0Q==",- "funding": [- {- "type": "GitHub Sponsors",- "url": "https://github.com/sponsors/unifiedjs"- },- {- "type": "OpenCollective",- "url": "https://opencollective.com/unified"- }- ],- "license": "MIT"- },- "node_modules/micromark-util-types": {- "version": "2.0.3",- "resolved": "https://registry.npmjs.org/micromark-util-types/-/micromark-util-types-2.0.3.tgz",- "integrity": "sha512-oxB2Ik03hI0gv+VNn9tnh1t1YEe9MDPptViAEgfdf3YQHsn0pzGTgCdlSCJXcwhqm8phaEuM7zeEu3QQzVBrPg==",- "funding": [- {- "type": "GitHub Sponsors",- "url": "https://github.com/sponsors/unifiedjs"- },- {- "type": "OpenCollective",- "url": "https://opencollective.com/unified"- }- ],- "license": "MIT"- },- "node_modules/micromatch": {- "version": "4.0.8",- "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.8.tgz",- "integrity": "sha512-PXwfBhYu0hBCPw8Dn0E+WDYb7af3dSLVWKi3HGv84IdF4TyFoC0ysxFd0Goxw7nSv4T/PzEJQxsYsEiFCKo2BA==",- "dev": true,- "license": "MIT",- "dependencies": {- "braces": "^3.0.3",- "picomatch": "^2.3.1"- },- "engines": {- "node": ">=8.6"- }- },- "node_modules/minimatch": {- "version": "3.1.5",- "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.5.tgz",- "integrity": "sha512-VgjWUsnnT6n+NUk6eZq77zeFdpW2LWDzP6zFGrCbHXiYNul5Dzqk2HHQ5uFH2DNW5Xbp8+jVzaeNt94ssEEl4w==",- "dev": true,- "license": "ISC",- "dependencies": {- "brace-expansion": "^1.1.7"- },- "engines": {- "node": "*"- }- },- "node_modules/minimist": {- "version": "1.2.8",- "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.8.tgz",- "integrity": "sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA==",- "dev": true,- "license": "MIT",- "funding": {- "url": "https://github.com/sponsors/ljharb"- }- },- "node_modules/ms": {- "version": "2.1.3",- "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz",- "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==",- "license": "MIT"- },- "node_modules/nanoid": {- "version": "3.3.19",- "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.19.tgz",- "integrity": "sha512-Y2tUNy4ouw6tq5oDSKeQYGOyhkUBhNOcGV/02KC+6kd9eDGqdZd++mjMiIDilrBYvjEnCYvVtsuHCuP+okSfug==",- "funding": [- {- "type": "github",- "url": "https://github.com/sponsors/ai"- }- ],- "license": "MIT",- "bin": {- "nanoid": "bin/nanoid.cjs"- },- "engines": {- "node": "^10 || ^12 || ^13.7 || ^14 || >=15.0.1"- }- },- "node_modules/napi-postinstall": {- "version": "0.3.4",- "resolved": "https://registry.npmjs.org/napi-postinstall/-/napi-postinstall-0.3.4.tgz",- "integrity": "sha512-PHI5f1O0EP5xJ9gQmFGMS6IZcrVvTjpXjz7Na41gTE7eE2hK11lg04CECCYEEjdc17EV4DO+fkGEtt7TpTaTiQ==",- "dev": true,- "license": "MIT",- "bin": {- "napi-postinstall": "lib/cli.js"- },- "engines": {- "node": "^12.20.0 || ^14.18.0 || >=16.0.0"- },- "funding": {- "url": "https://opencollective.com/napi-postinstall"- }- },- "node_modules/natural-compare": {- "version": "1.4.0",- "resolved": "https://registry.npmjs.org/natural-compare/-/natural-compare-1.4.0.tgz",- "integrity": "sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw==",- "dev": true,- "license": "MIT"- },- "node_modules/next": {- "version": "16.3.8",- "resolved": "https://registry.npmjs.org/next/-/next-16.3.8.tgz",- "integrity": "sha512-U7QEZaTini6wKrb8A8hqLLqYQyCetegKjCpJOyxk642vWoMoU1x5PyZCJFvgYgiptA8xc5j/9xYlZFO7w9Sjmw==",- "license": "MIT",- "dependencies": {- "@next/env": "16.3.8",- "@swc/helpers": "0.5.23",- "baseline-browser-mapping": "^2.9.19",- "caniuse-lite": "^1.0.30001579",- "postcss": "8.5.23",- "styled-jsx": "5.1.6"- },- "bin": {- "next": "dist/bin/next"- },- "engines": {- "node": ">=20.9.0"- },- "optionalDependencies": {- "@next/swc-darwin-arm64": "16.3.8",- "@next/swc-darwin-x64": "16.3.8",- "@next/swc-linux-arm64-gnu": "16.3.8",- "@next/swc-linux-arm64-musl": "16.3.8",- "@next/swc-linux-x64-gnu": "16.3.8",- "@next/swc-linux-x64-musl": "16.3.8",- "@next/swc-win32-arm64-msvc": "16.3.8",- "@next/swc-win32-x64-msvc": "16.3.8",- "sharp": "^0.35.4"- },- "peerDependencies": {- "@opentelemetry/api": "^1.1.0",- "@playwright/test": "^1.51.1",- "babel-plugin-react-compiler": "*",- "react": "^18.2.0 || 19.0.0-rc-de68d2f4-20241204 || ^19.0.0",- "react-dom": "^18.2.0 || 19.0.0-rc-de68d2f4-20241204 || ^19.0.0",- "sass": "^1.3.0"- },- "peerDependenciesMeta": {- "@opentelemetry/api": {- "optional": true- },- "@playwright/test": {- "optional": true- },- "babel-plugin-react-compiler": {- "optional": true- },- "sass": {- "optional": true- }- }- },- "node_modules/next-themes": {- "version": "0.4.6",- "resolved": "https://registry.npmjs.org/next-themes/-/next-themes-0.4.6.tgz",- "integrity": "sha512-pZvgD5L0IEvX5/9GWyHMf3m8BKiVQwsCMHfoFosXtXBMnaS0ZnIJ9ST4b4NqLVKDEm8QBxoNNGNaBv2JNF6XNA==",- "license": "MIT",- "peerDependencies": {- "react": "^16.8 || ^17 || ^18 || ^19 || ^19.0.0-rc",- "react-dom": "^16.8 || ^17 || ^18 || ^19 || ^19.0.0-rc"- }- },- "node_modules/next/node_modules/postcss": {- "version": "8.5.23",- "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.5.23.tgz",- "integrity": "sha512-g50586zr4bZmwFiTlflMu8E0bDTb5I5gertgwAKmsdUlTQIhZtunzUlD1WSzwcVWPoAVpsrA6vlfCD7oXvRwgg==",- "funding": [- {- "type": "opencollective",- "url": "https://opencollective.com/postcss/"- },- {- "type": "tidelift",- "url": "https://tidelift.com/funding/github/npm/postcss"- },- {- "type": "github",- "url": "https://github.com/sponsors/ai"- }- ],- "license": "MIT",- "dependencies": {- "nanoid": "^3.3.16",- "picocolors": "^1.1.1",- "source-map-js": "^1.2.1"- },- "engines": {- "node": "^10 || ^12 || >=14"- }- },- "node_modules/node-exports-info": {- "version": "1.6.2",- "resolved": "https://registry.npmjs.org/node-exports-info/-/node-exports-info-1.6.2.tgz",- "integrity": "sha512-kXs9Go0cah0qHVV2v389IXQLdLCeE1xfFtjOAF+iobu0OIoG1pje8At2vMHyaPMiPMnG/LWP50twML21eMcAag==",- "dev": true,- "license": "MIT",- "dependencies": {- "array.prototype.flatmap": "^1.3.3",- "es-errors": "^1.3.0",- "object.entries": "^1.1.9",- "semver": "^6.3.1"- },- "engines": {- "node": ">= 0.4"- },- "funding": {- "url": "https://github.com/sponsors/ljharb"- }- },- "node_modules/node-releases": {- "version": "2.0.57",- "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.57.tgz",- "integrity": "sha512-kQK9LGGFiHtrWiNhZtA7Qbw17AQz+dmsEKODRIVTXA9+e5MS/2gZEBhYJt13GrAz5/IOZKddH/0Z3TP/Zgo+yw==",- "dev": true,- "license": "MIT",- "engines": {- "node": ">=18"- }- },- "node_modules/object-assign": {- "version": "4.1.1",- "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz",- "integrity": "sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg==",- "dev": true,- "license": "MIT",- "engines": {- "node": ">=0.10.0"- }- },- "node_modules/object-inspect": {- "version": "1.13.4",- "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.13.4.tgz",- "integrity": "sha512-W67iLl4J2EXEGTbfeHCffrjDfitvLANg0UlX3wFUUSTx92KXRFegMHUVgSqE+wvhAbi4WqjGg9czysTV2Epbew==",- "dev": true,- "license": "MIT",- "engines": {- "node": ">= 0.4"- },- "funding": {- "url": "https://github.com/sponsors/ljharb"- }- },- "node_modules/object-keys": {- "version": "1.1.1",- "resolved": "https://registry.npmjs.org/object-keys/-/object-keys-1.1.1.tgz",- "integrity": "sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA==",- "dev": true,- "license": "MIT",- "engines": {- "node": ">= 0.4"- }- },- "node_modules/object.assign": {- "version": "4.1.7",- "resolved": "https://registry.npmjs.org/object.assign/-/object.assign-4.1.7.tgz",- "integrity": "sha512-nK28WOo+QIjBkDduTINE4JkF/UJJKyf2EJxvJKfblDpyg0Q+pkOHNTL0Qwy6NP6FhE/EnzV73BxxqcJaXY9anw==",- "dev": true,- "license": "MIT",- "dependencies": {- "call-bind": "^1.0.8",- "call-bound": "^1.0.3",- "define-properties": "^1.2.1",- "es-object-atoms": "^1.0.0",- "has-symbols": "^1.1.0",- "object-keys": "^1.1.1"- },- "engines": {- "node": ">= 0.4"- },- "funding": {- "url": "https://github.com/sponsors/ljharb"- }- },- "node_modules/object.entries": {- "version": "1.1.9",- "resolved": "https://registry.npmjs.org/object.entries/-/object.entries-1.1.9.tgz",- "integrity": "sha512-8u/hfXFRBD1O0hPUjioLhoWFHRmt6tKA4/vZPyckBr18l1KE9uHrFaFaUi8MDRTpi4uak2goyPTSNJLXX2k2Hw==",- "dev": true,- "license": "MIT",- "dependencies": {- "call-bind": "^1.0.8",- "call-bound": "^1.0.4",- "define-properties": "^1.2.1",- "es-object-atoms": "^1.1.1"- },- "engines": {- "node": ">= 0.4"- }- },- "node_modules/object.fromentries": {- "version": "2.0.8",- "resolved": "https://registry.npmjs.org/object.fromentries/-/object.fromentries-2.0.8.tgz",- "integrity": "sha512-k6E21FzySsSK5a21KRADBd/NGneRegFO5pLHfdQLpRDETUNJueLXs3WCzyQ3tFRDYgbq3KHGXfTbi2bs8WQ6rQ==",- "dev": true,- "license": "MIT",- "dependencies": {- "call-bind": "^1.0.7",- "define-properties": "^1.2.1",- "es-abstract": "^1.23.2",- "es-object-atoms": "^1.0.0"- },- "engines": {- "node": ">= 0.4"- },- "funding": {- "url": "https://github.com/sponsors/ljharb"- }- },- "node_modules/object.groupby": {- "version": "1.0.3",- "resolved": "https://registry.npmjs.org/object.groupby/-/object.groupby-1.0.3.tgz",- "integrity": "sha512-+Lhy3TQTuzXI5hevh8sBGqbmurHbbIjAi0Z4S63nthVLmLxfbj4T54a4CfZrXIrt9iP4mVAPYMo/v99taj3wjQ==",- "dev": true,- "license": "MIT",- "dependencies": {- "call-bind": "^1.0.7",- "define-properties": "^1.2.1",- "es-abstract": "^1.23.2"- },- "engines": {- "node": ">= 0.4"- }- },- "node_modules/object.values": {- "version": "1.2.1",- "resolved": "https://registry.npmjs.org/object.values/-/object.values-1.2.1.tgz",- "integrity": "sha512-gXah6aZrcUxjWg2zR2MwouP2eHlCBzdV4pygudehaKXSGW4v2AsRQUK+lwwXhii6KFZcunEnmSUoYp5CXibxtA==",- "dev": true,- "license": "MIT",- "dependencies": {- "call-bind": "^1.0.8",- "call-bound": "^1.0.3",- "define-properties": "^1.2.1",- "es-object-atoms": "^1.0.0"- },- "engines": {- "node": ">= 0.4"- },- "funding": {- "url": "https://github.com/sponsors/ljharb"- }- },- "node_modules/optionator": {- "version": "0.9.4",- "resolved": "https://registry.npmjs.org/optionator/-/optionator-0.9.4.tgz",- "integrity": "sha512-6IpQ7mKUxRcZNLIObR0hz7lxsapSSIYNZJwXPGeF0mTVqGKFIXj1DQcMoT22S3ROcLyY/rz0PWaWZ9ayWmad9g==",- "dev": true,- "license": "MIT",- "dependencies": {- "deep-is": "^0.1.3",- "fast-levenshtein": "^2.0.6",- "levn": "^0.4.1",- "prelude-ls": "^1.2.1",- "type-check": "^0.4.0",- "word-wrap": "^1.2.5"- },- "engines": {- "node": ">= 0.8.0"- }- },- "node_modules/orderedmap": {- "version": "2.1.1",- "resolved": "https://registry.npmjs.org/orderedmap/-/orderedmap-2.1.1.tgz",- "integrity": "sha512-TvAWxi0nDe1j/rtMcWcIj94+Ffe6n7zhow33h40SKxmsmozs6dz/e+EajymfoFcHd7sxNn8yHM8839uixMOV6g==",- "license": "MIT"- },- "node_modules/own-keys": {- "version": "1.0.2",- "resolved": "https://registry.npmjs.org/own-keys/-/own-keys-1.0.2.tgz",- "integrity": "sha512-19YVAg7T+WTrxggPukVq7DjTv6+PJ867TmhCvBsYwmbFCsZd344rq2Ld1p0wo8f8Qrrhgp82c6FJRqdXWtSEhg==",- "dev": true,- "license": "MIT",- "dependencies": {- "call-bound": "^1.0.4",- "get-intrinsic": "^1.3.0",- "object-keys": "^1.1.1",- "safe-push-apply": "^1.0.0"- },- "engines": {- "node": ">= 0.4"- },- "funding": {- "url": "https://github.com/sponsors/ljharb"- }- },- "node_modules/p-limit": {- "version": "3.1.0",- "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-3.1.0.tgz",- "integrity": "sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ==",- "dev": true,- "license": "MIT",- "dependencies": {- "yocto-queue": "^0.1.0"- },- "engines": {- "node": ">=10"- },- "funding": {- "url": "https://github.com/sponsors/sindresorhus"- }- },- "node_modules/p-locate": {- "version": "5.0.0",- "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-5.0.0.tgz",- "integrity": "sha512-LaNjtRWUBY++zB5nE/NwcaoMylSPk+S+ZHNB1TzdbMJMny6dynpAGt7X/tl/QYq3TIeE6nxHppbo2LGymrG5Pw==",- "dev": true,- "license": "MIT",- "dependencies": {- "p-limit": "^3.0.2"- },- "engines": {- "node": ">=10"- },- "funding": {- "url": "https://github.com/sponsors/sindresorhus"- }- },- "node_modules/parent-module": {- "version": "1.0.1",- "resolved": "https://registry.npmjs.org/parent-module/-/parent-module-1.0.1.tgz",- "integrity": "sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g==",- "dev": true,- "license": "MIT",- "dependencies": {- "callsites": "^3.0.0"- },- "engines": {- "node": ">=6"- }- },- "node_modules/parse-entities": {- "version": "4.0.2",- "resolved": "https://registry.npmjs.org/parse-entities/-/parse-entities-4.0.2.tgz",- "integrity": "sha512-GG2AQYWoLgL877gQIKeRPGO1xF9+eG1ujIb5soS5gPvLQ1y2o8FL90w2QWNdf9I361Mpp7726c+lj3U0qK1uGw==",- "license": "MIT",- "dependencies": {- "@types/unist": "^2.0.0",- "character-entities-legacy": "^3.0.0",- "character-reference-invalid": "^2.0.0",- "decode-named-character-reference": "^1.0.0",- "is-alphanumerical": "^2.0.0",- "is-decimal": "^2.0.0",- "is-hexadecimal": "^2.0.0"- },- "funding": {- "type": "github",- "url": "https://github.com/sponsors/wooorm"- }- },- "node_modules/parse-entities/node_modules/@types/unist": {- "version": "2.0.11",- "resolved": "https://registry.npmjs.org/@types/unist/-/unist-2.0.11.tgz",- "integrity": "sha512-CmBKiL6NNo/OqgmMn95Fk9Whlp2mtvIv+KNpQKN2F4SjvrEesubTRWGYSg+BnWZOnlCaSTU1sMpsBOzgbYhnsA==",- "license": "MIT"- },- "node_modules/path-exists": {- "version": "4.0.0",- "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz",- "integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==",- "dev": true,- "license": "MIT",- "engines": {- "node": ">=8"- }- },- "node_modules/path-key": {- "version": "3.1.1",- "resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz",- "integrity": "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==",- "dev": true,- "license": "MIT",- "engines": {- "node": ">=8"- }- },- "node_modules/path-parse": {- "version": "1.0.7",- "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.7.tgz",- "integrity": "sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==",- "dev": true,- "license": "MIT"- },- "node_modules/picocolors": {- "version": "1.1.1",- "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.1.1.tgz",- "integrity": "sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA==",- "license": "ISC"- },- "node_modules/picomatch": {- "version": "2.3.2",- "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.2.tgz",- "integrity": "sha512-V7+vQEJ06Z+c5tSye8S+nHUfI51xoXIXjHQ99cQtKUkQqqO1kO/KCJUfZXuB47h/YBlDhah2H3hdUGXn8ie0oA==",- "dev": true,- "license": "MIT",- "engines": {- "node": ">=8.6"- },- "funding": {- "url": "https://github.com/sponsors/jonschlinkert"- }- },- "node_modules/possible-typed-array-names": {- "version": "1.1.0",- "resolved": "https://registry.npmjs.org/possible-typed-array-names/-/possible-typed-array-names-1.1.0.tgz",- "integrity": "sha512-/+5VFTchJDoVj3bhoqi6UeymcD00DAwb1nJwamzPvHEszJ4FpF6SNNbUbOS8yI56qHzdV8eK0qEfOSiodkTdxg==",- "dev": true,- "license": "MIT",- "engines": {- "node": ">= 0.4"- }- },- "node_modules/postcss": {- "version": "8.5.28",- "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.5.28.tgz",- "integrity": "sha512-RRuzqDtt5Y9h3quz5hWhK+TPnsmVs6WwSU6LkJMeY4HstUEDuYTG8UJSdawMRzmzAtV+KEoG8N3Qg2qLy5vM/A==",- "dev": true,- "funding": [- {- "type": "opencollective",- "url": "https://opencollective.com/postcss/"- },- {- "type": "tidelift",- "url": "https://tidelift.com/funding/github/npm/postcss"- },- {- "type": "github",- "url": "https://github.com/sponsors/ai"- }- ],- "license": "MIT",- "dependencies": {- "nanoid": "^3.3.18",- "picocolors": "^1.1.1",- "source-map-js": "^1.2.1"- },- "engines": {- "node": "^10 || ^12 || >=14"- }- },- "node_modules/prelude-ls": {- "version": "1.2.1",- "resolved": "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.2.1.tgz",- "integrity": "sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g==",- "dev": true,- "license": "MIT",- "engines": {- "node": ">= 0.8.0"- }- },- "node_modules/prop-types": {- "version": "15.8.1",- "resolved": "https://registry.npmjs.org/prop-types/-/prop-types-15.8.1.tgz",- "integrity": "sha512-oj87CgZICdulUohogVAR7AjlC0327U4el4L6eAvOqCeudMDVU0NThNaV+b9Df4dXgSP1gXMTnPdhfe/2qDH5cg==",- "dev": true,- "license": "MIT",- "dependencies": {- "loose-envify": "^1.4.0",- "object-assign": "^4.1.1",- "react-is": "^16.13.1"- }- },- "node_modules/property-information": {- "version": "7.2.0",- "resolved": "https://registry.npmjs.org/property-information/-/property-information-7.2.0.tgz",- "integrity": "sha512-IAtzIB6sUiWaJYrX9smp3V46pBGbBeLFRGdh25kg1334VcBlD8HzhPeNIWQH9zhGmo2itIe25EHt9dQP7G5hmg==",- "license": "MIT",- "funding": {- "type": "github",- "url": "https://github.com/sponsors/wooorm"- }- },- "node_modules/prosemirror-changeset": {- "version": "2.4.4",- "resolved": "https://registry.npmjs.org/prosemirror-changeset/-/prosemirror-changeset-2.4.4.tgz",- "integrity": "sha512-Gyuz9jYdrAeA9I7AholyOes9KUmv/lEwsC5O9s5xF5VB3EgTPsXMGUxz4+H1B+wKVPdZbvRcg1Cp3x8qX+8ofA==",- "license": "MIT",- "dependencies": {- "prosemirror-transform": "^1.0.0"- }- },- "node_modules/prosemirror-commands": {- "version": "1.7.2",- "resolved": "https://registry.npmjs.org/prosemirror-commands/-/prosemirror-commands-1.7.2.tgz",- "integrity": "sha512-q6Q6szxqdu9Xd6EcdKsqXghu5nQdZTpB4Q9yd04WRc7/jt763e/rT60Owh0L1GYY+T46o5rD+9lEN36dZS43tw==",- "license": "MIT",- "dependencies": {- "prosemirror-model": "^1.0.0",- "prosemirror-state": "^1.0.0",- "prosemirror-transform": "^1.10.2"- }- },- "node_modules/prosemirror-dropcursor": {- "version": "1.8.4",- "resolved": "https://registry.npmjs.org/prosemirror-dropcursor/-/prosemirror-dropcursor-1.8.4.tgz",- "integrity": "sha512-VmKxhcA6a+h5oPSYmfF1ZNeQqPbyYaIxqZsKqeYCyTlPtrjUgNaHL3P8vVaO19oqAV0zuaM/axkowZHrB1P3Tg==",- "license": "MIT",- "dependencies": {- "prosemirror-state": "^1.0.0",- "prosemirror-transform": "^1.1.0",- "prosemirror-view": "^1.1.0"- }- },- "node_modules/prosemirror-gapcursor": {- "version": "1.4.1",- "resolved": "https://registry.npmjs.org/prosemirror-gapcursor/-/prosemirror-gapcursor-1.4.1.tgz",- "integrity": "sha512-pMdYaEnjNMSwl11yjEGtgTmLkR08m/Vl+Jj443167p9eB3HVQKhYCc4gmHVDsLPODfZfjr/MmirsdyZziXbQKw==",- "license": "MIT",- "dependencies": {- "prosemirror-keymap": "^1.0.0",- "prosemirror-model": "^1.0.0",- "prosemirror-state": "^1.0.0",- "prosemirror-view": "^1.0.0"- }- },- "node_modules/prosemirror-history": {- "version": "1.5.1",- "resolved": "https://registry.npmjs.org/prosemirror-history/-/prosemirror-history-1.5.1.tgz",- "integrity": "sha512-onlwnqKvgtFg6srZOmDOAhlAy1FIHQpOExORybX0S+DvJepE5tPALrB9iGet/2sqqqrelSnB10OoiOJqAvu2DA==",- "license": "MIT",- "dependencies": {- "prosemirror-state": "^1.2.2",- "prosemirror-transform": "^1.0.0",- "prosemirror-view": "^1.31.0",- "rope-sequence": "^1.3.0"- }- },- "node_modules/prosemirror-inputrules": {- "version": "1.5.1",- "resolved": "https://registry.npmjs.org/prosemirror-inputrules/-/prosemirror-inputrules-1.5.1.tgz",- "integrity": "sha512-7wj4uMjKaXWAQ1CDgxNzNtR9AlsuwzHfdFH1ygEHA2KHF2DOEaXl1CJfNPAKCg9qNEh4rum975QLaCiQPyY6Fw==",- "license": "MIT",- "dependencies": {- "prosemirror-state": "^1.0.0",- "prosemirror-transform": "^1.0.0"- }- },- "node_modules/prosemirror-keymap": {- "version": "1.2.3",- "resolved": "https://registry.npmjs.org/prosemirror-keymap/-/prosemirror-keymap-1.2.3.tgz",- "integrity": "sha512-4HucRlpiLd1IPQQXNqeo81BGtkY8Ai5smHhKW9jjPKRc2wQIxksg7Hl1tTI2IfT2B/LgX6bfYvXxEpJl7aKYKw==",- "license": "MIT",- "dependencies": {- "prosemirror-state": "^1.0.0",- "w3c-keyname": "^2.2.0"- }- },- "node_modules/prosemirror-model": {- "version": "1.25.12",- "resolved": "https://registry.npmjs.org/prosemirror-model/-/prosemirror-model-1.25.12.tgz",- "integrity": "sha512-Ue2gTmXMa7EhpLNhC7J+h4+ykD8ha12K6rrZFFKKJHBForfIStw5gJ6Zrf1mqqAa9NmpmEB4wp9bKmA4eUVjWg==",- "license": "MIT",- "dependencies": {- "orderedmap": "^2.0.0"- }- },- "node_modules/prosemirror-schema-list": {- "version": "1.5.1",- "resolved": "https://registry.npmjs.org/prosemirror-schema-list/-/prosemirror-schema-list-1.5.1.tgz",- "integrity": "sha512-927lFx/uwyQaGwJxLWCZRkjXG0p48KpMj6ueoYiu4JX05GGuGcgzAy62dfiV8eFZftgyBUvLx76RsMe20fJl+Q==",- "license": "MIT",- "dependencies": {- "prosemirror-model": "^1.0.0",- "prosemirror-state": "^1.0.0",- "prosemirror-transform": "^1.7.3"- }- },- "node_modules/prosemirror-state": {- "version": "1.4.4",- "resolved": "https://registry.npmjs.org/prosemirror-state/-/prosemirror-state-1.4.4.tgz",- "integrity": "sha512-6jiYHH2CIGbCfnxdHbXZ12gySFY/fz/ulZE333G6bPqIZ4F+TXo9ifiR86nAHpWnfoNjOb3o5ESi7J8Uz1jXHw==",- "license": "MIT",- "dependencies": {- "prosemirror-model": "^1.0.0",- "prosemirror-transform": "^1.0.0",- "prosemirror-view": "^1.27.0"- }- },- "node_modules/prosemirror-tables": {- "version": "1.8.5",- "resolved": "https://registry.npmjs.org/prosemirror-tables/-/prosemirror-tables-1.8.5.tgz",- "integrity": "sha512-V/0cDCsHKHe/tfWkeCmthNUcEp1IVO3p6vwN8XtwE9PZQLAZJigbw3QoraAdfJPir4NKJtNvOB8oYGKRl+t0Dw==",- "license": "MIT",- "dependencies": {- "prosemirror-keymap": "^1.2.3",- "prosemirror-model": "^1.25.4",- "prosemirror-state": "^1.4.4",- "prosemirror-transform": "^1.10.5",- "prosemirror-view": "^1.41.4"- }- },- "node_modules/prosemirror-transform": {- "version": "1.12.2",- "resolved": "https://registry.npmjs.org/prosemirror-transform/-/prosemirror-transform-1.12.2.tgz",- "integrity": "sha512-PE/aY0HEY4zczvmqrilgkUK/WautF0chvMqkmM/iN5/aPHvwrCWaQZjS6CIZp+K84YrvPFqrL+YArrfJX8xX7g==",- "license": "MIT",- "dependencies": {- "prosemirror-model": "^1.21.0"- }- },- "node_modules/prosemirror-view": {- "version": "1.42.6",- "resolved": "https://registry.npmjs.org/prosemirror-view/-/prosemirror-view-1.42.6.tgz",- "integrity": "sha512-3g25f6hKV2bBxo3puH3EcYWmmVNSH0iWmNsMVT7sugDSpA025jgpOLarcDWr39SdzPjYMaiYtRdNtXialPSjEQ==",- "license": "MIT",- "dependencies": {- "prosemirror-model": "^1.25.12",- "prosemirror-state": "^1.0.0",- "prosemirror-transform": "^1.1.0"- }- },- "node_modules/punycode": {- "version": "2.3.1",- "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.3.1.tgz",- "integrity": "sha512-vYt7UD1U9Wg6138shLtLOvdAu+8DsC/ilFtEVHcH+wydcSpNE20AfSOduf6MkRFahL5FY7X1oU7nKVZFtfq8Fg==",- "dev": true,- "license": "MIT",- "engines": {- "node": ">=6"- }- },- "node_modules/queue-microtask": {- "version": "1.2.3",- "resolved": "https://registry.npmjs.org/queue-microtask/-/queue-microtask-1.2.3.tgz",- "integrity": "sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==",- "dev": true,- "funding": [- {- "type": "github",- "url": "https://github.com/sponsors/feross"- },- {- "type": "patreon",- "url": "https://www.patreon.com/feross"- },- {- "type": "consulting",- "url": "https://feross.org/support"- }- ],- "license": "MIT"- },- "node_modules/react": {- "version": "19.2.8",- "resolved": "https://registry.npmjs.org/react/-/react-19.2.8.tgz",- "integrity": "sha512-PWaYA1L/q9u2u7xYQi+Y3L3Yfnie7XyLeaJICV1MGD6LprsBxcAqGjYyr0eY3p+QdsA+x/Irkt4Qif8D63+Sbw==",- "license": "MIT",- "engines": {- "node": ">=0.10.0"- }- },- "node_modules/react-dom": {- "version": "19.2.8",- "resolved": "https://registry.npmjs.org/react-dom/-/react-dom-19.2.8.tgz",- "integrity": "sha512-rVprimfGBG3DR+Tq0IQG2DT5PxKth1WIGDmj5yPmlzr4YBe7uyE+Du4oVqTDXZSHGGGXRtTJEGSSePyQCMBglQ==",- "license": "MIT",- "dependencies": {- "scheduler": "^0.27.0"- },- "peerDependencies": {- "react": "^19.2.8"- }- },- "node_modules/react-icons": {- "version": "5.7.0",- "resolved": "https://registry.npmjs.org/react-icons/-/react-icons-5.7.0.tgz",- "integrity": "sha512-LBLy340Rzqy6+/yVhZKT3B/QpP1BZaesGqasf09HPOBzRarcDIFH0WwXlXQfE7q7ipxK4MSiC5DIBWURCny6fw==",- "license": "MIT",- "peerDependencies": {- "react": "*"- }- },- "node_modules/react-is": {- "version": "16.13.1",- "resolved": "https://registry.npmjs.org/react-is/-/react-is-16.13.1.tgz",- "integrity": "sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ==",- "dev": true,- "license": "MIT"- },- "node_modules/react-markdown": {- "version": "10.1.0",- "resolved": "https://registry.npmjs.org/react-markdown/-/react-markdown-10.1.0.tgz",- "integrity": "sha512-qKxVopLT/TyA6BX3Ue5NwabOsAzm0Q7kAPwq6L+wWDwisYs7R8vZ0nRXqq6rkueboxpkjvLGU9fWifiX/ZZFxQ==",- "license": "MIT",- "dependencies": {- "@types/hast": "^3.0.0",- "@types/mdast": "^4.0.0",- "devlop": "^1.0.0",- "hast-util-to-jsx-runtime": "^2.0.0",- "html-url-attributes": "^3.0.0",- "mdast-util-to-hast": "^13.0.0",- "remark-parse": "^11.0.0",- "remark-rehype": "^11.0.0",- "unified": "^11.0.0",- "unist-util-visit": "^5.0.0",- "vfile": "^6.0.0"- },- "funding": {- "type": "opencollective",- "url": "https://opencollective.com/unified"- },- "peerDependencies": {- "@types/react": ">=18",- "react": ">=18"- }- },- "node_modules/reflect.getprototypeof": {- "version": "1.0.10",- "resolved": "https://registry.npmjs.org/reflect.getprototypeof/-/reflect.getprototypeof-1.0.10.tgz",- "integrity": "sha512-00o4I+DVrefhv+nX0ulyi3biSHCPDe+yLv5o/p6d/UVlirijB8E16FtfwSAi4g3tcqrQ4lRAqQSoFEZJehYEcw==",- "dev": true,- "license": "MIT",- "dependencies": {- "call-bind": "^1.0.8",- "define-properties": "^1.2.1",- "es-abstract": "^1.23.9",- "es-errors": "^1.3.0",- "es-object-atoms": "^1.0.0",- "get-intrinsic": "^1.2.7",- "get-proto": "^1.0.1",- "which-builtin-type": "^1.2.1"- },- "engines": {- "node": ">= 0.4"- },- "funding": {- "url": "https://github.com/sponsors/ljharb"- }- },- "node_modules/regexp.prototype.flags": {- "version": "1.5.4",- "resolved": "https://registry.npmjs.org/regexp.prototype.flags/-/regexp.prototype.flags-1.5.4.tgz",- "integrity": "sha512-dYqgNSZbDwkaJ2ceRd9ojCGjBq+mOm9LmtXnAnEGyHhN/5R7iDW2TRw3h+o/jCFxus3P2LfWIIiwowAjANm7IA==",- "dev": true,- "license": "MIT",- "dependencies": {- "call-bind": "^1.0.8",- "define-properties": "^1.2.1",- "es-errors": "^1.3.0",- "get-proto": "^1.0.1",- "gopd": "^1.2.0",- "set-function-name": "^2.0.2"- },- "engines": {- "node": ">= 0.4"- },- "funding": {- "url": "https://github.com/sponsors/ljharb"- }- },- "node_modules/remark-gfm": {- "version": "4.0.1",- "resolved": "https://registry.npmjs.org/remark-gfm/-/remark-gfm-4.0.1.tgz",- "integrity": "sha512-1quofZ2RQ9EWdeN34S79+KExV1764+wCUGop5CPL1WGdD0ocPpu91lzPGbwWMECpEpd42kJGQwzRfyov9j4yNg==",- "license": "MIT",- "dependencies": {- "@types/mdast": "^4.0.0",- "mdast-util-gfm": "^3.0.0",- "micromark-extension-gfm": "^3.0.0",- "remark-parse": "^11.0.0",- "remark-stringify": "^11.0.0",- "unified": "^11.0.0"- },- "funding": {- "type": "opencollective",- "url": "https://opencollective.com/unified"- }- },- "node_modules/remark-parse": {- "version": "11.0.0",- "resolved": "https://registry.npmjs.org/remark-parse/-/remark-parse-11.0.0.tgz",- "integrity": "sha512-FCxlKLNGknS5ba/1lmpYijMUzX2esxW5xQqjWxw2eHFfS2MSdaHVINFmhjo+qN1WhZhNimq0dZATN9pH0IDrpA==",- "license": "MIT",- "dependencies": {- "@types/mdast": "^4.0.0",- "mdast-util-from-markdown": "^2.0.0",- "micromark-util-types": "^2.0.0",- "unified": "^11.0.0"- },- "funding": {- "type": "opencollective",- "url": "https://opencollective.com/unified"- }- },- "node_modules/remark-rehype": {- "version": "11.1.2",- "resolved": "https://registry.npmjs.org/remark-rehype/-/remark-rehype-11.1.2.tgz",- "integrity": "sha512-Dh7l57ianaEoIpzbp0PC9UKAdCSVklD8E5Rpw7ETfbTl3FqcOOgq5q2LVDhgGCkaBv7p24JXikPdvhhmHvKMsw==",- "license": "MIT",- "dependencies": {- "@types/hast": "^3.0.0",- "@types/mdast": "^4.0.0",- "mdast-util-to-hast": "^13.0.0",- "unified": "^11.0.0",- "vfile": "^6.0.0"- },- "funding": {- "type": "opencollective",- "url": "https://opencollective.com/unified"- }- },- "node_modules/remark-stringify": {- "version": "11.0.0",- "resolved": "https://registry.npmjs.org/remark-stringify/-/remark-stringify-11.0.0.tgz",- "integrity": "sha512-1OSmLd3awB/t8qdoEOMazZkNsfVTeY4fTsgzcQFdXNq8ToTN4ZGwrMnlda4K6smTFKD+GRV6O48i6Z4iKgPPpw==",- "license": "MIT",- "dependencies": {- "@types/mdast": "^4.0.0",- "mdast-util-to-markdown": "^2.0.0",- "unified": "^11.0.0"- },- "funding": {- "type": "opencollective",- "url": "https://opencollective.com/unified"- }- },- "node_modules/resolve": {- "version": "2.0.0-next.7",- "resolved": "https://registry.npmjs.org/resolve/-/resolve-2.0.0-next.7.tgz",- "integrity": "sha512-tqt+NBWwyaMgw3zDsnygx4CByWjQEJHOPMdslYhppaQSJUtL/D4JO9CcBBlhPoI8lz9oJIDXkwXfhF4aWqP8xQ==",- "dev": true,- "license": "MIT",- "dependencies": {- "es-errors": "^1.3.0",- "is-core-module": "^2.16.2",- "node-exports-info": "^1.6.0",- "object-keys": "^1.1.1",- "path-parse": "^1.0.7",- "supports-preserve-symlinks-flag": "^1.0.0"- },- "bin": {- "resolve": "bin/resolve"- },- "engines": {- "node": ">= 0.4"- },- "funding": {- "url": "https://github.com/sponsors/ljharb"- }- },- "node_modules/resolve-from": {- "version": "4.0.0",- "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-4.0.0.tgz",- "integrity": "sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==",- "dev": true,- "license": "MIT",- "engines": {- "node": ">=4"- }- },- "node_modules/resolve-pkg-maps": {- "version": "1.0.0",- "resolved": "https://registry.npmjs.org/resolve-pkg-maps/-/resolve-pkg-maps-1.0.0.tgz",- "integrity": "sha512-seS2Tj26TBVOC2NIc2rOe2y2ZO7efxITtLZcGSOnHHNOQ7CkiUBfw0Iw2ck6xkIhPwLhKNLS8BO+hEpngQlqzw==",- "dev": true,- "license": "MIT",- "funding": {- "url": "https://github.com/privatenumber/resolve-pkg-maps?sponsor=1"- }- },- "node_modules/reusify": {- "version": "1.1.0",- "resolved": "https://registry.npmjs.org/reusify/-/reusify-1.1.0.tgz",- "integrity": "sha512-g6QUff04oZpHs0eG5p83rFLhHeV00ug/Yf9nZM6fLeUrPguBTkTQOdpAWWspMh55TZfVQDPaN3NQJfbVRAxdIw==",- "dev": true,- "license": "MIT",- "engines": {- "iojs": ">=1.0.0",- "node": ">=0.10.0"- }- },- "node_modules/rope-sequence": {- "version": "1.3.4",- "resolved": "https://registry.npmjs.org/rope-sequence/-/rope-sequence-1.3.4.tgz",- "integrity": "sha512-UT5EDe2cu2E/6O4igUr5PSFs23nvvukicWHx6GnOPlHAiiYbzNuCRQCuiUdHJQcqKalLKlrYJnjY0ySGsXNQXQ==",- "license": "MIT"- },- "node_modules/run-parallel": {- "version": "1.2.0",- "resolved": "https://registry.npmjs.org/run-parallel/-/run-parallel-1.2.0.tgz",- "integrity": "sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA==",- "dev": true,- "funding": [- {- "type": "github",- "url": "https://github.com/sponsors/feross"- },- {- "type": "patreon",- "url": "https://www.patreon.com/feross"- },- {- "type": "consulting",- "url": "https://feross.org/support"- }- ],- "license": "MIT",- "dependencies": {- "queue-microtask": "^1.2.2"- }- },- "node_modules/safe-array-concat": {- "version": "1.1.4",- "resolved": "https://registry.npmjs.org/safe-array-concat/-/safe-array-concat-1.1.4.tgz",- "integrity": "sha512-wtZlHyOje6OZTGqAoaDKxFkgRtkF9CnHAVnCHKfuj200wAgL+bSJhdsCD2l0Qx/2ekEXjPWcyKkfGb5CPboslg==",- "dev": true,- "license": "MIT",- "dependencies": {- "call-bind": "^1.0.9",- "call-bound": "^1.0.4",- "get-intrinsic": "^1.3.0",- "has-symbols": "^1.1.0",- "isarray": "^2.0.5"- },- "engines": {- "node": ">=0.4"- },- "funding": {- "url": "https://github.com/sponsors/ljharb"- }- },- "node_modules/safe-push-apply": {- "version": "1.0.0",- "resolved": "https://registry.npmjs.org/safe-push-apply/-/safe-push-apply-1.0.0.tgz",- "integrity": "sha512-iKE9w/Z7xCzUMIZqdBsp6pEQvwuEebH4vdpjcDWnyzaI6yl6O9FHvVpmGelvEHNsoY6wGblkxR6Zty/h00WiSA==",- "dev": true,- "license": "MIT",- "dependencies": {- "es-errors": "^1.3.0",- "isarray": "^2.0.5"- },- "engines": {- "node": ">= 0.4"- },- "funding": {- "url": "https://github.com/sponsors/ljharb"- }- },- "node_modules/safe-regex-test": {- "version": "1.1.0",- "resolved": "https://registry.npmjs.org/safe-regex-test/-/safe-regex-test-1.1.0.tgz",- "integrity": "sha512-x/+Cz4YrimQxQccJf5mKEbIa1NzeCRNI5Ecl/ekmlYaampdNLPalVyIcCZNNH3MvmqBugV5TMYZXv0ljslUlaw==",- "dev": true,- "license": "MIT",- "dependencies": {- "call-bound": "^1.0.2",- "es-errors": "^1.3.0",- "is-regex": "^1.2.1"- },- "engines": {- "node": ">= 0.4"- },- "funding": {- "url": "https://github.com/sponsors/ljharb"- }- },- "node_modules/scheduler": {- "version": "0.27.0",- "resolved": "https://registry.npmjs.org/scheduler/-/scheduler-0.27.0.tgz",- "integrity": "sha512-eNv+WrVbKu1f3vbYJT/xtiF5syA5HPIMtf9IgY/nKg0sWqzAUEvqY/xm7OcZc/qafLx/iO9FgOmeSAp4v5ti/Q==",- "license": "MIT"- },- "node_modules/semver": {- "version": "6.3.1",- "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz",- "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==",- "dev": true,- "license": "ISC",- "bin": {- "semver": "bin/semver.js"- }- },- "node_modules/set-function-length": {- "version": "1.2.2",- "resolved": "https://registry.npmjs.org/set-function-length/-/set-function-length-1.2.2.tgz",- "integrity": "sha512-pgRc4hJ4/sNjWCSS9AmnS40x3bNMDTknHgL5UaMBTMyJnU90EgWh1Rz+MC9eFu4BuN/UwZjKQuY/1v3rM7HMfg==",- "dev": true,- "license": "MIT",- "dependencies": {- "define-data-property": "^1.1.4",- "es-errors": "^1.3.0",- "function-bind": "^1.1.2",- "get-intrinsic": "^1.2.4",- "gopd": "^1.0.1",- "has-property-descriptors": "^1.0.2"- },- "engines": {- "node": ">= 0.4"- }- },- "node_modules/set-function-name": {- "version": "2.0.2",- "resolved": "https://registry.npmjs.org/set-function-name/-/set-function-name-2.0.2.tgz",- "integrity": "sha512-7PGFlmtwsEADb0WYyvCMa1t+yke6daIG4Wirafur5kcf+MhUnPms1UeR0CKQdTZD81yESwMHbtn+TR+dMviakQ==",- "dev": true,- "license": "MIT",- "dependencies": {- "define-data-property": "^1.1.4",- "es-errors": "^1.3.0",- "functions-have-names": "^1.2.3",- "has-property-descriptors": "^1.0.2"- },- "engines": {- "node": ">= 0.4"- }- },- "node_modules/set-proto": {- "version": "1.0.0",- "resolved": "https://registry.npmjs.org/set-proto/-/set-proto-1.0.0.tgz",- "integrity": "sha512-RJRdvCo6IAnPdsvP/7m6bsQqNnn1FCBX5ZNtFL98MmFF/4xAIJTIg1YbHW5DC2W5SKZanrC6i4HsJqlajw/dZw==",- "dev": true,- "license": "MIT",- "dependencies": {- "dunder-proto": "^1.0.1",- "es-errors": "^1.3.0",- "es-object-atoms": "^1.0.0"- },- "engines": {- "node": ">= 0.4"- }- },- "node_modules/sharp": {- "version": "0.35.5",- "resolved": "https://registry.npmjs.org/sharp/-/sharp-0.35.5.tgz",- "integrity": "sha512-Ywn4OnzGukp7CDMrp08RQ50YKmuwG47brZgIVPTvBaaAfQlRlygrRqSrxdCiL9M+LlzLBiJ68IR1QqvzHyjC7g==",- "license": "Apache-2.0",- "optional": true,- "dependencies": {- "@img/colour": "^1.1.0",- "detect-libc": "^2.1.2",- "semver": "^7.8.5"- },- "engines": {- "node": ">=20.9.0"- },- "funding": {- "url": "https://opencollective.com/libvips"- },- "optionalDependencies": {- "@img/sharp-darwin-arm64": "0.35.5",- "@img/sharp-darwin-x64": "0.35.5",- "@img/sharp-freebsd-wasm32": "0.35.5",- "@img/sharp-libvips-darwin-arm64": "1.3.4",- "@img/sharp-libvips-darwin-x64": "1.3.4",- "@img/sharp-libvips-linux-arm": "1.3.4",- "@img/sharp-libvips-linux-arm64": "1.3.4",- "@img/sharp-libvips-linux-ppc64": "1.3.4",- "@img/sharp-libvips-linux-riscv64": "1.3.4",- "@img/sharp-libvips-linux-s390x": "1.3.4",- "@img/sharp-libvips-linux-x64": "1.3.4",- "@img/sharp-libvips-linuxmusl-arm64": "1.3.4",- "@img/sharp-libvips-linuxmusl-x64": "1.3.4",- "@img/sharp-linux-arm": "0.35.5",- "@img/sharp-linux-arm64": "0.35.5",- "@img/sharp-linux-ppc64": "0.35.5",- "@img/sharp-linux-riscv64": "0.35.5",- "@img/sharp-linux-s390x": "0.35.5",- "@img/sharp-linux-x64": "0.35.5",- "@img/sharp-linuxmusl-arm64": "0.35.5",- "@img/sharp-linuxmusl-x64": "0.35.5",- "@img/sharp-webcontainers-wasm32": "0.35.5",- "@img/sharp-win32-arm64": "0.35.5",- "@img/sharp-win32-ia32": "0.35.5",- "@img/sharp-win32-x64": "0.35.5"- },- "peerDependenciesMeta": {- "@types/node": {- "optional": true- }- }- },- "node_modules/sharp/node_modules/semver": {- "version": "7.8.5",- "resolved": "https://registry.npmjs.org/semver/-/semver-7.8.5.tgz",- "integrity": "sha512-Y7/KDsb8LjooZpwaqGyulO6DQlksgCncchHGk+sZIY4SBvUocMBEFH5Ur1fI4dV+Jvl0w6cjvucaIi40puRioA==",- "license": "ISC",- "optional": true,- "bin": {- "semver": "bin/semver.js"- },- "engines": {- "node": ">=10"- }- },- "node_modules/shebang-command": {- "version": "2.0.0",- "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz",- "integrity": "sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==",- "dev": true,- "license": "MIT",- "dependencies": {- "shebang-regex": "^3.0.0"- },- "engines": {- "node": ">=8"- }- },- "node_modules/shebang-regex": {- "version": "3.0.0",- "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-3.0.0.tgz",- "integrity": "sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==",- "dev": true,- "license": "MIT",- "engines": {- "node": ">=8"- }- },- "node_modules/side-channel": {- "version": "1.1.1",- "resolved": "https://registry.npmjs.org/side-channel/-/side-channel-1.1.1.tgz",- "integrity": "sha512-6x6dK6zJdpTzF4sQeNYxwtvBzf6Eg4GtlesS94HOvTudUeyK2WXAaIfmDgsyslYrRBeFIlsi54AYsFGUuhmvrQ==",- "dev": true,- "license": "MIT",- "dependencies": {- "es-errors": "^1.3.0",- "object-inspect": "^1.13.4",- "side-channel-list": "^1.0.1",- "side-channel-map": "^1.0.1",- "side-channel-weakmap": "^1.0.2"- },- "engines": {- "node": ">= 0.4"- },- "funding": {- "url": "https://github.com/sponsors/ljharb"- }- },- "node_modules/side-channel-list": {- "version": "1.0.1",- "resolved": "https://registry.npmjs.org/side-channel-list/-/side-channel-list-1.0.1.tgz",- "integrity": "sha512-mjn/0bi/oUURjc5Xl7IaWi/OJJJumuoJFQJfDDyO46+hBWsfaVM65TBHq2eoZBhzl9EchxOijpkbRC8SVBQU0w==",- "dev": true,- "license": "MIT",- "dependencies": {- "es-errors": "^1.3.0",- "object-inspect": "^1.13.4"- },- "engines": {- "node": ">= 0.4"- },- "funding": {- "url": "https://github.com/sponsors/ljharb"- }- },- "node_modules/side-channel-map": {- "version": "1.0.1",- "resolved": "https://registry.npmjs.org/side-channel-map/-/side-channel-map-1.0.1.tgz",- "integrity": "sha512-VCjCNfgMsby3tTdo02nbjtM/ewra6jPHmpThenkTYh8pG9ucZ/1P8So4u4FGBek/BjpOVsDCMoLA/iuBKIFXRA==",- "dev": true,- "license": "MIT",- "dependencies": {- "call-bound": "^1.0.2",- "es-errors": "^1.3.0",- "get-intrinsic": "^1.2.5",- "object-inspect": "^1.13.3"- },- "engines": {- "node": ">= 0.4"- },- "funding": {- "url": "https://github.com/sponsors/ljharb"- }- },- "node_modules/side-channel-weakmap": {- "version": "1.0.2",- "resolved": "https://registry.npmjs.org/side-channel-weakmap/-/side-channel-weakmap-1.0.2.tgz",- "integrity": "sha512-WPS/HvHQTYnHisLo9McqBHOJk2FkHO/tlpvldyrnem4aeQp4hai3gythswg6p01oSoTl58rcpiFAjF2br2Ak2A==",- "dev": true,- "license": "MIT",- "dependencies": {- "call-bound": "^1.0.2",- "es-errors": "^1.3.0",- "get-intrinsic": "^1.2.5",- "object-inspect": "^1.13.3",- "side-channel-map": "^1.0.1"- },- "engines": {- "node": ">= 0.4"- },- "funding": {- "url": "https://github.com/sponsors/ljharb"- }- },- "node_modules/source-map-js": {- "version": "1.2.2",- "resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-1.2.2.tgz",- "integrity": "sha512-KGj/8Y43x35aZVDtt+J4mK1hoLGHULMYfSkODJNQjNDC3oW1PqPoxMwo0pLUsWM/UEGzON/NxeHywEfNXNP3Vw==",- "license": "BSD-3-Clause",- "engines": {- "node": ">=0.10.0"- }- },- "node_modules/space-separated-tokens": {- "version": "2.0.2",- "resolved": "https://registry.npmjs.org/space-separated-tokens/-/space-separated-tokens-2.0.2.tgz",- "integrity": "sha512-PEGlAwrG8yXGXRjW32fGbg66JAlOAwbObuqVoJpv/mRgoWDQfgH1wDPvtzWyUSNAXBGSk8h755YDbbcEy3SH2Q==",- "license": "MIT",- "funding": {- "type": "github",- "url": "https://github.com/sponsors/wooorm"- }- },- "node_modules/stable-hash": {- "version": "0.0.5",- "resolved": "https://registry.npmjs.org/stable-hash/-/stable-hash-0.0.5.tgz",- "integrity": "sha512-+L3ccpzibovGXFK+Ap/f8LOS0ahMrHTf3xu7mMLSpEGU0EO9ucaysSylKo9eRDFNhWve/y275iPmIZ4z39a9iA==",- "dev": true,- "license": "MIT"- },- "node_modules/stop-iteration-iterator": {- "version": "1.1.0",- "resolved": "https://registry.npmjs.org/stop-iteration-iterator/-/stop-iteration-iterator-1.1.0.tgz",- "integrity": "sha512-eLoXW/DHyl62zxY4SCaIgnRhuMr6ri4juEYARS8E6sCEqzKpOiE521Ucofdx+KnDZl5xmvGYaaKCk5FEOxJCoQ==",- "dev": true,- "license": "MIT",- "dependencies": {- "es-errors": "^1.3.0",- "internal-slot": "^1.1.0"- },- "engines": {- "node": ">= 0.4"- }- },- "node_modules/string.prototype.includes": {- "version": "2.0.1",- "resolved": "https://registry.npmjs.org/string.prototype.includes/-/string.prototype.includes-2.0.1.tgz",- "integrity": "sha512-o7+c9bW6zpAdJHTtujeePODAhkuicdAryFsfVKwA+wGw89wJ4GTY484WTucM9hLtDEOpOvI+aHnzqnC5lHp4Rg==",- "dev": true,- "license": "MIT",- "dependencies": {- "call-bind": "^1.0.7",- "define-properties": "^1.2.1",- "es-abstract": "^1.23.3"- },- "engines": {- "node": ">= 0.4"- }- },- "node_modules/string.prototype.matchall": {- "version": "4.1.0",- "resolved": "https://registry.npmjs.org/string.prototype.matchall/-/string.prototype.matchall-4.1.0.tgz",- "integrity": "sha512-tHNHTxInrYLCga9O9YGxWA3G9/nnzQw8UGAyqGx3Ar1pSTTzIuM4woFSq4SowkXCjJIwq5sIiQvEfRI9tCH1qQ==",- "dev": true,- "license": "MIT",- "dependencies": {- "call-bind": "^1.0.9",- "call-bound": "^1.0.4",- "define-properties": "^1.2.1",- "es-abstract": "^1.24.2",- "es-errors": "^1.3.0",- "es-object-atoms": "^1.1.2",- "get-intrinsic": "^1.3.0",- "gopd": "^1.2.0",- "has-symbols": "^1.1.0",- "internal-slot": "^1.1.0",- "regexp.prototype.flags": "^1.5.4",- "set-function-name": "^2.0.2",- "side-channel": "^1.1.1"- },- "engines": {- "node": ">= 0.4"- },- "funding": {- "url": "https://github.com/sponsors/ljharb"- }- },- "node_modules/string.prototype.repeat": {- "version": "1.0.0",- "resolved": "https://registry.npmjs.org/string.prototype.repeat/-/string.prototype.repeat-1.0.0.tgz",- "integrity": "sha512-0u/TldDbKD8bFCQ/4f5+mNRrXwZ8hg2w7ZR8wa16e8z9XpePWl3eGEcUD0OXpEH/VJH/2G3gjUtR3ZOiBe2S/w==",- "dev": true,- "license": "MIT",- "dependencies": {- "define-properties": "^1.1.3",- "es-abstract": "^1.17.5"- }- },- "node_modules/string.prototype.trim": {- "version": "1.2.11",- "resolved": "https://registry.npmjs.org/string.prototype.trim/-/string.prototype.trim-1.2.11.tgz",- "integrity": "sha512-PwvK7BU+CMTJGYQCTZb5RWXIML92lftJLhQz1tBzgKiqGxJaMlBAa48POXaNAC2s4y8jr3EFqrkF9+44neS46w==",- "dev": true,- "license": "MIT",- "dependencies": {- "call-bind": "^1.0.9",- "call-bound": "^1.0.4",- "define-data-property": "^1.1.4",- "define-properties": "^1.2.1",- "es-abstract": "^1.24.2",- "es-object-atoms": "^1.1.2",- "has-property-descriptors": "^1.0.2",- "safe-regex-test": "^1.1.0"- },- "engines": {- "node": ">= 0.4"- },- "funding": {- "url": "https://github.com/sponsors/ljharb"- }- },- "node_modules/string.prototype.trimend": {- "version": "1.0.10",- "resolved": "https://registry.npmjs.org/string.prototype.trimend/-/string.prototype.trimend-1.0.10.tgz",- "integrity": "sha512-2+3aDAOmPTmuFwjDnmJG2ctEkQKVki7vOSqaxkv42Mowj1V6PnvuwFCRrR5lChUux1TBskPjfkeTOhqczDMxTw==",- "dev": true,- "license": "MIT",- "dependencies": {- "call-bind": "^1.0.9",- "call-bound": "^1.0.4",- "define-properties": "^1.2.1",- "es-object-atoms": "^1.1.2"- },- "engines": {- "node": ">= 0.4"- },- "funding": {- "url": "https://github.com/sponsors/ljharb"- }- },- "node_modules/string.prototype.trimstart": {- "version": "1.0.8",- "resolved": "https://registry.npmjs.org/string.prototype.trimstart/-/string.prototype.trimstart-1.0.8.tgz",- "integrity": "sha512-UXSH262CSZY1tfu3G3Secr6uGLCFVPMhIqHjlgCUtCCcgihYc/xKs9djMTMUOb2j1mVSeU8EU6NWc/iQKU6Gfg==",- "dev": true,- "license": "MIT",- "dependencies": {- "call-bind": "^1.0.7",- "define-properties": "^1.2.1",- "es-object-atoms": "^1.0.0"- },- "engines": {- "node": ">= 0.4"- },- "funding": {- "url": "https://github.com/sponsors/ljharb"- }- },- "node_modules/stringify-entities": {- "version": "4.0.4",- "resolved": "https://registry.npmjs.org/stringify-entities/-/stringify-entities-4.0.4.tgz",- "integrity": "sha512-IwfBptatlO+QCJUo19AqvrPNqlVMpW9YEL2LIVY+Rpv2qsjCGxaDLNRgeGsQWJhfItebuJhsGSLjaBbNSQ+ieg==",- "license": "MIT",- "dependencies": {- "character-entities-html4": "^2.0.0",- "character-entities-legacy": "^3.0.0"- },- "funding": {- "type": "github",- "url": "https://github.com/sponsors/wooorm"- }- },- "node_modules/strip-bom": {- "version": "3.0.0",- "resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-3.0.0.tgz",- "integrity": "sha512-vavAMRXOgBVNF6nyEEmL3DBK19iRpDcoIwW+swQ+CbGiu7lju6t+JklA1MHweoWtadgt4ISVUsXLyDq34ddcwA==",- "dev": true,- "license": "MIT",- "engines": {- "node": ">=4"- }- },- "node_modules/strip-json-comments": {- "version": "3.1.1",- "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-3.1.1.tgz",- "integrity": "sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==",- "dev": true,- "license": "MIT",- "engines": {- "node": ">=8"- },- "funding": {- "url": "https://github.com/sponsors/sindresorhus"- }- },- "node_modules/style-to-js": {- "version": "1.1.21",- "resolved": "https://registry.npmjs.org/style-to-js/-/style-to-js-1.1.21.tgz",- "integrity": "sha512-RjQetxJrrUJLQPHbLku6U/ocGtzyjbJMP9lCNK7Ag0CNh690nSH8woqWH9u16nMjYBAok+i7JO1NP2pOy8IsPQ==",- "license": "MIT",- "dependencies": {- "style-to-object": "1.0.14"- }- },- "node_modules/style-to-object": {- "version": "1.0.14",- "resolved": "https://registry.npmjs.org/style-to-object/-/style-to-object-1.0.14.tgz",- "integrity": "sha512-LIN7rULI0jBscWQYaSswptyderlarFkjQ+t79nzty8tcIAceVomEVlLzH5VP4Cmsv6MtKhs7qaAiwlcp+Mgaxw==",- "license": "MIT",- "dependencies": {- "inline-style-parser": "0.2.7"- }- },- "node_modules/styled-jsx": {- "version": "5.1.6",- "resolved": "https://registry.npmjs.org/styled-jsx/-/styled-jsx-5.1.6.tgz",- "integrity": "sha512-qSVyDTeMotdvQYoHWLNGwRFJHC+i+ZvdBRYosOFgC+Wg1vx4frN2/RG/NA7SYqqvKNLf39P2LSRA2pu6n0XYZA==",- "license": "MIT",- "dependencies": {- "client-only": "0.0.1"- },- "engines": {- "node": ">= 12.0.0"- },- "peerDependencies": {- "react": ">= 16.8.0 || 17.x.x || ^18.0.0-0 || ^19.0.0-0"- },- "peerDependenciesMeta": {- "@babel/core": {- "optional": true- },- "babel-plugin-macros": {- "optional": true- }- }- },- "node_modules/supports-color": {- "version": "7.2.0",- "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz",- "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==",- "dev": true,- "license": "MIT",- "dependencies": {- "has-flag": "^4.0.0"- },- "engines": {- "node": ">=8"- }- },- "node_modules/supports-preserve-symlinks-flag": {- "version": "1.0.0",- "resolved": "https://registry.npmjs.org/supports-preserve-symlinks-flag/-/supports-preserve-symlinks-flag-1.0.0.tgz",- "integrity": "sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==",- "dev": true,- "license": "MIT",- "engines": {- "node": ">= 0.4"- },- "funding": {- "url": "https://github.com/sponsors/ljharb"- }- },- "node_modules/tailwindcss": {- "version": "4.3.3",- "resolved": "https://registry.npmjs.org/tailwindcss/-/tailwindcss-4.3.3.tgz",- "integrity": "sha512-gOhV3P7ufE62QDGg1zVaTgCR+EtPv92k2nIhVcVKcLmxT1sUBsQGhnZj175j+MqRt4zLF7ic+sCYjfhxMxj7YQ==",- "dev": true,- "license": "MIT"- },- "node_modules/tapable": {- "version": "2.3.3",- "resolved": "https://registry.npmjs.org/tapable/-/tapable-2.3.3.tgz",- "integrity": "sha512-uxc/zpqFg6x7C8vOE7lh6Lbda8eEL9zmVm/PLeTPBRhh1xCgdWaQ+J1CUieGpIfm2HdtsUpRv+HshiasBMcc6A==",- "dev": true,- "license": "MIT",- "engines": {- "node": ">=6"- },- "funding": {- "type": "opencollective",- "url": "https://opencollective.com/webpack"- }- },- "node_modules/tinyglobby": {- "version": "0.2.17",- "resolved": "https://registry.npmjs.org/tinyglobby/-/tinyglobby-0.2.17.tgz",- "integrity": "sha512-wXR/dYpcqKmfWpEdZjiKJOwCNFndD0DMnrW/cYjVGttEkBfVgcLFHoNrlj47mjOVic9yyNu65alsgF4NQyTa2g==",- "dev": true,- "license": "MIT",- "dependencies": {- "fdir": "^6.5.0",- "picomatch": "^4.0.4"- },- "engines": {- "node": ">=12.0.0"- },- "funding": {- "url": "https://github.com/sponsors/SuperchupuDev"- }- },- "node_modules/tinyglobby/node_modules/fdir": {- "version": "6.5.0",- "resolved": "https://registry.npmjs.org/fdir/-/fdir-6.5.0.tgz",- "integrity": "sha512-tIbYtZbucOs0BRGqPJkshJUYdL+SDH7dVM8gjy+ERp3WAUjLEFJE+02kanyHtwjWOnwrKYBiwAmM0p4kLJAnXg==",- "dev": true,- "license": "MIT",- "engines": {- "node": ">=12.0.0"- },- "peerDependencies": {- "picomatch": "^3 || ^4"- },- "peerDependenciesMeta": {- "picomatch": {- "optional": true- }- }- },- "node_modules/tinyglobby/node_modules/picomatch": {- "version": "4.0.7",- "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-4.0.7.tgz",- "integrity": "sha512-qcJu88Q2IWqJsDD529JKMdwGm/dvInW4HvQnRwiH9JtihJvzGOscDtHE3x1pBKeUOTysQ8kVmLnJ2kJu7yhcGA==",- "dev": true,- "license": "MIT",- "engines": {- "node": ">=12"- },- "funding": {- "url": "https://github.com/sponsors/jonschlinkert"- }- },- "node_modules/to-regex-range": {- "version": "5.0.1",- "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz",- "integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==",- "dev": true,- "license": "MIT",- "dependencies": {- "is-number": "^7.0.0"- },- "engines": {- "node": ">=8.0"- }- },- "node_modules/trim-lines": {- "version": "3.0.1",- "resolved": "https://registry.npmjs.org/trim-lines/-/trim-lines-3.0.1.tgz",- "integrity": "sha512-kRj8B+YHZCc9kQYdWfJB2/oUl9rA99qbowYYBtr4ui4mZyAQ2JpvVBd/6U2YloATfqBhBTSMhTpgBHtU0Mf3Rg==",- "license": "MIT",- "funding": {- "type": "github",- "url": "https://github.com/sponsors/wooorm"- }- },- "node_modules/trough": {- "version": "2.2.0",- "resolved": "https://registry.npmjs.org/trough/-/trough-2.2.0.tgz",- "integrity": "sha512-tmMpK00BjZiUyVyvrBK7knerNgmgvcV/KLVyuma/SC+TQN167GrMRciANTz09+k3zW8L8t60jWO1GpfkZdjTaw==",- "license": "MIT",- "funding": {- "type": "github",- "url": "https://github.com/sponsors/wooorm"- }- },- "node_modules/ts-api-utils": {- "version": "2.5.0",- "resolved": "https://registry.npmjs.org/ts-api-utils/-/ts-api-utils-2.5.0.tgz",- "integrity": "sha512-OJ/ibxhPlqrMM0UiNHJ/0CKQkoKF243/AEmplt3qpRgkW8VG7IfOS41h7V8TjITqdByHzrjcS/2si+y4lIh8NA==",- "dev": true,- "license": "MIT",- "engines": {- "node": ">=18.12"- },- "peerDependencies": {- "typescript": ">=4.8.4"- }- },- "node_modules/tsconfig-paths": {- "version": "3.15.0",- "resolved": "https://registry.npmjs.org/tsconfig-paths/-/tsconfig-paths-3.15.0.tgz",- "integrity": "sha512-2Ac2RgzDe/cn48GvOe3M+o82pEFewD3UPbyoUHHdKasHwJKjds4fLXWf/Ux5kATBKN20oaFGu+jbElp1pos0mg==",- "dev": true,- "license": "MIT",- "dependencies": {- "@types/json5": "^0.0.29",- "json5": "^1.0.2",- "minimist": "^1.2.6",- "strip-bom": "^3.0.0"- }- },- "node_modules/tsconfig-paths/node_modules/json5": {- "version": "1.0.2",- "resolved": "https://registry.npmjs.org/json5/-/json5-1.0.2.tgz",- "integrity": "sha512-g1MWMLBiz8FKi1e4w0UyVL3w+iJceWAFBAaBnnGKOpNa5f8TLktkbre1+s6oICydWAm+HRUGTmI+//xv2hvXYA==",- "dev": true,- "license": "MIT",- "dependencies": {- "minimist": "^1.2.0"- },- "bin": {- "json5": "lib/cli.js"- }- },- "node_modules/tslib": {- "version": "2.8.1",- "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.1.tgz",- "integrity": "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==",- "license": "0BSD"- },- "node_modules/type-check": {- "version": "0.4.0",- "resolved": "https://registry.npmjs.org/type-check/-/type-check-0.4.0.tgz",- "integrity": "sha512-XleUoc9uwGXqjWwXaUTZAmzMcFZ5858QA2vvx1Ur5xIcixXIP+8LnFDgRplU30us6teqdlskFfu+ae4K79Ooew==",- "dev": true,- "license": "MIT",- "dependencies": {- "prelude-ls": "^1.2.1"- },- "engines": {- "node": ">= 0.8.0"- }- },- "node_modules/typed-array-buffer": {- "version": "1.0.3",- "resolved": "https://registry.npmjs.org/typed-array-buffer/-/typed-array-buffer-1.0.3.tgz",- "integrity": "sha512-nAYYwfY3qnzX30IkA6AQZjVbtK6duGontcQm1WSG1MD94YLqK0515GNApXkoxKOWMusVssAHWLh9SeaoefYFGw==",- "dev": true,- "license": "MIT",- "dependencies": {- "call-bound": "^1.0.3",- "es-errors": "^1.3.0",- "is-typed-array": "^1.1.14"- },- "engines": {- "node": ">= 0.4"- }- },- "node_modules/typed-array-byte-length": {- "version": "1.0.3",- "resolved": "https://registry.npmjs.org/typed-array-byte-length/-/typed-array-byte-length-1.0.3.tgz",- "integrity": "sha512-BaXgOuIxz8n8pIq3e7Atg/7s+DpiYrxn4vdot3w9KbnBhcRQq6o3xemQdIfynqSeXeDrF32x+WvfzmOjPiY9lg==",- "dev": true,- "license": "MIT",- "dependencies": {- "call-bind": "^1.0.8",- "for-each": "^0.3.3",- "gopd": "^1.2.0",- "has-proto": "^1.2.0",- "is-typed-array": "^1.1.14"- },- "engines": {- "node": ">= 0.4"- },- "funding": {- "url": "https://github.com/sponsors/ljharb"- }- },- "node_modules/typed-array-byte-offset": {- "version": "1.0.5",- "resolved": "https://registry.npmjs.org/typed-array-byte-offset/-/typed-array-byte-offset-1.0.5.tgz",- "integrity": "sha512-0FHJvLPqZ7KJzp17O13jfsAjsqazgrxBu2zEK95PmUz8lv2+GjRuxUInCr2Rk9Dms3ihN21zJ929ZO43yJ95QQ==",- "dev": true,- "license": "MIT",- "dependencies": {- "available-typed-arrays": "^1.0.7",- "call-bind": "^1.0.9",- "for-each": "^0.3.5",- "gopd": "^1.2.0",- "is-typed-array": "^1.1.15",- "reflect.getprototypeof": "^1.0.10"- },- "engines": {- "node": ">= 0.4"- },- "funding": {- "url": "https://github.com/sponsors/ljharb"- }- },- "node_modules/typed-array-length": {- "version": "1.0.8",- "resolved": "https://registry.npmjs.org/typed-array-length/-/typed-array-length-1.0.8.tgz",- "integrity": "sha512-phPGCwqr2+Qo0fwniCE8e4pKnGu/yFb5nD5Y8bf0EEeiI5GklnACYA9GFy/DrAeRrKHXvHn+1SUsOWgJp6RO+g==",- "dev": true,- "license": "MIT",- "dependencies": {- "call-bind": "^1.0.9",- "for-each": "^0.3.5",- "gopd": "^1.2.0",- "is-typed-array": "^1.1.15",- "possible-typed-array-names": "^1.1.0",- "reflect.getprototypeof": "^1.0.10"- },- "engines": {- "node": ">= 0.4"- },- "funding": {- "url": "https://github.com/sponsors/ljharb"- }- },- "node_modules/typescript": {- "version": "5.9.3",- "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.9.3.tgz",- "integrity": "sha512-jl1vZzPDinLr9eUt3J/t7V6FgNEw9QjvBPdysz9KfQDD41fQrC2Y4vKQdiaUpFT4bXlb1RHhLpp8wtm6M5TgSw==",- "dev": true,- "license": "Apache-2.0",- "peer": true,- "bin": {- "tsc": "bin/tsc",- "tsserver": "bin/tsserver"- },- "engines": {- "node": ">=14.17"- }- },- "node_modules/typescript-eslint": {- "version": "8.71.0",- "resolved": "https://registry.npmjs.org/typescript-eslint/-/typescript-eslint-8.71.0.tgz",- "integrity": "sha512-fBdHYiqQ14RW6mOMXD14Svn82ZsCYAoQSzGRzyEjR59S5A2Krh/l7fGTOQ7iCr8gGy/mHVXtEF7s5fgjEdV0Pw==",- "dev": true,- "license": "MIT",- "dependencies": {- "@typescript-eslint/eslint-plugin": "8.71.0",- "@typescript-eslint/parser": "8.71.0",- "@typescript-eslint/typescript-estree": "8.71.0",- "@typescript-eslint/utils": "8.71.0"- },- "engines": {- "node": "^18.18.0 || ^20.9.0 || >=21.1.0"- },- "funding": {- "type": "opencollective",- "url": "https://opencollective.com/typescript-eslint"- },- "peerDependencies": {- "eslint": "^8.57.0 || ^9.0.0 || ^10.0.0",- "typescript": ">=4.8.4 <6.1.0"- }- },- "node_modules/unbox-primitive": {- "version": "1.1.0",- "resolved": "https://registry.npmjs.org/unbox-primitive/-/unbox-primitive-1.1.0.tgz",- "integrity": "sha512-nWJ91DjeOkej/TA8pXQ3myruKpKEYgqvpw9lz4OPHj/NWFNluYrjbz9j01CJ8yKQd2g4jFoOkINCTW2I5LEEyw==",- "dev": true,- "license": "MIT",- "dependencies": {- "call-bound": "^1.0.3",- "has-bigints": "^1.0.2",- "has-symbols": "^1.1.0",- "which-boxed-primitive": "^1.1.1"- },- "engines": {- "node": ">= 0.4"- },- "funding": {- "url": "https://github.com/sponsors/ljharb"- }- },- "node_modules/unified": {- "version": "11.0.5",- "resolved": "https://registry.npmjs.org/unified/-/unified-11.0.5.tgz",- "integrity": "sha512-xKvGhPWw3k84Qjh8bI3ZeJjqnyadK+GEFtazSfZv/rKeTkTjOJho6mFqh2SM96iIcZokxiOpg78GazTSg8+KHA==",- "license": "MIT",- "dependencies": {- "@types/unist": "^3.0.0",- "bail": "^2.0.0",- "devlop": "^1.0.0",- "extend": "^3.0.0",- "is-plain-obj": "^4.0.0",- "trough": "^2.0.0",- "vfile": "^6.0.0"- },- "funding": {- "type": "opencollective",- "url": "https://opencollective.com/unified"- }- },- "node_modules/unist-util-is": {- "version": "6.0.1",- "resolved": "https://registry.npmjs.org/unist-util-is/-/unist-util-is-6.0.1.tgz",- "integrity": "sha512-LsiILbtBETkDz8I9p1dQ0uyRUWuaQzd/cuEeS1hoRSyW5E5XGmTzlwY1OrNzzakGowI9Dr/I8HVaw4hTtnxy8g==",- "license": "MIT",- "dependencies": {- "@types/unist": "^3.0.0"- },- "funding": {- "type": "opencollective",- "url": "https://opencollective.com/unified"- }- },- "node_modules/unist-util-position": {- "version": "5.0.0",- "resolved": "https://registry.npmjs.org/unist-util-position/-/unist-util-position-5.0.0.tgz",- "integrity": "sha512-fucsC7HjXvkB5R3kTCO7kUjRdrS0BJt3M/FPxmHMBOm8JQi2BsHAHFsy27E0EolP8rp0NzXsJ+jNPyDWvOJZPA==",- "license": "MIT",- "dependencies": {- "@types/unist": "^3.0.0"- },- "funding": {- "type": "opencollective",- "url": "https://opencollective.com/unified"- }- },- "node_modules/unist-util-stringify-position": {- "version": "4.0.0",- "resolved": "https://registry.npmjs.org/unist-util-stringify-position/-/unist-util-stringify-position-4.0.0.tgz",- "integrity": "sha512-0ASV06AAoKCDkS2+xw5RXJywruurpbC4JZSm7nr7MOt1ojAzvyyaO+UxZf18j8FCF6kmzCZKcAgN/yu2gm2XgQ==",- "license": "MIT",- "dependencies": {- "@types/unist": "^3.0.0"- },- "funding": {- "type": "opencollective",- "url": "https://opencollective.com/unified"- }- },- "node_modules/unist-util-visit": {- "version": "5.1.0",- "resolved": "https://registry.npmjs.org/unist-util-visit/-/unist-util-visit-5.1.0.tgz",- "integrity": "sha512-m+vIdyeCOpdr/QeQCu2EzxX/ohgS8KbnPDgFni4dQsfSCtpz8UqDyY5GjRru8PDKuYn7Fq19j1CQ+nJSsGKOzg==",- "license": "MIT",- "dependencies": {- "@types/unist": "^3.0.0",- "unist-util-is": "^6.0.0",- "unist-util-visit-parents": "^6.0.0"- },- "funding": {- "type": "opencollective",- "url": "https://opencollective.com/unified"- }- },- "node_modules/unist-util-visit-parents": {- "version": "6.0.2",- "resolved": "https://registry.npmjs.org/unist-util-visit-parents/-/unist-util-visit-parents-6.0.2.tgz",- "integrity": "sha512-goh1s1TBrqSqukSc8wrjwWhL0hiJxgA8m4kFxGlQ+8FYQ3C/m11FcTs4YYem7V664AhHVvgoQLk890Ssdsr2IQ==",- "license": "MIT",- "dependencies": {- "@types/unist": "^3.0.0",- "unist-util-is": "^6.0.0"- },- "funding": {- "type": "opencollective",- "url": "https://opencollective.com/unified"- }- },- "node_modules/unrs-resolver": {- "version": "1.12.2",- "resolved": "https://registry.npmjs.org/unrs-resolver/-/unrs-resolver-1.12.2.tgz",- "integrity": "sha512-dmlRxBJJayXjqTwC+JtF1HhJmgf3ftQ3YejFcZrf4+KKtJv0qDsK1pjqaaVjG7wJ5NJ6UVP1OqRMQ71Z4C3rxQ==",- "dev": true,- "hasInstallScript": true,- "license": "MIT",- "dependencies": {- "napi-postinstall": "^0.3.4"- },- "funding": {- "url": "https://opencollective.com/unrs-resolver"- },- "optionalDependencies": {- "@unrs/resolver-binding-android-arm-eabi": "1.12.2",- "@unrs/resolver-binding-android-arm64": "1.12.2",- "@unrs/resolver-binding-darwin-arm64": "1.12.2",- "@unrs/resolver-binding-darwin-x64": "1.12.2",- "@unrs/resolver-binding-freebsd-x64": "1.12.2",- "@unrs/resolver-binding-linux-arm-gnueabihf": "1.12.2",- "@unrs/resolver-binding-linux-arm-musleabihf": "1.12.2",- "@unrs/resolver-binding-linux-arm64-gnu": "1.12.2",- "@unrs/resolver-binding-linux-arm64-musl": "1.12.2",- "@unrs/resolver-binding-linux-loong64-gnu": "1.12.2",- "@unrs/resolver-binding-linux-loong64-musl": "1.12.2",- "@unrs/resolver-binding-linux-ppc64-gnu": "1.12.2",- "@unrs/resolver-binding-linux-riscv64-gnu": "1.12.2",- "@unrs/resolver-binding-linux-riscv64-musl": "1.12.2",- "@unrs/resolver-binding-linux-s390x-gnu": "1.12.2",- "@unrs/resolver-binding-linux-x64-gnu": "1.12.2",- "@unrs/resolver-binding-linux-x64-musl": "1.12.2",- "@unrs/resolver-binding-openharmony-arm64": "1.12.2",- "@unrs/resolver-binding-wasm32-wasi": "1.12.2",- "@unrs/resolver-binding-win32-arm64-msvc": "1.12.2",- "@unrs/resolver-binding-win32-ia32-msvc": "1.12.2",- "@unrs/resolver-binding-win32-x64-msvc": "1.12.2"- }- },- "node_modules/update-browserslist-db": {- "version": "1.3.3",- "resolved": "https://registry.npmjs.org/update-browserslist-db/-/update-browserslist-db-1.3.3.tgz",- "integrity": "sha512-pJ2sYawQS0R/WI928Gj5GlPhTGzbMelq0+4INtSYNDV9ErKJcX6xjGWkoG/VnB3dpUm00zALaqkrUD77pO5TDQ==",- "dev": true,- "funding": [- {- "type": "opencollective",- "url": "https://opencollective.com/browserslist"- },- {- "type": "tidelift",- "url": "https://tidelift.com/funding/github/npm/browserslist"- },- {- "type": "github",- "url": "https://github.com/sponsors/ai"- }- ],- "license": "MIT",- "dependencies": {- "escalade": "^3.2.0",- "picocolors": "^1.1.1"- },- "bin": {- "update-browserslist-db": "cli.js"- },- "peerDependencies": {- "browserslist": ">= 4.21.0"- }- },- "node_modules/uri-js": {- "version": "4.4.1",- "resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.4.1.tgz",- "integrity": "sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg==",- "dev": true,- "license": "BSD-2-Clause",- "dependencies": {- "punycode": "^2.1.0"- }- },- "node_modules/use-sync-external-store": {- "version": "1.7.0",- "resolved": "https://registry.npmjs.org/use-sync-external-store/-/use-sync-external-store-1.7.0.tgz",- "integrity": "sha512-6L+EeigHMQhdaIPNIFUKwfWJSwWFQ8gJbJ2DLOs5sDIegTwR9fRxvnM3uciHKjIZhFz+KAv2emhWMRvDmMcY8A==",- "license": "MIT",- "peerDependencies": {- "react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0"- }- },- "node_modules/vfile": {- "version": "6.0.3",- "resolved": "https://registry.npmjs.org/vfile/-/vfile-6.0.3.tgz",- "integrity": "sha512-KzIbH/9tXat2u30jf+smMwFCsno4wHVdNmzFyL+T/L3UGqqk6JKfVqOFOZEpZSHADH1k40ab6NUIXZq422ov3Q==",- "license": "MIT",- "dependencies": {- "@types/unist": "^3.0.0",- "vfile-message": "^4.0.0"- },- "funding": {- "type": "opencollective",- "url": "https://opencollective.com/unified"- }- },- "node_modules/vfile-message": {- "version": "4.0.3",- "resolved": "https://registry.npmjs.org/vfile-message/-/vfile-message-4.0.3.tgz",- "integrity": "sha512-QTHzsGd1EhbZs4AsQ20JX1rC3cOlt/IWJruk893DfLRr57lcnOeMaWG4K0JrRta4mIJZKth2Au3mM3u03/JWKw==",- "license": "MIT",- "dependencies": {- "@types/unist": "^3.0.0",- "unist-util-stringify-position": "^4.0.0"- },- "funding": {- "type": "opencollective",- "url": "https://opencollective.com/unified"- }- },- "node_modules/w3c-keyname": {- "version": "2.2.8",- "resolved": "https://registry.npmjs.org/w3c-keyname/-/w3c-keyname-2.2.8.tgz",- "integrity": "sha512-dpojBhNsCNN7T82Tm7k26A6G9ML3NkhDsnw9n/eoxSRlVBB4CEtIQ/KTCLI2Fwf3ataSXRhYFkQi3SlnFwPvPQ==",- "license": "MIT"- },- "node_modules/which": {- "version": "2.0.2",- "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz",- "integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==",- "dev": true,- "license": "ISC",- "dependencies": {- "isexe": "^2.0.0"- },- "bin": {- "node-which": "bin/node-which"- },- "engines": {- "node": ">= 8"- }- },- "node_modules/which-boxed-primitive": {- "version": "1.1.1",- "resolved": "https://registry.npmjs.org/which-boxed-primitive/-/which-boxed-primitive-1.1.1.tgz",- "integrity": "sha512-TbX3mj8n0odCBFVlY8AxkqcHASw3L60jIuF8jFP78az3C2YhmGvqbHBpAjTRH2/xqYunrJ9g1jSyjCjpoWzIAA==",- "dev": true,- "license": "MIT",- "dependencies": {- "is-bigint": "^1.1.0",- "is-boolean-object": "^1.2.1",- "is-number-object": "^1.1.1",- "is-string": "^1.1.1",- "is-symbol": "^1.1.1"- },- "engines": {- "node": ">= 0.4"- },- "funding": {- "url": "https://github.com/sponsors/ljharb"- }- },- "node_modules/which-builtin-type": {- "version": "1.2.1",- "resolved": "https://registry.npmjs.org/which-builtin-type/-/which-builtin-type-1.2.1.tgz",- "integrity": "sha512-6iBczoX+kDQ7a3+YJBnh3T+KZRxM/iYNPXicqk66/Qfm1b93iu+yOImkg0zHbj5LNOcNv1TEADiZ0xa34B4q6Q==",- "dev": true,- "license": "MIT",- "dependencies": {- "call-bound": "^1.0.2",- "function.prototype.name": "^1.1.6",- "has-tostringtag": "^1.0.2",- "is-async-function": "^2.0.0",- "is-date-object": "^1.1.0",- "is-finalizationregistry": "^1.1.0",- "is-generator-function": "^1.0.10",- "is-regex": "^1.2.1",- "is-weakref": "^1.0.2",- "isarray": "^2.0.5",- "which-boxed-primitive": "^1.1.0",- "which-collection": "^1.0.2",- "which-typed-array": "^1.1.16"- },- "engines": {- "node": ">= 0.4"- },- "funding": {- "url": "https://github.com/sponsors/ljharb"- }- },- "node_modules/which-collection": {- "version": "1.0.2",- "resolved": "https://registry.npmjs.org/which-collection/-/which-collection-1.0.2.tgz",- "integrity": "sha512-K4jVyjnBdgvc86Y6BkaLZEN933SwYOuBFkdmBu9ZfkcAbdVbpITnDmjvZ/aQjRXQrv5EPkTnD1s39GiiqbngCw==",- "dev": true,- "license": "MIT",- "dependencies": {- "is-map": "^2.0.3",- "is-set": "^2.0.3",- "is-weakmap": "^2.0.2",- "is-weakset": "^2.0.3"- },- "engines": {- "node": ">= 0.4"- },- "funding": {- "url": "https://github.com/sponsors/ljharb"- }- },- "node_modules/which-typed-array": {- "version": "1.1.24",- "resolved": "https://registry.npmjs.org/which-typed-array/-/which-typed-array-1.1.24.tgz",- "integrity": "sha512-wk4Mf4pR5mRP7eYuuTBCIQ9d0ud2Fv2jRLQpfgnRjbOxAFHmjKFValgTpitVKzJJS8ajnYQV2Du1SZ8j6b/EUQ==",- "dev": true,- "license": "MIT",- "dependencies": {- "available-typed-arrays": "^1.0.7",- "call-bind": "^1.0.9",- "call-bound": "^1.0.4",- "for-each": "^0.3.5",- "get-proto": "^1.0.1",- "gopd": "^1.2.0",- "has-tostringtag": "^1.0.2"- },- "engines": {- "node": ">= 0.4"- },- "funding": {- "url": "https://github.com/sponsors/ljharb"- }- },- "node_modules/word-wrap": {- "version": "1.2.5",- "resolved": "https://registry.npmjs.org/word-wrap/-/word-wrap-1.2.5.tgz",- "integrity": "sha512-BN22B5eaMMI9UMtjrGd5g5eCYPpCPDUy0FJXbYsaT5zYxjFOckS53SQDE3pWkVoWpHXVb3BrYcEN4Twa55B5cA==",- "dev": true,- "license": "MIT",- "engines": {- "node": ">=0.10.0"- }- },- "node_modules/yallist": {- "version": "3.1.1",- "resolved": "https://registry.npmjs.org/yallist/-/yallist-3.1.1.tgz",- "integrity": "sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g==",- "dev": true,- "license": "ISC"- },- "node_modules/yocto-queue": {- "version": "0.1.0",- "resolved": "https://registry.npmjs.org/yocto-queue/-/yocto-queue-0.1.0.tgz",- "integrity": "sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==",- "dev": true,- "license": "MIT",- "engines": {- "node": ">=10"- },- "funding": {- "url": "https://github.com/sponsors/sindresorhus"- }- },- "node_modules/zod": {- "version": "4.6.5",- "resolved": "https://registry.npmjs.org/zod/-/zod-4.6.5.tgz",- "integrity": "sha512-v5l/aFXZQeai4awLbOpSoHecE9UiMrnfx75tEXLjNonXVARxQ5mOeipTjROUchszUNCqnE+hqAMujRsRHsut2Q==",- "dev": true,- "license": "MIT",- "funding": {- "url": "https://github.com/sponsors/colinhacks"- }- },- "node_modules/zod-validation-error": {- "version": "4.0.2",- "resolved": "https://registry.npmjs.org/zod-validation-error/-/zod-validation-error-4.0.2.tgz",- "integrity": "sha512-Q6/nZLe6jxuU80qb/4uJ4t5v2VEZ44lzQjPDhYJNztRQ4wyWc6VF3D3Kb/fAuPetZQnhS3hnajCf9CsWesghLQ==",- "dev": true,- "license": "MIT",- "engines": {- "node": ">=18.0.0"- },- "peerDependencies": {- "zod": "^3.25.0 || ^4.0.0"- }- },- "node_modules/zwitch": {- "version": "2.0.4",- "resolved": "https://registry.npmjs.org/zwitch/-/zwitch-2.0.4.tgz",- "integrity": "sha512-bXE4cR/kVZhKZX/RjPEflHaKVhUVl85noU3v6b8apfQEc1x4A+zBxjZ4lN8LqGd6WZ3dl98pY4o717VFmoPp+A==",- "license": "MIT",- "funding": {- "type": "github",- "url": "https://github.com/sponsors/wooorm"- }- }- }-}diff --git a/client/package.json b/client/package.jsondeleted file mode 100644index 6cb1177..0000000--- a/client/package.json+++ /dev/null@@ -1,37 +0,0 @@-{- "name": "client",- "version": "0.1.0",- "private": true,- "scripts": {- "dev": "next dev",- "build": "next build",- "start": "next start",- "lint": "eslint"- },- "dependencies": {- "@tiptap/core": "^3.31.4",- "@tiptap/extension-image": "^3.31.4",- "@tiptap/extension-placeholder": "^3.31.4",- "@tiptap/extension-table": "^3.31.4",- "@tiptap/extension-task-item": "^3.31.4",- "@tiptap/extension-task-list": "^3.31.4",- "@tiptap/markdown": "^3.31.4",- "@tiptap/pm": "^3.31.4",- "@tiptap/react": "^3.31.4",- "@tiptap/starter-kit": "^3.31.4",- "@tiptap/suggestion": "^3.31.4",- "next": "16.3.8",- "next-themes": "^0.4.6",- "react": "19.2.8",- "react-dom": "19.2.8",- "react-icons": "^5.7.0",- "react-markdown": "^10.1.0",- "remark-gfm": "^4.0.1"- },- "devDependencies": {- "@tailwindcss/postcss": "^4",- "eslint": "^9",- "eslint-config-next": "16.3.8",- "tailwindcss": "^4"- }-}diff --git a/client/postcss.config.mjs b/client/postcss.config.mjsdeleted file mode 100644index 61e3684..0000000--- a/client/postcss.config.mjs+++ /dev/null@@ -1,7 +0,0 @@-const config = {- plugins: {- "@tailwindcss/postcss": {},- },-};--export default config;diff --git a/client/public/file.svg b/client/public/file.svgdeleted file mode 100644index 004145c..0000000--- a/client/public/file.svg+++ /dev/null@@ -1 +0,0 @@-<svg fill="none" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path d="M14.5 13.5V5.41a1 1 0 0 0-.3-.7L9.8.29A1 1 0 0 0 9.08 0H1.5v13.5A2.5 2.5 0 0 0 4 16h8a2.5 2.5 0 0 0 2.5-2.5m-1.5 0v-7H8v-5H3v12a1 1 0 0 0 1 1h8a1 1 0 0 0 1-1M9.5 5V2.12L12.38 5zM5.13 5h-.62v1.25h2.12V5zm-.62 3h7.12v1.25H4.5zm.62 3h-.62v1.25h7.12V11z" clip-rule="evenodd" fill="#666" fill-rule="evenodd"/></svg>\ No newline at end of filediff --git a/client/public/globe.svg b/client/public/globe.svgdeleted file mode 100644index 567f17b..0000000--- a/client/public/globe.svg+++ /dev/null@@ -1 +0,0 @@-<svg fill="none" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><g clip-path="url(#a)"><path fill-rule="evenodd" clip-rule="evenodd" d="M10.27 14.1a6.5 6.5 0 0 0 3.67-3.45q-1.24.21-2.7.34-.31 1.83-.97 3.1M8 16A8 8 0 1 0 8 0a8 8 0 0 0 0 16m.48-1.52a7 7 0 0 1-.96 0H7.5a4 4 0 0 1-.84-1.32q-.38-.89-.63-2.08a40 40 0 0 0 3.92 0q-.25 1.2-.63 2.08a4 4 0 0 1-.84 1.31zm2.94-4.76q1.66-.15 2.95-.43a7 7 0 0 0 0-2.58q-1.3-.27-2.95-.43a18 18 0 0 1 0 3.44m-1.27-3.54a17 17 0 0 1 0 3.64 39 39 0 0 1-4.3 0 17 17 0 0 1 0-3.64 39 39 0 0 1 4.3 0m1.1-1.17q1.45.13 2.69.34a6.5 6.5 0 0 0-3.67-3.44q.65 1.26.98 3.1M8.48 1.5l.01.02q.41.37.84 1.31.38.89.63 2.08a40 40 0 0 0-3.92 0q.25-1.2.63-2.08a4 4 0 0 1 .85-1.32 7 7 0 0 1 .96 0m-2.75.4a6.5 6.5 0 0 0-3.67 3.44 29 29 0 0 1 2.7-.34q.31-1.83.97-3.1M4.58 6.28q-1.66.16-2.95.43a7 7 0 0 0 0 2.58q1.3.27 2.95.43a18 18 0 0 1 0-3.44m.17 4.71q-1.45-.12-2.69-.34a6.5 6.5 0 0 0 3.67 3.44q-.65-1.27-.98-3.1" fill="#666"/></g><defs><clipPath id="a"><path fill="#fff" d="M0 0h16v16H0z"/></clipPath></defs></svg>\ No newline at end of filediff --git a/client/public/next.svg b/client/public/next.svgdeleted file mode 100644index 5174b28..0000000--- a/client/public/next.svg+++ /dev/null@@ -1 +0,0 @@-<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 394 80"><path fill="#000" d="M262 0h68.5v12.7h-27.2v66.6h-13.6V12.7H262V0ZM149 0v12.7H94v20.4h44.3v12.6H94v21h55v12.6H80.5V0h68.7zm34.3 0h-17.8l63.8 79.4h17.9l-32-39.7 32-39.6h-17.9l-23 28.6-23-28.6zm18.3 56.7-9-11-27.1 33.7h17.8l18.3-22.7z"/><path fill="#000" d="M81 79.3 17 0H0v79.3h13.6V17l50.2 62.3H81Zm252.6-.4c-1 0-1.8-.4-2.5-1s-1.1-1.6-1.1-2.6.3-1.8 1-2.5 1.6-1 2.6-1 1.8.3 2.5 1a3.4 3.4 0 0 1 .6 4.3 3.7 3.7 0 0 1-3 1.8zm23.2-33.5h6v23.3c0 2.1-.4 4-1.3 5.5a9.1 9.1 0 0 1-3.8 3.5c-1.6.8-3.5 1.3-5.7 1.3-2 0-3.7-.4-5.3-1s-2.8-1.8-3.7-3.2c-.9-1.3-1.4-3-1.4-5h6c.1.8.3 1.6.7 2.2s1 1.2 1.6 1.5c.7.4 1.5.5 2.4.5 1 0 1.8-.2 2.4-.6a4 4 0 0 0 1.6-1.8c.3-.8.5-1.8.5-3V45.5zm30.9 9.1a4.4 4.4 0 0 0-2-3.3 7.5 7.5 0 0 0-4.3-1.1c-1.3 0-2.4.2-3.3.5-.9.4-1.6 1-2 1.6a3.5 3.5 0 0 0-.3 4c.3.5.7.9 1.3 1.2l1.8 1 2 .5 3.2.8c1.3.3 2.5.7 3.7 1.2a13 13 0 0 1 3.2 1.8 8.1 8.1 0 0 1 3 6.5c0 2-.5 3.7-1.5 5.1a10 10 0 0 1-4.4 3.5c-1.8.8-4.1 1.2-6.8 1.2-2.6 0-4.9-.4-6.8-1.2-2-.8-3.4-2-4.5-3.5a10 10 0 0 1-1.7-5.6h6a5 5 0 0 0 3.5 4.6c1 .4 2.2.6 3.4.6 1.3 0 2.5-.2 3.5-.6 1-.4 1.8-1 2.4-1.7a4 4 0 0 0 .8-2.4c0-.9-.2-1.6-.7-2.2a11 11 0 0 0-2.1-1.4l-3.2-1-3.8-1c-2.8-.7-5-1.7-6.6-3.2a7.2 7.2 0 0 1-2.4-5.7 8 8 0 0 1 1.7-5 10 10 0 0 1 4.3-3.5c2-.8 4-1.2 6.4-1.2 2.3 0 4.4.4 6.2 1.2 1.8.8 3.2 2 4.3 3.4 1 1.4 1.5 3 1.5 5h-5.8z"/></svg>\ No newline at end of filediff --git a/client/public/vercel.svg b/client/public/vercel.svgdeleted file mode 100644index 7705396..0000000--- a/client/public/vercel.svg+++ /dev/null@@ -1 +0,0 @@-<svg fill="none" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1155 1000"><path d="m577.3 0 577.4 1000H0z" fill="#fff"/></svg>\ No newline at end of filediff --git a/client/public/window.svg b/client/public/window.svgdeleted file mode 100644index b2b2a44..0000000--- a/client/public/window.svg+++ /dev/null@@ -1 +0,0 @@-<svg fill="none" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path fill-rule="evenodd" clip-rule="evenodd" d="M1.5 2.5h13v10a1 1 0 0 1-1 1h-11a1 1 0 0 1-1-1zM0 1h16v11.5a2.5 2.5 0 0 1-2.5 2.5h-11A2.5 2.5 0 0 1 0 12.5zm3.75 4.5a.75.75 0 1 0 0-1.5.75.75 0 0 0 0 1.5M7 4.75a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0m1.75.75a.75.75 0 1 0 0-1.5.75.75 0 0 0 0 1.5" fill="#666"/></svg>\ No newline at end of filediff --git a/client/src/app/c/[chatId]/page.js b/client/src/app/c/[chatId]/page.jsdeleted file mode 100644index efec7fb..0000000--- a/client/src/app/c/[chatId]/page.js+++ /dev/null@@ -1,17 +0,0 @@-"use client";--import React from "react";-import { useParams } from "next/navigation";-import OpenSpacesApp from "../../../components/OpenSpacesApp";--export default function ChatConversationRoute() {- const params = useParams();- const chatId = params?.chatId;-- return (- <OpenSpacesApp- initialRailTab="home"- initialChatId={chatId}- />- );-}diff --git a/client/src/app/favicon.ico b/client/src/app/favicon.icodeleted file mode 100644index 718d6fe..0000000Binary files a/client/src/app/favicon.ico and /dev/null differdiff --git a/client/src/app/globals.css b/client/src/app/globals.cssdeleted file mode 100644index 7909433..0000000--- a/client/src/app/globals.css+++ /dev/null@@ -1,198 +0,0 @@-@import "tailwindcss";--@custom-variant dark (&:where(.dark, .dark *));--:root {- --background: #fbfbfa;- --foreground: #18181b;- --sidebar-bg: #f7f7f8;- --card-bg: #ffffff;- --border-color: #e4e4e7;-}--.dark {- --background: #141416;- --foreground: #f4f4f5;- --sidebar-bg: #18181b;- --card-bg: #1e1e24;- --border-color: #2e2e34;-}--*, ::before, ::after {- font-family: inherit;-}--body {- background-color: var(--background);- color: var(--foreground);- overflow-x: hidden;- transition: background-color 0.2s ease, color 0.2s ease;-}--input, textarea, select, button, code, pre, kbd {- font-family: inherit;-}--/* Custom Scrollbar */-::-webkit-scrollbar {- width: 6px;- height: 6px;-}--::-webkit-scrollbar-track {- background: transparent;-}--::-webkit-scrollbar-thumb {- background: #d4d4d8;- border-radius: 9999px;-}--.dark ::-webkit-scrollbar-thumb {- background: #333338;-}--::-webkit-scrollbar-thumb:hover {- background: #a1a1aa;-}--.dark ::-webkit-scrollbar-thumb:hover {- background: #4a4a50;-}--/* Prose and markdown custom styling using Inter */-.markdown-body h1 {- font-size: 1.85rem;- font-weight: 700;- margin-top: 1rem;- margin-bottom: 0.75rem;- color: #18181b;- border-bottom: 1px solid #e4e4e7;- padding-bottom: 0.4rem;-}-.dark .markdown-body h1 {- color: #f4f4f5;- border-bottom-color: #2e2e34;-}--.markdown-body h2 {- font-size: 1.4rem;- font-weight: 600;- margin-top: 1.25rem;- margin-bottom: 0.5rem;- color: #27272a;-}-.dark .markdown-body h2 {- color: #e4e4e7;-}--.markdown-body h3 {- font-size: 1.15rem;- font-weight: 600;- margin-top: 1rem;- margin-bottom: 0.4rem;- color: #3f3f46;-}-.dark .markdown-body h3 {- color: #d4d4d8;-}--.markdown-body p {- margin-bottom: 0.75rem;- line-height: 1.65;- color: #3f3f46;-}-.dark .markdown-body p {- color: #d4d4d8;-}--.markdown-body ul, .markdown-body ol {- margin-left: 1.5rem;- margin-bottom: 0.75rem;-}--.markdown-body li {- margin-bottom: 0.35rem;- line-height: 1.5;- color: #3f3f46;-}-.dark .markdown-body li {- color: #d4d4d8;-}--.markdown-body table {- width: 100%;- border-collapse: separate;- border-spacing: 0;- margin: 1.25rem 0;- font-size: 0.875rem;- border: 1px solid #d4d4d8;- border-radius: 12px;- overflow: hidden;- background: #ffffff;-}--.dark .markdown-body table {- border-color: #3f3f46;- background: #141418;-}--.markdown-body th, .markdown-body td {- border-right: 1px solid #e4e4e7;- border-bottom: 1px solid #e4e4e7;- padding: 0.65rem 0.9rem;- text-align: left;-}--.dark .markdown-body th, .dark .markdown-body td {- border-right-color: #33333a;- border-bottom-color: #33333a;-}--.markdown-body th:last-child,-.markdown-body td:last-child {- border-right: none;-}--.markdown-body tr:last-child td {- border-bottom: none;-}--.markdown-body th {- background-color: #f4f4f6;- font-weight: 600;- color: #18181b;- border-bottom: 2px solid #d4d4d8;-}--.dark .markdown-body th {- background-color: #1a1a22;- color: #f4f4f5;- border-bottom-color: #3f3f46;-}--.markdown-body blockquote {- border-left: 3px solid #6366f1;- padding-left: 1rem;- margin: 0.75rem 0;- color: #52525b;- font-style: italic;- background: rgba(99, 102, 241, 0.05);- padding-top: 0.25rem;- padding-bottom: 0.25rem;-}-.dark .markdown-body blockquote {- color: #a1a1aa;-}--.markdown-body code {- background-color: #f4f4f5;- padding: 0.15rem 0.35rem;- border-radius: 0.25rem;- font-size: 0.875rem;- color: #0f172a;-}-.dark .markdown-body code {- background-color: #27272a;- color: #cbd5e1;-}diff --git a/client/src/app/layout.js b/client/src/app/layout.jsdeleted file mode 100644index e92714a..0000000--- a/client/src/app/layout.js+++ /dev/null@@ -1,22 +0,0 @@-import { Inter } from "next/font/google";-import { ThemeProvider } from "../components/ThemeProvider";-import "./globals.css";--const inter = Inter({ subsets: ["latin"] });--export const metadata = {- title: "OpenSpaces - Autonomous AI Workspace & Pages",- description: "Open Spaces collaborative workspace with Pages, Dots (autonomous agents), and meeting intelligence.",-};--export default function RootLayout({ children }) {- return (- <html lang="en" suppressHydrationWarning className={`h-full ${inter.className}`}>- <body className={`${inter.className} min-h-full bg-[var(--background)] text-[var(--foreground)] antialiased transition-colors duration-200`}>- <ThemeProvider attribute="class" defaultTheme="system" enableSystem>- {children}- </ThemeProvider>- </body>- </html>- );-}diff --git a/client/src/app/page.js b/client/src/app/page.jsdeleted file mode 100644index 2a1dce4..0000000--- a/client/src/app/page.js+++ /dev/null@@ -1,12 +0,0 @@-"use client";--import React from "react";-import OpenSpacesApp from "../components/OpenSpacesApp";--export default function HomePage() {- return (- <OpenSpacesApp- initialRailTab="home"- />- );-}diff --git a/client/src/app/spaces/[spaceId]/page.js b/client/src/app/spaces/[spaceId]/page.jsdeleted file mode 100644index eb3ca6d..0000000--- a/client/src/app/spaces/[spaceId]/page.js+++ /dev/null@@ -1,18 +0,0 @@-"use client";--import React from "react";-import { useParams } from "next/navigation";-import OpenSpacesApp from "../../../components/OpenSpacesApp";--export default function SpaceRoute() {- const params = useParams();- const spaceId = params?.spaceId;-- return (- <OpenSpacesApp- initialRailTab="spaces"- initialSpaceId={spaceId}- initialPageId={null}- />- );-}diff --git a/client/src/app/spaces/[spaceId]/pages/[pageId]/page.js b/client/src/app/spaces/[spaceId]/pages/[pageId]/page.jsdeleted file mode 100644index 6a5cea7..0000000--- a/client/src/app/spaces/[spaceId]/pages/[pageId]/page.js+++ /dev/null@@ -1,19 +0,0 @@-"use client";--import React from "react";-import { useParams } from "next/navigation";-import OpenSpacesApp from "../../../../../components/OpenSpacesApp";--export default function SpacePageDocRoute() {- const params = useParams();- const spaceId = params?.spaceId;- const pageId = params?.pageId;-- return (- <OpenSpacesApp- initialRailTab="spaces"- initialSpaceId={spaceId}- initialPageId={pageId}- />- );-}diff --git a/client/src/components/AuthModal.js b/client/src/components/AuthModal.jsdeleted file mode 100644index c1a5c1a..0000000--- a/client/src/components/AuthModal.js+++ /dev/null@@ -1,245 +0,0 @@-"use client";--import React, { useState } from "react";-import { CloseIcon, SparklesIcon } from "./Icons";--const API_BASE = "http://localhost:8000/api";--export default function AuthModal({- isOpen,- onClose,- onSuccess,- allowClose = true,-}) {- const [mode, setMode] = useState("signin"); // "signin" | "signup"- const [name, setName] = useState("");- const [email, setEmail] = useState("");- const [password, setPassword] = useState("");- const [error, setError] = useState("");- const [loading, setLoading] = useState(false);-- if (!isOpen) return null;-- const handleSubmit = async (e) => {- e.preventDefault();- setError("");-- if (!email.trim()) {- setError("Please enter your email address.");- return;- }- if (!password.trim()) {- setError("Please enter your password.");- return;- }- if (mode === "signup" && !name.trim()) {- setError("Please enter your full name.");- return;- }- if (mode === "signup" && password.length < 6) {- setError("Password must be at least 6 characters.");- return;- }-- setLoading(true);-- try {- const endpoint = mode === "signup" ? `${API_BASE}/auth/signup` : `${API_BASE}/auth/login`;- const body = mode === "signup"- ? { name: name.trim(), email: email.trim().toLowerCase(), password: password.trim() }- : { email: email.trim().toLowerCase(), password: password.trim() };-- const res = await fetch(endpoint, {- method: "POST",- headers: { "Content-Type": "application/json" },- body: JSON.stringify(body),- });-- const data = await res.json();-- if (!res.ok) {- throw new Error(data.detail || "Authentication failed. Please check your credentials.");- }-- // Success- if (onSuccess) {- onSuccess(data.user, data.token);- }- if (onClose) {- onClose();- }- } catch (err) {- setError(err.message || "Something went wrong. Please try again.");- } finally {- setLoading(false);- }- };-- return (- <div className="fixed inset-0 z-50 flex items-center justify-center p-4 bg-black/60 backdrop-blur-sm animate-in fade-in duration-150">- <div- className="w-full max-w-md bg-white dark:bg-[#18181b] border border-zinc-200 dark:border-zinc-800 rounded-2xl shadow-2xl overflow-hidden flex flex-col"- onClick={(e) => e.stopPropagation()}- >- {/* Header Bar */}- <div className="flex items-center justify-between px-6 pt-5 pb-4 border-b border-zinc-100 dark:border-zinc-800/80">- <div className="flex items-center gap-2.5">- <div className="w-8 h-8 rounded-xl bg-gradient-to-tr from-indigo-600 to-violet-500 flex items-center justify-center text-white text-base shadow-sm">- 🌌- </div>- <div>- <h3 className="text-sm font-semibold text-zinc-900 dark:text-zinc-100 leading-tight">- OpenSpaces- </h3>- <p className="text-[11px] text-zinc-500 dark:text-zinc-400">- Please login first to access your spaces- </p>- </div>- </div>- {allowClose && onClose && (- <button- onClick={onClose}- className="p-1 rounded-lg text-zinc-400 hover:text-zinc-600 dark:hover:text-zinc-200 hover:bg-zinc-100 dark:hover:bg-zinc-800 transition-colors cursor-pointer"- >- <CloseIcon className="w-4 h-4" />- </button>- )}- </div>-- {/* Notice Badge */}- <div className="mx-6 mt-4 p-2.5 rounded-xl bg-amber-500/10 border border-amber-500/20 text-amber-700 dark:text-amber-400 text-xs flex items-center gap-2">- <span className="shrink-0 text-sm">🔒</span>- <span>Please login first or sign up to access your workspace.</span>- </div>-- {/* Tab Switcher: Sign In vs Sign Up */}- <div className="px-6 pt-3">- <div className="flex p-1 bg-zinc-100 dark:bg-zinc-900/90 rounded-xl border border-zinc-200/80 dark:border-zinc-800">- <button- type="button"- onClick={() => {- setMode("signin");- setError("");- }}- className={`flex-1 py-1.5 text-xs font-medium rounded-lg transition-all cursor-pointer ${- mode === "signin"- ? "bg-white dark:bg-zinc-800 text-zinc-900 dark:text-zinc-100 shadow-2xs"- : "text-zinc-500 dark:text-zinc-400 hover:text-zinc-800 dark:hover:text-zinc-200"- }`}- >- Sign In- </button>- <button- type="button"- onClick={() => {- setMode("signup");- setError("");- }}- className={`flex-1 py-1.5 text-xs font-medium rounded-lg transition-all cursor-pointer ${- mode === "signup"- ? "bg-white dark:bg-zinc-800 text-zinc-900 dark:text-zinc-100 shadow-2xs"- : "text-zinc-500 dark:text-zinc-400 hover:text-zinc-800 dark:hover:text-zinc-200"- }`}- >- Sign Up- </button>- </div>- </div>-- {/* Error Banner */}- {error && (- <div className="mx-6 mt-3 px-3 py-2 rounded-xl bg-red-500/10 border border-red-500/20 text-red-600 dark:text-red-400 text-xs flex items-center gap-2">- <span className="shrink-0">⚠️</span>- <span>{error}</span>- </div>- )}-- {/* Form Body */}- <form onSubmit={handleSubmit} className="px-6 py-4 space-y-3.5">- {mode === "signup" && (- <div>- <label className="block text-[11px] font-medium text-zinc-700 dark:text-zinc-300 mb-1">- Full Name- </label>- <input- type="text"- placeholder="e.g. Alex Morgan"- value={name}- onChange={(e) => setName(e.target.value)}- autoFocus- className="w-full bg-zinc-50 dark:bg-zinc-900/80 border border-zinc-300 dark:border-zinc-700/80 rounded-xl px-3 py-2 text-xs text-zinc-900 dark:text-zinc-100 placeholder-zinc-400 focus:outline-none focus:border-indigo-500 focus:ring-1 focus:ring-indigo-500/20 transition-all"- />- </div>- )}-- <div>- <label className="block text-[11px] font-medium text-zinc-700 dark:text-zinc-300 mb-1">- Email Address- </label>- <input- type="email"- placeholder="[email protected]"- value={email}- onChange={(e) => setEmail(e.target.value)}- autoFocus={mode === "signin"}- className="w-full bg-zinc-50 dark:bg-zinc-900/80 border border-zinc-300 dark:border-zinc-700/80 rounded-xl px-3 py-2 text-xs text-zinc-900 dark:text-zinc-100 placeholder-zinc-400 focus:outline-none focus:border-indigo-500 focus:ring-1 focus:ring-indigo-500/20 transition-all"- />- </div>-- <div>- <label className="block text-[11px] font-medium text-zinc-700 dark:text-zinc-300 mb-1">- Password- </label>- <input- type="password"- placeholder={mode === "signup" ? "At least 6 characters" : "Enter your password"}- value={password}- onChange={(e) => setPassword(e.target.value)}- className="w-full bg-zinc-50 dark:bg-zinc-900/80 border border-zinc-300 dark:border-zinc-700/80 rounded-xl px-3 py-2 text-xs text-zinc-900 dark:text-zinc-100 placeholder-zinc-400 focus:outline-none focus:border-indigo-500 focus:ring-1 focus:ring-indigo-500/20 transition-all"- />- </div>-- {mode === "signup" && (- <div className="p-2.5 rounded-xl bg-indigo-50/50 dark:bg-indigo-950/20 border border-indigo-200/50 dark:border-indigo-800/30 text-[11px] text-indigo-700 dark:text-indigo-300 flex items-start gap-2">- <SparklesIcon className="w-3.5 h-3.5 mt-0.5 shrink-0 text-indigo-500" />- <span>- Creates your personal workspace and welcome page automatically upon sign up.- </span>- </div>- )}-- <button- type="submit"- disabled={loading}- className="w-full py-2.5 px-4 bg-zinc-900 hover:bg-zinc-800 dark:bg-white dark:hover:bg-zinc-100 text-white dark:text-zinc-900 font-medium text-xs rounded-xl transition-all shadow-sm flex items-center justify-center gap-2 cursor-pointer disabled:opacity-50 disabled:cursor-not-allowed mt-2"- >- {loading ? (- <>- <div className="w-3.5 h-3.5 border-2 border-current border-t-transparent rounded-full animate-spin" />- <span>{mode === "signup" ? "Creating workspace..." : "Signing in..."}</span>- </>- ) : (- <span>{mode === "signup" ? "Sign Up & Create Workspace" : "Sign In to OpenSpaces"}</span>- )}- </button>- </form>-- {/* Switch mode footer */}- <div className="px-6 pb-5 pt-1 text-center">- <button- type="button"- onClick={() => {- setMode(mode === "signin" ? "signup" : "signin");- setError("");- }}- className="text-xs text-indigo-600 dark:text-indigo-400 hover:underline cursor-pointer"- >- {mode === "signin"- ? "Don't have an account? Sign up here"- : "Already have an account? Sign in"}- </button>- </div>- </div>- </div>- );-}diff --git a/client/src/components/CanvasPage.js b/client/src/components/CanvasPage.jsdeleted file mode 100644index d2709a0..0000000--- a/client/src/components/CanvasPage.js+++ /dev/null@@ -1,733 +0,0 @@-"use client";--import React, { useState, useEffect, useRef, useCallback } from "react";-import RichEditor from "./editor/RichEditor";-import { inspectMarkdown } from "./editor/markdown";-import {- WindowIcon,- SparklesIcon,- ClockIcon,- CloseIcon,-} from "./Icons";-import {- LuFileCode2,- LuTriangleAlert,- LuRotateCcw,- LuCopy,- LuCheck,- LuHistory,-} from "react-icons/lu";-import CustomDropdown from "./CustomDropdown";--const EMOJI_OPTIONS = ["📄", "🎓", "💡", "🚀", "📌", "📊", "📝", "🎯", "⚡", "🤖", "📁", "💻"];--export default function CanvasPage({- page,- onUpdatePage,- onStatusChange,- onTriggerAI,- saveTrigger,- historyOpen = false,- onCloseHistory,- onRestoreRevision,- authHeaders = {},-}) {- const [title, setTitle] = useState(page?.title || "Untitled page");- const [icon, setIcon] = useState(page?.icon || "📄");- const [content, setContent] = useState(page?.content || "");- const [pageStatus, setPageStatus] = useState(page?.status || "draft");- const [sourceMode, setSourceMode] = useState(false);- const [showEmojiPicker, setShowEmojiPicker] = useState(false);- const [promptInput, setPromptInput] = useState("");- const [notice, setNotice] = useState("");-- // Conflict and Local Draft states- const [conflictInfo, setConflictInfo] = useState(null);- const [localDraftAlert, setLocalDraftAlert] = useState(null);- const [copiedDraft, setCopiedDraft] = useState(false);-- // Revision History state- const [revisions, setRevisions] = useState([]);- const [isLoadingRevisions, setIsLoadingRevisions] = useState(false);-- const draftRef = useRef({- id: page?.id,- title: page?.title || "Untitled page",- icon: page?.icon || "📄",- content: page?.content || "",- isDirty: false,- });-- // Hold timer: only trigger save when user STOPS typing/modifying- const idleHoldTimerRef = useRef(null);- const isSavingRef = useRef(false);- const saveQueuedRef = useRef(false);- const prevSaveTriggerRef = useRef(saveTrigger);-- // Helper to persist draft locally- const persistLocalDraft = (draftObj) => {- if (!draftObj?.id) return;- try {- localStorage.setItem(- `openspaces_draft_${draftObj.id}`,- JSON.stringify({- title: draftObj.title,- icon: draftObj.icon,- content: draftObj.content,- timestamp: Date.now(),- })- );- } catch (_) {}- };-- const clearLocalDraft = (pageId) => {- if (!pageId) return;- try {- localStorage.removeItem(`openspaces_draft_${pageId}`);- } catch (_) {}- };-- // Sync draft state whenever page prop changes- useEffect(() => {- if (!page) return;-- if (draftRef.current.isDirty && draftRef.current.id && draftRef.current.id !== page.id) {- flushSave(draftRef.current);- }-- const initialTitle = page.title || "Untitled page";- const initialIcon = page.icon || "📄";- const rawContent = page.content ?? "";-- setTitle(initialTitle);- setIcon(initialIcon);- setContent(rawContent);- setPageStatus(page.status || "draft");- setConflictInfo(null);-- draftRef.current = {- id: page.id,- title: initialTitle,- icon: initialIcon,- content: rawContent,- isDirty: false,- };-- // Check for an unsaved local draft for this page- try {- const stored = localStorage.getItem(`openspaces_draft_${page.id}`);- if (stored) {- const parsed = JSON.parse(stored);- if (- parsed &&- (parsed.content !== rawContent || parsed.title !== initialTitle)- ) {- setLocalDraftAlert(parsed);- } else {- setLocalDraftAlert(null);- }- } else {- setLocalDraftAlert(null);- }- } catch (_) {- setLocalDraftAlert(null);- }-- if (onStatusChange) {- onStatusChange("Saved");- }- }, [page?.id]);-- // Fetch revisions when history drawer is opened- useEffect(() => {- if (!historyOpen || !page?.id || !page?.space_id) return;- let isMounted = true;- setIsLoadingRevisions(true);- fetch(`http://localhost:8000/api/spaces/${page.space_id}/pages/${page.id}/revisions`, {- headers: authHeaders,- })- .then((res) => (res.ok ? res.json() : []))- .then((data) => {- if (isMounted) {- setRevisions(data);- setIsLoadingRevisions(false);- }- })- .catch((err) => {- console.error("Error loading page revisions:", err);- if (isMounted) setIsLoadingRevisions(false);- });- return () => {- isMounted = false;- };- }, [historyOpen, page?.id, page?.space_id, page?.version]);-- // Flush save function with optimistic concurrency- const flushSave = useCallback(- async (overrideDraft = null, forcedRevision = null) => {- const current = overrideDraft || draftRef.current;- if (!current.id || !current.isDirty) return;-- if (idleHoldTimerRef.current) {- clearTimeout(idleHoldTimerRef.current);- idleHoldTimerRef.current = null;- }-- if (isSavingRef.current) {- saveQueuedRef.current = true;- return;- }-- isSavingRef.current = true;- if (onStatusChange) onStatusChange("Saving...");-- const snapshot = {- id: current.id,- title: current.title,- icon: current.icon,- content: current.content,- };-- try {- const payload = {- title: snapshot.title,- icon: snapshot.icon,- content: snapshot.content,- };- if (forcedRevision !== null) {- payload.expected_revision = forcedRevision;- } else if (page?.version !== undefined) {- payload.expected_revision = page.version;- }-- const result = await onUpdatePage(snapshot.id, payload);-- if (result && result.conflict) {- // 409 Conflict occurred- setConflictInfo(result.detail);- if (onStatusChange) onStatusChange("Conflict");- return;- }-- if (result) {- setConflictInfo(null);- clearLocalDraft(snapshot.id);-- if (- draftRef.current.content === snapshot.content &&- draftRef.current.title === snapshot.title &&- draftRef.current.icon === snapshot.icon- ) {- draftRef.current.isDirty = false;- if (onStatusChange) onStatusChange("Saved");- } else {- // Further edits were made while request was in flight- draftRef.current.isDirty = true;- if (onStatusChange) onStatusChange("Unsaved changes");- idleHoldTimerRef.current = setTimeout(() => {- flushSave();- }, 1500);- }- } else {- if (onStatusChange) onStatusChange("Failed");- }- } catch (err) {- console.warn("Autosave error:", err?.message || err);- if (onStatusChange) onStatusChange("Failed");- } finally {- isSavingRef.current = false;- if (saveQueuedRef.current && draftRef.current.isDirty) {- saveQueuedRef.current = false;- idleHoldTimerRef.current = setTimeout(() => {- flushSave();- }, 1500);- }- }- },- [onUpdatePage, onStatusChange, page?.version]- );-- // Debounced idle hold: Hold changes on "Unsaved changes" until user stops for 1.5s- const scheduleIdleAutosave = useCallback(- (newDraft) => {- draftRef.current = {- ...draftRef.current,- ...newDraft,- isDirty: true,- };- persistLocalDraft(draftRef.current);- if (onStatusChange) onStatusChange("Unsaved changes");-- // Reset the hold timer on every change- if (idleHoldTimerRef.current) {- clearTimeout(idleHoldTimerRef.current);- }-- idleHoldTimerRef.current = setTimeout(() => {- flushSave();- }, 1500);- },- [flushSave, onStatusChange]- );-- // Respond to manual Save button trigger from PageHeaderBar- useEffect(() => {- if (saveTrigger !== prevSaveTriggerRef.current) {- prevSaveTriggerRef.current = saveTrigger;- if (draftRef.current.isDirty) {- flushSave();- }- }- }, [saveTrigger, flushSave]);-- // Keyboard shortcut Ctrl+S / Cmd+S- useEffect(() => {- const handleKeyDown = (e) => {- if ((e.ctrlKey || e.metaKey) && e.key.toLowerCase() === "s") {- e.preventDefault();- flushSave();- }- };- window.addEventListener("keydown", handleKeyDown);- return () => window.removeEventListener("keydown", handleKeyDown);- }, [flushSave]);-- // Flush on unmount- useEffect(() => {- return () => {- if (idleHoldTimerRef.current) {- clearTimeout(idleHoldTimerRef.current);- }- if (draftRef.current.isDirty && draftRef.current.id) {- flushSave(draftRef.current);- }- };- }, [flushSave]);-- // Close emoji picker when clicking outside- useEffect(() => {- const handleClickOutside = () => setShowEmojiPicker(false);- window.addEventListener("click", handleClickOutside);- return () => window.removeEventListener("click", handleClickOutside);- }, []);-- const handleTitleChange = (newTitle) => {- setTitle(newTitle);- scheduleIdleAutosave({ title: newTitle });- };-- const handleIconChange = (newIcon) => {- setIcon(newIcon);- setShowEmojiPicker(false);- scheduleIdleAutosave({ icon: newIcon });- };-- const handleContentChange = (newContent) => {- setContent(newContent);- scheduleIdleAutosave({ content: newContent });- };-- const handleStatusChange = (newStatus) => {- setPageStatus(newStatus);- if (onUpdatePage && page?.id) {- onUpdatePage(page.id, { status: newStatus });- }- };-- const safety = inspectMarkdown(content);-- return (- <div className="flex-1 flex overflow-hidden">- {/* Main Canvas Area */}- <div className="flex-1 overflow-y-auto bg-white dark:bg-[#141416] text-zinc-900 dark:text-zinc-100 transition-colors duration-150">- <div className="max-w-3xl mx-auto px-10 py-10">- {/* Top Control Bar: Mode Toggle, Status Selector & Emoji Picker */}- <div className="flex items-center justify-between mb-4 select-none">- {/* Emoji Page Icon */}- <div className="relative">- <button- type="button"- onClick={(e) => {- e.stopPropagation();- setShowEmojiPicker(!showEmojiPicker);- }}- className="text-4xl p-1 rounded-xl hover:bg-zinc-100 dark:hover:bg-zinc-800 transition-colors cursor-pointer select-none"- title="Click to change icon"- >- {icon || "📄"}- </button>-- {showEmojiPicker && (- <div- onClick={(e) => e.stopPropagation()}- className="absolute left-0 top-14 bg-white dark:bg-zinc-800 border border-zinc-200 dark:border-zinc-700 rounded-xl shadow-xl p-2 z-40 flex flex-wrap gap-2 w-56 animate-in fade-in zoom-in-95 duration-100"- >- {EMOJI_OPTIONS.map((e) => (- <button- key={e}- type="button"- onClick={() => handleIconChange(e)}- className="w-9 h-9 flex items-center justify-center text-xl rounded-lg hover:bg-zinc-100 dark:hover:bg-zinc-700 cursor-pointer transition-transform hover:scale-110"- >- {e}- </button>- ))}- </div>- )}- </div>-- {/* Right Tools: Status Dropdown & Mode Switcher */}- <div className="flex items-center gap-2">- <CustomDropdown- value={pageStatus}- onChange={handleStatusChange}- options={[- { label: "Draft", value: "draft", icon: "📝" },- { label: "In Review", value: "in_review", icon: "👀" },- { label: "Published", value: "published", icon: "🚀" },- ]}- size="xs"- buttonClassName="bg-zinc-100 dark:bg-zinc-800 text-zinc-700 dark:text-zinc-300 rounded-lg py-1 px-2.5 text-xs border-zinc-200 dark:border-zinc-700"- />-- {/* Mode Switcher Button (Visual Editor vs Markdown Source) */}- <button- type="button"- onClick={() => {- if (!sourceMode && !safety.supported) {- setNotice(safety.reason || "This document needs Markdown source mode.");- }- setSourceMode(!sourceMode);- }}- className={`flex items-center gap-1.5 px-3 py-1 rounded-lg text-xs font-medium cursor-pointer transition-colors border ${- sourceMode- ? "bg-indigo-50 dark:bg-indigo-950/40 text-indigo-600 dark:text-indigo-400 border-indigo-200 dark:border-indigo-800"- : "bg-zinc-100 dark:bg-zinc-800 text-zinc-600 dark:text-zinc-300 border-zinc-200 dark:border-zinc-700 hover:bg-zinc-200 dark:hover:bg-zinc-700"- }`}- >- <WindowIcon className="w-3.5 h-3.5" />- <span>{sourceMode ? "Visual Editor" : "Markdown Source"}</span>- </button>- </div>- </div>-- {/* Local Draft Recovery Alert Banner */}- {localDraftAlert && (- <div className="mb-6 p-3.5 rounded-xl bg-amber-50 dark:bg-amber-950/40 border border-amber-300 dark:border-amber-700 text-amber-900 dark:text-amber-200 flex items-center justify-between animate-in fade-in slide-in-from-top-1 shadow-2xs">- <div className="flex items-center gap-2 text-xs">- <span className="font-semibold text-amber-700 dark:text-amber-300">Unsaved Local Draft:</span>- <span>You have an uncommitted local version from {new Date(localDraftAlert.timestamp || Date.now()).toLocaleTimeString()}.</span>- </div>- <div className="flex items-center gap-2">- <button- type="button"- onClick={() => {- setTitle(localDraftAlert.title || "Untitled page");- setIcon(localDraftAlert.icon || "📄");- setContent(localDraftAlert.content || "");- draftRef.current = {- id: page.id,- title: localDraftAlert.title || "Untitled page",- icon: localDraftAlert.icon || "📄",- content: localDraftAlert.content || "",- isDirty: true,- };- setLocalDraftAlert(null);- if (onStatusChange) onStatusChange("Unsaved changes");- }}- className="px-2.5 py-1 rounded-md bg-amber-600 hover:bg-amber-700 text-white text-xs font-medium transition-colors cursor-pointer"- >- Restore Draft- </button>- <button- type="button"- onClick={() => {- clearLocalDraft(page.id);- setLocalDraftAlert(null);- }}- className="px-2.5 py-1 rounded-md hover:bg-amber-100 dark:hover:bg-amber-900/50 text-xs text-amber-800 dark:text-amber-300 transition-colors cursor-pointer"- >- Discard- </button>- </div>- </div>- )}-- {/* Conflict Resolution Alert Banner */}- {conflictInfo && (- <div className="mb-6 p-4 rounded-xl bg-rose-50 dark:bg-rose-950/40 border border-rose-300 dark:border-rose-800 text-rose-900 dark:text-rose-200 animate-in fade-in slide-in-from-top-2 shadow-2xs">- <div className="flex items-start gap-3">- <LuTriangleAlert className="w-5 h-5 text-rose-600 dark:text-rose-400 shrink-0 mt-0.5" />- <div className="flex-1 min-w-0">- <h4 className="font-semibold text-sm text-rose-900 dark:text-rose-100">- Edit Conflict Detected (Server is at revision v{conflictInfo.current_version})- </h4>- <p className="text-xs text-rose-700 dark:text-rose-300 mt-1">- Another edit was saved while you were working. Your unsaved changes are preserved safely in your editor. Choose how you would like to proceed:- </p>- <div className="flex flex-wrap items-center gap-2 mt-3">- <button- type="button"- onClick={() => {- flushSave(draftRef.current, conflictInfo.current_version);- }}- className="px-3 py-1.5 rounded-lg bg-rose-600 hover:bg-rose-700 text-white text-xs font-medium transition-colors shadow-xs cursor-pointer"- >- Keep My Draft & Overwrite- </button>- <button- type="button"- onClick={() => {- const serverP = conflictInfo.current_page;- if (serverP) {- setTitle(serverP.title || "Untitled page");- setIcon(serverP.icon || "📄");- setContent(serverP.content || "");- draftRef.current = {- id: serverP.id,- title: serverP.title || "Untitled page",- icon: serverP.icon || "📄",- content: serverP.content || "",- isDirty: false,- };- }- clearLocalDraft(page.id);- setConflictInfo(null);- if (onStatusChange) onStatusChange("Saved");- }}- className="px-3 py-1.5 rounded-lg bg-white dark:bg-zinc-800 hover:bg-zinc-100 dark:hover:bg-zinc-700 border border-rose-300 dark:border-zinc-600 text-xs font-medium text-zinc-800 dark:text-zinc-200 transition-colors cursor-pointer"- >- Discard & Load Server Version- </button>- <button- type="button"- onClick={() => {- if (typeof navigator !== "undefined" && navigator.clipboard) {- navigator.clipboard.writeText(content);- setCopiedDraft(true);- setTimeout(() => setCopiedDraft(false), 2000);- }- }}- className="px-3 py-1.5 rounded-lg hover:bg-rose-100/60 dark:hover:bg-rose-900/40 text-xs font-medium text-rose-800 dark:text-rose-300 transition-colors flex items-center gap-1.5 cursor-pointer"- >- {copiedDraft ? <LuCheck className="w-3.5 h-3.5 text-emerald-600" /> : <LuCopy className="w-3.5 h-3.5" />}- <span>{copiedDraft ? "Copied to clipboard!" : "Copy My Draft"}</span>- </button>- </div>- </div>- </div>- </div>- )}-- {/* Notice alert if any */}- {notice && (- <div className="mb-4 p-3 rounded-lg bg-amber-50 dark:bg-amber-950/30 border border-amber-200 dark:border-amber-800 text-xs text-amber-800 dark:text-amber-200 flex items-center justify-between">- <span>{notice}</span>- <button- type="button"- onClick={() => setNotice("")}- className="text-amber-600 dark:text-amber-400 font-bold ml-2 cursor-pointer"- >- Dismiss- </button>- </div>- )}-- {/* Page Title Input */}- <input- type="text"- value={title}- onChange={(e) => handleTitleChange(e.target.value)}- onBlur={() => flushSave()}- placeholder="Untitled page"- maxLength={160}- className="document-title w-full text-4xl font-bold tracking-tight text-zinc-900 dark:text-zinc-100 bg-transparent focus:outline-none placeholder-zinc-300 dark:placeholder-zinc-600 mb-6"- />-- {/* Document Body */}- {sourceMode ? (- <div className="space-y-3">- <div className="flex items-center gap-2 text-xs font-medium text-zinc-500 dark:text-zinc-400 pb-1">- <LuFileCode2 size={16} />- <span>Markdown source</span>- </div>- <textarea- rows={20}- spellCheck={false}- value={content}- onChange={(e) => handleContentChange(e.target.value)}- onBlur={() => flushSave()}- placeholder="Write your document in Markdown..."- className="w-full bg-zinc-50/50 dark:bg-zinc-900/50 border border-zinc-200 dark:border-zinc-800 rounded-xl p-4 text-xs font-mono text-zinc-800 dark:text-zinc-200 leading-relaxed resize-y focus:outline-none focus:border-zinc-400 transition-colors"- />- <div className="text-[11px] text-zinc-400 flex justify-between">- <span>{content.length} characters</span>- <span>{content.split(/\s+/).filter(Boolean).length} words</span>- </div>- </div>- ) : (- /* Visual Document Editor */- <div className="document-editor-wrapper">- <RichEditor- value={content}- onChange={handleContentChange}- onNotice={(msg) => setNotice(msg)}- pageTitle={title}- pageId={page?.id}- />- </div>- )}-- {/* Inline Open Spaces / Dot Directive Box */}- <div className="mt-12 p-4 rounded-xl bg-zinc-50 dark:bg-[#18181e] border border-zinc-200 dark:border-zinc-800 space-y-2 select-none">- <div className="text-xs text-zinc-700 dark:text-zinc-300 leading-relaxed">- <span className="font-semibold text-zinc-900 dark:text-zinc-100">- Work with Open Spaces.- </span>{" "}- Type{" "}- <span className="bg-indigo-50 dark:bg-indigo-900/40 text-indigo-600 dark:text-indigo-300 font-medium px-1.5 py-0.5 rounded text-[11px] border border-indigo-200 dark:border-indigo-800">- @OpenSpaces- </span>- , followed by your request, and Open Spaces will jump in to help with whatever you need.- </div>-- <div className="flex items-center gap-2 pt-1">- <span className="text-zinc-400 text-xs">↳</span>- <input- type="text"- placeholder="do some research about this topic or ask Dot agent..."- value={promptInput}- onChange={(e) => setPromptInput(e.target.value)}- onKeyDown={(e) => {- if (e.key === "Enter" && promptInput.trim()) {- onTriggerAI && onTriggerAI(promptInput.trim());- setPromptInput("");- }- }}- className="flex-1 bg-white dark:bg-zinc-900 border border-zinc-200 dark:border-zinc-700 rounded-lg px-3 py-1.5 text-xs text-zinc-900 dark:text-zinc-100 placeholder-zinc-400 focus:outline-none focus:border-indigo-500 shadow-2xs"- />- <button- type="button"- onClick={() => {- if (promptInput.trim()) {- onTriggerAI && onTriggerAI(promptInput.trim());- setPromptInput("");- }- }}- className="p-1.5 rounded-lg bg-zinc-900 dark:bg-zinc-100 text-white dark:text-zinc-900 hover:opacity-90 transition-opacity cursor-pointer"- title="Run directive"- >- <SparklesIcon className="w-3.5 h-3.5" />- </button>- </div>- </div>- </div>- </div>-- {/* Revisions History Side Panel */}- {historyOpen && (- <aside className="w-80 border-l border-zinc-200 dark:border-zinc-800 bg-[#fafafa] dark:bg-[#18181b] flex flex-col h-full shadow-lg z-30 animate-in slide-in-from-right duration-200 select-none">- <div className="p-4 border-b border-zinc-200 dark:border-zinc-800 flex items-center justify-between">- <div className="flex items-center gap-2">- <LuHistory className="w-4 h-4 text-indigo-500" />- <span className="font-semibold text-sm text-zinc-900 dark:text-zinc-100">Revision History</span>- </div>- {onCloseHistory && (- <button- type="button"- onClick={onCloseHistory}- className="p-1 rounded-lg hover:bg-zinc-200 dark:hover:bg-zinc-800 text-zinc-400 hover:text-zinc-700 dark:hover:text-zinc-200 cursor-pointer"- title="Close revision history"- >- <CloseIcon className="w-4 h-4" />- </button>- )}- </div>-- <div className="flex-1 overflow-y-auto p-3 space-y-3">- {isLoadingRevisions ? (- <div className="flex flex-col items-center justify-center p-8 text-zinc-400 gap-2">- <div className="w-5 h-5 border-2 border-indigo-500 border-t-transparent rounded-full animate-spin" />- <span className="text-xs">Loading revisions...</span>- </div>- ) : revisions.length === 0 ? (- <div className="p-6 text-center text-xs text-zinc-400">- No previous snapshots available yet.- </div>- ) : (- revisions.map((rev) => {- const isCurrent = rev.version === page?.version;- return (- <div- key={rev.id}- className={`p-3 rounded-xl border transition-all ${- isCurrent- ? "bg-indigo-50/70 dark:bg-indigo-950/30 border-indigo-200 dark:border-indigo-800"- : "bg-white dark:bg-zinc-900/80 border-zinc-200/80 dark:border-zinc-800 hover:border-zinc-300 dark:hover:border-zinc-700"- }`}- >- <div className="flex items-center justify-between mb-1.5">- <span- className={`text-[10px] uppercase font-bold tracking-wider px-1.5 py-0.5 rounded ${- isCurrent- ? "bg-indigo-600 text-white"- : "bg-zinc-200 dark:bg-zinc-800 text-zinc-700 dark:text-zinc-300"- }`}- >- v{rev.version} {isCurrent && "(Current)"}- </span>- <span className="text-[11px] text-zinc-400">- {new Date(rev.created_at).toLocaleString([], {- month: "short",- day: "numeric",- hour: "2-digit",- minute: "2-digit",- })}- </span>- </div>-- <div className="text-xs font-medium text-zinc-800 dark:text-zinc-200 truncate mb-1">- {rev.title || "Untitled page"}- </div>-- <div className="text-[11px] text-zinc-500 dark:text-zinc-400 mb-2 flex items-center gap-1">- <span>By {rev.author || "You"}</span>- <span>•</span>- <span>{(rev.content || "").length} chars</span>- </div>-- {!isCurrent && onRestoreRevision && (- <button- type="button"- onClick={async () => {- const restored = await onRestoreRevision(page.id, rev.version);- if (restored) {- setTitle(restored.title);- setContent(restored.content || "");- setIcon(restored.icon || "📄");- draftRef.current = {- id: restored.id,- title: restored.title,- icon: restored.icon || "📄",- content: restored.content || "",- isDirty: false,- };- if (onCloseHistory) onCloseHistory();- }- }}- className="w-full flex items-center justify-center gap-1.5 py-1.5 px-3 rounded-lg bg-zinc-100 hover:bg-zinc-200 dark:bg-zinc-800 dark:hover:bg-zinc-700 text-zinc-800 dark:text-zinc-200 text-xs font-medium transition-colors cursor-pointer"- >- <LuRotateCcw className="w-3 h-3 text-indigo-500" />- <span>Restore this version</span>- </button>- )}- </div>- );- })- )}- </div>- </aside>- )}- </div>- );-}diff --git a/client/src/components/ChatDrawer.js b/client/src/components/ChatDrawer.jsdeleted file mode 100644index c6e74b5..0000000--- a/client/src/components/ChatDrawer.js+++ /dev/null@@ -1,406 +0,0 @@-"use client";--import React, { useState, useEffect } from "react";-import {- SendIcon,- SparklesIcon,- CloseIcon,- PageIcon,- ChatIcon,- CheckIcon,- TrashIcon,-} from "./Icons";-import MarkdownRenderer from "./MarkdownRenderer";-import CustomDropdown from "./CustomDropdown";--const API_BASE = "http://localhost:8000/api";--const COMMENT_FILTER_OPTIONS = [- { label: "All Comments", value: "all" },- { label: "Unresolved", value: "unresolved" },- { label: "Resolved", value: "resolved" },-];--export default function ChatDrawer({- isOpen,- onClose,- messages = [],- onSendMessage,- agents = [],- activePageTitle,- activePageId,- spaceId,- currentUser = null,- authHeaders = {},- onRequireLogin,-}) {- const [activeTab, setActiveTab] = useState("comments"); // 'comments' | 'ai'- const [inputText, setInputText] = useState("");- const [commentText, setCommentText] = useState("");- const [comments, setComments] = useState([]);- const [isLoadingComments, setIsLoadingComments] = useState(false);- const [commentFilter, setCommentFilter] = useState("all");- const [selectedAgentName, setSelectedAgentName] = useState("");-- // Fetch comments whenever drawer is opened on a page- const fetchComments = async () => {- if (!spaceId || !activePageId) return;- setIsLoadingComments(true);- try {- const res = await fetch(`${API_BASE}/spaces/${spaceId}/pages/${activePageId}/comments`, {- headers: authHeaders,- });- if (res.ok) {- const data = await res.json();- setComments(data);- }- } catch (err) {- console.error("Error loading comments:", err);- } finally {- setIsLoadingComments(false);- }- };-- useEffect(() => {- if (isOpen && activePageId && spaceId) {- fetchComments();- }- }, [isOpen, activePageId, spaceId]);-- if (!isOpen) return null;-- const handleAiSubmit = (e) => {- e.preventDefault();- if (!currentUser) {- if (onRequireLogin) onRequireLogin("chat with Dot AI agents");- return;- }- if (!inputText.trim()) return;-- let textToSend = inputText.trim();- if (selectedAgentName) {- textToSend = `@${selectedAgentName}: ${textToSend}`;- }-- if (onSendMessage) {- onSendMessage({- content: textToSend,- sender_type: "user",- sender_name: currentUser?.name || "You",- });- }- setInputText("");- };-- const handleCommentSubmit = async (e) => {- e.preventDefault();- if (!currentUser) {- if (onRequireLogin) onRequireLogin("post comments in discussion");- return;- }- if (!commentText.trim() || !spaceId || !activePageId) return;-- try {- const res = await fetch(`${API_BASE}/spaces/${spaceId}/pages/${activePageId}/comments`, {- method: "POST",- headers: {- "Content-Type": "application/json",- ...authHeaders,- },- body: JSON.stringify({ content: commentText.trim() }),- });- if (res.ok) {- const newCmt = await res.json();- setComments((prev) => [...prev, newCmt]);- setCommentText("");- }- } catch (err) {- console.error("Error submitting comment:", err);- }- };-- const handleToggleResolve = async (commentId, currentResolved) => {- if (!currentUser) {- if (onRequireLogin) onRequireLogin("resolve comments");- return;- }- try {- const res = await fetch(- `${API_BASE}/spaces/${spaceId}/pages/${activePageId}/comments/${commentId}`,- {- method: "PATCH",- headers: {- "Content-Type": "application/json",- ...authHeaders,- },- body: JSON.stringify({ resolved: !currentResolved }),- }- );- if (res.ok) {- setComments((prev) =>- prev.map((c) => (c.id === commentId ? { ...c, resolved: !currentResolved } : c))- );- }- } catch (err) {- console.error("Error resolving comment:", err);- }- };-- const handleDeleteComment = async (commentId) => {- if (!currentUser) {- if (onRequireLogin) onRequireLogin("delete comments");- return;- }- try {- const res = await fetch(- `${API_BASE}/spaces/${spaceId}/pages/${activePageId}/comments/${commentId}`,- {- method: "DELETE",- headers: authHeaders,- }- );- if (res.ok) {- setComments((prev) => prev.filter((c) => c.id !== commentId));- }- } catch (err) {- console.error("Error deleting comment:", err);- }- };-- const filteredComments = comments.filter((c) => {- if (commentFilter === "unresolved") return !c.resolved;- if (commentFilter === "resolved") return !!c.resolved;- return true;- });-- return (- <div className="w-80 border-l border-zinc-200/80 dark:border-zinc-800/80 bg-[#fbfbfa] dark:bg-[#18181b] flex flex-col h-full select-none text-xs transition-colors duration-150 shadow-sm">- {/* Header with Tabs */}- <div className="p-3 border-b border-zinc-200/80 dark:border-zinc-800/80 flex items-center justify-between">- <div className="flex items-center gap-1 bg-zinc-100 dark:bg-zinc-800/90 p-0.5 rounded-lg border border-zinc-200/60 dark:border-zinc-700/60">- <button- type="button"- onClick={() => setActiveTab("comments")}- className={`flex items-center gap-1.5 px-2.5 py-1 rounded-md text-xs font-medium transition-colors cursor-pointer ${- activeTab === "comments"- ? "bg-white dark:bg-zinc-900 text-zinc-900 dark:text-zinc-100 shadow-2xs"- : "text-zinc-500 hover:text-zinc-800 dark:text-zinc-400 dark:hover:text-zinc-200"- }`}- >- <ChatIcon className="w-3.5 h-3.5 text-indigo-500" />- <span>Comments ({comments.length})</span>- </button>- <button- type="button"- onClick={() => setActiveTab("ai")}- className={`flex items-center gap-1.5 px-2.5 py-1 rounded-md text-xs font-medium transition-colors cursor-pointer ${- activeTab === "ai"- ? "bg-white dark:bg-zinc-900 text-zinc-900 dark:text-zinc-100 shadow-2xs"- : "text-zinc-500 hover:text-zinc-800 dark:text-zinc-400 dark:hover:text-zinc-200"- }`}- >- <SparklesIcon className="w-3.5 h-3.5 text-indigo-500" />- <span>AI Thread</span>- </button>- </div>-- <button- onClick={onClose}- className="p-1 rounded hover:bg-zinc-200/60 dark:hover:bg-zinc-800 text-zinc-400 hover:text-zinc-700 dark:hover:text-zinc-200 cursor-pointer"- >- <CloseIcon className="w-3.5 h-3.5" />- </button>- </div>-- {/* Context Banner & Comments Filter */}- <div className="px-3 py-1.5 bg-zinc-100/70 dark:bg-zinc-900/60 border-b border-zinc-200/60 dark:border-zinc-800/60 flex items-center justify-between gap-1.5 text-[11px] text-zinc-500">- <div className="flex items-center gap-1.5 min-w-0">- <PageIcon className="w-3 h-3 text-zinc-400 shrink-0" />- <span className="truncate">{activePageTitle ? `Page: ${activePageTitle}` : "Page Discussion"}</span>- </div>- {activeTab === "comments" && comments.length > 0 && (- <CustomDropdown- value={commentFilter}- onChange={setCommentFilter}- options={COMMENT_FILTER_OPTIONS}- size="xs"- align="right"- buttonClassName="bg-white dark:bg-zinc-800 border-zinc-200 dark:border-zinc-700 text-zinc-600 dark:text-zinc-300 rounded-md py-0.5 px-2 text-[10px]"- />- )}- </div>-- {/* Tab 1: Comments Feed */}- {activeTab === "comments" ? (- <>- <div className="flex-1 overflow-y-auto p-3 space-y-3">- {isLoadingComments ? (- <div className="flex flex-col items-center justify-center py-10 text-zinc-400 gap-2">- <div className="w-4 h-4 border-2 border-indigo-500 border-t-transparent rounded-full animate-spin" />- <span className="text-xs">Loading comments...</span>- </div>- ) : filteredComments.length === 0 ? (- <div className="text-center py-12 text-zinc-400 dark:text-zinc-500 text-xs">- <ChatIcon className="w-6 h-6 mx-auto mb-2 text-zinc-300 dark:text-zinc-600" />- <p className="font-medium">- {comments.length === 0 ? "No comments on this page yet." : "No comments match filter."}- </p>- <p className="text-[11px] mt-1 text-zinc-400">Leave feedback, questions, or ideas for teammates.</p>- </div>- ) : (- filteredComments.map((c) => (- <div- key={c.id}- className={`p-3 rounded-xl border transition-all ${- c.resolved- ? "bg-zinc-100/60 dark:bg-zinc-900/40 border-zinc-200/60 dark:border-zinc-800/60 opacity-60"- : "bg-white dark:bg-zinc-800/90 border-zinc-200 dark:border-zinc-700/80 shadow-2xs"- }`}- >- <div className="flex items-center justify-between mb-1.5">- <div className="flex items-center gap-1.5">- <div className="w-5 h-5 rounded-full bg-gradient-to-tr from-indigo-500 to-violet-500 flex items-center justify-center text-[10px] text-white font-bold">- {(c.user_name || "Y")[0].toUpperCase()}- </div>- <span className="font-semibold text-xs text-zinc-900 dark:text-zinc-100">- {c.user_name || "User"}- </span>- </div>-- <div className="flex items-center gap-1">- <button- type="button"- onClick={() => handleToggleResolve(c.id, c.resolved)}- className={`p-1 rounded hover:bg-zinc-200/60 dark:hover:bg-zinc-700 transition-colors cursor-pointer ${- c.resolved ? "text-emerald-500" : "text-zinc-400 hover:text-emerald-500"- }`}- title={c.resolved ? "Unresolve" : "Mark resolved"}- >- <CheckIcon className="w-3.5 h-3.5" />- </button>- <button- type="button"- onClick={() => handleDeleteComment(c.id)}- className="p-1 rounded hover:bg-zinc-200/60 dark:hover:bg-zinc-700 text-zinc-400 hover:text-red-500 transition-colors cursor-pointer"- title="Delete comment"- >- <TrashIcon className="w-3.5 h-3.5" />- </button>- </div>- </div>-- <p className="text-xs text-zinc-800 dark:text-zinc-200 leading-relaxed break-words">- {c.content}- </p>-- <div className="mt-1.5 text-[10px] text-zinc-400">- {new Date(c.created_at).toLocaleTimeString([], { hour: "2-digit", minute: "2-digit" })}- {c.resolved && <span className="ml-2 text-emerald-600 font-medium">✓ Resolved</span>}- </div>- </div>- ))- )}- </div>-- {/* Comment input */}- <form onSubmit={handleCommentSubmit} className="p-3 border-t border-zinc-200/80 dark:border-zinc-800/80">- <div className="relative">- <input- type="text"- value={commentText}- onChange={(e) => setCommentText(e.target.value)}- placeholder="Add a comment to this page..."- className="w-full bg-white dark:bg-zinc-900 border border-zinc-300 dark:border-zinc-700 rounded-lg pl-3 pr-8 py-1.5 text-xs text-zinc-900 dark:text-zinc-100 placeholder-zinc-400 focus:outline-none focus:border-indigo-500 shadow-2xs"- />- <button- type="submit"- disabled={!commentText.trim()}- className="absolute right-1.5 top-1.5 text-zinc-400 hover:text-indigo-600 dark:hover:text-indigo-400 disabled:opacity-30 cursor-pointer"- >- <SendIcon className="w-3.5 h-3.5" />- </button>- </div>- </form>- </>- ) : (- /* Tab 2: AI Discussion */- <>- <div className="flex-1 overflow-y-auto p-3 space-y-3">- {messages.length === 0 ? (- <div className="text-center py-10 text-zinc-400 dark:text-zinc-500 text-xs">- <SparklesIcon className="w-6 h-6 mx-auto mb-2 text-indigo-400 opacity-60" />- <p>No messages yet.</p>- <p className="text-[11px] mt-1 text-zinc-400">Ask Open Spaces or tag a Dot to iterate on this page.</p>- </div>- ) : (- messages.map((m) => {- const isUser = m.sender_type === "user";- return (- <div- key={m.id}- className={`flex flex-col ${isUser ? "items-end" : "items-start"}`}- >- <span className="text-[10px] text-zinc-400 mb-0.5 px-1">{m.sender_name}</span>- <div- className={`max-w-[90%] rounded-xl px-3 py-2 text-xs leading-relaxed ${- isUser- ? "bg-zinc-900 dark:bg-zinc-100 text-white dark:text-zinc-900 font-medium"- : "bg-white dark:bg-zinc-800/90 text-zinc-800 dark:text-zinc-200 border border-zinc-200 dark:border-zinc-700/80 shadow-2xs"- }`}- >- {isUser ? m.content : <MarkdownRenderer content={m.content} />}- </div>- </div>- );- })- )}- </div>-- <form onSubmit={handleAiSubmit} className="p-3 border-t border-zinc-200/80 dark:border-zinc-800/80 space-y-2">- <div className="flex items-center justify-between gap-1">- <span className="text-[10px] text-zinc-400 font-medium">Direct to:</span>- <CustomDropdown- value={selectedAgentName}- onChange={setSelectedAgentName}- options={[- { label: "General Open Spaces", value: "", icon: "✨" },- ...agents.map((a) => ({- label: `@${a.name}`,- value: a.name,- icon: "🤖",- tag: a.role,- })),- ]}- size="xs"- direction="up"- align="right"- buttonClassName="bg-zinc-100 dark:bg-zinc-800 text-zinc-700 dark:text-zinc-300 rounded-md py-0.5 px-2 text-[10px]"- />- </div>-- <div className="relative">- <input- type="text"- value={inputText}- onChange={(e) => setInputText(e.target.value)}- placeholder={- selectedAgentName- ? `Message directed to @${selectedAgentName}...`- : "Ask Open Spaces to assist with this page..."- }- className="w-full bg-white dark:bg-zinc-900 border border-zinc-300 dark:border-zinc-700 rounded-lg pl-3 pr-8 py-1.5 text-xs text-zinc-900 dark:text-zinc-100 placeholder-zinc-400 focus:outline-none focus:border-zinc-500 shadow-2xs"- />- <button- type="submit"- disabled={!inputText.trim()}- className="absolute right-1.5 top-1.5 text-zinc-400 hover:text-zinc-800 dark:hover:text-zinc-200 disabled:opacity-30 cursor-pointer"- >- <SendIcon className="w-3.5 h-3.5" />- </button>- </div>- </form>- </>- )}- </div>- );-}diff --git a/client/src/components/CustomDropdown.js b/client/src/components/CustomDropdown.jsdeleted file mode 100644index bf34882..0000000--- a/client/src/components/CustomDropdown.js+++ /dev/null@@ -1,245 +0,0 @@-"use client";--import React, { useState, useRef, useEffect } from "react";-import { LuChevronDown, LuCheck } from "react-icons/lu";--export default function CustomDropdown({- value,- onChange,- options = [], // [{ label: "TypeScript", value: "typescript", icon: ..., tag: ..., description: ..., group: ... }]- placeholder = "Select...",- className = "",- buttonClassName = "",- menuClassName = "",- size = "md", // "xs" | "sm" | "md" | "lg"- searchable = false,- align = "left", // "left" | "right"- direction = "auto", // "auto" | "down" | "up"- header = null, // Optional menu header text- disabled = false,- renderTrigger = null, // (selectedOption, open) => React.ReactNode-}) {- const [open, setOpen] = useState(false);- const [search, setSearch] = useState("");- const [computedDirection, setComputedDirection] = useState("down");- const [computedMaxHeight, setComputedMaxHeight] = useState(380);- const dropdownRef = useRef(null);-- const selectedOption =- options.find((opt) => opt.value === value) ||- options.find((opt) => opt.id === value) ||- (value- ? {- label:- typeof value === "string"- ? value.charAt(0).toUpperCase() + value.slice(1)- : String(value),- value,- }- : null);-- // Dynamically calculate optimal direction and max-height to guarantee zero viewport overflow- const updatePlacement = () => {- if (!dropdownRef.current) return;- const rect = dropdownRef.current.getBoundingClientRect();- const spaceAbove = rect.top;- const spaceBelow = window.innerHeight - rect.bottom;-- let targetDir = direction;- if (direction === "auto") {- // Pick direction with more space, defaulting to down if at least 260px available- targetDir = spaceBelow >= 260 || spaceBelow >= spaceAbove ? "down" : "up";- } else if (direction === "up") {- // If forced up but space above is too tight (< 220px) and space below has much more room, flip down- if (spaceAbove < 220 && spaceBelow > spaceAbove) {- targetDir = "down";- } else {- targetDir = "up";- }- } else if (direction === "down") {- // If forced down but space below is too tight (< 220px) and space above has much more room, flip up- if (spaceBelow < 220 && spaceAbove > spaceBelow) {- targetDir = "up";- } else {- targetDir = "down";- }- }-- setComputedDirection(targetDir);-- // Keep safe margin from screen edges (at least 16px buffer)- const available = targetDir === "up" ? spaceAbove - 20 : spaceBelow - 20;- setComputedMaxHeight(Math.max(160, Math.min(available, 400)));- };-- useEffect(() => {- if (open) {- updatePlacement();- window.addEventListener("resize", updatePlacement);- window.addEventListener("scroll", updatePlacement, true);- return () => {- window.removeEventListener("resize", updatePlacement);- window.removeEventListener("scroll", updatePlacement, true);- };- }- }, [open, direction]);-- useEffect(() => {- const handleOutsideClick = (e) => {- if (dropdownRef.current && !dropdownRef.current.contains(e.target)) {- setOpen(false);- }- };- const handleKeyDown = (e) => {- if (e.key === "Escape" && open) {- setOpen(false);- }- };- document.addEventListener("pointerdown", handleOutsideClick);- document.addEventListener("keydown", handleKeyDown);- return () => {- document.removeEventListener("pointerdown", handleOutsideClick);- document.removeEventListener("keydown", handleKeyDown);- };- }, [open]);-- const filteredOptions =- searchable && search- ? options.filter((opt) => {- const q = search.toLowerCase().trim();- return (- (opt.label || "").toLowerCase().includes(q) ||- (opt.tag || "").toLowerCase().includes(q) ||- (opt.group || "").toLowerCase().includes(q) ||- (opt.value || "").toLowerCase().includes(q)- );- })- : options;-- const sizeClasses = {- xs: "px-2 py-0.5 text-[11px]",- sm: "px-2.5 py-1 text-xs",- md: "px-3 py-1.5 text-xs",- lg: "px-3.5 py-2 text-sm",- }[size] || "px-3 py-1.5 text-xs";-- const positionClasses =- computedDirection === "up"- ? `bottom-full mb-1.5 ${align === "right" ? "right-0" : "left-0"}`- : `top-full mt-1.5 ${align === "right" ? "right-0" : "left-0"}`;-- return (- <div- className={`relative inline-block text-left select-none ${className}`}- ref={dropdownRef}- >- {renderTrigger ? (- <div onClick={() => !disabled && setOpen(!open)}>- {renderTrigger(selectedOption, open)}- </div>- ) : (- <button- type="button"- disabled={disabled}- onClick={() => setOpen(!open)}- className={`flex items-center justify-between gap-1.5 transition-colors cursor-pointer rounded-lg border font-medium ${sizeClasses} ${- disabled- ? "opacity-50 cursor-not-allowed bg-zinc-100 dark:bg-zinc-800 border-zinc-200 dark:border-zinc-700 text-zinc-400"- : buttonClassName ||- "bg-zinc-50 dark:bg-zinc-900 border-zinc-200 dark:border-zinc-700 text-zinc-800 dark:text-zinc-200 hover:bg-zinc-100 dark:hover:bg-zinc-800"- }`}- >- <span className="truncate flex items-center gap-1.5 min-w-0">- {selectedOption?.icon && <span className="shrink-0">{selectedOption.icon}</span>}- <span className="truncate">{selectedOption?.label || placeholder}</span>- </span>- <LuChevronDown- size={12}- className={`shrink-0 transition-transform duration-150 opacity-60 ${- open ? "rotate-180" : ""- }`}- />- </button>- )}-- {open && (- <div- className={`absolute ${positionClasses} min-w-[160px] overflow-y-auto z-50 rounded-xl bg-white dark:bg-[#1c1c1f] border border-zinc-200 dark:border-zinc-700/80 shadow-2xl p-1 animate-in fade-in zoom-in-95 duration-100 ${menuClassName}`}- style={{ maxHeight: `${computedMaxHeight}px` }}- >- {header && (- <div className="text-[10px] font-bold uppercase tracking-wider text-zinc-400 dark:text-zinc-500 px-2.5 py-1 border-b border-zinc-100 dark:border-zinc-800 mb-1">- {header}- </div>- )}-- {searchable && options.length > 5 && (- <div className="p-1 mb-1 border-b border-zinc-100 dark:border-zinc-800">- <input- type="text"- value={search}- onChange={(e) => setSearch(e.target.value)}- placeholder="Search..."- className="w-full px-2 py-1 text-xs bg-zinc-50 dark:bg-zinc-900 rounded-md border border-zinc-200 dark:border-zinc-700 outline-none text-zinc-800 dark:text-zinc-200 placeholder-zinc-400"- autoFocus- />- </div>- )}-- {filteredOptions.length === 0 ? (- <div className="px-3 py-2 text-[11px] text-zinc-400 text-center">- No matching options- </div>- ) : (- filteredOptions.map((opt, idx) => {- const isSelected = opt.value === value;- const prevOpt = idx > 0 ? filteredOptions[idx - 1] : null;- const isNewGroup = opt.group && (!prevOpt || prevOpt.group !== opt.group);-- return (- <React.Fragment key={opt.value || opt.id || idx}>- {isNewGroup && (- <div className="text-[10px] font-bold uppercase tracking-wider text-zinc-400 dark:text-zinc-500 px-2.5 pt-2 pb-1 border-t border-zinc-100 dark:border-zinc-800/60 first:border-t-0 first:pt-1">- {opt.group}- </div>- )}- <button- type="button"- onClick={() => {- onChange(opt.value);- setOpen(false);- setSearch("");- }}- className={`w-full flex items-center justify-between px-2.5 py-1.5 text-xs rounded-lg transition-colors cursor-pointer text-left ${- isSelected- ? "bg-zinc-100 dark:bg-zinc-800 text-zinc-900 dark:text-zinc-100 font-medium"- : "text-zinc-600 dark:text-zinc-400 hover:bg-zinc-100 dark:hover:bg-zinc-800/60 hover:text-zinc-900 dark:hover:text-zinc-200"- }`}- >- <div className="truncate flex items-center gap-2 min-w-0">- {opt.icon && <span className="text-sm shrink-0">{opt.icon}</span>}- <div className="min-w-0">- <div className="truncate leading-snug">{opt.label}</div>- {(opt.tag || opt.description) && (- <div className="text-[10px] text-zinc-400 dark:text-zinc-500 truncate">- {opt.tag || opt.description}- </div>- )}- </div>- </div>- {isSelected && (- <LuCheck- size={13}- className="text-indigo-600 dark:text-indigo-400 shrink-0 ml-1.5"- />- )}- </button>- </React.Fragment>- );- })- )}- </div>- )}- </div>- );-}diff --git a/client/src/components/DotsManager.js b/client/src/components/DotsManager.jsdeleted file mode 100644index 64c9ce8..0000000--- a/client/src/components/DotsManager.js+++ /dev/null@@ -1,223 +0,0 @@-"use client";--import React, { useState } from "react";-import { BotIcon, SparklesIcon, CheckIcon, PlusIcon } from "./Icons";-import CustomDropdown from "./CustomDropdown";--export default function DotsManager({- agents = [],- pages = [],- onTriggerAgent,- activeSpaceName,-}) {- const [selectedAgentId, setSelectedAgentId] = useState(agents[0]?.id || "");- const [selectedPageId, setSelectedPageId] = useState(pages[0]?.id || "");- const [taskPrompt, setTaskPrompt] = useState("");- const [isRunning, setIsRunning] = useState(false);- const [taskLogs, setTaskLogs] = useState([- {- id: "log-1",- agent: "Synthesizer Dot",- task: "Analyze competitive landscape and outline matrix on page",- status: "completed",- time: "10 mins ago",- },- {- id: "log-2",- agent: "Architect Dot",- task: "Audit multi-agent communication protocol schema",- status: "completed",- time: "25 mins ago",- },- ]);-- const handleLaunchTask = async (e) => {- e.preventDefault();- if (!taskPrompt.trim()) return;-- setIsRunning(true);- const agent = agents.find((a) => a.id === selectedAgentId) || agents[0];-- const newLog = {- id: `log-${Date.now()}`,- agent: agent?.name || "Dot Agent",- task: taskPrompt,- status: "working",- time: "just now",- };- setTaskLogs([newLog, ...taskLogs]);-- await onTriggerAgent(selectedAgentId, taskPrompt, selectedPageId || null);-- setTimeout(() => {- setTaskLogs((prev) =>- prev.map((l) => (l.id === newLog.id ? { ...l, status: "completed" } : l))- );- setIsRunning(false);- setTaskPrompt("");- }, 2500);- };-- return (- <div className="flex-1 overflow-y-auto p-8 bg-zinc-50 dark:bg-[#141416] transition-colors duration-200">- <div className="max-w-4xl mx-auto space-y-8">- {/* Header */}- <div>- <div className="flex items-center gap-2">- <span className="p-2 rounded-xl bg-indigo-100 dark:bg-indigo-600/20 text-indigo-700 dark:text-indigo-400 border border-indigo-200 dark:border-indigo-500/30">- <BotIcon className="w-5 h-5" />- </span>- <div>- <h2 className="text-base font-bold text-zinc-900 dark:text-zinc-100">Dot Autonomous Agents</h2>- <p className="text-xs text-zinc-500 dark:text-zinc-400">- AI agents embedded directly inside <span className="text-zinc-800 dark:text-zinc-300 font-medium">{activeSpaceName}</span> to conduct research, update pages, and orchestrate workflows.- </p>- </div>- </div>- </div>-- {/* Agents Grid */}- <div className="grid grid-cols-1 md:grid-cols-2 gap-4">- {agents.map((agent) => (- <div- key={agent.id}- className="bg-white dark:bg-[#1c1c20] border border-zinc-200 dark:border-zinc-800 rounded-xl p-5 shadow-2xs hover:border-zinc-300 dark:hover:border-zinc-700 transition-colors"- >- <div className="flex items-start justify-between">- <div className="flex items-center gap-3">- <div className="text-2xl p-2 rounded-lg bg-zinc-100 dark:bg-zinc-800/80 border border-zinc-200 dark:border-zinc-700/60">- {agent.avatar === "agent-bolt" ? "⚡" : agent.avatar === "agent-pen" ? "✍️" : agent.avatar === "agent-ruler" ? "📐" : "🤖"}- </div>- <div>- <h3 className="text-sm font-semibold text-zinc-900 dark:text-zinc-100">{agent.name}</h3>- <p className="text-xs text-indigo-600 dark:text-indigo-400 font-medium">{agent.role}</p>- </div>- </div>-- <span className="inline-flex items-center gap-1.5 px-2 py-0.5 rounded-full text-[10px] font-medium bg-emerald-100 dark:bg-emerald-500/10 text-emerald-800 dark:text-emerald-300 border border-emerald-200 dark:border-emerald-500/20">- <span className="w-1.5 h-1.5 rounded-full bg-emerald-500 animate-pulse" />- {agent.status}- </span>- </div>-- {/* Capabilities */}- <div className="mt-4 pt-3 border-t border-zinc-100 dark:border-zinc-800/80">- <div className="text-[11px] text-zinc-400 dark:text-zinc-500 mb-1.5 font-medium">Capabilities</div>- <div className="flex flex-wrap gap-1.5">- {(agent.capabilities || []).map((cap, idx) => (- <span- key={idx}- className="px-2 py-0.5 rounded bg-zinc-100 dark:bg-zinc-900 border border-zinc-200 dark:border-zinc-800 text-[10px] text-zinc-600 dark:text-zinc-400"- >- {cap}- </span>- ))}- </div>- </div>- </div>- ))}- </div>-- {/* Launch Autonomous Directive Form */}- <div className="bg-white dark:bg-[#1a1a1f] border border-zinc-200 dark:border-zinc-800 rounded-xl p-6 shadow-2xs">- <h3 className="text-sm font-semibold text-zinc-900 dark:text-zinc-100 mb-1 flex items-center gap-2">- <SparklesIcon className="w-4 h-4 text-indigo-600 dark:text-indigo-400" />- <span>Dispatch Task to a Dot</span>- </h3>- <p className="text-xs text-zinc-500 dark:text-zinc-400 mb-4">- Instruct an agent to autonomously research, summarize, synthesize, or write directly into any living page in this space.- </p>-- <form onSubmit={handleLaunchTask} className="space-y-4">- <div className="grid grid-cols-1 md:grid-cols-2 gap-4">- <div>- <label className="block text-xs font-medium text-zinc-700 dark:text-zinc-300 mb-1">Select Dot Agent</label>- <CustomDropdown- value={selectedAgentId}- onChange={setSelectedAgentId}- options={agents.map((a) => ({ label: `${a.name} (${a.role})`, value: a.id }))}- className="w-full"- buttonClassName="w-full justify-between"- searchable={true}- />- </div>-- <div>- <label className="block text-xs font-medium text-zinc-700 dark:text-zinc-300 mb-1">Target Living Page (Optional)</label>- <CustomDropdown- value={selectedPageId}- onChange={setSelectedPageId}- options={[- { label: "None (Space Level Only)", value: "" },- ...pages.map((p) => ({ label: `${p.icon || "📄"} ${p.title}`, value: p.id })),- ]}- className="w-full"- buttonClassName="w-full justify-between"- searchable={true}- />- </div>- </div>-- <div>- <label className="block text-xs font-medium text-zinc-700 dark:text-zinc-300 mb-1">Autonomous Directive / Instruction</label>- <textarea- rows={3}- required- value={taskPrompt}- onChange={(e) => setTaskPrompt(e.target.value)}- placeholder="e.g. Conduct a SWOT analysis of our proposed roadmap and append recommendations to the launch page."- className="w-full bg-zinc-50 dark:bg-zinc-900 border border-zinc-300 dark:border-zinc-700 rounded-lg px-3 py-2 text-xs text-zinc-800 dark:text-zinc-200 placeholder-zinc-400 dark:placeholder-zinc-500 focus:outline-none focus:border-indigo-500 leading-relaxed"- />- </div>-- <div className="flex justify-end">- <button- type="submit"- disabled={isRunning || !taskPrompt.trim()}- className="flex items-center gap-2 bg-indigo-600 hover:bg-indigo-500 disabled:opacity-50 text-white px-4 py-2 rounded-lg text-xs font-medium transition-colors shadow-2xs"- >- <SparklesIcon className="w-4 h-4" />- <span>{isRunning ? "Dot is Working..." : "Dispatch Task"}</span>- </button>- </div>- </form>- </div>-- {/* Task Execution Stream / History */}- <div>- <h3 className="text-xs font-semibold uppercase tracking-wider text-zinc-500 mb-3">- Recent Dot Activity & Directives- </h3>- <div className="space-y-2">- {taskLogs.map((log) => (- <div- key={log.id}- className="bg-white dark:bg-[#18181c] border border-zinc-200 dark:border-zinc-800 rounded-lg p-3.5 flex items-center justify-between text-xs shadow-2xs"- >- <div className="flex items-center gap-3">- <span className="w-2 h-2 rounded-full bg-indigo-500" />- <div>- <div className="font-medium text-zinc-800 dark:text-zinc-200">- <span className="text-indigo-600 dark:text-indigo-400 font-semibold">{log.agent}</span>: {log.task}- </div>- <div className="text-[10px] text-zinc-400 dark:text-zinc-500">{log.time}</div>- </div>- </div>-- <span- className={`px-2 py-0.5 rounded text-[10px] font-medium capitalize ${- log.status === "completed"- ? "bg-emerald-100 dark:bg-emerald-500/10 text-emerald-800 dark:text-emerald-300 border border-emerald-200 dark:border-emerald-500/20"- : "bg-amber-100 dark:bg-amber-500/10 text-amber-800 dark:text-amber-300 border border-amber-200 dark:border-amber-500/20 animate-pulse"- }`}- >- {log.status}- </span>- </div>- ))}- </div>- </div>- </div>- </div>- );-}diff --git a/client/src/components/HomeWorkView.js b/client/src/components/HomeWorkView.jsdeleted file mode 100644index 2a08037..0000000--- a/client/src/components/HomeWorkView.js+++ /dev/null@@ -1,375 +0,0 @@-"use client";--import React, { useState, useRef, useEffect } from "react";-import {- PlusIcon,- WindowIcon,- CloseIcon,- PageIcon,- ArrowUpIcon,- ChevronDownIcon,- CopyIcon,- CheckIcon,- ThumbsDownIcon,- VolumeIcon,- RotateIcon,- MoreIcon,- ShareIcon,-} from "./Icons";-import MarkdownRenderer from "./MarkdownRenderer";-import CustomDropdown from "./CustomDropdown";-import { AI_MODELS } from "../constants/models";--export default function HomeWorkView({- activeProject = "General",- onSelectProject,- selectedModel = "gpt-6-1-sol",- onSelectModel,- onSubmitPrompt,- conversation = [],- isLoading = false,- onOpenCanvas,- currentUser = null,- authHeaders = {},- onRequireLogin = null,-}) {- const [promptText, setPromptText] = useState("");- const [attachedImage, setAttachedImage] = useState(null);- const [isUploading, setIsUploading] = useState(false);- const [copiedIdx, setCopiedIdx] = useState(null);-- const fileInputRef = useRef(null);- const textareaRef = useRef(null);- const messagesEndRef = useRef(null);-- const models = AI_MODELS;-- const currentModelObj =- models.find((m) => m.id === selectedModel) || models[0];-- // Auto-scroll to bottom of chat when new message or response appears- useEffect(() => {- if (conversation.length > 0) {- messagesEndRef.current?.scrollIntoView({ behavior: "smooth" });- }- }, [conversation, isLoading]);-- // Expand textarea smoothly based on scrollHeight- useEffect(() => {- if (textareaRef.current) {- textareaRef.current.style.height = "auto";- const nextHeight = Math.min(textareaRef.current.scrollHeight, 200);- textareaRef.current.style.height = `${Math.max(nextHeight, 36)}px`;- }- }, [promptText]);-- const handleFileUpload = async (e) => {- const file = e.target.files?.[0];- if (!file || !file.type.startsWith("image/")) return;-- if (!currentUser) {- if (onRequireLogin) onRequireLogin("upload images and files");- if (e.target) e.target.value = "";- return;- }-- const localPreviewUrl = URL.createObjectURL(file);-- // Show preview thumbnail locally while uploading, url is null until upload returns hosted link- setAttachedImage({- name: file.name,- previewUrl: localPreviewUrl,- url: null,- });-- setIsUploading(true);-- const formData = new FormData();- formData.append("file", file);-- try {- const res = await fetch("http://localhost:8000/api/upload_file", {- method: "POST",- headers: {- ...authHeaders,- ...(currentUser ? { "X-User-Id": currentUser.id } : {}),- },- body: formData,- });-- if (res.ok) {- const data = await res.json();- // data.url is the hosted public link from MuAPI (https://cdn.muapi.ai/...)- setAttachedImage((prev) => ({- ...prev,- url: data.url,- }));- setIsUploading(false);- e.target.value = "";- return;- } else {- const err = await res.json().catch(() => ({}));- console.error("Upload failed:", res.status, err);- alert(`Image upload failed: ${err.detail || res.statusText || res.status}`);- setAttachedImage(null);- }- } catch (err) {- console.error("Upload to server failed:", err);- alert("Failed to connect to upload server. Please check your network or server status.");- setAttachedImage(null);- } finally {- setIsUploading(false);- if (e.target) e.target.value = "";- }- };-- const handleSend = (e) => {- if (e) e.preventDefault();- if (isLoading || isUploading) return;- if (!promptText.trim() && !attachedImage) return;-- // Must wait for image to upload and obtain its hosted link- if (attachedImage && !attachedImage.url) {- return;- }-- const finalPrompt = promptText.trim();- // Strictly the hosted public link (https://...), NEVER a local blob- const imageUrl = attachedImage?.url || null;-- onSubmitPrompt(finalPrompt, imageUrl);- setPromptText("");- setAttachedImage(null);- if (textareaRef.current) {- textareaRef.current.style.height = "36px";- }- };-- const copyToClipboard = (text, idx) => {- navigator.clipboard.writeText(text);- setCopiedIdx(idx);- setTimeout(() => setCopiedIdx(null), 2000);- };-- // Open Spaces Native Card Input Box matching design- const renderInputBar = () => {- return (- <div className="w-full max-w-3xl mx-auto relative select-none">- {/* Outer Card Container */}- <div className="flex flex-col bg-[#f4f4f5] dark:bg-[#212121] border border-zinc-200 dark:border-zinc-700/70 p-3 sm:p-3.5 rounded-3xl shadow-sm hover:border-zinc-300 dark:hover:border-zinc-600 focus-within:border-zinc-300 dark:focus-within:border-zinc-600 transition-all">- {/* Top Section: Uploaded Image Preview Thumbnail */}- {attachedImage && (- <div className="relative group w-20 h-20 mb-3 shrink-0">- <img- src={attachedImage.previewUrl || attachedImage.url}- alt={attachedImage.name || "Preview"}- className="w-20 h-20 rounded-2xl object-cover border border-zinc-300/60 dark:border-zinc-700/80 shadow-xs"- />- {isUploading && (- <div className="absolute inset-0 bg-black/40 rounded-2xl flex items-center justify-center backdrop-blur-[1px]">- <div className="w-5 h-5 border-2 border-white/80 border-t-transparent rounded-full animate-spin" />- </div>- )}- <button- type="button"- onClick={() => setAttachedImage(null)}- title="Remove image"- className="absolute -top-1.5 -right-1.5 w-5 h-5 rounded-full bg-zinc-800 text-white dark:bg-zinc-700 hover:bg-black dark:hover:bg-zinc-600 flex items-center justify-center text-xs opacity-0 group-hover:opacity-100 transition-opacity shadow-sm cursor-pointer"- >- <CloseIcon className="w-3 h-3" />- </button>- </div>- )}-- {/* Middle Section: Expandable Textarea */}- <textarea- ref={textareaRef}- rows={1}- value={promptText}- onChange={(e) => setPromptText(e.target.value)}- onKeyDown={(e) => {- if (e.key === "Enter" && !e.shiftKey) {- e.preventDefault();- handleSend();- }- }}- placeholder="Ask Open Spaces"- className="w-full bg-transparent text-sm sm:text-base text-zinc-900 dark:text-zinc-100 placeholder-zinc-500 dark:placeholder-zinc-400 resize-none focus:outline-none leading-relaxed py-1 px-1 min-h-[36px] max-h-48 overflow-y-auto"- />-- {/* Bottom Row: Left (+) and Right (Think, Mic, Green Send Arrow) */}- <div className="flex items-center justify-between pt-2 select-none">- {/* Left: Upload Image + Button */}- <button- type="button"- onClick={() => fileInputRef.current?.click()}- title="Attach image"- className="w-8 h-8 rounded-full text-zinc-500 dark:text-zinc-400 hover:text-zinc-900 dark:hover:text-zinc-100 hover:bg-zinc-200/80 dark:hover:bg-zinc-800/80 flex items-center justify-center transition-colors cursor-pointer"- >- <PlusIcon className="w-4 h-4" />- </button>-- {/* Right: Think, Mic, and Circular Green Send Button */}- <div className="flex items-center gap-1.5 sm:gap-2">- {/* Think Button (Models Dropdown) */}- <CustomDropdown- value={selectedModel}- onChange={onSelectModel}- options={models.map((m) => ({- label: m.name,- value: m.id,- icon: m.icon,- tag: m.tag,- group: m.group,- }))}- searchable={true}- direction="auto"- align="right"- header="Open Spaces AI Models (MuAPI)"- menuClassName="w-80 bg-white dark:bg-[#1f1f23] border-zinc-200 dark:border-zinc-700/80 p-1.5 shadow-2xl backdrop-blur-md"- buttonClassName="bg-transparent hover:bg-zinc-200/80 dark:hover:bg-zinc-800/80 border-transparent hover:border-zinc-300 dark:hover:border-zinc-700 text-zinc-700 dark:text-zinc-300 rounded-full px-3 py-1.5 text-xs"- />-- {/* Send Arrow Button */}- <button- type="button"- onClick={handleSend}- disabled={- isLoading ||- isUploading ||- (!promptText.trim() && !attachedImage) ||- (attachedImage && !attachedImage.url)- }- title="Send message"- className="w-8 h-8 rounded-full bg-zinc-900 hover:bg-zinc-800 text-white dark:bg-white dark:hover:bg-zinc-200 dark:text-zinc-900 flex items-center justify-center transition-transform hover:scale-105 shadow-sm shrink-0 cursor-pointer disabled:opacity-30 disabled:hover:scale-100 disabled:cursor-not-allowed"- >- <ArrowUpIcon className="w-4 h-4 stroke-[2.5]" />- </button>- </div>- </div>- </div>- </div>- );- };-- return (- <div className="flex-1 flex flex-col h-full bg-[#fbfbfa] dark:bg-[#141416] text-zinc-900 dark:text-zinc-100 overflow-hidden transition-colors duration-150 select-none">- {/* Hidden File Input strictly for images */}- <input- type="file"- ref={fileInputRef}- onChange={handleFileUpload}- className="hidden"- accept="image/*"- />-- {/* 1. Chat Conversation Active Mode */}- {conversation.length > 0 ? (- <>- {/* Scrollable messages area (Only this scrolls) */}- <div className="flex-1 overflow-y-auto p-4 sm:p-6 space-y-6">- <div className="max-w-3xl mx-auto w-full space-y-6">- {conversation.map((msg, idx) => {- const isUser = msg.role === "user";- return (- <div- key={idx}- className={`flex flex-col ${isUser ? "items-end" : "items-start"}`}- >- {isUser ? (- /* User message styled for both Light and Dark mode */- <div className="bg-[#f4f4f5] dark:bg-[#1a402d] text-zinc-900 dark:text-zinc-100 border border-zinc-200/80 dark:border-transparent px-4 py-2.5 rounded-3xl text-sm leading-relaxed max-w-xl shadow-xs select-text space-y-2">- {msg.image_url && (- <img- src={msg.image_url}- alt="Attached image"- className="max-h-60 rounded-xl object-contain border border-zinc-200 dark:border-zinc-700/60 shadow-xs"- />- )}- <p className="whitespace-pre-wrap">{msg.content}</p>- </div>- ) : (- /* Assistant message with markdown and action bar */- <div className="w-full max-w-3xl space-y-2 select-text">- <div className="text-zinc-900 dark:text-zinc-100 leading-relaxed text-sm">- <MarkdownRenderer content={msg.content} />- </div>-- {/* Action buttons under assistant response */}- <div className="flex items-center justify-between pt-1 select-none text-zinc-400 dark:text-zinc-500 text-xs">- <div className="flex items-center gap-1">- <button- type="button"- onClick={() => copyToClipboard(msg.content, idx)}- title="Copy response"- className="p-1.5 rounded-md hover:bg-zinc-200/60 dark:hover:bg-zinc-800 hover:text-zinc-800 dark:hover:text-zinc-200 transition-colors cursor-pointer"- >- {copiedIdx === idx ? (- <CheckIcon className="w-3.5 h-3.5 text-emerald-500" />- ) : (- <CopyIcon className="w-3.5 h-3.5" />- )}- </button>-- <button- type="button"- onClick={() =>- onSubmitPrompt(- conversation[idx - 1]?.content || "Retry",- )- }- title="Regenerate"- className="p-1.5 rounded-md hover:bg-zinc-200/60 dark:hover:bg-zinc-800 hover:text-zinc-800 dark:hover:text-zinc-200 transition-colors cursor-pointer"- >- <RotateIcon className="w-3.5 h-3.5" />- </button>- </div>-- {onOpenCanvas && (- <button- type="button"- onClick={() => onOpenCanvas(msg.content)}- className="text-[11px] text-indigo-600 dark:text-indigo-400 hover:underline flex items-center gap-1 font-medium px-2 py-1 rounded hover:bg-indigo-50 dark:hover:bg-zinc-800/60 cursor-pointer"- >- <WindowIcon className="w-3 h-3" />- <span>Open in Canvas / Page</span>- </button>- )}- </div>- </div>- )}- </div>- );- })}-- {isLoading && (- <div className="flex items-center gap-2 text-zinc-500 dark:text-zinc-400 text-xs py-2">- <span className="w-2 h-2 rounded-full bg-emerald-500 animate-ping" />- <span>Thinking ({currentModelObj.name})...</span>- </div>- )}-- {/* Anchor for auto-scroll */}- <div ref={messagesEndRef} />- </div>- </div>-- {/* Sticky Bottom Bar (Always pinned at bottom, never overflows) */}- <div className="shrink-0 bg-transparent border-t border-transparent">- {renderInputBar()}- </div>- </>- ) : (- /* 2. Initial Centered "What should we work on?" view */- <div className="flex-1 flex flex-col items-center justify-center px-4 -mt-12">- <h1 className="text-3xl font-semibold tracking-tight text-zinc-900 dark:text-zinc-100 mb-8 text-center">- What's on the agenda today?- </h1>-- {/* Capsule Input Field */}- {renderInputBar()}- </div>- )}- </div>- );-}diff --git a/client/src/components/IconRail.js b/client/src/components/IconRail.jsdeleted file mode 100644index 536667d..0000000--- a/client/src/components/IconRail.js+++ /dev/null@@ -1,169 +0,0 @@-"use client";--import React, { useState, useRef, useEffect } from "react";-import {- HomeIcon,- LayersIcon,- ClockIcon,- AtSignIcon,- MoreIcon,- GridIcon,- FolderIcon,-} from "./Icons";--export default function IconRail({- activeRailTab = "spaces",- onSelectRailTab,- currentUser = null,- onOpenAuth,- onLogout,-}) {- const [menuOpen, setMenuOpen] = useState(false);- const menuRef = useRef(null);-- const topNav = [- { id: "home", icon: HomeIcon, label: "Home" },- { id: "spaces", icon: LayersIcon, label: "Spaces" },- { id: "history", icon: ClockIcon, label: "History" },- { id: "mentions", icon: AtSignIcon, label: "Mentions" },- { id: "more", icon: MoreIcon, label: "More" },- ];-- // Close menu on click outside- useEffect(() => {- const handleClickOutside = (e) => {- if (menuRef.current && !menuRef.current.contains(e.target)) {- setMenuOpen(false);- }- };- if (menuOpen) {- document.addEventListener("mousedown", handleClickOutside);- }- return () => {- document.removeEventListener("mousedown", handleClickOutside);- };- }, [menuOpen]);-- const initials = currentUser?.name- ? currentUser.name- .split(" ")- .map((n) => n[0])- .join("")- .toUpperCase()- .slice(0, 2)- : "";-- return (- <div className="w-12 bg-[#f9f9f9] dark:bg-[#141416] border-r border-zinc-200/80 dark:border-zinc-800/80 flex flex-col items-center justify-between py-3 select-none z-20 transition-colors duration-150 relative">- {/* Top Navigation */}- <div className="flex flex-col items-center gap-2">- {topNav.map((item) => {- const Icon = item.icon;- const isActive = activeRailTab === item.id;- return (- <button- key={item.id}- onClick={() => onSelectRailTab && onSelectRailTab(item.id)}- title={item.label}- className={`w-8 h-8 rounded-lg flex items-center justify-center transition-all cursor-pointer ${- isActive- ? "bg-zinc-200 dark:bg-zinc-800 text-zinc-900 dark:text-zinc-100 shadow-2xs"- : "text-zinc-400 hover:text-zinc-700 dark:hover:text-zinc-200 hover:bg-zinc-200/60 dark:hover:bg-zinc-800/50"- }`}- >- <Icon className="w-4 h-4" />- </button>- );- })}- </div>-- {/* Bottom Profile / Login Button */}- <div className="flex flex-col items-center gap-2 relative" ref={menuRef}>- <button- title="Apps"- className="w-8 h-8 rounded-lg flex items-center justify-center text-zinc-400 hover:text-zinc-700 dark:hover:text-zinc-200 hover:bg-zinc-200/60 dark:hover:bg-zinc-800/50 transition-colors cursor-pointer"- >- <GridIcon className="w-4 h-4" />- </button>-- <button- title="Library"- className="w-8 h-8 rounded-lg flex items-center justify-center text-zinc-400 hover:text-zinc-700 dark:hover:text-zinc-200 hover:bg-zinc-200/60 dark:hover:bg-zinc-800/50 transition-colors cursor-pointer"- >- <FolderIcon className="w-4 h-4" />- </button>-- {/* User Avatar Button or Login First button */}- {currentUser ? (- <button- type="button"- onClick={() => setMenuOpen(!menuOpen)}- title={`${currentUser.name} (${currentUser.email})`}- className="w-7 h-7 rounded-full overflow-hidden border border-zinc-300 dark:border-zinc-700 hover:ring-2 hover:ring-indigo-500/50 transition-all cursor-pointer mt-1 relative shrink-0"- >- {currentUser.avatar ? (- <img- src={currentUser.avatar}- alt={currentUser.name}- className="w-full h-full object-cover"- />- ) : (- <div className="w-full h-full bg-gradient-to-tr from-indigo-600 to-violet-600 text-white flex items-center justify-center text-[10px] font-semibold">- {initials}- </div>- )}- </button>- ) : (- <button- type="button"- onClick={() => onOpenAuth && onOpenAuth()}- title="Login first to access your spaces"- className="w-7 h-7 rounded-full bg-indigo-600 hover:bg-indigo-700 text-white flex items-center justify-center text-xs font-semibold shadow-sm transition-all cursor-pointer mt-1"- >- 🔑- </button>- )}-- {/* User Account Popover */}- {menuOpen && currentUser && (- <div className="absolute left-12 bottom-0 ml-2 w-60 bg-white dark:bg-[#18181b] border border-zinc-200 dark:border-zinc-800 rounded-2xl shadow-xl p-3 z-50 text-xs animate-in fade-in slide-in-from-left-2 duration-150">- {/* User Profile Header */}- <div className="flex items-center gap-2.5 pb-2.5 mb-2 border-b border-zinc-100 dark:border-zinc-800/80">- {currentUser.avatar ? (- <img- src={currentUser.avatar}- alt={currentUser.name}- className="w-8 h-8 rounded-full object-cover shrink-0 border border-zinc-200 dark:border-zinc-700"- />- ) : (- <div className="w-8 h-8 rounded-full bg-gradient-to-tr from-indigo-600 to-violet-600 text-white flex items-center justify-center text-xs font-semibold shrink-0">- {initials}- </div>- )}- <div className="min-w-0 flex-1">- <div className="font-semibold text-zinc-900 dark:text-zinc-100 truncate">- {currentUser.name}- </div>- <div className="text-[11px] text-zinc-400 dark:text-zinc-500 truncate">- {currentUser.email}- </div>- </div>- </div>-- {/* Sign Out Button */}- <button- type="button"- onClick={() => {- setMenuOpen(false);- if (onLogout) onLogout();- }}- className="w-full text-left px-2.5 py-1.5 rounded-xl hover:bg-red-50 dark:hover:bg-red-950/20 text-red-600 dark:text-red-400 font-medium transition-colors cursor-pointer text-xs"- >- Sign Out- </button>- </div>- )}- </div>- </div>- );-}diff --git a/client/src/components/Icons.js b/client/src/components/Icons.jsdeleted file mode 100644index b410bc2..0000000--- a/client/src/components/Icons.js+++ /dev/null@@ -1,110 +0,0 @@-import React from "react";-import {- LuHouse,- LuLayers,- LuClock,- LuAtSign,- LuEllipsis,- LuLayoutGrid,- LuBell,- LuSearch,- LuFilePlus,- LuFileText,- LuGlobe,- LuImage,- LuHardDrive,- LuChevronDown,- LuChevronRight,- LuX,- LuPlus,- LuMessageSquare,- LuSparkles,- LuShare2,- LuGripVertical,- LuSquare,- LuSquareCheck,- LuHeading,- LuColumns2,- LuMaximize2,- LuSun,- LuMoon,- LuMonitor,- LuBot,- LuMic,- LuCheck,- LuTrash2,- LuFolder,- LuDatabase,- LuSend,- LuPin,- LuArrowUp,- LuBrain,- LuCopy,- LuThumbsDown,- LuVolume2,- LuRotateCw,- LuList,- LuArrowUpRight,- LuArrowLeft,- LuDownload,- LuCode,- LuListOrdered,- LuMinus,- LuQuote,- LuTable,-} from "react-icons/lu";--export {- LuHouse as HomeIcon,- LuLayers as LayersIcon,- LuClock as ClockIcon,- LuAtSign as AtSignIcon,- LuEllipsis as MoreIcon,- LuLayoutGrid as GridIcon,- LuBell as BellIcon,- LuSearch as SearchIcon,- LuFilePlus as NewPageIcon,- LuFileText as PageIcon,- LuGlobe as GlobeIcon,- LuImage as ImageIcon,- LuHardDrive as DriveIcon,- LuChevronDown as ChevronDownIcon,- LuChevronRight as ChevronRightIcon,- LuX as CloseIcon,- LuPlus as PlusIcon,- LuMessageSquare as ChatIcon,- LuSparkles as SparklesIcon,- LuShare2 as ShareIcon,- LuGripVertical as DragIcon,- LuSquare as CheckboxEmptyIcon,- LuSquareCheck as CheckboxCheckedIcon,- LuHeading as HeadingIcon,- LuColumns2 as ColumnsIcon,- LuMaximize2 as WindowIcon,- LuSun as SunIcon,- LuMoon as MoonIcon,- LuMonitor as MonitorIcon,- LuBot as BotIcon,- LuMic as MicIcon,- LuCheck as CheckIcon,- LuTrash2 as TrashIcon,- LuFolder as FolderIcon,- LuDatabase as DatabaseIcon,- LuSend as SendIcon,- LuPin as PinIcon,- LuArrowUp as ArrowUpIcon,- LuBrain as BrainIcon,- LuCopy as CopyIcon,- LuThumbsDown as ThumbsDownIcon,- LuVolume2 as VolumeIcon,- LuRotateCw as RotateIcon,- LuList as ListIcon,- LuArrowUpRight as ArrowUpRightIcon,- LuArrowLeft as ArrowLeftIcon,- LuDownload as DownloadIcon,- LuCode as CodeIcon,- LuListOrdered as ListOrderedIcon,- LuMinus as MinusIcon,- LuQuote as QuoteIcon,- LuTable as TableIcon,-};diff --git a/client/src/components/MarkdownRenderer.js b/client/src/components/MarkdownRenderer.jsdeleted file mode 100644index 1d42250..0000000--- a/client/src/components/MarkdownRenderer.js+++ /dev/null@@ -1,152 +0,0 @@-"use client";--import React, { useState } from "react";-import ReactMarkdown from "react-markdown";-import remarkGfm from "remark-gfm";-import { LuCopy, LuCheck } from "react-icons/lu";--function MarkdownCodeBlock({ className, children }) {- const [copied, setCopied] = useState(false);- const match = /language-(\w+)/.exec(className || "");- const lang = match ? match[1] : "";- const codeText = typeof children === "string" ? children : (Array.isArray(children) ? children.join("") : String(children || ""));-- const handleCopy = () => {- try {- navigator.clipboard.writeText(codeText.replace(/\n$/, ""));- setCopied(true);- setTimeout(() => setCopied(false), 1500);- } catch (e) {- console.warn("Copy failed:", e);- }- };-- return (- <div className="my-4 rounded-xl overflow-hidden border border-zinc-800 bg-[#16161a] text-zinc-100 shadow-md">- <div className="flex items-center justify-between px-3 py-1.5 bg-[#1f1f24] border-b border-zinc-800 text-xs select-none">- <span className="text-[11px] font-mono text-zinc-400 font-medium tracking-wide uppercase">- {lang || "code"}- </span>- <button- type="button"- onClick={handleCopy}- className="flex items-center gap-1.5 px-2.5 py-0.5 rounded text-[11px] font-medium text-zinc-400 hover:text-white hover:bg-zinc-800 transition-colors cursor-pointer"- title="Copy code to clipboard"- >- {copied ? (- <>- <LuCheck size={12} className="text-emerald-400" />- <span className="text-emerald-400 font-semibold">Copied!</span>- </>- ) : (- <>- <LuCopy size={12} />- <span>Copy</span>- </>- )}- </button>- </div>- <pre className="!p-4 !m-0 !bg-transparent !border-0 overflow-x-auto text-[13px] font-mono leading-relaxed text-zinc-200">- <code>{children}</code>- </pre>- </div>- );-}--export default function MarkdownRenderer({ content = "" }) {- return (- <div className="markdown-content text-sm leading-relaxed text-zinc-800 dark:text-zinc-200 space-y-3">- <ReactMarkdown- remarkPlugins={[remarkGfm]}- components={{- h1: ({ node, ...props }) => (- <h1- className="text-lg font-bold tracking-tight text-zinc-900 dark:text-zinc-100 mt-4 mb-2 first:mt-0"- {...props}- />- ),- h2: ({ node, ...props }) => (- <h2- className="text-base font-semibold tracking-tight text-zinc-900 dark:text-zinc-100 mt-3.5 mb-1.5 first:mt-0"- {...props}- />- ),- h3: ({ node, ...props }) => (- <h3- className="text-sm font-semibold text-zinc-900 dark:text-zinc-100 mt-3 mb-1 first:mt-0"- {...props}- />- ),- p: ({ node, ...props }) => (- <p className="my-1.5 leading-relaxed text-zinc-800 dark:text-zinc-200" {...props} />- ),- ul: ({ node, ...props }) => (- <ul className="list-disc pl-5 my-2 space-y-1 text-zinc-800 dark:text-zinc-200" {...props} />- ),- ol: ({ node, ...props }) => (- <ol className="list-decimal pl-5 my-2 space-y-1 text-zinc-800 dark:text-zinc-200" {...props} />- ),- li: ({ node, ...props }) => (- <li className="leading-relaxed pl-0.5" {...props} />- ),- strong: ({ node, ...props }) => (- <strong className="font-semibold text-zinc-900 dark:text-zinc-100" {...props} />- ),- em: ({ node, ...props }) => (- <em className="italic text-zinc-800 dark:text-zinc-200" {...props} />- ),- hr: ({ node, ...props }) => (- <hr className="my-4 border-zinc-200 dark:border-zinc-800" {...props} />- ),- blockquote: ({ node, ...props }) => (- <blockquote- className="border-l-2 border-indigo-500 pl-3 my-2 italic text-zinc-600 dark:text-zinc-400"- {...props}- />- ),- code: ({ node, inline, className, children, ...props }) => {- const isInline = !className && typeof children === "string" && !children.includes("\n");- if (isInline) {- return (- <code- className="px-1.5 py-0.5 rounded-md bg-zinc-100 dark:bg-zinc-800 text-indigo-600 dark:text-indigo-400 text-xs font-medium font-mono"- {...props}- >- {children}- </code>- );- }- return <MarkdownCodeBlock className={className}>{children}</MarkdownCodeBlock>;- },- table: ({ node, ...props }) => (- <div className="my-4 overflow-x-auto rounded-xl border border-zinc-300 dark:border-zinc-700/80 bg-white dark:bg-[#141418] shadow-xs">- <table className="min-w-full text-xs border-collapse border-spacing-0" {...props} />- </div>- ),- thead: ({ node, ...props }) => (- <thead className="bg-zinc-100/90 dark:bg-zinc-800/80 font-semibold" {...props} />- ),- tr: ({ node, ...props }) => (- <tr className="last:[&>td]:border-b-0 hover:bg-zinc-50/50 dark:hover:bg-zinc-800/30 transition-colors" {...props} />- ),- th: ({ node, ...props }) => (- <th className="px-4 py-2.5 text-left border-b border-r border-zinc-300 dark:border-zinc-700/80 last:border-r-0 font-semibold text-zinc-900 dark:text-zinc-100" {...props} />- ),- td: ({ node, ...props }) => (- <td className="px-4 py-2.5 border-b border-r border-zinc-200 dark:border-zinc-800 last:border-r-0 text-zinc-800 dark:text-zinc-200 align-top leading-relaxed" {...props} />- ),- a: ({ node, ...props }) => (- <a- className="text-indigo-600 dark:text-indigo-400 hover:underline"- target="_blank"- rel="noopener noreferrer"- {...props}- />- ),- }}- >- {content}- </ReactMarkdown>- </div>- );-}diff --git a/client/src/components/MeetingIntelligence.js b/client/src/components/MeetingIntelligence.jsdeleted file mode 100644index 7788b8a..0000000--- a/client/src/components/MeetingIntelligence.js+++ /dev/null@@ -1,159 +0,0 @@-"use client";--import React, { useState } from "react";-import { MicIcon, SparklesIcon, PlusIcon, PageIcon, CheckIcon } from "./Icons";--export default function MeetingIntelligence({- meetings = [],- onCreateMeeting,- onConvertToActionPage,-}) {- const [isRecording, setIsRecording] = useState(false);- const [seconds, setSeconds] = useState(0);- const [timerInterval, setTimerInterval] = useState(null);-- const startMeeting = () => {- setIsRecording(true);- setSeconds(0);- const interval = setInterval(() => {- setSeconds((prev) => prev + 1);- }, 1000);- setTimerInterval(interval);- };-- const stopMeeting = () => {- if (timerInterval) clearInterval(timerInterval);- setIsRecording(false);-- // Create a simulated meeting note- onCreateMeeting({- title: `Standup & Roadmap Sync (${new Date().toLocaleDateString()})`,- duration_seconds: seconds || 120,- summary: "Discussed milestone deliverables, Dot agent autonomous workflows, and real-time multiplayer editing capabilities.",- transcript: "Speaker 1: Let's review the sprint deliverables. Speaker 2: Supabase database and Next.js frontend are aligned. Dot agents are processing backlog items.",- action_items: [- "Deploy Next.js App Router frontend to port 3000",- "Keep FastAPI backend active on port 8000",- "Verify full CRUD with Supabase PostgreSQL tables",- ],- });- };-- const formatTime = (totalSeconds) => {- const mins = Math.floor(totalSeconds / 60);- const secs = totalSeconds % 60;- return `${mins.toString().padStart(2, "0")}:${secs.toString().padStart(2, "0")}`;- };-- return (- <div className="flex-1 overflow-y-auto p-8 bg-zinc-50 dark:bg-[#141416] transition-colors duration-200">- <div className="max-w-4xl mx-auto space-y-8">- {/* Header */}- <div className="flex items-center justify-between">- <div className="flex items-center gap-3">- <span className="p-2.5 rounded-xl bg-violet-100 dark:bg-violet-600/20 text-violet-700 dark:text-violet-400 border border-violet-200 dark:border-violet-500/30">- <MicIcon className="w-5 h-5" />- </span>- <div>- <h2 className="text-base font-bold text-zinc-900 dark:text-zinc-100">Meeting Audio & Intelligence</h2>- <p className="text-xs text-zinc-500 dark:text-zinc-400">- Capture live audio or team discussions, auto-generate structured takeaways, and ingest action items into Pages.- </p>- </div>- </div>-- {/* Record Button */}- {!isRecording ? (- <button- onClick={startMeeting}- className="flex items-center gap-2 bg-rose-600 hover:bg-rose-500 text-white px-4 py-2 rounded-xl text-xs font-medium transition-colors shadow-2xs"- >- <span className="w-2.5 h-2.5 rounded-full bg-white animate-pulse" />- <span>Record Live Meeting</span>- </button>- ) : (- <button- onClick={stopMeeting}- className="flex items-center gap-2 bg-white dark:bg-zinc-800 hover:bg-zinc-100 dark:hover:bg-zinc-700 text-rose-600 dark:text-rose-400 border border-rose-300 dark:border-rose-500/40 px-4 py-2 rounded-xl text-xs font-medium transition-colors shadow-2xs"- >- <span className="w-2.5 h-2.5 rounded-sm bg-rose-500" />- <span>Stop & Synthesize ({formatTime(seconds)})</span>- </button>- )}- </div>-- {/* In-Progress Recording Banner */}- {isRecording && (- <div className="p-4 rounded-xl bg-rose-50 dark:bg-rose-500/10 border border-rose-200 dark:border-rose-500/30 flex items-center justify-between">- <div className="flex items-center gap-3">- <span className="w-3 h-3 rounded-full bg-rose-500 animate-ping" />- <div className="text-xs text-rose-800 dark:text-rose-200">- <span className="font-semibold">Live audio processing active...</span> Capturing discussion and auto-detecting action items.- </div>- </div>- <span className="text-xs font-bold text-rose-600 dark:text-rose-300">{formatTime(seconds)}</span>- </div>- )}-- {/* Past Meeting Summaries */}- <div className="space-y-4">- <h3 className="text-xs font-semibold uppercase tracking-wider text-zinc-500">- Meeting Records & Syntheses ({meetings.length})- </h3>-- {meetings.length === 0 ? (- <div className="text-center py-12 bg-white dark:bg-[#19191d] border border-zinc-200 dark:border-zinc-800 rounded-xl text-xs text-zinc-400 dark:text-zinc-500 shadow-2xs">- No recorded meetings in this space yet. Start a live recording above to auto-generate notes.- </div>- ) : (- meetings.map((meet) => (- <div- key={meet.id}- className="bg-white dark:bg-[#19191d] border border-zinc-200 dark:border-zinc-800 rounded-xl p-5 space-y-3.5 shadow-2xs"- >- <div className="flex items-start justify-between">- <div>- <h4 className="text-sm font-semibold text-zinc-900 dark:text-zinc-100">{meet.title}</h4>- <p className="text-[11px] text-zinc-500 mt-0.5">- Duration: {Math.floor(meet.duration_seconds / 60)} mins • {new Date(meet.created_at || Date.now()).toLocaleDateString()}- </p>- </div>-- <button- onClick={() => onConvertToActionPage(meet)}- className="flex items-center gap-1.5 bg-indigo-50 dark:bg-indigo-600/20 hover:bg-indigo-100 dark:hover:bg-indigo-600/30 text-indigo-700 dark:text-indigo-300 border border-indigo-200 dark:border-indigo-500/30 px-3 py-1.5 rounded-lg text-xs font-medium transition-colors shadow-2xs"- title="Export action items directly to a new Living Page"- >- <PageIcon className="w-3.5 h-3.5" />- <span>Convert to Page</span>- </button>- </div>-- {/* Summary */}- <div className="text-xs text-zinc-700 dark:text-zinc-300 leading-relaxed bg-zinc-50 dark:bg-[#202026] p-3 rounded-lg border border-zinc-200 dark:border-zinc-800/80">- <span className="font-semibold text-zinc-900 dark:text-zinc-200 block mb-1">AI Executive Summary:</span>- {meet.summary}- </div>-- {/* Action Items Checklist */}- {meet.action_items && meet.action_items.length > 0 && (- <div>- <div className="text-[11px] font-semibold text-zinc-500 dark:text-zinc-400 mb-1.5">Action Items:</div>- <ul className="space-y-1">- {meet.action_items.map((item, idx) => (- <li key={idx} className="flex items-start gap-2 text-xs text-zinc-800 dark:text-zinc-300">- <CheckIcon className="w-3.5 h-3.5 text-indigo-600 dark:text-indigo-400 shrink-0 mt-0.5" />- <span>{item}</span>- </li>- ))}- </ul>- </div>- )}- </div>- ))- )}- </div>- </div>- </div>- );-}diff --git a/client/src/components/OpenSpacesApp.js b/client/src/components/OpenSpacesApp.jsdeleted file mode 100644index 36c829b..0000000--- a/client/src/components/OpenSpacesApp.js+++ /dev/null@@ -1,973 +0,0 @@-"use client";--import React, { useState, useEffect, useCallback, useRef, useMemo } from "react";-import IconRail from "./IconRail";-import OpenSpacesSidebar from "./OpenSpacesSidebar";-import SpaceSidebar from "./SpaceSidebar";-import SpaceLibrary from "./SpaceLibrary";-import PageHeaderBar from "./PageHeaderBar";-import CanvasPage from "./CanvasPage";-import HomeWorkView from "./HomeWorkView";-import ChatDrawer from "./ChatDrawer";-import AuthModal from "./AuthModal";--const API_BASE = "http://localhost:8000/api";-const STORAGE_KEY = "open_spaces_chat_history";-const LAST_ROUTE_KEY = "open_spaces_last_route";--const generateUUID = () => {- if (typeof crypto !== "undefined" && typeof crypto.randomUUID === "function") {- return crypto.randomUUID();- }- return "u_" + Math.random().toString(36).slice(2, 11) + "_" + Date.now().toString(36);-};--export default function OpenSpacesApp({- initialRailTab = "home", // Default to "home" view on the homepage- initialSpaceId = null,- initialPageId = null,- initialChatId = null,-}) {- // Auth & Multi-User State (Strict Auth - No fallback user data)- const [currentUser, setCurrentUser] = useState(null);- const [isAuthChecking, setIsAuthChecking] = useState(true);- const [authModalOpen, setAuthModalOpen] = useState(false);-- const [activeRailTab, setActiveRailTab] = useState(initialRailTab);- const [activeProject, setActiveProject] = useState("General");- const [selectedModel, setSelectedModel] = useState("gpt-6-1-sol");-- // Real Chat conversation history with UUIDs- const [conversations, setConversations] = useState([]);- const [activeConversationId, setActiveConversationId] = useState(initialChatId);- const [conversation, setConversation] = useState([]);- const [isGenerating, setIsGenerating] = useState(false);-- // Spaces and Pages state (with UUIDs & URL persistence)- const [spaces, setSpaces] = useState([]);- const [activeSpaceId, setActiveSpaceId] = useState(initialSpaceId);- const [pages, setPages] = useState([]);- const [activePageId, setActivePageId] = useState(initialPageId);- const [openPageIds, setOpenPageIds] = useState(initialPageId ? [initialPageId] : []);- const [isCreatingPage, setIsCreatingPage] = useState(false);- const [messages, setMessages] = useState([]);- const [chatOpen, setChatOpen] = useState(false);- const [historyOpen, setHistoryOpen] = useState(false);- const [saveStatus, setSaveStatus] = useState("Saved");- const [saveTrigger, setSaveTrigger] = useState(0);-- // Ref tracking activeSpaceId to avoid recreating callbacks- const activeSpaceIdRef = useRef(activeSpaceId);- useEffect(() => {- activeSpaceIdRef.current = activeSpaceId;- }, [activeSpaceId]);-- // Dynamic Auth Headers based strictly on authenticated user (memoized to prevent render loops)- const authHeaders = useMemo(() => {- return currentUser?.id- ? { "X-User-Id": currentUser.id, Authorization: `Bearer ${currentUser.id}` }- : {};- }, [currentUser?.id]);-- // Track initialization- const initializedFromUrlRef = useRef(false);-- // Load authenticated user on initial render - no fallback dummy data- useEffect(() => {- try {- const stored = localStorage.getItem("open_spaces_user");- if (stored) {- setCurrentUser(JSON.parse(stored));- } else {- setCurrentUser(null);- }- } catch (_) {- setCurrentUser(null);- } finally {- setIsAuthChecking(false);- }- }, []);-- // 1. Load real chat history from localStorage on initial render- useEffect(() => {- try {- const stored = localStorage.getItem(STORAGE_KEY);- if (stored) {- const parsed = JSON.parse(stored);- if (Array.isArray(parsed)) {- setConversations(parsed);- // If initialChatId was passed, restore that conversation- if (initialChatId) {- const found = parsed.find((c) => c.id === initialChatId);- if (found) {- setConversation(found.messages || []);- if (found.model) setSelectedModel(found.model);- }- }- }- }- } catch (e) {- console.warn("Could not load chat history from localStorage:", e);- }- }, [initialChatId]);-- // Helper to persist conversations- const persistConversations = (list) => {- setConversations(list);- try {- localStorage.setItem(STORAGE_KEY, JSON.stringify(list));- } catch (e) {- console.warn("Could not save chat history to localStorage:", e);- }- };-- // Helper to update browser URL and remember last route safely outside React render phase- const updateRoute = useCallback((route) => {- try {- let path = "/";- if (route.tab === "home") {- path = route.chatId ? `/c/${route.chatId}` : "/";- } else {- if (route.spaceId && route.pageId) {- path = `/spaces/${route.spaceId}/pages/${route.pageId}`;- } else if (route.spaceId) {- path = `/spaces/${route.spaceId}`;- }- }-- if (typeof window !== "undefined") {- try {- localStorage.setItem(LAST_ROUTE_KEY, JSON.stringify(route));- } catch (_) {}-- if (window.location.pathname !== path) {- // Defer pushState to microtask so React render finishes before Next.js Router is notified- queueMicrotask(() => {- if (window.location.pathname !== path) {- window.history.pushState(null, "", path);- }- });- }- }- } catch (err) {- console.warn("Error updating route URL:", err);- }- }, []);-- // Action notification toast state & timer- const [toastMessage, setToastMessage] = useState("");- const toastTimerRef = useRef(null);-- // Action guard: "don't block ui when no login just say login first when any action triggers"- const requireLogin = useCallback((actionName = "perform this action") => {- if (!currentUser) {- if (toastTimerRef.current) clearTimeout(toastTimerRef.current);- setToastMessage(`Please login first to ${actionName}.`);- toastTimerRef.current = setTimeout(() => {- setToastMessage("");- }, 4500);- return false;- }- return true;- }, [currentUser]);-- // 2. Fetch Spaces on load (public viewing supported so UI is never blocked)- const fetchSpaces = useCallback(async (overrideUserId = null) => {- const userId = overrideUserId || currentUser?.id;- try {- const effectiveHeaders = userId- ? { "X-User-Id": userId, "Authorization": `Bearer ${userId}` }- : {};- const res = await fetch(`${API_BASE}/spaces`, { headers: effectiveHeaders });- if (res.ok) {- const data = await res.json();- setSpaces(data);-- // If current active space doesn't exist in data, select first space- if (data.length > 0) {- const match = data.find((s) => s.id === activeSpaceIdRef.current);- if (!match) {- setActiveSpaceId(data[0].id);- setActivePageId(null);- }- }-- // Parse path from URL if initial props were not passed- const pathname = typeof window !== "undefined" ? window.location.pathname : "";- const spacePageMatch = pathname.match(/^\/spaces\/([^/]+)\/pages\/([^/]+)$/);- const spaceMatch = pathname.match(/^\/spaces\/([^/]+)$/);- const chatMatch = pathname.match(/^\/c\/([^/]+)$/);-- if (!initializedFromUrlRef.current) {- initializedFromUrlRef.current = true;-- if (initialSpaceId || spacePageMatch || spaceMatch) {- const sId = initialSpaceId || spacePageMatch?.[1] || spaceMatch?.[1];- const pId = initialPageId || spacePageMatch?.[2] || null;- setActiveRailTab("spaces");- setActiveSpaceId(sId);- setActivePageId(pId);- } else if (initialChatId || chatMatch) {- const cId = initialChatId || chatMatch?.[1];- setActiveRailTab("home");- setActiveConversationId(cId);- } else {- // Check localStorage for last visited route- try {- const savedRoute = localStorage.getItem(LAST_ROUTE_KEY);- if (savedRoute) {- const parsed = JSON.parse(savedRoute);- if (parsed.tab === "spaces" && parsed.spaceId) {- setActiveRailTab("spaces");- setActiveSpaceId(parsed.spaceId);- setActivePageId(parsed.pageId || null);- updateRoute(parsed);- return;- } else if (parsed.tab === "home" && parsed.chatId) {- setActiveRailTab("home");- setActiveConversationId(parsed.chatId);- updateRoute(parsed);- return;- }- }- } catch (_) {}-- // Default to home tab on homepage root- setActiveRailTab("home");- if (data.length > 0) {- setActiveSpaceId(data[0].id);- setActivePageId(null);- }- }- }- }- } catch (err) {- console.warn("Backend connecting on port 8000...", err);- }- }, [currentUser?.id, initialSpaceId, initialPageId, initialChatId, updateRoute]);-- useEffect(() => {- fetchSpaces();- }, [fetchSpaces, currentUser?.id]);-- // Auth Action Handlers- const handleAuthSuccess = useCallback((user, token) => {- setCurrentUser(user);- try {- localStorage.setItem("open_spaces_user", JSON.stringify(user));- if (token) localStorage.setItem("open_spaces_token", token);- } catch (_) {}- setAuthModalOpen(false);- setToastMessage(`Welcome back, ${user.name}!`);- setTimeout(() => setToastMessage(""), 3500);- fetchSpaces(user.id);- }, [fetchSpaces]);-- const handleLogout = useCallback(() => {- try {- localStorage.removeItem("open_spaces_user");- localStorage.removeItem("open_spaces_token");- } catch (_) {}- setCurrentUser(null);- setToastMessage("Signed out. You can browse spaces in guest view.");- setTimeout(() => setToastMessage(""), 4000);- fetchSpaces();- }, [fetchSpaces]);-- // 3. Fetch Active Space Pages & Messages- const fetchSpaceDetails = useCallback(async (spaceId, targetPageId = null) => {- if (!spaceId) return;- try {- const pRes = await fetch(`${API_BASE}/spaces/${spaceId}/pages`, { headers: authHeaders });- if (pRes.ok) {- const pData = await pRes.json();- setPages(pData);- if (targetPageId) {- const match = pData.find((p) => p.id === targetPageId);- if (match) {- setActivePageId(targetPageId);- }- }- }-- const mRes = await fetch(`${API_BASE}/spaces/${spaceId}/messages`, { headers: authHeaders });- if (mRes.ok) {- const mData = await mRes.json();- setMessages(mData);- }- } catch (err) {- console.error("Error fetching space details:", err);- }- }, [authHeaders]);-- useEffect(() => {- if (activeSpaceId) {- fetchSpaceDetails(activeSpaceId);- }- }, [activeSpaceId, fetchSpaceDetails]);-- // Handle browser Back / Forward buttons (popstate)- useEffect(() => {- const handlePopState = () => {- const pathname = window.location.pathname;- const spacePageMatch = pathname.match(/^\/spaces\/([^/]+)\/pages\/([^/]+)$/);- const spaceMatch = pathname.match(/^\/spaces\/([^/]+)$/);- const chatMatch = pathname.match(/^\/c\/([^/]+)$/);-- if (spacePageMatch) {- setActiveRailTab("spaces");- setActiveSpaceId(spacePageMatch[1]);- setActivePageId(spacePageMatch[2]);- setOpenPageIds((prev) => (prev.includes(spacePageMatch[2]) ? prev : [...prev, spacePageMatch[2]]));- } else if (spaceMatch) {- setActiveRailTab("spaces");- setActiveSpaceId(spaceMatch[1]);- setActivePageId(null);- } else if (chatMatch) {- setActiveRailTab("home");- setActiveConversationId(chatMatch[1]);- const found = conversations.find((c) => c.id === chatMatch[1]);- if (found) {- setConversation(found.messages || []);- }- } else {- // Root /- setActiveRailTab("home");- }- };-- window.addEventListener("popstate", handlePopState);- return () => window.removeEventListener("popstate", handlePopState);- }, [conversations]);-- // Keep openPageIds in sync with activePageId- useEffect(() => {- if (activePageId) {- setOpenPageIds((prev) => (prev.includes(activePageId) ? prev : [...prev, activePageId]));- }- }, [activePageId]);-- const activeSpace = spaces.find((s) => s.id === activeSpaceId) || spaces[0];- const activePage = pages.find((p) => p.id === activePageId);-- // Navigation handlers- const handleSelectRailTab = (tab) => {- setActiveRailTab(tab);- if (tab === "spaces") {- updateRoute({- tab: "spaces",- spaceId: activeSpaceId || spaces[0]?.id,- pageId: activePageId,- });- } else {- updateRoute({- tab: "home",- chatId: activeConversationId,- });- }- };-- const handleSelectSpace = (spaceId) => {- setActiveSpaceId(spaceId);- setActivePageId(null);- setOpenPageIds([]);- setActiveRailTab("spaces");- updateRoute({ tab: "spaces", spaceId, pageId: null });- };-- const handleSelectPage = (pageId) => {- setActivePageId(pageId);- setOpenPageIds((prev) => (prev.includes(pageId) ? prev : [...prev, pageId]));- setActiveRailTab("spaces");- updateRoute({ tab: "spaces", spaceId: activeSpaceId, pageId });- };-- const handleClosePageTab = (pageIdToClose) => {- const remaining = openPageIds.filter((id) => id !== pageIdToClose);- setOpenPageIds(remaining);-- if (activePageId === pageIdToClose) {- if (remaining.length > 0) {- const nextActiveId = remaining[remaining.length - 1];- setActivePageId(nextActiveId);- updateRoute({ tab: "spaces", spaceId: activeSpaceId, pageId: nextActiveId });- } else {- setActivePageId(null);- updateRoute({ tab: "spaces", spaceId: activeSpaceId, pageId: null });- }- }- };-- const handleBackToLibrary = () => {- setActivePageId(null);- updateRoute({ tab: "spaces", spaceId: activeSpaceId, pageId: null });- };-- // Handlers for real conversation management- const handleNewChat = () => {- if (!requireLogin("start a new chat")) return;- setActiveConversationId(null);- setConversation([]);- setActiveRailTab("home");- updateRoute({ tab: "home", chatId: null });- };-- const handleSelectConversation = (id) => {- const found = conversations.find((c) => c.id === id);- if (found) {- setActiveConversationId(id);- setConversation(found.messages || []);- if (found.model) {- setSelectedModel(found.model);- }- setActiveRailTab("home");- updateRoute({ tab: "home", chatId: id });- }- };-- const handleDeleteConversation = (id, e) => {- if (e) e.stopPropagation();- if (!requireLogin("delete conversations")) return;- const updated = conversations.filter((c) => c.id !== id);- persistConversations(updated);- if (activeConversationId === id) {- setActiveConversationId(null);- setConversation([]);- updateRoute({ tab: "home", chatId: null });- }- };-- const handleTogglePinConversation = (id, e) => {- if (e) e.stopPropagation();- const updated = conversations.map((c) =>- c.id === id ? { ...c, pinned: !c.pinned } : c- );- persistConversations(updated);- };-- // Submit prompt to Open Spaces 6 series- const handleSubmitPrompt = async (prompt, imageUrl = null) => {- if (!requireLogin("send messages and chat with AI")) return;- if ((!prompt || !prompt.trim()) && !imageUrl) return;-- const userMsg = {- role: "user",- content: prompt,- ...(imageUrl ? { image_url: imageUrl } : {}),- };- const updatedConv = [...conversation, userMsg];- setConversation(updatedConv);- setIsGenerating(true);-- let currentId = activeConversationId;- let currentList = [...conversations];-- // If starting a brand new conversation with a UUID- if (!currentId) {- currentId = "chat-" + generateUUID();- setActiveConversationId(currentId);- const title =- prompt && prompt.length > 36 ? prompt.slice(0, 36).trim() + "..." : (prompt || "Image Analysis");- const newConv = {- id: currentId,- title,- messages: updatedConv,- model: selectedModel,- createdAt: Date.now(),- updatedAt: Date.now(),- pinned: false,- };- currentList = [newConv, ...currentList];- persistConversations(currentList);- updateRoute({ tab: "home", chatId: currentId });- } else {- // Update existing conversation in list- currentList = currentList.map((c) =>- c.id === currentId- ? { ...c, messages: updatedConv, updatedAt: Date.now() }- : c- );- persistConversations(currentList);- }-- try {- const res = await fetch(`${API_BASE}/chat`, {- method: "POST",- headers: { "Content-Type": "application/json" },- body: JSON.stringify({- prompt,- image_url: imageUrl || undefined,- model: selectedModel,- project: activeProject,- history: updatedConv,- }),- });-- let assistantReply = "";- if (res.ok) {- const data = await res.json();- assistantReply = data.reply;- } else {- const errData = await res.json().catch(() => ({}));- throw new Error(errData.detail || `AI service returned error status ${res.status}`);- }-- const finalConv = [- ...updatedConv,- { role: "assistant", content: assistantReply },- ];- setConversation(finalConv);-- // Save complete thread including assistant response- const finalizedList = currentList.map((c) =>- c.id === currentId- ? { ...c, messages: finalConv, updatedAt: Date.now() }- : c- );- persistConversations(finalizedList);- } catch (err) {- console.error("Error calling chat endpoint:", err);- const errorMsg = `⚠️ Generation failed: ${err.message || "Unable to reach AI service"}`;- const finalConv = [- ...updatedConv,- { role: "assistant", content: errorMsg, isError: true },- ];- setConversation(finalConv);- const finalizedList = currentList.map((c) =>- c.id === currentId- ? { ...c, messages: finalConv, updatedAt: Date.now() }- : c- );- persistConversations(finalizedList);- } finally {- setIsGenerating(false);- }- };-- const extractTitleFromMarkdown = (text = "") => {- if (!text) return "Untitled page";- const headingMatch = text.match(/^#{1,3}\s+(.+)$/m);- if (headingMatch && headingMatch[1]) {- return headingMatch[1].replace(/[#*`_~]/g, "").trim().slice(0, 80);- }- const firstLine = text.trim().split("\n")[0] || "";- const cleaned = firstLine.replace(/[#*`_~]/g, "").trim().slice(0, 60);- return cleaned || "Untitled page";- };-- const handleOpenCanvas = (firstArg, secondArg) => {- let title = "Untitled document";- let content = "";- if (typeof secondArg === "string") {- title = firstArg || extractTitleFromMarkdown(secondArg);- content = secondArg;- } else if (typeof firstArg === "string") {- content = firstArg;- title = extractTitleFromMarkdown(firstArg);- }- setActiveRailTab("spaces");- handleCreatePage({- title,- content,- icon: "📄",- });- };-- // Spaces Management- const handleCreateSpace = async (spaceData) => {- if (!requireLogin("create a new workspace")) return;- try {- const res = await fetch(`${API_BASE}/spaces`, {- method: "POST",- headers: { ...authHeaders, "Content-Type": "application/json" },- body: JSON.stringify(spaceData),- });- if (res.ok) {- const newSpace = await res.json();- setSpaces((prev) => [...prev, newSpace]);- setActiveSpaceId(newSpace.id);- setActivePageId(null);- setPages([]);- setActiveRailTab("spaces");- updateRoute({ tab: "spaces", spaceId: newSpace.id, pageId: null });- }- } catch (err) {- console.error("Error creating space:", err);- }- };-- const handleDeleteSpace = async (spaceId) => {- if (!requireLogin("delete a workspace")) return;- try {- const res = await fetch(`${API_BASE}/spaces/${spaceId}`, {- method: "DELETE",- headers: authHeaders,- });- if (res.ok) {- const remaining = spaces.filter((s) => s.id !== spaceId);- setSpaces(remaining);- if (activeSpaceId === spaceId && remaining.length > 0) {- setActiveSpaceId(remaining[0].id);- setActivePageId(null);- updateRoute({ tab: "spaces", spaceId: remaining[0].id, pageId: null });- }- }- } catch (err) {- console.error("Error deleting space:", err);- }- };-- // Pages Management: Instant 0ms optimistic page creation (zero lag, no double spinners)- const handleCreatePage = async (pageData) => {- if (!requireLogin("create a new document page")) return;- let targetSpace = activeSpace;- if (!targetSpace) {- if (spaces.length > 0) {- targetSpace = spaces[0];- } else {- try {- const sRes = await fetch(`${API_BASE}/spaces`, { headers: authHeaders });- if (sRes.ok) {- const list = await sRes.json();- if (list.length > 0) {- targetSpace = list[0];- setSpaces(list);- setActiveSpaceId(targetSpace.id);- }- }- } catch (_) {}- }- }- if (!targetSpace) return;-- let rawTitle = typeof pageData?.title === "string" ? pageData.title.trim() : "Untitled page";- if (rawTitle.length > 100 || rawTitle.includes("\n")) {- rawTitle = extractTitleFromMarkdown(rawTitle);- }- const titleStr = (rawTitle || "Untitled page").slice(0, 120);- const contentStr = typeof pageData?.content === "string" ? pageData.content : "";- const iconStr = typeof pageData?.icon === "string" ? pageData.icon.slice(0, 4) : "📄";-- // Instant optimistic creation: 0ms delay, zero lag!- const tempId = "page-" + (typeof crypto !== "undefined" && crypto.randomUUID ? crypto.randomUUID().slice(0, 8) : Math.random().toString(36).slice(2, 10));- const optimisticPage = {- id: tempId,- space_id: targetSpace.id,- title: titleStr,- content: contentStr,- icon: iconStr,- status: "draft",- author: currentUser?.name || "Author",- version: 1,- created_at: new Date().toISOString(),- updated_at: new Date().toISOString(),- };-- // Open new tab immediately alongside existing tabs- setPages((prev) => [optimisticPage, ...prev]);- setOpenPageIds((prev) => [...prev, tempId]);- setActivePageId(tempId);- setActiveRailTab("spaces");- setSaveStatus("Saving...");-- try {- const res = await fetch(`${API_BASE}/spaces/${targetSpace.id}/pages`, {- method: "POST",- headers: { ...authHeaders, "Content-Type": "application/json" },- body: JSON.stringify({- title: titleStr,- content: contentStr,- icon: iconStr,- status: "draft",- }),- });-- if (res.ok) {- const savedPage = await res.json();- setPages((prev) => prev.map((p) => (p.id === tempId ? savedPage : p)));- setOpenPageIds((prev) => prev.map((id) => (id === tempId ? savedPage.id : id)));- setActivePageId((curr) => (curr === tempId ? savedPage.id : curr));- updateRoute({ tab: "spaces", spaceId: targetSpace.id, pageId: savedPage.id });- setSaveStatus("Saved");- } else {- console.warn("Could not create page on server:", res.status);- setSaveStatus("Failed");- }- } catch (err) {- console.warn("Error creating page:", err?.message || err);- setSaveStatus("Failed");- }- };-- const handleUpdatePage = async (pageId, updateData) => {- if (!requireLogin("save document changes")) return null;- if (!activeSpace || !pageId) return null;- setSaveStatus("Saving...");- try {- const res = await fetch(`${API_BASE}/spaces/${activeSpace.id}/pages/${pageId}`, {- method: "PATCH",- headers: { ...authHeaders, "Content-Type": "application/json" },- body: JSON.stringify(updateData),- });- if (res && res.status === 409) {- const conflictData = await res.json();- setSaveStatus("Conflict");- return { conflict: true, detail: conflictData.detail };- }- if (res && res.ok) {- const updated = await res.json();- setPages((prev) => prev.map((p) => (p.id === updated.id ? updated : p)));- setSaveStatus("Saved");- return updated;- } else {- const errText = res ? await res.text() : "Network error";- console.warn("Failed to update page:", res?.status, errText);- setSaveStatus("Failed");- return null;- }- } catch (err) {- console.warn("Error updating page (will retry on next change):", err?.message || err);- setSaveStatus("Failed");- return null;- }- };-- const handleRestoreRevision = async (pageId, version) => {- if (!requireLogin("restore page revisions")) return null;- if (!activeSpace || !pageId) return null;- setSaveStatus("Saving...");- try {- const res = await fetch(`${API_BASE}/spaces/${activeSpace.id}/pages/${pageId}/revisions/${version}/restore`, {- method: "POST",- headers: authHeaders,- });- if (res.ok) {- const restored = await res.json();- setPages((prev) => prev.map((p) => (p.id === restored.id ? restored : p)));- setSaveStatus("Saved");- return restored;- }- } catch (err) {- console.error("Error restoring revision:", err);- }- setSaveStatus("Failed");- return null;- };-- const handleDeletePage = async (pageId) => {- if (!requireLogin("delete a document page")) return;- if (!activeSpace || !pageId) return;- try {- const res = await fetch(`${API_BASE}/spaces/${activeSpace.id}/pages/${pageId}`, {- method: "DELETE",- headers: authHeaders,- });- if (res.ok) {- setPages((prev) => prev.filter((p) => p.id !== pageId));- setOpenPageIds((prev) => {- const remaining = prev.filter((id) => id !== pageId);- if (activePageId === pageId) {- const nextId = remaining[remaining.length - 1] || null;- setActivePageId(nextId);- updateRoute({ tab: "spaces", spaceId: activeSpace.id, pageId: nextId });- }- return remaining;- });- }- } catch (err) {- console.error("Error deleting page:", err);- }- };-- const handleDownloadMarkdown = () => {- if (!activePage) return;- const blob = new Blob([activePage.content || ""], { type: "text/markdown;charset=utf-8" });- const url = URL.createObjectURL(blob);- const link = document.createElement("a");- link.href = url;- link.download = `${(activePage.title || "page").replace(/[^\w\s-]/g, "").slice(0, 50)}.md`;- link.click();- URL.revokeObjectURL(url);- };-- return (- <div className="flex h-screen w-screen overflow-hidden bg-[#fbfbfa] dark:bg-[#141416] text-zinc-900 dark:text-zinc-100 transition-colors duration-150 relative">- {/* Action Notification Toast ("Please login first") - Non-blocking floating pill */}- {toastMessage && (- <div- role="alert"- className="fixed top-5 left-1/2 -translate-x-1/2 z-50 flex items-center gap-3 px-4 py-2.5 rounded-full bg-zinc-900/95 dark:bg-zinc-100/95 text-white dark:text-zinc-900 text-xs font-medium shadow-2xl backdrop-blur-md border border-zinc-700/50 dark:border-zinc-300/50 animate-in fade-in slide-in-from-top-3 duration-150"- >- <div className="flex items-center gap-2">- <span className="text-sm">🔒</span>- <span>{toastMessage}</span>- </div>- <div className="flex items-center gap-1.5 pl-2 border-l border-zinc-700/60 dark:border-zinc-300/60">- <button- onClick={() => {- setToastMessage("");- setAuthModalOpen(true);- }}- className="px-3 py-1 bg-indigo-600 hover:bg-indigo-500 text-white rounded-full text-[11px] font-semibold transition-all hover:scale-105 active:scale-95 cursor-pointer shadow-sm"- >- Sign In / Sign Up- </button>- <button- onClick={() => setToastMessage("")}- className="p-1 text-zinc-400 hover:text-white dark:hover:text-zinc-900 transition-colors cursor-pointer rounded-full"- title="Dismiss"- >- ✕- </button>- </div>- </div>- )}-- {/* 1. Slim Left Navigation Rail (~48px) */}- <IconRail- activeRailTab={activeRailTab}- onSelectRailTab={handleSelectRailTab}- currentUser={currentUser}- onOpenAuth={() => setAuthModalOpen(true)}- onLogout={handleLogout}- />-- {/* 2. Middle Sidebar */}- {activeRailTab === "home" ? (- /* Real Conversation History Sidebar (UUID based) */- <OpenSpacesSidebar- conversations={conversations}- activeConversationId={activeConversationId}- onSelectConversation={handleSelectConversation}- onNewChat={handleNewChat}- onDeleteConversation={handleDeleteConversation}- onTogglePinConversation={handleTogglePinConversation}- />- ) : (- /* OpenDots-Style Spaces & Hierarchical Pages Tree Sidebar */- <SpaceSidebar- spaces={spaces}- activeSpaceId={activeSpaceId}- onSelectSpace={handleSelectSpace}- onCreateSpace={handleCreateSpace}- onDeleteSpace={handleDeleteSpace}- pages={pages}- activePageId={activePageId}- onSelectPage={handleSelectPage}- onCreatePage={handleCreatePage}- onDeletePage={handleDeletePage}- isCreatingPage={isCreatingPage}- currentUser={currentUser}- onRequireLogin={(act) => requireLogin(act || "perform this workspace action")}- />- )}-- {/* 3. Main Work Area */}- <div className="flex-1 flex flex-col h-full overflow-hidden">- {activeRailTab === "home" ? (- /* "What should we work on?" Open Spaces 6 Series View */- <HomeWorkView- activeProject={activeProject}- onSelectProject={setActiveProject}- selectedModel={selectedModel}- onSelectModel={setSelectedModel}- onSubmitPrompt={handleSubmitPrompt}- conversation={conversation}- isLoading={isGenerating}- onOpenCanvas={handleOpenCanvas}- currentUser={currentUser}- authHeaders={authHeaders}- onRequireLogin={(act) => requireLogin(act || "chat with AI")}- />- ) : !activePageId ? (- /* OpenDots SpaceLibrary: Searchable library, grid/list view, page excerpts */- <SpaceLibrary- space={activeSpace}- pages={pages}- onSelectPage={handleSelectPage}- onNewPage={() => handleCreatePage({ title: "Untitled page", content: "" })}- onDeletePage={handleDeletePage}- isCreatingPage={isCreatingPage}- currentUser={currentUser}- authHeaders={authHeaders}- onRequireLogin={(act) => requireLogin(act || "manage members")}- />- ) : !activePage && pages.length === 0 ? (- <div className="flex-1 flex flex-col items-center justify-center gap-3 text-zinc-400 select-none bg-white dark:bg-[#141416]">- <div className="w-6 h-6 border-2 border-indigo-500 border-t-transparent rounded-full animate-spin" />- <span className="text-xs font-medium">Loading document page...</span>- </div>- ) : (- /* OpenDots PageDocument: Focused Visual Document Canvas View with Multi-Tabs */- <>- <PageHeaderBar- openPages={- openPageIds.map((id) => pages.find((p) => p.id === id)).filter(Boolean).length > 0- ? openPageIds.map((id) => pages.find((p) => p.id === id)).filter(Boolean)- : activePage ? [activePage] : []- }- activePageId={activePageId}- onSelectPage={handleSelectPage}- onClosePage={handleClosePageTab}- isCreatingPage={isCreatingPage}- title={activePage?.title || "Untitled page"}- icon={activePage?.icon || "📄"}- spaceName={activeSpace?.name || "Space"}- onBackToLibrary={handleBackToLibrary}- onNewPage={() => handleCreatePage({ title: "Untitled page", content: "" })}- onToggleChat={() => setChatOpen(!chatOpen)}- chatOpen={chatOpen}- onToggleHistory={() => setHistoryOpen(!historyOpen)}- historyOpen={historyOpen}- onTriggerAI={() => setChatOpen(true)}- onDownloadMarkdown={handleDownloadMarkdown}- onDeletePage={() => handleDeletePage(activePageId)}- onSaveNow={() => setSaveTrigger((n) => n + 1)}- saveStatus={saveStatus}- />-- <div className="flex-1 flex overflow-hidden">- <CanvasPage- page={activePage}- onUpdatePage={handleUpdatePage}- onStatusChange={setSaveStatus}- saveTrigger={saveTrigger}- historyOpen={historyOpen}- onCloseHistory={() => setHistoryOpen(false)}- onRestoreRevision={handleRestoreRevision}- onTriggerAI={(p) => handleSubmitPrompt(p)}- authHeaders={authHeaders}- />-- {chatOpen && (- <ChatDrawer- isOpen={chatOpen}- onClose={() => setChatOpen(false)}- messages={messages}- onSendMessage={() => {}}- agents={activeSpace?.agents || []}- activePageTitle={activePage?.title}- activePageId={activePage?.id}- spaceId={activeSpace?.id}- currentUser={currentUser}- authHeaders={authHeaders}- onRequireLogin={(act) => requireLogin(act || "participate in page discussion")}- />- )}- </div>- </>- )}- </div>-- {/* Switch Account or Re-authenticate Modal */}- {authModalOpen && (- <AuthModal- isOpen={authModalOpen}- allowClose={true}- onClose={() => setAuthModalOpen(false)}- onSuccess={handleAuthSuccess}- />- )}- </div>- );-}diff --git a/client/src/components/OpenSpacesSidebar.js b/client/src/components/OpenSpacesSidebar.jsdeleted file mode 100644index bb7892e..0000000--- a/client/src/components/OpenSpacesSidebar.js+++ /dev/null@@ -1,238 +0,0 @@-"use client";--import React, { useState } from "react";-import {- SearchIcon,- PlusIcon,- ChevronDownIcon,- CloseIcon,- TrashIcon,- PinIcon,- ChatIcon,-} from "./Icons";-import ThemeToggle from "./ThemeToggle";--export default function OpenSpacesSidebar({- conversations = [],- activeConversationId = null,- onSelectConversation,- onNewChat,- onDeleteConversation,- onTogglePinConversation,-}) {- const [searchOpen, setSearchOpen] = useState(false);- const [searchQuery, setSearchQuery] = useState("");-- // Filter conversations by search query if any- const filtered = conversations.filter((c) =>- (c.title || "").toLowerCase().includes(searchQuery.toLowerCase().trim())- );-- const pinnedConversations = filtered.filter((c) => c.pinned);- const unpinnedConversations = filtered.filter((c) => !c.pinned);-- // Group unpinned conversations by timeframe- const categorizeConversations = (items) => {- const now = new Date();- const today = new Date(now.getFullYear(), now.getMonth(), now.getDate()).getTime();- const yesterday = today - 86400000;- const sevenDaysAgo = today - 7 * 86400000;- const thirtyDaysAgo = today - 30 * 86400000;-- const groups = {- Today: [],- Yesterday: [],- "Previous 7 Days": [],- "Previous 30 Days": [],- Older: [],- };-- items.forEach((c) => {- const time = c.updatedAt || c.createdAt || Date.now();- if (time >= today) {- groups["Today"].push(c);- } else if (time >= yesterday) {- groups["Yesterday"].push(c);- } else if (time >= sevenDaysAgo) {- groups["Previous 7 Days"].push(c);- } else if (time >= thirtyDaysAgo) {- groups["Previous 30 Days"].push(c);- } else {- groups["Older"].push(c);- }- });-- return Object.entries(groups).filter(([_, list]) => list.length > 0);- };-- const grouped = categorizeConversations(unpinnedConversations);-- const renderChatItem = (conv) => {- const isActive = activeConversationId === conv.id;- return (- <div- key={conv.id}- onClick={() => onSelectConversation && onSelectConversation(conv.id)}- className={`group relative flex items-center justify-between px-2.5 py-1.5 rounded-lg text-left cursor-pointer transition-colors ${- isActive- ? "bg-zinc-200/90 dark:bg-zinc-800 text-zinc-900 dark:text-zinc-100 font-medium"- : "text-zinc-600 dark:text-zinc-400 hover:bg-zinc-200/50 dark:hover:bg-zinc-800/50 hover:text-zinc-900 dark:hover:text-zinc-200"- }`}- >- <span className="truncate text-xs flex-1 pr-2">- {conv.title || "Untitled Chat"}- </span>-- {/* Hover action icons: Pin & Delete */}- <div- className={`flex items-center gap-1 transition-opacity ${- isActive ? "opacity-100" : "opacity-0 group-hover:opacity-100"- }`}- onClick={(e) => e.stopPropagation()}- >- {onTogglePinConversation && (- <button- type="button"- onClick={(e) => onTogglePinConversation(conv.id, e)}- title={conv.pinned ? "Unpin chat" : "Pin chat"}- className={`p-1 rounded hover:bg-zinc-300/60 dark:hover:bg-zinc-700 transition-colors ${- conv.pinned- ? "text-indigo-600 dark:text-indigo-400"- : "text-zinc-400 hover:text-zinc-700 dark:hover:text-zinc-200"- }`}- >- <PinIcon className="w-3 h-3" />- </button>- )}-- {onDeleteConversation && (- <button- type="button"- onClick={(e) => onDeleteConversation(conv.id, e)}- title="Delete chat"- className="p-1 rounded text-zinc-400 hover:text-red-500 hover:bg-zinc-300/60 dark:hover:bg-zinc-700 transition-colors"- >- <TrashIcon className="w-3 h-3" />- </button>- )}- </div>- </div>- );- };-- return (- <aside className="w-60 bg-[#f7f7f8] dark:bg-[#18181b] border-r border-zinc-200/80 dark:border-zinc-800/80 flex flex-col h-screen select-none text-zinc-700 dark:text-zinc-300 text-xs transition-colors duration-150">- {/* Top Header: Open Spaces ˇ with Search toggle */}- <div className="p-3 pb-2 flex items-center justify-between">- <div- onClick={onNewChat}- className="flex items-center gap-1 cursor-pointer hover:text-zinc-900 dark:hover:text-white transition-colors"- >- <span className="font-semibold text-sm text-zinc-900 dark:text-zinc-100">- Open Spaces- </span>- <ChevronDownIcon className="w-3.5 h-3.5 text-zinc-400" />- </div>-- <div className="flex items-center gap-1 text-zinc-400">- <button- onClick={() => {- setSearchOpen(!searchOpen);- if (searchOpen) setSearchQuery("");- }}- title="Search conversations"- className={`p-1 rounded hover:bg-zinc-200/60 dark:hover:bg-zinc-800 transition-colors ${- searchOpen- ? "text-zinc-900 dark:text-zinc-100 bg-zinc-200/60 dark:bg-zinc-800"- : "hover:text-zinc-700 dark:hover:text-zinc-200"- }`}- >- <SearchIcon className="w-3.5 h-3.5" />- </button>- </div>- </div>-- {/* Quick search input */}- {searchOpen && (- <div className="px-3 pb-2 flex items-center gap-1.5">- <div className="relative flex-1">- <input- type="text"- placeholder="Search chat history..."- value={searchQuery}- onChange={(e) => setSearchQuery(e.target.value)}- className="w-full bg-white dark:bg-zinc-900 border border-zinc-300 dark:border-zinc-700 rounded-lg px-2.5 py-1 text-xs text-zinc-900 dark:text-zinc-100 placeholder-zinc-400 focus:outline-none focus:border-zinc-500"- autoFocus- />- {searchQuery && (- <button- onClick={() => setSearchQuery("")}- className="absolute right-2 top-1.5 text-zinc-400 hover:text-zinc-600 dark:hover:text-zinc-200"- >- <CloseIcon className="w-3 h-3" />- </button>- )}- </div>- </div>- )}-- {/* + New chat button */}- <div className="px-3 py-1.5">- <button- onClick={onNewChat}- className="w-full flex items-center gap-2 px-3 py-2 rounded-xl bg-white dark:bg-zinc-800/90 border border-zinc-200 dark:border-zinc-700/80 hover:bg-zinc-50 dark:hover:bg-zinc-700 text-zinc-800 dark:text-zinc-200 font-medium transition-colors shadow-2xs"- >- <PlusIcon className="w-3.5 h-3.5 text-zinc-500" />- <span>New chat</span>- </button>- </div>-- {/* Scrollable list of REAL conversation history */}- <div className="flex-1 overflow-y-auto px-3 py-2 space-y-4">- {/* Pinned section (only shown if there are pinned real conversations) */}- {pinnedConversations.length > 0 && (- <div>- <div className="text-[11px] font-medium text-zinc-400 px-2.5 mb-1 flex items-center gap-1.5">- <PinIcon className="w-3 h-3 text-zinc-400" />- <span>Pinned</span>- </div>- <div className="space-y-0.5">- {pinnedConversations.map(renderChatItem)}- </div>- </div>- )}-- {/* Grouped Recent conversation history */}- {grouped.length > 0 ? (- grouped.map(([timeLabel, chatList]) => (- <div key={timeLabel}>- <div className="text-[11px] font-medium text-zinc-400 px-2.5 mb-1">- {timeLabel}- </div>- <div className="space-y-0.5">- {chatList.map(renderChatItem)}- </div>- </div>- ))- ) : pinnedConversations.length === 0 ? (- /* Empty state when user has no conversation history */- <div className="px-3 py-10 text-center select-none">- <ChatIcon className="w-5 h-5 mx-auto mb-2 text-zinc-400/60 dark:text-zinc-600" />- <p className="text-xs font-medium text-zinc-600 dark:text-zinc-400">- No conversation history- </p>- <p className="text-[11px] text-zinc-400 dark:text-zinc-500 mt-1 leading-relaxed">- Send a message to start a conversation. Your chat history will be saved here.- </p>- </div>- ) : null}- </div>-- {/* Footer with ThemeToggle */}- <div className="p-3 border-t border-zinc-200/80 dark:border-zinc-800/80 flex items-center justify-between">- <span className="text-[11px] text-zinc-400 font-medium">Theme</span>- <ThemeToggle />- </div>- </aside>- );-}diff --git a/client/src/components/PageHeaderBar.js b/client/src/components/PageHeaderBar.jsdeleted file mode 100644index f79c6e7..0000000--- a/client/src/components/PageHeaderBar.js+++ /dev/null@@ -1,226 +0,0 @@-"use client";--import React from "react";-import {- PageIcon,- CloseIcon,- PlusIcon,- ChatIcon,- ShareIcon,- SparklesIcon,- ArrowLeftIcon,- DownloadIcon,- TrashIcon,- ClockIcon,- MoreIcon,-} from "./Icons";-import CustomDropdown from "./CustomDropdown";--export default function PageHeaderBar({- title = "Untitled page",- icon = "📄",- openPages = [], // [{ id, title, icon }]- activePageId,- onSelectPage,- onClosePage,- isCreatingPage = false,- spaceName = "Space",- onBackToLibrary,- onNewPage,- onToggleChat,- chatOpen,- onToggleHistory,- historyOpen = false,- onTriggerAI,- onDownloadMarkdown,- onDeletePage,- onSaveNow,- saveStatus = "Saved", // 'Saved' | 'Saving...' | 'Unsaved changes' | 'Conflict' | 'Failed'-}) {- // Render open tabs or active page- const tabs =- openPages && openPages.length > 0- ? openPages- : (activePageId ? [{ id: activePageId, title, icon }] : []);-- return (- <header className="h-11 border-b border-zinc-200/80 dark:border-zinc-800/80 bg-white dark:bg-[#141416] flex items-center justify-between px-3 select-none text-xs text-zinc-600 dark:text-zinc-400 transition-colors duration-150">- {/* Left: Back to Space Library + Multi-Tabs Bar */}- <div className="flex items-center gap-2 h-full overflow-hidden max-w-[70%]">- {onBackToLibrary && (- <button- onClick={onBackToLibrary}- className="flex items-center gap-1.5 px-2 py-1 rounded-lg hover:bg-zinc-100 dark:hover:bg-zinc-800 text-zinc-600 dark:text-zinc-400 hover:text-zinc-900 dark:hover:text-zinc-100 transition-colors text-xs font-medium cursor-pointer shrink-0"- title={`Back to ${spaceName} Library`}- >- <ArrowLeftIcon className="w-3.5 h-3.5" />- <span className="hidden sm:inline">{spaceName}</span>- </button>- )}-- <div className="flex items-center gap-1 h-full pt-1.5 overflow-x-auto no-scrollbar">- {tabs.map((tab) => {- const isActive = tab.id === activePageId;- return (- <div- key={tab.id}- onClick={() => onSelectPage && onSelectPage(tab.id)}- className={`group flex items-center gap-2 px-3 py-1 rounded-t-lg border-t border-x text-xs font-medium max-w-[190px] cursor-pointer transition-all shrink-0 ${- isActive- ? "bg-zinc-100 dark:bg-zinc-800/90 text-zinc-900 dark:text-zinc-100 border-zinc-200/90 dark:border-zinc-700/80 shadow-2xs"- : "bg-transparent hover:bg-zinc-50 dark:hover:bg-zinc-800/40 text-zinc-500 dark:text-zinc-400 border-transparent hover:border-zinc-200/60 dark:hover:border-zinc-700/40"- }`}- title={tab.title || "Untitled page"}- >- <span className="text-xs shrink-0">{tab.icon || "📄"}</span>- <span className="truncate">{tab.title || "Untitled page"}</span>- {onClosePage && (- <button- type="button"- onClick={(e) => {- e.stopPropagation();- onClosePage(tab.id);- }}- className="text-zinc-400 hover:text-zinc-700 dark:hover:text-zinc-200 ml-0.5 p-0.5 rounded-sm hover:bg-zinc-200/60 dark:hover:bg-zinc-700/60 cursor-pointer transition-colors opacity-70 group-hover:opacity-100"- title="Close tab"- >- <CloseIcon className="w-2.5 h-2.5" />- </button>- )}- </div>- );- })}-- {/* Create New Page (+) Button */}- <button- type="button"- onClick={onNewPage}- title="Create new page"- className="p-1.5 rounded-lg text-zinc-400 hover:bg-zinc-100 dark:hover:bg-zinc-800 hover:text-zinc-700 dark:hover:text-zinc-200 transition-colors cursor-pointer shrink-0"- >- <PlusIcon className="w-3.5 h-3.5" />- </button>- </div>- </div>-- {/* Right Actions (modeled on OpenDots PageDocument header) */}- <div className="flex items-center gap-2">- {/* Autosave / Save Now button */}- <button- type="button"- onClick={saveStatus === "Unsaved changes" || saveStatus === "Failed" || saveStatus === "Conflict" ? onSaveNow : undefined}- title={- saveStatus === "Conflict"- ? "Edit conflict detected. Click to review options"- : saveStatus === "Unsaved changes"- ? "Unsaved changes. Click to save now or press ⌘/Ctrl+S"- : saveStatus === "Failed"- ? "Save failed. Click to retry"- : "Saved to cloud"- }- className={`text-[11px] font-medium hidden sm:flex items-center gap-1.5 px-2.5 py-0.5 rounded-full border transition-all ${- saveStatus === "Conflict"- ? "bg-rose-50 dark:bg-rose-950/40 border-rose-300 dark:border-rose-700/80 text-rose-700 dark:text-rose-300 cursor-pointer hover:bg-rose-100"- : saveStatus === "Unsaved changes"- ? "bg-amber-50 dark:bg-amber-950/40 border-amber-300 dark:border-amber-700/80 text-amber-700 dark:text-amber-300 cursor-pointer hover:bg-amber-100 dark:hover:bg-amber-900/40"- : saveStatus === "Saving..."- ? "bg-amber-50 dark:bg-amber-950/30 border-amber-200 dark:border-amber-800 text-amber-600 dark:text-amber-400 cursor-default"- : saveStatus === "Failed"- ? "bg-red-50 dark:bg-red-950/30 border-red-200 dark:border-red-800 text-red-600 dark:text-red-400 cursor-pointer hover:bg-red-100"- : "bg-zinc-100 dark:bg-zinc-800/60 border-zinc-200/60 dark:border-zinc-700/60 text-zinc-500 dark:text-zinc-400 cursor-default"- }`}- >- <span- className={`w-1.5 h-1.5 rounded-full ${- saveStatus === "Saving..."- ? "bg-amber-400 animate-ping"- : saveStatus === "Unsaved changes"- ? "bg-amber-500"- : saveStatus === "Conflict"- ? "bg-rose-500 animate-pulse"- : saveStatus === "Failed"- ? "bg-red-500"- : "bg-emerald-500"- }`}- />- <span>{saveStatus}</span>- </button>-- {/* Revisions History button */}- {onToggleHistory && (- <button- onClick={onToggleHistory}- title="Page Revision History & Snapshots"- className={`flex items-center gap-1.5 px-2.5 py-1 rounded-lg transition-colors cursor-pointer text-xs font-medium ${- historyOpen- ? "bg-zinc-900 text-white dark:bg-white dark:text-zinc-900 shadow-2xs"- : "bg-zinc-100 dark:bg-zinc-800 text-zinc-700 dark:text-zinc-300 hover:bg-zinc-200 dark:hover:bg-zinc-700"- }`}- >- <ClockIcon className="w-3.5 h-3.5" />- <span className="hidden sm:inline">History</span>- </button>- )}-- {/* Page Actions CustomDropdown */}- <CustomDropdown- value=""- onChange={(action) => {- if (action === "history" && onToggleHistory) onToggleHistory();- if (action === "download" && onDownloadMarkdown) onDownloadMarkdown();- if (action === "delete" && onDeletePage) onDeletePage();- }}- options={[- ...(onToggleHistory- ? [{ label: "Revision History", value: "history", icon: <ClockIcon className="w-3.5 h-3.5 text-zinc-500" /> }]- : []),- ...(onDownloadMarkdown- ? [{ label: "Download Markdown (.md)", value: "download", icon: <DownloadIcon className="w-3.5 h-3.5 text-zinc-500" /> }]- : []),- ...(onDeletePage- ? [{ label: "Delete Page", value: "delete", icon: <TrashIcon className="w-3.5 h-3.5 text-rose-500" /> }]- : []),- ]}- align="right"- size="xs"- renderTrigger={(_, open) => (- <button- type="button"- className={`p-1.5 rounded-lg transition-colors cursor-pointer ${- open- ? "bg-zinc-200 dark:bg-zinc-700 text-zinc-900 dark:text-zinc-100"- : "hover:bg-zinc-100 dark:hover:bg-zinc-800 text-zinc-500 dark:text-zinc-400 hover:text-zinc-800 dark:hover:text-zinc-200"- }`}- title="Page Options & Actions"- >- <MoreIcon className="w-4 h-4" />- </button>- )}- />-- {/* Discussion / Chat drawer toggle */}- <button- onClick={onToggleChat}- title="Discuss with Open Spaces / Dot Agents"- className={`flex items-center gap-1.5 px-2.5 py-1 rounded-lg transition-colors cursor-pointer text-xs font-medium ${- chatOpen- ? "bg-zinc-900 text-white dark:bg-white dark:text-zinc-900 shadow-2xs"- : "bg-zinc-100 dark:bg-zinc-800 text-zinc-700 dark:text-zinc-300 hover:bg-zinc-200 dark:hover:bg-zinc-700"- }`}- >- <ChatIcon className="w-3.5 h-3.5" />- <span className="hidden sm:inline">Discussion</span>- </button>-- {/* Ask AI button */}- <button- onClick={onTriggerAI}- title="Ask Open Spaces to iterate on this page"- className="p-1.5 rounded-lg bg-indigo-50 dark:bg-indigo-950/40 text-indigo-600 dark:text-indigo-400 hover:bg-indigo-100 dark:hover:bg-indigo-900/60 transition-colors cursor-pointer"- >- <SparklesIcon className="w-3.5 h-3.5" />- </button>- </div>- </header>- );-}diff --git a/client/src/components/PagesCanvas.js b/client/src/components/PagesCanvas.jsdeleted file mode 100644index c9e9d6c..0000000--- a/client/src/components/PagesCanvas.js+++ /dev/null@@ -1,273 +0,0 @@-"use client";--import React, { useState, useEffect } from "react";-import { PlusIcon, TrashIcon, PageIcon, SparklesIcon, CheckIcon } from "./Icons";-import CustomDropdown from "./CustomDropdown";--const STATUS_OPTIONS = [- { label: "Draft", value: "draft" },- { label: "In Review", value: "in_review" },- { label: "Published", value: "published" },-];--export default function PagesCanvas({- pages = [],- activePageId,- onSelectPage,- onCreatePage,- onUpdatePage,- onDeletePage,- onTriggerAgentOnPage,- agents = [],-}) {- const activePage = pages.find((p) => p.id === activePageId) || pages[0];-- const [title, setTitle] = useState(activePage?.title || "");- const [content, setContent] = useState(activePage?.content || "");- const [status, setStatus] = useState(activePage?.status || "draft");- const [viewMode, setViewMode] = useState("split"); // "edit", "preview", "split"- const [isSaving, setIsSaving] = useState(false);- const [savedSuccess, setSavedSuccess] = useState(false);-- // Sync state when active page changes- useEffect(() => {- if (activePage) {- setTitle(activePage.title);- setContent(activePage.content);- setStatus(activePage.status);- }- }, [activePage?.id]);-- const handleSave = async () => {- if (!activePage) return;- setIsSaving(true);- await onUpdatePage(activePage.id, {- title,- content,- status,- });- setIsSaving(false);- setSavedSuccess(true);- setTimeout(() => setSavedSuccess(false), 2000);- };-- const handleCreateNew = () => {- onCreatePage({- title: "Untitled Living Page",- content: "# New Page\n\nCollaborate with your team and autonomous Dot agents in this living document.",- status: "draft",- icon: "📄",- });- };-- // Convert basic markdown to simple HTML safely for preview- const renderSimpleMarkdown = (mdText) => {- if (!mdText) return "<p class='text-zinc-400 dark:text-zinc-500 italic'>No content yet...</p>";- let html = mdText- .replace(/^### (.*$)/gim, "<h3>$1</h3>")- .replace(/^## (.*$)/gim, "<h2>$1</h2>")- .replace(/^# (.*$)/gim, "<h1>$1</h1>")- .replace(/^\> (.*$)/gim, "<blockquote>$1</blockquote>")- .replace(/\*\*(.*)\*\*/gim, "<strong>$1</strong>")- .replace(/\*(.*)\*/gim, "<em>$1</em>")- .replace(/`([^`]+)`/gim, "<code>$1</code>")- .replace(/\n\n/gim, "</p><p>")- .replace(/\n/gim, "<br/>");- return `<p>${html}</p>`;- };-- return (- <div className="flex-1 flex overflow-hidden bg-zinc-50 dark:bg-[#141416] transition-colors duration-200">- {/* Pages Left Column / Sub-navigation */}- <div className="w-64 border-r border-zinc-200 dark:border-zinc-800 bg-[#f7f7f8] dark:bg-[#17171a] flex flex-col select-none">- <div className="p-3 border-b border-zinc-200 dark:border-zinc-800 flex items-center justify-between">- <div className="flex items-center gap-1.5 text-xs font-semibold text-zinc-800 dark:text-zinc-300">- <PageIcon className="w-4 h-4 text-indigo-600 dark:text-indigo-400" />- <span>Living Pages</span>- </div>- <button- onClick={handleCreateNew}- className="flex items-center gap-1 bg-white dark:bg-zinc-800 hover:bg-zinc-100 dark:hover:bg-zinc-700 text-zinc-700 dark:text-zinc-200 px-2 py-1 rounded text-xs transition-colors border border-zinc-200 dark:border-transparent shadow-2xs"- title="Create page"- >- <PlusIcon className="w-3.5 h-3.5" />- <span>New</span>- </button>- </div>-- <div className="flex-1 overflow-y-auto p-2 space-y-1">- {pages.length === 0 ? (- <div className="text-center py-8 text-xs text-zinc-400 dark:text-zinc-500">- No pages in this space yet.- </div>- ) : (- pages.map((p) => {- const isSelected = activePage?.id === p.id;- return (- <div- key={p.id}- onClick={() => onSelectPage(p.id)}- className={`group p-2.5 rounded-lg text-xs cursor-pointer transition-all flex items-start justify-between ${- isSelected- ? "bg-white dark:bg-zinc-800 text-zinc-900 dark:text-zinc-100 shadow-2xs border border-zinc-200 dark:border-zinc-700"- : "text-zinc-600 dark:text-zinc-400 hover:bg-zinc-200/50 dark:hover:bg-zinc-850 hover:text-zinc-900 dark:hover:text-zinc-200"- }`}- >- <div className="flex items-start gap-2 min-w-0">- <span className="text-sm mt-0.5">{p.icon || "📄"}</span>- <div className="min-w-0">- <div className="font-medium truncate">{p.title || "Untitled"}</div>- <div className="text-[10px] text-zinc-400 dark:text-zinc-500 mt-0.5 flex items-center gap-1.5">- <span className="uppercase text-[9px] px-1 rounded bg-zinc-100 dark:bg-zinc-900 border border-zinc-200 dark:border-zinc-800">- v{p.version || 1}- </span>- <span className="capitalize">{p.status}</span>- </div>- </div>- </div>-- <button- onClick={(e) => {- e.stopPropagation();- if (confirm(`Delete page "${p.title}"?`)) onDeletePage(p.id);- }}- className="opacity-0 group-hover:opacity-100 p-1 hover:text-red-500 text-zinc-400 dark:text-zinc-500 rounded transition-opacity"- title="Delete page"- >- <TrashIcon className="w-3 h-3" />- </button>- </div>- );- })- )}- </div>- </div>-- {/* Editor & Canvas Area */}- {activePage ? (- <div className="flex-1 flex flex-col h-full overflow-hidden">- {/* Editor Action Toolbar */}- <div className="border-b border-zinc-200 dark:border-zinc-800 px-6 py-2.5 bg-white dark:bg-[#19191d] flex items-center justify-between flex-wrap gap-2">- <div className="flex items-center gap-3">- <input- type="text"- value={title}- onChange={(e) => setTitle(e.target.value)}- placeholder="Page Title"- className="bg-transparent font-semibold text-sm text-zinc-900 dark:text-zinc-100 focus:outline-none focus:border-b focus:border-indigo-500 py-0.5 w-72"- />-- <CustomDropdown- value={status}- onChange={setStatus}- options={STATUS_OPTIONS}- size="sm"- buttonClassName="bg-zinc-100 dark:bg-zinc-800 border border-zinc-300 dark:border-zinc-700 rounded-md text-xs text-zinc-700 dark:text-zinc-300 px-2 py-1"- />-- <span className="text-[11px] text-zinc-500 bg-zinc-100 dark:bg-zinc-800/80 px-2 py-0.5 rounded border border-zinc-200 dark:border-zinc-700/50">- v{activePage.version || 1}- </span>- </div>-- {/* AI Dot Actions & View Mode */}- <div className="flex items-center gap-2">- {/* Dot AI Quick Actions */}- <div className="relative group">- <button- className="flex items-center gap-1.5 bg-indigo-50 dark:bg-gradient-to-r dark:from-indigo-600/30 dark:to-violet-600/30 hover:bg-indigo-100 dark:hover:from-indigo-600/40 dark:hover:to-violet-600/40 text-indigo-700 dark:text-indigo-300 border border-indigo-200 dark:border-indigo-500/40 px-3 py-1 rounded-lg text-xs font-medium transition-all shadow-2xs"- >- <SparklesIcon className="w-3.5 h-3.5" />- <span>Ask Dot to Edit</span>- </button>-- <div className="absolute right-0 top-full mt-1 w-56 bg-white dark:bg-zinc-900 border border-zinc-200 dark:border-zinc-700 rounded-xl shadow-xl p-1.5 hidden group-hover:block z-20">- <div className="text-[10px] uppercase font-bold text-zinc-400 dark:text-zinc-500 px-2 py-1">Autonomous Actions</div>- <button- onClick={() => onTriggerAgentOnPage(activePage.id, "Expand and add a structured competitive matrix")}- className="w-full text-left px-2.5 py-1.5 text-xs text-zinc-700 dark:text-zinc-300 hover:bg-zinc-100 dark:hover:bg-zinc-800 rounded-md transition-colors"- >- ⚡ Expand with Market Matrix- </button>- <button- onClick={() => onTriggerAgentOnPage(activePage.id, "Synthesize into executive summary with action items")}- className="w-full text-left px-2.5 py-1.5 text-xs text-zinc-700 dark:text-zinc-300 hover:bg-zinc-100 dark:hover:bg-zinc-800 rounded-md transition-colors"- >- ✍️ Polish Tone & Executive Pitch- </button>- <button- onClick={() => onTriggerAgentOnPage(activePage.id, "Review for architectural risks and security gaps")}- className="w-full text-left px-2.5 py-1.5 text-xs text-zinc-700 dark:text-zinc-300 hover:bg-zinc-100 dark:hover:bg-zinc-800 rounded-md transition-colors"- >- 📐 Systems & Security Audit- </button>- </div>- </div>-- {/* View Mode Buttons */}- <div className="flex items-center bg-zinc-100 dark:bg-zinc-800/80 rounded-lg p-0.5 border border-zinc-200 dark:border-zinc-700 text-xs">- <button- onClick={() => setViewMode("edit")}- className={`px-2 py-0.5 rounded transition-colors ${viewMode === "edit" ? "bg-white dark:bg-zinc-700 text-zinc-900 dark:text-white shadow-2xs font-medium" : "text-zinc-500 dark:text-zinc-400 hover:text-zinc-800 dark:hover:text-zinc-200"}`}- >- Edit- </button>- <button- onClick={() => setViewMode("split")}- className={`px-2 py-0.5 rounded transition-colors ${viewMode === "split" ? "bg-white dark:bg-zinc-700 text-zinc-900 dark:text-white shadow-2xs font-medium" : "text-zinc-500 dark:text-zinc-400 hover:text-zinc-800 dark:hover:text-zinc-200"}`}- >- Split- </button>- <button- onClick={() => setViewMode("preview")}- className={`px-2 py-0.5 rounded transition-colors ${viewMode === "preview" ? "bg-white dark:bg-zinc-700 text-zinc-900 dark:text-white shadow-2xs font-medium" : "text-zinc-500 dark:text-zinc-400 hover:text-zinc-800 dark:hover:text-zinc-200"}`}- >- Preview- </button>- </div>-- {/* Save Button */}- <button- onClick={handleSave}- disabled={isSaving}- className="flex items-center gap-1.5 bg-indigo-600 hover:bg-indigo-500 disabled:opacity-50 text-white px-3 py-1 rounded-lg text-xs font-medium transition-colors shadow-2xs"- >- {savedSuccess ? <CheckIcon className="w-3.5 h-3.5 text-emerald-300" /> : null}- <span>{savedSuccess ? "Saved to Supabase" : isSaving ? "Saving..." : "Save Page"}</span>- </button>- </div>- </div>-- {/* Canvas Main Body */}- <div className="flex-1 flex overflow-hidden">- {/* Markdown Text Area */}- {(viewMode === "edit" || viewMode === "split") && (- <div className={`h-full flex flex-col ${viewMode === "split" ? "w-1/2 border-r border-zinc-200 dark:border-zinc-800" : "w-full"}`}>- <textarea- value={content}- onChange={(e) => setContent(e.target.value)}- placeholder="Start writing markdown content..."- className="flex-1 w-full bg-white dark:bg-[#151518] text-zinc-900 dark:text-zinc-200 p-6 text-xs leading-relaxed resize-none focus:outline-none"- />- </div>- )}-- {/* Markdown Rendered Live Preview */}- {(viewMode === "preview" || viewMode === "split") && (- <div className={`h-full overflow-y-auto p-8 bg-[#fafafa] dark:bg-[#18181c] ${viewMode === "split" ? "w-1/2" : "w-full"}`}>- <div- className="markdown-body max-w-2xl mx-auto"- dangerouslySetInnerHTML={{ __html: renderSimpleMarkdown(content) }}- />- </div>- )}- </div>- </div>- ) : (- <div className="flex-1 flex items-center justify-center text-zinc-400 dark:text-zinc-500 text-sm">- Select or create a living page to collaborate.- </div>- )}- </div>- );-}diff --git a/client/src/components/Sidebar.js b/client/src/components/Sidebar.jsdeleted file mode 100644index f9f58de..0000000--- a/client/src/components/Sidebar.js+++ /dev/null@@ -1,275 +0,0 @@-"use client";--import React, { useState } from "react";-import { FolderIcon, PlusIcon, SearchIcon, PinIcon, DatabaseIcon, SparklesIcon } from "./Icons";-import ThemeToggle from "./ThemeToggle";-import CustomDropdown from "./CustomDropdown";--const ICON_OPTIONS = [- { label: "🚀 Launch", value: "🚀" },- { label: "🧠 Research", value: "🧠" },- { label: "💡 Ideation", value: "💡" },- { label: "⚡ Performance", value: "⚡" },- { label: "🎨 Design", value: "🎨" },- { label: "📊 Analytics", value: "📊" },-];--const COLOR_OPTIONS = [- { label: "Indigo", value: "indigo" },- { label: "Emerald", value: "emerald" },- { label: "Amber", value: "amber" },- { label: "Rose", value: "rose" },- { label: "Sky", value: "sky" },-];--export default function Sidebar({- spaces = [],- activeSpaceId,- onSelectSpace,- onCreateSpace,- backendOnline,-}) {- const [search, setSearch] = useState("");- const [showModal, setShowModal] = useState(false);- const [newSpaceName, setNewSpaceName] = useState("");- const [newSpaceDesc, setNewSpaceDesc] = useState("");- const [newSpaceColor, setNewSpaceColor] = useState("indigo");- const [newSpaceIcon, setNewSpaceIcon] = useState("🚀");-- const filteredSpaces = spaces.filter((s) =>- s.name.toLowerCase().includes(search.toLowerCase()) ||- (s.description && s.description.toLowerCase().includes(search.toLowerCase()))- );-- const pinnedSpaces = filteredSpaces.filter((s) => s.pinned);- const otherSpaces = filteredSpaces.filter((s) => !s.pinned);-- const handleCreate = (e) => {- e.preventDefault();- if (!newSpaceName.trim()) return;- onCreateSpace({- name: newSpaceName.trim(),- description: newSpaceDesc.trim(),- color: newSpaceColor,- icon: newSpaceIcon || "📁",- pinned: false,- });- setNewSpaceName("");- setNewSpaceDesc("");- setShowModal(false);- };-- return (- <aside className="w-72 bg-[#f7f7f8] dark:bg-[#18181b] border-r border-zinc-200 dark:border-zinc-800 flex flex-col h-screen select-none transition-colors duration-200">- {/* Brand Header */}- <div className="p-4 border-b border-zinc-200 dark:border-zinc-800 flex items-center justify-between">- <div className="flex items-center gap-2.5">- <div className="w-8 h-8 rounded-lg bg-gradient-to-tr from-indigo-600 to-violet-500 flex items-center justify-center text-white shadow-md">- <SparklesIcon className="w-4 h-4" />- </div>- <div>- <div className="font-semibold text-sm tracking-tight text-zinc-900 dark:text-zinc-100 flex items-center gap-1.5">- <span>OpenSpaces</span>- <span className="text-[10px] uppercase font-bold tracking-wider px-1.5 py-0.5 rounded bg-zinc-200 dark:bg-zinc-800 text-zinc-600 dark:text-zinc-400 border border-zinc-300 dark:border-zinc-700">- OSS- </span>- </div>- <p className="text-[11px] text-zinc-500 dark:text-zinc-400">Open Spaces Studio</p>- </div>- </div>-- <button- onClick={() => setShowModal(true)}- className="p-1.5 rounded-md hover:bg-zinc-200 dark:hover:bg-zinc-800 text-zinc-600 dark:text-zinc-300 hover:text-zinc-900 dark:hover:text-white transition-colors"- title="Create New Space"- >- <PlusIcon className="w-4 h-4" />- </button>- </div>-- {/* Supabase & Backend Status */}- <div className="px-4 py-2 bg-zinc-100/70 dark:bg-zinc-900/60 border-b border-zinc-200 dark:border-zinc-800/80 flex items-center justify-between text-xs">- <div className="flex items-center gap-1.5 text-zinc-600 dark:text-zinc-400">- <DatabaseIcon className="w-3.5 h-3.5 text-emerald-500 dark:text-emerald-400" />- <span className="text-[11px] font-medium">Supabase DB</span>- </div>- <div className="flex items-center gap-1.5">- <span className={`w-2 h-2 rounded-full ${backendOnline ? "bg-emerald-500 dark:bg-emerald-400 animate-pulse" : "bg-amber-500"}`} />- <span className="text-[10px] text-zinc-600 dark:text-zinc-400">{backendOnline ? "Port 8000 Live" : "Connecting..."}</span>- </div>- </div>-- {/* Search Input */}- <div className="p-3">- <div className="relative">- <SearchIcon className="w-3.5 h-3.5 absolute left-3 top-2.5 text-zinc-400 dark:text-zinc-500" />- <input- type="text"- placeholder="Search spaces..."- value={search}- onChange={(e) => setSearch(e.target.value)}- className="w-full bg-white dark:bg-zinc-900/80 border border-zinc-300 dark:border-zinc-800 rounded-lg pl-8 pr-3 py-1.5 text-xs text-zinc-900 dark:text-zinc-200 placeholder-zinc-400 dark:placeholder-zinc-500 focus:outline-none focus:border-indigo-500 transition-colors shadow-2xs"- />- </div>- </div>-- {/* Spaces List */}- <div className="flex-1 overflow-y-auto px-3 space-y-4">- {/* Pinned Spaces */}- {pinnedSpaces.length > 0 && (- <div>- <div className="text-[10px] font-semibold text-zinc-500 dark:text-zinc-500 uppercase tracking-wider px-2 mb-1 flex items-center gap-1">- <PinIcon className="w-3 h-3 text-amber-500" />- <span>Pinned Spaces</span>- </div>- <div className="space-y-1">- {pinnedSpaces.map((s) => (- <button- key={s.id}- onClick={() => onSelectSpace(s.id)}- className={`w-full text-left p-2 rounded-lg text-xs transition-all flex items-center gap-2.5 ${- activeSpaceId === s.id- ? "bg-indigo-100/70 dark:bg-indigo-600/20 text-indigo-900 dark:text-indigo-200 border border-indigo-300/80 dark:border-indigo-500/30 shadow-2xs"- : "hover:bg-zinc-200/60 dark:hover:bg-zinc-800/60 text-zinc-700 dark:text-zinc-300"- }`}- >- <span className="text-base">{s.icon || "📁"}</span>- <div className="flex-1 min-w-0">- <div className="font-medium truncate">{s.name}</div>- <div className="text-[10px] text-zinc-500 dark:text-zinc-500 flex items-center gap-2">- <span>{s.pages_count || 0} pages</span>- <span>•</span>- <span>{s.agents?.length || 0} dots</span>- </div>- </div>- </button>- ))}- </div>- </div>- )}-- {/* All Spaces */}- <div>- <div className="text-[10px] font-semibold text-zinc-500 uppercase tracking-wider px-2 mb-1">- All Spaces ({filteredSpaces.length})- </div>- <div className="space-y-1">- {otherSpaces.map((s) => (- <button- key={s.id}- onClick={() => onSelectSpace(s.id)}- className={`w-full text-left p-2 rounded-lg text-xs transition-all flex items-center gap-2.5 ${- activeSpaceId === s.id- ? "bg-indigo-100/70 dark:bg-indigo-600/20 text-indigo-900 dark:text-indigo-200 border border-indigo-300/80 dark:border-indigo-500/30 shadow-2xs"- : "hover:bg-zinc-200/60 dark:hover:bg-zinc-800/60 text-zinc-700 dark:text-zinc-300"- }`}- >- <span className="text-base">{s.icon || "📁"}</span>- <div className="flex-1 min-w-0">- <div className="font-medium truncate">{s.name}</div>- <div className="text-[10px] text-zinc-500 flex items-center gap-2">- <span>{s.pages_count || 0} pages</span>- <span>•</span>- <span>{s.agents?.length || 0} dots</span>- </div>- </div>- </button>- ))}- </div>- </div>- </div>-- {/* User Footer with Theme Toggle */}- <div className="p-3 border-t border-zinc-200 dark:border-zinc-800 flex items-center justify-between text-xs bg-white/40 dark:bg-transparent">- <div className="flex items-center gap-2">- <div className="w-7 h-7 rounded-full bg-gradient-to-tr from-zinc-300 to-zinc-400 dark:from-zinc-700 dark:to-zinc-600 flex items-center justify-center font-medium text-zinc-800 dark:text-zinc-200 text-xs shadow-2xs">- OP- </div>- <div>- <div className="font-medium text-zinc-800 dark:text-zinc-200 leading-tight">OpenSpaces Team</div>- <div className="text-[10px] text-zinc-500">Pro / Self-Hosted</div>- </div>- </div>-- {/* Theme Toggle Component */}- <ThemeToggle />- </div>-- {/* New Space Modal */}- {showModal && (- <div className="fixed inset-0 z-50 bg-black/60 dark:bg-black/75 backdrop-blur-xs flex items-center justify-center p-4">- <div className="bg-white dark:bg-[#1e1e24] border border-zinc-200 dark:border-zinc-700 rounded-xl w-full max-w-md p-5 shadow-2xl transition-colors">- <h3 className="text-base font-semibold text-zinc-900 dark:text-zinc-100 mb-1">Create New Space</h3>- <p className="text-xs text-zinc-500 dark:text-zinc-400 mb-4">- A shared workspace for pages, persistent chat context, and autonomous Dot agents.- </p>-- <form onSubmit={handleCreate} className="space-y-3.5">- <div>- <label className="block text-xs font-medium text-zinc-700 dark:text-zinc-300 mb-1">Space Name</label>- <input- type="text"- required- placeholder="e.g. 2026 Strategy & Roadmap"- value={newSpaceName}- onChange={(e) => setNewSpaceName(e.target.value)}- className="w-full bg-zinc-50 dark:bg-zinc-900 border border-zinc-300 dark:border-zinc-700 rounded-lg px-3 py-2 text-xs text-zinc-900 dark:text-zinc-100 focus:outline-none focus:border-indigo-500"- />- </div>-- <div>- <label className="block text-xs font-medium text-zinc-700 dark:text-zinc-300 mb-1">Description</label>- <textarea- rows={2}- placeholder="Brief summary of what this space is about..."- value={newSpaceDesc}- onChange={(e) => setNewSpaceDesc(e.target.value)}- className="w-full bg-zinc-50 dark:bg-zinc-900 border border-zinc-300 dark:border-zinc-700 rounded-lg px-3 py-2 text-xs text-zinc-900 dark:text-zinc-100 focus:outline-none focus:border-indigo-500"- />- </div>-- <div className="grid grid-cols-2 gap-3">- <div>- <label className="block text-xs font-medium text-zinc-700 dark:text-zinc-300 mb-1">Icon</label>- <CustomDropdown- value={newSpaceIcon}- onChange={setNewSpaceIcon}- options={ICON_OPTIONS}- className="w-full"- buttonClassName="w-full justify-between"- />- </div>- <div>- <label className="block text-xs font-medium text-zinc-700 dark:text-zinc-300 mb-1">Theme Color</label>- <CustomDropdown- value={newSpaceColor}- onChange={setNewSpaceColor}- options={COLOR_OPTIONS}- className="w-full"- buttonClassName="w-full justify-between"- />- </div>- </div>-- <div className="flex justify-end gap-2 pt-3 border-t border-zinc-200 dark:border-zinc-800">- <button- type="button"- onClick={() => setShowModal(false)}- className="px-3 py-1.5 rounded-lg text-xs text-zinc-600 dark:text-zinc-400 hover:text-zinc-900 dark:hover:text-zinc-200 transition-colors"- >- Cancel- </button>- <button- type="submit"- className="px-4 py-1.5 bg-indigo-600 hover:bg-indigo-500 text-white rounded-lg text-xs font-medium transition-colors shadow-sm"- >- Create Space- </button>- </div>- </form>- </div>- </div>- )}- </aside>- );-}diff --git a/client/src/components/SpaceChat.js b/client/src/components/SpaceChat.jsdeleted file mode 100644index adba3c0..0000000--- a/client/src/components/SpaceChat.js+++ /dev/null@@ -1,156 +0,0 @@-"use client";--import React, { useState } from "react";-import { SendIcon, SparklesIcon, BotIcon, PageIcon } from "./Icons";-import CustomDropdown from "./CustomDropdown";--export default function SpaceChat({- messages = [],- onSendMessage,- agents = [],- pages = [],- onNavigateToPage,-}) {- const [inputText, setInputText] = useState("");- const [selectedAgent, setSelectedAgent] = useState("");-- const handleSubmit = (e) => {- e.preventDefault();- if (!inputText.trim()) return;-- let finalContent = inputText.trim();- if (selectedAgent) {- finalContent = `@${selectedAgent}: ${finalContent}`;- }-- onSendMessage({- content: finalContent,- sender_type: "user",- sender_name: "You",- });-- setInputText("");- setSelectedAgent("");- };-- return (- <div className="flex-1 flex flex-col h-full bg-zinc-50 dark:bg-[#151518] transition-colors duration-200">- {/* Messages Scroll Area */}- <div className="flex-1 overflow-y-auto p-6 space-y-4 max-w-4xl mx-auto w-full">- {messages.length === 0 ? (- <div className="text-center py-16 text-zinc-400 dark:text-zinc-500 text-sm">- <SparklesIcon className="w-8 h-8 mx-auto mb-2 text-indigo-500 dark:text-indigo-400 opacity-60" />- <p className="font-medium text-zinc-700 dark:text-zinc-400">Welcome to your Space Chat</p>- <p className="text-xs text-zinc-500 dark:text-zinc-500 mt-1 max-w-md mx-auto">- Discuss ideas, ask questions, or @mention your autonomous Dot agents to generate and iterate on living documents.- </p>- </div>- ) : (- messages.map((msg) => {- const isAgent = msg.sender_type === "agent";- const isUser = msg.sender_type === "user";-- return (- <div- key={msg.id}- className={`flex gap-3 text-xs ${isUser ? "flex-row-reverse" : "flex-row"}`}- >- {/* Avatar */}- <div- className={`w-7 h-7 rounded-lg flex items-center justify-center shrink-0 text-xs font-semibold ${- isAgent- ? "bg-gradient-to-tr from-indigo-600 to-violet-600 text-white shadow-2xs"- : "bg-zinc-200 dark:bg-zinc-800 text-zinc-700 dark:text-zinc-300 border border-zinc-300 dark:border-zinc-700"- }`}- >- {isAgent ? "⚡" : "U"}- </div>-- {/* Message Bubble */}- <div- className={`max-w-xl rounded-2xl px-4 py-3 shadow-2xs ${- isUser- ? "bg-indigo-600 text-white"- : "bg-white dark:bg-[#202025] text-zinc-800 dark:text-zinc-200 border border-zinc-200 dark:border-zinc-800"- }`}- >- <div className="flex items-center justify-between gap-4 mb-1">- <span className="font-semibold text-[11px] opacity-80">- {msg.sender_name}- </span>- <span className="text-[10px] opacity-50">- {msg.timestamp ? new Date(msg.timestamp).toLocaleTimeString([], { hour: '2-digit', minute: '2-digit' }) : "now"}- </span>- </div>-- <p className="whitespace-pre-wrap leading-relaxed">{msg.content}</p>-- {/* Referenced Page Link if any */}- {msg.referenced_page_id && (- <div className="mt-2.5 pt-2 border-t border-zinc-200 dark:border-zinc-700/40">- <button- onClick={() => onNavigateToPage(msg.referenced_page_id)}- className="inline-flex items-center gap-1.5 px-2.5 py-1 rounded-md bg-zinc-100 hover:bg-zinc-200 dark:bg-zinc-900/60 dark:hover:bg-zinc-900 text-indigo-700 dark:text-indigo-300 text-[11px] transition-colors border border-indigo-200 dark:border-indigo-500/20"- >- <PageIcon className="w-3.5 h-3.5" />- <span>Open referenced page</span>- </button>- </div>- )}- </div>- </div>- );- })- )}- </div>-- {/* Input bar */}- <div className="p-4 border-t border-zinc-200 dark:border-zinc-800 bg-white dark:bg-[#19191d] transition-colors">- <div className="max-w-4xl mx-auto space-y-2">- {/* Quick Tag Dot Agent with CustomDropdown */}- <div className="flex items-center gap-2">- <span className="text-[11px] text-zinc-500 dark:text-zinc-400">Direct to:</span>- <CustomDropdown- value={selectedAgent}- onChange={setSelectedAgent}- options={[- { label: "Everyone (Space)", value: "", icon: "👥" },- ...agents.map((agent) => ({- label: `@${agent.name}`,- value: agent.name,- icon: "🤖",- description: agent.role,- })),- ]}- size="xs"- direction="up"- buttonClassName="bg-zinc-100 dark:bg-zinc-800 text-zinc-700 dark:text-zinc-300 rounded-md py-0.5 px-2 text-[11px]"- />- </div>-- <form onSubmit={handleSubmit} className="flex gap-2">- <input- type="text"- value={inputText}- onChange={(e) => setInputText(e.target.value)}- placeholder={- selectedAgent- ? `Message directed to @${selectedAgent}...`- : "Message the space or ask Dots to assist..."- }- className="flex-1 bg-zinc-100 dark:bg-zinc-900/90 border border-zinc-300 dark:border-zinc-700 rounded-xl px-4 py-2.5 text-xs text-zinc-900 dark:text-zinc-100 placeholder-zinc-400 dark:placeholder-zinc-500 focus:outline-none focus:border-indigo-500"- />- <button- type="submit"- disabled={!inputText.trim()}- className="px-4 py-2.5 bg-indigo-600 hover:bg-indigo-500 disabled:opacity-40 text-white rounded-xl text-xs font-medium transition-colors flex items-center gap-1.5 shadow-2xs"- >- <SendIcon className="w-3.5 h-3.5" />- <span>Send</span>- </button>- </form>- </div>- </div>- </div>- );-}diff --git a/client/src/components/SpaceHeader.js b/client/src/components/SpaceHeader.jsdeleted file mode 100644index 85da6bb..0000000--- a/client/src/components/SpaceHeader.js+++ /dev/null@@ -1,121 +0,0 @@-"use client";--import React from "react";-import { PageIcon, ChatIcon, BotIcon, MicIcon, UsersIcon, PinIcon } from "./Icons";--export default function SpaceHeader({- space,- activeTab,- onTabChange,- onTogglePin,- onOpenAgentModal,-}) {- if (!space) return null;-- const tabs = [- { id: "pages", label: "Pages (Canvas)", icon: PageIcon, count: space.pages_count },- { id: "chat", label: "Space Chat", icon: ChatIcon, count: space.messages_count },- { id: "agents", label: "Dots (AI Agents)", icon: BotIcon, count: space.agents?.length || 0 },- { id: "meetings", label: "Meeting Notes", icon: MicIcon },- ];-- return (- <header className="border-b border-zinc-200 dark:border-zinc-800 bg-white dark:bg-[#19191d] px-6 pt-5 select-none transition-colors duration-200">- {/* Top Space Bar */}- <div className="flex items-start justify-between mb-4">- <div className="flex items-center gap-3.5">- <div className="text-3xl p-2.5 rounded-xl bg-zinc-100 dark:bg-zinc-800/80 border border-zinc-200 dark:border-zinc-700/60 shadow-2xs flex items-center justify-center">- {space.icon || "📁"}- </div>- <div>- <div className="flex items-center gap-2">- <h1 className="text-lg font-bold text-zinc-900 dark:text-zinc-100">{space.name}</h1>- <button- onClick={onTogglePin}- title={space.pinned ? "Unpin space" : "Pin space"}- className={`p-1 rounded hover:bg-zinc-100 dark:hover:bg-zinc-800 transition-colors ${- space.pinned ? "text-amber-500" : "text-zinc-400 hover:text-zinc-600 dark:hover:text-zinc-300"- }`}- >- <PinIcon className="w-3.5 h-3.5" />- </button>- </div>- <p className="text-xs text-zinc-500 dark:text-zinc-400 mt-0.5 line-clamp-1 max-w-2xl">- {space.description || "Persistent collaborative workspace for documents and autonomous agents."}- </p>- </div>- </div>-- {/* Right side: Active Dots & Members */}- <div className="flex items-center gap-3">- {/* Active Dot Agents Pills */}- <div className="flex items-center gap-1.5 bg-zinc-100 dark:bg-zinc-900/90 border border-zinc-200 dark:border-zinc-800 rounded-full px-2.5 py-1">- <span className="text-[10px] uppercase font-bold text-indigo-600 dark:text-indigo-400 tracking-wider flex items-center gap-1">- <span className="w-1.5 h-1.5 rounded-full bg-indigo-500 animate-ping" />- Dots- </span>- <div className="flex items-center gap-1">- {(space.agents || []).map((dot) => (- <button- key={dot.id}- onClick={() => onOpenAgentModal(dot)}- className="flex items-center gap-1 bg-white dark:bg-zinc-800 border border-zinc-200 dark:border-transparent hover:bg-zinc-50 dark:hover:bg-zinc-700/80 text-zinc-700 dark:text-zinc-200 px-2 py-0.5 rounded-full text-[11px] transition-colors shadow-2xs"- title={`Click to prompt ${dot.name}`}- >- <span>{dot.avatar === "agent-bolt" ? "⚡" : dot.avatar === "agent-pen" ? "✍️" : dot.avatar === "agent-ruler" ? "📐" : "🤖"}</span>- <span className="font-medium">{dot.name.split(" ")[0]}</span>- </button>- ))}- </div>- </div>-- {/* Members */}- <div className="flex items-center -space-x-1.5">- {(space.members || []).map((m, idx) => (- <div- key={m.id || idx}- className="w-6 h-6 rounded-full bg-zinc-200 dark:bg-zinc-700 border-2 border-white dark:border-zinc-900 flex items-center justify-center text-[10px] font-semibold text-zinc-700 dark:text-zinc-300 shadow-2xs"- title={`${m.name} (${m.role})`}- >- {m.name.charAt(0)}- </div>- ))}- </div>- </div>- </div>-- {/* Tabs navigation */}- <div className="flex items-center gap-1">- {tabs.map((tab) => {- const Icon = tab.icon;- const isActive = activeTab === tab.id;- return (- <button- key={tab.id}- onClick={() => onTabChange(tab.id)}- className={`flex items-center gap-2 px-3.5 py-2.5 text-xs font-medium border-b-2 transition-colors ${- isActive- ? "border-indigo-600 dark:border-indigo-500 text-indigo-700 dark:text-indigo-300 bg-indigo-50/60 dark:bg-indigo-500/5 font-semibold"- : "border-transparent text-zinc-500 dark:text-zinc-400 hover:text-zinc-900 dark:hover:text-zinc-200 hover:border-zinc-300 dark:hover:border-zinc-700"- }`}- >- <Icon className="w-4 h-4" />- <span>{tab.label}</span>- {typeof tab.count === "number" && (- <span- className={`text-[10px] px-1.5 py-0.2 rounded-full ${- isActive- ? "bg-indigo-100 dark:bg-indigo-500/20 text-indigo-800 dark:text-indigo-300"- : "bg-zinc-100 dark:bg-zinc-800 text-zinc-600 dark:text-zinc-400"- }`}- >- {tab.count}- </span>- )}- </button>- );- })}- </div>- </header>- );-}diff --git a/client/src/components/SpaceLibrary.js b/client/src/components/SpaceLibrary.jsdeleted file mode 100644index b5be4a4..0000000--- a/client/src/components/SpaceLibrary.js+++ /dev/null@@ -1,671 +0,0 @@-"use client";--import React, { useState, useMemo, useEffect } from "react";-import {- PageIcon,- PlusIcon,- SearchIcon,- GridIcon,- ListIcon,- ArrowUpRightIcon,- TrashIcon,- CloseIcon,- ClockIcon,-} from "./Icons";-import { LuUsers, LuActivity, LuUserPlus, LuCheck } from "react-icons/lu";-import CustomDropdown from "./CustomDropdown";--const API_BASE = "http://localhost:8000/api";--const SORT_OPTIONS = [- { label: "Recently edited", value: "recent" },- { label: "Name A–Z", value: "name" },-];--const ROLE_OPTIONS = [- { label: "Editor (Can edit & create)", value: "editor" },- { label: "Commenter (Can comment)", value: "commenter" },- { label: "Viewer (Read-only)", value: "viewer" },-];--// Helper to extract clean plaintext preview from Markdown content-export function pageExcerpt(content = "") {- if (!content) return "";- return content- .replace(/^---\r?\n[\s\S]*?\r?\n---(?:\r?\n|$)/, "")- .replace(/<script\b[^>]*>[\s\S]*?<\/script>/gi, "")- .replace(/<[^>]+>/g, " ")- .replace(/^\s*(?:[-+*]|\d+[.)])\s+(?:\[[ xX]\]\s+)?/gm, "")- .replace(/```[\s\S]*?```/g, "Code block")- .replace(/!?\[([^\]]+)\]\([^)]*\)/g, "$1")- .replace(/[#>*_`|~]/g, "")- .replace(/\s+/g, " ")- .trim()- .slice(0, 140);-}--export default function SpaceLibrary({- space,- pages = [],- onSelectPage,- onNewPage,- onDeletePage,- isCreatingPage = false,- onSpaceUpdated,- authHeaders = {},- currentUser = null,- onRequireLogin,-}) {- const [activeTab, setActiveTab] = useState("pages"); // 'pages' | 'activity'- const [query, setQuery] = useState("");- const [layout, setLayout] = useState("grid"); // 'grid' | 'list'- const [sort, setSort] = useState("recent"); // 'recent' | 'name'-- // Members modal & invitation state- const [showMemberModal, setShowMemberModal] = useState(false);- const [members, setMembers] = useState([]);- const [inviteEmail, setInviteEmail] = useState("");- const [inviteRole, setInviteRole] = useState("editor");- const [isInviting, setIsInviting] = useState(false);- const [inviteNotice, setInviteNotice] = useState("");-- // Activity Feed state- const [activities, setActivities] = useState([]);- const [isLoadingActivities, setIsLoadingActivities] = useState(false);-- // Fetch members- const fetchMembers = async () => {- if (!space?.id) return;- try {- const res = await fetch(`${API_BASE}/spaces/${space.id}/members`, {- headers: authHeaders,- });- if (res.ok) {- const data = await res.json();- setMembers(data);- }- } catch (err) {- console.error("Error loading members:", err);- }- };-- // Fetch activities- const fetchActivities = async () => {- if (!space?.id) return;- setIsLoadingActivities(true);- try {- const res = await fetch(`${API_BASE}/spaces/${space.id}/activity?limit=30`, {- headers: authHeaders,- });- if (res.ok) {- const data = await res.json();- setActivities(data);- }- } catch (err) {- console.error("Error loading activity log:", err);- } finally {- setIsLoadingActivities(false);- }- };-- useEffect(() => {- if (space?.id) {- fetchMembers();- if (activeTab === "activity") {- fetchActivities();- }- }- }, [space?.id, activeTab]);-- const handleInviteSubmit = async (e) => {- e.preventDefault();- if (!currentUser) {- if (onRequireLogin) onRequireLogin("invite team members");- return;- }- if (!inviteEmail.trim() || !space?.id) return;-- setIsInviting(true);- setInviteNotice("");- try {- const res = await fetch(`${API_BASE}/spaces/${space.id}/members`, {- method: "POST",- headers: {- "Content-Type": "application/json",- ...authHeaders,- },- body: JSON.stringify({- email: inviteEmail.trim(),- role: inviteRole,- }),- });-- if (res.ok) {- const newMember = await res.json();- setMembers((prev) => {- const filtered = prev.filter((m) => m.user_id !== newMember.user_id);- return [...filtered, newMember];- });- setInviteNotice(`Invited ${newMember.name} as ${inviteRole}!`);- setInviteEmail("");- if (onSpaceUpdated) onSpaceUpdated();- } else {- const errText = await res.text();- setInviteNotice(`Failed to invite: ${errText}`);- }- } catch (err) {- setInviteNotice(`Error: ${err.message}`);- } finally {- setIsInviting(false);- }- };-- const handleRemoveMember = async (userId) => {- if (!currentUser) {- if (onRequireLogin) onRequireLogin("remove team members");- return;- }- if (!space?.id || !userId) return;- try {- const res = await fetch(`${API_BASE}/spaces/${space.id}/members/${userId}`, {- method: "DELETE",- headers: authHeaders,- });- if (res.ok) {- setMembers((prev) => prev.filter((m) => m.user_id !== userId));- if (onSpaceUpdated) onSpaceUpdated();- }- } catch (err) {- console.error("Error removing member:", err);- }- };-- const handleUpdateMemberRole = async (userId, newRole) => {- if (!currentUser) {- if (onRequireLogin) onRequireLogin("change member roles");- return;- }- if (!space?.id || !userId) return;- try {- const res = await fetch(`${API_BASE}/spaces/${space.id}/members`, {- method: "POST",- headers: {- "Content-Type": "application/json",- ...authHeaders,- },- body: JSON.stringify({ user_id: userId, role: newRole }),- });- if (res.ok) {- setMembers((prev) =>- prev.map((m) => (m.user_id === userId ? { ...m, role: newRole } : m))- );- if (onSpaceUpdated) onSpaceUpdated();- }- } catch (err) {- console.error("Error updating member role:", err);- }- };-- const filtered = useMemo(() => {- return pages- .filter((page) =>- `${page.title} ${page.content || ""}`- .toLowerCase()- .includes(query.toLowerCase().trim())- )- .sort((a, b) => {- if (sort === "name") {- return (a.title || "").localeCompare(b.title || "");- }- const timeA = new Date(a.updated_at || a.created_at || 0).getTime();- const timeB = new Date(b.updated_at || b.created_at || 0).getTime();- return timeB - timeA || (a.title || "").localeCompare(b.title || "");- });- }, [pages, query, sort]);-- const formatDate = (dateString) => {- if (!dateString) return "Recently";- try {- const d = new Date(dateString);- return d.toLocaleDateString(undefined, {- month: "short",- day: "numeric",- });- } catch {- return "Recently";- }- };-- return (- <div className="flex-1 flex flex-col h-full bg-[#fbfbfa] dark:bg-[#141416] text-zinc-900 dark:text-zinc-100 overflow-y-auto select-none transition-colors duration-150">- <div className="max-w-5xl mx-auto w-full p-6 sm:p-8 space-y-6">- {/* Header */}- <div className="flex flex-col sm:flex-row sm:items-center justify-between gap-4 pb-4 border-b border-zinc-200/80 dark:border-zinc-800/80">- <div>- <div className="text-[11px] font-bold uppercase tracking-wider text-indigo-600 dark:text-indigo-400 mb-1 flex items-center gap-1.5">- <span>{space?.icon || "📁"}</span>- <span>SPACE</span>- </div>- <h1 className="text-2xl sm:text-3xl font-bold tracking-tight text-zinc-900 dark:text-zinc-100">- {space?.name || "Space Library"}- </h1>- <p className="text-sm text-zinc-500 dark:text-zinc-400 mt-1 max-w-xl leading-relaxed">- {space?.description ||- "A persistent home for living pages, autonomous agent research, and collaborative documents."}- </p>-- {/* Team Members Pill & Invite Button */}- <div className="flex items-center gap-2 mt-3">- <div className="flex items-center -space-x-1.5">- {(members.length > 0 ? members : space?.members || []).slice(0, 4).map((m, idx) => (- <div- key={m.id || idx}- className="w-6 h-6 rounded-full bg-indigo-600 border-2 border-white dark:border-zinc-900 flex items-center justify-center text-[10px] font-bold text-white shadow-xs"- title={`${m.name || "Member"} (${m.role || "member"})`}- >- {(m.name || "U")[0].toUpperCase()}- </div>- ))}- </div>-- <button- type="button"- onClick={() => {- fetchMembers();- setShowMemberModal(true);- }}- className="flex items-center gap-1.5 px-2.5 py-1 rounded-lg bg-zinc-100 hover:bg-zinc-200 dark:bg-zinc-800 dark:hover:bg-zinc-700 text-zinc-700 dark:text-zinc-300 text-xs font-medium transition-colors cursor-pointer"- >- <LuUserPlus className="w-3.5 h-3.5 text-indigo-500" />- <span>Invite & Members ({members.length || space?.members?.length || 1})</span>- </button>- </div>- </div>-- <button- onClick={!isCreatingPage ? onNewPage : undefined}- disabled={isCreatingPage}- className={`inline-flex items-center justify-center gap-2 px-4 py-2 rounded-xl font-medium text-xs shadow-sm transition-all shrink-0 ${- isCreatingPage- ? "bg-zinc-800 text-zinc-400 dark:bg-zinc-200 dark:text-zinc-500 cursor-wait opacity-70"- : "bg-zinc-900 hover:bg-zinc-800 text-white dark:bg-white dark:hover:bg-zinc-100 dark:text-zinc-900 hover:scale-[1.02] cursor-pointer"- }`}- >- {isCreatingPage ? (- <div className="w-3.5 h-3.5 border-2 border-white dark:border-zinc-900 border-t-transparent rounded-full animate-spin" />- ) : (- <PlusIcon className="w-4 h-4" />- )}- <span>{isCreatingPage ? "Creating..." : "New page"}</span>- </button>- </div>-- {/* View Switcher Tabs: Pages vs Activity Feed */}- <div className="flex items-center justify-between border-b border-zinc-200/80 dark:border-zinc-800/80 pb-2">- <div className="flex items-center gap-2">- <button- type="button"- onClick={() => setActiveTab("pages")}- className={`flex items-center gap-1.5 px-3 py-1.5 rounded-lg text-xs font-semibold transition-colors cursor-pointer ${- activeTab === "pages"- ? "bg-zinc-900 text-white dark:bg-white dark:text-zinc-900 shadow-2xs"- : "text-zinc-500 hover:text-zinc-800 dark:text-zinc-400 dark:hover:text-zinc-200"- }`}- >- <PageIcon className="w-3.5 h-3.5" />- <span>Pages ({filtered.length})</span>- </button>- <button- type="button"- onClick={() => setActiveTab("activity")}- className={`flex items-center gap-1.5 px-3 py-1.5 rounded-lg text-xs font-semibold transition-colors cursor-pointer ${- activeTab === "activity"- ? "bg-zinc-900 text-white dark:bg-white dark:text-zinc-900 shadow-2xs"- : "text-zinc-500 hover:text-zinc-800 dark:text-zinc-400 dark:hover:text-zinc-200"- }`}- >- <LuActivity className="w-3.5 h-3.5 text-indigo-500" />- <span>Activity Log</span>- </button>- </div>- </div>-- {activeTab === "pages" ? (- <>- {/* Toolbar: Search, Sort, View Toggle */}- <div className="flex flex-wrap items-center justify-between gap-3">- <div className="flex items-center gap-2 flex-1 max-w-md">- <div className="relative w-full">- <SearchIcon className="w-4 h-4 text-zinc-400 absolute left-3 top-2.5" />- <input- type="text"- placeholder="Search pages in this space..."- value={query}- onChange={(e) => setQuery(e.target.value)}- className="w-full bg-white dark:bg-[#1a1a20] border border-zinc-200 dark:border-zinc-800 rounded-xl pl-9 pr-3 py-2 text-xs text-zinc-900 dark:text-zinc-100 placeholder-zinc-400 focus:outline-none focus:border-zinc-400 dark:focus:border-zinc-600 transition-colors shadow-2xs"- />- </div>- </div>-- <div className="flex items-center gap-2 shrink-0">- <CustomDropdown- value={sort}- onChange={setSort}- options={SORT_OPTIONS}- size="sm"- buttonClassName="bg-white dark:bg-[#1a1a20] border-zinc-200 dark:border-zinc-800 text-zinc-700 dark:text-zinc-300 py-1.5 px-3 rounded-xl shadow-2xs text-xs"- align="right"- />-- <div className="flex items-center bg-zinc-100 dark:bg-zinc-800 p-0.5 rounded-xl border border-zinc-200 dark:border-zinc-700/80">- <button- type="button"- onClick={() => setLayout("grid")}- title="Grid view"- className={`p-1.5 rounded-lg transition-colors cursor-pointer ${- layout === "grid"- ? "bg-white dark:bg-zinc-700 text-zinc-900 dark:text-white shadow-2xs"- : "text-zinc-400 hover:text-zinc-700 dark:hover:text-zinc-200"- }`}- >- <GridIcon className="w-4 h-4" />- </button>- <button- type="button"- onClick={() => setLayout("list")}- title="List view"- className={`p-1.5 rounded-lg transition-colors cursor-pointer ${- layout === "list"- ? "bg-white dark:bg-zinc-700 text-zinc-900 dark:text-white shadow-2xs"- : "text-zinc-400 hover:text-zinc-700 dark:hover:text-zinc-200"- }`}- >- <ListIcon className="w-4 h-4" />- </button>- </div>- </div>- </div>-- {/* Pages Grid or List */}- {filtered.length > 0 ? (- layout === "grid" ? (- <div className="grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-4">- {filtered.map((page) => (- <div- key={page.id}- onClick={() => onSelectPage(page.id)}- className="group relative flex flex-col justify-between p-4 rounded-2xl bg-white dark:bg-[#1a1a20] border border-zinc-200/90 dark:border-zinc-800 hover:border-zinc-300 dark:hover:border-zinc-700 transition-all hover:shadow-md cursor-pointer select-none text-left"- >- <div className="space-y-2">- <div className="flex items-center justify-between">- <span className="w-8 h-8 rounded-xl bg-zinc-100 dark:bg-zinc-800 text-zinc-700 dark:text-zinc-300 flex items-center justify-center text-sm font-semibold">- {page.icon || "📄"}- </span>- <ArrowUpRightIcon className="w-4 h-4 text-zinc-400 group-hover:text-zinc-900 dark:group-hover:text-zinc-100 transition-colors opacity-0 group-hover:opacity-100" />- </div>-- <h3 className="font-semibold text-sm text-zinc-900 dark:text-zinc-100 tracking-tight line-clamp-1">- {page.title || "Untitled page"}- </h3>-- <p className="text-xs text-zinc-500 dark:text-zinc-400 line-clamp-2 leading-relaxed">- {pageExcerpt(page.content) ||- "An empty page, ready to write and edit."}- </p>- </div>-- <div className="flex items-center justify-between pt-3 mt-3 border-t border-zinc-100 dark:border-zinc-800/80 text-[11px] text-zinc-400">- <span>Edited {formatDate(page.updated_at)}</span>-- {onDeletePage && (- <button- type="button"- onClick={(e) => {- e.stopPropagation();- onDeletePage(page.id);- }}- title="Delete page"- className="opacity-0 group-hover:opacity-100 p-1 rounded hover:bg-zinc-100 dark:hover:bg-zinc-800 text-zinc-400 hover:text-red-500 transition-opacity cursor-pointer"- >- <TrashIcon className="w-3.5 h-3.5" />- </button>- )}- </div>- </div>- ))}- </div>- ) : (- <div className="bg-white dark:bg-[#1a1a20] border border-zinc-200/90 dark:border-zinc-800 rounded-2xl overflow-hidden divide-y divide-zinc-100 dark:divide-zinc-800">- {filtered.map((page) => (- <div- key={page.id}- onClick={() => onSelectPage(page.id)}- className="group flex items-center justify-between p-3.5 hover:bg-zinc-50 dark:hover:bg-zinc-800/50 transition-colors cursor-pointer text-xs"- >- <div className="flex items-center gap-3 min-w-0 flex-1 pr-4">- <span className="w-7 h-7 rounded-lg bg-zinc-100 dark:bg-zinc-800 flex items-center justify-center text-sm shrink-0">- {page.icon || "📄"}- </span>- <div className="min-w-0">- <div className="font-semibold text-zinc-900 dark:text-zinc-100 truncate">- {page.title || "Untitled page"}- </div>- <div className="text-zinc-400 truncate text-[11px]">- {pageExcerpt(page.content) || "No additional text"}- </div>- </div>- </div>-- <div className="flex items-center gap-3 shrink-0 text-zinc-400 text-[11px]">- <span>Edited {formatDate(page.updated_at)}</span>- <ArrowUpRightIcon className="w-3.5 h-3.5 text-zinc-400 group-hover:text-zinc-900 dark:group-hover:text-zinc-100 opacity-0 group-hover:opacity-100 transition-opacity" />- {onDeletePage && (- <button- type="button"- onClick={(e) => {- e.stopPropagation();- onDeletePage(page.id);- }}- title="Delete page"- className="opacity-0 group-hover:opacity-100 p-1 rounded hover:bg-zinc-200 dark:hover:bg-zinc-700 text-zinc-400 hover:text-red-500 transition-opacity cursor-pointer"- >- <TrashIcon className="w-3.5 h-3.5" />- </button>- )}- </div>- </div>- ))}- </div>- )- ) : (- <div className="p-12 text-center border border-dashed border-zinc-300 dark:border-zinc-800 rounded-3xl bg-zinc-50/50 dark:bg-[#18181c]/50">- <div className="w-12 h-12 rounded-2xl bg-zinc-100 dark:bg-zinc-800 flex items-center justify-center mx-auto mb-3 text-zinc-400">- <PageIcon className="w-6 h-6" />- </div>- <h2 className="text-base font-semibold text-zinc-900 dark:text-zinc-100">- {query ? "No matching pages found" : "No pages in this Space yet"}- </h2>- <p className="text-xs text-zinc-500 dark:text-zinc-400 mt-1 max-w-sm mx-auto leading-relaxed">- {query- ? "Try searching for a different title or keyword."- : "Create your first page to start writing, organizing research, and collaborating with Dot agents."}- </p>- {!query && (- <button- onClick={onNewPage}- className="mt-4 inline-flex items-center gap-1.5 px-3.5 py-2 rounded-xl bg-zinc-900 dark:bg-white text-white dark:text-zinc-900 text-xs font-medium shadow-xs hover:opacity-90 transition-opacity cursor-pointer"- >- <PlusIcon className="w-3.5 h-3.5" />- <span>Create page</span>- </button>- )}- </div>- )}- </>- ) : (- /* Activity Feed View */- <div className="space-y-3">- {isLoadingActivities ? (- <div className="flex flex-col items-center justify-center py-12 text-zinc-400 gap-2">- <div className="w-5 h-5 border-2 border-indigo-500 border-t-transparent rounded-full animate-spin" />- <span className="text-xs">Loading activity timeline...</span>- </div>- ) : activities.length === 0 ? (- <div className="p-12 text-center border border-dashed border-zinc-300 dark:border-zinc-800 rounded-3xl text-xs text-zinc-400">- <LuActivity className="w-6 h-6 mx-auto mb-2 text-zinc-400" />- <p className="font-semibold text-zinc-700 dark:text-zinc-300">No activity logged yet.</p>- <p className="mt-1">Edits, new members, and page updates will appear here.</p>- </div>- ) : (- <div className="bg-white dark:bg-[#1a1a20] border border-zinc-200/90 dark:border-zinc-800 rounded-2xl divide-y divide-zinc-100 dark:divide-zinc-800 p-2">- {activities.map((act) => (- <div key={act.id} className="p-3 flex items-start gap-3">- <div className="w-7 h-7 rounded-lg bg-indigo-50 dark:bg-indigo-950/40 text-indigo-600 dark:text-indigo-400 flex items-center justify-center text-xs shrink-0 mt-0.5">- <LuActivity className="w-3.5 h-3.5" />- </div>- <div className="flex-1 min-w-0">- <div className="text-xs text-zinc-900 dark:text-zinc-100 font-medium">- {act.summary}- </div>- <div className="text-[10px] text-zinc-400 mt-0.5">- {new Date(act.created_at).toLocaleString([], {- month: "short",- day: "numeric",- hour: "2-digit",- minute: "2-digit",- })}- </div>- </div>- </div>- ))}- </div>- )}- </div>- )}- </div>-- {/* Invite & Members Modal */}- {showMemberModal && (- <div className="fixed inset-0 z-50 bg-black/40 backdrop-blur-2xs flex items-center justify-center p-4 animate-in fade-in">- <div- onClick={(e) => e.stopPropagation()}- className="bg-white dark:bg-[#18181c] border border-zinc-200 dark:border-zinc-800 rounded-2xl w-full max-w-lg p-6 shadow-2xl space-y-5 animate-in zoom-in-95 duration-100"- >- <div className="flex items-center justify-between pb-3 border-b border-zinc-200 dark:border-zinc-800">- <div className="flex items-center gap-2">- <LuUsers className="w-5 h-5 text-indigo-500" />- <h3 className="font-semibold text-base text-zinc-900 dark:text-zinc-100">- Space Members & Permissions- </h3>- </div>- <button- type="button"- onClick={() => setShowMemberModal(false)}- className="p-1 rounded-lg text-zinc-400 hover:text-zinc-700 dark:hover:text-zinc-200 hover:bg-zinc-100 dark:hover:bg-zinc-800 cursor-pointer"- >- <CloseIcon className="w-4 h-4" />- </button>- </div>-- {/* Invite by Email Form */}- <form onSubmit={handleInviteSubmit} className="space-y-3">- <label className="block text-xs font-semibold text-zinc-700 dark:text-zinc-300">- Invite teammate by email- </label>- <div className="flex gap-2">- <input- type="email"- required- placeholder="[email protected]"- value={inviteEmail}- onChange={(e) => setInviteEmail(e.target.value)}- className="flex-1 bg-white dark:bg-zinc-900 border border-zinc-300 dark:border-zinc-700 rounded-xl px-3 py-2 text-xs text-zinc-900 dark:text-zinc-100 placeholder-zinc-400 focus:outline-none focus:border-indigo-500 shadow-2xs"- />- <CustomDropdown- value={inviteRole}- onChange={setInviteRole}- options={[- { label: "Editor", value: "editor", description: "Can edit and create pages" },- { label: "Commenter", value: "commenter", description: "Can comment and discuss" },- { label: "Viewer", value: "viewer", description: "Read-only access" },- ]}- size="md"- buttonClassName="bg-white dark:bg-zinc-900 border-zinc-300 dark:border-zinc-700 rounded-xl px-3 py-2 text-xs"- />- <button- type="submit"- disabled={isInviting || !inviteEmail.trim()}- className="px-4 py-2 rounded-xl bg-indigo-600 hover:bg-indigo-700 text-white font-medium text-xs shadow-xs transition-colors disabled:opacity-50 cursor-pointer"- >- {isInviting ? "Inviting..." : "Invite"}- </button>- </div>-- {inviteNotice && (- <p className="text-xs text-indigo-600 dark:text-indigo-400 font-medium">- {inviteNotice}- </p>- )}- </form>-- {/* Current Members List */}- <div className="space-y-2 pt-2">- <span className="text-xs font-semibold text-zinc-600 dark:text-zinc-400">- Current Members ({members.length})- </span>- <div className="max-h-56 overflow-y-auto divide-y divide-zinc-100 dark:divide-zinc-800 border border-zinc-200 dark:border-zinc-800 rounded-xl p-1">- {members.map((m) => (- <div key={m.id || m.user_id} className="p-2.5 flex items-center justify-between">- <div className="flex items-center gap-2.5">- <div className="w-7 h-7 rounded-full bg-gradient-to-tr from-indigo-500 to-violet-500 flex items-center justify-center text-xs font-bold text-white shadow-2xs">- {(m.name || "U")[0].toUpperCase()}- </div>- <div>- <div className="text-xs font-medium text-zinc-900 dark:text-zinc-100">- {m.name}- </div>- <div className="text-[10px] text-zinc-400">{m.email}</div>- </div>- </div>-- <div className="flex items-center gap-2">- {m.role === "owner" ? (- <span className="text-[10px] uppercase font-bold tracking-wider px-2 py-0.5 rounded-full bg-amber-100 dark:bg-amber-950/60 text-amber-800 dark:text-amber-300">- Owner- </span>- ) : (- <CustomDropdown- value={m.role}- onChange={(newRole) => handleUpdateMemberRole(m.user_id, newRole)}- options={[- { label: "Editor", value: "editor" },- { label: "Commenter", value: "commenter" },- { label: "Viewer", value: "viewer" },- ]}- size="xs"- align="right"- buttonClassName="bg-zinc-100 dark:bg-zinc-800/80 border-zinc-200 dark:border-zinc-700 text-zinc-700 dark:text-zinc-300 rounded-md"- />- )}-- {m.role !== "owner" && (- <button- type="button"- onClick={() => handleRemoveMember(m.user_id)}- className="p-1 rounded hover:bg-zinc-100 dark:hover:bg-zinc-800 text-zinc-400 hover:text-red-500 transition-colors cursor-pointer"- title="Remove member"- >- <TrashIcon className="w-3.5 h-3.5" />- </button>- )}- </div>- </div>- ))}- </div>- </div>- </div>- </div>- )}- </div>- );-}diff --git a/client/src/components/SpaceSidebar.js b/client/src/components/SpaceSidebar.jsdeleted file mode 100644index d74e146..0000000--- a/client/src/components/SpaceSidebar.js+++ /dev/null@@ -1,432 +0,0 @@-"use client";--import React, { useState } from "react";-import {- SearchIcon,- NewPageIcon,- FolderIcon,- ChevronDownIcon,- ChevronRightIcon,- PlusIcon,- TrashIcon,-} from "./Icons";-import ThemeToggle from "./ThemeToggle";-import CustomDropdown from "./CustomDropdown";--const ICON_OPTIONS = [- { label: "📁 Folder", value: "📁" },- { label: "🚀 Launch", value: "🚀" },- { label: "🧠 Research", value: "🧠" },- { label: "💡 Ideation", value: "💡" },- { label: "⚡ Fast", value: "⚡" },- { label: "🎨 Design", value: "🎨" },- { label: "📊 Analytics", value: "📊" },- { label: "🛡️ Security", value: "🛡️" },-];--const COLOR_OPTIONS = [- { label: "Indigo", value: "indigo" },- { label: "Emerald", value: "emerald" },- { label: "Amber", value: "amber" },- { label: "Rose", value: "rose" },- { label: "Sky", value: "sky" },- { label: "Purple", value: "purple" },-];--export default function SpaceSidebar({- spaces = [],- activeSpaceId,- onSelectSpace,- onCreateSpace,- onDeleteSpace,- pages = [],- activePageId,- onSelectPage,- onCreatePage,- onDeletePage,- isCreatingPage = false,- currentUser = null,- onRequireLogin = null,-}) {- const [showNewSpaceModal, setShowNewSpaceModal] = useState(false);- const [newSpaceName, setNewSpaceName] = useState("");- const [newSpaceDesc, setNewSpaceDesc] = useState("");- const [newSpaceIcon, setNewSpaceIcon] = useState("📁");- const [newSpaceColor, setNewSpaceColor] = useState("indigo");- const [searchQuery, setSearchQuery] = useState("");- const [expandedSpaces, setExpandedSpaces] = useState({- [activeSpaceId]: true,- });- const [expandedPages, setExpandedPages] = useState({});-- const togglePageExpand = (pageId, e) => {- if (e) e.stopPropagation();- setExpandedPages((prev) => ({- ...prev,- [pageId]: prev[pageId] === undefined ? false : !prev[pageId],- }));- };-- const toggleSpaceExpand = (spaceId, e) => {- if (e) e.stopPropagation();- setExpandedSpaces((prev) => ({- ...prev,- [spaceId]: !prev[spaceId],- }));- };-- const handleCreateSpaceSubmit = (e) => {- e.preventDefault();- if (!newSpaceName.trim()) return;- onCreateSpace({- name: newSpaceName.trim(),- description: newSpaceDesc.trim(),- icon: newSpaceIcon,- color: newSpaceColor,- });- setNewSpaceName("");- setNewSpaceDesc("");- setNewSpaceIcon("📁");- setNewSpaceColor("indigo");- setShowNewSpaceModal(false);- };-- return (- <aside className="w-60 bg-[#f7f7f8] dark:bg-[#18181b] border-r border-zinc-200/80 dark:border-zinc-800/80 flex flex-col h-screen select-none text-zinc-700 dark:text-zinc-300 text-xs transition-colors duration-150">- {/* Top Header: SPACES with Create Space (+) button */}- <div className="p-3 pb-2 flex items-center justify-between border-b border-zinc-200/60 dark:border-zinc-800/60">- <div className="flex items-center gap-1.5 font-semibold text-sm text-zinc-900 dark:text-zinc-100">- <FolderIcon className="w-4 h-4 text-indigo-500" />- <span>Spaces</span>- </div>-- <button- onClick={() => {- if (onRequireLogin && !onRequireLogin("create a workspace")) return;- setShowNewSpaceModal(true);- }}- className="p-1 rounded-lg hover:bg-zinc-200/70 dark:hover:bg-zinc-800 text-zinc-500 dark:text-zinc-400 hover:text-zinc-900 dark:hover:text-zinc-100 transition-colors cursor-pointer"- title="Create new Space"- >- <PlusIcon className="w-4 h-4" />- </button>- </div>-- {/* New Page Button for Active Space */}- <div className="px-3 pt-3 pb-1">- <button- onClick={- !isCreatingPage- ? () => {- if (onRequireLogin && !onRequireLogin("create a new page")) return;- onCreatePage({ title: "Untitled page", content: "" });- }- : undefined- }- disabled={isCreatingPage}- className={`w-full flex items-center gap-2 px-3 py-2 rounded-xl bg-white dark:bg-zinc-800/90 border border-zinc-200 dark:border-zinc-700/80 text-zinc-800 dark:text-zinc-200 font-medium transition-colors shadow-2xs ${- isCreatingPage- ? "cursor-wait opacity-60"- : "hover:bg-zinc-50 dark:hover:bg-zinc-700 cursor-pointer"- }`}- >- {isCreatingPage ? (- <div className="w-3.5 h-3.5 border-2 border-indigo-500 border-t-transparent rounded-full animate-spin" />- ) : (- <NewPageIcon className="w-3.5 h-3.5 text-indigo-500" />- )}- <span>{isCreatingPage ? "Creating page..." : "New page"}</span>- </button>- </div>-- {/* Filter / Search input */}- <div className="px-3 py-1.5">- <div className="relative">- <SearchIcon className="w-3.5 h-3.5 text-zinc-400 absolute left-2.5 top-2" />- <input- type="text"- placeholder="Filter spaces & pages..."- value={searchQuery}- onChange={(e) => setSearchQuery(e.target.value)}- className="w-full bg-white dark:bg-zinc-900 border border-zinc-200 dark:border-zinc-700 rounded-lg pl-8 pr-2 py-1 text-xs text-zinc-900 dark:text-zinc-100 placeholder-zinc-400 focus:outline-none focus:border-zinc-400"- />- </div>- </div>-- {/* Spaces & Hierarchical Pages Tree (Modeled on OpenDots SpaceNav.tsx) */}- <div className="flex-1 overflow-y-auto px-2 py-2 space-y-2">- <div className="text-[10px] font-bold uppercase tracking-wider text-zinc-400 px-2 mb-1 flex items-center justify-between">- <span>SPACES LIBRARY</span>- <span className="text-[10px] text-zinc-400 font-normal">- {spaces.length} spaces- </span>- </div>-- {spaces.map((space) => {- const isSpaceActive = activeSpaceId === space.id;- const isExpanded = expandedSpaces[space.id] ?? isSpaceActive;- const spacePages = pages.filter((p) => p.space_id === space.id || isSpaceActive);-- const matchingPages = spacePages.filter((p) =>- (p.title || "").toLowerCase().includes(searchQuery.toLowerCase().trim())- );-- return (- <div key={space.id} className="space-y-0.5">- {/* Space Row */}- <div- className={`group flex items-center justify-between px-2 py-1.5 rounded-lg transition-colors cursor-pointer ${- isSpaceActive && !activePageId- ? "bg-zinc-200/90 dark:bg-zinc-800 text-zinc-900 dark:text-zinc-100 font-semibold"- : "text-zinc-700 dark:text-zinc-300 hover:bg-zinc-200/50 dark:hover:bg-zinc-800/50"- }`}- onClick={() => {- onSelectSpace(space.id);- onSelectPage(null); // Open Space Library overview- }}- >- <div className="flex items-center gap-1.5 min-w-0 flex-1">- {/* Expand / Collapse chevron */}- <button- type="button"- onClick={(e) => toggleSpaceExpand(space.id, e)}- className="p-0.5 rounded hover:bg-zinc-300/50 dark:hover:bg-zinc-700 text-zinc-400"- >- {isExpanded ? (- <ChevronDownIcon className="w-3 h-3" />- ) : (- <ChevronRightIcon className="w-3 h-3" />- )}- </button>-- <span className="text-sm shrink-0">{space.icon || "📁"}</span>- <span className="truncate text-xs font-medium">- {space.name}- </span>- </div>-- {onDeleteSpace && spaces.length > 1 && (- <button- type="button"- onClick={(e) => {- e.stopPropagation();- if (onRequireLogin && !onRequireLogin("delete a workspace")) return;- onDeleteSpace(space.id);- }}- title="Delete space"- className="opacity-0 group-hover:opacity-100 p-1 text-zinc-400 hover:text-red-500 rounded transition-opacity"- >- <TrashIcon className="w-3 h-3" />- </button>- )}- </div>-- {/* Nested Pages for this Space (Hierarchical Tree View) */}- {isExpanded && (- <div className="pl-1 pr-1 space-y-0.5 border-l border-zinc-200 dark:border-zinc-800 ml-3">- {isSpaceActive && matchingPages.length > 0 ? (- (() => {- const pageIdSet = new Set(matchingPages.map((p) => p.id));- const renderTree = (parentId = null, depth = 0) => {- const levelPages = matchingPages.filter((p) => {- if (parentId === null) {- return !p.parent_id || !pageIdSet.has(p.parent_id);- }- return p.parent_id === parentId;- });-- return levelPages.map((page) => {- const isPageSelected = activePageId === page.id;- const children = matchingPages.filter((c) => c.parent_id === page.id);- const hasChildren = children.length > 0;- const isPageExpanded = expandedPages[page.id] ?? true;-- return (- <div key={page.id} className="space-y-0.5">- <div- className={`group/page flex items-center justify-between py-1 px-1.5 rounded-md text-xs transition-colors cursor-pointer ${- isPageSelected- ? "bg-zinc-200/90 dark:bg-zinc-700 text-zinc-900 dark:text-zinc-100 font-medium"- : "text-zinc-600 dark:text-zinc-400 hover:bg-zinc-200/40 dark:hover:bg-zinc-800/40 hover:text-zinc-900 dark:hover:text-zinc-200"- }`}- style={{ paddingLeft: `${4 + depth * 12}px` }}- onClick={() => {- onSelectSpace(space.id);- onSelectPage(page.id);- }}- >- <div className="flex items-center gap-1.5 min-w-0 flex-1">- {hasChildren ? (- <button- type="button"- onClick={(e) => togglePageExpand(page.id, e)}- className="p-0.5 rounded hover:bg-zinc-300/50 dark:hover:bg-zinc-600 text-zinc-400 shrink-0"- title={isPageExpanded ? "Collapse sub-pages" : "Expand sub-pages"}- >- {isPageExpanded ? (- <ChevronDownIcon className="w-2.5 h-2.5" />- ) : (- <ChevronRightIcon className="w-2.5 h-2.5" />- )}- </button>- ) : (- <span className="w-2.5 shrink-0" />- )}- <span className="text-xs shrink-0">{page.icon || "📄"}</span>- <span className="truncate">{page.title || "Untitled"}</span>- </div>-- <div className="flex items-center gap-0.5 opacity-0 group-hover/page:opacity-100 transition-opacity shrink-0">- <button- type="button"- onClick={(e) => {- e.stopPropagation();- if (onRequireLogin && !onRequireLogin("create a sub-page")) return;- onCreatePage({- title: "Untitled sub-page",- content: "",- parent_id: page.id,- });- setExpandedPages((prev) => ({ ...prev, [page.id]: true }));- }}- title="Add sub-page"- className="p-0.5 rounded hover:bg-zinc-300/60 dark:hover:bg-zinc-600 text-zinc-400 hover:text-indigo-600 dark:hover:text-indigo-400"- >- <PlusIcon className="w-3 h-3" />- </button>- {onDeletePage && (- <button- type="button"- onClick={(e) => {- e.stopPropagation();- if (onRequireLogin && !onRequireLogin("delete a page")) return;- onDeletePage(page.id);- }}- title="Delete page"- className="p-0.5 rounded hover:bg-zinc-300/60 dark:hover:bg-zinc-600 text-zinc-400 hover:text-red-500"- >- <TrashIcon className="w-3 h-3" />- </button>- )}- </div>- </div>-- {hasChildren && isPageExpanded && renderTree(page.id, depth + 1)}- </div>- );- });- };-- return renderTree(null, 0);- })()- ) : (- <div className="text-[11px] text-zinc-400 px-2 py-1 italic">- No pages yet- </div>- )}- </div>- )}- </div>- );- })}- </div>-- {/* Footer with ThemeToggle */}- <div className="p-3 border-t border-zinc-200/80 dark:border-zinc-800/80 flex items-center justify-between">- <span className="text-[11px] text-zinc-400 font-medium">Theme</span>- <ThemeToggle />- </div>-- {/* Modal for Creating a New Space */}- {showNewSpaceModal && (- <div className="fixed inset-0 z-50 bg-black/40 backdrop-blur-2xs flex items-center justify-center p-4">- <div className="bg-white dark:bg-[#1e1e24] border border-zinc-200 dark:border-zinc-700 rounded-2xl w-full max-w-sm p-5 shadow-xl select-text">- <div className="flex items-center justify-between mb-3">- <h3 className="text-sm font-semibold text-zinc-900 dark:text-zinc-100">- Create New Space- </h3>- <button- onClick={() => setShowNewSpaceModal(false)}- className="text-zinc-400 hover:text-zinc-600 dark:hover:text-zinc-200 cursor-pointer"- >- <CloseIcon className="w-4 h-4" />- </button>- </div>- <form onSubmit={handleCreateSpaceSubmit} className="space-y-3">- <div>- <label className="block text-[11px] font-medium text-zinc-500 mb-1">- Space Name- </label>- <input- type="text"- required- placeholder="e.g. Marketing, Product Specs..."- value={newSpaceName}- onChange={(e) => setNewSpaceName(e.target.value)}- className="w-full bg-zinc-50 dark:bg-zinc-900 border border-zinc-300 dark:border-zinc-700 rounded-xl px-3 py-2 text-xs text-zinc-900 dark:text-zinc-100 focus:outline-none focus:border-zinc-500"- autoFocus- />- </div>-- <div>- <label className="block text-[11px] font-medium text-zinc-500 mb-1">- Description- </label>- <textarea- rows={2}- placeholder="Optional description of this workspace..."- value={newSpaceDesc}- onChange={(e) => setNewSpaceDesc(e.target.value)}- className="w-full bg-zinc-50 dark:bg-zinc-900 border border-zinc-300 dark:border-zinc-700 rounded-xl px-3 py-1.5 text-xs text-zinc-900 dark:text-zinc-100 focus:outline-none focus:border-zinc-500 resize-none"- />- </div>-- <div className="grid grid-cols-2 gap-2.5">- <div>- <label className="block text-[11px] font-medium text-zinc-500 mb-1">- Icon- </label>- <CustomDropdown- value={newSpaceIcon}- onChange={setNewSpaceIcon}- options={ICON_OPTIONS}- className="w-full"- buttonClassName="w-full justify-between bg-zinc-50 dark:bg-zinc-900 border-zinc-300 dark:border-zinc-700 rounded-xl"- />- </div>- <div>- <label className="block text-[11px] font-medium text-zinc-500 mb-1">- Theme Color- </label>- <CustomDropdown- value={newSpaceColor}- onChange={setNewSpaceColor}- options={COLOR_OPTIONS}- className="w-full"- buttonClassName="w-full justify-between bg-zinc-50 dark:bg-zinc-900 border-zinc-300 dark:border-zinc-700 rounded-xl"- />- </div>- </div>-- <div className="flex justify-end gap-2 pt-1">- <button- type="button"- onClick={() => setShowNewSpaceModal(false)}- className="px-3 py-1.5 text-xs text-zinc-600 dark:text-zinc-400 hover:bg-zinc-100 dark:hover:bg-zinc-800 rounded-lg cursor-pointer"- >- Cancel- </button>- <button- type="submit"- className="px-4 py-1.5 bg-zinc-900 dark:bg-white text-white dark:text-zinc-900 rounded-xl text-xs font-medium hover:opacity-90 transition-opacity cursor-pointer shadow-xs"- >- Create Space- </button>- </div>- </form>- </div>- </div>- )}- </aside>- );-}diff --git a/client/src/components/ThemeProvider.js b/client/src/components/ThemeProvider.jsdeleted file mode 100644index 580e8c1..0000000--- a/client/src/components/ThemeProvider.js+++ /dev/null@@ -1,8 +0,0 @@-"use client";--import * as React from "react";-import { ThemeProvider as NextThemesProvider } from "next-themes";--export function ThemeProvider({ children, ...props }) {- return <NextThemesProvider {...props}>{children}</NextThemesProvider>;-}diff --git a/client/src/components/ThemeToggle.js b/client/src/components/ThemeToggle.jsdeleted file mode 100644index f07ff00..0000000--- a/client/src/components/ThemeToggle.js+++ /dev/null@@ -1,63 +0,0 @@-"use client";--import React, { useEffect, useState } from "react";-import { useTheme } from "next-themes";-import { SunIcon, MoonIcon, MonitorIcon } from "./Icons";--export default function ThemeToggle() {- const [mounted, setMounted] = useState(false);- const { theme, setTheme } = useTheme();-- useEffect(() => {- setMounted(true);- }, []);-- if (!mounted) {- return (- <div className="flex items-center gap-1 bg-zinc-200/60 dark:bg-zinc-800/80 p-1 rounded-lg w-24 h-7 animate-pulse" />- );- }-- return (- <div className="flex items-center bg-zinc-200/80 dark:bg-zinc-800/80 p-0.5 rounded-lg border border-zinc-300 dark:border-zinc-700/80">- <button- onClick={() => setTheme("light")}- className={`p-1 rounded-md transition-all ${- theme === "light"- ? "bg-white text-amber-500 shadow-xs"- : "text-zinc-500 dark:text-zinc-400 hover:text-zinc-800 dark:hover:text-zinc-200"- }`}- title="Light theme"- aria-label="Light theme"- >- <SunIcon className="w-3.5 h-3.5" />- </button>-- <button- onClick={() => setTheme("dark")}- className={`p-1 rounded-md transition-all ${- theme === "dark"- ? "bg-zinc-700 text-indigo-300 shadow-xs"- : "text-zinc-500 dark:text-zinc-400 hover:text-zinc-800 dark:hover:text-zinc-200"- }`}- title="Dark theme"- aria-label="Dark theme"- >- <MoonIcon className="w-3.5 h-3.5" />- </button>-- <button- onClick={() => setTheme("system")}- className={`p-1 rounded-md transition-all ${- theme === "system"- ? "bg-white dark:bg-zinc-700 text-indigo-600 dark:text-indigo-300 shadow-xs"- : "text-zinc-500 dark:text-zinc-400 hover:text-zinc-800 dark:hover:text-zinc-200"- }`}- title="System default theme"- aria-label="System default theme"- >- <MonitorIcon className="w-3.5 h-3.5" />- </button>- </div>- );-}diff --git a/client/src/components/editor/AiImageView.js b/client/src/components/editor/AiImageView.jsdeleted file mode 100644index 936394b..0000000--- a/client/src/components/editor/AiImageView.js+++ /dev/null@@ -1,411 +0,0 @@-"use client";--import React, { useState, useRef, useEffect, useCallback } from "react";-import { NodeViewWrapper, ReactNodeViewRenderer } from "@tiptap/react";-import { Node, mergeAttributes } from "@tiptap/core";-import {- LuSparkles,- LuImage,- LuArrowUp,- LuX,- LuLoader2,- LuRefreshCw,- LuWand,-} from "react-icons/lu";-import CustomDropdown from "../CustomDropdown";--const API_BASE = process.env.NEXT_PUBLIC_API_BASE || "http://localhost:8000/api";--const ASPECT_RATIO_OPTIONS = [- { label: "1:1 Square", value: "1:1" },- { label: "16:9 Landscape", value: "16:9" },- { label: "9:16 Portrait", value: "9:16" },- { label: "4:3 Classic", value: "4:3" },-];--const RESOLUTION_OPTIONS = [- { label: "2K High Res", value: "2K" },- { label: "4K Ultra HD", value: "4K" },- { label: "1K Preview", value: "1K" },-];--const QUICK_IMAGE_CHIPS = [- { label: "Concept illustration", prompt: "A sleek conceptual editorial 3D illustration with glowing soft lighting" },- { label: "Architecture / Tech", prompt: "Modern futuristic architecture diagram with clean isometric perspective" },- { label: "Minimalist banner", prompt: "Minimalist geometric banner with deep violet accents and soft studio backdrop" },-];--export function AiImageComponent({ editor, node, getPos, deleteNode }) {- const [promptText, setPromptText] = useState("");- const [aspectRatio, setAspectRatio] = useState("1:1");- const [resolution, setResolution] = useState("2K");- const [loading, setLoading] = useState(false);- const [analyzingContext, setAnalyzingContext] = useState(false);- const [statusMsg, setStatusMsg] = useState("");- const [errorMsg, setErrorMsg] = useState("");- const inputRef = useRef(null);- const abortControllerRef = useRef(null);-- // Auto focus input on mount- useEffect(() => {- const timer = setTimeout(() => {- inputRef.current?.focus();- }, 50);- return () => clearTimeout(timer);- }, []);-- // Dismiss on Escape- const handleKeyDown = (e) => {- if (e.key === "Escape") {- e.preventDefault();- handleDismiss();- } else if (e.key === "Enter" && !e.shiftKey) {- e.preventDefault();- if (promptText.trim() && !loading) {- handleGenerate(promptText);- }- }- };-- const handleDismiss = () => {- if (abortControllerRef.current) {- abortControllerRef.current.abort();- }- if (typeof deleteNode === "function") {- deleteNode();- }- };-- // Generate prompt automatically from existing content- const handleSuggestFromContent = async () => {- if (analyzingContext || loading || !editor) return;- setAnalyzingContext(true);- setErrorMsg("");-- try {- const currentPos = typeof getPos === "function" ? getPos() : 0;- const doc = editor.state.doc;- const totalSize = doc.content.size;-- // Extract surrounding context (before and after)- const beforeContext = doc.textBetween(Math.max(0, currentPos - 1200), currentPos, "\n");- const fullDoc = editor.getMarkdown ? editor.getMarkdown() : editor.getText();- const pageTitle = editor.storage?.pageContext?.title || "Document";-- const contextToSend = beforeContext.trim().length > 40 ? beforeContext : fullDoc;-- const res = await fetch(`${API_BASE}/images/suggest-prompt`, {- method: "POST",- headers: { "Content-Type": "application/json" },- body: JSON.stringify({- context: contextToSend || "Creative AI collaboration document",- title: pageTitle,- }),- });-- if (res.ok) {- const data = await res.json();- if (data.suggested_prompt) {- setPromptText(data.suggested_prompt);- }- }- } catch (err) {- console.warn("Failed to suggest image prompt:", err);- } finally {- setAnalyzingContext(false);- inputRef.current?.focus();- }- };-- const handleGenerate = useCallback(- async (customPrompt) => {- const activePrompt = (customPrompt || promptText).trim();- if (!activePrompt || loading || !editor) return;-- setLoading(true);- setErrorMsg("");- setStatusMsg("Generating image with GPT-Image-2…");-- const currentPos = typeof getPos === "function" ? getPos() : null;- if (currentPos === null || isNaN(currentPos)) {- setErrorMsg("Unable to locate insertion point.");- setLoading(false);- return;- }-- abortControllerRef.current = new AbortController();-- try {- const res = await fetch(`${API_BASE}/images/generate`, {- method: "POST",- headers: { "Content-Type": "application/json" },- signal: abortControllerRef.current.signal,- body: JSON.stringify({- prompt: activePrompt,- aspect_ratio: aspectRatio,- resolution: resolution,- model: "gpt-image-2-text-to-image",- }),- });-- if (!res.ok) {- throw new Error(`Image service responded with status ${res.status}`);- }-- const data = await res.json();- const imageUrl = data?.image_url;- if (!imageUrl) {- throw new Error("No image was returned from the generator.");- }-- // Replace this node with the generated image at that exact place- let targetPos = null;- if (typeof getPos === "function") {- try {- const p = getPos();- if (typeof p === "number" && !isNaN(p)) {- targetPos = p;- }- } catch (e) {}- }- if (targetPos === null || typeof targetPos === "undefined" || isNaN(targetPos)) {- targetPos = currentPos;- }-- const targetNodeSize = node?.nodeSize || 1;-- let replaced = false;- if (typeof targetPos === "number" && !isNaN(targetPos)) {- try {- replaced = editor- .chain()- .focus()- .insertContentAt(- { from: targetPos, to: targetPos + targetNodeSize },- [- {- type: "image",- attrs: {- src: imageUrl,- alt: activePrompt || "AI generated image",- },- },- {- type: "paragraph",- },- ]- )- .run();- } catch (e) {- console.warn("insertContentAt range failed:", e);- }- }-- if (!replaced) {- if (typeof deleteNode === "function") {- try {- deleteNode();- } catch (e) {}- }- editor- .chain()- .focus()- .setImage({- src: imageUrl,- alt: activePrompt || "AI generated image",- })- .run();- }- } catch (err) {- if (err.name === "AbortError") return;- console.error("Image generation failed:", err);- setErrorMsg(err.message || "Failed to generate image. Please try again.");- setLoading(false);- }- },- [promptText, aspectRatio, resolution, loading, editor, getPos, node, deleteNode]- );-- return (- <NodeViewWrapper- className="ai-image-node-wrapper my-2 select-none"- contentEditable={false}- >- <div className="ai-image-card rounded-xl border border-zinc-200/90 dark:border-zinc-800 bg-white dark:bg-[#18181b] p-2.5 shadow-sm transition-all">- {/* State 1: Generating Image Loader AT THIS PLACE ONLY */}- {loading ? (- <div className="ai-loader-container flex flex-col gap-2 py-0.5 px-0.5">- <div className="flex items-center justify-between">- <div className="flex items-center gap-1.5 text-[11px] font-medium text-purple-600 dark:text-purple-400">- <LuWand className="animate-spin text-xs" />- <span>{statusMsg || "Generating with GPT-Image-2…"}</span>- </div>- <button- type="button"- onClick={handleDismiss}- className="flex items-center gap-1 rounded px-1.5 py-0.5 text-[10px] text-zinc-400 hover:text-zinc-700 dark:hover:text-zinc-200 transition-colors"- title="Cancel generation"- >- <LuX size={11} />- <span>Cancel</span>- </button>- </div>-- {/* Shimmering Image Skeleton Loader */}- <div className="h-40 w-full rounded-lg bg-gradient-to-r from-purple-200/40 via-zinc-200/60 to-purple-200/40 dark:from-purple-950/30 dark:via-zinc-800/60 dark:to-purple-950/30 animate-pulse flex flex-col items-center justify-center gap-2 text-zinc-400 dark:text-zinc-500">- <LuImage size={24} className="opacity-50 animate-bounce" />- <span className="text-[11px] font-medium">Rendering pixels with GPT-Image-2…</span>- </div>- </div>- ) : (- /* State 2: Image Prompt Input & Content Context Trigger */- <div className="flex flex-col gap-2">- {/* Header: Badge, Context Generator button, Close */}- <div className="flex items-center justify-between">- <div className="flex items-center gap-1.5">- <div className="flex items-center gap-1 px-1.5 py-0.5 rounded-full bg-purple-50 dark:bg-purple-950/50 text-[10px] font-medium text-purple-700 dark:text-purple-300 border border-purple-200/50 dark:border-purple-800/40">- <LuImage size={10} className="text-purple-500" />- <span>GPT-Image-2</span>- </div>-- {/* Option to generate prompt from existing page content */}- <button- type="button"- onClick={handleSuggestFromContent}- disabled={analyzingContext}- className="flex items-center gap-1 px-2 py-0.5 rounded-full text-[10px] font-medium text-purple-600 dark:text-purple-300 bg-purple-500/10 hover:bg-purple-500/20 border border-purple-500/20 transition-all cursor-pointer"- title="Analyze existing content and generate an ideal image prompt"- >- <LuSparkles size={10} className={analyzingContext ? "animate-spin" : ""} />- <span>{analyzingContext ? "Reading content…" : "Use page content"}</span>- </button>- </div>-- <button- type="button"- onClick={handleDismiss}- className="p-0.5 rounded text-zinc-400 hover:text-zinc-600 dark:hover:text-zinc-300 transition-colors cursor-pointer"- title="Dismiss (Esc)"- >- <LuX size={12} />- </button>- </div>-- {/* Prompt Input Pill */}- <div className="relative flex items-center w-full rounded-full border border-zinc-200 dark:border-zinc-700/70 bg-zinc-50/80 dark:bg-[#202024] focus-within:border-purple-500/80 dark:focus-within:border-purple-400/80 focus-within:ring-1 focus-within:ring-purple-500/20 transition-all">- <input- ref={inputRef}- type="text"- value={promptText}- onChange={(e) => setPromptText(e.target.value)}- onKeyDown={handleKeyDown}- placeholder="Describe image to generate with GPT-Image-2…"- className="w-full bg-transparent pl-3 pr-8 py-1.5 text-xs text-zinc-900 dark:text-zinc-100 placeholder-zinc-400 dark:placeholder-zinc-500 outline-none"- />- <button- type="button"- disabled={!promptText.trim() || loading}- onClick={() => handleGenerate(promptText)}- className={`absolute right-1 w-6 h-6 rounded-full flex items-center justify-center transition-all ${- promptText.trim() && !loading- ? "bg-zinc-900 dark:bg-white text-white dark:text-zinc-900 shadow-sm hover:scale-105 active:scale-95 cursor-pointer"- : "bg-zinc-200/70 dark:bg-zinc-800 text-zinc-400 dark:text-zinc-600 cursor-not-allowed"- }`}- title="Generate Image"- >- <LuArrowUp size={12} className="stroke-[2.5]" />- </button>- </div>-- {/* Error Banner if any */}- {errorMsg && (- <div className="flex items-center justify-between text-[11px] text-rose-500 bg-rose-50 dark:bg-rose-950/40 border border-rose-200 dark:border-rose-900/50 rounded-md px-2 py-1">- <span>{errorMsg}</span>- <button- type="button"- onClick={() => handleGenerate(promptText)}- className="flex items-center gap-1 font-semibold underline hover:text-rose-600 ml-2"- >- <LuRefreshCw size={10} />- <span>Retry</span>- </button>- </div>- )}-- {/* Controls: Aspect Ratio + Quick Chips */}- <div className="flex items-center justify-between flex-wrap gap-1.5 pt-0.5">- {/* Custom Dropdowns for Aspect Ratio & Resolution */}- <div className="flex items-center gap-1.5">- <CustomDropdown- value={aspectRatio}- onChange={setAspectRatio}- options={ASPECT_RATIO_OPTIONS}- size="xs"- buttonClassName="bg-zinc-100 dark:bg-zinc-800 text-zinc-700 dark:text-zinc-300 rounded-md py-0.5 px-2 text-[10px]"- />- <CustomDropdown- value={resolution}- onChange={setResolution}- options={RESOLUTION_OPTIONS}- size="xs"- buttonClassName="bg-zinc-100 dark:bg-zinc-800 text-zinc-700 dark:text-zinc-300 rounded-md py-0.5 px-2 text-[10px]"- />- </div>-- {/* Quick style inspiration */}- <div className="flex items-center gap-1">- {QUICK_IMAGE_CHIPS.map((chip, idx) => (- <button- key={idx}- type="button"- onClick={() => {- setPromptText(chip.prompt);- handleGenerate(chip.prompt);- }}- className="px-1.5 py-0.5 rounded text-[10px] bg-zinc-100 dark:bg-zinc-800/80 text-zinc-600 dark:text-zinc-300 hover:bg-purple-100 hover:text-purple-700 dark:hover:bg-purple-900/40 dark:hover:text-purple-200 transition-colors cursor-pointer"- >- {chip.label}- </button>- ))}- </div>- </div>- </div>- )}- </div>- </NodeViewWrapper>- );-}--export const AiImageNode = Node.create({- name: "aiImagePrompt",- group: "block",- atom: true,- selectable: true,- draggable: false,-- parseHTML() {- return [- {- tag: 'div[data-type="ai-image-prompt"]',- },- ];- },-- renderHTML({ HTMLAttributes }) {- return ["div", mergeAttributes(HTMLAttributes, { "data-type": "ai-image-prompt" })];- },-- addStorage() {- return {- markdown: {- serialize() {- return "";- },- },- };- },-- addNodeView() {- return ReactNodeViewRenderer(AiImageComponent);- },-});diff --git a/client/src/components/editor/AiPromptView.js b/client/src/components/editor/AiPromptView.jsdeleted file mode 100644index 59bb720..0000000--- a/client/src/components/editor/AiPromptView.js+++ /dev/null@@ -1,338 +0,0 @@-"use client";--import React, { useState, useRef, useEffect, useCallback } from "react";-import { NodeViewWrapper, ReactNodeViewRenderer } from "@tiptap/react";-import { Node, mergeAttributes } from "@tiptap/core";-import {- LuSparkles,- LuArrowUp,- LuX,- LuLoader2,- LuRefreshCw,- LuFileText,- LuLightbulb,-} from "react-icons/lu";--const API_BASE = process.env.NEXT_PUBLIC_API_BASE || "http://localhost:8000/api";--const QUICK_SUGGESTIONS = [- { label: "Draft section", prompt: "Draft a comprehensive section expanding on the points above with clear insights" },- { label: "Add 3 examples", prompt: "Provide 3 concrete, real-world examples illustrating the concepts discussed above" },- { label: "Add checklist", prompt: "Create an actionable step-by-step checklist of next steps" },- { label: "Summarize above", prompt: "Write a concise summary callout highlighting the key takeaways from the previous sections" },-];--export function AiPromptComponent({ editor, node, getPos, deleteNode }) {- const [promptText, setPromptText] = useState("");- const [loading, setLoading] = useState(false);- const [statusMsg, setStatusMsg] = useState("");- const [errorMsg, setErrorMsg] = useState("");- const inputRef = useRef(null);- const abortControllerRef = useRef(null);-- // Auto focus input when inserted- useEffect(() => {- const timer = setTimeout(() => {- inputRef.current?.focus();- }, 50);- return () => clearTimeout(timer);- }, []);-- // Dismiss on Escape- const handleKeyDown = (e) => {- if (e.key === "Escape") {- e.preventDefault();- handleDismiss();- } else if (e.key === "Enter" && !e.shiftKey) {- e.preventDefault();- if (promptText.trim() && !loading) {- handleGenerate(promptText);- }- }- };-- const handleDismiss = () => {- if (abortControllerRef.current) {- abortControllerRef.current.abort();- }- if (typeof deleteNode === "function") {- deleteNode();- }- };-- const handleGenerate = useCallback(- async (rawPrompt) => {- const userPrompt = (rawPrompt || promptText).trim();- if (!userPrompt || loading || !editor) return;-- setLoading(true);- setErrorMsg("");- setStatusMsg("Reading full document context & drafting…");-- const currentPos = typeof getPos === "function" ? getPos() : null;- if (currentPos === null || isNaN(currentPos)) {- setErrorMsg("Unable to locate insertion point.");- setLoading(false);- return;- }-- // 1. Gather all document context- const fullDoc = editor.getMarkdown ? editor.getMarkdown() : editor.getText();- const pageTitle = editor.storage?.pageContext?.title || "Pages Document";-- // 2. Extract surrounding text (before & after insertion point)- let beforeContext = "";- let afterContext = "";- try {- const doc = editor.state.doc;- const totalSize = doc.content.size;- beforeContext = doc.textBetween(Math.max(0, currentPos - 1500), currentPos, "\n");- const nodeSize = node.nodeSize || 1;- afterContext = doc.textBetween(- Math.min(totalSize, currentPos + nodeSize),- Math.min(totalSize, currentPos + nodeSize + 1500),- "\n"- );- } catch (err) {- console.warn("Context extraction error:", err);- }-- // 3. Construct targeted system prompt- const systemPrompt = `You are an advanced model in Open Spaces (GPT-6.1 Sol Light).-You are writing content to be inserted directly into an active document at a specific location between existing sections.--DOCUMENT TITLE:-${pageTitle}--FULL DOCUMENT CONTENT (FOR FULL CONTEXT):-"""-${fullDoc || "(Document is currently blank)"}-"""--CONTENT IMMEDIATELY BEFORE THIS INSERTION:-"""-${beforeContext || "(Top of document)"}-"""--CONTENT IMMEDIATELY AFTER THIS INSERTION:-"""-${afterContext || "(Bottom of document)"}-"""--USER'S REQUEST FOR WHAT TO INSERT HERE:-"${userPrompt}"--CRITICAL INSTRUCTIONS:-1. Generate ONLY the markdown content that belongs at this exact insertion point.-2. Maintain perfect stylistic, structural, and topical continuity with the surrounding text.-3. Do NOT repeat or duplicate headings or sentences that already exist before or after.-4. Do NOT include ANY conversational preamble (e.g. "Sure, here's...", "Certainly!", "Here is the section:").-5. Do NOT include sign-offs or meta notes (e.g. "Let me know if you need more...").-6. Format richly using clean Markdown (e.g. headings, bullet points, checklists, quotes, or code blocks where appropriate).-7. Return ONLY the markdown content to insert.`;-- abortControllerRef.current = new AbortController();-- try {- const res = await fetch(`${API_BASE}/chat`, {- method: "POST",- headers: { "Content-Type": "application/json" },- signal: abortControllerRef.current.signal,- body: JSON.stringify({- prompt: userPrompt,- system_prompt: systemPrompt,- model: "gpt-6-1-sol",- project: pageTitle,- }),- });-- if (!res.ok) {- throw new Error(`AI service responded with status ${res.status}`);- }-- const data = await res.json();- let reply = (data?.reply || "").trim();-- // Strip outer code fences if the model wrapped everything in ```markdown ... ```- if (reply.startsWith("```markdown") && reply.endsWith("```")) {- reply = reply.slice(11, -3).trim();- } else if (reply.startsWith("```md") && reply.endsWith("```")) {- reply = reply.slice(5, -3).trim();- }-- if (!reply) {- throw new Error("AI did not generate any content.");- }-- // 4. Modify at that place only: replace this node with the generated content- const targetPos = typeof getPos === "function" ? getPos() : currentPos;- const targetNodeSize = node.nodeSize || 1;-- editor- .chain()- .focus()- .deleteRange({ from: targetPos, to: targetPos + targetNodeSize })- .insertContentAt(targetPos, reply, {- contentType: "markdown",- })- .run();- } catch (err) {- if (err.name === "AbortError") return;- console.error("AI Generation failed:", err);- setErrorMsg(err.message || "Failed to generate content. Please try again.");- setLoading(false);- }- },- [promptText, loading, editor, getPos, node]- );-- return (- <NodeViewWrapper- className="ai-prompt-node-wrapper my-2 select-none"- contentEditable={false}- >- <div className="ai-prompt-card rounded-xl border border-zinc-200/90 dark:border-zinc-800 bg-white dark:bg-[#18181b] p-2.5 shadow-sm transition-all">- {/* State 1: Active Loading State AT THIS PLACE ONLY */}- {loading ? (- <div className="ai-loader-container flex flex-col gap-2 py-0.5 px-0.5">- {/* Header with spinner and status */}- <div className="flex items-center justify-between">- <div className="flex items-center gap-1.5 text-[11px] font-medium text-purple-600 dark:text-purple-400">- <LuSparkles className="animate-spin text-xs" />- <span>{statusMsg || "Generating with AI…"}</span>- </div>- <button- type="button"- onClick={handleDismiss}- className="flex items-center gap-1 rounded px-1.5 py-0.5 text-[10px] text-zinc-400 hover:text-zinc-700 dark:hover:text-zinc-200 transition-colors"- title="Cancel generation"- >- <LuX size={11} />- <span>Cancel</span>- </button>- </div>-- {/* Shimmering Skeleton Loader at this exact location */}- <div className="space-y-1.5 pt-0.5">- <div className="h-2.5 w-4/5 rounded-full bg-gradient-to-r from-purple-200/40 via-zinc-200/60 to-purple-200/40 dark:from-purple-950/30 dark:via-zinc-800/60 dark:to-purple-950/30 animate-pulse" />- <div className="h-2 w-full rounded-full bg-gradient-to-r from-zinc-200/50 via-zinc-200/80 to-zinc-200/50 dark:from-zinc-800/40 dark:via-zinc-700/60 dark:to-zinc-800/40 animate-pulse delay-75" />- <div className="h-2 w-2/3 rounded-full bg-gradient-to-r from-zinc-200/50 via-zinc-200/80 to-zinc-200/50 dark:from-zinc-800/40 dark:via-zinc-700/60 dark:to-zinc-800/40 animate-pulse delay-150" />- </div>- </div>- ) : (- /* State 2: Input & Suggestion Box (Matches Screenshot 2 - Minimal) */- <div className="flex flex-col gap-2">- {/* Top Badge & Close button */}- <div className="flex items-center justify-between">- <div className="flex items-center gap-1 px-1.5 py-0.5 rounded-full bg-purple-50 dark:bg-purple-950/50 text-[10px] font-medium text-purple-700 dark:text-purple-300 border border-purple-200/50 dark:border-purple-800/40">- <LuSparkles size={9} className="text-purple-500" />- <span>Generate</span>- </div>- <button- type="button"- onClick={handleDismiss}- className="p-0.5 rounded text-zinc-400 hover:text-zinc-600 dark:hover:text-zinc-300 transition-colors cursor-pointer"- title="Dismiss (Esc)"- >- <LuX size={12} />- </button>- </div>-- {/* Pill Search / Prompt Input (Matches Screenshot 2) */}- <div className="relative flex items-center w-full rounded-full border border-zinc-200 dark:border-zinc-700/70 bg-zinc-50/80 dark:bg-[#202024] focus-within:border-purple-500/80 dark:focus-within:border-purple-400/80 focus-within:ring-1 focus-within:ring-purple-500/20 transition-all">- <input- ref={inputRef}- type="text"- value={promptText}- onChange={(e) => setPromptText(e.target.value)}- onKeyDown={handleKeyDown}- placeholder="What would you like to write?"- className="w-full bg-transparent pl-3 pr-8 py-1.5 text-xs text-zinc-900 dark:text-zinc-100 placeholder-zinc-400 dark:placeholder-zinc-500 outline-none"- />- <button- type="button"- disabled={!promptText.trim() || loading}- onClick={() => handleGenerate(promptText)}- className={`absolute right-1 w-6 h-6 rounded-full flex items-center justify-center transition-all ${- promptText.trim() && !loading- ? "bg-zinc-900 dark:bg-white text-white dark:text-zinc-900 shadow-sm hover:scale-105 active:scale-95 cursor-pointer"- : "bg-zinc-200/70 dark:bg-zinc-800 text-zinc-400 dark:text-zinc-600 cursor-not-allowed"- }`}- title="Generate with AI"- >- <LuArrowUp size={12} className="stroke-[2.5]" />- </button>- </div>-- {/* Error Message if any */}- {errorMsg && (- <div className="flex items-center justify-between text-[11px] text-rose-500 bg-rose-50 dark:bg-rose-950/40 border border-rose-200 dark:border-rose-900/50 rounded-md px-2 py-1">- <span>{errorMsg}</span>- <button- type="button"- onClick={() => handleGenerate(promptText)}- className="flex items-center gap-1 font-semibold underline hover:text-rose-600 ml-2"- >- <LuRefreshCw size={10} />- <span>Retry</span>- </button>- </div>- )}-- {/* Quick Suggestion Chips */}- <div className="flex items-center gap-1 flex-wrap">- <span className="text-[10px] text-zinc-400 dark:text-zinc-500 mr-0.5">Quick:</span>- {QUICK_SUGGESTIONS.map((item, idx) => (- <button- key={idx}- type="button"- onClick={() => {- setPromptText(item.prompt);- handleGenerate(item.prompt);- }}- className="px-2 py-0.5 rounded text-[10px] font-medium bg-zinc-100 dark:bg-zinc-800 text-zinc-600 dark:text-zinc-300 hover:bg-purple-100 hover:text-purple-700 dark:hover:bg-purple-900/40 dark:hover:text-purple-200 transition-colors cursor-pointer"- >- {item.label}- </button>- ))}- </div>- </div>- )}- </div>- </NodeViewWrapper>- );-}--export const AiPromptNode = Node.create({- name: "aiPrompt",- group: "block",- atom: true,- selectable: true,- draggable: false,-- parseHTML() {- return [- {- tag: 'div[data-type="ai-prompt"]',- },- ];- },-- renderHTML({ HTMLAttributes }) {- return ["div", mergeAttributes(HTMLAttributes, { "data-type": "ai-prompt" })];- },-- addStorage() {- return {- markdown: {- serialize() {- return "";- },- },- };- },-- addNodeView() {- return ReactNodeViewRenderer(AiPromptComponent);- },-});diff --git a/client/src/components/editor/CodeBlockView.js b/client/src/components/editor/CodeBlockView.jsdeleted file mode 100644index 58193a6..0000000--- a/client/src/components/editor/CodeBlockView.js+++ /dev/null@@ -1,109 +0,0 @@-"use client";--import React, { useState } from "react";-import { NodeViewWrapper, NodeViewContent, ReactNodeViewRenderer } from "@tiptap/react";-import CodeBlock from "@tiptap/extension-code-block";-import CustomDropdown from "../CustomDropdown";-import { LuCheck, LuCopy } from "react-icons/lu";--export const CODE_LANGUAGES = [- { label: "JavaScript", value: "javascript" },- { label: "TypeScript", value: "typescript" },- { label: "Python", value: "python" },- { label: "HTML", value: "html" },- { label: "CSS", value: "css" },- { label: "JSON", value: "json" },- { label: "SQL", value: "sql" },- { label: "Bash / Shell", value: "bash" },- { label: "Rust", value: "rust" },- { label: "Go", value: "go" },- { label: "C++", value: "cpp" },- { label: "Java", value: "java" },- { label: "PHP", value: "php" },- { label: "Markdown", value: "markdown" },- { label: "Plain Text", value: "plaintext" },-];--const ALIASES = {- js: "javascript",- ts: "typescript",- py: "python",- sh: "bash",- shell: "bash",- zsh: "bash",- yml: "yaml",- c: "cpp",- text: "plaintext",- txt: "plaintext",-};--export function CodeBlockComponent({ node, updateAttributes }) {- const rawLang = (node?.attrs?.language || "plaintext").toLowerCase();- const currentLang = ALIASES[rawLang] || rawLang;- const [copied, setCopied] = useState(false);-- const handleCopy = () => {- try {- const text = node?.textContent || "";- navigator.clipboard.writeText(text);- setCopied(true);- setTimeout(() => setCopied(false), 1500);- } catch (e) {- console.warn("Copy failed:", e);- }- };-- return (- <NodeViewWrapper className="code-block-container my-4 rounded-xl overflow-hidden border border-zinc-800 bg-[#16161a] text-zinc-100 shadow-md">- {/* Individual Code Block Header Bar */}- <div- className="code-block-header flex items-center justify-between px-3 py-1.5 bg-[#1f1f24] border-b border-zinc-800 text-xs select-none"- contentEditable={false}- >- {/* Custom Language Dropdown directly on this code block */}- <div className="flex items-center gap-2">- <CustomDropdown- value={currentLang}- onChange={(newLang) => updateAttributes({ language: newLang === "plaintext" ? null : newLang })}- options={CODE_LANGUAGES}- size="sm"- searchable={true}- buttonClassName="bg-zinc-800/90 hover:bg-zinc-700/80 text-zinc-300 hover:text-white border-zinc-700/60 rounded-md py-0.5 px-2 text-[11px]"- menuClassName="bg-[#1f1f24] border-zinc-700 text-zinc-200 shadow-2xl"- />- </div>-- {/* 1-Click Copy Code Button */}- <button- type="button"- onClick={handleCopy}- className="flex items-center gap-1 px-2 py-0.5 rounded text-[11px] font-medium text-zinc-400 hover:text-white hover:bg-zinc-800 transition-colors cursor-pointer"- title="Copy code to clipboard"- >- {copied ? (- <>- <LuCheck size={12} className="text-emerald-400" />- <span className="text-emerald-400 font-semibold">Copied!</span>- </>- ) : (- <>- <LuCopy size={12} />- <span>Copy</span>- </>- )}- </button>- </div>-- {/* Code Text Content */}- <pre className="!p-4 !m-0 !bg-transparent !border-0 overflow-x-auto text-[13px] font-mono leading-relaxed text-zinc-200">- <NodeViewContent as="code" className={currentLang ? `language-${currentLang}` : ""} />- </pre>- </NodeViewWrapper>- );-}--export const CustomCodeBlock = CodeBlock.extend({- addNodeView() {- return ReactNodeViewRenderer(CodeBlockComponent);- },-});diff --git a/client/src/components/editor/RichEditor.js b/client/src/components/editor/RichEditor.jsdeleted file mode 100644index cc18edd..0000000--- a/client/src/components/editor/RichEditor.js+++ /dev/null@@ -1,548 +0,0 @@-"use client";--import React, { useEffect, useRef, useState } from "react";-import { EditorContent, useEditor, useEditorState } from "@tiptap/react";-import { Markdown } from "@tiptap/markdown";-import Placeholder from "@tiptap/extension-placeholder";-import {- LuBold,- LuItalic,- LuHeading1,- LuHeading2,- LuHeading3,- LuList,- LuListOrdered,- LuListTodo,- LuQuote,- LuCode,- LuTable,- LuMinus,- LuLink,- LuUndo2,- LuRedo2,- LuPlus,- LuChevronDown,- LuTrash2,- LuSparkles,-} from "react-icons/lu";-import { documentExtensions } from "./markdown";-import { SlashCommands } from "./slash-commands";-import "./editor.css";--export default function RichEditor({- value = "",- onChange,- onNotice,- pageTitle = "Page",- pageId = "",-}) {- const changeRef = useRef(onChange);- changeRef.current = onChange;- const noticeRef = useRef(onNotice);- noticeRef.current = onNotice;- const emittedRef = useRef(value);-- const [showInsertMenu, setShowInsertMenu] = useState(false);- const insertMenuRef = useRef(null);-- const editor = useEditor({- extensions: [- ...documentExtensions(),- Markdown,- Placeholder.configure({- placeholder: "Start writing, or type / for blocks…",- }),- SlashCommands,- ],- content: value,- contentType: "markdown",- immediatelyRender: false,- editorProps: {- attributes: {- class: "document-prose",- "aria-label": "Page content",- role: "textbox",- "aria-multiline": "true",- },- },- onUpdate: ({ editor: ed }) => {- const markdown = ed.getMarkdown();- emittedRef.current = markdown;- if (changeRef.current) {- changeRef.current(markdown);- }- },- });-- const state = useEditorState({- editor,- selector: ({ editor: ed }) =>- ed- ? {- bold: ed.isActive("bold"),- italic: ed.isActive("italic"),- h1: ed.isActive("heading", { level: 1 }),- h2: ed.isActive("heading", { level: 2 }),- h3: ed.isActive("heading", { level: 3 }),- bullet: ed.isActive("bulletList"),- ordered: ed.isActive("orderedList"),- checklist: ed.isActive("taskList"),- quote: ed.isActive("blockquote"),- code: ed.isActive("codeBlock"),- table: ed.isActive("table"),- undo: ed.can().undo(),- redo: ed.can().redo(),- }- : null,- });-- // Sync external value safely outside React lifecycle to avoid flushSync collision- useEffect(() => {- if (editor && value !== emittedRef.current) {- emittedRef.current = value;- const timer = setTimeout(() => {- if (!editor.isDestroyed) {- editor.commands.setContent(value, {- contentType: "markdown",- emitUpdate: false,- });- }- }, 0);- return () => clearTimeout(timer);- }- }, [editor, value]);-- // Sync page context into editor storage- useEffect(() => {- if (editor) {- editor.storage.pageContext = { title: pageTitle, pageId };- }- }, [editor, pageTitle, pageId]);-- // Close insert menu when clicking outside- useEffect(() => {- const handleClickOutside = (e) => {- if (insertMenuRef.current && !insertMenuRef.current.contains(e.target)) {- setShowInsertMenu(false);- }- };- document.addEventListener("pointerdown", handleClickOutside);- return () => document.removeEventListener("pointerdown", handleClickOutside);- }, []);-- if (!editor) {- return <div className="editor-loading">Loading editor…</div>;- }-- return (- <div className="w-full">- {/* 1. Main Format Toolbar */}- <div- className="format-toolbar"- role="toolbar"- aria-label="Text formatting"- >- {/* Insert Block Dropdown Button */}- <div className="relative inline-block" ref={insertMenuRef}>- <button- type="button"- className="insert-block-trigger"- onClick={() => setShowInsertMenu(!showInsertMenu)}- title="Insert block (+)"- aria-expanded={showInsertMenu}- >- <LuPlus size={15} />- <span>Insert</span>- <LuChevronDown size={12} className={`transition-transform ${showInsertMenu ? "rotate-180" : ""}`} />- </button>-- {showInsertMenu && (- <div className="insert-block-dropdown animate-in fade-in zoom-in-95 duration-100">- <div className="insert-dropdown-section">AI GENERATE</div>- <button- type="button"- className="ai-menu-item"- onClick={() => {- editor.chain().focus().insertContent({ type: "aiPrompt" }).run();- setShowInsertMenu(false);- }}- >- <span className="insert-icon ai-insert-icon">✨</span>- <span className="insert-text font-semibold text-purple-700 dark:text-purple-300">Generate with AI</span>- </button>-- <button- type="button"- className="ai-menu-item"- onClick={() => {- editor.chain().focus().insertContent({ type: "aiImagePrompt" }).run();- setShowInsertMenu(false);- }}- >- <span className="insert-icon ai-insert-icon">🖼️</span>- <span className="insert-text font-semibold text-purple-700 dark:text-purple-300">Generate Image (GPT-Image-2)</span>- </button>-- <div className="insert-dropdown-section">BASIC BLOCKS</div>- <button- type="button"- onClick={() => {- editor.chain().focus().setParagraph().run();- setShowInsertMenu(false);- }}- >- <span className="insert-icon">T</span>- <span className="insert-text">Text paragraph</span>- </button>- <button- type="button"- onClick={() => {- editor.chain().focus().setHeading({ level: 1 }).run();- setShowInsertMenu(false);- }}- >- <span className="insert-icon">H1</span>- <span className="insert-text">Heading 1</span>- </button>- <button- type="button"- onClick={() => {- editor.chain().focus().setHeading({ level: 2 }).run();- setShowInsertMenu(false);- }}- >- <span className="insert-icon">H2</span>- <span className="insert-text">Heading 2</span>- </button>- <button- type="button"- onClick={() => {- editor.chain().focus().setHeading({ level: 3 }).run();- setShowInsertMenu(false);- }}- >- <span className="insert-icon">H3</span>- <span className="insert-text">Heading 3</span>- </button>-- <div className="insert-dropdown-section">LISTS & CALLOUTS</div>- <button- type="button"- onClick={() => {- editor.chain().focus().toggleBulletList().run();- setShowInsertMenu(false);- }}- >- <span className="insert-icon">•</span>- <span className="insert-text">Bullet list</span>- </button>- <button- type="button"- onClick={() => {- editor.chain().focus().toggleOrderedList().run();- setShowInsertMenu(false);- }}- >- <span className="insert-icon">1.</span>- <span className="insert-text">Numbered list</span>- </button>- <button- type="button"- onClick={() => {- editor.chain().focus().toggleTaskList().run();- setShowInsertMenu(false);- }}- >- <span className="insert-icon">☑</span>- <span className="insert-text">Checklist</span>- </button>- <button- type="button"- onClick={() => {- editor.chain().focus().toggleBlockquote().run();- setShowInsertMenu(false);- }}- >- <span className="insert-icon">“</span>- <span className="insert-text">Quote callout</span>- </button>-- <div className="insert-dropdown-section">COMPONENTS</div>- <button- type="button"- onClick={() => {- editor.chain().focus().insertTable({ rows: 3, cols: 3, withHeaderRow: true }).run();- setShowInsertMenu(false);- }}- >- <span className="insert-icon">⊞</span>- <span className="insert-text">Table (3x3 grid)</span>- </button>- <button- type="button"- onClick={() => {- editor.chain().focus().toggleCodeBlock({ language: "javascript" }).run();- setShowInsertMenu(false);- }}- >- <span className="insert-icon"><></span>- <span className="insert-text">Code block</span>- </button>- <button- type="button"- onClick={() => {- editor.chain().focus().setHorizontalRule().run();- setShowInsertMenu(false);- }}- >- <span className="insert-icon">—</span>- <span className="insert-text">Divider line</span>- </button>- </div>- )}- </div>-- <span className="toolbar-divider" />-- {/* Text styling */}- <button- type="button"- title="Bold (⌘/Ctrl B)"- aria-label="Bold"- aria-pressed={state?.bold}- onClick={() => editor.chain().focus().toggleBold().run()}- >- <LuBold size={15} />- </button>- <button- type="button"- title="Italic (⌘/Ctrl I)"- aria-label="Italic"- aria-pressed={state?.italic}- onClick={() => editor.chain().focus().toggleItalic().run()}- >- <LuItalic size={15} />- </button>-- <span className="toolbar-divider" />-- {/* Headings */}- <button- type="button"- title="Heading 1"- aria-label="Heading 1"- aria-pressed={state?.h1}- onClick={() => editor.chain().focus().toggleHeading({ level: 1 }).run()}- >- <LuHeading1 size={16} />- </button>- <button- type="button"- title="Heading 2"- aria-label="Heading 2"- aria-pressed={state?.h2}- onClick={() => editor.chain().focus().toggleHeading({ level: 2 }).run()}- >- <LuHeading2 size={16} />- </button>- <button- type="button"- title="Heading 3"- aria-label="Heading 3"- aria-pressed={state?.h3}- onClick={() => editor.chain().focus().toggleHeading({ level: 3 }).run()}- >- <LuHeading3 size={16} />- </button>-- <span className="toolbar-divider" />-- {/* Lists */}- <button- type="button"- title="Bullet list"- aria-label="Bullet list"- aria-pressed={state?.bullet}- onClick={() => editor.chain().focus().toggleBulletList().run()}- >- <LuList size={16} />- </button>- <button- type="button"- title="Numbered list"- aria-label="Numbered list"- aria-pressed={state?.ordered}- onClick={() => editor.chain().focus().toggleOrderedList().run()}- >- <LuListOrdered size={16} />- </button>- <button- type="button"- title="Checklist"- aria-label="Checklist"- aria-pressed={state?.checklist}- onClick={() => editor.chain().focus().toggleTaskList().run()}- >- <LuListTodo size={16} />- </button>-- <span className="toolbar-divider" />-- {/* Blocks: Quote, Code, Table, Divider, Link */}- <button- type="button"- title="Quote"- aria-label="Quote"- aria-pressed={state?.quote}- onClick={() => editor.chain().focus().toggleBlockquote().run()}- >- <LuQuote size={15} />- </button>- <button- type="button"- title="Code block"- aria-label="Code block"- aria-pressed={state?.code}- onClick={() => editor.chain().focus().toggleCodeBlock().run()}- >- <LuCode size={16} />- </button>- <button- type="button"- title="Insert table"- aria-label="Insert table"- aria-pressed={state?.table}- onClick={() => {- if (state?.table) {- editor.chain().focus().deleteTable().run();- } else {- editor.chain().focus().insertTable({ rows: 3, cols: 3, withHeaderRow: true }).run();- }- }}- >- <LuTable size={16} />- </button>- <button- type="button"- title="Horizontal divider"- aria-label="Divider"- onClick={() => editor.chain().focus().setHorizontalRule().run()}- >- <LuMinus size={16} />- </button>- <button- type="button"- title="Add link"- aria-label="Add link"- onClick={() => {- const currentHref = editor.getAttributes("link").href ?? "";- const url = window.prompt("Link URL (https://...)", currentHref);- if (url === null) return;- if (!url) {- editor.chain().focus().unsetLink().run();- return;- }- editor- .chain()- .focus()- .extendMarkRange("link")- .setLink({ href: url })- .run();- }}- >- <LuLink size={15} />- </button>-- <span className="toolbar-divider" />-- {/* Undo / Redo */}- <button- type="button"- aria-label="Undo"- title="Undo (⌘/Ctrl Z)"- disabled={!state?.undo}- onClick={() => editor.chain().focus().undo().run()}- >- <LuUndo2 size={15} />- </button>- <button- type="button"- aria-label="Redo"- title="Redo"- disabled={!state?.redo}- onClick={() => editor.chain().focus().redo().run()}- >- <LuRedo2 size={15} />- </button>- </div>-- {/* 2. Contextual Sub-bar: Table Controls (visible whenever cursor is inside a table) */}- {state?.table && (- <div className="table-actions-bar animate-in fade-in slide-in-from-top-1 duration-150">- <span className="table-bar-label">Table:</span>- <button- type="button"- onClick={() => editor.chain().focus().addRowBefore().run()}- title="Add row above"- >- + Row Above- </button>- <button- type="button"- onClick={() => editor.chain().focus().addRowAfter().run()}- title="Add row below"- >- + Row Below- </button>- <button- type="button"- onClick={() => editor.chain().focus().deleteRow().run()}- title="Delete current row"- >- - Delete Row- </button>- <span className="subbar-divider" />- <button- type="button"- onClick={() => editor.chain().focus().addColumnBefore().run()}- title="Add column to left"- >- + Col Left- </button>- <button- type="button"- onClick={() => editor.chain().focus().addColumnAfter().run()}- title="Add column to right"- >- + Col Right- </button>- <button- type="button"- onClick={() => editor.chain().focus().deleteColumn().run()}- title="Delete current column"- >- - Delete Col- </button>- <span className="subbar-divider" />- <button- type="button"- onClick={() => editor.chain().focus().deleteTable().run()}- title="Delete entire table"- className="table-delete-action"- >- <LuTrash2 size={13} />- <span>Remove Table</span>- </button>- </div>- )}-- {/* Unified TipTap Free-Typing Document Canvas */}- <EditorContent editor={editor} />-- {/* 5. Editor Hint matching OpenDots */}- <p className="editor-hint">- Type <kbd>/</kbd> for blocks · Click <kbd>+ Insert</kbd> in toolbar · ⌘/Ctrl + S to save- </p>- </div>- );-}diff --git a/client/src/components/editor/editor.css b/client/src/components/editor/editor.cssdeleted file mode 100644index d737093..0000000--- a/client/src/components/editor/editor.css+++ /dev/null@@ -1,836 +0,0 @@-/* TipTap OpenDots-style Document Editor Styles */--.format-toolbar {- display: flex;- align-items: center;- gap: 2px;- margin: 0 0 16px;- padding: 4px 0;- border-bottom: 1px solid #e4e4e7;- flex-wrap: wrap;-}--:is(.dark) .format-toolbar {- border-bottom-color: #27272a;-}--.format-toolbar button {- width: 32px;- height: 32px;- padding: 0;- min-width: 0;- border: 0;- border-radius: 6px;- background: none;- color: #71717a;- cursor: pointer;- display: inline-flex;- align-items: center;- justify-content: center;- transition: all 0.15s ease;-}--:is(.dark) .format-toolbar button {- color: #a1a1aa;-}--.format-toolbar button:hover:not(:disabled),-.format-toolbar button[aria-pressed='true'] {- background: #f4f4f5;- color: #18181b;-}--:is(.dark) .format-toolbar button:hover:not(:disabled),-:is(.dark) .format-toolbar button[aria-pressed='true'] {- background: #27272a;- color: #f4f4f5;-}--.format-toolbar button:disabled {- opacity: 0.35;- cursor: not-allowed;-}--.toolbar-divider {- width: 1px;- height: 16px;- background: #e4e4e7;- margin: 0 4px;-}--:is(.dark) .toolbar-divider {- background: #27272a;-}--/* Insert Block Dropdown Trigger */-.insert-block-trigger {- width: auto !important;- height: 30px !important;- padding: 0 8px !important;- gap: 4px;- font-size: 12px;- font-weight: 500;- color: #3f3f46 !important;- background: #f4f4f5 !important;- border: 1px solid #e4e4e7 !important;- border-radius: 6px !important;-}--:is(.dark) .insert-block-trigger {- color: #e4e4e7 !important;- background: #27272a !important;- border-color: #3f3f46 !important;-}--.insert-block-trigger:hover {- background: #e4e4e7 !important;-}--:is(.dark) .insert-block-trigger:hover {- background: #3f3f46 !important;-}--/* Insert Block Dropdown Menu */-.insert-block-dropdown {- position: absolute;- top: 36px;- left: 0;- width: 210px;- max-height: 360px;- overflow-y: auto;- z-index: 60;- background: #ffffff;- border: 1px solid #e4e4e7;- border-radius: 12px;- box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);- padding: 6px;-}--:is(.dark) .insert-block-dropdown {- background: #1c1c1f;- border-color: #2e2e32;- box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);-}--.insert-dropdown-section {- font-size: 9px;- font-weight: 700;- letter-spacing: 0.08em;- color: #a1a1aa;- padding: 6px 8px 3px;-}--:is(.dark) .insert-dropdown-section {- color: #71717a;-}--.insert-block-dropdown button {- width: 100% !important;- height: 32px !important;- padding: 0 8px !important;- display: flex !important;- align-items: center !important;- justify-content: flex-start !important;- gap: 8px !important;- border-radius: 6px !important;- text-align: left !important;- font-size: 12px !important;- color: #27272a !important;- cursor: pointer;-}--:is(.dark) .insert-block-dropdown button {- color: #e4e4e7 !important;-}--.insert-block-dropdown button:hover {- background: #f4f4f5 !important;-}--:is(.dark) .insert-block-dropdown button:hover {- background: #27272a !important;-}--.insert-icon {- font-size: 11px;- font-weight: 700;- color: #6366f1;- width: 20px;- text-align: center;-}--:is(.dark) .insert-icon {- color: #818cf8;-}--.insert-text {- font-size: 12px;- font-weight: 450;-}--/* Sub-bars: Table and Code Block Contextual toolbars */-.table-actions-bar,-.code-actions-bar {- display: flex;- align-items: center;- gap: 6px;- margin: -8px 0 16px;- padding: 6px 10px;- background: #fbfbfa;- border: 1px solid #e4e4e7;- border-radius: 8px;- font-size: 11px;- flex-wrap: wrap;-}--:is(.dark) .table-actions-bar,-:is(.dark) .code-actions-bar {- background: #18181b;- border-color: #27272a;-}--.table-bar-label,-.code-bar-label {- font-size: 11px;- font-weight: 600;- color: #71717a;- margin-right: 2px;-}--:is(.dark) .table-bar-label,-:is(.dark) .code-bar-label {- color: #a1a1aa;-}--.table-actions-bar button,-.code-copy-action {- display: inline-flex;- align-items: center;- gap: 4px;- padding: 3px 8px;- border: 1px solid #e4e4e7;- border-radius: 5px;- background: #ffffff;- color: #3f3f46;- font-size: 11px;- font-weight: 500;- cursor: pointer;- transition: all 0.12s;-}--:is(.dark) .table-actions-bar button,-:is(.dark) .code-copy-action {- border-color: #3f3f46;- background: #27272a;- color: #e4e4e7;-}--.table-actions-bar button:hover,-.code-copy-action:hover {- background: #f4f4f5;- color: #18181b;-}--:is(.dark) .table-actions-bar button:hover,-:is(.dark) .code-copy-action:hover {- background: #3f3f46;- color: #fafafa;-}--.table-delete-action {- color: #ef4444 !important;- border-color: #fecaca !important;-}--:is(.dark) .table-delete-action {- color: #f87171 !important;- border-color: #7f1d1d !important;-}--.subbar-divider {- width: 1px;- height: 14px;- background: #e4e4e7;- margin: 0 4px;-}--:is(.dark) .subbar-divider {- background: #3f3f46;-}--.code-lang-selector {- padding: 3px 8px;- font-size: 11px;- border: 1px solid #e4e4e7;- border-radius: 5px;- background: #ffffff;- color: #18181b;- cursor: pointer;- outline: none;-}--:is(.dark) .code-lang-selector {- border-color: #3f3f46;- background: #27272a;- color: #f4f4f5;-}--/* Document Prose */-.document-prose {- outline: none;- min-height: 340px;- font-size: 15px;- line-height: 1.75;- color: #27272a;- overflow-wrap: anywhere;- caret-color: #4f46e5;-}--:is(.dark) .document-prose {- color: #e4e4e7;- caret-color: #818cf8;-}--.document-prose p {- margin: 0 0 0.85em;-}--.document-prose img {- display: block;- max-width: 100%;- height: auto;- border-radius: 12px;- margin: 1.5rem auto;- border: 1px solid #e4e4e7;- box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);- transition: transform 0.2s ease, box-shadow 0.2s ease;-}--.document-prose img:hover {- transform: scale(1.005);- box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);-}--:is(.dark) .document-prose img {- border-color: #27272a;- box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);-}--.document-prose h1 {- font-size: 28px;- line-height: 1.3;- margin: 1.3em 0 0.5em;- letter-spacing: -0.6px;- font-weight: 700;- color: #09090b;-}--:is(.dark) .document-prose h1 {- color: #fafafa;-}--.document-prose h2 {- font-size: 22px;- line-height: 1.35;- margin: 1.3em 0 0.5em;- letter-spacing: -0.4px;- font-weight: 650;- color: #09090b;-}--:is(.dark) .document-prose h2 {- color: #fafafa;-}--.document-prose h3 {- font-size: 18px;- line-height: 1.4;- margin: 1.2em 0 0.45em;- letter-spacing: -0.2px;- font-weight: 600;- color: #09090b;-}--:is(.dark) .document-prose h3 {- color: #fafafa;-}--.document-prose ul,-.document-prose ol {- padding-left: 24px;- margin: 0 0 0.85em;-}--.document-prose li p {- margin-bottom: 0.25em;-}--.document-prose li + li {- margin-top: 0.25em;-}--/* Task List */-.document-prose ul[data-type='taskList'] {- list-style: none;- padding: 0;-}--.document-prose li[data-type='taskItem'] {- display: flex;- align-items: flex-start;- gap: 10px;-}--.document-prose li[data-type='taskItem'] > label {- flex: 0 0 auto;- line-height: 1.8;- cursor: pointer;-}--.document-prose li[data-type='taskItem'] > label input {- accent-color: #4f46e5;- width: 15px;- height: 15px;- margin-top: 6px;- cursor: pointer;-}--.document-prose li[data-type='taskItem'] > div {- flex: 1;-}--/* Blockquote */-.document-prose blockquote {- border-left: 3px solid #6366f1;- padding: 6px 0 6px 18px;- margin: 18px 0;- color: #52525b;- background: #fbfbfe;- border-radius: 0 8px 8px 0;-}--:is(.dark) .document-prose blockquote {- border-left-color: #818cf8;- color: #a1a1aa;- background: #18181b;-}--.document-prose blockquote p:last-child {- margin-bottom: 0;-}--/* Code block container with custom header */-.code-block-container {- margin: 20px 0;- border-radius: 12px;- overflow: hidden;- border: 1px solid #27272a;- background: #111114;- box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);-}--:is(.dark) .code-block-container {- border-color: #27272a;- background: #101013;- box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);-}--.code-block-header {- display: flex;- align-items: center;- justify-content: space-between;- padding: 6px 12px;- background: #1a1a20;- border-bottom: 1px solid #27272a;- user-select: none;-}--:is(.dark) .code-block-header {- background: #18181e;- border-bottom-color: #26262e;-}--.code-block-container pre {- margin: 0 !important;- border: 0 !important;- border-radius: 0 !important;- background: transparent !important;- padding: 16px !important;- line-height: 1.65;- font-size: 13px;- font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;- color: #f4f4f5;- overflow-x: auto;-}--.code-block-container pre code {- background: transparent !important;- color: inherit !important;- padding: 0 !important;- border-radius: 0 !important;- font-family: inherit;- font-size: inherit;-}--/* Fallback Code */-.document-prose pre {- background: #18181b;- color: #f4f4f5;- border: 1px solid #27272a;- border-radius: 10px;- padding: 16px;- overflow-x: auto;- font-size: 13px;- line-height: 1.65;- margin: 16px 0;-}--.document-prose code {- font-family: ui-monospace, SFMono-Regular, Menlo, monospace;- background: #f4f4f5;- color: #e11d48;- font-size: 0.88em;- padding: 2px 5px;- border-radius: 5px;-}--:is(.dark) .document-prose code {- background: #27272a;- color: #fb7185;-}--.document-prose pre code {- background: none;- color: inherit;- padding: 0;-}--/* Divider */-.document-prose hr {- border: 0;- border-top: 1px solid #e4e4e7;- margin: 28px 0;-}--:is(.dark) .document-prose hr {- border-top-color: #27272a;-}--/* Links */-.document-prose a {- color: #4f46e5;- text-decoration: underline;- text-underline-offset: 3px;- cursor: pointer;-}--:is(.dark) .document-prose a {- color: #818cf8;-}--/* TABLES (OpenDots style) */-.tableWrapper {- margin: 24px 0;- overflow-x: auto;- border-radius: 12px;- border: 1px solid #d4d4d8;- background: #ffffff;- box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);-}--:is(.dark) .tableWrapper {- border-color: #3f3f46;- background: #141418;- box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);-}--.document-prose table {- border-collapse: separate;- border-spacing: 0;- width: 100%;- table-layout: fixed;- margin: 0;- border: none;-}--/* Fallback if table is directly rendered outside tableWrapper */-.document-prose > table {- border-collapse: separate;- border-spacing: 0;- width: 100%;- table-layout: fixed;- margin: 24px 0;- border-radius: 12px;- overflow: hidden;- border: 1px solid #d4d4d8;- background: #ffffff;-}--:is(.dark) .document-prose > table {- border-color: #3f3f46;- background: #141418;-}--.document-prose td,-.document-prose th {- border-right: 1px solid #e4e4e7;- border-bottom: 1px solid #e4e4e7;- min-width: 80px;- padding: 11px 15px;- vertical-align: top;- position: relative;- font-size: 13.5px;- line-height: 1.55;- box-sizing: border-box;-}--:is(.dark) .document-prose td,-:is(.dark) .document-prose th {- border-right-color: #33333a;- border-bottom-color: #33333a;-}--/* Edge cell border cleanup */-.document-prose th:last-child,-.document-prose td:last-child {- border-right: none;-}--.document-prose tr:last-child td {- border-bottom: none;-}--.document-prose th {- font-weight: 600;- background: #f4f4f6;- color: #09090b;- text-align: left;- border-bottom: 2px solid #d4d4d8;-}--:is(.dark) .document-prose th {- background: #1a1a22;- color: #f4f4f5;- border-bottom-color: #3f3f46;-}--.document-prose td p,-.document-prose th p {- margin: 0;-}--.document-prose .selectedCell:after {- content: '';- position: absolute;- inset: 0;- background: rgba(99, 102, 241, 0.15);- pointer-events: none;-}--/* Placeholder */-.document-prose p.is-editor-empty:first-child:before {- content: attr(data-placeholder);- float: left;- height: 0;- pointer-events: none;- color: #a1a1aa;-}--:is(.dark) .document-prose p.is-editor-empty:first-child:before {- color: #52525b;-}--/* Editor Hint */-.editor-hint {- font-size: 12px;- color: #71717a;- margin-top: 32px;- user-select: none;-}--:is(.dark) .editor-hint {- color: #a1a1aa;-}--.editor-hint kbd {- font: inherit;- border: 1px solid #d4d4d8;- border-radius: 4px;- padding: 1px 5px;- background: #f4f4f5;- font-size: 11px;-}--:is(.dark) .editor-hint kbd {- border-color: #3f3f46;- background: #27272a;-}--.editor-loading {- padding: 35px 0;- color: #71717a;- font-size: 14px;-}--/* SLASH COMMAND MENU - Minimal, compact style */-.slash-menu {- position: fixed;- width: min(240px, calc(100vw - 24px));- max-height: 280px;- overflow-y: auto;- z-index: 100;- background: #ffffff;- border: 1px solid #e4e4e7;- border-radius: 10px;- box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);- padding: 4px;- user-select: none;-}--:is(.dark) .slash-menu {- background: #18181b;- border-color: #27272a;- box-shadow: 0 6px 24px rgba(0, 0, 0, 0.45);-}--.slash-menu-label {- font-size: 9px;- color: #a1a1aa;- font-weight: 600;- letter-spacing: 0.05em;- padding: 5px 6px 2px;-}--:is(.dark) .slash-menu-label {- color: #71717a;-}--.slash-menu button {- display: flex;- align-items: center;- gap: 8px;- width: 100%;- border: 0;- border-radius: 6px;- padding: 3.5px 6px;- min-height: 30px;- background: none;- cursor: pointer;- text-align: left;- transition: background 0.1s ease;-}--.slash-menu button:hover,-.slash-menu button.selected {- background: #f4f4f5;-}--:is(.dark) .slash-menu button:hover,-:is(.dark) .slash-menu button.selected {- background: #27272a;-}--.slash-block-icon {- width: 19px;- height: 19px;- display: flex;- align-items: center;- justify-content: center;- font-size: 9.5px;- font-weight: 600;- color: #6366f1;- background: #f4f4f5;- border-radius: 4px;- flex-shrink: 0;-}--.slash-block-icon.ai-badge {- background: #f5f3ff;- color: #7c3aed;- font-size: 11px;-}--:is(.dark) .slash-block-icon {- color: #818cf8;- background: #27272a;-}--:is(.dark) .slash-block-icon.ai-badge {- background: #2e1065;- color: #c084fc;-}--.slash-block-text {- display: flex;- flex-direction: column;- gap: 1px;- min-width: 0;-}--.slash-menu strong {- font-size: 11.5px;- font-weight: 500;- color: #18181b;- line-height: 1.25;-}--:is(.dark) .slash-menu strong {- color: #f4f4f5;-}--.slash-menu button span,-.slash-menu p {- font-size: 9.5px;- color: #71717a;- line-height: 1.2;-}--:is(.dark) .slash-menu button span,-:is(.dark) .slash-menu p {- color: #a1a1aa;-}--.slash-menu p {- padding: 8px;- text-align: center;-}--/* AI Generate in Insert Dropdown */-.ai-menu-item {- background: linear-gradient(135deg, rgba(168, 85, 247, 0.08), rgba(236, 72, 153, 0.05)) !important;- border-left: 2px solid #a855f7 !important;-}--:is(.dark) .ai-menu-item {- background: linear-gradient(135deg, rgba(168, 85, 247, 0.15), rgba(236, 72, 153, 0.08)) !important;- border-left: 2px solid #c084fc !important;-}--.ai-insert-icon {- background: linear-gradient(135deg, #ede9fe, #fae8ff) !important;- color: #9333ea !important;-}--:is(.dark) .ai-insert-icon {- background: linear-gradient(135deg, #3b0764, #581c87) !important;- color: #e9d5ff !important;-}--/* AI Prompt Inline Node */-.ai-prompt-node-wrapper {- margin: 1rem 0;- display: block;-}--.ai-prompt-card {- transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);-}--.ai-prompt-card:focus-within {- box-shadow: 0 8px 30px rgba(168, 85, 247, 0.12);-}--:is(.dark) .ai-prompt-card:focus-within {- box-shadow: 0 8px 30px rgba(168, 85, 247, 0.2);-}-diff --git a/client/src/components/editor/markdown.js b/client/src/components/editor/markdown.jsdeleted file mode 100644index 0ea9c10..0000000--- a/client/src/components/editor/markdown.js+++ /dev/null@@ -1,112 +0,0 @@-import StarterKit from "@tiptap/starter-kit";-import { MarkdownManager } from "@tiptap/markdown";-import { TableKit } from "@tiptap/extension-table";-import TaskList from "@tiptap/extension-task-list";-import TaskItem from "@tiptap/extension-task-item";-import Image from "@tiptap/extension-image";-import { CustomCodeBlock } from "./CodeBlockView";-import { AiPromptNode } from "./AiPromptView";-import { AiImageNode } from "./AiImageView";--export const documentExtensions = () => [- StarterKit.configure({- codeBlock: false,- underline: false,- link: { openOnClick: false, autolink: false },- heading: { levels: [1, 2, 3] },- }),- Image.configure({- inline: false,- allowBase64: true,- HTMLAttributes: {- class: "rounded-xl border border-zinc-200 dark:border-zinc-800 shadow-sm max-w-full my-4",- },- }),- CustomCodeBlock,- AiPromptNode,- AiImageNode,- TableKit.configure({ table: { resizable: false } }),- TaskList,- TaskItem.configure({ nested: true }),-];--export const markdownManager = new MarkdownManager({- extensions: documentExtensions(),-});--const allowed = new Set([- "space",- "code",- "heading",- "table",- "hr",- "blockquote",- "list",- "list_item",- "paragraph",- "text",- "escape",- "strong",- "em",- "codespan",- "br",- "del",- "link",- "image",- "taskList",- "taskItem",-]);--export function inspectMarkdown(source) {- try {- if (- /^---\r?\n[\s\S]*?\r?\n---(?:\r?\n|$)/.test(source) ||- /^\[\^[^\]]+\]:/m.test(source) ||- /^\s*(\$\$|:::)/m.test(source)- ) {- return {- supported: false,- reason: "This document contains extended Markdown. Source mode preserves it exactly.",- };- }- const tokens = markdownManager.instance.lexer(source);- let unsupported = false;- const pending = [tokens];- while (pending.length) {- const value = pending.pop();- if (!value || typeof value !== "object") continue;- if (- "type" in value &&- typeof value.type === "string" &&- (!allowed.has(value.type) ||- (value.type === "heading" &&- "depth" in value &&- typeof value.depth === "number" &&- value.depth > 3))- ) {- unsupported = true;- }- pending.push(...Object.values(value));- }- if (unsupported) {- return {- supported: false,- reason: "This document contains images, HTML, or formatting that needs Markdown source mode. Nothing has been changed.",- };- }- const parsed = markdownManager.parse(source);- const restored = markdownManager.parse(markdownManager.serialize(parsed));- if (JSON.stringify(parsed) !== JSON.stringify(restored)) {- return {- supported: false,- reason: "Some formatting cannot be safely round-tripped. Source mode keeps the original document intact.",- };- }- return { supported: true };- } catch {- return {- supported: false,- reason: "This Markdown needs source mode to preserve its contents.",- };- }-}diff --git a/client/src/components/editor/slash-commands.js b/client/src/components/editor/slash-commands.jsdeleted file mode 100644index 0e60d1d..0000000--- a/client/src/components/editor/slash-commands.js+++ /dev/null@@ -1,305 +0,0 @@-import { Extension } from "@tiptap/core";-import Suggestion, { exitSuggestion } from "@tiptap/suggestion";--const command = (action) => (editor, range) => {- editor.chain().focus().deleteRange(range).run();- action(editor);-};--export const blocks = [- {- category: "Generate",- title: "Generate",- description: "Describe what you want to write",- icon: "✨",- run: (editor, range) => {- editor- .chain()- .focus()- .deleteRange(range)- .insertContent({ type: "aiPrompt" })- .run();- },- },- {- category: "Generate",- title: "Generate Image",- description: "Create image with GPT-Image-2",- icon: "🖼️",- run: (editor, range) => {- editor- .chain()- .focus()- .deleteRange(range)- .insertContent({ type: "aiImagePrompt" })- .run();- },- },- {- category: "Basic",- title: "Text",- description: "Start with a plain paragraph",- icon: "T",- run: command((e) => e.chain().setParagraph().run()),- },- {- category: "Basic",- title: "Heading 1",- description: "A large section heading (#)",- icon: "H1",- run: command((e) => e.chain().setHeading({ level: 1 }).run()),- },- {- category: "Basic",- title: "Heading 2",- description: "A medium section heading (##)",- icon: "H2",- run: command((e) => e.chain().setHeading({ level: 2 }).run()),- },- {- category: "Basic",- title: "Heading 3",- description: "A small section heading (###)",- icon: "H3",- run: command((e) => e.chain().setHeading({ level: 3 }).run()),- },- {- category: "Basic",- title: "Bullet list",- description: "A simple unordered list (•)",- icon: "•",- run: command((e) => e.chain().toggleBulletList().run()),- },- {- category: "Basic",- title: "Numbered list",- description: "An ordered sequence (1, 2, 3)",- icon: "1.",- run: command((e) => e.chain().toggleOrderedList().run()),- },- {- category: "Basic",- title: "Checklist",- description: "Track tasks with checkable boxes",- icon: "☑",- run: command((e) => e.chain().toggleTaskList().run()),- },- {- category: "Basic",- title: "Table",- description: "Interactive 3x3 table with header",- icon: "⊞",- run: command((e) =>- e.chain().insertTable({ rows: 3, cols: 3, withHeaderRow: true }).run()- ),- },- {- category: "Basic",- title: "Quote",- description: "Highlight a passage or blockquote (>)",- icon: "“",- run: command((e) => e.chain().toggleBlockquote().run()),- },- {- category: "Basic",- title: "Divider",- description: "Separate sections with a horizontal line",- icon: "—",- run: command((e) => e.chain().setHorizontalRule().run()),- },- {- category: "Code",- title: "Code (JavaScript)",- description: "JavaScript syntax code block",- icon: "JS",- run: command((e) => e.chain().toggleCodeBlock({ language: "javascript" }).run()),- },- {- category: "Code",- title: "Code (Python)",- description: "Python syntax code block",- icon: "PY",- run: command((e) => e.chain().toggleCodeBlock({ language: "python" }).run()),- },- {- category: "Code",- title: "Code (HTML / CSS)",- description: "Web markup and styles block",- icon: "<>",- run: command((e) => e.chain().toggleCodeBlock({ language: "html" }).run()),- },- {- category: "Code",- title: "Code (SQL)",- description: "Database queries and schema block",- icon: "DB",- run: command((e) => e.chain().toggleCodeBlock({ language: "sql" }).run()),- },- {- category: "Code",- title: "Code (Bash / Shell)",- description: "Terminal commands and scripts block",- icon: "$_",- run: command((e) => e.chain().toggleCodeBlock({ language: "bash" }).run()),- },- {- category: "Code",- title: "Code (Plain Text)",- description: "Generic monospace code block",- icon: "{ }",- run: command((e) => e.chain().toggleCodeBlock({ language: "plaintext" }).run()),- },-];--export const SlashCommands = Extension.create({- name: "slashCommands",- addProseMirrorPlugins() {- return [- Suggestion({- editor: this.editor,- char: "/",- startOfLine: false,- allowedPrefixes: null,- items: ({ query }) =>- blocks.filter((block) =>- `${block.category || ""} ${block.title} ${block.description}`- .toLowerCase()- .includes(query.toLowerCase())- ),- command: ({ editor, range, props }) => props.run(editor, range),- render: () => {- let menu;- let current;- let index = 0;- const close = () => {- menu?.remove();- menu = undefined;- const dom = current?.editor.view.dom;- dom?.removeAttribute("aria-controls");- dom?.removeAttribute("aria-activedescendant");- dom?.removeAttribute("aria-autocomplete");- document.removeEventListener("pointerdown", outside);- };- const outside = (event) => {- if (menu && !menu.contains(event.target)) {- if (current) exitSuggestion(current.editor.view);- close();- }- };- const paint = () => {- if (!menu || !current) return;- const props = current;- menu.replaceChildren();-- if (!props.items.length) {- const empty = document.createElement("p");- empty.className = "slash-menu-empty";- empty.textContent = "No matching blocks";- menu.append(empty);- return;- }-- let lastCategory = null;-- props.items.forEach((item, i) => {- if (item.category && item.category !== lastCategory) {- lastCategory = item.category;- const catLabel = document.createElement("div");- catLabel.className = "slash-menu-label";- catLabel.textContent = item.category.toUpperCase();- menu.append(catLabel);- }-- const button = document.createElement("button");- button.type = "button";- button.id = `slash-block-${i}`;- button.setAttribute("role", "option");- button.setAttribute("aria-selected", String(i === index));- button.className = i === index ? "selected" : "";-- const iconBadge = document.createElement("span");- iconBadge.className = `slash-block-icon ${item.category === "Generate" ? "ai-badge" : ""}`;- iconBadge.textContent = item.icon || "•";-- const textWrap = document.createElement("div");- textWrap.className = "slash-block-text";-- const title = document.createElement("strong");- title.textContent = item.title;-- const description = document.createElement("span");- description.textContent = item.description;-- textWrap.append(title, description);- button.append(iconBadge, textWrap);-- button.addEventListener("mousedown", (event) =>- event.preventDefault()- );- button.addEventListener("click", () => props.command(item));- menu.append(button);- });- const rect = props.clientRect?.();- if (rect) {- menu.style.left = `${Math.max(12, Math.min(rect.left, window.innerWidth - 260))}px`;- menu.style.top = `${Math.max(12, Math.min(rect.bottom + 6, window.innerHeight - 300))}px`;- }- props.editor.view.dom.setAttribute(- "aria-activedescendant",- `slash-block-${index}`- );- menu- .querySelector(".selected")- ?.scrollIntoView({ block: "nearest" });- };- return {- onStart: (props) => {- current = props;- index = 0;- menu = document.createElement("div");- menu.id = "document-block-menu";- menu.className = "slash-menu";- menu.setAttribute("role", "listbox");- menu.setAttribute("aria-label", "Insert block");- document.body.append(menu);- props.editor.view.dom.setAttribute("aria-controls", menu.id);- props.editor.view.dom.setAttribute("aria-autocomplete", "list");- document.addEventListener("pointerdown", outside);- paint();- },- onUpdate: (props) => {- current = props;- index = 0;- paint();- },- onExit: close,- onKeyDown: ({ event, view }) => {- if (event.isComposing || view.composing || event.keyCode === 229)- return false;- if (event.key === "Escape") {- exitSuggestion(view);- close();- return true;- }- if (!current?.items.length) return false;- if (event.key === "ArrowDown" || event.key === "ArrowUp") {- index =- (index +- (event.key === "ArrowDown" ? 1 : -1) +- current.items.length) %- current.items.length;- paint();- return true;- }- if (event.key === "Enter") {- current.command(current.items[index]);- return true;- }- return false;- },- };- },- }),- ];- },-});diff --git a/client/src/constants/models.js b/client/src/constants/models.jsdeleted file mode 100644index 033a5a6..0000000--- a/client/src/constants/models.js+++ /dev/null@@ -1,395 +0,0 @@-/**- * All LLM Models across the 6 requested families supporting:- * - prompt- * - system_prompt- * - image_url (multimodal vision)- *- * Sourced directly from muapi_llm_models_reference.md- */--export const AI_MODELS = [- // --- 1. Abliterated / Low-Refusal / Uncensored LLMs ---- {- id: "mimo-v2-6-flash-abliterated",- name: "MiMo V2.6 Flash Abliterated",- group: "Abliterated / Uncensored",- tag: "Vision & Fast",- icon: "🔓",- },- {- id: "abliterated-model",- name: "Abliterated Model Base",- group: "Abliterated / Uncensored",- tag: "Vision & Uncensored",- icon: "🔓",- },- {- id: "qwen-3-8-27b-obliterated",- name: "Qwen 3.8 27B Obliterated",- group: "Abliterated / Uncensored",- tag: "Vision & Reasoning",- icon: "🔥",- },- {- id: "qwen-3-8-27b-abliterated",- name: "Qwen 3.8 27B Abliterated",- group: "Abliterated / Uncensored",- tag: "Vision & Low Refusal",- icon: "🔥",- },- {- id: "qwen-3-5-27b-queen-derestricted",- name: "Qwen 3.5 27B Queen Derestricted",- group: "Abliterated / Uncensored",- tag: "Vision & 262k ctx",- icon: "👑",- },- {- id: "qwen-3-5-27b-blossom-derestricted",- name: "Qwen 3.5 27B Blossom Derestricted",- group: "Abliterated / Uncensored",- tag: "Vision & 262k ctx",- icon: "🌸",- },- {- id: "qwen-3-5-27b-opus-distilled-derestricted",- name: "Qwen 3.5 27B Opus-Distilled Derestricted",- group: "Abliterated / Uncensored",- tag: "Vision & 262k ctx",- icon: "⚡",- },- {- id: "glm-5-3-flash-abliterated",- name: "GLM 5.3 Flash Abliterated",- group: "Abliterated / Uncensored",- tag: "Vision & Fast",- icon: "⚡",- },- {- id: "gemma-4-31b-gembrain-abliterated",- name: "Gemma 4 31B Gembrain Abliterated",- group: "Abliterated / Uncensored",- tag: "Vision & Creative",- icon: "💎",- },- {- id: "gemma-4-31b-sdft-abliterated",- name: "Gemma 4 31B SDFT Abliterated",- group: "Abliterated / Uncensored",- tag: "Vision & 262k ctx",- icon: "💎",- },- {- id: "qwen-3-8-27b-queen",- name: "Qwen 3.8 27B Queen",- group: "Abliterated / Uncensored",- tag: "Vision & 524k ctx",- icon: "👑",- },- {- id: "qwen-3-8-27b-fable",- name: "Qwen 3.8 27B Fable",- group: "Abliterated / Uncensored",- tag: "Vision & Storytelling",- icon: "📖",- },-- // --- 2. OpenAI GPT Family ---- {- id: "gpt-5-nano",- name: "GPT-5 Nano",- group: "OpenAI GPT Family",- tag: "High-Speed Vision",- icon: "⚡",- },- {- id: "gpt-5-2",- name: "GPT-5.2",- group: "OpenAI GPT Family",- tag: "General Purpose",- icon: "✨",- },- {- id: "gpt-5-5",- name: "GPT-5.5",- group: "OpenAI GPT Family",- tag: "Advanced Reasoning",- icon: "🧠",- },- {- id: "gpt-5-6-luna",- name: "GPT-5.6 Luna",- group: "OpenAI GPT Family",- tag: "High-Efficiency",- icon: "🌙",- },- {- id: "gpt-5-6-terra",- name: "GPT-5.6 Terra",- group: "OpenAI GPT Family",- tag: "Balanced",- icon: "🌍",- },- {- id: "gpt-5-6-sol",- name: "GPT-5.6 Sol",- group: "OpenAI GPT Family",- tag: "Flagship",- icon: "☀️",- },- {- id: "gpt-6-astra",- name: "GPT-6 Astra",- group: "OpenAI GPT Family",- tag: "Frontier Reasoning",- icon: "🧠",- },- {- id: "gpt-6-1-sol",- name: "GPT-6.1 Sol Light",- group: "OpenAI GPT Family",- tag: "Fast & Capable",- icon: "⚡",- },-- // --- 3. Anthropic Claude Family ---- {- id: "claude-haiku-4-5",- name: "Claude Haiku 4.5",- group: "Anthropic Claude Family",- tag: "Fast Vision",- icon: "⚡",- },- {- id: "claude-sonnet-4-5",- name: "Claude Sonnet 4.5",- group: "Anthropic Claude Family",- tag: "Balanced",- icon: "🎭",- },- {- id: "claude-sonnet-4-6",- name: "Claude Sonnet 4.6",- group: "Anthropic Claude Family",- tag: "Coding & Vision",- icon: "💻",- },- {- id: "claude-sonnet-5",- name: "Claude Sonnet 5",- group: "Anthropic Claude Family",- tag: "Flagship",- icon: "⭐",- },- {- id: "claude-sonnet-5-5",- name: "Claude Sonnet 5.5",- group: "Anthropic Claude Family",- tag: "High-Capacity",- icon: "🌟",- },- {- id: "claude-opus-4-5",- name: "Claude Opus 4.5",- group: "Anthropic Claude Family",- tag: "Reasoning",- icon: "🔮",- },- {- id: "claude-opus-4-6",- name: "Claude Opus 4.6",- group: "Anthropic Claude Family",- tag: "Deep Thinker",- icon: "🔮",- },- {- id: "claude-opus-4-7",- name: "Claude Opus 4.7",- group: "Anthropic Claude Family",- tag: "Multi-Modal",- icon: "🔮",- },- {- id: "claude-opus-4-8",- name: "Claude Opus 4.8",- group: "Anthropic Claude Family",- tag: "Long Context",- icon: "🔮",- },- {- id: "claude-opus-5",- name: "Claude Opus 5",- group: "Anthropic Claude Family",- tag: "Premier",- icon: "👑",- },- {- id: "claude-opus-5-5",- name: "Claude Opus 5.5",- group: "Anthropic Claude Family",- tag: "Next-Gen",- icon: "👑",- },- {- id: "claude-fable-5",- name: "Claude Fable 5",- group: "Anthropic Claude Family",- tag: "Creative Writing",- icon: "📖",- },- {- id: "claude-fable-5-1",- name: "Claude Fable 5.1",- group: "Anthropic Claude Family",- tag: "Long Storytelling",- icon: "📖",- },-- // --- 4. Google Gemini Family ---- {- id: "gemini-2-5-flash",- name: "Gemini 2.5 Flash",- group: "Google Gemini Family",- tag: "Ultra-Fast",- icon: "⚡",- },- {- id: "gemini-2-5-pro",- name: "Gemini 2.5 Pro",- group: "Google Gemini Family",- tag: "Multimodal Pro",- icon: "💠",- },- {- id: "gemini-3-flash",- name: "Gemini 3 Flash",- group: "Google Gemini Family",- tag: "Low-Latency",- icon: "⚡",- },- {- id: "gemini-3-pro",- name: "Gemini 3 Pro",- group: "Google Gemini Family",- tag: "Deep Analysis",- icon: "💠",- },- {- id: "gemini-3-1-pro",- name: "Gemini 3.1 Pro",- group: "Google Gemini Family",- tag: "MoE Flagship",- icon: "💠",- },- {- id: "gemini-3-5-flash",- name: "Gemini 3.5 Flash",- group: "Google Gemini Family",- tag: "High Speed",- icon: "⚡",- },- {- id: "gemini-3-5-flash-openai",- name: "Gemini 3.5 Flash (OpenAI)",- group: "Google Gemini Family",- tag: "OpenAI Format",- icon: "⚡",- },- {- id: "gemini-3-6-flash",- name: "Gemini 3.6 Flash",- group: "Google Gemini Family",- tag: "Fast Vision",- icon: "⚡",- },- {- id: "gemini-3-6-flash-openai",- name: "Gemini 3.6 Flash (OpenAI)",- group: "Google Gemini Family",- tag: "OpenAI Format",- icon: "⚡",- },- {- id: "gemini-3-7-flash",- name: "Gemini 3.7 Flash",- group: "Google Gemini Family",- tag: "Hybrid Reasoner",- icon: "🧠",- },- {- id: "gemini-3-7-flash-openai",- name: "Gemini 3.7 Flash (OpenAI)",- group: "Google Gemini Family",- tag: "OpenAI Format",- icon: "🧠",- },- {- id: "gemini-3-8-flash",- name: "Gemini 3.8 Flash",- group: "Google Gemini Family",- tag: "Advanced Vision",- icon: "⚡",- },-- // --- 5. xAI Grok Family ---- {- id: "grok-4-3",- name: "Grok 4.3",- group: "xAI Grok Family",- tag: "Conversational",- icon: "🚀",- },- {- id: "grok-4-5",- name: "Grok 4.5",- group: "xAI Grok Family",- tag: "Real-Time Vision",- icon: "🚀",- },- {- id: "grok-4-6",- name: "Grok 4.6",- group: "xAI Grok Family",- tag: "Coding & Logic",- icon: "🚀",- },- {- id: "grok-4-7",- name: "Grok 4.7",- group: "xAI Grok Family",- tag: "Flagship Multimodal",- icon: "🚀",- },-- // --- 6. Moonshot Kimi & DeepSeek Family ---- {- id: "kimi-k3",- name: "Moonshot Kimi K3",- group: "Moonshot Kimi & DeepSeek",- tag: "2.8T MoE / 1M ctx",- icon: "🌙",- },- {- id: "deepseek-v4-flash",- name: "DeepSeek V4 Flash",- group: "Moonshot Kimi & DeepSeek",- tag: "Fast Vision",- icon: "🐋",- },- {- id: "deepseek-v4-1-flash",- name: "DeepSeek V4.1 Flash",- group: "Moonshot Kimi & DeepSeek",- tag: "Reasoning Vision",- icon: "🐋",- },- {- id: "deepseek-v4-pro",- name: "DeepSeek V4 Pro",- group: "Moonshot Kimi & DeepSeek",- tag: "Pro Reasoning",- icon: "🐋",- },-];--export const DEFAULT_MODEL = "gpt-6-1-sol";diff --git a/data.json b/data.jsonnew file mode 100644index 0000000..3287d19--- /dev/null+++ b/data.json@@ -0,0 +1,3027 @@+[+ {+ "slug": "notion",+ "name": "Notion",+ "category": "Productivity",+ "description": "All-in-one workspace for notes, docs and wikis.",+ "alternatives": [+ {+ "name": "AppFlowy",+ "repo": "AppFlowy-IO/AppFlowy",+ "license": "AGPL-3.0",+ "description": "Privacy-first Notion alternative built with Flutter and Rust."+ },+ {+ "name": "AFFiNE",+ "repo": "toeverything/AFFiNE",+ "license": "MIT",+ "description": "Docs, whiteboards and databases in one local-first workspace."+ },+ {+ "name": "SiYuan",+ "repo": "siyuan-note/siyuan",+ "license": "AGPL-3.0",+ "description": "Local-first personal knowledge management system."+ },+ {+ "name": "Logseq",+ "repo": "logseq/logseq",+ "license": "AGPL-3.0",+ "description": "Privacy-first outliner for notes and knowledge. No native databases."+ },+ {+ "name": "Huly",+ "repo": "hcengineering/platform",+ "license": "EPL-2.0",+ "description": "Huly — All-in-One Project Management Platform (alternative to Linear, Jira, Slack, Notion, Motion)"+ },+ {+ "name": "focalboard",+ "repo": "mattermost-community/focalboard",+ "license": "NOASSERTION",+ "description": "Focalboard is an open source, self-hosted alternative to Trello, Notion, and Asana."+ },+ {+ "name": "docmost",+ "repo": "docmost/docmost",+ "license": "AGPL-3.0",+ "description": "Docmost is an open-source collaborative wiki and documentation software. It is an open-source alternative to Confluence and Notion."+ }+ ]+ },+ {+ "slug": "slack",+ "name": "Slack",+ "category": "Communication",+ "description": "Team chat and collaboration.",+ "alternatives": [+ {+ "name": "Mattermost",+ "repo": "mattermost/mattermost",+ "license": "MIT / AGPL-3.0",+ "description": "Self-hosted secure team collaboration platform."+ },+ {+ "name": "Rocket.Chat",+ "repo": "RocketChat/Rocket.Chat",+ "license": "MIT",+ "description": "Open source team chat with omnichannel support."+ },+ {+ "name": "Zulip",+ "repo": "zulip/zulip",+ "license": "Apache-2.0",+ "description": "Threaded team chat that keeps conversations organized."+ },+ {+ "name": "Huly",+ "repo": "hcengineering/platform",+ "license": "EPL-2.0",+ "description": "Huly — All-in-One Project Management Platform (alternative to Linear, Jira, Slack, Notion, Motion)"+ },+ {+ "name": "Quiet",+ "repo": "TryQuiet/quiet",+ "license": "GPL-3.0",+ "description": "A private, p2p alternative to Slack and Discord built on Tor & IPFS"+ }+ ]+ },+ {+ "slug": "zoom",+ "name": "Zoom",+ "category": "Communication",+ "description": "Video conferencing.",+ "alternatives": [+ {+ "name": "Jitsi Meet",+ "repo": "jitsi/jitsi-meet",+ "license": "Apache-2.0",+ "description": "Secure, scalable video conferencing you can self-host."+ },+ {+ "name": "mirotalksfu",+ "repo": "miroslavpejic85/mirotalksfu",+ "license": "AGPL-3.0",+ "description": "🏆 Self-hosted, open-source WebRTC video conferencing platform for real-time communication and collaboration. A modern alternative to Zoom, Google Meet, Jitsi M"+ }+ ]+ },+ {+ "slug": "google-analytics",+ "name": "Google Analytics",+ "category": "Analytics",+ "description": "Website and product analytics.",+ "alternatives": [+ {+ "name": "Plausible",+ "repo": "plausible/analytics",+ "license": "AGPL-3.0",+ "description": "Lightweight, privacy-friendly web analytics."+ },+ {+ "name": "Umami",+ "repo": "umami-software/umami",+ "license": "MIT",+ "description": "Simple, fast, privacy-focused analytics."+ },+ {+ "name": "PostHog",+ "repo": "PostHog/posthog",+ "license": "MIT",+ "description": "Product analytics suite with session replay. Web analytics is one part."+ },+ {+ "name": "matomo",+ "repo": "matomo-org/matomo",+ "license": "GPL-3.0",+ "description": "Empowering People Ethically 🚀 — Matomo is hiring! Join us → https://matomo.org/jobs Matomo is the leading open-source alternative to Google Analytics, giving y"+ },+ {+ "name": "rybbit",+ "repo": "rybbit-io/rybbit",+ "license": "AGPL-3.0",+ "description": "🐸 Rybbit - open-source and privacy-friendly alternative to Google Analytics that is 10x more intuitive."+ },+ {+ "name": "vince",+ "repo": "vinceanalytics/vince",+ "license": "AGPL-3.0",+ "description": "Self Hosted Alternative To Google Analytics"+ },+ {+ "name": "litlyx",+ "repo": "Litlyx/litlyx",+ "license": "Apache-2.0",+ "description": "Powerful Analytics Solution. Setup in 30 seconds. Display all your data on a Simple, AI-powered dashboard. Fully self-hostable and GDPR compliant. Alternative t"+ },+ {+ "name": "xyne",+ "repo": "xynehq/xyne",+ "license": "Apache-2.0",+ "description": "AI-first Search & Answer Engine for work. Open-source alternative to Glean."+ }+ ]+ },+ {+ "slug": "firebase",+ "name": "Firebase",+ "category": "Developer Tools",+ "description": "Backend-as-a-service for apps.",+ "alternatives": [+ {+ "name": "Supabase",+ "repo": "supabase/supabase",+ "license": "Apache-2.0",+ "description": "Postgres database, auth, storage and realtime."+ },+ {+ "name": "Appwrite",+ "repo": "appwrite/appwrite",+ "license": "BSD-3-Clause",+ "description": "Backend platform for web, mobile and Flutter apps."+ },+ {+ "name": "PocketBase",+ "repo": "pocketbase/pocketbase",+ "license": "MIT",+ "description": "Single-file backend with realtime database and auth."+ },+ {+ "name": "supertokens-core",+ "repo": "supertokens/supertokens-core",+ "license": "NOASSERTION",+ "description": "Open source alternative to Auth0 / Firebase Auth / AWS Cognito "+ },+ {+ "name": "measure",+ "repo": "measure-sh/measure",+ "license": "Apache-2.0",+ "description": "Measure helps mobile teams monitor and fix crashes, ANRs, bugs, and performance issues. The open source alternative to Firebase Crashlytics."+ }+ ]+ },+ {+ "slug": "vercel",+ "name": "Vercel",+ "category": "Developer Tools",+ "description": "Frontend hosting and deployment platform.",+ "alternatives": [+ {+ "name": "Coolify",+ "repo": "coollabsio/coolify",+ "license": "Apache-2.0",+ "description": "Self-hostable alternative to Vercel, Heroku and Netlify."+ },+ {+ "name": "Dokku",+ "repo": "dokku/dokku",+ "license": "MIT",+ "description": "Self-hosted Heroku-style PaaS. Lacks preview deploys and edge features."+ },+ {+ "name": "CapRover",+ "repo": "caprover/caprover",+ "license": "Apache-2.0",+ "description": "Self-hosted PaaS on Docker and nginx. Covers hosting and deploys only."+ },+ {+ "name": "dokploy",+ "repo": "Dokploy/dokploy",+ "license": "NOASSERTION",+ "description": "Open Source Alternative to Vercel, Netlify and Heroku."+ },+ {+ "name": "kubero",+ "repo": "kubero-dev/kubero",+ "license": "GPL-3.0",+ "description": "A free and self-hosted PaaS alternative to Heroku / Netlify / Coolify / Vercel / Dokku / Portainer running on Kubernetes"+ },+ {+ "name": "temps",+ "repo": "gotempsh/temps",+ "license": "Apache-2.0",+ "description": "AI-native open-source alternative to Vercel + Sentry + PostHog + Pingdom + Resend + E2B. 440+ CLI operations with drop-in skills for Claude Code, Codex & OpenCo"+ }+ ]+ },+ {+ "slug": "auth0",+ "name": "Auth0",+ "category": "Developer Tools",+ "description": "Identity and authentication platform.",+ "alternatives": [+ {+ "name": "Keycloak",+ "repo": "keycloak/keycloak",+ "license": "Apache-2.0",+ "description": "Identity and access management for apps and services."+ },+ {+ "name": "Ory Kratos",+ "repo": "ory/kratos",+ "license": "Apache-2.0",+ "description": "API-first identity and user management."+ },+ {+ "name": "SuperTokens",+ "repo": "supertokens/supertokens-core",+ "license": "Apache-2.0",+ "description": "Open source authentication with your own database."+ },+ {+ "name": "hanko",+ "repo": "teamhanko/hanko",+ "license": "NOASSERTION",+ "description": "Modern authentication, on your terms. Open source alternative to Auth0, Clerk, WorkOS, Stytch."+ }+ ]+ },+ {+ "slug": "airtable",+ "name": "Airtable",+ "category": "Productivity",+ "description": "Spreadsheet-database hybrid.",+ "alternatives": [+ {+ "name": "NocoDB",+ "repo": "nocodb/nocodb",+ "license": "AGPL-3.0",+ "description": "Turns any database into a smart spreadsheet."+ },+ {+ "name": "Baserow",+ "repo": "bram2w/baserow",+ "license": "MIT",+ "description": "No-code database and application builder."+ }+ ]+ },+ {+ "slug": "zapier",+ "name": "Zapier",+ "category": "Automation",+ "description": "No-code workflow automation.",+ "alternatives": [+ {+ "name": "Activepieces",+ "repo": "activepieces/activepieces",+ "license": "MIT",+ "description": "No-code business automation with an extensible piece system."+ },+ {+ "name": "Huginn",+ "repo": "huginn/huginn",+ "license": "MIT",+ "description": "Build agents that monitor and act on your behalf."+ },+ {+ "name": "n8n",+ "repo": "n8n-io/n8n",+ "license": "Sustainable Use (fair-code)",+ "description": "Workflow automation with a visual editor. Fair-code, not OSI open source."+ },+ {+ "name": "bytechef",+ "repo": "bytechefhq/bytechef",+ "license": "NOASSERTION",+ "description": "Open-source AI agents and workflow automation. Self-host or embed in your SaaS. Apache 2.0 alternative to n8n and Zapier."+ }+ ]+ },+ {+ "slug": "dropbox",+ "name": "Dropbox",+ "category": "Storage",+ "description": "Cloud file storage and sync.",+ "alternatives": [+ {+ "name": "Nextcloud",+ "repo": "nextcloud/server",+ "license": "AGPL-3.0",+ "description": "Self-hosted file sync, sharing and collaboration platform."+ },+ {+ "name": "Syncthing",+ "repo": "syncthing/syncthing",+ "license": "MPL-2.0",+ "description": "Peer-to-peer file sync. No cloud storage or share links."+ }+ ]+ },+ {+ "slug": "1password",+ "name": "1Password",+ "category": "Security",+ "description": "Password manager.",+ "alternatives": [+ {+ "name": "Bitwarden",+ "repo": "bitwarden/server",+ "license": "AGPL-3.0 / Bitwarden License",+ "description": "Open source password manager for individuals and teams."+ },+ {+ "name": "Vaultwarden",+ "repo": "dani-garcia/vaultwarden",+ "license": "AGPL-3.0",+ "description": "Self-hosted Bitwarden-compatible server."+ },+ {+ "name": "KeePassXC",+ "repo": "keepassxreboot/keepassxc",+ "license": "GPL-2.0 / GPL-3.0",+ "description": "Cross-platform offline password manager."+ }+ ]+ },+ {+ "slug": "photoshop",+ "name": "Adobe Photoshop",+ "category": "Design",+ "description": "Raster image editing.",+ "alternatives": [+ {+ "name": "Krita",+ "repo": "KDE/krita",+ "license": "GPL-3.0",+ "description": "Digital painting and illustration. For photo editing, see GIMP."+ },+ {+ "name": "GIMP",+ "repo": null,+ "url": "https://www.gimp.org",+ "license": "GPL-3.0",+ "description": "Long-standing free image editor."+ }+ ]+ },+ {+ "slug": "figma",+ "name": "Figma",+ "category": "Design",+ "description": "Collaborative interface design.",+ "alternatives": [+ {+ "name": "Penpot",+ "repo": "penpot/penpot",+ "license": "MPL-2.0",+ "description": "Design and prototyping platform for design and code teams."+ }+ ]+ },+ {+ "slug": "premiere-pro",+ "name": "Adobe Premiere Pro",+ "category": "Video",+ "description": "Professional video editing.",+ "alternatives": [+ {+ "name": "Kdenlive",+ "repo": "KDE/kdenlive",+ "license": "GPL-3.0",+ "description": "Multi-track non-linear video editor."+ },+ {+ "name": "OpenShot",+ "repo": "OpenShot/openshot-qt",+ "license": "GPL-3.0",+ "description": "Easy-to-use cross-platform video editor."+ }+ ]+ },+ {+ "slug": "microsoft-office",+ "name": "Microsoft Office",+ "category": "Productivity",+ "description": "Documents, spreadsheets and presentations.",+ "alternatives": [+ {+ "name": "LibreOffice",+ "repo": "LibreOffice/core",+ "license": "MPL-2.0",+ "description": "Full office suite with Writer, Calc and Impress."+ },+ {+ "name": "ONLYOFFICE",+ "repo": "ONLYOFFICE/DocumentServer",+ "license": "AGPL-3.0",+ "description": "Online editors compatible with Office formats."+ }+ ]+ },+ {+ "slug": "jira",+ "name": "Jira",+ "category": "Project Management",+ "description": "Issue and project tracking.",+ "alternatives": [+ {+ "name": "Plane",+ "repo": "makeplane/plane",+ "license": "AGPL-3.0",+ "description": "Issues, cycles and modules for modern teams."+ },+ {+ "name": "Huly",+ "repo": "hcengineering/platform",+ "license": "EPL-2.0",+ "description": "Huly — All-in-One Project Management Platform (alternative to Linear, Jira, Slack, Notion, Motion)"+ },+ {+ "name": "Paca",+ "repo": "Paca-AI/paca",+ "license": "Apache-2.0",+ "description": "AI-native, free, open-source alternative to Jira, Trello, ClickUp & Monday. Built for Scrum teams where humans and AI agents collaborate as equals — on the same"+ }+ ]+ },+ {+ "slug": "trello",+ "name": "Trello",+ "category": "Project Management",+ "description": "Kanban boards.",+ "alternatives": [+ {+ "name": "WeKan",+ "repo": "wekan/wekan",+ "license": "MIT",+ "description": "Open source kanban board."+ },+ {+ "name": "focalboard",+ "repo": "mattermost-community/focalboard",+ "license": "NOASSERTION",+ "description": "Focalboard is an open source, self-hosted alternative to Trello, Notion, and Asana."+ },+ {+ "name": "Paca",+ "repo": "Paca-AI/paca",+ "license": "Apache-2.0",+ "description": "AI-native, free, open-source alternative to Jira, Trello, ClickUp & Monday. Built for Scrum teams where humans and AI agents collaborate as equals — on the same"+ }+ ]+ },+ {+ "slug": "salesforce",+ "name": "Salesforce",+ "category": "CRM",+ "description": "Customer relationship management.",+ "alternatives": [+ {+ "name": "Twenty",+ "repo": "twentyhq/twenty",+ "license": "AGPL-3.0",+ "description": "Modern open source CRM."+ }+ ]+ },+ {+ "slug": "intercom",+ "name": "Intercom",+ "category": "Customer Support",+ "description": "Customer messaging and support.",+ "alternatives": [+ {+ "name": "Chatwoot",+ "repo": "chatwoot/chatwoot",+ "license": "MIT",+ "description": "Omnichannel customer support platform."+ },+ {+ "name": "DeskcommCRM",+ "repo": "melgarafael/DeskcommCRM",+ "license": "MIT",+ "description": "Open-source AI sales OS — self-hosted CRM with native AI agents + WhatsApp (WAHA). Open alternative to Kommo, Octadesk & Intercom for any business that sells by"+ },+ {+ "name": "chaskiq",+ "repo": "chaskiq/chaskiq",+ "license": "NOASSERTION",+ "description": "A full featured Live Chat, Support & Marketing platform, alternative to Intercom, Drift, Crisp."+ },+ {+ "name": "libredesk",+ "repo": "abhinavxd/libredesk",+ "license": "AGPL-3.0",+ "description": "Open-source, self-hosted customer support desk in a single binary. A lightweight alternative to Intercom, Zendesk, Chatwoot."+ }+ ]+ },+ {+ "slug": "zendesk",+ "name": "Zendesk",+ "category": "Customer Support",+ "description": "Helpdesk and ticketing.",+ "alternatives": [+ {+ "name": "Zammad",+ "repo": "zammad/zammad",+ "license": "AGPL-3.0",+ "description": "Web-based helpdesk and customer support system."+ },+ {+ "name": "chatwoot",+ "repo": "chatwoot/chatwoot",+ "license": "NOASSERTION",+ "description": "Open-source live-chat, email support, omni-channel desk. An alternative to Intercom, Zendesk, Salesforce Service Cloud etc. 🔥💬"+ },+ {+ "name": "libredesk",+ "repo": "abhinavxd/libredesk",+ "license": "AGPL-3.0",+ "description": "Open-source, self-hosted customer support desk in a single binary. A lightweight alternative to Intercom, Zendesk, Chatwoot."+ }+ ]+ },+ {+ "slug": "calendly",+ "name": "Calendly",+ "category": "Productivity",+ "description": "Scheduling and booking.",+ "alternatives": [+ {+ "name": "Cal.com",+ "repo": "calcom/cal.com",+ "license": "AGPL-3.0",+ "description": "Scheduling infrastructure for everyone."+ }+ ]+ },+ {+ "slug": "typeform",+ "name": "Typeform",+ "category": "Forms",+ "description": "Forms and surveys.",+ "alternatives": [+ {+ "name": "Formbricks",+ "repo": "formbricks/formbricks",+ "license": "AGPL-3.0",+ "description": "Open source survey and experience management."+ },+ {+ "name": "LimeSurvey",+ "repo": "LimeSurvey/LimeSurvey",+ "license": "NOASSERTION",+ "description": "🔥 LimeSurvey – A powerful, open-source survey platform. A free alternative to SurveyMonkey, Typeform, Qualtrics, and Google Forms, making it simple to create o"+ }+ ]+ },+ {+ "slug": "mailchimp",+ "name": "Mailchimp",+ "category": "Marketing",+ "description": "Email marketing.",+ "alternatives": [+ {+ "name": "Listmonk",+ "repo": "knadh/listmonk",+ "license": "AGPL-3.0",+ "description": "Newsletter and mailing list manager. No automation workflows."+ },+ {+ "name": "forwardemail.net",+ "repo": "forwardemail/forwardemail.net",+ "license": "NOASSERTION",+ "description": "Privacy-focused encrypted email for everyone. All-in-one alternative to Gmail + Mailchimp + Sendgrid."+ }+ ]+ },+ {+ "slug": "shopify",+ "name": "Shopify",+ "category": "E-commerce",+ "description": "Online store platform.",+ "alternatives": [+ {+ "name": "Medusa",+ "repo": "medusajs/medusa",+ "license": "MIT",+ "description": "Composable commerce engine."+ },+ {+ "name": "Saleor",+ "repo": "saleor/saleor",+ "license": "BSD-3-Clause",+ "description": "Headless commerce backend. No storefront out of the box."+ }+ ]+ },+ {+ "slug": "stripe-billing",+ "name": "Stripe Billing",+ "category": "Finance",+ "description": "Subscription billing.",+ "alternatives": [+ {+ "name": "Lago",+ "repo": "getlago/lago",+ "license": "AGPL-3.0",+ "description": "Open source metering and usage-based billing."+ }+ ]+ },+ {+ "slug": "datadog",+ "name": "Datadog",+ "category": "Monitoring",+ "description": "Infrastructure and application monitoring.",+ "alternatives": [+ {+ "name": "Grafana",+ "repo": "grafana/grafana",+ "license": "AGPL-3.0",+ "description": "Dashboards and metrics for monitoring. Usually paired with Prometheus."+ },+ {+ "name": "SigNoz",+ "repo": "SigNoz/signoz",+ "license": "MIT (core)",+ "description": "OpenTelemetry-native APM, logs and traces."+ },+ {+ "name": "openobserve",+ "repo": "openobserve/openobserve",+ "license": "AGPL-3.0",+ "description": "Open source observability platform for logs, metrics, traces, RUM (web, android, ios), Session replay, pipelines, SLO and LLM observability. A sophisticated, si"+ }+ ]+ },+ {+ "slug": "evernote",+ "name": "Evernote",+ "category": "Productivity",+ "description": "Note taking.",+ "alternatives": [+ {+ "name": "Joplin",+ "repo": "laurent22/joplin",+ "license": "AGPL-3.0",+ "description": "Note-taking app with end-to-end encrypted sync."+ },+ {+ "name": "notesnook",+ "repo": "streetwriters/notesnook",+ "license": "GPL-3.0",+ "description": "A fully open source & end-to-end encrypted note taking alternative to Evernote."+ }+ ]+ },+ {+ "slug": "chatgpt",+ "name": "ChatGPT",+ "category": "AI",+ "description": "AI chat assistant.",+ "alternatives": [+ {+ "name": "open-spaces",+ "repo": "Anil-matcha/open-spaces",+ "license": "MIT",+ "description": "Free, open-source alternative to ChatGPT Spaces: a self-hostable AI workspace for shared pages and conversations."+ },+ {+ "name": "Open WebUI",+ "repo": "open-webui/open-webui",+ "license": "Open WebUI License (BSD-3 based)",+ "description": "Self-hosted AI interface for Ollama and OpenAI-compatible APIs."+ },+ {+ "name": "Ollama",+ "repo": "ollama/ollama",+ "license": "MIT",+ "description": "Run large language models locally."+ },+ {+ "name": "LibreChat",+ "repo": "danny-avila/LibreChat",+ "license": "MIT",+ "description": "Multi-provider ChatGPT-style interface."+ },+ {+ "name": "jan",+ "repo": "janhq/jan",+ "license": "NOASSERTION",+ "description": "Jan is an open source alternative to ChatGPT that runs 100% offline on your computer."+ }+ ]+ },+ {+ "slug": "github-copilot",+ "name": "GitHub Copilot",+ "category": "AI",+ "description": "AI coding assistant.",+ "alternatives": [+ {+ "name": "Continue",+ "repo": "continuedev/continue",+ "license": "Apache-2.0",+ "description": "Open source AI code assistant for IDEs."+ },+ {+ "name": "Tabby",+ "repo": "TabbyML/tabby",+ "license": "Apache-2.0 (core)",+ "description": "Self-hosted AI coding assistant."+ }+ ]+ },+ {+ "slug": "midjourney",+ "name": "Midjourney",+ "category": "AI",+ "description": "AI image generation.",+ "alternatives": [+ {+ "name": "ComfyUI",+ "repo": "comfyanonymous/ComfyUI",+ "license": "GPL-3.0",+ "description": "Node-based diffusion workflow engine. Quality depends on the model you load."+ },+ {+ "name": "Stable Diffusion WebUI",+ "repo": "AUTOMATIC1111/stable-diffusion-webui",+ "license": "AGPL-3.0",+ "description": "Self-hosted image generation with Stable Diffusion models."+ }+ ]+ },+ {+ "slug": "loom",+ "name": "Loom",+ "category": "Video",+ "description": "Screen recording and sharing.",+ "alternatives": [+ {+ "name": "Cap",+ "repo": "CapSoftware/Cap",+ "license": "AGPL-3.0",+ "description": "Open source screen recorder and sharing tool."+ },+ {+ "name": "better-shot",+ "repo": "KartikLabhshetwar/better-shot",+ "license": "NOASSERTION",+ "description": "Screenshot, screen recording, and video editor for macOS. Native SwiftUI app with capture deck, 75+ customizable shortcuts, URL scheme automation, and self-host"+ }+ ]+ },+ {+ "slug": "miro",+ "name": "Miro",+ "category": "Design",+ "description": "Online whiteboard for collaboration.",+ "alternatives": [+ {+ "name": "Excalidraw",+ "repo": "excalidraw/excalidraw",+ "license": "MIT",+ "description": "Virtual hand-drawn style whiteboard."+ }+ ]+ },+ {+ "slug": "lucidchart",+ "name": "Lucidchart",+ "category": "Design",+ "description": "Diagramming and flowcharts.",+ "alternatives": [+ {+ "name": "draw.io",+ "repo": "jgraph/drawio",+ "license": "Apache-2.0",+ "description": "Diagramming for flowcharts and architecture."+ }+ ]+ },+ {+ "slug": "postman",+ "name": "Postman",+ "category": "Developer Tools",+ "description": "API testing and development.",+ "alternatives": [+ {+ "name": "Bruno",+ "repo": "usebruno/bruno",+ "license": "MIT",+ "description": "Git-friendly offline API client."+ },+ {+ "name": "Hoppscotch",+ "repo": "hoppscotch/hoppscotch",+ "license": "MIT",+ "description": "Lightweight open source API development ecosystem."+ },+ {+ "name": "Pororoca",+ "repo": "alexandrehtrb/Pororoca",+ "license": "NOASSERTION",+ "description": "An API testing tool with support for HTTP/2 and HTTP/3. Alternative to Postman."+ }+ ]+ },+ {+ "slug": "terraform",+ "name": "Terraform",+ "category": "Developer Tools",+ "description": "Infrastructure as code.",+ "alternatives": [+ {+ "name": "OpenTofu",+ "repo": "opentofu/opentofu",+ "license": "MPL-2.0",+ "description": "Community-driven Terraform fork."+ }+ ]+ },+ {+ "slug": "medium",+ "name": "Medium / Substack",+ "category": "Publishing",+ "description": "Blogging and newsletters.",+ "alternatives": [+ {+ "name": "Ghost",+ "repo": "TryGhost/Ghost",+ "license": "MIT",+ "description": "Publishing platform with memberships and newsletters."+ }+ ]+ },+ {+ "slug": "retool",+ "name": "Retool",+ "category": "Developer Tools",+ "description": "Internal tool builder.",+ "alternatives": [+ {+ "name": "Appsmith",+ "repo": "appsmithorg/appsmith",+ "license": "Apache-2.0",+ "description": "Low-code platform for internal apps."+ },+ {+ "name": "ToolJet",+ "repo": "ToolJet/ToolJet",+ "license": "AGPL-3.0",+ "description": "Low-code platform for business apps."+ },+ {+ "name": "windmill",+ "repo": "windmill-labs/windmill",+ "license": "NOASSERTION",+ "description": "Open-source developer platform to power your entire infra and turn scripts into webhooks, workflows and UIs. Fastest workflow engine (13x vs Airflow). Open-sour"+ }+ ]+ },+ {+ "slug": "tableau",+ "name": "Tableau / Looker",+ "category": "Analytics",+ "description": "Business intelligence.",+ "alternatives": [+ {+ "name": "Metabase",+ "repo": "metabase/metabase",+ "license": "AGPL-3.0",+ "description": "Lightweight BI for dashboards and questions without SQL."+ },+ {+ "name": "Apache Superset",+ "repo": "apache/superset",+ "license": "Apache-2.0",+ "description": "Data exploration and visualization platform."+ },+ {+ "name": "dataease",+ "repo": "dataease/dataease",+ "license": "NOASSERTION",+ "description": "🔥 人人可用的开源 BI 工具,数据可视化神器。An open-source BI tool alternative to Tableau."+ },+ {+ "name": "graphic-walker",+ "repo": "Kanaries/graphic-walker",+ "license": "Apache-2.0",+ "description": "An open source alternative to Tableau. Embeddable visual analytic"+ }+ ]+ },+ {+ "slug": "algolia",+ "name": "Algolia",+ "category": "Developer Tools",+ "description": "Hosted search.",+ "alternatives": [+ {+ "name": "Meilisearch",+ "repo": "meilisearch/meilisearch",+ "license": "MIT",+ "description": "Fast, typo-tolerant search engine."+ },+ {+ "name": "Typesense",+ "repo": "typesense/typesense",+ "license": "GPL-3.0",+ "description": "Open source typo-tolerant search engine."+ }+ ]+ },+ {+ "slug": "launchdarkly",+ "name": "LaunchDarkly",+ "category": "Developer Tools",+ "description": "Feature flags.",+ "alternatives": [+ {+ "name": "Unleash",+ "repo": "Unleash/unleash",+ "license": "Apache-2.0",+ "description": "Open source feature management."+ }+ ]+ },+ {+ "slug": "docusign",+ "name": "DocuSign",+ "category": "Productivity",+ "description": "E-signatures.",+ "alternatives": [+ {+ "name": "Documenso",+ "repo": "documenso/documenso",+ "license": "AGPL-3.0",+ "description": "Open source document signing."+ }+ ]+ },+ {+ "slug": "insomnia",+ "name": "Insomnia",+ "category": "Developer Tools",+ "description": "Insomnia: paid SaaS product.",+ "alternatives": [+ {+ "name": "hoppscotch",+ "repo": "hoppscotch/hoppscotch",+ "license": "MIT",+ "description": "Open-Source API Development Ecosystem • https://hoppscotch.io • Offline, On-Prem & Cloud • Web, Desktop & CLI • Open-Source Alternative to Postman, Insomnia"+ },+ {+ "name": "bruno",+ "repo": "usebruno/bruno",+ "license": "MIT",+ "description": "Opensource IDE For Exploring and Testing API's (lightweight alternative to Postman/Insomnia)"+ }+ ]+ },+ {+ "slug": "heroku",+ "name": "Heroku",+ "category": "Developer Tools",+ "description": "Heroku: paid SaaS product.",+ "alternatives": [+ {+ "name": "coolify",+ "repo": "coollabsio/coolify",+ "license": "Apache-2.0",+ "description": "An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 280+"+ },+ {+ "name": "dokploy",+ "repo": "Dokploy/dokploy",+ "license": "NOASSERTION",+ "description": "Open Source Alternative to Vercel, Netlify and Heroku."+ },+ {+ "name": "kubero",+ "repo": "kubero-dev/kubero",+ "license": "GPL-3.0",+ "description": "A free and self-hosted PaaS alternative to Heroku / Netlify / Coolify / Vercel / Dokku / Portainer running on Kubernetes"+ }+ ]+ },+ {+ "slug": "netlify",+ "name": "Netlify",+ "category": "Developer Tools",+ "description": "Netlify: paid SaaS product.",+ "alternatives": [+ {+ "name": "coolify",+ "repo": "coollabsio/coolify",+ "license": "Apache-2.0",+ "description": "An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 280+"+ },+ {+ "name": "dokploy",+ "repo": "Dokploy/dokploy",+ "license": "NOASSERTION",+ "description": "Open Source Alternative to Vercel, Netlify and Heroku."+ },+ {+ "name": "kubero",+ "repo": "kubero-dev/kubero",+ "license": "GPL-3.0",+ "description": "A free and self-hosted PaaS alternative to Heroku / Netlify / Coolify / Vercel / Dokku / Portainer running on Kubernetes"+ }+ ]+ },+ {+ "slug": "linear",+ "name": "Linear",+ "category": "Project Management",+ "description": "Linear: paid SaaS product.",+ "alternatives": [+ {+ "name": "Huly",+ "repo": "hcengineering/platform",+ "license": "EPL-2.0",+ "description": "Huly — All-in-One Project Management Platform (alternative to Linear, Jira, Slack, Notion, Motion)"+ },+ {+ "name": "ItsAPlan",+ "repo": "croffasia/itsaplan",+ "license": "AGPL-3.0",+ "description": "Open-source, self-hosted alternative to Linear and Plane. Project management and issue tracking where teams and AI agents work side by side to plan and ship pro"+ }+ ]+ },+ {+ "slug": "pinecone",+ "name": "Pinecone",+ "category": "Developer Tools",+ "description": "Pinecone: paid SaaS product.",+ "alternatives": [+ {+ "name": "typesense",+ "repo": "typesense/typesense",+ "license": "GPL-3.0",+ "description": "Open Source alternative to Algolia + Pinecone and an Easier-to-Use alternative to ElasticSearch ⚡ 🔍 ✨ Fast, typo tolerant, in-memory fuzzy Search Engine for bu"+ }+ ]+ },+ {+ "slug": "asana",+ "name": "Asana",+ "category": "Project Management",+ "description": "Asana: paid SaaS product.",+ "alternatives": [+ {+ "name": "focalboard",+ "repo": "mattermost-community/focalboard",+ "license": "NOASSERTION",+ "description": "Focalboard is an open source, self-hosted alternative to Trello, Notion, and Asana."+ }+ ]+ },+ {+ "slug": "semrush",+ "name": "Semrush",+ "category": "Marketing",+ "description": "Semrush: paid SaaS product.",+ "alternatives": [+ {+ "name": "geo-checker",+ "repo": "SamurAIGPT/geo-checker",+ "license": "See repo",+ "description": "Open-source AI GEO (Generative Engine Optimization) auditor"+ }+ ]+ },+ {+ "slug": "ahrefs",+ "name": "Ahrefs",+ "category": "Marketing",+ "description": "Ahrefs: paid SaaS product.",+ "alternatives": [+ {+ "name": "open-seo",+ "repo": "every-app/open-seo",+ "license": "MIT",+ "description": "Open source alternative to Semrush and Ahrefs"+ }+ ]+ },+ {+ "slug": "splunk",+ "name": "Splunk",+ "category": "Monitoring",+ "description": "Splunk: paid SaaS product.",+ "alternatives": [+ {+ "name": "openobserve",+ "repo": "openobserve/openobserve",+ "license": "AGPL-3.0",+ "description": "Open source observability platform for logs, metrics, traces, RUM (web, android, ios), Session replay, pipelines, SLO and LLM observability. A sophisticated, si"+ }+ ]+ },+ {+ "slug": "elastic-cloud",+ "name": "Elastic Cloud",+ "category": "Developer Tools",+ "description": "Elastic Cloud: paid SaaS product.",+ "alternatives": [+ {+ "name": "openobserve",+ "repo": "openobserve/openobserve",+ "license": "AGPL-3.0",+ "description": "Open source observability platform for logs, metrics, traces, RUM (web, android, ios), Session replay, pipelines, SLO and LLM observability. A sophisticated, si"+ },+ {+ "name": "Sonic",+ "repo": "valeriansaliou/sonic",+ "license": "MPL-2.0",+ "description": "🦔 Fast, lightweight & schema-less search backend. An alternative to Elasticsearch that runs on a few MBs of RAM."+ }+ ]+ },+ {+ "slug": "confluence",+ "name": "Confluence",+ "category": "Productivity",+ "description": "Confluence: paid SaaS product.",+ "alternatives": [+ {+ "name": "docmost",+ "repo": "docmost/docmost",+ "license": "AGPL-3.0",+ "description": "Docmost is an open-source collaborative wiki and documentation software. It is an open-source alternative to Confluence and Notion."+ }+ ]+ },+ {+ "slug": "aws-cognito",+ "name": "AWS Cognito",+ "category": "Developer Tools",+ "description": "AWS Cognito: paid SaaS product.",+ "alternatives": [+ {+ "name": "supertokens-core",+ "repo": "supertokens/supertokens-core",+ "license": "NOASSERTION",+ "description": "Open source alternative to Auth0 / Firebase Auth / AWS Cognito "+ }+ ]+ },+ {+ "slug": "pubnub",+ "name": "PubNub",+ "category": "Developer Tools",+ "description": "PubNub: paid SaaS product.",+ "alternatives": [+ {+ "name": "centrifugo",+ "repo": "centrifugal/centrifugo",+ "license": "Apache-2.0",+ "description": "Scalable real-time messaging server in a language-agnostic way. Self-hosted alternative to Pubnub, Pusher, Ably, socket.io, Phoenix.PubSub, SignalR. Set up once"+ }+ ]+ },+ {+ "slug": "pusher",+ "name": "Pusher",+ "category": "Developer Tools",+ "description": "Pusher: paid SaaS product.",+ "alternatives": [+ {+ "name": "centrifugo",+ "repo": "centrifugal/centrifugo",+ "license": "Apache-2.0",+ "description": "Scalable real-time messaging server in a language-agnostic way. Self-hosted alternative to Pubnub, Pusher, Ably, socket.io, Phoenix.PubSub, SignalR. Set up once"+ }+ ]+ },+ {+ "slug": "ably",+ "name": "Ably",+ "category": "Developer Tools",+ "description": "Ably: paid SaaS product.",+ "alternatives": [+ {+ "name": "centrifugo",+ "repo": "centrifugal/centrifugo",+ "license": "Apache-2.0",+ "description": "Scalable real-time messaging server in a language-agnostic way. Self-hosted alternative to Pubnub, Pusher, Ably, socket.io, Phoenix.PubSub, SignalR. Set up once"+ }+ ]+ },+ {+ "slug": "clerk",+ "name": "Clerk",+ "category": "Developer Tools",+ "description": "Clerk: paid SaaS product.",+ "alternatives": [+ {+ "name": "hanko",+ "repo": "teamhanko/hanko",+ "license": "NOASSERTION",+ "description": "Modern authentication, on your terms. Open source alternative to Auth0, Clerk, WorkOS, Stytch."+ }+ ]+ },+ {+ "slug": "workos",+ "name": "WorkOS",+ "category": "Developer Tools",+ "description": "WorkOS: paid SaaS product.",+ "alternatives": [+ {+ "name": "hanko",+ "repo": "teamhanko/hanko",+ "license": "NOASSERTION",+ "description": "Modern authentication, on your terms. Open source alternative to Auth0, Clerk, WorkOS, Stytch."+ }+ ]+ },+ {+ "slug": "stytch",+ "name": "Stytch",+ "category": "Developer Tools",+ "description": "Stytch: paid SaaS product.",+ "alternatives": [+ {+ "name": "hanko",+ "repo": "teamhanko/hanko",+ "license": "NOASSERTION",+ "description": "Modern authentication, on your terms. Open source alternative to Auth0, Clerk, WorkOS, Stytch."+ }+ ]+ },+ {+ "slug": "webflow",+ "name": "Webflow",+ "category": "Design",+ "description": "Webflow: paid SaaS product.",+ "alternatives": [+ {+ "name": "Instatic",+ "repo": "CoreBunch/Instatic",+ "license": "MIT",+ "description": "The open-source alternative to Webflow, Framer and WordPress. Agentic self-hosted visual CMS outputting clean static pages. Users, roles, plugins, content, data"+ }+ ]+ },+ {+ "slug": "framer",+ "name": "Framer",+ "category": "Design",+ "description": "Framer: paid SaaS product.",+ "alternatives": [+ {+ "name": "Instatic",+ "repo": "CoreBunch/Instatic",+ "license": "MIT",+ "description": "The open-source alternative to Webflow, Framer and WordPress. Agentic self-hosted visual CMS outputting clean static pages. Users, roles, plugins, content, data"+ }+ ]+ },+ {+ "slug": "twilio",+ "name": "Twilio",+ "category": "Communication",+ "description": "Twilio: paid SaaS product.",+ "alternatives": [+ {+ "name": "fonoster",+ "repo": "fonoster/fonoster",+ "license": "MIT",+ "description": "🚀 The open-source alternative to Twilio."+ }+ ]+ },+ {+ "slug": "mixpanel",+ "name": "Mixpanel",+ "category": "Analytics",+ "description": "Mixpanel: paid SaaS product.",+ "alternatives": [+ {+ "name": "openpanel",+ "repo": "Openpanel-dev/openpanel",+ "license": "AGPL-3.0",+ "description": "OpenPanel is an open-source web and product analytics platform, an open-source alternative to Mixpanel with optional self-hosting."+ },+ {+ "name": "litlyx",+ "repo": "Litlyx/litlyx",+ "license": "Apache-2.0",+ "description": "Powerful Analytics Solution. Setup in 30 seconds. Display all your data on a Simple, AI-powered dashboard. Fully self-hostable and GDPR compliant. Alternative t"+ }+ ]+ },+ {+ "slug": "superwhisper",+ "name": "Superwhisper",+ "category": "AI",+ "description": "Superwhisper: paid SaaS product.",+ "alternatives": [+ {+ "name": "VoiceInk",+ "repo": "Beingpax/VoiceInk",+ "license": "NOASSERTION",+ "description": "The best open-source alternative to Superwhisper & Wispr Flow. Voice-to-text app for macOS with no subscription"+ }+ ]+ },+ {+ "slug": "wispr-flow",+ "name": "Wispr Flow",+ "category": "AI",+ "description": "Wispr Flow: paid SaaS product.",+ "alternatives": [+ {+ "name": "VoiceInk",+ "repo": "Beingpax/VoiceInk",+ "license": "NOASSERTION",+ "description": "The best open-source alternative to Superwhisper & Wispr Flow. Voice-to-text app for macOS with no subscription"+ },+ {+ "name": "freeflow",+ "repo": "zachlatta/freeflow",+ "license": "MIT",+ "description": "Free & fast alternative to Wispr Flow"+ }+ ]+ },+ {+ "slug": "vapi",+ "name": "Vapi",+ "category": "AI",+ "description": "Vapi: paid SaaS product.",+ "alternatives": [+ {+ "name": "dograh",+ "repo": "dograh-hq/dograh",+ "license": "BSD-2-Clause",+ "description": "Open source voice AI platform. Self-hosted alternative to Vapi and Retell. On Prem, BYOK across Speech to Speech or LLM/STT/TTS, with a visual workflow builder,"+ }+ ]+ },+ {+ "slug": "retell-ai",+ "name": "Retell AI",+ "category": "AI",+ "description": "Retell AI: paid SaaS product.",+ "alternatives": [+ {+ "name": "dograh",+ "repo": "dograh-hq/dograh",+ "license": "BSD-2-Clause",+ "description": "Open source voice AI platform. Self-hosted alternative to Vapi and Retell. On Prem, BYOK across Speech to Speech or LLM/STT/TTS, with a visual workflow builder,"+ }+ ]+ },+ {+ "slug": "opus-clip",+ "name": "Opus Clip",+ "category": "Video",+ "description": "Opus Clip: paid SaaS product.",+ "alternatives": [+ {+ "name": "ai-clipping-comfyui",+ "repo": "Anil-matcha/ai-clipping-comfyui",+ "license": "MIT",+ "description": "Free open-source Opus Clip alternative for ComfyUI"+ },+ {+ "name": "AI-Youtube-Shorts-Generator",+ "repo": "Anil-matcha/AI-Youtube-Shorts-Generator",+ "license": "MIT",+ "description": "Open-source alternative to Opus Clip, Vidyo.ai, Klap & SubMagic. Turn long-form YouTube videos into viral 9:16 shorts using LLM highlight detection, Whisper tra"+ }+ ]+ },+ {+ "slug": "resend",+ "name": "Resend",+ "category": "Marketing",+ "description": "Resend: paid SaaS product.",+ "alternatives": [+ {+ "name": "useSend",+ "repo": "usesend/useSend",+ "license": "AGPL-3.0",+ "description": "Open source alternative to Resend, Sendgrid, Postmark etc."+ },+ {+ "name": "temps",+ "repo": "gotempsh/temps",+ "license": "Apache-2.0",+ "description": "AI-native open-source alternative to Vercel + Sentry + PostHog + Pingdom + Resend + E2B. 440+ CLI operations with drop-in skills for Claude Code, Codex & OpenCo"+ }+ ]+ },+ {+ "slug": "sendgrid",+ "name": "SendGrid",+ "category": "Marketing",+ "description": "SendGrid: paid SaaS product.",+ "alternatives": [+ {+ "name": "useSend",+ "repo": "usesend/useSend",+ "license": "AGPL-3.0",+ "description": "Open source alternative to Resend, Sendgrid, Postmark etc."+ },+ {+ "name": "forwardemail.net",+ "repo": "forwardemail/forwardemail.net",+ "license": "NOASSERTION",+ "description": "Privacy-focused encrypted email for everyone. All-in-one alternative to Gmail + Mailchimp + Sendgrid."+ },+ {+ "name": "relay",+ "repo": "hyvor/relay",+ "license": "AGPL-3.0",+ "description": "📨 Open-Source Email API for Developers. Cloud & Self-hosted Alternative to SES, Mailgun, SendGrid."+ }+ ]+ },+ {+ "slug": "kommo",+ "name": "Kommo",+ "category": "CRM",+ "description": "Kommo: paid SaaS product.",+ "alternatives": [+ {+ "name": "DeskcommCRM",+ "repo": "melgarafael/DeskcommCRM",+ "license": "MIT",+ "description": "Open-source AI sales OS — self-hosted CRM with native AI agents + WhatsApp (WAHA). Open alternative to Kommo, Octadesk & Intercom for any business that sells by"+ }+ ]+ },+ {+ "slug": "shodan",+ "name": "Shodan",+ "category": "Security",+ "description": "Shodan: paid SaaS product.",+ "alternatives": [+ {+ "name": "ivre",+ "repo": "ivre/ivre",+ "license": "GPL-3.0",+ "description": "Network recon framework. Build your own, self-hosted and fully-controlled alternatives to Shodan / ZoomEye / Censys and GreyNoise, run your Passive DNS service,"+ }+ ]+ },+ {+ "slug": "censys",+ "name": "Censys",+ "category": "Security",+ "description": "Censys: paid SaaS product.",+ "alternatives": [+ {+ "name": "ivre",+ "repo": "ivre/ivre",+ "license": "GPL-3.0",+ "description": "Network recon framework. Build your own, self-hosted and fully-controlled alternatives to Shodan / ZoomEye / Censys and GreyNoise, run your Passive DNS service,"+ }+ ]+ },+ {+ "slug": "surveymonkey",+ "name": "SurveyMonkey",+ "category": "Forms",+ "description": "SurveyMonkey: paid SaaS product.",+ "alternatives": [+ {+ "name": "SurveyKing",+ "repo": "javahuang/SurveyKing",+ "license": "MIT",+ "description": "One command to deploy a more powerful, self‑hosted alternative to SurveyMonkey."+ },+ {+ "name": "LimeSurvey",+ "repo": "LimeSurvey/LimeSurvey",+ "license": "NOASSERTION",+ "description": "🔥 LimeSurvey – A powerful, open-source survey platform. A free alternative to SurveyMonkey, Typeform, Qualtrics, and Google Forms, making it simple to create o"+ }+ ]+ },+ {+ "slug": "quickbooks",+ "name": "QuickBooks",+ "category": "Finance",+ "description": "QuickBooks: paid SaaS product.",+ "alternatives": [+ {+ "name": "bigcapital",+ "repo": "bigcapitalhq/bigcapital",+ "license": "AGPL-3.0",+ "description": "💵 Independent financial accounting with intelligent reporting, alternative to Quickbooks, Xero, Wave."+ }+ ]+ },+ {+ "slug": "xero",+ "name": "Xero",+ "category": "Finance",+ "description": "Xero: paid SaaS product.",+ "alternatives": [+ {+ "name": "bigcapital",+ "repo": "bigcapitalhq/bigcapital",+ "license": "AGPL-3.0",+ "description": "💵 Independent financial accounting with intelligent reporting, alternative to Quickbooks, Xero, Wave."+ }+ ]+ },+ {+ "slug": "qualtrics",+ "name": "Qualtrics",+ "category": "Forms",+ "description": "Qualtrics: paid SaaS product.",+ "alternatives": [+ {+ "name": "LimeSurvey",+ "repo": "LimeSurvey/LimeSurvey",+ "license": "NOASSERTION",+ "description": "🔥 LimeSurvey – A powerful, open-source survey platform. A free alternative to SurveyMonkey, Typeform, Qualtrics, and Google Forms, making it simple to create o"+ }+ ]+ },+ {+ "slug": "drift",+ "name": "Drift",+ "category": "Customer Support",+ "description": "Drift: paid SaaS product.",+ "alternatives": [+ {+ "name": "chaskiq",+ "repo": "chaskiq/chaskiq",+ "license": "NOASSERTION",+ "description": "A full featured Live Chat, Support & Marketing platform, alternative to Intercom, Drift, Crisp."+ }+ ]+ },+ {+ "slug": "crisp",+ "name": "Crisp",+ "category": "Customer Support",+ "description": "Crisp: paid SaaS product.",+ "alternatives": [+ {+ "name": "chaskiq",+ "repo": "chaskiq/chaskiq",+ "license": "NOASSERTION",+ "description": "A full featured Live Chat, Support & Marketing platform, alternative to Intercom, Drift, Crisp."+ }+ ]+ },+ {+ "slug": "google-meet",+ "name": "Google Meet",+ "category": "Communication",+ "description": "Google Meet: paid SaaS product.",+ "alternatives": [+ {+ "name": "mirotalksfu",+ "repo": "miroslavpejic85/mirotalksfu",+ "license": "AGPL-3.0",+ "description": "🏆 Self-hosted, open-source WebRTC video conferencing platform for real-time communication and collaboration. A modern alternative to Zoom, Google Meet, Jitsi M"+ }+ ]+ },+ {+ "slug": "microsoft-teams",+ "name": "Microsoft Teams",+ "category": "Communication",+ "description": "Microsoft Teams: paid SaaS product.",+ "alternatives": [+ {+ "name": "mirotalksfu",+ "repo": "miroslavpejic85/mirotalksfu",+ "license": "AGPL-3.0",+ "description": "🏆 Self-hosted, open-source WebRTC video conferencing platform for real-time communication and collaboration. A modern alternative to Zoom, Google Meet, Jitsi M"+ }+ ]+ },+ {+ "slug": "splitwise",+ "name": "Splitwise",+ "category": "Finance",+ "description": "Splitwise: paid SaaS product.",+ "alternatives": [+ {+ "name": "spliit",+ "repo": "spliit-app/spliit",+ "license": "MIT",+ "description": "Free and Open Source Alternative to Splitwise. Share expenses with your friends and family."+ },+ {+ "name": "split-pro",+ "repo": "oss-apps/split-pro",+ "license": "MIT",+ "description": "Open source alternative to Splitwise"+ }+ ]+ },+ {+ "slug": "ynab",+ "name": "YNAB",+ "category": "Finance",+ "description": "YNAB: paid SaaS product.",+ "alternatives": [+ {+ "name": "financial-freedom",+ "repo": "serversideup/financial-freedom",+ "license": "GPL-3.0",+ "description": "🔥🔥🔥 An open source alternative to Mint, YNAB, and more. Stay on budget and build wealth without sacrificing your privacy."+ }+ ]+ },+ {+ "slug": "cluely",+ "name": "Cluely",+ "category": "AI",+ "description": "Cluely: paid SaaS product.",+ "alternatives": [+ {+ "name": "natively-cluely-ai-assistant",+ "repo": "Natively-AI-assistant/natively-cluely-ai-assistant",+ "license": "NOASSERTION",+ "description": "Natively — Free open-source AI meeting assistant, interview copilot, and note taker. The best alternative to Cluely, Otter, Granola, Final Round AI, Fireflies, "+ },+ {+ "name": "pluely",+ "repo": "iamsrikanthnani/pluely",+ "license": "GPL-3.0",+ "description": "The Open Source Alternative to Cluely - A lightning-fast, privacy-first AI assistant that works seamlessly during meetings, interviews, and conversations withou"+ }+ ]+ },+ {+ "slug": "otter-ai",+ "name": "Otter.ai",+ "category": "AI",+ "description": "Otter.ai: paid SaaS product.",+ "alternatives": [+ {+ "name": "natively-cluely-ai-assistant",+ "repo": "Natively-AI-assistant/natively-cluely-ai-assistant",+ "license": "NOASSERTION",+ "description": "Natively — Free open-source AI meeting assistant, interview copilot, and note taker. The best alternative to Cluely, Otter, Granola, Final Round AI, Fireflies, "+ }+ ]+ },+ {+ "slug": "granola",+ "name": "Granola",+ "category": "AI",+ "description": "Granola: paid SaaS product.",+ "alternatives": [+ {+ "name": "natively-cluely-ai-assistant",+ "repo": "Natively-AI-assistant/natively-cluely-ai-assistant",+ "license": "NOASSERTION",+ "description": "Natively — Free open-source AI meeting assistant, interview copilot, and note taker. The best alternative to Cluely, Otter, Granola, Final Round AI, Fireflies, "+ }+ ]+ },+ {+ "slug": "final-round-ai",+ "name": "Final Round AI",+ "category": "AI",+ "description": "Final Round AI: paid SaaS product.",+ "alternatives": [+ {+ "name": "natively-cluely-ai-assistant",+ "repo": "Natively-AI-assistant/natively-cluely-ai-assistant",+ "license": "NOASSERTION",+ "description": "Natively — Free open-source AI meeting assistant, interview copilot, and note taker. The best alternative to Cluely, Otter, Granola, Final Round AI, Fireflies, "+ }+ ]+ },+ {+ "slug": "fireflies-ai",+ "name": "Fireflies.ai",+ "category": "AI",+ "description": "Fireflies.ai: paid SaaS product.",+ "alternatives": [+ {+ "name": "natively-cluely-ai-assistant",+ "repo": "Natively-AI-assistant/natively-cluely-ai-assistant",+ "license": "NOASSERTION",+ "description": "Natively — Free open-source AI meeting assistant, interview copilot, and note taker. The best alternative to Cluely, Otter, Granola, Final Round AI, Fireflies, "+ }+ ]+ },+ {+ "slug": "cypress-cloud",+ "name": "Cypress Cloud",+ "category": "Developer Tools",+ "description": "Cypress Cloud: paid SaaS product.",+ "alternatives": [+ {+ "name": "sorry-cypress",+ "repo": "sorry-cypress/sorry-cypress",+ "license": "MIT",+ "description": "Open-source, free, self-hosted alternative to Cypress Dashboard"+ }+ ]+ },+ {+ "slug": "discord",+ "name": "Discord",+ "category": "Communication",+ "description": "Discord: paid SaaS product.",+ "alternatives": [+ {+ "name": "Quiet",+ "repo": "TryQuiet/quiet",+ "license": "GPL-3.0",+ "description": "A private, p2p alternative to Slack and Discord built on Tor & IPFS"+ }+ ]+ },+ {+ "slug": "braze",+ "name": "Braze",+ "category": "Marketing",+ "description": "Braze: paid SaaS product.",+ "alternatives": [+ {+ "name": "laudspeaker",+ "repo": "laudspeaker/laudspeaker",+ "license": "NOASSERTION",+ "description": "📢 Laudspeaker is an Open Source Customer Engagement and Product Onboarding Platform. Open Source alternative to Braze / One Signal / Customer Io / Appcues / Pe"+ }+ ]+ },+ {+ "slug": "onesignal",+ "name": "OneSignal",+ "category": "Marketing",+ "description": "OneSignal: paid SaaS product.",+ "alternatives": [+ {+ "name": "laudspeaker",+ "repo": "laudspeaker/laudspeaker",+ "license": "NOASSERTION",+ "description": "📢 Laudspeaker is an Open Source Customer Engagement and Product Onboarding Platform. Open Source alternative to Braze / One Signal / Customer Io / Appcues / Pe"+ }+ ]+ },+ {+ "slug": "customer-io",+ "name": "Customer.io",+ "category": "Marketing",+ "description": "Customer.io: paid SaaS product.",+ "alternatives": [+ {+ "name": "laudspeaker",+ "repo": "laudspeaker/laudspeaker",+ "license": "NOASSERTION",+ "description": "📢 Laudspeaker is an Open Source Customer Engagement and Product Onboarding Platform. Open Source alternative to Braze / One Signal / Customer Io / Appcues / Pe"+ }+ ]+ },+ {+ "slug": "appcues",+ "name": "Appcues",+ "category": "Product",+ "description": "Appcues: paid SaaS product.",+ "alternatives": [+ {+ "name": "laudspeaker",+ "repo": "laudspeaker/laudspeaker",+ "license": "NOASSERTION",+ "description": "📢 Laudspeaker is an Open Source Customer Engagement and Product Onboarding Platform. Open Source alternative to Braze / One Signal / Customer Io / Appcues / Pe"+ },+ {+ "name": "usertour",+ "repo": "usertour/usertour",+ "license": "NOASSERTION",+ "description": "Usertour is an open-source user onboarding platform. It allows you to create in-app product tours, checklists, and surveys in minutes—effortlessly and with full"+ }+ ]+ },+ {+ "slug": "pendo",+ "name": "Pendo",+ "category": "Product",+ "description": "Pendo: paid SaaS product.",+ "alternatives": [+ {+ "name": "laudspeaker",+ "repo": "laudspeaker/laudspeaker",+ "license": "NOASSERTION",+ "description": "📢 Laudspeaker is an Open Source Customer Engagement and Product Onboarding Platform. Open Source alternative to Braze / One Signal / Customer Io / Appcues / Pe"+ }+ ]+ },+ {+ "slug": "higgsfield",+ "name": "Higgsfield",+ "category": "AI",+ "description": "Higgsfield: paid SaaS product.",+ "alternatives": [+ {+ "name": "Open-Generative-AI",+ "repo": "Anil-matcha/Open-Generative-AI",+ "license": "MIT",+ "description": "Unrestricted Open-source alternative to AI video platforms"+ }+ ]+ },+ {+ "slug": "openart",+ "name": "OpenArt",+ "category": "AI",+ "description": "OpenArt: paid SaaS product.",+ "alternatives": [+ {+ "name": "Open-Generative-AI",+ "repo": "Anil-matcha/Open-Generative-AI",+ "license": "MIT",+ "description": "Unrestricted Open-source alternative to AI video platforms"+ }+ ]+ },+ {+ "slug": "freepik",+ "name": "Freepik",+ "category": "AI",+ "description": "Freepik: paid SaaS product.",+ "alternatives": [+ {+ "name": "Vibe-Workflow",+ "repo": "SamurAIGPT/Vibe-Workflow",+ "license": "MIT",+ "description": "Free, open-source alternative to Weavy AI, Krea Nodes, Freepik Spaces & FloraFauna AI — node-based AI workflow builder for generative image & video pipelines"+ },+ {+ "name": "Open-Generative-AI",+ "repo": "Anil-matcha/Open-Generative-AI",+ "license": "MIT",+ "description": "Unrestricted Open-source alternative to AI video platforms"+ }+ ]+ },+ {+ "slug": "buffer",+ "name": "Buffer",+ "category": "Marketing",+ "description": "Buffer: paid SaaS product.",+ "alternatives": [+ {+ "name": "social-post",+ "repo": "SamurAIGPT/social-post",+ "license": "See repo",+ "description": "Open-source AI social media post generator"+ },+ {+ "name": "Free-AI-Social-Media-Scheduler",+ "repo": "Anil-matcha/Free-AI-Social-Media-Scheduler",+ "license": "MIT",+ "description": "Free open-source AI social media scheduler — self-hostable alternative to Postiz, Buffer, and Hootsuite with built-in AI content generation."+ }+ ]+ },+ {+ "slug": "sendible",+ "name": "Sendible",+ "category": "Marketing",+ "description": "Sendible: paid SaaS product.",+ "alternatives": [+ {+ "name": "brightbean-studio",+ "repo": "brightbeanxyz/brightbean-studio",+ "license": "AGPL-3.0",+ "description": "Open-source, self-hostable social media management platform. Schedule, publish, and manage content across 10+ platforms from a single dashboard. Free alternativ"+ }+ ]+ },+ {+ "slug": "socialpilot",+ "name": "SocialPilot",+ "category": "Marketing",+ "description": "SocialPilot: paid SaaS product.",+ "alternatives": [+ {+ "name": "brightbean-studio",+ "repo": "brightbeanxyz/brightbean-studio",+ "license": "AGPL-3.0",+ "description": "Open-source, self-hostable social media management platform. Schedule, publish, and manage content across 10+ platforms from a single dashboard. Free alternativ"+ }+ ]+ },+ {+ "slug": "cleanshot-x",+ "name": "CleanShot X",+ "category": "Video",+ "description": "CleanShot X: paid SaaS product.",+ "alternatives": [+ {+ "name": "better-shot",+ "repo": "KartikLabhshetwar/better-shot",+ "license": "NOASSERTION",+ "description": "Screenshot, screen recording, and video editor for macOS. Native SwiftUI app with capture deck, 75+ customizable shortcuts, URL scheme automation, and self-host"+ },+ {+ "name": "Capso",+ "repo": "lzhgus/Capso",+ "license": "NOASSERTION",+ "description": "Open-source screenshot and screen recording for macOS. The free, native alternative to CleanShot X. Built with Swift 6.0 and SwiftUI."+ }+ ]+ },+ {+ "slug": "userflow",+ "name": "Userflow",+ "category": "Product",+ "description": "Userflow: paid SaaS product.",+ "alternatives": [+ {+ "name": "usertour",+ "repo": "usertour/usertour",+ "license": "NOASSERTION",+ "description": "Usertour is an open-source user onboarding platform. It allows you to create in-app product tours, checklists, and surveys in minutes—effortlessly and with full"+ }+ ]+ },+ {+ "slug": "ngrok",+ "name": "ngrok",+ "category": "Developer Tools",+ "description": "ngrok: paid SaaS product.",+ "alternatives": [+ {+ "name": "piko",+ "repo": "andydunstall/piko",+ "license": "MIT",+ "description": "An open-source alternative to Ngrok, designed to serve production traffic and be simple to host (particularly on Kubernetes)"+ }+ ]+ },+ {+ "slug": "notebooklm",+ "name": "NotebookLM",+ "category": "AI",+ "description": "NotebookLM: paid SaaS product.",+ "alternatives": [+ {+ "name": "notebookllama",+ "repo": "run-llama/notebookllama",+ "license": "MIT",+ "description": "A fully open-source, LlamaCloud-backed alternative to NotebookLM"+ },+ {+ "name": "insights-lm-public",+ "repo": "theaiautomators/insights-lm-public",+ "license": "MIT",+ "description": "Open-source, self-hosted alternative to NotebookLM. Chat with your documents, generate audio summaries, and ground AI in your own sources—built with Supabase an"+ }+ ]+ },+ {+ "slug": "clickup",+ "name": "ClickUp",+ "category": "Project Management",+ "description": "ClickUp: paid SaaS product.",+ "alternatives": [+ {+ "name": "Paca",+ "repo": "Paca-AI/paca",+ "license": "Apache-2.0",+ "description": "AI-native, free, open-source alternative to Jira, Trello, ClickUp & Monday. Built for Scrum teams where humans and AI agents collaborate as equals — on the same"+ }+ ]+ },+ {+ "slug": "monday-com",+ "name": "Monday.com",+ "category": "Project Management",+ "description": "Monday.com: paid SaaS product.",+ "alternatives": [+ {+ "name": "Paca",+ "repo": "Paca-AI/paca",+ "license": "Apache-2.0",+ "description": "AI-native, free, open-source alternative to Jira, Trello, ClickUp & Monday. Built for Scrum teams where humans and AI agents collaborate as equals — on the same"+ }+ ]+ },+ {+ "slug": "thinkific",+ "name": "Thinkific",+ "category": "Education",+ "description": "Thinkific: paid SaaS product.",+ "alternatives": [+ {+ "name": "classroomio",+ "repo": "classroomio/classroomio",+ "license": "AGPL-3.0",+ "description": "The Open Source Education Platform for Companies. A Simple and Beautiful Alternative to Moodle LMS, EdX, Thinkific and Teachable"+ },+ {+ "name": "courselit",+ "repo": "codelitdev/courselit",+ "license": "AGPL-3.0",+ "description": "Create/Sell courses and digital downloads and publish blogs on your own branded website. An open source alternative to Teachable, Thinkific, Podia and the likes"+ }+ ]+ },+ {+ "slug": "teachable",+ "name": "Teachable",+ "category": "Education",+ "description": "Teachable: paid SaaS product.",+ "alternatives": [+ {+ "name": "classroomio",+ "repo": "classroomio/classroomio",+ "license": "AGPL-3.0",+ "description": "The Open Source Education Platform for Companies. A Simple and Beautiful Alternative to Moodle LMS, EdX, Thinkific and Teachable"+ },+ {+ "name": "courselit",+ "repo": "codelitdev/courselit",+ "license": "AGPL-3.0",+ "description": "Create/Sell courses and digital downloads and publish blogs on your own branded website. An open source alternative to Teachable, Thinkific, Podia and the likes"+ }+ ]+ },+ {+ "slug": "genspark",+ "name": "Genspark",+ "category": "AI",+ "description": "Genspark: paid SaaS product.",+ "alternatives": [+ {+ "name": "lemonai",+ "repo": "hexdocom/lemonai",+ "license": "NOASSERTION",+ "description": "Lemon AI is the first Full-stack Open-source Self-Evolving General AI Agent, offering a fully local alternative to Agentic platforms like Manus & Genspark AI.🔔"+ }+ ]+ },+ {+ "slug": "apollo-graphos",+ "name": "Apollo GraphOS",+ "category": "Developer Tools",+ "description": "Apollo GraphOS: paid SaaS product.",+ "alternatives": [+ {+ "name": "cosmo",+ "repo": "wundergraph/cosmo",+ "license": "Apache-2.0",+ "description": "The open-source solution to building, maintaining, and collaborating on GraphQL Federation at Scale. The alternative to Apollo Studio and GraphOS."+ }+ ]+ },+ {+ "slug": "podia",+ "name": "Podia",+ "category": "Education",+ "description": "Podia: paid SaaS product.",+ "alternatives": [+ {+ "name": "courselit",+ "repo": "codelitdev/courselit",+ "license": "AGPL-3.0",+ "description": "Create/Sell courses and digital downloads and publish blogs on your own branded website. An open source alternative to Teachable, Thinkific, Podia and the likes"+ }+ ]+ },+ {+ "slug": "manus",+ "name": "Manus",+ "category": "AI",+ "description": "Manus: paid SaaS product.",+ "alternatives": [+ {+ "name": "open-agent",+ "repo": "AFK-surf/open-agent",+ "license": "Apache-2.0",+ "description": "Open-source alternative to Claude Agent SDK, ChatGPT Agents, and Manus."+ }+ ]+ },+ {+ "slug": "screaming-frog",+ "name": "Screaming Frog",+ "category": "Marketing",+ "description": "Screaming Frog: paid SaaS product.",+ "alternatives": [+ {+ "name": "LibreCrawl",+ "repo": "PhialsBasement/LibreCrawl",+ "license": "MIT",+ "description": "Free desktop SEO crawler - open source alternative to Screaming Frog and similar tools. Crawl websites, analyze links, extract SEO data, and export results with"+ }+ ]+ },+ {+ "slug": "mailgun",+ "name": "Mailgun",+ "category": "Marketing",+ "description": "Mailgun: paid SaaS product.",+ "alternatives": [+ {+ "name": "relay",+ "repo": "hyvor/relay",+ "license": "AGPL-3.0",+ "description": "📨 Open-Source Email API for Developers. Cloud & Self-hosted Alternative to SES, Mailgun, SendGrid."+ },+ {+ "name": "posta",+ "repo": "goposta/posta",+ "license": "AGPL-3.0",+ "description": "Self-hosted email delivery platform that enables applications to send emails via HTTP APIs while handling SMTP delivery, templates, storage, security, and analy"+ }+ ]+ },+ {+ "slug": "composio",+ "name": "Composio",+ "category": "Automation",+ "description": "Composio: paid SaaS product.",+ "alternatives": [+ {+ "name": "open-agent-connector",+ "repo": "Anil-matcha/open-agent-connector",+ "license": "See repo",+ "description": "Open-source, self-hosted alternative to Composio, Nango, Merge.dev, and Arcade.dev for AI agent integrations. Run GitHub, Slack, Hacker News, and custom HTTP ac"+ }+ ]+ },+ {+ "slug": "nango",+ "name": "Nango",+ "category": "Automation",+ "description": "Nango: paid SaaS product.",+ "alternatives": [+ {+ "name": "open-agent-connector",+ "repo": "Anil-matcha/open-agent-connector",+ "license": "See repo",+ "description": "Open-source, self-hosted alternative to Composio, Nango, Merge.dev, and Arcade.dev for AI agent integrations. Run GitHub, Slack, Hacker News, and custom HTTP ac"+ }+ ]+ },+ {+ "slug": "merge",+ "name": "Merge",+ "category": "Automation",+ "description": "Merge: paid SaaS product.",+ "alternatives": [+ {+ "name": "open-agent-connector",+ "repo": "Anil-matcha/open-agent-connector",+ "license": "See repo",+ "description": "Open-source, self-hosted alternative to Composio, Nango, Merge.dev, and Arcade.dev for AI agent integrations. Run GitHub, Slack, Hacker News, and custom HTTP ac"+ }+ ]+ },+ {+ "slug": "sentry",+ "name": "Sentry",+ "category": "Monitoring",+ "description": "Sentry: paid SaaS product.",+ "alternatives": [+ {+ "name": "temps",+ "repo": "gotempsh/temps",+ "license": "Apache-2.0",+ "description": "AI-native open-source alternative to Vercel + Sentry + PostHog + Pingdom + Resend + E2B. 440+ CLI operations with drop-in skills for Claude Code, Codex & OpenCo"+ }+ ]+ },+ {+ "slug": "pingdom",+ "name": "Pingdom",+ "category": "Monitoring",+ "description": "Pingdom: paid SaaS product.",+ "alternatives": [+ {+ "name": "temps",+ "repo": "gotempsh/temps",+ "license": "Apache-2.0",+ "description": "AI-native open-source alternative to Vercel + Sentry + PostHog + Pingdom + Resend + E2B. 440+ CLI operations with drop-in skills for Claude Code, Codex & OpenCo"+ }+ ]+ },+ {+ "slug": "carta",+ "name": "Carta",+ "category": "Finance",+ "description": "Carta: paid SaaS product.",+ "alternatives": [+ {+ "name": "captable",+ "repo": "captableinc/captable",+ "license": "AGPL-3.0",+ "description": "#1 Open-Source Captable, an alternative to Carta, Pully, Angelist and others."+ }+ ]+ },+ {+ "slug": "disqus",+ "name": "Disqus",+ "category": "Publishing",+ "description": "Disqus: paid SaaS product.",+ "alternatives": [+ {+ "name": "mouthful",+ "repo": "vkuznecovas/mouthful",+ "license": "MIT",+ "description": "Mouthful is a self-hosted alternative to Disqus"+ }+ ]+ },+ {+ "slug": "linktree",+ "name": "Linktree",+ "category": "Marketing",+ "description": "Linktree: paid SaaS product.",+ "alternatives": [+ {+ "name": "LinkFree",+ "repo": "MichaelBarney/LinkFree",+ "license": "Apache-2.0",+ "description": "A free and open source alternative to LinkTree"+ }+ ]+ },+ {+ "slug": "weavy",+ "name": "Weavy",+ "category": "AI",+ "description": "Weavy: paid SaaS product.",+ "alternatives": [+ {+ "name": "Vibe-Workflow",+ "repo": "SamurAIGPT/Vibe-Workflow",+ "license": "MIT",+ "description": "Free, open-source alternative to Weavy AI, Krea Nodes, Freepik Spaces & FloraFauna AI — node-based AI workflow builder for generative image & video pipelines"+ }+ ]+ },+ {+ "slug": "krea",+ "name": "Krea",+ "category": "AI",+ "description": "Krea: paid SaaS product.",+ "alternatives": [+ {+ "name": "Vibe-Workflow",+ "repo": "SamurAIGPT/Vibe-Workflow",+ "license": "MIT",+ "description": "Free, open-source alternative to Weavy AI, Krea Nodes, Freepik Spaces & FloraFauna AI — node-based AI workflow builder for generative image & video pipelines"+ }+ ]+ },+ {+ "slug": "florafauna-ai",+ "name": "FloraFauna AI",+ "category": "AI",+ "description": "FloraFauna AI: paid SaaS product.",+ "alternatives": [+ {+ "name": "Vibe-Workflow",+ "repo": "SamurAIGPT/Vibe-Workflow",+ "license": "MIT",+ "description": "Free, open-source alternative to Weavy AI, Krea Nodes, Freepik Spaces & FloraFauna AI — node-based AI workflow builder for generative image & video pipelines"+ }+ ]+ },+ {+ "slug": "claude-cowork",+ "name": "Claude Cowork",+ "category": "AI",+ "description": "Claude Cowork: paid SaaS product.",+ "alternatives": [+ {+ "name": "open-dots",+ "repo": "Anil-matcha/open-dots",+ "license": "See repo",+ "description": "Open-source, self-hosted AI agent workspace and alternative to OpenAI Dots, Meta Muse, Grok Bot, Instinct, Manus Cue, Claude Cowork, and ChatGPT agent. MIT-lice"+ }+ ]+ },+ {+ "slug": "chatgpt-agent",+ "name": "ChatGPT Agent",+ "category": "AI",+ "description": "ChatGPT Agent: paid SaaS product.",+ "alternatives": [+ {+ "name": "open-dots",+ "repo": "Anil-matcha/open-dots",+ "license": "See repo",+ "description": "Open-source, self-hosted AI agent workspace and alternative to OpenAI Dots, Meta Muse, Grok Bot, Instinct, Manus Cue, Claude Cowork, and ChatGPT agent. MIT-lice"+ }+ ]+ },+ {+ "slug": "grok-bot",+ "name": "Grok Bot",+ "category": "AI",+ "description": "Grok Bot: paid SaaS product.",+ "alternatives": [+ {+ "name": "open-grok-bot",+ "repo": "Anil-matcha/open-grok-bot",+ "license": "See repo",+ "description": "Open-source alternative to Grok bot with a FastAPI API, Next.js UI, governed computer use, Docker/remote runtimes, approvals, connectors, and local-first state."+ },+ {+ "name": "open-dots",+ "repo": "Anil-matcha/open-dots",+ "license": "See repo",+ "description": "Open-source, self-hosted AI agent workspace and alternative to OpenAI Dots, Meta Muse, Grok Bot, Instinct, Manus Cue, Claude Cowork, and ChatGPT agent. MIT-lice"+ }+ ]+ },+ {+ "slug": "vidyo-ai",+ "name": "Vidyo.ai",+ "category": "Video",+ "description": "Vidyo.ai: paid SaaS product.",+ "alternatives": [+ {+ "name": "AI-Youtube-Shorts-Generator",+ "repo": "Anil-matcha/AI-Youtube-Shorts-Generator",+ "license": "MIT",+ "description": "Open-source alternative to Opus Clip, Vidyo.ai, Klap & SubMagic. Turn long-form YouTube videos into viral 9:16 shorts using LLM highlight detection, Whisper tra"+ }+ ]+ },+ {+ "slug": "klap",+ "name": "Klap",+ "category": "Video",+ "description": "Klap: paid SaaS product.",+ "alternatives": [+ {+ "name": "AI-Youtube-Shorts-Generator",+ "repo": "Anil-matcha/AI-Youtube-Shorts-Generator",+ "license": "MIT",+ "description": "Open-source alternative to Opus Clip, Vidyo.ai, Klap & SubMagic. Turn long-form YouTube videos into viral 9:16 shorts using LLM highlight detection, Whisper tra"+ }+ ]+ },+ {+ "slug": "submagic",+ "name": "SubMagic",+ "category": "Video",+ "description": "SubMagic: paid SaaS product.",+ "alternatives": [+ {+ "name": "AI-Youtube-Shorts-Generator",+ "repo": "Anil-matcha/AI-Youtube-Shorts-Generator",+ "license": "MIT",+ "description": "Open-source alternative to Opus Clip, Vidyo.ai, Klap & SubMagic. Turn long-form YouTube videos into viral 9:16 shorts using LLM highlight detection, Whisper tra"+ }+ ]+ },+ {+ "slug": "arcade-dev",+ "name": "Arcade.dev",+ "category": "Automation",+ "description": "Arcade.dev: paid SaaS product.",+ "alternatives": [+ {+ "name": "open-agent-connector",+ "repo": "Anil-matcha/open-agent-connector",+ "license": "See repo",+ "description": "Open-source, self-hosted alternative to Composio, Nango, Merge.dev, and Arcade.dev for AI agent integrations. Run GitHub, Slack, Hacker News, and custom HTTP ac"+ }+ ]+ },+ {+ "slug": "lovart",+ "name": "Lovart",+ "category": "Design",+ "description": "Lovart: paid SaaS product.",+ "alternatives": [+ {+ "name": "Open-AI-Design-Agent",+ "repo": "Anil-matcha/Open-AI-Design-Agent",+ "license": "MIT",+ "description": "Open-source AI design agent"+ }+ ]+ },+ {+ "slug": "galileo-ai",+ "name": "Galileo AI",+ "category": "Design",+ "description": "Galileo AI: paid SaaS product.",+ "alternatives": [+ {+ "name": "Open-AI-Design-Agent",+ "repo": "Anil-matcha/Open-AI-Design-Agent",+ "license": "MIT",+ "description": "Open-source AI design agent"+ }+ ]+ },+ {+ "slug": "magic-patterns",+ "name": "Magic Patterns",+ "category": "Design",+ "description": "Magic Patterns: paid SaaS product.",+ "alternatives": [+ {+ "name": "Open-AI-Design-Agent",+ "repo": "Anil-matcha/Open-AI-Design-Agent",+ "license": "MIT",+ "description": "Open-source AI design agent"+ }+ ]+ },+ {+ "slug": "arcads",+ "name": "Arcads",+ "category": "Marketing",+ "description": "Arcads: paid SaaS product.",+ "alternatives": [+ {+ "name": "Open-AI-UGC",+ "repo": "Anil-matcha/Open-AI-UGC",+ "license": "MIT",+ "description": "Open AI UGC"+ }+ ]+ },+ {+ "slug": "makeugc",+ "name": "MakeUGC",+ "category": "Marketing",+ "description": "MakeUGC: paid SaaS product.",+ "alternatives": [+ {+ "name": "Open-AI-UGC",+ "repo": "Anil-matcha/Open-AI-UGC",+ "license": "MIT",+ "description": "Open AI UGC"+ }+ ]+ },+ {+ "slug": "character-ai",+ "name": "Character.AI",+ "category": "AI",+ "description": "Character.AI: paid SaaS product.",+ "alternatives": [+ {+ "name": "ai-character-studio",+ "repo": "SamurAIGPT/ai-character-studio",+ "license": "See repo",+ "description": "Open-source AI character creator & roleplay chat studio"+ },+ {+ "name": "open-character-ai",+ "repo": "Anil-matcha/open-character-ai",+ "license": "See repo",+ "description": "Open-source Character.AI alternative"+ }+ ]+ },+ {+ "slug": "replika",+ "name": "Replika",+ "category": "AI",+ "description": "Replika: paid SaaS product.",+ "alternatives": [+ {+ "name": "ai-character-studio",+ "repo": "SamurAIGPT/ai-character-studio",+ "license": "See repo",+ "description": "Open-source AI character creator & roleplay chat studio"+ }+ ]+ },+ {+ "slug": "hootsuite",+ "name": "Hootsuite",+ "category": "Marketing",+ "description": "Hootsuite: paid SaaS product.",+ "alternatives": [+ {+ "name": "Free-AI-Social-Media-Scheduler",+ "repo": "Anil-matcha/Free-AI-Social-Media-Scheduler",+ "license": "MIT",+ "description": "Free open-source AI social media scheduler — self-hostable alternative to Postiz, Buffer, and Hootsuite with built-in AI content generation."+ }+ ]+ },+ {+ "slug": "claude-tag",+ "name": "Claude Tag",+ "category": "Communication",+ "description": "Claude Tag: paid SaaS product.",+ "alternatives": [+ {+ "name": "open-claude-tag",+ "repo": "Anil-matcha/open-claude-tag",+ "license": "MIT",+ "description": "Self-hostable channel-native AI teammate for Slack. Open source alternative to Claude Tag. LLM-agnostic."+ }+ ]+ },+ {+ "slug": "teal",+ "name": "Teal",+ "category": "Productivity",+ "description": "Teal: paid SaaS product.",+ "alternatives": [+ {+ "name": "ai-resume-builder",+ "repo": "SamurAIGPT/ai-resume-builder",+ "license": "See repo",+ "description": "Open-source AI resume builder & optimizer"+ }+ ]+ },+ {+ "slug": "kickresume",+ "name": "Kickresume",+ "category": "Productivity",+ "description": "Kickresume: paid SaaS product.",+ "alternatives": [+ {+ "name": "ai-resume-builder",+ "repo": "SamurAIGPT/ai-resume-builder",+ "license": "See repo",+ "description": "Open-source AI resume builder & optimizer"+ }+ ]+ },+ {+ "slug": "elevenlabs",+ "name": "ElevenLabs",+ "category": "AI",+ "description": "ElevenLabs: paid SaaS product.",+ "alternatives": [+ {+ "name": "my-podcast",+ "repo": "SamurAIGPT/my-podcast",+ "license": "See repo",+ "description": "Open-source AI voiceover & podcast narration studio"+ }+ ]+ },+ {+ "slug": "murf-ai",+ "name": "Murf AI",+ "category": "AI",+ "description": "Murf AI: paid SaaS product.",+ "alternatives": [+ {+ "name": "my-podcast",+ "repo": "SamurAIGPT/my-podcast",+ "license": "See repo",+ "description": "Open-source AI voiceover & podcast narration studio"+ }+ ]+ },+ {+ "slug": "watermarkremover-io",+ "name": "Watermarkremover.io",+ "category": "Design",+ "description": "Watermarkremover.io: paid SaaS product.",+ "alternatives": [+ {+ "name": "clearmark-ai",+ "repo": "SamurAIGPT/clearmark-ai",+ "license": "See repo",+ "description": "Open-source AI watermark remover"+ }+ ]+ },+ {+ "slug": "hitpaw",+ "name": "HitPaw",+ "category": "Design",+ "description": "HitPaw: paid SaaS product.",+ "alternatives": [+ {+ "name": "clearmark-ai",+ "repo": "SamurAIGPT/clearmark-ai",+ "license": "See repo",+ "description": "Open-source AI watermark remover"+ }+ ]+ },+ {+ "slug": "looka",+ "name": "Looka",+ "category": "Design",+ "description": "Looka: paid SaaS product.",+ "alternatives": [+ {+ "name": "ai-logo-studio",+ "repo": "SamurAIGPT/ai-logo-studio",+ "license": "See repo",+ "description": "Open-source AI logo generator & brand identity studio"+ }+ ]+ },+ {+ "slug": "brandmark",+ "name": "Brandmark",+ "category": "Design",+ "description": "Brandmark: paid SaaS product.",+ "alternatives": [+ {+ "name": "ai-logo-studio",+ "repo": "SamurAIGPT/ai-logo-studio",+ "license": "See repo",+ "description": "Open-source AI logo generator & brand identity studio"+ }+ ]+ },+ {+ "slug": "photoroom",+ "name": "Photoroom",+ "category": "Design",+ "description": "Photoroom: paid SaaS product.",+ "alternatives": [+ {+ "name": "resale-photo-enhancer",+ "repo": "SamurAIGPT/resale-photo-enhancer",+ "license": "See repo",+ "description": "Open-source AI product photo studio for resellers"+ }+ ]+ },+ {+ "slug": "remini",+ "name": "Remini",+ "category": "AI",+ "description": "Remini: paid SaaS product.",+ "alternatives": [+ {+ "name": "ai-wedding-photo",+ "repo": "SamurAIGPT/ai-wedding-photo",+ "license": "See repo",+ "description": "Open-source AI wedding photo generator"+ },+ {+ "name": "old-photo-restore",+ "repo": "SamurAIGPT/old-photo-restore",+ "license": "See repo",+ "description": "Open-source AI old photo restoration tool"+ }+ ]+ },+ {+ "slug": "facetune",+ "name": "Facetune",+ "category": "AI",+ "description": "Facetune: paid SaaS product.",+ "alternatives": [+ {+ "name": "ai-wedding-photo",+ "repo": "SamurAIGPT/ai-wedding-photo",+ "license": "See repo",+ "description": "Open-source AI wedding photo generator"+ }+ ]+ },+ {+ "slug": "lensa-ai",+ "name": "Lensa AI",+ "category": "AI",+ "description": "Lensa AI: paid SaaS product.",+ "alternatives": [+ {+ "name": "ai-royal-portrait",+ "repo": "SamurAIGPT/ai-royal-portrait",+ "license": "See repo",+ "description": "Open-source AI royal portrait & style transformation tool"+ },+ {+ "name": "magicself-ai",+ "repo": "SamurAIGPT/magicself-ai",+ "license": "See repo",+ "description": "Open-source AI selfie-to-artwork generator"+ }+ ]+ },+ {+ "slug": "prisma",+ "name": "Prisma",+ "category": "AI",+ "description": "Prisma: paid SaaS product.",+ "alternatives": [+ {+ "name": "magicself-ai",+ "repo": "SamurAIGPT/magicself-ai",+ "license": "See repo",+ "description": "Open-source AI selfie-to-artwork generator"+ }+ ]+ },+ {+ "slug": "flair-ai",+ "name": "Flair AI",+ "category": "Design",+ "description": "Flair AI: paid SaaS product.",+ "alternatives": [+ {+ "name": "amazon-product-studio",+ "repo": "SamurAIGPT/amazon-product-studio",+ "license": "See repo",+ "description": "Open-source AI product photography studio for Amazon sellers"+ }+ ]+ },+ {+ "slug": "booth-ai",+ "name": "Booth AI",+ "category": "Design",+ "description": "Booth AI: paid SaaS product.",+ "alternatives": [+ {+ "name": "amazon-product-studio",+ "repo": "SamurAIGPT/amazon-product-studio",+ "license": "See repo",+ "description": "Open-source AI product photography studio for Amazon sellers"+ }+ ]+ },+ {+ "slug": "pebblely",+ "name": "Pebblely",+ "category": "Design",+ "description": "Pebblely: paid SaaS product.",+ "alternatives": [+ {+ "name": "pet-product-studio",+ "repo": "SamurAIGPT/pet-product-studio",+ "license": "See repo",+ "description": "Open-source AI pet product ad generator"+ }+ ]+ },+ {+ "slug": "surfer-seo",+ "name": "Surfer SEO",+ "category": "Marketing",+ "description": "Surfer SEO: paid SaaS product.",+ "alternatives": [+ {+ "name": "geo-checker",+ "repo": "SamurAIGPT/geo-checker",+ "license": "See repo",+ "description": "Open-source AI GEO (Generative Engine Optimization) auditor"+ }+ ]+ },+ {+ "slug": "botika",+ "name": "Botika",+ "category": "E-commerce",+ "description": "Botika: paid SaaS product.",+ "alternatives": [+ {+ "name": "ai-tryon",+ "repo": "SamurAIGPT/ai-tryon",+ "license": "See repo",+ "description": "Open-source AI virtual try-on tool"+ }+ ]+ },+ {+ "slug": "lalaland",+ "name": "Lalaland",+ "category": "E-commerce",+ "description": "Lalaland: paid SaaS product.",+ "alternatives": [+ {+ "name": "ai-tryon",+ "repo": "SamurAIGPT/ai-tryon",+ "license": "See repo",+ "description": "Open-source AI virtual try-on tool"+ }+ ]+ },+ {+ "slug": "youcam-hair",+ "name": "YouCam Hair",+ "category": "AI",+ "description": "YouCam Hair: paid SaaS product.",+ "alternatives": [+ {+ "name": "ai-hair-style-simulator",+ "repo": "SamurAIGPT/ai-hair-style-simulator",+ "license": "See repo",+ "description": "Open-source AI hairstyle simulator & virtual hair makeover"+ }+ ]+ },+ {+ "slug": "youcam-makeup",+ "name": "YouCam Makeup",+ "category": "AI",+ "description": "YouCam Makeup: paid SaaS product.",+ "alternatives": [+ {+ "name": "ai-professional-makeup-generator",+ "repo": "SamurAIGPT/ai-professional-makeup-generator",+ "license": "See repo",+ "description": "Open-source AI virtual makeup try-on tool"+ }+ ]+ },+ {+ "slug": "modiface",+ "name": "ModiFace",+ "category": "AI",+ "description": "ModiFace: paid SaaS product.",+ "alternatives": [+ {+ "name": "ai-professional-makeup-generator",+ "repo": "SamurAIGPT/ai-professional-makeup-generator",+ "license": "See repo",+ "description": "Open-source AI virtual makeup try-on tool"+ }+ ]+ },+ {+ "slug": "roomgpt",+ "name": "RoomGPT",+ "category": "Design",+ "description": "RoomGPT: paid SaaS product.",+ "alternatives": [+ {+ "name": "ai-room-declutter",+ "repo": "SamurAIGPT/ai-room-declutter",+ "license": "See repo",+ "description": "Open-source AI room declutter & interior redesign tool"+ }+ ]+ },+ {+ "slug": "reimagine-home",+ "name": "Reimagine Home",+ "category": "Design",+ "description": "Reimagine Home: paid SaaS product.",+ "alternatives": [+ {+ "name": "ai-room-declutter",+ "repo": "SamurAIGPT/ai-room-declutter",+ "license": "See repo",+ "description": "Open-source AI room declutter & interior redesign tool"+ }+ ]+ },+ {+ "slug": "lavender",+ "name": "Lavender",+ "category": "Marketing",+ "description": "Lavender: paid SaaS product.",+ "alternatives": [+ {+ "name": "mail-wise",+ "repo": "SamurAIGPT/mail-wise",+ "license": "See repo",+ "description": "Open-source AI email composer & cold outreach assistant"+ }+ ]+ },+ {+ "slug": "reply-io",+ "name": "Reply.io",+ "category": "Marketing",+ "description": "Reply.io: paid SaaS product.",+ "alternatives": [+ {+ "name": "mail-wise",+ "repo": "SamurAIGPT/mail-wise",+ "license": "See repo",+ "description": "Open-source AI email composer & cold outreach assistant"+ }+ ]+ },+ {+ "slug": "promptbase",+ "name": "PromptBase",+ "category": "AI",+ "description": "PromptBase: paid SaaS product.",+ "alternatives": [+ {+ "name": "prompt-architect",+ "repo": "SamurAIGPT/prompt-architect",+ "license": "See repo",+ "description": "Open-source AI prompt engineering workspace"+ }+ ]+ },+ {+ "slug": "promptperfect",+ "name": "PromptPerfect",+ "category": "AI",+ "description": "PromptPerfect: paid SaaS product.",+ "alternatives": [+ {+ "name": "prompt-architect",+ "repo": "SamurAIGPT/prompt-architect",+ "license": "See repo",+ "description": "Open-source AI prompt engineering workspace"+ }+ ]+ },+ {+ "slug": "ink-hunter",+ "name": "Ink Hunter",+ "category": "AI",+ "description": "Ink Hunter: paid SaaS product.",+ "alternatives": [+ {+ "name": "ai-tattoo-try-on",+ "repo": "SamurAIGPT/ai-tattoo-try-on",+ "license": "See repo",+ "description": "Open-source AI tattoo try-on & virtual placement simulator"+ }+ ]+ },+ {+ "slug": "tattoosmart",+ "name": "Tattoosmart",+ "category": "AI",+ "description": "Tattoosmart: paid SaaS product.",+ "alternatives": [+ {+ "name": "ai-tattoo-try-on",+ "repo": "SamurAIGPT/ai-tattoo-try-on",+ "license": "See repo",+ "description": "Open-source AI tattoo try-on & virtual placement simulator"+ }+ ]+ },+ {+ "slug": "faceapp",+ "name": "FaceApp",+ "category": "AI",+ "description": "FaceApp: paid SaaS product.",+ "alternatives": [+ {+ "name": "ai-kid-to-adult-prediction",+ "repo": "SamurAIGPT/ai-kid-to-adult-prediction",+ "license": "See repo",+ "description": "Open-source AI age progression & kid-to-adult prediction tool"+ }+ ]+ },+ {+ "slug": "shipfast",+ "name": "ShipFast",+ "category": "Developer Tools",+ "description": "ShipFast: paid SaaS product.",+ "alternatives": [+ {+ "name": "ai-saas-starter",+ "repo": "SamurAIGPT/ai-saas-starter",+ "license": "See repo",+ "description": "Production-ready Next.js AI SaaS boilerplate"+ }+ ]+ }+]diff --git a/muapi-pages-later/open-source-alternatives/OssIndexClient.js b/muapi-pages-later/open-source-alternatives/OssIndexClient.jsnew file mode 100644index 0000000..011a177--- /dev/null+++ b/muapi-pages-later/open-source-alternatives/OssIndexClient.js@@ -0,0 +1,64 @@+"use client";++import { useMemo, useState } from "react";+import Link from "next/link";++export default function OssIndexClient({ tools, categories, basePath }) {+ const [query, setQuery] = useState("");+ const [category, setCategory] = useState("all");++ const filtered = useMemo(() => {+ const q = query.trim().toLowerCase();+ return tools.filter((t) => {+ if (category !== "all" && t.category !== category) return false;+ if (!q) return true;+ return (+ t.name.toLowerCase().includes(q) ||+ t.description.toLowerCase().includes(q) ||+ t.alternatives.some((a) => a.name.toLowerCase().includes(q))+ );+ });+ }, [tools, query, category]);++ return (+ <div>+ <div className="flex flex-col sm:flex-row gap-3 mb-8">+ <input+ value={query}+ onChange={(e) => setQuery(e.target.value)}+ placeholder="Search a tool, e.g. Notion, Slack, Firebase"+ className="flex-1 rounded-lg border border-white/10 bg-white/5 px-4 py-3 text-sm outline-none focus:border-white/30"+ />+ <select+ value={category}+ onChange={(e) => setCategory(e.target.value)}+ className="rounded-lg border border-white/10 bg-white/5 px-4 py-3 text-sm"+ >+ <option value="all">All categories</option>+ {categories.map((c) => (+ <option key={c} value={c}>{c}</option>+ ))}+ </select>+ </div>++ <p className="text-sm opacity-60 mb-4">{filtered.length} tools</p>++ <div className="grid gap-4 sm:grid-cols-2 lg:grid-cols-3">+ {filtered.map((t) => (+ <Link+ key={t.slug}+ href={`${basePath}/${t.slug}`}+ className="rounded-xl border border-white/10 bg-white/5 p-5 hover:border-white/30 transition"+ >+ <div className="text-xs opacity-60 mb-1">{t.category}</div>+ <h2 className="text-lg font-semibold mb-1">{t.name} alternatives</h2>+ <p className="text-sm opacity-70 mb-3">{t.description}</p>+ <p className="text-xs opacity-60">+ {t.alternatives.map((a) => a.name).join(" · ")}+ </p>+ </Link>+ ))}+ </div>+ </div>+ );+}diff --git a/muapi-pages-later/open-source-alternatives/[tool]/page.js b/muapi-pages-later/open-source-alternatives/[tool]/page.jsnew file mode 100644index 0000000..5add39a--- /dev/null+++ b/muapi-pages-later/open-source-alternatives/[tool]/page.js@@ -0,0 +1,114 @@+import Link from "next/link";+import { notFound } from "next/navigation";+import Navbar from "@/components/Navbar";+import {+ getAllTools,+ getTool,+ withStats,+ formatStars,+ BASE_PATH,+ SITE_URL,+} from "../lib";++export function generateStaticParams() {+ return getAllTools().map((t) => ({ tool: t.slug }));+}++export async function generateMetadata({ params }) {+ const { tool: slug } = await params;+ const tool = getTool(slug);+ if (!tool) return { title: "Not found | Muapi" };+ const year = new Date().getFullYear();+ const title = `Best Open Source Alternatives to ${tool.name} in ${year}`;+ const description = `Open source alternatives to ${tool.name}: ${tool.alternatives+ .map((a) => a.name)+ .join(", ")}. Compare licenses, GitHub stars and self-hosting.`;+ const url = `${SITE_URL}${BASE_PATH}/${tool.slug}`;+ return {+ title: { absolute: `${title} | Muapi` },+ description,+ alternates: { canonical: url },+ openGraph: { title, description, url, siteName: "Muapi", type: "article" },+ };+}++export default async function OssAlternativePage({ params }) {+ const { tool: slug } = await params;+ const tool = getTool(slug);+ if (!tool) notFound();++ const alternatives = tool.alternatives.map(withStats);+ const schema = {+ "@context": "https://schema.org",+ "@type": "ItemList",+ name: `Open source alternatives to ${tool.name}`,+ itemListElement: alternatives.map((a, i) => ({+ "@type": "ListItem",+ position: i + 1,+ name: a.name,+ url: a.url,+ })),+ };++ return (+ <main className="min-h-screen bg-bg-page text-primary-text flex flex-col">+ <script+ type="application/ld+json"+ dangerouslySetInnerHTML={{ __html: JSON.stringify(schema) }}+ />+ <Navbar />+ <div className="mx-auto w-full max-w-3xl px-4 pt-28 pb-20">+ <Link href={BASE_PATH} className="text-sm opacity-60 hover:opacity-100">+ ← All open source alternatives+ </Link>+ <h1 className="text-3xl sm:text-4xl font-bold mt-3 mb-2">+ Open source alternatives to {tool.name}+ </h1>+ <p className="opacity-70 mb-8">+ {tool.name}: {tool.description} These projects do similar jobs and+ have public source code.+ </p>++ <ol className="space-y-4">+ {alternatives.map((a, i) => (+ <li+ key={a.name}+ className="rounded-xl border border-white/10 bg-white/5 p-5"+ >+ <div className="flex items-start justify-between gap-4">+ <h2 className="text-lg font-semibold">+ {i + 1}. {a.name}+ </h2>+ {formatStars(a.stars) && (+ <span className="text-sm opacity-70 whitespace-nowrap">+ ★ {formatStars(a.stars)}+ </span>+ )}+ </div>+ <p className="text-sm opacity-80 my-2">{a.description}</p>+ <div className="flex flex-wrap gap-x-4 gap-y-1 text-xs opacity-60">+ <span>License: {a.license}</span>+ {a.pushedAt && (+ <span>Last commit: {a.pushedAt.slice(0, 10)}</span>+ )}+ </div>+ <a+ href={a.url}+ target="_blank"+ rel="noopener noreferrer"+ className="inline-block mt-3 text-sm underline"+ >+ {a.repo ? "View on GitHub" : "Visit website"}+ </a>+ </li>+ ))}+ </ol>++ <p className="text-xs opacity-50 mt-8">+ Licenses and star counts can change. Check each project before you+ adopt it.+ </p>+ </div>+ </main>+ );+}diff --git a/muapi-pages-later/open-source-alternatives/lib.js b/muapi-pages-later/open-source-alternatives/lib.jsnew file mode 100644index 0000000..b4c2785--- /dev/null+++ b/muapi-pages-later/open-source-alternatives/lib.js@@ -0,0 +1,38 @@+import tools from "./data.json";+import stats from "./stats.json";++export const SITE_URL = "https://muapi.ai";+export const BASE_PATH = "/open-source-alternatives";++export function getAllTools() {+ return tools;+}++export function getTool(slug) {+ return tools.find((t) => t.slug === slug) || null;+}++export function getCategories() {+ return [...new Set(tools.map((t) => t.category))].sort();+}++// stats.json is written by scripts/refresh-oss-stats.mjs (GitHub API).+export function getRepoStats(repo) {+ return (repo && stats[repo]) || null;+}++export function withStats(alt) {+ const s = getRepoStats(alt.repo);+ return {+ ...alt,+ stars: s?.stars ?? null,+ license: s?.license || alt.license,+ pushedAt: s?.pushedAt ?? null,+ url: alt.repo ? `https://github.com/${alt.repo}` : alt.url,+ };+}++export function formatStars(n) {+ if (n == null) return null;+ return n >= 1000 ? `${(n / 1000).toFixed(n >= 10000 ? 0 : 1)}k` : String(n);+}diff --git a/muapi-pages-later/open-source-alternatives/page.js b/muapi-pages-later/open-source-alternatives/page.jsnew file mode 100644index 0000000..ae32b23--- /dev/null+++ b/muapi-pages-later/open-source-alternatives/page.js@@ -0,0 +1,38 @@+import Navbar from "@/components/Navbar";+import OssIndexClient from "./OssIndexClient";+import { getAllTools, getCategories, BASE_PATH, SITE_URL } from "./lib";++const TITLE = "Open Source Alternatives to Popular Software";+const DESCRIPTION =+ "Find open source alternatives to Notion, Slack, Firebase, Photoshop and more. Compare licenses, GitHub stars and self-hosting options.";++export const metadata = {+ title: { absolute: `${TITLE} | Muapi` },+ description: DESCRIPTION,+ alternates: { canonical: `${SITE_URL}${BASE_PATH}` },+ openGraph: {+ title: TITLE,+ description: DESCRIPTION,+ url: `${SITE_URL}${BASE_PATH}`,+ siteName: "Muapi",+ type: "website",+ },+};++export default function OpenSourceAlternativesPage() {+ const tools = getAllTools();+ return (+ <main className="min-h-screen bg-bg-page text-primary-text flex flex-col">+ <Navbar />+ <div className="mx-auto w-full max-w-6xl px-4 pt-28 pb-20">+ <h1 className="text-3xl sm:text-4xl font-bold mb-3">{TITLE}</h1>+ <p className="opacity-70 max-w-2xl mb-8">{DESCRIPTION}</p>+ <OssIndexClient+ tools={tools}+ categories={getCategories()}+ basePath={BASE_PATH}+ />+ </div>+ </main>+ );+}diff --git a/open_spaces_comparative_review_2026-10-06.md b/open_spaces_comparative_review_2026-10-06.mddeleted file mode 100644index 429d9f1..0000000--- a/open_spaces_comparative_review_2026-10-06.md+++ /dev/null@@ -1,185 +0,0 @@-# OpenSpaces comparative code review and plan--**Reviewed:** 2026-10-06-**Scope:** `Anil-matcha/open-spaces` current `main`; `CopilotKit/OpenDots` current `main`; current public product/help documentation for Open Spaces and Notion. This is a source and documentation review, not a deployment audit or runtime verification.--## Executive summary--OpenSpaces has a useful foundation: a TipTap-based page editor, space/page/message persistence, autosave, and MuAPI text and image integrations. Several README claims currently describe intended behavior rather than implemented behavior. In particular, multi-user collaboration has no access control, the WebSocket is an unused unauthenticated relay, agent execution and meeting transcription are simulations, and page versions do not prevent stale writes.--OpenDots is a useful implementation reference for nested pages, optimistic concurrency, draft preservation, scoped agent access, page-specific conversations, and approval before saving agent-created pages. It is deliberately single-owner and does not provide team collaboration or file uploads.--Open Spaces is the closer product reference for shared pages, files, teammates, comments, and real-time editing. Notion is the broader workspace reference: teamspaces and granular permissions, docs and databases, connected-source search with citations, real meeting transcription, and scheduled or event-triggered agents.--Recommended sequence: **secure the baseline → make page editing safe → add real sharing/collaboration → make AI runs trustworthy → implement meetings/files → selectively expand integrations and structured workspace features.**--## Sources and review boundaries--### Repositories reviewed--- [Anil-matcha/open-spaces](https://github.com/Anil-matcha/open-spaces)-- [CopilotKit/OpenDots](https://github.com/CopilotKit/OpenDots)-- OpenDots [setup and page behavior](https://github.com/CopilotKit/OpenDots/blob/main/docs/SETUP.md)-- OpenDots [security boundary](https://github.com/CopilotKit/OpenDots/blob/main/SECURITY.md)--### Product documentation reviewed--- Open Spaces product specifications-- Notion [product features](https://www.notion.com/product/features)-- Notion [teamspaces](https://www.notion.com/help/guides/teamspaces-give-teams-home)-- Notion [sharing and permissions](https://www.notion.com/help/sharing-and-permissions)-- Notion [Enterprise Search](https://www.notion.com/help/enterprise-search)-- Notion [Custom Agents](https://www.notion.com/help/custom-agents)-- Notion [AI Meeting Notes](https://www.notion.com/help/ai-meeting-notes)--Open Spaces specifications describe real-time collaboration, comments, team sharing, files, shared context and page instructions; collaborative slides and spreadsheets as roadmap items. Notion capabilities and plan availability can vary, so recheck product docs before making dated parity claims.--## OpenSpaces code review--### Implemented foundation--- Next.js client and FastAPI API, with SQLAlchemy persistence configured for PostgreSQL/Supabase.-- CRUD and persistence for spaces, pages, messages and meeting-note records.-- TipTap editor with Markdown source mode, slash commands, inline text/image generation, and debounced autosave.-- Page version integer incremented on every page update.-- MuAPI-backed chat and image routes.--### Gaps between claims and implementation--| Area | Current implementation | Consequence |-|---|---|---|-| Identity and authorization | Reviewed routes do not authenticate users or check space membership. Membership is stored as JSON/static seed data; creating a Space assigns a fixed `usr-1` owner. | Any reachable API client can attempt reads and mutations. This is a release blocker for multi-user or public deployment. |-| WebSocket collaboration | `/ws/spaces/{space_id}` accepts based on the URL identifier and relays arbitrary received JSON to connections. It does not authenticate, authorize, validate event schemas, persist changes, or implement document operations. No client use was found in the frontend source. | It is not collaborative editing and can expose a room to unauthorized clients. |-| Page concurrency | The API increments `version` but does not require a client expected-version value. There is no revision-history table or restore endpoint. | Concurrent saves can silently overwrite one another; a version number alone does not prevent it. |-| Nested pages | Page schema/model has no parent-page relationship. | No document hierarchy or safe move behavior. |-| Dot agents | The run endpoint waits and appends placeholder text, then posts a completion message. Agent identities/capabilities are seeded, with no full configure/manage workflow. | “Autonomous” work is not actually executed; completion status is misleading. |-| Meetings | The recording UI runs a timer and then submits hard-coded transcript, summary and action items. | No real audio capture, upload or transcription. |-| Chat errors | A failed MuAPI request can return fabricated fallback text as a normal response. | Users cannot distinguish generated answers from provider failures. |-| Image generation | Request handler polls in an unbounded loop until completion. | Long-running generation occupies the request and has no durable job state the user can revisit. |-| Files and connected context | No Space file persistence or integration-backed context workflow was found. | Space agents cannot use a managed, access-controlled collection of attached sources. |-| Collaboration features | No invite/member-management routes, page comments, granular access, or access-aware search were found. | UI language around shared team work exceeds the backend capability. |-| Configuration | `server/app/core/config.py` includes a database URL with embedded credentials as a default fallback. | Verify whether the credential is live; rotate it if so, remove it from source, and require deployment configuration. Do not copy the secret into issues or documentation. |--Relevant OpenSpaces files include `server/app/main.py`, `server/app/core/config.py`, `server/app/api/routers/{spaces,pages,agents,meetings,chat,images}.py`, `server/app/db/models.py`, `server/app/models/schemas.py`, `server/app/services/space_store.py`, and `client/src/components/{OpenSpacesApp,CanvasPage,SpaceChat,MeetingIntelligence}.js`.--### Additional implementation observations--- The WebSocket broadcasts back to all room connections, including the sender, despite the comment saying “other collaborators.” It also has no `finally` cleanup for non-disconnect failures.-- `members` are serialized from a JSON column rather than relational membership records, making constraints and authorization difficult to enforce.-- Message records are persisted, but there is no distinct conversation/thread model that establishes ownership, membership, or context boundaries.-- Image generation is synchronous from the caller's perspective and has no server-side job lifecycle, cancellation, or timeout policy.-- UI state and endpoint behavior should be kept in parity: seeded examples and fallback responses need clear demo-vs-production boundaries.--## OpenDots code review--OpenDots is an early, self-hosted, single-owner template. It should not be mistaken for a drop-in team collaboration implementation. Its strongest reusable patterns are in document integrity and agent scoping.--### Useful patterns to adopt--- Pages have `parentId`; server checks parent existence in the same Space and prevents cycles when moving pages.-- Page updates require `expectedRevision`; conflicts return a conflict response rather than silently overwriting newer content.-- Client autosave has explicit `saved`, `dirty`, `saving`, `error`, and `conflict` states. Failed writes preserve the draft; retries are explicit after errors.-- Page-specific conversations are bound to both page and specialist Dot. The current saved page is passed as context.-- Each Dot has explicit Space grants and separate research/memory permissions; server-side tools check those grants.-- Agent-created page content can require human review before saving. A persisted review receipt makes repeat saves idempotent.-- Scheduled work tracks tasks, runs, events, leases, pause/retry state, and result/error status in persistent storage.-- The repository includes focused tests for page services, autosave conflicts, scopes, scheduling, controls and security boundaries.--### OpenDots limitations to preserve in the comparison--- Its local app uses a single-owner identity model. Its own security guide says multi-user membership, Slack identity mapping, and voice delegation need more enforcement before connected multi-user deployment.-- No shared page editing, team invitations, file uploads or arbitrary interactive embeds are included.-- Page data lives locally in SQLite while conversation history lives in the configured Intelligence project; backups must cover both.-- Computer, Slack, calls, schedules, and learning depend on configured external services. The repo distinguishes local checks from live-service verification.--## Product comparison--| Capability | OpenSpaces | OpenDots | Reference Spaces | Notion |-|---|---|---|---|---|-| Workspace organization | Spaces and flat page lists | Spaces with nested pages | Shared Spaces for team work | Teamspaces, pages, databases, docs and projects |-| Page editing | TipTap rich editor, Markdown and autosave | Rich editor, Markdown/source handling, nested pages, autosave | Editable pages, with AI assistance | Block-based docs and databases |-| Concurrent collaboration | WebSocket relay only; not wired into client | Not included | Product page describes real-time co-editing and comments | Product page describes real-time editing and comments |-| Permissions | Static member field; no enforced auth in reviewed routes | Single-owner boundary; per-Dot Space grants | Teammate/team sharing and page access levels | Open/closed/private teamspaces; page-level view/comment/edit/full access and inherited permissions |-| AI context | Chat endpoint and inline editor actions; no Space file corpus | Page-specific Dot conversation; scoped page tools | Open Spaces/Codex/dot use shared context; page instructions and connected sources | Workspace and connector search with citations; AI can work with pages/databases |-| Agent automation | Agent run is simulated | Specialist Dots, schedules, pause/retry, optional computer, review flow | Dots can work across Space and connected channels per product description | Custom Agents can use granted sources, schedules/events, and actions; access/activity controls are documented |-| Meetings | Static simulated transcript and summary | Calls and speech workflows, with some live-connected checks noted as incomplete | Not the core of the Space product page | Actual AI Meeting Notes transcription, summaries and action items; team sharing controls |-| Files/integrations | No Space file system/integrations found | File uploads are future work; Slack/calls/computers require setup | Shared files and connected context are part of product description | AI Connectors include services such as Slack, Drive, Jira, GitHub, email and calendars, subject to plans/setup |--Notion is a broader long-term benchmark than a Space clone: it combines documents with databases, projects, connectors, meeting capture and event-driven agents. Avoid taking on all of that before OpenSpaces has authorization and data-integrity fundamentals.--## Recommended implementation plan--### Phase 0 — Secure the baseline--1. Remove the source-coded database credential fallback. Require `DATABASE_URL`/`DIRECT_URL` from the environment and fail startup clearly when missing. Check credential validity privately and rotate if active.-2. Add verified user identity and server-side authorization to every Space, page, message, meeting, chat and agent route.-3. Replace JSON/static members and fixed `usr-1` with normalized users, memberships, roles and ownership.-4. Restrict CORS to configured origins. Authenticate and authorize WebSocket connections, or disable the unused endpoint until a real protocol is implemented.-5. Define owner/editor/commenter/viewer permissions and test enforcement at the API boundary.--**Exit criteria:** anonymous access fails; cross-Space reads/writes fail; membership revocation takes effect; WebSocket cannot join by guessing an ID; absent production secrets prevent startup.--### Phase 1 — Make pages safe to edit--1. Add page `parent_id`, ordering and safe move/cycle checks.-2. Require `expected_revision` for updates and return conflict status with the current revision on stale writes.-3. Adopt explicit autosave states and preserve local drafts on failure/conflict; provide “use latest” and recovery paths.-4. Add revision snapshots/history and restore with author and timestamp.-5. Define page content limits and safe Markdown/rich-text conversions.--**Exit criteria:** two clients cannot silently overwrite; stale changes are detectable; failed drafts remain recoverable; users can restore an earlier version.--### Phase 2 — Build real sharing and collaboration--1. Add invitations and membership lifecycle, with role changes and revocation.-2. Add page-level sharing only if Space-level permissions are insufficient for the target use case.-3. Add comments, mentions and activity history.-4. Pick an explicit collaboration model: CRDT/OT for simultaneous edits, or presence plus revision-checked saves as a smaller first step. Replace arbitrary WebSocket payload relay with typed, authenticated events.-5. Scope search results and page references by the caller's access.--**Exit criteria:** invited users see only authorized content; roles are enforced; concurrent edits have defined behavior; comments and activity identify real users.--### Phase 3 — Make AI actions trustworthy--1. Replace simulated agent execution with durable run/job records: queued, running, completed, failed, cancelled, progress, timestamps and retry state.-2. Configure each Dot with instructions, model and explicit Space/page/tool grants; verify grants on every server tool call.-3. Send only authorized page/file context and retain source links/citations for research.-4. Add review/approve/reject for page modifications and external write actions; make accepted operations idempotent.-5. Return structured provider errors instead of fabricated success text. Use bounded timeouts and appropriate retries.-6. Convert image generation to an asynchronous durable task with status polling or server events, cancellation and clear failure states.--**Exit criteria:** “completed” means real execution completed; users can inspect failures and sources; tool grants are server-enforced; consequential edits can be reviewed and recovered.--### Phase 4 — Implement real meeting and file workflows--1. Implement actual microphone capture and/or audio/video upload, transcription, summary and action extraction.-2. Keep capture, transcription and synthesis as separate observable job states; retain/edit transcripts and outputs under clear retention rules.-3. Let users review action items before converting them into pages/tasks.-4. Add Space file storage, metadata, upload limits, supported formats and access checks.-5. Make AI context selection explicit and cite the files/pages used.--**Exit criteria:** meeting notes are derived from real audio; generated content is reviewable; uploads follow access/retention rules; AI answers identify source material.--### Phase 5 — Selectively expand toward Notion--1. Add connected-source search with citations, beginning with one high-value integration.-2. Add event-triggered and scheduled agents only with pause/disable controls, run logs, permissions and reversible actions.-3. Evaluate structured databases/collections if page-only organization is insufficient.-4. Add admin controls, export, retention, audit trails and mobile workflows based on deployment needs.--**Exit criteria:** each connector or trigger has explicit scopes, access-aware retrieval, observable runs and a recovery path.--## Priority and sequencing--**P0:** credential remediation and server-enforced authorization. Do not expose the current backend as a multi-user service before these are addressed.-**P1:** revision-checked page editing and real membership/invitations. These unlock safe collaboration.-**P2:** replace simulated agents and meeting UI; add durable job state and honest errors.-**P3:** comments, files and connected-source context.-**P4:** connectors, event-driven agents, database-like collections and enterprise controls.--OpenDots is the implementation reference for page conflict handling, scoped agent tools, page-specific conversations and reviewable agent writes. Open Spaces is the nearer product reference for shared pages, files, teams and comments. Notion is the broader benchmark for granular permissions, source-connected search, real meeting capture and automation.--## Suggested first milestone--Ship a secure single-organization MVP with verified users, Spaces and memberships, revision-checked pages, nested page organization, honest AI failure states, and a genuine page-scoped agent draft/review flow. Defer real-time co-editing, external connectors, meeting capture and database features until the MVP's authorization and data integrity are dependable.-diff --git a/scripts/add-from-issue.mjs b/scripts/add-from-issue.mjsnew file mode 100644index 0000000..fef1b5e--- /dev/null+++ b/scripts/add-from-issue.mjs@@ -0,0 +1,65 @@+// Turns an "Add an open source alternative" issue into a data.json change.+// Untrusted input arrives ONLY through env vars/files and is validated here.+// Env: ISSUE_BODY, GITHUB_TOKEN, DATA_FILE (optional), RESULT_FILE (optional)+// Writes a short markdown message to RESULT_FILE and exits 0 (changed) or 1 (rejected).+import { readFile, writeFile } from "node:fs/promises";++const dataPath = process.env.DATA_FILE || new URL("../data.json", import.meta.url);+const resultPath = process.env.RESULT_FILE || "issue-result.md";+const REPO = /^[A-Za-z0-9_.-]+\/[A-Za-z0-9_.-]+$/;++async function reject(msg) {+ await writeFile(resultPath, `Thanks for the suggestion, but I couldn't add it automatically:\n\n${msg}\n\nPlease edit the issue to fix this, or open a pull request.`);+ process.exit(1);+}++// Issue-form bodies look like "### Label\n\nvalue".+const fields = {};+for (const block of (process.env.ISSUE_BODY || "").split(/^### /m).slice(1)) {+ const [label, ...rest] = block.split("\n");+ fields[label.trim()] = rest.join("\n").trim();+}+const clean = (s) => (s || "").replace(/<[^>]*>/g, "").replace(/\s+/g, " ").trim();+const get = (prefix) => clean(Object.entries(fields).find(([k]) => k.startsWith(prefix))?.[1]);+const none = (s) => (s === "_No response_" ? "" : s);++const toolName = none(get("Paid SaaS app"));+const repo = none(get("GitHub repository")).replace(/^https?:\/\/github\.com\//i, "").replace(/\/+$/, "");+const nameInput = none(get("Project name"));+const description = none(get("One-line description")).slice(0, 160);+const category = none(get("Category"));++if (!toolName || toolName.length > 60) await reject("- The SaaS app name is missing or too long.");+if (!REPO.test(repo)) await reject("- The repository must look like `owner/name`.");+if (!description) await reject("- A one-line description is required.");++const res = await fetch(`https://api.github.com/repos/${repo}`, {+ headers: { Accept: "application/vnd.github+json", "User-Agent": "awesome-oss-alternatives-bot", ...(process.env.GITHUB_TOKEN ? { Authorization: `Bearer ${process.env.GITHUB_TOKEN}` } : {}) },+});+if (!res.ok) await reject(`- \`${repo}\` was not found on GitHub (HTTP ${res.status}). It must be a public repository.`);+const r = await res.json();+if (r.archived) await reject(`- \`${repo}\` is archived.`);+if (r.private || r.fork) await reject(`- \`${repo}\` must be a public, non-fork repository.`);++const data = JSON.parse(await readFile(dataPath, "utf8"));+const norm = (s) => s.toLowerCase().replace(/[^a-z0-9]/g, "");+const slugify = (s) => s.toLowerCase().replace(/[^a-z0-9]+/g, "-").replace(/^-|-$/g, "");+let tool = data.find((t) => t.slug === slugify(toolName) || norm(t.name) === norm(toolName));+let created = false;+if (!tool) {+ tool = { slug: slugify(toolName), name: toolName, category: category || "More alternatives", description: `${toolName}: paid SaaS product.`, alternatives: [] };+ data.push(tool);+ created = true;+}+if (tool.alternatives.some((a) => (a.repo || "").toLowerCase() === r.full_name.toLowerCase()))+ await reject(`- \`${r.full_name}\` is already listed under ${tool.name}.`);++const spdx = r.license?.spdx_id;+tool.alternatives.push({+ name: nameInput.slice(0, 40) || r.name,+ repo: r.full_name,+ license: spdx && spdx !== "NOASSERTION" ? spdx : "See repo",+ description,+});+await writeFile(dataPath, JSON.stringify(data, null, 1) + "\n");+await writeFile(resultPath, `Added **${nameInput || r.name}** (\`${r.full_name}\`) ${created ? `under a new entry for **${tool.name}**` : `as another alternative to **${tool.name}**`}. A pull request is on its way.`);diff --git a/scripts/build-readme.mjs b/scripts/build-readme.mjsnew file mode 100644index 0000000..0af4987--- /dev/null+++ b/scripts/build-readme.mjs@@ -0,0 +1,74 @@+// Generates README.md from data.json + stats.json.+// Usage: node scripts/build-readme.mjs+import { readFile, writeFile } from "node:fs/promises";++const root = new URL("../", import.meta.url);+const tools = JSON.parse(await readFile(new URL("data.json", root), "utf8"));+const stats = JSON.parse(await readFile(new URL("stats.json", root), "utf8"));++const fmt = (n) => (n >= 1000 ? `${(n / 1000).toFixed(n >= 10000 ? 0 : 1)}k` : String(n));+const anchor = (s) => s.toLowerCase().replace(/[^\w\s-]/g, "").trim().replace(/\s+/g, "-");++const byCategory = {};+for (const t of tools) (byCategory[t.category] ||= []).push(t);+const categories = Object.keys(byCategory).sort();++const rows = (t) =>+ t.alternatives+ .map((a) => {+ const s = a.repo ? stats[a.repo] : null;+ const link = a.repo ? `https://github.com/${a.repo}` : a.url;+ const stars = s?.stars != null ? `★ ${fmt(s.stars)}` : "";+ const license = s?.license || a.license;+ return `| [${a.name}](${link}) | ${a.description} | ${license} | ${stars} |`;+ })+ .join("\n");++let out = `# Awesome Open Source SaaS Alternatives [](https://awesome.re)++> A curated list of open source alternatives to paid SaaS apps, with licenses and GitHub stars.++Looking for a free, self-hostable replacement for a paid tool? Find the tool below and pick an alternative. **Want to add yours? [Submit it here](../../issues/new?template=add-alternative.yml)**, see [CONTRIBUTING.md](CONTRIBUTING.md).++## Contents++${categories.map((c) => `- [${c}](#${anchor(c)})`).join("\n")}++`;++for (const c of categories) {+ out += `## ${c}\n\n`;+ for (const t of byCategory[c].sort((a, b) => a.name.localeCompare(b.name))) {+ out += `### ${t.name}\n\n${t.description}\n\n| Alternative | Description | License | Stars |\n|---|---|---|---|\n${rows(t)}\n\n`;+ }+}++out += `## Notes++- Licenses and star counts are refreshed from the GitHub API and can change. Check each project before you adopt it.+- "Open source" here means source is publicly available. Some entries use fair-code or source-available licenses and are marked as such.++## Data sources++- **Curated entries:** the original tool-to-alternative pairs are maintained by hand in [\`data.json\`](data.json).+- **Discovered entries:** more pairs were found with the [GitHub Search API](https://docs.github.com/en/rest/search/search#search-repositories) by looking for public repositories whose description says "alternative to X". Those entries reuse the repository's own GitHub description, and a human decided which targets are paid SaaS products.+- **Stars, licenses and last-push dates:** pulled from the [GitHub REST API](https://docs.github.com/en/rest/repos/repos#get-a-repository) and refreshed weekly. Where GitHub can't detect a license, the entry says "See repo".+- **Community submissions:** added through the [issue form](../../issues/new?template=add-alternative.yml) and pull requests.+- **Verification:** the original curated pairs were cross-checked against independent sources (comparison articles and directories). Where a project replaces only part of a product, its description says so.+- **Disclosure:** some listed projects are maintained by the author of this list ([Anil-matcha](https://github.com/Anil-matcha) and [SamurAIGPT](https://github.com/SamurAIGPT)). Each one's own repository description claims it as an alternative to the listed app.+- This list does not copy data from AlternativeTo, OpenAlternative or other directories.++## Contributing++Add or edit entries in [\`data.json\`](data.json), then run:++\`\`\`bash+GITHUB_TOKEN=... node scripts/refresh-stats.mjs+node scripts/build-readme.mjs+\`\`\`++README.md is generated, so please don't edit it by hand.+`;++await writeFile(new URL("README.md", root), out);+console.log(`README.md written: ${tools.length} tools, ${categories.length} categories`);diff --git a/scripts/group-mined.mjs b/scripts/group-mined.mjsnew file mode 100644index 0000000..eca4954--- /dev/null+++ b/scripts/group-mined.mjs@@ -0,0 +1,36 @@+// Groups mined repos by the proprietary tool they claim to replace.+// Usage: node scripts/group-mined.mjs <mined-raw.json> <grouped.json>+import { readFile, writeFile } from "node:fs/promises";++const [inFile, outFile] = process.argv.slice(2);+const repos = JSON.parse(await readFile(inFile, "utf8"));+const cutoff = Date.now() - 18 * 30 * 864e5;+const RE = /alternatives? (?:to|for)\s+(.+)/i;+const STOP = /^(the|a|an|your|any|all|many|other|some|popular|commercial|proprietary|existing|google's|microsoft's)\b/i;++function targets(desc) {+ const m = (desc || "").replace(/[\u{1F300}-\u{1FAFF}☀-➿]/gu, "").match(RE);+ if (!m) return [];+ const head = m[1].split(/[.;:()|\n!]| - | — | that | which | with | for | built | written | using /i)[0];+ return head+ .split(/,| and | or | & |\/| \+ /i)+ .map((s) => s.trim().replace(/^(the|a)\s+/i, "").replace(/[*_`"']+/g, ""))+ .filter((s) => s && s.length <= 30 && s.split(/\s+/).length <= 3 && /^[A-Z0-9]/.test(s) && !STOP.test(s));+}++const groups = {};+for (const r of repos) {+ if (new Date(r.pushedAt).getTime() < cutoff) continue;+ for (const t of targets(r.description)) {+ const key = t.toLowerCase();+ (groups[key] ||= { name: t, alternatives: [] }).alternatives.push(r);+ }+}+const list = Object.values(groups)+ .map((g) => ({ ...g, alternatives: g.alternatives.sort((a, b) => b.stars - a.stars).slice(0, 5) }))+ .sort((a, b) => b.alternatives[0].stars - a.alternatives[0].stars);+await writeFile(outFile, JSON.stringify(list, null, 1));+console.log(`${list.length} tools from ${repos.length} repos`);+for (const g of list.slice(0, 40)) console.log(`${g.name.padEnd(22)} <- ${g.alternatives.map((a) => a.repo.split("/")[1]).join(", ")}`);+console.log("...random tail sample:");+for (const g of list.slice(100).filter((_, i) => i % 12 === 0).slice(0, 14)) console.log(`${g.name.padEnd(22)} <- ${g.alternatives.map((a) => a.repo).join(", ")}`);diff --git a/scripts/merge-mined.mjs b/scripts/merge-mined.mjsnew file mode 100644index 0000000..c9d3b4f--- /dev/null+++ b/scripts/merge-mined.mjs@@ -0,0 +1,93 @@+// Merges grouped.json (from group-mined.mjs) into data.json, restricted to an+// allowlist of paid SaaS products. Existing tools gain new alternatives.+// Usage: node scripts/merge-mined.mjs <grouped.json>+import { readFile, writeFile } from "node:fs/promises";++const root = new URL("../", import.meta.url);+const grouped = JSON.parse(await readFile(process.argv[2], "utf8"));+const data = JSON.parse(await readFile(new URL("data.json", root), "utf8"));++// mined name -> [display name, category, one-line description]+const SAAS = {+ "Postman": ["Postman", "Developer Tools"], "Insomnia": ["Insomnia", "Developer Tools"],+ "Vercel": ["Vercel", "Developer Tools"], "Heroku": ["Heroku", "Developer Tools"],+ "Netlify": ["Netlify", "Developer Tools"], "Salesforce": ["Salesforce", "CRM"],+ "Intercom": ["Intercom", "Customer Support"], "Zendesk": ["Zendesk", "Customer Support"],+ "Linear": ["Linear", "Project Management"], "Jira": ["Jira", "Project Management"],+ "Slack": ["Slack", "Communication"], "Notion": ["Notion", "Productivity"],+ "Algolia": ["Algolia", "Developer Tools"], "Pinecone": ["Pinecone", "Developer Tools"],+ "Trello": ["Trello", "Project Management"], "Asana": ["Asana", "Project Management"],+ "Tableau": ["Tableau", "Analytics"], "Semrush": ["Semrush", "Marketing"],+ "Ahrefs": ["Ahrefs", "Marketing"], "Datadog": ["Datadog", "Monitoring"],+ "Splunk": ["Splunk", "Monitoring"], "Confluence": ["Confluence", "Productivity"],+ "Google Analytics": ["Google Analytics", "Analytics"], "Retool": ["Retool", "Developer Tools"],+ "Auth0": ["Auth0", "Developer Tools"], "Firebase Auth": ["Firebase Auth", "Developer Tools"],+ "AWS Cognito": ["AWS Cognito", "Developer Tools"], "Evernote": ["Evernote", "Productivity"],+ "Pubnub": ["PubNub", "Developer Tools"], "Pusher": ["Pusher", "Developer Tools"],+ "Ably": ["Ably", "Developer Tools"], "Clerk": ["Clerk", "Developer Tools"],+ "WorkOS": ["WorkOS", "Developer Tools"], "Stytch": ["Stytch", "Developer Tools"],+ "Webflow": ["Webflow", "Design"], "Framer": ["Framer", "Design"],+ "Twilio": ["Twilio", "Communication"], "Mixpanel": ["Mixpanel", "Analytics"],+ "Superwhisper": ["Superwhisper", "AI"], "Wispr Flow": ["Wispr Flow", "AI"],+ "Vapi": ["Vapi", "AI"], "Retell": ["Retell AI", "AI"], "Opus Clip": ["Opus Clip", "Video"],+ "Resend": ["Resend", "Marketing"], "Sendgrid": ["SendGrid", "Marketing"],+ "Mailgun": ["Mailgun", "Marketing"], "Kommo": ["Kommo", "CRM"],+ "Shodan": ["Shodan", "Security"], "Censys": ["Censys", "Security"],+ "SurveyMonkey": ["SurveyMonkey", "Forms"], "Quickbooks": ["QuickBooks", "Finance"],+ "Xero": ["Xero", "Finance"], "Typeform": ["Typeform", "Forms"], "Qualtrics": ["Qualtrics", "Forms"],+ "Drift": ["Drift", "Customer Support"], "Crisp": ["Crisp", "Customer Support"],+ "Zoom": ["Zoom", "Communication"], "Google Meet": ["Google Meet", "Communication"],+ "Microsoft Teams": ["Microsoft Teams", "Communication"], "Splitwise": ["Splitwise", "Finance"],+ "YNAB": ["YNAB", "Finance"], "Otter": ["Otter.ai", "AI"], "Granola": ["Granola", "AI"],+ "Fireflies": ["Fireflies.ai", "AI"], "Cypress Dashboard": ["Cypress Cloud", "Developer Tools"],+ "Discord": ["Discord", "Communication"], "Braze": ["Braze", "Marketing"],+ "One Signal": ["OneSignal", "Marketing"], "Customer Io": ["Customer.io", "Marketing"],+ "Appcues": ["Appcues", "Product"], "Pendo": ["Pendo", "Product"], "Userflow": ["Userflow", "Product"],+ "Higgsfield": ["Higgsfield", "AI"], "OpenArt": ["OpenArt", "AI"], "Freepik": ["Freepik", "AI"],+ "Buffer": ["Buffer", "Marketing"], "Sendible": ["Sendible", "Marketing"],+ "SocialPilot": ["SocialPilot", "Marketing"], "CleanShot X": ["CleanShot X", "Video"],+ "Loom": ["Loom", "Video"], "Ngrok": ["ngrok", "Developer Tools"],+ "NotebookLM": ["NotebookLM", "AI"], "ClickUp": ["ClickUp", "Project Management"],+ "Monday": ["Monday.com", "Project Management"], "Thinkific": ["Thinkific", "Education"],+ "Teachable": ["Teachable", "Education"], "Podia": ["Podia", "Education"],+ "Mailchimp": ["Mailchimp", "Marketing"], "Genspark AI": ["Genspark", "AI"],+ "Firebase Crashlytics": ["Firebase Crashlytics", "Monitoring"],+ "Apollo Studio": ["Apollo GraphOS", "Developer Tools"], "Screaming Frog": ["Screaming Frog", "Marketing"],+ "Zapier": ["Zapier", "Automation"], "Composio": ["Composio", "Automation"],+ "Nango": ["Nango", "Automation"], "Merge": ["Merge", "Automation"],+ "Sentry": ["Sentry", "Monitoring"], "Pingdom": ["Pingdom", "Monitoring"],+ "Carta": ["Carta", "Finance"], "Glean": ["Glean", "AI"], "LinkTree": ["Linktree", "Marketing"],+ "Disqus": ["Disqus", "Publishing"], "Manus": ["Manus", "AI"], "Cluely": ["Cluely", "AI"],+ "Final Round AI": ["Final Round AI", "AI"], "Krea Nodes": ["Krea", "AI"],+ "FloraFauna AI": ["FloraFauna AI", "AI"], "Weavy AI": ["Weavy", "AI"],+ "ChatGPT": ["ChatGPT", "AI"], "Elasticsearch": ["Elastic Cloud", "Developer Tools"],+};++const norm = (s) => s.toLowerCase().replace(/[^a-z0-9]/g, "");+const slugify = (s) => s.toLowerCase().replace(/[^a-z0-9]+/g, "-").replace(/^-|-$/g, "");+const find = (display) => data.find((t) => t.slug === slugify(display) || norm(t.name).includes(norm(display)) || norm(display).includes(norm(t.name)));++let added = 0, newTools = 0;+for (const g of grouped) {+ const meta = SAAS[g.name];+ if (!meta) continue;+ const [display, category] = meta;+ const alts = g.alternatives+ .filter((a) => a.stars >= 500 && norm(a.repo.split("/")[1]) !== norm(display))+ .map((a) => ({+ name: a.repo.split("/")[1], repo: a.repo, license: a.license || "See repo",+ description: (a.description || "").replace(/\s+/g, " ").slice(0, 160),+ }));+ if (!alts.length) continue;+ let tool = find(display);+ if (!tool) {+ tool = { slug: slugify(display), name: display, category, description: `${display}: paid SaaS product.`, alternatives: [] };+ data.push(tool); newTools++;+ }+ const have = new Set(tool.alternatives.map((a) => (a.repo || "").toLowerCase()));+ for (const a of alts) if (!have.has(a.repo.toLowerCase())) { tool.alternatives.push(a); added++; }+}+// Not SaaS software: drop consumer media entries from the seed list.+const keep = data.filter((t) => !["netflix", "spotify"].includes(t.slug));+await writeFile(new URL("data.json", root), JSON.stringify(keep, null, 1) + "\n");+console.log(`new tools: ${newTools}, alternatives added: ${added}, total tools: ${keep.length}`);diff --git a/scripts/mine-alternatives.mjs b/scripts/mine-alternatives.mjsnew file mode 100644index 0000000..a3a5455--- /dev/null+++ b/scripts/mine-alternatives.mjs@@ -0,0 +1,34 @@+// Mines GitHub for repos whose description says "alternative to X".+// Usage: GITHUB_TOKEN=... node scripts/mine-alternatives.mjs <out.json>+import { writeFile } from "node:fs/promises";++const out = process.argv[2];+const headers = {+ Accept: "application/vnd.github+json",+ "User-Agent": "awesome-oss-alternatives-miner",+ Authorization: `Bearer ${process.env.GITHUB_TOKEN}`,+};+const sleep = (ms) => new Promise((r) => setTimeout(r, ms));+const bands = ["20000..*", "10000..19999", "5000..9999", "3000..4999", "2000..2999", "1500..1999", "1000..1499", "700..999", "500..699"];+const queries = ['"alternative to"', '"alternative for"'];++const repos = new Map();+for (const q of queries) {+ for (const band of bands) {+ for (let page = 1; page <= 10; page++) {+ const url = `https://api.github.com/search/repositories?q=${encodeURIComponent(`${q} in:description stars:${band} archived:false`)}&sort=stars&per_page=100&page=${page}`;+ const res = await fetch(url, { headers });+ if (!res.ok) { console.warn(`HTTP ${res.status} ${q} ${band} p${page}`); await sleep(10000); break; }+ const json = await res.json();+ for (const r of json.items) repos.set(r.full_name, {+ repo: r.full_name, description: r.description, stars: r.stargazers_count,+ license: r.license?.spdx_id ?? null, pushedAt: r.pushed_at, topics: r.topics,+ });+ await sleep(2300); // search API: 30 req/min+ if (json.items.length < 100) break;+ }+ console.log(`${q} ${band}: total ${repos.size}`);+ }+}+await writeFile(out, JSON.stringify([...repos.values()], null, 1));+console.log(`saved ${repos.size} repos -> ${out}`);diff --git a/scripts/refresh-stats.mjs b/scripts/refresh-stats.mjsnew file mode 100644index 0000000..a33cd0c--- /dev/null+++ b/scripts/refresh-stats.mjs@@ -0,0 +1,30 @@+// Refreshes GitHub stars, SPDX license and last-push date for every repo in+// data.json -> stats.json.+// Usage: GITHUB_TOKEN=... node scripts/refresh-stats.mjs+import { readFile, writeFile } from "node:fs/promises";++const dir = new URL("../", import.meta.url);+const tools = JSON.parse(await readFile(new URL("data.json", dir), "utf8"));+const repos = [...new Set(tools.flatMap((t) => t.alternatives.map((a) => a.repo)).filter(Boolean))];++const headers = { Accept: "application/vnd.github+json", "User-Agent": "muapi-oss-directory" };+if (process.env.GITHUB_TOKEN) headers.Authorization = `Bearer ${process.env.GITHUB_TOKEN}`;++const stats = {};+for (const repo of repos) {+ const res = await fetch(`https://api.github.com/repos/${repo}`, { headers });+ if (!res.ok) {+ console.warn(`skip ${repo}: HTTP ${res.status}`);+ continue;+ }+ const r = await res.json();+ const spdx = r.license?.spdx_id;+ stats[repo] = {+ stars: r.stargazers_count,+ license: spdx && spdx !== "NOASSERTION" ? spdx : null,+ pushedAt: r.pushed_at,+ };+}++await writeFile(new URL("stats.json", dir), JSON.stringify(stats, null, 2) + "\n");+console.log(`wrote stats for ${Object.keys(stats).length}/${repos.length} repos`);diff --git a/scripts/validate.mjs b/scripts/validate.mjsnew file mode 100644index 0000000..a8d0f51--- /dev/null+++ b/scripts/validate.mjs@@ -0,0 +1,33 @@+// Structural validation of data.json. Exits 1 with a list of problems.+// Usage: node scripts/validate.mjs+import { readFile } from "node:fs/promises";++const file = process.env.DATA_FILE || new URL("../data.json", import.meta.url);+const data = JSON.parse(await readFile(file, "utf8"));+const REPO = /^[A-Za-z0-9_.-]+\/[A-Za-z0-9_.-]+$/;+const errors = [];+const slugs = new Set();++for (const t of data) {+ const at = `tool "${t.name}"`;+ if (!t.slug || !t.name || !t.category || !t.description) errors.push(`${at}: slug, name, category and description are required`);+ if (slugs.has(t.slug)) errors.push(`${at}: duplicate slug ${t.slug}`);+ slugs.add(t.slug);+ if (!Array.isArray(t.alternatives) || !t.alternatives.length) errors.push(`${at}: needs at least one alternative`);+ const repos = new Set();+ for (const a of t.alternatives || []) {+ const aa = `${at} > "${a.name}"`;+ if (!a.name || !a.license || !a.description) errors.push(`${aa}: name, license and description are required`);+ if (a.repo ? !REPO.test(a.repo) : !/^https:\/\//.test(a.url || "")) errors.push(`${aa}: needs a valid repo (owner/name) or an https url`);+ if ((a.description || "").length > 160) errors.push(`${aa}: description over 160 chars`);+ if (/[<>\n]/.test(a.description || "")) errors.push(`${aa}: description must be plain single-line text`);+ const key = (a.repo || a.url || "").toLowerCase();+ if (repos.has(key)) errors.push(`${aa}: listed twice under the same tool`);+ repos.add(key);+ }+}+if (errors.length) {+ console.error(errors.map((e) => `- ${e}`).join("\n"));+ process.exit(1);+}+console.log(`data.json OK: ${data.length} tools`);diff --git a/server/.env.example b/server/.env.exampledeleted file mode 100644index a0cac72..0000000--- a/server/.env.example+++ /dev/null@@ -1,10 +0,0 @@-PORT=8000-HOST=0.0.0.0-CORS_ORIGINS=http://localhost:3000,http://127.0.0.1:3000--# Supabase PostgreSQL Configuration-DATABASE_URL=postgresql://postgres.xxx:[email protected]:6543/postgres-DIRECT_URL=postgresql://postgres.xxx:[email protected]:6543/postgres--DEFAULT_MODEL=mimo-v2-6-flash-abliterated-MUAPI_API_KEY=your_muapi_api_key_herediff --git a/server/.gitignore b/server/.gitignoredeleted file mode 100644index 4453a03..0000000--- a/server/.gitignore+++ /dev/null@@ -1,6 +0,0 @@-.env-.env.local-.env.*.local-__pycache__/-*.pyc-.pytest_cache/diff --git a/server/app/__init__.py b/server/app/__init__.pydeleted file mode 100644index 3d75190..0000000--- a/server/app/__init__.py+++ /dev/null@@ -1,2 +0,0 @@-"""OpenSpaces FastAPI Backend Package."""-__version__ = "0.1.0"diff --git a/server/app/api/routers/agents.py b/server/app/api/routers/agents.pydeleted file mode 100644index 8742492..0000000--- a/server/app/api/routers/agents.py+++ /dev/null@@ -1,86 +0,0 @@-import asyncio-from typing import List-from fastapi import APIRouter, HTTPException, Depends, BackgroundTasks-from app.models.schemas import AgentDot, AgentRunRequest, MessageCreate-from app.services.space_store import store-from app.core.auth import require_space_access--router = APIRouter(prefix="/spaces/{space_id}/agents", tags=["Dots (AI Agents)"])-[email protected]("", response_model=List[AgentDot])-def list_agents(- space_id: str,- _role: str = Depends(require_space_access(["viewer", "commenter", "editor", "owner"]))-):- space = store.get_space(space_id)- if not space:- raise HTTPException(status_code=404, detail="Space not found")- return space.agents--async def _simulate_agent_execution(space_id: str, agent_name: str, prompt: str, target_page_id: str = None):- """Simulates background agent autonomous execution."""- await asyncio.sleep(2)-- # If target page provided, append or update content- if target_page_id:- page = store.get_page(space_id, target_page_id)- if page:- addition = f"\n\n### 🤖 Agent Contribution ({agent_name})\n> **Instruction**: {prompt}\n\n*Analysis completed with real-time workspace context. Proposed updates integrated.*"- page.content += addition- page.version += 1-- # Post a message back to space- store.add_message(- space_id,- MessageCreate(- content=f"Completed task: '{prompt}' on {f'page {target_page_id}' if target_page_id else 'the space'}.",- sender_type="agent",- sender_name=agent_name,- sender_avatar="⚡",- referenced_page_id=target_page_id,- )- )-[email protected]("/run")-async def run_agent_task(- space_id: str,- payload: AgentRunRequest,- background_tasks: BackgroundTasks,- _role: str = Depends(require_space_access(["editor", "owner"]))-):- space = store.get_space(space_id)- if not space:- raise HTTPException(status_code=404, detail="Space not found")-- agent = None- if payload.agent_id:- agent = next((a for a in space.agents if a.id == payload.agent_id), None)- if not agent:- agent = space.agents[0] if space.agents else AgentDot(id="dot-default", name="Assistant Dot")-- # Post initial acknowledgment message- store.add_message(- space_id,- MessageCreate(- content=f"🤖 **{agent.name}** accepted task: '{payload.prompt}'",- sender_type="agent",- sender_name=agent.name,- sender_avatar="⚡",- referenced_page_id=payload.target_page_id,- )- )-- background_tasks.add_task(- _simulate_agent_execution,- space_id,- agent.name,- payload.prompt,- payload.target_page_id- )-- return {- "status": "started",- "agent": agent.name,- "task": payload.prompt,- "target_page_id": payload.target_page_id- }diff --git a/server/app/api/routers/auth.py b/server/app/api/routers/auth.pydeleted file mode 100644index d4ff055..0000000--- a/server/app/api/routers/auth.py+++ /dev/null@@ -1,181 +0,0 @@-import uuid-import hashlib-import secrets-from datetime import datetime-from typing import Optional, List-from fastapi import APIRouter, Depends, HTTPException, status-from pydantic import BaseModel, EmailStr-from sqlalchemy.orm import Session--from app.db.session import get_db-from app.db.models import UserDB, OpenSpaceDB, SpaceMemberDB, OpenPageDB-from app.core.auth import get_current_user--router = APIRouter(prefix="/auth", tags=["Authentication"])--def hash_password(password: str) -> str:- salt = secrets.token_hex(16)- key = hashlib.pbkdf2_hmac("sha256", password.encode("utf-8"), salt.encode("utf-8"), 100000)- return f"{salt}:{key.hex()}"--def verify_password(password: str, hashed: Optional[str]) -> bool:- if not hashed:- return False- try:- salt, key_hex = hashed.split(":", 1)- key = hashlib.pbkdf2_hmac("sha256", password.encode("utf-8"), salt.encode("utf-8"), 100000)- return secrets.compare_digest(key.hex(), key_hex)- except Exception:- return False--class SignUpRequest(BaseModel):- name: str- email: str- password: str--class LoginRequest(BaseModel):- email: str- password: str--class UserProfile(BaseModel):- id: str- name: str- email: str- avatar: Optional[str] = None--class AuthResponse(BaseModel):- token: str- user: UserProfile-[email protected]("/signup", response_model=AuthResponse)-def signup(payload: SignUpRequest, db: Session = Depends(get_db)):- email = payload.email.strip().lower()- name = payload.name.strip()- password = payload.password.strip()-- if not email or "@" not in email:- raise HTTPException(status_code=400, detail="A valid email address is required")- if not name:- raise HTTPException(status_code=400, detail="Name is required")- if len(password) < 6:- raise HTTPException(status_code=400, detail="Password must be at least 6 characters")-- existing = db.query(UserDB).filter(UserDB.email == email).first()- if existing:- raise HTTPException(status_code=409, detail="An account with this email already exists")-- user_id = f"usr-{uuid.uuid4().hex[:8]}"- hashed = hash_password(password)-- # Generate initials-based avatar- avatar_color = secrets.choice(["6366f1", "8b5cf6", "ec4899", "10b981", "3b82f6", "f59e0b"])- avatar = f"https://api.dicebear.com/7.x/initials/svg?seed={name}&backgroundColor={avatar_color}"-- new_user = UserDB(- id=user_id,- name=name,- email=email,- password_hash=hashed,- avatar=avatar,- created_at=datetime.utcnow(),- )- db.add(new_user)- db.flush()-- # Create a personal default workspace for the new user- space_id = f"space-{uuid.uuid4().hex[:8]}"- default_space = OpenSpaceDB(- id=space_id,- name=f"{name}'s Space",- description="Your personal collaborative AI workspace.",- icon="🚀",- color="indigo",- pinned=True,- owner_id=user_id,- members=[{"id": user_id, "name": name, "role": "owner"}],- created_at=datetime.utcnow(),- updated_at=datetime.utcnow(),- )- db.add(default_space)- db.flush()-- # Add space membership- membership = SpaceMemberDB(- id=f"mem-{uuid.uuid4().hex[:8]}",- space_id=space_id,- user_id=user_id,- role="owner",- created_at=datetime.utcnow(),- updated_at=datetime.utcnow(),- )- db.add(membership)-- # Create a Welcome Page- welcome_page = OpenPageDB(- id=f"page-{uuid.uuid4().hex[:8]}",- space_id=space_id,- title="Getting Started with OpenSpaces",- content="""# Welcome to OpenSpaces! 🌌--This is your living collaborative document canvas.--### Quick Tips:-- Press **`/`** anywhere in this editor to invoke slash commands, create tables, or generate text and images.-- Use **Discussion** in the top bar to collaborate with team members and AI assistants.-- Invite teammates via the **Space Members** button in your Space Library.-""",- icon="✨",- status="published",- author=name,- version=1,- created_at=datetime.utcnow(),- updated_at=datetime.utcnow(),- )- db.add(welcome_page)-- db.commit()- db.refresh(new_user)-- return AuthResponse(- token=new_user.id,- user=UserProfile(- id=new_user.id,- name=new_user.name,- email=new_user.email,- avatar=new_user.avatar- )- )-[email protected]("/login", response_model=AuthResponse)-def login(payload: LoginRequest, db: Session = Depends(get_db)):- email = payload.email.strip().lower()- password = payload.password.strip()-- if not email:- raise HTTPException(status_code=400, detail="Email is required")-- user = db.query(UserDB).filter(UserDB.email == email).first()- if not user:- raise HTTPException(status_code=401, detail="Invalid email or password")-- if not verify_password(password, user.password_hash):- raise HTTPException(status_code=401, detail="Invalid email or password")-- return AuthResponse(- token=user.id,- user=UserProfile(- id=user.id,- name=user.name,- email=user.email,- avatar=user.avatar- )- )-[email protected]("/me", response_model=UserProfile)-def get_me(user: UserDB = Depends(get_current_user)):- return UserProfile(- id=user.id,- name=user.name,- email=user.email,- avatar=user.avatar- )diff --git a/server/app/api/routers/chat.py b/server/app/api/routers/chat.pydeleted file mode 100644index 999f5ef..0000000--- a/server/app/api/routers/chat.py+++ /dev/null@@ -1,539 +0,0 @@-import os-import json-import re-import httpx-from typing import Optional, List, Dict, Any-from fastapi import APIRouter, HTTPException-from pydantic import BaseModel--from app.core.config import settings--router = APIRouter(prefix="/chat", tags=["Open Spaces AI Chat"])--class ChatRequest(BaseModel):- prompt: str- model: str = "gpt-6-1-sol"- project: Optional[str] = "General"- system_prompt: Optional[str] = None- history: Optional[List[Dict[str, Any]]] = []- image_url: Optional[str] = None--class ChatResponse(BaseModel):- reply: str- model: str- project: Optional[str] = None--# Comprehensive catalog of all models supporting prompt, system_prompt, and image_url-# Across the 6 requested families:-# 1. Abliterated / Low-Refusal / Uncensored LLMs-# 2. OpenAI GPT Family-# 3. Anthropic Claude Family-# 4. Google Gemini Family-# 5. xAI Grok Family-# 6. Moonshot Kimi & DeepSeek Family-SUPPORTED_MODELS: Dict[str, Dict[str, str]] = {- # --- 1. Abliterated / Low-Refusal / Uncensored LLMs ---- "mimo-v2-6-flash-abliterated": {- "name": "MiMo V2.6 Flash Abliterated",- "family": "Abliterated / Uncensored",- "tag": "Vision & Fast",- "icon": "🔓",- },- "abliterated-model": {- "name": "Abliterated Model Base",- "family": "Abliterated / Uncensored",- "tag": "Vision & Uncensored",- "icon": "🔓",- },- "qwen-3-8-27b-obliterated": {- "name": "Qwen 3.8 27B Obliterated",- "family": "Abliterated / Uncensored",- "tag": "Vision & Reasoning",- "icon": "🔥",- },- "qwen-3-8-27b-abliterated": {- "name": "Qwen 3.8 27B Abliterated",- "family": "Abliterated / Uncensored",- "tag": "Vision & Low Refusal",- "icon": "🔥",- },- "qwen-3-5-27b-queen-derestricted": {- "name": "Qwen 3.5 27B Queen Derestricted",- "family": "Abliterated / Uncensored",- "tag": "Vision & 262k ctx",- "icon": "👑",- },- "qwen-3-5-27b-blossom-derestricted": {- "name": "Qwen 3.5 27B Blossom Derestricted",- "family": "Abliterated / Uncensored",- "tag": "Vision & 262k ctx",- "icon": "🌸",- },- "qwen-3-5-27b-opus-distilled-derestricted": {- "name": "Qwen 3.5 27B Opus-Distilled Derestricted",- "family": "Abliterated / Uncensored",- "tag": "Vision & 262k ctx",- "icon": "⚡",- },- "glm-5-3-flash-abliterated": {- "name": "GLM 5.3 Flash Abliterated",- "family": "Abliterated / Uncensored",- "tag": "Vision & Fast",- "icon": "⚡",- },- "gemma-4-31b-gembrain-abliterated": {- "name": "Gemma 4 31B Gembrain Abliterated",- "family": "Abliterated / Uncensored",- "tag": "Vision & Creative",- "icon": "💎",- },- "gemma-4-31b-sdft-abliterated": {- "name": "Gemma 4 31B SDFT Abliterated",- "family": "Abliterated / Uncensored",- "tag": "Vision & 262k ctx",- "icon": "💎",- },- "qwen-3-8-27b-queen": {- "name": "Qwen 3.8 27B Queen",- "family": "Abliterated / Uncensored",- "tag": "Vision & 524k ctx",- "icon": "👑",- },- "qwen-3-8-27b-fable": {- "name": "Qwen 3.8 27B Fable",- "family": "Abliterated / Uncensored",- "tag": "Vision & Storytelling",- "icon": "📖",- },-- # --- 2. OpenAI GPT Family ---- "gpt-5-nano": {- "name": "GPT-5 Nano",- "family": "OpenAI GPT",- "tag": "High-Speed Vision",- "icon": "⚡",- },- "gpt-5-2": {- "name": "GPT-5.2",- "family": "OpenAI GPT",- "tag": "General Purpose",- "icon": "✨",- },- "gpt-5-5": {- "name": "GPT-5.5",- "family": "OpenAI GPT",- "tag": "Advanced Reasoning",- "icon": "🧠",- },- "gpt-5-6-luna": {- "name": "GPT-5.6 Luna",- "family": "OpenAI GPT",- "tag": "High-Efficiency",- "icon": "🌙",- },- "gpt-5-6-terra": {- "name": "GPT-5.6 Terra",- "family": "OpenAI GPT",- "tag": "Balanced",- "icon": "🌍",- },- "gpt-5-6-sol": {- "name": "GPT-5.6 Sol",- "family": "OpenAI GPT",- "tag": "Flagship",- "icon": "☀️",- },- "gpt-6-astra": {- "name": "GPT-6 Astra",- "family": "OpenAI GPT",- "tag": "Frontier Reasoning",- "icon": "🧠",- },- "gpt-6-1-sol": {- "name": "GPT-6.1 Sol Light",- "family": "OpenAI GPT",- "tag": "Fast & Capable",- "icon": "⚡",- },-- # --- 3. Anthropic Claude Family ---- "claude-haiku-4-5": {- "name": "Claude Haiku 4.5",- "family": "Anthropic Claude",- "tag": "Fast Vision",- "icon": "⚡",- },- "claude-sonnet-4-5": {- "name": "Claude Sonnet 4.5",- "family": "Anthropic Claude",- "tag": "Balanced",- "icon": "🎭",- },- "claude-sonnet-4-6": {- "name": "Claude Sonnet 4.6",- "family": "Anthropic Claude",- "tag": "Coding & Vision",- "icon": "💻",- },- "claude-sonnet-5": {- "name": "Claude Sonnet 5",- "family": "Anthropic Claude",- "tag": "Flagship",- "icon": "⭐",- },- "claude-sonnet-5-5": {- "name": "Claude Sonnet 5.5",- "family": "Anthropic Claude",- "tag": "High-Capacity",- "icon": "🌟",- },- "claude-opus-4-5": {- "name": "Claude Opus 4.5",- "family": "Anthropic Claude",- "tag": "Reasoning",- "icon": "🔮",- },- "claude-opus-4-6": {- "name": "Claude Opus 4.6",- "family": "Anthropic Claude",- "tag": "Deep Thinker",- "icon": "🔮",- },- "claude-opus-4-7": {- "name": "Claude Opus 4.7",- "family": "Anthropic Claude",- "tag": "Multi-Modal",- "icon": "🔮",- },- "claude-opus-4-8": {- "name": "Claude Opus 4.8",- "family": "Anthropic Claude",- "tag": "Long Context",- "icon": "🔮",- },- "claude-opus-5": {- "name": "Claude Opus 5",- "family": "Anthropic Claude",- "tag": "Premier",- "icon": "👑",- },- "claude-opus-5-5": {- "name": "Claude Opus 5.5",- "family": "Anthropic Claude",- "tag": "Next-Gen",- "icon": "👑",- },- "claude-fable-5": {- "name": "Claude Fable 5",- "family": "Anthropic Claude",- "tag": "Creative Writing",- "icon": "📖",- },- "claude-fable-5-1": {- "name": "Claude Fable 5.1",- "family": "Anthropic Claude",- "tag": "Long Storytelling",- "icon": "📖",- },-- # --- 4. Google Gemini Family ---- "gemini-2-5-flash": {- "name": "Gemini 2.5 Flash",- "family": "Google Gemini",- "tag": "Ultra-Fast",- "icon": "⚡",- },- "gemini-2-5-pro": {- "name": "Gemini 2.5 Pro",- "family": "Google Gemini",- "tag": "Multimodal Pro",- "icon": "💠",- },- "gemini-3-flash": {- "name": "Gemini 3 Flash",- "family": "Google Gemini",- "tag": "Low-Latency",- "icon": "⚡",- },- "gemini-3-pro": {- "name": "Gemini 3 Pro",- "family": "Google Gemini",- "tag": "Deep Analysis",- "icon": "💠",- },- "gemini-3-1-pro": {- "name": "Gemini 3.1 Pro",- "family": "Google Gemini",- "tag": "MoE Flagship",- "icon": "💠",- },- "gemini-3-5-flash": {- "name": "Gemini 3.5 Flash",- "family": "Google Gemini",- "tag": "High Speed",- "icon": "⚡",- },- "gemini-3-5-flash-openai": {- "name": "Gemini 3.5 Flash (OpenAI fmt)",- "family": "Google Gemini",- "tag": "OpenAI Format",- "icon": "⚡",- },- "gemini-3-6-flash": {- "name": "Gemini 3.6 Flash",- "family": "Google Gemini",- "tag": "Fast Vision",- "icon": "⚡",- },- "gemini-3-6-flash-openai": {- "name": "Gemini 3.6 Flash (OpenAI fmt)",- "family": "Google Gemini",- "tag": "OpenAI Format",- "icon": "⚡",- },- "gemini-3-7-flash": {- "name": "Gemini 3.7 Flash",- "family": "Google Gemini",- "tag": "Hybrid Reasoner",- "icon": "🧠",- },- "gemini-3-7-flash-openai": {- "name": "Gemini 3.7 Flash (OpenAI fmt)",- "family": "Google Gemini",- "tag": "OpenAI Format",- "icon": "🧠",- },- "gemini-3-8-flash": {- "name": "Gemini 3.8 Flash",- "family": "Google Gemini",- "tag": "Advanced Vision",- "icon": "⚡",- },-- # --- 5. xAI Grok Family ---- "grok-4-3": {- "name": "Grok 4.3",- "family": "xAI Grok",- "tag": "Conversational",- "icon": "🚀",- },- "grok-4-5": {- "name": "Grok 4.5",- "family": "xAI Grok",- "tag": "Real-Time Vision",- "icon": "🚀",- },- "grok-4-6": {- "name": "Grok 4.6",- "family": "xAI Grok",- "tag": "Coding & Logic",- "icon": "🚀",- },- "grok-4-7": {- "name": "Grok 4.7",- "family": "xAI Grok",- "tag": "Flagship Multimodal",- "icon": "🚀",- },-- # --- 6. Moonshot Kimi & DeepSeek Family ---- "kimi-k3": {- "name": "Moonshot Kimi K3",- "family": "Moonshot Kimi & DeepSeek",- "tag": "2.8T MoE / 1M ctx",- "icon": "🌙",- },- "deepseek-v4-flash": {- "name": "DeepSeek V4 Flash",- "family": "Moonshot Kimi & DeepSeek",- "tag": "Fast Vision",- "icon": "🐋",- },- "deepseek-v4-1-flash": {- "name": "DeepSeek V4.1 Flash",- "family": "Moonshot Kimi & DeepSeek",- "tag": "Reasoning Vision",- "icon": "🐋",- },- "deepseek-v4-pro": {- "name": "DeepSeek V4 Pro",- "family": "Moonshot Kimi & DeepSeek",- "tag": "Pro Reasoning",- "icon": "🐋",- },-}--def get_muapi_key() -> str:- from dotenv import load_dotenv- load_dotenv(override=True)- return os.getenv("MUAPI_API_KEY") or settings.MUAPI_API_KEY or ""-[email protected]("/models")-def list_models():- """Return all supported LLM models grouped across the 6 families."""- return [- {- "id": slug,- "name": meta["name"],- "family": meta["family"],- "tag": meta["tag"],- "icon": meta["icon"],- }- for slug, meta in SUPPORTED_MODELS.items()- ]-[email protected]("", response_model=ChatResponse)-async def generate_chat(payload: ChatRequest):- prompt = payload.prompt.strip()- if not prompt and not payload.image_url:- raise HTTPException(status_code=400, detail="Prompt or image_url is required")-- # If image_url is not set explicitly, extract any markdown/bracketed image url from prompt- active_image_url = payload.image_url- if not active_image_url:- media_match = re.search(r'\[Attached Media:[^\]]*\((https?://[^\)]+)\)\]', prompt)- if media_match:- active_image_url = media_match.group(1)- else:- img_match = re.search(r'!\[[^\]]*\]\((https?://[^\)]+)\)', prompt)- if img_match:- active_image_url = img_match.group(1)-- # Validate model slug- requested_model = (payload.model or "gpt-6-1-sol").strip().lower()- if requested_model not in SUPPORTED_MODELS:- requested_model = "gpt-6-1-sol"-- model_meta = SUPPORTED_MODELS[requested_model]- model_display = model_meta["name"]- target_model = requested_model-- muapi_key = get_muapi_key()- if not muapi_key:- raise HTTPException(- status_code=500,- detail="MUAPI_API_KEY is not configured in environment"- )-- # Build system instructions- if payload.system_prompt and payload.system_prompt.strip():- system_instruction = payload.system_prompt.strip()- else:- system_instruction = (- f"You are {model_display} in Open Spaces. "- f"Active project: {payload.project or 'General'}. "- "Help the user plan, write, code, brainstorm, analyze uploaded images/documents, and create living documents. "- "Format your answers with clean markdown headings, bullet points, and actionable steps."- )-- # Append last 10 chat history messages into system_prompt- if payload.history and len(payload.history) > 0:- history_lines = []- for m in (payload.history or [])[-10:]:- role_label = "User" if m.get("role") == "user" else "Assistant"- content = (m.get("content") or "").strip()- if content:- history_lines.append(f"{role_label}: {content}")- if history_lines:- system_instruction += "\n\nChat History (last 10 messages):\n" + "\n".join(history_lines)-- # Prompt parameter receives purely user prompt- user_prompt = prompt or "Please analyze the uploaded image."-- # Native streaming endpoint- endpoint_url = f"https://api.muapi.ai/api/v1/{target_model}/stream"-- # Only pass prompt, system_prompt, and optionally image_url (ignore all other parameters)- request_payload: Dict[str, Any] = {- "prompt": user_prompt,- "system_prompt": system_instruction,- }- if active_image_url:- request_payload["image_url"] = active_image_url-- headers = {- "x-api-key": muapi_key,- "Content-Type": "application/json",- }-- try:- collected_chunks: List[str] = []- timeout_settings = httpx.Timeout(120.0, connect=60.0)-- async with httpx.AsyncClient(timeout=timeout_settings) as client:- async with client.stream("POST", endpoint_url, headers=headers, json=request_payload) as response:- if response.status_code != 200:- raw_err = await response.aread()- err_msg = raw_err.decode("utf-8", errors="ignore")- try:- err_json = json.loads(err_msg)- err_msg = err_json.get("error") or err_json.get("detail") or err_msg- except Exception:- pass- raise HTTPException(- status_code=502,- detail=f"MuAPI provider error: HTTP {response.status_code} - {err_msg}"- )-- async for line in response.aiter_lines():- if not line:- continue- if line.startswith("data:"):- data_str = line[5:].strip()- if not data_str:- continue- if data_str == "[DONE]":- break- try:- event = json.loads(data_str)- if "error" in event:- raise HTTPException(- status_code=502,- detail=f"MuAPI provider error: {event['error']}"- )- choices = event.get("choices")- if choices and len(choices) > 0:- delta = choices[0].get("delta")- if isinstance(delta, dict):- piece = delta.get("content")- if piece:- collected_chunks.append(piece)- elif isinstance(delta, str):- collected_chunks.append(delta)- elif "text" in choices[0]:- collected_chunks.append(choices[0]["text"])- elif "output" in event:- collected_chunks.append(str(event["output"]))- elif "text" in event:- collected_chunks.append(str(event["text"]))- elif "content" in event:- collected_chunks.append(str(event["content"]))- except json.JSONDecodeError:- continue-- final_reply = "".join(collected_chunks).strip()- if not final_reply:- raise HTTPException(- status_code=502,- detail=f"Model {model_display} returned an empty response. Please try again."- )-- return ChatResponse(- reply=final_reply,- model=model_display,- project=payload.project- )-- except HTTPException:- raise- except httpx.TimeoutException:- raise HTTPException(- status_code=504,- detail=f"Request to {model_display} timed out. Deep reasoning models may take longer to respond."- )- except Exception as e:- print(f"Error calling MuAPI endpoint for {target_model}: {e}")- raise HTTPException(- status_code=502,- detail=f"MuAPI chat service error: {str(e)}"- )diff --git a/server/app/api/routers/files.py b/server/app/api/routers/files.pydeleted file mode 100644index 1418193..0000000--- a/server/app/api/routers/files.py+++ /dev/null@@ -1,250 +0,0 @@-import os-import uuid-import httpx-from typing import Optional, List-from fastapi import APIRouter, UploadFile, File, Form, HTTPException, Depends, Header, status-from sqlalchemy.orm import Session--from app.core.config import settings-from app.core.auth import get_current_user, require_space_access-from app.db.session import get_db-from app.db.models import UserDB, OpenSpaceDB, OpenSpaceFileDB, OpenActivityDB-from app.models.schemas import FileUploadResponse, SpaceFileItem--router = APIRouter(tags=["Files & Media Uploads"])--MUAPI_UPLOAD_URL = "https://api.muapi.ai/api/v1/upload_file"--def get_uploader_identity(- x_user_id: Optional[str] = Header(None, alias="X-User-Id"),- authorization: Optional[str] = Header(None),- x_api_key: Optional[str] = Header(None, alias="x-api-key"),- db: Session = Depends(get_db)-) -> Optional[UserDB]:- """- Flexible identity resolver:- 1. If X-User-Id or Authorization provided, resolves verified UserDB.- 2. If x-api-key header provided matching configured MUAPI key, grants service access.- 3. Defaults to None if called anonymously.- """- if x_user_id or (authorization and authorization.startswith("Bearer ")):- try:- return get_current_user(x_user_id=x_user_id, authorization=authorization, db=db)- except HTTPException:- pass-- key_candidate = x_api_key or (authorization[7:].strip() if authorization and authorization.startswith("Bearer ") else None)- if key_candidate and settings.MUAPI_API_KEY and key_candidate == settings.MUAPI_API_KEY:- # Verified via API key directly- return db.query(UserDB).first()-- return None--async def _forward_upload_to_muapi(- file: UploadFile,- space_id: Optional[str] = None,- current_user: Optional[UserDB] = None,- db: Optional[Session] = None-) -> dict:- """- Validates file payload size and forwards multipart upload directly to MuAPI upload_file endpoint.- """- # 1. Read file contents- contents = await file.read()- file_size = len(contents)-- if file_size == 0:- raise HTTPException(- status_code=status.HTTP_400_BAD_REQUEST,- detail="Uploaded file is empty"- )-- # 2. Check size limits per MuAPI documentation:- # - Images: 10MB- # - Videos: 50MB- # - Others: 10MB- content_type = file.content_type or "application/octet-stream"- is_video = content_type.startswith("video/")- max_bytes = 50 * 1024 * 1024 if is_video else 10 * 1024 * 1024-- if file_size > max_bytes:- limit_desc = "50MB" if is_video else "10MB"- raise HTTPException(- status_code=status.HTTP_413_REQUEST_ENTITY_TOO_LARGE,- detail=f"File size exceeds the {limit_desc} limit ({file_size / (1024 * 1024):.2f}MB)"- )-- # 3. Retrieve MuAPI Key strictly from environment configuration- from dotenv import load_dotenv- load_dotenv(override=True)- muapi_key = os.getenv("MUAPI_API_KEY") or settings.MUAPI_API_KEY- if not muapi_key:- raise HTTPException(- status_code=status.HTTP_500_INTERNAL_SERVER_ERROR,- detail="MUAPI_API_KEY is not configured in environment"- )-- # 4. Stream multipart form data to MuAPI upload_file- files_payload = {- "file": (file.filename or "upload.bin", contents, content_type)- }- req_headers = {- "x-api-key": muapi_key,- "Authorization": f"Bearer {muapi_key}",- }-- try:- async with httpx.AsyncClient(timeout=120.0) as client:- resp = await client.post(MUAPI_UPLOAD_URL, headers=req_headers, files=files_payload)- except Exception as e:- raise HTTPException(- status_code=status.HTTP_502_BAD_GATEWAY,- detail=f"Failed to connect to MuAPI upload service: {str(e)}"- )-- if resp.status_code not in (200, 201):- err_msg = resp.text- try:- err_json = resp.json()- err_msg = err_json.get("error", {}).get("message") or err_json.get("detail") or resp.text- except Exception:- pass- raise HTTPException(- status_code=resp.status_code if resp.status_code < 500 else status.HTTP_502_BAD_GATEWAY,- detail=f"MuAPI upload failed (HTTP {resp.status_code}): {err_msg}"- )-- data = resp.json()- hosted_url = data.get("url") or data.get("file_url") or (data.get("data") or {}).get("url")- if not hosted_url:- raise HTTPException(- status_code=status.HTTP_502_BAD_GATEWAY,- detail=f"MuAPI upload response missing 'url' key: {data}"- )-- # 5. If space_id provided and db available, persist file record and log audit activity- if space_id and db:- space = db.query(OpenSpaceDB).filter(OpenSpaceDB.id == space_id).first()- if space:- file_id = f"file-{uuid.uuid4().hex[:8]}"- file_record = OpenSpaceFileDB(- id=file_id,- space_id=space_id,- name=file.filename or "uploaded_file",- url=hosted_url,- size=file_size,- content_type=content_type,- uploader_id=current_user.id if current_user else None,- )- db.add(file_record)-- activity = OpenActivityDB(- id=f"act-{uuid.uuid4().hex[:8]}",- space_id=space_id,- user_id=current_user.id if current_user else "usr-1",- user_name=current_user.name if current_user else "You",- action_type="file_uploaded",- summary=f"Uploaded file '{file.filename}' ({content_type})",- )- db.add(activity)- db.commit()-- return {- "url": hosted_url,- "filename": file.filename or "upload.bin",- "size": file_size,- "content_type": content_type,- }---# --------------------------------------------------------------# 1. Direct File Upload (POST /upload_file & POST /upload)-# -------------------------------------------------------------[email protected]("/upload_file", response_model=FileUploadResponse, status_code=status.HTTP_201_CREATED)-async def upload_file_direct(- file: UploadFile = File(...),- space_id: Optional[str] = Form(None),- current_user: Optional[UserDB] = Depends(get_uploader_identity),- db: Session = Depends(get_db)-):- """- Direct file upload endpoint conforming to MuAPI documentation:- POST /upload_file- Accepts multipart/form-data with 'file'.- Returns { "url": "https://..." }- """- return await _forward_upload_to_muapi(file=file, space_id=space_id, current_user=current_user, db=db)--[email protected]("/upload", response_model=FileUploadResponse, status_code=status.HTTP_201_CREATED)-async def upload_file_alias(- file: UploadFile = File(...),- space_id: Optional[str] = Form(None),- current_user: Optional[UserDB] = Depends(get_uploader_identity),- db: Session = Depends(get_db)-):- """- RESTful alias: POST /api/upload- """- return await _forward_upload_to_muapi(file=file, space_id=space_id, current_user=current_user, db=db)---# --------------------------------------------------------------# 2. Space-Scoped File Endpoints-# -------------------------------------------------------------- "/spaces/{space_id}/files/upload",- response_model=FileUploadResponse,- status_code=status.HTTP_201_CREATED-)-async def upload_space_file(- space_id: str,- file: UploadFile = File(...),- _role: str = Depends(require_space_access(["editor", "owner"])),- current_user: UserDB = Depends(get_current_user),- db: Session = Depends(get_db)-):- """- Upload a media asset or attachment directly into a Space with role validation.- """- return await _forward_upload_to_muapi(file=file, space_id=space_id, current_user=current_user, db=db)--- "/spaces/{space_id}/files",- response_model=List[SpaceFileItem]-)-def list_space_files(- space_id: str,- _role: str = Depends(require_space_access(["viewer", "commenter", "editor", "owner"])),- db: Session = Depends(get_db)-):- """- List all uploaded files attached to a Space.- """- files = db.query(OpenSpaceFileDB).filter(OpenSpaceFileDB.space_id == space_id).order_by(OpenSpaceFileDB.created_at.desc()).all()- return files--- "/spaces/{space_id}/files/{file_id}",- status_code=status.HTTP_204_NO_CONTENT-)-def delete_space_file(- space_id: str,- file_id: str,- _role: str = Depends(require_space_access(["editor", "owner"])),- db: Session = Depends(get_db)-):- """- Remove an uploaded file record from a Space.- """- file_record = db.query(OpenSpaceFileDB).filter(- OpenSpaceFileDB.id == file_id,- OpenSpaceFileDB.space_id == space_id- ).first()- if not file_record:- raise HTTPException(status_code=404, detail="File record not found")- db.delete(file_record)- db.commit()- return Nonediff --git a/server/app/api/routers/images.py b/server/app/api/routers/images.pydeleted file mode 100644index 9cc163f..0000000--- a/server/app/api/routers/images.py+++ /dev/null@@ -1,182 +0,0 @@-import os-import urllib.parse-import httpx-from typing import Optional-from fastapi import APIRouter, HTTPException-from pydantic import BaseModel-from app.core.config import settings--router = APIRouter(prefix="/images", tags=["Image Generation (GPT-Image-2)"])--MUAPI_KEY = settings.MUAPI_API_KEY or os.getenv("MUAPI_API_KEY", "")--class ImageGenerateRequest(BaseModel):- prompt: str- aspect_ratio: Optional[str] = "1:1"- resolution: Optional[str] = "2K"- model: Optional[str] = "gpt-image-2-text-to-image"--class ImageGenerateResponse(BaseModel):- image_url: str- model: str- prompt: str--class SuggestPromptRequest(BaseModel):- context: str- title: Optional[str] = None--class SuggestPromptResponse(BaseModel):- suggested_prompt: str-[email protected]("/generate", response_model=ImageGenerateResponse)-async def generate_image(payload: ImageGenerateRequest):- prompt = payload.prompt.strip()- if not prompt:- raise HTTPException(status_code=400, detail="Prompt is required")-- aspect_ratio = payload.aspect_ratio or "1:1"- width, height = 1024, 1024- if aspect_ratio == "16:9":- width, height = 1280, 720- elif aspect_ratio == "9:16":- width, height = 720, 1280- elif aspect_ratio == "4:3":- width, height = 1024, 768-- # 1. Generation via MuAPI (gpt-image-2-text-to-image)- submit_url = "https://api.muapi.ai/api/v1/gpt-image-2-text-to-image"- headers = {- "x-api-key": MUAPI_KEY,- "Authorization": f"Bearer {MUAPI_KEY}",- "Content-Type": "application/json"- }- muapi_payload = {- "prompt": prompt,- "aspect_ratio": aspect_ratio,- "resolution": payload.resolution or "2K"- }-- try:- async with httpx.AsyncClient(timeout=None) as client:- res = await client.post(submit_url, headers=headers, json=muapi_payload)- if res.status_code not in [200, 201]:- raise HTTPException(- status_code=res.status_code,- detail=f"MuAPI submission failed: {res.text}"- )-- res_data = res.json()- # If synchronous output directly available- if res_data.get("outputs") or res_data.get("output") or res_data.get("url"):- out = res_data.get("outputs") or res_data.get("output") or res_data.get("url")- out_url = out[0] if isinstance(out, list) else out- return ImageGenerateResponse(- image_url=str(out_url),- model="gpt-image-2-text-to-image",- prompt=prompt- )-- req_id = res_data.get("request_id") or res_data.get("id")- if not req_id:- raise HTTPException(status_code=502, detail="No request_id returned by MuAPI")-- # Poll MuAPI predictions endpoint until completed or failed (no timeout cutoff)- import asyncio- poll_url = f"https://api.muapi.ai/api/v1/predictions/{req_id}/result"- poll_headers = {- "x-api-key": MUAPI_KEY,- "Authorization": f"Bearer {MUAPI_KEY}"- }-- while True:- await asyncio.sleep(2)- try:- p_res = await client.get(poll_url, headers=poll_headers)- except Exception as net_err:- print(f"Transient polling error, retrying: {net_err}")- continue-- if p_res.status_code == 200:- p_data = p_res.json()- status = p_data.get("status") or p_data.get("state")-- if status in ["completed", "succeeded"]:- outputs = p_data.get("outputs") or p_data.get("output") or []- out_url = outputs[0] if isinstance(outputs, list) and outputs else outputs- if out_url and isinstance(out_url, str):- return ImageGenerateResponse(- image_url=out_url,- model="gpt-image-2-text-to-image",- prompt=prompt- )- raise HTTPException(status_code=502, detail="Completed status received but no image output found.")-- elif status in ["failed", "error", "canceled"]:- err_msg = p_data.get("error") or f"MuAPI generation failed with status: {status}"- raise HTTPException(status_code=502, detail=str(err_msg))-- except HTTPException:- raise- except Exception as e:- print(f"MuAPI generation error: {e}")- raise HTTPException(status_code=500, detail=f"Image generation failed: {str(e)}")-[email protected]("/suggest-prompt", response_model=SuggestPromptResponse)-async def suggest_image_prompt(payload: SuggestPromptRequest):- context = payload.context.strip()- if not context:- return SuggestPromptResponse(suggested_prompt="Modern abstract tech visualization with glowing nodes and clean geometric composition")-- try:- url = "https://api.muapi.ai/v1/chat/completions"- system_instruction = (- "You are a specialized prompt designer for the GPT-Image-2 text-to-image model in Open Spaces. "- "Analyze the provided document context and formulate ONE single, vivid, professional image generation prompt "- "(maximum 25 words). The prompt must describe an aesthetic, high-concept illustration, diagram, or architectural visual "- "that visually elevates this content. "- "CRITICAL: Output ONLY the prompt text, no quotes, no conversational intro."- )-- messages = [- {"role": "system", "content": system_instruction},- {"role": "user", "content": f"Document Title: {payload.title or 'Living Document'}\nContext:\n{context[:1200]}"}- ]-- async with httpx.AsyncClient(timeout=30) as client:- resp = await client.post(- url,- headers={- "Authorization": f"Bearer {MUAPI_KEY}",- "x-api-key": MUAPI_KEY,- "Content-Type": "application/json"- },- json={- "model": "mimo-v2-6-flash-abliterated",- "messages": messages,- "temperature": 0.7- }- )- if resp.status_code == 200:- data = resp.json()- text = data["choices"][0]["message"]["content"].strip()- cleaned = text.strip('"\'`').replace("\n", " ")- return SuggestPromptResponse(suggested_prompt=cleaned)- else:- err_detail = resp.text- try:- err_json = resp.json()- err_detail = err_json.get("error", {}).get("message") or err_json.get("detail") or resp.text- except Exception:- pass- raise HTTPException(- status_code=502,- detail=f"MuAPI upstream provider error: HTTP {resp.status_code} - {err_detail}"- )- except HTTPException:- raise- except Exception as e:- print(f"Error suggesting image prompt: {e}")- raise HTTPException(- status_code=502,- detail=f"Failed to generate suggested prompt: {str(e)}"- )diff --git a/server/app/api/routers/meetings.py b/server/app/api/routers/meetings.pydeleted file mode 100644index e2fbe53..0000000--- a/server/app/api/routers/meetings.py+++ /dev/null@@ -1,28 +0,0 @@-from typing import List-from fastapi import APIRouter, HTTPException, Depends, status-from app.models.schemas import MeetingNote, MeetingNoteCreate-from app.services.space_store import store-from app.core.auth import require_space_access--router = APIRouter(prefix="/spaces/{space_id}/meetings", tags=["Meeting Audio & Notes"])-[email protected]("", response_model=List[MeetingNote])-def get_meetings(- space_id: str,- _role: str = Depends(require_space_access(["viewer", "commenter", "editor", "owner"]))-):- space = store.get_space(space_id)- if not space:- raise HTTPException(status_code=404, detail="Space not found")- return store.get_meetings(space_id)-[email protected]("", response_model=MeetingNote, status_code=status.HTTP_201_CREATED)-def create_meeting(- space_id: str,- payload: MeetingNoteCreate,- _role: str = Depends(require_space_access(["editor", "owner"]))-):- note = store.create_meeting(space_id, payload)- if not note:- raise HTTPException(status_code=404, detail="Space not found")- return notediff --git a/server/app/api/routers/pages.py b/server/app/api/routers/pages.pydeleted file mode 100644index ac13867..0000000--- a/server/app/api/routers/pages.py+++ /dev/null@@ -1,147 +0,0 @@-from typing import List-from fastapi import APIRouter, HTTPException, Depends, status-from app.models.schemas import Page, PageCreate, PageUpdate, PageRevision, Comment, CommentCreate, CommentUpdate-from app.services.space_store import store, PageConflictError-from app.core.auth import require_space_access, get_current_user--router = APIRouter(prefix="/spaces/{space_id}/pages", tags=["Pages (Living Documents)"])-[email protected]("", response_model=List[Page])-def list_pages(- space_id: str,- _role: str = Depends(require_space_access(["viewer", "commenter", "editor", "owner"]))-):- return store.get_pages(space_id)-[email protected]("", response_model=Page, status_code=status.HTTP_201_CREATED)-def create_page(- space_id: str,- payload: PageCreate,- user = Depends(get_current_user),- _role: str = Depends(require_space_access(["editor", "owner"]))-):- try:- page = store.create_page(space_id, payload, author=user.name)- except ValueError as e:- raise HTTPException(status_code=status.HTTP_400_BAD_REQUEST, detail=str(e))- if not page:- raise HTTPException(status_code=404, detail="Space not found")- return page-[email protected]("/{page_id}", response_model=Page)-def get_page(- space_id: str,- page_id: str,- _role: str = Depends(require_space_access(["viewer", "commenter", "editor", "owner"]))-):- page = store.get_page(space_id, page_id)- if not page:- raise HTTPException(status_code=404, detail="Page not found")- return page-[email protected]("/{page_id}", response_model=Page)-def update_page(- space_id: str,- page_id: str,- payload: PageUpdate,- user = Depends(get_current_user),- _role: str = Depends(require_space_access(["editor", "owner"]))-):- try:- page = store.update_page(space_id, page_id, payload, author=user.name)- except PageConflictError as e:- raise HTTPException(- status_code=status.HTTP_409_CONFLICT,- detail={- "message": "Edit conflict: this page was modified elsewhere.",- "current_version": e.current_version,- "current_page": e.page.model_dump(mode="json"),- }- )- except ValueError as e:- raise HTTPException(status_code=status.HTTP_400_BAD_REQUEST, detail=str(e))-- if not page:- raise HTTPException(status_code=404, detail="Page not found")- return page-[email protected]("/{page_id}/revisions", response_model=List[PageRevision])-def get_page_revisions(- space_id: str,- page_id: str,- _role: str = Depends(require_space_access(["viewer", "commenter", "editor", "owner"]))-):- return store.get_page_revisions(space_id, page_id)-[email protected]("/{page_id}/revisions/{version}/restore", response_model=Page)-def restore_page_revision(- space_id: str,- page_id: str,- version: int,- user = Depends(get_current_user),- _role: str = Depends(require_space_access(["editor", "owner"]))-):- page = store.restore_page_revision(space_id, page_id, version, author=user.name)- if not page:- raise HTTPException(status_code=404, detail="Page or target revision not found")- return page-[email protected]("/{page_id}", status_code=status.HTTP_204_NO_CONTENT)-def delete_page(- space_id: str,- page_id: str,- _role: str = Depends(require_space_access(["editor", "owner"]))-):- success = store.delete_page(space_id, page_id)- if not success:- raise HTTPException(status_code=404, detail="Page not found")- return None--# --- Comments on Page ---[email protected]("/{page_id}/comments", response_model=List[Comment])-def get_page_comments(- space_id: str,- page_id: str,- _role: str = Depends(require_space_access(["viewer", "commenter", "editor", "owner"]))-):- return store.get_page_comments(space_id, page_id)-[email protected]("/{page_id}/comments", response_model=Comment, status_code=status.HTTP_201_CREATED)-def add_page_comment(- space_id: str,- page_id: str,- payload: CommentCreate,- user = Depends(get_current_user),- _role: str = Depends(require_space_access(["commenter", "editor", "owner"]))-):- comment = store.add_comment(space_id, page_id, user, payload)- if not comment:- raise HTTPException(status_code=404, detail="Page not found")- return comment-[email protected]("/{page_id}/comments/{comment_id}", response_model=Comment)-def update_page_comment(- space_id: str,- page_id: str,- comment_id: str,- payload: CommentUpdate,- user = Depends(get_current_user),- _role: str = Depends(require_space_access(["commenter", "editor", "owner"]))-):- comment = store.update_comment(space_id, page_id, comment_id, payload, user_id=user.id)- if not comment:- raise HTTPException(status_code=404, detail="Comment not found")- return comment-[email protected]("/{page_id}/comments/{comment_id}", status_code=status.HTTP_204_NO_CONTENT)-def delete_page_comment(- space_id: str,- page_id: str,- comment_id: str,- user = Depends(get_current_user),- _role: str = Depends(require_space_access(["commenter", "editor", "owner"]))-):- success = store.delete_comment(space_id, page_id, comment_id, user_id=user.id)- if not success:- raise HTTPException(status_code=404, detail="Comment not found")- return Nonediff --git a/server/app/api/routers/spaces.py b/server/app/api/routers/spaces.pydeleted file mode 100644index 38fa75a..0000000--- a/server/app/api/routers/spaces.py+++ /dev/null@@ -1,104 +0,0 @@-from typing import List, Optional-from fastapi import APIRouter, HTTPException, Depends, status, Query-from app.models.schemas import (- Space, SpaceCreate, SpaceUpdate, Message, MessageCreate,- SpaceMemberDetail, SpaceMemberAdd, ActivityItem, ScopedSearchResult-)-from app.services.space_store import store-from app.core.auth import get_current_user, get_optional_current_user, require_space_access-from app.db.models import UserDB--router = APIRouter(prefix="/spaces", tags=["Spaces"])-[email protected]("/search", response_model=ScopedSearchResult)-def search_scoped(- q: str = Query(..., min_length=1),- current_user: UserDB = Depends(get_current_user)-):- return store.search_scoped(user_id=current_user.id, query=q)-[email protected]("", response_model=List[Space])-def get_spaces(current_user: Optional[UserDB] = Depends(get_optional_current_user)):- return store.get_all_spaces(user_id=current_user.id if current_user else None)-[email protected]("", response_model=Space, status_code=status.HTTP_201_CREATED)-def create_space(payload: SpaceCreate, current_user: UserDB = Depends(get_current_user)):- return store.create_space(payload, owner_id=current_user.id, owner_name=current_user.name)-[email protected]("/{space_id}", response_model=Space)-def get_space(space_id: str, _role: str = Depends(require_space_access(["viewer", "commenter", "editor", "owner"]))):- space = store.get_space(space_id)- if not space:- raise HTTPException(status_code=404, detail="Space not found")- return space-[email protected]("/{space_id}", response_model=Space)-def update_space(space_id: str, payload: SpaceUpdate, _role: str = Depends(require_space_access(["editor", "owner"]))):- space = store.update_space(space_id, payload)- if not space:- raise HTTPException(status_code=404, detail="Space not found")- return space-[email protected]("/{space_id}", status_code=status.HTTP_204_NO_CONTENT)-def delete_space(space_id: str, _role: str = Depends(require_space_access(["owner"]))):- success = store.delete_space(space_id)- if not success:- raise HTTPException(status_code=404, detail="Space not found")- return None--# --- Members in Space ---[email protected]("/{space_id}/members", response_model=List[SpaceMemberDetail])-def list_space_members(space_id: str, _role: str = Depends(require_space_access(["viewer", "commenter", "editor", "owner"]))):- return store.get_space_members(space_id)-[email protected]("/{space_id}/members", response_model=SpaceMemberDetail, status_code=status.HTTP_201_CREATED)-def add_space_member(- space_id: str,- payload: SpaceMemberAdd,- _role: str = Depends(require_space_access(["editor", "owner"]))-):- member = store.add_space_member(- space_id,- user_id=payload.user_id,- email=payload.email,- role=payload.role- )- if not member:- raise HTTPException(status_code=400, detail="Could not add member: user ID or valid email required")- return member-[email protected]("/{space_id}/members/{user_id}", status_code=status.HTTP_204_NO_CONTENT)-def remove_space_member(- space_id: str,- user_id: str,- _role: str = Depends(require_space_access(["owner"]))-):- success = store.remove_space_member(space_id, user_id)- if not success:- raise HTTPException(status_code=400, detail="Cannot remove space owner or member not found")- return None--# --- Space Activity Log ---[email protected]("/{space_id}/activity", response_model=List[ActivityItem])-def get_space_activity(- space_id: str,- limit: int = Query(50, ge=1, le=100),- _role: str = Depends(require_space_access(["viewer", "commenter", "editor", "owner"]))-):- return store.get_space_activities(space_id, limit=limit)--# --- Messages in Space ---[email protected]("/{space_id}/messages", response_model=List[Message])-def get_space_messages(space_id: str, _role: str = Depends(require_space_access(["viewer", "commenter", "editor", "owner"]))):- return store.get_messages(space_id)-[email protected]("/{space_id}/messages", response_model=Message, status_code=status.HTTP_201_CREATED)-def create_space_message(- space_id: str,- payload: MessageCreate,- _role: str = Depends(require_space_access(["commenter", "editor", "owner"]))-):- msg = store.add_message(space_id, payload)- if not msg:- raise HTTPException(status_code=404, detail="Space not found")- return msgdiff --git a/server/app/core/auth.py b/server/app/core/auth.pydeleted file mode 100644index d929912..0000000--- a/server/app/core/auth.py+++ /dev/null@@ -1,109 +0,0 @@-from typing import List, Optional-from fastapi import Header, Depends, HTTPException, status-from sqlalchemy.orm import Session-from app.db.session import get_db-from app.db.models import UserDB, OpenSpaceDB, SpaceMemberDB--ROLE_HIERARCHY = {- "owner": 4,- "editor": 3,- "commenter": 2,- "viewer": 1-}--def get_optional_current_user(- x_user_id: Optional[str] = Header(None, alias="X-User-Id"),- authorization: Optional[str] = Header(None),- db: Session = Depends(get_db)-) -> Optional[UserDB]:- """- Returns the current user if authenticated, or None if guest.- """- user_id = x_user_id- if not user_id and authorization and authorization.startswith("Bearer "):- token = authorization[7:].strip()- if token.startswith("usr-"):- user_id = token-- if not user_id:- return None-- return db.query(UserDB).filter(UserDB.id == user_id).first()--def get_current_user(- x_user_id: Optional[str] = Header(None, alias="X-User-Id"),- authorization: Optional[str] = Header(None),- db: Session = Depends(get_db)-) -> UserDB:- """- Resolves the current authenticated user.- Requires verified X-User-Id or Bearer token header.- """- user = get_optional_current_user(x_user_id=x_user_id, authorization=authorization, db=db)- if not user:- raise HTTPException(- status_code=status.HTTP_401_UNAUTHORIZED,- detail="Authentication required: Please login first",- )- return user--def require_space_access(allowed_roles: List[str]):- """- FastAPI dependency factory enforcing verified space membership and role hierarchy.- """- def dependency(- space_id: str,- user: Optional[UserDB] = Depends(get_optional_current_user),- db: Session = Depends(get_db)- ) -> str:- space = db.query(OpenSpaceDB).filter(OpenSpaceDB.id == space_id).first()- if not space:- raise HTTPException(status_code=404, detail="Space not found")-- if not user:- if "viewer" in allowed_roles:- return "viewer"- raise HTTPException(- status_code=status.HTTP_401_UNAUTHORIZED,- detail="Authentication required: Please login first"- )-- # Check membership table- member = db.query(SpaceMemberDB).filter(- SpaceMemberDB.space_id == space_id,- SpaceMemberDB.user_id == user.id- ).first()-- user_role = None- if space.owner_id == user.id:- user_role = "owner"- elif member:- user_role = member.role- elif isinstance(space.members, list):- # Compatibility fallback for denormalized JSON members- for m in space.members:- if isinstance(m, dict) and m.get("id") == user.id:- user_role = m.get("role", "viewer")- break-- if not user_role:- if "viewer" in allowed_roles:- user_role = "viewer"- else:- raise HTTPException(- status_code=status.HTTP_403_FORBIDDEN,- detail="Access denied: Please login first"- )-- user_level = ROLE_HIERARCHY.get(user_role, 0)- min_required_level = min(ROLE_HIERARCHY.get(r, 1) for r in allowed_roles)-- if user_level < min_required_level:- raise HTTPException(- status_code=status.HTTP_403_FORBIDDEN,- detail=f"Access denied: Requires roles {allowed_roles}, your role is '{user_role}'"- )-- return user_role-- return dependencydiff --git a/server/app/core/config.py b/server/app/core/config.pydeleted file mode 100644index af9054d..0000000--- a/server/app/core/config.py+++ /dev/null@@ -1,22 +0,0 @@-import os-from pydantic import BaseModel-from dotenv import load_dotenv--load_dotenv(override=True)--class Settings(BaseModel):- PROJECT_NAME: str = "OpenSpaces API"- VERSION: str = "0.1.0"- API_V1_STR: str = "/api"- HOST: str = os.getenv("HOST", "0.0.0.0")- PORT: int = int(os.getenv("PORT", "8000"))- CORS_ORIGINS: list[str] = [- origin.strip()- for origin in os.getenv("CORS_ORIGINS", "http://localhost:3000,http://127.0.0.1:3000").split(",")- if origin.strip()- ]- DATABASE_URL: str = os.getenv("DIRECT_URL") or os.getenv("DATABASE_URL", "")- DEFAULT_MODEL: str = os.getenv("DEFAULT_MODEL", "mimo-v2-6-flash-abliterated")- MUAPI_API_KEY: str = os.getenv("MUAPI_API_KEY", "")--settings = Settings()diff --git a/server/app/db/__init__.py b/server/app/db/__init__.pydeleted file mode 100644index c85e689..0000000--- a/server/app/db/__init__.py+++ /dev/null@@ -1 +0,0 @@-"""Database package for OpenSpaces."""diff --git a/server/app/db/models.py b/server/app/db/models.pydeleted file mode 100644index 15f5160..0000000--- a/server/app/db/models.py+++ /dev/null@@ -1,144 +0,0 @@-from datetime import datetime-from sqlalchemy import Column, String, Text, Boolean, Integer, DateTime, JSON, ForeignKey, UniqueConstraint-from app.db.session import Base--class UserDB(Base):- __tablename__ = "users"-- id = Column(String(64), primary_key=True, index=True)- name = Column(String(100), nullable=False)- email = Column(String(255), unique=True, index=True, nullable=False)- password_hash = Column(String(255), nullable=True)- avatar = Column(String(255), nullable=True)- created_at = Column(DateTime, default=datetime.utcnow)--class OpenSpaceDB(Base):- __tablename__ = "open_spaces"-- id = Column(String(64), primary_key=True, index=True)- name = Column(String(255), nullable=False)- description = Column(Text, default="")- icon = Column(String(32), default="📁")- color = Column(String(32), default="indigo")- pinned = Column(Boolean, default=False)- owner_id = Column(String(64), ForeignKey("users.id", ondelete="SET NULL"), nullable=True)- members = Column(JSON, default=list) # cached/denormalized member list for fast sidebar hydration- created_at = Column(DateTime, default=datetime.utcnow)- updated_at = Column(DateTime, default=datetime.utcnow, onupdate=datetime.utcnow)--class SpaceMemberDB(Base):- __tablename__ = "space_members"-- id = Column(String(64), primary_key=True, index=True)- space_id = Column(String(64), ForeignKey("open_spaces.id", ondelete="CASCADE"), nullable=False, index=True)- user_id = Column(String(64), ForeignKey("users.id", ondelete="CASCADE"), nullable=False, index=True)- role = Column(String(32), default="editor", nullable=False) # "owner", "editor", "commenter", "viewer"- created_at = Column(DateTime, default=datetime.utcnow)- updated_at = Column(DateTime, default=datetime.utcnow, onupdate=datetime.utcnow)-- __table_args__ = (- UniqueConstraint("space_id", "user_id", name="uq_space_user"),- )--class OpenPageDB(Base):- __tablename__ = "open_pages"-- id = Column(String(64), primary_key=True, index=True)- space_id = Column(String(64), ForeignKey("open_spaces.id", ondelete="CASCADE"), nullable=False, index=True)- parent_id = Column(String(64), ForeignKey("open_pages.id", ondelete="SET NULL"), nullable=True, index=True)- order = Column(Integer, default=0, nullable=False)- title = Column(String(255), nullable=False)- content = Column(Text, default="")- icon = Column(String(32), default="📄")- status = Column(String(32), default="draft")- author = Column(String(100), default="You")- version = Column(Integer, default=1)- created_at = Column(DateTime, default=datetime.utcnow)- updated_at = Column(DateTime, default=datetime.utcnow, onupdate=datetime.utcnow)--class PageRevisionDB(Base):- __tablename__ = "page_revisions"-- id = Column(String(64), primary_key=True, index=True)- page_id = Column(String(64), ForeignKey("open_pages.id", ondelete="CASCADE"), nullable=False, index=True)- space_id = Column(String(64), ForeignKey("open_spaces.id", ondelete="CASCADE"), nullable=False, index=True)- version = Column(Integer, nullable=False)- title = Column(String(255), nullable=False)- content = Column(Text, default="")- author = Column(String(100), default="You")- created_at = Column(DateTime, default=datetime.utcnow)--class OpenAgentDB(Base):- __tablename__ = "open_agents"-- id = Column(String(64), primary_key=True, index=True)- space_id = Column(String(64), ForeignKey("open_spaces.id", ondelete="CASCADE"), nullable=False, index=True)- name = Column(String(100), nullable=False)- role = Column(String(100), default="Assistant")- avatar = Column(String(32), default="🤖")- status = Column(String(32), default="idle")- capabilities = Column(JSON, default=list)- current_task = Column(Text, nullable=True)--class OpenMessageDB(Base):- __tablename__ = "open_messages"-- id = Column(String(64), primary_key=True, index=True)- space_id = Column(String(64), ForeignKey("open_spaces.id", ondelete="CASCADE"), nullable=False, index=True)- sender_type = Column(String(32), default="user")- sender_name = Column(String(100), default="You")- sender_avatar = Column(String(64), nullable=True)- content = Column(Text, nullable=False)- referenced_page_id = Column(String(64), nullable=True)- timestamp = Column(DateTime, default=datetime.utcnow)--class OpenMeetingDB(Base):- __tablename__ = "open_meetings"-- id = Column(String(64), primary_key=True, index=True)- space_id = Column(String(64), ForeignKey("open_spaces.id", ondelete="CASCADE"), nullable=False, index=True)- title = Column(String(255), nullable=False)- summary = Column(Text, default="")- transcript = Column(Text, nullable=True)- action_items = Column(JSON, default=list)- duration_seconds = Column(Integer, default=0)- created_at = Column(DateTime, default=datetime.utcnow)--class OpenCommentDB(Base):- __tablename__ = "open_comments"-- id = Column(String(64), primary_key=True, index=True)- page_id = Column(String(64), ForeignKey("open_pages.id", ondelete="CASCADE"), nullable=False, index=True)- space_id = Column(String(64), ForeignKey("open_spaces.id", ondelete="CASCADE"), nullable=False, index=True)- user_id = Column(String(64), ForeignKey("users.id", ondelete="CASCADE"), nullable=False)- user_name = Column(String(100), default="You")- user_avatar = Column(String(255), nullable=True)- content = Column(Text, nullable=False)- parent_id = Column(String(64), ForeignKey("open_comments.id", ondelete="CASCADE"), nullable=True)- resolved = Column(Boolean, default=False)- created_at = Column(DateTime, default=datetime.utcnow)- updated_at = Column(DateTime, default=datetime.utcnow, onupdate=datetime.utcnow)--class OpenActivityDB(Base):- __tablename__ = "open_activities"-- id = Column(String(64), primary_key=True, index=True)- space_id = Column(String(64), ForeignKey("open_spaces.id", ondelete="CASCADE"), nullable=False, index=True)- page_id = Column(String(64), ForeignKey("open_pages.id", ondelete="CASCADE"), nullable=True, index=True)- user_id = Column(String(64), ForeignKey("users.id", ondelete="CASCADE"), nullable=False)- user_name = Column(String(100), default="You")- action_type = Column(String(64), nullable=False)- summary = Column(Text, nullable=False)- created_at = Column(DateTime, default=datetime.utcnow)--class OpenSpaceFileDB(Base):- __tablename__ = "open_space_files"-- id = Column(String(64), primary_key=True, index=True)- space_id = Column(String(64), ForeignKey("open_spaces.id", ondelete="CASCADE"), nullable=True, index=True)- name = Column(String(255), nullable=False)- url = Column(Text, nullable=False)- size = Column(Integer, default=0)- content_type = Column(String(128), default="application/octet-stream")- uploader_id = Column(String(64), ForeignKey("users.id", ondelete="SET NULL"), nullable=True)- created_at = Column(DateTime, default=datetime.utcnow)diff --git a/server/app/db/session.py b/server/app/db/session.pydeleted file mode 100644index 99a58b2..0000000--- a/server/app/db/session.py+++ /dev/null@@ -1,60 +0,0 @@-from sqlalchemy import create_engine-from sqlalchemy.orm import sessionmaker, declarative_base-from app.core.config import settings--# Clean database URL if needed (convert postgres:// to postgresql://)-db_url = settings.DATABASE_URL-if not db_url:- raise RuntimeError(- "DATABASE_URL or DIRECT_URL environment variable is missing. "- "Please configure server/.env with your database connection string."- )--if db_url.startswith("postgres://"):- db_url = db_url.replace("postgres://", "postgresql://", 1)--# Ensure port 6543 for Supabase transaction pooler-if "pooler.supabase.com:5432" in db_url:- db_url = db_url.replace("pooler.supabase.com:5432", "pooler.supabase.com:6543")--from sqlalchemy.pool import NullPool--is_supabase_pooler = "pooler.supabase.com" in db_url or ":6543" in db_url--connect_args = {- "sslmode": "require",- "keepalives": 1,- "keepalives_idle": 30,- "keepalives_interval": 10,- "keepalives_count": 5,-} if "supabase.com" in db_url else {}--if is_supabase_pooler:- # Supabase Transaction Pooler (PgBouncer port 6543) manages connection pooling on the server.- # NullPool disables client-side connection pooling, eliminating QueuePool timeouts.- # pool_pre_ping=True automatically tests connections and reconnects if SSL was dropped.- engine = create_engine(- db_url,- poolclass=NullPool,- pool_pre_ping=True,- connect_args=connect_args- )-else:- engine = create_engine(- db_url,- pool_pre_ping=True,- pool_size=20,- max_overflow=40,- pool_recycle=300,- connect_args=connect_args- )--SessionLocal = sessionmaker(autocommit=False, autoflush=False, bind=engine)-Base = declarative_base()--def get_db():- db = SessionLocal()- try:- yield db- finally:- db.close()diff --git a/server/app/main.py b/server/app/main.pydeleted file mode 100644index ff212db..0000000--- a/server/app/main.py+++ /dev/null@@ -1,118 +0,0 @@-from typing import Dict, List, Optional-from fastapi import FastAPI, WebSocket, WebSocketDisconnect, Query, status-from fastapi.middleware.cors import CORSMiddleware--from app.core.config import settings-from app.api.routers import spaces, pages, agents, meetings, chat, images, files, auth-from app.db.session import SessionLocal-from app.db.models import UserDB, OpenSpaceDB, SpaceMemberDB--app = FastAPI(- title=settings.PROJECT_NAME,- version=settings.VERSION,- description="OpenSpaces: Collaborative AI Workspace with Pages, Dots (Agents), and Meeting Notes."-)--# CORS setup restricted to configured origins-app.add_middleware(- CORSMiddleware,- allow_origins=settings.CORS_ORIGINS or ["http://localhost:3000", "http://127.0.0.1:3000"],- allow_credentials=True,- allow_methods=["*"],- allow_headers=["*"],-)--# Include Routers-app.include_router(auth.router, prefix=settings.API_V1_STR)-app.include_router(spaces.router, prefix=settings.API_V1_STR)-app.include_router(pages.router, prefix=settings.API_V1_STR)-app.include_router(agents.router, prefix=settings.API_V1_STR)-app.include_router(meetings.router, prefix=settings.API_V1_STR)-app.include_router(chat.router, prefix=settings.API_V1_STR)-app.include_router(images.router, prefix=settings.API_V1_STR)-app.include_router(files.router, prefix=settings.API_V1_STR)-app.include_router(files.router) # Direct /upload_file per MuAPI specification--# --- WebSocket Connection Manager with Authentication & Excluded Sender Broadcast ----class ConnectionManager:- def __init__(self):- self.active_connections: Dict[str, List[WebSocket]] = {}-- async def connect(self, space_id: str, websocket: WebSocket):- await websocket.accept()- if space_id not in self.active_connections:- self.active_connections[space_id] = []- self.active_connections[space_id].append(websocket)-- def disconnect(self, space_id: str, websocket: WebSocket):- if space_id in self.active_connections:- if websocket in self.active_connections[space_id]:- self.active_connections[space_id].remove(websocket)- if not self.active_connections[space_id]:- del self.active_connections[space_id]-- async def broadcast(self, space_id: str, message: dict, sender: Optional[WebSocket] = None):- if space_id in self.active_connections:- for connection in self.active_connections[space_id]:- if connection != sender:- try:- await connection.send_json(message)- except Exception:- pass--manager = ConnectionManager()-[email protected]("/ws/spaces/{space_id}")-async def websocket_endpoint(- websocket: WebSocket,- space_id: str,- token: Optional[str] = Query(None)-):- # Verify user identity & space membership before accepting- db = SessionLocal()- try:- user_id = token if token and token.startswith("usr-") else "usr-1"- space = db.query(OpenSpaceDB).filter(OpenSpaceDB.id == space_id).first()- if not space:- await websocket.close(code=status.WS_1008_POLICY_VIOLATION)- return-- is_member = (- space.owner_id == user_id- or db.query(SpaceMemberDB).filter(- SpaceMemberDB.space_id == space_id,- SpaceMemberDB.user_id == user_id- ).first() is not None- )- if not is_member:- await websocket.close(code=status.WS_1008_POLICY_VIOLATION)- return- finally:- db.close()-- await manager.connect(space_id, websocket)- try:- while True:- data = await websocket.receive_json()- # Broadcast to other collaborators only (exclude sender)- await manager.broadcast(space_id, data, sender=websocket)- except WebSocketDisconnect:- pass- except Exception:- pass- finally:- manager.disconnect(space_id, websocket)-[email protected]("/")-def root():- return {- "name": settings.PROJECT_NAME,- "version": settings.VERSION,- "status": "online",- "docs_url": "/docs",- "description": "OpenSpaces backend API"- }-[email protected]("/health")-def health_check():- return {"status": "healthy"}diff --git a/server/app/models/schemas.py b/server/app/models/schemas.pydeleted file mode 100644index cd68a34..0000000--- a/server/app/models/schemas.py+++ /dev/null@@ -1,204 +0,0 @@-from datetime import datetime-from typing import Optional, List, Dict, Any-from pydantic import BaseModel, Field--# --- User & Member Models ----class UserBase(BaseModel):- name: str- email: str- avatar: Optional[str] = None--class User(UserBase):- id: str- created_at: datetime = Field(default_factory=datetime.utcnow)--class SpaceMember(BaseModel):- id: str- name: str- avatar: Optional[str] = None- role: str = "editor" # "owner", "editor", "commenter", "viewer"--class SpaceMemberDetail(BaseModel):- id: str- space_id: str- user_id: str- name: str- email: str- avatar: Optional[str] = None- role: str = "editor"- created_at: datetime = Field(default_factory=datetime.utcnow)--class SpaceMemberAdd(BaseModel):- user_id: Optional[str] = None- email: Optional[str] = None- role: str = "editor"--class AgentDot(BaseModel):- id: str- name: str- role: str = "Research & Synthesis"- avatar: str = "🤖"- status: str = "idle" # "idle", "working", "completed", "error"- capabilities: List[str] = []- current_task: Optional[str] = None--# --- Page (Living Document) Models ----class PageBase(BaseModel):- title: str- content: str = ""- icon: Optional[str] = "📄"- status: str = "draft" # "draft", "in_review", "published"- parent_id: Optional[str] = None- order: Optional[int] = 0--class PageCreate(PageBase):- pass--class PageUpdate(BaseModel):- title: Optional[str] = None- content: Optional[str] = None- icon: Optional[str] = None- status: Optional[str] = None- parent_id: Optional[str] = None- order: Optional[int] = None- expected_revision: Optional[int] = None--class Page(PageBase):- id: str- space_id: str- author: str = "User"- version: int = 1- parent_id: Optional[str] = None- order: int = 0- created_at: datetime = Field(default_factory=datetime.utcnow)- updated_at: datetime = Field(default_factory=datetime.utcnow)--class PageRevision(BaseModel):- id: str- page_id: str- space_id: str- version: int- title: str- content: str = ""- author: str = "You"- created_at: datetime = Field(default_factory=datetime.utcnow)--# --- Chat & Context Threads ----class MessageBase(BaseModel):- content: str- sender_type: str = "user" # "user", "agent", "assistant"- sender_name: str = "You"- sender_avatar: Optional[str] = None- referenced_page_id: Optional[str] = None--class MessageCreate(MessageBase):- pass--class Message(MessageBase):- id: str- space_id: str- timestamp: datetime = Field(default_factory=datetime.utcnow)--# --- Meeting Recording / Notes ----class MeetingNoteBase(BaseModel):- title: str- summary: str- transcript: Optional[str] = None- action_items: List[str] = []- duration_seconds: int = 0--class MeetingNoteCreate(MeetingNoteBase):- pass--class MeetingNote(MeetingNoteBase):- id: str- space_id: str- created_at: datetime = Field(default_factory=datetime.utcnow)--# --- Space Models ----class SpaceBase(BaseModel):- name: str- description: Optional[str] = ""- icon: str = "📁"- color: str = "indigo" # "indigo", "emerald", "amber", "rose", "sky", "violet"- pinned: bool = False--class SpaceCreate(SpaceBase):- pass--class SpaceUpdate(BaseModel):- name: Optional[str] = None- description: Optional[str] = None- icon: Optional[str] = None- color: Optional[str] = None- pinned: Optional[bool] = None--class Space(SpaceBase):- id: str- owner_id: Optional[str] = None- created_at: datetime = Field(default_factory=datetime.utcnow)- updated_at: datetime = Field(default_factory=datetime.utcnow)- members: List[SpaceMember] = []- agents: List[AgentDot] = []- pages_count: int = 0- messages_count: int = 0--# --- Agent Run Request ----class AgentRunRequest(BaseModel):- agent_id: Optional[str] = None- prompt: str- target_page_id: Optional[str] = None- context_data: Optional[Dict[str, Any]] = None--# --- Comments & Activity ----class CommentBase(BaseModel):- content: str- parent_id: Optional[str] = None--class CommentCreate(CommentBase):- pass--class CommentUpdate(BaseModel):- content: Optional[str] = None- resolved: Optional[bool] = None--class Comment(CommentBase):- id: str- page_id: str- space_id: str- user_id: str- user_name: str- user_avatar: Optional[str] = None- resolved: bool = False- created_at: datetime = Field(default_factory=datetime.utcnow)- updated_at: datetime = Field(default_factory=datetime.utcnow)--class ActivityItem(BaseModel):- id: str- space_id: str- page_id: Optional[str] = None- user_id: str- user_name: str- action_type: str- summary: str- created_at: datetime = Field(default_factory=datetime.utcnow)--class ScopedSearchResult(BaseModel):- spaces: List[Space] = []- pages: List[Page] = []--class FileUploadResponse(BaseModel):- url: str- filename: Optional[str] = None- size: Optional[int] = None- content_type: Optional[str] = None--class SpaceFileItem(BaseModel):- id: str- space_id: Optional[str] = None- name: str- url: str- size: int- content_type: str- uploader_id: Optional[str] = None- created_at: datetime = Field(default_factory=datetime.utcnow)diff --git a/server/app/services/space_store.py b/server/app/services/space_store.pydeleted file mode 100644index 4fa097f..0000000--- a/server/app/services/space_store.py+++ /dev/null@@ -1,1259 +0,0 @@-import uuid-from datetime import datetime-from typing import List, Optional-from sqlalchemy import text-from sqlalchemy.orm import Session-from app.db.session import SessionLocal, Base, engine-from app.db.models import (- OpenSpaceDB, OpenPageDB, OpenAgentDB, OpenMessageDB, OpenMeetingDB,- UserDB, SpaceMemberDB, PageRevisionDB, OpenCommentDB, OpenActivityDB-)-from app.models.schemas import (- Space, Page, AgentDot, SpaceMember, Message, MeetingNote,- SpaceCreate, SpaceUpdate, PageCreate, PageUpdate, MessageCreate, MeetingNoteCreate,- SpaceMemberDetail, User, PageRevision, Comment, CommentCreate, CommentUpdate,- ActivityItem, ScopedSearchResult-)--MAX_PAGE_CONTENT_LENGTH = 500_000--class PageConflictError(Exception):- def __init__(self, current_version: int, page: Page):- super().__init__(f"Edit conflict: current version is {current_version}")- self.current_version = current_version- self.page = page--def check_page_cycle(db: Session, page_id: str, new_parent_id: Optional[str]) -> bool:- """Returns True if assigning new_parent_id to page_id creates a cycle."""- if not new_parent_id:- return False- if page_id == new_parent_id:- return True- current = new_parent_id- visited = {page_id}- while current:- if current in visited:- return True- visited.add(current)- parent_row = db.query(OpenPageDB).filter(OpenPageDB.id == current).first()- if not parent_row:- break- current = parent_row.parent_id- return False--class SupabaseSpaceService:- def __init__(self):- # Ensure schema migrations & tables exist- try:- with engine.connect() as conn:- conn.execute(text("ALTER TABLE open_spaces ADD COLUMN IF NOT EXISTS owner_id VARCHAR(64);"))- conn.execute(text("ALTER TABLE open_pages ADD COLUMN IF NOT EXISTS parent_id VARCHAR(64);"))- conn.execute(text('ALTER TABLE open_pages ADD COLUMN IF NOT EXISTS "order" INTEGER DEFAULT 0;'))- conn.execute(text("ALTER TABLE users ADD COLUMN IF NOT EXISTS password_hash VARCHAR(255);"))- conn.commit()- except Exception as e:- print(f"Migration note: {e}")- Base.metadata.create_all(bind=engine)- self._seed_default_data_if_empty()-- def _seed_default_data_if_empty(self):- db: Session = SessionLocal()- try:- # 1. Ensure baseline users exist- u1 = db.query(UserDB).filter(UserDB.id == "usr-1").first()- if not u1:- u1 = UserDB(- id="usr-1",- name="Alex Morgan",- email="[email protected]",- avatar="https://images.unsplash.com/photo-1534528741775-53994a69daeb?w=100&auto=format&fit=crop&q=80"- )- db.add(u1)- u2 = db.query(UserDB).filter(UserDB.id == "usr-2").first()- if not u2:- u2 = UserDB(- id="usr-2",- name="Jordan Lee",- email="[email protected]",- avatar="https://images.unsplash.com/photo-1507003211169-0a1dd7228f2d?w=100&auto=format&fit=crop&q=80"- )- db.add(u2)- db.commit()-- count = db.query(OpenSpaceDB).count()- if count > 0:- # Backfill space_members for existing spaces if needed- for s in db.query(OpenSpaceDB).all():- if not s.owner_id:- s.owner_id = "usr-1"- m_count = db.query(SpaceMemberDB).filter(SpaceMemberDB.space_id == s.id).count()- if m_count == 0:- db.add(SpaceMemberDB(- id=f"mem-{uuid.uuid4().hex[:8]}",- space_id=s.id,- user_id="usr-1",- role="owner"- ))- db.commit()- return-- space1_id = "space-product-launch"- space2_id = "space-ai-agents-research"-- # Space 1- s1 = OpenSpaceDB(- id=space1_id,- name="Q4 Product Launch & Strategy",- description="Collaborative roadmap, competitive research, and live marketing copies with Dot agents.",- icon="🚀",- color="indigo",- pinned=True,- owner_id="usr-1",- members=[- {"id": "usr-1", "name": "Alex Morgan", "role": "owner"},- {"id": "usr-2", "name": "Jordan Lee", "role": "editor"},- ],- created_at=datetime.utcnow(),- updated_at=datetime.utcnow(),- )- # Space 2- s2 = OpenSpaceDB(- id=space2_id,- name="Autonomous Agent Architecture",- description="Exploration of memory models, tool use, and multi-agent coordination.",- icon="brain",- color="emerald",- pinned=False,- owner_id="usr-1",- members=[{"id": "usr-1", "name": "Alex Morgan", "role": "owner"}],- created_at=datetime.utcnow(),- updated_at=datetime.utcnow(),- )-- # Commit spaces first to satisfy foreign key constraints- db.add(s1)- db.add(s2)- db.commit()-- # Seed normalized space members- db.add(SpaceMemberDB(id=f"mem-{uuid.uuid4().hex[:8]}", space_id=space1_id, user_id="usr-1", role="owner"))- db.add(SpaceMemberDB(id=f"mem-{uuid.uuid4().hex[:8]}", space_id=space1_id, user_id="usr-2", role="editor"))- db.add(SpaceMemberDB(id=f"mem-{uuid.uuid4().hex[:8]}", space_id=space2_id, user_id="usr-1", role="owner"))- db.commit()-- # Space 1 Agents- dot1 = OpenAgentDB(- id="dot-1",- space_id=space1_id,- name="Synthesizer Dot",- role="Research & Synthesis",- avatar="agent-bolt",- status="idle",- capabilities=["Web Search", "Competitive Analysis", "Doc Synthesis"],- )- dot2 = OpenAgentDB(- id="dot-2",- space_id=space1_id,- name="Copywriter Dot",- role="Drafting & Tone Polish",- avatar="agent-pen",- status="idle",- capabilities=["Headline Generation", "Technical Copy", "Social Snippets"],- )- db.add(dot1)- db.add(dot2)-- # Pages for Space 1- p1 = OpenPageDB(- id="page-101",- space_id=space1_id,- title="Executive Launch Plan & Go-To-Market",- icon="pin",- status="published",- author="Alex Morgan",- version=3,- content="""# Q4 Executive Launch Plan--## 1. Vision & Strategic Goals-Our objective with **OpenSpaces** is to bridge the gap between static documents and collaborative intelligence. With dedicated **Dots (Autonomous Agents)** working alongside human teams on shared **Pages**, project velocity increases 5x.--### Core Deliverables-- **Live Collaborative Pages**: Real-time editable canvas supporting markdown, tables, and AI inline actions.-- **Autonomous Dot Agents**: Agents that can actively review, draft, cite sources, and update pages.-- **Persistent Knowledge Graph**: Threads and documents retained in context.--## 2. Milestone Timeline-| Milestone | Target Date | Owner | Status |-| :--- | :--- | :--- | :--- |-| Supabase Database Integration | Week 1 | Team Alpha | Completed |-| Next.js App Router UI | Week 1 | Frontend | In Progress |-| Dot Agent Event Loop | Week 2 | AI Core | Scheduled |-| Beta Community Launch | Week 3 | All | Upcoming |-""",- created_at=datetime.utcnow(),- updated_at=datetime.utcnow(),- )- p2 = OpenPageDB(- id="page-102",- space_id=space1_id,- title="Competitive Analysis & Benchmarks",- icon="chart",- status="in_review",- author="Synthesizer Dot",- version=1,- content="""# Competitive Landscape: Spaces & Agent Workspaces--### Key Market Players-1. **Open Spaces**: Deep agent integration ("Dots"), living Pages, meeting voice notes.-2. **Notion AI Workspace**: Database-centric, document-first, limited autonomous background workers.-3. **OpenSpaces**: 100% Open-source, Supabase-backed, self-hostable, Next.js + FastAPI.-""",- created_at=datetime.utcnow(),- updated_at=datetime.utcnow(),- )- db.add(p1)- db.add(p2)-- # Messages for Space 1- m1 = OpenMessageDB(- id="msg-1",- space_id=space1_id,- sender_type="user",- sender_name="Alex Morgan",- content="Hey team! I started the Q4 Launch Plan page. Let's populate the milestones.",- timestamp=datetime.utcnow(),- )- m2 = OpenMessageDB(- id="msg-2",- space_id=space1_id,- sender_type="agent",- sender_name="Synthesizer Dot",- sender_avatar="agent-bolt",- content="I've analyzed the initial timeline and populated the 'Competitive Analysis & Benchmarks' page for your review.",- referenced_page_id="page-102",- timestamp=datetime.utcnow(),- )- db.add(m1)- db.add(m2)-- # Meeting for Space 1- meet1 = OpenMeetingDB(- id="meet-1",- space_id=space1_id,- title="Q4 Kickoff & Feature Prioritization",- duration_seconds=1420,- summary="Discussed Open Spaces features: Pages canvas, Dot autonomous agents, meeting audio ingestion, and multiplayer collaboration.",- action_items=[- "Configure Next.js App Router + Tailwind CSS frontend",- "Connect FastAPI backend with Supabase PostgreSQL",- "Enable live Dot Agent task orchestration",- ],- transcript="Alex: Welcome team. Today we are launching OpenSpaces on top of Supabase...",- created_at=datetime.utcnow(),- )- db.add(meet1)-- # Space 2 Agents and Pages- dot3 = OpenAgentDB(- id="dot-3",- space_id=space2_id,- name="Architect Dot",- role="Systems Design",- avatar="agent-ruler",- status="idle",- capabilities=["UML Diagramming", "API Spec", "Security Audits"],- )- db.add(dot3)-- p3 = OpenPageDB(- id="page-201",- space_id=space2_id,- title="Multi-Agent Memory & Protocol Spec",- icon="ruler",- status="draft",- author="Architect Dot",- version=1,- content="""# Multi-Agent Memory & Protocol Spec--## Overview-How Dot agents communicate within a shared Space:-1. **Shared Workspace Context**: Global space state (Pages + Chat history + File attachments).-2. **Agent Event Loop**: Listen to page edit deltas or explicit @mentions.-3. **Database Persistence**: Supabase PostgreSQL handles durable state.-""",- created_at=datetime.utcnow(),- updated_at=datetime.utcnow(),- )- db.add(p3)-- db.commit()- print("Successfully seeded initial OpenSpaces data into Supabase PostgreSQL!")- except Exception as e:- db.rollback()- print(f"Error seeding Supabase data: {str(e).encode('ascii', 'ignore').decode('ascii')}")- finally:- db.close()-- # --- Space Operations ---- def get_all_spaces(self, user_id: Optional[str] = None) -> List[Space]:- db: Session = SessionLocal()- try:- query = db.query(OpenSpaceDB)- if user_id:- member_space_ids = [m[0] for m in db.query(SpaceMemberDB.space_id).filter(SpaceMemberDB.user_id == user_id).all()]- query = query.filter(- (OpenSpaceDB.owner_id == user_id) |- (OpenSpaceDB.id.in_(member_space_ids))- )- records = query.order_by(OpenSpaceDB.pinned.desc(), OpenSpaceDB.updated_at.desc()).all()- # If user has no spaces yet (newly registered or guest), fallback to all spaces so they aren't blank- if not records and user_id:- records = db.query(OpenSpaceDB).order_by(OpenSpaceDB.pinned.desc(), OpenSpaceDB.updated_at.desc()).all()- result = []- for r in records:- pages_cnt = db.query(OpenPageDB).filter(OpenPageDB.space_id == r.id).count()- msgs_cnt = db.query(OpenMessageDB).filter(OpenMessageDB.space_id == r.id).count()- agent_records = db.query(OpenAgentDB).filter(OpenAgentDB.space_id == r.id).all()- agents = [- AgentDot(- id=a.id,- name=a.name,- role=a.role,- avatar=a.avatar,- status=a.status,- capabilities=a.capabilities or [],- current_task=a.current_task,- )- for a in agent_records- ]- members = [SpaceMember(**m) for m in (r.members or [])]-- result.append(- Space(- id=r.id,- name=r.name,- description=r.description,- icon=r.icon,- color=r.color,- pinned=r.pinned,- members=members,- agents=agents,- created_at=r.created_at,- updated_at=r.updated_at,- pages_count=pages_cnt,- messages_count=msgs_cnt,- )- )- return result- finally:- db.close()-- def get_space(self, space_id: str) -> Optional[Space]:- db: Session = SessionLocal()- try:- r = db.query(OpenSpaceDB).filter(OpenSpaceDB.id == space_id).first()- if not r:- return None- pages_cnt = db.query(OpenPageDB).filter(OpenPageDB.space_id == r.id).count()- msgs_cnt = db.query(OpenMessageDB).filter(OpenMessageDB.space_id == r.id).count()- agent_records = db.query(OpenAgentDB).filter(OpenAgentDB.space_id == r.id).all()- agents = [- AgentDot(- id=a.id,- name=a.name,- role=a.role,- avatar=a.avatar,- status=a.status,- capabilities=a.capabilities or [],- current_task=a.current_task,- )- for a in agent_records- ]- members = [SpaceMember(**m) for m in (r.members or [])]- return Space(- id=r.id,- owner_id=r.owner_id,- name=r.name,- description=r.description,- icon=r.icon,- color=r.color,- pinned=r.pinned,- members=members,- agents=agents,- created_at=r.created_at,- updated_at=r.updated_at,- pages_count=pages_cnt,- messages_count=msgs_cnt,- )- finally:- db.close()-- def create_space(self, space_data: SpaceCreate, owner_id: str = "usr-1", owner_name: str = "You") -> Space:- db: Session = SessionLocal()- try:- space_id = f"space-{uuid.uuid4().hex[:8]}"- r = OpenSpaceDB(- id=space_id,- name=space_data.name,- description=space_data.description or "",- icon=space_data.icon or "📁",- color=space_data.color or "indigo",- pinned=space_data.pinned or False,- owner_id=owner_id,- members=[{"id": owner_id, "name": owner_name, "role": "owner"}],- created_at=datetime.utcnow(),- updated_at=datetime.utcnow(),- )- db.add(r)- # Add normalized membership- db.add(SpaceMemberDB(- id=f"mem-{uuid.uuid4().hex[:8]}",- space_id=space_id,- user_id=owner_id,- role="owner"- ))- default_agent = OpenAgentDB(- id=f"dot-{uuid.uuid4().hex[:4]}",- space_id=space_id,- name="Synthesizer Dot",- role="Workspace Assistant",- avatar="🤖",- status="idle",- capabilities=["Document Editing", "Summarization", "Idea Generation"],- )- db.add(default_agent)- db.commit()- db.refresh(r)- return self.get_space(space_id)- finally:- db.close()-- def get_space_members(self, space_id: str) -> List[SpaceMemberDetail]:- db: Session = SessionLocal()- try:- records = (- db.query(SpaceMemberDB, UserDB)- .join(UserDB, SpaceMemberDB.user_id == UserDB.id)- .filter(SpaceMemberDB.space_id == space_id)- .all()- )- return [- SpaceMemberDetail(- id=m.id,- space_id=m.space_id,- user_id=u.id,- name=u.name,- email=u.email,- avatar=u.avatar,- role=m.role,- created_at=m.created_at,- )- for m, u in records- ]- finally:- db.close()-- def add_space_member(self, space_id: str, user_id: Optional[str] = None, email: Optional[str] = None, role: str = "editor") -> Optional[SpaceMemberDetail]:- db: Session = SessionLocal()- try:- user = None- if user_id:- user = db.query(UserDB).filter(UserDB.id == user_id).first()- if not user and email:- clean_email = email.strip().lower()- user = db.query(UserDB).filter(UserDB.email == clean_email).first()- if not user:- display_name = clean_email.split("@")[0].replace(".", " ").capitalize()- user = UserDB(- id=f"usr-{uuid.uuid4().hex[:6]}",- name=display_name,- email=clean_email,- avatar=f"https://api.dicebear.com/7.x/initials/svg?seed={display_name}"- )- db.add(user)- db.flush()- if not user:- return None- space = db.query(OpenSpaceDB).filter(OpenSpaceDB.id == space_id).first()- if not space:- return None-- member = db.query(SpaceMemberDB).filter(- SpaceMemberDB.space_id == space_id,- SpaceMemberDB.user_id == user.id- ).first()-- if member:- member.role = role- member.updated_at = datetime.utcnow()- else:- member = SpaceMemberDB(- id=f"mem-{uuid.uuid4().hex[:8]}",- space_id=space_id,- user_id=user.id,- role=role- )- db.add(member)-- # Sync cached members list on OpenSpaceDB- cached = [m for m in (space.members or []) if m.get("id") != user.id]- cached.append({"id": user.id, "name": user.name, "role": role})- space.members = cached-- self.record_activity(- db,- space_id=space_id,- user_id=user.id,- user_name=user.name,- action_type="member_joined",- summary=f"{user.name} joined as {role}"- )-- db.commit()-- return SpaceMemberDetail(- id=member.id,- space_id=space_id,- user_id=user.id,- name=user.name,- email=user.email,- avatar=user.avatar,- role=role,- created_at=member.created_at,- )- finally:- db.close()-- def remove_space_member(self, space_id: str, user_id: str) -> bool:- db: Session = SessionLocal()- try:- space = db.query(OpenSpaceDB).filter(OpenSpaceDB.id == space_id).first()- if not space or space.owner_id == user_id:- return False # Cannot remove space owner-- member = db.query(SpaceMemberDB).filter(- SpaceMemberDB.space_id == space_id,- SpaceMemberDB.user_id == user_id- ).first()- if not member:- return False-- user = db.query(UserDB).filter(UserDB.id == user_id).first()- user_name = user.name if user else "Member"-- db.delete(member)- space.members = [m for m in (space.members or []) if m.get("id") != user_id]-- self.record_activity(- db,- space_id=space_id,- user_id=user_id,- user_name=user_name,- action_type="member_removed",- summary=f"{user_name} was removed from the space"- )-- db.commit()- return True- finally:- db.close()-- def update_space(self, space_id: str, update_data: SpaceUpdate) -> Optional[Space]:- db: Session = SessionLocal()- try:- r = db.query(OpenSpaceDB).filter(OpenSpaceDB.id == space_id).first()- if not r:- return None- data = update_data.model_dump(exclude_unset=True)- for k, v in data.items():- setattr(r, k, v)- r.updated_at = datetime.utcnow()- db.commit()- return self.get_space(space_id)- finally:- db.close()-- def delete_space(self, space_id: str) -> bool:- db: Session = SessionLocal()- try:- r = db.query(OpenSpaceDB).filter(OpenSpaceDB.id == space_id).first()- if not r:- return False- db.delete(r)- db.commit()- return True- finally:- db.close()-- # --- Page Operations ---- def get_pages(self, space_id: str) -> List[Page]:- db: Session = SessionLocal()- try:- records = db.query(OpenPageDB).filter(OpenPageDB.space_id == space_id).order_by(OpenPageDB.order.asc(), OpenPageDB.created_at.asc()).all()- return [- Page(- id=p.id,- space_id=p.space_id,- title=p.title,- content=p.content,- icon=p.icon,- status=p.status,- author=p.author,- version=p.version or 1,- parent_id=p.parent_id,- order=p.order or 0,- created_at=p.created_at,- updated_at=p.updated_at,- )- for p in records- ]- finally:- db.close()-- def get_page(self, space_id: str, page_id: str) -> Optional[Page]:- db: Session = SessionLocal()- try:- p = db.query(OpenPageDB).filter(OpenPageDB.space_id == space_id, OpenPageDB.id == page_id).first()- if not p:- return None- return Page(- id=p.id,- space_id=p.space_id,- title=p.title,- content=p.content,- icon=p.icon,- status=p.status,- author=p.author,- version=p.version or 1,- parent_id=p.parent_id,- order=p.order or 0,- created_at=p.created_at,- updated_at=p.updated_at,- )- finally:- db.close()-- def create_page(self, space_id: str, page_data: PageCreate, author: str = "You") -> Optional[Page]:- db: Session = SessionLocal()- try:- space = db.query(OpenSpaceDB).filter(OpenSpaceDB.id == space_id).first()- if not space:- return None-- if len(page_data.content or "") > MAX_PAGE_CONTENT_LENGTH:- raise ValueError("Page content exceeds the maximum limit of 500,000 characters.")-- if page_data.parent_id:- parent_page = db.query(OpenPageDB).filter(OpenPageDB.space_id == space_id, OpenPageDB.id == page_data.parent_id).first()- if not parent_page:- raise ValueError("Specified parent page does not exist in this space.")-- page_id = f"page-{uuid.uuid4().hex[:8]}"-- raw_title = (page_data.title or "Untitled page").strip()- if len(raw_title) > 200 or "\n" in raw_title:- first_line = raw_title.split("\n")[0].lstrip("#").strip()- clean_title = (first_line or "Untitled page")[:200]- else:- clean_title = raw_title[:200]-- p = OpenPageDB(- id=page_id,- space_id=space_id,- parent_id=page_data.parent_id,- order=page_data.order or 0,- title=clean_title,- content=page_data.content or "",- icon=(page_data.icon or "📄")[:10],- status=page_data.status or "draft",- author=author,- version=1,- created_at=datetime.utcnow(),- updated_at=datetime.utcnow(),- )- db.add(p)-- # Record initial revision snapshot- rev = PageRevisionDB(- id=f"rev-{uuid.uuid4().hex[:8]}",- page_id=page_id,- space_id=space_id,- version=1,- title=clean_title,- content=page_data.content or "",- author=author,- created_at=p.created_at- )- db.add(rev)-- db.commit()- db.refresh(p)- return Page(- id=p.id,- space_id=p.space_id,- title=p.title,- content=p.content,- icon=p.icon,- status=p.status,- author=p.author,- version=p.version or 1,- parent_id=p.parent_id,- order=p.order or 0,- created_at=p.created_at,- updated_at=p.updated_at,- )- except Exception:- db.rollback()- raise- finally:- db.close()-- def update_page(self, space_id: str, page_id: str, update_data: PageUpdate, author: str = "You") -> Optional[Page]:- db: Session = SessionLocal()- try:- p = db.query(OpenPageDB).filter(OpenPageDB.space_id == space_id, OpenPageDB.id == page_id).first()- if not p:- return None-- current_ver = p.version or 1-- # Optimistic Concurrency check- if update_data.expected_revision is not None and update_data.expected_revision != current_ver:- current_page = Page(- id=p.id,- space_id=p.space_id,- title=p.title,- content=p.content,- icon=p.icon,- status=p.status,- author=p.author,- version=current_ver,- parent_id=p.parent_id,- order=p.order or 0,- created_at=p.created_at,- updated_at=p.updated_at,- )- raise PageConflictError(current_version=current_ver, page=current_page)-- # Content length check- if update_data.content is not None and len(update_data.content) > MAX_PAGE_CONTENT_LENGTH:- raise ValueError("Page content exceeds the maximum limit of 500,000 characters.")-- # Hierarchy cycle check- if update_data.parent_id is not None:- if update_data.parent_id == "":- p.parent_id = None- elif update_data.parent_id != p.parent_id:- parent_page = db.query(OpenPageDB).filter(OpenPageDB.space_id == space_id, OpenPageDB.id == update_data.parent_id).first()- if not parent_page:- raise ValueError("Target parent page does not exist in this space.")- if check_page_cycle(db, page_id, update_data.parent_id):- raise ValueError("Hierarchy cycle detected: a page cannot be made a child of itself or its descendants.")- p.parent_id = update_data.parent_id-- data = update_data.model_dump(exclude_unset=True)- data.pop("expected_revision", None)- data.pop("parent_id", None)-- if "title" in data and data["title"] is not None:- t = str(data["title"]).strip()- if len(t) > 200 or "\n" in t:- t = t.split("\n")[0].lstrip("#").strip()[:200]- data["title"] = t or "Untitled page"- if "icon" in data and data["icon"] is not None:- data["icon"] = str(data["icon"])[:10]-- for k, v in data.items():- setattr(p, k, v)-- p.version = current_ver + 1- p.updated_at = datetime.utcnow()-- # Record revision snapshot- rev = PageRevisionDB(- id=f"rev-{uuid.uuid4().hex[:8]}",- page_id=p.id,- space_id=space_id,- version=p.version,- title=p.title,- content=p.content,- author=author or p.author or "You",- created_at=p.updated_at- )- db.add(rev)-- db.commit()- db.refresh(p)- return Page(- id=p.id,- space_id=p.space_id,- title=p.title,- content=p.content,- icon=p.icon,- status=p.status,- author=p.author,- version=p.version,- parent_id=p.parent_id,- order=p.order or 0,- created_at=p.created_at,- updated_at=p.updated_at,- )- except (PageConflictError, ValueError):- db.rollback()- raise- except Exception:- db.rollback()- raise- finally:- db.close()-- def get_page_revisions(self, space_id: str, page_id: str) -> List[PageRevision]:- db: Session = SessionLocal()- try:- revs = db.query(PageRevisionDB).filter(- PageRevisionDB.space_id == space_id,- PageRevisionDB.page_id == page_id- ).order_by(PageRevisionDB.version.desc()).all()- return [- PageRevision(- id=r.id,- page_id=r.page_id,- space_id=r.space_id,- version=r.version,- title=r.title,- content=r.content,- author=r.author,- created_at=r.created_at,- )- for r in revs- ]- finally:- db.close()-- def restore_page_revision(self, space_id: str, page_id: str, target_version: int, author: str = "You") -> Optional[Page]:- db: Session = SessionLocal()- try:- p = db.query(OpenPageDB).filter(OpenPageDB.space_id == space_id, OpenPageDB.id == page_id).first()- if not p:- return None- rev = db.query(PageRevisionDB).filter(- PageRevisionDB.space_id == space_id,- PageRevisionDB.page_id == page_id,- PageRevisionDB.version == target_version- ).first()- if not rev:- return None-- p.title = rev.title- p.content = rev.content- p.version = (p.version or 1) + 1- p.updated_at = datetime.utcnow()-- new_rev = PageRevisionDB(- id=f"rev-{uuid.uuid4().hex[:8]}",- page_id=p.id,- space_id=space_id,- version=p.version,- title=p.title,- content=p.content,- author=f"{author} (restored v{target_version})",- created_at=p.updated_at- )- db.add(new_rev)- db.commit()- db.refresh(p)- return Page(- id=p.id,- space_id=p.space_id,- title=p.title,- content=p.content,- icon=p.icon,- status=p.status,- author=p.author,- version=p.version,- parent_id=p.parent_id,- order=p.order or 0,- created_at=p.created_at,- updated_at=p.updated_at,- )- except Exception:- db.rollback()- raise- finally:- db.close()-- def delete_page(self, space_id: str, page_id: str) -> bool:- db: Session = SessionLocal()- try:- p = db.query(OpenPageDB).filter(OpenPageDB.space_id == space_id, OpenPageDB.id == page_id).first()- if not p:- return False- db.delete(p)- db.commit()- return True- finally:- db.close()-- # --- Message Operations ---- def get_messages(self, space_id: str) -> List[Message]:- db: Session = SessionLocal()- try:- records = db.query(OpenMessageDB).filter(OpenMessageDB.space_id == space_id).order_by(OpenMessageDB.timestamp.asc()).all()- return [- Message(- id=m.id,- space_id=m.space_id,- sender_type=m.sender_type,- sender_name=m.sender_name,- sender_avatar=m.sender_avatar,- content=m.content,- referenced_page_id=m.referenced_page_id,- timestamp=m.timestamp,- )- for m in records- ]- finally:- db.close()-- def add_message(self, space_id: str, msg_data: MessageCreate) -> Optional[Message]:- db: Session = SessionLocal()- try:- space = db.query(OpenSpaceDB).filter(OpenSpaceDB.id == space_id).first()- if not space:- return None- msg_id = f"msg-{uuid.uuid4().hex[:8]}"- m = OpenMessageDB(- id=msg_id,- space_id=space_id,- sender_type=msg_data.sender_type,- sender_name=msg_data.sender_name,- sender_avatar=msg_data.sender_avatar,- content=msg_data.content,- referenced_page_id=msg_data.referenced_page_id,- timestamp=datetime.utcnow(),- )- db.add(m)- space.updated_at = datetime.utcnow()- db.commit()- db.refresh(m)- return Message(- id=m.id,- space_id=m.space_id,- sender_type=m.sender_type,- sender_name=m.sender_name,- sender_avatar=m.sender_avatar,- content=m.content,- referenced_page_id=m.referenced_page_id,- timestamp=m.timestamp,- )- finally:- db.close()-- # --- Meeting Operations ---- def get_meetings(self, space_id: str) -> List[MeetingNote]:- db: Session = SessionLocal()- try:- records = db.query(OpenMeetingDB).filter(OpenMeetingDB.space_id == space_id).order_by(OpenMeetingDB.created_at.desc()).all()- return [- MeetingNote(- id=mt.id,- space_id=mt.space_id,- title=mt.title,- summary=mt.summary,- transcript=mt.transcript,- action_items=mt.action_items or [],- duration_seconds=mt.duration_seconds,- created_at=mt.created_at,- )- for mt in records- ]- finally:- db.close()-- def create_meeting(self, space_id: str, meeting_data: MeetingNoteCreate) -> Optional[MeetingNote]:- db: Session = SessionLocal()- try:- space = db.query(OpenSpaceDB).filter(OpenSpaceDB.id == space_id).first()- if not space:- return None- meet_id = f"meet-{uuid.uuid4().hex[:8]}"- mt = OpenMeetingDB(- id=meet_id,- space_id=space_id,- title=meeting_data.title,- summary=meeting_data.summary,- transcript=meeting_data.transcript,- action_items=meeting_data.action_items or [],- duration_seconds=meeting_data.duration_seconds,- created_at=datetime.utcnow(),- )- db.add(mt)- space.updated_at = datetime.utcnow()- db.commit()- db.refresh(mt)- return MeetingNote(- id=mt.id,- space_id=mt.space_id,- title=mt.title,- summary=mt.summary,- transcript=mt.transcript,- action_items=mt.action_items or [],- duration_seconds=mt.duration_seconds,- created_at=mt.created_at,- )- finally:- db.close()-- # --- Activity Log ---- def record_activity(- self,- db: Session,- space_id: str,- user_id: str,- user_name: str,- action_type: str,- summary: str,- page_id: Optional[str] = None- ) -> OpenActivityDB:- act = OpenActivityDB(- id=f"act-{uuid.uuid4().hex[:8]}",- space_id=space_id,- page_id=page_id,- user_id=user_id,- user_name=user_name,- action_type=action_type,- summary=summary,- created_at=datetime.utcnow()- )- db.add(act)- return act-- def get_space_activities(self, space_id: str, limit: int = 50) -> List[ActivityItem]:- db: Session = SessionLocal()- try:- records = db.query(OpenActivityDB).filter(- OpenActivityDB.space_id == space_id- ).order_by(OpenActivityDB.created_at.desc()).limit(limit).all()- return [- ActivityItem(- id=a.id,- space_id=a.space_id,- page_id=a.page_id,- user_id=a.user_id,- user_name=a.user_name,- action_type=a.action_type,- summary=a.summary,- created_at=a.created_at,- )- for a in records- ]- finally:- db.close()-- # --- Comments ---- def get_page_comments(self, space_id: str, page_id: str) -> List[Comment]:- db: Session = SessionLocal()- try:- records = db.query(OpenCommentDB).filter(- OpenCommentDB.space_id == space_id,- OpenCommentDB.page_id == page_id- ).order_by(OpenCommentDB.created_at.asc()).all()- return [- Comment(- id=c.id,- page_id=c.page_id,- space_id=c.space_id,- user_id=c.user_id,- user_name=c.user_name,- user_avatar=c.user_avatar,- content=c.content,- parent_id=c.parent_id,- resolved=c.resolved,- created_at=c.created_at,- updated_at=c.updated_at,- )- for c in records- ]- finally:- db.close()-- def add_comment(- self,- space_id: str,- page_id: str,- user: User,- payload: CommentCreate- ) -> Optional[Comment]:- db: Session = SessionLocal()- try:- page = db.query(OpenPageDB).filter(OpenPageDB.space_id == space_id, OpenPageDB.id == page_id).first()- if not page:- return None-- comm = OpenCommentDB(- id=f"cmt-{uuid.uuid4().hex[:8]}",- space_id=space_id,- page_id=page_id,- user_id=user.id,- user_name=user.name,- user_avatar=user.avatar,- content=payload.content,- parent_id=payload.parent_id,- resolved=False,- created_at=datetime.utcnow(),- updated_at=datetime.utcnow(),- )- db.add(comm)-- self.record_activity(- db,- space_id=space_id,- page_id=page_id,- user_id=user.id,- user_name=user.name,- action_type="comment_added",- summary=f"{user.name} commented on '{page.title}'"- )- db.commit()- db.refresh(comm)- return Comment(- id=comm.id,- page_id=comm.page_id,- space_id=comm.space_id,- user_id=comm.user_id,- user_name=comm.user_name,- user_avatar=comm.user_avatar,- content=comm.content,- parent_id=comm.parent_id,- resolved=comm.resolved,- created_at=comm.created_at,- updated_at=comm.updated_at,- )- finally:- db.close()-- def update_comment(- self,- space_id: str,- page_id: str,- comment_id: str,- payload: CommentUpdate,- user_id: str- ) -> Optional[Comment]:- db: Session = SessionLocal()- try:- comm = db.query(OpenCommentDB).filter(- OpenCommentDB.space_id == space_id,- OpenCommentDB.page_id == page_id,- OpenCommentDB.id == comment_id- ).first()- if not comm:- return None- if payload.content is not None and comm.user_id == user_id:- comm.content = payload.content- if payload.resolved is not None:- comm.resolved = payload.resolved- comm.updated_at = datetime.utcnow()- db.commit()- db.refresh(comm)- return Comment(- id=comm.id,- page_id=comm.page_id,- space_id=comm.space_id,- user_id=comm.user_id,- user_name=comm.user_name,- user_avatar=comm.user_avatar,- content=comm.content,- parent_id=comm.parent_id,- resolved=comm.resolved,- created_at=comm.created_at,- updated_at=comm.updated_at,- )- finally:- db.close()-- def delete_comment(- self,- space_id: str,- page_id: str,- comment_id: str,- user_id: str- ) -> bool:- db: Session = SessionLocal()- try:- comm = db.query(OpenCommentDB).filter(- OpenCommentDB.space_id == space_id,- OpenCommentDB.page_id == page_id,- OpenCommentDB.id == comment_id- ).first()- if not comm:- return False- db.delete(comm)- db.commit()- return True- finally:- db.close()-- # --- Scoped Search ---- def search_scoped(self, user_id: str, query: str) -> ScopedSearchResult:- db: Session = SessionLocal()- try:- q = (query or "").strip().lower()- if not q:- return ScopedSearchResult(spaces=[], pages=[])-- member_spaces = db.query(SpaceMemberDB.space_id).filter(SpaceMemberDB.user_id == user_id).all()- allowed_ids = {s[0] for s in member_spaces}-- if not allowed_ids:- all_s = db.query(OpenSpaceDB.id).all()- allowed_ids = {s[0] for s in all_s}-- matching_spaces = db.query(OpenSpaceDB).filter(- OpenSpaceDB.id.in_(allowed_ids),- (OpenSpaceDB.name.ilike(f"%{q}%") | OpenSpaceDB.description.ilike(f"%{q}%"))- ).all()-- matching_pages = db.query(OpenPageDB).filter(- OpenPageDB.space_id.in_(allowed_ids),- (OpenPageDB.title.ilike(f"%{q}%") | OpenPageDB.content.ilike(f"%{q}%"))- ).limit(20).all()-- spaces_res = [- Space(- id=s.id,- name=s.name,- description=s.description,- icon=s.icon,- color=s.color,- pinned=s.pinned,- owner_id=s.owner_id,- created_at=s.created_at,- updated_at=s.updated_at,- )- for s in matching_spaces- ]-- pages_res = [- Page(- id=p.id,- space_id=p.space_id,- title=p.title,- content=p.content,- icon=p.icon,- status=p.status,- author=p.author,- version=p.version,- parent_id=p.parent_id,- order=p.order or 0,- created_at=p.created_at,- updated_at=p.updated_at,- )- for p in matching_pages- ]-- return ScopedSearchResult(spaces=spaces_res, pages=pages_res)- finally:- db.close()--store = SupabaseSpaceService()diff --git a/server/requirements.txt b/server/requirements.txtdeleted file mode 100644index beacab6..0000000--- a/server/requirements.txt+++ /dev/null@@ -1,8 +0,0 @@-fastapi>=0.115.0-uvicorn[standard]>=0.30.0-pydantic>=2.8.0-python-dotenv>=1.0.0-websockets>=13.0-httpx>=0.27.0-aiofiles>=24.1.0-python-multipart>=0.0.9diff --git a/server/run.py b/server/run.pydeleted file mode 100644index fa09633..0000000--- a/server/run.py+++ /dev/null@@ -1,12 +0,0 @@-import uvicorn-from app.core.config import settings--if __name__ == "__main__":- print(f">> Starting {settings.PROJECT_NAME} on http://{settings.HOST}:{settings.PORT}")- print(f">> Swagger Docs available at http://localhost:{settings.PORT}/docs")- uvicorn.run(- "app.main:app",- host=settings.HOST,- port=settings.PORT,- reload=True- )diff --git a/stats.json b/stats.jsonnew file mode 100644index 0000000..12014c5--- /dev/null+++ b/stats.json@@ -0,0 +1,882 @@+{+ "AppFlowy-IO/AppFlowy": {+ "stars": 77244,+ "license": "AGPL-3.0",+ "pushedAt": "2026-10-08T11:00:14Z"+ },+ "toeverything/AFFiNE": {+ "stars": 73406,+ "license": null,+ "pushedAt": "2026-10-12T09:51:10Z"+ },+ "siyuan-note/siyuan": {+ "stars": 46735,+ "license": "AGPL-3.0",+ "pushedAt": "2026-10-12T11:25:36Z"+ },+ "logseq/logseq": {+ "stars": 45215,+ "license": "AGPL-3.0",+ "pushedAt": "2026-10-12T13:18:34Z"+ },+ "hcengineering/platform": {+ "stars": 27875,+ "license": "EPL-2.0",+ "pushedAt": "2026-10-07T13:31:18Z"+ },+ "mattermost-community/focalboard": {+ "stars": 26498,+ "license": null,+ "pushedAt": "2026-05-18T16:05:00Z"+ },+ "docmost/docmost": {+ "stars": 21949,+ "license": "AGPL-3.0",+ "pushedAt": "2026-10-12T10:08:26Z"+ },+ "mattermost/mattermost": {+ "stars": 39316,+ "license": null,+ "pushedAt": "2026-10-12T13:01:29Z"+ },+ "RocketChat/Rocket.Chat": {+ "stars": 46249,+ "license": null,+ "pushedAt": "2026-10-12T13:02:45Z"+ },+ "zulip/zulip": {+ "stars": 26031,+ "license": "Apache-2.0",+ "pushedAt": "2026-10-12T07:55:21Z"+ },+ "TryQuiet/quiet": {+ "stars": 2658,+ "license": "GPL-3.0",+ "pushedAt": "2026-09-28T10:18:49Z"+ },+ "jitsi/jitsi-meet": {+ "stars": 30075,+ "license": "Apache-2.0",+ "pushedAt": "2026-10-09T20:47:26Z"+ },+ "miroslavpejic85/mirotalksfu": {+ "stars": 3127,+ "license": "AGPL-3.0",+ "pushedAt": "2026-10-12T10:31:18Z"+ },+ "plausible/analytics": {+ "stars": 29376,+ "license": "AGPL-3.0",+ "pushedAt": "2026-10-12T13:25:51Z"+ },+ "umami-software/umami": {+ "stars": 39329,+ "license": "MIT",+ "pushedAt": "2026-10-11T22:53:50Z"+ },+ "PostHog/posthog": {+ "stars": 40239,+ "license": null,+ "pushedAt": "2026-10-12T13:26:25Z"+ },+ "matomo-org/matomo": {+ "stars": 21949,+ "license": "GPL-3.0",+ "pushedAt": "2026-10-12T10:08:00Z"+ },+ "rybbit-io/rybbit": {+ "stars": 13115,+ "license": "AGPL-3.0",+ "pushedAt": "2026-10-09T05:54:42Z"+ },+ "vinceanalytics/vince": {+ "stars": 2014,+ "license": "AGPL-3.0",+ "pushedAt": "2025-09-01T07:17:47Z"+ },+ "Litlyx/litlyx": {+ "stars": 1744,+ "license": "Apache-2.0",+ "pushedAt": "2025-12-03T16:11:28Z"+ },+ "xynehq/xyne": {+ "stars": 694,+ "license": "Apache-2.0",+ "pushedAt": "2026-10-07T23:13:49Z"+ },+ "supabase/supabase": {+ "stars": 111401,+ "license": "Apache-2.0",+ "pushedAt": "2026-10-12T13:21:39Z"+ },+ "appwrite/appwrite": {+ "stars": 57650,+ "license": "BSD-3-Clause",+ "pushedAt": "2026-10-12T13:16:17Z"+ },+ "pocketbase/pocketbase": {+ "stars": 61370,+ "license": "MIT",+ "pushedAt": "2026-10-08T16:38:14Z"+ },+ "supertokens/supertokens-core": {+ "stars": 15347,+ "license": null,+ "pushedAt": "2026-10-06T18:04:15Z"+ },+ "measure-sh/measure": {+ "stars": 1411,+ "license": "Apache-2.0",+ "pushedAt": "2026-10-12T07:22:00Z"+ },+ "coollabsio/coolify": {+ "stars": 62890,+ "license": "Apache-2.0",+ "pushedAt": "2026-10-12T13:23:16Z"+ },+ "dokku/dokku": {+ "stars": 32178,+ "license": "MIT",+ "pushedAt": "2026-10-11T20:21:15Z"+ },+ "caprover/caprover": {+ "stars": 15186,+ "license": null,+ "pushedAt": "2026-10-12T11:04:45Z"+ },+ "Dokploy/dokploy": {+ "stars": 37764,+ "license": null,+ "pushedAt": "2026-10-08T14:08:12Z"+ },+ "kubero-dev/kubero": {+ "stars": 4438,+ "license": "GPL-3.0",+ "pushedAt": "2026-09-09T23:54:32Z"+ },+ "gotempsh/temps": {+ "stars": 836,+ "license": "Apache-2.0",+ "pushedAt": "2026-10-12T12:56:17Z"+ },+ "keycloak/keycloak": {+ "stars": 37310,+ "license": "Apache-2.0",+ "pushedAt": "2026-10-12T13:05:18Z"+ },+ "ory/kratos": {+ "stars": 13917,+ "license": "Apache-2.0",+ "pushedAt": "2026-07-29T09:30:37Z"+ },+ "teamhanko/hanko": {+ "stars": 9043,+ "license": null,+ "pushedAt": "2026-10-12T12:44:10Z"+ },+ "nocodb/nocodb": {+ "stars": 65254,+ "license": null,+ "pushedAt": "2026-10-12T13:17:28Z"+ },+ "bram2w/baserow": {+ "stars": 6134,+ "license": null,+ "pushedAt": "2026-10-12T09:23:18Z"+ },+ "activepieces/activepieces": {+ "stars": 25021,+ "license": null,+ "pushedAt": "2026-10-12T13:26:27Z"+ },+ "huginn/huginn": {+ "stars": 50046,+ "license": "MIT",+ "pushedAt": "2026-10-10T19:21:46Z"+ },+ "n8n-io/n8n": {+ "stars": 207083,+ "license": null,+ "pushedAt": "2026-10-12T13:26:16Z"+ },+ "bytechefhq/bytechef": {+ "stars": 1021,+ "license": null,+ "pushedAt": "2026-10-12T12:03:47Z"+ },+ "nextcloud/server": {+ "stars": 37073,+ "license": "AGPL-3.0",+ "pushedAt": "2026-10-12T13:22:26Z"+ },+ "syncthing/syncthing": {+ "stars": 89327,+ "license": "MPL-2.0",+ "pushedAt": "2026-10-12T04:05:10Z"+ },+ "bitwarden/server": {+ "stars": 20278,+ "license": null,+ "pushedAt": "2026-10-12T13:20:06Z"+ },+ "dani-garcia/vaultwarden": {+ "stars": 68899,+ "license": "AGPL-3.0",+ "pushedAt": "2026-10-10T17:58:41Z"+ },+ "keepassxreboot/keepassxc": {+ "stars": 29191,+ "license": null,+ "pushedAt": "2026-10-10T12:23:33Z"+ },+ "KDE/krita": {+ "stars": 10534,+ "license": "GPL-3.0",+ "pushedAt": "2026-10-12T12:50:58Z"+ },+ "penpot/penpot": {+ "stars": 60950,+ "license": "MPL-2.0",+ "pushedAt": "2026-10-12T12:38:41Z"+ },+ "KDE/kdenlive": {+ "stars": 5840,+ "license": "GPL-3.0",+ "pushedAt": "2026-10-12T11:37:24Z"+ },+ "OpenShot/openshot-qt": {+ "stars": 6623,+ "license": null,+ "pushedAt": "2026-10-10T23:53:43Z"+ },+ "LibreOffice/core": {+ "stars": 4498,+ "license": "GPL-3.0",+ "pushedAt": "2026-10-12T13:24:20Z"+ },+ "ONLYOFFICE/DocumentServer": {+ "stars": 6990,+ "license": "AGPL-3.0",+ "pushedAt": "2026-10-12T11:48:19Z"+ },+ "makeplane/plane": {+ "stars": 60710,+ "license": "AGPL-3.0",+ "pushedAt": "2026-10-12T11:28:29Z"+ },+ "Paca-AI/paca": {+ "stars": 1916,+ "license": "Apache-2.0",+ "pushedAt": "2026-10-12T11:54:33Z"+ },+ "wekan/wekan": {+ "stars": 21112,+ "license": "MIT",+ "pushedAt": "2026-10-12T10:57:31Z"+ },+ "twentyhq/twenty": {+ "stars": 58244,+ "license": null,+ "pushedAt": "2026-10-12T13:26:26Z"+ },+ "chatwoot/chatwoot": {+ "stars": 37730,+ "license": null,+ "pushedAt": "2026-10-12T11:28:55Z"+ },+ "melgarafael/DeskcommCRM": {+ "stars": 4544,+ "license": "MIT",+ "pushedAt": "2026-10-11T08:44:42Z"+ },+ "chaskiq/chaskiq": {+ "stars": 3573,+ "license": null,+ "pushedAt": "2026-06-30T17:20:11Z"+ },+ "abhinavxd/libredesk": {+ "stars": 3025,+ "license": "AGPL-3.0",+ "pushedAt": "2026-10-12T10:20:50Z"+ },+ "zammad/zammad": {+ "stars": 6001,+ "license": "AGPL-3.0",+ "pushedAt": "2026-10-12T12:14:57Z"+ },+ "calcom/cal.com": {+ "stars": 48967,+ "license": "MIT",+ "pushedAt": "2026-09-26T07:48:40Z"+ },+ "formbricks/formbricks": {+ "stars": 13084,+ "license": null,+ "pushedAt": "2026-10-12T13:19:40Z"+ },+ "LimeSurvey/LimeSurvey": {+ "stars": 3762,+ "license": null,+ "pushedAt": "2026-10-12T13:07:21Z"+ },+ "knadh/listmonk": {+ "stars": 23759,+ "license": "AGPL-3.0",+ "pushedAt": "2026-10-12T02:30:31Z"+ },+ "forwardemail/forwardemail.net": {+ "stars": 1685,+ "license": null,+ "pushedAt": "2026-10-12T11:18:26Z"+ },+ "medusajs/medusa": {+ "stars": 36709,+ "license": null,+ "pushedAt": "2026-10-10T23:49:11Z"+ },+ "saleor/saleor": {+ "stars": 23433,+ "license": "BSD-3-Clause",+ "pushedAt": "2026-10-12T13:00:17Z"+ },+ "getlago/lago": {+ "stars": 10673,+ "license": "AGPL-3.0",+ "pushedAt": "2026-10-09T13:15:19Z"+ },+ "grafana/grafana": {+ "stars": 77269,+ "license": "AGPL-3.0",+ "pushedAt": "2026-10-12T13:25:14Z"+ },+ "SigNoz/signoz": {+ "stars": 32335,+ "license": null,+ "pushedAt": "2026-10-12T12:51:18Z"+ },+ "openobserve/openobserve": {+ "stars": 22326,+ "license": "AGPL-3.0",+ "pushedAt": "2026-10-12T13:26:57Z"+ },+ "laurent22/joplin": {+ "stars": 56698,+ "license": null,+ "pushedAt": "2026-10-11T15:18:55Z"+ },+ "streetwriters/notesnook": {+ "stars": 14747,+ "license": "GPL-3.0",+ "pushedAt": "2026-10-12T08:55:34Z"+ },+ "Anil-matcha/open-spaces": {+ "stars": 3397,+ "license": "MIT",+ "pushedAt": "2026-10-08T18:15:22Z"+ },+ "open-webui/open-webui": {+ "stars": 154496,+ "license": null,+ "pushedAt": "2026-10-12T11:34:48Z"+ },+ "ollama/ollama": {+ "stars": 182847,+ "license": "MIT",+ "pushedAt": "2026-10-12T06:25:26Z"+ },+ "danny-avila/LibreChat": {+ "stars": 45573,+ "license": "MIT",+ "pushedAt": "2026-10-12T13:21:06Z"+ },+ "janhq/jan": {+ "stars": 44908,+ "license": null,+ "pushedAt": "2026-10-12T11:09:23Z"+ },+ "continuedev/continue": {+ "stars": 36194,+ "license": "Apache-2.0",+ "pushedAt": "2026-10-09T21:22:45Z"+ },+ "TabbyML/tabby": {+ "stars": 33910,+ "license": null,+ "pushedAt": "2026-06-30T20:38:02Z"+ },+ "comfyanonymous/ComfyUI": {+ "stars": 137081,+ "license": "GPL-3.0",+ "pushedAt": "2026-10-12T13:11:40Z"+ },+ "AUTOMATIC1111/stable-diffusion-webui": {+ "stars": 165036,+ "license": "AGPL-3.0",+ "pushedAt": "2026-03-02T07:00:53Z"+ },+ "CapSoftware/Cap": {+ "stars": 23231,+ "license": null,+ "pushedAt": "2026-10-10T16:54:10Z"+ },+ "KartikLabhshetwar/better-shot": {+ "stars": 2381,+ "license": null,+ "pushedAt": "2026-10-11T13:54:28Z"+ },+ "excalidraw/excalidraw": {+ "stars": 133715,+ "license": "MIT",+ "pushedAt": "2026-10-12T12:44:13Z"+ },+ "jgraph/drawio": {+ "stars": 8710,+ "license": "Apache-2.0",+ "pushedAt": "2026-10-08T21:48:25Z"+ },+ "usebruno/bruno": {+ "stars": 47469,+ "license": "MIT",+ "pushedAt": "2026-10-12T13:21:31Z"+ },+ "hoppscotch/hoppscotch": {+ "stars": 80593,+ "license": "MIT",+ "pushedAt": "2026-10-12T04:41:25Z"+ },+ "alexandrehtrb/Pororoca": {+ "stars": 670,+ "license": null,+ "pushedAt": "2026-10-11T23:53:16Z"+ },+ "opentofu/opentofu": {+ "stars": 30462,+ "license": "MPL-2.0",+ "pushedAt": "2026-10-09T19:26:19Z"+ },+ "TryGhost/Ghost": {+ "stars": 55521,+ "license": "MIT",+ "pushedAt": "2026-10-12T13:25:27Z"+ },+ "appsmithorg/appsmith": {+ "stars": 41055,+ "license": "Apache-2.0",+ "pushedAt": "2026-10-12T12:54:25Z"+ },+ "ToolJet/ToolJet": {+ "stars": 41082,+ "license": "AGPL-3.0",+ "pushedAt": "2026-10-12T13:08:33Z"+ },+ "windmill-labs/windmill": {+ "stars": 18162,+ "license": null,+ "pushedAt": "2026-10-12T13:09:50Z"+ },+ "metabase/metabase": {+ "stars": 49627,+ "license": null,+ "pushedAt": "2026-10-12T13:25:55Z"+ },+ "apache/superset": {+ "stars": 75112,+ "license": "Apache-2.0",+ "pushedAt": "2026-10-12T13:26:04Z"+ },+ "dataease/dataease": {+ "stars": 24599,+ "license": null,+ "pushedAt": "2026-10-12T12:24:08Z"+ },+ "Kanaries/graphic-walker": {+ "stars": 3263,+ "license": "Apache-2.0",+ "pushedAt": "2026-10-08T03:42:10Z"+ },+ "meilisearch/meilisearch": {+ "stars": 59546,+ "license": null,+ "pushedAt": "2026-10-12T09:22:13Z"+ },+ "typesense/typesense": {+ "stars": 26867,+ "license": "GPL-3.0",+ "pushedAt": "2026-10-09T10:06:40Z"+ },+ "Unleash/unleash": {+ "stars": 13868,+ "license": "AGPL-3.0",+ "pushedAt": "2026-10-12T12:48:56Z"+ },+ "documenso/documenso": {+ "stars": 15398,+ "license": "AGPL-3.0",+ "pushedAt": "2026-10-12T12:17:12Z"+ },+ "croffasia/itsaplan": {+ "stars": 942,+ "license": "AGPL-3.0",+ "pushedAt": "2026-10-12T13:13:53Z"+ },+ "SamurAIGPT/geo-checker": {+ "stars": 14,+ "license": null,+ "pushedAt": "2026-08-02T09:37:44Z"+ },+ "every-app/open-seo": {+ "stars": 23230,+ "license": "MIT",+ "pushedAt": "2026-10-08T23:02:21Z"+ },+ "valeriansaliou/sonic": {+ "stars": 21357,+ "license": "MPL-2.0",+ "pushedAt": "2026-10-08T02:29:51Z"+ },+ "centrifugal/centrifugo": {+ "stars": 10855,+ "license": "Apache-2.0",+ "pushedAt": "2026-10-10T08:47:11Z"+ },+ "CoreBunch/Instatic": {+ "stars": 8926,+ "license": "MIT",+ "pushedAt": "2026-10-12T10:09:29Z"+ },+ "fonoster/fonoster": {+ "stars": 8132,+ "license": "MIT",+ "pushedAt": "2026-09-18T01:00:36Z"+ },+ "Openpanel-dev/openpanel": {+ "stars": 7130,+ "license": "AGPL-3.0",+ "pushedAt": "2026-10-12T10:58:05Z"+ },+ "Beingpax/VoiceInk": {+ "stars": 6759,+ "license": null,+ "pushedAt": "2026-10-01T09:16:53Z"+ },+ "zachlatta/freeflow": {+ "stars": 2872,+ "license": "MIT",+ "pushedAt": "2026-10-12T05:10:43Z"+ },+ "dograh-hq/dograh": {+ "stars": 5854,+ "license": "BSD-2-Clause",+ "pushedAt": "2026-10-12T04:26:32Z"+ },+ "Anil-matcha/ai-clipping-comfyui": {+ "stars": 28,+ "license": "MIT",+ "pushedAt": "2026-07-21T08:24:20Z"+ },+ "Anil-matcha/AI-Youtube-Shorts-Generator": {+ "stars": 5311,+ "license": "MIT",+ "pushedAt": "2026-10-11T11:19:33Z"+ },+ "usesend/useSend": {+ "stars": 4721,+ "license": "AGPL-3.0",+ "pushedAt": "2026-09-08T23:04:35Z"+ },+ "hyvor/relay": {+ "stars": 918,+ "license": "AGPL-3.0",+ "pushedAt": "2026-10-12T08:48:01Z"+ },+ "ivre/ivre": {+ "stars": 4173,+ "license": "GPL-3.0",+ "pushedAt": "2026-10-01T17:46:08Z"+ },+ "javahuang/SurveyKing": {+ "stars": 4020,+ "license": "MIT",+ "pushedAt": "2026-08-26T00:03:50Z"+ },+ "bigcapitalhq/bigcapital": {+ "stars": 3931,+ "license": "AGPL-3.0",+ "pushedAt": "2026-10-11T17:45:39Z"+ },+ "spliit-app/spliit": {+ "stars": 2981,+ "license": "MIT",+ "pushedAt": "2026-10-11T04:40:51Z"+ },+ "oss-apps/split-pro": {+ "stars": 1469,+ "license": "MIT",+ "pushedAt": "2026-10-10T04:55:35Z"+ },+ "serversideup/financial-freedom": {+ "stars": 2942,+ "license": "GPL-3.0",+ "pushedAt": "2026-09-28T15:15:59Z"+ },+ "Natively-AI-assistant/natively-cluely-ai-assistant": {+ "stars": 2908,+ "license": null,+ "pushedAt": "2026-10-12T04:14:13Z"+ },+ "iamsrikanthnani/pluely": {+ "stars": 2727,+ "license": "GPL-3.0",+ "pushedAt": "2026-09-21T06:53:11Z"+ },+ "sorry-cypress/sorry-cypress": {+ "stars": 2810,+ "license": "MIT",+ "pushedAt": "2025-09-14T00:43:07Z"+ },+ "laudspeaker/laudspeaker": {+ "stars": 2628,+ "license": null,+ "pushedAt": "2026-07-10T17:26:33Z"+ },+ "usertour/usertour": {+ "stars": 2321,+ "license": null,+ "pushedAt": "2026-10-12T12:48:04Z"+ },+ "Anil-matcha/Open-Generative-AI": {+ "stars": 30122,+ "license": "MIT",+ "pushedAt": "2026-10-11T11:18:40Z"+ },+ "SamurAIGPT/Vibe-Workflow": {+ "stars": 620,+ "license": "MIT",+ "pushedAt": "2026-09-17T15:37:33Z"+ },+ "SamurAIGPT/social-post": {+ "stars": 44,+ "license": null,+ "pushedAt": "2026-07-27T10:24:34Z"+ },+ "Anil-matcha/Free-AI-Social-Media-Scheduler": {+ "stars": 5,+ "license": "MIT",+ "pushedAt": "2026-10-07T14:41:37Z"+ },+ "brightbeanxyz/brightbean-studio": {+ "stars": 2453,+ "license": "AGPL-3.0",+ "pushedAt": "2026-10-12T13:26:42Z"+ },+ "lzhgus/Capso": {+ "stars": 1393,+ "license": null,+ "pushedAt": "2026-10-11T20:57:05Z"+ },+ "andydunstall/piko": {+ "stars": 2200,+ "license": "MIT",+ "pushedAt": "2026-10-12T10:31:54Z"+ },+ "run-llama/notebookllama": {+ "stars": 1977,+ "license": "MIT",+ "pushedAt": "2026-03-02T08:58:20Z"+ },+ "theaiautomators/insights-lm-public": {+ "stars": 658,+ "license": "MIT",+ "pushedAt": "2026-01-16T13:45:31Z"+ },+ "classroomio/classroomio": {+ "stars": 1717,+ "license": "AGPL-3.0",+ "pushedAt": "2026-10-12T12:10:02Z"+ },+ "codelitdev/courselit": {+ "stars": 1274,+ "license": "AGPL-3.0",+ "pushedAt": "2026-10-09T03:00:08Z"+ },+ "hexdocom/lemonai": {+ "stars": 1571,+ "license": null,+ "pushedAt": "2026-02-03T10:39:31Z"+ },+ "wundergraph/cosmo": {+ "stars": 1274,+ "license": "Apache-2.0",+ "pushedAt": "2026-10-12T13:16:48Z"+ },+ "AFK-surf/open-agent": {+ "stars": 1031,+ "license": "Apache-2.0",+ "pushedAt": "2025-10-10T08:38:46Z"+ },+ "PhialsBasement/LibreCrawl": {+ "stars": 1021,+ "license": "MIT",+ "pushedAt": "2026-09-29T08:57:57Z"+ },+ "goposta/posta": {+ "stars": 524,+ "license": "AGPL-3.0",+ "pushedAt": "2026-10-11T18:38:09Z"+ },+ "Anil-matcha/open-agent-connector": {+ "stars": 838,+ "license": null,+ "pushedAt": "2026-10-12T13:09:01Z"+ },+ "captableinc/captable": {+ "stars": 823,+ "license": "AGPL-3.0",+ "pushedAt": "2025-06-04T07:53:09Z"+ },+ "vkuznecovas/mouthful": {+ "stars": 775,+ "license": "MIT",+ "pushedAt": "2025-10-08T07:27:12Z"+ },+ "MichaelBarney/LinkFree": {+ "stars": 691,+ "license": "Apache-2.0",+ "pushedAt": "2026-04-24T23:31:12Z"+ },+ "Anil-matcha/open-dots": {+ "stars": 5727,+ "license": null,+ "pushedAt": "2026-10-11T05:48:21Z"+ },+ "Anil-matcha/open-grok-bot": {+ "stars": 12,+ "license": null,+ "pushedAt": "2026-09-20T05:10:03Z"+ },+ "Anil-matcha/Open-AI-Design-Agent": {+ "stars": 447,+ "license": "MIT",+ "pushedAt": "2026-10-01T10:58:02Z"+ },+ "Anil-matcha/Open-AI-UGC": {+ "stars": 363,+ "license": "MIT",+ "pushedAt": "2026-10-01T10:58:04Z"+ },+ "SamurAIGPT/ai-character-studio": {+ "stars": 21,+ "license": null,+ "pushedAt": "2026-07-27T10:43:18Z"+ },+ "Anil-matcha/open-character-ai": {+ "stars": 53,+ "license": null,+ "pushedAt": "2026-09-29T07:16:58Z"+ },+ "Anil-matcha/open-claude-tag": {+ "stars": 17,+ "license": "MIT",+ "pushedAt": "2026-08-17T06:51:31Z"+ },+ "SamurAIGPT/ai-resume-builder": {+ "stars": 10,+ "license": null,+ "pushedAt": "2026-07-27T10:38:12Z"+ },+ "SamurAIGPT/my-podcast": {+ "stars": 12,+ "license": null,+ "pushedAt": "2026-07-27T10:26:27Z"+ },+ "SamurAIGPT/clearmark-ai": {+ "stars": 9,+ "license": null,+ "pushedAt": "2026-08-02T09:37:40Z"+ },+ "SamurAIGPT/ai-logo-studio": {+ "stars": 8,+ "license": null,+ "pushedAt": "2026-07-27T10:39:46Z"+ },+ "SamurAIGPT/resale-photo-enhancer": {+ "stars": 8,+ "license": null,+ "pushedAt": "2026-07-27T10:24:58Z"+ },+ "SamurAIGPT/ai-wedding-photo": {+ "stars": 6,+ "license": null,+ "pushedAt": "2026-08-02T09:37:36Z"+ },+ "SamurAIGPT/old-photo-restore": {+ "stars": 13,+ "license": null,+ "pushedAt": "2026-07-27T10:26:07Z"+ },+ "SamurAIGPT/ai-royal-portrait": {+ "stars": 4,+ "license": null,+ "pushedAt": "2026-08-02T09:37:30Z"+ },+ "SamurAIGPT/magicself-ai": {+ "stars": 6,+ "license": null,+ "pushedAt": "2026-08-02T09:37:46Z"+ },+ "SamurAIGPT/amazon-product-studio": {+ "stars": 16,+ "license": null,+ "pushedAt": "2026-09-02T15:03:07Z"+ },+ "SamurAIGPT/pet-product-studio": {+ "stars": 5,+ "license": null,+ "pushedAt": "2026-07-27T10:25:56Z"+ },+ "SamurAIGPT/ai-tryon": {+ "stars": 15,+ "license": null,+ "pushedAt": "2026-09-02T15:03:07Z"+ },+ "SamurAIGPT/ai-hair-style-simulator": {+ "stars": 12,+ "license": null,+ "pushedAt": "2026-08-02T09:37:18Z"+ },+ "SamurAIGPT/ai-professional-makeup-generator": {+ "stars": 10,+ "license": null,+ "pushedAt": "2026-08-02T09:37:26Z"+ },+ "SamurAIGPT/ai-room-declutter": {+ "stars": 7,+ "license": null,+ "pushedAt": "2026-08-02T09:37:28Z"+ },+ "SamurAIGPT/mail-wise": {+ "stars": 7,+ "license": null,+ "pushedAt": "2026-07-27T10:26:41Z"+ },+ "SamurAIGPT/prompt-architect": {+ "stars": 23,+ "license": null,+ "pushedAt": "2026-07-27T10:25:22Z"+ },+ "SamurAIGPT/ai-tattoo-try-on": {+ "stars": 4,+ "license": null,+ "pushedAt": "2026-08-02T09:37:32Z"+ },+ "SamurAIGPT/ai-kid-to-adult-prediction": {+ "stars": 2,+ "license": null,+ "pushedAt": "2026-08-02T09:37:22Z"+ },+ "SamurAIGPT/ai-saas-starter": {+ "stars": 25,+ "license": null,+ "pushedAt": "2026-08-02T09:38:06Z"+ }+}