vantuz 3.5.18 → 4.0.3

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 (88) hide show
  1. package/cli.js +9 -9
  2. package/config.js +6 -6
  3. package/core/agent-loop.js +6 -6
  4. package/core/agent.js +6 -6
  5. package/core/ai-copilot.js +461 -0
  6. package/core/ai-provider.js +60 -10
  7. package/core/automation.js +8 -8
  8. package/core/cache-manager.js +232 -0
  9. package/core/channels.js +8 -8
  10. package/core/dashboard.js +5 -5
  11. package/core/database-manager.js +331 -0
  12. package/core/database.js +124 -83
  13. package/core/eia-brain.js +2 -2
  14. package/core/eia-monitor.js +7 -7
  15. package/core/engine.js +24 -24
  16. package/core/error-handler.js +203 -0
  17. package/core/gateway.js +9 -9
  18. package/core/learning.js +7 -7
  19. package/core/license-manager.js +1 -1
  20. package/core/license.js +6 -6
  21. package/core/logger.js +228 -0
  22. package/core/marketplace-adapter.js +5 -5
  23. package/core/memory.js +6 -6
  24. package/core/multi-agent.js +180 -0
  25. package/core/openclaw-bridge.js +6 -6
  26. package/core/queue.js +3 -3
  27. package/core/scheduler.js +6 -6
  28. package/core/scrapers/Scraper.js +1 -1
  29. package/core/scrapers/TrendyolScraper.js +1 -1
  30. package/core/self-healer.js +8 -6
  31. package/core/unified-product.js +8 -8
  32. package/core/vector-db.js +5 -5
  33. package/core/vision-service.js +5 -5
  34. package/desktop/index.html +2804 -0
  35. package/desktop/main.js +97 -0
  36. package/desktop/preload.js +30 -0
  37. package/dev.sh +5 -0
  38. package/index.js +484 -116
  39. package/modules/crm/sentiment-crm.js +4 -4
  40. package/modules/healer/listing-healer.js +2 -2
  41. package/modules/oracle/predictor.js +5 -5
  42. package/modules/researcher/agent.js +4 -4
  43. package/modules/war-room/competitor-tracker.js +5 -5
  44. package/modules/war-room/pricing-engine.js +5 -5
  45. package/nodes/warehouse.js +5 -5
  46. package/onboard.js +1 -1
  47. package/package.json +11 -3
  48. package/pkg.json +26 -0
  49. package/plugins/vantuz/index.js +16 -17
  50. package/plugins/vantuz/memory/hippocampus.js +3 -3
  51. package/plugins/vantuz/platforms/_request.js +1 -1
  52. package/plugins/vantuz/platforms/_template.js +2 -2
  53. package/plugins/vantuz/platforms/amazon.js +3 -3
  54. package/plugins/vantuz/platforms/ciceksepeti.js +2 -2
  55. package/plugins/vantuz/platforms/hepsiburada.js +2 -2
  56. package/plugins/vantuz/platforms/index.js +9 -24
  57. package/plugins/vantuz/platforms/n11.js +3 -3
  58. package/plugins/vantuz/platforms/pazarama.js +2 -2
  59. package/plugins/vantuz/platforms/pttavm.js +2 -2
  60. package/plugins/vantuz/platforms/trendyol.js +3 -3
  61. package/plugins/vantuz/services/alerts.js +1 -1
  62. package/plugins/vantuz/services/scheduler.js +1 -1
  63. package/plugins/vantuz/tools/nl-parser.js +1 -1
  64. package/plugins/vantuz/tools/quick-report.js +2 -2
  65. package/plugins/vantuz/tools/repricer.js +1 -1
  66. package/plugins/vantuz/tools/vision.js +3 -3
  67. package/server/app.js +8 -8
  68. package/DOCS_TR.md +0 -80
  69. package/modules/team/agents/base.js +0 -92
  70. package/modules/team/agents/dev.js +0 -33
  71. package/modules/team/agents/josh.js +0 -40
  72. package/modules/team/agents/marketing.js +0 -33
  73. package/modules/team/agents/milo.js +0 -36
  74. package/modules/team/index.js +0 -78
  75. package/modules/team/shared-memory.js +0 -87
  76. package/n11docs.md +0 -1680
  77. package/openclawdocs.md +0 -3
  78. package/vantuz.sqlite +0 -0
  79. package/workspace/AGENTS.md +0 -73
  80. package/workspace/BRAND.md +0 -29
  81. package/workspace/SOUL.md +0 -72
  82. package/workspace/team/DECISIONS.md +0 -3
  83. package/workspace/team/GOALS.md +0 -3
  84. package/workspace/team/PROJECT_STATUS.md +0 -3
  85. package/workspace/team/agents/dev/SOUL.md +0 -12
  86. package/workspace/team/agents/josh/SOUL.md +0 -12
  87. package/workspace/team/agents/marketing/SOUL.md +0 -12
  88. package/workspace/team/agents/milo/SOUL.md +0 -12
@@ -2,9 +2,9 @@
2
2
  // Sentiment CRM for Vantuz OS V2
3
3
  // Analyzes reviews/questions, drafts brand-persona replies, escalates angry customers.
4
4
 
5
- import fs from 'fs';
6
- import path from 'path';
7
- import { log } from '../../core/ai-provider.js';
5
+ const fs = require('fs');;
6
+ const path = require('path');;
7
+ const { log } = require('../../core/ai-provider.js');;
8
8
 
9
9
  // ═══════════════════════════════════════════════════════════════════════════
10
10
  // SENTIMENT ANALYSIS (Local / AI-Enhanced)
@@ -228,4 +228,4 @@ export function getSentimentCRM() {
228
228
  return crmInstance;
229
229
  }
230
230
 
231
- export default SentimentCRM;
231
+ module.exports = SentimentCRM;
@@ -2,7 +2,7 @@
2
2
  // Self-Healing Listings for Vantuz OS V2
3
3
  // Audits product listings and optimizes underperforming ones.
4
4
 
5
- import { log } from '../../core/ai-provider.js';
5
+ const { log } = require('../../core/ai-provider.js');;
6
6
 
7
7
  // ═══════════════════════════════════════════════════════════════════════════
8
8
  // LISTING HEALTH CHECKS
@@ -198,4 +198,4 @@ export function getListingHealer() {
198
198
  return healerInstance;
199
199
  }
200
200
 
201
- export default ListingHealer;
201
+ module.exports = ListingHealer;
@@ -2,10 +2,10 @@
2
2
  // Oracle — Predictive Analytics for Vantuz OS V2
3
3
  // Predicts stockout dates and generates reorder alerts.
4
4
 
5
- import fs from 'fs';
6
- import path from 'path';
7
- import os from 'os';
8
- import { log } from '../../core/ai-provider.js';
5
+ const fs = require('fs');;
6
+ const path = require('path');;
7
+ const os = require('os');;
8
+ const { log } = require('../../core/ai-provider.js');;
9
9
 
10
10
  const SALES_HISTORY_FILE = path.join(os.homedir(), '.vantuz', 'memory', 'sales-velocity.json');
11
11
 
@@ -211,4 +211,4 @@ export function getOracle() {
211
211
  return oracleInstance;
212
212
  }
213
213
 
214
- export default Oracle;
214
+ module.exports = Oracle;
@@ -2,9 +2,9 @@
2
2
  // Research Agent for Vantuz OS V2
3
3
  // Performs web research on demand, summarizes findings, stores in memory.
4
4
 
5
- import axios from 'axios';
6
- import { log } from '../../core/ai-provider.js';
7
- import { getMemory } from '../../core/memory.js';
5
+ const axios = require('axios');;
6
+ const { log } = require('../../core/ai-provider.js');;
7
+ const { getMemory } = require('../../core/memory.js');;
8
8
 
9
9
  // ═══════════════════════════════════════════════════════════════════════════
10
10
  // WEB SEARCH PROVIDERS
@@ -166,4 +166,4 @@ export function getResearchAgent(config = {}) {
166
166
  return researcherInstance;
167
167
  }
168
168
 
169
- export default ResearchAgent;
169
+ module.exports = ResearchAgent;
@@ -2,10 +2,10 @@
2
2
  // Competitor Price Tracker for Vantuz OS V2
3
3
  // Monitors rival prices with POLITENESS MODE to avoid IP bans.
4
4
 
5
- import fs from 'fs';
6
- import path from 'path';
7
- import os from 'os';
8
- import { log } from '../../core/ai-provider.js';
5
+ const fs = require('fs');;
6
+ const path = require('path');;
7
+ const os = require('os');;
8
+ const { log } = require('../../core/ai-provider.js');;
9
9
 
10
10
  const HISTORY_FILE = path.join(os.homedir(), '.vantuz', 'memory', 'competitor-history.json');
11
11
  const MAX_HISTORY = 1000;
@@ -247,4 +247,4 @@ export function getCompetitorTracker() {
247
247
  return trackerInstance;
248
248
  }
249
249
 
250
- export default CompetitorTracker;
250
+ module.exports = CompetitorTracker;
@@ -2,10 +2,10 @@
2
2
  // Dynamic Pricing Engine for Vantuz OS V2
3
3
  // Reads rules from BRAND.md, applies pricing strategies, includes KILL SWITCH.
4
4
 
5
- import fs from 'fs';
6
- import path from 'path';
7
- import { log } from '../../core/ai-provider.js';
8
- import { getCriticalQueue } from '../../core/queue.js';
5
+ const fs = require('fs');;
6
+ const path = require('path');;
7
+ const { log } = require('../../core/ai-provider.js');;
8
+ const { getCriticalQueue } = require('../../core/queue.js');;
9
9
 
10
10
  // ═══════════════════════════════════════════════════════════════════════════
11
11
  // BRAND RULES PARSER
@@ -305,4 +305,4 @@ export function getPricingEngine() {
305
305
  return engineInstance;
306
306
  }
307
307
 
308
- export default PricingEngine;
308
+ module.exports = PricingEngine;
@@ -3,10 +3,10 @@
3
3
  // Connects to Gateway via WebSocket as a "node" role.
4
4
  // Provides: camera.snap, barcode.scan, voice.listen commands.
5
5
 
6
- import WebSocket from 'ws';
7
- import fs from 'fs';
8
- import path from 'path';
9
- import { log } from '../core/ai-provider.js';
6
+ const WebSocket = require('ws');;
7
+ const fs = require('fs');;
8
+ const path = require('path');;
9
+ const { log } = require('../core/ai-provider.js');;
10
10
 
11
11
  const DEFAULT_GATEWAY_URL = 'ws://localhost:18789';
12
12
 
@@ -235,4 +235,4 @@ class WarehouseNode {
235
235
  }
236
236
  }
237
237
 
238
- export default WarehouseNode;
238
+ module.exports = WarehouseNode;
package/onboard.js CHANGED
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env node
2
2
 
3
- import { Configurator } from './config.js';
3
+ const { Configurator } = require('./config.js');;
4
4
 
5
5
  try {
6
6
  const configurator = new Configurator();
package/package.json CHANGED
@@ -1,14 +1,19 @@
1
1
  {
2
2
  "name": "vantuz",
3
- "version": "3.5.18",
3
+ "version": "4.0.3",
4
4
  "description": "Yapay Zeka Destekli Yeni Nesil E-Ticaret Yönetim Platformu (CLI)",
5
5
  "main": "index.js",
6
+ "type": "commonjs",
6
7
  "bin": {
7
8
  "vantuz": "index.js"
8
9
  },
9
10
  "scripts": {
10
11
  "start": "node index.js",
11
- "test": "echo \"Error: no test specified\" && exit 1"
12
+ "dev": "NODE_ENV=development NODE_OPTIONS=\"--no-sandbox\" electron desktop/main.js",
13
+ "build": "pkg . --targets node18-win --output dist/vantuz.exe",
14
+ "build-all": "pkg . --targets node18-win,node18-linux,node18-macos --output dist/",
15
+ "build-desktop": "electron-builder --win --x64",
16
+ "build-desktop-all": "electron-builder --win --linux --macos"
12
17
  },
13
18
  "keywords": [
14
19
  "ecommerce",
@@ -35,7 +40,7 @@
35
40
  "ora": "^5.4.1",
36
41
  "pkg": "^5.8.1",
37
42
  "playwright": "^1.58.2",
38
- "better-sqlite3": "^11.8.1",
43
+ "sql.js": "^1.14.0",
39
44
  "table": "^6.8.0",
40
45
  "xml2js": "^0.6.2"
41
46
  },
@@ -46,5 +51,8 @@
46
51
  ],
47
52
  "engines": {
48
53
  "node": ">=16.0.0"
54
+ },
55
+ "devDependencies": {
56
+ "electron": "^40.4.1"
49
57
  }
50
58
  }
package/pkg.json ADDED
@@ -0,0 +1,26 @@
1
+ {
2
+ "name": "vantuz",
3
+ "version": "4.0.3",
4
+ "description": "Yapay Zeka Destekli E-Ticaret Yönetim Platformu",
5
+ "main": "index.js",
6
+ "scripts": {
7
+ "build": "pkg . --targets node18-win --output dist/vantuz.exe",
8
+ "build-all": "pkg . --targets node18-win,node18-linux,node18-macos --output dist/"
9
+ },
10
+ "pkg": {
11
+ "assets": [
12
+ "core/**/*",
13
+ "platforms/**/*",
14
+ "plugins/**/*",
15
+ "modules/**/*",
16
+ "nodes/**/*",
17
+ "workspace/**/*",
18
+ "*.md"
19
+ ],
20
+ "ignore": [
21
+ "node_modules/**",
22
+ "dist/**",
23
+ "workspace/team/**"
24
+ ]
25
+ }
26
+ }
@@ -10,37 +10,36 @@
10
10
  * - Hippocampus hafıza sistemi
11
11
  */
12
12
 
13
- import { Hippocampus } from './memory/hippocampus.js';
14
- import { LicenseManager } from './services/license.js';
15
- import SchedulerService from './services/scheduler.js';
16
- import AlertService from './services/alerts.js';
13
+ const { Hippocampus } = require('./memory/hippocampus.js');;
14
+ const { LicenseManager } = require('./services/license.js');;
15
+ const SchedulerService = require('./services/scheduler.js');;
16
+ const AlertService = require('./services/alerts.js');;
17
17
 
18
18
  // Tools
19
- import { repricerTool } from './tools/repricer.js';
20
- import { visionTool } from './tools/vision.js';
21
- import { sentimentTool } from './tools/sentiment.js';
22
- import { crossborderTool } from './tools/crossborder.js';
23
- import { productTool } from './tools/product.js';
24
- import { analyticsTool } from './tools/analytics.js';
25
- import { quickReportTool } from './tools/quick-report.js';
26
- import NLParser from './tools/nl-parser.js';
19
+ const { repricerTool } = require('./tools/repricer.js');;
20
+ const { visionTool } = require('./tools/vision.js');;
21
+ const { sentimentTool } = require('./tools/sentiment.js');;
22
+ const { crossborderTool } = require('./tools/crossborder.js');;
23
+ const { productTool } = require('./tools/product.js');;
24
+ const { analyticsTool } = require('./tools/analytics.js');;
25
+ const { quickReportTool } = require('./tools/quick-report.js');;
26
+ const NLParser = require('./tools/nl-parser.js');;
27
27
 
28
28
  // Platform APIs
29
- import platformHub, {
30
- trendyolApi,
29
+ const platformHub = require('./platforms/index.js');
30
+ const { trendyolApi,
31
31
  hepsiburadaApi,
32
32
  n11Api,
33
33
  amazonApi,
34
34
  ciceksepetiApi,
35
35
  pttavmApi,
36
- pazaramaApi
37
- } from './platforms/index.js';
36
+ pazaramaApi } = require('./platforms/index.js');;
38
37
 
39
38
 
40
39
  const PLUGIN_ID = 'vantuz';
41
40
  const PLUGIN_VERSION = '3.0.0';
42
41
 
43
- export default function (api) {
42
+ module.exports = function (api) {
44
43
  const logger = api.logger;
45
44
  const config = api.config;
46
45
 
@@ -12,9 +12,9 @@
12
12
  * - Önem bazlı unutma mekanizması
13
13
  */
14
14
 
15
- import { Sequelize, DataTypes, Op } from 'sequelize';
16
- import path from 'path';
17
- import crypto from 'crypto';
15
+ const { Sequelize, DataTypes, Op } = require('sequelize');;
16
+ const path = require('path');;
17
+ const crypto = require('crypto');;
18
18
 
19
19
  export class Hippocampus {
20
20
  constructor(api) {
@@ -1,5 +1,5 @@
1
1
  // plugins/vantuz/platforms/_request.js
2
- import { setTimeout as sleep } from 'timers/promises';
2
+ const { setTimeout as sleep } = require('timers/promises');;
3
3
 
4
4
  export async function requestWithRetry(axiosInstance, config, options = {}) {
5
5
  const {
@@ -4,10 +4,10 @@
4
4
  * Dosya adı: {platform-adi}.js (örn: n11.js, amazon.js)
5
5
  */
6
6
 
7
- import axios from 'axios';
7
+ const axios = require('axios');;
8
8
 
9
9
  // Gerekirse AI provider log fonksiyonunu import edin
10
- // import { log } from '../../../core/ai-provider.js';
10
+ // const { log } = require('../../../core/ai-provider.js');;
11
11
 
12
12
  export class NewPlatformAPI {
13
13
  /**
@@ -3,9 +3,9 @@
3
3
  * developer-docs.amazon.com/sp-api
4
4
  */
5
5
 
6
- import axios from 'axios';
7
- import crypto from 'crypto';
8
- import { requestWithRetry } from './_request.js';
6
+ const axios = require('axios');;
7
+ const crypto = require('crypto');;
8
+ const { requestWithRetry } = require('./_request.js');;
9
9
 
10
10
  const REGIONS = {
11
11
  eu: {
@@ -3,8 +3,8 @@
3
3
  * bayi.ciceksepeti.com
4
4
  */
5
5
 
6
- import axios from 'axios';
7
- import { requestWithRetry } from './_request.js';
6
+ const axios = require('axios');;
7
+ const { requestWithRetry } = require('./_request.js');;
8
8
 
9
9
  const BASE_URL = 'https://apis.ciceksepeti.com/api/v1';
10
10
 
@@ -3,8 +3,8 @@
3
3
  * developer.hepsiburada.com
4
4
  */
5
5
 
6
- import axios from 'axios';
7
- import { requestWithRetry } from './_request.js';
6
+ const axios = require('axios');;
7
+ const { requestWithRetry } = require('./_request.js');;
8
8
 
9
9
  const BASE_URL = 'https://mpop-sit.hepsiburada.com'; // Production: mpop.hepsiburada.com
10
10
  const LISTING_URL = 'https://listing-external.hepsiburada.com';
@@ -3,13 +3,13 @@
3
3
  * Tüm pazaryeri API'lerini tek noktadan yönet
4
4
  */
5
5
 
6
- import { trendyolApi, TrendyolAPI } from './trendyol.js';
7
- import { hepsiburadaApi, HepsiburadaAPI } from './hepsiburada.js';
8
- import { n11Api, N11API } from './n11.js';
9
- import { amazonApi, AmazonAPI } from './amazon.js';
10
- import { ciceksepetiApi, CiceksepetiAPI } from './ciceksepeti.js';
11
- import { pttavmApi, PttavmAPI } from './pttavm.js';
12
- import { pazaramaApi, PazaramaAPI } from './pazarama.js';
6
+ const { trendyolApi, TrendyolAPI } = require('./trendyol.js');;
7
+ const { hepsiburadaApi, HepsiburadaAPI } = require('./hepsiburada.js');;
8
+ const { n11Api, N11API } = require('./n11.js');;
9
+ const { amazonApi, AmazonAPI } = require('./amazon.js');;
10
+ const { ciceksepetiApi, CiceksepetiAPI } = require('./ciceksepeti.js');;
11
+ const { pttavmApi, PttavmAPI } = require('./pttavm.js');;
12
+ const { pazaramaApi, PazaramaAPI } = require('./pazarama.js');;
13
13
 
14
14
  // Platform aliases
15
15
  const PLATFORM_ALIASES = {
@@ -246,21 +246,6 @@ export const platformHub = {
246
246
  };
247
247
 
248
248
  // Export individual APIs
249
- export {
250
- trendyolApi,
251
- hepsiburadaApi,
252
- n11Api,
253
- amazonApi,
254
- ciceksepetiApi,
255
- pttavmApi,
256
- pazaramaApi,
257
- TrendyolAPI,
258
- HepsiburadaAPI,
259
- N11API,
260
- AmazonAPI,
261
- CiceksepetiAPI,
262
- PttavmAPI,
263
- PazaramaAPI
264
- };
249
+ module.exports = { trendyolApi: trendyolApi, hepsiburadaApi: hepsiburadaApi, n11Api: n11Api, amazonApi: amazonApi, ciceksepetiApi: ciceksepetiApi, pttavmApi: pttavmApi, pazaramaApi: pazaramaApi, TrendyolAPI: TrendyolAPI, HepsiburadaAPI: HepsiburadaAPI, N11API: N11API, AmazonAPI: AmazonAPI, CiceksepetiAPI: CiceksepetiAPI, PttavmAPI: PttavmAPI, PazaramaAPI: PazaramaAPI };
265
250
 
266
- export default platformHub;
251
+ module.exports = platformHub;
@@ -3,9 +3,9 @@
3
3
  * api.n11.com/ws/*.wsdl
4
4
  */
5
5
 
6
- import axios from 'axios';
7
- import { parseStringPromise, Builder } from 'xml2js';
8
- import { requestWithRetry } from './_request.js';
6
+ const axios = require('axios');;
7
+ const { parseStringPromise, Builder } = require('xml2js');;
8
+ const { requestWithRetry } = require('./_request.js');;
9
9
 
10
10
  const WSDL_URLS = {
11
11
  product: 'https://api.n11.com/ws/ProductService.wsdl',
@@ -3,8 +3,8 @@
3
3
  * sellers.pazarama.com
4
4
  */
5
5
 
6
- import axios from 'axios';
7
- import { requestWithRetry } from './_request.js';
6
+ const axios = require('axios');;
7
+ const { requestWithRetry } = require('./_request.js');;
8
8
 
9
9
  const BASE_URL = 'https://isortagimapi.pazarama.com/api';
10
10
  const AUTH_URL = 'https://isortagimapi.pazarama.com/oauth/token';
@@ -3,8 +3,8 @@
3
3
  * pttavm.com/entegrasyon
4
4
  */
5
5
 
6
- import axios from 'axios';
7
- import { requestWithRetry } from './_request.js';
6
+ const axios = require('axios');;
7
+ const { requestWithRetry } = require('./_request.js');;
8
8
 
9
9
  const BASE_URL = 'https://api.pttavm.com/v1';
10
10
 
@@ -8,9 +8,9 @@
8
8
  * Rate Limit: 50 req / 10 sec per endpoint
9
9
  */
10
10
 
11
- import axios from 'axios';
12
- import { log } from '../../../core/ai-provider.js';
13
- import { requestWithRetry } from './_request.js';
11
+ const axios = require('axios');;
12
+ const { log } = require('../../../core/ai-provider.js');;
13
+ const { requestWithRetry } = require('./_request.js');;
14
14
 
15
15
  const BASE_URL = 'https://apigw.trendyol.com/integration';
16
16
  const STAGE_URL = 'https://stageapigw.trendyol.com/integration';
@@ -250,4 +250,4 @@ export const alertTool = {
250
250
  }
251
251
  };
252
252
 
253
- export default AlertService;
253
+ module.exports = AlertService;
@@ -229,4 +229,4 @@ export const schedulerTool = {
229
229
  }
230
230
  };
231
231
 
232
- export default SchedulerService;
232
+ module.exports = SchedulerService;
@@ -208,4 +208,4 @@ export function whatDoYouMean(message) {
208
208
  return new NLParser().toHuman(result);
209
209
  }
210
210
 
211
- export default NLParser;
211
+ module.exports = NLParser;
@@ -3,7 +3,7 @@
3
3
  * Emoji bazlı özet raporlar
4
4
  */
5
5
 
6
- import { platformHub } from '../platforms/index.js';
6
+ const { platformHub } = require('../platforms/index.js');;
7
7
 
8
8
  export const quickReportTool = {
9
9
  name: 'quick-report',
@@ -172,4 +172,4 @@ export async function orderStatus(context) {
172
172
  return await quickReportTool.execute({ type: 'orders' }, context);
173
173
  }
174
174
 
175
- export default quickReportTool;
175
+ module.exports = quickReportTool;
@@ -7,7 +7,7 @@
7
7
  * - Rakip stoku bitiyorsa fiyatı yükseltir
8
8
  */
9
9
 
10
- import platformHub from '../platforms/index.js';
10
+ const platformHub = require('../platforms/index.js');;
11
11
 
12
12
  export const repricerTool = {
13
13
  name: 'repricer',
@@ -3,9 +3,9 @@
3
3
  * Fotoğraftan ürün bilgisi çıkarma ve otomatik listeleme
4
4
  */
5
5
 
6
- import axios from 'axios';
7
- import fs from 'fs';
8
- import path from 'path';
6
+ const axios = require('axios');;
7
+ const fs = require('fs');;
8
+ const path = require('path');;
9
9
 
10
10
  export const visionTool = {
11
11
  name: 'vision',
package/server/app.js CHANGED
@@ -1,12 +1,12 @@
1
1
 
2
- import express from 'express';
3
- import cors from 'cors';
4
-
5
- import path from 'path';
6
- import { fileURLToPath } from 'url';
7
- import { getEngine } from '../core/engine.js';
8
- import { getGateway } from '../core/gateway.js';
9
- import { log } from '../core/ai-provider.js';
2
+ const express = require('express');;
3
+ const cors = require('cors');;
4
+
5
+ const path = require('path');;
6
+ const { fileURLToPath } = require('url');;
7
+ const { getEngine } = require('../core/engine.js');;
8
+ const { getGateway } = require('../core/gateway.js');;
9
+ const { log } = require('../core/ai-provider.js');;
10
10
 
11
11
  const __filename = fileURLToPath(import.meta.url);
12
12
  const __dirname = path.dirname(__filename);
package/DOCS_TR.md DELETED
@@ -1,80 +0,0 @@
1
- # 🐙 VANTUZ (Enterprise Edition)
2
-
3
- **Yapay Zeka Destekli E-Ticaret Orkestrasyon Platformu**
4
-
5
- Vantuz, işletmelerin tüm e-ticaret operasyonlarını (Trendyol, Hepsiburada, Amazon vb.) tek bir merkezden yönetmesini sağlayan, yapay zeka ile güçlendirilmiş profesyonel bir masaüstü yazılımıdır.
6
-
7
- ## 🚀 Özellikler
8
-
9
- * **Merkezi Yönetim:** Sınırsız sayıda mağaza ve pazaryeri hesabı.
10
- * **AI Vision (Görsel Zeka):** Ürün fotoğraflarını tanır; başlık, açıklama ve fiyatı otomatik oluşturur.
11
- * **Akıllı Stok:** Stoklar tüm platformlarda anlık senkronize edilir.
12
- * **Güvenli Lisanslama:** Yalnızca yetkili lisans anahtarıyla çalışır.
13
-
14
- ## 📦 Kurulum ve Çalıştırma
15
-
16
- ### Son Kullanıcı İçin (Windows/Mac/Linux)
17
-
18
- 1. Size iletilen `vantuz` (veya `vantuz.exe`) dosyasını indirin.
19
- 2. Çift tıklayarak veya terminalden çalıştırın.
20
- 3. Karşılama ekranında **Lisans Anahtarınızı** girin.
21
- 4. Kurulum sihirbazını takip ederek mağazalarınızı bağlayın.
22
-
23
- ### Geliştirici Kurulumu
24
-
25
- ```bash
26
- git clone https://github.com/vantuz-ai/core.git
27
- cd vantuz
28
- npm install
29
- npm link
30
- vantuz
31
- ```
32
-
33
- ## 🔑 Lisanslama
34
-
35
- Vantuz, ticari bir yazılımdır ve aktivasyon gerektirir.
36
- Lisans anahtarı edinmek için satış temsilcinizle iletişime geçin.
37
-
38
- **Lisans Türleri:**
39
- * **Starter:** Tek Mağaza, Temel Özellikler
40
- * **Pro:** 5 Mağaza, AI Vision
41
- * **Enterprise:** Sınırsız Mağaza, Özel Entegrasyonlar
42
-
43
- ## 🤖 Yapay Zeka Takımı (Multi-Agent Team)
44
-
45
- Vantuz, arkaplanda çalışan ve birbirleriyle iletişim kurabilen özelleşmiş yapay zeka ajanlarından oluşan bir takıma sahiptir.
46
-
47
- ### Takım Üyeleri
48
- 1. **Milo (@milo)**: Strateji Lideri. Takımı yönetir, hedefleri belirler.
49
- 2. **Josh (@josh)**: İş Analisti. Kar marjlarını, ciroyu ve rakipleri takip eder.
50
- 3. **Pazarlama (@marketing)**: Yaratıcı Ajan. Sosyal medya içerikleri ve SEO fikirleri üretir.
51
- 4. **Yazılım (@dev)**: Teknik Uzman. Sistem sağlığını ve hataları kontrol eder.
52
-
53
- ### Nasıl Kullanılır?
54
- Terminal üzerinden `/team` komutuyla takıma erişebilirsiniz:
55
-
56
- ```bash
57
- # Milo ile strateji konuşmak için:
58
- vantuz team chat milo "Bu hafta ciroyu artırmak için ne yapalım?"
59
-
60
- # Tüm takıma duyuru yapmak için:
61
- vantuz team broadcast "Arkadaşlar, yeni iPhone kılıfları geldi!"
62
-
63
- # Takım durumunu görmek için:
64
- vantuz team status
65
- ```
66
-
67
- Bu ajanlar `workspace/team/` klasöründeki dosyalar üzerinden birbirleriyle haberleşir ve projeyi yönetir.
68
-
69
- ## 🛠️ Desteklenen Platformlar
70
-
71
- | Platform | Durum | Özellikler |
72
- |----------|-------|------------|
73
- | **Trendyol** | ✅ Aktif | Sipariş, Stok, Ürün Yükleme, Vision AI |
74
- | **Hepsiburada**| ✅ Aktif | Sipariş, Stok, Fiyat Yönetimi |
75
- | **Amazon** | ✅ Aktif | SP-API, Global Satış (Cross-Border) |
76
- | **N11** | ✅ Aktif | Sipariş, Ürün, Stok Takibi |
77
-
78
- ---
79
- **Geliştirici:** Nuri Can Avşar
80
- **Versiyon:** 2.2 Enterprise