mirror of
https://github.com/Mail-0/Zero.git
synced 2026-06-29 07:16:19 +00:00
…essing # READ CAREFULLY THEN REMOVE Remove bullet points that are not relevant. PLEASE REFRAIN FROM USING AI TO WRITE YOUR CODE AND PR DESCRIPTION. IF YOU DO USE AI TO WRITE YOUR CODE PLEASE PROVIDE A DESCRIPTION AND REVIEW IT CAREFULLY. MAKE SURE YOU UNDERSTAND THE CODE YOU ARE SUBMITTING USING AI. - Pull requests that do not follow these guidelines will be closed without review or comment. - If you use AI to write your PR description your pr will be close without review or comment. - If you are unsure about anything, feel free to ask for clarification. ## Description Please provide a clear description of your changes. --- ## Type of Change Please delete options that are not relevant. - [ ] 🐛 Bug fix (non-breaking change which fixes an issue) - [ ] ✨ New feature (non-breaking change which adds functionality) - [ ] 💥 Breaking change (fix or feature with breaking changes) - [ ] 📝 Documentation update - [ ] 🎨 UI/UX improvement - [ ] 🔒 Security enhancement - [ ] ⚡ Performance improvement ## Areas Affected Please check all that apply: - [ ] Email Integration (Gmail, IMAP, etc.) - [ ] User Interface/Experience - [ ] Authentication/Authorization - [ ] Data Storage/Management - [ ] API Endpoints - [ ] Documentation - [ ] Testing Infrastructure - [ ] Development Workflow - [ ] Deployment/Infrastructure ## Testing Done Describe the tests you've done: - [ ] Unit tests added/updated - [ ] Integration tests added/updated - [ ] Manual testing performed - [ ] Cross-browser testing (if UI changes) - [ ] Mobile responsiveness verified (if UI changes) ## Security Considerations For changes involving data or authentication: - [ ] No sensitive data is exposed - [ ] Authentication checks are in place - [ ] Input validation is implemented - [ ] Rate limiting is considered (if applicable) ## Checklist - [ ] I have read the [CONTRIBUTING](../CONTRIBUTING.md) document - [ ] My code follows the project's style guidelines - [ ] I have performed a self-review of my code - [ ] I have commented my code, particularly in complex areas - [ ] I have updated the documentation - [ ] My changes generate no new warnings - [ ] I have added tests that prove my fix/feature works - [ ] All tests pass locally - [ ] Any dependent changes are merged and published ## Additional Notes Add any other context about the pull request here. ## Screenshots/Recordings Add screenshots or recordings here if applicable. --- _By submitting this pull request, I confirm that my contribution is made under the terms of the project's license._ <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **New Features** - Introduced AI voice call handling with Twilio and ElevenLabs integration, enabling real-time conversational AI over phone calls. - Added a new /ai API route for voice and call management. - Implemented a system prompt for an AI email assistant with robust tool invocation and safety protocols. - Added a new database table for key management (JWKS). - Added endpoints for obtaining signed URLs for ElevenLabs conversational AI. - Added voice-related API routes and integrated voiceRouter into main API. - **Improvements** - Enhanced authentication by supporting bearer tokens and refining session user handling throughout the app. - Updated Zod schema descriptions for improved API documentation. - Streamlined context management for user sessions across server routes and procedures. - **Chores** - Updated dependencies and added new packages for Twilio, ElevenLabs, and JOSE. - Added scripts for streamlined Docker database management and development startup. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
46 lines
1.9 KiB
JSON
46 lines
1.9 KiB
JSON
{
|
|
"name": "zero",
|
|
"version": "0.1.0",
|
|
"private": true,
|
|
"packageManager": "pnpm@10.11.0",
|
|
"scripts": {
|
|
"go": "pnpm docker:db:up && pnpm run dev",
|
|
"prepare": "husky",
|
|
"nizzy": "tsx ./packages/cli/src/cli.ts",
|
|
"postinstall": "pnpm nizzy sync",
|
|
"dev": "turbo run dev",
|
|
"build": "turbo run build",
|
|
"build:frontend": "pnpm run --filter=@zero/mail build",
|
|
"deploy:frontend": "pnpm run --filter=@zero/mail deploy",
|
|
"deploy:backend": "pnpm run --filter=@zero/server deploy",
|
|
"start": "turbo run start",
|
|
"lint": "turbo run lint",
|
|
"format": "prettier --write apps/**/*.{ts,tsx} --log-level silent",
|
|
"check": "pnpm run check:format && pnpm run lint",
|
|
"check:format": "prettier . --check",
|
|
"lint-staged": "prettier --write --ignore-unknown",
|
|
"docker:db:up": "docker compose -f docker-compose.db.yaml up -d",
|
|
"docker:db:stop": "docker compose -f docker-compose.db.yaml stop",
|
|
"docker:db:down": "docker compose -f docker-compose.db.yaml down",
|
|
"docker:db:clean": "docker compose -f docker-compose.db.yaml down -v",
|
|
"db:generate": "dotenv -- pnpm run -C apps/server db:generate",
|
|
"db:migrate": "dotenv -- pnpm run -C apps/server db:migrate",
|
|
"db:push": "dotenv -- pnpm run -C apps/server db:push",
|
|
"db:studio": "dotenv -- pnpm run -C apps/server db:studio",
|
|
"sentry:sourcemaps": "sentry-cli sourcemaps inject --org zero-7y --project nextjs ./apps/mail/.next && sentry-cli sourcemaps upload --org zero-7y --project nextjs ./apps/mail/.next",
|
|
"scripts": "dotenv -- pnpx tsx ./scripts/run.ts"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "22.15.29",
|
|
"@zero/tsconfig": "workspace:*",
|
|
"dotenv-cli": "^8.0.0",
|
|
"husky": "9.1.7",
|
|
"prettier": "3.5.3",
|
|
"prettier-plugin-sort-imports": "1.8.8",
|
|
"prettier-plugin-tailwindcss": "0.6.12",
|
|
"tsx": "4.19.4",
|
|
"turbo": "^2.5.4",
|
|
"typescript": "catalog:"
|
|
}
|
|
}
|