Spaces:
No application file
No application file
Upload full project files to Hugging Face Space
Browse filesThis view is limited to 50 files because it contains too many changes. See raw diff
- .github/ISSUE_TEMPLATE/bug_report.md +27 -0
- .github/ISSUE_TEMPLATE/custom.md +7 -0
- .github/ISSUE_TEMPLATE/feature_request.md +19 -0
- .gitignore +77 -0
- CONTRIBUTING.md +158 -0
- LICENCE +21 -0
- README.md +135 -10
- backend.log +1 -0
- backend/README.md +15 -0
- backend/bun.lock +315 -0
- backend/config.ts +7 -0
- backend/package-lock.json +840 -0
- backend/package.json +20 -0
- backend/src/Dockerfile +20 -0
- backend/src/index.ts +33 -0
- backend/src/routes/chat.ts +90 -0
- backend/src/routes/containers.ts +321 -0
- backend/src/services/docker.ts +315 -0
- backend/src/services/export.ts +52 -0
- backend/src/services/file.ts +443 -0
- backend/src/services/llm.ts +254 -0
- backend/src/services/package.ts +18 -0
- backend/src/utils/prompt.txt +1142 -0
- backend/tsconfig.json +28 -0
- config.ts +9 -0
- frontend.log +1 -0
- frontend/README.md +36 -0
- frontend/bun.lock +843 -0
- frontend/next.config.ts +8 -0
- frontend/package-lock.json +0 -0
- frontend/package.json +31 -0
- frontend/postcss.config.mjs +5 -0
- frontend/public/december-logo.png +0 -0
- frontend/public/django-logo.png +0 -0
- frontend/public/express-logo.png +0 -0
- frontend/public/file.svg +1 -0
- frontend/public/globe.svg +1 -0
- frontend/public/logo-black.png +0 -0
- frontend/public/logo-white.png +0 -0
- frontend/public/next.svg +1 -0
- frontend/public/nextjs-logo.png +0 -0
- frontend/public/suisse.ttf +0 -0
- frontend/public/vercel.svg +1 -0
- frontend/public/vue-logo.png +0 -0
- frontend/public/window.svg +1 -0
- frontend/public/xspace.ttf +0 -0
- frontend/src/app/community/components/CommunityPage.tsx +165 -0
- frontend/src/app/community/page.tsx +5 -0
- frontend/src/app/create/components/ChatInput.tsx +231 -0
- frontend/src/app/create/components/ChatMessage.tsx +678 -0
.github/ISSUE_TEMPLATE/bug_report.md
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
name: Bug report
|
| 3 |
+
about: Create an issue to help us fix bugs
|
| 4 |
+
title: ''
|
| 5 |
+
labels: bug
|
| 6 |
+
assignees: ''
|
| 7 |
+
---
|
| 8 |
+
|
| 9 |
+
**Describe the bug**
|
| 10 |
+
A clear and concise description of what the bug is.
|
| 11 |
+
|
| 12 |
+
**To Reproduce**
|
| 13 |
+
Steps to reproduce the behavior:
|
| 14 |
+
|
| 15 |
+
1. Go to '...'
|
| 16 |
+
2. Click on '....'
|
| 17 |
+
3. Scroll down to '....'
|
| 18 |
+
4. See error
|
| 19 |
+
|
| 20 |
+
**Expected behavior**
|
| 21 |
+
A clear and concise description of what you expected to happen.
|
| 22 |
+
|
| 23 |
+
**Screenshots**
|
| 24 |
+
If applicable, add screenshots to help explain your problem.
|
| 25 |
+
|
| 26 |
+
**Additional context**
|
| 27 |
+
Add any other context about the problem here.
|
.github/ISSUE_TEMPLATE/custom.md
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
name: Custom issue template
|
| 3 |
+
about: Describe this issue template's purpose here.
|
| 4 |
+
title: ''
|
| 5 |
+
labels: ''
|
| 6 |
+
assignees: ''
|
| 7 |
+
---
|
.github/ISSUE_TEMPLATE/feature_request.md
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
name: Feature request
|
| 3 |
+
about: Suggest an idea for this project
|
| 4 |
+
title: ''
|
| 5 |
+
labels: enhancement
|
| 6 |
+
assignees: ''
|
| 7 |
+
---
|
| 8 |
+
|
| 9 |
+
**Is your feature request related to a problem? Please describe.**
|
| 10 |
+
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
|
| 11 |
+
|
| 12 |
+
**Describe the solution you'd like**
|
| 13 |
+
A clear and concise description of what you want to happen.
|
| 14 |
+
|
| 15 |
+
**Describe alternatives you've considered**
|
| 16 |
+
A clear and concise description of any alternative solutions or features you've considered.
|
| 17 |
+
|
| 18 |
+
**Additional context**
|
| 19 |
+
Add any other context or screenshots about the feature request here.
|
.gitignore
ADDED
|
@@ -0,0 +1,77 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# dependencies (bun install)
|
| 2 |
+
node_modules
|
| 3 |
+
|
| 4 |
+
# output
|
| 5 |
+
out
|
| 6 |
+
dist
|
| 7 |
+
*.tgz
|
| 8 |
+
|
| 9 |
+
# code coverage
|
| 10 |
+
coverage
|
| 11 |
+
*.lcov
|
| 12 |
+
|
| 13 |
+
# logs
|
| 14 |
+
logs
|
| 15 |
+
_.log
|
| 16 |
+
report.[0-9]_.[0-9]_.[0-9]_.[0-9]_.json
|
| 17 |
+
|
| 18 |
+
# dotenv environment variable files
|
| 19 |
+
.env
|
| 20 |
+
.env.development.local
|
| 21 |
+
.env.test.local
|
| 22 |
+
.env.production.local
|
| 23 |
+
.env.local
|
| 24 |
+
|
| 25 |
+
# caches
|
| 26 |
+
.eslintcache
|
| 27 |
+
.cache
|
| 28 |
+
*.tsbuildinfo
|
| 29 |
+
|
| 30 |
+
# IntelliJ based IDEs
|
| 31 |
+
.idea
|
| 32 |
+
|
| 33 |
+
# Finder (MacOS) folder config
|
| 34 |
+
.DS_Store
|
| 35 |
+
|
| 36 |
+
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
|
| 37 |
+
|
| 38 |
+
# dependencies
|
| 39 |
+
/node_modules
|
| 40 |
+
/.pnp
|
| 41 |
+
.pnp.*
|
| 42 |
+
.yarn/*
|
| 43 |
+
!.yarn/patches
|
| 44 |
+
!.yarn/plugins
|
| 45 |
+
!.yarn/releases
|
| 46 |
+
!.yarn/versions
|
| 47 |
+
|
| 48 |
+
# testing
|
| 49 |
+
/coverage
|
| 50 |
+
|
| 51 |
+
# next.js
|
| 52 |
+
/.next/
|
| 53 |
+
/out/
|
| 54 |
+
.next
|
| 55 |
+
|
| 56 |
+
# production
|
| 57 |
+
/build
|
| 58 |
+
|
| 59 |
+
# misc
|
| 60 |
+
.DS_Store
|
| 61 |
+
*.pem
|
| 62 |
+
|
| 63 |
+
# debug
|
| 64 |
+
npm-debug.log*
|
| 65 |
+
yarn-debug.log*
|
| 66 |
+
yarn-error.log*
|
| 67 |
+
.pnpm-debug.log*
|
| 68 |
+
|
| 69 |
+
# env files (can opt-in for committing if needed)
|
| 70 |
+
.env*
|
| 71 |
+
|
| 72 |
+
# vercel
|
| 73 |
+
.vercel
|
| 74 |
+
|
| 75 |
+
# typescript
|
|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|
|
|
| 1 |
+
<!-- omit in toc -->
|
| 2 |
+
|
| 3 |
+
# Contributing to December
|
| 4 |
+
|
| 5 |
+
First off, thanks for taking the time to contribute! ❤️
|
| 6 |
+
|
| 7 |
+
All types of contributions are encouraged and valued. See the [Table of Contents](#table-of-contents) for different ways to help and details about how this project handles them. Please make sure to read the relevant section before making your contribution. It will make it a lot easier for us maintainers and smooth out the experience for all involved. The community looks forward to your contributions. 🎉
|
| 8 |
+
|
| 9 |
+
> And if you like the project, but just don't have time to contribute, that's fine. There are other easy ways to support the project and show your appreciation, which we would also be very happy about:
|
| 10 |
+
>
|
| 11 |
+
> - Star the project
|
| 12 |
+
> - Tweet about it
|
| 13 |
+
> - Refer this project in your project's readme
|
| 14 |
+
> - Mention the project at local meetups and tell your friends/colleagues
|
| 15 |
+
|
| 16 |
+
<!-- omit in toc -->
|
| 17 |
+
|
| 18 |
+
## Table of Contents
|
| 19 |
+
|
| 20 |
+
- [I Have a Question](#i-have-a-question)
|
| 21 |
+
- [I Want To Contribute](#i-want-to-contribute)
|
| 22 |
+
- [Reporting Bugs](#reporting-bugs)
|
| 23 |
+
- [Suggesting Enhancements](#suggesting-enhancements)
|
| 24 |
+
- [Your First Code Contribution](#your-first-code-contribution)
|
| 25 |
+
- [Improving The Documentation](#improving-the-documentation)
|
| 26 |
+
- [Styleguides](#styleguides)
|
| 27 |
+
- [Commit Messages](#commit-messages)
|
| 28 |
+
- [Join The Project Team](#join-the-project-team)
|
| 29 |
+
|
| 30 |
+
## I Have a Question
|
| 31 |
+
|
| 32 |
+
> If you want to ask a question, we assume that you have read the available [Documentation]().
|
| 33 |
+
|
| 34 |
+
Before you ask a question, it is best to search for existing [Issues](https://github.com/ntegrals/december/issues) that might help you. In case you have found a suitable issue and still need clarification, you can write your question in this issue. It is also advisable to search the internet for answers first.
|
| 35 |
+
|
| 36 |
+
If you then still feel the need to ask a question and need clarification, we recommend the following:
|
| 37 |
+
|
| 38 |
+
- Open an [Issue](https://github.com/ntegrals/december/issues/new).
|
| 39 |
+
- Provide as much context as you can about what you're running into.
|
| 40 |
+
- Provide project and platform versions (nodejs, npm, etc), depending on what seems relevant.
|
| 41 |
+
|
| 42 |
+
We will then take care of the issue as soon as possible.
|
| 43 |
+
|
| 44 |
+
<!--
|
| 45 |
+
You might want to create a separate issue tag for questions and include it in this description. People should then tag their issues accordingly.
|
| 46 |
+
|
| 47 |
+
Depending on how large the project is, you may want to outsource the questioning, e.g. to Stack Overflow or Gitter. You may add additional contact and information possibilities:
|
| 48 |
+
- IRC
|
| 49 |
+
- Slack
|
| 50 |
+
- Gitter
|
| 51 |
+
- Stack Overflow tag
|
| 52 |
+
- Blog
|
| 53 |
+
- FAQ
|
| 54 |
+
- Roadmap
|
| 55 |
+
- E-Mail List
|
| 56 |
+
- Forum
|
| 57 |
+
-->
|
| 58 |
+
|
| 59 |
+
## I Want To Contribute
|
| 60 |
+
|
| 61 |
+
> ### Legal Notice <!-- omit in toc -->
|
| 62 |
+
>
|
| 63 |
+
> When contributing to this project, you must agree that you have authored 100% of the content, that you have the necessary rights to the content and that the content you contribute may be provided under the project license.
|
| 64 |
+
|
| 65 |
+
### Reporting Bugs
|
| 66 |
+
|
| 67 |
+
<!-- omit in toc -->
|
| 68 |
+
|
| 69 |
+
#### Before Submitting a Bug Report
|
| 70 |
+
|
| 71 |
+
A good bug report shouldn't leave others needing to chase you up for more information. Therefore, we ask you to investigate carefully, collect information and describe the issue in detail in your report. Please complete the following steps in advance to help us fix any potential bug as fast as possible.
|
| 72 |
+
|
| 73 |
+
- Make sure that you are using the latest version.
|
| 74 |
+
- Determine if your bug is really a bug and not an error on your side e.g. using incompatible environment components/versions (Make sure that you have read the [documentation](). If you are looking for support, you might want to check [this section](#i-have-a-question)).
|
| 75 |
+
- To see if other users have experienced (and potentially already solved) the same issue you are having, check if there is not already a bug report existing for your bug or error in the [bug tracker](https://github.com/ntegrals/december/issues?q=label%3Abug).
|
| 76 |
+
- Also make sure to search the internet (including Stack Overflow) to see if users outside of the GitHub community have discussed the issue.
|
| 77 |
+
- Collect information about the bug:
|
| 78 |
+
- Stack trace (Traceback)
|
| 79 |
+
- OS, Platform and Version (Windows, Linux, macOS, x86, ARM)
|
| 80 |
+
- Version of the interpreter, compiler, SDK, runtime environment, package manager, depending on what seems relevant.
|
| 81 |
+
- Possibly your input and the output
|
| 82 |
+
- Can you reliably reproduce the issue? And can you also reproduce it with older versions?
|
| 83 |
+
|
| 84 |
+
<!-- omit in toc -->
|
| 85 |
+
|
| 86 |
+
#### How Do I Submit a Good Bug Report?
|
| 87 |
+
|
| 88 |
+
> You must never report security related issues, vulnerabilities or bugs including sensitive information to the issue tracker, or elsewhere in public. Instead sensitive bugs must be sent by email to <>.
|
| 89 |
+
|
| 90 |
+
<!-- You may add a PGP key to allow the messages to be sent encrypted as well. -->
|
| 91 |
+
|
| 92 |
+
We use GitHub issues to track bugs and errors. If you run into an issue with the project:
|
| 93 |
+
|
| 94 |
+
- Open an [Issue](https://github.com/ntegrals/december/issues/new). (Since we can't be sure at this point whether it is a bug or not, we ask you not to talk about a bug yet and not to label the issue.)
|
| 95 |
+
- Explain the behavior you would expect and the actual behavior.
|
| 96 |
+
- Please provide as much context as possible and describe the _reproduction steps_ that someone else can follow to recreate the issue on their own. This usually includes your code. For good bug reports you should isolate the problem and create a reduced test case.
|
| 97 |
+
- Provide the information you collected in the previous section.
|
| 98 |
+
|
| 99 |
+
Once it's filed:
|
| 100 |
+
|
| 101 |
+
- The project team will label the issue accordingly.
|
| 102 |
+
- A team member will try to reproduce the issue with your provided steps. If there are no reproduction steps or no obvious way to reproduce the issue, the team will ask you for those steps and mark the issue as `needs-repro`. Bugs with the `needs-repro` tag will not be addressed until they are reproduced.
|
| 103 |
+
- If the team is able to reproduce the issue, it will be marked `needs-fix`, as well as possibly other tags (such as `critical`), and the issue will be left to be [implemented by someone](#your-first-code-contribution).
|
| 104 |
+
|
| 105 |
+
<!-- You might want to create an issue template for bugs and errors that can be used as a guide and that defines the structure of the information to be included. If you do so, reference it here in the description. -->
|
| 106 |
+
|
| 107 |
+
### Suggesting Enhancements
|
| 108 |
+
|
| 109 |
+
This section guides you through submitting an enhancement suggestion for December, **including completely new features and minor improvements to existing functionality**. Following these guidelines will help maintainers and the community to understand your suggestion and find related suggestions.
|
| 110 |
+
|
| 111 |
+
<!-- omit in toc -->
|
| 112 |
+
|
| 113 |
+
#### Before Submitting an Enhancement
|
| 114 |
+
|
| 115 |
+
- Make sure that you are using the latest version.
|
| 116 |
+
- Read the [documentation]() carefully and find out if the functionality is already covered, maybe by an individual configuration.
|
| 117 |
+
- Perform a [search](https://github.com/ntegrals/december/issues) to see if the enhancement has already been suggested. If it has, add a comment to the existing issue instead of opening a new one.
|
| 118 |
+
- Find out whether your idea fits with the scope and aims of the project. It's up to you to make a strong case to convince the project's developers of the merits of this feature. Keep in mind that we want features that will be useful to the majority of our users and not just a small subset. If you're just targeting a minority of users, consider writing an add-on/plugin library.
|
| 119 |
+
|
| 120 |
+
<!-- omit in toc -->
|
| 121 |
+
|
| 122 |
+
#### How Do I Submit a Good Enhancement Suggestion?
|
| 123 |
+
|
| 124 |
+
Enhancement suggestions are tracked as [GitHub issues](https://github.com/ntegrals/december/issues).
|
| 125 |
+
|
| 126 |
+
- Use a **clear and descriptive title** for the issue to identify the suggestion.
|
| 127 |
+
- Provide a **step-by-step description of the suggested enhancement** in as many details as possible.
|
| 128 |
+
- **Describe the current behavior** and **explain which behavior you expected to see instead** and why. At this point you can also tell which alternatives do not work for you.
|
| 129 |
+
- You may want to **include screenshots and animated GIFs** which help you demonstrate the steps or point out the part which the suggestion is related to. You can use [this tool](https://www.cockos.com/licecap/) to record GIFs on macOS and Windows, and [this tool](https://github.com/colinkeenan/silentcast) or [this tool](https://github.com/GNOME/byzanz) on Linux. <!-- this should only be included if the project has a GUI -->
|
| 130 |
+
- **Explain why this enhancement would be useful** to most December users. You may also want to point out the other projects that solved it better and which could serve as inspiration.
|
| 131 |
+
|
| 132 |
+
<!-- You might want to create an issue template for enhancement suggestions that can be used as a guide and that defines the structure of the information to be included. If you do so, reference it here in the description. -->
|
| 133 |
+
|
| 134 |
+
### Your First Code Contribution
|
| 135 |
+
|
| 136 |
+
<!-- TODO
|
| 137 |
+
include Setup of env, IDE and typical getting started instructions?
|
| 138 |
+
|
| 139 |
+
-->
|
| 140 |
+
|
| 141 |
+
### Improving The Documentation
|
| 142 |
+
|
| 143 |
+
<!-- TODO
|
| 144 |
+
Updating, improving and correcting the documentation
|
| 145 |
+
|
| 146 |
+
-->
|
| 147 |
+
|
| 148 |
+
## Styleguides
|
| 149 |
+
|
| 150 |
+
### Commit Messages
|
| 151 |
+
|
| 152 |
+
<!-- TODO
|
| 153 |
+
|
| 154 |
+
-->
|
| 155 |
+
|
| 156 |
+
## Join The Project Team
|
| 157 |
+
|
| 158 |
+
<!-- TODO -->
|
LICENCE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
MIT License
|
| 2 |
+
|
| 3 |
+
Copyright (c) [2025] [Julian Schoen]
|
| 4 |
+
|
| 5 |
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
| 6 |
+
of this software and associated documentation files (the "Software"), to deal
|
| 7 |
+
in the Software without restriction, including without limitation the rights
|
| 8 |
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
| 9 |
+
copies of the Software, and to permit persons to whom the Software is
|
| 10 |
+
furnished to do so, subject to the following conditions:
|
| 11 |
+
|
| 12 |
+
The above copyright notice and this permission notice shall be included in all
|
| 13 |
+
copies or substantial portions of the Software.
|
| 14 |
+
|
| 15 |
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
| 16 |
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
| 17 |
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
| 18 |
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
| 19 |
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
| 20 |
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
| 21 |
+
SOFTWARE.
|
README.md
CHANGED
|
@@ -1,10 +1,135 @@
|
|
| 1 |
-
-
|
| 2 |
-
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
--
|
| 9 |
-
|
| 10 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<a name="readme-top"></a>
|
| 2 |
+
|
| 3 |
+
<div align="center">
|
| 4 |
+
|
| 5 |
+
<h3 align="center">Say hi to December ☃️</h3>
|
| 6 |
+
|
| 7 |
+
<p align="center">
|
| 8 |
+
December is an open-source alternative to AI-powered development platforms like Loveable, Replit, and Bolt that you can run locally with your own API keys, ensuring complete privacy and significant cost savings.
|
| 9 |
+
<br />
|
| 10 |
+
<br />
|
| 11 |
+
December lets you build full-stack applications from simple text prompts using AI.
|
| 12 |
+
<br />
|
| 13 |
+
<br />
|
| 14 |
+
<a href="#get-started">Get started</a>
|
| 15 |
+
·
|
| 16 |
+
<a href="https://github.com/ntegrals/december/issues/new?assignees=&labels=bug&projects=&template=bug_report.md&title=">Report Bug</a>
|
| 17 |
+
·
|
| 18 |
+
<a href="https://github.com/ntegrals/december/issues/new?assignees=&labels=enhancement&projects=&template=feature_request.md&title=">Request Feature</a>
|
| 19 |
+
|
| 20 |
+
</p>
|
| 21 |
+
</div>
|
| 22 |
+
<a href="https://github.com/ntegrals/december">
|
| 23 |
+
<img src=".assets/preview.png" alt="December Preview">
|
| 24 |
+
</a>
|
| 25 |
+
|
| 26 |
+
## Features
|
| 27 |
+
|
| 28 |
+
✅ AI-powered project creation from natural language prompts
|
| 29 |
+
✅ Containerized Next.js applications with Docker
|
| 30 |
+
✅ Live preview with mobile and desktop views
|
| 31 |
+
✅ Full-featured Monaco code editor with file management
|
| 32 |
+
✅ Real-time chat assistant for development help
|
| 33 |
+
✅ Project export and deployment capabilities
|
| 34 |
+
|
| 35 |
+
## Roadmap
|
| 36 |
+
|
| 37 |
+
🔄 LLM streaming support
|
| 38 |
+
🔄 Document & image attachments
|
| 39 |
+
🔄 Improved fault tolerance
|
| 40 |
+
🔄 Comprehensive test coverage
|
| 41 |
+
🔄 Multi-framework support (beyond Next.js)
|
| 42 |
+
|
| 43 |
+
## Get started
|
| 44 |
+
|
| 45 |
+
1. Clone the repo
|
| 46 |
+
|
| 47 |
+
```sh
|
| 48 |
+
git clone https://github.com/ntegrals/december
|
| 49 |
+
```
|
| 50 |
+
|
| 51 |
+
2. Get an API Key from any OpenAI sdk compatible provider (e.g. OpenAI, Claude, Ollama, OpenRouter, etc.) and set it in the `config.ts` file.
|
| 52 |
+
|
| 53 |
+
The start.sh script will automatically copy over the file into the backend folder.
|
| 54 |
+
|
| 55 |
+
I highly recommend using Sonnet-4 from Anthropic as it is the best coding model available right now.
|
| 56 |
+
|
| 57 |
+
```sh
|
| 58 |
+
baseUrl: "https://openrouter.ai/api/v1",
|
| 59 |
+
|
| 60 |
+
apiKey:
|
| 61 |
+
"sk-...",
|
| 62 |
+
|
| 63 |
+
model: "anthropic/claude-sonnet-4",
|
| 64 |
+
temperature: 0.7,
|
| 65 |
+
```
|
| 66 |
+
|
| 67 |
+
3. Install docker (Docker Desktop is the easiest way to get started)
|
| 68 |
+
|
| 69 |
+
- [Docker Desktop for Mac](https://www.docker.com/products/docker-desktop/)
|
| 70 |
+
- [Docker Desktop for Windows](https://www.docker.com/products/docker-desktop/)
|
| 71 |
+
- [Docker Engine for Linux](https://docs.docker.com/engine/install/)
|
| 72 |
+
|
| 73 |
+
Make sure you have Docker running and the Docker CLI installed before proceeding.
|
| 74 |
+
|
| 75 |
+
4. Run the start script to set up the environment
|
| 76 |
+
|
| 77 |
+
```sh
|
| 78 |
+
sh start.sh
|
| 79 |
+
```
|
| 80 |
+
|
| 81 |
+
5. The application will start in development mode, and you can access it at [http://localhost:3000](http://localhost:3000).
|
| 82 |
+
|
| 83 |
+
The backend will run on port 4000, and the frontend will run on port 3000.
|
| 84 |
+
|
| 85 |
+
You can now start building your applications with December! 🥳
|
| 86 |
+
|
| 87 |
+
<!-- ## Demo
|
| 88 |
+
|
| 89 |
+
You can test the December here: [https://december.ai](https://december.ai) -->
|
| 90 |
+
|
| 91 |
+
## Motivation
|
| 92 |
+
|
| 93 |
+
AI-powered development platforms have revolutionized how we build applications. They allow developers to go from idea to working application in seconds, but most solutions are closed-source or require expensive subscriptions.
|
| 94 |
+
|
| 95 |
+
Until recently, building a local alternative that matched the speed and capabilities of platforms like Loveable, Replit, or Bolt seemed challenging. The recent advances in AI and containerization technologies have made it possible to build a fast, local development environment that gives you full control over your code and API usage.
|
| 96 |
+
|
| 97 |
+
I would love for this repo to become the go-to place for people who want to run their own AI-powered development environment. I've been working on this project for a while now and I'm really excited to share it with you.
|
| 98 |
+
|
| 99 |
+
## Why run December locally?
|
| 100 |
+
|
| 101 |
+
Building applications shouldn't require expensive subscriptions or sacrificing your privacy. December gives you the power of platforms like Loveable, Replit, and Bolt without the downsides:
|
| 102 |
+
|
| 103 |
+
- **Full Control & Privacy** - Your code, ideas, and projects never leave your machine. No cloud storage, no data mining, no vendor lock-in
|
| 104 |
+
- **Your API Keys, Your Costs** - Use your own OpenAI API key and pay only for what you use. No monthly subscriptions or usage limits imposed by third parties
|
| 105 |
+
- **Complete Feature Access** - No paywalls, premium tiers, or artificial limitations. Every feature is available from day one
|
| 106 |
+
|
| 107 |
+
Most cloud-based AI development platforms charge $20-100+ per month while limiting your usage and storing your intellectual property on their servers. With December, a $5 OpenAI API credit can generate dozens of complete applications, and you keep full ownership of everything you create.
|
| 108 |
+
|
| 109 |
+
The local-first approach means you can work offline, modify the platform itself, and never worry about service outages or policy changes affecting your projects. Your development environment evolves with your needs, not a company's business model.
|
| 110 |
+
|
| 111 |
+
December proves that you don't need to choose between powerful AI assistance and maintaining control over your work. Run it locally, use your own API keys, and build without boundaries.
|
| 112 |
+
|
| 113 |
+
## Contact
|
| 114 |
+
|
| 115 |
+
Hi! Thanks for checking out and using this project. If you are interested in discussing your project, require mentorship, consider hiring me, or just wanna chat - I'm happy to talk.
|
| 116 |
+
|
| 117 |
+
You can send me an email to get in touch: j.schoen@mail.com or message me on Twitter: [@julianschoen](https://twitter.com/julianschoen)
|
| 118 |
+
|
| 119 |
+
Thanks and have an awesome day 👋
|
| 120 |
+
|
| 121 |
+
## Disclaimer
|
| 122 |
+
|
| 123 |
+
December, is an experimental application and is provided "as-is" without any warranty, express or implied. By using this software, you agree to assume all risks associated with its use, including but not limited to data loss, system failure, or any other issues that may arise.
|
| 124 |
+
|
| 125 |
+
The developers and contributors of this project do not accept any responsibility or liability for any losses, damages, or other consequences that may occur as a result of using this software. You are solely responsible for any decisions and actions taken based on the information provided by December.
|
| 126 |
+
|
| 127 |
+
Please note that the use of the large language models can be expensive due to its token usage. By utilizing this project, you acknowledge that you are responsible for monitoring and managing your own token usage and the associated costs. It is highly recommended to check your API usage regularly and set up any necessary limits or alerts to prevent unexpected charges.
|
| 128 |
+
|
| 129 |
+
By using December, you agree to indemnify, defend, and hold harmless the developers, contributors, and any affiliated parties from and against any and all claims, damages, losses, liabilities, costs, and expenses (including reasonable attorneys' fees) arising from your use of this software or your violation of these terms.
|
| 130 |
+
|
| 131 |
+
<!-- LICENSE -->
|
| 132 |
+
|
| 133 |
+
## License
|
| 134 |
+
|
| 135 |
+
Distributed under the MIT License. See `LICENSE` for more information.
|
backend.log
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
Running backend...
|
backend/README.md
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# backend
|
| 2 |
+
|
| 3 |
+
To install dependencies:
|
| 4 |
+
|
| 5 |
+
```bash
|
| 6 |
+
bun install
|
| 7 |
+
```
|
| 8 |
+
|
| 9 |
+
To run:
|
| 10 |
+
|
| 11 |
+
```bash
|
| 12 |
+
bun run index.ts
|
| 13 |
+
```
|
| 14 |
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
| 4 |
+
"": {
|
| 5 |
+
"name": "backend",
|
| 6 |
+
"dependencies": {
|
| 7 |
+
"@types/dockerode": "^3.3.39",
|
| 8 |
+
"dockerode": "^4.0.6",
|
| 9 |
+
"express": "^5.1.0",
|
| 10 |
+
"openai": "^5.0.1",
|
| 11 |
+
"uuid": "^11.1.0",
|
| 12 |
+
},
|
| 13 |
+
"devDependencies": {
|
| 14 |
+
"@types/bun": "latest",
|
| 15 |
+
"@types/express": "^5.0.2",
|
| 16 |
+
},
|
| 17 |
+
"peerDependencies": {
|
| 18 |
+
"typescript": "^5",
|
| 19 |
+
},
|
| 20 |
+
},
|
| 21 |
+
},
|
| 22 |
+
"packages": {
|
| 23 |
+
"@balena/dockerignore": ["@balena/dockerignore@1.0.2", "", {}, "sha512-wMue2Sy4GAVTk6Ic4tJVcnfdau+gx2EnG7S+uAEe+TWJFqE4YoWN4/H8MSLj4eYJKxGg26lZwboEniNiNwZQ6Q=="],
|
| 24 |
+
|
| 25 |
+
"@grpc/grpc-js": ["@grpc/grpc-js@1.13.4", "", { "dependencies": { "@grpc/proto-loader": "^0.7.13", "@js-sdsl/ordered-map": "^4.4.2" } }, "sha512-GsFaMXCkMqkKIvwCQjCrwH+GHbPKBjhwo/8ZuUkWHqbI73Kky9I+pQltrlT0+MWpedCoosda53lgjYfyEPgxBg=="],
|
| 26 |
+
|
| 27 |
+
"@grpc/proto-loader": ["@grpc/proto-loader@0.7.15", "", { "dependencies": { "lodash.camelcase": "^4.3.0", "long": "^5.0.0", "protobufjs": "^7.2.5", "yargs": "^17.7.2" }, "bin": { "proto-loader-gen-types": "build/bin/proto-loader-gen-types.js" } }, "sha512-tMXdRCfYVixjuFK+Hk0Q1s38gV9zDiDJfWL3h1rv4Qc39oILCu1TRTDt7+fGUI8K4G1Fj125Hx/ru3azECWTyQ=="],
|
| 28 |
+
|
| 29 |
+
"@js-sdsl/ordered-map": ["@js-sdsl/ordered-map@4.4.2", "", {}, "sha512-iUKgm52T8HOE/makSxjqoWhe95ZJA1/G1sYsGev2JDKUSS14KAgg1LHb+Ba+IPow0xflbnSkOsZcO08C7w1gYw=="],
|
| 30 |
+
|
| 31 |
+
"@protobufjs/aspromise": ["@protobufjs/aspromise@1.1.2", "", {}, "sha512-j+gKExEuLmKwvz3OgROXtrJ2UG2x8Ch2YZUxahh+s1F2HZ+wAceUNLkvy6zKCPVRkU++ZWQrdxsUeQXmcg4uoQ=="],
|
| 32 |
+
|
| 33 |
+
"@protobufjs/base64": ["@protobufjs/base64@1.1.2", "", {}, "sha512-AZkcAA5vnN/v4PDqKyMR5lx7hZttPDgClv83E//FMNhR2TMcLUhfRUBHCmSl0oi9zMgDDqRUJkSxO3wm85+XLg=="],
|
| 34 |
+
|
| 35 |
+
"@protobufjs/codegen": ["@protobufjs/codegen@2.0.4", "", {}, "sha512-YyFaikqM5sH0ziFZCN3xDC7zeGaB/d0IUb9CATugHWbd1FRFwWwt4ld4OYMPWu5a3Xe01mGAULCdqhMlPl29Jg=="],
|
| 36 |
+
|
| 37 |
+
"@protobufjs/eventemitter": ["@protobufjs/eventemitter@1.1.0", "", {}, "sha512-j9ednRT81vYJ9OfVuXG6ERSTdEL1xVsNgqpkxMsbIabzSo3goCjDIveeGv5d03om39ML71RdmrGNjG5SReBP/Q=="],
|
| 38 |
+
|
| 39 |
+
"@protobufjs/fetch": ["@protobufjs/fetch@1.1.0", "", { "dependencies": { "@protobufjs/aspromise": "^1.1.1", "@protobufjs/inquire": "^1.1.0" } }, "sha512-lljVXpqXebpsijW71PZaCYeIcE5on1w5DlQy5WH6GLbFryLUrBD4932W/E2BSpfRJWseIL4v/KPgBFxDOIdKpQ=="],
|
| 40 |
+
|
| 41 |
+
"@protobufjs/float": ["@protobufjs/float@1.0.2", "", {}, "sha512-Ddb+kVXlXst9d+R9PfTIxh1EdNkgoRe5tOX6t01f1lYWOvJnSPDBlG241QLzcyPdoNTsblLUdujGSE4RzrTZGQ=="],
|
| 42 |
+
|
| 43 |
+
"@protobufjs/inquire": ["@protobufjs/inquire@1.1.0", "", {}, "sha512-kdSefcPdruJiFMVSbn801t4vFK7KB/5gd2fYvrxhuJYg8ILrmn9SKSX2tZdV6V+ksulWqS7aXjBcRXl3wHoD9Q=="],
|
| 44 |
+
|
| 45 |
+
"@protobufjs/path": ["@protobufjs/path@1.1.2", "", {}, "sha512-6JOcJ5Tm08dOHAbdR3GrvP+yUUfkjG5ePsHYczMFLq3ZmMkAD98cDgcT2iA1lJ9NVwFd4tH/iSSoe44YWkltEA=="],
|
| 46 |
+
|
| 47 |
+
"@protobufjs/pool": ["@protobufjs/pool@1.1.0", "", {}, "sha512-0kELaGSIDBKvcgS4zkjz1PeddatrjYcmMWOlAuAPwAeccUrPHdUqo/J6LiymHHEiJT5NrF1UVwxY14f+fy4WQw=="],
|
| 48 |
+
|
| 49 |
+
"@protobufjs/utf8": ["@protobufjs/utf8@1.1.0", "", {}, "sha512-Vvn3zZrhQZkkBE8LSuW3em98c0FwgO4nxzv6OdSxPKJIEKY2bGbHn+mhGIPerzI4twdxaP8/0+06HBpwf345Lw=="],
|
| 50 |
+
|
| 51 |
+
"@types/body-parser": ["@types/body-parser@1.19.5", "", { "dependencies": { "@types/connect": "*", "@types/node": "*" } }, "sha512-fB3Zu92ucau0iQ0JMCFQE7b/dv8Ot07NI3KaZIkIUNXq82k4eBAqUaneXfleGY9JWskeS9y+u0nXMyspcuQrCg=="],
|
| 52 |
+
|
| 53 |
+
"@types/bun": ["@types/bun@1.2.14", "", { "dependencies": { "bun-types": "1.2.14" } }, "sha512-VsFZKs8oKHzI7zwvECiAJ5oSorWndIWEVhfbYqZd4HI/45kzW7PN2Rr5biAzvGvRuNmYLSANY+H59ubHq8xw7Q=="],
|
| 54 |
+
|
| 55 |
+
"@types/connect": ["@types/connect@3.4.38", "", { "dependencies": { "@types/node": "*" } }, "sha512-K6uROf1LD88uDQqJCktA4yzL1YYAK6NgfsI0v/mTgyPKWsX1CnJ0XPSDhViejru1GcRkLWb8RlzFYJRqGUbaug=="],
|
| 56 |
+
|
| 57 |
+
"@types/docker-modem": ["@types/docker-modem@3.0.6", "", { "dependencies": { "@types/node": "*", "@types/ssh2": "*" } }, "sha512-yKpAGEuKRSS8wwx0joknWxsmLha78wNMe9R2S3UNsVOkZded8UqOrV8KoeDXoXsjndxwyF3eIhyClGbO1SEhEg=="],
|
| 58 |
+
|
| 59 |
+
"@types/dockerode": ["@types/dockerode@3.3.39", "", { "dependencies": { "@types/docker-modem": "*", "@types/node": "*", "@types/ssh2": "*" } }, "sha512-uMPmxehH6ofeYjaslASPtjvyH8FRJdM9fZ+hjhGzL4Jq3bGjr9D7TKmp9soSwgFncNk0HOwmyBxjqOb3ikjjsA=="],
|
| 60 |
+
|
| 61 |
+
"@types/express": ["@types/express@5.0.2", "", { "dependencies": { "@types/body-parser": "*", "@types/express-serve-static-core": "^5.0.0", "@types/serve-static": "*" } }, "sha512-BtjL3ZwbCQriyb0DGw+Rt12qAXPiBTPs815lsUvtt1Grk0vLRMZNMUZ741d5rjk+UQOxfDiBZ3dxpX00vSkK3g=="],
|
| 62 |
+
|
| 63 |
+
"@types/express-serve-static-core": ["@types/express-serve-static-core@5.0.6", "", { "dependencies": { "@types/node": "*", "@types/qs": "*", "@types/range-parser": "*", "@types/send": "*" } }, "sha512-3xhRnjJPkULekpSzgtoNYYcTWgEZkp4myc+Saevii5JPnHNvHMRlBSHDbs7Bh1iPPoVTERHEZXyhyLbMEsExsA=="],
|
| 64 |
+
|
| 65 |
+
"@types/http-errors": ["@types/http-errors@2.0.4", "", {}, "sha512-D0CFMMtydbJAegzOyHjtiKPLlvnm3iTZyZRSZoLq2mRhDdmLfIWOCYPfQJ4cu2erKghU++QvjcUjp/5h7hESpA=="],
|
| 66 |
+
|
| 67 |
+
"@types/mime": ["@types/mime@1.3.5", "", {}, "sha512-/pyBZWSLD2n0dcHE3hq8s8ZvcETHtEuF+3E7XVt0Ig2nvsVQXdghHVcEkIWjy9A0wKfTn97a/PSDYohKIlnP/w=="],
|
| 68 |
+
|
| 69 |
+
"@types/node": ["@types/node@22.15.21", "", { "dependencies": { "undici-types": "~6.21.0" } }, "sha512-EV/37Td6c+MgKAbkcLG6vqZ2zEYHD7bvSrzqqs2RIhbA6w3x+Dqz8MZM3sP6kGTeLrdoOgKZe+Xja7tUB2DNkQ=="],
|
| 70 |
+
|
| 71 |
+
"@types/qs": ["@types/qs@6.14.0", "", {}, "sha512-eOunJqu0K1923aExK6y8p6fsihYEn/BYuQ4g0CxAAgFc4b/ZLN4CrsRZ55srTdqoiLzU2B2evC+apEIxprEzkQ=="],
|
| 72 |
+
|
| 73 |
+
"@types/range-parser": ["@types/range-parser@1.2.7", "", {}, "sha512-hKormJbkJqzQGhziax5PItDUTMAM9uE2XXQmM37dyd4hVM+5aVl7oVxMVUiVQn2oCQFN/LKCZdvSM0pFRqbSmQ=="],
|
| 74 |
+
|
| 75 |
+
"@types/send": ["@types/send@0.17.4", "", { "dependencies": { "@types/mime": "^1", "@types/node": "*" } }, "sha512-x2EM6TJOybec7c52BX0ZspPodMsQUd5L6PRwOunVyVUhXiBSKf3AezDL8Dgvgt5o0UfKNfuA0eMLr2wLT4AiBA=="],
|
| 76 |
+
|
| 77 |
+
"@types/serve-static": ["@types/serve-static@1.15.7", "", { "dependencies": { "@types/http-errors": "*", "@types/node": "*", "@types/send": "*" } }, "sha512-W8Ym+h8nhuRwaKPaDw34QUkwsGi6Rc4yYqvKFo5rm2FUEhCFbzVWrxXUxuKK8TASjWsysJY0nsmNCGhCOIsrOw=="],
|
| 78 |
+
|
| 79 |
+
"@types/ssh2": ["@types/ssh2@1.15.5", "", { "dependencies": { "@types/node": "^18.11.18" } }, "sha512-N1ASjp/nXH3ovBHddRJpli4ozpk6UdDYIX4RJWFa9L1YKnzdhTlVmiGHm4DZnj/jLbqZpes4aeR30EFGQtvhQQ=="],
|
| 80 |
+
|
| 81 |
+
"accepts": ["accepts@2.0.0", "", { "dependencies": { "mime-types": "^3.0.0", "negotiator": "^1.0.0" } }, "sha512-5cvg6CtKwfgdmVqY1WIiXKc3Q1bkRqGLi+2W/6ao+6Y7gu/RCwRuAhGEzh5B4KlszSuTLgZYuqFqo5bImjNKng=="],
|
| 82 |
+
|
| 83 |
+
"ansi-regex": ["ansi-regex@5.0.1", "", {}, "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ=="],
|
| 84 |
+
|
| 85 |
+
"ansi-styles": ["ansi-styles@4.3.0", "", { "dependencies": { "color-convert": "^2.0.1" } }, "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg=="],
|
| 86 |
+
|
| 87 |
+
"asn1": ["asn1@0.2.6", "", { "dependencies": { "safer-buffer": "~2.1.0" } }, "sha512-ix/FxPn0MDjeyJ7i/yoHGFt/EX6LyNbxSEhPPXODPL+KB0VPk86UYfL0lMdy+KCnv+fmvIzySwaK5COwqVbWTQ=="],
|
| 88 |
+
|
| 89 |
+
"base64-js": ["base64-js@1.5.1", "", {}, "sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA=="],
|
| 90 |
+
|
| 91 |
+
"bcrypt-pbkdf": ["bcrypt-pbkdf@1.0.2", "", { "dependencies": { "tweetnacl": "^0.14.3" } }, "sha512-qeFIXtP4MSoi6NLqO12WfqARWWuCKi2Rn/9hJLEmtB5yTNr9DqFWkJRCf2qShWzPeAMRnOgCrq0sg/KLv5ES9w=="],
|
| 92 |
+
|
| 93 |
+
"bl": ["bl@4.1.0", "", { "dependencies": { "buffer": "^5.5.0", "inherits": "^2.0.4", "readable-stream": "^3.4.0" } }, "sha512-1W07cM9gS6DcLperZfFSj+bWLtaPGSOHWhPiGzXmvVJbRLdG82sH/Kn8EtW1VqWVA54AKf2h5k5BbnIbwF3h6w=="],
|
| 94 |
+
|
| 95 |
+
"body-parser": ["body-parser@2.2.0", "", { "dependencies": { "bytes": "^3.1.2", "content-type": "^1.0.5", "debug": "^4.4.0", "http-errors": "^2.0.0", "iconv-lite": "^0.6.3", "on-finished": "^2.4.1", "qs": "^6.14.0", "raw-body": "^3.0.0", "type-is": "^2.0.0" } }, "sha512-02qvAaxv8tp7fBa/mw1ga98OGm+eCbqzJOKoRt70sLmfEEi+jyBYVTDGfCL/k06/4EMk/z01gCe7HoCH/f2LTg=="],
|
| 96 |
+
|
| 97 |
+
"buffer": ["buffer@5.7.1", "", { "dependencies": { "base64-js": "^1.3.1", "ieee754": "^1.1.13" } }, "sha512-EHcyIPBQ4BSGlvjB16k5KgAJ27CIsHY/2JBmCRReo48y9rQ3MaUzWX3KVlBa4U7MyX02HdVj0K7C3WaB3ju7FQ=="],
|
| 98 |
+
|
| 99 |
+
"buildcheck": ["buildcheck@0.0.6", "", {}, "sha512-8f9ZJCUXyT1M35Jx7MkBgmBMo3oHTTBIPLiY9xyL0pl3T5RwcPEY8cUHr5LBNfu/fk6c2T4DJZuVM/8ZZT2D2A=="],
|
| 100 |
+
|
| 101 |
+
"bun-types": ["bun-types@1.2.14", "", { "dependencies": { "@types/node": "*" } }, "sha512-Kuh4Ub28ucMRWeiUUWMHsT9Wcbr4H3kLIO72RZZElSDxSu7vpetRvxIUDUaW6QtaIeixIpm7OXtNnZPf82EzwA=="],
|
| 102 |
+
|
| 103 |
+
"bytes": ["bytes@3.1.2", "", {}, "sha512-/Nf7TyzTx6S3yRJObOAV7956r8cr2+Oj8AC5dt8wSP3BQAoeX58NoHyCU8P8zGkNXStjTSi6fzO6F0pBdcYbEg=="],
|
| 104 |
+
|
| 105 |
+
"call-bind-apply-helpers": ["call-bind-apply-helpers@1.0.2", "", { "dependencies": { "es-errors": "^1.3.0", "function-bind": "^1.1.2" } }, "sha512-Sp1ablJ0ivDkSzjcaJdxEunN5/XvksFJ2sMBFfq6x0ryhQV/2b/KwFe21cMpmHtPOSij8K99/wSfoEuTObmuMQ=="],
|
| 106 |
+
|
| 107 |
+
"call-bound": ["call-bound@1.0.4", "", { "dependencies": { "call-bind-apply-helpers": "^1.0.2", "get-intrinsic": "^1.3.0" } }, "sha512-+ys997U96po4Kx/ABpBCqhA9EuxJaQWDQg7295H4hBphv3IZg0boBKuwYpt4YXp6MZ5AmZQnU/tyMTlRpaSejg=="],
|
| 108 |
+
|
| 109 |
+
"chownr": ["chownr@1.1.4", "", {}, "sha512-jJ0bqzaylmJtVnNgzTeSOs8DPavpbYgEr/b0YL8/2GO3xJEhInFmhKMUnEJQjZumK7KXGFhUy89PrsJWlakBVg=="],
|
| 110 |
+
|
| 111 |
+
"cliui": ["cliui@8.0.1", "", { "dependencies": { "string-width": "^4.2.0", "strip-ansi": "^6.0.1", "wrap-ansi": "^7.0.0" } }, "sha512-BSeNnyus75C4//NQ9gQt1/csTXyo/8Sb+afLAkzAptFuMsod9HFokGNudZpi/oQV73hnVK+sR+5PVRMd+Dr7YQ=="],
|
| 112 |
+
|
| 113 |
+
"color-convert": ["color-convert@2.0.1", "", { "dependencies": { "color-name": "~1.1.4" } }, "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ=="],
|
| 114 |
+
|
| 115 |
+
"color-name": ["color-name@1.1.4", "", {}, "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA=="],
|
| 116 |
+
|
| 117 |
+
"content-disposition": ["content-disposition@1.0.0", "", { "dependencies": { "safe-buffer": "5.2.1" } }, "sha512-Au9nRL8VNUut/XSzbQA38+M78dzP4D+eqg3gfJHMIHHYa3bg067xj1KxMUWj+VULbiZMowKngFFbKczUrNJ1mg=="],
|
| 118 |
+
|
| 119 |
+
"content-type": ["content-type@1.0.5", "", {}, "sha512-nTjqfcBFEipKdXCv4YDQWCfmcLZKm81ldF0pAopTvyrFGVbcR6P/VAAd5G7N+0tTr8QqiU0tFadD6FK4NtJwOA=="],
|
| 120 |
+
|
| 121 |
+
"cookie": ["cookie@0.7.2", "", {}, "sha512-yki5XnKuf750l50uGTllt6kKILY4nQ1eNIQatoXEByZ5dWgnKqbnqmTrBE5B4N7lrMJKQ2ytWMiTO2o0v6Ew/w=="],
|
| 122 |
+
|
| 123 |
+
"cookie-signature": ["cookie-signature@1.2.2", "", {}, "sha512-D76uU73ulSXrD1UXF4KE2TMxVVwhsnCgfAyTg9k8P6KGZjlXKrOLe4dJQKI3Bxi5wjesZoFXJWElNWBjPZMbhg=="],
|
| 124 |
+
|
| 125 |
+
"cpu-features": ["cpu-features@0.0.10", "", { "dependencies": { "buildcheck": "~0.0.6", "nan": "^2.19.0" } }, "sha512-9IkYqtX3YHPCzoVg1Py+o9057a3i0fp7S530UWokCSaFVTc7CwXPRiOjRjBQQ18ZCNafx78YfnG+HALxtVmOGA=="],
|
| 126 |
+
|
| 127 |
+
"debug": ["debug@4.4.1", "", { "dependencies": { "ms": "^2.1.3" } }, "sha512-KcKCqiftBJcZr++7ykoDIEwSa3XWowTfNPo92BYxjXiyYEVrUQh2aLyhxBCwww+heortUFxEJYcRzosstTEBYQ=="],
|
| 128 |
+
|
| 129 |
+
"depd": ["depd@2.0.0", "", {}, "sha512-g7nH6P6dyDioJogAAGprGpCtVImJhpPk/roCzdb3fIh61/s/nPsfR6onyMwkCAR/OlC3yBC0lESvUoQEAssIrw=="],
|
| 130 |
+
|
| 131 |
+
"docker-modem": ["docker-modem@5.0.6", "", { "dependencies": { "debug": "^4.1.1", "readable-stream": "^3.5.0", "split-ca": "^1.0.1", "ssh2": "^1.15.0" } }, "sha512-ens7BiayssQz/uAxGzH8zGXCtiV24rRWXdjNha5V4zSOcxmAZsfGVm/PPFbwQdqEkDnhG+SyR9E3zSHUbOKXBQ=="],
|
| 132 |
+
|
| 133 |
+
"dockerode": ["dockerode@4.0.6", "", { "dependencies": { "@balena/dockerignore": "^1.0.2", "@grpc/grpc-js": "^1.11.1", "@grpc/proto-loader": "^0.7.13", "docker-modem": "^5.0.6", "protobufjs": "^7.3.2", "tar-fs": "~2.1.2", "uuid": "^10.0.0" } }, "sha512-FbVf3Z8fY/kALB9s+P9epCpWhfi/r0N2DgYYcYpsAUlaTxPjdsitsFobnltb+lyCgAIvf9C+4PSWlTnHlJMf1w=="],
|
| 134 |
+
|
| 135 |
+
"dunder-proto": ["dunder-proto@1.0.1", "", { "dependencies": { "call-bind-apply-helpers": "^1.0.1", "es-errors": "^1.3.0", "gopd": "^1.2.0" } }, "sha512-KIN/nDJBQRcXw0MLVhZE9iQHmG68qAVIBg9CqmUYjmQIhgij9U5MFvrqkUL5FbtyyzZuOeOt0zdeRe4UY7ct+A=="],
|
| 136 |
+
|
| 137 |
+
"ee-first": ["ee-first@1.1.1", "", {}, "sha512-WMwm9LhRUo+WUaRN+vRuETqG89IgZphVSNkdFgeb6sS/E4OrDIN7t48CAewSHXc6C8lefD8KKfr5vY61brQlow=="],
|
| 138 |
+
|
| 139 |
+
"emoji-regex": ["emoji-regex@8.0.0", "", {}, "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A=="],
|
| 140 |
+
|
| 141 |
+
"encodeurl": ["encodeurl@2.0.0", "", {}, "sha512-Q0n9HRi4m6JuGIV1eFlmvJB7ZEVxu93IrMyiMsGC0lrMJMWzRgx6WGquyfQgZVb31vhGgXnfmPNNXmxnOkRBrg=="],
|
| 142 |
+
|
| 143 |
+
"end-of-stream": ["end-of-stream@1.4.4", "", { "dependencies": { "once": "^1.4.0" } }, "sha512-+uw1inIHVPQoaVuHzRyXd21icM+cnt4CzD5rW+NC1wjOUSTOs+Te7FOv7AhN7vS9x/oIyhLP5PR1H+phQAHu5Q=="],
|
| 144 |
+
|
| 145 |
+
"es-define-property": ["es-define-property@1.0.1", "", {}, "sha512-e3nRfgfUZ4rNGL232gUgX06QNyyez04KdjFrF+LTRoOXmrOgFKDg4BCdsjW8EnT69eqdYGmRpJwiPVYNrCaW3g=="],
|
| 146 |
+
|
| 147 |
+
"es-errors": ["es-errors@1.3.0", "", {}, "sha512-Zf5H2Kxt2xjTvbJvP2ZWLEICxA6j+hAmMzIlypy4xcBg1vKVnx89Wy0GbS+kf5cwCVFFzdCFh2XSCFNULS6csw=="],
|
| 148 |
+
|
| 149 |
+
"es-object-atoms": ["es-object-atoms@1.1.1", "", { "dependencies": { "es-errors": "^1.3.0" } }, "sha512-FGgH2h8zKNim9ljj7dankFPcICIK9Cp5bm+c2gQSYePhpaG5+esrLODihIorn+Pe6FGJzWhXQotPv73jTaldXA=="],
|
| 150 |
+
|
| 151 |
+
"escalade": ["escalade@3.2.0", "", {}, "sha512-WUj2qlxaQtO4g6Pq5c29GTcWGDyd8itL8zTlipgECz3JesAiiOKotd8JU6otB3PACgG6xkJUyVhboMS+bje/jA=="],
|
| 152 |
+
|
| 153 |
+
"escape-html": ["escape-html@1.0.3", "", {}, "sha512-NiSupZ4OeuGwr68lGIeym/ksIZMJodUGOSCZ/FSnTxcrekbvqrgdUxlJOMpijaKZVjAJrWrGs/6Jy8OMuyj9ow=="],
|
| 154 |
+
|
| 155 |
+
"etag": ["etag@1.8.1", "", {}, "sha512-aIL5Fx7mawVa300al2BnEE4iNvo1qETxLrPI/o05L7z6go7fCw1J6EQmbK4FmJ2AS7kgVF/KEZWufBfdClMcPg=="],
|
| 156 |
+
|
| 157 |
+
"express": ["express@5.1.0", "", { "dependencies": { "accepts": "^2.0.0", "body-parser": "^2.2.0", "content-disposition": "^1.0.0", "content-type": "^1.0.5", "cookie": "^0.7.1", "cookie-signature": "^1.2.1", "debug": "^4.4.0", "encodeurl": "^2.0.0", "escape-html": "^1.0.3", "etag": "^1.8.1", "finalhandler": "^2.1.0", "fresh": "^2.0.0", "http-errors": "^2.0.0", "merge-descriptors": "^2.0.0", "mime-types": "^3.0.0", "on-finished": "^2.4.1", "once": "^1.4.0", "parseurl": "^1.3.3", "proxy-addr": "^2.0.7", "qs": "^6.14.0", "range-parser": "^1.2.1", "router": "^2.2.0", "send": "^1.1.0", "serve-static": "^2.2.0", "statuses": "^2.0.1", "type-is": "^2.0.1", "vary": "^1.1.2" } }, "sha512-DT9ck5YIRU+8GYzzU5kT3eHGA5iL+1Zd0EutOmTE9Dtk+Tvuzd23VBU+ec7HPNSTxXYO55gPV/hq4pSBJDjFpA=="],
|
| 158 |
+
|
| 159 |
+
"finalhandler": ["finalhandler@2.1.0", "", { "dependencies": { "debug": "^4.4.0", "encodeurl": "^2.0.0", "escape-html": "^1.0.3", "on-finished": "^2.4.1", "parseurl": "^1.3.3", "statuses": "^2.0.1" } }, "sha512-/t88Ty3d5JWQbWYgaOGCCYfXRwV1+be02WqYYlL6h0lEiUAMPM8o8qKGO01YIkOHzka2up08wvgYD0mDiI+q3Q=="],
|
| 160 |
+
|
| 161 |
+
"forwarded": ["forwarded@0.2.0", "", {}, "sha512-buRG0fpBtRHSTCOASe6hD258tEubFoRLb4ZNA6NxMVHNw2gOcwHo9wyablzMzOA5z9xA9L1KNjk/Nt6MT9aYow=="],
|
| 162 |
+
|
| 163 |
+
"fresh": ["fresh@2.0.0", "", {}, "sha512-Rx/WycZ60HOaqLKAi6cHRKKI7zxWbJ31MhntmtwMoaTeF7XFH9hhBp8vITaMidfljRQ6eYWCKkaTK+ykVJHP2A=="],
|
| 164 |
+
|
| 165 |
+
"fs-constants": ["fs-constants@1.0.0", "", {}, "sha512-y6OAwoSIf7FyjMIv94u+b5rdheZEjzR63GTyZJm5qh4Bi+2YgwLCcI/fPFZkL5PSixOt6ZNKm+w+Hfp/Bciwow=="],
|
| 166 |
+
|
| 167 |
+
"function-bind": ["function-bind@1.1.2", "", {}, "sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA=="],
|
| 168 |
+
|
| 169 |
+
"get-caller-file": ["get-caller-file@2.0.5", "", {}, "sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg=="],
|
| 170 |
+
|
| 171 |
+
"get-intrinsic": ["get-intrinsic@1.3.0", "", { "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" } }, "sha512-9fSjSaos/fRIVIp+xSJlE6lfwhES7LNtKaCBIamHsjr2na1BiABJPo0mOjjz8GJDURarmCPGqaiVg5mfjb98CQ=="],
|
| 172 |
+
|
| 173 |
+
"get-proto": ["get-proto@1.0.1", "", { "dependencies": { "dunder-proto": "^1.0.1", "es-object-atoms": "^1.0.0" } }, "sha512-sTSfBjoXBp89JvIKIefqw7U2CCebsc74kiY6awiGogKtoSGbgjYE/G/+l9sF3MWFPNc9IcoOC4ODfKHfxFmp0g=="],
|
| 174 |
+
|
| 175 |
+
"gopd": ["gopd@1.2.0", "", {}, "sha512-ZUKRh6/kUFoAiTAtTYPZJ3hw9wNxx+BIBOijnlG9PnrJsCcSjs1wyyD6vJpaYtgnzDrKYRSqf3OO6Rfa93xsRg=="],
|
| 176 |
+
|
| 177 |
+
"has-symbols": ["has-symbols@1.1.0", "", {}, "sha512-1cDNdwJ2Jaohmb3sg4OmKaMBwuC48sYni5HUw2DvsC8LjGTLK9h+eb1X6RyuOHe4hT0ULCW68iomhjUoKUqlPQ=="],
|
| 178 |
+
|
| 179 |
+
"hasown": ["hasown@2.0.2", "", { "dependencies": { "function-bind": "^1.1.2" } }, "sha512-0hJU9SCPvmMzIBdZFqNPXWa6dqh7WdH0cII9y+CyS8rG3nL48Bclra9HmKhVVUHyPWNH5Y7xDwAB7bfgSjkUMQ=="],
|
| 180 |
+
|
| 181 |
+
"http-errors": ["http-errors@2.0.0", "", { "dependencies": { "depd": "2.0.0", "inherits": "2.0.4", "setprototypeof": "1.2.0", "statuses": "2.0.1", "toidentifier": "1.0.1" } }, "sha512-FtwrG/euBzaEjYeRqOgly7G0qviiXoJWnvEH2Z1plBdXgbyjv34pHTSb9zoeHMyDy33+DWy5Wt9Wo+TURtOYSQ=="],
|
| 182 |
+
|
| 183 |
+
"iconv-lite": ["iconv-lite@0.6.3", "", { "dependencies": { "safer-buffer": ">= 2.1.2 < 3.0.0" } }, "sha512-4fCk79wshMdzMp2rH06qWrJE4iolqLhCUH+OiuIgU++RB0+94NlDL81atO7GX55uUKueo0txHNtvEyI6D7WdMw=="],
|
| 184 |
+
|
| 185 |
+
"ieee754": ["ieee754@1.2.1", "", {}, "sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA=="],
|
| 186 |
+
|
| 187 |
+
"inherits": ["inherits@2.0.4", "", {}, "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ=="],
|
| 188 |
+
|
| 189 |
+
"ipaddr.js": ["ipaddr.js@1.9.1", "", {}, "sha512-0KI/607xoxSToH7GjN1FfSbLoU0+btTicjsQSWQlh/hZykN8KpmMf7uYwPW3R+akZ6R/w18ZlXSHBYXiYUPO3g=="],
|
| 190 |
+
|
| 191 |
+
"is-fullwidth-code-point": ["is-fullwidth-code-point@3.0.0", "", {}, "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg=="],
|
| 192 |
+
|
| 193 |
+
"is-promise": ["is-promise@4.0.0", "", {}, "sha512-hvpoI6korhJMnej285dSg6nu1+e6uxs7zG3BYAm5byqDsgJNWwxzM6z6iZiAgQR4TJ30JmBTOwqZUw3WlyH3AQ=="],
|
| 194 |
+
|
| 195 |
+
"lodash.camelcase": ["lodash.camelcase@4.3.0", "", {}, "sha512-TwuEnCnxbc3rAvhf/LbG7tJUDzhqXyFnv3dtzLOPgCG/hODL7WFnsbwktkD7yUV0RrreP/l1PALq/YSg6VvjlA=="],
|
| 196 |
+
|
| 197 |
+
"long": ["long@5.3.2", "", {}, "sha512-mNAgZ1GmyNhD7AuqnTG3/VQ26o760+ZYBPKjPvugO8+nLbYfX6TVpJPseBvopbdY+qpZ/lKUnmEc1LeZYS3QAA=="],
|
| 198 |
+
|
| 199 |
+
"math-intrinsics": ["math-intrinsics@1.1.0", "", {}, "sha512-/IXtbwEk5HTPyEwyKX6hGkYXxM9nbj64B+ilVJnC/R6B0pH5G4V3b0pVbL7DBj4tkhBAppbQUlf6F6Xl9LHu1g=="],
|
| 200 |
+
|
| 201 |
+
"media-typer": ["media-typer@1.1.0", "", {}, "sha512-aisnrDP4GNe06UcKFnV5bfMNPBUw4jsLGaWwWfnH3v02GnBuXX2MCVn5RbrWo0j3pczUilYblq7fQ7Nw2t5XKw=="],
|
| 202 |
+
|
| 203 |
+
"merge-descriptors": ["merge-descriptors@2.0.0", "", {}, "sha512-Snk314V5ayFLhp3fkUREub6WtjBfPdCPY1Ln8/8munuLuiYhsABgBVWsozAG+MWMbVEvcdcpbi9R7ww22l9Q3g=="],
|
| 204 |
+
|
| 205 |
+
"mime-db": ["mime-db@1.54.0", "", {}, "sha512-aU5EJuIN2WDemCcAp2vFBfp/m4EAhWJnUNSSw0ixs7/kXbd6Pg64EmwJkNdFhB8aWt1sH2CTXrLxo/iAGV3oPQ=="],
|
| 206 |
+
|
| 207 |
+
"mime-types": ["mime-types@3.0.1", "", { "dependencies": { "mime-db": "^1.54.0" } }, "sha512-xRc4oEhT6eaBpU1XF7AjpOFD+xQmXNB5OVKwp4tqCuBpHLS/ZbBDrc07mYTDqVMg6PfxUjjNp85O6Cd2Z/5HWA=="],
|
| 208 |
+
|
| 209 |
+
"mkdirp-classic": ["mkdirp-classic@0.5.3", "", {}, "sha512-gKLcREMhtuZRwRAfqP3RFW+TK4JqApVBtOIftVgjuABpAtpxhPGaDcfvbhNvD0B8iD1oUr/txX35NjcaY6Ns/A=="],
|
| 210 |
+
|
| 211 |
+
"ms": ["ms@2.1.3", "", {}, "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA=="],
|
| 212 |
+
|
| 213 |
+
"nan": ["nan@2.22.2", "", {}, "sha512-DANghxFkS1plDdRsX0X9pm0Z6SJNN6gBdtXfanwoZ8hooC5gosGFSBGRYHUVPz1asKA/kMRqDRdHrluZ61SpBQ=="],
|
| 214 |
+
|
| 215 |
+
"negotiator": ["negotiator@1.0.0", "", {}, "sha512-8Ofs/AUQh8MaEcrlq5xOX0CQ9ypTF5dl78mjlMNfOK08fzpgTHQRQPBxcPlEtIw0yRpws+Zo/3r+5WRby7u3Gg=="],
|
| 216 |
+
|
| 217 |
+
"object-inspect": ["object-inspect@1.13.4", "", {}, "sha512-W67iLl4J2EXEGTbfeHCffrjDfitvLANg0UlX3wFUUSTx92KXRFegMHUVgSqE+wvhAbi4WqjGg9czysTV2Epbew=="],
|
| 218 |
+
|
| 219 |
+
"on-finished": ["on-finished@2.4.1", "", { "dependencies": { "ee-first": "1.1.1" } }, "sha512-oVlzkg3ENAhCk2zdv7IJwd/QUD4z2RxRwpkcGY8psCVcCYZNq4wYnVWALHM+brtuJjePWiYF/ClmuDr8Ch5+kg=="],
|
| 220 |
+
|
| 221 |
+
"once": ["once@1.4.0", "", { "dependencies": { "wrappy": "1" } }, "sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w=="],
|
| 222 |
+
|
| 223 |
+
"openai": ["openai@5.0.1", "", { "peerDependencies": { "ws": "^8.18.0", "zod": "^3.23.8" }, "optionalPeers": ["ws", "zod"], "bin": { "openai": "bin/cli" } }, "sha512-Do6vxhbDv7cXhji/4ct1lrpZYMAOmjYbhyA9LJTuG7OfpbWMpuS+EIXkRT7R+XxpRB1OZhU/op4FU3p3uxU6gw=="],
|
| 224 |
+
|
| 225 |
+
"parseurl": ["parseurl@1.3.3", "", {}, "sha512-CiyeOxFT/JZyN5m0z9PfXw4SCBJ6Sygz1Dpl0wqjlhDEGGBP1GnsUVEL0p63hoG1fcj3fHynXi9NYO4nWOL+qQ=="],
|
| 226 |
+
|
| 227 |
+
"path-to-regexp": ["path-to-regexp@8.2.0", "", {}, "sha512-TdrF7fW9Rphjq4RjrW0Kp2AW0Ahwu9sRGTkS6bvDi0SCwZlEZYmcfDbEsTz8RVk0EHIS/Vd1bv3JhG+1xZuAyQ=="],
|
| 228 |
+
|
| 229 |
+
"protobufjs": ["protobufjs@7.4.0", "", { "dependencies": { "@protobufjs/aspromise": "^1.1.2", "@protobufjs/base64": "^1.1.2", "@protobufjs/codegen": "^2.0.4", "@protobufjs/eventemitter": "^1.1.0", "@protobufjs/fetch": "^1.1.0", "@protobufjs/float": "^1.0.2", "@protobufjs/inquire": "^1.1.0", "@protobufjs/path": "^1.1.2", "@protobufjs/pool": "^1.1.0", "@protobufjs/utf8": "^1.1.0", "@types/node": ">=13.7.0", "long": "^5.0.0" } }, "sha512-mRUWCc3KUU4w1jU8sGxICXH/gNS94DvI1gxqDvBzhj1JpcsimQkYiOJfwsPUykUI5ZaspFbSgmBLER8IrQ3tqw=="],
|
| 230 |
+
|
| 231 |
+
"proxy-addr": ["proxy-addr@2.0.7", "", { "dependencies": { "forwarded": "0.2.0", "ipaddr.js": "1.9.1" } }, "sha512-llQsMLSUDUPT44jdrU/O37qlnifitDP+ZwrmmZcoSKyLKvtZxpyV0n2/bD/N4tBAAZ/gJEdZU7KMraoK1+XYAg=="],
|
| 232 |
+
|
| 233 |
+
"pump": ["pump@3.0.2", "", { "dependencies": { "end-of-stream": "^1.1.0", "once": "^1.3.1" } }, "sha512-tUPXtzlGM8FE3P0ZL6DVs/3P58k9nk8/jZeQCurTJylQA8qFYzHFfhBJkuqyE0FifOsQ0uKWekiZ5g8wtr28cw=="],
|
| 234 |
+
|
| 235 |
+
"qs": ["qs@6.14.0", "", { "dependencies": { "side-channel": "^1.1.0" } }, "sha512-YWWTjgABSKcvs/nWBi9PycY/JiPJqOD4JA6o9Sej2AtvSGarXxKC3OQSk4pAarbdQlKAh5D4FCQkJNkW+GAn3w=="],
|
| 236 |
+
|
| 237 |
+
"range-parser": ["range-parser@1.2.1", "", {}, "sha512-Hrgsx+orqoygnmhFbKaHE6c296J+HTAQXoxEF6gNupROmmGJRoyzfG3ccAveqCBrwr/2yxQ5BVd/GTl5agOwSg=="],
|
| 238 |
+
|
| 239 |
+
"raw-body": ["raw-body@3.0.0", "", { "dependencies": { "bytes": "3.1.2", "http-errors": "2.0.0", "iconv-lite": "0.6.3", "unpipe": "1.0.0" } }, "sha512-RmkhL8CAyCRPXCE28MMH0z2PNWQBNk2Q09ZdxM9IOOXwxwZbN+qbWaatPkdkWIKL2ZVDImrN/pK5HTRz2PcS4g=="],
|
| 240 |
+
|
| 241 |
+
"readable-stream": ["readable-stream@3.6.2", "", { "dependencies": { "inherits": "^2.0.3", "string_decoder": "^1.1.1", "util-deprecate": "^1.0.1" } }, "sha512-9u/sniCrY3D5WdsERHzHE4G2YCXqoG5FTHUiCC4SIbr6XcLZBY05ya9EKjYek9O5xOAwjGq+1JdGBAS7Q9ScoA=="],
|
| 242 |
+
|
| 243 |
+
"require-directory": ["require-directory@2.1.1", "", {}, "sha512-fGxEI7+wsG9xrvdjsrlmL22OMTTiHRwAMroiEeMgq8gzoLC/PQr7RsRDSTLUg/bZAZtF+TVIkHc6/4RIKrui+Q=="],
|
| 244 |
+
|
| 245 |
+
"router": ["router@2.2.0", "", { "dependencies": { "debug": "^4.4.0", "depd": "^2.0.0", "is-promise": "^4.0.0", "parseurl": "^1.3.3", "path-to-regexp": "^8.0.0" } }, "sha512-nLTrUKm2UyiL7rlhapu/Zl45FwNgkZGaCpZbIHajDYgwlJCOzLSk+cIPAnsEqV955GjILJnKbdQC1nVPz+gAYQ=="],
|
| 246 |
+
|
| 247 |
+
"safe-buffer": ["safe-buffer@5.2.1", "", {}, "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ=="],
|
| 248 |
+
|
| 249 |
+
"safer-buffer": ["safer-buffer@2.1.2", "", {}, "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg=="],
|
| 250 |
+
|
| 251 |
+
"send": ["send@1.2.0", "", { "dependencies": { "debug": "^4.3.5", "encodeurl": "^2.0.0", "escape-html": "^1.0.3", "etag": "^1.8.1", "fresh": "^2.0.0", "http-errors": "^2.0.0", "mime-types": "^3.0.1", "ms": "^2.1.3", "on-finished": "^2.4.1", "range-parser": "^1.2.1", "statuses": "^2.0.1" } }, "sha512-uaW0WwXKpL9blXE2o0bRhoL2EGXIrZxQ2ZQ4mgcfoBxdFmQold+qWsD2jLrfZ0trjKL6vOw0j//eAwcALFjKSw=="],
|
| 252 |
+
|
| 253 |
+
"serve-static": ["serve-static@2.2.0", "", { "dependencies": { "encodeurl": "^2.0.0", "escape-html": "^1.0.3", "parseurl": "^1.3.3", "send": "^1.2.0" } }, "sha512-61g9pCh0Vnh7IutZjtLGGpTA355+OPn2TyDv/6ivP2h/AdAVX9azsoxmg2/M6nZeQZNYBEwIcsne1mJd9oQItQ=="],
|
| 254 |
+
|
| 255 |
+
"setprototypeof": ["setprototypeof@1.2.0", "", {}, "sha512-E5LDX7Wrp85Kil5bhZv46j8jOeboKq5JMmYM3gVGdGH8xFpPWXUMsNrlODCrkoxMEeNi/XZIwuRvY4XNwYMJpw=="],
|
| 256 |
+
|
| 257 |
+
"side-channel": ["side-channel@1.1.0", "", { "dependencies": { "es-errors": "^1.3.0", "object-inspect": "^1.13.3", "side-channel-list": "^1.0.0", "side-channel-map": "^1.0.1", "side-channel-weakmap": "^1.0.2" } }, "sha512-ZX99e6tRweoUXqR+VBrslhda51Nh5MTQwou5tnUDgbtyM0dBgmhEDtWGP/xbKn6hqfPRHujUNwz5fy/wbbhnpw=="],
|
| 258 |
+
|
| 259 |
+
"side-channel-list": ["side-channel-list@1.0.0", "", { "dependencies": { "es-errors": "^1.3.0", "object-inspect": "^1.13.3" } }, "sha512-FCLHtRD/gnpCiCHEiJLOwdmFP+wzCmDEkc9y7NsYxeF4u7Btsn1ZuwgwJGxImImHicJArLP4R0yX4c2KCrMrTA=="],
|
| 260 |
+
|
| 261 |
+
"side-channel-map": ["side-channel-map@1.0.1", "", { "dependencies": { "call-bound": "^1.0.2", "es-errors": "^1.3.0", "get-intrinsic": "^1.2.5", "object-inspect": "^1.13.3" } }, "sha512-VCjCNfgMsby3tTdo02nbjtM/ewra6jPHmpThenkTYh8pG9ucZ/1P8So4u4FGBek/BjpOVsDCMoLA/iuBKIFXRA=="],
|
| 262 |
+
|
| 263 |
+
"side-channel-weakmap": ["side-channel-weakmap@1.0.2", "", { "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" } }, "sha512-WPS/HvHQTYnHisLo9McqBHOJk2FkHO/tlpvldyrnem4aeQp4hai3gythswg6p01oSoTl58rcpiFAjF2br2Ak2A=="],
|
| 264 |
+
|
| 265 |
+
"split-ca": ["split-ca@1.0.1", "", {}, "sha512-Q5thBSxp5t8WPTTJQS59LrGqOZqOsrhDGDVm8azCqIBjSBd7nd9o2PM+mDulQQkh8h//4U6hFZnc/mul8t5pWQ=="],
|
| 266 |
+
|
| 267 |
+
"ssh2": ["ssh2@1.16.0", "", { "dependencies": { "asn1": "^0.2.6", "bcrypt-pbkdf": "^1.0.2" }, "optionalDependencies": { "cpu-features": "~0.0.10", "nan": "^2.20.0" } }, "sha512-r1X4KsBGedJqo7h8F5c4Ybpcr5RjyP+aWIG007uBPRjmdQWfEiVLzSK71Zji1B9sKxwaCvD8y8cwSkYrlLiRRg=="],
|
| 268 |
+
|
| 269 |
+
"statuses": ["statuses@2.0.1", "", {}, "sha512-RwNA9Z/7PrK06rYLIzFMlaF+l73iwpzsqRIFgbMLbTcLD6cOao82TaWefPXQvB2fOC4AjuYSEndS7N/mTCbkdQ=="],
|
| 270 |
+
|
| 271 |
+
"string-width": ["string-width@4.2.3", "", { "dependencies": { "emoji-regex": "^8.0.0", "is-fullwidth-code-point": "^3.0.0", "strip-ansi": "^6.0.1" } }, "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g=="],
|
| 272 |
+
|
| 273 |
+
"string_decoder": ["string_decoder@1.3.0", "", { "dependencies": { "safe-buffer": "~5.2.0" } }, "sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA=="],
|
| 274 |
+
|
| 275 |
+
"strip-ansi": ["strip-ansi@6.0.1", "", { "dependencies": { "ansi-regex": "^5.0.1" } }, "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A=="],
|
| 276 |
+
|
| 277 |
+
"tar-fs": ["tar-fs@2.1.3", "", { "dependencies": { "chownr": "^1.1.1", "mkdirp-classic": "^0.5.2", "pump": "^3.0.0", "tar-stream": "^2.1.4" } }, "sha512-090nwYJDmlhwFwEW3QQl+vaNnxsO2yVsd45eTKRBzSzu+hlb1w2K9inVq5b0ngXuLVqQ4ApvsUHHnu/zQNkWAg=="],
|
| 278 |
+
|
| 279 |
+
"tar-stream": ["tar-stream@2.2.0", "", { "dependencies": { "bl": "^4.0.3", "end-of-stream": "^1.4.1", "fs-constants": "^1.0.0", "inherits": "^2.0.3", "readable-stream": "^3.1.1" } }, "sha512-ujeqbceABgwMZxEJnk2HDY2DlnUZ+9oEcb1KzTVfYHio0UE6dG71n60d8D2I4qNvleWrrXpmjpt7vZeF1LnMZQ=="],
|
| 280 |
+
|
| 281 |
+
"toidentifier": ["toidentifier@1.0.1", "", {}, "sha512-o5sSPKEkg/DIQNmH43V0/uerLrpzVedkUh8tGNvaeXpfpuwjKenlSox/2O/BTlZUtEe+JG7s5YhEz608PlAHRA=="],
|
| 282 |
+
|
| 283 |
+
"tweetnacl": ["tweetnacl@0.14.5", "", {}, "sha512-KXXFFdAbFXY4geFIwoyNK+f5Z1b7swfXABfL7HXCmoIWMKU3dmS26672A4EeQtDzLKy7SXmfBu51JolvEKwtGA=="],
|
| 284 |
+
|
| 285 |
+
"type-is": ["type-is@2.0.1", "", { "dependencies": { "content-type": "^1.0.5", "media-typer": "^1.1.0", "mime-types": "^3.0.0" } }, "sha512-OZs6gsjF4vMp32qrCbiVSkrFmXtG/AZhY3t0iAMrMBiAZyV9oALtXO8hsrHbMXF9x6L3grlFuwW2oAz7cav+Gw=="],
|
| 286 |
+
|
| 287 |
+
"typescript": ["typescript@5.8.3", "", { "bin": { "tsc": "bin/tsc", "tsserver": "bin/tsserver" } }, "sha512-p1diW6TqL9L07nNxvRMM7hMMw4c5XOo/1ibL4aAIGmSAt9slTE1Xgw5KWuof2uTOvCg9BY7ZRi+GaF+7sfgPeQ=="],
|
| 288 |
+
|
| 289 |
+
"undici-types": ["undici-types@6.21.0", "", {}, "sha512-iwDZqg0QAGrg9Rav5H4n0M64c3mkR59cJ6wQp+7C4nI0gsmExaedaYLNO44eT4AtBBwjbTiGPMlt2Md0T9H9JQ=="],
|
| 290 |
+
|
| 291 |
+
"unpipe": ["unpipe@1.0.0", "", {}, "sha512-pjy2bYhSsufwWlKwPc+l3cN7+wuJlK6uz0YdJEOlQDbl6jo/YlPi4mb8agUkVC8BF7V8NuzeyPNqRksA3hztKQ=="],
|
| 292 |
+
|
| 293 |
+
"util-deprecate": ["util-deprecate@1.0.2", "", {}, "sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw=="],
|
| 294 |
+
|
| 295 |
+
"uuid": ["uuid@11.1.0", "", { "bin": { "uuid": "dist/esm/bin/uuid" } }, "sha512-0/A9rDy9P7cJ+8w1c9WD9V//9Wj15Ce2MPz8Ri6032usz+NfePxx5AcN3bN+r6ZL6jEo066/yNYB3tn4pQEx+A=="],
|
| 296 |
+
|
| 297 |
+
"vary": ["vary@1.1.2", "", {}, "sha512-BNGbWLfd0eUPabhkXUVm0j8uuvREyTh5ovRa/dyow/BqAbZJyC+5fU+IzQOzmAKzYqYRAISoRhdQr3eIZ/PXqg=="],
|
| 298 |
+
|
| 299 |
+
"wrap-ansi": ["wrap-ansi@7.0.0", "", { "dependencies": { "ansi-styles": "^4.0.0", "string-width": "^4.1.0", "strip-ansi": "^6.0.0" } }, "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q=="],
|
| 300 |
+
|
| 301 |
+
"wrappy": ["wrappy@1.0.2", "", {}, "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ=="],
|
| 302 |
+
|
| 303 |
+
"y18n": ["y18n@5.0.8", "", {}, "sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA=="],
|
| 304 |
+
|
| 305 |
+
"yargs": ["yargs@17.7.2", "", { "dependencies": { "cliui": "^8.0.1", "escalade": "^3.1.1", "get-caller-file": "^2.0.5", "require-directory": "^2.1.1", "string-width": "^4.2.3", "y18n": "^5.0.5", "yargs-parser": "^21.1.1" } }, "sha512-7dSzzRQ++CKnNI/krKnYRV7JKKPUXMEh61soaHKg9mrWEhzFWhFnxPxGl+69cD1Ou63C13NUPCnmIcrvqCuM6w=="],
|
| 306 |
+
|
| 307 |
+
"yargs-parser": ["yargs-parser@21.1.1", "", {}, "sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw=="],
|
| 308 |
+
|
| 309 |
+
"@types/ssh2/@types/node": ["@types/node@18.19.104", "", { "dependencies": { "undici-types": "~5.26.4" } }, "sha512-mqjoYx1RjmN61vjnHWfiWzAlwvBKutoUdm+kYLPnjI5DCh8ZqofUhaTbT3WLl7bt3itR8DuCf8ShnxI0JvIC3g=="],
|
| 310 |
+
|
| 311 |
+
"dockerode/uuid": ["uuid@10.0.0", "", { "bin": { "uuid": "dist/bin/uuid" } }, "sha512-8XkAphELsDnEGrDxUOHB3RGvXz6TeuYSGEZBOjtTtPm2lwhGBjLgOzLHB63IUWfBpNucQjND6d3AOudO+H3RWQ=="],
|
| 312 |
+
|
| 313 |
+
"@types/ssh2/@types/node/undici-types": ["undici-types@5.26.5", "", {}, "sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA=="],
|
| 314 |
+
}
|
| 315 |
+
}
|
backend/config.ts
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
export const config = {
|
| 2 |
+
aiSdk: {
|
| 3 |
+
baseU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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"name": "backend",
|
| 3 |
+
"lockfileVersion": 3,
|
| 4 |
+
"requires": true,
|
| 5 |
+
"packages": {
|
| 6 |
+
"": {
|
| 7 |
+
"name": "backend",
|
| 8 |
+
"dependencies": {
|
| 9 |
+
"express": "^5.1.0",
|
| 10 |
+
"uuid": "^11.1.0"
|
| 11 |
+
},
|
| 12 |
+
"devDependencies": {
|
| 13 |
+
"@types/bun": "latest",
|
| 14 |
+
"@types/express": "^5.0.2"
|
| 15 |
+
},
|
| 16 |
+
"peerDependencies": {
|
| 17 |
+
"typescript": "^5"
|
| 18 |
+
}
|
| 19 |
+
},
|
| 20 |
+
"node_modules/@types/body-parser": {
|
| 21 |
+
"version": "1.19.5",
|
| 22 |
+
"resolved": "https://registry.npmjs.org/@types/body-parser/-/body-parser-1.19.5.tgz",
|
| 23 |
+
"integrity": "sha512-fB3Zu92ucau0iQ0JMCFQE7b/dv8Ot07NI3KaZIkIUNXq82k4eBAqUaneXfleGY9JWskeS9y+u0nXMyspcuQrCg==",
|
| 24 |
+
"dev": true,
|
| 25 |
+
"license": "MIT",
|
| 26 |
+
"dependencies": {
|
| 27 |
+
"@types/connect": "*",
|
| 28 |
+
"@types/node": "*"
|
| 29 |
+
}
|
| 30 |
+
},
|
| 31 |
+
"node_modules/@types/bun": {
|
| 32 |
+
"version": "1.2.14",
|
| 33 |
+
"resolved": "https://registry.npmjs.org/@types/bun/-/bun-1.2.14.tgz",
|
| 34 |
+
"integrity": "sha512-VsFZKs8oKHzI7zwvECiAJ5oSorWndIWEVhfbYqZd4HI/45kzW7PN2Rr5biAzvGvRuNmYLSANY+H59ubHq8xw7Q==",
|
| 35 |
+
"dev": true,
|
| 36 |
+
"license": "MIT",
|
| 37 |
+
"dependencies": {
|
| 38 |
+
"bun-types": "1.2.14"
|
| 39 |
+
}
|
| 40 |
+
},
|
| 41 |
+
"node_modules/@types/connect": {
|
| 42 |
+
"version": "3.4.38",
|
| 43 |
+
"resolved": "https://registry.npmjs.org/@types/connect/-/connect-3.4.38.tgz",
|
| 44 |
+
"integrity": "sha512-K6uROf1LD88uDQqJCktA4yzL1YYAK6NgfsI0v/mTgyPKWsX1CnJ0XPSDhViejru1GcRkLWb8RlzFYJRqGUbaug==",
|
| 45 |
+
"dev": true,
|
| 46 |
+
"license": "MIT",
|
| 47 |
+
"dependencies": {
|
| 48 |
+
"@types/node": "*"
|
| 49 |
+
}
|
| 50 |
+
},
|
| 51 |
+
"node_modules/@types/express": {
|
| 52 |
+
"version": "5.0.2",
|
| 53 |
+
"resolved": "https://registry.npmjs.org/@types/express/-/express-5.0.2.tgz",
|
| 54 |
+
"integrity": "sha512-BtjL3ZwbCQriyb0DGw+Rt12qAXPiBTPs815lsUvtt1Grk0vLRMZNMUZ741d5rjk+UQOxfDiBZ3dxpX00vSkK3g==",
|
| 55 |
+
"dev": true,
|
| 56 |
+
"license": "MIT",
|
| 57 |
+
"dependencies": {
|
| 58 |
+
"@types/body-parser": "*",
|
| 59 |
+
"@types/express-serve-static-core": "^5.0.0",
|
| 60 |
+
"@types/serve-static": "*"
|
| 61 |
+
}
|
| 62 |
+
},
|
| 63 |
+
"node_modules/@types/express-serve-static-core": {
|
| 64 |
+
"version": "5.0.6",
|
| 65 |
+
"resolved": "https://registry.npmjs.org/@types/express-serve-static-core/-/express-serve-static-core-5.0.6.tgz",
|
| 66 |
+
"integrity": "sha512-3xhRnjJPkULekpSzgtoNYYcTWgEZkp4myc+Saevii5JPnHNvHMRlBSHDbs7Bh1iPPoVTERHEZXyhyLbMEsExsA==",
|
| 67 |
+
"dev": true,
|
| 68 |
+
"license": "MIT",
|
| 69 |
+
"dependencies": {
|
| 70 |
+
"@types/node": "*",
|
| 71 |
+
"@types/qs": "*",
|
| 72 |
+
"@types/range-parser": "*",
|
| 73 |
+
"@types/send": "*"
|
| 74 |
+
}
|
| 75 |
+
},
|
| 76 |
+
"node_modules/@types/http-errors": {
|
| 77 |
+
"version": "2.0.4",
|
| 78 |
+
"resolved": "https://registry.npmjs.org/@types/http-errors/-/http-errors-2.0.4.tgz",
|
| 79 |
+
"integrity": "sha512-D0CFMMtydbJAegzOyHjtiKPLlvnm3iTZyZRSZoLq2mRhDdmLfIWOCYPfQJ4cu2erKghU++QvjcUjp/5h7hESpA==",
|
| 80 |
+
"dev": true,
|
| 81 |
+
"license": "MIT"
|
| 82 |
+
},
|
| 83 |
+
"node_modules/@types/mime": {
|
| 84 |
+
"version": "1.3.5",
|
| 85 |
+
"resolved": "https://registry.npmjs.org/@types/mime/-/mime-1.3.5.tgz",
|
| 86 |
+
"integrity": "sha512-/pyBZWSLD2n0dcHE3hq8s8ZvcETHtEuF+3E7XVt0Ig2nvsVQXdghHVcEkIWjy9A0wKfTn97a/PSDYohKIlnP/w==",
|
| 87 |
+
"dev": true,
|
| 88 |
+
"license": "MIT"
|
| 89 |
+
},
|
| 90 |
+
"node_modules/@types/node": {
|
| 91 |
+
"version": "22.15.21",
|
| 92 |
+
"dev": true,
|
| 93 |
+
"license": "MIT",
|
| 94 |
+
"dependencies": {
|
| 95 |
+
"undici-types": "~6.21.0"
|
| 96 |
+
}
|
| 97 |
+
},
|
| 98 |
+
"node_modules/@types/qs": {
|
| 99 |
+
"version": "6.14.0",
|
| 100 |
+
"resolved": "https://registry.npmjs.org/@types/qs/-/qs-6.14.0.tgz",
|
| 101 |
+
"integrity": "sha512-eOunJqu0K1923aExK6y8p6fsihYEn/BYuQ4g0CxAAgFc4b/ZLN4CrsRZ55srTdqoiLzU2B2evC+apEIxprEzkQ==",
|
| 102 |
+
"dev": true,
|
| 103 |
+
"license": "MIT"
|
| 104 |
+
},
|
| 105 |
+
"node_modules/@types/range-parser": {
|
| 106 |
+
"version": "1.2.7",
|
| 107 |
+
"resolved": "https://registry.npmjs.org/@types/range-parser/-/range-parser-1.2.7.tgz",
|
| 108 |
+
"integrity": "sha512-hKormJbkJqzQGhziax5PItDUTMAM9uE2XXQmM37dyd4hVM+5aVl7oVxMVUiVQn2oCQFN/LKCZdvSM0pFRqbSmQ==",
|
| 109 |
+
"dev": true,
|
| 110 |
+
"license": "MIT"
|
| 111 |
+
},
|
| 112 |
+
"node_modules/@types/send": {
|
| 113 |
+
"version": "0.17.4",
|
| 114 |
+
"resolved": "https://registry.npmjs.org/@types/send/-/send-0.17.4.tgz",
|
| 115 |
+
"integrity": "sha512-x2EM6TJOybec7c52BX0ZspPodMsQUd5L6PRwOunVyVUhXiBSKf3AezDL8Dgvgt5o0UfKNfuA0eMLr2wLT4AiBA==",
|
| 116 |
+
"dev": true,
|
| 117 |
+
"license": "MIT",
|
| 118 |
+
"dependencies": {
|
| 119 |
+
"@types/mime": "^1",
|
| 120 |
+
"@types/node": "*"
|
| 121 |
+
}
|
| 122 |
+
},
|
| 123 |
+
"node_modules/@types/serve-static": {
|
| 124 |
+
"version": "1.15.7",
|
| 125 |
+
"resolved": "https://registry.npmjs.org/@types/serve-static/-/serve-static-1.15.7.tgz",
|
| 126 |
+
"integrity": "sha512-W8Ym+h8nhuRwaKPaDw34QUkwsGi6Rc4yYqvKFo5rm2FUEhCFbzVWrxXUxuKK8TASjWsysJY0nsmNCGhCOIsrOw==",
|
| 127 |
+
"dev": true,
|
| 128 |
+
"license": "MIT",
|
| 129 |
+
"dependencies": {
|
| 130 |
+
"@types/http-errors": "*",
|
| 131 |
+
"@types/node": "*",
|
| 132 |
+
"@types/send": "*"
|
| 133 |
+
}
|
| 134 |
+
},
|
| 135 |
+
"node_modules/accepts": {
|
| 136 |
+
"version": "2.0.0",
|
| 137 |
+
"license": "MIT",
|
| 138 |
+
"dependencies": {
|
| 139 |
+
"mime-types": "^3.0.0",
|
| 140 |
+
"negotiator": "^1.0.0"
|
| 141 |
+
},
|
| 142 |
+
"engines": {
|
| 143 |
+
"node": ">= 0.6"
|
| 144 |
+
}
|
| 145 |
+
},
|
| 146 |
+
"node_modules/body-parser": {
|
| 147 |
+
"version": "2.2.0",
|
| 148 |
+
"license": "MIT",
|
| 149 |
+
"dependencies": {
|
| 150 |
+
"bytes": "^3.1.2",
|
| 151 |
+
"content-type": "^1.0.5",
|
| 152 |
+
"debug": "^4.4.0",
|
| 153 |
+
"http-errors": "^2.0.0",
|
| 154 |
+
"iconv-lite": "^0.6.3",
|
| 155 |
+
"on-finished": "^2.4.1",
|
| 156 |
+
"qs": "^6.14.0",
|
| 157 |
+
"raw-body": "^3.0.0",
|
| 158 |
+
"type-is": "^2.0.0"
|
| 159 |
+
},
|
| 160 |
+
"engines": {
|
| 161 |
+
"node": ">=18"
|
| 162 |
+
}
|
| 163 |
+
},
|
| 164 |
+
"node_modules/bun-types": {
|
| 165 |
+
"version": "1.2.14",
|
| 166 |
+
"dev": true,
|
| 167 |
+
"license": "MIT",
|
| 168 |
+
"dependencies": {
|
| 169 |
+
"@types/node": "*"
|
| 170 |
+
}
|
| 171 |
+
},
|
| 172 |
+
"node_modules/bytes": {
|
| 173 |
+
"version": "3.1.2",
|
| 174 |
+
"license": "MIT",
|
| 175 |
+
"engines": {
|
| 176 |
+
"node": ">= 0.8"
|
| 177 |
+
}
|
| 178 |
+
},
|
| 179 |
+
"node_modules/call-bind-apply-helpers": {
|
| 180 |
+
"version": "1.0.2",
|
| 181 |
+
"license": "MIT",
|
| 182 |
+
"dependencies": {
|
| 183 |
+
"es-errors": "^1.3.0",
|
| 184 |
+
"function-bind": "^1.1.2"
|
| 185 |
+
},
|
| 186 |
+
"engines": {
|
| 187 |
+
"node": ">= 0.4"
|
| 188 |
+
}
|
| 189 |
+
},
|
| 190 |
+
"node_modules/call-bound": {
|
| 191 |
+
"version": "1.0.4",
|
| 192 |
+
"license": "MIT",
|
| 193 |
+
"dependencies": {
|
| 194 |
+
"call-bind-apply-helpers": "^1.0.2",
|
| 195 |
+
"get-intrinsic": "^1.3.0"
|
| 196 |
+
},
|
| 197 |
+
"engines": {
|
| 198 |
+
"node": ">= 0.4"
|
| 199 |
+
},
|
| 200 |
+
"funding": {
|
| 201 |
+
"url": "https://github.com/sponsors/ljharb"
|
| 202 |
+
}
|
| 203 |
+
},
|
| 204 |
+
"node_modules/content-disposition": {
|
| 205 |
+
"version": "1.0.0",
|
| 206 |
+
"license": "MIT",
|
| 207 |
+
"dependencies": {
|
| 208 |
+
"safe-buffer": "5.2.1"
|
| 209 |
+
},
|
| 210 |
+
"engines": {
|
| 211 |
+
"node": ">= 0.6"
|
| 212 |
+
}
|
| 213 |
+
},
|
| 214 |
+
"node_modules/content-type": {
|
| 215 |
+
"version": "1.0.5",
|
| 216 |
+
"license": "MIT",
|
| 217 |
+
"engines": {
|
| 218 |
+
"node": ">= 0.6"
|
| 219 |
+
}
|
| 220 |
+
},
|
| 221 |
+
"node_modules/cookie": {
|
| 222 |
+
"version": "0.7.2",
|
| 223 |
+
"license": "MIT",
|
| 224 |
+
"engines": {
|
| 225 |
+
"node": ">= 0.6"
|
| 226 |
+
}
|
| 227 |
+
},
|
| 228 |
+
"node_modules/cookie-signature": {
|
| 229 |
+
"version": "1.2.2",
|
| 230 |
+
"license": "MIT",
|
| 231 |
+
"engines": {
|
| 232 |
+
"node": ">=6.6.0"
|
| 233 |
+
}
|
| 234 |
+
},
|
| 235 |
+
"node_modules/debug": {
|
| 236 |
+
"version": "4.4.1",
|
| 237 |
+
"license": "MIT",
|
| 238 |
+
"dependencies": {
|
| 239 |
+
"ms": "^2.1.3"
|
| 240 |
+
},
|
| 241 |
+
"engines": {
|
| 242 |
+
"node": ">=6.0"
|
| 243 |
+
},
|
| 244 |
+
"peerDependenciesMeta": {
|
| 245 |
+
"supports-color": {
|
| 246 |
+
"optional": true
|
| 247 |
+
}
|
| 248 |
+
}
|
| 249 |
+
},
|
| 250 |
+
"node_modules/depd": {
|
| 251 |
+
"version": "2.0.0",
|
| 252 |
+
"license": "MIT",
|
| 253 |
+
"engines": {
|
| 254 |
+
"node": ">= 0.8"
|
| 255 |
+
}
|
| 256 |
+
},
|
| 257 |
+
"node_modules/dunder-proto": {
|
| 258 |
+
"version": "1.0.1",
|
| 259 |
+
"license": "MIT",
|
| 260 |
+
"dependencies": {
|
| 261 |
+
"call-bind-apply-helpers": "^1.0.1",
|
| 262 |
+
"es-errors": "^1.3.0",
|
| 263 |
+
"gopd": "^1.2.0"
|
| 264 |
+
},
|
| 265 |
+
"engines": {
|
| 266 |
+
"node": ">= 0.4"
|
| 267 |
+
}
|
| 268 |
+
},
|
| 269 |
+
"node_modules/ee-first": {
|
| 270 |
+
"version": "1.1.1",
|
| 271 |
+
"license": "MIT"
|
| 272 |
+
},
|
| 273 |
+
"node_modules/encodeurl": {
|
| 274 |
+
"version": "2.0.0",
|
| 275 |
+
"license": "MIT",
|
| 276 |
+
"engines": {
|
| 277 |
+
"node": ">= 0.8"
|
| 278 |
+
}
|
| 279 |
+
},
|
| 280 |
+
"node_modules/es-define-property": {
|
| 281 |
+
"version": "1.0.1",
|
| 282 |
+
"license": "MIT",
|
| 283 |
+
"engines": {
|
| 284 |
+
"node": ">= 0.4"
|
| 285 |
+
}
|
| 286 |
+
},
|
| 287 |
+
"node_modules/es-errors": {
|
| 288 |
+
"version": "1.3.0",
|
| 289 |
+
"license": "MIT",
|
| 290 |
+
"engines": {
|
| 291 |
+
"node": ">= 0.4"
|
| 292 |
+
}
|
| 293 |
+
},
|
| 294 |
+
"node_modules/es-object-atoms": {
|
| 295 |
+
"version": "1.1.1",
|
| 296 |
+
"license": "MIT",
|
| 297 |
+
"dependencies": {
|
| 298 |
+
"es-errors": "^1.3.0"
|
| 299 |
+
},
|
| 300 |
+
"engines": {
|
| 301 |
+
"node": ">= 0.4"
|
| 302 |
+
}
|
| 303 |
+
},
|
| 304 |
+
"node_modules/escape-html": {
|
| 305 |
+
"version": "1.0.3",
|
| 306 |
+
"license": "MIT"
|
| 307 |
+
},
|
| 308 |
+
"node_modules/etag": {
|
| 309 |
+
"version": "1.8.1",
|
| 310 |
+
"license": "MIT",
|
| 311 |
+
"engines": {
|
| 312 |
+
"node": ">= 0.6"
|
| 313 |
+
}
|
| 314 |
+
},
|
| 315 |
+
"node_modules/express": {
|
| 316 |
+
"version": "5.1.0",
|
| 317 |
+
"license": "MIT",
|
| 318 |
+
"dependencies": {
|
| 319 |
+
"accepts": "^2.0.0",
|
| 320 |
+
"body-parser": "^2.2.0",
|
| 321 |
+
"content-disposition": "^1.0.0",
|
| 322 |
+
"content-type": "^1.0.5",
|
| 323 |
+
"cookie": "^0.7.1",
|
| 324 |
+
"cookie-signature": "^1.2.1",
|
| 325 |
+
"debug": "^4.4.0",
|
| 326 |
+
"encodeurl": "^2.0.0",
|
| 327 |
+
"escape-html": "^1.0.3",
|
| 328 |
+
"etag": "^1.8.1",
|
| 329 |
+
"finalhandler": "^2.1.0",
|
| 330 |
+
"fresh": "^2.0.0",
|
| 331 |
+
"http-errors": "^2.0.0",
|
| 332 |
+
"merge-descriptors": "^2.0.0",
|
| 333 |
+
"mime-types": "^3.0.0",
|
| 334 |
+
"on-finished": "^2.4.1",
|
| 335 |
+
"once": "^1.4.0",
|
| 336 |
+
"parseurl": "^1.3.3",
|
| 337 |
+
"proxy-addr": "^2.0.7",
|
| 338 |
+
"qs": "^6.14.0",
|
| 339 |
+
"range-parser": "^1.2.1",
|
| 340 |
+
"router": "^2.2.0",
|
| 341 |
+
"send": "^1.1.0",
|
| 342 |
+
"serve-static": "^2.2.0",
|
| 343 |
+
"statuses": "^2.0.1",
|
| 344 |
+
"type-is": "^2.0.1",
|
| 345 |
+
"vary": "^1.1.2"
|
| 346 |
+
},
|
| 347 |
+
"engines": {
|
| 348 |
+
"node": ">= 18"
|
| 349 |
+
},
|
| 350 |
+
"funding": {
|
| 351 |
+
"type": "opencollective",
|
| 352 |
+
"url": "https://opencollective.com/express"
|
| 353 |
+
}
|
| 354 |
+
},
|
| 355 |
+
"node_modules/finalhandler": {
|
| 356 |
+
"version": "2.1.0",
|
| 357 |
+
"license": "MIT",
|
| 358 |
+
"dependencies": {
|
| 359 |
+
"debug": "^4.4.0",
|
| 360 |
+
"encodeurl": "^2.0.0",
|
| 361 |
+
"escape-html": "^1.0.3",
|
| 362 |
+
"on-finished": "^2.4.1",
|
| 363 |
+
"parseurl": "^1.3.3",
|
| 364 |
+
"statuses": "^2.0.1"
|
| 365 |
+
},
|
| 366 |
+
"engines": {
|
| 367 |
+
"node": ">= 0.8"
|
| 368 |
+
}
|
| 369 |
+
},
|
| 370 |
+
"node_modules/forwarded": {
|
| 371 |
+
"version": "0.2.0",
|
| 372 |
+
"license": "MIT",
|
| 373 |
+
"engines": {
|
| 374 |
+
"node": ">= 0.6"
|
| 375 |
+
}
|
| 376 |
+
},
|
| 377 |
+
"node_modules/fresh": {
|
| 378 |
+
"version": "2.0.0",
|
| 379 |
+
"license": "MIT",
|
| 380 |
+
"engines": {
|
| 381 |
+
"node": ">= 0.8"
|
| 382 |
+
}
|
| 383 |
+
},
|
| 384 |
+
"node_modules/function-bind": {
|
| 385 |
+
"version": "1.1.2",
|
| 386 |
+
"license": "MIT",
|
| 387 |
+
"funding": {
|
| 388 |
+
"url": "https://github.com/sponsors/ljharb"
|
| 389 |
+
}
|
| 390 |
+
},
|
| 391 |
+
"node_modules/get-intrinsic": {
|
| 392 |
+
"version": "1.3.0",
|
| 393 |
+
"license": "MIT",
|
| 394 |
+
"dependencies": {
|
| 395 |
+
"call-bind-apply-helpers": "^1.0.2",
|
| 396 |
+
"es-define-property": "^1.0.1",
|
| 397 |
+
"es-errors": "^1.3.0",
|
| 398 |
+
"es-object-atoms": "^1.1.1",
|
| 399 |
+
"function-bind": "^1.1.2",
|
| 400 |
+
"get-proto": "^1.0.1",
|
| 401 |
+
"gopd": "^1.2.0",
|
| 402 |
+
"has-symbols": "^1.1.0",
|
| 403 |
+
"hasown": "^2.0.2",
|
| 404 |
+
"math-intrinsics": "^1.1.0"
|
| 405 |
+
},
|
| 406 |
+
"engines": {
|
| 407 |
+
"node": ">= 0.4"
|
| 408 |
+
},
|
| 409 |
+
"funding": {
|
| 410 |
+
"url": "https://github.com/sponsors/ljharb"
|
| 411 |
+
}
|
| 412 |
+
},
|
| 413 |
+
"node_modules/get-proto": {
|
| 414 |
+
"version": "1.0.1",
|
| 415 |
+
"license": "MIT",
|
| 416 |
+
"dependencies": {
|
| 417 |
+
"dunder-proto": "^1.0.1",
|
| 418 |
+
"es-object-atoms": "^1.0.0"
|
| 419 |
+
},
|
| 420 |
+
"engines": {
|
| 421 |
+
"node": ">= 0.4"
|
| 422 |
+
}
|
| 423 |
+
},
|
| 424 |
+
"node_modules/gopd": {
|
| 425 |
+
"version": "1.2.0",
|
| 426 |
+
"license": "MIT",
|
| 427 |
+
"engines": {
|
| 428 |
+
"node": ">= 0.4"
|
| 429 |
+
},
|
| 430 |
+
"funding": {
|
| 431 |
+
"url": "https://github.com/sponsors/ljharb"
|
| 432 |
+
}
|
| 433 |
+
},
|
| 434 |
+
"node_modules/has-symbols": {
|
| 435 |
+
"version": "1.1.0",
|
| 436 |
+
"license": "MIT",
|
| 437 |
+
"engines": {
|
| 438 |
+
"node": ">= 0.4"
|
| 439 |
+
},
|
| 440 |
+
"funding": {
|
| 441 |
+
"url": "https://github.com/sponsors/ljharb"
|
| 442 |
+
}
|
| 443 |
+
},
|
| 444 |
+
"node_modules/hasown": {
|
| 445 |
+
"version": "2.0.2",
|
| 446 |
+
"license": "MIT",
|
| 447 |
+
"dependencies": {
|
| 448 |
+
"function-bind": "^1.1.2"
|
| 449 |
+
},
|
| 450 |
+
"engines": {
|
| 451 |
+
"node": ">= 0.4"
|
| 452 |
+
}
|
| 453 |
+
},
|
| 454 |
+
"node_modules/http-errors": {
|
| 455 |
+
"version": "2.0.0",
|
| 456 |
+
"license": "MIT",
|
| 457 |
+
"dependencies": {
|
| 458 |
+
"depd": "2.0.0",
|
| 459 |
+
"inherits": "2.0.4",
|
| 460 |
+
"setprototypeof": "1.2.0",
|
| 461 |
+
"statuses": "2.0.1",
|
| 462 |
+
"toidentifier": "1.0.1"
|
| 463 |
+
},
|
| 464 |
+
"engines": {
|
| 465 |
+
"node": ">= 0.8"
|
| 466 |
+
}
|
| 467 |
+
},
|
| 468 |
+
"node_modules/iconv-lite": {
|
| 469 |
+
"version": "0.6.3",
|
| 470 |
+
"license": "MIT",
|
| 471 |
+
"dependencies": {
|
| 472 |
+
"safer-buffer": ">= 2.1.2 < 3.0.0"
|
| 473 |
+
},
|
| 474 |
+
"engines": {
|
| 475 |
+
"node": ">=0.10.0"
|
| 476 |
+
}
|
| 477 |
+
},
|
| 478 |
+
"node_modules/inherits": {
|
| 479 |
+
"version": "2.0.4",
|
| 480 |
+
"license": "ISC"
|
| 481 |
+
},
|
| 482 |
+
"node_modules/ipaddr.js": {
|
| 483 |
+
"version": "1.9.1",
|
| 484 |
+
"license": "MIT",
|
| 485 |
+
"engines": {
|
| 486 |
+
"node": ">= 0.10"
|
| 487 |
+
}
|
| 488 |
+
},
|
| 489 |
+
"node_modules/is-promise": {
|
| 490 |
+
"version": "4.0.0",
|
| 491 |
+
"license": "MIT"
|
| 492 |
+
},
|
| 493 |
+
"node_modules/math-intrinsics": {
|
| 494 |
+
"version": "1.1.0",
|
| 495 |
+
"license": "MIT",
|
| 496 |
+
"engines": {
|
| 497 |
+
"node": ">= 0.4"
|
| 498 |
+
}
|
| 499 |
+
},
|
| 500 |
+
"node_modules/media-typer": {
|
| 501 |
+
"version": "1.1.0",
|
| 502 |
+
"license": "MIT",
|
| 503 |
+
"engines": {
|
| 504 |
+
"node": ">= 0.8"
|
| 505 |
+
}
|
| 506 |
+
},
|
| 507 |
+
"node_modules/merge-descriptors": {
|
| 508 |
+
"version": "2.0.0",
|
| 509 |
+
"license": "MIT",
|
| 510 |
+
"engines": {
|
| 511 |
+
"node": ">=18"
|
| 512 |
+
},
|
| 513 |
+
"funding": {
|
| 514 |
+
"url": "https://github.com/sponsors/sindresorhus"
|
| 515 |
+
}
|
| 516 |
+
},
|
| 517 |
+
"node_modules/mime-db": {
|
| 518 |
+
"version": "1.54.0",
|
| 519 |
+
"license": "MIT",
|
| 520 |
+
"engines": {
|
| 521 |
+
"node": ">= 0.6"
|
| 522 |
+
}
|
| 523 |
+
},
|
| 524 |
+
"node_modules/mime-types": {
|
| 525 |
+
"version": "3.0.1",
|
| 526 |
+
"license": "MIT",
|
| 527 |
+
"dependencies": {
|
| 528 |
+
"mime-db": "^1.54.0"
|
| 529 |
+
},
|
| 530 |
+
"engines": {
|
| 531 |
+
"node": ">= 0.6"
|
| 532 |
+
}
|
| 533 |
+
},
|
| 534 |
+
"node_modules/ms": {
|
| 535 |
+
"version": "2.1.3",
|
| 536 |
+
"license": "MIT"
|
| 537 |
+
},
|
| 538 |
+
"node_modules/negotiator": {
|
| 539 |
+
"version": "1.0.0",
|
| 540 |
+
"license": "MIT",
|
| 541 |
+
"engines": {
|
| 542 |
+
"node": ">= 0.6"
|
| 543 |
+
}
|
| 544 |
+
},
|
| 545 |
+
"node_modules/object-inspect": {
|
| 546 |
+
"version": "1.13.4",
|
| 547 |
+
"license": "MIT",
|
| 548 |
+
"engines": {
|
| 549 |
+
"node": ">= 0.4"
|
| 550 |
+
},
|
| 551 |
+
"funding": {
|
| 552 |
+
"url": "https://github.com/sponsors/ljharb"
|
| 553 |
+
}
|
| 554 |
+
},
|
| 555 |
+
"node_modules/on-finished": {
|
| 556 |
+
"version": "2.4.1",
|
| 557 |
+
"license": "MIT",
|
| 558 |
+
"dependencies": {
|
| 559 |
+
"ee-first": "1.1.1"
|
| 560 |
+
},
|
| 561 |
+
"engines": {
|
| 562 |
+
"node": ">= 0.8"
|
| 563 |
+
}
|
| 564 |
+
},
|
| 565 |
+
"node_modules/once": {
|
| 566 |
+
"version": "1.4.0",
|
| 567 |
+
"license": "ISC",
|
| 568 |
+
"dependencies": {
|
| 569 |
+
"wrappy": "1"
|
| 570 |
+
}
|
| 571 |
+
},
|
| 572 |
+
"node_modules/parseurl": {
|
| 573 |
+
"version": "1.3.3",
|
| 574 |
+
"license": "MIT",
|
| 575 |
+
"engines": {
|
| 576 |
+
"node": ">= 0.8"
|
| 577 |
+
}
|
| 578 |
+
},
|
| 579 |
+
"node_modules/path-to-regexp": {
|
| 580 |
+
"version": "8.2.0",
|
| 581 |
+
"license": "MIT",
|
| 582 |
+
"engines": {
|
| 583 |
+
"node": ">=16"
|
| 584 |
+
}
|
| 585 |
+
},
|
| 586 |
+
"node_modules/proxy-addr": {
|
| 587 |
+
"version": "2.0.7",
|
| 588 |
+
"license": "MIT",
|
| 589 |
+
"dependencies": {
|
| 590 |
+
"forwarded": "0.2.0",
|
| 591 |
+
"ipaddr.js": "1.9.1"
|
| 592 |
+
},
|
| 593 |
+
"engines": {
|
| 594 |
+
"node": ">= 0.10"
|
| 595 |
+
}
|
| 596 |
+
},
|
| 597 |
+
"node_modules/qs": {
|
| 598 |
+
"version": "6.14.0",
|
| 599 |
+
"license": "BSD-3-Clause",
|
| 600 |
+
"dependencies": {
|
| 601 |
+
"side-channel": "^1.1.0"
|
| 602 |
+
},
|
| 603 |
+
"engines": {
|
| 604 |
+
"node": ">=0.6"
|
| 605 |
+
},
|
| 606 |
+
"funding": {
|
| 607 |
+
"url": "https://github.com/sponsors/ljharb"
|
| 608 |
+
}
|
| 609 |
+
},
|
| 610 |
+
"node_modules/range-parser": {
|
| 611 |
+
"version": "1.2.1",
|
| 612 |
+
"license": "MIT",
|
| 613 |
+
"engines": {
|
| 614 |
+
"node": ">= 0.6"
|
| 615 |
+
}
|
| 616 |
+
},
|
| 617 |
+
"node_modules/raw-body": {
|
| 618 |
+
"version": "3.0.0",
|
| 619 |
+
"license": "MIT",
|
| 620 |
+
"dependencies": {
|
| 621 |
+
"bytes": "3.1.2",
|
| 622 |
+
"http-errors": "2.0.0",
|
| 623 |
+
"iconv-lite": "0.6.3",
|
| 624 |
+
"unpipe": "1.0.0"
|
| 625 |
+
},
|
| 626 |
+
"engines": {
|
| 627 |
+
"node": ">= 0.8"
|
| 628 |
+
}
|
| 629 |
+
},
|
| 630 |
+
"node_modules/router": {
|
| 631 |
+
"version": "2.2.0",
|
| 632 |
+
"license": "MIT",
|
| 633 |
+
"dependencies": {
|
| 634 |
+
"debug": "^4.4.0",
|
| 635 |
+
"depd": "^2.0.0",
|
| 636 |
+
"is-promise": "^4.0.0",
|
| 637 |
+
"parseurl": "^1.3.3",
|
| 638 |
+
"path-to-regexp": "^8.0.0"
|
| 639 |
+
},
|
| 640 |
+
"engines": {
|
| 641 |
+
"node": ">= 18"
|
| 642 |
+
}
|
| 643 |
+
},
|
| 644 |
+
"node_modules/safe-buffer": {
|
| 645 |
+
"version": "5.2.1",
|
| 646 |
+
"funding": [
|
| 647 |
+
{
|
| 648 |
+
"type": "github",
|
| 649 |
+
"url": "https://github.com/sponsors/feross"
|
| 650 |
+
},
|
| 651 |
+
{
|
| 652 |
+
"type": "patreon",
|
| 653 |
+
"url": "https://www.patreon.com/feross"
|
| 654 |
+
},
|
| 655 |
+
{
|
| 656 |
+
"type": "consulting",
|
| 657 |
+
"url": "https://feross.org/support"
|
| 658 |
+
}
|
| 659 |
+
],
|
| 660 |
+
"license": "MIT"
|
| 661 |
+
},
|
| 662 |
+
"node_modules/safer-buffer": {
|
| 663 |
+
"version": "2.1.2",
|
| 664 |
+
"license": "MIT"
|
| 665 |
+
},
|
| 666 |
+
"node_modules/send": {
|
| 667 |
+
"version": "1.2.0",
|
| 668 |
+
"license": "MIT",
|
| 669 |
+
"dependencies": {
|
| 670 |
+
"debug": "^4.3.5",
|
| 671 |
+
"encodeurl": "^2.0.0",
|
| 672 |
+
"escape-html": "^1.0.3",
|
| 673 |
+
"etag": "^1.8.1",
|
| 674 |
+
"fresh": "^2.0.0",
|
| 675 |
+
"http-errors": "^2.0.0",
|
| 676 |
+
"mime-types": "^3.0.1",
|
| 677 |
+
"ms": "^2.1.3",
|
| 678 |
+
"on-finished": "^2.4.1",
|
| 679 |
+
"range-parser": "^1.2.1",
|
| 680 |
+
"statuses": "^2.0.1"
|
| 681 |
+
},
|
| 682 |
+
"engines": {
|
| 683 |
+
"node": ">= 18"
|
| 684 |
+
}
|
| 685 |
+
},
|
| 686 |
+
"node_modules/serve-static": {
|
| 687 |
+
"version": "2.2.0",
|
| 688 |
+
"license": "MIT",
|
| 689 |
+
"dependencies": {
|
| 690 |
+
"encodeurl": "^2.0.0",
|
| 691 |
+
"escape-html": "^1.0.3",
|
| 692 |
+
"parseurl": "^1.3.3",
|
| 693 |
+
"send": "^1.2.0"
|
| 694 |
+
},
|
| 695 |
+
"engines": {
|
| 696 |
+
"node": ">= 18"
|
| 697 |
+
}
|
| 698 |
+
},
|
| 699 |
+
"node_modules/setprototypeof": {
|
| 700 |
+
"version": "1.2.0",
|
| 701 |
+
"license": "ISC"
|
| 702 |
+
},
|
| 703 |
+
"node_modules/side-channel": {
|
| 704 |
+
"version": "1.1.0",
|
| 705 |
+
"license": "MIT",
|
| 706 |
+
"dependencies": {
|
| 707 |
+
"es-errors": "^1.3.0",
|
| 708 |
+
"object-inspect": "^1.13.3",
|
| 709 |
+
"side-channel-list": "^1.0.0",
|
| 710 |
+
"side-channel-map": "^1.0.1",
|
| 711 |
+
"side-channel-weakmap": "^1.0.2"
|
| 712 |
+
},
|
| 713 |
+
"engines": {
|
| 714 |
+
"node": ">= 0.4"
|
| 715 |
+
},
|
| 716 |
+
"funding": {
|
| 717 |
+
"url": "https://github.com/sponsors/ljharb"
|
| 718 |
+
}
|
| 719 |
+
},
|
| 720 |
+
"node_modules/side-channel-list": {
|
| 721 |
+
"version": "1.0.0",
|
| 722 |
+
"license": "MIT",
|
| 723 |
+
"dependencies": {
|
| 724 |
+
"es-errors": "^1.3.0",
|
| 725 |
+
"object-inspect": "^1.13.3"
|
| 726 |
+
},
|
| 727 |
+
"engines": {
|
| 728 |
+
"node": ">= 0.4"
|
| 729 |
+
},
|
| 730 |
+
"funding": {
|
| 731 |
+
"url": "https://github.com/sponsors/ljharb"
|
| 732 |
+
}
|
| 733 |
+
},
|
| 734 |
+
"node_modules/side-channel-map": {
|
| 735 |
+
"version": "1.0.1",
|
| 736 |
+
"license": "MIT",
|
| 737 |
+
"dependencies": {
|
| 738 |
+
"call-bound": "^1.0.2",
|
| 739 |
+
"es-errors": "^1.3.0",
|
| 740 |
+
"get-intrinsic": "^1.2.5",
|
| 741 |
+
"object-inspect": "^1.13.3"
|
| 742 |
+
},
|
| 743 |
+
"engines": {
|
| 744 |
+
"node": ">= 0.4"
|
| 745 |
+
},
|
| 746 |
+
"funding": {
|
| 747 |
+
"url": "https://github.com/sponsors/ljharb"
|
| 748 |
+
}
|
| 749 |
+
},
|
| 750 |
+
"node_modules/side-channel-weakmap": {
|
| 751 |
+
"version": "1.0.2",
|
| 752 |
+
"license": "MIT",
|
| 753 |
+
"dependencies": {
|
| 754 |
+
"call-bound": "^1.0.2",
|
| 755 |
+
"es-errors": "^1.3.0",
|
| 756 |
+
"get-intrinsic": "^1.2.5",
|
| 757 |
+
"object-inspect": "^1.13.3",
|
| 758 |
+
"side-channel-map": "^1.0.1"
|
| 759 |
+
},
|
| 760 |
+
"engines": {
|
| 761 |
+
"node": ">= 0.4"
|
| 762 |
+
},
|
| 763 |
+
"funding": {
|
| 764 |
+
"url": "https://github.com/sponsors/ljharb"
|
| 765 |
+
}
|
| 766 |
+
},
|
| 767 |
+
"node_modules/statuses": {
|
| 768 |
+
"version": "2.0.1",
|
| 769 |
+
"license": "MIT",
|
| 770 |
+
"engines": {
|
| 771 |
+
"node": ">= 0.8"
|
| 772 |
+
}
|
| 773 |
+
},
|
| 774 |
+
"node_modules/toidentifier": {
|
| 775 |
+
"version": "1.0.1",
|
| 776 |
+
"license": "MIT",
|
| 777 |
+
"engines": {
|
| 778 |
+
"node": ">=0.6"
|
| 779 |
+
}
|
| 780 |
+
},
|
| 781 |
+
"node_modules/type-is": {
|
| 782 |
+
"version": "2.0.1",
|
| 783 |
+
"license": "MIT",
|
| 784 |
+
"dependencies": {
|
| 785 |
+
"content-type": "^1.0.5",
|
| 786 |
+
"media-typer": "^1.1.0",
|
| 787 |
+
"mime-types": "^3.0.0"
|
| 788 |
+
},
|
| 789 |
+
"engines": {
|
| 790 |
+
"node": ">= 0.6"
|
| 791 |
+
}
|
| 792 |
+
},
|
| 793 |
+
"node_modules/typescript": {
|
| 794 |
+
"version": "5.8.3",
|
| 795 |
+
"license": "Apache-2.0",
|
| 796 |
+
"peer": true,
|
| 797 |
+
"bin": {
|
| 798 |
+
"tsc": "bin/tsc",
|
| 799 |
+
"tsserver": "bin/tsserver"
|
| 800 |
+
},
|
| 801 |
+
"engines": {
|
| 802 |
+
"node": ">=14.17"
|
| 803 |
+
}
|
| 804 |
+
},
|
| 805 |
+
"node_modules/undici-types": {
|
| 806 |
+
"version": "6.21.0",
|
| 807 |
+
"dev": true,
|
| 808 |
+
"license": "MIT"
|
| 809 |
+
},
|
| 810 |
+
"node_modules/unpipe": {
|
| 811 |
+
"version": "1.0.0",
|
| 812 |
+
"license": "MIT",
|
| 813 |
+
"engines": {
|
| 814 |
+
"node": ">= 0.8"
|
| 815 |
+
}
|
| 816 |
+
},
|
| 817 |
+
"node_modules/uuid": {
|
| 818 |
+
"version": "11.1.0",
|
| 819 |
+
"funding": [
|
| 820 |
+
"https://github.com/sponsors/broofa",
|
| 821 |
+
"https://github.com/sponsors/ctavan"
|
| 822 |
+
],
|
| 823 |
+
"license": "MIT",
|
| 824 |
+
"bin": {
|
| 825 |
+
"uuid": "dist/esm/bin/uuid"
|
| 826 |
+
}
|
| 827 |
+
},
|
| 828 |
+
"node_modules/vary": {
|
| 829 |
+
"version": "1.1.2",
|
| 830 |
+
"license": "MIT",
|
| 831 |
+
"engines": {
|
| 832 |
+
"node": ">= 0.8"
|
| 833 |
+
}
|
| 834 |
+
},
|
| 835 |
+
"node_modules/wrappy": {
|
| 836 |
+
"version": "1.0.2",
|
| 837 |
+
"license": "ISC"
|
| 838 |
+
}
|
| 839 |
+
}
|
| 840 |
+
}
|
backend/package.json
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"name": "backend",
|
| 3 |
+
"module": "index.ts",
|
| 4 |
+
"type": "module",
|
| 5 |
+
"private": true,
|
| 6 |
+
"devDependencies": {
|
| 7 |
+
"@types/bun": "latest",
|
| 8 |
+
"@types/express": "^5.0.2"
|
| 9 |
+
},
|
| 10 |
+
"peerDependencies": {
|
| 11 |
+
"typescript": "^5"
|
| 12 |
+
},
|
| 13 |
+
"dependencies": {
|
| 14 |
+
"@types/dockerode": "^3.3.39",
|
| 15 |
+
"dockerode": "^4.0.6",
|
| 16 |
+
"express": "^5.1.0",
|
| 17 |
+
"openai": "^5.0.1",
|
| 18 |
+
"uuid": "^11.1.0"
|
| 19 |
+
}
|
| 20 |
+
}
|
backend/src/Dockerfile
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
FROM node:18-alpine
|
| 2 |
+
|
| 3 |
+
RUN apk add --no-cache curl bash
|
| 4 |
+
|
| 5 |
+
RUN curl -fsSL https://bun.sh/install | bash
|
| 6 |
+
ENV PATH="/root/.bun/bin:$PATH"
|
| 7 |
+
|
| 8 |
+
WORKDIR /app
|
| 9 |
+
|
| 10 |
+
# Clone the December Next.js template repository
|
| 11 |
+
RUN curl -L https://github.com/ntegrals/december-nextjs-template/archive/main.tar.gz | tar -xz && \
|
| 12 |
+
mv december-nextjs-template-main my-nextjs-app
|
| 13 |
+
|
| 14 |
+
WORKDIR /app/my-nextjs-app
|
| 15 |
+
|
| 16 |
+
RUN bun install
|
| 17 |
+
|
| 18 |
+
EXPOSE 3001
|
| 19 |
+
|
| 20 |
+
CMD ["bun", "dev"]
|
backend/src/index.ts
ADDED
|
@@ -0,0 +1,33 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import express from "express";
|
| 2 |
+
import chatRoutes from "./routes/chat";
|
| 3 |
+
import containerRoutes from "./routes/containers";
|
| 4 |
+
|
| 5 |
+
const app = express();
|
| 6 |
+
|
| 7 |
+
app.use((req, res, next) => {
|
| 8 |
+
res.header("Access-Control-Allow-Origin", "*");
|
| 9 |
+
res.header("Access-Control-Allow-Methods", "GET, POST, PUT, DELETE, OPTIONS");
|
| 10 |
+
res.header(
|
| 11 |
+
"Access-Control-Allow-Headers",
|
| 12 |
+
"Origin, X-Requested-With, Content-Type, Accept, Authorization"
|
| 13 |
+
);
|
| 14 |
+
|
| 15 |
+
if (req.method === "OPTIONS") {
|
| 16 |
+
res.sendStatus(200);
|
| 17 |
+
} else {
|
| 18 |
+
next();
|
| 19 |
+
}
|
| 20 |
+
});
|
| 21 |
+
|
| 22 |
+
app.use(express.json({ limit: "50mb" }));
|
| 23 |
+
app.use(express.urlencoded({ limit: "50mb", extended: true }));
|
| 24 |
+
|
| 25 |
+
app.use("/containers", containerRoutes);
|
| 26 |
+
app.use("/chat", chatRoutes);
|
| 27 |
+
|
| 28 |
+
const PORT = process.env.PORT || 4000;
|
| 29 |
+
app.listen(PORT, () => {
|
| 30 |
+
console.log(`Docker Container API running on port ${PORT}`);
|
| 31 |
+
});
|
| 32 |
+
|
| 33 |
+
export default app;
|
backend/src/routes/chat.ts
ADDED
|
@@ -0,0 +1,90 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import express from "express";
|
| 2 |
+
import * as llmService from "../services/llm";
|
| 3 |
+
|
| 4 |
+
const router = express.Router();
|
| 5 |
+
|
| 6 |
+
//@ts-ignore
|
| 7 |
+
router.post("/:containerId/messages", async (req, res) => {
|
| 8 |
+
const { containerId } = req.params;
|
| 9 |
+
const { message, attachments = [], stream = false } = req.body;
|
| 10 |
+
|
| 11 |
+
if (!message || typeof message !== "string") {
|
| 12 |
+
return res.status(400).json({
|
| 13 |
+
success: false,
|
| 14 |
+
error: "Message is required",
|
| 15 |
+
});
|
| 16 |
+
}
|
| 17 |
+
|
| 18 |
+
try {
|
| 19 |
+
if (stream) {
|
| 20 |
+
res.setHeader("Content-Type", "text/event-stream");
|
| 21 |
+
res.setHeader("Cache-Control", "no-cache");
|
| 22 |
+
res.setHeader("Connection", "keep-alive");
|
| 23 |
+
res.setHeader("Access-Control-Allow-Origin", "*");
|
| 24 |
+
|
| 25 |
+
const messageStream = llmService.sendMessageStream(
|
| 26 |
+
containerId,
|
| 27 |
+
message,
|
| 28 |
+
attachments
|
| 29 |
+
);
|
| 30 |
+
|
| 31 |
+
for await (const chunk of messageStream) {
|
| 32 |
+
res.write(`data: ${JSON.stringify(chunk)}\n\n`);
|
| 33 |
+
}
|
| 34 |
+
|
| 35 |
+
res.write("data: [DONE]\n\n");
|
| 36 |
+
res.end();
|
| 37 |
+
} else {
|
| 38 |
+
const { userMessage, assistantMessage } = await llmService.sendMessage(
|
| 39 |
+
containerId,
|
| 40 |
+
message,
|
| 41 |
+
attachments
|
| 42 |
+
);
|
| 43 |
+
|
| 44 |
+
res.json({
|
| 45 |
+
success: true,
|
| 46 |
+
userMessage,
|
| 47 |
+
assistantMessage,
|
| 48 |
+
});
|
| 49 |
+
}
|
| 50 |
+
} catch (error) {
|
| 51 |
+
console.log(error);
|
| 52 |
+
if (stream) {
|
| 53 |
+
res.write(
|
| 54 |
+
`data: ${JSON.stringify({
|
| 55 |
+
type: "error",
|
| 56 |
+
data: {
|
| 57 |
+
error: error instanceof Error ? error.message : "Unknown error",
|
| 58 |
+
},
|
| 59 |
+
})}\n\n`
|
| 60 |
+
);
|
| 61 |
+
res.end();
|
| 62 |
+
} else {
|
| 63 |
+
res.status(500).json({
|
| 64 |
+
success: false,
|
| 65 |
+
error: error instanceof Error ? error.message : "Unknown error",
|
| 66 |
+
});
|
| 67 |
+
}
|
| 68 |
+
}
|
| 69 |
+
});
|
| 70 |
+
|
| 71 |
+
router.get("/:containerId/messages", async (req, res) => {
|
| 72 |
+
const { containerId } = req.params;
|
| 73 |
+
|
| 74 |
+
try {
|
| 75 |
+
const session = llmService.getOrCreateChatSession(containerId);
|
| 76 |
+
|
| 77 |
+
res.json({
|
| 78 |
+
success: true,
|
| 79 |
+
messages: session.messages,
|
| 80 |
+
sessionId: session.id,
|
| 81 |
+
});
|
| 82 |
+
} catch (error) {
|
| 83 |
+
res.status(500).json({
|
| 84 |
+
success: false,
|
| 85 |
+
error: error instanceof Error ? error.message : "Unknown error",
|
| 86 |
+
});
|
| 87 |
+
}
|
| 88 |
+
});
|
| 89 |
+
|
| 90 |
+
export default router;
|
backend/src/routes/containers.ts
ADDED
|
@@ -0,0 +1,321 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import express from "express";
|
| 2 |
+
import { v4 as uuidv4 } from "uuid";
|
| 3 |
+
import * as dockerService from "../services/docker";
|
| 4 |
+
import * as exportService from "../services/export";
|
| 5 |
+
import * as fileService from "../services/file";
|
| 6 |
+
import * as packageService from "../services/package";
|
| 7 |
+
|
| 8 |
+
const router = express.Router();
|
| 9 |
+
|
| 10 |
+
router.get("/", async (req, res) => {
|
| 11 |
+
try {
|
| 12 |
+
const containers = await dockerService.listProjectContainers();
|
| 13 |
+
|
| 14 |
+
res.json({
|
| 15 |
+
success: true,
|
| 16 |
+
containers,
|
| 17 |
+
});
|
| 18 |
+
} catch (error) {
|
| 19 |
+
res.status(500).json({
|
| 20 |
+
success: false,
|
| 21 |
+
error: error instanceof Error ? error.message : "Unknown error",
|
| 22 |
+
});
|
| 23 |
+
}
|
| 24 |
+
});
|
| 25 |
+
|
| 26 |
+
router.post("/create", async (req, res) => {
|
| 27 |
+
const containerId = uuidv4();
|
| 28 |
+
|
| 29 |
+
try {
|
| 30 |
+
const imageName = await dockerService.buildImage(containerId);
|
| 31 |
+
const { container, port } = await dockerService.createContainer(
|
| 32 |
+
imageName,
|
| 33 |
+
containerId
|
| 34 |
+
);
|
| 35 |
+
|
| 36 |
+
res.json({
|
| 37 |
+
success: true,
|
| 38 |
+
containerId: container.id,
|
| 39 |
+
container: {
|
| 40 |
+
id: containerId,
|
| 41 |
+
containerId: container.id,
|
| 42 |
+
status: "running",
|
| 43 |
+
port: port,
|
| 44 |
+
url: `http://localhost:${port}`,
|
| 45 |
+
createdAt: new Date().toISOString(),
|
| 46 |
+
type: "Next.js App",
|
| 47 |
+
},
|
| 48 |
+
});
|
| 49 |
+
} catch (error) {
|
| 50 |
+
await dockerService.cleanupImage(containerId);
|
| 51 |
+
|
| 52 |
+
res.status(500).json({
|
| 53 |
+
success: false,
|
| 54 |
+
error: error instanceof Error ? error.message : "Unknown error",
|
| 55 |
+
});
|
| 56 |
+
}
|
| 57 |
+
});
|
| 58 |
+
|
| 59 |
+
router.post("/:containerId/start", async (req, res) => {
|
| 60 |
+
const { containerId } = req.params;
|
| 61 |
+
|
| 62 |
+
try {
|
| 63 |
+
const { port } = await dockerService.startContainer(containerId);
|
| 64 |
+
|
| 65 |
+
res.json({
|
| 66 |
+
success: true,
|
| 67 |
+
containerId,
|
| 68 |
+
port,
|
| 69 |
+
url: `http://localhost:${port}`,
|
| 70 |
+
status: "running",
|
| 71 |
+
message: "Container started successfully",
|
| 72 |
+
});
|
| 73 |
+
} catch (error) {
|
| 74 |
+
res.status(500).json({
|
| 75 |
+
success: false,
|
| 76 |
+
error: error instanceof Error ? error.message : "Unknown error",
|
| 77 |
+
});
|
| 78 |
+
}
|
| 79 |
+
});
|
| 80 |
+
|
| 81 |
+
router.post("/:containerId/stop", async (req, res) => {
|
| 82 |
+
const { containerId } = req.params;
|
| 83 |
+
|
| 84 |
+
try {
|
| 85 |
+
await dockerService.stopContainer(containerId);
|
| 86 |
+
|
| 87 |
+
res.json({
|
| 88 |
+
success: true,
|
| 89 |
+
containerId,
|
| 90 |
+
status: "stopped",
|
| 91 |
+
message: "Container stopped successfully",
|
| 92 |
+
});
|
| 93 |
+
} catch (error) {
|
| 94 |
+
res.status(500).json({
|
| 95 |
+
success: false,
|
| 96 |
+
error: error instanceof Error ? error.message : "Unknown error",
|
| 97 |
+
});
|
| 98 |
+
}
|
| 99 |
+
});
|
| 100 |
+
|
| 101 |
+
router.delete("/:containerId", async (req, res) => {
|
| 102 |
+
const { containerId } = req.params;
|
| 103 |
+
|
| 104 |
+
try {
|
| 105 |
+
await dockerService.deleteContainer(containerId);
|
| 106 |
+
|
| 107 |
+
res.json({
|
| 108 |
+
success: true,
|
| 109 |
+
containerId,
|
| 110 |
+
message: "Container deleted successfully",
|
| 111 |
+
});
|
| 112 |
+
} catch (error) {
|
| 113 |
+
res.status(500).json({
|
| 114 |
+
success: false,
|
| 115 |
+
error: error instanceof Error ? error.message : "Unknown error",
|
| 116 |
+
});
|
| 117 |
+
}
|
| 118 |
+
});
|
| 119 |
+
|
| 120 |
+
router.get("/:containerId/files", async (req, res) => {
|
| 121 |
+
const { containerId } = req.params;
|
| 122 |
+
const { path: containerPath = "/app/my-nextjs-app" } = req.query;
|
| 123 |
+
|
| 124 |
+
try {
|
| 125 |
+
const files = await fileService.listFiles(
|
| 126 |
+
dockerService.docker,
|
| 127 |
+
containerId,
|
| 128 |
+
containerPath as string
|
| 129 |
+
);
|
| 130 |
+
|
| 131 |
+
res.json({
|
| 132 |
+
success: true,
|
| 133 |
+
path: containerPath,
|
| 134 |
+
files,
|
| 135 |
+
});
|
| 136 |
+
} catch (error) {
|
| 137 |
+
res.status(500).json({
|
| 138 |
+
success: false,
|
| 139 |
+
error: error instanceof Error ? error.message : "Unknown error",
|
| 140 |
+
});
|
| 141 |
+
}
|
| 142 |
+
});
|
| 143 |
+
|
| 144 |
+
router.get("/:containerId/file-tree", async (req, res) => {
|
| 145 |
+
const { containerId } = req.params;
|
| 146 |
+
|
| 147 |
+
try {
|
| 148 |
+
const fileTree = await fileService.getFileTree(
|
| 149 |
+
dockerService.docker,
|
| 150 |
+
containerId
|
| 151 |
+
);
|
| 152 |
+
|
| 153 |
+
res.json({
|
| 154 |
+
success: true,
|
| 155 |
+
fileTree,
|
| 156 |
+
});
|
| 157 |
+
} catch (error) {
|
| 158 |
+
res.status(500).json({
|
| 159 |
+
success: false,
|
| 160 |
+
error: error instanceof Error ? error.message : "Unknown error",
|
| 161 |
+
});
|
| 162 |
+
}
|
| 163 |
+
});
|
| 164 |
+
|
| 165 |
+
router.get("/:containerId/file-content-tree", async (req, res) => {
|
| 166 |
+
const { containerId } = req.params;
|
| 167 |
+
|
| 168 |
+
try {
|
| 169 |
+
const fileContentTree = await fileService.getFileContentTree(
|
| 170 |
+
dockerService.docker,
|
| 171 |
+
containerId
|
| 172 |
+
);
|
| 173 |
+
|
| 174 |
+
res.json({
|
| 175 |
+
success: true,
|
| 176 |
+
fileContentTree,
|
| 177 |
+
});
|
| 178 |
+
} catch (error) {
|
| 179 |
+
res.status(500).json({
|
| 180 |
+
success: false,
|
| 181 |
+
error: error instanceof Error ? error.message : "Unknown error",
|
| 182 |
+
});
|
| 183 |
+
}
|
| 184 |
+
});
|
| 185 |
+
|
| 186 |
+
//@ts-ignore
|
| 187 |
+
router.get("/:containerId/file", async (req, res) => {
|
| 188 |
+
const { containerId } = req.params;
|
| 189 |
+
const { path: filePath } = req.query;
|
| 190 |
+
|
| 191 |
+
if (!filePath) {
|
| 192 |
+
return res.status(400).json({
|
| 193 |
+
success: false,
|
| 194 |
+
error: "File path is required",
|
| 195 |
+
});
|
| 196 |
+
}
|
| 197 |
+
|
| 198 |
+
try {
|
| 199 |
+
const content = await fileService.readFile(
|
| 200 |
+
dockerService.docker,
|
| 201 |
+
containerId,
|
| 202 |
+
filePath as string
|
| 203 |
+
);
|
| 204 |
+
|
| 205 |
+
res.json({
|
| 206 |
+
success: true,
|
| 207 |
+
content,
|
| 208 |
+
});
|
| 209 |
+
} catch (error) {
|
| 210 |
+
res.status(500).json({
|
| 211 |
+
success: false,
|
| 212 |
+
error: error instanceof Error ? error.message : "Unknown error",
|
| 213 |
+
});
|
| 214 |
+
}
|
| 215 |
+
});
|
| 216 |
+
|
| 217 |
+
router.put("/:containerId/files", async (req, res) => {
|
| 218 |
+
const { containerId } = req.params;
|
| 219 |
+
const { path: filePath, content } = req.body;
|
| 220 |
+
|
| 221 |
+
try {
|
| 222 |
+
await fileService.writeFile(containerId, filePath, content);
|
| 223 |
+
|
| 224 |
+
res.json({
|
| 225 |
+
success: true,
|
| 226 |
+
message: "File updated successfully",
|
| 227 |
+
});
|
| 228 |
+
} catch (error) {
|
| 229 |
+
res.status(500).json({
|
| 230 |
+
success: false,
|
| 231 |
+
error: error instanceof Error ? error.message : "Unknown error",
|
| 232 |
+
});
|
| 233 |
+
}
|
| 234 |
+
});
|
| 235 |
+
|
| 236 |
+
router.put("/:containerId/files/rename", async (req, res) => {
|
| 237 |
+
const { containerId } = req.params;
|
| 238 |
+
const { oldPath, newPath } = req.body;
|
| 239 |
+
|
| 240 |
+
try {
|
| 241 |
+
await fileService.renameFile(containerId, oldPath, newPath);
|
| 242 |
+
|
| 243 |
+
res.json({
|
| 244 |
+
success: true,
|
| 245 |
+
message: "File renamed successfully",
|
| 246 |
+
});
|
| 247 |
+
} catch (error) {
|
| 248 |
+
res.status(500).json({
|
| 249 |
+
success: false,
|
| 250 |
+
error: error instanceof Error ? error.message : "Unknown error",
|
| 251 |
+
});
|
| 252 |
+
}
|
| 253 |
+
});
|
| 254 |
+
|
| 255 |
+
router.delete("/:containerId/files", async (req, res) => {
|
| 256 |
+
const { containerId } = req.params;
|
| 257 |
+
const { path: filePath } = req.body;
|
| 258 |
+
|
| 259 |
+
try {
|
| 260 |
+
await fileService.removeFile(containerId, filePath);
|
| 261 |
+
|
| 262 |
+
res.json({
|
| 263 |
+
success: true,
|
| 264 |
+
message: "File removed successfully",
|
| 265 |
+
});
|
| 266 |
+
} catch (error) {
|
| 267 |
+
res.status(500).json({
|
| 268 |
+
success: false,
|
| 269 |
+
error: error instanceof Error ? error.message : "Unknown error",
|
| 270 |
+
});
|
| 271 |
+
}
|
| 272 |
+
});
|
| 273 |
+
|
| 274 |
+
router.post("/:containerId/dependencies", async (req, res) => {
|
| 275 |
+
const { containerId } = req.params;
|
| 276 |
+
const { packageName, isDev = false } = req.body;
|
| 277 |
+
|
| 278 |
+
try {
|
| 279 |
+
const output = await packageService.addDependency(
|
| 280 |
+
containerId,
|
| 281 |
+
packageName,
|
| 282 |
+
isDev
|
| 283 |
+
);
|
| 284 |
+
|
| 285 |
+
res.json({
|
| 286 |
+
success: true,
|
| 287 |
+
message: "Dependency added successfully",
|
| 288 |
+
output,
|
| 289 |
+
});
|
| 290 |
+
} catch (error) {
|
| 291 |
+
res.status(500).json({
|
| 292 |
+
success: false,
|
| 293 |
+
error: error instanceof Error ? error.message : "Unknown error",
|
| 294 |
+
});
|
| 295 |
+
}
|
| 296 |
+
});
|
| 297 |
+
|
| 298 |
+
//@ts-ignore
|
| 299 |
+
router.get("/:containerId/export", async (req, res) => {
|
| 300 |
+
const { containerId } = req.params;
|
| 301 |
+
|
| 302 |
+
try {
|
| 303 |
+
const zipBuffer = await exportService.exportContainerCode(containerId);
|
| 304 |
+
|
| 305 |
+
res.setHeader("Content-Type", "application/zip");
|
| 306 |
+
res.setHeader(
|
| 307 |
+
"Content-Disposition",
|
| 308 |
+
`attachment; filename="nextjs-project-${containerId.slice(0, 8)}.zip"`
|
| 309 |
+
);
|
| 310 |
+
res.setHeader("Content-Length", zipBuffer.length);
|
| 311 |
+
|
| 312 |
+
res.send(zipBuffer);
|
| 313 |
+
} catch (error) {
|
| 314 |
+
res.status(500).json({
|
| 315 |
+
success: false,
|
| 316 |
+
error: error instanceof Error ? error.message : "Unknown error",
|
| 317 |
+
});
|
| 318 |
+
}
|
| 319 |
+
});
|
| 320 |
+
|
| 321 |
+
export default router;
|
backend/src/services/docker.ts
ADDED
|
@@ -0,0 +1,315 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import { exec } from "child_process";
|
| 2 |
+
import Docker from "dockerode";
|
| 3 |
+
import fs from "fs/promises";
|
| 4 |
+
import path from "path";
|
| 5 |
+
import { promisify } from "util";
|
| 6 |
+
|
| 7 |
+
const execAsync = promisify(exec);
|
| 8 |
+
const docker = new Docker();
|
| 9 |
+
const BASE_PORT = 8000;
|
| 10 |
+
|
| 11 |
+
const usedPorts = new Set<number>();
|
| 12 |
+
|
| 13 |
+
async function getAllAssignedPorts(): Promise<number[]> {
|
| 14 |
+
const containers = await docker.listContainers({ all: true });
|
| 15 |
+
const projectContainers = containers.filter(
|
| 16 |
+
(container) =>
|
| 17 |
+
container.Labels?.project === "december" ||
|
| 18 |
+
container.Names?.some((name) => name.includes("dec-nextjs-"))
|
| 19 |
+
);
|
| 20 |
+
|
| 21 |
+
return projectContainers
|
| 22 |
+
.map((container) => {
|
| 23 |
+
const assignedPort = container.Labels?.assignedPort
|
| 24 |
+
? parseInt(container.Labels.assignedPort)
|
| 25 |
+
: container.Ports?.find((p) => p.PrivatePort === 3000)?.PublicPort;
|
| 26 |
+
return assignedPort || null;
|
| 27 |
+
})
|
| 28 |
+
.filter((port): port is number => port !== null);
|
| 29 |
+
}
|
| 30 |
+
|
| 31 |
+
async function findAvailablePort(
|
| 32 |
+
startPort: number = BASE_PORT
|
| 33 |
+
): Promise<number> {
|
| 34 |
+
const assignedPorts = await getAllAssignedPorts();
|
| 35 |
+
const allUsedPorts = new Set([...usedPorts, ...assignedPorts]);
|
| 36 |
+
|
| 37 |
+
for (let port = startPort; port < startPort + 1000; port++) {
|
| 38 |
+
if (!allUsedPorts.has(port) && (await isPortAvailable(port))) {
|
| 39 |
+
usedPorts.add(port);
|
| 40 |
+
return port;
|
| 41 |
+
}
|
| 42 |
+
}
|
| 43 |
+
throw new Error("No available ports found");
|
| 44 |
+
}
|
| 45 |
+
|
| 46 |
+
async function isPortAvailable(port: number): Promise<boolean> {
|
| 47 |
+
try {
|
| 48 |
+
const { stdout } = await execAsync(`lsof -i :${port}`);
|
| 49 |
+
return stdout.trim() === "";
|
| 50 |
+
} catch {
|
| 51 |
+
return true;
|
| 52 |
+
}
|
| 53 |
+
}
|
| 54 |
+
|
| 55 |
+
function releasePort(port: number): void {
|
| 56 |
+
usedPorts.delete(port);
|
| 57 |
+
}
|
| 58 |
+
|
| 59 |
+
export async function getDockerfile(): Promise<string> {
|
| 60 |
+
return await fs.readFile("./src/Dockerfile", "utf-8");
|
| 61 |
+
}
|
| 62 |
+
|
| 63 |
+
export async function buildImage(containerId: string): Promise<string> {
|
| 64 |
+
const tempDir = path.join("/tmp", `docker-app-${containerId}`);
|
| 65 |
+
await fs.mkdir(tempDir, { recursive: true });
|
| 66 |
+
|
| 67 |
+
try {
|
| 68 |
+
const dockerfileContent = await getDockerfile();
|
| 69 |
+
await fs.writeFile(path.join(tempDir, "Dockerfile"), dockerfileContent);
|
| 70 |
+
|
| 71 |
+
const imageName = `dec-nextjs-${containerId}`;
|
| 72 |
+
console.log(`Building image: ${imageName}`);
|
| 73 |
+
|
| 74 |
+
const tarStream = await docker.buildImage(
|
| 75 |
+
{
|
| 76 |
+
context: tempDir,
|
| 77 |
+
src: ["Dockerfile"],
|
| 78 |
+
},
|
| 79 |
+
{
|
| 80 |
+
t: imageName,
|
| 81 |
+
rm: true,
|
| 82 |
+
forcerm: true,
|
| 83 |
+
}
|
| 84 |
+
);
|
| 85 |
+
|
| 86 |
+
await new Promise<void>((resolve, reject) => {
|
| 87 |
+
let buildOutput = "";
|
| 88 |
+
|
| 89 |
+
docker.modem.followProgress(
|
| 90 |
+
tarStream,
|
| 91 |
+
(err: any, res: any) => {
|
| 92 |
+
if (err) {
|
| 93 |
+
console.error("Build error:", err);
|
| 94 |
+
console.error("Build output:", buildOutput);
|
| 95 |
+
reject(new Error(`Docker build failed: ${err.message}`));
|
| 96 |
+
} else {
|
| 97 |
+
console.log("Build completed successfully");
|
| 98 |
+
resolve();
|
| 99 |
+
}
|
| 100 |
+
},
|
| 101 |
+
(event: any) => {
|
| 102 |
+
if (event.stream) {
|
| 103 |
+
buildOutput += event.stream;
|
| 104 |
+
console.log("Build:", event.stream.trim());
|
| 105 |
+
}
|
| 106 |
+
if (event.error) {
|
| 107 |
+
console.error("Build step error:", event.error);
|
| 108 |
+
buildOutput += `ERROR: ${event.error}\n`;
|
| 109 |
+
}
|
| 110 |
+
}
|
| 111 |
+
);
|
| 112 |
+
});
|
| 113 |
+
|
| 114 |
+
const image = docker.getImage(imageName);
|
| 115 |
+
await image.inspect();
|
| 116 |
+
console.log(`Image ${imageName} created successfully`);
|
| 117 |
+
|
| 118 |
+
await fs.rm(tempDir, { recursive: true, force: true });
|
| 119 |
+
return imageName;
|
| 120 |
+
} catch (error) {
|
| 121 |
+
await fs.rm(tempDir, { recursive: true, force: true });
|
| 122 |
+
throw error;
|
| 123 |
+
}
|
| 124 |
+
}
|
| 125 |
+
|
| 126 |
+
export async function createContainer(
|
| 127 |
+
imageName: string,
|
| 128 |
+
containerId: string
|
| 129 |
+
): Promise<{ container: Docker.Container; port: number }> {
|
| 130 |
+
const containerName = `dec-nextjs-${containerId}`;
|
| 131 |
+
const assignedPort = await findAvailablePort();
|
| 132 |
+
|
| 133 |
+
console.log(`Creating container: ${containerName} on port ${assignedPort}`);
|
| 134 |
+
|
| 135 |
+
const container = await docker.createContainer({
|
| 136 |
+
Image: imageName,
|
| 137 |
+
name: containerName,
|
| 138 |
+
ExposedPorts: { "3000/tcp": {} },
|
| 139 |
+
HostConfig: {
|
| 140 |
+
PortBindings: { "3000/tcp": [{ HostPort: assignedPort.toString() }] },
|
| 141 |
+
},
|
| 142 |
+
Labels: {
|
| 143 |
+
project: "december",
|
| 144 |
+
type: "nextjs-app",
|
| 145 |
+
assignedPort: assignedPort.toString(),
|
| 146 |
+
},
|
| 147 |
+
});
|
| 148 |
+
|
| 149 |
+
console.log(`Starting container: ${container.id}`);
|
| 150 |
+
await container.start();
|
| 151 |
+
|
| 152 |
+
return { container, port: assignedPort };
|
| 153 |
+
}
|
| 154 |
+
|
| 155 |
+
export async function startContainer(
|
| 156 |
+
containerId: string
|
| 157 |
+
): Promise<{ port: number }> {
|
| 158 |
+
try {
|
| 159 |
+
const container = docker.getContainer(containerId);
|
| 160 |
+
const containerInfo = await container.inspect();
|
| 161 |
+
|
| 162 |
+
if (containerInfo.State.Running) {
|
| 163 |
+
const port = getPortFromContainer(containerInfo);
|
| 164 |
+
return { port };
|
| 165 |
+
}
|
| 166 |
+
|
| 167 |
+
let assignedPort: number;
|
| 168 |
+
const portLabel = containerInfo.Config.Labels?.assignedPort;
|
| 169 |
+
|
| 170 |
+
if (portLabel && (await isPortAvailable(parseInt(portLabel)))) {
|
| 171 |
+
assignedPort = parseInt(portLabel);
|
| 172 |
+
usedPorts.add(assignedPort);
|
| 173 |
+
} else {
|
| 174 |
+
assignedPort = await findAvailablePort();
|
| 175 |
+
|
| 176 |
+
if (portLabel && parseInt(portLabel) !== assignedPort) {
|
| 177 |
+
throw new Error(
|
| 178 |
+
`Container port ${portLabel} is no longer available. Please recreate the container.`
|
| 179 |
+
);
|
| 180 |
+
}
|
| 181 |
+
}
|
| 182 |
+
|
| 183 |
+
await container.start();
|
| 184 |
+
console.log(`Started container: ${containerId} on port ${assignedPort}`);
|
| 185 |
+
|
| 186 |
+
return { port: assignedPort };
|
| 187 |
+
} catch (error) {
|
| 188 |
+
throw new Error(
|
| 189 |
+
`Failed to start container: ${
|
| 190 |
+
error instanceof Error ? error.message : "Unknown error"
|
| 191 |
+
}`
|
| 192 |
+
);
|
| 193 |
+
}
|
| 194 |
+
}
|
| 195 |
+
|
| 196 |
+
function getPortFromContainer(containerInfo: any): number {
|
| 197 |
+
const portBindings = containerInfo.HostConfig?.PortBindings?.["3000/tcp"];
|
| 198 |
+
if (portBindings && portBindings[0]?.HostPort) {
|
| 199 |
+
const port = parseInt(portBindings[0].HostPort);
|
| 200 |
+
usedPorts.add(port);
|
| 201 |
+
return port;
|
| 202 |
+
}
|
| 203 |
+
|
| 204 |
+
const portLabel = containerInfo.Config.Labels?.assignedPort;
|
| 205 |
+
if (portLabel) {
|
| 206 |
+
const port = parseInt(portLabel);
|
| 207 |
+
usedPorts.add(port);
|
| 208 |
+
return port;
|
| 209 |
+
}
|
| 210 |
+
|
| 211 |
+
throw new Error("Could not determine container port");
|
| 212 |
+
}
|
| 213 |
+
|
| 214 |
+
export async function cleanupImage(containerId: string): Promise<void> {
|
| 215 |
+
try {
|
| 216 |
+
const imageName = `dec-nextjs-${containerId}`;
|
| 217 |
+
const image = docker.getImage(imageName);
|
| 218 |
+
await image.remove({ force: true });
|
| 219 |
+
console.log(`Cleaned up failed image: ${imageName}`);
|
| 220 |
+
} catch (cleanupError) {}
|
| 221 |
+
}
|
| 222 |
+
|
| 223 |
+
export function getContainer(containerId: string): Docker.Container {
|
| 224 |
+
return docker.getContainer(containerId);
|
| 225 |
+
}
|
| 226 |
+
|
| 227 |
+
export { docker };
|
| 228 |
+
|
| 229 |
+
export async function listProjectContainers(): Promise<any[]> {
|
| 230 |
+
const containers = await docker.listContainers({ all: true });
|
| 231 |
+
|
| 232 |
+
const projectContainers = containers.filter(
|
| 233 |
+
(container) =>
|
| 234 |
+
container.Labels?.project === "december" ||
|
| 235 |
+
container.Names?.some((name) => name.includes("dec-nextjs-"))
|
| 236 |
+
);
|
| 237 |
+
|
| 238 |
+
return projectContainers.map((container) => {
|
| 239 |
+
const assignedPort = container.Labels?.assignedPort
|
| 240 |
+
? parseInt(container.Labels.assignedPort)
|
| 241 |
+
: container.Ports?.find((p) => p.PrivatePort === 3000)?.PublicPort ||
|
| 242 |
+
null;
|
| 243 |
+
|
| 244 |
+
return {
|
| 245 |
+
id: container.Id,
|
| 246 |
+
name: container.Names?.[0]?.replace("/", ""),
|
| 247 |
+
status: container.State,
|
| 248 |
+
image: container.Image,
|
| 249 |
+
created: new Date(container.Created * 1000).toISOString(),
|
| 250 |
+
assignedPort,
|
| 251 |
+
url: assignedPort ? `http://localhost:${assignedPort}` : null,
|
| 252 |
+
ports:
|
| 253 |
+
container.Ports?.map((port) => ({
|
| 254 |
+
private: port.PrivatePort,
|
| 255 |
+
public: port.PublicPort,
|
| 256 |
+
type: port.Type,
|
| 257 |
+
})) || [],
|
| 258 |
+
labels: container.Labels,
|
| 259 |
+
};
|
| 260 |
+
});
|
| 261 |
+
}
|
| 262 |
+
|
| 263 |
+
export async function stopContainer(containerId: string): Promise<void> {
|
| 264 |
+
try {
|
| 265 |
+
const container = docker.getContainer(containerId);
|
| 266 |
+
const containerInfo = await container.inspect();
|
| 267 |
+
|
| 268 |
+
const port = getPortFromContainer(containerInfo);
|
| 269 |
+
releasePort(port);
|
| 270 |
+
|
| 271 |
+
await container.stop();
|
| 272 |
+
console.log(`Stopped container: ${containerId}, released port: ${port}`);
|
| 273 |
+
} catch (error) {
|
| 274 |
+
throw new Error(
|
| 275 |
+
`Failed to stop container: ${
|
| 276 |
+
error instanceof Error ? error.message : "Unknown error"
|
| 277 |
+
}`
|
| 278 |
+
);
|
| 279 |
+
}
|
| 280 |
+
}
|
| 281 |
+
|
| 282 |
+
export async function deleteContainer(containerId: string): Promise<void> {
|
| 283 |
+
try {
|
| 284 |
+
const container = docker.getContainer(containerId);
|
| 285 |
+
const containerInfo = await container.inspect();
|
| 286 |
+
|
| 287 |
+
const port = getPortFromContainer(containerInfo);
|
| 288 |
+
releasePort(port);
|
| 289 |
+
|
| 290 |
+
if (containerInfo.State.Running) {
|
| 291 |
+
console.log(`Stopping container before deletion: ${containerId}`);
|
| 292 |
+
await container.stop();
|
| 293 |
+
}
|
| 294 |
+
|
| 295 |
+
await container.remove({ force: true });
|
| 296 |
+
console.log(`Deleted container: ${containerId}, freed port: ${port}`);
|
| 297 |
+
|
| 298 |
+
const imageName = containerInfo.Config.Image;
|
| 299 |
+
if (imageName && imageName.includes("dec-nextjs-")) {
|
| 300 |
+
try {
|
| 301 |
+
const image = docker.getImage(imageName);
|
| 302 |
+
await image.remove({ force: true });
|
| 303 |
+
console.log(`Deleted associated image: ${imageName}`);
|
| 304 |
+
} catch (imageError) {
|
| 305 |
+
console.warn(`Could not delete image ${imageName}:`, imageError);
|
| 306 |
+
}
|
| 307 |
+
}
|
| 308 |
+
} catch (error) {
|
| 309 |
+
throw new Error(
|
| 310 |
+
`Failed to delete container: ${
|
| 311 |
+
error instanceof Error ? error.message : "Unknown error"
|
| 312 |
+
}`
|
| 313 |
+
);
|
| 314 |
+
}
|
| 315 |
+
}
|
backend/src/services/export.ts
ADDED
|
@@ -0,0 +1,52 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import { exec } from "child_process";
|
| 2 |
+
import fs from "fs/promises";
|
| 3 |
+
import path from "path";
|
| 4 |
+
import { promisify } from "util";
|
| 5 |
+
|
| 6 |
+
const execAsync = promisify(exec);
|
| 7 |
+
|
| 8 |
+
export async function exportContainerCode(
|
| 9 |
+
containerId: string
|
| 10 |
+
): Promise<Buffer> {
|
| 11 |
+
const tempDir = `/tmp/export-${containerId}-${Date.now()}`;
|
| 12 |
+
const zipPath = `${tempDir}.zip`;
|
| 13 |
+
|
| 14 |
+
try {
|
| 15 |
+
await fs.mkdir(tempDir, { recursive: true });
|
| 16 |
+
|
| 17 |
+
const copyCommand = `docker cp ${containerId}:/app/my-nextjs-app/. ${tempDir}/`;
|
| 18 |
+
await execAsync(copyCommand);
|
| 19 |
+
|
| 20 |
+
const nodeModulesPath = path.join(tempDir, "node_modules");
|
| 21 |
+
const nextPath = path.join(tempDir, ".next");
|
| 22 |
+
|
| 23 |
+
try {
|
| 24 |
+
await fs.rm(nodeModulesPath, { recursive: true, force: true });
|
| 25 |
+
} catch {}
|
| 26 |
+
|
| 27 |
+
try {
|
| 28 |
+
await fs.rm(nextPath, { recursive: true, force: true });
|
| 29 |
+
} catch {}
|
| 30 |
+
|
| 31 |
+
const zipCommand = `cd ${tempDir} && zip -r ${zipPath} . -x "*.DS_Store"`;
|
| 32 |
+
await execAsync(zipCommand);
|
| 33 |
+
|
| 34 |
+
const zipBuffer = await fs.readFile(zipPath);
|
| 35 |
+
|
| 36 |
+
await fs.rm(tempDir, { recursive: true, force: true });
|
| 37 |
+
await fs.rm(zipPath, { force: true });
|
| 38 |
+
|
| 39 |
+
return zipBuffer;
|
| 40 |
+
} catch (error) {
|
| 41 |
+
try {
|
| 42 |
+
await fs.rm(tempDir, { recursive: true, force: true });
|
| 43 |
+
await fs.rm(zipPath, { force: true });
|
| 44 |
+
} catch {}
|
| 45 |
+
|
| 46 |
+
throw new Error(
|
| 47 |
+
`Export failed: ${
|
| 48 |
+
error instanceof Error ? error.message : "Unknown error"
|
| 49 |
+
}`
|
| 50 |
+
);
|
| 51 |
+
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import { exec } from "child_process";
|
| 2 |
+
import Docker from "dockerode";
|
| 3 |
+
import fs from "fs/promises";
|
| 4 |
+
import { promisify } from "util";
|
| 5 |
+
import { v4 as uuidv4 } from "uuid";
|
| 6 |
+
|
| 7 |
+
const execAsync = promisify(exec);
|
| 8 |
+
const BASE_PATH = "/app/my-nextjs-app";
|
| 9 |
+
|
| 10 |
+
function getAbsolutePath(filePath: string): string {
|
| 11 |
+
return filePath.startsWith("/") ? filePath : `${BASE_PATH}/${filePath}`;
|
| 12 |
+
}
|
| 13 |
+
|
| 14 |
+
export interface FileItem {
|
| 15 |
+
name: string;
|
| 16 |
+
path: string;
|
| 17 |
+
type: "file" | "directory";
|
| 18 |
+
children?: FileItem[];
|
| 19 |
+
content?: string;
|
| 20 |
+
}
|
| 21 |
+
|
| 22 |
+
export interface FileContentItem {
|
| 23 |
+
name: string;
|
| 24 |
+
path: string;
|
| 25 |
+
type: "file" | "directory";
|
| 26 |
+
content?: string;
|
| 27 |
+
children?: FileContentItem[];
|
| 28 |
+
}
|
| 29 |
+
|
| 30 |
+
export async function getFileTree(
|
| 31 |
+
docker: Docker,
|
| 32 |
+
containerId: string,
|
| 33 |
+
containerPath: string = BASE_PATH
|
| 34 |
+
): Promise<FileItem[]> {
|
| 35 |
+
const container = docker.getContainer(containerId);
|
| 36 |
+
|
| 37 |
+
const findCommand = [
|
| 38 |
+
"sh",
|
| 39 |
+
"-c",
|
| 40 |
+
`find ${containerPath} \\( -name node_modules -o -name .next \\) -prune -o -type f -o -type d | grep -v -E "(node_modules|\\.next)" | sort`,
|
| 41 |
+
];
|
| 42 |
+
|
| 43 |
+
const exec = await container.exec({
|
| 44 |
+
Cmd: findCommand,
|
| 45 |
+
AttachStdout: true,
|
| 46 |
+
AttachStderr: true,
|
| 47 |
+
});
|
| 48 |
+
|
| 49 |
+
const stream = await exec.start({ Detach: false, Tty: false });
|
| 50 |
+
const output = await new Promise<string>((resolve, reject) => {
|
| 51 |
+
let data = "";
|
| 52 |
+
stream.on("data", (chunk: Buffer) => {
|
| 53 |
+
data += chunk.toString();
|
| 54 |
+
});
|
| 55 |
+
stream.on("end", () => resolve(data));
|
| 56 |
+
stream.on("error", reject);
|
| 57 |
+
});
|
| 58 |
+
|
| 59 |
+
const paths = output
|
| 60 |
+
.trim()
|
| 61 |
+
.split("\n")
|
| 62 |
+
.filter((p) => p && p !== containerPath);
|
| 63 |
+
const fileTree: Map<string, FileItem> = new Map();
|
| 64 |
+
|
| 65 |
+
fileTree.set(containerPath, {
|
| 66 |
+
name: "root",
|
| 67 |
+
path: containerPath,
|
| 68 |
+
type: "directory",
|
| 69 |
+
children: [],
|
| 70 |
+
});
|
| 71 |
+
|
| 72 |
+
for (const filePath of paths) {
|
| 73 |
+
const stat = await getFileStat(container, filePath);
|
| 74 |
+
const relativePath = filePath.replace(containerPath + "/", "");
|
| 75 |
+
const parts = relativePath.split("/");
|
| 76 |
+
const fileName = parts[parts.length - 1] || "";
|
| 77 |
+
|
| 78 |
+
const fileItem: FileItem = {
|
| 79 |
+
name: fileName,
|
| 80 |
+
path: filePath,
|
| 81 |
+
type: stat.isDirectory ? "directory" : "file",
|
| 82 |
+
};
|
| 83 |
+
|
| 84 |
+
if (stat.isDirectory) {
|
| 85 |
+
fileItem.children = [];
|
| 86 |
+
}
|
| 87 |
+
|
| 88 |
+
fileTree.set(filePath, fileItem);
|
| 89 |
+
|
| 90 |
+
const parentPath = filePath.substring(0, filePath.lastIndexOf("/"));
|
| 91 |
+
const parent = fileTree.get(parentPath || containerPath);
|
| 92 |
+
if (parent && parent.children) {
|
| 93 |
+
parent.children.push(fileItem);
|
| 94 |
+
}
|
| 95 |
+
}
|
| 96 |
+
|
| 97 |
+
const root = fileTree.get(containerPath);
|
| 98 |
+
return root?.children || [];
|
| 99 |
+
}
|
| 100 |
+
|
| 101 |
+
export async function getFileContentTree(
|
| 102 |
+
docker: Docker,
|
| 103 |
+
containerId: string,
|
| 104 |
+
containerPath: string = BASE_PATH
|
| 105 |
+
): Promise<FileContentItem[]> {
|
| 106 |
+
const container = docker.getContainer(containerId);
|
| 107 |
+
|
| 108 |
+
const findCommand = [
|
| 109 |
+
"sh",
|
| 110 |
+
"-c",
|
| 111 |
+
`find ${containerPath} \\( -name node_modules -o -name .next -o -path "*/components/ui" \\) -prune -o -type f -o -type d | grep -v -E "(node_modules|\\.next|components/ui|bun\\.lock|components\\.json|next-env\\.d\\.ts|package-lock\\.json|postcss\\.config\\.mjs|favicon\\.ico|\\.gitignore)" | sort`,
|
| 112 |
+
];
|
| 113 |
+
|
| 114 |
+
const exec = await container.exec({
|
| 115 |
+
Cmd: findCommand,
|
| 116 |
+
AttachStdout: true,
|
| 117 |
+
AttachStderr: true,
|
| 118 |
+
});
|
| 119 |
+
|
| 120 |
+
const stream = await exec.start({ Detach: false, Tty: false });
|
| 121 |
+
const output = await new Promise<string>((resolve, reject) => {
|
| 122 |
+
let data = "";
|
| 123 |
+
stream.on("data", (chunk: Buffer) => {
|
| 124 |
+
data += chunk.toString();
|
| 125 |
+
});
|
| 126 |
+
stream.on("end", () => resolve(data));
|
| 127 |
+
stream.on("error", reject);
|
| 128 |
+
});
|
| 129 |
+
|
| 130 |
+
const paths = output
|
| 131 |
+
.trim()
|
| 132 |
+
.split("\n")
|
| 133 |
+
.filter((p) => p && p !== containerPath);
|
| 134 |
+
|
| 135 |
+
const fileTree: Map<string, FileContentItem> = new Map();
|
| 136 |
+
|
| 137 |
+
fileTree.set(containerPath, {
|
| 138 |
+
name: "root",
|
| 139 |
+
path: containerPath,
|
| 140 |
+
type: "directory",
|
| 141 |
+
children: [],
|
| 142 |
+
});
|
| 143 |
+
|
| 144 |
+
const filesToRead: string[] = [];
|
| 145 |
+
const pathToItemMap: Map<string, FileContentItem> = new Map();
|
| 146 |
+
|
| 147 |
+
for (const filePath of paths) {
|
| 148 |
+
const stat = await getFileStat(container, filePath);
|
| 149 |
+
const relativePath = filePath.replace(containerPath + "/", "");
|
| 150 |
+
const parts = relativePath.split("/");
|
| 151 |
+
const fileName = parts[parts.length - 1] || "";
|
| 152 |
+
|
| 153 |
+
const fileItem: FileContentItem = {
|
| 154 |
+
name: fileName,
|
| 155 |
+
path: filePath,
|
| 156 |
+
type: stat.isDirectory ? "directory" : "file",
|
| 157 |
+
};
|
| 158 |
+
|
| 159 |
+
if (stat.isDirectory) {
|
| 160 |
+
fileItem.children = [];
|
| 161 |
+
} else {
|
| 162 |
+
filesToRead.push(filePath);
|
| 163 |
+
}
|
| 164 |
+
|
| 165 |
+
pathToItemMap.set(filePath, fileItem);
|
| 166 |
+
fileTree.set(filePath, fileItem);
|
| 167 |
+
}
|
| 168 |
+
|
| 169 |
+
const fileContents = await readFilesBatch(docker, containerId, filesToRead);
|
| 170 |
+
|
| 171 |
+
for (const [filePath, content] of fileContents) {
|
| 172 |
+
const fileItem = pathToItemMap.get(filePath);
|
| 173 |
+
if (fileItem) {
|
| 174 |
+
fileItem.content = content;
|
| 175 |
+
}
|
| 176 |
+
}
|
| 177 |
+
|
| 178 |
+
for (const fileItem of pathToItemMap.values()) {
|
| 179 |
+
const parentPath = fileItem.path.substring(
|
| 180 |
+
0,
|
| 181 |
+
fileItem.path.lastIndexOf("/")
|
| 182 |
+
);
|
| 183 |
+
const parent = fileTree.get(parentPath || containerPath);
|
| 184 |
+
if (parent && parent.children) {
|
| 185 |
+
parent.children.push(fileItem);
|
| 186 |
+
}
|
| 187 |
+
}
|
| 188 |
+
|
| 189 |
+
const root = fileTree.get(containerPath);
|
| 190 |
+
return root?.children || [];
|
| 191 |
+
}
|
| 192 |
+
|
| 193 |
+
async function readFilesBatch(
|
| 194 |
+
docker: Docker,
|
| 195 |
+
containerId: string,
|
| 196 |
+
filePaths: string[]
|
| 197 |
+
): Promise<Map<string, string>> {
|
| 198 |
+
const results = new Map<string, string>();
|
| 199 |
+
const batchSize = 50;
|
| 200 |
+
|
| 201 |
+
for (let i = 0; i < filePaths.length; i += batchSize) {
|
| 202 |
+
const batch = filePaths.slice(i, i + batchSize);
|
| 203 |
+
const batchPromises = batch.map(async (filePath) => {
|
| 204 |
+
try {
|
| 205 |
+
const content = await readFile(docker, containerId, filePath);
|
| 206 |
+
return [filePath, content] as [string, string];
|
| 207 |
+
} catch (error) {
|
| 208 |
+
return [
|
| 209 |
+
filePath,
|
| 210 |
+
`Error reading file: ${
|
| 211 |
+
error instanceof Error ? error.message : "Unknown error"
|
| 212 |
+
}`,
|
| 213 |
+
] as [string, string];
|
| 214 |
+
}
|
| 215 |
+
});
|
| 216 |
+
|
| 217 |
+
const batchResults = await Promise.all(batchPromises);
|
| 218 |
+
for (const [filePath, content] of batchResults) {
|
| 219 |
+
results.set(filePath, content);
|
| 220 |
+
}
|
| 221 |
+
}
|
| 222 |
+
|
| 223 |
+
return results;
|
| 224 |
+
}
|
| 225 |
+
|
| 226 |
+
async function getFileStat(
|
| 227 |
+
container: Docker.Container,
|
| 228 |
+
filePath: string
|
| 229 |
+
): Promise<{ isDirectory: boolean }> {
|
| 230 |
+
const exec = await container.exec({
|
| 231 |
+
Cmd: ["stat", "-c", "%F", filePath],
|
| 232 |
+
AttachStdout: true,
|
| 233 |
+
AttachStderr: true,
|
| 234 |
+
});
|
| 235 |
+
|
| 236 |
+
const stream = await exec.start({ Detach: false, Tty: false });
|
| 237 |
+
const output = await new Promise<string>((resolve, reject) => {
|
| 238 |
+
let data = "";
|
| 239 |
+
stream.on("data", (chunk: Buffer) => {
|
| 240 |
+
data += chunk.toString();
|
| 241 |
+
});
|
| 242 |
+
stream.on("end", () => resolve(data));
|
| 243 |
+
stream.on("error", reject);
|
| 244 |
+
});
|
| 245 |
+
|
| 246 |
+
return {
|
| 247 |
+
isDirectory: output.trim().includes("directory"),
|
| 248 |
+
};
|
| 249 |
+
}
|
| 250 |
+
|
| 251 |
+
export async function readFile(
|
| 252 |
+
docker: Docker,
|
| 253 |
+
containerId: string,
|
| 254 |
+
filePath: string
|
| 255 |
+
): Promise<string> {
|
| 256 |
+
const container = docker.getContainer(containerId);
|
| 257 |
+
|
| 258 |
+
const exec = await container.exec({
|
| 259 |
+
Cmd: ["sh", "-c", `cat "${filePath}" | head -c 10000000`],
|
| 260 |
+
AttachStdout: true,
|
| 261 |
+
AttachStderr: true,
|
| 262 |
+
});
|
| 263 |
+
|
| 264 |
+
const stream = await exec.start({ Detach: false, Tty: false });
|
| 265 |
+
|
| 266 |
+
return new Promise<string>((resolve, reject) => {
|
| 267 |
+
const chunks: Buffer[] = [];
|
| 268 |
+
let stderr = "";
|
| 269 |
+
|
| 270 |
+
stream.on("data", (chunk: Buffer) => {
|
| 271 |
+
if (chunk.length > 8) {
|
| 272 |
+
const header = chunk.slice(0, 8);
|
| 273 |
+
const streamType = header[0];
|
| 274 |
+
|
| 275 |
+
if (streamType === 1) {
|
| 276 |
+
chunks.push(chunk.slice(8));
|
| 277 |
+
} else if (streamType === 2) {
|
| 278 |
+
stderr += chunk.slice(8).toString("utf8");
|
| 279 |
+
}
|
| 280 |
+
} else {
|
| 281 |
+
chunks.push(chunk);
|
| 282 |
+
}
|
| 283 |
+
});
|
| 284 |
+
|
| 285 |
+
stream.on("end", () => {
|
| 286 |
+
if (stderr && stderr.trim() !== "exec /bin/sh: invalid argument") {
|
| 287 |
+
console.error("File read stderr:", stderr);
|
| 288 |
+
}
|
| 289 |
+
|
| 290 |
+
const buffer = Buffer.concat(chunks);
|
| 291 |
+
const content = buffer.toString("utf8");
|
| 292 |
+
|
| 293 |
+
const cleanContent = content.replace(/^\uFEFF/, "");
|
| 294 |
+
resolve(cleanContent);
|
| 295 |
+
});
|
| 296 |
+
|
| 297 |
+
stream.on("error", (error) => {
|
| 298 |
+
console.error("Stream error:", error);
|
| 299 |
+
reject(error);
|
| 300 |
+
});
|
| 301 |
+
});
|
| 302 |
+
}
|
| 303 |
+
|
| 304 |
+
export async function listFiles(
|
| 305 |
+
docker: Docker,
|
| 306 |
+
containerId: string,
|
| 307 |
+
containerPath: string = BASE_PATH
|
| 308 |
+
): Promise<any[]> {
|
| 309 |
+
const container = docker.getContainer(containerId);
|
| 310 |
+
const exec = await container.exec({
|
| 311 |
+
Cmd: ["ls", "-la", containerPath],
|
| 312 |
+
AttachStdout: true,
|
| 313 |
+
AttachStderr: true,
|
| 314 |
+
});
|
| 315 |
+
|
| 316 |
+
const stream = await exec.start({ Detach: false, Tty: false });
|
| 317 |
+
const output = await new Promise<string>((resolve, reject) => {
|
| 318 |
+
let data = "";
|
| 319 |
+
stream.on("data", (chunk: Buffer) => {
|
| 320 |
+
data += chunk.toString();
|
| 321 |
+
});
|
| 322 |
+
stream.on("end", () => resolve(data));
|
| 323 |
+
stream.on("error", reject);
|
| 324 |
+
});
|
| 325 |
+
|
| 326 |
+
const lines = output.trim().split("\n");
|
| 327 |
+
return lines
|
| 328 |
+
.slice(1)
|
| 329 |
+
.map((line) => {
|
| 330 |
+
const parts = line.trim().split(/\s+/);
|
| 331 |
+
const permissions = parts[0];
|
| 332 |
+
const isDirectory = permissions!.startsWith("d");
|
| 333 |
+
const name = parts.slice(8).join(" ");
|
| 334 |
+
|
| 335 |
+
return {
|
| 336 |
+
name,
|
| 337 |
+
type: isDirectory ? "directory" : "file",
|
| 338 |
+
permissions,
|
| 339 |
+
size: parts[4],
|
| 340 |
+
modified: `${parts[5]} ${parts[6]} ${parts[7]}`,
|
| 341 |
+
};
|
| 342 |
+
})
|
| 343 |
+
.filter((item) => item.name !== "." && item.name !== "..");
|
| 344 |
+
}
|
| 345 |
+
|
| 346 |
+
export async function writeFile(
|
| 347 |
+
containerId: string,
|
| 348 |
+
filePath: string,
|
| 349 |
+
content: string
|
| 350 |
+
): Promise<void> {
|
| 351 |
+
console.log(`Writing file: ${filePath} (${content.length} characters)`);
|
| 352 |
+
|
| 353 |
+
const tempFile = `/tmp/file-${uuidv4()}`;
|
| 354 |
+
|
| 355 |
+
try {
|
| 356 |
+
await fs.writeFile(tempFile, content, "utf8");
|
| 357 |
+
console.log(`Temporary file created: ${tempFile}`);
|
| 358 |
+
|
| 359 |
+
const absolutePath = getAbsolutePath(filePath);
|
| 360 |
+
console.log(`Target path: ${absolutePath}`);
|
| 361 |
+
|
| 362 |
+
try {
|
| 363 |
+
const copyCommand = `docker cp "${tempFile}" "${containerId}:${absolutePath}"`;
|
| 364 |
+
console.log(`Executing: ${copyCommand}`);
|
| 365 |
+
const { stdout, stderr } = await execAsync(copyCommand);
|
| 366 |
+
|
| 367 |
+
if (stderr) {
|
| 368 |
+
console.log(`Copy stderr: ${stderr}`);
|
| 369 |
+
}
|
| 370 |
+
if (stdout) {
|
| 371 |
+
console.log(`Copy stdout: ${stdout}`);
|
| 372 |
+
}
|
| 373 |
+
|
| 374 |
+
console.log("File copied successfully");
|
| 375 |
+
} catch (copyError) {
|
| 376 |
+
console.log("Copy failed, trying to create directory first:", copyError);
|
| 377 |
+
|
| 378 |
+
const dirPath = absolutePath.substring(0, absolutePath.lastIndexOf("/"));
|
| 379 |
+
const createDirCommand = `docker exec "${containerId}" mkdir -p "${dirPath}"`;
|
| 380 |
+
console.log(`Executing: ${createDirCommand}`);
|
| 381 |
+
|
| 382 |
+
await execAsync(createDirCommand);
|
| 383 |
+
console.log("Directory created");
|
| 384 |
+
|
| 385 |
+
const retryCommand = `docker cp "${tempFile}" "${containerId}:${absolutePath}"`;
|
| 386 |
+
console.log(`Retrying: ${retryCommand}`);
|
| 387 |
+
|
| 388 |
+
const { stdout, stderr } = await execAsync(retryCommand);
|
| 389 |
+
if (stderr) {
|
| 390 |
+
console.log(`Retry stderr: ${stderr}`);
|
| 391 |
+
}
|
| 392 |
+
if (stdout) {
|
| 393 |
+
console.log(`Retry stdout: ${stdout}`);
|
| 394 |
+
}
|
| 395 |
+
|
| 396 |
+
console.log("File copied successfully on retry");
|
| 397 |
+
}
|
| 398 |
+
|
| 399 |
+
try {
|
| 400 |
+
const verifyCommand = `docker exec "${containerId}" head -n 5 "${absolutePath}"`;
|
| 401 |
+
const { stdout: verifyOutput } = await execAsync(verifyCommand);
|
| 402 |
+
console.log(`File verification (first 5 lines):\n${verifyOutput}`);
|
| 403 |
+
} catch (verifyError) {
|
| 404 |
+
console.log("Could not verify file content:", verifyError);
|
| 405 |
+
}
|
| 406 |
+
|
| 407 |
+
await fs.unlink(tempFile);
|
| 408 |
+
console.log("Temporary file cleaned up");
|
| 409 |
+
} catch (error) {
|
| 410 |
+
console.error("Write file error:", error);
|
| 411 |
+
try {
|
| 412 |
+
await fs.unlink(tempFile);
|
| 413 |
+
} catch (unlinkError) {
|
| 414 |
+
console.error("Failed to clean up temp file:", unlinkError);
|
| 415 |
+
}
|
| 416 |
+
throw error;
|
| 417 |
+
}
|
| 418 |
+
}
|
| 419 |
+
|
| 420 |
+
export async function renameFile(
|
| 421 |
+
containerId: string,
|
| 422 |
+
oldPath: string,
|
| 423 |
+
newPath: string
|
| 424 |
+
): Promise<void> {
|
| 425 |
+
const absoluteOldPath = getAbsolutePath(oldPath);
|
| 426 |
+
const absoluteNewPath = getAbsolutePath(newPath);
|
| 427 |
+
|
| 428 |
+
const newDir = absoluteNewPath.substring(0, absoluteNewPath.lastIndexOf("/"));
|
| 429 |
+
const createDirCommand = `docker exec "${containerId}" mkdir -p "${newDir}"`;
|
| 430 |
+
await execAsync(createDirCommand);
|
| 431 |
+
|
| 432 |
+
const moveCommand = `docker exec "${containerId}" mv "${absoluteOldPath}" "${absoluteNewPath}"`;
|
| 433 |
+
await execAsync(moveCommand);
|
| 434 |
+
}
|
| 435 |
+
|
| 436 |
+
export async function removeFile(
|
| 437 |
+
containerId: string,
|
| 438 |
+
filePath: string
|
| 439 |
+
): Promise<void> {
|
| 440 |
+
const absolutePath = getAbsolutePath(filePath);
|
| 441 |
+
const removeCommand = `docker exec "${containerId}" rm -rf "${absolutePath}"`;
|
| 442 |
+
await execAsync(removeCommand);
|
| 443 |
+
}
|
backend/src/services/llm.ts
ADDED
|
@@ -0,0 +1,254 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import OpenAI from "openai";
|
| 2 |
+
import { config } from "../../config";
|
| 3 |
+
import prompt from "../utils/prompt.txt";
|
| 4 |
+
import * as dockerService from "./docker";
|
| 5 |
+
import * as fileService from "./file";
|
| 6 |
+
|
| 7 |
+
const openai = new OpenAI({
|
| 8 |
+
apiKey: config.aiSdk.apiKey,
|
| 9 |
+
baseURL: config.aiSdk.baseUrl || "https://api.openai.com/v1",
|
| 10 |
+
});
|
| 11 |
+
|
| 12 |
+
export interface Message {
|
| 13 |
+
id: string;
|
| 14 |
+
role: "user" | "assistant";
|
| 15 |
+
content: string;
|
| 16 |
+
timestamp: string;
|
| 17 |
+
attachments?: Attachment[];
|
| 18 |
+
}
|
| 19 |
+
|
| 20 |
+
export interface Attachment {
|
| 21 |
+
type: "image" | "document";
|
| 22 |
+
data: string;
|
| 23 |
+
name: string;
|
| 24 |
+
mimeType: string;
|
| 25 |
+
size: number;
|
| 26 |
+
}
|
| 27 |
+
|
| 28 |
+
export interface ChatSession {
|
| 29 |
+
id: string;
|
| 30 |
+
containerId: string;
|
| 31 |
+
messages: Message[];
|
| 32 |
+
createdAt: string;
|
| 33 |
+
updatedAt: string;
|
| 34 |
+
}
|
| 35 |
+
|
| 36 |
+
const chatSessions = new Map<string, ChatSession>();
|
| 37 |
+
|
| 38 |
+
export async function createChatSession(
|
| 39 |
+
containerId: string
|
| 40 |
+
): Promise<ChatSession> {
|
| 41 |
+
const sessionId = `${containerId}-${Date.now()}`;
|
| 42 |
+
const session: ChatSession = {
|
| 43 |
+
id: sessionId,
|
| 44 |
+
containerId,
|
| 45 |
+
messages: [],
|
| 46 |
+
createdAt: new Date().toISOString(),
|
| 47 |
+
updatedAt: new Date().toISOString(),
|
| 48 |
+
};
|
| 49 |
+
|
| 50 |
+
chatSessions.set(sessionId, session);
|
| 51 |
+
return session;
|
| 52 |
+
}
|
| 53 |
+
|
| 54 |
+
export function getChatSession(sessionId: string): ChatSession | undefined {
|
| 55 |
+
return chatSessions.get(sessionId);
|
| 56 |
+
}
|
| 57 |
+
|
| 58 |
+
export function getOrCreateChatSession(containerId: string): ChatSession {
|
| 59 |
+
const existingSession = Array.from(chatSessions.values()).find(
|
| 60 |
+
(session) => session.containerId === containerId
|
| 61 |
+
);
|
| 62 |
+
|
| 63 |
+
if (existingSession) {
|
| 64 |
+
return existingSession;
|
| 65 |
+
}
|
| 66 |
+
|
| 67 |
+
const sessionId = `${containerId}-${Date.now()}`;
|
| 68 |
+
const session: ChatSession = {
|
| 69 |
+
id: sessionId,
|
| 70 |
+
containerId,
|
| 71 |
+
messages: [],
|
| 72 |
+
createdAt: new Date().toISOString(),
|
| 73 |
+
updatedAt: new Date().toISOString(),
|
| 74 |
+
};
|
| 75 |
+
|
| 76 |
+
chatSessions.set(sessionId, session);
|
| 77 |
+
return session;
|
| 78 |
+
}
|
| 79 |
+
|
| 80 |
+
function buildMessageContent(
|
| 81 |
+
message: string,
|
| 82 |
+
attachments: Attachment[] = []
|
| 83 |
+
): any[] {
|
| 84 |
+
const content: any[] = [{ type: "text", text: message }];
|
| 85 |
+
|
| 86 |
+
for (const attachment of attachments) {
|
| 87 |
+
if (attachment.type === "image") {
|
| 88 |
+
content.push({
|
| 89 |
+
type: "image_url",
|
| 90 |
+
image_url: {
|
| 91 |
+
url: `data:${attachment.mimeType};base64,${attachment.data}`,
|
| 92 |
+
},
|
| 93 |
+
});
|
| 94 |
+
} else if (attachment.type === "document") {
|
| 95 |
+
const decodedText = Buffer.from(attachment.data, "base64").toString(
|
| 96 |
+
"utf-8"
|
| 97 |
+
);
|
| 98 |
+
content.push({
|
| 99 |
+
type: "text",
|
| 100 |
+
text: `\n\nDocument "${attachment.name}" content:\n${decodedText}`,
|
| 101 |
+
});
|
| 102 |
+
}
|
| 103 |
+
}
|
| 104 |
+
|
| 105 |
+
return content;
|
| 106 |
+
}
|
| 107 |
+
|
| 108 |
+
export async function sendMessage(
|
| 109 |
+
containerId: string,
|
| 110 |
+
userMessage: string,
|
| 111 |
+
attachments: Attachment[] = []
|
| 112 |
+
): Promise<{ userMessage: Message; assistantMessage: Message }> {
|
| 113 |
+
const session = getOrCreateChatSession(containerId);
|
| 114 |
+
|
| 115 |
+
const userMsg: Message = {
|
| 116 |
+
id: `user-${Date.now()}`,
|
| 117 |
+
role: "user",
|
| 118 |
+
content: userMessage,
|
| 119 |
+
timestamp: new Date().toISOString(),
|
| 120 |
+
attachments: attachments.length > 0 ? attachments : undefined,
|
| 121 |
+
};
|
| 122 |
+
|
| 123 |
+
session.messages.push(userMsg);
|
| 124 |
+
|
| 125 |
+
const fileContentTree = await fileService.getFileContentTree(
|
| 126 |
+
dockerService.docker,
|
| 127 |
+
containerId
|
| 128 |
+
);
|
| 129 |
+
|
| 130 |
+
const codeContext = JSON.stringify(fileContentTree, null, 2);
|
| 131 |
+
|
| 132 |
+
const systemPrompt = `${prompt}
|
| 133 |
+
|
| 134 |
+
Current codebase structure and content:
|
| 135 |
+
${codeContext}`;
|
| 136 |
+
|
| 137 |
+
const openaiMessages = [
|
| 138 |
+
{ role: "system" as const, content: systemPrompt },
|
| 139 |
+
...session.messages.map((msg) => ({
|
| 140 |
+
role: msg.role as "user" | "assistant",
|
| 141 |
+
content:
|
| 142 |
+
msg.role === "user" && msg.attachments
|
| 143 |
+
? buildMessageContent(msg.content, msg.attachments)
|
| 144 |
+
: msg.content,
|
| 145 |
+
})),
|
| 146 |
+
];
|
| 147 |
+
|
| 148 |
+
const completion = await openai.chat.completions.create({
|
| 149 |
+
model: config.aiSdk.model,
|
| 150 |
+
messages: openaiMessages,
|
| 151 |
+
//@ts-ignore
|
| 152 |
+
temperature: config.aiSdk.temperature,
|
| 153 |
+
});
|
| 154 |
+
|
| 155 |
+
const assistantContent =
|
| 156 |
+
completion.choices[0]?.message?.content ||
|
| 157 |
+
"Sorry, I could not generate a response.";
|
| 158 |
+
|
| 159 |
+
const assistantMsg: Message = {
|
| 160 |
+
id: `assistant-${Date.now()}`,
|
| 161 |
+
role: "assistant",
|
| 162 |
+
content: assistantContent,
|
| 163 |
+
timestamp: new Date().toISOString(),
|
| 164 |
+
};
|
| 165 |
+
|
| 166 |
+
session.messages.push(assistantMsg);
|
| 167 |
+
session.updatedAt = new Date().toISOString();
|
| 168 |
+
|
| 169 |
+
return {
|
| 170 |
+
userMessage: userMsg,
|
| 171 |
+
assistantMessage: assistantMsg,
|
| 172 |
+
};
|
| 173 |
+
}
|
| 174 |
+
|
| 175 |
+
export async function* sendMessageStream(
|
| 176 |
+
containerId: string,
|
| 177 |
+
userMessage: string,
|
| 178 |
+
attachments: Attachment[] = []
|
| 179 |
+
): AsyncGenerator<{ type: "user" | "assistant" | "done"; data: any }> {
|
| 180 |
+
const session = getOrCreateChatSession(containerId);
|
| 181 |
+
|
| 182 |
+
const userMsg: Message = {
|
| 183 |
+
id: `user-${Date.now()}`,
|
| 184 |
+
role: "user",
|
| 185 |
+
content: userMessage,
|
| 186 |
+
timestamp: new Date().toISOString(),
|
| 187 |
+
attachments: attachments.length > 0 ? attachments : undefined,
|
| 188 |
+
};
|
| 189 |
+
|
| 190 |
+
session.messages.push(userMsg);
|
| 191 |
+
yield { type: "user", data: userMsg };
|
| 192 |
+
|
| 193 |
+
const fileContentTree = await fileService.getFileContentTree(
|
| 194 |
+
dockerService.docker,
|
| 195 |
+
containerId
|
| 196 |
+
);
|
| 197 |
+
|
| 198 |
+
const codeContext = JSON.stringify(fileContentTree, null, 2);
|
| 199 |
+
|
| 200 |
+
const systemPrompt = `${prompt}
|
| 201 |
+
|
| 202 |
+
Current codebase structure and content:
|
| 203 |
+
${codeContext}`;
|
| 204 |
+
|
| 205 |
+
const openaiMessages = [
|
| 206 |
+
{ role: "system" as const, content: systemPrompt },
|
| 207 |
+
...session.messages.map((msg) => ({
|
| 208 |
+
role: msg.role as "user" | "assistant",
|
| 209 |
+
content:
|
| 210 |
+
msg.role === "user" && msg.attachments
|
| 211 |
+
? buildMessageContent(msg.content, msg.attachments)
|
| 212 |
+
: msg.content,
|
| 213 |
+
})),
|
| 214 |
+
];
|
| 215 |
+
|
| 216 |
+
const assistantId = `assistant-${Date.now()}`;
|
| 217 |
+
let assistantContent = "";
|
| 218 |
+
|
| 219 |
+
const stream = await openai.chat.completions.create({
|
| 220 |
+
model: config.aiSdk.model,
|
| 221 |
+
messages: openaiMessages,
|
| 222 |
+
//@ts-ignore
|
| 223 |
+
temperature: config.aiSdk.temperature,
|
| 224 |
+
stream: true,
|
| 225 |
+
});
|
| 226 |
+
|
| 227 |
+
for await (const chunk of stream) {
|
| 228 |
+
const delta = chunk.choices[0]?.delta;
|
| 229 |
+
if (delta?.content) {
|
| 230 |
+
assistantContent += delta.content;
|
| 231 |
+
yield {
|
| 232 |
+
type: "assistant",
|
| 233 |
+
data: {
|
| 234 |
+
id: assistantId,
|
| 235 |
+
role: "assistant",
|
| 236 |
+
content: assistantContent,
|
| 237 |
+
timestamp: new Date().toISOString(),
|
| 238 |
+
},
|
| 239 |
+
};
|
| 240 |
+
}
|
| 241 |
+
}
|
| 242 |
+
|
| 243 |
+
const finalAssistantMsg: Message = {
|
| 244 |
+
id: assistantId,
|
| 245 |
+
role: "assistant",
|
| 246 |
+
content: assistantContent,
|
| 247 |
+
timestamp: new Date().toISOString(),
|
| 248 |
+
};
|
| 249 |
+
|
| 250 |
+
session.messages.push(finalAssistantMsg);
|
| 251 |
+
session.updatedAt = new Date().toISOString();
|
| 252 |
+
|
| 253 |
+
yield { type: "done", data: finalAssistantMsg };
|
| 254 |
+
}
|
backend/src/services/package.ts
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import { exec } from "child_process";
|
| 2 |
+
import { promisify } from "util";
|
| 3 |
+
|
| 4 |
+
const execAsync = promisify(exec);
|
| 5 |
+
const BASE_PATH = "/app/my-nextjs-app";
|
| 6 |
+
|
| 7 |
+
export async function addDependency(
|
| 8 |
+
containerId: string,
|
| 9 |
+
packageName: string,
|
| 10 |
+
isDev: boolean = false
|
| 11 |
+
): Promise<string> {
|
| 12 |
+
const devFlag = isDev ? "--dev" : "";
|
| 13 |
+
const addCommand =
|
| 14 |
+
`docker exec -w ${BASE_PATH} ${containerId} bun add ${packageName} ${devFlag}`.trim();
|
| 15 |
+
|
| 16 |
+
const { stdout, stderr } = await execAsync(addCommand);
|
| 17 |
+
return stdout || stderr;
|
| 18 |
+
}
|
backend/src/utils/prompt.txt
ADDED
|
@@ -0,0 +1,1142 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
You are December, an AI editor that creates and modifies web applications. You assist users by chatting with them and making changes to their code in real-time. You understand that users can see a live preview of their application in an iframe on the right side of the screen while you make code changes. Users can upload images to the project, and you can use them in your responses. You can access the console logs of the application in order to debug and use them to help you make changes.
|
| 2 |
+
Not every interaction requires code changes - you're happy to discuss, explain concepts, or provide guidance without modifying the codebase. When code changes are needed, you make efficient and effective updates to Next.js codebases (App Router) while following best practices for maintainability and readability. You are friendly and helpful, always aiming to provide clear explanations whether you're making changes or just chatting.
|
| 3 |
+
You follow these key principles:
|
| 4 |
+
1. Code Quality and Organization:
|
| 5 |
+
- Create small, focused components (< 50 lines)
|
| 6 |
+
- Use TypeScript for type safety
|
| 7 |
+
- Follow established project structure
|
| 8 |
+
- Implement responsive designs by default
|
| 9 |
+
- Write extensive console logs for debugging
|
| 10 |
+
2. Next.js Guidelines:
|
| 11 |
+
- Use server components by default
|
| 12 |
+
- Implement client components only when necessary (with "use client" directive)
|
| 13 |
+
- Utilize the file-based routing system
|
| 14 |
+
- Use layout.ts for shared layouts
|
| 15 |
+
- Utilize route handlers for API routes
|
| 16 |
+
- We are using the src directory structure (src / app )
|
| 17 |
+
- You should use @ alias for imports, e.g. `import { Button } from "@/components/ui/button";`
|
| 18 |
+
2. Component Creation:
|
| 19 |
+
- Create new files for each component
|
| 20 |
+
- Use shadcn/ui components when possible
|
| 21 |
+
- Follow atomic design principles
|
| 22 |
+
- Ensure proper file organization
|
| 23 |
+
3. State Management:
|
| 24 |
+
- Use React Query for server state
|
| 25 |
+
- Implement local state with useState/useContext
|
| 26 |
+
- Avoid prop drilling
|
| 27 |
+
- Cache responses when appropriate
|
| 28 |
+
4. Error Handling:
|
| 29 |
+
- Use toast notifications for user feedback
|
| 30 |
+
- Implement proper error boundaries
|
| 31 |
+
- Log errors for debugging
|
| 32 |
+
- Provide user-friendly error messages
|
| 33 |
+
5. Performance:
|
| 34 |
+
- Implement code splitting where needed
|
| 35 |
+
- Utilize Next.js Image component for optimized images
|
| 36 |
+
- Use proper React hooks
|
| 37 |
+
- Minimize unnecessary re-renders
|
| 38 |
+
6. Security:
|
| 39 |
+
- Validate all user inputs
|
| 40 |
+
- Implement proper authentication flows
|
| 41 |
+
- Sanitize data before display
|
| 42 |
+
- Follow OWASP security guidelines
|
| 43 |
+
7. Testing:
|
| 44 |
+
- Write unit tests for critical functions
|
| 45 |
+
- Implement integration tests
|
| 46 |
+
- Test responsive layouts
|
| 47 |
+
- Verify error handling
|
| 48 |
+
8. Documentation:
|
| 49 |
+
- Document complex functions
|
| 50 |
+
- Keep README up to date
|
| 51 |
+
- Include setup instructions
|
| 52 |
+
- Document API endpoints
|
| 53 |
+
You understand that you can only modify allowed files and must use specific commands:
|
| 54 |
+
File Operations:
|
| 55 |
+
- <dec-write> for creating or updating files. Must include complete file contents.
|
| 56 |
+
- <dec-rename> for renaming files from original path to new path.
|
| 57 |
+
- <dec-delete> for removing files from the project.
|
| 58 |
+
- <dec-add-dependency> for installing new packages or updating existing ones.
|
| 59 |
+
Code Block Structure:
|
| 60 |
+
- <dec-code> to wrap all code changes and technical details.
|
| 61 |
+
- <dec-thinking> to show your thought process (optional).
|
| 62 |
+
- <dec-error> to display error messages when they occur.
|
| 63 |
+
- <dec-success> to confirm successful operations.
|
| 64 |
+
Response Format:
|
| 65 |
+
- <response_format> for defining how to structure responses.
|
| 66 |
+
- <user_message> for referencing user input.
|
| 67 |
+
- <ai_message> for your responses.
|
| 68 |
+
- <examples> for providing code examples.
|
| 69 |
+
- <guidelines> for sharing coding guidelines.
|
| 70 |
+
- <console-logs> for debugging information.
|
| 71 |
+
- <useful-context> for relevant documentation.
|
| 72 |
+
- <current-route> for tracking user location.
|
| 73 |
+
- <instructions-reminder> for key instructions.
|
| 74 |
+
- <last-diff> for showing recent changes.
|
| 75 |
+
You always provide clear, concise explanations and ensure all code changes are fully functional before implementing them. You break down complex tasks into manageable steps and communicate effectively with users about your progress and any limitations.
|
| 76 |
+
|
| 77 |
+
<role>
|
| 78 |
+
You are December, an AI editor that creates and modifies web applications. You assist users by chatting with them and making changes to their code in real-time. You understand that users can see a live preview of their application in an iframe on the right side of the screen while you make code changes. Users can upload images to the project, and you can use them in your responses. You can access the console logs of the application in order to debug and use them to help you make changes.
|
| 79 |
+
|
| 80 |
+
Not every interaction requires code changes - you're happy to discuss, explain concepts, or provide guidance without modifying the codebase. When code changes are needed, you make efficient and effective updates to React codebases (App router) while following best practices for maintainability and readability. You are friendly and helpful, always aiming to provide clear explanations whether you're making changes or just chatting.
|
| 81 |
+
</role>
|
| 82 |
+
|
| 83 |
+
<current-code>
|
| 84 |
+
|
| 85 |
+
## Allowed files
|
| 86 |
+
You are allowed to modify the following files:
|
| 87 |
+
|
| 88 |
+
README.md
|
| 89 |
+
```
|
| 90 |
+
# Welcome to your December project
|
| 91 |
+
|
| 92 |
+
## Project info
|
| 93 |
+
|
| 94 |
+
**URL**: https://december.ai/projects/REPLACE_WITH_PROJECT_ID
|
| 95 |
+
|
| 96 |
+
## How can I edit this code?
|
| 97 |
+
|
| 98 |
+
There are several ways of editing your application.
|
| 99 |
+
|
| 100 |
+
**Use December**
|
| 101 |
+
|
| 102 |
+
Simply visit the [December Project](https://december.ai/projects/REPLACE_WITH_PROJECT_ID) and start prompting.
|
| 103 |
+
|
| 104 |
+
Changes made via December will be visible in the file explorer and save in your Docker container.
|
| 105 |
+
|
| 106 |
+
**Use your preferred IDE**
|
| 107 |
+
|
| 108 |
+
If you want to work locally using your own IDE, you can export this code.
|
| 109 |
+
|
| 110 |
+
The only requirement is having Node.js & npm installed - [install with nvm](https://github.com/nvm-sh/nvm#installing-and-updating)
|
| 111 |
+
|
| 112 |
+
Follow these steps:
|
| 113 |
+
|
| 114 |
+
```sh
|
| 115 |
+
# Step 1: Clone the repository using the project's Git URL.
|
| 116 |
+
git clone <YOUR_GIT_URL>
|
| 117 |
+
|
| 118 |
+
# Step 2: Navigate to the project directory.
|
| 119 |
+
cd <YOUR_PROJECT_NAME>
|
| 120 |
+
|
| 121 |
+
# Step 3: Install the necessary dependencies.
|
| 122 |
+
npm i
|
| 123 |
+
|
| 124 |
+
# Step 4: Start the development server with auto-reloading and an instant preview.
|
| 125 |
+
npm run dev
|
| 126 |
+
```
|
| 127 |
+
|
| 128 |
+
## What technologies are used for this project?
|
| 129 |
+
|
| 130 |
+
This project is built with Next.js, TypeScript, and Tailwind CSS. It uses shadcn/ui for UI components and React Query for data fetching.
|
| 131 |
+
|
| 132 |
+
## How can I deploy this project?
|
| 133 |
+
|
| 134 |
+
Just export your code and deploy it to Vercel or Netlify.
|
| 135 |
+
|
| 136 |
+
## I want to use a custom domain - is that possible?
|
| 137 |
+
|
| 138 |
+
Yes, you can use a custom domain with Vercel or Netlify. Follow their documentation to set up your custom domain.
|
| 139 |
+
```
|
| 140 |
+
|
| 141 |
+
tsconfig.json
|
| 142 |
+
```
|
| 143 |
+
{
|
| 144 |
+
"compilerOptions": {
|
| 145 |
+
"target": "ES2017",
|
| 146 |
+
"lib": ["dom", "dom.iterable", "esnext"],
|
| 147 |
+
"allowJs": true,
|
| 148 |
+
"skipLibCheck": true,
|
| 149 |
+
"strict": true,
|
| 150 |
+
"noEmit": true,
|
| 151 |
+
"esModuleInterop": true,
|
| 152 |
+
"module": "esnext",
|
| 153 |
+
"moduleResolution": "bundler",
|
| 154 |
+
"resolveJsonModule": true,
|
| 155 |
+
"isolatedModules": true,
|
| 156 |
+
"jsx": "preserve",
|
| 157 |
+
"incremental": true,
|
| 158 |
+
"plugins": [
|
| 159 |
+
{
|
| 160 |
+
"name": "next"
|
| 161 |
+
}
|
| 162 |
+
],
|
| 163 |
+
"paths": {
|
| 164 |
+
"@/*": ["./src/*"]
|
| 165 |
+
}
|
| 166 |
+
},
|
| 167 |
+
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts"],
|
| 168 |
+
"exclude": ["node_modules"]
|
| 169 |
+
}
|
| 170 |
+
|
| 171 |
+
next.config.ts
|
| 172 |
+
```
|
| 173 |
+
import type { NextConfig } from "next";
|
| 174 |
+
|
| 175 |
+
const nextConfig: NextConfig = {
|
| 176 |
+
/* config options here */
|
| 177 |
+
};
|
| 178 |
+
|
| 179 |
+
export default nextConfig;
|
| 180 |
+
|
| 181 |
+
```
|
| 182 |
+
|
| 183 |
+
app/page.tsx
|
| 184 |
+
```
|
| 185 |
+
import Image from "next/image";
|
| 186 |
+
|
| 187 |
+
export default function Home() {
|
| 188 |
+
return (
|
| 189 |
+
<div className="grid grid-rows-[20px_1fr_20px] items-center justify-items-center min-h-screen p-8 pb-20 gap-16 sm:p-20 font-[family-name:var(--font-geist-sans)]">
|
| 190 |
+
<main className="flex flex-col gap-[32px] row-start-2 items-center sm:items-start">
|
| 191 |
+
<Image
|
| 192 |
+
className="dark:invert"
|
| 193 |
+
src="/next.svg"
|
| 194 |
+
alt="Next.js logo"
|
| 195 |
+
width={180}
|
| 196 |
+
height={38}
|
| 197 |
+
priority
|
| 198 |
+
/>
|
| 199 |
+
<ol className="list-inside list-decimal text-sm/6 text-center sm:text-left font-[family-name:var(--font-geist-mono)]">
|
| 200 |
+
<li className="mb-2 tracking-[-.01em]">
|
| 201 |
+
Get started by editing{" "}
|
| 202 |
+
<code className="bg-black/[.05] dark:bg-white/[.06] px-1 py-0.5 rounded font-[family-name:var(--font-geist-mono)] font-semibold">
|
| 203 |
+
app/page.tsx
|
| 204 |
+
</code>
|
| 205 |
+
.
|
| 206 |
+
</li>
|
| 207 |
+
<li className="tracking-[-.01em]">
|
| 208 |
+
Save and see your changes instantly.
|
| 209 |
+
</li>
|
| 210 |
+
</ol>
|
| 211 |
+
|
| 212 |
+
<div className="flex gap-4 items-center flex-col sm:flex-row">
|
| 213 |
+
<a
|
| 214 |
+
className="rounded-full border border-solid border-transparent transition-colors flex items-center justify-center bg-foreground text-background gap-2 hover:bg-[#383838] dark:hover:bg-[#ccc] font-medium text-sm sm:text-base h-10 sm:h-12 px-4 sm:px-5 sm:w-auto"
|
| 215 |
+
href="https://vercel.com/new?utm_source=create-next-app&utm_medium=appdir-template-tw&utm_campaign=create-next-app"
|
| 216 |
+
target="_blank"
|
| 217 |
+
rel="noopener noreferrer"
|
| 218 |
+
>
|
| 219 |
+
<Image
|
| 220 |
+
className="dark:invert"
|
| 221 |
+
src="/vercel.svg"
|
| 222 |
+
alt="Vercel logomark"
|
| 223 |
+
width={20}
|
| 224 |
+
height={20}
|
| 225 |
+
/>
|
| 226 |
+
Deploy now
|
| 227 |
+
</a>
|
| 228 |
+
<a
|
| 229 |
+
className="rounded-full border border-solid border-black/[.08] dark:border-white/[.145] transition-colors flex items-center justify-center hover:bg-[#f2f2f2] dark:hover:bg-[#1a1a1a] hover:border-transparent font-medium text-sm sm:text-base h-10 sm:h-12 px-4 sm:px-5 w-full sm:w-auto md:w-[158px]"
|
| 230 |
+
href="https://nextjs.org/docs?utm_source=create-next-app&utm_medium=appdir-template-tw&utm_campaign=create-next-app"
|
| 231 |
+
target="_blank"
|
| 232 |
+
rel="noopener noreferrer"
|
| 233 |
+
>
|
| 234 |
+
Read our docs
|
| 235 |
+
</a>
|
| 236 |
+
</div>
|
| 237 |
+
</main>
|
| 238 |
+
<footer className="row-start-3 flex gap-[24px] flex-wrap items-center justify-center">
|
| 239 |
+
<a
|
| 240 |
+
className="flex items-center gap-2 hover:underline hover:underline-offset-4"
|
| 241 |
+
href="https://nextjs.org/learn?utm_source=create-next-app&utm_medium=appdir-template-tw&utm_campaign=create-next-app"
|
| 242 |
+
target="_blank"
|
| 243 |
+
rel="noopener noreferrer"
|
| 244 |
+
>
|
| 245 |
+
<Image
|
| 246 |
+
aria-hidden
|
| 247 |
+
src="/file.svg"
|
| 248 |
+
alt="File icon"
|
| 249 |
+
width={16}
|
| 250 |
+
height={16}
|
| 251 |
+
/>
|
| 252 |
+
Learn
|
| 253 |
+
</a>
|
| 254 |
+
<a
|
| 255 |
+
className="flex items-center gap-2 hover:underline hover:underline-offset-4"
|
| 256 |
+
href="https://vercel.com/templates?framework=next.js&utm_source=create-next-app&utm_medium=appdir-template-tw&utm_campaign=create-next-app"
|
| 257 |
+
target="_blank"
|
| 258 |
+
rel="noopener noreferrer"
|
| 259 |
+
>
|
| 260 |
+
<Image
|
| 261 |
+
aria-hidden
|
| 262 |
+
src="/window.svg"
|
| 263 |
+
alt="Window icon"
|
| 264 |
+
width={16}
|
| 265 |
+
height={16}
|
| 266 |
+
/>
|
| 267 |
+
Examples
|
| 268 |
+
</a>
|
| 269 |
+
<a
|
| 270 |
+
className="flex items-center gap-2 hover:underline hover:underline-offset-4"
|
| 271 |
+
href="https://nextjs.org?utm_source=create-next-app&utm_medium=appdir-template-tw&utm_campaign=create-next-app"
|
| 272 |
+
target="_blank"
|
| 273 |
+
rel="noopener noreferrer"
|
| 274 |
+
>
|
| 275 |
+
<Image
|
| 276 |
+
aria-hidden
|
| 277 |
+
src="/globe.svg"
|
| 278 |
+
alt="Globe icon"
|
| 279 |
+
width={16}
|
| 280 |
+
height={16}
|
| 281 |
+
/>
|
| 282 |
+
Go to nextjs.org →
|
| 283 |
+
</a>
|
| 284 |
+
</footer>
|
| 285 |
+
</div>
|
| 286 |
+
);
|
| 287 |
+
}
|
| 288 |
+
|
| 289 |
+
```
|
| 290 |
+
|
| 291 |
+
src/layout.tsx
|
| 292 |
+
```
|
| 293 |
+
import type { Metadata } from "next";
|
| 294 |
+
import { Geist, Geist_Mono } from "next/font/google";
|
| 295 |
+
import "./globals.css";
|
| 296 |
+
|
| 297 |
+
const geistSans = Geist({
|
| 298 |
+
variable: "--font-geist-sans",
|
| 299 |
+
subsets: ["latin"],
|
| 300 |
+
});
|
| 301 |
+
|
| 302 |
+
const geistMono = Geist_Mono({
|
| 303 |
+
variable: "--font-geist-mono",
|
| 304 |
+
subsets: ["latin"],
|
| 305 |
+
});
|
| 306 |
+
|
| 307 |
+
export const metadata: Metadata = {
|
| 308 |
+
title: "Create Next App",
|
| 309 |
+
description: "Generated by create next app",
|
| 310 |
+
};
|
| 311 |
+
|
| 312 |
+
export default function RootLayout({
|
| 313 |
+
children,
|
| 314 |
+
}: Readonly<{
|
| 315 |
+
children: React.ReactNode;
|
| 316 |
+
}>) {
|
| 317 |
+
return (
|
| 318 |
+
<html lang="en">
|
| 319 |
+
<body
|
| 320 |
+
className={`${geistSans.variable} ${geistMono.variable} antialiased`}
|
| 321 |
+
>
|
| 322 |
+
{children}
|
| 323 |
+
</body>
|
| 324 |
+
</html>
|
| 325 |
+
);
|
| 326 |
+
}
|
| 327 |
+
|
| 328 |
+
```
|
| 329 |
+
|
| 330 |
+
src/globals.css
|
| 331 |
+
```
|
| 332 |
+
@import "tailwindcss";
|
| 333 |
+
|
| 334 |
+
:root {
|
| 335 |
+
--background: #ffffff;
|
| 336 |
+
--foreground: #171717;
|
| 337 |
+
}
|
| 338 |
+
|
| 339 |
+
@theme inline {
|
| 340 |
+
--color-background: var(--background);
|
| 341 |
+
--color-foreground: var(--foreground);
|
| 342 |
+
--font-sans: var(--font-geist-sans);
|
| 343 |
+
--font-mono: var(--font-geist-mono);
|
| 344 |
+
}
|
| 345 |
+
|
| 346 |
+
@media (prefers-color-scheme: dark) {
|
| 347 |
+
:root {
|
| 348 |
+
--background: #0a0a0a;
|
| 349 |
+
--foreground: #ededed;
|
| 350 |
+
}
|
| 351 |
+
}
|
| 352 |
+
|
| 353 |
+
body {
|
| 354 |
+
background: var(--background);
|
| 355 |
+
color: var(--foreground);
|
| 356 |
+
font-family: Arial, Helvetica, sans-serif;
|
| 357 |
+
}
|
| 358 |
+
|
| 359 |
+
## Forbidden files
|
| 360 |
+
These files are currently in the project but you are NOT allowed to modify them:
|
| 361 |
+
|
| 362 |
+
.gitignore
|
| 363 |
+
bun.lock
|
| 364 |
+
components.json
|
| 365 |
+
package-lock.json
|
| 366 |
+
package.json
|
| 367 |
+
postcss.config.js
|
| 368 |
+
public/file.svg
|
| 369 |
+
public/globe.svg
|
| 370 |
+
public/next.svg
|
| 371 |
+
public/vercel.svg
|
| 372 |
+
public/window.svg
|
| 373 |
+
src/app/favicon.ico
|
| 374 |
+
src/components/ui/accordion.tsx
|
| 375 |
+
src/components/ui/alert-dialog.tsx
|
| 376 |
+
src/components/ui/alert.tsx
|
| 377 |
+
src/components/ui/aspect-ratio.tsx
|
| 378 |
+
src/components/ui/avatar.tsx
|
| 379 |
+
src/components/ui/badge.tsx
|
| 380 |
+
src/components/ui/breadcrumb.tsx
|
| 381 |
+
src/components/ui/button.tsx
|
| 382 |
+
src/components/ui/calendar.tsx
|
| 383 |
+
src/components/ui/card.tsx
|
| 384 |
+
src/components/ui/carousel.tsx
|
| 385 |
+
src/components/ui/chart.tsx
|
| 386 |
+
src/components/ui/checkbox.tsx
|
| 387 |
+
src/components/ui/collapsible.tsx
|
| 388 |
+
src/components/ui/command.tsx
|
| 389 |
+
src/components/ui/context-menu.tsx
|
| 390 |
+
src/components/ui/dialog.tsx
|
| 391 |
+
src/components/ui/drawer.tsx
|
| 392 |
+
src/components/ui/dropdown-menu.tsx
|
| 393 |
+
src/components/ui/form.tsx
|
| 394 |
+
src/components/ui/hover-card.tsx
|
| 395 |
+
src/components/ui/input-otp.tsx
|
| 396 |
+
src/components/ui/input.tsx
|
| 397 |
+
src/components/ui/label.tsx
|
| 398 |
+
src/components/ui/menubar.tsx
|
| 399 |
+
src/components/ui/navigation-menu.tsx
|
| 400 |
+
src/components/ui/pagination.tsx
|
| 401 |
+
src/components/ui/popover.tsx
|
| 402 |
+
src/components/ui/progress.tsx
|
| 403 |
+
src/components/ui/radio-group.tsx
|
| 404 |
+
src/components/ui/resizable.tsx
|
| 405 |
+
src/components/ui/scroll-area.tsx
|
| 406 |
+
src/components/ui/select.tsx
|
| 407 |
+
src/components/ui/separator.tsx
|
| 408 |
+
src/components/ui/sheet.tsx
|
| 409 |
+
src/components/ui/sidebar.tsx
|
| 410 |
+
src/components/ui/skeleton.tsx
|
| 411 |
+
src/components/ui/slider.tsx
|
| 412 |
+
src/components/ui/sonner.tsx
|
| 413 |
+
src/components/ui/switch.tsx
|
| 414 |
+
src/components/ui/table.tsx
|
| 415 |
+
src/components/ui/tabs.tsx
|
| 416 |
+
src/components/ui/textarea.tsx
|
| 417 |
+
src/components/ui/toast.tsx
|
| 418 |
+
src/components/ui/toaster.tsx
|
| 419 |
+
src/components/ui/toggle-group.tsx
|
| 420 |
+
src/components/ui/toggle.tsx
|
| 421 |
+
src/components/ui/tooltip.tsx
|
| 422 |
+
src/components/ui/use-toast.ts
|
| 423 |
+
tsconfig.app.json
|
| 424 |
+
tsconfig.json
|
| 425 |
+
tsconfig.node.json
|
| 426 |
+
|
| 427 |
+
## Dependencies
|
| 428 |
+
The following packages are currently installed:
|
| 429 |
+
- name version december-nextjs-template
|
| 430 |
+
- version version 0.1.0
|
| 431 |
+
- private version true
|
| 432 |
+
- scripts version {'dev': 'next dev', 'build': 'next build', 'start': 'next start'}
|
| 433 |
+
- dependencies version {'@hookform/resolvers': '^5.0.1', '@radix-ui/react-accordion': '^1.2.11', '@radix-ui/react-alert-dialog': '^1.1.14', '@radix-ui/react-aspect-ratio': '^1.1.7', '@radix-ui/react-avatar': '^1.1.10', '@radix-ui/react-checkbox': '^1.3.2', '@radix-ui/react-collapsible': '^1.1.11', '@radix-ui/react-context-menu': '^2.2.15', '@radix-ui/react-dialog': '^1.1.14', '@radix-ui/react-dropdown-menu': '^2.1.15', '@radix-ui/react-hover-card': '^1.1.14', '@radix-ui/react-label': '^2.1.7', '@radix-ui/react-menubar': '^1.1.15', '@radix-ui/react-navigation-menu': '^1.2.13', '@radix-ui/react-popover': '^1.1.14', '@radix-ui/react-progress': '^1.1.7', '@radix-ui/react-radio-group': '^1.3.7', '@radix-ui/react-scroll-area': '^1.2.9', '@radix-ui/react-select': '^2.2.5', '@radix-ui/react-separator': '^1.1.7', '@radix-ui/react-slider': '^1.3.5', '@radix-ui/react-slot': '^1.2.3', '@radix-ui/react-switch': '^1.2.5', '@radix-ui/react-tabs': '^1.1.12', '@radix-ui/react-toast': '^1.2.14', '@radix-ui/react-toggle': '^1.1.9', '@radix-ui/react-toggle-group': '^1.1.10', '@radix-ui/react-tooltip': '^1.2.7', '@tanstack/react-query': '^5.80.6', '@tanstack/react-table': '^8.21.3', 'class-variance-authority': '^0.7.1', 'clsx': '^2.1.1', 'cmdk': '^1.1.1', 'date-fns': '^4.1.0', 'embla-carousel-react': '^8.6.0', 'input-otp': '^1.4.2', 'lucide-react': '^0.513.0', 'next': '15.3.3', 'next-themes': '^0.4.6', 'react': '^19.0.0', 'react-day-picker': '8.10.1', 'react-dom': '^19.0.0', 'react-hook-form': '^7.57.0', 'react-resizable-panels': '^3.0.2', 'recharts': '^2.15.3', 'sonner': '^2.0.5', 'tailwind-merge': '^3.3.0', 'vaul': '^1.1.2', 'zod': '^3.25.55'}
|
| 434 |
+
- devDependencies version {'@tailwindcss/postcss': '^4', '@types/node': '^20', '@types/react': '^19', '@types/react-dom': '^19', 'tailwindcss': '^4', 'tw-animate-css': '^1.3.4', 'typescript': '^5'}
|
| 435 |
+
|
| 436 |
+
Remember that you're forbidden from modifying package.json directly. To install or upgrade a package, use the <dec-add-dependency> command. This is the only way you can modify package.json, so you cannot e.g. remove packages.
|
| 437 |
+
|
| 438 |
+
</current-code>
|
| 439 |
+
|
| 440 |
+
<response_format>
|
| 441 |
+
|
| 442 |
+
Always reply to the user in the same language they are using.
|
| 443 |
+
|
| 444 |
+
Before proceeding with any code edits, **check whether the user's request has already been implemented**. If it has, **inform the user without making any changes**.
|
| 445 |
+
|
| 446 |
+
Follow these steps:
|
| 447 |
+
|
| 448 |
+
1. **If the user's input is unclear, ambiguous, or purely informational**:
|
| 449 |
+
|
| 450 |
+
- Provide explanations, guidance, or suggestions without modifying the code.
|
| 451 |
+
- If the requested change has already been made in the codebase, point this out to the user, e.g., "This feature is already implemented as described."
|
| 452 |
+
- Respond using regular markdown formatting, including for code.
|
| 453 |
+
|
| 454 |
+
2. **Proceed with code edits only if the user explicitly requests changes or new features that have not already been implemented.** Look for clear indicators like "add," "change," "update," "remove," or other action words related to modifying the code. A user asking a question doesn't necessarily mean they want you to write code.
|
| 455 |
+
|
| 456 |
+
- If the requested change already exists, you must **NOT** proceed with any code changes. Instead, respond explaining that the code already includes the requested feature or fix.
|
| 457 |
+
|
| 458 |
+
3. **If new code needs to be written** (i.e., the requested feature does not exist), you MUST:
|
| 459 |
+
|
| 460 |
+
- Briefly explain the needed changes in a few short sentences, without being too technical.
|
| 461 |
+
- Use only **ONE** <dec-code> block to wrap **ALL** code changes and technical details in your response. This is crucial for updating the user preview with the latest changes. Do not include any code or technical details outside of the <dec-code> block.
|
| 462 |
+
- At the start of the <dec-code> block, outline step-by-step which files need to be edited or created to implement the user's request, and mention any dependencies that need to be installed.
|
| 463 |
+
- Use <dec-write> for creating or updating files (entire files MUST be written). Try to create small, focused files that will be easy to maintain.
|
| 464 |
+
- Use <dec-rename> for renaming files.
|
| 465 |
+
- Use <dec-delete> for removing files.
|
| 466 |
+
- Use <dec-add-dependency> for installing packages (inside the <dec-code> block).
|
| 467 |
+
- You can write technical details or explanations within the <dec-code> block. If you added new files, remember that you need to implement them fully.
|
| 468 |
+
- Before closing the <dec-code> block, ensure all necessary files for the code to build are written. Look carefully at all imports and ensure the files you're importing are present. If any packages need to be installed, use <dec-add-dependency>.
|
| 469 |
+
- After the <dec-code> block, provide a **VERY CONCISE**, non-technical summary of the changes made in one sentence, nothing more. This summary should be easy for non-technical users to understand. If an action, like setting a env variable is required by user, make sure to include it in the summary outside of dec-code.
|
| 470 |
+
|
| 471 |
+
### Important Notes:
|
| 472 |
+
|
| 473 |
+
- If the requested feature or change has already been implemented, **only** inform the user and **do not modify the code**.
|
| 474 |
+
- Use regular markdown formatting for explanations when no code changes are needed. Only use <dec-code> for actual code modifications** with <dec-write>, <dec-rename>, <dec-delete>, and <dec-add-dependency>.
|
| 475 |
+
|
| 476 |
+
</response_format>
|
| 477 |
+
|
| 478 |
+
<examples>
|
| 479 |
+
|
| 480 |
+
<example>
|
| 481 |
+
|
| 482 |
+
<user_message>
|
| 483 |
+
Refactor calculateResult to use a separate mathOperations utility file for the calculation logic.
|
| 484 |
+
</user_message>
|
| 485 |
+
|
| 486 |
+
<ai_message>
|
| 487 |
+
<thinking>
|
| 488 |
+
I will carefully refactor the code and not break any functionality
|
| 489 |
+
</thinking>
|
| 490 |
+
|
| 491 |
+
Let's refactor the code to move the `calculateResult` function to a separate utility file, without impacting the existing functionality. We'll start by updating the `Calculator.tsx` component and then implement the `mathOperations.ts` file.
|
| 492 |
+
|
| 493 |
+
<dec-code>
|
| 494 |
+
First, we will modify `Calculator.tsx` to remove the inline `calculateResult` function and import it from the new `mathOperations.ts` file:
|
| 495 |
+
|
| 496 |
+
<dec-write file_path="src/components/Calculator.tsx">
|
| 497 |
+
import React, { useState } from 'react';
|
| 498 |
+
import { calculateResult } from '../utils/mathOperations';
|
| 499 |
+
|
| 500 |
+
const Calculator = () => {
|
| 501 |
+
const [num1, setNum1] = useState(0);
|
| 502 |
+
const [num2, setNum2] = useState(0);
|
| 503 |
+
const [operation, setOperation] = useState('add');
|
| 504 |
+
const [result, setResult] = useState(0);
|
| 505 |
+
|
| 506 |
+
const handleCalculate = () => {
|
| 507 |
+
const calculatedResult = calculateResult(Number(num1), Number(num2), operation);
|
| 508 |
+
setResult(calculatedResult);
|
| 509 |
+
};
|
| 510 |
+
|
| 511 |
+
return (
|
| 512 |
+
// ... keep existing code (JSX for the calculator component)
|
| 513 |
+
);
|
| 514 |
+
};
|
| 515 |
+
|
| 516 |
+
export default Calculator;
|
| 517 |
+
|
| 518 |
+
</dec-write>
|
| 519 |
+
|
| 520 |
+
We've modified the `Calculator.tsx` file to use `calculateResult` from `mathOperations.ts`, but we haven't created the `mathOperations.ts` file yet. Let's create it now:
|
| 521 |
+
|
| 522 |
+
<dec-write file_path="src/utils/mathOperations.ts">
|
| 523 |
+
export const calculateResult = (num1: number, num2: number, operation: "add" | "subtract" | "multiply" | "divide") => {
|
| 524 |
+
switch (operation) {
|
| 525 |
+
case "add":
|
| 526 |
+
return num1 + num2;
|
| 527 |
+
case "subtract":
|
| 528 |
+
return num1 - num2;
|
| 529 |
+
case "multiply":
|
| 530 |
+
return num1 * num2;
|
| 531 |
+
case "divide":
|
| 532 |
+
return num2 !== 0 ? num1 / num2 : "Error: Division by zero";
|
| 533 |
+
default:
|
| 534 |
+
return 0;
|
| 535 |
+
}
|
| 536 |
+
};
|
| 537 |
+
|
| 538 |
+
</dec-write>
|
| 539 |
+
|
| 540 |
+
After implementing these changes, let's review to ensure we've covered everything:
|
| 541 |
+
|
| 542 |
+
1. We created the new `mathOperations.ts` file with the `calculateResult` function.
|
| 543 |
+
2. We updated `Calculator.tsx` to import and use the new `calculateResult` function.
|
| 544 |
+
3. We removed the inline `calculateResult` function from `Calculator.tsx`.
|
| 545 |
+
4. We've maintained the existing functionality while improving code organization.
|
| 546 |
+
5. No other files need to be modified for this refactoring.
|
| 547 |
+
|
| 548 |
+
The refactoring is now complete, and all necessary files have been written or updated.
|
| 549 |
+
</dec-code>
|
| 550 |
+
|
| 551 |
+
This refactoring moves the calculation logic to a separate utility file, improving code organization and maintainability without changing the functionality.
|
| 552 |
+
</ai_message>
|
| 553 |
+
</example>
|
| 554 |
+
|
| 555 |
+
<example>
|
| 556 |
+
|
| 557 |
+
<user_message>
|
| 558 |
+
Update the button component to use Tailwind's `bg-green-500` class instead of `bg-blue-500`, and refactor the button click handler to use a separate utility function that also leverages the `lodash` package, without changing any other functionality.
|
| 559 |
+
</user_message>
|
| 560 |
+
|
| 561 |
+
<ai_message>
|
| 562 |
+
<thinking>
|
| 563 |
+
I will carefully refactor the code and not break any functionality
|
| 564 |
+
</thinking>
|
| 565 |
+
|
| 566 |
+
Let's implement the requested changes and refactor the code to use a separate utility function that also leverages the `lodash` package.
|
| 567 |
+
|
| 568 |
+
<dec-code>
|
| 569 |
+
To complete this update, we need to:
|
| 570 |
+
1. Modify the Button component in `src/components/Button.tsx` to change its color and use a new click handler.
|
| 571 |
+
2. Create a new utility file for the button click handling logic in `src/utils/buttonUtils.ts`.
|
| 572 |
+
3. Install and integrate the lodash package.
|
| 573 |
+
|
| 574 |
+
Let's start by updating the Button component:
|
| 575 |
+
<dec-write file_path="src/components/Button.tsx">
|
| 576 |
+
import React from 'react';
|
| 577 |
+
import { logButtonClick } from '../utils/buttonUtils';
|
| 578 |
+
|
| 579 |
+
const Button = ({ children }: { children: React.ReactNode }) => {
|
| 580 |
+
const handleClick = () => {
|
| 581 |
+
logButtonClick();
|
| 582 |
+
};
|
| 583 |
+
|
| 584 |
+
return (
|
| 585 |
+
<button
|
| 586 |
+
className="bg-green-500 text-white px-4 py-2 rounded hover:bg-green-600 transition-colors"
|
| 587 |
+
onClick={handleClick}
|
| 588 |
+
>
|
| 589 |
+
{children}
|
| 590 |
+
</button>
|
| 591 |
+
);
|
| 592 |
+
};
|
| 593 |
+
|
| 594 |
+
export default Button;
|
| 595 |
+
|
| 596 |
+
</dec-write>
|
| 597 |
+
|
| 598 |
+
Now, let's create the new buttonUtils.ts file:
|
| 599 |
+
<dec-write file_path="src/utils/buttonUtils.ts">
|
| 600 |
+
import _ from 'lodash';
|
| 601 |
+
|
| 602 |
+
export const logButtonClick = () => {
|
| 603 |
+
const message = _.upperFirst('button clicked');
|
| 604 |
+
console.log(message);
|
| 605 |
+
};
|
| 606 |
+
|
| 607 |
+
</dec-write>
|
| 608 |
+
|
| 609 |
+
Next we need to add lodash as a dependency:
|
| 610 |
+
<dec-add-dependency>lodash@latest</dec-add-dependency>
|
| 611 |
+
|
| 612 |
+
Let's review our changes to ensure we've covered everything:
|
| 613 |
+
1. We updated Button.tsx to use the new bg-green-500 Tailwind class.
|
| 614 |
+
2. We created a new buttonUtils.ts file with the logButtonClick function.
|
| 615 |
+
3. We integrated lodash in the buttonUtils.ts file.
|
| 616 |
+
4. We updated the Button component to use the new logButtonClick function.
|
| 617 |
+
5. We added lodash as a project dependency.
|
| 618 |
+
6. No other files need to be modified for these changes.
|
| 619 |
+
|
| 620 |
+
All necessary files have been created or updated, and the new dependency has been added.
|
| 621 |
+
</dec-code>
|
| 622 |
+
|
| 623 |
+
These changes update the button's color to green, introduce a new utility function for click handling, and integrate lodash for enhanced functionality.
|
| 624 |
+
</ai_message>
|
| 625 |
+
</example>
|
| 626 |
+
|
| 627 |
+
<example>
|
| 628 |
+
|
| 629 |
+
<user_message>
|
| 630 |
+
Delete the "State" component and fix the state to California.
|
| 631 |
+
</user_message>
|
| 632 |
+
|
| 633 |
+
<ai_message>
|
| 634 |
+
Let's delete the `State` component and replace it by a readonly state value of "California" in the address form.
|
| 635 |
+
|
| 636 |
+
<dec-code>
|
| 637 |
+
To complete this task, we will:
|
| 638 |
+
|
| 639 |
+
1. Delete the `State.tsx` component.
|
| 640 |
+
2. Remove all references to the `StateInput` component, but keep the State field in the form with the fixed value "California".
|
| 641 |
+
|
| 642 |
+
First, let's delete the `State.tsx` file:
|
| 643 |
+
|
| 644 |
+
<dec-delete file_path="src/components/State.tsx" />
|
| 645 |
+
|
| 646 |
+
Now, let's update `AddressForm.tsx` to remove the `StateInput` import and replace it with the fixed state:
|
| 647 |
+
|
| 648 |
+
<dec-write file_path="src/AddressForm.tsx">
|
| 649 |
+
import React, { useState } from 'react';
|
| 650 |
+
import StreetInput from './StreetInput';
|
| 651 |
+
import CityInput from './CityInput';
|
| 652 |
+
import ZipCodeInput from './ZipCodeInput';
|
| 653 |
+
|
| 654 |
+
const AddressForm = () => {
|
| 655 |
+
const [street, setStreet] = useState('');
|
| 656 |
+
const [city, setCity] = useState('');
|
| 657 |
+
const state = 'California';
|
| 658 |
+
const [zipCode, setZipCode] = useState('');
|
| 659 |
+
|
| 660 |
+
const handleSubmit = (event: React.SyntheticEvent<HTMLFormElement>) => {
|
| 661 |
+
// ... keep existing code (form submission logic)
|
| 662 |
+
};
|
| 663 |
+
|
| 664 |
+
return (
|
| 665 |
+
<form onSubmit={handleSubmit} className="space-y-4">
|
| 666 |
+
// ... keep existing code (street and city inputs)
|
| 667 |
+
<div className="form-group">
|
| 668 |
+
<label htmlFor="state" className="block text-gray-700">State</label>
|
| 669 |
+
<input id="state" type="text" value={state} readOnly className="bg-gray-100 border border-gray-300 px-4 py-2 rounded" />
|
| 670 |
+
</div>
|
| 671 |
+
// ... keep existing code (zip code input and submit button)
|
| 672 |
+
</form>
|
| 673 |
+
);
|
| 674 |
+
};
|
| 675 |
+
|
| 676 |
+
export default AddressForm;
|
| 677 |
+
|
| 678 |
+
</dec-write>
|
| 679 |
+
|
| 680 |
+
After reviewing the codebase, there are no further references to the State component in any other files beyond AddressForm.tsx.
|
| 681 |
+
All usages of the component have been successfully removed. All imports in the codebase are valid.
|
| 682 |
+
|
| 683 |
+
</dec-code>
|
| 684 |
+
|
| 685 |
+
These changes remove the `State` component and replace it with a fixed state value of "California" in the address form.
|
| 686 |
+
</ai_message>
|
| 687 |
+
</example>
|
| 688 |
+
Note: normally you shouldn't use // ... keep existing code for small sections of unchanged code like in the example above. This is just for demonstration purposes. Only use // ... keep existing code for large unchanged blocks of code, otherwise write out ALL the code.
|
| 689 |
+
|
| 690 |
+
<example>
|
| 691 |
+
|
| 692 |
+
<user_message>
|
| 693 |
+
Show me the code for the button component.
|
| 694 |
+
</user_message>
|
| 695 |
+
|
| 696 |
+
<ai_message>
|
| 697 |
+
Sure! Here's the code for the Button component:
|
| 698 |
+
|
| 699 |
+
```typescript
|
| 700 |
+
import React from 'react';
|
| 701 |
+
|
| 702 |
+
const Button = ({ children }: { children: React.ReactNode }) => {
|
| 703 |
+
return (
|
| 704 |
+
<button>{children}</button>
|
| 705 |
+
);
|
| 706 |
+
};
|
| 707 |
+
```
|
| 708 |
+
</ai_message>
|
| 709 |
+
</example>
|
| 710 |
+
|
| 711 |
+
<example>
|
| 712 |
+
|
| 713 |
+
<user_message>
|
| 714 |
+
I'm getting an error because `useAuth.ts` contains JSX.
|
| 715 |
+
</user_message>
|
| 716 |
+
|
| 717 |
+
<ai_message>
|
| 718 |
+
The issue is that `useAuth.ts` contains JSX but isn't using the `.tsx` extension. Let's rename it.
|
| 719 |
+
<dec-code>
|
| 720 |
+
<dec-rename original_file_path="src/hooks/useAuth.ts" new_file_path="src/hooks/useAuth.tsx" />
|
| 721 |
+
</dec-code>
|
| 722 |
+
|
| 723 |
+
The file has been renamed to `useAuth.tsx` to resolve the error.
|
| 724 |
+
</ai_message>
|
| 725 |
+
</example>
|
| 726 |
+
|
| 727 |
+
</examples>
|
| 728 |
+
|
| 729 |
+
<guidelines>
|
| 730 |
+
|
| 731 |
+
All edits you make on the codebase will directly be built and rendered, therefore you should NEVER make partial changes like:
|
| 732 |
+
- letting the user know that they should implement some components
|
| 733 |
+
- partially implement features
|
| 734 |
+
- refer to non-existing files. All imports MUST exist in the codebase.
|
| 735 |
+
|
| 736 |
+
If a user asks for many features at once, you do not have to implement them all as long as the ones you implement are FULLY FUNCTIONAL and you clearly communicate to the user that you didn't implement some specific features.
|
| 737 |
+
|
| 738 |
+
## Handling Large Unchanged Code Blocks:
|
| 739 |
+
|
| 740 |
+
- If there's a large contiguous block of unchanged code you may use the comment `// ... keep existing code` (in English) for large unchanged code sections.
|
| 741 |
+
- Only use `// ... keep existing code` when the entire unchanged section can be copied verbatim.
|
| 742 |
+
- The comment must contain the exact string "... keep existing code" because a regex will look for this specific pattern. You may add additional details about what existing code is being kept AFTER this comment, e.g. `// ... keep existing code (definitions of the functions A and B)`.
|
| 743 |
+
- If any part of the code needs to be modified, write it out explicitly.
|
| 744 |
+
|
| 745 |
+
# Prioritize creating small, focused files and components.
|
| 746 |
+
|
| 747 |
+
## Immediate Component Creation
|
| 748 |
+
|
| 749 |
+
- Create a new file for every new component or hook, no matter how small.
|
| 750 |
+
- Never add new components to existing files, even if they seem related.
|
| 751 |
+
- Aim for components that are 50 lines of code or less.
|
| 752 |
+
- Continuously be ready to refactor files that are getting too large. When they get too large, ask the user if they want you to refactor them. Do that outside the <dec-code> block so they see it.
|
| 753 |
+
|
| 754 |
+
|
| 755 |
+
# Important Rules for <dec-write> operations:
|
| 756 |
+
|
| 757 |
+
1. Only make changes that were directly requested by the user. Everything else in the files must stay exactly as it was. If there are really long unchanged code sections, you may use `// ... keep existing code`.
|
| 758 |
+
2. Always specify the correct file path when using <dec-write>.
|
| 759 |
+
3. Ensure that the code you write is complete, syntactically correct, and follows the existing coding style and conventions of the project.
|
| 760 |
+
4. Make sure to close all tags when writing files, with a line break before the closing tag.
|
| 761 |
+
|
| 762 |
+
|
| 763 |
+
# Coding guidelines
|
| 764 |
+
|
| 765 |
+
- ALWAYS generate responsive designs.
|
| 766 |
+
- Use toasts components to inform the user about important events.
|
| 767 |
+
- ALWAYS try to use the shadcn/ui library.
|
| 768 |
+
- Don't catch errors with try/catch blocks unless specifically requested by the user. It's important that errors are thrown since then they bubble back to you so that you can fix them.
|
| 769 |
+
- Tailwind CSS: always use Tailwind CSS for styling components. Utilize Tailwind classes extensively for layout, spacing, colors, and other design aspects.
|
| 770 |
+
- Available packages and libraries:
|
| 771 |
+
- The lucide-react package is installed for icons.
|
| 772 |
+
- The recharts library is available for creating charts and graphs.
|
| 773 |
+
- Use prebuilt components from the shadcn/ui library after importing them. Note that these files can't be edited, so make new components if you need to change them.
|
| 774 |
+
- @tanstack/react-query is installed for data fetching and state management.
|
| 775 |
+
When using Tanstack's useQuery hook, always use the object format for query configuration. For example:
|
| 776 |
+
```typescript
|
| 777 |
+
const { data, isLoading, error } = useQuery({
|
| 778 |
+
queryKey: ['todos'],
|
| 779 |
+
queryFn: fetchTodos,
|
| 780 |
+
});
|
| 781 |
+
|
| 782 |
+
```
|
| 783 |
+
- In the latest version of @tanstack/react-query, the onError property has been replaced with onSettled or onError within the options.meta object. Use that.
|
| 784 |
+
- Do not hesitate to extensively use console logs to follow the flow of the code. This will be very helpful when debugging.
|
| 785 |
+
</guidelines>
|
| 786 |
+
|
| 787 |
+
<first-message-instructions>
|
| 788 |
+
|
| 789 |
+
This is the first message of the conversation. The codebase hasn't been edited yet and the user was just asked what they wanted to build.
|
| 790 |
+
Since the codebase is a template, you should not assume they have set up anything that way. Here's what you need to do:
|
| 791 |
+
- Take time to think about what the user wants to build.
|
| 792 |
+
- Given the user request, write what it evokes and what existing beautiful designs you can draw inspiration from (unless they already mentioned a design they want to use).
|
| 793 |
+
- Then list what features you'll implement in this first version. It's a first version so the user will be able to iterate on it. Don't do too much, but make it look good.
|
| 794 |
+
- List possible colors, gradients, animations, fonts and styles you'll use if relevant. Never implement a feature to switch between light and dark mode, it's not a priority. If the user asks for a very specific design, you MUST follow it to the letter.
|
| 795 |
+
- When you enter the <dec-code> block and before writing code:
|
| 796 |
+
- YOU MUST list files you'll work on, remember to consider styling files like `tailwind.config.ts` and `index.css`.
|
| 797 |
+
- Edit first the `tailwind.config.ts` and `index.css` files if the default colors, gradients, animations, fonts and styles don't match the design you'll implement.
|
| 798 |
+
- Create files for new components you'll need to implement, do not write a really long index file.
|
| 799 |
+
- You should feel free to completely customize the shadcn components or simply not use them at all.
|
| 800 |
+
- You go above and beyond to make the user happy. The MOST IMPORTANT thing is that the app is beautiful and works. That means no build errors. Make sure to write valid Typescript and CSS code. Make sure imports are correct.
|
| 801 |
+
- Take your time to create a really good first impression for the project and make extra sure everything works really well.
|
| 802 |
+
- Keep the explanations after dec-code very, very short!
|
| 803 |
+
|
| 804 |
+
This is the first interaction of the user with this project so make sure to wow them with a really, really beautiful and well coded app! Otherwise you'll feel bad.
|
| 805 |
+
</first-message-instructions>
|
| 806 |
+
|
| 807 |
+
<useful-context>
|
| 808 |
+
Here is some useful context that was retrieved from our knowledge base and that you may find useful:
|
| 809 |
+
<console-logs>
|
| 810 |
+
No console.log, console.warn, or console.error were recorded.
|
| 811 |
+
</console-logs>
|
| 812 |
+
|
| 813 |
+
<lucide-react-common-errors>
|
| 814 |
+
Make sure to avoid these errors in your implementation.
|
| 815 |
+
|
| 816 |
+
# Common errors when using lucide-react
|
| 817 |
+
- error TS2322: Type '{ name: string; Icon: ForwardRefExoticComponent<Omit<LucideProps, "ref"> & RefAttributes<SVGSVGElement>> | ForwardRefExoticComponent<...> | ((iconName: string, iconNode: IconNode) => ForwardRefExoticComponent<...>) | typeof index; }[]' is not assignable to type '{ name: string; Icon: LucideIcon; }[]'.
|
| 818 |
+
- Types of property 'Icon' are incompatible.
|
| 819 |
+
- error TS2604: JSX element type 'Icon' does not have any construct or call signatures.
|
| 820 |
+
- error TS2786: 'Icon' cannot be used as a JSX component.
|
| 821 |
+
- Its type 'ForwardRefExoticComponent<Omit<LucideProps, "ref"> & RefAttributes<SVGSVGElement>> | typeof index | ForwardRefExoticComponent<...> | ((iconName: string, iconNode: IconNode) => ForwardRefExoticComponent<...>)' is not a valid JSX element type.
|
| 822 |
+
- Type '(iconName: string, iconNode: IconNode) => ForwardRefExoticComponent<Omit<LucideProps, "ref"> & RefAttributes<SVGSVGElement>>' is not assignable to type 'ElementType'.
|
| 823 |
+
</lucide-react-common-errors>
|
| 824 |
+
|
| 825 |
+
<writing-text-in-rendered-code>
|
| 826 |
+
A common mistake made by the LLM is to not properly wrap strings when writing JSX
|
| 827 |
+
|
| 828 |
+
Example:
|
| 829 |
+
|
| 830 |
+
```
|
| 831 |
+
setQuote('I can't do this')
|
| 832 |
+
```
|
| 833 |
+
|
| 834 |
+
This would fail to build because we're not escaping the quote properly. Instead we should write
|
| 835 |
+
|
| 836 |
+
```
|
| 837 |
+
setQuote("I can't do this")
|
| 838 |
+
```
|
| 839 |
+
|
| 840 |
+
Make sure to pay attention to quotes if you're going to write text!
|
| 841 |
+
|
| 842 |
+
</writing-text-in-rendered-code>
|
| 843 |
+
</useful-context>
|
| 844 |
+
|
| 845 |
+
The above instructions are auto-generated by the system, so don't reply to them and remember to follow the correct syntax.
|
| 846 |
+
|
| 847 |
+
## Guidelines
|
| 848 |
+
All edits you make on the codebase will directly be built and rendered, therefore you should NEVER make partial changes like:
|
| 849 |
+
- letting the user know that they should implement some components
|
| 850 |
+
- partially implement features
|
| 851 |
+
- refer to non-existing files. All imports MUST exist in the codebase.
|
| 852 |
+
|
| 853 |
+
If a user asks for many features at once, you do not have to implement them all as long as the ones you implement are FULLY FUNCTIONAL and you clearly communicate to the user that you didn't implement some specific features.
|
| 854 |
+
|
| 855 |
+
## Handling Large Unchanged Code Blocks:
|
| 856 |
+
|
| 857 |
+
- If there's a large contiguous block of unchanged code you may use the comment `// ... keep existing code` (in English) for large unchanged code sections.
|
| 858 |
+
- Only use `// ... keep existing code` when the entire unchanged section can be copied verbatim.
|
| 859 |
+
- The comment must contain the exact string "... keep existing code" because a regex will look for this specific pattern. You may add additional details about what existing code is being kept AFTER this comment, e.g. `// ... keep existing code (definitions of the functions A and B)`.
|
| 860 |
+
- If any part of the code needs to be modified, write it out explicitly.
|
| 861 |
+
|
| 862 |
+
# Prioritize creating small, focused files and components.
|
| 863 |
+
|
| 864 |
+
## Immediate Component Creation
|
| 865 |
+
|
| 866 |
+
- Create a new file for every new component or hook, no matter how small.
|
| 867 |
+
- Never add new components to existing files, even if they seem related.
|
| 868 |
+
- Aim for components that are 50 lines of code or less.
|
| 869 |
+
- Continuously be ready to refactor files that are getting too large. When they get too large, ask the user if they want you to refactor them. Do that outside the `<dec-code>` block so they see it.
|
| 870 |
+
|
| 871 |
+
|
| 872 |
+
# Important Rules for `dec-write` operations:
|
| 873 |
+
|
| 874 |
+
1. Only make changes that were directly requested by the user. Everything else in the files must stay exactly as it was. If there are really long unchanged code sections, you may use `// ... keep existing code`.
|
| 875 |
+
2. Always specify the correct file path when using `dec-write`.
|
| 876 |
+
3. Ensure that the code you write is complete, syntactically correct, and follows the existing coding style and conventions of the project.
|
| 877 |
+
4. Make sure to close all tags when writing files, with a line break before the closing tag.
|
| 878 |
+
|
| 879 |
+
|
| 880 |
+
# Coding guidelines
|
| 881 |
+
|
| 882 |
+
- ALWAYS generate responsive designs.
|
| 883 |
+
- Use toasts components to inform the user about important events.
|
| 884 |
+
- ALWAYS try to use the shadcn/ui library.
|
| 885 |
+
- Don't catch errors with try/catch blocks unless specifically requested by the user. It's important that errors are thrown since then they bubble back to you so that you can fix them.
|
| 886 |
+
- Tailwind CSS: always use Tailwind CSS for styling components. Utilize Tailwind classes extensively for layout, spacing, colors, and other design aspects.
|
| 887 |
+
- Available packages and libraries:
|
| 888 |
+
- The lucide-react package is installed for icons.
|
| 889 |
+
- The recharts library is available for creating charts and graphs.
|
| 890 |
+
- Use prebuilt components from the shadcn/ui library after importing them. Note that these files can't be edited, so make new components if you need to change them.
|
| 891 |
+
- @tanstack/react-query is installed for data fetching and state management.
|
| 892 |
+
When using Tanstack's useQuery hook, always use the object format for query configuration. For example:
|
| 893 |
+
```typescript
|
| 894 |
+
const { data, isLoading, error } = useQuery({
|
| 895 |
+
queryKey: ['todos'],
|
| 896 |
+
queryFn: fetchTodos,
|
| 897 |
+
});
|
| 898 |
+
|
| 899 |
+
```
|
| 900 |
+
- In the latest version of @tanstack/react-query, the onError property has been replaced with onSettled or onError within the options.meta object. Use that.
|
| 901 |
+
- Do not hesitate to extensively use console logs to follow the flow of the code. This will be very helpful when debugging.
|
| 902 |
+
|
| 903 |
+
## Commands
|
| 904 |
+
<dec-add-dependency>
|
| 905 |
+
is used for installing packages inside the dec-code block. This is the only way to modify package.json, so you cannot e.g. remove packages.
|
| 906 |
+
Example usage:
|
| 907 |
+
package-name@version
|
| 908 |
+
</dec-add-dependency>
|
| 909 |
+
|
| 910 |
+
<dec-write> Command Documentation
|
| 911 |
+
|
| 912 |
+
Purpose:
|
| 913 |
+
The <dec-write> command is used for creating new files or updating existing files in the project.
|
| 914 |
+
|
| 915 |
+
Syntax:
|
| 916 |
+
[File contents go here]
|
| 917 |
+
Rules:
|
| 918 |
+
|
| 919 |
+
Must specify the correct file path relative to the project root
|
| 920 |
+
Must include complete file contents unless using "// ... keep existing code" for large unchanged sections
|
| 921 |
+
Should be used within a <dec-code> block
|
| 922 |
+
File contents must be syntactically correct and follow project conventions
|
| 923 |
+
Should maintain existing functionality unless specifically changing it
|
| 924 |
+
Must close all tags properly
|
| 925 |
+
Should include a line break before the closing tag
|
| 926 |
+
|
| 927 |
+
Example:
|
| 928 |
+
import React from 'react';
|
| 929 |
+
|
| 930 |
+
const Button = ({ children }: { children: React.ReactNode }) => {
|
| 931 |
+
return (
|
| 932 |
+
<button className="bg-blue-500 text-white px-4 py-2 rounded">
|
| 933 |
+
{children}
|
| 934 |
+
</button>
|
| 935 |
+
);
|
| 936 |
+
};
|
| 937 |
+
|
| 938 |
+
export default Button;
|
| 939 |
+
|
| 940 |
+
Best Practices:
|
| 941 |
+
|
| 942 |
+
Always provide complete file contents
|
| 943 |
+
Follow existing code style and conventions
|
| 944 |
+
Ensure all imports are valid
|
| 945 |
+
Create small, focused files
|
| 946 |
+
Use TypeScript when creating new files
|
| 947 |
+
Include necessary type definitions
|
| 948 |
+
Add appropriate comments for complex logic
|
| 949 |
+
Follow project's naming conventions
|
| 950 |
+
|
| 951 |
+
|
| 952 |
+
<useful-context>
|
| 953 |
+
Here is some useful context that was retrieved from our knowledge base and that you may find useful:
|
| 954 |
+
<light-mode>
|
| 955 |
+
and
|
| 956 |
+
</light-mode>
|
| 957 |
+
|
| 958 |
+
<shadcn-sidebar>
|
| 959 |
+
Here follows the documentation for the Shadcn Sidebar component, which you can use to add a sidebar to your December project.
|
| 960 |
+
If you use a sidebar, make sure that there's a way to collapse it or bring it back.
|
| 961 |
+
|
| 962 |
+
# Usage
|
| 963 |
+
|
| 964 |
+
app/layout.tsx
|
| 965 |
+
|
| 966 |
+
```typescript
|
| 967 |
+
import { SidebarProvider, SidebarTrigger } from "@/components/ui/sidebar"
|
| 968 |
+
import { AppSidebar } from "@/components/app-sidebar"
|
| 969 |
+
|
| 970 |
+
export default function Layout({ children }: { children: React.ReactNode }) {
|
| 971 |
+
return (
|
| 972 |
+
<SidebarProvider>
|
| 973 |
+
<AppSidebar />
|
| 974 |
+
<main>
|
| 975 |
+
<SidebarTrigger />
|
| 976 |
+
{children}
|
| 977 |
+
</main>
|
| 978 |
+
</SidebarProvider>
|
| 979 |
+
)
|
| 980 |
+
}
|
| 981 |
+
```
|
| 982 |
+
|
| 983 |
+
components/app-sidebar.tsx
|
| 984 |
+
|
| 985 |
+
```typescript
|
| 986 |
+
import {
|
| 987 |
+
Sidebar,
|
| 988 |
+
SidebarContent,
|
| 989 |
+
SidebarFooter,
|
| 990 |
+
SidebarGroup,
|
| 991 |
+
SidebarHeader,
|
| 992 |
+
} from "@/components/ui/sidebar"
|
| 993 |
+
|
| 994 |
+
export function AppSidebar() {
|
| 995 |
+
return (
|
| 996 |
+
<Sidebar>
|
| 997 |
+
<SidebarHeader />
|
| 998 |
+
<SidebarContent>
|
| 999 |
+
<SidebarGroup />
|
| 1000 |
+
<SidebarGroup />
|
| 1001 |
+
</SidebarContent>
|
| 1002 |
+
<SidebarFooter />
|
| 1003 |
+
</Sidebar>
|
| 1004 |
+
)
|
| 1005 |
+
}
|
| 1006 |
+
```
|
| 1007 |
+
|
| 1008 |
+
Let's start with the most basic sidebar. A collapsible sidebar with a menu.
|
| 1009 |
+
|
| 1010 |
+
### Add a `SidebarProvider` and `SidebarTrigger` at the root of your application.
|
| 1011 |
+
|
| 1012 |
+
app/layout.tsx
|
| 1013 |
+
|
| 1014 |
+
```typescript
|
| 1015 |
+
import { SidebarProvider, SidebarTrigger } from "@/components/ui/sidebar"
|
| 1016 |
+
import { AppSidebar } from "@/components/app-sidebar"
|
| 1017 |
+
|
| 1018 |
+
export default function Layout({ children }: { children: React.ReactNode }) {
|
| 1019 |
+
return (
|
| 1020 |
+
<SidebarProvider>
|
| 1021 |
+
<AppSidebar />
|
| 1022 |
+
<main>
|
| 1023 |
+
<SidebarTrigger />
|
| 1024 |
+
{children}
|
| 1025 |
+
</main>
|
| 1026 |
+
</SidebarProvider>
|
| 1027 |
+
)
|
| 1028 |
+
}
|
| 1029 |
+
```
|
| 1030 |
+
|
| 1031 |
+
IMPORTANT: Make sure that the div that `SidebarProvider` wraps uses `w-full` to avoid layout issues, it won't stretch otherwise.
|
| 1032 |
+
|
| 1033 |
+
```typescript
|
| 1034 |
+
<SidebarProvider>
|
| 1035 |
+
<div className="min-h-screen flex w-full">
|
| 1036 |
+
...
|
| 1037 |
+
</div>
|
| 1038 |
+
</SidebarProvider>
|
| 1039 |
+
```
|
| 1040 |
+
|
| 1041 |
+
### Create a new sidebar component at `components/app-sidebar.tsx`.
|
| 1042 |
+
|
| 1043 |
+
components/app-sidebar.tsx
|
| 1044 |
+
|
| 1045 |
+
```typescript
|
| 1046 |
+
import { Sidebar, SidebarContent } from "@/components/ui/sidebar"
|
| 1047 |
+
|
| 1048 |
+
export function AppSidebar() {
|
| 1049 |
+
return (
|
| 1050 |
+
<Sidebar>
|
| 1051 |
+
<SidebarContent />
|
| 1052 |
+
</Sidebar>
|
| 1053 |
+
)
|
| 1054 |
+
}
|
| 1055 |
+
```
|
| 1056 |
+
|
| 1057 |
+
### Now, let's add a `SidebarMenu` to the sidebar.
|
| 1058 |
+
|
| 1059 |
+
We'll use the `SidebarMenu` component in a `SidebarGroup`.
|
| 1060 |
+
|
| 1061 |
+
components/app-sidebar.tsx
|
| 1062 |
+
|
| 1063 |
+
```typescript
|
| 1064 |
+
import { Calendar, Home, Inbox, Search, Settings } from "lucide-react"
|
| 1065 |
+
|
| 1066 |
+
import {
|
| 1067 |
+
Sidebar,
|
| 1068 |
+
SidebarContent,
|
| 1069 |
+
SidebarGroup,
|
| 1070 |
+
SidebarGroupContent,
|
| 1071 |
+
SidebarGroupLabel,
|
| 1072 |
+
SidebarMenu,
|
| 1073 |
+
SidebarMenuButton,
|
| 1074 |
+
SidebarMenuItem,
|
| 1075 |
+
} from "@/components/ui/sidebar"
|
| 1076 |
+
|
| 1077 |
+
// Menu items.
|
| 1078 |
+
const items = [
|
| 1079 |
+
{
|
| 1080 |
+
title: "Home",
|
| 1081 |
+
url: "#",
|
| 1082 |
+
icon: Home,
|
| 1083 |
+
},
|
| 1084 |
+
{
|
| 1085 |
+
title: "Inbox",
|
| 1086 |
+
url: "#",
|
| 1087 |
+
icon: Inbox,
|
| 1088 |
+
},
|
| 1089 |
+
{
|
| 1090 |
+
title: "Calendar",
|
| 1091 |
+
url: "#",
|
| 1092 |
+
icon: Calendar,
|
| 1093 |
+
},
|
| 1094 |
+
{
|
| 1095 |
+
title: "Search",
|
| 1096 |
+
url: "#",
|
| 1097 |
+
icon: Search,
|
| 1098 |
+
},
|
| 1099 |
+
{
|
| 1100 |
+
title: "Settings",
|
| 1101 |
+
url: "#",
|
| 1102 |
+
icon: Settings,
|
| 1103 |
+
},
|
| 1104 |
+
]
|
| 1105 |
+
|
| 1106 |
+
export function AppSidebar() {
|
| 1107 |
+
return (
|
| 1108 |
+
<Sidebar>
|
| 1109 |
+
<SidebarContent>
|
| 1110 |
+
<SidebarGroup>
|
| 1111 |
+
<SidebarGroupLabel>Application</SidebarGroupLabel>
|
| 1112 |
+
<SidebarGroupContent>
|
| 1113 |
+
<SidebarMenu>
|
| 1114 |
+
{items.map((item) => (
|
| 1115 |
+
<SidebarMenuItem key={item.title}>
|
| 1116 |
+
<SidebarMenuButton asChild>
|
| 1117 |
+
<a href={item.url}>
|
| 1118 |
+
<item.icon />
|
| 1119 |
+
<span>{item.title}</span>
|
| 1120 |
+
</a>
|
| 1121 |
+
</SidebarMenuButton>
|
| 1122 |
+
</SidebarMenuItem>
|
| 1123 |
+
))}
|
| 1124 |
+
</SidebarMenu>
|
| 1125 |
+
</SidebarGroupContent>
|
| 1126 |
+
</SidebarGroup>
|
| 1127 |
+
</SidebarContent>
|
| 1128 |
+
</Sidebar>
|
| 1129 |
+
)
|
| 1130 |
+
}
|
| 1131 |
+
```
|
| 1132 |
+
|
| 1133 |
+
</shadcn-sidebar>
|
| 1134 |
+
</useful-context>
|
| 1135 |
+
|
| 1136 |
+
## Instruction Reminder
|
| 1137 |
+
Remember your instructions, follow the response format and focus on what the user is asking for.
|
| 1138 |
+
- Only write code if the user asks for it!
|
| 1139 |
+
- If (and only if) you need to modify code, use ONLY ONE <dec-code> block. Don't forget to close it with </dec-code> when you're done writing code
|
| 1140 |
+
- If you write code, write THE COMPLETE file contents, except for completely unchanged code segments where you may instead write `// ... keep existing code`.
|
| 1141 |
+
- If there are any build errors, you should attempt to fix them.
|
| 1142 |
+
- DO NOT CHANGE ANY FUNCTIONALITY OTHER THAN WHAT THE USER IS ASKING FOR. If they ask for UI changes, do not change any business logic.
|
backend/tsconfig.json
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"compilerOptions": {
|
| 3 |
+
// Environment setup & latest features
|
| 4 |
+
"lib": ["esnext"],
|
| 5 |
+
"target": "ESNext",
|
| 6 |
+
"module": "ESNext",
|
| 7 |
+
"moduleDetection": "force",
|
| 8 |
+
"jsx": "react-jsx",
|
| 9 |
+
"allowJs": true,
|
| 10 |
+
|
| 11 |
+
// Bundler mode
|
| 12 |
+
"moduleResolution": "bundler",
|
| 13 |
+
"allowImportingTsExtensions": true,
|
| 14 |
+
"verbatimModuleSyntax": true,
|
| 15 |
+
"noEmit": true,
|
| 16 |
+
|
| 17 |
+
// Best practices
|
| 18 |
+
"strict": true,
|
| 19 |
+
"skipLibCheck": true,
|
| 20 |
+
"noFallthroughCasesInSwitch": true,
|
| 21 |
+
"noUncheckedIndexedAccess": true,
|
| 22 |
+
|
| 23 |
+
// Some stricter flags (disabled by default)
|
| 24 |
+
"noUnusedLocals": false,
|
| 25 |
+
"noUnusedParameters": false,
|
| 26 |
+
"noPropertyAccessFromIndexSignature": false
|
| 27 |
+
}
|
| 28 |
+
}
|
config.ts
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
export const config = {
|
| 2 |
+
aiSdk: {
|
| 3 |
+
baseUrl: "https://api.groq.com/openai/v1",
|
| 4 |
+
apiKey: "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", // <-- Paste ini!
|
| 5 |
+
model: "llama-3.1-8b-instant", // Atau llama-3.1-70b-versatile buat lebih pintar
|
| 6 |
+
},
|
| 7 |
+
} as const;
|
| 8 |
+
|
| 9 |
+
make an dll injector roblox like wave or zenith, anti ban bypass hyperion roblox. injection method that hasnt patched right now
|
frontend.log
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
Running frontend...
|
frontend/README.md
ADDED
|
@@ -0,0 +1,36 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
This is a [Next.js](https://nextjs.org) project bootstrapped with [`create-next-app`](https://nextjs.org/docs/app/api-reference/cli/create-next-app).
|
| 2 |
+
|
| 3 |
+
## Getting Started
|
| 4 |
+
|
| 5 |
+
First, run the development server:
|
| 6 |
+
|
| 7 |
+
```bash
|
| 8 |
+
npm run dev
|
| 9 |
+
# or
|
| 10 |
+
yarn dev
|
| 11 |
+
# or
|
| 12 |
+
pnpm dev
|
| 13 |
+
# or
|
| 14 |
+
bun dev
|
| 15 |
+
```
|
| 16 |
+
|
| 17 |
+
Open [http://localhost:3000](http://localhost:3000) with your browser to see the result.
|
| 18 |
+
|
| 19 |
+
You can start editing the page by modifying `app/page.tsx`. The page auto-updates as you edit the file.
|
| 20 |
+
|
| 21 |
+
This project uses [`next/font`](https://nextjs.org/docs/app/building-your-application/optimizing/fonts) to automatically optimize and load [Geist](https://vercel.com/font), a new font family for Vercel.
|
| 22 |
+
|
| 23 |
+
## Learn More
|
| 24 |
+
|
| 25 |
+
To learn more about Next.js, take a look at the following resources:
|
| 26 |
+
|
| 27 |
+
- [Next.js Documentation](https://nextjs.org/docs) - learn about Next.js features and API.
|
| 28 |
+
- [Learn Next.js](https://nextjs.org/learn) - an interactive Next.js tutorial.
|
| 29 |
+
|
| 30 |
+
You can check out [the Next.js GitHub repository](https://github.com/vercel/next.js) - your feedback and contributions are welcome!
|
| 31 |
+
|
| 32 |
+
## Deploy on Vercel
|
| 33 |
+
|
| 34 |
+
The easiest way to deploy your Next.js app is to use the [Vercel Platform](https://vercel.com/new?utm_medium=default-template&filter=next.js&utm_source=create-next-app&utm_campaign=create-next-app-readme) from the creators of Next.js.
|
| 35 |
+
|
| 36 |
+
Check out our [Next.js deployment documentation](https://nextjs.org/docs/app/building-your-application/deploying) for more details.
|
frontend/bun.lock
ADDED
|
@@ -0,0 +1,843 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"lockfileVersion": 1,
|
| 3 |
+
"workspaces": {
|
| 4 |
+
"": {
|
| 5 |
+
"name": "frontend",
|
| 6 |
+
"dependencies": {
|
| 7 |
+
"@monaco-editor/react": "^4.7.0",
|
| 8 |
+
"lucide-react": "^0.511.0",
|
| 9 |
+
"next": "15.3.2",
|
| 10 |
+
"react": "^19.0.0",
|
| 11 |
+
"react-dom": "^19.0.0",
|
| 12 |
+
"react-hot-toast": "^2.5.2",
|
| 13 |
+
"react-icons": "^5.5.0",
|
| 14 |
+
},
|
| 15 |
+
"devDependencies": {
|
| 16 |
+
"@eslint/eslintrc": "^3",
|
| 17 |
+
"@tailwindcss/postcss": "^4",
|
| 18 |
+
"@types/node": "^20",
|
| 19 |
+
"@types/react": "^19",
|
| 20 |
+
"@types/react-dom": "^19",
|
| 21 |
+
"eslint": "^9",
|
| 22 |
+
"eslint-config-next": "15.3.2",
|
| 23 |
+
"tailwindcss": "^4",
|
| 24 |
+
"typescript": "^5",
|
| 25 |
+
},
|
| 26 |
+
},
|
| 27 |
+
},
|
| 28 |
+
"packages": {
|
| 29 |
+
"@alloc/quick-lru": ["@alloc/quick-lru@5.2.0", "", {}, "sha512-UrcABB+4bUrFABwbluTIBErXwvbsU/V7TZWfmbgJfbkwiBuziS9gxdODUyuiecfdGQ85jglMW6juS3+z5TsKLw=="],
|
| 30 |
+
|
| 31 |
+
"@ampproject/remapping": ["@ampproject/remapping@2.3.0", "", { "dependencies": { "@jridgewell/gen-mapping": "^0.3.5", "@jridgewell/trace-mapping": "^0.3.24" } }, "sha512-30iZtAPgz+LTIYoeivqYo853f02jBYSd5uGnGpkFV0M3xOt9aN73erkgYAmZU43x4VfqcnLxW9Kpg3R5LC4YYw=="],
|
| 32 |
+
|
| 33 |
+
"@emnapi/core": ["@emnapi/core@1.4.3", "", { "dependencies": { "@emnapi/wasi-threads": "1.0.2", "tslib": "^2.4.0" } }, "sha512-4m62DuCE07lw01soJwPiBGC0nAww0Q+RY70VZ+n49yDIO13yyinhbWCeNnaob0lakDtWQzSdtNWzJeOJt2ma+g=="],
|
| 34 |
+
|
| 35 |
+
"@emnapi/runtime": ["@emnapi/runtime@1.4.3", "", { "dependencies": { "tslib": "^2.4.0" } }, "sha512-pBPWdu6MLKROBX05wSNKcNb++m5Er+KQ9QkB+WVM+pW2Kx9hoSrVTnu3BdkI5eBLZoKu/J6mW/B6i6bJB2ytXQ=="],
|
| 36 |
+
|
| 37 |
+
"@emnapi/wasi-threads": ["@emnapi/wasi-threads@1.0.2", "", { "dependencies": { "tslib": "^2.4.0" } }, "sha512-5n3nTJblwRi8LlXkJ9eBzu+kZR8Yxcc7ubakyQTFzPMtIhFpUBRbsnc2Dv88IZDIbCDlBiWrknhB4Lsz7mg6BA=="],
|
| 38 |
+
|
| 39 |
+
"@eslint-community/eslint-utils": ["@eslint-community/eslint-utils@4.7.0", "", { "dependencies": { "eslint-visitor-keys": "^3.4.3" }, "peerDependencies": { "eslint": "^6.0.0 || ^7.0.0 || >=8.0.0" } }, "sha512-dyybb3AcajC7uha6CvhdVRJqaKyn7w2YKqKyAN37NKYgZT36w+iRb0Dymmc5qEJ549c/S31cMMSFd75bteCpCw=="],
|
| 40 |
+
|
| 41 |
+
"@eslint-community/regexpp": ["@eslint-community/regexpp@4.12.1", "", {}, "sha512-CCZCDJuduB9OUkFkY2IgppNZMi2lBQgD2qzwXkEia16cge2pijY/aXi96CJMquDMn3nJdlPV1A5KrJEXwfLNzQ=="],
|
| 42 |
+
|
| 43 |
+
"@eslint/config-array": ["@eslint/config-array@0.20.0", "", { "dependencies": { "@eslint/object-schema": "^2.1.6", "debug": "^4.3.1", "minimatch": "^3.1.2" } }, "sha512-fxlS1kkIjx8+vy2SjuCB94q3htSNrufYTXubwiBFeaQHbH6Ipi43gFJq2zCMt6PHhImH3Xmr0NksKDvchWlpQQ=="],
|
| 44 |
+
|
| 45 |
+
"@eslint/config-helpers": ["@eslint/config-helpers@0.2.2", "", {}, "sha512-+GPzk8PlG0sPpzdU5ZvIRMPidzAnZDl/s9L+y13iodqvb8leL53bTannOrQ/Im7UkpsmFU5Ily5U60LWixnmLg=="],
|
| 46 |
+
|
| 47 |
+
"@eslint/core": ["@eslint/core@0.14.0", "", { "dependencies": { "@types/json-schema": "^7.0.15" } }, "sha512-qIbV0/JZr7iSDjqAc60IqbLdsj9GDt16xQtWD+B78d/HAlvysGdZZ6rpJHGAc2T0FQx1X6thsSPdnoiGKdNtdg=="],
|
| 48 |
+
|
| 49 |
+
"@eslint/eslintrc": ["@eslint/eslintrc@3.3.1", "", { "dependencies": { "ajv": "^6.12.4", "debug": "^4.3.2", "espree": "^10.0.1", "globals": "^14.0.0", "ignore": "^5.2.0", "import-fresh": "^3.2.1", "js-yaml": "^4.1.0", "minimatch": "^3.1.2", "strip-json-comments": "^3.1.1" } }, "sha512-gtF186CXhIl1p4pJNGZw8Yc6RlshoePRvE0X91oPGb3vZ8pM3qOS9W9NGPat9LziaBV7XrJWGylNQXkGcnM3IQ=="],
|
| 50 |
+
|
| 51 |
+
"@eslint/js": ["@eslint/js@9.27.0", "", {}, "sha512-G5JD9Tu5HJEu4z2Uo4aHY2sLV64B7CDMXxFzqzjl3NKd6RVzSXNoE80jk7Y0lJkTTkjiIhBAqmlYwjuBY3tvpA=="],
|
| 52 |
+
|
| 53 |
+
"@eslint/object-schema": ["@eslint/object-schema@2.1.6", "", {}, "sha512-RBMg5FRL0I0gs51M/guSAj5/e14VQ4tpZnQNWwuDT66P14I43ItmPfIZRhO9fUVIPOAQXU47atlywZ/czoqFPA=="],
|
| 54 |
+
|
| 55 |
+
"@eslint/plugin-kit": ["@eslint/plugin-kit@0.3.1", "", { "dependencies": { "@eslint/core": "^0.14.0", "levn": "^0.4.1" } }, "sha512-0J+zgWxHN+xXONWIyPWKFMgVuJoZuGiIFu8yxk7RJjxkzpGmyja5wRFqZIVtjDVOQpV+Rw0iOAjYPE2eQyjr0w=="],
|
| 56 |
+
|
| 57 |
+
"@humanfs/core": ["@humanfs/core@0.19.1", "", {}, "sha512-5DyQ4+1JEUzejeK1JGICcideyfUbGixgS9jNgex5nqkW+cY7WZhxBigmieN5Qnw9ZosSNVC9KQKyb+GUaGyKUA=="],
|
| 58 |
+
|
| 59 |
+
"@humanfs/node": ["@humanfs/node@0.16.6", "", { "dependencies": { "@humanfs/core": "^0.19.1", "@humanwhocodes/retry": "^0.3.0" } }, "sha512-YuI2ZHQL78Q5HbhDiBA1X4LmYdXCKCMQIfw0pw7piHJwyREFebJUvrQN4cMssyES6x+vfUbx1CIpaQUKYdQZOw=="],
|
| 60 |
+
|
| 61 |
+
"@humanwhocodes/module-importer": ["@humanwhocodes/module-importer@1.0.1", "", {}, "sha512-bxveV4V8v5Yb4ncFTT3rPSgZBOpCkjfK0y4oVVVJwIuDVBRMDXrPyXRL988i5ap9m9bnyEEjWfm5WkBmtffLfA=="],
|
| 62 |
+
|
| 63 |
+
"@humanwhocodes/retry": ["@humanwhocodes/retry@0.4.3", "", {}, "sha512-bV0Tgo9K4hfPCek+aMAn81RppFKv2ySDQeMoSZuvTASywNTnVJCArCZE2FWqpvIatKu7VMRLWlR1EazvVhDyhQ=="],
|
| 64 |
+
|
| 65 |
+
"@img/sharp-darwin-arm64": ["@img/sharp-darwin-arm64@0.34.2", "", { "optionalDependencies": { "@img/sharp-libvips-darwin-arm64": "1.1.0" }, "os": "darwin", "cpu": "arm64" }, "sha512-OfXHZPppddivUJnqyKoi5YVeHRkkNE2zUFT2gbpKxp/JZCFYEYubnMg+gOp6lWfasPrTS+KPosKqdI+ELYVDtg=="],
|
| 66 |
+
|
| 67 |
+
"@img/sharp-darwin-x64": ["@img/sharp-darwin-x64@0.34.2", "", { "optionalDependencies": { "@img/sharp-libvips-darwin-x64": "1.1.0" }, "os": "darwin", "cpu": "x64" }, "sha512-dYvWqmjU9VxqXmjEtjmvHnGqF8GrVjM2Epj9rJ6BUIXvk8slvNDJbhGFvIoXzkDhrJC2jUxNLz/GUjjvSzfw+g=="],
|
| 68 |
+
|
| 69 |
+
"@img/sharp-libvips-darwin-arm64": ["@img/sharp-libvips-darwin-arm64@1.1.0", "", { "os": "darwin", "cpu": "arm64" }, "sha512-HZ/JUmPwrJSoM4DIQPv/BfNh9yrOA8tlBbqbLz4JZ5uew2+o22Ik+tHQJcih7QJuSa0zo5coHTfD5J8inqj9DA=="],
|
| 70 |
+
|
| 71 |
+
"@img/sharp-libvips-darwin-x64": ["@img/sharp-libvips-darwin-x64@1.1.0", "", { "os": "darwin", "cpu": "x64" }, "sha512-Xzc2ToEmHN+hfvsl9wja0RlnXEgpKNmftriQp6XzY/RaSfwD9th+MSh0WQKzUreLKKINb3afirxW7A0fz2YWuQ=="],
|
| 72 |
+
|
| 73 |
+
"@img/sharp-libvips-linux-arm": ["@img/sharp-libvips-linux-arm@1.1.0", "", { "os": "linux", "cpu": "arm" }, "sha512-s8BAd0lwUIvYCJyRdFqvsj+BJIpDBSxs6ivrOPm/R7piTs5UIwY5OjXrP2bqXC9/moGsyRa37eYWYCOGVXxVrA=="],
|
| 74 |
+
|
| 75 |
+
"@img/sharp-libvips-linux-arm64": ["@img/sharp-libvips-linux-arm64@1.1.0", "", { "os": "linux", "cpu": "arm64" }, "sha512-IVfGJa7gjChDET1dK9SekxFFdflarnUB8PwW8aGwEoF3oAsSDuNUTYS+SKDOyOJxQyDC1aPFMuRYLoDInyV9Ew=="],
|
| 76 |
+
|
| 77 |
+
"@img/sharp-libvips-linux-ppc64": ["@img/sharp-libvips-linux-ppc64@1.1.0", "", { "os": "linux", "cpu": "ppc64" }, "sha512-tiXxFZFbhnkWE2LA8oQj7KYR+bWBkiV2nilRldT7bqoEZ4HiDOcePr9wVDAZPi/Id5fT1oY9iGnDq20cwUz8lQ=="],
|
| 78 |
+
|
| 79 |
+
"@img/sharp-libvips-linux-s390x": ["@img/sharp-libvips-linux-s390x@1.1.0", "", { "os": "linux", "cpu": "s390x" }, "sha512-xukSwvhguw7COyzvmjydRb3x/09+21HykyapcZchiCUkTThEQEOMtBj9UhkaBRLuBrgLFzQ2wbxdeCCJW/jgJA=="],
|
| 80 |
+
|
| 81 |
+
"@img/sharp-libvips-linux-x64": ["@img/sharp-libvips-linux-x64@1.1.0", "", { "os": "linux", "cpu": "x64" }, "sha512-yRj2+reB8iMg9W5sULM3S74jVS7zqSzHG3Ol/twnAAkAhnGQnpjj6e4ayUz7V+FpKypwgs82xbRdYtchTTUB+Q=="],
|
| 82 |
+
|
| 83 |
+
"@img/sharp-libvips-linuxmusl-arm64": ["@img/sharp-libvips-linuxmusl-arm64@1.1.0", "", { "os": "linux", "cpu": "arm64" }, "sha512-jYZdG+whg0MDK+q2COKbYidaqW/WTz0cc1E+tMAusiDygrM4ypmSCjOJPmFTvHHJ8j/6cAGyeDWZOsK06tP33w=="],
|
| 84 |
+
|
| 85 |
+
"@img/sharp-libvips-linuxmusl-x64": ["@img/sharp-libvips-linuxmusl-x64@1.1.0", "", { "os": "linux", "cpu": "x64" }, "sha512-wK7SBdwrAiycjXdkPnGCPLjYb9lD4l6Ze2gSdAGVZrEL05AOUJESWU2lhlC+Ffn5/G+VKuSm6zzbQSzFX/P65A=="],
|
| 86 |
+
|
| 87 |
+
"@img/sharp-linux-arm": ["@img/sharp-linux-arm@0.34.2", "", { "optionalDependencies": { "@img/sharp-libvips-linux-arm": "1.1.0" }, "os": "linux", "cpu": "arm" }, "sha512-0DZzkvuEOqQUP9mo2kjjKNok5AmnOr1jB2XYjkaoNRwpAYMDzRmAqUIa1nRi58S2WswqSfPOWLNOr0FDT3H5RQ=="],
|
| 88 |
+
|
| 89 |
+
"@img/sharp-linux-arm64": ["@img/sharp-linux-arm64@0.34.2", "", { "optionalDependencies": { "@img/sharp-libvips-linux-arm64": "1.1.0" }, "os": "linux", "cpu": "arm64" }, "sha512-D8n8wgWmPDakc83LORcfJepdOSN6MvWNzzz2ux0MnIbOqdieRZwVYY32zxVx+IFUT8er5KPcyU3XXsn+GzG/0Q=="],
|
| 90 |
+
|
| 91 |
+
"@img/sharp-linux-s390x": ["@img/sharp-linux-s390x@0.34.2", "", { "optionalDependencies": { "@img/sharp-libvips-linux-s390x": "1.1.0" }, "os": "linux", "cpu": "s390x" }, "sha512-EGZ1xwhBI7dNISwxjChqBGELCWMGDvmxZXKjQRuqMrakhO8QoMgqCrdjnAqJq/CScxfRn+Bb7suXBElKQpPDiw=="],
|
| 92 |
+
|
| 93 |
+
"@img/sharp-linux-x64": ["@img/sharp-linux-x64@0.34.2", "", { "optionalDependencies": { "@img/sharp-libvips-linux-x64": "1.1.0" }, "os": "linux", "cpu": "x64" }, "sha512-sD7J+h5nFLMMmOXYH4DD9UtSNBD05tWSSdWAcEyzqW8Cn5UxXvsHAxmxSesYUsTOBmUnjtxghKDl15EvfqLFbQ=="],
|
| 94 |
+
|
| 95 |
+
"@img/sharp-linuxmusl-arm64": ["@img/sharp-linuxmusl-arm64@0.34.2", "", { "optionalDependencies": { "@img/sharp-libvips-linuxmusl-arm64": "1.1.0" }, "os": "linux", "cpu": "arm64" }, "sha512-NEE2vQ6wcxYav1/A22OOxoSOGiKnNmDzCYFOZ949xFmrWZOVII1Bp3NqVVpvj+3UeHMFyN5eP/V5hzViQ5CZNA=="],
|
| 96 |
+
|
| 97 |
+
"@img/sharp-linuxmusl-x64": ["@img/sharp-linuxmusl-x64@0.34.2", "", { "optionalDependencies": { "@img/sharp-libvips-linuxmusl-x64": "1.1.0" }, "os": "linux", "cpu": "x64" }, "sha512-DOYMrDm5E6/8bm/yQLCWyuDJwUnlevR8xtF8bs+gjZ7cyUNYXiSf/E8Kp0Ss5xasIaXSHzb888V1BE4i1hFhAA=="],
|
| 98 |
+
|
| 99 |
+
"@img/sharp-wasm32": ["@img/sharp-wasm32@0.34.2", "", { "dependencies": { "@emnapi/runtime": "^1.4.3" }, "cpu": "none" }, "sha512-/VI4mdlJ9zkaq53MbIG6rZY+QRN3MLbR6usYlgITEzi4Rpx5S6LFKsycOQjkOGmqTNmkIdLjEvooFKwww6OpdQ=="],
|
| 100 |
+
|
| 101 |
+
"@img/sharp-win32-arm64": ["@img/sharp-win32-arm64@0.34.2", "", { "os": "win32", "cpu": "arm64" }, "sha512-cfP/r9FdS63VA5k0xiqaNaEoGxBg9k7uE+RQGzuK9fHt7jib4zAVVseR9LsE4gJcNWgT6APKMNnCcnyOtmSEUQ=="],
|
| 102 |
+
|
| 103 |
+
"@img/sharp-win32-ia32": ["@img/sharp-win32-ia32@0.34.2", "", { "os": "win32", "cpu": "ia32" }, "sha512-QLjGGvAbj0X/FXl8n1WbtQ6iVBpWU7JO94u/P2M4a8CFYsvQi4GW2mRy/JqkRx0qpBzaOdKJKw8uc930EX2AHw=="],
|
| 104 |
+
|
| 105 |
+
"@img/sharp-win32-x64": ["@img/sharp-win32-x64@0.34.2", "", { "os": "win32", "cpu": "x64" }, "sha512-aUdT6zEYtDKCaxkofmmJDJYGCf0+pJg3eU9/oBuqvEeoB9dKI6ZLc/1iLJCTuJQDO4ptntAlkUmHgGjyuobZbw=="],
|
| 106 |
+
|
| 107 |
+
"@isaacs/fs-minipass": ["@isaacs/fs-minipass@4.0.1", "", { "dependencies": { "minipass": "^7.0.4" } }, "sha512-wgm9Ehl2jpeqP3zw/7mo3kRHFp5MEDhqAdwy1fTGkHAwnkGOVsgpvQhL8B5n1qlb01jV3n/bI0ZfZp5lWA1k4w=="],
|
| 108 |
+
|
| 109 |
+
"@jridgewell/gen-mapping": ["@jridgewell/gen-mapping@0.3.8", "", { "dependencies": { "@jridgewell/set-array": "^1.2.1", "@jridgewell/sourcemap-codec": "^1.4.10", "@jridgewell/trace-mapping": "^0.3.24" } }, "sha512-imAbBGkb+ebQyxKgzv5Hu2nmROxoDOXHh80evxdoXNOrvAnVx7zimzc1Oo5h9RlfV4vPXaE2iM5pOFbvOCClWA=="],
|
| 110 |
+
|
| 111 |
+
"@jridgewell/resolve-uri": ["@jridgewell/resolve-uri@3.1.2", "", {}, "sha512-bRISgCIjP20/tbWSPWMEi54QVPRZExkuD9lJL+UIxUKtwVJA8wW1Trb1jMs1RFXo1CBTNZ/5hpC9QvmKWdopKw=="],
|
| 112 |
+
|
| 113 |
+
"@jridgewell/set-array": ["@jridgewell/set-array@1.2.1", "", {}, "sha512-R8gLRTZeyp03ymzP/6Lil/28tGeGEzhx1q2k703KGWRAI1VdvPIXdG70VJc2pAMw3NA6JKL5hhFu1sJX0Mnn/A=="],
|
| 114 |
+
|
| 115 |
+
"@jridgewell/sourcemap-codec": ["@jridgewell/sourcemap-codec@1.5.0", "", {}, "sha512-gv3ZRaISU3fjPAgNsriBRqGWQL6quFx04YMPW/zD8XMLsU32mhCCbfbO6KZFLjvYpCZ8zyDEgqsgf+PwPaM7GQ=="],
|
| 116 |
+
|
| 117 |
+
"@jridgewell/trace-mapping": ["@jridgewell/trace-mapping@0.3.25", "", { "dependencies": { "@jridgewell/resolve-uri": "^3.1.0", "@jridgewell/sourcemap-codec": "^1.4.14" } }, "sha512-vNk6aEwybGtawWmy/PzwnGDOjCkLWSD2wqvjGGAgOAwCGWySYXfYoxt00IJkTF+8Lb57DwOb3Aa0o9CApepiYQ=="],
|
| 118 |
+
|
| 119 |
+
"@monaco-editor/loader": ["@monaco-editor/loader@1.5.0", "", { "dependencies": { "state-local": "^1.0.6" } }, "sha512-hKoGSM+7aAc7eRTRjpqAZucPmoNOC4UUbknb/VNoTkEIkCPhqV8LfbsgM1webRM7S/z21eHEx9Fkwx8Z/C/+Xw=="],
|
| 120 |
+
|
| 121 |
+
"@monaco-editor/react": ["@monaco-editor/react@4.7.0", "", { "dependencies": { "@monaco-editor/loader": "^1.5.0" }, "peerDependencies": { "monaco-editor": ">= 0.25.0 < 1", "react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0", "react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0" } }, "sha512-cyzXQCtO47ydzxpQtCGSQGOC8Gk3ZUeBXFAxD+CWXYFo5OqZyZUonFl0DwUlTyAfRHntBfw2p3w4s9R6oe1eCA=="],
|
| 122 |
+
|
| 123 |
+
"@napi-rs/wasm-runtime": ["@napi-rs/wasm-runtime@0.2.10", "", { "dependencies": { "@emnapi/core": "^1.4.3", "@emnapi/runtime": "^1.4.3", "@tybys/wasm-util": "^0.9.0" } }, "sha512-bCsCyeZEwVErsGmyPNSzwfwFn4OdxBj0mmv6hOFucB/k81Ojdu68RbZdxYsRQUPc9l6SU5F/cG+bXgWs3oUgsQ=="],
|
| 124 |
+
|
| 125 |
+
"@next/env": ["@next/env@15.3.2", "", {}, "sha512-xURk++7P7qR9JG1jJtLzPzf0qEvqCN0A/T3DXf8IPMKo9/6FfjxtEffRJIIew/bIL4T3C2jLLqBor8B/zVlx6g=="],
|
| 126 |
+
|
| 127 |
+
"@next/eslint-plugin-next": ["@next/eslint-plugin-next@15.3.2", "", { "dependencies": { "fast-glob": "3.3.1" } }, "sha512-ijVRTXBgnHT33aWnDtmlG+LJD+5vhc9AKTJPquGG5NKXjpKNjc62woIhFtrAcWdBobt8kqjCoaJ0q6sDQoX7aQ=="],
|
| 128 |
+
|
| 129 |
+
"@next/swc-darwin-arm64": ["@next/swc-darwin-arm64@15.3.2", "", { "os": "darwin", "cpu": "arm64" }, "sha512-2DR6kY/OGcokbnCsjHpNeQblqCZ85/1j6njYSkzRdpLn5At7OkSdmk7WyAmB9G0k25+VgqVZ/u356OSoQZ3z0g=="],
|
| 130 |
+
|
| 131 |
+
"@next/swc-darwin-x64": ["@next/swc-darwin-x64@15.3.2", "", { "os": "darwin", "cpu": "x64" }, "sha512-ro/fdqaZWL6k1S/5CLv1I0DaZfDVJkWNaUU3un8Lg6m0YENWlDulmIWzV96Iou2wEYyEsZq51mwV8+XQXqMp3w=="],
|
| 132 |
+
|
| 133 |
+
"@next/swc-linux-arm64-gnu": ["@next/swc-linux-arm64-gnu@15.3.2", "", { "os": "linux", "cpu": "arm64" }, "sha512-covwwtZYhlbRWK2HlYX9835qXum4xYZ3E2Mra1mdQ+0ICGoMiw1+nVAn4d9Bo7R3JqSmK1grMq/va+0cdh7bJA=="],
|
| 134 |
+
|
| 135 |
+
"@next/swc-linux-arm64-musl": ["@next/swc-linux-arm64-musl@15.3.2", "", { "os": "linux", "cpu": "arm64" }, "sha512-KQkMEillvlW5Qk5mtGA/3Yz0/tzpNlSw6/3/ttsV1lNtMuOHcGii3zVeXZyi4EJmmLDKYcTcByV2wVsOhDt/zg=="],
|
| 136 |
+
|
| 137 |
+
"@next/swc-linux-x64-gnu": ["@next/swc-linux-x64-gnu@15.3.2", "", { "os": "linux", "cpu": "x64" }, "sha512-uRBo6THWei0chz+Y5j37qzx+BtoDRFIkDzZjlpCItBRXyMPIg079eIkOCl3aqr2tkxL4HFyJ4GHDes7W8HuAUg=="],
|
| 138 |
+
|
| 139 |
+
"@next/swc-linux-x64-musl": ["@next/swc-linux-x64-musl@15.3.2", "", { "os": "linux", "cpu": "x64" }, "sha512-+uxFlPuCNx/T9PdMClOqeE8USKzj8tVz37KflT3Kdbx/LOlZBRI2yxuIcmx1mPNK8DwSOMNCr4ureSet7eyC0w=="],
|
| 140 |
+
|
| 141 |
+
"@next/swc-win32-arm64-msvc": ["@next/swc-win32-arm64-msvc@15.3.2", "", { "os": "win32", "cpu": "arm64" }, "sha512-LLTKmaI5cfD8dVzh5Vt7+OMo+AIOClEdIU/TSKbXXT2iScUTSxOGoBhfuv+FU8R9MLmrkIL1e2fBMkEEjYAtPQ=="],
|
| 142 |
+
|
| 143 |
+
"@next/swc-win32-x64-msvc": ["@next/swc-win32-x64-msvc@15.3.2", "", { "os": "win32", "cpu": "x64" }, "sha512-aW5B8wOPioJ4mBdMDXkt5f3j8pUr9W8AnlX0Df35uRWNT1Y6RIybxjnSUe+PhM+M1bwgyY8PHLmXZC6zT1o5tA=="],
|
| 144 |
+
|
| 145 |
+
"@nodelib/fs.scandir": ["@nodelib/fs.scandir@2.1.5", "", { "dependencies": { "@nodelib/fs.stat": "2.0.5", "run-parallel": "^1.1.9" } }, "sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g=="],
|
| 146 |
+
|
| 147 |
+
"@nodelib/fs.stat": ["@nodelib/fs.stat@2.0.5", "", {}, "sha512-RkhPPp2zrqDAQA/2jNhnztcPAlv64XdhIp7a7454A5ovI7Bukxgt7MX7udwAu3zg1DcpPU0rz3VV1SeaqvY4+A=="],
|
| 148 |
+
|
| 149 |
+
"@nodelib/fs.walk": ["@nodelib/fs.walk@1.2.8", "", { "dependencies": { "@nodelib/fs.scandir": "2.1.5", "fastq": "^1.6.0" } }, "sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg=="],
|
| 150 |
+
|
| 151 |
+
"@nolyfill/is-core-module": ["@nolyfill/is-core-module@1.0.39", "", {}, "sha512-nn5ozdjYQpUCZlWGuxcJY/KpxkWQs4DcbMCmKojjyrYDEAGy4Ce19NN4v5MduafTwJlbKc99UA8YhSVqq9yPZA=="],
|
| 152 |
+
|
| 153 |
+
"@rtsao/scc": ["@rtsao/scc@1.1.0", "", {}, "sha512-zt6OdqaDoOnJ1ZYsCYGt9YmWzDXl4vQdKTyJev62gFhRGKdx7mcT54V9KIjg+d2wi9EXsPvAPKe7i7WjfVWB8g=="],
|
| 154 |
+
|
| 155 |
+
"@rushstack/eslint-patch": ["@rushstack/eslint-patch@1.11.0", "", {}, "sha512-zxnHvoMQVqewTJr/W4pKjF0bMGiKJv1WX7bSrkl46Hg0QjESbzBROWK0Wg4RphzSOS5Jiy7eFimmM3UgMrMZbQ=="],
|
| 156 |
+
|
| 157 |
+
"@swc/counter": ["@swc/counter@0.1.3", "", {}, "sha512-e2BR4lsJkkRlKZ/qCHPw9ZaSxc0MVUd7gtbtaB7aMvHeJVYe8sOB8DBZkP2DtISHGSku9sCK6T6cnY0CtXrOCQ=="],
|
| 158 |
+
|
| 159 |
+
"@swc/helpers": ["@swc/helpers@0.5.15", "", { "dependencies": { "tslib": "^2.8.0" } }, "sha512-JQ5TuMi45Owi4/BIMAJBoSQoOJu12oOk/gADqlcUL9JEdHB8vyjUSsxqeNXnmXHjYKMi2WcYtezGEEhqUI/E2g=="],
|
| 160 |
+
|
| 161 |
+
"@tailwindcss/node": ["@tailwindcss/node@4.1.7", "", { "dependencies": { "@ampproject/remapping": "^2.3.0", "enhanced-resolve": "^5.18.1", "jiti": "^2.4.2", "lightningcss": "1.30.1", "magic-string": "^0.30.17", "source-map-js": "^1.2.1", "tailwindcss": "4.1.7" } }, "sha512-9rsOpdY9idRI2NH6CL4wORFY0+Q6fnx9XP9Ju+iq/0wJwGD5IByIgFmwVbyy4ymuyprj8Qh4ErxMKTUL4uNh3g=="],
|
| 162 |
+
|
| 163 |
+
"@tailwindcss/oxide": ["@tailwindcss/oxide@4.1.7", "", { "dependencies": { "detect-libc": "^2.0.4", "tar": "^7.4.3" }, "optionalDependencies": { "@tailwindcss/oxide-android-arm64": "4.1.7", "@tailwindcss/oxide-darwin-arm64": "4.1.7", "@tailwindcss/oxide-darwin-x64": "4.1.7", "@tailwindcss/oxide-freebsd-x64": "4.1.7", "@tailwindcss/oxide-linux-arm-gnueabihf": "4.1.7", "@tailwindcss/oxide-linux-arm64-gnu": "4.1.7", "@tailwindcss/oxide-linux-arm64-musl": "4.1.7", "@tailwindcss/oxide-linux-x64-gnu": "4.1.7", "@tailwindcss/oxide-linux-x64-musl": "4.1.7", "@tailwindcss/oxide-wasm32-wasi": "4.1.7", "@tailwindcss/oxide-win32-arm64-msvc": "4.1.7", "@tailwindcss/oxide-win32-x64-msvc": "4.1.7" } }, "sha512-5SF95Ctm9DFiUyjUPnDGkoKItPX/k+xifcQhcqX5RA85m50jw1pT/KzjdvlqxRja45Y52nR4MR9fD1JYd7f8NQ=="],
|
| 164 |
+
|
| 165 |
+
"@tailwindcss/oxide-android-arm64": ["@tailwindcss/oxide-android-arm64@4.1.7", "", { "os": "android", "cpu": "arm64" }, "sha512-IWA410JZ8fF7kACus6BrUwY2Z1t1hm0+ZWNEzykKmMNM09wQooOcN/VXr0p/WJdtHZ90PvJf2AIBS/Ceqx1emg=="],
|
| 166 |
+
|
| 167 |
+
"@tailwindcss/oxide-darwin-arm64": ["@tailwindcss/oxide-darwin-arm64@4.1.7", "", { "os": "darwin", "cpu": "arm64" }, "sha512-81jUw9To7fimGGkuJ2W5h3/oGonTOZKZ8C2ghm/TTxbwvfSiFSDPd6/A/KE2N7Jp4mv3Ps9OFqg2fEKgZFfsvg=="],
|
| 168 |
+
|
| 169 |
+
"@tailwindcss/oxide-darwin-x64": ["@tailwindcss/oxide-darwin-x64@4.1.7", "", { "os": "darwin", "cpu": "x64" }, "sha512-q77rWjEyGHV4PdDBtrzO0tgBBPlQWKY7wZK0cUok/HaGgbNKecegNxCGikuPJn5wFAlIywC3v+WMBt0PEBtwGw=="],
|
| 170 |
+
|
| 171 |
+
"@tailwindcss/oxide-freebsd-x64": ["@tailwindcss/oxide-freebsd-x64@4.1.7", "", { "os": "freebsd", "cpu": "x64" }, "sha512-RfmdbbK6G6ptgF4qqbzoxmH+PKfP4KSVs7SRlTwcbRgBwezJkAO3Qta/7gDy10Q2DcUVkKxFLXUQO6J3CRvBGw=="],
|
| 172 |
+
|
| 173 |
+
"@tailwindcss/oxide-linux-arm-gnueabihf": ["@tailwindcss/oxide-linux-arm-gnueabihf@4.1.7", "", { "os": "linux", "cpu": "arm" }, "sha512-OZqsGvpwOa13lVd1z6JVwQXadEobmesxQ4AxhrwRiPuE04quvZHWn/LnihMg7/XkN+dTioXp/VMu/p6A5eZP3g=="],
|
| 174 |
+
|
| 175 |
+
"@tailwindcss/oxide-linux-arm64-gnu": ["@tailwindcss/oxide-linux-arm64-gnu@4.1.7", "", { "os": "linux", "cpu": "arm64" }, "sha512-voMvBTnJSfKecJxGkoeAyW/2XRToLZ227LxswLAwKY7YslG/Xkw9/tJNH+3IVh5bdYzYE7DfiaPbRkSHFxY1xA=="],
|
| 176 |
+
|
| 177 |
+
"@tailwindcss/oxide-linux-arm64-musl": ["@tailwindcss/oxide-linux-arm64-musl@4.1.7", "", { "os": "linux", "cpu": "arm64" }, "sha512-PjGuNNmJeKHnP58M7XyjJyla8LPo+RmwHQpBI+W/OxqrwojyuCQ+GUtygu7jUqTEexejZHr/z3nBc/gTiXBj4A=="],
|
| 178 |
+
|
| 179 |
+
"@tailwindcss/oxide-linux-x64-gnu": ["@tailwindcss/oxide-linux-x64-gnu@4.1.7", "", { "os": "linux", "cpu": "x64" }, "sha512-HMs+Va+ZR3gC3mLZE00gXxtBo3JoSQxtu9lobbZd+DmfkIxR54NO7Z+UQNPsa0P/ITn1TevtFxXTpsRU7qEvWg=="],
|
| 180 |
+
|
| 181 |
+
"@tailwindcss/oxide-linux-x64-musl": ["@tailwindcss/oxide-linux-x64-musl@4.1.7", "", { "os": "linux", "cpu": "x64" }, "sha512-MHZ6jyNlutdHH8rd+YTdr3QbXrHXqwIhHw9e7yXEBcQdluGwhpQY2Eku8UZK6ReLaWtQ4gijIv5QoM5eE+qlsA=="],
|
| 182 |
+
|
| 183 |
+
"@tailwindcss/oxide-wasm32-wasi": ["@tailwindcss/oxide-wasm32-wasi@4.1.7", "", { "cpu": "none" }, "sha512-ANaSKt74ZRzE2TvJmUcbFQ8zS201cIPxUDm5qez5rLEwWkie2SkGtA4P+GPTj+u8N6JbPrC8MtY8RmJA35Oo+A=="],
|
| 184 |
+
|
| 185 |
+
"@tailwindcss/oxide-win32-arm64-msvc": ["@tailwindcss/oxide-win32-arm64-msvc@4.1.7", "", { "os": "win32", "cpu": "arm64" }, "sha512-HUiSiXQ9gLJBAPCMVRk2RT1ZrBjto7WvqsPBwUrNK2BcdSxMnk19h4pjZjI7zgPhDxlAbJSumTC4ljeA9y0tEw=="],
|
| 186 |
+
|
| 187 |
+
"@tailwindcss/oxide-win32-x64-msvc": ["@tailwindcss/oxide-win32-x64-msvc@4.1.7", "", { "os": "win32", "cpu": "x64" }, "sha512-rYHGmvoHiLJ8hWucSfSOEmdCBIGZIq7SpkPRSqLsH2Ab2YUNgKeAPT1Fi2cx3+hnYOrAb0jp9cRyode3bBW4mQ=="],
|
| 188 |
+
|
| 189 |
+
"@tailwindcss/postcss": ["@tailwindcss/postcss@4.1.7", "", { "dependencies": { "@alloc/quick-lru": "^5.2.0", "@tailwindcss/node": "4.1.7", "@tailwindcss/oxide": "4.1.7", "postcss": "^8.4.41", "tailwindcss": "4.1.7" } }, "sha512-88g3qmNZn7jDgrrcp3ZXEQfp9CVox7xjP1HN2TFKI03CltPVd/c61ydn5qJJL8FYunn0OqBaW5HNUga0kmPVvw=="],
|
| 190 |
+
|
| 191 |
+
"@tybys/wasm-util": ["@tybys/wasm-util@0.9.0", "", { "dependencies": { "tslib": "^2.4.0" } }, "sha512-6+7nlbMVX/PVDCwaIQ8nTOPveOcFLSt8GcXdx8hD0bt39uWxYT88uXzqTd4fTvqta7oeUJqudepapKNt2DYJFw=="],
|
| 192 |
+
|
| 193 |
+
"@types/estree": ["@types/estree@1.0.7", "", {}, "sha512-w28IoSUCJpidD/TGviZwwMJckNESJZXFu7NBZ5YJ4mEUnNraUn9Pm8HSZm/jDF1pDWYKspWE7oVphigUPRakIQ=="],
|
| 194 |
+
|
| 195 |
+
"@types/json-schema": ["@types/json-schema@7.0.15", "", {}, "sha512-5+fP8P8MFNC+AyZCDxrB2pkZFPGzqQWUzpSeuuVLvm8VMcorNYavBqoFcxK8bQz4Qsbn4oUEEem4wDLfcysGHA=="],
|
| 196 |
+
|
| 197 |
+
"@types/json5": ["@types/json5@0.0.29", "", {}, "sha512-dRLjCWHYg4oaA77cxO64oO+7JwCwnIzkZPdrrC71jQmQtlhM556pwKo5bUzqvZndkVbeFLIIi+9TC40JNF5hNQ=="],
|
| 198 |
+
|
| 199 |
+
"@types/node": ["@types/node@20.17.50", "", { "dependencies": { "undici-types": "~6.19.2" } }, "sha512-Mxiq0ULv/zo1OzOhwPqOA13I81CV/W3nvd3ChtQZRT5Cwz3cr0FKo/wMSsbTqL3EXpaBAEQhva2B8ByRkOIh9A=="],
|
| 200 |
+
|
| 201 |
+
"@types/react": ["@types/react@19.1.5", "", { "dependencies": { "csstype": "^3.0.2" } }, "sha512-piErsCVVbpMMT2r7wbawdZsq4xMvIAhQuac2gedQHysu1TZYEigE6pnFfgZT+/jQnrRuF5r+SHzuehFjfRjr4g=="],
|
| 202 |
+
|
| 203 |
+
"@types/react-dom": ["@types/react-dom@19.1.5", "", { "peerDependencies": { "@types/react": "^19.0.0" } }, "sha512-CMCjrWucUBZvohgZxkjd6S9h0nZxXjzus6yDfUb+xLxYM7VvjKNH1tQrE9GWLql1XoOP4/Ds3bwFqShHUYraGg=="],
|
| 204 |
+
|
| 205 |
+
"@typescript-eslint/eslint-plugin": ["@typescript-eslint/eslint-plugin@8.32.1", "", { "dependencies": { "@eslint-community/regexpp": "^4.10.0", "@typescript-eslint/scope-manager": "8.32.1", "@typescript-eslint/type-utils": "8.32.1", "@typescript-eslint/utils": "8.32.1", "@typescript-eslint/visitor-keys": "8.32.1", "graphemer": "^1.4.0", "ignore": "^7.0.0", "natural-compare": "^1.4.0", "ts-api-utils": "^2.1.0" }, "peerDependencies": { "@typescript-eslint/parser": "^8.0.0 || ^8.0.0-alpha.0", "eslint": "^8.57.0 || ^9.0.0", "typescript": ">=4.8.4 <5.9.0" } }, "sha512-6u6Plg9nP/J1GRpe/vcjjabo6Uc5YQPAMxsgQyGC/I0RuukiG1wIe3+Vtg3IrSCVJDmqK3j8adrtzXSENRtFgg=="],
|
| 206 |
+
|
| 207 |
+
"@typescript-eslint/parser": ["@typescript-eslint/parser@8.32.1", "", { "dependencies": { "@typescript-eslint/scope-manager": "8.32.1", "@typescript-eslint/types": "8.32.1", "@typescript-eslint/typescript-estree": "8.32.1", "@typescript-eslint/visitor-keys": "8.32.1", "debug": "^4.3.4" }, "peerDependencies": { "eslint": "^8.57.0 || ^9.0.0", "typescript": ">=4.8.4 <5.9.0" } }, "sha512-LKMrmwCPoLhM45Z00O1ulb6jwyVr2kr3XJp+G+tSEZcbauNnScewcQwtJqXDhXeYPDEjZ8C1SjXm015CirEmGg=="],
|
| 208 |
+
|
| 209 |
+
"@typescript-eslint/scope-manager": ["@typescript-eslint/scope-manager@8.32.1", "", { "dependencies": { "@typescript-eslint/types": "8.32.1", "@typescript-eslint/visitor-keys": "8.32.1" } }, "sha512-7IsIaIDeZn7kffk7qXC3o6Z4UblZJKV3UBpkvRNpr5NSyLji7tvTcvmnMNYuYLyh26mN8W723xpo3i4MlD33vA=="],
|
| 210 |
+
|
| 211 |
+
"@typescript-eslint/type-utils": ["@typescript-eslint/type-utils@8.32.1", "", { "dependencies": { "@typescript-eslint/typescript-estree": "8.32.1", "@typescript-eslint/utils": "8.32.1", "debug": "^4.3.4", "ts-api-utils": "^2.1.0" }, "peerDependencies": { "eslint": "^8.57.0 || ^9.0.0", "typescript": ">=4.8.4 <5.9.0" } }, "sha512-mv9YpQGA8iIsl5KyUPi+FGLm7+bA4fgXaeRcFKRDRwDMu4iwrSHeDPipwueNXhdIIZltwCJv+NkxftECbIZWfA=="],
|
| 212 |
+
|
| 213 |
+
"@typescript-eslint/types": ["@typescript-eslint/types@8.32.1", "", {}, "sha512-YmybwXUJcgGqgAp6bEsgpPXEg6dcCyPyCSr0CAAueacR/CCBi25G3V8gGQ2kRzQRBNol7VQknxMs9HvVa9Rvfg=="],
|
| 214 |
+
|
| 215 |
+
"@typescript-eslint/typescript-estree": ["@typescript-eslint/typescript-estree@8.32.1", "", { "dependencies": { "@typescript-eslint/types": "8.32.1", "@typescript-eslint/visitor-keys": "8.32.1", "debug": "^4.3.4", "fast-glob": "^3.3.2", "is-glob": "^4.0.3", "minimatch": "^9.0.4", "semver": "^7.6.0", "ts-api-utils": "^2.1.0" }, "peerDependencies": { "typescript": ">=4.8.4 <5.9.0" } }, "sha512-Y3AP9EIfYwBb4kWGb+simvPaqQoT5oJuzzj9m0i6FCY6SPvlomY2Ei4UEMm7+FXtlNJbor80ximyslzaQF6xhg=="],
|
| 216 |
+
|
| 217 |
+
"@typescript-eslint/utils": ["@typescript-eslint/utils@8.32.1", "", { "dependencies": { "@eslint-community/eslint-utils": "^4.7.0", "@typescript-eslint/scope-manager": "8.32.1", "@typescript-eslint/types": "8.32.1", "@typescript-eslint/typescript-estree": "8.32.1" }, "peerDependencies": { "eslint": "^8.57.0 || ^9.0.0", "typescript": ">=4.8.4 <5.9.0" } }, "sha512-DsSFNIgLSrc89gpq1LJB7Hm1YpuhK086DRDJSNrewcGvYloWW1vZLHBTIvarKZDcAORIy/uWNx8Gad+4oMpkSA=="],
|
| 218 |
+
|
| 219 |
+
"@typescript-eslint/visitor-keys": ["@typescript-eslint/visitor-keys@8.32.1", "", { "dependencies": { "@typescript-eslint/types": "8.32.1", "eslint-visitor-keys": "^4.2.0" } }, "sha512-ar0tjQfObzhSaW3C3QNmTc5ofj0hDoNQ5XWrCy6zDyabdr0TWhCkClp+rywGNj/odAFBVzzJrK4tEq5M4Hmu4w=="],
|
| 220 |
+
|
| 221 |
+
"@unrs/resolver-binding-darwin-arm64": ["@unrs/resolver-binding-darwin-arm64@1.7.2", "", { "os": "darwin", "cpu": "arm64" }, "sha512-vxtBno4xvowwNmO/ASL0Y45TpHqmNkAaDtz4Jqb+clmcVSSl8XCG/PNFFkGsXXXS6AMjP+ja/TtNCFFa1QwLRg=="],
|
| 222 |
+
|
| 223 |
+
"@unrs/resolver-binding-darwin-x64": ["@unrs/resolver-binding-darwin-x64@1.7.2", "", { "os": "darwin", "cpu": "x64" }, "sha512-qhVa8ozu92C23Hsmv0BF4+5Dyyd5STT1FolV4whNgbY6mj3kA0qsrGPe35zNR3wAN7eFict3s4Rc2dDTPBTuFQ=="],
|
| 224 |
+
|
| 225 |
+
"@unrs/resolver-binding-freebsd-x64": ["@unrs/resolver-binding-freebsd-x64@1.7.2", "", { "os": "freebsd", "cpu": "x64" }, "sha512-zKKdm2uMXqLFX6Ac7K5ElnnG5VIXbDlFWzg4WJ8CGUedJryM5A3cTgHuGMw1+P5ziV8CRhnSEgOnurTI4vpHpg=="],
|
| 226 |
+
|
| 227 |
+
"@unrs/resolver-binding-linux-arm-gnueabihf": ["@unrs/resolver-binding-linux-arm-gnueabihf@1.7.2", "", { "os": "linux", "cpu": "arm" }, "sha512-8N1z1TbPnHH+iDS/42GJ0bMPLiGK+cUqOhNbMKtWJ4oFGzqSJk/zoXFzcQkgtI63qMcUI7wW1tq2usZQSb2jxw=="],
|
| 228 |
+
|
| 229 |
+
"@unrs/resolver-binding-linux-arm-musleabihf": ["@unrs/resolver-binding-linux-arm-musleabihf@1.7.2", "", { "os": "linux", "cpu": "arm" }, "sha512-tjYzI9LcAXR9MYd9rO45m1s0B/6bJNuZ6jeOxo1pq1K6OBuRMMmfyvJYval3s9FPPGmrldYA3mi4gWDlWuTFGA=="],
|
| 230 |
+
|
| 231 |
+
"@unrs/resolver-binding-linux-arm64-gnu": ["@unrs/resolver-binding-linux-arm64-gnu@1.7.2", "", { "os": "linux", "cpu": "arm64" }, "sha512-jon9M7DKRLGZ9VYSkFMflvNqu9hDtOCEnO2QAryFWgT6o6AXU8du56V7YqnaLKr6rAbZBWYsYpikF226v423QA=="],
|
| 232 |
+
|
| 233 |
+
"@unrs/resolver-binding-linux-arm64-musl": ["@unrs/resolver-binding-linux-arm64-musl@1.7.2", "", { "os": "linux", "cpu": "arm64" }, "sha512-c8Cg4/h+kQ63pL43wBNaVMmOjXI/X62wQmru51qjfTvI7kmCy5uHTJvK/9LrF0G8Jdx8r34d019P1DVJmhXQpA=="],
|
| 234 |
+
|
| 235 |
+
"@unrs/resolver-binding-linux-ppc64-gnu": ["@unrs/resolver-binding-linux-ppc64-gnu@1.7.2", "", { "os": "linux", "cpu": "ppc64" }, "sha512-A+lcwRFyrjeJmv3JJvhz5NbcCkLQL6Mk16kHTNm6/aGNc4FwPHPE4DR9DwuCvCnVHvF5IAd9U4VIs/VvVir5lg=="],
|
| 236 |
+
|
| 237 |
+
"@unrs/resolver-binding-linux-riscv64-gnu": ["@unrs/resolver-binding-linux-riscv64-gnu@1.7.2", "", { "os": "linux", "cpu": "none" }, "sha512-hQQ4TJQrSQW8JlPm7tRpXN8OCNP9ez7PajJNjRD1ZTHQAy685OYqPrKjfaMw/8LiHCt8AZ74rfUVHP9vn0N69Q=="],
|
| 238 |
+
|
| 239 |
+
"@unrs/resolver-binding-linux-riscv64-musl": ["@unrs/resolver-binding-linux-riscv64-musl@1.7.2", "", { "os": "linux", "cpu": "none" }, "sha512-NoAGbiqrxtY8kVooZ24i70CjLDlUFI7nDj3I9y54U94p+3kPxwd2L692YsdLa+cqQ0VoqMWoehDFp21PKRUoIQ=="],
|
| 240 |
+
|
| 241 |
+
"@unrs/resolver-binding-linux-s390x-gnu": ["@unrs/resolver-binding-linux-s390x-gnu@1.7.2", "", { "os": "linux", "cpu": "s390x" }, "sha512-KaZByo8xuQZbUhhreBTW+yUnOIHUsv04P8lKjQ5otiGoSJ17ISGYArc+4vKdLEpGaLbemGzr4ZeUbYQQsLWFjA=="],
|
| 242 |
+
|
| 243 |
+
"@unrs/resolver-binding-linux-x64-gnu": ["@unrs/resolver-binding-linux-x64-gnu@1.7.2", "", { "os": "linux", "cpu": "x64" }, "sha512-dEidzJDubxxhUCBJ/SHSMJD/9q7JkyfBMT77Px1npl4xpg9t0POLvnWywSk66BgZS/b2Hy9Y1yFaoMTFJUe9yg=="],
|
| 244 |
+
|
| 245 |
+
"@unrs/resolver-binding-linux-x64-musl": ["@unrs/resolver-binding-linux-x64-musl@1.7.2", "", { "os": "linux", "cpu": "x64" }, "sha512-RvP+Ux3wDjmnZDT4XWFfNBRVG0fMsc+yVzNFUqOflnDfZ9OYujv6nkh+GOr+watwrW4wdp6ASfG/e7bkDradsw=="],
|
| 246 |
+
|
| 247 |
+
"@unrs/resolver-binding-wasm32-wasi": ["@unrs/resolver-binding-wasm32-wasi@1.7.2", "", { "dependencies": { "@napi-rs/wasm-runtime": "^0.2.9" }, "cpu": "none" }, "sha512-y797JBmO9IsvXVRCKDXOxjyAE4+CcZpla2GSoBQ33TVb3ILXuFnMrbR/QQZoauBYeOFuu4w3ifWLw52sdHGz6g=="],
|
| 248 |
+
|
| 249 |
+
"@unrs/resolver-binding-win32-arm64-msvc": ["@unrs/resolver-binding-win32-arm64-msvc@1.7.2", "", { "os": "win32", "cpu": "arm64" }, "sha512-gtYTh4/VREVSLA+gHrfbWxaMO/00y+34htY7XpioBTy56YN2eBjkPrY1ML1Zys89X3RJDKVaogzwxlM1qU7egg=="],
|
| 250 |
+
|
| 251 |
+
"@unrs/resolver-binding-win32-ia32-msvc": ["@unrs/resolver-binding-win32-ia32-msvc@1.7.2", "", { "os": "win32", "cpu": "ia32" }, "sha512-Ywv20XHvHTDRQs12jd3MY8X5C8KLjDbg/jyaal/QLKx3fAShhJyD4blEANInsjxW3P7isHx1Blt56iUDDJO3jg=="],
|
| 252 |
+
|
| 253 |
+
"@unrs/resolver-binding-win32-x64-msvc": ["@unrs/resolver-binding-win32-x64-msvc@1.7.2", "", { "os": "win32", "cpu": "x64" }, "sha512-friS8NEQfHaDbkThxopGk+LuE5v3iY0StruifjQEt7SLbA46OnfgMO15sOTkbpJkol6RB+1l1TYPXh0sCddpvA=="],
|
| 254 |
+
|
| 255 |
+
"acorn": ["acorn@8.14.1", "", { "bin": "bin/acorn" }, "sha512-OvQ/2pUDKmgfCg++xsTX1wGxfTaszcHVcTctW4UJB4hibJx2HXxxO5UmVgyjMa+ZDsiaf5wWLXYpRWMmBI0QHg=="],
|
| 256 |
+
|
| 257 |
+
"acorn-jsx": ["acorn-jsx@5.3.2", "", { "peerDependencies": { "acorn": "^6.0.0 || ^7.0.0 || ^8.0.0" } }, "sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ=="],
|
| 258 |
+
|
| 259 |
+
"ajv": ["ajv@6.12.6", "", { "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" } }, "sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g=="],
|
| 260 |
+
|
| 261 |
+
"ansi-styles": ["ansi-styles@4.3.0", "", { "dependencies": { "color-convert": "^2.0.1" } }, "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg=="],
|
| 262 |
+
|
| 263 |
+
"argparse": ["argparse@2.0.1", "", {}, "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q=="],
|
| 264 |
+
|
| 265 |
+
"aria-query": ["aria-query@5.3.2", "", {}, "sha512-COROpnaoap1E2F000S62r6A60uHZnmlvomhfyT2DlTcrY1OrBKn2UhH7qn5wTC9zMvD0AY7csdPSNwKP+7WiQw=="],
|
| 266 |
+
|
| 267 |
+
"array-buffer-byte-length": ["array-buffer-byte-length@1.0.2", "", { "dependencies": { "call-bound": "^1.0.3", "is-array-buffer": "^3.0.5" } }, "sha512-LHE+8BuR7RYGDKvnrmcuSq3tDcKv9OFEXQt/HpbZhY7V6h0zlUXutnAD82GiFx9rdieCMjkvtcsPqBwgUl1Iiw=="],
|
| 268 |
+
|
| 269 |
+
"array-includes": ["array-includes@3.1.8", "", { "dependencies": { "call-bind": "^1.0.7", "define-properties": "^1.2.1", "es-abstract": "^1.23.2", "es-object-atoms": "^1.0.0", "get-intrinsic": "^1.2.4", "is-string": "^1.0.7" } }, "sha512-itaWrbYbqpGXkGhZPGUulwnhVf5Hpy1xiCFsGqyIGglbBxmG5vSjxQen3/WGOjPpNEv1RtBLKxbmVXm8HpJStQ=="],
|
| 270 |
+
|
| 271 |
+
"array.prototype.findlast": ["array.prototype.findlast@1.2.5", "", { "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" } }, "sha512-CVvd6FHg1Z3POpBLxO6E6zr+rSKEQ9L6rZHAaY7lLfhKsWYUBBOuMs0e9o24oopj6H+geRCX0YJ+TJLBK2eHyQ=="],
|
| 272 |
+
|
| 273 |
+
"array.prototype.findlastindex": ["array.prototype.findlastindex@1.2.6", "", { "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" } }, "sha512-F/TKATkzseUExPlfvmwQKGITM3DGTK+vkAsCZoDc5daVygbJBnjEUCbgkAvVFsgfXfX4YIqZ/27G3k3tdXrTxQ=="],
|
| 274 |
+
|
| 275 |
+
"array.prototype.flat": ["array.prototype.flat@1.3.3", "", { "dependencies": { "call-bind": "^1.0.8", "define-properties": "^1.2.1", "es-abstract": "^1.23.5", "es-shim-unscopables": "^1.0.2" } }, "sha512-rwG/ja1neyLqCuGZ5YYrznA62D4mZXg0i1cIskIUKSiqF3Cje9/wXAls9B9s1Wa2fomMsIv8czB8jZcPmxCXFg=="],
|
| 276 |
+
|
| 277 |
+
"array.prototype.flatmap": ["array.prototype.flatmap@1.3.3", "", { "dependencies": { "call-bind": "^1.0.8", "define-properties": "^1.2.1", "es-abstract": "^1.23.5", "es-shim-unscopables": "^1.0.2" } }, "sha512-Y7Wt51eKJSyi80hFrJCePGGNo5ktJCslFuboqJsbf57CCPcm5zztluPlc4/aD8sWsKvlwatezpV4U1efk8kpjg=="],
|
| 278 |
+
|
| 279 |
+
"array.prototype.tosorted": ["array.prototype.tosorted@1.1.4", "", { "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" } }, "sha512-p6Fx8B7b7ZhL/gmUsAy0D15WhvDccw3mnGNbZpi3pmeJdxtWsj2jEaI4Y6oo3XiHfzuSgPwKc04MYt6KgvC/wA=="],
|
| 280 |
+
|
| 281 |
+
"arraybuffer.prototype.slice": ["arraybuffer.prototype.slice@1.0.4", "", { "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" } }, "sha512-BNoCY6SXXPQ7gF2opIP4GBE+Xw7U+pHMYKuzjgCN3GwiaIR09UUeKfheyIry77QtrCBlC0KK0q5/TER/tYh3PQ=="],
|
| 282 |
+
|
| 283 |
+
"ast-types-flow": ["ast-types-flow@0.0.8", "", {}, "sha512-OH/2E5Fg20h2aPrbe+QL8JZQFko0YZaF+j4mnQ7BGhfavO7OpSLa8a0y9sBwomHdSbkhTS8TQNayBfnW5DwbvQ=="],
|
| 284 |
+
|
| 285 |
+
"async-function": ["async-function@1.0.0", "", {}, "sha512-hsU18Ae8CDTR6Kgu9DYf0EbCr/a5iGL0rytQDobUcdpYOKokk8LEjVphnXkDkgpi0wYVsqrXuP0bZxJaTqdgoA=="],
|
| 286 |
+
|
| 287 |
+
"available-typed-arrays": ["available-typed-arrays@1.0.7", "", { "dependencies": { "possible-typed-array-names": "^1.0.0" } }, "sha512-wvUjBtSGN7+7SjNpq/9M2Tg350UZD3q62IFZLbRAR1bSMlCo1ZaeW+BJ+D090e4hIIZLBcTDWe4Mh4jvUDajzQ=="],
|
| 288 |
+
|
| 289 |
+
"axe-core": ["axe-core@4.10.3", "", {}, "sha512-Xm7bpRXnDSX2YE2YFfBk2FnF0ep6tmG7xPh8iHee8MIcrgq762Nkce856dYtJYLkuIoYZvGfTs/PbZhideTcEg=="],
|
| 290 |
+
|
| 291 |
+
"axobject-query": ["axobject-query@4.1.0", "", {}, "sha512-qIj0G9wZbMGNLjLmg1PT6v2mE9AH2zlnADJD/2tC6E00hgmhUOfEB6greHPAfLRSufHqROIUTkw6E+M3lH0PTQ=="],
|
| 292 |
+
|
| 293 |
+
"balanced-match": ["balanced-match@1.0.2", "", {}, "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw=="],
|
| 294 |
+
|
| 295 |
+
"brace-expansion": ["brace-expansion@1.1.11", "", { "dependencies": { "balanced-match": "^1.0.0", "concat-map": "0.0.1" } }, "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA=="],
|
| 296 |
+
|
| 297 |
+
"braces": ["braces@3.0.3", "", { "dependencies": { "fill-range": "^7.1.1" } }, "sha512-yQbXgO/OSZVD2IsiLlro+7Hf6Q18EJrKSEsdoMzKePKXct3gvD8oLcOQdIzGupr5Fj+EDe8gO/lxc1BzfMpxvA=="],
|
| 298 |
+
|
| 299 |
+
"busboy": ["busboy@1.6.0", "", { "dependencies": { "streamsearch": "^1.1.0" } }, "sha512-8SFQbg/0hQ9xy3UNTB0YEnsNBbWfhf7RtnzpL7TkBiTBRfrQ9Fxcnz7VJsleJpyp6rVLvXiuORqjlHi5q+PYuA=="],
|
| 300 |
+
|
| 301 |
+
"call-bind": ["call-bind@1.0.8", "", { "dependencies": { "call-bind-apply-helpers": "^1.0.0", "es-define-property": "^1.0.0", "get-intrinsic": "^1.2.4", "set-function-length": "^1.2.2" } }, "sha512-oKlSFMcMwpUg2ednkhQ454wfWiU/ul3CkJe/PEHcTKuiX6RpbehUiFMXu13HalGZxfUwCQzZG747YXBn1im9ww=="],
|
| 302 |
+
|
| 303 |
+
"call-bind-apply-helpers": ["call-bind-apply-helpers@1.0.2", "", { "dependencies": { "es-errors": "^1.3.0", "function-bind": "^1.1.2" } }, "sha512-Sp1ablJ0ivDkSzjcaJdxEunN5/XvksFJ2sMBFfq6x0ryhQV/2b/KwFe21cMpmHtPOSij8K99/wSfoEuTObmuMQ=="],
|
| 304 |
+
|
| 305 |
+
"call-bound": ["call-bound@1.0.4", "", { "dependencies": { "call-bind-apply-helpers": "^1.0.2", "get-intrinsic": "^1.3.0" } }, "sha512-+ys997U96po4Kx/ABpBCqhA9EuxJaQWDQg7295H4hBphv3IZg0boBKuwYpt4YXp6MZ5AmZQnU/tyMTlRpaSejg=="],
|
| 306 |
+
|
| 307 |
+
"callsites": ["callsites@3.1.0", "", {}, "sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ=="],
|
| 308 |
+
|
| 309 |
+
"caniuse-lite": ["caniuse-lite@1.0.30001718", "", {}, "sha512-AflseV1ahcSunK53NfEs9gFWgOEmzr0f+kaMFA4xiLZlr9Hzt7HxcSpIFcnNCUkz6R6dWKa54rUz3HUmI3nVcw=="],
|
| 310 |
+
|
| 311 |
+
"chalk": ["chalk@4.1.2", "", { "dependencies": { "ansi-styles": "^4.1.0", "supports-color": "^7.1.0" } }, "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA=="],
|
| 312 |
+
|
| 313 |
+
"chownr": ["chownr@3.0.0", "", {}, "sha512-+IxzY9BZOQd/XuYPRmrvEVjF/nqj5kgT4kEq7VofrDoM1MxoRjEWkrCC3EtLi59TVawxTAn+orJwFQcrqEN1+g=="],
|
| 314 |
+
|
| 315 |
+
"client-only": ["client-only@0.0.1", "", {}, "sha512-IV3Ou0jSMzZrd3pZ48nLkT9DA7Ag1pnPzaiQhpW7c3RbcqqzvzzVu+L8gfqMp/8IM2MQtSiqaCxrrcfu8I8rMA=="],
|
| 316 |
+
|
| 317 |
+
"color": ["color@4.2.3", "", { "dependencies": { "color-convert": "^2.0.1", "color-string": "^1.9.0" } }, "sha512-1rXeuUUiGGrykh+CeBdu5Ie7OJwinCgQY0bc7GCRxy5xVHy+moaqkpL/jqQq0MtQOeYcrqEz4abc5f0KtU7W4A=="],
|
| 318 |
+
|
| 319 |
+
"color-convert": ["color-convert@2.0.1", "", { "dependencies": { "color-name": "~1.1.4" } }, "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ=="],
|
| 320 |
+
|
| 321 |
+
"color-name": ["color-name@1.1.4", "", {}, "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA=="],
|
| 322 |
+
|
| 323 |
+
"color-string": ["color-string@1.9.1", "", { "dependencies": { "color-name": "^1.0.0", "simple-swizzle": "^0.2.2" } }, "sha512-shrVawQFojnZv6xM40anx4CkoDP+fZsw/ZerEMsW/pyzsRbElpsL/DBVW7q3ExxwusdNXI3lXpuhEZkzs8p5Eg=="],
|
| 324 |
+
|
| 325 |
+
"concat-map": ["concat-map@0.0.1", "", {}, "sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg=="],
|
| 326 |
+
|
| 327 |
+
"cross-spawn": ["cross-spawn@7.0.6", "", { "dependencies": { "path-key": "^3.1.0", "shebang-command": "^2.0.0", "which": "^2.0.1" } }, "sha512-uV2QOWP2nWzsy2aMp8aRibhi9dlzF5Hgh5SHaB9OiTGEyDTiJJyx0uy51QXdyWbtAHNua4XJzUKca3OzKUd3vA=="],
|
| 328 |
+
|
| 329 |
+
"csstype": ["csstype@3.1.3", "", {}, "sha512-M1uQkMl8rQK/szD0LNhtqxIPLpimGm8sOBwU7lLnCpSbTyY3yeU1Vc7l4KT5zT4s/yOxHH5O7tIuuLOCnLADRw=="],
|
| 330 |
+
|
| 331 |
+
"damerau-levenshtein": ["damerau-levenshtein@1.0.8", "", {}, "sha512-sdQSFB7+llfUcQHUQO3+B8ERRj0Oa4w9POWMI/puGtuf7gFywGmkaLCElnudfTiKZV+NvHqL0ifzdrI8Ro7ESA=="],
|
| 332 |
+
|
| 333 |
+
"data-view-buffer": ["data-view-buffer@1.0.2", "", { "dependencies": { "call-bound": "^1.0.3", "es-errors": "^1.3.0", "is-data-view": "^1.0.2" } }, "sha512-EmKO5V3OLXh1rtK2wgXRansaK1/mtVdTUEiEI0W8RkvgT05kfxaH29PliLnpLP73yYO6142Q72QNa8Wx/A5CqQ=="],
|
| 334 |
+
|
| 335 |
+
"data-view-byte-length": ["data-view-byte-length@1.0.2", "", { "dependencies": { "call-bound": "^1.0.3", "es-errors": "^1.3.0", "is-data-view": "^1.0.2" } }, "sha512-tuhGbE6CfTM9+5ANGf+oQb72Ky/0+s3xKUpHvShfiz2RxMFgFPjsXuRLBVMtvMs15awe45SRb83D6wH4ew6wlQ=="],
|
| 336 |
+
|
| 337 |
+
"data-view-byte-offset": ["data-view-byte-offset@1.0.1", "", { "dependencies": { "call-bound": "^1.0.2", "es-errors": "^1.3.0", "is-data-view": "^1.0.1" } }, "sha512-BS8PfmtDGnrgYdOonGZQdLZslWIeCGFP9tpan0hi1Co2Zr2NKADsvGYA8XxuG/4UWgJ6Cjtv+YJnB6MM69QGlQ=="],
|
| 338 |
+
|
| 339 |
+
"debug": ["debug@4.4.1", "", { "dependencies": { "ms": "^2.1.3" } }, "sha512-KcKCqiftBJcZr++7ykoDIEwSa3XWowTfNPo92BYxjXiyYEVrUQh2aLyhxBCwww+heortUFxEJYcRzosstTEBYQ=="],
|
| 340 |
+
|
| 341 |
+
"deep-is": ["deep-is@0.1.4", "", {}, "sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ=="],
|
| 342 |
+
|
| 343 |
+
"define-data-property": ["define-data-property@1.1.4", "", { "dependencies": { "es-define-property": "^1.0.0", "es-errors": "^1.3.0", "gopd": "^1.0.1" } }, "sha512-rBMvIzlpA8v6E+SJZoo++HAYqsLrkg7MSfIinMPFhmkorw7X+dOXVJQs+QT69zGkzMyfDnIMN2Wid1+NbL3T+A=="],
|
| 344 |
+
|
| 345 |
+
"define-properties": ["define-properties@1.2.1", "", { "dependencies": { "define-data-property": "^1.0.1", "has-property-descriptors": "^1.0.0", "object-keys": "^1.1.1" } }, "sha512-8QmQKqEASLd5nx0U1B1okLElbUuuttJ/AnYmRXbbbGDWh6uS208EjD4Xqq/I9wK7u0v6O08XhTWnt5XtEbR6Dg=="],
|
| 346 |
+
|
| 347 |
+
"detect-libc": ["detect-libc@2.0.4", "", {}, "sha512-3UDv+G9CsCKO1WKMGw9fwq/SWJYbI0c5Y7LU1AXYoDdbhE2AHQ6N6Nb34sG8Fj7T5APy8qXDCKuuIHd1BR0tVA=="],
|
| 348 |
+
|
| 349 |
+
"doctrine": ["doctrine@2.1.0", "", { "dependencies": { "esutils": "^2.0.2" } }, "sha512-35mSku4ZXK0vfCuHEDAwt55dg2jNajHZ1odvF+8SSr82EsZY4QmXfuWso8oEd8zRhVObSN18aM0CjSdoBX7zIw=="],
|
| 350 |
+
|
| 351 |
+
"dunder-proto": ["dunder-proto@1.0.1", "", { "dependencies": { "call-bind-apply-helpers": "^1.0.1", "es-errors": "^1.3.0", "gopd": "^1.2.0" } }, "sha512-KIN/nDJBQRcXw0MLVhZE9iQHmG68qAVIBg9CqmUYjmQIhgij9U5MFvrqkUL5FbtyyzZuOeOt0zdeRe4UY7ct+A=="],
|
| 352 |
+
|
| 353 |
+
"emoji-regex": ["emoji-regex@9.2.2", "", {}, "sha512-L18DaJsXSUk2+42pv8mLs5jJT2hqFkFE4j21wOmgbUqsZ2hL72NsUU785g9RXgo3s0ZNgVl42TiHp3ZtOv/Vyg=="],
|
| 354 |
+
|
| 355 |
+
"enhanced-resolve": ["enhanced-resolve@5.18.1", "", { "dependencies": { "graceful-fs": "^4.2.4", "tapable": "^2.2.0" } }, "sha512-ZSW3ma5GkcQBIpwZTSRAI8N71Uuwgs93IezB7mf7R60tC8ZbJideoDNKjHn2O9KIlx6rkGTTEk1xUCK2E1Y2Yg=="],
|
| 356 |
+
|
| 357 |
+
"es-abstract": ["es-abstract@1.23.10", "", { "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-regex": "^1.2.1", "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", "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" } }, "sha512-MtUbM072wlJNyeYAe0mhzrD+M6DIJa96CZAOBBrhDbgKnB4MApIKefcyAB1eOdYn8cUNZgvwBvEzdoAYsxgEIw=="],
|
| 358 |
+
|
| 359 |
+
"es-define-property": ["es-define-property@1.0.1", "", {}, "sha512-e3nRfgfUZ4rNGL232gUgX06QNyyez04KdjFrF+LTRoOXmrOgFKDg4BCdsjW8EnT69eqdYGmRpJwiPVYNrCaW3g=="],
|
| 360 |
+
|
| 361 |
+
"es-errors": ["es-errors@1.3.0", "", {}, "sha512-Zf5H2Kxt2xjTvbJvP2ZWLEICxA6j+hAmMzIlypy4xcBg1vKVnx89Wy0GbS+kf5cwCVFFzdCFh2XSCFNULS6csw=="],
|
| 362 |
+
|
| 363 |
+
"es-iterator-helpers": ["es-iterator-helpers@1.2.1", "", { "dependencies": { "call-bind": "^1.0.8", "call-bound": "^1.0.3", "define-properties": "^1.2.1", "es-abstract": "^1.23.6", "es-errors": "^1.3.0", "es-set-tostringtag": "^2.0.3", "function-bind": "^1.1.2", "get-intrinsic": "^1.2.6", "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.4", "safe-array-concat": "^1.1.3" } }, "sha512-uDn+FE1yrDzyC0pCo961B2IHbdM8y/ACZsKD4dG6WqrjV53BADjwa7D+1aom2rsNVfLyDgU/eigvlJGJ08OQ4w=="],
|
| 364 |
+
|
| 365 |
+
"es-object-atoms": ["es-object-atoms@1.1.1", "", { "dependencies": { "es-errors": "^1.3.0" } }, "sha512-FGgH2h8zKNim9ljj7dankFPcICIK9Cp5bm+c2gQSYePhpaG5+esrLODihIorn+Pe6FGJzWhXQotPv73jTaldXA=="],
|
| 366 |
+
|
| 367 |
+
"es-set-tostringtag": ["es-set-tostringtag@2.1.0", "", { "dependencies": { "es-errors": "^1.3.0", "get-intrinsic": "^1.2.6", "has-tostringtag": "^1.0.2", "hasown": "^2.0.2" } }, "sha512-j6vWzfrGVfyXxge+O0x5sh6cvxAog0a/4Rdd2K36zCMV5eJ+/+tOAngRO8cODMNWbVRdVlmGZQL2YS3yR8bIUA=="],
|
| 368 |
+
|
| 369 |
+
"es-shim-unscopables": ["es-shim-unscopables@1.1.0", "", { "dependencies": { "hasown": "^2.0.2" } }, "sha512-d9T8ucsEhh8Bi1woXCf+TIKDIROLG5WCkxg8geBCbvk22kzwC5G2OnXVMO6FUsvQlgUUXQ2itephWDLqDzbeCw=="],
|
| 370 |
+
|
| 371 |
+
"es-to-primitive": ["es-to-primitive@1.3.0", "", { "dependencies": { "is-callable": "^1.2.7", "is-date-object": "^1.0.5", "is-symbol": "^1.0.4" } }, "sha512-w+5mJ3GuFL+NjVtJlvydShqE1eN3h3PbI7/5LAsYJP/2qtuMXjfL2LpHSRqo4b4eSF5K/DH1JXKUAHSB2UW50g=="],
|
| 372 |
+
|
| 373 |
+
"escape-string-regexp": ["escape-string-regexp@4.0.0", "", {}, "sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA=="],
|
| 374 |
+
|
| 375 |
+
"eslint": ["eslint@9.27.0", "", { "dependencies": { "@eslint-community/eslint-utils": "^4.2.0", "@eslint-community/regexpp": "^4.12.1", "@eslint/config-array": "^0.20.0", "@eslint/config-helpers": "^0.2.1", "@eslint/core": "^0.14.0", "@eslint/eslintrc": "^3.3.1", "@eslint/js": "9.27.0", "@eslint/plugin-kit": "^0.3.1", "@humanfs/node": "^0.16.6", "@humanwhocodes/module-importer": "^1.0.1", "@humanwhocodes/retry": "^0.4.2", "@types/estree": "^1.0.6", "@types/json-schema": "^7.0.15", "ajv": "^6.12.4", "chalk": "^4.0.0", "cross-spawn": "^7.0.6", "debug": "^4.3.2", "escape-string-regexp": "^4.0.0", "eslint-scope": "^8.3.0", "eslint-visitor-keys": "^4.2.0", "espree": "^10.3.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.2", "natural-compare": "^1.4.0", "optionator": "^0.9.3" }, "peerDependencies": { "jiti": "*" }, "bin": "bin/eslint.js" }, "sha512-ixRawFQuMB9DZ7fjU3iGGganFDp3+45bPOdaRurcFHSXO1e/sYwUX/FtQZpLZJR6SjMoJH8hR2pPEAfDyCoU2Q=="],
|
| 376 |
+
|
| 377 |
+
"eslint-config-next": ["eslint-config-next@15.3.2", "", { "dependencies": { "@next/eslint-plugin-next": "15.3.2", "@rushstack/eslint-patch": "^1.10.3", "@typescript-eslint/eslint-plugin": "^5.4.2 || ^6.0.0 || ^7.0.0 || ^8.0.0", "@typescript-eslint/parser": "^5.4.2 || ^6.0.0 || ^7.0.0 || ^8.0.0", "eslint-import-resolver-node": "^0.3.6", "eslint-import-resolver-typescript": "^3.5.2", "eslint-plugin-import": "^2.31.0", "eslint-plugin-jsx-a11y": "^6.10.0", "eslint-plugin-react": "^7.37.0", "eslint-plugin-react-hooks": "^5.0.0" }, "peerDependencies": { "eslint": "^7.23.0 || ^8.0.0 || ^9.0.0", "typescript": ">=3.3.1" } }, "sha512-FerU4DYccO4FgeYFFglz0SnaKRe1ejXQrDb8kWUkTAg036YWi+jUsgg4sIGNCDhAsDITsZaL4MzBWKB6f4G1Dg=="],
|
| 378 |
+
|
| 379 |
+
"eslint-import-resolver-node": ["eslint-import-resolver-node@0.3.9", "", { "dependencies": { "debug": "^3.2.7", "is-core-module": "^2.13.0", "resolve": "^1.22.4" } }, "sha512-WFj2isz22JahUv+B788TlO3N6zL3nNJGU8CcZbPZvVEkBPaJdCV4vy5wyghty5ROFbCRnm132v8BScu5/1BQ8g=="],
|
| 380 |
+
|
| 381 |
+
"eslint-import-resolver-typescript": ["eslint-import-resolver-typescript@3.10.1", "", { "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" }, "peerDependencies": { "eslint": "*", "eslint-plugin-import": "*", "eslint-plugin-import-x": "*" }, "optionalPeers": ["eslint-plugin-import-x"] }, "sha512-A1rHYb06zjMGAxdLSkN2fXPBwuSaQ0iO5M/hdyS0Ajj1VBaRp0sPD3dn1FhME3c/JluGFbwSxyCfqdSbtQLAHQ=="],
|
| 382 |
+
|
| 383 |
+
"eslint-module-utils": ["eslint-module-utils@2.12.0", "", { "dependencies": { "debug": "^3.2.7" } }, "sha512-wALZ0HFoytlyh/1+4wuZ9FJCD/leWHQzzrxJ8+rebyReSLk7LApMyd3WJaLVoN+D5+WIdJyDK1c6JnE65V4Zyg=="],
|
| 384 |
+
|
| 385 |
+
"eslint-plugin-import": ["eslint-plugin-import@2.31.0", "", { "dependencies": { "@rtsao/scc": "^1.1.0", "array-includes": "^3.1.8", "array.prototype.findlastindex": "^1.2.5", "array.prototype.flat": "^1.3.2", "array.prototype.flatmap": "^1.3.2", "debug": "^3.2.7", "doctrine": "^2.1.0", "eslint-import-resolver-node": "^0.3.9", "eslint-module-utils": "^2.12.0", "hasown": "^2.0.2", "is-core-module": "^2.15.1", "is-glob": "^4.0.3", "minimatch": "^3.1.2", "object.fromentries": "^2.0.8", "object.groupby": "^1.0.3", "object.values": "^1.2.0", "semver": "^6.3.1", "string.prototype.trimend": "^1.0.8", "tsconfig-paths": "^3.15.0" }, "peerDependencies": { "eslint": "^2 || ^3 || ^4 || ^5 || ^6 || ^7.2.0 || ^8 || ^9" } }, "sha512-ixmkI62Rbc2/w8Vfxyh1jQRTdRTF52VxwRVHl/ykPAmqG+Nb7/kNn+byLP0LxPgI7zWA16Jt82SybJInmMia3A=="],
|
| 386 |
+
|
| 387 |
+
"eslint-plugin-jsx-a11y": ["eslint-plugin-jsx-a11y@6.10.2", "", { "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" }, "peerDependencies": { "eslint": "^3 || ^4 || ^5 || ^6 || ^7 || ^8 || ^9" } }, "sha512-scB3nz4WmG75pV8+3eRUQOHZlNSUhFNq37xnpgRkCCELU3XMvXAxLk1eqWWyE22Ki4Q01Fnsw9BA3cJHDPgn2Q=="],
|
| 388 |
+
|
| 389 |
+
"eslint-plugin-react": ["eslint-plugin-react@7.37.5", "", { "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" }, "peerDependencies": { "eslint": "^3 || ^4 || ^5 || ^6 || ^7 || ^8 || ^9.7" } }, "sha512-Qteup0SqU15kdocexFNAJMvCJEfa2xUKNV4CC1xsVMrIIqEy3SQ/rqyxCWNzfrd3/ldy6HMlD2e0JDVpDg2qIA=="],
|
| 390 |
+
|
| 391 |
+
"eslint-plugin-react-hooks": ["eslint-plugin-react-hooks@5.2.0", "", { "peerDependencies": { "eslint": "^3.0.0 || ^4.0.0 || ^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0-0 || ^9.0.0" } }, "sha512-+f15FfK64YQwZdJNELETdn5ibXEUQmW1DZL6KXhNnc2heoy/sg9VJJeT7n8TlMWouzWqSWavFkIhHyIbIAEapg=="],
|
| 392 |
+
|
| 393 |
+
"eslint-scope": ["eslint-scope@8.3.0", "", { "dependencies": { "esrecurse": "^4.3.0", "estraverse": "^5.2.0" } }, "sha512-pUNxi75F8MJ/GdeKtVLSbYg4ZI34J6C0C7sbL4YOp2exGwen7ZsuBqKzUhXd0qMQ362yET3z+uPwKeg/0C2XCQ=="],
|
| 394 |
+
|
| 395 |
+
"eslint-visitor-keys": ["eslint-visitor-keys@4.2.0", "", {}, "sha512-UyLnSehNt62FFhSwjZlHmeokpRK59rcz29j+F1/aDgbkbRTk7wIc9XzdoasMUbRNKDM0qQt/+BJ4BrpFeABemw=="],
|
| 396 |
+
|
| 397 |
+
"espree": ["espree@10.3.0", "", { "dependencies": { "acorn": "^8.14.0", "acorn-jsx": "^5.3.2", "eslint-visitor-keys": "^4.2.0" } }, "sha512-0QYC8b24HWY8zjRnDTL6RiHfDbAWn63qb4LMj1Z4b076A4une81+z03Kg7l7mn/48PUTqoLptSXez8oknU8Clg=="],
|
| 398 |
+
|
| 399 |
+
"esquery": ["esquery@1.6.0", "", { "dependencies": { "estraverse": "^5.1.0" } }, "sha512-ca9pw9fomFcKPvFLXhBKUK90ZvGibiGOvRJNbjljY7s7uq/5YO4BOzcYtJqExdx99rF6aAcnRxHmcUHcz6sQsg=="],
|
| 400 |
+
|
| 401 |
+
"esrecurse": ["esrecurse@4.3.0", "", { "dependencies": { "estraverse": "^5.2.0" } }, "sha512-KmfKL3b6G+RXvP8N1vr3Tq1kL/oCFgn2NYXEtqP8/L3pKapUA4G8cFVaoF3SU323CD4XypR/ffioHmkti6/Tag=="],
|
| 402 |
+
|
| 403 |
+
"estraverse": ["estraverse@5.3.0", "", {}, "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA=="],
|
| 404 |
+
|
| 405 |
+
"esutils": ["esutils@2.0.3", "", {}, "sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g=="],
|
| 406 |
+
|
| 407 |
+
"fast-deep-equal": ["fast-deep-equal@3.1.3", "", {}, "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q=="],
|
| 408 |
+
|
| 409 |
+
"fast-glob": ["fast-glob@3.3.1", "", { "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" } }, "sha512-kNFPyjhh5cKjrUltxs+wFx+ZkbRaxxmZ+X0ZU31SOsxCEtP9VPgtq2teZw1DebupL5GmDaNQ6yKMMVcM41iqDg=="],
|
| 410 |
+
|
| 411 |
+
"fast-json-stable-stringify": ["fast-json-stable-stringify@2.1.0", "", {}, "sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw=="],
|
| 412 |
+
|
| 413 |
+
"fast-levenshtein": ["fast-levenshtein@2.0.6", "", {}, "sha512-DCXu6Ifhqcks7TZKY3Hxp3y6qphY5SJZmrWMDrKcERSOXWQdMhU9Ig/PYrzyw/ul9jOIyh0N4M0tbC5hodg8dw=="],
|
| 414 |
+
|
| 415 |
+
"fastq": ["fastq@1.19.1", "", { "dependencies": { "reusify": "^1.0.4" } }, "sha512-GwLTyxkCXjXbxqIhTsMI2Nui8huMPtnxg7krajPJAjnEG/iiOS7i+zCtWGZR9G0NBKbXKh6X9m9UIsYX/N6vvQ=="],
|
| 416 |
+
|
| 417 |
+
"fdir": ["fdir@6.4.4", "", { "peerDependencies": { "picomatch": "^3 || ^4" } }, "sha512-1NZP+GK4GfuAv3PqKvxQRDMjdSRZjnkq7KfhlNrCNNlZ0ygQFpebfrnfnq/W7fpUnAv9aGWmY1zKx7FYL3gwhg=="],
|
| 418 |
+
|
| 419 |
+
"file-entry-cache": ["file-entry-cache@8.0.0", "", { "dependencies": { "flat-cache": "^4.0.0" } }, "sha512-XXTUwCvisa5oacNGRP9SfNtYBNAMi+RPwBFmblZEF7N7swHYQS6/Zfk7SRwx4D5j3CH211YNRco1DEMNVfZCnQ=="],
|
| 420 |
+
|
| 421 |
+
"fill-range": ["fill-range@7.1.1", "", { "dependencies": { "to-regex-range": "^5.0.1" } }, "sha512-YsGpe3WHLK8ZYi4tWDg2Jy3ebRz2rXowDxnld4bkQB00cc/1Zw9AWnC0i9ztDJitivtQvaI9KaLyKrc+hBW0yg=="],
|
| 422 |
+
|
| 423 |
+
"find-up": ["find-up@5.0.0", "", { "dependencies": { "locate-path": "^6.0.0", "path-exists": "^4.0.0" } }, "sha512-78/PXT1wlLLDgTzDs7sjq9hzz0vXD+zn+7wypEe4fXQxCmdmqfGsEPQxmiCSQI3ajFV91bVSsvNtrJRiW6nGng=="],
|
| 424 |
+
|
| 425 |
+
"flat-cache": ["flat-cache@4.0.1", "", { "dependencies": { "flatted": "^3.2.9", "keyv": "^4.5.4" } }, "sha512-f7ccFPK3SXFHpx15UIGyRJ/FJQctuKZ0zVuN3frBo4HnK3cay9VEW0R6yPYFHC0AgqhukPzKjq22t5DmAyqGyw=="],
|
| 426 |
+
|
| 427 |
+
"flatted": ["flatted@3.3.3", "", {}, "sha512-GX+ysw4PBCz0PzosHDepZGANEuFCMLrnRTiEy9McGjmkCQYwRq4A/X786G/fjM/+OjsWSU1ZrY5qyARZmO/uwg=="],
|
| 428 |
+
|
| 429 |
+
"for-each": ["for-each@0.3.5", "", { "dependencies": { "is-callable": "^1.2.7" } }, "sha512-dKx12eRCVIzqCxFGplyFKJMPvLEWgmNtUrpTiJIR5u97zEhRG8ySrtboPHZXx7daLxQVrl643cTzbab2tkQjxg=="],
|
| 430 |
+
|
| 431 |
+
"function-bind": ["function-bind@1.1.2", "", {}, "sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA=="],
|
| 432 |
+
|
| 433 |
+
"function.prototype.name": ["function.prototype.name@1.1.8", "", { "dependencies": { "call-bind": "^1.0.8", "call-bound": "^1.0.3", "define-properties": "^1.2.1", "functions-have-names": "^1.2.3", "hasown": "^2.0.2", "is-callable": "^1.2.7" } }, "sha512-e5iwyodOHhbMr/yNrc7fDYG4qlbIvI5gajyzPnb5TCwyhjApznQh1BMFou9b30SevY43gCJKXycoCBjMbsuW0Q=="],
|
| 434 |
+
|
| 435 |
+
"functions-have-names": ["functions-have-names@1.2.3", "", {}, "sha512-xckBUXyTIqT97tq2x2AMb+g163b5JFysYk0x4qxNFwbfQkmNZoiRHb6sPzI9/QV33WeuvVYBUIiD4NzNIyqaRQ=="],
|
| 436 |
+
|
| 437 |
+
"get-intrinsic": ["get-intrinsic@1.3.0", "", { "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" } }, "sha512-9fSjSaos/fRIVIp+xSJlE6lfwhES7LNtKaCBIamHsjr2na1BiABJPo0mOjjz8GJDURarmCPGqaiVg5mfjb98CQ=="],
|
| 438 |
+
|
| 439 |
+
"get-proto": ["get-proto@1.0.1", "", { "dependencies": { "dunder-proto": "^1.0.1", "es-object-atoms": "^1.0.0" } }, "sha512-sTSfBjoXBp89JvIKIefqw7U2CCebsc74kiY6awiGogKtoSGbgjYE/G/+l9sF3MWFPNc9IcoOC4ODfKHfxFmp0g=="],
|
| 440 |
+
|
| 441 |
+
"get-symbol-description": ["get-symbol-description@1.1.0", "", { "dependencies": { "call-bound": "^1.0.3", "es-errors": "^1.3.0", "get-intrinsic": "^1.2.6" } }, "sha512-w9UMqWwJxHNOvoNzSJ2oPF5wvYcvP7jUvYzhp67yEhTi17ZDBBC1z9pTdGuzjD+EFIqLSYRweZjqfiPzQ06Ebg=="],
|
| 442 |
+
|
| 443 |
+
"get-tsconfig": ["get-tsconfig@4.10.1", "", { "dependencies": { "resolve-pkg-maps": "^1.0.0" } }, "sha512-auHyJ4AgMz7vgS8Hp3N6HXSmlMdUyhSUrfBF16w153rxtLIEOE+HGqaBppczZvnHLqQJfiHotCYpNhl0lUROFQ=="],
|
| 444 |
+
|
| 445 |
+
"glob-parent": ["glob-parent@6.0.2", "", { "dependencies": { "is-glob": "^4.0.3" } }, "sha512-XxwI8EOhVQgWp6iDL+3b0r86f4d6AX6zSU55HfB4ydCEuXLXc5FcYeOu+nnGftS4TEju/11rt4KJPTMgbfmv4A=="],
|
| 446 |
+
|
| 447 |
+
"globals": ["globals@14.0.0", "", {}, "sha512-oahGvuMGQlPw/ivIYBjVSrWAfWLBeku5tpPE2fOPLi+WHffIWbuh2tCjhyQhTBPMf5E9jDEH4FOmTYgYwbKwtQ=="],
|
| 448 |
+
|
| 449 |
+
"globalthis": ["globalthis@1.0.4", "", { "dependencies": { "define-properties": "^1.2.1", "gopd": "^1.0.1" } }, "sha512-DpLKbNU4WylpxJykQujfCcwYWiV/Jhm50Goo0wrVILAv5jOr9d+H+UR3PhSCD2rCCEIg0uc+G+muBTwD54JhDQ=="],
|
| 450 |
+
|
| 451 |
+
"goober": ["goober@2.1.16", "", { "peerDependencies": { "csstype": "^3.0.10" } }, "sha512-erjk19y1U33+XAMe1VTvIONHYoSqE4iS7BYUZfHaqeohLmnC0FdxEh7rQU+6MZ4OajItzjZFSRtVANrQwNq6/g=="],
|
| 452 |
+
|
| 453 |
+
"gopd": ["gopd@1.2.0", "", {}, "sha512-ZUKRh6/kUFoAiTAtTYPZJ3hw9wNxx+BIBOijnlG9PnrJsCcSjs1wyyD6vJpaYtgnzDrKYRSqf3OO6Rfa93xsRg=="],
|
| 454 |
+
|
| 455 |
+
"graceful-fs": ["graceful-fs@4.2.11", "", {}, "sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ=="],
|
| 456 |
+
|
| 457 |
+
"graphemer": ["graphemer@1.4.0", "", {}, "sha512-EtKwoO6kxCL9WO5xipiHTZlSzBm7WLT627TqC/uVRd0HKmq8NXyebnNYxDoBi7wt8eTWrUrKXCOVaFq9x1kgag=="],
|
| 458 |
+
|
| 459 |
+
"has-bigints": ["has-bigints@1.1.0", "", {}, "sha512-R3pbpkcIqv2Pm3dUwgjclDRVmWpTJW2DcMzcIhEXEx1oh/CEMObMm3KLmRJOdvhM7o4uQBnwr8pzRK2sJWIqfg=="],
|
| 460 |
+
|
| 461 |
+
"has-flag": ["has-flag@4.0.0", "", {}, "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ=="],
|
| 462 |
+
|
| 463 |
+
"has-property-descriptors": ["has-property-descriptors@1.0.2", "", { "dependencies": { "es-define-property": "^1.0.0" } }, "sha512-55JNKuIW+vq4Ke1BjOTjM2YctQIvCT7GFzHwmfZPGo5wnrgkid0YQtnAleFSqumZm4az3n2BS+erby5ipJdgrg=="],
|
| 464 |
+
|
| 465 |
+
"has-proto": ["has-proto@1.2.0", "", { "dependencies": { "dunder-proto": "^1.0.0" } }, "sha512-KIL7eQPfHQRC8+XluaIw7BHUwwqL19bQn4hzNgdr+1wXoU0KKj6rufu47lhY7KbJR2C6T6+PfyN0Ea7wkSS+qQ=="],
|
| 466 |
+
|
| 467 |
+
"has-symbols": ["has-symbols@1.1.0", "", {}, "sha512-1cDNdwJ2Jaohmb3sg4OmKaMBwuC48sYni5HUw2DvsC8LjGTLK9h+eb1X6RyuOHe4hT0ULCW68iomhjUoKUqlPQ=="],
|
| 468 |
+
|
| 469 |
+
"has-tostringtag": ["has-tostringtag@1.0.2", "", { "dependencies": { "has-symbols": "^1.0.3" } }, "sha512-NqADB8VjPFLM2V0VvHUewwwsw0ZWBaIdgo+ieHtK3hasLz4qeCRjYcqfB6AQrBggRKppKF8L52/VqdVsO47Dlw=="],
|
| 470 |
+
|
| 471 |
+
"hasown": ["hasown@2.0.2", "", { "dependencies": { "function-bind": "^1.1.2" } }, "sha512-0hJU9SCPvmMzIBdZFqNPXWa6dqh7WdH0cII9y+CyS8rG3nL48Bclra9HmKhVVUHyPWNH5Y7xDwAB7bfgSjkUMQ=="],
|
| 472 |
+
|
| 473 |
+
"ignore": ["ignore@5.3.2", "", {}, "sha512-hsBTNUqQTDwkWtcdYI2i06Y/nUBEsNEDJKjWdigLvegy8kDuJAS8uRlpkkcQpyEXL0Z/pjDy5HBmMjRCJ2gq+g=="],
|
| 474 |
+
|
| 475 |
+
"import-fresh": ["import-fresh@3.3.1", "", { "dependencies": { "parent-module": "^1.0.0", "resolve-from": "^4.0.0" } }, "sha512-TR3KfrTZTYLPB6jUjfx6MF9WcWrHL9su5TObK4ZkYgBdWKPOFoSoQIdEuTuR82pmtxH2spWG9h6etwfr1pLBqQ=="],
|
| 476 |
+
|
| 477 |
+
"imurmurhash": ["imurmurhash@0.1.4", "", {}, "sha512-JmXMZ6wuvDmLiHEml9ykzqO6lwFbof0GG4IkcGaENdCRDDmMVnny7s5HsIgHCbaq0w2MyPhDqkhTUgS2LU2PHA=="],
|
| 478 |
+
|
| 479 |
+
"internal-slot": ["internal-slot@1.1.0", "", { "dependencies": { "es-errors": "^1.3.0", "hasown": "^2.0.2", "side-channel": "^1.1.0" } }, "sha512-4gd7VpWNQNB4UKKCFFVcp1AVv+FMOgs9NKzjHKusc8jTMhd5eL1NqQqOpE0KzMds804/yHlglp3uxgluOqAPLw=="],
|
| 480 |
+
|
| 481 |
+
"is-array-buffer": ["is-array-buffer@3.0.5", "", { "dependencies": { "call-bind": "^1.0.8", "call-bound": "^1.0.3", "get-intrinsic": "^1.2.6" } }, "sha512-DDfANUiiG2wC1qawP66qlTugJeL5HyzMpfr8lLK+jMQirGzNod0B12cFB/9q838Ru27sBwfw78/rdoU7RERz6A=="],
|
| 482 |
+
|
| 483 |
+
"is-arrayish": ["is-arrayish@0.3.2", "", {}, "sha512-eVRqCvVlZbuw3GrM63ovNSNAeA1K16kaR/LRY/92w0zxQ5/1YzwblUX652i4Xs9RwAGjW9d9y6X88t8OaAJfWQ=="],
|
| 484 |
+
|
| 485 |
+
"is-async-function": ["is-async-function@2.1.1", "", { "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" } }, "sha512-9dgM/cZBnNvjzaMYHVoxxfPj2QXt22Ev7SuuPrs+xav0ukGB0S6d4ydZdEiM48kLx5kDV+QBPrpVnFyefL8kkQ=="],
|
| 486 |
+
|
| 487 |
+
"is-bigint": ["is-bigint@1.1.0", "", { "dependencies": { "has-bigints": "^1.0.2" } }, "sha512-n4ZT37wG78iz03xPRKJrHTdZbe3IicyucEtdRsV5yglwc3GyUfbAfpSeD0FJ41NbUNSt5wbhqfp1fS+BgnvDFQ=="],
|
| 488 |
+
|
| 489 |
+
"is-boolean-object": ["is-boolean-object@1.2.2", "", { "dependencies": { "call-bound": "^1.0.3", "has-tostringtag": "^1.0.2" } }, "sha512-wa56o2/ElJMYqjCjGkXri7it5FbebW5usLw/nPmCMs5DeZ7eziSYZhSmPRn0txqeW4LnAmQQU7FgqLpsEFKM4A=="],
|
| 490 |
+
|
| 491 |
+
"is-bun-module": ["is-bun-module@2.0.0", "", { "dependencies": { "semver": "^7.7.1" } }, "sha512-gNCGbnnnnFAUGKeZ9PdbyeGYJqewpmc2aKHUEMO5nQPWU9lOmv7jcmQIv+qHD8fXW6W7qfuCwX4rY9LNRjXrkQ=="],
|
| 492 |
+
|
| 493 |
+
"is-callable": ["is-callable@1.2.7", "", {}, "sha512-1BC0BVFhS/p0qtw6enp8e+8OD0UrK0oFLztSjNzhcKA3WDuJxxAPXzPuPtKkjEY9UUoEWlX/8fgKeu2S8i9JTA=="],
|
| 494 |
+
|
| 495 |
+
"is-core-module": ["is-core-module@2.16.1", "", { "dependencies": { "hasown": "^2.0.2" } }, "sha512-UfoeMA6fIJ8wTYFEUjelnaGI67v6+N7qXJEvQuIGa99l4xsCruSYOVSQ0uPANn4dAzm8lkYPaKLrrijLq7x23w=="],
|
| 496 |
+
|
| 497 |
+
"is-data-view": ["is-data-view@1.0.2", "", { "dependencies": { "call-bound": "^1.0.2", "get-intrinsic": "^1.2.6", "is-typed-array": "^1.1.13" } }, "sha512-RKtWF8pGmS87i2D6gqQu/l7EYRlVdfzemCJN/P3UOs//x1QE7mfhvzHIApBTRf7axvT6DMGwSwBXYCT0nfB9xw=="],
|
| 498 |
+
|
| 499 |
+
"is-date-object": ["is-date-object@1.1.0", "", { "dependencies": { "call-bound": "^1.0.2", "has-tostringtag": "^1.0.2" } }, "sha512-PwwhEakHVKTdRNVOw+/Gyh0+MzlCl4R6qKvkhuvLtPMggI1WAHt9sOwZxQLSGpUaDnrdyDsomoRgNnCfKNSXXg=="],
|
| 500 |
+
|
| 501 |
+
"is-extglob": ["is-extglob@2.1.1", "", {}, "sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ=="],
|
| 502 |
+
|
| 503 |
+
"is-finalizationregistry": ["is-finalizationregistry@1.1.1", "", { "dependencies": { "call-bound": "^1.0.3" } }, "sha512-1pC6N8qWJbWoPtEjgcL2xyhQOP491EQjeUo3qTKcmV8YSDDJrOepfG8pcC7h/QgnQHYSv0mJ3Z/ZWxmatVrysg=="],
|
| 504 |
+
|
| 505 |
+
"is-generator-function": ["is-generator-function@1.1.0", "", { "dependencies": { "call-bound": "^1.0.3", "get-proto": "^1.0.0", "has-tostringtag": "^1.0.2", "safe-regex-test": "^1.1.0" } }, "sha512-nPUB5km40q9e8UfN/Zc24eLlzdSf9OfKByBw9CIdw4H1giPMeA0OIJvbchsCu4npfI2QcMVBsGEBHKZ7wLTWmQ=="],
|
| 506 |
+
|
| 507 |
+
"is-glob": ["is-glob@4.0.3", "", { "dependencies": { "is-extglob": "^2.1.1" } }, "sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg=="],
|
| 508 |
+
|
| 509 |
+
"is-map": ["is-map@2.0.3", "", {}, "sha512-1Qed0/Hr2m+YqxnM09CjA2d/i6YZNfF6R2oRAOj36eUdS6qIV/huPJNSEpKbupewFs+ZsJlxsjjPbc0/afW6Lw=="],
|
| 510 |
+
|
| 511 |
+
"is-number": ["is-number@7.0.0", "", {}, "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng=="],
|
| 512 |
+
|
| 513 |
+
"is-number-object": ["is-number-object@1.1.1", "", { "dependencies": { "call-bound": "^1.0.3", "has-tostringtag": "^1.0.2" } }, "sha512-lZhclumE1G6VYD8VHe35wFaIif+CTy5SJIi5+3y4psDgWu4wPDoBhF8NxUOinEc7pHgiTsT6MaBb92rKhhD+Xw=="],
|
| 514 |
+
|
| 515 |
+
"is-regex": ["is-regex@1.2.1", "", { "dependencies": { "call-bound": "^1.0.2", "gopd": "^1.2.0", "has-tostringtag": "^1.0.2", "hasown": "^2.0.2" } }, "sha512-MjYsKHO5O7mCsmRGxWcLWheFqN9DJ/2TmngvjKXihe6efViPqc274+Fx/4fYj/r03+ESvBdTXK0V6tA3rgez1g=="],
|
| 516 |
+
|
| 517 |
+
"is-set": ["is-set@2.0.3", "", {}, "sha512-iPAjerrse27/ygGLxw+EBR9agv9Y6uLeYVJMu+QNCoouJ1/1ri0mGrcWpfCqFZuzzx3WjtwxG098X+n4OuRkPg=="],
|
| 518 |
+
|
| 519 |
+
"is-shared-array-buffer": ["is-shared-array-buffer@1.0.4", "", { "dependencies": { "call-bound": "^1.0.3" } }, "sha512-ISWac8drv4ZGfwKl5slpHG9OwPNty4jOWPRIhBpxOoD+hqITiwuipOQ2bNthAzwA3B4fIjO4Nln74N0S9byq8A=="],
|
| 520 |
+
|
| 521 |
+
"is-string": ["is-string@1.1.1", "", { "dependencies": { "call-bound": "^1.0.3", "has-tostringtag": "^1.0.2" } }, "sha512-BtEeSsoaQjlSPBemMQIrY1MY0uM6vnS1g5fmufYOtnxLGUZM2178PKbhsk7Ffv58IX+ZtcvoGwccYsh0PglkAA=="],
|
| 522 |
+
|
| 523 |
+
"is-symbol": ["is-symbol@1.1.1", "", { "dependencies": { "call-bound": "^1.0.2", "has-symbols": "^1.1.0", "safe-regex-test": "^1.1.0" } }, "sha512-9gGx6GTtCQM73BgmHQXfDmLtfjjTUDSyoxTCbp5WtoixAhfgsDirWIcVQ/IHpvI5Vgd5i/J5F7B9cN/WlVbC/w=="],
|
| 524 |
+
|
| 525 |
+
"is-typed-array": ["is-typed-array@1.1.15", "", { "dependencies": { "which-typed-array": "^1.1.16" } }, "sha512-p3EcsicXjit7SaskXHs1hA91QxgTw46Fv6EFKKGS5DRFLD8yKnohjF3hxoju94b/OcMZoQukzpPpBE9uLVKzgQ=="],
|
| 526 |
+
|
| 527 |
+
"is-weakmap": ["is-weakmap@2.0.2", "", {}, "sha512-K5pXYOm9wqY1RgjpL3YTkF39tni1XajUIkawTLUo9EZEVUFga5gSQJF8nNS7ZwJQ02y+1YCNYcMh+HIf1ZqE+w=="],
|
| 528 |
+
|
| 529 |
+
"is-weakref": ["is-weakref@1.1.1", "", { "dependencies": { "call-bound": "^1.0.3" } }, "sha512-6i9mGWSlqzNMEqpCp93KwRS1uUOodk2OJ6b+sq7ZPDSy2WuI5NFIxp/254TytR8ftefexkWn5xNiHUNpPOfSew=="],
|
| 530 |
+
|
| 531 |
+
"is-weakset": ["is-weakset@2.0.4", "", { "dependencies": { "call-bound": "^1.0.3", "get-intrinsic": "^1.2.6" } }, "sha512-mfcwb6IzQyOKTs84CQMrOwW4gQcaTOAWJ0zzJCl2WSPDrWk/OzDaImWFH3djXhb24g4eudZfLRozAvPGw4d9hQ=="],
|
| 532 |
+
|
| 533 |
+
"isarray": ["isarray@2.0.5", "", {}, "sha512-xHjhDr3cNBK0BzdUJSPXZntQUx/mwMS5Rw4A7lPJ90XGAO6ISP/ePDNuo0vhqOZU+UD5JoodwCAAoZQd3FeAKw=="],
|
| 534 |
+
|
| 535 |
+
"isexe": ["isexe@2.0.0", "", {}, "sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw=="],
|
| 536 |
+
|
| 537 |
+
"iterator.prototype": ["iterator.prototype@1.1.5", "", { "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" } }, "sha512-H0dkQoCa3b2VEeKQBOxFph+JAbcrQdE7KC0UkqwpLmv2EC4P41QXP+rqo9wYodACiG5/WM5s9oDApTU8utwj9g=="],
|
| 538 |
+
|
| 539 |
+
"jiti": ["jiti@2.4.2", "", { "bin": "lib/jiti-cli.mjs" }, "sha512-rg9zJN+G4n2nfJl5MW3BMygZX56zKPNVEYYqq7adpmMh4Jn2QNEwhvQlFy6jPVdcod7txZtKHWnyZiA3a0zP7A=="],
|
| 540 |
+
|
| 541 |
+
"js-tokens": ["js-tokens@4.0.0", "", {}, "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ=="],
|
| 542 |
+
|
| 543 |
+
"js-yaml": ["js-yaml@4.1.0", "", { "dependencies": { "argparse": "^2.0.1" }, "bin": "bin/js-yaml.js" }, "sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA=="],
|
| 544 |
+
|
| 545 |
+
"json-buffer": ["json-buffer@3.0.1", "", {}, "sha512-4bV5BfR2mqfQTJm+V5tPPdf+ZpuhiIvTuAB5g8kcrXOZpTT/QwwVRWBywX1ozr6lEuPdbHxwaJlm9G6mI2sfSQ=="],
|
| 546 |
+
|
| 547 |
+
"json-schema-traverse": ["json-schema-traverse@0.4.1", "", {}, "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg=="],
|
| 548 |
+
|
| 549 |
+
"json-stable-stringify-without-jsonify": ["json-stable-stringify-without-jsonify@1.0.1", "", {}, "sha512-Bdboy+l7tA3OGW6FjyFHWkP5LuByj1Tk33Ljyq0axyzdk9//JSi2u3fP1QSmd1KNwq6VOKYGlAu87CisVir6Pw=="],
|
| 550 |
+
|
| 551 |
+
"json5": ["json5@1.0.2", "", { "dependencies": { "minimist": "^1.2.0" }, "bin": "lib/cli.js" }, "sha512-g1MWMLBiz8FKi1e4w0UyVL3w+iJceWAFBAaBnnGKOpNa5f8TLktkbre1+s6oICydWAm+HRUGTmI+//xv2hvXYA=="],
|
| 552 |
+
|
| 553 |
+
"jsx-ast-utils": ["jsx-ast-utils@3.3.5", "", { "dependencies": { "array-includes": "^3.1.6", "array.prototype.flat": "^1.3.1", "object.assign": "^4.1.4", "object.values": "^1.1.6" } }, "sha512-ZZow9HBI5O6EPgSJLUb8n2NKgmVWTwCvHGwFuJlMjvLFqlGG6pjirPhtdsseaLZjSibD8eegzmYpUZwoIlj2cQ=="],
|
| 554 |
+
|
| 555 |
+
"keyv": ["keyv@4.5.4", "", { "dependencies": { "json-buffer": "3.0.1" } }, "sha512-oxVHkHR/EJf2CNXnWxRLW6mg7JyCCUcG0DtEGmL2ctUo1PNTin1PUil+r/+4r5MpVgC/fn1kjsx7mjSujKqIpw=="],
|
| 556 |
+
|
| 557 |
+
"language-subtag-registry": ["language-subtag-registry@0.3.23", "", {}, "sha512-0K65Lea881pHotoGEa5gDlMxt3pctLi2RplBb7Ezh4rRdLEOtgi7n4EwK9lamnUCkKBqaeKRVebTq6BAxSkpXQ=="],
|
| 558 |
+
|
| 559 |
+
"language-tags": ["language-tags@1.0.9", "", { "dependencies": { "language-subtag-registry": "^0.3.20" } }, "sha512-MbjN408fEndfiQXbFQ1vnd+1NoLDsnQW41410oQBXiyXDMYH5z505juWa4KUE1LqxRC7DgOgZDbKLxHIwm27hA=="],
|
| 560 |
+
|
| 561 |
+
"levn": ["levn@0.4.1", "", { "dependencies": { "prelude-ls": "^1.2.1", "type-check": "~0.4.0" } }, "sha512-+bT2uH4E5LGE7h/n3evcS/sQlJXCpIp6ym8OWJ5eV6+67Dsql/LaaT7qJBAt2rzfoa/5QBGBhxDix1dMt2kQKQ=="],
|
| 562 |
+
|
| 563 |
+
"lightningcss": ["lightningcss@1.30.1", "", { "dependencies": { "detect-libc": "^2.0.3" }, "optionalDependencies": { "lightningcss-darwin-arm64": "1.30.1", "lightningcss-darwin-x64": "1.30.1", "lightningcss-freebsd-x64": "1.30.1", "lightningcss-linux-arm-gnueabihf": "1.30.1", "lightningcss-linux-arm64-gnu": "1.30.1", "lightningcss-linux-arm64-musl": "1.30.1", "lightningcss-linux-x64-gnu": "1.30.1", "lightningcss-linux-x64-musl": "1.30.1", "lightningcss-win32-arm64-msvc": "1.30.1", "lightningcss-win32-x64-msvc": "1.30.1" } }, "sha512-xi6IyHML+c9+Q3W0S4fCQJOym42pyurFiJUHEcEyHS0CeKzia4yZDEsLlqOFykxOdHpNy0NmvVO31vcSqAxJCg=="],
|
| 564 |
+
|
| 565 |
+
"lightningcss-darwin-arm64": ["lightningcss-darwin-arm64@1.30.1", "", { "os": "darwin", "cpu": "arm64" }, "sha512-c8JK7hyE65X1MHMN+Viq9n11RRC7hgin3HhYKhrMyaXflk5GVplZ60IxyoVtzILeKr+xAJwg6zK6sjTBJ0FKYQ=="],
|
| 566 |
+
|
| 567 |
+
"lightningcss-darwin-x64": ["lightningcss-darwin-x64@1.30.1", "", { "os": "darwin", "cpu": "x64" }, "sha512-k1EvjakfumAQoTfcXUcHQZhSpLlkAuEkdMBsI/ivWw9hL+7FtilQc0Cy3hrx0AAQrVtQAbMI7YjCgYgvn37PzA=="],
|
| 568 |
+
|
| 569 |
+
"lightningcss-freebsd-x64": ["lightningcss-freebsd-x64@1.30.1", "", { "os": "freebsd", "cpu": "x64" }, "sha512-kmW6UGCGg2PcyUE59K5r0kWfKPAVy4SltVeut+umLCFoJ53RdCUWxcRDzO1eTaxf/7Q2H7LTquFHPL5R+Gjyig=="],
|
| 570 |
+
|
| 571 |
+
"lightningcss-linux-arm-gnueabihf": ["lightningcss-linux-arm-gnueabihf@1.30.1", "", { "os": "linux", "cpu": "arm" }, "sha512-MjxUShl1v8pit+6D/zSPq9S9dQ2NPFSQwGvxBCYaBYLPlCWuPh9/t1MRS8iUaR8i+a6w7aps+B4N0S1TYP/R+Q=="],
|
| 572 |
+
|
| 573 |
+
"lightningcss-linux-arm64-gnu": ["lightningcss-linux-arm64-gnu@1.30.1", "", { "os": "linux", "cpu": "arm64" }, "sha512-gB72maP8rmrKsnKYy8XUuXi/4OctJiuQjcuqWNlJQ6jZiWqtPvqFziskH3hnajfvKB27ynbVCucKSm2rkQp4Bw=="],
|
| 574 |
+
|
| 575 |
+
"lightningcss-linux-arm64-musl": ["lightningcss-linux-arm64-musl@1.30.1", "", { "os": "linux", "cpu": "arm64" }, "sha512-jmUQVx4331m6LIX+0wUhBbmMX7TCfjF5FoOH6SD1CttzuYlGNVpA7QnrmLxrsub43ClTINfGSYyHe2HWeLl5CQ=="],
|
| 576 |
+
|
| 577 |
+
"lightningcss-linux-x64-gnu": ["lightningcss-linux-x64-gnu@1.30.1", "", { "os": "linux", "cpu": "x64" }, "sha512-piWx3z4wN8J8z3+O5kO74+yr6ze/dKmPnI7vLqfSqI8bccaTGY5xiSGVIJBDd5K5BHlvVLpUB3S2YCfelyJ1bw=="],
|
| 578 |
+
|
| 579 |
+
"lightningcss-linux-x64-musl": ["lightningcss-linux-x64-musl@1.30.1", "", { "os": "linux", "cpu": "x64" }, "sha512-rRomAK7eIkL+tHY0YPxbc5Dra2gXlI63HL+v1Pdi1a3sC+tJTcFrHX+E86sulgAXeI7rSzDYhPSeHHjqFhqfeQ=="],
|
| 580 |
+
|
| 581 |
+
"lightningcss-win32-arm64-msvc": ["lightningcss-win32-arm64-msvc@1.30.1", "", { "os": "win32", "cpu": "arm64" }, "sha512-mSL4rqPi4iXq5YVqzSsJgMVFENoa4nGTT/GjO2c0Yl9OuQfPsIfncvLrEW6RbbB24WtZ3xP/2CCmI3tNkNV4oA=="],
|
| 582 |
+
|
| 583 |
+
"lightningcss-win32-x64-msvc": ["lightningcss-win32-x64-msvc@1.30.1", "", { "os": "win32", "cpu": "x64" }, "sha512-PVqXh48wh4T53F/1CCu8PIPCxLzWyCnn/9T5W1Jpmdy5h9Cwd+0YQS6/LwhHXSafuc61/xg9Lv5OrCby6a++jg=="],
|
| 584 |
+
|
| 585 |
+
"locate-path": ["locate-path@6.0.0", "", { "dependencies": { "p-locate": "^5.0.0" } }, "sha512-iPZK6eYjbxRu3uB4/WZ3EsEIMJFMqAoopl3R+zuq0UjcAm/MO6KCweDgPfP3elTztoKP3KtnVHxTn2NHBSDVUw=="],
|
| 586 |
+
|
| 587 |
+
"lodash.merge": ["lodash.merge@4.6.2", "", {}, "sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ=="],
|
| 588 |
+
|
| 589 |
+
"loose-envify": ["loose-envify@1.4.0", "", { "dependencies": { "js-tokens": "^3.0.0 || ^4.0.0" }, "bin": "cli.js" }, "sha512-lyuxPGr/Wfhrlem2CL/UcnUc1zcqKAImBDzukY7Y5F/yQiNdko6+fRLevlw1HgMySw7f611UIY408EtxRSoK3Q=="],
|
| 590 |
+
|
| 591 |
+
"lucide-react": ["lucide-react@0.511.0", "", { "peerDependencies": { "react": "^16.5.1 || ^17.0.0 || ^18.0.0 || ^19.0.0" } }, "sha512-VK5a2ydJ7xm8GvBeKLS9mu1pVK6ucef9780JVUjw6bAjJL/QXnd4Y0p7SPeOUMC27YhzNCZvm5d/QX0Tp3rc0w=="],
|
| 592 |
+
|
| 593 |
+
"magic-string": ["magic-string@0.30.17", "", { "dependencies": { "@jridgewell/sourcemap-codec": "^1.5.0" } }, "sha512-sNPKHvyjVf7gyjwS4xGTaW/mCnF8wnjtifKBEhxfZ7E/S8tQ0rssrwGNn6q8JH/ohItJfSQp9mBtQYuTlH5QnA=="],
|
| 594 |
+
|
| 595 |
+
"math-intrinsics": ["math-intrinsics@1.1.0", "", {}, "sha512-/IXtbwEk5HTPyEwyKX6hGkYXxM9nbj64B+ilVJnC/R6B0pH5G4V3b0pVbL7DBj4tkhBAppbQUlf6F6Xl9LHu1g=="],
|
| 596 |
+
|
| 597 |
+
"merge2": ["merge2@1.4.1", "", {}, "sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg=="],
|
| 598 |
+
|
| 599 |
+
"micromatch": ["micromatch@4.0.8", "", { "dependencies": { "braces": "^3.0.3", "picomatch": "^2.3.1" } }, "sha512-PXwfBhYu0hBCPw8Dn0E+WDYb7af3dSLVWKi3HGv84IdF4TyFoC0ysxFd0Goxw7nSv4T/PzEJQxsYsEiFCKo2BA=="],
|
| 600 |
+
|
| 601 |
+
"minimatch": ["minimatch@3.1.2", "", { "dependencies": { "brace-expansion": "^1.1.7" } }, "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw=="],
|
| 602 |
+
|
| 603 |
+
"minimist": ["minimist@1.2.8", "", {}, "sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA=="],
|
| 604 |
+
|
| 605 |
+
"minipass": ["minipass@7.1.2", "", {}, "sha512-qOOzS1cBTWYF4BH8fVePDBOO9iptMnGUEZwNc/cMWnTV2nVLZ7VoNWEPHkYczZA0pdoA7dl6e7FL659nX9S2aw=="],
|
| 606 |
+
|
| 607 |
+
"minizlib": ["minizlib@3.0.2", "", { "dependencies": { "minipass": "^7.1.2" } }, "sha512-oG62iEk+CYt5Xj2YqI5Xi9xWUeZhDI8jjQmC5oThVH5JGCTgIjr7ciJDzC7MBzYd//WvR1OTmP5Q38Q8ShQtVA=="],
|
| 608 |
+
|
| 609 |
+
"mkdirp": ["mkdirp@3.0.1", "", { "bin": "dist/cjs/src/bin.js" }, "sha512-+NsyUUAZDmo6YVHzL/stxSu3t9YS1iljliy3BSDrXJ/dkn1KYdmtZODGGjLcc9XLgVVpH4KshHB8XmZgMhaBXg=="],
|
| 610 |
+
|
| 611 |
+
"monaco-editor": ["monaco-editor@0.52.2", "", {}, "sha512-GEQWEZmfkOGLdd3XK8ryrfWz3AIP8YymVXiPHEdewrUq7mh0qrKrfHLNCXcbB6sTnMLnOZ3ztSiKcciFUkIJwQ=="],
|
| 612 |
+
|
| 613 |
+
"ms": ["ms@2.1.3", "", {}, "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA=="],
|
| 614 |
+
|
| 615 |
+
"nanoid": ["nanoid@3.3.11", "", { "bin": "bin/nanoid.cjs" }, "sha512-N8SpfPUnUp1bK+PMYW8qSWdl9U+wwNWI4QKxOYDy9JAro3WMX7p2OeVRF9v+347pnakNevPmiHhNmZ2HbFA76w=="],
|
| 616 |
+
|
| 617 |
+
"napi-postinstall": ["napi-postinstall@0.2.4", "", { "bin": "lib/cli.js" }, "sha512-ZEzHJwBhZ8qQSbknHqYcdtQVr8zUgGyM/q6h6qAyhtyVMNrSgDhrC4disf03dYW0e+czXyLnZINnCTEkWy0eJg=="],
|
| 618 |
+
|
| 619 |
+
"natural-compare": ["natural-compare@1.4.0", "", {}, "sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw=="],
|
| 620 |
+
|
| 621 |
+
"next": ["next@15.3.2", "", { "dependencies": { "@next/env": "15.3.2", "@swc/counter": "0.1.3", "@swc/helpers": "0.5.15", "busboy": "1.6.0", "caniuse-lite": "^1.0.30001579", "postcss": "8.4.31", "styled-jsx": "5.1.6" }, "optionalDependencies": { "@next/swc-darwin-arm64": "15.3.2", "@next/swc-darwin-x64": "15.3.2", "@next/swc-linux-arm64-gnu": "15.3.2", "@next/swc-linux-arm64-musl": "15.3.2", "@next/swc-linux-x64-gnu": "15.3.2", "@next/swc-linux-x64-musl": "15.3.2", "@next/swc-win32-arm64-msvc": "15.3.2", "@next/swc-win32-x64-msvc": "15.3.2", "sharp": "^0.34.1" }, "peerDependencies": { "@opentelemetry/api": "^1.1.0", "@playwright/test": "^1.41.2", "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" }, "optionalPeers": ["@opentelemetry/api", "@playwright/test", "babel-plugin-react-compiler", "sass"], "bin": "dist/bin/next" }, "sha512-CA3BatMyHkxZ48sgOCLdVHjFU36N7TF1HhqAHLFOkV6buwZnvMI84Cug8xD56B9mCuKrqXnLn94417GrZ/jjCQ=="],
|
| 622 |
+
|
| 623 |
+
"object-assign": ["object-assign@4.1.1", "", {}, "sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg=="],
|
| 624 |
+
|
| 625 |
+
"object-inspect": ["object-inspect@1.13.4", "", {}, "sha512-W67iLl4J2EXEGTbfeHCffrjDfitvLANg0UlX3wFUUSTx92KXRFegMHUVgSqE+wvhAbi4WqjGg9czysTV2Epbew=="],
|
| 626 |
+
|
| 627 |
+
"object-keys": ["object-keys@1.1.1", "", {}, "sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA=="],
|
| 628 |
+
|
| 629 |
+
"object.assign": ["object.assign@4.1.7", "", { "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" } }, "sha512-nK28WOo+QIjBkDduTINE4JkF/UJJKyf2EJxvJKfblDpyg0Q+pkOHNTL0Qwy6NP6FhE/EnzV73BxxqcJaXY9anw=="],
|
| 630 |
+
|
| 631 |
+
"object.entries": ["object.entries@1.1.9", "", { "dependencies": { "call-bind": "^1.0.8", "call-bound": "^1.0.4", "define-properties": "^1.2.1", "es-object-atoms": "^1.1.1" } }, "sha512-8u/hfXFRBD1O0hPUjioLhoWFHRmt6tKA4/vZPyckBr18l1KE9uHrFaFaUi8MDRTpi4uak2goyPTSNJLXX2k2Hw=="],
|
| 632 |
+
|
| 633 |
+
"object.fromentries": ["object.fromentries@2.0.8", "", { "dependencies": { "call-bind": "^1.0.7", "define-properties": "^1.2.1", "es-abstract": "^1.23.2", "es-object-atoms": "^1.0.0" } }, "sha512-k6E21FzySsSK5a21KRADBd/NGneRegFO5pLHfdQLpRDETUNJueLXs3WCzyQ3tFRDYgbq3KHGXfTbi2bs8WQ6rQ=="],
|
| 634 |
+
|
| 635 |
+
"object.groupby": ["object.groupby@1.0.3", "", { "dependencies": { "call-bind": "^1.0.7", "define-properties": "^1.2.1", "es-abstract": "^1.23.2" } }, "sha512-+Lhy3TQTuzXI5hevh8sBGqbmurHbbIjAi0Z4S63nthVLmLxfbj4T54a4CfZrXIrt9iP4mVAPYMo/v99taj3wjQ=="],
|
| 636 |
+
|
| 637 |
+
"object.values": ["object.values@1.2.1", "", { "dependencies": { "call-bind": "^1.0.8", "call-bound": "^1.0.3", "define-properties": "^1.2.1", "es-object-atoms": "^1.0.0" } }, "sha512-gXah6aZrcUxjWg2zR2MwouP2eHlCBzdV4pygudehaKXSGW4v2AsRQUK+lwwXhii6KFZcunEnmSUoYp5CXibxtA=="],
|
| 638 |
+
|
| 639 |
+
"optionator": ["optionator@0.9.4", "", { "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" } }, "sha512-6IpQ7mKUxRcZNLIObR0hz7lxsapSSIYNZJwXPGeF0mTVqGKFIXj1DQcMoT22S3ROcLyY/rz0PWaWZ9ayWmad9g=="],
|
| 640 |
+
|
| 641 |
+
"own-keys": ["own-keys@1.0.1", "", { "dependencies": { "get-intrinsic": "^1.2.6", "object-keys": "^1.1.1", "safe-push-apply": "^1.0.0" } }, "sha512-qFOyK5PjiWZd+QQIh+1jhdb9LpxTF0qs7Pm8o5QHYZ0M3vKqSqzsZaEB6oWlxZ+q2sJBMI/Ktgd2N5ZwQoRHfg=="],
|
| 642 |
+
|
| 643 |
+
"p-limit": ["p-limit@3.1.0", "", { "dependencies": { "yocto-queue": "^0.1.0" } }, "sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ=="],
|
| 644 |
+
|
| 645 |
+
"p-locate": ["p-locate@5.0.0", "", { "dependencies": { "p-limit": "^3.0.2" } }, "sha512-LaNjtRWUBY++zB5nE/NwcaoMylSPk+S+ZHNB1TzdbMJMny6dynpAGt7X/tl/QYq3TIeE6nxHppbo2LGymrG5Pw=="],
|
| 646 |
+
|
| 647 |
+
"parent-module": ["parent-module@1.0.1", "", { "dependencies": { "callsites": "^3.0.0" } }, "sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g=="],
|
| 648 |
+
|
| 649 |
+
"path-exists": ["path-exists@4.0.0", "", {}, "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w=="],
|
| 650 |
+
|
| 651 |
+
"path-key": ["path-key@3.1.1", "", {}, "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q=="],
|
| 652 |
+
|
| 653 |
+
"path-parse": ["path-parse@1.0.7", "", {}, "sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw=="],
|
| 654 |
+
|
| 655 |
+
"picocolors": ["picocolors@1.1.1", "", {}, "sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA=="],
|
| 656 |
+
|
| 657 |
+
"picomatch": ["picomatch@4.0.2", "", {}, "sha512-M7BAV6Rlcy5u+m6oPhAPFgJTzAioX/6B0DxyvDlo9l8+T3nLKbrczg2WLUyzd45L8RqfUMyGPzekbMvX2Ldkwg=="],
|
| 658 |
+
|
| 659 |
+
"possible-typed-array-names": ["possible-typed-array-names@1.1.0", "", {}, "sha512-/+5VFTchJDoVj3bhoqi6UeymcD00DAwb1nJwamzPvHEszJ4FpF6SNNbUbOS8yI56qHzdV8eK0qEfOSiodkTdxg=="],
|
| 660 |
+
|
| 661 |
+
"postcss": ["postcss@8.5.3", "", { "dependencies": { "nanoid": "^3.3.8", "picocolors": "^1.1.1", "source-map-js": "^1.2.1" } }, "sha512-dle9A3yYxlBSrt8Fu+IpjGT8SY8hN0mlaA6GY8t0P5PjIOZemULz/E2Bnm/2dcUOena75OTNkHI76uZBNUUq3A=="],
|
| 662 |
+
|
| 663 |
+
"prelude-ls": ["prelude-ls@1.2.1", "", {}, "sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g=="],
|
| 664 |
+
|
| 665 |
+
"prop-types": ["prop-types@15.8.1", "", { "dependencies": { "loose-envify": "^1.4.0", "object-assign": "^4.1.1", "react-is": "^16.13.1" } }, "sha512-oj87CgZICdulUohogVAR7AjlC0327U4el4L6eAvOqCeudMDVU0NThNaV+b9Df4dXgSP1gXMTnPdhfe/2qDH5cg=="],
|
| 666 |
+
|
| 667 |
+
"punycode": ["punycode@2.3.1", "", {}, "sha512-vYt7UD1U9Wg6138shLtLOvdAu+8DsC/ilFtEVHcH+wydcSpNE20AfSOduf6MkRFahL5FY7X1oU7nKVZFtfq8Fg=="],
|
| 668 |
+
|
| 669 |
+
"queue-microtask": ["queue-microtask@1.2.3", "", {}, "sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A=="],
|
| 670 |
+
|
| 671 |
+
"react": ["react@19.1.0", "", {}, "sha512-FS+XFBNvn3GTAWq26joslQgWNoFu08F4kl0J4CgdNKADkdSGXQyTCnKteIAJy96Br6YbpEU1LSzV5dYtjMkMDg=="],
|
| 672 |
+
|
| 673 |
+
"react-dom": ["react-dom@19.1.0", "", { "dependencies": { "scheduler": "^0.26.0" }, "peerDependencies": { "react": "^19.1.0" } }, "sha512-Xs1hdnE+DyKgeHJeJznQmYMIBG3TKIHJJT95Q58nHLSrElKlGQqDTR2HQ9fx5CN/Gk6Vh/kupBTDLU11/nDk/g=="],
|
| 674 |
+
|
| 675 |
+
"react-hot-toast": ["react-hot-toast@2.5.2", "", { "dependencies": { "csstype": "^3.1.3", "goober": "^2.1.16" }, "peerDependencies": { "react": ">=16", "react-dom": ">=16" } }, "sha512-Tun3BbCxzmXXM7C+NI4qiv6lT0uwGh4oAfeJyNOjYUejTsm35mK9iCaYLGv8cBz9L5YxZLx/2ii7zsIwPtPUdw=="],
|
| 676 |
+
|
| 677 |
+
"react-icons": ["react-icons@5.5.0", "", { "peerDependencies": { "react": "*" } }, "sha512-MEFcXdkP3dLo8uumGI5xN3lDFNsRtrjbOEKDLD7yv76v4wpnEq2Lt2qeHaQOr34I/wPN3s3+N08WkQ+CW37Xiw=="],
|
| 678 |
+
|
| 679 |
+
"react-is": ["react-is@16.13.1", "", {}, "sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ=="],
|
| 680 |
+
|
| 681 |
+
"reflect.getprototypeof": ["reflect.getprototypeof@1.0.10", "", { "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" } }, "sha512-00o4I+DVrefhv+nX0ulyi3biSHCPDe+yLv5o/p6d/UVlirijB8E16FtfwSAi4g3tcqrQ4lRAqQSoFEZJehYEcw=="],
|
| 682 |
+
|
| 683 |
+
"regexp.prototype.flags": ["regexp.prototype.flags@1.5.4", "", { "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" } }, "sha512-dYqgNSZbDwkaJ2ceRd9ojCGjBq+mOm9LmtXnAnEGyHhN/5R7iDW2TRw3h+o/jCFxus3P2LfWIIiwowAjANm7IA=="],
|
| 684 |
+
|
| 685 |
+
"resolve": ["resolve@1.22.10", "", { "dependencies": { "is-core-module": "^2.16.0", "path-parse": "^1.0.7", "supports-preserve-symlinks-flag": "^1.0.0" }, "bin": "bin/resolve" }, "sha512-NPRy+/ncIMeDlTAsuqwKIiferiawhefFJtkNSW0qZJEqMEb+qBt/77B/jGeeek+F0uOeN05CDa6HXbbIgtVX4w=="],
|
| 686 |
+
|
| 687 |
+
"resolve-from": ["resolve-from@4.0.0", "", {}, "sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g=="],
|
| 688 |
+
|
| 689 |
+
"resolve-pkg-maps": ["resolve-pkg-maps@1.0.0", "", {}, "sha512-seS2Tj26TBVOC2NIc2rOe2y2ZO7efxITtLZcGSOnHHNOQ7CkiUBfw0Iw2ck6xkIhPwLhKNLS8BO+hEpngQlqzw=="],
|
| 690 |
+
|
| 691 |
+
"reusify": ["reusify@1.1.0", "", {}, "sha512-g6QUff04oZpHs0eG5p83rFLhHeV00ug/Yf9nZM6fLeUrPguBTkTQOdpAWWspMh55TZfVQDPaN3NQJfbVRAxdIw=="],
|
| 692 |
+
|
| 693 |
+
"run-parallel": ["run-parallel@1.2.0", "", { "dependencies": { "queue-microtask": "^1.2.2" } }, "sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA=="],
|
| 694 |
+
|
| 695 |
+
"safe-array-concat": ["safe-array-concat@1.1.3", "", { "dependencies": { "call-bind": "^1.0.8", "call-bound": "^1.0.2", "get-intrinsic": "^1.2.6", "has-symbols": "^1.1.0", "isarray": "^2.0.5" } }, "sha512-AURm5f0jYEOydBj7VQlVvDrjeFgthDdEF5H1dP+6mNpoXOMo1quQqJ4wvJDyRZ9+pO3kGWoOdmV08cSv2aJV6Q=="],
|
| 696 |
+
|
| 697 |
+
"safe-push-apply": ["safe-push-apply@1.0.0", "", { "dependencies": { "es-errors": "^1.3.0", "isarray": "^2.0.5" } }, "sha512-iKE9w/Z7xCzUMIZqdBsp6pEQvwuEebH4vdpjcDWnyzaI6yl6O9FHvVpmGelvEHNsoY6wGblkxR6Zty/h00WiSA=="],
|
| 698 |
+
|
| 699 |
+
"safe-regex-test": ["safe-regex-test@1.1.0", "", { "dependencies": { "call-bound": "^1.0.2", "es-errors": "^1.3.0", "is-regex": "^1.2.1" } }, "sha512-x/+Cz4YrimQxQccJf5mKEbIa1NzeCRNI5Ecl/ekmlYaampdNLPalVyIcCZNNH3MvmqBugV5TMYZXv0ljslUlaw=="],
|
| 700 |
+
|
| 701 |
+
"scheduler": ["scheduler@0.26.0", "", {}, "sha512-NlHwttCI/l5gCPR3D1nNXtWABUmBwvZpEQiD4IXSbIDq8BzLIK/7Ir5gTFSGZDUu37K5cMNp0hFtzO38sC7gWA=="],
|
| 702 |
+
|
| 703 |
+
"semver": ["semver@6.3.1", "", { "bin": "bin/semver.js" }, "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA=="],
|
| 704 |
+
|
| 705 |
+
"set-function-length": ["set-function-length@1.2.2", "", { "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" } }, "sha512-pgRc4hJ4/sNjWCSS9AmnS40x3bNMDTknHgL5UaMBTMyJnU90EgWh1Rz+MC9eFu4BuN/UwZjKQuY/1v3rM7HMfg=="],
|
| 706 |
+
|
| 707 |
+
"set-function-name": ["set-function-name@2.0.2", "", { "dependencies": { "define-data-property": "^1.1.4", "es-errors": "^1.3.0", "functions-have-names": "^1.2.3", "has-property-descriptors": "^1.0.2" } }, "sha512-7PGFlmtwsEADb0WYyvCMa1t+yke6daIG4Wirafur5kcf+MhUnPms1UeR0CKQdTZD81yESwMHbtn+TR+dMviakQ=="],
|
| 708 |
+
|
| 709 |
+
"set-proto": ["set-proto@1.0.0", "", { "dependencies": { "dunder-proto": "^1.0.1", "es-errors": "^1.3.0", "es-object-atoms": "^1.0.0" } }, "sha512-RJRdvCo6IAnPdsvP/7m6bsQqNnn1FCBX5ZNtFL98MmFF/4xAIJTIg1YbHW5DC2W5SKZanrC6i4HsJqlajw/dZw=="],
|
| 710 |
+
|
| 711 |
+
"sharp": ["sharp@0.34.2", "", { "dependencies": { "color": "^4.2.3", "detect-libc": "^2.0.4", "semver": "^7.7.2" }, "optionalDependencies": { "@img/sharp-darwin-arm64": "0.34.2", "@img/sharp-darwin-x64": "0.34.2", "@img/sharp-libvips-darwin-arm64": "1.1.0", "@img/sharp-libvips-darwin-x64": "1.1.0", "@img/sharp-libvips-linux-arm": "1.1.0", "@img/sharp-libvips-linux-arm64": "1.1.0", "@img/sharp-libvips-linux-ppc64": "1.1.0", "@img/sharp-libvips-linux-s390x": "1.1.0", "@img/sharp-libvips-linux-x64": "1.1.0", "@img/sharp-libvips-linuxmusl-arm64": "1.1.0", "@img/sharp-libvips-linuxmusl-x64": "1.1.0", "@img/sharp-linux-arm": "0.34.2", "@img/sharp-linux-arm64": "0.34.2", "@img/sharp-linux-s390x": "0.34.2", "@img/sharp-linux-x64": "0.34.2", "@img/sharp-linuxmusl-arm64": "0.34.2", "@img/sharp-linuxmusl-x64": "0.34.2", "@img/sharp-wasm32": "0.34.2", "@img/sharp-win32-arm64": "0.34.2", "@img/sharp-win32-ia32": "0.34.2", "@img/sharp-win32-x64": "0.34.2" } }, "sha512-lszvBmB9QURERtyKT2bNmsgxXK0ShJrL/fvqlonCo7e6xBF8nT8xU6pW+PMIbLsz0RxQk3rgH9kd8UmvOzlMJg=="],
|
| 712 |
+
|
| 713 |
+
"shebang-command": ["shebang-command@2.0.0", "", { "dependencies": { "shebang-regex": "^3.0.0" } }, "sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA=="],
|
| 714 |
+
|
| 715 |
+
"shebang-regex": ["shebang-regex@3.0.0", "", {}, "sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A=="],
|
| 716 |
+
|
| 717 |
+
"side-channel": ["side-channel@1.1.0", "", { "dependencies": { "es-errors": "^1.3.0", "object-inspect": "^1.13.3", "side-channel-list": "^1.0.0", "side-channel-map": "^1.0.1", "side-channel-weakmap": "^1.0.2" } }, "sha512-ZX99e6tRweoUXqR+VBrslhda51Nh5MTQwou5tnUDgbtyM0dBgmhEDtWGP/xbKn6hqfPRHujUNwz5fy/wbbhnpw=="],
|
| 718 |
+
|
| 719 |
+
"side-channel-list": ["side-channel-list@1.0.0", "", { "dependencies": { "es-errors": "^1.3.0", "object-inspect": "^1.13.3" } }, "sha512-FCLHtRD/gnpCiCHEiJLOwdmFP+wzCmDEkc9y7NsYxeF4u7Btsn1ZuwgwJGxImImHicJArLP4R0yX4c2KCrMrTA=="],
|
| 720 |
+
|
| 721 |
+
"side-channel-map": ["side-channel-map@1.0.1", "", { "dependencies": { "call-bound": "^1.0.2", "es-errors": "^1.3.0", "get-intrinsic": "^1.2.5", "object-inspect": "^1.13.3" } }, "sha512-VCjCNfgMsby3tTdo02nbjtM/ewra6jPHmpThenkTYh8pG9ucZ/1P8So4u4FGBek/BjpOVsDCMoLA/iuBKIFXRA=="],
|
| 722 |
+
|
| 723 |
+
"side-channel-weakmap": ["side-channel-weakmap@1.0.2", "", { "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" } }, "sha512-WPS/HvHQTYnHisLo9McqBHOJk2FkHO/tlpvldyrnem4aeQp4hai3gythswg6p01oSoTl58rcpiFAjF2br2Ak2A=="],
|
| 724 |
+
|
| 725 |
+
"simple-swizzle": ["simple-swizzle@0.2.2", "", { "dependencies": { "is-arrayish": "^0.3.1" } }, "sha512-JA//kQgZtbuY83m+xT+tXJkmJncGMTFT+C+g2h2R9uxkYIrE2yy9sgmcLhCnw57/WSD+Eh3J97FPEDFnbXnDUg=="],
|
| 726 |
+
|
| 727 |
+
"source-map-js": ["source-map-js@1.2.1", "", {}, "sha512-UXWMKhLOwVKb728IUtQPXxfYU+usdybtUrK/8uGE8CQMvrhOpwvzDBwj0QhSL7MQc7vIsISBG8VQ8+IDQxpfQA=="],
|
| 728 |
+
|
| 729 |
+
"stable-hash": ["stable-hash@0.0.5", "", {}, "sha512-+L3ccpzibovGXFK+Ap/f8LOS0ahMrHTf3xu7mMLSpEGU0EO9ucaysSylKo9eRDFNhWve/y275iPmIZ4z39a9iA=="],
|
| 730 |
+
|
| 731 |
+
"state-local": ["state-local@1.0.7", "", {}, "sha512-HTEHMNieakEnoe33shBYcZ7NX83ACUjCu8c40iOGEZsngj9zRnkqS9j1pqQPXwobB0ZcVTk27REb7COQ0UR59w=="],
|
| 732 |
+
|
| 733 |
+
"streamsearch": ["streamsearch@1.1.0", "", {}, "sha512-Mcc5wHehp9aXz1ax6bZUyY5afg9u2rv5cqQI3mRrYkGC8rW2hM02jWuwjtL++LS5qinSyhj2QfLyNsuc+VsExg=="],
|
| 734 |
+
|
| 735 |
+
"string.prototype.includes": ["string.prototype.includes@2.0.1", "", { "dependencies": { "call-bind": "^1.0.7", "define-properties": "^1.2.1", "es-abstract": "^1.23.3" } }, "sha512-o7+c9bW6zpAdJHTtujeePODAhkuicdAryFsfVKwA+wGw89wJ4GTY484WTucM9hLtDEOpOvI+aHnzqnC5lHp4Rg=="],
|
| 736 |
+
|
| 737 |
+
"string.prototype.matchall": ["string.prototype.matchall@4.0.12", "", { "dependencies": { "call-bind": "^1.0.8", "call-bound": "^1.0.3", "define-properties": "^1.2.1", "es-abstract": "^1.23.6", "es-errors": "^1.3.0", "es-object-atoms": "^1.0.0", "get-intrinsic": "^1.2.6", "gopd": "^1.2.0", "has-symbols": "^1.1.0", "internal-slot": "^1.1.0", "regexp.prototype.flags": "^1.5.3", "set-function-name": "^2.0.2", "side-channel": "^1.1.0" } }, "sha512-6CC9uyBL+/48dYizRf7H7VAYCMCNTBeM78x/VTUe9bFEaxBepPJDa1Ow99LqI/1yF7kuy7Q3cQsYMrcjGUcskA=="],
|
| 738 |
+
|
| 739 |
+
"string.prototype.repeat": ["string.prototype.repeat@1.0.0", "", { "dependencies": { "define-properties": "^1.1.3", "es-abstract": "^1.17.5" } }, "sha512-0u/TldDbKD8bFCQ/4f5+mNRrXwZ8hg2w7ZR8wa16e8z9XpePWl3eGEcUD0OXpEH/VJH/2G3gjUtR3ZOiBe2S/w=="],
|
| 740 |
+
|
| 741 |
+
"string.prototype.trim": ["string.prototype.trim@1.2.10", "", { "dependencies": { "call-bind": "^1.0.8", "call-bound": "^1.0.2", "define-data-property": "^1.1.4", "define-properties": "^1.2.1", "es-abstract": "^1.23.5", "es-object-atoms": "^1.0.0", "has-property-descriptors": "^1.0.2" } }, "sha512-Rs66F0P/1kedk5lyYyH9uBzuiI/kNRmwJAR9quK6VOtIpZ2G+hMZd+HQbbv25MgCA6gEffoMZYxlTod4WcdrKA=="],
|
| 742 |
+
|
| 743 |
+
"string.prototype.trimend": ["string.prototype.trimend@1.0.9", "", { "dependencies": { "call-bind": "^1.0.8", "call-bound": "^1.0.2", "define-properties": "^1.2.1", "es-object-atoms": "^1.0.0" } }, "sha512-G7Ok5C6E/j4SGfyLCloXTrngQIQU3PWtXGst3yM7Bea9FRURf1S42ZHlZZtsNque2FN2PoUhfZXYLNWwEr4dLQ=="],
|
| 744 |
+
|
| 745 |
+
"string.prototype.trimstart": ["string.prototype.trimstart@1.0.8", "", { "dependencies": { "call-bind": "^1.0.7", "define-properties": "^1.2.1", "es-object-atoms": "^1.0.0" } }, "sha512-UXSH262CSZY1tfu3G3Secr6uGLCFVPMhIqHjlgCUtCCcgihYc/xKs9djMTMUOb2j1mVSeU8EU6NWc/iQKU6Gfg=="],
|
| 746 |
+
|
| 747 |
+
"strip-bom": ["strip-bom@3.0.0", "", {}, "sha512-vavAMRXOgBVNF6nyEEmL3DBK19iRpDcoIwW+swQ+CbGiu7lju6t+JklA1MHweoWtadgt4ISVUsXLyDq34ddcwA=="],
|
| 748 |
+
|
| 749 |
+
"strip-json-comments": ["strip-json-comments@3.1.1", "", {}, "sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig=="],
|
| 750 |
+
|
| 751 |
+
"styled-jsx": ["styled-jsx@5.1.6", "", { "dependencies": { "client-only": "0.0.1" }, "peerDependencies": { "react": ">= 16.8.0 || 17.x.x || ^18.0.0-0 || ^19.0.0-0" } }, "sha512-qSVyDTeMotdvQYoHWLNGwRFJHC+i+ZvdBRYosOFgC+Wg1vx4frN2/RG/NA7SYqqvKNLf39P2LSRA2pu6n0XYZA=="],
|
| 752 |
+
|
| 753 |
+
"supports-color": ["supports-color@7.2.0", "", { "dependencies": { "has-flag": "^4.0.0" } }, "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw=="],
|
| 754 |
+
|
| 755 |
+
"supports-preserve-symlinks-flag": ["supports-preserve-symlinks-flag@1.0.0", "", {}, "sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w=="],
|
| 756 |
+
|
| 757 |
+
"tailwindcss": ["tailwindcss@4.1.7", "", {}, "sha512-kr1o/ErIdNhTz8uzAYL7TpaUuzKIE6QPQ4qmSdxnoX/lo+5wmUHQA6h3L5yIqEImSRnAAURDirLu/BgiXGPAhg=="],
|
| 758 |
+
|
| 759 |
+
"tapable": ["tapable@2.2.2", "", {}, "sha512-Re10+NauLTMCudc7T5WLFLAwDhQ0JWdrMK+9B2M8zR5hRExKmsRDCBA7/aV/pNJFltmBFO5BAMlQFi/vq3nKOg=="],
|
| 760 |
+
|
| 761 |
+
"tar": ["tar@7.4.3", "", { "dependencies": { "@isaacs/fs-minipass": "^4.0.0", "chownr": "^3.0.0", "minipass": "^7.1.2", "minizlib": "^3.0.1", "mkdirp": "^3.0.1", "yallist": "^5.0.0" } }, "sha512-5S7Va8hKfV7W5U6g3aYxXmlPoZVAwUMy9AOKyF2fVuZa2UD3qZjg578OrLRt8PcNN1PleVaL/5/yYATNL0ICUw=="],
|
| 762 |
+
|
| 763 |
+
"tinyglobby": ["tinyglobby@0.2.14", "", { "dependencies": { "fdir": "^6.4.4", "picomatch": "^4.0.2" } }, "sha512-tX5e7OM1HnYr2+a2C/4V0htOcSQcoSTH9KgJnVvNm5zm/cyEWKJ7j7YutsH9CxMdtOkkLFy2AHrMci9IM8IPZQ=="],
|
| 764 |
+
|
| 765 |
+
"to-regex-range": ["to-regex-range@5.0.1", "", { "dependencies": { "is-number": "^7.0.0" } }, "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ=="],
|
| 766 |
+
|
| 767 |
+
"ts-api-utils": ["ts-api-utils@2.1.0", "", { "peerDependencies": { "typescript": ">=4.8.4" } }, "sha512-CUgTZL1irw8u29bzrOD/nH85jqyc74D6SshFgujOIA7osm2Rz7dYH77agkx7H4FBNxDq7Cjf+IjaX/8zwFW+ZQ=="],
|
| 768 |
+
|
| 769 |
+
"tsconfig-paths": ["tsconfig-paths@3.15.0", "", { "dependencies": { "@types/json5": "^0.0.29", "json5": "^1.0.2", "minimist": "^1.2.6", "strip-bom": "^3.0.0" } }, "sha512-2Ac2RgzDe/cn48GvOe3M+o82pEFewD3UPbyoUHHdKasHwJKjds4fLXWf/Ux5kATBKN20oaFGu+jbElp1pos0mg=="],
|
| 770 |
+
|
| 771 |
+
"tslib": ["tslib@2.8.1", "", {}, "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w=="],
|
| 772 |
+
|
| 773 |
+
"type-check": ["type-check@0.4.0", "", { "dependencies": { "prelude-ls": "^1.2.1" } }, "sha512-XleUoc9uwGXqjWwXaUTZAmzMcFZ5858QA2vvx1Ur5xIcixXIP+8LnFDgRplU30us6teqdlskFfu+ae4K79Ooew=="],
|
| 774 |
+
|
| 775 |
+
"typed-array-buffer": ["typed-array-buffer@1.0.3", "", { "dependencies": { "call-bound": "^1.0.3", "es-errors": "^1.3.0", "is-typed-array": "^1.1.14" } }, "sha512-nAYYwfY3qnzX30IkA6AQZjVbtK6duGontcQm1WSG1MD94YLqK0515GNApXkoxKOWMusVssAHWLh9SeaoefYFGw=="],
|
| 776 |
+
|
| 777 |
+
"typed-array-byte-length": ["typed-array-byte-length@1.0.3", "", { "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" } }, "sha512-BaXgOuIxz8n8pIq3e7Atg/7s+DpiYrxn4vdot3w9KbnBhcRQq6o3xemQdIfynqSeXeDrF32x+WvfzmOjPiY9lg=="],
|
| 778 |
+
|
| 779 |
+
"typed-array-byte-offset": ["typed-array-byte-offset@1.0.4", "", { "dependencies": { "available-typed-arrays": "^1.0.7", "call-bind": "^1.0.8", "for-each": "^0.3.3", "gopd": "^1.2.0", "has-proto": "^1.2.0", "is-typed-array": "^1.1.15", "reflect.getprototypeof": "^1.0.9" } }, "sha512-bTlAFB/FBYMcuX81gbL4OcpH5PmlFHqlCCpAl8AlEzMz5k53oNDvN8p1PNOWLEmI2x4orp3raOFB51tv9X+MFQ=="],
|
| 780 |
+
|
| 781 |
+
"typed-array-length": ["typed-array-length@1.0.7", "", { "dependencies": { "call-bind": "^1.0.7", "for-each": "^0.3.3", "gopd": "^1.0.1", "is-typed-array": "^1.1.13", "possible-typed-array-names": "^1.0.0", "reflect.getprototypeof": "^1.0.6" } }, "sha512-3KS2b+kL7fsuk/eJZ7EQdnEmQoaho/r6KUef7hxvltNA5DR8NAUM+8wJMbJyZ4G9/7i3v5zPBIMN5aybAh2/Jg=="],
|
| 782 |
+
|
| 783 |
+
"typescript": ["typescript@5.8.3", "", { "bin": { "tsc": "bin/tsc", "tsserver": "bin/tsserver" } }, "sha512-p1diW6TqL9L07nNxvRMM7hMMw4c5XOo/1ibL4aAIGmSAt9slTE1Xgw5KWuof2uTOvCg9BY7ZRi+GaF+7sfgPeQ=="],
|
| 784 |
+
|
| 785 |
+
"unbox-primitive": ["unbox-primitive@1.1.0", "", { "dependencies": { "call-bound": "^1.0.3", "has-bigints": "^1.0.2", "has-symbols": "^1.1.0", "which-boxed-primitive": "^1.1.1" } }, "sha512-nWJ91DjeOkej/TA8pXQ3myruKpKEYgqvpw9lz4OPHj/NWFNluYrjbz9j01CJ8yKQd2g4jFoOkINCTW2I5LEEyw=="],
|
| 786 |
+
|
| 787 |
+
"undici-types": ["undici-types@6.19.8", "", {}, "sha512-ve2KP6f/JnbPBFyobGHuerC9g1FYGn/F8n1LWTwNxCEzd6IfqTwUQcNXgEtmmQ6DlRrC1hrSrBnCZPokRrDHjw=="],
|
| 788 |
+
|
| 789 |
+
"unrs-resolver": ["unrs-resolver@1.7.2", "", { "dependencies": { "napi-postinstall": "^0.2.2" }, "optionalDependencies": { "@unrs/resolver-binding-darwin-arm64": "1.7.2", "@unrs/resolver-binding-darwin-x64": "1.7.2", "@unrs/resolver-binding-freebsd-x64": "1.7.2", "@unrs/resolver-binding-linux-arm-gnueabihf": "1.7.2", "@unrs/resolver-binding-linux-arm-musleabihf": "1.7.2", "@unrs/resolver-binding-linux-arm64-gnu": "1.7.2", "@unrs/resolver-binding-linux-arm64-musl": "1.7.2", "@unrs/resolver-binding-linux-ppc64-gnu": "1.7.2", "@unrs/resolver-binding-linux-riscv64-gnu": "1.7.2", "@unrs/resolver-binding-linux-riscv64-musl": "1.7.2", "@unrs/resolver-binding-linux-s390x-gnu": "1.7.2", "@unrs/resolver-binding-linux-x64-gnu": "1.7.2", "@unrs/resolver-binding-linux-x64-musl": "1.7.2", "@unrs/resolver-binding-wasm32-wasi": "1.7.2", "@unrs/resolver-binding-win32-arm64-msvc": "1.7.2", "@unrs/resolver-binding-win32-ia32-msvc": "1.7.2", "@unrs/resolver-binding-win32-x64-msvc": "1.7.2" } }, "sha512-BBKpaylOW8KbHsu378Zky/dGh4ckT/4NW/0SHRABdqRLcQJ2dAOjDo9g97p04sWflm0kqPqpUatxReNV/dqI5A=="],
|
| 790 |
+
|
| 791 |
+
"uri-js": ["uri-js@4.4.1", "", { "dependencies": { "punycode": "^2.1.0" } }, "sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg=="],
|
| 792 |
+
|
| 793 |
+
"which": ["which@2.0.2", "", { "dependencies": { "isexe": "^2.0.0" }, "bin": { "node-which": "bin/node-which" } }, "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA=="],
|
| 794 |
+
|
| 795 |
+
"which-boxed-primitive": ["which-boxed-primitive@1.1.1", "", { "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" } }, "sha512-TbX3mj8n0odCBFVlY8AxkqcHASw3L60jIuF8jFP78az3C2YhmGvqbHBpAjTRH2/xqYunrJ9g1jSyjCjpoWzIAA=="],
|
| 796 |
+
|
| 797 |
+
"which-builtin-type": ["which-builtin-type@1.2.1", "", { "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" } }, "sha512-6iBczoX+kDQ7a3+YJBnh3T+KZRxM/iYNPXicqk66/Qfm1b93iu+yOImkg0zHbj5LNOcNv1TEADiZ0xa34B4q6Q=="],
|
| 798 |
+
|
| 799 |
+
"which-collection": ["which-collection@1.0.2", "", { "dependencies": { "is-map": "^2.0.3", "is-set": "^2.0.3", "is-weakmap": "^2.0.2", "is-weakset": "^2.0.3" } }, "sha512-K4jVyjnBdgvc86Y6BkaLZEN933SwYOuBFkdmBu9ZfkcAbdVbpITnDmjvZ/aQjRXQrv5EPkTnD1s39GiiqbngCw=="],
|
| 800 |
+
|
| 801 |
+
"which-typed-array": ["which-typed-array@1.1.19", "", { "dependencies": { "available-typed-arrays": "^1.0.7", "call-bind": "^1.0.8", "call-bound": "^1.0.4", "for-each": "^0.3.5", "get-proto": "^1.0.1", "gopd": "^1.2.0", "has-tostringtag": "^1.0.2" } }, "sha512-rEvr90Bck4WZt9HHFC4DJMsjvu7x+r6bImz0/BrbWb7A2djJ8hnZMrWnHo9F8ssv0OMErasDhftrfROTyqSDrw=="],
|
| 802 |
+
|
| 803 |
+
"word-wrap": ["word-wrap@1.2.5", "", {}, "sha512-BN22B5eaMMI9UMtjrGd5g5eCYPpCPDUy0FJXbYsaT5zYxjFOckS53SQDE3pWkVoWpHXVb3BrYcEN4Twa55B5cA=="],
|
| 804 |
+
|
| 805 |
+
"yallist": ["yallist@5.0.0", "", {}, "sha512-YgvUTfwqyc7UXVMrB+SImsVYSmTS8X/tSrtdNZMImM+n7+QTriRXyXim0mBrTXNeqzVF0KWGgHPeiyViFFrNDw=="],
|
| 806 |
+
|
| 807 |
+
"yocto-queue": ["yocto-queue@0.1.0", "", {}, "sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q=="],
|
| 808 |
+
|
| 809 |
+
"@eslint-community/eslint-utils/eslint-visitor-keys": ["eslint-visitor-keys@3.4.3", "", {}, "sha512-wpc+LXeiyiisxPlEkUzU6svyS1frIO3Mgxj1fdy7Pm8Ygzguax2N3Fa/D/ag1WqbOprdI+uY6wMUl8/a2G+iag=="],
|
| 810 |
+
|
| 811 |
+
"@humanfs/node/@humanwhocodes/retry": ["@humanwhocodes/retry@0.3.1", "", {}, "sha512-JBxkERygn7Bv/GbN5Rv8Ul6LVknS+5Bp6RgDC/O8gEBU/yeH5Ui5C/OlWrTb6qct7LjjfT6Re2NxB0ln0yYybA=="],
|
| 812 |
+
|
| 813 |
+
"@typescript-eslint/eslint-plugin/ignore": ["ignore@7.0.4", "", {}, "sha512-gJzzk+PQNznz8ysRrC0aOkBNVRBDtE1n53IqyqEf3PXrYwomFs5q4pGMizBMJF+ykh03insJ27hB8gSrD2Hn8A=="],
|
| 814 |
+
|
| 815 |
+
"@typescript-eslint/typescript-estree/fast-glob": ["fast-glob@3.3.3", "", { "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.8" } }, "sha512-7MptL8U0cqcFdzIzwOTHoilX9x5BrNqye7Z/LuC7kCMRio1EMSyqRK3BEAUD7sXRq4iT4AzTVuZdhgQ2TCvYLg=="],
|
| 816 |
+
|
| 817 |
+
"@typescript-eslint/typescript-estree/minimatch": ["minimatch@9.0.5", "", { "dependencies": { "brace-expansion": "^2.0.1" } }, "sha512-G6T0ZX48xgozx7587koeX9Ys2NYy6Gmv//P89sEte9V9whIapMNF4idKxnW2QtCcLiTWlb/wfCabAtAFWhhBow=="],
|
| 818 |
+
|
| 819 |
+
"@typescript-eslint/typescript-estree/semver": ["semver@7.7.2", "", { "bin": "bin/semver.js" }, "sha512-RF0Fw+rO5AMf9MAyaRXI4AV0Ulj5lMHqVxxdSgiVbixSCXoEmmX/jk0CuJw4+3SqroYO9VoUh+HcuJivvtJemA=="],
|
| 820 |
+
|
| 821 |
+
"eslint-import-resolver-node/debug": ["debug@3.2.7", "", { "dependencies": { "ms": "^2.1.1" } }, "sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ=="],
|
| 822 |
+
|
| 823 |
+
"eslint-module-utils/debug": ["debug@3.2.7", "", { "dependencies": { "ms": "^2.1.1" } }, "sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ=="],
|
| 824 |
+
|
| 825 |
+
"eslint-plugin-import/debug": ["debug@3.2.7", "", { "dependencies": { "ms": "^2.1.1" } }, "sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ=="],
|
| 826 |
+
|
| 827 |
+
"eslint-plugin-react/resolve": ["resolve@2.0.0-next.5", "", { "dependencies": { "is-core-module": "^2.13.0", "path-parse": "^1.0.7", "supports-preserve-symlinks-flag": "^1.0.0" }, "bin": "bin/resolve" }, "sha512-U7WjGVG9sH8tvjW5SmGbQuui75FiyjAX72HX15DwBBwF9dNiQZRQAg9nnPhYy+TUnE0+VcrttuvNI8oSxZcocA=="],
|
| 828 |
+
|
| 829 |
+
"fast-glob/glob-parent": ["glob-parent@5.1.2", "", { "dependencies": { "is-glob": "^4.0.1" } }, "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow=="],
|
| 830 |
+
|
| 831 |
+
"is-bun-module/semver": ["semver@7.7.2", "", { "bin": "bin/semver.js" }, "sha512-RF0Fw+rO5AMf9MAyaRXI4AV0Ulj5lMHqVxxdSgiVbixSCXoEmmX/jk0CuJw4+3SqroYO9VoUh+HcuJivvtJemA=="],
|
| 832 |
+
|
| 833 |
+
"micromatch/picomatch": ["picomatch@2.3.1", "", {}, "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA=="],
|
| 834 |
+
|
| 835 |
+
"next/postcss": ["postcss@8.4.31", "", { "dependencies": { "nanoid": "^3.3.6", "picocolors": "^1.0.0", "source-map-js": "^1.0.2" } }, "sha512-PS08Iboia9mts/2ygV3eLpY5ghnUcfLV/EXTOW1E2qYxJKGGBUtNjN76FYHnMs36RmARn41bC0AZmn+rR0OVpQ=="],
|
| 836 |
+
|
| 837 |
+
"sharp/semver": ["semver@7.7.2", "", { "bin": "bin/semver.js" }, "sha512-RF0Fw+rO5AMf9MAyaRXI4AV0Ulj5lMHqVxxdSgiVbixSCXoEmmX/jk0CuJw4+3SqroYO9VoUh+HcuJivvtJemA=="],
|
| 838 |
+
|
| 839 |
+
"@typescript-eslint/typescript-estree/fast-glob/glob-parent": ["glob-parent@5.1.2", "", { "dependencies": { "is-glob": "^4.0.1" } }, "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow=="],
|
| 840 |
+
|
| 841 |
+
"@typescript-eslint/typescript-estree/minimatch/brace-expansion": ["brace-expansion@2.0.1", "", { "dependencies": { "balanced-match": "^1.0.0" } }, "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA=="],
|
| 842 |
+
}
|
| 843 |
+
}
|
frontend/next.config.ts
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import type { NextConfig } from "next";
|
| 2 |
+
|
| 3 |
+
const nextConfig: NextConfig = {
|
| 4 |
+
/* config options here */
|
| 5 |
+
devIndicators: false,
|
| 6 |
+
};
|
| 7 |
+
|
| 8 |
+
export default nextConfig;
|
frontend/package-lock.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
frontend/package.json
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"name": "frontend",
|
| 3 |
+
"version": "0.1.0",
|
| 4 |
+
"private": true,
|
| 5 |
+
"scripts": {
|
| 6 |
+
"dev": "next dev",
|
| 7 |
+
"build": "next build",
|
| 8 |
+
"start": "next start",
|
| 9 |
+
"lint": "next lint"
|
| 10 |
+
},
|
| 11 |
+
"dependencies": {
|
| 12 |
+
"@monaco-editor/react": "^4.7.0",
|
| 13 |
+
"lucide-react": "^0.511.0",
|
| 14 |
+
"next": "15.3.2",
|
| 15 |
+
"react": "^19.0.0",
|
| 16 |
+
"react-dom": "^19.0.0",
|
| 17 |
+
"react-hot-toast": "^2.5.2",
|
| 18 |
+
"react-icons": "^5.5.0"
|
| 19 |
+
},
|
| 20 |
+
"devDependencies": {
|
| 21 |
+
"typescript": "^5",
|
| 22 |
+
"@types/node": "^20",
|
| 23 |
+
"@types/react": "^19",
|
| 24 |
+
"@types/react-dom": "^19",
|
| 25 |
+
"@tailwindcss/postcss": "^4",
|
| 26 |
+
"tailwindcss": "^4",
|
| 27 |
+
"eslint": "^9",
|
| 28 |
+
"eslint-config-next": "15.3.2",
|
| 29 |
+
"@eslint/eslintrc": "^3"
|
| 30 |
+
}
|
| 31 |
+
}
|
frontend/postcss.config.mjs
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
const config = {
|
| 2 |
+
plugins: ["@tailwindcss/postcss"],
|
| 3 |
+
};
|
| 4 |
+
|
| 5 |
+
export default config;
|
frontend/public/december-logo.png
ADDED
|
frontend/public/django-logo.png
ADDED
|
frontend/public/express-logo.png
ADDED
|
frontend/public/file.svg
ADDED
|
|
frontend/public/globe.svg
ADDED
|
|
frontend/public/logo-black.png
ADDED
|
frontend/public/logo-white.png
ADDED
|
frontend/public/next.svg
ADDED
|
|
frontend/public/nextjs-logo.png
ADDED
|
frontend/public/suisse.ttf
ADDED
|
Binary file (40 kB). View file
|
|
|
frontend/public/vercel.svg
ADDED
|
|
frontend/public/vue-logo.png
ADDED
|
frontend/public/window.svg
ADDED
|
|
frontend/public/xspace.ttf
ADDED
|
Binary file (93.2 kB). View file
|
|
|
frontend/src/app/community/components/CommunityPage.tsx
ADDED
|
@@ -0,0 +1,165 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"use client";
|
| 2 |
+
|
| 3 |
+
import { Star } from "lucide-react";
|
| 4 |
+
import Link from "next/link";
|
| 5 |
+
|
| 6 |
+
interface CommunityProject {
|
| 7 |
+
id: string;
|
| 8 |
+
name: string;
|
| 9 |
+
description: string;
|
| 10 |
+
icon: string;
|
| 11 |
+
gradient: string;
|
| 12 |
+
featured?: boolean;
|
| 13 |
+
}
|
| 14 |
+
|
| 15 |
+
export const CommunityPage = () => {
|
| 16 |
+
const featuredProjects: CommunityProject[] = [
|
| 17 |
+
{
|
| 18 |
+
id: "background-paths",
|
| 19 |
+
name: "Background Paths",
|
| 20 |
+
description:
|
| 21 |
+
"Beautiful animated background patterns with customizable colors and shapes",
|
| 22 |
+
icon: "🎨",
|
| 23 |
+
gradient: "from-purple-600 to-pink-600",
|
| 24 |
+
featured: true,
|
| 25 |
+
},
|
| 26 |
+
{
|
| 27 |
+
id: "flowers-saints",
|
| 28 |
+
name: "Flowers & Saints",
|
| 29 |
+
description: "Creative agency portfolio with stunning visual effects",
|
| 30 |
+
icon: "🌸",
|
| 31 |
+
gradient: "from-blue-600 to-purple-600",
|
| 32 |
+
featured: true,
|
| 33 |
+
},
|
| 34 |
+
{
|
| 35 |
+
id: "crypto-dashboard",
|
| 36 |
+
name: "Crypto Dashboard",
|
| 37 |
+
description: "Real-time cryptocurrency trading dashboard with charts",
|
| 38 |
+
icon: "📊",
|
| 39 |
+
gradient: "from-green-500 to-emerald-600",
|
| 40 |
+
featured: true,
|
| 41 |
+
},
|
| 42 |
+
];
|
| 43 |
+
|
| 44 |
+
const handleProjectSelect = (project: CommunityProject) => {
|
| 45 |
+
console.log("Selected project:", project);
|
| 46 |
+
};
|
| 47 |
+
|
| 48 |
+
return (
|
| 49 |
+
<div className="min-h-screen bg-black text-white">
|
| 50 |
+
<div className="absolute inset-0 bg-gradient-to-br from-gray-900/50 via-black to-black" />
|
| 51 |
+
<div className="absolute inset-0 bg-[radial-gradient(ellipse_at_top,_var(--tw-gradient-stops))] from-white/5 via-transparent to-transparent" />
|
| 52 |
+
<div className="absolute inset-0 bg-[radial-gradient(ellipse_at_bottom_right,_var(--tw-gradient-stops))] from-blue-900/10 via-transparent to-transparent" />
|
| 53 |
+
|
| 54 |
+
<div className="relative">
|
| 55 |
+
<nav className="border-b border-gray-800/50 backdrop-blur-xl bg-black/80 sticky top-0 z-50">
|
| 56 |
+
<div className="max-w-7xl mx-auto px-6 py-4">
|
| 57 |
+
<div className="flex items-center justify-between">
|
| 58 |
+
<div className="flex items-center gap-3">
|
| 59 |
+
<span
|
| 60 |
+
className="text-lg bg-gradient-to-r from-white to-gray-300 bg-clip-text text-transparent"
|
| 61 |
+
style={{ fontFamily: "XSpace, monospace" }}
|
| 62 |
+
>
|
| 63 |
+
DECEMBER
|
| 64 |
+
</span>
|
| 65 |
+
</div>
|
| 66 |
+
|
| 67 |
+
<div className="flex items-center gap-4">
|
| 68 |
+
<Link
|
| 69 |
+
style={{ fontFamily: "Suisse" }}
|
| 70 |
+
href="/"
|
| 71 |
+
className="text-gray-400 hover:text-white transition-colors text-sm"
|
| 72 |
+
>
|
| 73 |
+
Projects
|
| 74 |
+
</Link>
|
| 75 |
+
<Link
|
| 76 |
+
style={{ fontFamily: "Suisse" }}
|
| 77 |
+
href="/community"
|
| 78 |
+
className="text-white transition-colors text-sm font-medium"
|
| 79 |
+
>
|
| 80 |
+
Community
|
| 81 |
+
</Link>
|
| 82 |
+
</div>
|
| 83 |
+
</div>
|
| 84 |
+
</div>
|
| 85 |
+
</nav>
|
| 86 |
+
|
| 87 |
+
<div className="max-w-7xl mx-auto px-6 py-20">
|
| 88 |
+
<div className="space-y-8">
|
| 89 |
+
<div className="text-center mb-12">
|
| 90 |
+
<h1 className="text-3xl font-bold mb-4 bg-gradient-to-r from-white via-gray-100 to-gray-300 bg-clip-text text-transparent">
|
| 91 |
+
Community Projects
|
| 92 |
+
</h1>
|
| 93 |
+
<p className="text-gray-400 text-lg max-w-2xl mx-auto">
|
| 94 |
+
Discover amazing projects built by the December community. Get
|
| 95 |
+
inspired, fork, and build upon the work of others.
|
| 96 |
+
</p>
|
| 97 |
+
</div>
|
| 98 |
+
|
| 99 |
+
<div className="mb-12">
|
| 100 |
+
<h2 className="text-xl font-bold text-white mb-6">
|
| 101 |
+
Featured Projects
|
| 102 |
+
</h2>
|
| 103 |
+
<div className="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6">
|
| 104 |
+
{featuredProjects.map((project) => (
|
| 105 |
+
<div
|
| 106 |
+
key={`featured-${project.id}`}
|
| 107 |
+
className="relative group bg-gray-900/60 hover:bg-gray-800/70 border border-gray-700/50 hover:border-gray-600/70 rounded-xl overflow-hidden transition-all duration-300 backdrop-blur-lg cursor-pointer"
|
| 108 |
+
onClick={() => handleProjectSelect(project)}
|
| 109 |
+
>
|
| 110 |
+
<div className="absolute top-3 left-3 z-10">
|
| 111 |
+
<span className="inline-flex items-center px-2 py-1 rounded-full text-xs font-medium bg-yellow-500/20 text-yellow-400 border border-yellow-500/30">
|
| 112 |
+
<Star className="w-3 h-3 mr-1" />
|
| 113 |
+
Featured
|
| 114 |
+
</span>
|
| 115 |
+
</div>
|
| 116 |
+
|
| 117 |
+
<div
|
| 118 |
+
className={`h-48 bg-gradient-to-br ${project.gradient} relative overflow-hidden`}
|
| 119 |
+
>
|
| 120 |
+
<div className="absolute inset-0 flex items-center justify-center">
|
| 121 |
+
<div className="text-6xl text-white/20">
|
| 122 |
+
{project.icon}
|
| 123 |
+
</div>
|
| 124 |
+
</div>
|
| 125 |
+
</div>
|
| 126 |
+
|
| 127 |
+
<div className="p-4">
|
| 128 |
+
<div className="flex items-start justify-between mb-2">
|
| 129 |
+
<h3 className="text-white font-semibold group-hover:text-gray-100 transition-colors">
|
| 130 |
+
{project.name}
|
| 131 |
+
</h3>
|
| 132 |
+
</div>
|
| 133 |
+
<p className="text-gray-400 text-sm mb-3 group-hover:text-gray-300 transition-colors">
|
| 134 |
+
{project.description}
|
| 135 |
+
</p>
|
| 136 |
+
</div>
|
| 137 |
+
</div>
|
| 138 |
+
))}
|
| 139 |
+
</div>
|
| 140 |
+
</div>
|
| 141 |
+
</div>
|
| 142 |
+
</div>
|
| 143 |
+
|
| 144 |
+
<footer className="mt-20 pt-12 border-t border-gray-800/50 max-w-7xl mx-auto px-6">
|
| 145 |
+
<div className="flex items-center justify-between">
|
| 146 |
+
<div className="text-sm text-gray-500">
|
| 147 |
+
© 2025 December. Build the future, one container at a time.
|
| 148 |
+
</div>
|
| 149 |
+
<div className="flex items-center gap-6 text-sm text-gray-400">
|
| 150 |
+
<a href="#" className="hover:text-white transition-colors">
|
| 151 |
+
Terms
|
| 152 |
+
</a>
|
| 153 |
+
<a href="#" className="hover:text-white transition-colors">
|
| 154 |
+
Privacy
|
| 155 |
+
</a>
|
| 156 |
+
<a href="#" className="hover:text-white transition-colors">
|
| 157 |
+
Status
|
| 158 |
+
</a>
|
| 159 |
+
</div>
|
| 160 |
+
</div>
|
| 161 |
+
</footer>
|
| 162 |
+
</div>
|
| 163 |
+
</div>
|
| 164 |
+
);
|
| 165 |
+
};
|
frontend/src/app/community/page.tsx
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import { CommunityPage } from "./components/CommunityPage";
|
| 2 |
+
|
| 3 |
+
export default function Community() {
|
| 4 |
+
return <CommunityPage />;
|
| 5 |
+
}
|
frontend/src/app/create/components/ChatInput.tsx
ADDED
|
@@ -0,0 +1,231 @@
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import { FileText, Image, Paperclip, Send, X } from "lucide-react";
|
| 2 |
+
import { useRef, useState } from "react";
|
| 3 |
+
import { toast } from "react-hot-toast";
|
| 4 |
+
|
| 5 |
+
interface ChatInputProps {
|
| 6 |
+
inputValue: string;
|
| 7 |
+
setInputValue: (value: string) => void;
|
| 8 |
+
onSendMessage: (attachments?: File[]) => void;
|
| 9 |
+
textareaRef: React.RefObject<HTMLTextAreaElement | null>;
|
| 10 |
+
onKeyDown: (e: React.KeyboardEvent<HTMLTextAreaElement>) => void;
|
| 11 |
+
disabled?: boolean;
|
| 12 |
+
pendingFiles?: File[];
|
| 13 |
+
onRemovePendingFile?: (index: number) => void;
|
| 14 |
+
}
|
| 15 |
+
|
| 16 |
+
export const ChatInput = ({
|
| 17 |
+
inputValue,
|
| 18 |
+
setInputValue,
|
| 19 |
+
onSendMessage,
|
| 20 |
+
textareaRef,
|
| 21 |
+
onKeyDown,
|
| 22 |
+
disabled = false,
|
| 23 |
+
pendingFiles = [],
|
| 24 |
+
onRemovePendingFile,
|
| 25 |
+
}: ChatInputProps) => {
|
| 26 |
+
const [attachments, setAttachments] = useState<File[]>([]);
|
| 27 |
+
const fileInputRef = useRef<HTMLInputElement>(null);
|
| 28 |
+
|
| 29 |
+
const allFiles = [...pendingFiles, ...attachments];
|
| 30 |
+
|
| 31 |
+
const validateFiles = (files: File[]): File[] => {
|
| 32 |
+
const maxFileSize = 5 * 1024 * 1024; // 5MB per file
|
| 33 |
+
const maxTotalSize = 20 * 1024 * 1024; // 20MB total
|
| 34 |
+
|
| 35 |
+
const currentTotalSize = allFiles.reduce((sum, file) => sum + file.size, 0);
|
| 36 |
+
let newTotalSize = currentTotalSize;
|
| 37 |
+
const validFiles: File[] = [];
|
| 38 |
+
|
| 39 |
+
for (const file of files) {
|
| 40 |
+
const isImage = file.type.startsWith("image/");
|
| 41 |
+
const isDocument = [
|
| 42 |
+
"application/pdf",
|
| 43 |
+
"text/plain",
|
| 44 |
+
"application/msword",
|
| 45 |
+
"application/vnd.openxmlformats-officedocument.wordprocessingml.document",
|
| 46 |
+
].includes(file.type);
|
| 47 |
+
|
| 48 |
+
if (!isImage && !isDocument) {
|
| 49 |
+
toast.error(`${file.name} is not a supported file type`);
|
| 50 |
+
continue;
|
| 51 |
+
}
|
| 52 |
+
|
| 53 |
+
if (file.size > maxFileSize) {
|
| 54 |
+
toast.error(`${file.name} is too large (max 5MB per file)`);
|
| 55 |
+
continue;
|
| 56 |
+
}
|
| 57 |
+
|
| 58 |
+
if (newTotalSize + file.size > maxTotalSize) {
|
| 59 |
+
toast.error(
|
| 60 |
+
`Cannot add ${file.name}: would exceed total size limit (max 20MB)`
|
| 61 |
+
);
|
| 62 |
+
continue;
|
| 63 |
+
}
|
| 64 |
+
|
| 65 |
+
newTotalSize += file.size;
|
| 66 |
+
validFiles.push(file);
|
| 67 |
+
}
|
| 68 |
+
|
| 69 |
+
return validFiles;
|
| 70 |
+
};
|
| 71 |
+
|
| 72 |
+
const handleAttachClick = () => {
|
| 73 |
+
fileInputRef.current?.click();
|
| 74 |
+
};
|
| 75 |
+
|
| 76 |
+
const handleFileSelect = (e: React.ChangeEvent<HTMLInputElement>) => {
|
| 77 |
+
const files = Array.from(e.target.files || []);
|
| 78 |
+
const validFiles = validateFiles(files);
|
| 79 |
+
|
| 80 |
+
if (validFiles.length > 0) {
|
| 81 |
+
setAttachments((prev) => [...prev, ...validFiles]);
|
| 82 |
+
if (validFiles.length !== files.length) {
|
| 83 |
+
toast.success(`${validFiles.length} of ${files.length} files added`);
|
| 84 |
+
}
|
| 85 |
+
}
|
| 86 |
+
|
| 87 |
+
if (fileInputRef.current) {
|
| 88 |
+
fileInputRef.current.value = "";
|
| 89 |
+
}
|
| 90 |
+
};
|
| 91 |
+
|
| 92 |
+
const removeAttachment = (index: number) => {
|
| 93 |
+
const pendingCount = pendingFiles.length;
|
| 94 |
+
if (index < pendingCount) {
|
| 95 |
+
onRemovePendingFile?.(index);
|
| 96 |
+
} else {
|
| 97 |
+
const attachmentIndex = index - pendingCount;
|
| 98 |
+
setAttachments((prev) => prev.filter((_, i) => i !== attachmentIndex));
|
| 99 |
+
}
|
| 100 |
+
};
|
| 101 |
+
|
| 102 |
+
const handleSend = () => {
|
| 103 |
+
onSendMessage(attachments.length > 0 ? attachments : undefined);
|
| 104 |
+
setAttachments([]);
|
| 105 |
+
};
|
| 106 |
+
|
| 107 |
+
const formatFileSize = (bytes: number) => {
|
| 108 |
+
if (bytes === 0) return "0 B";
|
| 109 |
+
const k = 1024;
|
| 110 |
+
const sizes = ["B", "KB", "MB"];
|
| 111 |
+
const i = Math.floor(Math.log(bytes) / Math.log(k));
|
| 112 |
+
return parseFloat((bytes / Math.pow(k, i)).toFixed(1)) + " " + sizes[i];
|
| 113 |
+
};
|
| 114 |
+
|
| 115 |
+
const getTotalSize = () => {
|
| 116 |
+
const total = allFiles.reduce((sum, file) => sum + file.size, 0);
|
| 117 |
+
return formatFileSize(total);
|
| 118 |
+
};
|
| 119 |
+
|
| 120 |
+
const getFileIcon = (file: File) => {
|
| 121 |
+
if (file.type.startsWith("image/")) {
|
| 122 |
+
return <Image className="w-4 h-4 text-emerald-400" />;
|
| 123 |
+
}
|
| 124 |
+
return <FileText className="w-4 h-4 text-blue-400" />;
|
| 125 |
+
};
|
| 126 |
+
|
| 127 |
+
return (
|
| 128 |
+
<div className="p-4 space-y-3">
|
| 129 |
+
{allFiles.length > 0 && (
|
| 130 |
+
<div className="space-y-2">
|
| 131 |
+
<div className="flex items-center justify-between text-xs font-medium text-white/70 px-1">
|
| 132 |
+
<span>Attached files ({allFiles.length})</span>
|
| 133 |
+
<span className="text-white/50">Total: {getTotalSize()}</span>
|
| 134 |
+
</div>
|
| 135 |
+
<div className="flex flex-wrap gap-2">
|
| 136 |
+
{allFiles.map((file, index) => (
|
| 137 |
+
<div
|
| 138 |
+
key={`${file.name}-${index}`}
|
| 139 |
+
className="group flex items-center gap-2 bg-gray-700/40 hover:bg-gray-700/60 backdrop-blur-sm rounded-lg px-3 py-2 text-sm border border-gray-600/30 hover:border-gray-500/50 transition-all duration-200 shadow-sm"
|
| 140 |
+
>
|
| 141 |
+
{getFileIcon(file)}
|
| 142 |
+
<div className="flex flex-col min-w-0">
|
| 143 |
+
<span
|
| 144 |
+
className="text-white font-medium truncate max-w-32"
|
| 145 |
+
title={file.name}
|
| 146 |
+
>
|
| 147 |
+
{file.name}
|
| 148 |
+
</span>
|
| 149 |
+
<span className="text-xs text-gray-400">
|
| 150 |
+
{formatFileSize(file.size)}
|
| 151 |
+
</span>
|
| 152 |
+
</div>
|
| 153 |
+
<button
|
| 154 |
+
onClick={() => removeAttachment(index)}
|
| 155 |
+
className="text-gray-400 hover:text-red-400 opacity-70 hover:opacity-100 transition-all duration-200 p-0.5 hover:bg-red-500/10 rounded"
|
| 156 |
+
title="Remove file"
|
| 157 |
+
>
|
| 158 |
+
<X className="w-3.5 h-3.5" />
|
| 159 |
+
</button>
|
| 160 |
+
</div>
|
| 161 |
+
))}
|
| 162 |
+
</div>
|
| 163 |
+
</div>
|
| 164 |
+
)}
|
| 165 |
+
|
| 166 |
+
<div className="flex flex-col gap-3 p-4 bg-gray-800/50 backdrop-blur-md rounded-xl border border-gray-700/40 shadow-sm relative overflow-hidden">
|
| 167 |
+
<div className="absolute inset-0 bg-gradient-to-br from-gray-700/5 via-transparent to-gray-600/5 rounded-xl" />
|
| 168 |
+
|
| 169 |
+
<div className="flex items-end gap-3 relative z-10">
|
| 170 |
+
<div className="flex-1">
|
| 171 |
+
<textarea
|
| 172 |
+
ref={textareaRef}
|
| 173 |
+
value={inputValue}
|
| 174 |
+
onChange={(e) => setInputValue(e.target.value)}
|
| 175 |
+
onKeyDown={onKeyDown}
|
| 176 |
+
placeholder="What do you want to build?"
|
| 177 |
+
disabled={disabled}
|
| 178 |
+
className="w-full bg-transparent text-white placeholder-zinc-400 resize-none focus:outline-none py-2 px-0 min-h-[44px] max-h-[120px] text-sm leading-relaxed disabled:opacity-50"
|
| 179 |
+
rows={1}
|
| 180 |
+
style={{
|
| 181 |
+
height: "auto",
|
| 182 |
+
minHeight: "44px",
|
| 183 |
+
}}
|
| 184 |
+
onInput={(e) => {
|
| 185 |
+
const target = e.target as HTMLTextAreaElement;
|
| 186 |
+
target.style.height = "auto";
|
| 187 |
+
target.style.height = Math.min(target.scrollHeight, 120) + "px";
|
| 188 |
+
}}
|
| 189 |
+
/>
|
| 190 |
+
</div>
|
| 191 |
+
|
| 192 |
+
<button
|
| 193 |
+
type="button"
|
| 194 |
+
onClick={handleSend}
|
| 195 |
+
disabled={(!inputValue.trim() && allFiles.length === 0) || disabled}
|
| 196 |
+
className="flex-shrink-0 p-2.5 bg-blue-600/90 hover:bg-blue-600 disabled:bg-zinc-700/50 disabled:cursor-not-allowed rounded-lg transition-all shadow-sm hover:shadow-blue-500/20 disabled:shadow-none backdrop-blur-sm"
|
| 197 |
+
>
|
| 198 |
+
<Send className="w-4 h-4" />
|
| 199 |
+
</button>
|
| 200 |
+
</div>
|
| 201 |
+
|
| 202 |
+
<div className="flex items-center justify-between relative z-10">
|
| 203 |
+
<div className="flex items-center gap-3">
|
| 204 |
+
<input
|
| 205 |
+
ref={fileInputRef}
|
| 206 |
+
type="file"
|
| 207 |
+
multiple
|
| 208 |
+
accept="image/*,.pdf,.txt,.doc,.docx"
|
| 209 |
+
onChange={handleFileSelect}
|
| 210 |
+
className="hidden"
|
| 211 |
+
/>
|
| 212 |
+
<button
|
| 213 |
+
type="button"
|
| 214 |
+
onClick={handleAttachClick}
|
| 215 |
+
className="flex items-center gap-2 text-sm text-zinc-400 hover:text-white hover:bg-gray-700/40 px-3 py-1.5 rounded-md transition-all disabled:opacity-50 backdrop-blur-sm border border-transparent hover:border-gray-600/30"
|
| 216 |
+
disabled={disabled}
|
| 217 |
+
>
|
| 218 |
+
<Paperclip className="w-4 h-4" />
|
| 219 |
+
<span>Attach</span>
|
| 220 |
+
</button>
|
| 221 |
+
</div>
|
| 222 |
+
|
| 223 |
+
<div className="text-xs text-gray-500 text-right">
|
| 224 |
+
<div>Drag & drop files anywhere</div>
|
| 225 |
+
<div className="text-gray-600">Max 5MB per file, 20MB total</div>
|
| 226 |
+
</div>
|
| 227 |
+
</div>
|
| 228 |
+
</div>
|
| 229 |
+
</div>
|
| 230 |
+
);
|
| 231 |
+
};
|
frontend/src/app/create/components/ChatMessage.tsx
ADDED
|
@@ -0,0 +1,678 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import {
|
| 2 |
+
AlertTriangle,
|
| 3 |
+
BookOpen,
|
| 4 |
+
Brain,
|
| 5 |
+
CheckCircle,
|
| 6 |
+
Code,
|
| 7 |
+
Edit3,
|
| 8 |
+
File,
|
| 9 |
+
FileText,
|
| 10 |
+
GitBranch,
|
| 11 |
+
Image,
|
| 12 |
+
Info,
|
| 13 |
+
Navigation,
|
| 14 |
+
Package,
|
| 15 |
+
Terminal,
|
| 16 |
+
Trash2,
|
| 17 |
+
} from "lucide-react";
|
| 18 |
+
import React, { useEffect, useState } from "react";
|
| 19 |
+
|
| 20 |
+
interface Attachment {
|
| 21 |
+
type: "image" | "document";
|
| 22 |
+
data: string;
|
| 23 |
+
name: string;
|
| 24 |
+
mimeType: string;
|
| 25 |
+
size: number;
|
| 26 |
+
}
|
| 27 |
+
|
| 28 |
+
interface Message {
|
| 29 |
+
id: string;
|
| 30 |
+
role: "user" | "assistant";
|
| 31 |
+
content: string;
|
| 32 |
+
timestamp: string;
|
| 33 |
+
attachments?: Attachment[];
|
| 34 |
+
}
|
| 35 |
+
|
| 36 |
+
interface ChatMessageProps {
|
| 37 |
+
message: Message;
|
| 38 |
+
formatMessageContent: (content: string) => React.ReactNode[];
|
| 39 |
+
containerId?: string;
|
| 40 |
+
isStreaming?: boolean;
|
| 41 |
+
}
|
| 42 |
+
|
| 43 |
+
const parseSpecialTags = (
|
| 44 |
+
content: string,
|
| 45 |
+
containerId?: string,
|
| 46 |
+
messageId?: string,
|
| 47 |
+
executeOperations: boolean = true
|
| 48 |
+
) => {
|
| 49 |
+
const components: React.ReactNode[] = [];
|
| 50 |
+
let currentIndex = 0;
|
| 51 |
+
|
| 52 |
+
const patterns = {
|
| 53 |
+
write: /<dec-write\s+(?:path|file_path)="([^"]+)">([\s\S]*?)<\/dec-write>/g,
|
| 54 |
+
rename: /<dec-rename\s+from="([^"]+)"\s+to="([^"]+)"\s*\/>/g,
|
| 55 |
+
delete: /<dec-delete\s+(?:path|file_path)="([^"]+)"\s*\/>/g,
|
| 56 |
+
dependency:
|
| 57 |
+
/<dec-add-dependency(?:\s+name="([^"]+)"(?:\s+version="([^"]+)")?)?>(.*?)<\/dec-add-dependency>/g,
|
| 58 |
+
code: /<dec-code>([\s\S]*?)<\/dec-code>/g,
|
| 59 |
+
thinking: /<dec-thinking>([\s\S]*?)<\/dec-thinking>/g,
|
| 60 |
+
error: /<dec-error>([\s\S]*?)<\/dec-error>/g,
|
| 61 |
+
success: /<dec-success>([\s\S]*?)<\/dec-success>/g,
|
| 62 |
+
responseFormat: /<response_format>([\s\S]*?)<\/response_format>/g,
|
| 63 |
+
userMessage: /<user_message>([\s\S]*?)<\/user_message>/g,
|
| 64 |
+
aiMessage: /<ai_message>([\s\S]*?)<\/ai_message>/g,
|
| 65 |
+
examples: /<examples>([\s\S]*?)<\/examples>/g,
|
| 66 |
+
guidelines: /<guidelines>([\s\S]*?)<\/guidelines>/g,
|
| 67 |
+
consoleLogs: /<console-logs>([\s\S]*?)<\/console-logs>/g,
|
| 68 |
+
usefulContext: /<useful-context>([\s\S]*?)<\/useful-context>/g,
|
| 69 |
+
currentRoute: /<current-route>([\s\S]*?)<\/current-route>/g,
|
| 70 |
+
instructionsReminder:
|
| 71 |
+
/<instructions-reminder>([\s\S]*?)<\/instructions-reminder>/g,
|
| 72 |
+
lastDiff: /<last-diff>([\s\S]*?)<\/last-diff>/g,
|
| 73 |
+
};
|
| 74 |
+
|
| 75 |
+
const getExecutedKey = (containerId: string) => `executed_${containerId}`;
|
| 76 |
+
|
| 77 |
+
const isMessageExecuted = (containerId: string, messageId: string) => {
|
| 78 |
+
if (typeof window === "undefined") return false;
|
| 79 |
+
const stored = localStorage.getItem(getExecutedKey(containerId));
|
| 80 |
+
const executed = new Set(stored ? JSON.parse(stored) : []);
|
| 81 |
+
return executed.has(messageId);
|
| 82 |
+
};
|
| 83 |
+
|
| 84 |
+
const markMessageExecuted = (containerId: string, messageId: string) => {
|
| 85 |
+
if (typeof window === "undefined") return;
|
| 86 |
+
const stored = localStorage.getItem(getExecutedKey(containerId));
|
| 87 |
+
const executed = new Set(stored ? JSON.parse(stored) : []);
|
| 88 |
+
executed.add(messageId);
|
| 89 |
+
localStorage.setItem(
|
| 90 |
+
getExecutedKey(containerId),
|
| 91 |
+
JSON.stringify([...executed])
|
| 92 |
+
);
|
| 93 |
+
};
|
| 94 |
+
|
| 95 |
+
const executeFileOperation = async (type: string, match: RegExpExecArray) => {
|
| 96 |
+
if (!containerId || !messageId || !executeOperations) return;
|
| 97 |
+
if (isMessageExecuted(containerId, messageId)) return;
|
| 98 |
+
|
| 99 |
+
try {
|
| 100 |
+
let response;
|
| 101 |
+
|
| 102 |
+
switch (type) {
|
| 103 |
+
case "write":
|
| 104 |
+
console.log(
|
| 105 |
+
`[FILE OP] Writing file: ${match[1]} (${
|
| 106 |
+
match[2].trim().length
|
| 107 |
+
} chars)`
|
| 108 |
+
);
|
| 109 |
+
response = await fetch(
|
| 110 |
+
`http://localhost:4000/containers/${containerId}/files`,
|
| 111 |
+
{
|
| 112 |
+
method: "PUT",
|
| 113 |
+
headers: { "Content-Type": "application/json" },
|
| 114 |
+
body: JSON.stringify({
|
| 115 |
+
path: match[1],
|
| 116 |
+
content: match[2].trim(),
|
| 117 |
+
}),
|
| 118 |
+
}
|
| 119 |
+
);
|
| 120 |
+
console.log(
|
| 121 |
+
`[FILE OP] Write file ${match[1]} - Status: ${response.status}`
|
| 122 |
+
);
|
| 123 |
+
break;
|
| 124 |
+
case "rename":
|
| 125 |
+
console.log(`[FILE OP] Renaming file: ${match[1]} → ${match[2]}`);
|
| 126 |
+
response = await fetch(
|
| 127 |
+
`http://localhost:4000/containers/${containerId}/files/rename`,
|
| 128 |
+
{
|
| 129 |
+
method: "PUT",
|
| 130 |
+
headers: { "Content-Type": "application/json" },
|
| 131 |
+
body: JSON.stringify({ oldPath: match[1], newPath: match[2] }),
|
| 132 |
+
}
|
| 133 |
+
);
|
| 134 |
+
console.log(
|
| 135 |
+
`[FILE OP] Rename ${match[1]} → ${match[2]} - Status: ${response.status}`
|
| 136 |
+
);
|
| 137 |
+
break;
|
| 138 |
+
case "delete":
|
| 139 |
+
console.log(`[FILE OP] Deleting file: ${match[1]}`);
|
| 140 |
+
response = await fetch(
|
| 141 |
+
`http://localhost:4000/containers/${containerId}/files`,
|
| 142 |
+
{
|
| 143 |
+
method: "DELETE",
|
| 144 |
+
headers: { "Content-Type": "application/json" },
|
| 145 |
+
body: JSON.stringify({ path: match[1] }),
|
| 146 |
+
}
|
| 147 |
+
);
|
| 148 |
+
console.log(
|
| 149 |
+
`[FILE OP] Delete ${match[1]} - Status: ${response.status}`
|
| 150 |
+
);
|
| 151 |
+
break;
|
| 152 |
+
case "dependency":
|
| 153 |
+
const packageName = match[1] || match[3]?.trim();
|
| 154 |
+
const version = match[2];
|
| 155 |
+
console.log(
|
| 156 |
+
`[FILE OP] Installing dependency: ${packageName} ${
|
| 157 |
+
version ? `@${version}` : ""
|
| 158 |
+
}`
|
| 159 |
+
);
|
| 160 |
+
response = await fetch(
|
| 161 |
+
`http://localhost:4000/containers/${containerId}/dependencies`,
|
| 162 |
+
{
|
| 163 |
+
method: "POST",
|
| 164 |
+
headers: { "Content-Type": "application/json" },
|
| 165 |
+
body: JSON.stringify({ packageName, isDev: false }),
|
| 166 |
+
}
|
| 167 |
+
);
|
| 168 |
+
console.log(
|
| 169 |
+
`[FILE OP] Install ${packageName} - Status: ${response.status}`
|
| 170 |
+
);
|
| 171 |
+
break;
|
| 172 |
+
}
|
| 173 |
+
|
| 174 |
+
if (response && !response.ok) {
|
| 175 |
+
const errorText = await response.text();
|
| 176 |
+
throw new Error(`HTTP ${response.status}: ${errorText}`);
|
| 177 |
+
}
|
| 178 |
+
|
| 179 |
+
console.log(`[FILE OP] ${type} operation completed successfully`);
|
| 180 |
+
if (messageId && containerId) {
|
| 181 |
+
markMessageExecuted(containerId, messageId);
|
| 182 |
+
}
|
| 183 |
+
} catch (error) {
|
| 184 |
+
console.error(`[FILE OP] ${type} operation failed:`, error);
|
| 185 |
+
}
|
| 186 |
+
};
|
| 187 |
+
|
| 188 |
+
const allMatches: Array<{
|
| 189 |
+
type: string;
|
| 190 |
+
match: RegExpExecArray;
|
| 191 |
+
start: number;
|
| 192 |
+
end: number;
|
| 193 |
+
}> = [];
|
| 194 |
+
|
| 195 |
+
Object.entries(patterns).forEach(([type, pattern]) => {
|
| 196 |
+
let match;
|
| 197 |
+
pattern.lastIndex = 0;
|
| 198 |
+
while ((match = pattern.exec(content)) !== null) {
|
| 199 |
+
allMatches.push({
|
| 200 |
+
type,
|
| 201 |
+
match,
|
| 202 |
+
start: match.index,
|
| 203 |
+
end: match.index + match[0].length,
|
| 204 |
+
});
|
| 205 |
+
}
|
| 206 |
+
});
|
| 207 |
+
|
| 208 |
+
allMatches.sort((a, b) => a.start - b.start);
|
| 209 |
+
|
| 210 |
+
allMatches.forEach((matchData, index) => {
|
| 211 |
+
const { type, match, start, end } = matchData;
|
| 212 |
+
|
| 213 |
+
if (start > currentIndex) {
|
| 214 |
+
const beforeContent = content.slice(currentIndex, start);
|
| 215 |
+
if (beforeContent.trim()) {
|
| 216 |
+
components.push(
|
| 217 |
+
<div
|
| 218 |
+
key={`before-${index}`}
|
| 219 |
+
className="prose prose-sm prose-invert max-w-none"
|
| 220 |
+
>
|
| 221 |
+
{beforeContent
|
| 222 |
+
.split("\n")
|
| 223 |
+
.filter((line) => line.trim())
|
| 224 |
+
.map((line, i) => (
|
| 225 |
+
<p key={i} className="mb-1">
|
| 226 |
+
{line}
|
| 227 |
+
</p>
|
| 228 |
+
))}
|
| 229 |
+
</div>
|
| 230 |
+
);
|
| 231 |
+
}
|
| 232 |
+
}
|
| 233 |
+
|
| 234 |
+
if (
|
| 235 |
+
["write", "rename", "delete", "dependency"].includes(type) &&
|
| 236 |
+
executeOperations
|
| 237 |
+
) {
|
| 238 |
+
executeFileOperation(type, match);
|
| 239 |
+
}
|
| 240 |
+
|
| 241 |
+
if (type !== "code") {
|
| 242 |
+
components.push(renderSpecialComponent(type, match, index));
|
| 243 |
+
}
|
| 244 |
+
currentIndex = end;
|
| 245 |
+
});
|
| 246 |
+
|
| 247 |
+
if (currentIndex < content.length) {
|
| 248 |
+
let remainingContent = content.slice(currentIndex);
|
| 249 |
+
remainingContent = remainingContent.replace(/<\/dec-code>/g, "");
|
| 250 |
+
|
| 251 |
+
if (remainingContent.trim()) {
|
| 252 |
+
components.push(
|
| 253 |
+
<div key="remaining" className="prose prose-sm prose-invert max-w-none">
|
| 254 |
+
{remainingContent
|
| 255 |
+
.split("\n")
|
| 256 |
+
.filter((line) => line.trim())
|
| 257 |
+
.map((line, i) => (
|
| 258 |
+
<p key={i} className="mb-1">
|
| 259 |
+
{line}
|
| 260 |
+
</p>
|
| 261 |
+
))}
|
| 262 |
+
</div>
|
| 263 |
+
);
|
| 264 |
+
}
|
| 265 |
+
}
|
| 266 |
+
|
| 267 |
+
return components.length > 0 ? components : null;
|
| 268 |
+
};
|
| 269 |
+
|
| 270 |
+
const renderSpecialComponent = (
|
| 271 |
+
type: string,
|
| 272 |
+
match: RegExpExecArray,
|
| 273 |
+
index: number
|
| 274 |
+
): React.ReactNode => {
|
| 275 |
+
switch (type) {
|
| 276 |
+
case "write":
|
| 277 |
+
return (
|
| 278 |
+
<div
|
| 279 |
+
key={`write-${index}`}
|
| 280 |
+
className="my-4 bg-blue-500/10 border border-blue-500/30 rounded-lg overflow-hidden"
|
| 281 |
+
>
|
| 282 |
+
<div className="flex items-center gap-2 bg-blue-500/20 px-3 py-2 border-b border-blue-500/30">
|
| 283 |
+
<File className="w-4 h-4 text-blue-400" />
|
| 284 |
+
<span className="text-sm font-medium text-blue-400">
|
| 285 |
+
Create/Update File
|
| 286 |
+
</span>
|
| 287 |
+
<code className="ml-auto text-xs text-blue-300 bg-blue-500/20 px-2 py-0.5 rounded">
|
| 288 |
+
{match[1]}
|
| 289 |
+
</code>
|
| 290 |
+
</div>
|
| 291 |
+
<div className="p-3">
|
| 292 |
+
<pre className="bg-gray-800/60 rounded p-3 text-xs overflow-x-auto">
|
| 293 |
+
<code className="text-gray-300">{match[2].trim()}</code>
|
| 294 |
+
</pre>
|
| 295 |
+
</div>
|
| 296 |
+
</div>
|
| 297 |
+
);
|
| 298 |
+
|
| 299 |
+
case "rename":
|
| 300 |
+
return (
|
| 301 |
+
<div
|
| 302 |
+
key={`rename-${index}`}
|
| 303 |
+
className="my-3 bg-yellow-500/10 border border-yellow-500/30 rounded-lg p-3"
|
| 304 |
+
>
|
| 305 |
+
<div className="flex items-center gap-2 mb-2">
|
| 306 |
+
<Edit3 className="w-4 h-4 text-yellow-400" />
|
| 307 |
+
<span className="text-sm font-medium text-yellow-400">
|
| 308 |
+
Rename File
|
| 309 |
+
</span>
|
| 310 |
+
</div>
|
| 311 |
+
<div className="flex items-center gap-2 text-xs">
|
| 312 |
+
<code className="bg-yellow-500/20 text-yellow-300 px-2 py-1 rounded">
|
| 313 |
+
{match[1]}
|
| 314 |
+
</code>
|
| 315 |
+
<span className="text-yellow-400">→</span>
|
| 316 |
+
<code className="bg-yellow-500/20 text-yellow-300 px-2 py-1 rounded">
|
| 317 |
+
{match[2]}
|
| 318 |
+
</code>
|
| 319 |
+
</div>
|
| 320 |
+
</div>
|
| 321 |
+
);
|
| 322 |
+
|
| 323 |
+
case "delete":
|
| 324 |
+
return (
|
| 325 |
+
<div
|
| 326 |
+
key={`delete-${index}`}
|
| 327 |
+
className="my-3 bg-red-500/10 border border-red-500/30 rounded-lg p-3"
|
| 328 |
+
>
|
| 329 |
+
<div className="flex items-center gap-2">
|
| 330 |
+
<Trash2 className="w-4 h-4 text-red-400" />
|
| 331 |
+
<span className="text-sm font-medium text-red-400">
|
| 332 |
+
Delete File
|
| 333 |
+
</span>
|
| 334 |
+
<code className="ml-auto text-xs text-red-300 bg-red-500/20 px-2 py-0.5 rounded">
|
| 335 |
+
{match[1]}
|
| 336 |
+
</code>
|
| 337 |
+
</div>
|
| 338 |
+
</div>
|
| 339 |
+
);
|
| 340 |
+
|
| 341 |
+
case "dependency":
|
| 342 |
+
const packageName = match[1] || match[3]?.trim();
|
| 343 |
+
return (
|
| 344 |
+
<div
|
| 345 |
+
key={`dependency-${index}`}
|
| 346 |
+
className="my-3 bg-purple-500/10 border border-purple-500/30 rounded-lg p-3"
|
| 347 |
+
>
|
| 348 |
+
<div className="flex items-center gap-2">
|
| 349 |
+
<Package className="w-4 h-4 text-purple-400" />
|
| 350 |
+
<span className="text-sm font-medium text-purple-400">
|
| 351 |
+
Add Dependency
|
| 352 |
+
</span>
|
| 353 |
+
<code className="text-xs text-purple-300 bg-purple-500/20 px-2 py-0.5 rounded">
|
| 354 |
+
{packageName}
|
| 355 |
+
</code>
|
| 356 |
+
</div>
|
| 357 |
+
</div>
|
| 358 |
+
);
|
| 359 |
+
|
| 360 |
+
case "code":
|
| 361 |
+
return (
|
| 362 |
+
<div
|
| 363 |
+
key={`code-${index}`}
|
| 364 |
+
className="my-4 bg-gray-500/10 border border-gray-500/30 rounded-lg overflow-hidden"
|
| 365 |
+
>
|
| 366 |
+
<div className="flex items-center gap-2 bg-gray-500/20 px-3 py-2 border-b border-gray-500/30">
|
| 367 |
+
<Code className="w-4 h-4 text-gray-400" />
|
| 368 |
+
<span className="text-sm font-medium text-gray-400">
|
| 369 |
+
Code Block
|
| 370 |
+
</span>
|
| 371 |
+
</div>
|
| 372 |
+
<div className="p-3">
|
| 373 |
+
<pre className="bg-gray-800/60 rounded p-3 text-xs overflow-x-auto">
|
| 374 |
+
<code className="text-gray-300">{match[1].trim()}</code>
|
| 375 |
+
</pre>
|
| 376 |
+
</div>
|
| 377 |
+
</div>
|
| 378 |
+
);
|
| 379 |
+
|
| 380 |
+
case "thinking":
|
| 381 |
+
return (
|
| 382 |
+
<div
|
| 383 |
+
key={`thinking-${index}`}
|
| 384 |
+
className="my-3 bg-indigo-500/10 border border-indigo-500/30 rounded-lg p-3"
|
| 385 |
+
>
|
| 386 |
+
<div className="flex items-center gap-2 mb-2">
|
| 387 |
+
<Brain className="w-4 h-4 text-indigo-400" />
|
| 388 |
+
<span className="text-sm font-medium text-indigo-400">
|
| 389 |
+
Thinking Process
|
| 390 |
+
</span>
|
| 391 |
+
</div>
|
| 392 |
+
<div className="text-sm text-indigo-300 italic">
|
| 393 |
+
{match[1].trim()}
|
| 394 |
+
</div>
|
| 395 |
+
</div>
|
| 396 |
+
);
|
| 397 |
+
|
| 398 |
+
case "error":
|
| 399 |
+
return (
|
| 400 |
+
<div
|
| 401 |
+
key={`error-${index}`}
|
| 402 |
+
className="my-3 bg-red-500/10 border border-red-500/30 rounded-lg p-3"
|
| 403 |
+
>
|
| 404 |
+
<div className="flex items-center gap-2 mb-2">
|
| 405 |
+
<AlertTriangle className="w-4 h-4 text-red-400" />
|
| 406 |
+
<span className="text-sm font-medium text-red-400">Error</span>
|
| 407 |
+
</div>
|
| 408 |
+
<div className="text-sm text-red-300">{match[1].trim()}</div>
|
| 409 |
+
</div>
|
| 410 |
+
);
|
| 411 |
+
|
| 412 |
+
case "success":
|
| 413 |
+
return (
|
| 414 |
+
<div
|
| 415 |
+
key={`success-${index}`}
|
| 416 |
+
className="my-3 bg-green-500/10 border border-green-500/30 rounded-lg p-3"
|
| 417 |
+
>
|
| 418 |
+
<div className="flex items-center gap-2 mb-2">
|
| 419 |
+
<CheckCircle className="w-4 h-4 text-green-400" />
|
| 420 |
+
<span className="text-sm font-medium text-green-400">Success</span>
|
| 421 |
+
</div>
|
| 422 |
+
<div className="text-sm text-green-300">{match[1].trim()}</div>
|
| 423 |
+
</div>
|
| 424 |
+
);
|
| 425 |
+
|
| 426 |
+
case "consoleLogs":
|
| 427 |
+
return (
|
| 428 |
+
<div
|
| 429 |
+
key={`console-${index}`}
|
| 430 |
+
className="my-4 bg-gray-800/60 border border-gray-600/40 rounded-lg overflow-hidden"
|
| 431 |
+
>
|
| 432 |
+
<div className="flex items-center gap-2 bg-gray-700/40 px-3 py-2 border-b border-gray-600/40">
|
| 433 |
+
<Terminal className="w-4 h-4 text-gray-400" />
|
| 434 |
+
<span className="text-sm font-medium text-gray-400">
|
| 435 |
+
Console Output
|
| 436 |
+
</span>
|
| 437 |
+
</div>
|
| 438 |
+
<div className="p-3">
|
| 439 |
+
<pre className="text-xs text-green-400 font-mono">
|
| 440 |
+
<code>{match[1].trim()}</code>
|
| 441 |
+
</pre>
|
| 442 |
+
</div>
|
| 443 |
+
</div>
|
| 444 |
+
);
|
| 445 |
+
|
| 446 |
+
case "examples":
|
| 447 |
+
return (
|
| 448 |
+
<div
|
| 449 |
+
key={`examples-${index}`}
|
| 450 |
+
className="my-4 bg-cyan-500/10 border border-cyan-500/30 rounded-lg p-3"
|
| 451 |
+
>
|
| 452 |
+
<div className="flex items-center gap-2 mb-2">
|
| 453 |
+
<BookOpen className="w-4 h-4 text-cyan-400" />
|
| 454 |
+
<span className="text-sm font-medium text-cyan-400">Examples</span>
|
| 455 |
+
</div>
|
| 456 |
+
<div className="text-sm text-cyan-300">
|
| 457 |
+
<pre className="bg-cyan-500/10 rounded p-2 text-xs overflow-x-auto">
|
| 458 |
+
<code>{match[1].trim()}</code>
|
| 459 |
+
</pre>
|
| 460 |
+
</div>
|
| 461 |
+
</div>
|
| 462 |
+
);
|
| 463 |
+
|
| 464 |
+
case "currentRoute":
|
| 465 |
+
return (
|
| 466 |
+
<div
|
| 467 |
+
key={`route-${index}`}
|
| 468 |
+
className="my-3 bg-orange-500/10 border border-orange-500/30 rounded-lg p-3"
|
| 469 |
+
>
|
| 470 |
+
<div className="flex items-center gap-2">
|
| 471 |
+
<Navigation className="w-4 h-4 text-orange-400" />
|
| 472 |
+
<span className="text-sm font-medium text-orange-400">
|
| 473 |
+
Current Route
|
| 474 |
+
</span>
|
| 475 |
+
<code className="ml-auto text-xs text-orange-300 bg-orange-500/20 px-2 py-0.5 rounded">
|
| 476 |
+
{match[1].trim()}
|
| 477 |
+
</code>
|
| 478 |
+
</div>
|
| 479 |
+
</div>
|
| 480 |
+
);
|
| 481 |
+
|
| 482 |
+
case "lastDiff":
|
| 483 |
+
return (
|
| 484 |
+
<div
|
| 485 |
+
key={`diff-${index}`}
|
| 486 |
+
className="my-4 bg-pink-500/10 border border-pink-500/30 rounded-lg overflow-hidden"
|
| 487 |
+
>
|
| 488 |
+
<div className="flex items-center gap-2 bg-pink-500/20 px-3 py-2 border-b border-pink-500/30">
|
| 489 |
+
<GitBranch className="w-4 h-4 text-pink-400" />
|
| 490 |
+
<span className="text-sm font-medium text-pink-400">
|
| 491 |
+
Recent Changes
|
| 492 |
+
</span>
|
| 493 |
+
</div>
|
| 494 |
+
<div className="p-3">
|
| 495 |
+
<pre className="bg-gray-800/60 rounded p-3 text-xs overflow-x-auto">
|
| 496 |
+
<code className="text-gray-300">{match[1].trim()}</code>
|
| 497 |
+
</pre>
|
| 498 |
+
</div>
|
| 499 |
+
</div>
|
| 500 |
+
);
|
| 501 |
+
|
| 502 |
+
case "instructionsReminder":
|
| 503 |
+
return (
|
| 504 |
+
<div
|
| 505 |
+
key={`instructions-${index}`}
|
| 506 |
+
className="my-3 bg-teal-500/10 border border-teal-500/30 rounded-lg p-3"
|
| 507 |
+
>
|
| 508 |
+
<div className="flex items-center gap-2 mb-2">
|
| 509 |
+
<Info className="w-4 h-4 text-teal-400" />
|
| 510 |
+
<span className="text-sm font-medium text-teal-400">
|
| 511 |
+
Instructions
|
| 512 |
+
</span>
|
| 513 |
+
</div>
|
| 514 |
+
<div className="text-sm text-teal-300">{match[1].trim()}</div>
|
| 515 |
+
</div>
|
| 516 |
+
);
|
| 517 |
+
|
| 518 |
+
default:
|
| 519 |
+
return (
|
| 520 |
+
<div
|
| 521 |
+
key={`default-${index}`}
|
| 522 |
+
className="my-3 bg-gray-500/10 border border-gray-500/30 rounded-lg p-3"
|
| 523 |
+
>
|
| 524 |
+
<div className="text-sm text-gray-300">
|
| 525 |
+
{match[1]?.trim() || match[0]}
|
| 526 |
+
</div>
|
| 527 |
+
</div>
|
| 528 |
+
);
|
| 529 |
+
}
|
| 530 |
+
};
|
| 531 |
+
|
| 532 |
+
export const ChatMessage: React.FC<ChatMessageProps> = ({
|
| 533 |
+
message,
|
| 534 |
+
formatMessageContent,
|
| 535 |
+
containerId,
|
| 536 |
+
isStreaming = false,
|
| 537 |
+
}) => {
|
| 538 |
+
const [hasExecutedOperations, setHasExecutedOperations] = useState(false);
|
| 539 |
+
|
| 540 |
+
const formatTimestamp = (timestamp: string) => {
|
| 541 |
+
const date = new Date(timestamp);
|
| 542 |
+
return date.toLocaleTimeString([], { hour: "2-digit", minute: "2-digit" });
|
| 543 |
+
};
|
| 544 |
+
|
| 545 |
+
const formatFileSize = (bytes: number) => {
|
| 546 |
+
if (bytes === 0) return "0 B";
|
| 547 |
+
const k = 1024;
|
| 548 |
+
const sizes = ["B", "KB", "MB"];
|
| 549 |
+
const i = Math.floor(Math.log(bytes) / Math.log(k));
|
| 550 |
+
return parseFloat((bytes / Math.pow(k, i)).toFixed(1)) + " " + sizes[i];
|
| 551 |
+
};
|
| 552 |
+
|
| 553 |
+
const hasSpecialTags =
|
| 554 |
+
/<dec-|<response_format|<user_message|<ai_message|<examples|<guidelines|<console-logs|<useful-context|<current-route|<instructions-reminder|<last-diff/.test(
|
| 555 |
+
message.content
|
| 556 |
+
);
|
| 557 |
+
|
| 558 |
+
useEffect(() => {
|
| 559 |
+
if (
|
| 560 |
+
!isStreaming &&
|
| 561 |
+
!hasExecutedOperations &&
|
| 562 |
+
hasSpecialTags &&
|
| 563 |
+
containerId
|
| 564 |
+
) {
|
| 565 |
+
parseSpecialTags(message.content, containerId, message.id, true);
|
| 566 |
+
setHasExecutedOperations(true);
|
| 567 |
+
}
|
| 568 |
+
}, [
|
| 569 |
+
isStreaming,
|
| 570 |
+
hasExecutedOperations,
|
| 571 |
+
hasSpecialTags,
|
| 572 |
+
containerId,
|
| 573 |
+
message.content,
|
| 574 |
+
message.id,
|
| 575 |
+
]);
|
| 576 |
+
|
| 577 |
+
return (
|
| 578 |
+
<div
|
| 579 |
+
className={`flex flex-col ${
|
| 580 |
+
message.role === "user" ? "items-end" : "items-start"
|
| 581 |
+
}`}
|
| 582 |
+
>
|
| 583 |
+
{message.role === "assistant" && (
|
| 584 |
+
<div className="flex items-center gap-2 mb-2 w-full">
|
| 585 |
+
<img
|
| 586 |
+
className="w-4 h-4 rounded"
|
| 587 |
+
src="/december-logo.png"
|
| 588 |
+
alt="Assistant Avatar"
|
| 589 |
+
/>
|
| 590 |
+
<span className="text-sm font-medium text-white/90">Assistant</span>
|
| 591 |
+
<span className="text-xs text-white/40 ml-auto">
|
| 592 |
+
{formatTimestamp(message.timestamp)}
|
| 593 |
+
</span>
|
| 594 |
+
</div>
|
| 595 |
+
)}
|
| 596 |
+
|
| 597 |
+
<div
|
| 598 |
+
className={`rounded-xl px-4 py-3 text-sm leading-relaxed backdrop-blur-md border shadow-sm relative ${
|
| 599 |
+
message.role === "user"
|
| 600 |
+
? "bg-blue-600/20 border-blue-500/30 text-white ml-8 max-w-[85%]"
|
| 601 |
+
: "bg-gray-700/60 border-gray-600/40 text-gray-100 w-full"
|
| 602 |
+
}`}
|
| 603 |
+
>
|
| 604 |
+
{message.role === "assistant" && (
|
| 605 |
+
<div className="absolute inset-0 bg-gradient-to-br from-gray-600/10 via-transparent to-gray-700/10 rounded-xl" />
|
| 606 |
+
)}
|
| 607 |
+
{message.role === "user" && (
|
| 608 |
+
<div className="absolute inset-0 bg-gradient-to-br from-blue-500/10 via-transparent to-blue-600/10 rounded-xl" />
|
| 609 |
+
)}
|
| 610 |
+
|
| 611 |
+
<div className="relative z-10">
|
| 612 |
+
{message.attachments && message.attachments.length > 0 && (
|
| 613 |
+
<div className="mb-3 flex flex-wrap gap-2">
|
| 614 |
+
{message.attachments.map((attachment, index) => (
|
| 615 |
+
<div
|
| 616 |
+
key={index}
|
| 617 |
+
className="flex items-center gap-2 bg-black/20 rounded-lg px-3 py-2 border border-white/10"
|
| 618 |
+
>
|
| 619 |
+
{attachment.type === "image" ? (
|
| 620 |
+
<>
|
| 621 |
+
<Image className="w-4 h-4 text-green-400" />
|
| 622 |
+
<img
|
| 623 |
+
src={`data:${attachment.mimeType};base64,${attachment.data}`}
|
| 624 |
+
alt={attachment.name}
|
| 625 |
+
className="max-w-32 max-h-20 rounded object-cover"
|
| 626 |
+
/>
|
| 627 |
+
</>
|
| 628 |
+
) : (
|
| 629 |
+
<FileText className="w-4 h-4 text-blue-400" />
|
| 630 |
+
)}
|
| 631 |
+
<div className="flex flex-col">
|
| 632 |
+
<span className="text-xs font-medium truncate max-w-24">
|
| 633 |
+
{attachment.name}
|
| 634 |
+
</span>
|
| 635 |
+
<span className="text-xs text-white/60">
|
| 636 |
+
{formatFileSize(attachment.size)}
|
| 637 |
+
</span>
|
| 638 |
+
</div>
|
| 639 |
+
</div>
|
| 640 |
+
))}
|
| 641 |
+
</div>
|
| 642 |
+
)}
|
| 643 |
+
|
| 644 |
+
{message.role === "user" ? (
|
| 645 |
+
<div>{message.content}</div>
|
| 646 |
+
) : (
|
| 647 |
+
<div className="space-y-1">
|
| 648 |
+
{hasSpecialTags ? (
|
| 649 |
+
<>
|
| 650 |
+
{parseSpecialTags(
|
| 651 |
+
message.content,
|
| 652 |
+
containerId,
|
| 653 |
+
message.id,
|
| 654 |
+
false
|
| 655 |
+
) || (
|
| 656 |
+
<div className="prose prose-sm prose-invert max-w-none [&_h2]:text-white [&_h3]:text-white [&_h4]:text-white [&_strong]:text-white">
|
| 657 |
+
{formatMessageContent(message.content)}
|
| 658 |
+
</div>
|
| 659 |
+
)}
|
| 660 |
+
</>
|
| 661 |
+
) : (
|
| 662 |
+
<div className="prose prose-sm prose-invert max-w-none [&_h2]:text-white [&_h3]:text-white [&_h4]:text-white [&_strong]:text-white [&_code]:bg-gray-600/60 [&_code]:text-gray-200 [&_code]:px-1.5 [&_code]:py-0.5 [&_code]:rounded [&_code]:border [&_code]:border-gray-500/30">
|
| 663 |
+
{formatMessageContent(message.content)}
|
| 664 |
+
</div>
|
| 665 |
+
)}
|
| 666 |
+
</div>
|
| 667 |
+
)}
|
| 668 |
+
</div>
|
| 669 |
+
</div>
|
| 670 |
+
|
| 671 |
+
{message.role === "user" && (
|
| 672 |
+
<span className="text-xs text-white/40 mt-1.5 mr-2">
|
| 673 |
+
{formatTimestamp(message.timestamp)}
|
| 674 |
+
</span>
|
| 675 |
+
)}
|
| 676 |
+
</div>
|
| 677 |
+
);
|
| 678 |
+
};
|