beast-agent 2.76.5 → 2.77.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.
- package/package.json +1 -1
- package/src/agent/bots.js +669 -664
- package/src/agent/customtools.js +6 -19
- package/src/agent/engine.js +55 -307
- package/src/agent/seeds/tool-yazma/SKILL.md +13 -16
- package/src/agent/skills.js +14 -35
- package/src/agent/supertonic.js +622 -0
- package/src/agent/tools.js +3 -7
- package/src/main.js +77 -6068
- package/src/preload.js +2 -17
- package/src/renderer/i18n.js +14 -8
- package/src/renderer/index.html +0 -297
- package/src/renderer/renderer.js +142 -2280
- package/src/renderer/style.css +3 -825
- package/src/agent/defaulttools/mt5_barlar2/run.js +0 -188
- package/src/agent/defaulttools/mt5_barlar2/tool.json +0 -23
- package/src/agent/defaulttools/mt5_bekleyen/run.js +0 -105
- package/src/agent/defaulttools/mt5_bekleyen/tool.json +0 -18
- package/src/agent/defaulttools/mt5_durum/run.js +0 -93
- package/src/agent/defaulttools/mt5_durum/tool.json +0 -10
- package/src/agent/defaulttools/mt5_emir/run.js +0 -98
- package/src/agent/defaulttools/mt5_emir/tool.json +0 -17
- package/src/agent/defaulttools/mt5_emir_iptal/run.js +0 -90
- package/src/agent/defaulttools/mt5_emir_iptal/tool.json +0 -12
- package/src/agent/defaulttools/mt5_fiyat/run.js +0 -87
- package/src/agent/defaulttools/mt5_fiyat/tool.json +0 -16
- package/src/agent/defaulttools/mt5_gecmis/run.js +0 -87
- package/src/agent/defaulttools/mt5_gecmis/tool.json +0 -12
- package/src/agent/defaulttools/mt5_kapat/run.js +0 -108
- package/src/agent/defaulttools/mt5_kapat/tool.json +0 -15
- package/src/agent/defaulttools/mt5_m15_m5/m15m5.py +0 -60
- package/src/agent/defaulttools/mt5_m15_m5/run.js +0 -73
- package/src/agent/defaulttools/mt5_m15_m5/tool.json +0 -10
- package/src/agent/defaulttools/mt5_pozisyon_gecmis/run.js +0 -144
- package/src/agent/defaulttools/mt5_pozisyon_gecmis/tool.json +0 -12
- package/src/agent/defaulttools/mt5_shot/run.js +0 -649
- package/src/agent/defaulttools/mt5_shot/stitch.js +0 -151
- package/src/agent/defaulttools/mt5_shot/tool.json +0 -25
- package/src/agent/defaulttools/mt5_sltp/run.js +0 -92
- package/src/agent/defaulttools/mt5_sltp/tool.json +0 -14
- package/src/agent/financetools.js +0 -1025
- package/src/agent/finindicators.js +0 -254
- package/src/agent/finrisk.js +0 -289
- package/src/agent/finstats.js +0 -239
- package/src/agent/finwatch.js +0 -302
- package/src/agent/mt5/BeastFinance.mq5 +0 -498
- package/src/agent/mt5/BeastShot.tpl +0 -0
- package/src/agent/mt5setup.js +0 -542
- package/src/agent/scripts/mt5_bridge.py +0 -575
- package/src/agent/seeds/haber-duygu/SKILL.md +0 -49
- package/src/agent/seeds/mql5/SKILL.md +0 -154
- package/src/agent/seeds/price-action/SKILL.md +0 -60
- package/src/agent/seeds/risk-yonetimi/SKILL.md +0 -52
- package/src/mt5bridge.js +0 -215
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: tool-yazma
|
|
3
|
-
description: Kişisel TOOL yazma/düzenleme rehberi — %APPDATA%\beast\tools\<ad>\ altına tool.json + run.js yazılacak veya mevcut bir tool editlenecekse ÖNCE bu skill'i oku. Tool'un sözleşmesi: stdin JSON argüman → stdout JSON sonuç; ajan tool__<ad> olarak çağırır (
|
|
3
|
+
description: Kişisel TOOL yazma/düzenleme rehberi — %APPDATA%\beast\tools\<ad>\ altına tool.json + run.js yazılacak veya mevcut bir tool editlenecekse ÖNCE bu skill'i oku. Tool'un sözleşmesi: stdin JSON argüman → stdout JSON sonuç; ajan tool__<ad> olarak çağırır (tüm oturumlarda çalışır).
|
|
4
4
|
version: 1.0.0
|
|
5
5
|
---
|
|
6
6
|
|
|
@@ -8,9 +8,9 @@ version: 1.0.0
|
|
|
8
8
|
|
|
9
9
|
## TOOL NEDİR / NE ZAMAN YAZILIR
|
|
10
10
|
|
|
11
|
-
Kişisel tool = modelin alet çantasına GİREN gerçek bir araçtır: %APPDATA%\beast\tools\<slug>\ klasöründe **tool.json** (tanım) + **run.js** (kod) bulunur. Tüm oturumlarda
|
|
11
|
+
Kişisel tool = modelin alet çantasına GİREN gerçek bir araçtır: %APPDATA%\beast\tools\<slug>\ klasöründe **tool.json** (tanım) + **run.js** (kod) bulunur. Tüm oturumlarda `tool__<slug>` adıyla çağrılır.
|
|
12
12
|
|
|
13
|
-
Yaz ZAMAN: mevcut araçlar işi görmüyorsa (örn.
|
|
13
|
+
Yaz ZAMAN: mevcut araçlar işi görmüyorsa (örn. özel bir API'ye bağlanman), tekrarlı bir hesap/veri rutini gerekiyorsa. Basit işler için YAZMA — önce yerleşik araçları (web_search, python_run, run_command) dene.
|
|
14
14
|
|
|
15
15
|
## SÖZLEŞME (birebir uygula)
|
|
16
16
|
|
|
@@ -25,17 +25,14 @@ Yaz ZAMAN: mevcut araçlar işi görmüyorsa (örn. broker sembol adlandırması
|
|
|
25
25
|
`%APPDATA%\beast\tools\<slug>\tool.json`:
|
|
26
26
|
```json
|
|
27
27
|
{
|
|
28
|
-
"name": "
|
|
29
|
-
"description": "
|
|
28
|
+
"name": "hava_durumu",
|
|
29
|
+
"description": "Şehir için güncel hava durumunu döndürür — city alır; sonucu sıcaklık/durum ile döndürür.",
|
|
30
30
|
"parameters": {
|
|
31
31
|
"type": "object",
|
|
32
32
|
"properties": {
|
|
33
|
-
"
|
|
34
|
-
"lot": { "type": "number", "description": "0.01-1.0" },
|
|
35
|
-
"sl": { "type": "number" },
|
|
36
|
-
"tp": { "type": "number" }
|
|
33
|
+
"city": { "type": "string", "description": "şehir adı" }
|
|
37
34
|
},
|
|
38
|
-
"required": ["
|
|
35
|
+
"required": ["city"]
|
|
39
36
|
},
|
|
40
37
|
"updatedAt": "2026-09-09T00:00:00.000Z"
|
|
41
38
|
}
|
|
@@ -49,18 +46,18 @@ const fs = require('fs');
|
|
|
49
46
|
let args = {};
|
|
50
47
|
try { args = JSON.parse(fs.readFileSync(0, 'utf8') || '{}'); } catch {}
|
|
51
48
|
(function main() {
|
|
52
|
-
const {
|
|
53
|
-
if (!
|
|
54
|
-
console.log(JSON.stringify({ ok: false, error: '
|
|
49
|
+
const { city } = args;
|
|
50
|
+
if (!city) {
|
|
51
|
+
console.log(JSON.stringify({ ok: false, error: 'city zorunlu' }));
|
|
55
52
|
return;
|
|
56
53
|
}
|
|
57
|
-
// --- kendi işin burada: HTTP çağrısı,
|
|
54
|
+
// --- kendi işin burada: HTTP çağrısı, dosya, hesap... ---
|
|
58
55
|
// Örn: https modülüyle özel endpoint'e istek at, sonucu ok alanıyla sar.
|
|
59
|
-
console.log(JSON.stringify({ ok: true,
|
|
56
|
+
console.log(JSON.stringify({ ok: true, city, sicaklik: 0 }));
|
|
60
57
|
})();
|
|
61
58
|
```
|
|
62
59
|
|
|
63
|
-
Slug kuralları: a-z, 0-9, alt çizgi, tire — 2-24 karakter (örn:
|
|
60
|
+
Slug kuralları: a-z, 0-9, alt çizgi, tire — 2-24 karakter (örn: hava_durumu, haber_ozet). Hazır taslak: %APPDATA%\beast\tools\ornek_echo klasörünü referans al; yeni tool'u o biçimle yaz.
|
|
64
61
|
|
|
65
62
|
## TEST DÖNGÜSÜ / YAYIN (zorunlu)
|
|
66
63
|
|
package/src/agent/skills.js
CHANGED
|
@@ -129,7 +129,7 @@ Get-Content "$env:APPDATA\\beast\\sessions\\bg-jobs.json" | ConvertFrom-Json | %
|
|
|
129
129
|
| \`agent/agentdefs.js\` | Özel ajan tanımları: %APPDATA%\beast\agents\\*.md (frontmatter: model/tools/steps/mode + prompt gövdesi); /agent ile bağlanır, run_background(agent:) ile paralel ajana verilir |
|
|
130
130
|
| \`agent/searxng.js\` | SearXNG entegrasyonu: gömülü Python'a kurulum + 127.0.0.1:8888 başlatıcı + JSON arama motoru |
|
|
131
131
|
| \`agent/bots.js\` | Bot CRUD, 5 haneli bot kodu, izolasyon; ad-ilk-harf doğrulaması |
|
|
132
|
-
| \`agent/skills.js\` | Builtin tohumlar (help, email, python-web-search, pdf,
|
|
132
|
+
| \`agent/skills.js\` | Builtin tohumlar (help, email, python-web-search, pdf, tool-yazma + superpowers metodoloji paketi: brainstorming/writing-plans/executing-plans/TDD/paralel-ajan/alt-ajan-geliştirme/sistematik-debugging/doğrulama/skill-yazma) + SKILL.md taraması + taslaklar |
|
|
133
133
|
| \`agent/customtools.js\` | Kişisel toollar: %APPDATA%\\beast\\tools\\<ad>\\tool.json + run.js (stdin JSON → stdout JSON) — tool__<ad> olarak TÜM oturumlara açılır; sol panel TOOLLAR kutusunda yazılır/test edilir. Yeni tool yazarken \`tool-yazma\` skill'ini oku. |
|
|
134
134
|
| \`agent/memory.js\`, \`agent/kb.js\` | Kalıcı hafıza + bilgi bankası |
|
|
135
135
|
| \`cron.js\` (src kökü), \`agent/watchers.js\`, \`agent/bus.js\` | Cron, izleyici, olay merkezi — /stop bunlara DOKUNMAZ |
|
|
@@ -276,24 +276,6 @@ for q in ["sorgu 1", "sorgu 2", "sorgu 3"]:
|
|
|
276
276
|
- DDG boş/engelli dönerse "DuckDuckGo kapandı" DEME: bot koruması devrededir (~1 saatte kendiliğinden açılır) ve zincir otomatik olarak Obscura/Bing/Mojeek/tarayıcıya geçer — bu normal çalışmadır.
|
|
277
277
|
- Araştırma hedefi: ~3 dakika, 3-5 kaynak. Derinleşme = zaman kaybı.
|
|
278
278
|
- Motor hata verirse bir kez farklı sorguyla dene, sonra elindekiyle raporu kapat.`,
|
|
279
|
-
},
|
|
280
|
-
{
|
|
281
|
-
folder: 'gold-trading',
|
|
282
|
-
body: `---
|
|
283
|
-
name: gold-trading
|
|
284
|
-
description: Kullanıcının GOLD (FxPro MT5) işlem tercihleri — market structure kontrol listesi.
|
|
285
|
-
version: 1.0.0
|
|
286
|
-
---
|
|
287
|
-
|
|
288
|
-
# GOLD İşlem Tercihleri (Batuhan)
|
|
289
|
-
|
|
290
|
-
Sembol: "GOLD" (XAUUSD değil), FxPro MT5 demo, M1.
|
|
291
|
-
|
|
292
|
-
Zorunlu kurallar:
|
|
293
|
-
- Market structure şart: swing/HH-LL analizi olmadan ve BOS teyidi olmadan İŞLEM YOK. MA kesişimi tek başına gürültüdür.
|
|
294
|
-
- Geniş SL: ~4xATR; BE: ~2xATR kârda.
|
|
295
|
-
- Yetki sende: açmadan önce sorma; SADECE sonucu (STOP/TP) raporla, giriş/trailing tiklerini anlatma.
|
|
296
|
-
- AI komite yaklaşımı: sinyal yakalanır → görsel/teknik/risk analizi → açılış.`,
|
|
297
279
|
},
|
|
298
280
|
{
|
|
299
281
|
folder: 'pdf',
|
|
@@ -462,7 +444,7 @@ const { createWorker } = require('tesseract.js');
|
|
|
462
444
|
force: true,
|
|
463
445
|
body: `---
|
|
464
446
|
name: tool-yazma
|
|
465
|
-
description: Kişisel TOOL yazma/düzenleme rehberi — %APPDATA%\\beast\\tools\\<ad>\\ altına tool.json + run.js yazılacak veya mevcut bir tool editlenecekse ÖNCE bu skill'i oku. Tool'un sözleşmesi: stdin JSON argüman → stdout JSON sonuç; ajan tool__<ad> olarak çağırır (
|
|
447
|
+
description: Kişisel TOOL yazma/düzenleme rehberi — %APPDATA%\\beast\\tools\\<ad>\\ altına tool.json + run.js yazılacak veya mevcut bir tool editlenecekse ÖNCE bu skill'i oku. Tool'un sözleşmesi: stdin JSON argüman → stdout JSON sonuç; ajan tool__<ad> olarak çağırır (tüm oturumlarda çalışır).
|
|
466
448
|
version: 1.0.0
|
|
467
449
|
---
|
|
468
450
|
|
|
@@ -470,9 +452,9 @@ version: 1.0.0
|
|
|
470
452
|
|
|
471
453
|
## TOOL NEDİR / NE ZAMAN YAZILIR
|
|
472
454
|
|
|
473
|
-
Kişisel tool = modelin alet çantasına GİREN gerçek bir araçtır: %APPDATA%\\beast\\tools\\<slug>\\ klasöründe **tool.json** (tanım) + **run.js** (kod) bulunur. Tüm oturumlarda
|
|
455
|
+
Kişisel tool = modelin alet çantasına GİREN gerçek bir araçtır: %APPDATA%\\beast\\tools\\<slug>\\ klasöründe **tool.json** (tanım) + **run.js** (kod) bulunur. Tüm oturumlarda \`tool__<slug>\` adıyla çağrılır.
|
|
474
456
|
|
|
475
|
-
Yaz ZAMAN: mevcut araçlar işi görmüyorsa (örn.
|
|
457
|
+
Yaz ZAMAN: mevcut araçlar işi görmüyorsa (örn. özel bir API'ye bağlanman), tekrarlı bir hesap/veri rutini gerekiyorsa. Basit işler için YAZMA — önce yerleşik araçları (web_search, python_run, run_command) dene.
|
|
476
458
|
|
|
477
459
|
## SÖZLEŞME (birebir uygula)
|
|
478
460
|
|
|
@@ -487,17 +469,14 @@ Yaz ZAMAN: mevcut araçlar işi görmüyorsa (örn. broker sembol adlandırması
|
|
|
487
469
|
\`%APPDATA%\\beast\\tools\\<slug>\\tool.json\`:
|
|
488
470
|
\`\`\`json
|
|
489
471
|
{
|
|
490
|
-
"name": "
|
|
491
|
-
"description": "
|
|
472
|
+
"name": "hava_durumu",
|
|
473
|
+
"description": "Şehir için güncel hava durumunu döndürür — city alır; sonucu sıcaklık/durum ile döndürür.",
|
|
492
474
|
"parameters": {
|
|
493
475
|
"type": "object",
|
|
494
476
|
"properties": {
|
|
495
|
-
"
|
|
496
|
-
"lot": { "type": "number", "description": "0.01-1.0" },
|
|
497
|
-
"sl": { "type": "number" },
|
|
498
|
-
"tp": { "type": "number" }
|
|
477
|
+
"city": { "type": "string", "description": "şehir adı" }
|
|
499
478
|
},
|
|
500
|
-
"required": ["
|
|
479
|
+
"required": ["city"]
|
|
501
480
|
},
|
|
502
481
|
"updatedAt": "2026-09-09T00:00:00.000Z"
|
|
503
482
|
}
|
|
@@ -511,18 +490,18 @@ const fs = require('fs');
|
|
|
511
490
|
let args = {};
|
|
512
491
|
try { args = JSON.parse(fs.readFileSync(0, 'utf8') || '{}'); } catch {}
|
|
513
492
|
(function main() {
|
|
514
|
-
const {
|
|
515
|
-
if (!
|
|
516
|
-
console.log(JSON.stringify({ ok: false, error: '
|
|
493
|
+
const { city } = args;
|
|
494
|
+
if (!city) {
|
|
495
|
+
console.log(JSON.stringify({ ok: false, error: 'city zorunlu' }));
|
|
517
496
|
return;
|
|
518
497
|
}
|
|
519
|
-
// --- kendi işin burada: HTTP çağrısı,
|
|
498
|
+
// --- kendi işin burada: HTTP çağrısı, dosya, hesap... ---
|
|
520
499
|
// Örn: https modülüyle özel endpoint'e istek at, sonucu ok alanıyla sar.
|
|
521
|
-
console.log(JSON.stringify({ ok: true,
|
|
500
|
+
console.log(JSON.stringify({ ok: true, city, sicaklik: 0 }));
|
|
522
501
|
})();
|
|
523
502
|
\`\`\`
|
|
524
503
|
|
|
525
|
-
Slug kuralları: a-z, 0-9, alt çizgi, tire — 2-24 karakter (örn:
|
|
504
|
+
Slug kuralları: a-z, 0-9, alt çizgi, tire — 2-24 karakter (örn: hava_durumu, haber_ozet). Hazır taslak: %APPDATA%\\beast\\tools\\ornek_echo klasörünü referans al; yeni tool'u o biçimle yaz.
|
|
526
505
|
|
|
527
506
|
## DÜZENLEME / DOĞRULAMA
|
|
528
507
|
|