| 1 | <html> |
| 2 | |
| 3 | <head> |
| 4 | <title>Create a new project</title> |
| 5 | <script type="module"> |
| 6 | import { store } from "/components/projects/projects-store.js"; |
| 7 | </script> |
| 8 | </head> |
| 9 | |
| 10 | <body> |
| 11 | <div x-data> |
| 12 | <template x-if="$store.projects && $store.projects.selectedProject"> |
| 13 | <div> |
| 14 | <!-- <div class="project-detail-header"> |
| 15 | <div class="projects-project-card-title">Project details</div> |
| 16 | <div class="project-path" x-text="$store.projects.selectedProject.path"></div> |
| 17 | </div> --> |
| 18 | |
| 19 | <div class="projects-form-group"> |
| 20 | <label class="projects-form-label">Non-sensitive variables</label> |
| 21 | <span class="projects-form-description">tore non-sensitive variables in .env format e.g. |
| 22 | EMAIL_IMAP_SERVER="imap.gmail.com", one item per line. You can use comments starting with # to |
| 23 | add descriptions for the agent. See <a |
| 24 | href="javascript:openModal('settings/secrets/example-vars.html')">example</a>. |
| 25 | <br> |
| 26 | These variables are visible to LLMs and in chat history, they are not being masked.</span> |
| 27 | <textarea class="projects-form-textarea" x-model="$store.projects.selectedProject.variables" |
| 28 | rows="10" placeholder="Enter project variables"></textarea> |
| 29 | </div> |
| 30 | |
| 31 | <div class="projects-form-group"> |
| 32 | <label class="projects-form-label">Sensitive variables</label> |
| 33 | <span class="projects-form-description"> |
| 34 | Store secrets and credentials in .env format e.g. EMAIL_PASSWORD="s3cret-p4$$w0rd", one item per |
| 35 | line. You can use comments starting with # to add descriptions for the agent. See <a |
| 36 | href="javascript:openModal('settings/secrets/example-secrets.html')">example</a>.<br>These |
| 37 | variables are not visile to LLMs and in chat history, they are being masked. ⚠️ only values with |
| 38 | length >= 4 are being masked to prevent false positives. |
| 39 | </span> |
| 40 | <textarea class="projects-form-textarea" |
| 41 | x-model="$store.projects.selectedProject.secrets" rows="10" |
| 42 | placeholder="Enter project secrets"></textarea> |
| 43 | </div> |
| 44 | </div> |
| 45 | |
| 46 | |
| 47 | </template> |
| 48 | </div> |
| 49 | </body> |
| 50 | <style> |
| 51 | </style> |
| 52 | |
| 53 | </html> |