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.
- package/cli.js +9 -9
- package/config.js +6 -6
- package/core/agent-loop.js +6 -6
- package/core/agent.js +6 -6
- package/core/ai-copilot.js +461 -0
- package/core/ai-provider.js +60 -10
- package/core/automation.js +8 -8
- package/core/cache-manager.js +232 -0
- package/core/channels.js +8 -8
- package/core/dashboard.js +5 -5
- package/core/database-manager.js +331 -0
- package/core/database.js +124 -83
- package/core/eia-brain.js +2 -2
- package/core/eia-monitor.js +7 -7
- package/core/engine.js +24 -24
- package/core/error-handler.js +203 -0
- package/core/gateway.js +9 -9
- package/core/learning.js +7 -7
- package/core/license-manager.js +1 -1
- package/core/license.js +6 -6
- package/core/logger.js +228 -0
- package/core/marketplace-adapter.js +5 -5
- package/core/memory.js +6 -6
- package/core/multi-agent.js +180 -0
- package/core/openclaw-bridge.js +6 -6
- package/core/queue.js +3 -3
- package/core/scheduler.js +6 -6
- package/core/scrapers/Scraper.js +1 -1
- package/core/scrapers/TrendyolScraper.js +1 -1
- package/core/self-healer.js +8 -6
- package/core/unified-product.js +8 -8
- package/core/vector-db.js +5 -5
- package/core/vision-service.js +5 -5
- package/desktop/index.html +2804 -0
- package/desktop/main.js +97 -0
- package/desktop/preload.js +30 -0
- package/dev.sh +5 -0
- package/index.js +484 -116
- package/modules/crm/sentiment-crm.js +4 -4
- package/modules/healer/listing-healer.js +2 -2
- package/modules/oracle/predictor.js +5 -5
- package/modules/researcher/agent.js +4 -4
- package/modules/war-room/competitor-tracker.js +5 -5
- package/modules/war-room/pricing-engine.js +5 -5
- package/nodes/warehouse.js +5 -5
- package/onboard.js +1 -1
- package/package.json +11 -3
- package/pkg.json +26 -0
- package/plugins/vantuz/index.js +16 -17
- package/plugins/vantuz/memory/hippocampus.js +3 -3
- package/plugins/vantuz/platforms/_request.js +1 -1
- package/plugins/vantuz/platforms/_template.js +2 -2
- package/plugins/vantuz/platforms/amazon.js +3 -3
- package/plugins/vantuz/platforms/ciceksepeti.js +2 -2
- package/plugins/vantuz/platforms/hepsiburada.js +2 -2
- package/plugins/vantuz/platforms/index.js +9 -24
- package/plugins/vantuz/platforms/n11.js +3 -3
- package/plugins/vantuz/platforms/pazarama.js +2 -2
- package/plugins/vantuz/platforms/pttavm.js +2 -2
- package/plugins/vantuz/platforms/trendyol.js +3 -3
- package/plugins/vantuz/services/alerts.js +1 -1
- package/plugins/vantuz/services/scheduler.js +1 -1
- package/plugins/vantuz/tools/nl-parser.js +1 -1
- package/plugins/vantuz/tools/quick-report.js +2 -2
- package/plugins/vantuz/tools/repricer.js +1 -1
- package/plugins/vantuz/tools/vision.js +3 -3
- package/server/app.js +8 -8
- package/DOCS_TR.md +0 -80
- package/modules/team/agents/base.js +0 -92
- package/modules/team/agents/dev.js +0 -33
- package/modules/team/agents/josh.js +0 -40
- package/modules/team/agents/marketing.js +0 -33
- package/modules/team/agents/milo.js +0 -36
- package/modules/team/index.js +0 -78
- package/modules/team/shared-memory.js +0 -87
- package/n11docs.md +0 -1680
- package/openclawdocs.md +0 -3
- package/vantuz.sqlite +0 -0
- package/workspace/AGENTS.md +0 -73
- package/workspace/BRAND.md +0 -29
- package/workspace/SOUL.md +0 -72
- package/workspace/team/DECISIONS.md +0 -3
- package/workspace/team/GOALS.md +0 -3
- package/workspace/team/PROJECT_STATUS.md +0 -3
- package/workspace/team/agents/dev/SOUL.md +0 -12
- package/workspace/team/agents/josh/SOUL.md +0 -12
- package/workspace/team/agents/marketing/SOUL.md +0 -12
- 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
|
-
|
|
6
|
-
|
|
7
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
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
|
-
|
|
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
|
-
|
|
6
|
-
|
|
7
|
-
|
|
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
|
-
|
|
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
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
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
|
-
|
|
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
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
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
|
-
|
|
308
|
+
module.exports = PricingEngine;
|
package/nodes/warehouse.js
CHANGED
|
@@ -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
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
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
|
-
|
|
238
|
+
module.exports = WarehouseNode;
|
package/onboard.js
CHANGED
package/package.json
CHANGED
|
@@ -1,14 +1,19 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "vantuz",
|
|
3
|
-
"version": "
|
|
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
|
-
"
|
|
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
|
-
"
|
|
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
|
+
}
|
package/plugins/vantuz/index.js
CHANGED
|
@@ -10,37 +10,36 @@
|
|
|
10
10
|
* - Hippocampus hafıza sistemi
|
|
11
11
|
*/
|
|
12
12
|
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
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
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
16
|
-
|
|
17
|
-
|
|
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) {
|
|
@@ -4,10 +4,10 @@
|
|
|
4
4
|
* Dosya adı: {platform-adi}.js (örn: n11.js, amazon.js)
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
const axios = require('axios');;
|
|
8
8
|
|
|
9
9
|
// Gerekirse AI provider log fonksiyonunu import edin
|
|
10
|
-
//
|
|
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
|
-
|
|
7
|
-
|
|
8
|
-
|
|
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
|
-
|
|
7
|
-
|
|
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
|
-
|
|
7
|
-
|
|
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
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
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
|
-
|
|
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
|
-
|
|
251
|
+
module.exports = platformHub;
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
* api.n11.com/ws/*.wsdl
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
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
|
-
|
|
7
|
-
|
|
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';
|
|
@@ -8,9 +8,9 @@
|
|
|
8
8
|
* Rate Limit: 50 req / 10 sec per endpoint
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
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';
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Emoji bazlı özet raporlar
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
|
-
|
|
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
|
-
|
|
175
|
+
module.exports = quickReportTool;
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
* Fotoğraftan ürün bilgisi çıkarma ve otomatik listeleme
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
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
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
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
|