Merge remote-tracking branch 'coleam00/main' into Folder-import-refinement
Browse files- .env.example +6 -0
- .github/workflows/docs.yaml +33 -0
- .github/workflows/stale.yml +25 -0
- .gitignore +4 -0
- Dockerfile +8 -0
- FAQ.md +54 -0
- README.md +24 -86
- app/components/chat/BaseChat.module.scss +104 -0
- app/components/chat/BaseChat.tsx +77 -23
- app/components/chat/Chat.client.tsx +29 -3
- app/components/chat/ExamplePrompts.tsx +9 -5
- app/components/chat/ImportFolderButton.tsx +3 -3
- app/components/chat/Markdown.spec.ts +48 -0
- app/components/chat/Markdown.tsx +45 -1
- app/components/sidebar/Menu.client.tsx +25 -4
- app/components/workbench/EditorPanel.tsx +6 -172
- app/components/workbench/terminal/Terminal.tsx +65 -62
- app/components/workbench/terminal/TerminalTabs.tsx +186 -0
- app/entry.server.tsx +1 -1
- app/lib/.server/llm/api-key.ts +4 -0
- app/lib/.server/llm/model.ts +2 -0
- app/lib/hooks/useSearchFilter.ts +52 -0
- app/lib/persistence/db.ts +5 -0
- app/lib/persistence/useChatHistory.ts +2 -2
- app/lib/runtime/action-runner.ts +3 -3
- app/lib/stores/workbench.ts +13 -2
- app/routes/api.enhancer.ts +18 -2
- app/styles/components/resize-handle.scss +4 -2
- app/styles/index.scss +8 -8
- app/utils/constants.ts +31 -3
- app/utils/logger.ts +1 -1
- docker-compose.yaml +13 -9
- docs/.gitignore +2 -0
- docs/README.md +0 -0
- docs/docs/CONTRIBUTING.md +218 -0
- docs/docs/FAQ.md +52 -0
- docs/docs/index.md +215 -0
- docs/mkdocs.yml +60 -0
- docs/poetry.lock +798 -0
- docs/pyproject.toml +15 -0
- eslint.config.mjs +17 -2
- package-lock.json +0 -0
- package.json +48 -45
- pnpm-lock.yaml +0 -0
- public/social_preview_index.jpg +0 -0
- vite.config.ts +1 -0
- worker-configuration.d.ts +2 -0
.env.example
CHANGED
@@ -38,12 +38,18 @@ OLLAMA_API_BASE_URL=
|
|
38 |
# You only need this environment variable set if you want to use OpenAI Like models
|
39 |
OPENAI_LIKE_API_BASE_URL=
|
40 |
|
|
|
|
|
|
|
41 |
# You only need this environment variable set if you want to use DeepSeek models through their API
|
42 |
DEEPSEEK_API_KEY=
|
43 |
|
44 |
# Get your OpenAI Like API Key
|
45 |
OPENAI_LIKE_API_KEY=
|
46 |
|
|
|
|
|
|
|
47 |
# Get your Mistral API Key by following these instructions -
|
48 |
# https://console.mistral.ai/api-keys/
|
49 |
# You only need this environment variable set if you want to use Mistral models
|
|
|
38 |
# You only need this environment variable set if you want to use OpenAI Like models
|
39 |
OPENAI_LIKE_API_BASE_URL=
|
40 |
|
41 |
+
# You only need this environment variable set if you want to use Together AI models
|
42 |
+
TOGETHER_API_BASE_URL=
|
43 |
+
|
44 |
# You only need this environment variable set if you want to use DeepSeek models through their API
|
45 |
DEEPSEEK_API_KEY=
|
46 |
|
47 |
# Get your OpenAI Like API Key
|
48 |
OPENAI_LIKE_API_KEY=
|
49 |
|
50 |
+
# Get your Together API Key
|
51 |
+
TOGETHER_API_KEY=
|
52 |
+
|
53 |
# Get your Mistral API Key by following these instructions -
|
54 |
# https://console.mistral.ai/api-keys/
|
55 |
# You only need this environment variable set if you want to use Mistral models
|
.github/workflows/docs.yaml
ADDED
@@ -0,0 +1,33 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
name: Docs CI/CD
|
2 |
+
|
3 |
+
on:
|
4 |
+
push:
|
5 |
+
branches:
|
6 |
+
- main
|
7 |
+
permissions:
|
8 |
+
contents: write
|
9 |
+
jobs:
|
10 |
+
build_docs:
|
11 |
+
runs-on: ubuntu-latest
|
12 |
+
defaults:
|
13 |
+
run:
|
14 |
+
working-directory: ./docs
|
15 |
+
steps:
|
16 |
+
- uses: actions/checkout@v4
|
17 |
+
- name: Configure Git Credentials
|
18 |
+
run: |
|
19 |
+
git config user.name github-actions[bot]
|
20 |
+
git config user.email 41898282+github-actions[bot]@users.noreply.github.com
|
21 |
+
- uses: actions/setup-python@v5
|
22 |
+
with:
|
23 |
+
python-version: 3.x
|
24 |
+
- run: echo "cache_id=$(date --utc '+%V')" >> $GITHUB_ENV
|
25 |
+
- uses: actions/cache@v4
|
26 |
+
with:
|
27 |
+
key: mkdocs-material-${{ env.cache_id }}
|
28 |
+
path: .cache
|
29 |
+
restore-keys: |
|
30 |
+
mkdocs-material-
|
31 |
+
|
32 |
+
- run: pip install mkdocs-material
|
33 |
+
- run: mkdocs gh-deploy --force
|
.github/workflows/stale.yml
ADDED
@@ -0,0 +1,25 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
name: Mark Stale Issues and Pull Requests
|
2 |
+
|
3 |
+
on:
|
4 |
+
schedule:
|
5 |
+
- cron: '0 2 * * *' # Runs daily at 2:00 AM UTC
|
6 |
+
workflow_dispatch: # Allows manual triggering of the workflow
|
7 |
+
|
8 |
+
jobs:
|
9 |
+
stale:
|
10 |
+
runs-on: ubuntu-latest
|
11 |
+
|
12 |
+
steps:
|
13 |
+
- name: Mark stale issues and pull requests
|
14 |
+
uses: actions/stale@v8
|
15 |
+
with:
|
16 |
+
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
17 |
+
stale-issue-message: "This issue has been marked as stale due to inactivity. If no further activity occurs, it will be closed in 7 days."
|
18 |
+
stale-pr-message: "This pull request has been marked as stale due to inactivity. If no further activity occurs, it will be closed in 7 days."
|
19 |
+
days-before-stale: 14 # Number of days before marking an issue or PR as stale
|
20 |
+
days-before-close: 7 # Number of days after being marked stale before closing
|
21 |
+
stale-issue-label: "stale" # Label to apply to stale issues
|
22 |
+
stale-pr-label: "stale" # Label to apply to stale pull requests
|
23 |
+
exempt-issue-labels: "pinned,important" # Issues with these labels won't be marked stale
|
24 |
+
exempt-pr-labels: "pinned,important" # PRs with these labels won't be marked stale
|
25 |
+
operations-per-run: 90 # Limits the number of actions per run to avoid API rate limits
|
.gitignore
CHANGED
@@ -27,9 +27,13 @@ dist-ssr
|
|
27 |
/build
|
28 |
.env.local
|
29 |
.env
|
|
|
30 |
*.vars
|
31 |
.wrangler
|
32 |
_worker.bundle
|
33 |
|
34 |
Modelfile
|
35 |
modelfiles
|
|
|
|
|
|
|
|
27 |
/build
|
28 |
.env.local
|
29 |
.env
|
30 |
+
.dev.vars
|
31 |
*.vars
|
32 |
.wrangler
|
33 |
_worker.bundle
|
34 |
|
35 |
Modelfile
|
36 |
modelfiles
|
37 |
+
|
38 |
+
# docs ignore
|
39 |
+
site
|
Dockerfile
CHANGED
@@ -25,6 +25,8 @@ ARG ANTHROPIC_API_KEY
|
|
25 |
ARG OPEN_ROUTER_API_KEY
|
26 |
ARG GOOGLE_GENERATIVE_AI_API_KEY
|
27 |
ARG OLLAMA_API_BASE_URL
|
|
|
|
|
28 |
ARG VITE_LOG_LEVEL=debug
|
29 |
ARG DEFAULT_NUM_CTX
|
30 |
|
@@ -36,6 +38,8 @@ ENV WRANGLER_SEND_METRICS=false \
|
|
36 |
OPEN_ROUTER_API_KEY=${OPEN_ROUTER_API_KEY} \
|
37 |
GOOGLE_GENERATIVE_AI_API_KEY=${GOOGLE_GENERATIVE_AI_API_KEY} \
|
38 |
OLLAMA_API_BASE_URL=${OLLAMA_API_BASE_URL} \
|
|
|
|
|
39 |
VITE_LOG_LEVEL=${VITE_LOG_LEVEL} \
|
40 |
DEFAULT_NUM_CTX=${DEFAULT_NUM_CTX}
|
41 |
|
@@ -58,6 +62,8 @@ ARG ANTHROPIC_API_KEY
|
|
58 |
ARG OPEN_ROUTER_API_KEY
|
59 |
ARG GOOGLE_GENERATIVE_AI_API_KEY
|
60 |
ARG OLLAMA_API_BASE_URL
|
|
|
|
|
61 |
ARG VITE_LOG_LEVEL=debug
|
62 |
ARG DEFAULT_NUM_CTX
|
63 |
|
@@ -68,6 +74,8 @@ ENV GROQ_API_KEY=${GROQ_API_KEY} \
|
|
68 |
OPEN_ROUTER_API_KEY=${OPEN_ROUTER_API_KEY} \
|
69 |
GOOGLE_GENERATIVE_AI_API_KEY=${GOOGLE_GENERATIVE_AI_API_KEY} \
|
70 |
OLLAMA_API_BASE_URL=${OLLAMA_API_BASE_URL} \
|
|
|
|
|
71 |
VITE_LOG_LEVEL=${VITE_LOG_LEVEL} \
|
72 |
DEFAULT_NUM_CTX=${DEFAULT_NUM_CTX}
|
73 |
|
|
|
25 |
ARG OPEN_ROUTER_API_KEY
|
26 |
ARG GOOGLE_GENERATIVE_AI_API_KEY
|
27 |
ARG OLLAMA_API_BASE_URL
|
28 |
+
ARG TOGETHER_API_KEY
|
29 |
+
ARG TOGETHER_API_BASE_URL
|
30 |
ARG VITE_LOG_LEVEL=debug
|
31 |
ARG DEFAULT_NUM_CTX
|
32 |
|
|
|
38 |
OPEN_ROUTER_API_KEY=${OPEN_ROUTER_API_KEY} \
|
39 |
GOOGLE_GENERATIVE_AI_API_KEY=${GOOGLE_GENERATIVE_AI_API_KEY} \
|
40 |
OLLAMA_API_BASE_URL=${OLLAMA_API_BASE_URL} \
|
41 |
+
TOGETHER_API_KEY=${TOGETHER_API_KEY} \
|
42 |
+
TOGETHER_API_BASE_URL=${TOGETHER_API_BASE_URL} \
|
43 |
VITE_LOG_LEVEL=${VITE_LOG_LEVEL} \
|
44 |
DEFAULT_NUM_CTX=${DEFAULT_NUM_CTX}
|
45 |
|
|
|
62 |
ARG OPEN_ROUTER_API_KEY
|
63 |
ARG GOOGLE_GENERATIVE_AI_API_KEY
|
64 |
ARG OLLAMA_API_BASE_URL
|
65 |
+
ARG TOGETHER_API_KEY
|
66 |
+
ARG TOGETHER_API_BASE_URL
|
67 |
ARG VITE_LOG_LEVEL=debug
|
68 |
ARG DEFAULT_NUM_CTX
|
69 |
|
|
|
74 |
OPEN_ROUTER_API_KEY=${OPEN_ROUTER_API_KEY} \
|
75 |
GOOGLE_GENERATIVE_AI_API_KEY=${GOOGLE_GENERATIVE_AI_API_KEY} \
|
76 |
OLLAMA_API_BASE_URL=${OLLAMA_API_BASE_URL} \
|
77 |
+
TOGETHER_API_KEY=${TOGETHER_API_KEY} \
|
78 |
+
TOGETHER_API_BASE_URL=${TOGETHER_API_BASE_URL} \
|
79 |
VITE_LOG_LEVEL=${VITE_LOG_LEVEL} \
|
80 |
DEFAULT_NUM_CTX=${DEFAULT_NUM_CTX}
|
81 |
|
FAQ.md
ADDED
@@ -0,0 +1,54 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
[](https://bolt.new)
|
2 |
+
|
3 |
+
# Bolt.new Fork by Cole Medin - oTToDev
|
4 |
+
|
5 |
+
## FAQ
|
6 |
+
|
7 |
+
### How do I get the best results with oTToDev?
|
8 |
+
|
9 |
+
- **Be specific about your stack**: If you want to use specific frameworks or libraries (like Astro, Tailwind, ShadCN, or any other popular JavaScript framework), mention them in your initial prompt to ensure Bolt scaffolds the project accordingly.
|
10 |
+
|
11 |
+
- **Use the enhance prompt icon**: Before sending your prompt, try clicking the 'enhance' icon to have the AI model help you refine your prompt, then edit the results before submitting.
|
12 |
+
|
13 |
+
- **Scaffold the basics first, then add features**: Make sure the basic structure of your application is in place before diving into more advanced functionality. This helps oTToDev understand the foundation of your project and ensure everything is wired up right before building out more advanced functionality.
|
14 |
+
|
15 |
+
- **Batch simple instructions**: Save time by combining simple instructions into one message. For example, you can ask oTToDev to change the color scheme, add mobile responsiveness, and restart the dev server, all in one go saving you time and reducing API credit consumption significantly.
|
16 |
+
|
17 |
+
### Do you plan on merging oTToDev back into the official Bolt.new repo?
|
18 |
+
|
19 |
+
More news coming on this coming early next month - stay tuned!
|
20 |
+
|
21 |
+
### Why are there so many open issues/pull requests?
|
22 |
+
|
23 |
+
oTToDev was started simply to showcase how to edit an open source project and to do something cool with local LLMs on my (@ColeMedin) YouTube channel! However, it quickly
|
24 |
+
grew into a massive community project that I am working hard to keep up with the demand of by forming a team of maintainers and getting as many people involved as I can.
|
25 |
+
That effort is going well and all of our maintainers are ABSOLUTE rockstars, but it still takes time to organize everything so we can efficiently get through all
|
26 |
+
the issues and PRs. But rest assured, we are working hard and even working on some partnerships behind the scenes to really help this project take off!
|
27 |
+
|
28 |
+
### How do local LLMs fair compared to larger models like Claude 3.5 Sonnet for oTToDev/Bolt.new?
|
29 |
+
|
30 |
+
As much as the gap is quickly closing between open source and massive close source models, you’re still going to get the best results with the very large models like GPT-4o, Claude 3.5 Sonnet, and DeepSeek Coder V2 236b. This is one of the big tasks we have at hand - figuring out how to prompt better, use agents, and improve the platform as a whole to make it work better for even the smaller local LLMs!
|
31 |
+
|
32 |
+
### I'm getting the error: "There was an error processing this request"
|
33 |
+
|
34 |
+
If you see this error within oTToDev, that is just the application telling you there is a problem at a high level, and this could mean a number of different things. To find the actual error, please check BOTH the terminal where you started the application (with Docker or pnpm) and the developer console in the browser. For most browsers, you can access the developer console by pressing F12 or right clicking anywhere in the browser and selecting “Inspect”. Then go to the “console” tab in the top right.
|
35 |
+
|
36 |
+
### I'm getting the error: "x-api-key header missing"
|
37 |
+
|
38 |
+
We have seen this error a couple times and for some reason just restarting the Docker container has fixed it. This seems to be Ollama specific. Another thing to try is try to run oTToDev with Docker or pnpm, whichever you didn’t run first. We are still on the hunt for why this happens once and a while!
|
39 |
+
|
40 |
+
### I'm getting a blank preview when oTToDev runs my app!
|
41 |
+
|
42 |
+
We promise you that we are constantly testing new PRs coming into oTToDev and the preview is core functionality, so the application is not broken! When you get a blank preview or don’t get a preview, this is generally because the LLM hallucinated bad code or incorrect commands. We are working on making this more transparent so it is obvious. Sometimes the error will appear in developer console too so check that as well.
|
43 |
+
|
44 |
+
### How to add a LLM:
|
45 |
+
|
46 |
+
To make new LLMs available to use in this version of Bolt.new, head on over to `app/utils/constants.ts` and find the constant MODEL_LIST. Each element in this array is an object that has the model ID for the name (get this from the provider's API documentation), a label for the frontend model dropdown, and the provider.
|
47 |
+
|
48 |
+
By default, Anthropic, OpenAI, Groq, and Ollama are implemented as providers, but the YouTube video for this repo covers how to extend this to work with more providers if you wish!
|
49 |
+
|
50 |
+
When you add a new model to the MODEL_LIST array, it will immediately be available to use when you run the app locally or reload it. For Ollama models, make sure you have the model installed already before trying to use it here!
|
51 |
+
|
52 |
+
### Everything works but the results are bad
|
53 |
+
|
54 |
+
This goes to the point above about how local LLMs are getting very powerful but you still are going to see better (sometimes much better) results with the largest LLMs like GPT-4o, Claude 3.5 Sonnet, and DeepSeek Coder V2 236b. If you are using smaller LLMs like Qwen-2.5-Coder, consider it more experimental and educational at this point. It can build smaller applications really well, which is super impressive for a local LLM, but for larger scale applications you want to use the larger LLMs still!
|
README.md
CHANGED
@@ -4,11 +4,14 @@
|
|
4 |
|
5 |
This fork of Bolt.new (oTToDev) allows you to choose the LLM that you use for each prompt! Currently, you can use OpenAI, Anthropic, Ollama, OpenRouter, Gemini, LMStudio, Mistral, xAI, HuggingFace, DeepSeek, or Groq models - and it is easily extended to use any other model supported by the Vercel AI SDK! See the instructions below for running this locally and extending it to include more models.
|
6 |
|
7 |
-
|
|
|
|
|
8 |
|
9 |
https://thinktank.ottomator.ai
|
10 |
|
11 |
-
|
|
|
12 |
|
13 |
- ✅ OpenRouter Integration (@coleam00)
|
14 |
- ✅ Gemini Integration (@jonathands)
|
@@ -31,25 +34,25 @@ https://thinktank.ottomator.ai
|
|
31 |
- ✅ Ability to revert code to earlier version (@wonderwhy-er)
|
32 |
- ✅ Cohere Integration (@hasanraiyan)
|
33 |
- ✅ Dynamic model max token length (@hasanraiyan)
|
|
|
|
|
|
|
|
|
|
|
|
|
34 |
- ⬜ **HIGH PRIORITY** - Prevent Bolt from rewriting files as often (file locking and diffs)
|
35 |
- ⬜ **HIGH PRIORITY** - Better prompting for smaller LLMs (code window sometimes doesn't start)
|
36 |
-
- ⬜ **HIGH PRIORITY** - Load local projects into the app
|
37 |
-
- ⬜ **HIGH PRIORITY** - Attach images to prompts
|
38 |
- ⬜ **HIGH PRIORITY** - Run agents in the backend as opposed to a single model call
|
39 |
-
- ⬜ Mobile friendly
|
40 |
-
- ⬜ Together Integration
|
41 |
- ⬜ Azure Open AI API Integration
|
42 |
- ⬜ Perplexity Integration
|
43 |
- ⬜ Vertex AI Integration
|
44 |
- ⬜ Deploy directly to Vercel/Netlify/other similar platforms
|
45 |
-
- ⬜ Prompt caching
|
46 |
-
- ⬜ Better prompt enhancing
|
47 |
- ⬜ Have LLM plan the project in a MD file for better results/transparency
|
48 |
- ⬜ VSCode Integration with git-like confirmations
|
49 |
- ⬜ Upload documents for knowledge - UI design templates, a code base to reference coding style, etc.
|
50 |
- ⬜ Voice prompting
|
51 |
|
52 |
-
|
53 |
|
54 |
Bolt.new is an AI-powered web development agent that allows you to prompt, run, edit, and deploy full-stack applications directly from your browser—no local setup required. If you're here to build your own AI-powered web dev agent using the Bolt open source codebase, [click here to get started!](./CONTRIBUTING.md)
|
55 |
|
@@ -124,6 +127,13 @@ Optionally, you can set the debug level:
|
|
124 |
VITE_LOG_LEVEL=debug
|
125 |
```
|
126 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
127 |
**Important**: Never commit your `.env.local` file to version control. It's already included in .gitignore.
|
128 |
|
129 |
## Run with Docker
|
@@ -191,40 +201,6 @@ sudo npm install -g pnpm
|
|
191 |
```bash
|
192 |
pnpm run dev
|
193 |
```
|
194 |
-
|
195 |
-
## Super Important Note on Running Ollama Models
|
196 |
-
|
197 |
-
Ollama models by default only have 2048 tokens for their context window. Even for large models that can easily handle way more.
|
198 |
-
This is not a large enough window to handle the Bolt.new/oTToDev prompt! You have to create a version of any model you want
|
199 |
-
to use where you specify a larger context window. Luckily it's super easy to do that.
|
200 |
-
|
201 |
-
All you have to do is:
|
202 |
-
|
203 |
-
- Create a file called "Modelfile" (no file extension) anywhere on your computer
|
204 |
-
- Put in the two lines:
|
205 |
-
|
206 |
-
```
|
207 |
-
FROM [Ollama model ID such as qwen2.5-coder:7b]
|
208 |
-
PARAMETER num_ctx 32768
|
209 |
-
```
|
210 |
-
|
211 |
-
- Run the command:
|
212 |
-
|
213 |
-
```
|
214 |
-
ollama create -f Modelfile [your new model ID, can be whatever you want (example: qwen2.5-coder-extra-ctx:7b)]
|
215 |
-
```
|
216 |
-
|
217 |
-
Now you have a new Ollama model that isn't heavily limited in the context length like Ollama models are by default for some reason.
|
218 |
-
You'll see this new model in the list of Ollama models along with all the others you pulled!
|
219 |
-
|
220 |
-
## Adding New LLMs:
|
221 |
-
|
222 |
-
To make new LLMs available to use in this version of Bolt.new, head on over to `app/utils/constants.ts` and find the constant MODEL_LIST. Each element in this array is an object that has the model ID for the name (get this from the provider's API documentation), a label for the frontend model dropdown, and the provider.
|
223 |
-
|
224 |
-
By default, Anthropic, OpenAI, Groq, and Ollama are implemented as providers, but the YouTube video for this repo covers how to extend this to work with more providers if you wish!
|
225 |
-
|
226 |
-
When you add a new model to the MODEL_LIST array, it will immediately be available to use when you run the app locally or reload it. For Ollama models, make sure you have the model installed already before trying to use it here!
|
227 |
-
|
228 |
## Available Scripts
|
229 |
|
230 |
- `pnpm run dev`: Starts the development server.
|
@@ -235,6 +211,7 @@ When you add a new model to the MODEL_LIST array, it will immediately be availab
|
|
235 |
- `pnpm run typecheck`: Runs TypeScript type checking.
|
236 |
- `pnpm run typegen`: Generates TypeScript types using Wrangler.
|
237 |
- `pnpm run deploy`: Builds the project and deploys it to Cloudflare Pages.
|
|
|
238 |
|
239 |
## Development
|
240 |
|
@@ -246,55 +223,16 @@ pnpm run dev
|
|
246 |
|
247 |
This will start the Remix Vite development server. You will need Google Chrome Canary to run this locally if you use Chrome! It's an easy install and a good browser for web development anyway.
|
248 |
|
249 |
-
##
|
250 |
-
|
251 |
-
### How do I get the best results with oTToDev?
|
252 |
-
|
253 |
-
- **Be specific about your stack**: If you want to use specific frameworks or libraries (like Astro, Tailwind, ShadCN, or any other popular JavaScript framework), mention them in your initial prompt to ensure Bolt scaffolds the project accordingly.
|
254 |
-
|
255 |
-
- **Use the enhance prompt icon**: Before sending your prompt, try clicking the 'enhance' icon to have the AI model help you refine your prompt, then edit the results before submitting.
|
256 |
-
|
257 |
-
- **Scaffold the basics first, then add features**: Make sure the basic structure of your application is in place before diving into more advanced functionality. This helps oTToDev understand the foundation of your project and ensure everything is wired up right before building out more advanced functionality.
|
258 |
-
|
259 |
-
- **Batch simple instructions**: Save time by combining simple instructions into one message. For example, you can ask oTToDev to change the color scheme, add mobile responsiveness, and restart the dev server, all in one go saving you time and reducing API credit consumption significantly.
|
260 |
-
|
261 |
-
### How do I contribute to oTToDev?
|
262 |
|
263 |
[Please check out our dedicated page for contributing to oTToDev here!](CONTRIBUTING.md)
|
264 |
|
265 |
-
|
266 |
-
|
267 |
-
More news coming on this coming early next month - stay tuned!
|
268 |
-
|
269 |
-
### What are the future plans for oTToDev?
|
270 |
|
271 |
[Check out our Roadmap here!](https://roadmap.sh/r/ottodev-roadmap-2ovzo)
|
272 |
|
273 |
Lot more updates to this roadmap coming soon!
|
274 |
|
275 |
-
|
276 |
-
|
277 |
-
oTToDev was started simply to showcase how to edit an open source project and to do something cool with local LLMs on my (@ColeMedin) YouTube channel! However, it quickly
|
278 |
-
grew into a massive community project that I am working hard to keep up with the demand of by forming a team of maintainers and getting as many people involved as I can.
|
279 |
-
That effort is going well and all of our maintainers are ABSOLUTE rockstars, but it still takes time to organize everything so we can efficiently get through all
|
280 |
-
the issues and PRs. But rest assured, we are working hard and even working on some partnerships behind the scenes to really help this project take off!
|
281 |
-
|
282 |
-
### How do local LLMs fair compared to larger models like Claude 3.5 Sonnet for oTToDev/Bolt.new?
|
283 |
-
|
284 |
-
As much as the gap is quickly closing between open source and massive close source models, you’re still going to get the best results with the very large models like GPT-4o, Claude 3.5 Sonnet, and DeepSeek Coder V2 236b. This is one of the big tasks we have at hand - figuring out how to prompt better, use agents, and improve the platform as a whole to make it work better for even the smaller local LLMs!
|
285 |
-
|
286 |
-
### I'm getting the error: "There was an error processing this request"
|
287 |
-
|
288 |
-
If you see this error within oTToDev, that is just the application telling you there is a problem at a high level, and this could mean a number of different things. To find the actual error, please check BOTH the terminal where you started the application (with Docker or pnpm) and the developer console in the browser. For most browsers, you can access the developer console by pressing F12 or right clicking anywhere in the browser and selecting “Inspect”. Then go to the “console” tab in the top right.
|
289 |
-
|
290 |
-
### I'm getting the error: "x-api-key header missing"
|
291 |
-
|
292 |
-
We have seen this error a couple times and for some reason just restarting the Docker container has fixed it. This seems to be Ollama specific. Another thing to try is try to run oTToDev with Docker or pnpm, whichever you didn’t run first. We are still on the hunt for why this happens once and a while!
|
293 |
-
|
294 |
-
### I'm getting a blank preview when oTToDev runs my app!
|
295 |
-
|
296 |
-
We promise you that we are constantly testing new PRs coming into oTToDev and the preview is core functionality, so the application is not broken! When you get a blank preview or don’t get a preview, this is generally because the LLM hallucinated bad code or incorrect commands. We are working on making this more transparent so it is obvious. Sometimes the error will appear in developer console too so check that as well.
|
297 |
-
|
298 |
-
### Everything works but the results are bad
|
299 |
|
300 |
-
|
|
|
4 |
|
5 |
This fork of Bolt.new (oTToDev) allows you to choose the LLM that you use for each prompt! Currently, you can use OpenAI, Anthropic, Ollama, OpenRouter, Gemini, LMStudio, Mistral, xAI, HuggingFace, DeepSeek, or Groq models - and it is easily extended to use any other model supported by the Vercel AI SDK! See the instructions below for running this locally and extending it to include more models.
|
6 |
|
7 |
+
Check the [oTToDev Docs](https://coleam00.github.io/bolt.new-any-llm/) for more information.
|
8 |
+
|
9 |
+
## Join the community for oTToDev!
|
10 |
|
11 |
https://thinktank.ottomator.ai
|
12 |
|
13 |
+
|
14 |
+
## Requested Additions - Feel Free to Contribute!
|
15 |
|
16 |
- ✅ OpenRouter Integration (@coleam00)
|
17 |
- ✅ Gemini Integration (@jonathands)
|
|
|
34 |
- ✅ Ability to revert code to earlier version (@wonderwhy-er)
|
35 |
- ✅ Cohere Integration (@hasanraiyan)
|
36 |
- ✅ Dynamic model max token length (@hasanraiyan)
|
37 |
+
- ✅ Prompt caching (@SujalXplores)
|
38 |
+
- ✅ Load local projects into the app (@wonderwhy-er)
|
39 |
+
- ✅ Together Integration (@mouimet-infinisoft)
|
40 |
+
- ✅ Mobile friendly (@qwikode)
|
41 |
+
- ✅ Better prompt enhancing (@SujalXplores)
|
42 |
+
- ⬜ **HIGH PRIORITY** - ALMOST DONE - Attach images to prompts (@atrokhym)
|
43 |
- ⬜ **HIGH PRIORITY** - Prevent Bolt from rewriting files as often (file locking and diffs)
|
44 |
- ⬜ **HIGH PRIORITY** - Better prompting for smaller LLMs (code window sometimes doesn't start)
|
|
|
|
|
45 |
- ⬜ **HIGH PRIORITY** - Run agents in the backend as opposed to a single model call
|
|
|
|
|
46 |
- ⬜ Azure Open AI API Integration
|
47 |
- ⬜ Perplexity Integration
|
48 |
- ⬜ Vertex AI Integration
|
49 |
- ⬜ Deploy directly to Vercel/Netlify/other similar platforms
|
|
|
|
|
50 |
- ⬜ Have LLM plan the project in a MD file for better results/transparency
|
51 |
- ⬜ VSCode Integration with git-like confirmations
|
52 |
- ⬜ Upload documents for knowledge - UI design templates, a code base to reference coding style, etc.
|
53 |
- ⬜ Voice prompting
|
54 |
|
55 |
+
## Bolt.new: AI-Powered Full-Stack Web Development in the Browser
|
56 |
|
57 |
Bolt.new is an AI-powered web development agent that allows you to prompt, run, edit, and deploy full-stack applications directly from your browser—no local setup required. If you're here to build your own AI-powered web dev agent using the Bolt open source codebase, [click here to get started!](./CONTRIBUTING.md)
|
58 |
|
|
|
127 |
VITE_LOG_LEVEL=debug
|
128 |
```
|
129 |
|
130 |
+
And if using Ollama set the DEFAULT_NUM_CTX, the example below uses 8K context and ollama running on localhost port 11434:
|
131 |
+
|
132 |
+
```
|
133 |
+
OLLAMA_API_BASE_URL=http://localhost:11434
|
134 |
+
DEFAULT_NUM_CTX=8192
|
135 |
+
```
|
136 |
+
|
137 |
**Important**: Never commit your `.env.local` file to version control. It's already included in .gitignore.
|
138 |
|
139 |
## Run with Docker
|
|
|
201 |
```bash
|
202 |
pnpm run dev
|
203 |
```
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
204 |
## Available Scripts
|
205 |
|
206 |
- `pnpm run dev`: Starts the development server.
|
|
|
211 |
- `pnpm run typecheck`: Runs TypeScript type checking.
|
212 |
- `pnpm run typegen`: Generates TypeScript types using Wrangler.
|
213 |
- `pnpm run deploy`: Builds the project and deploys it to Cloudflare Pages.
|
214 |
+
- `pnpm run lint:fix`: Runs the linter and automatically fixes issues according to your ESLint configuration.
|
215 |
|
216 |
## Development
|
217 |
|
|
|
223 |
|
224 |
This will start the Remix Vite development server. You will need Google Chrome Canary to run this locally if you use Chrome! It's an easy install and a good browser for web development anyway.
|
225 |
|
226 |
+
## How do I contribute to oTToDev?
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
227 |
|
228 |
[Please check out our dedicated page for contributing to oTToDev here!](CONTRIBUTING.md)
|
229 |
|
230 |
+
## What are the future plans for oTToDev?
|
|
|
|
|
|
|
|
|
231 |
|
232 |
[Check out our Roadmap here!](https://roadmap.sh/r/ottodev-roadmap-2ovzo)
|
233 |
|
234 |
Lot more updates to this roadmap coming soon!
|
235 |
|
236 |
+
## FAQ
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
237 |
|
238 |
+
[Please check out our dedicated page for FAQ's related to oTToDev here!](FAQ.md)
|
app/components/chat/BaseChat.module.scss
CHANGED
@@ -17,3 +17,107 @@
|
|
17 |
.Chat {
|
18 |
opacity: 1;
|
19 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
17 |
.Chat {
|
18 |
opacity: 1;
|
19 |
}
|
20 |
+
|
21 |
+
.RayContainer {
|
22 |
+
--gradient-opacity: 0.85;
|
23 |
+
--ray-gradient: radial-gradient(rgba(83, 196, 255, var(--gradient-opacity)) 0%, rgba(43, 166, 255, 0) 100%);
|
24 |
+
transition: opacity 0.25s linear;
|
25 |
+
position: fixed;
|
26 |
+
inset: 0;
|
27 |
+
pointer-events: none;
|
28 |
+
user-select: none;
|
29 |
+
}
|
30 |
+
|
31 |
+
.LightRayOne {
|
32 |
+
width: 480px;
|
33 |
+
height: 680px;
|
34 |
+
transform: rotate(80deg);
|
35 |
+
top: -540px;
|
36 |
+
left: 250px;
|
37 |
+
filter: blur(110px);
|
38 |
+
position: absolute;
|
39 |
+
border-radius: 100%;
|
40 |
+
background: var(--ray-gradient);
|
41 |
+
}
|
42 |
+
|
43 |
+
.LightRayTwo {
|
44 |
+
width: 110px;
|
45 |
+
height: 400px;
|
46 |
+
transform: rotate(-20deg);
|
47 |
+
top: -280px;
|
48 |
+
left: 350px;
|
49 |
+
mix-blend-mode: overlay;
|
50 |
+
opacity: 0.6;
|
51 |
+
filter: blur(60px);
|
52 |
+
position: absolute;
|
53 |
+
border-radius: 100%;
|
54 |
+
background: var(--ray-gradient);
|
55 |
+
}
|
56 |
+
|
57 |
+
.LightRayThree {
|
58 |
+
width: 400px;
|
59 |
+
height: 370px;
|
60 |
+
top: -350px;
|
61 |
+
left: 200px;
|
62 |
+
mix-blend-mode: overlay;
|
63 |
+
opacity: 0.6;
|
64 |
+
filter: blur(21px);
|
65 |
+
position: absolute;
|
66 |
+
border-radius: 100%;
|
67 |
+
background: var(--ray-gradient);
|
68 |
+
}
|
69 |
+
|
70 |
+
.LightRayFour {
|
71 |
+
position: absolute;
|
72 |
+
width: 330px;
|
73 |
+
height: 370px;
|
74 |
+
top: -330px;
|
75 |
+
left: 50px;
|
76 |
+
mix-blend-mode: overlay;
|
77 |
+
opacity: 0.5;
|
78 |
+
filter: blur(21px);
|
79 |
+
border-radius: 100%;
|
80 |
+
background: var(--ray-gradient);
|
81 |
+
}
|
82 |
+
|
83 |
+
.LightRayFive {
|
84 |
+
position: absolute;
|
85 |
+
width: 110px;
|
86 |
+
height: 400px;
|
87 |
+
transform: rotate(-40deg);
|
88 |
+
top: -280px;
|
89 |
+
left: -10px;
|
90 |
+
mix-blend-mode: overlay;
|
91 |
+
opacity: 0.8;
|
92 |
+
filter: blur(60px);
|
93 |
+
border-radius: 100%;
|
94 |
+
background: var(--ray-gradient);
|
95 |
+
}
|
96 |
+
|
97 |
+
.PromptEffectContainer {
|
98 |
+
--prompt-container-offset: 50px;
|
99 |
+
--prompt-line-stroke-width: 1px;
|
100 |
+
position: absolute;
|
101 |
+
pointer-events: none;
|
102 |
+
inset: calc(var(--prompt-container-offset) / -2);
|
103 |
+
width: calc(100% + var(--prompt-container-offset));
|
104 |
+
height: calc(100% + var(--prompt-container-offset));
|
105 |
+
}
|
106 |
+
|
107 |
+
.PromptEffectLine {
|
108 |
+
width: calc(100% - var(--prompt-container-offset) + var(--prompt-line-stroke-width));
|
109 |
+
height: calc(100% - var(--prompt-container-offset) + var(--prompt-line-stroke-width));
|
110 |
+
x: calc(var(--prompt-container-offset) / 2 - var(--prompt-line-stroke-width) / 2);
|
111 |
+
y: calc(var(--prompt-container-offset) / 2 - var(--prompt-line-stroke-width) / 2);
|
112 |
+
rx: calc(8px - var(--prompt-line-stroke-width));
|
113 |
+
fill: transparent;
|
114 |
+
stroke-width: var(--prompt-line-stroke-width);
|
115 |
+
stroke: url(#line-gradient);
|
116 |
+
stroke-dasharray: 35px 65px;
|
117 |
+
stroke-dashoffset: 10;
|
118 |
+
}
|
119 |
+
|
120 |
+
.PromptShine {
|
121 |
+
fill: url(#shine-gradient);
|
122 |
+
mix-blend-mode: overlay;
|
123 |
+
}
|
app/components/chat/BaseChat.tsx
CHANGED
@@ -47,7 +47,7 @@ const ModelSelector = ({ model, setModel, provider, setProvider, modelList, prov
|
|
47 |
key={provider?.name}
|
48 |
value={model}
|
49 |
onChange={(e) => setModel(e.target.value)}
|
50 |
-
className="flex-1 p-2 rounded-lg border border-bolt-elements-borderColor bg-bolt-elements-prompt-background text-bolt-elements-textPrimary focus:outline-none focus:ring-2 focus:ring-bolt-elements-focus transition-all lg:max-w-[70%]
|
51 |
>
|
52 |
{[...modelList]
|
53 |
.filter((e) => e.provider == provider?.name && e.name)
|
@@ -116,6 +116,7 @@ export const BaseChat = React.forwardRef<HTMLDivElement, BaseChatProps>(
|
|
116 |
const TEXTAREA_MAX_HEIGHT = chatStarted ? 400 : 200;
|
117 |
const [apiKeys, setApiKeys] = useState<Record<string, string>>({});
|
118 |
const [modelList, setModelList] = useState(MODEL_LIST);
|
|
|
119 |
|
120 |
useEffect(() => {
|
121 |
// Load API keys from cookies on component mount
|
@@ -167,6 +168,13 @@ export const BaseChat = React.forwardRef<HTMLDivElement, BaseChatProps>(
|
|
167 |
)}
|
168 |
data-chat-visible={showChat}
|
169 |
>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
170 |
<ClientOnly>{() => <Menu />}</ClientOnly>
|
171 |
<div ref={scrollRef} className="flex flex-col lg:flex-row overflow-y-auto w-full h-full">
|
172 |
<div className={classNames(styles.Chat, 'flex flex-col flex-grow lg:min-w-[var(--chat-min-width)] h-full')}>
|
@@ -199,39 +207,85 @@ export const BaseChat = React.forwardRef<HTMLDivElement, BaseChatProps>(
|
|
199 |
</ClientOnly>
|
200 |
<div
|
201 |
className={classNames(
|
202 |
-
'
|
203 |
{
|
204 |
'sticky bottom-2': chatStarted,
|
205 |
},
|
206 |
)}
|
207 |
>
|
208 |
-
<
|
209 |
-
|
210 |
-
|
211 |
-
|
212 |
-
|
213 |
-
|
214 |
-
|
215 |
-
|
216 |
-
|
217 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
218 |
|
219 |
-
|
220 |
-
|
221 |
-
|
222 |
-
|
223 |
-
|
224 |
-
|
225 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
226 |
|
227 |
<div
|
228 |
className={classNames(
|
229 |
-
'shadow-
|
230 |
)}
|
231 |
>
|
232 |
<textarea
|
233 |
ref={textareaRef}
|
234 |
-
className={
|
|
|
|
|
235 |
onKeyDown={(event) => {
|
236 |
if (event.key === 'Enter') {
|
237 |
if (event.shiftKey) {
|
@@ -299,8 +353,8 @@ export const BaseChat = React.forwardRef<HTMLDivElement, BaseChatProps>(
|
|
299 |
{input.length > 3 ? (
|
300 |
<div className="text-xs text-bolt-elements-textTertiary">
|
301 |
Use <kbd className="kdb px-1.5 py-0.5 rounded bg-bolt-elements-background-depth-2">Shift</kbd> +{' '}
|
302 |
-
<kbd className="kdb px-1.5 py-0.5 rounded bg-bolt-elements-background-depth-2">Return</kbd>
|
303 |
-
|
304 |
</div>
|
305 |
) : null}
|
306 |
</div>
|
|
|
47 |
key={provider?.name}
|
48 |
value={model}
|
49 |
onChange={(e) => setModel(e.target.value)}
|
50 |
+
className="flex-1 p-2 rounded-lg border border-bolt-elements-borderColor bg-bolt-elements-prompt-background text-bolt-elements-textPrimary focus:outline-none focus:ring-2 focus:ring-bolt-elements-focus transition-all lg:max-w-[70%]"
|
51 |
>
|
52 |
{[...modelList]
|
53 |
.filter((e) => e.provider == provider?.name && e.name)
|
|
|
116 |
const TEXTAREA_MAX_HEIGHT = chatStarted ? 400 : 200;
|
117 |
const [apiKeys, setApiKeys] = useState<Record<string, string>>({});
|
118 |
const [modelList, setModelList] = useState(MODEL_LIST);
|
119 |
+
const [isModelSettingsCollapsed, setIsModelSettingsCollapsed] = useState(false);
|
120 |
|
121 |
useEffect(() => {
|
122 |
// Load API keys from cookies on component mount
|
|
|
168 |
)}
|
169 |
data-chat-visible={showChat}
|
170 |
>
|
171 |
+
<div className={classNames(styles.RayContainer)}>
|
172 |
+
<div className={classNames(styles.LightRayOne)}></div>
|
173 |
+
<div className={classNames(styles.LightRayTwo)}></div>
|
174 |
+
<div className={classNames(styles.LightRayThree)}></div>
|
175 |
+
<div className={classNames(styles.LightRayFour)}></div>
|
176 |
+
<div className={classNames(styles.LightRayFive)}></div>
|
177 |
+
</div>
|
178 |
<ClientOnly>{() => <Menu />}</ClientOnly>
|
179 |
<div ref={scrollRef} className="flex flex-col lg:flex-row overflow-y-auto w-full h-full">
|
180 |
<div className={classNames(styles.Chat, 'flex flex-col flex-grow lg:min-w-[var(--chat-min-width)] h-full')}>
|
|
|
207 |
</ClientOnly>
|
208 |
<div
|
209 |
className={classNames(
|
210 |
+
'bg-bolt-elements-background-depth-2 p-3 rounded-lg border border-bolt-elements-borderColor relative w-full max-w-chat mx-auto z-prompt mb-6',
|
211 |
{
|
212 |
'sticky bottom-2': chatStarted,
|
213 |
},
|
214 |
)}
|
215 |
>
|
216 |
+
<svg className={classNames(styles.PromptEffectContainer)}>
|
217 |
+
<defs>
|
218 |
+
<linearGradient
|
219 |
+
id="line-gradient"
|
220 |
+
x1="20%"
|
221 |
+
y1="0%"
|
222 |
+
x2="-14%"
|
223 |
+
y2="10%"
|
224 |
+
gradientUnits="userSpaceOnUse"
|
225 |
+
gradientTransform="rotate(-45)"
|
226 |
+
>
|
227 |
+
<stop offset="0%" stopColor="#1488fc" stopOpacity="0%"></stop>
|
228 |
+
<stop offset="40%" stopColor="#1488fc" stopOpacity="80%"></stop>
|
229 |
+
<stop offset="50%" stopColor="#1488fc" stopOpacity="80%"></stop>
|
230 |
+
<stop offset="100%" stopColor="#1488fc" stopOpacity="0%"></stop>
|
231 |
+
</linearGradient>
|
232 |
+
<linearGradient id="shine-gradient">
|
233 |
+
<stop offset="0%" stopColor="white" stopOpacity="0%"></stop>
|
234 |
+
<stop offset="40%" stopColor="#8adaff" stopOpacity="80%"></stop>
|
235 |
+
<stop offset="50%" stopColor="#8adaff" stopOpacity="80%"></stop>
|
236 |
+
<stop offset="100%" stopColor="white" stopOpacity="0%"></stop>
|
237 |
+
</linearGradient>
|
238 |
+
</defs>
|
239 |
+
<rect className={classNames(styles.PromptEffectLine)} pathLength="100" strokeLinecap="round"></rect>
|
240 |
+
<rect className={classNames(styles.PromptShine)} x="48" y="24" width="70" height="1"></rect>
|
241 |
+
</svg>
|
242 |
+
<div>
|
243 |
+
<div className="flex justify-between items-center mb-2">
|
244 |
+
<button
|
245 |
+
onClick={() => setIsModelSettingsCollapsed(!isModelSettingsCollapsed)}
|
246 |
+
className={classNames('flex items-center gap-2 p-2 rounded-lg transition-all', {
|
247 |
+
'bg-bolt-elements-item-backgroundAccent text-bolt-elements-item-contentAccent':
|
248 |
+
isModelSettingsCollapsed,
|
249 |
+
'bg-bolt-elements-item-backgroundDefault text-bolt-elements-item-contentDefault':
|
250 |
+
!isModelSettingsCollapsed,
|
251 |
+
})}
|
252 |
+
>
|
253 |
+
<div className={`i-ph:caret-${isModelSettingsCollapsed ? 'right' : 'down'} text-lg`} />
|
254 |
+
<span>Model Settings</span>
|
255 |
+
</button>
|
256 |
+
</div>
|
257 |
|
258 |
+
<div className={isModelSettingsCollapsed ? 'hidden' : ''}>
|
259 |
+
<ModelSelector
|
260 |
+
key={provider?.name + ':' + modelList.length}
|
261 |
+
model={model}
|
262 |
+
setModel={setModel}
|
263 |
+
modelList={modelList}
|
264 |
+
provider={provider}
|
265 |
+
setProvider={setProvider}
|
266 |
+
providerList={PROVIDER_LIST}
|
267 |
+
apiKeys={apiKeys}
|
268 |
+
/>
|
269 |
+
{provider && (
|
270 |
+
<APIKeyManager
|
271 |
+
provider={provider}
|
272 |
+
apiKey={apiKeys[provider.name] || ''}
|
273 |
+
setApiKey={(key) => updateApiKey(provider.name, key)}
|
274 |
+
/>
|
275 |
+
)}
|
276 |
+
</div>
|
277 |
+
</div>
|
278 |
|
279 |
<div
|
280 |
className={classNames(
|
281 |
+
'relative shadow-xs border border-bolt-elements-borderColor backdrop-blur rounded-lg',
|
282 |
)}
|
283 |
>
|
284 |
<textarea
|
285 |
ref={textareaRef}
|
286 |
+
className={
|
287 |
+
'w-full pl-4 pt-4 pr-16 focus:outline-none resize-none text-bolt-elements-textPrimary placeholder-bolt-elements-textTertiary bg-transparent text-sm'
|
288 |
+
}
|
289 |
onKeyDown={(event) => {
|
290 |
if (event.key === 'Enter') {
|
291 |
if (event.shiftKey) {
|
|
|
353 |
{input.length > 3 ? (
|
354 |
<div className="text-xs text-bolt-elements-textTertiary">
|
355 |
Use <kbd className="kdb px-1.5 py-0.5 rounded bg-bolt-elements-background-depth-2">Shift</kbd> +{' '}
|
356 |
+
<kbd className="kdb px-1.5 py-0.5 rounded bg-bolt-elements-background-depth-2">Return</kbd> a
|
357 |
+
new line
|
358 |
</div>
|
359 |
) : null}
|
360 |
</div>
|
app/components/chat/Chat.client.tsx
CHANGED
@@ -6,19 +6,20 @@ import { useStore } from '@nanostores/react';
|
|
6 |
import type { Message } from 'ai';
|
7 |
import { useChat } from 'ai/react';
|
8 |
import { useAnimate } from 'framer-motion';
|
9 |
-
import { memo, useEffect, useRef, useState } from 'react';
|
10 |
import { cssTransition, toast, ToastContainer } from 'react-toastify';
|
11 |
import { useMessageParser, usePromptEnhancer, useShortcuts, useSnapScroll } from '~/lib/hooks';
|
12 |
import { description, useChatHistory } from '~/lib/persistence';
|
13 |
import { chatStore } from '~/lib/stores/chat';
|
14 |
import { workbenchStore } from '~/lib/stores/workbench';
|
15 |
import { fileModificationsToHTML } from '~/utils/diff';
|
16 |
-
import { DEFAULT_MODEL, DEFAULT_PROVIDER, PROVIDER_LIST } from '~/utils/constants';
|
17 |
import { cubicEasingFn } from '~/utils/easings';
|
18 |
import { createScopedLogger, renderLogger } from '~/utils/logger';
|
19 |
import { BaseChat } from './BaseChat';
|
20 |
import Cookies from 'js-cookie';
|
21 |
import type { ProviderInfo } from '~/utils/types';
|
|
|
22 |
|
23 |
const toastAnimation = cssTransition({
|
24 |
enter: 'animated fadeInRight',
|
@@ -120,6 +121,7 @@ export const ChatImpl = memo(
|
|
120 |
logger.debug('Finished streaming');
|
121 |
},
|
122 |
initialMessages,
|
|
|
123 |
});
|
124 |
|
125 |
const { enhancingPrompt, promptEnhanced, enhancePrompt, resetEnhancer } = usePromptEnhancer();
|
@@ -225,12 +227,33 @@ export const ChatImpl = memo(
|
|
225 |
}
|
226 |
|
227 |
setInput('');
|
|
|
228 |
|
229 |
resetEnhancer();
|
230 |
|
231 |
textareaRef.current?.blur();
|
232 |
};
|
233 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
234 |
const [messageRef, scrollRef] = useSnapScroll();
|
235 |
|
236 |
useEffect(() => {
|
@@ -268,7 +291,10 @@ export const ChatImpl = memo(
|
|
268 |
setProvider={handleProviderChange}
|
269 |
messageRef={messageRef}
|
270 |
scrollRef={scrollRef}
|
271 |
-
handleInputChange={
|
|
|
|
|
|
|
272 |
handleStop={abort}
|
273 |
description={description}
|
274 |
importChat={importChat}
|
|
|
6 |
import type { Message } from 'ai';
|
7 |
import { useChat } from 'ai/react';
|
8 |
import { useAnimate } from 'framer-motion';
|
9 |
+
import { memo, useCallback, useEffect, useRef, useState } from 'react';
|
10 |
import { cssTransition, toast, ToastContainer } from 'react-toastify';
|
11 |
import { useMessageParser, usePromptEnhancer, useShortcuts, useSnapScroll } from '~/lib/hooks';
|
12 |
import { description, useChatHistory } from '~/lib/persistence';
|
13 |
import { chatStore } from '~/lib/stores/chat';
|
14 |
import { workbenchStore } from '~/lib/stores/workbench';
|
15 |
import { fileModificationsToHTML } from '~/utils/diff';
|
16 |
+
import { DEFAULT_MODEL, DEFAULT_PROVIDER, PROMPT_COOKIE_KEY, PROVIDER_LIST } from '~/utils/constants';
|
17 |
import { cubicEasingFn } from '~/utils/easings';
|
18 |
import { createScopedLogger, renderLogger } from '~/utils/logger';
|
19 |
import { BaseChat } from './BaseChat';
|
20 |
import Cookies from 'js-cookie';
|
21 |
import type { ProviderInfo } from '~/utils/types';
|
22 |
+
import { debounce } from '~/utils/debounce';
|
23 |
|
24 |
const toastAnimation = cssTransition({
|
25 |
enter: 'animated fadeInRight',
|
|
|
121 |
logger.debug('Finished streaming');
|
122 |
},
|
123 |
initialMessages,
|
124 |
+
initialInput: Cookies.get(PROMPT_COOKIE_KEY) || '',
|
125 |
});
|
126 |
|
127 |
const { enhancingPrompt, promptEnhanced, enhancePrompt, resetEnhancer } = usePromptEnhancer();
|
|
|
227 |
}
|
228 |
|
229 |
setInput('');
|
230 |
+
Cookies.remove(PROMPT_COOKIE_KEY);
|
231 |
|
232 |
resetEnhancer();
|
233 |
|
234 |
textareaRef.current?.blur();
|
235 |
};
|
236 |
|
237 |
+
/**
|
238 |
+
* Handles the change event for the textarea and updates the input state.
|
239 |
+
* @param event - The change event from the textarea.
|
240 |
+
*/
|
241 |
+
const onTextareaChange = (event: React.ChangeEvent<HTMLTextAreaElement>) => {
|
242 |
+
handleInputChange(event);
|
243 |
+
};
|
244 |
+
|
245 |
+
/**
|
246 |
+
* Debounced function to cache the prompt in cookies.
|
247 |
+
* Caches the trimmed value of the textarea input after a delay to optimize performance.
|
248 |
+
*/
|
249 |
+
const debouncedCachePrompt = useCallback(
|
250 |
+
debounce((event: React.ChangeEvent<HTMLTextAreaElement>) => {
|
251 |
+
const trimmedValue = event.target.value.trim();
|
252 |
+
Cookies.set(PROMPT_COOKIE_KEY, trimmedValue, { expires: 30 });
|
253 |
+
}, 1000),
|
254 |
+
[],
|
255 |
+
);
|
256 |
+
|
257 |
const [messageRef, scrollRef] = useSnapScroll();
|
258 |
|
259 |
useEffect(() => {
|
|
|
291 |
setProvider={handleProviderChange}
|
292 |
messageRef={messageRef}
|
293 |
scrollRef={scrollRef}
|
294 |
+
handleInputChange={(e) => {
|
295 |
+
onTextareaChange(e);
|
296 |
+
debouncedCachePrompt(e);
|
297 |
+
}}
|
298 |
handleStop={abort}
|
299 |
description={description}
|
300 |
importChat={importChat}
|
app/components/chat/ExamplePrompts.tsx
CHANGED
@@ -5,13 +5,18 @@ const EXAMPLE_PROMPTS = [
|
|
5 |
{ text: 'Build a simple blog using Astro' },
|
6 |
{ text: 'Create a cookie consent form using Material UI' },
|
7 |
{ text: 'Make a space invaders game' },
|
8 |
-
{ text: '
|
9 |
];
|
10 |
|
11 |
export function ExamplePrompts(sendMessage?: { (event: React.UIEvent, messageInput?: string): void | undefined }) {
|
12 |
return (
|
13 |
-
<div id="examples" className="relative w-full max-w-
|
14 |
-
<div
|
|
|
|
|
|
|
|
|
|
|
15 |
{EXAMPLE_PROMPTS.map((examplePrompt, index: number) => {
|
16 |
return (
|
17 |
<button
|
@@ -19,10 +24,9 @@ export function ExamplePrompts(sendMessage?: { (event: React.UIEvent, messageInp
|
|
19 |
onClick={(event) => {
|
20 |
sendMessage?.(event, examplePrompt.text);
|
21 |
}}
|
22 |
-
className="
|
23 |
>
|
24 |
{examplePrompt.text}
|
25 |
-
<div className="i-ph:arrow-bend-down-left" />
|
26 |
</button>
|
27 |
);
|
28 |
})}
|
|
|
5 |
{ text: 'Build a simple blog using Astro' },
|
6 |
{ text: 'Create a cookie consent form using Material UI' },
|
7 |
{ text: 'Make a space invaders game' },
|
8 |
+
{ text: 'Make a Tic Tac Toe game in html, css and js only' },
|
9 |
];
|
10 |
|
11 |
export function ExamplePrompts(sendMessage?: { (event: React.UIEvent, messageInput?: string): void | undefined }) {
|
12 |
return (
|
13 |
+
<div id="examples" className="relative flex flex-col gap-9 w-full max-w-3xl mx-auto flex justify-center mt-6">
|
14 |
+
<div
|
15 |
+
className="flex flex-wrap justify-center gap-2"
|
16 |
+
style={{
|
17 |
+
animation: '.25s ease-out 0s 1 _fade-and-move-in_g2ptj_1 forwards',
|
18 |
+
}}
|
19 |
+
>
|
20 |
{EXAMPLE_PROMPTS.map((examplePrompt, index: number) => {
|
21 |
return (
|
22 |
<button
|
|
|
24 |
onClick={(event) => {
|
25 |
sendMessage?.(event, examplePrompt.text);
|
26 |
}}
|
27 |
+
className="border border-bolt-elements-borderColor rounded-full bg-gray-50 hover:bg-gray-100 dark:bg-gray-950 dark:hover:bg-gray-900 text-bolt-elements-textSecondary hover:text-bolt-elements-textPrimary px-3 py-1 text-xs transition-theme"
|
28 |
>
|
29 |
{examplePrompt.text}
|
|
|
30 |
</button>
|
31 |
);
|
32 |
})}
|
app/components/chat/ImportFolderButton.tsx
CHANGED
@@ -56,11 +56,11 @@ export const ImportFolderButton: React.FC<ImportFolderButtonProps> = ({ classNam
|
|
56 |
}
|
57 |
|
58 |
const { userMessage, assistantMessage } = await createChatFromFolder(textFiles, binaryFilePaths, folderName);
|
59 |
-
|
60 |
if (importChat) {
|
61 |
await importChat(folderName, [userMessage, assistantMessage]);
|
62 |
}
|
63 |
-
|
64 |
toast.success('Folder imported successfully');
|
65 |
} catch (error) {
|
66 |
console.error('Failed to import folder:', error);
|
@@ -91,7 +91,7 @@ export const ImportFolderButton: React.FC<ImportFolderButtonProps> = ({ classNam
|
|
91 |
className={className}
|
92 |
disabled={isLoading}
|
93 |
>
|
94 |
-
<div className="i-ph:
|
95 |
{isLoading ? 'Importing...' : 'Import Folder'}
|
96 |
</button>
|
97 |
</>
|
|
|
56 |
}
|
57 |
|
58 |
const { userMessage, assistantMessage } = await createChatFromFolder(textFiles, binaryFilePaths, folderName);
|
59 |
+
|
60 |
if (importChat) {
|
61 |
await importChat(folderName, [userMessage, assistantMessage]);
|
62 |
}
|
63 |
+
|
64 |
toast.success('Folder imported successfully');
|
65 |
} catch (error) {
|
66 |
console.error('Failed to import folder:', error);
|
|
|
91 |
className={className}
|
92 |
disabled={isLoading}
|
93 |
>
|
94 |
+
<div className="i-ph:upload-simple" />
|
95 |
{isLoading ? 'Importing...' : 'Import Folder'}
|
96 |
</button>
|
97 |
</>
|
app/components/chat/Markdown.spec.ts
ADDED
@@ -0,0 +1,48 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import { describe, expect, it } from 'vitest';
|
2 |
+
import { stripCodeFenceFromArtifact } from './Markdown';
|
3 |
+
|
4 |
+
describe('stripCodeFenceFromArtifact', () => {
|
5 |
+
it('should remove code fences around artifact element', () => {
|
6 |
+
const input = "```xml\n<div class='__boltArtifact__'></div>\n```";
|
7 |
+
const expected = "\n<div class='__boltArtifact__'></div>\n";
|
8 |
+
expect(stripCodeFenceFromArtifact(input)).toBe(expected);
|
9 |
+
});
|
10 |
+
|
11 |
+
it('should handle code fence with language specification', () => {
|
12 |
+
const input = "```typescript\n<div class='__boltArtifact__'></div>\n```";
|
13 |
+
const expected = "\n<div class='__boltArtifact__'></div>\n";
|
14 |
+
expect(stripCodeFenceFromArtifact(input)).toBe(expected);
|
15 |
+
});
|
16 |
+
|
17 |
+
it('should not modify content without artifacts', () => {
|
18 |
+
const input = '```\nregular code block\n```';
|
19 |
+
expect(stripCodeFenceFromArtifact(input)).toBe(input);
|
20 |
+
});
|
21 |
+
|
22 |
+
it('should handle empty input', () => {
|
23 |
+
expect(stripCodeFenceFromArtifact('')).toBe('');
|
24 |
+
});
|
25 |
+
|
26 |
+
it('should handle artifact without code fences', () => {
|
27 |
+
const input = "<div class='__boltArtifact__'></div>";
|
28 |
+
expect(stripCodeFenceFromArtifact(input)).toBe(input);
|
29 |
+
});
|
30 |
+
|
31 |
+
it('should handle multiple artifacts but only remove fences around them', () => {
|
32 |
+
const input = [
|
33 |
+
'Some text',
|
34 |
+
'```typescript',
|
35 |
+
"<div class='__boltArtifact__'></div>",
|
36 |
+
'```',
|
37 |
+
'```',
|
38 |
+
'regular code',
|
39 |
+
'```',
|
40 |
+
].join('\n');
|
41 |
+
|
42 |
+
const expected = ['Some text', '', "<div class='__boltArtifact__'></div>", '', '```', 'regular code', '```'].join(
|
43 |
+
'\n',
|
44 |
+
);
|
45 |
+
|
46 |
+
expect(stripCodeFenceFromArtifact(input)).toBe(expected);
|
47 |
+
});
|
48 |
+
});
|
app/components/chat/Markdown.tsx
CHANGED
@@ -68,7 +68,51 @@ export const Markdown = memo(({ children, html = false, limitedMarkdown = false
|
|
68 |
remarkPlugins={remarkPlugins(limitedMarkdown)}
|
69 |
rehypePlugins={rehypePlugins(html)}
|
70 |
>
|
71 |
-
{children}
|
72 |
</ReactMarkdown>
|
73 |
);
|
74 |
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
68 |
remarkPlugins={remarkPlugins(limitedMarkdown)}
|
69 |
rehypePlugins={rehypePlugins(html)}
|
70 |
>
|
71 |
+
{stripCodeFenceFromArtifact(children)}
|
72 |
</ReactMarkdown>
|
73 |
);
|
74 |
});
|
75 |
+
|
76 |
+
/**
|
77 |
+
* Removes code fence markers (```) surrounding an artifact element while preserving the artifact content.
|
78 |
+
* This is necessary because artifacts should not be wrapped in code blocks when rendered for rendering action list.
|
79 |
+
*
|
80 |
+
* @param content - The markdown content to process
|
81 |
+
* @returns The processed content with code fence markers removed around artifacts
|
82 |
+
*
|
83 |
+
* @example
|
84 |
+
* // Removes code fences around artifact
|
85 |
+
* const input = "```xml\n<div class='__boltArtifact__'></div>\n```";
|
86 |
+
* stripCodeFenceFromArtifact(input);
|
87 |
+
* // Returns: "\n<div class='__boltArtifact__'></div>\n"
|
88 |
+
*
|
89 |
+
* @remarks
|
90 |
+
* - Only removes code fences that directly wrap an artifact (marked with __boltArtifact__ class)
|
91 |
+
* - Handles code fences with optional language specifications (e.g. ```xml, ```typescript)
|
92 |
+
* - Preserves original content if no artifact is found
|
93 |
+
* - Safely handles edge cases like empty input or artifacts at start/end of content
|
94 |
+
*/
|
95 |
+
export const stripCodeFenceFromArtifact = (content: string) => {
|
96 |
+
if (!content || !content.includes('__boltArtifact__')) {
|
97 |
+
return content;
|
98 |
+
}
|
99 |
+
|
100 |
+
const lines = content.split('\n');
|
101 |
+
const artifactLineIndex = lines.findIndex((line) => line.includes('__boltArtifact__'));
|
102 |
+
|
103 |
+
// Return original content if artifact line not found
|
104 |
+
if (artifactLineIndex === -1) {
|
105 |
+
return content;
|
106 |
+
}
|
107 |
+
|
108 |
+
// Check previous line for code fence
|
109 |
+
if (artifactLineIndex > 0 && lines[artifactLineIndex - 1]?.trim().match(/^```\w*$/)) {
|
110 |
+
lines[artifactLineIndex - 1] = '';
|
111 |
+
}
|
112 |
+
|
113 |
+
if (artifactLineIndex < lines.length - 1 && lines[artifactLineIndex + 1]?.trim().match(/^```$/)) {
|
114 |
+
lines[artifactLineIndex + 1] = '';
|
115 |
+
}
|
116 |
+
|
117 |
+
return lines.join('\n');
|
118 |
+
};
|
app/components/sidebar/Menu.client.tsx
CHANGED
@@ -8,6 +8,7 @@ import { cubicEasingFn } from '~/utils/easings';
|
|
8 |
import { logger } from '~/utils/logger';
|
9 |
import { HistoryItem } from './HistoryItem';
|
10 |
import { binDates } from './date-binning';
|
|
|
11 |
|
12 |
const menuVariants = {
|
13 |
closed: {
|
@@ -39,6 +40,11 @@ export function Menu() {
|
|
39 |
const [open, setOpen] = useState(false);
|
40 |
const [dialogContent, setDialogContent] = useState<DialogContent>(null);
|
41 |
|
|
|
|
|
|
|
|
|
|
|
42 |
const loadEntries = useCallback(() => {
|
43 |
if (db) {
|
44 |
getAll(db)
|
@@ -115,11 +121,11 @@ export function Menu() {
|
|
115 |
initial="closed"
|
116 |
animate={open ? 'open' : 'closed'}
|
117 |
variants={menuVariants}
|
118 |
-
className="flex flex-col side-menu fixed top-0 w-[350px] h-full bg-bolt-elements-background-depth-2 border-r rounded-r-3xl border-bolt-elements-borderColor z-sidebar shadow-xl shadow-bolt-elements-sidebar-dropdownShadow text-sm"
|
119 |
>
|
120 |
<div className="flex items-center h-[var(--header-height)]">{/* Placeholder */}</div>
|
121 |
<div className="flex-1 flex flex-col h-full w-full overflow-hidden">
|
122 |
-
<div className="p-4">
|
123 |
<a
|
124 |
href="/"
|
125 |
className="flex gap-2 items-center bg-bolt-elements-sidebar-buttonBackgroundDefault text-bolt-elements-sidebar-buttonText hover:bg-bolt-elements-sidebar-buttonBackgroundHover rounded-md p-2 transition-theme"
|
@@ -128,11 +134,26 @@ export function Menu() {
|
|
128 |
Start new chat
|
129 |
</a>
|
130 |
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
131 |
<div className="text-bolt-elements-textPrimary font-medium pl-6 pr-5 my-2">Your Chats</div>
|
132 |
<div className="flex-1 overflow-auto pl-4 pr-5 pb-5">
|
133 |
-
{
|
|
|
|
|
|
|
|
|
134 |
<DialogRoot open={dialogContent !== null}>
|
135 |
-
{binDates(
|
136 |
<div key={category} className="mt-4 first:mt-0 space-y-1">
|
137 |
<div className="text-bolt-elements-textTertiary sticky top-0 z-1 bg-bolt-elements-background-depth-2 pl-2 pt-2 pb-1">
|
138 |
{category}
|
|
|
8 |
import { logger } from '~/utils/logger';
|
9 |
import { HistoryItem } from './HistoryItem';
|
10 |
import { binDates } from './date-binning';
|
11 |
+
import { useSearchFilter } from '~/lib/hooks/useSearchFilter';
|
12 |
|
13 |
const menuVariants = {
|
14 |
closed: {
|
|
|
40 |
const [open, setOpen] = useState(false);
|
41 |
const [dialogContent, setDialogContent] = useState<DialogContent>(null);
|
42 |
|
43 |
+
const { filteredItems: filteredList, handleSearchChange } = useSearchFilter({
|
44 |
+
items: list,
|
45 |
+
searchFields: ['description'],
|
46 |
+
});
|
47 |
+
|
48 |
const loadEntries = useCallback(() => {
|
49 |
if (db) {
|
50 |
getAll(db)
|
|
|
121 |
initial="closed"
|
122 |
animate={open ? 'open' : 'closed'}
|
123 |
variants={menuVariants}
|
124 |
+
className="flex selection-accent flex-col side-menu fixed top-0 w-[350px] h-full bg-bolt-elements-background-depth-2 border-r rounded-r-3xl border-bolt-elements-borderColor z-sidebar shadow-xl shadow-bolt-elements-sidebar-dropdownShadow text-sm"
|
125 |
>
|
126 |
<div className="flex items-center h-[var(--header-height)]">{/* Placeholder */}</div>
|
127 |
<div className="flex-1 flex flex-col h-full w-full overflow-hidden">
|
128 |
+
<div className="p-4 select-none">
|
129 |
<a
|
130 |
href="/"
|
131 |
className="flex gap-2 items-center bg-bolt-elements-sidebar-buttonBackgroundDefault text-bolt-elements-sidebar-buttonText hover:bg-bolt-elements-sidebar-buttonBackgroundHover rounded-md p-2 transition-theme"
|
|
|
134 |
Start new chat
|
135 |
</a>
|
136 |
</div>
|
137 |
+
<div className="pl-4 pr-4 my-2">
|
138 |
+
<div className="relative w-full">
|
139 |
+
<input
|
140 |
+
className="w-full bg-white dark:bg-bolt-elements-background-depth-4 relative px-2 py-1.5 rounded-md focus:outline-none placeholder-bolt-elements-textTertiary text-bolt-elements-textPrimary dark:text-bolt-elements-textPrimary border border-bolt-elements-borderColor"
|
141 |
+
type="search"
|
142 |
+
placeholder="Search"
|
143 |
+
onChange={handleSearchChange}
|
144 |
+
aria-label="Search chats"
|
145 |
+
/>
|
146 |
+
</div>
|
147 |
+
</div>
|
148 |
<div className="text-bolt-elements-textPrimary font-medium pl-6 pr-5 my-2">Your Chats</div>
|
149 |
<div className="flex-1 overflow-auto pl-4 pr-5 pb-5">
|
150 |
+
{filteredList.length === 0 && (
|
151 |
+
<div className="pl-2 text-bolt-elements-textTertiary">
|
152 |
+
{list.length === 0 ? 'No previous conversations' : 'No matches found'}
|
153 |
+
</div>
|
154 |
+
)}
|
155 |
<DialogRoot open={dialogContent !== null}>
|
156 |
+
{binDates(filteredList).map(({ category, items }) => (
|
157 |
<div key={category} className="mt-4 first:mt-0 space-y-1">
|
158 |
<div className="text-bolt-elements-textTertiary sticky top-0 z-1 bg-bolt-elements-background-depth-2 pl-2 pt-2 pb-1">
|
159 |
{category}
|
app/components/workbench/EditorPanel.tsx
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
import { useStore } from '@nanostores/react';
|
2 |
-
import { memo,
|
3 |
-
import { Panel, PanelGroup, PanelResizeHandle
|
4 |
import {
|
5 |
CodeMirrorEditor,
|
6 |
type EditorDocument,
|
@@ -9,21 +9,17 @@ import {
|
|
9 |
type OnSaveCallback as OnEditorSave,
|
10 |
type OnScrollCallback as OnEditorScroll,
|
11 |
} from '~/components/editor/codemirror/CodeMirrorEditor';
|
12 |
-
import { IconButton } from '~/components/ui/IconButton';
|
13 |
import { PanelHeader } from '~/components/ui/PanelHeader';
|
14 |
import { PanelHeaderButton } from '~/components/ui/PanelHeaderButton';
|
15 |
-
import { shortcutEventEmitter } from '~/lib/hooks';
|
16 |
import type { FileMap } from '~/lib/stores/files';
|
17 |
import { themeStore } from '~/lib/stores/theme';
|
18 |
-
import { workbenchStore } from '~/lib/stores/workbench';
|
19 |
-
import { classNames } from '~/utils/classNames';
|
20 |
import { WORK_DIR } from '~/utils/constants';
|
21 |
-
import {
|
22 |
import { isMobile } from '~/utils/mobile';
|
23 |
import { FileBreadcrumb } from './FileBreadcrumb';
|
24 |
import { FileTree } from './FileTree';
|
25 |
-
import {
|
26 |
-
import
|
27 |
|
28 |
interface EditorPanelProps {
|
29 |
files?: FileMap;
|
@@ -38,8 +34,6 @@ interface EditorPanelProps {
|
|
38 |
onFileReset?: () => void;
|
39 |
}
|
40 |
|
41 |
-
const MAX_TERMINALS = 3;
|
42 |
-
const DEFAULT_TERMINAL_SIZE = 25;
|
43 |
const DEFAULT_EDITOR_SIZE = 100 - DEFAULT_TERMINAL_SIZE;
|
44 |
|
45 |
const editorSettings: EditorSettings = { tabSize: 2 };
|
@@ -62,13 +56,6 @@ export const EditorPanel = memo(
|
|
62 |
const theme = useStore(themeStore);
|
63 |
const showTerminal = useStore(workbenchStore.showTerminal);
|
64 |
|
65 |
-
const terminalRefs = useRef<Array<TerminalRef | null>>([]);
|
66 |
-
const terminalPanelRef = useRef<ImperativePanelHandle>(null);
|
67 |
-
const terminalToggledByShortcut = useRef(false);
|
68 |
-
|
69 |
-
const [activeTerminal, setActiveTerminal] = useState(0);
|
70 |
-
const [terminalCount, setTerminalCount] = useState(1);
|
71 |
-
|
72 |
const activeFileSegments = useMemo(() => {
|
73 |
if (!editorDocument) {
|
74 |
return undefined;
|
@@ -81,48 +68,6 @@ export const EditorPanel = memo(
|
|
81 |
return editorDocument !== undefined && unsavedFiles?.has(editorDocument.filePath);
|
82 |
}, [editorDocument, unsavedFiles]);
|
83 |
|
84 |
-
useEffect(() => {
|
85 |
-
const unsubscribeFromEventEmitter = shortcutEventEmitter.on('toggleTerminal', () => {
|
86 |
-
terminalToggledByShortcut.current = true;
|
87 |
-
});
|
88 |
-
|
89 |
-
const unsubscribeFromThemeStore = themeStore.subscribe(() => {
|
90 |
-
for (const ref of Object.values(terminalRefs.current)) {
|
91 |
-
ref?.reloadStyles();
|
92 |
-
}
|
93 |
-
});
|
94 |
-
|
95 |
-
return () => {
|
96 |
-
unsubscribeFromEventEmitter();
|
97 |
-
unsubscribeFromThemeStore();
|
98 |
-
};
|
99 |
-
}, []);
|
100 |
-
|
101 |
-
useEffect(() => {
|
102 |
-
const { current: terminal } = terminalPanelRef;
|
103 |
-
|
104 |
-
if (!terminal) {
|
105 |
-
return;
|
106 |
-
}
|
107 |
-
|
108 |
-
const isCollapsed = terminal.isCollapsed();
|
109 |
-
|
110 |
-
if (!showTerminal && !isCollapsed) {
|
111 |
-
terminal.collapse();
|
112 |
-
} else if (showTerminal && isCollapsed) {
|
113 |
-
terminal.resize(DEFAULT_TERMINAL_SIZE);
|
114 |
-
}
|
115 |
-
|
116 |
-
terminalToggledByShortcut.current = false;
|
117 |
-
}, [showTerminal]);
|
118 |
-
|
119 |
-
const addTerminal = () => {
|
120 |
-
if (terminalCount < MAX_TERMINALS) {
|
121 |
-
setTerminalCount(terminalCount + 1);
|
122 |
-
setActiveTerminal(terminalCount);
|
123 |
-
}
|
124 |
-
};
|
125 |
-
|
126 |
return (
|
127 |
<PanelGroup direction="vertical">
|
128 |
<Panel defaultSize={showTerminal ? DEFAULT_EDITOR_SIZE : 100} minSize={20}>
|
@@ -181,118 +126,7 @@ export const EditorPanel = memo(
|
|
181 |
</PanelGroup>
|
182 |
</Panel>
|
183 |
<PanelResizeHandle />
|
184 |
-
<
|
185 |
-
ref={terminalPanelRef}
|
186 |
-
defaultSize={showTerminal ? DEFAULT_TERMINAL_SIZE : 0}
|
187 |
-
minSize={10}
|
188 |
-
collapsible
|
189 |
-
onExpand={() => {
|
190 |
-
if (!terminalToggledByShortcut.current) {
|
191 |
-
workbenchStore.toggleTerminal(true);
|
192 |
-
}
|
193 |
-
}}
|
194 |
-
onCollapse={() => {
|
195 |
-
if (!terminalToggledByShortcut.current) {
|
196 |
-
workbenchStore.toggleTerminal(false);
|
197 |
-
}
|
198 |
-
}}
|
199 |
-
>
|
200 |
-
<div className="h-full">
|
201 |
-
<div className="bg-bolt-elements-terminals-background h-full flex flex-col">
|
202 |
-
<div className="flex items-center bg-bolt-elements-background-depth-2 border-y border-bolt-elements-borderColor gap-1.5 min-h-[34px] p-2">
|
203 |
-
{Array.from({ length: terminalCount + 1 }, (_, index) => {
|
204 |
-
const isActive = activeTerminal === index;
|
205 |
-
|
206 |
-
return (
|
207 |
-
<React.Fragment key={index}>
|
208 |
-
{index == 0 ? (
|
209 |
-
<button
|
210 |
-
key={index}
|
211 |
-
className={classNames(
|
212 |
-
'flex items-center text-sm cursor-pointer gap-1.5 px-3 py-2 h-full whitespace-nowrap rounded-full',
|
213 |
-
{
|
214 |
-
'bg-bolt-elements-terminals-buttonBackground text-bolt-elements-textSecondary hover:text-bolt-elements-textPrimary':
|
215 |
-
isActive,
|
216 |
-
'bg-bolt-elements-background-depth-2 text-bolt-elements-textSecondary hover:bg-bolt-elements-terminals-buttonBackground':
|
217 |
-
!isActive,
|
218 |
-
},
|
219 |
-
)}
|
220 |
-
onClick={() => setActiveTerminal(index)}
|
221 |
-
>
|
222 |
-
<div className="i-ph:terminal-window-duotone text-lg" />
|
223 |
-
Bolt Terminal
|
224 |
-
</button>
|
225 |
-
) : (
|
226 |
-
<React.Fragment>
|
227 |
-
<button
|
228 |
-
key={index}
|
229 |
-
className={classNames(
|
230 |
-
'flex items-center text-sm cursor-pointer gap-1.5 px-3 py-2 h-full whitespace-nowrap rounded-full',
|
231 |
-
{
|
232 |
-
'bg-bolt-elements-terminals-buttonBackground text-bolt-elements-textPrimary': isActive,
|
233 |
-
'bg-bolt-elements-background-depth-2 text-bolt-elements-textSecondary hover:bg-bolt-elements-terminals-buttonBackground':
|
234 |
-
!isActive,
|
235 |
-
},
|
236 |
-
)}
|
237 |
-
onClick={() => setActiveTerminal(index)}
|
238 |
-
>
|
239 |
-
<div className="i-ph:terminal-window-duotone text-lg" />
|
240 |
-
Terminal {terminalCount > 1 && index}
|
241 |
-
</button>
|
242 |
-
</React.Fragment>
|
243 |
-
)}
|
244 |
-
</React.Fragment>
|
245 |
-
);
|
246 |
-
})}
|
247 |
-
{terminalCount < MAX_TERMINALS && <IconButton icon="i-ph:plus" size="md" onClick={addTerminal} />}
|
248 |
-
<IconButton
|
249 |
-
className="ml-auto"
|
250 |
-
icon="i-ph:caret-down"
|
251 |
-
title="Close"
|
252 |
-
size="md"
|
253 |
-
onClick={() => workbenchStore.toggleTerminal(false)}
|
254 |
-
/>
|
255 |
-
</div>
|
256 |
-
{Array.from({ length: terminalCount + 1 }, (_, index) => {
|
257 |
-
const isActive = activeTerminal === index;
|
258 |
-
|
259 |
-
if (index == 0) {
|
260 |
-
logger.info('Starting bolt terminal');
|
261 |
-
|
262 |
-
return (
|
263 |
-
<Terminal
|
264 |
-
key={index}
|
265 |
-
className={classNames('h-full overflow-hidden', {
|
266 |
-
hidden: !isActive,
|
267 |
-
})}
|
268 |
-
ref={(ref) => {
|
269 |
-
terminalRefs.current.push(ref);
|
270 |
-
}}
|
271 |
-
onTerminalReady={(terminal) => workbenchStore.attachBoltTerminal(terminal)}
|
272 |
-
onTerminalResize={(cols, rows) => workbenchStore.onTerminalResize(cols, rows)}
|
273 |
-
theme={theme}
|
274 |
-
/>
|
275 |
-
);
|
276 |
-
}
|
277 |
-
|
278 |
-
return (
|
279 |
-
<Terminal
|
280 |
-
key={index}
|
281 |
-
className={classNames('h-full overflow-hidden', {
|
282 |
-
hidden: !isActive,
|
283 |
-
})}
|
284 |
-
ref={(ref) => {
|
285 |
-
terminalRefs.current.push(ref);
|
286 |
-
}}
|
287 |
-
onTerminalReady={(terminal) => workbenchStore.attachTerminal(terminal)}
|
288 |
-
onTerminalResize={(cols, rows) => workbenchStore.onTerminalResize(cols, rows)}
|
289 |
-
theme={theme}
|
290 |
-
/>
|
291 |
-
);
|
292 |
-
})}
|
293 |
-
</div>
|
294 |
-
</div>
|
295 |
-
</Panel>
|
296 |
</PanelGroup>
|
297 |
);
|
298 |
},
|
|
|
1 |
import { useStore } from '@nanostores/react';
|
2 |
+
import { memo, useMemo } from 'react';
|
3 |
+
import { Panel, PanelGroup, PanelResizeHandle } from 'react-resizable-panels';
|
4 |
import {
|
5 |
CodeMirrorEditor,
|
6 |
type EditorDocument,
|
|
|
9 |
type OnSaveCallback as OnEditorSave,
|
10 |
type OnScrollCallback as OnEditorScroll,
|
11 |
} from '~/components/editor/codemirror/CodeMirrorEditor';
|
|
|
12 |
import { PanelHeader } from '~/components/ui/PanelHeader';
|
13 |
import { PanelHeaderButton } from '~/components/ui/PanelHeaderButton';
|
|
|
14 |
import type { FileMap } from '~/lib/stores/files';
|
15 |
import { themeStore } from '~/lib/stores/theme';
|
|
|
|
|
16 |
import { WORK_DIR } from '~/utils/constants';
|
17 |
+
import { renderLogger } from '~/utils/logger';
|
18 |
import { isMobile } from '~/utils/mobile';
|
19 |
import { FileBreadcrumb } from './FileBreadcrumb';
|
20 |
import { FileTree } from './FileTree';
|
21 |
+
import { DEFAULT_TERMINAL_SIZE, TerminalTabs } from './terminal/TerminalTabs';
|
22 |
+
import { workbenchStore } from '~/lib/stores/workbench';
|
23 |
|
24 |
interface EditorPanelProps {
|
25 |
files?: FileMap;
|
|
|
34 |
onFileReset?: () => void;
|
35 |
}
|
36 |
|
|
|
|
|
37 |
const DEFAULT_EDITOR_SIZE = 100 - DEFAULT_TERMINAL_SIZE;
|
38 |
|
39 |
const editorSettings: EditorSettings = { tabSize: 2 };
|
|
|
56 |
const theme = useStore(themeStore);
|
57 |
const showTerminal = useStore(workbenchStore.showTerminal);
|
58 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
59 |
const activeFileSegments = useMemo(() => {
|
60 |
if (!editorDocument) {
|
61 |
return undefined;
|
|
|
68 |
return editorDocument !== undefined && unsavedFiles?.has(editorDocument.filePath);
|
69 |
}, [editorDocument, unsavedFiles]);
|
70 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
71 |
return (
|
72 |
<PanelGroup direction="vertical">
|
73 |
<Panel defaultSize={showTerminal ? DEFAULT_EDITOR_SIZE : 100} minSize={20}>
|
|
|
126 |
</PanelGroup>
|
127 |
</Panel>
|
128 |
<PanelResizeHandle />
|
129 |
+
<TerminalTabs />
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
130 |
</PanelGroup>
|
131 |
);
|
132 |
},
|
app/components/workbench/terminal/Terminal.tsx
CHANGED
@@ -16,71 +16,74 @@ export interface TerminalProps {
|
|
16 |
className?: string;
|
17 |
theme: Theme;
|
18 |
readonly?: boolean;
|
|
|
19 |
onTerminalReady?: (terminal: XTerm) => void;
|
20 |
onTerminalResize?: (cols: number, rows: number) => void;
|
21 |
}
|
22 |
|
23 |
export const Terminal = memo(
|
24 |
-
forwardRef<TerminalRef, TerminalProps>(
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
-
|
33 |
-
|
34 |
-
|
35 |
-
|
36 |
-
|
37 |
-
|
38 |
-
|
39 |
-
|
40 |
-
|
41 |
-
|
42 |
-
|
43 |
-
|
44 |
-
|
45 |
-
|
46 |
-
|
47 |
-
|
48 |
-
|
49 |
-
|
50 |
-
|
51 |
-
|
52 |
-
|
53 |
-
|
54 |
-
|
55 |
-
|
56 |
-
|
57 |
-
|
58 |
-
|
59 |
-
|
60 |
-
|
61 |
-
|
62 |
-
|
63 |
-
|
64 |
-
|
65 |
-
|
66 |
-
|
67 |
-
|
68 |
-
|
69 |
-
|
70 |
-
|
71 |
-
|
72 |
-
|
73 |
-
|
74 |
-
|
75 |
-
|
76 |
-
|
77 |
-
|
78 |
-
|
79 |
-
|
80 |
-
|
81 |
-
|
82 |
-
|
83 |
-
|
84 |
-
|
85 |
-
|
|
|
|
|
86 |
);
|
|
|
16 |
className?: string;
|
17 |
theme: Theme;
|
18 |
readonly?: boolean;
|
19 |
+
id: string;
|
20 |
onTerminalReady?: (terminal: XTerm) => void;
|
21 |
onTerminalResize?: (cols: number, rows: number) => void;
|
22 |
}
|
23 |
|
24 |
export const Terminal = memo(
|
25 |
+
forwardRef<TerminalRef, TerminalProps>(
|
26 |
+
({ className, theme, readonly, id, onTerminalReady, onTerminalResize }, ref) => {
|
27 |
+
const terminalElementRef = useRef<HTMLDivElement>(null);
|
28 |
+
const terminalRef = useRef<XTerm>();
|
29 |
+
|
30 |
+
useEffect(() => {
|
31 |
+
const element = terminalElementRef.current!;
|
32 |
+
|
33 |
+
const fitAddon = new FitAddon();
|
34 |
+
const webLinksAddon = new WebLinksAddon();
|
35 |
+
|
36 |
+
const terminal = new XTerm({
|
37 |
+
cursorBlink: true,
|
38 |
+
convertEol: true,
|
39 |
+
disableStdin: readonly,
|
40 |
+
theme: getTerminalTheme(readonly ? { cursor: '#00000000' } : {}),
|
41 |
+
fontSize: 12,
|
42 |
+
fontFamily: 'Menlo, courier-new, courier, monospace',
|
43 |
+
});
|
44 |
+
|
45 |
+
terminalRef.current = terminal;
|
46 |
+
|
47 |
+
terminal.loadAddon(fitAddon);
|
48 |
+
terminal.loadAddon(webLinksAddon);
|
49 |
+
terminal.open(element);
|
50 |
+
|
51 |
+
const resizeObserver = new ResizeObserver(() => {
|
52 |
+
fitAddon.fit();
|
53 |
+
onTerminalResize?.(terminal.cols, terminal.rows);
|
54 |
+
});
|
55 |
+
|
56 |
+
resizeObserver.observe(element);
|
57 |
+
|
58 |
+
logger.debug(`Attach [${id}]`);
|
59 |
+
|
60 |
+
onTerminalReady?.(terminal);
|
61 |
+
|
62 |
+
return () => {
|
63 |
+
resizeObserver.disconnect();
|
64 |
+
terminal.dispose();
|
65 |
+
};
|
66 |
+
}, []);
|
67 |
+
|
68 |
+
useEffect(() => {
|
69 |
+
const terminal = terminalRef.current!;
|
70 |
+
|
71 |
+
// we render a transparent cursor in case the terminal is readonly
|
72 |
+
terminal.options.theme = getTerminalTheme(readonly ? { cursor: '#00000000' } : {});
|
73 |
+
|
74 |
+
terminal.options.disableStdin = readonly;
|
75 |
+
}, [theme, readonly]);
|
76 |
+
|
77 |
+
useImperativeHandle(ref, () => {
|
78 |
+
return {
|
79 |
+
reloadStyles: () => {
|
80 |
+
const terminal = terminalRef.current!;
|
81 |
+
terminal.options.theme = getTerminalTheme(readonly ? { cursor: '#00000000' } : {});
|
82 |
+
},
|
83 |
+
};
|
84 |
+
}, []);
|
85 |
+
|
86 |
+
return <div className={className} ref={terminalElementRef} />;
|
87 |
+
},
|
88 |
+
),
|
89 |
);
|
app/components/workbench/terminal/TerminalTabs.tsx
ADDED
@@ -0,0 +1,186 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import { useStore } from '@nanostores/react';
|
2 |
+
import React, { memo, useEffect, useRef, useState } from 'react';
|
3 |
+
import { Panel, type ImperativePanelHandle } from 'react-resizable-panels';
|
4 |
+
import { IconButton } from '~/components/ui/IconButton';
|
5 |
+
import { shortcutEventEmitter } from '~/lib/hooks';
|
6 |
+
import { themeStore } from '~/lib/stores/theme';
|
7 |
+
import { workbenchStore } from '~/lib/stores/workbench';
|
8 |
+
import { classNames } from '~/utils/classNames';
|
9 |
+
import { Terminal, type TerminalRef } from './Terminal';
|
10 |
+
import { createScopedLogger } from '~/utils/logger';
|
11 |
+
|
12 |
+
const logger = createScopedLogger('Terminal');
|
13 |
+
|
14 |
+
const MAX_TERMINALS = 3;
|
15 |
+
export const DEFAULT_TERMINAL_SIZE = 25;
|
16 |
+
|
17 |
+
export const TerminalTabs = memo(() => {
|
18 |
+
const showTerminal = useStore(workbenchStore.showTerminal);
|
19 |
+
const theme = useStore(themeStore);
|
20 |
+
|
21 |
+
const terminalRefs = useRef<Array<TerminalRef | null>>([]);
|
22 |
+
const terminalPanelRef = useRef<ImperativePanelHandle>(null);
|
23 |
+
const terminalToggledByShortcut = useRef(false);
|
24 |
+
|
25 |
+
const [activeTerminal, setActiveTerminal] = useState(0);
|
26 |
+
const [terminalCount, setTerminalCount] = useState(1);
|
27 |
+
|
28 |
+
const addTerminal = () => {
|
29 |
+
if (terminalCount < MAX_TERMINALS) {
|
30 |
+
setTerminalCount(terminalCount + 1);
|
31 |
+
setActiveTerminal(terminalCount);
|
32 |
+
}
|
33 |
+
};
|
34 |
+
|
35 |
+
useEffect(() => {
|
36 |
+
const { current: terminal } = terminalPanelRef;
|
37 |
+
|
38 |
+
if (!terminal) {
|
39 |
+
return;
|
40 |
+
}
|
41 |
+
|
42 |
+
const isCollapsed = terminal.isCollapsed();
|
43 |
+
|
44 |
+
if (!showTerminal && !isCollapsed) {
|
45 |
+
terminal.collapse();
|
46 |
+
} else if (showTerminal && isCollapsed) {
|
47 |
+
terminal.resize(DEFAULT_TERMINAL_SIZE);
|
48 |
+
}
|
49 |
+
|
50 |
+
terminalToggledByShortcut.current = false;
|
51 |
+
}, [showTerminal]);
|
52 |
+
|
53 |
+
useEffect(() => {
|
54 |
+
const unsubscribeFromEventEmitter = shortcutEventEmitter.on('toggleTerminal', () => {
|
55 |
+
terminalToggledByShortcut.current = true;
|
56 |
+
});
|
57 |
+
|
58 |
+
const unsubscribeFromThemeStore = themeStore.subscribe(() => {
|
59 |
+
for (const ref of Object.values(terminalRefs.current)) {
|
60 |
+
ref?.reloadStyles();
|
61 |
+
}
|
62 |
+
});
|
63 |
+
|
64 |
+
return () => {
|
65 |
+
unsubscribeFromEventEmitter();
|
66 |
+
unsubscribeFromThemeStore();
|
67 |
+
};
|
68 |
+
}, []);
|
69 |
+
|
70 |
+
return (
|
71 |
+
<Panel
|
72 |
+
ref={terminalPanelRef}
|
73 |
+
defaultSize={showTerminal ? DEFAULT_TERMINAL_SIZE : 0}
|
74 |
+
minSize={10}
|
75 |
+
collapsible
|
76 |
+
onExpand={() => {
|
77 |
+
if (!terminalToggledByShortcut.current) {
|
78 |
+
workbenchStore.toggleTerminal(true);
|
79 |
+
}
|
80 |
+
}}
|
81 |
+
onCollapse={() => {
|
82 |
+
if (!terminalToggledByShortcut.current) {
|
83 |
+
workbenchStore.toggleTerminal(false);
|
84 |
+
}
|
85 |
+
}}
|
86 |
+
>
|
87 |
+
<div className="h-full">
|
88 |
+
<div className="bg-bolt-elements-terminals-background h-full flex flex-col">
|
89 |
+
<div className="flex items-center bg-bolt-elements-background-depth-2 border-y border-bolt-elements-borderColor gap-1.5 min-h-[34px] p-2">
|
90 |
+
{Array.from({ length: terminalCount + 1 }, (_, index) => {
|
91 |
+
const isActive = activeTerminal === index;
|
92 |
+
|
93 |
+
return (
|
94 |
+
<React.Fragment key={index}>
|
95 |
+
{index == 0 ? (
|
96 |
+
<button
|
97 |
+
key={index}
|
98 |
+
className={classNames(
|
99 |
+
'flex items-center text-sm cursor-pointer gap-1.5 px-3 py-2 h-full whitespace-nowrap rounded-full',
|
100 |
+
{
|
101 |
+
'bg-bolt-elements-terminals-buttonBackground text-bolt-elements-textSecondary hover:text-bolt-elements-textPrimary':
|
102 |
+
isActive,
|
103 |
+
'bg-bolt-elements-background-depth-2 text-bolt-elements-textSecondary hover:bg-bolt-elements-terminals-buttonBackground':
|
104 |
+
!isActive,
|
105 |
+
},
|
106 |
+
)}
|
107 |
+
onClick={() => setActiveTerminal(index)}
|
108 |
+
>
|
109 |
+
<div className="i-ph:terminal-window-duotone text-lg" />
|
110 |
+
Bolt Terminal
|
111 |
+
</button>
|
112 |
+
) : (
|
113 |
+
<React.Fragment>
|
114 |
+
<button
|
115 |
+
key={index}
|
116 |
+
className={classNames(
|
117 |
+
'flex items-center text-sm cursor-pointer gap-1.5 px-3 py-2 h-full whitespace-nowrap rounded-full',
|
118 |
+
{
|
119 |
+
'bg-bolt-elements-terminals-buttonBackground text-bolt-elements-textPrimary': isActive,
|
120 |
+
'bg-bolt-elements-background-depth-2 text-bolt-elements-textSecondary hover:bg-bolt-elements-terminals-buttonBackground':
|
121 |
+
!isActive,
|
122 |
+
},
|
123 |
+
)}
|
124 |
+
onClick={() => setActiveTerminal(index)}
|
125 |
+
>
|
126 |
+
<div className="i-ph:terminal-window-duotone text-lg" />
|
127 |
+
Terminal {terminalCount > 1 && index}
|
128 |
+
</button>
|
129 |
+
</React.Fragment>
|
130 |
+
)}
|
131 |
+
</React.Fragment>
|
132 |
+
);
|
133 |
+
})}
|
134 |
+
{terminalCount < MAX_TERMINALS && <IconButton icon="i-ph:plus" size="md" onClick={addTerminal} />}
|
135 |
+
<IconButton
|
136 |
+
className="ml-auto"
|
137 |
+
icon="i-ph:caret-down"
|
138 |
+
title="Close"
|
139 |
+
size="md"
|
140 |
+
onClick={() => workbenchStore.toggleTerminal(false)}
|
141 |
+
/>
|
142 |
+
</div>
|
143 |
+
{Array.from({ length: terminalCount + 1 }, (_, index) => {
|
144 |
+
const isActive = activeTerminal === index;
|
145 |
+
|
146 |
+
logger.debug(`Starting bolt terminal [${index}]`);
|
147 |
+
|
148 |
+
if (index == 0) {
|
149 |
+
return (
|
150 |
+
<Terminal
|
151 |
+
key={index}
|
152 |
+
id={`terminal_${index}`}
|
153 |
+
className={classNames('h-full overflow-hidden', {
|
154 |
+
hidden: !isActive,
|
155 |
+
})}
|
156 |
+
ref={(ref) => {
|
157 |
+
terminalRefs.current.push(ref);
|
158 |
+
}}
|
159 |
+
onTerminalReady={(terminal) => workbenchStore.attachBoltTerminal(terminal)}
|
160 |
+
onTerminalResize={(cols, rows) => workbenchStore.onTerminalResize(cols, rows)}
|
161 |
+
theme={theme}
|
162 |
+
/>
|
163 |
+
);
|
164 |
+
} else {
|
165 |
+
return (
|
166 |
+
<Terminal
|
167 |
+
key={index}
|
168 |
+
id={`terminal_${index}`}
|
169 |
+
className={classNames('h-full overflow-hidden', {
|
170 |
+
hidden: !isActive,
|
171 |
+
})}
|
172 |
+
ref={(ref) => {
|
173 |
+
terminalRefs.current.push(ref);
|
174 |
+
}}
|
175 |
+
onTerminalReady={(terminal) => workbenchStore.attachTerminal(terminal)}
|
176 |
+
onTerminalResize={(cols, rows) => workbenchStore.onTerminalResize(cols, rows)}
|
177 |
+
theme={theme}
|
178 |
+
/>
|
179 |
+
);
|
180 |
+
}
|
181 |
+
})}
|
182 |
+
</div>
|
183 |
+
</div>
|
184 |
+
</Panel>
|
185 |
+
);
|
186 |
+
});
|
app/entry.server.tsx
CHANGED
@@ -43,7 +43,7 @@ export default async function handleRequest(
|
|
43 |
.read()
|
44 |
.then(({ done, value }) => {
|
45 |
if (done) {
|
46 |
-
controller.enqueue(new Uint8Array(new TextEncoder().encode(
|
47 |
controller.close();
|
48 |
|
49 |
return;
|
|
|
43 |
.read()
|
44 |
.then(({ done, value }) => {
|
45 |
if (done) {
|
46 |
+
controller.enqueue(new Uint8Array(new TextEncoder().encode('</div></body></html>')));
|
47 |
controller.close();
|
48 |
|
49 |
return;
|
app/lib/.server/llm/api-key.ts
CHANGED
@@ -35,6 +35,8 @@ export function getAPIKey(cloudflareEnv: Env, provider: string, userApiKeys?: Re
|
|
35 |
return env.MISTRAL_API_KEY || cloudflareEnv.MISTRAL_API_KEY;
|
36 |
case 'OpenAILike':
|
37 |
return env.OPENAI_LIKE_API_KEY || cloudflareEnv.OPENAI_LIKE_API_KEY;
|
|
|
|
|
38 |
case 'xAI':
|
39 |
return env.XAI_API_KEY || cloudflareEnv.XAI_API_KEY;
|
40 |
case 'Cohere':
|
@@ -48,6 +50,8 @@ export function getAPIKey(cloudflareEnv: Env, provider: string, userApiKeys?: Re
|
|
48 |
|
49 |
export function getBaseURL(cloudflareEnv: Env, provider: string) {
|
50 |
switch (provider) {
|
|
|
|
|
51 |
case 'OpenAILike':
|
52 |
return env.OPENAI_LIKE_API_BASE_URL || cloudflareEnv.OPENAI_LIKE_API_BASE_URL;
|
53 |
case 'LMStudio':
|
|
|
35 |
return env.MISTRAL_API_KEY || cloudflareEnv.MISTRAL_API_KEY;
|
36 |
case 'OpenAILike':
|
37 |
return env.OPENAI_LIKE_API_KEY || cloudflareEnv.OPENAI_LIKE_API_KEY;
|
38 |
+
case 'Together':
|
39 |
+
return env.TOGETHER_API_KEY || cloudflareEnv.TOGETHER_API_KEY;
|
40 |
case 'xAI':
|
41 |
return env.XAI_API_KEY || cloudflareEnv.XAI_API_KEY;
|
42 |
case 'Cohere':
|
|
|
50 |
|
51 |
export function getBaseURL(cloudflareEnv: Env, provider: string) {
|
52 |
switch (provider) {
|
53 |
+
case 'Together':
|
54 |
+
return env.TOGETHER_API_BASE_URL || cloudflareEnv.TOGETHER_API_BASE_URL;
|
55 |
case 'OpenAILike':
|
56 |
return env.OPENAI_LIKE_API_BASE_URL || cloudflareEnv.OPENAI_LIKE_API_BASE_URL;
|
57 |
case 'LMStudio':
|
app/lib/.server/llm/model.ts
CHANGED
@@ -146,6 +146,8 @@ export function getModel(provider: string, model: string, env: Env, apiKeys?: Re
|
|
146 |
return getGoogleModel(apiKey, model);
|
147 |
case 'OpenAILike':
|
148 |
return getOpenAILikeModel(baseURL, apiKey, model);
|
|
|
|
|
149 |
case 'Deepseek':
|
150 |
return getDeepseekModel(apiKey, model);
|
151 |
case 'Mistral':
|
|
|
146 |
return getGoogleModel(apiKey, model);
|
147 |
case 'OpenAILike':
|
148 |
return getOpenAILikeModel(baseURL, apiKey, model);
|
149 |
+
case 'Together':
|
150 |
+
return getOpenAILikeModel(baseURL, apiKey, model);
|
151 |
case 'Deepseek':
|
152 |
return getDeepseekModel(apiKey, model);
|
153 |
case 'Mistral':
|
app/lib/hooks/useSearchFilter.ts
ADDED
@@ -0,0 +1,52 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import { useState, useMemo, useCallback } from 'react';
|
2 |
+
import { debounce } from '~/utils/debounce';
|
3 |
+
import type { ChatHistoryItem } from '~/lib/persistence';
|
4 |
+
|
5 |
+
interface UseSearchFilterOptions {
|
6 |
+
items: ChatHistoryItem[];
|
7 |
+
searchFields?: (keyof ChatHistoryItem)[];
|
8 |
+
debounceMs?: number;
|
9 |
+
}
|
10 |
+
|
11 |
+
export function useSearchFilter({
|
12 |
+
items = [],
|
13 |
+
searchFields = ['description'],
|
14 |
+
debounceMs = 300,
|
15 |
+
}: UseSearchFilterOptions) {
|
16 |
+
const [searchQuery, setSearchQuery] = useState('');
|
17 |
+
|
18 |
+
const debouncedSetSearch = useCallback(debounce(setSearchQuery, debounceMs), []);
|
19 |
+
|
20 |
+
const handleSearchChange = useCallback(
|
21 |
+
(event: React.ChangeEvent<HTMLInputElement>) => {
|
22 |
+
debouncedSetSearch(event.target.value);
|
23 |
+
},
|
24 |
+
[debouncedSetSearch],
|
25 |
+
);
|
26 |
+
|
27 |
+
const filteredItems = useMemo(() => {
|
28 |
+
if (!searchQuery.trim()) {
|
29 |
+
return items;
|
30 |
+
}
|
31 |
+
|
32 |
+
const query = searchQuery.toLowerCase();
|
33 |
+
|
34 |
+
return items.filter((item) =>
|
35 |
+
searchFields.some((field) => {
|
36 |
+
const value = item[field];
|
37 |
+
|
38 |
+
if (typeof value === 'string') {
|
39 |
+
return value.toLowerCase().includes(query);
|
40 |
+
}
|
41 |
+
|
42 |
+
return false;
|
43 |
+
}),
|
44 |
+
);
|
45 |
+
}, [items, searchQuery, searchFields]);
|
46 |
+
|
47 |
+
return {
|
48 |
+
searchQuery,
|
49 |
+
filteredItems,
|
50 |
+
handleSearchChange,
|
51 |
+
};
|
52 |
+
}
|
app/lib/persistence/db.ts
CHANGED
@@ -6,6 +6,11 @@ const logger = createScopedLogger('ChatHistory');
|
|
6 |
|
7 |
// this is used at the top level and never rejects
|
8 |
export async function openDatabase(): Promise<IDBDatabase | undefined> {
|
|
|
|
|
|
|
|
|
|
|
9 |
return new Promise((resolve) => {
|
10 |
const request = indexedDB.open('boltHistory', 1);
|
11 |
|
|
|
6 |
|
7 |
// this is used at the top level and never rejects
|
8 |
export async function openDatabase(): Promise<IDBDatabase | undefined> {
|
9 |
+
if (typeof indexedDB === 'undefined') {
|
10 |
+
console.error('indexedDB is not available in this environment.');
|
11 |
+
return undefined;
|
12 |
+
}
|
13 |
+
|
14 |
return new Promise((resolve) => {
|
15 |
const request = indexedDB.open('boltHistory', 1);
|
16 |
|
app/lib/persistence/useChatHistory.ts
CHANGED
@@ -43,7 +43,7 @@ export function useChatHistory() {
|
|
43 |
setReady(true);
|
44 |
|
45 |
if (persistenceEnabled) {
|
46 |
-
toast.error(
|
47 |
}
|
48 |
|
49 |
return;
|
@@ -63,7 +63,7 @@ export function useChatHistory() {
|
|
63 |
description.set(storedMessages.description);
|
64 |
chatId.set(storedMessages.id);
|
65 |
} else {
|
66 |
-
navigate(
|
67 |
}
|
68 |
|
69 |
setReady(true);
|
|
|
43 |
setReady(true);
|
44 |
|
45 |
if (persistenceEnabled) {
|
46 |
+
toast.error('Chat persistence is unavailable');
|
47 |
}
|
48 |
|
49 |
return;
|
|
|
63 |
description.set(storedMessages.description);
|
64 |
chatId.set(storedMessages.id);
|
65 |
} else {
|
66 |
+
navigate('/', { replace: true });
|
67 |
}
|
68 |
|
69 |
setReady(true);
|
app/lib/runtime/action-runner.ts
CHANGED
@@ -84,18 +84,18 @@ export class ActionRunner {
|
|
84 |
}
|
85 |
|
86 |
if (action.executed) {
|
87 |
-
return;
|
88 |
}
|
89 |
|
90 |
if (isStreaming && action.type !== 'file') {
|
91 |
-
return;
|
92 |
}
|
93 |
|
94 |
this.#updateAction(actionId, { ...action, ...data.action, executed: !isStreaming });
|
95 |
|
96 |
this.#currentExecutionPromise = this.#currentExecutionPromise
|
97 |
.then(() => {
|
98 |
-
this.#executeAction(actionId, isStreaming);
|
99 |
})
|
100 |
.catch((error) => {
|
101 |
console.error('Action failed:', error);
|
|
|
84 |
}
|
85 |
|
86 |
if (action.executed) {
|
87 |
+
return; // No return value here
|
88 |
}
|
89 |
|
90 |
if (isStreaming && action.type !== 'file') {
|
91 |
+
return; // No return value here
|
92 |
}
|
93 |
|
94 |
this.#updateAction(actionId, { ...action, ...data.action, executed: !isStreaming });
|
95 |
|
96 |
this.#currentExecutionPromise = this.#currentExecutionPromise
|
97 |
.then(() => {
|
98 |
+
return this.#executeAction(actionId, isStreaming);
|
99 |
})
|
100 |
.catch((error) => {
|
101 |
console.error('Action failed:', error);
|
app/lib/stores/workbench.ts
CHANGED
@@ -14,6 +14,7 @@ import { saveAs } from 'file-saver';
|
|
14 |
import { Octokit, type RestEndpointMethodTypes } from '@octokit/rest';
|
15 |
import * as nodePath from 'node:path';
|
16 |
import { extractRelativePath } from '~/utils/diff';
|
|
|
17 |
|
18 |
export interface ArtifactState {
|
19 |
id: string;
|
@@ -328,6 +329,13 @@ export class WorkbenchStore {
|
|
328 |
const zip = new JSZip();
|
329 |
const files = this.files.get();
|
330 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
331 |
for (const [filePath, dirent] of Object.entries(files)) {
|
332 |
if (dirent?.type === 'file' && !dirent.isBinary) {
|
333 |
const relativePath = extractRelativePath(filePath);
|
@@ -350,8 +358,9 @@ export class WorkbenchStore {
|
|
350 |
}
|
351 |
}
|
352 |
|
|
|
353 |
const content = await zip.generateAsync({ type: 'blob' });
|
354 |
-
saveAs(content,
|
355 |
}
|
356 |
|
357 |
async syncFiles(targetHandle: FileSystemDirectoryHandle) {
|
@@ -369,7 +378,9 @@ export class WorkbenchStore {
|
|
369 |
}
|
370 |
|
371 |
// create or get the file
|
372 |
-
const fileHandle = await currentHandle.getFileHandle(pathSegments[pathSegments.length - 1], {
|
|
|
|
|
373 |
|
374 |
// write the file content
|
375 |
const writable = await fileHandle.createWritable();
|
|
|
14 |
import { Octokit, type RestEndpointMethodTypes } from '@octokit/rest';
|
15 |
import * as nodePath from 'node:path';
|
16 |
import { extractRelativePath } from '~/utils/diff';
|
17 |
+
import { description } from '~/lib/persistence';
|
18 |
|
19 |
export interface ArtifactState {
|
20 |
id: string;
|
|
|
329 |
const zip = new JSZip();
|
330 |
const files = this.files.get();
|
331 |
|
332 |
+
// Get the project name from the description input, or use a default name
|
333 |
+
const projectName = (description.value ?? 'project').toLocaleLowerCase().split(' ').join('_');
|
334 |
+
|
335 |
+
// Generate a simple 6-character hash based on the current timestamp
|
336 |
+
const timestampHash = Date.now().toString(36).slice(-6);
|
337 |
+
const uniqueProjectName = `${projectName}_${timestampHash}`;
|
338 |
+
|
339 |
for (const [filePath, dirent] of Object.entries(files)) {
|
340 |
if (dirent?.type === 'file' && !dirent.isBinary) {
|
341 |
const relativePath = extractRelativePath(filePath);
|
|
|
358 |
}
|
359 |
}
|
360 |
|
361 |
+
// Generate the zip file and save it
|
362 |
const content = await zip.generateAsync({ type: 'blob' });
|
363 |
+
saveAs(content, `${uniqueProjectName}.zip`);
|
364 |
}
|
365 |
|
366 |
async syncFiles(targetHandle: FileSystemDirectoryHandle) {
|
|
|
378 |
}
|
379 |
|
380 |
// create or get the file
|
381 |
+
const fileHandle = await currentHandle.getFileHandle(pathSegments[pathSegments.length - 1], {
|
382 |
+
create: true,
|
383 |
+
});
|
384 |
|
385 |
// write the file content
|
386 |
const writable = await fileHandle.createWritable();
|
app/routes/api.enhancer.ts
CHANGED
@@ -44,9 +44,25 @@ async function enhancerAction({ context, request }: ActionFunctionArgs) {
|
|
44 |
content:
|
45 |
`[Model: ${model}]\n\n[Provider: ${providerName}]\n\n` +
|
46 |
stripIndents`
|
|
|
|
|
47 |
I want you to improve the user prompt that is wrapped in \`<original_prompt>\` tags.
|
48 |
|
49 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
50 |
|
51 |
<original_prompt>
|
52 |
${message}
|
@@ -79,7 +95,7 @@ async function enhancerAction({ context, request }: ActionFunctionArgs) {
|
|
79 |
},
|
80 |
});
|
81 |
|
82 |
-
const transformedStream = result.
|
83 |
|
84 |
return new StreamingTextResponse(transformedStream);
|
85 |
} catch (error: unknown) {
|
|
|
44 |
content:
|
45 |
`[Model: ${model}]\n\n[Provider: ${providerName}]\n\n` +
|
46 |
stripIndents`
|
47 |
+
You are a professional prompt engineer specializing in crafting precise, effective prompts.
|
48 |
+
Your task is to enhance prompts by making them more specific, actionable, and effective.
|
49 |
I want you to improve the user prompt that is wrapped in \`<original_prompt>\` tags.
|
50 |
|
51 |
+
For valid prompts:
|
52 |
+
- Make instructions explicit and unambiguous
|
53 |
+
- Add relevant context and constraints
|
54 |
+
- Remove redundant information
|
55 |
+
- Maintain the core intent
|
56 |
+
- Ensure the prompt is self-contained
|
57 |
+
- Use professional language
|
58 |
+
For invalid or unclear prompts:
|
59 |
+
- Respond with a clear, professional guidance message
|
60 |
+
- Keep responses concise and actionable
|
61 |
+
- Maintain a helpful, constructive tone
|
62 |
+
- Focus on what the user should provide
|
63 |
+
- Use a standard template for consistency
|
64 |
+
IMPORTANT: Your response must ONLY contain the enhanced prompt text.
|
65 |
+
Do not include any explanations, metadata, or wrapper tags.
|
66 |
|
67 |
<original_prompt>
|
68 |
${message}
|
|
|
95 |
},
|
96 |
});
|
97 |
|
98 |
+
const transformedStream = result.toDataStream().pipeThrough(transformStream);
|
99 |
|
100 |
return new StreamingTextResponse(transformedStream);
|
101 |
} catch (error: unknown) {
|
app/styles/components/resize-handle.scss
CHANGED
@@ -1,3 +1,5 @@
|
|
|
|
|
|
1 |
[data-resize-handle] {
|
2 |
position: relative;
|
3 |
|
@@ -8,7 +10,7 @@
|
|
8 |
bottom: 0;
|
9 |
left: -6px;
|
10 |
right: -5px;
|
11 |
-
z-index:
|
12 |
}
|
13 |
|
14 |
&[data-panel-group-direction='vertical']:after {
|
@@ -18,7 +20,7 @@
|
|
18 |
right: 0;
|
19 |
top: -5px;
|
20 |
bottom: -6px;
|
21 |
-
z-index:
|
22 |
}
|
23 |
|
24 |
&[data-resize-handle-state='hover']:after,
|
|
|
1 |
+
@use '../z-index';
|
2 |
+
|
3 |
[data-resize-handle] {
|
4 |
position: relative;
|
5 |
|
|
|
10 |
bottom: 0;
|
11 |
left: -6px;
|
12 |
right: -5px;
|
13 |
+
z-index: z-index.$zIndexMax;
|
14 |
}
|
15 |
|
16 |
&[data-panel-group-direction='vertical']:after {
|
|
|
20 |
right: 0;
|
21 |
top: -5px;
|
22 |
bottom: -6px;
|
23 |
+
z-index: z-index.$zIndexMax;
|
24 |
}
|
25 |
|
26 |
&[data-resize-handle-state='hover']:after,
|
app/styles/index.scss
CHANGED
@@ -1,11 +1,11 @@
|
|
1 |
-
@
|
2 |
-
@
|
3 |
-
@
|
4 |
-
@
|
5 |
-
@
|
6 |
-
@
|
7 |
-
@
|
8 |
-
@
|
9 |
|
10 |
html,
|
11 |
body {
|
|
|
1 |
+
@use 'variables.scss';
|
2 |
+
@use 'z-index.scss';
|
3 |
+
@use 'animations.scss';
|
4 |
+
@use 'components/terminal.scss';
|
5 |
+
@use 'components/resize-handle.scss';
|
6 |
+
@use 'components/code.scss';
|
7 |
+
@use 'components/editor.scss';
|
8 |
+
@use 'components/toast.scss';
|
9 |
|
10 |
html,
|
11 |
body {
|
app/utils/constants.ts
CHANGED
@@ -7,6 +7,7 @@ export const MODIFICATIONS_TAG_NAME = 'bolt_file_modifications';
|
|
7 |
export const MODEL_REGEX = /^\[Model: (.*?)\]\n\n/;
|
8 |
export const PROVIDER_REGEX = /\[Provider: (.*?)\]\n\n/;
|
9 |
export const DEFAULT_MODEL = 'claude-3-5-sonnet-latest';
|
|
|
10 |
|
11 |
const PROVIDER_LIST: ProviderInfo[] = [
|
12 |
{
|
@@ -259,6 +260,31 @@ const PROVIDER_LIST: ProviderInfo[] = [
|
|
259 |
labelForGetApiKey: 'Get LMStudio',
|
260 |
icon: 'i-ph:cloud-arrow-down',
|
261 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
262 |
];
|
263 |
|
264 |
export const DEFAULT_PROVIDER = PROVIDER_LIST[0];
|
@@ -283,9 +309,11 @@ const getOllamaBaseUrl = () => {
|
|
283 |
};
|
284 |
|
285 |
async function getOllamaModels(): Promise<ModelInfo[]> {
|
286 |
-
|
287 |
-
|
288 |
-
|
|
|
|
|
289 |
|
290 |
try {
|
291 |
const baseUrl = getOllamaBaseUrl();
|
|
|
7 |
export const MODEL_REGEX = /^\[Model: (.*?)\]\n\n/;
|
8 |
export const PROVIDER_REGEX = /\[Provider: (.*?)\]\n\n/;
|
9 |
export const DEFAULT_MODEL = 'claude-3-5-sonnet-latest';
|
10 |
+
export const PROMPT_COOKIE_KEY = 'cachedPrompt';
|
11 |
|
12 |
const PROVIDER_LIST: ProviderInfo[] = [
|
13 |
{
|
|
|
260 |
labelForGetApiKey: 'Get LMStudio',
|
261 |
icon: 'i-ph:cloud-arrow-down',
|
262 |
},
|
263 |
+
{
|
264 |
+
name: 'Together',
|
265 |
+
staticModels: [
|
266 |
+
{
|
267 |
+
name: 'Qwen/Qwen2.5-Coder-32B-Instruct',
|
268 |
+
label: 'Qwen/Qwen2.5-Coder-32B-Instruct',
|
269 |
+
provider: 'Together',
|
270 |
+
maxTokenAllowed: 8000,
|
271 |
+
},
|
272 |
+
{
|
273 |
+
name: 'meta-llama/Llama-3.2-90B-Vision-Instruct-Turbo',
|
274 |
+
label: 'meta-llama/Llama-3.2-90B-Vision-Instruct-Turbo',
|
275 |
+
provider: 'Together',
|
276 |
+
maxTokenAllowed: 8000,
|
277 |
+
},
|
278 |
+
|
279 |
+
{
|
280 |
+
name: 'mistralai/Mixtral-8x7B-Instruct-v0.1',
|
281 |
+
label: 'Mixtral 8x7B Instruct',
|
282 |
+
provider: 'Together',
|
283 |
+
maxTokenAllowed: 8192,
|
284 |
+
},
|
285 |
+
],
|
286 |
+
getApiKeyLink: 'https://api.together.xyz/settings/api-keys',
|
287 |
+
},
|
288 |
];
|
289 |
|
290 |
export const DEFAULT_PROVIDER = PROVIDER_LIST[0];
|
|
|
309 |
};
|
310 |
|
311 |
async function getOllamaModels(): Promise<ModelInfo[]> {
|
312 |
+
/*
|
313 |
+
* if (typeof window === 'undefined') {
|
314 |
+
* return [];
|
315 |
+
* }
|
316 |
+
*/
|
317 |
|
318 |
try {
|
319 |
const baseUrl = getOllamaBaseUrl();
|
app/utils/logger.ts
CHANGED
@@ -11,7 +11,7 @@ interface Logger {
|
|
11 |
setLevel: (level: DebugLevel) => void;
|
12 |
}
|
13 |
|
14 |
-
let currentLevel: DebugLevel = import.meta.env.VITE_LOG_LEVEL ?? import.meta.env.DEV ? 'debug' : 'info';
|
15 |
|
16 |
const isWorker = 'HTMLRewriter' in globalThis;
|
17 |
const supportsColor = !isWorker;
|
|
|
11 |
setLevel: (level: DebugLevel) => void;
|
12 |
}
|
13 |
|
14 |
+
let currentLevel: DebugLevel = (import.meta.env.VITE_LOG_LEVEL ?? import.meta.env.DEV) ? 'debug' : 'info';
|
15 |
|
16 |
const isWorker = 'HTMLRewriter' in globalThis;
|
17 |
const supportsColor = !isWorker;
|
docker-compose.yaml
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
services:
|
2 |
-
|
3 |
image: bolt-ai:production
|
4 |
build:
|
5 |
context: .
|
@@ -11,7 +11,7 @@ services:
|
|
11 |
environment:
|
12 |
- NODE_ENV=production
|
13 |
- COMPOSE_PROFILES=production
|
14 |
-
# No strictly
|
15 |
- PORT=5173
|
16 |
- GROQ_API_KEY=${GROQ_API_KEY}
|
17 |
- HuggingFace_API_KEY=${HuggingFace_API_KEY}
|
@@ -20,16 +20,18 @@ services:
|
|
20 |
- OPEN_ROUTER_API_KEY=${OPEN_ROUTER_API_KEY}
|
21 |
- GOOGLE_GENERATIVE_AI_API_KEY=${GOOGLE_GENERATIVE_AI_API_KEY}
|
22 |
- OLLAMA_API_BASE_URL=${OLLAMA_API_BASE_URL}
|
|
|
|
|
23 |
- VITE_LOG_LEVEL=${VITE_LOG_LEVEL:-debug}
|
24 |
- DEFAULT_NUM_CTX=${DEFAULT_NUM_CTX:-32768}
|
25 |
- RUNNING_IN_DOCKER=true
|
26 |
extra_hosts:
|
27 |
-
- "host.docker.internal:host-gateway"
|
28 |
command: pnpm run dockerstart
|
29 |
profiles:
|
30 |
-
- production
|
31 |
|
32 |
-
|
33 |
image: bolt-ai:development
|
34 |
build:
|
35 |
target: bolt-ai-development
|
@@ -39,7 +41,7 @@ services:
|
|
39 |
- VITE_HMR_HOST=localhost
|
40 |
- VITE_HMR_PORT=5173
|
41 |
- CHOKIDAR_USEPOLLING=true
|
42 |
-
- WATCHPACK_POLLING=true
|
43 |
- PORT=5173
|
44 |
- GROQ_API_KEY=${GROQ_API_KEY}
|
45 |
- HuggingFace_API_KEY=${HuggingFace_API_KEY}
|
@@ -48,11 +50,13 @@ services:
|
|
48 |
- OPEN_ROUTER_API_KEY=${OPEN_ROUTER_API_KEY}
|
49 |
- GOOGLE_GENERATIVE_AI_API_KEY=${GOOGLE_GENERATIVE_AI_API_KEY}
|
50 |
- OLLAMA_API_BASE_URL=${OLLAMA_API_BASE_URL}
|
|
|
|
|
51 |
- VITE_LOG_LEVEL=${VITE_LOG_LEVEL:-debug}
|
52 |
- DEFAULT_NUM_CTX=${DEFAULT_NUM_CTX:-32768}
|
53 |
- RUNNING_IN_DOCKER=true
|
54 |
extra_hosts:
|
55 |
-
- "host.docker.internal:host-gateway"
|
56 |
volumes:
|
57 |
- type: bind
|
58 |
source: .
|
@@ -60,6 +64,6 @@ services:
|
|
60 |
consistency: cached
|
61 |
- /app/node_modules
|
62 |
ports:
|
63 |
-
- "5173:5173"
|
64 |
command: pnpm run dev --host 0.0.0.0
|
65 |
-
profiles: ["development", "default"]
|
|
|
1 |
services:
|
2 |
+
app-prod:
|
3 |
image: bolt-ai:production
|
4 |
build:
|
5 |
context: .
|
|
|
11 |
environment:
|
12 |
- NODE_ENV=production
|
13 |
- COMPOSE_PROFILES=production
|
14 |
+
# No strictly needed but serving as hints for Coolify
|
15 |
- PORT=5173
|
16 |
- GROQ_API_KEY=${GROQ_API_KEY}
|
17 |
- HuggingFace_API_KEY=${HuggingFace_API_KEY}
|
|
|
20 |
- OPEN_ROUTER_API_KEY=${OPEN_ROUTER_API_KEY}
|
21 |
- GOOGLE_GENERATIVE_AI_API_KEY=${GOOGLE_GENERATIVE_AI_API_KEY}
|
22 |
- OLLAMA_API_BASE_URL=${OLLAMA_API_BASE_URL}
|
23 |
+
- TOGETHER_API_KEY=${TOGETHER_API_KEY}
|
24 |
+
- TOGETHER_API_BASE_URL=${TOGETHER_API_BASE_URL}
|
25 |
- VITE_LOG_LEVEL=${VITE_LOG_LEVEL:-debug}
|
26 |
- DEFAULT_NUM_CTX=${DEFAULT_NUM_CTX:-32768}
|
27 |
- RUNNING_IN_DOCKER=true
|
28 |
extra_hosts:
|
29 |
+
- "host.docker.internal:host-gateway"
|
30 |
command: pnpm run dockerstart
|
31 |
profiles:
|
32 |
+
- production
|
33 |
|
34 |
+
app-dev:
|
35 |
image: bolt-ai:development
|
36 |
build:
|
37 |
target: bolt-ai-development
|
|
|
41 |
- VITE_HMR_HOST=localhost
|
42 |
- VITE_HMR_PORT=5173
|
43 |
- CHOKIDAR_USEPOLLING=true
|
44 |
+
- WATCHPACK_POLLING=true
|
45 |
- PORT=5173
|
46 |
- GROQ_API_KEY=${GROQ_API_KEY}
|
47 |
- HuggingFace_API_KEY=${HuggingFace_API_KEY}
|
|
|
50 |
- OPEN_ROUTER_API_KEY=${OPEN_ROUTER_API_KEY}
|
51 |
- GOOGLE_GENERATIVE_AI_API_KEY=${GOOGLE_GENERATIVE_AI_API_KEY}
|
52 |
- OLLAMA_API_BASE_URL=${OLLAMA_API_BASE_URL}
|
53 |
+
- TOGETHER_API_KEY=${TOGETHER_API_KEY}
|
54 |
+
- TOGETHER_API_BASE_URL=${TOGETHER_API_BASE_URL}
|
55 |
- VITE_LOG_LEVEL=${VITE_LOG_LEVEL:-debug}
|
56 |
- DEFAULT_NUM_CTX=${DEFAULT_NUM_CTX:-32768}
|
57 |
- RUNNING_IN_DOCKER=true
|
58 |
extra_hosts:
|
59 |
+
- "host.docker.internal:host-gateway"
|
60 |
volumes:
|
61 |
- type: bind
|
62 |
source: .
|
|
|
64 |
consistency: cached
|
65 |
- /app/node_modules
|
66 |
ports:
|
67 |
+
- "5173:5173"
|
68 |
command: pnpm run dev --host 0.0.0.0
|
69 |
+
profiles: ["development", "default"]
|
docs/.gitignore
ADDED
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
1 |
+
.venv
|
2 |
+
site/
|
docs/README.md
ADDED
File without changes
|
docs/docs/CONTRIBUTING.md
ADDED
@@ -0,0 +1,218 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# Contribution Guidelines
|
2 |
+
|
3 |
+
## DEFAULT_NUM_CTX
|
4 |
+
|
5 |
+
The `DEFAULT_NUM_CTX` environment variable can be used to limit the maximum number of context values used by the qwen2.5-coder model. For example, to limit the context to 24576 values (which uses 32GB of VRAM), set `DEFAULT_NUM_CTX=24576` in your `.env.local` file.
|
6 |
+
|
7 |
+
First off, thank you for considering contributing to Bolt.new! This fork aims to expand the capabilities of the original project by integrating multiple LLM providers and enhancing functionality. Every contribution helps make Bolt.new a better tool for developers worldwide.
|
8 |
+
|
9 |
+
## 📋 Table of Contents
|
10 |
+
- [Code of Conduct](#code-of-conduct)
|
11 |
+
- [How Can I Contribute?](#how-can-i-contribute)
|
12 |
+
- [Pull Request Guidelines](#pull-request-guidelines)
|
13 |
+
- [Coding Standards](#coding-standards)
|
14 |
+
- [Development Setup](#development-setup)
|
15 |
+
- [Deploymnt with Docker](#docker-deployment-documentation)
|
16 |
+
|
17 |
+
## Code of Conduct
|
18 |
+
|
19 |
+
This project and everyone participating in it is governed by our Code of Conduct. By participating, you are expected to uphold this code. Please report unacceptable behavior to the project maintainers.
|
20 |
+
|
21 |
+
## How Can I Contribute?
|
22 |
+
|
23 |
+
### 🐞 Reporting Bugs and Feature Requests
|
24 |
+
- Check the issue tracker to avoid duplicates
|
25 |
+
- Use the issue templates when available
|
26 |
+
- Include as much relevant information as possible
|
27 |
+
- For bugs, add steps to reproduce the issue
|
28 |
+
|
29 |
+
### 🔧 Code Contributions
|
30 |
+
1. Fork the repository
|
31 |
+
2. Create a new branch for your feature/fix
|
32 |
+
3. Write your code
|
33 |
+
4. Submit a pull request
|
34 |
+
|
35 |
+
### ✨ Becoming a Core Contributor
|
36 |
+
We're looking for dedicated contributors to help maintain and grow this project. If you're interested in becoming a core contributor, please fill out our [Contributor Application Form](https://forms.gle/TBSteXSDCtBDwr5m7).
|
37 |
+
|
38 |
+
## Pull Request Guidelines
|
39 |
+
|
40 |
+
### 📝 PR Checklist
|
41 |
+
- [ ] Branch from the main branch
|
42 |
+
- [ ] Update documentation if needed
|
43 |
+
- [ ] Manually verify all new functionality works as expected
|
44 |
+
- [ ] Keep PRs focused and atomic
|
45 |
+
|
46 |
+
### 👀 Review Process
|
47 |
+
1. Manually test the changes
|
48 |
+
2. At least one maintainer review required
|
49 |
+
3. Address all review comments
|
50 |
+
4. Maintain clean commit history
|
51 |
+
|
52 |
+
## Coding Standards
|
53 |
+
|
54 |
+
### 💻 General Guidelines
|
55 |
+
- Follow existing code style
|
56 |
+
- Comment complex logic
|
57 |
+
- Keep functions focused and small
|
58 |
+
- Use meaningful variable names
|
59 |
+
|
60 |
+
## Development Setup
|
61 |
+
|
62 |
+
### 🔄 Initial Setup
|
63 |
+
1. Clone the repository:
|
64 |
+
```bash
|
65 |
+
git clone https://github.com/coleam00/bolt.new-any-llm.git
|
66 |
+
```
|
67 |
+
|
68 |
+
2. Install dependencies:
|
69 |
+
```bash
|
70 |
+
pnpm install
|
71 |
+
```
|
72 |
+
|
73 |
+
3. Set up environment variables:
|
74 |
+
- Rename `.env.example` to `.env.local`
|
75 |
+
- Add your LLM API keys (only set the ones you plan to use):
|
76 |
+
```bash
|
77 |
+
GROQ_API_KEY=XXX
|
78 |
+
HuggingFace_API_KEY=XXX
|
79 |
+
OPENAI_API_KEY=XXX
|
80 |
+
ANTHROPIC_API_KEY=XXX
|
81 |
+
...
|
82 |
+
```
|
83 |
+
- Optionally set debug level:
|
84 |
+
```bash
|
85 |
+
VITE_LOG_LEVEL=debug
|
86 |
+
```
|
87 |
+
|
88 |
+
- Optionally set context size:
|
89 |
+
```bash
|
90 |
+
DEFAULT_NUM_CTX=32768
|
91 |
+
```
|
92 |
+
|
93 |
+
Some Example Context Values for the qwen2.5-coder:32b models are.
|
94 |
+
|
95 |
+
* DEFAULT_NUM_CTX=32768 - Consumes 36GB of VRAM
|
96 |
+
* DEFAULT_NUM_CTX=24576 - Consumes 32GB of VRAM
|
97 |
+
* DEFAULT_NUM_CTX=12288 - Consumes 26GB of VRAM
|
98 |
+
* DEFAULT_NUM_CTX=6144 - Consumes 24GB of VRAM
|
99 |
+
|
100 |
+
**Important**: Never commit your `.env.local` file to version control. It's already included in .gitignore.
|
101 |
+
|
102 |
+
### 🚀 Running the Development Server
|
103 |
+
```bash
|
104 |
+
pnpm run dev
|
105 |
+
```
|
106 |
+
|
107 |
+
**Note**: You will need Google Chrome Canary to run this locally if you use Chrome! It's an easy install and a good browser for web development anyway.
|
108 |
+
|
109 |
+
## Testing
|
110 |
+
|
111 |
+
Run the test suite with:
|
112 |
+
|
113 |
+
```bash
|
114 |
+
pnpm test
|
115 |
+
```
|
116 |
+
|
117 |
+
## Deployment
|
118 |
+
|
119 |
+
To deploy the application to Cloudflare Pages:
|
120 |
+
|
121 |
+
```bash
|
122 |
+
pnpm run deploy
|
123 |
+
```
|
124 |
+
|
125 |
+
Make sure you have the necessary permissions and Wrangler is correctly configured for your Cloudflare account.
|
126 |
+
|
127 |
+
# Docker Deployment Documentation
|
128 |
+
|
129 |
+
This guide outlines various methods for building and deploying the application using Docker.
|
130 |
+
|
131 |
+
## Build Methods
|
132 |
+
|
133 |
+
### 1. Using Helper Scripts
|
134 |
+
|
135 |
+
NPM scripts are provided for convenient building:
|
136 |
+
|
137 |
+
```bash
|
138 |
+
# Development build
|
139 |
+
npm run dockerbuild
|
140 |
+
|
141 |
+
# Production build
|
142 |
+
npm run dockerbuild:prod
|
143 |
+
```
|
144 |
+
|
145 |
+
### 2. Direct Docker Build Commands
|
146 |
+
|
147 |
+
You can use Docker's target feature to specify the build environment:
|
148 |
+
|
149 |
+
```bash
|
150 |
+
# Development build
|
151 |
+
docker build . --target bolt-ai-development
|
152 |
+
|
153 |
+
# Production build
|
154 |
+
docker build . --target bolt-ai-production
|
155 |
+
```
|
156 |
+
|
157 |
+
### 3. Docker Compose with Profiles
|
158 |
+
|
159 |
+
Use Docker Compose profiles to manage different environments:
|
160 |
+
|
161 |
+
```bash
|
162 |
+
# Development environment
|
163 |
+
docker-compose --profile development up
|
164 |
+
|
165 |
+
# Production environment
|
166 |
+
docker-compose --profile production up
|
167 |
+
```
|
168 |
+
|
169 |
+
## Running the Application
|
170 |
+
|
171 |
+
After building using any of the methods above, run the container with:
|
172 |
+
|
173 |
+
```bash
|
174 |
+
# Development
|
175 |
+
docker run -p 5173:5173 --env-file .env.local bolt-ai:development
|
176 |
+
|
177 |
+
# Production
|
178 |
+
docker run -p 5173:5173 --env-file .env.local bolt-ai:production
|
179 |
+
```
|
180 |
+
|
181 |
+
## Deployment with Coolify
|
182 |
+
|
183 |
+
[Coolify](https://github.com/coollabsio/coolify) provides a straightforward deployment process:
|
184 |
+
|
185 |
+
1. Import your Git repository as a new project
|
186 |
+
2. Select your target environment (development/production)
|
187 |
+
3. Choose "Docker Compose" as the Build Pack
|
188 |
+
4. Configure deployment domains
|
189 |
+
5. Set the custom start command:
|
190 |
+
```bash
|
191 |
+
docker compose --profile production up
|
192 |
+
```
|
193 |
+
6. Configure environment variables
|
194 |
+
- Add necessary AI API keys
|
195 |
+
- Adjust other environment variables as needed
|
196 |
+
7. Deploy the application
|
197 |
+
|
198 |
+
## VS Code Integration
|
199 |
+
|
200 |
+
The `docker-compose.yaml` configuration is compatible with VS Code dev containers:
|
201 |
+
|
202 |
+
1. Open the command palette in VS Code
|
203 |
+
2. Select the dev container configuration
|
204 |
+
3. Choose the "development" profile from the context menu
|
205 |
+
|
206 |
+
## Environment Files
|
207 |
+
|
208 |
+
Ensure you have the appropriate `.env.local` file configured before running the containers. This file should contain:
|
209 |
+
- API keys
|
210 |
+
- Environment-specific configurations
|
211 |
+
- Other required environment variables
|
212 |
+
|
213 |
+
## Notes
|
214 |
+
|
215 |
+
- Port 5173 is exposed and mapped for both development and production environments
|
216 |
+
- Environment variables are loaded from `.env.local`
|
217 |
+
- Different profiles (development/production) can be used for different deployment scenarios
|
218 |
+
- The configuration supports both local development and production deployment
|
docs/docs/FAQ.md
ADDED
@@ -0,0 +1,52 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# FAQ
|
2 |
+
|
3 |
+
### How do I get the best results with oTToDev?
|
4 |
+
|
5 |
+
- **Be specific about your stack**: If you want to use specific frameworks or libraries (like Astro, Tailwind, ShadCN, or any other popular JavaScript framework), mention them in your initial prompt to ensure Bolt scaffolds the project accordingly.
|
6 |
+
|
7 |
+
- **Use the enhance prompt icon**: Before sending your prompt, try clicking the 'enhance' icon to have the AI model help you refine your prompt, then edit the results before submitting.
|
8 |
+
|
9 |
+
- **Scaffold the basics first, then add features**: Make sure the basic structure of your application is in place before diving into more advanced functionality. This helps oTToDev understand the foundation of your project and ensure everything is wired up right before building out more advanced functionality.
|
10 |
+
|
11 |
+
- **Batch simple instructions**: Save time by combining simple instructions into one message. For example, you can ask oTToDev to change the color scheme, add mobile responsiveness, and restart the dev server, all in one go saving you time and reducing API credit consumption significantly.
|
12 |
+
|
13 |
+
### How do I contribute to oTToDev?
|
14 |
+
|
15 |
+
[Please check out our dedicated page for contributing to oTToDev here!](CONTRIBUTING.md)
|
16 |
+
|
17 |
+
### Do you plan on merging oTToDev back into the official Bolt.new repo?
|
18 |
+
|
19 |
+
More news coming on this coming early next month - stay tuned!
|
20 |
+
|
21 |
+
### What are the future plans for oTToDev?
|
22 |
+
|
23 |
+
[Check out our Roadmap here!](https://roadmap.sh/r/ottodev-roadmap-2ovzo)
|
24 |
+
|
25 |
+
Lot more updates to this roadmap coming soon!
|
26 |
+
|
27 |
+
### Why are there so many open issues/pull requests?
|
28 |
+
|
29 |
+
oTToDev was started simply to showcase how to edit an open source project and to do something cool with local LLMs on my (@ColeMedin) YouTube channel! However, it quickly
|
30 |
+
grew into a massive community project that I am working hard to keep up with the demand of by forming a team of maintainers and getting as many people involved as I can.
|
31 |
+
That effort is going well and all of our maintainers are ABSOLUTE rockstars, but it still takes time to organize everything so we can efficiently get through all
|
32 |
+
the issues and PRs. But rest assured, we are working hard and even working on some partnerships behind the scenes to really help this project take off!
|
33 |
+
|
34 |
+
### How do local LLMs fair compared to larger models like Claude 3.5 Sonnet for oTToDev/Bolt.new?
|
35 |
+
|
36 |
+
As much as the gap is quickly closing between open source and massive close source models, you’re still going to get the best results with the very large models like GPT-4o, Claude 3.5 Sonnet, and DeepSeek Coder V2 236b. This is one of the big tasks we have at hand - figuring out how to prompt better, use agents, and improve the platform as a whole to make it work better for even the smaller local LLMs!
|
37 |
+
|
38 |
+
### I'm getting the error: "There was an error processing this request"
|
39 |
+
|
40 |
+
If you see this error within oTToDev, that is just the application telling you there is a problem at a high level, and this could mean a number of different things. To find the actual error, please check BOTH the terminal where you started the application (with Docker or pnpm) and the developer console in the browser. For most browsers, you can access the developer console by pressing F12 or right clicking anywhere in the browser and selecting “Inspect”. Then go to the “console” tab in the top right.
|
41 |
+
|
42 |
+
### I'm getting the error: "x-api-key header missing"
|
43 |
+
|
44 |
+
We have seen this error a couple times and for some reason just restarting the Docker container has fixed it. This seems to be Ollama specific. Another thing to try is try to run oTToDev with Docker or pnpm, whichever you didn’t run first. We are still on the hunt for why this happens once and a while!
|
45 |
+
|
46 |
+
### I'm getting a blank preview when oTToDev runs my app!
|
47 |
+
|
48 |
+
We promise you that we are constantly testing new PRs coming into oTToDev and the preview is core functionality, so the application is not broken! When you get a blank preview or don’t get a preview, this is generally because the LLM hallucinated bad code or incorrect commands. We are working on making this more transparent so it is obvious. Sometimes the error will appear in developer console too so check that as well.
|
49 |
+
|
50 |
+
### Everything works but the results are bad
|
51 |
+
|
52 |
+
This goes to the point above about how local LLMs are getting very powerful but you still are going to see better (sometimes much better) results with the largest LLMs like GPT-4o, Claude 3.5 Sonnet, and DeepSeek Coder V2 236b. If you are using smaller LLMs like Qwen-2.5-Coder, consider it more experimental and educational at this point. It can build smaller applications really well, which is super impressive for a local LLM, but for larger scale applications you want to use the larger LLMs still!
|
docs/docs/index.md
ADDED
@@ -0,0 +1,215 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# Welcome to OTTO Dev
|
2 |
+
This fork of Bolt.new (oTToDev) allows you to choose the LLM that you use for each prompt! Currently, you can use OpenAI, Anthropic, Ollama, OpenRouter, Gemini, LMStudio, Mistral, xAI, HuggingFace, DeepSeek, or Groq models - and it is easily extended to use any other model supported by the Vercel AI SDK! See the instructions below for running this locally and extending it to include more models.
|
3 |
+
|
4 |
+
Join the community for oTToDev!
|
5 |
+
|
6 |
+
https://thinktank.ottomator.ai
|
7 |
+
|
8 |
+
## Whats Bolt.new
|
9 |
+
|
10 |
+
Bolt.new is an AI-powered web development agent that allows you to prompt, run, edit, and deploy full-stack applications directly from your browser—no local setup required. If you're here to build your own AI-powered web dev agent using the Bolt open source codebase, [click here to get started!](./CONTRIBUTING.md)
|
11 |
+
|
12 |
+
## What Makes Bolt.new Different
|
13 |
+
|
14 |
+
Claude, v0, etc are incredible- but you can't install packages, run backends, or edit code. That’s where Bolt.new stands out:
|
15 |
+
|
16 |
+
- **Full-Stack in the Browser**: Bolt.new integrates cutting-edge AI models with an in-browser development environment powered by **StackBlitz’s WebContainers**. This allows you to:
|
17 |
+
- Install and run npm tools and libraries (like Vite, Next.js, and more)
|
18 |
+
- Run Node.js servers
|
19 |
+
- Interact with third-party APIs
|
20 |
+
- Deploy to production from chat
|
21 |
+
- Share your work via a URL
|
22 |
+
|
23 |
+
- **AI with Environment Control**: Unlike traditional dev environments where the AI can only assist in code generation, Bolt.new gives AI models **complete control** over the entire environment including the filesystem, node server, package manager, terminal, and browser console. This empowers AI agents to handle the whole app lifecycle—from creation to deployment.
|
24 |
+
|
25 |
+
Whether you’re an experienced developer, a PM, or a designer, Bolt.new allows you to easily build production-grade full-stack applications.
|
26 |
+
|
27 |
+
For developers interested in building their own AI-powered development tools with WebContainers, check out the open-source Bolt codebase in this repo!
|
28 |
+
|
29 |
+
## Setup
|
30 |
+
|
31 |
+
Many of you are new users to installing software from Github. If you have any installation troubles reach out and submit an "issue" using the links above, or feel free to enhance this documentation by forking, editing the instructions, and doing a pull request.
|
32 |
+
|
33 |
+
1. Install Git from https://git-scm.com/downloads
|
34 |
+
|
35 |
+
2. Install Node.js from https://nodejs.org/en/download/
|
36 |
+
|
37 |
+
Pay attention to the installer notes after completion.
|
38 |
+
|
39 |
+
On all operating systems, the path to Node.js should automatically be added to your system path. But you can check your path if you want to be sure. On Windows, you can search for "edit the system environment variables" in your system, select "Environment Variables..." once you are in the system properties, and then check for a path to Node in your "Path" system variable. On a Mac or Linux machine, it will tell you to check if /usr/local/bin is in your $PATH. To determine if usr/local/bin is included in $PATH open your Terminal and run:
|
40 |
+
|
41 |
+
```
|
42 |
+
echo $PATH .
|
43 |
+
```
|
44 |
+
|
45 |
+
If you see usr/local/bin in the output then you're good to go.
|
46 |
+
|
47 |
+
3. Clone the repository (if you haven't already) by opening a Terminal window (or CMD with admin permissions) and then typing in this:
|
48 |
+
|
49 |
+
```
|
50 |
+
git clone https://github.com/coleam00/bolt.new-any-llm.git
|
51 |
+
```
|
52 |
+
|
53 |
+
3. Rename .env.example to .env.local and add your LLM API keys. You will find this file on a Mac at "[your name]/bold.new-any-llm/.env.example". For Windows and Linux the path will be similar.
|
54 |
+
|
55 |
+

|
56 |
+
|
57 |
+
If you can't see the file indicated above, its likely you can't view hidden files. On Mac, open a Terminal window and enter this command below. On Windows, you will see the hidden files option in File Explorer Settings. A quick Google search will help you if you are stuck here.
|
58 |
+
|
59 |
+
```
|
60 |
+
defaults write com.apple.finder AppleShowAllFiles YES
|
61 |
+
```
|
62 |
+
|
63 |
+
**NOTE**: you only have to set the ones you want to use and Ollama doesn't need an API key because it runs locally on your computer:
|
64 |
+
|
65 |
+
Get your GROQ API Key here: https://console.groq.com/keys
|
66 |
+
|
67 |
+
Get your Open AI API Key by following these instructions: https://help.openai.com/en/articles/4936850-where-do-i-find-my-openai-api-key
|
68 |
+
|
69 |
+
Get your Anthropic API Key in your account settings: https://console.anthropic.com/settings/keys
|
70 |
+
|
71 |
+
```
|
72 |
+
GROQ_API_KEY=XXX
|
73 |
+
OPENAI_API_KEY=XXX
|
74 |
+
ANTHROPIC_API_KEY=XXX
|
75 |
+
```
|
76 |
+
|
77 |
+
Optionally, you can set the debug level:
|
78 |
+
|
79 |
+
```
|
80 |
+
VITE_LOG_LEVEL=debug
|
81 |
+
```
|
82 |
+
|
83 |
+
**Important**: Never commit your `.env.local` file to version control. It's already included in .gitignore.
|
84 |
+
|
85 |
+
## Run with Docker
|
86 |
+
|
87 |
+
Prerequisites:
|
88 |
+
|
89 |
+
Git and Node.js as mentioned above, as well as Docker: https://www.docker.com/
|
90 |
+
|
91 |
+
### 1a. Using Helper Scripts
|
92 |
+
|
93 |
+
NPM scripts are provided for convenient building:
|
94 |
+
|
95 |
+
```bash
|
96 |
+
# Development build
|
97 |
+
npm run dockerbuild
|
98 |
+
|
99 |
+
# Production build
|
100 |
+
npm run dockerbuild:prod
|
101 |
+
```
|
102 |
+
|
103 |
+
### 1b. Direct Docker Build Commands (alternative to using NPM scripts)
|
104 |
+
|
105 |
+
You can use Docker's target feature to specify the build environment instead of using NPM scripts if you wish:
|
106 |
+
|
107 |
+
```bash
|
108 |
+
# Development build
|
109 |
+
docker build . --target bolt-ai-development
|
110 |
+
|
111 |
+
# Production build
|
112 |
+
docker build . --target bolt-ai-production
|
113 |
+
```
|
114 |
+
|
115 |
+
### 2. Docker Compose with Profiles to Run the Container
|
116 |
+
|
117 |
+
Use Docker Compose profiles to manage different environments:
|
118 |
+
|
119 |
+
```bash
|
120 |
+
# Development environment
|
121 |
+
docker-compose --profile development up
|
122 |
+
|
123 |
+
# Production environment
|
124 |
+
docker-compose --profile production up
|
125 |
+
```
|
126 |
+
|
127 |
+
When you run the Docker Compose command with the development profile, any changes you
|
128 |
+
make on your machine to the code will automatically be reflected in the site running
|
129 |
+
on the container (i.e. hot reloading still applies!).
|
130 |
+
|
131 |
+
## Run Without Docker
|
132 |
+
|
133 |
+
1. Install dependencies using Terminal (or CMD in Windows with admin permissions):
|
134 |
+
|
135 |
+
```
|
136 |
+
pnpm install
|
137 |
+
```
|
138 |
+
|
139 |
+
If you get an error saying "command not found: pnpm" or similar, then that means pnpm isn't installed. You can install it via this:
|
140 |
+
|
141 |
+
```
|
142 |
+
sudo npm install -g pnpm
|
143 |
+
```
|
144 |
+
|
145 |
+
2. Start the application with the command:
|
146 |
+
|
147 |
+
```bash
|
148 |
+
pnpm run dev
|
149 |
+
```
|
150 |
+
|
151 |
+
## Super Important Note on Running Ollama Models
|
152 |
+
|
153 |
+
Ollama models by default only have 2048 tokens for their context window. Even for large models that can easily handle way more.
|
154 |
+
This is not a large enough window to handle the Bolt.new/oTToDev prompt! You have to create a version of any model you want
|
155 |
+
to use where you specify a larger context window. Luckily it's super easy to do that.
|
156 |
+
|
157 |
+
All you have to do is:
|
158 |
+
|
159 |
+
- Create a file called "Modelfile" (no file extension) anywhere on your computer
|
160 |
+
- Put in the two lines:
|
161 |
+
|
162 |
+
```
|
163 |
+
FROM [Ollama model ID such as qwen2.5-coder:7b]
|
164 |
+
PARAMETER num_ctx 32768
|
165 |
+
```
|
166 |
+
|
167 |
+
- Run the command:
|
168 |
+
|
169 |
+
```
|
170 |
+
ollama create -f Modelfile [your new model ID, can be whatever you want (example: qwen2.5-coder-extra-ctx:7b)]
|
171 |
+
```
|
172 |
+
|
173 |
+
Now you have a new Ollama model that isn't heavily limited in the context length like Ollama models are by default for some reason.
|
174 |
+
You'll see this new model in the list of Ollama models along with all the others you pulled!
|
175 |
+
|
176 |
+
## Adding New LLMs:
|
177 |
+
|
178 |
+
To make new LLMs available to use in this version of Bolt.new, head on over to `app/utils/constants.ts` and find the constant MODEL_LIST. Each element in this array is an object that has the model ID for the name (get this from the provider's API documentation), a label for the frontend model dropdown, and the provider.
|
179 |
+
|
180 |
+
By default, Anthropic, OpenAI, Groq, and Ollama are implemented as providers, but the YouTube video for this repo covers how to extend this to work with more providers if you wish!
|
181 |
+
|
182 |
+
When you add a new model to the MODEL_LIST array, it will immediately be available to use when you run the app locally or reload it. For Ollama models, make sure you have the model installed already before trying to use it here!
|
183 |
+
|
184 |
+
## Available Scripts
|
185 |
+
|
186 |
+
- `pnpm run dev`: Starts the development server.
|
187 |
+
- `pnpm run build`: Builds the project.
|
188 |
+
- `pnpm run start`: Runs the built application locally using Wrangler Pages. This script uses `bindings.sh` to set up necessary bindings so you don't have to duplicate environment variables.
|
189 |
+
- `pnpm run preview`: Builds the project and then starts it locally, useful for testing the production build. Note, HTTP streaming currently doesn't work as expected with `wrangler pages dev`.
|
190 |
+
- `pnpm test`: Runs the test suite using Vitest.
|
191 |
+
- `pnpm run typecheck`: Runs TypeScript type checking.
|
192 |
+
- `pnpm run typegen`: Generates TypeScript types using Wrangler.
|
193 |
+
- `pnpm run deploy`: Builds the project and deploys it to Cloudflare Pages.
|
194 |
+
|
195 |
+
## Development
|
196 |
+
|
197 |
+
To start the development server:
|
198 |
+
|
199 |
+
```bash
|
200 |
+
pnpm run dev
|
201 |
+
```
|
202 |
+
|
203 |
+
This will start the Remix Vite development server. You will need Google Chrome Canary to run this locally if you use Chrome! It's an easy install and a good browser for web development anyway.
|
204 |
+
|
205 |
+
## Tips and Tricks
|
206 |
+
|
207 |
+
Here are some tips to get the most out of Bolt.new:
|
208 |
+
|
209 |
+
- **Be specific about your stack**: If you want to use specific frameworks or libraries (like Astro, Tailwind, ShadCN, or any other popular JavaScript framework), mention them in your initial prompt to ensure Bolt scaffolds the project accordingly.
|
210 |
+
|
211 |
+
- **Use the enhance prompt icon**: Before sending your prompt, try clicking the 'enhance' icon to have the AI model help you refine your prompt, then edit the results before submitting.
|
212 |
+
|
213 |
+
- **Scaffold the basics first, then add features**: Make sure the basic structure of your application is in place before diving into more advanced functionality. This helps Bolt understand the foundation of your project and ensure everything is wired up right before building out more advanced functionality.
|
214 |
+
|
215 |
+
- **Batch simple instructions**: Save time by combining simple instructions into one message. For example, you can ask Bolt to change the color scheme, add mobile responsiveness, and restart the dev server, all in one go saving you time and reducing API credit consumption significantly.
|
docs/mkdocs.yml
ADDED
@@ -0,0 +1,60 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
site_name: Bolt.Local Docs
|
2 |
+
site_dir: ../site
|
3 |
+
theme:
|
4 |
+
name: material
|
5 |
+
palette:
|
6 |
+
- scheme: default
|
7 |
+
toggle:
|
8 |
+
icon: material/toggle-switch-off-outline
|
9 |
+
name: Switch to dark mode
|
10 |
+
- scheme: slate
|
11 |
+
toggle:
|
12 |
+
icon: material/toggle-switch
|
13 |
+
name: Switch to light mode
|
14 |
+
features:
|
15 |
+
- navigation.tabs
|
16 |
+
- navigation.sections
|
17 |
+
- toc.follow
|
18 |
+
- toc.integrate
|
19 |
+
- navigation.top
|
20 |
+
- search.suggest
|
21 |
+
- search.highlight
|
22 |
+
- content.tabs.link
|
23 |
+
- content.code.annotation
|
24 |
+
- content.code.copy
|
25 |
+
# - navigation.instant
|
26 |
+
# - navigation.tracking
|
27 |
+
# - navigation.tabs.sticky
|
28 |
+
# - navigation.expand
|
29 |
+
# - content.code.annotate
|
30 |
+
icon:
|
31 |
+
repo: fontawesome/brands/github
|
32 |
+
# logo: assets/logo.png
|
33 |
+
# favicon: assets/logo.png
|
34 |
+
repo_name: Bolt.Local
|
35 |
+
repo_url: https://github.com/coleam00/bolt.new-any-llm
|
36 |
+
edit_uri: ""
|
37 |
+
|
38 |
+
extra:
|
39 |
+
generator: false
|
40 |
+
social:
|
41 |
+
- icon: fontawesome/brands/github
|
42 |
+
link: https://github.com/coleam00/bolt.new-any-llm
|
43 |
+
name: Bolt.Local
|
44 |
+
- icon: fontawesome/brands/discourse
|
45 |
+
link: https://thinktank.ottomator.ai/
|
46 |
+
name: Bolt.Local Discourse
|
47 |
+
|
48 |
+
|
49 |
+
markdown_extensions:
|
50 |
+
- pymdownx.highlight:
|
51 |
+
anchor_linenums: true
|
52 |
+
- pymdownx.inlinehilite
|
53 |
+
- pymdownx.snippets
|
54 |
+
- pymdownx.arithmatex:
|
55 |
+
generic: true
|
56 |
+
- footnotes
|
57 |
+
- pymdownx.details
|
58 |
+
- pymdownx.superfences
|
59 |
+
- pymdownx.mark
|
60 |
+
- attr_list
|
docs/poetry.lock
ADDED
@@ -0,0 +1,798 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# This file is automatically @generated by Poetry 1.4.2 and should not be changed by hand.
|
2 |
+
|
3 |
+
[[package]]
|
4 |
+
name = "babel"
|
5 |
+
version = "2.16.0"
|
6 |
+
description = "Internationalization utilities"
|
7 |
+
category = "main"
|
8 |
+
optional = false
|
9 |
+
python-versions = ">=3.8"
|
10 |
+
files = [
|
11 |
+
{file = "babel-2.16.0-py3-none-any.whl", hash = "sha256:368b5b98b37c06b7daf6696391c3240c938b37767d4584413e8438c5c435fa8b"},
|
12 |
+
{file = "babel-2.16.0.tar.gz", hash = "sha256:d1f3554ca26605fe173f3de0c65f750f5a42f924499bf134de6423582298e316"},
|
13 |
+
]
|
14 |
+
|
15 |
+
[package.extras]
|
16 |
+
dev = ["freezegun (>=1.0,<2.0)", "pytest (>=6.0)", "pytest-cov"]
|
17 |
+
|
18 |
+
[[package]]
|
19 |
+
name = "certifi"
|
20 |
+
version = "2024.8.30"
|
21 |
+
description = "Python package for providing Mozilla's CA Bundle."
|
22 |
+
category = "main"
|
23 |
+
optional = false
|
24 |
+
python-versions = ">=3.6"
|
25 |
+
files = [
|
26 |
+
{file = "certifi-2024.8.30-py3-none-any.whl", hash = "sha256:922820b53db7a7257ffbda3f597266d435245903d80737e34f8a45ff3e3230d8"},
|
27 |
+
{file = "certifi-2024.8.30.tar.gz", hash = "sha256:bec941d2aa8195e248a60b31ff9f0558284cf01a52591ceda73ea9afffd69fd9"},
|
28 |
+
]
|
29 |
+
|
30 |
+
[[package]]
|
31 |
+
name = "charset-normalizer"
|
32 |
+
version = "3.4.0"
|
33 |
+
description = "The Real First Universal Charset Detector. Open, modern and actively maintained alternative to Chardet."
|
34 |
+
category = "main"
|
35 |
+
optional = false
|
36 |
+
python-versions = ">=3.7.0"
|
37 |
+
files = [
|
38 |
+
{file = "charset_normalizer-3.4.0-cp310-cp310-macosx_10_9_universal2.whl", hash = "sha256:4f9fc98dad6c2eaa32fc3af1417d95b5e3d08aff968df0cd320066def971f9a6"},
|
39 |
+
{file = "charset_normalizer-3.4.0-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:0de7b687289d3c1b3e8660d0741874abe7888100efe14bd0f9fd7141bcbda92b"},
|
40 |
+
{file = "charset_normalizer-3.4.0-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:5ed2e36c3e9b4f21dd9422f6893dec0abf2cca553af509b10cd630f878d3eb99"},
|
41 |
+
{file = "charset_normalizer-3.4.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:40d3ff7fc90b98c637bda91c89d51264a3dcf210cade3a2c6f838c7268d7a4ca"},
|
42 |
+
{file = "charset_normalizer-3.4.0-cp310-cp310-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:1110e22af8ca26b90bd6364fe4c763329b0ebf1ee213ba32b68c73de5752323d"},
|
43 |
+
{file = "charset_normalizer-3.4.0-cp310-cp310-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:86f4e8cca779080f66ff4f191a685ced73d2f72d50216f7112185dc02b90b9b7"},
|
44 |
+
{file = "charset_normalizer-3.4.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:7f683ddc7eedd742e2889d2bfb96d69573fde1d92fcb811979cdb7165bb9c7d3"},
|
45 |
+
{file = "charset_normalizer-3.4.0-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:27623ba66c183eca01bf9ff833875b459cad267aeeb044477fedac35e19ba907"},
|
46 |
+
{file = "charset_normalizer-3.4.0-cp310-cp310-musllinux_1_2_aarch64.whl", hash = "sha256:f606a1881d2663630ea5b8ce2efe2111740df4b687bd78b34a8131baa007f79b"},
|
47 |
+
{file = "charset_normalizer-3.4.0-cp310-cp310-musllinux_1_2_i686.whl", hash = "sha256:0b309d1747110feb25d7ed6b01afdec269c647d382c857ef4663bbe6ad95a912"},
|
48 |
+
{file = "charset_normalizer-3.4.0-cp310-cp310-musllinux_1_2_ppc64le.whl", hash = "sha256:136815f06a3ae311fae551c3df1f998a1ebd01ddd424aa5603a4336997629e95"},
|
49 |
+
{file = "charset_normalizer-3.4.0-cp310-cp310-musllinux_1_2_s390x.whl", hash = "sha256:14215b71a762336254351b00ec720a8e85cada43b987da5a042e4ce3e82bd68e"},
|
50 |
+
{file = "charset_normalizer-3.4.0-cp310-cp310-musllinux_1_2_x86_64.whl", hash = "sha256:79983512b108e4a164b9c8d34de3992f76d48cadc9554c9e60b43f308988aabe"},
|
51 |
+
{file = "charset_normalizer-3.4.0-cp310-cp310-win32.whl", hash = "sha256:c94057af19bc953643a33581844649a7fdab902624d2eb739738a30e2b3e60fc"},
|
52 |
+
{file = "charset_normalizer-3.4.0-cp310-cp310-win_amd64.whl", hash = "sha256:55f56e2ebd4e3bc50442fbc0888c9d8c94e4e06a933804e2af3e89e2f9c1c749"},
|
53 |
+
{file = "charset_normalizer-3.4.0-cp311-cp311-macosx_10_9_universal2.whl", hash = "sha256:0d99dd8ff461990f12d6e42c7347fd9ab2532fb70e9621ba520f9e8637161d7c"},
|
54 |
+
{file = "charset_normalizer-3.4.0-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:c57516e58fd17d03ebe67e181a4e4e2ccab1168f8c2976c6a334d4f819fe5944"},
|
55 |
+
{file = "charset_normalizer-3.4.0-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:6dba5d19c4dfab08e58d5b36304b3f92f3bd5d42c1a3fa37b5ba5cdf6dfcbcee"},
|
56 |
+
{file = "charset_normalizer-3.4.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:bf4475b82be41b07cc5e5ff94810e6a01f276e37c2d55571e3fe175e467a1a1c"},
|
57 |
+
{file = "charset_normalizer-3.4.0-cp311-cp311-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:ce031db0408e487fd2775d745ce30a7cd2923667cf3b69d48d219f1d8f5ddeb6"},
|
58 |
+
{file = "charset_normalizer-3.4.0-cp311-cp311-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:8ff4e7cdfdb1ab5698e675ca622e72d58a6fa2a8aa58195de0c0061288e6e3ea"},
|
59 |
+
{file = "charset_normalizer-3.4.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:3710a9751938947e6327ea9f3ea6332a09bf0ba0c09cae9cb1f250bd1f1549bc"},
|
60 |
+
{file = "charset_normalizer-3.4.0-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:82357d85de703176b5587dbe6ade8ff67f9f69a41c0733cf2425378b49954de5"},
|
61 |
+
{file = "charset_normalizer-3.4.0-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:47334db71978b23ebcf3c0f9f5ee98b8d65992b65c9c4f2d34c2eaf5bcaf0594"},
|
62 |
+
{file = "charset_normalizer-3.4.0-cp311-cp311-musllinux_1_2_i686.whl", hash = "sha256:8ce7fd6767a1cc5a92a639b391891bf1c268b03ec7e021c7d6d902285259685c"},
|
63 |
+
{file = "charset_normalizer-3.4.0-cp311-cp311-musllinux_1_2_ppc64le.whl", hash = "sha256:f1a2f519ae173b5b6a2c9d5fa3116ce16e48b3462c8b96dfdded11055e3d6365"},
|
64 |
+
{file = "charset_normalizer-3.4.0-cp311-cp311-musllinux_1_2_s390x.whl", hash = "sha256:63bc5c4ae26e4bc6be6469943b8253c0fd4e4186c43ad46e713ea61a0ba49129"},
|
65 |
+
{file = "charset_normalizer-3.4.0-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:bcb4f8ea87d03bc51ad04add8ceaf9b0f085ac045ab4d74e73bbc2dc033f0236"},
|
66 |
+
{file = "charset_normalizer-3.4.0-cp311-cp311-win32.whl", hash = "sha256:9ae4ef0b3f6b41bad6366fb0ea4fc1d7ed051528e113a60fa2a65a9abb5b1d99"},
|
67 |
+
{file = "charset_normalizer-3.4.0-cp311-cp311-win_amd64.whl", hash = "sha256:cee4373f4d3ad28f1ab6290684d8e2ebdb9e7a1b74fdc39e4c211995f77bec27"},
|
68 |
+
{file = "charset_normalizer-3.4.0-cp312-cp312-macosx_10_13_universal2.whl", hash = "sha256:0713f3adb9d03d49d365b70b84775d0a0d18e4ab08d12bc46baa6132ba78aaf6"},
|
69 |
+
{file = "charset_normalizer-3.4.0-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:de7376c29d95d6719048c194a9cf1a1b0393fbe8488a22008610b0361d834ecf"},
|
70 |
+
{file = "charset_normalizer-3.4.0-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:4a51b48f42d9358460b78725283f04bddaf44a9358197b889657deba38f329db"},
|
71 |
+
{file = "charset_normalizer-3.4.0-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:b295729485b06c1a0683af02a9e42d2caa9db04a373dc38a6a58cdd1e8abddf1"},
|
72 |
+
{file = "charset_normalizer-3.4.0-cp312-cp312-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:ee803480535c44e7f5ad00788526da7d85525cfefaf8acf8ab9a310000be4b03"},
|
73 |
+
{file = "charset_normalizer-3.4.0-cp312-cp312-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:3d59d125ffbd6d552765510e3f31ed75ebac2c7470c7274195b9161a32350284"},
|
74 |
+
{file = "charset_normalizer-3.4.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:8cda06946eac330cbe6598f77bb54e690b4ca93f593dee1568ad22b04f347c15"},
|
75 |
+
{file = "charset_normalizer-3.4.0-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:07afec21bbbbf8a5cc3651aa96b980afe2526e7f048fdfb7f1014d84acc8b6d8"},
|
76 |
+
{file = "charset_normalizer-3.4.0-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:6b40e8d38afe634559e398cc32b1472f376a4099c75fe6299ae607e404c033b2"},
|
77 |
+
{file = "charset_normalizer-3.4.0-cp312-cp312-musllinux_1_2_i686.whl", hash = "sha256:b8dcd239c743aa2f9c22ce674a145e0a25cb1566c495928440a181ca1ccf6719"},
|
78 |
+
{file = "charset_normalizer-3.4.0-cp312-cp312-musllinux_1_2_ppc64le.whl", hash = "sha256:84450ba661fb96e9fd67629b93d2941c871ca86fc38d835d19d4225ff946a631"},
|
79 |
+
{file = "charset_normalizer-3.4.0-cp312-cp312-musllinux_1_2_s390x.whl", hash = "sha256:44aeb140295a2f0659e113b31cfe92c9061622cadbc9e2a2f7b8ef6b1e29ef4b"},
|
80 |
+
{file = "charset_normalizer-3.4.0-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:1db4e7fefefd0f548d73e2e2e041f9df5c59e178b4c72fbac4cc6f535cfb1565"},
|
81 |
+
{file = "charset_normalizer-3.4.0-cp312-cp312-win32.whl", hash = "sha256:5726cf76c982532c1863fb64d8c6dd0e4c90b6ece9feb06c9f202417a31f7dd7"},
|
82 |
+
{file = "charset_normalizer-3.4.0-cp312-cp312-win_amd64.whl", hash = "sha256:b197e7094f232959f8f20541ead1d9862ac5ebea1d58e9849c1bf979255dfac9"},
|
83 |
+
{file = "charset_normalizer-3.4.0-cp313-cp313-macosx_10_13_universal2.whl", hash = "sha256:dd4eda173a9fcccb5f2e2bd2a9f423d180194b1bf17cf59e3269899235b2a114"},
|
84 |
+
{file = "charset_normalizer-3.4.0-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:e9e3c4c9e1ed40ea53acf11e2a386383c3304212c965773704e4603d589343ed"},
|
85 |
+
{file = "charset_normalizer-3.4.0-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:92a7e36b000bf022ef3dbb9c46bfe2d52c047d5e3f3343f43204263c5addc250"},
|
86 |
+
{file = "charset_normalizer-3.4.0-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:54b6a92d009cbe2fb11054ba694bc9e284dad30a26757b1e372a1fdddaf21920"},
|
87 |
+
{file = "charset_normalizer-3.4.0-cp313-cp313-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:1ffd9493de4c922f2a38c2bf62b831dcec90ac673ed1ca182fe11b4d8e9f2a64"},
|
88 |
+
{file = "charset_normalizer-3.4.0-cp313-cp313-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:35c404d74c2926d0287fbd63ed5d27eb911eb9e4a3bb2c6d294f3cfd4a9e0c23"},
|
89 |
+
{file = "charset_normalizer-3.4.0-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:4796efc4faf6b53a18e3d46343535caed491776a22af773f366534056c4e1fbc"},
|
90 |
+
{file = "charset_normalizer-3.4.0-cp313-cp313-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:e7fdd52961feb4c96507aa649550ec2a0d527c086d284749b2f582f2d40a2e0d"},
|
91 |
+
{file = "charset_normalizer-3.4.0-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:92db3c28b5b2a273346bebb24857fda45601aef6ae1c011c0a997106581e8a88"},
|
92 |
+
{file = "charset_normalizer-3.4.0-cp313-cp313-musllinux_1_2_i686.whl", hash = "sha256:ab973df98fc99ab39080bfb0eb3a925181454d7c3ac8a1e695fddfae696d9e90"},
|
93 |
+
{file = "charset_normalizer-3.4.0-cp313-cp313-musllinux_1_2_ppc64le.whl", hash = "sha256:4b67fdab07fdd3c10bb21edab3cbfe8cf5696f453afce75d815d9d7223fbe88b"},
|
94 |
+
{file = "charset_normalizer-3.4.0-cp313-cp313-musllinux_1_2_s390x.whl", hash = "sha256:aa41e526a5d4a9dfcfbab0716c7e8a1b215abd3f3df5a45cf18a12721d31cb5d"},
|
95 |
+
{file = "charset_normalizer-3.4.0-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:ffc519621dce0c767e96b9c53f09c5d215578e10b02c285809f76509a3931482"},
|
96 |
+
{file = "charset_normalizer-3.4.0-cp313-cp313-win32.whl", hash = "sha256:f19c1585933c82098c2a520f8ec1227f20e339e33aca8fa6f956f6691b784e67"},
|
97 |
+
{file = "charset_normalizer-3.4.0-cp313-cp313-win_amd64.whl", hash = "sha256:707b82d19e65c9bd28b81dde95249b07bf9f5b90ebe1ef17d9b57473f8a64b7b"},
|
98 |
+
{file = "charset_normalizer-3.4.0-cp37-cp37m-macosx_10_9_x86_64.whl", hash = "sha256:dbe03226baf438ac4fda9e2d0715022fd579cb641c4cf639fa40d53b2fe6f3e2"},
|
99 |
+
{file = "charset_normalizer-3.4.0-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:dd9a8bd8900e65504a305bf8ae6fa9fbc66de94178c420791d0293702fce2df7"},
|
100 |
+
{file = "charset_normalizer-3.4.0-cp37-cp37m-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:b8831399554b92b72af5932cdbbd4ddc55c55f631bb13ff8fe4e6536a06c5c51"},
|
101 |
+
{file = "charset_normalizer-3.4.0-cp37-cp37m-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:a14969b8691f7998e74663b77b4c36c0337cb1df552da83d5c9004a93afdb574"},
|
102 |
+
{file = "charset_normalizer-3.4.0-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:dcaf7c1524c0542ee2fc82cc8ec337f7a9f7edee2532421ab200d2b920fc97cf"},
|
103 |
+
{file = "charset_normalizer-3.4.0-cp37-cp37m-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:425c5f215d0eecee9a56cdb703203dda90423247421bf0d67125add85d0c4455"},
|
104 |
+
{file = "charset_normalizer-3.4.0-cp37-cp37m-musllinux_1_2_aarch64.whl", hash = "sha256:d5b054862739d276e09928de37c79ddeec42a6e1bfc55863be96a36ba22926f6"},
|
105 |
+
{file = "charset_normalizer-3.4.0-cp37-cp37m-musllinux_1_2_i686.whl", hash = "sha256:f3e73a4255342d4eb26ef6df01e3962e73aa29baa3124a8e824c5d3364a65748"},
|
106 |
+
{file = "charset_normalizer-3.4.0-cp37-cp37m-musllinux_1_2_ppc64le.whl", hash = "sha256:2f6c34da58ea9c1a9515621f4d9ac379871a8f21168ba1b5e09d74250de5ad62"},
|
107 |
+
{file = "charset_normalizer-3.4.0-cp37-cp37m-musllinux_1_2_s390x.whl", hash = "sha256:f09cb5a7bbe1ecae6e87901a2eb23e0256bb524a79ccc53eb0b7629fbe7677c4"},
|
108 |
+
{file = "charset_normalizer-3.4.0-cp37-cp37m-musllinux_1_2_x86_64.whl", hash = "sha256:0099d79bdfcf5c1f0c2c72f91516702ebf8b0b8ddd8905f97a8aecf49712c621"},
|
109 |
+
{file = "charset_normalizer-3.4.0-cp37-cp37m-win32.whl", hash = "sha256:9c98230f5042f4945f957d006edccc2af1e03ed5e37ce7c373f00a5a4daa6149"},
|
110 |
+
{file = "charset_normalizer-3.4.0-cp37-cp37m-win_amd64.whl", hash = "sha256:62f60aebecfc7f4b82e3f639a7d1433a20ec32824db2199a11ad4f5e146ef5ee"},
|
111 |
+
{file = "charset_normalizer-3.4.0-cp38-cp38-macosx_10_9_universal2.whl", hash = "sha256:af73657b7a68211996527dbfeffbb0864e043d270580c5aef06dc4b659a4b578"},
|
112 |
+
{file = "charset_normalizer-3.4.0-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:cab5d0b79d987c67f3b9e9c53f54a61360422a5a0bc075f43cab5621d530c3b6"},
|
113 |
+
{file = "charset_normalizer-3.4.0-cp38-cp38-macosx_11_0_arm64.whl", hash = "sha256:9289fd5dddcf57bab41d044f1756550f9e7cf0c8e373b8cdf0ce8773dc4bd417"},
|
114 |
+
{file = "charset_normalizer-3.4.0-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:6b493a043635eb376e50eedf7818f2f322eabbaa974e948bd8bdd29eb7ef2a51"},
|
115 |
+
{file = "charset_normalizer-3.4.0-cp38-cp38-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:9fa2566ca27d67c86569e8c85297aaf413ffab85a8960500f12ea34ff98e4c41"},
|
116 |
+
{file = "charset_normalizer-3.4.0-cp38-cp38-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:a8e538f46104c815be19c975572d74afb53f29650ea2025bbfaef359d2de2f7f"},
|
117 |
+
{file = "charset_normalizer-3.4.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:6fd30dc99682dc2c603c2b315bded2799019cea829f8bf57dc6b61efde6611c8"},
|
118 |
+
{file = "charset_normalizer-3.4.0-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:2006769bd1640bdf4d5641c69a3d63b71b81445473cac5ded39740a226fa88ab"},
|
119 |
+
{file = "charset_normalizer-3.4.0-cp38-cp38-musllinux_1_2_aarch64.whl", hash = "sha256:dc15e99b2d8a656f8e666854404f1ba54765871104e50c8e9813af8a7db07f12"},
|
120 |
+
{file = "charset_normalizer-3.4.0-cp38-cp38-musllinux_1_2_i686.whl", hash = "sha256:ab2e5bef076f5a235c3774b4f4028a680432cded7cad37bba0fd90d64b187d19"},
|
121 |
+
{file = "charset_normalizer-3.4.0-cp38-cp38-musllinux_1_2_ppc64le.whl", hash = "sha256:4ec9dd88a5b71abfc74e9df5ebe7921c35cbb3b641181a531ca65cdb5e8e4dea"},
|
122 |
+
{file = "charset_normalizer-3.4.0-cp38-cp38-musllinux_1_2_s390x.whl", hash = "sha256:43193c5cda5d612f247172016c4bb71251c784d7a4d9314677186a838ad34858"},
|
123 |
+
{file = "charset_normalizer-3.4.0-cp38-cp38-musllinux_1_2_x86_64.whl", hash = "sha256:aa693779a8b50cd97570e5a0f343538a8dbd3e496fa5dcb87e29406ad0299654"},
|
124 |
+
{file = "charset_normalizer-3.4.0-cp38-cp38-win32.whl", hash = "sha256:7706f5850360ac01d80c89bcef1640683cc12ed87f42579dab6c5d3ed6888613"},
|
125 |
+
{file = "charset_normalizer-3.4.0-cp38-cp38-win_amd64.whl", hash = "sha256:c3e446d253bd88f6377260d07c895816ebf33ffffd56c1c792b13bff9c3e1ade"},
|
126 |
+
{file = "charset_normalizer-3.4.0-cp39-cp39-macosx_10_9_universal2.whl", hash = "sha256:980b4f289d1d90ca5efcf07958d3eb38ed9c0b7676bf2831a54d4f66f9c27dfa"},
|
127 |
+
{file = "charset_normalizer-3.4.0-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:f28f891ccd15c514a0981f3b9db9aa23d62fe1a99997512b0491d2ed323d229a"},
|
128 |
+
{file = "charset_normalizer-3.4.0-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:a8aacce6e2e1edcb6ac625fb0f8c3a9570ccc7bfba1f63419b3769ccf6a00ed0"},
|
129 |
+
{file = "charset_normalizer-3.4.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:bd7af3717683bea4c87acd8c0d3d5b44d56120b26fd3f8a692bdd2d5260c620a"},
|
130 |
+
{file = "charset_normalizer-3.4.0-cp39-cp39-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:5ff2ed8194587faf56555927b3aa10e6fb69d931e33953943bc4f837dfee2242"},
|
131 |
+
{file = "charset_normalizer-3.4.0-cp39-cp39-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:e91f541a85298cf35433bf66f3fab2a4a2cff05c127eeca4af174f6d497f0d4b"},
|
132 |
+
{file = "charset_normalizer-3.4.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:309a7de0a0ff3040acaebb35ec45d18db4b28232f21998851cfa709eeff49d62"},
|
133 |
+
{file = "charset_normalizer-3.4.0-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:285e96d9d53422efc0d7a17c60e59f37fbf3dfa942073f666db4ac71e8d726d0"},
|
134 |
+
{file = "charset_normalizer-3.4.0-cp39-cp39-musllinux_1_2_aarch64.whl", hash = "sha256:5d447056e2ca60382d460a604b6302d8db69476fd2015c81e7c35417cfabe4cd"},
|
135 |
+
{file = "charset_normalizer-3.4.0-cp39-cp39-musllinux_1_2_i686.whl", hash = "sha256:20587d20f557fe189b7947d8e7ec5afa110ccf72a3128d61a2a387c3313f46be"},
|
136 |
+
{file = "charset_normalizer-3.4.0-cp39-cp39-musllinux_1_2_ppc64le.whl", hash = "sha256:130272c698667a982a5d0e626851ceff662565379baf0ff2cc58067b81d4f11d"},
|
137 |
+
{file = "charset_normalizer-3.4.0-cp39-cp39-musllinux_1_2_s390x.whl", hash = "sha256:ab22fbd9765e6954bc0bcff24c25ff71dcbfdb185fcdaca49e81bac68fe724d3"},
|
138 |
+
{file = "charset_normalizer-3.4.0-cp39-cp39-musllinux_1_2_x86_64.whl", hash = "sha256:7782afc9b6b42200f7362858f9e73b1f8316afb276d316336c0ec3bd73312742"},
|
139 |
+
{file = "charset_normalizer-3.4.0-cp39-cp39-win32.whl", hash = "sha256:2de62e8801ddfff069cd5c504ce3bc9672b23266597d4e4f50eda28846c322f2"},
|
140 |
+
{file = "charset_normalizer-3.4.0-cp39-cp39-win_amd64.whl", hash = "sha256:95c3c157765b031331dd4db3c775e58deaee050a3042fcad72cbc4189d7c8dca"},
|
141 |
+
{file = "charset_normalizer-3.4.0-py3-none-any.whl", hash = "sha256:fe9f97feb71aa9896b81973a7bbada8c49501dc73e58a10fcef6663af95e5079"},
|
142 |
+
{file = "charset_normalizer-3.4.0.tar.gz", hash = "sha256:223217c3d4f82c3ac5e29032b3f1c2eb0fb591b72161f86d93f5719079dae93e"},
|
143 |
+
]
|
144 |
+
|
145 |
+
[[package]]
|
146 |
+
name = "click"
|
147 |
+
version = "8.1.7"
|
148 |
+
description = "Composable command line interface toolkit"
|
149 |
+
category = "main"
|
150 |
+
optional = false
|
151 |
+
python-versions = ">=3.7"
|
152 |
+
files = [
|
153 |
+
{file = "click-8.1.7-py3-none-any.whl", hash = "sha256:ae74fb96c20a0277a1d615f1e4d73c8414f5a98db8b799a7931d1582f3390c28"},
|
154 |
+
{file = "click-8.1.7.tar.gz", hash = "sha256:ca9853ad459e787e2192211578cc907e7594e294c7ccc834310722b41b9ca6de"},
|
155 |
+
]
|
156 |
+
|
157 |
+
[package.dependencies]
|
158 |
+
colorama = {version = "*", markers = "platform_system == \"Windows\""}
|
159 |
+
|
160 |
+
[[package]]
|
161 |
+
name = "colorama"
|
162 |
+
version = "0.4.6"
|
163 |
+
description = "Cross-platform colored terminal text."
|
164 |
+
category = "main"
|
165 |
+
optional = false
|
166 |
+
python-versions = "!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*,!=3.5.*,!=3.6.*,>=2.7"
|
167 |
+
files = [
|
168 |
+
{file = "colorama-0.4.6-py2.py3-none-any.whl", hash = "sha256:4f1d9991f5acc0ca119f9d443620b77f9d6b33703e51011c16baf57afb285fc6"},
|
169 |
+
{file = "colorama-0.4.6.tar.gz", hash = "sha256:08695f5cb7ed6e0531a20572697297273c47b8cae5a63ffc6d6ed5c201be6e44"},
|
170 |
+
]
|
171 |
+
|
172 |
+
[[package]]
|
173 |
+
name = "ghp-import"
|
174 |
+
version = "2.1.0"
|
175 |
+
description = "Copy your docs directly to the gh-pages branch."
|
176 |
+
category = "main"
|
177 |
+
optional = false
|
178 |
+
python-versions = "*"
|
179 |
+
files = [
|
180 |
+
{file = "ghp-import-2.1.0.tar.gz", hash = "sha256:9c535c4c61193c2df8871222567d7fd7e5014d835f97dc7b7439069e2413d343"},
|
181 |
+
{file = "ghp_import-2.1.0-py3-none-any.whl", hash = "sha256:8337dd7b50877f163d4c0289bc1f1c7f127550241988d568c1db512c4324a619"},
|
182 |
+
]
|
183 |
+
|
184 |
+
[package.dependencies]
|
185 |
+
python-dateutil = ">=2.8.1"
|
186 |
+
|
187 |
+
[package.extras]
|
188 |
+
dev = ["flake8", "markdown", "twine", "wheel"]
|
189 |
+
|
190 |
+
[[package]]
|
191 |
+
name = "idna"
|
192 |
+
version = "3.10"
|
193 |
+
description = "Internationalized Domain Names in Applications (IDNA)"
|
194 |
+
category = "main"
|
195 |
+
optional = false
|
196 |
+
python-versions = ">=3.6"
|
197 |
+
files = [
|
198 |
+
{file = "idna-3.10-py3-none-any.whl", hash = "sha256:946d195a0d259cbba61165e88e65941f16e9b36ea6ddb97f00452bae8b1287d3"},
|
199 |
+
{file = "idna-3.10.tar.gz", hash = "sha256:12f65c9b470abda6dc35cf8e63cc574b1c52b11df2c86030af0ac09b01b13ea9"},
|
200 |
+
]
|
201 |
+
|
202 |
+
[package.extras]
|
203 |
+
all = ["flake8 (>=7.1.1)", "mypy (>=1.11.2)", "pytest (>=8.3.2)", "ruff (>=0.6.2)"]
|
204 |
+
|
205 |
+
[[package]]
|
206 |
+
name = "jinja2"
|
207 |
+
version = "3.1.4"
|
208 |
+
description = "A very fast and expressive template engine."
|
209 |
+
category = "main"
|
210 |
+
optional = false
|
211 |
+
python-versions = ">=3.7"
|
212 |
+
files = [
|
213 |
+
{file = "jinja2-3.1.4-py3-none-any.whl", hash = "sha256:bc5dd2abb727a5319567b7a813e6a2e7318c39f4f487cfe6c89c6f9c7d25197d"},
|
214 |
+
{file = "jinja2-3.1.4.tar.gz", hash = "sha256:4a3aee7acbbe7303aede8e9648d13b8bf88a429282aa6122a993f0ac800cb369"},
|
215 |
+
]
|
216 |
+
|
217 |
+
[package.dependencies]
|
218 |
+
MarkupSafe = ">=2.0"
|
219 |
+
|
220 |
+
[package.extras]
|
221 |
+
i18n = ["Babel (>=2.7)"]
|
222 |
+
|
223 |
+
[[package]]
|
224 |
+
name = "markdown"
|
225 |
+
version = "3.7"
|
226 |
+
description = "Python implementation of John Gruber's Markdown."
|
227 |
+
category = "main"
|
228 |
+
optional = false
|
229 |
+
python-versions = ">=3.8"
|
230 |
+
files = [
|
231 |
+
{file = "Markdown-3.7-py3-none-any.whl", hash = "sha256:7eb6df5690b81a1d7942992c97fad2938e956e79df20cbc6186e9c3a77b1c803"},
|
232 |
+
{file = "markdown-3.7.tar.gz", hash = "sha256:2ae2471477cfd02dbbf038d5d9bc226d40def84b4fe2986e49b59b6b472bbed2"},
|
233 |
+
]
|
234 |
+
|
235 |
+
[package.extras]
|
236 |
+
docs = ["mdx-gh-links (>=0.2)", "mkdocs (>=1.5)", "mkdocs-gen-files", "mkdocs-literate-nav", "mkdocs-nature (>=0.6)", "mkdocs-section-index", "mkdocstrings[python]"]
|
237 |
+
testing = ["coverage", "pyyaml"]
|
238 |
+
|
239 |
+
[[package]]
|
240 |
+
name = "markupsafe"
|
241 |
+
version = "3.0.2"
|
242 |
+
description = "Safely add untrusted strings to HTML/XML markup."
|
243 |
+
category = "main"
|
244 |
+
optional = false
|
245 |
+
python-versions = ">=3.9"
|
246 |
+
files = [
|
247 |
+
{file = "MarkupSafe-3.0.2-cp310-cp310-macosx_10_9_universal2.whl", hash = "sha256:7e94c425039cde14257288fd61dcfb01963e658efbc0ff54f5306b06054700f8"},
|
248 |
+
{file = "MarkupSafe-3.0.2-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:9e2d922824181480953426608b81967de705c3cef4d1af983af849d7bd619158"},
|
249 |
+
{file = "MarkupSafe-3.0.2-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:38a9ef736c01fccdd6600705b09dc574584b89bea478200c5fbf112a6b0d5579"},
|
250 |
+
{file = "MarkupSafe-3.0.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:bbcb445fa71794da8f178f0f6d66789a28d7319071af7a496d4d507ed566270d"},
|
251 |
+
{file = "MarkupSafe-3.0.2-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:57cb5a3cf367aeb1d316576250f65edec5bb3be939e9247ae594b4bcbc317dfb"},
|
252 |
+
{file = "MarkupSafe-3.0.2-cp310-cp310-musllinux_1_2_aarch64.whl", hash = "sha256:3809ede931876f5b2ec92eef964286840ed3540dadf803dd570c3b7e13141a3b"},
|
253 |
+
{file = "MarkupSafe-3.0.2-cp310-cp310-musllinux_1_2_i686.whl", hash = "sha256:e07c3764494e3776c602c1e78e298937c3315ccc9043ead7e685b7f2b8d47b3c"},
|
254 |
+
{file = "MarkupSafe-3.0.2-cp310-cp310-musllinux_1_2_x86_64.whl", hash = "sha256:b424c77b206d63d500bcb69fa55ed8d0e6a3774056bdc4839fc9298a7edca171"},
|
255 |
+
{file = "MarkupSafe-3.0.2-cp310-cp310-win32.whl", hash = "sha256:fcabf5ff6eea076f859677f5f0b6b5c1a51e70a376b0579e0eadef8db48c6b50"},
|
256 |
+
{file = "MarkupSafe-3.0.2-cp310-cp310-win_amd64.whl", hash = "sha256:6af100e168aa82a50e186c82875a5893c5597a0c1ccdb0d8b40240b1f28b969a"},
|
257 |
+
{file = "MarkupSafe-3.0.2-cp311-cp311-macosx_10_9_universal2.whl", hash = "sha256:9025b4018f3a1314059769c7bf15441064b2207cb3f065e6ea1e7359cb46db9d"},
|
258 |
+
{file = "MarkupSafe-3.0.2-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:93335ca3812df2f366e80509ae119189886b0f3c2b81325d39efdb84a1e2ae93"},
|
259 |
+
{file = "MarkupSafe-3.0.2-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:2cb8438c3cbb25e220c2ab33bb226559e7afb3baec11c4f218ffa7308603c832"},
|
260 |
+
{file = "MarkupSafe-3.0.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:a123e330ef0853c6e822384873bef7507557d8e4a082961e1defa947aa59ba84"},
|
261 |
+
{file = "MarkupSafe-3.0.2-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:1e084f686b92e5b83186b07e8a17fc09e38fff551f3602b249881fec658d3eca"},
|
262 |
+
{file = "MarkupSafe-3.0.2-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:d8213e09c917a951de9d09ecee036d5c7d36cb6cb7dbaece4c71a60d79fb9798"},
|
263 |
+
{file = "MarkupSafe-3.0.2-cp311-cp311-musllinux_1_2_i686.whl", hash = "sha256:5b02fb34468b6aaa40dfc198d813a641e3a63b98c2b05a16b9f80b7ec314185e"},
|
264 |
+
{file = "MarkupSafe-3.0.2-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:0bff5e0ae4ef2e1ae4fdf2dfd5b76c75e5c2fa4132d05fc1b0dabcd20c7e28c4"},
|
265 |
+
{file = "MarkupSafe-3.0.2-cp311-cp311-win32.whl", hash = "sha256:6c89876f41da747c8d3677a2b540fb32ef5715f97b66eeb0c6b66f5e3ef6f59d"},
|
266 |
+
{file = "MarkupSafe-3.0.2-cp311-cp311-win_amd64.whl", hash = "sha256:70a87b411535ccad5ef2f1df5136506a10775d267e197e4cf531ced10537bd6b"},
|
267 |
+
{file = "MarkupSafe-3.0.2-cp312-cp312-macosx_10_13_universal2.whl", hash = "sha256:9778bd8ab0a994ebf6f84c2b949e65736d5575320a17ae8984a77fab08db94cf"},
|
268 |
+
{file = "MarkupSafe-3.0.2-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:846ade7b71e3536c4e56b386c2a47adf5741d2d8b94ec9dc3e92e5e1ee1e2225"},
|
269 |
+
{file = "MarkupSafe-3.0.2-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:1c99d261bd2d5f6b59325c92c73df481e05e57f19837bdca8413b9eac4bd8028"},
|
270 |
+
{file = "MarkupSafe-3.0.2-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:e17c96c14e19278594aa4841ec148115f9c7615a47382ecb6b82bd8fea3ab0c8"},
|
271 |
+
{file = "MarkupSafe-3.0.2-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:88416bd1e65dcea10bc7569faacb2c20ce071dd1f87539ca2ab364bf6231393c"},
|
272 |
+
{file = "MarkupSafe-3.0.2-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:2181e67807fc2fa785d0592dc2d6206c019b9502410671cc905d132a92866557"},
|
273 |
+
{file = "MarkupSafe-3.0.2-cp312-cp312-musllinux_1_2_i686.whl", hash = "sha256:52305740fe773d09cffb16f8ed0427942901f00adedac82ec8b67752f58a1b22"},
|
274 |
+
{file = "MarkupSafe-3.0.2-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:ad10d3ded218f1039f11a75f8091880239651b52e9bb592ca27de44eed242a48"},
|
275 |
+
{file = "MarkupSafe-3.0.2-cp312-cp312-win32.whl", hash = "sha256:0f4ca02bea9a23221c0182836703cbf8930c5e9454bacce27e767509fa286a30"},
|
276 |
+
{file = "MarkupSafe-3.0.2-cp312-cp312-win_amd64.whl", hash = "sha256:8e06879fc22a25ca47312fbe7c8264eb0b662f6db27cb2d3bbbc74b1df4b9b87"},
|
277 |
+
{file = "MarkupSafe-3.0.2-cp313-cp313-macosx_10_13_universal2.whl", hash = "sha256:ba9527cdd4c926ed0760bc301f6728ef34d841f405abf9d4f959c478421e4efd"},
|
278 |
+
{file = "MarkupSafe-3.0.2-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:f8b3d067f2e40fe93e1ccdd6b2e1d16c43140e76f02fb1319a05cf2b79d99430"},
|
279 |
+
{file = "MarkupSafe-3.0.2-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:569511d3b58c8791ab4c2e1285575265991e6d8f8700c7be0e88f86cb0672094"},
|
280 |
+
{file = "MarkupSafe-3.0.2-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:15ab75ef81add55874e7ab7055e9c397312385bd9ced94920f2802310c930396"},
|
281 |
+
{file = "MarkupSafe-3.0.2-cp313-cp313-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:f3818cb119498c0678015754eba762e0d61e5b52d34c8b13d770f0719f7b1d79"},
|
282 |
+
{file = "MarkupSafe-3.0.2-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:cdb82a876c47801bb54a690c5ae105a46b392ac6099881cdfb9f6e95e4014c6a"},
|
283 |
+
{file = "MarkupSafe-3.0.2-cp313-cp313-musllinux_1_2_i686.whl", hash = "sha256:cabc348d87e913db6ab4aa100f01b08f481097838bdddf7c7a84b7575b7309ca"},
|
284 |
+
{file = "MarkupSafe-3.0.2-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:444dcda765c8a838eaae23112db52f1efaf750daddb2d9ca300bcae1039adc5c"},
|
285 |
+
{file = "MarkupSafe-3.0.2-cp313-cp313-win32.whl", hash = "sha256:bcf3e58998965654fdaff38e58584d8937aa3096ab5354d493c77d1fdd66d7a1"},
|
286 |
+
{file = "MarkupSafe-3.0.2-cp313-cp313-win_amd64.whl", hash = "sha256:e6a2a455bd412959b57a172ce6328d2dd1f01cb2135efda2e4576e8a23fa3b0f"},
|
287 |
+
{file = "MarkupSafe-3.0.2-cp313-cp313t-macosx_10_13_universal2.whl", hash = "sha256:b5a6b3ada725cea8a5e634536b1b01c30bcdcd7f9c6fff4151548d5bf6b3a36c"},
|
288 |
+
{file = "MarkupSafe-3.0.2-cp313-cp313t-macosx_11_0_arm64.whl", hash = "sha256:a904af0a6162c73e3edcb969eeeb53a63ceeb5d8cf642fade7d39e7963a22ddb"},
|
289 |
+
{file = "MarkupSafe-3.0.2-cp313-cp313t-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:4aa4e5faecf353ed117801a068ebab7b7e09ffb6e1d5e412dc852e0da018126c"},
|
290 |
+
{file = "MarkupSafe-3.0.2-cp313-cp313t-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:c0ef13eaeee5b615fb07c9a7dadb38eac06a0608b41570d8ade51c56539e509d"},
|
291 |
+
{file = "MarkupSafe-3.0.2-cp313-cp313t-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:d16a81a06776313e817c951135cf7340a3e91e8c1ff2fac444cfd75fffa04afe"},
|
292 |
+
{file = "MarkupSafe-3.0.2-cp313-cp313t-musllinux_1_2_aarch64.whl", hash = "sha256:6381026f158fdb7c72a168278597a5e3a5222e83ea18f543112b2662a9b699c5"},
|
293 |
+
{file = "MarkupSafe-3.0.2-cp313-cp313t-musllinux_1_2_i686.whl", hash = "sha256:3d79d162e7be8f996986c064d1c7c817f6df3a77fe3d6859f6f9e7be4b8c213a"},
|
294 |
+
{file = "MarkupSafe-3.0.2-cp313-cp313t-musllinux_1_2_x86_64.whl", hash = "sha256:131a3c7689c85f5ad20f9f6fb1b866f402c445b220c19fe4308c0b147ccd2ad9"},
|
295 |
+
{file = "MarkupSafe-3.0.2-cp313-cp313t-win32.whl", hash = "sha256:ba8062ed2cf21c07a9e295d5b8a2a5ce678b913b45fdf68c32d95d6c1291e0b6"},
|
296 |
+
{file = "MarkupSafe-3.0.2-cp313-cp313t-win_amd64.whl", hash = "sha256:e444a31f8db13eb18ada366ab3cf45fd4b31e4db1236a4448f68778c1d1a5a2f"},
|
297 |
+
{file = "MarkupSafe-3.0.2-cp39-cp39-macosx_10_9_universal2.whl", hash = "sha256:eaa0a10b7f72326f1372a713e73c3f739b524b3af41feb43e4921cb529f5929a"},
|
298 |
+
{file = "MarkupSafe-3.0.2-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:48032821bbdf20f5799ff537c7ac3d1fba0ba032cfc06194faffa8cda8b560ff"},
|
299 |
+
{file = "MarkupSafe-3.0.2-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:1a9d3f5f0901fdec14d8d2f66ef7d035f2157240a433441719ac9a3fba440b13"},
|
300 |
+
{file = "MarkupSafe-3.0.2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:88b49a3b9ff31e19998750c38e030fc7bb937398b1f78cfa599aaef92d693144"},
|
301 |
+
{file = "MarkupSafe-3.0.2-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:cfad01eed2c2e0c01fd0ecd2ef42c492f7f93902e39a42fc9ee1692961443a29"},
|
302 |
+
{file = "MarkupSafe-3.0.2-cp39-cp39-musllinux_1_2_aarch64.whl", hash = "sha256:1225beacc926f536dc82e45f8a4d68502949dc67eea90eab715dea3a21c1b5f0"},
|
303 |
+
{file = "MarkupSafe-3.0.2-cp39-cp39-musllinux_1_2_i686.whl", hash = "sha256:3169b1eefae027567d1ce6ee7cae382c57fe26e82775f460f0b2778beaad66c0"},
|
304 |
+
{file = "MarkupSafe-3.0.2-cp39-cp39-musllinux_1_2_x86_64.whl", hash = "sha256:eb7972a85c54febfb25b5c4b4f3af4dcc731994c7da0d8a0b4a6eb0640e1d178"},
|
305 |
+
{file = "MarkupSafe-3.0.2-cp39-cp39-win32.whl", hash = "sha256:8c4e8c3ce11e1f92f6536ff07154f9d49677ebaaafc32db9db4620bc11ed480f"},
|
306 |
+
{file = "MarkupSafe-3.0.2-cp39-cp39-win_amd64.whl", hash = "sha256:6e296a513ca3d94054c2c881cc913116e90fd030ad1c656b3869762b754f5f8a"},
|
307 |
+
{file = "markupsafe-3.0.2.tar.gz", hash = "sha256:ee55d3edf80167e48ea11a923c7386f4669df67d7994554387f84e7d8b0a2bf0"},
|
308 |
+
]
|
309 |
+
|
310 |
+
[[package]]
|
311 |
+
name = "mergedeep"
|
312 |
+
version = "1.3.4"
|
313 |
+
description = "A deep merge function for 🐍."
|
314 |
+
category = "main"
|
315 |
+
optional = false
|
316 |
+
python-versions = ">=3.6"
|
317 |
+
files = [
|
318 |
+
{file = "mergedeep-1.3.4-py3-none-any.whl", hash = "sha256:70775750742b25c0d8f36c55aed03d24c3384d17c951b3175d898bd778ef0307"},
|
319 |
+
{file = "mergedeep-1.3.4.tar.gz", hash = "sha256:0096d52e9dad9939c3d975a774666af186eda617e6ca84df4c94dec30004f2a8"},
|
320 |
+
]
|
321 |
+
|
322 |
+
[[package]]
|
323 |
+
name = "mkdocs"
|
324 |
+
version = "1.6.1"
|
325 |
+
description = "Project documentation with Markdown."
|
326 |
+
category = "main"
|
327 |
+
optional = false
|
328 |
+
python-versions = ">=3.8"
|
329 |
+
files = [
|
330 |
+
{file = "mkdocs-1.6.1-py3-none-any.whl", hash = "sha256:db91759624d1647f3f34aa0c3f327dd2601beae39a366d6e064c03468d35c20e"},
|
331 |
+
{file = "mkdocs-1.6.1.tar.gz", hash = "sha256:7b432f01d928c084353ab39c57282f29f92136665bdd6abf7c1ec8d822ef86f2"},
|
332 |
+
]
|
333 |
+
|
334 |
+
[package.dependencies]
|
335 |
+
click = ">=7.0"
|
336 |
+
colorama = {version = ">=0.4", markers = "platform_system == \"Windows\""}
|
337 |
+
ghp-import = ">=1.0"
|
338 |
+
jinja2 = ">=2.11.1"
|
339 |
+
markdown = ">=3.3.6"
|
340 |
+
markupsafe = ">=2.0.1"
|
341 |
+
mergedeep = ">=1.3.4"
|
342 |
+
mkdocs-get-deps = ">=0.2.0"
|
343 |
+
packaging = ">=20.5"
|
344 |
+
pathspec = ">=0.11.1"
|
345 |
+
pyyaml = ">=5.1"
|
346 |
+
pyyaml-env-tag = ">=0.1"
|
347 |
+
watchdog = ">=2.0"
|
348 |
+
|
349 |
+
[package.extras]
|
350 |
+
i18n = ["babel (>=2.9.0)"]
|
351 |
+
min-versions = ["babel (==2.9.0)", "click (==7.0)", "colorama (==0.4)", "ghp-import (==1.0)", "importlib-metadata (==4.4)", "jinja2 (==2.11.1)", "markdown (==3.3.6)", "markupsafe (==2.0.1)", "mergedeep (==1.3.4)", "mkdocs-get-deps (==0.2.0)", "packaging (==20.5)", "pathspec (==0.11.1)", "pyyaml (==5.1)", "pyyaml-env-tag (==0.1)", "watchdog (==2.0)"]
|
352 |
+
|
353 |
+
[[package]]
|
354 |
+
name = "mkdocs-get-deps"
|
355 |
+
version = "0.2.0"
|
356 |
+
description = "MkDocs extension that lists all dependencies according to a mkdocs.yml file"
|
357 |
+
category = "main"
|
358 |
+
optional = false
|
359 |
+
python-versions = ">=3.8"
|
360 |
+
files = [
|
361 |
+
{file = "mkdocs_get_deps-0.2.0-py3-none-any.whl", hash = "sha256:2bf11d0b133e77a0dd036abeeb06dec8775e46efa526dc70667d8863eefc6134"},
|
362 |
+
{file = "mkdocs_get_deps-0.2.0.tar.gz", hash = "sha256:162b3d129c7fad9b19abfdcb9c1458a651628e4b1dea628ac68790fb3061c60c"},
|
363 |
+
]
|
364 |
+
|
365 |
+
[package.dependencies]
|
366 |
+
mergedeep = ">=1.3.4"
|
367 |
+
platformdirs = ">=2.2.0"
|
368 |
+
pyyaml = ">=5.1"
|
369 |
+
|
370 |
+
[[package]]
|
371 |
+
name = "mkdocs-material"
|
372 |
+
version = "9.5.45"
|
373 |
+
description = "Documentation that simply works"
|
374 |
+
category = "main"
|
375 |
+
optional = false
|
376 |
+
python-versions = ">=3.8"
|
377 |
+
files = [
|
378 |
+
{file = "mkdocs_material-9.5.45-py3-none-any.whl", hash = "sha256:a9be237cfd0be14be75f40f1726d83aa3a81ce44808dc3594d47a7a592f44547"},
|
379 |
+
{file = "mkdocs_material-9.5.45.tar.gz", hash = "sha256:286489cf0beca4a129d91d59d6417419c63bceed1ce5cd0ec1fc7e1ebffb8189"},
|
380 |
+
]
|
381 |
+
|
382 |
+
[package.dependencies]
|
383 |
+
babel = ">=2.10,<3.0"
|
384 |
+
colorama = ">=0.4,<1.0"
|
385 |
+
jinja2 = ">=3.0,<4.0"
|
386 |
+
markdown = ">=3.2,<4.0"
|
387 |
+
mkdocs = ">=1.6,<2.0"
|
388 |
+
mkdocs-material-extensions = ">=1.3,<2.0"
|
389 |
+
paginate = ">=0.5,<1.0"
|
390 |
+
pygments = ">=2.16,<3.0"
|
391 |
+
pymdown-extensions = ">=10.2,<11.0"
|
392 |
+
regex = ">=2022.4"
|
393 |
+
requests = ">=2.26,<3.0"
|
394 |
+
|
395 |
+
[package.extras]
|
396 |
+
git = ["mkdocs-git-committers-plugin-2 (>=1.1,<2.0)", "mkdocs-git-revision-date-localized-plugin (>=1.2.4,<2.0)"]
|
397 |
+
imaging = ["cairosvg (>=2.6,<3.0)", "pillow (>=10.2,<11.0)"]
|
398 |
+
recommended = ["mkdocs-minify-plugin (>=0.7,<1.0)", "mkdocs-redirects (>=1.2,<2.0)", "mkdocs-rss-plugin (>=1.6,<2.0)"]
|
399 |
+
|
400 |
+
[[package]]
|
401 |
+
name = "mkdocs-material-extensions"
|
402 |
+
version = "1.3.1"
|
403 |
+
description = "Extension pack for Python Markdown and MkDocs Material."
|
404 |
+
category = "main"
|
405 |
+
optional = false
|
406 |
+
python-versions = ">=3.8"
|
407 |
+
files = [
|
408 |
+
{file = "mkdocs_material_extensions-1.3.1-py3-none-any.whl", hash = "sha256:adff8b62700b25cb77b53358dad940f3ef973dd6db797907c49e3c2ef3ab4e31"},
|
409 |
+
{file = "mkdocs_material_extensions-1.3.1.tar.gz", hash = "sha256:10c9511cea88f568257f960358a467d12b970e1f7b2c0e5fb2bb48cab1928443"},
|
410 |
+
]
|
411 |
+
|
412 |
+
[[package]]
|
413 |
+
name = "packaging"
|
414 |
+
version = "24.2"
|
415 |
+
description = "Core utilities for Python packages"
|
416 |
+
category = "main"
|
417 |
+
optional = false
|
418 |
+
python-versions = ">=3.8"
|
419 |
+
files = [
|
420 |
+
{file = "packaging-24.2-py3-none-any.whl", hash = "sha256:09abb1bccd265c01f4a3aa3f7a7db064b36514d2cba19a2f694fe6150451a759"},
|
421 |
+
{file = "packaging-24.2.tar.gz", hash = "sha256:c228a6dc5e932d346bc5739379109d49e8853dd8223571c7c5b55260edc0b97f"},
|
422 |
+
]
|
423 |
+
|
424 |
+
[[package]]
|
425 |
+
name = "paginate"
|
426 |
+
version = "0.5.7"
|
427 |
+
description = "Divides large result sets into pages for easier browsing"
|
428 |
+
category = "main"
|
429 |
+
optional = false
|
430 |
+
python-versions = "*"
|
431 |
+
files = [
|
432 |
+
{file = "paginate-0.5.7-py2.py3-none-any.whl", hash = "sha256:b885e2af73abcf01d9559fd5216b57ef722f8c42affbb63942377668e35c7591"},
|
433 |
+
{file = "paginate-0.5.7.tar.gz", hash = "sha256:22bd083ab41e1a8b4f3690544afb2c60c25e5c9a63a30fa2f483f6c60c8e5945"},
|
434 |
+
]
|
435 |
+
|
436 |
+
[package.extras]
|
437 |
+
dev = ["pytest", "tox"]
|
438 |
+
lint = ["black"]
|
439 |
+
|
440 |
+
[[package]]
|
441 |
+
name = "pathspec"
|
442 |
+
version = "0.12.1"
|
443 |
+
description = "Utility library for gitignore style pattern matching of file paths."
|
444 |
+
category = "main"
|
445 |
+
optional = false
|
446 |
+
python-versions = ">=3.8"
|
447 |
+
files = [
|
448 |
+
{file = "pathspec-0.12.1-py3-none-any.whl", hash = "sha256:a0d503e138a4c123b27490a4f7beda6a01c6f288df0e4a8b79c7eb0dc7b4cc08"},
|
449 |
+
{file = "pathspec-0.12.1.tar.gz", hash = "sha256:a482d51503a1ab33b1c67a6c3813a26953dbdc71c31dacaef9a838c4e29f5712"},
|
450 |
+
]
|
451 |
+
|
452 |
+
[[package]]
|
453 |
+
name = "platformdirs"
|
454 |
+
version = "4.3.6"
|
455 |
+
description = "A small Python package for determining appropriate platform-specific dirs, e.g. a `user data dir`."
|
456 |
+
category = "main"
|
457 |
+
optional = false
|
458 |
+
python-versions = ">=3.8"
|
459 |
+
files = [
|
460 |
+
{file = "platformdirs-4.3.6-py3-none-any.whl", hash = "sha256:73e575e1408ab8103900836b97580d5307456908a03e92031bab39e4554cc3fb"},
|
461 |
+
{file = "platformdirs-4.3.6.tar.gz", hash = "sha256:357fb2acbc885b0419afd3ce3ed34564c13c9b95c89360cd9563f73aa5e2b907"},
|
462 |
+
]
|
463 |
+
|
464 |
+
[package.extras]
|
465 |
+
docs = ["furo (>=2024.8.6)", "proselint (>=0.14)", "sphinx (>=8.0.2)", "sphinx-autodoc-typehints (>=2.4)"]
|
466 |
+
test = ["appdirs (==1.4.4)", "covdefaults (>=2.3)", "pytest (>=8.3.2)", "pytest-cov (>=5)", "pytest-mock (>=3.14)"]
|
467 |
+
type = ["mypy (>=1.11.2)"]
|
468 |
+
|
469 |
+
[[package]]
|
470 |
+
name = "pygments"
|
471 |
+
version = "2.18.0"
|
472 |
+
description = "Pygments is a syntax highlighting package written in Python."
|
473 |
+
category = "main"
|
474 |
+
optional = false
|
475 |
+
python-versions = ">=3.8"
|
476 |
+
files = [
|
477 |
+
{file = "pygments-2.18.0-py3-none-any.whl", hash = "sha256:b8e6aca0523f3ab76fee51799c488e38782ac06eafcf95e7ba832985c8e7b13a"},
|
478 |
+
{file = "pygments-2.18.0.tar.gz", hash = "sha256:786ff802f32e91311bff3889f6e9a86e81505fe99f2735bb6d60ae0c5004f199"},
|
479 |
+
]
|
480 |
+
|
481 |
+
[package.extras]
|
482 |
+
windows-terminal = ["colorama (>=0.4.6)"]
|
483 |
+
|
484 |
+
[[package]]
|
485 |
+
name = "pymdown-extensions"
|
486 |
+
version = "10.12"
|
487 |
+
description = "Extension pack for Python Markdown."
|
488 |
+
category = "main"
|
489 |
+
optional = false
|
490 |
+
python-versions = ">=3.8"
|
491 |
+
files = [
|
492 |
+
{file = "pymdown_extensions-10.12-py3-none-any.whl", hash = "sha256:49f81412242d3527b8b4967b990df395c89563043bc51a3d2d7d500e52123b77"},
|
493 |
+
{file = "pymdown_extensions-10.12.tar.gz", hash = "sha256:b0ee1e0b2bef1071a47891ab17003bfe5bf824a398e13f49f8ed653b699369a7"},
|
494 |
+
]
|
495 |
+
|
496 |
+
[package.dependencies]
|
497 |
+
markdown = ">=3.6"
|
498 |
+
pyyaml = "*"
|
499 |
+
|
500 |
+
[package.extras]
|
501 |
+
extra = ["pygments (>=2.12)"]
|
502 |
+
|
503 |
+
[[package]]
|
504 |
+
name = "python-dateutil"
|
505 |
+
version = "2.9.0.post0"
|
506 |
+
description = "Extensions to the standard Python datetime module"
|
507 |
+
category = "main"
|
508 |
+
optional = false
|
509 |
+
python-versions = "!=3.0.*,!=3.1.*,!=3.2.*,>=2.7"
|
510 |
+
files = [
|
511 |
+
{file = "python-dateutil-2.9.0.post0.tar.gz", hash = "sha256:37dd54208da7e1cd875388217d5e00ebd4179249f90fb72437e91a35459a0ad3"},
|
512 |
+
{file = "python_dateutil-2.9.0.post0-py2.py3-none-any.whl", hash = "sha256:a8b2bc7bffae282281c8140a97d3aa9c14da0b136dfe83f850eea9a5f7470427"},
|
513 |
+
]
|
514 |
+
|
515 |
+
[package.dependencies]
|
516 |
+
six = ">=1.5"
|
517 |
+
|
518 |
+
[[package]]
|
519 |
+
name = "pyyaml"
|
520 |
+
version = "6.0.2"
|
521 |
+
description = "YAML parser and emitter for Python"
|
522 |
+
category = "main"
|
523 |
+
optional = false
|
524 |
+
python-versions = ">=3.8"
|
525 |
+
files = [
|
526 |
+
{file = "PyYAML-6.0.2-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:0a9a2848a5b7feac301353437eb7d5957887edbf81d56e903999a75a3d743086"},
|
527 |
+
{file = "PyYAML-6.0.2-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:29717114e51c84ddfba879543fb232a6ed60086602313ca38cce623c1d62cfbf"},
|
528 |
+
{file = "PyYAML-6.0.2-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:8824b5a04a04a047e72eea5cec3bc266db09e35de6bdfe34c9436ac5ee27d237"},
|
529 |
+
{file = "PyYAML-6.0.2-cp310-cp310-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:7c36280e6fb8385e520936c3cb3b8042851904eba0e58d277dca80a5cfed590b"},
|
530 |
+
{file = "PyYAML-6.0.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:ec031d5d2feb36d1d1a24380e4db6d43695f3748343d99434e6f5f9156aaa2ed"},
|
531 |
+
{file = "PyYAML-6.0.2-cp310-cp310-musllinux_1_1_aarch64.whl", hash = "sha256:936d68689298c36b53b29f23c6dbb74de12b4ac12ca6cfe0e047bedceea56180"},
|
532 |
+
{file = "PyYAML-6.0.2-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:23502f431948090f597378482b4812b0caae32c22213aecf3b55325e049a6c68"},
|
533 |
+
{file = "PyYAML-6.0.2-cp310-cp310-win32.whl", hash = "sha256:2e99c6826ffa974fe6e27cdb5ed0021786b03fc98e5ee3c5bfe1fd5015f42b99"},
|
534 |
+
{file = "PyYAML-6.0.2-cp310-cp310-win_amd64.whl", hash = "sha256:a4d3091415f010369ae4ed1fc6b79def9416358877534caf6a0fdd2146c87a3e"},
|
535 |
+
{file = "PyYAML-6.0.2-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:cc1c1159b3d456576af7a3e4d1ba7e6924cb39de8f67111c735f6fc832082774"},
|
536 |
+
{file = "PyYAML-6.0.2-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:1e2120ef853f59c7419231f3bf4e7021f1b936f6ebd222406c3b60212205d2ee"},
|
537 |
+
{file = "PyYAML-6.0.2-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:5d225db5a45f21e78dd9358e58a98702a0302f2659a3c6cd320564b75b86f47c"},
|
538 |
+
{file = "PyYAML-6.0.2-cp311-cp311-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:5ac9328ec4831237bec75defaf839f7d4564be1e6b25ac710bd1a96321cc8317"},
|
539 |
+
{file = "PyYAML-6.0.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:3ad2a3decf9aaba3d29c8f537ac4b243e36bef957511b4766cb0057d32b0be85"},
|
540 |
+
{file = "PyYAML-6.0.2-cp311-cp311-musllinux_1_1_aarch64.whl", hash = "sha256:ff3824dc5261f50c9b0dfb3be22b4567a6f938ccce4587b38952d85fd9e9afe4"},
|
541 |
+
{file = "PyYAML-6.0.2-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:797b4f722ffa07cc8d62053e4cff1486fa6dc094105d13fea7b1de7d8bf71c9e"},
|
542 |
+
{file = "PyYAML-6.0.2-cp311-cp311-win32.whl", hash = "sha256:11d8f3dd2b9c1207dcaf2ee0bbbfd5991f571186ec9cc78427ba5bd32afae4b5"},
|
543 |
+
{file = "PyYAML-6.0.2-cp311-cp311-win_amd64.whl", hash = "sha256:e10ce637b18caea04431ce14fabcf5c64a1c61ec9c56b071a4b7ca131ca52d44"},
|
544 |
+
{file = "PyYAML-6.0.2-cp312-cp312-macosx_10_9_x86_64.whl", hash = "sha256:c70c95198c015b85feafc136515252a261a84561b7b1d51e3384e0655ddf25ab"},
|
545 |
+
{file = "PyYAML-6.0.2-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:ce826d6ef20b1bc864f0a68340c8b3287705cae2f8b4b1d932177dcc76721725"},
|
546 |
+
{file = "PyYAML-6.0.2-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:1f71ea527786de97d1a0cc0eacd1defc0985dcf6b3f17bb77dcfc8c34bec4dc5"},
|
547 |
+
{file = "PyYAML-6.0.2-cp312-cp312-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:9b22676e8097e9e22e36d6b7bda33190d0d400f345f23d4065d48f4ca7ae0425"},
|
548 |
+
{file = "PyYAML-6.0.2-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:80bab7bfc629882493af4aa31a4cfa43a4c57c83813253626916b8c7ada83476"},
|
549 |
+
{file = "PyYAML-6.0.2-cp312-cp312-musllinux_1_1_aarch64.whl", hash = "sha256:0833f8694549e586547b576dcfaba4a6b55b9e96098b36cdc7ebefe667dfed48"},
|
550 |
+
{file = "PyYAML-6.0.2-cp312-cp312-musllinux_1_1_x86_64.whl", hash = "sha256:8b9c7197f7cb2738065c481a0461e50ad02f18c78cd75775628afb4d7137fb3b"},
|
551 |
+
{file = "PyYAML-6.0.2-cp312-cp312-win32.whl", hash = "sha256:ef6107725bd54b262d6dedcc2af448a266975032bc85ef0172c5f059da6325b4"},
|
552 |
+
{file = "PyYAML-6.0.2-cp312-cp312-win_amd64.whl", hash = "sha256:7e7401d0de89a9a855c839bc697c079a4af81cf878373abd7dc625847d25cbd8"},
|
553 |
+
{file = "PyYAML-6.0.2-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:efdca5630322a10774e8e98e1af481aad470dd62c3170801852d752aa7a783ba"},
|
554 |
+
{file = "PyYAML-6.0.2-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:50187695423ffe49e2deacb8cd10510bc361faac997de9efef88badc3bb9e2d1"},
|
555 |
+
{file = "PyYAML-6.0.2-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:0ffe8360bab4910ef1b9e87fb812d8bc0a308b0d0eef8c8f44e0254ab3b07133"},
|
556 |
+
{file = "PyYAML-6.0.2-cp313-cp313-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:17e311b6c678207928d649faa7cb0d7b4c26a0ba73d41e99c4fff6b6c3276484"},
|
557 |
+
{file = "PyYAML-6.0.2-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:70b189594dbe54f75ab3a1acec5f1e3faa7e8cf2f1e08d9b561cb41b845f69d5"},
|
558 |
+
{file = "PyYAML-6.0.2-cp313-cp313-musllinux_1_1_aarch64.whl", hash = "sha256:41e4e3953a79407c794916fa277a82531dd93aad34e29c2a514c2c0c5fe971cc"},
|
559 |
+
{file = "PyYAML-6.0.2-cp313-cp313-musllinux_1_1_x86_64.whl", hash = "sha256:68ccc6023a3400877818152ad9a1033e3db8625d899c72eacb5a668902e4d652"},
|
560 |
+
{file = "PyYAML-6.0.2-cp313-cp313-win32.whl", hash = "sha256:bc2fa7c6b47d6bc618dd7fb02ef6fdedb1090ec036abab80d4681424b84c1183"},
|
561 |
+
{file = "PyYAML-6.0.2-cp313-cp313-win_amd64.whl", hash = "sha256:8388ee1976c416731879ac16da0aff3f63b286ffdd57cdeb95f3f2e085687563"},
|
562 |
+
{file = "PyYAML-6.0.2-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:24471b829b3bf607e04e88d79542a9d48bb037c2267d7927a874e6c205ca7e9a"},
|
563 |
+
{file = "PyYAML-6.0.2-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:d7fded462629cfa4b685c5416b949ebad6cec74af5e2d42905d41e257e0869f5"},
|
564 |
+
{file = "PyYAML-6.0.2-cp38-cp38-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:d84a1718ee396f54f3a086ea0a66d8e552b2ab2017ef8b420e92edbc841c352d"},
|
565 |
+
{file = "PyYAML-6.0.2-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:9056c1ecd25795207ad294bcf39f2db3d845767be0ea6e6a34d856f006006083"},
|
566 |
+
{file = "PyYAML-6.0.2-cp38-cp38-musllinux_1_1_x86_64.whl", hash = "sha256:82d09873e40955485746739bcb8b4586983670466c23382c19cffecbf1fd8706"},
|
567 |
+
{file = "PyYAML-6.0.2-cp38-cp38-win32.whl", hash = "sha256:43fa96a3ca0d6b1812e01ced1044a003533c47f6ee8aca31724f78e93ccc089a"},
|
568 |
+
{file = "PyYAML-6.0.2-cp38-cp38-win_amd64.whl", hash = "sha256:01179a4a8559ab5de078078f37e5c1a30d76bb88519906844fd7bdea1b7729ff"},
|
569 |
+
{file = "PyYAML-6.0.2-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:688ba32a1cffef67fd2e9398a2efebaea461578b0923624778664cc1c914db5d"},
|
570 |
+
{file = "PyYAML-6.0.2-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:a8786accb172bd8afb8be14490a16625cbc387036876ab6ba70912730faf8e1f"},
|
571 |
+
{file = "PyYAML-6.0.2-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:d8e03406cac8513435335dbab54c0d385e4a49e4945d2909a581c83647ca0290"},
|
572 |
+
{file = "PyYAML-6.0.2-cp39-cp39-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:f753120cb8181e736c57ef7636e83f31b9c0d1722c516f7e86cf15b7aa57ff12"},
|
573 |
+
{file = "PyYAML-6.0.2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:3b1fdb9dc17f5a7677423d508ab4f243a726dea51fa5e70992e59a7411c89d19"},
|
574 |
+
{file = "PyYAML-6.0.2-cp39-cp39-musllinux_1_1_aarch64.whl", hash = "sha256:0b69e4ce7a131fe56b7e4d770c67429700908fc0752af059838b1cfb41960e4e"},
|
575 |
+
{file = "PyYAML-6.0.2-cp39-cp39-musllinux_1_1_x86_64.whl", hash = "sha256:a9f8c2e67970f13b16084e04f134610fd1d374bf477b17ec1599185cf611d725"},
|
576 |
+
{file = "PyYAML-6.0.2-cp39-cp39-win32.whl", hash = "sha256:6395c297d42274772abc367baaa79683958044e5d3835486c16da75d2a694631"},
|
577 |
+
{file = "PyYAML-6.0.2-cp39-cp39-win_amd64.whl", hash = "sha256:39693e1f8320ae4f43943590b49779ffb98acb81f788220ea932a6b6c51004d8"},
|
578 |
+
{file = "pyyaml-6.0.2.tar.gz", hash = "sha256:d584d9ec91ad65861cc08d42e834324ef890a082e591037abe114850ff7bbc3e"},
|
579 |
+
]
|
580 |
+
|
581 |
+
[[package]]
|
582 |
+
name = "pyyaml-env-tag"
|
583 |
+
version = "0.1"
|
584 |
+
description = "A custom YAML tag for referencing environment variables in YAML files. "
|
585 |
+
category = "main"
|
586 |
+
optional = false
|
587 |
+
python-versions = ">=3.6"
|
588 |
+
files = [
|
589 |
+
{file = "pyyaml_env_tag-0.1-py3-none-any.whl", hash = "sha256:af31106dec8a4d68c60207c1886031cbf839b68aa7abccdb19868200532c2069"},
|
590 |
+
{file = "pyyaml_env_tag-0.1.tar.gz", hash = "sha256:70092675bda14fdec33b31ba77e7543de9ddc88f2e5b99160396572d11525bdb"},
|
591 |
+
]
|
592 |
+
|
593 |
+
[package.dependencies]
|
594 |
+
pyyaml = "*"
|
595 |
+
|
596 |
+
[[package]]
|
597 |
+
name = "regex"
|
598 |
+
version = "2024.11.6"
|
599 |
+
description = "Alternative regular expression module, to replace re."
|
600 |
+
category = "main"
|
601 |
+
optional = false
|
602 |
+
python-versions = ">=3.8"
|
603 |
+
files = [
|
604 |
+
{file = "regex-2024.11.6-cp310-cp310-macosx_10_9_universal2.whl", hash = "sha256:ff590880083d60acc0433f9c3f713c51f7ac6ebb9adf889c79a261ecf541aa91"},
|
605 |
+
{file = "regex-2024.11.6-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:658f90550f38270639e83ce492f27d2c8d2cd63805c65a13a14d36ca126753f0"},
|
606 |
+
{file = "regex-2024.11.6-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:164d8b7b3b4bcb2068b97428060b2a53be050085ef94eca7f240e7947f1b080e"},
|
607 |
+
{file = "regex-2024.11.6-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:d3660c82f209655a06b587d55e723f0b813d3a7db2e32e5e7dc64ac2a9e86fde"},
|
608 |
+
{file = "regex-2024.11.6-cp310-cp310-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:d22326fcdef5e08c154280b71163ced384b428343ae16a5ab2b3354aed12436e"},
|
609 |
+
{file = "regex-2024.11.6-cp310-cp310-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:f1ac758ef6aebfc8943560194e9fd0fa18bcb34d89fd8bd2af18183afd8da3a2"},
|
610 |
+
{file = "regex-2024.11.6-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:997d6a487ff00807ba810e0f8332c18b4eb8d29463cfb7c820dc4b6e7562d0cf"},
|
611 |
+
{file = "regex-2024.11.6-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:02a02d2bb04fec86ad61f3ea7f49c015a0681bf76abb9857f945d26159d2968c"},
|
612 |
+
{file = "regex-2024.11.6-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl", hash = "sha256:f02f93b92358ee3f78660e43b4b0091229260c5d5c408d17d60bf26b6c900e86"},
|
613 |
+
{file = "regex-2024.11.6-cp310-cp310-musllinux_1_2_aarch64.whl", hash = "sha256:06eb1be98df10e81ebaded73fcd51989dcf534e3c753466e4b60c4697a003b67"},
|
614 |
+
{file = "regex-2024.11.6-cp310-cp310-musllinux_1_2_i686.whl", hash = "sha256:040df6fe1a5504eb0f04f048e6d09cd7c7110fef851d7c567a6b6e09942feb7d"},
|
615 |
+
{file = "regex-2024.11.6-cp310-cp310-musllinux_1_2_ppc64le.whl", hash = "sha256:fdabbfc59f2c6edba2a6622c647b716e34e8e3867e0ab975412c5c2f79b82da2"},
|
616 |
+
{file = "regex-2024.11.6-cp310-cp310-musllinux_1_2_s390x.whl", hash = "sha256:8447d2d39b5abe381419319f942de20b7ecd60ce86f16a23b0698f22e1b70008"},
|
617 |
+
{file = "regex-2024.11.6-cp310-cp310-musllinux_1_2_x86_64.whl", hash = "sha256:da8f5fc57d1933de22a9e23eec290a0d8a5927a5370d24bda9a6abe50683fe62"},
|
618 |
+
{file = "regex-2024.11.6-cp310-cp310-win32.whl", hash = "sha256:b489578720afb782f6ccf2840920f3a32e31ba28a4b162e13900c3e6bd3f930e"},
|
619 |
+
{file = "regex-2024.11.6-cp310-cp310-win_amd64.whl", hash = "sha256:5071b2093e793357c9d8b2929dfc13ac5f0a6c650559503bb81189d0a3814519"},
|
620 |
+
{file = "regex-2024.11.6-cp311-cp311-macosx_10_9_universal2.whl", hash = "sha256:5478c6962ad548b54a591778e93cd7c456a7a29f8eca9c49e4f9a806dcc5d638"},
|
621 |
+
{file = "regex-2024.11.6-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:2c89a8cc122b25ce6945f0423dc1352cb9593c68abd19223eebbd4e56612c5b7"},
|
622 |
+
{file = "regex-2024.11.6-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:94d87b689cdd831934fa3ce16cc15cd65748e6d689f5d2b8f4f4df2065c9fa20"},
|
623 |
+
{file = "regex-2024.11.6-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:1062b39a0a2b75a9c694f7a08e7183a80c63c0d62b301418ffd9c35f55aaa114"},
|
624 |
+
{file = "regex-2024.11.6-cp311-cp311-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:167ed4852351d8a750da48712c3930b031f6efdaa0f22fa1933716bfcd6bf4a3"},
|
625 |
+
{file = "regex-2024.11.6-cp311-cp311-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:2d548dafee61f06ebdb584080621f3e0c23fff312f0de1afc776e2a2ba99a74f"},
|
626 |
+
{file = "regex-2024.11.6-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:f2a19f302cd1ce5dd01a9099aaa19cae6173306d1302a43b627f62e21cf18ac0"},
|
627 |
+
{file = "regex-2024.11.6-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:bec9931dfb61ddd8ef2ebc05646293812cb6b16b60cf7c9511a832b6f1854b55"},
|
628 |
+
{file = "regex-2024.11.6-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:9714398225f299aa85267fd222f7142fcb5c769e73d7733344efc46f2ef5cf89"},
|
629 |
+
{file = "regex-2024.11.6-cp311-cp311-musllinux_1_2_i686.whl", hash = "sha256:202eb32e89f60fc147a41e55cb086db2a3f8cb82f9a9a88440dcfc5d37faae8d"},
|
630 |
+
{file = "regex-2024.11.6-cp311-cp311-musllinux_1_2_ppc64le.whl", hash = "sha256:4181b814e56078e9b00427ca358ec44333765f5ca1b45597ec7446d3a1ef6e34"},
|
631 |
+
{file = "regex-2024.11.6-cp311-cp311-musllinux_1_2_s390x.whl", hash = "sha256:068376da5a7e4da51968ce4c122a7cd31afaaec4fccc7856c92f63876e57b51d"},
|
632 |
+
{file = "regex-2024.11.6-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:ac10f2c4184420d881a3475fb2c6f4d95d53a8d50209a2500723d831036f7c45"},
|
633 |
+
{file = "regex-2024.11.6-cp311-cp311-win32.whl", hash = "sha256:c36f9b6f5f8649bb251a5f3f66564438977b7ef8386a52460ae77e6070d309d9"},
|
634 |
+
{file = "regex-2024.11.6-cp311-cp311-win_amd64.whl", hash = "sha256:02e28184be537f0e75c1f9b2f8847dc51e08e6e171c6bde130b2687e0c33cf60"},
|
635 |
+
{file = "regex-2024.11.6-cp312-cp312-macosx_10_13_universal2.whl", hash = "sha256:52fb28f528778f184f870b7cf8f225f5eef0a8f6e3778529bdd40c7b3920796a"},
|
636 |
+
{file = "regex-2024.11.6-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:fdd6028445d2460f33136c55eeb1f601ab06d74cb3347132e1c24250187500d9"},
|
637 |
+
{file = "regex-2024.11.6-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:805e6b60c54bf766b251e94526ebad60b7de0c70f70a4e6210ee2891acb70bf2"},
|
638 |
+
{file = "regex-2024.11.6-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:b85c2530be953a890eaffde05485238f07029600e8f098cdf1848d414a8b45e4"},
|
639 |
+
{file = "regex-2024.11.6-cp312-cp312-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:bb26437975da7dc36b7efad18aa9dd4ea569d2357ae6b783bf1118dabd9ea577"},
|
640 |
+
{file = "regex-2024.11.6-cp312-cp312-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:abfa5080c374a76a251ba60683242bc17eeb2c9818d0d30117b4486be10c59d3"},
|
641 |
+
{file = "regex-2024.11.6-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:70b7fa6606c2881c1db9479b0eaa11ed5dfa11c8d60a474ff0e095099f39d98e"},
|
642 |
+
{file = "regex-2024.11.6-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:0c32f75920cf99fe6b6c539c399a4a128452eaf1af27f39bce8909c9a3fd8cbe"},
|
643 |
+
{file = "regex-2024.11.6-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:982e6d21414e78e1f51cf595d7f321dcd14de1f2881c5dc6a6e23bbbbd68435e"},
|
644 |
+
{file = "regex-2024.11.6-cp312-cp312-musllinux_1_2_i686.whl", hash = "sha256:a7c2155f790e2fb448faed6dd241386719802296ec588a8b9051c1f5c481bc29"},
|
645 |
+
{file = "regex-2024.11.6-cp312-cp312-musllinux_1_2_ppc64le.whl", hash = "sha256:149f5008d286636e48cd0b1dd65018548944e495b0265b45e1bffecce1ef7f39"},
|
646 |
+
{file = "regex-2024.11.6-cp312-cp312-musllinux_1_2_s390x.whl", hash = "sha256:e5364a4502efca094731680e80009632ad6624084aff9a23ce8c8c6820de3e51"},
|
647 |
+
{file = "regex-2024.11.6-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:0a86e7eeca091c09e021db8eb72d54751e527fa47b8d5787caf96d9831bd02ad"},
|
648 |
+
{file = "regex-2024.11.6-cp312-cp312-win32.whl", hash = "sha256:32f9a4c643baad4efa81d549c2aadefaeba12249b2adc5af541759237eee1c54"},
|
649 |
+
{file = "regex-2024.11.6-cp312-cp312-win_amd64.whl", hash = "sha256:a93c194e2df18f7d264092dc8539b8ffb86b45b899ab976aa15d48214138e81b"},
|
650 |
+
{file = "regex-2024.11.6-cp313-cp313-macosx_10_13_universal2.whl", hash = "sha256:a6ba92c0bcdf96cbf43a12c717eae4bc98325ca3730f6b130ffa2e3c3c723d84"},
|
651 |
+
{file = "regex-2024.11.6-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:525eab0b789891ac3be914d36893bdf972d483fe66551f79d3e27146191a37d4"},
|
652 |
+
{file = "regex-2024.11.6-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:086a27a0b4ca227941700e0b31425e7a28ef1ae8e5e05a33826e17e47fbfdba0"},
|
653 |
+
{file = "regex-2024.11.6-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:bde01f35767c4a7899b7eb6e823b125a64de314a8ee9791367c9a34d56af18d0"},
|
654 |
+
{file = "regex-2024.11.6-cp313-cp313-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:b583904576650166b3d920d2bcce13971f6f9e9a396c673187f49811b2769dc7"},
|
655 |
+
{file = "regex-2024.11.6-cp313-cp313-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:1c4de13f06a0d54fa0d5ab1b7138bfa0d883220965a29616e3ea61b35d5f5fc7"},
|
656 |
+
{file = "regex-2024.11.6-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:3cde6e9f2580eb1665965ce9bf17ff4952f34f5b126beb509fee8f4e994f143c"},
|
657 |
+
{file = "regex-2024.11.6-cp313-cp313-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:0d7f453dca13f40a02b79636a339c5b62b670141e63efd511d3f8f73fba162b3"},
|
658 |
+
{file = "regex-2024.11.6-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:59dfe1ed21aea057a65c6b586afd2a945de04fc7db3de0a6e3ed5397ad491b07"},
|
659 |
+
{file = "regex-2024.11.6-cp313-cp313-musllinux_1_2_i686.whl", hash = "sha256:b97c1e0bd37c5cd7902e65f410779d39eeda155800b65fc4d04cc432efa9bc6e"},
|
660 |
+
{file = "regex-2024.11.6-cp313-cp313-musllinux_1_2_ppc64le.whl", hash = "sha256:f9d1e379028e0fc2ae3654bac3cbbef81bf3fd571272a42d56c24007979bafb6"},
|
661 |
+
{file = "regex-2024.11.6-cp313-cp313-musllinux_1_2_s390x.whl", hash = "sha256:13291b39131e2d002a7940fb176e120bec5145f3aeb7621be6534e46251912c4"},
|
662 |
+
{file = "regex-2024.11.6-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:4f51f88c126370dcec4908576c5a627220da6c09d0bff31cfa89f2523843316d"},
|
663 |
+
{file = "regex-2024.11.6-cp313-cp313-win32.whl", hash = "sha256:63b13cfd72e9601125027202cad74995ab26921d8cd935c25f09c630436348ff"},
|
664 |
+
{file = "regex-2024.11.6-cp313-cp313-win_amd64.whl", hash = "sha256:2b3361af3198667e99927da8b84c1b010752fa4b1115ee30beaa332cabc3ef1a"},
|
665 |
+
{file = "regex-2024.11.6-cp38-cp38-macosx_10_9_universal2.whl", hash = "sha256:3a51ccc315653ba012774efca4f23d1d2a8a8f278a6072e29c7147eee7da446b"},
|
666 |
+
{file = "regex-2024.11.6-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:ad182d02e40de7459b73155deb8996bbd8e96852267879396fb274e8700190e3"},
|
667 |
+
{file = "regex-2024.11.6-cp38-cp38-macosx_11_0_arm64.whl", hash = "sha256:ba9b72e5643641b7d41fa1f6d5abda2c9a263ae835b917348fc3c928182ad467"},
|
668 |
+
{file = "regex-2024.11.6-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:40291b1b89ca6ad8d3f2b82782cc33807f1406cf68c8d440861da6304d8ffbbd"},
|
669 |
+
{file = "regex-2024.11.6-cp38-cp38-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:cdf58d0e516ee426a48f7b2c03a332a4114420716d55769ff7108c37a09951bf"},
|
670 |
+
{file = "regex-2024.11.6-cp38-cp38-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:a36fdf2af13c2b14738f6e973aba563623cb77d753bbbd8d414d18bfaa3105dd"},
|
671 |
+
{file = "regex-2024.11.6-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:d1cee317bfc014c2419a76bcc87f071405e3966da434e03e13beb45f8aced1a6"},
|
672 |
+
{file = "regex-2024.11.6-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:50153825ee016b91549962f970d6a4442fa106832e14c918acd1c8e479916c4f"},
|
673 |
+
{file = "regex-2024.11.6-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl", hash = "sha256:ea1bfda2f7162605f6e8178223576856b3d791109f15ea99a9f95c16a7636fb5"},
|
674 |
+
{file = "regex-2024.11.6-cp38-cp38-musllinux_1_2_aarch64.whl", hash = "sha256:df951c5f4a1b1910f1a99ff42c473ff60f8225baa1cdd3539fe2819d9543e9df"},
|
675 |
+
{file = "regex-2024.11.6-cp38-cp38-musllinux_1_2_i686.whl", hash = "sha256:072623554418a9911446278f16ecb398fb3b540147a7828c06e2011fa531e773"},
|
676 |
+
{file = "regex-2024.11.6-cp38-cp38-musllinux_1_2_ppc64le.whl", hash = "sha256:f654882311409afb1d780b940234208a252322c24a93b442ca714d119e68086c"},
|
677 |
+
{file = "regex-2024.11.6-cp38-cp38-musllinux_1_2_s390x.whl", hash = "sha256:89d75e7293d2b3e674db7d4d9b1bee7f8f3d1609428e293771d1a962617150cc"},
|
678 |
+
{file = "regex-2024.11.6-cp38-cp38-musllinux_1_2_x86_64.whl", hash = "sha256:f65557897fc977a44ab205ea871b690adaef6b9da6afda4790a2484b04293a5f"},
|
679 |
+
{file = "regex-2024.11.6-cp38-cp38-win32.whl", hash = "sha256:6f44ec28b1f858c98d3036ad5d7d0bfc568bdd7a74f9c24e25f41ef1ebfd81a4"},
|
680 |
+
{file = "regex-2024.11.6-cp38-cp38-win_amd64.whl", hash = "sha256:bb8f74f2f10dbf13a0be8de623ba4f9491faf58c24064f32b65679b021ed0001"},
|
681 |
+
{file = "regex-2024.11.6-cp39-cp39-macosx_10_9_universal2.whl", hash = "sha256:5704e174f8ccab2026bd2f1ab6c510345ae8eac818b613d7d73e785f1310f839"},
|
682 |
+
{file = "regex-2024.11.6-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:220902c3c5cc6af55d4fe19ead504de80eb91f786dc102fbd74894b1551f095e"},
|
683 |
+
{file = "regex-2024.11.6-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:5e7e351589da0850c125f1600a4c4ba3c722efefe16b297de54300f08d734fbf"},
|
684 |
+
{file = "regex-2024.11.6-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:5056b185ca113c88e18223183aa1a50e66507769c9640a6ff75859619d73957b"},
|
685 |
+
{file = "regex-2024.11.6-cp39-cp39-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:2e34b51b650b23ed3354b5a07aab37034d9f923db2a40519139af34f485f77d0"},
|
686 |
+
{file = "regex-2024.11.6-cp39-cp39-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:5670bce7b200273eee1840ef307bfa07cda90b38ae56e9a6ebcc9f50da9c469b"},
|
687 |
+
{file = "regex-2024.11.6-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:08986dce1339bc932923e7d1232ce9881499a0e02925f7402fb7c982515419ef"},
|
688 |
+
{file = "regex-2024.11.6-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:93c0b12d3d3bc25af4ebbf38f9ee780a487e8bf6954c115b9f015822d3bb8e48"},
|
689 |
+
{file = "regex-2024.11.6-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl", hash = "sha256:764e71f22ab3b305e7f4c21f1a97e1526a25ebdd22513e251cf376760213da13"},
|
690 |
+
{file = "regex-2024.11.6-cp39-cp39-musllinux_1_2_aarch64.whl", hash = "sha256:f056bf21105c2515c32372bbc057f43eb02aae2fda61052e2f7622c801f0b4e2"},
|
691 |
+
{file = "regex-2024.11.6-cp39-cp39-musllinux_1_2_i686.whl", hash = "sha256:69ab78f848845569401469da20df3e081e6b5a11cb086de3eed1d48f5ed57c95"},
|
692 |
+
{file = "regex-2024.11.6-cp39-cp39-musllinux_1_2_ppc64le.whl", hash = "sha256:86fddba590aad9208e2fa8b43b4c098bb0ec74f15718bb6a704e3c63e2cef3e9"},
|
693 |
+
{file = "regex-2024.11.6-cp39-cp39-musllinux_1_2_s390x.whl", hash = "sha256:684d7a212682996d21ca12ef3c17353c021fe9de6049e19ac8481ec35574a70f"},
|
694 |
+
{file = "regex-2024.11.6-cp39-cp39-musllinux_1_2_x86_64.whl", hash = "sha256:a03e02f48cd1abbd9f3b7e3586d97c8f7a9721c436f51a5245b3b9483044480b"},
|
695 |
+
{file = "regex-2024.11.6-cp39-cp39-win32.whl", hash = "sha256:41758407fc32d5c3c5de163888068cfee69cb4c2be844e7ac517a52770f9af57"},
|
696 |
+
{file = "regex-2024.11.6-cp39-cp39-win_amd64.whl", hash = "sha256:b2837718570f95dd41675328e111345f9b7095d821bac435aac173ac80b19983"},
|
697 |
+
{file = "regex-2024.11.6.tar.gz", hash = "sha256:7ab159b063c52a0333c884e4679f8d7a85112ee3078fe3d9004b2dd875585519"},
|
698 |
+
]
|
699 |
+
|
700 |
+
[[package]]
|
701 |
+
name = "requests"
|
702 |
+
version = "2.32.3"
|
703 |
+
description = "Python HTTP for Humans."
|
704 |
+
category = "main"
|
705 |
+
optional = false
|
706 |
+
python-versions = ">=3.8"
|
707 |
+
files = [
|
708 |
+
{file = "requests-2.32.3-py3-none-any.whl", hash = "sha256:70761cfe03c773ceb22aa2f671b4757976145175cdfca038c02654d061d6dcc6"},
|
709 |
+
{file = "requests-2.32.3.tar.gz", hash = "sha256:55365417734eb18255590a9ff9eb97e9e1da868d4ccd6402399eaf68af20a760"},
|
710 |
+
]
|
711 |
+
|
712 |
+
[package.dependencies]
|
713 |
+
certifi = ">=2017.4.17"
|
714 |
+
charset-normalizer = ">=2,<4"
|
715 |
+
idna = ">=2.5,<4"
|
716 |
+
urllib3 = ">=1.21.1,<3"
|
717 |
+
|
718 |
+
[package.extras]
|
719 |
+
socks = ["PySocks (>=1.5.6,!=1.5.7)"]
|
720 |
+
use-chardet-on-py3 = ["chardet (>=3.0.2,<6)"]
|
721 |
+
|
722 |
+
[[package]]
|
723 |
+
name = "six"
|
724 |
+
version = "1.16.0"
|
725 |
+
description = "Python 2 and 3 compatibility utilities"
|
726 |
+
category = "main"
|
727 |
+
optional = false
|
728 |
+
python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*"
|
729 |
+
files = [
|
730 |
+
{file = "six-1.16.0-py2.py3-none-any.whl", hash = "sha256:8abb2f1d86890a2dfb989f9a77cfcfd3e47c2a354b01111771326f8aa26e0254"},
|
731 |
+
{file = "six-1.16.0.tar.gz", hash = "sha256:1e61c37477a1626458e36f7b1d82aa5c9b094fa4802892072e49de9c60c4c926"},
|
732 |
+
]
|
733 |
+
|
734 |
+
[[package]]
|
735 |
+
name = "urllib3"
|
736 |
+
version = "2.2.3"
|
737 |
+
description = "HTTP library with thread-safe connection pooling, file post, and more."
|
738 |
+
category = "main"
|
739 |
+
optional = false
|
740 |
+
python-versions = ">=3.8"
|
741 |
+
files = [
|
742 |
+
{file = "urllib3-2.2.3-py3-none-any.whl", hash = "sha256:ca899ca043dcb1bafa3e262d73aa25c465bfb49e0bd9dd5d59f1d0acba2f8fac"},
|
743 |
+
{file = "urllib3-2.2.3.tar.gz", hash = "sha256:e7d814a81dad81e6caf2ec9fdedb284ecc9c73076b62654547cc64ccdcae26e9"},
|
744 |
+
]
|
745 |
+
|
746 |
+
[package.extras]
|
747 |
+
brotli = ["brotli (>=1.0.9)", "brotlicffi (>=0.8.0)"]
|
748 |
+
h2 = ["h2 (>=4,<5)"]
|
749 |
+
socks = ["pysocks (>=1.5.6,!=1.5.7,<2.0)"]
|
750 |
+
zstd = ["zstandard (>=0.18.0)"]
|
751 |
+
|
752 |
+
[[package]]
|
753 |
+
name = "watchdog"
|
754 |
+
version = "6.0.0"
|
755 |
+
description = "Filesystem events monitoring"
|
756 |
+
category = "main"
|
757 |
+
optional = false
|
758 |
+
python-versions = ">=3.9"
|
759 |
+
files = [
|
760 |
+
{file = "watchdog-6.0.0-cp310-cp310-macosx_10_9_universal2.whl", hash = "sha256:d1cdb490583ebd691c012b3d6dae011000fe42edb7a82ece80965b42abd61f26"},
|
761 |
+
{file = "watchdog-6.0.0-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:bc64ab3bdb6a04d69d4023b29422170b74681784ffb9463ed4870cf2f3e66112"},
|
762 |
+
{file = "watchdog-6.0.0-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:c897ac1b55c5a1461e16dae288d22bb2e412ba9807df8397a635d88f671d36c3"},
|
763 |
+
{file = "watchdog-6.0.0-cp311-cp311-macosx_10_9_universal2.whl", hash = "sha256:6eb11feb5a0d452ee41f824e271ca311a09e250441c262ca2fd7ebcf2461a06c"},
|
764 |
+
{file = "watchdog-6.0.0-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:ef810fbf7b781a5a593894e4f439773830bdecb885e6880d957d5b9382a960d2"},
|
765 |
+
{file = "watchdog-6.0.0-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:afd0fe1b2270917c5e23c2a65ce50c2a4abb63daafb0d419fde368e272a76b7c"},
|
766 |
+
{file = "watchdog-6.0.0-cp312-cp312-macosx_10_13_universal2.whl", hash = "sha256:bdd4e6f14b8b18c334febb9c4425a878a2ac20efd1e0b231978e7b150f92a948"},
|
767 |
+
{file = "watchdog-6.0.0-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:c7c15dda13c4eb00d6fb6fc508b3c0ed88b9d5d374056b239c4ad1611125c860"},
|
768 |
+
{file = "watchdog-6.0.0-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:6f10cb2d5902447c7d0da897e2c6768bca89174d0c6e1e30abec5421af97a5b0"},
|
769 |
+
{file = "watchdog-6.0.0-cp313-cp313-macosx_10_13_universal2.whl", hash = "sha256:490ab2ef84f11129844c23fb14ecf30ef3d8a6abafd3754a6f75ca1e6654136c"},
|
770 |
+
{file = "watchdog-6.0.0-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:76aae96b00ae814b181bb25b1b98076d5fc84e8a53cd8885a318b42b6d3a5134"},
|
771 |
+
{file = "watchdog-6.0.0-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:a175f755fc2279e0b7312c0035d52e27211a5bc39719dd529625b1930917345b"},
|
772 |
+
{file = "watchdog-6.0.0-cp39-cp39-macosx_10_9_universal2.whl", hash = "sha256:e6f0e77c9417e7cd62af82529b10563db3423625c5fce018430b249bf977f9e8"},
|
773 |
+
{file = "watchdog-6.0.0-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:90c8e78f3b94014f7aaae121e6b909674df5b46ec24d6bebc45c44c56729af2a"},
|
774 |
+
{file = "watchdog-6.0.0-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:e7631a77ffb1f7d2eefa4445ebbee491c720a5661ddf6df3498ebecae5ed375c"},
|
775 |
+
{file = "watchdog-6.0.0-pp310-pypy310_pp73-macosx_10_15_x86_64.whl", hash = "sha256:c7ac31a19f4545dd92fc25d200694098f42c9a8e391bc00bdd362c5736dbf881"},
|
776 |
+
{file = "watchdog-6.0.0-pp310-pypy310_pp73-macosx_11_0_arm64.whl", hash = "sha256:9513f27a1a582d9808cf21a07dae516f0fab1cf2d7683a742c498b93eedabb11"},
|
777 |
+
{file = "watchdog-6.0.0-pp39-pypy39_pp73-macosx_10_15_x86_64.whl", hash = "sha256:7a0e56874cfbc4b9b05c60c8a1926fedf56324bb08cfbc188969777940aef3aa"},
|
778 |
+
{file = "watchdog-6.0.0-pp39-pypy39_pp73-macosx_11_0_arm64.whl", hash = "sha256:e6439e374fc012255b4ec786ae3c4bc838cd7309a540e5fe0952d03687d8804e"},
|
779 |
+
{file = "watchdog-6.0.0-py3-none-manylinux2014_aarch64.whl", hash = "sha256:7607498efa04a3542ae3e05e64da8202e58159aa1fa4acddf7678d34a35d4f13"},
|
780 |
+
{file = "watchdog-6.0.0-py3-none-manylinux2014_armv7l.whl", hash = "sha256:9041567ee8953024c83343288ccc458fd0a2d811d6a0fd68c4c22609e3490379"},
|
781 |
+
{file = "watchdog-6.0.0-py3-none-manylinux2014_i686.whl", hash = "sha256:82dc3e3143c7e38ec49d61af98d6558288c415eac98486a5c581726e0737c00e"},
|
782 |
+
{file = "watchdog-6.0.0-py3-none-manylinux2014_ppc64.whl", hash = "sha256:212ac9b8bf1161dc91bd09c048048a95ca3a4c4f5e5d4a7d1b1a7d5752a7f96f"},
|
783 |
+
{file = "watchdog-6.0.0-py3-none-manylinux2014_ppc64le.whl", hash = "sha256:e3df4cbb9a450c6d49318f6d14f4bbc80d763fa587ba46ec86f99f9e6876bb26"},
|
784 |
+
{file = "watchdog-6.0.0-py3-none-manylinux2014_s390x.whl", hash = "sha256:2cce7cfc2008eb51feb6aab51251fd79b85d9894e98ba847408f662b3395ca3c"},
|
785 |
+
{file = "watchdog-6.0.0-py3-none-manylinux2014_x86_64.whl", hash = "sha256:20ffe5b202af80ab4266dcd3e91aae72bf2da48c0d33bdb15c66658e685e94e2"},
|
786 |
+
{file = "watchdog-6.0.0-py3-none-win32.whl", hash = "sha256:07df1fdd701c5d4c8e55ef6cf55b8f0120fe1aef7ef39a1c6fc6bc2e606d517a"},
|
787 |
+
{file = "watchdog-6.0.0-py3-none-win_amd64.whl", hash = "sha256:cbafb470cf848d93b5d013e2ecb245d4aa1c8fd0504e863ccefa32445359d680"},
|
788 |
+
{file = "watchdog-6.0.0-py3-none-win_ia64.whl", hash = "sha256:a1914259fa9e1454315171103c6a30961236f508b9b623eae470268bbcc6a22f"},
|
789 |
+
{file = "watchdog-6.0.0.tar.gz", hash = "sha256:9ddf7c82fda3ae8e24decda1338ede66e1c99883db93711d8fb941eaa2d8c282"},
|
790 |
+
]
|
791 |
+
|
792 |
+
[package.extras]
|
793 |
+
watchmedo = ["PyYAML (>=3.10)"]
|
794 |
+
|
795 |
+
[metadata]
|
796 |
+
lock-version = "2.0"
|
797 |
+
python-versions = "^3.10"
|
798 |
+
content-hash = "dee3864dbc26fd653b2a74c70243efffcbb63a0a0f23abe8311aad8fd5bf2eb0"
|
docs/pyproject.toml
ADDED
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
[tool.poetry]
|
2 |
+
name = "docs"
|
3 |
+
version = "0.1.0"
|
4 |
+
description = ""
|
5 |
+
authors = ["Anirban Kar <[email protected]>"]
|
6 |
+
readme = "README.md"
|
7 |
+
|
8 |
+
[tool.poetry.dependencies]
|
9 |
+
python = "^3.10"
|
10 |
+
mkdocs-material = "^9.5.45"
|
11 |
+
|
12 |
+
|
13 |
+
[build-system]
|
14 |
+
requires = ["poetry-core"]
|
15 |
+
build-backend = "poetry.core.masonry.api"
|
eslint.config.mjs
CHANGED
@@ -4,7 +4,13 @@ import { getNamingConventionRule, tsFileExtensions } from '@blitz/eslint-plugin/
|
|
4 |
|
5 |
export default [
|
6 |
{
|
7 |
-
ignores: [
|
|
|
|
|
|
|
|
|
|
|
|
|
8 |
},
|
9 |
...blitzPlugin.configs.recommended(),
|
10 |
{
|
@@ -14,6 +20,15 @@ export default [
|
|
14 |
'@typescript-eslint/no-empty-object-type': 'off',
|
15 |
'@blitz/comment-syntax': 'off',
|
16 |
'@blitz/block-scope-case': 'off',
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
17 |
},
|
18 |
},
|
19 |
{
|
@@ -38,7 +53,7 @@ export default [
|
|
38 |
patterns: [
|
39 |
{
|
40 |
group: ['../'],
|
41 |
-
message:
|
42 |
},
|
43 |
],
|
44 |
},
|
|
|
4 |
|
5 |
export default [
|
6 |
{
|
7 |
+
ignores: [
|
8 |
+
'**/dist',
|
9 |
+
'**/node_modules',
|
10 |
+
'**/.wrangler',
|
11 |
+
'**/bolt/build',
|
12 |
+
'**/.history',
|
13 |
+
],
|
14 |
},
|
15 |
...blitzPlugin.configs.recommended(),
|
16 |
{
|
|
|
20 |
'@typescript-eslint/no-empty-object-type': 'off',
|
21 |
'@blitz/comment-syntax': 'off',
|
22 |
'@blitz/block-scope-case': 'off',
|
23 |
+
'array-bracket-spacing': ["error", "never"],
|
24 |
+
'object-curly-newline': ["error", { "consistent": true }],
|
25 |
+
'keyword-spacing': ["error", { "before": true, "after": true }],
|
26 |
+
'consistent-return': "error",
|
27 |
+
'semi': ["error", "always"],
|
28 |
+
'curly': ["error"],
|
29 |
+
'no-eval': ["error"],
|
30 |
+
'linebreak-style': ["error", "unix"],
|
31 |
+
'arrow-spacing': ["error", { "before": true, "after": true }]
|
32 |
},
|
33 |
},
|
34 |
{
|
|
|
53 |
patterns: [
|
54 |
{
|
55 |
group: ['../'],
|
56 |
+
message: 'Relative imports are not allowed. Please use \'~/\' instead.',
|
57 |
},
|
58 |
],
|
59 |
},
|
package-lock.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
{
|
2 |
"name": "bolt",
|
3 |
-
"description": "
|
4 |
"private": true,
|
5 |
"license": "MIT",
|
6 |
"sideEffects": false,
|
@@ -13,7 +13,9 @@
|
|
13 |
"test:watch": "vitest",
|
14 |
"lint": "eslint --cache --cache-location ./node_modules/.cache/eslint app",
|
15 |
"lint:fix": "npm run lint -- --fix && prettier app --write",
|
16 |
-
"start": "
|
|
|
|
|
17 |
"dockerstart": "bindings=$(./bindings.sh) && wrangler pages dev ./build/client $bindings --ip 0.0.0.0 --port 5173 --no-show-interactive-dev-session",
|
18 |
"dockerrun": "docker run -it -d --name bolt-ai-live -p 5173:5173 --env-file .env.local bolt-ai",
|
19 |
"dockerbuild:prod": "docker build -t bolt-ai:production -t bolt-ai:latest --target bolt-ai-production .",
|
@@ -28,95 +30,96 @@
|
|
28 |
},
|
29 |
"dependencies": {
|
30 |
"@ai-sdk/anthropic": "^0.0.39",
|
31 |
-
"@ai-sdk/cohere": "^1.0.
|
32 |
"@ai-sdk/google": "^0.0.52",
|
33 |
"@ai-sdk/mistral": "^0.0.43",
|
34 |
"@ai-sdk/openai": "^0.0.66",
|
35 |
-
"@codemirror/autocomplete": "^6.
|
36 |
-
"@codemirror/commands": "^6.
|
37 |
"@codemirror/lang-cpp": "^6.0.2",
|
38 |
-
"@codemirror/lang-css": "^6.
|
39 |
"@codemirror/lang-html": "^6.4.9",
|
40 |
"@codemirror/lang-javascript": "^6.2.2",
|
41 |
"@codemirror/lang-json": "^6.0.1",
|
42 |
-
"@codemirror/lang-markdown": "^6.
|
43 |
"@codemirror/lang-python": "^6.1.6",
|
44 |
"@codemirror/lang-sass": "^6.0.2",
|
45 |
"@codemirror/lang-wast": "^6.0.2",
|
46 |
-
"@codemirror/language": "^6.10.
|
47 |
-
"@codemirror/search": "^6.5.
|
48 |
"@codemirror/state": "^6.4.1",
|
49 |
-
"@codemirror/view": "^6.
|
50 |
-
"@iconify-json/ph": "^1.1
|
51 |
-
"@iconify-json/svg-spinners": "^1.1
|
52 |
-
"@lezer/highlight": "^1.2.
|
53 |
-
"@nanostores/react": "^0.7.
|
54 |
"@octokit/rest": "^21.0.2",
|
55 |
-
"@octokit/types": "^13.6.
|
56 |
"@openrouter/ai-sdk-provider": "^0.0.5",
|
57 |
-
"@radix-ui/react-dialog": "^1.1.
|
58 |
-
"@radix-ui/react-dropdown-menu": "^2.1.
|
59 |
"@radix-ui/react-tooltip": "^1.1.4",
|
60 |
-
"@remix-run/cloudflare": "^2.
|
61 |
-
"@remix-run/cloudflare-pages": "^2.
|
62 |
-
"@remix-run/react": "^2.
|
63 |
-
"@uiw/codemirror-theme-vscode": "^4.23.
|
64 |
-
"@unocss/reset": "^0.61.
|
65 |
"@webcontainer/api": "1.3.0-internal.10",
|
66 |
"@xterm/addon-fit": "^0.10.0",
|
67 |
"@xterm/addon-web-links": "^0.11.0",
|
68 |
"@xterm/xterm": "^5.5.0",
|
69 |
-
"ai": "^3.4.
|
70 |
"date-fns": "^3.6.0",
|
71 |
"diff": "^5.2.0",
|
72 |
"file-saver": "^2.0.5",
|
73 |
-
"framer-motion": "^11.
|
74 |
"ignore": "^6.0.2",
|
75 |
-
"isbot": "^4.
|
76 |
"istextorbinary": "^9.5.0",
|
77 |
-
"jose": "^5.6
|
78 |
"js-cookie": "^3.0.5",
|
79 |
"jszip": "^3.10.1",
|
80 |
"nanostores": "^0.10.3",
|
81 |
"ollama-ai-provider": "^0.15.2",
|
82 |
-
"
|
83 |
-
"react
|
84 |
-
"react-
|
|
|
85 |
"react-markdown": "^9.0.1",
|
86 |
-
"react-resizable-panels": "^2.
|
87 |
-
"react-toastify": "^10.0.
|
88 |
"rehype-raw": "^7.0.0",
|
89 |
"rehype-sanitize": "^6.0.0",
|
90 |
"remark-gfm": "^4.0.0",
|
91 |
"remix-island": "^0.2.0",
|
92 |
-
"remix-utils": "^7.
|
93 |
-
"shiki": "^1.
|
94 |
"unist-util-visit": "^5.0.0"
|
95 |
},
|
96 |
"devDependencies": {
|
97 |
"@blitz/eslint-plugin": "0.1.0",
|
98 |
-
"@cloudflare/workers-types": "^4.
|
99 |
-
"@remix-run/dev": "^2.
|
100 |
-
"@types/diff": "^5.2.
|
101 |
"@types/file-saver": "^2.0.7",
|
102 |
"@types/js-cookie": "^3.0.6",
|
103 |
-
"@types/react": "^18.
|
104 |
-
"@types/react-dom": "^18.
|
105 |
"fast-glob": "^3.3.2",
|
106 |
"husky": "9.1.7",
|
107 |
"is-ci": "^3.0.1",
|
108 |
"node-fetch": "^3.3.2",
|
109 |
-
"prettier": "^3.
|
110 |
-
"sass-embedded": "^1.
|
111 |
-
"typescript": "^5.
|
112 |
"unified": "^11.0.5",
|
113 |
-
"unocss": "^0.61.
|
114 |
-
"vite": "^5.
|
115 |
"vite-plugin-node-polyfills": "^0.22.0",
|
116 |
"vite-plugin-optimize-css-modules": "^1.1.0",
|
117 |
"vite-tsconfig-paths": "^4.3.2",
|
118 |
-
"vitest": "^2.
|
119 |
-
"wrangler": "^3.
|
120 |
"zod": "^3.23.8"
|
121 |
},
|
122 |
"resolutions": {
|
|
|
1 |
{
|
2 |
"name": "bolt",
|
3 |
+
"description": "An AI Agent",
|
4 |
"private": true,
|
5 |
"license": "MIT",
|
6 |
"sideEffects": false,
|
|
|
13 |
"test:watch": "vitest",
|
14 |
"lint": "eslint --cache --cache-location ./node_modules/.cache/eslint app",
|
15 |
"lint:fix": "npm run lint -- --fix && prettier app --write",
|
16 |
+
"start:windows": "wrangler pages dev ./build/client",
|
17 |
+
"start:unix": "bindings=$(./bindings.sh) && wrangler pages dev ./build/client $bindings",
|
18 |
+
"start": "node -e \"const { spawn } = require('child_process'); const isWindows = process.platform === 'win32'; const cmd = isWindows ? 'npm run start:windows' : 'npm run start:unix'; const child = spawn(cmd, { shell: true, stdio: 'inherit' }); child.on('exit', code => process.exit(code));\"",
|
19 |
"dockerstart": "bindings=$(./bindings.sh) && wrangler pages dev ./build/client $bindings --ip 0.0.0.0 --port 5173 --no-show-interactive-dev-session",
|
20 |
"dockerrun": "docker run -it -d --name bolt-ai-live -p 5173:5173 --env-file .env.local bolt-ai",
|
21 |
"dockerbuild:prod": "docker build -t bolt-ai:production -t bolt-ai:latest --target bolt-ai-production .",
|
|
|
30 |
},
|
31 |
"dependencies": {
|
32 |
"@ai-sdk/anthropic": "^0.0.39",
|
33 |
+
"@ai-sdk/cohere": "^1.0.3",
|
34 |
"@ai-sdk/google": "^0.0.52",
|
35 |
"@ai-sdk/mistral": "^0.0.43",
|
36 |
"@ai-sdk/openai": "^0.0.66",
|
37 |
+
"@codemirror/autocomplete": "^6.18.3",
|
38 |
+
"@codemirror/commands": "^6.7.1",
|
39 |
"@codemirror/lang-cpp": "^6.0.2",
|
40 |
+
"@codemirror/lang-css": "^6.3.1",
|
41 |
"@codemirror/lang-html": "^6.4.9",
|
42 |
"@codemirror/lang-javascript": "^6.2.2",
|
43 |
"@codemirror/lang-json": "^6.0.1",
|
44 |
+
"@codemirror/lang-markdown": "^6.3.1",
|
45 |
"@codemirror/lang-python": "^6.1.6",
|
46 |
"@codemirror/lang-sass": "^6.0.2",
|
47 |
"@codemirror/lang-wast": "^6.0.2",
|
48 |
+
"@codemirror/language": "^6.10.6",
|
49 |
+
"@codemirror/search": "^6.5.8",
|
50 |
"@codemirror/state": "^6.4.1",
|
51 |
+
"@codemirror/view": "^6.35.0",
|
52 |
+
"@iconify-json/ph": "^1.2.1",
|
53 |
+
"@iconify-json/svg-spinners": "^1.2.1",
|
54 |
+
"@lezer/highlight": "^1.2.1",
|
55 |
+
"@nanostores/react": "^0.7.3",
|
56 |
"@octokit/rest": "^21.0.2",
|
57 |
+
"@octokit/types": "^13.6.2",
|
58 |
"@openrouter/ai-sdk-provider": "^0.0.5",
|
59 |
+
"@radix-ui/react-dialog": "^1.1.2",
|
60 |
+
"@radix-ui/react-dropdown-menu": "^2.1.2",
|
61 |
"@radix-ui/react-tooltip": "^1.1.4",
|
62 |
+
"@remix-run/cloudflare": "^2.15.0",
|
63 |
+
"@remix-run/cloudflare-pages": "^2.15.0",
|
64 |
+
"@remix-run/react": "^2.15.0",
|
65 |
+
"@uiw/codemirror-theme-vscode": "^4.23.6",
|
66 |
+
"@unocss/reset": "^0.61.9",
|
67 |
"@webcontainer/api": "1.3.0-internal.10",
|
68 |
"@xterm/addon-fit": "^0.10.0",
|
69 |
"@xterm/addon-web-links": "^0.11.0",
|
70 |
"@xterm/xterm": "^5.5.0",
|
71 |
+
"ai": "^3.4.33",
|
72 |
"date-fns": "^3.6.0",
|
73 |
"diff": "^5.2.0",
|
74 |
"file-saver": "^2.0.5",
|
75 |
+
"framer-motion": "^11.12.0",
|
76 |
"ignore": "^6.0.2",
|
77 |
+
"isbot": "^4.4.0",
|
78 |
"istextorbinary": "^9.5.0",
|
79 |
+
"jose": "^5.9.6",
|
80 |
"js-cookie": "^3.0.5",
|
81 |
"jszip": "^3.10.1",
|
82 |
"nanostores": "^0.10.3",
|
83 |
"ollama-ai-provider": "^0.15.2",
|
84 |
+
"pnpm": "^9.14.4",
|
85 |
+
"react": "^18.3.1",
|
86 |
+
"react-dom": "^18.3.1",
|
87 |
+
"react-hotkeys-hook": "^4.6.1",
|
88 |
"react-markdown": "^9.0.1",
|
89 |
+
"react-resizable-panels": "^2.1.7",
|
90 |
+
"react-toastify": "^10.0.6",
|
91 |
"rehype-raw": "^7.0.0",
|
92 |
"rehype-sanitize": "^6.0.0",
|
93 |
"remark-gfm": "^4.0.0",
|
94 |
"remix-island": "^0.2.0",
|
95 |
+
"remix-utils": "^7.7.0",
|
96 |
+
"shiki": "^1.24.0",
|
97 |
"unist-util-visit": "^5.0.0"
|
98 |
},
|
99 |
"devDependencies": {
|
100 |
"@blitz/eslint-plugin": "0.1.0",
|
101 |
+
"@cloudflare/workers-types": "^4.20241127.0",
|
102 |
+
"@remix-run/dev": "^2.15.0",
|
103 |
+
"@types/diff": "^5.2.3",
|
104 |
"@types/file-saver": "^2.0.7",
|
105 |
"@types/js-cookie": "^3.0.6",
|
106 |
+
"@types/react": "^18.3.12",
|
107 |
+
"@types/react-dom": "^18.3.1",
|
108 |
"fast-glob": "^3.3.2",
|
109 |
"husky": "9.1.7",
|
110 |
"is-ci": "^3.0.1",
|
111 |
"node-fetch": "^3.3.2",
|
112 |
+
"prettier": "^3.4.1",
|
113 |
+
"sass-embedded": "^1.81.0",
|
114 |
+
"typescript": "^5.7.2",
|
115 |
"unified": "^11.0.5",
|
116 |
+
"unocss": "^0.61.9",
|
117 |
+
"vite": "^5.4.11",
|
118 |
"vite-plugin-node-polyfills": "^0.22.0",
|
119 |
"vite-plugin-optimize-css-modules": "^1.1.0",
|
120 |
"vite-tsconfig-paths": "^4.3.2",
|
121 |
+
"vitest": "^2.1.7",
|
122 |
+
"wrangler": "^3.91.0",
|
123 |
"zod": "^3.23.8"
|
124 |
},
|
125 |
"resolutions": {
|
pnpm-lock.yaml
CHANGED
The diff for this file is too large to render.
See raw diff
|
|
public/social_preview_index.jpg
CHANGED
![]() |
![]() |
vite.config.ts
CHANGED
@@ -20,6 +20,7 @@ export default defineConfig((config) => {
|
|
20 |
v3_fetcherPersist: true,
|
21 |
v3_relativeSplatPath: true,
|
22 |
v3_throwAbortReason: true,
|
|
|
23 |
},
|
24 |
}),
|
25 |
UnoCSS(),
|
|
|
20 |
v3_fetcherPersist: true,
|
21 |
v3_relativeSplatPath: true,
|
22 |
v3_throwAbortReason: true,
|
23 |
+
v3_lazyRouteDiscovery: true,
|
24 |
},
|
25 |
}),
|
26 |
UnoCSS(),
|
worker-configuration.d.ts
CHANGED
@@ -7,6 +7,8 @@ interface Env {
|
|
7 |
OLLAMA_API_BASE_URL: string;
|
8 |
OPENAI_LIKE_API_KEY: string;
|
9 |
OPENAI_LIKE_API_BASE_URL: string;
|
|
|
|
|
10 |
DEEPSEEK_API_KEY: string;
|
11 |
LMSTUDIO_API_BASE_URL: string;
|
12 |
GOOGLE_GENERATIVE_AI_API_KEY: string;
|
|
|
7 |
OLLAMA_API_BASE_URL: string;
|
8 |
OPENAI_LIKE_API_KEY: string;
|
9 |
OPENAI_LIKE_API_BASE_URL: string;
|
10 |
+
TOGETHER_API_KEY: string;
|
11 |
+
TOGETHER_API_BASE_URL: string;
|
12 |
DEEPSEEK_API_KEY: string;
|
13 |
LMSTUDIO_API_BASE_URL: string;
|
14 |
GOOGLE_GENERATIVE_AI_API_KEY: string;
|