vantuz 3.4.1 → 3.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (70) hide show
  1. package/LICENSE +45 -45
  2. package/admin-keygen.js +51 -0
  3. package/cli.js +685 -585
  4. package/config.js +733 -733
  5. package/core/agent-loop.js +190 -190
  6. package/core/ai-provider.js +298 -261
  7. package/core/automation.js +523 -523
  8. package/core/brand-analyst.js +101 -0
  9. package/core/channels.js +167 -167
  10. package/core/dashboard.js +230 -230
  11. package/core/database.js +135 -36
  12. package/core/eia-monitor.js +3 -1
  13. package/core/engine.js +648 -636
  14. package/core/gateway.js +447 -447
  15. package/core/learning.js +214 -214
  16. package/core/license.js +113 -0
  17. package/core/marketplace-adapter.js +168 -168
  18. package/core/memory.js +190 -190
  19. package/core/migrations/001-initial-schema.sql +1 -1
  20. package/core/queue.js +120 -120
  21. package/core/self-healer.js +314 -314
  22. package/core/unified-product.js +214 -214
  23. package/core/vision-service.js +113 -113
  24. package/index.js +217 -174
  25. package/modules/crm/sentiment-crm.js +231 -231
  26. package/modules/healer/listing-healer.js +201 -201
  27. package/modules/oracle/predictor.js +214 -214
  28. package/modules/researcher/agent.js +169 -169
  29. package/modules/team/agents/base.js +92 -92
  30. package/modules/team/agents/dev.js +33 -33
  31. package/modules/team/agents/josh.js +40 -40
  32. package/modules/team/agents/marketing.js +33 -33
  33. package/modules/team/agents/milo.js +36 -36
  34. package/modules/team/index.js +78 -78
  35. package/modules/team/shared-memory.js +87 -87
  36. package/modules/war-room/competitor-tracker.js +250 -250
  37. package/modules/war-room/pricing-engine.js +308 -308
  38. package/nodes/warehouse.js +238 -238
  39. package/onboard.js +1 -1
  40. package/package.json +7 -6
  41. package/platforms/pttavm.js +14 -14
  42. package/plugins/vantuz/index.js +528 -528
  43. package/plugins/vantuz/memory/hippocampus.js +465 -464
  44. package/plugins/vantuz/package.json +20 -20
  45. package/plugins/vantuz/platforms/_template.js +118 -118
  46. package/plugins/vantuz/platforms/amazon.js +236 -236
  47. package/plugins/vantuz/platforms/ciceksepeti.js +166 -166
  48. package/plugins/vantuz/platforms/hepsiburada.js +180 -180
  49. package/plugins/vantuz/platforms/index.js +165 -165
  50. package/plugins/vantuz/platforms/n11.js +229 -229
  51. package/plugins/vantuz/platforms/pazarama.js +154 -154
  52. package/plugins/vantuz/platforms/pttavm.js +127 -127
  53. package/plugins/vantuz/platforms/trendyol.js +326 -326
  54. package/plugins/vantuz/services/alerts.js +253 -253
  55. package/plugins/vantuz/services/license.js +34 -34
  56. package/plugins/vantuz/services/scheduler.js +232 -232
  57. package/plugins/vantuz/tools/analytics.js +152 -152
  58. package/plugins/vantuz/tools/crossborder.js +187 -187
  59. package/plugins/vantuz/tools/nl-parser.js +211 -211
  60. package/plugins/vantuz/tools/product.js +110 -110
  61. package/plugins/vantuz/tools/quick-report.js +175 -175
  62. package/plugins/vantuz/tools/repricer.js +314 -314
  63. package/plugins/vantuz/tools/sentiment.js +115 -115
  64. package/plugins/vantuz/tools/vision.js +257 -257
  65. package/private.pem +28 -0
  66. package/public.pem +9 -0
  67. package/server/app.js +260 -260
  68. package/server/public/index.html +514 -514
  69. package/start.bat +33 -33
  70. package/vantuz.sqlite +0 -0
package/LICENSE CHANGED
@@ -1,45 +1,45 @@
1
- VANTUZ AI SOFTWARE LICENSE AGREEMENT
2
-
3
- Copyright (c) 2026 Nuri Can Avşar. All rights reserved.
4
-
5
- This software and associated documentation files (the "Software") are licensed,
6
- not sold. By installing, copying, or otherwise using the Software, you agree to
7
- be bound by the terms of this agreement.
8
-
9
- 1. LICENSE GRANT
10
- Subject to the terms of this agreement and payment of applicable license fees,
11
- Licensor grants you a limited, non-exclusive, non-transferable license to use
12
- the Software for your internal business purposes.
13
-
14
- 2. LICENSE KEY
15
- A valid license key is required to use the Software. Each license key:
16
- - Is valid for ONE (1) installation only
17
- - Activates upon first use
18
- - Expires 365 days after activation
19
- - Cannot be shared, transferred, or resold
20
-
21
- 3. RESTRICTIONS
22
- You may NOT:
23
- - Copy, modify, or distribute the Software
24
- - Reverse engineer, decompile, or disassemble the Software
25
- - Remove or alter any proprietary notices
26
- - Share your license key with others
27
- - Use the Software for illegal purposes
28
-
29
- 4. INTELLECTUAL PROPERTY
30
- The Software and all copies thereof are proprietary to Licensor and title
31
- thereto remains exclusively with Licensor.
32
-
33
- 5. TERMINATION
34
- This license is effective until terminated. It will terminate automatically
35
- if you fail to comply with any term of this agreement.
36
-
37
- 6. WARRANTY DISCLAIMER
38
- THE SOFTWARE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND.
39
-
40
- 7. LIMITATION OF LIABILITY
41
- IN NO EVENT SHALL LICENSOR BE LIABLE FOR ANY DAMAGES ARISING FROM USE
42
- OF THE SOFTWARE.
43
-
44
- For licensing inquiries: nuricanavsar2000@gmail.com
45
- Website: https://nuricanavsar.com
1
+ VANTUZ AI SOFTWARE LICENSE AGREEMENT
2
+
3
+ Copyright (c) 2026 Nuri Can Avşar. All rights reserved.
4
+
5
+ This software and associated documentation files (the "Software") are licensed,
6
+ not sold. By installing, copying, or otherwise using the Software, you agree to
7
+ be bound by the terms of this agreement.
8
+
9
+ 1. LICENSE GRANT
10
+ Subject to the terms of this agreement and payment of applicable license fees,
11
+ Licensor grants you a limited, non-exclusive, non-transferable license to use
12
+ the Software for your internal business purposes.
13
+
14
+ 2. LICENSE KEY
15
+ A valid license key is required to use the Software. Each license key:
16
+ - Is valid for ONE (1) installation only
17
+ - Activates upon first use
18
+ - Expires 365 days after activation
19
+ - Cannot be shared, transferred, or resold
20
+
21
+ 3. RESTRICTIONS
22
+ You may NOT:
23
+ - Copy, modify, or distribute the Software
24
+ - Reverse engineer, decompile, or disassemble the Software
25
+ - Remove or alter any proprietary notices
26
+ - Share your license key with others
27
+ - Use the Software for illegal purposes
28
+
29
+ 4. INTELLECTUAL PROPERTY
30
+ The Software and all copies thereof are proprietary to Licensor and title
31
+ thereto remains exclusively with Licensor.
32
+
33
+ 5. TERMINATION
34
+ This license is effective until terminated. It will terminate automatically
35
+ if you fail to comply with any term of this agreement.
36
+
37
+ 6. WARRANTY DISCLAIMER
38
+ THE SOFTWARE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND.
39
+
40
+ 7. LIMITATION OF LIABILITY
41
+ IN NO EVENT SHALL LICENSOR BE LIABLE FOR ANY DAMAGES ARISING FROM USE
42
+ OF THE SOFTWARE.
43
+
44
+ For licensing inquiries: nuricanavsar2000@gmail.com
45
+ Website: https://nuricanavsar.com
@@ -0,0 +1,51 @@
1
+
2
+ import crypto from 'crypto';
3
+ import fs from 'fs';
4
+ import readline from 'readline';
5
+
6
+ // PRIVATE KEY (Bunu sadece sen göreceksin)
7
+ const PRIVATE_KEY = fs.readFileSync('private.pem', 'utf-8');
8
+
9
+ const rl = readline.createInterface({
10
+ input: process.stdin,
11
+ output: process.stdout
12
+ });
13
+
14
+ console.log('\n🔐 VANTUZ LİSANS İMZALAYICI (ADMIN)');
15
+ console.log('====================================');
16
+
17
+ rl.question('Müşteri Adı/ID: ', (user) => {
18
+ rl.question('Kaç Günlük (varsayılan 365): ', (days) => {
19
+ const duration = parseInt(days) || 365;
20
+ const now = new Date();
21
+ const expires = new Date(now.setDate(now.getDate() + duration)).toISOString().split('T')[0];
22
+
23
+ // Payload (Lisans içeriği)
24
+ const payload = {
25
+ user: user,
26
+ type: 'ENTERPRISE',
27
+ expires: expires,
28
+ features: ['all']
29
+ };
30
+
31
+ const payloadStr = JSON.stringify(payload);
32
+ const payloadB64 = Buffer.from(payloadStr).toString('base64');
33
+
34
+ // İmzala (Sign)
35
+ const sign = crypto.createSign('SHA256');
36
+ sign.update(payloadB64);
37
+ sign.end();
38
+ const signature = sign.sign(PRIVATE_KEY, 'base64');
39
+
40
+ // Lisans Anahtarı = PAYLOAD.IMZA
41
+ const licenseKey = `${payloadB64}.${signature}`;
42
+
43
+ console.log(`\n📦 Payload: ${payloadStr}`);
44
+ console.log(`📝 İmza: ${signature.substring(0, 20)}...`);
45
+ console.log(`\n🔑 MÜŞTERİYE VERİLECEK LİSANS ANAHTARI:\n`);
46
+ console.log(`\x1b[32m${licenseKey}\x1b[0m`);
47
+ console.log('\n(Bunu kopyalayıp müşteriye ilet)');
48
+
49
+ rl.close();
50
+ });
51
+ });