diff --git a/.gitignore b/.gitignore index 25fbbd158..8c6a2595d 100644 --- a/.gitignore +++ b/.gitignore @@ -9,4 +9,6 @@ docker-compose.override.yml *.json *.xml *.json +!app-backend/knowledge-base/vectors/ +!app-backend/knowledge-base/vectors/*.json **/.DS_Store \ No newline at end of file diff --git a/README.md b/README.md index 5aa5197c2..8d69c6c4e 100644 --- a/README.md +++ b/README.md @@ -155,6 +155,153 @@ Log in at `http://localhost:3001/login` with an **admin** account (backend `POST If port 3001 is taken, set `ADMIN_FRONTEND_HOST_PORT` in `.env`. To run the Admin Panel outside Docker, see `app-frontend/admin-panel/README.md`. +## AI Knowledge Assistant + + +The Employer Panel includes an AI Knowledge Assistant using a local +Retrieval-Augmented Generation (RAG) setup. + + +### Knowledge Base + + +The AI knowledge base is based on: + + + +app-backend/knowledge-base/docs/onboarding.txt + +The generated vector index is stored at: + +app-backend/knowledge-base/vectors/onboarding.json + +The onboarding guide PDF is stored at: + +app-backend/knowledge-base/guide/Onboarding.pdf + +The AI implementation is located under: + +app-backend/src/ai/ + +It includes: + +Text chunking +Embedding generation +Vector indexing +Vector search and similarity retrieval +Knowledge-base services +Ollama integration +AI controller and routes +Embedding Generation + +The vector index is generated using: + +app-backend/src/ai/indexing/buildIndex.js + +The embedding process uses Ollama with the nomic-embed-text embedding +model. + +The process is: + +onboarding.txt + ↓ +buildIndex.js + ↓ +Ollama + ↓ +nomic-embed-text + ↓ +vectors/onboarding.json + +The current embeddings use 768 dimensions. + +Whenever onboarding.txt is changed, the vector index should be +regenerated so that the embeddings remain synchronised with the +knowledge-base content. + +Regenerating the Vector Index + +Before regenerating the vector index, make sure the Ollama service is +running and the nomic-embed-text model is available. + +The indexing implementation is located at: + +app-backend/src/ai/indexing/buildIndex.js + +Run the indexing process using the command configured for buildIndex.js +in app-backend/package.json. + +The generated vector index is: + +app-backend/knowledge-base/vectors/onboarding.json + +After regeneration, verify that the vector index corresponds to the +current contents of onboarding.txt. + +When onboarding.txt is modified, regenerate the vector index before +committing the knowledge-base changes. + +Ollama Dependency + +The AI Knowledge Assistant requires an Ollama service reachable by the +backend on port 11434. + +The required embedding model is: + +nomic-embed-text + +When running through Docker Compose, the backend should communicate with +the Ollama service using its Docker Compose service name rather than +assuming that localhost refers to the Ollama container. + +The AI dependency is: + +Backend + ↓ +Ollama :11434 + ↓ +nomic-embed-text +AI Docker Services + +The AI setup includes the backend, Ollama, AI indexer, and Ollama model +services. + +Check the running services with: + +docker compose ps + +View backend logs: + +docker compose logs -f backend + +View Ollama logs: + +docker compose logs -f ollama + +View AI indexer logs: + +docker compose logs -f ai-indexer + +If the service names differ, use the service names displayed by: + +docker compose ps +Updating the AI Knowledge Base + +When updating the onboarding knowledge: + +Modify: +app-backend/knowledge-base/docs/onboarding.txt +Regenerate the vector index using: +app-backend/src/ai/indexing/buildIndex.js +Verify the generated file: +app-backend/knowledge-base/vectors/onboarding.json +Ensure the generated vectors correspond to the updated +onboarding.txt. +Commit the source document and regenerated vector index together. + +This keeps the vector index synchronised with the knowledge-base +content and prevents the stored embeddings from becoming outdated. + ## Verifying the Setup Once Docker is running: diff --git a/app-backend/Dockerfile b/app-backend/Dockerfile index b8c161218..96d8f376b 100644 --- a/app-backend/Dockerfile +++ b/app-backend/Dockerfile @@ -1,4 +1,4 @@ -FROM node:18 +FROM node:22.13 WORKDIR /app diff --git a/app-backend/knowledge-base/docs/backend_onboarding_v1.1.txt b/app-backend/knowledge-base/docs/backend_onboarding_v1.1.txt new file mode 100644 index 000000000..d937e49df --- /dev/null +++ b/app-backend/knowledge-base/docs/backend_onboarding_v1.1.txt @@ -0,0 +1,189 @@ +SecureShift Backend Onboarding — Version 1.1 SecureShift Backend +Onboarding +Windows 11 + WSL2 and macOS | Docker, host -run backend, MongoDB +Compass, seed data and email +Version 1.1 — updated for local development seed data Recommended +everyday backend setup: Run MongoDB in Docker, run the backend directly +in WSL or macOS with Nodemon, and connect MongoDB Compass to localhost. +Recommended full-system check: Run MongoDB, backend and employer +frontend together with Docker Compose. 1. Understand the two MongoDB +hostnames • Use mongodb:27017 only when the backend itself runs inside +Docker Compose. • Use localhost:27017 when the backend runs directly in +WSL, Windows or macOS. • MongoDB Compass on Windows or macOS also +connects to localhost:27017. Inside Docker Compose: +mongodb://secureshift_app:secureshift_app_password@mongodb:27017/secureshift_local?authSource=secureshift_local + +Outside Docker / Compass: +mongodb://secureshift_app:secureshift_app_password@localhost:27017/secureshift_local?authSource=secureshift_local +2. First-time setup after pulling the Docker onboarding changes Warning: +The reset below permanently deletes the existing local Docker MongoDB +volume. Existing developers need it once after the database name and +credentials change. Fresh clones do not need it. cd +~/developer/SecureShift git switch main git pull –ff-only docker compose +down -v docker compose up –build -d docker compose ps After this +one-time reset, use docker compose down without -v for normal shutdown. +3. Full Docker Compose workflow Windows / WSL2 cd +~/developer/SecureShift docker compose up –build -d docker compose ps +curl -i http://localhost:5000/api/v1/health • Employer panel: +http://localhost:3000 • Swagger: http://localhost:5000/api-docs/ • +MongoDB Compass: use the localhost connection in Section 7. macOS If +port 5000 is occupied, create a root .env file: cd /path/to/SecureShift +cp .env.example .env Uncomment or add: BACKEND_HOST_PORT=5001 + +SecureShift Backend Onboarding — Version 1.1 docker compose up –build -d +docker compose ps curl -i http://localhost:5001/api/v1/health • Employer +panel: http://localhost:3000 • Swagger: http://localhost:5001/api-docs/ +• MongoDB Compass still uses localhost:27017 unless MONGODB_HOST_PORT is +overridden. 4. Recommended backend-development workflow This is the +fastest workflow for backend contributors. MongoDB stays in Docker, +while the backend runs directly with Nodemon for immediate reloads and +easier debugging. Windows / WSL2 cd ~/developer/SecureShift docker +compose down docker compose up -d mongodb docker compose ps Create or +edit app-backend/.env: NODE_ENV=development PORT=5000 +MONGO_URI=mongodb://secureshift_app:secureshift_app_password@localhost:27017/secureshift_local?authSource=secureshi +ft_local + +JWT_SECRET= LICENCE_ENC_KEY= + +EMAIL_ENABLED=false SMTP_HOST=localhost SMTP_PORT=587 SMTP_SECURE=false +SMTP_USER=local@example.test SMTP_PASS=local-dev-password +SMTP_FROM_EMAIL=local@example.test + +SEED_ALLOW_LOCAL=false SEED_RESET_CONFIRM= cd app-backend git +check-ignore -v .env npm install npm run dev curl -i +http://localhost:5000/api/v1/health macOS cd /path/to/SecureShift docker +compose down docker compose up -d mongodb docker compose ps Create or +edit app-backend/.env. If port 5000 is occupied, use PORT=5001: +NODE_ENV=development PORT=5001 +MONGO_URI=mongodb://secureshift_app:secureshift_app_password@localhost:27017/secureshift_local?authSource=secureshi +ft_local + +JWT_SECRET= LICENCE_ENC_KEY= + +EMAIL_ENABLED=false SMTP_HOST=localhost SMTP_PORT=587 + +SecureShift Backend Onboarding — Version 1.1 SMTP_SECURE=false +SMTP_USER=local@example.test SMTP_PASS=local-dev-password +SMTP_FROM_EMAIL=local@example.test + +SEED_ALLOW_LOCAL=false SEED_RESET_CONFIRM= cd app-backend git +check-ignore -v .env npm install npm run dev curl -i +http://localhost:5001/api/v1/health 5. Generate local backend secrets +Run these commands separately on each machine: openssl rand -hex 32 +openssl rand -base64 32 • Paste the first value into JWT_SECRET. • Paste +the second value into LICENCE_ENC_KEY. • Different values on WSL and Mac +are fine for independent local databases. • Use the same values only +when both machines must decrypt the same encrypted records or preserve +compatible sessions against a shared database. • Keep each +LICENCE_ENC_KEY stable once meaningful local encrypted data exists. • +Never commit app-backend/.env. 6. Populate the local database with seed +data The seed workflow creates deterministic fictional development data +for backend, employer frontend and Guard App testing. It is idempotent: +running it again updates the same records rather than duplicating them. +Safety: The seed refuses production, Atlas/SRV, remote hosts and any +database except secureshift_local, secureshift_dev or secureshift_test. +Reset deletes only deterministic seed IDs and requires an exact +confirmation string. Backend outside Docker; MongoDB in Docker In +app-backend/.env, temporarily set: NODE_ENV=development +SEED_ALLOW_LOCAL=true +MONGO_URI=mongodb://secureshift_app:secureshift_app_password@localhost:27017/secureshift_local?authSource=secureshi +ft_local Then run from app-backend: npm run seed +SEED_RESET_CONFIRM=SecureShiftLocalReset npm run seed:reset Reset: +seed:reset removes only known seeded records. It does not empty the +entire database. Set SEED_ALLOW_LOCAL back to false when you do not need +seeding. Seed alongside Docker Compose From the repository root, use +one-off backend containers. Compose supplies the internal mongodb +hostname automatically: docker compose run –rm -e SEED_ALLOW_LOCAL=true +backend npm run seed + +docker compose run –rm -e SEED_ALLOW_LOCAL=true -e +SEED_RESET_CONFIRM=SecureShiftLocalReset backend npm run seed:reset + +SecureShift Backend Onboarding — Version 1.1 Seeded test accounts All +seeded accounts use the local-only password SecureShift1!. Employer and +guard login still use the normal OTP flow; the seed does not bypass OTP. +Role Scenario Email Admin Admin access admin.local@secureshift.test +Employer Operations employer ops.local@secureshift.test Employer Venue +employer venue.local@secureshift.test Guard Approved licence +mia.guard@secureshift.test Guard Pending licence +noah.guard@secureshift.test Guard Rejected licence +isha.guard@secureshift.test Guard Expired licence +liam.guard@secureshift.test + +The seed also creates roles, two branches, guard availability, five +shift scenarios, attendance, isolated payroll, messages a nd +notifications. Payroll generation is scoped to the deterministic seeded +completed shift and does not absorb unrelated developer-created shifts. +Fixture time zones: Some seed helpers currently mix local-time and UTC +calculations. Scenarios and durations remain correct, but absolute +stored timestamps can differ between Docker UTC and a host such as +Adelaide. This is acceptable for local fixtures and may be normalised +later. 7. MongoDB Compass connection Create a new Compass connection +named SecureShift Local Docker: +mongodb://secureshift_app:secureshift_app_password@localhost:27017/secureshift_local?authSource=secureshift_local +If localhost does not work, try: +mongodb://secureshift_app:secureshift_app_password@127.0.0.1:27017/secureshift_local?authSource=secureshift_local +Confirm MongoDB is published to the host: docker compose ps Expected +port mapping: 0.0.0.0:27017->27017/tcp Check collection document counts: +docker compose exec mongodb mongosh +“mongodb://secureshift_app:secureshift_app_password@localhost:27017/secureshift_local?authSource=secureshift_local” +–quiet –eval ‘db.getCollectionNames().forEach(c => print(c + “:” + +db.getCollection(c).countDocuments({})))’ Empty collections: After +docker compose down -v, previous local documents are gone. Empty +collections with indexes are normal until data is created or npm run +seed is run. 8. MongoDB 6 end-of-life warning MongoDB Compass may warn +that MongoDB 6 has reached end of life because the current Compose file +uses mongo:6. This does not prevent local development and is not the +cause of empty collections. • Do not silently change docker-compose.yml +on main. • Treat a MongoDB image upgrade as a separate tested PR. • Test +application compatibility, clean-volume startup, authentication, health +checks and the migration path. 9. Email and verification codes +EMAIL_ENABLED=false means no genuine SMTP account is required. The +local@example.test values are placeholders; real emails and verification +codes will not be sent. + +SecureShift Backend Onboarding — Version 1.1 To test real email +delivery, obtain the team’s private SMTP configuration: +EMAIL_ENABLED=true SMTP_HOST= SMTP_PORT= SMTP_SECURE= SMTP_USER= +SMTP_PASS= SMTP_FROM_EMAIL= • Store real credentials only in the ignored +app-backend/.env. • Never post SMTP passwords in GitHub, Teams channels +or documentation. • The seed does not bypass OTP. When email is +disabled, use Compass or an approved development workflow to inspect +local users and statuses. 10. Validation checklist • docker compose ps +shows secureshift-db healthy. • Backend health returns HTTP 200 with +{“status”:“ok”}. • Compass connects to secureshift_local through +localhost:27017. • npm run seed produces stable counts on repeated runs. +• npm run seed:reset removes seeded records but preserves unrelated +local records. • git check-ignore -v app-backend/.env confirms the +private environment file is ignored. • No real passwords, SMTP +credentials, JWT secrets or encryption keys are committed. 11. +Troubleshooting Symptom Likely cause and fix getaddrinfo EAI_AGAIN +mongodb Backend is outside Docker. Change @mongodb:27017 to +@localhost:27017 in app-backend/.env. Compass connects but shows zero +documents The volume was reset, this is a different local database, or +seed data has not been loaded. Run npm run seed or the Docker seed +command. Mongo healthcheck fails with UserNotFound An old volume still +contains old credentials. Run docker compose down - v once, then +rebuild. Port 5000 already in use on Mac Use PORT=5001 for a host-run +backend and BACKEND_HOST_PORT=5001 for the full Compose stack. Seed +refuses to run Confirm NODE_ENV is not production, +SEED_ALLOW_LOCAL=true, the URI is explicit and authenticated, and the +database name is exactly secureshift_local, secureshift_dev or +secureshift_test. Seed reset refuses to run Set +SEED_RESET_CONFIRM=SecureShiftLocalReset for that command. No +verification email arrives EMAIL_ENABLED is false or SMTP settings are +placeholders. Use valid private SMTP settings. Atlas URI returns +ESERVFAIL This is separate from local Docker MongoDB. Use the localhost +connection for local work. + +12. Daily command summary Backend development - WSL cd + ~/developer/SecureShift docker compose up -d mongodb cd app-backend + npm run dev + +SecureShift Backend Onboarding — Version 1.1 Backend development - Mac +cd /path/to/SecureShift docker compose up -d mongodb cd app-backend npm +run dev Load local seed data - host-run backend cd app-backend npm run +seed Load local seed data - Docker docker compose run –rm -e +SEED_ALLOW_LOCAL=true backend npm run seed Full stack check cd +/path/to/SecureShift docker compose down docker compose up –build -d +docker compose ps Normal shutdown docker compose down diff --git a/app-backend/knowledge-base/docs/guard_app_onboarding.txt b/app-backend/knowledge-base/docs/guard_app_onboarding.txt new file mode 100644 index 000000000..ed0d9c24b --- /dev/null +++ b/app-backend/knowledge-base/docs/guard_app_onboarding.txt @@ -0,0 +1,215 @@ +Guard App Onboarding Guide Local setup · Guard App on Expo Go · Backend +API with Swagger For new contributors · Version 1.0 + +1. Project Overview + +SecureShift is a security-guard staffing platform. The repository holds +three applications plus a database, wired together so guards, employers, +and admins share one backend API. + +Component: app-backend What it is: Node.js + Express 5 REST API with +MongoDB (Mongoose), JWT + 2FA auth, and Swagger docs. Local URL: +http://localhost:5000 + +Component: app-frontend/employer-panel What it is: React web app +(employer/admin panel). Local URL: http://localhost:3000 + +Component: guard_app What it is: React Native + Expo (TypeScript) mobile +app for guards. Runs in Expo Go. Expo dev server: :8081 + +Component: MongoDB What it is: Database (runs via Docker, image +mongo:6). Local URL: localhost:27017 + +The backend serves all routes under /api/v1 and exposes interactive +Swagger docs at /api-docs. Both frontends talk to it through a +centralized Axios instance that attaches the JWT automatically. + +2. Prerequisites + +- Node.js v18+ and npm. +- Git. +- Docker + Docker Compose (easiest way to run the backend, DB, and + employer panel together). +- Expo Go app installed on your physical iOS/Android phone (from the + App Store / Play Store). +- Optional: Android Studio (Android emulator) or Xcode (iOS simulator, + macOS only). +- Optional: MongoDB Compass to inspect the database. + +3. Clone the repository + +git clone https://github.com/Gopher-Industries/SecureShift.git cd +SecureShift + +4. Run the backend + database + +You can run the backend either with Docker (recommended) or directly +with Node. Either way it must be running before the Guard App can log +in. + +4.1 Create the backend .env + +Create app-backend/.env (never commit it). .env file will be shared in +the group by the leader. + +A template is available at app-backend/.env.example — copy it (cp +.env.example .env) and fill in the shared values. + +4.2 Option A — Docker Compose (recommended) + +From the repo root, this builds and starts the backend, MongoDB, and the +employer panel: + +docker compose up –build -d + +Verify the stack is up: Backend API: http://localhost:5000 Swagger docs: +http://localhost:5000/api-docs Employer panel: http://localhost:3000 +MongoDB: localhost:27017 + +Stop everything with docker compose down (add -v to also wipe the DB +volume). + +Step-by-step walkthrough (from scratch) + +1. In the backend application folder, create a new .env file and copy + the configuration into it (see section 4.1). +2. Go back to the root of the project. The docker-compose.yml file is + the “recipe” — it defines the containers, ports, settings, and + dependencies the project is built from. +3. Make sure Docker is installed and running. Test it with: docker ps +4. From the project root, build and start everything. The first build + takes a while — let it finish. docker compose up +5. Once it’s built, run docker ps again to confirm the containers are + up and healthy. docker ps +6. Open the Swagger UI: http://localhost:5000/api-docs +7. Open the employer panel: http://localhost:3000 + +Detached vs. attached + +Running docker compose up in the foreground lets you watch the build +logs. Add -d to run it in the background once you’re comfortable: docker +compose up –build -d + +4.3 Option B — Run backend with Node directly + +If you want hot-reload on the backend, run MongoDB (via Docker or +locally) and then: + +cd app-backend npm install npm run dev # nodemon server.js (hot reload) +# or: npm start # node server.js + +Confirm it started + +The console prints Server running on http://localhost:5000 and Swagger +UI: http://localhost:5000/api-docs. Open the Swagger URL in a browser to +confirm. + +5. Run the Guard App in Expo Go + +The Guard App is an Expo managed React Native app. Expo Go lets you run +it on your phone with no native build. + +5.1 Install dependencies + +cd guard_app npm install + +5.2 Start the dev server + +npm start # expo start (shows a QR code) npm run android # expo start +–go –android (emulator/device) npm run ios # expo start –go –ios +(simulator, macOS) npm run web # expo start –web + +Run npm start inside guard_app. Metro starts, prints a QR code, and +shows a command menu: Press s: switch to Expo Go Press a: open Android +Press i: open iOS simulator Press w: open web Press r: reload app Press +?: show all commands + +Step 1 — Switch to Expo Go. If the terminal says Using development +build, press s to switch to Expo Go. Expo Go runs on your phone with no +native build. + +Step 2 — Choose how to run the app: + +Physical phone (Expo Go): open Expo Go and scan the QR code — Android: +scan inside the Expo Go app; iOS: scan with the Camera app. Your phone +and computer must be on the same Wi-Fi. + +Android emulator: press a (requires Android Studio). iOS simulator +(macOS only): press i (requires Xcode). Web browser: press w. + +The bundle builds and the app opens with live reload. Press r to reload, +m to toggle the menu, or ? to list all commands. + +5.3 Connect the app to the backend + +Expo Go runs the app on your phone, but the phone still has to reach the +backend running on your computer. The Guard App works this out +automatically, with one requirement. + +Your phone and computer must be on the same Wi-Fi network. Expo detects +your computer’s local network address and the app connects to it on port +5000 automatically — so on a physical phone this just works, as long as +both devices share the same network. + +The default backend port is 5000, and it works out of the box on +Windows/WSL with no extra configuration. + +ONLY FOR MAC USERS + +On macOS, AirPlay Receiver often occupies port 5000, so the backend is +commonly run on 5001. When your backend is not on 5000, point the app at +it by creating a guard_app/.env file: + +EXPO_PUBLIC_API_BASE_URL=http://192.168.x.x:5001 + +Use your computer’s LAN IP here, not localhost, when testing on a +physical phone. Do not include /api/v1 — the app appends it +automatically. Restart the Expo dev server after changing .env. + +5.4 First run — sign up and get approved + +On first launch the app may open straight onto the dashboard showing +“Welcome back, Guard!” — this is a left-over session from a +previous/seeded login. To create your own account, sign out first. + +1. Open Settings and tap Log out. You’ll land on the Sign Up screen. +2. Fill in Email, Full Name, Password, and Confirm Password. +3. Tap Upload your security license and attach a photo (for testing, + any image works). +4. Tap Sign Up. +5. Your account isn’t active yet — ask your team leader / supervisor to + approve your request. Once approved, log in and you’ll reach the + dashboard. + +After approval, logging in with your own account shows your dashboard. + +Already have an account? On the Sign Up screen, tap Login at the bottom +instead. + +6. Repository structure + +SecureShift/ ├─ docker-compose.yml # backend + mongo + employer panel ├─ +app-backend/ # Express API │ ├─ server.js app.js │ └─ src/ routes +controllers services models config(swagger) middleware ├─ +app-frontend/employer-panel/ # React web (admin/employer) └─ guard_app/ +# React Native + Expo (guards) └─ src/ screen components navigation api +lib(http) models theme i18n locales types utils + +7. Dev workflow & conventions + +- Branching: never commit to main directly. Create a feature branch + (e.g. frontend/yourname-payroll-page), and open PRs into the team’s + integration branch — not main. PRs must be reviewed before merge. +- Run tests before every PR: npm test in each package you touched + (app-backend, guard_app, and app-frontend/employer-panel). Confirm + the app builds and ESLint passes. +- Guard app scripts: npm run lint, npm run format, npm test (Jest). + Husky runs hooks on commit. +- Backend scripts: npm run dev, npm run lint, npm run format, npm test + (Jest, runInBand). +- Employer panel scripts: npm start, npm run build, npm test. +- Env files: never commit .env. Copy from the .env.example files where + provided. + +You’re set up — backend on :5000, Swagger at /api-docs, Guard App live +in Expo Go. Happy building. \ No newline at end of file diff --git a/app-backend/knowledge-base/docs/onboarding.txt b/app-backend/knowledge-base/docs/onboarding.txt new file mode 100644 index 000000000..bad581471 --- /dev/null +++ b/app-backend/knowledge-base/docs/onboarding.txt @@ -0,0 +1,412 @@ + + +Secure Shift +Onboarding for the frontend +1.Welcome +Welcome to the SecureShift Frontend Panel Team! +Congratulations on joining the project. We are excited to have you on board and look forward to +working with you throughout this trimester. +SecureShift is a large, real-world software engineering project where students collaborate in agile +teams to develop a workforce management platform for the security industry. As members of the +Frontend Team, you will contribute to building intuitive, reliable, and scalable user interfaces +while working closely with the Backend and Mobile teams. +Whether you are new to React or already have frontend development experience, this guide will +help you understand the project, set up your development environment, and begin contributing +effectively. + + +2.About SecureShift +SecureShift is a workforce management platform designed to simplify the daily operations of +security companies. +The system enables employers to manage every aspect of their workforce from a single +application. +Main Features +• Shift Management +• Employee Management +• Attendance Tracking +• Payroll Management +• Incident Reporting +• Equipment Management +• Employer and Guard Communication +• Notifications +• Multi-language Support +• Dashboard and Analytics +Example Workflow +Without SecureShift: +Employer creates shifts manually → Contacts guards individually → Attendance is recorded on +paper → Payroll is calculated manually. +With SecureShift: +Employer creates a shift → Guard receives notification → Guard accepts shift → Guard checks +in using the mobile app → Attendance is recorded automatically → Payroll is generated digitally. + +3.Project Architecture +The project consists of three major components: +Frontend Panel +The Frontend Panel is developed using React and serves as the web interface for the SecureShift platform. +Currently, the frontend consists of the Employer Panel, which allows employers to manage: +• Guards +• Shifts +• Payroll +• Timesheets +• Incident Reports +• Equipment +• Notifications +• Daily Activity Tracking +• Reports +This trimester, one of our primary objectives is to develop the new Admin Panel. The Admin Panel will +provide administrators with a dedicated interface to manage the overall system, including users, roles, +platform settings, monitoring, and other administrative functions. The frontend team will be responsible +for designing, implementing, and integrating this new panel with the existing backend APIs. +Current Focus: Employer Panel (Existing) +Trimester 2 Goal: Design and develop the new Admin Panel while continuing to maintain and enhance +the Employer Panel. +This wording clearly explains the current state of the project and highlights what the new frontend team +will be working on. +Backend +Developed using Node.js and Express. +Provides REST APIs, authentication, business logic, and database communication. +Guard Mobile App +Developed using React Native. +Allows guards to apply for shifts, check in/out, report incidents, receive notifications, and +communicate with employers. +All three systems communicate through the backend APIs. + +4.Technology Stack +Technology Purpose +React Frontend Development +React Router Navigation +Axios API Communication +Material UI User Interface Components +Node.js Backend Development +Express REST API Framework +MongoDB Database +Docker Local Development Environment +GitHub Version Control +MS Planner Sprint Management +Swagger API Documentation +Postman API Testing + + + + + + +5.Employer Panel Overview +The Employer Panel allows employers to manage the entire workforce through an easy-to-use +web interface. +Some of the pages include: +• Dashboard +• Shift Management +• Timesheets +• Payroll +• Guard Management +• Incident Reports +• Equipment Management +• Notifications +• Chat +• Daily Activity Tracking +• Profile Management +Most frontend tasks involve creating user interfaces, integrating APIs, handling application state, +validating forms, and improving user experience. + +6.Development Environment Setup +Before writing any code, complete the following steps. +Step 1 +Clone both repositories. +• Frontend Repository +• Backend Repository +Step 2 +Install: +• Node.js +• Docker Desktop +• Visual Studio Code +• Git +Step 3 +Run the project using Docker. +Verify that: +• MongoDB starts successfully +• Backend runs without errors +• Frontend loads correctly +• Login page is accessible +Important: Many issues experienced by previous teams were caused by incomplete Docker +setup. Ensure your environment is working before beginning development. +Video Link- How to get project in to your locals- 2026-07-12 10-47-12.mkv +Part2- +https://1drv.ms/v/c/4916f816167acfd5/IQATx7k7xjEGRJSCV19Wpr2EARx_9Kbl5IcberniYdFI +Gto?e=9BaD0U + +1. Clone the repository +Open PowerShell: +cd "C:\Users\..................\SIT378_SIT782 - Team Project B - Execution and Delivery" +Clone: +git clone https://github.com/Gopher-Industries/SecureShift.git +Go into the project: +cd SecureShift + +2. Create your own branch +Check branches: +git branch +Update main: +git checkout main +git pull origin main +Create your branch: +git checkout -b frontend/………………. +Confirm: +git branch +You should see: +* frontend/………… + main + +Backend Setup +3. Go to backend folder +cd app-backend +Check files: +dir + +4. Create .env +Create a file: +app-backend/.env +Add: +MONGO_URI= +PORT= +JWT_SECRET= +SMTP_HOST= +SMTP_PORT= +SMTP_SECURE= +Save. +Docker Setup +5. Go back to project root +Cd .. +You should be here: +SecureShift +Check: +dir +You should see: +docker-compose.yml +app-backend +app-frontend + +6. Check Docker is installed +docker --version +docker compose version + +7. Stop old containers (if already running) +Because you already have containers: +docker compose down + +8. Build and start containers +Run: +docker compose up --build -d +Wait until it completes. + +9. Check containers +docker ps +Expected: +secureshift-backend +secureshift-db +secureshift-frontend-employer + +Testing +10. Backend +Open: +http://localhost:5000 +If you see: +Cannot GET / +that is OK. + +11. Swagger API +Open: +http://localhost:5000/api-docs +You should see API documentation. + +12. Frontend +Open: +http://localhost:3000 +You should see: +Employer Panel + +Useful Docker Commands +See logs +Backend: +docker logs secureshift-backend +Frontend: +docker logs secureshift-frontend-employer +Database: +docker logs secureshift-db + +Restart everything +docker compose restart + +Stop everything +docker compose down + +After making code changes +docker compose up --build -d + +Git workflow after changes +Check changes: +git status +Add: +git add . +Commit: +git commit -m "Setup local environment" +Push your branch: +git push origin frontend/………… + + + +7.Understanding the Frontend Project Structure +You will mainly work within the following folders: +src/ +components/ +pages/ +layouts/ +hooks/ +services/ +routes/ +assets/ +utils/ +Example +Suppose you are assigned the task: +"Improve the Payroll Page." +You may need to modify: +pages/Payroll.jsx +services/payrollService.js +components/PayrollTable.jsx +The page displays the data, the service communicates with the backend, and the component +presents reusable UI elements. + +8.How Frontend Communicates with Backend +Most pages follow the same flow: +1. User performs an action. +2. React component captures the event. +3. Axios sends a request to the backend API. +4. Backend processes the request. +5. MongoDB stores or retrieves data. +6. Backend returns a response. +7. React updates the interface. +Example +When an employer approves a shift: +User clicks "Approve" +↓ +React calls +POST /api/shifts/approve +↓ +Backend validates request +↓ +Database updates +↓ + +Frontend refreshes +↓ +Status changes to "Approved" + +9.Git Workflow +We follow a feature-branch workflow. +Never develop directly on the main branch. +Typical workflow: +1. Pull the latest main branch. +2. Create a new feature branch. +3. Implement your feature. +4. Test locally. +5. Commit changes. +6. Push your branch. +7. Create a Pull Request. +8. Wait for review before merging. +Example branch names: +frontend/yourname-payroll-page +frontend / yourname -dashboard-improvements +frontend / yourname -chat-notification +frontend / yourname -equipment-management + +10.Coding Standards +To maintain consistency across the project: +• Follow ESLint rules. +• Use Prettier formatting. +• Write reusable React components. +• Keep components modular. +• Avoid unnecessary duplication. +• Write meaningful commit messages. +• Keep Pull Requests focused on one feature. + +11.Current Project Status +The previous team completed significant development across the project. +Employer Panel +Completed: +• Timesheets +• Payroll +• Daily Activity Tracking +• Employer Dashboard +• Chat System +• Notifications +• Equipment Management +• Multi-language Support +• Privacy Policy +• Terms and Conditions +• UI Improvements +• Bug Fixes +• Security Improvements + +12.Current Priorities for This Trimester +As the new Frontend Team, our priorities include: +• Completing remaining backend integrations. +• Implementing newly designed Figma pages. +• Improving application performance. +• Fixing existing bugs. +• Strengthening frontend security. +• Increasing test coverage. +• Supporting AI feature integration. +• Improving overall user experience. + +13.Known Issues +Some issues remain from the previous trimester. +Guard Page +Currently blocked due to a backend Role-Based Access Control (RBAC) issue. +The frontend implementation is mostly complete but cannot retrieve guard data until the backend +issue is resolved. + +14.Team Communication +Our primary communication platforms are: +• Microsoft Teams +• GitHub +• MS Planner +Please keep your Planner tasks updated and communicate any blockers early. +If you are stuck on a task for an extended period, ask for assistance rather than waiting. + +15.Pull Request Checklist +Before submitting a Pull Request, ensure that: +• The application builds successfully. +• Your feature has been tested locally. +• ESLint passes without errors. +• No unnecessary files are included. +• Screenshots are attached (where applicable). +• The Pull Request description clearly explains your changes. +16.Resources +Please familiarise yourself with the following resources before starting development: +• GitHub Repository +• Swagger API Documentation +• System Architecture Document +• Entity Relationship Diagram (ERD) +• Figma Designs +• User Manual +• MS Planner + +17.Tips for Success +• Pull the latest changes regularly. +• Test before committing. +• Keep commits small and meaningful. +• Read the API documentation before integrating endpoints. +• Ask questions whenever something is unclear. +• Collaborate with teammates and support one another. +• Focus on writing clean, maintainable code rather than rushing to complete tasks. + +18.Final Message +SecureShift is more than a university assignment—it is an opportunity to experience professional +software development practices in a collaborative environment. +Throughout this trimester, you will work with modern technologies, follow Agile methodologies, +participate in code reviews, collaborate across multiple teams, and contribute to a real-world +application. +Every contribution, whether it is a new feature, a bug fix, or a code improvement, plays an +important role in the success of the project. +On behalf of the Frontend Team, welcome to SecureShift. We look forward to working with you +and wish you a successful and enjoyable trimester. \ No newline at end of file diff --git a/app-backend/knowledge-base/guide/Backend_Onboarding_v1.1.pdf b/app-backend/knowledge-base/guide/Backend_Onboarding_v1.1.pdf new file mode 100644 index 000000000..24cd03ad6 Binary files /dev/null and b/app-backend/knowledge-base/guide/Backend_Onboarding_v1.1.pdf differ diff --git a/app-backend/knowledge-base/guide/Guard App Onboarding Guide.pdf b/app-backend/knowledge-base/guide/Guard App Onboarding Guide.pdf new file mode 100644 index 000000000..ff8c88ece Binary files /dev/null and b/app-backend/knowledge-base/guide/Guard App Onboarding Guide.pdf differ diff --git a/app-backend/knowledge-base/guide/Onboarding.pdf b/app-backend/knowledge-base/guide/Onboarding.pdf new file mode 100644 index 000000000..f454524c1 Binary files /dev/null and b/app-backend/knowledge-base/guide/Onboarding.pdf differ diff --git a/app-backend/knowledge-base/vectors/backend_onboarding_v1.1.json b/app-backend/knowledge-base/vectors/backend_onboarding_v1.1.json new file mode 100644 index 000000000..90bc1d0b5 --- /dev/null +++ b/app-backend/knowledge-base/vectors/backend_onboarding_v1.1.json @@ -0,0 +1,4658 @@ +[ + { + "id": "backend_onboarding_v1.1.txt-0", + "document": "backend_onboarding_v1.1.txt", + "section": "General", + "text": "SecureShift Backend Onboarding — Version 1.1 SecureShift Backend\nOnboarding\nWindows 11 + WSL2 and macOS | Docker, host -run backend, MongoDB\nCompass, seed data and email\nVersion 1.1 — updated for local development seed data Recommended\neveryday backend setup: Run MongoDB in Docker, run the backend directly\nin WSL or macOS with Nodemon, and connect MongoDB Compass to localhost.\nRecommended full-system check: Run MongoDB, backend and employer\nfrontend together with Docker Compose. 1. Understand the two MongoDB\nhostnames • Use mongodb:27017 only when the backend itself runs inside\nDocker Compose. • Use localhost:27017 when the backend runs directly in\nWSL, Windows or macOS. • MongoDB Compass on Windows or macOS also\nconnects to localhost:27017. Inside Docker Compose:\nmongodb://secureshift_app:secureshift_app_password@mongodb:27017/secureshift_local?authSource=secureshift_local\nOutside Docker / Compass:\nmongodb://secureshift_app:secureshift_app_password@localhost:27017/secureshift_local?authSource=secureshift_local\n2. First-time setup after pulling the Docker onboarding changes Warning:\nThe reset below permanently deletes the existing local Docker MongoDB\nvolume. Existing developers need it once after the database name and\ncredentials change. Fresh clones do not need it. cd\n~/developer/SecureShift git switch main git pull –ff-only docker compose\ndown -v docker compose up –build -d docker compose ps After this\none-time reset, use docker compose down without -v for normal shutdown.\n3. Full Docker Compose workflow Windows / WSL2 cd\n~/developer/SecureShift docker compose up –build -d docker compose ps\ncurl -i http://localhost:5000/api/v1/health • Employer panel:\nhttp://localhost:3000 • Swagger: http://localhost:5000/api-docs/ •\nMongoDB Compass: use the localhost connection in Section 7. macOS If\nport 5000 is occupied, create a root .env file: cd /path/to/SecureShift", + "embedding": [ + 0.05900703, + 0.055978604, + -0.16626622, + 0.005828624, + 0.0093724895, + -0.06854999, + 0.044649452, + 0.023109252, + -0.03521715, + -0.05420585, + -0.033921823, + 0.037586804, + 0.05428223, + 0.036486425, + 0.025168952, + 0.028142981, + -0.0025109327, + 0.0011477284, + 0.054489195, + -0.010921496, + -0.01324249, + -0.061917517, + -0.013218304, + 0.021499632, + 0.07657629, + 0.07077508, + -0.00081022794, + 0.00032221436, + -0.0045151147, + 0.023211164, + 0.068511136, + 0.049734183, + -0.020304414, + 0.007192474, + -0.048713677, + -0.08252213, + -0.015873993, + -0.06468254, + -0.021811694, + 0.009462801, + 0.013400087, + -0.0040931376, + -0.0010208361, + -0.050914317, + 0.03941722, + -0.0025886032, + 0.09405117, + -0.037732434, + 0.059574325, + -0.10365682, + -0.024314383, + 0.0156665, + -0.0062570577, + -0.0023418867, + 0.009021636, + -0.0017932045, + 0.011793175, + 0.037274104, + -0.012410171, + -0.046588194, + 0.07747969, + 0.052599408, + -0.004401354, + 0.049477488, + -0.009953725, + 0.024196528, + -0.021133533, + 0.041762035, + -0.0015352997, + 0.003172984, + 0.051157724, + 0.003053812, + 0.0007880175, + 0.015346329, + 0.029734366, + -0.00055185746, + 0.012916748, + -0.031014934, + -0.046020262, + 0.021379273, + 0.025244165, + -0.016509108, + 0.05717701, + 0.010076201, + 0.025771812, + 0.013123942, + -0.026379675, + 0.010065655, + -0.07050209, + 0.05659679, + -0.016133504, + -0.010397212, + 0.0021407206, + 0.08817192, + -0.040925264, + 0.024402102, + 0.027749052, + 0.014513808, + -0.04874074, + -0.059382867, + -0.012338488, + -0.046254445, + -0.030744867, + 0.026528992, + 0.021443004, + 0.05806823, + -0.0074140998, + 0.018612968, + 0.010633771, + 0.015544579, + -0.024722384, + 0.03142951, + 0.017315779, + 0.03326817, + -0.008462772, + -0.0046281284, + 0.07214971, + -0.03569147, + 0.017684828, + 0.049562998, + -0.0293374, + -0.023922341, + 0.011698105, + 0.025591202, + 0.048984416, + 0.063579746, + -0.03781509, + -0.03380739, + 0.0013420444, + -0.040898785, + 0.01663842, + -0.05049049, + -0.07261654, + 0.028611904, + 0.025025802, + 0.014143582, + -0.043647476, + 0.0026024117, + 0.034600697, + -0.012636791, + -0.009160669, + 0.024625825, + -0.016024351, + 0.012182612, + 0.009266845, + -0.026540495, + 0.0390577, + -0.016086493, + -0.018925289, + 0.03168218, + -0.0031610127, + -0.015190759, + 0.0038524705, + 0.035072427, + 0.018734597, + -0.043644875, + -0.008042878, + 0.006294595, + 0.08154205, + 0.06457897, + 0.063331634, + -0.005033514, + -0.0037154937, + 0.044629395, + 0.00023379465, + -0.024819989, + 0.05079809, + 0.054987, + 0.012498936, + 0.032798808, + -0.04309312, + -0.07130792, + 0.014869025, + 0.023280323, + 0.0055811857, + -0.017143019, + 0.010831517, + -0.06147306, + 0.018843085, + 0.019082746, + 0.04902847, + 0.0067862566, + 0.032596145, + 0.002569027, + -0.01921446, + 0.0027991838, + -0.0007881236, + -0.067226015, + 0.0018203876, + -0.015037429, + 0.0351188, + 0.008827563, + -0.0941675, + -0.022994794, + -0.037994113, + -0.005368916, + 0.054269947, + -0.018995494, + -0.01105486, + -0.0019442023, + -0.010349164, + 0.06119672, + -0.042851314, + 0.038151216, + -0.06794171, + 0.044285573, + 0.022086626, + -0.015164589, + 0.01126455, + -0.00707702, + 0.03436571, + -0.03774982, + -0.006142878, + -0.071901836, + 0.055664994, + -0.022554979, + 0.039121177, + -0.0219575, + 0.040141307, + -0.009518284, + 0.021052666, + 0.0046924064, + 0.056332227, + -0.036827303, + 0.06755183, + -0.006084932, + -0.063018374, + -0.0086453315, + -0.012336548, + 0.011561643, + -0.019761981, + -0.05054768, + 0.012019502, + 0.02967272, + 0.025700051, + -0.028047984, + 0.0108388215, + 0.03092588, + 0.007276323, + 0.049894523, + 0.021364037, + 0.016478634, + -0.020920103, + -0.0050949883, + -0.037851736, + -0.0032599422, + 0.018839698, + -0.072003014, + 0.03685102, + 0.012996468, + 0.022691898, + -0.007298111, + 0.06155378, + 0.002608568, + 0.023056468, + -0.042266496, + -0.026649658, + -0.047747873, + -0.0077428045, + -0.063264, + -0.0008304417, + -0.05999584, + 0.01433376, + -0.032181386, + -0.016052036, + -0.0482158, + -0.043489687, + 0.015016514, + 0.06116645, + -0.049162533, + 0.038750302, + 0.017863337, + 0.002789009, + 0.08937451, + 0.007365512, + 0.0166162, + 0.014702083, + 0.0005902494, + -0.010197665, + 0.048173547, + -0.05160494, + -0.060844034, + -0.025917139, + -0.0064502996, + -0.04438415, + 0.018134449, + 0.053211514, + -0.020834036, + 0.022301931, + -0.0007250766, + 0.08050884, + 0.033868, + 0.027811972, + 0.038083002, + 0.028805722, + 0.031958442, + 0.012679453, + -0.041040897, + 0.00030448928, + -0.03624642, + 0.03887178, + 0.047858164, + 0.07314964, + 0.014210655, + -0.02943256, + -0.021338176, + 0.029120611, + 0.021367123, + 0.032942932, + 0.029744172, + -0.039549295, + 0.0032402503, + -0.004430233, + 0.03449654, + -0.027122082, + 0.024057455, + 0.0125229, + 0.019886095, + 0.011852133, + -0.050015595, + 0.014461916, + -0.011122269, + -0.006345595, + -0.09857171, + 0.033499192, + 0.07406513, + -0.015587798, + 0.03417255, + -0.04310782, + -0.029191352, + 0.04478769, + 0.04288173, + 0.050806016, + -0.0071742884, + -0.03389712, + 0.010406895, + 0.012593804, + 0.026352216, + -0.0017470408, + 0.050378077, + 0.06014013, + -0.038403124, + 0.000073052885, + -0.027007863, + -0.04809012, + -0.013153438, + -0.039721526, + -0.0025390903, + 0.045672413, + 0.0904376, + -0.021312663, + 0.012922033, + 0.010676827, + 0.0300462, + -0.0025822704, + -0.04988208, + -0.028016228, + 0.003943799, + -0.04239516, + 0.03923103, + -0.0022211983, + 0.013950561, + 0.029545542, + -0.03758117, + 0.015835337, + 0.01971614, + 0.01790516, + -0.022325523, + 0.024230264, + -0.003373247, + -0.0121633485, + -0.038008768, + -0.00994435, + -0.028691301, + 0.03306136, + 0.0011902585, + -0.026408825, + 0.0032587547, + 0.05154811, + 0.013916794, + 0.058690064, + 0.017571444, + -0.028115798, + 0.010309404, + -0.0068011805, + 0.039102826, + 0.032591693, + 0.0033723, + -0.0012292417, + 0.07637793, + -0.0024182806, + -0.061257694, + -0.0031346339, + -0.01400462, + 0.07657828, + 0.018285496, + 0.0017801955, + 0.016803565, + -0.020558069, + 0.042748418, + -0.06694987, + -0.056870118, + -0.012689864, + 0.02409145, + -0.014377992, + -0.007771889, + -0.045469336, + -0.02617948, + 0.018664856, + -0.004379598, + 0.0813752, + -0.011214198, + 0.0042840354, + -0.036337167, + 0.01353032, + -0.059558593, + 0.08022562, + -0.007346382, + -0.03798466, + -0.045177236, + 0.02960694, + 0.057892825, + -0.014190875, + -0.00055034884, + -0.019362908, + 0.04948961, + -0.02644389, + 0.0062723113, + 0.008698312, + -0.043284103, + 0.029161522, + 0.033501584, + 0.05705859, + 0.006257017, + -0.017981406, + 0.016467962, + 0.031953897, + 0.009824053, + -0.03674434, + 0.05774476, + -0.016420702, + -0.01349286, + -0.06846219, + -0.02178622, + 0.02433241, + 0.09169884, + 0.051029127, + -0.04993978, + -0.011799634, + 0.0032126352, + 0.019503502, + -0.015755706, + 0.03427828, + 0.03646651, + 0.072475076, + 0.012618704, + -0.00043671805, + 0.014665644, + -0.0089760525, + -0.038869545, + 0.028164454, + 0.025849758, + -0.048166968, + -0.02514238, + -0.013862714, + 0.014638806, + -0.029315008, + 0.019587193, + 0.03142512, + 0.06563354, + -0.039623562, + -0.033382237, + 0.0018381524, + 0.0121081695, + -0.0007156913, + -0.015304854, + 0.039920986, + 0.008719316, + -0.00097382243, + -0.006170479, + 0.015261661, + 0.01170184, + -0.03798216, + -0.068606496, + 0.01625415, + 0.035249554, + 0.028952997, + -0.020724721, + -0.021789586, + 0.01731385, + 0.012170161, + -0.035459936, + -0.0019804658, + 0.0031359121, + -0.03155077, + -0.0074211513, + -0.04497968, + -0.053977888, + 0.0038728872, + -0.03297518, + -0.006811157, + 0.050398596, + 0.02680037, + 0.02829511, + -0.015111991, + -0.030055383, + -0.004010152, + -0.024686158, + -0.035678845, + 0.005962782, + -0.011061121, + -0.0055516246, + 0.019760543, + -0.00031985718, + 0.058621205, + -0.08616227, + 0.0325945, + -0.02090531, + -0.029153448, + 0.0064214515, + -0.020227117, + -0.033110574, + -0.012485518, + -0.03685338, + -0.0961796, + 0.044599574, + -0.0052233, + -0.008471092, + 0.019937446, + 0.005333189, + -0.039715234, + 0.045914643, + -0.03352662, + -0.018496834, + 0.0354465, + -0.030620538, + -0.029826347, + 0.041936427, + -0.0014286054, + 0.0010663796, + -0.03587206, + -0.0037449948, + -0.011758209, + -0.0047150413, + -0.0853732, + -0.0037887415, + 0.0062709497, + 0.033816304, + -0.045834884, + -0.10490466, + 0.022532508, + -0.050130285, + 0.006574647, + 0.005739573, + 0.050109025, + -0.0124535, + 0.011465139, + -0.011188091, + -0.046662536, + -0.045268137, + -0.018094884, + 0.008319613, + 0.06306975, + -0.035673276, + -0.0008919983, + -0.006609043, + -0.0048760665, + 0.022651665, + -0.0039920523, + 0.034910817, + -0.034093387, + -0.03639887, + -0.0015436823, + -0.019452224, + -0.018276984, + -0.020220695, + -0.014901114, + -0.0025237505, + -0.021971133, + -0.04564954, + -0.003247212, + -0.014247958, + 0.033184037, + 0.019734075, + 0.0061017317, + -0.0030586387, + -0.056442797, + -0.05701975, + 0.0019408863, + -0.024563069, + 0.006706099, + -0.0066405134, + 0.02578159, + 0.034220517, + -0.013217348, + -0.0055386964, + -0.012929351, + 0.009973171, + -0.033514638, + -0.087901846, + -0.031077206, + -0.0044351364, + 0.038728893, + -0.017232668, + -0.03176923, + 0.07619791, + -0.01703041, + -0.020120261, + 0.03660819, + -0.017996931, + 0.01905512, + -0.035161715, + -0.009736027, + 0.010855257, + 0.0434124, + -0.006001684, + 0.061227523, + 0.018806793, + -0.044398274, + -0.017802201, + -0.020130686, + -0.043526307, + 0.018984105, + -0.007919508, + 0.026292397, + 0.015415096, + -0.00074304256, + -0.076041974, + -0.02692601, + 0.044113062, + -0.019660387, + 0.019216148, + -0.0501154, + -0.05731457, + -0.03714529, + 0.031609178, + 0.025865018, + -0.013244621, + -0.00716662, + 0.03622932, + 0.04250572, + 0.0018621124, + 0.0066372384, + 0.024863303, + -0.008462786, + -0.0739949, + -0.038541604, + 0.008213316, + 0.04453941, + 0.010110574, + 0.053103566, + 0.05436072, + 0.028240822, + -0.01551218, + 0.043596648, + 0.0006291905, + 0.02076015, + -0.04686431, + -0.052508663, + -0.024429765, + -0.00716648, + 0.023046928, + -0.03601384, + -0.020473696, + 0.03973898, + 0.047439057, + 0.0057296944, + 0.0011659182, + -0.06277833, + 0.0021536043, + -0.03359624, + 0.04875371, + 0.0013028152, + 0.007734593, + 0.012316441, + 0.021605639, + 0.063792944, + 0.008962841, + 0.0018693986, + -0.021644464, + 0.07893371, + 0.00870752, + -0.034707062, + 0.021991294, + 0.006764565, + -0.07984548, + -0.027686534, + -0.0054546087, + -0.01779331, + 0.00028198998, + 0.0125822, + -0.0051738936, + -0.038494088, + 0.004471588, + -0.03246167, + 0.016541699, + -0.022456756, + -0.01405892, + -0.034396555, + 0.028517285, + -0.013290205, + 0.07193252, + -0.018068861, + 0.034751337, + -0.03262066, + 0.006111534, + -0.058736015, + -0.017235702, + -0.023005858, + -0.05892077, + -0.0026900088, + 0.00064558047, + -0.032041363, + 0.008220892, + 0.005684842, + 0.02250095, + 0.0049033468, + -0.08822391, + -0.024198318, + 0.010570771, + 0.03989024, + 0.008490834, + -0.059612308, + 0.010803674, + 0.02984145, + -0.030165548, + -0.010374465, + -0.04445327, + 0.028364463, + 0.0011813939, + -0.01708999, + -0.061017774, + -0.03149242, + 0.06583319, + -0.0031558275, + -0.0626067, + -0.028882843, + -0.06401393, + 0.020807173, + -0.06425805, + -0.025316563, + -0.046049982, + -0.035600748, + -0.014769397, + 0.009521469, + 0.057278227, + 0.0030979088, + 0.05502357, + -0.017604796, + -0.025615383, + 0.08603588, + -0.02365612, + -0.04074021, + 0.0008960217, + 0.005655665, + -0.008876982, + 0.046815023, + -0.014334004, + 0.092947386, + 0.012037455, + 0.04181115, + -0.032851096, + 0.038316164, + 0.026930409, + -0.023913505, + -0.08801702, + 0.003143437, + 0.0071088914 + ] + }, + { + "id": "backend_onboarding_v1.1.txt-1", + "document": "backend_onboarding_v1.1.txt", + "section": "General", + "text": "General\ncp .env.example .env Uncomment or add: BACKEND_HOST_PORT=5001\nSecureShift Backend Onboarding — Version 1.1 docker compose up –build -d\ndocker compose ps curl -i http://localhost:5001/api/v1/health • Employer\npanel: http://localhost:3000 • Swagger: http://localhost:5001/api-docs/\n• MongoDB Compass still uses localhost:27017 unless MONGODB_HOST_PORT is\noverridden. 4. Recommended backend-development workflow This is the\nfastest workflow for backend contributors. MongoDB stays in Docker,\nwhile the backend runs directly with Nodemon for immediate reloads and\neasier debugging. Windows / WSL2 cd ~/developer/SecureShift docker\ncompose down docker compose up -d mongodb docker compose ps Create or\nedit app-backend/.env: NODE_ENV=development PORT=5000\nMONGO_URI=mongodb://secureshift_app:secureshift_app_password@localhost:27017/secureshift_local?authSource=secureshi\nft_local\nJWT_SECRET= LICENCE_ENC_KEY=\nEMAIL_ENABLED=false SMTP_HOST=localhost SMTP_PORT=587 SMTP_SECURE=false\nSMTP_USER=local@example.test SMTP_PASS=local-dev-password\nSMTP_FROM_EMAIL=local@example.test\nSEED_ALLOW_LOCAL=false SEED_RESET_CONFIRM= cd app-backend git\ncheck-ignore -v .env npm install npm run dev curl -i\nhttp://localhost:5000/api/v1/health macOS cd /path/to/SecureShift docker\ncompose down docker compose up -d mongodb docker compose ps Create or\nedit app-backend/.env. If port 5000 is occupied, use PORT=5001:\nNODE_ENV=development PORT=5001\nMONGO_URI=mongodb://secureshift_app:secureshift_app_password@localhost:27017/secureshift_local?authSource=secureshi\nft_local\nJWT_SECRET= LICENCE_ENC_KEY=\nEMAIL_ENABLED=false SMTP_HOST=localhost SMTP_PORT=587\nSecureShift Backend Onboarding — Version 1.1 SMTP_SECURE=false\nSMTP_USER=local@example.test SMTP_PASS=local-dev-password\nSMTP_FROM_EMAIL=local@example.test\nSEED_ALLOW_LOCAL=false SEED_RESET_CONFIRM= cd app-backend git\ncheck-ignore -v .env npm install npm run dev curl -i\nhttp://localhost:5001/api/v1/health 5. Generate local backend secrets\nRun these commands separately on each machine: openssl rand -hex 32\nopenssl rand -base64 32 • Paste the first value into JWT_SECRET. • Paste\nthe second value into LICENCE_ENC_KEY. • Different values on WSL and Mac\nare fine for independent local databases. • Use the same values only\nwhen both machines must decrypt the same encrypted records or preserve", + "embedding": [ + 0.045284487, + 0.042862143, + -0.13571587, + -0.040218245, + 0.051358107, + -0.039116938, + 0.024725284, + 0.0034736355, + -0.059129313, + -0.051369283, + -0.041888513, + 0.037755538, + 0.047453213, + 0.01903687, + 0.005382896, + -0.006017578, + -0.017068718, + -0.03529829, + 0.053741552, + -0.025347302, + -0.011247171, + -0.06382245, + -0.0023848927, + -0.0075740824, + 0.11443046, + 0.05873638, + 0.03292944, + 0.0057185506, + -0.041329697, + 0.019928766, + 0.02993828, + 0.01376267, + 0.041365955, + -0.04409131, + -0.08224086, + -0.08453113, + 0.00766185, + -0.02434238, + -0.024899047, + 0.012196421, + 0.007556788, + 0.002494455, + -0.011576248, + -0.058817554, + 0.016691465, + -0.017646087, + 0.08639297, + -0.020613955, + 0.051000066, + -0.09552354, + 0.037768073, + -0.0074235033, + -0.026965534, + 0.004992813, + 0.060567368, + 0.02853936, + -0.018333063, + 0.0405247, + 0.006009885, + -0.02621467, + 0.05386849, + 0.020586949, + 0.040063333, + 0.07247402, + 0.017640239, + 0.03446927, + -0.043922596, + 0.07303338, + -0.0016628042, + -0.0030988632, + 0.0028938649, + 0.01809471, + -0.030300915, + -0.027664173, + 0.045898795, + 0.03449854, + -0.012660898, + -0.04720825, + -0.039551787, + 0.025375051, + 0.007254358, + -0.0077823508, + 0.06442487, + -0.0028044893, + 0.06137633, + -0.006311824, + -0.035280857, + 0.0042189755, + -0.06267224, + 0.02647773, + -0.019626595, + -0.024596961, + 0.005885314, + 0.07725889, + -0.06584278, + 0.012233705, + 0.017899863, + 0.018291624, + -0.023261359, + -0.04508046, + 0.0041364674, + -0.055769313, + -0.030169945, + 0.0047011445, + 0.003473506, + 0.06451251, + -0.0057953787, + 0.019903252, + -0.0005102991, + 0.0046314215, + -0.027949436, + 0.046275966, + -0.020887362, + 0.038814966, + -0.0074059316, + -0.032828163, + 0.085499875, + -0.056106325, + -0.015286883, + 0.06372858, + -0.04239869, + -0.0051319175, + 0.0067263246, + 0.033299934, + 0.056740105, + 0.0686417, + -0.052450873, + -0.011487414, + 0.033518724, + -0.060107537, + 0.026170693, + -0.041964885, + -0.054827962, + 0.02918755, + 0.033615418, + 0.038338277, + -0.024960354, + -0.01353769, + 0.033739705, + 0.0065036104, + -0.014338521, + 0.015584827, + 0.0050658067, + 0.019015072, + 0.0013011835, + -0.022507083, + 0.036609266, + -0.014553587, + -0.007723745, + 0.060508344, + 0.018190634, + -0.0037021053, + 0.03310321, + 0.026646536, + 0.026637051, + -0.028414018, + -0.034836166, + 0.007260558, + 0.04777445, + 0.052881476, + 0.056681678, + 0.018284474, + -0.03905569, + 0.038836952, + 0.0015987583, + -0.018797856, + 0.039879214, + 0.062113672, + -0.015155386, + 0.026236834, + -0.038313545, + -0.061119948, + -0.01328378, + 0.023892827, + 0.017489577, + 0.0022125528, + -0.0012019027, + -0.05618344, + 0.038791467, + -0.011250559, + 0.04315735, + -0.0065695588, + 0.035159905, + 0.017287357, + -0.052844513, + -0.0026488209, + -0.032986786, + -0.053999227, + -0.0019022044, + -0.033870466, + 0.02438903, + 0.01645399, + -0.0725305, + -0.008098412, + -0.034161802, + -0.022039004, + 0.027426956, + -0.030513603, + 0.01099194, + -0.019988013, + -0.025760757, + 0.0381159, + -0.000952162, + 0.060592826, + -0.08144635, + 0.040543266, + -0.014927009, + 0.0077168406, + 0.010747325, + -0.009352885, + 0.062853664, + -0.03759085, + -0.025419028, + -0.04096014, + 0.01934889, + -0.032057114, + 0.026628295, + -0.042851374, + 0.018010149, + -0.021639451, + 0.021095406, + -0.020803627, + 0.07544734, + -0.022167597, + 0.024638658, + -0.00063846045, + -0.03541647, + -0.003158926, + -0.002052633, + -0.010343424, + -0.0014689784, + -0.03925288, + 0.008523179, + 0.025629146, + 0.0088819275, + 0.0029360098, + 0.012733475, + 0.056405004, + -0.017542971, + 0.028046917, + 0.032112617, + 0.0025208362, + -0.008731931, + -0.012985961, + -0.05641734, + -0.0073894737, + -0.0143671315, + -0.0556524, + -0.014506503, + 0.020532448, + -0.0035255898, + 0.014534341, + 0.057106707, + -0.033052903, + 0.05343879, + -0.032257903, + -0.011158769, + -0.0039677923, + -0.004502269, + -0.051471442, + -0.024714317, + -0.063283026, + 0.011834439, + -0.03565406, + -0.013141849, + -0.03416189, + -0.032539196, + 0.014919358, + 0.046990007, + -0.009701919, + 0.037868846, + 0.03234603, + -0.00011210876, + 0.051259167, + 0.02206437, + 0.033964694, + 0.02041671, + -0.018771881, + -0.036364578, + 0.031900916, + -0.048869543, + -0.034844782, + -0.033621743, + -0.008485215, + -0.019577114, + 0.03353191, + 0.005385063, + -0.026579566, + 0.048685547, + 0.00018394779, + 0.07853357, + 0.014560035, + -0.007105443, + 0.05359469, + 0.037985697, + -0.024271451, + 0.04592612, + -0.013341579, + 0.0097576, + -0.038443234, + -0.013477732, + 0.010299717, + 0.05985013, + 0.041689772, + -0.028783554, + -0.043985594, + 0.00592794, + 0.03147412, + 0.026237322, + 0.006765426, + -0.046930183, + -0.04002321, + 0.005807024, + 0.04049891, + -0.033156265, + 0.013389626, + 0.019911459, + 0.022110296, + 0.00016658325, + -0.03597754, + -0.007087329, + -0.024911985, + -0.0075484426, + -0.059356567, + 0.040302392, + 0.07578404, + 0.0044169924, + 0.069042355, + -0.024419518, + -0.024759347, + 0.04350595, + -0.0049414407, + 0.074572824, + 0.01114192, + -0.018301463, + -0.017272567, + 0.022037962, + -0.019203793, + -0.019717451, + 0.062035557, + 0.073473535, + -0.0038849823, + -0.019919423, + -0.02219807, + -0.021925598, + -0.039668947, + -0.026672632, + -0.013035872, + 0.044689786, + 0.08098869, + -0.0376356, + 0.012216109, + 0.011969287, + 0.045642365, + -0.015382275, + -0.07551348, + -0.013839097, + -0.008813952, + -0.038080268, + 0.018381275, + 0.08165714, + 0.0070096077, + 0.051639915, + -0.02437206, + 0.016474001, + 0.022088915, + 0.00037459255, + -0.017529134, + 0.003087225, + 0.026422929, + -0.0034886003, + -0.023338748, + -0.0046798205, + -0.0001661327, + 0.015378329, + -0.0096952105, + -0.03338816, + 0.035843726, + 0.03419486, + 0.021300435, + 0.08479029, + 0.0016319376, + 0.0018605663, + -0.025555514, + -0.009275619, + -0.0057954513, + -0.009928076, + -0.024297124, + 0.01682003, + 0.0394343, + 0.009829087, + -0.02830898, + -0.03631678, + -0.009969799, + 0.05925856, + 0.022125294, + 0.00891222, + 0.0036351192, + -0.015684437, + 0.038310975, + -0.08250818, + -0.061614282, + 0.03393862, + 0.015002197, + -0.0022665614, + -0.0031496428, + -0.057726335, + -0.008938091, + 0.014097221, + 0.0008370678, + 0.07767741, + 0.0011590451, + 0.03624548, + -0.041144244, + 0.03560482, + -0.045386046, + 0.10774539, + 0.024672307, + -0.01789664, + -0.018800808, + 0.011633831, + 0.06218574, + 0.010028816, + 0.006099491, + 0.031931568, + 0.05117304, + 0.0067707943, + 0.008971306, + 0.023123479, + -0.09055453, + 0.008763532, + 0.0334729, + 0.03787055, + -0.011228593, + 0.0006094394, + 0.022799361, + 0.04291556, + 0.041184157, + -0.030570397, + 0.064365126, + 0.030242916, + 0.0061537856, + -0.046914577, + -0.036735434, + 0.026688771, + 0.097628415, + 0.08487299, + -0.029561127, + -0.04133942, + 0.03309445, + 0.008949519, + 0.020056676, + 0.012138141, + 0.005284007, + 0.06438814, + -0.0068676155, + -0.0155125335, + -0.0020750244, + -0.010929562, + -0.029262299, + -0.017834239, + 0.005584652, + -0.049978387, + -0.036982343, + 0.01504207, + 0.0019106052, + -0.01595629, + -0.006268178, + 0.03534129, + 0.060597297, + -0.03997659, + -0.038648825, + 0.004527582, + -0.008123893, + 0.00066072436, + -0.005094167, + 0.030997584, + 0.033285312, + 0.0010065736, + 0.008417494, + -0.00633832, + -0.02598524, + -0.03788819, + -0.05671639, + 0.02408856, + 0.03411631, + 0.0136715025, + -0.021775957, + -0.013290918, + 0.0027892923, + 0.023607537, + -0.0017241748, + -0.0249321, + 0.029442113, + 0.009889979, + -0.027138546, + -0.059795186, + -0.04272303, + 0.027420558, + -0.010554149, + -0.021444911, + 0.05679147, + 0.018424097, + 0.020059144, + 0.020992115, + -0.011135104, + -0.009075395, + -0.04451509, + -0.07709513, + -0.0052548507, + 0.0010321166, + -0.0026599572, + -0.0077797933, + 0.010627785, + 0.055291303, + -0.058072917, + -0.007645719, + -0.023926837, + -0.02403502, + -0.003614755, + 0.0026532426, + -0.03455721, + -0.007873492, + -0.035028163, + -0.08434018, + 0.032018036, + -0.0105637275, + -0.028194908, + 0.023789013, + 0.010707142, + -0.011039203, + 0.0293747, + -0.016646028, + -0.020915411, + 0.013830301, + -0.049266316, + -0.040870216, + 0.067389295, + 0.02155683, + 0.008904613, + -0.034772314, + -0.013081035, + -0.045655925, + 0.037911046, + -0.045526206, + 0.0057887747, + -0.018498924, + 0.039823644, + -0.02758299, + -0.11250356, + 0.055851746, + -0.046480197, + 0.015365584, + -0.0114340335, + 0.014122855, + -0.03230194, + 0.014417176, + 0.003328539, + -0.029284468, + -0.035321448, + -0.004051812, + -0.004261902, + 0.09709233, + -0.008302451, + -0.0044676783, + -0.015833803, + -0.006576442, + 0.013388061, + 0.0023195185, + 0.030188799, + -0.041410875, + -0.043894317, + 0.033552762, + -0.025554249, + -0.0028514448, + -0.0021622567, + -0.02801432, + 0.00085968315, + -0.04481337, + -0.038947225, + 0.0024917927, + -0.002318253, + 0.040674455, + -0.00007050676, + -0.045576755, + 0.009618875, + -0.03601807, + -0.061406575, + 0.02343764, + -0.014281664, + 0.0011192657, + 0.006778422, + 0.013398623, + 0.013402302, + -0.0043888073, + 0.025843535, + -0.017778385, + -0.023477959, + 0.004495047, + -0.06602856, + -0.015287173, + 0.031459574, + 0.02238774, + -0.013475785, + -0.0068393433, + 0.09741373, + -0.038990363, + 0.009245142, + 0.0013295148, + -0.039699826, + 0.047378343, + -0.038444966, + -0.004413502, + -0.029964259, + 0.028004156, + -0.030776355, + 0.0023405207, + 0.008356193, + -0.019071441, + -0.0069980854, + -0.038416833, + -0.092030875, + 0.068955734, + 0.028368095, + 0.051935952, + 0.022809405, + -0.05914552, + -0.0540774, + 0.005807722, + 0.08083353, + -0.017176114, + 0.014306709, + -0.082349, + -0.088598624, + -0.08323642, + 0.028954163, + -0.0082706055, + 0.019998038, + -0.000614387, + 0.032360237, + 0.06353702, + 0.0261194, + 0.019346641, + 0.008440897, + -0.01953198, + -0.051989354, + 0.0011836912, + 0.013008521, + 0.032148715, + 0.007903996, + 0.047534924, + 0.06187142, + 0.025117004, + -0.02408805, + 0.037175614, + -0.002764819, + 0.0038906606, + -0.02031809, + -0.0338387, + -0.006443125, + 0.035139274, + -0.0023160418, + -0.028832633, + 0.013917337, + 0.029577956, + 0.016851708, + -0.011544925, + 0.0019930701, + -0.07240149, + -0.048463047, + -0.0145693915, + 0.01614317, + 0.008741747, + 0.017060233, + 0.021894004, + -0.013679435, + 0.04135401, + 0.029444424, + -0.029981373, + -0.035146885, + 0.050259285, + 0.013551483, + 0.01694003, + 0.046746902, + 0.016420837, + -0.07595042, + -0.0064699966, + 0.018890066, + -0.017334491, + -0.02941466, + 0.0010732915, + -0.015544168, + 0.016389947, + 0.005480753, + -0.031615708, + 0.016706642, + -0.009779526, + -0.037908275, + 0.004495945, + 0.021911765, + 0.0025091877, + 0.076534405, + 0.0011951814, + 0.034603342, + -0.052826338, + 0.026755393, + -0.053720202, + -0.008173486, + -0.020533584, + -0.024114152, + -0.00019144407, + -0.0032203624, + -0.0038806745, + 0.0384788, + -0.026685193, + 0.031843696, + 0.012604372, + -0.052429784, + -0.02017481, + 0.00086298824, + 0.030870423, + 0.015434713, + -0.049851686, + 0.016406707, + 0.0427738, + -0.021027729, + 0.014980211, + -0.03234436, + 0.033491187, + -0.0072574103, + -0.01733088, + -0.077295676, + -0.06683228, + 0.099915825, + 0.00158656, + -0.07547166, + -0.056004293, + -0.0559712, + -0.017449584, + -0.059935626, + -0.06269134, + -0.031163588, + -0.027540416, + 0.011494333, + -0.0015506223, + 0.0393583, + -0.02378076, + 0.038766317, + -0.017625414, + -0.030971397, + 0.046835653, + -0.0079232445, + -0.03245573, + 0.024690734, + 0.01728971, + -0.012472138, + 0.022755735, + -0.025879467, + 0.0735309, + 0.017477302, + 0.04368966, + -0.008806525, + 0.04943395, + 0.0027713436, + -0.02134873, + -0.047177672, + -0.051565304, + -0.0056612194 + ] + }, + { + "id": "backend_onboarding_v1.1.txt-2", + "document": "backend_onboarding_v1.1.txt", + "section": "General", + "text": "General\ncompatible sessions against a shared database. • Keep each\nLICENCE_ENC_KEY stable once meaningful local encrypted data exists. •\nNever commit app-backend/.env. 6. Populate the local database with seed\ndata The seed workflow creates deterministic fictional development data\nfor backend, employer frontend and Guard App testing. It is idempotent:\nrunning it again updates the same records rather than duplicating them.\nSafety: The seed refuses production, Atlas/SRV, remote hosts and any\ndatabase except secureshift_local, secureshift_dev or secureshift_test.\nReset deletes only deterministic seed IDs and requires an exact\nconfirmation string. Backend outside Docker; MongoDB in Docker In\napp-backend/.env, temporarily set: NODE_ENV=development\nSEED_ALLOW_LOCAL=true\nMONGO_URI=mongodb://secureshift_app:secureshift_app_password@localhost:27017/secureshift_local?authSource=secureshi\nft_local Then run from app-backend: npm run seed\nSEED_RESET_CONFIRM=SecureShiftLocalReset npm run seed:reset Reset:\nseed:reset removes only known seeded records. It does not empty the\nentire database. Set SEED_ALLOW_LOCAL back to false when you do not need\nseeding. Seed alongside Docker Compose From the repository root, use\none-off backend containers. Compose supplies the internal mongodb\nhostname automatically: docker compose run –rm -e SEED_ALLOW_LOCAL=true\nbackend npm run seed\ndocker compose run –rm -e SEED_ALLOW_LOCAL=true -e\nSEED_RESET_CONFIRM=SecureShiftLocalReset backend npm run seed:reset\nSecureShift Backend Onboarding — Version 1.1 Seeded test accounts All\nseeded accounts use the local-only password SecureShift1!. Employer and\nguard login still use the normal OTP flow; the seed does not bypass OTP.\nRole Scenario Email Admin Admin access admin.local@secureshift.test\nEmployer Operations employer ops.local@secureshift.test Employer Venue\nemployer venue.local@secureshift.test Guard Approved licence\nmia.guard@secureshift.test Guard Pending licence\nnoah.guard@secureshift.test Guard Rejected licence\nisha.guard@secureshift.test Guard Expired licence\nliam.guard@secureshift.test", + "embedding": [ + 0.04546863, + 0.04158863, + -0.15268387, + -0.022963349, + 0.037651546, + -0.061568614, + -0.0026518751, + 0.045279417, + -0.012913719, + -0.036313802, + -0.01619916, + 0.04525264, + 0.032013495, + 0.011713116, + -0.040236138, + 0.025035117, + 0.01328416, + -0.03211553, + 0.01403086, + -0.04015672, + 0.004695903, + -0.06551345, + 0.0037621881, + -0.017020632, + 0.06539349, + 0.03714383, + 0.01652118, + -0.021505758, + 0.015140427, + 0.013568864, + 0.072317176, + 0.025864245, + 0.0055814194, + -0.02522766, + -0.05448807, + -0.056802686, + -0.043517184, + -0.018477915, + -0.005230401, + -0.000009934726, + 0.028587298, + 0.022208946, + -0.023335688, + -0.06090962, + 0.022973726, + 0.010499059, + 0.1072563, + 0.0013578113, + 0.07759418, + -0.098525085, + -0.0049732067, + -0.0107377255, + 0.005250134, + -0.01014135, + 0.063643984, + 0.04745002, + -0.040436037, + 0.045970872, + -0.0069297873, + -0.08018126, + 0.08866443, + -0.015580153, + -0.028534424, + 0.058434125, + 0.009014393, + 0.016952304, + -0.06957154, + 0.057161268, + 0.00877742, + -0.0035312448, + 0.036036093, + 0.043318395, + -0.0094056735, + -0.00034726996, + 0.03584497, + 0.0035216147, + 0.0106205875, + -0.039068084, + -0.060965374, + 0.021295259, + 0.017054481, + -0.025526434, + 0.026929699, + 0.005446963, + 0.054156136, + 0.015496441, + -0.010594, + -0.020612976, + -0.06033809, + 0.041658502, + 0.033581354, + -0.009564238, + 0.00029359318, + 0.051176053, + -0.052393295, + 0.042088263, + 0.020098329, + 0.027619675, + -0.018127114, + -0.0021673879, + 0.0061100763, + -0.054384153, + -0.011526562, + -0.011072658, + -0.0016595316, + -0.0019589916, + -0.008132394, + 0.019805355, + 0.024564171, + 0.023323447, + -0.009997069, + 0.024367249, + -0.03942901, + 0.013060102, + -0.00418173, + -0.02122463, + 0.07790738, + -0.044113867, + -0.015659487, + 0.013561509, + -0.04617422, + 0.02785286, + 0.015486432, + 0.01908744, + 0.031075928, + 0.088583544, + -0.03794648, + -0.04060302, + 0.002928584, + -0.054112375, + -0.0034421538, + -0.034066528, + -0.054214954, + 0.03325711, + 0.016830973, + 0.042167626, + -0.029075487, + -0.0051853303, + -0.008179827, + -0.02873248, + -0.024910618, + -0.018996142, + -0.0056909174, + 0.033078037, + 0.030526692, + -0.019185593, + 0.052101247, + -0.029731827, + -0.028835617, + 0.043384273, + 0.020509647, + 0.002067341, + 0.032244373, + 0.027899653, + 0.04911331, + -0.017555548, + -0.015971823, + 0.01743822, + 0.058194987, + 0.0900719, + 0.052619964, + -0.010084805, + -0.022913309, + 0.02942072, + 0.004876566, + -0.03228122, + 0.023527212, + 0.0709703, + 0.033969857, + 0.019947577, + -0.062394734, + -0.06537147, + 0.003427023, + 0.012230291, + 0.0074725784, + 0.015634673, + 0.0061561055, + -0.036904283, + 0.042124357, + 0.028900301, + 0.079967216, + -0.03652312, + 0.021686113, + 0.03499428, + -0.006183774, + 0.022990692, + 0.021587765, + -0.04801919, + -0.0221909, + -0.054227345, + 0.03433341, + -0.027864035, + -0.08168864, + -0.008660117, + -0.052823927, + -0.04432182, + 0.010715728, + -0.0018602452, + 0.023173418, + -0.019388504, + -0.06160563, + 0.052179117, + -0.01345296, + 0.044783488, + -0.029178413, + 0.02502277, + -0.017368257, + -0.01937568, + -0.0117901275, + 0.013074106, + 0.07283673, + -0.042246643, + -0.05341622, + -0.011359909, + 0.028607355, + -0.05634054, + 0.051140968, + -0.042091932, + -0.01235396, + -0.0087023, + 0.005508079, + -0.005606929, + 0.0072618495, + -0.033700246, + 0.027346056, + -0.025954425, + -0.033865184, + -0.0005749624, + 0.0016262307, + -0.0025636668, + 0.014588774, + -0.0509055, + 0.025498943, + -0.011216316, + 0.012635135, + 0.012577821, + 0.015101676, + 0.038762894, + -0.0017378051, + 0.027673688, + 0.02988056, + 0.007623939, + -0.040911034, + 0.016311195, + -0.0294077, + 0.008908066, + -0.0019006493, + -0.063180625, + 0.017451847, + 0.033959486, + 0.00015945637, + -0.008425951, + 0.0520058, + -0.012559568, + -0.015056185, + -0.075043745, + -0.03415868, + -0.037202924, + 0.010029426, + -0.047807947, + 0.021723313, + -0.023605078, + 0.039270524, + -0.019706622, + 0.021812491, + -0.05879835, + -0.019414915, + 0.02706238, + 0.013265033, + -0.027280053, + 0.026637778, + 0.033921026, + 0.041234057, + 0.10214271, + 0.02815197, + 0.011930211, + -0.0027604355, + -0.0016524635, + -0.037873097, + 0.032948077, + -0.06539272, + -0.026702933, + -0.020547511, + -0.010136677, + 0.005053682, + -0.0077914204, + -0.0024187597, + -0.016478369, + 0.05304912, + 0.0029001767, + 0.07078723, + 0.012741445, + 0.028388487, + 0.08993299, + 0.0020552196, + -0.024041383, + -0.0028441183, + -0.015033446, + 0.01566046, + -0.04406632, + -0.007401626, + 0.029057655, + 0.052833624, + 0.06243635, + -0.025211893, + -0.004688084, + -0.021867706, + 0.017130919, + 0.010124244, + 0.018223919, + -0.026583338, + -0.026478732, + 0.0040934794, + 0.003154441, + -0.04896554, + 0.032187242, + 0.01563612, + 0.0029814523, + 0.063845046, + -0.053633347, + -0.014120516, + -0.02913614, + -0.01092004, + -0.031744555, + 0.0181341, + 0.06951225, + -0.008536438, + 0.05090052, + -0.07330193, + -0.04679391, + 0.036000084, + 0.03924653, + 0.06788631, + -0.012535909, + -0.05669816, + -0.013164419, + 0.030863728, + -0.022517534, + -0.012699059, + 0.046951823, + 0.0486976, + -0.048619084, + 0.011885875, + -0.042150676, + -0.04404637, + 0.02798331, + -0.03977192, + 0.003308315, + 0.04878359, + 0.09382832, + -0.0153059885, + -0.0054732, + 0.00084592286, + -0.019950507, + 0.03458614, + -0.04737819, + -0.012031701, + 0.009877795, + -0.012783647, + 0.00053607335, + 0.052433223, + 0.020015683, + 0.03826976, + -0.05790687, + -0.0036571522, + 0.016001344, + 0.039044946, + -0.025217367, + 0.024134155, + 0.016766887, + -0.012144661, + -0.03687225, + 0.0004740154, + -0.0062496285, + 0.041405547, + 0.02856607, + -0.056819137, + 0.0016522559, + 0.010531885, + 0.030450206, + 0.048431072, + -0.01864576, + 0.0014420745, + -0.015375069, + -0.00775716, + 0.033064794, + 0.05303875, + 0.021834116, + -0.01292104, + 0.049878296, + 0.018295052, + -0.03112751, + -0.00970811, + 0.00022922613, + 0.06570416, + 0.014870696, + -0.019467307, + -0.009831709, + -0.01682929, + 0.04859508, + -0.051422436, + -0.07366793, + -0.0031616257, + 0.007344828, + 0.011046318, + -0.010071917, + -0.055040043, + -0.017823858, + 0.022291388, + -0.03966203, + 0.07266959, + 0.041921806, + -0.019040873, + -0.03140979, + 0.023388248, + -0.054207813, + 0.09741683, + 0.026017388, + -0.03460271, + -0.037564766, + 0.014544755, + 0.041467912, + 0.02360775, + 0.007072356, + 0.005700091, + 0.04823364, + -0.0042580944, + 0.011419106, + 0.02007345, + -0.05033975, + 0.036680248, + 0.033085715, + 0.030913806, + -0.018206399, + -0.025750188, + -0.01649627, + 0.005912473, + 0.022357568, + -0.03908109, + 0.06586391, + 0.008872278, + -0.04044226, + -0.038078852, + 0.001789881, + 0.0017973359, + 0.12053294, + 0.029894399, + -0.009589578, + -0.046757285, + 0.024433684, + 0.026704114, + 0.020223781, + 0.05133954, + 0.030139534, + 0.07085007, + 0.031507578, + -0.03457422, + -0.0034084274, + 0.007346844, + -0.006478356, + -0.01377503, + 0.017740844, + -0.052496385, + 0.00088896014, + 0.0383308, + 0.031422812, + -0.003945894, + 0.002363426, + 0.04319397, + 0.03227417, + -0.027202195, + -0.055843715, + -0.0025886684, + -0.017488748, + -0.007671431, + -0.032587208, + 0.01564175, + -0.014935022, + 0.035884876, + 0.0043002735, + 0.00241502, + -0.010080199, + -0.051542368, + -0.024079727, + 0.029553682, + 0.0418479, + 0.021735037, + -0.023773998, + 0.0051613455, + -0.013741726, + 0.023199897, + 0.0015805375, + 0.031795785, + 0.011881893, + -0.0061612576, + -0.020442106, + -0.05791568, + -0.020140948, + -0.024801364, + 0.003625992, + 0.008607609, + 0.032807413, + -0.013892474, + -0.00747839, + 0.033543896, + -0.042494707, + 0.012842196, + -0.05530792, + -0.07330851, + -0.0011839502, + -0.019658541, + 0.0023707156, + 0.025041752, + 0.038894854, + 0.060348637, + -0.07333794, + -0.0076220115, + -0.031145398, + -0.052154254, + -0.028819768, + -0.024166014, + 0.002345853, + -0.008635605, + -0.049019016, + -0.07500116, + 0.022974676, + 0.016744256, + -0.0070223776, + 0.021623407, + 0.04354771, + -0.027875012, + 0.02971602, + -0.058580983, + -0.06702909, + 0.012891621, + -0.03791411, + -0.04780085, + 0.027750097, + 0.0019882852, + 0.020260697, + 0.022922711, + -0.008048621, + 0.0056530414, + -0.010005686, + -0.11013846, + -0.035167743, + -0.008245557, + 0.055442613, + -0.024553377, + -0.08174396, + 0.023368433, + -0.010727156, + -0.011711363, + -0.0015471164, + 0.033500683, + -0.016038368, + 0.022582794, + -0.0051844036, + -0.05811884, + -0.019898782, + -0.01815006, + 0.0071127242, + 0.07003492, + 0.018034434, + 0.002210279, + 0.020572733, + -0.00964171, + -0.0034556345, + -0.006849815, + 0.022955049, + -0.007267556, + -0.02508847, + 0.010368306, + -0.039065108, + -0.0064119264, + -0.011080553, + -0.039756667, + 0.003664537, + -0.020663297, + -0.034041364, + 0.011017306, + -0.011346765, + 0.06386076, + 0.030768635, + -0.012144668, + 0.0003561432, + -0.054665145, + -0.056370102, + 0.037571914, + -0.061493725, + -0.00690247, + 0.0042734793, + 0.028096087, + 0.03677379, + 0.0020132244, + 0.04172526, + -0.01679343, + 0.0040494017, + -0.022018729, + -0.0888025, + -0.012893362, + 0.013121805, + 0.04063221, + 0.0045941686, + -0.038131654, + 0.080960564, + -0.033867415, + 0.013282686, + 0.023458075, + -0.012807006, + 0.030146988, + -0.035100948, + -0.013806625, + -0.004056716, + -0.009541389, + -0.022805188, + 0.041818045, + 0.023288134, + -0.041708175, + -0.017313806, + -0.017912205, + -0.061327003, + 0.024243727, + -0.008653333, + 0.016261647, + 0.003229379, + -0.031989474, + -0.04806372, + -0.011321551, + 0.067797154, + -0.012389734, + 0.03634373, + -0.06252881, + -0.08911496, + -0.0979367, + 0.0029913853, + -0.010841458, + 0.06045274, + -0.010927255, + 0.017549485, + 0.04498688, + 0.021970162, + 0.0039033508, + 0.039026584, + -0.014801015, + -0.038384035, + 0.011031192, + 0.05046351, + 0.069603786, + -0.0448395, + 0.07064965, + 0.034933846, + 0.017219802, + -0.020386225, + 0.03918434, + 0.022690771, + 0.02250688, + -0.02125932, + -0.024397055, + -0.041479517, + 0.0021811563, + 0.024932863, + -0.0016239084, + -0.035130117, + 0.006782447, + 0.019887537, + 0.017876409, + 0.004281739, + -0.053636227, + -0.036053102, + 0.0071094916, + 0.022409437, + 0.015321773, + 0.009389191, + 0.017875718, + -0.012667931, + 0.07174269, + 0.044992432, + 0.013679225, + -0.030619971, + 0.013419352, + -0.02099937, + 0.024976395, + 0.015999475, + 0.020958291, + -0.03246879, + 0.0063334787, + 0.014710857, + -0.031483088, + -0.06061249, + -0.01247752, + -0.012752215, + 0.01609395, + 0.013569476, + -0.053999126, + 0.020195998, + 0.008551539, + -0.034312032, + -0.007901874, + 0.0020114994, + -0.009007361, + 0.0393446, + 0.027051173, + 0.04252241, + -0.03149984, + -0.015264395, + -0.013952082, + 0.004103816, + -0.009843418, + -0.03377693, + 0.014386017, + 0.004147486, + -0.02103055, + 0.034057148, + -0.001441091, + -0.005893127, + -0.0070277993, + -0.042343, + 0.027229974, + 0.007475837, + 0.043138083, + 0.014321102, + -0.014741856, + 0.012333354, + 0.032945044, + -0.01767736, + -0.00234762, + -0.026946783, + 0.062940285, + -0.025449064, + -0.019185688, + -0.101344116, + -0.03872, + 0.06761408, + 0.012973238, + -0.053557914, + -0.05854512, + -0.09157686, + -0.03998469, + -0.05349445, + -0.04107009, + 0.002946318, + -0.04469915, + 0.011397728, + -0.0024025647, + 0.044799995, + -0.039814148, + 0.03674319, + -0.01663758, + -0.008397485, + 0.08320393, + -0.04613225, + -0.041843656, + 0.030095894, + 0.007412423, + -0.020578282, + 0.03383641, + 0.008872824, + 0.08990073, + 0.023325335, + 0.027078647, + -0.0044232146, + 0.05165188, + 0.007495111, + -0.023436958, + -0.08890389, + -0.00097186037, + 0.019410226 + ] + }, + { + "id": "backend_onboarding_v1.1.txt-3", + "document": "backend_onboarding_v1.1.txt", + "section": "General", + "text": "General\nThe seed also creates roles, two branches, guard availability, five\nshift scenarios, attendance, isolated payroll, messages a nd\nnotifications. Payroll generation is scoped to the deterministic seeded\ncompleted shift and does not absorb unrelated developer-created shifts.\nFixture time zones: Some seed helpers currently mix local-time and UTC\ncalculations. Scenarios and durations remain correct, but absolute\nstored timestamps can differ between Docker UTC and a host such as\nAdelaide. This is acceptable for local fixtures and may be normalised\nlater. 7. MongoDB Compass connection Create a new Compass connection\nnamed SecureShift Local Docker:\nmongodb://secureshift_app:secureshift_app_password@localhost:27017/secureshift_local?authSource=secureshift_local\nIf localhost does not work, try:\nmongodb://secureshift_app:secureshift_app_password@127.0.0.1:27017/secureshift_local?authSource=secureshift_local\nConfirm MongoDB is published to the host: docker compose ps Expected\nport mapping: 0.0.0.0:27017->27017/tcp Check collection document counts:\ndocker compose exec mongodb mongosh\n“mongodb://secureshift_app:secureshift_app_password@localhost:27017/secureshift_local?authSource=secureshift_local”\n–quiet –eval ‘db.getCollectionNames().forEach(c => print(c + “:” +\ndb.getCollection(c).countDocuments({})))’ Empty collections: After\ndocker compose down -v, previous local documents are gone. Empty\ncollections with indexes are normal until data is created or npm run\nseed is run. 8. MongoDB 6 end-of-life warning MongoDB Compass may warn\nthat MongoDB 6 has reached end of life because the current Compose file\nuses mongo:6. This does not prevent local development and is not the\ncause of empty collections. • Do not silently change docker-compose.yml\non main. • Treat a MongoDB image upgrade as a separate tested PR. • Test\napplication compatibility, clean-volume startup, authentication, health\nchecks and the migration path. 9. Email and verification codes\nEMAIL_ENABLED=false means no genuine SMTP account is required. The", + "embedding": [ + 0.048167147, + 0.038089875, + -0.18387635, + -0.04545269, + -0.00288177, + -0.027294299, + 0.03436728, + -0.018048253, + -0.0186801, + -0.028558895, + -0.031376712, + 0.008323142, + 0.09064961, + 0.015761454, + -0.024145978, + -0.0102695925, + -0.002173732, + -0.014045754, + 0.041634127, + 0.037922546, + 0.048470873, + -0.049559552, + 0.010124093, + 0.024531657, + 0.02673812, + 0.09864707, + 0.024306871, + -0.0151122, + -0.007746481, + 0.0074297166, + 0.07983919, + 0.035539012, + -0.038922973, + -0.037926108, + -0.050976947, + -0.017377397, + -0.0026132728, + -0.033267867, + -0.012901542, + -0.00969358, + 0.04481579, + -0.0031055745, + -0.0034489967, + -0.05529573, + 0.008628712, + 0.0070953956, + 0.07654861, + 0.027126448, + 0.06322424, + -0.10549914, + -0.01223317, + -0.010433918, + 0.010067947, + 0.0053036646, + 0.031262673, + 0.053372238, + -0.025584823, + 0.0387252, + 0.02983838, + -0.045260217, + 0.094228126, + 0.033668794, + -0.0063962694, + 0.07099653, + 0.027217856, + 0.032969117, + -0.039577954, + 0.028107394, + 0.012452989, + 0.018796833, + 0.04010218, + 0.027507978, + -0.001081938, + 0.018434891, + 0.0198637, + 0.028164208, + 0.0037726734, + -0.02603982, + -0.037677914, + 0.02685997, + 0.005427019, + 0.029996028, + 0.03419655, + 0.0024350747, + 0.05570408, + 0.022807738, + -0.02053126, + -0.025891589, + -0.04090388, + 0.065192305, + 0.02336071, + -0.0119229425, + 0.036978442, + 0.031650234, + -0.07611096, + 0.06903004, + 0.025270475, + 0.0387618, + -0.045244016, + -0.0087702125, + -0.0039824285, + -0.034783803, + -0.009741129, + -0.019416418, + 0.018620498, + 0.029488081, + -0.018651469, + 0.0012960645, + 0.025108192, + 0.004636666, + -0.031691484, + 0.014982544, + -0.04403983, + 0.032494977, + 0.0035248965, + -0.01958492, + 0.10375177, + -0.027823439, + 0.013786781, + 0.03846042, + 0.014173193, + -0.0030812225, + -0.0008047892, + 0.041569054, + 0.042906463, + 0.07186023, + -0.027946753, + -0.034699988, + 0.0040652566, + -0.043349028, + 0.0076738223, + -0.043519028, + -0.05063677, + 0.02656579, + 0.008956874, + 0.038497195, + -0.010696756, + -0.0047849324, + 0.012466973, + -0.011293887, + -0.008958248, + -0.032007482, + 0.014999932, + 0.03006727, + 0.0047177128, + -0.0126941195, + 0.03701015, + -0.033622473, + -0.025171328, + 0.061054777, + 0.0075255297, + 0.011136102, + 0.0044105197, + 0.019828541, + 0.037086353, + -0.0150018595, + -0.006432387, + -0.02277932, + 0.063784346, + 0.0652111, + 0.035424363, + -0.04315055, + -0.050841868, + 0.024266137, + 0.004258961, + -0.047074195, + 0.061714422, + 0.053185362, + -0.011698782, + -0.0073887724, + -0.036599737, + -0.06230647, + 0.026022159, + 0.022155493, + 0.006342175, + -0.015938517, + 0.04903886, + -0.048200443, + 0.048228107, + -0.015511081, + 0.041577023, + -0.05014605, + 0.017260233, + 0.0036969075, + -0.0061737113, + -0.02754434, + 0.041118406, + -0.054175068, + -0.003129684, + -0.039648164, + 0.027344862, + 0.0042430735, + -0.075752154, + 0.013535447, + -0.037213564, + -0.017291684, + 0.035445414, + -0.017805714, + -0.0036258688, + -0.023015779, + -0.0061012837, + 0.013613005, + -0.017647969, + 0.0303139, + -0.029994134, + 0.07282217, + 0.007505457, + 0.0025901191, + -0.01889923, + 0.004435185, + 0.065102436, + -0.05246252, + -0.05259126, + -0.026277639, + 0.003267555, + -0.013469061, + 0.020821359, + 0.015931513, + -0.013276506, + -0.009969492, + -0.014713283, + -0.015989427, + 0.013656056, + -0.016523775, + 0.07616727, + 0.012986951, + -0.050257277, + 0.008336906, + -0.013377674, + 0.007902671, + 0.0073140273, + -0.064127535, + -0.004864251, + 0.018765567, + 0.011498167, + 0.012200391, + 0.038762953, + 0.0069278823, + 0.036454324, + 0.031950515, + 0.038107917, + 0.032152083, + -0.0040455484, + 0.0037419954, + -0.050022848, + 0.014758718, + 0.031099027, + -0.06226822, + 0.02787495, + 0.052118655, + 0.013470938, + -0.03804093, + 0.04126062, + 0.025335563, + 0.017053813, + -0.06399923, + -0.030195428, + -0.023441197, + -0.03450853, + -0.040068284, + 0.019876834, + -0.055204097, + 0.027194584, + 0.00006528685, + -0.0035274986, + -0.0574807, + -0.039655402, + 0.016680716, + -0.0016214404, + -0.05269477, + -0.007115264, + -0.004865272, + 0.029466802, + 0.09734085, + -0.014011801, + 0.016155114, + 0.003379716, + 0.053413883, + -0.017360516, + 0.048066042, + -0.07016402, + -0.048114866, + -0.018790856, + 0.015922477, + -0.03674249, + -0.009876111, + 0.014474194, + -0.018088257, + 0.025007267, + 0.027288854, + 0.06288702, + 0.0026580165, + 0.033973422, + 0.08933464, + 0.006906019, + -0.0017957817, + -0.01105953, + -0.026445484, + 0.009660166, + -0.08179018, + 0.036549147, + 0.05393836, + 0.0709677, + 0.03452976, + -0.005598833, + 0.0059916405, + -0.00094985904, + -0.008030851, + -0.001323729, + -0.024166485, + 0.0031688751, + 0.027304875, + -0.009484758, + 0.025214808, + -0.026981808, + 0.06893658, + 0.014208041, + 0.052643165, + 0.012096211, + -0.069728084, + -0.017343298, + -0.0149654, + -0.00072072016, + -0.032785837, + 0.036045652, + 0.079140864, + -0.014824194, + 0.062330764, + -0.049677875, + 0.009953081, + 0.026660705, + -0.0004551139, + 0.027035646, + -0.0066175065, + -0.075319216, + 0.0029428601, + 0.039931662, + 0.027885973, + 0.007893618, + 0.03316722, + 0.02821992, + -0.023646003, + 0.0037536186, + -0.040814035, + -0.05250042, + -0.0016550882, + -0.055950604, + 0.0032559487, + 0.04334753, + 0.08942529, + -0.03407781, + -0.021404848, + 0.039005786, + 0.012334411, + 0.050160043, + -0.0152026005, + -0.019564869, + 0.0075660874, + -0.031487342, + 0.038128335, + 0.014735976, + -0.0012464348, + 0.017993275, + -0.024333995, + 0.0142970085, + 0.03423174, + 0.025724225, + -0.017864626, + 0.06305019, + -0.026269726, + 0.01066228, + -0.013594663, + -0.01712324, + 0.0137632005, + 0.04820404, + 0.00359909, + -0.058565386, + 0.010623887, + 0.016112968, + 0.042646617, + 0.023815053, + -0.020313673, + 0.019634869, + -0.034703754, + 0.029253487, + 0.040172894, + 0.035148665, + 0.016298704, + -0.035146497, + 0.023077337, + 0.021157868, + -0.04301014, + -0.010285357, + -0.02120804, + 0.06449942, + 0.030463336, + 0.013524805, + 0.02427787, + 0.026952984, + 0.027291639, + -0.035415445, + -0.101358995, + 0.014586541, + 0.00051677413, + 0.028113924, + -0.045457523, + -0.061172202, + -0.047667336, + 0.028336646, + -0.048415445, + 0.050782695, + 0.015995765, + -0.041720472, + -0.06066881, + 0.020989966, + -0.039370324, + 0.110174775, + 0.01021897, + -0.024363082, + -0.030390728, + 0.03945828, + 0.060165934, + -0.0032390594, + -0.016006725, + 0.011906521, + 0.07062687, + -0.02544341, + -0.017802088, + -0.030534444, + -0.03462077, + 0.02673429, + 0.039587636, + 0.083369106, + -0.030983886, + 0.000001099394, + -0.005518622, + -0.010831667, + 0.030597806, + -0.0095219435, + 0.050114874, + 0.01833386, + -0.025184078, + -0.004117265, + -0.008686685, + -0.02538998, + 0.100882426, + 0.027026892, + -0.036330383, + -0.024003746, + 0.01797513, + 0.042224903, + 0.004788993, + 0.049953967, + -0.009644771, + 0.09357787, + 0.0057645747, + -0.008981885, + -0.0023732393, + -0.011213121, + -0.01931236, + 0.02010017, + 0.01739289, + -0.07610629, + -0.014921277, + 0.00338021, + 0.031957913, + 0.0034726935, + 0.0010513271, + 0.019206244, + 0.020307006, + -0.054713912, + -0.032372277, + -0.028283004, + -0.055049334, + -0.004666067, + -0.012471034, + 0.0015362067, + 0.0009843712, + 0.028500177, + -0.01944373, + 0.020273052, + -0.009756581, + -0.04318318, + -0.022403426, + -0.012731498, + 0.03964459, + 0.008938062, + -0.03249485, + 0.018247906, + -0.022092069, + 0.03164805, + -0.043434393, + 0.022191504, + 0.01636644, + -0.0027975764, + -0.023842398, + -0.023114687, + -0.024364168, + -0.0025391523, + -0.018514264, + 0.0053435043, + 0.051176123, + -0.003622942, + -0.038195234, + 0.0017250369, + -0.005357116, + 0.009086883, + -0.05287315, + -0.024911974, + 0.022381127, + -0.0084704645, + -0.02363372, + -0.0031037254, + 0.031340916, + 0.09407666, + -0.07352042, + -0.0057114293, + -0.023801906, + -0.0863401, + 0.024958082, + -0.036662526, + 0.015957562, + 0.028812572, + -0.05865114, + -0.07128397, + 0.007643769, + 0.0063500116, + -0.048509203, + 0.03299108, + -0.013380821, + -0.03438781, + 0.03573862, + -0.057576213, + -0.020579187, + 0.025492996, + -0.004264476, + -0.035699375, + 0.037826657, + 0.03605792, + 0.01874051, + -0.012020156, + -0.022124799, + -0.030690255, + -0.032378178, + -0.09144939, + -0.035976674, + -0.00038461198, + 0.04203625, + -0.011609409, + -0.066318855, + 0.006386634, + -0.012676658, + 0.016507588, + 0.006854863, + 0.027494563, + -0.008979859, + 0.0017883972, + -0.001738964, + -0.056481883, + -0.03395025, + -0.04143672, + -0.011501717, + 0.059402384, + -0.014439704, + 0.01951234, + 0.02050985, + -0.026974149, + -0.00087942247, + 0.023348391, + 0.048297405, + 0.012429405, + -0.03381353, + 0.019370455, + -0.010733007, + -0.002459733, + -0.03688111, + -0.022970304, + 0.0068737194, + -0.023781238, + -0.009888727, + 0.019214025, + -0.0031862122, + 0.030680893, + 0.04947987, + -0.0025324377, + 0.00051864836, + -0.037767485, + -0.06325543, + 0.02361574, + -0.040661756, + -0.0071726246, + 0.014551712, + 0.036041576, + 0.018039804, + 0.004107604, + 0.035560705, + -0.010056868, + -0.021447273, + -0.038638238, + -0.092926785, + -0.032894596, + -0.0042594946, + 0.05957653, + -0.011709094, + 0.009812332, + 0.08278372, + -0.052315593, + 0.008705065, + 0.023709899, + 0.01225548, + 0.031270463, + -0.002901511, + -0.02649679, + 0.016785864, + 0.004821205, + -0.057070978, + 0.026557356, + -0.010659592, + -0.04327804, + -0.041883655, + -0.013133041, + -0.046975125, + 0.0114099635, + -0.042480536, + 0.0009766832, + 0.019569814, + -0.020649604, + -0.081403196, + -0.033011887, + 0.067201875, + -0.035404585, + 0.009025915, + -0.07083235, + -0.039326005, + -0.05808325, + 0.035688028, + -0.02673716, + 0.02815955, + 0.0148725305, + 0.03269387, + 0.028056327, + -0.0024142028, + -0.05940382, + -0.0010972025, + 0.004953205, + -0.07350048, + 0.01690779, + 0.032358967, + 0.045927607, + -0.0034265881, + 0.065708995, + 0.03691787, + 0.041180752, + -0.026478183, + 0.0348753, + 0.015057709, + 0.027029863, + -0.03980912, + -0.014502701, + -0.028632522, + -0.02779158, + 0.012104523, + -0.035796236, + 0.00979357, + 0.019057106, + -0.0020151134, + 0.024852552, + -0.0041812193, + -0.055850953, + -0.025132189, + -0.009802953, + 0.057604354, + -0.0167549, + -0.019851163, + 0.046795525, + 0.005734034, + 0.05244958, + -0.007955584, + -0.0053902376, + -0.03465947, + 0.018746264, + 0.0010067044, + -0.0006247949, + -0.016067134, + 0.025305524, + -0.045363672, + -0.003836589, + -0.017534442, + -0.0127413375, + -0.035314374, + 0.030749742, + 0.027849333, + 0.015450786, + 0.0039631138, + -0.023626879, + 0.014183959, + 0.021699198, + -0.058160245, + 0.0034893202, + -0.01289085, + -0.01344494, + 0.05537145, + -0.004365832, + 0.0105836345, + -0.010392586, + -0.009749919, + -0.035557486, + 0.003302442, + -0.034858115, + -0.04538334, + 0.02505546, + 0.0062694075, + -0.036542334, + -0.01322064, + -0.013121473, + 0.018161701, + -0.017513324, + -0.08288098, + 0.008932591, + 0.0451933, + -0.002885713, + -0.0021095504, + -0.0189073, + -0.034664128, + 0.006274777, + -0.026559351, + 0.03073592, + -0.024461271, + 0.017391965, + -0.050170712, + 0.009842183, + -0.08200862, + -0.036256947, + 0.07982252, + -0.0115131335, + -0.04345822, + -0.04826792, + -0.063859254, + -0.018676752, + -0.05405467, + -0.05305708, + 0.004110042, + -0.029239599, + -0.008302344, + -0.01068455, + 0.05232247, + -0.009557347, + 0.058051344, + -0.0028638933, + -0.026790377, + 0.032680213, + -0.027061025, + -0.04588847, + -0.013107566, + -0.021209562, + -0.0062199966, + 0.06423458, + 0.010333703, + 0.08652739, + -0.029621543, + 0.054554842, + -0.05905107, + 0.05172319, + -0.000472088, + -0.02187304, + -0.063569054, + -0.004778969, + 0.0054842927 + ] + }, + { + "id": "backend_onboarding_v1.1.txt-4", + "document": "backend_onboarding_v1.1.txt", + "section": "General", + "text": "General\nlocal@example.test values are placeholders; real emails and verification\ncodes will not be sent.\nSecureShift Backend Onboarding — Version 1.1 To test real email\ndelivery, obtain the team’s private SMTP configuration:\nEMAIL_ENABLED=true SMTP_HOST= SMTP_PORT= SMTP_SECURE= SMTP_USER=\nSMTP_PASS= SMTP_FROM_EMAIL= • Store real credentials only in the ignored\napp-backend/.env. • Never post SMTP passwords in GitHub, Teams channels\nor documentation. • The seed does not bypass OTP. When email is\ndisabled, use Compass or an approved development workflow to inspect\nlocal users and statuses. 10. Validation checklist • docker compose ps\nshows secureshift-db healthy. • Backend health returns HTTP 200 with\n{“status”:“ok”}. • Compass connects to secureshift_local through\nlocalhost:27017. • npm run seed produces stable counts on repeated runs.\n• npm run seed:reset removes seeded records but preserves unrelated\nlocal records. • git check-ignore -v app-backend/.env confirms the\nprivate environment file is ignored. • No real passwords, SMTP\ncredentials, JWT secrets or encryption keys are committed. 11.\nTroubleshooting Symptom Likely cause and fix getaddrinfo EAI_AGAIN\nmongodb Backend is outside Docker. Change @mongodb:27017 to\n@localhost:27017 in app-backend/.env. Compass connects but shows zero\ndocuments The volume was reset, this is a different local database, or\nseed data has not been loaded. Run npm run seed or the Docker seed\ncommand. Mongo healthcheck fails with UserNotFound An old volume still\ncontains old credentials. Run docker compose down - v once, then\nrebuild. Port 5000 already in use on Mac Use PORT=5001 for a host-run\nbackend and BACKEND_HOST_PORT=5001 for the full Compose stack. Seed", + "embedding": [ + 0.059348833, + 0.051632427, + -0.1742428, + -0.028058628, + 0.05732668, + -0.019601142, + 0.035117045, + 0.054059934, + 0.024459394, + -0.030991705, + -0.06655461, + 0.07205067, + 0.024956664, + 0.0061974833, + -0.040299054, + 0.0076594222, + 0.040725563, + -0.037538838, + 0.0070761405, + -0.010111871, + 0.023799958, + -0.029699476, + -0.01689848, + 0.015827106, + 0.04527396, + 0.04474998, + 0.02796287, + 0.027174449, + -0.024411133, + -0.03167569, + 0.041333683, + 0.0077847084, + -0.020125885, + -0.037703786, + -0.050955106, + -0.03479616, + -0.016953047, + -0.009440193, + -0.017208742, + 0.014040501, + 0.02672476, + 0.020941667, + -0.057794012, + -0.014303078, + 0.0067458735, + 0.046807893, + 0.040173344, + 0.021594997, + 0.0842354, + -0.096307665, + -0.008740248, + -0.03147132, + 0.031464126, + 0.00028600747, + 0.031311385, + 0.021455446, + -0.005446572, + 0.06440855, + 0.0005977701, + -0.06904386, + 0.07108542, + 0.046724398, + -0.014807161, + 0.08505066, + 0.028888041, + 0.03177407, + -0.06451844, + 0.039797552, + -0.00798015, + 0.012990601, + 0.04140516, + 0.008357613, + -0.02833831, + -0.015750697, + -0.007846046, + -0.023552874, + -0.015620508, + -0.031589165, + -0.05215445, + 0.039591122, + 0.003982007, + 0.0073487647, + 0.043078788, + 0.022599708, + 0.051791195, + 0.0021354402, + -0.03229207, + -0.011177332, + -0.06409197, + 0.057304088, + -0.036808755, + -0.008827215, + -0.0009147978, + 0.023421913, + -0.033982564, + 0.03648061, + 0.010085874, + 0.03138209, + -0.04880187, + -0.029522758, + 0.0035454135, + -0.014310798, + -0.022952655, + 0.009005021, + 0.011304655, + 0.015558002, + 0.012883052, + 0.04586048, + 0.03058099, + 0.016096957, + 0.0100014135, + 0.036697723, + -0.018435577, + 0.03611615, + 0.014781814, + -0.013930903, + 0.060575306, + -0.06869706, + -0.012511009, + 0.047388762, + -0.004860359, + -0.02333648, + -0.0002039585, + 0.026379792, + 0.06044883, + 0.06929528, + -0.023284642, + 0.0017846074, + 0.013029713, + -0.06343507, + 0.011635611, + -0.072047286, + -0.087514855, + 0.030349597, + -0.00019996884, + 0.0063859182, + -0.02900365, + 0.015121236, + 0.0012696633, + -0.040031504, + 0.004658218, + 0.004052902, + 0.008131603, + 0.03943225, + 0.041272763, + -0.043551315, + 0.04398951, + -0.013633487, + -0.022608971, + 0.041797474, + 0.015356021, + 0.0034825343, + 0.025882505, + 0.031874508, + 0.00030647754, + -0.03347825, + 0.011900943, + 0.01912584, + 0.061215665, + 0.07304206, + 0.04878176, + -0.011909645, + -0.015282158, + 0.041603934, + -0.0038332695, + -0.0029108499, + 0.025679063, + 0.080896914, + 0.0005458396, + 0.0073568216, + -0.03328409, + -0.058141366, + 0.008188579, + 0.005813842, + -0.03553778, + 0.018629603, + 0.029585835, + -0.059209276, + 0.055121504, + 0.0024452312, + 0.050271533, + -0.009589831, + 0.04139746, + -0.013451127, + -0.012307663, + 0.0024712111, + 0.0071092662, + -0.01623172, + 0.0050922735, + -0.041648306, + 0.025792407, + -0.001987572, + -0.11525357, + -0.021805335, + -0.020365605, + -0.033645883, + 0.02996078, + -0.0037669293, + 0.048797395, + -0.000055223947, + -0.018242098, + 0.05300566, + 0.0046180845, + 0.009897289, + -0.04368277, + 0.02210381, + -0.026422327, + -0.01709543, + -0.01735687, + 0.0017234571, + 0.044100944, + -0.04355711, + -0.058916688, + -0.029734379, + 0.03492875, + -0.025408376, + 0.03607741, + -0.03604903, + -0.011637795, + -0.029104937, + 0.02202943, + -0.006674719, + 0.019464735, + -0.033618152, + 0.017357348, + -0.0060681873, + -0.059009682, + -0.011310617, + -0.047968738, + -0.0016742967, + -0.013099271, + -0.04485923, + 0.03133013, + 0.054561604, + 0.022584159, + 0.01901429, + 0.022458714, + -0.0053814896, + 0.019655019, + 0.03463096, + 0.022342745, + 0.049557116, + -0.03716129, + 0.024514774, + -0.005024416, + 0.0010374617, + 0.005593282, + -0.06350608, + 0.012531184, + 0.022111222, + -0.010339568, + 0.033182647, + 0.0703712, + -0.011918674, + 0.00047731903, + -0.04169351, + -0.0067957942, + -0.049908392, + 0.02549969, + -0.060899176, + -0.026675284, + -0.053602226, + 0.03929099, + 0.0046789455, + 0.01455468, + -0.04174414, + -0.055268172, + 0.038317706, + 0.013411206, + -0.023815932, + 0.036447212, + 0.046751693, + 0.031193595, + 0.069276504, + 0.02675353, + -0.0038375908, + 0.014878867, + 0.010536873, + -0.011636387, + 0.0706436, + -0.080059834, + -0.016116157, + -0.0005528757, + -0.00086697435, + -0.008693534, + -0.029405378, + -0.0043848986, + -0.0416714, + 0.04358838, + -0.018708741, + 0.07455709, + -0.0020861719, + -0.011827279, + 0.057053924, + -0.010353195, + 0.01022263, + 0.02229563, + -0.040102467, + -0.0042159013, + -0.064101614, + 0.021444147, + 0.036315534, + 0.082049355, + 0.039135627, + -0.03013099, + -0.011716548, + 0.011613141, + -0.0016920031, + 0.033351574, + 0.010421432, + -0.022832293, + 0.009918717, + -0.014566698, + 0.024435848, + -0.0381318, + 0.07427115, + -0.002206258, + 0.0490624, + 0.016755132, + -0.07767979, + -0.023660773, + -0.037424553, + -0.03602729, + -0.04795676, + 0.019343754, + 0.04373061, + -0.0011466246, + 0.07420462, + -0.03693215, + -0.04524066, + 0.05430585, + 0.039109364, + 0.016112821, + -0.039501507, + -0.038890526, + -0.012096141, + -0.0027675454, + 0.013304432, + -0.0030455824, + 0.02831969, + 0.05607574, + -0.037399642, + -0.008281455, + -0.043290406, + -0.02304008, + -0.00608904, + -0.030473238, + -0.04421366, + 0.05090244, + 0.08152712, + -0.018416356, + 0.014707483, + 0.028687932, + 0.011108202, + -0.00027942285, + -0.046402406, + 0.00036835705, + -0.026537439, + -0.002100257, + 0.039395954, + 0.0589245, + 0.022784213, + 0.02298259, + -0.026392644, + 0.019415295, + 0.036061984, + 0.020079339, + -0.030066317, + 0.028998153, + 0.015585452, + 0.008541431, + -0.03934384, + -0.0030104134, + 0.004635174, + 0.041803293, + 0.042150535, + -0.07018352, + -0.0040260768, + 0.0014627548, + 0.03632899, + 0.063676655, + -0.013776866, + -0.002621927, + -0.019758722, + 0.027839731, + 0.0022470762, + 0.025568394, + 0.017772252, + 0.0043434314, + 0.065818526, + 0.028454484, + -0.037483163, + -0.01453738, + 0.038975988, + 0.058510795, + -0.029199509, + 0.010757036, + -0.003419497, + -0.0028504077, + 0.035578292, + -0.07436444, + -0.06245356, + 0.000035291494, + 0.011110823, + -0.01811973, + -0.044606045, + -0.057359435, + 0.0065298555, + 0.03625225, + -0.028971387, + 0.036351275, + -0.000047552872, + -0.010892505, + -0.07587341, + 0.015139155, + -0.048822083, + 0.09421209, + 0.0024013491, + -0.04195139, + -0.07375538, + 0.016354363, + 0.052589297, + 0.019825518, + 0.010299315, + 0.034342416, + 0.036998082, + -0.026007898, + 0.017400704, + -0.005739248, + -0.037949093, + 0.027264223, + 0.025297629, + 0.04683621, + 0.0144480765, + -0.009701933, + 0.021005478, + 0.00039977496, + 0.021674767, + -0.021556992, + 0.06698019, + 0.02209543, + -0.0055795317, + -0.036276456, + -0.0059884964, + 0.02200658, + 0.10712718, + 0.047743168, + -0.0020856068, + -0.037042007, + 0.045267597, + -0.0413918, + 0.0074211517, + 0.03931512, + 0.019696254, + 0.07596653, + 0.011225067, + -0.023719069, + -0.033556547, + -0.010695449, + -0.038496427, + 0.011082237, + -0.0028159437, + -0.046013642, + 0.008294975, + -0.0075013405, + 0.024675554, + 0.000096729935, + -0.0056443634, + 0.047537707, + 0.049001463, + -0.045416076, + -0.011781659, + 0.03544496, + -0.017969297, + 0.0061456044, + 0.021051114, + 0.0040441616, + 0.03639897, + -0.0025008477, + 0.019563835, + 0.019785564, + 0.0023306767, + -0.031531997, + -0.021600034, + -0.014064204, + 0.06867808, + -0.010434679, + -0.026821442, + 0.021644428, + -0.01653485, + 0.047297128, + -0.02352398, + 0.0022382399, + -0.008939003, + -0.0060400115, + -0.04811997, + -0.041633096, + -0.0075028, + -0.006203128, + -0.015331953, + -0.0032700791, + 0.048559412, + -0.0025708857, + -0.00018167937, + 0.023123162, + -0.035547193, + -0.0025670642, + -0.06253522, + -0.043982223, + -0.0069755036, + -0.0117439255, + -0.03232366, + 0.030823257, + 0.009514389, + 0.07323719, + -0.05179961, + 0.01061576, + -0.018783275, + -0.074172094, + 0.040547315, + 0.010802146, + -0.005735116, + 0.014388888, + -0.06664005, + -0.0682046, + 0.033168532, + -0.0106965555, + -0.028933467, + 0.009782258, + 0.018373284, + -0.04801498, + 0.061411735, + -0.040960267, + -0.029932024, + 0.022463147, + -0.033321418, + -0.0077998387, + 0.019335235, + -0.005162874, + 0.055278923, + -0.0021814327, + -0.0027441059, + -0.019594043, + 0.023950204, + -0.061665498, + -0.018866843, + 0.00035827782, + 0.04013166, + -0.026631815, + -0.09861001, + 0.015997259, + -0.0194125, + -0.03583862, + 0.008154097, + 0.029301567, + -0.055922605, + -0.026055092, + -0.016791215, + -0.052309968, + -0.062658414, + -0.016758174, + -0.011601064, + 0.06724488, + 0.004830358, + -0.0066866362, + 0.001300241, + -0.016236136, + -0.0009557885, + -0.0032100026, + 0.01567991, + -0.015460062, + -0.029491456, + 0.0068825893, + -0.042463385, + -0.037117183, + 0.008764719, + -0.015833234, + 0.011281049, + -0.008726376, + -0.027132878, + 0.023443881, + 0.036149964, + 0.0541365, + 0.04795365, + 0.009090214, + -0.01528481, + -0.04726304, + -0.056671236, + 0.018939873, + -0.015866868, + -0.0030961586, + -0.025312116, + -0.019813787, + 0.028285189, + 0.00049362675, + 0.029775092, + 0.0062684435, + -0.042913627, + -0.040624607, + -0.047987014, + -0.030812709, + 0.008202442, + 0.026867311, + -0.023756668, + -0.0133480895, + 0.036621407, + -0.0013466743, + 0.023938043, + 0.0070110634, + 0.023302063, + 0.034050554, + -0.036214363, + -0.038235337, + 0.015681582, + 0.040813502, + -0.059955478, + 0.03675754, + -0.009109441, + -0.053980432, + -0.04256371, + -0.030557815, + -0.063071676, + 0.03625248, + -0.014344415, + 0.054328248, + 0.021414066, + 0.014500532, + -0.03119104, + -0.0023732127, + 0.05979141, + -0.04037404, + 0.09295575, + -0.06794807, + -0.057517536, + -0.058159795, + 0.01787205, + 0.035424154, + -0.0076092863, + 0.018035976, + 0.034839883, + 0.07199491, + -0.0001535229, + 0.007054916, + -0.010604913, + -0.02770939, + -0.04004757, + -0.0039607603, + 0.039179094, + 0.040358026, + 0.002845121, + 0.07398517, + 0.03586902, + 0.01665798, + -0.034941282, + 0.031886995, + 0.003769101, + 0.022809813, + -0.012007128, + -0.030368343, + -0.023822516, + -0.0016954982, + 0.017627431, + -0.038474116, + -0.009460054, + 0.049761064, + 0.00940512, + 0.0066838497, + -0.04351272, + -0.023163015, + -0.04360595, + 0.0054384065, + 0.021462038, + -0.0017412163, + -0.0074421098, + 0.019917767, + -0.009684076, + 0.084231496, + 0.029613174, + -0.020133568, + -0.01975126, + 0.0679521, + 0.017910536, + 0.009445448, + 0.031570327, + 0.035109296, + -0.03950061, + -0.0004912331, + -0.015036084, + 0.0073892763, + -0.0077669504, + 0.027292019, + -0.011436226, + 0.0240845, + 0.024200093, + -0.051156938, + 0.0048178546, + 0.012512205, + -0.039030775, + -0.03827704, + -0.01878699, + 0.00853238, + 0.08549995, + 0.026621882, + 0.013657382, + -0.00066791545, + -0.014811525, + -0.026029494, + -0.015390532, + -0.029619921, + -0.028760899, + 0.020637888, + 0.005117823, + -0.01643606, + 0.015911033, + 0.021841804, + 0.0076582804, + -0.016467504, + -0.08908769, + 0.0013680824, + -0.008693175, + 0.030482797, + -0.0057710255, + -0.04381625, + -0.028001184, + 0.039890043, + -0.029960725, + 0.025984226, + -0.024015669, + 0.036687553, + -0.029522939, + -0.012781292, + -0.039930232, + -0.030374993, + 0.073264025, + -0.015265387, + -0.046097897, + -0.008423744, + -0.07590242, + -0.032390613, + -0.07976494, + -0.042071223, + -0.020698596, + -0.031232983, + -0.023909416, + -0.017317036, + 0.03194752, + -0.04667791, + 0.05718848, + -0.041593894, + -0.06935129, + 0.0742305, + -0.03680376, + -0.045319803, + 0.04180762, + -0.02963068, + -0.021393035, + 0.020435385, + -0.011829431, + 0.08572512, + -0.0067676576, + 0.015976159, + -0.052570686, + 0.027009634, + -0.0026036, + -0.038914464, + -0.10274903, + -0.0054922285, + 0.0030103282 + ] + }, + { + "id": "backend_onboarding_v1.1.txt-5", + "document": "backend_onboarding_v1.1.txt", + "section": "General", + "text": "General\nrefuses to run Confirm NODE_ENV is not production,\nSEED_ALLOW_LOCAL=true, the URI is explicit and authenticated, and the\ndatabase name is exactly secureshift_local, secureshift_dev or\nsecureshift_test. Seed reset refuses to run Set\nSEED_RESET_CONFIRM=SecureShiftLocalReset for that command. No\nverification email arrives EMAIL_ENABLED is false or SMTP settings are\nplaceholders. Use valid private SMTP settings. Atlas URI returns\nESERVFAIL This is separate from local Docker MongoDB. Use the localhost\nconnection for local work.\n12. Daily command summary Backend development - WSL cd\n~/developer/SecureShift docker compose up -d mongodb cd app-backend\nnpm run dev\nSecureShift Backend Onboarding — Version 1.1 Backend development - Mac\ncd /path/to/SecureShift docker compose up -d mongodb cd app-backend npm\nrun dev Load local seed data - host-run backend cd app-backend npm run\nseed Load local seed data - Docker docker compose run –rm -e\nSEED_ALLOW_LOCAL=true backend npm run seed Full stack check cd\n/path/to/SecureShift docker compose down docker compose up –build -d\ndocker compose ps Normal shutdown docker compose down", + "embedding": [ + 0.041581832, + 0.06370038, + -0.16905992, + 0.00786735, + 0.060102694, + -0.03854508, + 0.009345069, + 0.05132588, + -0.030599702, + -0.056870535, + -0.019132694, + 0.06524456, + 0.043815777, + 0.013857731, + -0.03245721, + 0.02767152, + 0.035370532, + -0.0331411, + 0.021438697, + -0.0052210973, + -0.0016045886, + -0.048996247, + -0.011382518, + 0.016689964, + 0.111520514, + 0.052154176, + 0.018508574, + 0.0027169865, + -0.021667711, + -0.008271092, + 0.058327377, + 0.014510397, + 0.028066903, + -0.028953273, + -0.06343587, + -0.025447125, + -0.0031087229, + -0.037308317, + 0.022534203, + 0.021290697, + -0.0017779488, + -0.01811318, + -0.043450076, + -0.05730845, + -0.028496578, + 0.035971634, + 0.04409861, + 0.025090393, + 0.040655117, + -0.102273844, + -0.0052088597, + 0.0024415117, + 0.012566639, + -0.0082571665, + 0.036439884, + 0.03479021, + -0.037546925, + 0.06099891, + -0.004362883, + -0.069073334, + 0.04726126, + 0.0127275055, + 0.014553317, + 0.07979102, + -0.0050615827, + -0.0056752004, + -0.04739971, + 0.042712934, + 0.035101324, + -0.0047060805, + 0.036316242, + -0.007407957, + -0.0069171283, + 0.009708536, + 0.030811332, + -0.007949651, + 0.00055496814, + -0.02242765, + -0.07801434, + 0.045242418, + 0.022284344, + 0.00004288191, + 0.05214374, + 0.021064693, + 0.03899239, + 0.023186509, + -0.039614305, + -0.020458603, + -0.050045818, + 0.056092933, + 0.013351557, + -0.007998422, + -0.044156644, + 0.060489565, + -0.019273577, + 0.029120902, + -0.022508163, + 0.029436054, + -0.03389501, + -0.03667255, + -0.0040729195, + -0.030810347, + -0.0034705764, + -0.03478874, + 0.0054647964, + 0.033473324, + -0.0075989896, + 0.016685814, + 0.01801009, + 0.010405051, + -0.018374298, + 0.03730291, + 0.00040036652, + 0.017652068, + -0.0023981598, + -0.025293373, + 0.08808277, + -0.056106456, + -0.006187552, + 0.04038003, + -0.014057861, + -0.020150578, + 0.015351349, + 0.022774346, + 0.038062498, + 0.08680779, + -0.0183639, + -0.018194243, + 0.0046485397, + -0.024191465, + -0.0024772966, + -0.034717444, + -0.06641311, + 0.027565226, + 0.0242385, + 0.01969159, + -0.048438516, + 0.0035488615, + 0.010878729, + 0.001357081, + -0.027662972, + 0.013361486, + 0.009684862, + 0.012094513, + 0.011689315, + -0.009880697, + 0.05809215, + -0.0021544164, + -0.029450046, + 0.022678003, + -0.0031807413, + 0.02968661, + 0.032896433, + 0.022661615, + 0.012033575, + -0.01976576, + 0.00053680124, + 0.009945169, + 0.057070967, + 0.061989, + 0.079098746, + -0.007183483, + -0.016200406, + 0.041085992, + 0.008519577, + -0.036146943, + 0.026696505, + 0.07887397, + 0.016817544, + 0.04541171, + -0.07428484, + -0.04896298, + -0.02753822, + 0.023963144, + 0.011959858, + -0.019513873, + 0.016806293, + -0.032449167, + 0.04130913, + 0.006496297, + 0.037421513, + -0.008336958, + 0.064978786, + 0.013157664, + -0.042835258, + 0.008437756, + 0.00015909907, + -0.06251778, + 0.00078797754, + -0.031319898, + 0.01687271, + 0.010559772, + -0.08436932, + -0.036673177, + -0.008634356, + -0.05413418, + 0.020118093, + -0.026988005, + 0.048111364, + 0.007525566, + -0.03319671, + 0.053052872, + -0.023364127, + 0.010826645, + -0.053752378, + 0.02776289, + -0.038941585, + -0.0010424675, + -0.010678957, + 0.02633217, + 0.07721884, + -0.062415455, + -0.03840712, + -0.036110092, + 0.059576236, + -0.054570585, + 0.04540376, + -0.031238277, + 0.013019678, + -0.013476892, + -0.003282882, + -0.02177081, + 0.028317424, + -0.021415707, + 0.028377816, + -0.01055894, + -0.055252098, + 0.007958062, + 0.009160773, + -0.007740042, + -0.012392169, + -0.06760052, + 0.017927457, + 0.027672498, + 0.026598832, + -0.00409123, + 0.033655763, + 0.018500086, + -0.004676121, + 0.0023082222, + -0.013130008, + 0.04016308, + -0.031589102, + 0.02297533, + -0.01494888, + -0.018436776, + 0.02279652, + -0.06028633, + -0.0026549052, + 0.010222039, + 0.03415419, + 0.00339765, + 0.043815058, + 0.008749741, + 0.002034965, + -0.055874772, + -0.02117292, + -0.031388994, + 0.024463004, + -0.04912864, + -0.009353047, + -0.053692054, + 0.06482262, + -0.0014385409, + 0.007836735, + -0.03386787, + -0.028292857, + 0.010230086, + 0.025528947, + -0.025774064, + 0.028681247, + -0.0098330835, + 0.034366436, + 0.056405067, + -0.0047887275, + 0.01900142, + 0.031214658, + 0.010089022, + -0.03836278, + 0.07727555, + -0.063060105, + -0.028620582, + -0.0039272336, + 0.006111922, + -0.025079224, + 0.023902755, + -0.03095142, + -0.026397841, + 0.046250753, + 0.013766251, + 0.044372335, + 0.004942041, + -0.02614737, + 0.09213028, + -0.047355525, + -0.021558568, + -0.021275697, + -0.009407743, + 0.03230701, + -0.0391859, + 0.018854503, + 0.041485634, + 0.07399948, + 0.032412473, + 0.009376444, + 0.002226036, + 0.01707863, + 0.025809638, + 0.041514672, + -0.0037299527, + -0.041818313, + 0.011531552, + 0.005277686, + 0.011155009, + -0.014629184, + 0.06342823, + 0.0036408824, + 0.030892855, + 0.01975532, + -0.067484595, + -0.022500465, + -0.02105546, + -0.03192682, + -0.045968555, + 0.007922556, + 0.05368298, + 0.041833274, + 0.07507403, + -0.04096075, + -0.037386563, + 0.023383565, + 0.039731342, + 0.06572124, + -0.00845819, + -0.01874942, + -0.0046076314, + 0.007736447, + 0.012174501, + -0.0069267377, + 0.046998773, + 0.028638104, + -0.027458185, + 0.014835233, + -0.0004598742, + -0.054964185, + 0.0021496746, + -0.09051834, + -0.020666836, + 0.016377233, + 0.07679624, + -0.000011235461, + 0.03194329, + 0.018548336, + 0.03993549, + -0.015529188, + -0.030984512, + 0.0006821993, + -0.048961375, + -0.023547027, + 0.03070592, + 0.05877304, + 0.015640698, + 0.028070575, + -0.038720522, + 0.012131581, + 0.04576845, + 0.03475372, + -0.021542583, + 0.027491605, + 0.008836956, + 0.013588437, + -0.015295623, + -0.01606965, + 0.015488665, + 0.060307413, + 0.016811514, + -0.04269812, + 0.0025095115, + 0.00012066908, + 0.054019436, + 0.075467184, + -0.022298547, + -0.01596548, + -0.0313429, + -0.014539363, + 0.004401337, + -0.00233663, + -0.0035011962, + 0.00013293784, + 0.02922164, + -0.0024614972, + -0.051879738, + -0.030583534, + -0.01745483, + 0.028060695, + 0.040921822, + 0.020652616, + 0.013294955, + -0.032314263, + 0.0425468, + -0.07921101, + -0.08019961, + -0.0074670482, + 0.0061345003, + -0.006386203, + -0.017078955, + -0.07279302, + -0.007844954, + 0.044267457, + -0.026104998, + 0.08393733, + 0.023047887, + 0.018736146, + -0.05828526, + 0.0033420853, + -0.060793847, + 0.07225708, + 0.029610094, + -0.0315618, + -0.043759096, + 0.038318902, + 0.030802289, + 0.01194044, + -0.019058643, + 0.037271477, + 0.060104202, + -0.015589374, + 0.021590719, + 0.030061696, + -0.0328939, + 0.031177491, + 0.027180905, + 0.041691765, + 0.007647548, + 0.012119834, + 0.027334249, + 0.00008481385, + 0.022559306, + -0.032159988, + 0.050949294, + 0.034672845, + -0.014571928, + -0.03486536, + 0.0048487233, + -0.0015797719, + 0.13123527, + 0.06506303, + -0.029899633, + -0.03616886, + 0.048956763, + 0.00440158, + -0.009005521, + 0.046529256, + 0.014643623, + 0.06642167, + 0.008246394, + -0.04423431, + -0.01104492, + -0.0060508386, + -0.024861416, + 0.0176064, + -0.015203726, + -0.041414082, + -0.0030925856, + 0.015298146, + 0.029753491, + -0.012930538, + 0.0038507567, + 0.0663094, + 0.016095862, + -0.014121773, + -0.05245958, + 0.026110256, + -0.0057271924, + 0.00500436, + 0.00037860114, + 0.030857064, + 0.02331212, + 0.023330018, + -0.00067781593, + 0.004497566, + -0.012515706, + -0.052053895, + -0.021262635, + 0.030792981, + 0.061986815, + 0.015765838, + -0.018704826, + 0.013334451, + 0.014966124, + 0.04636139, + -0.0389957, + 0.033616263, + 0.001956897, + 0.033948027, + -0.028769204, + -0.065362215, + -0.047749054, + -0.01582316, + 0.012632328, + -0.01961332, + 0.015707495, + 0.018903185, + -0.014578178, + 0.020893008, + -0.048585825, + 0.023712918, + -0.045150958, + -0.06691325, + -0.008357882, + -0.025842562, + -0.020413231, + 0.026444603, + 0.030098516, + 0.06091774, + -0.07364246, + 0.026761437, + -0.02903257, + -0.05979213, + 0.013909725, + 0.010456406, + -0.02640635, + 0.025803251, + -0.06255088, + -0.055461552, + 0.03600934, + 0.013375812, + -0.009156244, + 0.003637519, + 0.025188155, + -0.004101692, + 0.023816917, + -0.021975517, + -0.05256048, + 0.004457342, + -0.03371421, + -0.0073020523, + 0.024263224, + -0.021124303, + -0.0027243039, + 0.018634567, + -0.0060050604, + -0.023717014, + -0.017898317, + -0.08820718, + 0.02333694, + -0.009360551, + 0.045236062, + -0.0372972, + -0.10982065, + 0.016138382, + -0.028334152, + -0.04831166, + 0.02294639, + 0.051439404, + -0.025286702, + -0.005307306, + -0.010027975, + -0.04978817, + -0.03642068, + -0.015082203, + -0.0133897, + 0.067188226, + -0.042466614, + -0.0023318562, + -0.0050668675, + 0.004044422, + 0.032339673, + -0.044717863, + 0.036722343, + -0.009095951, + -0.01756014, + 0.012794249, + -0.011299479, + -0.02103997, + -0.0046997485, + -0.02763555, + -0.009574674, + -0.009517899, + -0.04037287, + 0.013663669, + -0.005637677, + 0.04312532, + 0.005568733, + 0.006452877, + -0.013459669, + -0.05519895, + -0.040857885, + 0.018010672, + -0.028934328, + -0.005332049, + 0.01572827, + 0.009694527, + 0.030371845, + 0.0149962315, + 0.029188061, + -0.03046011, + -0.031240255, + -0.008901863, + -0.06738938, + -0.03347992, + 0.008800803, + 0.029547896, + -0.03069623, + -0.037778802, + 0.0405754, + -0.05503115, + 0.059107196, + -0.011224121, + -0.009964628, + 0.05727984, + -0.047640182, + -0.0020797993, + -0.013606168, + 0.019991197, + -0.04389259, + 0.036348723, + 0.001034394, + -0.039529268, + -0.04135413, + -0.036873903, + -0.055907026, + 0.023326889, + 0.0016135616, + 0.039727293, + -0.006893448, + -0.027037669, + -0.07680581, + 0.017186996, + 0.051133588, + -0.036070835, + 0.04642861, + -0.058683317, + -0.084596425, + -0.051554292, + -0.007956216, + -0.0017350366, + 0.03657435, + 0.021191211, + 0.019884814, + 0.05389957, + 0.010635891, + -0.010113451, + 0.0014990518, + -0.02577517, + -0.051516607, + 0.01574759, + 0.0072466857, + 0.023873735, + -0.0073285615, + 0.07052784, + 0.053313937, + 0.04037633, + -0.040479254, + 0.055198275, + 0.008309907, + -0.0046390635, + -0.02294499, + -0.05764272, + -0.04937109, + 0.023461709, + 0.02332515, + -0.009607077, + -0.018731065, + 0.017266458, + -0.008448794, + -0.03292594, + -0.0065770173, + -0.059099462, + -0.058534473, + -0.01126186, + 0.0020968127, + 0.02804907, + 0.016021682, + 0.037562292, + -0.0058456874, + 0.039649416, + 0.03311546, + 0.028760431, + -0.03311309, + 0.022377338, + 0.013148553, + 0.00505891, + 0.031429294, + 0.028279763, + -0.046944425, + -0.005972981, + -0.020552915, + -0.014475655, + -0.022541927, + -0.0125857, + 0.01792174, + -0.014787768, + 0.032114275, + -0.033720262, + 0.028470764, + -0.012100339, + -0.051315527, + -0.0042178337, + 0.00018454924, + -0.030062845, + 0.06485568, + -0.002418909, + 0.047652893, + -0.046644118, + -0.01050106, + -0.015870217, + 0.011275055, + -0.02828314, + -0.023786882, + 0.027543416, + -0.03277607, + -0.025074968, + 0.051343087, + 0.004838631, + 0.012502427, + -0.028011099, + -0.103019126, + -0.019751472, + 0.004008895, + 0.070107654, + -0.006225243, + -0.036098003, + 0.005459829, + 0.029302182, + -0.026590573, + -0.0032223007, + -0.05039045, + 0.0829517, + -0.040873513, + 0.009861881, + -0.06194662, + -0.01490912, + 0.06926165, + 0.002483337, + -0.03647956, + -0.04392352, + -0.08163322, + -0.020181201, + -0.044852175, + -0.044046298, + 0.00405243, + -0.014168929, + 0.01200886, + 0.005645652, + 0.02381226, + -0.035609633, + 0.05048822, + -0.01827165, + -0.03268585, + 0.05298064, + -0.04485391, + -0.041019212, + 0.0022798155, + 0.013215125, + -0.034165822, + 0.006718043, + 0.005066739, + 0.080901176, + 0.0048273276, + 0.024024738, + -0.04526608, + 0.06842614, + -0.0024232878, + -0.025083132, + -0.060234264, + -0.016696222, + 0.021431673 + ] + } +] \ No newline at end of file diff --git a/app-backend/knowledge-base/vectors/guard_app_onboarding.json b/app-backend/knowledge-base/vectors/guard_app_onboarding.json new file mode 100644 index 000000000..f1fcc863d --- /dev/null +++ b/app-backend/knowledge-base/vectors/guard_app_onboarding.json @@ -0,0 +1,9314 @@ +[ + { + "id": "guard_app_onboarding.txt-0", + "document": "guard_app_onboarding.txt", + "section": "General", + "text": "Guard App Onboarding Guide Local setup · Guard App on Expo Go · Backend\nAPI with Swagger For new contributors · Version 1.0\n1. Project Overview\nSecureShift is a security-guard staffing platform. The repository holds\nthree applications plus a database, wired together so guards, employers,\nand admins share one backend API.\nComponent: app-backend What it is: Node.js + Express 5 REST API with\nMongoDB (Mongoose), JWT + 2FA auth, and Swagger docs. Local URL:\nhttp://localhost:5000\nComponent: app-frontend/employer-panel What it is: React web app\n(employer/admin panel). Local URL: http://localhost:3000\nComponent: guard_app What it is: React Native + Expo (TypeScript) mobile\napp for guards. Runs in Expo Go. Expo dev server: :8081\nComponent: MongoDB What it is: Database (runs via Docker, image\nmongo:6). Local URL: localhost:27017\nThe backend serves all routes under /api/v1 and exposes interactive\nSwagger docs at /api-docs. Both frontends talk to it through a\ncentralized Axios instance that attaches the JWT automatically.\n2. Prerequisites\n- Node.js v18+ and npm.\n- Git.\n- Docker + Docker Compose (easiest way to run the backend, DB, and\nemployer panel together).\n- Expo Go app installed on your physical iOS/Android phone (from the\nApp Store / Play Store).\n- Optional: Android Studio (Android emulator) or Xcode (iOS simulator,\nmacOS only).\n- Optional: MongoDB Compass to inspect the database.\n3. Clone the repository\ngit clone https://github.com/Gopher-Industries/SecureShift.git cd\nSecureShift\n4. Run the backend + database\nYou can run the backend either with Docker (recommended) or directly", + "embedding": [ + 0.002266428, + 0.068277285, + -0.16517042, + -0.026952486, + 0.031961087, + -0.052828763, + 0.047899775, + 0.027381664, + 0.012497433, + -0.03788159, + -0.020923613, + -0.0013242906, + 0.029712263, + 0.018721463, + 0.019568006, + -0.02252555, + 0.046632867, + -0.009404091, + 0.02319708, + -0.048600603, + 0.019805452, + -0.046420135, + -0.027226482, + -0.011852352, + 0.08396027, + 0.0482559, + 0.014678082, + -0.014788237, + -0.007913863, + 0.00396422, + 0.011201755, + 0.01279525, + -0.04996075, + 0.0065763555, + 0.045844067, + -0.048734058, + -0.03780872, + -0.033827968, + -0.051416628, + 0.007782393, + 0.05027757, + 0.008231576, + 0.006889274, + -0.061277673, + 0.04442742, + 0.009186423, + 0.11566897, + -0.025300937, + 0.08140616, + -0.094536304, + -0.052929353, + 0.02033272, + -0.003522954, + -0.029149374, + 0.018308045, + -0.022538185, + 0.0108721685, + 0.03246293, + 0.00234219, + -0.035143305, + 0.09250393, + 0.03639728, + -0.022673404, + 0.04114222, + 0.020290041, + 0.014830597, + -0.033836927, + 0.0647813, + -0.009345415, + 0.008662553, + 0.009576349, + 0.0034955682, + -0.0076633003, + 0.013757467, + 0.013630728, + -0.033829603, + 0.015852991, + -0.044018857, + -0.08121297, + 0.03933858, + 0.0604559, + -0.020212486, + 0.05098656, + 0.009993013, + -0.013147957, + -0.06187073, + -0.027309528, + -0.008139009, + -0.09140526, + 0.058270242, + 0.0250357, + 0.009330382, + -0.0016428825, + 0.02961091, + -0.077315226, + 0.026066884, + 0.013823108, + -0.004146516, + -0.0326752, + -0.038899884, + -0.012149141, + -0.031519838, + -0.055581365, + 0.03016059, + 0.0010089778, + 0.027164947, + -0.015784824, + 0.024748256, + 0.007042876, + 0.003071755, + -0.012688085, + 0.029690245, + -0.0038427138, + 0.0023645654, + 0.017127477, + 0.0031859411, + 0.06593677, + -0.024857724, + 0.01777524, + 0.054178208, + -0.018953893, + 0.020484678, + -0.012200492, + -0.0044757533, + 0.046641227, + 0.033676866, + -0.036989834, + -0.012851916, + -0.013779889, + -0.055014197, + 0.0068994374, + -0.05305785, + -0.067756906, + -0.019188544, + -0.012696672, + 0.051239222, + -0.060460005, + 0.002481773, + 0.0016294076, + -0.0040408494, + 0.0050801276, + 0.046098277, + -0.027434211, + 0.018101947, + 0.015142724, + -0.050109934, + 0.011034769, + -0.03219881, + -0.00315258, + 0.008523174, + -0.008414054, + -0.012707776, + -0.013535144, + 0.015558538, + 0.04281864, + -0.0550049, + -0.022630397, + 0.027154401, + 0.07081618, + 0.07786561, + 0.06584071, + 0.0016740822, + -0.0024578203, + 0.06631595, + -0.00040985818, + -0.03542733, + 0.016433667, + 0.050861362, + 0.0134010175, + 0.019235933, + -0.040988963, + -0.07563749, + 0.009202996, + 0.0016212403, + 0.0032845652, + -0.0053805006, + 0.03178164, + -0.08199529, + 0.025339507, + -0.012938677, + 0.073566526, + -0.04490304, + -0.0021098538, + 0.012876258, + -0.031923983, + 0.030124802, + 0.01901633, + -0.049584214, + 0.016877534, + -0.0494563, + 0.06176991, + -0.02257254, + -0.067358956, + -0.00031264086, + -0.0778469, + 0.0051950393, + 0.03892976, + -0.024197394, + 0.0074693854, + -0.01693639, + -0.03653185, + 0.0248585, + 0.0037988515, + 0.033386867, + -0.04852708, + -0.008595897, + 0.014109316, + -0.0015041461, + -0.0024516173, + -0.019145574, + 0.03500742, + -0.021446742, + 0.002737037, + -0.046824675, + 0.059815355, + -0.018684044, + 0.06379534, + -0.051113177, + 0.012643559, + -0.019804653, + 0.029294701, + -0.014019927, + 0.026778514, + -0.04507026, + 0.0372311, + -0.029529609, + -0.04775193, + -0.0019983826, + -0.019343056, + 0.028642964, + -0.00089428434, + -0.014260194, + -0.006570242, + 0.017703608, + 0.028336763, + 0.024360301, + -0.0064633526, + 0.030990096, + 0.02195928, + -0.011877857, + 0.04889833, + -0.0038228778, + 0.018594211, + -0.002133222, + -0.05516949, + 0.022988766, + 0.016887566, + -0.039728492, + 0.07059512, + 0.02191003, + -0.0043809176, + -0.0016194581, + 0.026078949, + -0.004913205, + 0.002637864, + -0.092168376, + -0.030564502, + -0.041054282, + 0.031001855, + -0.05208025, + 0.017676381, + -0.03831343, + 0.030215587, + 0.003441585, + 0.026397962, + -0.021977704, + -0.042839043, + 0.014540823, + 0.053823624, + -0.046205573, + 0.02824453, + 0.08207634, + -0.02357169, + 0.048561115, + -0.0061205435, + -0.00057253084, + 0.00938459, + -0.016052404, + -0.01693866, + 0.037285317, + -0.019666497, + -0.08104177, + 0.0038380225, + 0.0016292845, + -0.038561024, + 0.025733508, + 0.034865014, + -0.01767979, + 0.03586868, + -0.020485897, + 0.057064056, + -0.003224506, + -0.007572231, + 0.047439102, + -0.0081709735, + -0.0010570664, + 0.0016122843, + -0.02977835, + -0.0049349624, + -0.04237566, + -0.0008480445, + -0.0042117303, + 0.082826585, + 0.07068834, + 0.0217029, + -0.04073376, + 0.020885684, + -0.0006236196, + 0.0026386532, + 0.036655363, + -0.034483243, + -0.027672542, + -0.026788771, + 0.0065565095, + -0.046535127, + 0.022305105, + 0.0069060526, + 0.05332539, + 0.023846844, + -0.036154013, + 0.0018312951, + -0.038330767, + -0.027964966, + -0.036308724, + -0.001300652, + 0.088158816, + -0.04101325, + 0.024601813, + 0.00042236928, + -0.033403136, + 0.04973222, + 0.03701351, + 0.02644045, + -0.05672403, + 0.015008602, + -0.015355072, + 0.050980803, + 0.02384818, + -0.018860055, + 0.031996496, + 0.012805487, + -0.06484517, + 0.0035880913, + -0.053287536, + -0.057145458, + -0.04028146, + -0.012317029, + -0.009467658, + 0.037225388, + 0.06202868, + -0.005050455, + 0.033283416, + -0.007433582, + 0.012633165, + -0.03247067, + -0.03135122, + -0.005719717, + 0.03008508, + -0.026033029, + 0.034935925, + 0.03450403, + 0.037570935, + 0.027987558, + -0.03007505, + 0.005905987, + -0.018394068, + 0.03148718, + 0.022708332, + 0.024337472, + -0.027130952, + 0.0019321273, + -0.053675354, + 0.026053967, + 0.0014077533, + 0.030074118, + -0.0030712439, + -0.10757499, + -0.0003212818, + 0.039032076, + -0.027593335, + 0.027590254, + -0.0012046925, + 0.018020114, + 0.0062007788, + 0.030445868, + -0.028972136, + 0.061206024, + 0.03649805, + 0.015691446, + 0.014781218, + 0.03850522, + -0.05472725, + -0.02607175, + 0.01561457, + 0.052861407, + -0.01425989, + 0.016975548, + 0.00090306945, + -0.039122026, + 0.072202325, + -0.056163035, + -0.033509713, + 0.018866984, + -0.0011959198, + -0.013346118, + -0.00899396, + -0.027047414, + -0.020861361, + 0.04038741, + -0.022735313, + 0.04421863, + 0.01639667, + -0.0076480024, + -0.01646525, + 0.0025029406, + -0.0590912, + 0.07748827, + 0.009018046, + -0.041615997, + -0.074501604, + 0.012849824, + 0.03294124, + 0.043161433, + 0.0018421974, + -0.010747343, + 0.07834658, + -0.0028027557, + 0.025011433, + -0.002119038, + -0.0557156, + 0.0070407805, + 0.018981025, + 0.06990905, + -0.026993822, + -0.030172093, + -0.013476348, + 0.018020932, + 0.01944819, + 0.027295027, + 0.028220546, + 0.00083539065, + 0.0078100627, + -0.069220565, + 0.013260607, + 0.011731138, + 0.09200135, + 0.03719178, + -0.015959295, + -0.0032578958, + 0.022215368, + 0.025619917, + -0.0017296033, + 0.04206355, + 0.03847822, + 0.08310336, + 0.030828107, + 0.019542294, + 0.007939615, + -0.024530435, + -0.0030063787, + 0.00929836, + 0.026840728, + -0.07025607, + 0.0031445194, + 0.03594319, + 0.026142411, + -0.0050498876, + 0.008692386, + 0.03084042, + 0.043249626, + -0.05267, + -0.05185592, + 0.018847497, + -0.026218025, + -0.0020924709, + -0.014555645, + 0.046265356, + 0.0008999612, + 0.017443419, + 0.01112887, + -0.00476213, + -0.015010283, + -0.04802886, + -0.037218798, + 0.018480629, + -0.012606437, + 0.02941267, + -0.008312097, + -0.027488472, + -0.021804383, + 0.04213593, + -0.0066924244, + -0.012092272, + 0.009765576, + 0.012385689, + 0.011177413, + -0.05610505, + -0.003238783, + -0.007531028, + -0.02298377, + -0.0018401722, + 0.071613275, + -0.0032784205, + 0.0345654, + -0.012729301, + -0.04735668, + -0.043874085, + -0.02723964, + -0.016740723, + 0.022690797, + -0.0216454, + 0.009369738, + 0.012135681, + -0.017366417, + 0.019729562, + -0.04604395, + 0.020352103, + -0.018455848, + -0.040954433, + 0.015933853, + -0.019040741, + -0.054909334, + 0.005168216, + -0.046239175, + -0.098537065, + 0.074474104, + 0.008953823, + -0.026997812, + 0.032311086, + -0.013900425, + -0.03426014, + 0.05200552, + -0.05254284, + -0.05547591, + 0.032162897, + 0.00491371, + -0.044490848, + 0.023573898, + 0.026369417, + 0.014124864, + -0.01214361, + -0.0055480828, + 0.012466053, + -0.03404145, + -0.051027227, + -0.027566755, + 0.00097619963, + 0.052369647, + -0.021447666, + -0.06801625, + 0.07318272, + -0.060792122, + 0.012205148, + -0.027292475, + 0.02255454, + -0.0058057327, + -0.005520525, + -0.027080866, + -0.03395703, + -0.023869308, + 0.013430093, + 0.0077910423, + 0.097685575, + 0.0075098714, + 0.009570966, + 0.018370952, + -0.0005334661, + 0.010932447, + -0.014254577, + 0.050533053, + -0.011720205, + -0.051962636, + -0.004759507, + -0.008751446, + -0.02233226, + -0.032672156, + -0.0019276902, + 0.005596888, + -0.03819931, + -0.004248685, + 0.022274904, + -0.0017212367, + 0.029023226, + 0.009840694, + -0.038380623, + 0.015439146, + -0.044915438, + -0.04402088, + -0.013895884, + -0.075690724, + 0.00092851225, + -0.030008985, + 0.07133393, + 0.042996548, + -0.019775646, + -0.014471732, + -0.0014898182, + -0.02733162, + -0.015450841, + -0.06620736, + -0.045523584, + -0.011283776, + 0.026761323, + 0.01313228, + 0.024679411, + 0.058487393, + -0.014856939, + -0.007541928, + 0.027040338, + -0.023962839, + 0.0096473005, + -0.019573295, + -0.022731906, + -0.019752273, + 0.050323498, + -0.0027236904, + 0.05624903, + 0.020512369, + -0.024521021, + -0.0035909328, + -0.007248291, + -0.026265498, + 0.053458415, + -0.00089339056, + 0.062893204, + -0.017592326, + -0.010509083, + -0.01588157, + -0.018117448, + 0.030784406, + -0.0069533694, + 0.00059903756, + -0.042299826, + -0.046017986, + -0.085988574, + 0.03653261, + 0.04452319, + -0.008082234, + 0.031235611, + 0.04901385, + 0.020074824, + 0.0055583683, + -0.007843702, + 0.06762947, + 0.0100090075, + -0.029374303, + -0.020731263, + 0.027220938, + 0.07387477, + -0.009233344, + 0.0721736, + 0.040219314, + 0.02258142, + -0.020722428, + 0.033952404, + 0.027723718, + 0.02812029, + -0.03136284, + -0.04663673, + 0.018032977, + -0.024482412, + -0.015046283, + 0.010207452, + 0.00019006885, + 0.00012517098, + 0.025154794, + 0.019321505, + 0.051554594, + -0.08222278, + -0.003270442, + 0.0016065305, + 0.0531257, + -0.015871787, + -0.0047556404, + 0.029694384, + -0.012284437, + 0.06487778, + 0.0045453357, + 0.009832268, + -0.024035646, + 0.03034153, + -0.019594835, + -0.0057157543, + 0.020712893, + 0.010363074, + -0.06077866, + 0.011324544, + 0.012715621, + 0.00323297, + -0.02226766, + -0.02085443, + -0.014824743, + -0.00043023663, + 0.0018324598, + -0.053579215, + 0.019546477, + 0.0022910966, + -0.034979496, + -0.054728292, + 0.024005516, + -0.002236495, + 0.052861955, + 0.019149626, + -0.011066496, + -0.038010735, + 0.016134309, + -0.0061595384, + -0.041844234, + 0.0052166, + -0.04531625, + -0.0048355395, + 0.051653787, + -0.021975612, + 0.04379603, + -0.007234318, + 0.045324206, + -0.012486904, + -0.02423724, + 0.039147846, + -0.008095904, + 0.035736967, + 0.011848292, + -0.060981978, + -0.013384468, + 0.024878116, + 0.05176187, + 0.042318825, + -0.015857926, + 0.025128037, + -0.026047526, + -0.024555665, + -0.033885956, + -0.028226204, + 0.050405145, + -0.009207599, + -0.05542049, + -0.00019587963, + -0.108241394, + -0.023973165, + -0.03284726, + -0.024939578, + -0.05004523, + -0.059901137, + -0.018629609, + -0.015916996, + 0.043130334, + 0.01555467, + 0.059782688, + 0.017615259, + -0.039311882, + 0.08207404, + -0.027330043, + -0.022669872, + 0.00066422764, + 0.010683234, + -0.023746641, + 0.06412972, + -0.018330535, + 0.115447894, + 0.036379833, + 0.0314471, + 0.015677458, + 0.044509463, + 0.0016662375, + -0.04262305, + -0.09312295, + -0.006230942, + -0.024510777 + ] + }, + { + "id": "guard_app_onboarding.txt-1", + "document": "guard_app_onboarding.txt", + "section": "General", + "text": "General\nwith Node. Either way it must be running before the Guard App can log\nin.", + "embedding": [ + -0.013468092, + 0.021626115, + -0.18720947, + 0.00017549278, + 0.11825975, + -0.025299203, + 0.012604897, + 0.009245951, + 0.015223332, + -0.038289256, + -0.0012573292, + 0.056022905, + 0.021343388, + 0.019055543, + 0.016174532, + -0.036768917, + 0.08479799, + 0.0038570894, + 0.008240096, + -0.053270705, + 0.026799368, + -0.033297732, + -0.027291344, + -0.024243515, + 0.06763575, + 0.019877436, + 0.037350852, + 0.0029626219, + -0.026520288, + 0.055610586, + 0.07259002, + -0.024310492, + -0.04888137, + 0.01053643, + -0.005488768, + -0.03555889, + -0.050753742, + 0.007715614, + -0.009467838, + 0.018011991, + 0.017306944, + 0.013464273, + 0.012318172, + -0.04246189, + -0.012993641, + 0.008927153, + 0.089320004, + 0.044532232, + 0.038913757, + -0.079147406, + -0.024091417, + 0.016870704, + -0.028820105, + -0.053620577, + 0.044611357, + 0.020283725, + 0.009574584, + 0.028483707, + -0.022376865, + -0.07227257, + 0.12041934, + 0.050908823, + -0.011021229, + 0.08672053, + 0.028279452, + -0.01508368, + -0.01949083, + 0.057863068, + 0.070196934, + -0.0044038524, + 0.026364269, + -0.017406832, + 0.012405144, + 0.002232485, + 0.063354924, + -0.00911142, + -0.019274043, + -0.032982983, + -0.049443617, + 0.032199237, + 0.023721905, + 0.020360555, + 0.00953865, + 0.0048043486, + 0.036598735, + -0.0068428535, + -0.024513427, + -0.033588924, + -0.059548017, + 0.107110776, + 0.08244977, + -0.0076170634, + 0.0116218915, + -0.013924299, + -0.06787988, + -0.0010434273, + 0.0022480416, + 0.028819976, + -0.0528436, + -0.004890497, + -0.042432074, + -0.024900354, + -0.07631381, + -0.02996914, + 0.008676697, + -0.0040568174, + -0.013261393, + 0.016088279, + -0.014161272, + 0.009584731, + -0.02551472, + 0.036641933, + 0.07030434, + 0.040076457, + -0.00875335, + 0.034696847, + 0.089554735, + -0.048046786, + 0.018960822, + -0.015500544, + -0.037911262, + -0.0030368976, + -0.017166274, + 0.069968335, + 0.015041086, + 0.029530142, + 0.007378796, + 0.027506227, + -0.009478187, + -0.03236567, + -0.016657574, + -0.033686437, + -0.042931564, + -0.004136957, + 0.0042606243, + 0.05921188, + -0.060864296, + -0.01570169, + -0.04934316, + 0.026509974, + -0.01879938, + -0.008738803, + -0.009660924, + -0.029383594, + 0.043754123, + -0.0052802726, + 0.004340269, + -0.0038145182, + -0.049896028, + -0.014386581, + -0.013887456, + 0.009971008, + 0.0028144317, + 0.024979489, + 0.018355753, + -0.031264942, + -0.0066956705, + 0.0075255805, + 0.064524226, + 0.07614518, + 0.06676731, + -0.02255773, + -0.027111229, + 0.033600453, + -0.011807603, + -0.06940643, + -0.022884622, + 0.036768273, + -0.0071210302, + -0.013682341, + -0.03116683, + -0.011363775, + -0.04666647, + -0.015618182, + 0.03418529, + 0.04646368, + 0.0050565093, + -0.03851073, + 0.029870333, + -0.04196808, + 0.022704894, + -0.08026239, + 0.041431382, + 0.037879054, + -0.04546666, + -0.01670525, + 0.017255308, + -0.045745704, + -0.02568662, + -0.087182745, + 0.00061304617, + -0.017216394, + -0.014873346, + 0.0021734368, + -0.016035331, + -0.000147235, + 0.037913386, + -0.00087118155, + 0.044795167, + -0.03024002, + -0.051005136, + -0.03388147, + -0.0054226555, + 0.0011792537, + -0.042295914, + 0.010951037, + -0.032154866, + 0.04584678, + -0.009474596, + 0.004802531, + 0.08695964, + -0.026606953, + -0.03262549, + 0.0014643831, + 0.020644663, + -0.03827533, + 0.011512053, + -0.041684296, + -0.02381753, + -0.006875289, + -0.023369927, + -0.043410853, + -0.004560607, + -0.05394805, + -0.001772095, + -0.050059468, + -0.016153472, + 0.008317874, + -0.019487672, + 0.0123100905, + 0.0009230214, + -0.03422826, + 0.012385588, + -0.018333506, + 0.010172618, + 0.020089425, + 0.016884161, + -0.0026147028, + 0.01858574, + -0.0163706, + 0.02569051, + 0.0054088696, + 0.0394872, + 0.015405712, + -0.040015846, + 0.027676063, + -0.022728318, + 0.002144492, + 0.00020919759, + 0.03572344, + 0.031534765, + -0.03738372, + -0.037667878, + 0.017394124, + -0.0035383655, + -0.061739, + -0.034128558, + -0.051432855, + -0.0020668115, + -0.0627153, + 0.007415678, + -0.04951637, + 0.010872948, + -0.009271901, + 0.053025655, + -0.023929672, + 0.014733118, + 0.035448425, + 0.044063758, + -0.056136105, + 0.03155438, + 0.032325946, + 0.03134905, + 0.029956251, + -0.010242323, + 0.025868462, + -0.0048181796, + 0.011805239, + -0.029163716, + 0.046612795, + -0.09207031, + -0.035668395, + -0.024885077, + 0.044940956, + -0.0068219076, + -0.021207228, + 0.026157767, + 0.011597761, + 0.011449103, + -0.010617466, + 0.013972133, + -0.01616863, + -0.016542045, + 0.08597236, + -0.006209432, + -0.03802465, + -0.005877182, + 0.025149811, + 0.019600961, + -0.018542869, + 0.030494357, + -0.010759995, + 0.045318343, + 0.06342693, + 0.034394868, + -0.056189008, + 0.018634433, + -0.0051854523, + 0.030378561, + -0.025234576, + -0.00978293, + 0.023712428, + -0.012033954, + 0.012860162, + 0.0062033855, + 0.021600792, + -0.03955427, + 0.039367095, + 0.0035025163, + -0.027341105, + -0.028143365, + -0.0064753015, + -0.066210724, + -0.03965238, + 0.01577545, + 0.01509693, + -0.0277476, + 0.096044205, + 0.006268701, + 0.0061702523, + 0.047590908, + 0.02228481, + 0.005938869, + -0.061022867, + 0.016653977, + -0.037179884, + 0.027697189, + 0.043707803, + -0.011118635, + 0.009260218, + 0.024686906, + -0.06368485, + 0.008156112, + -0.030750122, + -0.03676909, + -0.073954426, + -0.049295854, + -0.003088304, + 0.019883757, + 0.032468595, + -0.048589695, + 0.041183516, + -0.026824737, + 0.0042960644, + -0.034251977, + -0.018290993, + 0.011626804, + 0.045010127, + -0.032715086, + 0.026083965, + 0.037377562, + 0.02012951, + 0.03325847, + 0.0016690979, + 0.009305154, + 0.054323718, + 0.015901644, + 0.042643536, + 0.057281606, + -0.030868113, + 0.021334032, + -0.02551934, + 0.04528891, + 0.020580487, + 0.02793816, + -0.0051536965, + -0.0830096, + -0.023557289, + 0.0034500624, + 0.020066043, + -0.010585289, + -0.064127214, + 0.043028533, + 0.027128903, + 0.057905138, + -0.05768787, + 0.023118507, + -0.013976273, + 0.003054848, + -0.012158509, + 0.01874213, + -0.0064127217, + -0.036801916, + -0.000055280387, + 0.01819356, + 0.025934843, + 0.08732659, + 0.038176343, + 0.02931057, + 0.036916535, + -0.028721657, + -0.03208185, + -0.006849058, + -0.026109876, + -0.020495506, + 0.05853044, + -0.038185325, + 0.0075288904, + 0.06115405, + -0.0348473, + 0.052500125, + 0.044040192, + 0.015119278, + -0.008732176, + 0.027581453, + -0.03425881, + 0.048145775, + 0.059700284, + -0.05801506, + -0.041294724, + -0.007083922, + 0.014543349, + 0.01007928, + -0.010411804, + -0.0064588576, + 0.057340577, + -0.006351037, + 0.05211973, + 0.00731044, + -0.050154537, + 0.009720673, + 0.010032817, + 0.0501753, + 0.00079563947, + -0.018340698, + 0.018879289, + 0.0146891195, + 0.024687603, + 0.0011449993, + 0.054564215, + 0.024166638, + 0.014708434, + -0.0397469, + 0.025360757, + 0.034030985, + 0.12391286, + 0.07872228, + -0.012817386, + 0.010239621, + 0.038837023, + 0.041037574, + -0.037818242, + 0.06321673, + 0.005685303, + 0.051421486, + -0.03778978, + -0.00017337805, + 0.04349669, + 0.0136641, + 0.037481446, + -0.02715231, + 0.01810245, + -0.029604284, + 0.06272268, + 0.027082307, + 0.012267829, + 0.0065142713, + -0.0073263566, + 0.01925375, + 0.028762499, + -0.056746464, + -0.0058691613, + 0.039781105, + -0.039295863, + -0.008003224, + -0.019675575, + 0.0025432005, + 0.03726631, + 0.03711967, + 0.05237785, + -0.011779467, + -0.031065015, + -0.090074554, + -0.022206502, + 0.005629699, + -0.012153116, + 0.047667228, + 0.0015893471, + -0.030529076, + -0.003796372, + 0.09263695, + -0.0026464253, + 0.05011835, + -0.0071179885, + 0.03752064, + 0.0075468738, + -0.047859643, + -0.010364873, + 0.0071306354, + -0.031513188, + -0.029214296, + 0.04118205, + -0.03511766, + -0.037330665, + -0.010782778, + 0.022276437, + -0.022782166, + -0.046597768, + -0.02600272, + -0.017372712, + -0.027013956, + -0.022975905, + 0.01804649, + 0.04073255, + -0.0036621417, + -0.017276747, + 0.018457258, + -0.022207301, + -0.037365414, + 0.04171729, + 0.004021393, + 0.0054395315, + 0.037254464, + -0.014239527, + -0.08081903, + 0.04523628, + 0.013420488, + -0.015355835, + -0.035195284, + -0.027467357, + -0.0075383056, + 0.048314776, + -0.02164544, + -0.028643603, + 0.016599944, + 0.02407104, + -0.017063156, + 0.020797355, + 0.018270014, + 0.006495078, + -0.0042757825, + -0.0045430856, + 0.0021812834, + 0.0048327665, + -0.054056037, + -0.029747495, + -0.03646809, + 0.054129053, + -0.01588159, + -0.059813283, + 0.060190827, + -0.034301236, + -0.022282679, + 0.027782671, + -0.015368811, + -0.017200908, + 0.045178745, + -0.030106187, + -0.031273182, + -0.008258866, + 0.013540367, + 0.02617811, + 0.09987403, + 0.0029630437, + 0.043235507, + 0.014750824, + -0.010152152, + 0.004402855, + -0.0014587201, + 0.005301562, + 0.010118394, + -0.057000097, + -0.040908705, + -0.0020898636, + -0.030521521, + -0.019071992, + -0.02544474, + 0.01203282, + -0.00033377556, + -0.0079279775, + -0.0016825915, + -0.026531322, + 0.03407943, + 0.013597958, + -0.0029503368, + 0.0022995253, + -0.027321098, + -0.016315801, + 0.048291482, + -0.020504681, + -0.028221704, + 0.0034778584, + 0.0057383967, + 0.0124601545, + -0.006619923, + 0.03916346, + -0.008293089, + -0.056252852, + -0.01141125, + -0.006657859, + 0.017507033, + -0.021565028, + 0.026770897, + -0.013548344, + 0.010096113, + 0.039776746, + 0.014053492, + 0.040830776, + -0.0070869457, + -0.04055777, + 0.02599537, + -0.011886952, + 0.021158002, + -0.033745106, + 0.07147611, + -0.06360997, + 0.019076686, + 0.013840384, + -0.040022533, + -0.018136708, + -0.0005729276, + -0.017011497, + 0.05455657, + -0.03571462, + 0.041386228, + -0.04236772, + -0.02893083, + -0.045485754, + -0.02230762, + -0.010434486, + 0.03700181, + 0.0064443653, + -0.0979914, + -0.07392963, + -0.019738989, + -0.035110444, + 0.07336062, + -0.013291009, + 0.048223436, + 0.018259421, + 0.038385544, + 0.011248593, + -0.04196234, + 0.001925984, + 0.019547844, + -0.03721204, + -0.0019237532, + 0.027670827, + 0.049321134, + -0.018545697, + 0.06659475, + 0.051709212, + 0.02708868, + -0.0043310826, + 0.055317722, + -0.0000036664485, + -0.003051783, + -0.04294132, + -0.06652976, + -0.03297828, + -0.040880263, + -0.006311961, + -0.0129796425, + -0.0074385223, + -0.0037545601, + -0.05170297, + 0.039644428, + -0.052640874, + -0.08145581, + -0.026901694, + -0.008482155, + 0.011621696, + 0.040073548, + -0.023960602, + 0.048229873, + 0.015427146, + 0.042507984, + 0.003561343, + 0.030767163, + 0.0037147165, + -0.02517735, + -0.04108325, + 0.048722956, + 0.0029092266, + 0.030750059, + 0.018322552, + 0.009564975, + -0.04364056, + -0.0034872384, + -0.056119274, + -0.040409323, + 0.00546783, + 0.0053863577, + -0.0043197037, + -0.041252922, + 0.022759544, + 0.0040863375, + -0.01457699, + -0.02103255, + 0.036671173, + -0.022386026, + 0.048927885, + -0.00974699, + -0.021179756, + -0.022678845, + -0.007011487, + 0.0031010157, + -0.048766118, + -0.009811812, + 0.00087540434, + -0.009403397, + 0.04467029, + -0.030599289, + 0.09541057, + -0.022388713, + -0.016287584, + -0.024924062, + -0.04728643, + 0.0067166514, + 0.0027127077, + 0.019472219, + -0.0168122, + -0.0656943, + -0.024864282, + -0.03164835, + 0.015214901, + 0.033413805, + -0.013367519, + 0.034414757, + -0.023191536, + -0.007253781, + -0.0724253, + -0.04098572, + -0.00113071, + -0.020531205, + -0.009729933, + -0.009423977, + -0.07466945, + -0.02476609, + -0.030357687, + -0.0548779, + 0.012293171, + -0.02921253, + -0.009372713, + 0.03217817, + 0.04771344, + 0.040579, + 0.0075629246, + 0.021391608, + 0.038469374, + 0.036469262, + -0.0030711067, + -0.031940512, + -0.024460817, + -0.015918298, + -0.026541375, + -0.026124887, + 0.027268289, + 0.09892751, + 0.039087266, + 0.028981905, + 0.017601334, + 0.022345452, + 0.010821159, + -0.029331367, + -0.05937494, + -0.020242829, + -0.03286608 + ] + }, + { + "id": "guard_app_onboarding.txt-2", + "document": "guard_app_onboarding.txt", + "section": "4.1 Create the backend .env", + "text": "4.1 Create the backend .env\nCreate app-backend/.env (never commit it). .env file will be shared in\nthe group by the leader.\nA template is available at app-backend/.env.example — copy it (cp\n.env.example .env) and fill in the shared values.", + "embedding": [ + 0.0016743982, + 0.019853294, + -0.13132234, + -0.04289112, + 0.079195045, + -0.055230267, + -0.034528144, + -0.01358672, + -0.05328787, + -0.007185106, + -0.05050671, + -0.013840946, + 0.050407078, + 0.05995835, + -0.03743639, + 0.039124854, + -0.02234922, + -0.021561012, + 0.011062955, + -0.013758178, + -0.0063395337, + -0.06723067, + 0.020429786, + -0.042906694, + 0.084999844, + 0.028675102, + 0.009698289, + 0.019325474, + -0.04330107, + -0.05236643, + 0.07009654, + 0.040344454, + 0.017308773, + 0.0031584464, + -0.023231646, + -0.043506622, + -0.032055765, + 0.0085711675, + -0.030906545, + 0.0032569584, + -0.022615148, + 0.028456328, + -0.02387983, + -0.033147197, + 0.011726329, + -0.05136421, + 0.118869856, + -0.030325845, + 0.046012525, + -0.056981217, + 0.02859462, + 0.04477176, + -0.025046285, + -0.034564465, + 0.07648392, + 0.037874945, + -0.013820814, + 0.04014901, + 0.02257188, + 0.019611862, + 0.03648004, + 0.07426619, + -0.0061430307, + 0.10600724, + 0.050976116, + 0.009928179, + -0.04331608, + 0.07231617, + -0.04352441, + -0.024294775, + 0.01668445, + 0.01467381, + -0.05960806, + -0.004473813, + -0.0018815525, + 0.009403735, + -0.013376991, + -0.016906409, + -0.041430134, + 0.028148118, + 0.061428566, + 0.008440019, + 0.02660964, + 0.0056685843, + 0.050009627, + -0.04587474, + -0.028469738, + 0.046762925, + -0.045724582, + 0.055706844, + -0.013053991, + -0.018057553, + -0.0077840723, + 0.014426353, + -0.057036597, + -0.04386303, + -0.017479418, + 0.028062418, + -0.04110024, + 0.0011161934, + -0.00028231545, + -0.052752446, + -0.012592034, + -0.020622607, + -0.034133963, + -0.0063752453, + 0.00052502006, + 0.0003979908, + 0.00198655, + -0.00023027527, + 0.009333178, + 0.024090352, + -0.001502648, + 0.030394914, + -0.0011554428, + -0.033739768, + 0.076211564, + -0.02257866, + -0.01613844, + 0.048244245, + -0.04704922, + -0.008046432, + 0.029639293, + 0.013366386, + -0.0005670419, + 0.05548279, + -0.0363326, + -0.01891127, + 0.0139705315, + -0.10187613, + 0.018108498, + -0.008774916, + -0.07180054, + -0.016439343, + 0.047354273, + 0.04832315, + -0.034772485, + 0.016555473, + 0.0245398, + 0.05628262, + -0.045180786, + 0.023361929, + -0.00021661304, + 0.0050394014, + -0.017533354, + -0.039172295, + 0.021188524, + -0.07610126, + -0.010545145, + 0.048225198, + 0.0073028076, + 0.0029012777, + 0.0010432368, + 0.011474386, + 0.0529489, + -0.053817112, + -0.03839696, + 0.034363132, + 0.015368839, + 0.00052484026, + 0.070450746, + 0.009911692, + -0.030394878, + -0.007099134, + -0.010138243, + -0.020178966, + 0.033567842, + 0.037824914, + 0.049263127, + 0.025334504, + -0.056332637, + 0.0049672876, + -0.016753675, + -0.012907484, + 0.01613473, + 0.042505726, + -0.018214798, + -0.033079017, + 0.055342786, + -0.0017931255, + 0.057837356, + -0.014499526, + 0.026477663, + 0.029400628, + -0.033549346, + 0.023445187, + -0.0117918225, + -0.06384184, + 0.002657016, + -0.06800072, + 0.013799023, + -0.029021718, + -0.040193792, + -0.010993364, + -0.03393119, + -0.015728652, + 0.009687096, + -0.016882075, + 0.0013054345, + -0.00645402, + 0.013346665, + 0.02866281, + -0.002178135, + 0.042208392, + -0.04013756, + 0.011345432, + -0.025371319, + -0.0060604746, + -0.017927667, + 0.012339061, + 0.060669504, + -0.028366124, + -0.041533485, + -0.021898646, + 0.014203392, + 0.02897748, + 0.0026833138, + -0.05580929, + -0.003190845, + 0.024819648, + 0.019176384, + -0.003857718, + -0.010233272, + -0.042842753, + -0.0028178503, + -0.03605218, + -0.053232007, + -0.013424082, + -0.012971094, + -0.04459014, + 0.013286091, + -0.004340832, + 0.010699349, + 0.0041968916, + 0.030956596, + 0.02044751, + -0.015457411, + 0.049864467, + -0.016347181, + 0.014583859, + 0.05040446, + -0.01841511, + 0.05751406, + 0.0060481923, + -0.056463614, + 0.025094906, + 0.00479299, + -0.075435415, + 0.006237041, + 0.07038413, + -0.026600227, + 0.0051241205, + 0.033733822, + -0.026604911, + 0.025151402, + -0.07073627, + -0.014864826, + 0.0010453352, + 0.021504663, + -0.066829704, + -0.0009766727, + -0.006033372, + 0.039209455, + -0.03229955, + 0.005825337, + -0.07314095, + -0.009520091, + -0.0035963496, + -0.005148673, + -0.0005639372, + -0.0003949074, + 0.035853438, + -0.012350847, + 0.021886053, + 0.020797534, + 0.008637085, + 0.060686387, + -0.019453254, + -0.020406062, + 0.0056095687, + -0.0048336852, + -0.06718907, + -0.020568864, + 0.002366862, + 0.00011026996, + 0.051818144, + -0.009369568, + -0.0056291847, + 0.047128867, + -0.005686432, + 0.05210652, + -0.023006937, + -0.0054093855, + 0.041023195, + 0.00064779376, + -0.020563265, + 0.06098743, + 0.023532256, + -0.017878843, + -0.009630199, + -0.043438468, + 0.013099079, + 0.06617871, + 0.031169495, + -0.00729314, + -0.042006362, + -0.010836666, + 0.026208216, + -0.0030250242, + 0.014233211, + -0.035098374, + -0.07458143, + -0.035710897, + 0.04656835, + -0.02750426, + 0.014967607, + 0.0298272, + 0.0070849834, + 0.01842116, + -0.027606318, + -0.012356863, + -0.04690041, + 0.0052589993, + -0.026484154, + 0.030065186, + 0.117361374, + -0.015670024, + 0.04457458, + 0.0011400095, + -0.037611905, + 0.010436098, + 0.026437135, + 0.06085148, + 0.0048255753, + 0.03896057, + -0.033841856, + -0.0037895138, + -0.053173795, + -0.030443389, + 0.09110229, + 0.04751849, + -0.010987901, + 0.03395597, + -0.012243765, + 0.004104895, + -0.022154486, + -0.0002476728, + 0.015963916, + 0.04091572, + 0.052691557, + -0.0189174, + 0.0129776215, + 0.019774195, + 0.021153236, + -0.012046965, + -0.040402386, + -0.007135188, + 0.003585491, + 0.0007563493, + 0.010743382, + 0.10847794, + -0.006420369, + 0.034954015, + -0.05155927, + 0.017204823, + 0.0006099392, + 0.01274088, + -0.025339765, + 0.0251465, + 0.012348288, + 0.025417004, + -0.0073876465, + 0.01202893, + 0.028357796, + -0.023262577, + -0.017791256, + -0.02076502, + 0.031523157, + -0.0012979328, + -0.013013338, + 0.06389887, + -0.032150425, + 0.057377893, + -0.0076469146, + -0.010093694, + -0.009254094, + 0.010227874, + -0.014857244, + 0.04516622, + 0.040778268, + 0.012984221, + -0.0013894265, + -0.05209049, + -0.02130045, + 0.07548163, + -0.01022813, + 0.017214017, + -0.0060034487, + 0.046429947, + 0.029738216, + -0.06787098, + -0.050918918, + 0.014920092, + -0.009829485, + 0.014762046, + -0.047011387, + 0.002570488, + 0.0014132495, + 0.038934942, + -0.026403738, + 0.049002912, + 0.030201323, + 0.039639916, + -0.02582665, + 0.050187252, + -0.024286486, + 0.07573335, + 0.05490958, + 0.01701532, + -0.0012740605, + -0.03323287, + 0.029429093, + 0.0005688976, + 0.010292086, + 0.017999152, + 0.06395959, + -0.005315067, + 0.0100875925, + 0.029820092, + -0.09507936, + -0.013580281, + 0.022100043, + 0.021768441, + -0.043297682, + -0.034398824, + -0.015763659, + -0.00043254148, + -0.001680941, + -0.0115898615, + 0.06431797, + 0.030924257, + -0.028885223, + -0.027173419, + 0.04811921, + 0.027097967, + 0.14077292, + 0.060066286, + -0.0075531607, + -0.04082012, + 0.051380858, + 0.0663678, + 0.07118365, + 0.003534392, + 0.04525384, + 0.030060034, + -0.0010909822, + -0.0111960685, + -0.044933453, + 0.0017300032, + -0.00480298, + -0.04860051, + 0.01715305, + -0.04957305, + 0.0149978595, + 0.033590045, + -0.023268834, + -0.004761826, + -0.01803148, + 0.076407716, + 0.052512612, + -0.031305965, + -0.039417055, + 0.0051404126, + -0.022990761, + -0.011728771, + -0.028630558, + 0.026608827, + 0.015296007, + 0.040306624, + 0.047065664, + -0.0041671083, + -0.021337746, + -0.0418884, + -0.049786806, + 0.030357573, + 0.04235966, + 0.0012691765, + 0.010192656, + 0.035022013, + -0.017535988, + 0.015366721, + 0.026088692, + 0.013474958, + -0.018177023, + 0.0030273942, + -0.025584457, + -0.03933362, + -0.008909213, + 0.00042746504, + -0.024745675, + -0.00986513, + 0.06852987, + -0.007815919, + 0.03240771, + 0.050622065, + -0.037963893, + -0.013096738, + -0.04714043, + -0.0520603, + 0.010803644, + 0.004304606, + 0.013200196, + -0.016162157, + 0.0046270406, + 0.05685281, + -0.022639535, + -0.0008609047, + -0.004652591, + -0.019146126, + 0.0208457, + -0.01928865, + -0.03453107, + -0.033770382, + -0.009187089, + -0.049138322, + 0.021100327, + 0.014816459, + -0.043892395, + 0.04903609, + 0.03789845, + 0.0042098244, + -0.0006601404, + 0.00096152024, + -0.039626468, + 0.047402423, + -0.056552574, + -0.06271813, + 0.027615067, + 0.03682893, + 0.021763109, + 0.033719406, + 0.012030919, + -0.053192165, + 0.017362623, + -0.012406521, + -0.008599776, + -0.042645488, + 0.05041401, + -0.014737182, + -0.05803093, + 0.061623245, + -0.0337705, + 0.019584728, + -0.028880548, + 0.0055073085, + -0.045017604, + -0.01874562, + -0.03543317, + 0.00091991853, + -0.048819717, + 0.013880088, + 0.0050701513, + 0.07010563, + 0.024461972, + -0.035452902, + 0.008581729, + 0.0292597, + 0.0038548072, + -0.008837392, + 0.0011255883, + 0.024770204, + -0.070038825, + 0.053348165, + -0.0006211588, + 0.006686444, + -0.041360628, + 0.029943772, + 0.0062053995, + -0.085046485, + -0.00031037634, + 0.045609258, + -0.030016232, + 0.038520567, + 0.0030831648, + -0.05077525, + 0.011750598, + -0.025828155, + -0.05971898, + 0.031527232, + -0.050598886, + -0.018533498, + 0.020812305, + 0.01778502, + 0.057046864, + -0.016818589, + 0.015675467, + 0.029154, + -0.052979995, + 0.024254866, + -0.06821971, + -0.009043588, + 0.021045402, + 0.034917112, + -0.013086648, + -0.007487361, + 0.08134135, + -0.053978544, + 0.042635124, + -0.0121049965, + -0.03969579, + -0.032655057, + -0.0012465874, + -0.00313128, + -0.021715816, + 0.028891647, + -0.02339985, + 0.018892137, + -0.0076899813, + 0.032937627, + -0.012408899, + -0.045481045, + -0.09410107, + 0.09373881, + 0.027888047, + 0.031122545, + 0.020464964, + -0.07048156, + 0.020295335, + -0.0040084897, + 0.0734108, + -0.008446098, + 0.007917568, + -0.11460852, + -0.047473278, + -0.09296468, + 0.025729662, + -0.012828982, + 0.053765934, + 0.006664489, + 0.018351434, + 0.014975609, + 0.0072841365, + 0.016833853, + 0.038503114, + -0.00052572606, + -0.045209546, + -0.0053716567, + 0.0069255442, + 0.021356424, + -0.02436118, + 0.044510394, + 0.03759377, + 0.030181643, + 0.018517574, + 0.00036594755, + -0.022035023, + 0.01954521, + -0.038724843, + -0.023626583, + 0.016479338, + 0.017689714, + -0.024331896, + 0.0003741333, + 0.026126865, + 0.029509494, + 0.035448965, + 0.0056962133, + 0.017054223, + -0.03398462, + -0.037656907, + 0.026953189, + -0.0038775378, + 0.018585803, + 0.0060378658, + -0.008455815, + -0.014535872, + 0.068700105, + 0.039851118, + -0.028610025, + -0.0339557, + 0.009139735, + -0.039566062, + 0.029669952, + 0.03459184, + -0.002662339, + -0.114648834, + -0.0039770827, + 0.04657908, + -0.030306526, + -0.08956965, + -0.05191594, + -0.05065329, + 0.00766255, + -0.0029947243, + -0.025972845, + 0.0000017567597, + -0.0039454727, + -0.0073962035, + -0.020911248, + 0.026117755, + -0.0059073144, + 0.024715763, + 0.021208603, + 0.020606207, + -0.014415985, + -0.015928132, + -0.020584594, + -0.02407746, + -0.025424788, + -0.02919543, + -0.041634105, + 0.026219156, + -0.019339895, + 0.029760024, + -0.013404573, + 0.02911645, + -0.0078580305, + 0.004432978, + -0.011630819, + 0.004449654, + 0.0041686073, + -0.005848649, + -0.064046234, + 0.0019919588, + 0.06251181, + 0.0031310732, + 0.024969118, + -0.011146965, + 0.025250105, + -0.018751776, + -0.02578552, + -0.045305263, + -0.06079148, + 0.030075124, + 0.00782715, + -0.044139113, + -0.039724655, + -0.031723153, + -0.04860403, + -0.048733518, + -0.011674631, + -0.023323296, + -0.0019553425, + 0.0016764207, + -0.038446244, + 0.028171903, + -0.06709044, + 0.030452766, + 0.009319411, + -0.010027822, + -0.020533925, + 0.0020498077, + 0.020860188, + -0.002319976, + 0.04626783, + -0.035990007, + 0.029725546, + -0.008558621, + 0.08388436, + 0.029340804, + 0.0078596, + -0.008118417, + 0.04643881, + -0.010078709, + -0.027296763, + -0.028597204, + -0.080033414, + -0.0047279927 + ] + }, + { + "id": "guard_app_onboarding.txt-3", + "document": "guard_app_onboarding.txt", + "section": "4.2 Option A — Docker Compose (recommended)", + "text": "4.2 Option A — Docker Compose (recommended)\nFrom the repo root, this builds and starts the backend, MongoDB, and the\nemployer panel:\ndocker compose up –build -d\nVerify the stack is up: Backend API: http://localhost:5000 Swagger docs:\nhttp://localhost:5000/api-docs Employer panel: http://localhost:3000\nMongoDB: localhost:27017\nStop everything with docker compose down (add -v to also wipe the DB\nvolume).\nStep-by-step walkthrough (from scratch)\n1. In the backend application folder, create a new .env file and copy\nthe configuration into it (see section 4.1).\n2. Go back to the root of the project. The docker-compose.yml file is\nthe “recipe” — it defines the containers, ports, settings, and\ndependencies the project is built from.\n3. Make sure Docker is installed and running. Test it with: docker ps\n4. From the project root, build and start everything. The first build\ntakes a while — let it finish. docker compose up\n5. Once it’s built, run docker ps again to confirm the containers are\nup and healthy. docker ps\n6. Open the Swagger UI: http://localhost:5000/api-docs\n7. Open the employer panel: http://localhost:3000\nDetached vs. attached\nRunning docker compose up in the foreground lets you watch the build\nlogs. Add -d to run it in the background once you’re comfortable: docker\ncompose up –build -d", + "embedding": [ + 0.015566546, + 0.03991382, + -0.13188508, + -0.008061103, + 0.009318043, + -0.079934925, + 0.056615654, + 0.01437697, + -0.063326925, + -0.08467497, + -0.022388717, + -0.0055414266, + 0.12141365, + 0.044888165, + -0.021111568, + 0.008064737, + -0.0029577962, + -0.043110296, + 0.04111791, + 0.042776845, + 0.0020112793, + -0.07380636, + -0.013937134, + 0.02687291, + 0.06787776, + 0.0822155, + -0.0103833955, + -0.00026866223, + -0.028658854, + -0.0075237504, + 0.03693626, + 0.04561558, + 0.027718468, + -0.028990354, + -0.01962742, + -0.09293624, + 0.024540283, + -0.03789776, + -0.021845309, + -0.0036015643, + -0.02606737, + -0.019816512, + -0.010778613, + -0.05074067, + 0.015678974, + -0.042893562, + 0.11141322, + -0.022879796, + 0.035554957, + -0.07667657, + 0.00059797394, + -0.005795746, + -0.01969414, + -0.07999344, + 0.022725524, + 0.023712343, + -0.050595418, + 0.03465649, + 0.015730456, + -0.028846672, + 0.057845354, + 0.047885157, + 0.027761813, + 0.08651471, + 0.04034994, + 0.0074645323, + -0.013107983, + 0.0699876, + 0.015850117, + 0.01694923, + 0.03943648, + 0.02102872, + 0.0055685337, + 0.010532893, + 0.03774199, + 0.06247125, + -0.013344556, + -0.025158228, + -0.012704559, + 0.03119058, + 0.04590893, + -0.014689246, + 0.09523158, + 0.02166091, + 0.030974042, + -0.03444105, + -0.03157699, + -0.027950335, + -0.06430283, + 0.07408723, + 0.0025496348, + -0.030630019, + 0.0015606327, + 0.046486553, + -0.029223533, + 0.004890501, + -0.011271563, + 0.048772532, + -0.022159144, + -0.019176794, + -0.01951644, + -0.041334823, + -0.04972029, + -0.0037615485, + -0.0024896977, + 0.09359993, + -0.010034336, + -0.008535706, + -0.0021431898, + -0.020344663, + -0.033727005, + -0.0007375958, + 0.021995168, + 0.009924056, + -0.006336685, + -0.027302356, + 0.06722483, + -0.029948544, + 0.02284446, + 0.09052198, + -0.03648173, + -0.02211835, + 0.012534465, + -0.016406935, + 0.044990048, + 0.04730975, + -0.0334081, + -0.019790769, + 0.03586682, + -0.041874573, + 0.028939728, + -0.03385227, + -0.07427713, + -0.018173948, + 0.049624145, + 0.06358428, + -0.04841469, + 0.014044156, + 0.010786161, + -0.010991607, + -0.022714645, + 0.019312575, + -0.019208817, + 0.016688207, + -0.026066376, + -0.0013027942, + 0.038389556, + -0.009169499, + 0.017707966, + 0.10148811, + -0.010436546, + -0.025917165, + 0.024984974, + 0.019613223, + 0.01875566, + -0.028570777, + -0.027995095, + -0.012596579, + 0.073318094, + 0.018679649, + 0.06967119, + 0.007146587, + -0.08099535, + 0.04491148, + 0.011525653, + 0.0019310614, + 0.03052814, + 0.046197575, + -0.019599762, + 0.007939539, + -0.05010258, + -0.069659434, + -0.011012112, + 0.0184302, + -0.017611217, + -0.0046293954, + 0.017495813, + -0.046206933, + 0.02841297, + -0.018584697, + 0.044278443, + -0.016284104, + 0.01022637, + 0.012253065, + -0.03225184, + -0.009625019, + -0.00051606057, + -0.053016033, + 0.029496249, + -0.022088632, + 0.052668203, + 0.050070528, + -0.042748276, + 0.010634452, + -0.021129753, + -0.024564017, + 0.023888579, + -0.037622895, + -0.016324887, + 0.011877078, + 0.007025225, + 0.002802877, + -0.01764108, + 0.035642922, + -0.08040161, + 0.034972806, + -0.006916981, + 0.034374148, + -0.0010959052, + -0.0038007672, + 0.060500294, + -0.012131204, + -0.00408249, + -0.079882905, + 0.02480371, + -0.010003873, + 0.0088504385, + 0.04307996, + 0.011547334, + 0.0129553005, + -0.015688207, + -0.011693325, + 0.055209607, + -0.03870829, + 0.051027946, + 0.01625007, + -0.026519133, + 0.02284303, + 0.011833242, + -0.007953413, + -0.011652939, + -0.057754815, + -0.013903844, + 0.023729185, + 0.046977244, + -0.005801888, + -0.036846217, + 0.010241585, + -0.0005424255, + 0.03569397, + 0.027088445, + 0.023870468, + 0.013520303, + -0.017787753, + -0.011750308, + 0.010354239, + 0.027722184, + -0.021508818, + 0.052121237, + 0.032300655, + 0.023915537, + -0.030898117, + 0.069300264, + -0.01376364, + 0.03151858, + -0.028774032, + -0.045458153, + -0.016894594, + -0.0030336913, + -0.06378672, + 0.045999326, + -0.044387188, + -0.009926631, + 0.014287274, + -0.04296565, + -0.052203305, + -0.06279118, + -0.022938984, + 0.031362906, + -0.0033672266, + -0.008134772, + -0.0059599457, + -0.02932464, + 0.038071133, + -0.0058282767, + 0.07130474, + 0.0031037156, + 0.01133098, + -0.0032532848, + 0.09159605, + -0.022918355, + -0.07191998, + -0.0069969054, + 0.012631652, + -0.029664816, + 0.018619211, + -0.0041331835, + -0.03244075, + 0.029137844, + 0.012500132, + 0.06715683, + 0.0064642574, + -0.05952265, + 0.06281308, + -0.0006937811, + -0.0020038325, + 0.015869275, + -0.0065654963, + 0.011709298, + -0.04030771, + 0.02237496, + 0.050428968, + 0.09846588, + -0.0027951319, + -0.020360988, + -0.02083765, + -0.0007063611, + 0.009192128, + 0.0001563758, + 0.016311683, + -0.0073649236, + -0.01653732, + -0.041777153, + 0.07113327, + -0.030620039, + 0.043516383, + 0.02444299, + 0.014786501, + 0.014088315, + -0.06539837, + -0.013808211, + -0.0034317668, + -0.022035401, + -0.051832613, + 0.013553978, + 0.02580746, + 0.0014728627, + 0.046814572, + 0.0050672004, + -0.0062974757, + 0.04901052, + 0.034715664, + 0.031764437, + 0.016471352, + -0.0023041654, + -0.02956528, + 0.026464961, + 0.031269163, + -0.0003505258, + 0.05713849, + 0.04613055, + -0.010466944, + 0.016806027, + -0.026681354, + -0.058333583, + -0.03905814, + -0.0394595, + 0.008948395, + 0.047083516, + 0.06961215, + -0.04190542, + 0.027417606, + 0.007792295, + 0.04570753, + 0.0018217552, + -0.038966954, + -0.007320383, + 0.015506159, + -0.05421377, + 0.033615783, + 0.004096568, + 0.003548112, + 0.017606257, + -0.027957335, + 0.039864123, + 0.024796434, + -0.015029914, + -0.034128442, + 0.024904806, + 0.024160456, + 0.019217733, + -0.035688814, + 0.030904477, + 0.050325867, + 0.027423058, + 0.010873059, + -0.048429735, + -0.009507657, + 0.05500458, + 0.011249418, + 0.03684335, + 0.0018078238, + 0.015908813, + -0.016967405, + 0.00663591, + 0.010560851, + -0.009400797, + -0.0034221401, + 0.010997033, + 0.046480272, + -0.002514043, + -0.018781427, + -0.034952622, + 0.0013552967, + 0.037213642, + 0.010689252, + 0.035117526, + 0.026608296, + -0.018998448, + 0.042879052, + -0.058799278, + -0.066793635, + -0.011129436, + 0.024432503, + -0.00028459085, + -0.048383642, + -0.031506926, + -0.03690255, + 0.021157794, + -0.030422553, + 0.050562073, + -0.0016439679, + 0.00584263, + -0.019051293, + 0.010142475, + -0.06670216, + 0.09423773, + -0.00414394, + 0.0016440877, + -0.044213407, + 0.013786311, + 0.04119509, + 0.0068150368, + -0.006136763, + 0.010445437, + 0.025297279, + 0.0016808228, + 0.017381303, + 0.0025230004, + -0.053676225, + 0.007694167, + 0.04218102, + 0.077153645, + -0.0053975447, + -0.018872697, + -0.007230304, + 0.041724566, + 0.03902146, + 0.021183262, + 0.05376661, + 0.027678182, + -0.015599317, + -0.015552951, + -0.03906453, + 0.016820539, + 0.07684442, + 0.03216975, + -0.054342277, + -0.028890822, + 0.010998652, + -0.0025614833, + 0.027099537, + 0.011015816, + 0.0064628213, + 0.08212973, + 0.007697562, + -0.027995884, + -0.016520524, + -0.013577744, + -0.012749979, + 0.03553137, + -0.028248489, + -0.0548042, + 0.010796042, + -0.017657345, + -0.008099939, + 0.014468232, + -0.008180787, + 0.016871277, + 0.037446685, + -0.028686667, + -0.039653778, + 0.020649944, + -0.009014365, + 0.0146937845, + 0.015840495, + 0.04505027, + 0.03919705, + -0.0036721244, + 0.008926686, + 0.010728038, + -0.0027394118, + -0.041900538, + -0.06835819, + 0.029127287, + 0.02478313, + 0.02080399, + -0.060326323, + -0.0041965283, + 0.0030500782, + -0.0049015447, + -0.0052220854, + -0.025705364, + 0.0044604205, + 0.025759617, + 0.017752208, + -0.019146105, + -0.033816792, + 0.020436043, + 0.014874083, + 0.0033844877, + 0.04872992, + 0.006274995, + 0.013979701, + -0.022359924, + -0.018286034, + 0.0075583654, + -0.026364656, + -0.03358934, + -0.021785786, + -0.009647614, + -0.042658366, + -0.033811517, + 0.02953389, + 0.04034354, + -0.043261454, + 0.01610899, + 0.013049269, + -0.04987666, + 0.05902776, + -0.014499549, + -0.021078842, + -0.024417862, + -0.055296794, + -0.051817358, + 0.060519554, + -0.005336097, + -0.013593662, + 0.054241896, + 0.0004766731, + -0.025024863, + 0.073920146, + -0.008762852, + 0.011644914, + -0.0014104747, + 0.015510714, + -0.04500607, + 0.025238222, + 0.016224787, + 0.045548756, + -0.032493602, + 0.003237501, + -0.013573586, + -0.013941007, + -0.055746596, + -0.019512, + -0.018392527, + 0.069368735, + -0.03626401, + -0.091421135, + 0.036638338, + -0.09918608, + 0.023705758, + 0.0017101235, + 0.029112363, + -0.017977873, + 0.00015771187, + -0.013894088, + -0.023523575, + -0.048213582, + 0.004335851, + -0.007709235, + 0.058296964, + -0.036695797, + -0.01550584, + -0.019358614, + -0.019064894, + 0.03089977, + 0.0026233247, + 0.05946453, + -0.022117367, + -0.04808722, + 0.04756092, + 0.0015558767, + 0.0023585337, + -0.0118078245, + -0.02159915, + 0.026109418, + -0.026592463, + -0.016526932, + 0.02185657, + -0.048178412, + 0.040435918, + 0.0030221667, + -0.011520651, + 0.006009365, + -0.001218993, + -0.08649729, + -0.015582432, + -0.02197017, + -0.0030718178, + -0.006896468, + 0.048928827, + 0.020990375, + 0.020583827, + 0.04995784, + -0.0122396825, + 0.006397466, + -0.012593246, + -0.04931392, + -0.05857512, + -0.016465899, + -0.016714502, + -0.010438953, + -0.022429263, + 0.043687824, + -0.04259895, + -0.012606676, + -0.0027422118, + 0.0032017082, + 0.034283817, + -0.032395188, + -0.025436357, + -0.0022669614, + 0.03225217, + -0.025408888, + 0.028605651, + 0.04110903, + -0.007155477, + -0.019702302, + 0.010474569, + -0.07939051, + 0.06799859, + -0.024488714, + 0.011766645, + -0.008367537, + -0.058635123, + -0.094137095, + -0.005229282, + 0.041732397, + -0.016989294, + -0.016959779, + -0.06417552, + -0.021604478, + -0.05235954, + 0.038499955, + 0.01345807, + -0.008968068, + 0.01685247, + 0.02937261, + 0.012460356, + -0.0038593775, + -0.04192102, + 0.033954583, + 0.012247447, + -0.08528784, + -0.03793432, + -0.030650124, + 0.044201914, + 0.006660172, + 0.06902259, + 0.04669382, + 0.041572418, + -0.036695514, + -0.0067534097, + 0.013934942, + 0.0026837855, + -0.0069745607, + -0.05964737, + -0.039877314, + 0.030307064, + -0.0027703214, + -0.019490117, + -0.007284711, + -0.023528047, + 0.017231142, + -0.036647517, + 0.06350324, + -0.062660836, + 0.0010927722, + -0.0003302197, + 0.042805653, + -0.031502146, + 0.013603341, + 0.03510318, + 0.04080859, + 0.056458954, + -0.017319955, + 0.03070886, + 0.013135058, + 0.03378326, + -0.014574118, + 0.01481266, + 0.002499454, + -0.019921787, + -0.07798934, + -0.0005308925, + -0.016158327, + -0.03622245, + 0.009650708, + 0.0036709749, + 0.040496532, + 0.007232325, + 0.008121425, + -0.0036318756, + 0.036447253, + 0.00017654497, + -0.075622074, + -0.0178266, + 0.006493101, + -0.012320889, + 0.03478627, + 0.0006708173, + 0.010556569, + -0.062357504, + 0.025286665, + -0.05976895, + -0.00853587, + -0.022753607, + -0.070174456, + -0.011950084, + 0.009454579, + -0.024073074, + -0.011807424, + -0.0022741582, + 0.03596655, + -0.0272716, + -0.06234766, + -0.025901238, + 0.008682983, + 0.005309621, + -0.01742733, + -0.026157165, + -0.015457374, + 0.05291312, + -0.011757104, + -0.0014795269, + -0.04526513, + -0.027287558, + -0.022468688, + 0.0009237138, + -0.034013916, + -0.055656873, + 0.07598938, + 0.004266058, + -0.071671896, + -0.075276494, + -0.043485623, + 0.012229621, + -0.056058135, + -0.032444417, + -0.037893787, + -0.033991907, + 0.042789377, + 0.0000866011, + 0.04705296, + -0.016635085, + 0.047921766, + 0.030189993, + -0.027121346, + 0.037987847, + -0.024700278, + -0.021929028, + -0.016159484, + 0.008722926, + -0.03851173, + 0.083917335, + 0.021276569, + 0.07455943, + 0.00893655, + 0.047952384, + 0.016130192, + 0.0012384858, + -0.017267428, + -0.040669367, + -0.08150968, + -0.011482504, + -0.013982418 + ] + }, + { + "id": "guard_app_onboarding.txt-4", + "document": "guard_app_onboarding.txt", + "section": "4.3 Option B — Run backend with Node directly", + "text": "4.3 Option B — Run backend with Node directly\nIf you want hot-reload on the backend, run MongoDB (via Docker or\nlocally) and then:\ncd app-backend npm install npm run dev # nodemon server.js (hot reload)", + "embedding": [ + 0.023186537, + 0.008449888, + -0.15026526, + -0.016181555, + 0.049729828, + -0.064027235, + -0.009895268, + -0.015736021, + -0.040630467, + -0.038975652, + -0.03934145, + 0.06340183, + 0.014042806, + 0.048800513, + -0.005674245, + -0.017105456, + -0.039474327, + -0.014983863, + -0.0002957532, + -0.01997465, + -0.0051353797, + -0.067229144, + 0.03155246, + -0.03815776, + 0.056498155, + 0.024373338, + 0.031114299, + 0.01720998, + 0.008576147, + 0.040625937, + 0.06566888, + 0.0009682068, + -0.013387579, + 0.037171725, + -0.049876574, + -0.006749665, + 0.010774357, + -0.043426905, + -0.009543854, + -0.026739769, + -0.0057059573, + -0.036751006, + 0.016197355, + -0.0414961, + 0.058513205, + 0.0049218433, + 0.08153921, + -0.0036681262, + 0.044896457, + -0.07134351, + 0.052892227, + -0.021775836, + 0.0000044507224, + -0.064238414, + 0.021052323, + 0.015108741, + 0.012188727, + 0.08526249, + 0.004633443, + -0.034089375, + 0.12764522, + 0.060911946, + 0.03623303, + 0.06545904, + 0.04990388, + -0.0064991424, + -0.07319825, + 0.059419256, + 0.044688575, + 0.008125274, + 0.024811557, + 0.050343122, + 0.004045379, + 0.0020629792, + 0.044845097, + -0.009740237, + -0.043535117, + -0.04343734, + -0.07554957, + 0.0357843, + 0.028051337, + 0.0064799646, + 0.07313168, + -0.0079138875, + 0.04260286, + -0.013352635, + -0.01308874, + -0.025806973, + -0.09140474, + 0.032634083, + 0.027569037, + -0.0072258106, + 0.01235366, + 0.060135677, + -0.030685483, + -0.005753762, + -0.009916473, + 0.035850197, + -0.015901972, + -0.04053436, + -0.041604057, + -0.03102341, + -0.03960777, + -0.022436747, + -0.01202665, + 0.042171057, + 0.021783989, + 0.032416385, + 0.011181607, + 0.003174894, + -0.040272985, + -0.023044564, + 0.019092198, + 0.02509113, + -0.032834318, + -0.02971963, + 0.05131772, + -0.011127247, + -0.002224955, + 0.07640512, + -0.037238594, + 0.014509857, + 0.017590407, + 0.017671334, + 0.023973012, + 0.035103716, + -0.045345306, + -0.008742113, + -0.017684957, + -0.069723055, + 0.0048687314, + -0.03365379, + -0.06565995, + 0.018853862, + 0.063167855, + 0.05709126, + -0.05193355, + -0.024782348, + -0.013571122, + -0.009992809, + 0.026759356, + -0.02069426, + -0.013544537, + 0.043405995, + 0.002076235, + 0.004370417, + 0.0068619293, + -0.010119141, + -0.04593356, + 0.06107608, + 0.0024218014, + 0.006984743, + 0.05148115, + 0.030465294, + 0.027562438, + -0.041341443, + -0.024006238, + -0.028661486, + 0.043043364, + 0.013878709, + 0.056296792, + -0.021538733, + -0.05673291, + 0.016461542, + 0.009869205, + -0.0571878, + 0.05491054, + 0.033290576, + 0.03799034, + -0.034453563, + -0.07127488, + -0.03172465, + -0.058367282, + 0.00062790414, + 0.03945242, + -0.028579757, + -0.011591272, + -0.0043343906, + 0.012426525, + -0.0407915, + 0.04420139, + -0.032096688, + 0.034555145, + 0.084407106, + -0.047325976, + 0.017225845, + -0.01129024, + -0.023471642, + 0.022065485, + -0.075199194, + 0.00982153, + 0.030255632, + -0.029374974, + -0.021469112, + -0.011587454, + -0.027718684, + 0.005928543, + 0.005012444, + 0.027197264, + -0.03360999, + 0.0033109188, + 0.001440918, + 0.036645923, + 0.023098782, + -0.051643156, + 0.02106808, + 0.023598198, + 0.04073272, + 0.0033873464, + -0.010017036, + 0.07529091, + -0.017437628, + -0.025839558, + -0.058914304, + -0.010358415, + -0.02748701, + 0.02091301, + -0.03302421, + -0.004708198, + 0.04164349, + 0.0026646247, + 0.00664285, + 0.032830026, + -0.08256316, + 0.02697428, + -0.002624708, + -0.0105198305, + -0.0034093296, + 0.011290269, + 0.023135269, + -0.025564019, + -0.0828157, + -0.00039449983, + -0.0016598495, + 0.044160675, + 0.0062094927, + 0.0037874759, + 0.012187284, + 0.0031952865, + 0.038212195, + 0.022954194, + 0.0043520364, + 0.044587627, + -0.012957578, + -0.045153394, + 0.033260103, + -0.0006085724, + -0.0076179085, + -0.018120306, + 0.011186664, + 0.066070415, + -0.051113922, + -0.009626648, + -0.052510567, + 0.050179858, + -0.02707626, + -0.027252357, + -0.019525398, + -0.0078549, + -0.06546395, + -0.0058515733, + -0.029390775, + 0.043244515, + -0.0060029016, + 0.025364794, + -0.010034866, + -0.06376138, + 0.0045560794, + 0.00807937, + 0.013018552, + 0.011847948, + -0.011596511, + 0.012987067, + 0.03993368, + 0.0011488514, + 0.053086754, + 0.046337407, + 0.0013867591, + -0.024449352, + 0.049734943, + -0.052592374, + -0.053618774, + 0.0055605536, + -0.022143373, + -0.03559329, + 0.0024772065, + -0.02540818, + -0.047960345, + 0.016669372, + -0.00025232055, + 0.05940595, + -0.023029882, + -0.009077377, + 0.09748015, + 0.012807766, + -0.014462239, + 0.028246732, + 0.0028420154, + -0.007101713, + -0.0314994, + 0.0070737973, + 0.0040748385, + 0.057029683, + 0.045380235, + -0.022627428, + -0.023373121, + -0.023330286, + 0.012159229, + 0.046414837, + -0.022574462, + 0.0063207177, + -0.010979786, + -0.014387089, + 0.041476928, + -0.017938659, + 0.04356447, + -0.027391238, + -0.0048412704, + 0.08525225, + -0.010240046, + -0.023240816, + -0.0049447175, + -0.03355016, + -0.057079636, + -0.00908829, + 0.055035874, + -0.016746787, + 0.06984666, + -0.0042557092, + -0.0041311313, + 0.021546703, + 0.044684887, + 0.059322007, + -0.023314891, + -0.0012509959, + 0.03454601, + 0.026306389, + 0.031361636, + 0.019193538, + 0.05469947, + 0.016235912, + -0.03280895, + 0.002902817, + -0.031672347, + -0.016847929, + 0.0027100856, + -0.04200929, + -0.019217232, + 0.016276058, + 0.044893514, + -0.06282611, + -0.006040584, + -0.014022582, + 0.008074669, + 0.011887958, + -0.055145416, + -0.026660308, + 0.03959243, + -0.01184153, + 0.022969164, + 0.043488864, + -0.0023717072, + 0.035135075, + -0.062699005, + -0.018294241, + -0.0004963039, + 0.031644713, + -0.016672518, + 0.011272994, + -0.028674833, + -0.016394164, + -0.042968623, + 0.0031464715, + 0.045911055, + 0.014085365, + 0.01726079, + -0.06100032, + -0.03557955, + 0.030392647, + 0.019433375, + -0.015409125, + -0.023632517, + 0.0027200428, + 0.024837805, + 0.024118017, + -0.01429589, + 0.045646194, + -0.017141694, + 0.01576653, + 0.030377848, + 0.017782902, + -0.048999686, + -0.036348455, + 0.008920686, + 0.05230542, + 0.022668723, + 0.04779941, + -0.01101311, + 0.0108009875, + 0.053620495, + -0.06154416, + -0.061775148, + -0.0015017816, + -0.0125189, + -0.052964106, + -0.011216806, + -0.043050624, + -0.03644496, + -0.0041875304, + -0.02317457, + 0.0361862, + 0.01416871, + 0.051842753, + -0.01707937, + 0.032148167, + -0.09712998, + 0.0887044, + 0.042451818, + -0.056505974, + -0.010004495, + 0.0040474734, + 0.003744547, + -0.041885994, + 0.007950088, + -0.010432246, + 0.019284032, + 0.011964073, + 0.015154091, + 0.01482282, + -0.03878005, + -0.0020747199, + 0.013145615, + 0.021088913, + -0.015410615, + -0.021779444, + 0.021750983, + 0.022198448, + 0.026535096, + -0.010290472, + 0.028527977, + 0.01917603, + 0.007795502, + -0.0074301786, + -0.019409252, + 0.0181554, + 0.110188745, + 0.06580959, + -0.058782004, + -0.034697756, + -0.0070657637, + -0.0015088427, + 0.023982009, + 0.039505344, + 0.051633082, + 0.07090755, + -0.015048287, + -0.010451021, + 0.014556151, + 0.014638912, + 0.023046685, + -0.021622041, + 0.036859922, + -0.057383772, + -0.005210977, + 0.03809777, + -0.009713317, + 0.005971903, + 0.0015745854, + 0.045265336, + 0.044649128, + -0.012842156, + -0.056228228, + 0.076777264, + -0.015102986, + 0.014084757, + 0.0006833218, + 0.041858945, + 0.006209989, + 0.062604636, + 0.01609185, + -0.015530873, + -0.02478309, + -0.013661546, + -0.052522846, + 0.008062595, + -0.029305985, + -0.0139057925, + -0.034085166, + 0.009260823, + 0.010529122, + 0.016464269, + 0.02206321, + 0.0031792591, + 0.0038593845, + 0.04185045, + 0.019184887, + -0.038461518, + 0.0064033414, + 0.0037434415, + 0.0007556069, + -0.0031421368, + 0.060179185, + -0.010528181, + -0.024662767, + -0.01652177, + -0.022303203, + -0.013880099, + -0.012848813, + -0.039342485, + -0.012247859, + -0.0072680926, + 0.0020399585, + -0.014296558, + 0.05214496, + 0.03648335, + -0.047991082, + 0.05551685, + -0.0026422462, + -0.07181987, + 0.04586421, + 0.004154093, + -0.007379115, + 0.0423238, + -0.032151032, + -0.032271825, + 0.00013014882, + 0.027125202, + 0.0026691274, + -0.016699703, + 0.010617223, + -0.019893056, + 0.012841794, + -0.0029365208, + 0.001584537, + -0.016788436, + -0.002358553, + -0.03901635, + 0.040198226, + 0.00034349135, + 0.0077866917, + 0.019802628, + -0.006702241, + 0.020888682, + 0.006964181, + -0.08372086, + 0.02489105, + -0.031037778, + 0.056158938, + 0.013379376, + -0.08484453, + 0.04231731, + -0.05563734, + -0.018515047, + -0.018282795, + 0.034694098, + -0.02647124, + 0.022002155, + 0.023954185, + -0.01407549, + 0.003158302, + 0.017528929, + -0.007855266, + 0.11092119, + 0.010720725, + 0.017157678, + -0.022453032, + -0.038108807, + 0.008438253, + -0.013144382, + 0.01957403, + -0.018476268, + -0.08130537, + 0.005026026, + 0.017326698, + 0.022883207, + -0.029701188, + 0.0026591942, + 0.023641946, + -0.024318416, + -0.022505647, + -0.006274739, + -0.05590065, + 0.028768675, + 0.041938804, + 0.0056653162, + 0.028416388, + -0.04085752, + -0.003460999, + 0.038887266, + -0.040991213, + 0.021945313, + -0.01638459, + -0.021766841, + 0.045288038, + -0.004770803, + 0.058412567, + -0.019661298, + -0.01857046, + -0.041628703, + -0.037939582, + -0.02144063, + -0.0064453897, + 0.00015660409, + -0.0068281116, + -0.039080948, + 0.08958926, + -0.013015633, + -0.0113869365, + -0.04128688, + -0.03667864, + 0.015583603, + -0.003867163, + 0.005647224, + 0.001573105, + 0.067058116, + 0.025565363, + 0.0225902, + 0.0011346585, + -0.018129675, + 0.008124357, + -0.002568057, + -0.04455976, + 0.07620475, + -0.010270863, + 0.05419439, + -0.030266365, + -0.055072777, + -0.059283182, + -0.009296986, + 0.051580384, + 0.024986846, + 0.0015985251, + -0.11464319, + -0.04965242, + -0.06668992, + 0.0047784345, + 0.07131944, + -0.026324885, + -0.01593005, + 0.019333895, + 0.024429848, + 0.00076653087, + -0.016860055, + 0.011869216, + 0.029556835, + -0.07874794, + -0.0033307967, + 0.025613513, + 0.057343725, + -0.0017872731, + 0.03319772, + 0.05400961, + 0.027411226, + -0.064226784, + 0.02438399, + 0.028024953, + -0.011198751, + -0.017446632, + -0.07981122, + 0.0035617242, + 0.0017346251, + 0.0008994662, + -0.010938777, + -0.010311626, + 0.04854688, + -0.015016898, + -0.0031415697, + -0.003205021, + -0.041981433, + -0.027564202, + -0.010346654, + 0.03132884, + 0.004096097, + -0.01725439, + -0.019713182, + 0.010536805, + 0.05562116, + 0.0065281065, + -0.036809843, + 0.0012514453, + 0.03401385, + -0.04881514, + 0.017159283, + 0.0050464505, + 0.017778045, + -0.08819785, + -0.012511718, + 0.0026938976, + -0.01009047, + -0.05423546, + -0.027074458, + 0.012738801, + -0.010016824, + 0.0046370984, + -0.04518672, + 0.050625574, + 0.015634075, + -0.06880191, + 0.027575009, + 0.040546767, + -0.03788072, + 0.029964203, + 0.00028171812, + 0.014911194, + -0.054888546, + -0.0024930886, + 0.007868074, + 0.03264152, + -0.03516303, + -0.034777246, + -0.030276053, + 0.015219759, + -0.021146037, + 0.11546922, + -0.009037014, + -0.02014063, + -0.0030067873, + -0.042513076, + 0.007833418, + -0.022357313, + -0.0012299431, + 0.004193948, + -0.009339936, + 0.005346361, + 0.007851216, + -0.047007143, + -0.029204087, + -0.041055437, + 0.04580017, + -0.026205497, + 0.039322145, + -0.07851199, + -0.06612151, + 0.03925157, + 0.040401552, + -0.07383453, + -0.059468236, + -0.07724555, + 0.038187113, + -0.04228619, + -0.042785086, + 0.004448, + -0.032880496, + 0.013920074, + 0.013556468, + 0.076272555, + 0.0028467283, + 0.06124941, + 0.031418253, + 0.010743654, + 0.04185085, + -0.020613912, + -0.018372033, + -0.033514965, + -0.008307316, + 0.00035876184, + 0.040473342, + 0.026193907, + 0.07197908, + 0.0056187217, + 0.026123557, + -0.008168319, + 0.038995825, + 0.0045942995, + 0.007239478, + -0.047682676, + -0.039888706, + -0.030277194 + ] + }, + { + "id": "guard_app_onboarding.txt-5", + "document": "guard_app_onboarding.txt", + "section": "# or: npm start # node server.js", + "text": "# or: npm start # node server.js\nConfirm it started\nThe console prints Server running on http://localhost:5000 and Swagger\nUI: http://localhost:5000/api-docs. Open the Swagger URL in a browser to\nconfirm.\n5. Run the Guard App in Expo Go\nThe Guard App is an Expo managed React Native app. Expo Go lets you run\nit on your phone with no native build.", + "embedding": [ + -0.007085113, + 0.033554055, + -0.20035934, + -0.024564937, + 0.0729088, + -0.042393036, + 0.004790057, + 0.0064439178, + 0.0339899, + -0.08783264, + -0.019715875, + 0.03265987, + 0.039598532, + 0.016317343, + -0.000057389883, + -0.034066264, + 0.050399795, + -0.06121412, + 0.006832386, + -0.04182988, + -0.017043876, + -0.06378848, + -0.05766558, + -0.008341714, + 0.08889082, + 0.020654012, + -0.010560245, + -0.019521318, + -0.03241673, + 0.024184907, + 0.041318234, + -0.032119337, + 0.013880588, + -0.017879188, + 0.008428581, + -0.0018034254, + -0.0419739, + -0.039060708, + -0.008876326, + 0.0023489574, + 0.06401261, + -0.035775416, + 0.016815523, + -0.039394516, + 0.048246104, + 0.009392982, + 0.057661794, + 0.031016758, + 0.068284556, + -0.09567913, + -0.044018503, + -0.029524626, + -0.0039783977, + -0.03257991, + 0.018338079, + 0.014254022, + 0.036086563, + 0.06338591, + 0.05526196, + -0.02443981, + 0.07779667, + 0.038836945, + 0.0040897205, + 0.082278065, + 0.024844112, + -0.008776754, + -0.049943004, + 0.051887225, + 0.051412653, + 0.015563121, + 0.017403835, + 0.00033996123, + -0.0022469698, + -0.027340801, + 0.0012553865, + -0.01271759, + -0.016325505, + -0.027403828, + -0.09598665, + 0.035195317, + 0.049615383, + 0.008475818, + 0.040709894, + -0.018501792, + 0.028256034, + -0.04123025, + -0.010994075, + -0.03055631, + -0.06147987, + 0.072435275, + 0.037413068, + 0.008647997, + 0.006744235, + 0.030787686, + -0.043954283, + 0.032515373, + 0.007097714, + 0.029409556, + -0.0073426403, + -0.06098953, + -0.006603767, + -0.014212437, + -0.087291144, + -0.029951656, + 0.029199714, + 0.021310614, + 0.026382389, + -0.0054959883, + 0.026686825, + -0.038163777, + 0.008150375, + 0.013872736, + -0.00914032, + 0.021687282, + 0.007484765, + -0.010140465, + 0.06932685, + 0.01864755, + 0.0109751085, + 0.035809454, + 0.007437175, + -0.003346431, + -0.04490608, + 0.03829234, + 0.044860516, + 0.016011557, + -0.0132068675, + 0.006043392, + -0.013345044, + -0.06762183, + -0.01914255, + -0.025062038, + -0.07495386, + -0.02266218, + 0.018116295, + 0.05180475, + -0.057576314, + -0.020752875, + 0.0074074096, + -0.007932219, + -0.016245421, + 0.028591372, + -0.029179722, + -0.00024593566, + 0.025168246, + -0.041426092, + 0.030271456, + -0.018463675, + -0.020299518, + 0.01603215, + -0.0120583065, + -0.0011725301, + 0.012920265, + 0.016368944, + 0.016113855, + -0.061418533, + -0.009544065, + -0.017627075, + 0.08931174, + 0.030624676, + 0.0676892, + -0.03218378, + -0.055047087, + 0.037990477, + -0.013437804, + -0.07972796, + 0.014563732, + 0.05490633, + -0.0015088944, + -0.010622398, + -0.07248807, + -0.027638562, + -0.026692707, + -0.015937056, + 0.0022515357, + -0.010026377, + -0.012188763, + -0.040957715, + 0.00788647, + -0.044913653, + 0.019061178, + -0.057795323, + 0.011072738, + 0.036428005, + -0.026361806, + 0.034726024, + 0.006023538, + -0.03992116, + 0.0019251392, + -0.064402305, + 0.03771527, + 0.03358281, + -0.04161817, + -0.008698988, + -0.03158601, + -0.039866712, + 0.022047145, + 0.0010694355, + 0.040758226, + 0.008188481, + 0.01029663, + 0.027924553, + 0.00761656, + 0.006986558, + -0.04397388, + -0.0055978885, + 0.00984066, + 0.044376135, + -0.00083059445, + 0.015015069, + 0.068351895, + -0.020932416, + -0.044183232, + -0.05397451, + 0.014334403, + -0.008098566, + 0.022422114, + -0.02344872, + -0.0012087172, + 0.030007074, + 0.008809497, + -0.033192035, + 0.0203224, + -0.057234496, + 0.01877807, + -0.01740427, + -0.03662519, + -0.01518668, + -0.026123729, + 0.0140333185, + -0.032816432, + -0.10945703, + -0.005123016, + 0.0059167696, + 0.051078063, + 0.039565288, + 0.01752732, + 0.0008519793, + 0.014816872, + -0.022113122, + 0.058031775, + 0.004177013, + 0.032976322, + 0.023790253, + -0.039987795, + 0.030494858, + 0.00802381, + -0.038671147, + 0.004964662, + 0.041545574, + 0.023914043, + 0.011420293, + 0.011024785, + -0.010271816, + 0.008398889, + -0.06632634, + -0.0472803, + 0.026586495, + 0.0022150537, + -0.026706208, + -0.014707284, + -0.040376473, + 0.040536113, + -0.006353577, + 0.033544473, + -0.025687775, + -0.034590557, + -0.005303721, + 0.016573088, + -0.0037615253, + 0.0043878895, + 0.012538572, + -0.019210448, + 0.02106345, + -0.015703771, + 0.02139733, + 0.048553452, + 0.017773777, + -0.018753856, + 0.06119463, + -0.049867705, + -0.053414907, + -0.01413667, + 0.0119579015, + -0.02275721, + 0.018411085, + 0.016285453, + -0.019681685, + 0.031087514, + -0.0019064714, + 0.023987329, + -0.001944361, + -0.027140636, + 0.058453616, + -0.022665292, + -0.018453348, + 0.028621752, + -0.025636297, + 0.00558895, + -0.015157621, + 0.037452254, + -0.0002516445, + 0.05839909, + 0.062212564, + 0.04177215, + -0.032269564, + 0.046339057, + -0.005101512, + 0.05859778, + -0.0067590387, + -0.021437254, + 0.00097125006, + -0.010724516, + 0.036793772, + -0.027938083, + 0.077817015, + -0.003209415, + 0.076830044, + 0.04455151, + -0.040132523, + -0.06665999, + -0.04597196, + -0.031478573, + -0.024562271, + -0.035520233, + 0.059710704, + -0.006959283, + 0.07526734, + 0.014902675, + -0.0037366354, + 0.034722567, + 0.051887058, + -0.015594436, + -0.045087613, + 0.037153073, + -0.027472552, + 0.021632537, + 0.044108335, + -0.020862592, + 0.056923445, + -0.010721644, + -0.016724247, + 0.002551349, + -0.029093655, + -0.04328822, + -0.014502163, + -0.06289889, + -0.06420156, + 0.005159393, + 0.028346999, + -0.025761994, + 0.026258435, + -0.030782575, + 0.010130432, + -0.04123214, + -0.020484788, + 0.04582266, + 0.024796441, + -0.005315003, + 0.015894348, + 0.05465392, + 0.032510806, + 0.033107035, + -0.03905939, + 0.0012277933, + 0.030510833, + 0.004422316, + 0.07266433, + 0.028019832, + -0.038886055, + -0.01929858, + -0.048316404, + 0.005996858, + 0.044448495, + 0.04198482, + 0.03990956, + -0.12862761, + -0.01886674, + 0.0076175313, + 0.008657981, + 0.036223583, + -0.03752103, + 0.010425999, + -0.019392908, + 0.047470625, + -0.030425826, + 0.01277121, + 0.00873018, + 0.015066182, + 0.017459773, + 0.025141485, + -0.04114308, + -0.054345015, + 0.047606353, + 0.015010789, + -0.00799594, + 0.046787973, + -0.0038136574, + -0.027880888, + 0.053375423, + -0.06291058, + -0.0074422425, + -0.01715605, + -0.02158128, + 0.014279797, + 0.021121174, + -0.027432568, + -0.013259231, + 0.061041787, + -0.007884587, + 0.032163955, + 0.07083383, + 0.012674297, + -0.052671935, + -0.012953758, + -0.036405526, + 0.06066411, + -0.012448694, + -0.050692394, + -0.048666235, + 0.006289666, + 0.03184729, + 0.018065857, + 0.028211214, + 0.020657958, + 0.029607935, + 0.0109610995, + 0.035001256, + -0.026177866, + -0.06797546, + -0.009350466, + 0.019569766, + 0.07636601, + 0.005482038, + -0.005693608, + -0.0025382317, + 0.011113248, + 0.02588253, + 0.0163045, + -0.00070258824, + 0.010912512, + 0.025264874, + -0.03474102, + 0.035237078, + 0.014511942, + 0.121690474, + 0.04813748, + -0.03183622, + -0.024482692, + 0.01494684, + -0.01393483, + -0.02321923, + 0.034115523, + 0.0426894, + 0.07032607, + -0.0021350805, + 0.010991463, + 0.03705163, + 0.004583293, + 0.024498792, + -0.00058588746, + -0.007119552, + -0.059004683, + 0.0123764, + 0.04378883, + 0.0073493766, + 0.036610536, + -0.023912683, + 0.06486435, + 0.039981395, + -0.0143735865, + -0.06771235, + 0.08752487, + -0.0066750366, + -0.011167282, + 0.017420797, + 0.03525452, + 0.0026694709, + 0.0451064, + 0.029423278, + -0.003645906, + -0.020184457, + -0.056984235, + -0.040141154, + 0.008643686, + -0.01544157, + 0.013330435, + -0.032973222, + 0.017745283, + -0.015315952, + 0.030181386, + -0.013248798, + -0.02509035, + -0.0022411188, + 0.038534712, + 0.023486812, + -0.064874515, + -0.0046816, + 0.025128374, + -0.00080023246, + -0.008110927, + 0.036957853, + -0.005167379, + 0.000102218786, + -0.039653413, + -0.028847096, + -0.021081021, + -0.02896943, + -0.025721524, + -0.025459848, + -0.002907348, + -0.01859909, + -0.01627032, + 0.04700244, + 0.053389892, + -0.066818185, + 0.02368694, + -0.040585976, + -0.09141413, + 0.064709514, + -0.002845643, + -0.044124562, + 0.034162223, + -0.027713971, + -0.071098365, + 0.024337342, + -0.009277975, + -0.0063945586, + 0.0062807766, + -0.020042755, + -0.030731553, + 0.049340513, + -0.035855927, + 0.003217562, + 0.009557685, + 0.027336404, + -0.04588074, + 0.023947034, + 0.014320133, + -0.015525532, + -0.027006406, + 0.010100613, + 0.015015937, + -0.013934883, + -0.0052600713, + -0.010254507, + -0.013353676, + 0.04068287, + -0.005633055, + -0.06539122, + 0.05913928, + -0.03614666, + -0.031094123, + -0.017466636, + 0.015354717, + -0.012267734, + -0.01719216, + -0.03438807, + -0.044349533, + -0.007536635, + 0.03120857, + -0.00983491, + 0.08856544, + -0.0094741825, + 0.00799542, + 0.011561852, + -0.02452366, + 0.036625594, + -0.02664228, + 0.030945603, + -0.011053995, + -0.039721373, + -0.0058834534, + -0.014946432, + -0.013638672, + -0.02066514, + 0.014789616, + 0.02022482, + -0.024779797, + -0.011848086, + -0.004057469, + -0.02777755, + 0.042468682, + 0.011382808, + -0.01302328, + 0.016530558, + -0.016391363, + -0.0023318117, + 0.054890852, + -0.038226094, + 0.008025834, + -0.04860427, + 0.05120493, + 0.027101977, + -0.023488054, + 0.008165121, + -0.022701316, + -0.04281374, + -0.006120289, + -0.014974948, + 0.0133988215, + 0.009257456, + 0.02602708, + -0.01814439, + 0.011537071, + 0.052071523, + 0.0040726364, + 0.019403769, + -0.00016388943, + -0.016195565, + 0.019257728, + -0.003894719, + -0.0037603276, + -0.06065032, + 0.053450555, + -0.016911302, + 0.06361479, + 0.012665013, + -0.015759932, + -0.04136449, + 0.024001338, + -0.02295231, + 0.056542307, + -0.009531494, + 0.028459562, + -0.033418972, + -0.0058771074, + -0.039820585, + 0.0035412954, + 0.013011909, + -0.0052084867, + 0.05047529, + -0.10113236, + -0.070736915, + -0.07234165, + 0.022462117, + 0.061712775, + -0.029751807, + 0.05251568, + 0.07108641, + 0.061488416, + 0.017315185, + -0.007754982, + 0.045894064, + 0.022237157, + -0.0020901035, + 0.018472685, + 0.018031677, + 0.046304833, + -0.0021309631, + 0.06806619, + 0.06474329, + 0.030577132, + -0.025856437, + 0.02907631, + 0.007866969, + 0.037336487, + -0.019669369, + -0.060323395, + 0.006489214, + -0.008967842, + -0.039169323, + -0.012222834, + 0.00058897724, + 0.0025650943, + -0.025212783, + -0.023163866, + 0.026267782, + -0.049740385, + -0.04005501, + 0.0030032853, + 0.021584254, + -0.009910189, + -0.009744479, + 0.03723403, + 0.01964041, + 0.030832198, + -0.010187169, + 0.030146066, + 0.008405842, + 0.006478878, + -0.030459581, + 0.012510341, + 0.029105408, + 0.035229363, + -0.013558557, + 0.00021694368, + -0.025740879, + -0.0063978573, + -0.025132427, + -0.03196175, + -0.010747829, + 0.010333805, + 0.014920392, + -0.025113378, + 0.011341451, + -0.009052367, + -0.059253354, + -0.048139866, + -0.0011225004, + -0.02025181, + 0.049958616, + 0.016823115, + 0.015898794, + -0.04222874, + -0.016026583, + -0.0012279968, + -0.034215163, + -0.03602756, + -0.060161598, + 0.0046889265, + 0.008560803, + -0.009184062, + 0.11002759, + 0.014580791, + 0.038581252, + 0.00036778097, + -0.044905033, + 0.030154347, + -0.00023820851, + 0.01699555, + 0.014964238, + -0.041036624, + -0.019233841, + -0.021471616, + 0.031128984, + 0.051991284, + -0.018980993, + 0.046090286, + -0.045593303, + 0.014163223, + -0.006707142, + -0.026896935, + 0.04330701, + 0.010255416, + -0.015543794, + -0.030627929, + -0.055934276, + -0.0733907, + -0.025362903, + -0.069367215, + -0.009009764, + -0.04192932, + 0.008253904, + -0.007249889, + 0.022883581, + 0.017240262, + 0.077204235, + 0.015313005, + 0.0094229635, + 0.022345446, + -0.024135029, + -0.03970801, + 0.0047957064, + 0.03432884, + -0.04238591, + -0.0042382088, + 0.008370385, + 0.09967255, + 0.0031795301, + 0.031980123, + 0.009675685, + 0.04287882, + 0.004611815, + -0.02929008, + -0.055804383, + -0.07954988, + -0.02183292 + ] + }, + { + "id": "guard_app_onboarding.txt-6", + "document": "guard_app_onboarding.txt", + "section": "5.1 Install dependencies", + "text": "5.1 Install dependencies\ncd guard_app npm install", + "embedding": [ + 0.028203407, + -0.040697552, + -0.1413137, + -0.004074456, + 0.0043482226, + -0.045547225, + 0.035751984, + -0.022003958, + -0.03014687, + -0.03555096, + -0.036171284, + -0.02979687, + -0.052366517, + 0.033451874, + -0.012776676, + 0.03679485, + -0.015223605, + 0.015532302, + -0.00488619, + -0.043625955, + 0.017093549, + -0.035763588, + -0.033985216, + -0.065064535, + 0.07834929, + -0.007034023, + 0.058273196, + -0.02672735, + -0.01923327, + 0.052883036, + 0.06723344, + 0.0045966916, + -0.017292045, + -0.01682978, + -0.040090237, + -0.038289912, + 0.027964493, + -0.035747185, + 0.0011806109, + 0.047404002, + 0.025299296, + 0.01648941, + 0.024842942, + -0.037834074, + -0.0020328944, + -0.027040761, + 0.04403225, + -0.004238553, + 0.03417695, + -0.01587093, + 0.023882935, + 0.03890765, + 0.029609282, + -0.04231496, + 0.045821317, + 0.019878257, + 0.0008186695, + 0.043388, + -0.035847344, + -0.03924292, + 0.08695175, + -0.00022839509, + -0.03481073, + 0.06290583, + -0.00938835, + -0.0034258568, + -0.031648066, + 0.0075837714, + 0.04876436, + 0.015238973, + -0.010811015, + 0.01775568, + 0.047986507, + -0.00028511786, + 0.048986033, + -0.060395416, + -0.013911337, + -0.012863258, + -0.037033215, + 0.01810945, + 0.07361946, + 0.052812837, + 0.05745984, + 0.003975394, + 0.029247161, + -0.0056404313, + -0.006902406, + -0.011154303, + -0.08323911, + 0.0038888163, + 0.027886586, + 0.00031171646, + -0.029658282, + 0.0017143377, + -0.040003553, + -0.0115471445, + -0.011258175, + -0.0090579325, + 0.0023555425, + -0.05389496, + -0.008929184, + -0.011025841, + 0.0050208666, + -0.007240886, + 0.04748928, + 0.021402575, + 0.03257923, + 0.045640156, + 0.024121402, + 0.030547788, + -0.008723401, + 0.046224225, + -0.0026130883, + -0.004076455, + 0.017632032, + -0.04297313, + 0.025181333, + -0.012107224, + 0.033991084, + 0.05290249, + -0.0011639071, + 0.019944856, + 0.020485487, + 0.02000393, + -0.026420208, + -0.004634796, + -0.04587138, + 0.060659092, + 0.013826063, + -0.06732096, + 0.04225312, + -0.029584667, + 0.014738464, + 0.0056988327, + 0.03101205, + 0.04384618, + 0.014319024, + -0.010863371, + -0.0328351, + 0.012290275, + -0.027678354, + 0.019007947, + -0.013699291, + 0.04837189, + 0.05385625, + -0.049881954, + 0.0073785186, + 0.0012001415, + -0.077332035, + -0.014763533, + -0.028126517, + -0.05342194, + -0.0050703776, + -0.02721488, + -0.020908132, + -0.0136498585, + -0.034308735, + -0.008779712, + 0.0520525, + 0.017470323, + 0.053519495, + 0.010792293, + -0.025175307, + 0.03266476, + 0.011575793, + -0.048933364, + 0.036850076, + 0.084955625, + 0.045533117, + -0.012570414, + -0.025237875, + -0.04206686, + -0.032471824, + -0.04048006, + 0.05820345, + 0.0021228457, + -0.022754975, + -0.03324166, + 0.032837298, + -0.08900718, + -0.013259083, + -0.029976696, + -0.0011278634, + 0.05286499, + -0.011098672, + -0.015645731, + 0.038843438, + -0.057648424, + -0.029702194, + -0.03260592, + 0.022183074, + 0.024186041, + 0.01194763, + -0.060639746, + 0.0049783937, + 0.014177728, + 0.015470206, + 0.015229018, + 0.053928733, + -0.043745525, + -0.046278145, + 0.003431455, + 0.0059837224, + 0.0031492223, + -0.037498668, + 0.021354904, + -0.01269007, + 0.009913705, + -0.017327623, + 0.030260257, + 0.055183396, + 0.0045207823, + -0.06775988, + -0.040419474, + 0.042572185, + -0.04353845, + -0.0067331865, + -0.074181885, + -0.014270127, + 0.010355231, + 0.00221754, + 0.057055693, + 0.03587505, + -0.027482603, + -0.000819885, + 0.010420798, + 0.005105454, + -0.012119364, + 0.009059724, + 0.0062322686, + -0.011690269, + -0.066065565, + -0.011205379, + 0.039028827, + 0.06388812, + 0.039789926, + -0.014763008, + 0.004715459, + -0.0051681185, + 0.0038836612, + -0.008930977, + 0.022342583, + 0.033693742, + 0.02434205, + -0.045602422, + 0.021640863, + -0.034037, + -0.004629275, + -0.018522756, + 0.045407265, + 0.07771204, + -0.011552072, + 0.013699232, + -0.050309367, + 0.048330747, + -0.04622168, + -0.057937592, + -0.022372771, + 0.039753336, + -0.031909406, + 0.0005430452, + -0.04954409, + -0.016676795, + 0.012859741, + 0.04481045, + -0.030249912, + -0.011825504, + 0.03717758, + 0.0313407, + 0.009708398, + 0.04574858, + 0.041635945, + 0.008993505, + 0.006410429, + -0.027007636, + -0.029293658, + 0.01670584, + 0.037379574, + -0.052946884, + -0.0025005317, + -0.025320219, + -0.034655057, + -0.00852025, + -0.036822423, + -0.0110315755, + -0.0213109, + -0.014066583, + -0.04991641, + -0.01719634, + 0.024036422, + 0.007282302, + -0.07465608, + -0.038693618, + 0.04287123, + -0.023892084, + -0.06978916, + -0.038073935, + 0.005058065, + 0.04827747, + 0.0123656355, + -0.022673646, + 0.0010085005, + 0.03756942, + 0.022839183, + -0.01592873, + -0.017981661, + 0.040507644, + -0.013838804, + 0.05201807, + -0.031940572, + -0.02501225, + 0.011558596, + -0.0027783564, + 0.002468024, + -0.03708981, + 0.02433942, + 0.008471018, + -0.019518184, + 0.032278825, + -0.046844948, + -0.014434676, + -0.060996212, + -0.04528985, + -0.014498418, + 0.024317198, + 0.027896326, + -0.008253299, + 0.05409916, + 0.057810348, + -0.04236442, + 0.062376726, + 0.019925082, + 0.039821856, + 0.00040599005, + -0.016555026, + -0.01581105, + 0.021128075, + 0.021774163, + -0.017392565, + 0.0076816357, + 0.048212223, + -0.008716108, + 0.013187089, + -0.048111293, + -0.049175803, + -0.0014181258, + -0.042403698, + -0.013332478, + 0.009556165, + 0.059102908, + -0.029589541, + -0.026444534, + -0.023865208, + -0.051254213, + -0.0019766, + -0.024639059, + 0.01076479, + 0.06798535, + 0.019085752, + 0.018551428, + 0.04082747, + -0.0015965982, + 0.0109982025, + 0.013946067, + 0.041594945, + 0.0293342, + 0.07190571, + 0.017244773, + 0.0017791487, + 0.009349289, + 0.0034847127, + -0.048111375, + 0.037359167, + -0.00525228, + -0.01535563, + 0.04301611, + -0.077141784, + 0.015151551, + -0.01612444, + -0.01610505, + -0.02608592, + -0.051854663, + 0.044944875, + 0.032391246, + 0.037149195, + -0.021699082, + 0.048659977, + -0.0012641813, + -0.014129211, + -0.0178373, + 0.0424453, + -0.08129983, + -0.06714949, + 0.06125067, + 0.0030811953, + 0.008215997, + 0.042468183, + 0.094548196, + -0.00064483116, + 0.02331975, + -0.025511205, + -0.0433745, + -0.021915708, + -0.018187637, + -0.03346078, + -0.0084873745, + -0.05218086, + -0.03942838, + 0.040560797, + 0.012508707, + 0.0043478063, + -0.0002766526, + 0.0111126555, + 0.006959059, + 0.020062724, + -0.007582927, + 0.048702143, + 0.035839353, + -0.01313594, + 0.015155298, + -0.0072230506, + -0.030815773, + -0.05071326, + 0.04990262, + -0.04374072, + 0.007795518, + 0.025125187, + 0.042121843, + 0.052380227, + -0.058081564, + -0.029128768, + -0.03468518, + 0.008293698, + -0.0127172, + 0.013015382, + -0.020810127, + 0.0016752969, + 0.024072418, + -0.036086015, + -0.02286355, + 0.018258626, + 0.031537887, + -0.010059676, + 0.0051144087, + 0.036557492, + 0.09976612, + 0.08984348, + 0.00009190329, + 0.023771355, + 0.036755003, + 0.00016648682, + -0.019866578, + 0.0323067, + 0.014732947, + 0.07977224, + -0.03576648, + 0.0133583555, + 0.009775049, + 0.060138408, + 0.06931653, + 0.009104803, + 0.033551894, + -0.0928096, + 0.0132712135, + 0.0041431054, + 0.011915186, + 0.0118724415, + -0.024438635, + 0.03377195, + 0.08718856, + -0.053962898, + -0.054915458, + 0.0027776193, + -0.07671005, + 0.03714462, + -0.0145186735, + -0.014685027, + 0.00068693026, + 0.035202987, + 0.02089215, + -0.0130325025, + 0.010213326, + -0.04520523, + -0.0075168507, + -0.0040792553, + 0.010724547, + -0.0038816642, + 0.013287017, + 0.0044152336, + -0.06873536, + 0.047899812, + 0.019555386, + 0.02987514, + 0.0662357, + 0.005505161, + -0.01027852, + -0.032672387, + 0.015813313, + 0.029789379, + -0.018727815, + 0.0151310135, + 0.076593585, + -0.012643028, + 0.0075241015, + -0.009522389, + -0.012727408, + 0.017949061, + 0.0010268473, + -0.043896213, + -0.011728416, + -0.022889126, + 0.053367026, + 0.011308463, + 0.0350705, + 0.009070876, + -0.016612075, + 0.014781559, + -0.009527816, + -0.06152906, + 0.022907667, + -0.018568372, + -0.02547585, + 0.029758703, + -0.047287773, + -0.002369203, + -0.010688019, + 0.033108063, + -0.046843167, + 0.002892596, + -0.02256385, + 0.021134527, + -0.022424458, + -0.059020054, + -0.06796482, + 0.04345646, + -0.023035621, + -0.07120323, + 0.028538153, + 0.039115727, + 0.050074376, + 0.009561281, + -0.01964702, + 0.018162383, + -0.0031017426, + -0.05319486, + -0.016512357, + 0.0072533656, + 0.050793234, + -0.022560982, + -0.038040645, + 0.09294019, + -0.021636145, + -0.02572754, + -0.005194528, + 0.041671664, + -0.008758715, + -0.009639173, + -0.005984299, + -0.03804858, + 0.017889338, + -0.011402609, + -0.0338733, + 0.057849143, + 0.0020955955, + 0.02670749, + 0.013452337, + -0.03766573, + 0.08488028, + -0.018851882, + 0.05363121, + -0.005622533, + -0.031048011, + -0.028612737, + 0.03665716, + -0.011496323, + -0.057590716, + -0.028374903, + -0.02962316, + -0.022225386, + -0.029516032, + 0.022259947, + -0.11184736, + 0.03797196, + 0.040586025, + -0.05266217, + 0.016819255, + -0.012879597, + -0.025470244, + 0.016188826, + -0.003457663, + 0.011139717, + -0.004343482, + 0.010628266, + 0.022932295, + 0.016264666, + 0.05821583, + -0.0119529795, + -0.03519822, + 0.01928812, + -0.060881983, + -0.0074734446, + 0.014092091, + 0.075374685, + -0.02552402, + -0.00007928055, + -0.004015991, + -0.05059702, + 0.0156212915, + 0.021714564, + 0.0020736125, + 0.04264309, + 0.0066198194, + 0.0010969676, + 0.0038626823, + 0.05242947, + 0.025771923, + 0.00391718, + 0.008148832, + -0.06336781, + 0.026435114, + -0.029987613, + 0.0041642836, + 0.02961749, + -0.0018649432, + 0.004858906, + 0.009907398, + 0.0004263161, + -0.032157008, + 0.011265867, + 0.036913615, + 0.014195867, + -0.01250932, + -0.036807965, + -0.1150649, + -0.046630945, + 0.06296147, + 0.05175649, + 0.012370352, + 0.05993452, + 0.01760968, + 0.07191815, + -0.034863796, + -0.024094872, + -0.028955748, + 0.044146314, + 0.010897023, + 0.0066209966, + 0.008731687, + 0.09796669, + 0.039637376, + 0.05113938, + 0.01802038, + 0.058332626, + -0.058248732, + 0.040153936, + 0.0074366247, + 0.01915769, + -0.061155226, + -0.037542526, + -0.013592705, + 0.0136178145, + -0.05257971, + -0.00853656, + 0.0039024213, + 0.0019999198, + -0.016044809, + 0.032115288, + 0.014373016, + -0.044535324, + -0.055542115, + -0.00023210139, + 0.043696396, + 0.046582524, + -0.026360292, + 0.0032266304, + 0.010221699, + 0.02710795, + -0.022901116, + 0.0061023943, + 0.0089753, + 0.006072523, + -0.082408674, + 0.009284812, + 0.00037911275, + 0.027556552, + -0.017146576, + 0.06387806, + -0.05055447, + -0.0094448095, + 0.0029358729, + -0.071376406, + -0.04102801, + 0.03551572, + -0.0019965789, + -0.039063845, + -0.018677223, + 0.0310012, + -0.007849535, + -0.005773047, + 0.007295248, + -0.0026284647, + 0.0009567717, + 0.008404252, + -0.029130697, + -0.024559114, + 0.024538316, + -0.030041507, + -0.04389862, + 0.022882413, + -0.026141405, + -0.0651204, + -0.002446607, + -0.032539368, + 0.014482755, + -0.0050971825, + -0.007902699, + -0.030850664, + -0.00838237, + 0.04155544, + 0.016468044, + 0.061748076, + -0.020264454, + -0.051168147, + 0.00007273232, + 0.024158755, + 0.006030876, + 0.026590886, + -0.0070309415, + 0.04261821, + -0.07358253, + 0.007626139, + -0.10787986, + -0.05702449, + 0.019209389, + 0.018075911, + -0.041205976, + -0.01938128, + -0.03835103, + -0.027524665, + -0.0027454966, + -0.06979844, + -0.025899846, + -0.03132552, + 0.015226944, + -0.00067900633, + 0.046819914, + 0.057633463, + 0.062484793, + 0.055250168, + -0.031470448, + 0.005638418, + -0.049118858, + -0.0217252, + 0.0017297383, + 0.016043829, + 0.008306302, + -0.03877514, + -0.0050783823, + 0.14560947, + 0.061617114, + 0.0420536, + -0.024795933, + 0.021399606, + -0.015659694, + -0.025053767, + -0.023697082, + -0.03987394, + -0.038446113 + ] + }, + { + "id": "guard_app_onboarding.txt-7", + "document": "guard_app_onboarding.txt", + "section": "5.2 Start the dev server", + "text": "5.2 Start the dev server\nnpm start # expo start (shows a QR code) npm run android # expo start\n–go –android (emulator/device) npm run ios # expo start –go –ios\n(simulator, macOS) npm run web # expo start –web\nRun npm start inside guard_app. Metro starts, prints a QR code, and\nshows a command menu: Press s: switch to Expo Go Press a: open Android\nPress i: open iOS simulator Press w: open web Press r: reload app Press\n?: show all commands\nStep 1 — Switch to Expo Go. If the terminal says Using development\nbuild, press s to switch to Expo Go. Expo Go runs on your phone with no\nnative build.\nStep 2 — Choose how to run the app:\nPhysical phone (Expo Go): open Expo Go and scan the QR code — Android:\nscan inside the Expo Go app; iOS: scan with the Camera app. Your phone\nand computer must be on the same Wi-Fi.\nAndroid emulator: press a (requires Android Studio). iOS simulator\n(macOS only): press i (requires Xcode). Web browser: press w.\nThe bundle builds and the app opens with live reload. Press r to reload,\nm to toggle the menu, or ? to list all commands.", + "embedding": [ + -0.03703755, + 0.052729018, + -0.17242868, + 0.0102536185, + 0.043460026, + 0.0050807116, + 0.051582623, + -0.050348986, + -0.0111806765, + -0.05271689, + -0.035457768, + -0.00595256, + 0.054002974, + 0.048888095, + 0.010509457, + -0.027151924, + 0.019981513, + -0.044023663, + -0.026643021, + -0.005255833, + 0.041457236, + -0.056360997, + -0.012946948, + -0.03476843, + 0.071811266, + 0.013210018, + 0.020639863, + 0.0032856234, + -0.052631013, + 0.043274984, + 0.07336403, + 0.0131499525, + 0.007561114, + -0.0023306631, + 0.011338738, + -0.03045912, + -0.032119714, + -0.030897258, + -0.054602627, + 0.039217595, + 0.028222598, + -0.036794685, + 0.020393712, + -0.029722081, + 0.043125313, + -0.024121024, + 0.100706555, + -0.0166147, + 0.029513849, + -0.10161495, + -0.004097116, + 0.026289199, + -0.0007697271, + -0.014519159, + 0.025508234, + 0.021507712, + 0.013769484, + 0.044087406, + 0.025372628, + -0.015313194, + 0.10368082, + 0.04548242, + 0.04097515, + 0.02922542, + 0.028054722, + -0.0028234206, + -0.021695983, + 0.031324822, + -0.0007719199, + 0.038660444, + 0.0120776575, + -0.0005727908, + -0.020549411, + -0.013352573, + -0.0007666375, + -0.030532947, + -0.012930082, + -0.04416906, + -0.07570126, + 0.048056573, + 0.033977337, + 0.033158585, + 0.06795565, + -0.00058693043, + 0.015324113, + -0.060283694, + -0.04147442, + -0.027710604, + -0.10114183, + 0.04517435, + 0.03874858, + 0.023172861, + 0.030497106, + 0.046052247, + -0.06469774, + 0.002400523, + 0.027752846, + 0.035181846, + 0.0020488575, + -0.03872563, + 0.0055238907, + 0.0049445173, + 0.0038554876, + -0.039625086, + 0.029109074, + 0.07773894, + 0.02678057, + 0.028788524, + 0.0028667382, + 0.0106807025, + -0.022638803, + -0.016160214, + -0.060787115, + 0.005897479, + 0.040674157, + -0.011780584, + 0.027021287, + -0.010112235, + 0.032586712, + 0.03298178, + -0.02605266, + -0.0420346, + -0.0031526887, + -0.009625606, + 0.033361576, + 0.011108908, + -0.018925399, + -0.0003610356, + -0.036482487, + -0.07103004, + 0.01644927, + -0.031140547, + -0.071716145, + -0.0017895121, + 0.020844465, + 0.04337201, + -0.038767304, + -0.014664412, + 0.024235522, + -0.041611493, + -0.025925973, + 0.028943839, + -0.052989412, + 0.029692449, + 0.008249077, + -0.040984083, + 0.016795991, + -0.004467256, + -0.008036978, + 0.005090854, + 0.035977576, + 0.011044891, + 0.022648627, + 0.06224204, + 0.08027918, + -0.03151056, + -0.035661403, + 0.021441838, + 0.057034638, + 0.0335763, + 0.046199605, + -0.011885418, + -0.031492103, + 0.049207013, + -0.028194081, + -0.0429624, + 0.036406502, + 0.040290844, + 0.03577401, + -0.0106424745, + -0.03661219, + -0.04803116, + -0.023544347, + 0.007949257, + -0.014277945, + 0.0053407266, + 0.040954467, + -0.022475407, + 0.020782888, + -0.046584312, + 0.044700317, + -0.04716402, + -0.020863775, + 0.034667876, + -0.054748725, + 0.0204192, + -0.017466929, + -0.016013043, + -0.009178429, + -0.058589213, + 0.030103473, + -0.013426103, + -0.09142824, + 0.017336102, + -0.062460564, + -0.033042416, + 0.017046696, + 0.022139577, + 0.047439344, + 0.021822065, + 0.0037817147, + 0.036360558, + -0.019196482, + 0.04053827, + -0.05527014, + -0.031137712, + 0.025355298, + 0.022262778, + -0.010070865, + -0.003426109, + 0.06797544, + -0.002422135, + -0.0005202366, + -0.048140567, + 0.03780791, + 0.007909144, + 0.034516875, + -0.07952046, + -0.034531742, + 0.03211463, + 0.011547726, + -0.0006549192, + 0.0013393421, + -0.062206652, + 0.05245545, + -0.018022487, + -0.04508245, + 0.008174263, + -0.019874403, + 0.022066263, + -0.024607925, + -0.020214908, + 0.0061683487, + 0.02087072, + 0.053573456, + 0.020340776, + -0.02839542, + 0.064367935, + -0.009140563, + -0.011922934, + 0.026666857, + 0.005410937, + 0.019151064, + 0.018301304, + -0.062086184, + 0.0026861131, + -0.01261616, + -0.0039724866, + 0.01740946, + 0.018356167, + -0.0061082244, + -0.014542888, + 0.042121623, + -0.019738387, + 0.037151966, + -0.060933687, + -0.04368722, + -0.009958065, + 0.017623818, + -0.01873307, + -0.024476474, + -0.04080371, + 0.04113857, + 0.010047717, + 0.02812638, + -0.012712258, + 0.0089401165, + -0.025323851, + 0.0125191575, + 0.008213336, + -0.0067420593, + 0.024626575, + -0.012251329, + 0.014960377, + 0.011874637, + -0.008417587, + 0.031024983, + 0.018862018, + -0.0047083665, + 0.0069974675, + -0.026202433, + -0.11967802, + -0.049312837, + -0.015078638, + -0.0008386417, + -0.037878852, + 0.029360872, + -0.023763236, + 0.0149725005, + -0.029420238, + 0.062905, + -0.025544075, + -0.026464753, + 0.052371446, + -0.0481977, + -0.0017980502, + -0.0039596274, + -0.008536999, + -0.014776248, + -0.02069504, + 0.042739064, + 0.007954456, + 0.056931585, + 0.057191223, + -0.0045498116, + -0.013511085, + 0.025680253, + 0.02561777, + 0.004923283, + -0.031084957, + 0.006348113, + 0.0055729183, + -0.0628091, + 0.020656511, + -0.049923223, + 0.035256233, + 0.004744735, + 0.042229924, + 0.04234664, + -0.010207407, + -0.084180675, + -0.053509183, + -0.009365182, + -0.025476636, + -0.026815042, + 0.07867816, + 0.02748111, + 0.04204261, + 0.0069510587, + -0.034456696, + 0.06101296, + 0.054649845, + -0.011638976, + -0.0132479435, + 0.04160814, + -0.043126985, + 0.021368787, + 0.013904249, + -0.006154115, + 0.039637644, + 0.034571007, + -0.0050838594, + 0.008880851, + -0.053891763, + -0.0089960825, + -0.051193215, + -0.02937991, + 0.0062212236, + 0.024286328, + 0.030775482, + -0.027564555, + 0.01644064, + -0.02998178, + -0.010738352, + 0.023495832, + 0.005873233, + 0.0015461327, + -0.0017347351, + 0.016571045, + 0.004292962, + 0.041276217, + 0.027087025, + -0.0078028655, + -0.046291325, + 0.014815572, + 0.004091866, + 0.011433129, + 0.031899728, + -0.0045624264, + -0.012664091, + 0.012053365, + -0.012134066, + 0.020630982, + 0.0340931, + -0.013483043, + 0.0059857904, + -0.112410255, + -0.044687666, + 0.052476965, + 0.0012098659, + 0.0010934472, + -0.024633095, + 0.0017325677, + -0.026255887, + 0.056966066, + -0.009394357, + 0.05696123, + -0.01102744, + 0.028577032, + 0.03305445, + 0.03144299, + -0.016091328, + -0.020299261, + 0.045174725, + 0.028412806, + 0.00846989, + 0.028760025, + -0.009784834, + -0.041519117, + 0.018306911, + -0.05273892, + -0.005684108, + 0.0022229021, + 0.020653835, + 0.001000315, + -0.015459749, + -0.045542497, + -0.013344861, + 0.0097664045, + 0.03090558, + 0.018729853, + 0.04481851, + 0.03027036, + -0.032326005, + 0.010437357, + -0.020032607, + 0.061493058, + 0.0061322297, + -0.0342991, + -0.03922256, + 0.009370937, + 0.02227964, + 0.021482116, + -0.012599041, + 0.0040930747, + 0.050896462, + 0.027367078, + 0.076842315, + -0.0088843815, + -0.0625995, + -0.019557368, + -0.0122231515, + 0.0665972, + -0.013280047, + -0.024043083, + 0.00010084193, + -0.017292699, + -0.0035892837, + 0.051108222, + -0.02566857, + 0.039515343, + -0.018492455, + -0.0505097, + -0.0063370317, + 0.043778323, + 0.09346716, + 0.053893432, + -0.013824467, + -0.042683642, + 0.049812, + 0.02490956, + 0.01001392, + 0.018255847, + 0.029137967, + 0.059101544, + -0.021179166, + 0.022711212, + -0.00030995352, + -0.0030808148, + 0.032457296, + 0.0043150885, + 0.036781628, + -0.10023753, + 0.03823544, + 0.053980675, + 0.0058667795, + 0.013152098, + -0.018113676, + 0.064833485, + 0.03660003, + -0.013018083, + -0.10098901, + 0.044746365, + -0.006539547, + -0.016745187, + 0.0007654109, + 0.029177457, + -0.0011101925, + 0.037848115, + 0.019991105, + -0.011145838, + -0.024560174, + -0.028800659, + -0.0438991, + 0.012663189, + 0.0007656775, + -0.0071311644, + -0.040092893, + -0.018875591, + -0.042137537, + 0.016434701, + -0.014459312, + -0.013733085, + 0.0072800047, + -0.007647439, + 0.0031863868, + -0.027261984, + 0.039159395, + 0.025607059, + -0.019223502, + 0.041870955, + 0.032530367, + -0.04596547, + 0.033192214, + 0.031580687, + -0.05641257, + -0.039694678, + -0.02969286, + -0.041714452, + 0.016656576, + -0.008496801, + -0.013789141, + 0.020808753, + 0.03180181, + 0.057931922, + -0.03981984, + 0.029442295, + -0.038577892, + -0.055493012, + 0.007649261, + 0.034752928, + -0.08038582, + 0.058591474, + -0.038984228, + -0.08407942, + 0.025967574, + 0.05341596, + -0.009489036, + 0.050687518, + -0.028234966, + -0.016498499, + 0.019091086, + -0.010540223, + -0.020831296, + -0.00016360458, + -0.0028974826, + -0.016857436, + 0.00065109855, + 0.039464206, + 0.044074755, + -0.0073944614, + 0.005352997, + 0.024477422, + -0.046267092, + -0.008626608, + -0.010895316, + 0.00036726665, + 0.03916042, + -0.012445163, + -0.0829199, + 0.043780986, + -0.075565614, + 0.004657788, + -0.023778688, + 0.016406061, + 0.01843515, + -0.011764214, + -0.022119198, + -0.029406492, + -0.0025563561, + 0.026738355, + -0.02713747, + 0.089515924, + 0.013175668, + 0.02183043, + 0.004035053, + -0.0022814693, + 0.03650722, + 0.00062834565, + 0.06926658, + -0.00064881897, + -0.0038941207, + -0.027163714, + 0.011108757, + 0.029038532, + -0.033364292, + 0.03163755, + 0.008936743, + -0.015869759, + -0.021884233, + 0.01654974, + -0.045846276, + 0.034935545, + 0.02172002, + -0.019493075, + 0.01779914, + -0.039937653, + -0.044792388, + 0.06441199, + -0.06241466, + -0.007609654, + -0.046042062, + 0.057222974, + 0.0030459946, + -0.027816264, + 0.027175626, + -0.0010160069, + -0.061862927, + 0.0052820113, + -0.042396184, + 0.0034661747, + 0.024517093, + 0.04143954, + -0.024478754, + -0.039307058, + 0.03090163, + -0.019178484, + -0.002345198, + 0.03696755, + -0.051754147, + -0.00879727, + -0.0068784175, + -0.04205081, + -0.05541665, + 0.043421425, + -0.023701089, + 0.05871666, + -0.001934402, + 0.01727985, + 0.010689819, + -0.02203303, + -0.04404144, + 0.065318175, + -0.04676154, + 0.030744448, + -0.016508684, + -0.00011064327, + 0.0132915545, + 0.0061445725, + 0.0056623016, + -0.020500395, + -0.051256966, + -0.09528647, + -0.037356466, + -0.08563406, + 0.035137918, + 0.015578051, + -0.040659655, + 0.030914662, + 0.00097495114, + 0.028963389, + -0.04108271, + -0.0038563148, + 0.06653264, + 0.09339964, + 0.010515479, + -0.015417809, + 0.0013109321, + 0.03666755, + 0.0072829053, + 0.029781125, + 0.039653104, + 0.027127108, + -0.048880678, + -0.008446367, + 0.06137995, + 0.026967293, + -0.05220133, + -0.06455427, + -0.018999742, + -0.020620886, + -0.03594091, + -0.011086767, + 0.024592927, + 0.022849496, + 0.01209734, + -0.0014595918, + 0.020388894, + -0.072584055, + -0.054408908, + -0.014926429, + 0.05030363, + -0.029137539, + -0.00033889932, + -0.0056417393, + 0.0066099595, + 0.011627301, + 0.024435401, + -0.008012446, + 0.007522241, + 0.0020013715, + -0.058958825, + -0.016003463, + 0.035269402, + 0.026950354, + -0.059320163, + 0.032373317, + -0.040844556, + -0.023940861, + -0.023295432, + -0.037407324, + -0.051861387, + -0.012258971, + 0.008329804, + 0.00067059137, + 0.018585293, + 0.0426572, + -0.027834594, + -0.03685307, + 0.020339705, + -0.011561708, + 0.043899022, + 0.03582622, + -0.0062787076, + -0.051227316, + 0.027489135, + -0.001315934, + -0.03917021, + -0.03930969, + -0.030951817, + -0.021942848, + 0.036530774, + -0.002330819, + 0.050837737, + -0.03583717, + 0.07477326, + 0.015470078, + -0.0012342305, + 0.024499683, + 0.01037031, + 0.025004419, + -0.012795076, + -0.057597578, + 0.007833007, + 0.0147034405, + 0.043413095, + 0.06631165, + -0.022237325, + 0.014536114, + -0.018470729, + -0.0019016584, + -0.005485592, + -0.011532112, + 0.027718384, + 0.025922941, + -0.008879158, + -0.024507798, + -0.08070974, + -0.04458139, + -0.042754367, + -0.054447833, + 0.0015004503, + -0.023681005, + 0.018025415, + -0.00763889, + -0.003419735, + 0.001043991, + 0.08109459, + 0.028686687, + 0.0101902895, + 0.03834278, + -0.027874205, + -0.036518153, + 0.035118666, + 0.039025515, + -0.042241205, + 0.02355335, + 0.017809011, + 0.118756376, + -0.0032578364, + 0.015246633, + -0.03837887, + 0.01980893, + -0.0044526495, + -0.052652575, + -0.06755237, + -0.0384888, + -0.02320106 + ] + }, + { + "id": "guard_app_onboarding.txt-8", + "document": "guard_app_onboarding.txt", + "section": "5.3 Connect the app to the backend", + "text": "5.3 Connect the app to the backend\nExpo Go runs the app on your phone, but the phone still has to reach the\nbackend running on your computer. The Guard App works this out\nautomatically, with one requirement.\nYour phone and computer must be on the same Wi-Fi network. Expo detects\nyour computer’s local network address and the app connects to it on port", + "embedding": [ + -0.0061109723, + 0.05339873, + -0.17090227, + 0.001409978, + 0.06848291, + 0.003337906, + 0.071075246, + 0.0040576113, + -0.0019237507, + -0.020830784, + -0.043092914, + 0.023753421, + -0.013729404, + 0.029884797, + 0.014453548, + -0.022127308, + -0.00031497973, + -0.022895953, + 0.005063821, + -0.03615311, + 0.019979147, + -0.044576835, + -0.040436007, + -0.018028846, + 0.053763174, + 0.015555061, + 0.05573256, + 0.0070448816, + -0.057569914, + 0.008580581, + 0.03127671, + -0.028600566, + 0.0030793122, + -0.011775157, + -0.026951535, + -0.0067863553, + -0.07564783, + -0.00922642, + -0.050843645, + 0.06631367, + 0.043706022, + -0.02004203, + -0.019685196, + -0.0359027, + 0.051370706, + -0.017732307, + 0.063523, + -0.018635742, + 0.09760888, + -0.091777235, + -0.044489294, + 0.03513729, + -0.0030769208, + -0.020045647, + 0.011465738, + 0.0057265745, + 0.017783599, + 0.0057409173, + 0.025165198, + -0.011895066, + 0.093139865, + 0.077572614, + 0.011139554, + 0.03442196, + 0.05240223, + -0.0039065215, + -0.047614522, + 0.07247486, + -0.03412043, + 0.013402291, + 0.015995082, + -0.031613108, + -0.024980878, + 0.0007708587, + 0.029108742, + -0.029589707, + 0.032975473, + -0.04587211, + -0.073247515, + 0.08863721, + 0.03572459, + -0.02287902, + 0.046204012, + -0.015500965, + -0.0032933417, + -0.059431154, + -0.013379083, + -0.03716364, + -0.06923084, + 0.05176519, + 0.020870173, + 0.037263706, + 0.051619638, + 0.019926175, + -0.07839026, + 0.01229906, + 0.022462826, + 0.028410584, + -0.017505767, + -0.059211247, + -0.017366389, + 0.01683864, + -0.046285037, + 0.012301131, + -0.0006714229, + 0.05288312, + 0.02483311, + 0.006788002, + -0.0125537785, + -0.0052947593, + -0.0020104388, + -0.012443452, + -0.009583749, + 0.019951189, + 0.006862746, + -0.0051976494, + 0.067006215, + -0.021290842, + 0.05106142, + 0.007992345, + -0.02432825, + -0.004201614, + -0.011538888, + 0.004362134, + 0.04380132, + 0.03653092, + -0.020776536, + 0.022890309, + -0.029575821, + -0.047087997, + -0.0029747402, + -0.06553954, + -0.04265094, + -0.014498652, + 0.0068602543, + 0.0071037547, + -0.04884939, + 0.0056435894, + -0.020050384, + 0.008005464, + -0.027215743, + 0.016191587, + -0.022799555, + -0.037200745, + -0.014774145, + -0.046464894, + 0.009125122, + -0.06044066, + -0.008028696, + 0.008373952, + -0.000766971, + 0.011320748, + -0.027455173, + 0.028191814, + 0.06904368, + -0.029391902, + -0.027746718, + 0.036970727, + 0.050571326, + 0.03474004, + 0.07476775, + -0.024329552, + -0.011848215, + 0.028621744, + -0.040813997, + -0.04301495, + 0.008745467, + 0.048218425, + 0.032401755, + 0.02139016, + -0.063669145, + -0.03307028, + -0.045298286, + -0.011915453, + 0.0062699355, + 0.019949172, + 0.017819813, + -0.058913354, + 0.025932549, + -0.0238817, + 0.06917132, + -0.029559167, + -0.021105403, + -0.009012074, + -0.022327697, + 0.041547738, + -0.0057870634, + -0.018833047, + 0.00005507468, + -0.05084406, + 0.028211646, + -0.02288402, + -0.07102084, + -0.038222093, + -0.049854476, + 0.016824424, + 0.030547993, + 0.033956915, + 0.05081094, + 0.010796064, + -0.043304984, + 0.011811677, + -0.002353815, + 0.027148945, + -0.036457542, + -0.02394846, + 0.012806297, + 0.0030012645, + 0.009178899, + -0.035728138, + 0.039158568, + -0.03245663, + -0.014818588, + -0.013588315, + 0.0061159856, + -0.015890483, + 0.025472274, + -0.05344106, + -0.0528326, + -0.008573673, + 0.023080725, + -0.023866132, + 0.0022560963, + -0.06715443, + 0.008675052, + -0.03858894, + -0.07049014, + 0.0032103697, + -0.04041768, + 0.031015743, + 0.030193834, + -0.017797496, + 0.0076410747, + 0.033772934, + 0.022150384, + 0.055590473, + -0.018150104, + 0.042411663, + 0.0133948, + -0.0074553867, + 0.0433888, + -0.009539779, + 0.0009982646, + 0.03587916, + -0.032669954, + 0.038547166, + -0.012315575, + -0.013682526, + 0.044555444, + 0.025626235, + 0.012849562, + 0.023453802, + 0.023143198, + 0.006482482, + 0.012917428, + -0.07263259, + -0.0044482793, + -0.03226482, + 0.0181046, + -0.053725198, + -0.04087505, + -0.027330797, + 0.053668655, + -0.019593205, + 0.017622136, + -0.028362248, + 0.006422243, + -0.018618671, + 0.00870078, + -0.055960577, + -0.0012185411, + 0.06591098, + 0.02141891, + 0.021420272, + 0.029351024, + -0.024027936, + 0.035086986, + -0.0056603807, + 0.012026904, + 0.048258565, + -0.027864428, + -0.08383643, + -0.03782555, + -0.03042778, + -0.020926755, + -0.027177371, + 0.025014106, + -0.0032970689, + 0.025780434, + -0.00891252, + 0.04696154, + -0.024490297, + 0.013214892, + 0.03874848, + 0.008999728, + 0.018811354, + 0.043563936, + -0.02597339, + -0.019801553, + -0.020988515, + 0.0026263, + -0.00521242, + 0.06433254, + 0.050893717, + -0.0019635963, + -0.037024923, + -0.0022471598, + 0.009877831, + 0.0068109864, + -0.009897253, + -0.019208962, + -0.0093919635, + -0.004487644, + 0.0077421507, + -0.023904309, + 0.035273805, + 0.014405028, + 0.07393229, + -0.016593855, + 0.025205495, + -0.031395577, + -0.025700979, + -0.02136483, + -0.023505898, + -0.012577675, + 0.033004988, + -0.0040495917, + 0.06993106, + -0.011588524, + -0.042953633, + 0.04012016, + 0.022341628, + 0.013060714, + -0.04285546, + -0.019829853, + -0.00889108, + 0.03129006, + 0.02564845, + -0.019482793, + 0.08155206, + 0.0047141262, + -0.067920245, + -0.003932619, + -0.054935154, + -0.035498224, + -0.048561018, + -0.028608836, + -0.011965829, + 0.035020474, + 0.039772976, + -0.055802036, + 0.025710613, + -0.033537634, + 0.013657608, + -0.034075297, + -0.03915158, + -0.0023269102, + 0.04074193, + -0.028708786, + 0.04655489, + 0.050255656, + 0.046909574, + 0.0077460716, + -0.043432396, + -0.0023740695, + -0.017546663, + 0.008280257, + 0.042691294, + 0.038227607, + 0.00079816923, + 0.02421223, + -0.016327262, + 0.051660884, + 0.021406077, + 0.011364438, + -0.015167793, + -0.105354376, + -0.069462694, + 0.040972363, + 0.03657607, + -0.021776894, + -0.0013408044, + 0.043366488, + 0.00055721396, + 0.04384774, + -0.08284353, + 0.029329566, + -0.0038093512, + 0.028610596, + 0.04370219, + 0.05174605, + -0.016043764, + -0.053468693, + 0.002154858, + 0.050766345, + -0.013812081, + 0.031973537, + 0.014867982, + -0.003851936, + 0.047917563, + -0.0039122533, + -0.008088632, + 0.026429398, + 0.015522664, + 0.0007136491, + 0.016883941, + -0.038303964, + 0.011159745, + 0.037750397, + -0.0032564914, + 0.024938323, + 0.02695887, + 0.03904323, + -0.05699318, + -0.0069380533, + -0.014371038, + 0.08323727, + 0.010039688, + -0.047036495, + -0.062687345, + -0.0071142768, + 0.0055248043, + 0.028193047, + -0.0038404006, + -0.018051604, + 0.10109812, + 0.0046429136, + 0.017716568, + -0.014265809, + -0.04481093, + -0.028084865, + -0.020889819, + 0.033474494, + 0.00036496087, + -0.04886733, + -0.01681425, + 0.017414907, + 0.02295725, + 0.07719431, + 0.03795952, + 0.021815017, + 0.007927374, + -0.0626705, + 0.032467827, + 0.043495916, + 0.111607395, + 0.024459895, + -0.0051792148, + -0.02125048, + 0.04905649, + 0.002723111, + 0.012503151, + 0.03172124, + 0.018050699, + 0.03876646, + -0.0073662954, + 0.007047039, + 0.012635554, + 0.013930654, + -0.009059137, + -0.030812327, + 0.05788996, + -0.052573718, + 0.043953307, + 0.041581117, + 0.0026494074, + 0.04314106, + -0.012263207, + -0.00021182497, + 0.040694803, + -0.0053378004, + -0.025189774, + 0.037444018, + -0.00879542, + -0.004160515, + -0.014325298, + 0.025459783, + 0.018254148, + -0.005138898, + 0.026512424, + -0.012920095, + -0.020805351, + -0.05821613, + -0.033590496, + -0.002062561, + 0.04556146, + 0.000571453, + 0.006376808, + -0.048142355, + -0.033666685, + 0.048310056, + -0.0019926634, + -0.038420077, + 0.024851827, + 0.016612737, + -0.019493151, + -0.06894122, + 0.019304944, + 0.0031369377, + -0.03831507, + 0.04131724, + 0.06358039, + -0.028143855, + 0.022626076, + 0.040650744, + -0.025991078, + -0.04571748, + -0.039163474, + -0.0318407, + -0.017701892, + -0.05881303, + -0.004809679, + 0.00086591305, + 0.004784882, + 0.012977491, + -0.025822585, + 0.018383889, + -0.027443828, + -0.031843454, + 0.023278235, + 0.046987116, + -0.051664606, + 0.013435116, + -0.0572466, + -0.11194776, + 0.033861633, + -0.0034236743, + -0.017377147, + 0.0186827, + -0.029106345, + -0.018994184, + 0.052272197, + -0.04361882, + -0.050027583, + 0.029951038, + 0.0070463927, + -0.025618253, + 0.017472595, + 0.03288991, + 0.04489924, + 0.0006880925, + -0.00829647, + 0.007429012, + -0.020770872, + -0.0029959676, + -0.0171195, + -0.026636494, + 0.0647125, + -0.013500983, + -0.06182151, + 0.07722093, + -0.07958187, + -0.010568395, + 0.022783658, + 0.016427303, + -0.05112851, + -0.02215468, + -0.043449387, + -0.008860912, + 0.008097936, + 0.038188595, + 0.05218604, + 0.06019831, + 0.019078044, + 0.0031541865, + -0.03193389, + 0.003294564, + 0.024489539, + -0.011483252, + 0.013666577, + -0.023157913, + -0.04546903, + -0.029124392, + -0.008876141, + 0.00157608, + -0.033190392, + 0.014702963, + -0.0023385722, + -0.024165362, + -0.032732185, + -0.027977979, + -0.019621424, + 0.045193832, + -0.0066845207, + 0.016771823, + 0.006026171, + -0.023342283, + -0.034494184, + 0.076388285, + -0.09030908, + -0.004581935, + -0.028301591, + 0.040470924, + 0.0101503115, + -0.058802433, + -0.03898591, + -0.011135107, + -0.047846057, + 0.007039959, + -0.0028059722, + 0.0014811151, + -0.005268617, + 0.059088264, + -0.02651799, + -0.030995635, + 0.07574708, + 0.0067913425, + -0.045392603, + 0.017479789, + -0.07564365, + -0.012299305, + 0.0078645, + 0.008740561, + -0.04361761, + 0.040293347, + -0.027758757, + 0.022427328, + -0.022000507, + -0.021200093, + -0.000121845886, + 0.01805242, + -0.049870133, + 0.03706875, + -0.010291919, + 0.08585068, + 0.011672056, + 0.0014161795, + 0.02536828, + 0.0044869403, + 0.050235413, + 0.0018366536, + -0.02754555, + -0.06825841, + -0.043000795, + -0.059567712, + 0.002904662, + 0.042545207, + -0.032576878, + 0.057299566, + 0.043175284, + 0.028748434, + -0.00543449, + -0.00025704593, + 0.03473621, + 0.03872282, + -0.003901756, + -0.019721981, + 0.010627557, + 0.014499255, + 0.033736926, + 0.066880815, + 0.06467408, + 0.00734323, + -0.010949544, + 0.010963275, + 0.025154036, + -0.012786789, + -0.017783979, + -0.052390054, + -0.0057181227, + -0.031228447, + -0.018697383, + -0.009545813, + 0.045333542, + -0.008834559, + -0.008224022, + 0.033103716, + -0.016556952, + -0.06088535, + -0.016215818, + -0.0013588931, + 0.018624093, + -0.008326706, + 0.023946498, + 0.020506185, + 0.008002919, + 0.03962442, + 0.014004344, + -0.034319405, + 0.012152626, + 0.026344841, + -0.0614798, + -0.0091167865, + 0.028198292, + 0.015608512, + 0.0011624986, + 0.025017874, + -0.027782222, + -0.007878717, + -0.002616051, + -0.017441375, + -0.026386663, + 0.04406618, + -0.0000064822066, + -0.036775675, + 0.011030314, + 0.0020988332, + -0.0038958127, + -0.07752911, + 0.04063556, + 0.017566506, + 0.078255415, + 0.019117182, + -0.025341762, + -0.022621011, + 0.017182812, + -0.03662157, + -0.039834574, + -0.019437607, + 0.0066467132, + 0.018687874, + 0.07956555, + -0.017518813, + 0.06532228, + -0.00010802788, + 0.06441065, + 0.001225543, + -0.006807483, + 0.017473744, + 0.010096164, + 0.019093856, + -0.0055995234, + -0.031250417, + -0.035370205, + -0.0065000504, + 0.054485608, + 0.06934797, + -0.055600908, + 0.029907638, + -0.0060202917, + -0.015749749, + -0.030711817, + 0.013208553, + -0.01444936, + -0.022933073, + -0.059117135, + 0.0011438228, + -0.094786674, + -0.034829713, + -0.028865008, + -0.060389116, + -0.022855127, + -0.05821129, + -0.00387631, + 0.025243727, + 0.04699033, + 0.033582643, + 0.050283324, + 0.05449403, + -0.0048387926, + 0.061327893, + -0.008440289, + -0.014033395, + 0.00754224, + 0.016543679, + -0.001897955, + 0.027302127, + -0.02858942, + 0.11066311, + 0.054317217, + 0.028142834, + -0.015709324, + 0.015345836, + 0.032983005, + -0.05980477, + -0.06857113, + -0.029181095, + 0.011641176 + ] + }, + { + "id": "guard_app_onboarding.txt-9", + "document": "guard_app_onboarding.txt", + "section": "5000 automatically — so on a physical phone this just works, as long as", + "text": "5000 automatically — so on a physical phone this just works, as long as\nboth devices share the same network.\nThe default backend port is 5000, and it works out of the box on\nWindows/WSL with no extra configuration.\nONLY FOR MAC USERS\nOn macOS, AirPlay Receiver often occupies port 5000, so the backend is\ncommonly run on 5001. When your backend is not on 5000, point the app at\nit by creating a guard_app/.env file:\nEXPO_PUBLIC_API_BASE_URL=http://192.168.x.x:5001\nUse your computer’s LAN IP here, not localhost, when testing on a\nphysical phone. Do not include /api/v1 — the app appends it\nautomatically. Restart the Expo dev server after changing .env.", + "embedding": [ + 0.039183676, + 0.05866142, + -0.1914296, + -0.004861786, + 0.03190457, + -0.0048879795, + 0.052728385, + 0.015166957, + 0.009129256, + -0.031461194, + -0.038724553, + 0.014343111, + -0.0058603548, + 0.023778861, + 0.034470472, + -0.05098546, + 0.005672537, + -0.037878096, + 0.052609175, + -0.010285106, + 0.0013249189, + -0.0769872, + -0.06381823, + -0.032150168, + 0.070159055, + 0.008591464, + 0.020063909, + 0.04079327, + -0.057199784, + -0.010787032, + 0.059830796, + -0.045221455, + 0.020859081, + -0.00588268, + -0.061292816, + -0.044344697, + -0.037622873, + -0.0349152, + -0.019087676, + 0.067086734, + 0.017983321, + -0.06920593, + 0.018086534, + -0.0030496384, + 0.046224024, + -0.008638966, + 0.044668317, + 0.015918802, + 0.070839494, + -0.09017853, + 0.0072623435, + 0.046577208, + -0.022038097, + 0.027734026, + -0.0009587203, + 0.006270428, + -0.037144225, + 0.031467147, + 0.011142092, + 0.028085673, + 0.058000248, + 0.044804513, + 0.0015366814, + 0.06558097, + 0.026192652, + 0.043068193, + -0.026238762, + 0.018827258, + -0.034824464, + -0.021351205, + -0.00968377, + -0.055900984, + -0.024956794, + -0.000010188632, + 0.017092008, + 0.015043388, + 0.00030405092, + -0.047139905, + -0.024904823, + 0.05894579, + 0.020894293, + 0.0018635951, + 0.08021238, + -0.024291338, + 0.059367687, + -0.033975285, + -0.004736879, + -0.002741187, + -0.06813389, + 0.060542926, + 0.027136078, + 0.030192537, + 0.022164837, + 0.0508522, + -0.052310385, + -0.00636325, + 0.0160695, + 0.05730244, + -0.02283062, + -0.034092028, + 0.0040667234, + 0.04198972, + -0.038147554, + -0.00392632, + -0.00049406, + 0.049547642, + 0.021950748, + 0.025040831, + -0.00034694115, + 0.0025982652, + 0.004140306, + -0.0075140223, + -0.019202521, + -0.008006806, + -0.014093051, + -0.009590134, + 0.06734431, + -0.030965166, + 0.054947414, + 0.03681618, + -0.049710747, + -0.0706669, + -0.006736305, + 0.034115527, + 0.0393277, + 0.023965068, + -0.015225462, + 0.014382386, + -0.015827872, + -0.071635656, + -0.0090228785, + -0.050856993, + -0.01937803, + -0.0015863458, + 0.03410559, + 0.004242681, + -0.04856316, + -0.0330245, + 0.0015196725, + 0.033646084, + -0.020478487, + 0.062498465, + 0.01556902, + -0.012802943, + -0.00007143501, + -0.0007741462, + 0.013608556, + -0.056276157, + 0.019201411, + 0.004152546, + 0.010232732, + -0.0025899287, + 0.005233424, + 0.044132173, + 0.028746247, + -0.051353898, + -0.007133675, + 0.02295105, + 0.06347773, + 0.048923418, + 0.05845369, + 0.013054668, + -0.035195798, + 0.042440195, + -0.030545337, + -0.055211283, + -0.053835083, + 0.06714206, + 0.004820364, + 0.03606987, + -0.060230818, + -0.02218484, + -0.0038941256, + -0.0010793338, + -0.0030960292, + 0.013992867, + 0.015718495, + -0.06741133, + -0.011322605, + -0.020926768, + 0.05740296, + -0.039885487, + -0.027091647, + 0.028672373, + -0.018371535, + 0.03582262, + 0.007820143, + -0.06879716, + -0.02892236, + -0.021486111, + 0.03803842, + 0.0023670879, + -0.0944453, + -0.029218035, + -0.058905415, + -0.007652184, + 0.031943753, + 0.013597928, + 0.02374976, + 0.016013846, + -0.031921446, + 0.01862177, + 0.007521543, + 0.054564558, + -0.078845955, + 0.0007291704, + 0.016795121, + -0.0062580286, + 0.022932658, + -0.020796705, + 0.045521375, + -0.0022231145, + -0.019960757, + -0.032207083, + 0.0106818685, + 0.031259406, + -0.020248892, + -0.06733507, + -0.003970505, + 0.019976238, + 0.01959656, + -0.015512297, + 0.028662402, + -0.040687073, + 0.02227597, + -0.038588244, + -0.0621109, + -0.010182526, + -0.010318052, + -0.0065239016, + 0.029640513, + -0.032969113, + 0.018303327, + 0.055388976, + -0.0062451814, + 0.0053366804, + -0.01761921, + 0.05255301, + -0.037063405, + 0.011914925, + 0.02581309, + 0.008192636, + -0.0015273959, + 0.036792893, + -0.062364288, + 0.0089839185, + -0.05352565, + -0.037840188, + 0.026215442, + 0.039956897, + -0.008696817, + 0.052385565, + 0.0792688, + -0.0011080068, + 0.015999781, + -0.0382388, + -0.019297874, + -0.0033005287, + 0.013929393, + -0.05812478, + -0.06323364, + -0.04669139, + 0.0834956, + -0.05266766, + -0.0019750346, + -0.010671103, + 0.020131344, + 0.004464462, + 0.029656969, + -0.042394683, + 0.040004913, + 0.06667801, + -0.0015020687, + 0.024586426, + 0.017063107, + -0.0013153631, + 0.009269465, + -0.03232394, + 0.0006873853, + 0.025667379, + -0.035484787, + -0.092582576, + -0.02326822, + -0.0003189515, + 0.006111972, + -0.001097324, + 0.01051511, + -0.01718604, + 0.034935348, + -0.01756135, + 0.021366786, + -0.019313455, + 0.0006868482, + 0.00034980816, + 0.027504925, + -0.009784436, + 0.06699622, + -0.034508917, + -0.049798105, + -0.04735617, + 0.0053620473, + -0.011605129, + 0.07683897, + 0.06344957, + -0.031126814, + -0.023343038, + 0.02554171, + 0.013801669, + 0.01083285, + -0.020571964, + -0.025034947, + 0.019841002, + -0.04817584, + 0.019851137, + -0.04479229, + 0.0076592215, + 0.054648384, + 0.034553915, + 0.006952852, + 0.020185731, + -0.013058038, + -0.028639693, + -0.0028891033, + -0.051462434, + -0.0018515028, + 0.044745903, + 0.040918, + 0.07477284, + -0.005104188, + -0.009503283, + 0.050277624, + 0.04276556, + 0.022533488, + -0.030390587, + -0.006920217, + 0.004435772, + -0.01202777, + 0.024718173, + -0.024886124, + 0.084956355, + -0.00055378606, + -0.016292928, + -0.023654448, + -0.07344623, + -0.0003315222, + -0.013890246, + -0.035551492, + 0.005732168, + 0.021958778, + 0.04038004, + -0.013862262, + 0.027164003, + -0.011133737, + -0.002757572, + -0.011738864, + -0.034865048, + 0.0060619656, + 0.018271789, + -0.032542527, + 0.03523078, + 0.072421506, + 0.05700316, + 0.055243347, + -0.058342457, + 0.038013145, + -0.01021957, + -0.043003716, + -0.0008759284, + 0.012272031, + 0.022574967, + 0.0012419923, + -0.017247101, + 0.035052706, + 0.026908636, + -0.03359385, + -0.0082430085, + -0.06294109, + -0.04669419, + 0.034743708, + 0.038211767, + 0.051101595, + -0.012664273, + 0.019230582, + -0.013611144, + 0.022339944, + -0.039326847, + 0.013703542, + -0.03814561, + 0.018984286, + 0.039445225, + 0.025254091, + -0.031323243, + 0.0017473397, + -0.019407341, + 0.024050176, + -0.027456786, + 0.054200258, + -0.025714636, + 0.016245285, + 0.015693892, + -0.025651572, + -0.02327112, + 0.03413425, + 0.011176578, + 0.009514813, + 0.044408076, + -0.024147732, + -0.0103095565, + 0.03406724, + 0.014327922, + 0.01941108, + 0.045689598, + 0.043351054, + -0.07106416, + 0.0266734, + -0.00032372074, + 0.0709327, + -0.0021128056, + -0.046706446, + -0.019837728, + 0.020404298, + 0.024240522, + -0.016114812, + -0.036391504, + -0.005891661, + 0.06412408, + -0.005113757, + 0.03813728, + -0.0018026461, + -0.060762346, + -0.016802547, + 0.021767557, + 0.01803494, + -0.043957118, + -0.022968622, + 0.025900012, + 0.019488208, + 0.026232505, + 0.01823533, + 0.010483687, + 0.035814915, + -0.0051356424, + -0.041775778, + -0.009587145, + 0.038501497, + 0.102743156, + 0.059507247, + -0.034747317, + -0.030015903, + 0.045732092, + 0.024508858, + -0.011508891, + 0.013645119, + 0.014220324, + 0.029642787, + -0.024506964, + 0.036527056, + 0.015625892, + 0.031621635, + -0.0100714825, + -0.039598268, + 0.038837444, + -0.054193653, + 0.032695275, + 0.03751517, + 0.018828703, + 0.014788465, + -0.016779417, + 0.007994335, + 0.050083358, + -0.03962086, + -0.06910037, + 0.040195353, + 0.03511173, + -0.019188635, + 0.004259211, + 0.009390752, + 0.021402456, + -0.018276274, + 0.014693241, + 0.02781653, + -0.014723197, + -0.07734261, + -0.044388644, + -0.01018402, + 0.07425844, + -0.0004039668, + -0.04300118, + -0.01962716, + -0.0140835745, + 0.022868935, + -0.0408648, + -0.044972036, + 0.024568826, + -0.023037158, + -0.014054292, + -0.0651399, + -0.029642032, + 0.02433277, + -0.025233733, + 0.035959285, + 0.046512477, + 0.0029202334, + 0.014857361, + 0.0056263623, + -0.03854691, + -0.03565915, + -0.009106611, + -0.03630743, + 0.0034234684, + -0.033553302, + -0.018031932, + 0.016221613, + 0.009629596, + 0.02509565, + -0.034806192, + 0.018108344, + -0.0076742903, + -0.045897078, + 0.0071046245, + 0.044982243, + -0.06981657, + 0.0012621919, + -0.015248964, + -0.11289209, + 0.019338273, + 0.00831144, + -0.025990348, + 0.0041651907, + -0.034333423, + -0.0064654686, + 0.023353245, + -0.016900586, + -0.035952926, + 0.0029378338, + 0.033698577, + -0.017465767, + -0.000040569892, + 0.016267538, + 0.007600597, + -0.020442763, + 0.013127913, + 0.02865138, + -0.015420983, + 0.014473801, + -0.019037366, + -0.003340122, + 0.069248766, + -0.0049772593, + -0.0744202, + 0.06089976, + -0.055292804, + 0.022080004, + 0.01052661, + 0.013292388, + -0.023509573, + -0.008901093, + -0.032309532, + -0.018380191, + -0.016730223, + 0.023056198, + 0.023397565, + 0.079978496, + -0.0014167541, + 0.01339875, + -0.05673097, + 0.016446328, + 0.02540277, + -0.023333931, + 0.018965729, + -0.040420484, + -0.02693877, + -0.028026385, + -0.032131102, + 0.021947771, + -0.009097886, + 0.031781785, + -0.008562861, + -0.03332645, + -0.025802277, + -0.016293874, + -0.022547713, + 0.041497324, + 0.015947638, + 0.0169727, + -0.006033571, + -0.046525043, + -0.021628404, + 0.060668427, + -0.084225126, + -0.014270291, + -0.023865107, + 0.04363471, + 0.011276432, + -0.044815112, + -0.024482362, + -0.0045888186, + -0.026878318, + -0.010635644, + -0.056197386, + 0.041538708, + 0.021151476, + 0.016350195, + -0.047439516, + -0.0105762025, + 0.045138042, + 0.0066355052, + -0.0498349, + 0.012784983, + -0.060446683, + 0.023027077, + -0.017349614, + 0.005065783, + -0.041989874, + 0.02646095, + -0.014784513, + 0.048207294, + -0.00970515, + 0.0031867125, + 0.007459177, + 0.008002794, + -0.086398184, + 0.048870325, + 0.003667426, + 0.033786878, + -0.038548432, + 0.027191043, + -0.008920113, + 0.047617804, + 0.035570033, + -0.01721596, + -0.012031929, + -0.10971769, + -0.06450629, + -0.048599232, + 0.028956398, + 0.011243365, + -0.013833058, + 0.046641387, + 0.022432411, + 0.040526554, + 0.005501533, + 0.03198264, + 0.034448538, + 0.039810542, + -0.034077134, + -0.029808553, + 0.027798878, + -0.010194163, + 0.022483721, + 0.04688574, + 0.0594551, + 0.025572717, + 0.01418425, + 0.008382076, + 0.000890358, + 0.012672798, + -0.04565886, + -0.04569481, + 0.014210749, + 0.039163087, + -0.0024118007, + -0.03820799, + 0.04453318, + 0.013261937, + -0.00022121434, + -0.0064880583, + -0.007109888, + -0.013431149, + -0.052087173, + 0.01836064, + 0.029020818, + -0.040765483, + 0.001365008, + 0.03965219, + 0.004776695, + 0.029615428, + 0.007081583, + -0.06415463, + 0.026784156, + 0.066241436, + 0.004242289, + 0.00006730943, + 0.030102953, + -0.003968045, + -0.08531835, + -0.017838025, + -0.0074387477, + -0.0013439072, + 0.00016105185, + -0.0064843376, + -0.045957085, + 0.008224697, + 0.021086497, + 0.0014058895, + 0.028180502, + 0.020144403, + -0.027288139, + -0.049892038, + 0.048525084, + 0.022034073, + 0.076957665, + 0.033739932, + 0.0044839834, + -0.0513874, + 0.020797133, + -0.040285397, + -0.035383247, + -0.052170135, + -0.017895678, + -0.008576555, + 0.045969788, + -0.021858582, + 0.051956084, + 0.007965209, + 0.06830506, + -0.009865575, + -0.035227295, + -0.009377082, + -0.0042070616, + 0.024739496, + -0.009167956, + -0.034462914, + 0.001561964, + 0.03987308, + 0.04484397, + 0.031338662, + -0.046114277, + 0.039980225, + 0.019335663, + -0.00814451, + -0.015006107, + 0.006586513, + -0.004078648, + -0.0068524284, + -0.061636843, + -0.023683976, + -0.024037024, + -0.0715393, + -0.051165104, + -0.080204494, + -0.016893622, + -0.05235553, + 0.020987295, + -0.0022171286, + 0.049610097, + 0.004171132, + 0.07765743, + 0.006076713, + -0.014542644, + 0.036568478, + -0.009919181, + -0.040930934, + 0.027957577, + -0.0060477154, + 0.003186397, + 0.043058883, + -0.022010135, + 0.12404073, + -0.010730825, + 0.020246638, + -0.04252464, + 0.06458496, + 0.011609257, + -0.015508539, + -0.07270365, + -0.02099971, + -0.012788541 + ] + }, + { + "id": "guard_app_onboarding.txt-10", + "document": "guard_app_onboarding.txt", + "section": "5.4 First run — sign up and get approved", + "text": "5.4 First run — sign up and get approved\nOn first launch the app may open straight onto the dashboard showing\n“Welcome back, Guard!” — this is a left-over session from a\nprevious/seeded login. To create your own account, sign out first.\n1. Open Settings and tap Log out. You’ll land on the Sign Up screen.\n2. Fill in Email, Full Name, Password, and Confirm Password.\n3. Tap Upload your security license and attach a photo (for testing,\nany image works).\n4. Tap Sign Up.\n5. Your account isn’t active yet — ask your team leader / supervisor to\napprove your request. Once approved, log in and you’ll reach the\ndashboard.\nAfter approval, logging in with your own account shows your dashboard.\nAlready have an account? On the Sign Up screen, tap Login at the bottom\ninstead.\n6. Repository structure\nSecureShift/ ├─ docker-compose.yml # backend + mongo + employer panel ├─\napp-backend/ # Express API │ ├─ server.js app.js │ └─ src/ routes\ncontrollers services models config(swagger) middleware ├─\napp-frontend/employer-panel/ # React web (admin/employer) └─ guard_app/", + "embedding": [ + -0.015179799, + 0.02566693, + -0.15921696, + 0.0061389618, + 0.044260252, + -0.07131988, + 0.06633561, + 0.0060198857, + 0.038115885, + -0.060425308, + -0.054537795, + 0.021737758, + 0.038423907, + 0.04079785, + 0.034033466, + 0.011286683, + 0.08020309, + -0.066346034, + -0.010304357, + -0.029220728, + -0.020439519, + -0.10578355, + -0.042465094, + 0.00956993, + 0.06342408, + 0.04148658, + 0.016497217, + -0.01649626, + -0.015265289, + 0.01938055, + 0.062432796, + 0.028329553, + 0.02350168, + 0.024495857, + 0.030532321, + -0.0626547, + -0.041840162, + -0.013622001, + -0.056787983, + 0.007872607, + 0.021041831, + 0.0053526917, + -0.006800519, + -0.01660996, + 0.032109987, + -0.010886768, + 0.08904354, + -0.010362003, + 0.08856812, + -0.0660732, + -0.033128478, + 0.014489274, + -0.038979452, + -0.03286267, + 0.0025145533, + 0.024871798, + -0.016802084, + 0.023586877, + -0.0013586576, + -0.07055116, + 0.11335018, + 0.038819205, + -0.009159755, + 0.08950521, + 0.027607428, + 0.020331375, + -0.012760827, + 0.07833268, + 0.039935045, + -0.0018000006, + 0.02766113, + 0.010223231, + 0.014742764, + -0.008433821, + 0.030360453, + 0.00016010448, + 0.003397058, + -0.046286106, + -0.022632759, + -0.01853216, + 0.063119635, + -0.023646144, + 0.04678354, + 0.0073062596, + 0.013607011, + -0.04023833, + -0.021277713, + -0.038737282, + -0.05798017, + 0.0608411, + 0.014169502, + 0.016165687, + -0.021970352, + 0.048255116, + -0.053837303, + 0.015580823, + 0.0147780925, + 0.0030335593, + -0.039916005, + -0.04043225, + -0.01070825, + -0.065968245, + -0.070742965, + 0.0076008993, + 0.031011349, + 0.03372267, + -0.023477832, + -0.012353545, + 0.031315308, + -0.0031336227, + -0.054918777, + 0.015824515, + 0.012696077, + 0.010801712, + 0.0076595857, + 0.011391349, + 0.05825698, + -0.023057468, + 0.037546318, + 0.05653527, + -0.0139043955, + 0.021386178, + -0.0052543245, + 0.013664113, + 0.020359168, + 0.017612286, + 0.0006309097, + -0.01899051, + 0.01992923, + -0.037584525, + 0.015603077, + -0.030159341, + -0.087333396, + 0.0013691516, + 0.017536404, + 0.048524067, + -0.04675278, + -0.021457346, + -0.016410407, + -0.016556537, + -0.028414905, + 0.018401518, + -0.027141625, + 0.0011361118, + 0.019345412, + -0.038872465, + 0.02376649, + -0.0343453, + -0.016237479, + 0.02149969, + -0.014777429, + -0.01619874, + -0.011358609, + 0.011137655, + 0.020933224, + -0.04237293, + -0.010079132, + 0.015192567, + 0.058350693, + 0.0714446, + 0.073051184, + -0.038476944, + -0.055073045, + 0.08540186, + 0.00258455, + -0.050723728, + -0.02726579, + 0.03849829, + 0.00311327, + -0.013534733, + -0.022032343, + -0.04911391, + -0.038769223, + -0.017734751, + -0.014512907, + 0.004622372, + 0.01434365, + -0.039849646, + 0.064353496, + -0.024286043, + 0.09753569, + -0.06215956, + 0.024009343, + 0.028306432, + -0.016977802, + -0.004180244, + 0.053023316, + -0.0474246, + -0.0076716067, + -0.0516473, + 0.06819754, + 0.0027362446, + -0.0795372, + -0.025041701, + -0.04622044, + -0.0038867914, + 0.022484172, + 0.015326087, + -0.01490036, + -0.028953323, + -0.025439993, + 0.007241437, + -0.022817623, + 0.0016572528, + -0.05179509, + 0.026608894, + 0.020189116, + -0.014238061, + -0.01489451, + -0.012814496, + 0.054341447, + -0.029520663, + -0.052365582, + -0.052388668, + 0.052924808, + 0.016650593, + 0.06016305, + -0.037701678, + -0.003579055, + 0.0022749852, + 0.032087114, + -0.023064248, + 0.01174079, + -0.045639325, + 0.0034105561, + -0.020434644, + -0.065938935, + -0.0009895966, + -0.013852979, + -0.01259644, + -0.0022035546, + -0.023602698, + 0.021388834, + 0.0076514278, + 0.010219045, + 0.0049356874, + -0.028736738, + 0.026669627, + 0.01109414, + -0.014534919, + 0.032071088, + 0.016482398, + 0.034344662, + 0.03745558, + -0.053754035, + 0.030868592, + 0.017306555, + -0.039476216, + 0.01814705, + 0.04378423, + 0.025065359, + 0.01274677, + 0.03723452, + -0.042002354, + 0.0138885975, + -0.050263125, + -0.06659283, + -0.0028527516, + 0.010731421, + -0.041952718, + 0.019962197, + -0.04561927, + 0.022122957, + -0.0030159059, + 0.0051266165, + -0.050397705, + -0.033385016, + -0.014862802, + 0.04709765, + -0.053483598, + 0.0069032786, + 0.06621542, + 0.0050690644, + 0.06891651, + 0.014049655, + -0.009840427, + -0.0041145314, + 0.023566393, + -0.007425094, + 0.0619948, + -0.05260586, + -0.051585007, + -0.023600217, + 0.015010285, + -0.014280724, + 0.01959001, + 0.050812416, + -0.008155045, + 0.03895437, + -0.018931763, + 0.059737943, + -0.005001391, + -0.03292702, + 0.058281116, + -0.037273984, + -0.0056089894, + 0.03556422, + -0.02494766, + -0.012941767, + -0.029369246, + 0.0060263122, + 0.020441102, + 0.057482496, + 0.026434952, + -0.028500129, + -0.050090425, + 0.0154534355, + 0.013608593, + 0.014130585, + 0.039804902, + -0.027917724, + 0.0019722912, + -0.06220856, + 0.025606986, + -0.029813927, + 0.043773796, + -0.012464759, + 0.067109995, + 0.038706247, + -0.056144856, + -0.03630256, + -0.042517766, + -0.044915564, + -0.014315804, + 0.0041617197, + 0.03393628, + -0.051498227, + 0.025582582, + -0.025883943, + -0.047117405, + 0.051316466, + 0.056344237, + 0.022316068, + -0.035080466, + 0.0014262391, + -0.015385462, + 0.036060043, + 0.018153382, + -0.026853045, + 0.019645715, + 0.043491952, + -0.08215775, + -0.008626967, + -0.046194274, + -0.038152516, + -0.07088758, + 0.0048567187, + 0.0002738471, + 0.058108784, + 0.06301054, + -0.06754487, + 0.026908673, + -0.0266734, + -0.008543345, + 0.011958092, + -0.053544566, + 0.014404912, + 0.09421566, + 0.02592, + 0.023079561, + 0.028904043, + 0.00087368075, + 0.032229677, + -0.023099486, + 0.0131881405, + 0.022586472, + 0.021911267, + -0.01688191, + 0.052968107, + -0.00045111854, + -0.012633966, + -0.063301995, + 0.021615094, + 0.043304365, + 0.030301688, + 0.007243597, + -0.099739514, + -0.005599384, + 0.025857437, + -0.0003613696, + 0.006778367, + 0.003001342, + 0.015147024, + 0.008688191, + 0.010025465, + -0.0004854773, + 0.004313349, + 0.010103604, + 0.025932744, + 0.027674409, + 0.013054588, + -0.04012261, + -0.039708644, + 0.012985225, + 0.058669098, + -0.017102562, + 0.07122556, + -0.013726109, + 0.004195266, + 0.03024085, + -0.068076685, + -0.008832025, + -0.017791457, + 0.017448924, + 0.011583859, + 0.031234602, + -0.0159397, + -0.0061821654, + 0.06318342, + -0.013941117, + 0.043592628, + 0.011116554, + -0.0023796852, + -0.011942425, + 0.011135528, + -0.02448424, + 0.05960204, + 0.0017879618, + -0.049757984, + -0.063853405, + 0.02016632, + 0.021472553, + 0.043158058, + 0.032260444, + -0.010342494, + 0.044613503, + 0.0016322542, + 0.03793777, + -0.02259059, + -0.06691973, + 0.027615674, + 0.014869731, + 0.049096465, + -0.025623165, + -0.07586571, + -0.01531701, + 0.032356914, + -0.0022165983, + 0.013841123, + 0.040371228, + 0.015360907, + -0.006023407, + -0.009402154, + -0.0021332914, + 0.041534454, + 0.076926954, + 0.040130317, + -0.0059411908, + 0.00042621873, + 0.023786291, + 0.02236928, + 0.021556437, + 0.059500933, + 0.045000374, + 0.07391413, + 0.0025459053, + 0.01498799, + 0.02065202, + -0.0072020898, + 0.006481817, + 0.028144445, + 0.033676717, + -0.023318298, + 0.02751213, + 0.018251108, + -0.0029680477, + 0.056709595, + 0.0046338276, + 0.049793005, + 0.07150897, + -0.04509102, + -0.012996496, + 0.020349948, + -0.031005023, + -0.015606826, + -0.0034531509, + 0.024119841, + 0.0212597, + 0.023288444, + 0.03562871, + 0.010596755, + 0.006112524, + -0.03381164, + -0.04514307, + 0.01573108, + -0.027435726, + 0.048066285, + -0.03209709, + 0.014939918, + 0.019027758, + 0.02343689, + 0.0005126419, + -0.015521013, + -0.017581822, + 0.020864978, + 0.034625962, + -0.04818936, + -0.017013097, + -0.009737902, + -0.03586524, + 0.009289673, + 0.056644265, + -0.016470304, + 0.015363997, + -0.016613103, + -0.062422384, + -0.027715629, + -0.057276383, + -0.0044378056, + -0.0075586005, + -0.029211005, + -0.01268787, + 0.0021357005, + 0.013025164, + 0.023818832, + -0.054398958, + 0.0019308449, + 0.0072632446, + -0.051203635, + 0.037990455, + -0.013549276, + -0.039421573, + 0.0006031996, + -0.053064723, + -0.082486786, + 0.054371923, + -0.003616317, + -0.0030248184, + 0.078910425, + 0.004739558, + -0.027350357, + 0.09549527, + -0.037662446, + -0.0015531615, + 0.033726156, + -0.0027618092, + -0.071776524, + 0.0052202786, + 0.034836687, + 0.029762782, + -0.03505157, + 0.018084098, + -0.007543466, + -0.04161536, + -0.022212774, + -0.00778574, + 0.0037030773, + 0.076177, + -0.05083866, + -0.030737972, + 0.027721649, + -0.060318604, + 0.030170735, + -0.022177262, + 0.009460272, + -0.010956316, + 0.0037859096, + -0.008668301, + -0.014391963, + -0.0025495554, + 0.015256623, + -0.00047256052, + 0.076082096, + -0.023735546, + -0.008294199, + -0.002074492, + -0.0019613418, + -0.010539702, + -0.0043834066, + 0.011051398, + 0.011601145, + -0.018810973, + 0.013642735, + -0.019648045, + -0.049211044, + -0.027637921, + 0.017244723, + 0.01823949, + -0.029202856, + -0.012855956, + 0.019954883, + 0.008079277, + 0.038670138, + 0.044978123, + -0.024730485, + -0.003265794, + -0.0403745, + -0.0617986, + -0.018688697, + -0.044438895, + -0.026706552, + -0.035526052, + 0.031667154, + 0.027443783, + -0.010169702, + 0.033950206, + -0.005111951, + -0.05399518, + -0.010022299, + -0.042666033, + -0.034851898, + -0.0055046035, + -0.0011884407, + 0.023291025, + 0.0060985438, + 0.011507886, + -0.007205457, + 0.00500882, + 0.017420596, + -0.029312305, + 0.0023852624, + -0.016479257, + 0.009800151, + -0.014430314, + 0.041145846, + 0.007339276, + 0.054876935, + 0.04513785, + 0.02153721, + -0.00547049, + -0.037198994, + -0.048082218, + 0.075715415, + -0.012308928, + 0.048115954, + -0.038729846, + 0.0058405236, + -0.029585859, + -0.041686304, + 0.054634627, + -0.0099599715, + -0.010261877, + -0.06842013, + -0.049249794, + -0.019957049, + 0.022912137, + 0.07626843, + -0.020262694, + 0.03418422, + 0.017094273, + 0.0405344, + 0.0018605493, + 0.012955186, + 0.01855295, + 0.03650238, + -0.0071541294, + -0.020353803, + 0.015837114, + 0.061149828, + -0.016926434, + 0.088194005, + 0.033504922, + -0.0003520703, + -0.0043370174, + 0.0545248, + 0.0276985, + 0.02201521, + -0.016054729, + -0.0576217, + -0.0061271004, + 0.055076297, + -0.0144707635, + -0.015549244, + -0.028591612, + 0.008502668, + 0.01692811, + -0.00052368076, + 0.036920413, + -0.063081056, + -0.03431132, + 0.01099842, + 0.05014748, + 0.011919983, + 0.007710188, + -0.004334405, + 0.013475653, + 0.06153599, + 0.012900995, + 0.030957984, + -0.00046993114, + -0.025769064, + -0.034350287, + -0.0031961522, + 0.022074502, + 0.0012541271, + -0.028489687, + 0.049218964, + -0.010479613, + -0.031929355, + -0.0038304033, + -0.042892847, + -0.01005864, + -0.029120222, + 0.0011955309, + -0.015270916, + 0.0010845477, + -0.012314217, + -0.051709432, + -0.053318143, + 0.012630941, + -0.019939277, + 0.04024417, + -0.03998051, + -0.00081513956, + -0.029633667, + -0.002119501, + 0.011470923, + -0.047416817, + -0.026426837, + -0.014477923, + -0.0218737, + 0.0047461656, + -0.029313419, + 0.0612236, + 0.0040340484, + 0.03523233, + -0.05070968, + -0.009462568, + 0.053802017, + -0.032085393, + 0.018512238, + -0.017722737, + -0.07105329, + -0.022906756, + 0.0076614884, + 0.013356156, + 0.0058282837, + -0.003966335, + 0.019193996, + -0.014175445, + -0.004405814, + -0.04066856, + -0.05455357, + 0.053859774, + -0.033478975, + -0.029053446, + -0.03281093, + -0.086190216, + -0.0321949, + -0.049449965, + -0.05860754, + -0.017759163, + -0.049956825, + -0.0059926836, + 0.014303106, + 0.020734122, + 0.005898285, + 0.05191246, + -0.0175511, + -0.009989024, + 0.07560048, + -0.039463025, + -0.033068772, + 0.01614455, + 0.00075779116, + 0.007792909, + 0.006579727, + 0.008019089, + 0.097830154, + 0.05162777, + 0.032367032, + 0.017931087, + 0.03173818, + -0.0082669305, + -0.047953784, + -0.105146214, + -0.0049851057, + 0.002299984 + ] + }, + { + "id": "guard_app_onboarding.txt-11", + "document": "guard_app_onboarding.txt", + "section": "# React Native + Expo (guards) └─ src/ screen components navigation api", + "text": "# React Native + Expo (guards) └─ src/ screen components navigation api\nlib(http) models theme i18n locales types utils\n7. Dev workflow & conventions\n- Branching: never commit to main directly. Create a feature branch\n(e.g. frontend/yourname-payroll-page), and open PRs into the team’s\nintegration branch — not main. PRs must be reviewed before merge.\n- Run tests before every PR: npm test in each package you touched\n(app-backend, guard_app, and app-frontend/employer-panel). Confirm\nthe app builds and ESLint passes.\n- Guard app scripts: npm run lint, npm run format, npm test (Jest).\nHusky runs hooks on commit.\n- Backend scripts: npm run dev, npm run lint, npm run format, npm test\n(Jest, runInBand).\n- Employer panel scripts: npm start, npm run build, npm test.\n- Env files: never commit .env. Copy from the .env.example files where\nprovided.\nYou’re set up — backend on :5000, Swagger at /api-docs, Guard App live\nin Expo Go. Happy building.", + "embedding": [ + -0.022467982, + 0.02796638, + -0.18365479, + -0.024657333, + 0.047064666, + -0.038763274, + 0.054354187, + -0.008576436, + -0.0068643726, + -0.096881844, + -0.0018666313, + 0.03298673, + 0.033972785, + 0.030431326, + -0.0010842998, + -0.027969602, + 0.07901429, + -0.03275541, + -0.027213834, + -0.039891403, + 0.017870134, + -0.05769926, + -0.0179699, + -0.022826232, + 0.10243359, + 0.061499886, + 0.024635872, + -0.019728461, + -0.036184374, + 0.021637838, + 0.023672784, + 0.009154513, + -0.014173443, + -0.034197986, + 0.016348222, + -0.043938298, + -0.02662078, + 0.00909716, + -0.05756515, + 0.027068606, + 0.04061459, + 0.021867082, + 0.010931964, + -0.06833538, + 0.021704905, + -0.03042175, + 0.07872737, + -0.02488399, + 0.08711487, + -0.07074725, + -0.015469593, + -0.0017022851, + -0.008385065, + -0.004954749, + 0.024967648, + 0.011370615, + -0.002715915, + 0.0743475, + 0.01969748, + -0.012888858, + 0.07216993, + 0.015323334, + 0.0063428725, + 0.049742565, + 0.037383772, + -0.020248245, + -0.032147072, + 0.07392124, + 0.010332727, + 0.016811034, + -0.034306806, + 0.010944061, + 0.0048768236, + -0.013086459, + -0.005471723, + -0.015715703, + 0.0094113285, + -0.056998722, + -0.06395126, + 0.055939987, + 0.05381371, + 0.013372437, + 0.05307566, + 0.048955455, + 0.028963981, + -0.03015676, + -0.028577352, + -0.043172967, + -0.10419769, + 0.06300283, + 0.022267668, + 0.008340137, + -0.0060082716, + 0.014629899, + -0.1163259, + 0.01646823, + -0.023109004, + 0.0003014291, + -0.017548092, + -0.029490829, + -0.01073797, + -0.03608353, + -0.019925665, + -0.014840702, + 0.017542219, + 0.006198337, + 0.012311935, + 0.03014162, + 0.019653218, + -0.03909038, + -0.0022534148, + 0.019930722, + -0.04054788, + -0.008253496, + 0.011333356, + 0.000056586137, + 0.05606056, + -0.019038951, + 0.033506036, + 0.058319498, + 0.0151542965, + 0.019690745, + -0.005897592, + 0.014383814, + 0.016659632, + 0.008986698, + -0.0047673294, + 0.01243887, + -0.0033431314, + -0.060129095, + 0.019965999, + -0.02476676, + -0.058913447, + -0.025700128, + 0.012447906, + 0.06837205, + -0.03717661, + -0.022213705, + 0.0017152964, + -0.018397715, + -0.028737297, + 0.03895241, + -0.036079537, + 0.025969889, + -0.009973838, + -0.056726016, + 0.018908676, + -0.024805875, + -0.01403671, + 0.02708687, + -0.01615778, + -0.0036415632, + -0.033890862, + 0.027319953, + 0.036668688, + -0.047480308, + -0.029766649, + -0.0035009207, + 0.027327327, + 0.030313421, + 0.052579045, + -0.0018221708, + -0.05901589, + 0.05105886, + -0.01372409, + -0.08876094, + -0.012799583, + 0.07054052, + 0.02965567, + 0.0033268055, + -0.05792844, + -0.024233358, + -0.014790905, + 0.0069766035, + 0.006057809, + 0.007862779, + 0.010223396, + -0.06766887, + 0.029945932, + -0.019172354, + 0.009262191, + -0.023454154, + -0.008638127, + 0.020513251, + -0.024957323, + 0.01670624, + 0.018418264, + -0.03672948, + -0.016960798, + -0.0531765, + 0.03521409, + 0.01853577, + -0.051533435, + -0.01741953, + -0.065746136, + -0.0074835652, + -0.023299191, + -0.028172355, + 0.013011751, + -0.0368263, + -0.04030479, + -0.004485261, + -0.026131703, + 0.01920164, + -0.045506425, + 0.026448065, + 0.0022308468, + 0.027947651, + -0.012646868, + 0.02540923, + 0.06025749, + 0.0076587074, + -0.040521316, + -0.06319031, + 0.052757133, + -0.013275165, + 0.030040784, + -0.061883762, + -0.0011444108, + 0.024896039, + 0.008066929, + -0.018931935, + 0.015231443, + -0.036979865, + 0.010671854, + -0.025812192, + -0.038879447, + -0.0028192473, + 0.0012268844, + 0.016559016, + -0.009528386, + -0.030587405, + -0.014105031, + 0.03054758, + 0.05422567, + 0.021036241, + -0.014655568, + 0.04641562, + -0.0036567887, + -0.06069528, + 0.037027396, + 0.010147975, + 0.033908628, + 0.009701689, + -0.043348737, + 0.042997297, + 0.03616482, + -0.015678056, + 0.006179385, + 0.06591524, + 0.004243916, + 0.03343337, + 0.027000837, + -0.0019073129, + 0.015082472, + -0.05698534, + -0.035610735, + -0.0067721913, + 0.03673341, + -0.058173172, + -0.011493119, + -0.035491403, + 0.044062912, + 0.02227131, + 0.026518939, + -0.020205151, + -0.033574864, + 0.011071255, + 0.017534556, + -0.015635239, + 0.009064338, + 0.051064774, + -0.019490005, + 0.033466294, + -0.011986204, + -0.0061178445, + 0.011838355, + -0.003632975, + -0.0378543, + 0.042302843, + -0.022161461, + -0.08266823, + -0.00058459525, + -0.024600323, + -0.0075437324, + 0.011825376, + 0.018373303, + -0.02382642, + 0.007769014, + -0.011150779, + 0.014020203, + -0.032776795, + -0.0015763902, + 0.028300192, + -0.0067183315, + -0.023265801, + 0.010217155, + -0.012394692, + 0.023541166, + -0.030783454, + -0.0005885091, + 0.0129638435, + 0.028956292, + 0.07171955, + -0.012241406, + -0.041832153, + 0.022935847, + -0.004961399, + 0.016516339, + 0.0027903323, + -0.047939535, + -0.020487797, + -0.05062131, + 0.015016677, + -0.05894337, + 0.038781725, + 0.035426494, + 0.047806244, + 0.04682441, + -0.019784616, + -0.040233217, + -0.07827691, + -0.0031568205, + -0.021744352, + -0.04105986, + 0.10239343, + -0.01994279, + 0.05096773, + 0.00006990337, + -0.051710613, + 0.060263995, + 0.058050882, + 0.013930745, + -0.02112949, + 0.033433665, + 0.010765421, + 0.008228812, + 0.015806198, + -0.018013544, + 0.004957745, + 0.037278093, + -0.05474608, + 0.03070809, + -0.04328344, + 0.008869303, + -0.053692415, + -0.03053274, + -0.053011622, + 0.011699434, + 0.056558188, + -0.009321022, + 0.022060204, + -0.029941348, + -0.0022198828, + -0.011301582, + -0.010319263, + 0.014845149, + 0.03695367, + 0.013537734, + 0.027528463, + 0.035526384, + 0.020854983, + 0.023766961, + 0.0016581938, + 0.017066918, + -0.019332264, + 0.03456212, + 0.046394307, + 0.03872739, + -0.008444894, + 0.014609369, + -0.015624478, + 0.030796038, + 0.04059605, + 0.016900524, + 0.020643594, + -0.12579596, + 0.038505845, + 0.005590556, + 0.029208137, + 0.04679035, + -0.01868614, + -0.0052986406, + 0.0023759115, + 0.027698413, + -0.029453142, + 0.03947419, + 0.022110052, + 0.0013861073, + 0.032349344, + 0.009347481, + -0.03644496, + -0.041319925, + 0.037255354, + 0.019387707, + -0.06740767, + 0.054136492, + 0.032170795, + -0.036396634, + 0.05034573, + -0.07694526, + -0.035318576, + -0.0038607374, + -0.003888807, + 0.03034413, + 0.003064979, + -0.052797712, + -0.0094217975, + 0.017602067, + -0.0034393584, + 0.045774203, + 0.040418614, + 0.018502474, + -0.025433075, + 0.022646993, + -0.033508204, + 0.058904093, + -0.00000992222, + -0.04657284, + -0.040551905, + 0.022876767, + 0.032991644, + 0.04340905, + 0.01766705, + 0.03520931, + 0.029637735, + 0.03427969, + 0.035345875, + 0.012004125, + -0.065942414, + -0.021377556, + 0.012513751, + 0.047888283, + -0.047630332, + -0.010412029, + -0.029398821, + -0.0061420095, + 0.03106265, + 0.0041323155, + 0.022836862, + -0.0044361725, + -0.008826953, + -0.017218757, + -0.021475863, + 0.044139605, + 0.095410116, + 0.057483148, + -0.007357604, + -0.015028545, + 0.027927004, + 0.01923031, + 0.021232728, + 0.021786468, + 0.026156442, + 0.092561156, + -0.008243932, + 0.03148333, + 0.015910788, + -0.018111615, + 0.020995464, + 0.02334184, + 0.016256208, + -0.098627076, + 0.0040985337, + 0.055056866, + 0.029408569, + 0.015296953, + -0.023936661, + 0.036060702, + 0.025517007, + -0.028631981, + -0.062622406, + 0.04936955, + -0.036045704, + -0.01650568, + 0.011612729, + 0.03373789, + 0.023903996, + 0.038877137, + 0.020000117, + -0.011065666, + -0.011612826, + -0.06859085, + -0.043065988, + 0.0321905, + -0.011948937, + 0.0046714824, + -0.0386186, + 0.010513491, + -0.028375452, + 0.024252694, + -0.001906168, + -0.029416364, + 0.024867568, + 0.0072586313, + 0.001763411, + -0.018447533, + 0.010221778, + 0.027298009, + 0.009262344, + 0.027725013, + 0.03655796, + 0.008056826, + 0.022393215, + 0.018834554, + -0.03178271, + -0.01917288, + -0.0333004, + -0.062355842, + 0.005106445, + 0.036835335, + 0.036449745, + 0.019375589, + 0.017148837, + 0.012392174, + -0.0495033, + 0.0093102325, + -0.048438013, + -0.081920035, + 0.0025034884, + -0.011969712, + -0.06636304, + 0.023490783, + -0.04205157, + -0.048061416, + 0.037460275, + -0.0077103013, + -0.035509057, + 0.043406326, + 0.0058169332, + -0.050841898, + 0.0068139415, + -0.032274894, + 0.00019588457, + 0.04424898, + 0.01107781, + -0.06269331, + 0.031199606, + 0.05504707, + -0.0002418284, + -0.03507172, + 0.008274169, + 0.016934853, + -0.02783598, + -0.018133685, + -0.01700904, + -0.006846369, + 0.042476814, + -0.005016239, + -0.06307641, + 0.09585767, + -0.04804542, + -0.00884673, + -0.046277884, + 0.019886179, + -0.012770503, + 0.01545831, + -0.050601155, + -0.0213185, + -0.007031124, + 0.010349758, + -0.017323794, + 0.073742256, + -0.00052236504, + 0.0030482197, + 0.0094217295, + 0.002894305, + 0.043494232, + -0.008683141, + 0.04284026, + 0.031683806, + -0.07389498, + -0.001585953, + -0.0008525423, + -0.021145584, + -0.023347558, + 0.019341705, + 0.008954008, + -0.025400126, + -0.016442195, + 0.03774562, + -0.03966296, + 0.028976506, + 0.04320299, + -0.043097455, + 0.017181948, + 0.025917115, + -0.0380574, + 0.015278975, + -0.03969268, + -0.024131456, + -0.043038018, + 0.073869936, + 0.024812687, + -0.019545494, + 0.013266252, + 0.0040655914, + -0.03100202, + -0.0026059633, + -0.052620597, + -0.04891738, + 0.029295787, + 0.033896927, + -0.013934589, + 0.030590322, + 0.05807187, + -0.017834812, + 0.0056166328, + 0.004522722, + 0.012055379, + 0.006474751, + -0.0077234437, + -0.014628966, + -0.0159434, + 0.039837167, + -0.024555907, + 0.03384362, + 0.009458204, + -0.049793378, + -0.040669356, + 0.0040152217, + -0.047859468, + 0.067043416, + -0.006383076, + 0.02570027, + 0.0003162692, + -0.0408062, + -0.017776696, + -0.019248271, + 0.053234916, + -0.01462101, + 0.025278758, + -0.06062856, + -0.06252262, + -0.06104185, + 0.016716741, + 0.0010279213, + 0.0017170046, + 0.013695151, + 0.047437478, + 0.050126713, + 0.01347454, + -0.014571759, + 0.08086166, + 0.016651085, + 0.0027194202, + -0.0038620217, + 0.027687453, + 0.06154488, + 0.0024216755, + 0.114506595, + 0.079345055, + 0.030937318, + -0.04116494, + 0.0040629464, + 0.021385036, + 0.03349356, + -0.032622755, + -0.044707276, + -0.0014130073, + -0.006649765, + -0.042566095, + 0.014444165, + 0.0034937065, + 0.009545522, + -0.014690146, + 0.0018733586, + 0.05912291, + -0.058593344, + -0.034919202, + 0.020524647, + 0.016344497, + 0.0014462284, + -0.004344398, + -0.0051211994, + 0.019980354, + 0.060380343, + 0.011760978, + 0.033903245, + -0.031316526, + 0.019068323, + -0.016711656, + 0.02105826, + 0.0065727443, + 0.010353784, + -0.0561284, + 0.017131016, + -0.014434193, + -0.017300785, + -0.0102029275, + -0.019130506, + 0.0013719277, + 0.010505077, + 0.0030690879, + -0.014075491, + -0.019467097, + -0.0028601408, + -0.024876473, + -0.060583647, + 0.016514882, + 0.019940233, + 0.040691283, + 0.024272503, + -0.019313484, + -0.0416068, + 0.029915364, + 0.0043369285, + -0.036903027, + 0.012619264, + -0.03253829, + -0.026407663, + 0.05027195, + -0.033001296, + 0.045842316, + -0.016108854, + 0.07574414, + 0.0017586922, + -0.025118433, + 0.04678488, + 0.0143071385, + 0.038416248, + -0.015723266, + -0.07204724, + 0.027330099, + 0.023015559, + 0.05450282, + 0.062431816, + -0.02440289, + 0.0024146105, + -0.036994364, + -0.021292066, + -0.05651035, + -0.042976078, + 0.06371138, + -0.0012154628, + -0.030567838, + 0.017349135, + -0.053593475, + -0.07748331, + -0.02347812, + -0.05637508, + -0.03023506, + -0.06098446, + 0.023130994, + -0.03494274, + 0.0066643795, + -0.009030308, + 0.057501584, + 0.0009518807, + -0.0032934307, + 0.044997554, + -0.032257993, + -0.038473893, + 0.011171962, + 0.038823903, + -0.04125915, + 0.013081761, + -0.0012916188, + 0.11337877, + 0.052732103, + 0.039210703, + 0.0058411174, + -0.0014312717, + -0.007509844, + -0.042526696, + -0.06292958, + -0.056028266, + -0.039426334 + ] + } +] \ No newline at end of file diff --git a/app-backend/knowledge-base/vectors/onboarding.json b/app-backend/knowledge-base/vectors/onboarding.json new file mode 100644 index 000000000..d0073f7d5 --- /dev/null +++ b/app-backend/knowledge-base/vectors/onboarding.json @@ -0,0 +1,5434 @@ +[ + { + "id": "onboarding.txt-0", + "document": "onboarding.txt", + "section": "General", + "text": "Secure Shift\nOnboarding for the frontend\n1.Welcome\nWelcome to the SecureShift Frontend Panel Team!\nCongratulations on joining the project. We are excited to have you on board and look forward to\nworking with you throughout this trimester.\nSecureShift is a large, real-world software engineering project where students collaborate in agile\nteams to develop a workforce management platform for the security industry. As members of the\nFrontend Team, you will contribute to building intuitive, reliable, and scalable user interfaces\nwhile working closely with the Backend and Mobile teams.\nWhether you are new to React or already have frontend development experience, this guide will\nhelp you understand the project, set up your development environment, and begin contributing\neffectively.\n2.About SecureShift\nSecureShift is a workforce management platform designed to simplify the daily operations of\nsecurity companies.\nThe system enables employers to manage every aspect of their workforce from a single\napplication.\nMain Features\n• Shift Management\n• Employee Management\n• Attendance Tracking\n• Payroll Management\n• Incident Reporting\n• Equipment Management\n• Employer and Guard Communication\n• Notifications\n• Multi-language Support\n• Dashboard and Analytics\nExample Workflow\nWithout SecureShift:\nEmployer creates shifts manually → Contacts guards individually → Attendance is recorded on\npaper → Payroll is calculated manually.\nWith SecureShift:\nEmployer creates a shift → Guard receives notification → Guard accepts shift → Guard checks\nin using the mobile app → Attendance is recorded automatically → Payroll is generated digitally.\n3.Project Architecture\nThe project consists of three major components:\nFrontend Panel", + "embedding": [ + 0.002654771, + 0.04595481, + -0.18980719, + -0.0112600485, + 0.064088866, + -0.04595984, + 0.048928104, + 0.009290329, + -0.00002615431, + -0.062224556, + -0.035157975, + 0.006955713, + 0.019384138, + 0.065913, + 0.012611855, + 0.02989034, + 0.07203147, + -0.0042777807, + 0.010343352, + -0.016012408, + 0.013584709, + -0.045917697, + -0.011054708, + -0.025213705, + 0.07599222, + 0.10026025, + -0.009446166, + -0.002973838, + 0.01965635, + -0.01872728, + 0.039082874, + 0.03258003, + -0.017799497, + -0.0021371322, + 0.00927345, + -0.08462776, + -0.004306561, + -0.02031729, + -0.050514646, + 0.007198943, + 0.013418467, + 0.007224051, + -0.0002387744, + -0.082698636, + 0.05892027, + -0.007321269, + 0.0412319, + -0.035661083, + 0.06762719, + -0.05901801, + -0.0438744, + 0.0061896355, + -0.02661401, + 0.013607681, + 0.026941413, + -0.05205148, + 0.018781606, + 0.075338714, + -0.008894829, + -0.0349682, + 0.058165263, + 0.077427804, + -0.03756513, + 0.0486807, + -0.0073794974, + 0.0398876, + -0.026046937, + 0.036910966, + 0.0027818694, + -0.0336589, + -0.013288543, + 0.016602771, + -0.005861866, + 0.0027855753, + -0.014555413, + -0.039040737, + 0.018911166, + -0.03971704, + -0.06991864, + 0.0143787805, + 0.05061773, + -0.032588933, + 0.04927116, + 0.022595037, + 0.043380644, + 0.0029893029, + -0.036344938, + -0.0019123062, + -0.063802816, + 0.0733798, + 0.03127679, + -0.0042122547, + -0.023995938, + 0.04711248, + -0.10765761, + 0.01999834, + 0.018564308, + 0.010458707, + -0.060062613, + -0.050015416, + -0.030102538, + -0.07021523, + -0.036800437, + 0.010650374, + 0.007950435, + -0.0061449227, + -0.05236143, + -0.004140616, + 0.040075652, + 0.017342791, + -0.009419444, + 0.020016832, + 0.027801447, + -0.0041762865, + 0.054553773, + 0.0042226156, + 0.06247606, + -0.03556992, + 0.02055462, + 0.047674015, + -0.014769061, + -0.0024641925, + -0.016137242, + 0.03451469, + 0.049374826, + 0.011372981, + -0.053458605, + -0.0199178, + -0.014989417, + -0.032811865, + 0.0012104684, + -0.040025607, + -0.08598579, + 0.00024101119, + 0.02145908, + 0.04761458, + -0.050103646, + -0.0023630376, + 0.021820916, + -0.0015575108, + 0.03084553, + 0.06044451, + -0.041247025, + -0.011756672, + -0.006397891, + -0.060524832, + -0.014961628, + -0.028203974, + -0.019845258, + 0.007994897, + -0.008630156, + 0.013805018, + -0.012219141, + 0.048578933, + 0.02134574, + -0.085661024, + -0.009216089, + -0.005904985, + 0.048736006, + 0.0570271, + 0.055222634, + -0.029174047, + -0.022614894, + 0.029536404, + 0.05447159, + -0.055204887, + -0.039331064, + 0.03564882, + -0.004894449, + 0.06506848, + -0.062101543, + -0.03141747, + 0.021272559, + 0.0077258428, + 0.029653145, + -0.036382645, + 0.035280976, + -0.07945837, + 0.025037328, + -0.006987459, + 0.041492805, + -0.03274592, + 0.036578, + 0.01568034, + -0.039585464, + -0.009530213, + 0.033239227, + -0.047236774, + -0.02196587, + 0.005092855, + 0.047056496, + -0.040852886, + -0.061038975, + -0.007118607, + -0.048550308, + -0.014725663, + 0.030602325, + -0.014827188, + -0.024944639, + -0.05335469, + -0.031574413, + 0.027959572, + -0.03269611, + -0.004497167, + -0.009002736, + 0.05700445, + 0.032470323, + -0.0151795605, + -0.026604315, + 0.008835895, + 0.0707509, + 0.021951497, + -0.005106616, + -0.046277203, + 0.093510285, + -0.0071911537, + 0.011088652, + -0.04211273, + 0.020386307, + -0.0068846312, + 0.040985845, + -0.03404595, + 0.016067982, + -0.0045968844, + 0.008460402, + -0.023597188, + -0.06132231, + -0.033098247, + -0.04067502, + 0.026245875, + -0.037504505, + -0.029239329, + 0.0034515841, + 0.014871121, + 0.00024326479, + -0.003019985, + 0.0052571506, + 0.054442197, + -0.013520068, + 0.0053979172, + 0.023377147, + 0.02024909, + 0.004884754, + -0.027692843, + -0.06979514, + 0.0057821777, + 0.00036577543, + -0.06492528, + 0.049086448, + 0.019262172, + -0.0065848376, + -0.032914866, + 0.02350099, + 0.041530736, + -0.0055140704, + -0.0810032, + -0.041036263, + -0.014786003, + 0.0020129448, + -0.027690481, + 0.038735654, + -0.04669464, + 0.02254705, + 0.00681407, + 0.016672183, + -0.0344564, + -0.023086825, + 0.021202382, + 0.052940145, + -0.04359894, + 0.054435186, + 0.029991847, + 0.004279405, + 0.1103107, + -0.006260414, + -0.050261334, + 0.0061546187, + -0.009441465, + -0.00831688, + 0.0633426, + -0.026667202, + -0.03897334, + -0.0050171586, + 0.010300004, + -0.017990531, + 0.04004743, + 0.024743136, + 0.0052151238, + 0.023237616, + -0.040212058, + 0.073951036, + -0.023551319, + 0.027497211, + 0.04397964, + -0.015327229, + -0.005949273, + 0.03293622, + -0.033224747, + -0.0015395143, + -0.04007357, + 0.007679519, + 0.0854467, + 0.05031272, + 0.03364381, + 0.0063561853, + -0.032134574, + 0.022361754, + 0.013170475, + 0.020002985, + 0.05132557, + -0.03998893, + 0.0032048696, + -0.000034771645, + 0.017637175, + -0.06073924, + 0.020546155, + 0.0066428217, + 0.033607796, + 0.02079142, + -0.011776969, + 0.0012334116, + -0.04157318, + -0.04615306, + -0.051493015, + 0.045753773, + 0.096670926, + -0.039903793, + -0.0030992096, + -0.03055741, + -0.036795355, + 0.04628363, + 0.07520008, + 0.015543962, + -0.06092234, + -0.0001622599, + 0.0529037, + 0.0352108, + 0.050937735, + 0.029124014, + -0.00088007894, + 0.04566749, + -0.060642604, + 0.02231055, + -0.029997054, + -0.022005646, + -0.012003978, + 0.035350494, + -0.055929027, + 0.06695191, + 0.07515867, + -0.026219305, + 0.0317564, + -0.02386479, + 0.028232053, + 0.014894555, + -0.033195943, + -0.025611918, + 0.024127401, + -0.0023529644, + 0.027635332, + 0.0004187784, + -0.00068353914, + 0.018609174, + -0.0056325025, + -0.0034710367, + 0.008872521, + 0.049640886, + 0.048839595, + 0.031887062, + 0.002019695, + 0.001116233, + -0.086699046, + -0.024933668, + -0.0003705837, + 0.03357614, + -0.0057237116, + -0.077386335, + 0.015406922, + -0.00008480551, + -0.020396443, + 0.027089203, + -0.008521595, + 0.0055161607, + 0.016381638, + 0.046615038, + 0.0149263, + 0.03792338, + 0.03751251, + -0.041398223, + 0.03564201, + -0.0049387254, + -0.07004438, + -0.0030057644, + 0.02060736, + 0.023524232, + -0.024964796, + 0.015062961, + 0.0035487644, + -0.0009953807, + 0.061798878, + -0.04560356, + -0.042490095, + -0.0042101443, + -0.013223045, + 0.012632846, + 0.024445806, + -0.042798594, + -0.02889785, + -0.023636915, + -0.019055216, + 0.04631112, + 0.025749907, + -0.030424407, + -0.006618017, + 0.0144000165, + -0.04010866, + 0.044123996, + -0.0046079527, + -0.034238588, + -0.042773556, + 0.012381439, + 0.058883194, + 0.026678247, + -0.011815668, + -0.0026761934, + 0.0586085, + 0.020797104, + 0.015055813, + 0.04766576, + -0.043074943, + -0.013684318, + 0.024968773, + 0.045110106, + -0.00915652, + -0.007181158, + -0.019074524, + 0.027337672, + -0.004097089, + -0.05502325, + 0.016840525, + -0.004141167, + -0.005269751, + -0.06816294, + 0.02252278, + 0.012543205, + 0.093771726, + 0.043967944, + -0.05126771, + -0.015090145, + 0.038304146, + 0.027621986, + -0.0031905598, + 0.02311403, + 0.05877831, + 0.08793499, + 0.006385456, + -0.0010077205, + -0.004457173, + -0.0038703952, + -0.0065497425, + 0.026246592, + 0.00969285, + -0.030445086, + -0.016597878, + 0.0028137534, + 0.002869141, + -0.023392731, + 0.0009711957, + 0.033113252, + 0.067189164, + -0.06996782, + -0.022585936, + 0.00198439, + -0.01276415, + 0.010627054, + -0.042480584, + 0.03024857, + -0.024931638, + 0.013671127, + 0.021096693, + 0.02367611, + -0.015649514, + -0.014350154, + -0.043554466, + -0.020209322, + 0.0027746696, + 0.023013541, + 0.008897451, + -0.016636454, + 0.013216438, + 0.03628277, + 0.0040240497, + 0.013953428, + 0.03881364, + -0.0138687575, + 0.02751872, + -0.028006624, + 0.013059705, + -0.024893072, + -0.024494164, + 0.024548737, + 0.04129222, + 0.023149483, + 0.036524024, + 0.00868892, + -0.015936874, + 0.0061429497, + -0.05207502, + -0.03085312, + -0.002377647, + -0.0022118823, + -0.007396838, + -0.0024634423, + -0.025899243, + 0.016319133, + -0.051369246, + 0.018358752, + -0.04939701, + -0.09072633, + 0.022116708, + -0.049041618, + -0.0320045, + -0.028787501, + -0.027396733, + -0.10736598, + 0.029721862, + 0.00037954445, + -0.038637057, + 0.03230115, + 0.014498227, + 0.007019573, + 0.07088592, + -0.04942079, + -0.04129627, + 0.058622897, + -0.011521719, + -0.0401987, + 0.057559952, + 0.02674735, + 0.016501555, + -0.03627345, + 0.022413393, + 0.007155335, + 0.014070417, + -0.034635372, + -0.021210536, + 0.014624449, + 0.067038104, + -0.0060902564, + -0.058634967, + 0.04892058, + -0.035761196, + 0.020602854, + -0.042465694, + 0.0552426, + 0.031737432, + 0.028577365, + -0.050331816, + -0.038980056, + -0.049603667, + -0.003464506, + 0.004838487, + 0.05291447, + -0.021595938, + 0.021817364, + 0.0063401763, + 0.004819514, + 0.0064349235, + -0.011076789, + 0.029477984, + 0.0068205567, + -0.044452816, + -0.0074842055, + -0.055449553, + -0.053488944, + -0.019595811, + 0.006854317, + 0.0106266085, + -0.069787405, + -0.010427745, + 0.03756535, + 0.018466381, + 0.033687536, + 0.05553474, + -0.036766585, + 0.021906411, + -0.032409396, + -0.03642297, + 0.008978432, + -0.01448774, + 0.0061669387, + -0.012146448, + 0.029853484, + 0.025237793, + -0.029172683, + 0.008954428, + -0.011526677, + -0.021222722, + -0.023338677, + -0.033328224, + -0.010708525, + -0.00433252, + 0.04663558, + -0.021118617, + 0.022562671, + 0.034421723, + 0.024891572, + 0.022826781, + -0.0030065926, + -0.01695346, + 0.030389441, + -0.004935278, + -0.028566055, + -0.0049456377, + 0.014143301, + 0.008111603, + 0.043809734, + 0.0073173414, + -0.005523744, + -0.035694163, + -0.03434145, + -0.015752904, + 0.05885668, + -0.018596385, + 0.036548767, + -0.025531754, + -0.0073806997, + -0.022195615, + -0.026376372, + 0.029022748, + -0.021514399, + 0.023162708, + -0.013599396, + -0.015374928, + -0.07319998, + 0.032378156, + 0.03461726, + -0.0069240015, + -0.013639411, + 0.059622083, + 0.023045886, + -0.0045332354, + 0.012867875, + 0.048171908, + 0.00041644488, + -0.017826552, + -0.03159694, + 0.017057054, + 0.07094227, + -0.014898795, + 0.07504825, + 0.049476042, + 0.008181574, + 0.014249662, + 0.044223547, + 0.0066801272, + 0.019865813, + -0.037580926, + -0.06450112, + 0.012948815, + -0.008322106, + -0.0013097932, + -0.011372899, + -0.0053575328, + 0.02040778, + 0.036959287, + 0.020707568, + 0.05749501, + -0.06457459, + 0.0076250723, + -0.027098035, + 0.081991196, + 0.033508617, + -0.015977558, + 0.012601754, + 0.0024327494, + 0.075919196, + 0.016966462, + 0.023237197, + -0.024641605, + 0.023354253, + 0.016780313, + 0.015736895, + 0.014347415, + 0.0062857107, + -0.02707654, + 0.018526085, + 0.010440681, + -0.017488282, + -0.025066772, + -0.029238522, + -0.011157033, + -0.051234704, + -0.0239615, + -0.007241143, + -0.032165706, + -0.03562505, + -0.024758464, + -0.036844652, + 0.05581087, + -0.010354103, + 0.054565087, + 0.019679, + 0.0416463, + -0.011734006, + 0.005257753, + -0.012881422, + -0.029346498, + 0.009131145, + -0.048813738, + 0.0038204407, + 0.018857582, + -0.037620768, + 0.012811054, + 0.009119992, + 0.025350727, + -0.003797858, + -0.031445835, + 0.018072411, + 0.013819831, + 0.06797266, + 0.009032841, + -0.08134907, + -0.0054157334, + 0.013755166, + 0.045412008, + 0.0350218, + -0.025837399, + 0.04490844, + -0.02077867, + -0.01774, + -0.036431197, + -0.03615641, + 0.04355275, + -0.03807372, + -0.025981154, + 0.019828973, + -0.034953598, + -0.054806326, + -0.028652092, + -0.03605457, + -0.038309272, + -0.040711135, + -0.019300168, + -0.019939354, + -0.0036099064, + -0.0062883035, + 0.012604409, + -0.017243069, + -0.035398804, + 0.029221099, + -0.044396788, + -0.048269723, + 0.0071344916, + 0.015773786, + 0.0023646047, + 0.03770982, + -0.041714482, + 0.08837232, + 0.046399083, + 0.030267633, + -0.016188527, + -0.0048232856, + -0.006499424, + -0.054247446, + -0.07065954, + -0.0017440119, + -0.022877293 + ] + }, + { + "id": "onboarding.txt-1", + "document": "onboarding.txt", + "section": "General", + "text": "General\nThe Frontend Panel is developed using React and serves as the web interface for the SecureShift platform.\nCurrently, the frontend consists of the Employer Panel, which allows employers to manage:\n• Guards\n• Shifts\n• Payroll\n• Timesheets\n• Incident Reports\n• Equipment\n• Notifications\n• Daily Activity Tracking\n• Reports\nThis trimester, one of our primary objectives is to develop the new Admin Panel. The Admin Panel will\nprovide administrators with a dedicated interface to manage the overall system, including users, roles,\nplatform settings, monitoring, and other administrative functions. The frontend team will be responsible\nfor designing, implementing, and integrating this new panel with the existing backend APIs.\nCurrent Focus: Employer Panel (Existing)\nTrimester 2 Goal: Design and develop the new Admin Panel while continuing to maintain and enhance\nthe Employer Panel.\nThis wording clearly explains the current state of the project and highlights what the new frontend team\nwill be working on.\nBackend\nDeveloped using Node.js and Express.\nProvides REST APIs, authentication, business logic, and database communication.\nGuard Mobile App\nDeveloped using React Native.\nAllows guards to apply for shifts, check in/out, report incidents, receive notifications, and\ncommunicate with employers.\nAll three systems communicate through the backend APIs.\n4.Technology Stack\nTechnology Purpose\nReact Frontend Development\nReact Router Navigation\nAxios API Communication\nMaterial UI User Interface Components\nNode.js Backend Development\nExpress REST API Framework\nMongoDB Database\nDocker Local Development Environment\nGitHub Version Control\nMS Planner Sprint Management\nSwagger API Documentation\nPostman API Testing\n5.Employer Panel Overview", + "embedding": [ + -0.022888841, + 0.036388285, + -0.16895372, + -0.050701898, + 0.057127763, + -0.085179925, + 0.05675024, + -0.015579904, + 0.013225749, + -0.08357375, + 0.0034827783, + 0.029929126, + 0.0508878, + 0.047800142, + -0.0064489995, + -0.024840688, + 0.06056658, + -0.022030931, + -0.015267913, + -0.010020401, + 0.033024665, + -0.03825702, + -0.03911256, + -0.027312808, + 0.058066726, + 0.10725538, + 0.017887129, + 0.02066719, + 0.016045291, + -0.010009839, + 0.00876736, + 0.0391818, + -0.005905486, + 0.0014478621, + 0.02738501, + -0.055159938, + -0.0016743632, + 0.031751595, + -0.044131555, + 0.020597683, + -0.003252031, + -0.013679351, + -0.012495804, + -0.0628641, + 0.060500056, + -0.02329368, + 0.02655714, + 0.004453932, + 0.077247635, + -0.06808734, + -0.036619462, + -0.016037837, + -0.022441544, + -0.03259015, + 0.020192036, + -0.034784824, + -0.022516888, + 0.048151765, + -0.0048889015, + -0.040735237, + 0.050472952, + 0.09456718, + -0.023936497, + 0.060117394, + 0.025566133, + 0.035100058, + -0.030144827, + 0.059982684, + -0.003301633, + -0.03451358, + -0.023700071, + 0.014799141, + -0.015962984, + 0.009531721, + 0.026620002, + 0.0025059055, + -0.0039285333, + -0.057115853, + -0.05025299, + 0.018355064, + 0.04740415, + -0.023159927, + 0.026885802, + 0.046325635, + 0.036183517, + -0.04748396, + -0.044894576, + -0.044733867, + -0.078840174, + 0.069260366, + 0.07149513, + -0.02178813, + -0.0016561194, + 0.026813662, + -0.110432036, + 0.021470146, + 0.012216563, + -0.012363155, + -0.026489519, + -0.025039544, + -0.018629594, + -0.068323225, + -0.034338553, + 0.017814819, + 0.0155520085, + -0.0071275546, + -0.06536906, + -0.027644873, + 0.026117755, + 0.0005301964, + -0.0040897853, + 0.035882384, + 0.023290308, + -0.0032112352, + 0.027207907, + -0.03793568, + 0.07396016, + -0.019696957, + -0.008765772, + 0.069608286, + -0.0005164884, + 0.012003489, + 0.0014851432, + 0.019934386, + 0.03625622, + 0.01725618, + -0.024150621, + -0.002732391, + 0.003852156, + -0.033185218, + -0.011776088, + -0.03326728, + -0.07815286, + -0.040840644, + 0.033484854, + 0.05939023, + -0.073237374, + 0.0037211766, + 0.012480866, + -0.0115859, + 0.03993437, + 0.045855217, + -0.039364267, + 0.026916748, + 0.008525979, + -0.04907154, + 0.031965736, + -0.030306766, + 0.019353474, + 0.033387393, + -0.041320056, + -0.0038778945, + -0.0032874309, + 0.030375011, + 0.00515319, + -0.07110962, + -0.046164244, + 0.004341557, + 0.01740078, + 0.03534219, + 0.09422868, + -0.008586114, + -0.02405282, + 0.038389847, + 0.028827306, + -0.067418054, + -0.020393847, + 0.031624246, + -0.005250468, + 0.043042492, + -0.05556407, + -0.052830774, + 0.0072909575, + 0.019616876, + 0.038104493, + -0.03510588, + 0.027997456, + -0.05974809, + 0.03340706, + -0.0548397, + 0.037590627, + -0.0769363, + 0.016669914, + 0.031727593, + -0.021189017, + -0.004535808, + 0.011458835, + -0.058240186, + -0.009848536, + -0.020219134, + 0.058802076, + -0.007673845, + -0.046982773, + -0.020579591, + -0.061520558, + -0.014153503, + 0.027147984, + -0.041346453, + -0.049428284, + -0.06568506, + -0.030607572, + 0.011652603, + -0.0030050427, + 0.009543424, + -0.021991324, + 0.039946094, + 0.03400924, + -0.011581477, + -0.02386812, + -0.0008142638, + 0.065908864, + 0.02442503, + -0.0039713117, + -0.045296293, + 0.065479554, + 0.004377181, + -0.0053095385, + -0.037051015, + 0.028056942, + 0.0001438152, + 0.016436363, + -0.038677946, + 0.025808984, + -0.0143418005, + 0.002808822, + -0.030634148, + -0.03994491, + -0.03139669, + -0.03255848, + 0.024407744, + -0.013636495, + -0.02851166, + -0.0030368823, + 0.014010603, + -0.012605908, + -0.019799031, + -0.0030484607, + 0.042321905, + 0.0012045348, + -0.021289768, + 0.032126687, + 0.000659373, + 0.04418871, + 0.008881711, + -0.08094893, + -0.0038545416, + -0.008159978, + -0.031457577, + 0.043885816, + 0.057465773, + 0.009076395, + -0.017960409, + 0.019633932, + 0.042187553, + 0.021312552, + -0.06473642, + -0.020950185, + -0.028452802, + 0.026374264, + -0.06325809, + 0.029589528, + -0.04740133, + 0.033226773, + 0.0048043453, + 0.017389417, + -0.009331568, + -0.011649956, + 0.012576379, + 0.018840747, + -0.042376634, + 0.0381586, + 0.06257683, + -0.009976612, + 0.044491347, + -0.015255848, + -0.023570277, + -0.0069752936, + -0.033306394, + -0.017696273, + 0.042689323, + -0.017130744, + -0.030403918, + 0.018827166, + 0.019446865, + -0.016666058, + 0.04374105, + 0.023136549, + 0.014218034, + 0.028358834, + -0.015936727, + 0.06513356, + -0.031352106, + -0.025876284, + 0.046702083, + -0.002680965, + -0.02887086, + 0.04000676, + -0.012170836, + 0.0043609217, + -0.031506, + 0.018423755, + 0.01891536, + 0.0642078, + 0.02394503, + 0.017934758, + -0.05644957, + 0.010796462, + 0.00050793524, + 0.04479441, + 0.080974974, + -0.053302746, + 0.0020071277, + -0.0163137, + 0.021657882, + -0.077177584, + 0.055370204, + -0.0024057897, + 0.034934677, + 0.024477063, + 0.0048025, + -0.0033740874, + -0.02896556, + -0.025603924, + -0.03509575, + 0.022224342, + 0.08293564, + -0.04851304, + 0.021683127, + -0.011641632, + -0.016097559, + 0.0210425, + 0.055959847, + 0.02952188, + -0.050811008, + 0.029798627, + 0.08414445, + 0.04003769, + 0.03108715, + 0.016180696, + 0.0031915586, + 0.039241374, + -0.076109365, + 0.03663606, + -0.06308384, + -0.043167908, + -0.028662562, + -0.0026672443, + -0.054010417, + 0.035833117, + 0.070565276, + -0.04287028, + 0.050237767, + -0.0146410605, + 0.027392369, + 0.0023469601, + -0.027573604, + 0.007846398, + 0.020297728, + -0.016349344, + 0.05062416, + 0.0030168958, + -0.0070706843, + 0.034105826, + -0.01516686, + -0.002179491, + 0.00375284, + 0.018918091, + 0.02360484, + 0.044748038, + -0.016215254, + 0.014165352, + -0.047666762, + 0.024824424, + 0.031202951, + 0.039967984, + -0.021326343, + -0.0940088, + 0.0149975205, + -0.008877477, + -0.004184355, + 0.039402563, + 0.01881924, + 0.038954925, + 0.013554617, + 0.029625641, + -0.028576907, + 0.019812683, + 0.0026814262, + -0.017503802, + 0.016726963, + -0.015949797, + -0.05638741, + -0.0130967125, + 0.011428437, + 0.010519137, + -0.031880476, + 0.019163538, + 0.0060367016, + 0.015625857, + 0.08784766, + -0.051213574, + -0.0449927, + 0.015350194, + -0.02545144, + 0.01527348, + -0.004623202, + -0.04293619, + -0.039596796, + -0.010498708, + -0.037398774, + 0.051795408, + 0.036380675, + -0.014875768, + -0.021270584, + 0.03248011, + -0.041380413, + 0.06274365, + 0.016083173, + -0.019301994, + -0.03512883, + -0.010759957, + 0.046570368, + 0.04616287, + -0.00434477, + -0.020330634, + 0.03765656, + 0.037419092, + -0.0009321478, + 0.022524003, + -0.040537294, + -0.015650198, + 0.029669946, + 0.02576825, + -0.0386372, + -0.006966822, + -0.031455934, + 0.036276072, + -0.02728476, + -0.016269514, + 0.03228061, + 0.012966136, + -0.010321787, + -0.041892555, + 0.027718583, + 0.029986147, + 0.08441715, + 0.03978579, + -0.037397873, + -0.022362541, + 0.024030155, + 0.018983258, + -0.01132564, + 0.009126433, + 0.0378631, + 0.08843333, + 0.0026546519, + 0.025991162, + 0.007233957, + 0.016610423, + 0.0338171, + 0.0018085738, + 0.0020389608, + -0.046211388, + -0.020342011, + -0.017006304, + 0.04798599, + 0.008065609, + 0.022693217, + 0.017841432, + 0.039430197, + -0.08181313, + -0.054668274, + 0.0381056, + -0.037851073, + -0.023683168, + -0.025114508, + 0.023703502, + -0.01927039, + 0.032582372, + 0.037979096, + 0.0025552528, + -0.021750534, + -0.03008784, + -0.02980304, + 0.017763305, + 0.0016483933, + 0.025402954, + 0.019064296, + -0.026337013, + -0.015709689, + 0.05971084, + -0.0006147225, + -0.011086806, + 0.014129291, + 0.021363338, + 0.05354504, + -0.020124562, + -0.012150116, + -0.008318051, + -0.021518996, + 0.024564251, + 0.038537424, + 0.022652565, + 0.014355547, + 0.00052711583, + -0.016736394, + -0.029779516, + -0.044307146, + -0.015124329, + -0.0062712273, + 0.0033917269, + -0.0048731174, + 0.006300602, + -0.0017332748, + -0.024972672, + -0.043391407, + 0.002323435, + -0.008645264, + -0.0942435, + 0.029069964, + -0.04979173, + -0.03283883, + -0.005263484, + -0.062806465, + -0.06740484, + 0.041262317, + -0.013517452, + -0.029319033, + 0.040255226, + 0.01764001, + -0.027550897, + 0.06783827, + -0.023139894, + -0.006799444, + 0.04592888, + -0.008872871, + -0.050633885, + 0.015771195, + 0.044007227, + 0.026406644, + -0.01605916, + 0.0112898825, + 0.010167374, + -0.011369299, + -0.0068805697, + -0.029825151, + -0.04456191, + 0.05809042, + -0.019025108, + -0.04763597, + 0.05530008, + -0.05298277, + 0.033997808, + -0.04040088, + 0.015458395, + 0.010426058, + 0.035684463, + -0.05059787, + 0.0069727832, + -0.026684368, + 0.024116272, + 0.014799886, + 0.045582797, + -0.00050332834, + 0.036837388, + -0.005283576, + -0.010295658, + 0.0031749916, + -0.002944607, + 0.031195424, + 0.00822497, + -0.05943211, + 0.03090007, + -0.028076548, + -0.052231297, + -0.011873493, + 0.0086974045, + -0.00007485982, + -0.051072996, + 0.009236694, + 0.073250525, + -0.009104787, + 0.0070460336, + 0.044337455, + -0.021146806, + 0.00020565791, + -0.010622, + -0.032915223, + -0.0079554925, + -0.023546617, + -0.015125012, + -0.0053149187, + 0.029960262, + 0.026052227, + -0.05053427, + 0.018293582, + -0.0051718755, + -0.0016260342, + -0.006266683, + -0.024685971, + -0.03138393, + -0.039265677, + -0.013455891, + 0.008473417, + 0.040992722, + 0.026948186, + 0.02048419, + 0.036489803, + -0.0047472417, + -0.026583117, + 0.034922775, + -0.009307441, + -0.006325962, + 0.0018344705, + 0.04365001, + -0.004356766, + 0.03908775, + 0.0041875714, + -0.03972639, + -0.021208897, + -0.041057777, + -0.023748865, + 0.05815165, + -0.012488776, + 0.035837516, + -0.02096807, + -0.048617437, + -0.022665132, + -0.019692915, + 0.050321113, + -0.0092950305, + 0.022154005, + 0.0014939368, + -0.023765147, + -0.06535711, + 0.013504041, + 0.039018117, + -0.0163733, + 0.000027534737, + 0.06422138, + 0.0069141802, + 0.016903931, + -0.031335313, + 0.09424274, + -0.019817092, + -0.03489583, + -0.003310057, + 0.07285264, + 0.04752408, + 0.0059817736, + 0.11505821, + 0.058430966, + 0.038496368, + -0.009830617, + 0.03785497, + 0.018059434, + 0.014058586, + -0.03761279, + -0.05640406, + -0.0055909012, + 0.0112335095, + -0.010339162, + -0.011435315, + 0.0021650682, + -0.00007043623, + 0.01063106, + 0.02324091, + 0.050349757, + -0.0425195, + -0.02102051, + 0.013508155, + 0.034084372, + 0.04934999, + -0.021960111, + -0.009377724, + 0.036786985, + 0.08022596, + -0.0024022271, + 0.015818652, + -0.032076273, + 0.019558901, + 0.01594289, + 0.019416222, + 0.0103536025, + 0.011194317, + -0.030600492, + 0.023106074, + -0.016704269, + 0.026914448, + -0.0016621668, + -0.02526764, + 0.0068487953, + -0.032009687, + -0.025961692, + -0.03594503, + -0.0069652884, + -0.04096576, + -0.026176883, + -0.059547268, + 0.04086227, + -0.010407175, + 0.060054623, + 0.0033787286, + -0.0010954784, + -0.013818687, + 0.040896513, + 0.010768069, + -0.039578516, + 0.010180048, + -0.048455626, + -0.0025165367, + 0.061131705, + -0.036457095, + 0.048192617, + -0.0067738206, + 0.05516556, + -0.030698106, + -0.03575625, + 0.04780828, + -0.017072607, + 0.047077984, + -0.021138152, + -0.089441866, + -0.024612773, + 0.008729471, + 0.038579658, + 0.030045455, + 0.004126758, + 0.032532193, + -0.022302087, + -0.01878915, + -0.03872921, + -0.057904027, + 0.080289654, + -0.01475998, + -0.034187414, + 0.009444884, + -0.05871701, + -0.022642832, + -0.008330851, + -0.03443682, + -0.011051235, + -0.048964277, + 0.0015573218, + -0.025756799, + 0.035838913, + -0.004986526, + 0.013733755, + -0.022859417, + -0.041263025, + 0.03385769, + -0.06157899, + -0.06696403, + -0.0028360842, + 0.022960378, + -0.019597547, + 0.039584197, + -0.025031833, + 0.0978319, + 0.019256659, + 0.03668252, + 0.01864508, + -0.0003357822, + -0.036511738, + -0.01729605, + -0.06689786, + 0.0012698895, + -0.033946127 + ] + }, + { + "id": "onboarding.txt-2", + "document": "onboarding.txt", + "section": "General", + "text": "General\nThe Employer Panel allows employers to manage the entire workforce through an easy-to-use\nweb interface.\nSome of the pages include:\n• Dashboard\n• Shift Management\n• Timesheets\n• Payroll\n• Guard Management\n• Incident Reports\n• Equipment Management\n• Notifications\n• Chat\n• Daily Activity Tracking\n• Profile Management\nMost frontend tasks involve creating user interfaces, integrating APIs, handling application state,\nvalidating forms, and improving user experience.\n6.Development Environment Setup\nBefore writing any code, complete the following steps.\nStep 1\nClone both repositories.\n• Frontend Repository\n• Backend Repository\nStep 2\nInstall:\n• Node.js\n• Docker Desktop\n• Visual Studio Code\n• Git\nStep 3\nRun the project using Docker.\nVerify that:\n• MongoDB starts successfully\n• Backend runs without errors\n• Frontend loads correctly\n• Login page is accessible\nImportant: Many issues experienced by previous teams were caused by incomplete Docker\nsetup. Ensure your environment is working before beginning development.\nVideo Link- How to get project in to your locals- 2026-07-12 10-47-12.mkv\nPart2-\nhttps://1drv.ms/v/c/4916f816167acfd5/IQATx7k7xjEGRJSCV19Wpr2EARx_9Kbl5IcberniYdFI\nGto?e=9BaD0U\n1. Clone the repository\nOpen PowerShell:\ncd \"C:\\Users\\..................\\SIT378_SIT782 - Team Project B - Execution and Delivery\"\nClone:\ngit clone https://github.com/Gopher-Industries/SecureShift.git\nGo into the project:\ncd SecureShift\n2. Create your own branch\nCheck branches:\ngit branch\nUpdate main:\ngit checkout main\ngit pull origin main\nCreate your branch:\ngit checkout -b frontend/……………….\nConfirm:\ngit branch\nYou should see:\n* frontend/…………\nmain\nBackend Setup\n3. Go to backend folder\ncd app-backend\nCheck files:\ndir\n4. Create .env\nCreate a file:\napp-backend/.env\nAdd:\nMONGO_URI=\nPORT=\nJWT_SECRET=", + "embedding": [ + 0.0008242005, + 0.054162815, + -0.16910368, + -0.008670991, + 0.010387019, + -0.03993594, + 0.026006112, + -0.0021187728, + -0.04777481, + -0.04937595, + 0.00091118255, + 0.022484973, + 0.054569125, + 0.048766207, + 0.0020477155, + -0.021195412, + 0.012977881, + -0.056011163, + 0.013848643, + 0.034435034, + 0.018530302, + -0.062902294, + 0.00005152654, + -0.022142727, + 0.071803175, + 0.035741843, + 0.0054190583, + 0.031478405, + 0.017812831, + -0.00848064, + 0.04822852, + 0.05918007, + -0.009170391, + -0.02540744, + -0.0009510254, + -0.059033114, + -0.024506323, + -0.01957427, + -0.011316976, + 0.028062487, + -0.011203802, + -0.016203443, + -0.014801242, + -0.08720311, + 0.020791601, + -0.037811898, + 0.06777889, + -0.040723093, + 0.05179163, + -0.07688847, + 0.004757775, + 0.0004892992, + -0.009791453, + -0.02011723, + 0.010424744, + 0.021350551, + -0.037528925, + 0.025729699, + 0.053443704, + -0.043071344, + 0.06717126, + 0.08559559, + 0.02882178, + 0.08538157, + -0.0062947753, + 0.006249689, + -0.018003209, + 0.0784724, + -0.0025199954, + 0.0073525454, + 0.03944754, + 0.01874131, + 0.012902272, + -0.009255436, + 0.041248873, + 0.017233942, + -0.013553614, + -0.02568018, + -0.024093227, + -0.0031312704, + 0.03938808, + -0.030549223, + 0.039591968, + 0.020216241, + 0.051460803, + -0.03627981, + -0.047895897, + -0.01726807, + -0.08029438, + 0.10536134, + 0.037536602, + -0.011353602, + -0.0012016103, + 0.025710143, + -0.070223264, + 0.0018853436, + -0.013884147, + 0.057801485, + -0.010123083, + -0.020334752, + -0.026585534, + -0.070889145, + -0.063667335, + 0.0030094343, + -0.0106565235, + 0.08192789, + -0.011588168, + 0.012645049, + 0.02483083, + 0.03622979, + -0.044657283, + 0.0116328215, + -0.0030243364, + 0.01178673, + -0.000969399, + -0.021516765, + 0.07700104, + -0.029237615, + -0.0056427293, + 0.03804395, + -0.027706912, + -0.019663397, + -0.015100105, + -0.0343331, + 0.082724884, + 0.02081634, + -0.031569928, + -0.06389889, + 0.016985567, + -0.03335937, + 0.012326028, + -0.022280846, + -0.07674562, + -0.01041064, + 0.041639812, + 0.06206192, + -0.035156723, + -0.00089305686, + 0.037659544, + -0.012399453, + -0.0033155368, + 0.021232495, + -0.028539373, + 0.0142780235, + 0.0113738645, + 0.006929573, + 0.0015574376, + -0.026911607, + -0.009495043, + 0.03894192, + -0.020913946, + 0.010652158, + 0.036146168, + 0.014781281, + 0.02495432, + -0.07722046, + -0.032420125, + 0.0044838046, + 0.05735494, + 0.031456646, + 0.08828001, + -0.032995343, + -0.015811149, + 0.043881845, + 0.045507595, + -0.06034428, + 0.02314791, + 0.025282053, + -0.0025310111, + 0.0270946, + -0.066891484, + -0.09211876, + -0.03957804, + 0.053249195, + -0.020348813, + -0.007705227, + 0.024500446, + -0.051481564, + 0.03896921, + -0.027232854, + 0.08559586, + -0.02828244, + 0.012378595, + 0.012672841, + -0.04068802, + 0.012311724, + -0.01407779, + -0.08584435, + 0.022871975, + -0.017383836, + 0.056031786, + -0.0010318436, + -0.031046193, + -0.032553617, + -0.034893136, + -0.016837312, + 0.036317427, + -0.05085784, + -0.038721994, + -0.056973167, + -0.029270768, + 0.02341929, + -0.017550794, + 0.038640104, + -0.04814245, + 0.051470485, + 0.011199803, + -0.019825604, + -0.028288702, + -0.001233203, + 0.060124137, + -0.010604314, + 0.00055168243, + -0.038853746, + 0.03729985, + 0.0007507396, + 0.009610001, + -0.037089072, + 0.009046752, + 0.0003510013, + -0.0035062665, + -0.013791615, + 0.060992047, + -0.02175129, + 0.0739369, + 0.01778241, + -0.044953875, + -0.00012579627, + 0.0033999388, + 0.0030431752, + -0.009010141, + -0.04395629, + -0.0010038487, + 0.0068791793, + 0.0026957067, + 0.009203677, + -0.0037841273, + 0.016521681, + -0.010159788, + 0.021155706, + 0.0277512, + 0.008923595, + -0.016701998, + -0.0045216326, + -0.074033774, + 0.0020278622, + 0.0188792, + -0.030570347, + 0.04917243, + 0.02324629, + 0.024941383, + 0.0012583879, + 0.05115815, + 0.010568535, + 0.054003555, + -0.037275366, + -0.009898341, + -0.026259871, + -0.007898519, + -0.074712105, + 0.0046300697, + -0.044065095, + 0.04153044, + -0.0019320842, + -0.0012626983, + -0.012102908, + -0.043297682, + 0.0010852482, + 0.02541887, + -0.032804396, + 0.023884078, + 0.03481979, + -0.029153997, + 0.036595337, + -0.013861845, + 0.020308333, + 0.010374058, + 0.016867723, + -0.027005816, + 0.05237708, + -0.057587925, + -0.055759687, + 0.0039632767, + -0.008966498, + -0.0011933292, + 0.038062867, + 0.006809881, + -0.04669843, + 0.04602816, + -0.016492506, + 0.071183115, + 0.00682209, + -0.019648913, + 0.05384135, + -0.028635202, + -0.013409767, + 0.0276039, + 0.012032621, + -0.026727686, + -0.039854147, + 0.029340852, + 0.051538967, + 0.07812572, + 0.023615004, + 0.0028526012, + -0.047431402, + 0.053146288, + 0.016480707, + 0.0070818774, + 0.03306334, + -0.0132855065, + -0.009620817, + -0.0020105825, + 0.021163432, + -0.0452975, + 0.03856516, + 0.004803207, + 0.025642196, + 0.04287848, + -0.032779194, + -0.018999984, + -0.021251766, + -0.019116, + -0.031626437, + 0.0065385024, + 0.07970261, + -0.032554034, + 0.051569376, + -0.0073410035, + -0.003802107, + 0.011601765, + 0.037534025, + 0.033841826, + -0.024733854, + 0.027306054, + 0.000600435, + 0.023459041, + 0.035796512, + 0.008747551, + 0.047681022, + 0.04201401, + -0.029752081, + -0.009779815, + -0.027015593, + -0.04138852, + -0.025536453, + -0.00017703755, + 0.014048525, + 0.045550656, + 0.07618735, + -0.0323772, + 0.022089243, + -0.028804025, + 0.018873392, + -0.017184163, + -0.064560674, + 0.009444162, + 0.012726796, + -0.021745745, + 0.02295462, + 0.03930366, + 0.012349035, + 0.035434786, + -0.040255364, + 0.021610923, + 0.037829198, + 0.0521172, + -0.0067518707, + 0.05543166, + 0.008537881, + -0.012668009, + -0.033115875, + -0.006183154, + 0.035345223, + 0.027629126, + 0.0098962495, + -0.059292797, + -0.0025212793, + 0.031633813, + 0.00639746, + 0.03181896, + -0.008435058, + -0.013759123, + -0.0038938504, + 0.011906971, + -0.019686043, + 0.01673168, + 0.01083272, + 0.038774043, + 0.019291444, + -0.0074061174, + -0.04714304, + -0.031957734, + -0.017947188, + 0.04667641, + 0.01254904, + 0.019421805, + 0.0070467177, + 0.025168562, + 0.06999278, + -0.075199656, + -0.052777257, + 0.023129137, + 0.0131934155, + -0.0038932029, + -0.021838043, + -0.018774947, + -0.020871261, + 0.009678301, + 0.0024547568, + 0.049723577, + 0.00587987, + 0.0013475328, + -0.026417758, + 0.02704282, + -0.055018056, + 0.07886905, + 0.032292206, + -0.045784, + -0.015484568, + 0.01956373, + 0.06734655, + 0.025896514, + 0.0014411231, + 0.01207817, + 0.037177145, + 0.011756718, + -0.009023833, + 0.014663275, + -0.063402876, + 0.027522834, + 0.027684141, + 0.054286715, + -0.00078619155, + -0.02166511, + 0.01967988, + 0.038734853, + -0.007666675, + 0.0025923625, + 0.039609447, + 0.047852684, + -0.027374705, + -0.03989108, + -0.0066687255, + 0.003636281, + 0.102128714, + 0.044855736, + -0.045648474, + -0.033688314, + 0.015964882, + 0.027169326, + 0.023391612, + 0.02347065, + 0.01081647, + 0.10424743, + -0.015884789, + 0.0033989304, + 0.007891897, + -0.019972207, + -0.00948451, + 0.057540648, + -0.0019663475, + -0.03283864, + -0.009852462, + -0.014462661, + 0.0147261685, + -0.021758834, + 0.02504306, + 0.03528906, + 0.017606907, + -0.06492861, + -0.030254751, + 0.021392444, + 0.013339713, + -0.013976289, + -0.0015441583, + 0.0126114935, + 0.0069186417, + 0.052308075, + 0.0030448528, + -0.00039952216, + -0.036552303, + -0.021465788, + -0.049272265, + 0.027280912, + -0.0052506253, + 0.007392285, + -0.009505709, + 0.012795927, + -0.007347839, + 0.034717117, + -0.019349106, + 0.005882445, + -0.0029458217, + 0.0144448, + 0.020657293, + -0.027093846, + -0.0028898646, + 0.039492764, + -0.027540503, + 0.0017798917, + 0.06484054, + -0.020027809, + -0.019231483, + 0.003361349, + -0.023618167, + -0.008544058, + -0.023327067, + -0.0586102, + 0.022753188, + -0.015952177, + -0.0075991875, + -0.027224839, + 0.017258555, + 0.018817188, + -0.04204152, + -0.0012428517, + 0.009108912, + -0.09395956, + 0.034417603, + -0.0078269765, + -0.0076711914, + -0.007147002, + -0.058854558, + -0.097816944, + 0.06956008, + -0.03196946, + -0.014323204, + 0.03946583, + 0.04086826, + -0.032601304, + 0.07501538, + -0.033352107, + -0.015988734, + 0.00059677125, + 0.0021207482, + -0.040850945, + 0.004614095, + 0.034731396, + 0.0026614955, + 0.0027437122, + 0.02291994, + 0.009177726, + -0.0039918544, + -0.056399398, + 0.012295524, + -0.021857282, + 0.07177098, + -0.017192673, + -0.05725252, + 0.027606048, + -0.055722486, + 0.02077695, + -0.024496516, + 0.0121264085, + -0.020411538, + 0.015546106, + -0.010310181, + -0.019043384, + -0.04587609, + 0.008256876, + 0.003326774, + 0.062625185, + -0.039661195, + 0.022930583, + 0.013319754, + -0.019429067, + 0.0044484534, + -0.006801328, + 0.038983293, + -0.045859333, + -0.06055158, + 0.005653699, + -0.02293014, + -0.0439351, + -0.021201773, + -0.00811966, + 0.02352779, + -0.04538007, + -0.0013023473, + 0.023717424, + 0.006956765, + 0.009231891, + 0.044471238, + -0.011806071, + 0.0136883585, + -0.03585445, + -0.04307343, + -0.019933155, + -0.026529165, + -0.019567171, + -0.0024299128, + 0.0101758335, + 0.042602494, + 0.010621622, + 0.006754263, + -0.018988196, + -0.027333727, + -0.019074535, + -0.07391744, + -0.07630086, + -0.003753822, + -0.012608848, + -0.010569851, + 0.007983615, + 0.05467331, + -0.041383754, + 0.004349276, + 0.0030916897, + -0.043097652, + 0.01816983, + -0.02232504, + -0.01492751, + -0.006942976, + 0.043716438, + 0.017781192, + 0.04482044, + 0.02342424, + 0.00012444906, + -0.011868035, + -0.039111406, + -0.068205416, + 0.08017447, + -0.01620025, + 0.018053405, + -0.0066499873, + -0.06365092, + -0.07377435, + 0.01695616, + 0.048035838, + -0.0007837638, + -0.020760732, + -0.0639501, + -0.02768762, + -0.08270599, + 0.043684922, + 0.03463621, + -0.029172396, + 0.022519358, + 0.05933579, + 0.02868859, + -0.0180936, + -0.029723916, + 0.06517877, + 0.015978815, + -0.05657572, + -0.010451375, + 0.0144862, + 0.04680346, + -0.014593625, + 0.05163909, + 0.035031762, + 0.038964663, + -0.0057286383, + 0.02097484, + 0.04879189, + 0.0041103675, + -0.05257144, + -0.062435124, + -0.033219773, + -0.010268972, + -0.0025517093, + -0.01637949, + 0.0103345765, + 0.018540628, + 0.021436585, + -0.0031627314, + 0.04852261, + -0.083338894, + -0.04041845, + -0.004013103, + 0.04024696, + 0.0078054657, + 0.006796648, + 0.0055499226, + 0.038871758, + 0.058794122, + 0.011040547, + -0.008754591, + -0.026359115, + 0.014667317, + 0.026415132, + 0.018589137, + 0.019520879, + 0.021953262, + -0.066654906, + 0.015847027, + -0.004895391, + -0.027034407, + -0.011808961, + -0.013204883, + 0.03705234, + -0.016283628, + 0.0014855156, + -0.02122359, + 0.0052920436, + 0.010874593, + -0.047873925, + -0.012390654, + 0.047006812, + 0.0037469405, + 0.05177945, + -0.024466483, + 0.03904319, + -0.03387857, + 0.049941905, + -0.020093922, + -0.012440179, + -0.017571488, + -0.030048719, + -0.0035312385, + 0.020402893, + -0.046005365, + 0.039952666, + 0.002165838, + 0.04207546, + -0.044482265, + -0.047082417, + 0.010079182, + -0.037137285, + 0.029084682, + -0.011062026, + -0.052686896, + -0.020831773, + 0.039014596, + -0.018756501, + 0.028050201, + -0.035149254, + 0.018371534, + -0.054003768, + -0.008576073, + -0.042209774, + -0.070911504, + 0.09703849, + -0.004196938, + -0.0652345, + -0.0462964, + -0.08208431, + 0.0038673412, + -0.05561861, + -0.05175872, + -0.0017556557, + -0.04719765, + -0.0056297393, + -0.01873833, + 0.06585681, + -0.025646808, + 0.048713285, + -0.019548528, + -0.031028721, + 0.028970914, + -0.02801796, + -0.047050238, + 0.016169572, + 0.013868157, + -0.02532288, + 0.06632078, + 0.012378437, + 0.11846012, + 0.023755318, + 0.0101739485, + 0.0008019534, + 0.0153873805, + -0.024191082, + -0.004626025, + -0.07687788, + -0.0396928, + -0.004286003 + ] + }, + { + "id": "onboarding.txt-3", + "document": "onboarding.txt", + "section": "General", + "text": "General\nSMTP_HOST=\nSMTP_PORT=\nSMTP_SECURE=\nSave.\nDocker Setup\n5. Go back to project root\nCd ..\nYou should be here:\nSecureShift\nCheck:\ndir\nYou should see:\ndocker-compose.yml\napp-backend\napp-frontend\n6. Check Docker is installed\ndocker --version\ndocker compose version\n7. Stop old containers (if already running)\nBecause you already have containers:\ndocker compose down\n8. Build and start containers\nRun:\ndocker compose up --build -d\nWait until it completes.\n9. Check containers\ndocker ps\nExpected:\nsecureshift-backend\nsecureshift-db\nsecureshift-frontend-employer\nTesting\n10. Backend\nOpen:\nhttp://localhost:5000\nIf you see:\nCannot GET /\nthat is OK.\n11. Swagger API\nOpen:\nhttp://localhost:5000/api-docs\nYou should see API documentation.\n12. Frontend\nOpen:\nhttp://localhost:3000\nYou should see:\nEmployer Panel\nUseful Docker Commands\nSee logs\nBackend:\ndocker logs secureshift-backend\nFrontend:\ndocker logs secureshift-frontend-employer\nDatabase:\ndocker logs secureshift-db\nRestart everything\ndocker compose restart\nStop everything\ndocker compose down\nAfter making code changes\ndocker compose up --build -d\nGit workflow after changes\nCheck changes:\ngit status\nAdd:\ngit add .\nCommit:\ngit commit -m \"Setup local environment\"\nPush your branch:\ngit push origin frontend/…………\n7.Understanding the Frontend Project Structure\nYou will mainly work within the following folders:\nsrc/\ncomponents/\npages/\nlayouts/\nhooks/\nservices/\nroutes/\nassets/\nutils/\nExample\nSuppose you are assigned the task:\n\"Improve the Payroll Page.\"\nYou may need to modify:\npages/Payroll.jsx\nservices/payrollService.js\ncomponents/PayrollTable.jsx\nThe page displays the data, the service communicates with the backend, and the component\npresents reusable UI elements.\n8.How Frontend Communicates with Backend\nMost pages follow the same flow:\n1. User performs an action.", + "embedding": [ + 0.01239477, + 0.067192875, + -0.12363939, + 0.011099099, + 0.02873102, + -0.07884794, + 0.057335123, + 0.033471342, + -0.00855461, + -0.050434582, + -0.04394302, + 0.023747012, + 0.08686817, + 0.027251713, + -0.0039968938, + 0.023482166, + 0.038349558, + -0.021663377, + 0.036311813, + 0.01585696, + 0.0010940762, + -0.038627926, + -0.028882734, + -0.006870366, + 0.02946001, + 0.06671059, + -0.012763753, + 0.025111489, + -0.05791783, + -0.0008813046, + 0.056321833, + 0.017715741, + 0.004740331, + -0.035871524, + -0.014804043, + -0.09114378, + -0.03683551, + -0.044771638, + -0.026427276, + 0.017953921, + -0.024309004, + -0.022728644, + -0.01389353, + -0.080995746, + 0.00079069403, + -0.015274074, + 0.037183277, + -0.06510193, + 0.06349469, + -0.050811972, + -0.007894673, + -0.03895019, + -0.007593674, + -0.061592583, + 0.014151216, + -0.027075415, + -0.03641474, + 0.034267582, + 0.013704424, + -0.024346156, + 0.0250266, + 0.06935896, + -0.002930241, + 0.07495335, + 0.038357023, + 0.06897171, + -0.025861708, + 0.059828006, + 0.025284454, + 0.018999547, + 0.03696564, + 0.012801983, + -0.025461601, + -0.004819598, + 0.01020025, + 0.047441885, + -0.0048028384, + 0.00966932, + -0.050911877, + 0.03877908, + 0.06316168, + -0.053988826, + 0.06755087, + 0.0048376825, + 0.03843757, + 0.0040815473, + -0.03439732, + 0.01243544, + -0.059650216, + 0.05167433, + -0.029141732, + -0.039826088, + -0.0045815944, + 0.06733718, + -0.04517992, + 0.0015031076, + -0.021518338, + 0.054501, + -0.028697276, + -0.045719676, + -0.029346416, + -0.032628387, + 0.00007917831, + 0.026118668, + -0.018573817, + 0.062220797, + -0.02444783, + 0.023501404, + 0.06908117, + 0.0009940796, + -0.023112394, + -0.0014411282, + 0.017948436, + 0.013868626, + 0.026945254, + -0.04139521, + 0.076143995, + -0.027041357, + 0.038054742, + 0.044692773, + -0.017040262, + -0.002090445, + 0.0061493167, + 0.009744966, + 0.080343075, + 0.023474216, + -0.026495894, + -0.023653777, + 0.043292254, + -0.03121964, + 0.01967345, + -0.07356021, + -0.1031504, + -0.0074407873, + 0.017269367, + 0.0575382, + -0.043264247, + -0.0049669803, + 0.025686447, + -0.017901665, + 0.017576413, + 0.05527768, + 0.0057361526, + -0.00007880899, + -0.019121679, + -0.023665637, + 0.009166743, + -0.035966344, + -0.012144986, + 0.0632904, + 0.006456745, + 0.019752927, + 0.011116752, + 0.03476818, + 0.027443687, + -0.07881678, + -0.004388806, + 0.011546938, + 0.06643448, + 0.047289856, + 0.06273553, + -0.018787326, + -0.033530165, + 0.035091676, + 0.011858652, + 0.006276859, + -0.018637192, + 0.03246136, + -0.033294432, + 0.0650523, + -0.020736597, + -0.072550386, + -0.039804593, + 0.04353169, + -0.014939615, + -0.043458592, + 0.04872098, + -0.05347487, + 0.030978894, + 0.010914205, + 0.032508187, + -0.0020978234, + 0.03329755, + -0.026548441, + -0.044700745, + 0.013415018, + -0.002505672, + -0.029363563, + 0.021863554, + -0.025091898, + 0.027427193, + 0.022181718, + -0.02919458, + -0.0013406767, + -0.034357596, + -0.03007574, + 0.01800597, + -0.029658588, + 0.000604366, + -0.0171864, + -0.013733446, + 0.05106192, + -0.025587866, + 0.04662924, + -0.043580655, + 0.047764324, + -0.0051899888, + 0.0077808313, + 0.0052879457, + -0.016698837, + 0.06372029, + -0.027924525, + -0.005186901, + -0.054151166, + 0.045896113, + 0.0000798084, + 0.022645092, + 0.016600007, + -0.007951935, + -0.005033759, + -0.0016357393, + -0.039504517, + 0.06450986, + -0.04094139, + 0.038937513, + -0.0020334874, + -0.056172665, + 0.003916301, + 0.022769049, + 0.041344482, + -0.015762392, + -0.03655818, + -0.029748047, + 0.028029421, + -0.013955117, + 0.020754538, + 0.0073827244, + 0.047430046, + -0.029934254, + 0.045294866, + 0.029411511, + 0.028667359, + -0.008369796, + -0.018473659, + -0.018314328, + 0.022317214, + 0.053175054, + -0.072287634, + 0.048923776, + 0.009215388, + 0.022059565, + -0.0071654855, + 0.06908502, + -0.007843926, + 0.025267143, + -0.04913081, + -0.03348533, + -0.011022833, + -0.01948101, + -0.09551653, + 0.016218852, + -0.047952343, + -0.012146544, + 0.028646765, + -0.015039289, + -0.06343942, + -0.069299355, + 0.008697987, + 0.03908565, + -0.04132104, + 0.0043836674, + 0.014529219, + 0.010483947, + 0.05313644, + -0.011886418, + 0.006775132, + -0.027927978, + -0.0026903013, + -0.0018005494, + 0.070539296, + -0.050441038, + -0.035036236, + 0.007996123, + 0.006300213, + -0.0008925001, + 0.018715395, + 0.005961747, + -0.017105032, + 0.018716414, + -0.008741729, + 0.0778418, + -0.01564387, + -0.033097588, + 0.025397794, + 0.013897626, + 0.00079625007, + 0.013334126, + -0.026636017, + -0.02172548, + -0.03129889, + 0.049837228, + 0.06248518, + 0.06902986, + 0.044099018, + 0.010900282, + -0.0038778426, + 0.045622203, + 0.035800572, + 0.0005844215, + 0.03354848, + 0.0020887875, + -0.0041227643, + -0.019805256, + 0.053191993, + -0.028007947, + 0.044868946, + 0.038211852, + 0.030698067, + 0.018391538, + -0.03826434, + -0.021613281, + 0.0070436154, + -0.042403217, + -0.08264827, + 0.027050957, + 0.0500797, + -0.016616592, + 0.026695628, + -0.0366006, + -0.020285856, + 0.029715275, + 0.05183758, + 0.0058458676, + -0.010912518, + -0.016772745, + -0.021242768, + 0.0073101656, + 0.0139416205, + 0.01969598, + 0.009150297, + 0.07369833, + -0.034205664, + -0.0020339508, + -0.023455877, + -0.037408836, + 0.0070815156, + -0.005638276, + -0.0022766395, + 0.07283331, + 0.047129422, + -0.034087036, + 0.028496504, + 0.0003702618, + 0.048299957, + -0.03557525, + -0.04387394, + -0.011075088, + -0.0026576365, + -0.06258819, + 0.022530342, + 0.0288142, + 0.007343199, + 0.0137063, + 0.00606756, + 0.005537001, + 0.023729233, + 0.020095667, + 0.0008018426, + 0.019028323, + 0.038610246, + 0.0026147787, + -0.03425882, + -0.0016259562, + 0.037704036, + 0.010849768, + 0.016915923, + -0.05137758, + 0.013014955, + 0.024230506, + -0.003013976, + 0.066357404, + 0.04155474, + -0.014605535, + -0.0010781066, + 0.020191815, + 0.013442604, + 0.025784686, + 0.024483284, + 0.030061884, + 0.059722304, + 0.032018904, + -0.051888637, + -0.032111965, + 0.003539059, + 0.029081592, + 0.014604629, + 0.015148168, + 0.05379258, + -0.0057099108, + 0.047259275, + -0.056578953, + -0.04307888, + -0.011267311, + -0.012130406, + -0.020055983, + -0.03345096, + -0.051469836, + -0.02052265, + 0.0009886626, + -0.04945885, + 0.043738205, + 0.010440819, + -0.016343733, + -0.028133811, + -0.005391447, + -0.037705623, + 0.07477576, + -0.007739256, + -0.023881203, + -0.04519301, + 0.022771686, + 0.06740893, + 0.033774577, + -0.011478038, + 0.0394631, + 0.031834263, + 0.0033196465, + 0.00048730546, + 0.008261897, + -0.051174536, + -0.016238173, + 0.043729093, + 0.081929594, + -0.016544819, + -0.012192045, + 0.008859807, + 0.06611364, + -0.01964108, + -0.05162981, + 0.05677872, + 0.034186263, + -0.014201029, + -0.034513388, + -0.029352043, + 0.012377274, + 0.07378745, + -0.004389726, + -0.04273037, + -0.051621642, + -0.011186992, + -0.041116323, + 0.02344968, + 0.009978806, + 0.0074754097, + 0.0763275, + 0.013998021, + -0.022144938, + -0.015515588, + -0.046648975, + -0.02302953, + 0.02180757, + -0.03305999, + 0.0067864517, + -0.02445523, + -0.01078863, + 0.014393087, + 0.011523941, + -0.019893648, + 0.04679408, + 0.03894188, + -0.040268727, + -0.032667406, + 0.032005075, + -0.0058051287, + 0.043738395, + -0.02241158, + 0.013696387, + 0.030475179, + -0.00036172353, + -0.008468084, + 0.0057737115, + 0.011000011, + -0.05365855, + -0.048880473, + 0.042526387, + 0.046182785, + 0.0157591, + -0.04329509, + 0.010763909, + 0.015701095, + 0.006985891, + -0.03674831, + -0.02886063, + 0.04975755, + 0.02746217, + -0.008432886, + -0.009163435, + -0.009649848, + 0.014877907, + -0.009441362, + 0.02198344, + 0.058259513, + -0.0016718032, + 0.04046559, + -0.0007560478, + -0.0065139225, + 0.0026564351, + -0.059500877, + -0.05911706, + -0.028224107, + -0.0028316176, + -0.033175923, + -0.04657827, + -0.0019466142, + 0.05776854, + -0.049693655, + 0.009354015, + 0.037612364, + -0.042482708, + 0.06460293, + -0.02782457, + -0.018196367, + -0.02699237, + -0.07334726, + -0.09164895, + 0.05047792, + -0.029364657, + 0.009392186, + 0.020889165, + -0.013491502, + -0.06697558, + 0.076809846, + -0.010741194, + -0.04611142, + 0.01615273, + 0.001870629, + -0.022150015, + 0.003206734, + 0.04049017, + 0.017932663, + -0.040291656, + 0.031177312, + -0.02073942, + 0.043294143, + -0.086294465, + -0.03234264, + -0.0022336615, + 0.055305973, + -0.052027732, + -0.08476143, + 0.03469391, + -0.028980039, + -0.00298246, + -0.025988782, + 0.03635917, + -0.005358721, + 0.017445846, + -0.022161508, + -0.016921388, + -0.06901352, + -0.006069966, + 0.037768405, + 0.056383148, + -0.027746381, + 0.013978237, + -0.01159237, + -0.008672627, + 0.020640172, + 0.018070275, + 0.088663146, + 0.00031743405, + -0.027249802, + 0.012089911, + -0.012970037, + -0.04498428, + 0.007916969, + -0.038322467, + 0.032205928, + -0.0479734, + -0.026224026, + 0.0371387, + 0.010448021, + 0.059050336, + 0.034117986, + -0.015243253, + 0.026650907, + -0.023119029, + -0.052526865, + -0.017377457, + 0.0028327114, + -0.000653947, + -0.029553564, + 0.04575189, + 0.021795437, + 0.017043315, + 0.030442107, + 0.027000738, + -0.006896402, + 0.006543582, + -0.018920768, + -0.061734743, + 0.022283139, + -0.010668482, + -0.013798725, + -0.015642753, + 0.03292747, + 0.028768715, + 0.058490716, + -0.0070081507, + -0.010847705, + 0.04048171, + -0.01342828, + -0.04434943, + 0.004916697, + 0.03760565, + -0.04592733, + 0.048962727, + 0.024590993, + -0.04316541, + -0.035986844, + -0.034659103, + -0.05478456, + 0.058328543, + -0.012042125, + 0.01668367, + 0.013925324, + -0.012233648, + -0.058202736, + -0.02375944, + 0.032309983, + 0.012061939, + 0.041028757, + -0.06670132, + -0.014358287, + -0.062159885, + 0.012098818, + 0.032041732, + -0.0025145637, + -0.0038833627, + 0.04648474, + 0.045301862, + -0.002490903, + -0.036080524, + 0.046763353, + -0.039230645, + -0.041087635, + -0.023974376, + -0.022687458, + 0.03459053, + 0.010316361, + 0.052293085, + 0.02516541, + 0.021917682, + -0.0038557593, + 0.028707115, + -0.0013129759, + 0.016045036, + -0.053727526, + -0.033385605, + -0.036842056, + 0.042629957, + 0.0073351557, + -0.025232272, + -0.03935661, + 0.038124137, + 0.05625698, + -0.0104513215, + 0.03596903, + -0.05167312, + 0.017100621, + -0.012431819, + 0.036924165, + -0.013845368, + 0.004982562, + 0.041994557, + 0.040892154, + 0.05962285, + -0.018539028, + 0.023013027, + -0.035577867, + 0.04666994, + 0.013910636, + -0.018075632, + 0.04744119, + -0.0048641902, + -0.05806772, + -0.010510976, + -0.05317614, + -0.06823902, + -0.024777595, + -0.014063057, + 0.02311907, + -0.021183059, + 0.053843997, + -0.023736376, + -0.028028622, + -0.014254096, + -0.049521334, + -0.052009672, + 0.011118802, + -0.0074990536, + 0.03817511, + -0.015561417, + 0.01650297, + -0.018837294, + -0.0055808634, + -0.050353806, + -0.033872772, + -0.005339277, + -0.063470565, + 0.002265348, + 0.008048316, + 0.0065459884, + 0.021156931, + 0.020925267, + 0.06517318, + -0.007671353, + -0.050889965, + -0.0036253533, + -0.03282874, + 0.03158153, + -0.009860898, + -0.025106827, + -0.032554943, + 0.051796783, + -0.0048202467, + 0.062376685, + -0.05454569, + -0.013077222, + -0.028506335, + 0.02812396, + -0.030375682, + -0.047730446, + 0.06602625, + 0.00053255435, + -0.055353217, + -0.032929413, + -0.072393045, + -0.03614563, + -0.048428282, + -0.024674684, + -0.04862966, + -0.053533975, + 0.03455507, + -0.0015135038, + 0.007900312, + -0.01731914, + -0.004106594, + 0.007356677, + -0.03466816, + 0.06574348, + 0.00931577, + -0.052343268, + 0.0020625994, + -0.021813774, + -0.03927393, + 0.00093656906, + -0.024399368, + 0.07174197, + -0.0020408805, + 0.031648666, + 0.002909578, + -0.002751911, + 0.0007894154, + -0.04387776, + -0.064847946, + -0.040957674, + -0.024167106 + ] + }, + { + "id": "onboarding.txt-4", + "document": "onboarding.txt", + "section": "General", + "text": "General\n2. React component captures the event.\n3. Axios sends a request to the backend API.\n4. Backend processes the request.\n5. MongoDB stores or retrieves data.\n6. Backend returns a response.\n7. React updates the interface.\nExample\nWhen an employer approves a shift:\nUser clicks \"Approve\"\n↓\nReact calls\nPOST /api/shifts/approve\n↓\nBackend validates request\n↓\nDatabase updates\n↓\nFrontend refreshes\n↓\nStatus changes to \"Approved\"\n9.Git Workflow\nWe follow a feature-branch workflow.\nNever develop directly on the main branch.\nTypical workflow:\n1. Pull the latest main branch.\n2. Create a new feature branch.\n3. Implement your feature.\n4. Test locally.\n5. Commit changes.\n6. Push your branch.\n7. Create a Pull Request.\n8. Wait for review before merging.\nExample branch names:\nfrontend/yourname-payroll-page\nfrontend / yourname -dashboard-improvements\nfrontend / yourname -chat-notification\nfrontend / yourname -equipment-management\n10.Coding Standards\nTo maintain consistency across the project:\n• Follow ESLint rules.\n• Use Prettier formatting.\n• Write reusable React components.\n• Keep components modular.\n• Avoid unnecessary duplication.\n• Write meaningful commit messages.\n• Keep Pull Requests focused on one feature.\n11.Current Project Status\nThe previous team completed significant development across the project.\nEmployer Panel\nCompleted:\n• Timesheets\n• Payroll\n• Daily Activity Tracking\n• Employer Dashboard\n• Chat System\n• Notifications\n• Equipment Management\n• Multi-language Support\n• Privacy Policy\n• Terms and Conditions\n• UI Improvements\n• Bug Fixes\n• Security Improvements\n12.Current Priorities for This Trimester\nAs the new Frontend Team, our priorities include:\n• Completing remaining backend integrations.", + "embedding": [ + 0.0067694783, + 0.033339337, + -0.14286102, + -0.053946815, + 0.07827188, + -0.1056945, + 0.05252157, + -0.011099712, + 0.017878613, + -0.05963587, + -0.001530423, + 0.053386357, + 0.09084366, + 0.052340448, + 0.0013003749, + -0.044384822, + 0.025640443, + -0.025830494, + -0.027677258, + 0.046149112, + 0.026121065, + -0.047587, + -0.003083749, + -0.011582577, + 0.05132297, + 0.06639667, + -0.0012003337, + 0.03260097, + -0.005067564, + -0.024283294, + 0.01434655, + 0.029403295, + 0.0012295585, + -0.019407922, + -0.0002660109, + -0.056485835, + -0.006925908, + 0.003965989, + -0.04211178, + 0.017613411, + 0.019695641, + 0.02014524, + -0.0051217745, + -0.025092801, + 0.07691484, + -0.042000543, + 0.07341963, + -0.052100487, + 0.078072116, + -0.046154905, + -0.00032990254, + -0.004006936, + -0.022982564, + -0.008222962, + 0.04535864, + 0.0027229656, + -0.0242581, + 0.048067678, + 0.040640324, + -0.08760765, + 0.06680726, + 0.021978233, + 0.006497858, + 0.07509727, + 0.040123876, + 0.021504411, + -0.048556793, + 0.066112936, + 0.011927433, + -0.0050183153, + 0.008214046, + 0.013393787, + -0.02014407, + 0.03265996, + -0.011607347, + -0.005235297, + -0.013720693, + -0.057342418, + -0.05158707, + 0.013269592, + 0.02932862, + -0.016482245, + 0.045712456, + -0.00665474, + 0.043376688, + -0.023367133, + -0.028279325, + -0.027420485, + -0.06991602, + 0.080953926, + 0.02661227, + -0.041033175, + 0.016051143, + 0.011472539, + -0.0955757, + 0.01991052, + -0.047356907, + -0.0098607475, + -0.02689272, + -0.027908264, + -0.016576044, + -0.05147537, + -0.031025028, + -0.012900071, + 0.007519753, + 0.02132909, + -0.045867212, + 0.016093729, + 0.017758006, + -0.015559394, + -0.051865596, + 0.0053235195, + -0.0019974303, + -0.017717501, + 0.003218494, + -0.019802123, + 0.070767574, + -0.016668623, + -0.014004581, + 0.05866352, + -0.009015865, + 0.031365965, + -0.03336896, + -0.01983855, + -0.0030738844, + -0.026042873, + -0.025037512, + -0.034698382, + 0.028919807, + -0.014327681, + -0.021149589, + -0.03344137, + -0.056993965, + 0.011160028, + 0.024306912, + 0.07715879, + -0.060979545, + -0.015862277, + 0.030717019, + -0.021381456, + 0.044791233, + 0.01762538, + -0.058343783, + 0.026356965, + -0.0024878054, + -0.030200666, + 0.022710767, + -0.026059773, + 0.0076561267, + 0.02977293, + 0.0078553045, + -0.007072792, + 0.0022497133, + 0.03843434, + 0.04017226, + -0.07645299, + -0.012592096, + -0.009823264, + 0.0040426655, + 0.028094703, + 0.06886451, + -0.03892401, + -0.042336866, + 0.070546135, + 0.0018544891, + -0.053283326, + -0.021957755, + 0.020144323, + 0.02644571, + 0.042976916, + -0.061842937, + -0.030024383, + -0.033953812, + 0.039271563, + -0.00094884646, + -0.0034083065, + 0.029721798, + -0.030006625, + 0.04870011, + -0.019012725, + 0.038373385, + -0.04693272, + 0.013996361, + 0.027707148, + -0.006655155, + -0.010704184, + 0.022949908, + -0.04914142, + 0.0042470302, + -0.04154817, + 0.02006301, + 0.014360028, + -0.056924347, + -0.002181592, + -0.04802365, + -0.029533643, + -0.032205336, + -0.0536362, + -0.027417567, + -0.020924509, + -0.02447057, + 0.0012642754, + -0.039409734, + 0.049549483, + -0.009992026, + 0.05413039, + 0.0040114806, + 0.032615744, + -0.035346504, + 0.0022464504, + 0.080488965, + -0.02976395, + -0.029246345, + -0.021992449, + -0.00044552915, + 0.014360016, + 0.009460404, + -0.024561998, + 0.013319169, + 0.008098432, + 0.002246719, + -0.051205777, + 0.031235814, + -0.028638303, + 0.029413339, + 0.011637201, + -0.0358093, + -0.021587284, + -0.021517664, + 0.014246157, + -0.0016431368, + -0.018242197, + -0.011211669, + -0.0146604385, + 0.0076149693, + 0.01889612, + 0.0045783743, + 0.020830378, + 0.019696563, + 0.013404221, + 0.017585048, + 0.027109755, + 0.04697638, + 0.0074747466, + -0.069134064, + 0.007999527, + 0.019755244, + -0.00552018, + 0.016906776, + 0.074684985, + 0.0026493745, + 0.025367016, + 0.016729265, + 0.022794273, + 0.024893925, + -0.043326903, + -0.00055590924, + 0.011490741, + 0.04313638, + -0.04203645, + -0.004013589, + -0.025227146, + 0.054001898, + -0.004442164, + -0.0065041534, + -0.05841158, + -0.041549668, + 0.01035762, + -0.000041539388, + -0.038309038, + 0.010785468, + 0.052205488, + -0.033876307, + 0.05330782, + -0.006408955, + 0.020071637, + 0.04144195, + -0.028294023, + -0.006561788, + 0.049383067, + -0.0045693093, + -0.05008527, + 0.029362781, + 0.033090133, + -0.023139697, + 0.05961369, + 0.0014231761, + -0.016425481, + 0.0036718585, + -0.0017264549, + 0.04955828, + -0.02462708, + -0.014240214, + 0.003709161, + -0.025350498, + -0.008358582, + 0.04192894, + -0.028441513, + 0.0038594047, + -0.01279085, + 0.011174065, + 0.036079355, + 0.06540906, + 0.04493346, + 0.006734064, + -0.04655773, + -0.009376686, + 0.0075275367, + 0.0011200892, + 0.06856803, + -0.035264473, + 0.014636424, + -0.047595285, + 0.030090688, + -0.050871454, + 0.057249848, + -0.00004500617, + 0.026602685, + 0.065775394, + 0.0007526241, + 0.0018165142, + -0.064634554, + -0.008827361, + -0.049759414, + 0.014519506, + 0.055772774, + -0.037237085, + 0.05007702, + -0.03238244, + -0.0006507632, + 0.041206855, + 0.05075441, + 0.012618658, + -0.05293427, + 0.0008406458, + 0.035866022, + 0.01863416, + 0.019171862, + 0.022748187, + 0.039296936, + 0.061658435, + -0.07198415, + 0.023003327, + -0.048396584, + 0.023366531, + -0.037189532, + 0.0020978663, + -0.036394022, + 0.05137789, + 0.04469988, + -0.049754657, + 0.01574643, + -0.017024066, + -0.008036519, + 0.022767581, + -0.042079136, + 0.023392944, + 0.055577725, + -0.03863787, + 0.034193307, + 0.041748468, + -0.0072797653, + 0.026680142, + -0.005423396, + -0.00087325636, + 0.0032808823, + 0.04669029, + -0.023584148, + 0.043252066, + -0.0029515268, + 0.02858364, + -0.016408287, + -0.031306226, + 0.043370146, + 0.05027491, + -0.006421487, + -0.08963789, + 0.017373089, + 0.019212568, + -0.0014698729, + 0.049459085, + 0.030076612, + -0.00017507235, + 0.0056394674, + 0.035686404, + -0.012915265, + 0.019035783, + -0.0059801214, + -0.0019282001, + 0.015665427, + 0.012920248, + -0.066937126, + -0.033954594, + 0.01059848, + 0.020237157, + -0.056116737, + 0.041252304, + 0.010368025, + 0.010145627, + 0.071557716, + -0.08600549, + -0.039273612, + 0.018064631, + 0.0073015075, + 0.015896978, + 0.0026108308, + -0.028018482, + -0.016444433, + 0.012001913, + -0.016722847, + 0.060034066, + 0.042303592, + -0.0105274115, + -0.018315863, + 0.025179042, + -0.058219004, + 0.062019087, + -0.0030554975, + -0.06957735, + -0.051981512, + 0.03765441, + 0.031321093, + 0.011977901, + 0.04576722, + 0.010204238, + 0.012570279, + -0.00032123263, + -0.0031097967, + 0.0035435662, + -0.04872964, + 0.015007163, + 0.03365216, + 0.06840618, + -0.04357425, + -0.048016787, + 0.0058020195, + 0.021006726, + 0.017040879, + -0.015482809, + 0.035632256, + 0.04022742, + -0.029062063, + -0.030029848, + -0.009454507, + 0.032059915, + 0.111033924, + -0.007845024, + -0.03273448, + -0.02388859, + 0.0150482915, + -0.0225972, + 0.035702325, + 0.015113223, + 0.024001315, + 0.090908654, + 0.0064885654, + 0.036697216, + 0.0178117, + -0.018646078, + 0.02513442, + -0.020376522, + -0.027309153, + -0.026052754, + 0.015762907, + 0.02581715, + 0.013811553, + 0.023496235, + 0.032404725, + 0.008206583, + 0.06572665, + -0.06883623, + -0.0036686012, + 0.04272015, + -0.014427212, + -0.008423651, + 0.0065522343, + 0.011395119, + 0.022175487, + 0.06369308, + 0.061183747, + -0.011796558, + -0.012983106, + -0.051911894, + -0.052603, + -0.01979923, + -0.017770577, + 0.0477094, + -0.015991464, + 0.025371632, + -0.012309783, + 0.052235015, + 0.025434623, + -0.00019036896, + -0.0030862377, + 0.012689078, + 0.016426936, + -0.059030347, + 0.025430342, + 0.014810519, + 0.003049181, + -0.0051617213, + 0.032541633, + -0.009356318, + 0.009297195, + -0.000844418, + -0.022321213, + -0.0139806485, + -0.060198452, + -0.059527118, + -0.0035938837, + 0.003560396, + -0.0015290149, + -0.002324257, + 0.03991879, + 0.023411993, + -0.026418354, + -0.0056712646, + 0.014598502, + -0.07299915, + 0.022849515, + -0.03664158, + -0.011949462, + -0.0127920965, + -0.07665783, + -0.058303524, + 0.028773047, + -0.0153648835, + -0.022578739, + 0.045887172, + 0.044254165, + -0.050654158, + 0.06923019, + -0.027094658, + 0.03642393, + 0.018569129, + -0.003532745, + -0.070568725, + 0.03809165, + 0.050205845, + 0.03148099, + -0.01833029, + 0.04603124, + -0.012393301, + -0.0061487816, + -0.022814032, + -0.035383552, + 0.019848416, + 0.048765473, + 0.011893574, + -0.05231723, + 0.032213748, + -0.0025397134, + 0.030944776, + -0.037822954, + 0.023120936, + -0.036286343, + 0.00254399, + -0.046105064, + 0.0038584701, + -0.04674364, + 0.028206494, + -0.00017274474, + 0.04277659, + -0.037082892, + 0.020692946, + -0.044358075, + -0.018798769, + 0.023312084, + 0.0034391293, + 0.02928503, + 0.007275051, + -0.09170586, + 0.02834787, + -0.026463857, + -0.03675625, + 0.0010256864, + -0.01965802, + 0.015226106, + -0.054752424, + 0.0165585, + 0.02434301, + 0.008639955, + 0.020788683, + 0.041521326, + -0.02386952, + 0.021895124, + -0.032352116, + -0.013479804, + -0.005530669, + -0.028820913, + 0.013909441, + -0.04288879, + 0.015883865, + 0.016565094, + 0.008223134, + 0.0025078196, + 0.0042720847, + -0.027961792, + -0.027007993, + -0.033829935, + -0.036194824, + -0.0069981893, + 0.011049572, + -0.004509897, + 0.0030284678, + 0.051670816, + -0.008113034, + 0.023194378, + -0.004708184, + -0.037672527, + 0.019343922, + 0.029648049, + 0.02449723, + 0.008489877, + 0.024623305, + 0.0025417167, + 0.012448189, + -0.00039473188, + 0.030305507, + -0.037999425, + -0.051113207, + -0.07401767, + 0.062404368, + 0.007334121, + 0.01953289, + -0.024381416, + -0.042829543, + -0.02310324, + -0.02370989, + 0.038020223, + -0.045050837, + 0.06917216, + -0.078693025, + -0.024608184, + -0.060141746, + 0.018929413, + -0.009875413, + -0.03586741, + -0.018031022, + 0.062015925, + 0.08291046, + 0.0077554504, + -0.026751222, + 0.06135305, + -0.02024932, + -0.05021327, + 0.02455135, + 0.068496935, + 0.044248156, + -0.032356262, + 0.11024358, + 0.058628783, + 0.03838443, + 0.020198215, + 0.0131680425, + 0.0377697, + -0.010859768, + -0.016434966, + -0.0376776, + 0.01358802, + 0.03558989, + -0.005078997, + 0.005391179, + 0.035411734, + 0.01858219, + 0.022805622, + -0.00070993335, + 0.013227046, + -0.046072353, + -0.039698947, + 0.00023055336, + 0.023632078, + 0.019431772, + 0.028097598, + 0.004618773, + 0.033295732, + 0.078184225, + 0.009428145, + 0.013220609, + -0.0180657, + -0.001924526, + 0.016196363, + -0.00043993635, + -0.010174913, + -0.017806008, + -0.06565337, + -0.040722787, + 0.021144936, + -0.010986847, + -0.01428476, + -0.028491266, + 0.0016497264, + -0.030818585, + -0.008440629, + -0.020766743, + 0.018540792, + -0.029474309, + -0.05144279, + -0.03651863, + 0.0051179524, + -0.0057133385, + 0.07841136, + 0.0046850136, + -0.0010012997, + 0.010198292, + 0.032857765, + 0.0021994216, + -0.046243057, + 0.0023314003, + -0.020042682, + -0.0422733, + 0.026931645, + -0.055716794, + 0.002883528, + 0.0079473015, + 0.06292336, + -0.013528445, + -0.020579966, + 0.017059455, + -0.016474735, + -0.010339022, + -0.005765216, + -0.063859984, + -0.026086811, + 0.025940984, + -0.0025061995, + 0.020653998, + -0.048053265, + 0.0147485975, + -0.022728717, + 0.003765825, + -0.04746368, + -0.07138998, + 0.09263969, + -0.019165745, + -0.019025613, + -0.01768093, + -0.057150505, + -0.066698916, + -0.053393625, + -0.029630888, + -0.008787777, + -0.06240192, + 0.0035979925, + -0.042645477, + 0.017577581, + -0.0121616805, + 0.08272993, + 0.01918525, + -0.017454691, + 0.011174661, + -0.03273176, + -0.05111826, + -0.032919135, + -0.03313317, + -0.006737825, + 0.0041610347, + 0.0089439945, + 0.09374435, + 0.030425588, + 0.030537618, + 0.051689375, + -0.010733908, + -0.071467325, + -0.038231652, + -0.072273366, + -0.0607652, + -0.047964744 + ] + }, + { + "id": "onboarding.txt-5", + "document": "onboarding.txt", + "section": "General", + "text": "General\n• Implementing newly designed Figma pages.\n• Improving application performance.\n• Fixing existing bugs.\n• Strengthening frontend security.\n• Increasing test coverage.\n• Supporting AI feature integration.\n• Improving overall user experience.\n13.Known Issues\nSome issues remain from the previous trimester.\nGuard Page\nCurrently blocked due to a backend Role-Based Access Control (RBAC) issue.\nThe frontend implementation is mostly complete but cannot retrieve guard data until the backend\nissue is resolved.\n14.Team Communication\nOur primary communication platforms are:\n• Microsoft Teams\n• GitHub\n• MS Planner\nPlease keep your Planner tasks updated and communicate any blockers early.\nIf you are stuck on a task for an extended period, ask for assistance rather than waiting.\n15.Pull Request Checklist\nBefore submitting a Pull Request, ensure that:\n• The application builds successfully.\n• Your feature has been tested locally.\n• ESLint passes without errors.\n• No unnecessary files are included.\n• Screenshots are attached (where applicable).\n• The Pull Request description clearly explains your changes.\n16.Resources\nPlease familiarise yourself with the following resources before starting development:\n• GitHub Repository\n• Swagger API Documentation\n• System Architecture Document\n• Entity Relationship Diagram (ERD)\n• Figma Designs\n• User Manual\n• MS Planner\n17.Tips for Success\n• Pull the latest changes regularly.\n• Test before committing.\n• Keep commits small and meaningful.\n• Read the API documentation before integrating endpoints.\n• Ask questions whenever something is unclear.\n• Collaborate with teammates and support one another.", + "embedding": [ + 0.047867626, + 0.03812039, + -0.15826346, + -0.031006074, + 0.04045628, + -0.044199504, + 0.06391742, + 0.008354415, + 0.0019445063, + -0.02611201, + 0.036159106, + 0.00315163, + 0.05855093, + 0.050861474, + 0.0050620604, + 0.013530252, + 0.0049980157, + -0.024251936, + -0.060473587, + 0.046576846, + 0.048528995, + -0.036007315, + -0.023528898, + -0.004053731, + 0.07207324, + 0.057437602, + -0.00031095155, + 0.014805587, + -0.03180134, + 0.019514093, + 0.054338627, + 0.008622346, + -0.019771758, + -0.022672813, + 0.018806634, + -0.028245341, + 0.018604869, + 0.013526735, + -0.024591457, + 0.04581514, + 0.044676643, + -0.025352096, + -0.021419035, + -0.028112479, + 0.0349773, + -0.004507202, + 0.0789724, + -0.05461374, + 0.0692766, + -0.05872699, + 0.0125638805, + 0.011892157, + 0.017628482, + 0.0029527883, + 0.017644698, + -0.029419575, + -0.008596183, + 0.014777886, + 0.0025147689, + -0.07684145, + 0.0817419, + 0.0418953, + -0.04446146, + 0.06734734, + -0.003448616, + -0.013625334, + -0.038680717, + 0.027222173, + -0.040232822, + -0.011465534, + 0.012891956, + -0.006547604, + 0.014470333, + 0.026287159, + -0.036350306, + 0.017354434, + -0.048671376, + -0.055435847, + -0.05362793, + -0.0078143, + 0.021145102, + 0.017293042, + 0.019309936, + -0.012837728, + 0.07532171, + 0.0072641405, + -0.061407547, + -0.03481279, + -0.06166595, + 0.09233606, + 0.004262784, + 0.0080028, + -0.0346378, + 0.001970596, + -0.07232503, + 0.048519436, + -0.013219067, + -0.047988914, + -0.034347158, + -0.043917786, + -0.03576881, + -0.003504742, + -0.017117362, + 0.017837856, + -0.009096851, + 0.03696224, + -0.015472855, + 0.024387969, + 0.014447037, + 0.029517183, + -0.03676233, + 0.0022896924, + -0.027691048, + -0.008296677, + -0.0069577354, + -0.024848972, + 0.060466405, + -0.03845603, + 0.015926156, + 0.044931717, + -0.02874811, + -0.021970682, + 0.0507284, + -0.035216738, + 0.037893772, + -0.01563947, + -0.042056307, + -0.026803406, + 0.014144034, + -0.028830599, + -0.023548912, + -0.05436343, + -0.07102711, + 0.029941801, + 0.008008345, + 0.122071765, + -0.05240893, + 0.010840958, + 0.010124949, + -0.022379069, + 0.017730672, + 0.027305357, + 0.0020266129, + 0.0010054497, + 0.02062141, + -0.054389153, + 0.001807053, + 0.00882919, + -0.032410584, + 0.012193458, + -0.018017333, + 0.008989634, + -0.012817109, + 0.017515479, + 0.04583722, + -0.06837523, + -0.049867585, + -0.011421546, + 0.029941093, + 0.0029499216, + 0.07259889, + -0.03023696, + -0.061260194, + 0.08572449, + 0.016626686, + -0.048867457, + 0.0056364313, + 0.048539158, + 0.02496173, + 0.022144245, + -0.04042151, + -0.0039056193, + -0.01761486, + 0.025123097, + 0.03439165, + -0.028258182, + 0.055851728, + -0.048315153, + 0.017276075, + -0.027747735, + 0.029866815, + -0.047361873, + -0.02150858, + 0.018850118, + -0.03822035, + -0.0051961998, + 0.03132634, + -0.0427803, + -0.006198221, + -0.05004189, + 0.03998732, + 0.0056878817, + -0.026508655, + -0.0078096534, + -0.009943144, + -0.036309876, + 0.045514073, + -0.030516429, + -0.0001778986, + -0.024281416, + -0.058250666, + 0.007024333, + -0.056291316, + 0.022915144, + 0.0005869884, + 0.050530426, + 0.0032867778, + -0.007736979, + -0.0018338652, + 0.018786062, + 0.053124007, + -0.018617745, + 0.028379945, + 0.009719411, + 0.03823544, + -0.00041988568, + -0.002130062, + -0.07861608, + -0.004367029, + 0.012157028, + -0.0030538985, + -0.05467867, + -0.051240366, + -0.05662566, + 0.011181097, + 0.00776071, + -0.05662434, + 0.003241655, + -0.035374265, + 0.011956555, + -0.03136637, + -0.06619053, + -0.008971109, + -0.011628635, + 0.008476211, + 0.008207802, + -0.01645134, + 0.044835284, + 0.026559742, + 0.030236972, + 0.006554962, + 0.05578958, + 0.013044513, + -0.031569958, + -0.06030801, + 0.00060303253, + 0.03227316, + 0.0036932912, + 0.007923897, + 0.072215214, + -0.02757423, + 0.025562137, + 0.031950884, + 0.040539358, + 0.024346208, + -0.016387813, + -0.021428673, + 0.0013313965, + 0.024699554, + -0.010038916, + 0.03404423, + -0.041280754, + 0.0055999598, + -0.0014897963, + -0.0029935378, + -0.037731435, + -0.032892935, + -0.0011154145, + -0.0052776244, + -0.033590656, + 0.06498624, + 0.03172926, + -0.006668512, + 0.052587505, + -0.006878838, + 0.0006608174, + 0.02521056, + 0.005151797, + -0.0027025105, + 0.031148685, + -0.048478514, + -0.11601364, + 0.0014737016, + 0.012881208, + -0.0090489965, + 0.056587636, + 0.0085396385, + -0.016969046, + 0.035297744, + -0.018297806, + 0.01964121, + 0.02034107, + -0.005254098, + 0.0055464604, + -0.008108849, + 0.010569263, + 0.014367576, + -0.0050130635, + -0.00056760537, + -0.044509266, + 0.035429936, + 0.046265002, + 0.029148685, + 0.043833803, + 0.003263192, + -0.02898851, + 0.037848763, + -0.0040877103, + 0.030088112, + 0.0422496, + -0.0145509085, + -0.008592926, + -0.04536684, + -0.009831164, + -0.035162523, + 0.058310147, + 0.03302502, + 0.050632223, + 0.0062193144, + 0.022813715, + 0.0023192633, + -0.029667223, + -0.039050817, + -0.0660212, + -0.0045122947, + 0.049054705, + 0.004518982, + 0.02181742, + -0.001513244, + 0.038681865, + 0.02741981, + 0.046043083, + -0.015669703, + -0.08239303, + 0.002409091, + 0.040683866, + 0.013982741, + 0.005420302, + 0.033594612, + -0.0076550655, + 0.06435645, + -0.04306063, + 0.009185222, + -0.057554282, + -0.03083097, + -0.06180231, + -0.023648279, + -0.035086315, + 0.034014184, + 0.06509622, + -0.016837902, + 0.004687943, + -0.0042267935, + -0.00023964052, + 0.013021065, + -0.058735814, + 0.011301259, + 0.064190194, + -0.05691356, + 0.020430425, + 0.022729745, + 0.04362567, + 0.016168067, + -0.0011809056, + -0.0004471365, + 0.011051565, + 0.06950243, + 0.027428461, + 0.034711897, + -0.040307883, + 0.029661965, + -0.034051597, + -0.013316864, + 0.026673337, + 0.028528135, + 0.019124903, + -0.071883395, + 0.0040275776, + -0.015712846, + 0.028023837, + 0.0802901, + -0.055681884, + -0.029038617, + 0.035097037, + 0.00495903, + -0.013133215, + 0.022051755, + -0.017829528, + -0.0064379424, + -0.018858524, + 0.002274767, + -0.05829089, + -0.034511443, + 0.007926703, + 0.025803173, + -0.042219874, + 0.045001287, + 0.061390217, + 0.026334515, + 0.07496385, + -0.054510597, + -0.025827253, + 0.039942548, + 0.022376034, + 0.02192279, + -0.051272377, + -0.040774614, + 0.006941088, + 0.009525442, + -0.0011940665, + 0.06705494, + 0.06579509, + 0.0016412716, + -0.021253185, + 0.02820317, + -0.057638522, + 0.032269534, + -0.022519346, + -0.050863765, + -0.044006854, + 0.0033846397, + 0.027847948, + 0.0072138547, + 0.03131227, + 0.01730576, + 0.018435724, + 0.034659848, + -0.004238088, + 0.0008000789, + -0.05475884, + -0.008760618, + 0.032312635, + 0.014864554, + 0.017254049, + -0.016097551, + 0.014410643, + 0.035612997, + 0.0017422528, + -0.025480147, + 0.028322725, + 0.028389262, + -0.06184139, + -0.021716665, + -0.027819568, + 0.018407218, + 0.11676283, + 0.030915136, + 0.004544446, + -0.0441287, + 0.06048918, + 0.027312614, + -0.0033439833, + 0.05524882, + 0.03854359, + 0.03677721, + -0.02398308, + -0.012102807, + 0.036057465, + 0.034955814, + -0.0012382143, + 0.06812751, + 0.0001327241, + -0.006793522, + -0.022494515, + 0.0011187885, + -0.00309055, + 0.02735105, + 0.0073088035, + 0.05015381, + 0.034808394, + -0.077323005, + -0.014414736, + 0.025790008, + -0.013183728, + -0.055191766, + 0.005734986, + -0.045415733, + 0.009926817, + 0.04481196, + 0.055300727, + 0.0007026794, + -0.028607247, + -0.01660437, + -0.06685022, + -0.00085250044, + 0.015498377, + 0.019671153, + -0.035734337, + 0.036895234, + -0.0036328332, + 0.050488815, + 0.015102313, + -0.048641484, + -0.006318818, + 0.0153240375, + 0.0040582214, + -0.028862718, + 0.06293375, + 0.024886033, + -0.031138051, + 0.052243225, + 0.05826241, + -0.0022354617, + 0.005456032, + 0.02353316, + -0.0168225, + 0.020657176, + -0.108156405, + -0.040854163, + 0.008860257, + -0.01799754, + 0.0040323366, + 0.015367503, + 0.019604022, + -0.011400006, + -0.011057735, + 0.04452665, + -0.007382973, + -0.093249455, + 0.021960614, + -0.051598016, + -0.0050557465, + -0.0010288772, + -0.084150836, + -0.07641148, + 0.006710942, + 0.010376969, + -0.0123036755, + 0.03650784, + -0.017753743, + -0.027476758, + 0.045010272, + -0.072423115, + -0.03036963, + 0.032952365, + -0.012888239, + -0.05306886, + -0.04851792, + 0.07925414, + 0.0152512295, + -0.0012719128, + 0.05367624, + -0.012458006, + 0.016262816, + -0.0335643, + -0.03013135, + -0.005990604, + 0.0728232, + -0.0039718766, + -0.054179605, + 0.057264227, + -0.07166358, + 0.014958828, + -0.03358655, + -0.015397369, + -0.000504298, + -0.007075384, + -0.04405394, + -0.008654076, + -0.015184921, + 0.008164449, + -0.012328139, + 0.07841101, + -0.026123222, + 0.026193328, + -0.0037047823, + -0.0012105734, + 0.0096117025, + -0.00038000237, + 0.0299967, + 0.007760017, + -0.036780577, + -0.009294984, + 0.006923659, + -0.012983346, + -0.008742838, + 0.01576302, + -0.008717304, + -0.029993393, + -0.028310362, + -0.014183895, + 0.007983626, + 0.03790559, + 0.04289914, + 0.02132045, + 0.017994856, + -0.07189784, + -0.0219637, + 0.0351749, + -0.053172283, + -0.008996051, + -0.015095033, + 0.050149787, + -0.0006114344, + -0.003357523, + 0.00752908, + -0.014008805, + -0.03442309, + -0.014259358, + -0.059758667, + -0.024396794, + 0.030619398, + 0.00767947, + -0.0011116329, + -0.009474666, + 0.029711453, + 0.028606633, + 0.034268502, + 0.0029906526, + -0.03504007, + 0.052733265, + 0.019827062, + 0.009377866, + 0.039265547, + 0.053059146, + -0.010805095, + 0.046749834, + 0.015009718, + 0.012668033, + -0.07642508, + -0.058360502, + -0.044064026, + 0.04244929, + -0.02374807, + -0.0038807902, + -0.014515809, + -0.005961242, + -0.039647575, + -0.005110437, + 0.043348797, + 0.012381712, + 0.022282649, + -0.042236187, + -0.043651894, + -0.057016417, + 0.025419308, + -0.0005159919, + 0.008872064, + -0.0011849578, + 0.03193522, + 0.059210327, + -0.023530396, + -0.06767356, + 0.05797387, + 0.036688875, + -0.023719054, + 0.040804476, + 0.054805312, + 0.05851534, + 0.006849918, + 0.093786016, + 0.050767016, + 0.018284457, + -0.012072258, + 0.0006922825, + 0.014652013, + 0.00989621, + -0.0653458, + -0.04794238, + -0.007187368, + -0.015944688, + -0.02413931, + 0.030432051, + -0.021851629, + -0.026140573, + 0.019885737, + 0.0273267, + 0.04819135, + -0.0106938975, + -0.020450022, + 0.01925518, + 0.020722236, + -0.011991116, + 0.0018496172, + 0.0074924496, + 0.03458754, + 0.028446862, + 0.018357754, + -0.00376699, + -0.018539835, + 0.0110934395, + -0.016170837, + 0.035967555, + 0.00708921, + -0.029628284, + -0.0367931, + -0.013255345, + 0.0043396046, + -0.017658113, + -0.022506885, + -0.03782458, + 0.0021089222, + -0.02798092, + -0.008376962, + -0.027915526, + -0.008772915, + 0.021212548, + -0.014809805, + -0.04101732, + 0.0034505879, + -0.010767264, + 0.055834584, + 0.0009800477, + 0.0055657937, + -0.0025369464, + 0.06929113, + -0.008926777, + -0.03222297, + -0.018682161, + -0.041693326, + -0.042528685, + -0.00072898756, + -0.038128246, + 0.005372191, + -0.040453486, + 0.06849994, + 0.005011425, + -0.004675844, + -0.012130703, + -0.0024435718, + 0.021330513, + -0.0019862258, + -0.08577191, + -0.040890053, + 0.002903699, + 0.024840308, + 0.07615206, + -0.032971058, + 0.056144077, + -0.018207682, + 0.00465876, + -0.06757375, + -0.03926128, + 0.06626432, + -0.019442555, + -0.032259125, + 0.014331967, + -0.06093977, + -0.07190006, + -0.022878949, + -0.028124934, + -0.016847879, + -0.03887267, + 0.016310485, + -0.026893558, + 0.0232663, + 0.010840913, + 0.07505202, + 0.0026958303, + 0.005488715, + 0.0060018557, + 0.006829158, + -0.07510559, + -0.0099261915, + -0.022255586, + 0.0007970452, + 0.0055445503, + -0.0007705168, + 0.10540715, + 0.03507397, + 0.031183766, + 0.0050103473, + -0.006596832, + -0.03137435, + 0.008700396, + -0.044859212, + -0.04618547, + -0.023784254 + ] + }, + { + "id": "onboarding.txt-6", + "document": "onboarding.txt", + "section": "General", + "text": "General\n• Focus on writing clean, maintainable code rather than rushing to complete tasks.\n18.Final Message\nSecureShift is more than a university assignment—it is an opportunity to experience professional\nsoftware development practices in a collaborative environment.\nThroughout this trimester, you will work with modern technologies, follow Agile methodologies,\nparticipate in code reviews, collaborate across multiple teams, and contribute to a real-world\napplication.\nEvery contribution, whether it is a new feature, a bug fix, or a code improvement, plays an\nimportant role in the success of the project.\nOn behalf of the Frontend Team, welcome to SecureShift. We look forward to working with you\nand wish you a successful and enjoyable trimester.", + "embedding": [ + 0.030006897, + 0.02047115, + -0.18071297, + -0.012519989, + 0.06993869, + -0.02000766, + 0.03804011, + -0.01069811, + 0.0023688215, + -0.047179274, + -0.014109548, + -0.0060057733, + 0.064546846, + 0.048714574, + 0.016723797, + 0.052423514, + 0.07535065, + -0.047363922, + -0.010968768, + 0.020269474, + -0.021548957, + -0.047514543, + 0.012197147, + -0.017303474, + 0.07980197, + 0.11405684, + 0.0016211557, + 0.013140709, + -0.010340148, + 0.030465975, + 0.045831785, + 0.02000531, + 0.007928869, + -0.021494467, + -0.04117431, + -0.08222075, + 0.024043106, + -0.016825428, + -0.04995387, + -0.04649455, + 0.004997667, + 0.04280045, + -0.017767103, + -0.075834885, + 0.028280608, + -0.025211478, + 0.038687646, + -0.070683934, + 0.047644004, + -0.07407314, + -0.004608565, + -0.02013834, + -0.01565332, + 0.055110507, + 0.061495256, + -0.03571237, + -0.003503069, + 0.006133499, + -0.022102859, + -0.043606833, + 0.08091089, + 0.058796275, + -0.07178344, + 0.06133127, + 0.009082453, + -0.040187802, + -0.035230525, + 0.0022311194, + 0.012614996, + -0.01872493, + 0.013423449, + -0.017225537, + 0.031598967, + 0.026011785, + -0.03360344, + -0.018502198, + 0.002667476, + -0.0543311, + -0.037025835, + 0.013116511, + 0.016689667, + -0.039516766, + 0.017906666, + -0.0013452398, + 0.009926077, + -0.0016845335, + -0.03663428, + -0.007811909, + -0.057437338, + 0.08345077, + 0.006852912, + 0.012152173, + -0.05696469, + 0.025559675, + -0.062688634, + 0.00696016, + 0.028334994, + 0.04851827, + -0.023494551, + -0.022064203, + -0.03870268, + -0.042597473, + 0.004968648, + 0.0016065872, + -0.009783303, + 0.014748497, + -0.030064447, + -0.007014826, + 0.0031069086, + 0.026492847, + -0.018693812, + 0.016792433, + -0.010155174, + -0.03321698, + 0.008376187, + -0.0011744739, + 0.04358637, + -0.063670814, + 0.0074961805, + 0.028894411, + -0.050166894, + -0.029261071, + 0.0061712596, + 0.060249537, + 0.029803487, + 0.02696221, + -0.056378193, + -0.0000713921, + 0.00054132805, + -0.039683517, + 0.008624239, + -0.05259608, + -0.08216935, + 0.004137183, + 0.0007332826, + 0.047884725, + -0.05299276, + 0.004591313, + 0.027578544, + 0.035457473, + 0.030799802, + 0.036354184, + -0.023223016, + 0.0015375399, + 0.01454398, + -0.07130351, + -0.02045396, + 0.0011116073, + 0.00015161048, + 0.006887149, + -0.02364337, + 0.02737789, + -0.034664154, + 0.01677703, + 0.012846696, + -0.053322304, + -0.005386594, + 0.0018901802, + 0.03781503, + 0.0484337, + 0.023816407, + -0.0006235469, + -0.031715486, + 0.040917657, + 0.004303584, + -0.016192924, + 0.009748728, + 0.033801846, + 0.030125964, + 0.0543005, + -0.060970034, + -0.04711589, + 0.03482657, + -0.024189277, + 0.027193053, + -0.038085263, + 0.04831473, + -0.07867152, + -0.0028706503, + -0.025098952, + 0.0042678537, + -0.027127868, + 0.049578566, + -0.0023011565, + -0.0498125, + 0.021595703, + 0.049966186, + -0.039434288, + -0.017128706, + 0.0011707891, + 0.02687163, + -0.028467238, + -0.07089694, + -0.004112541, + -0.07295529, + -0.04564897, + 0.031563453, + -0.008331201, + 0.016646802, + -0.025095481, + -0.029470123, + 0.0347052, + -0.07047403, + 0.012249541, + -0.003842959, + 0.059338912, + 0.0054765404, + -0.054338653, + -0.009716363, + -0.026272375, + 0.08896624, + -0.007946995, + -0.019798204, + 0.014312899, + 0.06413225, + -0.050962035, + -0.01475037, + -0.028420191, + -0.034707714, + 0.041957967, + 0.021507392, + -0.026622849, + 0.009340375, + -0.014575363, + 0.0032559899, + -0.012526008, + -0.06445027, + -0.0046505597, + -0.039913036, + 0.021139588, + 0.0008393273, + -0.04826639, + 0.022231465, + 0.029083472, + -0.015129918, + 0.019501887, + 0.020116944, + 0.06699042, + 0.0113286255, + 0.032782316, + 0.0119232265, + 0.07037951, + -0.0015469496, + -0.02792148, + -0.05383, + 0.035149254, + 0.018207643, + -0.047471967, + -0.005590754, + 0.021737495, + 0.03315979, + -0.040253986, + 0.05304774, + 0.02565047, + 0.014503983, + -0.051734224, + -0.022259291, + -0.021050077, + -0.0110686, + -0.016560629, + 0.057955455, + -0.03197757, + 0.009326897, + -0.021614311, + -0.023756728, + -0.014404072, + -0.026929213, + 0.012784653, + 0.0111014135, + -0.03574508, + 0.06030987, + 0.050526574, + 0.04180782, + 0.05562752, + -0.025084794, + -0.050015952, + 0.032494888, + 0.0012182042, + -0.004831273, + 0.0536161, + -0.059015244, + -0.020550204, + -0.007338986, + 0.017205227, + -0.046938363, + 0.012996194, + -0.004296135, + 0.038294543, + -0.0012318182, + -0.024732849, + 0.07077133, + -0.02449194, + 0.011535438, + 0.026214294, + 0.04284662, + 0.04962657, + 0.037582785, + -0.033276346, + -0.0057102987, + -0.040179335, + -0.0010975744, + 0.08317574, + 0.064056195, + 0.020552235, + -0.00009363403, + -0.041557614, + 0.01535457, + -0.009551929, + -0.004578021, + 0.015373118, + -0.040046923, + 0.00027008815, + -0.036525104, + -0.0048739626, + -0.06279393, + 0.025148708, + 0.0045632487, + -0.0034886983, + 0.021375207, + -0.007175884, + 0.022350594, + -0.038166836, + -0.0143176215, + -0.05585265, + 0.012191734, + 0.08305711, + -0.025910256, + -0.013823686, + -0.05410008, + -0.031998686, + 0.0011860366, + 0.056796078, + 0.025994072, + -0.06218001, + -0.04293639, + 0.04263593, + 0.044840235, + 0.03357453, + 0.052936103, + -0.01833079, + 0.06906708, + -0.05160922, + 0.03713064, + -0.056013558, + -0.0032975865, + -0.0040472215, + 0.029874867, + -0.041467078, + 0.08653258, + 0.06850595, + -0.01987577, + 0.04717237, + -0.03681877, + 0.015501705, + 0.028483259, + -0.005188997, + -0.026328707, + 0.029913204, + -0.017905992, + -0.018120328, + 0.0008262314, + 0.0033294722, + -0.013571831, + -0.01666912, + 0.0098050935, + 0.026425447, + 0.061413765, + -0.0057978835, + 0.023247581, + 0.034833834, + -0.025338646, + -0.0483693, + -0.025619447, + 0.014864491, + -0.002166032, + 0.01960528, + -0.038603842, + -0.034279097, + -0.0034281197, + -0.022204984, + 0.06602378, + -0.020316405, + -0.030343516, + -0.0060130586, + 0.033142004, + 0.033371042, + 0.020132625, + 0.02679834, + -0.021985484, + -0.002700274, + 0.006547031, + -0.044770814, + 0.018207453, + 0.02363593, + 0.022395307, + -0.008940437, + 0.017133426, + 0.008021743, + -0.021785257, + 0.04480257, + -0.058034975, + -0.035163835, + 0.0039958335, + -0.006172685, + 0.0086767785, + 0.008055416, + -0.022442782, + -0.020257896, + -0.014165995, + -0.020054927, + 0.08248077, + 0.002266487, + -0.004129226, + -0.01485051, + 0.023813872, + -0.03651264, + 0.01195572, + -0.01819807, + -0.013554848, + -0.0060340906, + 0.019211194, + 0.032798, + 0.014508858, + 0.033009816, + 0.008375172, + 0.05452044, + 0.008395106, + 0.0075617847, + 0.031290237, + -0.077909805, + -0.0060925786, + 0.042141497, + 0.035383563, + 0.02677305, + -0.009576261, + 0.0021492539, + -0.0023905344, + 0.008536187, + -0.06272026, + 0.056816507, + -0.00089784834, + -0.02352801, + -0.055256557, + -0.0039604474, + 0.012667753, + 0.109911144, + 0.053125303, + -0.02589847, + -0.0579664, + 0.052833736, + 0.001581584, + 0.038363397, + 0.029556632, + 0.054762274, + 0.069592856, + 0.0039239777, + -0.01861052, + -0.02532651, + -0.024139794, + 0.0073687704, + 0.015669294, + -0.007429827, + -0.008452236, + 0.0061283954, + 0.02589217, + 0.025877306, + 0.023027336, + -0.02275494, + 0.032385904, + 0.09301141, + -0.066482626, + 0.0015526771, + 0.0020358989, + -0.0026603402, + 0.0028007887, + -0.0186816, + 0.009992081, + 0.0022898004, + 0.04547486, + 0.07133418, + 0.05107295, + -0.029659823, + -0.029014058, + -0.06452652, + -0.016510392, + 0.019454317, + 0.0024678602, + -0.026475897, + 0.0061477716, + -0.025477305, + 0.036958274, + 0.0062743425, + 0.021220777, + 0.011328649, + -0.00039679903, + -0.0073075653, + -0.023381835, + 0.02572704, + -0.015611793, + -0.03887189, + 0.045222104, + 0.042783137, + 0.016867276, + 0.0464431, + 0.01885251, + 0.0026899595, + 0.031341832, + -0.08844455, + -0.060327515, + 0.01493676, + -0.005488357, + -0.002435423, + 0.01679081, + 0.031843223, + 0.0144854775, + -0.033259798, + 0.05227758, + -0.013859526, + -0.08793862, + 0.0065590516, + -0.02418185, + -0.021497313, + -0.055619184, + -0.056475516, + -0.083920956, + 0.03777091, + -0.004381355, + -0.022398632, + 0.056085356, + 0.035548147, + 0.030484784, + 0.04123014, + -0.05566462, + -0.024179034, + 0.05079513, + -0.064671546, + -0.07866534, + 0.04663918, + 0.016715918, + -0.022802051, + -0.03353038, + 0.02246895, + 0.0031260578, + 0.021789271, + 0.006816177, + -0.0016304427, + -0.006536089, + 0.030669909, + -0.007214824, + -0.07478679, + 0.060643073, + -0.03217153, + 0.0068363124, + -0.019457152, + 0.07033024, + -0.009610975, + 0.045804735, + -0.043263096, + -0.04285287, + -0.0433992, + -0.024805147, + -0.009341511, + 0.048677478, + -0.008443599, + 0.03304556, + -0.017021472, + 0.015892237, + -0.009768499, + -0.009948735, + 0.039549712, + -0.0020772403, + -0.035430998, + -0.00082177966, + -0.015182204, + -0.026366694, + -0.018979877, + 0.00017971816, + 0.025578815, + -0.068756126, + -0.043078266, + 0.03411733, + -0.019999344, + 0.053547386, + 0.061909974, + 0.01660497, + -0.002285704, + -0.050173838, + -0.040994585, + 0.005251504, + -0.01984785, + -0.02073057, + -0.008998628, + 0.00071590074, + 0.0613524, + 0.0010964014, + 0.014069549, + -0.000791976, + -0.059039503, + -0.05773987, + -0.010036999, + 0.002002079, + 0.033965457, + 0.050508596, + -0.037723333, + 0.0017572177, + 0.06522093, + 0.02230454, + 0.050478257, + 0.004104651, + -0.042341843, + 0.02193907, + -0.005472976, + -0.0052223993, + 0.020902222, + 0.049263965, + 0.01978247, + 0.038973283, + 0.0064775064, + 0.014594976, + -0.04443324, + -0.029135754, + -0.024372349, + 0.055502787, + -0.00927668, + 0.01655084, + 0.014825833, + -0.009534112, + -0.011095703, + -0.018422343, + 0.07274613, + -0.040857986, + 0.069140196, + -0.030820495, + -0.009285362, + -0.06623377, + 0.03221862, + 0.0002566978, + 0.020804243, + -0.0020572809, + 0.043402433, + 0.039009165, + -0.010004825, + 0.03246741, + 0.016955849, + 0.012207674, + -0.021357492, + 0.013010039, + 0.025661178, + 0.07545397, + -0.02863915, + 0.07048715, + 0.071795434, + 0.03848732, + -0.025920248, + 0.034378245, + -0.00012295223, + 0.03182328, + -0.060734887, + -0.057917926, + -0.01623154, + 0.012294811, + 0.0030576366, + 0.004239842, + -0.012768894, + 0.012390585, + 0.04037646, + 0.032004803, + 0.010918278, + -0.057450138, + -0.0031643184, + 0.002710027, + 0.040475085, + 0.006157005, + -0.015483991, + 0.015393889, + 0.00327075, + 0.031797208, + 0.001850185, + 0.03170147, + -0.031393863, + 0.02802994, + -0.0075237136, + 0.011672368, + 0.001605254, + 0.004441588, + -0.03411858, + 0.015315453, + 0.0076416763, + -0.031556845, + -0.043780364, + -0.04461116, + -0.012619731, + -0.040531244, + -0.03166405, + -0.032582674, + -0.0021418186, + -0.018209044, + -0.0029737612, + -0.030442106, + 0.06964131, + -0.055772718, + 0.05854513, + 0.024609048, + 0.035293043, + -0.019742096, + -0.0080939755, + -0.02095552, + -0.022150576, + -0.0053294925, + -0.027396364, + -0.0018987167, + -0.022397414, + -0.034502827, + 0.0129578365, + 0.021395788, + 0.03320618, + -0.0033482427, + -0.058367107, + -0.016789818, + 0.0066432375, + 0.07758244, + 0.0033099882, + -0.08778595, + 0.0064317957, + 0.015862975, + -0.0077546844, + 0.02362201, + -0.037732843, + 0.04674642, + -0.05046304, + -0.010094558, + -0.033096276, + -0.03956927, + 0.052930664, + -0.0006085161, + -0.0075175324, + -0.0039604097, + -0.021766169, + -0.045726128, + 0.013635236, + -0.0061586685, + -0.004837802, + -0.009543787, + -0.00004333556, + 0.016292872, + -0.009694769, + -0.008679881, + 0.004671907, + -0.0069420626, + -0.023227604, + 0.0122319255, + -0.026206866, + -0.044336513, + 0.015101452, + 0.009161161, + 0.0020488538, + 0.038464915, + -0.018993305, + 0.084403984, + 0.030126955, + -0.0099931, + -0.041181237, + 0.022995085, + -0.023004826, + -0.053203445, + -0.07771726, + 0.0016574814, + -0.016444592 + ] + } +] \ No newline at end of file diff --git a/app-backend/package-lock.json b/app-backend/package-lock.json index 0985756ff..69879bdca 100644 --- a/app-backend/package-lock.json +++ b/app-backend/package-lock.json @@ -9,20 +9,26 @@ "version": "1.0.0", "license": "MIT", "dependencies": { + "@langchain/ollama": "^1.3.0", "axios": "^1.19.0", "bcrypt": "^6.0.0", "bcryptjs": "^3.0.2", + "chromadb": "^3.5.0", "cors": "^2.8.5", "dotenv": "^17.2.0", "express": "^5.1.0", + "express-rate-limit": "^8.6.2", "express-validator": "^7.2.1", "helmet": "^8.1.0", "install": "^0.13.0", "jsonwebtoken": "^9.0.2", + "langchain": "^1.5.5", "mongoose": "^8.16.4", "morgan": "^1.10.1", "multer": "^2.0.2", "nodemailer": "^7.0.5", + "ollama": "^0.6.3", + "pdfjs-dist": "^6.2.108", "pdfkit": "^0.18.0", "swagger-jsdoc": "^6.2.8", "swagger-ui-express": "^5.0.1" @@ -32,7 +38,7 @@ "@babel/preset-env": "^7.28.0", "@eslint/js": "^9.31.0", "@jest/globals": "^29.7.0", - "babel-jest": "^30.0.4", + "babel-jest": "^29.7.0", "eslint": "^9.39.4", "eslint-config-prettier": "^9.1.2", "eslint-plugin-import": "^2.32.0", @@ -44,7 +50,7 @@ "supertest": "^6.3.4" }, "engines": { - "node": ">=18" + "node": ">=22.13.0" } }, "node_modules/@ampproject/remapping": { @@ -1899,6 +1905,13 @@ "dev": true, "license": "MIT" }, + "node_modules/@cfworker/json-schema": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/@cfworker/json-schema/-/json-schema-4.1.1.tgz", + "integrity": "sha512-gAmrUZSGtKc3AiBL71iNWxDsyUC5uMaKKGdvzYsBoTW/xi42JQHl7eKV2OYzCUqvc+D2RCcf7EXY2iCyFIk6og==", + "license": "MIT", + "peer": true + }, "node_modules/@eslint-community/eslint-utils": { "version": "4.9.1", "resolved": "https://registry.npmjs.org/@eslint-community/eslint-utils/-/eslint-utils-4.9.1.tgz", @@ -2368,30 +2381,6 @@ "node": "^14.15.0 || ^16.10.0 || >=18.0.0" } }, - "node_modules/@jest/pattern": { - "version": "30.0.1", - "resolved": "https://registry.npmjs.org/@jest/pattern/-/pattern-30.0.1.tgz", - "integrity": "sha512-gWp7NfQW27LaBQz3TITS8L7ZCQ0TLvtmI//4OwlQRx4rnWxcPNIYjxZpDcN4+UlGxgm3jS5QPz8IPTCkb59wZA==", - "dev": true, - "license": "MIT", - "dependencies": { - "@types/node": "*", - "jest-regex-util": "30.0.1" - }, - "engines": { - "node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0" - } - }, - "node_modules/@jest/pattern/node_modules/jest-regex-util": { - "version": "30.0.1", - "resolved": "https://registry.npmjs.org/jest-regex-util/-/jest-regex-util-30.0.1.tgz", - "integrity": "sha512-jHEQgBXAgc+Gh4g0p3bCevgRCVRkB4VB70zhoAE48gxeSr1hfUOsM/C2WoJgVL7Eyg//hudYENbm3Ne+/dRVVA==", - "dev": true, - "license": "MIT", - "engines": { - "node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0" - } - }, "node_modules/@jest/reporters": { "version": "29.7.0", "resolved": "https://registry.npmjs.org/@jest/reporters/-/reporters-29.7.0.tgz", @@ -2586,15 +2575,403 @@ "integrity": "sha512-4JQNk+3mVzK3xh2rqd6RB4J46qUR19azEHBneZyTZM+c456qOrbbM/5xcR8huNCCcbVt7+UmizG6GuUvPvKUYg==", "license": "MIT" }, + "node_modules/@langchain/core": { + "version": "1.2.5", + "resolved": "https://registry.npmjs.org/@langchain/core/-/core-1.2.5.tgz", + "integrity": "sha512-4lXj3fTPQYGdEtOG9gWDnvmp6wpXNMo9MmWzfZxxPUxMcjulZJa93pYAZ90luFLg2YVdVuUl2tuwdD7tY5K9MA==", + "license": "MIT", + "peer": true, + "dependencies": { + "@cfworker/json-schema": "^4.0.2", + "@standard-schema/spec": "^1.1.0", + "js-tiktoken": "^1.0.12", + "langsmith": ">=0.5.0 <1.0.0", + "mustache": "^4.2.0", + "p-queue": "^6.6.2", + "zod": "^3.25.76 || ^4" + }, + "engines": { + "node": ">=20" + } + }, + "node_modules/@langchain/langgraph": { + "version": "1.4.9", + "resolved": "https://registry.npmjs.org/@langchain/langgraph/-/langgraph-1.4.9.tgz", + "integrity": "sha512-EvD9rS66Cya09y6rbMgD3Ir8miAkJQFo7FyJOPRPO736Kz3y5TeyeBDOS8ctff/jRc788bPijHx2NVFM79Qqig==", + "license": "MIT", + "dependencies": { + "@langchain/langgraph-checkpoint": "^1.1.3", + "@langchain/langgraph-sdk": "~1.9.28", + "@langchain/protocol": "^0.0.18", + "@standard-schema/spec": "1.1.0" + }, + "engines": { + "node": ">=18" + }, + "peerDependencies": { + "@langchain/core": "^1.1.48", + "zod": "^3.25.32 || ^4.2.0" + } + }, + "node_modules/@langchain/langgraph-checkpoint": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/@langchain/langgraph-checkpoint/-/langgraph-checkpoint-1.1.3.tgz", + "integrity": "sha512-wgzdQNeEsdw1e+4lvlj0tdq/RYR/k1vPin10g0ymGoehZDDgd9nvIllGXSXN4TFgF9sf5qQP/KTkOcLfeseIhA==", + "license": "MIT", + "engines": { + "node": ">=18" + }, + "peerDependencies": { + "@langchain/core": "^1.1.48" + } + }, + "node_modules/@langchain/langgraph-sdk": { + "version": "1.9.28", + "resolved": "https://registry.npmjs.org/@langchain/langgraph-sdk/-/langgraph-sdk-1.9.28.tgz", + "integrity": "sha512-4j3XuM0PvtmAbL8mPfBS99ez3+ytRfgbOpAR/nOeaejTRF3Q9dNw2QnaGLGng8wLPtGLoSj+SYgUOVxy9Bv9vg==", + "license": "MIT", + "dependencies": { + "@langchain/protocol": "^0.0.18", + "@types/json-schema": "^7.0.15", + "p-queue": "^9.0.1", + "p-retry": "^7.1.1" + }, + "peerDependencies": { + "@langchain/core": "^1.1.48", + "react": "^18 || ^19", + "react-dom": "^18 || ^19", + "svelte": "^4.0.0 || ^5.0.0", + "vue": "^3.0.0" + }, + "peerDependenciesMeta": { + "react": { + "optional": true + }, + "react-dom": { + "optional": true + }, + "svelte": { + "optional": true + }, + "vue": { + "optional": true + } + } + }, + "node_modules/@langchain/langgraph-sdk/node_modules/eventemitter3": { + "version": "5.0.4", + "resolved": "https://registry.npmjs.org/eventemitter3/-/eventemitter3-5.0.4.tgz", + "integrity": "sha512-mlsTRyGaPBjPedk6Bvw+aqbsXDtoAyAzm5MO7JgU+yVRyMQ5O8bD4Kcci7BS85f93veegeCPkL8R4GLClnjLFw==", + "license": "MIT" + }, + "node_modules/@langchain/langgraph-sdk/node_modules/p-queue": { + "version": "9.3.3", + "resolved": "https://registry.npmjs.org/p-queue/-/p-queue-9.3.3.tgz", + "integrity": "sha512-NXAOdnEe5FsZJfT4oK84lE1Y5cFFdWlRuOo5tww8DyNMxyRXwn39fIkUtNLKppcPC+UYU/bXujNCUGDv01y7CA==", + "license": "MIT", + "dependencies": { + "eventemitter3": "^5.0.4", + "p-timeout": "^7.0.0" + }, + "engines": { + "node": ">=20" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/@langchain/langgraph-sdk/node_modules/p-timeout": { + "version": "7.0.1", + "resolved": "https://registry.npmjs.org/p-timeout/-/p-timeout-7.0.1.tgz", + "integrity": "sha512-AxTM2wDGORHGEkPCt8yqxOTMgpfbEHqF51f/5fJCmwFC3C/zNcGT63SymH2ttOAaiIws2zVg4+izQCjrakcwHg==", + "license": "MIT", + "engines": { + "node": ">=20" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/@langchain/ollama": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/@langchain/ollama/-/ollama-1.3.0.tgz", + "integrity": "sha512-uzLkZVTXN0SI5zAoJbJzL4y/QN7gbmJ1txBgFfqJ5M0Qf+Yu2Zu8q98L3jIrfM+akWMaNmRU4R4APhcfQmeIsw==", + "license": "MIT", + "dependencies": { + "ollama": "^0.6.3" + }, + "engines": { + "node": ">=20" + }, + "peerDependencies": { + "@langchain/core": "^1.0.0" + } + }, + "node_modules/@langchain/protocol": { + "version": "0.0.18", + "resolved": "https://registry.npmjs.org/@langchain/protocol/-/protocol-0.0.18.tgz", + "integrity": "sha512-XW1egQtPfsGI41w2AMZNFZrUIwFSQHTjVMZs0OaTpCAvht/QLoaPN8FQcsysMVypOhupG28J29yOorrc70otBQ==", + "license": "MIT" + }, "node_modules/@mongodb-js/saslprep": { "version": "1.4.13", - "resolved": "https://registry.npmmirror.com/@mongodb-js/saslprep/-/saslprep-1.4.13.tgz", + "resolved": "https://registry.npmjs.org/@mongodb-js/saslprep/-/saslprep-1.4.13.tgz", "integrity": "sha512-E3Sv4eCYAlKYUTx8S3ioQcDUscOif+8zZ5OnW1IzJ+Tt+EO+ke8mn+Y3FX6N1H79picwbdOavVOb1jPi2EOyrg==", "license": "MIT", "dependencies": { "sparse-bitfield": "^3.0.3" } }, + "node_modules/@napi-rs/canvas": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/@napi-rs/canvas/-/canvas-1.0.3.tgz", + "integrity": "sha512-OlI657a5XXvKGFX7kNeIzJ8rO7IXt87Mqu2H8rXE46viAuOfum/JA7ysX7+eBhxNKznT+RCZh418mndlcFX3+w==", + "license": "MIT", + "optional": true, + "workspaces": [ + "e2e/*" + ], + "engines": { + "node": ">= 10" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/Brooooooklyn" + }, + "optionalDependencies": { + "@napi-rs/canvas-android-arm64": "1.0.3", + "@napi-rs/canvas-darwin-arm64": "1.0.3", + "@napi-rs/canvas-darwin-x64": "1.0.3", + "@napi-rs/canvas-linux-arm-gnueabihf": "1.0.3", + "@napi-rs/canvas-linux-arm64-gnu": "1.0.3", + "@napi-rs/canvas-linux-arm64-musl": "1.0.3", + "@napi-rs/canvas-linux-riscv64-gnu": "1.0.3", + "@napi-rs/canvas-linux-x64-gnu": "1.0.3", + "@napi-rs/canvas-linux-x64-musl": "1.0.3", + "@napi-rs/canvas-win32-arm64-msvc": "1.0.3", + "@napi-rs/canvas-win32-x64-msvc": "1.0.3" + } + }, + "node_modules/@napi-rs/canvas-win32-arm64-msvc": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/@napi-rs/canvas-win32-arm64-msvc/-/canvas-win32-arm64-msvc-1.0.3.tgz", + "integrity": "sha512-ktVLuBkI6QVOm5BwO/WbdGwxgeetAMJa7TTmR8qBarXF0OU2NKjvjUtPJAl2y8t+zBRczJl/1VOl9gua6WcK2g==", + "cpu": [ + "arm64" + ], + "license": "MIT", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">= 10" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/Brooooooklyn" + } + }, + "node_modules/@napi-rs/canvas-win32-x64-msvc": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/@napi-rs/canvas-win32-x64-msvc/-/canvas-win32-x64-msvc-1.0.3.tgz", + "integrity": "sha512-SGhlQ8bDjL1Cz2KnsKMasr/5sTcwG/SZkB6WCJxLsmSm/3aS2C+3p39bA7iZ2/94+NkVDySZfbiGoaSZSFHYxA==", + "cpu": [ + "x64" + ], + "license": "MIT", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">= 10" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/Brooooooklyn" + } + }, + "node_modules/@napi-rs/canvas/node_modules/@napi-rs/canvas-android-arm64": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/@napi-rs/canvas-android-arm64/-/canvas-android-arm64-1.0.3.tgz", + "integrity": "sha512-7kSCdUhoXiO+AaIMXdBGdtp6EctZNkmF62Rea/BmVQlwKaM3bBhOzyGUzxyxz9dv5vdBfpyAaxhSRSJF4kqK4A==", + "cpu": [ + "arm64" + ], + "license": "MIT", + "optional": true, + "os": [ + "android" + ], + "engines": { + "node": ">= 10" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/Brooooooklyn" + } + }, + "node_modules/@napi-rs/canvas/node_modules/@napi-rs/canvas-darwin-arm64": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/@napi-rs/canvas-darwin-arm64/-/canvas-darwin-arm64-1.0.3.tgz", + "integrity": "sha512-ds14V1BPagLszQyaDTeggny5fNeTCqsUQ5QhFj9VDxSEfzrVxXtdbR0LoFyKa0Siaaw8KvqSk4t7k/WoZJwvbg==", + "cpu": [ + "arm64" + ], + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">= 10" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/Brooooooklyn" + } + }, + "node_modules/@napi-rs/canvas/node_modules/@napi-rs/canvas-darwin-x64": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/@napi-rs/canvas-darwin-x64/-/canvas-darwin-x64-1.0.3.tgz", + "integrity": "sha512-qof3LRAAycmkV2I1izZo9RoSHF8kCQr5O05sFwv0jK8rSdYV6KHVwimo6Qb7RxZj40WHKbLHm5JDaUF0o5XUAA==", + "cpu": [ + "x64" + ], + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">= 10" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/Brooooooklyn" + } + }, + "node_modules/@napi-rs/canvas/node_modules/@napi-rs/canvas-linux-arm-gnueabihf": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/@napi-rs/canvas-linux-arm-gnueabihf/-/canvas-linux-arm-gnueabihf-1.0.3.tgz", + "integrity": "sha512-FU2kKZLmolHA9+KcUA+l1+xH3WTLUUTQDU/kLv9SEUr2TrRPu94aytOeizFJDHPs/QBcw4QL1mCQhetQXYBbag==", + "cpu": [ + "arm" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 10" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/Brooooooklyn" + } + }, + "node_modules/@napi-rs/canvas/node_modules/@napi-rs/canvas-linux-arm64-gnu": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/@napi-rs/canvas-linux-arm64-gnu/-/canvas-linux-arm64-gnu-1.0.3.tgz", + "integrity": "sha512-GVSjntxKeA+/y/ZKf1F+cmUw1WeIkE5aMRPqnZUlBTBvBcrvgWccJAWuYCKPX4QJQwZILIIwhgdAbl51yj6fpA==", + "cpu": [ + "arm64" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 10" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/Brooooooklyn" + } + }, + "node_modules/@napi-rs/canvas/node_modules/@napi-rs/canvas-linux-arm64-musl": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/@napi-rs/canvas-linux-arm64-musl/-/canvas-linux-arm64-musl-1.0.3.tgz", + "integrity": "sha512-J51oK/axyZ13kxycumSMfLiDZMdWdOVvqDFI28BpuViZHE3A0bQfr8B5vg8YnPEnqLD3BSn1hkdlh2buspEcNQ==", + "cpu": [ + "arm64" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 10" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/Brooooooklyn" + } + }, + "node_modules/@napi-rs/canvas/node_modules/@napi-rs/canvas-linux-riscv64-gnu": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/@napi-rs/canvas-linux-riscv64-gnu/-/canvas-linux-riscv64-gnu-1.0.3.tgz", + "integrity": "sha512-CtQgQjoVTX67jS9XuCTtJ40Sl7wRLMguoFnnGnfDmCWf7kzKFZVwj5ynqUOIGKFMSB61ZCuQlwPvVNxYTTseaw==", + "cpu": [ + "riscv64" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 10" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/Brooooooklyn" + } + }, + "node_modules/@napi-rs/canvas/node_modules/@napi-rs/canvas-linux-x64-gnu": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/@napi-rs/canvas-linux-x64-gnu/-/canvas-linux-x64-gnu-1.0.3.tgz", + "integrity": "sha512-jtfzAHFp+FRaR7zGT4jyCe6wUgAG/dVb5A4Apd8FY9jKarntDfUAlJXscugiH7ZF5kKnu7/lHFk9LaDPcrGEVQ==", + "cpu": [ + "x64" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 10" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/Brooooooklyn" + } + }, + "node_modules/@napi-rs/canvas/node_modules/@napi-rs/canvas-linux-x64-musl": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/@napi-rs/canvas-linux-x64-musl/-/canvas-linux-x64-musl-1.0.3.tgz", + "integrity": "sha512-xTzaUCKUHTY4bCGadeeRZggbRVbGUT1petg7Z8r9AJR2+D9Bqu6nQAgqBGC6D47tA70LjaaaLTrJ7wNY1T74dg==", + "cpu": [ + "x64" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 10" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/Brooooooklyn" + } + }, "node_modules/@noble/ciphers": { "version": "1.3.0", "resolved": "https://registry.npmjs.org/@noble/ciphers/-/ciphers-1.3.0.tgz", @@ -2670,6 +3047,12 @@ "@sinonjs/commons": "^3.0.0" } }, + "node_modules/@standard-schema/spec": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@standard-schema/spec/-/spec-1.1.0.tgz", + "integrity": "sha512-l2aFy5jALhniG5HgqrD6jXLi/rUWrKvqN/qJx6yoJsgKhblVd+iqqU4RCXavm/jPityDo5TCvKMnpjKnOriy0w==", + "license": "MIT" + }, "node_modules/@swc/helpers": { "version": "0.5.21", "resolved": "https://registry.npmjs.org/@swc/helpers/-/helpers-0.5.21.tgz", @@ -2830,13 +3213,6 @@ "dev": true, "license": "MIT" }, - "node_modules/@ungap/structured-clone": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/@ungap/structured-clone/-/structured-clone-1.3.0.tgz", - "integrity": "sha512-WmoN8qaIAo7WTYWbAZuG8PYEhn5fkz7dZrqTBZ7dtt//lL2Gwms1IcnQ5yHqjDfX8Ft5j4YzDM23f87zBfDe9g==", - "dev": true, - "license": "ISC" - }, "node_modules/accepts": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/accepts/-/accepts-2.0.0.tgz", @@ -2874,13 +3250,15 @@ } }, "node_modules/agent-base": { - "version": "7.1.4", - "resolved": "https://registry.npmmirror.com/agent-base/-/agent-base-7.1.4.tgz", - "integrity": "sha512-MnA+YT8fwfJPgBx3m60MNqakm30XOkyIoH1y6huTQvC0PwZG7ki8NacLBcrPbNoo8vEZy7Jpuk7+jMO+CUovTQ==", - "dev": true, + "version": "6.0.2", + "resolved": "https://registry.npmjs.org/agent-base/-/agent-base-6.0.2.tgz", + "integrity": "sha512-RZNwNclF7+MS/8bDg70amg32dyeZGZxiDuQmZxKLAlQjr3jGyLx+4Kkk58UO7D2QdgFIQCovuSuZESne6RG6XQ==", "license": "MIT", + "dependencies": { + "debug": "4" + }, "engines": { - "node": ">= 14" + "node": ">= 6.0.0" } }, "node_modules/ajv": { @@ -3122,7 +3500,7 @@ }, "node_modules/async-mutex": { "version": "0.5.0", - "resolved": "https://registry.npmmirror.com/async-mutex/-/async-mutex-0.5.0.tgz", + "resolved": "https://registry.npmjs.org/async-mutex/-/async-mutex-0.5.0.tgz", "integrity": "sha512-1A94B18jkJ3DYq284ohPxoXbfTA5HsQ7/Mf4DEhcyLx3Bz27Rh59iScbB6EPiP+B+joue6YCxcMXSbFC1tZKwA==", "dev": true, "license": "MIT", @@ -3154,7 +3532,7 @@ }, "node_modules/axios": { "version": "1.19.0", - "resolved": "https://registry.npmmirror.com/axios/-/axios-1.19.0.tgz", + "resolved": "https://registry.npmjs.org/axios/-/axios-1.19.0.tgz", "integrity": "sha512-ht/iuYZXEjFxLH/Hkezgd7m6JKlHHXEUSneaDz8uZe1Gj5QZtCnpyDsckvAiEnT89OEbCLmnte4R4sn7P0EKFw==", "license": "MIT", "dependencies": { @@ -3164,34 +3542,9 @@ "proxy-from-env": "^2.1.0" } }, - "node_modules/axios/node_modules/agent-base": { - "version": "6.0.2", - "resolved": "https://registry.npmmirror.com/agent-base/-/agent-base-6.0.2.tgz", - "integrity": "sha512-RZNwNclF7+MS/8bDg70amg32dyeZGZxiDuQmZxKLAlQjr3jGyLx+4Kkk58UO7D2QdgFIQCovuSuZESne6RG6XQ==", - "license": "MIT", - "dependencies": { - "debug": "4" - }, - "engines": { - "node": ">= 6.0.0" - } - }, - "node_modules/axios/node_modules/https-proxy-agent": { - "version": "5.0.1", - "resolved": "https://registry.npmmirror.com/https-proxy-agent/-/https-proxy-agent-5.0.1.tgz", - "integrity": "sha512-dFcAjpTQFgoLMzC2VwU+C/CbS7uRL0lWmxDITmqm7C+7F0Odmj6s9l6alZc6AELXhrnggM2CeWSXHGOdX2YtwA==", - "license": "MIT", - "dependencies": { - "agent-base": "6", - "debug": "4" - }, - "engines": { - "node": ">= 6" - } - }, "node_modules/b4a": { "version": "1.8.1", - "resolved": "https://registry.npmmirror.com/b4a/-/b4a-1.8.1.tgz", + "resolved": "https://registry.npmjs.org/b4a/-/b4a-1.8.1.tgz", "integrity": "sha512-aiqre1Nr0B/6DgE2N5vwTc+2/oQZ4Wh1t4NznYY4E00y8LCt6NqdRv81so00oo27D8MVKTpUa/MwUUtBLXCoDw==", "dev": true, "license": "Apache-2.0", @@ -3205,250 +3558,25 @@ } }, "node_modules/babel-jest": { - "version": "30.0.4", - "resolved": "https://registry.npmjs.org/babel-jest/-/babel-jest-30.0.4.tgz", - "integrity": "sha512-UjG2j7sAOqsp2Xua1mS/e+ekddkSu3wpf4nZUSvXNHuVWdaOUXQ77+uyjJLDE9i0atm5x4kds8K9yb5lRsRtcA==", - "dev": true, - "license": "MIT", - "dependencies": { - "@jest/transform": "30.0.4", - "@types/babel__core": "^7.20.5", - "babel-plugin-istanbul": "^7.0.0", - "babel-preset-jest": "30.0.1", - "chalk": "^4.1.2", - "graceful-fs": "^4.2.11", - "slash": "^3.0.0" - }, - "engines": { - "node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0" - }, - "peerDependencies": { - "@babel/core": "^7.11.0" - } - }, - "node_modules/babel-jest/node_modules/@jest/schemas": { - "version": "30.0.1", - "resolved": "https://registry.npmjs.org/@jest/schemas/-/schemas-30.0.1.tgz", - "integrity": "sha512-+g/1TKjFuGrf1Hh0QPCv0gISwBxJ+MQSNXmG9zjHy7BmFhtoJ9fdNhWJp3qUKRi93AOZHXtdxZgJ1vAtz6z65w==", - "dev": true, - "license": "MIT", - "dependencies": { - "@sinclair/typebox": "^0.34.0" - }, - "engines": { - "node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0" - } - }, - "node_modules/babel-jest/node_modules/@jest/transform": { - "version": "30.0.4", - "resolved": "https://registry.npmjs.org/@jest/transform/-/transform-30.0.4.tgz", - "integrity": "sha512-atvy4hRph/UxdCIBp+UB2jhEA/jJiUeGZ7QPgBi9jUUKNgi3WEoMXGNG7zbbELG2+88PMabUNCDchmqgJy3ELg==", - "dev": true, - "license": "MIT", - "dependencies": { - "@babel/core": "^7.27.4", - "@jest/types": "30.0.1", - "@jridgewell/trace-mapping": "^0.3.25", - "babel-plugin-istanbul": "^7.0.0", - "chalk": "^4.1.2", - "convert-source-map": "^2.0.0", - "fast-json-stable-stringify": "^2.1.0", - "graceful-fs": "^4.2.11", - "jest-haste-map": "30.0.2", - "jest-regex-util": "30.0.1", - "jest-util": "30.0.2", - "micromatch": "^4.0.8", - "pirates": "^4.0.7", - "slash": "^3.0.0", - "write-file-atomic": "^5.0.1" - }, - "engines": { - "node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0" - } - }, - "node_modules/babel-jest/node_modules/@jest/types": { - "version": "30.0.1", - "resolved": "https://registry.npmjs.org/@jest/types/-/types-30.0.1.tgz", - "integrity": "sha512-HGwoYRVF0QSKJu1ZQX0o5ZrUrrhj0aOOFA8hXrumD7SIzjouevhawbTjmXdwOmURdGluU9DM/XvGm3NyFoiQjw==", - "dev": true, - "license": "MIT", - "dependencies": { - "@jest/pattern": "30.0.1", - "@jest/schemas": "30.0.1", - "@types/istanbul-lib-coverage": "^2.0.6", - "@types/istanbul-reports": "^3.0.4", - "@types/node": "*", - "@types/yargs": "^17.0.33", - "chalk": "^4.1.2" - }, - "engines": { - "node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0" - } - }, - "node_modules/babel-jest/node_modules/@sinclair/typebox": { - "version": "0.34.38", - "resolved": "https://registry.npmjs.org/@sinclair/typebox/-/typebox-0.34.38.tgz", - "integrity": "sha512-HpkxMmc2XmZKhvaKIZZThlHmx1L0I/V1hWK1NubtlFnr6ZqdiOpV72TKudZUNQjZNsyDBay72qFEhEvb+bcwcA==", - "dev": true, - "license": "MIT" - }, - "node_modules/babel-jest/node_modules/babel-plugin-istanbul": { - "version": "7.0.0", - "resolved": "https://registry.npmjs.org/babel-plugin-istanbul/-/babel-plugin-istanbul-7.0.0.tgz", - "integrity": "sha512-C5OzENSx/A+gt7t4VH1I2XsflxyPUmXRFPKBxt33xncdOmq7oROVM3bZv9Ysjjkv8OJYDMa+tKuKMvqU/H3xdw==", - "dev": true, - "license": "BSD-3-Clause", - "dependencies": { - "@babel/helper-plugin-utils": "^7.0.0", - "@istanbuljs/load-nyc-config": "^1.0.0", - "@istanbuljs/schema": "^0.1.3", - "istanbul-lib-instrument": "^6.0.2", - "test-exclude": "^6.0.0" - }, - "engines": { - "node": ">=12" - } - }, - "node_modules/babel-jest/node_modules/ci-info": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/ci-info/-/ci-info-4.3.0.tgz", - "integrity": "sha512-l+2bNRMiQgcfILUi33labAZYIWlH1kWDp+ecNo5iisRKrbm0xcRyCww71/YU0Fkw0mAFpz9bJayXPjey6vkmaQ==", - "dev": true, - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/sibiraj-s" - } - ], - "license": "MIT", - "engines": { - "node": ">=8" - } - }, - "node_modules/babel-jest/node_modules/jest-haste-map": { - "version": "30.0.2", - "resolved": "https://registry.npmjs.org/jest-haste-map/-/jest-haste-map-30.0.2.tgz", - "integrity": "sha512-telJBKpNLeCb4MaX+I5k496556Y2FiKR/QLZc0+MGBYl4k3OO0472drlV2LUe7c1Glng5HuAu+5GLYp//GpdOQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "@jest/types": "30.0.1", - "@types/node": "*", - "anymatch": "^3.1.3", - "fb-watchman": "^2.0.2", - "graceful-fs": "^4.2.11", - "jest-regex-util": "30.0.1", - "jest-util": "30.0.2", - "jest-worker": "30.0.2", - "micromatch": "^4.0.8", - "walker": "^1.0.8" - }, - "engines": { - "node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0" - }, - "optionalDependencies": { - "fsevents": "^2.3.3" - } - }, - "node_modules/babel-jest/node_modules/jest-regex-util": { - "version": "30.0.1", - "resolved": "https://registry.npmjs.org/jest-regex-util/-/jest-regex-util-30.0.1.tgz", - "integrity": "sha512-jHEQgBXAgc+Gh4g0p3bCevgRCVRkB4VB70zhoAE48gxeSr1hfUOsM/C2WoJgVL7Eyg//hudYENbm3Ne+/dRVVA==", - "dev": true, - "license": "MIT", - "engines": { - "node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0" - } - }, - "node_modules/babel-jest/node_modules/jest-util": { - "version": "30.0.2", - "resolved": "https://registry.npmjs.org/jest-util/-/jest-util-30.0.2.tgz", - "integrity": "sha512-8IyqfKS4MqprBuUpZNlFB5l+WFehc8bfCe1HSZFHzft2mOuND8Cvi9r1musli+u6F3TqanCZ/Ik4H4pXUolZIg==", - "dev": true, - "license": "MIT", - "dependencies": { - "@jest/types": "30.0.1", - "@types/node": "*", - "chalk": "^4.1.2", - "ci-info": "^4.2.0", - "graceful-fs": "^4.2.11", - "picomatch": "^4.0.2" - }, - "engines": { - "node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0" - } - }, - "node_modules/babel-jest/node_modules/jest-worker": { - "version": "30.0.2", - "resolved": "https://registry.npmjs.org/jest-worker/-/jest-worker-30.0.2.tgz", - "integrity": "sha512-RN1eQmx7qSLFA+o9pfJKlqViwL5wt+OL3Vff/A+/cPsmuw7NPwfgl33AP+/agRmHzPOFgXviRycR9kYwlcRQXg==", - "dev": true, - "license": "MIT", - "dependencies": { - "@types/node": "*", - "@ungap/structured-clone": "^1.3.0", - "jest-util": "30.0.2", - "merge-stream": "^2.0.0", - "supports-color": "^8.1.1" - }, - "engines": { - "node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0" - } - }, - "node_modules/babel-jest/node_modules/picomatch": { - "version": "4.0.3", - "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-4.0.3.tgz", - "integrity": "sha512-5gTmgEY/sqK6gFXLIsQNH19lWb4ebPDLA4SdLP7dsWkIXHWlG66oPuVvXSGFPppYZz8ZDZq0dYYrbHfBCVUb1Q==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/sponsors/jonschlinkert" - } - }, - "node_modules/babel-jest/node_modules/signal-exit": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-4.1.0.tgz", - "integrity": "sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==", - "dev": true, - "license": "ISC", - "engines": { - "node": ">=14" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" - } - }, - "node_modules/babel-jest/node_modules/supports-color": { - "version": "8.1.1", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-8.1.1.tgz", - "integrity": "sha512-MpUEN2OodtUzxvKQl72cUF7RQ5EiHsGvSsVG0ia9c5RbWGL2CI4C7EpPS8UTBIplnlzZiNuV56w+FuNxy3ty2Q==", - "dev": true, - "license": "MIT", - "dependencies": { - "has-flag": "^4.0.0" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/chalk/supports-color?sponsor=1" - } - }, - "node_modules/babel-jest/node_modules/write-file-atomic": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/write-file-atomic/-/write-file-atomic-5.0.1.tgz", - "integrity": "sha512-+QU2zd6OTD8XWIJCbffaiQeH9U73qIqafo1x6V1snCWYGJf6cVE0cDR4D8xRzcEnfI21IFrUPzPGtcPf8AC+Rw==", + "version": "29.7.0", + "resolved": "https://registry.npmjs.org/babel-jest/-/babel-jest-29.7.0.tgz", + "integrity": "sha512-BrvGY3xZSwEcCzKvKsCi2GgHqDqsYkOP4/by5xCgIwGXQxIEh+8ew3gmrE1y7XRR6LHZIj6yLYnUi/mm2KXKBg==", "dev": true, - "license": "ISC", + "license": "MIT", "dependencies": { - "imurmurhash": "^0.1.4", - "signal-exit": "^4.0.1" + "@jest/transform": "^29.7.0", + "@types/babel__core": "^7.1.14", + "babel-plugin-istanbul": "^6.1.1", + "babel-preset-jest": "^29.6.3", + "chalk": "^4.0.0", + "graceful-fs": "^4.2.9", + "slash": "^3.0.0" }, "engines": { - "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + }, + "peerDependencies": { + "@babel/core": "^7.8.0" } }, "node_modules/babel-plugin-istanbul": { @@ -3496,18 +3624,19 @@ } }, "node_modules/babel-plugin-jest-hoist": { - "version": "30.0.1", - "resolved": "https://registry.npmjs.org/babel-plugin-jest-hoist/-/babel-plugin-jest-hoist-30.0.1.tgz", - "integrity": "sha512-zTPME3pI50NsFW8ZBaVIOeAxzEY7XHlmWeXXu9srI+9kNfzCUTy8MFan46xOGZY8NZThMqq+e3qZUKsvXbasnQ==", + "version": "29.6.3", + "resolved": "https://registry.npmjs.org/babel-plugin-jest-hoist/-/babel-plugin-jest-hoist-29.6.3.tgz", + "integrity": "sha512-ESAc/RJvGTFEzRwOTT4+lNDk/GNHMkKbNzsvT0qKRfDyyYTskxB5rnU2njIDYVxXCBHHEI1c0YwHob3WaYujOg==", "dev": true, "license": "MIT", "dependencies": { - "@babel/template": "^7.27.2", - "@babel/types": "^7.27.3", - "@types/babel__core": "^7.20.5" + "@babel/template": "^7.3.3", + "@babel/types": "^7.3.3", + "@types/babel__core": "^7.1.14", + "@types/babel__traverse": "^7.0.6" }, "engines": { - "node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0" + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" } }, "node_modules/babel-plugin-polyfill-corejs2": { @@ -3590,20 +3719,20 @@ } }, "node_modules/babel-preset-jest": { - "version": "30.0.1", - "resolved": "https://registry.npmjs.org/babel-preset-jest/-/babel-preset-jest-30.0.1.tgz", - "integrity": "sha512-+YHejD5iTWI46cZmcc/YtX4gaKBtdqCHCVfuVinizVpbmyjO3zYmeuyFdfA8duRqQZfgCAMlsfmkVbJ+e2MAJw==", + "version": "29.6.3", + "resolved": "https://registry.npmjs.org/babel-preset-jest/-/babel-preset-jest-29.6.3.tgz", + "integrity": "sha512-0B3bhxR6snWXJZtR/RliHTDPRgn1sNHOR0yVtq/IiQFyuOVjFS+wuio/R4gSNkyYmKmJB4wGZv2NZanmKmTnNA==", "dev": true, "license": "MIT", "dependencies": { - "babel-plugin-jest-hoist": "30.0.1", - "babel-preset-current-node-syntax": "^1.1.0" + "babel-plugin-jest-hoist": "^29.6.3", + "babel-preset-current-node-syntax": "^1.0.0" }, "engines": { - "node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0" + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" }, "peerDependencies": { - "@babel/core": "^7.11.0" + "@babel/core": "^7.0.0" } }, "node_modules/balanced-match": { @@ -3614,7 +3743,7 @@ }, "node_modules/bare-events": { "version": "2.9.1", - "resolved": "https://registry.npmmirror.com/bare-events/-/bare-events-2.9.1.tgz", + "resolved": "https://registry.npmjs.org/bare-events/-/bare-events-2.9.1.tgz", "integrity": "sha512-Z0oHEHAFDZkffN8Qc39zNZjQlMDkPJRyyyZieU1VH7u8c5S+qHZ2S8ixdKIAxEjfHO7FJxXmJWgteOghVanIsg==", "dev": true, "license": "Apache-2.0", @@ -3629,7 +3758,7 @@ }, "node_modules/bare-fs": { "version": "4.8.0", - "resolved": "https://registry.npmmirror.com/bare-fs/-/bare-fs-4.8.0.tgz", + "resolved": "https://registry.npmjs.org/bare-fs/-/bare-fs-4.8.0.tgz", "integrity": "sha512-fM+MhCvdQhZ7NV6S95a07gPSqjIYKn6mFaXfx266wN3ajZGl/+1AzH+ubkXQ0fFZvOe2nk9VHkzdYkQE5zMV3Q==", "dev": true, "license": "Apache-2.0", @@ -3654,14 +3783,14 @@ }, "node_modules/bare-path": { "version": "3.1.1", - "resolved": "https://registry.npmmirror.com/bare-path/-/bare-path-3.1.1.tgz", + "resolved": "https://registry.npmjs.org/bare-path/-/bare-path-3.1.1.tgz", "integrity": "sha512-JprUlveX3QjApC1cTpsUOiscADftCGVWkzitbHsRqv84hzYwYHw2mbluddsq5TvI8mH/8Ov1f4BiMAdcB0oYnQ==", "dev": true, "license": "Apache-2.0" }, "node_modules/bare-stream": { "version": "2.13.3", - "resolved": "https://registry.npmmirror.com/bare-stream/-/bare-stream-2.13.3.tgz", + "resolved": "https://registry.npmjs.org/bare-stream/-/bare-stream-2.13.3.tgz", "integrity": "sha512-Kc+brLqvEqGkjyfiwJmImAOqLZL7OsoLKuavx+hJjgVV3nLTOjloJyPMFxjUPerGGHrNH0fLU06jjykMLWrERQ==", "dev": true, "license": "Apache-2.0", @@ -3688,9 +3817,9 @@ } }, "node_modules/bare-url": { - "version": "2.4.7", - "resolved": "https://registry.npmmirror.com/bare-url/-/bare-url-2.4.7.tgz", - "integrity": "sha512-o8CRCiJtib+ycO3mE4A5UChtGX4dDP2XxsWVu9P+Zc3H8tcmKwNVEDoDTXmwN+uuMhfKeT7/i7Y26xS8W7ohoA==", + "version": "2.5.1", + "resolved": "https://registry.npmjs.org/bare-url/-/bare-url-2.5.1.tgz", + "integrity": "sha512-cD5ciQuKlx+eumTCfqbfiL+fhQm+dHbVNB/cX4+d+I/nx4JsVop9VoFEPAs5RJ6I84QR6bZIBjpd2kjDOYeWcg==", "dev": true, "license": "Apache-2.0", "dependencies": { @@ -4075,6 +4204,44 @@ "node": ">= 6" } }, + "node_modules/chromadb": { + "version": "3.5.0", + "resolved": "https://registry.npmjs.org/chromadb/-/chromadb-3.5.0.tgz", + "integrity": "sha512-A68f2RQjY3R95Pzy0j3ykOu6fi+WWCN1tjbvzrZXZoYQ1d7ZjgWr1FyzitZCeaz/0qmc8y2LEK7QmlxloOAs9Q==", + "license": "Apache-2.0", + "dependencies": { + "semver": "^7.7.1" + }, + "bin": { + "chroma": "dist/cli.mjs" + }, + "engines": { + "node": ">=20" + }, + "optionalDependencies": { + "chromadb-js-bindings-darwin-arm64": "^1.3.4", + "chromadb-js-bindings-darwin-x64": "^1.3.4", + "chromadb-js-bindings-linux-arm64-gnu": "^1.3.4", + "chromadb-js-bindings-linux-x64-gnu": "^1.3.4", + "chromadb-js-bindings-win32-x64-msvc": "^1.3.4" + } + }, + "node_modules/chromadb-js-bindings-win32-x64-msvc": { + "version": "1.3.4", + "resolved": "https://registry.npmjs.org/chromadb-js-bindings-win32-x64-msvc/-/chromadb-js-bindings-win32-x64-msvc-1.3.4.tgz", + "integrity": "sha512-punrofQRzKspNMxHmv24qoPeRycV2T3KfedekGV4lOuPPG14i6qggS4x/OWLSAK7ozPfBbrzCejvCa5wfvujhQ==", + "cpu": [ + "x64" + ], + "license": "MIT", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">= 10" + } + }, "node_modules/ci-info": { "version": "3.9.0", "resolved": "https://registry.npmjs.org/ci-info/-/ci-info-3.9.0.tgz", @@ -4183,7 +4350,7 @@ }, "node_modules/commondir": { "version": "1.0.1", - "resolved": "https://registry.npmmirror.com/commondir/-/commondir-1.0.1.tgz", + "resolved": "https://registry.npmjs.org/commondir/-/commondir-1.0.1.tgz", "integrity": "sha512-W9pAhw0ja1Edb5GVdIF1mjZw/ASI0AlShXM83UUGe2DVr5TdAPEA1OA8m/g8zWp9x6On7gqufY+FatDbC3MDQg==", "dev": true, "license": "MIT" @@ -4392,7 +4559,7 @@ }, "node_modules/debug": { "version": "4.4.3", - "resolved": "https://registry.npmmirror.com/debug/-/debug-4.4.3.tgz", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.4.3.tgz", "integrity": "sha512-RGwwWnwQvkVfavKVt22FGLw+xYSdzARwm0ru6DhTVA3umU5hZc28V3kO4stgYryrTlLpuvgI9GiijltAjNbcqA==", "license": "MIT", "dependencies": { @@ -5109,9 +5276,15 @@ "node": ">= 0.6" } }, + "node_modules/eventemitter3": { + "version": "4.0.7", + "resolved": "https://registry.npmjs.org/eventemitter3/-/eventemitter3-4.0.7.tgz", + "integrity": "sha512-8guHBZCwKnFhYdHr2ysuRWErTwhoN2X8XELRlrRwpmfeY2jjuUN4taQMsULKUVo1K4DvZl+0pgfyoysHxvmvEw==", + "license": "MIT" + }, "node_modules/events-universal": { "version": "1.0.1", - "resolved": "https://registry.npmmirror.com/events-universal/-/events-universal-1.0.1.tgz", + "resolved": "https://registry.npmjs.org/events-universal/-/events-universal-1.0.1.tgz", "integrity": "sha512-LUd5euvbMLpwOF8m6ivPCbhQeSiYVNb8Vs0fQ8QjXo0JTkEHpz8pxdQf0gStltaPpw0Cca8b39KxvK9cfKRiAw==", "dev": true, "license": "Apache-2.0", @@ -5211,6 +5384,25 @@ "url": "https://opencollective.com/express" } }, + "node_modules/express-rate-limit": { + "version": "8.6.2", + "resolved": "https://registry.npmjs.org/express-rate-limit/-/express-rate-limit-8.6.2.tgz", + "integrity": "sha512-YH4ru+eOJxQABscKFfRCy9R7x9QFGdezclVMwwgFFndzS2Xnm0uo6B0ABZsLhcpeptGv2qvuJVWlQr9gQZoC3A==", + "license": "MIT", + "dependencies": { + "debug": "^4.4.3", + "ip-address": "^10.2.0" + }, + "engines": { + "node": ">= 16" + }, + "funding": { + "url": "https://github.com/sponsors/express-rate-limit" + }, + "peerDependencies": { + "express": ">= 4.11" + } + }, "node_modules/express-validator": { "version": "7.2.1", "resolved": "https://registry.npmjs.org/express-validator/-/express-validator-7.2.1.tgz", @@ -5239,7 +5431,7 @@ }, "node_modules/fast-fifo": { "version": "1.3.2", - "resolved": "https://registry.npmmirror.com/fast-fifo/-/fast-fifo-1.3.2.tgz", + "resolved": "https://registry.npmjs.org/fast-fifo/-/fast-fifo-1.3.2.tgz", "integrity": "sha512-/d9sfos4yxzpwkDkuN7k2SqFKtYNmCTzgfEpz82x34IM9/zc8KGxQoXg1liNC/izpRM/MBdt44Nmx41ZWqk+FQ==", "dev": true, "license": "MIT" @@ -5320,7 +5512,7 @@ }, "node_modules/find-cache-dir": { "version": "3.3.2", - "resolved": "https://registry.npmmirror.com/find-cache-dir/-/find-cache-dir-3.3.2.tgz", + "resolved": "https://registry.npmjs.org/find-cache-dir/-/find-cache-dir-3.3.2.tgz", "integrity": "sha512-wXZV5emFEjrridIgED11OoUKLxiYjAcqot/NJdAkOhlJ+vGzwhOAfcG5OX1jP+S0PcjEn8bdMJv+g2jwQ3Onig==", "dev": true, "license": "MIT", @@ -5338,7 +5530,7 @@ }, "node_modules/find-cache-dir/node_modules/make-dir": { "version": "3.1.0", - "resolved": "https://registry.npmmirror.com/make-dir/-/make-dir-3.1.0.tgz", + "resolved": "https://registry.npmjs.org/make-dir/-/make-dir-3.1.0.tgz", "integrity": "sha512-g3FeP20LNwhALb/6Cz6Dd4F2ngze0jz7tbzrD2wAV+o9FeNHe4rL+yK2md0J/fiSf1sa1ADhXqi5+oVwOM/eGw==", "dev": true, "license": "MIT", @@ -5354,7 +5546,7 @@ }, "node_modules/find-cache-dir/node_modules/semver": { "version": "6.3.1", - "resolved": "https://registry.npmmirror.com/semver/-/semver-6.3.1.tgz", + "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz", "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==", "dev": true, "license": "ISC", @@ -5402,7 +5594,7 @@ }, "node_modules/follow-redirects": { "version": "1.16.0", - "resolved": "https://registry.npmmirror.com/follow-redirects/-/follow-redirects-1.16.0.tgz", + "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.16.0.tgz", "integrity": "sha512-y5rN/uOsadFT/JfYwhxRS5R7Qce+g3zG97+JrtFZlC9klX/W5hD7iiLzScI4nZqUS7DNUdhPgw4xI8W2LuXlUw==", "funding": [ { @@ -5455,7 +5647,7 @@ }, "node_modules/form-data": { "version": "4.0.6", - "resolved": "https://registry.npmmirror.com/form-data/-/form-data-4.0.6.tgz", + "resolved": "https://registry.npmjs.org/form-data/-/form-data-4.0.6.tgz", "integrity": "sha512-vKatAh4SlVfgbv+YtmhiRjhEMJsYpsG1Y2rMQtR+SVSbytsSD1YGzDIcrAJmdFec88u/+VoGmxnl+80gL1tRCQ==", "license": "MIT", "dependencies": { @@ -5530,21 +5722,6 @@ "integrity": "sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==", "license": "ISC" }, - "node_modules/fsevents": { - "version": "2.3.3", - "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.3.tgz", - "integrity": "sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==", - "dev": true, - "hasInstallScript": true, - "license": "MIT", - "optional": true, - "os": [ - "darwin" - ], - "engines": { - "node": "^8.16.0 || ^10.6.0 || >=11.0.0" - } - }, "node_modules/function-bind": { "version": "1.1.2", "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.2.tgz", @@ -5848,7 +6025,7 @@ }, "node_modules/hasown": { "version": "2.0.4", - "resolved": "https://registry.npmmirror.com/hasown/-/hasown-2.0.4.tgz", + "resolved": "https://registry.npmjs.org/hasown/-/hasown-2.0.4.tgz", "integrity": "sha512-T2UbfbBEF32wiepXIsMlTW9+dDYC6wMh/t/vYA4tuOMKqWz/n3vr1NFSxQiyP+zk2mXsoMA/i/7qV6LKut1t1A==", "license": "MIT", "dependencies": { @@ -5900,17 +6077,16 @@ } }, "node_modules/https-proxy-agent": { - "version": "7.0.6", - "resolved": "https://registry.npmmirror.com/https-proxy-agent/-/https-proxy-agent-7.0.6.tgz", - "integrity": "sha512-vK9P5/iUfdl95AI+JVyUuIcVtd4ofvtrOr3HNtM2yxC9bnMbEdp3x01OhQNnjb8IJYi38VlTE3mBXwcfvywuSw==", - "dev": true, + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-5.0.1.tgz", + "integrity": "sha512-dFcAjpTQFgoLMzC2VwU+C/CbS7uRL0lWmxDITmqm7C+7F0Odmj6s9l6alZc6AELXhrnggM2CeWSXHGOdX2YtwA==", "license": "MIT", "dependencies": { - "agent-base": "^7.1.2", + "agent-base": "6", "debug": "4" }, "engines": { - "node": ">= 14" + "node": ">= 6" } }, "node_modules/human-signals": { @@ -6040,6 +6216,15 @@ "node": ">= 0.4" } }, + "node_modules/ip-address": { + "version": "10.4.0", + "resolved": "https://registry.npmjs.org/ip-address/-/ip-address-10.4.0.tgz", + "integrity": "sha512-oSK96Grm3aP6OrS263xVxbNDGVL7rzBtYdpGqlDG8iQdoenDoTs/nkki+DflYbAEE8Xl6o5YxhxlrKvI3nqKXQ==", + "license": "MIT", + "engines": { + "node": ">= 12" + } + }, "node_modules/ipaddr.js": { "version": "1.9.1", "resolved": "https://registry.npmjs.org/ipaddr.js/-/ipaddr.js-1.9.1.tgz", @@ -6308,6 +6493,18 @@ "url": "https://github.com/sponsors/ljharb" } }, + "node_modules/is-network-error": { + "version": "1.3.2", + "resolved": "https://registry.npmjs.org/is-network-error/-/is-network-error-1.3.2.tgz", + "integrity": "sha512-PhBY86zaxNZUuWP6h13Vu5oFe0XY6/UlKzQnYFELzGVHygP3MxmvTfYSG7GN3aIab/iWudSMgjSnG9Dq+nHrgA==", + "license": "MIT", + "engines": { + "node": ">=16" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, "node_modules/is-number": { "version": "7.0.0", "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz", @@ -6738,61 +6935,6 @@ } } }, - "node_modules/jest-config/node_modules/babel-jest": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/babel-jest/-/babel-jest-29.7.0.tgz", - "integrity": "sha512-BrvGY3xZSwEcCzKvKsCi2GgHqDqsYkOP4/by5xCgIwGXQxIEh+8ew3gmrE1y7XRR6LHZIj6yLYnUi/mm2KXKBg==", - "dev": true, - "license": "MIT", - "dependencies": { - "@jest/transform": "^29.7.0", - "@types/babel__core": "^7.1.14", - "babel-plugin-istanbul": "^6.1.1", - "babel-preset-jest": "^29.6.3", - "chalk": "^4.0.0", - "graceful-fs": "^4.2.9", - "slash": "^3.0.0" - }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - }, - "peerDependencies": { - "@babel/core": "^7.8.0" - } - }, - "node_modules/jest-config/node_modules/babel-plugin-jest-hoist": { - "version": "29.6.3", - "resolved": "https://registry.npmjs.org/babel-plugin-jest-hoist/-/babel-plugin-jest-hoist-29.6.3.tgz", - "integrity": "sha512-ESAc/RJvGTFEzRwOTT4+lNDk/GNHMkKbNzsvT0qKRfDyyYTskxB5rnU2njIDYVxXCBHHEI1c0YwHob3WaYujOg==", - "dev": true, - "license": "MIT", - "dependencies": { - "@babel/template": "^7.3.3", - "@babel/types": "^7.3.3", - "@types/babel__core": "^7.1.14", - "@types/babel__traverse": "^7.0.6" - }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - } - }, - "node_modules/jest-config/node_modules/babel-preset-jest": { - "version": "29.6.3", - "resolved": "https://registry.npmjs.org/babel-preset-jest/-/babel-preset-jest-29.6.3.tgz", - "integrity": "sha512-0B3bhxR6snWXJZtR/RliHTDPRgn1sNHOR0yVtq/IiQFyuOVjFS+wuio/R4gSNkyYmKmJB4wGZv2NZanmKmTnNA==", - "dev": true, - "license": "MIT", - "dependencies": { - "babel-plugin-jest-hoist": "^29.6.3", - "babel-preset-current-node-syntax": "^1.0.0" - }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0" - } - }, "node_modules/jest-diff": { "version": "29.7.0", "resolved": "https://registry.npmjs.org/jest-diff/-/jest-diff-29.7.0.tgz", @@ -7228,6 +7370,16 @@ "integrity": "sha512-qR0HB5uP6wCuRMrWPTrkMaev7MJZwJuuw4fnwAzRgP4J4/F8RwtodOKpGp4XpqsLBFzzgqIO42efFAyz2Et6KQ==", "license": "MIT" }, + "node_modules/js-tiktoken": { + "version": "1.0.21", + "resolved": "https://registry.npmjs.org/js-tiktoken/-/js-tiktoken-1.0.21.tgz", + "integrity": "sha512-biOj/6M5qdgx5TKjDnFT1ymSpM5tbd3ylwDtrQvFQSu0Z7bBYko2dF+W/aUkXUPuk6IVpRxk/3Q2sHOzGlS36g==", + "license": "MIT", + "peer": true, + "dependencies": { + "base64-js": "^1.5.1" + } + }, "node_modules/js-tokens": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz", @@ -7373,6 +7525,57 @@ "node": ">=6" } }, + "node_modules/langchain": { + "version": "1.5.5", + "resolved": "https://registry.npmjs.org/langchain/-/langchain-1.5.5.tgz", + "integrity": "sha512-KhedvQDRvaLIFMSvEy45U/pqR4G0dEfN7wPyHTBMgMIUXbcrVkaqRVlDSMPfMCwNuiRCfWFUHueYGtgSrwBcBA==", + "license": "MIT", + "dependencies": { + "@langchain/langgraph": "^1.4.8", + "@langchain/langgraph-checkpoint": "^1.1.3", + "langsmith": ">=0.5.0 <1.0.0", + "zod": "^3.25.76 || ^4" + }, + "engines": { + "node": ">=20" + }, + "peerDependencies": { + "@langchain/core": "^1.2.5" + } + }, + "node_modules/langsmith": { + "version": "0.8.9", + "resolved": "https://registry.npmjs.org/langsmith/-/langsmith-0.8.9.tgz", + "integrity": "sha512-6ikTB5SO+3SlBQ/+oH8K/JzhglxB8AM4RAe5bHzgWSEIHTgTe+b71bSjf1fDvlYuEXoiPn6uP10BbczrbznUnA==", + "license": "MIT", + "dependencies": { + "p-queue": "6.6.2" + }, + "peerDependencies": { + "@opentelemetry/api": "*", + "@opentelemetry/exporter-trace-otlp-proto": "*", + "@opentelemetry/sdk-trace-base": "*", + "openai": "*", + "ws": ">=7" + }, + "peerDependenciesMeta": { + "@opentelemetry/api": { + "optional": true + }, + "@opentelemetry/exporter-trace-otlp-proto": { + "optional": true + }, + "@opentelemetry/sdk-trace-base": { + "optional": true + }, + "openai": { + "optional": true + }, + "ws": { + "optional": true + } + } + }, "node_modules/leven": { "version": "3.1.0", "resolved": "https://registry.npmjs.org/leven/-/leven-3.1.0.tgz", @@ -7773,7 +7976,7 @@ }, "node_modules/mongodb-memory-server-core": { "version": "11.2.0", - "resolved": "https://registry.npmmirror.com/mongodb-memory-server-core/-/mongodb-memory-server-core-11.2.0.tgz", + "resolved": "https://registry.npmjs.org/mongodb-memory-server-core/-/mongodb-memory-server-core-11.2.0.tgz", "integrity": "sha512-vOoDtn0JiLrHvZY81Rp/UtKXXK0rtJHZGZFVnccvJwYitPLNspO0Ty0grqFQOe7iAET8+GI4zAQcphg+R3vxQg==", "dev": true, "license": "MIT", @@ -7797,7 +8000,7 @@ }, "node_modules/mongodb-memory-server-core/node_modules/@types/whatwg-url": { "version": "13.0.0", - "resolved": "https://registry.npmmirror.com/@types/whatwg-url/-/whatwg-url-13.0.0.tgz", + "resolved": "https://registry.npmjs.org/@types/whatwg-url/-/whatwg-url-13.0.0.tgz", "integrity": "sha512-N8WXpbE6Wgri7KUSvrmQcqrMllKZ9uxkYWMt+mCSGwNc0Hsw9VQTW7ApqI4XNrx6/SaM2QQJCzMPDEXE058s+Q==", "dev": true, "license": "MIT", @@ -7805,9 +8008,19 @@ "@types/webidl-conversions": "*" } }, + "node_modules/mongodb-memory-server-core/node_modules/agent-base": { + "version": "7.1.4", + "resolved": "https://registry.npmjs.org/agent-base/-/agent-base-7.1.4.tgz", + "integrity": "sha512-MnA+YT8fwfJPgBx3m60MNqakm30XOkyIoH1y6huTQvC0PwZG7ki8NacLBcrPbNoo8vEZy7Jpuk7+jMO+CUovTQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 14" + } + }, "node_modules/mongodb-memory-server-core/node_modules/bson": { "version": "7.3.1", - "resolved": "https://registry.npmmirror.com/bson/-/bson-7.3.1.tgz", + "resolved": "https://registry.npmjs.org/bson/-/bson-7.3.1.tgz", "integrity": "sha512-h/C0qe6857pQhcSJHLfsR1uYGj98Ge3wKAD3Ed9KqH3wcVh+BM4Jq4xISD7vs9OPuT07n+q3QQVjslJ286j6ag==", "dev": true, "license": "Apache-2.0", @@ -7817,7 +8030,7 @@ }, "node_modules/mongodb-memory-server-core/node_modules/camelcase": { "version": "6.3.0", - "resolved": "https://registry.npmmirror.com/camelcase/-/camelcase-6.3.0.tgz", + "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-6.3.0.tgz", "integrity": "sha512-Gmy6FhYlCY7uOElZUSbxo2UCDH8owEk996gkbrpsgGtrJLM3J7jGxl9Ic7Qwwj4ivOE5AWZWRMecDdF7hqGjFA==", "dev": true, "license": "MIT", @@ -7828,9 +8041,23 @@ "url": "https://github.com/sponsors/sindresorhus" } }, + "node_modules/mongodb-memory-server-core/node_modules/https-proxy-agent": { + "version": "7.0.6", + "resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-7.0.6.tgz", + "integrity": "sha512-vK9P5/iUfdl95AI+JVyUuIcVtd4ofvtrOr3HNtM2yxC9bnMbEdp3x01OhQNnjb8IJYi38VlTE3mBXwcfvywuSw==", + "dev": true, + "license": "MIT", + "dependencies": { + "agent-base": "^7.1.2", + "debug": "4" + }, + "engines": { + "node": ">= 14" + } + }, "node_modules/mongodb-memory-server-core/node_modules/mongodb": { "version": "7.5.0", - "resolved": "https://registry.npmmirror.com/mongodb/-/mongodb-7.5.0.tgz", + "resolved": "https://registry.npmjs.org/mongodb/-/mongodb-7.5.0.tgz", "integrity": "sha512-5FnrEDLnvp6ycUOGLNLLU33BfCx2qmp2mJjGPDwKLruYsVzXVSK5fsGpoDXvsXJwBfBsD7ebMRdawbDxC2814g==", "dev": true, "license": "Apache-2.0", @@ -7877,7 +8104,7 @@ }, "node_modules/mongodb-memory-server-core/node_modules/mongodb-connection-string-url": { "version": "7.0.2", - "resolved": "https://registry.npmmirror.com/mongodb-connection-string-url/-/mongodb-connection-string-url-7.0.2.tgz", + "resolved": "https://registry.npmjs.org/mongodb-connection-string-url/-/mongodb-connection-string-url-7.0.2.tgz", "integrity": "sha512-ZoS07RoFqpKYQwAk59qmrx8+jJHNHU30UjlU96QktiGn1ltvDr+vCznLX5DiUBLEpMAHatHNWV1nM/74ul66kA==", "dev": true, "license": "Apache-2.0", @@ -8042,6 +8269,16 @@ "node": ">= 0.6" } }, + "node_modules/mustache": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/mustache/-/mustache-4.2.0.tgz", + "integrity": "sha512-71ippSywq5Yb7/tVYyGbkBggbU8H3u5Rz56fH60jGFgr8uHwxs+aSKeqmluIVzM0m0kB7xQjKS6qPfd0b2ZoqQ==", + "license": "MIT", + "peer": true, + "bin": { + "mustache": "bin/mustache" + } + }, "node_modules/natural-compare": { "version": "1.4.0", "resolved": "https://registry.npmjs.org/natural-compare/-/natural-compare-1.4.0.tgz", @@ -8060,7 +8297,7 @@ }, "node_modules/new-find-package-json": { "version": "2.0.0", - "resolved": "https://registry.npmmirror.com/new-find-package-json/-/new-find-package-json-2.0.0.tgz", + "resolved": "https://registry.npmjs.org/new-find-package-json/-/new-find-package-json-2.0.0.tgz", "integrity": "sha512-lDcBsjBSMlj3LXH2v/FW3txlh2pYTjmbOXPYJD93HI5EwuLzI11tdHSIpUMmfq/IOsldj4Ps8M8flhm+pCK4Ew==", "dev": true, "license": "MIT", @@ -8294,6 +8531,15 @@ "url": "https://github.com/sponsors/ljharb" } }, + "node_modules/ollama": { + "version": "0.6.3", + "resolved": "https://registry.npmjs.org/ollama/-/ollama-0.6.3.tgz", + "integrity": "sha512-KEWEhIqE5wtfzEIZbDCLH51VFZ6Z3ZSa6sIOg/E/tBV8S51flyqBOXi+bRxlOYKDf8i327zG9eSTb8IJxvm3Zg==", + "license": "MIT", + "dependencies": { + "whatwg-fetch": "^3.6.20" + } + }, "node_modules/on-finished": { "version": "2.4.1", "resolved": "https://registry.npmjs.org/on-finished/-/on-finished-2.4.1.tgz", @@ -8383,6 +8629,15 @@ "url": "https://github.com/sponsors/ljharb" } }, + "node_modules/p-finally": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/p-finally/-/p-finally-1.0.0.tgz", + "integrity": "sha512-LICb2p9CB7FS+0eR1oqWnHhp0FljGLZCWBE9aix0Uye9W8LTQPwMTYVGWQWIw9RdQiDg4+epXQODwIYJtSJaow==", + "license": "MIT", + "engines": { + "node": ">=4" + } + }, "node_modules/p-limit": { "version": "3.1.0", "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-3.1.0.tgz", @@ -8415,6 +8670,49 @@ "url": "https://github.com/sponsors/sindresorhus" } }, + "node_modules/p-queue": { + "version": "6.6.2", + "resolved": "https://registry.npmjs.org/p-queue/-/p-queue-6.6.2.tgz", + "integrity": "sha512-RwFpb72c/BhQLEXIZ5K2e+AhgNVmIejGlTgiB9MzZ0e93GRvqZ7uSi0dvRF7/XIXDeNkra2fNHBxTyPDGySpjQ==", + "license": "MIT", + "dependencies": { + "eventemitter3": "^4.0.4", + "p-timeout": "^3.2.0" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/p-retry": { + "version": "7.1.1", + "resolved": "https://registry.npmjs.org/p-retry/-/p-retry-7.1.1.tgz", + "integrity": "sha512-J5ApzjyRkkf601HpEeykoiCvzHQjWxPAHhyjFcEUP2SWq0+35NKh8TLhpLw+Dkq5TZBFvUM6UigdE9hIVYTl5w==", + "license": "MIT", + "dependencies": { + "is-network-error": "^1.1.0" + }, + "engines": { + "node": ">=20" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/p-timeout": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/p-timeout/-/p-timeout-3.2.0.tgz", + "integrity": "sha512-rhIwUycgwwKcP9yTOOFK/AKsAopjjCakVqLHePO3CC6Mir1Z99xT+R63jZxAT5lFZLa2inS5h+ZS2GvR99/FBg==", + "license": "MIT", + "dependencies": { + "p-finally": "^1.0.0" + }, + "engines": { + "node": ">=8" + } + }, "node_modules/p-try": { "version": "2.2.0", "resolved": "https://registry.npmjs.org/p-try/-/p-try-2.2.0.tgz", @@ -8517,6 +8815,18 @@ "node": ">=16" } }, + "node_modules/pdfjs-dist": { + "version": "6.2.108", + "resolved": "https://registry.npmjs.org/pdfjs-dist/-/pdfjs-dist-6.2.108.tgz", + "integrity": "sha512-YxFb+SQcodN2rnX9Tn3dHYlqfb7NjlzzfONPpJd+AKoKtUjEdevTfbC07d5TcczzOK6261auRkP/M8OBHs9vFQ==", + "license": "Apache-2.0", + "engines": { + "node": ">=22.13.0 || >=24" + }, + "optionalDependencies": { + "@napi-rs/canvas": "^1.0.0" + } + }, "node_modules/pdfkit": { "version": "0.18.0", "resolved": "https://registry.npmjs.org/pdfkit/-/pdfkit-0.18.0.tgz", @@ -8533,7 +8843,7 @@ }, "node_modules/pend": { "version": "1.2.0", - "resolved": "https://registry.npmmirror.com/pend/-/pend-1.2.0.tgz", + "resolved": "https://registry.npmjs.org/pend/-/pend-1.2.0.tgz", "integrity": "sha512-F3asv42UuXchdzt+xXqfW1OGlVBe+mxa2mqI0pg5yAHZPvFmY3Y6drSf/GQ1A86WgWEN9Kzh/WrgKa6iGcHXLg==", "dev": true, "license": "MIT" @@ -8738,7 +9048,7 @@ }, "node_modules/proxy-from-env": { "version": "2.1.0", - "resolved": "https://registry.npmmirror.com/proxy-from-env/-/proxy-from-env-2.1.0.tgz", + "resolved": "https://registry.npmjs.org/proxy-from-env/-/proxy-from-env-2.1.0.tgz", "integrity": "sha512-cJ+oHTW1VAEa8cJslgmUZrc+sjRKgAKl3Zyse6+PV38hZe/V6Z14TbCuXcan9F9ghlz4QrFr2c92TNF82UkYHA==", "license": "MIT", "engines": { @@ -9145,7 +9455,7 @@ }, "node_modules/semver": { "version": "7.8.5", - "resolved": "https://registry.npmmirror.com/semver/-/semver-7.8.5.tgz", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.8.5.tgz", "integrity": "sha512-Y7/KDsb8LjooZpwaqGyulO6DQlksgCncchHGk+sZIY4SBvUocMBEFH5Ur1fI4dV+Jvl0w6cjvucaIi40puRioA==", "license": "ISC", "bin": { @@ -9478,7 +9788,7 @@ }, "node_modules/streamx": { "version": "2.28.0", - "resolved": "https://registry.npmmirror.com/streamx/-/streamx-2.28.0.tgz", + "resolved": "https://registry.npmjs.org/streamx/-/streamx-2.28.0.tgz", "integrity": "sha512-1Yowhzjf0ivGMrTIkY9hav5TxobO9qIVqUE41fiCGMGgc3CLlf4MY+9AHmZqBWgDTue0fY9zWjYFVyf6Diuobw==", "dev": true, "license": "MIT", @@ -9774,7 +10084,7 @@ }, "node_modules/tar-stream": { "version": "3.2.0", - "resolved": "https://registry.npmmirror.com/tar-stream/-/tar-stream-3.2.0.tgz", + "resolved": "https://registry.npmjs.org/tar-stream/-/tar-stream-3.2.0.tgz", "integrity": "sha512-ojzvCvVaNp6aOTFmG7jaRD0meowIAuPc3cMMhSgKiVWws1GyHbGd/xvnyuRKcKlMpt3qvxx6r0hreCNITP9hIg==", "dev": true, "license": "MIT", @@ -9787,7 +10097,7 @@ }, "node_modules/teex": { "version": "1.0.1", - "resolved": "https://registry.npmmirror.com/teex/-/teex-1.0.1.tgz", + "resolved": "https://registry.npmjs.org/teex/-/teex-1.0.1.tgz", "integrity": "sha512-eYE6iEI62Ni1H8oIa7KlDU6uQBtqr4Eajni3wX7rpfXD8ysFx8z0+dri+KWEPWpBsxXfxu58x/0jvTVT1ekOSg==", "dev": true, "license": "MIT", @@ -9812,7 +10122,7 @@ }, "node_modules/text-decoder": { "version": "1.2.7", - "resolved": "https://registry.npmmirror.com/text-decoder/-/text-decoder-1.2.7.tgz", + "resolved": "https://registry.npmjs.org/text-decoder/-/text-decoder-1.2.7.tgz", "integrity": "sha512-vlLytXkeP4xvEq2otHeJfSQIRyWxo/oZGEbXrtEEF9Hnmrdly59sUbzZ/QgyWuLYHctCHxFF4tRQZNQ9k60ExQ==", "dev": true, "license": "Apache-2.0", @@ -10251,6 +10561,12 @@ "node": ">=12" } }, + "node_modules/whatwg-fetch": { + "version": "3.6.20", + "resolved": "https://registry.npmjs.org/whatwg-fetch/-/whatwg-fetch-3.6.20.tgz", + "integrity": "sha512-EqhiFU6daOA8kpjOWTL0olhVOF3i7OrFzSYiGsEMB8GcXS+RrzauAERX65xMeNWVqxA6HXH2m69Z9LaKKdisfg==", + "license": "MIT" + }, "node_modules/whatwg-url": { "version": "14.2.0", "resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-14.2.0.tgz", @@ -10483,7 +10799,7 @@ }, "node_modules/yauzl": { "version": "3.4.0", - "resolved": "https://registry.npmmirror.com/yauzl/-/yauzl-3.4.0.tgz", + "resolved": "https://registry.npmjs.org/yauzl/-/yauzl-3.4.0.tgz", "integrity": "sha512-jIH9yLR9wqr0wOS0TpBvo/g/2UgZH5qePVbjgRliiF0BYvOZyaBknKsF+x9Iht0O6sqgnB93rCICdOZFecJuDw==", "dev": true, "license": "MIT", @@ -10536,6 +10852,15 @@ "engines": { "node": "^12.20.0 || >=14" } + }, + "node_modules/zod": { + "version": "4.4.3", + "resolved": "https://registry.npmjs.org/zod/-/zod-4.4.3.tgz", + "integrity": "sha512-ytENFjIJFl2UwYglde2jchW2Hwm4GJFLDiSXWdTrJQBIN9Fcyp7n4DhxJEiWNAJMV1/BqWfW/kkg71UDcHJyTQ==", + "license": "MIT", + "funding": { + "url": "https://github.com/sponsors/colinhacks" + } } } } diff --git a/app-backend/package.json b/app-backend/package.json index 4bfd0215a..089b23db6 100644 --- a/app-backend/package.json +++ b/app-backend/package.json @@ -5,7 +5,7 @@ "description": "SecureShift Backend API (Guards ↔ Employers ↔ Admin)", "main": "server.js", "engines": { - "node": ">=18" + "node": ">=22.13.0" }, "scripts": { "start": "node server.js", @@ -39,20 +39,26 @@ }, "homepage": "https://github.com/musahex/secure_backend#readme", "dependencies": { + "@langchain/ollama": "^1.3.0", "axios": "^1.19.0", "bcrypt": "^6.0.0", "bcryptjs": "^3.0.2", + "chromadb": "^3.5.0", "cors": "^2.8.5", "dotenv": "^17.2.0", "express": "^5.1.0", + "express-rate-limit": "^8.6.2", "express-validator": "^7.2.1", "helmet": "^8.1.0", "install": "^0.13.0", "jsonwebtoken": "^9.0.2", + "langchain": "^1.5.5", "mongoose": "^8.16.4", "morgan": "^1.10.1", "multer": "^2.0.2", "nodemailer": "^7.0.5", + "ollama": "^0.6.3", + "pdfjs-dist": "^6.2.108", "pdfkit": "^0.18.0", "swagger-jsdoc": "^6.2.8", "swagger-ui-express": "^5.0.1" @@ -62,7 +68,7 @@ "@babel/preset-env": "^7.28.0", "@eslint/js": "^9.31.0", "@jest/globals": "^29.7.0", - "babel-jest": "^30.0.4", + "babel-jest": "^29.7.0", "eslint": "^9.39.4", "eslint-config-prettier": "^9.1.2", "eslint-plugin-import": "^2.32.0", diff --git a/app-backend/src/ai/chunking/textChunker.js b/app-backend/src/ai/chunking/textChunker.js new file mode 100644 index 000000000..930fc54ee --- /dev/null +++ b/app-backend/src/ai/chunking/textChunker.js @@ -0,0 +1,141 @@ +/** + * Split documentation into small semantic chunks. + * + * Each chunk keeps its section heading and contains a limited + * amount of text so that vector search can retrieve focused + * pieces of information. + */ + +const MAX_WORDS = 250; + +/** + * Determine whether a line is a real documentation heading. + */ +function isHeading(line) { + const trimmed = line.trim(); + + if (!trimmed) { + return false; + } + + // Markdown headings + // Example: + // # Introduction + // ## Docker Setup + if (/^#{1,6}\s+/.test(trimmed)) { + return true; + } + + // Numbered headings + // Example: + // 1. Introduction + // 2. Project Overview + // 4.1 Docker Compose + // 5.2 Install dependencies + if (/^\d+(\.\d+)*\s+[A-Za-z]/.test(trimmed)) { + return true; + } + + return false; +} + +/** + * Count words in a string. + */ +function countWords(text) { + return text.trim().split(/\s+/).filter(Boolean).length; +} + +/** + * Split documentation into semantic chunks. + */ +export function splitIntoChunks(text) { + if (!text || typeof text !== "string") { + return []; + } + + const lines = text.split(/\r?\n/); + + const chunks = []; + + let currentSection = "General"; + let buffer = []; + let wordCount = 0; + + /** + * Save the current buffer as a chunk. + */ + function saveChunk() { + if (buffer.length === 0) { + return; + } + + const chunkText = buffer.join("\n").trim(); + + if (!chunkText) { + return; + } + + chunks.push({ + section: currentSection, + text: chunkText, + }); + + buffer = []; + wordCount = 0; + } + + for (const rawLine of lines) { + const trimmed = rawLine.trim(); + + // Ignore empty lines + if (!trimmed) { + continue; + } + + // --------------------------------------------------------- + // NEW SECTION + // --------------------------------------------------------- + + if (isHeading(trimmed)) { + // Save previous section first + saveChunk(); + + // Set new section + currentSection = trimmed; + + // Keep heading inside the chunk + buffer.push(trimmed); + + wordCount = countWords(trimmed); + + continue; + } + + // --------------------------------------------------------- + // NORMAL CONTENT + // --------------------------------------------------------- + + const lineWordCount = countWords(trimmed); + + // If adding this line makes the chunk too large, + // save the current chunk first. + if (wordCount > 0 && wordCount + lineWordCount > MAX_WORDS) { + saveChunk(); + + // Repeat section heading in the new chunk + buffer.push(currentSection); + + wordCount = countWords(currentSection); + } + + buffer.push(trimmed); + + wordCount += lineWordCount; + } + + // Save final chunk + saveChunk(); + + return chunks; +} diff --git a/app-backend/src/ai/controllers/aiController.js b/app-backend/src/ai/controllers/aiController.js new file mode 100644 index 000000000..c53f7dc0d --- /dev/null +++ b/app-backend/src/ai/controllers/aiController.js @@ -0,0 +1,102 @@ +import { askOllama } from "../services/ollamaService.js"; +import { semanticSearch } from "../retrieval/vectorSearch.js"; + +export async function chat(req, res) { + console.log("\n======================================"); + console.log("AI QUESTION:", req.body?.question); + console.log("======================================\n"); + + try { + const question = req.body?.question?.trim(); + + if (!question) { + return res.status(400).json({ + success: false, + message: "Question is required.", + }); + } + + // ========================================================= + // SEARCH KNOWLEDGE BASE + // ========================================================= + + const searchResult = await semanticSearch(question, 3); + + let chunks = []; + let mode = "general"; + let confidence = 0; + + if (searchResult.bestScore >= 0.6) { + chunks = searchResult.results; + mode = "documentation"; + confidence = Number(searchResult.bestScore.toFixed(3)); + } + + // ========================================================= + // DEBUG RETRIEVED CHUNKS + // ========================================================= + + console.log("\n========== RETRIEVED CHUNKS =========="); + + if (chunks.length === 0) { + console.log("No documentation retrieved."); + } else { + chunks.forEach((chunk, index) => { + console.log(`\nChunk ${index + 1}`); + console.log("Document :", chunk.document); + console.log("Section :", chunk.section); + console.log("Score :", chunk.score.toFixed(3)); + console.log( + "Text :", + chunk.text.substring(0, 300).replace(/\n/g, " "), + ); + }); + } + + console.log("======================================\n"); + + // ========================================================= + // CALL OLLAMA + // ========================================================= + + console.log("Calling Ollama..."); + + const answer = await askOllama(question, chunks); + + console.log("✅ Answer generated successfully."); + + // ========================================================= + // RESPONSE + // ========================================================= + + return res.status(200).json({ + success: true, + mode, + answer, + + sources: + mode === "documentation" + ? chunks.map((chunk) => ({ + id: chunk.id, + document: chunk.document, + section: chunk.section, + score: Number(chunk.score.toFixed(3)), + })) + : [], + + confidence, + timestamp: new Date().toISOString(), + }); + } catch (err) { + console.error("\n========== AI CHAT ERROR =========="); + console.error("Message:", err.message); + console.error(err.stack); + console.error("===================================\n"); + + return res.status(500).json({ + success: false, + message: "SecureShift AI failed to generate a response.", + error: err.message, + }); + } +} diff --git a/app-backend/src/ai/embeddings/embeddingService.js b/app-backend/src/ai/embeddings/embeddingService.js new file mode 100644 index 000000000..9bcb8c3b4 --- /dev/null +++ b/app-backend/src/ai/embeddings/embeddingService.js @@ -0,0 +1,20 @@ +import { Ollama } from "ollama"; + +const host = + process.env.OLLAMA_HOST || + (process.env.NODE_ENV === "development" + ? "http://localhost:11434" + : "http://host.docker.internal:11434"); + +const ollama = new Ollama({ + host, +}); + +export async function createEmbedding(text) { + const response = await ollama.embed({ + model: "nomic-embed-text:latest", + input: text, + }); + + return response.embeddings[0]; +} diff --git a/app-backend/src/ai/indexing/buildIndex.js b/app-backend/src/ai/indexing/buildIndex.js new file mode 100644 index 000000000..bbbf4499b --- /dev/null +++ b/app-backend/src/ai/indexing/buildIndex.js @@ -0,0 +1,176 @@ +import fs from "fs"; +import path from "path"; +import { fileURLToPath } from "url"; + +import { splitIntoChunks } from "../chunking/textChunker.js"; +import { createEmbedding } from "../embeddings/embeddingService.js"; + +const __filename = fileURLToPath(import.meta.url); +const __dirname = path.dirname(__filename); + +const docsFolder = path.join(__dirname, "../../../knowledge-base/docs"); + +const vectorsFolder = path.join(__dirname, "../../../knowledge-base/vectors"); + +// ========================================================= +// CREATE VECTOR DIRECTORY +// ========================================================= + +if (!fs.existsSync(vectorsFolder)) { + fs.mkdirSync(vectorsFolder, { + recursive: true, + }); +} + +// ========================================================= +// GET TXT DOCUMENTS +// ========================================================= + +function getTextFiles() { + if (!fs.existsSync(docsFolder)) { + console.error(`Knowledge-base folder does not exist: ${docsFolder}`); + + return []; + } + + return fs + .readdirSync(docsFolder) + .filter((file) => file.toLowerCase().endsWith(".txt")); +} + +// ========================================================= +// PROCESS DOCUMENT +// ========================================================= + +async function processDocument(fileName) { + const filePath = path.join(docsFolder, fileName); + + console.log(`\n========================================`); + + console.log(`Processing: ${fileName}`); + + console.log(`========================================`); + + const text = fs.readFileSync(filePath, "utf8"); + + if (!text.trim()) { + console.warn(`⚠️ Empty document: ${fileName}`); + + return; + } + + console.log(`Text length: ${text.length}`); + + // --------------------------------------------------------- + // CHUNK DOCUMENT + // --------------------------------------------------------- + + const chunks = splitIntoChunks(text); + + console.log(`📦 Found ${chunks.length} chunks`); + + // --------------------------------------------------------- + // DEBUG CHUNKS + // --------------------------------------------------------- + + chunks.forEach((chunk, index) => { + console.log(`\n--- Chunk ${index + 1} ---`); + + console.log("Section:", chunk.section); + + console.log("Text:", chunk.text.substring(0, 500)); + }); + + // --------------------------------------------------------- + // CREATE EMBEDDINGS + // --------------------------------------------------------- + + const vectors = []; + + for (let i = 0; i < chunks.length; i++) { + const chunk = chunks[i]; + + console.log(`Embedding ${fileName} (${i + 1}/${chunks.length})`); + + const embedding = await createEmbedding(chunk.text); + + vectors.push({ + id: `${fileName}-${i}`, + document: fileName, + section: chunk.section, + text: chunk.text, + embedding, + }); + } + + // --------------------------------------------------------- + // SAVE VECTOR FILE + // --------------------------------------------------------- + + const outputFile = path.join( + vectorsFolder, + fileName.replace(/\.txt$/i, ".json"), + ); + + fs.writeFileSync(outputFile, JSON.stringify(vectors, null, 2)); + + console.log(`✅ Saved ${outputFile}`); +} + +// ========================================================= +// BUILD INDEX +// ========================================================= + +async function buildIndex() { + console.log("\n========================================"); + + console.log("🚀 SecureShift RAG Index Builder"); + + console.log("========================================\n"); + + const files = getTextFiles(); + + console.log(`Documents found: ${files.length}`); + + files.forEach((file) => { + console.log(` - ${file}`); + }); + + if (files.length === 0) { + console.warn("⚠️ No TXT documentation files found."); + + return; + } + + // --------------------------------------------------------- + // Process documents + // --------------------------------------------------------- + + for (const file of files) { + await processDocument(file); + } + + console.log("\n========================================"); + + console.log("✅ All documents indexed successfully."); + + console.log("========================================\n"); +} + +// ========================================================= +// START +// ========================================================= + +buildIndex().catch((error) => { + console.error("\n========================================"); + + console.error("❌ INDEXING FAILED"); + + console.error("Message:", error.message); + + console.error(error.stack); + + console.error("========================================\n"); + + process.exit(1); +}); diff --git a/app-backend/src/ai/retrieval/similarity.js b/app-backend/src/ai/retrieval/similarity.js new file mode 100644 index 000000000..28da89447 --- /dev/null +++ b/app-backend/src/ai/retrieval/similarity.js @@ -0,0 +1,24 @@ +export function cosineSimilarity(vecA, vecB) { + if (vecA.length !== vecB.length) { + throw new Error("Vectors must have the same length"); + } + + let dot = 0; + let magA = 0; + let magB = 0; + + for (let i = 0; i < vecA.length; i++) { + dot += vecA[i] * vecB[i]; + magA += vecA[i] * vecA[i]; + magB += vecB[i] * vecB[i]; + } + + magA = Math.sqrt(magA); + magB = Math.sqrt(magB); + + if (magA === 0 || magB === 0) { + return 0; + } + + return dot / (magA * magB); +} diff --git a/app-backend/src/ai/retrieval/vectorSearch.js b/app-backend/src/ai/retrieval/vectorSearch.js new file mode 100644 index 000000000..9341ca3f4 --- /dev/null +++ b/app-backend/src/ai/retrieval/vectorSearch.js @@ -0,0 +1,749 @@ +import fs from "fs"; +import path from "path"; +import { fileURLToPath } from "url"; + +import { createEmbedding } from "../embeddings/embeddingService.js"; +import { cosineSimilarity } from "./similarity.js"; + +const __filename = fileURLToPath(import.meta.url); +const __dirname = path.dirname(__filename); + +const vectorsFolder = path.join(__dirname, "../../../knowledge-base/vectors"); + +// ========================================================= +// LOAD ALL VECTORS +// ========================================================= + +let vectors = []; + +if (!fs.existsSync(vectorsFolder)) { + console.error(`ERROR: Vector folder does not exist: ${vectorsFolder}`); +} else { + const files = fs.readdirSync(vectorsFolder); + + for (const file of files) { + if (!file.endsWith(".json")) { + continue; + } + + try { + const filePath = path.join(vectorsFolder, file); + + const fileVectors = JSON.parse(fs.readFileSync(filePath, "utf8")); + + fileVectors.forEach((chunk) => { + chunk.document = chunk.document || file; + + vectors.push(chunk); + }); + } catch (error) { + console.error( + `ERROR: Failed to load vector file ${file}:`, + error.message, + ); + } + } + + console.log( + `Loaded ${vectors.length} chunks from ${ + files.filter((file) => file.endsWith(".json")).length + } documents`, + ); +} + +// ========================================================= +// CLEAN TEXT +// ========================================================= + +function cleanText(text) { + return String(text || "") + .toLowerCase() + .replace(/[^\w\s]/g, " ") + .replace(/\s+/g, " ") + .trim(); +} + +// ========================================================= +// KEYWORDS +// ========================================================= + +function getKeywords(question) { + const stopWords = new Set([ + "what", + "is", + "are", + "the", + "does", + "do", + "how", + "can", + "of", + "a", + "an", + "and", + "to", + "for", + "in", + "on", + "use", + "uses", + "used", + "with", + "about", + "tell", + "me", + "please", + "which", + "i", + "my", + "we", + "our", + "you", + "your", + "this", + "that", + "it", + "be", + "from", + "into", + "using", + ]); + + const aliases = { + technologies: "technology", + technology: "technology", + tech: "technology", + + frameworks: "framework", + framework: "framework", + + databases: "database", + database: "database", + + frontends: "frontend", + frontend: "frontend", + + backends: "backend", + backend: "backend", + + shifts: "shift", + shift: "shift", + + schedules: "schedule", + scheduling: "schedule", + scheduled: "schedule", + + rosters: "roster", + roster: "roster", + + employees: "employee", + employee: "employee", + + guards: "guard", + guard: "guard", + + applicants: "applicant", + applicant: "applicant", + + approvals: "approve", + approved: "approve", + approving: "approve", + approve: "approve", + + branches: "branch", + branch: "branch", + + notifications: "notification", + notification: "notification", + + messages: "message", + message: "message", + + containers: "docker", + container: "docker", + + building: "build", + built: "build", + builds: "build", + build: "build", + + running: "run", + runs: "run", + run: "run", + }; + + return cleanText(question) + .split(" ") + .filter((word) => word.length > 2 && !stopWords.has(word)) + .map((word) => aliases[word] || word); +} + +// ========================================================= +// KEYWORD SCORE +// ========================================================= + +function keywordScore(question, chunk) { + const keywords = getKeywords(question); + + if (keywords.length === 0) { + return 0; + } + + const section = cleanText(chunk.section || ""); + + const text = cleanText(chunk.text || ""); + + let score = 0; + + for (const keyword of keywords) { + // Section match is useful but should not dominate. + if (section.includes(keyword)) { + score += 2; + } + + // Actual text match is more important. + if (text.includes(keyword)) { + score += 1; + } + } + + const maxScore = keywords.length * 3; + + return Math.min(score / maxScore, 1); +} + +// ========================================================= +// TECHNICAL MATCH +// ========================================================= + +function technicalMatchScore(question, chunk) { + const q = cleanText(question); + const text = cleanText(chunk.text || ""); + + let score = 0; + + // --------------------------------------------------------- + // Docker / Build / Run + // --------------------------------------------------------- + + if (q.includes("build") || q.includes("run") || q.includes("docker")) { + // Strong match only when the ACTUAL chunk text + // contains Docker/build commands. + if ( + text.includes("docker compose") || + text.includes("dockerfile") || + text.includes("docker build") || + text.includes("docker run") + ) { + score = Math.max(score, 1); + } + } + + // --------------------------------------------------------- + // MongoDB + // --------------------------------------------------------- + + if (q.includes("mongodb") || q.includes("database")) { + if ( + text.includes("mongodb") || + text.includes("mongodb 27017") || + text.includes("localhost 27017") || + text.includes("mongoose") + ) { + score = Math.max(score, 1); + } + } + + // --------------------------------------------------------- + // Git / GitHub + // --------------------------------------------------------- + + if ( + q.includes("git") || + q.includes("github") || + q.includes("branch") || + q.includes("commit") || + q.includes("pull request") + ) { + if ( + text.includes("git") || + text.includes("github") || + text.includes("pull request") + ) { + score = Math.max(score, 0.9); + } + } + + // --------------------------------------------------------- + // Shift creation + // --------------------------------------------------------- + + if ( + q.includes("create shift") || + q.includes("create a shift") || + q.includes("make a shift") + ) { + if ( + text.includes("create a shift") || + text.includes("create shift") || + text.includes("shift management") + ) { + score = Math.max(score, 1); + } + } + + // --------------------------------------------------------- + // Frontend + // --------------------------------------------------------- + + if (q.includes("frontend") || q.includes("react")) { + if (text.includes("frontend") || text.includes("react")) { + score = Math.max(score, 0.9); + } + } + + // --------------------------------------------------------- + // Backend + // --------------------------------------------------------- + + if (q.includes("backend") || q.includes("api")) { + if ( + text.includes("backend") || + text.includes("api") || + text.includes("express") + ) { + score = Math.max(score, 0.9); + } + } + + return score; +} + +// ========================================================= +// SECTION MATCH +// ========================================================= + +function sectionMatchScore(question, chunk) { + const q = cleanText(question); + + const section = cleanText(chunk.section || ""); + + const text = cleanText(chunk.text || ""); + + // --------------------------------------------------------- + // Technology + // --------------------------------------------------------- + + if ( + q.includes("technology") || + q.includes("tech stack") || + q.includes("framework") || + q.includes("database") + ) { + if (section.includes("technology stack")) { + return 1; + } + + if (text.includes("technology stack")) { + return 0.7; + } + } + + // --------------------------------------------------------- + // Architecture + // --------------------------------------------------------- + + if (q.includes("architecture") || q.includes("system architecture")) { + if (section.includes("project architecture")) { + return 1; + } + + if (text.includes("project architecture")) { + return 0.7; + } + } + + // --------------------------------------------------------- + // Docker + // --------------------------------------------------------- + + if ( + q.includes("docker") || + q.includes("container") || + q.includes("build secureshift") || + q.includes("run secureshift") + ) { + if ( + section.includes("docker setup") || + section.includes("docker compose") || + section.includes("full docker") + ) { + return 1; + } + + if ( + text.includes("docker compose up") || + text.includes("docker compose") || + text.includes("docker build") + ) { + return 0.8; + } + } + + // --------------------------------------------------------- + // Git + // --------------------------------------------------------- + + if ( + q.includes("git") || + q.includes("github") || + q.includes("branch") || + q.includes("commit") || + q.includes("pull request") + ) { + if (section.includes("git") || section.includes("pull request")) { + return 1; + } + + if (text.includes("git") || text.includes("github")) { + return 0.7; + } + } + + // --------------------------------------------------------- + // Shift + // --------------------------------------------------------- + + if (q.includes("shift") || q.includes("schedule") || q.includes("roster")) { + if ( + section.includes("shift") || + section.includes("schedule") || + section.includes("roster") + ) { + return 1; + } + + if (text.includes("shift") || text.includes("schedule")) { + return 0.7; + } + } + + // --------------------------------------------------------- + // Guard + // --------------------------------------------------------- + + if (q.includes("guard") || q.includes("employee")) { + if (section.includes("guard") || section.includes("employee")) { + return 1; + } + + if (text.includes("guard") || text.includes("employee")) { + return 0.7; + } + } + + // --------------------------------------------------------- + // Notifications + // --------------------------------------------------------- + + if ( + q.includes("notification") || + q.includes("notify") || + q.includes("alert") + ) { + if (section.includes("notification")) { + return 1; + } + + if (text.includes("notification")) { + return 0.7; + } + } + + // --------------------------------------------------------- + // Chat / Messages + // --------------------------------------------------------- + + if ( + q.includes("message") || + q.includes("conversation") || + q.includes("chat") + ) { + if (section.includes("message") || section.includes("conversation")) { + return 1; + } + + if (text.includes("message") || text.includes("conversation")) { + return 0.7; + } + } + + return 0; +} + +// ========================================================= +// DOCUMENT RELEVANCE +// ========================================================= + +function documentMatchScore(question, chunk) { + const q = cleanText(question); + + const document = cleanText(chunk.document || ""); + + let score = 0; + + // SecureShift questions should prefer + // SecureShift documentation. + if (q.includes("secureshift") && document.includes("secureshift")) { + score = Math.max(score, 0.5); + } + + return score; +} + +// ========================================================= +// SPECIAL QUERY INTENT +// ========================================================= + +function getQueryIntent(question) { + const q = cleanText(question); + + // Build / run SecureShift + if ( + q.includes("build secureshift") || + q.includes("build and run secureshift") || + q.includes("run secureshift") || + q.includes("how do i build secureshift") + ) { + return "build"; + } + + // Docker questions + if ( + q.includes("docker") && + (q.includes("build") || q.includes("run") || q.includes("start")) + ) { + return "build"; + } + + // Shift creation + if ( + q.includes("create shift") || + q.includes("create a shift") || + q.includes("make a shift") + ) { + return "shift"; + } + + return "general"; +} + +// ========================================================= +// INTENT MATCH +// ========================================================= + +function intentMatchScore(question, chunk) { + const intent = getQueryIntent(question); + + if (intent === "build") { + const text = cleanText(chunk.text || ""); + + const section = cleanText(chunk.section || ""); + + // Strongest signal: + // actual Docker build/run command. + if (text.includes("docker compose up --build")) { + return 1; + } + + if ( + text.includes("docker compose up") || + text.includes("docker compose build") || + text.includes("docker build") + ) { + return 0.9; + } + + // Docker setup section without actual command + // gets a smaller score. + if ( + section.includes("docker setup") || + section.includes("docker compose") || + section.includes("full docker") + ) { + return 0.5; + } + + return 0; + } + + if (intent === "shift") { + const text = cleanText(chunk.text || ""); + + if (text.includes("create a shift") || text.includes("create shift")) { + return 1; + } + + if (text.includes("shift management")) { + return 0.7; + } + + return 0; + } + + return 0; +} + +// ========================================================= +// SEMANTIC SEARCH +// ========================================================= + +export async function semanticSearch(question, topK = 3) { + if (!question || typeof question !== "string") { + return { + results: [], + bestScore: 0, + }; + } + + if (vectors.length === 0) { + console.warn("WARNING: No knowledge-base vectors are loaded."); + + return { + results: [], + bestScore: 0, + }; + } + + // --------------------------------------------------------- + // Create question embedding + // --------------------------------------------------------- + + const questionEmbedding = await createEmbedding(question); + + // --------------------------------------------------------- + // Score every chunk + // --------------------------------------------------------- + + const scored = vectors.map((chunk) => { + const semantic = cosineSimilarity(questionEmbedding, chunk.embedding); + + const keyword = keywordScore(question, chunk); + + const sectionMatch = sectionMatchScore(question, chunk); + + const technicalMatch = technicalMatchScore(question, chunk); + + const documentMatch = documentMatchScore(question, chunk); + + const intentMatch = intentMatchScore(question, chunk); + + /* + * Retrieval weighting: + * + * Semantic similarity = 45% + * Keyword matching = 15% + * Section matching = 10% + * Technical matching = 10% + * Document matching = 5% + * Intent matching = 15% + * + * Intent matching is particularly useful for + * specific questions such as: + * + * "How do I build SecureShift?" + * + * because a chunk containing: + * + * docker compose up --build -d + * + * should outrank a chunk that merely happens + * to belong to a Docker-related section. + */ + + const score = + semantic * 0.45 + + keyword * 0.15 + + sectionMatch * 0.1 + + technicalMatch * 0.1 + + documentMatch * 0.05 + + intentMatch * 0.15; + + return { + ...chunk, + + semanticScore: semantic, + keywordScore: keyword, + sectionMatchScore: sectionMatch, + technicalMatchScore: technicalMatch, + documentMatchScore: documentMatch, + intentMatchScore: intentMatch, + + score, + }; + }); + + // --------------------------------------------------------- + // Sort highest first + // --------------------------------------------------------- + + scored.sort((a, b) => b.score - a.score); + + // --------------------------------------------------------- + // Top results + // --------------------------------------------------------- + + const results = scored.slice(0, topK); + + const bestScore = results[0]?.score || 0; + + // --------------------------------------------------------- + // Debug + // --------------------------------------------------------- + + console.log("\n========== SEMANTIC SEARCH =========="); + + console.log("Question:", question); + + console.log("Intent:", getQueryIntent(question)); + + console.log("Total vectors:", vectors.length); + + results.forEach((result, index) => { + console.log(`\n--- Result ${index + 1} ---`); + + console.log("Final Score:", result.score.toFixed(3)); + + console.log("Semantic:", result.semanticScore.toFixed(3)); + + console.log("Keyword:", result.keywordScore.toFixed(3)); + + console.log("Section:", result.sectionMatchScore.toFixed(3)); + + console.log("Technical:", result.technicalMatchScore.toFixed(3)); + + console.log("Document:", result.documentMatchScore.toFixed(3)); + + console.log("Intent:", result.intentMatchScore.toFixed(3)); + + console.log("Document:", result.document); + + console.log("Section Name:", result.section); + + console.log( + "Text:", + String(result.text || "") + .substring(0, 500) + .replace(/\n/g, " "), + ); + }); + + console.log("\nBest Score:", bestScore.toFixed(3)); + + console.log("======================================\n"); + + return { + results, + bestScore, + }; +} diff --git a/app-backend/src/ai/routes/aiRoutes.js b/app-backend/src/ai/routes/aiRoutes.js new file mode 100644 index 000000000..1d01ab1c3 --- /dev/null +++ b/app-backend/src/ai/routes/aiRoutes.js @@ -0,0 +1,25 @@ +import express from "express"; +import { chat } from "../controllers/aiController.js"; +import protect from "../../middleware/auth.js"; +import { allowRoles } from "../../middleware/role.js"; +import aiRateLimiter from "../../middleware/aiRateLimiter.js"; + +const router = express.Router(); + +/** + * POST /api/v1/ai/chat + * + * SecureShift AI Assistant + * Requires: + * - Valid JWT authentication + * - Employer or Admin role + */ +router.post( + "/chat", + protect, + allowRoles("employer", "admin"), + aiRateLimiter, + chat, +); + +export default router; diff --git a/app-backend/src/ai/services/documentLoader.js b/app-backend/src/ai/services/documentLoader.js new file mode 100644 index 000000000..e69de29bb diff --git a/app-backend/src/ai/services/knowledgeService.js b/app-backend/src/ai/services/knowledgeService.js new file mode 100644 index 000000000..7910c25c8 --- /dev/null +++ b/app-backend/src/ai/services/knowledgeService.js @@ -0,0 +1,31 @@ +import { semanticSearch } from "../retrieval/vectorSearch.js"; + +/** + * Search the SecureShift knowledge base. + * + * Uses the vector-based semantic search system. + * + * The search combines: + * - Semantic similarity + * - Keyword matching + * - Technology/section matching + * + * @param {string} question - User's question + * @param {number} topK - Number of results to return + * @returns {Promise} Search results and confidence score + */ +export async function searchKnowledge(question, topK = 5) { + if (!question || typeof question !== "string") { + return { + results: [], + bestScore: 0, + }; + } + + const searchResult = await semanticSearch(question, topK); + + return { + results: searchResult.results, + bestScore: searchResult.bestScore, + }; +} diff --git a/app-backend/src/ai/services/ollamaService.js b/app-backend/src/ai/services/ollamaService.js new file mode 100644 index 000000000..4672c8b4a --- /dev/null +++ b/app-backend/src/ai/services/ollamaService.js @@ -0,0 +1,210 @@ +import { Ollama } from "ollama"; + +const OLLAMA_HOST = + process.env.OLLAMA_HOST || "http://host.docker.internal:11434"; + +const OLLAMA_MODEL = "llama3.2"; + +const ollama = new Ollama({ + host: OLLAMA_HOST, +}); + +// ========================================================= +// ASK OLLAMA +// ========================================================= + +export async function askOllama(question, chunks = []) { + console.log("\n========== ASKING OLLAMA =========="); + + console.log("Host:", OLLAMA_HOST); + + console.log("Model:", OLLAMA_MODEL); + + console.log("Question:", question); + + console.log("Chunks:", chunks.length); + + try { + let systemPrompt; + let userPrompt; + + // ======================================================= + // DOCUMENTATION MODE + // ======================================================= + + if (chunks.length > 0) { + const context = chunks + .map( + (chunk, index) => ` +SOURCE ${index + 1} + +Document: +${chunk.document} + +Section: +${chunk.section} + +Documentation: +${chunk.text} +`, + ) + .join("\n\n-----------------------------\n\n"); + + systemPrompt = ` +You are SecureShift AI, the official AI assistant for the SecureShift workforce management platform. + +Your task is to answer the user's question using the supplied SecureShift documentation. + +IMPORTANT RULES: + +1. The supplied documentation is the source of truth. + +2. Answer the user's question directly. + +3. Do NOT dump or reproduce the documentation. + +4. Summarise the relevant information in simple English. + +5. Use only information supported by the supplied documentation. + +6. NEVER invent SecureShift-specific: + - buttons + - pages + - URLs + - API endpoints + - commands + - features + - procedures + - credentials + +7. If the documentation contains a command, reproduce it accurately. + +8. If the user asks for steps, provide numbered steps. + +9. If multiple sources contain relevant information, combine them. + +10. Ignore documentation that is unrelated to the question. + +11. Do not mention SOURCE numbers unless the user asks about sources. + +12. Do not copy large sections of the documentation. + +13. Keep the response concise. + +14. If the documentation genuinely does not contain enough information, say: + +"Based on the available SecureShift documentation, I don't have enough information to give the complete answer." + +15. Do not use general knowledge to invent missing SecureShift-specific information. + +16. When the user asks "How do I build SecureShift?", interpret this as: + +"How do I build and run the SecureShift project locally?" + +17. For "How do I build SecureShift?", prioritise Docker setup, project root, docker compose commands, and verification steps from the documentation. + +18. SecureShift is a legitimate workforce management software project. + +DOCUMENTATION: + +${context} +`; + + userPrompt = ` +User question: + +${question} + +Give a direct and concise answer based only on the relevant SecureShift documentation. +`; + } + + // ======================================================= + // GENERAL MODE + // ======================================================= + else { + systemPrompt = ` +You are SecureShift AI. + +No relevant SecureShift documentation was found for this question. + +Answer briefly as a general software engineering assistant. + +Do not claim that information is SecureShift-specific unless it is provided by the user. + +Use simple English and Markdown. +`; + + userPrompt = question; + } + + console.log("System prompt length:", systemPrompt.length); + + console.log("User prompt length:", userPrompt.length); + + console.log("Sending request to Ollama..."); + + const startTime = Date.now(); + + // ======================================================= + // CALL OLLAMA + // ======================================================= + + const response = await ollama.chat({ + model: OLLAMA_MODEL, + + messages: [ + { + role: "system", + content: systemPrompt, + }, + + { + role: "user", + content: userPrompt, + }, + ], + + stream: false, + + options: { + temperature: 0, + + // Slightly more room for procedural answers + num_predict: 400, + }, + }); + + const responseTime = Date.now() - startTime; + + console.log("✅ Ollama response received"); + + console.log("Response time:", responseTime, "ms"); + + const answer = response?.message?.content?.trim(); + + if (!answer) { + throw new Error("Ollama returned an empty response."); + } + + console.log("Answer length:", answer.length); + + console.log("===================================\n"); + + return answer; + } catch (error) { + console.error("\n========== OLLAMA ERROR =========="); + + console.error("Message:", error.message); + + console.error("Name:", error.name); + + if (error.cause) { + console.error("Cause:", error.cause); + } + + console.error("==================================\n"); + + throw new Error(`SecureShift AI error: ${error.message}`); + } +} diff --git a/app-backend/src/ai/test.js b/app-backend/src/ai/test.js new file mode 100644 index 000000000..afa28e45c --- /dev/null +++ b/app-backend/src/ai/test.js @@ -0,0 +1,9 @@ +import { askOllama } from "./services/ollamaService.js"; + +async function test() { + const answer = await askOllama("What is React?"); + + console.log(answer); +} + +test(); diff --git a/app-backend/src/ai/testEmbedding.js b/app-backend/src/ai/testEmbedding.js new file mode 100644 index 000000000..649dae8eb --- /dev/null +++ b/app-backend/src/ai/testEmbedding.js @@ -0,0 +1,11 @@ +import { createEmbedding } from "./embeddings/embeddingService.js"; + +async function test() { + const embedding = await createEmbedding("Docker Setup"); + + console.log("Embedding length:", embedding.length); + console.log("First 10 values:"); + console.log(embedding.slice(0, 10)); +} + +test(); diff --git a/app-backend/src/ai/testSearch.js b/app-backend/src/ai/testSearch.js new file mode 100644 index 000000000..96b5ecf35 --- /dev/null +++ b/app-backend/src/ai/testSearch.js @@ -0,0 +1,9 @@ +import { semanticSearch } from "./retrieval/vectorSearch.js"; + +async function test() { + const results = await semanticSearch("How do I run Docker?"); + + console.log(results); +} + +test(); diff --git a/app-backend/src/middleware/aiRateLimiter.js b/app-backend/src/middleware/aiRateLimiter.js new file mode 100644 index 000000000..1f599ce1a --- /dev/null +++ b/app-backend/src/middleware/aiRateLimiter.js @@ -0,0 +1,14 @@ +import rateLimit from "express-rate-limit"; + +const aiRateLimiter = rateLimit({ + windowMs: 60 * 1000, + limit: 10, + standardHeaders: "draft-8", + legacyHeaders: false, + message: { + success: false, + message: "Too many AI requests. Please try again later.", + }, +}); + +export default aiRateLimiter; diff --git a/app-backend/src/routes/ai.routes.js b/app-backend/src/routes/ai.routes.js new file mode 100644 index 000000000..6cc6635f5 --- /dev/null +++ b/app-backend/src/routes/ai.routes.js @@ -0,0 +1,27 @@ +import express from "express"; +import { chat } from "../ai/controllers/aiController.js"; +import protect from "../middleware/auth.js"; +import { allowRoles } from "../middleware/role.js"; +import aiRateLimiter from "../middleware/aiRateLimiter.js"; + +const router = express.Router(); + +/** + * POST /api/v1/ai/chat + * + * SecureShift AI Assistant + * + * Requires: + * - Valid JWT authentication + * - Employer or Admin role + * - AI rate limit + */ +router.post( + "/chat", + protect, + allowRoles("employer", "admin"), + aiRateLimiter, + chat, +); + +export default router; diff --git a/app-backend/src/routes/index.js b/app-backend/src/routes/index.js index 51db1c886..ba02fdfc0 100644 --- a/app-backend/src/routes/index.js +++ b/app-backend/src/routes/index.js @@ -20,6 +20,7 @@ import timesheetRoutes from "./timesheet.routes.js"; import shiftRequestRoutes from "./shiftrequest.routes.js"; import faqRoutes from "./faq.routes.js"; import verificationRoutes from "./verification.routes.js"; +import aiRoutes from "./ai.routes.js"; const router = express.Router(); router.use("/documents", documentRoutes); router.use("/health", healthRoutes); @@ -41,4 +42,5 @@ router.use("/emergency", emergencyRoutes); router.use("/sos", sosRoutes); router.use("/faqs", faqRoutes); router.use("/verification", verificationRoutes); +router.use("/ai", aiRoutes); export default router; diff --git a/app-frontend/employer-panel/package-lock.json b/app-frontend/employer-panel/package-lock.json index fa45158c6..89db9d49e 100644 --- a/app-frontend/employer-panel/package-lock.json +++ b/app-frontend/employer-panel/package-lock.json @@ -22,6 +22,7 @@ "react-dom": "^19.1.1", "react-hook-form": "^7.62.0", "react-i18next": "^15.1.3", + "react-markdown": "^10.1.0", "react-router-dom": "^7.7.1", "react-scripts": "5.0.1", "web-vitals": "^2.1.4", @@ -3603,6 +3604,15 @@ "@types/node": "*" } }, + "node_modules/@types/debug": { + "version": "4.1.13", + "resolved": "https://registry.npmjs.org/@types/debug/-/debug-4.1.13.tgz", + "integrity": "sha512-KSVgmQmzMwPlmtljOomayoR89W4FynCAi3E8PPs7vmDVPe84hT+vGPKkJfThkmXs0x0jAaa9U8uW8bbfyS2fWw==", + "license": "MIT", + "dependencies": { + "@types/ms": "*" + } + }, "node_modules/@types/eslint": { "version": "9.6.1", "resolved": "https://registry.npmjs.org/@types/eslint/-/eslint-9.6.1.tgz", @@ -3629,6 +3639,15 @@ "integrity": "sha512-dWHzHa2WqEXI/O1E9OjrocMTKJl2mSrEolh1Iomrv6U+JuNwaHXsXx9bLu5gG7BUWFIN0skIQJQ/L1rIex4X6w==", "license": "MIT" }, + "node_modules/@types/estree-jsx": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/@types/estree-jsx/-/estree-jsx-1.0.5.tgz", + "integrity": "sha512-52CcUVNFyfb1A2ALocQw/Dd1BQFNmSdkuC3BkZ6iqhdMfQz7JWOFRuJFloOzjk+6WijU56m9oKXFAXc7o3Towg==", + "license": "MIT", + "dependencies": { + "@types/estree": "*" + } + }, "node_modules/@types/express": { "version": "4.17.25", "resolved": "https://registry.npmjs.org/@types/express/-/express-4.17.25.tgz", @@ -3674,6 +3693,15 @@ "@types/node": "*" } }, + "node_modules/@types/hast": { + "version": "3.0.5", + "resolved": "https://registry.npmjs.org/@types/hast/-/hast-3.0.5.tgz", + "integrity": "sha512-rp/ezSWaD1m44dPKICGhiskI13nVr7qTloFwDa/IYkhhf5nzwP+zIQcIJh3WIFSBOy/H1PzB40jPjMDksN4F+g==", + "license": "MIT", + "dependencies": { + "@types/unist": "*" + } + }, "node_modules/@types/html-minifier-terser": { "version": "6.1.0", "resolved": "https://registry.npmjs.org/@types/html-minifier-terser/-/html-minifier-terser-6.1.0.tgz", @@ -3731,12 +3759,27 @@ "integrity": "sha512-dRLjCWHYg4oaA77cxO64oO+7JwCwnIzkZPdrrC71jQmQtlhM556pwKo5bUzqvZndkVbeFLIIi+9TC40JNF5hNQ==", "license": "MIT" }, + "node_modules/@types/mdast": { + "version": "4.0.4", + "resolved": "https://registry.npmjs.org/@types/mdast/-/mdast-4.0.4.tgz", + "integrity": "sha512-kGaNbPh1k7AFzgpud/gMdvIm5xuECykRR+JnWKQno9TAXVa6WIVCGTPvYGekIDL4uwCZQSYbUxNBSb1aUo79oA==", + "license": "MIT", + "dependencies": { + "@types/unist": "*" + } + }, "node_modules/@types/mime": { "version": "1.3.5", "resolved": "https://registry.npmjs.org/@types/mime/-/mime-1.3.5.tgz", "integrity": "sha512-/pyBZWSLD2n0dcHE3hq8s8ZvcETHtEuF+3E7XVt0Ig2nvsVQXdghHVcEkIWjy9A0wKfTn97a/PSDYohKIlnP/w==", "license": "MIT" }, + "node_modules/@types/ms": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/@types/ms/-/ms-2.1.0.tgz", + "integrity": "sha512-GsCCIZDE/p3i96vtEqx+7dBUGXrc7zeSK3wwPHIaRThS+9OhWIXRqzs4d6k1SVU8g91DrNRWxWUGhp5KXQb2VA==", + "license": "MIT" + }, "node_modules/@types/node": { "version": "25.0.3", "resolved": "https://registry.npmjs.org/@types/node/-/node-25.0.3.tgz", @@ -3798,6 +3841,16 @@ "integrity": "sha512-hKormJbkJqzQGhziax5PItDUTMAM9uE2XXQmM37dyd4hVM+5aVl7oVxMVUiVQn2oCQFN/LKCZdvSM0pFRqbSmQ==", "license": "MIT" }, + "node_modules/@types/react": { + "version": "19.2.18", + "resolved": "https://registry.npmjs.org/@types/react/-/react-19.2.18.tgz", + "integrity": "sha512-AnzbBERsrLKtk2XSfTbYRLjQPdy116Sty4q+T+Bp3IC4l6jNBvreVPAHmpq9qhXQM7CXZPjLVmGMw9sy+hxQ3w==", + "license": "MIT", + "peer": true, + "dependencies": { + "csstype": "^3.2.2" + } + }, "node_modules/@types/resolve": { "version": "1.17.1", "resolved": "https://registry.npmjs.org/@types/resolve/-/resolve-1.17.1.tgz", @@ -3879,6 +3932,12 @@ "integrity": "sha512-ScaPdn1dQczgbl0QFTeTOmVHFULt394XJgOQNoyVhZ6r2vLnMLJfBPd53SB52T/3G36VI1/g2MZaX0cwDuXsfw==", "license": "MIT" }, + "node_modules/@types/unist": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/@types/unist/-/unist-3.0.3.tgz", + "integrity": "sha512-ko/gIFJRv177XgZsZcBwnqJN5x/Gien8qNOn0D5bQU/zAzVf9Zt3BlcUiLqhV9y4ARk0GbT3tnUiPNgnTXzc/Q==", + "license": "MIT" + }, "node_modules/@types/ws": { "version": "8.18.1", "resolved": "https://registry.npmjs.org/@types/ws/-/ws-8.18.1.tgz", @@ -5202,6 +5261,16 @@ "@babel/core": "^7.0.0-0" } }, + "node_modules/bail": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/bail/-/bail-2.0.2.tgz", + "integrity": "sha512-0xO6mYd7JB2YesxDKplafRpsiOzPt9V02ddPCLbY1xYGPOX24NTyN50qnUxgCPcSoYMhKpAuBTjQoRZCAkUDRw==", + "license": "MIT", + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + }, "node_modules/balanced-match": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz", @@ -5591,6 +5660,16 @@ "node": ">=4" } }, + "node_modules/ccount": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/ccount/-/ccount-2.0.1.tgz", + "integrity": "sha512-eyrF0jiFpY+3drT6383f1qhkbGsLSifNAjA61IUjZjmLCWjItY6LB9ft9YhoDgwfmclB2zhu51Lc7+95b8NRAg==", + "license": "MIT", + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + }, "node_modules/chalk": { "version": "4.1.2", "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", @@ -5616,6 +5695,46 @@ "node": ">=10" } }, + "node_modules/character-entities": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/character-entities/-/character-entities-2.0.2.tgz", + "integrity": "sha512-shx7oQ0Awen/BRIdkjkvz54PnEEI/EjwXDSIZp86/KKdbafHh1Df/RYGBhn4hbe2+uKC9FnT5UCEdyPz3ai9hQ==", + "license": "MIT", + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + }, + "node_modules/character-entities-html4": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/character-entities-html4/-/character-entities-html4-2.1.0.tgz", + "integrity": "sha512-1v7fgQRj6hnSwFpq1Eu0ynr/CDEw0rXo2B61qXrLNdHZmPKgb7fqS1a2JwF0rISo9q77jDI8VMEHoApn8qDoZA==", + "license": "MIT", + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + }, + "node_modules/character-entities-legacy": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/character-entities-legacy/-/character-entities-legacy-3.0.0.tgz", + "integrity": "sha512-RpPp0asT/6ufRm//AJVwpViZbGM/MkjQFxJccQRHmISF/22NBtsHqAWmL+/pmkPWoIUJdWyeVleTl1wydHATVQ==", + "license": "MIT", + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + }, + "node_modules/character-reference-invalid": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/character-reference-invalid/-/character-reference-invalid-2.0.1.tgz", + "integrity": "sha512-iBZ4F4wRbyORVsu0jPV7gXkOsGYjGHPmAyv+HiHG8gi5PtC9KI2j1+v8/tlibRvjoWX027ypmG/n0HtO5t7unw==", + "license": "MIT", + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + }, "node_modules/check-types": { "version": "11.2.3", "resolved": "https://registry.npmjs.org/check-types/-/check-types-11.2.3.tgz", @@ -5863,6 +5982,16 @@ "node": ">= 0.8" } }, + "node_modules/comma-separated-tokens": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/comma-separated-tokens/-/comma-separated-tokens-2.0.3.tgz", + "integrity": "sha512-Fu4hJdvzeylCfQPp9SGWidpzrMs7tTrlu6Vb8XGaRGck8QSNZJJp538Wrb60Lax4fPwR64ViY468OIUTbRlGZg==", + "license": "MIT", + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + }, "node_modules/commander": { "version": "8.3.0", "resolved": "https://registry.npmjs.org/commander/-/commander-8.3.0.tgz", @@ -6476,6 +6605,13 @@ "integrity": "sha512-b0tGHbfegbhPJpxpiBPU2sCkigAqtM9O121le6bbOlgyV+NyGyCmVfJ6QW9eRjz8CpNfWEOYBIMIGRYkLwsIYg==", "license": "MIT" }, + "node_modules/csstype": { + "version": "3.2.3", + "resolved": "https://registry.npmjs.org/csstype/-/csstype-3.2.3.tgz", + "integrity": "sha512-z1HGKcYy2xA8AGQfwrn0PAy+PB7X/GSj3UVJW9qKyn43xWa+gl5nXmU4qqLMRzWVLFC8KusUX8T/0kCiOYpAIQ==", + "license": "MIT", + "peer": true + }, "node_modules/damerau-levenshtein": { "version": "1.0.8", "resolved": "https://registry.npmjs.org/damerau-levenshtein/-/damerau-levenshtein-1.0.8.tgz", @@ -6570,6 +6706,19 @@ "integrity": "sha512-YpgQiITW3JXGntzdUmyUR1V812Hn8T1YVXhCu+wO3OpS4eU9l4YdD3qjyiKdV6mvV29zapkMeD390UVEf2lkUg==", "license": "MIT" }, + "node_modules/decode-named-character-reference": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/decode-named-character-reference/-/decode-named-character-reference-1.3.0.tgz", + "integrity": "sha512-GtpQYB283KrPp6nRw50q3U9/VfOutZOe103qlN7BPP6Ad27xYnOIWv4lPzo8HCAL+mMZofJ9KEy30fq6MfaK6Q==", + "license": "MIT", + "dependencies": { + "character-entities": "^2.0.0" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + }, "node_modules/dedent": { "version": "0.7.0", "resolved": "https://registry.npmjs.org/dedent/-/dedent-0.7.0.tgz", @@ -6730,6 +6879,19 @@ "integrity": "sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==", "license": "MIT" }, + "node_modules/devlop": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/devlop/-/devlop-1.1.0.tgz", + "integrity": "sha512-RWmIqhcFf1lRYBvNmr7qTNuyCt/7/ns2jbpp1+PalgE/rDQcBT0fioSMUpJ93irlUhC5hrg4cYqe6U+0ImW0rA==", + "license": "MIT", + "dependencies": { + "dequal": "^2.0.0" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + }, "node_modules/didyoumean": { "version": "1.2.2", "resolved": "https://registry.npmjs.org/didyoumean/-/didyoumean-1.2.2.tgz", @@ -7771,6 +7933,16 @@ "node": ">=4.0" } }, + "node_modules/estree-util-is-identifier-name": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/estree-util-is-identifier-name/-/estree-util-is-identifier-name-3.0.0.tgz", + "integrity": "sha512-hFtqIDZTIUZ9BXLb8y4pYGyk6+wekIivNVTcmvk8NoOh+VeRn5y6cEHzbURrWbfp1fIqdVipilzj+lfaadNZmg==", + "license": "MIT", + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, "node_modules/estree-walker": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/estree-walker/-/estree-walker-1.0.1.tgz", @@ -7926,6 +8098,12 @@ "integrity": "sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==", "license": "MIT" }, + "node_modules/extend": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/extend/-/extend-3.0.2.tgz", + "integrity": "sha512-fjquC59cD7CyW6urNXK0FBufkZcoiGG80wTuPujX590cB5Ttln20E2UB4S/WARVqhXffZl2LNgS+gQdPIIim/g==", + "license": "MIT" + }, "node_modules/fast-deep-equal": { "version": "3.1.3", "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz", @@ -8884,6 +9062,46 @@ "node": ">= 0.4" } }, + "node_modules/hast-util-to-jsx-runtime": { + "version": "2.3.6", + "resolved": "https://registry.npmjs.org/hast-util-to-jsx-runtime/-/hast-util-to-jsx-runtime-2.3.6.tgz", + "integrity": "sha512-zl6s8LwNyo1P9uw+XJGvZtdFF1GdAkOg8ujOw+4Pyb76874fLps4ueHXDhXWdk6YHQ6OgUtinliG7RsYvCbbBg==", + "license": "MIT", + "dependencies": { + "@types/estree": "^1.0.0", + "@types/hast": "^3.0.0", + "@types/unist": "^3.0.0", + "comma-separated-tokens": "^2.0.0", + "devlop": "^1.0.0", + "estree-util-is-identifier-name": "^3.0.0", + "hast-util-whitespace": "^3.0.0", + "mdast-util-mdx-expression": "^2.0.0", + "mdast-util-mdx-jsx": "^3.0.0", + "mdast-util-mdxjs-esm": "^2.0.0", + "property-information": "^7.0.0", + "space-separated-tokens": "^2.0.0", + "style-to-js": "^1.0.0", + "unist-util-position": "^5.0.0", + "vfile-message": "^4.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/hast-util-whitespace": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/hast-util-whitespace/-/hast-util-whitespace-3.0.0.tgz", + "integrity": "sha512-88JUN06ipLwsnv+dVn+OIYOvAuvBMy/Qoi6O7mQHxdPXpjy+Cd6xRkWwux7DKO+4sYILtLBRIKgsdpS2gQc7qw==", + "license": "MIT", + "dependencies": { + "@types/hast": "^3.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, "node_modules/he": { "version": "1.2.0", "resolved": "https://registry.npmjs.org/he/-/he-1.2.0.tgz", @@ -9014,6 +9232,16 @@ "void-elements": "3.1.0" } }, + "node_modules/html-url-attributes": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/html-url-attributes/-/html-url-attributes-3.0.1.tgz", + "integrity": "sha512-ol6UPyBWqsrO6EJySPz2O7ZSr856WDrEzM5zMqp+FJJLGMW35cLYmmZnl0vztAZxRUoNZJFTCohfjuIJ8I4QBQ==", + "license": "MIT", + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, "node_modules/html-webpack-plugin": { "version": "5.6.5", "resolved": "https://registry.npmjs.org/html-webpack-plugin/-/html-webpack-plugin-5.6.5.tgz", @@ -9354,6 +9582,12 @@ "integrity": "sha512-JV/yugV2uzW5iMRSiZAyDtQd+nxtUnjeLt0acNdw98kKLrvuRVyB80tsREOE7yvGVgalhZ6RNXCmEHkUKBKxew==", "license": "ISC" }, + "node_modules/inline-style-parser": { + "version": "0.2.7", + "resolved": "https://registry.npmjs.org/inline-style-parser/-/inline-style-parser-0.2.7.tgz", + "integrity": "sha512-Nb2ctOyNR8DqQoR0OwRG95uNWIC0C1lCgf5Naz5H6Ji72KZ8OcFZLz2P5sNgwlyoJ8Yif11oMuYs5pBQa86csA==", + "license": "MIT" + }, "node_modules/internal-slot": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/internal-slot/-/internal-slot-1.1.0.tgz", @@ -9383,6 +9617,30 @@ "node": ">= 10" } }, + "node_modules/is-alphabetical": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/is-alphabetical/-/is-alphabetical-2.0.1.tgz", + "integrity": "sha512-FWyyY60MeTNyeSRpkM2Iry0G9hpr7/9kD40mD/cGQEuilcZYS4okz8SN2Q6rLCJ8gbCt6fN+rC+6tMGS99LaxQ==", + "license": "MIT", + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + }, + "node_modules/is-alphanumerical": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/is-alphanumerical/-/is-alphanumerical-2.0.1.tgz", + "integrity": "sha512-hmbYhX/9MUMF5uh7tOXyK/n0ZvWpad5caBA17GsC6vyuCqaWliRG5K1qS9inmUhEMaOBIW7/whAnSwveW/LtZw==", + "license": "MIT", + "dependencies": { + "is-alphabetical": "^2.0.0", + "is-decimal": "^2.0.0" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + }, "node_modules/is-array-buffer": { "version": "3.0.5", "resolved": "https://registry.npmjs.org/is-array-buffer/-/is-array-buffer-3.0.5.tgz", @@ -9528,6 +9786,16 @@ "url": "https://github.com/sponsors/ljharb" } }, + "node_modules/is-decimal": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/is-decimal/-/is-decimal-2.0.1.tgz", + "integrity": "sha512-AAB9hiomQs5DXWcRB1rqsxGUstbRroFOPPVAomNk/3XHR5JyEZChOyTWe2oayKnsSsr/kcGqF+z6yuH6HHpN0A==", + "license": "MIT", + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + }, "node_modules/is-docker": { "version": "2.2.1", "resolved": "https://registry.npmjs.org/is-docker/-/is-docker-2.2.1.tgz", @@ -9616,6 +9884,16 @@ "node": ">=0.10.0" } }, + "node_modules/is-hexadecimal": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/is-hexadecimal/-/is-hexadecimal-2.0.1.tgz", + "integrity": "sha512-DgZQp241c8oO6cA1SbTEWiXeoxV42vlcJxgH+B3hi1AiqqKruZR3ZGF8In3fj4+/y/7rHvlOZLZtgJ/4ttYGZg==", + "license": "MIT", + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + }, "node_modules/is-map": { "version": "2.0.3", "resolved": "https://registry.npmjs.org/is-map/-/is-map-2.0.3.tgz", @@ -11375,6 +11653,16 @@ "integrity": "sha512-xfBaXQd9ryd9dlSDvnvI0lvxfLJlYAZzXomUYzLKtUeOQvOP5piqAWuGtrhWeqaXK9hhoM/iyJc5AV+XfsX3HQ==", "license": "MIT" }, + "node_modules/longest-streak": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/longest-streak/-/longest-streak-3.1.0.tgz", + "integrity": "sha512-9Ri+o0JYgehTaVBBDoMqIl8GXtbWg711O3srftcHhZ0dqnETqLaoIK0x17fUw9rFSlK/0NlsKe0Ahhyl5pXE2g==", + "license": "MIT", + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + }, "node_modules/loose-envify": { "version": "1.4.0", "resolved": "https://registry.npmjs.org/loose-envify/-/loose-envify-1.4.0.tgz", @@ -11456,6 +11744,159 @@ "node": ">= 0.4" } }, + "node_modules/mdast-util-from-markdown": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/mdast-util-from-markdown/-/mdast-util-from-markdown-2.0.3.tgz", + "integrity": "sha512-W4mAWTvSlKvf8L6J+VN9yLSqQ9AOAAvHuoDAmPkz4dHf553m5gVj2ejadHJhoJmcmxEnOv6Pa8XJhpxE93kb8Q==", + "license": "MIT", + "dependencies": { + "@types/mdast": "^4.0.0", + "@types/unist": "^3.0.0", + "decode-named-character-reference": "^1.0.0", + "devlop": "^1.0.0", + "mdast-util-to-string": "^4.0.0", + "micromark": "^4.0.0", + "micromark-util-decode-numeric-character-reference": "^2.0.0", + "micromark-util-decode-string": "^2.0.0", + "micromark-util-normalize-identifier": "^2.0.0", + "micromark-util-symbol": "^2.0.0", + "micromark-util-types": "^2.0.0", + "unist-util-stringify-position": "^4.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/mdast-util-mdx-expression": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/mdast-util-mdx-expression/-/mdast-util-mdx-expression-2.0.1.tgz", + "integrity": "sha512-J6f+9hUp+ldTZqKRSg7Vw5V6MqjATc+3E4gf3CFNcuZNWD8XdyI6zQ8GqH7f8169MM6P7hMBRDVGnn7oHB9kXQ==", + "license": "MIT", + "dependencies": { + "@types/estree-jsx": "^1.0.0", + "@types/hast": "^3.0.0", + "@types/mdast": "^4.0.0", + "devlop": "^1.0.0", + "mdast-util-from-markdown": "^2.0.0", + "mdast-util-to-markdown": "^2.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/mdast-util-mdx-jsx": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/mdast-util-mdx-jsx/-/mdast-util-mdx-jsx-3.2.0.tgz", + "integrity": "sha512-lj/z8v0r6ZtsN/cGNNtemmmfoLAFZnjMbNyLzBafjzikOM+glrjNHPlf6lQDOTccj9n5b0PPihEBbhneMyGs1Q==", + "license": "MIT", + "dependencies": { + "@types/estree-jsx": "^1.0.0", + "@types/hast": "^3.0.0", + "@types/mdast": "^4.0.0", + "@types/unist": "^3.0.0", + "ccount": "^2.0.0", + "devlop": "^1.1.0", + "mdast-util-from-markdown": "^2.0.0", + "mdast-util-to-markdown": "^2.0.0", + "parse-entities": "^4.0.0", + "stringify-entities": "^4.0.0", + "unist-util-stringify-position": "^4.0.0", + "vfile-message": "^4.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/mdast-util-mdxjs-esm": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/mdast-util-mdxjs-esm/-/mdast-util-mdxjs-esm-2.0.1.tgz", + "integrity": "sha512-EcmOpxsZ96CvlP03NghtH1EsLtr0n9Tm4lPUJUBccV9RwUOneqSycg19n5HGzCf+10LozMRSObtVr3ee1WoHtg==", + "license": "MIT", + "dependencies": { + "@types/estree-jsx": "^1.0.0", + "@types/hast": "^3.0.0", + "@types/mdast": "^4.0.0", + "devlop": "^1.0.0", + "mdast-util-from-markdown": "^2.0.0", + "mdast-util-to-markdown": "^2.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/mdast-util-phrasing": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/mdast-util-phrasing/-/mdast-util-phrasing-4.1.0.tgz", + "integrity": "sha512-TqICwyvJJpBwvGAMZjj4J2n0X8QWp21b9l0o7eXyVJ25YNWYbJDVIyD1bZXE6WtV6RmKJVYmQAKWa0zWOABz2w==", + "license": "MIT", + "dependencies": { + "@types/mdast": "^4.0.0", + "unist-util-is": "^6.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/mdast-util-to-hast": { + "version": "13.2.1", + "resolved": "https://registry.npmjs.org/mdast-util-to-hast/-/mdast-util-to-hast-13.2.1.tgz", + "integrity": "sha512-cctsq2wp5vTsLIcaymblUriiTcZd0CwWtCbLvrOzYCDZoWyMNV8sZ7krj09FSnsiJi3WVsHLM4k6Dq/yaPyCXA==", + "license": "MIT", + "dependencies": { + "@types/hast": "^3.0.0", + "@types/mdast": "^4.0.0", + "@ungap/structured-clone": "^1.0.0", + "devlop": "^1.0.0", + "micromark-util-sanitize-uri": "^2.0.0", + "trim-lines": "^3.0.0", + "unist-util-position": "^5.0.0", + "unist-util-visit": "^5.0.0", + "vfile": "^6.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/mdast-util-to-markdown": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/mdast-util-to-markdown/-/mdast-util-to-markdown-2.1.2.tgz", + "integrity": "sha512-xj68wMTvGXVOKonmog6LwyJKrYXZPvlwabaryTjLh9LuvovB/KAH+kvi8Gjj+7rJjsFi23nkUxRQv1KqSroMqA==", + "license": "MIT", + "dependencies": { + "@types/mdast": "^4.0.0", + "@types/unist": "^3.0.0", + "longest-streak": "^3.0.0", + "mdast-util-phrasing": "^4.0.0", + "mdast-util-to-string": "^4.0.0", + "micromark-util-classify-character": "^2.0.0", + "micromark-util-decode-string": "^2.0.0", + "unist-util-visit": "^5.0.0", + "zwitch": "^2.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/mdast-util-to-string": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/mdast-util-to-string/-/mdast-util-to-string-4.0.0.tgz", + "integrity": "sha512-0H44vDimn51F0YwvxSJSm0eCDOJTRlmN0R1yBh4HLj9wiV1Dn0QoXGbvFAWj2hSItVTlCmBF1hqKlIyUBVFLPg==", + "license": "MIT", + "dependencies": { + "@types/mdast": "^4.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, "node_modules/mdn-data": { "version": "2.0.4", "resolved": "https://registry.npmjs.org/mdn-data/-/mdn-data-2.0.4.tgz", @@ -11516,23 +11957,465 @@ "node": ">= 0.6" } }, - "node_modules/micromatch": { - "version": "4.0.8", - "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.8.tgz", - "integrity": "sha512-PXwfBhYu0hBCPw8Dn0E+WDYb7af3dSLVWKi3HGv84IdF4TyFoC0ysxFd0Goxw7nSv4T/PzEJQxsYsEiFCKo2BA==", + "node_modules/micromark": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/micromark/-/micromark-4.0.2.tgz", + "integrity": "sha512-zpe98Q6kvavpCr1NPVSCMebCKfD7CA2NqZ+rykeNhONIJBpc1tFKt9hucLGwha3jNTNI8lHpctWJWoimVF4PfA==", + "funding": [ + { + "type": "GitHub Sponsors", + "url": "https://github.com/sponsors/unifiedjs" + }, + { + "type": "OpenCollective", + "url": "https://opencollective.com/unified" + } + ], "license": "MIT", "dependencies": { - "braces": "^3.0.3", - "picomatch": "^2.3.1" - }, - "engines": { - "node": ">=8.6" + "@types/debug": "^4.0.0", + "debug": "^4.0.0", + "decode-named-character-reference": "^1.0.0", + "devlop": "^1.0.0", + "micromark-core-commonmark": "^2.0.0", + "micromark-factory-space": "^2.0.0", + "micromark-util-character": "^2.0.0", + "micromark-util-chunked": "^2.0.0", + "micromark-util-combine-extensions": "^2.0.0", + "micromark-util-decode-numeric-character-reference": "^2.0.0", + "micromark-util-encode": "^2.0.0", + "micromark-util-normalize-identifier": "^2.0.0", + "micromark-util-resolve-all": "^2.0.0", + "micromark-util-sanitize-uri": "^2.0.0", + "micromark-util-subtokenize": "^2.0.0", + "micromark-util-symbol": "^2.0.0", + "micromark-util-types": "^2.0.0" + } + }, + "node_modules/micromark-core-commonmark": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/micromark-core-commonmark/-/micromark-core-commonmark-2.0.3.tgz", + "integrity": "sha512-RDBrHEMSxVFLg6xvnXmb1Ayr2WzLAWjeSATAoxwKYJV94TeNavgoIdA0a9ytzDSVzBy2YKFK+emCPOEibLeCrg==", + "funding": [ + { + "type": "GitHub Sponsors", + "url": "https://github.com/sponsors/unifiedjs" + }, + { + "type": "OpenCollective", + "url": "https://opencollective.com/unified" + } + ], + "license": "MIT", + "dependencies": { + "decode-named-character-reference": "^1.0.0", + "devlop": "^1.0.0", + "micromark-factory-destination": "^2.0.0", + "micromark-factory-label": "^2.0.0", + "micromark-factory-space": "^2.0.0", + "micromark-factory-title": "^2.0.0", + "micromark-factory-whitespace": "^2.0.0", + "micromark-util-character": "^2.0.0", + "micromark-util-chunked": "^2.0.0", + "micromark-util-classify-character": "^2.0.0", + "micromark-util-html-tag-name": "^2.0.0", + "micromark-util-normalize-identifier": "^2.0.0", + "micromark-util-resolve-all": "^2.0.0", + "micromark-util-subtokenize": "^2.0.0", + "micromark-util-symbol": "^2.0.0", + "micromark-util-types": "^2.0.0" + } + }, + "node_modules/micromark-factory-destination": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/micromark-factory-destination/-/micromark-factory-destination-2.0.1.tgz", + "integrity": "sha512-Xe6rDdJlkmbFRExpTOmRj9N3MaWmbAgdpSrBQvCFqhezUn4AHqJHbaEnfbVYYiexVSs//tqOdY/DxhjdCiJnIA==", + "funding": [ + { + "type": "GitHub Sponsors", + "url": "https://github.com/sponsors/unifiedjs" + }, + { + "type": "OpenCollective", + "url": "https://opencollective.com/unified" + } + ], + "license": "MIT", + "dependencies": { + "micromark-util-character": "^2.0.0", + "micromark-util-symbol": "^2.0.0", + "micromark-util-types": "^2.0.0" } }, - "node_modules/mime": { - "version": "1.6.0", - "resolved": "https://registry.npmjs.org/mime/-/mime-1.6.0.tgz", - "integrity": "sha512-x0Vn8spI+wuJ1O6S7gnbaQg8Pxh4NNHb7KSINmEWKiPE4RKOplvijn+NkmYmmRgP68mc70j2EbeTFRsrswaQeg==", + "node_modules/micromark-factory-label": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/micromark-factory-label/-/micromark-factory-label-2.0.1.tgz", + "integrity": "sha512-VFMekyQExqIW7xIChcXn4ok29YE3rnuyveW3wZQWWqF4Nv9Wk5rgJ99KzPvHjkmPXF93FXIbBp6YdW3t71/7Vg==", + "funding": [ + { + "type": "GitHub Sponsors", + "url": "https://github.com/sponsors/unifiedjs" + }, + { + "type": "OpenCollective", + "url": "https://opencollective.com/unified" + } + ], + "license": "MIT", + "dependencies": { + "devlop": "^1.0.0", + "micromark-util-character": "^2.0.0", + "micromark-util-symbol": "^2.0.0", + "micromark-util-types": "^2.0.0" + } + }, + "node_modules/micromark-factory-space": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/micromark-factory-space/-/micromark-factory-space-2.0.1.tgz", + "integrity": "sha512-zRkxjtBxxLd2Sc0d+fbnEunsTj46SWXgXciZmHq0kDYGnck/ZSGj9/wULTV95uoeYiK5hRXP2mJ98Uo4cq/LQg==", + "funding": [ + { + "type": "GitHub Sponsors", + "url": "https://github.com/sponsors/unifiedjs" + }, + { + "type": "OpenCollective", + "url": "https://opencollective.com/unified" + } + ], + "license": "MIT", + "dependencies": { + "micromark-util-character": "^2.0.0", + "micromark-util-types": "^2.0.0" + } + }, + "node_modules/micromark-factory-title": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/micromark-factory-title/-/micromark-factory-title-2.0.1.tgz", + "integrity": "sha512-5bZ+3CjhAd9eChYTHsjy6TGxpOFSKgKKJPJxr293jTbfry2KDoWkhBb6TcPVB4NmzaPhMs1Frm9AZH7OD4Cjzw==", + "funding": [ + { + "type": "GitHub Sponsors", + "url": "https://github.com/sponsors/unifiedjs" + }, + { + "type": "OpenCollective", + "url": "https://opencollective.com/unified" + } + ], + "license": "MIT", + "dependencies": { + "micromark-factory-space": "^2.0.0", + "micromark-util-character": "^2.0.0", + "micromark-util-symbol": "^2.0.0", + "micromark-util-types": "^2.0.0" + } + }, + "node_modules/micromark-factory-whitespace": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/micromark-factory-whitespace/-/micromark-factory-whitespace-2.0.1.tgz", + "integrity": "sha512-Ob0nuZ3PKt/n0hORHyvoD9uZhr+Za8sFoP+OnMcnWK5lngSzALgQYKMr9RJVOWLqQYuyn6ulqGWSXdwf6F80lQ==", + "funding": [ + { + "type": "GitHub Sponsors", + "url": "https://github.com/sponsors/unifiedjs" + }, + { + "type": "OpenCollective", + "url": "https://opencollective.com/unified" + } + ], + "license": "MIT", + "dependencies": { + "micromark-factory-space": "^2.0.0", + "micromark-util-character": "^2.0.0", + "micromark-util-symbol": "^2.0.0", + "micromark-util-types": "^2.0.0" + } + }, + "node_modules/micromark-util-character": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/micromark-util-character/-/micromark-util-character-2.1.1.tgz", + "integrity": "sha512-wv8tdUTJ3thSFFFJKtpYKOYiGP2+v96Hvk4Tu8KpCAsTMs6yi+nVmGh1syvSCsaxz45J6Jbw+9DD6g97+NV67Q==", + "funding": [ + { + "type": "GitHub Sponsors", + "url": "https://github.com/sponsors/unifiedjs" + }, + { + "type": "OpenCollective", + "url": "https://opencollective.com/unified" + } + ], + "license": "MIT", + "dependencies": { + "micromark-util-symbol": "^2.0.0", + "micromark-util-types": "^2.0.0" + } + }, + "node_modules/micromark-util-chunked": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/micromark-util-chunked/-/micromark-util-chunked-2.0.1.tgz", + "integrity": "sha512-QUNFEOPELfmvv+4xiNg2sRYeS/P84pTW0TCgP5zc9FpXetHY0ab7SxKyAQCNCc1eK0459uoLI1y5oO5Vc1dbhA==", + "funding": [ + { + "type": "GitHub Sponsors", + "url": "https://github.com/sponsors/unifiedjs" + }, + { + "type": "OpenCollective", + "url": "https://opencollective.com/unified" + } + ], + "license": "MIT", + "dependencies": { + "micromark-util-symbol": "^2.0.0" + } + }, + "node_modules/micromark-util-classify-character": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/micromark-util-classify-character/-/micromark-util-classify-character-2.0.1.tgz", + "integrity": "sha512-K0kHzM6afW/MbeWYWLjoHQv1sgg2Q9EccHEDzSkxiP/EaagNzCm7T/WMKZ3rjMbvIpvBiZgwR3dKMygtA4mG1Q==", + "funding": [ + { + "type": "GitHub Sponsors", + "url": "https://github.com/sponsors/unifiedjs" + }, + { + "type": "OpenCollective", + "url": "https://opencollective.com/unified" + } + ], + "license": "MIT", + "dependencies": { + "micromark-util-character": "^2.0.0", + "micromark-util-symbol": "^2.0.0", + "micromark-util-types": "^2.0.0" + } + }, + "node_modules/micromark-util-combine-extensions": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/micromark-util-combine-extensions/-/micromark-util-combine-extensions-2.0.1.tgz", + "integrity": "sha512-OnAnH8Ujmy59JcyZw8JSbK9cGpdVY44NKgSM7E9Eh7DiLS2E9RNQf0dONaGDzEG9yjEl5hcqeIsj4hfRkLH/Bg==", + "funding": [ + { + "type": "GitHub Sponsors", + "url": "https://github.com/sponsors/unifiedjs" + }, + { + "type": "OpenCollective", + "url": "https://opencollective.com/unified" + } + ], + "license": "MIT", + "dependencies": { + "micromark-util-chunked": "^2.0.0", + "micromark-util-types": "^2.0.0" + } + }, + "node_modules/micromark-util-decode-numeric-character-reference": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/micromark-util-decode-numeric-character-reference/-/micromark-util-decode-numeric-character-reference-2.0.2.tgz", + "integrity": "sha512-ccUbYk6CwVdkmCQMyr64dXz42EfHGkPQlBj5p7YVGzq8I7CtjXZJrubAYezf7Rp+bjPseiROqe7G6foFd+lEuw==", + "funding": [ + { + "type": "GitHub Sponsors", + "url": "https://github.com/sponsors/unifiedjs" + }, + { + "type": "OpenCollective", + "url": "https://opencollective.com/unified" + } + ], + "license": "MIT", + "dependencies": { + "micromark-util-symbol": "^2.0.0" + } + }, + "node_modules/micromark-util-decode-string": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/micromark-util-decode-string/-/micromark-util-decode-string-2.0.1.tgz", + "integrity": "sha512-nDV/77Fj6eH1ynwscYTOsbK7rR//Uj0bZXBwJZRfaLEJ1iGBR6kIfNmlNqaqJf649EP0F3NWNdeJi03elllNUQ==", + "funding": [ + { + "type": "GitHub Sponsors", + "url": "https://github.com/sponsors/unifiedjs" + }, + { + "type": "OpenCollective", + "url": "https://opencollective.com/unified" + } + ], + "license": "MIT", + "dependencies": { + "decode-named-character-reference": "^1.0.0", + "micromark-util-character": "^2.0.0", + "micromark-util-decode-numeric-character-reference": "^2.0.0", + "micromark-util-symbol": "^2.0.0" + } + }, + "node_modules/micromark-util-encode": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/micromark-util-encode/-/micromark-util-encode-2.0.1.tgz", + "integrity": "sha512-c3cVx2y4KqUnwopcO9b/SCdo2O67LwJJ/UyqGfbigahfegL9myoEFoDYZgkT7f36T0bLrM9hZTAaAyH+PCAXjw==", + "funding": [ + { + "type": "GitHub Sponsors", + "url": "https://github.com/sponsors/unifiedjs" + }, + { + "type": "OpenCollective", + "url": "https://opencollective.com/unified" + } + ], + "license": "MIT" + }, + "node_modules/micromark-util-html-tag-name": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/micromark-util-html-tag-name/-/micromark-util-html-tag-name-2.0.1.tgz", + "integrity": "sha512-2cNEiYDhCWKI+Gs9T0Tiysk136SnR13hhO8yW6BGNyhOC4qYFnwF1nKfD3HFAIXA5c45RrIG1ub11GiXeYd1xA==", + "funding": [ + { + "type": "GitHub Sponsors", + "url": "https://github.com/sponsors/unifiedjs" + }, + { + "type": "OpenCollective", + "url": "https://opencollective.com/unified" + } + ], + "license": "MIT" + }, + "node_modules/micromark-util-normalize-identifier": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/micromark-util-normalize-identifier/-/micromark-util-normalize-identifier-2.0.1.tgz", + "integrity": "sha512-sxPqmo70LyARJs0w2UclACPUUEqltCkJ6PhKdMIDuJ3gSf/Q+/GIe3WKl0Ijb/GyH9lOpUkRAO2wp0GVkLvS9Q==", + "funding": [ + { + "type": "GitHub Sponsors", + "url": "https://github.com/sponsors/unifiedjs" + }, + { + "type": "OpenCollective", + "url": "https://opencollective.com/unified" + } + ], + "license": "MIT", + "dependencies": { + "micromark-util-symbol": "^2.0.0" + } + }, + "node_modules/micromark-util-resolve-all": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/micromark-util-resolve-all/-/micromark-util-resolve-all-2.0.1.tgz", + "integrity": "sha512-VdQyxFWFT2/FGJgwQnJYbe1jjQoNTS4RjglmSjTUlpUMa95Htx9NHeYW4rGDJzbjvCsl9eLjMQwGeElsqmzcHg==", + "funding": [ + { + "type": "GitHub Sponsors", + "url": "https://github.com/sponsors/unifiedjs" + }, + { + "type": "OpenCollective", + "url": "https://opencollective.com/unified" + } + ], + "license": "MIT", + "dependencies": { + "micromark-util-types": "^2.0.0" + } + }, + "node_modules/micromark-util-sanitize-uri": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/micromark-util-sanitize-uri/-/micromark-util-sanitize-uri-2.0.1.tgz", + "integrity": "sha512-9N9IomZ/YuGGZZmQec1MbgxtlgougxTodVwDzzEouPKo3qFWvymFHWcnDi2vzV1ff6kas9ucW+o3yzJK9YB1AQ==", + "funding": [ + { + "type": "GitHub Sponsors", + "url": "https://github.com/sponsors/unifiedjs" + }, + { + "type": "OpenCollective", + "url": "https://opencollective.com/unified" + } + ], + "license": "MIT", + "dependencies": { + "micromark-util-character": "^2.0.0", + "micromark-util-encode": "^2.0.0", + "micromark-util-symbol": "^2.0.0" + } + }, + "node_modules/micromark-util-subtokenize": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/micromark-util-subtokenize/-/micromark-util-subtokenize-2.1.0.tgz", + "integrity": "sha512-XQLu552iSctvnEcgXw6+Sx75GflAPNED1qx7eBJ+wydBb2KCbRZe+NwvIEEMM83uml1+2WSXpBAcp9IUCgCYWA==", + "funding": [ + { + "type": "GitHub Sponsors", + "url": "https://github.com/sponsors/unifiedjs" + }, + { + "type": "OpenCollective", + "url": "https://opencollective.com/unified" + } + ], + "license": "MIT", + "dependencies": { + "devlop": "^1.0.0", + "micromark-util-chunked": "^2.0.0", + "micromark-util-symbol": "^2.0.0", + "micromark-util-types": "^2.0.0" + } + }, + "node_modules/micromark-util-symbol": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/micromark-util-symbol/-/micromark-util-symbol-2.0.1.tgz", + "integrity": "sha512-vs5t8Apaud9N28kgCrRUdEed4UJ+wWNvicHLPxCa9ENlYuAY31M0ETy5y1vA33YoNPDFTghEbnh6efaE8h4x0Q==", + "funding": [ + { + "type": "GitHub Sponsors", + "url": "https://github.com/sponsors/unifiedjs" + }, + { + "type": "OpenCollective", + "url": "https://opencollective.com/unified" + } + ], + "license": "MIT" + }, + "node_modules/micromark-util-types": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/micromark-util-types/-/micromark-util-types-2.0.2.tgz", + "integrity": "sha512-Yw0ECSpJoViF1qTU4DC6NwtC4aWGt1EkzaQB8KPPyCRR8z9TWeV0HbEFGTO+ZY1wB22zmxnJqhPyTpOVCpeHTA==", + "funding": [ + { + "type": "GitHub Sponsors", + "url": "https://github.com/sponsors/unifiedjs" + }, + { + "type": "OpenCollective", + "url": "https://opencollective.com/unified" + } + ], + "license": "MIT" + }, + "node_modules/micromatch": { + "version": "4.0.8", + "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.8.tgz", + "integrity": "sha512-PXwfBhYu0hBCPw8Dn0E+WDYb7af3dSLVWKi3HGv84IdF4TyFoC0ysxFd0Goxw7nSv4T/PzEJQxsYsEiFCKo2BA==", + "license": "MIT", + "dependencies": { + "braces": "^3.0.3", + "picomatch": "^2.3.1" + }, + "engines": { + "node": ">=8.6" + } + }, + "node_modules/mime": { + "version": "1.6.0", + "resolved": "https://registry.npmjs.org/mime/-/mime-1.6.0.tgz", + "integrity": "sha512-x0Vn8spI+wuJ1O6S7gnbaQg8Pxh4NNHb7KSINmEWKiPE4RKOplvijn+NkmYmmRgP68mc70j2EbeTFRsrswaQeg==", "license": "MIT", "bin": { "mime": "cli.js" @@ -12133,6 +13016,31 @@ "node": ">=6" } }, + "node_modules/parse-entities": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/parse-entities/-/parse-entities-4.0.2.tgz", + "integrity": "sha512-GG2AQYWoLgL877gQIKeRPGO1xF9+eG1ujIb5soS5gPvLQ1y2o8FL90w2QWNdf9I361Mpp7726c+lj3U0qK1uGw==", + "license": "MIT", + "dependencies": { + "@types/unist": "^2.0.0", + "character-entities-legacy": "^3.0.0", + "character-reference-invalid": "^2.0.0", + "decode-named-character-reference": "^1.0.0", + "is-alphanumerical": "^2.0.0", + "is-decimal": "^2.0.0", + "is-hexadecimal": "^2.0.0" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + }, + "node_modules/parse-entities/node_modules/@types/unist": { + "version": "2.0.11", + "resolved": "https://registry.npmjs.org/@types/unist/-/unist-2.0.11.tgz", + "integrity": "sha512-CmBKiL6NNo/OqgmMn95Fk9Whlp2mtvIv+KNpQKN2F4SjvrEesubTRWGYSg+BnWZOnlCaSTU1sMpsBOzgbYhnsA==", + "license": "MIT" + }, "node_modules/parse-json": { "version": "5.2.0", "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-5.2.0.tgz", @@ -13837,6 +14745,16 @@ "integrity": "sha512-SVtmxhRE/CGkn3eZY1T6pC8Nln6Fr/lu1mKSgRud0eC73whjGfoAogbn78LkD8aFL0zz3bAFerKSnOl7NlErBA==", "license": "MIT" }, + "node_modules/property-information": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/property-information/-/property-information-7.2.0.tgz", + "integrity": "sha512-IAtzIB6sUiWaJYrX9smp3V46pBGbBeLFRGdh25kg1334VcBlD8HzhPeNIWQH9zhGmo2itIe25EHt9dQP7G5hmg==", + "license": "MIT", + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + }, "node_modules/proxy-addr": { "version": "2.0.7", "resolved": "https://registry.npmjs.org/proxy-addr/-/proxy-addr-2.0.7.tgz", @@ -14124,6 +15042,33 @@ "integrity": "sha512-w2GsyukL62IJnlaff/nRegPQR94C/XXamvMWmSHRJ4y7Ts/4ocGRmTHvOs8PSE6pB3dWOrD/nueuU5sduBsQ4w==", "license": "MIT" }, + "node_modules/react-markdown": { + "version": "10.1.0", + "resolved": "https://registry.npmjs.org/react-markdown/-/react-markdown-10.1.0.tgz", + "integrity": "sha512-qKxVopLT/TyA6BX3Ue5NwabOsAzm0Q7kAPwq6L+wWDwisYs7R8vZ0nRXqq6rkueboxpkjvLGU9fWifiX/ZZFxQ==", + "license": "MIT", + "dependencies": { + "@types/hast": "^3.0.0", + "@types/mdast": "^4.0.0", + "devlop": "^1.0.0", + "hast-util-to-jsx-runtime": "^2.0.0", + "html-url-attributes": "^3.0.0", + "mdast-util-to-hast": "^13.0.0", + "remark-parse": "^11.0.0", + "remark-rehype": "^11.0.0", + "unified": "^11.0.0", + "unist-util-visit": "^5.0.0", + "vfile": "^6.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + }, + "peerDependencies": { + "@types/react": ">=18", + "react": ">=18" + } + }, "node_modules/react-refresh": { "version": "0.11.0", "resolved": "https://registry.npmjs.org/react-refresh/-/react-refresh-0.11.0.tgz", @@ -14515,6 +15460,39 @@ "node": ">= 0.10" } }, + "node_modules/remark-parse": { + "version": "11.0.0", + "resolved": "https://registry.npmjs.org/remark-parse/-/remark-parse-11.0.0.tgz", + "integrity": "sha512-FCxlKLNGknS5ba/1lmpYijMUzX2esxW5xQqjWxw2eHFfS2MSdaHVINFmhjo+qN1WhZhNimq0dZATN9pH0IDrpA==", + "license": "MIT", + "dependencies": { + "@types/mdast": "^4.0.0", + "mdast-util-from-markdown": "^2.0.0", + "micromark-util-types": "^2.0.0", + "unified": "^11.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/remark-rehype": { + "version": "11.1.2", + "resolved": "https://registry.npmjs.org/remark-rehype/-/remark-rehype-11.1.2.tgz", + "integrity": "sha512-Dh7l57ianaEoIpzbp0PC9UKAdCSVklD8E5Rpw7ETfbTl3FqcOOgq5q2LVDhgGCkaBv7p24JXikPdvhhmHvKMsw==", + "license": "MIT", + "dependencies": { + "@types/hast": "^3.0.0", + "@types/mdast": "^4.0.0", + "mdast-util-to-hast": "^13.0.0", + "unified": "^11.0.0", + "vfile": "^6.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, "node_modules/renderkid": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/renderkid/-/renderkid-3.0.0.tgz", @@ -15430,6 +16408,16 @@ "deprecated": "Please use @jridgewell/sourcemap-codec instead", "license": "MIT" }, + "node_modules/space-separated-tokens": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/space-separated-tokens/-/space-separated-tokens-2.0.2.tgz", + "integrity": "sha512-PEGlAwrG8yXGXRjW32fGbg66JAlOAwbObuqVoJpv/mRgoWDQfgH1wDPvtzWyUSNAXBGSk8h755YDbbcEy3SH2Q==", + "license": "MIT", + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + }, "node_modules/spdy": { "version": "4.0.2", "resolved": "https://registry.npmjs.org/spdy/-/spdy-4.0.2.tgz", @@ -15787,6 +16775,20 @@ "url": "https://github.com/sponsors/ljharb" } }, + "node_modules/stringify-entities": { + "version": "4.0.4", + "resolved": "https://registry.npmjs.org/stringify-entities/-/stringify-entities-4.0.4.tgz", + "integrity": "sha512-IwfBptatlO+QCJUo19AqvrPNqlVMpW9YEL2LIVY+Rpv2qsjCGxaDLNRgeGsQWJhfItebuJhsGSLjaBbNSQ+ieg==", + "license": "MIT", + "dependencies": { + "character-entities-html4": "^2.0.0", + "character-entities-legacy": "^3.0.0" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + }, "node_modules/stringify-object": { "version": "3.3.0", "resolved": "https://registry.npmjs.org/stringify-object/-/stringify-object-3.3.0.tgz", @@ -15880,6 +16882,24 @@ "webpack": "^5.0.0" } }, + "node_modules/style-to-js": { + "version": "1.1.21", + "resolved": "https://registry.npmjs.org/style-to-js/-/style-to-js-1.1.21.tgz", + "integrity": "sha512-RjQetxJrrUJLQPHbLku6U/ocGtzyjbJMP9lCNK7Ag0CNh690nSH8woqWH9u16nMjYBAok+i7JO1NP2pOy8IsPQ==", + "license": "MIT", + "dependencies": { + "style-to-object": "1.0.14" + } + }, + "node_modules/style-to-object": { + "version": "1.0.14", + "resolved": "https://registry.npmjs.org/style-to-object/-/style-to-object-1.0.14.tgz", + "integrity": "sha512-LIN7rULI0jBscWQYaSswptyderlarFkjQ+t79nzty8tcIAceVomEVlLzH5VP4Cmsv6MtKhs7qaAiwlcp+Mgaxw==", + "license": "MIT", + "dependencies": { + "inline-style-parser": "0.2.7" + } + }, "node_modules/stylehacks": { "version": "5.1.1", "resolved": "https://registry.npmjs.org/stylehacks/-/stylehacks-5.1.1.tgz", @@ -16293,6 +17313,23 @@ "url": "https://github.com/sponsors/ljharb" } }, + "node_modules/tailwindcss/node_modules/yaml": { + "version": "2.9.0", + "resolved": "https://registry.npmjs.org/yaml/-/yaml-2.9.0.tgz", + "integrity": "sha512-2AvhNX3mb8zd6Zy7INTtSpl1F15HW6Wnqj0srWlkKLcpYl/gMIMJiyuGq2KeI2YFxUPjdlB+3Lc10seMLtL4cA==", + "license": "ISC", + "optional": true, + "peer": true, + "bin": { + "yaml": "bin.mjs" + }, + "engines": { + "node": ">= 14.6" + }, + "funding": { + "url": "https://github.com/sponsors/eemeli" + } + }, "node_modules/tapable": { "version": "2.3.0", "resolved": "https://registry.npmjs.org/tapable/-/tapable-2.3.0.tgz", @@ -16602,6 +17639,26 @@ "node": ">=8" } }, + "node_modules/trim-lines": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/trim-lines/-/trim-lines-3.0.1.tgz", + "integrity": "sha512-kRj8B+YHZCc9kQYdWfJB2/oUl9rA99qbowYYBtr4ui4mZyAQ2JpvVBd/6U2YloATfqBhBTSMhTpgBHtU0Mf3Rg==", + "license": "MIT", + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + }, + "node_modules/trough": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/trough/-/trough-2.2.0.tgz", + "integrity": "sha512-tmMpK00BjZiUyVyvrBK7knerNgmgvcV/KLVyuma/SC+TQN167GrMRciANTz09+k3zW8L8t60jWO1GpfkZdjTaw==", + "license": "MIT", + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + }, "node_modules/tryer": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/tryer/-/tryer-1.0.1.tgz", @@ -16887,6 +17944,37 @@ "node": ">=4" } }, + "node_modules/unified": { + "version": "11.0.5", + "resolved": "https://registry.npmjs.org/unified/-/unified-11.0.5.tgz", + "integrity": "sha512-xKvGhPWw3k84Qjh8bI3ZeJjqnyadK+GEFtazSfZv/rKeTkTjOJho6mFqh2SM96iIcZokxiOpg78GazTSg8+KHA==", + "license": "MIT", + "dependencies": { + "@types/unist": "^3.0.0", + "bail": "^2.0.0", + "devlop": "^1.0.0", + "extend": "^3.0.0", + "is-plain-obj": "^4.0.0", + "trough": "^2.0.0", + "vfile": "^6.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/unified/node_modules/is-plain-obj": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/is-plain-obj/-/is-plain-obj-4.1.0.tgz", + "integrity": "sha512-+Pgi+vMuUNkJyExiMBt5IlFoMyKnr5zhJ4Uspz58WOhBF5QoIZkFyNHIbBAtHwzVAgk5RtndVNsDRN61/mmDqg==", + "license": "MIT", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, "node_modules/unique-string": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/unique-string/-/unique-string-2.0.0.tgz", @@ -16899,6 +17987,74 @@ "node": ">=8" } }, + "node_modules/unist-util-is": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/unist-util-is/-/unist-util-is-6.0.1.tgz", + "integrity": "sha512-LsiILbtBETkDz8I9p1dQ0uyRUWuaQzd/cuEeS1hoRSyW5E5XGmTzlwY1OrNzzakGowI9Dr/I8HVaw4hTtnxy8g==", + "license": "MIT", + "dependencies": { + "@types/unist": "^3.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/unist-util-position": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/unist-util-position/-/unist-util-position-5.0.0.tgz", + "integrity": "sha512-fucsC7HjXvkB5R3kTCO7kUjRdrS0BJt3M/FPxmHMBOm8JQi2BsHAHFsy27E0EolP8rp0NzXsJ+jNPyDWvOJZPA==", + "license": "MIT", + "dependencies": { + "@types/unist": "^3.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/unist-util-stringify-position": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/unist-util-stringify-position/-/unist-util-stringify-position-4.0.0.tgz", + "integrity": "sha512-0ASV06AAoKCDkS2+xw5RXJywruurpbC4JZSm7nr7MOt1ojAzvyyaO+UxZf18j8FCF6kmzCZKcAgN/yu2gm2XgQ==", + "license": "MIT", + "dependencies": { + "@types/unist": "^3.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/unist-util-visit": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/unist-util-visit/-/unist-util-visit-5.1.0.tgz", + "integrity": "sha512-m+vIdyeCOpdr/QeQCu2EzxX/ohgS8KbnPDgFni4dQsfSCtpz8UqDyY5GjRru8PDKuYn7Fq19j1CQ+nJSsGKOzg==", + "license": "MIT", + "dependencies": { + "@types/unist": "^3.0.0", + "unist-util-is": "^6.0.0", + "unist-util-visit-parents": "^6.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/unist-util-visit-parents": { + "version": "6.0.2", + "resolved": "https://registry.npmjs.org/unist-util-visit-parents/-/unist-util-visit-parents-6.0.2.tgz", + "integrity": "sha512-goh1s1TBrqSqukSc8wrjwWhL0hiJxgA8m4kFxGlQ+8FYQ3C/m11FcTs4YYem7V664AhHVvgoQLk890Ssdsr2IQ==", + "license": "MIT", + "dependencies": { + "@types/unist": "^3.0.0", + "unist-util-is": "^6.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, "node_modules/universalify": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/universalify/-/universalify-2.0.1.tgz", @@ -17066,6 +18222,34 @@ "node": ">= 0.8" } }, + "node_modules/vfile": { + "version": "6.0.3", + "resolved": "https://registry.npmjs.org/vfile/-/vfile-6.0.3.tgz", + "integrity": "sha512-KzIbH/9tXat2u30jf+smMwFCsno4wHVdNmzFyL+T/L3UGqqk6JKfVqOFOZEpZSHADH1k40ab6NUIXZq422ov3Q==", + "license": "MIT", + "dependencies": { + "@types/unist": "^3.0.0", + "vfile-message": "^4.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/vfile-message": { + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/vfile-message/-/vfile-message-4.0.3.tgz", + "integrity": "sha512-QTHzsGd1EhbZs4AsQ20JX1rC3cOlt/IWJruk893DfLRr57lcnOeMaWG4K0JrRta4mIJZKth2Au3mM3u03/JWKw==", + "license": "MIT", + "dependencies": { + "@types/unist": "^3.0.0", + "unist-util-stringify-position": "^4.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, "node_modules/void-elements": { "version": "3.1.0", "resolved": "https://registry.npmjs.org/void-elements/-/void-elements-3.1.0.tgz", @@ -18020,6 +19204,16 @@ "funding": { "url": "https://github.com/sponsors/sindresorhus" } + }, + "node_modules/zwitch": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/zwitch/-/zwitch-2.0.4.tgz", + "integrity": "sha512-bXE4cR/kVZhKZX/RjPEflHaKVhUVl85noU3v6b8apfQEc1x4A+zBxjZ4lN8LqGd6WZ3dl98pY4o717VFmoPp+A==", + "license": "MIT", + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } } } } diff --git a/app-frontend/employer-panel/package.json b/app-frontend/employer-panel/package.json index 73a3121d6..3319613e1 100644 --- a/app-frontend/employer-panel/package.json +++ b/app-frontend/employer-panel/package.json @@ -17,6 +17,7 @@ "react-dom": "^19.1.1", "react-hook-form": "^7.62.0", "react-i18next": "^15.1.3", + "react-markdown": "^10.1.0", "react-router-dom": "^7.7.1", "react-scripts": "5.0.1", "web-vitals": "^2.1.4", diff --git a/app-frontend/employer-panel/src/App.js b/app-frontend/employer-panel/src/App.js index 513a57bd9..ae98c7120 100644 --- a/app-frontend/employer-panel/src/App.js +++ b/app-frontend/employer-panel/src/App.js @@ -32,11 +32,12 @@ import PrivacyPolicy from './pages/PrivacyPolicy'; import TermsAndConditions from './pages/TermsAndConditions'; import FAQs from './pages/FAQs'; import ContactUs from './pages/ContactUs'; -import AllReviews from './pages/AllReviews'; +import AIAssistant from './pages/AIAssistant'; + import Sidebar from './components/Sidebar'; import { NotificationProvider } from './components/NotificationContext'; - import i18n from './i18n'; +import AIChatWidget from "./components/AIChatWidget"; function TaskRoute() { return ( @@ -86,6 +87,7 @@ function ProtectedLayout({ children, language, setLanguage }) {