From bb0182547fd3620be6cddbab14c2ac2996303ebd Mon Sep 17 00:00:00 2001 From: Your Name Date: Tue, 1 Jul 2025 00:36:21 +0500 Subject: [PATCH 1/3] fix the dotenv issue --- apps/backend-api/package.json | 3 - apps/web-frontend/package.json | 3 +- core/config/package.json | 5 +- core/config/tsconfig.json | 2 +- core/emotionware/package.json | 1 - core/memory/package.json | 1 - package.json | 1 - packages/hooks/package.json | 1 + packages/sdk/package.json | 1 + packages/ui/package.json | 1 + pnpm-lock.yaml | 329 ++------------------------------- 11 files changed, 27 insertions(+), 321 deletions(-) diff --git a/apps/backend-api/package.json b/apps/backend-api/package.json index d05f04e..4f4960c 100644 --- a/apps/backend-api/package.json +++ b/apps/backend-api/package.json @@ -37,14 +37,11 @@ }, "devDependencies": { "@types/cors": "^2.8.17", - "@types/dotenv": "^8.2.3", "@types/express": "^4.17.21", "@types/multer": "^1.4.13", "@types/node": "^20.8.0", - "dotenv-cli": "^7.3.0", "eslint": "^8.57.0", "jest": "^29.7.0", - "tsx": "^4.0.0", "typescript": "^5.2.2" } } \ No newline at end of file diff --git a/apps/web-frontend/package.json b/apps/web-frontend/package.json index 73bf052..3246b84 100644 --- a/apps/web-frontend/package.json +++ b/apps/web-frontend/package.json @@ -44,13 +44,14 @@ "zustand": "^4.4.0" }, "devDependencies": { - "@types/dotenv": "^8.2.3", "@types/node": "^20.8.0", "@types/react": "^18.3.5", "@types/react-dom": "^18.3.1", "@types/uuid": "^10.0.0", "@vitejs/plugin-react": "^4.2.0", "autoprefixer": "^10.4.21", + "eslint": "^8.57.0", + "jest": "^29.7.0", "postcss": "^8.5.4", "tailwindcss": "^3.4.17", "typescript": "^5.2.2", diff --git a/core/config/package.json b/core/config/package.json index 57c4211..56e89ac 100644 --- a/core/config/package.json +++ b/core/config/package.json @@ -16,11 +16,10 @@ "dotenv": "^16.3.1" }, "devDependencies": { - "@types/dotenv": "^8.2.3", "@types/node": "^20.8.0", - "typescript": "^5.2.2", + "eslint": "^8.57.0", "jest": "^29.7.0", - "eslint": "^8.57.0" + "typescript": "^5.2.2" }, "peerDependencies": {}, "files": [ diff --git a/core/config/tsconfig.json b/core/config/tsconfig.json index 626ee03..520b641 100644 --- a/core/config/tsconfig.json +++ b/core/config/tsconfig.json @@ -15,7 +15,7 @@ "sourceMap": true, "resolveJsonModule": true, "allowSyntheticDefaultImports": true, - "types": ["node", "dotenv"] + "types": ["node"] }, "include": ["src/**/*"], "exclude": ["node_modules", "dist", "**/*.test.ts"] diff --git a/core/emotionware/package.json b/core/emotionware/package.json index 2ab2947..85467f9 100644 --- a/core/emotionware/package.json +++ b/core/emotionware/package.json @@ -19,7 +19,6 @@ "@types/ws": "^8.18.1" }, "devDependencies": { - "@types/dotenv": "^8.2.3", "@types/node": "^20.8.0", "eslint": "^8.57.0", "jest": "^29.7.0", diff --git a/core/memory/package.json b/core/memory/package.json index 7ff27bc..ccef925 100644 --- a/core/memory/package.json +++ b/core/memory/package.json @@ -19,7 +19,6 @@ "langchain": "^0.1.25" }, "devDependencies": { - "@types/dotenv": "^8.2.3", "@types/node": "^20.8.0", "eslint": "^8.57.0", "jest": "^29.7.0", diff --git a/package.json b/package.json index 128dc5f..3d72310 100644 --- a/package.json +++ b/package.json @@ -25,7 +25,6 @@ }, "devDependencies": { "@types/cors": "^2.8.17", - "@types/dotenv": "^8.2.3", "@types/express": "^4.17.21", "@types/multer": "^1.4.13", "@types/node": "^20.19.1", diff --git a/packages/hooks/package.json b/packages/hooks/package.json index b6504aa..dcd2be8 100644 --- a/packages/hooks/package.json +++ b/packages/hooks/package.json @@ -15,6 +15,7 @@ }, "devDependencies": { "@types/react": "^18.3.5", + "@types/node": "^20.19.1", "typescript": "^5.2.2", "eslint": "^8.57.0" }, diff --git a/packages/sdk/package.json b/packages/sdk/package.json index a0d383b..8cc573b 100644 --- a/packages/sdk/package.json +++ b/packages/sdk/package.json @@ -15,6 +15,7 @@ "axios": "^1.6.0" }, "devDependencies": { + "@types/node": "^20.19.1", "typescript": "^5.2.2", "jest": "^29.7.0", "eslint": "^8.57.0" diff --git a/packages/ui/package.json b/packages/ui/package.json index 87abb5d..8d76366 100644 --- a/packages/ui/package.json +++ b/packages/ui/package.json @@ -19,6 +19,7 @@ "devDependencies": { "@types/react": "^18.3.5", "typescript": "^5.2.2", + "@types/node": "^20.19.1", "eslint": "^8.57.0" }, "peerDependencies": { diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 7bf0cb0..97c8457 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -33,9 +33,6 @@ importers: '@types/cors': specifier: ^2.8.17 version: 2.8.19 - '@types/dotenv': - specifier: ^8.2.3 - version: 8.2.3 '@types/express': specifier: ^4.17.21 version: 4.17.23 @@ -127,9 +124,6 @@ importers: '@types/cors': specifier: ^2.8.17 version: 2.8.19 - '@types/dotenv': - specifier: ^8.2.3 - version: 8.2.3 '@types/express': specifier: ^4.17.21 version: 4.17.23 @@ -139,18 +133,12 @@ importers: '@types/node': specifier: ^20.8.0 version: 20.19.2 - dotenv-cli: - specifier: ^7.3.0 - version: 7.4.4 eslint: specifier: ^8.57.0 version: 8.57.1 jest: specifier: ^29.7.0 version: 29.7.0(@types/node@20.19.2) - tsx: - specifier: ^4.0.0 - version: 4.20.3 typescript: specifier: ^5.2.2 version: 5.8.3 @@ -251,9 +239,6 @@ importers: specifier: ^4.4.0 version: 4.5.7(@types/react@18.3.23)(react@18.3.1) devDependencies: - '@types/dotenv': - specifier: ^8.2.3 - version: 8.2.3 '@types/node': specifier: ^20.8.0 version: 20.19.2 @@ -272,6 +257,12 @@ importers: autoprefixer: specifier: ^10.4.21 version: 10.4.21(postcss@8.5.6) + eslint: + specifier: ^8.57.0 + version: 8.57.1 + jest: + specifier: ^29.7.0 + version: 29.7.0(@types/node@20.19.2) postcss: specifier: ^8.5.4 version: 8.5.6 @@ -356,9 +347,6 @@ importers: specifier: ^16.3.1 version: 16.6.1 devDependencies: - '@types/dotenv': - specifier: ^8.2.3 - version: 8.2.3 '@types/node': specifier: ^20.8.0 version: 20.19.2 @@ -390,9 +378,6 @@ importers: specifier: ^8.18.1 version: 8.18.1 devDependencies: - '@types/dotenv': - specifier: ^8.2.3 - version: 8.2.3 '@types/node': specifier: ^20.8.0 version: 20.19.2 @@ -424,9 +409,6 @@ importers: specifier: ^0.1.25 version: 0.1.37(@supabase/supabase-js@2.50.2)(openai@4.104.0) devDependencies: - '@types/dotenv': - specifier: ^8.2.3 - version: 8.2.3 '@types/node': specifier: ^20.8.0 version: 20.19.2 @@ -508,6 +490,9 @@ importers: specifier: ^18.3.1 version: 18.3.1 devDependencies: + '@types/node': + specifier: ^20.19.1 + version: 20.19.2 '@types/react': specifier: ^18.3.5 version: 18.3.23 @@ -524,6 +509,9 @@ importers: specifier: ^1.6.0 version: 1.10.0 devDependencies: + '@types/node': + specifier: ^20.19.1 + version: 20.19.2 eslint: specifier: ^8.57.0 version: 8.57.1 @@ -549,6 +537,9 @@ importers: specifier: ^2.0.0 version: 2.6.0 devDependencies: + '@types/node': + specifier: ^20.19.1 + version: 20.19.2 '@types/react': specifier: ^18.3.5 version: 18.3.23 @@ -1068,15 +1059,6 @@ packages: dev: true optional: true - /@esbuild/aix-ppc64@0.25.5: - resolution: {integrity: sha512-9o3TMmpmftaCMepOdA5k/yDw8SfInyzWWTjYTFCX3kPSDJMROQTb8jg+h9Cnwnmm1vOzvxN7gIfB5V2ewpjtGA==} - engines: {node: '>=18'} - cpu: [ppc64] - os: [aix] - requiresBuild: true - dev: true - optional: true - /@esbuild/android-arm64@0.21.5: resolution: {integrity: sha512-c0uX9VAUBQ7dTDCjq+wdyGLowMdtR/GoC2U5IYk/7D1H1JYC0qseD7+11iMP2mRLN9RcCMRcjC4YMclCzGwS/A==} engines: {node: '>=12'} @@ -1086,15 +1068,6 @@ packages: dev: true optional: true - /@esbuild/android-arm64@0.25.5: - resolution: {integrity: sha512-VGzGhj4lJO+TVGV1v8ntCZWJktV7SGCs3Pn1GRWI1SBFtRALoomm8k5E9Pmwg3HOAal2VDc2F9+PM/rEY6oIDg==} - engines: {node: '>=18'} - cpu: [arm64] - os: [android] - requiresBuild: true - dev: true - optional: true - /@esbuild/android-arm@0.21.5: resolution: {integrity: sha512-vCPvzSjpPHEi1siZdlvAlsPxXl7WbOVUBBAowWug4rJHb68Ox8KualB+1ocNvT5fjv6wpkX6o/iEpbDrf68zcg==} engines: {node: '>=12'} @@ -1104,15 +1077,6 @@ packages: dev: true optional: true - /@esbuild/android-arm@0.25.5: - resolution: {integrity: sha512-AdJKSPeEHgi7/ZhuIPtcQKr5RQdo6OO2IL87JkianiMYMPbCtot9fxPbrMiBADOWWm3T2si9stAiVsGbTQFkbA==} - engines: {node: '>=18'} - cpu: [arm] - os: [android] - requiresBuild: true - dev: true - optional: true - /@esbuild/android-x64@0.21.5: resolution: {integrity: sha512-D7aPRUUNHRBwHxzxRvp856rjUHRFW1SdQATKXH2hqA0kAZb1hKmi02OpYRacl0TxIGz/ZmXWlbZgjwWYaCakTA==} engines: {node: '>=12'} @@ -1122,15 +1086,6 @@ packages: dev: true optional: true - /@esbuild/android-x64@0.25.5: - resolution: {integrity: sha512-D2GyJT1kjvO//drbRT3Hib9XPwQeWd9vZoBJn+bu/lVsOZ13cqNdDeqIF/xQ5/VmWvMduP6AmXvylO/PIc2isw==} - engines: {node: '>=18'} - cpu: [x64] - os: [android] - requiresBuild: true - dev: true - optional: true - /@esbuild/darwin-arm64@0.21.5: resolution: {integrity: sha512-DwqXqZyuk5AiWWf3UfLiRDJ5EDd49zg6O9wclZ7kUMv2WRFr4HKjXp/5t8JZ11QbQfUS6/cRCKGwYhtNAY88kQ==} engines: {node: '>=12'} @@ -1140,15 +1095,6 @@ packages: dev: true optional: true - /@esbuild/darwin-arm64@0.25.5: - resolution: {integrity: sha512-GtaBgammVvdF7aPIgH2jxMDdivezgFu6iKpmT+48+F8Hhg5J/sfnDieg0aeG/jfSvkYQU2/pceFPDKlqZzwnfQ==} - engines: {node: '>=18'} - cpu: [arm64] - os: [darwin] - requiresBuild: true - dev: true - optional: true - /@esbuild/darwin-x64@0.21.5: resolution: {integrity: sha512-se/JjF8NlmKVG4kNIuyWMV/22ZaerB+qaSi5MdrXtd6R08kvs2qCN4C09miupktDitvh8jRFflwGFBQcxZRjbw==} engines: {node: '>=12'} @@ -1158,15 +1104,6 @@ packages: dev: true optional: true - /@esbuild/darwin-x64@0.25.5: - resolution: {integrity: sha512-1iT4FVL0dJ76/q1wd7XDsXrSW+oLoquptvh4CLR4kITDtqi2e/xwXwdCVH8hVHU43wgJdsq7Gxuzcs6Iq/7bxQ==} - engines: {node: '>=18'} - cpu: [x64] - os: [darwin] - requiresBuild: true - dev: true - optional: true - /@esbuild/freebsd-arm64@0.21.5: resolution: {integrity: sha512-5JcRxxRDUJLX8JXp/wcBCy3pENnCgBR9bN6JsY4OmhfUtIHe3ZW0mawA7+RDAcMLrMIZaf03NlQiX9DGyB8h4g==} engines: {node: '>=12'} @@ -1176,15 +1113,6 @@ packages: dev: true optional: true - /@esbuild/freebsd-arm64@0.25.5: - resolution: {integrity: sha512-nk4tGP3JThz4La38Uy/gzyXtpkPW8zSAmoUhK9xKKXdBCzKODMc2adkB2+8om9BDYugz+uGV7sLmpTYzvmz6Sw==} - engines: {node: '>=18'} - cpu: [arm64] - os: [freebsd] - requiresBuild: true - dev: true - optional: true - /@esbuild/freebsd-x64@0.21.5: resolution: {integrity: sha512-J95kNBj1zkbMXtHVH29bBriQygMXqoVQOQYA+ISs0/2l3T9/kj42ow2mpqerRBxDJnmkUDCaQT/dfNXWX/ZZCQ==} engines: {node: '>=12'} @@ -1194,15 +1122,6 @@ packages: dev: true optional: true - /@esbuild/freebsd-x64@0.25.5: - resolution: {integrity: sha512-PrikaNjiXdR2laW6OIjlbeuCPrPaAl0IwPIaRv+SMV8CiM8i2LqVUHFC1+8eORgWyY7yhQY+2U2fA55mBzReaw==} - engines: {node: '>=18'} - cpu: [x64] - os: [freebsd] - requiresBuild: true - dev: true - optional: true - /@esbuild/linux-arm64@0.21.5: resolution: {integrity: sha512-ibKvmyYzKsBeX8d8I7MH/TMfWDXBF3db4qM6sy+7re0YXya+K1cem3on9XgdT2EQGMu4hQyZhan7TeQ8XkGp4Q==} engines: {node: '>=12'} @@ -1212,15 +1131,6 @@ packages: dev: true optional: true - /@esbuild/linux-arm64@0.25.5: - resolution: {integrity: sha512-Z9kfb1v6ZlGbWj8EJk9T6czVEjjq2ntSYLY2cw6pAZl4oKtfgQuS4HOq41M/BcoLPzrUbNd+R4BXFyH//nHxVg==} - engines: {node: '>=18'} - cpu: [arm64] - os: [linux] - requiresBuild: true - dev: true - optional: true - /@esbuild/linux-arm@0.21.5: resolution: {integrity: sha512-bPb5AHZtbeNGjCKVZ9UGqGwo8EUu4cLq68E95A53KlxAPRmUyYv2D6F0uUI65XisGOL1hBP5mTronbgo+0bFcA==} engines: {node: '>=12'} @@ -1230,15 +1140,6 @@ packages: dev: true optional: true - /@esbuild/linux-arm@0.25.5: - resolution: {integrity: sha512-cPzojwW2okgh7ZlRpcBEtsX7WBuqbLrNXqLU89GxWbNt6uIg78ET82qifUy3W6OVww6ZWobWub5oqZOVtwolfw==} - engines: {node: '>=18'} - cpu: [arm] - os: [linux] - requiresBuild: true - dev: true - optional: true - /@esbuild/linux-ia32@0.21.5: resolution: {integrity: sha512-YvjXDqLRqPDl2dvRODYmmhz4rPeVKYvppfGYKSNGdyZkA01046pLWyRKKI3ax8fbJoK5QbxblURkwK/MWY18Tg==} engines: {node: '>=12'} @@ -1248,15 +1149,6 @@ packages: dev: true optional: true - /@esbuild/linux-ia32@0.25.5: - resolution: {integrity: sha512-sQ7l00M8bSv36GLV95BVAdhJ2QsIbCuCjh/uYrWiMQSUuV+LpXwIqhgJDcvMTj+VsQmqAHL2yYaasENvJ7CDKA==} - engines: {node: '>=18'} - cpu: [ia32] - os: [linux] - requiresBuild: true - dev: true - optional: true - /@esbuild/linux-loong64@0.21.5: resolution: {integrity: sha512-uHf1BmMG8qEvzdrzAqg2SIG/02+4/DHB6a9Kbya0XDvwDEKCoC8ZRWI5JJvNdUjtciBGFQ5PuBlpEOXQj+JQSg==} engines: {node: '>=12'} @@ -1266,15 +1158,6 @@ packages: dev: true optional: true - /@esbuild/linux-loong64@0.25.5: - resolution: {integrity: sha512-0ur7ae16hDUC4OL5iEnDb0tZHDxYmuQyhKhsPBV8f99f6Z9KQM02g33f93rNH5A30agMS46u2HP6qTdEt6Q1kg==} - engines: {node: '>=18'} - cpu: [loong64] - os: [linux] - requiresBuild: true - dev: true - optional: true - /@esbuild/linux-mips64el@0.21.5: resolution: {integrity: sha512-IajOmO+KJK23bj52dFSNCMsz1QP1DqM6cwLUv3W1QwyxkyIWecfafnI555fvSGqEKwjMXVLokcV5ygHW5b3Jbg==} engines: {node: '>=12'} @@ -1284,15 +1167,6 @@ packages: dev: true optional: true - /@esbuild/linux-mips64el@0.25.5: - resolution: {integrity: sha512-kB/66P1OsHO5zLz0i6X0RxlQ+3cu0mkxS3TKFvkb5lin6uwZ/ttOkP3Z8lfR9mJOBk14ZwZ9182SIIWFGNmqmg==} - engines: {node: '>=18'} - cpu: [mips64el] - os: [linux] - requiresBuild: true - dev: true - optional: true - /@esbuild/linux-ppc64@0.21.5: resolution: {integrity: sha512-1hHV/Z4OEfMwpLO8rp7CvlhBDnjsC3CttJXIhBi+5Aj5r+MBvy4egg7wCbe//hSsT+RvDAG7s81tAvpL2XAE4w==} engines: {node: '>=12'} @@ -1302,15 +1176,6 @@ packages: dev: true optional: true - /@esbuild/linux-ppc64@0.25.5: - resolution: {integrity: sha512-UZCmJ7r9X2fe2D6jBmkLBMQetXPXIsZjQJCjgwpVDz+YMcS6oFR27alkgGv3Oqkv07bxdvw7fyB71/olceJhkQ==} - engines: {node: '>=18'} - cpu: [ppc64] - os: [linux] - requiresBuild: true - dev: true - optional: true - /@esbuild/linux-riscv64@0.21.5: resolution: {integrity: sha512-2HdXDMd9GMgTGrPWnJzP2ALSokE/0O5HhTUvWIbD3YdjME8JwvSCnNGBnTThKGEB91OZhzrJ4qIIxk/SBmyDDA==} engines: {node: '>=12'} @@ -1320,15 +1185,6 @@ packages: dev: true optional: true - /@esbuild/linux-riscv64@0.25.5: - resolution: {integrity: sha512-kTxwu4mLyeOlsVIFPfQo+fQJAV9mh24xL+y+Bm6ej067sYANjyEw1dNHmvoqxJUCMnkBdKpvOn0Ahql6+4VyeA==} - engines: {node: '>=18'} - cpu: [riscv64] - os: [linux] - requiresBuild: true - dev: true - optional: true - /@esbuild/linux-s390x@0.21.5: resolution: {integrity: sha512-zus5sxzqBJD3eXxwvjN1yQkRepANgxE9lgOW2qLnmr8ikMTphkjgXu1HR01K4FJg8h1kEEDAqDcZQtbrRnB41A==} engines: {node: '>=12'} @@ -1338,15 +1194,6 @@ packages: dev: true optional: true - /@esbuild/linux-s390x@0.25.5: - resolution: {integrity: sha512-K2dSKTKfmdh78uJ3NcWFiqyRrimfdinS5ErLSn3vluHNeHVnBAFWC8a4X5N+7FgVE1EjXS1QDZbpqZBjfrqMTQ==} - engines: {node: '>=18'} - cpu: [s390x] - os: [linux] - requiresBuild: true - dev: true - optional: true - /@esbuild/linux-x64@0.21.5: resolution: {integrity: sha512-1rYdTpyv03iycF1+BhzrzQJCdOuAOtaqHTWJZCWvijKD2N5Xu0TtVC8/+1faWqcP9iBCWOmjmhoH94dH82BxPQ==} engines: {node: '>=12'} @@ -1356,24 +1203,6 @@ packages: dev: true optional: true - /@esbuild/linux-x64@0.25.5: - resolution: {integrity: sha512-uhj8N2obKTE6pSZ+aMUbqq+1nXxNjZIIjCjGLfsWvVpy7gKCOL6rsY1MhRh9zLtUtAI7vpgLMK6DxjO8Qm9lJw==} - engines: {node: '>=18'} - cpu: [x64] - os: [linux] - requiresBuild: true - dev: true - optional: true - - /@esbuild/netbsd-arm64@0.25.5: - resolution: {integrity: sha512-pwHtMP9viAy1oHPvgxtOv+OkduK5ugofNTVDilIzBLpoWAM16r7b/mxBvfpuQDpRQFMfuVr5aLcn4yveGvBZvw==} - engines: {node: '>=18'} - cpu: [arm64] - os: [netbsd] - requiresBuild: true - dev: true - optional: true - /@esbuild/netbsd-x64@0.21.5: resolution: {integrity: sha512-Woi2MXzXjMULccIwMnLciyZH4nCIMpWQAs049KEeMvOcNADVxo0UBIQPfSmxB3CWKedngg7sWZdLvLczpe0tLg==} engines: {node: '>=12'} @@ -1383,24 +1212,6 @@ packages: dev: true optional: true - /@esbuild/netbsd-x64@0.25.5: - resolution: {integrity: sha512-WOb5fKrvVTRMfWFNCroYWWklbnXH0Q5rZppjq0vQIdlsQKuw6mdSihwSo4RV/YdQ5UCKKvBy7/0ZZYLBZKIbwQ==} - engines: {node: '>=18'} - cpu: [x64] - os: [netbsd] - requiresBuild: true - dev: true - optional: true - - /@esbuild/openbsd-arm64@0.25.5: - resolution: {integrity: sha512-7A208+uQKgTxHd0G0uqZO8UjK2R0DDb4fDmERtARjSHWxqMTye4Erz4zZafx7Di9Cv+lNHYuncAkiGFySoD+Mw==} - engines: {node: '>=18'} - cpu: [arm64] - os: [openbsd] - requiresBuild: true - dev: true - optional: true - /@esbuild/openbsd-x64@0.21.5: resolution: {integrity: sha512-HLNNw99xsvx12lFBUwoT8EVCsSvRNDVxNpjZ7bPn947b8gJPzeHWyNVhFsaerc0n3TsbOINvRP2byTZ5LKezow==} engines: {node: '>=12'} @@ -1410,15 +1221,6 @@ packages: dev: true optional: true - /@esbuild/openbsd-x64@0.25.5: - resolution: {integrity: sha512-G4hE405ErTWraiZ8UiSoesH8DaCsMm0Cay4fsFWOOUcz8b8rC6uCvnagr+gnioEjWn0wC+o1/TAHt+It+MpIMg==} - engines: {node: '>=18'} - cpu: [x64] - os: [openbsd] - requiresBuild: true - dev: true - optional: true - /@esbuild/sunos-x64@0.21.5: resolution: {integrity: sha512-6+gjmFpfy0BHU5Tpptkuh8+uw3mnrvgs+dSPQXQOv3ekbordwnzTVEb4qnIvQcYXq6gzkyTnoZ9dZG+D4garKg==} engines: {node: '>=12'} @@ -1428,15 +1230,6 @@ packages: dev: true optional: true - /@esbuild/sunos-x64@0.25.5: - resolution: {integrity: sha512-l+azKShMy7FxzY0Rj4RCt5VD/q8mG/e+mDivgspo+yL8zW7qEwctQ6YqKX34DTEleFAvCIUviCFX1SDZRSyMQA==} - engines: {node: '>=18'} - cpu: [x64] - os: [sunos] - requiresBuild: true - dev: true - optional: true - /@esbuild/win32-arm64@0.21.5: resolution: {integrity: sha512-Z0gOTd75VvXqyq7nsl93zwahcTROgqvuAcYDUr+vOv8uHhNSKROyU961kgtCD1e95IqPKSQKH7tBTslnS3tA8A==} engines: {node: '>=12'} @@ -1446,15 +1239,6 @@ packages: dev: true optional: true - /@esbuild/win32-arm64@0.25.5: - resolution: {integrity: sha512-O2S7SNZzdcFG7eFKgvwUEZ2VG9D/sn/eIiz8XRZ1Q/DO5a3s76Xv0mdBzVM5j5R639lXQmPmSo0iRpHqUUrsxw==} - engines: {node: '>=18'} - cpu: [arm64] - os: [win32] - requiresBuild: true - dev: true - optional: true - /@esbuild/win32-ia32@0.21.5: resolution: {integrity: sha512-SWXFF1CL2RVNMaVs+BBClwtfZSvDgtL//G/smwAc5oVK/UPu2Gu9tIaRgFmYFFKrmg3SyAjSrElf0TiJ1v8fYA==} engines: {node: '>=12'} @@ -1464,15 +1248,6 @@ packages: dev: true optional: true - /@esbuild/win32-ia32@0.25.5: - resolution: {integrity: sha512-onOJ02pqs9h1iMJ1PQphR+VZv8qBMQ77Klcsqv9CNW2w6yLqoURLcgERAIurY6QE63bbLuqgP9ATqajFLK5AMQ==} - engines: {node: '>=18'} - cpu: [ia32] - os: [win32] - requiresBuild: true - dev: true - optional: true - /@esbuild/win32-x64@0.21.5: resolution: {integrity: sha512-tQd/1efJuzPC6rCFwEvLtci/xNFcTZknmXs98FYDfGE4wP9ClFV98nyKrzJKVPMhdDnjzLhdUyMX4PsQAPjwIw==} engines: {node: '>=12'} @@ -1482,15 +1257,6 @@ packages: dev: true optional: true - /@esbuild/win32-x64@0.25.5: - resolution: {integrity: sha512-TXv6YnJ8ZMVdX+SXWVBo/0p8LTcrUYngpWjvm91TMjjBQii7Oz11Lw5lbDV5Y0TzuhSJHwiH4hEtC1I42mMS0g==} - engines: {node: '>=18'} - cpu: [x64] - os: [win32] - requiresBuild: true - dev: true - optional: true - /@eslint-community/eslint-utils@4.7.0(eslint@8.57.1): resolution: {integrity: sha512-dyybb3AcajC7uha6CvhdVRJqaKyn7w2YKqKyAN37NKYgZT36w+iRb0Dymmc5qEJ549c/S31cMMSFd75bteCpCw==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} @@ -3135,13 +2901,6 @@ packages: resolution: {integrity: sha512-Ps3T8E8dZDam6fUyNiMkekK3XUsaUEik+idO9/YjPtfj2qruF8tFBXS7XhtE4iIXBLxhmLjP3SXpLhVf21I9Lw==} dev: false - /@types/dotenv@8.2.3: - resolution: {integrity: sha512-g2FXjlDX/cYuc5CiQvyU/6kkbP1JtmGzh0obW50zD7OKeILVL0NSpPWLXVfqoAGQjom2/SLLx9zHq0KXvD6mbw==} - deprecated: This is a stub types definition. dotenv provides its own type definitions, so you do not need this installed. - dependencies: - dotenv: 16.6.1 - dev: true - /@types/estree@1.0.8: resolution: {integrity: sha512-dWHzHa2WqEXI/O1E9OjrocMTKJl2mSrEolh1Iomrv6U+JuNwaHXsXx9bLu5gG7BUWFIN0skIQJQ/L1rIex4X6w==} dev: true @@ -4127,14 +3886,17 @@ packages: dotenv: 16.6.1 dotenv-expand: 10.0.0 minimist: 1.2.8 + dev: false /dotenv-expand@10.0.0: resolution: {integrity: sha512-GopVGCpVS1UKH75VKHGuQFqS1Gusej0z4FyQkPdwjil2gNIv+LNsqBlboOzpJFZKVT95GkCyWJbBSdFEFUWI2A==} engines: {node: '>=12'} + dev: false /dotenv@16.6.1: resolution: {integrity: sha512-uBq4egWHTcTt33a72vpSG0z3HnPuIl6NqYcTrKEg2azoEyl2hpW0zqlxysq2pK9HlDIHyHyakeYaYnSAwd8bow==} engines: {node: '>=12'} + dev: false /dunder-proto@1.0.1: resolution: {integrity: sha512-KIN/nDJBQRcXw0MLVhZE9iQHmG68qAVIBg9CqmUYjmQIhgij9U5MFvrqkUL5FbtyyzZuOeOt0zdeRe4UY7ct+A==} @@ -4281,39 +4043,6 @@ packages: '@esbuild/win32-x64': 0.21.5 dev: true - /esbuild@0.25.5: - resolution: {integrity: sha512-P8OtKZRv/5J5hhz0cUAdu/cLuPIKXpQl1R9pZtvmHWQvrAUVd0UNIPT4IB4W3rNOqVO0rlqHmCIbSwxh/c9yUQ==} - engines: {node: '>=18'} - hasBin: true - requiresBuild: true - optionalDependencies: - '@esbuild/aix-ppc64': 0.25.5 - '@esbuild/android-arm': 0.25.5 - '@esbuild/android-arm64': 0.25.5 - '@esbuild/android-x64': 0.25.5 - '@esbuild/darwin-arm64': 0.25.5 - '@esbuild/darwin-x64': 0.25.5 - '@esbuild/freebsd-arm64': 0.25.5 - '@esbuild/freebsd-x64': 0.25.5 - '@esbuild/linux-arm': 0.25.5 - '@esbuild/linux-arm64': 0.25.5 - '@esbuild/linux-ia32': 0.25.5 - '@esbuild/linux-loong64': 0.25.5 - '@esbuild/linux-mips64el': 0.25.5 - '@esbuild/linux-ppc64': 0.25.5 - '@esbuild/linux-riscv64': 0.25.5 - '@esbuild/linux-s390x': 0.25.5 - '@esbuild/linux-x64': 0.25.5 - '@esbuild/netbsd-arm64': 0.25.5 - '@esbuild/netbsd-x64': 0.25.5 - '@esbuild/openbsd-arm64': 0.25.5 - '@esbuild/openbsd-x64': 0.25.5 - '@esbuild/sunos-x64': 0.25.5 - '@esbuild/win32-arm64': 0.25.5 - '@esbuild/win32-ia32': 0.25.5 - '@esbuild/win32-x64': 0.25.5 - dev: true - /escalade@3.2.0: resolution: {integrity: sha512-WUj2qlxaQtO4g6Pq5c29GTcWGDyd8itL8zTlipgECz3JesAiiOKotd8JU6otB3PACgG6xkJUyVhboMS+bje/jA==} engines: {node: '>=6'} @@ -4870,12 +4599,6 @@ packages: engines: {node: '>=10'} dev: true - /get-tsconfig@4.10.1: - resolution: {integrity: sha512-auHyJ4AgMz7vgS8Hp3N6HXSmlMdUyhSUrfBF16w153rxtLIEOE+HGqaBppczZvnHLqQJfiHotCYpNhl0lUROFQ==} - dependencies: - resolve-pkg-maps: 1.0.0 - dev: true - /glob-parent@5.1.2: resolution: {integrity: sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==} engines: {node: '>= 6'} @@ -6171,6 +5894,7 @@ packages: /minimist@1.2.8: resolution: {integrity: sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA==} + dev: false /minipass@7.1.2: resolution: {integrity: sha512-qOOzS1cBTWYF4BH8fVePDBOO9iptMnGUEZwNc/cMWnTV2nVLZ7VoNWEPHkYczZA0pdoA7dl6e7FL659nX9S2aw==} @@ -6904,10 +6628,6 @@ packages: engines: {node: '>=8'} dev: true - /resolve-pkg-maps@1.0.0: - resolution: {integrity: sha512-seS2Tj26TBVOC2NIc2rOe2y2ZO7efxITtLZcGSOnHHNOQ7CkiUBfw0Iw2ck6xkIhPwLhKNLS8BO+hEpngQlqzw==} - dev: true - /resolve.exports@2.0.3: resolution: {integrity: sha512-OcXjMsGdhL4XnbShKpAcSqPMzQoYkYyhbEaeSko47MjRP9NfEQMhZkXL1DoFlt9LWQn4YttrdnV6X2OiyzBi+A==} engines: {node: '>=10'} @@ -7412,17 +7132,6 @@ packages: /tslib@2.8.1: resolution: {integrity: sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==} - /tsx@4.20.3: - resolution: {integrity: sha512-qjbnuR9Tr+FJOMBqJCW5ehvIo/buZq7vH7qD7JziU98h6l3qGy0a/yPFjwO+y0/T7GFpNgNAvEcPPVfyT8rrPQ==} - engines: {node: '>=18.0.0'} - hasBin: true - dependencies: - esbuild: 0.25.5 - get-tsconfig: 4.10.1 - optionalDependencies: - fsevents: 2.3.3 - dev: true - /type-check@0.4.0: resolution: {integrity: sha512-XleUoc9uwGXqjWwXaUTZAmzMcFZ5858QA2vvx1Ur5xIcixXIP+8LnFDgRplU30us6teqdlskFfu+ae4K79Ooew==} engines: {node: '>= 0.8.0'} From a0d1a24bd04cd51f2f07fbda15bab3848689bc30 Mon Sep 17 00:00:00 2001 From: Your Name Date: Tue, 1 Jul 2025 00:37:53 +0500 Subject: [PATCH 2/3] netlify --- netlify.toml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 netlify.toml diff --git a/netlify.toml b/netlify.toml new file mode 100644 index 0000000..0b59c17 --- /dev/null +++ b/netlify.toml @@ -0,0 +1,19 @@ +# Netlify configuration file +[build] + # Directory with the built files (relative to root) + publish = "apps/web-frontend/dist" + + # Build command to create the web frontend + command = "pnpm install --no-frozen-lockfile && pnpm build:core && pnpm build --filter=web-frontend" + +# Redirects for SPA routing +[[redirects]] + from = "/*" + to = "/index.html" + status = 200 + +# Environment variable configuration +[build.environment] + NODE_VERSION = "18" + NPM_FLAGS = "--version" + PNPM_VERSION = "8.15.0" \ No newline at end of file From 6181f5ee420eac52db76ec625c34b8f4826f4cc5 Mon Sep 17 00:00:00 2001 From: Your Name Date: Thu, 10 Jul 2025 19:37:47 +0500 Subject: [PATCH 3/3] add some advance feature with changing the elevenlab model --- .bolt/config.json | 3 - .bolt/prompt | 5 - README.md | 2 - apps/backend-api/package.json | 1 + .../web-frontend/src/components/AgentCard.tsx | 11 +- .../src/components/AgentContact.tsx | 56 +- apps/web-frontend/src/components/AgentFAQ.tsx | 44 +- .../src/components/DashboardPreview.tsx | 15 +- .../src/components/demo/AgentFlowchart.tsx | 111 +-- .../src/components/demo/SoundWaves.tsx | 54 ++ .../src/components/demo/VoiceChat.tsx | 696 +++++++++++++++--- .../src/components/demo/VoiceChat_backup.tsx | 0 .../src/components/landing/Flow.tsx | 25 +- .../src/components/landing/Footer.tsx | 1 - .../src/components/landing/Hero.tsx | 8 +- .../src/components/support/EmotionalOS.tsx | 72 +- apps/web-frontend/src/index.css | 36 + apps/web-frontend/src/pages/AboutPage.tsx | 56 +- .../src/pages/AgentEditorPage.tsx | 87 ++- .../src/pages/ConversationPage.tsx | 53 +- apps/web-frontend/src/pages/DashboardPage.tsx | 285 +++---- apps/web-frontend/src/pages/DocsPage.tsx | 6 +- apps/web-frontend/src/pages/HomePage.tsx | 63 +- apps/web-frontend/src/pages/SettingsPage.tsx | 90 ++- apps/web-frontend/src/pages/SponsorsPage.tsx | 25 +- .../src/pages/SubscriptionPage.tsx | 46 +- apps/web-frontend/src/stores/languageStore.ts | 2 - pnpm-lock.yaml | 282 +++++++ 28 files changed, 1570 insertions(+), 565 deletions(-) delete mode 100644 .bolt/config.json delete mode 100644 .bolt/prompt create mode 100644 apps/web-frontend/src/components/demo/SoundWaves.tsx create mode 100644 apps/web-frontend/src/components/demo/VoiceChat_backup.tsx diff --git a/.bolt/config.json b/.bolt/config.json deleted file mode 100644 index 6b6787d..0000000 --- a/.bolt/config.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "template": "bolt-vite-react-ts" -} diff --git a/.bolt/prompt b/.bolt/prompt deleted file mode 100644 index ce91b43..0000000 --- a/.bolt/prompt +++ /dev/null @@ -1,5 +0,0 @@ -For all designs I ask you to make, have them be beautiful, not cookie cutter. Make webpages that are fully featured and worthy for production. - -By default, this template supports JSX syntax with Tailwind CSS classes, React hooks, and Lucide React for icons. Do not install other packages for UI themes, icons, etc unless absolutely necessary or I request them. - -Use icons from lucide-react for logos. diff --git a/README.md b/README.md index c1378f6..8714d0d 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,6 @@ > Professional multilingual AI-first platform with advanced LangChain-based agent orchestration, emotional intelligence, and real-time customer support de-escalation. -[![Built with bolt.new](https://img.shields.io/badge/Built%20with-bolt.new-blue?style=for-the-badge)](https://bolt.new) [![Powered by Supabase](https://img.shields.io/badge/Powered%20by-Supabase-green?style=for-the-badge)](https://supabase.com) [![LangChain Integration](https://img.shields.io/badge/LangChain-Orchestration-orange?style=for-the-badge)](https://langchain.com) [![Hosted on Netlify](https://img.shields.io/badge/Hosted%20on-Netlify-00C7B7?style=for-the-badge)](https://netlify.com) @@ -375,7 +374,6 @@ We welcome contributions to improve the LangChain AI Agent Orchestration system! We're grateful to our amazing sponsors who make this LangChain-powered platform possible: ### 🥇 **Platinum Sponsors** -- **[bolt.new](https://bolt.new)** - AI-powered development platform - **[Supabase](https://supabase.com)** - Backend infrastructure and conversation memory - **[ElevenLabs](https://elevenlabs.io)** - Voice AI and emotion detection - **[Tavus](https://tavus.io)** - AI avatar generation and video synthesis diff --git a/apps/backend-api/package.json b/apps/backend-api/package.json index 4f4960c..7664f61 100644 --- a/apps/backend-api/package.json +++ b/apps/backend-api/package.json @@ -42,6 +42,7 @@ "@types/node": "^20.8.0", "eslint": "^8.57.0", "jest": "^29.7.0", + "tsx": "^4.20.3", "typescript": "^5.2.2" } } \ No newline at end of file diff --git a/apps/web-frontend/src/components/AgentCard.tsx b/apps/web-frontend/src/components/AgentCard.tsx index bf5a95e..1321493 100644 --- a/apps/web-frontend/src/components/AgentCard.tsx +++ b/apps/web-frontend/src/components/AgentCard.tsx @@ -22,21 +22,18 @@ const AgentCard: React.FC = ({ initial={{ opacity: 0, y: 20 }} animate={{ opacity: 1, y: 0 }} transition={{ duration: 0.5 }} - className="relative p-6 bg-white/5 backdrop-blur-md border border-white/10 rounded-xl overflow-hidden group hover:border-white/20 transition-all duration-300" + className="relative dashboard-container p-6 group" > - {/* Background Gradient */} -
- {/* Content */}
{/* Icon */} -
+
{/* Title & Description */} -

{name}

-

{description}

+

{name}

+

{description}

{/* Capabilities */}
diff --git a/apps/web-frontend/src/components/AgentContact.tsx b/apps/web-frontend/src/components/AgentContact.tsx index 3e182dd..c1a9fd3 100644 --- a/apps/web-frontend/src/components/AgentContact.tsx +++ b/apps/web-frontend/src/components/AgentContact.tsx @@ -1,6 +1,6 @@ -import React, { useState } from 'react'; +import { useState } from 'react'; import { motion } from 'framer-motion'; -import { Send } from 'lucide-react'; +import { Send, User, Mail, Building, MessageSquare } from 'lucide-react'; const AgentContact = () => { const [formData, setFormData] = useState({ @@ -25,18 +25,27 @@ const AgentContact = () => { }; return ( -
- {/* Background Gradient */} -
+
+ {/* Distributed ambient lighting */} +
+
+
- {/* Content */}
-

Get in Touch

+
+
+ +
+

Get in Touch

+
{/* Name */}
-