social-agent-cli 1.2.0 → 1.2.1

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/ai/planner.ts CHANGED
@@ -142,8 +142,9 @@ GÖREV: Bu komutu yerine getirmek için bir çalıştırma planı oluştur.
142
142
  Kurallar:
143
143
  - Mevcut map varsa "use_map" kullan, mapAction'a action adını yaz
144
144
  - Mevcut map yoksa "learn_new" kullan, AI otomatik öğrenecek
145
- - Parametreleri doldur ({{TWEET_URL}}, {{USERNAME}}, {{CONTENT}} vb.)
146
- - Belirli kişi/URL verilmemişse platformun keşif/öneri sayfalarını kullan (ör: LinkedIn'de ağım sayfası)
145
+ - Mevcut map'in parametrelerini kontrol et. Komutta dosya/görsel/fotoğraf varsa ama map'te {{IMAGE}} parametresi yoksa, bu map yetersizdir - "learn_new" ile görsel destekli versiyonunu öğret
146
+ - Parametreleri doldur ({{TWEET_URL}}, {{USERNAME}}, {{CONTENT}}, {{IMAGE}} vb.)
147
+ - Belirli kişi/URL verilmemişse platformun keşif/öneri sayfalarını kullan
147
148
  - Tekrar eden işlemler için "repeat" kullan
148
149
  - Adımları doğru sırada planla
149
150
  - Kısa ve net analiz yaz`;
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "platform": "linkedin",
3
3
  "action": "post",
4
- "description": "LinkedIn üzerinden metin + opsiyonel görsel postu paylaşma",
5
- "version": 2,
6
- "lastUpdated": "2026-03-14T15:00:00.000Z",
7
- "parameters": ["{{CONTENT}}", "{{IMAGE}}"],
4
+ "description": "LinkedIn üzerinden yeni bir metin postu paylaşma",
5
+ "version": 1,
6
+ "lastUpdated": "2026-03-14T12:00:00.000Z",
7
+ "parameters": ["{{CONTENT}}"],
8
8
  "steps": [
9
9
  {
10
10
  "action": "click",
@@ -13,8 +13,7 @@
13
13
  "fallbackSelectors": [
14
14
  "[aria-label*='Start a post']",
15
15
  "[aria-label*='Gönderi başlat']",
16
- "button[aria-label*='post']",
17
- ".share-box-feed-entry__trigger"
16
+ "button[aria-label*='post']"
18
17
  ]
19
18
  },
20
19
  {
@@ -47,21 +46,6 @@
47
46
  "description": "Metin girişi sonrası bekleme",
48
47
  "waitMs": 1000
49
48
  },
50
- {
51
- "action": "upload",
52
- "description": "Görsel yükle (varsa)",
53
- "selector": "input[type='file'][accept*='image']",
54
- "value": "{{IMAGE}}",
55
- "fallbackSelectors": [
56
- ".share-creation-state__file-input input[type='file']",
57
- "input[type='file']"
58
- ]
59
- },
60
- {
61
- "action": "wait",
62
- "description": "Görsel yüklenmesini bekle",
63
- "waitMs": 3000
64
- },
65
49
  {
66
50
  "action": "click",
67
51
  "description": "Gönder butonuna tıkla",
@@ -76,7 +60,7 @@
76
60
  {
77
61
  "action": "wait",
78
62
  "description": "Post gönderimini bekle",
79
- "waitMs": 3000
63
+ "waitMs": 2000
80
64
  }
81
65
  ]
82
66
  }
package/maps/x_post.json CHANGED
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "platform": "x",
3
3
  "action": "post",
4
- "description": "X (Twitter) üzerinden metin + opsiyonel görsel postu paylaşma",
5
- "version": 2,
6
- "lastUpdated": "2026-03-14T15:00:00.000Z",
7
- "parameters": ["{{CONTENT}}", "{{IMAGE}}"],
4
+ "description": "X (Twitter) üzerinden yeni bir metin postu paylaşma",
5
+ "version": 1,
6
+ "lastUpdated": "2026-03-14T12:00:00.000Z",
7
+ "parameters": ["{{CONTENT}}"],
8
8
  "steps": [
9
9
  {
10
10
  "action": "click",
@@ -46,21 +46,6 @@
46
46
  "description": "Metin girişi sonrası bekleme",
47
47
  "waitMs": 500
48
48
  },
49
- {
50
- "action": "upload",
51
- "description": "Görsel yükle (varsa)",
52
- "selector": "[data-testid='fileInput']",
53
- "value": "{{IMAGE}}",
54
- "fallbackSelectors": [
55
- "input[type='file'][accept*='image']",
56
- "input[data-testid='fileInput']"
57
- ]
58
- },
59
- {
60
- "action": "wait",
61
- "description": "Görsel yüklenmesini bekle",
62
- "waitMs": 2000
63
- },
64
49
  {
65
50
  "action": "click",
66
51
  "description": "Gönder butonuna tıkla",
@@ -73,7 +58,7 @@
73
58
  {
74
59
  "action": "wait",
75
60
  "description": "Post gönderimini bekle",
76
- "waitMs": 3000
61
+ "waitMs": 2000
77
62
  }
78
63
  ]
79
64
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "social-agent-cli",
3
- "version": "1.2.0",
3
+ "version": "1.2.1",
4
4
  "description": "AI-powered social media agent - free APIs + browser automation with self-healing selectors",
5
5
  "type": "module",
6
6
  "bin": {